browserstack-node-sdk 1.36.0 → 1.36.2

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 (194) 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/generated/sdk-messages-accessibility_grpc_pb.d.ts +1 -0
  41. package/generated/sdk-messages-accessibility_grpc_pb.js +1 -0
  42. package/generated/sdk-messages-accessibility_pb.d.ts +279 -0
  43. package/generated/sdk-messages-accessibility_pb.js +2186 -0
  44. package/generated/sdk-messages-ai_grpc_pb.d.ts +1 -0
  45. package/generated/sdk-messages-ai_grpc_pb.js +1 -0
  46. package/generated/sdk-messages-ai_pb.d.ts +217 -0
  47. package/generated/sdk-messages-ai_pb.js +1650 -0
  48. package/generated/sdk-messages-observability_grpc_pb.d.ts +1 -0
  49. package/generated/sdk-messages-observability_grpc_pb.js +1 -0
  50. package/generated/sdk-messages-observability_pb.d.ts +178 -0
  51. package/generated/sdk-messages-observability_pb.js +1377 -0
  52. package/generated/sdk-messages-percy_grpc_pb.d.ts +1 -0
  53. package/generated/sdk-messages-percy_grpc_pb.js +1 -0
  54. package/generated/sdk-messages-percy_pb.d.ts +37 -0
  55. package/generated/sdk-messages-percy_pb.js +266 -0
  56. package/generated/sdk-messages-testhub_grpc_pb.d.ts +1 -0
  57. package/generated/sdk-messages-testhub_grpc_pb.js +1 -0
  58. package/generated/sdk-messages-testhub_pb.d.ts +39 -0
  59. package/generated/sdk-messages-testhub_pb.js +290 -0
  60. package/generated/sdk-messages_grpc_pb.d.ts +1 -0
  61. package/generated/sdk-messages_grpc_pb.js +1 -0
  62. package/generated/sdk-messages_pb.d.ts +1105 -0
  63. package/generated/sdk-messages_pb.js +8580 -0
  64. package/generated/sdk_grpc_pb.d.ts +113 -0
  65. package/generated/sdk_grpc_pb.js +609 -0
  66. package/generated/sdk_pb.d.ts +9 -0
  67. package/generated/sdk_pb.js +31 -0
  68. package/package.json +7 -1
  69. package/src/ai-sdk-node/bundle.js +1 -1
  70. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  71. package/src/bin/codeceptjs/command.js +1 -1
  72. package/src/bin/codeceptjs/helper.js +1 -1
  73. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  74. package/src/bin/cucumber-js/command.js +1 -1
  75. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  76. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  77. package/src/bin/cucumber-js/test-observability.js +1 -1
  78. package/src/bin/cucumber-js/test.setup.js +1 -1
  79. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  80. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  81. package/src/bin/integrations/command.js +1 -1
  82. package/src/bin/integrations/constants.js +1 -1
  83. package/src/bin/jest/command.js +1 -1
  84. package/src/bin/jest/customImplements/customCircus.js +1 -1
  85. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  86. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  87. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  88. package/src/bin/jest/jest.setup.js +1 -1
  89. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  90. package/src/bin/jest/test-observability/helper.js +1 -1
  91. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  92. package/src/bin/jest/test-observability/test-details.js +1 -1
  93. package/src/bin/jest/test_before.setup.js +1 -1
  94. package/src/bin/launcher/launcher.js +1 -1
  95. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  96. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  97. package/src/bin/mocha/command.js +1 -1
  98. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  99. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  100. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  101. package/src/bin/mocha/test.setup.js +1 -1
  102. package/src/bin/nightwatch/command.js +1 -1
  103. package/src/bin/playwright/accessibility-helper.js +1 -1
  104. package/src/bin/playwright/command.js +1 -1
  105. package/src/bin/playwright/globalSetup.js +1 -1
  106. package/src/bin/playwright/mock-process.js +1 -1
  107. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  108. package/src/bin/playwright/patches.js +1 -1
  109. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  110. package/src/bin/playwright/reporter/reporter.js +1 -1
  111. package/src/bin/playwright/reporter/test-details.js +1 -1
  112. package/src/bin/playwright/sessionDetails.js +1 -1
  113. package/src/bin/runner.js +1 -1
  114. package/src/bin/setup.js +1 -1
  115. package/src/bin/test-runner/index.js +1 -1
  116. package/src/bin/test-runner/runTest.js +1 -1
  117. package/src/bin/test-runner/testWorker.js +1 -1
  118. package/src/bin/utils/constants.js +1 -1
  119. package/src/bin/utils/log4jsAppender.js +1 -1
  120. package/src/bin/utils/logPatcher.js +1 -1
  121. package/src/bin/utils/logReportingAPI.js +1 -1
  122. package/src/bin/v2/TestInfo.js +1 -0
  123. package/src/bin/v2/browserstackCLI.js +1 -0
  124. package/src/bin/v2/cliUtils.js +1 -0
  125. package/src/bin/v2/customTagManager.js +1 -0
  126. package/src/bin/v2/eventDispatcher.js +1 -0
  127. package/src/bin/v2/framework/automationFramework.js +1 -0
  128. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -0
  129. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -0
  130. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -0
  131. package/src/bin/v2/framework/playwrightTestFramework.js +1 -0
  132. package/src/bin/v2/framework/testFramework.js +1 -0
  133. package/src/bin/v2/grpcClient.js +1 -0
  134. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -0
  135. package/src/bin/v2/instances/testFrameworkInstance.js +1 -0
  136. package/src/bin/v2/instances/trackedContext.js +1 -0
  137. package/src/bin/v2/instances/trackedInstance.js +1 -0
  138. package/src/bin/v2/modules/accessibilityModule.js +1 -0
  139. package/src/bin/v2/modules/baseModule.js +1 -0
  140. package/src/bin/v2/modules/observabilityModule.js +1 -0
  141. package/src/bin/v2/modules/playwrightDriverModule.js +1 -0
  142. package/src/bin/v2/modules/testhubModule.js +1 -0
  143. package/src/bin/v2/state/automationFrameworkState.js +1 -0
  144. package/src/bin/v2/state/hookState.js +1 -0
  145. package/src/bin/v2/state/testFrameworkState.js +1 -0
  146. package/src/bin/v2/uploadAttachmentsManager.js +1 -0
  147. package/src/bin/vanilla-js/command.js +1 -1
  148. package/src/browserStackSdk.js +1 -1
  149. package/src/helpers/BrowserStackSetup.js +1 -1
  150. package/src/helpers/accessibility-automation/constants.js +1 -1
  151. package/src/helpers/accessibility-automation/helper.js +1 -1
  152. package/src/helpers/accessibility-automation/scripts.js +1 -1
  153. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  154. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  155. package/src/helpers/ats/constants.js +1 -1
  156. package/src/helpers/ats/helper.js +1 -1
  157. package/src/helpers/capsMapping.js +1 -1
  158. package/src/helpers/central-scanner/constants.js +1 -1
  159. package/src/helpers/central-scanner/helpers.js +1 -1
  160. package/src/helpers/classLogger.js +1 -0
  161. package/src/helpers/globals.js +1 -1
  162. package/src/helpers/helper.js +1 -1
  163. package/src/helpers/logger.js +1 -1
  164. package/src/helpers/metadata.js +1 -1
  165. package/src/helpers/patchHelper.js +1 -1
  166. package/src/helpers/patchHelpers.js +1 -1
  167. package/src/helpers/percy/Percy.js +1 -1
  168. package/src/helpers/percy/PercyBinary.js +1 -1
  169. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  170. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  171. package/src/helpers/percy/PercySDK.js +1 -1
  172. package/src/helpers/percy/index.js +1 -1
  173. package/src/helpers/percy/utils.js +1 -1
  174. package/src/helpers/performance/constants.js +1 -1
  175. package/src/helpers/performance/performance-tester.js +1 -1
  176. package/src/helpers/processHelper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/test-observability/constants.js +1 -1
  180. package/src/helpers/test-observability/error-handler.js +1 -1
  181. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  182. package/src/helpers/test-observability/sessionHandler.js +1 -1
  183. package/src/helpers/test-observability/utils.js +1 -1
  184. package/src/helpers/test-orchestration/fail-fast/fileHelper.js +1 -0
  185. package/src/helpers/test-orchestration/fail-fast/jest.js +1 -0
  186. package/src/helpers/test-orchestration/fail-fast/requestUtils.js +1 -0
  187. package/src/helpers/testhub/constants.js +1 -1
  188. package/src/helpers/testhub/testhubHandler.js +1 -1
  189. package/src/helpers/testhub/utils.js +1 -1
  190. package/src/helpers/timeoutPromise.js +1 -1
  191. package/src/helpers/utilities.js +1 -1
  192. package/src/helpers/w3cMapping.js +1 -1
  193. package/src/hubAllocationMethods.js +1 -1
  194. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a1_0x5b58(_0x19452c,_0x2544f0){const _0x4c94fd=a1_0x4c94();return a1_0x5b58=function(_0x5b58d3,_0xc38e9a){_0x5b58d3=_0x5b58d3-0x1b8;let _0xd40c12=_0x4c94fd[_0x5b58d3];return _0xd40c12;},a1_0x5b58(_0x19452c,_0x2544f0);}const a1_0x2e5e03=a1_0x5b58;(function(_0x3f816a,_0x3792b1){const _0x26da9d=a1_0x5b58,_0x102a89=_0x3f816a();while(!![]){try{const _0x1e50b2=parseInt(_0x26da9d(0x24b))/0x1*(parseInt(_0x26da9d(0x209))/0x2)+-parseInt(_0x26da9d(0x22e))/0x3+parseInt(_0x26da9d(0x290))/0x4+parseInt(_0x26da9d(0x231))/0x5*(parseInt(_0x26da9d(0x22c))/0x6)+parseInt(_0x26da9d(0x283))/0x7*(-parseInt(_0x26da9d(0x1c1))/0x8)+-parseInt(_0x26da9d(0x28c))/0x9+-parseInt(_0x26da9d(0x205))/0xa*(-parseInt(_0x26da9d(0x25f))/0xb);if(_0x1e50b2===_0x3792b1)break;else _0x102a89['push'](_0x102a89['shift']());}catch(_0x4c0b0b){_0x102a89['push'](_0x102a89['shift']());}}}(a1_0x4c94,0x6c822));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2e5e03(0x224)),logger=require('../../helpers/logger')['winstonLogger'],testOpsHelper=require(a1_0x2e5e03(0x1c0)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x2e5e03(0x226)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x2e5e03(0x26d)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2e5e03(0x208)),AccessibilityHelper=require(a1_0x2e5e03(0x1e6)),scripts=require(a1_0x2e5e03(0x1d7)),PerformanceTester=require(a1_0x2e5e03(0x26f)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x2e5e03(0x244)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2e5e03(0x1ba)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x2e5e03(0x201)),CodeceptJS=requireModule(a1_0x2e5e03(0x27d),a1_0x2e5e03(0x247)),CodeceptUtils=requireModule(a1_0x2e5e03(0x215),a1_0x2e5e03(0x247)),CodeceptWebDriver=requireModule(a1_0x2e5e03(0x1e2),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x2e5e03(0x225),a1_0x2e5e03(0x247)),CodeceptPlaywright=requireModule(a1_0x2e5e03(0x297),a1_0x2e5e03(0x247)),playwrightMarkSessionStatus=(_0x48aa81,_0x3671b0,_0xb85efd)=>{const _0x5beffd=a1_0x2e5e03,_0x316c53={'BMOsS':_0x5beffd(0x1cf),'IfdbM':function(_0x4e06a0,_0x451db8){return _0x4e06a0(_0x451db8);}},_0x3882e1={};_0x3882e1[_0x5beffd(0x1cb)]=_0x3671b0;const _0x4f2a2c={};_0x4f2a2c[_0x5beffd(0x1f6)]=_0x316c53[_0x5beffd(0x24a)],_0x4f2a2c['arguments']=_0x3882e1;const _0x348009=_0x4f2a2c;return!_0x316c53[_0x5beffd(0x264)](isUndefined,_0xb85efd)&&(_0x348009[_0x5beffd(0x1bc)][_0x5beffd(0x1d6)]=JSON[_0x5beffd(0x270)](_0xb85efd)),_0x48aa81[_0x5beffd(0x252)](()=>{},_0x5beffd(0x28f)+JSON[_0x5beffd(0x270)](_0x348009));},o11ySync=PerformanceTester[a1_0x2e5e03(0x285)](PerformanceO11yEvents[a1_0x2e5e03(0x229)],async _0x53f03b=>{const _0x454d26=a1_0x2e5e03,_0x31b53c={};_0x31b53c['fwRVX']=function(_0x398aee,_0x29f28d){return _0x398aee===_0x29f28d;},_0x31b53c[_0x454d26(0x227)]=_0x454d26(0x256);const _0x227d1c=_0x31b53c;_0x227d1c[_0x454d26(0x23d)](_0x53f03b[_0x454d26(0x1fa)]['name'],_0x227d1c[_0x454d26(0x227)])?await _0x53f03b['executeScript'](_0x5a02cc=>{},testOpsHelper[_0x454d26(0x20c)]()):await _0x53f03b[_0x454d26(0x252)](testOpsHelper[_0x454d26(0x20c)]());}),markSessionName=PerformanceTester[a1_0x2e5e03(0x285)](PerformanceAutEvents['SESSION_NAME'],async(_0xfa093f,_0x581aa2)=>{const _0x128ef0=a1_0x2e5e03,_0x24530c={};_0x24530c[_0x128ef0(0x250)]=_0x128ef0(0x253),_0x24530c[_0x128ef0(0x210)]=function(_0xe39a9e,_0x346d17){return _0xe39a9e===_0x346d17;},_0x24530c[_0x128ef0(0x261)]=_0x128ef0(0x256);const _0xbe4871=_0x24530c,_0x3c49e1={};_0x3c49e1[_0x128ef0(0x1e3)]=_0x581aa2;const _0x4067e9={};_0x4067e9[_0x128ef0(0x1f6)]=_0xbe4871['FxfiJ'],_0x4067e9[_0x128ef0(0x1bc)]=_0x3c49e1;const _0x5c7bfc=_0x4067e9;_0xbe4871[_0x128ef0(0x210)](_0xfa093f['constructor'][_0x128ef0(0x1e3)],_0xbe4871['uSOMb'])?await _0xfa093f['executeScript'](()=>{},_0x128ef0(0x28f)+JSON[_0x128ef0(0x270)](_0x5c7bfc)):await _0xfa093f[_0x128ef0(0x252)](_0x128ef0(0x28f)+JSON[_0x128ef0(0x270)](_0x5c7bfc));}),patchSaveScreenshot=_0x5145af=>{const _0x1c13db=a1_0x2e5e03,_0x5e5565={'mDOgL':_0x1c13db(0x1b9),'QbiQQ':_0x1c13db(0x25d),'BvmBg':function(_0xeb7607){return _0xeb7607();},'vxhoQ':function(_0x3ee63d,_0x59cd54){return _0x3ee63d(_0x59cd54);},'oyVIQ':_0x1c13db(0x1be)};_0x5e5565['vxhoQ'](isTrue,process[_0x1c13db(0x24c)][_0x1c13db(0x1d4)])&&!_0x5145af['patchSaveScreenshot']&&(_0x5145af[_0x1c13db(0x296)]=!![],_0x5145af[_0x1c13db(0x1fe)]=_0x5145af[_0x1c13db(0x223)],_0x5145af[_0x1c13db(0x223)]=(_0x23edc7,_0x12d7b7=![])=>{const _0x345276=_0x1c13db,_0x2026ee={'QefHT':_0x5e5565[_0x345276(0x282)],'jPgye':_0x5e5565[_0x345276(0x1c6)],'tFgaK':function(_0x1ce5ac){const _0x41d33e=_0x345276;return _0x5e5565[_0x41d33e(0x1eb)](_0x1ce5ac);},'sUjVB':function(_0x375077,_0x3a4e10){return _0x5e5565['vxhoQ'](_0x375077,_0x3a4e10);},'XbZbf':_0x5e5565[_0x345276(0x21b)]};return new Promise(function(_0x570431,_0x8eaea2){const _0x2b938e=_0x345276;_0x5145af[_0x2b938e(0x1fe)](_0x23edc7,_0x12d7b7)[_0x2b938e(0x257)](()=>{const _0x54d6f4=_0x2b938e,_0x1e0e42=CodeceptUtils[_0x54d6f4(0x1bb)](_0x23edc7);if(_0x1e0e42){const _0x297b39=fs[_0x54d6f4(0x28a)](_0x1e0e42);process['emit'](_0x54d6f4(0x1c3)+process[_0x54d6f4(0x269)],{'timestamp':new Date()[_0x54d6f4(0x1bd)](),'message':_0x297b39[_0x54d6f4(0x1f9)](_0x2026ee['QefHT']),'kind':_0x2026ee[_0x54d6f4(0x218)]}),_0x2026ee[_0x54d6f4(0x202)](_0x570431);}_0x2026ee['sUjVB'](_0x8eaea2,new Error(_0x2026ee[_0x54d6f4(0x212)]));})[_0x2b938e(0x271)](()=>null);});});},patchWebDriverBefore=_0x431990=>{const _0x4d1251=a1_0x2e5e03,_0x7bfc6d={'nMSIK':function(_0x1dbb55){return _0x1dbb55();},'pmzxW':function(_0x489e2c,_0x406224){return _0x489e2c(_0x406224);},'xpJOd':function(_0x95a67,_0x13f024){return _0x95a67===_0x13f024;},'eLEHa':_0x4d1251(0x207)},_0x5913d9=async function(_0x8d83bf,_0xbde904){const _0x1d0b93=_0x4d1251;return _0x7bfc6d[_0x1d0b93(0x1d5)](isAccessibilityAutomationSession)&&!global[_0x1d0b93(0x272)]&&global[_0x1d0b93(0x1ea)]&&scripts[_0x1d0b93(0x289)](_0x8d83bf[_0x1d0b93(0x1e3)])&&_0x7bfc6d[_0x1d0b93(0x1fd)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x1d0b93(0x272)]=!![],await PerformanceTester[_0x1d0b93(0x285)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2c27e4=_0x1d0b93;logger['debug']('Performing\x20scan\x20for\x20'+_0x8d83bf['class']+'\x20'+_0x8d83bf['name']),await AccessibilityHelper[_0x2c27e4(0x1c7)](_0x431990,scripts['performScan']);},{'command':_0x8d83bf['name']})()),global['bstackAllyScanning']=![],_0xbde904[_0x1d0b93(0x1f2)](this,Array['prototype']['slice'][_0x1d0b93(0x214)](arguments,0x2));},_0x24874a=CodeceptWebDriver[_0x4d1251(0x1f5)][_0x4d1251(0x1c2)];CodeceptWebDriver[_0x4d1251(0x1f5)][_0x4d1251(0x1c2)]=async function(){const _0x27e4a7=_0x4d1251;try{await _0x24874a[_0x27e4a7(0x1f2)](this,arguments);}catch(_0x43b14f){logger[_0x27e4a7(0x240)](_0x27e4a7(0x1e4)+util[_0x27e4a7(0x216)](_0x43b14f));}scripts['commandsToWrap']['filter'](_0x4b2ecc=>_0x4b2ecc[_0x27e4a7(0x1e3)]&&_0x4b2ecc[_0x27e4a7(0x267)])[_0x27e4a7(0x1f3)](_0x5a3883=>{const _0x419d69=_0x27e4a7;this[_0x419d69(0x1e0)][_0x419d69(0x291)](_0x5a3883[_0x419d69(0x1e3)],_0x5913d9[_0x419d69(0x203)](this,_0x5a3883),_0x7bfc6d['xpJOd'](_0x5a3883[_0x419d69(0x267)],_0x7bfc6d[_0x419d69(0x27c)]));}),_0x7bfc6d[_0x27e4a7(0x1fd)](processWebDriverConfig,_0x431990);};},patchPlaywrightBefore=()=>{const _0x334d84=a1_0x2e5e03;PlaywrightSessionDetails[_0x334d84(0x22f)]();const _0x1e1b6b=CodeceptPlaywright[_0x334d84(0x1f5)][_0x334d84(0x1c2)];CodeceptPlaywright[_0x334d84(0x1f5)][_0x334d84(0x1c2)]=async function(){const _0x5ad591=_0x334d84;this[_0x5ad591(0x219)]=await this['browser']['contexts']()[0x0],await _0x1e1b6b[_0x5ad591(0x1f2)](this,arguments);};},getCodeceptDriver=()=>{const _0x4d8ec6=a1_0x2e5e03,_0x1a90fd={};_0x1a90fd[_0x4d8ec6(0x1d2)]=_0x4d8ec6(0x213),_0x1a90fd['wjlpC']='Playwright',_0x1a90fd[_0x4d8ec6(0x274)]='Puppeteer',_0x1a90fd[_0x4d8ec6(0x276)]=_0x4d8ec6(0x1e8);const _0x17921c=_0x1a90fd,_0x584491=[_0x17921c[_0x4d8ec6(0x1d2)],_0x17921c[_0x4d8ec6(0x245)],_0x17921c[_0x4d8ec6(0x274)],_0x17921c[_0x4d8ec6(0x276)]],_0x5784e6=_0x584491[_0x4d8ec6(0x1e9)](_0x537888=>!!CodeceptJS[_0x4d8ec6(0x220)][_0x4d8ec6(0x23e)](_0x537888));if(!_0x5784e6)return null;return CodeceptJS[_0x4d8ec6(0x220)]['helpers'](_0x5784e6);};module[a1_0x2e5e03(0x1df)]=function(_0x45e036){const _0x1814e6=a1_0x2e5e03,_0x23282d={'YMfBx':function(_0x29e35b){return _0x29e35b();},'DYkGL':function(_0x328e3e,_0x246a90){return _0x328e3e(_0x246a90);},'IQzYb':_0x1814e6(0x287),'CmoNv':_0x1814e6(0x25c),'usdZY':_0x1814e6(0x24f),'UgNTQ':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','IZOqR':function(_0x13cd64,_0x48d848){return _0x13cd64(_0x48d848);},'nPAKZ':'hook-started','AnvGR':_0x1814e6(0x255),'gYNne':'hook-failed','dJcYc':_0x1814e6(0x286),'FVTOI':_0x1814e6(0x20f),'cMyDk':function(_0x2691cf,_0x250418){return _0x2691cf(_0x250418);},'JRaWP':function(_0x5dff77,_0x1ebe99,_0x3b957f){return _0x5dff77(_0x1ebe99,_0x3b957f);},'fIONc':function(_0x59c768,_0x5078ff){return _0x59c768(_0x5078ff);},'nwIZs':_0x1814e6(0x273),'sqXil':function(_0x46ddab){return _0x46ddab();},'CKXVA':_0x1814e6(0x20a),'snBbg':function(_0x3761ef){return _0x3761ef();},'lCHRR':function(_0x403e8e,_0x2d7410,_0x1ce273,_0x5f1f29){return _0x403e8e(_0x2d7410,_0x1ce273,_0x5f1f29);},'AGemY':function(_0x2fe344,_0x5ea270){return _0x2fe344===_0x5ea270;},'uqNrf':_0x1814e6(0x1ce),'YCUAK':_0x1814e6(0x1f8),'WldJW':_0x1814e6(0x206),'IgXBF':'afterTest','OcGRM':function(_0x53d23c){return _0x53d23c();},'iqFTP':_0x1814e6(0x1d1),'EZZUS':_0x1814e6(0x20e),'rDfgi':'INFO','pVZAO':_0x1814e6(0x1d0),'xGyik':_0x1814e6(0x232),'DDoHg':'bddStep-before','SWvPr':_0x1814e6(0x1e5),'hzqFS':'Playwright'};_0x45e036[_0x1814e6(0x259)]&&(global[_0x1814e6(0x1c4)]=_0x45e036[_0x1814e6(0x259)]);PerformanceTester['startMonitoring']();const _0x327624=_0x23282d[_0x1814e6(0x292)](getCodeceptDriver),_0x36bce2=new O11yHelper(_0x327624,_0x45e036),_0x501dcb=!!CodeceptJS[_0x1814e6(0x220)]['helpers'](_0x23282d[_0x1814e6(0x1fc)]);global[_0x1814e6(0x26e)]=_0x327624,_0x327624&&(PerformanceTester[_0x1814e6(0x285)](PerformanceEvents[_0x1814e6(0x262)],()=>{const _0x59e268=_0x1814e6;_0x501dcb?_0x23282d[_0x59e268(0x292)](patchPlaywrightBefore):_0x23282d[_0x59e268(0x1c5)](patchWebDriverBefore,_0x327624);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x1814e6(0x1d8)],()=>{const _0x4e5626=_0x1814e6,_0x319675={};_0x319675['qBRDa']=_0x23282d[_0x4e5626(0x239)],_0x319675['smiTB']=_0x23282d['UgNTQ'];const _0x59e900=_0x319675;_0x327624[_0x4e5626(0x24f)]=async()=>{const _0x846582=_0x4e5626;if(global['accessibilityPlatform']){const _0x1e75ec={};_0x1e75ec[_0x846582(0x23a)]=_0x59e900[_0x846582(0x275)],await PerformanceTester[_0x846582(0x285)](PerformanceA11yEvents[_0x846582(0x277)],async()=>{const _0x5ef4aa=_0x846582;await AccessibilityHelper[_0x5ef4aa(0x1c7)](_0x327624,scripts[_0x5ef4aa(0x249)]);},_0x1e75ec)(),await PerformanceTester[_0x846582(0x285)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x30107e=_0x846582;await AccessibilityHelper[_0x30107e(0x1c7)](_0x327624,scripts[_0x30107e(0x21f)]);})();}else return logger[_0x846582(0x1d9)](_0x59e900[_0x846582(0x294)]),{};},_0x327624[_0x4e5626(0x287)]=async()=>{const _0x39a3a5=_0x4e5626;if(global[_0x39a3a5(0x1ea)]){const _0x5eb4ea={};_0x5eb4ea[_0x39a3a5(0x23a)]=_0x23282d[_0x39a3a5(0x27e)],await PerformanceTester[_0x39a3a5(0x285)](PerformanceA11yEvents[_0x39a3a5(0x277)],async()=>{const _0x49c353=_0x39a3a5;await AccessibilityHelper[_0x49c353(0x1c7)](_0x327624,scripts['performScan']);},_0x5eb4ea)(),await PerformanceTester[_0x39a3a5(0x285)](PerformanceA11yEvents[_0x39a3a5(0x1ff)],async()=>{const _0x9f2806=_0x39a3a5;await AccessibilityHelper[_0x9f2806(0x1c7)](_0x327624,scripts[_0x9f2806(0x26b)]);})();}else return logger[_0x39a3a5(0x1d9)](_0x23282d['CmoNv']),{};},_0x23282d[_0x4e5626(0x1ca)](patchSaveScreenshot,_0x327624);})()),CodeceptJS[_0x1814e6(0x25a)]['dispatcher']['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x268)][_0x1814e6(0x21a)],()=>{const _0xbe1340=_0x1814e6;PerformanceTester[_0xbe1340(0x20b)](PerformanceEvents[_0xbe1340(0x228)]);try{_0x36bce2['start'](),testOpsHelper[_0xbe1340(0x242)](),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x2f9696){PerformanceTester[_0xbe1340(0x279)](_0x2f9696),PerformanceTester[_0xbe1340(0x25b)](PerformanceEvents[_0xbe1340(0x228)],![],_0x2f9696);}}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x268)][_0x1814e6(0x288)],async()=>{const _0x35fc82=_0x1814e6;PerformanceTester['start'](PerformanceEvents[_0x35fc82(0x254)]);try{requestSpy[_0x35fc82(0x1f4)](),await _0x36bce2['stop'](),PerformanceTester[_0x35fc82(0x25b)](PerformanceEvents[_0x35fc82(0x254)]);}catch(_0x3b1632){PerformanceTester[_0x35fc82(0x279)](_0x3b1632),PerformanceTester[_0x35fc82(0x25b)](PerformanceEvents[_0x35fc82(0x254)],![],_0x3b1632);}finally{PerformanceTester[_0x35fc82(0x284)]();}}),CodeceptJS['event'][_0x1814e6(0x217)]['on'](CodeceptJS['event']['hook']['started'],_0x50d29f=>{const _0x201c59=_0x1814e6;PerformanceTester[_0x201c59(0x20b)](PerformanceEvents['SDK_HOOK']);try{const _0x2a68b7=_0x50d29f[_0x201c59(0x1de)][_0x201c59(0x1dc)],_0x238d30=_0x36bce2[_0x201c59(0x248)](TEST_EVENTS[_0x201c59(0x295)],_0x2a68b7);CodeceptRecorder[_0x201c59(0x28d)](()=>_0x36bce2[_0x201c59(0x1c9)](TEST_EVENTS[_0x201c59(0x295)],_0x238d30));const _0x46cfdf={};_0x46cfdf[_0x201c59(0x260)]=_0x23282d['nPAKZ'],PerformanceTester[_0x201c59(0x25b)](PerformanceEvents[_0x201c59(0x26c)],!![],null,_0x46cfdf);}catch(_0x5c4f99){const _0x5f049e={};_0x5f049e[_0x201c59(0x260)]=_0x23282d[_0x201c59(0x238)],PerformanceTester[_0x201c59(0x25b)](PerformanceEvents['SDK_HOOK'],![],_0x5c4f99,_0x5f049e),PerformanceTester[_0x201c59(0x279)](_0x5c4f99);}}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x266)][_0x1814e6(0x1ed)],_0x40221e=>{const _0x15113b=_0x1814e6,_0x57ab01={};_0x57ab01['hookType']=_0x23282d[_0x15113b(0x27f)],PerformanceTester[_0x15113b(0x20b)](PerformanceHookEvents[_0x15113b(0x26c)],!![],null,_0x57ab01);try{const _0x351bca=_0x40221e[_0x15113b(0x1de)][_0x15113b(0x1dc)],_0x300d2f=_0x36bce2[_0x15113b(0x248)](TEST_EVENTS[_0x15113b(0x1ee)],_0x351bca);CodeceptRecorder[_0x15113b(0x28d)](()=>_0x36bce2[_0x15113b(0x1c9)](TEST_EVENTS[_0x15113b(0x1ee)],_0x300d2f));const _0x40a9a3={};_0x40a9a3[_0x15113b(0x260)]=_0x23282d[_0x15113b(0x27f)],PerformanceTester[_0x15113b(0x25b)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x40a9a3);}catch(_0x3e268e){PerformanceTester[_0x15113b(0x279)](_0x3e268e);const _0x437847={};_0x437847[_0x15113b(0x260)]=_0x23282d[_0x15113b(0x27f)],PerformanceTester[_0x15113b(0x25b)](PerformanceHookEvents[_0x15113b(0x26c)],![],_0x3e268e,_0x437847);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x266)][_0x1814e6(0x24d)],async(_0x1c5c21,_0x18ed12)=>{const _0x124b0d=_0x1814e6;PerformanceTester['start'](PerformanceHookEvents[_0x124b0d(0x26c)]);try{const _0x31891a=_0x1c5c21[_0x124b0d(0x1de)][_0x124b0d(0x1dc)],_0x3647e3=_0x36bce2[_0x124b0d(0x248)](TEST_EVENTS[_0x124b0d(0x1ee)],_0x31891a,_0x18ed12);CodeceptRecorder[_0x124b0d(0x28d)](()=>_0x36bce2[_0x124b0d(0x1c9)](TEST_EVENTS[_0x124b0d(0x1ee)],_0x3647e3));const _0x4701b8={};_0x4701b8[_0x124b0d(0x260)]=_0x23282d[_0x124b0d(0x28e)],PerformanceTester[_0x124b0d(0x20b)](PerformanceHookEvents[_0x124b0d(0x26c)],!![],null,_0x4701b8);}catch(_0x26208c){PerformanceTester[_0x124b0d(0x279)](_0x26208c);const _0x26447e={};_0x26447e[_0x124b0d(0x260)]=_0x23282d[_0x124b0d(0x28e)],PerformanceTester[_0x124b0d(0x25b)](PerformanceHookEvents['SDK_HOOK'],![],_0x26208c,_0x26447e);}const _0xc57320={};_0xc57320[_0x124b0d(0x260)]=_0x23282d[_0x124b0d(0x28e)],PerformanceTester[_0x124b0d(0x25b)](PerformanceHookEvents[_0x124b0d(0x26c)],!![],null,_0xc57320);}),CodeceptJS[_0x1814e6(0x25a)]['dispatcher']['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x1dc)]['before'],_0x5dab45=>{const _0x504e47=_0x1814e6;PerformanceTester[_0x504e47(0x20b)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x504e47(0x1f7)](_0x23282d[_0x504e47(0x211)],_0x5dab45[_0x504e47(0x1b8)]);_0x23282d[_0x504e47(0x292)](isBrowserstackInfra)&&(_0x501dcb&&(global[_0x504e47(0x1dd)]={'currentTest':{'name':_0x5dab45[_0x504e47(0x1b8)],'testInfo':{'titlePath':_0x5dab45[_0x504e47(0x246)]()}}}));const _0xc2f99e={};_0xc2f99e[_0x504e47(0x260)]=_0x23282d[_0x504e47(0x26a)],PerformanceTester[_0x504e47(0x25b)](PerformanceHookEvents[_0x504e47(0x26c)],!![],null,_0xc2f99e);}catch(_0x3398dd){PerformanceTester[_0x504e47(0x279)](_0x3398dd);const _0x1dd4af={};_0x1dd4af['hookType']=_0x23282d['FVTOI'],PerformanceTester[_0x504e47(0x25b)](PerformanceHookEvents[_0x504e47(0x26c)],![],_0x3398dd,_0x1dd4af);}}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x1dc)][_0x1814e6(0x28b)],_0x2b6a1b=>{const _0x1d5616=_0x1814e6,_0x420320={'rEEAd':function(_0x21282c){const _0x3fe01f=a1_0x5b58;return _0x23282d[_0x3fe01f(0x292)](_0x21282c);},'gEgVh':function(_0x10ff7b,_0x27c6d6){const _0x5d3f49=a1_0x5b58;return _0x23282d[_0x5d3f49(0x243)](_0x10ff7b,_0x27c6d6);},'kfzql':function(_0x18cfbf,_0x176c78,_0x2f40d5){return _0x23282d['JRaWP'](_0x18cfbf,_0x176c78,_0x2f40d5);},'mgoAS':function(_0x58a75,_0x48245){const _0x1d06a3=a1_0x5b58;return _0x23282d[_0x1d06a3(0x241)](_0x58a75,_0x48245);}};PerformanceTester[_0x1d5616(0x20b)](PerformanceHookEvents[_0x1d5616(0x26c)]);try{globals[_0x1d5616(0x1f7)](_0x23282d[_0x1d5616(0x211)],_0x2b6a1b[_0x1d5616(0x1b8)]);const _0xcb0f41=_0x36bce2[_0x1d5616(0x248)](TEST_EVENTS[_0x1d5616(0x230)],_0x2b6a1b);CodeceptRecorder['add'](()=>_0x36bce2[_0x1d5616(0x1c9)](TEST_EVENTS['TEST_RUN_STARTED'],_0xcb0f41)),CodeceptRecorder['add'](async()=>{const _0x453ca9=_0x1d5616;_0x420320[_0x453ca9(0x1fb)](isBrowserstackInfra)&&(!_0x420320[_0x453ca9(0x1c8)](isTrue,_0x45e036[_0x453ca9(0x20d)])&&await _0x420320[_0x453ca9(0x22a)](markSessionName,_0x327624,_0x2b6a1b[_0x453ca9(0x1b8)]),_0x36bce2[_0x453ca9(0x200)]&&await _0x420320[_0x453ca9(0x233)](o11ySync,_0x327624));});}catch(_0x44cd08){const _0x30f649={};_0x30f649[_0x1d5616(0x260)]=_0x23282d[_0x1d5616(0x235)],PerformanceTester[_0x1d5616(0x25b)](PerformanceHookEvents[_0x1d5616(0x26c)],![],_0x44cd08,_0x30f649),PerformanceTester[_0x1d5616(0x279)](_0x44cd08);}const _0x30b774={};_0x30b774['hookType']=_0x23282d['nwIZs'],PerformanceTester['end'](PerformanceHookEvents[_0x1d5616(0x26c)],!![],null,_0x30b774);}),CodeceptJS['event'][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)]['test'][_0x1814e6(0x1ed)],_0x5687d1=>{const _0x56a43f=_0x1814e6;PerformanceTester['start'](PerformanceHookEvents[_0x56a43f(0x26c)]);try{const _0x37ff7b=_0x36bce2[_0x56a43f(0x248)](TEST_EVENTS[_0x56a43f(0x1cd)],_0x5687d1);CodeceptRecorder[_0x56a43f(0x28d)](()=>_0x36bce2[_0x56a43f(0x1c9)](TEST_EVENTS[_0x56a43f(0x1cd)],_0x37ff7b)),CodeceptRecorder['add'](async()=>{const _0x2f69d2=_0x56a43f,_0x11f7ad={'EIbEN':function(_0x5b0d6f,_0x5cddca,_0x5890a4){const _0x574ed7=a1_0x5b58;return _0x23282d[_0x574ed7(0x1e1)](_0x5b0d6f,_0x5cddca,_0x5890a4);},'ZVOno':function(_0x53f806,_0x3ee818,_0x27f782){const _0x4e8d6d=a1_0x5b58;return _0x23282d[_0x4e8d6d(0x1e1)](_0x53f806,_0x3ee818,_0x27f782);}};_0x23282d[_0x2f69d2(0x1f0)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x2f69d2(0x27a)],async()=>{const _0x2f1c5a=_0x2f69d2;_0x501dcb?await _0x11f7ad[_0x2f1c5a(0x1bf)](playwrightMarkSessionStatus,_0x327624,STATE_PASSED):await _0x11f7ad[_0x2f1c5a(0x280)](markSessionStatus,_0x327624,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents[_0x56a43f(0x221)]);}catch(_0x4b0233){PerformanceTester[_0x56a43f(0x279)](_0x4b0233);const _0x5775e8={};_0x5775e8[_0x56a43f(0x260)]=_0x23282d['CKXVA'],PerformanceTester[_0x56a43f(0x25b)](PerformanceHookEvents['SDK_HOOK'],![],_0x4b0233,_0x5775e8),PerformanceTester[_0x56a43f(0x25b)](PerformanceEvents[_0x56a43f(0x221)],![],_0x4b0233);}const _0x1ada0e={};_0x1ada0e[_0x56a43f(0x260)]=_0x23282d[_0x56a43f(0x22d)],PerformanceTester[_0x56a43f(0x25b)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1ada0e);}),CodeceptJS['event'][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x1dc)]['failed'],(_0x2336c8,_0x478a4e)=>{const _0x2ab65f=_0x1814e6;PerformanceTester[_0x2ab65f(0x20b)](PerformanceHookEvents[_0x2ab65f(0x26c)]);try{if(_0x23282d['AGemY'](_0x2336c8[_0x2ab65f(0x1fa)]['name'],_0x23282d[_0x2ab65f(0x281)])){const _0x444f2b=_0x36bce2[_0x2ab65f(0x248)](TEST_EVENTS[_0x2ab65f(0x265)],_0x2336c8[_0x2ab65f(0x1de)][_0x2ab65f(0x222)]);CodeceptRecorder[_0x2ab65f(0x28d)](()=>_0x36bce2[_0x2ab65f(0x1c9)](TEST_EVENTS[_0x2ab65f(0x265)],_0x444f2b));}else{const _0x30c0c3=_0x36bce2['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2336c8,_0x478a4e);CodeceptRecorder[_0x2ab65f(0x28d)](()=>{const _0x2e318a=_0x2ab65f;try{_0x36bce2[_0x2e318a(0x1c9)](TEST_EVENTS[_0x2e318a(0x1cd)],_0x30c0c3);}catch(_0x59ba4d){logger[_0x2e318a(0x240)](_0x2e318a(0x1cc)+util[_0x2e318a(0x216)](_0x59ba4d)),PerformanceTester[_0x2e318a(0x25b)](PerformanceEvents[_0x2e318a(0x221)],![],_0x59ba4d);}}),CodeceptRecorder['add'](async()=>{const _0x1897ac=_0x2ab65f;try{_0x23282d[_0x1897ac(0x204)](isBrowserstackInfra)&&(_0x501dcb?await _0x23282d[_0x1897ac(0x278)](playwrightMarkSessionStatus,_0x327624,STATE_FAILED,_0x478a4e):await _0x23282d[_0x1897ac(0x278)](markSessionStatus,_0x327624,STATE_FAILED,_0x478a4e));}catch(_0x2cb860){logger[_0x1897ac(0x240)](_0x1897ac(0x1da)+util[_0x1897ac(0x216)](_0x2cb860)),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x2cb860);}});}PerformanceTester[_0x2ab65f(0x25b)](PerformanceEvents[_0x2ab65f(0x221)]);}catch(_0x58268b){PerformanceTester[_0x2ab65f(0x279)](_0x58268b);const _0x1552b4={};_0x1552b4[_0x2ab65f(0x260)]=_0x23282d[_0x2ab65f(0x21e)],PerformanceTester[_0x2ab65f(0x25b)](PerformanceHookEvents['SDK_HOOK'],![],_0x58268b,_0x1552b4),PerformanceTester[_0x2ab65f(0x25b)](PerformanceEvents[_0x2ab65f(0x221)],![],_0x58268b);}const _0x3bb8f4={};_0x3bb8f4[_0x2ab65f(0x260)]=_0x23282d[_0x2ab65f(0x21e)],PerformanceTester['end'](PerformanceHookEvents[_0x2ab65f(0x26c)],!![],null,_0x3bb8f4);}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x1dc)]['skipped'],_0x20f0b4=>{const _0x9669f2=_0x1814e6;PerformanceTester[_0x9669f2(0x20b)](PerformanceHookEvents[_0x9669f2(0x26c)]);try{const _0x24f675=_0x36bce2[_0x9669f2(0x248)](TEST_EVENTS[_0x9669f2(0x265)],_0x20f0b4);CodeceptRecorder[_0x9669f2(0x28d)](()=>_0x36bce2[_0x9669f2(0x1c9)](TEST_EVENTS[_0x9669f2(0x265)],_0x24f675)),PerformanceTester[_0x9669f2(0x25b)](PerformanceEvents[_0x9669f2(0x221)]);}catch(_0xcc79d7){PerformanceTester[_0x9669f2(0x279)](_0xcc79d7),PerformanceTester[_0x9669f2(0x25b)](PerformanceEvents[_0x9669f2(0x221)],![],_0xcc79d7);const _0x1f583f={};_0x1f583f[_0x9669f2(0x260)]=_0x23282d['WldJW'],PerformanceTester[_0x9669f2(0x25b)](PerformanceHookEvents[_0x9669f2(0x26c)],![],_0xcc79d7,_0x1f583f);}const _0x31bcbb={};_0x31bcbb[_0x9669f2(0x260)]=_0x23282d['WldJW'],PerformanceTester['end'](PerformanceHookEvents[_0x9669f2(0x26c)],!![],null,_0x31bcbb);}),CodeceptJS['event'][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)]['test'][_0x1814e6(0x288)],async(_0x4ffb7e,_0x42dee1)=>{const _0x2811c9=_0x1814e6,_0x4f45c4={};_0x4f45c4[_0x2811c9(0x1f1)]=_0x23282d[_0x2811c9(0x236)];const _0x459798=_0x4f45c4;try{PerformanceTester['start'](PerformanceHookEvents[_0x2811c9(0x26c)]);if(_0x23282d[_0x2811c9(0x21d)](isBrowserstackInfra)){const _0x9cc19f=_0x23282d['JRaWP'](shouldScanTestForAccessibility,_0x4ffb7e[_0x2811c9(0x246)](),!![]);if(_0x23282d[_0x2811c9(0x21d)](isAccessibilityAutomationSession)&&global[_0x2811c9(0x1ea)]&&_0x9cc19f){const _0x185dfe={};_0x185dfe['thTestRunUuid']=_0x4ffb7e[_0x2811c9(0x1d3)],_0x185dfe['thBuildUuid']=process[_0x2811c9(0x24c)][testHubConstants[_0x2811c9(0x22b)][_0x2811c9(0x23c)]],_0x185dfe['thJwtToken']=process[_0x2811c9(0x24c)][testHubConstants['ENV_VAR'][_0x2811c9(0x1ef)]];const _0x413eb0=_0x185dfe;logger['debug'](_0x2811c9(0x263)+JSON[_0x2811c9(0x270)](_0x413eb0)),CodeceptRecorder[_0x2811c9(0x28d)](async()=>{const _0x58d20c=_0x2811c9,_0xb0eebc={};_0xb0eebc[_0x58d20c(0x23a)]=_0x459798[_0x58d20c(0x1f1)],await PerformanceTester[_0x58d20c(0x285)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x31bb1b=_0x58d20c;await AccessibilityHelper[_0x31bb1b(0x1c7)](_0x327624,scripts[_0x31bb1b(0x249)]);},_0xb0eebc)(),await PerformanceTester[_0x58d20c(0x285)](PerformanceA11yEvents[_0x58d20c(0x27b)],async()=>{const _0x16898f=_0x58d20c;await AccessibilityHelper[_0x16898f(0x1c7)](_0x327624,scripts[_0x16898f(0x1e7)],_0x413eb0);})();}),logger[_0x2811c9(0x23b)](_0x23282d['iqFTP']);}}const _0xb201d={};_0xb201d[_0x2811c9(0x260)]=_0x23282d[_0x2811c9(0x251)],PerformanceTester['end'](PerformanceHookEvents[_0x2811c9(0x26c)],!![],null,_0xb201d);}catch(_0x51fd53){PerformanceTester['captureError'](_0x51fd53);const _0x2c941c={};_0x2c941c[_0x2811c9(0x260)]=_0x23282d[_0x2811c9(0x251)],PerformanceTester[_0x2811c9(0x25b)](PerformanceHookEvents[_0x2811c9(0x26c)],![],_0x51fd53,_0x2c941c);}}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS['event'][_0x1814e6(0x237)][_0x1814e6(0x21c)],_0x5c3b56=>{const _0x41b4a7=_0x1814e6;PerformanceTester[_0x41b4a7(0x20b)](PerformanceHookEvents[_0x41b4a7(0x26c)]);try{process[_0x41b4a7(0x234)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x41b4a7(0x1bd)](),'level':_0x23282d[_0x41b4a7(0x258)],'message':_0x5c3b56,'kind':_0x23282d[_0x41b4a7(0x1db)],'http_response':{}});}catch(_0x36971c){PerformanceTester[_0x41b4a7(0x279)](_0x36971c);const _0x3d7da5={};_0x3d7da5[_0x41b4a7(0x260)]=_0x23282d[_0x41b4a7(0x23f)],PerformanceTester[_0x41b4a7(0x25b)](PerformanceHookEvents[_0x41b4a7(0x26c)],![],_0x36971c,_0x3d7da5);}const _0x574942={};_0x574942[_0x41b4a7(0x260)]=_0x23282d['xGyik'],PerformanceTester['end'](PerformanceHookEvents[_0x41b4a7(0x26c)],!![],null,_0x574942);}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS['event'][_0x1814e6(0x25e)][_0x1814e6(0x21a)],_0x6feaa8=>{const _0x32e600=_0x1814e6,_0x26329f={};_0x26329f[_0x32e600(0x260)]=_0x23282d[_0x32e600(0x1ec)],PerformanceTester[_0x32e600(0x285)](PerformanceHookEvents[_0x32e600(0x26c)],()=>{_0x36bce2['bddStepStart'](_0x6feaa8);},_0x26329f)();}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS['event']['bddStep'][_0x1814e6(0x288)],_0xd37370=>{const _0x1b5f09=_0x1814e6,_0x8dfc31={};_0x8dfc31[_0x1b5f09(0x260)]=_0x23282d[_0x1b5f09(0x24e)],PerformanceTester[_0x1b5f09(0x285)](PerformanceHookEvents[_0x1b5f09(0x26c)],()=>{const _0x242142=_0x1b5f09;_0x36bce2[_0x242142(0x293)](_0xd37370);},_0x8dfc31)();});};function a1_0x4c94(){const _0xebf1bc=['260136NJdzHI','_before','bs:addLog:','__skipSessionStatus','DYkGL','QbiQQ','browserStackExecuteDriver','gEgVh','fireEvent','IZOqR','status','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','TEST_RUN_FINISHED','Suite','setSessionStatus','TEST_LOG','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','vvrfN','testAnalyticsId','BS_TESTOPS_ALLOW_SCREENSHOTS','nMSIK','reason','../../helpers/accessibility-automation/scripts','SDK_POST_INITIALIZE','warn','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','pVZAO','test','__workerDetails','ctx','exports','browser','JRaWP','codeceptjs/lib/helper/WebDriver.js','name','Failed\x20to\x20execute\x20_before:\x20','bddStep-after','../../bin/playwright/accessibility-helper','saveTestResults','TestCafe','find','accessibilityPlatform','BvmBg','DDoHg','passed','HOOK_RUN_FINISHED','BROWSERSTACK_TESTHUB_JWT','sqXil','gjzaD','apply','forEach','restore','prototype','action','setGlobal','test-failed','toString','constructor','rEEAd','hzqFS','pmzxW','initSaveScreenshot','GET_RESULTS','enabled','../../helpers/globals.js','tFgaK','bind','snBbg','30FtjAFB','test-skipped','Element','../../helpers/accessibility-automation/helper','498fFZvSJ','test-passed','start','getSyncScript','skipSessionName','test-after','test-before','IoYqt','dJcYc','XbZbf','WebDriver','call','codeceptjs/lib/utils.js','format','dispatcher','jPgye','browserContext','before','oyVIQ','comment','OcGRM','YCUAK','getResultsSummary','container','SDK_TEST','currentTest','saveScreenshot','../../helpers/helper','codeceptjs/lib/recorder.js','../../bin/playwright/sessionDetails','FiSkX','SDK_PRE_TEST','SYNC','kfzql','ENV_VAR','121194jRIYRj','CKXVA','646845eRaZbS','patch','TEST_RUN_STARTED','10FUjdxs','step-comment','mgoAS','emit','nwIZs','IgXBF','step','nPAKZ','usdZY','command','info','BROWSERSTACK_TESTHUB_UUID','fwRVX','helpers','xGyik','debug','fIONc','addRequestSpy','cMyDk','../../helpers/performance/constants','wjlpC','titlePath','codeceptjs','captureEvent','performScan','BMOsS','2239InnGRH','env','failed','SWvPr','getAccessibilityResultsSummary','FxfiJ','EZZUS','executeScript','setSessionName','SDK_POST_TEST','hook-passed','Playwright','then','rDfgi','skipSessionStatus','event','end','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','TEST_SCREENSHOT','bddStep','2516074jQGIDj','hookType','uSOMb','SDK_PRE_INITIALIZE','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','IfdbM','TEST_RUN_SKIPPED','hook','class','all','pid','FVTOI','getResults','SDK_HOOK','./o11yHelper','__driver','../../helpers/performance/performance-tester','stringify','catch','bstackAllyScanning','test-started','lKoXz','qBRDa','aXswK','PERFORM_SCAN','lCHRR','captureError','SESSION_STATUS','SAVE_RESULTS','eLEHa','codeceptjs/lib/index.js','IQzYb','AnvGR','ZVOno','uqNrf','mDOgL','49oNSIuQ','stopMonitoring','measureWrapper','browserstackTestName','getAccessibilityResults','after','shouldWrapCommand','readFileSync','started','6207399ZymxwX','add','gYNne','browserstack_executor:\x20','1173136GTRNvg','overwriteCommand','YMfBx','bddStepFinish','smiTB','HOOK_RUN_STARTED','patchSaveScreenshot','codeceptjs/lib/helper/Playwright.js','title','base64','./helper.js','screenshotOutputFolder','arguments','toISOString','Screenshot\x20path\x20not\x20found','EIbEN','../../helpers/test-observability/utils'];a1_0x4c94=function(){return _0xebf1bc;};return a1_0x4c94();}
