browserstack-node-sdk 1.50.7 → 1.50.9

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 (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x25d614=a1_0x5092;function a1_0x5092(_0x2f3899,_0x172f0c){const _0x1c88d4=a1_0x1c88();return a1_0x5092=function(_0x509254,_0xbc613c){_0x509254=_0x509254-0xc3;let _0x286006=_0x1c88d4[_0x509254];return _0x286006;},a1_0x5092(_0x2f3899,_0x172f0c);}(function(_0x4105d2,_0x11aff2){const _0x35f9c8=a1_0x5092,_0x10d353=_0x4105d2();while(!![]){try{const _0x31c246=parseInt(_0x35f9c8(0x18d))/0x1+-parseInt(_0x35f9c8(0x14e))/0x2*(-parseInt(_0x35f9c8(0x169))/0x3)+parseInt(_0x35f9c8(0x16d))/0x4+-parseInt(_0x35f9c8(0x141))/0x5*(parseInt(_0x35f9c8(0x1cb))/0x6)+-parseInt(_0x35f9c8(0xec))/0x7+parseInt(_0x35f9c8(0x181))/0x8+-parseInt(_0x35f9c8(0x1b3))/0x9;if(_0x31c246===_0x11aff2)break;else _0x10d353['push'](_0x10d353['shift']());}catch(_0x4da5a7){_0x10d353['push'](_0x10d353['shift']());}}}(a1_0x1c88,0xb5e15));const fs=require('fs'),util=require(a1_0x25d614(0xef)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x25d614(0x192)),logger=require(a1_0x25d614(0x113))[a1_0x25d614(0x140)],testOpsHelper=require(a1_0x25d614(0x1a0)),requestSpy=require(a1_0x25d614(0x1b7)),PlaywrightSessionDetails=require(a1_0x25d614(0xdc)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x25d614(0x157)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x25d614(0xda)),AccessibilityHelper=require(a1_0x25d614(0xe0)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x25d614(0x13a)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x25d614(0x17c)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x25d614(0xf1)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x25d614(0x1c3)),CodeceptJS=requireModule(a1_0x25d614(0x190),'codeceptjs'),CodeceptUtils=requireModule(a1_0x25d614(0x10a),a1_0x25d614(0x117)),CodeceptWebDriver=requireModule(a1_0x25d614(0x12d),a1_0x25d614(0x117)),CodeceptRecorder=requireModule(a1_0x25d614(0xfc),a1_0x25d614(0x117)),CodeceptPlaywright=requireModule(a1_0x25d614(0x1b0),a1_0x25d614(0x117)),playwrightMarkSessionStatus=(_0x5ee10e,_0x35f8c7,_0x4f1e7a)=>{const _0xd6f50b=a1_0x25d614,_0x10491d={'HAmcO':_0xd6f50b(0xf9),'dXhFO':function(_0x2c7cf7,_0x53bfcb){return _0x2c7cf7(_0x53bfcb);}},_0x1776e4={};_0x1776e4['status']=_0x35f8c7;const _0xeeaa27={};_0xeeaa27['action']=_0x10491d[_0xd6f50b(0x18c)],_0xeeaa27[_0xd6f50b(0x1b8)]=_0x1776e4;const _0x2ac527=_0xeeaa27;return!_0x10491d['dXhFO'](isUndefined,_0x4f1e7a)&&(_0x2ac527[_0xd6f50b(0x1b8)][_0xd6f50b(0x129)]=JSON[_0xd6f50b(0x1b9)](_0x4f1e7a)),_0x5ee10e[_0xd6f50b(0xcf)](()=>{},_0xd6f50b(0x11f)+JSON[_0xd6f50b(0x1b9)](_0x2ac527));},o11ySync=PerformanceTester[a1_0x25d614(0x1ca)](PerformanceO11yEvents[a1_0x25d614(0x164)],async _0x15fa9a=>{const _0x3a174f=a1_0x25d614,_0x3b6744={};_0x3b6744[_0x3a174f(0xfa)]=function(_0x4704f7,_0x46efdf){return _0x4704f7===_0x46efdf;},_0x3b6744[_0x3a174f(0x153)]='Playwright';const _0x5f26d6=_0x3b6744;_0x5f26d6['Pfwrv'](_0x15fa9a[_0x3a174f(0x16b)]['name'],_0x5f26d6[_0x3a174f(0x153)])?await _0x15fa9a[_0x3a174f(0xcf)](_0x44acc7=>{},testOpsHelper[_0x3a174f(0x1a9)]()):await _0x15fa9a[_0x3a174f(0xcf)](testOpsHelper[_0x3a174f(0x1a9)]());}),markSessionName=PerformanceTester[a1_0x25d614(0x1ca)](PerformanceAutEvents[a1_0x25d614(0x1c7)],async(_0xdbd191,_0x5e50e9)=>{const _0xa17236=a1_0x25d614,_0x59eab5={};_0x59eab5[_0xa17236(0x18a)]=_0xa17236(0xc9),_0x59eab5['Nafms']=function(_0xde5e5a,_0x86ae4c){return _0xde5e5a===_0x86ae4c;},_0x59eab5[_0xa17236(0xc7)]=_0xa17236(0x1c5);const _0x1d6936=_0x59eab5,_0x2f6474={};_0x2f6474[_0xa17236(0x1a2)]=_0x5e50e9;const _0x3c4164={};_0x3c4164['action']=_0x1d6936['VSWiE'],_0x3c4164[_0xa17236(0x1b8)]=_0x2f6474;const _0x243e01=_0x3c4164;_0x1d6936[_0xa17236(0xf7)](_0xdbd191[_0xa17236(0x16b)][_0xa17236(0x1a2)],_0x1d6936[_0xa17236(0xc7)])?await _0xdbd191[_0xa17236(0xcf)](()=>{},_0xa17236(0x11f)+JSON[_0xa17236(0x1b9)](_0x243e01)):await _0xdbd191[_0xa17236(0xcf)](_0xa17236(0x11f)+JSON[_0xa17236(0x1b9)](_0x243e01));}),patchSaveScreenshot=_0x1ce2a0=>{const _0x34ff1f=a1_0x25d614,_0x28a8c0={'CtwqQ':_0x34ff1f(0x147),'ZpUFZ':_0x34ff1f(0xc4),'gVuQq':function(_0x249512){return _0x249512();},'yrkTU':function(_0x3b6e2d,_0x158066){return _0x3b6e2d(_0x158066);},'qMIuz':'Screenshot\x20path\x20not\x20found','EcXWB':function(_0x1131fb,_0x212067){return _0x1131fb(_0x212067);}};_0x28a8c0[_0x34ff1f(0x17e)](isTrue,process[_0x34ff1f(0x161)][_0x34ff1f(0xff)])&&!_0x1ce2a0[_0x34ff1f(0x102)]&&(_0x1ce2a0[_0x34ff1f(0x102)]=!![],_0x1ce2a0[_0x34ff1f(0x18b)]=_0x1ce2a0[_0x34ff1f(0xf5)],_0x1ce2a0[_0x34ff1f(0xf5)]=(_0x23b7c4,_0x2c7062=![])=>{const _0x300b81=_0x34ff1f,_0x4f5c7d={'fHjDt':_0x28a8c0['CtwqQ'],'TLmrd':_0x28a8c0[_0x300b81(0x15d)],'eQVUJ':function(_0x3c3040){const _0x47ec56=_0x300b81;return _0x28a8c0[_0x47ec56(0x15b)](_0x3c3040);},'vtWxy':function(_0x2a8a89,_0x562fbc){const _0x1d4734=_0x300b81;return _0x28a8c0[_0x1d4734(0x148)](_0x2a8a89,_0x562fbc);},'qVbUV':_0x28a8c0[_0x300b81(0x182)]};return new Promise(function(_0x4faffd,_0x580d55){const _0x131133=_0x300b81,_0x5a0e65={'QRTFc':_0x4f5c7d[_0x131133(0x11b)],'sVkuN':_0x4f5c7d[_0x131133(0x133)],'kWNjo':function(_0x20f914){const _0x178afc=_0x131133;return _0x4f5c7d[_0x178afc(0x103)](_0x20f914);},'pElgV':function(_0x9f09e4,_0x4b10ec){const _0x417ed3=_0x131133;return _0x4f5c7d[_0x417ed3(0x186)](_0x9f09e4,_0x4b10ec);},'iuFMX':_0x4f5c7d[_0x131133(0x19f)]};_0x1ce2a0[_0x131133(0x18b)](_0x23b7c4,_0x2c7062)[_0x131133(0x131)](()=>{const _0x5816bb=_0x131133,_0x5d8001=CodeceptUtils['screenshotOutputFolder'](_0x23b7c4);if(_0x5d8001){const _0x194cd7=fs[_0x5816bb(0x14d)](_0x5d8001);process['emit'](_0x5816bb(0x110)+process[_0x5816bb(0x1b1)],{'timestamp':new Date()[_0x5816bb(0x173)](),'message':_0x194cd7[_0x5816bb(0xe9)](_0x5a0e65[_0x5816bb(0xc6)]),'kind':_0x5a0e65['sVkuN']}),_0x5a0e65[_0x5816bb(0x11e)](_0x4faffd);}_0x5a0e65['pElgV'](_0x580d55,new Error(_0x5a0e65[_0x5816bb(0x12b)]));})[_0x131133(0x12c)](()=>null);});});},patchWebDriverBefore=_0x12c42a=>{const _0x3445f4=a1_0x25d614,_0x26ddad={'OziYR':function(_0x39e15d){return _0x39e15d();},'jiLGT':function(_0x167ac5,_0x52cdfc){return _0x167ac5(_0x52cdfc);},'PdUQO':function(_0x596290,_0xaf7b05){return _0x596290===_0xaf7b05;},'CpNIr':_0x3445f4(0xce),'iogvs':function(_0x45169c,_0x358105){return _0x45169c===_0x358105;},'wWrUV':'string','nxska':function(_0x335204,_0x3e3874){return _0x335204===_0x3e3874;},'LWOPa':_0x3445f4(0x105)},_0x3879b1=async function(_0x3f6468,_0x36f4e8){const _0x123665=_0x3445f4;_0x26ddad[_0x123665(0x120)](isAccessibilityAutomationSession)&&!global[_0x123665(0x167)]&&global[_0x123665(0x17f)]&&scripts['shouldWrapCommand'](_0x3f6468[_0x123665(0x1a2)])&&_0x26ddad[_0x123665(0x1c2)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x123665(0x167)]=!![],await PerformanceTester[_0x123665(0x1ca)](PerformanceA11yEvents[_0x123665(0x11a)],async()=>{const _0x1a2f6e=_0x123665;logger[_0x1a2f6e(0x165)](_0x1a2f6e(0x1ad)+_0x3f6468[_0x1a2f6e(0x191)]+'\x20'+_0x3f6468[_0x1a2f6e(0x1a2)]),await AccessibilityHelper[_0x1a2f6e(0x1a4)](_0x12c42a,scripts['performScan']);},{'command':_0x3f6468[_0x123665(0x1a2)]})());global[_0x123665(0x167)]=![];const _0x28e529=JSON[_0x123665(0xcb)](process[_0x123665(0x161)]['FRAMEWORK_DETAILS']||'{}');if(_0x26ddad[_0x123665(0x14b)](_0x28e529?.['testFramework']?.[_0x123665(0x1a2)],_0x26ddad[_0x123665(0x134)])&&_0x26ddad[_0x123665(0x1bd)](typeof _0x28e529?.[_0x123665(0xd4)]?.[_0x123665(0x115)],_0x26ddad[_0x123665(0x160)])&&_0x28e529?.[_0x123665(0xd4)]?.[_0x123665(0x115)][_0x123665(0x14f)]('7'))return _0x36f4e8[_0x123665(0x16a)](null,Array[_0x123665(0x168)][_0x123665(0xfe)][_0x123665(0x1c6)](arguments,0x2));return _0x36f4e8[_0x123665(0x16a)](this,Array[_0x123665(0x168)][_0x123665(0xfe)][_0x123665(0x1c6)](arguments,0x2));},_0x103454=CodeceptWebDriver[_0x3445f4(0x168)][_0x3445f4(0x1b6)];CodeceptWebDriver[_0x3445f4(0x168)][_0x3445f4(0x1b6)]=async function(){const _0x478059=_0x3445f4;try{await _0x103454['apply'](this,arguments);}catch(_0x2a072d){logger[_0x478059(0x165)](_0x478059(0x174)+util[_0x478059(0x10f)](_0x2a072d));}scripts[_0x478059(0xc8)][_0x478059(0x122)](_0x1a7ef9=>_0x1a7ef9[_0x478059(0x1a2)]&&_0x1a7ef9['class'])[_0x478059(0x16c)](_0x3943f6=>{const _0x5a9419=_0x478059;this['browser'][_0x5a9419(0xf6)](_0x3943f6['name'],_0x3879b1['bind'](this,_0x3943f6),_0x26ddad[_0x5a9419(0x119)](_0x3943f6[_0x5a9419(0x191)],_0x26ddad[_0x5a9419(0x1a7)]));}),_0x26ddad['jiLGT'](processWebDriverConfig,_0x12c42a);};};function parseJwt(_0xaf88be){const _0x2e0470=a1_0x25d614,_0x334461={};_0x334461[_0x2e0470(0x19a)]='base64';const _0x519794=_0x334461;if(!_0xaf88be)return null;return JSON[_0x2e0470(0xcb)](Buffer['from'](_0xaf88be['split']('.')[0x1],_0x519794[_0x2e0470(0x19a)])[_0x2e0470(0xe9)]());}function a1_0x1c88(){const _0x4e6eb0=['browser','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','before','SDFkC','SDK_PRE_INITIALIZE','base64','yrkTU','TEST_RUN_FINISHED','hook-started','PdUQO','vvOwj','readFileSync','920626mbwsSx','startsWith','push','end','started','ePVMU','thTestRunUuid','zvpPV','EOPED','./o11yHelper','Suite','thJwtToken','NcMIY','gVuQq','zpWdh','ZpUFZ','TEST_RUN_SKIPPED','SAVE_RESULTS','wWrUV','env','getResults','domForge','SYNC','debug','restore','bstackAllyScanning','prototype','9wcFyuJ','apply','constructor','forEach','1227556FYWJVB','afterTest','bddStep-after','browserstackTestName','skipped','hook','toISOString','Failed\x20to\x20execute\x20_before:\x20','all','skipSessionStatus','PyhrP','test-passed','page','bddStep-before','xSTEW','../../helpers/performance/constants','pJeWX','EcXWB','accessibilityPlatform','chromium','9734472FnlUAz','qMIuz','qCAMu','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','VtzUv','vtWxy','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','exports','Xonec','VSWiE','initSaveScreenshot','HAmcO','1240445fmLqkM','args','getAccessibilityResultsSummary','codeceptjs/lib/index.js','class','../../helpers/helper','bbXZi','a11y_core_config','test-after','Puppeteer','saveTestResults','stack','step-comment','FajFr','message','sbasI','kxdkh','title','qVbUV','../../helpers/test-observability/utils','startMonitoring','name','failed','browserStackExecuteDriver','bddStepStart','find','LWOPa','HMoom','getSyncScript','pejYr','fITuQ','container','Performing\x20scan\x20for\x20','\x0aStack:\x20','skipSessionName','codeceptjs/lib/helper/Playwright.js','pid','XNaBr','12592908bkmxOJ','wjsem','config','_before','../../helpers/request-spy','arguments','stringify','fireEvent','passed','EkwBZ','iogvs','GzPJh','__driver','thBuildUuid','INFO','jiLGT','../../helpers/globals.js','SuMAE','Playwright','call','SESSION_NAME','BS_A11Y_JWT','WSYkz','measureWrapper','738qWAysC','CQKSs','step','TEST_SCREENSHOT','event','QRTFc','tRjXx','commandsToWrap','setSessionName','YSCxm','parse','dispatcher','hook-failed','webdriverio','executeScript','start','captureEvent','TEST_LOG','bddStepFinish','testFramework','GET_RESULTS_SUMMARY','includes','raugX','gHREP','QNKlV','../../helpers/accessibility-automation/helper','EeyFg','../../bin/playwright/sessionDetails','SDK_HOOK','ZjHzQ','titlePath','../../bin/playwright/accessibility-helper','__skipSessionStatus','comment','rbEFj','fKmaB','TEST_RUN_STARTED','DVdXA','isArray','info','toString','performScan','getResultsSummary','5059572bZgSMK','setGlobal','BROWSERSTACK_TESTHUB_UUID','util','ymsDS','./helper.js','captureError','warn','SDK_TEST','saveScreenshot','overwriteCommand','Nafms','FYsEs','setSessionStatus','Pfwrv','UKAuO','codeceptjs/lib/recorder.js','bind','slice','BS_TESTOPS_ALLOW_SCREENSHOTS','DXkEm','NfsDE','patchSaveScreenshot','eQVUJ','uXohi','Element','SDK_PRE_TEST','PNoQO','qxEtj','dleSV','codeceptjs/lib/utils.js','ctx','currentTest','test-skipped','contexts','format','bs:addLog:','_setPage','HOOK_RUN_FINISHED','../../helpers/logger','FMYcB','version','SDK_POST_TEST','codeceptjs','IiNEG','nxska','PERFORM_SCAN','fHjDt','browserContext','hook-passed','kWNjo','browserstack_executor:\x20','OziYR','hookType','filter','jxWdc','stopMonitoring','jtNvs','testAnalyticsId','FTGSU','klzqH','reason','HOOK_RUN_STARTED','iuFMX','catch','codeceptjs/lib/helper/WebDriver.js','test','patch','BROWSERSTACK_TESTHUB_JWT','then','add','TLmrd','CpNIr','enabled','bddStep','url','pages','test-started','../../helpers/performance/performance-tester','fZUuM','SDK_POST_INITIALIZE','command','getAccessibilityResults','helpers','winstonLogger','51955eNTsSd'];a1_0x1c88=function(){return _0x4e6eb0;};return a1_0x1c88();}const patchPlaywrightBefore=()=>{const _0x4d6194=a1_0x25d614,_0x31ffea={'PyhrP':'--auto-open-devtools-for-tabs','rbEFj':function(_0x3d5368){return _0x3d5368();},'Xonec':function(_0x36eff9,_0x17efd8){return _0x36eff9(_0x17efd8);},'dleSV':'devtools://','HfakD':function(_0x22f440,_0x38e5be){return _0x22f440+_0x38e5be;},'zpWdh':_0x4d6194(0x1ae),'GzPJh':function(_0x4d9fdc){return _0x4d9fdc();},'SuMAE':function(_0x5850cf){return _0x5850cf();}};PlaywrightSessionDetails[_0x4d6194(0x12f)]();const _0x23b46d=CodeceptPlaywright[_0x4d6194(0x168)][_0x4d6194(0x1b6)];CodeceptPlaywright[_0x4d6194(0x168)][_0x4d6194(0x1b6)]=async function(){const _0x1050d2=_0x4d6194,_0x270a42={'EeyFg':function(_0x394de9){const _0x163fe5=a1_0x5092;return _0x31ffea[_0x163fe5(0x1be)](_0x394de9);},'VtzUv':_0x31ffea[_0x1050d2(0x109)]};this['browserContext']=await this[_0x1050d2(0x142)][_0x1050d2(0x10e)]()[0x0];const _0x1e69f1=async()=>{const _0x20c186=_0x1050d2,_0xe825eb=this[_0x20c186(0x1b5)]&&this[_0x20c186(0x1b5)]['chromium']&&this[_0x20c186(0x1b5)][_0x20c186(0x180)][_0x20c186(0x18e)]&&Array[_0x20c186(0xe7)](this[_0x20c186(0x1b5)][_0x20c186(0x180)][_0x20c186(0x18e)])&&this[_0x20c186(0x1b5)][_0x20c186(0x180)][_0x20c186(0x18e)][_0x20c186(0xd6)](_0x31ffea[_0x20c186(0x177)]);if(_0x31ffea[_0x20c186(0xe3)](isAccessibilityAutomationSession)&&!_0xe825eb)try{const _0x5c55bf=_0x31ffea[_0x20c186(0x189)](parseJwt,process[_0x20c186(0x161)][_0x20c186(0x1c8)]);if(_0x5c55bf&&_0x5c55bf[_0x20c186(0x194)]&&_0x5c55bf['a11y_core_config'][_0x20c186(0x163)]){const _0x188386=this[_0x20c186(0x11c)]['pages'][_0x20c186(0xfd)](this[_0x20c186(0x11c)]);this[_0x20c186(0x11c)][_0x20c186(0x138)]=async function(){const _0x3919eb=_0x20c186,_0x25835c=await _0x270a42[_0x3919eb(0xdb)](_0x188386),_0x1aaf7e=[];for(const _0x5daacb of _0x25835c){try{const _0x388f82=await _0x5daacb[_0x3919eb(0x137)]();!_0x388f82['startsWith'](_0x270a42[_0x3919eb(0x185)])&&_0x1aaf7e['push'](_0x5daacb);}catch(_0x57162b){_0x1aaf7e[_0x3919eb(0x150)](_0x5daacb);}}return _0x1aaf7e;};}if(!_0x31ffea[_0x20c186(0xe3)](isBrowserstackInfra)){const _0x594fa6=await this[_0x20c186(0x179)][_0x20c186(0x137)]();if(_0x594fa6['startsWith'](_0x31ffea[_0x20c186(0x109)])){const _0x35db07=await this[_0x20c186(0x11c)][_0x20c186(0x138)]();this[_0x20c186(0x111)](_0x35db07[0x0]);}}}catch(_0x19e922){logger[_0x20c186(0x165)]('Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'+_0x19e922[_0x20c186(0x19b)]+(_0x19e922[_0x20c186(0x198)]?_0x31ffea['HfakD'](_0x31ffea[_0x20c186(0x15c)],_0x19e922['stack']):''));}};_0x31ffea[_0x1050d2(0x1be)](isBrowserstackInfra)&&await _0x31ffea['rbEFj'](_0x1e69f1),await _0x23b46d[_0x1050d2(0x16a)](this,arguments),!_0x31ffea['GzPJh'](isBrowserstackInfra)&&await _0x31ffea[_0x1050d2(0x1c4)](_0x1e69f1);};},getCodeceptDriver=()=>{const _0x27b8bb=a1_0x25d614,_0x73b8b5={};_0x73b8b5['gHREP']='WebDriver',_0x73b8b5[_0x27b8bb(0xd9)]=_0x27b8bb(0x1c5),_0x73b8b5[_0x27b8bb(0xde)]=_0x27b8bb(0x196),_0x73b8b5[_0x27b8bb(0x14c)]='TestCafe';const _0x4945d8=_0x73b8b5,_0x1c826f=[_0x4945d8[_0x27b8bb(0xd8)],_0x4945d8[_0x27b8bb(0xd9)],_0x4945d8[_0x27b8bb(0xde)],_0x4945d8[_0x27b8bb(0x14c)]],_0x2a376f=_0x1c826f[_0x27b8bb(0x1a6)](_0x3a5538=>!!CodeceptJS[_0x27b8bb(0x1ac)][_0x27b8bb(0x13f)](_0x3a5538));if(!_0x2a376f)return null;return CodeceptJS[_0x27b8bb(0x1ac)][_0x27b8bb(0x13f)](_0x2a376f);};module[a1_0x25d614(0x188)]=function(_0x5b9a34){const _0x3ea702=a1_0x25d614,_0x337237={'pejYr':function(_0x4aa6a1){return _0x4aa6a1();},'tSDGZ':function(_0x2bab53,_0xef1e){return _0x2bab53(_0xef1e);},'wjsem':_0x3ea702(0x18f),'yrEsz':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','klzqH':_0x3ea702(0x13e),'ojxJN':_0x3ea702(0x184),'fITuQ':function(_0x8db5aa,_0x1e99b4){return _0x8db5aa(_0x1e99b4);},'FTGSU':_0x3ea702(0x14a),'fKmaB':_0x3ea702(0x11d),'raugX':_0x3ea702(0xcd),'WSYkz':_0x3ea702(0x170),'DXkEm':function(_0x401402){return _0x401402();},'sbasI':'test-before','uMcBp':function(_0x366223,_0x13bf34,_0x1faf04){return _0x366223(_0x13bf34,_0x1faf04);},'qCAMu':_0x3ea702(0x139),'uXohi':function(_0x6fc923,_0x4aeff9,_0x45fec7){return _0x6fc923(_0x4aeff9,_0x45fec7);},'zvpPV':function(_0x2e49ba,_0x5e3b1a,_0x201d38){return _0x2e49ba(_0x5e3b1a,_0x201d38);},'fZUuM':_0x3ea702(0x178),'OIuLy':function(_0x34d195){return _0x34d195();},'kxdkh':function(_0x2d3b5c,_0x3bf1a4,_0x1235fb,_0xf65c7d){return _0x2d3b5c(_0x3bf1a4,_0x1235fb,_0xf65c7d);},'XNaBr':function(_0x4fc23e,_0x163110){return _0x4fc23e===_0x163110;},'FYsEs':_0x3ea702(0x158),'CQKSs':'test-failed','bbXZi':_0x3ea702(0x10d),'NfsDE':_0x3ea702(0x16e),'pJeWX':function(_0x50f1ed,_0x3e81bc,_0x14f6ad){return _0x50f1ed(_0x3e81bc,_0x14f6ad);},'qxEtj':function(_0x4f41f2){return _0x4f41f2();},'PNoQO':_0x3ea702(0x143),'ymsDS':_0x3ea702(0x195),'EkwBZ':_0x3ea702(0x1c1),'IiNEG':_0x3ea702(0xd2),'UKAuO':_0x3ea702(0x199),'xSTEW':_0x3ea702(0x17a),'NcMIY':_0x3ea702(0x16f),'YSCxm':function(_0x569a12){return _0x569a12();},'SDFkC':'Playwright'};_0x5b9a34[_0x3ea702(0x176)]&&(global[_0x3ea702(0xe1)]=_0x5b9a34['skipSessionStatus']);PerformanceTester[_0x3ea702(0x1a1)]();const _0x3f7433=_0x337237[_0x3ea702(0xca)](getCodeceptDriver),_0x2886d5=new O11yHelper(_0x3f7433,_0x5b9a34),_0x2cd6b7=!!CodeceptJS[_0x3ea702(0x1ac)][_0x3ea702(0x13f)](_0x337237[_0x3ea702(0x145)]);global[_0x3ea702(0x1bf)]=_0x3f7433,_0x3f7433&&(PerformanceTester[_0x3ea702(0x1ca)](PerformanceEvents[_0x3ea702(0x146)],()=>{const _0x33c061=_0x3ea702;_0x2cd6b7?_0x337237[_0x33c061(0x1aa)](patchPlaywrightBefore):_0x337237['tSDGZ'](patchWebDriverBefore,_0x3f7433);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x3ea702(0x13c)],()=>{const _0x2a82b3=_0x3ea702;_0x3f7433[_0x2a82b3(0x18f)]=async()=>{const _0x5090f6=_0x2a82b3;if(global['accessibilityPlatform']){const _0x431a17={};return _0x431a17[_0x5090f6(0x13d)]=_0x337237[_0x5090f6(0x1b4)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5090f6(0x11a)],async()=>{const _0x49730a=_0x5090f6;return await AccessibilityHelper[_0x49730a(0x1a4)](_0x3f7433,scripts['performScan']);},_0x431a17)(),await PerformanceTester[_0x5090f6(0x1ca)](PerformanceA11yEvents[_0x5090f6(0xd5)],async()=>{const _0x3e95ad=_0x5090f6;return await AccessibilityHelper['browserStackExecuteDriver'](_0x3f7433,scripts[_0x3e95ad(0xeb)]);})();}return logger['warn'](_0x337237['yrEsz']),{};},_0x3f7433[_0x2a82b3(0x13e)]=async()=>{const _0x3eadd8=_0x2a82b3;if(global[_0x3eadd8(0x17f)]){const _0x3cd98a={};return _0x3cd98a['command']=_0x337237[_0x3eadd8(0x128)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x3f7433,scripts['performScan']);},_0x3cd98a)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x30cec4=_0x3eadd8;return await AccessibilityHelper[_0x30cec4(0x1a4)](_0x3f7433,scripts[_0x30cec4(0x162)]);})();}return logger[_0x3eadd8(0xf3)](_0x337237['ojxJN']),{};},_0x337237[_0x2a82b3(0x1ab)](patchSaveScreenshot,_0x3f7433);})()),CodeceptJS[_0x3ea702(0xc5)]['dispatcher']['on'](CodeceptJS[_0x3ea702(0xc5)]['all'][_0x3ea702(0x144)],()=>{const _0x1e4598=_0x3ea702;PerformanceTester[_0x1e4598(0xd0)](PerformanceEvents['SDK_PRE_TEST']);try{_0x2886d5[_0x1e4598(0xd0)](),testOpsHelper['addRequestSpy'](),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST']);}catch(_0xa4c101){PerformanceTester[_0x1e4598(0xf2)](_0xa4c101),PerformanceTester[_0x1e4598(0x151)](PerformanceEvents[_0x1e4598(0x106)],![],_0xa4c101);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x3ea702(0x175)]['after'],async()=>{const _0x329627=_0x3ea702;PerformanceTester[_0x329627(0xd0)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x329627(0x166)](),await _0x2886d5['stop'](),PerformanceTester[_0x329627(0x151)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x39015b){PerformanceTester[_0x329627(0xf2)](_0x39015b),PerformanceTester[_0x329627(0x151)](PerformanceEvents[_0x329627(0x116)],![],_0x39015b);}finally{PerformanceTester[_0x329627(0x124)]();}}),CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0xcc)]['on'](CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0x172)]['started'],_0x4b6649=>{const _0x224acd=_0x3ea702;PerformanceTester[_0x224acd(0xd0)](PerformanceEvents[_0x224acd(0xdd)]);try{const _0x3e95f3=_0x4b6649[_0x224acd(0x10b)][_0x224acd(0x12e)],_0x4bb8e4=_0x2886d5['captureEvent'](TEST_EVENTS[_0x224acd(0x12a)],_0x3e95f3);CodeceptRecorder[_0x224acd(0x132)](()=>_0x2886d5[_0x224acd(0x1ba)](TEST_EVENTS[_0x224acd(0x12a)],_0x4bb8e4));const _0x6d1496={};_0x6d1496[_0x224acd(0x121)]=_0x337237[_0x224acd(0x127)],PerformanceTester['end'](PerformanceEvents['SDK_HOOK'],!![],null,_0x6d1496);}catch(_0x1999e0){const _0x5d9c70={};_0x5d9c70['hookType']=_0x337237[_0x224acd(0x127)],PerformanceTester['end'](PerformanceEvents[_0x224acd(0xdd)],![],_0x1999e0,_0x5d9c70),PerformanceTester['captureError'](_0x1999e0);}}),CodeceptJS['event'][_0x3ea702(0xcc)]['on'](CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0x172)][_0x3ea702(0x1bb)],_0x1e233d=>{const _0x3d0f45=_0x3ea702,_0x5aa202={};_0x5aa202[_0x3d0f45(0x121)]=_0x337237[_0x3d0f45(0xe4)],PerformanceTester['start'](PerformanceHookEvents[_0x3d0f45(0xdd)],!![],null,_0x5aa202);try{const _0x48b8bd=_0x1e233d[_0x3d0f45(0x10b)]['test'],_0x18b55f=_0x2886d5[_0x3d0f45(0xd1)](TEST_EVENTS[_0x3d0f45(0x112)],_0x48b8bd);CodeceptRecorder[_0x3d0f45(0x132)](()=>_0x2886d5[_0x3d0f45(0x1ba)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x18b55f));const _0x486aba={};_0x486aba[_0x3d0f45(0x121)]=_0x337237[_0x3d0f45(0xe4)],PerformanceTester[_0x3d0f45(0x151)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x486aba);}catch(_0x1c6a8e){PerformanceTester[_0x3d0f45(0xf2)](_0x1c6a8e);const _0xed05e6={};_0xed05e6[_0x3d0f45(0x121)]=_0x337237[_0x3d0f45(0xe4)],PerformanceTester['end'](PerformanceHookEvents[_0x3d0f45(0xdd)],![],_0x1c6a8e,_0xed05e6);}}),CodeceptJS['event'][_0x3ea702(0xcc)]['on'](CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0x172)]['failed'],async(_0x2daccf,_0x422cef)=>{const _0x493b73=_0x3ea702;PerformanceTester[_0x493b73(0xd0)](PerformanceHookEvents['SDK_HOOK']);try{const _0x27f16e=_0x2daccf[_0x493b73(0x10b)][_0x493b73(0x12e)],_0x51d49d=_0x2886d5[_0x493b73(0xd1)](TEST_EVENTS[_0x493b73(0x112)],_0x27f16e,_0x422cef);CodeceptRecorder['add'](()=>_0x2886d5[_0x493b73(0x1ba)](TEST_EVENTS[_0x493b73(0x112)],_0x51d49d));const _0x26ea67={};_0x26ea67[_0x493b73(0x121)]=_0x337237[_0x493b73(0xd7)],PerformanceTester[_0x493b73(0xd0)](PerformanceHookEvents[_0x493b73(0xdd)],!![],null,_0x26ea67);}catch(_0x574acb){PerformanceTester[_0x493b73(0xf2)](_0x574acb);const _0x55bf34={};_0x55bf34[_0x493b73(0x121)]=_0x337237[_0x493b73(0xd7)],PerformanceTester[_0x493b73(0x151)](PerformanceHookEvents[_0x493b73(0xdd)],![],_0x574acb,_0x55bf34);}const _0xcda7b1={};_0xcda7b1[_0x493b73(0x121)]=_0x337237[_0x493b73(0xd7)],PerformanceTester[_0x493b73(0x151)](PerformanceHookEvents[_0x493b73(0xdd)],!![],null,_0xcda7b1);}),CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0xcc)]['on'](CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0x12e)][_0x3ea702(0x144)],_0x3e8b44=>{const _0x419281=_0x3ea702;PerformanceTester[_0x419281(0xd0)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x419281(0xed)](_0x337237[_0x419281(0x1c9)],_0x3e8b44['title']);_0x337237['DXkEm'](isBrowserstackInfra)&&(_0x2cd6b7&&(global['__workerDetails']={'currentTest':{'name':_0x3e8b44[_0x419281(0x19e)],'testInfo':{'titlePath':_0x3e8b44[_0x419281(0xdf)]()}}}));const _0x40b151={};_0x40b151['hookType']=_0x337237[_0x419281(0x19c)],PerformanceTester[_0x419281(0x151)](PerformanceHookEvents[_0x419281(0xdd)],!![],null,_0x40b151);}catch(_0x36da95){PerformanceTester[_0x419281(0xf2)](_0x36da95);const _0xa2f7c8={};_0xa2f7c8[_0x419281(0x121)]=_0x337237[_0x419281(0x19c)],PerformanceTester[_0x419281(0x151)](PerformanceHookEvents[_0x419281(0xdd)],![],_0x36da95,_0xa2f7c8);}}),CodeceptJS[_0x3ea702(0xc5)]['dispatcher']['on'](CodeceptJS[_0x3ea702(0xc5)]['test'][_0x3ea702(0x152)],_0xab5e01=>{const _0x10159d=_0x3ea702;PerformanceTester[_0x10159d(0xd0)](PerformanceHookEvents[_0x10159d(0xdd)]);try{globals['setGlobal'](_0x337237['WSYkz'],_0xab5e01[_0x10159d(0x19e)]);const _0x145bc0=_0x2886d5[_0x10159d(0xd1)](TEST_EVENTS[_0x10159d(0xe5)],_0xab5e01);CodeceptRecorder['add'](()=>_0x2886d5['fireEvent'](TEST_EVENTS[_0x10159d(0xe5)],_0x145bc0)),CodeceptRecorder[_0x10159d(0x132)](async()=>{const _0x3fe280=_0x10159d;_0x337237[_0x3fe280(0x100)](isBrowserstackInfra)&&(!_0x337237[_0x3fe280(0x1ab)](isTrue,_0x5b9a34[_0x3fe280(0x1af)])&&await _0x337237['uMcBp'](markSessionName,_0x3f7433,_0xab5e01[_0x3fe280(0x19e)]),_0x2886d5[_0x3fe280(0x135)]&&await _0x337237[_0x3fe280(0x1ab)](o11ySync,_0x3f7433));});}catch(_0x1e941b){const _0x260f40={};_0x260f40[_0x10159d(0x121)]=_0x337237[_0x10159d(0x183)],PerformanceTester[_0x10159d(0x151)](PerformanceHookEvents[_0x10159d(0xdd)],![],_0x1e941b,_0x260f40),PerformanceTester[_0x10159d(0xf2)](_0x1e941b);}const _0x408aa0={};_0x408aa0[_0x10159d(0x121)]=_0x337237[_0x10159d(0x183)],PerformanceTester[_0x10159d(0x151)](PerformanceHookEvents[_0x10159d(0xdd)],!![],null,_0x408aa0);}),CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0xcc)]['on'](CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0x12e)]['passed'],_0xf7db5f=>{const _0xae432a=_0x3ea702,_0x14379d={'jtNvs':function(_0x48b642,_0x256b2f,_0x4834ec){const _0x138977=a1_0x5092;return _0x337237[_0x138977(0x104)](_0x48b642,_0x256b2f,_0x4834ec);},'DVdXA':function(_0x23d28b,_0xbed629,_0x450742){const _0x100870=a1_0x5092;return _0x337237[_0x100870(0x155)](_0x23d28b,_0xbed629,_0x450742);},'HMoom':function(_0x10c483){const _0x3431f4=a1_0x5092;return _0x337237[_0x3431f4(0x1aa)](_0x10c483);}};PerformanceTester[_0xae432a(0xd0)](PerformanceHookEvents[_0xae432a(0xdd)]);try{const _0xb5ec1e=_0x2886d5[_0xae432a(0xd1)](TEST_EVENTS[_0xae432a(0x149)],_0xf7db5f);CodeceptRecorder[_0xae432a(0x132)](()=>_0x2886d5[_0xae432a(0x1ba)](TEST_EVENTS['TEST_RUN_FINISHED'],_0xb5ec1e)),CodeceptRecorder['add'](async()=>{const _0x3fe956=_0xae432a;_0x14379d[_0x3fe956(0x1a8)](isBrowserstackInfra)&&await PerformanceTester[_0x3fe956(0x1ca)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x39b079=_0x3fe956;_0x2cd6b7?await _0x14379d[_0x39b079(0x125)](playwrightMarkSessionStatus,_0x3f7433,STATE_PASSED):await _0x14379d[_0x39b079(0xe6)](markSessionStatus,_0x3f7433,STATE_PASSED);})();}),PerformanceTester[_0xae432a(0x151)](PerformanceEvents[_0xae432a(0xf4)]);}catch(_0x5a2dc4){PerformanceTester[_0xae432a(0xf2)](_0x5a2dc4);const _0x511864={};_0x511864['hookType']=_0x337237['fZUuM'],PerformanceTester[_0xae432a(0x151)](PerformanceHookEvents[_0xae432a(0xdd)],![],_0x5a2dc4,_0x511864),PerformanceTester[_0xae432a(0x151)](PerformanceEvents[_0xae432a(0xf4)],![],_0x5a2dc4);}const _0x48c49d={};_0x48c49d[_0xae432a(0x121)]=_0x337237[_0xae432a(0x13b)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x48c49d);}),CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0xcc)]['on'](CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0x12e)][_0x3ea702(0x1a3)],(_0x51f0d3,_0x8a79b1)=>{const _0x45608e=_0x3ea702,_0x48f0d7={'jxWdc':function(_0x526961){return _0x337237['OIuLy'](_0x526961);},'EOPED':function(_0x1d64ad,_0x3f8d15,_0x3fa955,_0x5ee846){const _0x3d1944=a1_0x5092;return _0x337237[_0x3d1944(0x19d)](_0x1d64ad,_0x3f8d15,_0x3fa955,_0x5ee846);},'FMYcB':function(_0x4e7837,_0x16b5ad,_0x2f6efc,_0xe0a462){const _0x34d4ac=a1_0x5092;return _0x337237[_0x34d4ac(0x19d)](_0x4e7837,_0x16b5ad,_0x2f6efc,_0xe0a462);}};PerformanceTester[_0x45608e(0xd0)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x337237[_0x45608e(0x1b2)](_0x51f0d3[_0x45608e(0x16b)][_0x45608e(0x1a2)],_0x337237[_0x45608e(0xf8)])){const _0x1ae170=_0x2886d5[_0x45608e(0xd1)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x51f0d3[_0x45608e(0x10b)][_0x45608e(0x10c)]);CodeceptRecorder[_0x45608e(0x132)](()=>_0x2886d5[_0x45608e(0x1ba)](TEST_EVENTS[_0x45608e(0x15e)],_0x1ae170));}else{const _0x1fbe53=_0x2886d5['captureEvent'](TEST_EVENTS[_0x45608e(0x149)],_0x51f0d3,_0x8a79b1);CodeceptRecorder[_0x45608e(0x132)](()=>{const _0x3b0008=_0x45608e;try{_0x2886d5[_0x3b0008(0x1ba)](TEST_EVENTS[_0x3b0008(0x149)],_0x1fbe53);}catch(_0x465e5e){logger[_0x3b0008(0x165)](_0x3b0008(0x187)+util[_0x3b0008(0x10f)](_0x465e5e)),PerformanceTester[_0x3b0008(0x151)](PerformanceEvents[_0x3b0008(0xf4)],![],_0x465e5e);}}),CodeceptRecorder[_0x45608e(0x132)](async()=>{const _0x1c70a9=_0x45608e;try{_0x48f0d7[_0x1c70a9(0x123)](isBrowserstackInfra)&&(_0x2cd6b7?await _0x48f0d7[_0x1c70a9(0x156)](playwrightMarkSessionStatus,_0x3f7433,STATE_FAILED,_0x8a79b1):await _0x48f0d7[_0x1c70a9(0x114)](markSessionStatus,_0x3f7433,STATE_FAILED,_0x8a79b1));}catch(_0x146ecb){logger[_0x1c70a9(0x165)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util['format'](_0x146ecb)),PerformanceTester[_0x1c70a9(0x151)](PerformanceEvents[_0x1c70a9(0xf4)],![],_0x146ecb);}});}PerformanceTester[_0x45608e(0x151)](PerformanceEvents[_0x45608e(0xf4)]);}catch(_0x4ae080){PerformanceTester[_0x45608e(0xf2)](_0x4ae080);const _0x3d8fef={};_0x3d8fef[_0x45608e(0x121)]=_0x337237[_0x45608e(0x1cc)],PerformanceTester[_0x45608e(0x151)](PerformanceHookEvents[_0x45608e(0xdd)],![],_0x4ae080,_0x3d8fef),PerformanceTester[_0x45608e(0x151)](PerformanceEvents[_0x45608e(0xf4)],![],_0x4ae080);}const _0x95d29e={};_0x95d29e['hookType']=_0x337237[_0x45608e(0x1cc)],PerformanceTester[_0x45608e(0x151)](PerformanceHookEvents[_0x45608e(0xdd)],!![],null,_0x95d29e);}),CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0xcc)]['on'](CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0x12e)][_0x3ea702(0x171)],_0x2d8917=>{const _0x355326=_0x3ea702;PerformanceTester[_0x355326(0xd0)](PerformanceHookEvents[_0x355326(0xdd)]);try{const _0x54e6af=_0x2886d5[_0x355326(0xd1)](TEST_EVENTS[_0x355326(0x15e)],_0x2d8917);CodeceptRecorder[_0x355326(0x132)](()=>_0x2886d5[_0x355326(0x1ba)](TEST_EVENTS[_0x355326(0x15e)],_0x54e6af)),PerformanceTester[_0x355326(0x151)](PerformanceEvents[_0x355326(0xf4)]);}catch(_0x54a526){PerformanceTester[_0x355326(0xf2)](_0x54a526),PerformanceTester[_0x355326(0x151)](PerformanceEvents['SDK_TEST'],![],_0x54a526);const _0x393350={};_0x393350['hookType']=_0x337237['bbXZi'],PerformanceTester[_0x355326(0x151)](PerformanceHookEvents['SDK_HOOK'],![],_0x54a526,_0x393350);}const _0x137b20={};_0x137b20[_0x355326(0x121)]=_0x337237[_0x355326(0x193)],PerformanceTester[_0x355326(0x151)](PerformanceHookEvents[_0x355326(0xdd)],!![],null,_0x137b20);}),CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0xcc)]['on'](CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0x12e)]['after'],async(_0x5c94ce,_0x502ac3)=>{const _0x3f2050=_0x3ea702;try{PerformanceTester[_0x3f2050(0xd0)](PerformanceHookEvents[_0x3f2050(0xdd)]);const _0xd2ecdb=_0x337237[_0x3f2050(0x17d)](shouldScanTestForAccessibility,_0x5c94ce['titlePath'](),!![]);if(_0x337237[_0x3f2050(0x108)](isAccessibilityAutomationSession)&&global[_0x3f2050(0x17f)]&&_0xd2ecdb){const _0x206e09={};_0x206e09[_0x3f2050(0x154)]=_0x5c94ce[_0x3f2050(0x126)],_0x206e09[_0x3f2050(0x1c0)]=process[_0x3f2050(0x161)][testHubConstants['ENV_VAR'][_0x3f2050(0xee)]],_0x206e09[_0x3f2050(0x159)]=process[_0x3f2050(0x161)][testHubConstants['ENV_VAR'][_0x3f2050(0x130)]];const _0x2f9580=_0x206e09;logger[_0x3f2050(0x165)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x3f2050(0x1b9)](_0x2f9580)),CodeceptRecorder[_0x3f2050(0x132)](async()=>{const _0x4d9507=_0x3f2050,_0x19c69a={};_0x19c69a['command']=_0x337237[_0x4d9507(0x101)],await PerformanceTester[_0x4d9507(0x1ca)](PerformanceA11yEvents[_0x4d9507(0x11a)],async()=>{const _0x19ec82=_0x4d9507;await AccessibilityHelper[_0x19ec82(0x1a4)](_0x3f7433,scripts[_0x19ec82(0xea)]);},_0x19c69a)(),await PerformanceTester[_0x4d9507(0x1ca)](PerformanceA11yEvents[_0x4d9507(0x15f)],async()=>{const _0x4f85e5=_0x4d9507;await AccessibilityHelper[_0x4f85e5(0x1a4)](_0x3f7433,scripts[_0x4f85e5(0x197)],_0x2f9580);})();}),logger[_0x3f2050(0xe8)](_0x337237[_0x3f2050(0x107)]);}const _0x254a0b={};_0x254a0b['hookType']=_0x337237[_0x3f2050(0xf0)],PerformanceTester['end'](PerformanceHookEvents[_0x3f2050(0xdd)],!![],null,_0x254a0b);}catch(_0x38b735){PerformanceTester[_0x3f2050(0xf2)](_0x38b735);const _0x4ab936={};_0x4ab936[_0x3f2050(0x121)]=_0x337237[_0x3f2050(0xf0)],PerformanceTester[_0x3f2050(0x151)](PerformanceHookEvents['SDK_HOOK'],![],_0x38b735,_0x4ab936);}}),CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0xcc)]['on'](CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0xc3)][_0x3ea702(0xe2)],_0x3da859=>{const _0x118ded=_0x3ea702;PerformanceTester['start'](PerformanceHookEvents[_0x118ded(0xdd)]);try{process['emit'](_0x118ded(0x110)+process[_0x118ded(0x1b1)],{'timestamp':new Date()['toISOString'](),'level':_0x337237[_0x118ded(0x1bc)],'message':_0x3da859,'kind':_0x337237[_0x118ded(0x118)],'http_response':{}});}catch(_0x1b27d5){PerformanceTester[_0x118ded(0xf2)](_0x1b27d5);const _0x100088={};_0x100088['hookType']=_0x337237[_0x118ded(0xfb)],PerformanceTester[_0x118ded(0x151)](PerformanceHookEvents[_0x118ded(0xdd)],![],_0x1b27d5,_0x100088);}const _0x479c8b={};_0x479c8b[_0x118ded(0x121)]=_0x337237[_0x118ded(0xfb)],PerformanceTester[_0x118ded(0x151)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x479c8b);}),CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0xcc)]['on'](CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0x136)][_0x3ea702(0x144)],_0x538bb5=>{const _0x143166=_0x3ea702,_0x19fa66={};_0x19fa66['hookType']=_0x337237[_0x143166(0x17b)],PerformanceTester[_0x143166(0x1ca)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x388fa2=_0x143166;_0x2886d5[_0x388fa2(0x1a5)](_0x538bb5);},_0x19fa66)();}),CodeceptJS['event'][_0x3ea702(0xcc)]['on'](CodeceptJS[_0x3ea702(0xc5)][_0x3ea702(0x136)]['after'],_0x7b6cb9=>{const _0x51f769=_0x3ea702,_0x320b14={};_0x320b14[_0x51f769(0x121)]=_0x337237[_0x51f769(0x15a)],PerformanceTester[_0x51f769(0x1ca)](PerformanceHookEvents[_0x51f769(0xdd)],()=>{const _0x2e2412=_0x51f769;_0x2886d5[_0x2e2412(0xd3)](_0x7b6cb9);},_0x320b14)();});};
1
+ const a1_0x3b706d=a1_0x236f;(function(_0x57007c,_0x14806f){const _0x5830d5=a1_0x236f,_0x2c654c=_0x57007c();while(!![]){try{const _0x1f3335=parseInt(_0x5830d5(0x20c))/0x1+parseInt(_0x5830d5(0x15b))/0x2+parseInt(_0x5830d5(0x25d))/0x3+-parseInt(_0x5830d5(0x222))/0x4+-parseInt(_0x5830d5(0x19f))/0x5+-parseInt(_0x5830d5(0x224))/0x6+parseInt(_0x5830d5(0x24c))/0x7*(parseInt(_0x5830d5(0x16f))/0x8);if(_0x1f3335===_0x14806f)break;else _0x2c654c['push'](_0x2c654c['shift']());}catch(_0x4a4ef2){_0x2c654c['push'](_0x2c654c['shift']());}}}(a1_0x2b5a,0x7d5d9));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x3b706d(0x252)),logger=require(a1_0x3b706d(0x19d))[a1_0x3b706d(0x1b8)],testOpsHelper=require(a1_0x3b706d(0x22e)),requestSpy=require(a1_0x3b706d(0x195)),PlaywrightSessionDetails=require(a1_0x3b706d(0x1c5)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x3b706d(0x1f8)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x3b706d(0x19a)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x3b706d(0x1be)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x3b706d(0x18a)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x3b706d(0x187)),testHubConstants=require(a1_0x3b706d(0x1ff)),globals=require(a1_0x3b706d(0x1ed)),CodeceptJS=requireModule(a1_0x3b706d(0x16a),a1_0x3b706d(0x213)),CodeceptUtils=requireModule(a1_0x3b706d(0x1e4),a1_0x3b706d(0x213)),CodeceptWebDriver=requireModule(a1_0x3b706d(0x227),a1_0x3b706d(0x213)),CodeceptRecorder=requireModule(a1_0x3b706d(0x1f4),a1_0x3b706d(0x213)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x3b706d(0x213)),playwrightMarkSessionStatus=(_0x89dd68,_0x3621ea,_0x5cc278)=>{const _0x40b5f9=a1_0x3b706d,_0x368e80={'jTJnh':_0x40b5f9(0x1d4),'YYGps':function(_0x57f7c7,_0x16d590){return _0x57f7c7(_0x16d590);}},_0x59ae27={};_0x59ae27['status']=_0x3621ea;const _0x9a4666={};_0x9a4666['action']=_0x368e80[_0x40b5f9(0x1cd)],_0x9a4666['arguments']=_0x59ae27;const _0x20a31d=_0x9a4666;return!_0x368e80[_0x40b5f9(0x1ef)](isUndefined,_0x5cc278)&&(_0x20a31d[_0x40b5f9(0x180)]['reason']=JSON[_0x40b5f9(0x1fd)](_0x5cc278)),_0x89dd68[_0x40b5f9(0x1c0)](()=>{},'browserstack_executor:\x20'+JSON[_0x40b5f9(0x1fd)](_0x20a31d));},o11ySync=PerformanceTester[a1_0x3b706d(0x1ea)](PerformanceO11yEvents[a1_0x3b706d(0x161)],async _0x2d0d43=>{const _0x54c895=a1_0x3b706d,_0x360573={};_0x360573[_0x54c895(0x1dc)]=function(_0x2b6cc3,_0x37c412){return _0x2b6cc3===_0x37c412;},_0x360573[_0x54c895(0x171)]=_0x54c895(0x17f);const _0x503361=_0x360573;_0x503361[_0x54c895(0x1dc)](_0x2d0d43[_0x54c895(0x225)][_0x54c895(0x238)],_0x503361[_0x54c895(0x171)])?await _0x2d0d43[_0x54c895(0x1c0)](_0x32fe25=>{},testOpsHelper[_0x54c895(0x1f0)]()):await _0x2d0d43['executeScript'](testOpsHelper[_0x54c895(0x1f0)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents[a1_0x3b706d(0x1a2)],async(_0xceaed5,_0x4205cb)=>{const _0x2d7357=a1_0x3b706d,_0x5a305f={};_0x5a305f[_0x2d7357(0x20e)]=_0x2d7357(0x1d7),_0x5a305f[_0x2d7357(0x249)]=function(_0x4f891c,_0x51f372){return _0x4f891c===_0x51f372;},_0x5a305f[_0x2d7357(0x203)]=_0x2d7357(0x17f);const _0x2a5ce1=_0x5a305f,_0x18ea4b={};_0x18ea4b[_0x2d7357(0x238)]=_0x4205cb;const _0x21fdaa={};_0x21fdaa['action']=_0x2a5ce1[_0x2d7357(0x20e)],_0x21fdaa['arguments']=_0x18ea4b;const _0x2ad9c8=_0x21fdaa;_0x2a5ce1[_0x2d7357(0x249)](_0xceaed5[_0x2d7357(0x225)]['name'],_0x2a5ce1[_0x2d7357(0x203)])?await _0xceaed5[_0x2d7357(0x1c0)](()=>{},_0x2d7357(0x18d)+JSON[_0x2d7357(0x1fd)](_0x2ad9c8)):await _0xceaed5['executeScript'](_0x2d7357(0x18d)+JSON['stringify'](_0x2ad9c8));}),patchSaveScreenshot=_0x466106=>{const _0x3c7c08=a1_0x3b706d,_0x20a09d={'QccPY':_0x3c7c08(0x20b),'wYURA':_0x3c7c08(0x169),'MHfxD':function(_0x3e7ac2){return _0x3e7ac2();},'Alkpk':function(_0x422844,_0x498722){return _0x422844(_0x498722);},'lopxH':_0x3c7c08(0x23e)};_0x20a09d['Alkpk'](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x466106[_0x3c7c08(0x255)]&&(_0x466106[_0x3c7c08(0x255)]=!![],_0x466106[_0x3c7c08(0x1f3)]=_0x466106['saveScreenshot'],_0x466106[_0x3c7c08(0x217)]=(_0x1975c2,_0x1264f5=![])=>{const _0x103958=_0x3c7c08,_0x5993b0={'tHUFi':_0x20a09d['QccPY'],'ThWeR':_0x20a09d[_0x103958(0x204)],'VSUNX':function(_0x130468){const _0x284568=_0x103958;return _0x20a09d[_0x284568(0x214)](_0x130468);},'ULTca':function(_0x476681,_0x2fdd41){const _0x43883f=_0x103958;return _0x20a09d[_0x43883f(0x176)](_0x476681,_0x2fdd41);},'xPoaH':_0x20a09d[_0x103958(0x21a)]};return new Promise(function(_0x302358,_0x420ac8){const _0x59d4a5=_0x103958;_0x466106['initSaveScreenshot'](_0x1975c2,_0x1264f5)['then'](()=>{const _0x45c1ab=a1_0x236f,_0x347bac=CodeceptUtils[_0x45c1ab(0x256)](_0x1975c2);if(_0x347bac){const _0x2f4a8e=fs[_0x45c1ab(0x206)](_0x347bac);process[_0x45c1ab(0x19b)](_0x45c1ab(0x178)+process[_0x45c1ab(0x179)],{'timestamp':new Date()['toISOString'](),'message':_0x2f4a8e[_0x45c1ab(0x1f9)](_0x5993b0[_0x45c1ab(0x198)]),'kind':_0x5993b0[_0x45c1ab(0x185)]}),_0x5993b0['VSUNX'](_0x302358);}_0x5993b0[_0x45c1ab(0x1b7)](_0x420ac8,new Error(_0x5993b0[_0x45c1ab(0x192)]));})[_0x59d4a5(0x231)](()=>null);});});},patchWebDriverBefore=_0xb1fb89=>{const _0x10e12a=a1_0x3b706d,_0x373ad0={'ZwPdA':function(_0x380b81){return _0x380b81();},'WHLDZ':function(_0x9c8f30,_0x2dff4b){return _0x9c8f30(_0x2dff4b);},'copGK':function(_0x405856,_0x5d54f5){return _0x405856===_0x5d54f5;},'FwUnd':_0x10e12a(0x1bf),'QrsPh':_0x10e12a(0x1af),'WKzrr':function(_0x3d0b52,_0xb9c414){return _0x3d0b52===_0xb9c414;},'jLHzN':'Element'},_0x483c02=async function(_0x144c40,_0xb3703a){const _0x5f1a7b=_0x10e12a;_0x373ad0[_0x5f1a7b(0x15a)](isAccessibilityAutomationSession)&&!global[_0x5f1a7b(0x212)]&&global[_0x5f1a7b(0x1da)]&&scripts[_0x5f1a7b(0x157)](_0x144c40[_0x5f1a7b(0x238)])&&_0x373ad0[_0x5f1a7b(0x25b)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x5f1a7b(0x212)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5f1a7b(0x16d)],async()=>{const _0x1a00ae=_0x5f1a7b;logger[_0x1a00ae(0x22a)](_0x1a00ae(0x1c8)+_0x144c40[_0x1a00ae(0x15c)]+'\x20'+_0x144c40[_0x1a00ae(0x238)]),await AccessibilityHelper[_0x1a00ae(0x21b)](_0xb1fb89,scripts[_0x1a00ae(0x170)]);},{'command':_0x144c40[_0x5f1a7b(0x238)]})());global['bstackAllyScanning']=![];const _0x1e77dd=JSON['parse'](process['env'][_0x5f1a7b(0x1e9)]||'{}');if(_0x373ad0['copGK'](_0x1e77dd?.[_0x5f1a7b(0x1e1)]?.[_0x5f1a7b(0x238)],_0x373ad0[_0x5f1a7b(0x239)])&&_0x373ad0[_0x5f1a7b(0x1e6)](typeof _0x1e77dd?.[_0x5f1a7b(0x1e1)]?.[_0x5f1a7b(0x243)],_0x373ad0[_0x5f1a7b(0x208)])&&_0x1e77dd?.[_0x5f1a7b(0x1e1)]?.[_0x5f1a7b(0x243)]['startsWith']('7'))return _0xb3703a[_0x5f1a7b(0x194)](null,Array[_0x5f1a7b(0x242)][_0x5f1a7b(0x211)][_0x5f1a7b(0x16e)](arguments,0x2));return _0xb3703a[_0x5f1a7b(0x194)](this,Array[_0x5f1a7b(0x242)][_0x5f1a7b(0x211)][_0x5f1a7b(0x16e)](arguments,0x2));},_0x1cdb6d=CodeceptWebDriver['prototype'][_0x10e12a(0x17c)];CodeceptWebDriver[_0x10e12a(0x242)]['_before']=async function(){const _0x20378d=_0x10e12a,_0x5a9e55={'EOOmF':function(_0x2b6afa,_0x584951){return _0x373ad0['WKzrr'](_0x2b6afa,_0x584951);},'ydVZW':_0x373ad0[_0x20378d(0x17a)]};try{await _0x1cdb6d['apply'](this,arguments);}catch(_0x2d38e8){logger[_0x20378d(0x22a)](_0x20378d(0x166)+util['format'](_0x2d38e8));}scripts[_0x20378d(0x24f)][_0x20378d(0x1a9)](_0x3db08c=>_0x3db08c[_0x20378d(0x238)]&&_0x3db08c['class'])[_0x20378d(0x228)](_0x583339=>{const _0xb21330=_0x20378d;this[_0xb21330(0x1e2)][_0xb21330(0x18f)](_0x583339[_0xb21330(0x238)],_0x483c02[_0xb21330(0x1d8)](this,_0x583339),_0x5a9e55[_0xb21330(0x196)](_0x583339[_0xb21330(0x15c)],_0x5a9e55[_0xb21330(0x183)]));}),_0x373ad0[_0x20378d(0x25b)](processWebDriverConfig,_0xb1fb89);};};function parseJwt(_0x27bea0){const _0xc8c99b=a1_0x3b706d,_0x745dc5={};_0x745dc5[_0xc8c99b(0x1ad)]=_0xc8c99b(0x20b);const _0x3d6192=_0x745dc5;if(!_0x27bea0)return null;return JSON[_0xc8c99b(0x1b6)](Buffer[_0xc8c99b(0x193)](_0x27bea0['split']('.')[0x1],_0x3d6192[_0xc8c99b(0x1ad)])[_0xc8c99b(0x1f9)]());}function a1_0x236f(_0x205f5a,_0x59dcf6){const _0x2b5ad6=a1_0x2b5a();return a1_0x236f=function(_0x236f1b,_0x23fdc3){_0x236f1b=_0x236f1b-0x157;let _0x521037=_0x2b5ad6[_0x236f1b];return _0x521037;},a1_0x236f(_0x205f5a,_0x59dcf6);}const patchPlaywrightBefore=()=>{const _0xc9cf60=a1_0x3b706d,_0x3a6767={'tyGiI':function(_0x169393){return _0x169393();},'AnSCV':_0xc9cf60(0x1a1),'WFmou':'--auto-open-devtools-for-tabs','ROeMI':function(_0xddc4c9,_0x55d550){return _0xddc4c9(_0x55d550);},'gnNCH':function(_0x148f07,_0x3b5005){return _0x148f07+_0x3b5005;},'AJzNo':'\x0aStack:\x20','ftDBs':function(_0x16e5de){return _0x16e5de();},'AVlnU':function(_0x510431){return _0x510431();}};PlaywrightSessionDetails['patch']();const _0x2a369c=CodeceptPlaywright[_0xc9cf60(0x242)][_0xc9cf60(0x17c)];CodeceptPlaywright[_0xc9cf60(0x242)][_0xc9cf60(0x17c)]=async function(){const _0x20762c=_0xc9cf60,_0x542c13={'YpBuM':function(_0x2101cd){const _0x15fa8f=a1_0x236f;return _0x3a6767[_0x15fa8f(0x20a)](_0x2101cd);},'IGsyy':_0x3a6767[_0x20762c(0x254)],'YsOOE':_0x3a6767[_0x20762c(0x18e)],'XmQTd':function(_0x952bf4,_0x117a50){const _0x3ccdae=_0x20762c;return _0x3a6767[_0x3ccdae(0x1b5)](_0x952bf4,_0x117a50);},'jowIo':function(_0x9e8caa,_0x5ca9dc){const _0x591cc5=_0x20762c;return _0x3a6767[_0x591cc5(0x219)](_0x9e8caa,_0x5ca9dc);},'rnAUm':_0x3a6767['AJzNo']};this[_0x20762c(0x164)]=await this[_0x20762c(0x1e2)][_0x20762c(0x246)]()[0x0];const _0x1fb64e=async()=>{const _0x315e30=_0x20762c,_0x50c810=this[_0x315e30(0x177)]&&this['config']['chromium']&&this['config']['chromium'][_0x315e30(0x21c)]&&Array[_0x315e30(0x24b)](this[_0x315e30(0x177)]['chromium'][_0x315e30(0x21c)])&&this[_0x315e30(0x177)][_0x315e30(0x186)][_0x315e30(0x21c)]['includes'](_0x542c13[_0x315e30(0x160)]);if(_0x542c13[_0x315e30(0x168)](isAccessibilityAutomationSession)&&!_0x50c810)try{const _0x5b7c0d=_0x542c13[_0x315e30(0x158)](parseJwt,process[_0x315e30(0x22d)][_0x315e30(0x1b1)]);if(_0x5b7c0d&&_0x5b7c0d[_0x315e30(0x25a)]&&_0x5b7c0d[_0x315e30(0x25a)]['domForge']){const _0x23d5e0=this[_0x315e30(0x164)][_0x315e30(0x1f2)][_0x315e30(0x1d8)](this['browserContext']);this[_0x315e30(0x164)]['pages']=async function(){const _0x122d0f=_0x315e30,_0xa1b1a1=await _0x542c13[_0x122d0f(0x168)](_0x23d5e0),_0x902080=[];for(const _0x5b4304 of _0xa1b1a1){try{const _0x38e284=await _0x5b4304[_0x122d0f(0x1c9)]();!_0x38e284[_0x122d0f(0x1bd)](_0x542c13[_0x122d0f(0x20d)])&&_0x902080[_0x122d0f(0x1e7)](_0x5b4304);}catch(_0x4f2f38){_0x902080[_0x122d0f(0x1e7)](_0x5b4304);}}return _0x902080;};}if(!_0x542c13[_0x315e30(0x168)](isBrowserstackInfra)){const _0x5e01a6=await this[_0x315e30(0x1b0)][_0x315e30(0x1c9)]();if(_0x5e01a6[_0x315e30(0x1bd)](_0x542c13[_0x315e30(0x20d)])){const _0x140951=await this[_0x315e30(0x164)][_0x315e30(0x1f2)]();this[_0x315e30(0x15f)](_0x140951[0x0]);}}}catch(_0x2f7f97){logger[_0x315e30(0x22a)](_0x315e30(0x1aa)+_0x2f7f97[_0x315e30(0x1d2)]+(_0x2f7f97[_0x315e30(0x1cf)]?_0x542c13['jowIo'](_0x542c13[_0x315e30(0x24e)],_0x2f7f97[_0x315e30(0x1cf)]):''));}};_0x3a6767[_0x20762c(0x20a)](isBrowserstackInfra)&&await _0x3a6767[_0x20762c(0x20a)](_0x1fb64e),await _0x2a369c[_0x20762c(0x194)](this,arguments),!_0x3a6767[_0x20762c(0x215)](isBrowserstackInfra)&&await _0x3a6767[_0x20762c(0x197)](_0x1fb64e);};},getCodeceptDriver=()=>{const _0x430488=a1_0x3b706d,_0x1c9988={};_0x1c9988[_0x430488(0x1bb)]=_0x430488(0x23b),_0x1c9988[_0x430488(0x17b)]=_0x430488(0x17f),_0x1c9988[_0x430488(0x1fa)]='Puppeteer',_0x1c9988[_0x430488(0x1f6)]=_0x430488(0x1ce);const _0x1eba77=_0x1c9988,_0x5dd626=[_0x1eba77[_0x430488(0x1bb)],_0x1eba77[_0x430488(0x17b)],_0x1eba77[_0x430488(0x1fa)],_0x1eba77[_0x430488(0x1f6)]],_0x58a272=_0x5dd626[_0x430488(0x1a4)](_0x22cad6=>!!CodeceptJS[_0x430488(0x258)][_0x430488(0x1c2)](_0x22cad6));if(!_0x58a272)return null;return CodeceptJS[_0x430488(0x258)]['helpers'](_0x58a272);};module[a1_0x3b706d(0x163)]=function(_0x183998){const _0x14da2b=a1_0x3b706d,_0x1435ed={'zOPVh':function(_0x3e4a10){return _0x3e4a10();},'dYSMx':function(_0x28e4f2,_0x30cd12){return _0x28e4f2(_0x30cd12);},'UvdSz':'getAccessibilityResults','Cuksx':_0x14da2b(0x1fb),'YHLUY':_0x14da2b(0x1e0),'wsuHB':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','LTfaK':_0x14da2b(0x1a7),'ZJFJv':_0x14da2b(0x191),'tLAWi':_0x14da2b(0x244),'gNKUY':_0x14da2b(0x1de),'qFeaX':function(_0x12c00c){return _0x12c00c();},'fDCpa':'test-before','hxATt':function(_0x3d32cc,_0x31d312){return _0x3d32cc(_0x31d312);},'cvAUj':function(_0x14d910,_0x434aa8,_0x184560){return _0x14d910(_0x434aa8,_0x184560);},'lmGKD':function(_0x2da4ec,_0x27ada2){return _0x2da4ec(_0x27ada2);},'NDCWo':_0x14da2b(0x1e5),'TVxZh':function(_0x40282e){return _0x40282e();},'YDrkV':_0x14da2b(0x1a0),'UAScS':function(_0x1b231c){return _0x1b231c();},'FUnJg':function(_0x215965,_0x1c62b3,_0x222bfe,_0x5bc1eb){return _0x215965(_0x1c62b3,_0x222bfe,_0x5bc1eb);},'Otrfp':function(_0x15d0e5,_0x231d94){return _0x15d0e5===_0x231d94;},'yzCgl':_0x14da2b(0x165),'psusp':_0x14da2b(0x1dd),'TSttF':_0x14da2b(0x1fc),'xxACO':_0x14da2b(0x1ee),'MtBlq':function(_0xc9a7f6){return _0xc9a7f6();},'YOejj':_0x14da2b(0x184),'wjQDS':_0x14da2b(0x188),'OYWer':_0x14da2b(0x229),'baxso':_0x14da2b(0x1c6),'MWZym':_0x14da2b(0x257),'kvaGJ':_0x14da2b(0x1c1),'cVNzg':_0x14da2b(0x182),'gdcFM':'Playwright'};_0x183998[_0x14da2b(0x1ec)]&&(global[_0x14da2b(0x236)]=_0x183998[_0x14da2b(0x1ec)]);PerformanceTester[_0x14da2b(0x20f)]();const _0x4dc4c6=_0x1435ed[_0x14da2b(0x190)](getCodeceptDriver),_0x4ad711=new O11yHelper(_0x4dc4c6,_0x183998),_0x140d32=!!CodeceptJS[_0x14da2b(0x258)]['helpers'](_0x1435ed[_0x14da2b(0x21d)]);global['__driver']=_0x4dc4c6,_0x4dc4c6&&(PerformanceTester[_0x14da2b(0x1ea)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x24d0bf=_0x14da2b;_0x140d32?_0x1435ed['zOPVh'](patchPlaywrightBefore):_0x1435ed[_0x24d0bf(0x17d)](patchWebDriverBefore,_0x4dc4c6);})(),PerformanceTester[_0x14da2b(0x1ea)](PerformanceEvents[_0x14da2b(0x230)],()=>{const _0x5b34bd=_0x14da2b,_0x32411d={};_0x32411d['DNVMj']=_0x1435ed[_0x5b34bd(0x173)],_0x32411d[_0x5b34bd(0x1a8)]=_0x1435ed['wsuHB'];const _0x180a53=_0x32411d;_0x4dc4c6['getAccessibilityResultsSummary']=async()=>{const _0x10846e=_0x5b34bd;if(global['accessibilityPlatform']){const _0x11532f={};return _0x11532f[_0x10846e(0x1ba)]=_0x180a53[_0x10846e(0x24d)],await PerformanceTester[_0x10846e(0x1ea)](PerformanceA11yEvents[_0x10846e(0x16d)],async()=>{const _0x44729a=_0x10846e;return await AccessibilityHelper[_0x44729a(0x21b)](_0x4dc4c6,scripts[_0x44729a(0x170)]);},_0x11532f)(),await PerformanceTester[_0x10846e(0x1ea)](PerformanceA11yEvents[_0x10846e(0x1cb)],async()=>{const _0x3bca0d=_0x10846e;return await AccessibilityHelper[_0x3bca0d(0x21b)](_0x4dc4c6,scripts[_0x3bca0d(0x251)]);})();}return logger[_0x10846e(0x1cc)](_0x180a53[_0x10846e(0x1a8)]),{};},_0x4dc4c6[_0x5b34bd(0x223)]=async()=>{const _0x24d1ce=_0x5b34bd;if(global['accessibilityPlatform']){const _0x2d2523={};return _0x2d2523[_0x24d1ce(0x1ba)]=_0x1435ed[_0x24d1ce(0x250)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x24d1ce(0x16d)],async()=>{const _0x1ef248=_0x24d1ce;return await AccessibilityHelper[_0x1ef248(0x21b)](_0x4dc4c6,scripts[_0x1ef248(0x170)]);},_0x2d2523)(),await PerformanceTester[_0x24d1ce(0x1ea)](PerformanceA11yEvents[_0x24d1ce(0x18b)],async()=>{const _0x4c1630=_0x24d1ce;return await AccessibilityHelper[_0x4c1630(0x21b)](_0x4dc4c6,scripts['getResults']);})();}return logger['warn'](_0x1435ed['Cuksx']),{};},_0x1435ed[_0x5b34bd(0x17d)](patchSaveScreenshot,_0x4dc4c6);})()),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS['event']['all'][_0x14da2b(0x207)],()=>{const _0x32a152=_0x14da2b;PerformanceTester[_0x32a152(0x201)](PerformanceEvents['SDK_PRE_TEST']);try{_0x4ad711[_0x32a152(0x201)](),testOpsHelper[_0x32a152(0x1e8)](),PerformanceTester[_0x32a152(0x199)](PerformanceEvents[_0x32a152(0x1d5)]);}catch(_0x29fed7){PerformanceTester['captureError'](_0x29fed7),PerformanceTester[_0x32a152(0x199)](PerformanceEvents[_0x32a152(0x1d5)],![],_0x29fed7);}}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x167)][_0x14da2b(0x1ca)],async()=>{const _0x39cb04=_0x14da2b;PerformanceTester['start'](PerformanceEvents[_0x39cb04(0x1a5)]);try{requestSpy[_0x39cb04(0x1e3)](),await _0x4ad711[_0x39cb04(0x23f)](),PerformanceTester[_0x39cb04(0x199)](PerformanceEvents[_0x39cb04(0x1a5)]);}catch(_0x3506d6){PerformanceTester['captureError'](_0x3506d6),PerformanceTester[_0x39cb04(0x199)](PerformanceEvents[_0x39cb04(0x1a5)],![],_0x3506d6);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x226)]['started'],_0x470c09=>{const _0x3cf0d2=_0x14da2b;PerformanceTester[_0x3cf0d2(0x201)](PerformanceEvents[_0x3cf0d2(0x205)]);try{const _0x23efb5=_0x470c09['ctx'][_0x3cf0d2(0x1d0)],_0x2843be=_0x4ad711[_0x3cf0d2(0x241)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x23efb5);CodeceptRecorder[_0x3cf0d2(0x210)](()=>_0x4ad711[_0x3cf0d2(0x1c4)](TEST_EVENTS[_0x3cf0d2(0x1b9)],_0x2843be));const _0x3ac7f5={};_0x3ac7f5[_0x3cf0d2(0x253)]=_0x1435ed[_0x3cf0d2(0x1b4)],PerformanceTester['end'](PerformanceEvents['SDK_HOOK'],!![],null,_0x3ac7f5);}catch(_0x4dccd0){const _0x4e26e8={};_0x4e26e8[_0x3cf0d2(0x253)]=_0x1435ed[_0x3cf0d2(0x1b4)],PerformanceTester['end'](PerformanceEvents[_0x3cf0d2(0x205)],![],_0x4dccd0,_0x4e26e8),PerformanceTester['captureError'](_0x4dccd0);}}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS['event'][_0x14da2b(0x226)][_0x14da2b(0x248)],_0x409ccc=>{const _0x12759f=_0x14da2b,_0x405cc3={};_0x405cc3['hookType']=_0x1435ed[_0x12759f(0x181)],PerformanceTester[_0x12759f(0x201)](PerformanceHookEvents[_0x12759f(0x205)],!![],null,_0x405cc3);try{const _0x5a777f=_0x409ccc[_0x12759f(0x240)]['test'],_0x4691cd=_0x4ad711[_0x12759f(0x241)](TEST_EVENTS[_0x12759f(0x22b)],_0x5a777f);CodeceptRecorder['add'](()=>_0x4ad711['fireEvent'](TEST_EVENTS[_0x12759f(0x22b)],_0x4691cd));const _0x2ae0e0={};_0x2ae0e0[_0x12759f(0x253)]=_0x1435ed['ZJFJv'],PerformanceTester[_0x12759f(0x199)](PerformanceHookEvents[_0x12759f(0x205)],!![],null,_0x2ae0e0);}catch(_0x1199f5){PerformanceTester[_0x12759f(0x174)](_0x1199f5);const _0x5e6a1c={};_0x5e6a1c['hookType']=_0x1435ed[_0x12759f(0x181)],PerformanceTester['end'](PerformanceHookEvents[_0x12759f(0x205)],![],_0x1199f5,_0x5e6a1c);}}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x226)]['failed'],async(_0x2c34e0,_0x206d62)=>{const _0x1862fe=_0x14da2b;PerformanceTester[_0x1862fe(0x201)](PerformanceHookEvents[_0x1862fe(0x205)]);try{const _0x33a125=_0x2c34e0['ctx']['test'],_0x28d689=_0x4ad711[_0x1862fe(0x241)](TEST_EVENTS[_0x1862fe(0x22b)],_0x33a125,_0x206d62);CodeceptRecorder[_0x1862fe(0x210)](()=>_0x4ad711[_0x1862fe(0x1c4)](TEST_EVENTS[_0x1862fe(0x22b)],_0x28d689));const _0x597c30={};_0x597c30[_0x1862fe(0x253)]=_0x1435ed[_0x1862fe(0x233)],PerformanceTester[_0x1862fe(0x201)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x597c30);}catch(_0x5e059e){PerformanceTester[_0x1862fe(0x174)](_0x5e059e);const _0x592eff={};_0x592eff[_0x1862fe(0x253)]=_0x1435ed['tLAWi'],PerformanceTester[_0x1862fe(0x199)](PerformanceHookEvents[_0x1862fe(0x205)],![],_0x5e059e,_0x592eff);}const _0x4c4750={};_0x4c4750[_0x1862fe(0x253)]=_0x1435ed[_0x1862fe(0x233)],PerformanceTester[_0x1862fe(0x199)](PerformanceHookEvents[_0x1862fe(0x205)],!![],null,_0x4c4750);}),CodeceptJS[_0x14da2b(0x159)]['dispatcher']['on'](CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x1d0)]['before'],_0x388525=>{const _0x563bc6=_0x14da2b;PerformanceTester[_0x563bc6(0x201)](PerformanceHookEvents[_0x563bc6(0x205)]);try{globals[_0x563bc6(0x1ae)](_0x1435ed[_0x563bc6(0x1d6)],_0x388525[_0x563bc6(0x237)]);_0x1435ed[_0x563bc6(0x1d3)](isBrowserstackInfra)&&(_0x140d32&&(global[_0x563bc6(0x22c)]={'currentTest':{'name':_0x388525[_0x563bc6(0x237)],'testInfo':{'titlePath':_0x388525[_0x563bc6(0x202)]()}}}));const _0x32e7e9={};_0x32e7e9[_0x563bc6(0x253)]=_0x1435ed[_0x563bc6(0x259)],PerformanceTester[_0x563bc6(0x199)](PerformanceHookEvents[_0x563bc6(0x205)],!![],null,_0x32e7e9);}catch(_0xba61a4){PerformanceTester['captureError'](_0xba61a4);const _0x5b73ca={};_0x5b73ca[_0x563bc6(0x253)]=_0x1435ed['fDCpa'],PerformanceTester[_0x563bc6(0x199)](PerformanceHookEvents[_0x563bc6(0x205)],![],_0xba61a4,_0x5b73ca);}}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS['event'][_0x14da2b(0x1d0)][_0x14da2b(0x23a)],_0x2406c9=>{const _0x1aadd4=_0x14da2b;PerformanceTester[_0x1aadd4(0x201)](PerformanceHookEvents[_0x1aadd4(0x205)]);try{globals[_0x1aadd4(0x1ae)](_0x1435ed[_0x1aadd4(0x1d6)],_0x2406c9['title']);const _0x48250a=_0x4ad711[_0x1aadd4(0x241)](TEST_EVENTS[_0x1aadd4(0x19e)],_0x2406c9);CodeceptRecorder[_0x1aadd4(0x210)](()=>_0x4ad711[_0x1aadd4(0x1c4)](TEST_EVENTS[_0x1aadd4(0x19e)],_0x48250a)),CodeceptRecorder['add'](async()=>{const _0x3aaf01=_0x1aadd4;_0x1435ed[_0x3aaf01(0x1d3)](isBrowserstackInfra)&&(!_0x1435ed[_0x3aaf01(0x200)](isTrue,_0x183998[_0x3aaf01(0x19c)])&&await _0x1435ed[_0x3aaf01(0x17e)](markSessionName,_0x4dc4c6,_0x2406c9[_0x3aaf01(0x237)]),_0x4ad711['enabled']&&await _0x1435ed[_0x3aaf01(0x16c)](o11ySync,_0x4dc4c6));});}catch(_0x5e6f67){const _0xeb9020={};_0xeb9020[_0x1aadd4(0x253)]=_0x1435ed[_0x1aadd4(0x1fe)],PerformanceTester[_0x1aadd4(0x199)](PerformanceHookEvents['SDK_HOOK'],![],_0x5e6f67,_0xeb9020),PerformanceTester[_0x1aadd4(0x174)](_0x5e6f67);}const _0x59d4b7={};_0x59d4b7[_0x1aadd4(0x253)]=_0x1435ed[_0x1aadd4(0x1fe)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x59d4b7);}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS[_0x14da2b(0x159)]['test'][_0x14da2b(0x248)],_0x33e2ee=>{const _0x317497=_0x14da2b,_0x57033f={'YuNov':function(_0xecae89,_0x300cc3,_0x368289){const _0x4678f5=a1_0x236f;return _0x1435ed[_0x4678f5(0x17e)](_0xecae89,_0x300cc3,_0x368289);},'XOPXH':function(_0x27689b){const _0x453bc1=a1_0x236f;return _0x1435ed[_0x453bc1(0x15d)](_0x27689b);}};PerformanceTester[_0x317497(0x201)](PerformanceHookEvents[_0x317497(0x205)]);try{const _0x108165=_0x4ad711[_0x317497(0x241)](TEST_EVENTS[_0x317497(0x1d1)],_0x33e2ee);CodeceptRecorder[_0x317497(0x210)](()=>_0x4ad711[_0x317497(0x1c4)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x108165)),CodeceptRecorder[_0x317497(0x210)](async()=>{const _0x1a2443=_0x317497,_0x3e9292={'ctllZ':function(_0x5ff4fb,_0x301200,_0x31d9fc){const _0x4d6e0a=a1_0x236f;return _0x57033f[_0x4d6e0a(0x209)](_0x5ff4fb,_0x301200,_0x31d9fc);}};_0x57033f[_0x1a2443(0x1c7)](isBrowserstackInfra)&&await PerformanceTester[_0x1a2443(0x1ea)](PerformanceAutEvents[_0x1a2443(0x25e)],async()=>{const _0x32c54d=_0x1a2443;_0x140d32?await _0x3e9292[_0x32c54d(0x1bc)](playwrightMarkSessionStatus,_0x4dc4c6,STATE_PASSED):await _0x3e9292['ctllZ'](markSessionStatus,_0x4dc4c6,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents[_0x317497(0x1c3)]);}catch(_0x14767a){PerformanceTester[_0x317497(0x174)](_0x14767a);const _0x436d96={};_0x436d96[_0x317497(0x253)]=_0x1435ed[_0x317497(0x1f1)],PerformanceTester[_0x317497(0x199)](PerformanceHookEvents[_0x317497(0x205)],![],_0x14767a,_0x436d96),PerformanceTester[_0x317497(0x199)](PerformanceEvents[_0x317497(0x1c3)],![],_0x14767a);}const _0x3be44d={};_0x3be44d[_0x317497(0x253)]=_0x1435ed[_0x317497(0x1f1)],PerformanceTester[_0x317497(0x199)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3be44d);}),CodeceptJS['event'][_0x14da2b(0x216)]['on'](CodeceptJS['event'][_0x14da2b(0x1d0)]['failed'],(_0x1e9a55,_0x57ebe4)=>{const _0x2773b7=_0x14da2b,_0x11cf14={'ZzDos':function(_0x2d82d4){return _0x1435ed['UAScS'](_0x2d82d4);},'aFCvP':function(_0xf0727c,_0x1485e6,_0x426832,_0x9d5ab){const _0x24f5fa=a1_0x236f;return _0x1435ed[_0x24f5fa(0x1f5)](_0xf0727c,_0x1485e6,_0x426832,_0x9d5ab);}};PerformanceTester[_0x2773b7(0x201)](PerformanceHookEvents[_0x2773b7(0x205)]);try{if(_0x1435ed[_0x2773b7(0x21e)](_0x1e9a55['constructor']['name'],_0x1435ed[_0x2773b7(0x1a6)])){const _0x2d60b2=_0x4ad711[_0x2773b7(0x241)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1e9a55['ctx'][_0x2773b7(0x1d9)]);CodeceptRecorder['add'](()=>_0x4ad711['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x2d60b2));}else{const _0x2de6b6=_0x4ad711[_0x2773b7(0x241)](TEST_EVENTS[_0x2773b7(0x1d1)],_0x1e9a55,_0x57ebe4);CodeceptRecorder[_0x2773b7(0x210)](()=>{const _0x5d2ac7=_0x2773b7;try{_0x4ad711[_0x5d2ac7(0x1c4)](TEST_EVENTS[_0x5d2ac7(0x1d1)],_0x2de6b6);}catch(_0x4f280f){logger[_0x5d2ac7(0x22a)](_0x5d2ac7(0x1ab)+util[_0x5d2ac7(0x172)](_0x4f280f)),PerformanceTester[_0x5d2ac7(0x199)](PerformanceEvents[_0x5d2ac7(0x1c3)],![],_0x4f280f);}}),CodeceptRecorder[_0x2773b7(0x210)](async()=>{const _0x1e6e57=_0x2773b7;try{_0x11cf14[_0x1e6e57(0x234)](isBrowserstackInfra)&&(_0x140d32?await _0x11cf14['aFCvP'](playwrightMarkSessionStatus,_0x4dc4c6,STATE_FAILED,_0x57ebe4):await _0x11cf14['aFCvP'](markSessionStatus,_0x4dc4c6,STATE_FAILED,_0x57ebe4));}catch(_0xa59339){logger['debug'](_0x1e6e57(0x232)+util[_0x1e6e57(0x172)](_0xa59339)),PerformanceTester[_0x1e6e57(0x199)](PerformanceEvents[_0x1e6e57(0x1c3)],![],_0xa59339);}});}PerformanceTester[_0x2773b7(0x199)](PerformanceEvents[_0x2773b7(0x1c3)]);}catch(_0x2b1e92){PerformanceTester['captureError'](_0x2b1e92);const _0x1141db={};_0x1141db[_0x2773b7(0x253)]=_0x1435ed[_0x2773b7(0x245)],PerformanceTester[_0x2773b7(0x199)](PerformanceHookEvents[_0x2773b7(0x205)],![],_0x2b1e92,_0x1141db),PerformanceTester['end'](PerformanceEvents[_0x2773b7(0x1c3)],![],_0x2b1e92);}const _0x38364f={};_0x38364f['hookType']=_0x1435ed[_0x2773b7(0x245)],PerformanceTester[_0x2773b7(0x199)](PerformanceHookEvents[_0x2773b7(0x205)],!![],null,_0x38364f);}),CodeceptJS[_0x14da2b(0x159)]['dispatcher']['on'](CodeceptJS[_0x14da2b(0x159)]['test'][_0x14da2b(0x247)],_0x4bb71f=>{const _0x4fa9d2=_0x14da2b;PerformanceTester[_0x4fa9d2(0x201)](PerformanceHookEvents[_0x4fa9d2(0x205)]);try{const _0x309f8b=_0x4ad711[_0x4fa9d2(0x241)](TEST_EVENTS[_0x4fa9d2(0x15e)],_0x4bb71f);CodeceptRecorder[_0x4fa9d2(0x210)](()=>_0x4ad711[_0x4fa9d2(0x1c4)](TEST_EVENTS[_0x4fa9d2(0x15e)],_0x309f8b)),PerformanceTester[_0x4fa9d2(0x199)](PerformanceEvents[_0x4fa9d2(0x1c3)]);}catch(_0x51f9f4){PerformanceTester[_0x4fa9d2(0x174)](_0x51f9f4),PerformanceTester[_0x4fa9d2(0x199)](PerformanceEvents[_0x4fa9d2(0x1c3)],![],_0x51f9f4);const _0x3fb4f7={};_0x3fb4f7[_0x4fa9d2(0x253)]=_0x1435ed[_0x4fa9d2(0x175)],PerformanceTester[_0x4fa9d2(0x199)](PerformanceHookEvents[_0x4fa9d2(0x205)],![],_0x51f9f4,_0x3fb4f7);}const _0x3a8f4e={};_0x3a8f4e[_0x4fa9d2(0x253)]=_0x1435ed[_0x4fa9d2(0x175)],PerformanceTester[_0x4fa9d2(0x199)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3a8f4e);}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS['event'][_0x14da2b(0x1d0)][_0x14da2b(0x1ca)],async(_0x44aee1,_0x3d4ced)=>{const _0x3afab4=_0x14da2b,_0x54e719={};_0x54e719['YyYnT']=_0x1435ed[_0x3afab4(0x16b)];const _0x3b84ff=_0x54e719;try{PerformanceTester[_0x3afab4(0x201)](PerformanceHookEvents[_0x3afab4(0x205)]);const _0x3f8d1a=_0x1435ed['cvAUj'](shouldScanTestForAccessibility,_0x44aee1[_0x3afab4(0x202)](),!![]);if(_0x1435ed['MtBlq'](isAccessibilityAutomationSession)&&global[_0x3afab4(0x1da)]&&_0x3f8d1a){const _0x5c95d2={};_0x5c95d2[_0x3afab4(0x25f)]=_0x44aee1['testAnalyticsId'],_0x5c95d2[_0x3afab4(0x1a3)]=process[_0x3afab4(0x22d)][testHubConstants[_0x3afab4(0x220)][_0x3afab4(0x23c)]],_0x5c95d2[_0x3afab4(0x221)]=process[_0x3afab4(0x22d)][testHubConstants['ENV_VAR'][_0x3afab4(0x25c)]];const _0x250431=_0x5c95d2;logger['debug'](_0x3afab4(0x1eb)+JSON[_0x3afab4(0x1fd)](_0x250431)),CodeceptRecorder['add'](async()=>{const _0x8b299=_0x3afab4,_0x13b703={};_0x13b703[_0x8b299(0x1ba)]=_0x3b84ff[_0x8b299(0x1b2)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xee36a0=_0x8b299;await AccessibilityHelper[_0xee36a0(0x21b)](_0x4dc4c6,scripts[_0xee36a0(0x170)]);},_0x13b703)(),await PerformanceTester[_0x8b299(0x1ea)](PerformanceA11yEvents[_0x8b299(0x18c)],async()=>{const _0x244c0a=_0x8b299;await AccessibilityHelper['browserStackExecuteDriver'](_0x4dc4c6,scripts[_0x244c0a(0x21f)],_0x250431);})();}),logger[_0x3afab4(0x1ac)](_0x1435ed[_0x3afab4(0x162)]);}const _0x57a302={};_0x57a302['hookType']=_0x1435ed[_0x3afab4(0x218)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x57a302);}catch(_0x21a39a){PerformanceTester[_0x3afab4(0x174)](_0x21a39a);const _0x496be5={};_0x496be5[_0x3afab4(0x253)]=_0x1435ed['wjQDS'],PerformanceTester[_0x3afab4(0x199)](PerformanceHookEvents[_0x3afab4(0x205)],![],_0x21a39a,_0x496be5);}}),CodeceptJS[_0x14da2b(0x159)]['dispatcher']['on'](CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x1db)]['comment'],_0xd0318a=>{const _0x856f95=_0x14da2b;PerformanceTester[_0x856f95(0x201)](PerformanceHookEvents[_0x856f95(0x205)]);try{process[_0x856f95(0x19b)](_0x856f95(0x178)+process[_0x856f95(0x179)],{'timestamp':new Date()[_0x856f95(0x1b3)](),'level':_0x1435ed[_0x856f95(0x1f7)],'message':_0xd0318a,'kind':_0x1435ed[_0x856f95(0x23d)],'http_response':{}});}catch(_0xee21b9){PerformanceTester['captureError'](_0xee21b9);const _0x576fe4={};_0x576fe4[_0x856f95(0x253)]=_0x1435ed[_0x856f95(0x22f)],PerformanceTester[_0x856f95(0x199)](PerformanceHookEvents[_0x856f95(0x205)],![],_0xee21b9,_0x576fe4);}const _0xb74259={};_0xb74259[_0x856f95(0x253)]=_0x1435ed['MWZym'],PerformanceTester[_0x856f95(0x199)](PerformanceHookEvents[_0x856f95(0x205)],!![],null,_0xb74259);}),CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x216)]['on'](CodeceptJS[_0x14da2b(0x159)][_0x14da2b(0x24a)]['before'],_0x3cb4b1=>{const _0x4d2c55=_0x14da2b,_0x55d320={};_0x55d320['hookType']=_0x1435ed[_0x4d2c55(0x235)],PerformanceTester[_0x4d2c55(0x1ea)](PerformanceHookEvents[_0x4d2c55(0x205)],()=>{const _0x54d557=_0x4d2c55;_0x4ad711[_0x54d557(0x1df)](_0x3cb4b1);},_0x55d320)();}),CodeceptJS[_0x14da2b(0x159)]['dispatcher']['on'](CodeceptJS[_0x14da2b(0x159)]['bddStep'][_0x14da2b(0x1ca)],_0x363162=>{const _0x434ef5=_0x14da2b,_0x18f09a={};_0x18f09a[_0x434ef5(0x253)]=_0x1435ed['cVNzg'],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x434ef5(0x205)],()=>{const _0x1cd58a=_0x434ef5;_0x4ad711[_0x1cd58a(0x189)](_0x363162);},_0x18f09a)();});};function a1_0x2b5a(){const _0x358b51=['Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','info','dOBzx','setGlobal','string','page','BS_A11Y_JWT','YyYnT','toISOString','LTfaK','ROeMI','parse','ULTca','winstonLogger','HOOK_RUN_STARTED','command','jivgp','ctllZ','startsWith','../../helpers/performance/performance-tester','webdriverio','executeScript','bddStep-before','helpers','SDK_TEST','fireEvent','../../bin/playwright/sessionDetails','TEST_LOG','XOPXH','Performing\x20scan\x20for\x20','url','after','GET_RESULTS_SUMMARY','warn','jTJnh','TestCafe','stack','test','TEST_RUN_FINISHED','message','qFeaX','setSessionStatus','SDK_PRE_TEST','gNKUY','setSessionName','bind','currentTest','accessibilityPlatform','step','doxDB','test-failed','browserstackTestName','bddStepStart','getAccessibilityResultsSummary','testFramework','browser','restore','codeceptjs/lib/utils.js','test-started','copGK','push','addRequestSpy','FRAMEWORK_DETAILS','measureWrapper','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','skipSessionStatus','../../helpers/globals.js','afterTest','YYGps','getSyncScript','YDrkV','pages','initSaveScreenshot','codeceptjs/lib/recorder.js','FUnJg','qzaxV','OYWer','./o11yHelper','toString','NnRgF','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','test-skipped','stringify','NDCWo','../../helpers/testhub/constants.js','hxATt','start','titlePath','vzCcl','wYURA','SDK_HOOK','readFileSync','before','QrsPh','YuNov','tyGiI','base64','697369WlFAqu','IGsyy','CQGfc','startMonitoring','add','slice','bstackAllyScanning','codeceptjs','MHfxD','ftDBs','dispatcher','saveScreenshot','wjQDS','gnNCH','lopxH','browserStackExecuteDriver','args','gdcFM','Otrfp','saveTestResults','ENV_VAR','thJwtToken','3889752ndINsu','getAccessibilityResults','4040592ZbEjqI','constructor','hook','codeceptjs/lib/helper/WebDriver.js','forEach','INFO','debug','HOOK_RUN_FINISHED','__workerDetails','env','../../helpers/test-observability/utils','MWZym','SDK_POST_INITIALIZE','catch','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','tLAWi','ZzDos','kvaGJ','__skipSessionStatus','title','name','FwUnd','started','WebDriver','BROWSERSTACK_TESTHUB_UUID','baxso','Screenshot\x20path\x20not\x20found','stop','ctx','captureEvent','prototype','version','hook-failed','psusp','contexts','skipped','passed','qTkyX','bddStep','isArray','2890979UdqUxo','DNVMj','rnAUm','commandsToWrap','UvdSz','getResultsSummary','../../helpers/helper','hookType','AnSCV','patchSaveScreenshot','screenshotOutputFolder','step-comment','container','fDCpa','a11y_core_config','WHLDZ','BROWSERSTACK_TESTHUB_JWT','569073mcydtY','SESSION_STATUS','thTestRunUuid','shouldWrapCommand','XmQTd','event','ZwPdA','1886756ZwAWSR','class','TVxZh','TEST_RUN_SKIPPED','_setPage','YsOOE','SYNC','YOejj','exports','browserContext','Suite','Failed\x20to\x20execute\x20_before:\x20','all','YpBuM','TEST_SCREENSHOT','codeceptjs/lib/index.js','xxACO','lmGKD','PERFORM_SCAN','call','8HQsDDF','performScan','MFKSB','format','YHLUY','captureError','TSttF','Alkpk','config','bs:addLog:','pid','jLHzN','xbhjc','_before','dYSMx','cvAUj','Playwright','arguments','ZJFJv','bddStep-after','ydVZW','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ThWeR','chromium','./helper.js','test-after','bddStepFinish','../../helpers/performance/constants','GET_RESULTS','SAVE_RESULTS','browserstack_executor:\x20','WFmou','overwriteCommand','zOPVh','hook-passed','xPoaH','from','apply','../../helpers/request-spy','EOOmF','AVlnU','tHUFi','end','../../bin/playwright/accessibility-helper','emit','skipSessionName','../../helpers/logger','TEST_RUN_STARTED','420340NskscB','test-passed','devtools://','SESSION_NAME','thBuildUuid','find','SDK_POST_TEST','yzCgl','hook-started','rsZEK','filter','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'];a1_0x2b5a=function(){return _0x358b51;};return a1_0x2b5a();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x329245=a2_0x531c;(function(_0x18ccbb,_0x305aef){const _0x42a2bb=a2_0x531c,_0x681d9b=_0x18ccbb();while(!![]){try{const _0x1f3482=parseInt(_0x42a2bb(0x152))/0x1*(-parseInt(_0x42a2bb(0x1f0))/0x2)+parseInt(_0x42a2bb(0x1e3))/0x3*(parseInt(_0x42a2bb(0x1e6))/0x4)+-parseInt(_0x42a2bb(0x1b5))/0x5*(-parseInt(_0x42a2bb(0x1c1))/0x6)+-parseInt(_0x42a2bb(0x17c))/0x7*(-parseInt(_0x42a2bb(0x19a))/0x8)+parseInt(_0x42a2bb(0x175))/0x9*(parseInt(_0x42a2bb(0x1c5))/0xa)+parseInt(_0x42a2bb(0x16b))/0xb+-parseInt(_0x42a2bb(0x15e))/0xc;if(_0x1f3482===_0x305aef)break;else _0x681d9b['push'](_0x681d9b['shift']());}catch(_0x4aae1c){_0x681d9b['push'](_0x681d9b['shift']());}}}(a2_0x3fc7,0x86c9c));function a2_0x531c(_0x15d258,_0x4378af){const _0x3fc7d6=a2_0x3fc7();return a2_0x531c=function(_0x531c32,_0x3d91a5){_0x531c32=_0x531c32-0x14e;let _0x183554=_0x3fc7d6[_0x531c32];return _0x183554;},a2_0x531c(_0x15d258,_0x4378af);}function a2_0x3fc7(){const _0x3e255e=['userName','3311kpLEEN','gHKEl','host','test','map','validateRerunTestList','playwright-chromium','winstonLogger','assign','codecept.conf.js','printBuildLink','exports','0|5|4|2|1|3','teardownAll','../../helpers/testhub/testhubHandler','process','Passed\x20:\x20','skipSessionStatus','../utils/constants','TAbtR','platforms','BrowserStackPlugin','gherkin','join','Rpjbl','browserName','replace','XPcob','BROWSERSTACK_TEST_OBSERVABILITY_YML','spawn','17456snQOWV','SDK_CLEANUP','forEach','initialize','BROWSERSTACK_TEST_ACCESSIBILITY_YML','addTests','chromium','start','profile','event','info','bgTtp','ZtpZW','title','useW3C','accessibilityOptions','env','WebDriver','fIbPG','KVtGX','codecept.json','PecCv','toLowerCase','deBSZ','Workers','stop','isTestObservabilitySession','5lElgBc','CAidd','FmISN','addConfig','codeceptjs','user','addOptions','browserWSEndpoint','all','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','SVssU','browser','6459204GnBsJu','testConfig','../../bin/playwright/accessibility-helper','XlTqG','10DmjYYx','../../helpers/test-observability/constants','CODECEPT_CUCUMBER','testContextOptions','accessKey','vfXXM','load','jIzwb','firefox','passed','chdir','failed','validPlatformsPresent','cwd','DqeGf','Failed\x20:\x20','path','hubUrl','testObservability','helpers','trim','slice','util','gYVTn','CODECEPT','require','/wd/hub','chrome','getPlaywrightUrl','LvEtA','3kiKSbK','codeceptjs/lib/index.js','SDK_SETUP','2629964zXENUo','push','isTrue','tDahW','tgFkS','../../helpers/accessibility-automation/helper','scTtH','dirname','../../helpers/helper','ZMwgC','107654GXDgUl','log','prepareCapabilities','before','stringify','desiredCapabilities','FRAMEWORKS','playwright-webkit','length','getUserWorkerCount','cCVml','6HkYqHO','errorMessage','Playwright','BROWSERSTACK_RERUN_TESTS','split','zPzrJ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','result','EVENTS','config','webkit','getPlatformName','31420608BHECeS','root','launchBuild','../../helpers/BrowserStackSetup','key','enabled','Started\x20:\x20','now','bootstrapAll','finalExecution','../../helpers/performance/constants','DgxYr','isEmpty','2035726SJHEJH','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','mergeDeep','existsSync','eZXjW','createGroupsOfSuites','iUrbD','../utils/clientTroubleshootingService','../../helpers/logger','stack','4880349wtypdv','run','findIndex','isUndefined','setAdditionalCapabilities','err'];a2_0x3fc7=function(){return _0x3e255e;};return a2_0x3fc7();}const fs=require('fs'),path=require('path'),util=require(a2_0x329245(0x1db)),process=require(a2_0x329245(0x18b)),logger=require(a2_0x329245(0x173))[a2_0x329245(0x183)],{default:BrowserStackSetup}=require(a2_0x329245(0x161)),helper=require(a2_0x329245(0x1ee)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x329245(0x1eb)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x329245(0x1c3)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x329245(0x1ee)),CodeceptJS=requireModule(a2_0x329245(0x1e4),a2_0x329245(0x1b9)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x329245(0x18a)),constants=require(a2_0x329245(0x18e)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x329245(0x1c6)),PerformanceEvents=require(a2_0x329245(0x168))[a2_0x329245(0x15a)],ClientTroubleShootingService=require(a2_0x329245(0x172)),_testErrorData=[],getUserCodeceptJSConfigs=(_0xc89066,_0x43968c)=>{const _0x164b9b=a2_0x329245,_0x516771={};_0x516771['LvEtA']=function(_0x2c5eeb,_0x216722){return _0x2c5eeb===_0x216722;},_0x516771[_0x164b9b(0x1e9)]=_0x164b9b(0x185),_0x516771[_0x164b9b(0x17d)]=_0x164b9b(0x1ae);const _0x53ad2a=_0x516771;let _0x3bc5a6=null;const _0x36188b={};let _0x5a62b9=_0x43968c[_0x164b9b(0x177)](_0x16b7a4=>_0x16b7a4==='--config');_0x53ad2a[_0x164b9b(0x1e2)](_0x5a62b9,-0x1)&&(_0x5a62b9=_0x43968c['findIndex'](_0x3a1c5a=>_0x3a1c5a==='-c'));if(!helper[_0x164b9b(0x178)](_0xc89066[_0x164b9b(0x15b)])&&fs['existsSync'](path['join'](process['cwd'](),_0xc89066[_0x164b9b(0x15b)])))_0x3bc5a6=path[_0x164b9b(0x193)](process[_0x164b9b(0x1d2)](),_0xc89066[_0x164b9b(0x15b)]),_0x43968c[_0x164b9b(0x1da)](_0x5a62b9,0x2);else{if(!helper['isUndefined'](_0xc89066['c'])&&fs['existsSync'](path[_0x164b9b(0x193)](process[_0x164b9b(0x1d2)](),_0xc89066['c'])))_0x3bc5a6=path[_0x164b9b(0x193)](process['cwd'](),_0xc89066['c']),_0x43968c['slice'](_0x5a62b9,0x2);else{if(fs[_0x164b9b(0x16e)](path['join'](process[_0x164b9b(0x1d2)](),_0x53ad2a[_0x164b9b(0x1e9)])))_0x3bc5a6=path['join'](process[_0x164b9b(0x1d2)](),_0x53ad2a[_0x164b9b(0x1e9)]);else fs['existsSync'](path[_0x164b9b(0x193)](process['cwd'](),_0x53ad2a[_0x164b9b(0x17d)]))&&(_0x3bc5a6=path[_0x164b9b(0x193)](process['cwd'](),_0x53ad2a[_0x164b9b(0x17d)]));}}return process['env']['USER_CONFIG_DETAILS_PATH']=_0x3bc5a6,_0x3bc5a6;},getO11yRerunPattern=()=>{const _0x4206c3=a2_0x329245,_0x2b452f=helper[_0x4206c3(0x1e8)](process[_0x4206c3(0x1aa)]['BROWSERSTACK_RERUN']);if(_0x2b452f){const _0x1e78e2=process[_0x4206c3(0x1aa)][_0x4206c3(0x155)],_0x10d4c8=[];if(helper[_0x4206c3(0x181)](_0x1e78e2)&&!helper[_0x4206c3(0x178)](_0x1e78e2)){_0x1e78e2[_0x4206c3(0x156)](',')[_0x4206c3(0x180)](_0x419c48=>{const _0x16e264=_0x4206c3;_0x10d4c8['push']('('+_0x419c48[_0x16e264(0x1d9)]()+')');});const _0x317bc4='^'+_0x10d4c8['join']('|')+'$';return _0x317bc4;}}return null;},a2_0x1177af={};a2_0x1177af[a2_0x329245(0x1e0)]=a2_0x329245(0x1a0),a2_0x1177af[a2_0x329245(0x182)]=a2_0x329245(0x1a0),a2_0x1177af['playwright-firefox']=a2_0x329245(0x1cd),a2_0x1177af[a2_0x329245(0x14e)]=a2_0x329245(0x15c);const pwToCodeceptBrowser=a2_0x1177af;async function run(_0x2a703a,_0x154abe,_0x495f25){const _0x1eb23b=a2_0x329245,_0x42b08e={'scTtH':function(_0x2d179a,_0x17f190,_0x370f79,_0x4d4822){return _0x2d179a(_0x17f190,_0x370f79,_0x4d4822);},'vfXXM':function(_0x5908f6,_0x1358b3){return _0x5908f6+_0x1358b3;},'SVssU':function(_0x5d7638,_0x47319a){return _0x5d7638(_0x47319a);},'KVtGX':function(_0x55495c,_0x5af57f,_0x3d32ca){return _0x55495c(_0x5af57f,_0x3d32ca);},'XPcob':_0x1eb23b(0x1d8),'GiPDM':function(_0x105fd7){return _0x105fd7();},'Rpjbl':_0x1eb23b(0x1df),'eZXjW':function(_0x3082d7){return _0x3082d7();},'CIQfS':_0x1eb23b(0x1d4),'Aqjfn':_0x1eb23b(0x18c),'fIbPG':_0x1eb23b(0x164),'iUrbD':_0x1eb23b(0x188),'deBSZ':function(_0x58c243,_0x50c377,_0x3b19aa){return _0x58c243(_0x50c377,_0x3b19aa);},'tGNRj':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','bgTtp':function(_0x69df9,_0x2829b6,_0x539dc1){return _0x69df9(_0x2829b6,_0x539dc1);},'ZMwgC':'Playwright','tgFkS':_0x1eb23b(0x1ab),'FmISN':function(_0x4379d2,_0x23e565){return _0x4379d2(_0x23e565);},'cbbHM':function(_0x17af13,_0xb52e96){return _0x17af13!=_0xb52e96;},'TAbtR':function(_0x2231e4,_0x33faae){return _0x2231e4===_0x33faae;},'cCVml':_0x1eb23b(0x192),'PecCv':function(_0x4f85e0,_0x59cc6e){return _0x4f85e0(_0x59cc6e);},'CAidd':function(_0x4e4560,_0x3b2a2d){return _0x4e4560*_0x3b2a2d;},'DqeGf':function(_0x4b7d27,_0x4e1ed9,_0x5896be){return _0x4b7d27(_0x4e1ed9,_0x5896be);},'gYVTn':_0x1eb23b(0x1c0),'DgxYr':_0x1eb23b(0x1f5),'DcIYM':function(_0x339062,_0x1c997e,_0x91aa6b){return _0x339062(_0x1c997e,_0x91aa6b);},'jIzwb':_0x1eb23b(0x15f),'zPzrJ':'BrowserStackPlugin.js','XlTqG':'browserStackCwd','ZtpZW':function(_0x503e3e){return _0x503e3e();}};await _0x495f25[_0x1eb23b(0x19d)](_0x2a703a),await helper['handleApp'](_0x495f25[_0x1eb23b(0x15b)]);if(!_0x495f25[_0x1eb23b(0x15b)])return;process[_0x1eb23b(0x1a2)]=_0x2a703a[_0x1eb23b(0x1a2)];_0x2a703a['profile']&&(process[_0x1eb23b(0x1aa)][_0x1eb23b(0x1a2)]=_0x2a703a[_0x1eb23b(0x1a2)]);const _0x1f724f=_0x42b08e[_0x1eb23b(0x1b1)](getUserCodeceptJSConfigs,_0x2a703a,_0x154abe);let _0x460e51={};_0x1f724f?(logger[_0x1eb23b(0x1a4)](_0x1eb23b(0x16c)+_0x1f724f),_0x460e51=CodeceptJS[_0x1eb23b(0x15b)][_0x1eb23b(0x1cb)](_0x1f724f)):logger[_0x1eb23b(0x1a4)](_0x42b08e['tGNRj']);let _0x39d49b=![];_0x42b08e[_0x1eb23b(0x1a5)](nestedKeyValue,_0x460e51,[_0x42b08e[_0x1eb23b(0x197)],_0x42b08e[_0x1eb23b(0x1ef)]])&&(_0x39d49b=!![]);const _0x27c942=_0x39d49b?_0x42b08e['ZMwgC']:_0x42b08e[_0x1eb23b(0x1ea)];let _0x49c23a=!_0x39d49b?helper[_0x1eb23b(0x1a8)](_0x495f25[_0x1eb23b(0x15b)]):![];!helper[_0x1eb23b(0x178)](_0x495f25['config']['accessibilityOptions'])&&(process['env'][_0x1eb23b(0x158)]=JSON[_0x1eb23b(0x1f4)](_0x495f25[_0x1eb23b(0x15b)][_0x1eb23b(0x1a9)]));let _0x57d9a0=_0x495f25['config']['accessibility'];_0x57d9a0=_0x57d9a0||_0x42b08e[_0x1eb23b(0x1b7)](checkAccessibilityPlatformConfig,_0x495f25[_0x1eb23b(0x15b)]),process[_0x1eb23b(0x1aa)][_0x1eb23b(0x19e)]=_0x57d9a0;_0x57d9a0&&(_0x49c23a=!_0x57d9a0);_0x42b08e['cbbHM'](_0x495f25[_0x1eb23b(0x15b)][_0x1eb23b(0x1d7)],null)?process['env'][_0x1eb23b(0x198)]=_0x495f25[_0x1eb23b(0x15b)][_0x1eb23b(0x1d7)]:process[_0x1eb23b(0x1aa)][_0x1eb23b(0x198)]=_0x42b08e[_0x1eb23b(0x18f)](_0x27c942,_0x42b08e[_0x1eb23b(0x1ef)]);const _0x5db1c2=_0x42b08e[_0x1eb23b(0x1ad)](nestedKeyValue,_0x460e51,[_0x42b08e[_0x1eb23b(0x151)]]),_0x211dba=_0x5db1c2&&!helper[_0x1eb23b(0x16a)](_0x5db1c2)?FRAMEWORKS[_0x1eb23b(0x1c7)]:FRAMEWORKS[_0x1eb23b(0x1dd)],_0x5ace24=await TestHubHandler[_0x1eb23b(0x160)](_0x211dba,_0x495f25);_0x57d9a0&&_0x42b08e[_0x1eb23b(0x1af)](setAccessibilityCapabilities,_0x495f25[_0x1eb23b(0x15b)]);const _0x5bbfab={},_0x3da48d=[],_0xbbe304=_0x495f25[_0x1eb23b(0x15b)]['parallelsPerPlatform']||helper[_0x1eb23b(0x150)](_0x2a703a,_0x154abe,_0x495f25[_0x1eb23b(0x15b)],constants['FRAMEWORKS'][_0x1eb23b(0x1dd)])||0x1;let _0x316db2=0x1;if(_0x42b08e[_0x1eb23b(0x16f)](isBrowserstackInfra)){const _0x441385=helper[_0x1eb23b(0x1f2)](_0x495f25[_0x1eb23b(0x15b)],_0x49c23a,constants[_0x1eb23b(0x1f6)][_0x1eb23b(0x1dd)]);_0x441385[_0x1eb23b(0x19c)](_0x5947b5=>{const _0x20b1bb=_0x1eb23b;helper[_0x20b1bb(0x179)](_0x5947b5);}),helper[_0x1eb23b(0x1d1)](_0x495f25[_0x1eb23b(0x15b)])?_0x316db2=_0x42b08e[_0x1eb23b(0x1b6)](_0xbbe304,_0x495f25[_0x1eb23b(0x15b)][_0x1eb23b(0x190)][_0x1eb23b(0x14f)]):_0x316db2=_0xbbe304,_0x441385[_0x1eb23b(0x19c)](_0x31e92b=>{const _0x2055f1=_0x1eb23b,_0x22b8d4=_0x42b08e[_0x2055f1(0x1ca)](helper[_0x2055f1(0x15d)](_0x31e92b,'_'),'_'+Date[_0x2055f1(0x165)]()),_0x3779a9=((()=>{const _0x37596d=_0x2055f1;if(_0x39d49b){const _0xa8f64a=pwToCodeceptBrowser[_0x31e92b['browserName']]||_0x31e92b['browserName'],_0xb752a0=helper[_0x37596d(0x1e1)](_0x495f25[_0x37596d(0x15b)]),_0x21aeb5=Object['assign']({},_0x31e92b);return _0x42b08e[_0x37596d(0x1ec)](processAccessibilityCaps,_0x21aeb5,_0xb752a0,null),{'browser':_0xa8f64a,[_0xa8f64a]:{'browserWSEndpoint':_0x42b08e[_0x37596d(0x1ca)](_0xb752a0,_0x42b08e[_0x37596d(0x1bf)](encodeURIComponent,JSON[_0x37596d(0x1f4)](_0x21aeb5)))}};}const _0x133a08={};return _0x133a08['desiredCapabilities']=_0x31e92b,_0x133a08[_0x37596d(0x1ba)]=_0x495f25[_0x37596d(0x15b)][_0x37596d(0x17b)],_0x133a08[_0x37596d(0x162)]=_0x495f25['config'][_0x37596d(0x1c9)],_0x133a08;})()),_0x2f2802=_0x42b08e[_0x2055f1(0x1ad)](nestedKeyValue,_0x460e51,[_0x42b08e[_0x2055f1(0x197)],_0x27c942]);_0x5bbfab[_0x22b8d4]=_0x2f2802?helper[_0x2055f1(0x16d)](_0x3779a9,_0x2f2802):_0x3779a9;if(_0x39d49b)_0x5bbfab[_0x22b8d4][_0x2055f1(0x1c0)]=pwToCodeceptBrowser[_0x31e92b[_0x2055f1(0x195)]]||_0x31e92b['browserName'];else{_0x5bbfab[_0x22b8d4][_0x2055f1(0x1c0)]=_0x31e92b[_0x2055f1(0x195)]||_0x3779a9[_0x2055f1(0x1c0)];if(_0x42b08e['GiPDM'](isBrowserstackInfra)){_0x5bbfab[_0x22b8d4][_0x2055f1(0x17e)]=constants[_0x2055f1(0x1d6)][_0x2055f1(0x196)](_0x42b08e[_0x2055f1(0x194)],'')[_0x2055f1(0x196)](/https?:\/\//,'');;_0x5bbfab[_0x22b8d4][_0x2055f1(0x1d5)]=_0x42b08e['Rpjbl'];}}_0x3da48d['push'](_0x22b8d4);});}else{_0x316db2=0x1;if(_0x39d49b){const _0x2310d2=_0x42b08e[_0x1eb23b(0x1d3)](nestedKeyValue,_0x460e51,[_0x42b08e['XPcob'],_0x27c942,_0x42b08e[_0x1eb23b(0x1dc)]]),_0xeb936a=_0x42b08e['DqeGf'](nestedKeyValue,_0x460e51,[_0x42b08e[_0x1eb23b(0x197)],_0x27c942,_0x2310d2]);if(_0xeb936a&&_0xeb936a['browserWSEndpoint']){const _0x11cb7a={};_0x11cb7a[_0x1eb23b(0x190)]=[],_0xeb936a[_0x1eb23b(0x1bc)]=helper['prepareCapabilities'](Object[_0x1eb23b(0x184)]({},_0x495f25[_0x1eb23b(0x15b)],_0x11cb7a),null,_0x211dba[_0x1eb23b(0x1b0)](),null,null,_0xeb936a[_0x1eb23b(0x1bc)]);}}else{const _0x2e856f={};_0x2e856f[_0x1eb23b(0x190)]=[],_0x460e51[_0x42b08e['XPcob']][_0x27c942][_0x42b08e['DgxYr']]=helper['prepareCapabilities'](Object[_0x1eb23b(0x184)]({},_0x495f25['config'],_0x2e856f),null,_0x211dba[_0x1eb23b(0x1b0)](),_0x42b08e['DcIYM'](nestedKeyValue,_0x460e51,[_0x42b08e[_0x1eb23b(0x197)],_0x27c942,_0x42b08e[_0x1eb23b(0x169)]])||{},null,null);}_0x5bbfab[_0x42b08e[_0x1eb23b(0x1cc)]]=_0x460e51,_0x3da48d[_0x1eb23b(0x1e7)](_0x42b08e[_0x1eb23b(0x1cc)]);}const _0x59c946={};_0x59c946[_0x1eb23b(0x1c2)]=_0x1f724f;const _0x4255c7=_0x59c946,_0x5191f4=path[_0x1eb23b(0x193)](__dirname,_0x42b08e[_0x1eb23b(0x157)]),_0x286670=process['cwd']();process['env'][_0x42b08e[_0x1eb23b(0x1c4)]]=_0x286670,process[_0x1eb23b(0x1cf)](path[_0x1eb23b(0x1ed)](_0x1f724f));const _0x5a2b8d=new CodeceptJS[(_0x1eb23b(0x1b2))](null,_0x4255c7),_0x14e76a=_0x5a2b8d[_0x1eb23b(0x170)](_0x316db2),_0x4ee290=testOpsHelper[_0x1eb23b(0x1b4)](),_0x1d7dd1=_0x3da48d[_0x1eb23b(0x180)](_0x29d653=>{const _0x37dbde=_0x1eb23b,_0x5e435b={};_0x5e435b[_0x37dbde(0x154)]=_0x5bbfab[_0x29d653];const _0x250aa9={};_0x250aa9[_0x37dbde(0x1ab)]=_0x5bbfab[_0x29d653];const _0x2b5999=_0x39d49b?_0x5e435b:_0x250aa9,_0x346f42=_0x42b08e['GiPDM'](getO11yRerunPattern),_0x2209e7={};_0x2209e7[_0x37dbde(0x1d8)]=_0x2b5999;const _0x3860cc={};_0x3860cc[_0x37dbde(0x1de)]=_0x5191f4,_0x3860cc[_0x37dbde(0x163)]=!![],_0x3860cc['skipSessionName']=_0x495f25['config'][_0x37dbde(0x1c8)]['skipSessionName'],_0x3860cc[_0x37dbde(0x18d)]=_0x495f25[_0x37dbde(0x15b)]['testContextOptions'][_0x37dbde(0x18d)],_0x3860cc['testObservability']=_0x4ee290,_0x3860cc['frameworkName']=_0x211dba;const _0x23228e={};_0x23228e[_0x37dbde(0x191)]=_0x3860cc;const _0x3a0596={};return _0x3a0596['plugins']=_0x23228e,helper['mergeDeep']({},_0x460e51,_0x42b08e[_0x37dbde(0x16f)](isBrowserstackInfra)?_0x2209e7:{},_0x346f42?{'grep':_0x346f42}:{},_0x3a0596);});for(const _0x5de499 of _0x1d7dd1){for(const _0x5bc313 of _0x14e76a){const _0x581537=_0x5a2b8d[_0x1eb23b(0x199)]();_0x581537[_0x1eb23b(0x19f)](_0x5bc313),_0x581537[_0x1eb23b(0x1b8)](_0x5de499);const _0x27e618={};_0x27e618[_0x1eb23b(0x15b)]=_0x1f724f,_0x581537[_0x1eb23b(0x1bb)](Object[_0x1eb23b(0x184)](_0x27e618,_0x2a703a));}}_0x5a2b8d['on'](CodeceptJS[_0x1eb23b(0x1a3)][_0x1eb23b(0x17f)][_0x1eb23b(0x1d0)],(_0x5761fd,_0x39b38f)=>{const _0x45af26=_0x1eb23b;console[_0x45af26(0x1f1)](_0x42b08e['CIQfS'],_0x5761fd['title']);const _0x4b5c12={[_0x5761fd[_0x45af26(0x1a7)]]:_0x5761fd[_0x45af26(0x17a)][_0x45af26(0x174)]};_testErrorData[_0x45af26(0x1e7)](_0x4b5c12);}),_0x5a2b8d['on'](CodeceptJS[_0x1eb23b(0x1a3)][_0x1eb23b(0x17f)][_0x1eb23b(0x1ce)],async _0x3dd1ec=>{const _0x522feb=_0x1eb23b;console['log'](_0x42b08e['Aqjfn'],_0x3dd1ec[_0x522feb(0x1a7)]);}),_0x5a2b8d['on'](CodeceptJS[_0x1eb23b(0x1a3)][_0x1eb23b(0x17f)][_0x1eb23b(0x1f3)],async _0x53d05c=>{const _0x31cfc2=_0x1eb23b;console['log'](_0x42b08e[_0x31cfc2(0x1ac)],_0x53d05c['title']);}),_0x5a2b8d['on'](CodeceptJS[_0x1eb23b(0x1a3)][_0x1eb23b(0x1bd)][_0x1eb23b(0x159)],async()=>{const _0x582bba=_0x1eb23b,_0xf7d31a=_0x42b08e[_0x582bba(0x171)][_0x582bba(0x156)]('|');let _0xdd3ceb=0x0;while(!![]){switch(_0xf7d31a[_0xdd3ceb++]){case'0':PerformanceTester[_0x582bba(0x1a1)](PerformanceEvents[_0x582bba(0x19b)]);continue;case'1':try{await TestHubHandler[_0x582bba(0x1b3)]();}catch(_0x56102b){logger['debug'](_0x582bba(0x1be)+util['format'](_0x56102b));}continue;case'2':utilities[_0x582bba(0x167)](_0x495f25);continue;case'3':_0x5a2b8d['printResults']();continue;case'4':testOpsHelper[_0x582bba(0x186)]();continue;case'5':_0x495f25[_0x582bba(0x153)]=_testErrorData;continue;}break;}});async function _0x2fbe5d(){const _0x70d76e=_0x1eb23b;try{await _0x5a2b8d[_0x70d76e(0x166)](),await _0x5a2b8d[_0x70d76e(0x176)]();}finally{process[_0x70d76e(0x1cf)](_0x286670),await _0x5a2b8d[_0x70d76e(0x189)]();}}PerformanceTester['end'](PerformanceEvents[_0x1eb23b(0x1e5)]),_0x42b08e[_0x1eb23b(0x1a6)](_0x2fbe5d);}module[a2_0x329245(0x187)]=run;
2
+ 'use strict';const a2_0x44f5eb=a2_0x4f94;(function(_0x157715,_0x3a0e78){const _0x3e5389=a2_0x4f94,_0x2d61f0=_0x157715();while(!![]){try{const _0x2d3118=-parseInt(_0x3e5389(0x20f))/0x1*(-parseInt(_0x3e5389(0x282))/0x2)+parseInt(_0x3e5389(0x1f8))/0x3*(-parseInt(_0x3e5389(0x237))/0x4)+-parseInt(_0x3e5389(0x21d))/0x5+parseInt(_0x3e5389(0x227))/0x6*(-parseInt(_0x3e5389(0x26e))/0x7)+-parseInt(_0x3e5389(0x26f))/0x8*(parseInt(_0x3e5389(0x225))/0x9)+-parseInt(_0x3e5389(0x22e))/0xa+parseInt(_0x3e5389(0x285))/0xb;if(_0x2d3118===_0x3a0e78)break;else _0x2d61f0['push'](_0x2d61f0['shift']());}catch(_0x2079a1){_0x2d61f0['push'](_0x2d61f0['shift']());}}}(a2_0x1ac2,0x99207));const fs=require('fs'),path=require('path'),util=require(a2_0x44f5eb(0x24f)),process=require(a2_0x44f5eb(0x279)),logger=require('../../helpers/logger')[a2_0x44f5eb(0x260)],{default:BrowserStackSetup}=require(a2_0x44f5eb(0x201)),helper=require(a2_0x44f5eb(0x238)),utilities=require(a2_0x44f5eb(0x216)),{checkAccessibilityPlatformConfig}=require(a2_0x44f5eb(0x27b)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x44f5eb(0x24d)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x44f5eb(0x238)),CodeceptJS=requireModule(a2_0x44f5eb(0x259),a2_0x44f5eb(0x208)),testOpsHelper=require(a2_0x44f5eb(0x20b)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x44f5eb(0x21b)),PerformanceTester=require(a2_0x44f5eb(0x249)),{FRAMEWORKS}=require(a2_0x44f5eb(0x257)),PerformanceEvents=require(a2_0x44f5eb(0x23f))[a2_0x44f5eb(0x241)],ClientTroubleShootingService=require(a2_0x44f5eb(0x22d)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x4668b4,_0x1d6f49)=>{const _0x36046f=a2_0x44f5eb,_0x31c79b={};_0x31c79b[_0x36046f(0x251)]=function(_0x3c2a5d,_0x5811d7){return _0x3c2a5d===_0x5811d7;},_0x31c79b[_0x36046f(0x26b)]='codecept.conf.js',_0x31c79b[_0x36046f(0x1f7)]='codecept.json';const _0x296d57=_0x31c79b;let _0x490b3d=null;const _0x3a4f37={};let _0x492063=_0x1d6f49[_0x36046f(0x248)](_0x4c2b3a=>_0x4c2b3a===_0x36046f(0x272));_0x296d57[_0x36046f(0x251)](_0x492063,-0x1)&&(_0x492063=_0x1d6f49[_0x36046f(0x248)](_0x437364=>_0x437364==='-c'));if(!helper[_0x36046f(0x23e)](_0x4668b4[_0x36046f(0x246)])&&fs[_0x36046f(0x21a)](path['join'](process[_0x36046f(0x254)](),_0x4668b4[_0x36046f(0x246)])))_0x490b3d=path['join'](process['cwd'](),_0x4668b4[_0x36046f(0x246)]),_0x1d6f49['slice'](_0x492063,0x2);else{if(!helper[_0x36046f(0x23e)](_0x4668b4['c'])&&fs[_0x36046f(0x21a)](path[_0x36046f(0x284)](process['cwd'](),_0x4668b4['c'])))_0x490b3d=path['join'](process[_0x36046f(0x254)](),_0x4668b4['c']),_0x1d6f49[_0x36046f(0x223)](_0x492063,0x2);else{if(fs['existsSync'](path['join'](process[_0x36046f(0x254)](),_0x296d57[_0x36046f(0x26b)])))_0x490b3d=path[_0x36046f(0x284)](process['cwd'](),_0x296d57[_0x36046f(0x26b)]);else fs[_0x36046f(0x21a)](path[_0x36046f(0x284)](process['cwd'](),_0x296d57[_0x36046f(0x1f7)]))&&(_0x490b3d=path[_0x36046f(0x284)](process['cwd'](),_0x296d57[_0x36046f(0x1f7)]));}}return process[_0x36046f(0x203)][_0x36046f(0x27a)]=_0x490b3d,_0x490b3d;},getO11yRerunPattern=()=>{const _0x3c0d6d=a2_0x44f5eb,_0x3c3fb9=helper[_0x3c0d6d(0x25b)](process[_0x3c0d6d(0x203)][_0x3c0d6d(0x271)]);if(_0x3c3fb9){const _0x3b3f05=process['env'][_0x3c0d6d(0x231)],_0x5155f7=[];if(helper[_0x3c0d6d(0x25c)](_0x3b3f05)&&!helper['isUndefined'](_0x3b3f05)){_0x3b3f05[_0x3c0d6d(0x247)](',')[_0x3c0d6d(0x244)](_0x2a2e5f=>{const _0x3c60b4=_0x3c0d6d;_0x5155f7[_0x3c60b4(0x232)]('('+_0x2a2e5f[_0x3c60b4(0x267)]()+')');});const _0x1144b2='^'+_0x5155f7[_0x3c0d6d(0x284)]('|')+'$';return _0x1144b2;}}return null;},a2_0x4e8b1c={};a2_0x4e8b1c[a2_0x44f5eb(0x230)]=a2_0x44f5eb(0x28b),a2_0x4e8b1c[a2_0x44f5eb(0x25f)]=a2_0x44f5eb(0x28b),a2_0x4e8b1c[a2_0x44f5eb(0x242)]=a2_0x44f5eb(0x236),a2_0x4e8b1c[a2_0x44f5eb(0x219)]='webkit';function a2_0x1ac2(){const _0x194a42=['CODECEPT_CUCUMBER','addConfig','replace','addTests','errorMessage','../utils/clientTroubleshootingService','1595570PFSWsv','getPlaywrightUrl','chrome','BROWSERSTACK_RERUN_TESTS','push','userName','load','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','firefox','188336gJEJzg','../../helpers/helper','forEach','dUIsx','iqwKT','now','printBuildLink','isUndefined','../../helpers/performance/constants','prepareCapabilities','EVENTS','playwright-firefox','FRAMEWORKS','map','toLowerCase','config','split','findIndex','../../helpers/performance/performance-tester','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','chdir','RmmkD','../../bin/playwright/accessibility-helper','path','util','result','cainm','yVSZb','dirname','cwd','run','skipSessionName','../../helpers/test-observability/constants','SDK_SETUP','codeceptjs/lib/index.js','getUserWorkerCount','isTrue','validateRerunTestList','length','EQIYF','playwright-chromium','winstonLogger','validPlatformsPresent','dcUQO','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','platforms','useW3C','addOptions','trim','start','JwGQN','key','iJAee','teardownAll','PHifT','4420717jQGnjA','8UxZanG','Playwright','BROWSERSTACK_RERUN','--config','browserWSEndpoint','NqRZD','enabled','browser','spawn','WebDriver','process','USER_CONFIG_DETAILS_PATH','../../helpers/accessibility-automation/helper','accessibility','testObservability','mergeDeep','require','before','createGroupsOfSuites','14172qmbhlW','end','join','30378964yjbcBV','kDsOx','plugins','stringify','browserName','desiredCapabilities','chromium','title','setAdditionalCapabilities','Failed\x20:\x20','testContextOptions','ofHRn','12zFuhdE','ePAyW','initialize','skipSessionStatus','err','assign','qkybX','UtZJa','frameworkName','../../helpers/BrowserStackSetup','BROWSERSTACK_TEST_OBSERVABILITY_YML','env','event','profile','helpers','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','codeceptjs','YSopZ','log','../../helpers/test-observability/utils','test','accessibilityOptions','VobSZ','1oDSHWU','MXNeG','CODECEPT','gherkin','failed','JVwap','format','../../helpers/utilities','UfdPV','BrowserStackPlugin.js','playwright-webkit','existsSync','../utils/constants','handleApp','2528040AwvqWg','passed','testConfig','browserStackCwd','HwdVX','dcAEd','slice','getPlatformName','5909139XWiDNb','bootstrapAll','6NGwlJN'];a2_0x1ac2=function(){return _0x194a42;};return a2_0x1ac2();}const pwToCodeceptBrowser=a2_0x4e8b1c;async function run(_0x41ebbb,_0x1ae8fc,_0x4acdb3){const _0x11a346=a2_0x44f5eb,_0x3ca319={'YSopZ':function(_0x5a4e06,_0x1e0416,_0x147382,_0x29c2c0){return _0x5a4e06(_0x1e0416,_0x147382,_0x29c2c0);},'HwdVX':function(_0x2f2cda,_0x4c6620){return _0x2f2cda+_0x4c6620;},'PHifT':function(_0x59eea8,_0x17c87b){return _0x59eea8(_0x17c87b);},'JwGQN':function(_0x5c6f02,_0x391be9,_0x30c5b0){return _0x5c6f02(_0x391be9,_0x30c5b0);},'MXNeG':'helpers','yVSZb':function(_0x4f5f3f){return _0x4f5f3f();},'UfdPV':'/wd/hub','dcUQO':function(_0x23031b){return _0x23031b();},'qfoVU':function(_0x187d81){return _0x187d81();},'wnGIn':_0x11a346(0x1f5),'VobSZ':'Passed\x20:\x20','EQIYF':'Started\x20:\x20','qfGRa':'5|2|3|4|0|1','ePAyW':function(_0x3f4398,_0x15fbd4,_0x11017d){return _0x3f4398(_0x15fbd4,_0x11017d);},'NqRZD':_0x11a346(0x24a),'kDsOx':_0x11a346(0x270),'JVwap':_0x11a346(0x278),'NOlIq':function(_0x11a163,_0x43e9e4){return _0x11a163!=_0x43e9e4;},'XKVhc':function(_0x876311,_0x44feee){return _0x876311===_0x44feee;},'qYXAL':_0x11a346(0x212),'RmmkD':function(_0x30454e,_0x4d4ae7){return _0x30454e*_0x4d4ae7;},'HNVcG':_0x11a346(0x276),'dUIsx':function(_0x43985b,_0x44e004,_0x368d23){return _0x43985b(_0x44e004,_0x368d23);},'dcAEd':'desiredCapabilities','qkybX':'root','iqwKT':_0x11a346(0x218),'DIlCN':_0x11a346(0x220),'UtZJa':function(_0x54c81f){return _0x54c81f();}};await _0x4acdb3[_0x11a346(0x1fa)](_0x41ebbb),await helper[_0x11a346(0x21c)](_0x4acdb3['config']);if(!_0x4acdb3[_0x11a346(0x246)])return;process[_0x11a346(0x205)]=_0x41ebbb[_0x11a346(0x205)];_0x41ebbb[_0x11a346(0x205)]&&(process['env'][_0x11a346(0x205)]=_0x41ebbb[_0x11a346(0x205)]);const _0x3bd75d=_0x3ca319[_0x11a346(0x1f9)](getUserCodeceptJSConfigs,_0x41ebbb,_0x1ae8fc);let _0x319942={};_0x3bd75d?(logger['info'](_0x11a346(0x235)+_0x3bd75d),_0x319942=CodeceptJS[_0x11a346(0x246)][_0x11a346(0x234)](_0x3bd75d)):logger['info'](_0x3ca319[_0x11a346(0x274)]);let _0x4c57f0=![];_0x3ca319[_0x11a346(0x1f9)](nestedKeyValue,_0x319942,[_0x3ca319['MXNeG'],_0x3ca319[_0x11a346(0x286)]])&&(_0x4c57f0=!![]);const _0x5343fe=_0x4c57f0?_0x3ca319[_0x11a346(0x286)]:_0x3ca319[_0x11a346(0x214)];let _0x134712=!_0x4c57f0?helper[_0x11a346(0x265)](_0x4acdb3[_0x11a346(0x246)]):![];!helper[_0x11a346(0x23e)](_0x4acdb3[_0x11a346(0x246)][_0x11a346(0x20d)])&&(process[_0x11a346(0x203)][_0x11a346(0x207)]=JSON[_0x11a346(0x288)](_0x4acdb3[_0x11a346(0x246)][_0x11a346(0x20d)]));let _0x33711a=_0x4acdb3['config'][_0x11a346(0x27c)];_0x33711a=_0x33711a||_0x3ca319[_0x11a346(0x26d)](checkAccessibilityPlatformConfig,_0x4acdb3[_0x11a346(0x246)]),process[_0x11a346(0x203)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x33711a;_0x33711a&&(_0x134712=!_0x33711a);_0x3ca319['NOlIq'](_0x4acdb3[_0x11a346(0x246)]['testObservability'],null)?process[_0x11a346(0x203)][_0x11a346(0x202)]=_0x4acdb3[_0x11a346(0x246)]['testObservability']:process['env'][_0x11a346(0x202)]=_0x3ca319['XKVhc'](_0x5343fe,_0x3ca319[_0x11a346(0x286)]);const _0x1f64a7=_0x3ca319[_0x11a346(0x1f9)](nestedKeyValue,_0x319942,[_0x3ca319['qYXAL']]),_0x390e7d=_0x1f64a7&&!helper['isEmpty'](_0x1f64a7)?FRAMEWORKS[_0x11a346(0x228)]:FRAMEWORKS[_0x11a346(0x211)],_0x3006ca=await TestHubHandler['launchBuild'](_0x390e7d,_0x4acdb3);_0x33711a&&_0x3ca319[_0x11a346(0x26d)](setAccessibilityCapabilities,_0x4acdb3['config']);const _0x14b618={},_0x42a444=[],_0x4aa91c=_0x4acdb3[_0x11a346(0x246)]['parallelsPerPlatform']||helper[_0x11a346(0x25a)](_0x41ebbb,_0x1ae8fc,_0x4acdb3[_0x11a346(0x246)],constants[_0x11a346(0x243)][_0x11a346(0x211)])||0x1;let _0x49704c=0x1;if(_0x3ca319[_0x11a346(0x262)](isBrowserstackInfra)){const _0x2d1fbf=helper['prepareCapabilities'](_0x4acdb3[_0x11a346(0x246)],_0x134712,constants[_0x11a346(0x243)][_0x11a346(0x211)]);_0x2d1fbf[_0x11a346(0x239)](_0x12af62=>{const _0x542dd7=_0x11a346;helper[_0x542dd7(0x1f4)](_0x12af62);}),helper[_0x11a346(0x261)](_0x4acdb3[_0x11a346(0x246)])?_0x49704c=_0x3ca319[_0x11a346(0x24c)](_0x4aa91c,_0x4acdb3['config'][_0x11a346(0x264)][_0x11a346(0x25d)]):_0x49704c=_0x4aa91c,_0x2d1fbf[_0x11a346(0x239)](_0x467eed=>{const _0x26e53c=_0x11a346,_0x585ce7=_0x3ca319['HwdVX'](helper[_0x26e53c(0x224)](_0x467eed,'_'),'_'+Date[_0x26e53c(0x23c)]()),_0x58a28d=((()=>{const _0x22d107=_0x26e53c;if(_0x4c57f0){const _0x487626=pwToCodeceptBrowser[_0x467eed['browserName']]||_0x467eed[_0x22d107(0x289)],_0x3d00a4=helper[_0x22d107(0x22f)](_0x4acdb3['config']),_0x4b2440=Object[_0x22d107(0x1fd)]({},_0x467eed);return _0x3ca319[_0x22d107(0x209)](processAccessibilityCaps,_0x4b2440,_0x3d00a4,null),{'browser':_0x487626,[_0x487626]:{'browserWSEndpoint':_0x3ca319[_0x22d107(0x221)](_0x3d00a4,_0x3ca319['PHifT'](encodeURIComponent,JSON['stringify'](_0x4b2440)))}};}const _0x38e5ed={};return _0x38e5ed[_0x22d107(0x28a)]=_0x467eed,_0x38e5ed['user']=_0x4acdb3[_0x22d107(0x246)][_0x22d107(0x233)],_0x38e5ed[_0x22d107(0x26a)]=_0x4acdb3[_0x22d107(0x246)]['accessKey'],_0x38e5ed;})()),_0x41832c=_0x3ca319[_0x26e53c(0x269)](nestedKeyValue,_0x319942,[_0x3ca319[_0x26e53c(0x210)],_0x5343fe]);_0x14b618[_0x585ce7]=_0x41832c?helper['mergeDeep'](_0x58a28d,_0x41832c):_0x58a28d;if(_0x4c57f0)_0x14b618[_0x585ce7][_0x26e53c(0x276)]=pwToCodeceptBrowser[_0x467eed[_0x26e53c(0x289)]]||_0x467eed[_0x26e53c(0x289)];else{_0x14b618[_0x585ce7][_0x26e53c(0x276)]=_0x467eed['browserName']||_0x58a28d[_0x26e53c(0x276)];if(_0x3ca319[_0x26e53c(0x252)](isBrowserstackInfra)){_0x14b618[_0x585ce7]['host']=constants['hubUrl'][_0x26e53c(0x22a)](_0x3ca319['UfdPV'],'')[_0x26e53c(0x22a)](/https?:\/\//,'');;_0x14b618[_0x585ce7][_0x26e53c(0x24e)]=_0x3ca319[_0x26e53c(0x217)];}}_0x42a444['push'](_0x585ce7);});}else{_0x49704c=0x1;if(_0x4c57f0){const _0x234337=_0x3ca319[_0x11a346(0x269)](nestedKeyValue,_0x319942,[_0x3ca319[_0x11a346(0x210)],_0x5343fe,_0x3ca319['HNVcG']]),_0x382aa0=_0x3ca319[_0x11a346(0x23a)](nestedKeyValue,_0x319942,[_0x3ca319['MXNeG'],_0x5343fe,_0x234337]);if(_0x382aa0&&_0x382aa0[_0x11a346(0x273)]){const _0x5f41f5={};_0x5f41f5[_0x11a346(0x264)]=[],_0x382aa0['browserWSEndpoint']=helper[_0x11a346(0x240)](Object['assign']({},_0x4acdb3[_0x11a346(0x246)],_0x5f41f5),null,_0x390e7d[_0x11a346(0x245)](),null,null,_0x382aa0[_0x11a346(0x273)]);}}else{const _0x5c6c39={};_0x5c6c39['platforms']=[],_0x319942[_0x3ca319[_0x11a346(0x210)]][_0x5343fe][_0x3ca319[_0x11a346(0x222)]]=helper[_0x11a346(0x240)](Object[_0x11a346(0x1fd)]({},_0x4acdb3['config'],_0x5c6c39),null,_0x390e7d['toLowerCase'](),_0x3ca319['ePAyW'](nestedKeyValue,_0x319942,[_0x3ca319[_0x11a346(0x210)],_0x5343fe,_0x3ca319[_0x11a346(0x222)]])||{},null,null);}_0x14b618[_0x3ca319[_0x11a346(0x1fe)]]=_0x319942,_0x42a444[_0x11a346(0x232)](_0x3ca319[_0x11a346(0x1fe)]);}const _0x2699f1={};_0x2699f1[_0x11a346(0x21f)]=_0x3bd75d;const _0x50bbf5=_0x2699f1,_0x14a8d5=path[_0x11a346(0x284)](__dirname,_0x3ca319[_0x11a346(0x23b)]),_0x40424e=process['cwd']();process[_0x11a346(0x203)][_0x3ca319['DIlCN']]=_0x40424e,process[_0x11a346(0x24b)](path[_0x11a346(0x253)](_0x3bd75d));const _0x24465e=new CodeceptJS['Workers'](null,_0x50bbf5),_0x251b59=_0x24465e[_0x11a346(0x281)](_0x49704c),_0x1e13bf=testOpsHelper['isTestObservabilitySession'](),_0x37798a=_0x42a444[_0x11a346(0x244)](_0x2813e6=>{const _0x9c0aba=_0x11a346,_0x4e1c40={};_0x4e1c40['Playwright']=_0x14b618[_0x2813e6];const _0x26be94={};_0x26be94[_0x9c0aba(0x278)]=_0x14b618[_0x2813e6];const _0x40d193=_0x4c57f0?_0x4e1c40:_0x26be94,_0x27305f=_0x3ca319[_0x9c0aba(0x262)](getO11yRerunPattern),_0x74687={};_0x74687[_0x9c0aba(0x206)]=_0x40d193;const _0x298881={};_0x298881[_0x9c0aba(0x27f)]=_0x14a8d5,_0x298881[_0x9c0aba(0x275)]=!![],_0x298881[_0x9c0aba(0x256)]=_0x4acdb3[_0x9c0aba(0x246)][_0x9c0aba(0x1f6)][_0x9c0aba(0x256)],_0x298881[_0x9c0aba(0x1fb)]=_0x4acdb3['config'][_0x9c0aba(0x1f6)][_0x9c0aba(0x1fb)],_0x298881[_0x9c0aba(0x27d)]=_0x1e13bf,_0x298881[_0x9c0aba(0x200)]=_0x390e7d;const _0x1fd73c={};_0x1fd73c['BrowserStackPlugin']=_0x298881;const _0xf6bdd3={};return _0xf6bdd3[_0x9c0aba(0x287)]=_0x1fd73c,helper[_0x9c0aba(0x27e)]({},_0x319942,_0x3ca319['qfoVU'](isBrowserstackInfra)?_0x74687:{},_0x27305f?{'grep':_0x27305f}:{},_0xf6bdd3);});for(const _0x8ebf59 of _0x37798a){for(const _0x49c82b of _0x251b59){const _0x57ed5b=_0x24465e[_0x11a346(0x277)]();_0x57ed5b[_0x11a346(0x22b)](_0x49c82b),_0x57ed5b[_0x11a346(0x229)](_0x8ebf59);const _0x1c98ae={};_0x1c98ae[_0x11a346(0x246)]=_0x3bd75d,_0x57ed5b[_0x11a346(0x266)](Object[_0x11a346(0x1fd)](_0x1c98ae,_0x41ebbb));}}_0x24465e['on'](CodeceptJS[_0x11a346(0x204)][_0x11a346(0x20c)][_0x11a346(0x213)],(_0x4aca7b,_0x71eb55)=>{const _0x5c49db=_0x11a346;console[_0x5c49db(0x20a)](_0x3ca319['wnGIn'],_0x4aca7b[_0x5c49db(0x1f3)]);const _0x4ab9f2={[_0x4aca7b[_0x5c49db(0x1f3)]]:_0x4aca7b[_0x5c49db(0x1fc)]['stack']};_testErrorData['push'](_0x4ab9f2);}),_0x24465e['on'](CodeceptJS[_0x11a346(0x204)]['test'][_0x11a346(0x21e)],async _0x3f876f=>{const _0x2a1814=_0x11a346;console['log'](_0x3ca319[_0x2a1814(0x20e)],_0x3f876f[_0x2a1814(0x1f3)]);}),_0x24465e['on'](CodeceptJS[_0x11a346(0x204)][_0x11a346(0x20c)][_0x11a346(0x280)],async _0x3b6614=>{const _0x452520=_0x11a346;console[_0x452520(0x20a)](_0x3ca319[_0x452520(0x25e)],_0x3b6614[_0x452520(0x1f3)]);}),_0x24465e['on'](CodeceptJS['event']['all'][_0x11a346(0x250)],async()=>{const _0xb47227=_0x11a346,_0x53ad2e=_0x3ca319['qfGRa']['split']('|');let _0x1ebda9=0x0;while(!![]){switch(_0x53ad2e[_0x1ebda9++]){case'0':try{await TestHubHandler['stop']();}catch(_0x4818be){logger['debug'](_0xb47227(0x263)+util[_0xb47227(0x215)](_0x4818be));}continue;case'1':_0x24465e['printResults']();continue;case'2':_0x4acdb3[_0xb47227(0x22c)]=_testErrorData;continue;case'3':testOpsHelper[_0xb47227(0x23d)]();continue;case'4':utilities['finalExecution'](_0x4acdb3);continue;case'5':PerformanceTester[_0xb47227(0x268)](PerformanceEvents['SDK_CLEANUP']);continue;}break;}});async function _0x2e519d(){const _0x4b0531=_0x11a346;try{await _0x24465e[_0x4b0531(0x226)](),await _0x24465e[_0x4b0531(0x255)]();}finally{process[_0x4b0531(0x24b)](_0x40424e),await _0x24465e[_0x4b0531(0x26c)]();}}PerformanceTester[_0x11a346(0x283)](PerformanceEvents[_0x11a346(0x258)]),_0x3ca319[_0x11a346(0x1ff)](_0x2e519d);}function a2_0x4f94(_0x3a8a93,_0x591bd3){const _0x1ac21c=a2_0x1ac2();return a2_0x4f94=function(_0x4f942b,_0x7989dd){_0x4f942b=_0x4f942b-0x1f3;let _0x26d796=_0x1ac21c[_0x4f942b];return _0x26d796;},a2_0x4f94(_0x3a8a93,_0x591bd3);}module['exports']=run;
@@ -1 +1 @@
1
- const a3_0x2636dd=a3_0x5cb9;(function(_0x5559b7,_0x59e277){const _0x3c7942=a3_0x5cb9,_0x48c31a=_0x5559b7();while(!![]){try{const _0x404bc7=parseInt(_0x3c7942(0x171))/0x1+-parseInt(_0x3c7942(0x15c))/0x2+parseInt(_0x3c7942(0x14c))/0x3+parseInt(_0x3c7942(0x185))/0x4+parseInt(_0x3c7942(0x145))/0x5+parseInt(_0x3c7942(0x147))/0x6*(parseInt(_0x3c7942(0x169))/0x7)+-parseInt(_0x3c7942(0x143))/0x8*(parseInt(_0x3c7942(0x164))/0x9);if(_0x404bc7===_0x59e277)break;else _0x48c31a['push'](_0x48c31a['shift']());}catch(_0x318c58){_0x48c31a['push'](_0x48c31a['shift']());}}}(a3_0xf952,0xa4903));const {isUndefined,nestedKeyValue}=require(a3_0x2636dd(0x188)),logger=require(a3_0x2636dd(0x146))[a3_0x2636dd(0x15e)],PlaywrightSessionDetails=require(a3_0x2636dd(0x177)),{isAccessibilityAutomationSession}=require(a3_0x2636dd(0x141)),{getObservabilityLinkedProductName}=require(a3_0x2636dd(0x18a)),getOSVersionFromCaps=_0x49f3b7=>{const _0x59b3e6=a3_0x2636dd,_0x48e537={};_0x48e537[_0x59b3e6(0x163)]='bstack:options',_0x48e537['JxDrz']=_0x59b3e6(0x166),_0x48e537[_0x59b3e6(0x182)]='platform_version',_0x48e537[_0x59b3e6(0x16d)]=_0x59b3e6(0x162),_0x48e537[_0x59b3e6(0x15a)]=_0x59b3e6(0x150);const _0x22c252=_0x48e537;if(!_0x49f3b7)return null;const _0x2223f8=_0x49f3b7[_0x22c252[_0x59b3e6(0x163)]],_0x4520c5=[_0x22c252[_0x59b3e6(0x15d)],_0x22c252['vnhRS'],_0x22c252[_0x59b3e6(0x16d)],_0x22c252[_0x59b3e6(0x15a)]];for(const _0x54146a of _0x4520c5){if(_0x2223f8&&_0x2223f8[_0x54146a])return _0x2223f8[_0x54146a];else{if(_0x49f3b7[_0x54146a])return _0x49f3b7[_0x54146a];}}return null;};exports[a3_0x2636dd(0x180)]=_0x122b7d=>{const _0x170f36=a3_0x2636dd,_0x301d73={'KHOtR':_0x170f36(0x14f),'Fcvgh':function(_0x3ac819,_0x3069d4){return _0x3ac819===_0x3069d4;},'VtcTM':'WebDriver','cfYKo':function(_0x3624a4,_0x204f37){return _0x3624a4(_0x204f37);},'JNmsA':function(_0x313f3b,_0x39fb74,_0x5b7a55){return _0x313f3b(_0x39fb74,_0x5b7a55);},'vtWsT':_0x170f36(0x154),'uVmxd':_0x170f36(0x144),'xFrxc':function(_0x436769,_0x35e18e){return _0x436769(_0x35e18e);},'dlzof':_0x170f36(0x140),'YXzxY':_0x170f36(0x16b),'tQOVB':_0x170f36(0x13f),'FamZM':_0x170f36(0x174),'JSDQN':function(_0x479ab9,_0x2dceeb){return _0x479ab9(_0x2dceeb);}};if(!_0x122b7d)return null;let _0x29f69f=global['__cloud_provider___']||_0x301d73[_0x170f36(0x152)];if(_0x301d73['Fcvgh'](_0x122b7d[_0x170f36(0x170)][_0x170f36(0x155)],_0x301d73[_0x170f36(0x13c)])){const _0x4862dd=_0x122b7d['browser'];if(!_0x4862dd)return null;const _0x290abd=_0x4862dd[_0x170f36(0x172)],_0x2f824b=_0x301d73['cfYKo'](getOSVersionFromCaps,_0x301d73[_0x170f36(0x18b)](nestedKeyValue,_0x122b7d,[_0x301d73['vtWsT'],_0x301d73[_0x170f36(0x186)]]));return{[_0x29f69f]:{'browser':_0x290abd['browserName'],'browser_version':_0x290abd[_0x170f36(0x189)],'capabilities':_0x290abd,'platform':_0x290abd[_0x170f36(0x15f)],'platform_version':_0x290abd['platformVersion']||_0x2f824b,'product':_0x301d73[_0x170f36(0x13b)](getObservabilityLinkedProductName,_0x290abd),'session_id':_0x4862dd[_0x170f36(0x165)]}};}else{if(_0x301d73[_0x170f36(0x157)](_0x122b7d[_0x170f36(0x170)][_0x170f36(0x155)],_0x301d73[_0x170f36(0x176)])){const _0x124673=PlaywrightSessionDetails[_0x170f36(0x184)]();_0x29f69f=_0x124673[_0x170f36(0x13e)]||_0x29f69f;const _0x2c9da9=_0x301d73['JNmsA'](nestedKeyValue,_0x122b7d,[_0x301d73[_0x170f36(0x179)],_0x301d73[_0x170f36(0x17e)],_0x301d73[_0x170f36(0x16f)]]),_0x4db732=_0x2c9da9?JSON['parse'](new URL(_0x2c9da9)[_0x170f36(0x175)]['get'](_0x301d73['FamZM'])):{};return{[_0x29f69f]:{'browser':_0x124673['browser']||_0x4db732['browserName'],'browser_version':_0x124673[_0x170f36(0x17b)]||_0x4db732['browser_version'],'capabilities':_0x4db732,'platform':_0x124673[_0x170f36(0x160)],'platform_version':_0x124673[_0x170f36(0x149)],'product':_0x301d73[_0x170f36(0x14e)](getObservabilityLinkedProductName,_0x4db732),'session_id':_0x124673[_0x170f36(0x17f)]}};}}},exports[a3_0x2636dd(0x161)]=_0xe5a7e3=>{const _0x241d50=a3_0x2636dd,_0x4c8a78={'DRkvv':function(_0x2446ae){return _0x2446ae();},'SsLGB':function(_0x2bc716,_0x2647a2){return _0x2bc716===_0x2647a2;},'WCQWe':_0x241d50(0x14a),'fGKaQ':function(_0x5b28dd,_0xfab9cd){return _0x5b28dd>_0xfab9cd;},'tGHJj':function(_0x2d70e8,_0x46ee4e){return _0x2d70e8(_0x46ee4e);},'LMNWm':_0x241d50(0x187),'jCIrA':function(_0x3c9a66,_0x39ad2d){return _0x3c9a66===_0x39ad2d;},'sFRos':_0x241d50(0x15b),'rNDUu':function(_0x4c53e2,_0x4b5cf8){return _0x4c53e2===_0x4b5cf8;},'XgKgK':_0x241d50(0x14d),'makke':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','EkKcU':_0x241d50(0x178)};if(_0x4c8a78[_0x241d50(0x183)](isAccessibilityAutomationSession)){const _0x18ddf5=_0xe5a7e3[_0x241d50(0x16b)],_0xa6a180=_0x18ddf5[_0x241d50(0x172)];global[_0x241d50(0x156)]=!![],!(_0x4c8a78['SsLGB'](_0xa6a180['browserVersion'],_0x4c8a78[_0x241d50(0x13d)])||_0x4c8a78[_0x241d50(0x16c)](_0x4c8a78[_0x241d50(0x13a)](parseInt,_0xa6a180[_0x241d50(0x189)]),0x5e))&&(logger['warn'](_0x4c8a78['LMNWm']),global[_0x241d50(0x156)]=![]),!(_0x4c8a78[_0x241d50(0x173)](_0xa6a180[_0x241d50(0x16e)],_0x4c8a78[_0x241d50(0x17c)])||_0x4c8a78['rNDUu'](_0xa6a180[_0x241d50(0x16e)],_0x4c8a78[_0x241d50(0x151)]))&&(logger['warn'](_0x4c8a78[_0x241d50(0x142)]),global['accessibilityPlatform']=![]),!_0x4c8a78[_0x241d50(0x13a)](isUndefined,_0xa6a180[_0x241d50(0x148)])&&(logger[_0x241d50(0x181)](_0x4c8a78[_0x241d50(0x16a)]),global[_0x241d50(0x156)]=![]);}},exports[a3_0x2636dd(0x14b)]=_0x50e1df=>{const _0x3e2def=a3_0x2636dd,_0x422c7c={};_0x422c7c['NWuyS']=function(_0x42d93b,_0x10bdac){return _0x42d93b!==_0x10bdac;},_0x422c7c[_0x3e2def(0x159)]=_0x3e2def(0x17d),_0x422c7c[_0x3e2def(0x158)]='browserstack_executor',_0x422c7c[_0x3e2def(0x17a)]=_0x3e2def(0x153);const _0x32fd41=_0x422c7c;if(!_0x50e1df)return![];else{if(_0x32fd41[_0x3e2def(0x168)](typeof _0x50e1df,_0x32fd41[_0x3e2def(0x159)]))return!![];}return!_0x50e1df['includes'](_0x32fd41['UAGYz'])&&!_0x50e1df[_0x3e2def(0x167)](_0x32fd41['AOHuI']);};function a3_0x5cb9(_0xb2de55,_0x2a5ce1){const _0xf9521c=a3_0xf952();return a3_0x5cb9=function(_0x5cb90e,_0x29a4a3){_0x5cb90e=_0x5cb90e-0x13a;let _0x1827f3=_0xf9521c[_0x5cb90e];return _0x1827f3;},a3_0x5cb9(_0xb2de55,_0x2a5ce1);}function a3_0xf952(){const _0x1597f7=['11226008AgqQoe','desiredCapabilities','899620vyJeyH','../../helpers/logger','36DfdWWu','deviceName','platform_version','latest','shouldPatchExecuteScript','339120pqojdm','playwright-chromium','JSDQN','unknown_grid','os_version','XgKgK','KHOtR','browserstack_accessibility_automation_script','config','name','accessibilityPlatform','Fcvgh','UAGYz','blMEE','CaUFY','chrome','1961794kOOsmK','JxDrz','winstonLogger','platformName','platform','processWebDriverConfig','osVersion','aucIL','9bJelWl','sessionId','platformVersion','includes','NWuyS','372211VHGBpr','EkKcU','browser','fGKaQ','Hfnag','browserName','tQOVB','constructor','1344884dtovvp','capabilities','jCIrA','caps','searchParams','dlzof','../../bin/playwright/sessionDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','vtWsT','AOHuI','browser_version','sFRos','string','YXzxY','bsSessionId','fetchPlatformDetails','warn','vnhRS','DRkvv','getDetails','4405252uYDuyt','uVmxd','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','../../helpers/helper','browserVersion','../../helpers/test-observability/utils','JNmsA','tGHJj','xFrxc','VtcTM','WCQWe','cloudProvider','browserWSEndpoint','Playwright','../../helpers/accessibility-automation/helper','makke'];a3_0xf952=function(){return _0x1597f7;};return a3_0xf952();}
1
+ const a3_0x57486c=a3_0x5448;(function(_0x3cfd2c,_0x1c002d){const _0x3152d4=a3_0x5448,_0x1638b9=_0x3cfd2c();while(!![]){try{const _0x5cd32c=parseInt(_0x3152d4(0xdf))/0x1+-parseInt(_0x3152d4(0xb9))/0x2*(parseInt(_0x3152d4(0xc7))/0x3)+parseInt(_0x3152d4(0xc4))/0x4+parseInt(_0x3152d4(0x9e))/0x5+-parseInt(_0x3152d4(0xcb))/0x6+parseInt(_0x3152d4(0xca))/0x7*(-parseInt(_0x3152d4(0xc5))/0x8)+parseInt(_0x3152d4(0xce))/0x9;if(_0x5cd32c===_0x1c002d)break;else _0x1638b9['push'](_0x1638b9['shift']());}catch(_0x2b8836){_0x1638b9['push'](_0x1638b9['shift']());}}}(a3_0x4529,0x8c64d));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a3_0x57486c(0xb1)],PlaywrightSessionDetails=require(a3_0x57486c(0xd5)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x57486c(0xd4)),getOSVersionFromCaps=_0x1ed88c=>{const _0x116f4c=a3_0x57486c,_0x3b1503={};_0x3b1503[_0x116f4c(0xc1)]='bstack:options',_0x3b1503['fJmiK']=_0x116f4c(0xbd),_0x3b1503[_0x116f4c(0xe0)]=_0x116f4c(0xcd),_0x3b1503[_0x116f4c(0xb4)]='osVersion',_0x3b1503[_0x116f4c(0xd6)]=_0x116f4c(0xb7);const _0x36d049=_0x3b1503;if(!_0x1ed88c)return null;const _0x1c7c38=_0x1ed88c[_0x36d049['daXMY']],_0x1ff076=[_0x36d049[_0x116f4c(0xdc)],_0x36d049[_0x116f4c(0xe0)],_0x36d049['exFjG'],_0x36d049[_0x116f4c(0xd6)]];for(const _0x44632e of _0x1ff076){if(_0x1c7c38&&_0x1c7c38[_0x44632e])return _0x1c7c38[_0x44632e];else{if(_0x1ed88c[_0x44632e])return _0x1ed88c[_0x44632e];}}return null;};exports[a3_0x57486c(0xc8)]=_0xda6c7b=>{const _0x318f80=a3_0x57486c,_0x27bfed={'pHtXE':_0x318f80(0xd8),'zkxqf':function(_0x2eefe7,_0x53b9f4){return _0x2eefe7===_0x53b9f4;},'AgPTm':'WebDriver','NXShd':function(_0x30140f,_0x588538){return _0x30140f(_0x588538);},'IhRhn':function(_0xb69014,_0x43d5d2,_0x52c9cb){return _0xb69014(_0x43d5d2,_0x52c9cb);},'UzFhD':_0x318f80(0xda),'eViEt':'desiredCapabilities','WraZv':function(_0x2ef3dc,_0x1dbe19){return _0x2ef3dc(_0x1dbe19);},'pEeQS':_0x318f80(0xa7),'syfqO':function(_0x5e3add,_0x2d2330,_0x3e2f24){return _0x5e3add(_0x2d2330,_0x3e2f24);},'lBmbO':_0x318f80(0xa5),'lrpYy':'browserWSEndpoint','XWJBN':_0x318f80(0xcf)};if(!_0xda6c7b)return null;let _0x5afe2a=global[_0x318f80(0xa9)]||_0x27bfed[_0x318f80(0xad)];if(_0x27bfed['zkxqf'](_0xda6c7b[_0x318f80(0xa1)][_0x318f80(0x9b)],_0x27bfed['AgPTm'])){const _0x4beac1=_0xda6c7b[_0x318f80(0xa5)];if(!_0x4beac1)return null;const _0x48a1a5=_0x4beac1[_0x318f80(0xab)],_0x51eca4=_0x27bfed[_0x318f80(0xbe)](getOSVersionFromCaps,_0x27bfed['IhRhn'](nestedKeyValue,_0xda6c7b,[_0x27bfed[_0x318f80(0xbc)],_0x27bfed[_0x318f80(0xaa)]]));return{[_0x5afe2a]:{'browser':_0x48a1a5[_0x318f80(0xc9)],'browser_version':_0x48a1a5[_0x318f80(0xae)],'capabilities':_0x48a1a5,'platform':_0x48a1a5[_0x318f80(0xcc)],'platform_version':_0x48a1a5[_0x318f80(0xbd)]||_0x51eca4,'product':_0x27bfed[_0x318f80(0xb2)](getObservabilityLinkedProductName,_0x48a1a5),'session_id':_0x4beac1[_0x318f80(0xa4)]}};}else{if(_0x27bfed[_0x318f80(0xd3)](_0xda6c7b[_0x318f80(0xa1)][_0x318f80(0x9b)],_0x27bfed[_0x318f80(0x9d)])){const _0xfb51ee=PlaywrightSessionDetails[_0x318f80(0x9f)]();_0x5afe2a=_0xfb51ee['cloudProvider']||_0x5afe2a;const _0x171e37=_0x27bfed[_0x318f80(0xd7)](nestedKeyValue,_0xda6c7b,[_0x27bfed[_0x318f80(0xbc)],_0x27bfed[_0x318f80(0xd1)],_0x27bfed[_0x318f80(0x9c)]]),_0x5db4ab=_0x171e37?JSON[_0x318f80(0xd0)](new URL(_0x171e37)[_0x318f80(0xdd)]['get'](_0x27bfed['XWJBN'])):{};return{[_0x5afe2a]:{'browser':_0xfb51ee[_0x318f80(0xa5)]||_0x5db4ab['browserName'],'browser_version':_0xfb51ee[_0x318f80(0xde)]||_0x5db4ab[_0x318f80(0xde)],'capabilities':_0x5db4ab,'platform':_0xfb51ee[_0x318f80(0xaf)],'platform_version':_0xfb51ee[_0x318f80(0xcd)],'product':_0x27bfed['NXShd'](getObservabilityLinkedProductName,_0x5db4ab),'session_id':_0xfb51ee[_0x318f80(0xa8)]}};}}},exports[a3_0x57486c(0xc3)]=_0x48cfd6=>{const _0xe8ce25=a3_0x57486c,_0x4ed91b={'limpD':function(_0x4342c8){return _0x4342c8();},'jmyaR':function(_0x583076,_0x33e7a5){return _0x583076===_0x33e7a5;},'wiICr':'latest','sNSDA':function(_0x3ca654,_0x323614){return _0x3ca654>_0x323614;},'zuUJu':function(_0x349452,_0x260ba1){return _0x349452(_0x260ba1);},'xWWYm':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','dNslG':_0xe8ce25(0xa0),'XgRDq':'playwright-chromium','fXnHR':_0xe8ce25(0xb0),'YsIAJ':_0xe8ce25(0xb6)};if(_0x4ed91b['limpD'](isAccessibilityAutomationSession)){const _0x1716c6=_0x48cfd6[_0xe8ce25(0xa5)],_0x5eca3d=_0x1716c6[_0xe8ce25(0xab)];global[_0xe8ce25(0xb8)]=!![],!(_0x4ed91b['jmyaR'](_0x5eca3d[_0xe8ce25(0xae)],_0x4ed91b['wiICr'])||_0x4ed91b['sNSDA'](_0x4ed91b[_0xe8ce25(0x9a)](parseInt,_0x5eca3d[_0xe8ce25(0xae)]),0x5e))&&(logger[_0xe8ce25(0xb5)](_0x4ed91b[_0xe8ce25(0xb3)]),global['accessibilityPlatform']=![]),!(_0x4ed91b['jmyaR'](_0x5eca3d[_0xe8ce25(0xc9)],_0x4ed91b[_0xe8ce25(0xa6)])||_0x4ed91b[_0xe8ce25(0xc6)](_0x5eca3d[_0xe8ce25(0xc9)],_0x4ed91b[_0xe8ce25(0xa2)]))&&(logger['warn'](_0x4ed91b[_0xe8ce25(0xdb)]),global[_0xe8ce25(0xb8)]=![]),!_0x4ed91b[_0xe8ce25(0x9a)](isUndefined,_0x5eca3d[_0xe8ce25(0xba)])&&(logger[_0xe8ce25(0xb5)](_0x4ed91b[_0xe8ce25(0xac)]),global['accessibilityPlatform']=![]);}},exports[a3_0x57486c(0xc2)]=_0x2f8e0f=>{const _0x3a9442=a3_0x57486c,_0x34ba20={};_0x34ba20['pjLXU']=function(_0xffb238,_0x4f04b9){return _0xffb238!==_0x4f04b9;},_0x34ba20[_0x3a9442(0xd9)]=_0x3a9442(0xe1),_0x34ba20[_0x3a9442(0xbf)]='browserstack_executor',_0x34ba20[_0x3a9442(0xd2)]=_0x3a9442(0xa3);const _0x5ac215=_0x34ba20;if(!_0x2f8e0f)return![];else{if(_0x5ac215[_0x3a9442(0xc0)](typeof _0x2f8e0f,_0x5ac215['LjrwM']))return!![];}return!_0x2f8e0f[_0x3a9442(0xbb)](_0x5ac215[_0x3a9442(0xbf)])&&!_0x2f8e0f[_0x3a9442(0xbb)](_0x5ac215[_0x3a9442(0xd2)]);};function a3_0x5448(_0x1d808f,_0x59f599){const _0x452908=a3_0x4529();return a3_0x5448=function(_0x5448ba,_0x53adfe){_0x5448ba=_0x5448ba-0x9a;let _0x1b9434=_0x452908[_0x5448ba];return _0x1b9434;},a3_0x5448(_0x1d808f,_0x59f599);}function a3_0x4529(){const _0x1cdd75=['WraZv','xWWYm','exFjG','warn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','os_version','accessibilityPlatform','38dtCgXd','deviceName','includes','UzFhD','platformVersion','NXShd','jWWyS','pjLXU','daXMY','shouldPatchExecuteScript','processWebDriverConfig','4249160BFcVii','496yBbKSN','jmyaR','142974kknxpR','fetchPlatformDetails','browserName','100863vssIuG','5303106UpWKJv','platformName','platform_version','12626469ricrCG','caps','parse','lBmbO','ZtdRM','zkxqf','../../helpers/test-observability/utils','../../bin/playwright/sessionDetails','WdCBD','syfqO','unknown_grid','LjrwM','config','fXnHR','fJmiK','searchParams','browser_version','175560WWzDOV','yJBqS','string','zuUJu','name','lrpYy','pEeQS','3084865cjAnHv','getDetails','chrome','constructor','XgRDq','browserstack_accessibility_automation_script','sessionId','browser','dNslG','Playwright','bsSessionId','__cloud_provider___','eViEt','capabilities','YsIAJ','pHtXE','browserVersion','platform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','winstonLogger'];a3_0x4529=function(){return _0x1cdd75;};return a3_0x4529();}
@@ -1 +1 @@
1
- function a4_0x37e4(_0x4e5bcc,_0xaf7fe3){const _0x41eae4=a4_0x41ea();return a4_0x37e4=function(_0x37e4cc,_0x2449a9){_0x37e4cc=_0x37e4cc-0x177;let _0x238206=_0x41eae4[_0x37e4cc];return _0x238206;},a4_0x37e4(_0x4e5bcc,_0xaf7fe3);}const a4_0x249053=a4_0x37e4;(function(_0x9028f,_0x3fa568){const _0x59ede1=a4_0x37e4,_0x1e52ff=_0x9028f();while(!![]){try{const _0xeea404=parseInt(_0x59ede1(0x268))/0x1*(parseInt(_0x59ede1(0x217))/0x2)+-parseInt(_0x59ede1(0x1cb))/0x3*(-parseInt(_0x59ede1(0x235))/0x4)+-parseInt(_0x59ede1(0x19e))/0x5+-parseInt(_0x59ede1(0x204))/0x6+-parseInt(_0x59ede1(0x254))/0x7+parseInt(_0x59ede1(0x245))/0x8*(parseInt(_0x59ede1(0x1ce))/0x9)+-parseInt(_0x59ede1(0x23b))/0xa*(-parseInt(_0x59ede1(0x1a6))/0xb);if(_0xeea404===_0x3fa568)break;else _0x1e52ff['push'](_0x1e52ff['shift']());}catch(_0xf3c4b1){_0x1e52ff['push'](_0x1e52ff['shift']());}}}(a4_0x41ea,0x802ad));const path=require(a4_0x249053(0x20f)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x249053(0x1ee)),testOpsHelper=require(a4_0x249053(0x1c3)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x249053(0x18b)),logger=require(a4_0x249053(0x190))[a4_0x249053(0x22c)],SessionHandler=require(a4_0x249053(0x1de)),RequestQueueHandler=require(a4_0x249053(0x19c)),PlaywrightSessionDetails=require(a4_0x249053(0x250)),debug=testOpsHelper[a4_0x249053(0x1b0)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x249053(0x1f5)),{fetchPlatformDetails}=require(a4_0x249053(0x25d)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a4_0x249053(0x1f5)),STATE_PASSED=a4_0x249053(0x186),STATE_FAILED='failed',a4_0x284ee0={};a4_0x284ee0[a4_0x249053(0x1f4)]='TestRunStarted',a4_0x284ee0[a4_0x249053(0x200)]=a4_0x249053(0x249),a4_0x284ee0[a4_0x249053(0x201)]=a4_0x249053(0x246),a4_0x284ee0['HOOK_RUN_STARTED']=a4_0x249053(0x187),a4_0x284ee0[a4_0x249053(0x248)]=a4_0x249053(0x25a);const TEST_EVENTS=a4_0x284ee0,parseEvent=_0x3beed9=>{const _0x2f2a3f=a4_0x249053,_0x5343d9={};_0x5343d9['VQfCH']=function(_0x412e41,_0x110a36){return _0x412e41<_0x110a36;},_0x5343d9[_0x2f2a3f(0x178)]=function(_0x18d0da,_0x296ec7){return _0x18d0da===_0x296ec7;},_0x5343d9['xZxAO']=_0x2f2a3f(0x241),_0x5343d9[_0x2f2a3f(0x1c9)]=_0x2f2a3f(0x182),_0x5343d9[_0x2f2a3f(0x260)]=_0x2f2a3f(0x1d0),_0x5343d9['IKILs']=_0x2f2a3f(0x257),_0x5343d9[_0x2f2a3f(0x270)]=function(_0x11eaae,_0x2f4c76){return _0x11eaae===_0x2f4c76;},_0x5343d9[_0x2f2a3f(0x1e6)]='finished';const _0xb6d7c8=_0x5343d9,_0x13ae97=_0x3beed9['match'](/^(.*)Run(.*)$/);if(!_0x13ae97)return null;if(_0xb6d7c8[_0x2f2a3f(0x1f9)](_0x13ae97['length'],0x3))return null;const _0x1b738e=_0x13ae97[0x1][_0x2f2a3f(0x267)](),_0x3249e4=_0x13ae97[0x2][_0x2f2a3f(0x267)]();return{'test':_0xb6d7c8['cIFzi'](_0x1b738e,_0xb6d7c8[_0x2f2a3f(0x272)]),'hook':_0xb6d7c8[_0x2f2a3f(0x178)](_0x1b738e,_0xb6d7c8[_0x2f2a3f(0x1c9)]),'skipped':_0xb6d7c8[_0x2f2a3f(0x178)](_0x3249e4,_0xb6d7c8[_0x2f2a3f(0x260)]),'started':_0xb6d7c8[_0x2f2a3f(0x178)](_0x3249e4,_0xb6d7c8[_0x2f2a3f(0x21f)]),'finished':_0xb6d7c8[_0x2f2a3f(0x270)](_0x3249e4,_0xb6d7c8['fGMdt'])};},mockPWBrowserType=_0x1f3869=>{const _0x5c122f=a4_0x249053,_0x1fc30e={'oilqH':function(_0x19a67b,_0x36b669){return _0x19a67b===_0x36b669;},'hGdla':_0x5c122f(0x26b),'gBSsZ':function(_0x312e79,_0x3186ee,_0x4dcd70){return _0x312e79(_0x3186ee,_0x4dcd70);},'KpgBq':'wsEndpoint','gODvU':function(_0x5205a6,_0x208062){return _0x5205a6(_0x208062);},'ukcby':_0x5c122f(0x26d),'mqhfm':function(_0x181898,_0x37cf0c,_0x37374b){return _0x181898(_0x37cf0c,_0x37374b);},'MgTyZ':function(_0x3c6756,_0x318f7f){return _0x3c6756(_0x318f7f);},'ryRBw':_0x5c122f(0x1a5),'WscmT':_0x5c122f(0x209),'ryhJI':'browserType.js','xfKAi':function(_0x271ecb,_0x272d79){return _0x271ecb(_0x272d79);},'YCopd':function(_0x32f032,_0x3976a0){return _0x32f032(_0x3976a0);},'sXpzu':_0x5c122f(0x1ea),'xQuUe':_0x5c122f(0x17b),'Voiev':_0x5c122f(0x1d5)},_0x2429ec=path['join'](_0x1fc30e[_0x5c122f(0x1eb)],_0x1fc30e[_0x5c122f(0x17f)],_0x1fc30e['ryhJI']),_0x15488=_0x1fc30e[_0x5c122f(0x1a4)](importFileFromPWCore,_0x2429ec);if(!_0x15488){_0x1fc30e[_0x5c122f(0x1d3)](debug,_0x1fc30e[_0x5c122f(0x199)]);return;}const _0x5c0cf7=_0x15488['BrowserType'],_0x235497=_0x5c0cf7[_0x5c122f(0x1ad)];if(_0x235497[_0x5c122f(0x25e)])return;const _0x51c65f=_0x235497['connect'];Object[_0x5c122f(0x1a1)](_0x235497,_0x1fc30e[_0x5c122f(0x240)],{'get':function(){return async function _0x102f8e(_0x4afdba,_0x35c258){const _0x2299d6=a4_0x37e4,_0x5d656e={'GKDug':function(_0x568adf,_0x4871b5){const _0x31e0f=a4_0x37e4;return _0x1fc30e[_0x31e0f(0x253)](_0x568adf,_0x4871b5);},'QZRno':_0x1fc30e[_0x2299d6(0x23e)]},_0x2a3c85=_0x1fc30e[_0x2299d6(0x19a)](nestedKeyValue,_0x4afdba,[_0x1fc30e[_0x2299d6(0x218)]])||_0x4afdba;let _0x1087ea=null,_0x2737ee=null;try{[_0x2737ee,_0x1087ea]=_0x2a3c85?_0x1fc30e[_0x2299d6(0x1f1)](parseWSEndpoint,_0x2a3c85):[null,null],global['__platformCaps']=_0x1087ea,logger[_0x2299d6(0x1b0)](_0x2299d6(0x1fa)+_0x2737ee),_0x2737ee[_0x2299d6(0x230)](Constants[_0x2299d6(0x1ec)])&&(global[_0x2299d6(0x1e4)]=_0x1fc30e['ukcby']);}catch(_0x18ecea){logger[_0x2299d6(0x1b0)](_0x2299d6(0x1f3)+_0x2a3c85+'\x20'+_0x18ecea);}_0x1fc30e[_0x2299d6(0x239)](processAccessibilityCaps,_0x1087ea,_0x2737ee);if(global['accessibilityPlatform']){const _0x2cc23a=await _0x235497[_0x2299d6(0x255)][_0x2299d6(0x1c6)](this,[''+Constants[_0x2299d6(0x1b1)]+_0x1fc30e['MgTyZ'](encodeURIComponent,JSON[_0x2299d6(0x21e)](_0x1087ea))]);return PlaywrightSessionDetails[_0x2299d6(0x263)](_0x2cc23a,_0x1f3869,_0x2a3c85),_0x2cc23a;}return _0x51c65f['apply'](this,arguments)[_0x2299d6(0x24a)](_0x36e9c9=>{const _0x51239a=_0x2299d6;let _0xe35965=_0x4afdba[_0x51239a(0x222)];return _0x5d656e[_0x51239a(0x23d)](typeof _0x4afdba,_0x5d656e[_0x51239a(0x224)])&&(_0xe35965=_0x4afdba),PlaywrightSessionDetails[_0x51239a(0x263)](_0x36e9c9,_0x1f3869,_0xe35965),_0x36e9c9;});};}});const _0x15eda4=_0x235497[_0x5c122f(0x1d5)];Object['defineProperty'](_0x235497,_0x1fc30e[_0x5c122f(0x24d)],{'get':function(){return async function _0x2af41e(){const _0x5e6472=a4_0x37e4;return _0x15eda4[_0x5e6472(0x1c6)](this,arguments)[_0x5e6472(0x24a)](_0x33840c=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x33840c,null),_0x33840c;});};}});};function a4_0x41ea(){const _0x4c8e56=['launch','getCBTInfo','backtrace','cWOiD','bs:addLog:','currentHook','hook_run_uuid','file_name','fullTitle','../../helpers/test-observability/sessionHandler','rooea','uuid','getFailureType','ShEZL','oYVwb','__cloud_provider___','DXQtK','fGMdt','getRootParentFile','stepAnalyticsId','success','Not\x20able\x20to\x20import\x20Browser','ryRBw','BROWSERSTACK','bind','../../helpers/helper','fireEvent','COVru','gODvU','find','Failed\x20to\x20parse\x20wsendpoint\x20','TEST_RUN_STARTED','../utils/constants','wldBF','_beforeAll','toString','VQfCH','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','duration','patchConsoleLogger','STATE_PASSED','EEYEW','codeceptjs','TEST_RUN_FINISHED','TEST_RUN_SKIPPED','failure_backtrace','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','5085870ARRMnk','iEAaY','GoupP','_paths','hook_type','client','vyYHV','errorsDetailed','getHooksForTest','retryOf','dVCji','path','bddStepStart','File\x20path\x20could\x20not\x20be\x20found','text','failed','getHierarchy','match','shutdown','23998gbwjGf','KpgBq','_beforeEach','Nrjni','bFMJZ','Playwright','meta','stringify','IKILs','TewWv','elZZf','wsEndpoint','parent','QZRno','getInstance','test_run_uuid','pending','logs','toUpperCase','comment','javascript','winstonLogger','relative','_afterEach','pstAr','includes','now','qKWAC','PathHelper','eAWJh','3952008cwtDOk','lqceT','IyfBG','failureData','mqhfm','status','109030DkbLWQ','findGitConfig','GKDug','hGdla','HXyNc','xQuUe','test','event_type','.git','start','36488CasnsI','TestRunSkipped','body','HOOK_RUN_FINISHED','TestRunFinished','then','JVkrR','currentTest','Voiev','O11yHelper','YRHCr','../playwright/sessionDetails','HVLvt','file','oilqH','5886580IuZOsM','connectOverCDP','pZBag','started','initializeBddStep','suites','HookRunFinished','CODECEPT','ctx','./helper.js','obsBrowserTypeMockApplied','WiazQ','mpcJv','appendTestItemLog','forEach','setupBrowserDetails','bddSteps','inspect','failure','toLowerCase','58RlXiZr','sep','uInEk','string','dirname','browserstack','stop','IGcGt','gGnUW','captureEvent','xZxAO','markedStatus','ldDtF','gnPbO','cIFzi','eAxJl','driver','connect','err','KPTGz','jYEuh','WscmT','Uugfl','toISOString','hook','test_run','length','mapTestHooks','passed','HookRunStarted','SgazO','dcTRu','type','../../helpers/test-observability/constants','Avopu','result','GwvyP','resetSkipTestHooks','../../helpers/logger','rRykS','testAnalyticsId','enabled','startedAt','fTZVt','message','cwd','push','sXpzu','gBSsZ','exports','../../helpers/test-observability/requestQueueHandler','failed\x20to\x20get\x20root\x20parent\x20file\x20','142185vxpCnU','constructor','TEST_REPORTING_ANALYTICS','defineProperty','ZWpqp','\x20with\x20error\x20:\x20','xfKAi','lib','517ICqswX','hookAnalyticsId','rcugL','gujgW','finished','tags','lnoll','prototype','getHookType','_afterAll','debug','PLAYWRIGHT_HUB_URL','CBTSessionCreated','keyword','split','EdtuC','_testEnv','JkOXQ','BCbPK','mIfQO','pid','qrwrz','name','removeAllListeners','hALGf','integrations','failure_reason_expanded','VRixV','concat','../../helpers/test-observability/utils','LogCreated','iuaXv','apply','getTime','uploadEventData','NVrlw','isMdQ','3DGftMU','finished_at','title','90GNZiih','frameworkName','skipped','AHxmC','xlltp','YCopd','ohOqa'];a4_0x41ea=function(){return _0x4c8e56;};return a4_0x41ea();}class O11yHelper{['currentTest']=null;['currentHook']=null;[a4_0x249053(0x193)]=![];[a4_0x249053(0x1cf)]=![];constructor(_0x2d4278,_0x11b03f){const _0x486357=a4_0x249053,_0x303614={'pZBag':'2|3|4|0|5|1','fTZVt':function(_0x285dfd){return _0x285dfd();},'HVLvt':function(_0x425278,_0x56e395){return _0x425278===_0x56e395;},'TewWv':_0x486357(0x21c),'qKWAC':function(_0x1737aa,_0x17e4e2){return _0x1737aa(_0x17e4e2);},'IyfBG':function(_0x5de527){return _0x5de527();}},_0x25cd8c=_0x303614[_0x486357(0x256)][_0x486357(0x1b4)]('|');let _0x26b024=0x0;while(!![]){switch(_0x25cd8c[_0x26b024++]){case'0':this[_0x486357(0x1b6)]=_0x303614[_0x486357(0x195)](getTestEnv);continue;case'1':this['driver']&&_0x303614[_0x486357(0x251)](this[_0x486357(0x17a)][_0x486357(0x19f)][_0x486357(0x1bc)],_0x303614[_0x486357(0x220)])&&_0x303614[_0x486357(0x232)](mockPWBrowserType,null);continue;case'2':this[_0x486357(0x193)]=_0x303614[_0x486357(0x237)](shouldProcessEventForTesthub);continue;case'3':this[_0x486357(0x1cf)]=_0x11b03f[_0x486357(0x1cf)];continue;case'4':this['driver']=_0x2d4278;continue;case'5':this[_0x486357(0x207)]=new testOpsHelper[(_0x486357(0x233))]({'cwd':process[_0x486357(0x197)]()},this['_testEnv']['location_prefix']);continue;}break;}}[a4_0x249053(0x244)](){const _0x3d0417=a4_0x249053;if(!this['enabled'])return;testOpsHelper[_0x3d0417(0x1fc)](),process[_0x3d0417(0x1bd)](_0x3d0417(0x1d9)+process[_0x3d0417(0x1ba)]),process['on'](_0x3d0417(0x1d9)+process[_0x3d0417(0x1ba)],this[_0x3d0417(0x261)][_0x3d0417(0x1ed)](this));}async[a4_0x249053(0x26e)](){const _0x470e50=a4_0x249053;await RequestQueueHandler[_0x470e50(0x225)]()[_0x470e50(0x216)]();}async[a4_0x249053(0x261)](_0xa7cb86){const _0xe33c84=a4_0x249053,_0x269ee0={'hALGf':_0xe33c84(0x1c4),'lleMt':function(_0x3b1496,_0x295c20){return _0x3b1496(_0x295c20);}};try{this[_0xe33c84(0x1da)]&&!this[_0xe33c84(0x1da)][_0xe33c84(0x273)]&&(_0xa7cb86['hook_run_uuid']=this[_0xe33c84(0x1da)][_0xe33c84(0x1a7)]);!_0xa7cb86['hook_run_uuid']&&this['currentTest']&&!this[_0xe33c84(0x24c)][_0xe33c84(0x273)]&&(_0xa7cb86[_0xe33c84(0x226)]=this['currentTest']['testAnalyticsId']);if(_0xa7cb86[_0xe33c84(0x1db)]||_0xa7cb86[_0xe33c84(0x226)]){const _0x10f747={};_0x10f747['event_type']=_0x269ee0[_0xe33c84(0x1be)],_0x10f747[_0xe33c84(0x228)]=[_0xa7cb86],await SessionHandler[_0xe33c84(0x1c8)](_0x10f747);}}catch(_0xa779ef){_0x269ee0['lleMt'](debug,_0xe33c84(0x203)+constants[_0xe33c84(0x1a0)]+_0xe33c84(0x1a3)+_0xa779ef);}}async['sendCBTInfo'](_0x54c83e){const _0x3af5d3=a4_0x249053,_0x3901b8={'dVCji':_0x3af5d3(0x1b2),'AHxmC':function(_0x5bf768,_0x2a68c0){return _0x5bf768(_0x2a68c0);}};if(!this['enabled'])return;const _0x4140c8=this[_0x3af5d3(0x1d6)](this[_0x3af5d3(0x17a)]);try{const _0x4767d7={};_0x4767d7[_0x3af5d3(0x1e0)]=_0x54c83e,_0x4767d7[_0x3af5d3(0x1bf)]=_0x4140c8;const _0x494f90=_0x4767d7,_0x18d685={};_0x18d685[_0x3af5d3(0x242)]=_0x3901b8[_0x3af5d3(0x20e)],_0x18d685['test_run']=_0x494f90,await SessionHandler[_0x3af5d3(0x1c8)](_0x18d685);}catch(_0x5e643a){_0x3901b8[_0x3af5d3(0x1d1)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants[_0x3af5d3(0x1a0)]+'\x20with\x20error\x20:\x20'+_0x5e643a);}}[a4_0x249053(0x1d6)](_0x32a542){const _0xfd6a6c=a4_0x249053,_0x201ef1={'isMdQ':function(_0x44409f,_0x131e4d){return _0x44409f(_0x131e4d);}};return _0x201ef1[_0xfd6a6c(0x1ca)](fetchPlatformDetails,_0x32a542);}[a4_0x249053(0x18f)]=_0x4e08bf=>{const _0x322b64=a4_0x249053,_0x40c17b={};_0x40c17b[_0x322b64(0x26f)]=_0x322b64(0x219),_0x40c17b['qrwrz']=_0x322b64(0x22e);const _0x4c8d6c=_0x40c17b;if(!_0x4e08bf||!_0x4e08bf[_0x322b64(0x223)])return;[_0x4c8d6c[_0x322b64(0x26f)],_0x4c8d6c[_0x322b64(0x1bb)]][_0x322b64(0x262)](_0x4a962d=>{const _0x2e7d35=_0x322b64,_0x3e0510=_0x4e08bf[_0x2e7d35(0x223)][_0x4a962d];_0x3e0510[_0x2e7d35(0x262)](_0x2aaa66=>{const _0x4c8de3=_0x2e7d35;_0x2aaa66[_0x4c8de3(0x1a7)]&&(_0x2aaa66[_0x4c8de3(0x1a7)]=null);});});};[a4_0x249053(0x185)](_0x328358){const _0x4d64d7=a4_0x249053,_0x1934c1={'ShEZL':_0x4d64d7(0x1ff),'cWOiD':function(_0x29f11d){return _0x29f11d();},'mIfQO':function(_0x1f76dc,_0x450159){return _0x1f76dc===_0x450159;},'gnPbO':_0x4d64d7(0x22e),'HXyNc':function(_0x4c416a){return _0x4c416a();},'EEYEW':_0x4d64d7(0x1f7),'vyYHV':'_afterAll','ldDtF':_0x4d64d7(0x219)};if(!_0x328358||!_0x328358[_0x4d64d7(0x223)])return;[_0x1934c1[_0x4d64d7(0x1fe)],_0x1934c1[_0x4d64d7(0x20a)],_0x1934c1[_0x4d64d7(0x274)],_0x1934c1['gnPbO']]['forEach'](_0x255f4a=>{const _0x4b5443=_0x4d64d7,_0x558a26=_0x328358[_0x4b5443(0x223)][_0x255f4a]||[];_0x558a26[_0x4b5443(0x262)](_0x1c1616=>{const _0x5d02fb=_0x4b5443;if(_0x1c1616[_0x5d02fb(0x1cd)][_0x5d02fb(0x230)](_0x1934c1[_0x5d02fb(0x1e2)]))return;if(!_0x1c1616['hookAnalyticsId'])_0x1c1616['hookAnalyticsId']=_0x1934c1[_0x5d02fb(0x1d8)](uuidv4);else _0x1c1616['markedStatus']&&_0x1934c1[_0x5d02fb(0x1b9)](_0x255f4a,_0x1934c1[_0x5d02fb(0x177)])&&(_0x1c1616['hookAnalyticsId']=_0x1934c1[_0x5d02fb(0x23f)](uuidv4),delete _0x1c1616[_0x5d02fb(0x273)]);});}),this[_0x4d64d7(0x185)](_0x328358[_0x4d64d7(0x223)]);}[a4_0x249053(0x20c)](_0x1739aa){const _0x57c262=a4_0x249053,_0x897915={};_0x897915[_0x57c262(0x221)]=_0x57c262(0x1f7),_0x897915[_0x57c262(0x1c1)]=_0x57c262(0x1af),_0x897915[_0x57c262(0x22f)]=_0x57c262(0x219),_0x897915['rRykS']=_0x57c262(0x22e);const _0xae7aae=_0x897915;if(!_0x1739aa||!_0x1739aa[_0x57c262(0x223)])return[];const _0x169edf=[];return[_0xae7aae['elZZf'],_0xae7aae[_0x57c262(0x1c1)],_0xae7aae[_0x57c262(0x22f)],_0xae7aae[_0x57c262(0x191)]][_0x57c262(0x262)](_0x254019=>{const _0x52ee9a=_0x1739aa['parent'][_0x254019]||[];_0x52ee9a['forEach'](_0x5cfdb7=>{const _0xc46f94=a4_0x37e4;_0x5cfdb7[_0xc46f94(0x1a7)]&&_0x169edf[_0xc46f94(0x198)](_0x5cfdb7[_0xc46f94(0x1a7)]);});}),[][_0x57c262(0x1c2)](_0x169edf,this[_0x57c262(0x20c)](_0x1739aa[_0x57c262(0x223)]));}['getHookType'](_0x1bd068){const _0x685c4f=a4_0x249053,_0x3a2d54=/^"(?<hook>.*)" hook:.*$/,_0x23762f=_0x1bd068[_0x685c4f(0x1cd)],_0x607506=_0x23762f[_0x685c4f(0x215)](_0x3a2d54);if(_0x607506&&_0x607506['groups'])return _0x607506['groups'][_0x685c4f(0x182)][_0x685c4f(0x229)]()['replace']('\x20','_');return null;}['findGitConfig'](_0xdfa90c){const _0x557517=a4_0x249053,_0x10098e={};_0x10098e['COVru']=function(_0x383e4b,_0x1304f9){return _0x383e4b===_0x1304f9;},_0x10098e[_0x557517(0x179)]=_0x557517(0x243),_0x10098e[_0x557517(0x21a)]='config';const _0x591452=_0x10098e,_0x46ce81=path[_0x557517(0x269)];if(_0x591452[_0x557517(0x1f0)](_0xdfa90c,null)||_0x591452[_0x557517(0x1f0)](_0xdfa90c,'')||_0x591452[_0x557517(0x1f0)](_0xdfa90c,_0x46ce81)||_0x591452['COVru'](_0xdfa90c,path[_0x557517(0x26c)](_0xdfa90c)))return null;try{return fs['statSync'](path['join'](_0xdfa90c,_0x591452['eAxJl'],_0x591452['Nrjni'])),_0xdfa90c;}catch(_0x46bf27){const _0x43ba16=path['dirname'](_0xdfa90c);return this['findGitConfig'](_0x43ba16);}}[a4_0x249053(0x1e7)](_0x3023b8){const _0x3f11e8=a4_0x249053,_0x5547f1={};_0x5547f1[_0x3f11e8(0x25f)]=function(_0x582a0d,_0x47e3b8){return _0x582a0d>_0x47e3b8;};const _0x3e854c=_0x5547f1;if(_0x3023b8[_0x3f11e8(0x252)])return _0x3023b8[_0x3f11e8(0x252)];if(_0x3023b8[_0x3f11e8(0x25c)]){const _0x39f1ee=_0x3023b8[_0x3f11e8(0x25c)]['currentTest']?this[_0x3f11e8(0x1e7)](_0x3023b8[_0x3f11e8(0x25c)][_0x3f11e8(0x24c)]):null;if(_0x39f1ee)return _0x39f1ee;}if(_0x3023b8[_0x3f11e8(0x223)]){const _0x256919=this[_0x3f11e8(0x1e7)](_0x3023b8[_0x3f11e8(0x223)])||(_0x3023b8[_0x3f11e8(0x223)]['ctx']&&_0x3023b8[_0x3f11e8(0x223)][_0x3f11e8(0x25c)][_0x3f11e8(0x24c)]?this['getRootParentFile'](_0x3023b8[_0x3f11e8(0x223)][_0x3f11e8(0x25c)]['currentTest']):null);if(_0x256919)return _0x256919;_0x3023b8['parent'][_0x3f11e8(0x259)]&&_0x3e854c[_0x3f11e8(0x25f)](_0x3023b8[_0x3f11e8(0x223)]['suites'][_0x3f11e8(0x184)],0x0)&&_0x3023b8[_0x3f11e8(0x223)][_0x3f11e8(0x259)]['forEach'](_0x2ba33d=>{const _0xa540a0=_0x3f11e8,_0x5cac0c=_0x2ba33d['ctx']?this[_0xa540a0(0x1e7)](_0x2ba33d[_0xa540a0(0x25c)]):null;if(_0x5cac0c)return _0x5cac0c;});}return null;}[a4_0x249053(0x214)](_0x5e06f5){const _0x370486=a4_0x249053,_0x3c7604={};_0x3c7604[_0x370486(0x1a2)]=function(_0x4a364f,_0x18e0d0){return _0x4a364f!==_0x18e0d0;};const _0xa24f91=_0x3c7604,_0x326190=[];if(_0x5e06f5&&_0x5e06f5[_0x370486(0x223)]){let _0x4d83f8=_0x5e06f5[_0x370486(0x223)];while(_0x4d83f8&&_0xa24f91[_0x370486(0x1a2)](_0x4d83f8[_0x370486(0x1cd)],'')){_0x326190[_0x370486(0x198)](_0x4d83f8[_0x370486(0x1cd)]),_0x4d83f8=_0x4d83f8[_0x370486(0x223)];}}return _0x326190;}[a4_0x249053(0x271)](_0x5b4c97,_0x51c4b0,_0x4e5815=undefined){const _0x1ccf36=a4_0x249053,_0x63f10a={'aOMaC':function(_0x95d3dc,_0x1b9faf){return _0x95d3dc(_0x1b9faf);},'uInEk':function(_0xe05d6){return _0xe05d6();},'JkOXQ':function(_0xef5101){return _0xef5101();},'iuaXv':function(_0x166e12){return _0x166e12();},'rooea':function(_0x52c851,_0x3eaaa9){return _0x52c851(_0x3eaaa9);},'YRHCr':'util','DXQtK':_0x1ccf36(0x17c),'GwvyP':function(_0x347cb4,_0x1f6fbf){return _0x347cb4!==_0x1f6fbf;},'ohOqa':function(_0x1230b6,_0x345bd8){return _0x1230b6!==_0x345bd8;},'iEAaY':_0x1ccf36(0x211),'JVkrR':'pending','Avopu':_0x1ccf36(0x213),'SgazO':_0x1ccf36(0x186),'wldBF':_0x1ccf36(0x1d0),'BCbPK':_0x1ccf36(0x22b),'rcugL':function(_0xf3a603,_0x2c3078){return _0xf3a603-_0x2c3078;},'gujgW':function(_0x3db01e,_0x441fd2,_0x1603fe,_0x121db9,_0x2f9c81){return _0x3db01e(_0x441fd2,_0x1603fe,_0x121db9,_0x2f9c81);},'pOwqY':function(_0x2ae94c,_0x19c762){return _0x2ae94c!==_0x19c762;},'eAWJh':_0x1ccf36(0x1bf),'GoupP':_0x1ccf36(0x21d),'QkENk':_0x1ccf36(0x266),'KPTGz':_0x1ccf36(0x202),'xlltp':_0x1ccf36(0x1d7),'wflYp':_0x1ccf36(0x1c0),'RmAMh':'expanded','TFjBW':function(_0x7d9594,_0x579a31){return _0x7d9594===_0x579a31;},'dcTRu':'hook_run','lnoll':_0x1ccf36(0x183)};if(!this['enabled'])return;try{if(_0x51c4b0['fn']&&_0x51c4b0['fn'][_0x1ccf36(0x1f8)]()[_0x1ccf36(0x215)](/browserstack internal helper hook/))return;const _0x45e63a=_0x63f10a['aOMaC'](parseEvent,_0x5b4c97);if(!_0x45e63a)return;if(_0x45e63a[_0x1ccf36(0x241)]){this['currentTest']=_0x51c4b0,this[_0x1ccf36(0x1da)]=null;if(_0x45e63a[_0x1ccf36(0x257)]||_0x45e63a[_0x1ccf36(0x1d0)]){_0x51c4b0[_0x1ccf36(0x194)]=new Date(),_0x51c4b0[_0x1ccf36(0x273)]=![];if(!_0x51c4b0['testAnalyticsId'])_0x51c4b0['testAnalyticsId']=_0x63f10a[_0x1ccf36(0x26a)](uuidv4);else _0x51c4b0[_0x1ccf36(0x273)]&&(!_0x51c4b0[_0x1ccf36(0x20d)]&&(_0x51c4b0[_0x1ccf36(0x20d)]=_0x51c4b0['testAnalyticsId']),_0x51c4b0[_0x1ccf36(0x192)]=_0x63f10a[_0x1ccf36(0x26a)](uuidv4));}}else{if(_0x45e63a[_0x1ccf36(0x182)]){this[_0x1ccf36(0x1da)]=_0x51c4b0;if(_0x45e63a['started']){_0x51c4b0[_0x1ccf36(0x194)]=new Date(),_0x51c4b0['markedStatus']=![];if(!_0x51c4b0[_0x1ccf36(0x1a7)])_0x51c4b0['hookAnalyticsId']=_0x63f10a[_0x1ccf36(0x1b7)](uuidv4);else _0x51c4b0[_0x1ccf36(0x1a7)]&&_0x51c4b0[_0x1ccf36(0x273)]&&(_0x51c4b0[_0x1ccf36(0x1a7)]=_0x63f10a[_0x1ccf36(0x1c5)](uuidv4));}}}if(_0x45e63a['finished']&&_0x51c4b0[_0x1ccf36(0x273)])return;let _0x45c0b4;try{_0x45c0b4=this[_0x1ccf36(0x1e7)](_0x51c4b0);}catch(_0x20fdd3){logger[_0x1ccf36(0x1b0)](_0x1ccf36(0x19d)+_0x20fdd3),_0x45c0b4=null;}const _0x5a4f20=_0x63f10a[_0x1ccf36(0x1df)](require,_0x63f10a[_0x1ccf36(0x24f)]);let _0x582e4c=[];_0x4e5815&&(_0x582e4c=[_0x4e5815,_0x63f10a[_0x1ccf36(0x1e5)]]);const _0x480871=_0x63f10a[_0x1ccf36(0x18e)](_0x51c4b0[_0x1ccf36(0x20b)],undefined)?_0x5a4f20[_0x1ccf36(0x265)](_0x51c4b0[_0x1ccf36(0x20b)][0x0]):_0x63f10a[_0x1ccf36(0x1d4)](_0x4e5815,undefined)?_0x4e5815[_0x1ccf36(0x1f8)]():undefined,_0x114f2f=_0x45c0b4?this[_0x1ccf36(0x23c)](_0x45c0b4):null,_0xfda04a=_0x45c0b4?this['_paths']['prefixTestPath'](this['getRootParentFile'](_0x51c4b0)):_0x63f10a[_0x1ccf36(0x205)];let _0x46142c=_0x63f10a['JVkrR'];const _0x381398=!_0x45e63a[_0x1ccf36(0x257)]?new Date()[_0x1ccf36(0x181)]():null;if(_0x45e63a['finished'])_0x46142c=_0x4e5815?_0x63f10a[_0x1ccf36(0x18c)]:_0x63f10a[_0x1ccf36(0x188)],_0x51c4b0[_0x1ccf36(0x273)]=!![];else _0x45e63a['skipped']&&(_0x46142c=_0x63f10a[_0x1ccf36(0x1f6)],_0x51c4b0['markedStatus']=!![]);const _0x284caa={'framework':this[_0x1ccf36(0x1cf)],'uuid':_0x51c4b0[_0x1ccf36(0x192)]||_0x51c4b0['hookAnalyticsId'],'name':_0x51c4b0['title'],'body':{'lang':_0x63f10a[_0x1ccf36(0x1b8)],'code':_0x51c4b0[_0x1ccf36(0x247)][_0x1ccf36(0x1f8)]()},'type':_0x51c4b0[_0x1ccf36(0x18a)],'scope':_0x51c4b0['fullTitle'](),'scopes':this['getHierarchy'](_0x51c4b0),'file_name':_0xfda04a,'vc_filepath':_0x114f2f?path[_0x1ccf36(0x22d)](_0x114f2f,_0x45c0b4):null,'location':_0xfda04a,'result':_0x46142c,'failure_reason':_0x480871,'duration_in_ms':_0x51c4b0['duration']||(_0x45e63a[_0x1ccf36(0x1aa)]||_0x45e63a['skipped'])?_0x63f10a[_0x1ccf36(0x1a8)](Date[_0x1ccf36(0x231)](),new Date(_0x51c4b0['startedAt'])['getTime']()):null,'started_at':new Date(_0x51c4b0[_0x1ccf36(0x194)])[_0x1ccf36(0x181)](),'finished_at':_0x381398,'failure':testOpsHelper[_0x1ccf36(0x238)][_0x1ccf36(0x1c6)](null,_0x582e4c),'failure_type':!_0x480871?null:testOpsHelper[_0x1ccf36(0x1e1)](_0x480871),'retry_of':_0x51c4b0[_0x1ccf36(0x20d)]||null,'tags':_0x51c4b0[_0x1ccf36(0x1ab)]||[],'customRerunParam':{'rerun_name':_0x51c4b0[_0x1ccf36(0x1dd)]()}};_0x63f10a[_0x1ccf36(0x1a9)](appendTesthubParams,_0x284caa,_0x5b4c97,_0x51c4b0,FRAMEWORKS[_0x1ccf36(0x25b)]);if(_0x45e63a[_0x1ccf36(0x182)])[_0x284caa[_0x1ccf36(0x208)],_0x284caa[_0x1ccf36(0x1bc)]]=[this[_0x1ccf36(0x1ae)](_0x51c4b0),_0x51c4b0[_0x1ccf36(0x25c)][_0x1ccf36(0x241)][_0x1ccf36(0x1cd)]],_0x45e63a[_0x1ccf36(0x1aa)]?_0x63f10a['pOwqY'](_0x284caa[_0x1ccf36(0x18d)],_0x63f10a[_0x1ccf36(0x18c)])&&(_0x284caa[_0x1ccf36(0x18d)]=_0x63f10a[_0x1ccf36(0x188)]):_0x284caa[_0x1ccf36(0x247)]={};else _0x45e63a[_0x1ccf36(0x241)]&&(this[_0x1ccf36(0x185)](_0x51c4b0),_0x45e63a[_0x1ccf36(0x1d0)]&&this[_0x1ccf36(0x18f)](_0x51c4b0),(_0x45e63a[_0x1ccf36(0x1aa)]||_0x45e63a['skipped'])&&(_0x284caa['hooks']=this['getHooksForTest'](_0x51c4b0)));this[_0x1ccf36(0x17a)]&&(_0x45e63a['started']||_0x45e63a[_0x1ccf36(0x1d0)])&&(_0x284caa[_0x63f10a[_0x1ccf36(0x234)]]=this[_0x1ccf36(0x1d6)](this['driver']));_0x45e63a[_0x1ccf36(0x241)]&&_0x45e63a[_0x1ccf36(0x1aa)]&&_0x51c4b0[_0x1ccf36(0x264)]&&(_0x284caa[_0x63f10a[_0x1ccf36(0x206)]]={'feature':{'name':_0x51c4b0[_0x1ccf36(0x223)]['feature'][_0x1ccf36(0x1bc)],'path':_0x284caa[_0x1ccf36(0x1dc)],'description':_0x51c4b0[_0x1ccf36(0x223)][_0x1ccf36(0x22a)]},'scenario':{'name':_0x51c4b0['title']},'steps':_0x51c4b0[_0x1ccf36(0x264)]});const _0x41dd34=_0x284caa[_0x63f10a['QkENk']][0x0];_0x41dd34&&(_0x284caa[_0x63f10a[_0x1ccf36(0x17d)]]=_0x41dd34[_0x63f10a[_0x1ccf36(0x1d2)]],_0x284caa[_0x63f10a['wflYp']]=_0x41dd34[_0x63f10a['RmAMh']]);if(_0x51c4b0[_0x1ccf36(0x264)])for(const _0x20790e of _0x51c4b0[_0x1ccf36(0x264)]){!_0x20790e['finished_at']&&(_0x20790e[_0x1ccf36(0x1cc)]=new Date()[_0x1ccf36(0x181)](),_0x63f10a['TFjBW'](_0x20790e[_0x1ccf36(0x18d)],_0x63f10a[_0x1ccf36(0x24b)])&&(_0x41dd34?(_0x20790e[_0x1ccf36(0x18d)]=_0x63f10a[_0x1ccf36(0x18c)],_0x20790e['failure']=_0x41dd34[_0x63f10a['xlltp']][0x0]):_0x20790e['result']=_0x63f10a['SgazO']));}const _0x3aff9e={};_0x3aff9e[_0x1ccf36(0x242)]=_0x45e63a[_0x1ccf36(0x1d0)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x5b4c97;const _0x5a6d55=_0x3aff9e;return _0x45e63a['hook']?_0x5a6d55[_0x63f10a[_0x1ccf36(0x189)]]=_0x284caa:_0x5a6d55[_0x63f10a[_0x1ccf36(0x1ac)]]=_0x284caa,_0x5a6d55;}catch(_0x1e04c1){logger[_0x1ccf36(0x1b0)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x5b4c97+_0x1ccf36(0x1a3)+_0x1e04c1);}}async[a4_0x249053(0x1ef)](_0x426ae4,_0x5e1cc2){const _0x21c882=a4_0x249053;if(!this[_0x21c882(0x193)]||!_0x5e1cc2||!_0x426ae4)return![];try{return await SessionHandler[_0x21c882(0x1c8)](_0x5e1cc2);}catch(_0x41b957){logger[_0x21c882(0x1b0)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x426ae4+_0x21c882(0x1a3)+_0x41b957);}}[a4_0x249053(0x258)](_0x366e18){const _0x51c800=a4_0x249053,_0x4459e2={};_0x4459e2[_0x51c800(0x180)]=_0x51c800(0x227);const _0x4a86c8=_0x4459e2;return{'id':_0x366e18[_0x51c800(0x1e8)],'text':_0x366e18[_0x51c800(0x212)],'keyword':_0x366e18[_0x51c800(0x1b3)],'started_at':_0x366e18[_0x51c800(0x194)][_0x51c800(0x181)](),'result':_0x4a86c8[_0x51c800(0x180)]};}[a4_0x249053(0x210)](_0x54c091){const _0x653270=a4_0x249053,_0x36e0d5={'EdtuC':function(_0x4c611c){return _0x4c611c();}};!this['currentTest'][_0x653270(0x264)]&&(this[_0x653270(0x24c)][_0x653270(0x264)]=[]),!_0x54c091[_0x653270(0x1e8)]&&(_0x54c091[_0x653270(0x1e8)]=_0x36e0d5[_0x653270(0x1b5)](uuidv4),_0x54c091[_0x653270(0x194)]=new Date(),this[_0x653270(0x24c)][_0x653270(0x264)]['push'](this[_0x653270(0x258)](_0x54c091)));}['bddStepFinish'](_0x113d7e){const _0x3355f6=a4_0x249053,_0x487b74={'bFMJZ':function(_0x456af4,_0x51df15){return _0x456af4(_0x51df15);},'oYVwb':_0x3355f6(0x1e9),'ALVvU':_0x3355f6(0x227),'jYEuh':_0x3355f6(0x186),'lqceT':function(_0x3e9015,_0x3f4384){return _0x3e9015-_0x3f4384;}};let _0x6791f4=this[_0x3355f6(0x24c)][_0x3355f6(0x264)][_0x3355f6(0x1f2)](_0xf70ad=>_0xf70ad['id']===_0x113d7e[_0x3355f6(0x1e8)]);_0x487b74[_0x3355f6(0x21b)](isUndefined,_0x6791f4)&&(_0x6791f4=this[_0x3355f6(0x258)](_0x113d7e)),_0x6791f4[_0x3355f6(0x18d)]=[_0x487b74[_0x3355f6(0x1e3)],_0x487b74['ALVvU']]['includes'](_0x113d7e[_0x3355f6(0x23a)])?_0x487b74[_0x3355f6(0x17e)]:_0x113d7e['status'],_0x6791f4[_0x3355f6(0x1cc)]=new Date()[_0x3355f6(0x181)](),_0x6791f4[_0x3355f6(0x1fb)]=_0x487b74[_0x3355f6(0x236)](Date[_0x3355f6(0x231)](),_0x113d7e['startedAt'][_0x3355f6(0x1c7)]()),_0x6791f4['failure']=_0x113d7e[_0x3355f6(0x17c)]?_0x113d7e[_0x3355f6(0x17c)][_0x3355f6(0x196)]:null;}}const a4_0x7f72a5={};a4_0x7f72a5[a4_0x249053(0x24e)]=O11yHelper,a4_0x7f72a5[a4_0x249053(0x1fd)]=STATE_PASSED,a4_0x7f72a5['STATE_FAILED']=STATE_FAILED,a4_0x7f72a5['TEST_EVENTS']=TEST_EVENTS,module[a4_0x249053(0x19b)]=a4_0x7f72a5;
1
+ const a4_0x143d67=a4_0x9ddf;(function(_0xfd3c9a,_0x380211){const _0xa35acd=a4_0x9ddf,_0x4c5c0e=_0xfd3c9a();while(!![]){try{const _0xc5847d=parseInt(_0xa35acd(0xe6))/0x1+parseInt(_0xa35acd(0x159))/0x2*(parseInt(_0xa35acd(0xc9))/0x3)+parseInt(_0xa35acd(0x115))/0x4+-parseInt(_0xa35acd(0x11a))/0x5+parseInt(_0xa35acd(0x166))/0x6*(-parseInt(_0xa35acd(0x18f))/0x7)+-parseInt(_0xa35acd(0x104))/0x8*(-parseInt(_0xa35acd(0x18a))/0x9)+-parseInt(_0xa35acd(0x170))/0xa;if(_0xc5847d===_0x380211)break;else _0x4c5c0e['push'](_0x4c5c0e['shift']());}catch(_0x473c8e){_0x4c5c0e['push'](_0x4c5c0e['shift']());}}}(a4_0x1ebf,0x4b29c));const path=require(a4_0x143d67(0x126)),fs=require('fs'),{v4:uuidv4}=require(a4_0x143d67(0xb2)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x143d67(0x158)),{getTestEnv}=require(a4_0x143d67(0x102)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x143d67(0x148))['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x143d67(0xca)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x143d67(0xf5)],{processAccessibilityCaps}=require(a4_0x143d67(0xf4)),Constants=require(a4_0x143d67(0xc0)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x143d67(0x127)),constants=require('../utils/constants'),STATE_PASSED=a4_0x143d67(0xd4),STATE_FAILED='failed',a4_0x52d2b8={};a4_0x52d2b8[a4_0x143d67(0x10d)]=a4_0x143d67(0x155),a4_0x52d2b8[a4_0x143d67(0x11f)]=a4_0x143d67(0x178),a4_0x52d2b8[a4_0x143d67(0x150)]=a4_0x143d67(0xd8),a4_0x52d2b8[a4_0x143d67(0xfa)]=a4_0x143d67(0xf3),a4_0x52d2b8[a4_0x143d67(0xbd)]=a4_0x143d67(0x196);const TEST_EVENTS=a4_0x52d2b8,parseEvent=_0x19caab=>{const _0x127205=a4_0x143d67,_0x5403d9={};_0x5403d9[_0x127205(0x189)]=function(_0x3fedb6,_0x5ca3dc){return _0x3fedb6<_0x5ca3dc;},_0x5403d9[_0x127205(0x14b)]=function(_0x162526,_0x1e853d){return _0x162526===_0x1e853d;},_0x5403d9[_0x127205(0x17b)]='test',_0x5403d9[_0x127205(0xb7)]=function(_0xfd4cb5,_0x48cd79){return _0xfd4cb5===_0x48cd79;},_0x5403d9[_0x127205(0xfe)]=_0x127205(0x103),_0x5403d9[_0x127205(0x19b)]='skipped',_0x5403d9[_0x127205(0x11e)]=_0x127205(0x14d),_0x5403d9[_0x127205(0x14a)]=function(_0x18fff0,_0x2912c5){return _0x18fff0===_0x2912c5;},_0x5403d9[_0x127205(0x18c)]=_0x127205(0xcb);const _0x6f8458=_0x5403d9,_0x69a338=_0x19caab[_0x127205(0x13c)](/^(.*)Run(.*)$/);if(!_0x69a338)return null;if(_0x6f8458[_0x127205(0x189)](_0x69a338['length'],0x3))return null;const _0x30c0dd=_0x69a338[0x1][_0x127205(0x153)](),_0x1a2148=_0x69a338[0x2][_0x127205(0x153)]();return{'test':_0x6f8458['NOgGv'](_0x30c0dd,_0x6f8458[_0x127205(0x17b)]),'hook':_0x6f8458[_0x127205(0xb7)](_0x30c0dd,_0x6f8458[_0x127205(0xfe)]),'skipped':_0x6f8458[_0x127205(0x14b)](_0x1a2148,_0x6f8458[_0x127205(0x19b)]),'started':_0x6f8458[_0x127205(0xb7)](_0x1a2148,_0x6f8458[_0x127205(0x11e)]),'finished':_0x6f8458[_0x127205(0x14a)](_0x1a2148,_0x6f8458['oENqq'])};},mockPWBrowserType=_0x26d2d0=>{const _0x1a3474=a4_0x143d67,_0x9ca9a5={'CKuVH':function(_0x5e60f6,_0x3b957c){return _0x5e60f6===_0x3b957c;},'WIcFj':_0x1a3474(0x128),'DUEJg':function(_0x1776ca,_0x43d6c3,_0xf9bfe5){return _0x1776ca(_0x43d6c3,_0xf9bfe5);},'PHEAl':_0x1a3474(0xc1),'rMtza':function(_0x3ce840,_0x164318){return _0x3ce840(_0x164318);},'xfWbt':_0x1a3474(0x17c),'eziTE':function(_0x190363,_0x41857f){return _0x190363(_0x41857f);},'QTZPu':_0x1a3474(0xac),'iroEP':_0x1a3474(0x122),'pAjQD':_0x1a3474(0xed),'WJLpT':function(_0x14f8d9,_0x5cb04a){return _0x14f8d9(_0x5cb04a);},'UMmzb':'Not\x20able\x20to\x20import\x20Browser','UxiRN':'connect','FJDLD':_0x1a3474(0x18b)},_0x78d12e=path[_0x1a3474(0x18d)](_0x9ca9a5[_0x1a3474(0x10e)],_0x9ca9a5['iroEP'],_0x9ca9a5['pAjQD']),_0x28fc90=_0x9ca9a5[_0x1a3474(0x182)](importFileFromPWCore,_0x78d12e);if(!_0x28fc90){_0x9ca9a5[_0x1a3474(0xf9)](debug,_0x9ca9a5[_0x1a3474(0x136)]);return;}const _0x25ecef=_0x28fc90[_0x1a3474(0xc2)],_0x171ecd=_0x25ecef['prototype'];if(_0x171ecd[_0x1a3474(0x138)])return;const _0x283f0c=_0x171ecd[_0x1a3474(0xab)];Object[_0x1a3474(0x188)](_0x171ecd,_0x9ca9a5[_0x1a3474(0xaf)],{'get':function(){return async function _0x533629(_0x12c3c3,_0x403486){const _0x20f444=a4_0x9ddf,_0x287484={'orOht':function(_0x1262be,_0x535eb0){const _0x31db29=a4_0x9ddf;return _0x9ca9a5[_0x31db29(0x105)](_0x1262be,_0x535eb0);},'ehYQh':_0x9ca9a5[_0x20f444(0x10b)]},_0x52fb95=_0x9ca9a5['DUEJg'](nestedKeyValue,_0x12c3c3,[_0x9ca9a5[_0x20f444(0x15a)]])||_0x12c3c3;let _0x48a87b=null,_0x10979f=null;try{[_0x10979f,_0x48a87b]=_0x52fb95?_0x9ca9a5['rMtza'](parseWSEndpoint,_0x52fb95):[null,null],global[_0x20f444(0x19f)]=_0x48a87b,logger['debug'](_0x20f444(0x191)+_0x10979f),_0x10979f[_0x20f444(0x13a)](Constants[_0x20f444(0x110)])&&(global['__cloud_provider___']=_0x9ca9a5[_0x20f444(0x132)]);}catch(_0x3efa8d){logger[_0x20f444(0xf5)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x52fb95+'\x20'+_0x3efa8d);}_0x9ca9a5['DUEJg'](processAccessibilityCaps,_0x48a87b,_0x10979f);if(global[_0x20f444(0x173)]){const _0x48fd35=await _0x171ecd['connectOverCDP'][_0x20f444(0x17d)](this,[''+Constants[_0x20f444(0xeb)]+_0x9ca9a5[_0x20f444(0xdf)](encodeURIComponent,JSON[_0x20f444(0x193)](_0x48a87b))]);return PlaywrightSessionDetails[_0x20f444(0xe4)](_0x48fd35,_0x26d2d0,_0x52fb95),_0x48fd35;}return _0x283f0c[_0x20f444(0x17d)](this,arguments)['then'](_0x2f99e7=>{const _0x55dd03=_0x20f444;let _0x2d769d=_0x12c3c3[_0x55dd03(0xc1)];return _0x287484['orOht'](typeof _0x12c3c3,_0x287484[_0x55dd03(0xb9)])&&(_0x2d769d=_0x12c3c3),PlaywrightSessionDetails[_0x55dd03(0xe4)](_0x2f99e7,_0x26d2d0,_0x2d769d),_0x2f99e7;});};}});const _0x167adc=_0x171ecd[_0x1a3474(0x18b)];Object[_0x1a3474(0x188)](_0x171ecd,_0x9ca9a5[_0x1a3474(0xf8)],{'get':function(){return async function _0x480397(){const _0x5e41bf=a4_0x9ddf;return _0x167adc['apply'](this,arguments)[_0x5e41bf(0x16e)](_0x42ca19=>{const _0x4f1f00=_0x5e41bf;return PlaywrightSessionDetails[_0x4f1f00(0xe4)](_0x42ca19,null),_0x42ca19;});};}});};class O11yHelper{[a4_0x143d67(0x143)]=null;[a4_0x143d67(0x1a3)]=null;['enabled']=![];[a4_0x143d67(0xb8)]=![];constructor(_0x1a8b29,_0x4d398a){const _0x2b870f=a4_0x143d67,_0x3317f2={'AMZIt':_0x2b870f(0x124),'Dchnl':function(_0xb9e9f6,_0x4242bf){return _0xb9e9f6===_0x4242bf;},'xqiLs':'Playwright','QusXv':function(_0x1f4804,_0x5d4609){return _0x1f4804(_0x5d4609);},'qUYhV':function(_0x11db2d){return _0x11db2d();}},_0x2ee739=_0x3317f2['AMZIt'][_0x2b870f(0xd5)]('|');let _0x57cee7=0x0;while(!![]){switch(_0x2ee739[_0x57cee7++]){case'0':this[_0x2b870f(0xae)]=_0x1a8b29;continue;case'1':this[_0x2b870f(0xae)]&&_0x3317f2[_0x2b870f(0x116)](this[_0x2b870f(0xae)]['constructor']['name'],_0x3317f2[_0x2b870f(0xd0)])&&_0x3317f2['QusXv'](mockPWBrowserType,null);continue;case'2':this[_0x2b870f(0xd6)]=_0x3317f2[_0x2b870f(0x169)](shouldProcessEventForTesthub);continue;case'3':this[_0x2b870f(0xb8)]=_0x4d398a['frameworkName'];continue;case'4':this[_0x2b870f(0x117)]=_0x3317f2[_0x2b870f(0x169)](getTestEnv);continue;case'5':this[_0x2b870f(0xee)]=new testOpsHelper['PathHelper']({'cwd':process[_0x2b870f(0x12e)]()},this['_testEnv'][_0x2b870f(0x181)]);continue;}break;}}[a4_0x143d67(0x10f)](){const _0x3d08e7=a4_0x143d67;if(!this[_0x3d08e7(0xd6)])return;testOpsHelper[_0x3d08e7(0x163)](),process[_0x3d08e7(0x133)](_0x3d08e7(0x179)+process[_0x3d08e7(0xe8)]),process['on'](_0x3d08e7(0x179)+process[_0x3d08e7(0xe8)],this[_0x3d08e7(0x111)]['bind'](this));}async['stop'](){const _0x2da1db=a4_0x143d67;await RequestQueueHandler[_0x2da1db(0x194)]()['shutdown']();}async[a4_0x143d67(0x111)](_0x361658){const _0x1fb93c=a4_0x143d67,_0x371cbe={'TDXjN':_0x1fb93c(0xb5),'bvQsP':function(_0x2ca28d,_0x4e112e){return _0x2ca28d(_0x4e112e);}};try{this['currentHook']&&!this[_0x1fb93c(0x1a3)][_0x1fb93c(0x19d)]&&(_0x361658[_0x1fb93c(0x107)]=this['currentHook'][_0x1fb93c(0x106)]);!_0x361658[_0x1fb93c(0x107)]&&this[_0x1fb93c(0x143)]&&!this[_0x1fb93c(0x143)][_0x1fb93c(0x19d)]&&(_0x361658['test_run_uuid']=this['currentTest']['testAnalyticsId']);if(_0x361658[_0x1fb93c(0x107)]||_0x361658[_0x1fb93c(0x156)]){const _0x4e6427={};_0x4e6427[_0x1fb93c(0x15b)]=_0x371cbe[_0x1fb93c(0x146)],_0x4e6427['logs']=[_0x361658],await SessionHandler[_0x1fb93c(0x154)](_0x4e6427);}}catch(_0x586dc5){_0x371cbe[_0x1fb93c(0xc6)](debug,_0x1fb93c(0x197)+constants[_0x1fb93c(0xd2)]+'\x20with\x20error\x20:\x20'+_0x586dc5);}}async[a4_0x143d67(0xe5)](_0x11999a){const _0x3e7735=a4_0x143d67,_0x1656ce={'dcsxf':_0x3e7735(0xc3),'zQnpC':function(_0x1bfb55,_0x2e61f5){return _0x1bfb55(_0x2e61f5);}};if(!this[_0x3e7735(0xd6)])return;const _0x264010=this[_0x3e7735(0xf7)](this[_0x3e7735(0xae)]);try{const _0x2e42d6={};_0x2e42d6['uuid']=_0x11999a,_0x2e42d6[_0x3e7735(0x17e)]=_0x264010;const _0x4092c1=_0x2e42d6,_0xb8b489={};_0xb8b489['event_type']=_0x1656ce[_0x3e7735(0xdb)],_0xb8b489[_0x3e7735(0x119)]=_0x4092c1,await SessionHandler['uploadEventData'](_0xb8b489);}catch(_0x76f9b6){_0x1656ce[_0x3e7735(0x165)](debug,_0x3e7735(0x114)+constants['TEST_REPORTING_ANALYTICS']+_0x3e7735(0xb4)+_0x76f9b6);}}['getCBTInfo'](_0x581a72){const _0x510e64=a4_0x143d67,_0x2fc992={'BOzaT':function(_0x2e63a5,_0xda387c){return _0x2e63a5(_0xda387c);}};return _0x2fc992[_0x510e64(0x180)](fetchPlatformDetails,_0x581a72);}[a4_0x143d67(0xd7)]=_0x4dd0f8=>{const _0x2902d8=a4_0x143d67,_0x1fba3d={};_0x1fba3d[_0x2902d8(0x11c)]=_0x2902d8(0x198),_0x1fba3d[_0x2902d8(0x12b)]=_0x2902d8(0x139);const _0x455718=_0x1fba3d;if(!_0x4dd0f8||!_0x4dd0f8['parent'])return;[_0x455718['nWCDC'],_0x455718['pJYmR']][_0x2902d8(0x175)](_0x5b0c71=>{const _0x2f5403=_0x4dd0f8['parent'][_0x5b0c71];_0x2f5403['forEach'](_0x29f001=>{const _0xb2e4ef=a4_0x9ddf;_0x29f001['hookAnalyticsId']&&(_0x29f001[_0xb2e4ef(0x106)]=null);});});};[a4_0x143d67(0x12c)](_0xcaff30){const _0x17becc=a4_0x143d67,_0x1d41aa={'ztPlK':_0x17becc(0x15c),'uAknS':function(_0x46d804){return _0x46d804();},'qrVKg':function(_0x591f62,_0x26fe27){return _0x591f62===_0x26fe27;},'oxQUU':_0x17becc(0x139),'ZtRtC':_0x17becc(0x1a0),'EoHnz':_0x17becc(0xf2),'CaAQw':'_beforeEach'};if(!_0xcaff30||!_0xcaff30['parent'])return;[_0x1d41aa['ZtRtC'],_0x1d41aa['EoHnz'],_0x1d41aa[_0x17becc(0xba)],_0x1d41aa[_0x17becc(0xbb)]][_0x17becc(0x175)](_0x459260=>{const _0x488143=_0x17becc,_0x53d003={'zwLLg':_0x1d41aa['ztPlK'],'bYJaq':function(_0x50b398){const _0x2b3d52=a4_0x9ddf;return _0x1d41aa[_0x2b3d52(0x121)](_0x50b398);},'ZkapA':function(_0x4e6ce4,_0x58ba90){const _0x26e364=a4_0x9ddf;return _0x1d41aa[_0x26e364(0x118)](_0x4e6ce4,_0x58ba90);},'rxIfd':_0x1d41aa[_0x488143(0xbb)]},_0x49b3db=_0xcaff30[_0x488143(0xb6)][_0x459260]||[];_0x49b3db[_0x488143(0x175)](_0x4c7fb2=>{const _0x15c144=_0x488143;if(_0x4c7fb2[_0x15c144(0x16d)][_0x15c144(0x13a)](_0x53d003['zwLLg']))return;if(!_0x4c7fb2['hookAnalyticsId'])_0x4c7fb2[_0x15c144(0x106)]=_0x53d003[_0x15c144(0x162)](uuidv4);else _0x4c7fb2['markedStatus']&&_0x53d003['ZkapA'](_0x459260,_0x53d003[_0x15c144(0x18e)])&&(_0x4c7fb2[_0x15c144(0x106)]=_0x53d003[_0x15c144(0x162)](uuidv4),delete _0x4c7fb2['markedStatus']);});}),this[_0x17becc(0x12c)](_0xcaff30[_0x17becc(0xb6)]);}[a4_0x143d67(0x141)](_0x2d846b){const _0x5dc7d2=a4_0x143d67,_0x272c5a={};_0x272c5a[_0x5dc7d2(0xf0)]=_0x5dc7d2(0x1a0),_0x272c5a[_0x5dc7d2(0x168)]=_0x5dc7d2(0xf2),_0x272c5a[_0x5dc7d2(0xc5)]='_beforeEach',_0x272c5a['gXHJW']=_0x5dc7d2(0x139);const _0x157ba9=_0x272c5a;if(!_0x2d846b||!_0x2d846b[_0x5dc7d2(0xb6)])return[];const _0x108ea5=[];return[_0x157ba9[_0x5dc7d2(0xf0)],_0x157ba9['gabdi'],_0x157ba9[_0x5dc7d2(0xc5)],_0x157ba9[_0x5dc7d2(0x11d)]][_0x5dc7d2(0x175)](_0x66d0ca=>{const _0x42ef13=_0x5dc7d2,_0x44eb92=_0x2d846b[_0x42ef13(0xb6)][_0x66d0ca]||[];_0x44eb92[_0x42ef13(0x175)](_0x566401=>{const _0x18d6d7=_0x42ef13;_0x566401[_0x18d6d7(0x106)]&&_0x108ea5[_0x18d6d7(0x101)](_0x566401['hookAnalyticsId']);});}),[][_0x5dc7d2(0x157)](_0x108ea5,this['getHooksForTest'](_0x2d846b[_0x5dc7d2(0xb6)]));}[a4_0x143d67(0x177)](_0x1c3f0a){const _0x402733=a4_0x143d67,_0x24835b=/^"(?<hook>.*)" hook:.*$/,_0x4dc157=_0x1c3f0a[_0x402733(0x16d)],_0x122693=_0x4dc157['match'](_0x24835b);if(_0x122693&&_0x122693[_0x402733(0xec)])return _0x122693[_0x402733(0xec)][_0x402733(0x103)][_0x402733(0x149)]()['replace']('\x20','_');return null;}[a4_0x143d67(0x137)](_0x293a4b){const _0x34b0b0=a4_0x143d67,_0x445653={};_0x445653[_0x34b0b0(0x19a)]=function(_0xe4b6cd,_0x5ce55d){return _0xe4b6cd===_0x5ce55d;},_0x445653[_0x34b0b0(0xe7)]=function(_0x1f5419,_0x1fd70a){return _0x1f5419===_0x1fd70a;},_0x445653['sejOn']=_0x34b0b0(0x147),_0x445653[_0x34b0b0(0xe9)]=_0x34b0b0(0xe0);const _0x124f3c=_0x445653,_0x1dfed4=path[_0x34b0b0(0xbe)];if(_0x124f3c[_0x34b0b0(0x19a)](_0x293a4b,null)||_0x124f3c[_0x34b0b0(0xe7)](_0x293a4b,'')||_0x124f3c[_0x34b0b0(0xe7)](_0x293a4b,_0x1dfed4)||_0x124f3c[_0x34b0b0(0xe7)](_0x293a4b,path[_0x34b0b0(0x134)](_0x293a4b)))return null;try{return fs[_0x34b0b0(0xd1)](path[_0x34b0b0(0x18d)](_0x293a4b,_0x124f3c[_0x34b0b0(0x108)],_0x124f3c[_0x34b0b0(0xe9)])),_0x293a4b;}catch(_0x5adce1){const _0x1c97f4=path[_0x34b0b0(0x134)](_0x293a4b);return this['findGitConfig'](_0x1c97f4);}}[a4_0x143d67(0x125)](_0x2717dd){const _0x120c12=a4_0x143d67,_0x1a1e83={};_0x1a1e83[_0x120c12(0x14f)]=function(_0x270e2a,_0x5c7037){return _0x270e2a>_0x5c7037;};const _0x506397=_0x1a1e83;if(_0x2717dd[_0x120c12(0x167)])return _0x2717dd[_0x120c12(0x167)];if(_0x2717dd[_0x120c12(0x19c)]){const _0x51592a=_0x2717dd[_0x120c12(0x19c)][_0x120c12(0x143)]?this[_0x120c12(0x125)](_0x2717dd[_0x120c12(0x19c)][_0x120c12(0x143)]):null;if(_0x51592a)return _0x51592a;}if(_0x2717dd[_0x120c12(0xb6)]){const _0x455c82=this[_0x120c12(0x125)](_0x2717dd[_0x120c12(0xb6)])||(_0x2717dd[_0x120c12(0xb6)][_0x120c12(0x19c)]&&_0x2717dd['parent'][_0x120c12(0x19c)][_0x120c12(0x143)]?this[_0x120c12(0x125)](_0x2717dd[_0x120c12(0xb6)][_0x120c12(0x19c)][_0x120c12(0x143)]):null);if(_0x455c82)return _0x455c82;_0x2717dd[_0x120c12(0xb6)][_0x120c12(0x140)]&&_0x506397[_0x120c12(0x14f)](_0x2717dd[_0x120c12(0xb6)]['suites'][_0x120c12(0x17f)],0x0)&&_0x2717dd[_0x120c12(0xb6)][_0x120c12(0x140)][_0x120c12(0x175)](_0x257cff=>{const _0x3a8604=_0x120c12,_0x569fa2=_0x257cff[_0x3a8604(0x19c)]?this[_0x3a8604(0x125)](_0x257cff[_0x3a8604(0x19c)]):null;if(_0x569fa2)return _0x569fa2;});}return null;}[a4_0x143d67(0x186)](_0x54ff91){const _0x5448b4=a4_0x143d67,_0xd59963={};_0xd59963[_0x5448b4(0x172)]=function(_0x3a9d88,_0x30fce1){return _0x3a9d88!==_0x30fce1;};const _0x417a53=_0xd59963,_0xd2d187=[];if(_0x54ff91&&_0x54ff91[_0x5448b4(0xb6)]){let _0x2db193=_0x54ff91[_0x5448b4(0xb6)];while(_0x2db193&&_0x417a53[_0x5448b4(0x172)](_0x2db193[_0x5448b4(0x16d)],'')){_0xd2d187[_0x5448b4(0x101)](_0x2db193[_0x5448b4(0x16d)]),_0x2db193=_0x2db193[_0x5448b4(0xb6)];}}return _0xd2d187;}[a4_0x143d67(0x19e)](_0x25aaa3,_0x18114a,_0x43ca8d=undefined){const _0x5c633e=a4_0x143d67,_0x384685={'CKHEP':function(_0x3e159b,_0x2f868){return _0x3e159b(_0x2f868);},'NQsod':function(_0xf00e69){return _0xf00e69();},'lFShz':_0x5c633e(0x15d),'ScnTJ':_0x5c633e(0x183),'AXnco':function(_0x1e55e7,_0x2b9afa){return _0x1e55e7!==_0x2b9afa;},'PgDGj':_0x5c633e(0x13e),'rMtyA':'pending','sVpDq':_0x5c633e(0xd3),'QTAmI':_0x5c633e(0xd4),'sStQw':_0x5c633e(0x12a),'Hobnl':_0x5c633e(0x130),'PsRPW':function(_0x25b0c2,_0x4f7221){return _0x25b0c2-_0x4f7221;},'TtbYN':function(_0x55f971,_0x44a17b,_0xd92cb4,_0x32b7d7,_0x29fd30){return _0x55f971(_0x44a17b,_0xd92cb4,_0x32b7d7,_0x29fd30);},'YmmLH':function(_0x10d381,_0x833bdd){return _0x10d381!==_0x833bdd;},'rsZOB':'integrations','Izxxc':_0x5c633e(0x129),'UMNrK':_0x5c633e(0x135),'JZSks':_0x5c633e(0x1a1),'cHTRd':_0x5c633e(0xfd),'rvaCT':_0x5c633e(0x152),'nDeaM':_0x5c633e(0x123),'XbOfK':function(_0x44aade,_0x2058f3){return _0x44aade===_0x2058f3;},'tsKMo':_0x5c633e(0x12d),'FiQjw':_0x5c633e(0x119)};if(!this[_0x5c633e(0xd6)])return;try{if(_0x18114a['fn']&&_0x18114a['fn'][_0x5c633e(0x195)]()[_0x5c633e(0x13c)](/browserstack internal helper hook/))return;const _0x44ecce=_0x384685[_0x5c633e(0x142)](parseEvent,_0x25aaa3);if(!_0x44ecce)return;if(_0x44ecce[_0x5c633e(0x16b)]){this[_0x5c633e(0x143)]=_0x18114a,this[_0x5c633e(0x1a3)]=null;if(_0x44ecce['started']||_0x44ecce[_0x5c633e(0x12a)]){_0x18114a[_0x5c633e(0xc7)]=new Date(),_0x18114a[_0x5c633e(0x19d)]=![];if(!_0x18114a[_0x5c633e(0x16a)])_0x18114a[_0x5c633e(0x16a)]=_0x384685['NQsod'](uuidv4);else _0x18114a[_0x5c633e(0x19d)]&&(!_0x18114a['retryOf']&&(_0x18114a['retryOf']=_0x18114a[_0x5c633e(0x16a)]),_0x18114a[_0x5c633e(0x16a)]=_0x384685[_0x5c633e(0x16f)](uuidv4));}}else{if(_0x44ecce[_0x5c633e(0x103)]){this[_0x5c633e(0x1a3)]=_0x18114a;if(_0x44ecce[_0x5c633e(0x14d)]){_0x18114a['startedAt']=new Date(),_0x18114a[_0x5c633e(0x19d)]=![];if(!_0x18114a[_0x5c633e(0x106)])_0x18114a[_0x5c633e(0x106)]=_0x384685[_0x5c633e(0x16f)](uuidv4);else _0x18114a[_0x5c633e(0x106)]&&_0x18114a[_0x5c633e(0x19d)]&&(_0x18114a['hookAnalyticsId']=_0x384685['NQsod'](uuidv4));}}}if(_0x44ecce[_0x5c633e(0xcb)]&&_0x18114a[_0x5c633e(0x19d)])return;let _0x2b6579;try{_0x2b6579=this[_0x5c633e(0x125)](_0x18114a);}catch(_0xc2a4be){logger[_0x5c633e(0xf5)](_0x5c633e(0x184)+_0xc2a4be),_0x2b6579=null;}const _0x28cc96=_0x384685[_0x5c633e(0x142)](require,_0x384685['lFShz']);let _0x3c42b4=[];_0x43ca8d&&(_0x3c42b4=[_0x43ca8d,_0x384685[_0x5c633e(0x187)]]);const _0x3e0b48=_0x384685[_0x5c633e(0x10c)](_0x18114a[_0x5c633e(0xce)],undefined)?_0x28cc96[_0x5c633e(0xbf)](_0x18114a[_0x5c633e(0xce)][0x0]):_0x384685[_0x5c633e(0x10c)](_0x43ca8d,undefined)?_0x43ca8d[_0x5c633e(0x195)]():undefined,_0xfe6f52=_0x2b6579?this[_0x5c633e(0x137)](_0x2b6579):null,_0x1911d3=_0x2b6579?this[_0x5c633e(0xee)][_0x5c633e(0xe1)](this[_0x5c633e(0x125)](_0x18114a)):_0x384685['PgDGj'];let _0x8bde6e=_0x384685[_0x5c633e(0xde)];const _0x282ec9=!_0x44ecce[_0x5c633e(0x14d)]?new Date()[_0x5c633e(0xc8)]():null;if(_0x44ecce['finished'])_0x8bde6e=_0x43ca8d?_0x384685['sVpDq']:_0x384685[_0x5c633e(0x151)],_0x18114a[_0x5c633e(0x19d)]=!![];else _0x44ecce[_0x5c633e(0x12a)]&&(_0x8bde6e=_0x384685[_0x5c633e(0xc4)],_0x18114a[_0x5c633e(0x19d)]=!![]);const _0x4d251a={'framework':this[_0x5c633e(0xb8)],'uuid':_0x18114a['testAnalyticsId']||_0x18114a['hookAnalyticsId'],'name':_0x18114a[_0x5c633e(0x16d)],'body':{'lang':_0x384685[_0x5c633e(0xfb)],'code':_0x18114a[_0x5c633e(0x16c)]['toString']()},'type':_0x18114a[_0x5c633e(0x164)],'scope':_0x18114a[_0x5c633e(0x1a2)](),'scopes':this[_0x5c633e(0x186)](_0x18114a),'file_name':_0x1911d3,'vc_filepath':_0xfe6f52?path[_0x5c633e(0xcc)](_0xfe6f52,_0x2b6579):null,'location':_0x1911d3,'result':_0x8bde6e,'failure_reason':_0x3e0b48,'duration_in_ms':_0x18114a[_0x5c633e(0x185)]||(_0x44ecce[_0x5c633e(0xcb)]||_0x44ecce[_0x5c633e(0x12a)])?_0x384685[_0x5c633e(0x131)](Date[_0x5c633e(0x113)](),new Date(_0x18114a['startedAt'])[_0x5c633e(0x13f)]()):null,'started_at':new Date(_0x18114a[_0x5c633e(0xc7)])[_0x5c633e(0xc8)](),'finished_at':_0x282ec9,'failure':testOpsHelper[_0x5c633e(0xdd)][_0x5c633e(0x17d)](null,_0x3c42b4),'failure_type':!_0x3e0b48?null:testOpsHelper[_0x5c633e(0x100)](_0x3e0b48),'retry_of':_0x18114a[_0x5c633e(0xbc)]||null,'tags':_0x18114a[_0x5c633e(0x190)]||[],'customRerunParam':{'rerun_name':_0x18114a['fullTitle']()}};_0x384685[_0x5c633e(0xcf)](appendTesthubParams,_0x4d251a,_0x25aaa3,_0x18114a,FRAMEWORKS[_0x5c633e(0x120)]);if(_0x44ecce[_0x5c633e(0x103)])[_0x4d251a['hook_type'],_0x4d251a['name']]=[this[_0x5c633e(0x177)](_0x18114a),_0x18114a[_0x5c633e(0x19c)][_0x5c633e(0x16b)][_0x5c633e(0x16d)]],_0x44ecce[_0x5c633e(0xcb)]?_0x384685[_0x5c633e(0xff)](_0x4d251a[_0x5c633e(0xcd)],_0x384685[_0x5c633e(0xd9)])&&(_0x4d251a[_0x5c633e(0xcd)]=_0x384685[_0x5c633e(0x151)]):_0x4d251a['body']={};else _0x44ecce[_0x5c633e(0x16b)]&&(this[_0x5c633e(0x12c)](_0x18114a),_0x44ecce[_0x5c633e(0x12a)]&&this[_0x5c633e(0xd7)](_0x18114a),(_0x44ecce[_0x5c633e(0xcb)]||_0x44ecce[_0x5c633e(0x12a)])&&(_0x4d251a['hooks']=this[_0x5c633e(0x141)](_0x18114a)));this[_0x5c633e(0xae)]&&(_0x44ecce[_0x5c633e(0x14d)]||_0x44ecce[_0x5c633e(0x12a)])&&(_0x4d251a[_0x384685[_0x5c633e(0xef)]]=this[_0x5c633e(0xf7)](this[_0x5c633e(0xae)]));_0x44ecce[_0x5c633e(0x16b)]&&_0x44ecce[_0x5c633e(0xcb)]&&_0x18114a[_0x5c633e(0xad)]&&(_0x4d251a[_0x384685[_0x5c633e(0x109)]]={'feature':{'name':_0x18114a[_0x5c633e(0xb6)][_0x5c633e(0x12f)][_0x5c633e(0x11b)],'path':_0x4d251a[_0x5c633e(0x14e)],'description':_0x18114a['parent'][_0x5c633e(0xdc)]},'scenario':{'name':_0x18114a[_0x5c633e(0x16d)]},'steps':_0x18114a[_0x5c633e(0xad)]});const _0xefd37f=_0x4d251a[_0x384685['UMNrK']][0x0];_0xefd37f&&(_0x4d251a[_0x384685[_0x5c633e(0x15e)]]=_0xefd37f[_0x384685['cHTRd']],_0x4d251a[_0x384685[_0x5c633e(0xb0)]]=_0xefd37f[_0x384685[_0x5c633e(0x176)]]);if(_0x18114a[_0x5c633e(0xad)])for(const _0x4959ce of _0x18114a[_0x5c633e(0xad)]){!_0x4959ce['finished_at']&&(_0x4959ce[_0x5c633e(0x171)]=new Date()[_0x5c633e(0xc8)](),_0x384685[_0x5c633e(0x10a)](_0x4959ce[_0x5c633e(0xcd)],_0x384685[_0x5c633e(0xde)])&&(_0xefd37f?(_0x4959ce[_0x5c633e(0xcd)]=_0x384685[_0x5c633e(0xd9)],_0x4959ce[_0x5c633e(0x135)]=_0xefd37f[_0x384685[_0x5c633e(0xb1)]][0x0]):_0x4959ce[_0x5c633e(0xcd)]=_0x384685[_0x5c633e(0x151)]));}const _0xf7768e={};_0xf7768e[_0x5c633e(0x15b)]=_0x44ecce[_0x5c633e(0x12a)]?TEST_EVENTS[_0x5c633e(0x11f)]:_0x25aaa3;const _0x1a4d83=_0xf7768e;return _0x44ecce[_0x5c633e(0x103)]?_0x1a4d83[_0x384685['tsKMo']]=_0x4d251a:_0x1a4d83[_0x384685[_0x5c633e(0x1a4)]]=_0x4d251a,_0x1a4d83;}catch(_0x1b1c2c){logger[_0x5c633e(0xf5)](_0x5c633e(0xfc)+_0x25aaa3+_0x5c633e(0xb4)+_0x1b1c2c);}}async[a4_0x143d67(0xe3)](_0x21b6b6,_0x3718de){const _0x2d838c=a4_0x143d67;if(!this[_0x2d838c(0xd6)]||!_0x3718de||!_0x21b6b6)return![];try{return await SessionHandler['uploadEventData'](_0x3718de);}catch(_0x145bce){logger[_0x2d838c(0xf5)](_0x2d838c(0x199)+_0x21b6b6+'\x20with\x20error\x20:\x20'+_0x145bce);}}[a4_0x143d67(0x174)](_0x2c26fa){const _0x2cffd9=a4_0x143d67,_0x51e70e={};_0x51e70e[_0x2cffd9(0xe2)]=_0x2cffd9(0x160);const _0x4ea9a5=_0x51e70e;return{'id':_0x2c26fa['stepAnalyticsId'],'text':_0x2c26fa['text'],'keyword':_0x2c26fa[_0x2cffd9(0x14c)],'started_at':_0x2c26fa[_0x2cffd9(0xc7)][_0x2cffd9(0xc8)](),'result':_0x4ea9a5[_0x2cffd9(0xe2)]};}['bddStepStart'](_0x304d15){const _0x3c130f=a4_0x143d67,_0xf69233={'BgVJm':function(_0x43145c){return _0x43145c();}};!this[_0x3c130f(0x143)][_0x3c130f(0xad)]&&(this['currentTest'][_0x3c130f(0xad)]=[]),!_0x304d15[_0x3c130f(0x15f)]&&(_0x304d15[_0x3c130f(0x15f)]=_0xf69233[_0x3c130f(0x13b)](uuidv4),_0x304d15[_0x3c130f(0xc7)]=new Date(),this[_0x3c130f(0x143)][_0x3c130f(0xad)][_0x3c130f(0x101)](this['initializeBddStep'](_0x304d15)));}[a4_0x143d67(0x17a)](_0x9b46a1){const _0x3f82ee=a4_0x143d67,_0x1d24ff={'tlyNu':function(_0x17a176,_0x1b5b41){return _0x17a176(_0x1b5b41);},'uGCfN':_0x3f82ee(0x13d),'OEYqc':_0x3f82ee(0x160),'VpOnq':_0x3f82ee(0xd4),'gjKbY':function(_0x303d18,_0x25c671){return _0x303d18-_0x25c671;}};let _0x2eadcd=this[_0x3f82ee(0x143)][_0x3f82ee(0xad)][_0x3f82ee(0x145)](_0xaa4ce9=>_0xaa4ce9['id']===_0x9b46a1[_0x3f82ee(0x15f)]);_0x1d24ff[_0x3f82ee(0xf1)](isUndefined,_0x2eadcd)&&(_0x2eadcd=this[_0x3f82ee(0x174)](_0x9b46a1)),_0x2eadcd['result']=[_0x1d24ff[_0x3f82ee(0xb3)],_0x1d24ff['OEYqc']][_0x3f82ee(0x13a)](_0x9b46a1['status'])?_0x1d24ff[_0x3f82ee(0xf6)]:_0x9b46a1['status'],_0x2eadcd[_0x3f82ee(0x171)]=new Date()[_0x3f82ee(0xc8)](),_0x2eadcd[_0x3f82ee(0x185)]=_0x1d24ff[_0x3f82ee(0xea)](Date[_0x3f82ee(0x113)](),_0x9b46a1[_0x3f82ee(0xc7)][_0x3f82ee(0x13f)]()),_0x2eadcd[_0x3f82ee(0x135)]=_0x9b46a1[_0x3f82ee(0x183)]?_0x9b46a1[_0x3f82ee(0x183)][_0x3f82ee(0x161)]:null;}}const a4_0x3b4ac0={};function a4_0x1ebf(){const _0x5f1ab9=['wsEndpoint','BrowserType','CBTSessionCreated','sStQw','FRXzZ','bvQsP','startedAt','toISOString','3rBZqSN','../../helpers/test-observability/requestQueueHandler','finished','relative','result','errorsDetailed','TtbYN','xqiLs','statSync','TEST_REPORTING_ANALYTICS','failed','passed','split','enabled','resetSkipTestHooks','TestRunSkipped','sVpDq','STATE_FAILED','dcsxf','comment','failureData','rMtyA','eziTE','config','prefixTestPath','QbJzL','fireEvent','setupBrowserDetails','sendCBTInfo','122481kUxCNl','ujMsU','pid','NXPIx','gjKbY','PLAYWRIGHT_HUB_URL','groups','browserType.js','_paths','rsZOB','FYiQe','tlyNu','_afterAll','HookRunStarted','../playwright/accessibility-helper','debug','VpOnq','getCBTInfo','FJDLD','rMtza','HOOK_RUN_STARTED','Hobnl','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','backtrace','EWxwh','YmmLH','getFailureType','push','../mocha/test-observability/mochaUtils','hook','30216XkmXzy','CKuVH','hookAnalyticsId','hook_run_uuid','sejOn','Izxxc','XbOfK','WIcFj','AXnco','TEST_RUN_STARTED','QTZPu','start','BROWSERSTACK','appendTestItemLog','TEST_EVENTS','now','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','934852WrTUEJ','Dchnl','_testEnv','qrVKg','test_run','1077215CFckoS','name','nWCDC','gXHJW','hCkZM','TEST_RUN_FINISHED','CODECEPT','uAknS','client','expanded','2|3|0|4|5|1','getRootParentFile','path','../../helpers/testhub/utils.js','string','meta','skipped','pJYmR','mapTestHooks','hook_run','cwd','feature','javascript','PsRPW','xfWbt','removeAllListeners','dirname','failure','UMmzb','findGitConfig','obsBrowserTypeMockApplied','_afterEach','includes','BgVJm','match','success','File\x20path\x20could\x20not\x20be\x20found','getTime','suites','getHooksForTest','CKHEP','currentTest','O11yHelper','find','TDXjN','.git','../../helpers/logger','toUpperCase','iAhqp','NOgGv','keyword','started','file_name','wIZYH','TEST_RUN_SKIPPED','QTAmI','failure_reason_expanded','toLowerCase','uploadEventData','TestRunStarted','test_run_uuid','concat','../../helpers/test-observability/utils','618010lUjSNd','PHEAl','event_type','codeceptjs','util','JZSks','stepAnalyticsId','pending','message','bYJaq','patchConsoleLogger','type','zQnpC','1458smAsGl','file','gabdi','qUYhV','testAnalyticsId','test','body','title','then','NQsod','385740ijjeYn','finished_at','krdWG','accessibilityPlatform','initializeBddStep','forEach','nDeaM','getHookType','TestRunFinished','bs:addLog:','bddStepFinish','CpWtH','browserstack','apply','integrations','length','BOzaT','location_prefix','WJLpT','err','failed\x20to\x20get\x20root\x20parent\x20file\x20','duration','getHierarchy','ScnTJ','defineProperty','EkUAS','279EJPKfA','launch','oENqq','join','rxIfd','6349zOgsbB','tags','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','exports','stringify','getInstance','toString','HookRunFinished','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','_beforeEach','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','RmfQq','cUHDL','ctx','markedStatus','captureEvent','__platformCaps','_beforeAll','failure_backtrace','fullTitle','currentHook','FiQjw','connect','lib','bddSteps','driver','UxiRN','rvaCT','cHTRd','uuid','uGCfN','\x20with\x20error\x20:\x20','LogCreated','parent','oNrZm','frameworkName','ehYQh','CaAQw','oxQUU','retryOf','HOOK_RUN_FINISHED','sep','inspect','../utils/constants'];a4_0x1ebf=function(){return _0x5f1ab9;};return a4_0x1ebf();}function a4_0x9ddf(_0x50c2a3,_0x3c1471){const _0x1ebf15=a4_0x1ebf();return a4_0x9ddf=function(_0x9ddf75,_0x34182c){_0x9ddf75=_0x9ddf75-0xab;let _0x2f54d5=_0x1ebf15[_0x9ddf75];return _0x2f54d5;},a4_0x9ddf(_0x50c2a3,_0x3c1471);}a4_0x3b4ac0[a4_0x143d67(0x144)]=O11yHelper,a4_0x3b4ac0['STATE_PASSED']=STATE_PASSED,a4_0x3b4ac0[a4_0x143d67(0xda)]=STATE_FAILED,a4_0x3b4ac0[a4_0x143d67(0x112)]=TEST_EVENTS,module[a4_0x143d67(0x192)]=a4_0x3b4ac0;