browserstack-node-sdk 1.48.1 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +3 -2
  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_0x5d3bc9=a1_0x34f0;(function(_0x3d5d2d,_0x24be46){const _0x41ea4f=a1_0x34f0,_0x59dc97=_0x3d5d2d();while(!![]){try{const _0x4a6ab8=-parseInt(_0x41ea4f(0x21e))/0x1*(-parseInt(_0x41ea4f(0x1e0))/0x2)+parseInt(_0x41ea4f(0x1f7))/0x3+-parseInt(_0x41ea4f(0x1f6))/0x4*(parseInt(_0x41ea4f(0x140))/0x5)+parseInt(_0x41ea4f(0x1ad))/0x6*(parseInt(_0x41ea4f(0x1eb))/0x7)+parseInt(_0x41ea4f(0x168))/0x8+-parseInt(_0x41ea4f(0x180))/0x9*(-parseInt(_0x41ea4f(0x1b8))/0xa)+-parseInt(_0x41ea4f(0x138))/0xb;if(_0x4a6ab8===_0x24be46)break;else _0x59dc97['push'](_0x59dc97['shift']());}catch(_0x29f828){_0x59dc97['push'](_0x59dc97['shift']());}}}(a1_0x33c7,0xd6b25));function a1_0x34f0(_0x1d898f,_0x4341a6){const _0x33c71a=a1_0x33c7();return a1_0x34f0=function(_0x34f074,_0x47013d){_0x34f074=_0x34f074-0x132;let _0x1f7713=_0x33c71a[_0x34f074];return _0x1f7713;},a1_0x34f0(_0x1d898f,_0x4341a6);}const fs=require('fs'),util=require(a1_0x5d3bc9(0x17a)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x5d3bc9(0x1b0)),logger=require(a1_0x5d3bc9(0x1c0))[a1_0x5d3bc9(0x184)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x5d3bc9(0x203)),PlaywrightSessionDetails=require(a1_0x5d3bc9(0x212)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x5d3bc9(0x204)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x5d3bc9(0x1fb)),AccessibilityHelper=require(a1_0x5d3bc9(0x187)),scripts=require(a1_0x5d3bc9(0x229)),PerformanceTester=require(a1_0x5d3bc9(0x193)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x5d3bc9(0x1a0)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x5d3bc9(0x1bf)),testHubConstants=require(a1_0x5d3bc9(0x1b9)),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule(a1_0x5d3bc9(0x165),'codeceptjs'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x5d3bc9(0x152)),CodeceptWebDriver=requireModule(a1_0x5d3bc9(0x191),a1_0x5d3bc9(0x152)),CodeceptRecorder=requireModule(a1_0x5d3bc9(0x236),a1_0x5d3bc9(0x152)),CodeceptPlaywright=requireModule(a1_0x5d3bc9(0x1d6),a1_0x5d3bc9(0x152)),playwrightMarkSessionStatus=(_0x34bb54,_0x54fb06,_0x28516c)=>{const _0x395ff6=a1_0x5d3bc9,_0x3af1b7={'piMwv':_0x395ff6(0x1e6),'GTPPQ':function(_0x18af20,_0x3cbc2d){return _0x18af20(_0x3cbc2d);}},_0x4ba12d={};_0x4ba12d[_0x395ff6(0x1ff)]=_0x54fb06;const _0x4feeb4={};_0x4feeb4[_0x395ff6(0x1fa)]=_0x3af1b7[_0x395ff6(0x145)],_0x4feeb4[_0x395ff6(0x19d)]=_0x4ba12d;const _0x520d90=_0x4feeb4;return!_0x3af1b7[_0x395ff6(0x1cb)](isUndefined,_0x28516c)&&(_0x520d90[_0x395ff6(0x19d)][_0x395ff6(0x1c2)]=JSON[_0x395ff6(0x19b)](_0x28516c)),_0x34bb54[_0x395ff6(0x146)](()=>{},_0x395ff6(0x19e)+JSON['stringify'](_0x520d90));},o11ySync=PerformanceTester[a1_0x5d3bc9(0x195)](PerformanceO11yEvents[a1_0x5d3bc9(0x13e)],async _0x30ca7f=>{const _0x2343ca=a1_0x5d3bc9,_0x33ffcd={};_0x33ffcd[_0x2343ca(0x14e)]=function(_0x1c222e,_0x3b4897){return _0x1c222e===_0x3b4897;},_0x33ffcd[_0x2343ca(0x13d)]=_0x2343ca(0x157);const _0x1e0e73=_0x33ffcd;_0x1e0e73[_0x2343ca(0x14e)](_0x30ca7f[_0x2343ca(0x1a8)][_0x2343ca(0x181)],_0x1e0e73[_0x2343ca(0x13d)])?await _0x30ca7f[_0x2343ca(0x146)](_0x2537a7=>{},testOpsHelper[_0x2343ca(0x161)]()):await _0x30ca7f[_0x2343ca(0x146)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x5d3bc9(0x195)](PerformanceAutEvents[a1_0x5d3bc9(0x16f)],async(_0x116b30,_0x48f9d3)=>{const _0x64e22=a1_0x5d3bc9,_0x456683={};_0x456683[_0x64e22(0x208)]=_0x64e22(0x1da),_0x456683[_0x64e22(0x176)]=function(_0xa61aaf,_0x5775e1){return _0xa61aaf===_0x5775e1;},_0x456683[_0x64e22(0x1af)]=_0x64e22(0x157);const _0x41fe93=_0x456683,_0x4baa10={};_0x4baa10['name']=_0x48f9d3;const _0x5c6d4e={};_0x5c6d4e[_0x64e22(0x1fa)]=_0x41fe93['BEdAd'],_0x5c6d4e[_0x64e22(0x19d)]=_0x4baa10;const _0x2468fd=_0x5c6d4e;_0x41fe93[_0x64e22(0x176)](_0x116b30[_0x64e22(0x1a8)][_0x64e22(0x181)],_0x41fe93['IuZTH'])?await _0x116b30[_0x64e22(0x146)](()=>{},_0x64e22(0x19e)+JSON[_0x64e22(0x19b)](_0x2468fd)):await _0x116b30['executeScript'](_0x64e22(0x19e)+JSON[_0x64e22(0x19b)](_0x2468fd));}),patchSaveScreenshot=_0x40846c=>{const _0x595199=a1_0x5d3bc9,_0x5504a3={'WMZtp':_0x595199(0x154),'FHutj':_0x595199(0x23d),'rMFCN':function(_0x253df1){return _0x253df1();},'gqyLc':function(_0x17fb3e,_0x5671a3){return _0x17fb3e(_0x5671a3);},'KRArI':_0x595199(0x18d)};_0x5504a3['gqyLc'](isTrue,process[_0x595199(0x22f)][_0x595199(0x199)])&&!_0x40846c['patchSaveScreenshot']&&(_0x40846c[_0x595199(0x1ec)]=!![],_0x40846c[_0x595199(0x153)]=_0x40846c['saveScreenshot'],_0x40846c[_0x595199(0x1fe)]=(_0x2224b9,_0x3fbf61=![])=>{const _0x2c0339=_0x595199,_0x4f4b51={'UBOVi':_0x5504a3[_0x2c0339(0x1b4)],'VuroY':_0x5504a3[_0x2c0339(0x170)],'oDKQj':function(_0x2564bc){const _0x96f544=_0x2c0339;return _0x5504a3[_0x96f544(0x142)](_0x2564bc);},'BKpPq':function(_0x2118b6,_0x50f0b6){const _0x185984=_0x2c0339;return _0x5504a3[_0x185984(0x21c)](_0x2118b6,_0x50f0b6);},'SSWGP':_0x5504a3['KRArI']};return new Promise(function(_0x44b118,_0x24fc90){const _0xc01705=_0x2c0339;_0x40846c[_0xc01705(0x153)](_0x2224b9,_0x3fbf61)[_0xc01705(0x186)](()=>{const _0x32abe7=_0xc01705,_0x292138=CodeceptUtils[_0x32abe7(0x215)](_0x2224b9);if(_0x292138){const _0xfe102a=fs[_0x32abe7(0x148)](_0x292138);process[_0x32abe7(0x198)](_0x32abe7(0x22a)+process[_0x32abe7(0x1ee)],{'timestamp':new Date()['toISOString'](),'message':_0xfe102a[_0x32abe7(0x1cd)](_0x4f4b51[_0x32abe7(0x22e)]),'kind':_0x4f4b51['VuroY']}),_0x4f4b51['oDKQj'](_0x44b118);}_0x4f4b51[_0x32abe7(0x1dc)](_0x24fc90,new Error(_0x4f4b51[_0x32abe7(0x20f)]));})[_0xc01705(0x219)](()=>null);});});},patchWebDriverBefore=_0x121f2c=>{const _0x513c44=a1_0x5d3bc9,_0x5b16ea={'Eshbw':function(_0x90862f){return _0x90862f();},'gFKFo':function(_0x531da7,_0x39d83f){return _0x531da7(_0x39d83f);},'olAlF':function(_0x133343,_0x14493d){return _0x133343===_0x14493d;},'GEfQN':_0x513c44(0x137),'iHOCY':_0x513c44(0x1cf),'ofeKx':function(_0x47dfb8,_0x272f98){return _0x47dfb8===_0x272f98;},'plAWO':_0x513c44(0x17f),'idfic':function(_0x52b311,_0x22fc96){return _0x52b311(_0x22fc96);}},_0x2df13f=async function(_0x4678fe,_0x365da){const _0x6efc19=_0x513c44;_0x5b16ea['Eshbw'](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x6efc19(0x1ac)]&&scripts[_0x6efc19(0x1c4)](_0x4678fe['name'])&&_0x5b16ea[_0x6efc19(0x1f8)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x6efc19(0x14d)]=!![],await PerformanceTester[_0x6efc19(0x195)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x41181e=_0x6efc19;logger['debug'](_0x41181e(0x179)+_0x4678fe[_0x41181e(0x228)]+'\x20'+_0x4678fe[_0x41181e(0x181)]),await AccessibilityHelper[_0x41181e(0x16e)](_0x121f2c,scripts[_0x41181e(0x15c)]);},{'command':_0x4678fe[_0x6efc19(0x181)]})());global[_0x6efc19(0x14d)]=![];const _0x480be7=JSON[_0x6efc19(0x1fd)](process[_0x6efc19(0x22f)][_0x6efc19(0x16a)]||'{}');if(_0x5b16ea['olAlF'](_0x480be7?.['testFramework']?.[_0x6efc19(0x181)],_0x5b16ea[_0x6efc19(0x209)])&&_0x5b16ea[_0x6efc19(0x201)](typeof _0x480be7?.[_0x6efc19(0x21f)]?.[_0x6efc19(0x1d2)],_0x5b16ea[_0x6efc19(0x17b)])&&_0x480be7?.[_0x6efc19(0x21f)]?.[_0x6efc19(0x1d2)]['startsWith']('7'))return _0x365da[_0x6efc19(0x173)](null,Array[_0x6efc19(0x1a5)][_0x6efc19(0x1f3)][_0x6efc19(0x1aa)](arguments,0x2));return _0x365da[_0x6efc19(0x173)](this,Array['prototype'][_0x6efc19(0x1f3)][_0x6efc19(0x1aa)](arguments,0x2));},_0x51c88e=CodeceptWebDriver['prototype']['_before'];CodeceptWebDriver[_0x513c44(0x1a5)]['_before']=async function(){const _0x5322b4=_0x513c44;try{await _0x51c88e[_0x5322b4(0x173)](this,arguments);}catch(_0x4b9d86){logger[_0x5322b4(0x1e7)](_0x5322b4(0x1b7)+util[_0x5322b4(0x1ca)](_0x4b9d86));}scripts[_0x5322b4(0x231)][_0x5322b4(0x20a)](_0x5959ef=>_0x5959ef[_0x5322b4(0x181)]&&_0x5959ef[_0x5322b4(0x228)])[_0x5322b4(0x14b)](_0x37c415=>{const _0x4adc3c=_0x5322b4;this[_0x4adc3c(0x1b1)][_0x4adc3c(0x1ae)](_0x37c415[_0x4adc3c(0x181)],_0x2df13f[_0x4adc3c(0x1c1)](this,_0x37c415),_0x5b16ea['ofeKx'](_0x37c415[_0x4adc3c(0x228)],_0x5b16ea[_0x4adc3c(0x166)]));}),_0x5b16ea[_0x5322b4(0x1bd)](processWebDriverConfig,_0x121f2c);};};function parseJwt(_0x164e82){const _0xb93342=a1_0x5d3bc9,_0x1078ef={};_0x1078ef['BzjYC']=_0xb93342(0x154);const _0x3482ef=_0x1078ef;if(!_0x164e82)return null;return JSON[_0xb93342(0x1fd)](Buffer['from'](_0x164e82[_0xb93342(0x1e5)]('.')[0x1],_0x3482ef[_0xb93342(0x177)])[_0xb93342(0x1cd)]());}const patchPlaywrightBefore=()=>{const _0x5d09d5=a1_0x5d3bc9,_0x356b6a={'msYQU':'--auto-open-devtools-for-tabs','KGBOo':function(_0x2e162e){return _0x2e162e();},'Zvuco':function(_0x11af8f,_0x47178c){return _0x11af8f(_0x47178c);},'wjmqA':function(_0x598a6d){return _0x598a6d();},'plmtI':_0x5d09d5(0x197),'sHutz':function(_0x1b0a9f,_0x8f6222){return _0x1b0a9f+_0x8f6222;},'BKEQQ':_0x5d09d5(0x13b),'UlsBc':function(_0x35d36a){return _0x35d36a();},'QpszW':function(_0x1dd28b){return _0x1dd28b();}};PlaywrightSessionDetails[_0x5d09d5(0x20c)]();const _0x5aacac=CodeceptPlaywright[_0x5d09d5(0x1a5)][_0x5d09d5(0x139)];CodeceptPlaywright[_0x5d09d5(0x1a5)][_0x5d09d5(0x139)]=async function(){const _0x8e94c2=_0x5d09d5,_0x209252={'UYJFV':function(_0x4ebba3){const _0x301960=a1_0x34f0;return _0x356b6a[_0x301960(0x17c)](_0x4ebba3);},'wjFpS':_0x356b6a[_0x8e94c2(0x225)]};this['browserContext']=await this[_0x8e94c2(0x1b1)][_0x8e94c2(0x15a)]()[0x0];const _0x5c014e=async()=>{const _0x35a5d3=_0x8e94c2,_0x1ee746=this[_0x35a5d3(0x1a9)]&&this[_0x35a5d3(0x1a9)][_0x35a5d3(0x1de)]&&this[_0x35a5d3(0x1a9)][_0x35a5d3(0x1de)][_0x35a5d3(0x227)]&&Array[_0x35a5d3(0x1f4)](this[_0x35a5d3(0x1a9)][_0x35a5d3(0x1de)][_0x35a5d3(0x227)])&&this[_0x35a5d3(0x1a9)][_0x35a5d3(0x1de)]['args'][_0x35a5d3(0x1a3)](_0x356b6a['msYQU']);if(_0x356b6a[_0x35a5d3(0x1c9)](isAccessibilityAutomationSession)&&!_0x1ee746)try{const _0x3e9b7c=_0x356b6a[_0x35a5d3(0x16d)](parseJwt,process[_0x35a5d3(0x22f)][_0x35a5d3(0x1dd)]);if(_0x3e9b7c&&_0x3e9b7c[_0x35a5d3(0x1e9)]&&_0x3e9b7c[_0x35a5d3(0x1e9)][_0x35a5d3(0x18e)]){const _0xd6f48c=this['browserContext'][_0x35a5d3(0x150)][_0x35a5d3(0x1c1)](this[_0x35a5d3(0x1cc)]);this[_0x35a5d3(0x1cc)][_0x35a5d3(0x150)]=async function(){const _0x4def28=_0x35a5d3,_0x4f76cf=await _0x209252[_0x4def28(0x174)](_0xd6f48c),_0x12334a=[];for(const _0x53d2b6 of _0x4f76cf){try{const _0x4f17aa=await _0x53d2b6[_0x4def28(0x234)]();!_0x4f17aa['startsWith'](_0x209252[_0x4def28(0x147)])&&_0x12334a[_0x4def28(0x205)](_0x53d2b6);}catch(_0x4c4e4e){_0x12334a['push'](_0x53d2b6);}}return _0x12334a;};}if(!_0x356b6a[_0x35a5d3(0x17c)](isBrowserstackInfra)){const _0x5546f6=await this[_0x35a5d3(0x156)][_0x35a5d3(0x234)]();if(_0x5546f6[_0x35a5d3(0x1a7)](_0x356b6a['plmtI'])){const _0x9291ea=await this[_0x35a5d3(0x1cc)]['pages']();this[_0x35a5d3(0x19f)](_0x9291ea[0x0]);}}}catch(_0x428bb1){logger[_0x35a5d3(0x1e7)](_0x35a5d3(0x132)+_0x428bb1[_0x35a5d3(0x1ab)]+(_0x428bb1[_0x35a5d3(0x202)]?_0x356b6a['sHutz'](_0x356b6a[_0x35a5d3(0x1f9)],_0x428bb1['stack']):''));}};_0x356b6a[_0x8e94c2(0x1e8)](isBrowserstackInfra)&&await _0x356b6a['KGBOo'](_0x5c014e),await _0x5aacac['apply'](this,arguments),!_0x356b6a[_0x8e94c2(0x158)](isBrowserstackInfra)&&await _0x356b6a[_0x8e94c2(0x1e8)](_0x5c014e);};},getCodeceptDriver=()=>{const _0xe0598a=a1_0x5d3bc9,_0x3aaf32={};_0x3aaf32[_0xe0598a(0x224)]=_0xe0598a(0x218),_0x3aaf32[_0xe0598a(0x1e4)]=_0xe0598a(0x157),_0x3aaf32[_0xe0598a(0x136)]='Puppeteer',_0x3aaf32[_0xe0598a(0x221)]=_0xe0598a(0x20b);const _0x45bc40=_0x3aaf32,_0x1594cc=[_0x45bc40[_0xe0598a(0x224)],_0x45bc40['LlzGl'],_0x45bc40[_0xe0598a(0x136)],_0x45bc40['InABE']],_0x42b3fe=_0x1594cc[_0xe0598a(0x15d)](_0x4dd728=>!!CodeceptJS['container']['helpers'](_0x4dd728));if(!_0x42b3fe)return null;return CodeceptJS[_0xe0598a(0x222)]['helpers'](_0x42b3fe);};function a1_0x33c7(){const _0x52e613=['JGJhx','Failed\x20to\x20execute\x20_before:\x20','3646690uxLtns','../../helpers/testhub/constants.js','INFO','__driver','Quruv','idfic','getAccessibilityResultsSummary','./helper.js','../../helpers/logger','bind','reason','hbJyW','shouldWrapCommand','test-skipped','all','test','event','KGBOo','format','GTPPQ','browserContext','toString','bddStep','string','bddStep-before','bddStepStart','version','LPHTM','currentTest','TEST_RUN_FINISHED','codeceptjs/lib/helper/Playwright.js','BROWSERSTACK_TESTHUB_JWT','SDK_POST_INITIALIZE','test-after','setSessionName','BROWSERSTACK_TESTHUB_UUID','BKpPq','BS_A11Y_JWT','chromium','FpCrg','103882EDRWNW','HOOK_RUN_STARTED','end','fWIBb','LlzGl','split','setSessionStatus','debug','UlsBc','a11y_core_config','znvJR','252kRgSSz','patchSaveScreenshot','LnOlL','pid','restore','ANizo','enabled','passed','slice','isArray','Suite','4cHyPDa','2566728ocDncH','gFKFo','BKEQQ','action','../../helpers/accessibility-automation/helper','command','parse','saveScreenshot','status','GET_RESULTS_SUMMARY','olAlF','stack','../../helpers/request-spy','./o11yHelper','push','started','title','BEdAd','GEfQN','filter','TestCafe','patch','ECRqY','MPyMf','SSWGP','MdrDc','eYLvh','../../bin/playwright/sessionDetails','skipSessionStatus','egUnb','screenshotOutputFolder','TEST_RUN_STARTED','testAnalyticsId','WebDriver','catch','nnLyi','fireEvent','gqyLc','SDK_PRE_TEST','25FGjKeO','testFramework','stopMonitoring','InABE','container','hook-failed','ViqAz','plmtI','qFRgJ','args','class','../../helpers/accessibility-automation/scripts','bs:addLog:','skipSessionName','setGlobal','after','UBOVi','env','ENV_VAR','commandsToWrap','dTfAH','KLxTy','url','lgHxC','codeceptjs/lib/recorder.js','titlePath','jrqPq','GET_RESULTS','hookType','hook','warn','TEST_SCREENSHOT','TEST_RUN_SKIPPED','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','hook-passed','eUDdC','oJEFk','Qyjnd','webdriverio','18568858xnLGRF','_before','test-started','\x0aStack:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','sasou','SYNC','OGtPq','8548745zwVRux','SDK_HOOK','rMFCN','xOpBP','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','piMwv','executeScript','wjFpS','readFileSync','addRequestSpy','ctx','forEach','dispatcher','bstackAllyScanning','BQdsc','stop','pages','PERFORM_SCAN','codeceptjs','initSaveScreenshot','base64','exports','page','Playwright','QpszW','getAccessibilityResults','contexts','before','performScan','find','getResultsSummary','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','gDLfA','getSyncScript','helpers','bddStep-after','BeHvS','codeceptjs/lib/index.js','plAWO','SDK_POST_TEST','7547112eLyDOU','rTwXE','FRAMEWORK_DETAILS','pAnhA','UscWl','Zvuco','browserStackExecuteDriver','SESSION_NAME','FHutj','step-comment','TEST_LOG','apply','UYJFV','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','oklMU','BzjYC','test-failed','Performing\x20scan\x20for\x20','util','iHOCY','wjmqA','skipped','toISOString','Element','18LZBgeZ','name','hook-started','bddStepFinish','winstonLogger','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','then','../../bin/playwright/accessibility-helper','hqurn','jcFrW','SESSION_STATUS','ULfGi','TfUCO','Screenshot\x20path\x20not\x20found','domForge','TyNSd','xFbBG','codeceptjs/lib/helper/WebDriver.js','saveTestResults','../../helpers/performance/performance-tester','start','measureWrapper','HOOK_RUN_FINISHED','devtools://','emit','BS_TESTOPS_ALLOW_SCREENSHOTS','captureEvent','stringify','XbsVP','arguments','browserstack_executor:\x20','_setPage','../../helpers/performance/constants','add','SDK_TEST','includes','startMonitoring','prototype','SAVE_RESULTS','startsWith','constructor','config','call','message','accessibilityPlatform','75066QwvMNC','overwriteCommand','IuZTH','../../helpers/helper','browser','FSaVp','captureError','WMZtp','__workerDetails'];a1_0x33c7=function(){return _0x52e613;};return a1_0x33c7();}module[a1_0x5d3bc9(0x155)]=function(_0x7457d0){const _0x40fa14=a1_0x5d3bc9,_0x5e58a7={'hbJyW':function(_0x2c445a){return _0x2c445a();},'UscWl':function(_0x64992d,_0x592609){return _0x64992d(_0x592609);},'LPHTM':_0x40fa14(0x1be),'gDLfA':_0x40fa14(0x13c),'MdrDc':_0x40fa14(0x159),'ANizo':_0x40fa14(0x144),'fWIBb':_0x40fa14(0x182),'TyNSd':_0x40fa14(0x133),'KLxTy':_0x40fa14(0x223),'xFbBG':'browserstackTestName','LnOlL':'test-before','jcFrW':function(_0x598c09){return _0x598c09();},'nnLyi':function(_0x395f2b,_0x27b498,_0x42d383){return _0x395f2b(_0x27b498,_0x42d383);},'ECRqY':function(_0x4af163,_0x51b730){return _0x4af163(_0x51b730);},'hqurn':_0x40fa14(0x13a),'pAnhA':function(_0xc998da,_0x33b510,_0x217eae){return _0xc998da(_0x33b510,_0x217eae);},'egUnb':function(_0x195a9c){return _0x195a9c();},'qFRgJ':'test-passed','Quruv':function(_0x1960e8,_0x49537a,_0x1022e7,_0x246fb7){return _0x1960e8(_0x49537a,_0x1022e7,_0x246fb7);},'XbsVP':function(_0x2dadd7,_0x3953e3){return _0x2dadd7===_0x3953e3;},'lgHxC':_0x40fa14(0x1f5),'eUDdC':_0x40fa14(0x178),'dTfAH':_0x40fa14(0x1c5),'jrqPq':'afterTest','FSaVp':_0x40fa14(0x175),'MPyMf':_0x40fa14(0x1d9),'TfUCO':_0x40fa14(0x1ba),'oJEFk':_0x40fa14(0x172),'znvJR':_0x40fa14(0x171),'BeHvS':_0x40fa14(0x1d0),'OGtPq':_0x40fa14(0x163),'rTwXE':_0x40fa14(0x157)};_0x7457d0[_0x40fa14(0x213)]&&(global['__skipSessionStatus']=_0x7457d0[_0x40fa14(0x213)]);PerformanceTester[_0x40fa14(0x1a4)]();const _0x3f609a=_0x5e58a7[_0x40fa14(0x189)](getCodeceptDriver),_0x2537c8=new O11yHelper(_0x3f609a,_0x7457d0),_0x5cb146=!!CodeceptJS['container'][_0x40fa14(0x162)](_0x5e58a7[_0x40fa14(0x169)]);global[_0x40fa14(0x1bb)]=_0x3f609a,_0x3f609a&&(PerformanceTester['measureWrapper'](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x2b4525=_0x40fa14;_0x5cb146?_0x5e58a7[_0x2b4525(0x1c3)](patchPlaywrightBefore):_0x5e58a7[_0x2b4525(0x16c)](patchWebDriverBefore,_0x3f609a);})(),PerformanceTester[_0x40fa14(0x195)](PerformanceEvents[_0x40fa14(0x1d8)],()=>{const _0x51a283=_0x40fa14,_0x3111ab={};_0x3111ab[_0x51a283(0x143)]=_0x5e58a7[_0x51a283(0x210)],_0x3111ab[_0x51a283(0x211)]=_0x5e58a7[_0x51a283(0x1f0)];const _0x3c93d8=_0x3111ab;_0x3f609a[_0x51a283(0x1be)]=async()=>{const _0x3421aa=_0x51a283;if(global[_0x3421aa(0x1ac)]){const _0x46de45={};return _0x46de45[_0x3421aa(0x1fc)]=_0x5e58a7[_0x3421aa(0x1d3)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3421aa(0x151)],async()=>{const _0x45b4ce=_0x3421aa;return await AccessibilityHelper[_0x45b4ce(0x16e)](_0x3f609a,scripts[_0x45b4ce(0x15c)]);},_0x46de45)(),await PerformanceTester[_0x3421aa(0x195)](PerformanceA11yEvents[_0x3421aa(0x200)],async()=>{const _0x190aeb=_0x3421aa;return await AccessibilityHelper[_0x190aeb(0x16e)](_0x3f609a,scripts[_0x190aeb(0x15e)]);})();}return logger[_0x3421aa(0x23c)](_0x5e58a7[_0x3421aa(0x160)]),{};},_0x3f609a[_0x51a283(0x159)]=async()=>{const _0x52f5e0=_0x51a283;if(global['accessibilityPlatform']){const _0x1ed3d4={};return _0x1ed3d4[_0x52f5e0(0x1fc)]=_0x3c93d8[_0x52f5e0(0x143)],await PerformanceTester[_0x52f5e0(0x195)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x3f609a,scripts['performScan']);},_0x1ed3d4)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x52f5e0(0x239)],async()=>{const _0x4ed966=_0x52f5e0;return await AccessibilityHelper[_0x4ed966(0x16e)](_0x3f609a,scripts['getResults']);})();}return logger[_0x52f5e0(0x23c)](_0x3c93d8[_0x52f5e0(0x211)]),{};},_0x5e58a7[_0x51a283(0x16c)](patchSaveScreenshot,_0x3f609a);})()),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x1c6)][_0x40fa14(0x15b)],()=>{const _0x11dfa8=_0x40fa14;PerformanceTester[_0x11dfa8(0x194)](PerformanceEvents[_0x11dfa8(0x21d)]);try{_0x2537c8[_0x11dfa8(0x194)](),testOpsHelper[_0x11dfa8(0x149)](),PerformanceTester['end'](PerformanceEvents[_0x11dfa8(0x21d)]);}catch(_0x2811ba){PerformanceTester[_0x11dfa8(0x1b3)](_0x2811ba),PerformanceTester[_0x11dfa8(0x1e2)](PerformanceEvents[_0x11dfa8(0x21d)],![],_0x2811ba);}}),CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x14c)]['on'](CodeceptJS[_0x40fa14(0x1c8)]['all']['after'],async()=>{const _0x539f35=_0x40fa14;PerformanceTester['start'](PerformanceEvents[_0x539f35(0x167)]);try{requestSpy[_0x539f35(0x1ef)](),await _0x2537c8[_0x539f35(0x14f)](),PerformanceTester['end'](PerformanceEvents[_0x539f35(0x167)]);}catch(_0x32aeba){PerformanceTester[_0x539f35(0x1b3)](_0x32aeba),PerformanceTester[_0x539f35(0x1e2)](PerformanceEvents[_0x539f35(0x167)],![],_0x32aeba);}finally{PerformanceTester[_0x539f35(0x220)]();}}),CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x14c)]['on'](CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x23b)][_0x40fa14(0x206)],_0xab06b3=>{const _0x14b09d=_0x40fa14;PerformanceTester[_0x14b09d(0x194)](PerformanceEvents['SDK_HOOK']);try{const _0x5c23cb=_0xab06b3['ctx']['test'],_0x2bdd81=_0x2537c8[_0x14b09d(0x19a)](TEST_EVENTS[_0x14b09d(0x1e1)],_0x5c23cb);CodeceptRecorder[_0x14b09d(0x1a1)](()=>_0x2537c8[_0x14b09d(0x21b)](TEST_EVENTS[_0x14b09d(0x1e1)],_0x2bdd81));const _0x2bcb66={};_0x2bcb66[_0x14b09d(0x23a)]=_0x5e58a7['fWIBb'],PerformanceTester[_0x14b09d(0x1e2)](PerformanceEvents[_0x14b09d(0x141)],!![],null,_0x2bcb66);}catch(_0x42f545){const _0x145ff6={};_0x145ff6[_0x14b09d(0x23a)]=_0x5e58a7[_0x14b09d(0x1e3)],PerformanceTester['end'](PerformanceEvents[_0x14b09d(0x141)],![],_0x42f545,_0x145ff6),PerformanceTester[_0x14b09d(0x1b3)](_0x42f545);}}),CodeceptJS['event'][_0x40fa14(0x14c)]['on'](CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x23b)]['passed'],_0x3eefda=>{const _0xaf3f97=_0x40fa14,_0x171841={};_0x171841[_0xaf3f97(0x23a)]=_0x5e58a7[_0xaf3f97(0x18f)],PerformanceTester[_0xaf3f97(0x194)](PerformanceHookEvents[_0xaf3f97(0x141)],!![],null,_0x171841);try{const _0x3ade17=_0x3eefda[_0xaf3f97(0x14a)][_0xaf3f97(0x1c7)],_0x1733e7=_0x2537c8[_0xaf3f97(0x19a)](TEST_EVENTS[_0xaf3f97(0x196)],_0x3ade17);CodeceptRecorder['add'](()=>_0x2537c8[_0xaf3f97(0x21b)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x1733e7));const _0x43ac22={};_0x43ac22[_0xaf3f97(0x23a)]=_0x5e58a7[_0xaf3f97(0x18f)],PerformanceTester[_0xaf3f97(0x1e2)](PerformanceHookEvents[_0xaf3f97(0x141)],!![],null,_0x43ac22);}catch(_0x5dcd12){PerformanceTester[_0xaf3f97(0x1b3)](_0x5dcd12);const _0x5e2479={};_0x5e2479['hookType']=_0x5e58a7[_0xaf3f97(0x18f)],PerformanceTester[_0xaf3f97(0x1e2)](PerformanceHookEvents[_0xaf3f97(0x141)],![],_0x5dcd12,_0x5e2479);}}),CodeceptJS[_0x40fa14(0x1c8)]['dispatcher']['on'](CodeceptJS['event'][_0x40fa14(0x23b)]['failed'],async(_0x53204d,_0xf75eb0)=>{const _0x312e77=_0x40fa14;PerformanceTester[_0x312e77(0x194)](PerformanceHookEvents[_0x312e77(0x141)]);try{const _0x4f921a=_0x53204d['ctx'][_0x312e77(0x1c7)],_0x27ead5=_0x2537c8[_0x312e77(0x19a)](TEST_EVENTS[_0x312e77(0x196)],_0x4f921a,_0xf75eb0);CodeceptRecorder[_0x312e77(0x1a1)](()=>_0x2537c8[_0x312e77(0x21b)](TEST_EVENTS[_0x312e77(0x196)],_0x27ead5));const _0x2a6a11={};_0x2a6a11['hookType']=_0x5e58a7[_0x312e77(0x233)],PerformanceTester[_0x312e77(0x194)](PerformanceHookEvents[_0x312e77(0x141)],!![],null,_0x2a6a11);}catch(_0x2e7ab9){PerformanceTester['captureError'](_0x2e7ab9);const _0x4e99e1={};_0x4e99e1[_0x312e77(0x23a)]=_0x5e58a7[_0x312e77(0x233)],PerformanceTester[_0x312e77(0x1e2)](PerformanceHookEvents['SDK_HOOK'],![],_0x2e7ab9,_0x4e99e1);}const _0x682e7={};_0x682e7[_0x312e77(0x23a)]=_0x5e58a7['KLxTy'],PerformanceTester['end'](PerformanceHookEvents[_0x312e77(0x141)],!![],null,_0x682e7);}),CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x14c)]['on'](CodeceptJS[_0x40fa14(0x1c8)]['test']['before'],_0x379b20=>{const _0x309641=_0x40fa14;PerformanceTester[_0x309641(0x194)](PerformanceHookEvents[_0x309641(0x141)]);try{globals[_0x309641(0x22c)](_0x5e58a7['xFbBG'],_0x379b20[_0x309641(0x207)]);_0x5e58a7[_0x309641(0x1c3)](isBrowserstackInfra)&&(_0x5cb146&&(global[_0x309641(0x1b5)]={'currentTest':{'name':_0x379b20['title'],'testInfo':{'titlePath':_0x379b20[_0x309641(0x237)]()}}}));const _0x3e96a6={};_0x3e96a6[_0x309641(0x23a)]=_0x5e58a7[_0x309641(0x1ed)],PerformanceTester[_0x309641(0x1e2)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3e96a6);}catch(_0x32e840){PerformanceTester[_0x309641(0x1b3)](_0x32e840);const _0x5192ce={};_0x5192ce[_0x309641(0x23a)]=_0x5e58a7['LnOlL'],PerformanceTester[_0x309641(0x1e2)](PerformanceHookEvents[_0x309641(0x141)],![],_0x32e840,_0x5192ce);}}),CodeceptJS[_0x40fa14(0x1c8)]['dispatcher']['on'](CodeceptJS['event'][_0x40fa14(0x1c7)][_0x40fa14(0x206)],_0x194f02=>{const _0x2753db=_0x40fa14;PerformanceTester[_0x2753db(0x194)](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x5e58a7[_0x2753db(0x190)],_0x194f02[_0x2753db(0x207)]);const _0x5353d5=_0x2537c8[_0x2753db(0x19a)](TEST_EVENTS['TEST_RUN_STARTED'],_0x194f02);CodeceptRecorder['add'](()=>_0x2537c8[_0x2753db(0x21b)](TEST_EVENTS[_0x2753db(0x216)],_0x5353d5)),CodeceptRecorder['add'](async()=>{const _0x32b80d=_0x2753db;_0x5e58a7[_0x32b80d(0x189)](isBrowserstackInfra)&&(!_0x5e58a7['UscWl'](isTrue,_0x7457d0[_0x32b80d(0x22b)])&&await _0x5e58a7[_0x32b80d(0x21a)](markSessionName,_0x3f609a,_0x194f02[_0x32b80d(0x207)]),_0x2537c8[_0x32b80d(0x1f1)]&&await _0x5e58a7[_0x32b80d(0x20d)](o11ySync,_0x3f609a));});}catch(_0x321257){const _0xf15249={};_0xf15249[_0x2753db(0x23a)]=_0x5e58a7['hqurn'],PerformanceTester['end'](PerformanceHookEvents[_0x2753db(0x141)],![],_0x321257,_0xf15249),PerformanceTester[_0x2753db(0x1b3)](_0x321257);}const _0x46b0b1={};_0x46b0b1[_0x2753db(0x23a)]=_0x5e58a7[_0x2753db(0x188)],PerformanceTester['end'](PerformanceHookEvents[_0x2753db(0x141)],!![],null,_0x46b0b1);}),CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x14c)]['on'](CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x1c7)][_0x40fa14(0x1f2)],_0x81ec40=>{const _0x23b565=_0x40fa14,_0x7e7b36={'yJvSb':function(_0x41e43b,_0x257731,_0x26b338){const _0x222462=a1_0x34f0;return _0x5e58a7[_0x222462(0x16b)](_0x41e43b,_0x257731,_0x26b338);},'FpCrg':function(_0xec1f30){const _0x2331f9=a1_0x34f0;return _0x5e58a7[_0x2331f9(0x214)](_0xec1f30);}};PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x593c25=_0x2537c8[_0x23b565(0x19a)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x81ec40);CodeceptRecorder[_0x23b565(0x1a1)](()=>_0x2537c8[_0x23b565(0x21b)](TEST_EVENTS[_0x23b565(0x1d5)],_0x593c25)),CodeceptRecorder[_0x23b565(0x1a1)](async()=>{const _0x2ffb7b=_0x23b565,_0x4dcd6d={'ULfGi':function(_0x152a5a,_0x44b421,_0x1f98db){return _0x7e7b36['yJvSb'](_0x152a5a,_0x44b421,_0x1f98db);}};_0x7e7b36[_0x2ffb7b(0x1df)](isBrowserstackInfra)&&await PerformanceTester[_0x2ffb7b(0x195)](PerformanceAutEvents[_0x2ffb7b(0x18a)],async()=>{const _0x4b35a5=_0x2ffb7b;_0x5cb146?await _0x4dcd6d[_0x4b35a5(0x18b)](playwrightMarkSessionStatus,_0x3f609a,STATE_PASSED):await _0x4dcd6d[_0x4b35a5(0x18b)](markSessionStatus,_0x3f609a,STATE_PASSED);})();}),PerformanceTester[_0x23b565(0x1e2)](PerformanceEvents[_0x23b565(0x1a2)]);}catch(_0x2b2ffe){PerformanceTester[_0x23b565(0x1b3)](_0x2b2ffe);const _0x5afc6c={};_0x5afc6c['hookType']=_0x5e58a7[_0x23b565(0x226)],PerformanceTester[_0x23b565(0x1e2)](PerformanceHookEvents[_0x23b565(0x141)],![],_0x2b2ffe,_0x5afc6c),PerformanceTester[_0x23b565(0x1e2)](PerformanceEvents[_0x23b565(0x1a2)],![],_0x2b2ffe);}const _0x3cee1e={};_0x3cee1e[_0x23b565(0x23a)]=_0x5e58a7['qFRgJ'],PerformanceTester[_0x23b565(0x1e2)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3cee1e);}),CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x14c)]['on'](CodeceptJS[_0x40fa14(0x1c8)]['test']['failed'],(_0x58b2e3,_0x1cad12)=>{const _0x28ad94=_0x40fa14;PerformanceTester[_0x28ad94(0x194)](PerformanceHookEvents[_0x28ad94(0x141)]);try{if(_0x5e58a7[_0x28ad94(0x19c)](_0x58b2e3[_0x28ad94(0x1a8)]['name'],_0x5e58a7[_0x28ad94(0x235)])){const _0x1ee61f=_0x2537c8[_0x28ad94(0x19a)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x58b2e3[_0x28ad94(0x14a)][_0x28ad94(0x1d4)]);CodeceptRecorder['add'](()=>_0x2537c8[_0x28ad94(0x21b)](TEST_EVENTS[_0x28ad94(0x23e)],_0x1ee61f));}else{const _0x3c9147=_0x2537c8[_0x28ad94(0x19a)](TEST_EVENTS[_0x28ad94(0x1d5)],_0x58b2e3,_0x1cad12);CodeceptRecorder[_0x28ad94(0x1a1)](()=>{const _0x4c8151=_0x28ad94;try{_0x2537c8[_0x4c8151(0x21b)](TEST_EVENTS[_0x4c8151(0x1d5)],_0x3c9147);}catch(_0x21f840){logger[_0x4c8151(0x1e7)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x4c8151(0x1ca)](_0x21f840)),PerformanceTester[_0x4c8151(0x1e2)](PerformanceEvents[_0x4c8151(0x1a2)],![],_0x21f840);}}),CodeceptRecorder[_0x28ad94(0x1a1)](async()=>{const _0x47a5cd=_0x28ad94;try{_0x5e58a7['jcFrW'](isBrowserstackInfra)&&(_0x5cb146?await _0x5e58a7[_0x47a5cd(0x1bc)](playwrightMarkSessionStatus,_0x3f609a,STATE_FAILED,_0x1cad12):await _0x5e58a7[_0x47a5cd(0x1bc)](markSessionStatus,_0x3f609a,STATE_FAILED,_0x1cad12));}catch(_0x23c84a){logger[_0x47a5cd(0x1e7)](_0x47a5cd(0x185)+util[_0x47a5cd(0x1ca)](_0x23c84a)),PerformanceTester[_0x47a5cd(0x1e2)](PerformanceEvents[_0x47a5cd(0x1a2)],![],_0x23c84a);}});}PerformanceTester[_0x28ad94(0x1e2)](PerformanceEvents[_0x28ad94(0x1a2)]);}catch(_0x702ed3){PerformanceTester[_0x28ad94(0x1b3)](_0x702ed3);const _0x2f5752={};_0x2f5752[_0x28ad94(0x23a)]=_0x5e58a7[_0x28ad94(0x134)],PerformanceTester[_0x28ad94(0x1e2)](PerformanceHookEvents[_0x28ad94(0x141)],![],_0x702ed3,_0x2f5752),PerformanceTester[_0x28ad94(0x1e2)](PerformanceEvents[_0x28ad94(0x1a2)],![],_0x702ed3);}const _0x5f1887={};_0x5f1887[_0x28ad94(0x23a)]=_0x5e58a7[_0x28ad94(0x134)],PerformanceTester['end'](PerformanceHookEvents[_0x28ad94(0x141)],!![],null,_0x5f1887);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event']['test'][_0x40fa14(0x17d)],_0x44d280=>{const _0x43ca15=_0x40fa14;PerformanceTester[_0x43ca15(0x194)](PerformanceHookEvents[_0x43ca15(0x141)]);try{const _0x3bac4e=_0x2537c8[_0x43ca15(0x19a)](TEST_EVENTS[_0x43ca15(0x23e)],_0x44d280);CodeceptRecorder[_0x43ca15(0x1a1)](()=>_0x2537c8[_0x43ca15(0x21b)](TEST_EVENTS[_0x43ca15(0x23e)],_0x3bac4e)),PerformanceTester[_0x43ca15(0x1e2)](PerformanceEvents[_0x43ca15(0x1a2)]);}catch(_0x5382c6){PerformanceTester[_0x43ca15(0x1b3)](_0x5382c6),PerformanceTester[_0x43ca15(0x1e2)](PerformanceEvents[_0x43ca15(0x1a2)],![],_0x5382c6);const _0x11fe63={};_0x11fe63[_0x43ca15(0x23a)]=_0x5e58a7[_0x43ca15(0x232)],PerformanceTester[_0x43ca15(0x1e2)](PerformanceHookEvents[_0x43ca15(0x141)],![],_0x5382c6,_0x11fe63);}const _0x3c77a9={};_0x3c77a9[_0x43ca15(0x23a)]=_0x5e58a7[_0x43ca15(0x232)],PerformanceTester[_0x43ca15(0x1e2)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3c77a9);}),CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x14c)]['on'](CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x1c7)][_0x40fa14(0x22d)],async(_0x4cc848,_0x14ef2a)=>{const _0xfb15aa=_0x40fa14,_0x3025db={};_0x3025db[_0xfb15aa(0x1b6)]=_0x5e58a7[_0xfb15aa(0x238)];const _0x25f59b=_0x3025db;try{PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);const _0x14b187=_0x5e58a7[_0xfb15aa(0x21a)](shouldScanTestForAccessibility,_0x4cc848[_0xfb15aa(0x237)](),!![]);if(_0x5e58a7[_0xfb15aa(0x189)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x14b187){const _0x166a86={};_0x166a86['thTestRunUuid']=_0x4cc848[_0xfb15aa(0x217)],_0x166a86['thBuildUuid']=process[_0xfb15aa(0x22f)][testHubConstants['ENV_VAR'][_0xfb15aa(0x1db)]],_0x166a86['thJwtToken']=process[_0xfb15aa(0x22f)][testHubConstants[_0xfb15aa(0x230)][_0xfb15aa(0x1d7)]];const _0x1f84d7=_0x166a86;logger[_0xfb15aa(0x1e7)](_0xfb15aa(0x15f)+JSON['stringify'](_0x1f84d7)),CodeceptRecorder[_0xfb15aa(0x1a1)](async()=>{const _0x246d09=_0xfb15aa,_0x51ae5f={};_0x51ae5f['command']=_0x25f59b[_0x246d09(0x1b6)],await PerformanceTester[_0x246d09(0x195)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x291daa=_0x246d09;await AccessibilityHelper[_0x291daa(0x16e)](_0x3f609a,scripts[_0x291daa(0x15c)]);},_0x51ae5f)(),await PerformanceTester[_0x246d09(0x195)](PerformanceA11yEvents[_0x246d09(0x1a6)],async()=>{const _0x2918f6=_0x246d09;await AccessibilityHelper[_0x2918f6(0x16e)](_0x3f609a,scripts[_0x2918f6(0x192)],_0x1f84d7);})();}),logger['info'](_0x5e58a7[_0xfb15aa(0x1b2)]);}const _0x21c0d3={};_0x21c0d3[_0xfb15aa(0x23a)]=_0x5e58a7[_0xfb15aa(0x20e)],PerformanceTester[_0xfb15aa(0x1e2)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x21c0d3);}catch(_0x59f011){PerformanceTester['captureError'](_0x59f011);const _0x3f93f7={};_0x3f93f7[_0xfb15aa(0x23a)]=_0x5e58a7['MPyMf'],PerformanceTester[_0xfb15aa(0x1e2)](PerformanceHookEvents[_0xfb15aa(0x141)],![],_0x59f011,_0x3f93f7);}}),CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x14c)]['on'](CodeceptJS[_0x40fa14(0x1c8)]['step']['comment'],_0x49be04=>{const _0x3801da=_0x40fa14;PerformanceTester['start'](PerformanceHookEvents[_0x3801da(0x141)]);try{process['emit'](_0x3801da(0x22a)+process[_0x3801da(0x1ee)],{'timestamp':new Date()[_0x3801da(0x17e)](),'level':_0x5e58a7[_0x3801da(0x18c)],'message':_0x49be04,'kind':_0x5e58a7[_0x3801da(0x135)],'http_response':{}});}catch(_0x597528){PerformanceTester[_0x3801da(0x1b3)](_0x597528);const _0x305926={};_0x305926[_0x3801da(0x23a)]=_0x5e58a7[_0x3801da(0x1ea)],PerformanceTester[_0x3801da(0x1e2)](PerformanceHookEvents['SDK_HOOK'],![],_0x597528,_0x305926);}const _0x5e8f4f={};_0x5e8f4f[_0x3801da(0x23a)]=_0x5e58a7['znvJR'],PerformanceTester[_0x3801da(0x1e2)](PerformanceHookEvents[_0x3801da(0x141)],!![],null,_0x5e8f4f);}),CodeceptJS[_0x40fa14(0x1c8)]['dispatcher']['on'](CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x1ce)]['before'],_0x3eec2f=>{const _0x42ac28=_0x40fa14,_0x373ef1={};_0x373ef1[_0x42ac28(0x23a)]=_0x5e58a7[_0x42ac28(0x164)],PerformanceTester[_0x42ac28(0x195)](PerformanceHookEvents[_0x42ac28(0x141)],()=>{const _0x34b8a8=_0x42ac28;_0x2537c8[_0x34b8a8(0x1d1)](_0x3eec2f);},_0x373ef1)();}),CodeceptJS[_0x40fa14(0x1c8)][_0x40fa14(0x14c)]['on'](CodeceptJS['event'][_0x40fa14(0x1ce)][_0x40fa14(0x22d)],_0x1572b5=>{const _0x12cc2d=_0x40fa14,_0x2f7fd3={};_0x2f7fd3['hookType']=_0x5e58a7[_0x12cc2d(0x13f)],PerformanceTester[_0x12cc2d(0x195)](PerformanceHookEvents[_0x12cc2d(0x141)],()=>{const _0x2ca8eb=_0x12cc2d;_0x2537c8[_0x2ca8eb(0x183)](_0x1572b5);},_0x2f7fd3)();});};
1
+ const a1_0x301699=a1_0xe457;(function(_0x2645c2,_0x5ec410){const _0x28e5f3=a1_0xe457,_0xf7c875=_0x2645c2();while(!![]){try{const _0x241d6f=-parseInt(_0x28e5f3(0x214))/0x1*(parseInt(_0x28e5f3(0x1d2))/0x2)+parseInt(_0x28e5f3(0x236))/0x3*(parseInt(_0x28e5f3(0x1b7))/0x4)+-parseInt(_0x28e5f3(0x23f))/0x5*(parseInt(_0x28e5f3(0x268))/0x6)+-parseInt(_0x28e5f3(0x1ea))/0x7*(parseInt(_0x28e5f3(0x1b4))/0x8)+parseInt(_0x28e5f3(0x1ce))/0x9+-parseInt(_0x28e5f3(0x210))/0xa+-parseInt(_0x28e5f3(0x221))/0xb*(-parseInt(_0x28e5f3(0x1f7))/0xc);if(_0x241d6f===_0x5ec410)break;else _0xf7c875['push'](_0xf7c875['shift']());}catch(_0x74d37f){_0xf7c875['push'](_0xf7c875['shift']());}}}(a1_0x5cb3,0xb7f04));const fs=require('fs'),util=require(a1_0x301699(0x1ee)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x301699(0x1cc))['winstonLogger'],testOpsHelper=require(a1_0x301699(0x1ac)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x301699(0x1b6)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x301699(0x18e)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x301699(0x27c)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x301699(0x234)),testHubConstants=require(a1_0x301699(0x27f)),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule(a1_0x301699(0x1f5),a1_0x301699(0x1d7)),CodeceptUtils=requireModule(a1_0x301699(0x18b),'codeceptjs'),CodeceptWebDriver=requireModule(a1_0x301699(0x1e8),a1_0x301699(0x1d7)),CodeceptRecorder=requireModule(a1_0x301699(0x19f),a1_0x301699(0x1d7)),CodeceptPlaywright=requireModule(a1_0x301699(0x251),'codeceptjs'),playwrightMarkSessionStatus=(_0x2b341a,_0x51b5a6,_0x2d14b0)=>{const _0x24c865=a1_0x301699,_0x2524de={'qOoni':_0x24c865(0x21e),'MkUuA':function(_0x1f2644,_0x533fac){return _0x1f2644(_0x533fac);}},_0x8c486d={};_0x8c486d[_0x24c865(0x229)]=_0x51b5a6;const _0xfaafd0={};_0xfaafd0[_0x24c865(0x20d)]=_0x2524de[_0x24c865(0x195)],_0xfaafd0['arguments']=_0x8c486d;const _0x16be1a=_0xfaafd0;return!_0x2524de[_0x24c865(0x1f4)](isUndefined,_0x2d14b0)&&(_0x16be1a[_0x24c865(0x284)]['reason']=JSON[_0x24c865(0x1ad)](_0x2d14b0)),_0x2b341a[_0x24c865(0x245)](()=>{},_0x24c865(0x25a)+JSON[_0x24c865(0x1ad)](_0x16be1a));},o11ySync=PerformanceTester[a1_0x301699(0x19c)](PerformanceO11yEvents[a1_0x301699(0x20b)],async _0x194399=>{const _0x76bc2d=a1_0x301699,_0xee9c60={};_0xee9c60[_0x76bc2d(0x193)]=function(_0x544b15,_0x82daf2){return _0x544b15===_0x82daf2;},_0xee9c60['GkisM']=_0x76bc2d(0x1fc);const _0x5d4614=_0xee9c60;_0x5d4614[_0x76bc2d(0x193)](_0x194399[_0x76bc2d(0x22d)][_0x76bc2d(0x208)],_0x5d4614[_0x76bc2d(0x1d9)])?await _0x194399[_0x76bc2d(0x245)](_0x136b4f=>{},testOpsHelper[_0x76bc2d(0x249)]()):await _0x194399[_0x76bc2d(0x245)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x301699(0x19c)](PerformanceAutEvents[a1_0x301699(0x241)],async(_0x44a9ed,_0x1f5d84)=>{const _0x467fdf=a1_0x301699,_0xd10b61={};_0xd10b61[_0x467fdf(0x282)]=_0x467fdf(0x25b),_0xd10b61[_0x467fdf(0x18d)]=function(_0x4ee7fb,_0x1f80f9){return _0x4ee7fb===_0x1f80f9;},_0xd10b61[_0x467fdf(0x1fa)]=_0x467fdf(0x1fc);const _0x871253=_0xd10b61,_0x59275f={};_0x59275f[_0x467fdf(0x208)]=_0x1f5d84;const _0x5e2c83={};_0x5e2c83['action']=_0x871253[_0x467fdf(0x282)],_0x5e2c83[_0x467fdf(0x284)]=_0x59275f;const _0x46d0ff=_0x5e2c83;_0x871253[_0x467fdf(0x18d)](_0x44a9ed['constructor']['name'],_0x871253[_0x467fdf(0x1fa)])?await _0x44a9ed['executeScript'](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x46d0ff)):await _0x44a9ed[_0x467fdf(0x245)](_0x467fdf(0x25a)+JSON['stringify'](_0x46d0ff));}),patchSaveScreenshot=_0x5478f8=>{const _0x221fbe=a1_0x301699,_0x2446dc={'oCQTs':_0x221fbe(0x27a),'INdnY':_0x221fbe(0x1db),'XvzTh':function(_0x2c77ae){return _0x2c77ae();},'rifaS':function(_0x2b17c1,_0x1d28ad){return _0x2b17c1(_0x1d28ad);},'CUWtw':_0x221fbe(0x191),'iNMXk':function(_0x83f283,_0x4b478c){return _0x83f283(_0x4b478c);}};_0x2446dc['iNMXk'](isTrue,process[_0x221fbe(0x1f8)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x5478f8[_0x221fbe(0x253)]&&(_0x5478f8[_0x221fbe(0x253)]=!![],_0x5478f8[_0x221fbe(0x1b2)]=_0x5478f8[_0x221fbe(0x248)],_0x5478f8[_0x221fbe(0x248)]=(_0x8840aa,_0xf26491=![])=>{const _0x3e882f=_0x221fbe,_0x583837={'GmQRZ':_0x2446dc['oCQTs'],'MrhQw':_0x2446dc['INdnY'],'HvvbU':function(_0x4fcd94){const _0x2cedde=a1_0xe457;return _0x2446dc[_0x2cedde(0x223)](_0x4fcd94);},'QBAVU':function(_0xf4c206,_0xa1e042){return _0x2446dc['rifaS'](_0xf4c206,_0xa1e042);},'oULeC':_0x2446dc[_0x3e882f(0x215)]};return new Promise(function(_0x4d82a2,_0x52d3e2){const _0x13c04d=_0x3e882f;_0x5478f8['initSaveScreenshot'](_0x8840aa,_0xf26491)[_0x13c04d(0x1da)](()=>{const _0x1ad015=_0x13c04d,_0x4de3b6=CodeceptUtils[_0x1ad015(0x262)](_0x8840aa);if(_0x4de3b6){const _0x73a89e=fs[_0x1ad015(0x1b3)](_0x4de3b6);process[_0x1ad015(0x279)](_0x1ad015(0x27d)+process[_0x1ad015(0x226)],{'timestamp':new Date()[_0x1ad015(0x219)](),'message':_0x73a89e['toString'](_0x583837['GmQRZ']),'kind':_0x583837[_0x1ad015(0x224)]}),_0x583837[_0x1ad015(0x286)](_0x4d82a2);}_0x583837[_0x1ad015(0x25e)](_0x52d3e2,new Error(_0x583837[_0x1ad015(0x22e)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0x37afe3=>{const _0x304f75=a1_0x301699,_0x3b4cce={'JJdoU':function(_0xb9bae7){return _0xb9bae7();},'uunwm':function(_0x2f3670,_0x3ee35c){return _0x2f3670(_0x3ee35c);},'TRcke':function(_0x1d9eb5,_0x2b7b05){return _0x1d9eb5===_0x2b7b05;},'XGyVJ':_0x304f75(0x1f2),'wzrrO':_0x304f75(0x18a),'OgNdz':_0x304f75(0x1aa),'ULQel':function(_0x14bf5e,_0x3a091f){return _0x14bf5e(_0x3a091f);}},_0x289ee9=async function(_0x367e56,_0x1440fa){const _0x2305a4=_0x304f75;_0x3b4cce[_0x2305a4(0x1cf)](isAccessibilityAutomationSession)&&!global[_0x2305a4(0x198)]&&global[_0x2305a4(0x254)]&&scripts[_0x2305a4(0x1ed)](_0x367e56[_0x2305a4(0x208)])&&_0x3b4cce[_0x2305a4(0x240)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x2305a4(0x198)]=!![],await PerformanceTester[_0x2305a4(0x19c)](PerformanceA11yEvents[_0x2305a4(0x192)],async()=>{const _0xce9924=_0x2305a4;logger[_0xce9924(0x1e5)]('Performing\x20scan\x20for\x20'+_0x367e56[_0xce9924(0x1c8)]+'\x20'+_0x367e56[_0xce9924(0x208)]),await AccessibilityHelper[_0xce9924(0x23b)](_0x37afe3,scripts[_0xce9924(0x1e3)]);},{'command':_0x367e56[_0x2305a4(0x208)]})());global[_0x2305a4(0x198)]=![];const _0x52683c=JSON[_0x2305a4(0x201)](process[_0x2305a4(0x1f8)][_0x2305a4(0x18c)]||'{}');if(_0x3b4cce[_0x2305a4(0x1cb)](_0x52683c?.['testFramework']?.[_0x2305a4(0x208)],_0x3b4cce['XGyVJ'])&&_0x3b4cce[_0x2305a4(0x1cb)](typeof _0x52683c?.['testFramework']?.[_0x2305a4(0x24d)],_0x3b4cce[_0x2305a4(0x1e9)])&&_0x52683c?.[_0x2305a4(0x1c1)]?.[_0x2305a4(0x24d)][_0x2305a4(0x1d0)]('7'))return _0x1440fa[_0x2305a4(0x21a)](null,Array[_0x2305a4(0x266)][_0x2305a4(0x18f)][_0x2305a4(0x228)](arguments,0x2));return _0x1440fa['apply'](this,Array['prototype'][_0x2305a4(0x18f)][_0x2305a4(0x228)](arguments,0x2));},_0x5f2f6f=CodeceptWebDriver['prototype'][_0x304f75(0x258)];CodeceptWebDriver[_0x304f75(0x266)][_0x304f75(0x258)]=async function(){const _0x22dd94=_0x304f75;try{await _0x5f2f6f[_0x22dd94(0x21a)](this,arguments);}catch(_0x3e4ba0){logger[_0x22dd94(0x1e5)](_0x22dd94(0x250)+util['format'](_0x3e4ba0));}scripts[_0x22dd94(0x1b0)][_0x22dd94(0x25d)](_0x2c7b30=>_0x2c7b30[_0x22dd94(0x208)]&&_0x2c7b30[_0x22dd94(0x1c8)])[_0x22dd94(0x24f)](_0x77d4cf=>{const _0x3b14b6=_0x22dd94;this['browser'][_0x3b14b6(0x231)](_0x77d4cf['name'],_0x289ee9['bind'](this,_0x77d4cf),_0x3b4cce['TRcke'](_0x77d4cf['class'],_0x3b4cce[_0x3b14b6(0x25f)]));}),_0x3b4cce['ULQel'](processWebDriverConfig,_0x37afe3);};};function a1_0xe457(_0x4273e4,_0xa1018f){const _0x5cb336=a1_0x5cb3();return a1_0xe457=function(_0xe457b7,_0x253eea){_0xe457b7=_0xe457b7-0x189;let _0x52f680=_0x5cb336[_0xe457b7];return _0x52f680;},a1_0xe457(_0x4273e4,_0xa1018f);}function parseJwt(_0x5dd1bd){const _0x31c13c=a1_0x301699,_0x12a27b={};_0x12a27b[_0x31c13c(0x1c9)]=_0x31c13c(0x27a);const _0x4023a1=_0x12a27b;if(!_0x5dd1bd)return null;return JSON[_0x31c13c(0x201)](Buffer[_0x31c13c(0x1c3)](_0x5dd1bd[_0x31c13c(0x19b)]('.')[0x1],_0x4023a1[_0x31c13c(0x1c9)])[_0x31c13c(0x1c7)]());}function a1_0x5cb3(){const _0x2904bf=['vqIWe','test-before','BROWSERSTACK_TESTHUB_UUID','sDDYR','VDhqe','WebDriver','rcJUN','HOOK_RUN_STARTED','testFramework','MWezj','from','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','nSxlz','toString','class','cBIsE','TestCafe','TRcke','../../helpers/logger','captureError','10807290OfXxvC','JJdoU','startsWith','FEHGr','36308gVVGph','url','SDK_HOOK','restore','XMLhk','codeceptjs','after','GkisM','then','TEST_SCREENSHOT','args','HOOK_RUN_FINISHED','skipSessionStatus','thJwtToken','skipped','TEST_RUN_FINISHED','hookType','performScan','add','debug','Suite','all','codeceptjs/lib/helper/WebDriver.js','wzrrO','56707EuAQQl','__driver','failed','shouldWrapCommand','util','test','bddStep','GET_RESULTS','webdriverio','FpYmV','MkUuA','codeceptjs/lib/index.js','KyIYK','36wsTtaK','env','test-started','QupAH','__workerDetails','Playwright','config','stop','event','WmPDy','parse','skipSessionName','titlePath','hook-passed','passed','SAVE_RESULTS','ihLIK','name','fireEvent','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','SYNC','BS_A11Y_JWT','action','bddStepFinish','OvgIA','10658450QvJHeP','getAccessibilityResults','puONo','lXjQx','11fhVVtH','CUWtw','setGlobal','dispatcher','eTtbd','toISOString','apply','YKoJy','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','captureEvent','setSessionStatus','SDK_PRE_TEST','push','3288131cuTnFV','hook-failed','XvzTh','MrhQw','urltT','pid','container','call','status','CMOJV','includes','command','constructor','oULeC','test-after','message','overwriteCommand','cJMCK','MncfX','./helper.js','browserstackTestName','2130471nkleKZ','TEST_LOG','stack','stopMonitoring','Puppeteer','browserStackExecuteDriver','testAnalyticsId','__skipSessionStatus','KRmYi','150175VKcfsZ','uunwm','SESSION_NAME','SDK_TEST','format','rKOvf','executeScript','info','IauEa','saveScreenshot','getSyncScript','INFO','JYjAW','currentTest','version','browserContext','forEach','Failed\x20to\x20execute\x20_before:\x20','codeceptjs/lib/helper/Playwright.js','TEST_RUN_STARTED','patchSaveScreenshot','accessibilityPlatform','yMNas','getResults','XMDuq','_before','test-passed','browserstack_executor:\x20','setSessionName','GfBOd','filter','QBAVU','OgNdz','title','SDK_PRE_INITIALIZE','screenshotOutputFolder','saveTestResults','SDK_POST_TEST','gcMxo','prototype','FEBFW','54NyhGOh','chromium','before','QZjAb','hook-started','a11y_core_config','ftDxj','addRequestSpy','pages','isArray','MGOqu','afterTest','nwfzT','start','tQYbT','Lnkwd','end','emit','base64','qqjBZ','../../helpers/performance/constants','bs:addLog:','browser','../../helpers/testhub/constants.js','iMxZP','bddStep-before','swuDQ','TEST_RUN_SKIPPED','arguments','comment','HvvbU','EMKkS','string','codeceptjs/lib/utils.js','FRAMEWORK_DETAILS','JXoUS','../../helpers/accessibility-automation/scripts','slice','ctx','Screenshot\x20path\x20not\x20found','PERFORM_SCAN','zNifh','helpers','qOoni','devtools://','getAccessibilityResultsSummary','bstackAllyScanning','_setPage','hook','split','measureWrapper','wTezV','HymPt','codeceptjs/lib/recorder.js','kbfYw','gvPmV','test-skipped','started','NeLow','GeeIM','contexts','bind','GET_RESULTS_SUMMARY','bddStepStart','Element','Csnni','../../helpers/test-observability/utils','stringify','thTestRunUuid','warn','commandsToWrap','zNfHx','initSaveScreenshot','readFileSync','512iVgFeT','JBaiI','../../bin/playwright/sessionDetails','4kKwiEd','bddStep-after'];a1_0x5cb3=function(){return _0x2904bf;};return a1_0x5cb3();}const patchPlaywrightBefore=()=>{const _0x1afe1a=a1_0x301699,_0x5672ce={'KRmYi':function(_0x311f53){return _0x311f53();},'Csnni':_0x1afe1a(0x196),'EEFGS':'--auto-open-devtools-for-tabs','JBaiI':function(_0x2b2ec2){return _0x2b2ec2();},'qqjBZ':function(_0x35f891,_0x5bb39d){return _0x35f891(_0x5bb39d);},'fksEF':function(_0x5e5cc3,_0x211e9a){return _0x5e5cc3+_0x211e9a;},'urltT':'\x0aStack:\x20','rcJUN':function(_0x4bdcdb){return _0x4bdcdb();},'yKpQc':function(_0x2d53d8){return _0x2d53d8();}};PlaywrightSessionDetails['patch']();const _0x740d07=CodeceptPlaywright[_0x1afe1a(0x266)][_0x1afe1a(0x258)];CodeceptPlaywright[_0x1afe1a(0x266)][_0x1afe1a(0x258)]=async function(){const _0xff653e=_0x1afe1a;this[_0xff653e(0x24e)]=await this[_0xff653e(0x27e)][_0xff653e(0x1a6)]()[0x0];const _0xd2f34f=async()=>{const _0x1f409=_0xff653e,_0x1b770d={'zNfHx':function(_0x139302){const _0x4ad6ec=a1_0xe457;return _0x5672ce[_0x4ad6ec(0x23e)](_0x139302);},'nwfzT':_0x5672ce[_0x1f409(0x1ab)]},_0x44d298=this[_0x1f409(0x1fd)]&&this['config']['chromium']&&this[_0x1f409(0x1fd)][_0x1f409(0x269)][_0x1f409(0x1dc)]&&Array[_0x1f409(0x271)](this['config'][_0x1f409(0x269)]['args'])&&this['config'][_0x1f409(0x269)][_0x1f409(0x1dc)][_0x1f409(0x22b)](_0x5672ce['EEFGS']);if(_0x5672ce[_0x1f409(0x1b5)](isAccessibilityAutomationSession)&&!_0x44d298)try{const _0x3575bb=_0x5672ce[_0x1f409(0x27b)](parseJwt,process[_0x1f409(0x1f8)][_0x1f409(0x20c)]);if(_0x3575bb&&_0x3575bb[_0x1f409(0x26d)]&&_0x3575bb['a11y_core_config']['domForge']){const _0x4949a9=this[_0x1f409(0x24e)][_0x1f409(0x270)][_0x1f409(0x1a7)](this[_0x1f409(0x24e)]);this[_0x1f409(0x24e)][_0x1f409(0x270)]=async function(){const _0x2313a2=_0x1f409,_0x2bff6d=await _0x1b770d[_0x2313a2(0x1b1)](_0x4949a9),_0xee9043=[];for(const _0x7e0a95 of _0x2bff6d){try{const _0x221936=await _0x7e0a95['url']();!_0x221936[_0x2313a2(0x1d0)](_0x1b770d[_0x2313a2(0x274)])&&_0xee9043['push'](_0x7e0a95);}catch(_0x4acc62){_0xee9043[_0x2313a2(0x220)](_0x7e0a95);}}return _0xee9043;};}if(!_0x5672ce[_0x1f409(0x23e)](isBrowserstackInfra)){const _0x14aa2b=await this['page'][_0x1f409(0x1d3)]();if(_0x14aa2b[_0x1f409(0x1d0)](_0x5672ce[_0x1f409(0x1ab)])){const _0x2c1e93=await this[_0x1f409(0x24e)][_0x1f409(0x270)]();this[_0x1f409(0x199)](_0x2c1e93[0x0]);}}}catch(_0x147f67){logger[_0x1f409(0x1e5)](_0x1f409(0x1c5)+_0x147f67[_0x1f409(0x230)]+(_0x147f67[_0x1f409(0x238)]?_0x5672ce['fksEF'](_0x5672ce[_0x1f409(0x225)],_0x147f67[_0x1f409(0x238)]):''));}};_0x5672ce[_0xff653e(0x1b5)](isBrowserstackInfra)&&await _0x5672ce['rcJUN'](_0xd2f34f),await _0x740d07['apply'](this,arguments),!_0x5672ce[_0xff653e(0x1bf)](isBrowserstackInfra)&&await _0x5672ce['yKpQc'](_0xd2f34f);};},getCodeceptDriver=()=>{const _0x58d90a=a1_0x301699,_0x1a6f7f={};_0x1a6f7f[_0x58d90a(0x257)]=_0x58d90a(0x1be),_0x1a6f7f[_0x58d90a(0x277)]='Playwright',_0x1a6f7f[_0x58d90a(0x20f)]=_0x58d90a(0x23a),_0x1a6f7f['lXjQx']=_0x58d90a(0x1ca);const _0x335a88=_0x1a6f7f,_0x88d091=[_0x335a88[_0x58d90a(0x257)],_0x335a88[_0x58d90a(0x277)],_0x335a88[_0x58d90a(0x20f)],_0x335a88[_0x58d90a(0x213)]],_0x50b973=_0x88d091['find'](_0x3613d8=>!!CodeceptJS[_0x58d90a(0x227)][_0x58d90a(0x194)](_0x3613d8));if(!_0x50b973)return null;return CodeceptJS['container'][_0x58d90a(0x194)](_0x50b973);};module['exports']=function(_0x30f1b3){const _0x1d915b=a1_0x301699,_0x3206bb={'KyIYK':function(_0x1e0bb7){return _0x1e0bb7();},'MGOqu':function(_0x35b9e3,_0x5ad383){return _0x35b9e3(_0x5ad383);},'VDhqe':'getAccessibilityResultsSummary','GfBOd':_0x1d915b(0x21c),'FbqmE':_0x1d915b(0x211),'gcMxo':_0x1d915b(0x20a),'MWezj':function(_0xb4724,_0x27a14c){return _0xb4724(_0x27a14c);},'NeLow':_0x1d915b(0x26c),'gvPmV':_0x1d915b(0x204),'eTtbd':_0x1d915b(0x222),'iMxZP':_0x1d915b(0x235),'QZjAb':function(_0x26165d){return _0x26165d();},'rKOvf':_0x1d915b(0x1ba),'FEBFW':function(_0x1ae75d,_0x16c786){return _0x1ae75d(_0x16c786);},'puONo':function(_0x822105,_0x47ad73,_0x58d35a){return _0x822105(_0x47ad73,_0x58d35a);},'WmPDy':function(_0x342994,_0x431c57){return _0x342994(_0x431c57);},'HymPt':_0x1d915b(0x1f9),'XMLhk':function(_0x841cb2,_0x4058f7,_0x333119){return _0x841cb2(_0x4058f7,_0x333119);},'ftDxj':_0x1d915b(0x259),'jyktM':function(_0x33bae0,_0x1c55ad,_0x95795b,_0x3c53e8){return _0x33bae0(_0x1c55ad,_0x95795b,_0x3c53e8);},'YKoJy':function(_0xfdb95d,_0x2253dd,_0x24ca62,_0x52ab30){return _0xfdb95d(_0x2253dd,_0x24ca62,_0x52ab30);},'gjvPJ':function(_0x504c0d,_0x1326d3){return _0x504c0d===_0x1326d3;},'eKXRH':_0x1d915b(0x1e6),'tQYbT':'test-failed','FEHGr':_0x1d915b(0x1a2),'wTezV':_0x1d915b(0x273),'CMOJV':function(_0x3b995c,_0x36f2e2,_0x225e72){return _0x3b995c(_0x36f2e2,_0x225e72);},'FpYmV':function(_0x1cff45){return _0x1cff45();},'JYjAW':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','BZaeI':_0x1d915b(0x22f),'EMKkS':_0x1d915b(0x24a),'gRJuN':_0x1d915b(0x237),'nSxlz':'step-comment','GeeIM':_0x1d915b(0x281),'sDDYR':_0x1d915b(0x1b8),'IauEa':function(_0x195192){return _0x195192();},'ILfno':_0x1d915b(0x1fc)};_0x30f1b3[_0x1d915b(0x1de)]&&(global[_0x1d915b(0x23d)]=_0x30f1b3[_0x1d915b(0x1de)]);PerformanceTester['startMonitoring']();const _0x5756c7=_0x3206bb[_0x1d915b(0x247)](getCodeceptDriver),_0x37c700=new O11yHelper(_0x5756c7,_0x30f1b3),_0x2b1786=!!CodeceptJS[_0x1d915b(0x227)][_0x1d915b(0x194)](_0x3206bb['ILfno']);global[_0x1d915b(0x1eb)]=_0x5756c7,_0x5756c7&&(PerformanceTester[_0x1d915b(0x19c)](PerformanceEvents[_0x1d915b(0x261)],()=>{const _0x141e01=_0x1d915b;_0x2b1786?_0x3206bb[_0x141e01(0x1f6)](patchPlaywrightBefore):_0x3206bb[_0x141e01(0x272)](patchWebDriverBefore,_0x5756c7);})(),PerformanceTester[_0x1d915b(0x19c)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x375d5a=_0x1d915b,_0x23215c={};_0x23215c[_0x375d5a(0x207)]=_0x3206bb['FbqmE'],_0x23215c[_0x375d5a(0x232)]=_0x3206bb[_0x375d5a(0x265)];const _0x27afee=_0x23215c;_0x5756c7[_0x375d5a(0x197)]=async()=>{const _0x248e4d=_0x375d5a;if(global[_0x248e4d(0x254)]){const _0x2f9d6c={};return _0x2f9d6c[_0x248e4d(0x22c)]=_0x3206bb[_0x248e4d(0x1bd)],await PerformanceTester[_0x248e4d(0x19c)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x5756c7,scripts['performScan']);},_0x2f9d6c)(),await PerformanceTester[_0x248e4d(0x19c)](PerformanceA11yEvents[_0x248e4d(0x1a8)],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x5756c7,scripts['getResultsSummary']);})();}return logger['warn'](_0x3206bb[_0x248e4d(0x25c)]),{};},_0x5756c7[_0x375d5a(0x211)]=async()=>{const _0xde1611=_0x375d5a;if(global['accessibilityPlatform']){const _0x114475={};return _0x114475[_0xde1611(0x22c)]=_0x27afee[_0xde1611(0x207)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x921985=_0xde1611;return await AccessibilityHelper[_0x921985(0x23b)](_0x5756c7,scripts[_0x921985(0x1e3)]);},_0x114475)(),await PerformanceTester[_0xde1611(0x19c)](PerformanceA11yEvents[_0xde1611(0x1f1)],async()=>{const _0x579c85=_0xde1611;return await AccessibilityHelper[_0x579c85(0x23b)](_0x5756c7,scripts[_0x579c85(0x256)]);})();}return logger[_0xde1611(0x1af)](_0x27afee['cJMCK']),{};},_0x3206bb[_0x375d5a(0x1c2)](patchSaveScreenshot,_0x5756c7);})()),CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x217)]['on'](CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x1e7)]['before'],()=>{const _0xe7400b=_0x1d915b;PerformanceTester[_0xe7400b(0x275)](PerformanceEvents[_0xe7400b(0x21f)]);try{_0x37c700[_0xe7400b(0x275)](),testOpsHelper[_0xe7400b(0x26f)](),PerformanceTester[_0xe7400b(0x278)](PerformanceEvents[_0xe7400b(0x21f)]);}catch(_0x18d92c){PerformanceTester[_0xe7400b(0x1cd)](_0x18d92c),PerformanceTester['end'](PerformanceEvents[_0xe7400b(0x21f)],![],_0x18d92c);}}),CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x217)]['on'](CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x1e7)][_0x1d915b(0x1d8)],async()=>{const _0x5b8234=_0x1d915b;PerformanceTester['start'](PerformanceEvents[_0x5b8234(0x264)]);try{requestSpy[_0x5b8234(0x1d5)](),await _0x37c700[_0x5b8234(0x1fe)](),PerformanceTester[_0x5b8234(0x278)](PerformanceEvents[_0x5b8234(0x264)]);}catch(_0x444442){PerformanceTester[_0x5b8234(0x1cd)](_0x444442),PerformanceTester[_0x5b8234(0x278)](PerformanceEvents[_0x5b8234(0x264)],![],_0x444442);}finally{PerformanceTester[_0x5b8234(0x239)]();}}),CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x217)]['on'](CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x19a)]['started'],_0x193dde=>{const _0x1a8513=_0x1d915b;PerformanceTester[_0x1a8513(0x275)](PerformanceEvents[_0x1a8513(0x1d4)]);try{const _0x104d52=_0x193dde[_0x1a8513(0x190)][_0x1a8513(0x1ef)],_0x13d22c=_0x37c700[_0x1a8513(0x21d)](TEST_EVENTS[_0x1a8513(0x1c0)],_0x104d52);CodeceptRecorder[_0x1a8513(0x1e4)](()=>_0x37c700[_0x1a8513(0x209)](TEST_EVENTS[_0x1a8513(0x1c0)],_0x13d22c));const _0x47e303={};_0x47e303['hookType']=_0x3206bb[_0x1a8513(0x1a4)],PerformanceTester['end'](PerformanceEvents[_0x1a8513(0x1d4)],!![],null,_0x47e303);}catch(_0x3277c4){const _0x56d3c4={};_0x56d3c4[_0x1a8513(0x1e2)]=_0x3206bb[_0x1a8513(0x1a4)],PerformanceTester[_0x1a8513(0x278)](PerformanceEvents[_0x1a8513(0x1d4)],![],_0x3277c4,_0x56d3c4),PerformanceTester[_0x1a8513(0x1cd)](_0x3277c4);}}),CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x217)]['on'](CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x19a)][_0x1d915b(0x205)],_0xc7bcf6=>{const _0x5bd218=_0x1d915b,_0x5650f9={};_0x5650f9[_0x5bd218(0x1e2)]=_0x3206bb['gvPmV'],PerformanceTester[_0x5bd218(0x275)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5650f9);try{const _0x501a52=_0xc7bcf6[_0x5bd218(0x190)][_0x5bd218(0x1ef)],_0x220c8a=_0x37c700[_0x5bd218(0x21d)](TEST_EVENTS[_0x5bd218(0x1dd)],_0x501a52);CodeceptRecorder[_0x5bd218(0x1e4)](()=>_0x37c700[_0x5bd218(0x209)](TEST_EVENTS[_0x5bd218(0x1dd)],_0x220c8a));const _0x85c9de={};_0x85c9de[_0x5bd218(0x1e2)]=_0x3206bb[_0x5bd218(0x1a1)],PerformanceTester[_0x5bd218(0x278)](PerformanceHookEvents[_0x5bd218(0x1d4)],!![],null,_0x85c9de);}catch(_0x4a72f5){PerformanceTester[_0x5bd218(0x1cd)](_0x4a72f5);const _0x9bba6={};_0x9bba6[_0x5bd218(0x1e2)]=_0x3206bb[_0x5bd218(0x1a1)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x4a72f5,_0x9bba6);}}),CodeceptJS['event'][_0x1d915b(0x217)]['on'](CodeceptJS['event']['hook'][_0x1d915b(0x1ec)],async(_0x667c6b,_0x4c87fd)=>{const _0x3212eb=_0x1d915b;PerformanceTester[_0x3212eb(0x275)](PerformanceHookEvents[_0x3212eb(0x1d4)]);try{const _0x3fd655=_0x667c6b[_0x3212eb(0x190)][_0x3212eb(0x1ef)],_0xafe382=_0x37c700[_0x3212eb(0x21d)](TEST_EVENTS[_0x3212eb(0x1dd)],_0x3fd655,_0x4c87fd);CodeceptRecorder[_0x3212eb(0x1e4)](()=>_0x37c700['fireEvent'](TEST_EVENTS[_0x3212eb(0x1dd)],_0xafe382));const _0x29eb49={};_0x29eb49[_0x3212eb(0x1e2)]=_0x3206bb['eTtbd'],PerformanceTester[_0x3212eb(0x275)](PerformanceHookEvents[_0x3212eb(0x1d4)],!![],null,_0x29eb49);}catch(_0x25eb48){PerformanceTester[_0x3212eb(0x1cd)](_0x25eb48);const _0x351c42={};_0x351c42[_0x3212eb(0x1e2)]=_0x3206bb[_0x3212eb(0x218)],PerformanceTester[_0x3212eb(0x278)](PerformanceHookEvents[_0x3212eb(0x1d4)],![],_0x25eb48,_0x351c42);}const _0x36774f={};_0x36774f[_0x3212eb(0x1e2)]=_0x3206bb[_0x3212eb(0x218)],PerformanceTester[_0x3212eb(0x278)](PerformanceHookEvents[_0x3212eb(0x1d4)],!![],null,_0x36774f);}),CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x217)]['on'](CodeceptJS[_0x1d915b(0x1ff)]['test'][_0x1d915b(0x26a)],_0x1dbfa1=>{const _0x55a51e=_0x1d915b;PerformanceTester[_0x55a51e(0x275)](PerformanceHookEvents[_0x55a51e(0x1d4)]);try{globals[_0x55a51e(0x216)](_0x3206bb[_0x55a51e(0x280)],_0x1dbfa1[_0x55a51e(0x260)]);_0x3206bb[_0x55a51e(0x26b)](isBrowserstackInfra)&&(_0x2b1786&&(global[_0x55a51e(0x1fb)]={'currentTest':{'name':_0x1dbfa1[_0x55a51e(0x260)],'testInfo':{'titlePath':_0x1dbfa1[_0x55a51e(0x203)]()}}}));const _0x458baa={};_0x458baa[_0x55a51e(0x1e2)]=_0x3206bb[_0x55a51e(0x244)],PerformanceTester[_0x55a51e(0x278)](PerformanceHookEvents[_0x55a51e(0x1d4)],!![],null,_0x458baa);}catch(_0x390163){PerformanceTester[_0x55a51e(0x1cd)](_0x390163);const _0x1e5a15={};_0x1e5a15[_0x55a51e(0x1e2)]=_0x3206bb['rKOvf'],PerformanceTester['end'](PerformanceHookEvents[_0x55a51e(0x1d4)],![],_0x390163,_0x1e5a15);}}),CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x217)]['on'](CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x1ef)][_0x1d915b(0x1a3)],_0x55d938=>{const _0x9d8ffe=_0x1d915b;PerformanceTester[_0x9d8ffe(0x275)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x9d8ffe(0x216)](_0x3206bb['iMxZP'],_0x55d938[_0x9d8ffe(0x260)]);const _0x4404db=_0x37c700[_0x9d8ffe(0x21d)](TEST_EVENTS[_0x9d8ffe(0x252)],_0x55d938);CodeceptRecorder[_0x9d8ffe(0x1e4)](()=>_0x37c700['fireEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x4404db)),CodeceptRecorder[_0x9d8ffe(0x1e4)](async()=>{const _0x109d08=_0x9d8ffe;_0x3206bb[_0x109d08(0x26b)](isBrowserstackInfra)&&(!_0x3206bb[_0x109d08(0x267)](isTrue,_0x30f1b3[_0x109d08(0x202)])&&await _0x3206bb[_0x109d08(0x212)](markSessionName,_0x5756c7,_0x55d938[_0x109d08(0x260)]),_0x37c700['enabled']&&await _0x3206bb[_0x109d08(0x200)](o11ySync,_0x5756c7));});}catch(_0x317022){const _0x4721d2={};_0x4721d2[_0x9d8ffe(0x1e2)]=_0x3206bb[_0x9d8ffe(0x19e)],PerformanceTester[_0x9d8ffe(0x278)](PerformanceHookEvents[_0x9d8ffe(0x1d4)],![],_0x317022,_0x4721d2),PerformanceTester[_0x9d8ffe(0x1cd)](_0x317022);}const _0x480c07={};_0x480c07[_0x9d8ffe(0x1e2)]=_0x3206bb['HymPt'],PerformanceTester[_0x9d8ffe(0x278)](PerformanceHookEvents[_0x9d8ffe(0x1d4)],!![],null,_0x480c07);}),CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x217)]['on'](CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x1ef)][_0x1d915b(0x205)],_0xe0e261=>{const _0x3eb862=_0x1d915b,_0x60eb55={'kbfYw':function(_0x4a686c,_0x2e2b3d,_0x21f39c){const _0x1eeeb4=a1_0xe457;return _0x3206bb[_0x1eeeb4(0x1d6)](_0x4a686c,_0x2e2b3d,_0x21f39c);},'yMNas':function(_0x407e42){const _0x157c59=a1_0xe457;return _0x3206bb[_0x157c59(0x26b)](_0x407e42);}};PerformanceTester[_0x3eb862(0x275)](PerformanceHookEvents[_0x3eb862(0x1d4)]);try{const _0x4a1e83=_0x37c700[_0x3eb862(0x21d)](TEST_EVENTS[_0x3eb862(0x1e1)],_0xe0e261);CodeceptRecorder[_0x3eb862(0x1e4)](()=>_0x37c700['fireEvent'](TEST_EVENTS[_0x3eb862(0x1e1)],_0x4a1e83)),CodeceptRecorder['add'](async()=>{const _0x2c6053=_0x3eb862;_0x60eb55[_0x2c6053(0x255)](isBrowserstackInfra)&&await PerformanceTester[_0x2c6053(0x19c)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x1bbf7b=_0x2c6053;_0x2b1786?await _0x60eb55[_0x1bbf7b(0x1a0)](playwrightMarkSessionStatus,_0x5756c7,STATE_PASSED):await _0x60eb55['kbfYw'](markSessionStatus,_0x5756c7,STATE_PASSED);})();}),PerformanceTester[_0x3eb862(0x278)](PerformanceEvents[_0x3eb862(0x242)]);}catch(_0x1d8740){PerformanceTester[_0x3eb862(0x1cd)](_0x1d8740);const _0x4e2de3={};_0x4e2de3[_0x3eb862(0x1e2)]=_0x3206bb[_0x3eb862(0x26e)],PerformanceTester[_0x3eb862(0x278)](PerformanceHookEvents[_0x3eb862(0x1d4)],![],_0x1d8740,_0x4e2de3),PerformanceTester[_0x3eb862(0x278)](PerformanceEvents['SDK_TEST'],![],_0x1d8740);}const _0x446ac0={};_0x446ac0['hookType']=_0x3206bb[_0x3eb862(0x26e)],PerformanceTester['end'](PerformanceHookEvents[_0x3eb862(0x1d4)],!![],null,_0x446ac0);}),CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x217)]['on'](CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x1ef)][_0x1d915b(0x1ec)],(_0x3f1711,_0x186aa3)=>{const _0x55ceaf=_0x1d915b,_0x36c96e={'vqIWe':function(_0x2cde28){const _0x5f2426=a1_0xe457;return _0x3206bb[_0x5f2426(0x26b)](_0x2cde28);},'iJzjx':function(_0x18e919,_0x43fee2,_0x35a582,_0x5f7b58){return _0x3206bb['jyktM'](_0x18e919,_0x43fee2,_0x35a582,_0x5f7b58);},'MncfX':function(_0x3e89b1,_0xbf3e04,_0x359fce,_0x4944fd){const _0x42d85f=a1_0xe457;return _0x3206bb[_0x42d85f(0x21b)](_0x3e89b1,_0xbf3e04,_0x359fce,_0x4944fd);}};PerformanceTester[_0x55ceaf(0x275)](PerformanceHookEvents[_0x55ceaf(0x1d4)]);try{if(_0x3206bb['gjvPJ'](_0x3f1711[_0x55ceaf(0x22d)][_0x55ceaf(0x208)],_0x3206bb['eKXRH'])){const _0x2705fe=_0x37c700[_0x55ceaf(0x21d)](TEST_EVENTS[_0x55ceaf(0x283)],_0x3f1711[_0x55ceaf(0x190)][_0x55ceaf(0x24c)]);CodeceptRecorder[_0x55ceaf(0x1e4)](()=>_0x37c700[_0x55ceaf(0x209)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x2705fe));}else{const _0x415e07=_0x37c700[_0x55ceaf(0x21d)](TEST_EVENTS[_0x55ceaf(0x1e1)],_0x3f1711,_0x186aa3);CodeceptRecorder['add'](()=>{const _0x2629fe=_0x55ceaf;try{_0x37c700[_0x2629fe(0x209)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x415e07);}catch(_0x42bb9e){logger['debug']('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x2629fe(0x243)](_0x42bb9e)),PerformanceTester[_0x2629fe(0x278)](PerformanceEvents['SDK_TEST'],![],_0x42bb9e);}}),CodeceptRecorder[_0x55ceaf(0x1e4)](async()=>{const _0x1af52e=_0x55ceaf;try{_0x36c96e[_0x1af52e(0x1b9)](isBrowserstackInfra)&&(_0x2b1786?await _0x36c96e['iJzjx'](playwrightMarkSessionStatus,_0x5756c7,STATE_FAILED,_0x186aa3):await _0x36c96e[_0x1af52e(0x233)](markSessionStatus,_0x5756c7,STATE_FAILED,_0x186aa3));}catch(_0x45ae45){logger['debug'](_0x1af52e(0x1c4)+util['format'](_0x45ae45)),PerformanceTester[_0x1af52e(0x278)](PerformanceEvents[_0x1af52e(0x242)],![],_0x45ae45);}});}PerformanceTester['end'](PerformanceEvents[_0x55ceaf(0x242)]);}catch(_0x3d18c9){PerformanceTester[_0x55ceaf(0x1cd)](_0x3d18c9);const _0x482b39={};_0x482b39['hookType']=_0x3206bb[_0x55ceaf(0x276)],PerformanceTester[_0x55ceaf(0x278)](PerformanceHookEvents[_0x55ceaf(0x1d4)],![],_0x3d18c9,_0x482b39),PerformanceTester[_0x55ceaf(0x278)](PerformanceEvents[_0x55ceaf(0x242)],![],_0x3d18c9);}const _0x35bf82={};_0x35bf82['hookType']=_0x3206bb[_0x55ceaf(0x276)],PerformanceTester[_0x55ceaf(0x278)](PerformanceHookEvents[_0x55ceaf(0x1d4)],!![],null,_0x35bf82);}),CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x217)]['on'](CodeceptJS['event'][_0x1d915b(0x1ef)][_0x1d915b(0x1e0)],_0x3b05d2=>{const _0x53f650=_0x1d915b;PerformanceTester[_0x53f650(0x275)](PerformanceHookEvents[_0x53f650(0x1d4)]);try{const _0x526700=_0x37c700[_0x53f650(0x21d)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3b05d2);CodeceptRecorder[_0x53f650(0x1e4)](()=>_0x37c700[_0x53f650(0x209)](TEST_EVENTS[_0x53f650(0x283)],_0x526700)),PerformanceTester[_0x53f650(0x278)](PerformanceEvents[_0x53f650(0x242)]);}catch(_0xd13a1f){PerformanceTester[_0x53f650(0x1cd)](_0xd13a1f),PerformanceTester['end'](PerformanceEvents[_0x53f650(0x242)],![],_0xd13a1f);const _0x485232={};_0x485232['hookType']=_0x3206bb[_0x53f650(0x1d1)],PerformanceTester[_0x53f650(0x278)](PerformanceHookEvents[_0x53f650(0x1d4)],![],_0xd13a1f,_0x485232);}const _0x59a30c={};_0x59a30c[_0x53f650(0x1e2)]=_0x3206bb[_0x53f650(0x1d1)],PerformanceTester[_0x53f650(0x278)](PerformanceHookEvents[_0x53f650(0x1d4)],!![],null,_0x59a30c);}),CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x217)]['on'](CodeceptJS['event'][_0x1d915b(0x1ef)][_0x1d915b(0x1d8)],async(_0x978ee,_0x9463a0)=>{const _0x11a5dd=_0x1d915b;try{PerformanceTester[_0x11a5dd(0x275)](PerformanceHookEvents[_0x11a5dd(0x1d4)]);const _0x26f9c7=_0x3206bb[_0x11a5dd(0x22a)](shouldScanTestForAccessibility,_0x978ee[_0x11a5dd(0x203)](),!![]);if(_0x3206bb[_0x11a5dd(0x1f3)](isAccessibilityAutomationSession)&&global[_0x11a5dd(0x254)]&&_0x26f9c7){const _0x471e63={};_0x471e63[_0x11a5dd(0x1ae)]=_0x978ee[_0x11a5dd(0x23c)],_0x471e63['thBuildUuid']=process[_0x11a5dd(0x1f8)][testHubConstants['ENV_VAR'][_0x11a5dd(0x1bb)]],_0x471e63[_0x11a5dd(0x1df)]=process[_0x11a5dd(0x1f8)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x2af84b=_0x471e63;logger[_0x11a5dd(0x1e5)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x11a5dd(0x1ad)](_0x2af84b)),CodeceptRecorder[_0x11a5dd(0x1e4)](async()=>{const _0x67d6cd=_0x11a5dd,_0x161ba8={};_0x161ba8[_0x67d6cd(0x22c)]=_0x3206bb[_0x67d6cd(0x19d)],await PerformanceTester[_0x67d6cd(0x19c)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2cad93=_0x67d6cd;await AccessibilityHelper['browserStackExecuteDriver'](_0x5756c7,scripts[_0x2cad93(0x1e3)]);},_0x161ba8)(),await PerformanceTester[_0x67d6cd(0x19c)](PerformanceA11yEvents[_0x67d6cd(0x206)],async()=>{const _0x54bca9=_0x67d6cd;await AccessibilityHelper['browserStackExecuteDriver'](_0x5756c7,scripts[_0x54bca9(0x263)],_0x2af84b);})();}),logger[_0x11a5dd(0x246)](_0x3206bb[_0x11a5dd(0x24b)]);}const _0x46420f={};_0x46420f[_0x11a5dd(0x1e2)]=_0x3206bb['BZaeI'],PerformanceTester[_0x11a5dd(0x278)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x46420f);}catch(_0x5d7cdc){PerformanceTester['captureError'](_0x5d7cdc);const _0x341ebf={};_0x341ebf[_0x11a5dd(0x1e2)]=_0x3206bb['BZaeI'],PerformanceTester[_0x11a5dd(0x278)](PerformanceHookEvents[_0x11a5dd(0x1d4)],![],_0x5d7cdc,_0x341ebf);}}),CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x217)]['on'](CodeceptJS[_0x1d915b(0x1ff)]['step'][_0x1d915b(0x285)],_0x2f3b5d=>{const _0x2cd577=_0x1d915b;PerformanceTester[_0x2cd577(0x275)](PerformanceHookEvents[_0x2cd577(0x1d4)]);try{process[_0x2cd577(0x279)](_0x2cd577(0x27d)+process[_0x2cd577(0x226)],{'timestamp':new Date()[_0x2cd577(0x219)](),'level':_0x3206bb[_0x2cd577(0x189)],'message':_0x2f3b5d,'kind':_0x3206bb['gRJuN'],'http_response':{}});}catch(_0x5769d4){PerformanceTester['captureError'](_0x5769d4);const _0x41bc28={};_0x41bc28['hookType']=_0x3206bb[_0x2cd577(0x1c6)],PerformanceTester[_0x2cd577(0x278)](PerformanceHookEvents[_0x2cd577(0x1d4)],![],_0x5769d4,_0x41bc28);}const _0x554330={};_0x554330[_0x2cd577(0x1e2)]=_0x3206bb[_0x2cd577(0x1c6)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x554330);}),CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x217)]['on'](CodeceptJS[_0x1d915b(0x1ff)][_0x1d915b(0x1f0)][_0x1d915b(0x26a)],_0x46fa08=>{const _0x5c1d39=_0x1d915b,_0x4f6707={};_0x4f6707[_0x5c1d39(0x1e2)]=_0x3206bb[_0x5c1d39(0x1a5)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x5c1d39(0x1d4)],()=>{const _0x2e15d5=_0x5c1d39;_0x37c700[_0x2e15d5(0x1a9)](_0x46fa08);},_0x4f6707)();}),CodeceptJS['event'][_0x1d915b(0x217)]['on'](CodeceptJS[_0x1d915b(0x1ff)]['bddStep'][_0x1d915b(0x1d8)],_0x496229=>{const _0x3833af=_0x1d915b,_0x44d66e={};_0x44d66e['hookType']=_0x3206bb[_0x3833af(0x1bc)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x3833af(0x1d4)],()=>{const _0xa22068=_0x3833af;_0x37c700[_0xa22068(0x20e)](_0x496229);},_0x44d66e)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x416346=a2_0xdeb9;(function(_0x5d2bf0,_0x535b6f){const _0x43e729=a2_0xdeb9,_0x4712c4=_0x5d2bf0();while(!![]){try{const _0x9bb7e6=-parseInt(_0x43e729(0x28e))/0x1*(-parseInt(_0x43e729(0x260))/0x2)+parseInt(_0x43e729(0x275))/0x3*(parseInt(_0x43e729(0x26a))/0x4)+parseInt(_0x43e729(0x220))/0x5+parseInt(_0x43e729(0x262))/0x6*(parseInt(_0x43e729(0x206))/0x7)+-parseInt(_0x43e729(0x282))/0x8*(parseInt(_0x43e729(0x278))/0x9)+parseInt(_0x43e729(0x216))/0xa*(-parseInt(_0x43e729(0x222))/0xb)+parseInt(_0x43e729(0x224))/0xc*(parseInt(_0x43e729(0x264))/0xd);if(_0x9bb7e6===_0x535b6f)break;else _0x4712c4['push'](_0x4712c4['shift']());}catch(_0x27a3ff){_0x4712c4['push'](_0x4712c4['shift']());}}}(a2_0x272f,0x2b240));const fs=require('fs'),path=require(a2_0x416346(0x28d)),util=require(a2_0x416346(0x1ea)),process=require(a2_0x416346(0x1f4)),logger=require(a2_0x416346(0x255))[a2_0x416346(0x272)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x416346(0x27e)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x416346(0x25f)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x416346(0x27a),a2_0x416346(0x286)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x416346(0x1fd)),constants=require(a2_0x416346(0x257)),PerformanceTester=require(a2_0x416346(0x213)),{FRAMEWORKS}=require(a2_0x416346(0x252)),PerformanceEvents=require(a2_0x416346(0x270))['EVENTS'],ClientTroubleShootingService=require(a2_0x416346(0x217)),_testErrorData=[],getUserCodeceptJSConfigs=(_0xd81097,_0x3b6d48)=>{const _0x2aa131=a2_0x416346,_0x546244={};_0x546244[_0x2aa131(0x241)]=function(_0x586fc6,_0x52db62){return _0x586fc6===_0x52db62;},_0x546244['Vnrdm']='codecept.conf.js',_0x546244['oqSZr']=_0x2aa131(0x251);const _0xf78d06=_0x546244;let _0x413ff0=null;const _0x4a779d={};let _0x4e5429=_0x3b6d48[_0x2aa131(0x200)](_0x336606=>_0x336606===_0x2aa131(0x23b));_0xf78d06[_0x2aa131(0x241)](_0x4e5429,-0x1)&&(_0x4e5429=_0x3b6d48[_0x2aa131(0x200)](_0xc5a52d=>_0xc5a52d==='-c'));if(!helper['isUndefined'](_0xd81097[_0x2aa131(0x24a)])&&fs[_0x2aa131(0x225)](path[_0x2aa131(0x280)](process[_0x2aa131(0x269)](),_0xd81097[_0x2aa131(0x24a)])))_0x413ff0=path[_0x2aa131(0x280)](process[_0x2aa131(0x269)](),_0xd81097[_0x2aa131(0x24a)]),_0x3b6d48['slice'](_0x4e5429,0x2);else{if(!helper[_0x2aa131(0x256)](_0xd81097['c'])&&fs[_0x2aa131(0x225)](path[_0x2aa131(0x280)](process[_0x2aa131(0x269)](),_0xd81097['c'])))_0x413ff0=path[_0x2aa131(0x280)](process[_0x2aa131(0x269)](),_0xd81097['c']),_0x3b6d48[_0x2aa131(0x21b)](_0x4e5429,0x2);else{if(fs[_0x2aa131(0x225)](path[_0x2aa131(0x280)](process[_0x2aa131(0x269)](),_0xf78d06['Vnrdm'])))_0x413ff0=path['join'](process[_0x2aa131(0x269)](),_0xf78d06[_0x2aa131(0x273)]);else fs['existsSync'](path[_0x2aa131(0x280)](process[_0x2aa131(0x269)](),_0xf78d06[_0x2aa131(0x259)]))&&(_0x413ff0=path[_0x2aa131(0x280)](process[_0x2aa131(0x269)](),_0xf78d06[_0x2aa131(0x259)]));}}return process[_0x2aa131(0x266)][_0x2aa131(0x246)]=_0x413ff0,_0x413ff0;},getO11yRerunPattern=()=>{const _0x46f992=a2_0x416346,_0x33d84a=helper[_0x46f992(0x28b)](process[_0x46f992(0x266)][_0x46f992(0x232)]);if(_0x33d84a){const _0x477140=process[_0x46f992(0x266)][_0x46f992(0x26f)],_0x4deb21=[];if(helper[_0x46f992(0x234)](_0x477140)&&!helper[_0x46f992(0x256)](_0x477140)){_0x477140['split'](',')[_0x46f992(0x287)](_0x3beb5e=>{const _0x5b1f15=_0x46f992;_0x4deb21[_0x5b1f15(0x26d)]('('+_0x3beb5e[_0x5b1f15(0x22e)]()+')');});const _0x129c90='^'+_0x4deb21[_0x46f992(0x280)]('|')+'$';return _0x129c90;}}return null;},a2_0x3bcf1e={};function a2_0xdeb9(_0x1ef821,_0x44d4f4){const _0x272f65=a2_0x272f();return a2_0xdeb9=function(_0xdeb934,_0x472bb0){_0xdeb934=_0xdeb934-0x1ea;let _0x194a40=_0x272f65[_0xdeb934];return _0x194a40;},a2_0xdeb9(_0x1ef821,_0x44d4f4);}function a2_0x272f(){const _0x20daf8=['browser','Workers','chrome','nigen','getPlatformName','initialize','SDK_SETUP','length','skipSessionStatus','load','split','../../helpers/performance/performance-tester','uCHIx','printResults','1017410YKovWQ','../utils/clientTroubleshootingService','cEBHZ','all','testContextOptions','slice','chromium','launchBuild','frameworkName','require','606160jTchjE','nZtiN','11fyAoBl','RFhmj','2700OGFaGe','existsSync','WeNcC','setAdditionalCapabilities','info','stop','jQaTz','profile','VZGxU','ksWdZ','trim','BROWSERSTACK_TEST_ACCESSIBILITY_YML','yxAOq','forEach','BROWSERSTACK_RERUN','result','validateRerunTestList','QzFci','before','Playwright','PIGWG','OYSip','CODECEPT_CUCUMBER','--config','browserName','createGroupsOfSuites','urMJl','host','uQHFZ','ODTAw','WLYNn','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','log','WebDriver','USER_CONFIG_DETAILS_PATH','wtKaz','qsXaG','bootstrapAll','config','getUserWorkerCount','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','skipSessionName','accessibility','dirname','start','codecept.json','../../helpers/test-observability/constants','useW3C','/wd/hub','../../helpers/logger','isUndefined','../utils/constants','testConfig','oqSZr','FRAMEWORKS','toLowerCase','playwright-firefox','webkit','printBuildLink','../../bin/playwright/accessibility-helper','4GQQZVX','gherkin','648jUyxCw','event','8723ZXoRjX','BrowserStackPlugin','env','ojyyl','plugins','cwd','58808NOnzwS','BROWSERSTACK_TEST_OBSERVABILITY_YML','spawn','push','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','BROWSERSTACK_RERUN_TESTS','../../helpers/performance/constants','teardownAll','winstonLogger','Vnrdm','addConfig','27khPwSP','prepareCapabilities','testObservability','69246neUAGm','addTests','codeceptjs/lib/index.js','desiredCapabilities','BrowserStackPlugin.js','test','../../helpers/helper','failed','join','stringify','184rnKKkK','title','Started\x20:\x20','root','codeceptjs','map','chdir','playwright-chromium','now','isTrue','platforms','path','14965hygQse','key','finalExecution','hJhmK','util','debug','exports','3|0|5|1|4|2','addOptions','nEkpK','assign','CODECEPT','handleApp','stack','process','helpers','browserWSEndpoint','err','accessKey','hubUrl','replace','browserStackCwd','isTestObservabilitySession','../../helpers/testhub/testhubHandler','SDK_CLEANUP','accessibilityOptions','findIndex','UmiSe','firefox','mergeDeep','playwright-webkit','TLRhw','1358zyKDAh','FvnMB'];a2_0x272f=function(){return _0x20daf8;};return a2_0x272f();}a2_0x3bcf1e[a2_0x416346(0x20a)]=a2_0x416346(0x21c),a2_0x3bcf1e[a2_0x416346(0x289)]=a2_0x416346(0x21c),a2_0x3bcf1e[a2_0x416346(0x25c)]=a2_0x416346(0x202),a2_0x3bcf1e[a2_0x416346(0x204)]=a2_0x416346(0x25d);const pwToCodeceptBrowser=a2_0x3bcf1e;async function run(_0x1335c9,_0x2d9e35,_0x5dabfa){const _0x397fea=a2_0x416346,_0x1f557={'urMJl':function(_0x16caa5,_0x38caf6){return _0x16caa5+_0x38caf6;},'ksWdZ':function(_0x2f987b,_0x37ff4f){return _0x2f987b(_0x37ff4f);},'nVDtx':function(_0x6224b5,_0x1bcf4b){return _0x6224b5+_0x1bcf4b;},'wtKaz':function(_0x180805,_0x207635,_0x3a2858){return _0x180805(_0x207635,_0x3a2858);},'VZGxU':'helpers','TLRhw':function(_0x204d3){return _0x204d3();},'nZtiN':_0x397fea(0x254),'yHTcp':function(_0x118cdd){return _0x118cdd();},'RFhmj':'Failed\x20:\x20','OBwtc':'Passed\x20:\x20','cXivV':_0x397fea(0x284),'FvnMB':_0x397fea(0x1ed),'glleP':_0x397fea(0x243),'PIGWG':_0x397fea(0x237),'uQHFZ':_0x397fea(0x245),'UmiSe':function(_0x275ffd,_0x5961a7){return _0x275ffd!=_0x5961a7;},'jQaTz':function(_0x2afb8a,_0x4671b0){return _0x2afb8a===_0x4671b0;},'nEkpK':function(_0x39983f,_0x584cd7,_0x348868){return _0x39983f(_0x584cd7,_0x348868);},'ojyyl':_0x397fea(0x261),'cEBHZ':function(_0x1ed801){return _0x1ed801();},'qsXaG':function(_0x5cb624,_0x2a7837){return _0x5cb624*_0x2a7837;},'ikJJI':function(_0xe6e739,_0x40458b,_0x48fc27){return _0xe6e739(_0x40458b,_0x48fc27);},'yxAOq':'browser','OYSip':function(_0x109724,_0x21afae,_0xb1f0a1){return _0x109724(_0x21afae,_0xb1f0a1);},'QzFci':'desiredCapabilities','egiYC':function(_0x441780,_0x27528e,_0x4c5ca2){return _0x441780(_0x27528e,_0x4c5ca2);},'WLYNn':_0x397fea(0x285),'WeNcC':_0x397fea(0x27c),'nigen':_0x397fea(0x1fb)};await _0x5dabfa[_0x397fea(0x20d)](_0x1335c9),await helper[_0x397fea(0x1f2)](_0x5dabfa[_0x397fea(0x24a)]);if(!_0x5dabfa[_0x397fea(0x24a)])return;process[_0x397fea(0x22b)]=_0x1335c9[_0x397fea(0x22b)];_0x1335c9[_0x397fea(0x22b)]&&(process['env'][_0x397fea(0x22b)]=_0x1335c9[_0x397fea(0x22b)]);const _0x33b5fb=_0x1f557['wtKaz'](getUserCodeceptJSConfigs,_0x1335c9,_0x2d9e35);let _0x379619={};_0x33b5fb?(logger[_0x397fea(0x228)](_0x397fea(0x24c)+_0x33b5fb),_0x379619=CodeceptJS[_0x397fea(0x24a)][_0x397fea(0x211)](_0x33b5fb)):logger[_0x397fea(0x228)](_0x1f557['glleP']);let _0x38b82a=![];_0x1f557[_0x397fea(0x247)](nestedKeyValue,_0x379619,[_0x1f557[_0x397fea(0x22c)],_0x1f557[_0x397fea(0x238)]])&&(_0x38b82a=!![]);const _0x2f195c=_0x38b82a?_0x1f557[_0x397fea(0x238)]:_0x1f557[_0x397fea(0x240)];let _0x38a4ef=!_0x38b82a?helper[_0x397fea(0x253)](_0x5dabfa['config']):![];!helper[_0x397fea(0x256)](_0x5dabfa[_0x397fea(0x24a)]['accessibilityOptions'])&&(process[_0x397fea(0x266)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x5dabfa['config'][_0x397fea(0x1ff)]));let _0x22d486=_0x5dabfa[_0x397fea(0x24a)][_0x397fea(0x24e)];_0x22d486=_0x22d486||_0x1f557[_0x397fea(0x22d)](checkAccessibilityPlatformConfig,_0x5dabfa[_0x397fea(0x24a)]),process[_0x397fea(0x266)][_0x397fea(0x22f)]=_0x22d486;_0x22d486&&(_0x38a4ef=!_0x22d486);_0x1f557[_0x397fea(0x201)](_0x5dabfa[_0x397fea(0x24a)][_0x397fea(0x277)],null)?process[_0x397fea(0x266)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5dabfa['config']['testObservability']:process[_0x397fea(0x266)][_0x397fea(0x26b)]=_0x1f557[_0x397fea(0x22a)](_0x2f195c,_0x1f557[_0x397fea(0x238)]);const _0x13da66=_0x1f557[_0x397fea(0x1ef)](nestedKeyValue,_0x379619,[_0x1f557[_0x397fea(0x267)]]),_0x5a456b=_0x13da66&&!helper['isEmpty'](_0x13da66)?FRAMEWORKS[_0x397fea(0x23a)]:FRAMEWORKS[_0x397fea(0x1f1)],_0x4064bc=await TestHubHandler[_0x397fea(0x21d)](_0x5a456b,_0x5dabfa);_0x22d486&&_0x1f557[_0x397fea(0x22d)](setAccessibilityCapabilities,_0x5dabfa[_0x397fea(0x24a)]);const _0x317998={},_0xf72fd1=[],_0x4e171a=_0x5dabfa[_0x397fea(0x24a)]['parallelsPerPlatform']||helper[_0x397fea(0x24b)](_0x1335c9,_0x2d9e35,_0x5dabfa[_0x397fea(0x24a)],constants[_0x397fea(0x25a)][_0x397fea(0x1f1)])||0x1;let _0x30bbb8=0x1;if(_0x1f557[_0x397fea(0x218)](isBrowserstackInfra)){const _0x5dfdbd=helper['prepareCapabilities'](_0x5dabfa[_0x397fea(0x24a)],_0x38a4ef,constants['FRAMEWORKS'][_0x397fea(0x1f1)]);_0x5dfdbd['forEach'](_0x5515fc=>{const _0x45d63b=_0x397fea;helper[_0x45d63b(0x227)](_0x5515fc);}),helper['validPlatformsPresent'](_0x5dabfa['config'])?_0x30bbb8=_0x1f557[_0x397fea(0x248)](_0x4e171a,_0x5dabfa[_0x397fea(0x24a)][_0x397fea(0x28c)][_0x397fea(0x20f)]):_0x30bbb8=_0x4e171a,_0x5dfdbd[_0x397fea(0x231)](_0x32aa21=>{const _0x6c794c=_0x397fea,_0x41e3da={'uCHIx':function(_0x731395,_0x3f9550){const _0x1e3b89=a2_0xdeb9;return _0x1f557[_0x1e3b89(0x23e)](_0x731395,_0x3f9550);},'hJhmK':function(_0x2620f7,_0x466724){const _0x25b608=a2_0xdeb9;return _0x1f557[_0x25b608(0x22d)](_0x2620f7,_0x466724);}},_0x4b119b=_0x1f557['nVDtx'](helper[_0x6c794c(0x20c)](_0x32aa21,'_'),'_'+Date[_0x6c794c(0x28a)]()),_0x2b76b9=((()=>{const _0x28c2e4=_0x6c794c;if(_0x38b82a){const _0x4d69de=pwToCodeceptBrowser[_0x32aa21[_0x28c2e4(0x23c)]]||_0x32aa21[_0x28c2e4(0x23c)];return{'browser':_0x4d69de,[_0x4d69de]:{'browserWSEndpoint':_0x41e3da[_0x28c2e4(0x214)](helper['getPlaywrightUrl'](_0x5dabfa[_0x28c2e4(0x24a)]),_0x41e3da[_0x28c2e4(0x291)](encodeURIComponent,JSON[_0x28c2e4(0x281)](_0x32aa21)))}};}const _0x2dac7d={};return _0x2dac7d[_0x28c2e4(0x27b)]=_0x32aa21,_0x2dac7d['user']=_0x5dabfa[_0x28c2e4(0x24a)]['userName'],_0x2dac7d[_0x28c2e4(0x28f)]=_0x5dabfa['config'][_0x28c2e4(0x1f8)],_0x2dac7d;})()),_0x5a8bf8=_0x1f557[_0x6c794c(0x247)](nestedKeyValue,_0x379619,[_0x1f557[_0x6c794c(0x22c)],_0x2f195c]);_0x317998[_0x4b119b]=_0x5a8bf8?helper[_0x6c794c(0x203)](_0x2b76b9,_0x5a8bf8):_0x2b76b9;if(_0x38b82a)_0x317998[_0x4b119b][_0x6c794c(0x208)]=pwToCodeceptBrowser[_0x32aa21[_0x6c794c(0x23c)]]||_0x32aa21[_0x6c794c(0x23c)];else{_0x317998[_0x4b119b]['browser']=_0x32aa21[_0x6c794c(0x23c)]||_0x2b76b9[_0x6c794c(0x208)];if(_0x1f557[_0x6c794c(0x205)](isBrowserstackInfra)){_0x317998[_0x4b119b][_0x6c794c(0x23f)]=constants[_0x6c794c(0x1f9)][_0x6c794c(0x1fa)](_0x1f557[_0x6c794c(0x221)],'')[_0x6c794c(0x1fa)](/https?:\/\//,'');;_0x317998[_0x4b119b][_0x6c794c(0x28d)]=_0x1f557[_0x6c794c(0x221)];}}_0xf72fd1[_0x6c794c(0x26d)](_0x4b119b);});}else{_0x30bbb8=0x1;if(_0x38b82a){const _0x494ec4=_0x1f557['ikJJI'](nestedKeyValue,_0x379619,[_0x1f557[_0x397fea(0x22c)],_0x2f195c,_0x1f557[_0x397fea(0x230)]]),_0x470073=_0x1f557[_0x397fea(0x239)](nestedKeyValue,_0x379619,[_0x1f557[_0x397fea(0x22c)],_0x2f195c,_0x494ec4]);if(_0x470073&&_0x470073[_0x397fea(0x1f6)]){const _0x58d170={};_0x58d170[_0x397fea(0x28c)]=[],_0x470073[_0x397fea(0x1f6)]=helper[_0x397fea(0x276)](Object[_0x397fea(0x1f0)]({},_0x5dabfa[_0x397fea(0x24a)],_0x58d170),null,_0x5a456b[_0x397fea(0x25b)](),null,null,_0x470073[_0x397fea(0x1f6)]);}}else{const _0x253b67={};_0x253b67[_0x397fea(0x28c)]=[],_0x379619[_0x1f557[_0x397fea(0x22c)]][_0x2f195c][_0x1f557['QzFci']]=helper[_0x397fea(0x276)](Object[_0x397fea(0x1f0)]({},_0x5dabfa[_0x397fea(0x24a)],_0x253b67),null,_0x5a456b[_0x397fea(0x25b)](),_0x1f557['egiYC'](nestedKeyValue,_0x379619,[_0x1f557[_0x397fea(0x22c)],_0x2f195c,_0x1f557[_0x397fea(0x235)]])||{},null,null);}_0x317998[_0x1f557[_0x397fea(0x242)]]=_0x379619,_0xf72fd1[_0x397fea(0x26d)](_0x1f557[_0x397fea(0x242)]);}const _0xe2d1c9={};_0xe2d1c9[_0x397fea(0x258)]=_0x33b5fb;const _0x108168=_0xe2d1c9,_0x588232=path[_0x397fea(0x280)](__dirname,_0x1f557[_0x397fea(0x226)]),_0x3ad14=process[_0x397fea(0x269)]();process[_0x397fea(0x266)][_0x1f557[_0x397fea(0x20b)]]=_0x3ad14,process[_0x397fea(0x288)](path[_0x397fea(0x24f)](_0x33b5fb));const _0x23e26f=new CodeceptJS[(_0x397fea(0x209))](null,_0x108168),_0x1c49e9=_0x23e26f[_0x397fea(0x23d)](_0x30bbb8),_0x2d70d8=testOpsHelper[_0x397fea(0x1fc)](),_0x1a3d9d=_0xf72fd1[_0x397fea(0x287)](_0x45628c=>{const _0x7af0b5=_0x397fea,_0x3fd6cd={};_0x3fd6cd[_0x7af0b5(0x237)]=_0x317998[_0x45628c];const _0x143e7a={};_0x143e7a['WebDriver']=_0x317998[_0x45628c];const _0x25b4c4=_0x38b82a?_0x3fd6cd:_0x143e7a,_0x465989=_0x1f557[_0x7af0b5(0x205)](getO11yRerunPattern),_0x445538={};_0x445538[_0x7af0b5(0x1f5)]=_0x25b4c4;const _0x301d23={};_0x301d23[_0x7af0b5(0x21f)]=_0x588232,_0x301d23['enabled']=!![],_0x301d23[_0x7af0b5(0x24d)]=_0x5dabfa[_0x7af0b5(0x24a)][_0x7af0b5(0x21a)][_0x7af0b5(0x24d)],_0x301d23[_0x7af0b5(0x210)]=_0x5dabfa['config']['testContextOptions'][_0x7af0b5(0x210)],_0x301d23['testObservability']=_0x2d70d8,_0x301d23[_0x7af0b5(0x21e)]=_0x5a456b;const _0x47b114={};_0x47b114[_0x7af0b5(0x265)]=_0x301d23;const _0x5ac4c2={};return _0x5ac4c2[_0x7af0b5(0x268)]=_0x47b114,helper['mergeDeep']({},_0x379619,_0x1f557['yHTcp'](isBrowserstackInfra)?_0x445538:{},_0x465989?{'grep':_0x465989}:{},_0x5ac4c2);});for(const _0x14406c of _0x1a3d9d){for(const _0x1ce145 of _0x1c49e9){const _0x1116c8=_0x23e26f[_0x397fea(0x26c)]();_0x1116c8[_0x397fea(0x279)](_0x1ce145),_0x1116c8[_0x397fea(0x274)](_0x14406c);const _0x165bf7={};_0x165bf7[_0x397fea(0x24a)]=_0x33b5fb,_0x1116c8[_0x397fea(0x1ee)](Object[_0x397fea(0x1f0)](_0x165bf7,_0x1335c9));}}_0x23e26f['on'](CodeceptJS['event'][_0x397fea(0x27d)][_0x397fea(0x27f)],(_0x224624,_0x90ed3b)=>{const _0x5e5263=_0x397fea;console['log'](_0x1f557[_0x5e5263(0x223)],_0x224624[_0x5e5263(0x283)]);const _0x5463de={[_0x224624[_0x5e5263(0x283)]]:_0x224624[_0x5e5263(0x1f7)][_0x5e5263(0x1f3)]};_testErrorData[_0x5e5263(0x26d)](_0x5463de);}),_0x23e26f['on'](CodeceptJS[_0x397fea(0x263)][_0x397fea(0x27d)]['passed'],async _0x1cf3ec=>{const _0x1ceedb=_0x397fea;console[_0x1ceedb(0x244)](_0x1f557['OBwtc'],_0x1cf3ec['title']);}),_0x23e26f['on'](CodeceptJS['event'][_0x397fea(0x27d)][_0x397fea(0x236)],async _0x27dacb=>{const _0x11dc35=_0x397fea;console[_0x11dc35(0x244)](_0x1f557['cXivV'],_0x27dacb[_0x11dc35(0x283)]);}),_0x23e26f['on'](CodeceptJS[_0x397fea(0x263)][_0x397fea(0x219)][_0x397fea(0x233)],async()=>{const _0x1562c3=_0x397fea,_0x1aad92=_0x1f557[_0x1562c3(0x207)][_0x1562c3(0x212)]('|');let _0x2d6507=0x0;while(!![]){switch(_0x1aad92[_0x2d6507++]){case'0':_0x5dabfa['errorMessage']=_testErrorData;continue;case'1':utilities[_0x1562c3(0x290)](_0x5dabfa);continue;case'2':_0x23e26f[_0x1562c3(0x215)]();continue;case'3':PerformanceTester[_0x1562c3(0x250)](PerformanceEvents[_0x1562c3(0x1fe)]);continue;case'4':try{await TestHubHandler[_0x1562c3(0x229)]();}catch(_0x55eb11){logger[_0x1562c3(0x1eb)](_0x1562c3(0x26e)+util['format'](_0x55eb11));}continue;case'5':testOpsHelper[_0x1562c3(0x25e)]();continue;}break;}});async function _0x16764e(){const _0x245268=_0x397fea;try{await _0x23e26f[_0x245268(0x249)](),await _0x23e26f['run']();}finally{process[_0x245268(0x288)](_0x3ad14),await _0x23e26f[_0x245268(0x271)]();}}PerformanceTester['end'](PerformanceEvents[_0x397fea(0x20e)]),_0x1f557[_0x397fea(0x218)](_0x16764e);}module[a2_0x416346(0x1ec)]=run;
2
+ 'use strict';const a2_0x519ed4=a2_0x358b;(function(_0x4ec70d,_0x55d68b){const _0x32ac89=a2_0x358b,_0xdf64cf=_0x4ec70d();while(!![]){try{const _0x280c27=-parseInt(_0x32ac89(0x219))/0x1+parseInt(_0x32ac89(0x209))/0x2*(-parseInt(_0x32ac89(0x247))/0x3)+-parseInt(_0x32ac89(0x224))/0x4*(-parseInt(_0x32ac89(0x24b))/0x5)+parseInt(_0x32ac89(0x1ee))/0x6*(-parseInt(_0x32ac89(0x22d))/0x7)+-parseInt(_0x32ac89(0x1fa))/0x8*(-parseInt(_0x32ac89(0x204))/0x9)+-parseInt(_0x32ac89(0x233))/0xa*(-parseInt(_0x32ac89(0x21d))/0xb)+parseInt(_0x32ac89(0x263))/0xc*(parseInt(_0x32ac89(0x242))/0xd);if(_0x280c27===_0x55d68b)break;else _0xdf64cf['push'](_0xdf64cf['shift']());}catch(_0x56044a){_0xdf64cf['push'](_0xdf64cf['shift']());}}}(a2_0xcc49,0x42143));function a2_0xcc49(){const _0x32a431=['../../helpers/performance/performance-tester','VzUYL','push','desiredCapabilities','browserName','../../helpers/test-observability/utils','helpers','browserWSEndpoint','Passed\x20:\x20','createGroupsOfSuites','Started\x20:\x20','mPRVw','passed','failed','Workers','join','skipSessionStatus','forEach','profile','CODECEPT_CUCUMBER','util','log','end','bootstrapAll','parallelsPerPlatform','CsILA','enabled','BROWSERSTACK_TEST_ACCESSIBILITY_YML','start','pdlQe','IyUCF','accessibility','exports','Failed\x20:\x20','rOxXI','prepareCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browserStackCwd','6kohdGO','testObservability','testContextOptions','BLNwx','test','codeceptjs','errorMessage','result','teardownAll','handleApp','process','assign','184pDvKCV','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','KsSIB','HJgMd','chrome','mergeDeep','ySxRy','oqFbg','stringify','skgRg','41805klwfdc','split','playwright-webkit','existsSync','toLowerCase','16622rhhEZk','useW3C','isTestObservabilitySession','skipSessionName','load','BROWSERSTACK_TEST_OBSERVABILITY_YML','isTrue','codecept.json','user','ijSmy','../utils/clientTroubleshootingService','NSPLU','now','getPlaywrightUrl','chdir','title','31493knQgmz','/wd/hub','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','root','19492WHiMTk','../../helpers/utilities','spawn','chromium','../../helpers/helper','finalExecution','firefox','8nTeszG','webkit','event','--config','cwd','../../helpers/testhub/testhubHandler','adics','initialize','platforms','1978837WzoJsq','HqIvS','abtQf','config','setAdditionalCapabilities','replace','1010usTqPV','bSTgE','plugins','launchBuild','trim','FsdBN','info','browser','kSyIi','../../helpers/BrowserStackSetup','fZoyn','accessibilityOptions','SDK_CLEANUP','RoVZo','../utils/constants','3391063fkqgWl','kwbuR','printBuildLink','getUserWorkerCount','QmIxf','57zonEoU','PzotE','Playwright','playwright-firefox','490235ZjeQIm','findIndex','codeceptjs/lib/index.js','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','flODN','before','env','../../bin/playwright/accessibility-helper','accessKey','validPlatformsPresent','isUndefined','BROWSERSTACK_RERUN','path','frameworkName','CODECEPT','addTests','3|4|0|2|1|5','map','slice','cRhEk','gherkin','FRAMEWORKS','err','hubUrl','12OGKNLu'];a2_0xcc49=function(){return _0x32a431;};return a2_0xcc49();}const fs=require('fs'),path=require(a2_0x519ed4(0x257)),util=require(a2_0x519ed4(0x1dc)),process=require(a2_0x519ed4(0x1f8)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x519ed4(0x23c)),helper=require(a2_0x519ed4(0x221)),utilities=require(a2_0x519ed4(0x21e)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x519ed4(0x252)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x519ed4(0x24d),a2_0x519ed4(0x1f3)),testOpsHelper=require(a2_0x519ed4(0x269)),TestHubHandler=require(a2_0x519ed4(0x229)),constants=require(a2_0x519ed4(0x241)),PerformanceTester=require(a2_0x519ed4(0x264)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],ClientTroubleShootingService=require(a2_0x519ed4(0x213)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x35e3e7,_0x3762af)=>{const _0x54cad4=a2_0x519ed4,_0x1e829d={};_0x1e829d['fZoyn']=function(_0x476066,_0x3099c5){return _0x476066===_0x3099c5;},_0x1e829d['flODN']='codecept.conf.js',_0x1e829d[_0x54cad4(0x240)]=_0x54cad4(0x210);const _0x2fdf39=_0x1e829d;let _0x37b915=null;const _0x4523c5={};let _0x500b88=_0x3762af['findIndex'](_0x2c9191=>_0x2c9191===_0x54cad4(0x227));_0x2fdf39[_0x54cad4(0x23d)](_0x500b88,-0x1)&&(_0x500b88=_0x3762af[_0x54cad4(0x24c)](_0x318f38=>_0x318f38==='-c'));if(!helper[_0x54cad4(0x255)](_0x35e3e7['config'])&&fs['existsSync'](path[_0x54cad4(0x273)](process[_0x54cad4(0x228)](),_0x35e3e7[_0x54cad4(0x230)])))_0x37b915=path[_0x54cad4(0x273)](process['cwd'](),_0x35e3e7['config']),_0x3762af[_0x54cad4(0x25d)](_0x500b88,0x2);else{if(!helper[_0x54cad4(0x255)](_0x35e3e7['c'])&&fs[_0x54cad4(0x207)](path[_0x54cad4(0x273)](process[_0x54cad4(0x228)](),_0x35e3e7['c'])))_0x37b915=path[_0x54cad4(0x273)](process[_0x54cad4(0x228)](),_0x35e3e7['c']),_0x3762af[_0x54cad4(0x25d)](_0x500b88,0x2);else{if(fs[_0x54cad4(0x207)](path['join'](process[_0x54cad4(0x228)](),_0x2fdf39[_0x54cad4(0x24f)])))_0x37b915=path[_0x54cad4(0x273)](process['cwd'](),_0x2fdf39[_0x54cad4(0x24f)]);else fs[_0x54cad4(0x207)](path[_0x54cad4(0x273)](process[_0x54cad4(0x228)](),_0x2fdf39[_0x54cad4(0x240)]))&&(_0x37b915=path['join'](process['cwd'](),_0x2fdf39['RoVZo']));}}return process[_0x54cad4(0x251)]['USER_CONFIG_DETAILS_PATH']=_0x37b915,_0x37b915;},getO11yRerunPattern=()=>{const _0x3c409e=a2_0x519ed4,_0x3ef0aa=helper[_0x3c409e(0x20f)](process['env'][_0x3c409e(0x256)]);if(_0x3ef0aa){const _0x387409=process[_0x3c409e(0x251)]['BROWSERSTACK_RERUN_TESTS'],_0xf57214=[];if(helper['validateRerunTestList'](_0x387409)&&!helper['isUndefined'](_0x387409)){_0x387409[_0x3c409e(0x205)](',')[_0x3c409e(0x25c)](_0x29cc19=>{const _0x4a3791=_0x3c409e;_0xf57214[_0x4a3791(0x266)]('('+_0x29cc19[_0x4a3791(0x237)]()+')');});const _0x241229='^'+_0xf57214['join']('|')+'$';return _0x241229;}}return null;},a2_0x14ea94={};function a2_0x358b(_0x1deea6,_0x122c64){const _0xcc49f5=a2_0xcc49();return a2_0x358b=function(_0x358bc5,_0x2a0f04){_0x358bc5=_0x358bc5-0x1dc;let _0xcc52d5=_0xcc49f5[_0x358bc5];return _0xcc52d5;},a2_0x358b(_0x1deea6,_0x122c64);}a2_0x14ea94[a2_0x519ed4(0x1fe)]=a2_0x519ed4(0x220),a2_0x14ea94['playwright-chromium']=a2_0x519ed4(0x220),a2_0x14ea94[a2_0x519ed4(0x24a)]=a2_0x519ed4(0x223),a2_0x14ea94[a2_0x519ed4(0x206)]=a2_0x519ed4(0x225);const pwToCodeceptBrowser=a2_0x14ea94;async function run(_0x1fadd2,_0x129005,_0x290b4a){const _0x332006=a2_0x519ed4,_0x2f9ed7={'VzUYL':function(_0x57fed4,_0x3d9cd1){return _0x57fed4+_0x3d9cd1;},'NnQkH':function(_0x3c025a,_0x4f2157){return _0x3c025a(_0x4f2157);},'cVzOS':function(_0x4bd4fa,_0x226d45){return _0x4bd4fa+_0x226d45;},'ySxRy':function(_0x283e60,_0x19ac59,_0x43e330){return _0x283e60(_0x19ac59,_0x43e330);},'cRhEk':_0x332006(0x26a),'rOxXI':function(_0x521a3c){return _0x521a3c();},'PzotE':_0x332006(0x21a),'IJlTP':function(_0x276e3a){return _0x276e3a();},'adics':_0x332006(0x1e9),'CsILA':_0x332006(0x26c),'WfpUN':_0x332006(0x26e),'NSPLU':_0x332006(0x25b),'oqFbg':function(_0x48ed9c,_0x551818,_0x3806af){return _0x48ed9c(_0x551818,_0x3806af);},'bSTgE':_0x332006(0x1fb),'IyUCF':_0x332006(0x249),'gDNOY':'WebDriver','MDfRg':function(_0x31bb82,_0x58f467){return _0x31bb82(_0x58f467);},'Khtcu':function(_0x19579c,_0xea973b){return _0x19579c!=_0xea973b;},'abtQf':function(_0x260f5f,_0x276080){return _0x260f5f===_0x276080;},'kSyIi':_0x332006(0x25f),'ijSmy':function(_0x186273,_0x590a85){return _0x186273(_0x590a85);},'mPRVw':function(_0xba3bc2,_0x36b894){return _0xba3bc2*_0x36b894;},'pdlQe':function(_0x253d33,_0x4ff987,_0x2ebc87){return _0x253d33(_0x4ff987,_0x2ebc87);},'FsdBN':_0x332006(0x23a),'kwbuR':function(_0x2525ee,_0x1d60a1,_0x15425f){return _0x2525ee(_0x1d60a1,_0x15425f);},'KsSIB':'desiredCapabilities','HJgMd':function(_0x2d9be9,_0x3c063f,_0x2f4ebf){return _0x2d9be9(_0x3c063f,_0x2f4ebf);},'QmIxf':_0x332006(0x21c),'skgRg':'BrowserStackPlugin.js','HqIvS':_0x332006(0x1ed),'BLNwx':function(_0x4f4d8b){return _0x4f4d8b();}};await _0x290b4a[_0x332006(0x22b)](_0x1fadd2),await helper[_0x332006(0x1f7)](_0x290b4a[_0x332006(0x230)]);if(!_0x290b4a[_0x332006(0x230)])return;process[_0x332006(0x276)]=_0x1fadd2[_0x332006(0x276)];_0x1fadd2[_0x332006(0x276)]&&(process[_0x332006(0x251)][_0x332006(0x276)]=_0x1fadd2[_0x332006(0x276)]);const _0x4c7afa=_0x2f9ed7['oqFbg'](getUserCodeceptJSConfigs,_0x1fadd2,_0x129005);let _0x1c94c3={};_0x4c7afa?(logger[_0x332006(0x239)](_0x332006(0x21b)+_0x4c7afa),_0x1c94c3=CodeceptJS[_0x332006(0x230)][_0x332006(0x20d)](_0x4c7afa)):logger['info'](_0x2f9ed7[_0x332006(0x234)]);let _0x209511=![];_0x2f9ed7[_0x332006(0x200)](nestedKeyValue,_0x1c94c3,[_0x2f9ed7[_0x332006(0x25e)],_0x2f9ed7[_0x332006(0x1e6)]])&&(_0x209511=!![]);const _0x3633cb=_0x209511?_0x2f9ed7[_0x332006(0x1e6)]:_0x2f9ed7['gDNOY'];let _0x20330a=!_0x209511?helper[_0x332006(0x20a)](_0x290b4a['config']):![];!helper[_0x332006(0x255)](_0x290b4a[_0x332006(0x230)]['accessibilityOptions'])&&(process[_0x332006(0x251)][_0x332006(0x1ec)]=JSON[_0x332006(0x202)](_0x290b4a[_0x332006(0x230)][_0x332006(0x23e)]));let _0x4004a3=_0x290b4a[_0x332006(0x230)][_0x332006(0x1e7)];_0x4004a3=_0x4004a3||_0x2f9ed7['MDfRg'](checkAccessibilityPlatformConfig,_0x290b4a[_0x332006(0x230)]),process[_0x332006(0x251)][_0x332006(0x1e3)]=_0x4004a3;_0x4004a3&&(_0x20330a=!_0x4004a3);_0x2f9ed7['Khtcu'](_0x290b4a[_0x332006(0x230)][_0x332006(0x1ef)],null)?process[_0x332006(0x251)][_0x332006(0x20e)]=_0x290b4a[_0x332006(0x230)][_0x332006(0x1ef)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2f9ed7[_0x332006(0x22f)](_0x3633cb,_0x2f9ed7[_0x332006(0x1e6)]);const _0x2788c2=_0x2f9ed7[_0x332006(0x201)](nestedKeyValue,_0x1c94c3,[_0x2f9ed7[_0x332006(0x23b)]]),_0x1cf0e7=_0x2788c2&&!helper['isEmpty'](_0x2788c2)?FRAMEWORKS[_0x332006(0x277)]:FRAMEWORKS[_0x332006(0x259)],_0x26a03a=await TestHubHandler[_0x332006(0x236)](_0x1cf0e7,_0x290b4a);_0x4004a3&&_0x2f9ed7[_0x332006(0x212)](setAccessibilityCapabilities,_0x290b4a[_0x332006(0x230)]);const _0x3280ee={},_0xfb3132=[],_0x45fac1=_0x290b4a[_0x332006(0x230)][_0x332006(0x1e0)]||helper[_0x332006(0x245)](_0x1fadd2,_0x129005,_0x290b4a[_0x332006(0x230)],constants[_0x332006(0x260)][_0x332006(0x259)])||0x1;let _0x13c186=0x1;if(_0x2f9ed7['IJlTP'](isBrowserstackInfra)){const _0x4d4c26=helper[_0x332006(0x1eb)](_0x290b4a[_0x332006(0x230)],_0x20330a,constants['FRAMEWORKS']['CODECEPT']);_0x4d4c26[_0x332006(0x275)](_0x2d6bff=>{const _0x413036=_0x332006;helper[_0x413036(0x231)](_0x2d6bff);}),helper[_0x332006(0x254)](_0x290b4a[_0x332006(0x230)])?_0x13c186=_0x2f9ed7[_0x332006(0x26f)](_0x45fac1,_0x290b4a[_0x332006(0x230)][_0x332006(0x22c)]['length']):_0x13c186=_0x45fac1,_0x4d4c26[_0x332006(0x275)](_0x334e5f=>{const _0x3b2761=_0x332006,_0x423435=_0x2f9ed7['cVzOS'](helper['getPlatformName'](_0x334e5f,'_'),'_'+Date[_0x3b2761(0x215)]()),_0x569c5d=((()=>{const _0x5742a2=_0x3b2761;if(_0x209511){const _0x2bb1a7=pwToCodeceptBrowser[_0x334e5f[_0x5742a2(0x268)]]||_0x334e5f[_0x5742a2(0x268)];return{'browser':_0x2bb1a7,[_0x2bb1a7]:{'browserWSEndpoint':_0x2f9ed7[_0x5742a2(0x265)](helper[_0x5742a2(0x216)](_0x290b4a[_0x5742a2(0x230)]),_0x2f9ed7['NnQkH'](encodeURIComponent,JSON[_0x5742a2(0x202)](_0x334e5f)))}};}const _0x3a00e5={};return _0x3a00e5[_0x5742a2(0x267)]=_0x334e5f,_0x3a00e5[_0x5742a2(0x211)]=_0x290b4a['config']['userName'],_0x3a00e5['key']=_0x290b4a[_0x5742a2(0x230)][_0x5742a2(0x253)],_0x3a00e5;})()),_0x6b8951=_0x2f9ed7[_0x3b2761(0x200)](nestedKeyValue,_0x1c94c3,[_0x2f9ed7['cRhEk'],_0x3633cb]);_0x3280ee[_0x423435]=_0x6b8951?helper['mergeDeep'](_0x569c5d,_0x6b8951):_0x569c5d;if(_0x209511)_0x3280ee[_0x423435]['browser']=pwToCodeceptBrowser[_0x334e5f[_0x3b2761(0x268)]]||_0x334e5f[_0x3b2761(0x268)];else{_0x3280ee[_0x423435][_0x3b2761(0x23a)]=_0x334e5f['browserName']||_0x569c5d['browser'];if(_0x2f9ed7[_0x3b2761(0x1ea)](isBrowserstackInfra)){_0x3280ee[_0x423435]['host']=constants[_0x3b2761(0x262)][_0x3b2761(0x232)](_0x2f9ed7[_0x3b2761(0x248)],'')[_0x3b2761(0x232)](/https?:\/\//,'');;_0x3280ee[_0x423435][_0x3b2761(0x257)]=_0x2f9ed7[_0x3b2761(0x248)];}}_0xfb3132[_0x3b2761(0x266)](_0x423435);});}else{_0x13c186=0x1;if(_0x209511){const _0x26178a=_0x2f9ed7[_0x332006(0x1e5)](nestedKeyValue,_0x1c94c3,[_0x2f9ed7[_0x332006(0x25e)],_0x3633cb,_0x2f9ed7[_0x332006(0x238)]]),_0x59433a=_0x2f9ed7[_0x332006(0x243)](nestedKeyValue,_0x1c94c3,[_0x2f9ed7[_0x332006(0x25e)],_0x3633cb,_0x26178a]);if(_0x59433a&&_0x59433a[_0x332006(0x26b)]){const _0x2827c0={};_0x2827c0[_0x332006(0x22c)]=[],_0x59433a['browserWSEndpoint']=helper[_0x332006(0x1eb)](Object['assign']({},_0x290b4a['config'],_0x2827c0),null,_0x1cf0e7[_0x332006(0x208)](),null,null,_0x59433a[_0x332006(0x26b)]);}}else{const _0x4c3d6d={};_0x4c3d6d[_0x332006(0x22c)]=[],_0x1c94c3[_0x2f9ed7[_0x332006(0x25e)]][_0x3633cb][_0x2f9ed7['KsSIB']]=helper[_0x332006(0x1eb)](Object[_0x332006(0x1f9)]({},_0x290b4a[_0x332006(0x230)],_0x4c3d6d),null,_0x1cf0e7[_0x332006(0x208)](),_0x2f9ed7[_0x332006(0x1fd)](nestedKeyValue,_0x1c94c3,[_0x2f9ed7[_0x332006(0x25e)],_0x3633cb,_0x2f9ed7[_0x332006(0x1fc)]])||{},null,null);}_0x3280ee[_0x2f9ed7[_0x332006(0x246)]]=_0x1c94c3,_0xfb3132[_0x332006(0x266)](_0x2f9ed7[_0x332006(0x246)]);}const _0x393359={};_0x393359['testConfig']=_0x4c7afa;const _0x2dbbdf=_0x393359,_0x2d1d6d=path['join'](__dirname,_0x2f9ed7[_0x332006(0x203)]),_0x1d10b7=process['cwd']();process[_0x332006(0x251)][_0x2f9ed7[_0x332006(0x22e)]]=_0x1d10b7,process[_0x332006(0x217)](path['dirname'](_0x4c7afa));const _0x3b0ec6=new CodeceptJS[(_0x332006(0x272))](null,_0x2dbbdf),_0x4f56e4=_0x3b0ec6[_0x332006(0x26d)](_0x13c186),_0x46cb93=testOpsHelper[_0x332006(0x20b)](),_0x17d42f=_0xfb3132[_0x332006(0x25c)](_0x2d7ca6=>{const _0x283f78=_0x332006,_0x237f38={};_0x237f38[_0x283f78(0x249)]=_0x3280ee[_0x2d7ca6];const _0x24e6f8={};_0x24e6f8['WebDriver']=_0x3280ee[_0x2d7ca6];const _0x11dfb9=_0x209511?_0x237f38:_0x24e6f8,_0x4ecb64=_0x2f9ed7['IJlTP'](getO11yRerunPattern),_0x5d6fae={};_0x5d6fae[_0x283f78(0x26a)]=_0x11dfb9;const _0x244c63={};_0x244c63['require']=_0x2d1d6d,_0x244c63[_0x283f78(0x1e2)]=!![],_0x244c63[_0x283f78(0x20c)]=_0x290b4a[_0x283f78(0x230)][_0x283f78(0x1f0)][_0x283f78(0x20c)],_0x244c63[_0x283f78(0x274)]=_0x290b4a[_0x283f78(0x230)][_0x283f78(0x1f0)][_0x283f78(0x274)],_0x244c63['testObservability']=_0x46cb93,_0x244c63[_0x283f78(0x258)]=_0x1cf0e7;const _0x3fc3cb={};_0x3fc3cb['BrowserStackPlugin']=_0x244c63;const _0x1c8a1f={};return _0x1c8a1f[_0x283f78(0x235)]=_0x3fc3cb,helper[_0x283f78(0x1ff)]({},_0x1c94c3,_0x2f9ed7[_0x283f78(0x1ea)](isBrowserstackInfra)?_0x5d6fae:{},_0x4ecb64?{'grep':_0x4ecb64}:{},_0x1c8a1f);});for(const _0xffe454 of _0x17d42f){for(const _0x234d8d of _0x4f56e4){const _0x41d638=_0x3b0ec6[_0x332006(0x21f)]();_0x41d638[_0x332006(0x25a)](_0x234d8d),_0x41d638['addConfig'](_0xffe454);const _0xfbcd4d={};_0xfbcd4d[_0x332006(0x230)]=_0x4c7afa,_0x41d638['addOptions'](Object[_0x332006(0x1f9)](_0xfbcd4d,_0x1fadd2));}}_0x3b0ec6['on'](CodeceptJS['event'][_0x332006(0x1f2)][_0x332006(0x271)],(_0x51a0a7,_0x5cc4ee)=>{const _0x5301a1=_0x332006;console['log'](_0x2f9ed7[_0x5301a1(0x22a)],_0x51a0a7[_0x5301a1(0x218)]);const _0x38263c={[_0x51a0a7[_0x5301a1(0x218)]]:_0x51a0a7[_0x5301a1(0x261)]['stack']};_testErrorData['push'](_0x38263c);}),_0x3b0ec6['on'](CodeceptJS[_0x332006(0x226)][_0x332006(0x1f2)][_0x332006(0x270)],async _0x47c143=>{const _0x35b9e6=_0x332006;console['log'](_0x2f9ed7[_0x35b9e6(0x1e1)],_0x47c143['title']);}),_0x3b0ec6['on'](CodeceptJS[_0x332006(0x226)][_0x332006(0x1f2)][_0x332006(0x250)],async _0x3ca082=>{const _0x567469=_0x332006;console[_0x567469(0x1dd)](_0x2f9ed7['WfpUN'],_0x3ca082[_0x567469(0x218)]);}),_0x3b0ec6['on'](CodeceptJS[_0x332006(0x226)]['all'][_0x332006(0x1f5)],async()=>{const _0x26b9b5=_0x332006,_0x319214=_0x2f9ed7[_0x26b9b5(0x214)][_0x26b9b5(0x205)]('|');let _0x477f1d=0x0;while(!![]){switch(_0x319214[_0x477f1d++]){case'0':testOpsHelper[_0x26b9b5(0x244)]();continue;case'1':try{await TestHubHandler['stop']();}catch(_0x2b9bdf){logger['debug'](_0x26b9b5(0x24e)+util['format'](_0x2b9bdf));}continue;case'2':utilities[_0x26b9b5(0x222)](_0x290b4a);continue;case'3':PerformanceTester[_0x26b9b5(0x1e4)](PerformanceEvents[_0x26b9b5(0x23f)]);continue;case'4':_0x290b4a[_0x26b9b5(0x1f4)]=_testErrorData;continue;case'5':_0x3b0ec6['printResults']();continue;}break;}});async function _0x1def15(){const _0x1ee830=_0x332006;try{await _0x3b0ec6[_0x1ee830(0x1df)](),await _0x3b0ec6['run']();}finally{process[_0x1ee830(0x217)](_0x1d10b7),await _0x3b0ec6[_0x1ee830(0x1f6)]();}}PerformanceTester[_0x332006(0x1de)](PerformanceEvents['SDK_SETUP']),_0x2f9ed7[_0x332006(0x1f1)](_0x1def15);}module[a2_0x519ed4(0x1e8)]=run;
@@ -1 +1 @@
1
- const a3_0x2161f0=a3_0x15a4;function a3_0x15a4(_0x23c041,_0x485df1){const _0x26ccdc=a3_0x26cc();return a3_0x15a4=function(_0x15a492,_0x6ad256){_0x15a492=_0x15a492-0x119;let _0x311c04=_0x26ccdc[_0x15a492];return _0x311c04;},a3_0x15a4(_0x23c041,_0x485df1);}(function(_0x56d8b5,_0x178032){const _0x443d08=a3_0x15a4,_0x348c98=_0x56d8b5();while(!![]){try{const _0x1ba2d8=parseInt(_0x443d08(0x119))/0x1+parseInt(_0x443d08(0x152))/0x2+-parseInt(_0x443d08(0x168))/0x3+-parseInt(_0x443d08(0x11f))/0x4+parseInt(_0x443d08(0x125))/0x5+parseInt(_0x443d08(0x162))/0x6*(-parseInt(_0x443d08(0x148))/0x7)+parseInt(_0x443d08(0x135))/0x8;if(_0x1ba2d8===_0x178032)break;else _0x348c98['push'](_0x348c98['shift']());}catch(_0x3fcc57){_0x348c98['push'](_0x348c98['shift']());}}}(a3_0x26cc,0xe8201));const {isUndefined,nestedKeyValue}=require(a3_0x2161f0(0x134)),logger=require(a3_0x2161f0(0x12b))[a3_0x2161f0(0x12d)],PlaywrightSessionDetails=require(a3_0x2161f0(0x13d)),{isAccessibilityAutomationSession}=require(a3_0x2161f0(0x169)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x3e39b7=>{const _0x457cfe=a3_0x2161f0,_0x439ff4={};_0x439ff4[_0x457cfe(0x144)]=_0x457cfe(0x15b),_0x439ff4[_0x457cfe(0x11d)]='platformVersion',_0x439ff4[_0x457cfe(0x13f)]='platform_version',_0x439ff4[_0x457cfe(0x14f)]=_0x457cfe(0x137),_0x439ff4[_0x457cfe(0x161)]='os_version';const _0x5820a1=_0x439ff4;if(!_0x3e39b7)return null;const _0x137ffa=_0x3e39b7[_0x5820a1[_0x457cfe(0x144)]],_0x21adef=[_0x5820a1[_0x457cfe(0x11d)],_0x5820a1['oYkvc'],_0x5820a1[_0x457cfe(0x14f)],_0x5820a1[_0x457cfe(0x161)]];for(const _0x2e6b96 of _0x21adef){if(_0x137ffa&&_0x137ffa[_0x2e6b96])return _0x137ffa[_0x2e6b96];else{if(_0x3e39b7[_0x2e6b96])return _0x3e39b7[_0x2e6b96];}}return null;};exports[a3_0x2161f0(0x14e)]=_0x4720d3=>{const _0x110601=a3_0x2161f0,_0x2ad571={'IBOdy':_0x110601(0x131),'vKPpg':function(_0x27d5a6,_0x97d1d5){return _0x27d5a6===_0x97d1d5;},'ZmFrQ':_0x110601(0x14b),'hyIUU':function(_0xc24657,_0x8a2c5c){return _0xc24657(_0x8a2c5c);},'wADOV':function(_0x3d9ca3,_0x360016,_0x269fd1){return _0x3d9ca3(_0x360016,_0x269fd1);},'DynjG':'config','mOXhM':_0x110601(0x13a),'oKfKh':function(_0x2a0118,_0x7bdfde){return _0x2a0118(_0x7bdfde);},'FwnBp':function(_0x10b3db,_0x5a4c13){return _0x10b3db===_0x5a4c13;},'lmFVI':_0x110601(0x14a),'Vjqcv':function(_0x36ed6a,_0x586523,_0x4421e6){return _0x36ed6a(_0x586523,_0x4421e6);},'rFgTp':'browser','CPfVT':_0x110601(0x127),'UlTYG':_0x110601(0x146),'eOTJx':function(_0x26a277,_0x3a1aa7){return _0x26a277(_0x3a1aa7);}};if(!_0x4720d3)return null;let _0x33fe90=global[_0x110601(0x167)]||_0x2ad571[_0x110601(0x129)];if(_0x2ad571[_0x110601(0x151)](_0x4720d3['constructor']['name'],_0x2ad571[_0x110601(0x11e)])){const _0xe7ad58=_0x4720d3['browser'];if(!_0xe7ad58)return null;const _0x5b51f8=_0xe7ad58[_0x110601(0x139)],_0x4c41c4=_0x2ad571[_0x110601(0x156)](getOSVersionFromCaps,_0x2ad571[_0x110601(0x11b)](nestedKeyValue,_0x4720d3,[_0x2ad571[_0x110601(0x132)],_0x2ad571[_0x110601(0x143)]]));return{[_0x33fe90]:{'browser':_0x5b51f8[_0x110601(0x122)],'browser_version':_0x5b51f8[_0x110601(0x160)],'capabilities':_0x5b51f8,'platform':_0x5b51f8[_0x110601(0x12e)],'platform_version':_0x5b51f8[_0x110601(0x150)]||_0x4c41c4,'product':_0x2ad571[_0x110601(0x12c)](getObservabilityLinkedProductName,_0x5b51f8),'session_id':_0xe7ad58[_0x110601(0x155)]}};}else{if(_0x2ad571[_0x110601(0x164)](_0x4720d3[_0x110601(0x14c)][_0x110601(0x163)],_0x2ad571[_0x110601(0x153)])){const _0x5232b7=PlaywrightSessionDetails[_0x110601(0x159)]();_0x33fe90=_0x5232b7[_0x110601(0x16b)]||_0x33fe90;const _0x40b2ef=_0x2ad571[_0x110601(0x140)](nestedKeyValue,_0x4720d3,[_0x2ad571[_0x110601(0x132)],_0x2ad571[_0x110601(0x13c)],_0x2ad571[_0x110601(0x120)]]),_0x131f52=_0x40b2ef?JSON[_0x110601(0x126)](new URL(_0x40b2ef)[_0x110601(0x149)][_0x110601(0x15f)](_0x2ad571['UlTYG'])):{};return{[_0x33fe90]:{'browser':_0x5232b7['browser']||_0x131f52[_0x110601(0x122)],'browser_version':_0x5232b7[_0x110601(0x11a)]||_0x131f52[_0x110601(0x11a)],'capabilities':_0x131f52,'platform':_0x5232b7[_0x110601(0x158)],'platform_version':_0x5232b7[_0x110601(0x128)],'product':_0x2ad571[_0x110601(0x121)](getObservabilityLinkedProductName,_0x131f52),'session_id':_0x5232b7[_0x110601(0x13b)]}};}}},exports[a3_0x2161f0(0x141)]=_0x16d146=>{const _0xe903b2=a3_0x2161f0,_0x428e1c={'Zwhuf':function(_0x7ebd6a){return _0x7ebd6a();},'Wkdbj':function(_0x13b763,_0xe34afd){return _0x13b763===_0xe34afd;},'DtKzL':_0xe903b2(0x123),'ZuAii':function(_0x198971,_0x15636e){return _0x198971>_0x15636e;},'Paxpz':function(_0x42bff1,_0x44cb6c){return _0x42bff1(_0x44cb6c);},'cWcYE':_0xe903b2(0x165),'NOfkk':_0xe903b2(0x147),'fgMXQ':function(_0x53ccaa,_0x497402){return _0x53ccaa===_0x497402;},'sCZrC':_0xe903b2(0x15a),'XORGc':_0xe903b2(0x136),'jCZpp':function(_0x1bfa7c,_0x349c89){return _0x1bfa7c(_0x349c89);},'KRdSL':_0xe903b2(0x15c)};if(_0x428e1c[_0xe903b2(0x130)](isAccessibilityAutomationSession)){const _0x30135b=_0x16d146[_0xe903b2(0x166)],_0x5af8de=_0x30135b[_0xe903b2(0x139)];global[_0xe903b2(0x133)]=!![],!(_0x428e1c[_0xe903b2(0x154)](_0x5af8de['browserVersion'],_0x428e1c[_0xe903b2(0x12a)])||_0x428e1c['ZuAii'](_0x428e1c[_0xe903b2(0x13e)](parseInt,_0x5af8de[_0xe903b2(0x160)]),0x5e))&&(logger[_0xe903b2(0x15e)](_0x428e1c[_0xe903b2(0x142)]),global[_0xe903b2(0x133)]=![]),!(_0x428e1c['Wkdbj'](_0x5af8de[_0xe903b2(0x122)],_0x428e1c['NOfkk'])||_0x428e1c[_0xe903b2(0x14d)](_0x5af8de['browserName'],_0x428e1c['sCZrC']))&&(logger[_0xe903b2(0x15e)](_0x428e1c[_0xe903b2(0x157)]),global[_0xe903b2(0x133)]=![]),!_0x428e1c[_0xe903b2(0x15d)](isUndefined,_0x5af8de[_0xe903b2(0x11c)])&&(logger[_0xe903b2(0x15e)](_0x428e1c['KRdSL']),global[_0xe903b2(0x133)]=![]);}},exports['shouldPatchExecuteScript']=_0x56efbe=>{const _0x4fc761=a3_0x2161f0,_0x437d45={};_0x437d45[_0x4fc761(0x124)]=function(_0x2d40a0,_0x36d397){return _0x2d40a0!==_0x36d397;},_0x437d45[_0x4fc761(0x138)]='string',_0x437d45[_0x4fc761(0x12f)]='browserstack_executor',_0x437d45['gRYmA']='browserstack_accessibility_automation_script';const _0xae738f=_0x437d45;if(!_0x56efbe)return![];else{if(_0xae738f[_0x4fc761(0x124)](typeof _0x56efbe,_0xae738f[_0x4fc761(0x138)]))return!![];}return!_0x56efbe[_0x4fc761(0x16a)](_0xae738f[_0x4fc761(0x12f)])&&!_0x56efbe[_0x4fc761(0x16a)](_0xae738f[_0x4fc761(0x145)]);};function a3_0x26cc(){const _0x34f1fa=['includes','cloudProvider','1768630dYtPQD','browser_version','wADOV','deviceName','bCjsl','ZmFrQ','5275384hPWVzA','CPfVT','eOTJx','browserName','latest','YIosT','5965965iqTggW','parse','browserWSEndpoint','platform_version','IBOdy','DtKzL','../../helpers/logger','oKfKh','winstonLogger','platformName','IwmFt','Zwhuf','unknown_grid','DynjG','accessibilityPlatform','../../helpers/helper','3089328vFSXqn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','osVersion','ItGIo','capabilities','desiredCapabilities','bsSessionId','rFgTp','../../bin/playwright/sessionDetails','Paxpz','oYkvc','Vjqcv','processWebDriverConfig','cWcYE','mOXhM','hGqEW','gRYmA','caps','chrome','56iddfDr','searchParams','Playwright','WebDriver','constructor','fgMXQ','fetchPlatformDetails','WhqiT','platformVersion','vKPpg','1453904CwLKPh','lmFVI','Wkdbj','sessionId','hyIUU','XORGc','platform','getDetails','playwright-chromium','bstack:options','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','jCZpp','warn','get','browserVersion','DFjfW','398916SQfQtq','name','FwnBp','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','browser','__cloud_provider___','3820266XmXSdK','../../helpers/accessibility-automation/helper'];a3_0x26cc=function(){return _0x34f1fa;};return a3_0x26cc();}
1
+ const a3_0x3ce144=a3_0x2d50;function a3_0x2d50(_0x315748,_0x17097f){const _0x2eb77b=a3_0x2eb7();return a3_0x2d50=function(_0x2d50a0,_0x26439){_0x2d50a0=_0x2d50a0-0x79;let _0x4f0320=_0x2eb77b[_0x2d50a0];return _0x4f0320;},a3_0x2d50(_0x315748,_0x17097f);}(function(_0x2e0d6f,_0x324cba){const _0x2ac552=a3_0x2d50,_0x1f55e9=_0x2e0d6f();while(!![]){try{const _0x594e6b=-parseInt(_0x2ac552(0xba))/0x1*(parseInt(_0x2ac552(0xa2))/0x2)+-parseInt(_0x2ac552(0xc6))/0x3+-parseInt(_0x2ac552(0xbb))/0x4+-parseInt(_0x2ac552(0xbc))/0x5+-parseInt(_0x2ac552(0xab))/0x6+parseInt(_0x2ac552(0xa7))/0x7*(-parseInt(_0x2ac552(0xa8))/0x8)+parseInt(_0x2ac552(0x9d))/0x9*(parseInt(_0x2ac552(0x9f))/0xa);if(_0x594e6b===_0x324cba)break;else _0x1f55e9['push'](_0x1f55e9['shift']());}catch(_0xb89537){_0x1f55e9['push'](_0x1f55e9['shift']());}}}(a3_0x2eb7,0x291fc));function a3_0x2eb7(){const _0x3037a7=['parse','WebDriver','fvLhm','chrome','browserName','caps','browserWSEndpoint','hPTEH','CBKew','yzwJx','../../helpers/accessibility-automation/helper','vsEGj','../../helpers/test-observability/utils','platform_version','browserVersion','browser','AAXZf','aUDcl','UGTzx','name','osVersion','warn','9iMSrqT','../../bin/playwright/sessionDetails','8651470RmkHSS','fyIkU','aiVvv','2YXbXNP','unknown_grid','vneRL','FscGc','VzpSU','119clcIgV','113352kOgKsz','includes','XiAMW','35676ykYMDx','zwvuD','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','browserstack_accessibility_automation_script','../../helpers/logger','processWebDriverConfig','ybbNy','deviceName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','bstack:options','pHeLM','cloudProvider','../../helpers/helper','string','ZqSSE','79654HstPBH','942368UYAlze','369380SKJkem','fetchPlatformDetails','CaDMJ','DNGWC','getDetails','os_version','platformName','searchParams','browser_version','DNJXI','182286gWqpBV','capabilities','aLFgj','ESrhe','icmbe','platformVersion','playwright-chromium','get','config','latest','sessionId','__cloud_provider___','Playwright','UlEgL','QmBWs','desiredCapabilities','constructor','FUIbb','accessibilityPlatform','uKkhH','JZVlQ'];a3_0x2eb7=function(){return _0x3037a7;};return a3_0x2eb7();}const {isUndefined,nestedKeyValue}=require(a3_0x3ce144(0xb7)),logger=require(a3_0x3ce144(0xaf))['winstonLogger'],PlaywrightSessionDetails=require(a3_0x3ce144(0x9e)),{isAccessibilityAutomationSession}=require(a3_0x3ce144(0x91)),{getObservabilityLinkedProductName}=require(a3_0x3ce144(0x93)),getOSVersionFromCaps=_0x547152=>{const _0x1904b8=a3_0x3ce144,_0x1aa224={};_0x1aa224[_0x1904b8(0xa1)]=_0x1904b8(0xb4),_0x1aa224['fyIkU']='platformVersion',_0x1aa224[_0x1904b8(0xb9)]='platform_version',_0x1aa224[_0x1904b8(0x80)]=_0x1904b8(0x9b),_0x1aa224['FscGc']=_0x1904b8(0xc1);const _0x374b37=_0x1aa224;if(!_0x547152)return null;const _0x3e2df0=_0x547152[_0x374b37[_0x1904b8(0xa1)]],_0x2ff5ed=[_0x374b37[_0x1904b8(0xa0)],_0x374b37[_0x1904b8(0xb9)],_0x374b37[_0x1904b8(0x80)],_0x374b37[_0x1904b8(0xa5)]];for(const _0x50cbd6 of _0x2ff5ed){if(_0x3e2df0&&_0x3e2df0[_0x50cbd6])return _0x3e2df0[_0x50cbd6];else{if(_0x547152[_0x50cbd6])return _0x547152[_0x50cbd6];}}return null;};exports[a3_0x3ce144(0xbd)]=_0x46d7ae=>{const _0x48dbd4=a3_0x3ce144,_0x11d29d={'AAXZf':_0x48dbd4(0xa3),'ESrhe':function(_0x16397a,_0x5653ad){return _0x16397a===_0x5653ad;},'uKkhH':_0x48dbd4(0x88),'DejLY':function(_0x27d9bb,_0x352506){return _0x27d9bb(_0x352506);},'FUIbb':function(_0x89a4aa,_0x5953fc,_0x5e1e1a){return _0x89a4aa(_0x5953fc,_0x5e1e1a);},'DNJXI':_0x48dbd4(0x7a),'hPTEH':_0x48dbd4(0x81),'ybbNy':function(_0x1d9283,_0x4383fb){return _0x1d9283(_0x4383fb);},'fvLhm':function(_0x306586,_0x19d0f2){return _0x306586===_0x19d0f2;},'vsEGj':_0x48dbd4(0x7e),'UGTzx':_0x48dbd4(0x96),'UlEgL':_0x48dbd4(0x8d),'XiAMW':_0x48dbd4(0x8c)};if(!_0x46d7ae)return null;let _0x4fe41e=global[_0x48dbd4(0x7d)]||_0x11d29d[_0x48dbd4(0x97)];if(_0x11d29d[_0x48dbd4(0xc9)](_0x46d7ae[_0x48dbd4(0x82)]['name'],_0x11d29d[_0x48dbd4(0x85)])){const _0x5a3614=_0x46d7ae[_0x48dbd4(0x96)];if(!_0x5a3614)return null;const _0x410b7e=_0x5a3614['capabilities'],_0x454563=_0x11d29d['DejLY'](getOSVersionFromCaps,_0x11d29d[_0x48dbd4(0x83)](nestedKeyValue,_0x46d7ae,[_0x11d29d[_0x48dbd4(0xc5)],_0x11d29d[_0x48dbd4(0x8e)]]));return{[_0x4fe41e]:{'browser':_0x410b7e[_0x48dbd4(0x8b)],'browser_version':_0x410b7e[_0x48dbd4(0x95)],'capabilities':_0x410b7e,'platform':_0x410b7e[_0x48dbd4(0xc2)],'platform_version':_0x410b7e[_0x48dbd4(0xcb)]||_0x454563,'product':_0x11d29d[_0x48dbd4(0xb1)](getObservabilityLinkedProductName,_0x410b7e),'session_id':_0x5a3614[_0x48dbd4(0x7c)]}};}else{if(_0x11d29d[_0x48dbd4(0x89)](_0x46d7ae[_0x48dbd4(0x82)][_0x48dbd4(0x9a)],_0x11d29d[_0x48dbd4(0x92)])){const _0x2838cc=PlaywrightSessionDetails[_0x48dbd4(0xc0)]();_0x4fe41e=_0x2838cc[_0x48dbd4(0xb6)]||_0x4fe41e;const _0x470ffe=_0x11d29d[_0x48dbd4(0x83)](nestedKeyValue,_0x46d7ae,[_0x11d29d['DNJXI'],_0x11d29d[_0x48dbd4(0x99)],_0x11d29d[_0x48dbd4(0x7f)]]),_0x2f749b=_0x470ffe?JSON[_0x48dbd4(0x87)](new URL(_0x470ffe)[_0x48dbd4(0xc3)][_0x48dbd4(0x79)](_0x11d29d[_0x48dbd4(0xaa)])):{};return{[_0x4fe41e]:{'browser':_0x2838cc[_0x48dbd4(0x96)]||_0x2f749b[_0x48dbd4(0x8b)],'browser_version':_0x2838cc[_0x48dbd4(0xc4)]||_0x2f749b[_0x48dbd4(0xc4)],'capabilities':_0x2f749b,'platform':_0x2838cc['platform'],'platform_version':_0x2838cc[_0x48dbd4(0x94)],'product':_0x11d29d[_0x48dbd4(0xb1)](getObservabilityLinkedProductName,_0x2f749b),'session_id':_0x2838cc['bsSessionId']}};}}},exports[a3_0x3ce144(0xb0)]=_0x215de8=>{const _0x479fab=a3_0x3ce144,_0x231766={'rwFdr':function(_0x367a8b){return _0x367a8b();},'vneRL':function(_0x969273,_0x56653d){return _0x969273===_0x56653d;},'aUDcl':_0x479fab(0x7b),'VzpSU':function(_0x3b2c45,_0x4379e9){return _0x3b2c45>_0x4379e9;},'zwvuD':function(_0x9fa8fa,_0x3b7d7f){return _0x9fa8fa(_0x3b7d7f);},'ethOc':_0x479fab(0xb3),'pHeLM':_0x479fab(0x8a),'CBKew':function(_0x216f48,_0x2313bb){return _0x216f48===_0x2313bb;},'CPoqc':_0x479fab(0xcc),'JZVlQ':_0x479fab(0xad),'DNGWC':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x231766['rwFdr'](isAccessibilityAutomationSession)){const _0x1811a5=_0x215de8[_0x479fab(0x96)],_0x52663f=_0x1811a5[_0x479fab(0xc7)];global['accessibilityPlatform']=!![],!(_0x231766[_0x479fab(0xa4)](_0x52663f['browserVersion'],_0x231766[_0x479fab(0x98)])||_0x231766[_0x479fab(0xa6)](_0x231766[_0x479fab(0xac)](parseInt,_0x52663f[_0x479fab(0x95)]),0x5e))&&(logger['warn'](_0x231766['ethOc']),global[_0x479fab(0x84)]=![]),!(_0x231766[_0x479fab(0xa4)](_0x52663f[_0x479fab(0x8b)],_0x231766[_0x479fab(0xb5)])||_0x231766[_0x479fab(0x8f)](_0x52663f[_0x479fab(0x8b)],_0x231766['CPoqc']))&&(logger[_0x479fab(0x9c)](_0x231766[_0x479fab(0x86)]),global[_0x479fab(0x84)]=![]),!_0x231766['zwvuD'](isUndefined,_0x52663f[_0x479fab(0xb2)])&&(logger[_0x479fab(0x9c)](_0x231766[_0x479fab(0xbf)]),global[_0x479fab(0x84)]=![]);}},exports['shouldPatchExecuteScript']=_0x443265=>{const _0x470988=a3_0x3ce144,_0x56aa50={};_0x56aa50[_0x470988(0xbe)]=function(_0x1faab2,_0x489338){return _0x1faab2!==_0x489338;},_0x56aa50[_0x470988(0xc8)]=_0x470988(0xb8),_0x56aa50[_0x470988(0xca)]='browserstack_executor',_0x56aa50[_0x470988(0x90)]=_0x470988(0xae);const _0x6d9e01=_0x56aa50;if(!_0x443265)return![];else{if(_0x6d9e01[_0x470988(0xbe)](typeof _0x443265,_0x6d9e01[_0x470988(0xc8)]))return!![];}return!_0x443265[_0x470988(0xa9)](_0x6d9e01[_0x470988(0xca)])&&!_0x443265[_0x470988(0xa9)](_0x6d9e01[_0x470988(0x90)]);};
@@ -1 +1 @@
1
- const a4_0x294a71=a4_0x2a8f;(function(_0x566a2f,_0x50eaa6){const _0x258cb3=a4_0x2a8f,_0x572e1b=_0x566a2f();while(!![]){try{const _0x3c8997=parseInt(_0x258cb3(0x116))/0x1+parseInt(_0x258cb3(0x17d))/0x2*(-parseInt(_0x258cb3(0x100))/0x3)+-parseInt(_0x258cb3(0x14d))/0x4+parseInt(_0x258cb3(0xde))/0x5+-parseInt(_0x258cb3(0xc0))/0x6+parseInt(_0x258cb3(0xec))/0x7+-parseInt(_0x258cb3(0xf1))/0x8*(-parseInt(_0x258cb3(0x104))/0x9);if(_0x3c8997===_0x50eaa6)break;else _0x572e1b['push'](_0x572e1b['shift']());}catch(_0x4935a8){_0x572e1b['push'](_0x572e1b['shift']());}}}(a4_0x169d,0xa31ba));function a4_0x2a8f(_0x3be5b5,_0x41349d){const _0x169d19=a4_0x169d();return a4_0x2a8f=function(_0x2a8f57,_0x5f3d22){_0x2a8f57=_0x2a8f57-0x9a;let _0x2b51d3=_0x169d19[_0x2a8f57];return _0x2b51d3;},a4_0x2a8f(_0x3be5b5,_0x41349d);}const path=require(a4_0x294a71(0x16e)),fs=require('fs'),{v4:uuidv4}=require(a4_0x294a71(0x123)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x294a71(0x118)),logger=require(a4_0x294a71(0xfd))[a4_0x294a71(0xed)],SessionHandler=require(a4_0x294a71(0x155)),RequestQueueHandler=require(a4_0x294a71(0x16b)),PlaywrightSessionDetails=require(a4_0x294a71(0xcf)),debug=testOpsHelper[a4_0x294a71(0xa7)],{processAccessibilityCaps}=require(a4_0x294a71(0x11a)),Constants=require(a4_0x294a71(0x172)),{fetchPlatformDetails}=require(a4_0x294a71(0xff)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x294a71(0xcd)),constants=require('../utils/constants'),STATE_PASSED=a4_0x294a71(0x119),STATE_FAILED=a4_0x294a71(0x106),a4_0x491c21={};a4_0x491c21['TEST_RUN_STARTED']=a4_0x294a71(0x12f),a4_0x491c21[a4_0x294a71(0x174)]=a4_0x294a71(0xe0),a4_0x491c21[a4_0x294a71(0x139)]=a4_0x294a71(0xcc),a4_0x491c21[a4_0x294a71(0x112)]=a4_0x294a71(0xb4),a4_0x491c21[a4_0x294a71(0xad)]=a4_0x294a71(0x142);const TEST_EVENTS=a4_0x491c21,parseEvent=_0x1721d6=>{const _0x20aa06=a4_0x294a71,_0x2119e0={};_0x2119e0['GFfws']=function(_0x353d85,_0x44416a){return _0x353d85<_0x44416a;},_0x2119e0[_0x20aa06(0xce)]=function(_0x5959cc,_0x3e21ec){return _0x5959cc===_0x3e21ec;},_0x2119e0['fpZug']=_0x20aa06(0x165),_0x2119e0[_0x20aa06(0xba)]='hook',_0x2119e0[_0x20aa06(0x16a)]=_0x20aa06(0xc8),_0x2119e0[_0x20aa06(0xaf)]=function(_0x49980d,_0x22eb36){return _0x49980d===_0x22eb36;},_0x2119e0['dEjTT']=_0x20aa06(0xb2),_0x2119e0[_0x20aa06(0xc5)]='finished';const _0x43b777=_0x2119e0,_0x1847d2=_0x1721d6[_0x20aa06(0xf7)](/^(.*)Run(.*)$/);if(!_0x1847d2)return null;if(_0x43b777[_0x20aa06(0x148)](_0x1847d2[_0x20aa06(0x15d)],0x3))return null;const _0x3181ee=_0x1847d2[0x1][_0x20aa06(0xb7)](),_0x12534c=_0x1847d2[0x2][_0x20aa06(0xb7)]();return{'test':_0x43b777[_0x20aa06(0xce)](_0x3181ee,_0x43b777[_0x20aa06(0x11d)]),'hook':_0x43b777[_0x20aa06(0xce)](_0x3181ee,_0x43b777[_0x20aa06(0xba)]),'skipped':_0x43b777[_0x20aa06(0xce)](_0x12534c,_0x43b777['TacCu']),'started':_0x43b777[_0x20aa06(0xaf)](_0x12534c,_0x43b777['dEjTT']),'finished':_0x43b777[_0x20aa06(0xce)](_0x12534c,_0x43b777['Dopdw'])};},mockPWBrowserType=_0x4ce665=>{const _0x3aa2bd=a4_0x294a71,_0x4070a6={'IUNTB':function(_0xae44ee,_0x5d5637){return _0xae44ee===_0x5d5637;},'qYIKb':_0x3aa2bd(0x17f),'IAEJs':function(_0x3b0af6,_0x133839,_0x24b9c7){return _0x3b0af6(_0x133839,_0x24b9c7);},'HOcfG':_0x3aa2bd(0x131),'YtNZu':function(_0x5b4bc7,_0x4d8a8e){return _0x5b4bc7(_0x4d8a8e);},'GxPnw':_0x3aa2bd(0x153),'ZTlsX':function(_0x345388,_0x4c3dea){return _0x345388(_0x4c3dea);},'doKks':'lib','aasPJ':_0x3aa2bd(0x14c),'mZaRD':_0x3aa2bd(0xac),'gRZTc':function(_0x224ea9,_0x1c75cc){return _0x224ea9(_0x1c75cc);},'tFfcH':_0x3aa2bd(0x11c),'sQQHV':_0x3aa2bd(0x13c),'IzegS':_0x3aa2bd(0xb6)},_0x524274=path[_0x3aa2bd(0x189)](_0x4070a6[_0x3aa2bd(0xc4)],_0x4070a6[_0x3aa2bd(0x18f)],_0x4070a6[_0x3aa2bd(0x9b)]),_0x1e688d=_0x4070a6[_0x3aa2bd(0x176)](importFileFromPWCore,_0x524274);if(!_0x1e688d){_0x4070a6[_0x3aa2bd(0x9f)](debug,_0x4070a6[_0x3aa2bd(0x9d)]);return;}const _0x21a5e5=_0x1e688d[_0x3aa2bd(0x9e)],_0x1aa549=_0x21a5e5[_0x3aa2bd(0x126)];if(_0x1aa549[_0x3aa2bd(0x17c)])return;const _0x7271dd=_0x1aa549[_0x3aa2bd(0x13c)];Object[_0x3aa2bd(0x18e)](_0x1aa549,_0x4070a6[_0x3aa2bd(0x170)],{'get':function(){return async function _0x367711(_0x18496f,_0x5ce2bd){const _0xdfbf33=a4_0x2a8f,_0x30e5f8={'gIvWl':function(_0x106aa5,_0x4d1ffe){const _0x294d42=a4_0x2a8f;return _0x4070a6[_0x294d42(0x11e)](_0x106aa5,_0x4d1ffe);},'zkOLs':_0x4070a6[_0xdfbf33(0x168)]},_0x5041e1=_0x4070a6[_0xdfbf33(0xe8)](nestedKeyValue,_0x18496f,[_0x4070a6[_0xdfbf33(0xb0)]])||_0x18496f;let _0x557eb1=null,_0x301144=null;try{[_0x301144,_0x557eb1]=_0x5041e1?_0x4070a6[_0xdfbf33(0xdb)](parseWSEndpoint,_0x5041e1):[null,null],global[_0xdfbf33(0xab)]=_0x557eb1,logger['debug']('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0x301144),_0x301144['includes'](Constants[_0xdfbf33(0x188)])&&(global[_0xdfbf33(0x114)]=_0x4070a6['GxPnw']);}catch(_0x296612){logger[_0xdfbf33(0xa7)](_0xdfbf33(0x173)+_0x5041e1+'\x20'+_0x296612);}_0x4070a6[_0xdfbf33(0xe8)](processAccessibilityCaps,_0x557eb1,_0x301144);if(global[_0xdfbf33(0xbc)]){const _0x352032=await _0x1aa549[_0xdfbf33(0x134)][_0xdfbf33(0xf5)](this,[''+Constants[_0xdfbf33(0x108)]+_0x4070a6[_0xdfbf33(0x176)](encodeURIComponent,JSON[_0xdfbf33(0xa2)](_0x557eb1))]);return PlaywrightSessionDetails[_0xdfbf33(0xdc)](_0x352032,_0x4ce665,_0x5041e1),_0x352032;}return _0x7271dd['apply'](this,arguments)[_0xdfbf33(0x125)](_0x23ccee=>{const _0xaacf5e=_0xdfbf33;let _0x2fccda=_0x18496f['wsEndpoint'];return _0x30e5f8[_0xaacf5e(0x164)](typeof _0x18496f,_0x30e5f8[_0xaacf5e(0xe5)])&&(_0x2fccda=_0x18496f),PlaywrightSessionDetails[_0xaacf5e(0xdc)](_0x23ccee,_0x4ce665,_0x2fccda),_0x23ccee;});};}});const _0x32fc8a=_0x1aa549[_0x3aa2bd(0xb6)];Object['defineProperty'](_0x1aa549,_0x4070a6[_0x3aa2bd(0x13d)],{'get':function(){return async function _0x9776bc(){const _0x36f97c=a4_0x2a8f;return _0x32fc8a[_0x36f97c(0xf5)](this,arguments)[_0x36f97c(0x125)](_0x5a6570=>{const _0x5ee67d=_0x36f97c;return PlaywrightSessionDetails[_0x5ee67d(0xdc)](_0x5a6570,null),_0x5a6570;});};}});};function a4_0x169d(){const _0xaf5f56=['QhPpb','relative','uuid','wFuCF','then','prototype','getFailureType','TcNIL','oBAAG','nYWaS','name','SrHbg','backtrace','getTime','TestRunStarted','inspect','wsEndpoint','File\x20path\x20could\x20not\x20be\x20found','patchConsoleLogger','connectOverCDP','IpesX','jWRYT','finished','finished_at','TEST_RUN_SKIPPED','markedStatus','FKtPO','connect','IzegS','uploadEventData','split','IXHFQ','kwASB','HookRunFinished','keyword','forEach','toISOString','_beforeEach','config','GFfws','title','ctx','lEjwB','client','5039164GRzQNI','push','_paths','feature','enabled','odAII','browserstack','lYDMZ','../../helpers/test-observability/sessionHandler','exports','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','file_name','TEST_EVENTS','MQlHi','getHookType','\x20with\x20error\x20:\x20','length','bddStepFinish','LKqeF','_testEnv','hooks','DoNLO','appendTestItemLog','gIvWl','test','driver','BgNcX','qYIKb','test_run','TacCu','../../helpers/test-observability/requestQueueHandler','feZre','getInstance','path','comment','sQQHV','PkDnI','../utils/constants','Failed\x20to\x20parse\x20wsendpoint\x20','TEST_RUN_FINISHED','includes','ZTlsX','tags','bddSteps','captureEvent','result','concat','obsBrowserTypeMockApplied','9242IYDJEV','TEST_REPORTING_ANALYTICS','string','duration','hrqlu','parent','start','dnpxk','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','success','XtnvE','BROWSERSTACK','join','LXChw','uNCZE','ZVlxb','zwlvW','defineProperty','aasPJ','sHNGy','getHierarchy','lnbhI','zcFyv','toString','find','mZaRD','hook_run','tFfcH','BrowserType','gRZTc','javascript','status','stringify','initializeBddStep','fdAeb','4|3|2|5|0|1','logs','debug','RebOg','STATE_PASSED','_afterEach','__platformCaps','browserType.js','HOOK_RUN_FINISHED','codeceptjs','lDiNW','HOcfG','event_type','started','prefixTestPath','HookRunStarted','getRootParentFile','launch','toLowerCase','bddStepStart','sZPUJ','JVUsq','getHooksForTest','accessibilityPlatform','findGitConfig','IiYaY','currentHook','7212534xrhLfy','shutdown','_afterAll','stepAnalyticsId','doKks','Dopdw','AWzyt','failed\x20to\x20get\x20root\x20parent\x20file\x20','skipped','statSync','integrations','body','TestRunSkipped','../../helpers/testhub/utils.js','rQQcc','../playwright/sessionDetails','hookAnalyticsId','hook','fullTitle','frameworkName','removeAllListeners','text','ScONT','oYfTP','pending','Isjxw','hook_run_uuid','YtNZu','setupBrowserDetails','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','1637430SCATQm','err','TestRunFinished','PKtMR','skOqD','goBlO','resetSkipTestHooks','zkOLs','SlslK','bind','IAEJs','failureData','yXLvG','cwd','8680210cOpYTV','winstonLogger','AFJAV','bs:addLog:','AkxXQ','368WuePYo','suites','_beforeAll','replace','apply','lTbzk','match','now','startedAt','KQRzC','KYgLM','currentTest','../../helpers/logger','WQWMa','./helper.js','204HNVRxH','retryOf','svrBk','getCBTInfo','273933TvbitK','aqwYJ','failed','test_run_uuid','PLAYWRIGHT_HUB_URL','pid','expanded','groups','ljXXW','message','constructor','HjbqT','failure','testAnalyticsId','HOOK_RUN_STARTED','failure_reason_expanded','__cloud_provider___','mapTestHooks','476580IQxYUC','util','../../helpers/test-observability/constants','passed','../playwright/accessibility-helper','errorsDetailed','Not\x20able\x20to\x20import\x20Browser','fpZug','IUNTB','failure_backtrace','file'];a4_0x169d=function(){return _0xaf5f56;};return a4_0x169d();}class O11yHelper{[a4_0x294a71(0xfc)]=null;[a4_0x294a71(0xbf)]=null;[a4_0x294a71(0x151)]=![];[a4_0x294a71(0xd3)]=![];constructor(_0x33705c,_0xce1709){const _0xb40dca=a4_0x294a71,_0x1a2d77={'NvrSC':_0xb40dca(0xa5),'IXHFQ':function(_0x586cf7,_0x24da6a){return _0x586cf7===_0x24da6a;},'jWRYT':'Playwright','pIdon':function(_0x4510fa,_0x23e24e){return _0x4510fa(_0x23e24e);},'LXChw':function(_0x441910){return _0x441910();}},_0x26c583=_0x1a2d77['NvrSC'][_0xb40dca(0x13f)]('|');let _0xf4928a=0x0;while(!![]){switch(_0x26c583[_0xf4928a++]){case'0':this['_paths']=new testOpsHelper['PathHelper']({'cwd':process[_0xb40dca(0xeb)]()},this[_0xb40dca(0x160)]['location_prefix']);continue;case'1':this['driver']&&_0x1a2d77[_0xb40dca(0x140)](this[_0xb40dca(0x166)][_0xb40dca(0x10e)][_0xb40dca(0x12b)],_0x1a2d77[_0xb40dca(0x136)])&&_0x1a2d77['pIdon'](mockPWBrowserType,null);continue;case'2':this[_0xb40dca(0x166)]=_0x33705c;continue;case'3':this[_0xb40dca(0xd3)]=_0xce1709[_0xb40dca(0xd3)];continue;case'4':this[_0xb40dca(0x151)]=_0x1a2d77[_0xb40dca(0x18a)](shouldProcessEventForTesthub);continue;case'5':this[_0xb40dca(0x160)]=_0x1a2d77[_0xb40dca(0x18a)](getTestEnv);continue;}break;}}[a4_0x294a71(0x183)](){const _0x447a2a=a4_0x294a71;if(!this['enabled'])return;testOpsHelper[_0x447a2a(0x133)](),process[_0x447a2a(0xd4)]('bs:addLog:'+process[_0x447a2a(0x109)]),process['on'](_0x447a2a(0xef)+process[_0x447a2a(0x109)],this[_0x447a2a(0x163)][_0x447a2a(0xe7)](this));}async['stop'](){const _0x2a3282=a4_0x294a71;await RequestQueueHandler[_0x2a3282(0x16d)]()[_0x2a3282(0xc1)]();}async['appendTestItemLog'](_0x11c87c){const _0x4a183f=a4_0x294a71,_0xa70fc1={'ZVlxb':'LogCreated','lVuqR':function(_0x2858ee,_0x4dd86d){return _0x2858ee(_0x4dd86d);}};try{this['currentHook']&&!this[_0x4a183f(0xbf)][_0x4a183f(0x13a)]&&(_0x11c87c[_0x4a183f(0xda)]=this[_0x4a183f(0xbf)][_0x4a183f(0xd0)]);!_0x11c87c[_0x4a183f(0xda)]&&this[_0x4a183f(0xfc)]&&!this[_0x4a183f(0xfc)][_0x4a183f(0x13a)]&&(_0x11c87c[_0x4a183f(0x107)]=this['currentTest']['testAnalyticsId']);if(_0x11c87c[_0x4a183f(0xda)]||_0x11c87c[_0x4a183f(0x107)]){const _0x418947={};_0x418947['event_type']=_0xa70fc1[_0x4a183f(0x18c)],_0x418947[_0x4a183f(0xa6)]=[_0x11c87c],await SessionHandler[_0x4a183f(0x13e)](_0x418947);}}catch(_0x30efe7){_0xa70fc1['lVuqR'](debug,_0x4a183f(0xdd)+constants[_0x4a183f(0x17e)]+_0x4a183f(0x15c)+_0x30efe7);}}async['sendCBTInfo'](_0x6ef0b0){const _0x30302d=a4_0x294a71,_0x182c13={'aCxSQ':'CBTSessionCreated','PkDnI':function(_0xa159df,_0x3d405a){return _0xa159df(_0x3d405a);}};if(!this['enabled'])return;const _0x2704b2=this[_0x30302d(0x103)](this['driver']);try{const _0x343228={};_0x343228[_0x30302d(0x123)]=_0x6ef0b0,_0x343228[_0x30302d(0xca)]=_0x2704b2;const _0x45c92c=_0x343228,_0x4ce1cc={};_0x4ce1cc['event_type']=_0x182c13['aCxSQ'],_0x4ce1cc['test_run']=_0x45c92c,await SessionHandler[_0x30302d(0x13e)](_0x4ce1cc);}catch(_0x1e13ed){_0x182c13[_0x30302d(0x171)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants[_0x30302d(0x17e)]+_0x30302d(0x15c)+_0x1e13ed);}}['getCBTInfo'](_0x243f98){const _0x14c0e7=a4_0x294a71,_0x369dd7={'MQlHi':function(_0x532696,_0x156d96){return _0x532696(_0x156d96);}};return _0x369dd7[_0x14c0e7(0x15a)](fetchPlatformDetails,_0x243f98);}[a4_0x294a71(0xe4)]=_0x46f617=>{const _0x545078=a4_0x294a71,_0x485b62={};_0x485b62['zcFyv']=_0x545078(0x146),_0x485b62[_0x545078(0x190)]=_0x545078(0xaa);const _0x22b475=_0x485b62;if(!_0x46f617||!_0x46f617[_0x545078(0x182)])return;[_0x22b475[_0x545078(0x193)],_0x22b475[_0x545078(0x190)]]['forEach'](_0x2fe193=>{const _0x32fa17=_0x545078,_0x1774aa=_0x46f617[_0x32fa17(0x182)][_0x2fe193];_0x1774aa[_0x32fa17(0x144)](_0x3cc8c3=>{const _0x319a53=_0x32fa17;_0x3cc8c3[_0x319a53(0xd0)]&&(_0x3cc8c3[_0x319a53(0xd0)]=null);});});};['mapTestHooks'](_0x26ff63){const _0x572210=a4_0x294a71,_0x25b24d={'lYDMZ':_0x572210(0xae),'InlqZ':function(_0x7de84d){return _0x7de84d();},'oBAAG':function(_0x13b6b6,_0x1c3ff0){return _0x13b6b6===_0x1c3ff0;},'QhPpb':_0x572210(0xaa),'odAII':_0x572210(0xf3),'BgNcX':_0x572210(0xc2),'LZpbl':_0x572210(0x146)};if(!_0x26ff63||!_0x26ff63[_0x572210(0x182)])return;[_0x25b24d[_0x572210(0x152)],_0x25b24d[_0x572210(0x167)],_0x25b24d['LZpbl'],_0x25b24d[_0x572210(0x121)]][_0x572210(0x144)](_0x50bdf4=>{const _0x1c0788=_0x572210,_0x59a222={'PKtMR':_0x25b24d[_0x1c0788(0x154)],'dnpxk':function(_0x56f43a){return _0x25b24d['InlqZ'](_0x56f43a);},'oYfTP':function(_0x177a19,_0x423f02){const _0x5b86d0=_0x1c0788;return _0x25b24d[_0x5b86d0(0x129)](_0x177a19,_0x423f02);},'AkxXQ':_0x25b24d[_0x1c0788(0x121)]},_0x2c59a0=_0x26ff63[_0x1c0788(0x182)][_0x50bdf4]||[];_0x2c59a0['forEach'](_0x416610=>{const _0x5a0519=_0x1c0788;if(_0x416610['title']['includes'](_0x59a222[_0x5a0519(0xe1)]))return;if(!_0x416610[_0x5a0519(0xd0)])_0x416610[_0x5a0519(0xd0)]=_0x59a222['dnpxk'](uuidv4);else _0x416610[_0x5a0519(0x13a)]&&_0x59a222[_0x5a0519(0xd7)](_0x50bdf4,_0x59a222[_0x5a0519(0xf0)])&&(_0x416610[_0x5a0519(0xd0)]=_0x59a222[_0x5a0519(0x184)](uuidv4),delete _0x416610[_0x5a0519(0x13a)]);});}),this[_0x572210(0x115)](_0x26ff63[_0x572210(0x182)]);}[a4_0x294a71(0xbb)](_0x479bd5){const _0x28607=a4_0x294a71,_0x251eb8={};_0x251eb8[_0x28607(0xa4)]=_0x28607(0xf3),_0x251eb8['yXLvG']=_0x28607(0xc2),_0x251eb8[_0x28607(0x18b)]=_0x28607(0x146),_0x251eb8[_0x28607(0x105)]=_0x28607(0xaa);const _0x28a92e=_0x251eb8;if(!_0x479bd5||!_0x479bd5[_0x28607(0x182)])return[];const _0x4b5595=[];return[_0x28a92e[_0x28607(0xa4)],_0x28a92e[_0x28607(0xea)],_0x28a92e[_0x28607(0x18b)],_0x28a92e[_0x28607(0x105)]][_0x28607(0x144)](_0x2ca875=>{const _0x5674d8=_0x479bd5['parent'][_0x2ca875]||[];_0x5674d8['forEach'](_0x4646e5=>{const _0x4abb6a=a4_0x2a8f;_0x4646e5[_0x4abb6a(0xd0)]&&_0x4b5595[_0x4abb6a(0x14e)](_0x4646e5[_0x4abb6a(0xd0)]);});}),[][_0x28607(0x17b)](_0x4b5595,this[_0x28607(0xbb)](_0x479bd5[_0x28607(0x182)]));}[a4_0x294a71(0x15b)](_0x57d851){const _0x333140=a4_0x294a71,_0x476e2a=/^"(?<hook>.*)" hook:.*$/,_0x4f0e09=_0x57d851[_0x333140(0x149)],_0x860de7=_0x4f0e09['match'](_0x476e2a);if(_0x860de7&&_0x860de7['groups'])return _0x860de7[_0x333140(0x10b)][_0x333140(0xd1)]['toUpperCase']()[_0x333140(0xf4)]('\x20','_');return null;}['findGitConfig'](_0x4593b6){const _0x38e4b5=a4_0x294a71,_0x116d5a={};_0x116d5a[_0x38e4b5(0xd9)]=function(_0x24db5d,_0x456255){return _0x24db5d===_0x456255;},_0x116d5a[_0x38e4b5(0x18d)]=function(_0x4de8cf,_0x5e7098){return _0x4de8cf===_0x5e7098;},_0x116d5a[_0x38e4b5(0xe6)]='.git',_0x116d5a[_0x38e4b5(0x12c)]=_0x38e4b5(0x147);const _0x233fcb=_0x116d5a,_0x297b2f=path['sep'];if(_0x233fcb['Isjxw'](_0x4593b6,null)||_0x233fcb[_0x38e4b5(0xd9)](_0x4593b6,'')||_0x233fcb[_0x38e4b5(0xd9)](_0x4593b6,_0x297b2f)||_0x233fcb[_0x38e4b5(0x18d)](_0x4593b6,path['dirname'](_0x4593b6)))return null;try{return fs[_0x38e4b5(0xc9)](path['join'](_0x4593b6,_0x233fcb['SlslK'],_0x233fcb[_0x38e4b5(0x12c)])),_0x4593b6;}catch(_0x3d1979){const _0x311393=path['dirname'](_0x4593b6);return this[_0x38e4b5(0xbd)](_0x311393);}}[a4_0x294a71(0xb5)](_0x1bf7c6){const _0xdc7fe=a4_0x294a71,_0x4eeb61={};_0x4eeb61[_0xdc7fe(0xb9)]=function(_0x569e9b,_0x50b43f){return _0x569e9b>_0x50b43f;};const _0x2ad511=_0x4eeb61;if(_0x1bf7c6[_0xdc7fe(0x120)])return _0x1bf7c6['file'];if(_0x1bf7c6['ctx']){const _0x411374=_0x1bf7c6[_0xdc7fe(0x14a)]['currentTest']?this[_0xdc7fe(0xb5)](_0x1bf7c6['ctx']['currentTest']):null;if(_0x411374)return _0x411374;}if(_0x1bf7c6[_0xdc7fe(0x182)]){const _0x56f7c1=this[_0xdc7fe(0xb5)](_0x1bf7c6[_0xdc7fe(0x182)])||(_0x1bf7c6[_0xdc7fe(0x182)][_0xdc7fe(0x14a)]&&_0x1bf7c6[_0xdc7fe(0x182)][_0xdc7fe(0x14a)][_0xdc7fe(0xfc)]?this[_0xdc7fe(0xb5)](_0x1bf7c6[_0xdc7fe(0x182)]['ctx'][_0xdc7fe(0xfc)]):null);if(_0x56f7c1)return _0x56f7c1;_0x1bf7c6[_0xdc7fe(0x182)]['suites']&&_0x2ad511[_0xdc7fe(0xb9)](_0x1bf7c6['parent'][_0xdc7fe(0xf2)][_0xdc7fe(0x15d)],0x0)&&_0x1bf7c6[_0xdc7fe(0x182)]['suites'][_0xdc7fe(0x144)](_0x1c5dc1=>{const _0x3e8186=_0xdc7fe,_0x54d4cb=_0x1c5dc1['ctx']?this['getRootParentFile'](_0x1c5dc1[_0x3e8186(0x14a)]):null;if(_0x54d4cb)return _0x54d4cb;});}return null;}[a4_0x294a71(0x191)](_0x574ce1){const _0x316ec7=a4_0x294a71,_0x55b197={};_0x55b197['FKtPO']=function(_0x573b05,_0x58104d){return _0x573b05!==_0x58104d;};const _0x296d4d=_0x55b197,_0x5b130f=[];if(_0x574ce1&&_0x574ce1['parent']){let _0x45606e=_0x574ce1[_0x316ec7(0x182)];while(_0x45606e&&_0x296d4d[_0x316ec7(0x13b)](_0x45606e[_0x316ec7(0x149)],'')){_0x5b130f['push'](_0x45606e[_0x316ec7(0x149)]),_0x45606e=_0x45606e['parent'];}}return _0x5b130f;}[a4_0x294a71(0x179)](_0xf5117b,_0x31f945,_0x3a0d2e=undefined){const _0x35d994=a4_0x294a71,_0x3e72a2={'DoNLO':function(_0x13b385,_0x2863d2){return _0x13b385(_0x2863d2);},'wFuCF':function(_0x55a737){return _0x55a737();},'PVAWw':function(_0x13d5e8){return _0x13d5e8();},'KQRzC':function(_0x2c2367){return _0x2c2367();},'feZre':_0x35d994(0x117),'skOqD':_0x35d994(0xdf),'KLHTr':function(_0x3e2d3e,_0x463058){return _0x3e2d3e!==_0x463058;},'lnbhI':function(_0x229ddc,_0x15d45e){return _0x229ddc!==_0x15d45e;},'KYgLM':_0x35d994(0x132),'kwASB':_0x35d994(0xd8),'ScONT':_0x35d994(0x106),'lEjwB':'passed','aAMBi':_0x35d994(0xc8),'AWzyt':_0x35d994(0xa0),'jAjWY':function(_0x4acd48,_0x2bbf57){return _0x4acd48-_0x2bbf57;},'goBlO':function(_0x2d11a1,_0x480585,_0x3593a0,_0x2df089,_0x2e9eaf){return _0x2d11a1(_0x480585,_0x3593a0,_0x2df089,_0x2e9eaf);},'hrqlu':_0x35d994(0xca),'EehYj':'meta','RebOg':_0x35d994(0x110),'lTbzk':_0x35d994(0x11f),'IpesX':_0x35d994(0x12d),'IiYaY':_0x35d994(0x113),'YzeZv':_0x35d994(0x10a),'AFJAV':function(_0x198332,_0x3fb6e3){return _0x198332===_0x3fb6e3;},'jRXhZ':_0x35d994(0x9c),'LKqeF':_0x35d994(0x169)};if(!this[_0x35d994(0x151)])return;try{if(_0x31f945['fn']&&_0x31f945['fn'][_0x35d994(0x194)]()[_0x35d994(0xf7)](/browserstack internal helper hook/))return;const _0x4b0ab1=_0x3e72a2['DoNLO'](parseEvent,_0xf5117b);if(!_0x4b0ab1)return;if(_0x4b0ab1[_0x35d994(0x165)]){this[_0x35d994(0xfc)]=_0x31f945,this[_0x35d994(0xbf)]=null;if(_0x4b0ab1['started']||_0x4b0ab1[_0x35d994(0xc8)]){_0x31f945['startedAt']=new Date(),_0x31f945[_0x35d994(0x13a)]=![];if(!_0x31f945[_0x35d994(0x111)])_0x31f945[_0x35d994(0x111)]=_0x3e72a2[_0x35d994(0x124)](uuidv4);else _0x31f945[_0x35d994(0x13a)]&&(!_0x31f945[_0x35d994(0x101)]&&(_0x31f945[_0x35d994(0x101)]=_0x31f945[_0x35d994(0x111)]),_0x31f945[_0x35d994(0x111)]=_0x3e72a2[_0x35d994(0x124)](uuidv4));}}else{if(_0x4b0ab1['hook']){this['currentHook']=_0x31f945;if(_0x4b0ab1[_0x35d994(0xb2)]){_0x31f945['startedAt']=new Date(),_0x31f945[_0x35d994(0x13a)]=![];if(!_0x31f945['hookAnalyticsId'])_0x31f945['hookAnalyticsId']=_0x3e72a2['PVAWw'](uuidv4);else _0x31f945[_0x35d994(0xd0)]&&_0x31f945[_0x35d994(0x13a)]&&(_0x31f945[_0x35d994(0xd0)]=_0x3e72a2[_0x35d994(0xfa)](uuidv4));}}}if(_0x4b0ab1[_0x35d994(0x137)]&&_0x31f945[_0x35d994(0x13a)])return;let _0xcd0b1e;try{_0xcd0b1e=this[_0x35d994(0xb5)](_0x31f945);}catch(_0x2350e5){logger[_0x35d994(0xa7)](_0x35d994(0xc7)+_0x2350e5),_0xcd0b1e=null;}const _0x54c6f3=_0x3e72a2[_0x35d994(0x162)](require,_0x3e72a2[_0x35d994(0x16c)]);let _0x4d8265=[];_0x3a0d2e&&(_0x4d8265=[_0x3a0d2e,_0x3e72a2[_0x35d994(0xe2)]]);const _0x275a29=_0x3e72a2['KLHTr'](_0x31f945['errorsDetailed'],undefined)?_0x54c6f3[_0x35d994(0x130)](_0x31f945[_0x35d994(0x11b)][0x0]):_0x3e72a2['lnbhI'](_0x3a0d2e,undefined)?_0x3a0d2e['toString']():undefined,_0x1ab659=_0xcd0b1e?this[_0x35d994(0xbd)](_0xcd0b1e):null,_0x25c1ee=_0xcd0b1e?this[_0x35d994(0x14f)][_0x35d994(0xb3)](this[_0x35d994(0xb5)](_0x31f945)):_0x3e72a2[_0x35d994(0xfb)];let _0x1ed544=_0x3e72a2[_0x35d994(0x141)];const _0x531ded=!_0x4b0ab1[_0x35d994(0xb2)]?new Date()[_0x35d994(0x145)]():null;if(_0x4b0ab1['finished'])_0x1ed544=_0x3a0d2e?_0x3e72a2[_0x35d994(0xd6)]:_0x3e72a2[_0x35d994(0x14b)],_0x31f945['markedStatus']=!![];else _0x4b0ab1[_0x35d994(0xc8)]&&(_0x1ed544=_0x3e72a2['aAMBi'],_0x31f945['markedStatus']=!![]);const _0x30ecfb={'framework':this['frameworkName'],'uuid':_0x31f945[_0x35d994(0x111)]||_0x31f945[_0x35d994(0xd0)],'name':_0x31f945[_0x35d994(0x149)],'body':{'lang':_0x3e72a2[_0x35d994(0xc6)],'code':_0x31f945[_0x35d994(0xcb)][_0x35d994(0x194)]()},'type':_0x31f945['type'],'scope':_0x31f945[_0x35d994(0xd2)](),'scopes':this['getHierarchy'](_0x31f945),'file_name':_0x25c1ee,'vc_filepath':_0x1ab659?path[_0x35d994(0x122)](_0x1ab659,_0xcd0b1e):null,'location':_0x25c1ee,'result':_0x1ed544,'failure_reason':_0x275a29,'duration_in_ms':_0x31f945[_0x35d994(0x180)]||(_0x4b0ab1[_0x35d994(0x137)]||_0x4b0ab1[_0x35d994(0xc8)])?_0x3e72a2['jAjWY'](Date['now'](),new Date(_0x31f945[_0x35d994(0xf9)])['getTime']()):null,'started_at':new Date(_0x31f945[_0x35d994(0xf9)])[_0x35d994(0x145)](),'finished_at':_0x531ded,'failure':testOpsHelper[_0x35d994(0xe9)]['apply'](null,_0x4d8265),'failure_type':!_0x275a29?null:testOpsHelper[_0x35d994(0x127)](_0x275a29),'retry_of':_0x31f945[_0x35d994(0x101)]||null,'tags':_0x31f945[_0x35d994(0x177)]||[],'customRerunParam':{'rerun_name':_0x31f945[_0x35d994(0xd2)]()}};_0x3e72a2[_0x35d994(0xe3)](appendTesthubParams,_0x30ecfb,_0xf5117b,_0x31f945,FRAMEWORKS['CODECEPT']);if(_0x4b0ab1['hook'])[_0x30ecfb['hook_type'],_0x30ecfb['name']]=[this['getHookType'](_0x31f945),_0x31f945['ctx'][_0x35d994(0x165)]['title']],_0x4b0ab1['finished']?_0x3e72a2[_0x35d994(0x192)](_0x30ecfb['result'],_0x3e72a2['ScONT'])&&(_0x30ecfb['result']=_0x3e72a2[_0x35d994(0x14b)]):_0x30ecfb[_0x35d994(0xcb)]={};else _0x4b0ab1[_0x35d994(0x165)]&&(this[_0x35d994(0x115)](_0x31f945),_0x4b0ab1[_0x35d994(0xc8)]&&this[_0x35d994(0xe4)](_0x31f945),(_0x4b0ab1[_0x35d994(0x137)]||_0x4b0ab1[_0x35d994(0xc8)])&&(_0x30ecfb[_0x35d994(0x161)]=this['getHooksForTest'](_0x31f945)));this[_0x35d994(0x166)]&&(_0x4b0ab1[_0x35d994(0xb2)]||_0x4b0ab1[_0x35d994(0xc8)])&&(_0x30ecfb[_0x3e72a2[_0x35d994(0x181)]]=this[_0x35d994(0x103)](this[_0x35d994(0x166)]));_0x4b0ab1[_0x35d994(0x165)]&&_0x4b0ab1['finished']&&_0x31f945[_0x35d994(0x178)]&&(_0x30ecfb[_0x3e72a2['EehYj']]={'feature':{'name':_0x31f945[_0x35d994(0x182)][_0x35d994(0x150)][_0x35d994(0x12b)],'path':_0x30ecfb[_0x35d994(0x158)],'description':_0x31f945[_0x35d994(0x182)][_0x35d994(0x16f)]},'scenario':{'name':_0x31f945[_0x35d994(0x149)]},'steps':_0x31f945['bddSteps']});const _0x593437=_0x30ecfb[_0x3e72a2[_0x35d994(0xa8)]][0x0];_0x593437&&(_0x30ecfb[_0x3e72a2[_0x35d994(0xf6)]]=_0x593437[_0x3e72a2[_0x35d994(0x135)]],_0x30ecfb[_0x3e72a2[_0x35d994(0xbe)]]=_0x593437[_0x3e72a2['YzeZv']]);if(_0x31f945['bddSteps'])for(const _0x172b96 of _0x31f945[_0x35d994(0x178)]){!_0x172b96[_0x35d994(0x138)]&&(_0x172b96['finished_at']=new Date()['toISOString'](),_0x3e72a2[_0x35d994(0xee)](_0x172b96[_0x35d994(0x17a)],_0x3e72a2[_0x35d994(0x141)])&&(_0x593437?(_0x172b96[_0x35d994(0x17a)]=_0x3e72a2[_0x35d994(0xd6)],_0x172b96[_0x35d994(0x110)]=_0x593437[_0x3e72a2[_0x35d994(0x135)]][0x0]):_0x172b96[_0x35d994(0x17a)]=_0x3e72a2['lEjwB']));}const _0x57a7e6={};_0x57a7e6[_0x35d994(0xb1)]=_0x4b0ab1[_0x35d994(0xc8)]?TEST_EVENTS[_0x35d994(0x174)]:_0xf5117b;const _0x215994=_0x57a7e6;return _0x4b0ab1['hook']?_0x215994[_0x3e72a2['jRXhZ']]=_0x30ecfb:_0x215994[_0x3e72a2[_0x35d994(0x15f)]]=_0x30ecfb,_0x215994;}catch(_0x41513b){logger[_0x35d994(0xa7)](_0x35d994(0x185)+_0xf5117b+_0x35d994(0x15c)+_0x41513b);}}async['fireEvent'](_0xcbc091,_0x4d4081){const _0x14cd64=a4_0x294a71;if(!this['enabled']||!_0x4d4081||!_0xcbc091)return![];try{return await SessionHandler[_0x14cd64(0x13e)](_0x4d4081);}catch(_0x1fafe1){logger[_0x14cd64(0xa7)](_0x14cd64(0x157)+_0xcbc091+_0x14cd64(0x15c)+_0x1fafe1);}}[a4_0x294a71(0xa3)](_0x2e0dc6){const _0x24f5a2=a4_0x294a71,_0x413d0a={};_0x413d0a[_0x24f5a2(0x128)]=_0x24f5a2(0xd8);const _0x21d8cf=_0x413d0a;return{'id':_0x2e0dc6[_0x24f5a2(0xc3)],'text':_0x2e0dc6[_0x24f5a2(0xd5)],'keyword':_0x2e0dc6[_0x24f5a2(0x143)],'started_at':_0x2e0dc6[_0x24f5a2(0xf9)][_0x24f5a2(0x145)](),'result':_0x21d8cf[_0x24f5a2(0x128)]};}[a4_0x294a71(0xb8)](_0x11a52c){const _0x3bf4b7=a4_0x294a71,_0x4a6542={'XtnvE':function(_0x4a95fc){return _0x4a95fc();}};!this[_0x3bf4b7(0xfc)][_0x3bf4b7(0x178)]&&(this['currentTest'][_0x3bf4b7(0x178)]=[]),!_0x11a52c[_0x3bf4b7(0xc3)]&&(_0x11a52c['stepAnalyticsId']=_0x4a6542[_0x3bf4b7(0x187)](uuidv4),_0x11a52c[_0x3bf4b7(0xf9)]=new Date(),this[_0x3bf4b7(0xfc)]['bddSteps'][_0x3bf4b7(0x14e)](this[_0x3bf4b7(0xa3)](_0x11a52c)));}[a4_0x294a71(0x15e)](_0x3594c2){const _0xdd0166=a4_0x294a71,_0x8ed21c={'svrBk':function(_0x8b902e,_0x440ae4){return _0x8b902e(_0x440ae4);},'WQWMa':_0xdd0166(0x186),'HjbqT':'pending','nYWaS':'passed','ljXXW':function(_0x228283,_0x291d4c){return _0x228283-_0x291d4c;}};let _0x286363=this[_0xdd0166(0xfc)]['bddSteps'][_0xdd0166(0x9a)](_0x569960=>_0x569960['id']===_0x3594c2[_0xdd0166(0xc3)]);_0x8ed21c[_0xdd0166(0x102)](isUndefined,_0x286363)&&(_0x286363=this[_0xdd0166(0xa3)](_0x3594c2)),_0x286363[_0xdd0166(0x17a)]=[_0x8ed21c[_0xdd0166(0xfe)],_0x8ed21c[_0xdd0166(0x10f)]][_0xdd0166(0x175)](_0x3594c2[_0xdd0166(0xa1)])?_0x8ed21c[_0xdd0166(0x12a)]:_0x3594c2[_0xdd0166(0xa1)],_0x286363[_0xdd0166(0x138)]=new Date()[_0xdd0166(0x145)](),_0x286363[_0xdd0166(0x180)]=_0x8ed21c[_0xdd0166(0x10c)](Date[_0xdd0166(0xf8)](),_0x3594c2['startedAt'][_0xdd0166(0x12e)]()),_0x286363[_0xdd0166(0x110)]=_0x3594c2[_0xdd0166(0xdf)]?_0x3594c2['err'][_0xdd0166(0x10d)]:null;}}const a4_0x5b4c18={};a4_0x5b4c18['O11yHelper']=O11yHelper,a4_0x5b4c18[a4_0x294a71(0xa9)]=STATE_PASSED,a4_0x5b4c18['STATE_FAILED']=STATE_FAILED,a4_0x5b4c18[a4_0x294a71(0x159)]=TEST_EVENTS,module[a4_0x294a71(0x156)]=a4_0x5b4c18;
1
+ const a4_0x4427fa=a4_0x234a;(function(_0x365f01,_0x50c8cd){const _0x51af73=a4_0x234a,_0x4c6f39=_0x365f01();while(!![]){try{const _0x457780=-parseInt(_0x51af73(0xf1))/0x1+-parseInt(_0x51af73(0x8c))/0x2*(parseInt(_0x51af73(0x11e))/0x3)+parseInt(_0x51af73(0x108))/0x4*(parseInt(_0x51af73(0x103))/0x5)+-parseInt(_0x51af73(0x116))/0x6*(-parseInt(_0x51af73(0x12e))/0x7)+parseInt(_0x51af73(0x72))/0x8*(-parseInt(_0x51af73(0x130))/0x9)+parseInt(_0x51af73(0x155))/0xa*(-parseInt(_0x51af73(0x11c))/0xb)+-parseInt(_0x51af73(0xdf))/0xc*(-parseInt(_0x51af73(0xbf))/0xd);if(_0x457780===_0x50c8cd)break;else _0x4c6f39['push'](_0x4c6f39['shift']());}catch(_0x2113e4){_0x4c6f39['push'](_0x4c6f39['shift']());}}}(a4_0x3116,0x9fbc4));const path=require(a4_0x4427fa(0x118)),fs=require('fs'),{v4:uuidv4}=require(a4_0x4427fa(0xcf)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x4427fa(0xf9)),testOpsHelper=require(a4_0x4427fa(0xbb)),{getTestEnv}=require(a4_0x4427fa(0xbe)),{FRAMEWORKS}=require(a4_0x4427fa(0xd7)),logger=require(a4_0x4427fa(0x95))[a4_0x4427fa(0x11b)],SessionHandler=require(a4_0x4427fa(0x8b)),RequestQueueHandler=require(a4_0x4427fa(0xf8)),PlaywrightSessionDetails=require(a4_0x4427fa(0xfc)),debug=testOpsHelper[a4_0x4427fa(0x140)],{processAccessibilityCaps}=require(a4_0x4427fa(0xb2)),Constants=require(a4_0x4427fa(0x142)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a4_0x4427fa(0x142)),STATE_PASSED=a4_0x4427fa(0x147),STATE_FAILED=a4_0x4427fa(0xfd),a4_0x3044cb={};function a4_0x234a(_0x2c8bb7,_0x5c0512){const _0x3116c0=a4_0x3116();return a4_0x234a=function(_0x234a99,_0x17fa65){_0x234a99=_0x234a99-0x6c;let _0x4c57ef=_0x3116c0[_0x234a99];return _0x4c57ef;},a4_0x234a(_0x2c8bb7,_0x5c0512);}a4_0x3044cb[a4_0x4427fa(0x75)]=a4_0x4427fa(0xc4),a4_0x3044cb['TEST_RUN_FINISHED']=a4_0x4427fa(0xed),a4_0x3044cb[a4_0x4427fa(0x124)]=a4_0x4427fa(0xdd),a4_0x3044cb[a4_0x4427fa(0x158)]=a4_0x4427fa(0xe6),a4_0x3044cb[a4_0x4427fa(0xf7)]=a4_0x4427fa(0xa0);const TEST_EVENTS=a4_0x3044cb,parseEvent=_0x57dd36=>{const _0x4450b5=a4_0x4427fa,_0x3017ed={};_0x3017ed[_0x4450b5(0xbc)]=function(_0x4a5b9c,_0x592e94){return _0x4a5b9c<_0x592e94;},_0x3017ed[_0x4450b5(0x120)]=function(_0x2e539c,_0xe25cf){return _0x2e539c===_0xe25cf;},_0x3017ed[_0x4450b5(0xac)]=_0x4450b5(0x82),_0x3017ed[_0x4450b5(0x15c)]=_0x4450b5(0x97),_0x3017ed['wxGTr']=function(_0x4c8249,_0x3302ce){return _0x4c8249===_0x3302ce;},_0x3017ed[_0x4450b5(0xa4)]=_0x4450b5(0xa3),_0x3017ed['JKfgl']=_0x4450b5(0x148),_0x3017ed[_0x4450b5(0xc6)]=function(_0x1f2121,_0x15f56e){return _0x1f2121===_0x15f56e;},_0x3017ed[_0x4450b5(0xb7)]=_0x4450b5(0x165);const _0x2af3db=_0x3017ed,_0xdc06d6=_0x57dd36[_0x4450b5(0x131)](/^(.*)Run(.*)$/);if(!_0xdc06d6)return null;if(_0x2af3db[_0x4450b5(0xbc)](_0xdc06d6[_0x4450b5(0x9e)],0x3))return null;const _0x46be19=_0xdc06d6[0x1]['toLowerCase'](),_0x2be21f=_0xdc06d6[0x2][_0x4450b5(0x12d)]();return{'test':_0x2af3db['gDhYr'](_0x46be19,_0x2af3db[_0x4450b5(0xac)]),'hook':_0x2af3db[_0x4450b5(0x120)](_0x46be19,_0x2af3db[_0x4450b5(0x15c)]),'skipped':_0x2af3db[_0x4450b5(0xb8)](_0x2be21f,_0x2af3db['iFLTZ']),'started':_0x2af3db[_0x4450b5(0x120)](_0x2be21f,_0x2af3db[_0x4450b5(0xf3)]),'finished':_0x2af3db[_0x4450b5(0xc6)](_0x2be21f,_0x2af3db[_0x4450b5(0xb7)])};},mockPWBrowserType=_0x4e85dd=>{const _0x42c88b=a4_0x4427fa,_0x2ab41f={'uENsT':function(_0x460f74,_0x231b67){return _0x460f74===_0x231b67;},'gCFjL':_0x42c88b(0x74),'HtZCi':function(_0x26ed45,_0x59add5,_0x268dc){return _0x26ed45(_0x59add5,_0x268dc);},'HLuBN':_0x42c88b(0xc0),'JXapd':function(_0xe30a51,_0x15af6e){return _0xe30a51(_0x15af6e);},'hMqiU':_0x42c88b(0xab),'reanE':function(_0x337216,_0x2d236f,_0x4f8713){return _0x337216(_0x2d236f,_0x4f8713);},'DSfhV':'lib','SbkFF':_0x42c88b(0x100),'SIWCo':_0x42c88b(0x10b),'XMypx':function(_0x4e39a4,_0x2e5755){return _0x4e39a4(_0x2e5755);},'EhIWg':_0x42c88b(0x6c),'idfpq':_0x42c88b(0x161),'EtOoj':_0x42c88b(0xbd)},_0x40e4ef=path[_0x42c88b(0x9d)](_0x2ab41f[_0x42c88b(0xec)],_0x2ab41f[_0x42c88b(0x16a)],_0x2ab41f[_0x42c88b(0x133)]),_0x558c85=_0x2ab41f[_0x42c88b(0x15f)](importFileFromPWCore,_0x40e4ef);if(!_0x558c85){_0x2ab41f[_0x42c88b(0x83)](debug,_0x2ab41f[_0x42c88b(0xe2)]);return;}const _0x3be2d4=_0x558c85[_0x42c88b(0xde)],_0x165aa9=_0x3be2d4['prototype'];if(_0x165aa9[_0x42c88b(0xc7)])return;const _0x4cb45a=_0x165aa9[_0x42c88b(0x161)];Object[_0x42c88b(0x122)](_0x165aa9,_0x2ab41f[_0x42c88b(0x154)],{'get':function(){const _0x535dbc=_0x42c88b,_0x45952e={'GLUjL':function(_0x2e70a1,_0x4cc523){const _0x5be925=a4_0x234a;return _0x2ab41f[_0x5be925(0x99)](_0x2e70a1,_0x4cc523);},'XtUGY':_0x2ab41f['gCFjL'],'WJFhC':function(_0xdb8923,_0x3719a4,_0x6dc559){const _0x3b2500=a4_0x234a;return _0x2ab41f[_0x3b2500(0xd8)](_0xdb8923,_0x3719a4,_0x6dc559);},'yhysc':_0x2ab41f['HLuBN'],'ZkXza':function(_0x4f218b,_0x3f40fd){const _0x5e4309=a4_0x234a;return _0x2ab41f[_0x5e4309(0x15f)](_0x4f218b,_0x3f40fd);},'YvGWk':_0x2ab41f[_0x535dbc(0x7c)],'RMqck':function(_0x4cbd86,_0xdad0f6,_0x111dd0){return _0x2ab41f['reanE'](_0x4cbd86,_0xdad0f6,_0x111dd0);}};return async function _0x45c584(_0x5df935,_0x969fa7){const _0x1bca04=_0x535dbc,_0x12e0f1=_0x45952e[_0x1bca04(0xd6)](nestedKeyValue,_0x5df935,[_0x45952e[_0x1bca04(0x13f)]])||_0x5df935;let _0x47b401=null,_0xccbf8a=null;try{[_0xccbf8a,_0x47b401]=_0x12e0f1?_0x45952e[_0x1bca04(0x141)](parseWSEndpoint,_0x12e0f1):[null,null],global[_0x1bca04(0x143)]=_0x47b401,logger['debug'](_0x1bca04(0x153)+_0xccbf8a),_0xccbf8a[_0x1bca04(0x127)](Constants[_0x1bca04(0x79)])&&(global[_0x1bca04(0xda)]=_0x45952e['YvGWk']);}catch(_0x3b78a3){logger['debug'](_0x1bca04(0x16b)+_0x12e0f1+'\x20'+_0x3b78a3);}_0x45952e[_0x1bca04(0x12f)](processAccessibilityCaps,_0x47b401,_0xccbf8a);if(global['accessibilityPlatform']){const _0x139c8d=await _0x165aa9[_0x1bca04(0x15d)][_0x1bca04(0x146)](this,[''+Constants[_0x1bca04(0xf2)]+_0x45952e[_0x1bca04(0x141)](encodeURIComponent,JSON[_0x1bca04(0x128)](_0x47b401))]);return PlaywrightSessionDetails[_0x1bca04(0xd3)](_0x139c8d,_0x4e85dd,_0x12e0f1),_0x139c8d;}return _0x4cb45a[_0x1bca04(0x146)](this,arguments)[_0x1bca04(0x123)](_0x39e117=>{const _0x5eca8a=_0x1bca04;let _0x2df213=_0x5df935['wsEndpoint'];return _0x45952e['GLUjL'](typeof _0x5df935,_0x45952e[_0x5eca8a(0x15b)])&&(_0x2df213=_0x5df935),PlaywrightSessionDetails[_0x5eca8a(0xd3)](_0x39e117,_0x4e85dd,_0x2df213),_0x39e117;});};}});const _0x3376e0=_0x165aa9[_0x42c88b(0xbd)];Object[_0x42c88b(0x122)](_0x165aa9,_0x2ab41f[_0x42c88b(0xb6)],{'get':function(){return async function _0x5a2b8d(){const _0x6aee53=a4_0x234a;return _0x3376e0[_0x6aee53(0x146)](this,arguments)[_0x6aee53(0x123)](_0xbb03d7=>{const _0x45d6f7=_0x6aee53;return PlaywrightSessionDetails[_0x45d6f7(0xd3)](_0xbb03d7,null),_0xbb03d7;});};}});};function a4_0x3116(){const _0x29637e=['CdgOI','bddStepStart','EtOoj','fHwZY','wxGTr','stepAnalyticsId','TEST_REPORTING_ANALYTICS','../../helpers/test-observability/utils','VypPX','launch','../mocha/test-observability/mochaUtils','286QdTkdm','wsEndpoint','_afterAll','failure_backtrace','failure','TestRunStarted','pending','ugnzs','obsBrowserTypeMockApplied','bddSteps','TEST_EVENTS','KsfkH','removeAllListeners','patchConsoleLogger','UfqhP','duration','uuid','errorsDetailed','getHookType','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','setupBrowserDetails','pid','EyKFJ','WJFhC','../../helpers/test-observability/constants','HtZCi','tags','__cloud_provider___','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','stop','TestRunSkipped','BrowserType','1831920coaaFD','bs:addLog:','push','EhIWg','O11yHelper','rxGqq','dirname','HookRunStarted','file_name','zCiLD','success','OjweB','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','DSfhV','TestRunFinished','markedStatus','xWeTk','ezQIK','1249806IuUYti','PLAYWRIGHT_HUB_URL','JKfgl','Lchym','type','sendCBTInfo','HOOK_RUN_FINISHED','../../helpers/test-observability/requestQueueHandler','../../helpers/helper','startedAt','event_type','../playwright/sessionDetails','failed','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','finished_at','client','hookAnalyticsId','FoNTN','5esyVfw','findGitConfig','toString','File\x20path\x20could\x20not\x20be\x20found','hook_run_uuid','987912VmmqvN','lrArN','aBUyA','browserType.js','_paths','failureData','expanded','vaJhf','exports','feature','inspect','QNSEP','neoBN','Dqyvv','1974BqhQFf','title','path','zOAxD','UaYJT','winstonLogger','14355011MJdvxh','frameworkName','3357843nviCaZ','_beforeAll','gDhYr','FotwK','defineProperty','then','TEST_RUN_SKIPPED','util','bind','includes','stringify','toISOString','logs','forEach','driver','toLowerCase','16828fCHmRJ','RMqck','122490xetToJ','match','wpxWw','SIWCo','getCBTInfo','hbYHQ','mapTestHooks','bwMac','mBLKV','getFailureType','failed\x20to\x20get\x20root\x20parent\x20file\x20','VIknF','PathHelper','_testEnv','result','yhysc','debug','ZkXza','../utils/constants','__platformCaps','relative','bAuXx','apply','passed','started','lkxqp','sep','tiAmU','ctx','appendTestItemLog','suites','jKzfd','getHierarchy','pCiXA','PWnio','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','idfpq','10CQwDeh','MkVJR','file','HOOK_RUN_STARTED','egSSv','currentHook','XtUGY','HdXay','connectOverCDP','getRootParentFile','JXapd','split','connect','bnCVM','status','getInstance','finished','text','Fwjow','nXdYL','prefixTestPath','SbkFF','Failed\x20to\x20parse\x20wsendpoint\x20','Not\x20able\x20to\x20import\x20Browser','LVsJH','xNQMt','cBZPC','enabled','bpCTP','40EGbLMg','retryOf','string','TEST_RUN_STARTED','MmqXC','CpZkA','CBTSessionCreated','BROWSERSTACK','feOWU','cfdiJ','hMqiU','currentTest','test_run_uuid','name','abekj','LYUJa','test','XMypx','test_run','getTime','aNHDw','eJZGM','concat','STATE_PASSED','1|0|3|4|5|2','../../helpers/test-observability/sessionHandler','2zUrMtV','failure_reason_expanded','\x20with\x20error\x20:\x20','cwd','meta','getHooksForTest','statSync','initializeBddStep','fullTitle','../../helpers/logger','javascript','hook','parent','uENsT','_beforeEach','err','_afterEach','join','length','fBAtw','HookRunFinished','FUVbF','jVHgo','skipped','iFLTZ','okGgP','zMRuM','NgsIX','message','testAnalyticsId','LogCreated','browserstack','QvrxE','now','CIOTU','backtrace','Playwright','integrations','../playwright/accessibility-helper','hooks'];a4_0x3116=function(){return _0x29637e;};return a4_0x3116();}class O11yHelper{['currentTest']=null;[a4_0x4427fa(0x15a)]=null;['enabled']=![];['frameworkName']=![];constructor(_0x5b3140,_0x2a7380){const _0x2feaab=a4_0x4427fa,_0x3d5617={'qDeWP':_0x2feaab(0x8a),'BNMBr':function(_0x4d34c0){return _0x4d34c0();},'CIOTU':function(_0x30a802,_0x616705){return _0x30a802===_0x616705;},'dkbKM':_0x2feaab(0xb0),'nXdYL':function(_0x218df4,_0x3c7fd4){return _0x218df4(_0x3c7fd4);},'neoBN':function(_0x28aff7){return _0x28aff7();}},_0x2e5ede=_0x3d5617['qDeWP'][_0x2feaab(0x160)]('|');let _0x17cf4=0x0;while(!![]){switch(_0x2e5ede[_0x17cf4++]){case'0':this[_0x2feaab(0x11d)]=_0x2a7380[_0x2feaab(0x11d)];continue;case'1':this[_0x2feaab(0x70)]=_0x3d5617['BNMBr'](shouldProcessEventForTesthub);continue;case'2':this[_0x2feaab(0x12c)]&&_0x3d5617[_0x2feaab(0xae)](this[_0x2feaab(0x12c)]['constructor'][_0x2feaab(0x7f)],_0x3d5617['dkbKM'])&&_0x3d5617[_0x2feaab(0x168)](mockPWBrowserType,null);continue;case'3':this[_0x2feaab(0x12c)]=_0x5b3140;continue;case'4':this[_0x2feaab(0x13d)]=_0x3d5617[_0x2feaab(0x114)](getTestEnv);continue;case'5':this[_0x2feaab(0x10c)]=new testOpsHelper[(_0x2feaab(0x13c))]({'cwd':process[_0x2feaab(0x8f)]()},this[_0x2feaab(0x13d)]['location_prefix']);continue;}break;}}['start'](){const _0x8051db=a4_0x4427fa;if(!this[_0x8051db(0x70)])return;testOpsHelper[_0x8051db(0xcc)](),process[_0x8051db(0xcb)](_0x8051db(0xe0)+process[_0x8051db(0xd4)]),process['on'](_0x8051db(0xe0)+process[_0x8051db(0xd4)],this[_0x8051db(0x14d)][_0x8051db(0x126)](this));}async[a4_0x4427fa(0xdc)](){const _0x5b84b8=a4_0x4427fa;await RequestQueueHandler[_0x5b84b8(0x164)]()['shutdown']();}async[a4_0x4427fa(0x14d)](_0xb3e31d){const _0x5e3f3d=a4_0x4427fa,_0x548204={'XjPYc':_0x5e3f3d(0xaa),'lkxqp':function(_0x51d669,_0x2b3a14){return _0x51d669(_0x2b3a14);}};try{this[_0x5e3f3d(0x15a)]&&!this[_0x5e3f3d(0x15a)][_0x5e3f3d(0xee)]&&(_0xb3e31d[_0x5e3f3d(0x107)]=this[_0x5e3f3d(0x15a)][_0x5e3f3d(0x101)]);!_0xb3e31d['hook_run_uuid']&&this['currentTest']&&!this['currentTest'][_0x5e3f3d(0xee)]&&(_0xb3e31d['test_run_uuid']=this['currentTest']['testAnalyticsId']);if(_0xb3e31d[_0x5e3f3d(0x107)]||_0xb3e31d[_0x5e3f3d(0x7e)]){const _0x3b5086={};_0x3b5086[_0x5e3f3d(0xfb)]=_0x548204['XjPYc'],_0x3b5086[_0x5e3f3d(0x12a)]=[_0xb3e31d],await SessionHandler['uploadEventData'](_0x3b5086);}}catch(_0x25fc1b){_0x548204[_0x5e3f3d(0x149)](debug,_0x5e3f3d(0xfe)+constants[_0x5e3f3d(0xba)]+_0x5e3f3d(0x8e)+_0x25fc1b);}}async[a4_0x4427fa(0xf6)](_0x2c6b93){const _0x504c0a=a4_0x4427fa,_0x418ea9={'bnCVM':_0x504c0a(0x78),'lrArN':function(_0x4981b3,_0x23fba7){return _0x4981b3(_0x23fba7);}};if(!this[_0x504c0a(0x70)])return;const _0x30045a=this[_0x504c0a(0x134)](this['driver']);try{const _0xd1aac8={};_0xd1aac8[_0x504c0a(0xcf)]=_0x2c6b93,_0xd1aac8[_0x504c0a(0xb1)]=_0x30045a;const _0x361772=_0xd1aac8,_0x383b60={};_0x383b60[_0x504c0a(0xfb)]=_0x418ea9[_0x504c0a(0x162)],_0x383b60[_0x504c0a(0x84)]=_0x361772,await SessionHandler['uploadEventData'](_0x383b60);}catch(_0x40d05d){_0x418ea9[_0x504c0a(0x109)](debug,_0x504c0a(0xeb)+constants[_0x504c0a(0xba)]+'\x20with\x20error\x20:\x20'+_0x40d05d);}}[a4_0x4427fa(0x134)](_0x24fb91){const _0x646138={'GyfJG':function(_0x49abaf,_0x53c643){return _0x49abaf(_0x53c643);}};return _0x646138['GyfJG'](fetchPlatformDetails,_0x24fb91);}['resetSkipTestHooks']=_0x3001a9=>{const _0x191538=a4_0x4427fa,_0x12e67e={};_0x12e67e[_0x191538(0x115)]=_0x191538(0x9a),_0x12e67e[_0x191538(0xe8)]='_afterEach';const _0x5c2fb4=_0x12e67e;if(!_0x3001a9||!_0x3001a9[_0x191538(0x98)])return;[_0x5c2fb4[_0x191538(0x115)],_0x5c2fb4[_0x191538(0xe8)]][_0x191538(0x12b)](_0x3747da=>{const _0x1e95cf=_0x191538,_0x69963d=_0x3001a9[_0x1e95cf(0x98)][_0x3747da];_0x69963d['forEach'](_0x461d91=>{const _0xb0f583=_0x1e95cf;_0x461d91['hookAnalyticsId']&&(_0x461d91[_0xb0f583(0x101)]=null);});});};[a4_0x4427fa(0x136)](_0x2065c1){const _0x35cb37=a4_0x4427fa,_0x420fa8={'pCiXA':'codeceptjs','EyKFJ':function(_0x216342){return _0x216342();},'bwMac':function(_0x5969e7,_0x111336){return _0x5969e7===_0x111336;},'POQND':_0x35cb37(0x9c),'bAuXx':_0x35cb37(0x11f),'fBAtw':_0x35cb37(0xc1),'egSSv':_0x35cb37(0x9a)};if(!_0x2065c1||!_0x2065c1[_0x35cb37(0x98)])return;[_0x420fa8[_0x35cb37(0x145)],_0x420fa8[_0x35cb37(0x9f)],_0x420fa8[_0x35cb37(0x159)],_0x420fa8['POQND']][_0x35cb37(0x12b)](_0x465d6f=>{const _0x61d865=_0x35cb37,_0x18754a={'FUVbF':_0x420fa8[_0x61d865(0x151)],'uQzeM':function(_0x263ad2){const _0x41777d=_0x61d865;return _0x420fa8[_0x41777d(0xd5)](_0x263ad2);},'feOWU':function(_0x2afe69,_0x580a63){const _0x2d05d0=_0x61d865;return _0x420fa8[_0x2d05d0(0x137)](_0x2afe69,_0x580a63);},'hbYHQ':_0x420fa8['POQND'],'NgsIX':function(_0x59e701){const _0x239505=_0x61d865;return _0x420fa8[_0x239505(0xd5)](_0x59e701);}},_0x2bb69a=_0x2065c1[_0x61d865(0x98)][_0x465d6f]||[];_0x2bb69a[_0x61d865(0x12b)](_0x43f07d=>{const _0x3d8b4c=_0x61d865;if(_0x43f07d['title'][_0x3d8b4c(0x127)](_0x18754a[_0x3d8b4c(0xa1)]))return;if(!_0x43f07d[_0x3d8b4c(0x101)])_0x43f07d[_0x3d8b4c(0x101)]=_0x18754a['uQzeM'](uuidv4);else _0x43f07d['markedStatus']&&_0x18754a[_0x3d8b4c(0x7a)](_0x465d6f,_0x18754a[_0x3d8b4c(0x135)])&&(_0x43f07d[_0x3d8b4c(0x101)]=_0x18754a[_0x3d8b4c(0xa7)](uuidv4),delete _0x43f07d[_0x3d8b4c(0xee)]);});}),this['mapTestHooks'](_0x2065c1[_0x35cb37(0x98)]);}[a4_0x4427fa(0x91)](_0x45d8ad){const _0x4ec03e=a4_0x4427fa,_0x531b7b={};_0x531b7b[_0x4ec03e(0x71)]='_beforeAll',_0x531b7b['XYXMV']='_afterAll',_0x531b7b[_0x4ec03e(0x13b)]=_0x4ec03e(0x9a),_0x531b7b[_0x4ec03e(0x119)]=_0x4ec03e(0x9c);const _0x1e5495=_0x531b7b;if(!_0x45d8ad||!_0x45d8ad[_0x4ec03e(0x98)])return[];const _0x59db2a=[];return[_0x1e5495[_0x4ec03e(0x71)],_0x1e5495['XYXMV'],_0x1e5495[_0x4ec03e(0x13b)],_0x1e5495[_0x4ec03e(0x119)]][_0x4ec03e(0x12b)](_0x4d80a0=>{const _0x22af1e=_0x4ec03e,_0x1553b0=_0x45d8ad[_0x22af1e(0x98)][_0x4d80a0]||[];_0x1553b0[_0x22af1e(0x12b)](_0x578c75=>{const _0x2fe03e=_0x22af1e;_0x578c75['hookAnalyticsId']&&_0x59db2a['push'](_0x578c75[_0x2fe03e(0x101)]);});}),[][_0x4ec03e(0x88)](_0x59db2a,this[_0x4ec03e(0x91)](_0x45d8ad[_0x4ec03e(0x98)]));}[a4_0x4427fa(0xd1)](_0x28bad8){const _0x3ad22e=a4_0x4427fa,_0x8eaf69=/^"(?<hook>.*)" hook:.*$/,_0x4df339=_0x28bad8['title'],_0xd289d8=_0x4df339[_0x3ad22e(0x131)](_0x8eaf69);if(_0xd289d8&&_0xd289d8['groups'])return _0xd289d8['groups'][_0x3ad22e(0x97)]['toUpperCase']()['replace']('\x20','_');return null;}[a4_0x4427fa(0x104)](_0x131f79){const _0x4804a8=a4_0x4427fa,_0x57f08b={};_0x57f08b[_0x4804a8(0x121)]=function(_0x183fac,_0x4d6bb){return _0x183fac===_0x4d6bb;},_0x57f08b[_0x4804a8(0x77)]=function(_0x4e56ef,_0x14ca58){return _0x4e56ef===_0x14ca58;},_0x57f08b['jVHgo']=function(_0x4f7cf6,_0x1a57a1){return _0x4f7cf6===_0x1a57a1;},_0x57f08b[_0x4804a8(0x14b)]=function(_0x45301b,_0x37de0d){return _0x45301b===_0x37de0d;},_0x57f08b[_0x4804a8(0xea)]='.git',_0x57f08b[_0x4804a8(0x10f)]='config';const _0x3185c6=_0x57f08b,_0x56647c=path[_0x4804a8(0x14a)];if(_0x3185c6[_0x4804a8(0x121)](_0x131f79,null)||_0x3185c6[_0x4804a8(0x77)](_0x131f79,'')||_0x3185c6[_0x4804a8(0xa2)](_0x131f79,_0x56647c)||_0x3185c6[_0x4804a8(0x14b)](_0x131f79,path[_0x4804a8(0xe5)](_0x131f79)))return null;try{return fs[_0x4804a8(0x92)](path[_0x4804a8(0x9d)](_0x131f79,_0x3185c6['OjweB'],_0x3185c6[_0x4804a8(0x10f)])),_0x131f79;}catch(_0x332050){const _0x27b214=path[_0x4804a8(0xe5)](_0x131f79);return this['findGitConfig'](_0x27b214);}}[a4_0x4427fa(0x15e)](_0x543d3f){const _0x15fef9=a4_0x4427fa,_0x43518a={};_0x43518a[_0x15fef9(0xf0)]=function(_0x46055f,_0x4c7766){return _0x46055f>_0x4c7766;};const _0x5d127b=_0x43518a;if(_0x543d3f[_0x15fef9(0x157)])return _0x543d3f[_0x15fef9(0x157)];if(_0x543d3f[_0x15fef9(0x14c)]){const _0x4e2ea0=_0x543d3f[_0x15fef9(0x14c)][_0x15fef9(0x7d)]?this['getRootParentFile'](_0x543d3f[_0x15fef9(0x14c)]['currentTest']):null;if(_0x4e2ea0)return _0x4e2ea0;}if(_0x543d3f[_0x15fef9(0x98)]){const _0x15c146=this[_0x15fef9(0x15e)](_0x543d3f['parent'])||(_0x543d3f[_0x15fef9(0x98)][_0x15fef9(0x14c)]&&_0x543d3f[_0x15fef9(0x98)]['ctx']['currentTest']?this[_0x15fef9(0x15e)](_0x543d3f['parent'][_0x15fef9(0x14c)]['currentTest']):null);if(_0x15c146)return _0x15c146;_0x543d3f[_0x15fef9(0x98)][_0x15fef9(0x14e)]&&_0x5d127b[_0x15fef9(0xf0)](_0x543d3f[_0x15fef9(0x98)][_0x15fef9(0x14e)][_0x15fef9(0x9e)],0x0)&&_0x543d3f[_0x15fef9(0x98)][_0x15fef9(0x14e)][_0x15fef9(0x12b)](_0x14e884=>{const _0x177b55=_0x15fef9,_0x1644bc=_0x14e884[_0x177b55(0x14c)]?this[_0x177b55(0x15e)](_0x14e884[_0x177b55(0x14c)]):null;if(_0x1644bc)return _0x1644bc;});}return null;}[a4_0x4427fa(0x150)](_0x5a3c54){const _0x48a5d5=a4_0x4427fa,_0x370256={};_0x370256['KsfkH']=function(_0x54fb35,_0x6ee9a9){return _0x54fb35!==_0x6ee9a9;};const _0x1b6c54=_0x370256,_0x22b16d=[];if(_0x5a3c54&&_0x5a3c54[_0x48a5d5(0x98)]){let _0x218388=_0x5a3c54[_0x48a5d5(0x98)];while(_0x218388&&_0x1b6c54[_0x48a5d5(0xca)](_0x218388[_0x48a5d5(0x117)],'')){_0x22b16d[_0x48a5d5(0xe1)](_0x218388[_0x48a5d5(0x117)]),_0x218388=_0x218388[_0x48a5d5(0x98)];}}return _0x22b16d;}['captureEvent'](_0x23560a,_0x2bc60e,_0x12ad4b=undefined){const _0x197744=a4_0x4427fa,_0x234868={'MmqXC':function(_0x342654,_0x115bf0){return _0x342654(_0x115bf0);},'CdgOI':function(_0x48d8c3){return _0x48d8c3();},'LVsJH':function(_0xddb43b){return _0xddb43b();},'Fwjow':function(_0x4939bb){return _0x4939bb();},'cBZPC':function(_0x5ecaa1,_0x43521a){return _0x5ecaa1(_0x43521a);},'xcAHt':_0x197744(0x125),'zTIHA':_0x197744(0x9b),'xNQMt':function(_0x107b55,_0x43e1ba){return _0x107b55!==_0x43e1ba;},'zMRuM':_0x197744(0x106),'FoNTN':_0x197744(0xc5),'aBUyA':'failed','jtGHV':_0x197744(0x147),'oepTN':_0x197744(0xa3),'xWeTk':_0x197744(0x96),'abekj':function(_0x2baa51,_0x1863eb){return _0x2baa51-_0x1863eb;},'MkVJR':function(_0x23574b,_0x5df055,_0x1880b2,_0x4f1890,_0x1118af){return _0x23574b(_0x5df055,_0x1880b2,_0x4f1890,_0x1118af);},'wpxWw':_0x197744(0xb1),'LYUJa':_0x197744(0x90),'aNHDw':_0x197744(0xc3),'jKzfd':_0x197744(0xc2),'okGgP':_0x197744(0xaf),'vlBii':_0x197744(0x8d),'mBLKV':_0x197744(0x10e),'cfdiJ':function(_0x15955c,_0x56dfc4){return _0x15955c===_0x56dfc4;},'QNSEP':'hook_run','UaYJT':_0x197744(0x84)};if(!this['enabled'])return;try{if(_0x2bc60e['fn']&&_0x2bc60e['fn'][_0x197744(0x105)]()[_0x197744(0x131)](/browserstack internal helper hook/))return;const _0x192d01=_0x234868[_0x197744(0x76)](parseEvent,_0x23560a);if(!_0x192d01)return;if(_0x192d01['test']){this[_0x197744(0x7d)]=_0x2bc60e,this['currentHook']=null;if(_0x192d01[_0x197744(0x148)]||_0x192d01['skipped']){_0x2bc60e[_0x197744(0xfa)]=new Date(),_0x2bc60e[_0x197744(0xee)]=![];if(!_0x2bc60e[_0x197744(0xa9)])_0x2bc60e[_0x197744(0xa9)]=_0x234868[_0x197744(0xb4)](uuidv4);else _0x2bc60e[_0x197744(0xee)]&&(!_0x2bc60e[_0x197744(0x73)]&&(_0x2bc60e[_0x197744(0x73)]=_0x2bc60e[_0x197744(0xa9)]),_0x2bc60e[_0x197744(0xa9)]=_0x234868['CdgOI'](uuidv4));}}else{if(_0x192d01['hook']){this[_0x197744(0x15a)]=_0x2bc60e;if(_0x192d01[_0x197744(0x148)]){_0x2bc60e[_0x197744(0xfa)]=new Date(),_0x2bc60e[_0x197744(0xee)]=![];if(!_0x2bc60e['hookAnalyticsId'])_0x2bc60e[_0x197744(0x101)]=_0x234868[_0x197744(0x6d)](uuidv4);else _0x2bc60e[_0x197744(0x101)]&&_0x2bc60e[_0x197744(0xee)]&&(_0x2bc60e[_0x197744(0x101)]=_0x234868[_0x197744(0x167)](uuidv4));}}}if(_0x192d01['finished']&&_0x2bc60e[_0x197744(0xee)])return;let _0x403247;try{_0x403247=this[_0x197744(0x15e)](_0x2bc60e);}catch(_0x27d839){logger[_0x197744(0x140)](_0x197744(0x13a)+_0x27d839),_0x403247=null;}const _0x4a10bf=_0x234868[_0x197744(0x6f)](require,_0x234868['xcAHt']);let _0x14b584=[];_0x12ad4b&&(_0x14b584=[_0x12ad4b,_0x234868['zTIHA']]);const _0x30fbaf=_0x234868[_0x197744(0x6e)](_0x2bc60e[_0x197744(0xd0)],undefined)?_0x4a10bf[_0x197744(0x112)](_0x2bc60e['errorsDetailed'][0x0]):_0x234868[_0x197744(0x6e)](_0x12ad4b,undefined)?_0x12ad4b[_0x197744(0x105)]():undefined,_0x4105df=_0x403247?this[_0x197744(0x104)](_0x403247):null,_0x594139=_0x403247?this['_paths'][_0x197744(0x169)](this[_0x197744(0x15e)](_0x2bc60e)):_0x234868[_0x197744(0xa6)];let _0x2f8859=_0x234868[_0x197744(0x102)];const _0x42f4f1=!_0x192d01[_0x197744(0x148)]?new Date()[_0x197744(0x129)]():null;if(_0x192d01[_0x197744(0x165)])_0x2f8859=_0x12ad4b?_0x234868[_0x197744(0x10a)]:_0x234868['jtGHV'],_0x2bc60e['markedStatus']=!![];else _0x192d01[_0x197744(0xa3)]&&(_0x2f8859=_0x234868['oepTN'],_0x2bc60e['markedStatus']=!![]);const _0x3f31ec={'framework':this[_0x197744(0x11d)],'uuid':_0x2bc60e['testAnalyticsId']||_0x2bc60e[_0x197744(0x101)],'name':_0x2bc60e[_0x197744(0x117)],'body':{'lang':_0x234868[_0x197744(0xef)],'code':_0x2bc60e['body'][_0x197744(0x105)]()},'type':_0x2bc60e[_0x197744(0xf5)],'scope':_0x2bc60e['fullTitle'](),'scopes':this[_0x197744(0x150)](_0x2bc60e),'file_name':_0x594139,'vc_filepath':_0x4105df?path[_0x197744(0x144)](_0x4105df,_0x403247):null,'location':_0x594139,'result':_0x2f8859,'failure_reason':_0x30fbaf,'duration_in_ms':_0x2bc60e[_0x197744(0xce)]||(_0x192d01[_0x197744(0x165)]||_0x192d01['skipped'])?_0x234868[_0x197744(0x80)](Date[_0x197744(0xad)](),new Date(_0x2bc60e[_0x197744(0xfa)])[_0x197744(0x85)]()):null,'started_at':new Date(_0x2bc60e[_0x197744(0xfa)])['toISOString'](),'finished_at':_0x42f4f1,'failure':testOpsHelper[_0x197744(0x10d)][_0x197744(0x146)](null,_0x14b584),'failure_type':!_0x30fbaf?null:testOpsHelper[_0x197744(0x139)](_0x30fbaf),'retry_of':_0x2bc60e[_0x197744(0x73)]||null,'tags':_0x2bc60e[_0x197744(0xd9)]||[],'customRerunParam':{'rerun_name':_0x2bc60e[_0x197744(0x94)]()}};_0x234868[_0x197744(0x156)](appendTesthubParams,_0x3f31ec,_0x23560a,_0x2bc60e,FRAMEWORKS['CODECEPT']);if(_0x192d01[_0x197744(0x97)])[_0x3f31ec['hook_type'],_0x3f31ec[_0x197744(0x7f)]]=[this[_0x197744(0xd1)](_0x2bc60e),_0x2bc60e[_0x197744(0x14c)][_0x197744(0x82)][_0x197744(0x117)]],_0x192d01[_0x197744(0x165)]?_0x234868[_0x197744(0x6e)](_0x3f31ec[_0x197744(0x13e)],_0x234868['aBUyA'])&&(_0x3f31ec[_0x197744(0x13e)]=_0x234868['jtGHV']):_0x3f31ec['body']={};else _0x192d01[_0x197744(0x82)]&&(this['mapTestHooks'](_0x2bc60e),_0x192d01[_0x197744(0xa3)]&&this['resetSkipTestHooks'](_0x2bc60e),(_0x192d01[_0x197744(0x165)]||_0x192d01[_0x197744(0xa3)])&&(_0x3f31ec[_0x197744(0xb3)]=this[_0x197744(0x91)](_0x2bc60e)));this[_0x197744(0x12c)]&&(_0x192d01[_0x197744(0x148)]||_0x192d01['skipped'])&&(_0x3f31ec[_0x234868[_0x197744(0x132)]]=this['getCBTInfo'](this['driver']));_0x192d01['test']&&_0x192d01[_0x197744(0x165)]&&_0x2bc60e['bddSteps']&&(_0x3f31ec[_0x234868[_0x197744(0x81)]]={'feature':{'name':_0x2bc60e['parent'][_0x197744(0x111)][_0x197744(0x7f)],'path':_0x3f31ec[_0x197744(0xe7)],'description':_0x2bc60e[_0x197744(0x98)]['comment']},'scenario':{'name':_0x2bc60e['title']},'steps':_0x2bc60e[_0x197744(0xc8)]});const _0x34e9fb=_0x3f31ec[_0x234868[_0x197744(0x86)]][0x0];_0x34e9fb&&(_0x3f31ec[_0x234868[_0x197744(0x14f)]]=_0x34e9fb[_0x234868[_0x197744(0xa5)]],_0x3f31ec[_0x234868['vlBii']]=_0x34e9fb[_0x234868[_0x197744(0x138)]]);if(_0x2bc60e[_0x197744(0xc8)])for(const _0x49d2ed of _0x2bc60e[_0x197744(0xc8)]){!_0x49d2ed['finished_at']&&(_0x49d2ed[_0x197744(0xff)]=new Date()[_0x197744(0x129)](),_0x234868[_0x197744(0x7b)](_0x49d2ed[_0x197744(0x13e)],_0x234868[_0x197744(0x102)])&&(_0x34e9fb?(_0x49d2ed['result']=_0x234868[_0x197744(0x10a)],_0x49d2ed[_0x197744(0xc3)]=_0x34e9fb[_0x234868[_0x197744(0xa5)]][0x0]):_0x49d2ed[_0x197744(0x13e)]=_0x234868['jtGHV']));}const _0x2fc2f6={};_0x2fc2f6[_0x197744(0xfb)]=_0x192d01[_0x197744(0xa3)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x23560a;const _0x365b3b=_0x2fc2f6;return _0x192d01[_0x197744(0x97)]?_0x365b3b[_0x234868[_0x197744(0x113)]]=_0x3f31ec:_0x365b3b[_0x234868[_0x197744(0x11a)]]=_0x3f31ec,_0x365b3b;}catch(_0x12025b){logger[_0x197744(0x140)](_0x197744(0xd2)+_0x23560a+_0x197744(0x8e)+_0x12025b);}}async['fireEvent'](_0x106044,_0xc6b79a){const _0x4e7e93=a4_0x4427fa;if(!this['enabled']||!_0xc6b79a||!_0x106044)return![];try{return await SessionHandler['uploadEventData'](_0xc6b79a);}catch(_0x35235c){logger[_0x4e7e93(0x140)](_0x4e7e93(0xdb)+_0x106044+_0x4e7e93(0x8e)+_0x35235c);}}[a4_0x4427fa(0x93)](_0x3baba7){const _0x37cda8=a4_0x4427fa,_0x40f63e={};_0x40f63e[_0x37cda8(0xf4)]=_0x37cda8(0xc5);const _0x383c50=_0x40f63e;return{'id':_0x3baba7[_0x37cda8(0xb9)],'text':_0x3baba7[_0x37cda8(0x166)],'keyword':_0x3baba7['keyword'],'started_at':_0x3baba7[_0x37cda8(0xfa)]['toISOString'](),'result':_0x383c50[_0x37cda8(0xf4)]};}[a4_0x4427fa(0xb5)](_0x23e9be){const _0x463e39=a4_0x4427fa,_0x346c94={'pCyxn':function(_0x39eeec){return _0x39eeec();}};!this[_0x463e39(0x7d)][_0x463e39(0xc8)]&&(this[_0x463e39(0x7d)][_0x463e39(0xc8)]=[]),!_0x23e9be[_0x463e39(0xb9)]&&(_0x23e9be[_0x463e39(0xb9)]=_0x346c94['pCyxn'](uuidv4),_0x23e9be['startedAt']=new Date(),this[_0x463e39(0x7d)][_0x463e39(0xc8)]['push'](this['initializeBddStep'](_0x23e9be)));}['bddStepFinish'](_0x15f584){const _0x9096b3=a4_0x4427fa,_0x52564b={'eJZGM':function(_0x55a4c2,_0x3c5f7d){return _0x55a4c2(_0x3c5f7d);},'UfqhP':_0x9096b3(0xe9),'YDXMl':'pending','rxGqq':_0x9096b3(0x147),'PWnio':function(_0x545bb9,_0x47bfa4){return _0x545bb9-_0x47bfa4;}};let _0x1ca6b9=this[_0x9096b3(0x7d)]['bddSteps']['find'](_0x50c014=>_0x50c014['id']===_0x15f584[_0x9096b3(0xb9)]);_0x52564b[_0x9096b3(0x87)](isUndefined,_0x1ca6b9)&&(_0x1ca6b9=this[_0x9096b3(0x93)](_0x15f584)),_0x1ca6b9[_0x9096b3(0x13e)]=[_0x52564b[_0x9096b3(0xcd)],_0x52564b['YDXMl']][_0x9096b3(0x127)](_0x15f584[_0x9096b3(0x163)])?_0x52564b[_0x9096b3(0xe4)]:_0x15f584[_0x9096b3(0x163)],_0x1ca6b9[_0x9096b3(0xff)]=new Date()[_0x9096b3(0x129)](),_0x1ca6b9['duration']=_0x52564b[_0x9096b3(0x152)](Date[_0x9096b3(0xad)](),_0x15f584[_0x9096b3(0xfa)][_0x9096b3(0x85)]()),_0x1ca6b9[_0x9096b3(0xc3)]=_0x15f584['err']?_0x15f584[_0x9096b3(0x9b)][_0x9096b3(0xa8)]:null;}}const a4_0x578649={};a4_0x578649[a4_0x4427fa(0xe3)]=O11yHelper,a4_0x578649[a4_0x4427fa(0x89)]=STATE_PASSED,a4_0x578649['STATE_FAILED']=STATE_FAILED,a4_0x578649[a4_0x4427fa(0xc9)]=TEST_EVENTS,module[a4_0x4427fa(0x110)]=a4_0x578649;