1
+ function a1_0xf92a(_0x4757b5,_0xb0bd54){const _0x4ab5e2=a1_0x4ab5();return a1_0xf92a=function(_0xf92abf,_0x4c8638){_0xf92abf=_0xf92abf-0x112;let _0x3e3a6e=_0x4ab5e2[_0xf92abf];return _0x3e3a6e;},a1_0xf92a(_0x4757b5,_0xb0bd54);}const a1_0x152121=a1_0xf92a;(function(_0x2c5250,_0x2f3a2b){const _0x5ed31e=a1_0xf92a,_0x350eb3=_0x2c5250();while(!![]){try{const _0x4651e0=-parseInt(_0x5ed31e(0x19b))/0x1*(parseInt(_0x5ed31e(0x1d2))/0x2)+-parseInt(_0x5ed31e(0x1d3))/0x3*(-parseInt(_0x5ed31e(0x16f))/0x4)+parseInt(_0x5ed31e(0x114))/0x5+parseInt(_0x5ed31e(0x140))/0x6*(parseInt(_0x5ed31e(0x12f))/0x7)+parseInt(_0x5ed31e(0x1c3))/0x8*(parseInt(_0x5ed31e(0x13c))/0x9)+-parseInt(_0x5ed31e(0x11a))/0xa+-parseInt(_0x5ed31e(0x19f))/0xb;if(_0x4651e0===_0x2f3a2b)break;else _0x350eb3['push'](_0x350eb3['shift']());}catch(_0x336da0){_0x350eb3['push'](_0x350eb3['shift']());}}}(a1_0x4ab5,0x470c2));const fs=require('fs'),util=require(a1_0x152121(0x1a7)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a1_0x152121(0x1a9)],testOpsHelper=require(a1_0x152121(0x11e)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x152121(0x142)),scripts=require(a1_0x152121(0x13b)),PerformanceTester=require(a1_0x152121(0x177)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x152121(0x14c)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x152121(0x194)),CodeceptJS=requireModule(a1_0x152121(0x143),a1_0x152121(0x18a)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x152121(0x18a)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x152121(0x18a)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x152121(0x18a)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x152121(0x18a)),playwrightMarkSessionStatus=(_0xd25071,_0x1cba05,_0x5d0437)=>{const _0x56960e=a1_0x152121,_0x3f87df={'ACJCE':_0x56960e(0x198),'JeGOx':function(_0x169e8b,_0x24c8f0){return _0x169e8b(_0x24c8f0);}},_0x46184e={};_0x46184e['status']=_0x1cba05;const _0x26f6fc={};_0x26f6fc[_0x56960e(0x127)]=_0x3f87df[_0x56960e(0x132)],_0x26f6fc['arguments']=_0x46184e;const _0x3c38a7=_0x26f6fc;return!_0x3f87df[_0x56960e(0x19a)](isUndefined,_0x5d0437)&&(_0x3c38a7[_0x56960e(0x167)][_0x56960e(0x188)]=JSON[_0x56960e(0x119)](_0x5d0437)),_0xd25071[_0x56960e(0x158)](()=>{},'browserstack_executor:\x20'+JSON[_0x56960e(0x119)](_0x3c38a7));},o11ySync=PerformanceTester[a1_0x152121(0x17c)](PerformanceO11yEvents[a1_0x152121(0x1b3)],async _0x305f9e=>{const _0x500db5=a1_0x152121,_0x4bd602={};_0x4bd602[_0x500db5(0x189)]=function(_0x46ac38,_0x68a6f){return _0x46ac38===_0x68a6f;},_0x4bd602[_0x500db5(0x1bb)]=_0x500db5(0x129);const _0x548f43=_0x4bd602;_0x548f43[_0x500db5(0x189)](_0x305f9e[_0x500db5(0x1d7)]['name'],_0x548f43[_0x500db5(0x1bb)])?await _0x305f9e[_0x500db5(0x158)](_0x4345aa=>{},testOpsHelper[_0x500db5(0x117)]()):await _0x305f9e[_0x500db5(0x158)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x152121(0x17c)](PerformanceAutEvents[a1_0x152121(0x156)],async(_0x582ccf,_0xcdd008)=>{const _0x169157=a1_0x152121,_0xbf616={};_0xbf616['gDOHE']='setSessionName',_0xbf616['tJEal']=function(_0x3d025f,_0x5443d9){return _0x3d025f===_0x5443d9;},_0xbf616[_0x169157(0x15a)]=_0x169157(0x129);const _0x2c15a5=_0xbf616,_0x47d9df={};_0x47d9df[_0x169157(0x133)]=_0xcdd008;const _0x752522={};_0x752522[_0x169157(0x127)]=_0x2c15a5['gDOHE'],_0x752522[_0x169157(0x167)]=_0x47d9df;const _0x2ff2e0=_0x752522;_0x2c15a5['tJEal'](_0x582ccf['constructor'][_0x169157(0x133)],_0x2c15a5[_0x169157(0x15a)])?await _0x582ccf[_0x169157(0x158)](()=>{},_0x169157(0x13f)+JSON[_0x169157(0x119)](_0x2ff2e0)):await _0x582ccf[_0x169157(0x158)](_0x169157(0x13f)+JSON[_0x169157(0x119)](_0x2ff2e0));}),patchSaveScreenshot=_0x55a623=>{const _0x5631bc=a1_0x152121,_0x6b151b={'EIoXv':_0x5631bc(0x11c),'WzMDF':'TEST_SCREENSHOT','VGXDf':function(_0x2447a1){return _0x2447a1();},'pidmG':function(_0x187e39,_0x502338){return _0x187e39(_0x502338);},'NUEMT':_0x5631bc(0x1e5),'jgjHN':function(_0x2b7377,_0x34e7d4){return _0x2b7377(_0x34e7d4);}};_0x6b151b[_0x5631bc(0x1a3)](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x55a623['patchSaveScreenshot']&&(_0x55a623[_0x5631bc(0x12d)]=!![],_0x55a623[_0x5631bc(0x1b6)]=_0x55a623[_0x5631bc(0x17b)],_0x55a623['saveScreenshot']=(_0x18b322,_0x567339=![])=>{const _0x5e373f=_0x5631bc,_0x415d7f={'kUVtS':_0x6b151b[_0x5e373f(0x1e1)],'ZfltD':_0x6b151b[_0x5e373f(0x139)],'LsxIe':function(_0x131a00){return _0x6b151b['VGXDf'](_0x131a00);},'MvbpX':function(_0xf6e03,_0x253568){return _0x6b151b['pidmG'](_0xf6e03,_0x253568);},'JtPFc':_0x6b151b[_0x5e373f(0x170)]};return new Promise(function(_0x16fccb,_0x5bc409){const _0x3d7e2f=_0x5e373f;_0x55a623[_0x3d7e2f(0x1b6)](_0x18b322,_0x567339)[_0x3d7e2f(0x162)](()=>{const _0x1631f2=_0x3d7e2f,_0x388363=CodeceptUtils[_0x1631f2(0x15b)](_0x18b322);if(_0x388363){const _0xdc932d=fs[_0x1631f2(0x135)](_0x388363);process[_0x1631f2(0x1e0)](_0x1631f2(0x11f)+process['pid'],{'timestamp':new Date()[_0x1631f2(0x1e2)](),'message':_0xdc932d[_0x1631f2(0x186)](_0x415d7f['kUVtS']),'kind':_0x415d7f[_0x1631f2(0x144)]}),_0x415d7f[_0x1631f2(0x120)](_0x16fccb);}_0x415d7f['MvbpX'](_0x5bc409,new Error(_0x415d7f['JtPFc']));})['catch'](()=>null);});});},patchWebDriverBefore=_0x6dbedb=>{const _0x360478=a1_0x152121,_0x3c2134={'uFkFW':function(_0x4764a5){return _0x4764a5();},'ZFxAI':function(_0x1cbac6,_0x8cfcff){return _0x1cbac6(_0x8cfcff);},'ZZFbx':function(_0x51c9e1,_0x2113d9){return _0x51c9e1===_0x2113d9;},'xUATT':'Element'},_0x14fdeb=async function(_0x1a34f6,_0x259afe){const _0x4dd0d1=a1_0xf92a;return _0x3c2134[_0x4dd0d1(0x1b4)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x4dd0d1(0x1ca)]&&scripts[_0x4dd0d1(0x1b0)](_0x1a34f6[_0x4dd0d1(0x133)])&&_0x3c2134[_0x4dd0d1(0x14d)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x4dd0d1(0x1b8)]=!![],await PerformanceTester[_0x4dd0d1(0x17c)](PerformanceA11yEvents[_0x4dd0d1(0x148)],async()=>{const _0x283f85=_0x4dd0d1;logger['debug']('Performing\x20scan\x20for\x20'+_0x1a34f6[_0x283f85(0x13a)]+'\x20'+_0x1a34f6[_0x283f85(0x133)]),await AccessibilityHelper[_0x283f85(0x161)](_0x6dbedb,scripts['performScan']);},{'command':_0x1a34f6[_0x4dd0d1(0x133)]})()),global['bstackAllyScanning']=![],_0x259afe['apply'](this,Array[_0x4dd0d1(0x146)][_0x4dd0d1(0x14f)][_0x4dd0d1(0x14b)](arguments,0x2));},_0x387b08=CodeceptWebDriver['prototype'][_0x360478(0x1ce)];CodeceptWebDriver[_0x360478(0x146)][_0x360478(0x1ce)]=async function(){const _0x106118=_0x360478;try{await _0x387b08[_0x106118(0x1d6)](this,arguments);}catch(_0x123c44){logger['debug'](_0x106118(0x153)+util[_0x106118(0x1a4)](_0x123c44));}scripts[_0x106118(0x1bc)][_0x106118(0x18f)](_0x8870da=>_0x8870da[_0x106118(0x133)]&&_0x8870da['class'])[_0x106118(0x1da)](_0x71ac82=>{const _0x5c6bbf=_0x106118;this[_0x5c6bbf(0x187)][_0x5c6bbf(0x192)](_0x71ac82['name'],_0x14fdeb['bind'](this,_0x71ac82),_0x3c2134[_0x5c6bbf(0x176)](_0x71ac82[_0x5c6bbf(0x13a)],_0x3c2134[_0x5c6bbf(0x1d1)]));}),_0x3c2134['ZFxAI'](processWebDriverConfig,_0x6dbedb);};},patchPlaywrightBefore=()=>{const _0x5eefc0=a1_0x152121;PlaywrightSessionDetails[_0x5eefc0(0x1a0)]();const _0x14a576=CodeceptPlaywright[_0x5eefc0(0x146)][_0x5eefc0(0x1ce)];CodeceptPlaywright[_0x5eefc0(0x146)][_0x5eefc0(0x1ce)]=async function(){const _0x10a582=_0x5eefc0;this[_0x10a582(0x13e)]=await this['browser'][_0x10a582(0x16d)]()[0x0],await _0x14a576['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x9c0a8=a1_0x152121,_0x2ce91d={};_0x2ce91d['PhfCw']=_0x9c0a8(0x12c),_0x2ce91d[_0x9c0a8(0x1a2)]=_0x9c0a8(0x129),_0x2ce91d['nbnDs']='Puppeteer',_0x2ce91d[_0x9c0a8(0x1a1)]=_0x9c0a8(0x17d);const _0x28961b=_0x2ce91d,_0x327ac0=[_0x28961b['PhfCw'],_0x28961b[_0x9c0a8(0x1a2)],_0x28961b[_0x9c0a8(0x16e)],_0x28961b[_0x9c0a8(0x1a1)]],_0x3e22d5=_0x327ac0['find'](_0x15ce9c=>!!CodeceptJS['container'][_0x9c0a8(0x121)](_0x15ce9c));if(!_0x3e22d5)return null;return CodeceptJS[_0x9c0a8(0x154)][_0x9c0a8(0x121)](_0x3e22d5);};function a1_0x4ab5(){const _0x293190=['apply','constructor','afterTest','title','forEach','PpbcL','step-comment','ZfWzl','saveTestResults','test','emit','EIoXv','toISOString','info','Viinz','Screenshot\x20path\x20not\x20found','__driver','qowmJ','1722335HdKIin','fHUER','test-failed','getSyncScript','startMonitoring','stringify','4856830GRdFDb','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','base64','fAMKM','../../helpers/test-observability/utils','bs:addLog:','LsxIe','helpers','debug','BrXLz','hookType','pid','comment','action','cIgki','Playwright','__workerDetails','tkPZc','WebDriver','patchSaveScreenshot','command','917HVGxqG','add','kgEJa','ACJCE','name','TEST_RUN_FINISHED','readFileSync','env','SDK_HOOK','Zhozl','WzMDF','class','../../helpers/accessibility-automation/scripts','2847807vslfXl','getAccessibilityResults','browserContext','browserstack_executor:\x20','22188gpdBVE','captureError','../../bin/playwright/accessibility-helper','codeceptjs/lib/index.js','ZfltD','hook-passed','prototype','oxYIn','PERFORM_SCAN','after','TEST_LOG','call','../../helpers/performance/constants','ZFxAI','XAyZl','slice','skipSessionName','end','skipSessionStatus','Failed\x20to\x20execute\x20_before:\x20','container','getResultsSummary','SESSION_NAME','WeuOb','executeScript','bddStep-after','mkJWE','screenshotOutputFolder','HOOK_RUN_FINISHED','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','addRequestSpy','performScan','failed','browserStackExecuteDriver','then','HOOK_RUN_STARTED','SAVE_RESULTS','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','TEST_RUN_SKIPPED','arguments','MoHcp','VEjUg','SDK_PRE_TEST','hook','bddStep','contexts','nbnDs','312VGrYGZ','NUEMT','test-passed','exports','yNeBz','PjRto','EfMAP','ZZFbx','../../helpers/performance/performance-tester','warn','before','hook-started','saveScreenshot','measureWrapper','TestCafe','fireEvent','start','bddStepStart','stop','SDK_TEST','testAnalyticsId','lSObs','titlePath','toString','browser','reason','JfvnY','codeceptjs','ukqwf','skipped','GET_RESULTS_SUMMARY','enabled','filter','captureEvent','rKnch','overwriteCommand','getResults','../../helpers/globals.js','LcHbV','BPCSz','GET_RESULTS','setSessionStatus','passed','JeGOx','65YZrhtc','SDK_POST_TEST','restore','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','1610686UbKPUa','patch','PSZtF','UkNHC','jgjHN','format','tiRCh','step','util','IsmMO','winstonLogger','all','ORBuw','BROWSERSTACK_TESTHUB_JWT','ClKJx','KMBZK','SESSION_STATUS','shouldWrapCommand','TEST_RUN_STARTED','mYJIO','SYNC','uFkFW','__skipSessionStatus','initSaveScreenshot','EZHcs','bstackAllyScanning','ctx','test-after','fgHHm','commandsToWrap','stopMonitoring','thJwtToken','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','SDK_POST_INITIALIZE','dlEsw','kPouy','8EtSCTH','rjZHR','thBuildUuid','bddStep-before','test-before','browserstackTestName','loqUS','accessibilityPlatform','getAccessibilityResultsSummary','started','dispatcher','_before','SDK_PRE_INITIALIZE','BROWSERSTACK_TESTHUB_UUID','xUATT','14630NUsXew','9741wpjidL','nWRIr','event'];a1_0x4ab5=function(){return _0x293190;};return a1_0x4ab5();}module[a1_0x152121(0x172)]=function(_0x2e1caf){const _0xc62cc9=a1_0x152121,_0x13ca9e={'oxYIn':function(_0x1bff66){return _0x1bff66();},'kPouy':function(_0x873699,_0x506ad9){return _0x873699(_0x506ad9);},'rjZHR':'getAccessibilityResultsSummary','rKnch':_0xc62cc9(0x1bf),'Zhozl':_0xc62cc9(0x13d),'XAyZl':_0xc62cc9(0x11b),'WeuOb':_0xc62cc9(0x17a),'ORBuw':_0xc62cc9(0x145),'dlEsw':'hook-failed','nWRIr':_0xc62cc9(0x1c8),'PpbcL':_0xc62cc9(0x1c7),'ukqwf':function(_0xc9589e,_0x43817f,_0xb8b328){return _0xc9589e(_0x43817f,_0xb8b328);},'MoHcp':'test-started','mYJIO':_0xc62cc9(0x171),'wwfIB':function(_0x399ca8){return _0x399ca8();},'sDRLc':function(_0x375ad2,_0x3990b6,_0x5f3ae5,_0x2a5542){return _0x375ad2(_0x3990b6,_0x5f3ae5,_0x2a5542);},'SgQou':function(_0x2a4009,_0x47ad65){return _0x2a4009===_0x47ad65;},'yNeBz':'Suite','tkPZc':_0xc62cc9(0x116),'cIgki':'test-skipped','IsmMO':_0xc62cc9(0x1d8),'Vlqzm':function(_0x1fe633,_0x3d8559,_0x42b00c){return _0x1fe633(_0x3d8559,_0x42b00c);},'LcHbV':_0xc62cc9(0x15d),'KNYmf':_0xc62cc9(0x1ba),'AdHpT':'INFO','BrXLz':_0xc62cc9(0x14a),'PjRto':_0xc62cc9(0x1dc),'tiRCh':_0xc62cc9(0x1c6),'kgEJa':_0xc62cc9(0x159),'VEjUg':function(_0x44a82f){return _0x44a82f();},'qAlbu':'Playwright'};_0x2e1caf[_0xc62cc9(0x152)]&&(global[_0xc62cc9(0x1b5)]=_0x2e1caf[_0xc62cc9(0x152)]);PerformanceTester[_0xc62cc9(0x118)]();const _0x324e89=_0x13ca9e[_0xc62cc9(0x169)](getCodeceptDriver),_0x13dba3=new O11yHelper(_0x324e89,_0x2e1caf),_0x10b4f0=!!CodeceptJS['container'][_0xc62cc9(0x121)](_0x13ca9e['qAlbu']);global[_0xc62cc9(0x112)]=_0x324e89,_0x324e89&&(PerformanceTester[_0xc62cc9(0x17c)](PerformanceEvents[_0xc62cc9(0x1cf)],()=>{const _0x924ee1=_0xc62cc9;_0x10b4f0?_0x13ca9e[_0x924ee1(0x147)](patchPlaywrightBefore):_0x13ca9e[_0x924ee1(0x1c2)](patchWebDriverBefore,_0x324e89);})(),PerformanceTester[_0xc62cc9(0x17c)](PerformanceEvents[_0xc62cc9(0x1c0)],()=>{const _0x257647=_0xc62cc9,_0x5e93b4={};_0x5e93b4['loqUS']=_0x13ca9e[_0x257647(0x138)],_0x5e93b4[_0x257647(0x1dd)]=_0x13ca9e[_0x257647(0x14e)];const _0x1188cb=_0x5e93b4;_0x324e89[_0x257647(0x1cb)]=async()=>{const _0x413e60=_0x257647;if(global[_0x413e60(0x1ca)]){const _0x247322={};_0x247322[_0x413e60(0x12e)]=_0x13ca9e[_0x413e60(0x1c4)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x413e60(0x148)],async()=>{const _0xd10e00=_0x413e60;await AccessibilityHelper[_0xd10e00(0x161)](_0x324e89,scripts[_0xd10e00(0x15f)]);},_0x247322)(),await PerformanceTester[_0x413e60(0x17c)](PerformanceA11yEvents[_0x413e60(0x18d)],async()=>{const _0xdf4c92=_0x413e60;await AccessibilityHelper[_0xdf4c92(0x161)](_0x324e89,scripts[_0xdf4c92(0x155)]);})();}else return logger[_0x413e60(0x178)](_0x13ca9e[_0x413e60(0x191)]),{};},_0x324e89[_0x257647(0x13d)]=async()=>{const _0xb0124c=_0x257647;if(global[_0xb0124c(0x1ca)]){const _0x1410a3={};_0x1410a3[_0xb0124c(0x12e)]=_0x1188cb[_0xb0124c(0x1c9)],await PerformanceTester[_0xb0124c(0x17c)](PerformanceA11yEvents[_0xb0124c(0x148)],async()=>{const _0x44010f=_0xb0124c;await AccessibilityHelper[_0x44010f(0x161)](_0x324e89,scripts[_0x44010f(0x15f)]);},_0x1410a3)(),await PerformanceTester[_0xb0124c(0x17c)](PerformanceA11yEvents[_0xb0124c(0x197)],async()=>{const _0x4a685d=_0xb0124c;await AccessibilityHelper[_0x4a685d(0x161)](_0x324e89,scripts[_0x4a685d(0x193)]);})();}else return logger[_0xb0124c(0x178)](_0x1188cb[_0xb0124c(0x1dd)]),{};},_0x13ca9e[_0x257647(0x1c2)](patchSaveScreenshot,_0x324e89);})()),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1aa)]['before'],()=>{const _0x155b7f=_0xc62cc9;PerformanceTester['start'](PerformanceEvents[_0x155b7f(0x16a)]);try{_0x13dba3[_0x155b7f(0x17f)](),testOpsHelper[_0x155b7f(0x15e)](),PerformanceTester[_0x155b7f(0x151)](PerformanceEvents[_0x155b7f(0x16a)]);}catch(_0x3a3b95){PerformanceTester[_0x155b7f(0x141)](_0x3a3b95),PerformanceTester[_0x155b7f(0x151)](PerformanceEvents[_0x155b7f(0x16a)],![],_0x3a3b95);}}),CodeceptJS[_0xc62cc9(0x1d5)]['dispatcher']['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1aa)][_0xc62cc9(0x149)],async()=>{const _0x512ec1=_0xc62cc9;PerformanceTester['start'](PerformanceEvents[_0x512ec1(0x19c)]);try{requestSpy[_0x512ec1(0x19d)](),await _0x13dba3[_0x512ec1(0x181)](),PerformanceTester[_0x512ec1(0x151)](PerformanceEvents[_0x512ec1(0x19c)]);}catch(_0x313627){PerformanceTester[_0x512ec1(0x141)](_0x313627),PerformanceTester[_0x512ec1(0x151)](PerformanceEvents[_0x512ec1(0x19c)],![],_0x313627);}finally{PerformanceTester[_0x512ec1(0x1bd)]();}}),CodeceptJS[_0xc62cc9(0x1d5)]['dispatcher']['on'](CodeceptJS['event'][_0xc62cc9(0x16b)][_0xc62cc9(0x1cc)],_0x54011e=>{const _0x505e57=_0xc62cc9;PerformanceTester[_0x505e57(0x17f)](PerformanceEvents[_0x505e57(0x137)]);try{const _0x35fab6=_0x54011e[_0x505e57(0x1b9)][_0x505e57(0x1df)],_0x103ea4=_0x13dba3['captureEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x35fab6);CodeceptRecorder[_0x505e57(0x130)](()=>_0x13dba3[_0x505e57(0x17e)](TEST_EVENTS[_0x505e57(0x163)],_0x103ea4));const _0x3e2527={};_0x3e2527['hookType']=_0x13ca9e[_0x505e57(0x157)],PerformanceTester[_0x505e57(0x151)](PerformanceEvents[_0x505e57(0x137)],!![],null,_0x3e2527);}catch(_0x18e6d4){const _0xb3c5c0={};_0xb3c5c0[_0x505e57(0x124)]=_0x13ca9e[_0x505e57(0x157)],PerformanceTester['end'](PerformanceEvents[_0x505e57(0x137)],![],_0x18e6d4,_0xb3c5c0),PerformanceTester['captureError'](_0x18e6d4);}}),CodeceptJS[_0xc62cc9(0x1d5)]['dispatcher']['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x16b)][_0xc62cc9(0x199)],_0x4c5c70=>{const _0xd9c363=_0xc62cc9,_0x539b46={};_0x539b46['hookType']=_0x13ca9e[_0xd9c363(0x1ab)],PerformanceTester[_0xd9c363(0x17f)](PerformanceHookEvents[_0xd9c363(0x137)],!![],null,_0x539b46);try{const _0x553115=_0x4c5c70['ctx'][_0xd9c363(0x1df)],_0x518047=_0x13dba3['captureEvent'](TEST_EVENTS[_0xd9c363(0x15c)],_0x553115);CodeceptRecorder[_0xd9c363(0x130)](()=>_0x13dba3[_0xd9c363(0x17e)](TEST_EVENTS[_0xd9c363(0x15c)],_0x518047));const _0x271eba={};_0x271eba['hookType']=_0x13ca9e[_0xd9c363(0x1ab)],PerformanceTester['end'](PerformanceHookEvents[_0xd9c363(0x137)],!![],null,_0x271eba);}catch(_0x31341e){PerformanceTester[_0xd9c363(0x141)](_0x31341e);const _0x21f98a={};_0x21f98a[_0xd9c363(0x124)]=_0x13ca9e[_0xd9c363(0x1ab)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x31341e,_0x21f98a);}}),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x16b)][_0xc62cc9(0x160)],async(_0x58605e,_0x5cf027)=>{const _0x19a9de=_0xc62cc9;PerformanceTester[_0x19a9de(0x17f)](PerformanceHookEvents[_0x19a9de(0x137)]);try{const _0x1af1b2=_0x58605e[_0x19a9de(0x1b9)]['test'],_0xf4050a=_0x13dba3[_0x19a9de(0x190)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x1af1b2,_0x5cf027);CodeceptRecorder[_0x19a9de(0x130)](()=>_0x13dba3[_0x19a9de(0x17e)](TEST_EVENTS[_0x19a9de(0x15c)],_0xf4050a));const _0x2e4a98={};_0x2e4a98[_0x19a9de(0x124)]=_0x13ca9e['dlEsw'],PerformanceTester[_0x19a9de(0x17f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2e4a98);}catch(_0x1678f4){PerformanceTester[_0x19a9de(0x141)](_0x1678f4);const _0x5ceb97={};_0x5ceb97[_0x19a9de(0x124)]=_0x13ca9e[_0x19a9de(0x1c1)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x1678f4,_0x5ceb97);}const _0x4cbb6b={};_0x4cbb6b[_0x19a9de(0x124)]=_0x13ca9e[_0x19a9de(0x1c1)],PerformanceTester['end'](PerformanceHookEvents[_0x19a9de(0x137)],!![],null,_0x4cbb6b);}),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS['event'][_0xc62cc9(0x1df)][_0xc62cc9(0x179)],_0xa6bf38=>{const _0x1e4c77=_0xc62cc9;PerformanceTester[_0x1e4c77(0x17f)](PerformanceHookEvents[_0x1e4c77(0x137)]);try{globals['setGlobal'](_0x13ca9e[_0x1e4c77(0x1d4)],_0xa6bf38['title']);_0x13ca9e[_0x1e4c77(0x147)](isBrowserstackInfra)&&(_0x10b4f0&&(global[_0x1e4c77(0x12a)]={'currentTest':{'name':_0xa6bf38[_0x1e4c77(0x1d9)],'testInfo':{'titlePath':_0xa6bf38[_0x1e4c77(0x185)]()}}}));const _0x54354c={};_0x54354c['hookType']=_0x13ca9e[_0x1e4c77(0x1db)],PerformanceTester['end'](PerformanceHookEvents[_0x1e4c77(0x137)],!![],null,_0x54354c);}catch(_0x43cb5e){PerformanceTester[_0x1e4c77(0x141)](_0x43cb5e);const _0x1a22ff={};_0x1a22ff[_0x1e4c77(0x124)]=_0x13ca9e[_0x1e4c77(0x1db)],PerformanceTester[_0x1e4c77(0x151)](PerformanceHookEvents[_0x1e4c77(0x137)],![],_0x43cb5e,_0x1a22ff);}}),CodeceptJS['event'][_0xc62cc9(0x1cd)]['on'](CodeceptJS['event'][_0xc62cc9(0x1df)][_0xc62cc9(0x1cc)],_0x403d07=>{const _0x4c63f3=_0xc62cc9,_0x4ea8c6={'KMBZK':function(_0x30db35){const _0x3230fe=a1_0xf92a;return _0x13ca9e[_0x3230fe(0x147)](_0x30db35);},'EfMAP':function(_0x5f06d4,_0x1d9bbb){const _0x452c4b=a1_0xf92a;return _0x13ca9e[_0x452c4b(0x1c2)](_0x5f06d4,_0x1d9bbb);},'lSObs':function(_0x54534e,_0x1dd6e5,_0x150c2d){const _0x4533c2=a1_0xf92a;return _0x13ca9e[_0x4533c2(0x18b)](_0x54534e,_0x1dd6e5,_0x150c2d);},'EZHcs':function(_0x46c15b,_0x26fd7b){const _0x180818=a1_0xf92a;return _0x13ca9e[_0x180818(0x1c2)](_0x46c15b,_0x26fd7b);}};PerformanceTester[_0x4c63f3(0x17f)](PerformanceHookEvents[_0x4c63f3(0x137)]);try{globals['setGlobal'](_0x13ca9e[_0x4c63f3(0x1d4)],_0x403d07[_0x4c63f3(0x1d9)]);const _0x3cf09b=_0x13dba3[_0x4c63f3(0x190)](TEST_EVENTS[_0x4c63f3(0x1b1)],_0x403d07);CodeceptRecorder[_0x4c63f3(0x130)](()=>_0x13dba3[_0x4c63f3(0x17e)](TEST_EVENTS[_0x4c63f3(0x1b1)],_0x3cf09b)),CodeceptRecorder[_0x4c63f3(0x130)](async()=>{const _0x7e8d65=_0x4c63f3;_0x4ea8c6[_0x7e8d65(0x1ae)](isBrowserstackInfra)&&(!_0x4ea8c6[_0x7e8d65(0x175)](isTrue,_0x2e1caf[_0x7e8d65(0x150)])&&await _0x4ea8c6[_0x7e8d65(0x184)](markSessionName,_0x324e89,_0x403d07[_0x7e8d65(0x1d9)]),_0x13dba3[_0x7e8d65(0x18e)]&&await _0x4ea8c6[_0x7e8d65(0x1b7)](o11ySync,_0x324e89));});}catch(_0x1aa24d){const _0x371c56={};_0x371c56[_0x4c63f3(0x124)]=_0x13ca9e[_0x4c63f3(0x168)],PerformanceTester['end'](PerformanceHookEvents[_0x4c63f3(0x137)],![],_0x1aa24d,_0x371c56),PerformanceTester[_0x4c63f3(0x141)](_0x1aa24d);}const _0x9a615={};_0x9a615[_0x4c63f3(0x124)]=_0x13ca9e[_0x4c63f3(0x168)],PerformanceTester['end'](PerformanceHookEvents[_0x4c63f3(0x137)],!![],null,_0x9a615);}),CodeceptJS[_0xc62cc9(0x1d5)]['dispatcher']['on'](CodeceptJS[_0xc62cc9(0x1d5)]['test'][_0xc62cc9(0x199)],_0x4a1489=>{const _0x5e7609=_0xc62cc9,_0x267c4c={'ClKJx':function(_0x1ed8e8,_0x4aa13e,_0x124a8f){const _0x296ea4=a1_0xf92a;return _0x13ca9e[_0x296ea4(0x18b)](_0x1ed8e8,_0x4aa13e,_0x124a8f);},'fAMKM':function(_0x52abd8,_0x187a94,_0x597207){return _0x13ca9e['ukqwf'](_0x52abd8,_0x187a94,_0x597207);}};PerformanceTester[_0x5e7609(0x17f)](PerformanceHookEvents[_0x5e7609(0x137)]);try{const _0x3fdaad=_0x13dba3[_0x5e7609(0x190)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4a1489);CodeceptRecorder[_0x5e7609(0x130)](()=>_0x13dba3[_0x5e7609(0x17e)](TEST_EVENTS[_0x5e7609(0x134)],_0x3fdaad)),CodeceptRecorder[_0x5e7609(0x130)](async()=>{const _0x2d722b=_0x5e7609;_0x13ca9e['oxYIn'](isBrowserstackInfra)&&await PerformanceTester[_0x2d722b(0x17c)](PerformanceAutEvents[_0x2d722b(0x1af)],async()=>{const _0x38d534=_0x2d722b;_0x10b4f0?await _0x267c4c[_0x38d534(0x1ad)](playwrightMarkSessionStatus,_0x324e89,STATE_PASSED):await _0x267c4c[_0x38d534(0x11d)](markSessionStatus,_0x324e89,STATE_PASSED);})();}),PerformanceTester[_0x5e7609(0x151)](PerformanceEvents[_0x5e7609(0x182)]);}catch(_0x32d469){PerformanceTester[_0x5e7609(0x141)](_0x32d469);const _0x38db22={};_0x38db22[_0x5e7609(0x124)]=_0x13ca9e[_0x5e7609(0x1b2)],PerformanceTester[_0x5e7609(0x151)](PerformanceHookEvents['SDK_HOOK'],![],_0x32d469,_0x38db22),PerformanceTester[_0x5e7609(0x151)](PerformanceEvents['SDK_TEST'],![],_0x32d469);}const _0x1eba25={};_0x1eba25[_0x5e7609(0x124)]=_0x13ca9e[_0x5e7609(0x1b2)],PerformanceTester['end'](PerformanceHookEvents[_0x5e7609(0x137)],!![],null,_0x1eba25);}),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS['event'][_0xc62cc9(0x1df)][_0xc62cc9(0x160)],(_0x32360b,_0x3d8636)=>{const _0x3b081e=_0xc62cc9,_0x419a6a={'qowmJ':function(_0x3476f6){return _0x13ca9e['wwfIB'](_0x3476f6);},'fHUER':function(_0x270d5c,_0x52da1a,_0x372333,_0x27d67f){return _0x13ca9e['sDRLc'](_0x270d5c,_0x52da1a,_0x372333,_0x27d67f);},'Viinz':function(_0x522c3f,_0x5193a8,_0x19c181,_0x10157d){return _0x13ca9e['sDRLc'](_0x522c3f,_0x5193a8,_0x19c181,_0x10157d);}};PerformanceTester[_0x3b081e(0x17f)](PerformanceHookEvents[_0x3b081e(0x137)]);try{if(_0x13ca9e['SgQou'](_0x32360b[_0x3b081e(0x1d7)][_0x3b081e(0x133)],_0x13ca9e[_0x3b081e(0x173)])){const _0x288a49=_0x13dba3[_0x3b081e(0x190)](TEST_EVENTS[_0x3b081e(0x166)],_0x32360b[_0x3b081e(0x1b9)]['currentTest']);CodeceptRecorder[_0x3b081e(0x130)](()=>_0x13dba3[_0x3b081e(0x17e)](TEST_EVENTS[_0x3b081e(0x166)],_0x288a49));}else{const _0x42cd19=_0x13dba3['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x32360b,_0x3d8636);CodeceptRecorder[_0x3b081e(0x130)](()=>{const _0x4952cd=_0x3b081e;try{_0x13dba3[_0x4952cd(0x17e)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x42cd19);}catch(_0x1c602b){logger[_0x4952cd(0x122)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x4952cd(0x1a4)](_0x1c602b)),PerformanceTester[_0x4952cd(0x151)](PerformanceEvents[_0x4952cd(0x182)],![],_0x1c602b);}}),CodeceptRecorder[_0x3b081e(0x130)](async()=>{const _0x2d6e12=_0x3b081e;try{_0x419a6a[_0x2d6e12(0x113)](isBrowserstackInfra)&&(_0x10b4f0?await _0x419a6a[_0x2d6e12(0x115)](playwrightMarkSessionStatus,_0x324e89,STATE_FAILED,_0x3d8636):await _0x419a6a[_0x2d6e12(0x1e4)](markSessionStatus,_0x324e89,STATE_FAILED,_0x3d8636));}catch(_0x42b6ef){logger['debug'](_0x2d6e12(0x19e)+util[_0x2d6e12(0x1a4)](_0x42b6ef)),PerformanceTester[_0x2d6e12(0x151)](PerformanceEvents[_0x2d6e12(0x182)],![],_0x42b6ef);}});}PerformanceTester[_0x3b081e(0x151)](PerformanceEvents[_0x3b081e(0x182)]);}catch(_0x52495e){PerformanceTester[_0x3b081e(0x141)](_0x52495e);const _0xe1b5bf={};_0xe1b5bf[_0x3b081e(0x124)]=_0x13ca9e[_0x3b081e(0x12b)],PerformanceTester['end'](PerformanceHookEvents[_0x3b081e(0x137)],![],_0x52495e,_0xe1b5bf),PerformanceTester[_0x3b081e(0x151)](PerformanceEvents[_0x3b081e(0x182)],![],_0x52495e);}const _0x2d27b6={};_0x2d27b6[_0x3b081e(0x124)]=_0x13ca9e[_0x3b081e(0x12b)],PerformanceTester[_0x3b081e(0x151)](PerformanceHookEvents[_0x3b081e(0x137)],!![],null,_0x2d27b6);}),CodeceptJS['event'][_0xc62cc9(0x1cd)]['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1df)][_0xc62cc9(0x18c)],_0x277f9a=>{const _0x4d1a16=_0xc62cc9;PerformanceTester[_0x4d1a16(0x17f)](PerformanceHookEvents[_0x4d1a16(0x137)]);try{const _0x4c4fea=_0x13dba3[_0x4d1a16(0x190)](TEST_EVENTS[_0x4d1a16(0x166)],_0x277f9a);CodeceptRecorder['add'](()=>_0x13dba3[_0x4d1a16(0x17e)](TEST_EVENTS[_0x4d1a16(0x166)],_0x4c4fea)),PerformanceTester[_0x4d1a16(0x151)](PerformanceEvents[_0x4d1a16(0x182)]);}catch(_0x16a28b){PerformanceTester[_0x4d1a16(0x141)](_0x16a28b),PerformanceTester[_0x4d1a16(0x151)](PerformanceEvents[_0x4d1a16(0x182)],![],_0x16a28b);const _0x30a79b={};_0x30a79b[_0x4d1a16(0x124)]=_0x13ca9e[_0x4d1a16(0x128)],PerformanceTester[_0x4d1a16(0x151)](PerformanceHookEvents[_0x4d1a16(0x137)],![],_0x16a28b,_0x30a79b);}const _0x37eea2={};_0x37eea2[_0x4d1a16(0x124)]=_0x13ca9e[_0x4d1a16(0x128)],PerformanceTester[_0x4d1a16(0x151)](PerformanceHookEvents[_0x4d1a16(0x137)],!![],null,_0x37eea2);}),CodeceptJS[_0xc62cc9(0x1d5)]['dispatcher']['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1df)][_0xc62cc9(0x149)],async(_0x5e256d,_0x5f2402)=>{const _0x2299e8=_0xc62cc9,_0x3a3ff2={};_0x3a3ff2[_0x2299e8(0x196)]=_0x13ca9e[_0x2299e8(0x1a8)];const _0x16466e=_0x3a3ff2;try{PerformanceTester[_0x2299e8(0x17f)](PerformanceHookEvents[_0x2299e8(0x137)]);if(_0x13ca9e[_0x2299e8(0x147)](isBrowserstackInfra)){const _0x1b1289=_0x13ca9e['Vlqzm'](shouldScanTestForAccessibility,_0x5e256d[_0x2299e8(0x185)](),!![]);if(_0x13ca9e[_0x2299e8(0x147)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x1b1289){const _0x25e09f={};_0x25e09f['thTestRunUuid']=_0x5e256d[_0x2299e8(0x183)],_0x25e09f[_0x2299e8(0x1c5)]=process[_0x2299e8(0x136)][testHubConstants['ENV_VAR'][_0x2299e8(0x1d0)]],_0x25e09f[_0x2299e8(0x1be)]=process['env'][testHubConstants['ENV_VAR'][_0x2299e8(0x1ac)]];const _0x14fddc=_0x25e09f;logger[_0x2299e8(0x122)](_0x2299e8(0x165)+JSON[_0x2299e8(0x119)](_0x14fddc)),CodeceptRecorder['add'](async()=>{const _0x4b0096=_0x2299e8,_0x383450={};_0x383450[_0x4b0096(0x12e)]=_0x16466e[_0x4b0096(0x196)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4b0096(0x148)],async()=>{const _0x5620fa=_0x4b0096;await AccessibilityHelper[_0x5620fa(0x161)](_0x324e89,scripts[_0x5620fa(0x15f)]);},_0x383450)(),await PerformanceTester[_0x4b0096(0x17c)](PerformanceA11yEvents[_0x4b0096(0x164)],async()=>{const _0x233b95=_0x4b0096;await AccessibilityHelper[_0x233b95(0x161)](_0x324e89,scripts[_0x233b95(0x1de)],_0x14fddc);})();}),logger[_0x2299e8(0x1e3)](_0x13ca9e[_0x2299e8(0x195)]);}}const _0x56baa5={};_0x56baa5[_0x2299e8(0x124)]=_0x13ca9e['KNYmf'],PerformanceTester[_0x2299e8(0x151)](PerformanceHookEvents[_0x2299e8(0x137)],!![],null,_0x56baa5);}catch(_0x2cd6fa){PerformanceTester[_0x2299e8(0x141)](_0x2cd6fa);const _0x316397={};_0x316397['hookType']=_0x13ca9e['KNYmf'],PerformanceTester[_0x2299e8(0x151)](PerformanceHookEvents[_0x2299e8(0x137)],![],_0x2cd6fa,_0x316397);}}),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1a6)][_0xc62cc9(0x126)],_0x25b351=>{const _0x347b20=_0xc62cc9;PerformanceTester['start'](PerformanceHookEvents[_0x347b20(0x137)]);try{process[_0x347b20(0x1e0)](_0x347b20(0x11f)+process[_0x347b20(0x125)],{'timestamp':new Date()[_0x347b20(0x1e2)](),'level':_0x13ca9e['AdHpT'],'message':_0x25b351,'kind':_0x13ca9e[_0x347b20(0x123)],'http_response':{}});}catch(_0x1c6757){PerformanceTester['captureError'](_0x1c6757);const _0x180c17={};_0x180c17[_0x347b20(0x124)]=_0x13ca9e[_0x347b20(0x174)],PerformanceTester[_0x347b20(0x151)](PerformanceHookEvents[_0x347b20(0x137)],![],_0x1c6757,_0x180c17);}const _0x3cedbf={};_0x3cedbf['hookType']=_0x13ca9e['PjRto'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3cedbf);}),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS[_0xc62cc9(0x1d5)]['bddStep']['before'],_0x2bfe80=>{const _0x552ac4=_0xc62cc9,_0x5efa4e={};_0x5efa4e[_0x552ac4(0x124)]=_0x13ca9e[_0x552ac4(0x1a5)],PerformanceTester[_0x552ac4(0x17c)](PerformanceHookEvents[_0x552ac4(0x137)],()=>{const _0x2af31e=_0x552ac4;_0x13dba3[_0x2af31e(0x180)](_0x2bfe80);},_0x5efa4e)();}),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x16c)][_0xc62cc9(0x149)],_0x4eb935=>{const _0x4fbe43=_0xc62cc9,_0x4253fc={};_0x4253fc['hookType']=_0x13ca9e[_0x4fbe43(0x131)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x4fbe43(0x137)],()=>{_0x13dba3['bddStepFinish'](_0x4eb935);},_0x4253fc)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a2_0xc0e3(_0x4b63d3,_0x57df6b){const _0x6c5b60=a2_0x6c5b();return a2_0xc0e3=function(_0xc0e3e8,_0x330ee5){_0xc0e3e8=_0xc0e3e8-0xe7;let _0x570e2d=_0x6c5b60[_0xc0e3e8];return _0x570e2d;},a2_0xc0e3(_0x4b63d3,_0x57df6b);}const a2_0x5888f7=a2_0xc0e3;function a2_0x6c5b(){const _0x5b7d96=['DZxUk','webkit','finalExecution','../../helpers/test-observability/constants','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','Playwright','XtLXw','skipSessionName','eElGp','config','cwd','dirname','useW3C','browserWSEndpoint','printResults','uoSdp','DCWRL','BROWSERSTACK_RERUN','start','2426766ucwDJE','getPlatformName','before','BYBtu','enabled','exports','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','12362230OhPiED','winstonLogger','isTrue','36431780tgQxTB','result','length','info','existsSync','run','event','LkAzU','--config','teardownAll','hveuQ','testObservability','plugins','toLowerCase','mOiqc','playwright-webkit','../../helpers/utilities','isEmpty','1509ZMBXbG','forEach','trim','HPrLW','isTestObservabilitySession','USER_CONFIG_DETAILS_PATH','profile','2894895jjdzak','getPlaywrightUrl','testContextOptions','launchBuild','SDK_SETUP','skipSessionStatus','handleApp','frameworkName','path','SDK_CLEANUP','codecept.conf.js','jskhh','stack','helpers','fYBlf','setAdditionalCapabilities','browserStackCwd','pswXq','stringify','../../helpers/BrowserStackSetup','15jUeovz','accessibility','chdir','playwright-chromium','1582lrAQid','firefox','codeceptjs','jhaYu','test','all','FRAMEWORKS','accessibilityOptions','../../helpers/performance/constants','chromium','../../helpers/test-observability/utils','Failed\x20:\x20','findIndex','spawn','../../helpers/accessibility-automation/helper','debug','CODECEPT_CUCUMBER','3011784XGHmjV','vrjyD','push','browser','addConfig','load','GpnlC','passed','prepareCapabilities','slice','addTests','createGroupsOfSuites','bootstrapAll','map','root','9bhaMTP','failed','chrome','nQIRb','process','parallelsPerPlatform','env','title','validateRerunTestList','BrowserStackPlugin.js','codeceptjs/lib/index.js','join','cTysY','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/testhub/testhubHandler','../../helpers/logger','stop','BROWSERSTACK_RERUN_TESTS','errorMessage','browserName','testConfig','7uldSxW','format','printBuildLink','DDZjb','../../helpers/helper','IOdkR','KjrZR','CODECEPT','iURyt','mergeDeep','addOptions','desiredCapabilities','log','579160pkyDrL','hKxcW','isUndefined','NqUDB','gherkin','codecept.json'];a2_0x6c5b=function(){return _0x5b7d96;};return a2_0x6c5b();}(function(_0x476651,_0x23005c){const _0x5d9124=a2_0xc0e3,_0x4ef347=_0x476651();while(!![]){try{const _0xd50a71=-parseInt(_0x5d9124(0x108))/0x1*(parseInt(_0x5d9124(0x127))/0x2)+-parseInt(_0x5d9124(0x10f))/0x3+-parseInt(_0x5d9124(0x169))/0x4+-parseInt(_0x5d9124(0x123))/0x5*(parseInt(_0x5d9124(0xeb))/0x6)+-parseInt(_0x5d9124(0x15c))/0x7*(parseInt(_0x5d9124(0x138))/0x8)+parseInt(_0x5d9124(0x147))/0x9*(parseInt(_0x5d9124(0xf3))/0xa)+parseInt(_0x5d9124(0xf6))/0xb;if(_0xd50a71===_0x23005c)break;else _0x4ef347['push'](_0x4ef347['shift']());}catch(_0x39706c){_0x4ef347['push'](_0x4ef347['shift']());}}}(a2_0x6c5b,0x9fe7d));const fs=require('fs'),path=require(a2_0x5888f7(0x117)),util=require('util'),process=require(a2_0x5888f7(0x14b)),logger=require(a2_0x5888f7(0x156))[a2_0x5888f7(0xf4)],{default:BrowserStackSetup}=require(a2_0x5888f7(0x122)),helper=require(a2_0x5888f7(0x160)),utilities=require(a2_0x5888f7(0x106)),{checkAccessibilityPlatformConfig}=require(a2_0x5888f7(0x135)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x5888f7(0x160)),CodeceptJS=requireModule(a2_0x5888f7(0x151),a2_0x5888f7(0x129)),testOpsHelper=require(a2_0x5888f7(0x131)),TestHubHandler=require(a2_0x5888f7(0x155)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x5888f7(0x172)),PerformanceEvents=require(a2_0x5888f7(0x12f))['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x54e080,_0x13454f)=>{const _0x599c79=a2_0x5888f7,_0x2176e7={};_0x2176e7['IOdkR']=function(_0x3cd8eb,_0x24d5eb){return _0x3cd8eb===_0x24d5eb;},_0x2176e7[_0x599c79(0x16a)]=_0x599c79(0x119),_0x2176e7[_0x599c79(0x11a)]=_0x599c79(0x16e);const _0x137bdb=_0x2176e7;let _0x25f5f9=null;const _0xdd142b={};let _0x231963=_0x13454f[_0x599c79(0x133)](_0xbffdec=>_0xbffdec===_0x599c79(0xfe));_0x137bdb[_0x599c79(0x161)](_0x231963,-0x1)&&(_0x231963=_0x13454f[_0x599c79(0x133)](_0x4b5f81=>_0x4b5f81==='-c'));if(!helper[_0x599c79(0x16b)](_0x54e080[_0x599c79(0x178)])&&fs[_0x599c79(0xfa)](path[_0x599c79(0x152)](process['cwd'](),_0x54e080[_0x599c79(0x178)])))_0x25f5f9=path[_0x599c79(0x152)](process[_0x599c79(0x179)](),_0x54e080[_0x599c79(0x178)]),_0x13454f[_0x599c79(0x141)](_0x231963,0x2);else{if(!helper[_0x599c79(0x16b)](_0x54e080['c'])&&fs[_0x599c79(0xfa)](path[_0x599c79(0x152)](process[_0x599c79(0x179)](),_0x54e080['c'])))_0x25f5f9=path[_0x599c79(0x152)](process[_0x599c79(0x179)](),_0x54e080['c']),_0x13454f[_0x599c79(0x141)](_0x231963,0x2);else{if(fs[_0x599c79(0xfa)](path[_0x599c79(0x152)](process['cwd'](),_0x137bdb[_0x599c79(0x16a)])))_0x25f5f9=path[_0x599c79(0x152)](process[_0x599c79(0x179)](),_0x137bdb[_0x599c79(0x16a)]);else fs[_0x599c79(0xfa)](path['join'](process['cwd'](),_0x137bdb[_0x599c79(0x11a)]))&&(_0x25f5f9=path[_0x599c79(0x152)](process['cwd'](),_0x137bdb[_0x599c79(0x11a)]));}}return process[_0x599c79(0x14d)][_0x599c79(0x10d)]=_0x25f5f9,_0x25f5f9;},getO11yRerunPattern=()=>{const _0x53b560=a2_0x5888f7,_0x41b180=helper[_0x53b560(0xf5)](process[_0x53b560(0x14d)][_0x53b560(0xe9)]);if(_0x41b180){const _0x1e2597=process[_0x53b560(0x14d)][_0x53b560(0x158)],_0x125364=[];if(helper[_0x53b560(0x14f)](_0x1e2597)&&!helper[_0x53b560(0x16b)](_0x1e2597)){_0x1e2597['split'](',')[_0x53b560(0x145)](_0x50d087=>{const _0x2024d5=_0x53b560;_0x125364['push']('('+_0x50d087[_0x2024d5(0x10a)]()+')');});const _0x453988='^'+_0x125364['join']('|')+'$';return _0x453988;}}return null;},a2_0xe44d11={};a2_0xe44d11[a2_0x5888f7(0x149)]=a2_0x5888f7(0x130),a2_0xe44d11[a2_0x5888f7(0x126)]=a2_0x5888f7(0x130),a2_0xe44d11['playwright-firefox']=a2_0x5888f7(0x128),a2_0xe44d11[a2_0x5888f7(0x105)]=a2_0x5888f7(0x170);const pwToCodeceptBrowser=a2_0xe44d11;async function run(_0x33a35d,_0x415c72,_0x133de7){const _0x2c4f93=a2_0x5888f7,_0x27a9b7={'DCWRL':function(_0x4a3c68,_0x3ce7fe){return _0x4a3c68+_0x3ce7fe;},'eElGp':function(_0x2af4db,_0x55d4bc){return _0x2af4db(_0x55d4bc);},'LkAzU':function(_0x3e20d7,_0x497dff,_0x503088){return _0x3e20d7(_0x497dff,_0x503088);},'mOiqc':'helpers','vrjyD':function(_0x1c55ec){return _0x1c55ec();},'HPrLW':function(_0x1f0b5b){return _0x1f0b5b();},'hveuQ':_0x2c4f93(0x132),'fYBlf':'Passed\x20:\x20','lKLUd':'Started\x20:\x20','XtLXw':'3|5|2|4|1|0','DDZjb':function(_0x49eb09,_0x29a02b,_0x313a94){return _0x49eb09(_0x29a02b,_0x313a94);},'eKkik':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','cTysY':function(_0x52c64a,_0x2ec3ba,_0x386e06){return _0x52c64a(_0x2ec3ba,_0x386e06);},'DZxUk':_0x2c4f93(0x174),'nQIRb':'WebDriver','iURyt':function(_0x1bafb5,_0x5f1b6b){return _0x1bafb5(_0x5f1b6b);},'NqUDB':function(_0x3ab88e,_0x5671bf){return _0x3ab88e!=_0x5671bf;},'pswXq':function(_0x52b87f,_0x18d081){return _0x52b87f===_0x18d081;},'uoSdp':_0x2c4f93(0x16d),'GpnlC':function(_0xa8eee9,_0x5458c8){return _0xa8eee9*_0x5458c8;},'yVdXt':'browser','HYYLO':function(_0x168d63,_0x187cfb,_0x1e8eee){return _0x168d63(_0x187cfb,_0x1e8eee);},'PTuOe':_0x2c4f93(0x167),'QUoRv':function(_0x4b7420,_0x4e25e1,_0x490cc5){return _0x4b7420(_0x4e25e1,_0x490cc5);},'KjrZR':_0x2c4f93(0x146),'VWWvJ':_0x2c4f93(0x150),'nTWpt':_0x2c4f93(0x11f)};await _0x133de7['initialize'](_0x33a35d),await helper[_0x2c4f93(0x115)](_0x133de7[_0x2c4f93(0x178)]);if(!_0x133de7['config'])return;process['profile']=_0x33a35d[_0x2c4f93(0x10e)];_0x33a35d[_0x2c4f93(0x10e)]&&(process[_0x2c4f93(0x14d)][_0x2c4f93(0x10e)]=_0x33a35d[_0x2c4f93(0x10e)]);const _0x5ac43a=_0x27a9b7['DDZjb'](getUserCodeceptJSConfigs,_0x33a35d,_0x415c72);let _0x257a03={};_0x5ac43a?(logger[_0x2c4f93(0xf9)](_0x2c4f93(0xf1)+_0x5ac43a),_0x257a03=CodeceptJS[_0x2c4f93(0x178)][_0x2c4f93(0x13d)](_0x5ac43a)):logger['info'](_0x27a9b7['eKkik']);let _0x3f62d1=![];_0x27a9b7[_0x2c4f93(0x153)](nestedKeyValue,_0x257a03,[_0x27a9b7[_0x2c4f93(0x104)],_0x27a9b7[_0x2c4f93(0x16f)]])&&(_0x3f62d1=!![]);const _0x24a7eb=_0x3f62d1?_0x27a9b7[_0x2c4f93(0x16f)]:_0x27a9b7[_0x2c4f93(0x14a)];let _0x5d34ce=!_0x3f62d1?helper[_0x2c4f93(0x17b)](_0x133de7[_0x2c4f93(0x178)]):![];!helper[_0x2c4f93(0x16b)](_0x133de7[_0x2c4f93(0x178)][_0x2c4f93(0x12e)])&&(process[_0x2c4f93(0x14d)][_0x2c4f93(0x154)]=JSON[_0x2c4f93(0x121)](_0x133de7[_0x2c4f93(0x178)]['accessibilityOptions']));let _0x2b554a=_0x133de7[_0x2c4f93(0x178)][_0x2c4f93(0x124)];_0x2b554a=_0x2b554a||_0x27a9b7['iURyt'](checkAccessibilityPlatformConfig,_0x133de7['config']),process[_0x2c4f93(0x14d)][_0x2c4f93(0xf2)]=_0x2b554a;_0x2b554a&&(_0x5d34ce=!_0x2b554a);_0x27a9b7[_0x2c4f93(0x16c)](_0x133de7['config'][_0x2c4f93(0x101)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x133de7[_0x2c4f93(0x178)][_0x2c4f93(0x101)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x27a9b7[_0x2c4f93(0x120)](_0x24a7eb,_0x27a9b7[_0x2c4f93(0x16f)]);const _0x18f901=_0x27a9b7[_0x2c4f93(0xfd)](nestedKeyValue,_0x257a03,[_0x27a9b7[_0x2c4f93(0xe7)]]),_0x5dacd0=_0x18f901&&!helper[_0x2c4f93(0x107)](_0x18f901)?FRAMEWORKS[_0x2c4f93(0x137)]:FRAMEWORKS[_0x2c4f93(0x163)],_0x3851ac=await TestHubHandler[_0x2c4f93(0x112)](_0x5dacd0,_0x133de7);_0x2b554a&&_0x27a9b7[_0x2c4f93(0x164)](setAccessibilityCapabilities,_0x133de7[_0x2c4f93(0x178)]);const _0xc49616={},_0x5cd7c8=[],_0x5b9c11=_0x133de7[_0x2c4f93(0x178)][_0x2c4f93(0x14c)]||helper['getUserWorkerCount'](_0x33a35d,_0x415c72,_0x133de7['config'],constants[_0x2c4f93(0x12d)][_0x2c4f93(0x163)])||0x1;let _0x4f46b4=0x1;if(_0x27a9b7['HPrLW'](isBrowserstackInfra)){const _0x1d250d=helper[_0x2c4f93(0x140)](_0x133de7[_0x2c4f93(0x178)],_0x5d34ce,constants['FRAMEWORKS'][_0x2c4f93(0x163)]);_0x1d250d[_0x2c4f93(0x109)](_0x531a7c=>{const _0x3d4aff=_0x2c4f93;helper[_0x3d4aff(0x11e)](_0x531a7c);}),helper['validPlatformsPresent'](_0x133de7[_0x2c4f93(0x178)])?_0x4f46b4=_0x27a9b7[_0x2c4f93(0x13e)](_0x5b9c11,_0x133de7[_0x2c4f93(0x178)]['platforms'][_0x2c4f93(0xf8)]):_0x4f46b4=_0x5b9c11,_0x1d250d[_0x2c4f93(0x109)](_0x3520c0=>{const _0x317e96=_0x2c4f93,_0x439ec3={'BYBtu':function(_0x472c75,_0x1003c9){const _0x4ab0e1=a2_0xc0e3;return _0x27a9b7[_0x4ab0e1(0xe8)](_0x472c75,_0x1003c9);},'jhaYu':function(_0x2c8cb0,_0x323e23){const _0x8e94a6=a2_0xc0e3;return _0x27a9b7[_0x8e94a6(0x177)](_0x2c8cb0,_0x323e23);}},_0x6dd636=_0x27a9b7[_0x317e96(0xe8)](helper[_0x317e96(0xec)](_0x3520c0,'_'),'_'+Date['now']()),_0x234cb1=((()=>{const _0xa52017=_0x317e96;if(_0x3f62d1){const _0x1e570b=pwToCodeceptBrowser[_0x3520c0[_0xa52017(0x15a)]]||_0x3520c0[_0xa52017(0x15a)];return{'browser':_0x1e570b,[_0x1e570b]:{'browserWSEndpoint':_0x439ec3[_0xa52017(0xee)](helper[_0xa52017(0x110)](_0x133de7[_0xa52017(0x178)]),_0x439ec3[_0xa52017(0x12a)](encodeURIComponent,JSON[_0xa52017(0x121)](_0x3520c0)))}};}const _0x59b1b5={};return _0x59b1b5[_0xa52017(0x167)]=_0x3520c0,_0x59b1b5;})()),_0x19467b=_0x27a9b7[_0x317e96(0xfd)](nestedKeyValue,_0x257a03,[_0x27a9b7[_0x317e96(0x104)],_0x24a7eb]);_0xc49616[_0x6dd636]=_0x19467b?helper[_0x317e96(0x165)](_0x234cb1,_0x19467b):_0x234cb1,!_0x3f62d1&&(_0xc49616[_0x6dd636][_0x317e96(0x13b)]=_0x3520c0[_0x317e96(0x15a)]||_0x234cb1[_0x317e96(0x13b)]),_0x5cd7c8[_0x317e96(0x13a)](_0x6dd636);});}else{_0x4f46b4=0x1;if(_0x3f62d1){const _0x47788c=_0x27a9b7[_0x2c4f93(0x15f)](nestedKeyValue,_0x257a03,[_0x27a9b7['mOiqc'],_0x24a7eb,_0x27a9b7['yVdXt']]),_0x72bc20=_0x27a9b7['HYYLO'](nestedKeyValue,_0x257a03,[_0x27a9b7[_0x2c4f93(0x104)],_0x24a7eb,_0x47788c]);_0x72bc20&&_0x72bc20[_0x2c4f93(0x17c)]&&(_0x72bc20['browserWSEndpoint']=helper[_0x2c4f93(0x140)](null,null,_0x5dacd0[_0x2c4f93(0x103)](),null,null,_0x72bc20[_0x2c4f93(0x17c)]));}else _0x257a03[_0x27a9b7['mOiqc']][_0x24a7eb][_0x27a9b7['PTuOe']]=helper[_0x2c4f93(0x140)](null,null,_0x5dacd0[_0x2c4f93(0x103)](),_0x27a9b7['QUoRv'](nestedKeyValue,_0x257a03,[_0x27a9b7['mOiqc'],_0x24a7eb,_0x27a9b7['PTuOe']]),null,null);_0xc49616[_0x27a9b7['KjrZR']]=_0x257a03,_0x5cd7c8['push'](_0x27a9b7[_0x2c4f93(0x162)]);}const _0x4c9ca3={};_0x4c9ca3[_0x2c4f93(0x15b)]=_0x5ac43a;const _0x5b55f8=_0x4c9ca3,_0x40821f=path['join'](__dirname,_0x27a9b7['VWWvJ']),_0x511736=process[_0x2c4f93(0x179)]();process[_0x2c4f93(0x14d)][_0x27a9b7['nTWpt']]=_0x511736,process[_0x2c4f93(0x125)](path[_0x2c4f93(0x17a)](_0x5ac43a));const _0x50e63f=new CodeceptJS['Workers'](null,_0x5b55f8),_0x623165=_0x50e63f[_0x2c4f93(0x143)](_0x4f46b4),_0x4eda76=testOpsHelper[_0x2c4f93(0x10c)](),_0x23a533=_0x5cd7c8[_0x2c4f93(0x145)](_0x2b495e=>{const _0x27ba90=_0x2c4f93,_0xa613c={};_0xa613c[_0x27ba90(0x174)]=_0xc49616[_0x2b495e];const _0x733c={};_0x733c['WebDriver']=_0xc49616[_0x2b495e];const _0x49d09e=_0x3f62d1?_0xa613c:_0x733c,_0x2ec371=_0x27a9b7[_0x27ba90(0x139)](getO11yRerunPattern),_0x4a6b2f={};_0x4a6b2f[_0x27ba90(0x11c)]=_0x49d09e;const _0x2697b9={};_0x2697b9['require']=_0x40821f,_0x2697b9[_0x27ba90(0xef)]=!![],_0x2697b9[_0x27ba90(0x176)]=_0x133de7[_0x27ba90(0x178)][_0x27ba90(0x111)]['skipSessionName'],_0x2697b9['skipSessionStatus']=_0x133de7['config'][_0x27ba90(0x111)][_0x27ba90(0x114)],_0x2697b9[_0x27ba90(0x101)]=_0x4eda76,_0x2697b9[_0x27ba90(0x116)]=_0x5dacd0;const _0x5e9134={};_0x5e9134['BrowserStackPlugin']=_0x2697b9;const _0x26e10e={};return _0x26e10e[_0x27ba90(0x102)]=_0x5e9134,helper['mergeDeep']({},_0x257a03,_0x27a9b7['HPrLW'](isBrowserstackInfra)?_0x4a6b2f:{},_0x2ec371?{'grep':_0x2ec371}:{},_0x26e10e);});for(const _0x3464c9 of _0x23a533){for(const _0x1e6c6d of _0x623165){const _0x2cec8f=_0x50e63f[_0x2c4f93(0x134)]();_0x2cec8f[_0x2c4f93(0x142)](_0x1e6c6d),_0x2cec8f[_0x2c4f93(0x13c)](_0x3464c9);const _0x4b217d={};_0x4b217d[_0x2c4f93(0x178)]=_0x5ac43a,_0x2cec8f[_0x2c4f93(0x166)](_0x4b217d);}}_0x50e63f['on'](CodeceptJS[_0x2c4f93(0xfc)][_0x2c4f93(0x12b)][_0x2c4f93(0x148)],(_0x531ac4,_0x1cfb7f)=>{const _0x4f8424=_0x2c4f93;console['log'](_0x27a9b7[_0x4f8424(0x100)],_0x531ac4[_0x4f8424(0x14e)]);const _0x1d368f={[_0x531ac4[_0x4f8424(0x14e)]]:_0x531ac4['err'][_0x4f8424(0x11b)]};_testErrorData[_0x4f8424(0x13a)](_0x1d368f);}),_0x50e63f['on'](CodeceptJS['event'][_0x2c4f93(0x12b)][_0x2c4f93(0x13f)],async _0x9125ff=>{const _0x875a53=_0x2c4f93;console[_0x875a53(0x168)](_0x27a9b7[_0x875a53(0x11d)],_0x9125ff[_0x875a53(0x14e)]);}),_0x50e63f['on'](CodeceptJS[_0x2c4f93(0xfc)][_0x2c4f93(0x12b)][_0x2c4f93(0xed)],async _0x5ce261=>{console['log'](_0x27a9b7['lKLUd'],_0x5ce261['title']);}),_0x50e63f['on'](CodeceptJS[_0x2c4f93(0xfc)][_0x2c4f93(0x12c)][_0x2c4f93(0xf7)],async()=>{const _0x18c81a=_0x2c4f93,_0xeab221=_0x27a9b7[_0x18c81a(0x175)]['split']('|');let _0x19bc6e=0x0;while(!![]){switch(_0xeab221[_0x19bc6e++]){case'0':_0x50e63f[_0x18c81a(0x17d)]();continue;case'1':try{await TestHubHandler[_0x18c81a(0x157)]();}catch(_0x4b9d39){logger[_0x18c81a(0x136)](_0x18c81a(0x173)+util[_0x18c81a(0x15d)](_0x4b9d39));}continue;case'2':testOpsHelper[_0x18c81a(0x15e)]();continue;case'3':PerformanceTester[_0x18c81a(0xea)](PerformanceEvents[_0x18c81a(0x118)]);continue;case'4':utilities[_0x18c81a(0x171)](_0x133de7);continue;case'5':_0x133de7[_0x18c81a(0x159)]=_testErrorData;continue;}break;}});async function _0x49a11a(){const _0x1fedf2=_0x2c4f93;try{await _0x50e63f[_0x1fedf2(0x144)](),await _0x50e63f[_0x1fedf2(0xfb)]();}finally{process[_0x1fedf2(0x125)](_0x511736),await _0x50e63f[_0x1fedf2(0xff)]();}}PerformanceTester['end'](PerformanceEvents[_0x2c4f93(0x113)]),_0x27a9b7[_0x2c4f93(0x10b)](_0x49a11a);}module[a2_0x5888f7(0xf0)]=run;
2
+ 'use strict';const a2_0x43f0e5=a2_0x462d;(function(_0x3f9d5b,_0x27fa6a){const _0x5f652a=a2_0x462d,_0x33b0cd=_0x3f9d5b();while(!![]){try{const _0x2fd9ab=parseInt(_0x5f652a(0x164))/0x1+parseInt(_0x5f652a(0x183))/0x2+parseInt(_0x5f652a(0x147))/0x3*(parseInt(_0x5f652a(0x15d))/0x4)+-parseInt(_0x5f652a(0x15b))/0x5*(-parseInt(_0x5f652a(0x13b))/0x6)+-parseInt(_0x5f652a(0x1b1))/0x7*(-parseInt(_0x5f652a(0x1a6))/0x8)+parseInt(_0x5f652a(0x1c3))/0x9+-parseInt(_0x5f652a(0x182))/0xa*(parseInt(_0x5f652a(0x1b5))/0xb);if(_0x2fd9ab===_0x27fa6a)break;else _0x33b0cd['push'](_0x33b0cd['shift']());}catch(_0xceff1c){_0x33b0cd['push'](_0x33b0cd['shift']());}}}(a2_0x4af2,0x8d667));function a2_0x4af2(){const _0xaf38ce=['config','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','dirname','accessibility','toLowerCase','BrowserStackPlugin','xjdSa','chrome','bdIId','passed','stringify','../../helpers/helper','profile','testObservability','finalExecution','Playwright','YxGgD','spawn','UsEjo','168vWHhas','setAdditionalCapabilities','browserName','printBuildLink','enabled','BROWSERSTACK_RERUN','JjhVb','isEmpty','CODECEPT_CUCUMBER','XvlWj','Started\x20:\x20','29316sswZZi','prepareCapabilities','join','event','6028781AjMLln','start','handleApp','stack','browser','getPlaywrightUrl','chdir','gherkin','BROWSERSTACK_TEST_OBSERVABILITY_YML','plugins','testContextOptions','playwright-firefox','skipSessionStatus','accessibilityOptions','2138589dfbIEc','desiredCapabilities','result','getUserWorkerCount','addTests','helpers','codeceptjs','validateRerunTestList','initialize','984486pudIUr','before','BROWSERSTACK_RERUN_TESTS','now','cwd','format','log','CYdFR','../../helpers/utilities','test','BrowserStackPlugin.js','cVtDS','198663mEivZO','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','CODECEPT','yKJab','gGJmA','browserStackCwd','chromium','sQgqI','dvrSr','map','../../helpers/BrowserStackSetup','err','ImYsI','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','browserWSEndpoint','util','isTestObservabilitySession','trim','mergeDeep','failed','30XXfOYx','codecept.json','52NRoOxp','info','skipSessionName','../../helpers/accessibility-automation/helper','Vufog','require','bootstrapAll','477604tHCexf','codecept.conf.js','USER_CONFIG_DETAILS_PATH','--config','testConfig','findIndex','createGroupsOfSuites','../utils/constants','end','webkit','AzvYJ','FRAMEWORKS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','qOtIi','length','JpvwR','vOCfF','root','../../bin/playwright/accessibility-helper','teardownAll','slice','split','rwabM','EVENTS','FrexC','Workers','launchBuild','platforms','title','isTrue','50SlYdUp','1341996GZzpmZ','firefox','debug','errorMessage','codeceptjs/lib/index.js','../../helpers/performance/performance-tester','push','isUndefined','Failed\x20:\x20','stop','env','addOptions','forEach','existsSync','../../helpers/test-observability/utils','UUgbo'];a2_0x4af2=function(){return _0xaf38ce;};return a2_0x4af2();}const fs=require('fs'),path=require('path'),util=require(a2_0x43f0e5(0x156)),process=require('process'),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x43f0e5(0x151)),helper=require(a2_0x43f0e5(0x19e)),utilities=require(a2_0x43f0e5(0x143)),{checkAccessibilityPlatformConfig}=require(a2_0x43f0e5(0x160)),{setAccessibilityCapabilities}=require(a2_0x43f0e5(0x176)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x43f0e5(0x19e)),CodeceptJS=requireModule(a2_0x43f0e5(0x187),a2_0x43f0e5(0x138)),testOpsHelper=require(a2_0x43f0e5(0x191)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x43f0e5(0x16b)),PerformanceTester=require(a2_0x43f0e5(0x188)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require('../../helpers/performance/constants')[a2_0x43f0e5(0x17b)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x304c9a,_0x4cfee2)=>{const _0x79c323=a2_0x43f0e5,_0x37ab36={};_0x37ab36[_0x79c323(0x14a)]=function(_0x337dff,_0x402386){return _0x337dff===_0x402386;},_0x37ab36['JpvwR']=_0x79c323(0x165),_0x37ab36[_0x79c323(0x14b)]=_0x79c323(0x15c);const _0x4a22e1=_0x37ab36;let _0x313536=null;const _0x556c12={};let _0x13804a=_0x4cfee2[_0x79c323(0x169)](_0x2f56ed=>_0x2f56ed===_0x79c323(0x167));_0x4a22e1[_0x79c323(0x14a)](_0x13804a,-0x1)&&(_0x13804a=_0x4cfee2[_0x79c323(0x169)](_0x44d018=>_0x44d018==='-c'));if(!helper[_0x79c323(0x18a)](_0x304c9a[_0x79c323(0x193)])&&fs[_0x79c323(0x190)](path[_0x79c323(0x1b3)](process['cwd'](),_0x304c9a[_0x79c323(0x193)])))_0x313536=path['join'](process[_0x79c323(0x13f)](),_0x304c9a[_0x79c323(0x193)]),_0x4cfee2[_0x79c323(0x178)](_0x13804a,0x2);else{if(!helper[_0x79c323(0x18a)](_0x304c9a['c'])&&fs[_0x79c323(0x190)](path['join'](process[_0x79c323(0x13f)](),_0x304c9a['c'])))_0x313536=path[_0x79c323(0x1b3)](process['cwd'](),_0x304c9a['c']),_0x4cfee2[_0x79c323(0x178)](_0x13804a,0x2);else{if(fs['existsSync'](path['join'](process[_0x79c323(0x13f)](),_0x4a22e1[_0x79c323(0x173)])))_0x313536=path['join'](process['cwd'](),_0x4a22e1['JpvwR']);else fs[_0x79c323(0x190)](path[_0x79c323(0x1b3)](process[_0x79c323(0x13f)](),_0x4a22e1[_0x79c323(0x14b)]))&&(_0x313536=path[_0x79c323(0x1b3)](process['cwd'](),_0x4a22e1[_0x79c323(0x14b)]));}}return process['env'][_0x79c323(0x166)]=_0x313536,_0x313536;},getO11yRerunPattern=()=>{const _0x402dea=a2_0x43f0e5,_0x1f15f1=helper[_0x402dea(0x181)](process[_0x402dea(0x18d)][_0x402dea(0x1ab)]);if(_0x1f15f1){const _0x30d826=process[_0x402dea(0x18d)][_0x402dea(0x13d)],_0x2880c9=[];if(helper[_0x402dea(0x139)](_0x30d826)&&!helper[_0x402dea(0x18a)](_0x30d826)){_0x30d826[_0x402dea(0x179)](',')[_0x402dea(0x150)](_0x524f8f=>{const _0x40eb13=_0x402dea;_0x2880c9[_0x40eb13(0x189)]('('+_0x524f8f[_0x40eb13(0x158)]()+')');});const _0x21678d='^'+_0x2880c9[_0x402dea(0x1b3)]('|')+'$';return _0x21678d;}}return null;},a2_0xd1cd80={};a2_0xd1cd80[a2_0x43f0e5(0x19a)]=a2_0x43f0e5(0x14d),a2_0xd1cd80['playwright-chromium']=a2_0x43f0e5(0x14d),a2_0xd1cd80[a2_0x43f0e5(0x1c0)]=a2_0x43f0e5(0x184),a2_0xd1cd80['playwright-webkit']=a2_0x43f0e5(0x16d);const pwToCodeceptBrowser=a2_0xd1cd80;async function run(_0x4a1bde,_0x2e3334,_0x45e2d6){const _0x51a5a4=a2_0x43f0e5,_0x2dedb7={'CYdFR':function(_0x3a10aa,_0x2b097d){return _0x3a10aa+_0x2b097d;},'FrexC':function(_0x1358e9,_0x4719b9){return _0x1358e9(_0x4719b9);},'sQgqI':function(_0x25541b,_0x6cbdd0,_0x536785){return _0x25541b(_0x6cbdd0,_0x536785);},'AzvYJ':_0x51a5a4(0x137),'dvrSr':function(_0x4d8cf6){return _0x4d8cf6();},'JjhVb':function(_0x4db70a){return _0x4db70a();},'Btuwu':_0x51a5a4(0x18b),'ilYPM':'Passed\x20:\x20','vOCfF':_0x51a5a4(0x1b0),'ImYsI':'2|3|0|5|4|1','bdIId':_0x51a5a4(0x154),'UsEjo':function(_0x152763,_0x1c1d2b,_0x4de657){return _0x152763(_0x1c1d2b,_0x4de657);},'YxGgD':_0x51a5a4(0x1a2),'XvlWj':'WebDriver','UUgbo':function(_0x21da2f,_0x3a7037){return _0x21da2f!=_0x3a7037;},'qOtIi':function(_0x1e58de,_0x577281){return _0x1e58de===_0x577281;},'NmZhx':_0x51a5a4(0x1bc),'tuZOg':function(_0x1d639f,_0x219de7){return _0x1d639f(_0x219de7);},'rwabM':function(_0x2af328,_0x3adba4){return _0x2af328*_0x3adba4;},'GbyPI':'browser','Vufog':function(_0x2a6c9d,_0x4a7ea1,_0x5e6a86){return _0x2a6c9d(_0x4a7ea1,_0x5e6a86);},'xjdSa':_0x51a5a4(0x1c4),'ZqMTk':_0x51a5a4(0x175),'ukEHY':_0x51a5a4(0x145),'cVtDS':_0x51a5a4(0x14c)};await _0x45e2d6[_0x51a5a4(0x13a)](_0x4a1bde),await helper[_0x51a5a4(0x1b7)](_0x45e2d6[_0x51a5a4(0x193)]);if(!_0x45e2d6[_0x51a5a4(0x193)])return;process[_0x51a5a4(0x19f)]=_0x4a1bde[_0x51a5a4(0x19f)];_0x4a1bde['profile']&&(process[_0x51a5a4(0x18d)]['profile']=_0x4a1bde['profile']);const _0x238ff0=_0x2dedb7[_0x51a5a4(0x14e)](getUserCodeceptJSConfigs,_0x4a1bde,_0x2e3334);let _0x5c9c6a={};_0x238ff0?(logger[_0x51a5a4(0x15e)](_0x51a5a4(0x148)+_0x238ff0),_0x5c9c6a=CodeceptJS[_0x51a5a4(0x193)]['load'](_0x238ff0)):logger[_0x51a5a4(0x15e)](_0x2dedb7[_0x51a5a4(0x19b)]);let _0xebf593=![];_0x2dedb7[_0x51a5a4(0x1a5)](nestedKeyValue,_0x5c9c6a,[_0x2dedb7[_0x51a5a4(0x16e)],_0x2dedb7[_0x51a5a4(0x1a3)]])&&(_0xebf593=!![]);const _0x1dfe79=_0xebf593?_0x2dedb7[_0x51a5a4(0x1a3)]:_0x2dedb7[_0x51a5a4(0x1af)];let _0x1d08ee=!_0xebf593?helper['useW3C'](_0x45e2d6[_0x51a5a4(0x193)]):![];!helper[_0x51a5a4(0x18a)](_0x45e2d6['config'][_0x51a5a4(0x1c2)])&&(process[_0x51a5a4(0x18d)][_0x51a5a4(0x170)]=JSON['stringify'](_0x45e2d6[_0x51a5a4(0x193)][_0x51a5a4(0x1c2)]));let _0x4c3e1b=_0x45e2d6[_0x51a5a4(0x193)][_0x51a5a4(0x196)];_0x4c3e1b=_0x4c3e1b||_0x2dedb7[_0x51a5a4(0x17c)](checkAccessibilityPlatformConfig,_0x45e2d6[_0x51a5a4(0x193)]),process[_0x51a5a4(0x18d)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4c3e1b;_0x4c3e1b&&(_0x1d08ee=!_0x4c3e1b);_0x2dedb7[_0x51a5a4(0x192)](_0x45e2d6[_0x51a5a4(0x193)][_0x51a5a4(0x1a0)],null)?process[_0x51a5a4(0x18d)][_0x51a5a4(0x1bd)]=_0x45e2d6[_0x51a5a4(0x193)]['testObservability']:process[_0x51a5a4(0x18d)][_0x51a5a4(0x1bd)]=_0x2dedb7[_0x51a5a4(0x171)](_0x1dfe79,_0x2dedb7[_0x51a5a4(0x1a3)]);const _0x4348bd=_0x2dedb7[_0x51a5a4(0x14e)](nestedKeyValue,_0x5c9c6a,[_0x2dedb7['NmZhx']]),_0x5edb38=_0x4348bd&&!helper[_0x51a5a4(0x1ad)](_0x4348bd)?FRAMEWORKS[_0x51a5a4(0x1ae)]:FRAMEWORKS[_0x51a5a4(0x149)],_0x3a8432=await TestHubHandler[_0x51a5a4(0x17e)](_0x5edb38,_0x45e2d6);_0x4c3e1b&&_0x2dedb7['tuZOg'](setAccessibilityCapabilities,_0x45e2d6[_0x51a5a4(0x193)]);const _0x1947f0={},_0x47ddcc=[],_0x20351d=_0x45e2d6[_0x51a5a4(0x193)]['parallelsPerPlatform']||helper[_0x51a5a4(0x135)](_0x4a1bde,_0x2e3334,_0x45e2d6[_0x51a5a4(0x193)],constants[_0x51a5a4(0x16f)][_0x51a5a4(0x149)])||0x1;let _0x36f794=0x1;if(_0x2dedb7[_0x51a5a4(0x1ac)](isBrowserstackInfra)){const _0x4e6b3d=helper['prepareCapabilities'](_0x45e2d6[_0x51a5a4(0x193)],_0x1d08ee,constants['FRAMEWORKS'][_0x51a5a4(0x149)]);_0x4e6b3d[_0x51a5a4(0x18f)](_0x24c795=>{const _0x3c7710=_0x51a5a4;helper[_0x3c7710(0x1a7)](_0x24c795);}),helper['validPlatformsPresent'](_0x45e2d6[_0x51a5a4(0x193)])?_0x36f794=_0x2dedb7[_0x51a5a4(0x17a)](_0x20351d,_0x45e2d6[_0x51a5a4(0x193)][_0x51a5a4(0x17f)][_0x51a5a4(0x172)]):_0x36f794=_0x20351d,_0x4e6b3d[_0x51a5a4(0x18f)](_0x308686=>{const _0xbf657b=_0x51a5a4,_0x5628bd=_0x2dedb7[_0xbf657b(0x142)](helper['getPlatformName'](_0x308686,'_'),'_'+Date[_0xbf657b(0x13e)]()),_0x290e8b=((()=>{const _0x3fe4e6=_0xbf657b;if(_0xebf593){const _0x1a3bb8=pwToCodeceptBrowser[_0x308686[_0x3fe4e6(0x1a8)]]||_0x308686['browserName'];return{'browser':_0x1a3bb8,[_0x1a3bb8]:{'browserWSEndpoint':_0x2dedb7[_0x3fe4e6(0x142)](helper[_0x3fe4e6(0x1ba)](_0x45e2d6['config']),_0x2dedb7['FrexC'](encodeURIComponent,JSON[_0x3fe4e6(0x19d)](_0x308686)))}};}const _0xc9957e={};return _0xc9957e[_0x3fe4e6(0x1c4)]=_0x308686,_0xc9957e;})()),_0x124c84=_0x2dedb7[_0xbf657b(0x14e)](nestedKeyValue,_0x5c9c6a,[_0x2dedb7['AzvYJ'],_0x1dfe79]);_0x1947f0[_0x5628bd]=_0x124c84?helper[_0xbf657b(0x159)](_0x290e8b,_0x124c84):_0x290e8b,!_0xebf593&&(_0x1947f0[_0x5628bd][_0xbf657b(0x1b9)]=_0x308686[_0xbf657b(0x1a8)]||_0x290e8b[_0xbf657b(0x1b9)]),_0x47ddcc['push'](_0x5628bd);});}else{_0x36f794=0x1;if(_0xebf593){const _0x54dd9e=_0x2dedb7['sQgqI'](nestedKeyValue,_0x5c9c6a,[_0x2dedb7['AzvYJ'],_0x1dfe79,_0x2dedb7['GbyPI']]),_0x309d4a=_0x2dedb7[_0x51a5a4(0x161)](nestedKeyValue,_0x5c9c6a,[_0x2dedb7[_0x51a5a4(0x16e)],_0x1dfe79,_0x54dd9e]);_0x309d4a&&_0x309d4a[_0x51a5a4(0x155)]&&(_0x309d4a['browserWSEndpoint']=helper[_0x51a5a4(0x1b2)](null,null,_0x5edb38[_0x51a5a4(0x197)](),null,null,_0x309d4a['browserWSEndpoint']));}else _0x5c9c6a[_0x2dedb7['AzvYJ']][_0x1dfe79][_0x2dedb7[_0x51a5a4(0x199)]]=helper[_0x51a5a4(0x1b2)](null,null,_0x5edb38[_0x51a5a4(0x197)](),_0x2dedb7[_0x51a5a4(0x161)](nestedKeyValue,_0x5c9c6a,[_0x2dedb7[_0x51a5a4(0x16e)],_0x1dfe79,_0x2dedb7['xjdSa']]),null,null);_0x1947f0[_0x2dedb7['ZqMTk']]=_0x5c9c6a,_0x47ddcc['push'](_0x2dedb7['ZqMTk']);}const _0x3f8b9f={};_0x3f8b9f[_0x51a5a4(0x168)]=_0x238ff0;const _0x420025=_0x3f8b9f,_0x20905d=path[_0x51a5a4(0x1b3)](__dirname,_0x2dedb7['ukEHY']),_0x4bb1f8=process[_0x51a5a4(0x13f)]();process[_0x51a5a4(0x18d)][_0x2dedb7[_0x51a5a4(0x146)]]=_0x4bb1f8,process[_0x51a5a4(0x1bb)](path[_0x51a5a4(0x195)](_0x238ff0));const _0x59759f=new CodeceptJS[(_0x51a5a4(0x17d))](null,_0x420025),_0x4959e0=_0x59759f[_0x51a5a4(0x16a)](_0x36f794),_0x1a6636=testOpsHelper[_0x51a5a4(0x157)](),_0x1ff047=_0x47ddcc[_0x51a5a4(0x150)](_0x121bb0=>{const _0x335412=_0x51a5a4,_0x1e165a={};_0x1e165a[_0x335412(0x1a2)]=_0x1947f0[_0x121bb0];const _0x4a32b2={};_0x4a32b2['WebDriver']=_0x1947f0[_0x121bb0];const _0x1780ae=_0xebf593?_0x1e165a:_0x4a32b2,_0xdaaccb=_0x2dedb7[_0x335412(0x14f)](getO11yRerunPattern),_0x28505d={};_0x28505d[_0x335412(0x137)]=_0x1780ae;const _0x4731bc={};_0x4731bc[_0x335412(0x162)]=_0x20905d,_0x4731bc[_0x335412(0x1aa)]=!![],_0x4731bc[_0x335412(0x15f)]=_0x45e2d6[_0x335412(0x193)][_0x335412(0x1bf)][_0x335412(0x15f)],_0x4731bc[_0x335412(0x1c1)]=_0x45e2d6[_0x335412(0x193)][_0x335412(0x1bf)][_0x335412(0x1c1)],_0x4731bc[_0x335412(0x1a0)]=_0x1a6636,_0x4731bc['frameworkName']=_0x5edb38;const _0x28124d={};_0x28124d[_0x335412(0x198)]=_0x4731bc;const _0x4ed7ac={};return _0x4ed7ac[_0x335412(0x1be)]=_0x28124d,helper['mergeDeep']({},_0x5c9c6a,_0x2dedb7[_0x335412(0x1ac)](isBrowserstackInfra)?_0x28505d:{},_0xdaaccb?{'grep':_0xdaaccb}:{},_0x4ed7ac);});for(const _0x46fd3f of _0x1ff047){for(const _0x41f22b of _0x4959e0){const _0x2b59d6=_0x59759f[_0x51a5a4(0x1a4)]();_0x2b59d6[_0x51a5a4(0x136)](_0x41f22b),_0x2b59d6['addConfig'](_0x46fd3f);const _0x79fab3={};_0x79fab3[_0x51a5a4(0x193)]=_0x238ff0,_0x2b59d6[_0x51a5a4(0x18e)](_0x79fab3);}}_0x59759f['on'](CodeceptJS[_0x51a5a4(0x1b4)][_0x51a5a4(0x144)][_0x51a5a4(0x15a)],(_0xf5cb66,_0x5c3e47)=>{const _0xeda7f7=_0x51a5a4;console[_0xeda7f7(0x141)](_0x2dedb7['Btuwu'],_0xf5cb66['title']);const _0xff5d08={[_0xf5cb66['title']]:_0xf5cb66[_0xeda7f7(0x152)][_0xeda7f7(0x1b8)]};_testErrorData[_0xeda7f7(0x189)](_0xff5d08);}),_0x59759f['on'](CodeceptJS['event'][_0x51a5a4(0x144)][_0x51a5a4(0x19c)],async _0x4b417f=>{const _0x30e600=_0x51a5a4;console[_0x30e600(0x141)](_0x2dedb7['ilYPM'],_0x4b417f[_0x30e600(0x180)]);}),_0x59759f['on'](CodeceptJS[_0x51a5a4(0x1b4)][_0x51a5a4(0x144)][_0x51a5a4(0x13c)],async _0xd334c3=>{const _0x20c631=_0x51a5a4;console[_0x20c631(0x141)](_0x2dedb7[_0x20c631(0x174)],_0xd334c3[_0x20c631(0x180)]);}),_0x59759f['on'](CodeceptJS[_0x51a5a4(0x1b4)]['all'][_0x51a5a4(0x1c5)],async()=>{const _0xc49234=_0x51a5a4,_0x35b325=_0x2dedb7[_0xc49234(0x153)]['split']('|');let _0x4f8f8c=0x0;while(!![]){switch(_0x35b325[_0x4f8f8c++]){case'0':testOpsHelper[_0xc49234(0x1a9)]();continue;case'1':_0x59759f['printResults']();continue;case'2':PerformanceTester[_0xc49234(0x1b6)](PerformanceEvents['SDK_CLEANUP']);continue;case'3':_0x45e2d6[_0xc49234(0x186)]=_testErrorData;continue;case'4':try{await TestHubHandler[_0xc49234(0x18c)]();}catch(_0x262968){logger[_0xc49234(0x185)](_0xc49234(0x194)+util[_0xc49234(0x140)](_0x262968));}continue;case'5':utilities[_0xc49234(0x1a1)](_0x45e2d6);continue;}break;}});async function _0x3cb717(){const _0x534566=_0x51a5a4;try{await _0x59759f[_0x534566(0x163)](),await _0x59759f['run']();}finally{process[_0x534566(0x1bb)](_0x4bb1f8),await _0x59759f[_0x534566(0x177)]();}}PerformanceTester[_0x51a5a4(0x16c)](PerformanceEvents['SDK_SETUP']),_0x2dedb7[_0x51a5a4(0x1ac)](_0x3cb717);}function a2_0x462d(_0x23edb1,_0x4e3e2a){const _0x4af2d0=a2_0x4af2();return a2_0x462d=function(_0x462d77,_0x2c5654){_0x462d77=_0x462d77-0x135;let _0x79b863=_0x4af2d0[_0x462d77];return _0x79b863;},a2_0x462d(_0x23edb1,_0x4e3e2a);}module['exports']=run;
@@ -1 +1 @@
1
- const a3_0x247e34=a3_0x5bcc;(function(_0x2b76fa,_0x46a840){const _0x2051b9=a3_0x5bcc,_0x1b9169=_0x2b76fa();while(!![]){try{const _0x306b9e=parseInt(_0x2051b9(0x1ca))/0x1+-parseInt(_0x2051b9(0x1fa))/0x2+parseInt(_0x2051b9(0x1df))/0x3*(parseInt(_0x2051b9(0x1c1))/0x4)+-parseInt(_0x2051b9(0x1b9))/0x5*(-parseInt(_0x2051b9(0x1e5))/0x6)+parseInt(_0x2051b9(0x1e3))/0x7*(-parseInt(_0x2051b9(0x1db))/0x8)+parseInt(_0x2051b9(0x1ba))/0x9*(parseInt(_0x2051b9(0x1f4))/0xa)+parseInt(_0x2051b9(0x1dd))/0xb;if(_0x306b9e===_0x46a840)break;else _0x1b9169['push'](_0x1b9169['shift']());}catch(_0x1f7fb8){_0x1b9169['push'](_0x1b9169['shift']());}}}(a3_0x589d,0xc6973));const {isUndefined,nestedKeyValue}=require(a3_0x247e34(0x1bb)),logger=require(a3_0x247e34(0x1d2))['winstonLogger'],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x247e34(0x1b6)),getOSVersionFromCaps=_0x8cbc99=>{const _0x44067a=a3_0x247e34,_0x3cf636={};_0x3cf636[_0x44067a(0x1d3)]=_0x44067a(0x1cc),_0x3cf636[_0x44067a(0x1bc)]='platformVersion',_0x3cf636[_0x44067a(0x1d7)]='platform_version',_0x3cf636[_0x44067a(0x1f2)]=_0x44067a(0x1fb),_0x3cf636['pwejS']=_0x44067a(0x1e8);const _0x5435ef=_0x3cf636;if(!_0x8cbc99)return null;const _0x5f44e4=_0x8cbc99[_0x5435ef[_0x44067a(0x1d3)]],_0x3f6d3d=[_0x5435ef[_0x44067a(0x1bc)],_0x5435ef['vSBZu'],_0x5435ef[_0x44067a(0x1f2)],_0x5435ef['pwejS']];for(const _0x333514 of _0x3f6d3d){if(_0x5f44e4&&_0x5f44e4[_0x333514])return _0x5f44e4[_0x333514];else{if(_0x8cbc99[_0x333514])return _0x8cbc99[_0x333514];}}return null;};function a3_0x5bcc(_0x421fc0,_0xc05f9f){const _0x589d25=a3_0x589d();return a3_0x5bcc=function(_0x5bccd0,_0x42acc2){_0x5bccd0=_0x5bccd0-0x1b5;let _0x53a418=_0x589d25[_0x5bccd0];return _0x53a418;},a3_0x5bcc(_0x421fc0,_0xc05f9f);}function a3_0x589d(){const _0x32d41e=['name','16ZAChnI','yPAtr','1521707CBIjvK','platformName','26184ThFYCW','XWTrL','browserWSEndpoint','mykJN','1870561PwLtzG','constructor','846774KmFqGB','shouldPatchExecuteScript','LgYWA','os_version','NXVtw','ifqlK','platform_version','WebDriver','LRTvA','yQfXy','qFhxJ','bsSessionId','wzvvq','yMVYv','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','313770HNuUew','accessibilityPlatform','unknown_grid','hVNKt','YKZDe','Oyrae','2078332Wvqjae','osVersion','playwright-chromium','NlOzF','__cloud_provider___','QEWuJ','ZXBli','includes','OXAHl','getDetails','processWebDriverConfig','../../helpers/test-observability/utils','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','capabilities','35Ljsaar','162tuXAIW','../../helpers/helper','gBzij','Playwright','parse','platform','browser','108iDmyMs','nbELd','warn','browserName','desiredCapabilities','platformVersion','deviceName','searchParams','sessionId','460357sMfdkX','config','bstack:options','QRPgw','srUlR','browserstack_executor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','browserVersion','../../helpers/logger','UBiqi','browser_version','fetchPlatformDetails','get','vSBZu','cloudProvider','Igzgl'];a3_0x589d=function(){return _0x32d41e;};return a3_0x589d();}exports[a3_0x247e34(0x1d5)]=_0x4bcfbb=>{const _0x195be4=a3_0x247e34,_0x279c5d={'yPAtr':_0x195be4(0x1f6),'NXVtw':function(_0x52e93a,_0x2e22d8){return _0x52e93a===_0x2e22d8;},'MyIyW':_0x195be4(0x1ec),'qFhxJ':function(_0x3d4ed5,_0x39bbd4){return _0x3d4ed5(_0x39bbd4);},'XWTrL':function(_0x3e3c8a,_0x5cbde2,_0x38d6dd){return _0x3e3c8a(_0x5cbde2,_0x38d6dd);},'YKnxA':_0x195be4(0x1cb),'Oyrae':_0x195be4(0x1c5),'NlOzF':function(_0x2d183b,_0x20d74e){return _0x2d183b===_0x20d74e;},'SWRkM':_0x195be4(0x1bd),'OXAHl':function(_0x6031fd,_0x480b02,_0x4f61cf){return _0x6031fd(_0x480b02,_0x4f61cf);},'mykJN':_0x195be4(0x1c0),'wzvvq':_0x195be4(0x1e1),'ZXBli':'caps','Igzgl':function(_0x1bc9c0,_0x1a5987){return _0x1bc9c0(_0x1a5987);}};if(!_0x4bcfbb)return null;let _0x1ef466=global[_0x195be4(0x1fe)]||_0x279c5d[_0x195be4(0x1dc)];if(_0x279c5d[_0x195be4(0x1e9)](_0x4bcfbb[_0x195be4(0x1e4)][_0x195be4(0x1da)],_0x279c5d['MyIyW'])){const _0x236725=_0x4bcfbb[_0x195be4(0x1c0)];if(!_0x236725)return null;const _0x24206a=_0x236725['capabilities'],_0x825eb8=_0x279c5d[_0x195be4(0x1ef)](getOSVersionFromCaps,_0x279c5d[_0x195be4(0x1e0)](nestedKeyValue,_0x4bcfbb,[_0x279c5d['YKnxA'],_0x279c5d[_0x195be4(0x1f9)]]));return{[_0x1ef466]:{'browser':_0x24206a[_0x195be4(0x1c4)],'browser_version':_0x24206a['browserVersion'],'capabilities':_0x24206a,'platform':_0x24206a[_0x195be4(0x1de)],'platform_version':_0x24206a[_0x195be4(0x1c6)]||_0x825eb8,'product':_0x279c5d[_0x195be4(0x1ef)](getObservabilityLinkedProductName,_0x24206a),'session_id':_0x236725[_0x195be4(0x1c9)]}};}else{if(_0x279c5d[_0x195be4(0x1fd)](_0x4bcfbb['constructor'][_0x195be4(0x1da)],_0x279c5d['SWRkM'])){const _0x39523c=PlaywrightSessionDetails[_0x195be4(0x203)]();_0x1ef466=_0x39523c[_0x195be4(0x1d8)]||_0x1ef466;const _0x2139db=_0x279c5d[_0x195be4(0x202)](nestedKeyValue,_0x4bcfbb,[_0x279c5d['YKnxA'],_0x279c5d[_0x195be4(0x1e2)],_0x279c5d[_0x195be4(0x1f1)]]),_0x4b6fb9=_0x2139db?JSON[_0x195be4(0x1be)](new URL(_0x2139db)[_0x195be4(0x1c8)][_0x195be4(0x1d6)](_0x279c5d[_0x195be4(0x200)])):{};return{[_0x1ef466]:{'browser':_0x39523c[_0x195be4(0x1c0)]||_0x4b6fb9[_0x195be4(0x1c4)],'browser_version':_0x39523c[_0x195be4(0x1d4)]||_0x4b6fb9[_0x195be4(0x1d4)],'capabilities':_0x4b6fb9,'platform':_0x39523c[_0x195be4(0x1bf)],'platform_version':_0x39523c[_0x195be4(0x1eb)],'product':_0x279c5d[_0x195be4(0x1d9)](getObservabilityLinkedProductName,_0x4b6fb9),'session_id':_0x39523c[_0x195be4(0x1f0)]}};}}},exports[a3_0x247e34(0x1b5)]=_0x18ff2a=>{const _0x33c2a1=a3_0x247e34,_0x4f3fe4={'ifqlK':function(_0x147e17){return _0x147e17();},'nbELd':function(_0x4f8326,_0x1d3b3d){return _0x4f8326===_0x1d3b3d;},'amram':'latest','LRTvA':function(_0x376fa4,_0x27aa36){return _0x376fa4>_0x27aa36;},'yQfXy':function(_0x5a93b4,_0x5f3fa3){return _0x5a93b4(_0x5f3fa3);},'ziHen':_0x33c2a1(0x1d0),'QEWuJ':'chrome','hVNKt':function(_0x5b0454,_0x4c9fc3){return _0x5b0454===_0x4c9fc3;},'LgYWA':_0x33c2a1(0x1fc),'fpBBF':_0x33c2a1(0x1b7),'srUlR':_0x33c2a1(0x1f3)};if(_0x4f3fe4[_0x33c2a1(0x1ea)](isAccessibilityAutomationSession)){const _0x10bf97=_0x18ff2a[_0x33c2a1(0x1c0)],_0x5f78b4=_0x10bf97[_0x33c2a1(0x1b8)];global[_0x33c2a1(0x1f5)]=!![],!(_0x4f3fe4[_0x33c2a1(0x1c2)](_0x5f78b4[_0x33c2a1(0x1d1)],_0x4f3fe4['amram'])||_0x4f3fe4[_0x33c2a1(0x1ed)](_0x4f3fe4['yQfXy'](parseInt,_0x5f78b4[_0x33c2a1(0x1d1)]),0x5e))&&(logger[_0x33c2a1(0x1c3)](_0x4f3fe4['ziHen']),global['accessibilityPlatform']=![]),!(_0x4f3fe4[_0x33c2a1(0x1c2)](_0x5f78b4[_0x33c2a1(0x1c4)],_0x4f3fe4[_0x33c2a1(0x1ff)])||_0x4f3fe4[_0x33c2a1(0x1f7)](_0x5f78b4[_0x33c2a1(0x1c4)],_0x4f3fe4[_0x33c2a1(0x1e7)]))&&(logger[_0x33c2a1(0x1c3)](_0x4f3fe4['fpBBF']),global['accessibilityPlatform']=![]),!_0x4f3fe4[_0x33c2a1(0x1ee)](isUndefined,_0x5f78b4[_0x33c2a1(0x1c7)])&&(logger['warn'](_0x4f3fe4[_0x33c2a1(0x1ce)]),global[_0x33c2a1(0x1f5)]=![]);}},exports[a3_0x247e34(0x1e6)]=_0x239a5b=>{const _0x291561=a3_0x247e34,_0x41701d={};_0x41701d[_0x291561(0x1cd)]=_0x291561(0x1cf),_0x41701d[_0x291561(0x1f8)]='browserstack_accessibility_automation_script';const _0x2383ed=_0x41701d;if(!_0x239a5b)return![];return!_0x239a5b[_0x291561(0x201)](_0x2383ed['QRPgw'])&&!_0x239a5b[_0x291561(0x201)](_0x2383ed[_0x291561(0x1f8)]);};
1
+ const a3_0x1dd421=a3_0x1c50;function a3_0x1c50(_0x3d39d9,_0x3a22cb){const _0x461ce7=a3_0x461c();return a3_0x1c50=function(_0x1c50e0,_0x4d1eb3){_0x1c50e0=_0x1c50e0-0x184;let _0xa4a685=_0x461ce7[_0x1c50e0];return _0xa4a685;},a3_0x1c50(_0x3d39d9,_0x3a22cb);}(function(_0x4eeb58,_0x24a6e6){const _0x3aa61c=a3_0x1c50,_0x301630=_0x4eeb58();while(!![]){try{const _0x5850b0=-parseInt(_0x3aa61c(0x1a2))/0x1+parseInt(_0x3aa61c(0x1bd))/0x2+-parseInt(_0x3aa61c(0x1b0))/0x3+parseInt(_0x3aa61c(0x1c3))/0x4*(-parseInt(_0x3aa61c(0x18a))/0x5)+parseInt(_0x3aa61c(0x197))/0x6*(-parseInt(_0x3aa61c(0x1b9))/0x7)+parseInt(_0x3aa61c(0x1bc))/0x8+parseInt(_0x3aa61c(0x190))/0x9*(parseInt(_0x3aa61c(0x187))/0xa);if(_0x5850b0===_0x24a6e6)break;else _0x301630['push'](_0x301630['shift']());}catch(_0x53d307){_0x301630['push'](_0x301630['shift']());}}}(a3_0x461c,0x23eb7));function a3_0x461c(){const _0x56840f=['../../helpers/helper','../../bin/playwright/sessionDetails','processWebDriverConfig','10tgKrIW','TeEoJ','uWtPp','5xzQvRh','platform','ZQaye','name','fetchPlatformDetails','unknown_grid','4912659KWpLqJ','caps','Kucxr','IkEHO','XgdBm','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Playwright','279414CaXMMy','CrFns','chrome','__cloud_provider___','accessibilityPlatform','Tlams','cloudProvider','LfZJQ','browserVersion','zqiaX','csFzp','141432enjnnw','../../helpers/logger','sessionId','deviceName','bstack:options','browserName','latest','SGhfc','iQztK','kNfCI','warn','shouldPatchExecuteScript','browser_version','capabilities','533565VoPEYy','NEqrW','WebDriver','bsSessionId','KQbkK','config','includes','browser','ZXEcw','14tHqmmk','btcfW','hSyYy','1076000dxnAEh','243072iRMVZf','nabda','xeRWO','get','platform_version','IaAbo','969340WoibCc','../../helpers/accessibility-automation/helper','constructor','platformVersion','PKsrc'];a3_0x461c=function(){return _0x56840f;};return a3_0x461c();}const {isUndefined,nestedKeyValue}=require(a3_0x1dd421(0x184)),logger=require(a3_0x1dd421(0x1a3))['winstonLogger'],PlaywrightSessionDetails=require(a3_0x1dd421(0x185)),{isAccessibilityAutomationSession}=require(a3_0x1dd421(0x1c4)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x42f1a2=>{const _0x5bae14=a3_0x1dd421,_0x54bc1f={};_0x54bc1f[_0x5bae14(0x1bf)]=_0x5bae14(0x1a6),_0x54bc1f[_0x5bae14(0x1b1)]='platformVersion',_0x54bc1f[_0x5bae14(0x1ba)]=_0x5bae14(0x1c1),_0x54bc1f[_0x5bae14(0x1b8)]='osVersion',_0x54bc1f['PpoNf']='os_version';const _0x3c6cc3=_0x54bc1f;if(!_0x42f1a2)return null;const _0x48517c=_0x42f1a2[_0x3c6cc3[_0x5bae14(0x1bf)]],_0x1dcd9b=[_0x3c6cc3[_0x5bae14(0x1b1)],_0x3c6cc3['btcfW'],_0x3c6cc3[_0x5bae14(0x1b8)],_0x3c6cc3['PpoNf']];for(const _0x15c6b7 of _0x1dcd9b){if(_0x48517c&&_0x48517c[_0x15c6b7])return _0x48517c[_0x15c6b7];else{if(_0x42f1a2[_0x15c6b7])return _0x42f1a2[_0x15c6b7];}}return null;};exports[a3_0x1dd421(0x18e)]=_0x580abe=>{const _0x4991b5=a3_0x1dd421,_0x2018c1={'ZQaye':_0x4991b5(0x18f),'TeEoJ':function(_0x274450,_0x304afb){return _0x274450===_0x304afb;},'WkQnD':_0x4991b5(0x1b2),'IaAbo':function(_0x58eeae,_0x30ddab){return _0x58eeae(_0x30ddab);},'XgdBm':function(_0x29ea65,_0x56e992,_0x5c2557){return _0x29ea65(_0x56e992,_0x5c2557);},'KQbkK':_0x4991b5(0x1b5),'dPSpo':'desiredCapabilities','nabda':function(_0x4bf053,_0x21c3d5){return _0x4bf053===_0x21c3d5;},'PKsrc':_0x4991b5(0x196),'kNfCI':_0x4991b5(0x1b7),'iQztK':'browserWSEndpoint','YWoaM':_0x4991b5(0x191)};if(!_0x580abe)return null;let _0x53e578=global[_0x4991b5(0x19a)]||_0x2018c1[_0x4991b5(0x18c)];if(_0x2018c1[_0x4991b5(0x188)](_0x580abe[_0x4991b5(0x1c5)]['name'],_0x2018c1['WkQnD'])){const _0x1a92a1=_0x580abe['browser'];if(!_0x1a92a1)return null;const _0x4eb8f9=_0x1a92a1[_0x4991b5(0x1af)],_0x3f57e0=_0x2018c1[_0x4991b5(0x1c2)](getOSVersionFromCaps,_0x2018c1[_0x4991b5(0x194)](nestedKeyValue,_0x580abe,[_0x2018c1[_0x4991b5(0x1b4)],_0x2018c1['dPSpo']]));return{[_0x53e578]:{'browser':_0x4eb8f9[_0x4991b5(0x1a7)],'browser_version':_0x4eb8f9[_0x4991b5(0x19f)],'capabilities':_0x4eb8f9,'platform':_0x4eb8f9['platformName'],'platform_version':_0x4eb8f9[_0x4991b5(0x1c6)]||_0x3f57e0,'product':_0x2018c1['IaAbo'](getObservabilityLinkedProductName,_0x4eb8f9),'session_id':_0x1a92a1[_0x4991b5(0x1a4)]}};}else{if(_0x2018c1[_0x4991b5(0x1be)](_0x580abe[_0x4991b5(0x1c5)][_0x4991b5(0x18d)],_0x2018c1[_0x4991b5(0x1c7)])){const _0x379bd2=PlaywrightSessionDetails['getDetails']();_0x53e578=_0x379bd2[_0x4991b5(0x19d)]||_0x53e578;const _0x2997a2=_0x2018c1[_0x4991b5(0x194)](nestedKeyValue,_0x580abe,[_0x2018c1[_0x4991b5(0x1b4)],_0x2018c1[_0x4991b5(0x1ab)],_0x2018c1[_0x4991b5(0x1aa)]]),_0x424d30=_0x2997a2?JSON['parse'](new URL(_0x2997a2)['searchParams'][_0x4991b5(0x1c0)](_0x2018c1['YWoaM'])):{};return{[_0x53e578]:{'browser':_0x379bd2[_0x4991b5(0x1b7)]||_0x424d30[_0x4991b5(0x1a7)],'browser_version':_0x379bd2['browser_version']||_0x424d30[_0x4991b5(0x1ae)],'capabilities':_0x424d30,'platform':_0x379bd2[_0x4991b5(0x18b)],'platform_version':_0x379bd2[_0x4991b5(0x1c1)],'product':_0x2018c1[_0x4991b5(0x1c2)](getObservabilityLinkedProductName,_0x424d30),'session_id':_0x379bd2[_0x4991b5(0x1b3)]}};}}},exports[a3_0x1dd421(0x186)]=_0x3155c5=>{const _0x28ae92=a3_0x1dd421,_0x356655={'SGhfc':function(_0x566e19){return _0x566e19();},'uWtPp':function(_0x3500bd,_0x1d9643){return _0x3500bd===_0x1d9643;},'zqiaX':_0x28ae92(0x1a8),'hSyYy':function(_0x26ffed,_0x12e13e){return _0x26ffed>_0x12e13e;},'sGaCj':function(_0xfcbf4c,_0x5ab127){return _0xfcbf4c(_0x5ab127);},'TliSY':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Tlams':_0x28ae92(0x199),'Kucxr':'playwright-chromium','IkEHO':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','LfZJQ':function(_0xf708ac,_0x5a6fe3){return _0xf708ac(_0x5a6fe3);},'uZYYa':_0x28ae92(0x195)};if(_0x356655[_0x28ae92(0x1a9)](isAccessibilityAutomationSession)){const _0x3c1c27=_0x3155c5['browser'],_0x5d0475=_0x3c1c27['capabilities'];global[_0x28ae92(0x19b)]=!![],!(_0x356655[_0x28ae92(0x189)](_0x5d0475[_0x28ae92(0x19f)],_0x356655[_0x28ae92(0x1a0)])||_0x356655[_0x28ae92(0x1bb)](_0x356655['sGaCj'](parseInt,_0x5d0475[_0x28ae92(0x19f)]),0x5e))&&(logger[_0x28ae92(0x1ac)](_0x356655['TliSY']),global['accessibilityPlatform']=![]),!(_0x356655[_0x28ae92(0x189)](_0x5d0475[_0x28ae92(0x1a7)],_0x356655[_0x28ae92(0x19c)])||_0x356655['uWtPp'](_0x5d0475[_0x28ae92(0x1a7)],_0x356655[_0x28ae92(0x192)]))&&(logger[_0x28ae92(0x1ac)](_0x356655[_0x28ae92(0x193)]),global[_0x28ae92(0x19b)]=![]),!_0x356655[_0x28ae92(0x19e)](isUndefined,_0x5d0475[_0x28ae92(0x1a5)])&&(logger[_0x28ae92(0x1ac)](_0x356655['uZYYa']),global[_0x28ae92(0x19b)]=![]);}},exports[a3_0x1dd421(0x1ad)]=_0x209b73=>{const _0x1b2bd6=a3_0x1dd421,_0x24a22d={};_0x24a22d[_0x1b2bd6(0x1a1)]='browserstack_executor',_0x24a22d['CrFns']='browserstack_accessibility_automation_script';const _0x488a9c=_0x24a22d;if(!_0x209b73)return![];return!_0x209b73[_0x1b2bd6(0x1b6)](_0x488a9c[_0x1b2bd6(0x1a1)])&&!_0x209b73['includes'](_0x488a9c[_0x1b2bd6(0x198)]);};
@@ -1 +1 @@
1
- const a4_0x42ec70=a4_0x42b4;(function(_0x46eee0,_0xe71e65){const _0x4e609f=a4_0x42b4,_0x28b1da=_0x46eee0();while(!![]){try{const _0x42e75f=parseInt(_0x4e609f(0x1b4))/0x1*(parseInt(_0x4e609f(0xea))/0x2)+-parseInt(_0x4e609f(0x1bb))/0x3+parseInt(_0x4e609f(0x184))/0x4*(-parseInt(_0x4e609f(0x121))/0x5)+parseInt(_0x4e609f(0x13f))/0x6*(-parseInt(_0x4e609f(0x10b))/0x7)+-parseInt(_0x4e609f(0x19e))/0x8+parseInt(_0x4e609f(0x10f))/0x9+parseInt(_0x4e609f(0x198))/0xa*(parseInt(_0x4e609f(0x1d3))/0xb);if(_0x42e75f===_0xe71e65)break;else _0x28b1da['push'](_0x28b1da['shift']());}catch(_0x2080d9){_0x28b1da['push'](_0x28b1da['shift']());}}}(a4_0x4973,0x9bce4));const path=require(a4_0x42ec70(0xee)),fs=require('fs'),{v4:uuidv4}=require(a4_0x42ec70(0x137)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x42ec70(0x12c)),testOpsHelper=require(a4_0x42ec70(0x160)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x42ec70(0x197)),logger=require('../../helpers/logger')['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x42ec70(0x12b)),debug=testOpsHelper[a4_0x42ec70(0x1b6)],{processAccessibilityCaps}=require(a4_0x42ec70(0x1a5)),Constants=require(a4_0x42ec70(0x156)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x42ec70(0x19c)),STATE_PASSED=a4_0x42ec70(0x154),STATE_FAILED=a4_0x42ec70(0x17f),a4_0x42177d={};a4_0x42177d[a4_0x42ec70(0xdd)]=a4_0x42ec70(0x131),a4_0x42177d['TEST_RUN_FINISHED']='TestRunFinished',a4_0x42177d[a4_0x42ec70(0x149)]='TestRunSkipped',a4_0x42177d[a4_0x42ec70(0x1a9)]='HookRunStarted',a4_0x42177d[a4_0x42ec70(0x192)]=a4_0x42ec70(0x180);function a4_0x4973(){const _0x567b33=['TestRunStarted','name','PLAYWRIGHT_HUB_URL','resetSkipTestHooks','split','message','uuid','RPEpd','comment','file','ilcID','VbBKy','XjMjQ','failure_reason_expanded','1649508BRiuWV','HErLJ','forEach','XquDe','clhZa','stop','removeAllListeners','oHiKE','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','mpDPy','TEST_RUN_SKIPPED','skipped','now','hook_type','LogCreated','JwkWB','__platformCaps','Hfnpv','eiouK','syQBa','mapTestHooks','passed','finished','../utils/constants','_afterAll','sYXpK','hDLlY','esLwz','ZTjDf','groups','bddSteps','BUsUe','bddStepStart','../../helpers/test-observability/utils','qtrOF','ftfjd','join','DosMu','connectOverCDP','then','MBebH','testAnalyticsId','getRootParentFile','initializeBddStep','VPckW','logs','cwd','PSeYG','success','appendTestItemLog','parent','find','connect','JZzAW','_beforeAll','findGitConfig','cNotU','getCBTInfo','sHylO','getTime','match','_testEnv','OIbKO','errorsDetailed','failed','HookRunFinished','_beforeEach','TEST_RUN_FINISHED','pGzYG','8ncTfhk','_paths','qLKrv','body','driver','browserType.js','codeceptjs','lvuCM','MGzEP','defineProperty','MPMwV','__cloud_provider___','pyhxl','cPBnO','HOOK_RUN_FINISHED','accessibilityPlatform','2|3|4|0|1|5','PathHelper','sPpyr','../../helpers/test-observability/constants','310VElEQa','hooks','getHierarchy','event_type','../../helpers/testhub/utils.js','started','3012816LmcSWs','ZDOKt','launch','retryOf','statSync','backtrace','RYalh','../playwright/accessibility-helper','suites','config','concat','HOOK_RUN_STARTED','dSQuS','bhAsd','result','ddLgK','test_run','bVyTX','tags','failureData','ajMkb','RJsVs','325942hgPwHM','frameworkName','debug','BGisM','KjniG','fireEvent','currentTest','3353424NhtQWF','ktSbU','mqqNi','toUpperCase','bind','finished_at','startedAt','rgmUy','failure','pid','dtoip','start','obsBrowserTypeMockApplied','browserstack','getFailureType','YXlfs','location_prefix','lib','lWyZw','status','ctx','XSQos','\x20with\x20error\x20:\x20','qfqiB','238194hJgWRS','_afterEach','bELpn','test_run_uuid','TEST_RUN_STARTED','CBTSessionCreated','uploadEventData','faZxW','includes','oKJEf','pending','ObESl','test','YHsVp','sendCBTInfo','NBhct','stepAnalyticsId','6PXYdaI','text','shutdown','keyword','path','rZuzH','setupBrowserDetails','bddStepFinish','IgVTh','qGNTQ','enabled','ncmpc','VOlBE','length','dirname','getInstance','inspect','integrations','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','BYNGm','gRisz','bs:addLog:','type','TBJZa','stringify','mstPF','duration','toString','VVPGj','hookAnalyticsId','markedStatus','constructor','currentHook','7xnxfUK','ZOtDP','meta','rPDND','10034910MpNhVw','toISOString','sep','TEST_EVENTS','fWTSh','Playwright','title','STATE_FAILED','apply','OidHl','toLowerCase','LicZh','qIBKY','kOBLH','yZRMe','err','getHooksForTest','failure_backtrace','891455LTaaqe','push','nYHCa','hook_run','hook','VSfys','mjKFh','getHookType','bkYpy','string','../playwright/sessionDetails','../../helpers/helper','File\x20path\x20could\x20not\x20be\x20found','BcTnq','.git','aNDgT'];a4_0x4973=function(){return _0x567b33;};return a4_0x4973();}const TEST_EVENTS=a4_0x42177d,parseEvent=_0x3a576b=>{const _0x5b7392=a4_0x42ec70,_0x18a9fe={};_0x18a9fe[_0x5b7392(0x174)]=function(_0x231c0a,_0x3edfa0){return _0x231c0a<_0x3edfa0;},_0x18a9fe[_0x5b7392(0x103)]=function(_0x19fe98,_0xacbd4f){return _0x19fe98===_0xacbd4f;},_0x18a9fe[_0x5b7392(0x19f)]=_0x5b7392(0xe5),_0x18a9fe[_0x5b7392(0x123)]=function(_0x2d9e4c,_0x30cf2a){return _0x2d9e4c===_0x30cf2a;},_0x18a9fe[_0x5b7392(0x1d0)]=_0x5b7392(0x125),_0x18a9fe[_0x5b7392(0x1c5)]=_0x5b7392(0x14a),_0x18a9fe[_0x5b7392(0x150)]=function(_0x501369,_0x4b565c){return _0x501369===_0x4b565c;},_0x18a9fe[_0x5b7392(0x13d)]=_0x5b7392(0x19d),_0x18a9fe[_0x5b7392(0x179)]=function(_0x317209,_0x43fb71){return _0x317209===_0x43fb71;},_0x18a9fe[_0x5b7392(0x127)]=_0x5b7392(0x155);const _0x5a2369=_0x18a9fe,_0x5341a4=_0x3a576b['match'](/^(.*)Run(.*)$/);if(!_0x5341a4)return null;if(_0x5a2369['JZzAW'](_0x5341a4['length'],0x3))return null;const _0x2348f9=_0x5341a4[0x1][_0x5b7392(0x119)](),_0x4ef4ae=_0x5341a4[0x2][_0x5b7392(0x119)]();return{'test':_0x5a2369[_0x5b7392(0x103)](_0x2348f9,_0x5a2369[_0x5b7392(0x19f)]),'hook':_0x5a2369[_0x5b7392(0x123)](_0x2348f9,_0x5a2369[_0x5b7392(0x1d0)]),'skipped':_0x5a2369['nYHCa'](_0x4ef4ae,_0x5a2369['dtoip']),'started':_0x5a2369['Hfnpv'](_0x4ef4ae,_0x5a2369[_0x5b7392(0x13d)]),'finished':_0x5a2369[_0x5b7392(0x179)](_0x4ef4ae,_0x5a2369[_0x5b7392(0x127)])};},mockPWBrowserType=_0x195b93=>{const _0x468305=a4_0x42ec70,_0x52a75b={'aNDgT':function(_0x56ef6f,_0x42c07c){return _0x56ef6f===_0x42c07c;},'bhAsd':_0x468305(0x12a),'BGisM':function(_0x47381e,_0x5c3a43,_0x4ce11b){return _0x47381e(_0x5c3a43,_0x4ce11b);},'qfqiB':'wsEndpoint','ptjaX':function(_0x308c85,_0x3624dd){return _0x308c85(_0x3624dd);},'FIxFt':_0x468305(0x1c8),'cJnkT':function(_0x1b246b,_0x250fd7,_0x5964f6){return _0x1b246b(_0x250fd7,_0x5964f6);},'syQBa':_0x468305(0x1cc),'jArMT':'client','lxINy':_0x468305(0x189),'hDLlY':function(_0x3c5c68,_0x2d9b9f){return _0x3c5c68(_0x2d9b9f);},'ncmpc':function(_0x1f84ce,_0x47f285){return _0x1f84ce(_0x47f285);},'ajMkb':'Not\x20able\x20to\x20import\x20Browser','uiuqW':'connect','DosMu':'launch'},_0x3969ba=path[_0x468305(0x163)](_0x52a75b[_0x468305(0x152)],_0x52a75b['jArMT'],_0x52a75b['lxINy']),_0x10ca7f=_0x52a75b[_0x468305(0x159)](importFileFromPWCore,_0x3969ba);if(!_0x10ca7f){_0x52a75b[_0x468305(0xf5)](debug,_0x52a75b[_0x468305(0x1b2)]);return;}const _0x350dd2=_0x10ca7f['BrowserType'],_0x449ae8=_0x350dd2['prototype'];if(_0x449ae8[_0x468305(0x1c7)])return;const _0x54cbe6=_0x449ae8[_0x468305(0x173)];Object['defineProperty'](_0x449ae8,_0x52a75b['uiuqW'],{'get':function(){const _0x1dd54b=_0x468305,_0x16938a={'BcTnq':function(_0x2438b6,_0x494ab6){const _0x938ab3=a4_0x42b4;return _0x52a75b[_0x938ab3(0x130)](_0x2438b6,_0x494ab6);},'bVyTX':_0x52a75b[_0x1dd54b(0x1ab)],'YXlfs':function(_0x33e59f,_0x124b9c,_0x4d44a5){const _0x423efa=_0x1dd54b;return _0x52a75b[_0x423efa(0x1b7)](_0x33e59f,_0x124b9c,_0x4d44a5);},'oKJEf':_0x52a75b[_0x1dd54b(0x1d2)],'dSQuS':function(_0x171fa6,_0x17931c){return _0x52a75b['ptjaX'](_0x171fa6,_0x17931c);},'qIBKY':_0x52a75b['FIxFt'],'RYalh':function(_0x54e2b0,_0x132b49,_0x28585f){return _0x52a75b['cJnkT'](_0x54e2b0,_0x132b49,_0x28585f);}};return async function _0x53a092(_0xdcef26,_0x2a5532){const _0x514bef=_0x1dd54b,_0x444f79={'oHiKE':function(_0x5e80b6,_0x7c915b){const _0x1fdb5d=a4_0x42b4;return _0x16938a[_0x1fdb5d(0x12e)](_0x5e80b6,_0x7c915b);},'rPDND':_0x16938a[_0x514bef(0x1af)]},_0x4f56c3=_0x16938a[_0x514bef(0x1ca)](nestedKeyValue,_0xdcef26,[_0x16938a[_0x514bef(0xe2)]])||_0xdcef26;let _0x3b2609=null,_0x1767e4=null;try{[_0x1767e4,_0x3b2609]=_0x4f56c3?_0x16938a[_0x514bef(0x1aa)](parseWSEndpoint,_0x4f56c3):[null,null],global[_0x514bef(0x14f)]=_0x3b2609,_0x1767e4[_0x514bef(0xe1)](_0x16938a[_0x514bef(0x11b)])&&(global[_0x514bef(0x18f)]=_0x16938a['qIBKY']);}catch(_0x1e4998){logger[_0x514bef(0x1b6)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x4f56c3+'\x20'+_0x1e4998);}_0x16938a[_0x514bef(0x1a4)](processAccessibilityCaps,_0x3b2609,_0x1767e4);if(global[_0x514bef(0x193)]){const _0x57fb52=await _0x449ae8[_0x514bef(0x165)]['apply'](this,[''+Constants[_0x514bef(0x133)]+_0x16938a[_0x514bef(0x1aa)](encodeURIComponent,JSON[_0x514bef(0x102)](_0x3b2609))]);return PlaywrightSessionDetails[_0x514bef(0xf0)](_0x57fb52,_0x195b93,_0x4f56c3),_0x57fb52;}return _0x54cbe6[_0x514bef(0x117)](this,arguments)[_0x514bef(0x166)](_0x3caab0=>{const _0x182362=_0x514bef;let _0x3071e4=_0xdcef26['wsEndpoint'];return _0x444f79[_0x182362(0x146)](typeof _0xdcef26,_0x444f79[_0x182362(0x10e)])&&(_0x3071e4=_0xdcef26),PlaywrightSessionDetails['setupBrowserDetails'](_0x3caab0,_0x195b93,_0x3071e4),_0x3caab0;});};}});const _0x3fea92=_0x449ae8[_0x468305(0x1a0)];Object[_0x468305(0x18d)](_0x449ae8,_0x52a75b[_0x468305(0x164)],{'get':function(){return async function _0x5ccbcb(){const _0x1d14a8=a4_0x42b4;return _0x3fea92[_0x1d14a8(0x117)](this,arguments)[_0x1d14a8(0x166)](_0x5a35f0=>{const _0x3d7ef9=_0x1d14a8;return PlaywrightSessionDetails[_0x3d7ef9(0xf0)](_0x5a35f0,null),_0x5a35f0;});};}});};function a4_0x42b4(_0x9383b8,_0x12f636){const _0x49731d=a4_0x4973();return a4_0x42b4=function(_0x42b4a3,_0x59b56a){_0x42b4a3=_0x42b4a3-0xdc;let _0x5a5832=_0x49731d[_0x42b4a3];return _0x5a5832;},a4_0x42b4(_0x9383b8,_0x12f636);}class O11yHelper{[a4_0x42ec70(0x1ba)]=null;[a4_0x42ec70(0x10a)]=null;[a4_0x42ec70(0xf4)]=![];[a4_0x42ec70(0x1b5)]=![];constructor(_0x3dbb4b,_0x288f98){const _0x331cf1=a4_0x42ec70,_0x2e902f={'RJsVs':_0x331cf1(0x194),'fbSwx':function(_0x451adb){return _0x451adb();},'ugntE':function(_0x53a8cd){return _0x53a8cd();},'ddLgK':function(_0x419f4c,_0xe6792d){return _0x419f4c===_0xe6792d;},'YTQIA':_0x331cf1(0x114),'qLKrv':function(_0x1003e2,_0x322c13){return _0x1003e2(_0x322c13);}},_0xeae3bd=_0x2e902f[_0x331cf1(0x1b3)][_0x331cf1(0x135)]('|');let _0x6f231e=0x0;while(!![]){switch(_0xeae3bd[_0x6f231e++]){case'0':this['_testEnv']=_0x2e902f['fbSwx'](getTestEnv);continue;case'1':this['_paths']=new testOpsHelper[(_0x331cf1(0x195))]({'cwd':process[_0x331cf1(0x16d)]()},this[_0x331cf1(0x17c)][_0x331cf1(0x1cb)]);continue;case'2':this[_0x331cf1(0xf4)]=_0x2e902f['ugntE'](shouldProcessEventForTesthub);continue;case'3':this[_0x331cf1(0x1b5)]=_0x288f98['frameworkName'];continue;case'4':this[_0x331cf1(0x188)]=_0x3dbb4b;continue;case'5':this[_0x331cf1(0x188)]&&_0x2e902f[_0x331cf1(0x1ad)](this[_0x331cf1(0x188)][_0x331cf1(0x109)][_0x331cf1(0x132)],_0x2e902f['YTQIA'])&&_0x2e902f[_0x331cf1(0x186)](mockPWBrowserType,null);continue;}break;}}[a4_0x42ec70(0x1c6)](){const _0x46eadc=a4_0x42ec70;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process[_0x46eadc(0x145)](_0x46eadc(0xff)+process[_0x46eadc(0x1c4)]),process['on'](_0x46eadc(0xff)+process[_0x46eadc(0x1c4)],this[_0x46eadc(0x170)][_0x46eadc(0x1bf)](this));}async[a4_0x42ec70(0x144)](){const _0x474f31=a4_0x42ec70;await RequestQueueHandler[_0x474f31(0xf9)]()[_0x474f31(0xec)]();}async[a4_0x42ec70(0x170)](_0xcfee22){const _0xf7969e=a4_0x42ec70,_0x229b9f={'MGzEP':_0xf7969e(0x14d),'TBJZa':function(_0x28a83f,_0x27661f){return _0x28a83f(_0x27661f);}};try{this[_0xf7969e(0x10a)]&&!this[_0xf7969e(0x10a)][_0xf7969e(0x108)]&&(_0xcfee22['hook_run_uuid']=this[_0xf7969e(0x10a)][_0xf7969e(0x107)]);!_0xcfee22['hook_run_uuid']&&this[_0xf7969e(0x1ba)]&&!this[_0xf7969e(0x1ba)][_0xf7969e(0x108)]&&(_0xcfee22['test_run_uuid']=this['currentTest'][_0xf7969e(0x168)]);if(_0xcfee22['hook_run_uuid']||_0xcfee22[_0xf7969e(0xdc)]){const _0x568be4={};_0x568be4[_0xf7969e(0x19b)]=_0x229b9f[_0xf7969e(0x18c)],_0x568be4[_0xf7969e(0x16c)]=[_0xcfee22],await SessionHandler[_0xf7969e(0xdf)](_0x568be4);}}catch(_0x3c24c7){_0x229b9f[_0xf7969e(0x101)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x3c24c7);}}async[a4_0x42ec70(0xe7)](_0x1361c2){const _0x385825=a4_0x42ec70,_0x58d326={'VPckW':_0x385825(0xde),'gRisz':function(_0x2b5711,_0x13383f){return _0x2b5711(_0x13383f);}};if(!this['enabled'])return;const _0x2f0e02=this[_0x385825(0x178)](this[_0x385825(0x188)]);try{const _0x3eed4d={};_0x3eed4d[_0x385825(0x137)]=_0x1361c2,_0x3eed4d['integrations']=_0x2f0e02;const _0x2d59aa=_0x3eed4d,_0x57f9f0={};_0x57f9f0[_0x385825(0x19b)]=_0x58d326[_0x385825(0x16b)],_0x57f9f0['test_run']=_0x2d59aa,await SessionHandler[_0x385825(0xdf)](_0x57f9f0);}catch(_0x46df63){_0x58d326[_0x385825(0xfe)](debug,_0x385825(0xfc)+_0x46df63);}}['getCBTInfo'](_0x230f6e){const _0x27da15=a4_0x42ec70,_0x34744f={'pyhxl':function(_0xa57995,_0x1edb4e){return _0xa57995(_0x1edb4e);}};return _0x34744f[_0x27da15(0x190)](fetchPlatformDetails,_0x230f6e);}[a4_0x42ec70(0x134)]=_0x2f511d=>{const _0x27953d=a4_0x42ec70,_0x4e269a={};_0x4e269a['ktSbU']=_0x27953d(0x181),_0x4e269a[_0x27953d(0x140)]=_0x27953d(0x1d4);const _0x50fbb7=_0x4e269a;if(!_0x2f511d||!_0x2f511d[_0x27953d(0x171)])return;[_0x50fbb7[_0x27953d(0x1bc)],_0x50fbb7[_0x27953d(0x140)]][_0x27953d(0x141)](_0x368f74=>{const _0x59ac49=_0x27953d,_0x9a8e2=_0x2f511d[_0x59ac49(0x171)][_0x368f74];_0x9a8e2[_0x59ac49(0x141)](_0x41ebe3=>{const _0x5cffe1=_0x59ac49;_0x41ebe3[_0x5cffe1(0x107)]&&(_0x41ebe3[_0x5cffe1(0x107)]=null);});});};['mapTestHooks'](_0x4e0dd1){const _0x4c3a57=a4_0x42ec70,_0x1ade2f={'qGNTQ':_0x4c3a57(0x18a),'bkYpy':function(_0x230909){return _0x230909();},'ObESl':function(_0x172025,_0x5111b5){return _0x172025===_0x5111b5;},'ZOtDP':_0x4c3a57(0x1d4),'MAJMM':_0x4c3a57(0x175),'fWTSh':_0x4c3a57(0x157),'lvuCM':'_beforeEach'};if(!_0x4e0dd1||!_0x4e0dd1[_0x4c3a57(0x171)])return;[_0x1ade2f['MAJMM'],_0x1ade2f[_0x4c3a57(0x113)],_0x1ade2f[_0x4c3a57(0x18b)],_0x1ade2f[_0x4c3a57(0x10c)]]['forEach'](_0x4650c6=>{const _0x50c96c=_0x4c3a57,_0x2f4804=_0x4e0dd1[_0x50c96c(0x171)][_0x4650c6]||[];_0x2f4804[_0x50c96c(0x141)](_0x39162e=>{const _0x413ead=_0x50c96c;if(_0x39162e['title'][_0x413ead(0xe1)](_0x1ade2f[_0x413ead(0xf3)]))return;if(!_0x39162e[_0x413ead(0x107)])_0x39162e[_0x413ead(0x107)]=_0x1ade2f[_0x413ead(0x129)](uuidv4);else _0x39162e[_0x413ead(0x108)]&&_0x1ade2f[_0x413ead(0xe4)](_0x4650c6,_0x1ade2f[_0x413ead(0x10c)])&&(_0x39162e[_0x413ead(0x107)]=_0x1ade2f[_0x413ead(0x129)](uuidv4),delete _0x39162e[_0x413ead(0x108)]);});}),this[_0x4c3a57(0x153)](_0x4e0dd1[_0x4c3a57(0x171)]);}[a4_0x42ec70(0x11f)](_0x24648d){const _0x994016=a4_0x42ec70,_0x17564d={};_0x17564d[_0x994016(0x16e)]=_0x994016(0x175),_0x17564d['BUsUe']=_0x994016(0x157),_0x17564d[_0x994016(0x15a)]=_0x994016(0x181),_0x17564d[_0x994016(0x142)]=_0x994016(0x1d4);const _0x4c7ab6=_0x17564d;if(!_0x24648d||!_0x24648d[_0x994016(0x171)])return[];const _0x5efa2d=[];return[_0x4c7ab6[_0x994016(0x16e)],_0x4c7ab6[_0x994016(0x15e)],_0x4c7ab6['esLwz'],_0x4c7ab6[_0x994016(0x142)]][_0x994016(0x141)](_0x583b11=>{const _0x6491c6=_0x994016,_0x2bcec7=_0x24648d['parent'][_0x583b11]||[];_0x2bcec7[_0x6491c6(0x141)](_0x59c124=>{const _0x14dc28=_0x6491c6;_0x59c124[_0x14dc28(0x107)]&&_0x5efa2d[_0x14dc28(0x122)](_0x59c124[_0x14dc28(0x107)]);});}),[][_0x994016(0x1a8)](_0x5efa2d,this[_0x994016(0x11f)](_0x24648d[_0x994016(0x171)]));}[a4_0x42ec70(0x128)](_0xb0972b){const _0x444b19=a4_0x42ec70,_0x17a1c9=/^"(?<hook>.*)" hook:.*$/,_0x1cd3b0=_0xb0972b[_0x444b19(0x115)],_0x21bb2b=_0x1cd3b0[_0x444b19(0x17b)](_0x17a1c9);if(_0x21bb2b&&_0x21bb2b['groups'])return _0x21bb2b[_0x444b19(0x15c)]['hook'][_0x444b19(0x1be)]()['replace']('\x20','_');return null;}[a4_0x42ec70(0x176)](_0x3d3e3b){const _0x501a1d=a4_0x42ec70,_0x1e3205={};_0x1e3205[_0x501a1d(0x183)]=function(_0x26a344,_0x69df5a){return _0x26a344===_0x69df5a;},_0x1e3205[_0x501a1d(0x1cd)]=function(_0x56c358,_0x29b693){return _0x56c358===_0x29b693;},_0x1e3205[_0x501a1d(0x143)]=function(_0x8c66a1,_0x1ef70c){return _0x8c66a1===_0x1ef70c;},_0x1e3205[_0x501a1d(0x15b)]=_0x501a1d(0x12f),_0x1e3205['qtrOF']=_0x501a1d(0x1a7);const _0x386114=_0x1e3205,_0x32033a=path[_0x501a1d(0x111)];if(_0x386114[_0x501a1d(0x183)](_0x3d3e3b,null)||_0x386114[_0x501a1d(0x1cd)](_0x3d3e3b,'')||_0x386114[_0x501a1d(0x183)](_0x3d3e3b,_0x32033a)||_0x386114[_0x501a1d(0x143)](_0x3d3e3b,path[_0x501a1d(0xf8)](_0x3d3e3b)))return null;try{return fs[_0x501a1d(0x1a2)](path['join'](_0x3d3e3b,_0x386114[_0x501a1d(0x15b)],_0x386114[_0x501a1d(0x161)])),_0x3d3e3b;}catch(_0x53582d){const _0x5aac21=path[_0x501a1d(0xf8)](_0x3d3e3b);return this[_0x501a1d(0x176)](_0x5aac21);}}['getRootParentFile'](_0x190b70){const _0x4b426a=a4_0x42ec70,_0x1d86d1={};_0x1d86d1['RPEpd']=function(_0x115701,_0x3b5294){return _0x115701>_0x3b5294;};const _0x1e8a7f=_0x1d86d1;if(_0x190b70[_0x4b426a(0x13a)])return _0x190b70['file'];if(_0x190b70[_0x4b426a(0x1cf)]){const _0x29d951=_0x190b70[_0x4b426a(0x1cf)][_0x4b426a(0x1ba)]?this['getRootParentFile'](_0x190b70['ctx']['currentTest']):null;if(_0x29d951)return _0x29d951;}if(_0x190b70['parent']){const _0x40607a=this[_0x4b426a(0x169)](_0x190b70[_0x4b426a(0x171)])||(_0x190b70[_0x4b426a(0x171)][_0x4b426a(0x1cf)]&&_0x190b70[_0x4b426a(0x171)][_0x4b426a(0x1cf)][_0x4b426a(0x1ba)]?this['getRootParentFile'](_0x190b70['parent']['ctx']['currentTest']):null);if(_0x40607a)return _0x40607a;_0x190b70[_0x4b426a(0x171)][_0x4b426a(0x1a6)]&&_0x1e8a7f[_0x4b426a(0x138)](_0x190b70[_0x4b426a(0x171)][_0x4b426a(0x1a6)][_0x4b426a(0xf7)],0x0)&&_0x190b70[_0x4b426a(0x171)][_0x4b426a(0x1a6)]['forEach'](_0x295921=>{const _0x5a4ea8=_0x4b426a,_0x4b13c6=_0x295921[_0x5a4ea8(0x1cf)]?this[_0x5a4ea8(0x169)](_0x295921[_0x5a4ea8(0x1cf)]):null;if(_0x4b13c6)return _0x4b13c6;});}return null;}[a4_0x42ec70(0x19a)](_0x4745d9){const _0x1f04a1=a4_0x42ec70,_0x56383e={};_0x56383e[_0x1f04a1(0x11d)]=function(_0x1cf5e2,_0x56acc8){return _0x1cf5e2!==_0x56acc8;};const _0xa4ff35=_0x56383e,_0x11541d=[];if(_0x4745d9&&_0x4745d9['parent']){let _0xe84802=_0x4745d9[_0x1f04a1(0x171)];while(_0xe84802&&_0xa4ff35[_0x1f04a1(0x11d)](_0xe84802['title'],'')){_0x11541d[_0x1f04a1(0x122)](_0xe84802[_0x1f04a1(0x115)]),_0xe84802=_0xe84802[_0x1f04a1(0x171)];}}return _0x11541d;}['captureEvent'](_0x3e1ef1,_0x82913f,_0x57177a=undefined){const _0x3997e3=a4_0x42ec70,_0x41c0a3={'kOBLH':function(_0xbf108f,_0x1c3c1d){return _0xbf108f(_0x1c3c1d);},'MPMwV':function(_0x499f64){return _0x499f64();},'Vteic':function(_0x1e2724){return _0x1e2724();},'cPBnO':function(_0x2844e6){return _0x2844e6();},'JwkWB':'util','mqqNi':_0x3997e3(0x11e),'hobdI':function(_0x4bad11,_0x4ba02f){return _0x4bad11!==_0x4ba02f;},'mpDPy':function(_0x66d859,_0x2c1565){return _0x66d859!==_0x2c1565;},'VbBKy':_0x3997e3(0x12d),'LicZh':_0x3997e3(0xe3),'VSfys':'failed','NBhct':_0x3997e3(0x154),'ftfjd':_0x3997e3(0x14a),'HWIIa':'javascript','eiouK':function(_0x32c1eb,_0x333389){return _0x32c1eb-_0x333389;},'MBebH':function(_0x1c2883,_0x372c1b,_0x192b3f,_0x3ebff9,_0x4b6634){return _0x1c2883(_0x372c1b,_0x192b3f,_0x3ebff9,_0x4b6634);},'GQiPF':function(_0x8ebd,_0x2fbb2d){return _0x8ebd!==_0x2fbb2d;},'sYXpK':_0x3997e3(0xfb),'OIbKO':_0x3997e3(0x10d),'ilcID':_0x3997e3(0x1c3),'IgVTh':_0x3997e3(0x120),'KjniG':_0x3997e3(0x1a3),'OidHl':_0x3997e3(0x13e),'cNotU':'expanded','sPpyr':function(_0x254bb1,_0x259238){return _0x254bb1===_0x259238;},'BYNGm':_0x3997e3(0x124),'rgmUy':_0x3997e3(0x1ae)};if(!this[_0x3997e3(0xf4)])return;try{if(_0x82913f['fn']&&_0x82913f['fn']['toString']()[_0x3997e3(0x17b)](/browserstack internal helper hook/))return;const _0x71b57e=_0x41c0a3[_0x3997e3(0x11c)](parseEvent,_0x3e1ef1);if(!_0x71b57e)return;if(_0x71b57e['test']){this[_0x3997e3(0x1ba)]=_0x82913f,this[_0x3997e3(0x10a)]=null;if(_0x71b57e[_0x3997e3(0x19d)]||_0x71b57e[_0x3997e3(0x14a)]){_0x82913f[_0x3997e3(0x1c1)]=new Date(),_0x82913f['markedStatus']=![];if(!_0x82913f[_0x3997e3(0x168)])_0x82913f[_0x3997e3(0x168)]=_0x41c0a3['MPMwV'](uuidv4);else _0x82913f[_0x3997e3(0x108)]&&(!_0x82913f[_0x3997e3(0x1a1)]&&(_0x82913f['retryOf']=_0x82913f[_0x3997e3(0x168)]),_0x82913f[_0x3997e3(0x168)]=_0x41c0a3[_0x3997e3(0x18e)](uuidv4));}}else{if(_0x71b57e[_0x3997e3(0x125)]){this[_0x3997e3(0x10a)]=_0x82913f;if(_0x71b57e['started']){_0x82913f[_0x3997e3(0x1c1)]=new Date(),_0x82913f['markedStatus']=![];if(!_0x82913f[_0x3997e3(0x107)])_0x82913f[_0x3997e3(0x107)]=_0x41c0a3['Vteic'](uuidv4);else _0x82913f[_0x3997e3(0x107)]&&_0x82913f[_0x3997e3(0x108)]&&(_0x82913f[_0x3997e3(0x107)]=_0x41c0a3[_0x3997e3(0x191)](uuidv4));}}}if(_0x71b57e['finished']&&_0x82913f[_0x3997e3(0x108)])return;let _0x2128ba;try{_0x2128ba=this[_0x3997e3(0x169)](_0x82913f);}catch(_0x2638fc){logger[_0x3997e3(0x1b6)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x2638fc),_0x2128ba=null;}const _0x3135bf=_0x41c0a3[_0x3997e3(0x11c)](require,_0x41c0a3[_0x3997e3(0x14e)]);let _0x1526e7=[];_0x57177a&&(_0x1526e7=[_0x57177a,_0x41c0a3[_0x3997e3(0x1bd)]]);const _0x5a8c3a=_0x41c0a3['hobdI'](_0x82913f[_0x3997e3(0x17e)],undefined)?_0x3135bf[_0x3997e3(0xfa)](_0x82913f[_0x3997e3(0x17e)][0x0]):_0x41c0a3[_0x3997e3(0x148)](_0x57177a,undefined)?_0x57177a[_0x3997e3(0x105)]():undefined,_0x420b73=_0x2128ba?this[_0x3997e3(0x176)](_0x2128ba):null,_0x4bd9de=_0x2128ba?this[_0x3997e3(0x185)]['prefixTestPath'](this[_0x3997e3(0x169)](_0x82913f)):_0x41c0a3[_0x3997e3(0x13c)];let _0x20b7c4=_0x41c0a3[_0x3997e3(0x11a)];const _0x5d2a99=!_0x71b57e[_0x3997e3(0x19d)]?new Date()[_0x3997e3(0x110)]():null;if(_0x71b57e['finished'])_0x20b7c4=_0x57177a?_0x41c0a3[_0x3997e3(0x126)]:_0x41c0a3[_0x3997e3(0xe8)],_0x82913f[_0x3997e3(0x108)]=!![];else _0x71b57e[_0x3997e3(0x14a)]&&(_0x20b7c4=_0x41c0a3[_0x3997e3(0x162)],_0x82913f['markedStatus']=!![]);const _0x29fd60={'framework':this['frameworkName'],'uuid':_0x82913f[_0x3997e3(0x168)]||_0x82913f[_0x3997e3(0x107)],'name':_0x82913f[_0x3997e3(0x115)],'body':{'lang':_0x41c0a3['HWIIa'],'code':_0x82913f[_0x3997e3(0x187)][_0x3997e3(0x105)]()},'type':_0x82913f[_0x3997e3(0x100)],'scope':_0x82913f['fullTitle'](),'scopes':this[_0x3997e3(0x19a)](_0x82913f),'file_name':_0x4bd9de,'vc_filepath':_0x420b73?path['relative'](_0x420b73,_0x2128ba):null,'location':_0x4bd9de,'result':_0x20b7c4,'failure_reason':_0x5a8c3a,'duration_in_ms':_0x82913f[_0x3997e3(0x104)]||(_0x71b57e[_0x3997e3(0x155)]||_0x71b57e[_0x3997e3(0x14a)])?_0x41c0a3[_0x3997e3(0x151)](Date[_0x3997e3(0x14b)](),new Date(_0x82913f[_0x3997e3(0x1c1)])[_0x3997e3(0x17a)]()):null,'started_at':new Date(_0x82913f['startedAt'])[_0x3997e3(0x110)](),'finished_at':_0x5d2a99,'failure':testOpsHelper[_0x3997e3(0x1b1)]['apply'](null,_0x1526e7),'failure_type':!_0x5a8c3a?null:testOpsHelper[_0x3997e3(0x1c9)](_0x5a8c3a),'retry_of':_0x82913f[_0x3997e3(0x1a1)]||null,'tags':_0x82913f[_0x3997e3(0x1b0)]||[],'customRerunParam':{'rerun_name':_0x82913f['fullTitle']()}};_0x41c0a3[_0x3997e3(0x167)](appendTesthubParams,_0x29fd60,_0x3e1ef1,_0x82913f,FRAMEWORKS['CODECEPT']);if(_0x71b57e['hook'])[_0x29fd60[_0x3997e3(0x14c)],_0x29fd60[_0x3997e3(0x132)]]=[this['getHookType'](_0x82913f),_0x82913f[_0x3997e3(0x1cf)]['test'][_0x3997e3(0x115)]],_0x71b57e[_0x3997e3(0x155)]?_0x41c0a3['GQiPF'](_0x29fd60[_0x3997e3(0x1ac)],_0x41c0a3[_0x3997e3(0x126)])&&(_0x29fd60[_0x3997e3(0x1ac)]=_0x41c0a3[_0x3997e3(0xe8)]):_0x29fd60['body']={};else _0x71b57e[_0x3997e3(0xe5)]&&(this[_0x3997e3(0x153)](_0x82913f),_0x71b57e[_0x3997e3(0x14a)]&&this['resetSkipTestHooks'](_0x82913f),(_0x71b57e[_0x3997e3(0x155)]||_0x71b57e['skipped'])&&(_0x29fd60[_0x3997e3(0x199)]=this[_0x3997e3(0x11f)](_0x82913f)));this[_0x3997e3(0x188)]&&(_0x71b57e['started']||_0x71b57e[_0x3997e3(0x14a)])&&(_0x29fd60[_0x41c0a3[_0x3997e3(0x158)]]=this[_0x3997e3(0x178)](this['driver']));_0x71b57e[_0x3997e3(0xe5)]&&_0x71b57e[_0x3997e3(0x155)]&&_0x82913f[_0x3997e3(0x15d)]&&(_0x29fd60[_0x41c0a3[_0x3997e3(0x17d)]]={'feature':{'name':_0x82913f[_0x3997e3(0x171)]['feature'][_0x3997e3(0x132)],'path':_0x29fd60['file_name'],'description':_0x82913f['parent'][_0x3997e3(0x139)]},'scenario':{'name':_0x82913f[_0x3997e3(0x115)]},'steps':_0x82913f[_0x3997e3(0x15d)]});const _0x42dfa1=_0x29fd60[_0x41c0a3[_0x3997e3(0x13b)]][0x0];_0x42dfa1&&(_0x29fd60[_0x41c0a3[_0x3997e3(0xf2)]]=_0x42dfa1[_0x41c0a3['KjniG']],_0x29fd60[_0x41c0a3[_0x3997e3(0x118)]]=_0x42dfa1[_0x41c0a3[_0x3997e3(0x177)]]);if(_0x82913f[_0x3997e3(0x15d)])for(const _0x19ffbd of _0x82913f[_0x3997e3(0x15d)]){!_0x19ffbd[_0x3997e3(0x1c0)]&&(_0x19ffbd['finished_at']=new Date()[_0x3997e3(0x110)](),_0x41c0a3[_0x3997e3(0x196)](_0x19ffbd[_0x3997e3(0x1ac)],_0x41c0a3[_0x3997e3(0x11a)])&&(_0x42dfa1?(_0x19ffbd['result']=_0x41c0a3['VSfys'],_0x19ffbd[_0x3997e3(0x1c3)]=_0x42dfa1[_0x41c0a3[_0x3997e3(0x1b8)]][0x0]):_0x19ffbd['result']=_0x41c0a3[_0x3997e3(0xe8)]));}const _0x168fb7={};_0x168fb7[_0x3997e3(0x19b)]=_0x71b57e[_0x3997e3(0x14a)]?TEST_EVENTS[_0x3997e3(0x182)]:_0x3e1ef1;const _0x29fa26=_0x168fb7;return _0x71b57e['hook']?_0x29fa26[_0x41c0a3[_0x3997e3(0xfd)]]=_0x29fd60:_0x29fa26[_0x41c0a3[_0x3997e3(0x1c2)]]=_0x29fd60,_0x29fa26;}catch(_0x472664){logger[_0x3997e3(0x1b6)](_0x3997e3(0x147)+_0x3e1ef1+_0x3997e3(0x1d1)+_0x472664);}}async[a4_0x42ec70(0x1b9)](_0x357d28,_0x5316b8){const _0x1fe52f=a4_0x42ec70;if(!this[_0x1fe52f(0xf4)]||!_0x5316b8||!_0x357d28)return![];try{return await SessionHandler[_0x1fe52f(0xdf)](_0x5316b8);}catch(_0x516554){logger[_0x1fe52f(0x1b6)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x357d28+_0x1fe52f(0x1d1)+_0x516554);}}[a4_0x42ec70(0x16a)](_0x594ba2){const _0x314f19=a4_0x42ec70,_0x567b60={};_0x567b60[_0x314f19(0xe6)]='pending';const _0x5a4397=_0x567b60;return{'id':_0x594ba2[_0x314f19(0xe9)],'text':_0x594ba2[_0x314f19(0xeb)],'keyword':_0x594ba2[_0x314f19(0xed)],'started_at':_0x594ba2['startedAt'][_0x314f19(0x110)](),'result':_0x5a4397[_0x314f19(0xe6)]};}[a4_0x42ec70(0x15f)](_0x56993e){const _0x46b919=a4_0x42ec70,_0x3d670a={'bELpn':function(_0x402c58){return _0x402c58();}};!this['currentTest'][_0x46b919(0x15d)]&&(this[_0x46b919(0x1ba)][_0x46b919(0x15d)]=[]),!_0x56993e[_0x46b919(0xe9)]&&(_0x56993e[_0x46b919(0xe9)]=_0x3d670a[_0x46b919(0x1d5)](uuidv4),_0x56993e[_0x46b919(0x1c1)]=new Date(),this['currentTest'][_0x46b919(0x15d)]['push'](this[_0x46b919(0x16a)](_0x56993e)));}[a4_0x42ec70(0xf1)](_0x494542){const _0x2d257d=a4_0x42ec70,_0x530469={'VOlBE':function(_0x33c0ad,_0x8edb44){return _0x33c0ad(_0x8edb44);},'rZuzH':_0x2d257d(0x16f),'VVPGj':_0x2d257d(0xe3),'lrvsp':_0x2d257d(0x154),'faZxW':function(_0x586c03,_0x14784f){return _0x586c03-_0x14784f;}};let _0x2fde77=this[_0x2d257d(0x1ba)][_0x2d257d(0x15d)][_0x2d257d(0x172)](_0x520495=>_0x520495['id']===_0x494542[_0x2d257d(0xe9)]);_0x530469[_0x2d257d(0xf6)](isUndefined,_0x2fde77)&&(_0x2fde77=this[_0x2d257d(0x16a)](_0x494542)),_0x2fde77[_0x2d257d(0x1ac)]=[_0x530469[_0x2d257d(0xef)],_0x530469[_0x2d257d(0x106)]]['includes'](_0x494542['status'])?_0x530469['lrvsp']:_0x494542[_0x2d257d(0x1ce)],_0x2fde77['finished_at']=new Date()['toISOString'](),_0x2fde77[_0x2d257d(0x104)]=_0x530469[_0x2d257d(0xe0)](Date[_0x2d257d(0x14b)](),_0x494542[_0x2d257d(0x1c1)][_0x2d257d(0x17a)]()),_0x2fde77[_0x2d257d(0x1c3)]=_0x494542[_0x2d257d(0x11e)]?_0x494542[_0x2d257d(0x11e)][_0x2d257d(0x136)]:null;}}const a4_0x136a48={};a4_0x136a48['O11yHelper']=O11yHelper,a4_0x136a48['STATE_PASSED']=STATE_PASSED,a4_0x136a48[a4_0x42ec70(0x116)]=STATE_FAILED,a4_0x136a48[a4_0x42ec70(0x112)]=TEST_EVENTS,module['exports']=a4_0x136a48;
1
+ const a4_0x440f82=a4_0x30aa;(function(_0x21227d,_0x146264){const _0x445f15=a4_0x30aa,_0x429056=_0x21227d();while(!![]){try{const _0x29c2d5=parseInt(_0x445f15(0x159))/0x1*(parseInt(_0x445f15(0x12f))/0x2)+-parseInt(_0x445f15(0x1cf))/0x3*(parseInt(_0x445f15(0x168))/0x4)+-parseInt(_0x445f15(0x16c))/0x5+-parseInt(_0x445f15(0x14b))/0x6*(parseInt(_0x445f15(0x1bb))/0x7)+parseInt(_0x445f15(0x18d))/0x8+parseInt(_0x445f15(0x161))/0x9+parseInt(_0x445f15(0x119))/0xa;if(_0x29c2d5===_0x146264)break;else _0x429056['push'](_0x429056['shift']());}catch(_0x10a092){_0x429056['push'](_0x429056['shift']());}}}(a4_0x3014,0x2e5aa));const path=require(a4_0x440f82(0x183)),fs=require('fs'),{v4:uuidv4}=require(a4_0x440f82(0x1b3)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x440f82(0x1d6)),testOpsHelper=require(a4_0x440f82(0x1b5)),{getTestEnv}=require(a4_0x440f82(0x128)),{FRAMEWORKS}=require(a4_0x440f82(0x114)),logger=require(a4_0x440f82(0x1e1))['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x440f82(0x17d)),PlaywrightSessionDetails=require(a4_0x440f82(0x12c)),debug=testOpsHelper[a4_0x440f82(0x1a8)],{processAccessibilityCaps}=require(a4_0x440f82(0x1a4)),Constants=require(a4_0x440f82(0x151)),{fetchPlatformDetails}=require(a4_0x440f82(0x150)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x440f82(0x10c)),STATE_PASSED=a4_0x440f82(0x155),STATE_FAILED=a4_0x440f82(0x191),a4_0x2377f8={};a4_0x2377f8[a4_0x440f82(0x125)]=a4_0x440f82(0x1a9),a4_0x2377f8['TEST_RUN_FINISHED']=a4_0x440f82(0x187),a4_0x2377f8[a4_0x440f82(0x152)]='TestRunSkipped',a4_0x2377f8['HOOK_RUN_STARTED']='HookRunStarted',a4_0x2377f8[a4_0x440f82(0xfb)]=a4_0x440f82(0xfd);const TEST_EVENTS=a4_0x2377f8,parseEvent=_0x3056e5=>{const _0x27bda4=a4_0x440f82,_0x324905={};_0x324905[_0x27bda4(0x139)]=function(_0xf22b76,_0x3c231f){return _0xf22b76<_0x3c231f;},_0x324905[_0x27bda4(0x180)]=function(_0x34ca95,_0x505fe9){return _0x34ca95===_0x505fe9;},_0x324905[_0x27bda4(0x1e3)]=_0x27bda4(0x10b),_0x324905[_0x27bda4(0x193)]=_0x27bda4(0x1e0),_0x324905[_0x27bda4(0x138)]=_0x27bda4(0x1a3),_0x324905[_0x27bda4(0x1e2)]=_0x27bda4(0x12d),_0x324905['GmNbR']=_0x27bda4(0x182);const _0x250cd4=_0x324905,_0x3a8600=_0x3056e5[_0x27bda4(0x1e5)](/^(.*)Run(.*)$/);if(!_0x3a8600)return null;if(_0x250cd4['CtEql'](_0x3a8600[_0x27bda4(0x102)],0x3))return null;const _0x13721d=_0x3a8600[0x1][_0x27bda4(0x1e4)](),_0x380153=_0x3a8600[0x2][_0x27bda4(0x1e4)]();return{'test':_0x250cd4[_0x27bda4(0x180)](_0x13721d,_0x250cd4[_0x27bda4(0x1e3)]),'hook':_0x250cd4[_0x27bda4(0x180)](_0x13721d,_0x250cd4[_0x27bda4(0x193)]),'skipped':_0x250cd4[_0x27bda4(0x180)](_0x380153,_0x250cd4[_0x27bda4(0x138)]),'started':_0x250cd4[_0x27bda4(0x180)](_0x380153,_0x250cd4['fuvEJ']),'finished':_0x250cd4['CUzUs'](_0x380153,_0x250cd4[_0x27bda4(0x146)])};},mockPWBrowserType=_0x35e591=>{const _0x18f53e=a4_0x440f82,_0x2f8347={'kKFYe':function(_0x15a823,_0x3df9c5,_0x2f9799){return _0x15a823(_0x3df9c5,_0x2f9799);},'nOwgB':'wsEndpoint','RpQyS':function(_0x29b0ea,_0x1e6c2e){return _0x29b0ea(_0x1e6c2e);},'gSHNA':'browserstack','GnxYy':function(_0x1c4db1,_0x5e161e,_0x5766a8){return _0x1c4db1(_0x5e161e,_0x5766a8);},'nZSXg':function(_0x420d0b,_0x57d23e){return _0x420d0b===_0x57d23e;},'DGCIp':'string','VygFE':_0x18f53e(0x166),'avqEH':_0x18f53e(0x126),'UJEzv':_0x18f53e(0x137),'IvwIY':_0x18f53e(0x109),'jJrTf':_0x18f53e(0x143),'NfPVH':'launch'},_0x26ad7f=path[_0x18f53e(0x136)](_0x2f8347[_0x18f53e(0x1b7)],_0x2f8347[_0x18f53e(0x190)],_0x2f8347[_0x18f53e(0x172)]),_0x4228ec=_0x2f8347[_0x18f53e(0x1bf)](importFileFromPWCore,_0x26ad7f);if(!_0x4228ec){_0x2f8347[_0x18f53e(0x1bf)](debug,_0x2f8347[_0x18f53e(0x13e)]);return;}const _0x280e73=_0x4228ec[_0x18f53e(0x195)],_0x1a6ef6=_0x280e73[_0x18f53e(0x1ac)];if(_0x1a6ef6['obsBrowserTypeMockApplied'])return;const _0x50337e=_0x1a6ef6['connect'];Object[_0x18f53e(0x18e)](_0x1a6ef6,_0x2f8347['jJrTf'],{'get':function(){const _0x2e87d6=_0x18f53e,_0x2d96de={'jnNuP':function(_0x568510,_0x3e193e){const _0x31b62f=a4_0x30aa;return _0x2f8347[_0x31b62f(0x15d)](_0x568510,_0x3e193e);},'ssVpz':_0x2f8347[_0x2e87d6(0x1be)]};return async function _0x59692e(_0x594060,_0x13857c){const _0x4baf08=_0x2e87d6,_0x34ceba=_0x2f8347[_0x4baf08(0x17b)](nestedKeyValue,_0x594060,[_0x2f8347[_0x4baf08(0x178)]])||_0x594060;let _0x29bb79=null,_0x30dbae=null;try{[_0x30dbae,_0x29bb79]=_0x34ceba?_0x2f8347[_0x4baf08(0x1bf)](parseWSEndpoint,_0x34ceba):[null,null],global['__platformCaps']=_0x29bb79,_0x30dbae[_0x4baf08(0x1bd)](_0x2f8347['gSHNA'])&&(global['__cloud_provider___']=_0x2f8347[_0x4baf08(0x1ca)]);}catch(_0x4bd402){logger['debug'](_0x4baf08(0x184)+_0x34ceba+'\x20'+_0x4bd402);}_0x2f8347[_0x4baf08(0x162)](processAccessibilityCaps,_0x29bb79,_0x30dbae);if(global[_0x4baf08(0x177)]){const _0x5c392c=await _0x1a6ef6[_0x4baf08(0x167)]['apply'](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x2f8347[_0x4baf08(0x1bf)](encodeURIComponent,JSON['stringify'](_0x29bb79))]);return PlaywrightSessionDetails[_0x4baf08(0x199)](_0x5c392c,_0x35e591,_0x34ceba),_0x5c392c;}return _0x50337e[_0x4baf08(0x1bc)](this,arguments)[_0x4baf08(0x185)](_0x437466=>{const _0x25cc4f=_0x4baf08;let _0x30780c=_0x594060[_0x25cc4f(0x12b)];return _0x2d96de[_0x25cc4f(0x19d)](typeof _0x594060,_0x2d96de['ssVpz'])&&(_0x30780c=_0x594060),PlaywrightSessionDetails[_0x25cc4f(0x199)](_0x437466,_0x35e591,_0x30780c),_0x437466;});};}});const _0xd6108a=_0x1a6ef6[_0x18f53e(0x189)];Object[_0x18f53e(0x18e)](_0x1a6ef6,_0x2f8347[_0x18f53e(0x1db)],{'get':function(){return async function _0x59714a(){const _0x3aa76b=a4_0x30aa;return _0xd6108a[_0x3aa76b(0x1bc)](this,arguments)[_0x3aa76b(0x185)](_0x105e49=>{const _0x2f6efd=_0x3aa76b;return PlaywrightSessionDetails[_0x2f6efd(0x199)](_0x105e49,null),_0x105e49;});};}});};class O11yHelper{['currentTest']=null;[a4_0x440f82(0x1c7)]=null;['enabled']=![];[a4_0x440f82(0x11f)]=![];constructor(_0x317592,_0x57c068){const _0x46b67b=a4_0x440f82,_0x2a14d0={'WXxHR':_0x46b67b(0x192),'DrEwf':function(_0x4c09df,_0x26cdb6){return _0x4c09df===_0x26cdb6;},'kXSCT':'Playwright','GSbub':function(_0x5ba41e,_0x488afa){return _0x5ba41e(_0x488afa);},'ITKmc':function(_0x377a5d){return _0x377a5d();},'dEuOb':function(_0x1ef4ef){return _0x1ef4ef();}},_0x36f33b=_0x2a14d0['WXxHR']['split']('|');let _0x256dfa=0x0;while(!![]){switch(_0x36f33b[_0x256dfa++]){case'0':this['_paths']=new testOpsHelper[(_0x46b67b(0x188))]({'cwd':process[_0x46b67b(0x1d1)]()},this['_testEnv'][_0x46b67b(0x12e)]);continue;case'1':this[_0x46b67b(0x175)]=_0x317592;continue;case'2':this[_0x46b67b(0x175)]&&_0x2a14d0[_0x46b67b(0x171)](this[_0x46b67b(0x175)][_0x46b67b(0x173)][_0x46b67b(0x1d0)],_0x2a14d0[_0x46b67b(0x1b6)])&&_0x2a14d0['GSbub'](mockPWBrowserType,null);continue;case'3':this['enabled']=_0x2a14d0[_0x46b67b(0x18b)](shouldProcessEventForTesthub);continue;case'4':this['frameworkName']=_0x57c068['frameworkName'];continue;case'5':this[_0x46b67b(0x135)]=_0x2a14d0[_0x46b67b(0x13c)](getTestEnv);continue;}break;}}[a4_0x440f82(0x1de)](){const _0x151056=a4_0x440f82;if(!this[_0x151056(0x196)])return;testOpsHelper[_0x151056(0x11d)](),process[_0x151056(0x1cc)]('bs:addLog:'+process['pid']),process['on'](_0x151056(0x1c6)+process['pid'],this[_0x151056(0x1d4)][_0x151056(0x10a)](this));}async[a4_0x440f82(0x110)](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a4_0x440f82(0x1d4)](_0x165e35){const _0x3c1d33=a4_0x440f82,_0x1d3542={'Pngnq':_0x3c1d33(0x1e6),'HCKup':function(_0x4ef3b4,_0x35f976){return _0x4ef3b4(_0x35f976);}};try{this[_0x3c1d33(0x1c7)]&&!this['currentHook']['markedStatus']&&(_0x165e35[_0x3c1d33(0x153)]=this['currentHook']['hookAnalyticsId']);!_0x165e35[_0x3c1d33(0x153)]&&this[_0x3c1d33(0x106)]&&!this[_0x3c1d33(0x106)][_0x3c1d33(0x1ad)]&&(_0x165e35[_0x3c1d33(0x14e)]=this[_0x3c1d33(0x106)][_0x3c1d33(0x108)]);if(_0x165e35[_0x3c1d33(0x153)]||_0x165e35[_0x3c1d33(0x14e)]){const _0x436b57={};_0x436b57[_0x3c1d33(0x160)]=_0x1d3542[_0x3c1d33(0x1cb)],_0x436b57[_0x3c1d33(0x17e)]=[_0x165e35],await SessionHandler[_0x3c1d33(0x179)](_0x436b57);}}catch(_0x768628){_0x1d3542['HCKup'](debug,_0x3c1d33(0x1b0)+_0x768628);}}async[a4_0x440f82(0x118)](_0x2dbba8){const _0x28e729=a4_0x440f82,_0x1dceb6={'ZmIan':_0x28e729(0x1d3),'aieKg':function(_0x563380,_0x2707dc){return _0x563380(_0x2707dc);}};if(!this['enabled'])return;const _0x5fce8a=this[_0x28e729(0x100)](this[_0x28e729(0x175)]);try{const _0x48a408={};_0x48a408[_0x28e729(0x1b3)]=_0x2dbba8,_0x48a408['integrations']=_0x5fce8a;const _0x5251ec=_0x48a408,_0x4d72e6={};_0x4d72e6[_0x28e729(0x160)]=_0x1dceb6[_0x28e729(0x115)],_0x4d72e6[_0x28e729(0x165)]=_0x5251ec,await SessionHandler[_0x28e729(0x179)](_0x4d72e6);}catch(_0x20838a){_0x1dceb6[_0x28e729(0x1d5)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x20838a);}}[a4_0x440f82(0x100)](_0x49f2ff){const _0x2789cd=a4_0x440f82,_0x54ace3={'sgKOY':function(_0xd5719b,_0x64489c){return _0xd5719b(_0x64489c);}};return _0x54ace3[_0x2789cd(0x11b)](fetchPlatformDetails,_0x49f2ff);}['resetSkipTestHooks']=_0x123913=>{const _0x133078=a4_0x440f82,_0x172bc6={};_0x172bc6[_0x133078(0x1c0)]=_0x133078(0x1ce),_0x172bc6[_0x133078(0x1c3)]=_0x133078(0x140);const _0x2f4827=_0x172bc6;if(!_0x123913||!_0x123913['parent'])return;[_0x2f4827['wXekz'],_0x2f4827[_0x133078(0x1c3)]][_0x133078(0x186)](_0x46030a=>{const _0x54f2ee=_0x133078,_0x1362f0=_0x123913[_0x54f2ee(0x181)][_0x46030a];_0x1362f0['forEach'](_0x5342b4=>{const _0x3e45f4=_0x54f2ee;_0x5342b4['hookAnalyticsId']&&(_0x5342b4[_0x3e45f4(0x17a)]=null);});});};[a4_0x440f82(0x132)](_0x27e9aa){const _0x35e7b2=a4_0x440f82,_0x4c7152={'QogeF':_0x35e7b2(0x13b),'nJqpl':function(_0x1fff70){return _0x1fff70();},'eCKPf':function(_0x5345e6,_0x224992){return _0x5345e6===_0x224992;},'OfsRo':_0x35e7b2(0x140),'TQQsQ':_0x35e7b2(0x1a5),'BWoWJ':_0x35e7b2(0x1a2),'eulhF':_0x35e7b2(0x1ce)};if(!_0x27e9aa||!_0x27e9aa['parent'])return;[_0x4c7152['TQQsQ'],_0x4c7152[_0x35e7b2(0x19f)],_0x4c7152[_0x35e7b2(0x15a)],_0x4c7152['OfsRo']][_0x35e7b2(0x186)](_0x2daa3f=>{const _0x10f791=_0x35e7b2,_0x27e154=_0x27e9aa[_0x10f791(0x181)][_0x2daa3f]||[];_0x27e154[_0x10f791(0x186)](_0xbc5444=>{const _0x56c318=_0x10f791;if(_0xbc5444['title'][_0x56c318(0x1bd)](_0x4c7152[_0x56c318(0x1d8)]))return;if(!_0xbc5444[_0x56c318(0x17a)])_0xbc5444[_0x56c318(0x17a)]=_0x4c7152[_0x56c318(0x11a)](uuidv4);else _0xbc5444[_0x56c318(0x1ad)]&&_0x4c7152['eCKPf'](_0x2daa3f,_0x4c7152['OfsRo'])&&(_0xbc5444['hookAnalyticsId']=_0x4c7152['nJqpl'](uuidv4),delete _0xbc5444['markedStatus']);});}),this[_0x35e7b2(0x132)](_0x27e9aa[_0x35e7b2(0x181)]);}[a4_0x440f82(0x144)](_0x4f1d17){const _0x5b8c6d=a4_0x440f82,_0x20d162={};_0x20d162[_0x5b8c6d(0x1c8)]=_0x5b8c6d(0x1a5),_0x20d162[_0x5b8c6d(0x1df)]=_0x5b8c6d(0x1a2),_0x20d162[_0x5b8c6d(0x13f)]=_0x5b8c6d(0x1ce),_0x20d162[_0x5b8c6d(0x1c9)]=_0x5b8c6d(0x140);const _0x4bd071=_0x20d162;if(!_0x4f1d17||!_0x4f1d17[_0x5b8c6d(0x181)])return[];const _0x4fbfe3=[];return[_0x4bd071[_0x5b8c6d(0x1c8)],_0x4bd071[_0x5b8c6d(0x1df)],_0x4bd071[_0x5b8c6d(0x13f)],_0x4bd071[_0x5b8c6d(0x1c9)]][_0x5b8c6d(0x186)](_0x263d8a=>{const _0x39c817=_0x5b8c6d,_0x4330fc=_0x4f1d17[_0x39c817(0x181)][_0x263d8a]||[];_0x4330fc[_0x39c817(0x186)](_0x5df081=>{const _0x305c27=_0x39c817;_0x5df081[_0x305c27(0x17a)]&&_0x4fbfe3['push'](_0x5df081['hookAnalyticsId']);});}),[][_0x5b8c6d(0x120)](_0x4fbfe3,this[_0x5b8c6d(0x144)](_0x4f1d17[_0x5b8c6d(0x181)]));}[a4_0x440f82(0x164)](_0x2f2157){const _0x495778=a4_0x440f82,_0x8b613f=/^"(?<hook>.*)" hook:.*$/,_0x533a68=_0x2f2157[_0x495778(0x14d)],_0xe81f2f=_0x533a68[_0x495778(0x1e5)](_0x8b613f);if(_0xe81f2f&&_0xe81f2f[_0x495778(0x141)])return _0xe81f2f[_0x495778(0x141)]['hook'][_0x495778(0x142)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x553b2a){const _0x47ec65=a4_0x440f82,_0x4d29da={};_0x4d29da[_0x47ec65(0x1b9)]=function(_0x53ed19,_0x928a37){return _0x53ed19===_0x928a37;},_0x4d29da[_0x47ec65(0x101)]=function(_0x9a7137,_0x4605f0){return _0x9a7137===_0x4605f0;},_0x4d29da[_0x47ec65(0x1a7)]=_0x47ec65(0x1b2),_0x4d29da[_0x47ec65(0x19a)]=_0x47ec65(0x10f);const _0x28aeb2=_0x4d29da,_0xca5a42=path[_0x47ec65(0xfc)];if(_0x28aeb2[_0x47ec65(0x1b9)](_0x553b2a,null)||_0x28aeb2['YhYGn'](_0x553b2a,'')||_0x28aeb2[_0x47ec65(0x1b9)](_0x553b2a,_0xca5a42)||_0x28aeb2[_0x47ec65(0x1b9)](_0x553b2a,path[_0x47ec65(0x18a)](_0x553b2a)))return null;try{return fs[_0x47ec65(0x18f)](path[_0x47ec65(0x136)](_0x553b2a,_0x28aeb2[_0x47ec65(0x1a7)],_0x28aeb2[_0x47ec65(0x19a)])),_0x553b2a;}catch(_0x1d4e62){const _0x302f0d=path[_0x47ec65(0x18a)](_0x553b2a);return this[_0x47ec65(0x19e)](_0x302f0d);}}['getRootParentFile'](_0x5366e4){const _0x176409=a4_0x440f82,_0x4f11e7={};_0x4f11e7[_0x176409(0x11e)]=function(_0x2b47e3,_0xca5c99){return _0x2b47e3>_0xca5c99;};const _0x469ffc=_0x4f11e7;if(_0x5366e4[_0x176409(0x1ae)])return _0x5366e4[_0x176409(0x1ae)];if(_0x5366e4[_0x176409(0x14c)]){const _0x9c61c2=_0x5366e4[_0x176409(0x14c)]['currentTest']?this[_0x176409(0x129)](_0x5366e4[_0x176409(0x14c)]['currentTest']):null;if(_0x9c61c2)return _0x9c61c2;}if(_0x5366e4[_0x176409(0x181)]){const _0xe3b71f=this['getRootParentFile'](_0x5366e4[_0x176409(0x181)])||(_0x5366e4[_0x176409(0x181)][_0x176409(0x14c)]&&_0x5366e4[_0x176409(0x181)][_0x176409(0x14c)][_0x176409(0x106)]?this[_0x176409(0x129)](_0x5366e4['parent'][_0x176409(0x14c)][_0x176409(0x106)]):null);if(_0xe3b71f)return _0xe3b71f;_0x5366e4[_0x176409(0x181)][_0x176409(0x14f)]&&_0x469ffc[_0x176409(0x11e)](_0x5366e4[_0x176409(0x181)][_0x176409(0x14f)][_0x176409(0x102)],0x0)&&_0x5366e4[_0x176409(0x181)][_0x176409(0x14f)][_0x176409(0x186)](_0x16ee0e=>{const _0x510fd8=_0x176409,_0x5e19ed=_0x16ee0e['ctx']?this[_0x510fd8(0x129)](_0x16ee0e[_0x510fd8(0x14c)]):null;if(_0x5e19ed)return _0x5e19ed;});}return null;}[a4_0x440f82(0x124)](_0x4e0a9f){const _0x356647=a4_0x440f82,_0x4150d3={};_0x4150d3[_0x356647(0x1b8)]=function(_0x1ab56f,_0x2b0133){return _0x1ab56f!==_0x2b0133;};const _0x585bd4=_0x4150d3,_0x4ea241=[];if(_0x4e0a9f&&_0x4e0a9f[_0x356647(0x181)]){let _0x2cc792=_0x4e0a9f[_0x356647(0x181)];while(_0x2cc792&&_0x585bd4[_0x356647(0x1b8)](_0x2cc792[_0x356647(0x14d)],'')){_0x4ea241['push'](_0x2cc792[_0x356647(0x14d)]),_0x2cc792=_0x2cc792['parent'];}}return _0x4ea241;}[a4_0x440f82(0x1c4)](_0x2c3746,_0x4bd3b3,_0x4009b1=undefined){const _0x548a3c=a4_0x440f82,_0x37aa13={'dfvsp':function(_0x7d2029,_0x1e9c44){return _0x7d2029(_0x1e9c44);},'NbhWO':function(_0x4c5d3a){return _0x4c5d3a();},'zVTKK':function(_0xe91e4f){return _0xe91e4f();},'WyPYR':_0x548a3c(0x1d7),'RiEzN':_0x548a3c(0x113),'kcDQg':function(_0x55c87d,_0x35347a){return _0x55c87d!==_0x35347a;},'sQOuc':_0x548a3c(0x18c),'fEjzK':_0x548a3c(0x1a6),'PQcLU':_0x548a3c(0x191),'DpVLb':_0x548a3c(0x155),'xSKyb':_0x548a3c(0x1a3),'llVwT':_0x548a3c(0x194),'Esdpt':function(_0x431db2,_0x52fe0e){return _0x431db2-_0x52fe0e;},'pIMFc':function(_0x366db9,_0x263f2b,_0x10336c,_0x2b4254,_0x46fbaa){return _0x366db9(_0x263f2b,_0x10336c,_0x2b4254,_0x46fbaa);},'Kbvrr':function(_0x44df88,_0x8b03c){return _0x44df88!==_0x8b03c;},'wPHph':'integrations','rzIYH':'meta','aPVJp':_0x548a3c(0x15c),'zmsCM':_0x548a3c(0x1e7),'SAOcr':_0x548a3c(0x104),'LPCFm':_0x548a3c(0x103),'puWwt':_0x548a3c(0x10e),'lHqMY':function(_0x27b076,_0x1a3d7e){return _0x27b076===_0x1a3d7e;},'yBaPN':_0x548a3c(0x116),'FWCKs':'test_run'};if(!this['enabled'])return;try{if(_0x4bd3b3['fn']&&_0x4bd3b3['fn'][_0x548a3c(0x1d2)]()[_0x548a3c(0x1e5)](/browserstack internal helper hook/))return;const _0x1d83a2=_0x37aa13['dfvsp'](parseEvent,_0x2c3746);if(!_0x1d83a2)return;if(_0x1d83a2[_0x548a3c(0x10b)]){this[_0x548a3c(0x106)]=_0x4bd3b3,this[_0x548a3c(0x1c7)]=null;if(_0x1d83a2[_0x548a3c(0x12d)]||_0x1d83a2[_0x548a3c(0x1a3)]){_0x4bd3b3[_0x548a3c(0x1c5)]=new Date(),_0x4bd3b3[_0x548a3c(0x1ad)]=![];if(!_0x4bd3b3[_0x548a3c(0x108)])_0x4bd3b3['testAnalyticsId']=_0x37aa13[_0x548a3c(0x1dc)](uuidv4);else _0x4bd3b3[_0x548a3c(0x1ad)]&&(!_0x4bd3b3['retryOf']&&(_0x4bd3b3[_0x548a3c(0x1d9)]=_0x4bd3b3[_0x548a3c(0x108)]),_0x4bd3b3['testAnalyticsId']=_0x37aa13[_0x548a3c(0xfa)](uuidv4));}}else{if(_0x1d83a2[_0x548a3c(0x1e0)]){this[_0x548a3c(0x1c7)]=_0x4bd3b3;if(_0x1d83a2[_0x548a3c(0x12d)]){_0x4bd3b3[_0x548a3c(0x1c5)]=new Date(),_0x4bd3b3[_0x548a3c(0x1ad)]=![];if(!_0x4bd3b3[_0x548a3c(0x17a)])_0x4bd3b3[_0x548a3c(0x17a)]=_0x37aa13[_0x548a3c(0x1dc)](uuidv4);else _0x4bd3b3[_0x548a3c(0x17a)]&&_0x4bd3b3[_0x548a3c(0x1ad)]&&(_0x4bd3b3[_0x548a3c(0x17a)]=_0x37aa13['zVTKK'](uuidv4));}}}if(_0x1d83a2[_0x548a3c(0x182)]&&_0x4bd3b3['markedStatus'])return;let _0x5e3818;try{_0x5e3818=this[_0x548a3c(0x129)](_0x4bd3b3);}catch(_0x13d6a0){logger[_0x548a3c(0x1a8)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x13d6a0),_0x5e3818=null;}const _0x2b89a7=_0x37aa13['dfvsp'](require,_0x37aa13[_0x548a3c(0x121)]);let _0x11b8c7=[];_0x4009b1&&(_0x11b8c7=[_0x4009b1,_0x37aa13[_0x548a3c(0x1ba)]]);const _0x661170=_0x37aa13[_0x548a3c(0x176)](_0x4bd3b3['errorsDetailed'],undefined)?_0x2b89a7[_0x548a3c(0x130)](_0x4bd3b3[_0x548a3c(0x15f)][0x0]):_0x37aa13[_0x548a3c(0x176)](_0x4009b1,undefined)?_0x4009b1['toString']():undefined,_0x51d84d=_0x5e3818?this['findGitConfig'](_0x5e3818):null,_0x404241=_0x5e3818?this[_0x548a3c(0x112)][_0x548a3c(0x1cd)](this[_0x548a3c(0x129)](_0x4bd3b3)):_0x37aa13[_0x548a3c(0x145)];let _0x296aa1=_0x37aa13[_0x548a3c(0x156)];const _0x2e6c4f=!_0x1d83a2[_0x548a3c(0x12d)]?new Date()[_0x548a3c(0x16b)]():null;if(_0x1d83a2[_0x548a3c(0x182)])_0x296aa1=_0x4009b1?_0x37aa13[_0x548a3c(0x1ab)]:_0x37aa13[_0x548a3c(0x1c1)],_0x4bd3b3[_0x548a3c(0x1ad)]=!![];else _0x1d83a2[_0x548a3c(0x1a3)]&&(_0x296aa1=_0x37aa13['xSKyb'],_0x4bd3b3[_0x548a3c(0x1ad)]=!![]);const _0x3e854d={'framework':this[_0x548a3c(0x11f)],'uuid':_0x4bd3b3[_0x548a3c(0x108)]||_0x4bd3b3[_0x548a3c(0x17a)],'name':_0x4bd3b3['title'],'body':{'lang':_0x37aa13['llVwT'],'code':_0x4bd3b3[_0x548a3c(0x154)][_0x548a3c(0x1d2)]()},'type':_0x4bd3b3[_0x548a3c(0x17c)],'scope':_0x4bd3b3[_0x548a3c(0x12a)](),'scopes':this[_0x548a3c(0x124)](_0x4bd3b3),'file_name':_0x404241,'vc_filepath':_0x51d84d?path[_0x548a3c(0xff)](_0x51d84d,_0x5e3818):null,'location':_0x404241,'result':_0x296aa1,'failure_reason':_0x661170,'duration_in_ms':_0x4bd3b3[_0x548a3c(0x15e)]||(_0x1d83a2[_0x548a3c(0x182)]||_0x1d83a2[_0x548a3c(0x1a3)])?_0x37aa13[_0x548a3c(0x14a)](Date[_0x548a3c(0x1c2)](),new Date(_0x4bd3b3[_0x548a3c(0x1c5)])[_0x548a3c(0x105)]()):null,'started_at':new Date(_0x4bd3b3[_0x548a3c(0x1c5)])[_0x548a3c(0x16b)](),'finished_at':_0x2e6c4f,'failure':testOpsHelper[_0x548a3c(0x197)][_0x548a3c(0x1bc)](null,_0x11b8c7),'failure_type':!_0x661170?null:testOpsHelper[_0x548a3c(0x19c)](_0x661170),'retry_of':_0x4bd3b3[_0x548a3c(0x1d9)]||null,'tags':_0x4bd3b3[_0x548a3c(0x17f)]||[],'customRerunParam':{'rerun_name':_0x4bd3b3[_0x548a3c(0x12a)]()}};_0x37aa13[_0x548a3c(0x1a0)](appendTesthubParams,_0x3e854d,_0x2c3746,_0x4bd3b3,FRAMEWORKS[_0x548a3c(0x1af)]);if(_0x1d83a2['hook'])[_0x3e854d[_0x548a3c(0x133)],_0x3e854d['name']]=[this[_0x548a3c(0x164)](_0x4bd3b3),_0x4bd3b3[_0x548a3c(0x14c)][_0x548a3c(0x10b)][_0x548a3c(0x14d)]],_0x1d83a2['finished']?_0x37aa13[_0x548a3c(0x13d)](_0x3e854d['result'],_0x37aa13['PQcLU'])&&(_0x3e854d['result']=_0x37aa13['DpVLb']):_0x3e854d[_0x548a3c(0x154)]={};else _0x1d83a2[_0x548a3c(0x10b)]&&(this[_0x548a3c(0x132)](_0x4bd3b3),_0x1d83a2[_0x548a3c(0x1a3)]&&this[_0x548a3c(0x13a)](_0x4bd3b3),(_0x1d83a2['finished']||_0x1d83a2[_0x548a3c(0x1a3)])&&(_0x3e854d['hooks']=this[_0x548a3c(0x144)](_0x4bd3b3)));this[_0x548a3c(0x175)]&&(_0x1d83a2[_0x548a3c(0x12d)]||_0x1d83a2[_0x548a3c(0x1a3)])&&(_0x3e854d[_0x37aa13[_0x548a3c(0x1e8)]]=this[_0x548a3c(0x100)](this[_0x548a3c(0x175)]));_0x1d83a2[_0x548a3c(0x10b)]&&_0x1d83a2[_0x548a3c(0x182)]&&_0x4bd3b3[_0x548a3c(0x117)]&&(_0x3e854d[_0x37aa13[_0x548a3c(0x1dd)]]={'feature':{'name':_0x4bd3b3[_0x548a3c(0x181)][_0x548a3c(0x15b)]['name'],'path':_0x3e854d[_0x548a3c(0x16e)],'description':_0x4bd3b3[_0x548a3c(0x181)][_0x548a3c(0x11c)]},'scenario':{'name':_0x4bd3b3[_0x548a3c(0x14d)]},'steps':_0x4bd3b3[_0x548a3c(0x117)]});const _0x508e56=_0x3e854d[_0x37aa13[_0x548a3c(0x170)]][0x0];_0x508e56&&(_0x3e854d[_0x37aa13[_0x548a3c(0x123)]]=_0x508e56[_0x37aa13['SAOcr']],_0x3e854d[_0x37aa13['LPCFm']]=_0x508e56[_0x37aa13['puWwt']]);if(_0x4bd3b3['bddSteps'])for(const _0x36f190 of _0x4bd3b3[_0x548a3c(0x117)]){!_0x36f190[_0x548a3c(0x1a1)]&&(_0x36f190[_0x548a3c(0x1a1)]=new Date()['toISOString'](),_0x37aa13[_0x548a3c(0x16f)](_0x36f190[_0x548a3c(0xfe)],_0x37aa13[_0x548a3c(0x156)])&&(_0x508e56?(_0x36f190['result']=_0x37aa13['PQcLU'],_0x36f190[_0x548a3c(0x15c)]=_0x508e56[_0x37aa13[_0x548a3c(0x16a)]][0x0]):_0x36f190[_0x548a3c(0xfe)]=_0x37aa13['DpVLb']));}const _0x1ba2bb={};_0x1ba2bb[_0x548a3c(0x160)]=_0x1d83a2[_0x548a3c(0x1a3)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x2c3746;const _0x45b7b5=_0x1ba2bb;return _0x1d83a2['hook']?_0x45b7b5[_0x37aa13['yBaPN']]=_0x3e854d:_0x45b7b5[_0x37aa13[_0x548a3c(0x158)]]=_0x3e854d,_0x45b7b5;}catch(_0x42ca19){logger[_0x548a3c(0x1a8)](_0x548a3c(0x16d)+_0x2c3746+_0x548a3c(0x122)+_0x42ca19);}}async[a4_0x440f82(0x1aa)](_0x13a2ea,_0x355380){const _0xeb529a=a4_0x440f82;if(!this[_0xeb529a(0x196)]||!_0x355380||!_0x13a2ea)return![];try{return await SessionHandler[_0xeb529a(0x179)](_0x355380);}catch(_0x739bb7){logger[_0xeb529a(0x1a8)](_0xeb529a(0x131)+_0x13a2ea+_0xeb529a(0x122)+_0x739bb7);}}[a4_0x440f82(0x169)](_0x2a65cd){const _0x58711c=a4_0x440f82,_0x239428={};_0x239428['Mkjmd']=_0x58711c(0x1a6);const _0x529810=_0x239428;return{'id':_0x2a65cd[_0x58711c(0x111)],'text':_0x2a65cd[_0x58711c(0x148)],'keyword':_0x2a65cd[_0x58711c(0x198)],'started_at':_0x2a65cd[_0x58711c(0x1c5)][_0x58711c(0x16b)](),'result':_0x529810['Mkjmd']};}[a4_0x440f82(0x1b1)](_0x3bb7fb){const _0x34d179=a4_0x440f82,_0x591c88={'OYcLI':function(_0x1fb8b7){return _0x1fb8b7();}};!this[_0x34d179(0x106)][_0x34d179(0x117)]&&(this[_0x34d179(0x106)][_0x34d179(0x117)]=[]),!_0x3bb7fb[_0x34d179(0x111)]&&(_0x3bb7fb[_0x34d179(0x111)]=_0x591c88[_0x34d179(0x149)](uuidv4),_0x3bb7fb[_0x34d179(0x1c5)]=new Date(),this[_0x34d179(0x106)][_0x34d179(0x117)]['push'](this[_0x34d179(0x169)](_0x3bb7fb)));}[a4_0x440f82(0x1da)](_0x573720){const _0x3f332e=a4_0x440f82,_0x4340a8={'JFduo':function(_0x5ecafb,_0x886bfa){return _0x5ecafb(_0x886bfa);},'fdxQC':_0x3f332e(0x10d),'VgSoD':'pending','RSGvz':_0x3f332e(0x155),'oywCp':function(_0x2d1688,_0x1f33a5){return _0x2d1688-_0x1f33a5;}};let _0x184a1c=this[_0x3f332e(0x106)][_0x3f332e(0x117)][_0x3f332e(0x19b)](_0x440d6f=>_0x440d6f['id']===_0x573720[_0x3f332e(0x111)]);_0x4340a8[_0x3f332e(0x147)](isUndefined,_0x184a1c)&&(_0x184a1c=this[_0x3f332e(0x169)](_0x573720)),_0x184a1c[_0x3f332e(0xfe)]=[_0x4340a8['fdxQC'],_0x4340a8[_0x3f332e(0x107)]][_0x3f332e(0x1bd)](_0x573720['status'])?_0x4340a8['RSGvz']:_0x573720[_0x3f332e(0x157)],_0x184a1c[_0x3f332e(0x1a1)]=new Date()[_0x3f332e(0x16b)](),_0x184a1c[_0x3f332e(0x15e)]=_0x4340a8[_0x3f332e(0x1b4)](Date[_0x3f332e(0x1c2)](),_0x573720[_0x3f332e(0x1c5)][_0x3f332e(0x105)]()),_0x184a1c[_0x3f332e(0x15c)]=_0x573720[_0x3f332e(0x113)]?_0x573720[_0x3f332e(0x113)]['message']:null;}}function a4_0x3014(){const _0x54249a=['fireEvent','PQcLU','prototype','markedStatus','file','CODECEPT','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','bddStepStart','.git','uuid','oywCp','../../helpers/test-observability/utils','kXSCT','VygFE','lXgOX','kAPlj','RiEzN','11137TyAkbo','apply','includes','DGCIp','RpQyS','wXekz','DpVLb','now','AEznb','captureEvent','startedAt','bs:addLog:','currentHook','VxkzV','BjnRc','gSHNA','Pngnq','removeAllListeners','prefixTestPath','_beforeEach','1054389fwCVvY','name','cwd','toString','CBTSessionCreated','appendTestItemLog','aieKg','../../helpers/helper','util','QogeF','retryOf','bddStepFinish','NfPVH','NbhWO','rzIYH','start','YCEFl','hook','../../helpers/logger','fuvEJ','aBmjC','toLowerCase','match','LogCreated','failure_backtrace','wPHph','zVTKK','HOOK_RUN_FINISHED','sep','HookRunFinished','result','relative','getCBTInfo','YhYGn','length','failure_reason_expanded','backtrace','getTime','currentTest','VgSoD','testAnalyticsId','Not\x20able\x20to\x20import\x20Browser','bind','test','../../helpers/testhub/utils.js','success','expanded','config','stop','stepAnalyticsId','_paths','err','../../helpers/test-observability/constants','ZmIan','hook_run','bddSteps','sendCBTInfo','6716220wBfYWC','nJqpl','sgKOY','comment','patchConsoleLogger','wgAnE','frameworkName','concat','WyPYR','\x20with\x20error\x20:\x20','zmsCM','getHierarchy','TEST_RUN_STARTED','client','O11yHelper','../mocha/test-observability/mochaUtils','getRootParentFile','fullTitle','wsEndpoint','../playwright/sessionDetails','started','location_prefix','106108ZzCLVt','inspect','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','mapTestHooks','hook_type','STATE_PASSED','_testEnv','join','browserType.js','LZArr','CtEql','resetSkipTestHooks','codeceptjs','dEuOb','Kbvrr','IvwIY','ESFBC','_afterEach','groups','toUpperCase','connect','getHooksForTest','sQOuc','GmNbR','JFduo','text','OYcLI','Esdpt','906offxln','ctx','title','test_run_uuid','suites','./helper.js','../utils/constants','TEST_RUN_SKIPPED','hook_run_uuid','body','passed','fEjzK','status','FWCKs','2DNYHZq','eulhF','feature','failure','nZSXg','duration','errorsDetailed','event_type','1622304szhLfk','GnxYy','exports','getHookType','test_run','lib','connectOverCDP','4sEmlwi','initializeBddStep','SAOcr','toISOString','1051210fzwecc','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','file_name','lHqMY','aPVJp','DrEwf','UJEzv','constructor','STATE_FAILED','driver','kcDQg','accessibilityPlatform','nOwgB','uploadEventData','hookAnalyticsId','kKFYe','type','../../helpers/test-observability/requestQueueHandler','logs','tags','CUzUs','parent','finished','path','Failed\x20to\x20parse\x20wsendpoint\x20','then','forEach','TestRunFinished','PathHelper','launch','dirname','ITKmc','File\x20path\x20could\x20not\x20be\x20found','270608gwnpzD','defineProperty','statSync','avqEH','failed','3|4|1|5|0|2','IVTZO','javascript','BrowserType','enabled','failureData','keyword','setupBrowserDetails','VADUq','find','getFailureType','jnNuP','findGitConfig','BWoWJ','pIMFc','finished_at','_afterAll','skipped','../playwright/accessibility-helper','_beforeAll','pending','QcNwg','debug','TestRunStarted'];a4_0x3014=function(){return _0x54249a;};return a4_0x3014();}function a4_0x30aa(_0x370f5e,_0x4d2e2f){const _0x30143b=a4_0x3014();return a4_0x30aa=function(_0x30aa01,_0x7df8aa){_0x30aa01=_0x30aa01-0xfa;let _0xbce612=_0x30143b[_0x30aa01];return _0xbce612;},a4_0x30aa(_0x370f5e,_0x4d2e2f);}const a4_0x20bc66={};a4_0x20bc66[a4_0x440f82(0x127)]=O11yHelper,a4_0x20bc66[a4_0x440f82(0x134)]=STATE_PASSED,a4_0x20bc66[a4_0x440f82(0x174)]=STATE_FAILED,a4_0x20bc66['TEST_EVENTS']=TEST_EVENTS,module[a4_0x440f82(0x163)]=a4_0x20bc66;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a5_0x1942(_0x2296fd,_0x17cc13){const _0x2465d6=a5_0x2465();return a5_0x1942=function(_0x1942a5,_0x7660e){_0x1942a5=_0x1942a5-0x1e3;let _0x5e859e=_0x2465d6[_0x1942a5];return _0x5e859e;},a5_0x1942(_0x2296fd,_0x17cc13);}const a5_0x45048b=a5_0x1942;function a5_0x2465(){const _0x103d2b=['../../helpers/testhub/testhubHandler','EqyfP','printBuildLink','\x20failed','80181WeRDoU','1091790CnZFfl','mergeOutputFiles','splice','logLevel','KFqvX','removeDir','cwd','util','setUserConfigPath','4zLFgcC','debug','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stringify','tmp','stepsPending','CyGNy','parallelsPerPlatform','QnGmb','****\x20RESULTS\x20****','puOvE','BROWSERSTACK_TEST_OBSERVABILITY_YML','FmfEJ','14tWxAyQ','stepsUndefined','\x20ambiguous','2396480qdDRyr','true','createDir','scenarios','env','isUndefined','BzZcj','prepareCapabilities','parseFormatters','green','unlinkSync','start','cyan','../../helpers/performance/performance-tester','end','../../helpers/performance/constants','exports','6855130pDPsCu','meuqe','bold','BSaoE','SDK_SETUP','steps','CUCUMBER','4652pGqmcv','stepsFailed','\x20steps','error\x20removing\x20tcg\x20config\x20file','../test-runner','../utils/constants','framework','getHubUrl','then','ghZvG','807828LpPbrs','finalExecution','getTCGConfigFilePaths','finally','forEach','aTPqb','exitCode','Removing\x20tmp\x20directory\x20created\x20for\x20reports','accessibilityOptions','pkifR','red','mApot','setupTCGAuth','../../helpers/logger','join','scenariosFailed','804QaAwhL','path','Generating\x20consolidated\x20report...','yellow','yBxub','getUserWorkerCount','handleApp','kkUAK','FRAMEWORKS','mxaHR','push','../../helpers/helper','winstonLogger','config','chalk','testContextOptions','getErrorMessageFromResults','isBrowserstackInfra','JaMQl','argv','mevJQ','stop','SDK_CLEANUP','avnCl','length','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','log','cucumber','jnkRR','\x20passed','testObservability','FPvIf','\x20scenarios','stepsSkipped','proxySettings','rmdirSync','bgWhite','../../helpers/BrowserStackSetup','\x20undefined','\x20skipped','\x20pending','1507014UdBZur','initialize','launchBuild','../../helpers/utilities'];a5_0x2465=function(){return _0x103d2b;};return a5_0x2465();}(function(_0x3d22c9,_0x5b8383){const _0x5b3a14=a5_0x1942,_0x3b6921=_0x3d22c9();while(!![]){try{const _0x5e6b3f=parseInt(_0x5b3a14(0x1e7))/0x1+parseInt(_0x5b3a14(0x219))/0x2*(parseInt(_0x5b3a14(0x233))/0x3)+parseInt(_0x5b3a14(0x1f1))/0x4*(parseInt(_0x5b3a14(0x1e8))/0x5)+-parseInt(_0x5b3a14(0x223))/0x6*(-parseInt(_0x5b3a14(0x1fe))/0x7)+-parseInt(_0x5b3a14(0x201))/0x8+parseInt(_0x5b3a14(0x25c))/0x9+-parseInt(_0x5b3a14(0x212))/0xa;if(_0x5e6b3f===_0x5b8383)break;else _0x3b6921['push'](_0x3b6921['shift']());}catch(_0x469e63){_0x3b6921['push'](_0x3b6921['shift']());}}}(a5_0x2465,0x5b334));const fs=require('fs'),path=require(a5_0x45048b(0x234)),util=require(a5_0x45048b(0x1ef)),logger=require(a5_0x45048b(0x230))[a5_0x45048b(0x23f)],{default:BrowserStackSetup}=require(a5_0x45048b(0x258)),helper=require(a5_0x45048b(0x23e)),utilities=require(a5_0x45048b(0x25f)),constants=require(a5_0x45048b(0x21e)),{parallelCucumberRun}=require(a5_0x45048b(0x21d)),TestHubHandler=require(a5_0x45048b(0x1e3)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x45048b(0x241)),PerformanceTester=require(a5_0x45048b(0x20e)),PerformanceEvents=require(a5_0x45048b(0x210))['EVENTS'];function printCucumberStats(_0x4cc2ff){const _0x2d9294=a5_0x45048b,_0x6c26a1={};_0x6c26a1[_0x2d9294(0x228)]=function(_0x2641ed,_0x4e789e){return _0x2641ed>_0x4e789e;},_0x6c26a1[_0x2d9294(0x22c)]=function(_0x20f697,_0x22a9dd){return _0x20f697-_0x22a9dd;},_0x6c26a1[_0x2d9294(0x1f9)]=function(_0x3b0e0e,_0x1674a4){return _0x3b0e0e-_0x1674a4;},_0x6c26a1[_0x2d9294(0x1fb)]=function(_0x21d3aa,_0x15ad55){return _0x21d3aa>_0x15ad55;},_0x6c26a1['kkUAK']=function(_0x5e6881,_0x15b73f){return _0x5e6881>_0x15b73f;},_0x6c26a1[_0x2d9294(0x252)]=function(_0x5545be,_0x459bb9){return _0x5545be>_0x459bb9;},_0x6c26a1[_0x2d9294(0x1f7)]=function(_0x9f341b,_0x75eed8){return _0x9f341b>_0x75eed8;},_0x6c26a1[_0x2d9294(0x247)]=function(_0x29f765,_0x5d8e1e){return _0x29f765>_0x5d8e1e;},_0x6c26a1[_0x2d9294(0x237)]=function(_0x558c02,_0xf289d4){return _0x558c02+_0xf289d4;},_0x6c26a1[_0x2d9294(0x215)]=function(_0x3389d7,_0xe8493a){return _0x3389d7+_0xe8493a;},_0x6c26a1[_0x2d9294(0x24f)]=function(_0x5685a4,_0x17e619){return _0x5685a4+_0x17e619;},_0x6c26a1[_0x2d9294(0x213)]=function(_0x51fd77,_0x5c7305){return _0x51fd77===_0x5c7305;},_0x6c26a1[_0x2d9294(0x222)]=_0x2d9294(0x1fa);const _0x1fc179=_0x6c26a1;let _0x1d0c46=0x0;if(_0x1fc179[_0x2d9294(0x213)](_0x4cc2ff[_0x2d9294(0x24b)],0x0))return _0x1d0c46;return console[_0x2d9294(0x24d)](chalk[_0x2d9294(0x214)][_0x2d9294(0x257)](_0x1fc179['ghZvG'])),_0x4cc2ff[_0x2d9294(0x227)](_0x80e521=>{const _0xc587de=_0x2d9294,_0x29b738=_0x80e521[0x0],_0x96bacc=_0x80e521[0x1];console['log']('\x0a'+chalk[_0xc587de(0x214)][_0xc587de(0x236)](''+helper['getPlatformName'](_0x29b738)));const _0x650408=_0x96bacc[_0xc587de(0x204)],_0x1c36da=_0x96bacc[_0xc587de(0x217)],_0x5a06d1=_0x96bacc[_0xc587de(0x232)],_0x273461=_0x96bacc[_0xc587de(0x21a)],_0x22d227=_0x96bacc['stepsPassed'],_0x46b637=_0x96bacc[_0xc587de(0x254)],_0x16edef=_0x96bacc[_0xc587de(0x1f6)],_0x126ba7=_0x96bacc[_0xc587de(0x1ff)],_0x4d9503=_0x96bacc['stepsUnknown'],_0x116fd4=_0x96bacc['stepsAmbiguous'],_0x58c091=_0x96bacc['processSuccess'];let _0x2cef07=_0x650408+_0xc587de(0x253);const _0x402dc0=_0x1fc179[_0xc587de(0x228)](_0x1fc179[_0xc587de(0x22c)](_0x650408,_0x5a06d1),0x0)?_0x1fc179['QnGmb'](_0x650408,_0x5a06d1):0x0;if(_0x1fc179[_0xc587de(0x1fb)](_0x5a06d1,0x0)&&_0x1fc179[_0xc587de(0x228)](_0x402dc0,0x0))_0x2cef07+='\x20('+chalk[_0xc587de(0x214)][_0xc587de(0x22d)](_0x5a06d1+'\x20failed')+',\x20'+chalk[_0xc587de(0x214)][_0xc587de(0x20a)](_0x402dc0+'\x20passed')+')';else(_0x1fc179[_0xc587de(0x23a)](_0x5a06d1,0x0)||_0x1fc179[_0xc587de(0x23a)](_0x402dc0,0x0))&&(_0x2cef07+=_0x1fc179[_0xc587de(0x228)](_0x5a06d1,0x0)?'\x20('+chalk[_0xc587de(0x214)][_0xc587de(0x22d)](_0x5a06d1+_0xc587de(0x1e6))+')':'\x20('+chalk['bold'][_0xc587de(0x20a)](_0x402dc0+'\x20passed')+')');const _0x1d80a9=_0x1c36da+_0xc587de(0x21b),_0x366a82=[];_0x1fc179[_0xc587de(0x228)](_0x116fd4,0x0)&&_0x366a82['push'](''+chalk[_0xc587de(0x214)]['red'](_0x116fd4+_0xc587de(0x200)));_0x1fc179[_0xc587de(0x252)](_0x273461,0x0)&&_0x366a82[_0xc587de(0x23d)](''+chalk['bold'][_0xc587de(0x22d)](_0x273461+_0xc587de(0x1e6)));_0x1fc179[_0xc587de(0x228)](_0x22d227,0x0)&&_0x366a82[_0xc587de(0x23d)](''+chalk[_0xc587de(0x214)]['green'](_0x22d227+_0xc587de(0x250)));_0x1fc179[_0xc587de(0x1f7)](_0x16edef,0x0)&&_0x366a82['push'](''+chalk[_0xc587de(0x214)]['yellow'](_0x16edef+_0xc587de(0x25b)));_0x1fc179[_0xc587de(0x247)](_0x46b637,0x0)&&_0x366a82['push'](''+chalk[_0xc587de(0x214)][_0xc587de(0x20d)](_0x46b637+'\x20skipped'));_0x1fc179['mevJQ'](_0x126ba7,0x0)&&_0x366a82['push'](''+chalk['bold'][_0xc587de(0x236)](_0x126ba7+_0xc587de(0x259)));_0x1fc179[_0xc587de(0x247)](_0x4d9503,0x0)&&_0x366a82[_0xc587de(0x23d)](''+chalk[_0xc587de(0x214)][_0xc587de(0x236)](_0x4d9503+_0xc587de(0x25a)));const _0x55b4ba=_0x1fc179[_0xc587de(0x237)](_0x1fc179[_0xc587de(0x237)](_0x1fc179[_0xc587de(0x215)](_0x1d80a9,'('),_0x366a82[_0xc587de(0x231)](',\x20')),')');console[_0xc587de(0x24d)](_0x1fc179[_0xc587de(0x24f)](_0x1fc179[_0xc587de(0x24f)](_0x1fc179[_0xc587de(0x215)](_0x1fc179[_0xc587de(0x215)]('\x0a',_0x2cef07),'\x0a'),_0x55b4ba),'\x0a')),_0x1fc179[_0xc587de(0x213)](_0x58c091,![])&&(_0x1d0c46=0x1);}),_0x1d0c46;}async function run(_0x38feb9,_0x4259dc,_0x256597){const _0x4ce247=a5_0x45048b,_0x5adc92={'FmfEJ':function(_0x4f6e74,_0x44d295){return _0x4f6e74(_0x44d295);},'BzZcj':function(_0x313f7e,_0x58450a){return _0x313f7e>_0x58450a;},'mxaHR':_0x4ce247(0x235),'EqyfP':_0x4ce247(0x22a),'JvFub':_0x4ce247(0x24e),'mApot':_0x4ce247(0x21c),'avnCl':_0x4ce247(0x1f5),'hLpvX':function(_0x2cbb55,_0x224b09){return _0x2cbb55-_0x224b09;},'KFqvX':function(_0x1d6ff8,_0x2000d5){return _0x1d6ff8>=_0x2000d5;},'JaMQl':function(_0x3214d2,_0x4cfbb3){return _0x3214d2!=_0x4cfbb3;},'AURmV':_0x4ce247(0x202),'fdnYK':function(_0x4b5078,_0x355ba0,_0x6083ab,_0x1d398e,_0x39cf44,_0x464f7a){return _0x4b5078(_0x355ba0,_0x6083ab,_0x1d398e,_0x39cf44,_0x464f7a);}};await _0x256597[_0x4ce247(0x25d)](_0x38feb9),helper[_0x4ce247(0x1f0)](_0x256597[_0x4ce247(0x21f)],_0x38feb9);!helper[_0x4ce247(0x244)]()&&await _0x256597[_0x4ce247(0x22f)]();await helper[_0x4ce247(0x239)](_0x256597['config']);const _0x31fc21=helper['useW3C'](_0x256597[_0x4ce247(0x240)]);!helper[_0x4ce247(0x206)](_0x256597['config']['accessibilityOptions'])&&(process[_0x4ce247(0x205)][_0x4ce247(0x1f3)]=JSON[_0x4ce247(0x1f4)](_0x256597[_0x4ce247(0x240)][_0x4ce247(0x22b)]));const _0x1fef97=await TestHubHandler[_0x4ce247(0x25e)](constants[_0x4ce247(0x23b)][_0x4ce247(0x218)],_0x256597),_0x3ea514=helper[_0x4ce247(0x208)](_0x256597[_0x4ce247(0x240)],_0x31fc21,constants[_0x4ce247(0x23b)][_0x4ce247(0x218)]);if(!_0x256597[_0x4ce247(0x240)])return;const _0x293e7e=_0x256597[_0x4ce247(0x240)][_0x4ce247(0x1f8)]||helper[_0x4ce247(0x238)](_0x38feb9,_0x4259dc,_0x256597['config'],constants['FRAMEWORKS'][_0x4ce247(0x218)])||0x1,_0x501a2e={'server':helper[_0x4ce247(0x220)](_0x256597['config']),'proxySettings':_0x256597[_0x4ce247(0x240)][_0x4ce247(0x255)],'maxWorkers':_0x293e7e,'browserStackLogLevel':_0x256597[_0x4ce247(0x240)][_0x4ce247(0x1eb)],'skipSessionName':_0x256597[_0x4ce247(0x240)][_0x4ce247(0x242)]['skipSessionName'],'skipSessionStatus':_0x256597[_0x4ce247(0x240)][_0x4ce247(0x242)]['skipSessionStatus'],'turboScaleUrl':_0x256597[_0x4ce247(0x240)]['turboScaleUrl']},_0x44d11b=process[_0x4ce247(0x246)],[_0x2369ff,_0x2d453a]=helper[_0x4ce247(0x209)](_0x44d11b),_0x4bbf9b=path['join'](process[_0x4ce247(0x1ee)](),_0x5adc92[_0x4ce247(0x24a)]);if(_0x5adc92[_0x4ce247(0x207)](_0x2d453a[_0x4ce247(0x24b)],0x0)){helper[_0x4ce247(0x203)](_0x4bbf9b);for(let _0x4a055a=_0x5adc92['hLpvX'](_0x2369ff[_0x4ce247(0x24b)],0x1);_0x5adc92[_0x4ce247(0x1ec)](_0x4a055a,0x0);_0x4a055a--){_0x44d11b[_0x4ce247(0x1ea)](_0x2369ff[_0x4a055a],0x2);}}_0x5adc92[_0x4ce247(0x245)](_0x256597[_0x4ce247(0x240)][_0x4ce247(0x251)],null)?process[_0x4ce247(0x205)][_0x4ce247(0x1fc)]=_0x256597[_0x4ce247(0x240)][_0x4ce247(0x251)]:process[_0x4ce247(0x205)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5adc92['AURmV'];PerformanceTester[_0x4ce247(0x20f)](PerformanceEvents[_0x4ce247(0x216)]);let _0x2dc3a7;_0x5adc92['fdnYK'](parallelCucumberRun,_0x3ea514,_0x501a2e,_0x256597[_0x4ce247(0x240)],_0x44d11b,_0x2d453a)[_0x4ce247(0x221)](async _0x25b1f6=>{const _0x56a07e=_0x4ce247;PerformanceTester[_0x56a07e(0x20c)](PerformanceEvents[_0x56a07e(0x249)]),_0x2dc3a7=_0x25b1f6;const _0x5a2b28=_0x5adc92[_0x56a07e(0x1fd)](printCucumberStats,_0x25b1f6);process[_0x56a07e(0x229)]=_0x5a2b28,_0x5adc92[_0x56a07e(0x207)](_0x2d453a[_0x56a07e(0x24b)],0x0)&&(logger[_0x56a07e(0x1f2)](_0x5adc92[_0x56a07e(0x23c)]),helper[_0x56a07e(0x1e9)](_0x4bbf9b,_0x2d453a),logger[_0x56a07e(0x1f2)](_0x5adc92[_0x56a07e(0x1e4)]),helper[_0x56a07e(0x1ed)](_0x4bbf9b));})[_0x4ce247(0x226)](async()=>{const _0x561bed=_0x4ce247;PerformanceTester[_0x561bed(0x20c)](PerformanceEvents['SDK_CLEANUP']),_0x256597['errorMessage']=helper[_0x561bed(0x243)](_0x2dc3a7,_0x5adc92['JvFub']),testOpsHelper[_0x561bed(0x1e5)]();try{await TestHubHandler[_0x561bed(0x248)]();}catch(_0x16d6ed){logger[_0x561bed(0x1f2)](_0x561bed(0x24c)+util['format'](_0x16d6ed));}try{const {browserstackFolderPath:_0x13ce1e,tcgConfigPath:_0x13877c}=helper[_0x561bed(0x225)]();fs[_0x561bed(0x20b)](_0x13877c),fs[_0x561bed(0x256)](_0x13ce1e);}catch(_0x3a5b00){logger[_0x561bed(0x1f2)](_0x5adc92[_0x561bed(0x22e)],_0x3a5b00);}await utilities[_0x561bed(0x224)](_0x256597);});}module[a5_0x45048b(0x211)]=run;
2
+ 'use strict';const a5_0x177645=a5_0x26fc;(function(_0x270217,_0x152868){const _0x2285a3=a5_0x26fc,_0x261b5e=_0x270217();while(!![]){try{const _0x344d9a=-parseInt(_0x2285a3(0x1a5))/0x1+parseInt(_0x2285a3(0x1e0))/0x2+-parseInt(_0x2285a3(0x191))/0x3+parseInt(_0x2285a3(0x1d3))/0x4*(parseInt(_0x2285a3(0x1d4))/0x5)+parseInt(_0x2285a3(0x1df))/0x6*(-parseInt(_0x2285a3(0x196))/0x7)+-parseInt(_0x2285a3(0x19a))/0x8*(parseInt(_0x2285a3(0x181))/0x9)+parseInt(_0x2285a3(0x1be))/0xa;if(_0x344d9a===_0x152868)break;else _0x261b5e['push'](_0x261b5e['shift']());}catch(_0xc712a1){_0x261b5e['push'](_0x261b5e['shift']());}}}(a5_0x74dd,0x82705));const fs=require('fs'),path=require(a5_0x177645(0x1b0)),util=require('util'),logger=require(a5_0x177645(0x1ce))['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x177645(0x17c)),helper=require('../../helpers/helper'),utilities=require(a5_0x177645(0x1a3)),constants=require(a5_0x177645(0x1bf)),{parallelCucumberRun}=require(a5_0x177645(0x1b9)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x177645(0x194)),chalk=require(a5_0x177645(0x1cf)),PerformanceTester=require(a5_0x177645(0x1c4)),PerformanceEvents=require(a5_0x177645(0x17f))[a5_0x177645(0x1db)];function a5_0x74dd(){const _0x1e2b91=['XGzfp','path','jQXed','env','start','end','stepsPassed','bgWhite','\x20skipped','log','../test-runner','tmp','true','UeTaU','wWVRu','20410200AvClre','../utils/constants','CUCUMBER','createDir','green','SDK_CLEANUP','../../helpers/performance/performance-tester','stepsSkipped','then','forEach','prepareCapabilities','exports','yZEKj','Removing\x20tmp\x20directory\x20created\x20for\x20reports','useW3C','launchBuild','../../helpers/logger','chalk','\x20ambiguous','hzgSD','qJBdw','8420mTfuxT','1205lyXKPp','removeDir','\x20failed','\x20pending','skipSessionStatus','splice','processSuccess','EVENTS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Yhena','jHEoG','6dcdcVy','1694332yvgFFE','ApcQE','errorMessage','accessibilityOptions','printBuildLink','debug','jquLc','\x20steps','testContextOptions','QctqN','getErrorMessageFromResults','GxecR','qxduF','config','PdpZd','rmdirSync','setupTCGAuth','\x20undefined','../../helpers/BrowserStackSetup','handleApp','tIBrS','../../helpers/performance/constants','length','1611117csVvAw','Generating\x20consolidated\x20report...','\x20scenarios','\x20passed','unlinkSync','error\x20removing\x20tcg\x20config\x20file','BROWSERSTACK_TEST_OBSERVABILITY_YML','framework','finally','stringify','proxySettings','yellow','stepsPending','NQKIV','exitCode','LftOs','1884219ktFCxH','ZSBNM','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','../../helpers/test-observability/utils','stepsFailed','5128599UGPFBK','steps','red','ZkqjF','32ymnZxC','parallelsPerPlatform','hLyRp','FRAMEWORKS','push','initialize','setUserConfigPath','stop','finalExecution','../../helpers/utilities','Kmtzp','784432iCwSTO','cyan','RnuxX','getHubUrl','getUserWorkerCount','join','ROcaN','logLevel','testObservability','bold'];a5_0x74dd=function(){return _0x1e2b91;};return a5_0x74dd();}function a5_0x26fc(_0x36af83,_0x568c56){const _0x74ddf2=a5_0x74dd();return a5_0x26fc=function(_0x26fc4d,_0x5167a7){_0x26fc4d=_0x26fc4d-0x16e;let _0x125aa9=_0x74ddf2[_0x26fc4d];return _0x125aa9;},a5_0x26fc(_0x36af83,_0x568c56);}function printCucumberStats(_0x2a7dbf){const _0x562533=a5_0x177645,_0x183188={};_0x183188[_0x562533(0x18e)]=function(_0x1cf3c0,_0x40caf8){return _0x1cf3c0>_0x40caf8;},_0x183188[_0x562533(0x178)]=function(_0x5273d9,_0x4e55c5){return _0x5273d9-_0x4e55c5;},_0x183188[_0x562533(0x1bd)]=function(_0xfdc00,_0x47eab2){return _0xfdc00-_0x47eab2;},_0x183188[_0x562533(0x1a4)]=function(_0x5474ba,_0x2ebf84){return _0x5474ba>_0x2ebf84;},_0x183188['yZEKj']=function(_0x4b80a8,_0x48c1b7){return _0x4b80a8>_0x48c1b7;},_0x183188[_0x562533(0x1de)]=function(_0x40456d,_0x6a8589){return _0x40456d>_0x6a8589;},_0x183188[_0x562533(0x199)]=function(_0x2ff0ef,_0x3992f0){return _0x2ff0ef>_0x3992f0;},_0x183188[_0x562533(0x1ab)]=function(_0x1e1ce2,_0x2dbfec){return _0x1e1ce2>_0x2dbfec;},_0x183188[_0x562533(0x190)]=function(_0x37e987,_0x3a31df){return _0x37e987+_0x3a31df;},_0x183188[_0x562533(0x1dd)]=function(_0x3b137f,_0x3f8410){return _0x3b137f+_0x3f8410;},_0x183188[_0x562533(0x173)]=function(_0x274774,_0x81555b){return _0x274774+_0x81555b;},_0x183188['hLyRp']=function(_0x581a19,_0x138e9c){return _0x581a19===_0x138e9c;},_0x183188[_0x562533(0x170)]=function(_0x560b4d,_0x57c879){return _0x560b4d===_0x57c879;},_0x183188[_0x562533(0x1b1)]='****\x20RESULTS\x20****';const _0x16292a=_0x183188;let _0x581a44=0x0;if(_0x16292a[_0x562533(0x170)](_0x2a7dbf['length'],0x0))return _0x581a44;return console[_0x562533(0x1b8)](chalk[_0x562533(0x1ae)][_0x562533(0x1b6)](_0x16292a['jQXed'])),_0x2a7dbf[_0x562533(0x1c7)](_0x3cd37a=>{const _0x4a2809=_0x562533,_0x101773=_0x3cd37a[0x0],_0x5e70e0=_0x3cd37a[0x1];console[_0x4a2809(0x1b8)]('\x0a'+chalk['bold'][_0x4a2809(0x18c)](''+helper['getPlatformName'](_0x101773)));const _0x4ffb57=_0x5e70e0['scenarios'],_0x522316=_0x5e70e0[_0x4a2809(0x197)],_0x59e99a=_0x5e70e0['scenariosFailed'],_0x4ae3ad=_0x5e70e0[_0x4a2809(0x195)],_0x2fbddc=_0x5e70e0[_0x4a2809(0x1b5)],_0x2a1be3=_0x5e70e0[_0x4a2809(0x1c5)],_0x10c600=_0x5e70e0[_0x4a2809(0x18d)],_0x4782ed=_0x5e70e0['stepsUndefined'],_0x15f0a1=_0x5e70e0['stepsUnknown'],_0x5cb2bf=_0x5e70e0['stepsAmbiguous'],_0x2d1021=_0x5e70e0[_0x4a2809(0x1da)];let _0x317f3f=_0x4ffb57+_0x4a2809(0x183);const _0x78cdbb=_0x16292a['NQKIV'](_0x16292a[_0x4a2809(0x178)](_0x4ffb57,_0x59e99a),0x0)?_0x16292a[_0x4a2809(0x1bd)](_0x4ffb57,_0x59e99a):0x0;if(_0x16292a[_0x4a2809(0x18e)](_0x59e99a,0x0)&&_0x16292a[_0x4a2809(0x18e)](_0x78cdbb,0x0))_0x317f3f+='\x20('+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x198)](_0x59e99a+_0x4a2809(0x1d6))+',\x20'+chalk[_0x4a2809(0x1ae)]['green'](_0x78cdbb+_0x4a2809(0x184))+')';else(_0x16292a['NQKIV'](_0x59e99a,0x0)||_0x16292a['NQKIV'](_0x78cdbb,0x0))&&(_0x317f3f+=_0x16292a[_0x4a2809(0x1a4)](_0x59e99a,0x0)?'\x20('+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x198)](_0x59e99a+'\x20failed')+')':'\x20('+chalk['bold']['green'](_0x78cdbb+_0x4a2809(0x184))+')');const _0x119091=_0x522316+_0x4a2809(0x171),_0x56e85a=[];_0x16292a[_0x4a2809(0x1ca)](_0x5cb2bf,0x0)&&_0x56e85a[_0x4a2809(0x19e)](''+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x198)](_0x5cb2bf+_0x4a2809(0x1d0)));_0x16292a['NQKIV'](_0x4ae3ad,0x0)&&_0x56e85a['push'](''+chalk['bold'][_0x4a2809(0x198)](_0x4ae3ad+_0x4a2809(0x1d6)));_0x16292a[_0x4a2809(0x1de)](_0x2fbddc,0x0)&&_0x56e85a[_0x4a2809(0x19e)](''+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x1c2)](_0x2fbddc+_0x4a2809(0x184)));_0x16292a[_0x4a2809(0x199)](_0x10c600,0x0)&&_0x56e85a[_0x4a2809(0x19e)](''+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x18c)](_0x10c600+_0x4a2809(0x1d7)));_0x16292a[_0x4a2809(0x1ab)](_0x2a1be3,0x0)&&_0x56e85a[_0x4a2809(0x19e)](''+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x1a6)](_0x2a1be3+_0x4a2809(0x1b7)));_0x16292a[_0x4a2809(0x1a4)](_0x4782ed,0x0)&&_0x56e85a[_0x4a2809(0x19e)](''+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x18c)](_0x4782ed+_0x4a2809(0x17b)));_0x16292a[_0x4a2809(0x1de)](_0x15f0a1,0x0)&&_0x56e85a['push'](''+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x18c)](_0x15f0a1+_0x4a2809(0x1b7)));const _0x465714=_0x16292a['LftOs'](_0x16292a[_0x4a2809(0x190)](_0x16292a['LftOs'](_0x119091,'('),_0x56e85a[_0x4a2809(0x1aa)](',\x20')),')');console[_0x4a2809(0x1b8)](_0x16292a[_0x4a2809(0x1dd)](_0x16292a['QctqN'](_0x16292a[_0x4a2809(0x190)](_0x16292a['Yhena']('\x0a',_0x317f3f),'\x0a'),_0x465714),'\x0a')),_0x16292a[_0x4a2809(0x19c)](_0x2d1021,![])&&(_0x581a44=0x1);}),_0x581a44;}async function run(_0x55e5f5,_0x2042ce,_0x34a548){const _0x1b2b6d=a5_0x177645,_0x1a0ad8={'hcNXJ':function(_0x29a625,_0x15eb5d){return _0x29a625(_0x15eb5d);},'qxduF':function(_0x3bfc0f,_0x5d73ea){return _0x3bfc0f>_0x5d73ea;},'hzgSD':_0x1b2b6d(0x182),'ZSBNM':_0x1b2b6d(0x1cb),'XGzfp':'cucumber','tIBrS':_0x1b2b6d(0x186),'ApcQE':_0x1b2b6d(0x1ba),'qJBdw':function(_0x4244ac,_0x335cb8){return _0x4244ac-_0x335cb8;},'GxecR':function(_0x1d3954,_0x94d4fe){return _0x1d3954>=_0x94d4fe;},'AcPCt':function(_0x34e648,_0x37d08d){return _0x34e648!=_0x37d08d;},'RnuxX':_0x1b2b6d(0x1bb),'UeTaU':function(_0x1146bc,_0x36f7f6,_0x359548,_0x1a407f,_0x24b9e7,_0x1d639e){return _0x1146bc(_0x36f7f6,_0x359548,_0x1a407f,_0x24b9e7,_0x1d639e);}};await _0x34a548[_0x1b2b6d(0x19f)](_0x55e5f5),helper[_0x1b2b6d(0x1a0)](_0x34a548[_0x1b2b6d(0x188)],_0x55e5f5);!helper['isBrowserstackInfra']()&&await _0x34a548[_0x1b2b6d(0x17a)]();await helper[_0x1b2b6d(0x17d)](_0x34a548[_0x1b2b6d(0x177)]);const _0x3e948f=helper[_0x1b2b6d(0x1cc)](_0x34a548[_0x1b2b6d(0x177)]);!helper['isUndefined'](_0x34a548['config'][_0x1b2b6d(0x1e3)])&&(process[_0x1b2b6d(0x1b2)][_0x1b2b6d(0x1dc)]=JSON[_0x1b2b6d(0x18a)](_0x34a548[_0x1b2b6d(0x177)][_0x1b2b6d(0x1e3)]));const _0x217161=await TestHubHandler[_0x1b2b6d(0x1cd)](constants[_0x1b2b6d(0x19d)][_0x1b2b6d(0x1c0)],_0x34a548),_0x37f95f=helper[_0x1b2b6d(0x1c8)](_0x34a548[_0x1b2b6d(0x177)],_0x3e948f,constants['FRAMEWORKS'][_0x1b2b6d(0x1c0)]);if(!_0x34a548['config'])return;const _0x42aad8=_0x34a548[_0x1b2b6d(0x177)][_0x1b2b6d(0x19b)]||helper[_0x1b2b6d(0x1a9)](_0x55e5f5,_0x2042ce,_0x34a548[_0x1b2b6d(0x177)],constants[_0x1b2b6d(0x19d)]['CUCUMBER'])||0x1,_0x4185c2={'server':helper[_0x1b2b6d(0x1a8)](_0x34a548['config']),'proxySettings':_0x34a548['config'][_0x1b2b6d(0x18b)],'maxWorkers':_0x42aad8,'browserStackLogLevel':_0x34a548[_0x1b2b6d(0x177)][_0x1b2b6d(0x1ac)],'skipSessionName':_0x34a548[_0x1b2b6d(0x177)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x34a548[_0x1b2b6d(0x177)][_0x1b2b6d(0x172)][_0x1b2b6d(0x1d8)],'turboScaleUrl':_0x34a548[_0x1b2b6d(0x177)]['turboScaleUrl']},_0x4d614e=process['argv'],[_0x225894,_0x30b601]=helper['parseFormatters'](_0x4d614e),_0x24b3e4=path[_0x1b2b6d(0x1aa)](process['cwd'](),_0x1a0ad8[_0x1b2b6d(0x1e1)]);if(_0x1a0ad8[_0x1b2b6d(0x176)](_0x30b601['length'],0x0)){helper[_0x1b2b6d(0x1c1)](_0x24b3e4);for(let _0x4c68c9=_0x1a0ad8[_0x1b2b6d(0x1d2)](_0x225894[_0x1b2b6d(0x180)],0x1);_0x1a0ad8[_0x1b2b6d(0x175)](_0x4c68c9,0x0);_0x4c68c9--){_0x4d614e[_0x1b2b6d(0x1d9)](_0x225894[_0x4c68c9],0x2);}}_0x1a0ad8['AcPCt'](_0x34a548[_0x1b2b6d(0x177)][_0x1b2b6d(0x1ad)],null)?process[_0x1b2b6d(0x1b2)][_0x1b2b6d(0x187)]=_0x34a548[_0x1b2b6d(0x177)][_0x1b2b6d(0x1ad)]:process['env'][_0x1b2b6d(0x187)]=_0x1a0ad8[_0x1b2b6d(0x1a7)];PerformanceTester[_0x1b2b6d(0x1b4)](PerformanceEvents['SDK_SETUP']);let _0x3b2b81;_0x1a0ad8[_0x1b2b6d(0x1bc)](parallelCucumberRun,_0x37f95f,_0x4185c2,_0x34a548[_0x1b2b6d(0x177)],_0x4d614e,_0x30b601)[_0x1b2b6d(0x1c6)](async _0x277986=>{const _0x57e3a8=_0x1b2b6d;PerformanceTester[_0x57e3a8(0x1b3)](PerformanceEvents[_0x57e3a8(0x1c3)]),_0x3b2b81=_0x277986;const _0x514ec2=_0x1a0ad8['hcNXJ'](printCucumberStats,_0x277986);process[_0x57e3a8(0x18f)]=_0x514ec2,_0x1a0ad8[_0x57e3a8(0x176)](_0x30b601['length'],0x0)&&(logger[_0x57e3a8(0x16f)](_0x1a0ad8[_0x57e3a8(0x1d1)]),helper['mergeOutputFiles'](_0x24b3e4,_0x30b601),logger['debug'](_0x1a0ad8[_0x57e3a8(0x192)]),helper[_0x57e3a8(0x1d5)](_0x24b3e4));})[_0x1b2b6d(0x189)](async()=>{const _0x18478d=_0x1b2b6d;PerformanceTester[_0x18478d(0x1b3)](PerformanceEvents['SDK_CLEANUP']),_0x34a548[_0x18478d(0x1e2)]=helper[_0x18478d(0x174)](_0x3b2b81,_0x1a0ad8[_0x18478d(0x1af)]),testOpsHelper[_0x18478d(0x16e)]();try{await TestHubHandler[_0x18478d(0x1a1)]();}catch(_0x55c816){logger['debug'](_0x18478d(0x193)+util['format'](_0x55c816));}try{const {browserstackFolderPath:_0x2925c2,tcgConfigPath:_0x5dd05c}=helper['getTCGConfigFilePaths']();fs[_0x18478d(0x185)](_0x5dd05c),fs[_0x18478d(0x179)](_0x2925c2);}catch(_0x8e74b8){logger[_0x18478d(0x16f)](_0x1a0ad8[_0x18478d(0x17e)],_0x8e74b8);}await utilities[_0x18478d(0x1a2)](_0x34a548);});}module[a5_0x177645(0x1c9)]=run;