browserstack-node-sdk 1.42.3 → 1.42.5

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 (176) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x5f42d8=a1_0xb742;(function(_0x2bac91,_0x55281e){const _0x5e089f=a1_0xb742,_0x2257b5=_0x2bac91();while(!![]){try{const _0x1bd78f=parseInt(_0x5e089f(0x209))/0x1+parseInt(_0x5e089f(0x261))/0x2*(-parseInt(_0x5e089f(0x2b2))/0x3)+parseInt(_0x5e089f(0x25b))/0x4+-parseInt(_0x5e089f(0x279))/0x5+parseInt(_0x5e089f(0x24f))/0x6*(parseInt(_0x5e089f(0x224))/0x7)+-parseInt(_0x5e089f(0x290))/0x8*(-parseInt(_0x5e089f(0x220))/0x9)+-parseInt(_0x5e089f(0x2c8))/0xa*(-parseInt(_0x5e089f(0x21b))/0xb);if(_0x1bd78f===_0x55281e)break;else _0x2257b5['push'](_0x2257b5['shift']());}catch(_0x25cc10){_0x2257b5['push'](_0x2257b5['shift']());}}}(a1_0xea0c,0x82de9));const fs=require('fs'),util=require(a1_0x5f42d8(0x2b1)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x5f42d8(0x26d)),logger=require(a1_0x5f42d8(0x293))[a1_0x5f42d8(0x1eb)],testOpsHelper=require(a1_0x5f42d8(0x2d2)),requestSpy=require(a1_0x5f42d8(0x237)),PlaywrightSessionDetails=require(a1_0x5f42d8(0x217)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x5f42d8(0x2c4)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x5f42d8(0x2ae)),AccessibilityHelper=require(a1_0x5f42d8(0x29a)),scripts=require(a1_0x5f42d8(0x2b5)),PerformanceTester=require(a1_0x5f42d8(0x228)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x5f42d8(0x2a0)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x5f42d8(0x288)),testHubConstants=require(a1_0x5f42d8(0x254)),globals=require(a1_0x5f42d8(0x2b7)),CodeceptJS=requireModule(a1_0x5f42d8(0x2a7),a1_0x5f42d8(0x215)),CodeceptUtils=requireModule(a1_0x5f42d8(0x287),a1_0x5f42d8(0x215)),CodeceptWebDriver=requireModule(a1_0x5f42d8(0x248),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x5f42d8(0x28b),a1_0x5f42d8(0x215)),CodeceptPlaywright=requireModule(a1_0x5f42d8(0x286),a1_0x5f42d8(0x215)),playwrightMarkSessionStatus=(_0x41aea0,_0x472dc9,_0x4ce18c)=>{const _0xf88b84=a1_0x5f42d8,_0x4d18da={'GHQGR':_0xf88b84(0x1ff),'KaEgJ':function(_0x31719d,_0x2e6f25){return _0x31719d(_0x2e6f25);}},_0xcb071a={};_0xcb071a[_0xf88b84(0x1fe)]=_0x472dc9;const _0x2ff406={};_0x2ff406[_0xf88b84(0x23e)]=_0x4d18da['GHQGR'],_0x2ff406['arguments']=_0xcb071a;const _0x4818c4=_0x2ff406;return!_0x4d18da['KaEgJ'](isUndefined,_0x4ce18c)&&(_0x4818c4[_0xf88b84(0x235)]['reason']=JSON[_0xf88b84(0x29f)](_0x4ce18c)),_0x41aea0[_0xf88b84(0x1fd)](()=>{},_0xf88b84(0x26f)+JSON[_0xf88b84(0x29f)](_0x4818c4));},o11ySync=PerformanceTester[a1_0x5f42d8(0x297)](PerformanceO11yEvents[a1_0x5f42d8(0x252)],async _0x2f9ab0=>{const _0x4772de=a1_0x5f42d8,_0x2d0261={};_0x2d0261['QHDQw']=function(_0x2b29a4,_0x3d49a9){return _0x2b29a4===_0x3d49a9;},_0x2d0261[_0x4772de(0x294)]=_0x4772de(0x24b);const _0x595e91=_0x2d0261;_0x595e91[_0x4772de(0x255)](_0x2f9ab0['constructor']['name'],_0x595e91[_0x4772de(0x294)])?await _0x2f9ab0[_0x4772de(0x1fd)](_0x1de5c2=>{},testOpsHelper[_0x4772de(0x273)]()):await _0x2f9ab0['executeScript'](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x5f42d8(0x297)](PerformanceAutEvents[a1_0x5f42d8(0x247)],async(_0x4a0232,_0x20b4e4)=>{const _0x5139c7=a1_0x5f42d8,_0x5606a3={};_0x5606a3[_0x5139c7(0x244)]=_0x5139c7(0x223),_0x5606a3[_0x5139c7(0x221)]=function(_0x995b0f,_0x682d13){return _0x995b0f===_0x682d13;},_0x5606a3[_0x5139c7(0x27b)]=_0x5139c7(0x24b);const _0x315551=_0x5606a3,_0xe0a4d5={};_0xe0a4d5['name']=_0x20b4e4;const _0x45527f={};_0x45527f['action']=_0x315551[_0x5139c7(0x244)],_0x45527f[_0x5139c7(0x235)]=_0xe0a4d5;const _0x139225=_0x45527f;_0x315551[_0x5139c7(0x221)](_0x4a0232['constructor']['name'],_0x315551[_0x5139c7(0x27b)])?await _0x4a0232[_0x5139c7(0x1fd)](()=>{},_0x5139c7(0x26f)+JSON[_0x5139c7(0x29f)](_0x139225)):await _0x4a0232[_0x5139c7(0x1fd)](_0x5139c7(0x26f)+JSON[_0x5139c7(0x29f)](_0x139225));}),patchSaveScreenshot=_0x4e5f97=>{const _0x5c3c5a=a1_0x5f42d8,_0x56acb9={'fYoIk':_0x5c3c5a(0x236),'mxmNz':_0x5c3c5a(0x2a2),'KIpcI':function(_0x5704f1){return _0x5704f1();},'uDest':function(_0x3d5ada,_0x4fcf95){return _0x3d5ada(_0x4fcf95);},'mIEIj':_0x5c3c5a(0x219)};_0x56acb9[_0x5c3c5a(0x2bb)](isTrue,process[_0x5c3c5a(0x29b)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x4e5f97[_0x5c3c5a(0x291)]&&(_0x4e5f97[_0x5c3c5a(0x291)]=!![],_0x4e5f97[_0x5c3c5a(0x203)]=_0x4e5f97[_0x5c3c5a(0x21a)],_0x4e5f97[_0x5c3c5a(0x21a)]=(_0x9d96a2,_0xf36041=![])=>{const _0x31b3cd=_0x5c3c5a,_0xce4d85={'yRvxn':_0x56acb9[_0x31b3cd(0x216)],'gFKKn':_0x56acb9['mxmNz'],'PBmbL':function(_0x34497c){const _0x8329e9=_0x31b3cd;return _0x56acb9[_0x8329e9(0x27c)](_0x34497c);},'jrhcV':function(_0xa4cf67,_0x131dd2){const _0x1e636f=_0x31b3cd;return _0x56acb9[_0x1e636f(0x2bb)](_0xa4cf67,_0x131dd2);},'zvRDW':_0x56acb9[_0x31b3cd(0x29d)]};return new Promise(function(_0x10f3a3,_0x4abaa2){const _0x56d5ef=_0x31b3cd,_0xec8769={'lBIkX':_0xce4d85[_0x56d5ef(0x22c)],'AvHsV':_0xce4d85[_0x56d5ef(0x1f1)],'ooRZF':function(_0x359d1d){return _0xce4d85['PBmbL'](_0x359d1d);},'MJpgs':function(_0xefdfa7,_0x672188){const _0x2d1586=_0x56d5ef;return _0xce4d85[_0x2d1586(0x26a)](_0xefdfa7,_0x672188);},'RXRxX':_0xce4d85[_0x56d5ef(0x24c)]};_0x4e5f97[_0x56d5ef(0x203)](_0x9d96a2,_0xf36041)['then'](()=>{const _0x380e7c=_0x56d5ef,_0x4344cc=CodeceptUtils['screenshotOutputFolder'](_0x9d96a2);if(_0x4344cc){const _0x441d25=fs[_0x380e7c(0x267)](_0x4344cc);process[_0x380e7c(0x231)](_0x380e7c(0x24e)+process['pid'],{'timestamp':new Date()[_0x380e7c(0x2a6)](),'message':_0x441d25[_0x380e7c(0x1f0)](_0xec8769[_0x380e7c(0x2d3)]),'kind':_0xec8769['AvHsV']}),_0xec8769[_0x380e7c(0x241)](_0x10f3a3);}_0xec8769[_0x380e7c(0x268)](_0x4abaa2,new Error(_0xec8769[_0x380e7c(0x253)]));})[_0x56d5ef(0x2bc)](()=>null);});});},patchWebDriverBefore=_0x28d251=>{const _0xf458dd=a1_0x5f42d8,_0x2e20dd={'lSVVS':function(_0x4c65f2){return _0x4c65f2();},'eLgoE':function(_0x361c74,_0x4c3d41){return _0x361c74(_0x4c3d41);},'ozRRF':function(_0x5082f4,_0x2fab2d){return _0x5082f4===_0x2fab2d;},'cFPrC':_0xf458dd(0x299)},_0xd05ce0=async function(_0x44ab4a,_0x2e71a7){const _0xae82c2=_0xf458dd;return _0x2e20dd[_0xae82c2(0x242)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0xae82c2(0x218)]&&scripts['shouldWrapCommand'](_0x44ab4a[_0xae82c2(0x23f)])&&_0x2e20dd[_0xae82c2(0x2c7)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0xae82c2(0x285)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xae82c2(0x2c1)],async()=>{const _0x5e46e4=_0xae82c2;logger['debug']('Performing\x20scan\x20for\x20'+_0x44ab4a[_0x5e46e4(0x256)]+'\x20'+_0x44ab4a[_0x5e46e4(0x23f)]),await AccessibilityHelper[_0x5e46e4(0x2ab)](_0x28d251,scripts[_0x5e46e4(0x211)]);},{'command':_0x44ab4a[_0xae82c2(0x23f)]})()),global[_0xae82c2(0x285)]=![],_0x2e71a7[_0xae82c2(0x26b)](this,Array[_0xae82c2(0x2d5)][_0xae82c2(0x2d4)]['call'](arguments,0x2));},_0x2ef6af=CodeceptWebDriver[_0xf458dd(0x2d5)][_0xf458dd(0x278)];CodeceptWebDriver[_0xf458dd(0x2d5)][_0xf458dd(0x278)]=async function(){const _0xa9e8da=_0xf458dd;try{await _0x2ef6af['apply'](this,arguments);}catch(_0x5a38c0){logger[_0xa9e8da(0x25e)](_0xa9e8da(0x282)+util[_0xa9e8da(0x229)](_0x5a38c0));}scripts['commandsToWrap'][_0xa9e8da(0x24a)](_0x56288e=>_0x56288e['name']&&_0x56288e[_0xa9e8da(0x256)])[_0xa9e8da(0x276)](_0x30eec7=>{const _0x242b6c=_0xa9e8da;this[_0x242b6c(0x2a3)]['overwriteCommand'](_0x30eec7[_0x242b6c(0x23f)],_0xd05ce0[_0x242b6c(0x26c)](this,_0x30eec7),_0x2e20dd[_0x242b6c(0x20a)](_0x30eec7['class'],_0x2e20dd[_0x242b6c(0x25c)]));}),_0x2e20dd[_0xa9e8da(0x2c7)](processWebDriverConfig,_0x28d251);};},patchPlaywrightBefore=()=>{const _0x4d647b=a1_0x5f42d8;PlaywrightSessionDetails[_0x4d647b(0x2b4)]();const _0xd3ff95=CodeceptPlaywright[_0x4d647b(0x2d5)][_0x4d647b(0x278)];CodeceptPlaywright[_0x4d647b(0x2d5)][_0x4d647b(0x278)]=async function(){const _0xc947bb=_0x4d647b;this[_0xc947bb(0x27f)]=await this[_0xc947bb(0x2a3)][_0xc947bb(0x238)]()[0x0],await _0xd3ff95[_0xc947bb(0x26b)](this,arguments);};},getCodeceptDriver=()=>{const _0x28b694=a1_0x5f42d8,_0x55dc42={};_0x55dc42[_0x28b694(0x2c5)]=_0x28b694(0x250),_0x55dc42[_0x28b694(0x201)]=_0x28b694(0x24b),_0x55dc42[_0x28b694(0x1fb)]='Puppeteer',_0x55dc42['IJiNz']=_0x28b694(0x1ea);const _0x14e08e=_0x55dc42,_0x495b30=[_0x14e08e[_0x28b694(0x2c5)],_0x14e08e[_0x28b694(0x201)],_0x14e08e[_0x28b694(0x1fb)],_0x14e08e[_0x28b694(0x2c0)]],_0x28e270=_0x495b30[_0x28b694(0x207)](_0x31da76=>!!CodeceptJS['container'][_0x28b694(0x2b6)](_0x31da76));if(!_0x28e270)return null;return CodeceptJS['container'][_0x28b694(0x2b6)](_0x28e270);};function a1_0xb742(_0x4cbe13,_0x4ad185){const _0xea0cb6=a1_0xea0c();return a1_0xb742=function(_0xb742e7,_0x5945dd){_0xb742e7=_0xb742e7-0x1ea;let _0x1eae12=_0xea0cb6[_0xb742e7];return _0x1eae12;},a1_0xb742(_0x4cbe13,_0x4ad185);}function a1_0xea0c(){const _0x1c94b8=['Playwright','zvRDW','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','bs:addLog:','2061786JphkUW','WebDriver','XkzGp','SYNC','RXRxX','../../helpers/testhub/constants.js','QHDQw','class','TFElS','hook-passed','bddStepStart','SESSION_STATUS','776616xmjncm','cFPrC','hookType','debug','test-failed','hwLbR','809530SfrHJV','SAVE_RESULTS','fJLPw','thBuildUuid','__driver','mgpPB','readFileSync','MJpgs','getResults','jrhcV','apply','bind','../../helpers/helper','sbswO','browserstack_executor:\x20','nKqzo','xtRRV','testAnalyticsId','getSyncScript','SDK_POST_TEST','sCSoS','forEach','TEST_LOG','_before','2229360vENuUl','HhYxL','LGKub','KIpcI','QBhVW','title','browserContext','TEST_RUN_STARTED','skipped','Failed\x20to\x20execute\x20_before:\x20','qeHsE','currentTest','bstackAllyScanning','codeceptjs/lib/helper/Playwright.js','codeceptjs/lib/utils.js','./helper.js','bddStep','test-before','codeceptjs/lib/recorder.js','constructor','ZthdR','afterTest','BROWSERSTACK_TESTHUB_JWT','2755416RypiXF','patchSaveScreenshot','hook-failed','../../helpers/logger','yPDmY','pRhAH','dispatcher','measureWrapper','FnaHh','Element','../../bin/playwright/accessibility-helper','env','titlePath','mIEIj','etNWY','stringify','../../helpers/performance/constants','exports','TEST_SCREENSHOT','browser','tfbhN','bddStep-before','toISOString','codeceptjs/lib/index.js','lxKsr','warn','getResultsSummary','browserStackExecuteDriver','ZcZdn','CJiAz','../../helpers/accessibility-automation/helper','end','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','util','6QEdzkK','RkyPZ','patch','../../helpers/accessibility-automation/scripts','helpers','../../helpers/globals.js','saveTestResults','stop','test','uDest','catch','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','HOOK_RUN_STARTED','thJwtToken','IJiNz','PERFORM_SCAN','SDK_TEST','xePWf','./o11yHelper','EZipE','WJcEj','eLgoE','80DrGexP','gXmkp','container','skipSessionName','after','ENV_VAR','fireEvent','SFRhM','vEygg','pid','../../helpers/test-observability/utils','lBIkX','slice','prototype','started','SDK_POST_INITIALIZE','TestCafe','winstonLogger','test-passed','comment','AGdFX','Suite','toString','gFKKn','startMonitoring','getAccessibilityResultsSummary','browserstackTestName','TEST_RUN_SKIPPED','XdsRV','ctx','QJyzC','HOOK_RUN_FINISHED','TEST_RUN_FINISHED','eCvpc','skipSessionStatus','executeScript','status','setSessionStatus','hook-started','wxrsx','captureEvent','initSaveScreenshot','getAccessibilityResults','before','test-skipped','find','IYJfn','623527tVbQGx','ozRRF','FXXsE','test-started','exVca','setGlobal','GET_RESULTS_SUMMARY','SDK_PRE_TEST','performScan','captureError','CTpeu','event','codeceptjs','fYoIk','../../bin/playwright/sessionDetails','accessibilityPlatform','Screenshot\x20path\x20not\x20found','saveScreenshot','392843eoIQre','thTestRunUuid','add','passed','uuFgg','9fpQfLW','viahe','SsLRw','setSessionName','7YWglEC','stopMonitoring','enabled','ZIuFB','../../helpers/performance/performance-tester','format','info','SDK_PRE_INITIALIZE','yRvxn','qEUMp','bddStepFinish','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','all','emit','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','test-after','SDK_HOOK','arguments','base64','../../helpers/request-spy','contexts','PNHNB','hook','command','bYikD','kNHLw','action','name','__workerDetails','ooRZF','lSVVS','bddStep-after','GcLDh','addRequestSpy','start','SESSION_NAME','codeceptjs/lib/helper/WebDriver.js','acAEr','filter'];a1_0xea0c=function(){return _0x1c94b8;};return a1_0xea0c();}module[a1_0x5f42d8(0x2a1)]=function(_0x2170b0){const _0x26fce1=a1_0x5f42d8,_0x49c710={'QJyzC':function(_0x362279){return _0x362279();},'xtRRV':function(_0x957364,_0x5b78c6){return _0x957364(_0x5b78c6);},'FnaHh':_0x26fce1(0x1f3),'acAEr':_0x26fce1(0x22f),'RkyPZ':_0x26fce1(0x204),'exVca':_0x26fce1(0x24d),'ZthdR':_0x26fce1(0x200),'QBhVW':_0x26fce1(0x258),'tfbhN':_0x26fce1(0x292),'xePWf':_0x26fce1(0x1f4),'ZcZdn':_0x26fce1(0x28a),'SsLRw':function(_0x5886fc){return _0x5886fc();},'FXXsE':function(_0x7925a0,_0x20d002){return _0x7925a0(_0x20d002);},'CTpeu':function(_0x19aa19,_0x42c5b4,_0x33144c){return _0x19aa19(_0x42c5b4,_0x33144c);},'kNHLw':function(_0x277017,_0x610255){return _0x277017(_0x610255);},'SFRhM':_0x26fce1(0x20c),'TFElS':function(_0x25b4dc,_0x405bc8,_0xedebd9){return _0x25b4dc(_0x405bc8,_0xedebd9);},'XkzGp':_0x26fce1(0x1ec),'mgpPB':function(_0x3977fa,_0x538dea,_0x2e41b3,_0x6897a0){return _0x3977fa(_0x538dea,_0x2e41b3,_0x6897a0);},'etNWY':function(_0x2a0986,_0x7431d4){return _0x2a0986===_0x7431d4;},'fJLPw':_0x26fce1(0x1ef),'CJiAz':_0x26fce1(0x25f),'bYikD':_0x26fce1(0x206),'hwLbR':_0x26fce1(0x28e),'pRhAH':function(_0x5b618e){return _0x5b618e();},'PNHNB':_0x26fce1(0x2b0),'IYJfn':_0x26fce1(0x233),'qeHsE':'INFO','XdsRV':_0x26fce1(0x277),'nKqzo':'step-comment','XQPbZ':_0x26fce1(0x2a5),'DPXgm':_0x26fce1(0x243),'vjgHH':'Playwright'};_0x2170b0['skipSessionStatus']&&(global['__skipSessionStatus']=_0x2170b0[_0x26fce1(0x1fc)]);PerformanceTester[_0x26fce1(0x1f2)]();const _0xde7b14=_0x49c710['pRhAH'](getCodeceptDriver),_0x1f73a1=new O11yHelper(_0xde7b14,_0x2170b0),_0x24aeee=!!CodeceptJS[_0x26fce1(0x2ca)]['helpers'](_0x49c710['vjgHH']);global[_0x26fce1(0x265)]=_0xde7b14,_0xde7b14&&(PerformanceTester[_0x26fce1(0x297)](PerformanceEvents[_0x26fce1(0x22b)],()=>{const _0x515fe8=_0x26fce1;_0x24aeee?_0x49c710[_0x515fe8(0x1f8)](patchPlaywrightBefore):_0x49c710[_0x515fe8(0x271)](patchWebDriverBefore,_0xde7b14);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x26fce1(0x2d7)],()=>{const _0x568046=_0x26fce1,_0x32a04f={};_0x32a04f[_0x568046(0x2c6)]=_0x49c710[_0x568046(0x298)],_0x32a04f[_0x568046(0x1ee)]=_0x49c710[_0x568046(0x249)],_0x32a04f[_0x568046(0x227)]=_0x49c710[_0x568046(0x2b3)],_0x32a04f['sbswO']=_0x49c710[_0x568046(0x20d)];const _0x431c67=_0x32a04f;_0xde7b14[_0x568046(0x1f3)]=async()=>{const _0x3db587=_0x568046;if(global[_0x3db587(0x218)]){const _0x3b43fb={};return _0x3b43fb['command']=_0x431c67[_0x3db587(0x2c6)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3db587(0x2c1)],async()=>{const _0x3a0cc0=_0x3db587;return await AccessibilityHelper[_0x3a0cc0(0x2ab)](_0xde7b14,scripts[_0x3a0cc0(0x211)]);},_0x3b43fb)(),await PerformanceTester[_0x3db587(0x297)](PerformanceA11yEvents[_0x3db587(0x20f)],async()=>{const _0x418eff=_0x3db587;return await AccessibilityHelper[_0x418eff(0x2ab)](_0xde7b14,scripts[_0x418eff(0x2aa)]);})();}return logger[_0x3db587(0x2a9)](_0x431c67[_0x3db587(0x1ee)]),{};},_0xde7b14[_0x568046(0x204)]=async()=>{const _0x323bb7=_0x568046;if(global[_0x323bb7(0x218)]){const _0x1f896d={};return _0x1f896d[_0x323bb7(0x23b)]=_0x431c67[_0x323bb7(0x227)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x323bb7(0x2c1)],async()=>{const _0x1a4dab=_0x323bb7;return await AccessibilityHelper[_0x1a4dab(0x2ab)](_0xde7b14,scripts[_0x1a4dab(0x211)]);},_0x1f896d)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x50fda0=_0x323bb7;return await AccessibilityHelper[_0x50fda0(0x2ab)](_0xde7b14,scripts[_0x50fda0(0x269)]);})();}return logger[_0x323bb7(0x2a9)](_0x431c67[_0x323bb7(0x26e)]),{};},_0x49c710['xtRRV'](patchSaveScreenshot,_0xde7b14);})()),CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x296)]['on'](CodeceptJS['event'][_0x26fce1(0x230)][_0x26fce1(0x205)],()=>{const _0x29fe83=_0x26fce1;PerformanceTester[_0x29fe83(0x246)](PerformanceEvents[_0x29fe83(0x210)]);try{_0x1f73a1[_0x29fe83(0x246)](),testOpsHelper[_0x29fe83(0x245)](),PerformanceTester[_0x29fe83(0x2af)](PerformanceEvents[_0x29fe83(0x210)]);}catch(_0x430892){PerformanceTester['captureError'](_0x430892),PerformanceTester[_0x29fe83(0x2af)](PerformanceEvents[_0x29fe83(0x210)],![],_0x430892);}}),CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x296)]['on'](CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x230)][_0x26fce1(0x2cc)],async()=>{const _0x251e33=_0x26fce1;PerformanceTester[_0x251e33(0x246)](PerformanceEvents[_0x251e33(0x274)]);try{requestSpy['restore'](),await _0x1f73a1[_0x251e33(0x2b9)](),PerformanceTester['end'](PerformanceEvents[_0x251e33(0x274)]);}catch(_0xb98d76){PerformanceTester[_0x251e33(0x212)](_0xb98d76),PerformanceTester['end'](PerformanceEvents[_0x251e33(0x274)],![],_0xb98d76);}finally{PerformanceTester[_0x251e33(0x225)]();}}),CodeceptJS['event'][_0x26fce1(0x296)]['on'](CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x23a)][_0x26fce1(0x2d6)],_0x28d8a5=>{const _0x203d0a=_0x26fce1;PerformanceTester['start'](PerformanceEvents[_0x203d0a(0x234)]);try{const _0x1d378a=_0x28d8a5[_0x203d0a(0x1f7)][_0x203d0a(0x2ba)],_0x3188dc=_0x1f73a1[_0x203d0a(0x202)](TEST_EVENTS[_0x203d0a(0x2be)],_0x1d378a);CodeceptRecorder[_0x203d0a(0x21d)](()=>_0x1f73a1[_0x203d0a(0x2ce)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x3188dc));const _0x46b666={};_0x46b666[_0x203d0a(0x25d)]=_0x49c710['ZthdR'],PerformanceTester[_0x203d0a(0x2af)](PerformanceEvents[_0x203d0a(0x234)],!![],null,_0x46b666);}catch(_0x566193){const _0x556514={};_0x556514[_0x203d0a(0x25d)]=_0x49c710[_0x203d0a(0x28d)],PerformanceTester[_0x203d0a(0x2af)](PerformanceEvents[_0x203d0a(0x234)],![],_0x566193,_0x556514),PerformanceTester[_0x203d0a(0x212)](_0x566193);}}),CodeceptJS['event'][_0x26fce1(0x296)]['on'](CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x23a)]['passed'],_0x33fd46=>{const _0x61ae5b=_0x26fce1,_0x46f22a={};_0x46f22a['hookType']=_0x49c710[_0x61ae5b(0x27d)],PerformanceTester['start'](PerformanceHookEvents[_0x61ae5b(0x234)],!![],null,_0x46f22a);try{const _0x4d99ee=_0x33fd46[_0x61ae5b(0x1f7)][_0x61ae5b(0x2ba)],_0x4031c3=_0x1f73a1[_0x61ae5b(0x202)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x4d99ee);CodeceptRecorder[_0x61ae5b(0x21d)](()=>_0x1f73a1[_0x61ae5b(0x2ce)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x4031c3));const _0x4f652d={};_0x4f652d['hookType']=_0x49c710[_0x61ae5b(0x27d)],PerformanceTester['end'](PerformanceHookEvents[_0x61ae5b(0x234)],!![],null,_0x4f652d);}catch(_0x11ea56){PerformanceTester[_0x61ae5b(0x212)](_0x11ea56);const _0x20d071={};_0x20d071['hookType']=_0x49c710[_0x61ae5b(0x27d)],PerformanceTester[_0x61ae5b(0x2af)](PerformanceHookEvents[_0x61ae5b(0x234)],![],_0x11ea56,_0x20d071);}}),CodeceptJS['event'][_0x26fce1(0x296)]['on'](CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x23a)]['failed'],async(_0x3083eb,_0x45f755)=>{const _0x537b2a=_0x26fce1;PerformanceTester[_0x537b2a(0x246)](PerformanceHookEvents['SDK_HOOK']);try{const _0x415292=_0x3083eb[_0x537b2a(0x1f7)][_0x537b2a(0x2ba)],_0x4ff2b7=_0x1f73a1[_0x537b2a(0x202)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x415292,_0x45f755);CodeceptRecorder[_0x537b2a(0x21d)](()=>_0x1f73a1[_0x537b2a(0x2ce)](TEST_EVENTS[_0x537b2a(0x1f9)],_0x4ff2b7));const _0x5014be={};_0x5014be[_0x537b2a(0x25d)]=_0x49c710['tfbhN'],PerformanceTester[_0x537b2a(0x246)](PerformanceHookEvents[_0x537b2a(0x234)],!![],null,_0x5014be);}catch(_0x28220e){PerformanceTester[_0x537b2a(0x212)](_0x28220e);const _0x4eaf7c={};_0x4eaf7c[_0x537b2a(0x25d)]=_0x49c710[_0x537b2a(0x2a4)],PerformanceTester[_0x537b2a(0x2af)](PerformanceHookEvents['SDK_HOOK'],![],_0x28220e,_0x4eaf7c);}const _0x13592a={};_0x13592a[_0x537b2a(0x25d)]=_0x49c710['tfbhN'],PerformanceTester[_0x537b2a(0x2af)](PerformanceHookEvents[_0x537b2a(0x234)],!![],null,_0x13592a);}),CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x296)]['on'](CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x2ba)][_0x26fce1(0x205)],_0x508532=>{const _0x1f2a8e=_0x26fce1;PerformanceTester[_0x1f2a8e(0x246)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x1f2a8e(0x20e)](_0x49c710[_0x1f2a8e(0x2c3)],_0x508532[_0x1f2a8e(0x27e)]);_0x49c710[_0x1f2a8e(0x1f8)](isBrowserstackInfra)&&(_0x24aeee&&(global[_0x1f2a8e(0x240)]={'currentTest':{'name':_0x508532[_0x1f2a8e(0x27e)],'testInfo':{'titlePath':_0x508532['titlePath']()}}}));const _0x4f4a10={};_0x4f4a10[_0x1f2a8e(0x25d)]=_0x49c710[_0x1f2a8e(0x2ac)],PerformanceTester[_0x1f2a8e(0x2af)](PerformanceHookEvents[_0x1f2a8e(0x234)],!![],null,_0x4f4a10);}catch(_0x38a839){PerformanceTester[_0x1f2a8e(0x212)](_0x38a839);const _0x13bdb9={};_0x13bdb9['hookType']=_0x49c710[_0x1f2a8e(0x2ac)],PerformanceTester['end'](PerformanceHookEvents[_0x1f2a8e(0x234)],![],_0x38a839,_0x13bdb9);}}),CodeceptJS[_0x26fce1(0x214)]['dispatcher']['on'](CodeceptJS[_0x26fce1(0x214)]['test'][_0x26fce1(0x2d6)],_0x93292f=>{const _0x5710f6=_0x26fce1,_0x155c67={'HhYxL':function(_0x5b5b9e){return _0x49c710['SsLRw'](_0x5b5b9e);},'BrSKf':function(_0x1e483b,_0x35ecd6){const _0x7d7bfa=a1_0xb742;return _0x49c710[_0x7d7bfa(0x20b)](_0x1e483b,_0x35ecd6);},'lxKsr':function(_0x1d70df,_0x3985d8,_0x3dc86d){const _0x3eabc8=a1_0xb742;return _0x49c710[_0x3eabc8(0x213)](_0x1d70df,_0x3985d8,_0x3dc86d);},'gXmkp':function(_0x186104,_0x5cb672){const _0x256a87=a1_0xb742;return _0x49c710[_0x256a87(0x23d)](_0x186104,_0x5cb672);}};PerformanceTester[_0x5710f6(0x246)](PerformanceHookEvents[_0x5710f6(0x234)]);try{globals['setGlobal'](_0x49c710[_0x5710f6(0x2c3)],_0x93292f[_0x5710f6(0x27e)]);const _0x4b47ab=_0x1f73a1[_0x5710f6(0x202)](TEST_EVENTS[_0x5710f6(0x280)],_0x93292f);CodeceptRecorder[_0x5710f6(0x21d)](()=>_0x1f73a1[_0x5710f6(0x2ce)](TEST_EVENTS[_0x5710f6(0x280)],_0x4b47ab)),CodeceptRecorder[_0x5710f6(0x21d)](async()=>{const _0x375b3a=_0x5710f6;_0x155c67[_0x375b3a(0x27a)](isBrowserstackInfra)&&(!_0x155c67['BrSKf'](isTrue,_0x2170b0[_0x375b3a(0x2cb)])&&await _0x155c67[_0x375b3a(0x2a8)](markSessionName,_0xde7b14,_0x93292f[_0x375b3a(0x27e)]),_0x1f73a1[_0x375b3a(0x226)]&&await _0x155c67[_0x375b3a(0x2c9)](o11ySync,_0xde7b14));});}catch(_0x2eb61e){const _0x25df0f={};_0x25df0f[_0x5710f6(0x25d)]=_0x49c710[_0x5710f6(0x2cf)],PerformanceTester[_0x5710f6(0x2af)](PerformanceHookEvents[_0x5710f6(0x234)],![],_0x2eb61e,_0x25df0f),PerformanceTester[_0x5710f6(0x212)](_0x2eb61e);}const _0x33e54d={};_0x33e54d[_0x5710f6(0x25d)]=_0x49c710[_0x5710f6(0x2cf)],PerformanceTester['end'](PerformanceHookEvents[_0x5710f6(0x234)],!![],null,_0x33e54d);}),CodeceptJS[_0x26fce1(0x214)]['dispatcher']['on'](CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x2ba)][_0x26fce1(0x21e)],_0x2b0f75=>{const _0x2b8ed3=_0x26fce1,_0x46aaa7={'SJfbt':function(_0x776793,_0x480642,_0x32da40){const _0x9b48aa=a1_0xb742;return _0x49c710[_0x9b48aa(0x213)](_0x776793,_0x480642,_0x32da40);},'OiBBW':function(_0x5b5aa4,_0x94132a,_0x1cae95){const _0x1aa313=a1_0xb742;return _0x49c710[_0x1aa313(0x257)](_0x5b5aa4,_0x94132a,_0x1cae95);},'uuFgg':function(_0x4d998c){const _0x5e11ec=a1_0xb742;return _0x49c710[_0x5e11ec(0x222)](_0x4d998c);}};PerformanceTester[_0x2b8ed3(0x246)](PerformanceHookEvents[_0x2b8ed3(0x234)]);try{const _0x3307ce=_0x1f73a1[_0x2b8ed3(0x202)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2b0f75);CodeceptRecorder[_0x2b8ed3(0x21d)](()=>_0x1f73a1[_0x2b8ed3(0x2ce)](TEST_EVENTS[_0x2b8ed3(0x1fa)],_0x3307ce)),CodeceptRecorder[_0x2b8ed3(0x21d)](async()=>{const _0x84add5=_0x2b8ed3;_0x46aaa7[_0x84add5(0x21f)](isBrowserstackInfra)&&await PerformanceTester[_0x84add5(0x297)](PerformanceAutEvents[_0x84add5(0x25a)],async()=>{_0x24aeee?await _0x46aaa7['SJfbt'](playwrightMarkSessionStatus,_0xde7b14,STATE_PASSED):await _0x46aaa7['OiBBW'](markSessionStatus,_0xde7b14,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0x1dbc50){PerformanceTester[_0x2b8ed3(0x212)](_0x1dbc50);const _0x515b85={};_0x515b85[_0x2b8ed3(0x25d)]=_0x49c710[_0x2b8ed3(0x251)],PerformanceTester[_0x2b8ed3(0x2af)](PerformanceHookEvents[_0x2b8ed3(0x234)],![],_0x1dbc50,_0x515b85),PerformanceTester[_0x2b8ed3(0x2af)](PerformanceEvents['SDK_TEST'],![],_0x1dbc50);}const _0x596ed3={};_0x596ed3[_0x2b8ed3(0x25d)]=_0x49c710[_0x2b8ed3(0x251)],PerformanceTester['end'](PerformanceHookEvents[_0x2b8ed3(0x234)],!![],null,_0x596ed3);}),CodeceptJS['event'][_0x26fce1(0x296)]['on'](CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x2ba)]['failed'],(_0x5f3606,_0x426e81)=>{const _0x31f12e=_0x26fce1,_0x19e00c={'tkDkp':function(_0x9c1644){const _0x2ec5f0=a1_0xb742;return _0x49c710[_0x2ec5f0(0x1f8)](_0x9c1644);},'sCSoS':function(_0x3349d3,_0x1b1c57,_0x28d14c,_0x4c5822){const _0x28a2a0=a1_0xb742;return _0x49c710[_0x28a2a0(0x266)](_0x3349d3,_0x1b1c57,_0x28d14c,_0x4c5822);},'qEUMp':function(_0x4add0a,_0x181b09,_0x4042b1,_0x14b0cb){return _0x49c710['mgpPB'](_0x4add0a,_0x181b09,_0x4042b1,_0x14b0cb);}};PerformanceTester[_0x31f12e(0x246)](PerformanceHookEvents[_0x31f12e(0x234)]);try{if(_0x49c710[_0x31f12e(0x29e)](_0x5f3606[_0x31f12e(0x28c)][_0x31f12e(0x23f)],_0x49c710[_0x31f12e(0x263)])){const _0x20875c=_0x1f73a1[_0x31f12e(0x202)](TEST_EVENTS[_0x31f12e(0x1f5)],_0x5f3606[_0x31f12e(0x1f7)][_0x31f12e(0x284)]);CodeceptRecorder['add'](()=>_0x1f73a1['fireEvent'](TEST_EVENTS[_0x31f12e(0x1f5)],_0x20875c));}else{const _0x396107=_0x1f73a1[_0x31f12e(0x202)](TEST_EVENTS[_0x31f12e(0x1fa)],_0x5f3606,_0x426e81);CodeceptRecorder[_0x31f12e(0x21d)](()=>{const _0x35d88a=_0x31f12e;try{_0x1f73a1[_0x35d88a(0x2ce)](TEST_EVENTS[_0x35d88a(0x1fa)],_0x396107);}catch(_0xadb167){logger['debug']('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x35d88a(0x229)](_0xadb167)),PerformanceTester['end'](PerformanceEvents[_0x35d88a(0x2c2)],![],_0xadb167);}}),CodeceptRecorder[_0x31f12e(0x21d)](async()=>{const _0x574e47=_0x31f12e;try{_0x19e00c['tkDkp'](isBrowserstackInfra)&&(_0x24aeee?await _0x19e00c[_0x574e47(0x275)](playwrightMarkSessionStatus,_0xde7b14,STATE_FAILED,_0x426e81):await _0x19e00c[_0x574e47(0x22d)](markSessionStatus,_0xde7b14,STATE_FAILED,_0x426e81));}catch(_0x296a6a){logger['debug'](_0x574e47(0x2bd)+util[_0x574e47(0x229)](_0x296a6a)),PerformanceTester[_0x574e47(0x2af)](PerformanceEvents[_0x574e47(0x2c2)],![],_0x296a6a);}});}PerformanceTester['end'](PerformanceEvents[_0x31f12e(0x2c2)]);}catch(_0x2de035){PerformanceTester[_0x31f12e(0x212)](_0x2de035);const _0x26fd7b={};_0x26fd7b[_0x31f12e(0x25d)]=_0x49c710[_0x31f12e(0x2ad)],PerformanceTester[_0x31f12e(0x2af)](PerformanceHookEvents['SDK_HOOK'],![],_0x2de035,_0x26fd7b),PerformanceTester[_0x31f12e(0x2af)](PerformanceEvents[_0x31f12e(0x2c2)],![],_0x2de035);}const _0x580d76={};_0x580d76['hookType']=_0x49c710[_0x31f12e(0x2ad)],PerformanceTester[_0x31f12e(0x2af)](PerformanceHookEvents[_0x31f12e(0x234)],!![],null,_0x580d76);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x2ba)][_0x26fce1(0x281)],_0x3123cd=>{const _0x966131=_0x26fce1;PerformanceTester[_0x966131(0x246)](PerformanceHookEvents[_0x966131(0x234)]);try{const _0x33289e=_0x1f73a1[_0x966131(0x202)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3123cd);CodeceptRecorder[_0x966131(0x21d)](()=>_0x1f73a1['fireEvent'](TEST_EVENTS[_0x966131(0x1f5)],_0x33289e)),PerformanceTester[_0x966131(0x2af)](PerformanceEvents[_0x966131(0x2c2)]);}catch(_0xc1ab63){PerformanceTester[_0x966131(0x212)](_0xc1ab63),PerformanceTester[_0x966131(0x2af)](PerformanceEvents['SDK_TEST'],![],_0xc1ab63);const _0x357d55={};_0x357d55['hookType']=_0x49c710[_0x966131(0x23c)],PerformanceTester[_0x966131(0x2af)](PerformanceHookEvents[_0x966131(0x234)],![],_0xc1ab63,_0x357d55);}const _0x86859e={};_0x86859e[_0x966131(0x25d)]=_0x49c710[_0x966131(0x23c)],PerformanceTester[_0x966131(0x2af)](PerformanceHookEvents[_0x966131(0x234)],!![],null,_0x86859e);}),CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x296)]['on'](CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x2ba)][_0x26fce1(0x2cc)],async(_0x3d42d9,_0x46ba8a)=>{const _0x205a39=_0x26fce1,_0x135e28={};_0x135e28[_0x205a39(0x2d0)]=_0x49c710[_0x205a39(0x260)];const _0x2bf6f3=_0x135e28;try{PerformanceTester['start'](PerformanceHookEvents[_0x205a39(0x234)]);const _0x5ef406=_0x49c710['CTpeu'](shouldScanTestForAccessibility,_0x3d42d9[_0x205a39(0x29c)](),!![]);if(_0x49c710[_0x205a39(0x295)](isAccessibilityAutomationSession)&&global[_0x205a39(0x218)]&&_0x5ef406){const _0x561969={};_0x561969[_0x205a39(0x21c)]=_0x3d42d9[_0x205a39(0x272)],_0x561969[_0x205a39(0x264)]=process[_0x205a39(0x29b)][testHubConstants[_0x205a39(0x2cd)]['BROWSERSTACK_TESTHUB_UUID']],_0x561969[_0x205a39(0x2bf)]=process['env'][testHubConstants[_0x205a39(0x2cd)][_0x205a39(0x28f)]];const _0x5c5062=_0x561969;logger[_0x205a39(0x25e)](_0x205a39(0x232)+JSON[_0x205a39(0x29f)](_0x5c5062)),CodeceptRecorder[_0x205a39(0x21d)](async()=>{const _0x3547ef=_0x205a39,_0x94d81={};_0x94d81[_0x3547ef(0x23b)]=_0x2bf6f3[_0x3547ef(0x2d0)],await PerformanceTester[_0x3547ef(0x297)](PerformanceA11yEvents[_0x3547ef(0x2c1)],async()=>{const _0x1c792d=_0x3547ef;await AccessibilityHelper[_0x1c792d(0x2ab)](_0xde7b14,scripts['performScan']);},_0x94d81)(),await PerformanceTester[_0x3547ef(0x297)](PerformanceA11yEvents[_0x3547ef(0x262)],async()=>{const _0x4e801a=_0x3547ef;await AccessibilityHelper[_0x4e801a(0x2ab)](_0xde7b14,scripts[_0x4e801a(0x2b8)],_0x5c5062);})();}),logger[_0x205a39(0x22a)](_0x49c710[_0x205a39(0x239)]);}const _0x34b227={};_0x34b227[_0x205a39(0x25d)]=_0x49c710[_0x205a39(0x208)],PerformanceTester[_0x205a39(0x2af)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x34b227);}catch(_0x52ea0f){PerformanceTester[_0x205a39(0x212)](_0x52ea0f);const _0x27a97e={};_0x27a97e[_0x205a39(0x25d)]=_0x49c710['IYJfn'],PerformanceTester[_0x205a39(0x2af)](PerformanceHookEvents[_0x205a39(0x234)],![],_0x52ea0f,_0x27a97e);}}),CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x296)]['on'](CodeceptJS[_0x26fce1(0x214)]['step'][_0x26fce1(0x1ed)],_0x289bdd=>{const _0x4e07c1=_0x26fce1;PerformanceTester['start'](PerformanceHookEvents[_0x4e07c1(0x234)]);try{process[_0x4e07c1(0x231)](_0x4e07c1(0x24e)+process[_0x4e07c1(0x2d1)],{'timestamp':new Date()[_0x4e07c1(0x2a6)](),'level':_0x49c710[_0x4e07c1(0x283)],'message':_0x289bdd,'kind':_0x49c710[_0x4e07c1(0x1f6)],'http_response':{}});}catch(_0x5a7136){PerformanceTester['captureError'](_0x5a7136);const _0x437591={};_0x437591[_0x4e07c1(0x25d)]=_0x49c710[_0x4e07c1(0x270)],PerformanceTester['end'](PerformanceHookEvents[_0x4e07c1(0x234)],![],_0x5a7136,_0x437591);}const _0x5ec6d4={};_0x5ec6d4['hookType']=_0x49c710[_0x4e07c1(0x270)],PerformanceTester[_0x4e07c1(0x2af)](PerformanceHookEvents[_0x4e07c1(0x234)],!![],null,_0x5ec6d4);}),CodeceptJS[_0x26fce1(0x214)]['dispatcher']['on'](CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x289)][_0x26fce1(0x205)],_0x229aff=>{const _0x5dd9ad=_0x26fce1,_0x7178b0={};_0x7178b0[_0x5dd9ad(0x25d)]=_0x49c710['XQPbZ'],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x5dd9ad(0x234)],()=>{const _0x5c54c7=_0x5dd9ad;_0x1f73a1[_0x5c54c7(0x259)](_0x229aff);},_0x7178b0)();}),CodeceptJS['event'][_0x26fce1(0x296)]['on'](CodeceptJS[_0x26fce1(0x214)][_0x26fce1(0x289)][_0x26fce1(0x2cc)],_0x3e645a=>{const _0x39d87c=_0x26fce1,_0x31c5b9={};_0x31c5b9['hookType']=_0x49c710['DPXgm'],PerformanceTester[_0x39d87c(0x297)](PerformanceHookEvents[_0x39d87c(0x234)],()=>{const _0x1e5048=_0x39d87c;_0x1f73a1[_0x1e5048(0x22e)](_0x3e645a);},_0x31c5b9)();});};
1
+ const a1_0x134bfd=a1_0x28c0;(function(_0xf99f01,_0x5d6d28){const _0x159e86=a1_0x28c0,_0x427da3=_0xf99f01();while(!![]){try{const _0x47f628=parseInt(_0x159e86(0x15c))/0x1+parseInt(_0x159e86(0x18c))/0x2*(parseInt(_0x159e86(0x1d3))/0x3)+parseInt(_0x159e86(0x168))/0x4+-parseInt(_0x159e86(0x1bf))/0x5*(parseInt(_0x159e86(0x180))/0x6)+-parseInt(_0x159e86(0x111))/0x7*(parseInt(_0x159e86(0x139))/0x8)+-parseInt(_0x159e86(0x1be))/0x9*(-parseInt(_0x159e86(0x1ab))/0xa)+-parseInt(_0x159e86(0x13d))/0xb*(parseInt(_0x159e86(0x124))/0xc);if(_0x47f628===_0x5d6d28)break;else _0x427da3['push'](_0x427da3['shift']());}catch(_0x161e1d){_0x427da3['push'](_0x427da3['shift']());}}}(a1_0x244d,0x8d5b0));const fs=require('fs'),util=require(a1_0x134bfd(0x123)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x134bfd(0x15b)),logger=require(a1_0x134bfd(0x18a))[a1_0x134bfd(0x140)],testOpsHelper=require(a1_0x134bfd(0x12c)),requestSpy=require(a1_0x134bfd(0x171)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x134bfd(0x178)),AccessibilityHelper=require(a1_0x134bfd(0x1c9)),scripts=require(a1_0x134bfd(0x1d2)),PerformanceTester=require(a1_0x134bfd(0x15d)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x134bfd(0x10c)),globals=require(a1_0x134bfd(0x129)),CodeceptJS=requireModule(a1_0x134bfd(0x19c),a1_0x134bfd(0x18d)),CodeceptUtils=requireModule(a1_0x134bfd(0x16e),a1_0x134bfd(0x18d)),CodeceptWebDriver=requireModule(a1_0x134bfd(0x110),a1_0x134bfd(0x18d)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x134bfd(0x18d)),CodeceptPlaywright=requireModule(a1_0x134bfd(0x13b),'codeceptjs'),playwrightMarkSessionStatus=(_0x320344,_0x2231a3,_0x48886d)=>{const _0x35b23f=a1_0x134bfd,_0x2c68cf={'itQla':_0x35b23f(0x1d6),'pzRNC':function(_0x348107,_0x27928b){return _0x348107(_0x27928b);}},_0x28fd11={};_0x28fd11['status']=_0x2231a3;const _0x201a04={};_0x201a04[_0x35b23f(0x11e)]=_0x2c68cf[_0x35b23f(0x142)],_0x201a04[_0x35b23f(0x135)]=_0x28fd11;const _0x169623=_0x201a04;return!_0x2c68cf[_0x35b23f(0x1d4)](isUndefined,_0x48886d)&&(_0x169623[_0x35b23f(0x135)][_0x35b23f(0x127)]=JSON[_0x35b23f(0x199)](_0x48886d)),_0x320344['executeScript'](()=>{},_0x35b23f(0x13e)+JSON['stringify'](_0x169623));},o11ySync=PerformanceTester[a1_0x134bfd(0x148)](PerformanceO11yEvents[a1_0x134bfd(0x143)],async _0x58f7d0=>{const _0x57a56c=a1_0x134bfd,_0x3257fe={};_0x3257fe[_0x57a56c(0x144)]=function(_0x4a9b43,_0x58c52a){return _0x4a9b43===_0x58c52a;},_0x3257fe[_0x57a56c(0x12e)]=_0x57a56c(0x18b);const _0xf2d91c=_0x3257fe;_0xf2d91c[_0x57a56c(0x144)](_0x58f7d0['constructor']['name'],_0xf2d91c['gllVx'])?await _0x58f7d0[_0x57a56c(0x132)](_0x55418d=>{},testOpsHelper['getSyncScript']()):await _0x58f7d0[_0x57a56c(0x132)](testOpsHelper[_0x57a56c(0x12b)]());}),markSessionName=PerformanceTester[a1_0x134bfd(0x148)](PerformanceAutEvents[a1_0x134bfd(0x1a1)],async(_0x2ff0ab,_0x194f76)=>{const _0x3acca7=a1_0x134bfd,_0x2d23cd={};_0x2d23cd[_0x3acca7(0x17d)]=_0x3acca7(0x138),_0x2d23cd[_0x3acca7(0x173)]=function(_0x535600,_0x45c607){return _0x535600===_0x45c607;},_0x2d23cd['LeLSg']=_0x3acca7(0x18b);const _0x29aee2=_0x2d23cd,_0x42cf75={};_0x42cf75[_0x3acca7(0x1a5)]=_0x194f76;const _0x4c757e={};_0x4c757e[_0x3acca7(0x11e)]=_0x29aee2['MVhwe'],_0x4c757e[_0x3acca7(0x135)]=_0x42cf75;const _0x537b3a=_0x4c757e;_0x29aee2[_0x3acca7(0x173)](_0x2ff0ab['constructor']['name'],_0x29aee2[_0x3acca7(0x1c7)])?await _0x2ff0ab[_0x3acca7(0x132)](()=>{},_0x3acca7(0x13e)+JSON[_0x3acca7(0x199)](_0x537b3a)):await _0x2ff0ab['executeScript'](_0x3acca7(0x13e)+JSON['stringify'](_0x537b3a));}),patchSaveScreenshot=_0x1cc0d8=>{const _0x237aca=a1_0x134bfd,_0x2393f0={'zTOhl':_0x237aca(0x162),'yHjPM':_0x237aca(0x152),'peCaM':function(_0xc34eae){return _0xc34eae();},'dqQCl':function(_0x1dc029,_0x39345d){return _0x1dc029(_0x39345d);},'EbsfG':_0x237aca(0x189),'pJPUy':function(_0x56428c,_0x3ea095){return _0x56428c(_0x3ea095);}};_0x2393f0[_0x237aca(0x1a4)](isTrue,process[_0x237aca(0x137)][_0x237aca(0x16a)])&&!_0x1cc0d8[_0x237aca(0x1b2)]&&(_0x1cc0d8['patchSaveScreenshot']=!![],_0x1cc0d8[_0x237aca(0x1dc)]=_0x1cc0d8['saveScreenshot'],_0x1cc0d8[_0x237aca(0x1d8)]=(_0x4ae3e6,_0x264c26=![])=>{return new Promise(function(_0x51406b,_0x3ec4c8){const _0xafdc3=a1_0x28c0,_0x3717e2={'GfHvo':_0x2393f0[_0xafdc3(0x1c0)],'zNSQl':_0x2393f0['yHjPM'],'WnmXC':function(_0x589243){const _0x404e57=_0xafdc3;return _0x2393f0[_0x404e57(0x1a0)](_0x589243);},'luiZf':function(_0x721823,_0x4813e2){const _0x26d8ea=_0xafdc3;return _0x2393f0[_0x26d8ea(0x1c6)](_0x721823,_0x4813e2);},'iDWmr':_0x2393f0[_0xafdc3(0x1c5)]};_0x1cc0d8[_0xafdc3(0x1dc)](_0x4ae3e6,_0x264c26)['then'](()=>{const _0x3b7ad1=_0xafdc3,_0x1f411b=CodeceptUtils[_0x3b7ad1(0x1ca)](_0x4ae3e6);if(_0x1f411b){const _0x38d64d=fs[_0x3b7ad1(0x157)](_0x1f411b);process[_0x3b7ad1(0x12d)](_0x3b7ad1(0x1cc)+process['pid'],{'timestamp':new Date()[_0x3b7ad1(0x122)](),'message':_0x38d64d[_0x3b7ad1(0x1c3)](_0x3717e2['GfHvo']),'kind':_0x3717e2[_0x3b7ad1(0x1c8)]}),_0x3717e2[_0x3b7ad1(0x102)](_0x51406b);}_0x3717e2[_0x3b7ad1(0x154)](_0x3ec4c8,new Error(_0x3717e2[_0x3b7ad1(0x156)]));})[_0xafdc3(0x164)](()=>null);});});},patchWebDriverBefore=_0x1a8dbe=>{const _0x23bc51=a1_0x134bfd,_0x2777ab={'GMmaO':function(_0x574cff){return _0x574cff();},'NvWJF':function(_0x6ea866,_0x5a5933){return _0x6ea866(_0x5a5933);},'UIPue':function(_0x77ead3,_0x42cb29){return _0x77ead3===_0x42cb29;},'hkggY':_0x23bc51(0x163)},_0x28237e=async function(_0x1f7180,_0x5b2f4f){const _0x3b008e=_0x23bc51;return _0x2777ab[_0x3b008e(0x17b)](isAccessibilityAutomationSession)&&!global[_0x3b008e(0x1af)]&&global[_0x3b008e(0x1d7)]&&scripts['shouldWrapCommand'](_0x1f7180[_0x3b008e(0x1a5)])&&_0x2777ab[_0x3b008e(0x185)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x3b008e(0x148)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2417e1=_0x3b008e;logger[_0x2417e1(0x107)](_0x2417e1(0x103)+_0x1f7180[_0x2417e1(0x15e)]+'\x20'+_0x1f7180[_0x2417e1(0x1a5)]),await AccessibilityHelper[_0x2417e1(0x1bb)](_0x1a8dbe,scripts[_0x2417e1(0x187)]);},{'command':_0x1f7180['name']})()),global[_0x3b008e(0x1af)]=![],_0x5b2f4f[_0x3b008e(0x1b7)](this,Array['prototype'][_0x3b008e(0x14d)][_0x3b008e(0x1ae)](arguments,0x2));},_0x5ef602=CodeceptWebDriver[_0x23bc51(0x1a9)]['_before'];CodeceptWebDriver[_0x23bc51(0x1a9)][_0x23bc51(0x131)]=async function(){const _0x4e01bc=_0x23bc51;try{await _0x5ef602[_0x4e01bc(0x1b7)](this,arguments);}catch(_0x33eeff){logger[_0x4e01bc(0x107)](_0x4e01bc(0x193)+util['format'](_0x33eeff));}scripts[_0x4e01bc(0x186)][_0x4e01bc(0x118)](_0x167c6c=>_0x167c6c[_0x4e01bc(0x1a5)]&&_0x167c6c[_0x4e01bc(0x15e)])['forEach'](_0x253fa0=>{const _0x3afa5c=_0x4e01bc;this['browser'][_0x3afa5c(0x169)](_0x253fa0[_0x3afa5c(0x1a5)],_0x28237e['bind'](this,_0x253fa0),_0x2777ab[_0x3afa5c(0x14e)](_0x253fa0[_0x3afa5c(0x15e)],_0x2777ab[_0x3afa5c(0x17e)]));}),_0x2777ab[_0x4e01bc(0x185)](processWebDriverConfig,_0x1a8dbe);};},patchPlaywrightBefore=()=>{const _0x540097=a1_0x134bfd;PlaywrightSessionDetails[_0x540097(0x1c4)]();const _0x30b9af=CodeceptPlaywright[_0x540097(0x1a9)][_0x540097(0x131)];CodeceptPlaywright[_0x540097(0x1a9)][_0x540097(0x131)]=async function(){const _0x2e6f1f=_0x540097;this[_0x2e6f1f(0x1da)]=await this['browser'][_0x2e6f1f(0x190)]()[0x0],await _0x30b9af[_0x2e6f1f(0x1b7)](this,arguments);};},getCodeceptDriver=()=>{const _0x439122=a1_0x134bfd,_0x43c9ac={};_0x43c9ac['hCGLZ']='WebDriver',_0x43c9ac[_0x439122(0x1b5)]=_0x439122(0x18b),_0x43c9ac[_0x439122(0x165)]=_0x439122(0x1bd),_0x43c9ac[_0x439122(0x14c)]=_0x439122(0x150);const _0x3196b7=_0x43c9ac,_0x4fd1d7=[_0x3196b7[_0x439122(0x19f)],_0x3196b7[_0x439122(0x1b5)],_0x3196b7[_0x439122(0x165)],_0x3196b7[_0x439122(0x14c)]],_0x43f221=_0x4fd1d7[_0x439122(0x17c)](_0x5e3ffc=>!!CodeceptJS[_0x439122(0x10a)]['helpers'](_0x5e3ffc));if(!_0x43f221)return null;return CodeceptJS[_0x439122(0x10a)][_0x439122(0x133)](_0x43f221);};module[a1_0x134bfd(0x198)]=function(_0x321708){const _0x42524b=a1_0x134bfd,_0x512b63={'AgPHr':function(_0xc680d){return _0xc680d();},'pzhsu':function(_0x2376ae,_0x17d028){return _0x2376ae(_0x17d028);},'GkXmx':_0x42524b(0x10f),'CNGVF':_0x42524b(0x147),'JpELn':_0x42524b(0x153),'fXAly':_0x42524b(0x1ad),'aNNNh':function(_0x45a21b,_0x1498df){return _0x45a21b(_0x1498df);},'BpmTN':_0x42524b(0x184),'XeIau':_0x42524b(0x1b3),'grFtZ':_0x42524b(0x19e),'hEdEc':_0x42524b(0x10e),'fCybs':function(_0x13b9a1){return _0x13b9a1();},'ovIGC':_0x42524b(0x115),'HvoTx':function(_0x23a0fb){return _0x23a0fb();},'flQmf':function(_0x30849a,_0x29930f,_0x5dc8c7){return _0x30849a(_0x29930f,_0x5dc8c7);},'iKDTK':_0x42524b(0x181),'UvmaN':_0x42524b(0x155),'KScxV':function(_0x3eb2a3,_0x40a9f7,_0x1eb659,_0x42f26d){return _0x3eb2a3(_0x40a9f7,_0x1eb659,_0x42f26d);},'uQEaw':function(_0x200144,_0x4d5258,_0x52f49b,_0x498cb3){return _0x200144(_0x4d5258,_0x52f49b,_0x498cb3);},'qntYN':function(_0x571115,_0x502ab4){return _0x571115===_0x502ab4;},'aOTCF':_0x42524b(0x10d),'fEIYm':_0x42524b(0x1c1),'hkAng':_0x42524b(0x177),'PsrVc':'afterTest','kABsR':function(_0x4dfb01){return _0x4dfb01();},'xWAln':_0x42524b(0x120),'mOvou':'test-after','aiDzo':_0x42524b(0x16c),'opNUL':_0x42524b(0x1a6),'Wpole':_0x42524b(0x1b6),'ylmoS':'bddStep-before','Tmbmg':_0x42524b(0x196),'BtAWW':_0x42524b(0x18b)};_0x321708[_0x42524b(0x170)]&&(global[_0x42524b(0x113)]=_0x321708[_0x42524b(0x170)]);PerformanceTester[_0x42524b(0x1d1)]();const _0x5f43b9=_0x512b63[_0x42524b(0x125)](getCodeceptDriver),_0x5bfc54=new O11yHelper(_0x5f43b9,_0x321708),_0xa9719d=!!CodeceptJS[_0x42524b(0x10a)][_0x42524b(0x133)](_0x512b63[_0x42524b(0x13a)]);global['__driver']=_0x5f43b9,_0x5f43b9&&(PerformanceTester[_0x42524b(0x148)](PerformanceEvents[_0x42524b(0x11b)],()=>{const _0x45a336=_0x42524b;_0xa9719d?_0x512b63['AgPHr'](patchPlaywrightBefore):_0x512b63[_0x45a336(0x15a)](patchWebDriverBefore,_0x5f43b9);})(),PerformanceTester[_0x42524b(0x148)](PerformanceEvents[_0x42524b(0x1ba)],()=>{const _0x2ef83a=_0x42524b;_0x5f43b9[_0x2ef83a(0x10f)]=async()=>{const _0xd80cb0=_0x2ef83a;if(global['accessibilityPlatform']){const _0x4c4fcf={};return _0x4c4fcf[_0xd80cb0(0x191)]=_0x512b63['GkXmx'],await PerformanceTester[_0xd80cb0(0x148)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4e278d=_0xd80cb0;return await AccessibilityHelper['browserStackExecuteDriver'](_0x5f43b9,scripts[_0x4e278d(0x187)]);},_0x4c4fcf)(),await PerformanceTester[_0xd80cb0(0x148)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x51e313=_0xd80cb0;return await AccessibilityHelper[_0x51e313(0x1bb)](_0x5f43b9,scripts[_0x51e313(0x116)]);})();}return logger[_0xd80cb0(0x188)](_0x512b63[_0xd80cb0(0x1a8)]),{};},_0x5f43b9[_0x2ef83a(0x153)]=async()=>{const _0x12b1c9=_0x2ef83a;if(global[_0x12b1c9(0x1d7)]){const _0x5343e6={};return _0x5343e6['command']=_0x512b63[_0x12b1c9(0x16d)],await PerformanceTester[_0x12b1c9(0x148)](PerformanceA11yEvents[_0x12b1c9(0x1b8)],async()=>{const _0x599f49=_0x12b1c9;return await AccessibilityHelper[_0x599f49(0x1bb)](_0x5f43b9,scripts[_0x599f49(0x187)]);},_0x5343e6)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x12b1c9(0x105)],async()=>{const _0x549af0=_0x12b1c9;return await AccessibilityHelper[_0x549af0(0x1bb)](_0x5f43b9,scripts[_0x549af0(0x1ce)]);})();}return logger[_0x12b1c9(0x188)](_0x512b63[_0x12b1c9(0x112)]),{};},_0x512b63['aNNNh'](patchSaveScreenshot,_0x5f43b9);})()),CodeceptJS['event'][_0x42524b(0x1a3)]['on'](CodeceptJS['event'][_0x42524b(0x174)][_0x42524b(0x126)],()=>{const _0x480d0c=_0x42524b;PerformanceTester[_0x480d0c(0x1d0)](PerformanceEvents[_0x480d0c(0x121)]);try{_0x5bfc54[_0x480d0c(0x1d0)](),testOpsHelper[_0x480d0c(0x167)](),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x38b7d0){PerformanceTester[_0x480d0c(0x18e)](_0x38b7d0),PerformanceTester[_0x480d0c(0x166)](PerformanceEvents[_0x480d0c(0x121)],![],_0x38b7d0);}}),CodeceptJS['event'][_0x42524b(0x1a3)]['on'](CodeceptJS['event'][_0x42524b(0x174)]['after'],async()=>{const _0x42c4b3=_0x42524b;PerformanceTester[_0x42c4b3(0x1d0)](PerformanceEvents[_0x42c4b3(0x134)]);try{requestSpy[_0x42c4b3(0x161)](),await _0x5bfc54[_0x42c4b3(0x17f)](),PerformanceTester[_0x42c4b3(0x166)](PerformanceEvents[_0x42c4b3(0x134)]);}catch(_0x330a75){PerformanceTester[_0x42c4b3(0x18e)](_0x330a75),PerformanceTester[_0x42c4b3(0x166)](PerformanceEvents[_0x42c4b3(0x134)],![],_0x330a75);}finally{PerformanceTester[_0x42c4b3(0x1b9)]();}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x42524b(0x183)][_0x42524b(0x18f)]['started'],_0x9e5e22=>{const _0x35ddda=_0x42524b;PerformanceTester['start'](PerformanceEvents[_0x35ddda(0x13c)]);try{const _0x4a7a1e=_0x9e5e22['ctx'][_0x35ddda(0x146)],_0x4ba00a=_0x5bfc54[_0x35ddda(0x1d5)](TEST_EVENTS[_0x35ddda(0x1c2)],_0x4a7a1e);CodeceptRecorder[_0x35ddda(0x194)](()=>_0x5bfc54[_0x35ddda(0x160)](TEST_EVENTS[_0x35ddda(0x1c2)],_0x4ba00a));const _0x42b3f7={};_0x42b3f7[_0x35ddda(0x12f)]=_0x512b63[_0x35ddda(0x16b)],PerformanceTester[_0x35ddda(0x166)](PerformanceEvents['SDK_HOOK'],!![],null,_0x42b3f7);}catch(_0x43a6f9){const _0xb605f0={};_0xb605f0[_0x35ddda(0x12f)]=_0x512b63[_0x35ddda(0x16b)],PerformanceTester[_0x35ddda(0x166)](PerformanceEvents[_0x35ddda(0x13c)],![],_0x43a6f9,_0xb605f0),PerformanceTester[_0x35ddda(0x18e)](_0x43a6f9);}}),CodeceptJS[_0x42524b(0x183)]['dispatcher']['on'](CodeceptJS[_0x42524b(0x183)][_0x42524b(0x18f)][_0x42524b(0x1aa)],_0x581342=>{const _0x2479fa=_0x42524b,_0x1e11f3={};_0x1e11f3['hookType']=_0x512b63['XeIau'],PerformanceTester['start'](PerformanceHookEvents[_0x2479fa(0x13c)],!![],null,_0x1e11f3);try{const _0x3169cd=_0x581342[_0x2479fa(0x158)]['test'],_0x107086=_0x5bfc54['captureEvent'](TEST_EVENTS[_0x2479fa(0x19d)],_0x3169cd);CodeceptRecorder[_0x2479fa(0x194)](()=>_0x5bfc54['fireEvent'](TEST_EVENTS[_0x2479fa(0x19d)],_0x107086));const _0xcfb055={};_0xcfb055[_0x2479fa(0x12f)]=_0x512b63['XeIau'],PerformanceTester[_0x2479fa(0x166)](PerformanceHookEvents[_0x2479fa(0x13c)],!![],null,_0xcfb055);}catch(_0x407f4b){PerformanceTester['captureError'](_0x407f4b);const _0x51c774={};_0x51c774['hookType']=_0x512b63[_0x2479fa(0x1ac)],PerformanceTester[_0x2479fa(0x166)](PerformanceHookEvents['SDK_HOOK'],![],_0x407f4b,_0x51c774);}}),CodeceptJS[_0x42524b(0x183)][_0x42524b(0x1a3)]['on'](CodeceptJS[_0x42524b(0x183)][_0x42524b(0x18f)][_0x42524b(0x114)],async(_0x2259da,_0x58bc92)=>{const _0x19c3c3=_0x42524b;PerformanceTester[_0x19c3c3(0x1d0)](PerformanceHookEvents['SDK_HOOK']);try{const _0x28e428=_0x2259da[_0x19c3c3(0x158)][_0x19c3c3(0x146)],_0x52b6bb=_0x5bfc54['captureEvent'](TEST_EVENTS[_0x19c3c3(0x19d)],_0x28e428,_0x58bc92);CodeceptRecorder[_0x19c3c3(0x194)](()=>_0x5bfc54['fireEvent'](TEST_EVENTS[_0x19c3c3(0x19d)],_0x52b6bb));const _0x453a6a={};_0x453a6a[_0x19c3c3(0x12f)]=_0x512b63[_0x19c3c3(0x130)],PerformanceTester['start'](PerformanceHookEvents[_0x19c3c3(0x13c)],!![],null,_0x453a6a);}catch(_0x7893a1){PerformanceTester['captureError'](_0x7893a1);const _0x1dc29a={};_0x1dc29a[_0x19c3c3(0x12f)]=_0x512b63[_0x19c3c3(0x130)],PerformanceTester[_0x19c3c3(0x166)](PerformanceHookEvents[_0x19c3c3(0x13c)],![],_0x7893a1,_0x1dc29a);}const _0x5719ae={};_0x5719ae[_0x19c3c3(0x12f)]=_0x512b63[_0x19c3c3(0x130)],PerformanceTester[_0x19c3c3(0x166)](PerformanceHookEvents[_0x19c3c3(0x13c)],!![],null,_0x5719ae);}),CodeceptJS[_0x42524b(0x183)][_0x42524b(0x1a3)]['on'](CodeceptJS[_0x42524b(0x183)][_0x42524b(0x146)]['before'],_0x58576e=>{const _0x40163b=_0x42524b;PerformanceTester[_0x40163b(0x1d0)](PerformanceHookEvents[_0x40163b(0x13c)]);try{globals[_0x40163b(0x15f)](_0x512b63['hEdEc'],_0x58576e['title']);_0x512b63[_0x40163b(0x125)](isBrowserstackInfra)&&(_0xa9719d&&(global[_0x40163b(0x1cd)]={'currentTest':{'name':_0x58576e[_0x40163b(0x172)],'testInfo':{'titlePath':_0x58576e['titlePath']()}}}));const _0x34f6c7={};_0x34f6c7[_0x40163b(0x12f)]=_0x512b63[_0x40163b(0x1a7)],PerformanceTester['end'](PerformanceHookEvents[_0x40163b(0x13c)],!![],null,_0x34f6c7);}catch(_0x13a74d){PerformanceTester[_0x40163b(0x18e)](_0x13a74d);const _0x20c0b6={};_0x20c0b6[_0x40163b(0x12f)]=_0x512b63['ovIGC'],PerformanceTester[_0x40163b(0x166)](PerformanceHookEvents[_0x40163b(0x13c)],![],_0x13a74d,_0x20c0b6);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x42524b(0x183)][_0x42524b(0x146)][_0x42524b(0x149)],_0x5b39a2=>{const _0x3b22f5=_0x42524b;PerformanceTester[_0x3b22f5(0x1d0)](PerformanceHookEvents[_0x3b22f5(0x13c)]);try{globals[_0x3b22f5(0x15f)](_0x512b63[_0x3b22f5(0x175)],_0x5b39a2['title']);const _0x585ec7=_0x5bfc54[_0x3b22f5(0x1d5)](TEST_EVENTS[_0x3b22f5(0x1db)],_0x5b39a2);CodeceptRecorder[_0x3b22f5(0x194)](()=>_0x5bfc54[_0x3b22f5(0x160)](TEST_EVENTS[_0x3b22f5(0x1db)],_0x585ec7)),CodeceptRecorder[_0x3b22f5(0x194)](async()=>{const _0x563ab7=_0x3b22f5;_0x512b63[_0x563ab7(0x100)](isBrowserstackInfra)&&(!_0x512b63[_0x563ab7(0x19a)](isTrue,_0x321708[_0x563ab7(0x11d)])&&await _0x512b63[_0x563ab7(0x104)](markSessionName,_0x5f43b9,_0x5b39a2[_0x563ab7(0x172)]),_0x5bfc54['enabled']&&await _0x512b63['pzhsu'](o11ySync,_0x5f43b9));});}catch(_0x5c308c){const _0x477ce0={};_0x477ce0[_0x3b22f5(0x12f)]=_0x512b63[_0x3b22f5(0x17a)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x5c308c,_0x477ce0),PerformanceTester[_0x3b22f5(0x18e)](_0x5c308c);}const _0x2d953e={};_0x2d953e[_0x3b22f5(0x12f)]=_0x512b63[_0x3b22f5(0x17a)],PerformanceTester[_0x3b22f5(0x166)](PerformanceHookEvents[_0x3b22f5(0x13c)],!![],null,_0x2d953e);}),CodeceptJS[_0x42524b(0x183)][_0x42524b(0x1a3)]['on'](CodeceptJS['event'][_0x42524b(0x146)][_0x42524b(0x1aa)],_0x1d9f70=>{const _0x45be7f=_0x42524b,_0x13d390={'MFNBI':function(_0x173148,_0x145bfd,_0xfd4889){const _0x146c7f=a1_0x28c0;return _0x512b63[_0x146c7f(0x104)](_0x173148,_0x145bfd,_0xfd4889);},'RHGlc':function(_0x2d96a6){return _0x512b63['fCybs'](_0x2d96a6);}};PerformanceTester[_0x45be7f(0x1d0)](PerformanceHookEvents['SDK_HOOK']);try{const _0x510fbb=_0x5bfc54[_0x45be7f(0x1d5)](TEST_EVENTS[_0x45be7f(0x136)],_0x1d9f70);CodeceptRecorder[_0x45be7f(0x194)](()=>_0x5bfc54[_0x45be7f(0x160)](TEST_EVENTS[_0x45be7f(0x136)],_0x510fbb)),CodeceptRecorder[_0x45be7f(0x194)](async()=>{const _0x32a229=_0x45be7f;_0x13d390[_0x32a229(0x119)](isBrowserstackInfra)&&await PerformanceTester[_0x32a229(0x148)](PerformanceAutEvents[_0x32a229(0x12a)],async()=>{const _0x3f81c5=_0x32a229;_0xa9719d?await _0x13d390[_0x3f81c5(0x11f)](playwrightMarkSessionStatus,_0x5f43b9,STATE_PASSED):await _0x13d390['MFNBI'](markSessionStatus,_0x5f43b9,STATE_PASSED);})();}),PerformanceTester[_0x45be7f(0x166)](PerformanceEvents[_0x45be7f(0x1cf)]);}catch(_0x45f179){PerformanceTester[_0x45be7f(0x18e)](_0x45f179);const _0x3bc74e={};_0x3bc74e['hookType']=_0x512b63[_0x45be7f(0x19b)],PerformanceTester['end'](PerformanceHookEvents[_0x45be7f(0x13c)],![],_0x45f179,_0x3bc74e),PerformanceTester['end'](PerformanceEvents[_0x45be7f(0x1cf)],![],_0x45f179);}const _0x547d18={};_0x547d18[_0x45be7f(0x12f)]=_0x512b63[_0x45be7f(0x19b)],PerformanceTester[_0x45be7f(0x166)](PerformanceHookEvents[_0x45be7f(0x13c)],!![],null,_0x547d18);}),CodeceptJS[_0x42524b(0x183)][_0x42524b(0x1a3)]['on'](CodeceptJS[_0x42524b(0x183)][_0x42524b(0x146)][_0x42524b(0x114)],(_0x21fd4b,_0x3566ca)=>{const _0x3bca0b=_0x42524b;PerformanceTester[_0x3bca0b(0x1d0)](PerformanceHookEvents[_0x3bca0b(0x13c)]);try{if(_0x512b63[_0x3bca0b(0x1a2)](_0x21fd4b[_0x3bca0b(0x1b0)]['name'],_0x512b63[_0x3bca0b(0x109)])){const _0x9b136e=_0x5bfc54[_0x3bca0b(0x1d5)](TEST_EVENTS[_0x3bca0b(0x10b)],_0x21fd4b[_0x3bca0b(0x158)][_0x3bca0b(0x117)]);CodeceptRecorder['add'](()=>_0x5bfc54[_0x3bca0b(0x160)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x9b136e));}else{const _0x5e053d=_0x5bfc54['captureEvent'](TEST_EVENTS[_0x3bca0b(0x136)],_0x21fd4b,_0x3566ca);CodeceptRecorder['add'](()=>{const _0x27a0b8=_0x3bca0b;try{_0x5bfc54[_0x27a0b8(0x160)](TEST_EVENTS[_0x27a0b8(0x136)],_0x5e053d);}catch(_0x473606){logger[_0x27a0b8(0x107)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x27a0b8(0x197)](_0x473606)),PerformanceTester[_0x27a0b8(0x166)](PerformanceEvents[_0x27a0b8(0x1cf)],![],_0x473606);}}),CodeceptRecorder[_0x3bca0b(0x194)](async()=>{const _0x5e9a6d=_0x3bca0b;try{_0x512b63[_0x5e9a6d(0x125)](isBrowserstackInfra)&&(_0xa9719d?await _0x512b63[_0x5e9a6d(0x1cb)](playwrightMarkSessionStatus,_0x5f43b9,STATE_FAILED,_0x3566ca):await _0x512b63[_0x5e9a6d(0x151)](markSessionStatus,_0x5f43b9,STATE_FAILED,_0x3566ca));}catch(_0x250402){logger[_0x5e9a6d(0x107)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util['format'](_0x250402)),PerformanceTester[_0x5e9a6d(0x166)](PerformanceEvents[_0x5e9a6d(0x1cf)],![],_0x250402);}});}PerformanceTester[_0x3bca0b(0x166)](PerformanceEvents[_0x3bca0b(0x1cf)]);}catch(_0x10b29f){PerformanceTester[_0x3bca0b(0x18e)](_0x10b29f);const _0x39e458={};_0x39e458[_0x3bca0b(0x12f)]=_0x512b63[_0x3bca0b(0x108)],PerformanceTester[_0x3bca0b(0x166)](PerformanceHookEvents[_0x3bca0b(0x13c)],![],_0x10b29f,_0x39e458),PerformanceTester[_0x3bca0b(0x166)](PerformanceEvents[_0x3bca0b(0x1cf)],![],_0x10b29f);}const _0x508a28={};_0x508a28[_0x3bca0b(0x12f)]=_0x512b63[_0x3bca0b(0x108)],PerformanceTester[_0x3bca0b(0x166)](PerformanceHookEvents[_0x3bca0b(0x13c)],!![],null,_0x508a28);}),CodeceptJS[_0x42524b(0x183)][_0x42524b(0x1a3)]['on'](CodeceptJS[_0x42524b(0x183)][_0x42524b(0x146)]['skipped'],_0x28d006=>{const _0x1885d5=_0x42524b;PerformanceTester[_0x1885d5(0x1d0)](PerformanceHookEvents['SDK_HOOK']);try{const _0xf4a6b0=_0x5bfc54[_0x1885d5(0x1d5)](TEST_EVENTS[_0x1885d5(0x10b)],_0x28d006);CodeceptRecorder['add'](()=>_0x5bfc54[_0x1885d5(0x160)](TEST_EVENTS[_0x1885d5(0x10b)],_0xf4a6b0)),PerformanceTester[_0x1885d5(0x166)](PerformanceEvents[_0x1885d5(0x1cf)]);}catch(_0x4c8da4){PerformanceTester[_0x1885d5(0x18e)](_0x4c8da4),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x4c8da4);const _0x5bef9c={};_0x5bef9c[_0x1885d5(0x12f)]=_0x512b63['hkAng'],PerformanceTester['end'](PerformanceHookEvents[_0x1885d5(0x13c)],![],_0x4c8da4,_0x5bef9c);}const _0x278b41={};_0x278b41[_0x1885d5(0x12f)]=_0x512b63[_0x1885d5(0x1bc)],PerformanceTester[_0x1885d5(0x166)](PerformanceHookEvents[_0x1885d5(0x13c)],!![],null,_0x278b41);}),CodeceptJS[_0x42524b(0x183)]['dispatcher']['on'](CodeceptJS[_0x42524b(0x183)][_0x42524b(0x146)][_0x42524b(0x13f)],async(_0xc9940c,_0x2b1f1d)=>{const _0x4b0dec=_0x42524b;try{PerformanceTester[_0x4b0dec(0x1d0)](PerformanceHookEvents['SDK_HOOK']);const _0x981f1e=_0x512b63['flQmf'](shouldScanTestForAccessibility,_0xc9940c['titlePath'](),!![]);if(_0x512b63['kABsR'](isAccessibilityAutomationSession)&&global[_0x4b0dec(0x1d7)]&&_0x981f1e){const _0x3308f9={};_0x3308f9[_0x4b0dec(0x195)]=_0xc9940c[_0x4b0dec(0x14a)],_0x3308f9['thBuildUuid']=process[_0x4b0dec(0x137)][testHubConstants[_0x4b0dec(0x101)][_0x4b0dec(0x11a)]],_0x3308f9[_0x4b0dec(0x145)]=process[_0x4b0dec(0x137)][testHubConstants[_0x4b0dec(0x101)][_0x4b0dec(0x192)]];const _0x4075a1=_0x3308f9;logger[_0x4b0dec(0x107)](_0x4b0dec(0x141)+JSON[_0x4b0dec(0x199)](_0x4075a1)),CodeceptRecorder[_0x4b0dec(0x194)](async()=>{const _0x4143bb=_0x4b0dec,_0x50081b={};_0x50081b['command']=_0x512b63[_0x4143bb(0x16f)],await PerformanceTester[_0x4143bb(0x148)](PerformanceA11yEvents[_0x4143bb(0x1b8)],async()=>{const _0x5c6987=_0x4143bb;await AccessibilityHelper[_0x5c6987(0x1bb)](_0x5f43b9,scripts['performScan']);},_0x50081b)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x138a6b=_0x4143bb;await AccessibilityHelper['browserStackExecuteDriver'](_0x5f43b9,scripts[_0x138a6b(0x11c)],_0x4075a1);})();}),logger[_0x4b0dec(0x1b4)](_0x512b63['xWAln']);}const _0x376004={};_0x376004[_0x4b0dec(0x12f)]=_0x512b63[_0x4b0dec(0x159)],PerformanceTester[_0x4b0dec(0x166)](PerformanceHookEvents[_0x4b0dec(0x13c)],!![],null,_0x376004);}catch(_0x2e8b7e){PerformanceTester[_0x4b0dec(0x18e)](_0x2e8b7e);const _0x39cad1={};_0x39cad1[_0x4b0dec(0x12f)]=_0x512b63[_0x4b0dec(0x159)],PerformanceTester['end'](PerformanceHookEvents[_0x4b0dec(0x13c)],![],_0x2e8b7e,_0x39cad1);}}),CodeceptJS[_0x42524b(0x183)]['dispatcher']['on'](CodeceptJS[_0x42524b(0x183)][_0x42524b(0x14f)]['comment'],_0x1128f9=>{const _0x19d04e=_0x42524b;PerformanceTester[_0x19d04e(0x1d0)](PerformanceHookEvents[_0x19d04e(0x13c)]);try{process[_0x19d04e(0x12d)]('bs:addLog:'+process[_0x19d04e(0x128)],{'timestamp':new Date()['toISOString'](),'level':_0x512b63[_0x19d04e(0x179)],'message':_0x1128f9,'kind':_0x512b63[_0x19d04e(0x1d9)],'http_response':{}});}catch(_0x42a7d2){PerformanceTester[_0x19d04e(0x18e)](_0x42a7d2);const _0x205a0d={};_0x205a0d[_0x19d04e(0x12f)]=_0x512b63[_0x19d04e(0x14b)],PerformanceTester[_0x19d04e(0x166)](PerformanceHookEvents[_0x19d04e(0x13c)],![],_0x42a7d2,_0x205a0d);}const _0x504118={};_0x504118['hookType']=_0x512b63[_0x19d04e(0x14b)],PerformanceTester['end'](PerformanceHookEvents[_0x19d04e(0x13c)],!![],null,_0x504118);}),CodeceptJS[_0x42524b(0x183)][_0x42524b(0x1a3)]['on'](CodeceptJS[_0x42524b(0x183)]['bddStep'][_0x42524b(0x126)],_0x205b58=>{const _0x1368c2=_0x42524b,_0x4bb399={};_0x4bb399[_0x1368c2(0x12f)]=_0x512b63[_0x1368c2(0x1b1)],PerformanceTester[_0x1368c2(0x148)](PerformanceHookEvents[_0x1368c2(0x13c)],()=>{const _0x4965c5=_0x1368c2;_0x5bfc54[_0x4965c5(0x176)](_0x205b58);},_0x4bb399)();}),CodeceptJS[_0x42524b(0x183)][_0x42524b(0x1a3)]['on'](CodeceptJS[_0x42524b(0x183)]['bddStep'][_0x42524b(0x13f)],_0x4bf11f=>{const _0x365285=_0x42524b,_0x595382={};_0x595382[_0x365285(0x12f)]=_0x512b63[_0x365285(0x106)],PerformanceTester[_0x365285(0x148)](PerformanceHookEvents[_0x365285(0x13c)],()=>{const _0x409142=_0x365285;_0x5bfc54[_0x409142(0x182)](_0x4bf11f);},_0x595382)();});};function a1_0x28c0(_0xaeb86e,_0x18f318){const _0x244dc8=a1_0x244d();return a1_0x28c0=function(_0x28c029,_0x2c0249){_0x28c029=_0x28c029-0x100;let _0x3bf2c4=_0x244dc8[_0x28c029];return _0x3bf2c4;},a1_0x28c0(_0xaeb86e,_0x18f318);}function a1_0x244d(){const _0xf2826e=['fCybs','before','reason','pid','../../helpers/globals.js','SESSION_STATUS','getSyncScript','../../helpers/test-observability/utils','emit','gllVx','hookType','grFtZ','_before','executeScript','helpers','SDK_POST_TEST','arguments','TEST_RUN_FINISHED','env','setSessionName','8hDuOvK','BtAWW','codeceptjs/lib/helper/Playwright.js','SDK_HOOK','11kXGDBa','browserstack_executor:\x20','after','winstonLogger','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','itQla','SYNC','eOtpq','thJwtToken','test','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','measureWrapper','started','testAnalyticsId','Wpole','falFL','slice','UIPue','step','TestCafe','uQEaw','TEST_SCREENSHOT','getAccessibilityResults','luiZf','test-passed','iDWmr','readFileSync','ctx','mOvou','pzhsu','../../helpers/helper','946949KUkOJL','../../helpers/performance/performance-tester','class','setGlobal','fireEvent','restore','base64','Element','catch','sZxTm','end','addRequestSpy','3904444YRLrdO','overwriteCommand','BS_TESTOPS_ALLOW_SCREENSHOTS','BpmTN','INFO','JpELn','codeceptjs/lib/utils.js','PsrVc','skipSessionStatus','../../helpers/request-spy','title','mGhVn','all','hEdEc','bddStepStart','test-skipped','../../helpers/accessibility-automation/helper','aiDzo','iKDTK','GMmaO','find','MVhwe','hkggY','stop','6ZnkjWt','test-started','bddStepFinish','event','hook-started','NvWJF','commandsToWrap','performScan','warn','Screenshot\x20path\x20not\x20found','../../helpers/logger','Playwright','62898pswRwU','codeceptjs','captureError','hook','contexts','command','BROWSERSTACK_TESTHUB_JWT','Failed\x20to\x20execute\x20_before:\x20','add','thTestRunUuid','bddStep-after','format','exports','stringify','aNNNh','UvmaN','codeceptjs/lib/index.js','HOOK_RUN_FINISHED','hook-failed','hCGLZ','peCaM','SESSION_NAME','qntYN','dispatcher','pJPUy','name','TEST_LOG','ovIGC','CNGVF','prototype','passed','1315450lOJsON','XeIau','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','call','bstackAllyScanning','constructor','ylmoS','patchSaveScreenshot','hook-passed','info','KbOcx','step-comment','apply','PERFORM_SCAN','stopMonitoring','SDK_POST_INITIALIZE','browserStackExecuteDriver','hkAng','Puppeteer','9ZOzRmP','939935WMmRtM','zTOhl','test-failed','HOOK_RUN_STARTED','toString','patch','EbsfG','dqQCl','LeLSg','zNSQl','../../bin/playwright/accessibility-helper','screenshotOutputFolder','KScxV','bs:addLog:','__workerDetails','getResults','SDK_TEST','start','startMonitoring','../../helpers/accessibility-automation/scripts','33CbdyhA','pzRNC','captureEvent','setSessionStatus','accessibilityPlatform','saveScreenshot','opNUL','browserContext','TEST_RUN_STARTED','initSaveScreenshot','HvoTx','ENV_VAR','WnmXC','Performing\x20scan\x20for\x20','flQmf','GET_RESULTS','Tmbmg','debug','fEIYm','aOTCF','container','TEST_RUN_SKIPPED','../../helpers/testhub/constants.js','Suite','browserstackTestName','getAccessibilityResultsSummary','codeceptjs/lib/helper/WebDriver.js','5429767wZWVpC','fXAly','__skipSessionStatus','failed','test-before','getResultsSummary','currentTest','filter','RHGlc','BROWSERSTACK_TESTHUB_UUID','SDK_PRE_INITIALIZE','saveTestResults','skipSessionName','action','MFNBI','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SDK_PRE_TEST','toISOString','util','10294608ZromJc'];a1_0x244d=function(){return _0xf2826e;};return a1_0x244d();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a2_0x24dd(){const _0x2f8397=['qAWwk','addOptions','useW3C','3750PQroJO','addTests','playwright-firefox','split','push','err','process','stop','teardownAll','chrome','LfsNd','sNQRB','ecdaH','plugins','dirname','Lvbrm','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','BROWSERSTACK_RERUN_TESTS','1089064VDkTcq','user','skipSessionStatus','accessibility','passed','12254470nMeWZR','SDK_SETUP','PlVUB','codecept.json','require','skipSessionName','qEfMr','existsSync','parallelsPerPlatform','../../helpers/performance/performance-tester','stack','yYoEr','564965bOpOLC','mmKCP','testConfig','bQTci','handleApp','../../helpers/utilities','1220085OOkQAw','SeHwe','all','3997ClKSbA','playwright-chromium','../utils/constants','llAwO','errorMessage','before','host','event','validPlatformsPresent','484396MugeKW','browserName','key','ShKxv','FvTww','codeceptjs/lib/index.js','path','spawn','userName','start','browserWSEndpoint','mergeDeep','../../helpers/testhub/testhubHandler','FRAMEWORKS','--config','prepareCapabilities','../../helpers/test-observability/utils','forEach','title','hubUrl','trim','map','Passed\x20:\x20','desiredCapabilities','printResults','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','join','KxCDU','toLowerCase','exports','pvZxr','run','AttCa','keSSS','USER_CONFIG_DETAILS_PATH','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','../../helpers/helper','assign','length','CODECEPT','BrowserStackPlugin.js','PLmNt','CODECEPT_CUCUMBER','codeceptjs','testContextOptions','Failed\x20:\x20','firefox','DTfRR','NafLD','DqDtY','UZDnz','findIndex','info','isEmpty','2|4|1|5|0|3','Playwright','../../bin/playwright/accessibility-helper','27hfGBxG','helpers','replace','Started\x20:\x20','BrowserStackPlugin','debug','sesZl','BROWSERSTACK_RERUN','woqJT','cwd','isTestObservabilitySession','webkit','BROWSERSTACK_TEST_ACCESSIBILITY_YML','config','2815948pwWENU','isTrue','playwright-webkit','format','../../helpers/performance/constants','setAdditionalCapabilities','/wd/hub','winstonLogger','LWwuO','20yDiiRT','log','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','slice','BROWSERSTACK_TEST_OBSERVABILITY_YML','testObservability','frameworkName','failed','addConfig','gherkin','launchBuild','chdir','accessKey','browser','qZRac','enabled','accessibilityOptions','result','finalExecution','hZKBg','iZgSU','profile','KniDg','WebDriver','isUndefined','platforms','env','chromium','util','getUserWorkerCount'];a2_0x24dd=function(){return _0x2f8397;};return a2_0x24dd();}const a2_0x4c40fd=a2_0x5374;(function(_0x29921f,_0x4d05e0){const _0x594d6e=a2_0x5374,_0x42fdd7=_0x29921f();while(!![]){try{const _0x4322a1=-parseInt(_0x594d6e(0x150))/0x1+parseInt(_0x594d6e(0xf1))/0x2+parseInt(_0x594d6e(0x144))/0x3+parseInt(_0x594d6e(0xfa))/0x4*(parseInt(_0x594d6e(0x13e))/0x5)+parseInt(_0x594d6e(0x11b))/0x6*(-parseInt(_0x594d6e(0x147))/0x7)+parseInt(_0x594d6e(0x12d))/0x8*(parseInt(_0x594d6e(0xe3))/0x9)+-parseInt(_0x594d6e(0x132))/0xa;if(_0x4322a1===_0x4d05e0)break;else _0x42fdd7['push'](_0x42fdd7['shift']());}catch(_0x102fee){_0x42fdd7['push'](_0x42fdd7['shift']());}}}(a2_0x24dd,0xb01a3));function a2_0x5374(_0x27e844,_0xb33687){const _0x24dd06=a2_0x24dd();return a2_0x5374=function(_0x5374cb,_0x406f0b){_0x5374cb=_0x5374cb-0xbe;let _0x587b9d=_0x24dd06[_0x5374cb];return _0x587b9d;},a2_0x5374(_0x27e844,_0xb33687);}const fs=require('fs'),path=require(a2_0x4c40fd(0x156)),util=require(a2_0x4c40fd(0x116)),process=require(a2_0x4c40fd(0x121)),logger=require('../../helpers/logger')[a2_0x4c40fd(0xf8)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a2_0x4c40fd(0x143)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x4c40fd(0xe2)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x4c40fd(0xce)),CodeceptJS=requireModule(a2_0x4c40fd(0x155),a2_0x4c40fd(0xd5)),testOpsHelper=require(a2_0x4c40fd(0x160)),TestHubHandler=require(a2_0x4c40fd(0x15c)),constants=require(a2_0x4c40fd(0x149)),PerformanceTester=require(a2_0x4c40fd(0x13b)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require(a2_0x4c40fd(0xf5))['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x23fc96,_0xabd889)=>{const _0x3ef0a9=a2_0x4c40fd,_0x1fa2b2={};_0x1fa2b2[_0x3ef0a9(0xd3)]=function(_0x5d7a2d,_0x1ee315){return _0x5d7a2d===_0x1ee315;},_0x1fa2b2[_0x3ef0a9(0x125)]='codecept.conf.js',_0x1fa2b2[_0x3ef0a9(0xc8)]=_0x3ef0a9(0x135);const _0x889c1d=_0x1fa2b2;let _0x3ba494=null;const _0x39d838={};let _0x25ecde=_0xabd889[_0x3ef0a9(0xdd)](_0x5db6ff=>_0x5db6ff===_0x3ef0a9(0x15e));_0x889c1d[_0x3ef0a9(0xd3)](_0x25ecde,-0x1)&&(_0x25ecde=_0xabd889[_0x3ef0a9(0xdd)](_0x2a60a4=>_0x2a60a4==='-c'));if(!helper['isUndefined'](_0x23fc96[_0x3ef0a9(0xf0)])&&fs[_0x3ef0a9(0x139)](path[_0x3ef0a9(0xc4)](process[_0x3ef0a9(0xec)](),_0x23fc96[_0x3ef0a9(0xf0)])))_0x3ba494=path[_0x3ef0a9(0xc4)](process[_0x3ef0a9(0xec)](),_0x23fc96[_0x3ef0a9(0xf0)]),_0xabd889[_0x3ef0a9(0xfd)](_0x25ecde,0x2);else{if(!helper[_0x3ef0a9(0x112)](_0x23fc96['c'])&&fs['existsSync'](path[_0x3ef0a9(0xc4)](process[_0x3ef0a9(0xec)](),_0x23fc96['c'])))_0x3ba494=path[_0x3ef0a9(0xc4)](process[_0x3ef0a9(0xec)](),_0x23fc96['c']),_0xabd889[_0x3ef0a9(0xfd)](_0x25ecde,0x2);else{if(fs['existsSync'](path['join'](process[_0x3ef0a9(0xec)](),_0x889c1d['LfsNd'])))_0x3ba494=path['join'](process[_0x3ef0a9(0xec)](),_0x889c1d[_0x3ef0a9(0x125)]);else fs[_0x3ef0a9(0x139)](path['join'](process['cwd'](),_0x889c1d['pvZxr']))&&(_0x3ba494=path[_0x3ef0a9(0xc4)](process[_0x3ef0a9(0xec)](),_0x889c1d[_0x3ef0a9(0xc8)]));}}return process[_0x3ef0a9(0x114)][_0x3ef0a9(0xcc)]=_0x3ba494,_0x3ba494;},getO11yRerunPattern=()=>{const _0x3c4d08=a2_0x4c40fd,_0x3fd89b=helper[_0x3c4d08(0xf2)](process['env'][_0x3c4d08(0xea)]);if(_0x3fd89b){const _0x2057d6=process[_0x3c4d08(0x114)][_0x3c4d08(0x12c)],_0x4a44c6=[];if(helper['validateRerunTestList'](_0x2057d6)&&!helper[_0x3c4d08(0x112)](_0x2057d6)){_0x2057d6[_0x3c4d08(0x11e)](',')['map'](_0x9b828a=>{const _0xeca113=_0x3c4d08;_0x4a44c6[_0xeca113(0x11f)]('('+_0x9b828a[_0xeca113(0xbe)]()+')');});const _0xd9987c='^'+_0x4a44c6[_0x3c4d08(0xc4)]('|')+'$';return _0xd9987c;}}return null;},a2_0x86ead6={};a2_0x86ead6[a2_0x4c40fd(0x124)]='chromium',a2_0x86ead6[a2_0x4c40fd(0x148)]=a2_0x4c40fd(0x115),a2_0x86ead6[a2_0x4c40fd(0x11d)]=a2_0x4c40fd(0xd8),a2_0x86ead6[a2_0x4c40fd(0xf3)]=a2_0x4c40fd(0xee);const pwToCodeceptBrowser=a2_0x86ead6;async function run(_0x19faef,_0x261b66,_0x31d880){const _0x2253f3=a2_0x4c40fd,_0xa88825={'woqJT':function(_0x5a5b01,_0x314621){return _0x5a5b01+_0x314621;},'UZDnz':function(_0x6eac6c,_0x5170d){return _0x6eac6c(_0x5170d);},'aIEYE':function(_0x16c182,_0x163252){return _0x16c182+_0x163252;},'DqDtY':function(_0x319b77,_0x265a8f,_0x232435){return _0x319b77(_0x265a8f,_0x232435);},'DTfRR':_0x2253f3(0xe4),'KniDg':function(_0x49870c){return _0x49870c();},'hZKBg':_0x2253f3(0xf7),'JIpsN':_0x2253f3(0xd7),'NMXrx':_0x2253f3(0xc0),'llAwO':_0x2253f3(0xe6),'ShKxv':_0x2253f3(0xe0),'Lvbrm':function(_0x3bef70,_0x4a7401,_0x4db20b){return _0x3bef70(_0x4a7401,_0x4db20b);},'qEfMr':_0x2253f3(0x12b),'AttCa':_0x2253f3(0xe1),'mmKCP':_0x2253f3(0x111),'iZgSU':function(_0x4032a2,_0x2e5fe3){return _0x4032a2(_0x2e5fe3);},'KxCDU':function(_0x440074,_0x49a84a){return _0x440074!=_0x49a84a;},'LWwuO':function(_0x26b373,_0x4f441a){return _0x26b373===_0x4f441a;},'FvTww':_0x2253f3(0x103),'ecdaH':function(_0x9f0c5d,_0x2df2be){return _0x9f0c5d(_0x2df2be);},'keSSS':function(_0x53549b,_0x319cb6){return _0x53549b*_0x319cb6;},'yYoEr':function(_0x595d1a,_0x5bfe75,_0xe96c14){return _0x595d1a(_0x5bfe75,_0xe96c14);},'qZRac':'browser','bQTci':function(_0x3b43c9,_0x4e3412,_0x101c86){return _0x3b43c9(_0x4e3412,_0x101c86);},'NafLD':_0x2253f3(0xc1),'sNQRB':'root','qAWwk':_0x2253f3(0xd2),'sesZl':'browserStackCwd','PlVUB':function(_0x514bca){return _0x514bca();}};await _0x31d880['initialize'](_0x19faef),await helper[_0x2253f3(0x142)](_0x31d880[_0x2253f3(0xf0)]);if(!_0x31d880[_0x2253f3(0xf0)])return;process[_0x2253f3(0x10f)]=_0x19faef[_0x2253f3(0x10f)];_0x19faef[_0x2253f3(0x10f)]&&(process[_0x2253f3(0x114)][_0x2253f3(0x10f)]=_0x19faef[_0x2253f3(0x10f)]);const _0x51193b=_0xa88825[_0x2253f3(0x12a)](getUserCodeceptJSConfigs,_0x19faef,_0x261b66);let _0x4b00a0={};_0x51193b?(logger[_0x2253f3(0xde)](_0x2253f3(0xcd)+_0x51193b),_0x4b00a0=CodeceptJS[_0x2253f3(0xf0)]['load'](_0x51193b)):logger[_0x2253f3(0xde)](_0xa88825[_0x2253f3(0x138)]);let _0x67fd8b=![];_0xa88825['Lvbrm'](nestedKeyValue,_0x4b00a0,[_0xa88825['DTfRR'],_0xa88825['AttCa']])&&(_0x67fd8b=!![]);const _0x4bc61a=_0x67fd8b?_0xa88825[_0x2253f3(0xca)]:_0xa88825[_0x2253f3(0x13f)];let _0x30d899=!_0x67fd8b?helper[_0x2253f3(0x11a)](_0x31d880[_0x2253f3(0xf0)]):![];!helper[_0x2253f3(0x112)](_0x31d880[_0x2253f3(0xf0)]['accessibilityOptions'])&&(process[_0x2253f3(0x114)][_0x2253f3(0xc3)]=JSON['stringify'](_0x31d880[_0x2253f3(0xf0)][_0x2253f3(0x10a)]));let _0x195cc8=_0x31d880[_0x2253f3(0xf0)][_0x2253f3(0x130)];_0x195cc8=_0x195cc8||_0xa88825[_0x2253f3(0x10e)](checkAccessibilityPlatformConfig,_0x31d880[_0x2253f3(0xf0)]),process[_0x2253f3(0x114)][_0x2253f3(0xef)]=_0x195cc8;_0x195cc8&&(_0x30d899=!_0x195cc8);_0xa88825[_0x2253f3(0xc5)](_0x31d880[_0x2253f3(0xf0)][_0x2253f3(0xff)],null)?process[_0x2253f3(0x114)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x31d880['config'][_0x2253f3(0xff)]:process['env'][_0x2253f3(0xfe)]=_0xa88825[_0x2253f3(0xf9)](_0x4bc61a,_0xa88825['AttCa']);const _0x3578bf=_0xa88825[_0x2253f3(0x12a)](nestedKeyValue,_0x4b00a0,[_0xa88825[_0x2253f3(0x154)]]),_0x5995ef=_0x3578bf&&!helper[_0x2253f3(0xdf)](_0x3578bf)?FRAMEWORKS[_0x2253f3(0xd4)]:FRAMEWORKS[_0x2253f3(0xd1)],_0x40f62f=await TestHubHandler[_0x2253f3(0x104)](_0x5995ef,_0x31d880);_0x195cc8&&_0xa88825[_0x2253f3(0x127)](setAccessibilityCapabilities,_0x31d880[_0x2253f3(0xf0)]);const _0x2b2983={},_0x20c99a=[],_0x2e8fdb=_0x31d880['config'][_0x2253f3(0x13a)]||helper[_0x2253f3(0x117)](_0x19faef,_0x261b66,_0x31d880[_0x2253f3(0xf0)],constants[_0x2253f3(0x15d)][_0x2253f3(0xd1)])||0x1;let _0x2d0851=0x1;if(_0xa88825[_0x2253f3(0x110)](isBrowserstackInfra)){const _0xf767ed=helper[_0x2253f3(0x15f)](_0x31d880['config'],_0x30d899,constants['FRAMEWORKS'][_0x2253f3(0xd1)]);_0xf767ed[_0x2253f3(0x161)](_0x3832c7=>{const _0x4f757d=_0x2253f3;helper[_0x4f757d(0xf6)](_0x3832c7);}),helper[_0x2253f3(0x14f)](_0x31d880['config'])?_0x2d0851=_0xa88825[_0x2253f3(0xcb)](_0x2e8fdb,_0x31d880[_0x2253f3(0xf0)][_0x2253f3(0x113)][_0x2253f3(0xd0)]):_0x2d0851=_0x2e8fdb,_0xf767ed[_0x2253f3(0x161)](_0x521f6f=>{const _0x8994f1=_0x2253f3,_0x43370d={'SeHwe':function(_0x27153a,_0x118a0f){const _0xe09187=a2_0x5374;return _0xa88825[_0xe09187(0xeb)](_0x27153a,_0x118a0f);},'GpCAZ':function(_0x5cf806,_0x43847f){const _0xcf9592=a2_0x5374;return _0xa88825[_0xcf9592(0xdc)](_0x5cf806,_0x43847f);}},_0x10de3d=_0xa88825['aIEYE'](helper['getPlatformName'](_0x521f6f,'_'),'_'+Date['now']()),_0x2c369e=((()=>{const _0x449520=a2_0x5374;if(_0x67fd8b){const _0x3c711f=pwToCodeceptBrowser[_0x521f6f[_0x449520(0x151)]]||_0x521f6f[_0x449520(0x151)];return{'browser':_0x3c711f,[_0x3c711f]:{'browserWSEndpoint':_0x43370d[_0x449520(0x145)](helper['getPlaywrightUrl'](_0x31d880[_0x449520(0xf0)]),_0x43370d['GpCAZ'](encodeURIComponent,JSON['stringify'](_0x521f6f)))}};}const _0x280f87={};return _0x280f87[_0x449520(0xc1)]=_0x521f6f,_0x280f87[_0x449520(0x12e)]=_0x31d880[_0x449520(0xf0)][_0x449520(0x158)],_0x280f87[_0x449520(0x152)]=_0x31d880['config'][_0x449520(0x106)],_0x280f87;})()),_0x18578b=_0xa88825[_0x8994f1(0xdb)](nestedKeyValue,_0x4b00a0,[_0xa88825[_0x8994f1(0xd9)],_0x4bc61a]);_0x2b2983[_0x10de3d]=_0x18578b?helper['mergeDeep'](_0x2c369e,_0x18578b):_0x2c369e;if(!_0x67fd8b){_0x2b2983[_0x10de3d]['browser']=_0x521f6f[_0x8994f1(0x151)]||_0x2c369e[_0x8994f1(0x107)];if(_0xa88825[_0x8994f1(0x110)](isBrowserstackInfra)){_0x2b2983[_0x10de3d][_0x8994f1(0x14d)]=constants[_0x8994f1(0x163)][_0x8994f1(0xe5)](_0xa88825[_0x8994f1(0x10d)],'')[_0x8994f1(0xe5)](/https?:\/\//,'');;_0x2b2983[_0x10de3d][_0x8994f1(0x156)]=_0xa88825[_0x8994f1(0x10d)];}}_0x20c99a['push'](_0x10de3d);});}else{_0x2d0851=0x1;if(_0x67fd8b){const _0x22241d=_0xa88825[_0x2253f3(0x13d)](nestedKeyValue,_0x4b00a0,[_0xa88825['DTfRR'],_0x4bc61a,_0xa88825[_0x2253f3(0x108)]]),_0x45f36b=_0xa88825[_0x2253f3(0x141)](nestedKeyValue,_0x4b00a0,[_0xa88825['DTfRR'],_0x4bc61a,_0x22241d]);if(_0x45f36b&&_0x45f36b[_0x2253f3(0x15a)]){const _0x1906c0={};_0x1906c0[_0x2253f3(0x113)]=[],_0x45f36b[_0x2253f3(0x15a)]=helper[_0x2253f3(0x15f)](Object[_0x2253f3(0xcf)]({},_0x31d880[_0x2253f3(0xf0)],_0x1906c0),null,_0x5995ef[_0x2253f3(0xc6)](),null,null,_0x45f36b[_0x2253f3(0x15a)]);}}else{const _0x10169d={};_0x10169d[_0x2253f3(0x113)]=[],_0x4b00a0[_0xa88825['DTfRR']][_0x4bc61a][_0xa88825[_0x2253f3(0xda)]]=helper['prepareCapabilities'](Object[_0x2253f3(0xcf)]({},_0x31d880[_0x2253f3(0xf0)],_0x10169d),null,_0x5995ef[_0x2253f3(0xc6)](),_0xa88825['Lvbrm'](nestedKeyValue,_0x4b00a0,[_0xa88825[_0x2253f3(0xd9)],_0x4bc61a,_0xa88825[_0x2253f3(0xda)]])||{},null,null);}_0x2b2983[_0xa88825['sNQRB']]=_0x4b00a0,_0x20c99a[_0x2253f3(0x11f)](_0xa88825[_0x2253f3(0x126)]);}const _0x346b4b={};_0x346b4b[_0x2253f3(0x140)]=_0x51193b;const _0x27093c=_0x346b4b,_0x108447=path['join'](__dirname,_0xa88825[_0x2253f3(0x118)]),_0x584274=process[_0x2253f3(0xec)]();process[_0x2253f3(0x114)][_0xa88825[_0x2253f3(0xe9)]]=_0x584274,process[_0x2253f3(0x105)](path[_0x2253f3(0x129)](_0x51193b));const _0x413c2a=new CodeceptJS['Workers'](null,_0x27093c),_0x4c14ea=_0x413c2a['createGroupsOfSuites'](_0x2d0851),_0x35de41=testOpsHelper[_0x2253f3(0xed)](),_0x44ed0b=_0x20c99a[_0x2253f3(0xbf)](_0x716f62=>{const _0x224303=_0x2253f3,_0x689c76={};_0x689c76[_0x224303(0xe1)]=_0x2b2983[_0x716f62];const _0xafe93f={};_0xafe93f['WebDriver']=_0x2b2983[_0x716f62];const _0x590c42=_0x67fd8b?_0x689c76:_0xafe93f,_0x34d871=_0xa88825[_0x224303(0x110)](getO11yRerunPattern),_0x2ad376={};_0x2ad376[_0x224303(0xe4)]=_0x590c42;const _0x335f10={};_0x335f10[_0x224303(0x136)]=_0x108447,_0x335f10[_0x224303(0x109)]=!![],_0x335f10[_0x224303(0x137)]=_0x31d880[_0x224303(0xf0)][_0x224303(0xd6)][_0x224303(0x137)],_0x335f10[_0x224303(0x12f)]=_0x31d880[_0x224303(0xf0)][_0x224303(0xd6)][_0x224303(0x12f)],_0x335f10['testObservability']=_0x35de41,_0x335f10[_0x224303(0x100)]=_0x5995ef;const _0x26fba1={};_0x26fba1[_0x224303(0xe7)]=_0x335f10;const _0x1887ad={};return _0x1887ad[_0x224303(0x128)]=_0x26fba1,helper[_0x224303(0x15b)]({},_0x4b00a0,_0xa88825[_0x224303(0x110)](isBrowserstackInfra)?_0x2ad376:{},_0x34d871?{'grep':_0x34d871}:{},_0x1887ad);});for(const _0x3b3fbe of _0x44ed0b){for(const _0x279d23 of _0x4c14ea){const _0xceaa36=_0x413c2a[_0x2253f3(0x157)]();_0xceaa36[_0x2253f3(0x11c)](_0x279d23),_0xceaa36[_0x2253f3(0x102)](_0x3b3fbe);const _0x110031={};_0x110031[_0x2253f3(0xf0)]=_0x51193b,_0xceaa36[_0x2253f3(0x119)](_0x110031);}}_0x413c2a['on'](CodeceptJS[_0x2253f3(0x14e)]['test'][_0x2253f3(0x101)],(_0x1f1df4,_0x3471a6)=>{const _0x3ef3b4=_0x2253f3;console[_0x3ef3b4(0xfb)](_0xa88825['JIpsN'],_0x1f1df4[_0x3ef3b4(0x162)]);const _0xc6ebf4={[_0x1f1df4[_0x3ef3b4(0x162)]]:_0x1f1df4[_0x3ef3b4(0x120)][_0x3ef3b4(0x13c)]};_testErrorData[_0x3ef3b4(0x11f)](_0xc6ebf4);}),_0x413c2a['on'](CodeceptJS[_0x2253f3(0x14e)]['test'][_0x2253f3(0x131)],async _0x49766d=>{const _0x560504=_0x2253f3;console[_0x560504(0xfb)](_0xa88825['NMXrx'],_0x49766d[_0x560504(0x162)]);}),_0x413c2a['on'](CodeceptJS[_0x2253f3(0x14e)]['test'][_0x2253f3(0x14c)],async _0x46ecf1=>{const _0x27f597=_0x2253f3;console[_0x27f597(0xfb)](_0xa88825[_0x27f597(0x14a)],_0x46ecf1[_0x27f597(0x162)]);}),_0x413c2a['on'](CodeceptJS[_0x2253f3(0x14e)][_0x2253f3(0x146)][_0x2253f3(0x10b)],async()=>{const _0x2107cb=_0x2253f3,_0x32eb36=_0xa88825[_0x2107cb(0x153)][_0x2107cb(0x11e)]('|');let _0x2b3d6e=0x0;while(!![]){switch(_0x32eb36[_0x2b3d6e++]){case'0':try{await TestHubHandler[_0x2107cb(0x122)]();}catch(_0x3a02c0){logger[_0x2107cb(0xe8)](_0x2107cb(0xfc)+util[_0x2107cb(0xf4)](_0x3a02c0));}continue;case'1':testOpsHelper['printBuildLink']();continue;case'2':PerformanceTester[_0x2107cb(0x159)](PerformanceEvents['SDK_CLEANUP']);continue;case'3':_0x413c2a[_0x2107cb(0xc2)]();continue;case'4':_0x31d880[_0x2107cb(0x14b)]=_testErrorData;continue;case'5':utilities[_0x2107cb(0x10c)](_0x31d880);continue;}break;}});async function _0x2bd946(){const _0x939013=_0x2253f3;try{await _0x413c2a['bootstrapAll'](),await _0x413c2a[_0x939013(0xc9)]();}finally{process['chdir'](_0x584274),await _0x413c2a[_0x939013(0x123)]();}}PerformanceTester['end'](PerformanceEvents[_0x2253f3(0x133)]),_0xa88825[_0x2253f3(0x134)](_0x2bd946);}module[a2_0x4c40fd(0xc7)]=run;
2
+ 'use strict';const a2_0x331d18=a2_0x3481;(function(_0x56d0cd,_0xaf7eef){const _0x5c745c=a2_0x3481,_0x1d9328=_0x56d0cd();while(!![]){try{const _0x556118=parseInt(_0x5c745c(0xab))/0x1*(-parseInt(_0x5c745c(0x7a))/0x2)+parseInt(_0x5c745c(0xed))/0x3+-parseInt(_0x5c745c(0x105))/0x4*(-parseInt(_0x5c745c(0x8e))/0x5)+parseInt(_0x5c745c(0xcc))/0x6+-parseInt(_0x5c745c(0xdd))/0x7*(-parseInt(_0x5c745c(0x8f))/0x8)+parseInt(_0x5c745c(0x87))/0x9*(parseInt(_0x5c745c(0xfb))/0xa)+-parseInt(_0x5c745c(0xdc))/0xb;if(_0x556118===_0xaf7eef)break;else _0x1d9328['push'](_0x1d9328['shift']());}catch(_0x203577){_0x1d9328['push'](_0x1d9328['shift']());}}}(a2_0x591c,0xc62db));const fs=require('fs'),path=require(a2_0x331d18(0x10f)),util=require(a2_0x331d18(0xe2)),process=require(a2_0x331d18(0x85)),logger=require(a2_0x331d18(0x10c))[a2_0x331d18(0xd2)],{default:BrowserStackSetup}=require(a2_0x331d18(0x89)),helper=require(a2_0x331d18(0xc7)),utilities=require(a2_0x331d18(0x8c)),{checkAccessibilityPlatformConfig}=require(a2_0x331d18(0xbf)),{setAccessibilityCapabilities}=require(a2_0x331d18(0x9f)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x331d18(0xc7)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a2_0x331d18(0xb9)),testOpsHelper=require(a2_0x331d18(0xff)),TestHubHandler=require(a2_0x331d18(0xe1)),constants=require(a2_0x331d18(0x95)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x331d18(0x93)),PerformanceEvents=require(a2_0x331d18(0xf9))[a2_0x331d18(0x81)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x11b95e,_0x38db59)=>{const _0x3060f9=a2_0x331d18,_0x5c717b={};_0x5c717b['perrc']=function(_0x40e085,_0x28011a){return _0x40e085===_0x28011a;},_0x5c717b['tcgGw']=_0x3060f9(0x8a),_0x5c717b[_0x3060f9(0x111)]=_0x3060f9(0xf8);const _0x1b740b=_0x5c717b;let _0x587aee=null;const _0x1880c8={};let _0xd55b90=_0x38db59[_0x3060f9(0x106)](_0x3f5da1=>_0x3f5da1===_0x3060f9(0xf7));_0x1b740b['perrc'](_0xd55b90,-0x1)&&(_0xd55b90=_0x38db59[_0x3060f9(0x106)](_0x174617=>_0x174617==='-c'));if(!helper[_0x3060f9(0xdf)](_0x11b95e['config'])&&fs[_0x3060f9(0xc9)](path[_0x3060f9(0x7d)](process['cwd'](),_0x11b95e['config'])))_0x587aee=path[_0x3060f9(0x7d)](process['cwd'](),_0x11b95e[_0x3060f9(0xa6)]),_0x38db59[_0x3060f9(0x109)](_0xd55b90,0x2);else{if(!helper['isUndefined'](_0x11b95e['c'])&&fs[_0x3060f9(0xc9)](path[_0x3060f9(0x7d)](process['cwd'](),_0x11b95e['c'])))_0x587aee=path[_0x3060f9(0x7d)](process[_0x3060f9(0x10e)](),_0x11b95e['c']),_0x38db59[_0x3060f9(0x109)](_0xd55b90,0x2);else{if(fs[_0x3060f9(0xc9)](path['join'](process['cwd'](),_0x1b740b['tcgGw'])))_0x587aee=path[_0x3060f9(0x7d)](process['cwd'](),_0x1b740b['tcgGw']);else fs[_0x3060f9(0xc9)](path['join'](process['cwd'](),_0x1b740b[_0x3060f9(0x111)]))&&(_0x587aee=path[_0x3060f9(0x7d)](process[_0x3060f9(0x10e)](),_0x1b740b[_0x3060f9(0x111)]));}}return process[_0x3060f9(0x90)][_0x3060f9(0xe7)]=_0x587aee,_0x587aee;},getO11yRerunPattern=()=>{const _0x5c78c7=a2_0x331d18,_0x271535=helper['isTrue'](process['env'][_0x5c78c7(0xda)]);if(_0x271535){const _0x4672b0=process[_0x5c78c7(0x90)][_0x5c78c7(0x96)],_0x311c34=[];if(helper[_0x5c78c7(0x71)](_0x4672b0)&&!helper['isUndefined'](_0x4672b0)){_0x4672b0[_0x5c78c7(0xcb)](',')[_0x5c78c7(0x92)](_0x17d6da=>{const _0x4a4887=_0x5c78c7;_0x311c34[_0x4a4887(0xde)]('('+_0x17d6da['trim']()+')');});const _0x1b71d0='^'+_0x311c34[_0x5c78c7(0x7d)]('|')+'$';return _0x1b71d0;}}return null;},a2_0x248c7b={};a2_0x248c7b[a2_0x331d18(0x10a)]=a2_0x331d18(0x99),a2_0x248c7b[a2_0x331d18(0x70)]='chromium',a2_0x248c7b[a2_0x331d18(0xea)]=a2_0x331d18(0x103),a2_0x248c7b['playwright-webkit']=a2_0x331d18(0xac);const pwToCodeceptBrowser=a2_0x248c7b;async function run(_0x597b79,_0x240d14,_0x4cf1dc){const _0x2d302e=a2_0x331d18,_0x4a73e7={'jrIvi':function(_0x52d939,_0x34ac9c){return _0x52d939+_0x34ac9c;},'LJSct':function(_0x445c37,_0x371d5b){return _0x445c37(_0x371d5b);},'Frgpt':function(_0x516178,_0x522159){return _0x516178+_0x522159;},'ZydZa':function(_0x1261cb,_0x300f30,_0x14a248){return _0x1261cb(_0x300f30,_0x14a248);},'jWGzj':_0x2d302e(0xf6),'XUrGf':function(_0x24066f){return _0x24066f();},'egPLE':_0x2d302e(0xb8),'SVXNy':function(_0x20d600){return _0x20d600();},'TOiOP':_0x2d302e(0x9a),'nWgoz':_0x2d302e(0x100),'LoFmP':'Started\x20:\x20','lfQVy':_0x2d302e(0xb3),'oKqTX':function(_0x322958,_0x523b55,_0x3aa2ae){return _0x322958(_0x523b55,_0x3aa2ae);},'Rqfvm':_0x2d302e(0xef),'piUQt':function(_0x5c4a1b,_0x53b2ec,_0x546eb9){return _0x5c4a1b(_0x53b2ec,_0x546eb9);},'KAQvc':'Playwright','vLjFi':_0x2d302e(0xe9),'RtcKV':function(_0x7ea876,_0x50a4e2){return _0x7ea876(_0x50a4e2);},'faRQQ':function(_0xde9010,_0x8b3be){return _0xde9010!=_0x8b3be;},'CHHzj':function(_0x11f5f4,_0x28cd7b){return _0x11f5f4===_0x28cd7b;},'SGgTz':_0x2d302e(0xc2),'nAPHA':function(_0x5d0e03,_0x1f8aa8){return _0x5d0e03*_0x1f8aa8;},'BtiSk':function(_0x102466,_0x22efeb,_0x22aed2){return _0x102466(_0x22efeb,_0x22aed2);},'OTvch':_0x2d302e(0xa2),'LxQie':'desiredCapabilities','ILsRb':_0x2d302e(0xb5),'FcPLH':_0x2d302e(0x10b),'uTdHt':_0x2d302e(0xd1),'zdhSM':function(_0x546b76){return _0x546b76();}};await _0x4cf1dc[_0x2d302e(0x10d)](_0x597b79),await helper['handleApp'](_0x4cf1dc[_0x2d302e(0xa6)]);if(!_0x4cf1dc[_0x2d302e(0xa6)])return;process[_0x2d302e(0x74)]=_0x597b79[_0x2d302e(0x74)];_0x597b79['profile']&&(process['env']['profile']=_0x597b79['profile']);const _0x172f68=_0x4a73e7[_0x2d302e(0x110)](getUserCodeceptJSConfigs,_0x597b79,_0x240d14);let _0x50d696={};_0x172f68?(logger['info']('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x172f68),_0x50d696=CodeceptJS[_0x2d302e(0xa6)][_0x2d302e(0xf3)](_0x172f68)):logger[_0x2d302e(0xe8)](_0x4a73e7[_0x2d302e(0xae)]);let _0x427005=![];_0x4a73e7['piUQt'](nestedKeyValue,_0x50d696,[_0x4a73e7[_0x2d302e(0xd0)],_0x4a73e7[_0x2d302e(0x73)]])&&(_0x427005=!![]);const _0x20c8c8=_0x427005?_0x4a73e7[_0x2d302e(0x73)]:_0x4a73e7[_0x2d302e(0xcd)];let _0xa7e3f0=!_0x427005?helper[_0x2d302e(0x9d)](_0x4cf1dc[_0x2d302e(0xa6)]):![];!helper[_0x2d302e(0xdf)](_0x4cf1dc[_0x2d302e(0xa6)][_0x2d302e(0x8d)])&&(process[_0x2d302e(0x90)][_0x2d302e(0xf1)]=JSON[_0x2d302e(0x79)](_0x4cf1dc[_0x2d302e(0xa6)][_0x2d302e(0x8d)]));let _0x2368e0=_0x4cf1dc[_0x2d302e(0xa6)][_0x2d302e(0xe4)];_0x2368e0=_0x2368e0||_0x4a73e7[_0x2d302e(0xa1)](checkAccessibilityPlatformConfig,_0x4cf1dc[_0x2d302e(0xa6)]),process['env'][_0x2d302e(0xfe)]=_0x2368e0;_0x2368e0&&(_0xa7e3f0=!_0x2368e0);_0x4a73e7[_0x2d302e(0x91)](_0x4cf1dc[_0x2d302e(0xa6)][_0x2d302e(0xba)],null)?process[_0x2d302e(0x90)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4cf1dc['config'][_0x2d302e(0xba)]:process[_0x2d302e(0x90)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4a73e7[_0x2d302e(0xfc)](_0x20c8c8,_0x4a73e7['KAQvc']);const _0x3f3124=_0x4a73e7[_0x2d302e(0xa0)](nestedKeyValue,_0x50d696,[_0x4a73e7[_0x2d302e(0xf0)]]),_0x2321b8=_0x3f3124&&!helper['isEmpty'](_0x3f3124)?FRAMEWORKS[_0x2d302e(0x77)]:FRAMEWORKS[_0x2d302e(0xd7)],_0x277703=await TestHubHandler['launchBuild'](_0x2321b8,_0x4cf1dc);_0x2368e0&&_0x4a73e7[_0x2d302e(0xb1)](setAccessibilityCapabilities,_0x4cf1dc['config']);const _0x51467f={},_0x2ae045=[],_0x5ee978=_0x4cf1dc[_0x2d302e(0xa6)][_0x2d302e(0xb2)]||helper[_0x2d302e(0xcf)](_0x597b79,_0x240d14,_0x4cf1dc['config'],constants[_0x2d302e(0x7e)][_0x2d302e(0xd7)])||0x1;let _0x355ce3=0x1;if(_0x4a73e7['XUrGf'](isBrowserstackInfra)){const _0x2993b7=helper[_0x2d302e(0x84)](_0x4cf1dc[_0x2d302e(0xa6)],_0xa7e3f0,constants[_0x2d302e(0x7e)][_0x2d302e(0xd7)]);_0x2993b7['forEach'](_0x4b869e=>{const _0x2a29e0=_0x2d302e;helper[_0x2a29e0(0x9c)](_0x4b869e);}),helper['validPlatformsPresent'](_0x4cf1dc['config'])?_0x355ce3=_0x4a73e7[_0x2d302e(0xeb)](_0x5ee978,_0x4cf1dc['config'][_0x2d302e(0x80)][_0x2d302e(0x104)]):_0x355ce3=_0x5ee978,_0x2993b7['forEach'](_0x8b66c=>{const _0x5f0fb8=_0x2d302e,_0x5bff4d=_0x4a73e7[_0x5f0fb8(0xf4)](helper[_0x5f0fb8(0x72)](_0x8b66c,'_'),'_'+Date['now']()),_0x50bb23=((()=>{const _0x34c532=_0x5f0fb8;if(_0x427005){const _0xecdb7f=pwToCodeceptBrowser[_0x8b66c[_0x34c532(0xb0)]]||_0x8b66c[_0x34c532(0xb0)];return{'browser':_0xecdb7f,[_0xecdb7f]:{'browserWSEndpoint':_0x4a73e7[_0x34c532(0x88)](helper['getPlaywrightUrl'](_0x4cf1dc[_0x34c532(0xa6)]),_0x4a73e7[_0x34c532(0xb1)](encodeURIComponent,JSON[_0x34c532(0x79)](_0x8b66c)))}};}const _0x1e109a={};return _0x1e109a[_0x34c532(0xbb)]=_0x8b66c,_0x1e109a[_0x34c532(0xc5)]=_0x4cf1dc[_0x34c532(0xa6)][_0x34c532(0xfd)],_0x1e109a[_0x34c532(0xa3)]=_0x4cf1dc[_0x34c532(0xa6)]['accessKey'],_0x1e109a;})()),_0x3e4e0c=_0x4a73e7['ZydZa'](nestedKeyValue,_0x50d696,[_0x4a73e7[_0x5f0fb8(0xd0)],_0x20c8c8]);_0x51467f[_0x5bff4d]=_0x3e4e0c?helper[_0x5f0fb8(0x107)](_0x50bb23,_0x3e4e0c):_0x50bb23;if(!_0x427005){_0x51467f[_0x5bff4d][_0x5f0fb8(0xa2)]=_0x8b66c[_0x5f0fb8(0xb0)]||_0x50bb23['browser'];if(_0x4a73e7['XUrGf'](isBrowserstackInfra)){_0x51467f[_0x5bff4d][_0x5f0fb8(0xc1)]=constants[_0x5f0fb8(0xc0)][_0x5f0fb8(0x86)](_0x4a73e7[_0x5f0fb8(0x7f)],'')[_0x5f0fb8(0x86)](/https?:\/\//,'');;_0x51467f[_0x5bff4d][_0x5f0fb8(0x10f)]=_0x4a73e7[_0x5f0fb8(0x7f)];}}_0x2ae045['push'](_0x5bff4d);});}else{_0x355ce3=0x1;if(_0x427005){const _0x835aed=_0x4a73e7[_0x2d302e(0xb4)](nestedKeyValue,_0x50d696,[_0x4a73e7['jWGzj'],_0x20c8c8,_0x4a73e7[_0x2d302e(0xaf)]]),_0x439fcb=_0x4a73e7['ZydZa'](nestedKeyValue,_0x50d696,[_0x4a73e7[_0x2d302e(0xd0)],_0x20c8c8,_0x835aed]);if(_0x439fcb&&_0x439fcb[_0x2d302e(0xa9)]){const _0x122622={};_0x122622['platforms']=[],_0x439fcb['browserWSEndpoint']=helper[_0x2d302e(0x84)](Object[_0x2d302e(0x94)]({},_0x4cf1dc['config'],_0x122622),null,_0x2321b8[_0x2d302e(0xd5)](),null,null,_0x439fcb[_0x2d302e(0xa9)]);}}else{const _0x5e64c6={};_0x5e64c6[_0x2d302e(0x80)]=[],_0x50d696[_0x4a73e7[_0x2d302e(0xd0)]][_0x20c8c8][_0x4a73e7[_0x2d302e(0x9b)]]=helper['prepareCapabilities'](Object[_0x2d302e(0x94)]({},_0x4cf1dc[_0x2d302e(0xa6)],_0x5e64c6),null,_0x2321b8['toLowerCase'](),_0x4a73e7['ZydZa'](nestedKeyValue,_0x50d696,[_0x4a73e7[_0x2d302e(0xd0)],_0x20c8c8,_0x4a73e7[_0x2d302e(0x9b)]])||{},null,null);}_0x51467f[_0x4a73e7['ILsRb']]=_0x50d696,_0x2ae045[_0x2d302e(0xde)](_0x4a73e7[_0x2d302e(0xe3)]);}const _0x586547={};_0x586547[_0x2d302e(0x75)]=_0x172f68;const _0x10bd18=_0x586547,_0x14165c=path[_0x2d302e(0x7d)](__dirname,_0x4a73e7[_0x2d302e(0x97)]),_0x17845f=process['cwd']();process[_0x2d302e(0x90)][_0x4a73e7[_0x2d302e(0xd3)]]=_0x17845f,process[_0x2d302e(0xad)](path['dirname'](_0x172f68));const _0x339acb=new CodeceptJS[(_0x2d302e(0x98))](null,_0x10bd18),_0x241666=_0x339acb[_0x2d302e(0x76)](_0x355ce3),_0x558bd8=testOpsHelper[_0x2d302e(0xbc)](),_0x33f198=_0x2ae045[_0x2d302e(0x92)](_0x348e4d=>{const _0x5c07c2=_0x2d302e,_0x46abc8={};_0x46abc8[_0x5c07c2(0xd8)]=_0x51467f[_0x348e4d];const _0x370dcf={};_0x370dcf[_0x5c07c2(0xe9)]=_0x51467f[_0x348e4d];const _0x45e409=_0x427005?_0x46abc8:_0x370dcf,_0x382559=_0x4a73e7[_0x5c07c2(0x7c)](getO11yRerunPattern),_0x1ae1c6={};_0x1ae1c6[_0x5c07c2(0xf6)]=_0x45e409;const _0x3425ed={};_0x3425ed[_0x5c07c2(0xd6)]=_0x14165c,_0x3425ed[_0x5c07c2(0xbe)]=!![],_0x3425ed['skipSessionName']=_0x4cf1dc[_0x5c07c2(0xa6)]['testContextOptions']['skipSessionName'],_0x3425ed[_0x5c07c2(0xa4)]=_0x4cf1dc['config'][_0x5c07c2(0xc8)][_0x5c07c2(0xa4)],_0x3425ed['testObservability']=_0x558bd8,_0x3425ed[_0x5c07c2(0xe0)]=_0x2321b8;const _0x572dd3={};_0x572dd3[_0x5c07c2(0xe6)]=_0x3425ed;const _0x9303aa={};return _0x9303aa[_0x5c07c2(0xf2)]=_0x572dd3,helper[_0x5c07c2(0x107)]({},_0x50d696,_0x4a73e7[_0x5c07c2(0xc3)](isBrowserstackInfra)?_0x1ae1c6:{},_0x382559?{'grep':_0x382559}:{},_0x9303aa);});for(const _0x42c347 of _0x33f198){for(const _0x3accbf of _0x241666){const _0x2a6b44=_0x339acb[_0x2d302e(0xe5)]();_0x2a6b44[_0x2d302e(0xb6)](_0x3accbf),_0x2a6b44[_0x2d302e(0x7b)](_0x42c347);const _0x251ca3={};_0x251ca3['config']=_0x172f68,_0x2a6b44[_0x2d302e(0xa8)](_0x251ca3);}}_0x339acb['on'](CodeceptJS[_0x2d302e(0x83)][_0x2d302e(0xa5)]['failed'],(_0x4d3de9,_0x26131b)=>{const _0x5b9021=_0x2d302e;console[_0x5b9021(0xec)](_0x4a73e7[_0x5b9021(0xc4)],_0x4d3de9[_0x5b9021(0xca)]);const _0x21028d={[_0x4d3de9['title']]:_0x4d3de9['err'][_0x5b9021(0x78)]};_testErrorData[_0x5b9021(0xde)](_0x21028d);}),_0x339acb['on'](CodeceptJS[_0x2d302e(0x83)][_0x2d302e(0xa5)][_0x2d302e(0x101)],async _0x28bace=>{const _0x26cc51=_0x2d302e;console[_0x26cc51(0xec)](_0x4a73e7[_0x26cc51(0x8b)],_0x28bace[_0x26cc51(0xca)]);}),_0x339acb['on'](CodeceptJS[_0x2d302e(0x83)][_0x2d302e(0xa5)][_0x2d302e(0xee)],async _0x48ad9e=>{const _0x5c9094=_0x2d302e;console['log'](_0x4a73e7[_0x5c9094(0x9e)],_0x48ad9e[_0x5c9094(0xca)]);}),_0x339acb['on'](CodeceptJS[_0x2d302e(0x83)][_0x2d302e(0xd4)][_0x2d302e(0x108)],async()=>{const _0x5d30c3=_0x2d302e,_0x395b9d=_0x4a73e7[_0x5d30c3(0x82)][_0x5d30c3(0xcb)]('|');let _0x1bd6e4=0x0;while(!![]){switch(_0x395b9d[_0x1bd6e4++]){case'0':PerformanceTester[_0x5d30c3(0xaa)](PerformanceEvents[_0x5d30c3(0xa7)]);continue;case'1':utilities['finalExecution'](_0x4cf1dc);continue;case'2':try{await TestHubHandler['stop']();}catch(_0xa430ed){logger[_0x5d30c3(0xd9)](_0x5d30c3(0x102)+util[_0x5d30c3(0xce)](_0xa430ed));}continue;case'3':testOpsHelper['printBuildLink']();continue;case'4':_0x4cf1dc['errorMessage']=_testErrorData;continue;case'5':_0x339acb['printResults']();continue;}break;}});async function _0x36a98a(){const _0x46e77f=_0x2d302e;try{await _0x339acb[_0x46e77f(0xfa)](),await _0x339acb['run']();}finally{process[_0x46e77f(0xad)](_0x17845f),await _0x339acb[_0x46e77f(0xbd)]();}}PerformanceTester[_0x2d302e(0xdb)](PerformanceEvents[_0x2d302e(0xf5)]),_0x4a73e7[_0x2d302e(0xb7)](_0x36a98a);}module[a2_0x331d18(0xc6)]=run;function a2_0x3481(_0x453304,_0x342d6f){const _0x591c98=a2_0x591c();return a2_0x3481=function(_0x3481f1,_0xdda913){_0x3481f1=_0x3481f1-0x70;let _0x397896=_0x591c98[_0x3481f1];return _0x397896;},a2_0x3481(_0x453304,_0x342d6f);}function a2_0x591c(){const _0x563093=['vLjFi','format','getUserWorkerCount','jWGzj','browserStackCwd','winstonLogger','uTdHt','all','toLowerCase','require','CODECEPT','Playwright','debug','BROWSERSTACK_RERUN','end','19768210BIAGmC','12551grNNKR','push','isUndefined','frameworkName','../../helpers/testhub/testhubHandler','util','ILsRb','accessibility','spawn','BrowserStackPlugin','USER_CONFIG_DETAILS_PATH','info','WebDriver','playwright-firefox','nAPHA','log','3995730Nnwkjs','before','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','SGgTz','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','plugins','load','Frgpt','SDK_SETUP','helpers','--config','codecept.json','../../helpers/performance/constants','bootstrapAll','59880XJoaUz','CHHzj','userName','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/test-observability/utils','Passed\x20:\x20','passed','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','firefox','length','12SCPeiY','findIndex','mergeDeep','result','slice','chrome','BrowserStackPlugin.js','../../helpers/logger','initialize','cwd','path','oKqTX','cvHHK','playwright-chromium','validateRerunTestList','getPlatformName','KAQvc','profile','testConfig','createGroupsOfSuites','CODECEPT_CUCUMBER','stack','stringify','6QJBtar','addConfig','XUrGf','join','FRAMEWORKS','egPLE','platforms','EVENTS','lfQVy','event','prepareCapabilities','process','replace','324WrFmRQ','jrIvi','../../helpers/BrowserStackSetup','codecept.conf.js','nWgoz','../../helpers/utilities','accessibilityOptions','2564605alVHKf','2416EChdhf','env','faRQQ','map','../../helpers/test-observability/constants','assign','../utils/constants','BROWSERSTACK_RERUN_TESTS','FcPLH','Workers','chromium','Failed\x20:\x20','LxQie','setAdditionalCapabilities','useW3C','LoFmP','../../bin/playwright/accessibility-helper','ZydZa','RtcKV','browser','key','skipSessionStatus','test','config','SDK_CLEANUP','addOptions','browserWSEndpoint','start','537512cuaMnG','webkit','chdir','Rqfvm','OTvch','browserName','LJSct','parallelsPerPlatform','0|4|3|1|2|5','BtiSk','root','addTests','zdhSM','/wd/hub','codeceptjs','testObservability','desiredCapabilities','isTestObservabilitySession','teardownAll','enabled','../../helpers/accessibility-automation/helper','hubUrl','host','gherkin','SVXNy','TOiOP','user','exports','../../helpers/helper','testContextOptions','existsSync','title','split','3561948ImyDtS'];a2_0x591c=function(){return _0x563093;};return a2_0x591c();}
@@ -1 +1 @@
1
- const a3_0x3ea68e=a3_0x23c9;function a3_0x3ee4(){const _0x45f985=['browserVersion','browserName','cloudProvider','searchParams','BjYjs','getDetails','aidGA','../../helpers/helper','name','HEmNt','caps','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','1872666msLkPU','KwjrQ','__cloud_provider___','7275dWoEQf','QkGMI','browser_version','FzwIg','RZRug','wLhWy','7006482DVfdQs','JQbvF','1636pzqFqq','constructor','tUglT','../../helpers/test-observability/utils','LOHcx','capabilities','platform','unknown_grid','platformName','7539150TjaBTJ','chrome','DheQP','get','zOnSw','desiredCapabilities','Playwright','113617YpAAxL','platform_version','32vLGLmV','playwright-chromium','74FAleZi','sessionId','browserWSEndpoint','fanZk','34133430oFpFSy','../../helpers/accessibility-automation/helper','xvVwJ','tLLJp','browser','tGhba','vwHzw','FqSmQ','os_version','bstack:options','WqXwu','cYaAV','deviceName','winstonLogger','cKZry','OjDOE','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','shouldPatchExecuteScript','CAoPg','osVersion','PLLKy','platformVersion','includes','23946qitorJ','latest','yMlQk'];a3_0x3ee4=function(){return _0x45f985;};return a3_0x3ee4();}(function(_0x191951,_0x2530db){const _0x1e0257=a3_0x23c9,_0x44a220=_0x191951();while(!![]){try{const _0x4beca4=-parseInt(_0x1e0257(0x9b))/0x1*(parseInt(_0x1e0257(0xb7))/0x2)+-parseInt(_0x1e0257(0x7f))/0x3*(-parseInt(_0x1e0257(0x87))/0x4)+-parseInt(_0x1e0257(0x90))/0x5+-parseInt(_0x1e0257(0x7c))/0x6+-parseInt(_0x1e0257(0x97))/0x7*(-parseInt(_0x1e0257(0x99))/0x8)+-parseInt(_0x1e0257(0x85))/0x9+parseInt(_0x1e0257(0x9f))/0xa;if(_0x4beca4===_0x2530db)break;else _0x44a220['push'](_0x44a220['shift']());}catch(_0x1b3a5e){_0x44a220['push'](_0x44a220['shift']());}}}(a3_0x3ee4,0xf0a33));function a3_0x23c9(_0x651c29,_0x4e6d2b){const _0x3ee496=a3_0x3ee4();return a3_0x23c9=function(_0x23c972,_0x1595c3){_0x23c972=_0x23c972-0x7c;let _0x6ae950=_0x3ee496[_0x23c972];return _0x6ae950;},a3_0x23c9(_0x651c29,_0x4e6d2b);}const {isUndefined,nestedKeyValue}=require(a3_0x3ea68e(0xc1)),logger=require('../../helpers/logger')[a3_0x3ea68e(0xac)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x3ea68e(0xa0)),{getObservabilityLinkedProductName}=require(a3_0x3ea68e(0x8a)),getOSVersionFromCaps=_0x509d49=>{const _0x3221af=a3_0x3ea68e,_0x4d0e93={};_0x4d0e93[_0x3221af(0x83)]=_0x3221af(0xa8),_0x4d0e93['WqXwu']=_0x3221af(0xb5),_0x4d0e93[_0x3221af(0x89)]=_0x3221af(0x98),_0x4d0e93['yaAtM']=_0x3221af(0xb3),_0x4d0e93['JQbvF']=_0x3221af(0xa7);const _0xb66eac=_0x4d0e93;if(!_0x509d49)return null;const _0x2a01cd=_0x509d49[_0xb66eac['RZRug']],_0x13b017=[_0xb66eac[_0x3221af(0xa9)],_0xb66eac['tUglT'],_0xb66eac['yaAtM'],_0xb66eac[_0x3221af(0x86)]];for(const _0x269545 of _0x13b017){if(_0x2a01cd&&_0x2a01cd[_0x269545])return _0x2a01cd[_0x269545];else{if(_0x509d49[_0x269545])return _0x509d49[_0x269545];}}return null;};exports['fetchPlatformDetails']=_0x1a4efe=>{const _0x3f014c=a3_0x3ea68e,_0x1e988c={'tLLJp':_0x3f014c(0x8e),'cYaAV':function(_0xe26a15,_0x377f64){return _0xe26a15===_0x377f64;},'QkGMI':'WebDriver','CAoPg':function(_0x3ee41b,_0x9bb03d){return _0x3ee41b(_0x9bb03d);},'xvVwJ':function(_0x304b3b,_0x1d9faf,_0x472e41){return _0x304b3b(_0x1d9faf,_0x472e41);},'fanZk':'config','FqSmQ':_0x3f014c(0x95),'BjYjs':function(_0x18116a,_0x4b03bd){return _0x18116a(_0x4b03bd);},'aidGA':function(_0x361bbd,_0x3a21e1){return _0x361bbd===_0x3a21e1;},'vwHzw':_0x3f014c(0x96),'LOHcx':_0x3f014c(0xa3),'zOnSw':_0x3f014c(0x9d),'HEmNt':_0x3f014c(0xc4),'FZPyA':function(_0x3c9364,_0x19a893){return _0x3c9364(_0x19a893);}};if(!_0x1a4efe)return null;let _0x103abf=global[_0x3f014c(0x7e)]||_0x1e988c[_0x3f014c(0xa2)];if(_0x1e988c[_0x3f014c(0xaa)](_0x1a4efe[_0x3f014c(0x88)]['name'],_0x1e988c[_0x3f014c(0x80)])){const _0x1aec38=_0x1a4efe[_0x3f014c(0xa3)];if(!_0x1aec38)return null;const _0x5bd726=_0x1aec38[_0x3f014c(0x8c)],_0x272626=_0x1e988c[_0x3f014c(0xb2)](getOSVersionFromCaps,_0x1e988c[_0x3f014c(0xa1)](nestedKeyValue,_0x1a4efe,[_0x1e988c[_0x3f014c(0x9e)],_0x1e988c[_0x3f014c(0xa6)]]));return{[_0x103abf]:{'browser':_0x5bd726['browserName'],'browser_version':_0x5bd726[_0x3f014c(0xba)],'capabilities':_0x5bd726,'platform':_0x5bd726[_0x3f014c(0x8f)],'platform_version':_0x5bd726[_0x3f014c(0xb5)]||_0x272626,'product':_0x1e988c[_0x3f014c(0xbe)](getObservabilityLinkedProductName,_0x5bd726),'session_id':_0x1aec38[_0x3f014c(0x9c)]}};}else{if(_0x1e988c[_0x3f014c(0xc0)](_0x1a4efe[_0x3f014c(0x88)][_0x3f014c(0xc2)],_0x1e988c[_0x3f014c(0xa5)])){const _0x25b686=PlaywrightSessionDetails[_0x3f014c(0xbf)]();_0x103abf=_0x25b686[_0x3f014c(0xbc)]||_0x103abf;const _0x30ac95=_0x1e988c['xvVwJ'](nestedKeyValue,_0x1a4efe,[_0x1e988c[_0x3f014c(0x9e)],_0x1e988c[_0x3f014c(0x8b)],_0x1e988c[_0x3f014c(0x94)]]),_0x54f496=_0x30ac95?JSON['parse'](new URL(_0x30ac95)[_0x3f014c(0xbd)][_0x3f014c(0x93)](_0x1e988c[_0x3f014c(0xc3)])):{};return{[_0x103abf]:{'browser':_0x25b686[_0x3f014c(0xa3)]||_0x54f496['browserName'],'browser_version':_0x25b686[_0x3f014c(0x81)]||_0x54f496['browser_version'],'capabilities':_0x54f496,'platform':_0x25b686[_0x3f014c(0x8d)],'platform_version':_0x25b686['platform_version'],'product':_0x1e988c['FZPyA'](getObservabilityLinkedProductName,_0x54f496),'session_id':_0x25b686['bsSessionId']}};}}},exports['processWebDriverConfig']=_0x5792ac=>{const _0x73c618=a3_0x3ea68e,_0x2f6295={'tGhba':function(_0x4e47b2){return _0x4e47b2();},'yMlQk':function(_0x3988a1,_0x452ff4){return _0x3988a1===_0x452ff4;},'PLLKy':_0x73c618(0xb8),'ivToL':function(_0x2318b2,_0x5c02be){return _0x2318b2>_0x5c02be;},'cKZry':function(_0x2999dd,_0xd12b0e){return _0x2999dd(_0xd12b0e);},'OjDOE':_0x73c618(0xb0),'wLhWy':function(_0x1ce8c3,_0x166be8){return _0x1ce8c3===_0x166be8;},'DheQP':_0x73c618(0x91),'UnWru':_0x73c618(0x9a),'XxDLS':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','edZsM':_0x73c618(0xc5)};if(_0x2f6295[_0x73c618(0xa4)](isAccessibilityAutomationSession)){const _0x4d4ab2=_0x5792ac[_0x73c618(0xa3)],_0xa4ecdd=_0x4d4ab2[_0x73c618(0x8c)];global[_0x73c618(0xaf)]=!![],!(_0x2f6295[_0x73c618(0xb9)](_0xa4ecdd['browserVersion'],_0x2f6295[_0x73c618(0xb4)])||_0x2f6295['ivToL'](_0x2f6295[_0x73c618(0xad)](parseInt,_0xa4ecdd[_0x73c618(0xba)]),0x5e))&&(logger['warn'](_0x2f6295[_0x73c618(0xae)]),global[_0x73c618(0xaf)]=![]),!(_0x2f6295[_0x73c618(0x84)](_0xa4ecdd[_0x73c618(0xbb)],_0x2f6295[_0x73c618(0x92)])||_0x2f6295[_0x73c618(0xb9)](_0xa4ecdd[_0x73c618(0xbb)],_0x2f6295['UnWru']))&&(logger['warn'](_0x2f6295['XxDLS']),global[_0x73c618(0xaf)]=![]),!_0x2f6295[_0x73c618(0xad)](isUndefined,_0xa4ecdd[_0x73c618(0xab)])&&(logger['warn'](_0x2f6295['edZsM']),global[_0x73c618(0xaf)]=![]);}},exports[a3_0x3ea68e(0xb1)]=_0x5ca514=>{const _0x7d7441=a3_0x3ea68e,_0x43561b={};_0x43561b[_0x7d7441(0x7d)]='browserstack_executor',_0x43561b[_0x7d7441(0x82)]='browserstack_accessibility_automation_script';const _0xe2194a=_0x43561b;if(!_0x5ca514)return![];return!_0x5ca514[_0x7d7441(0xb6)](_0xe2194a[_0x7d7441(0x7d)])&&!_0x5ca514['includes'](_0xe2194a[_0x7d7441(0x82)]);};
1
+ function a3_0xbbd5(){const _0x31faf1=['TSrwz','browser','cGRSC','browserName','OWIWi','tLSTy','36pZgkMg','../../helpers/test-observability/utils','mHOzy','8iaeqNB','3948539pquWov','browserstack_accessibility_automation_script','TfLrk','includes','capabilities','rSqyG','GhgJs','name','browser_version','platform','Playwright','bTYjF','11oOKhyE','browserVersion','platformVersion','rAUFj','17295MDfGlD','processWebDriverConfig','browserstack_executor','GMNad','104590AnXXBO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','shouldPatchExecuteScript','5YrGiTC','browserWSEndpoint','constructor','accessibilityPlatform','fGior','360IrVXwC','rBvql','warn','getDetails','unknown_grid','caps','433990EACVlc','TzRns','searchParams','osVersion','zrVaL','1176900YxqxPe','deWZe','KRGvn','WebDriver','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','hOkym','chrome','3585108akZINA','../../helpers/accessibility-automation/helper','deviceName','mUTKF','latest','../../helpers/helper','raWmQ','CjIfR','winstonLogger','yzpHn','1204232fYnXme'];a3_0xbbd5=function(){return _0x31faf1;};return a3_0xbbd5();}const a3_0x96f371=a3_0x5d95;(function(_0x3cc853,_0x8c5dc9){const _0x5043df=a3_0x5d95,_0x507add=_0x3cc853();while(!![]){try{const _0x3d540d=parseInt(_0x5043df(0xed))/0x1+-parseInt(_0x5043df(0xc0))/0x2+-parseInt(_0x5043df(0xdb))/0x3*(-parseInt(_0x5043df(0xe7))/0x4)+parseInt(_0x5043df(0xe2))/0x5*(parseInt(_0x5043df(0xb6))/0x6)+parseInt(_0x5043df(0xcb))/0x7*(-parseInt(_0x5043df(0xca))/0x8)+-parseInt(_0x5043df(0xc7))/0x9*(-parseInt(_0x5043df(0xdf))/0xa)+-parseInt(_0x5043df(0xd7))/0xb*(parseInt(_0x5043df(0xf2))/0xc);if(_0x3d540d===_0x8c5dc9)break;else _0x507add['push'](_0x507add['shift']());}catch(_0x1dcbfe){_0x507add['push'](_0x507add['shift']());}}}(a3_0xbbd5,0x500f6));const {isUndefined,nestedKeyValue}=require(a3_0x96f371(0xbb)),logger=require('../../helpers/logger')[a3_0x96f371(0xbe)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x96f371(0xb7)),{getObservabilityLinkedProductName}=require(a3_0x96f371(0xc8)),getOSVersionFromCaps=_0x368ce2=>{const _0x268ae4=a3_0x96f371,_0x59c4c5={};_0x59c4c5[_0x268ae4(0xf3)]='bstack:options',_0x59c4c5[_0x268ae4(0xc1)]='platformVersion',_0x59c4c5[_0x268ae4(0xcd)]='platform_version',_0x59c4c5[_0x268ae4(0xd0)]=_0x268ae4(0xf0),_0x59c4c5[_0x268ae4(0xd1)]='os_version';const _0x1dda6e=_0x59c4c5;if(!_0x368ce2)return null;const _0x49009e=_0x368ce2[_0x1dda6e[_0x268ae4(0xf3)]],_0x2deb75=[_0x1dda6e[_0x268ae4(0xc1)],_0x1dda6e[_0x268ae4(0xcd)],_0x1dda6e[_0x268ae4(0xd0)],_0x1dda6e[_0x268ae4(0xd1)]];for(const _0x1eb213 of _0x2deb75){if(_0x49009e&&_0x49009e[_0x1eb213])return _0x49009e[_0x1eb213];else{if(_0x368ce2[_0x1eb213])return _0x368ce2[_0x1eb213];}}return null;};function a3_0x5d95(_0x3dfc38,_0x5ab1be){const _0xbbd52a=a3_0xbbd5();return a3_0x5d95=function(_0x5d9592,_0x17f9b6){_0x5d9592=_0x5d9592-0xb6;let _0x2cb4e4=_0xbbd52a[_0x5d9592];return _0x2cb4e4;},a3_0x5d95(_0x3dfc38,_0x5ab1be);}exports['fetchPlatformDetails']=_0x27e0f8=>{const _0x38c6d0=a3_0x96f371,_0x3e4da5={'IdYQI':_0x38c6d0(0xeb),'yzpHn':function(_0x389c85,_0x2d9542){return _0x389c85===_0x2d9542;},'HYaQV':_0x38c6d0(0xf5),'raWmQ':function(_0x25a9f9,_0x8fc9c9){return _0x25a9f9(_0x8fc9c9);},'zrVaL':function(_0x2d0d1e,_0x2e2620,_0x1745a1){return _0x2d0d1e(_0x2e2620,_0x1745a1);},'DZePj':'config','rhTIh':'desiredCapabilities','cGRSC':function(_0x30d75f,_0x532930){return _0x30d75f(_0x532930);},'cSUDG':_0x38c6d0(0xd5),'KRGvn':_0x38c6d0(0xc2),'OWIWi':_0x38c6d0(0xe3),'mHOzy':_0x38c6d0(0xec),'WhCex':function(_0xe7bfd9,_0x57adc3){return _0xe7bfd9(_0x57adc3);}};if(!_0x27e0f8)return null;let _0x358b3c=global['__cloud_provider___']||_0x3e4da5['IdYQI'];if(_0x3e4da5[_0x38c6d0(0xbf)](_0x27e0f8[_0x38c6d0(0xe4)][_0x38c6d0(0xd2)],_0x3e4da5['HYaQV'])){const _0x5ddcb9=_0x27e0f8[_0x38c6d0(0xc2)];if(!_0x5ddcb9)return null;const _0x42ab5e=_0x5ddcb9['capabilities'],_0xe8a455=_0x3e4da5[_0x38c6d0(0xbc)](getOSVersionFromCaps,_0x3e4da5[_0x38c6d0(0xf1)](nestedKeyValue,_0x27e0f8,[_0x3e4da5['DZePj'],_0x3e4da5['rhTIh']]));return{[_0x358b3c]:{'browser':_0x42ab5e[_0x38c6d0(0xc4)],'browser_version':_0x42ab5e[_0x38c6d0(0xd8)],'capabilities':_0x42ab5e,'platform':_0x42ab5e['platformName'],'platform_version':_0x42ab5e[_0x38c6d0(0xd9)]||_0xe8a455,'product':_0x3e4da5[_0x38c6d0(0xc3)](getObservabilityLinkedProductName,_0x42ab5e),'session_id':_0x5ddcb9['sessionId']}};}else{if(_0x3e4da5[_0x38c6d0(0xbf)](_0x27e0f8[_0x38c6d0(0xe4)][_0x38c6d0(0xd2)],_0x3e4da5['cSUDG'])){const _0x3d9cf9=PlaywrightSessionDetails[_0x38c6d0(0xea)]();_0x358b3c=_0x3d9cf9['cloudProvider']||_0x358b3c;const _0x15b7b8=_0x3e4da5['zrVaL'](nestedKeyValue,_0x27e0f8,[_0x3e4da5['DZePj'],_0x3e4da5[_0x38c6d0(0xf4)],_0x3e4da5[_0x38c6d0(0xc5)]]),_0x3171cb=_0x15b7b8?JSON['parse'](new URL(_0x15b7b8)[_0x38c6d0(0xef)]['get'](_0x3e4da5[_0x38c6d0(0xc9)])):{};return{[_0x358b3c]:{'browser':_0x3d9cf9['browser']||_0x3171cb[_0x38c6d0(0xc4)],'browser_version':_0x3d9cf9['browser_version']||_0x3171cb[_0x38c6d0(0xd3)],'capabilities':_0x3171cb,'platform':_0x3d9cf9[_0x38c6d0(0xd4)],'platform_version':_0x3d9cf9['platform_version'],'product':_0x3e4da5['WhCex'](getObservabilityLinkedProductName,_0x3171cb),'session_id':_0x3d9cf9['bsSessionId']}};}}},exports[a3_0x96f371(0xdc)]=_0x41952d=>{const _0x1f968a=a3_0x96f371,_0x1d395d={'TzRns':function(_0x34b31d){return _0x34b31d();},'fGior':function(_0x4c7e5a,_0x22f95b){return _0x4c7e5a===_0x22f95b;},'hOkym':_0x1f968a(0xba),'tLSTy':function(_0x4a24b5,_0x32c346){return _0x4a24b5>_0x32c346;},'rAUFj':function(_0x235343,_0x2d4e86){return _0x235343(_0x2d4e86);},'cFsPE':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','CjIfR':function(_0x191071,_0x276a16){return _0x191071===_0x276a16;},'GtMhR':_0x1f968a(0xf8),'jiqoJ':function(_0x12ed95,_0x42cfd6){return _0x12ed95===_0x42cfd6;},'GMNad':'playwright-chromium','dOFep':_0x1f968a(0xe0),'bTYjF':_0x1f968a(0xf6)};if(_0x1d395d[_0x1f968a(0xee)](isAccessibilityAutomationSession)){const _0x39dd69=_0x41952d[_0x1f968a(0xc2)],_0x3926d5=_0x39dd69[_0x1f968a(0xcf)];global[_0x1f968a(0xe5)]=!![],!(_0x1d395d[_0x1f968a(0xe6)](_0x3926d5[_0x1f968a(0xd8)],_0x1d395d[_0x1f968a(0xf7)])||_0x1d395d[_0x1f968a(0xc6)](_0x1d395d['rAUFj'](parseInt,_0x3926d5['browserVersion']),0x5e))&&(logger['warn'](_0x1d395d['cFsPE']),global['accessibilityPlatform']=![]),!(_0x1d395d[_0x1f968a(0xbd)](_0x3926d5[_0x1f968a(0xc4)],_0x1d395d['GtMhR'])||_0x1d395d['jiqoJ'](_0x3926d5[_0x1f968a(0xc4)],_0x1d395d[_0x1f968a(0xde)]))&&(logger['warn'](_0x1d395d['dOFep']),global[_0x1f968a(0xe5)]=![]),!_0x1d395d[_0x1f968a(0xda)](isUndefined,_0x3926d5[_0x1f968a(0xb8)])&&(logger[_0x1f968a(0xe9)](_0x1d395d[_0x1f968a(0xd6)]),global[_0x1f968a(0xe5)]=![]);}},exports[a3_0x96f371(0xe1)]=_0x1e098d=>{const _0x4899f9=a3_0x96f371,_0x335726={};_0x335726['mUTKF']=_0x4899f9(0xdd),_0x335726[_0x4899f9(0xe8)]=_0x4899f9(0xcc);const _0xdc883a=_0x335726;if(!_0x1e098d)return![];return!_0x1e098d['includes'](_0xdc883a[_0x4899f9(0xb9)])&&!_0x1e098d[_0x4899f9(0xce)](_0xdc883a[_0x4899f9(0xe8)]);};
@@ -1 +1 @@
1
- const a4_0x4452a1=a4_0x40c4;function a4_0x40c4(_0x479e73,_0x2eb532){const _0x2aee17=a4_0x2aee();return a4_0x40c4=function(_0x40c4f0,_0x266a49){_0x40c4f0=_0x40c4f0-0x1ca;let _0xa58bb8=_0x2aee17[_0x40c4f0];return _0xa58bb8;},a4_0x40c4(_0x479e73,_0x2eb532);}(function(_0x48b5bf,_0x1efb33){const _0x8f7c02=a4_0x40c4,_0xce4198=_0x48b5bf();while(!![]){try{const _0x4b3ac4=-parseInt(_0x8f7c02(0x228))/0x1*(-parseInt(_0x8f7c02(0x25f))/0x2)+-parseInt(_0x8f7c02(0x2ac))/0x3+parseInt(_0x8f7c02(0x292))/0x4+-parseInt(_0x8f7c02(0x289))/0x5+parseInt(_0x8f7c02(0x29e))/0x6+parseInt(_0x8f7c02(0x295))/0x7*(parseInt(_0x8f7c02(0x2b3))/0x8)+-parseInt(_0x8f7c02(0x200))/0x9*(parseInt(_0x8f7c02(0x1f6))/0xa);if(_0x4b3ac4===_0x1efb33)break;else _0xce4198['push'](_0xce4198['shift']());}catch(_0x17715a){_0xce4198['push'](_0xce4198['shift']());}}}(a4_0x2aee,0xa3512));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x4452a1(0x22e)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x4452a1(0x205)),{getTestEnv}=require(a4_0x4452a1(0x220)),{FRAMEWORKS}=require(a4_0x4452a1(0x1fe)),logger=require('../../helpers/logger')[a4_0x4452a1(0x240)],SessionHandler=require(a4_0x4452a1(0x21b)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x4452a1(0x202)),Constants=require(a4_0x4452a1(0x1cb)),{fetchPlatformDetails}=require(a4_0x4452a1(0x26f)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x4452a1(0x231)),constants=require(a4_0x4452a1(0x1cb)),STATE_PASSED=a4_0x4452a1(0x256),STATE_FAILED=a4_0x4452a1(0x24c),a4_0x2c5721={};a4_0x2c5721[a4_0x4452a1(0x273)]=a4_0x4452a1(0x250),a4_0x2c5721['TEST_RUN_FINISHED']=a4_0x4452a1(0x27a),a4_0x2c5721[a4_0x4452a1(0x25c)]=a4_0x4452a1(0x216),a4_0x2c5721[a4_0x4452a1(0x26e)]=a4_0x4452a1(0x2ad),a4_0x2c5721[a4_0x4452a1(0x285)]='HookRunFinished';function a4_0x2aee(){const _0x1f7663=['eUOrU','ctx','STATE_PASSED','Fsxrc','PKQDu','split','hook_run_uuid','fqpyD','tnxCb','uVLqx','7157270LTFanW','success','bs:addLog:','markedStatus','client','sendCBTInfo','__platformCaps','result','../../helpers/test-observability/constants','LUaKm','18ycPcgq','getFailureType','../playwright/accessibility-helper','failureData','finished','../../helpers/test-observability/utils','start','iDblj','inspect','toUpperCase','GVMUC','file_name','launch','dirname','resetSkipTestHooks','pending','sVTbP','pLYXf','SAOiv','message','O11yHelper','err','TestRunSkipped','VHJEE','fullTitle','driver','bOTLi','../../helpers/test-observability/sessionHandler','javascript','join','YUZnS','uploadEventData','../mocha/test-observability/mochaUtils','fBYmc','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','PIPAj','hOmvz','startedAt','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','qXQUu','3994LjkBHZ','apply','Not\x20able\x20to\x20import\x20Browser','TebgO','getInstance','toLowerCase','uuid','util','File\x20path\x20could\x20not\x20be\x20found','../../helpers/testhub/utils.js','RUndm','debug','SuFIY','browserstack','FHwOZ','EoDvO','aHTGR','fireEvent','Wevkf','UMDMk','started','event_type','BMucZ','\x20with\x20error\x20:\x20','winstonLogger','hNiBc','_paths','tAAuj','frameworkName','fpjYS','mapTestHooks','statSync','find','shutdown','_afterAll','QCIlx','failed','test','stepAnalyticsId','Vpqxh','TestRunStarted','sQtAB','CBTSessionCreated','Playwright','AxZyq','sep','passed','MZgPs','getTime','patchConsoleLogger','integrations','JuMNx','TEST_RUN_SKIPPED','ulLjb','uStgQ','534ryBRKn','hook','LDLjO','includes','Yzlgt','getHierarchy','RJsLT','mfeNA','qvgmU','_beforeEach','XLncK','test_run','findGitConfig','VKntd','FmLNb','HOOK_RUN_STARTED','./helper.js','expanded','EABlO','wrhxk','TEST_RUN_STARTED','leukc','retryOf','TEST_RUN_FINISHED','QwBjA','mbysx','testAnalyticsId','TestRunFinished','UXXQD','hook_run','string','currentHook','title','stop','wUJYk','skipped','tags','initializeBddStep','HOOK_RUN_FINISHED','1|0|2|3|5|4','getHookType','bddSteps','5789060rzqYuL','phpXD','_afterEach','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','BROWSERSTACK','bddStepStart','GvlHC','HRaAp','xtJMk','4274924LcdGWA','captureEvent','dLxks','97426ikblUp','dfylN','YiuBE','enabled','ELkom','then','FdWcN','logs','defineProperty','1013052SfbLOG','lib','pid','currentTest','jXkoY','_beforeAll','bRgad','appendTestItemLog','TEST_EVENTS','uLYfy','TEST_REPORTING_ANALYTICS','connectOverCDP','now','PdSJw','143565XdinTR','HookRunStarted','failure_reason_expanded','PLAYWRIGHT_HUB_URL','groups','jofOv','GbVbM','576TEHgFE','finished_at','mZOSm','lChEA','hook_type','parent','failure','match','push','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','getHooksForTest','bind','../utils/constants','DBYZM','getCBTInfo','prefixTestPath','mkJXC','lDHow','_testEnv','relative','replace','connect','toISOString','getRootParentFile','length','OmUKl','ktZgn','uwwHN','QLftg','setupBrowserDetails','file','status','hookAnalyticsId','.git','suites','errorsDetailed','kiWQu','config','miGBV','removeAllListeners','wsEndpoint','forEach','bddStepFinish','cwd','fKeHJ'];a4_0x2aee=function(){return _0x1f7663;};return a4_0x2aee();}const TEST_EVENTS=a4_0x2c5721,parseEvent=_0x528af0=>{const _0x544a0c=a4_0x4452a1,_0x4925b4={};_0x4925b4['GvlHC']=function(_0x264133,_0x4da277){return _0x264133<_0x4da277;},_0x4925b4[_0x544a0c(0x25b)]=function(_0x37be2d,_0x4d697d){return _0x37be2d===_0x4d697d;},_0x4925b4[_0x544a0c(0x290)]=_0x544a0c(0x24d),_0x4925b4[_0x544a0c(0x265)]=_0x544a0c(0x260),_0x4925b4[_0x544a0c(0x263)]=function(_0x2011a5,_0x30e9e3){return _0x2011a5===_0x30e9e3;},_0x4925b4[_0x544a0c(0x24f)]='skipped',_0x4925b4[_0x544a0c(0x2a4)]=function(_0x368c83,_0x497316){return _0x368c83===_0x497316;},_0x4925b4[_0x544a0c(0x1d8)]=_0x544a0c(0x23c),_0x4925b4[_0x544a0c(0x237)]=function(_0x53f760,_0x348083){return _0x53f760===_0x348083;},_0x4925b4['QwBjA']='finished';const _0x356a69=_0x4925b4,_0x2444b8=_0x528af0[_0x544a0c(0x2ba)](/^(.*)Run(.*)$/);if(!_0x2444b8)return null;if(_0x356a69[_0x544a0c(0x28f)](_0x2444b8[_0x544a0c(0x1d7)],0x3))return null;const _0x34c738=_0x2444b8[0x1][_0x544a0c(0x22d)](),_0x140995=_0x2444b8[0x2][_0x544a0c(0x22d)]();return{'test':_0x356a69[_0x544a0c(0x25b)](_0x34c738,_0x356a69['HRaAp']),'hook':_0x356a69[_0x544a0c(0x25b)](_0x34c738,_0x356a69[_0x544a0c(0x265)]),'skipped':_0x356a69[_0x544a0c(0x263)](_0x140995,_0x356a69[_0x544a0c(0x24f)]),'started':_0x356a69['bRgad'](_0x140995,_0x356a69[_0x544a0c(0x1d8)]),'finished':_0x356a69[_0x544a0c(0x237)](_0x140995,_0x356a69[_0x544a0c(0x277)])};},mockPWBrowserType=_0x546654=>{const _0x5a22d9=a4_0x4452a1,_0x3a7d57={'ulLjb':function(_0x151b84,_0x3b8a69){return _0x151b84===_0x3b8a69;},'uLYfy':_0x5a22d9(0x27d),'aYxVF':function(_0x497e45,_0x5658c7,_0x504530){return _0x497e45(_0x5658c7,_0x504530);},'XLncK':'wsEndpoint','vRiHc':function(_0x4aad19,_0x273732){return _0x4aad19(_0x273732);},'kiWQu':_0x5a22d9(0x235),'MZgPs':function(_0x30aae4,_0x1a1e5c){return _0x30aae4(_0x1a1e5c);},'xtJMk':_0x5a22d9(0x29f),'tAAuj':_0x5a22d9(0x1fa),'bOTLi':'browserType.js','hNiBc':function(_0x399a4d,_0x4fd63e){return _0x399a4d(_0x4fd63e);},'eUOrU':_0x5a22d9(0x22a),'PIPAj':_0x5a22d9(0x1d4),'ELkom':_0x5a22d9(0x20c)},_0x4da5be=path[_0x5a22d9(0x21d)](_0x3a7d57[_0x5a22d9(0x291)],_0x3a7d57[_0x5a22d9(0x243)],_0x3a7d57[_0x5a22d9(0x21a)]),_0xc95145=_0x3a7d57['hNiBc'](importFileFromPWCore,_0x4da5be);if(!_0xc95145){_0x3a7d57[_0x5a22d9(0x241)](debug,_0x3a7d57[_0x5a22d9(0x1ec)]);return;}const _0x9f3a3a=_0xc95145['BrowserType'],_0xd163b6=_0x9f3a3a['prototype'];if(_0xd163b6['obsBrowserTypeMockApplied'])return;const _0x5d7f6c=_0xd163b6[_0x5a22d9(0x1d4)];Object[_0x5a22d9(0x29d)](_0xd163b6,_0x3a7d57[_0x5a22d9(0x223)],{'get':function(){const _0x27e627=_0x5a22d9,_0x3a14cd={'FwCyB':function(_0x1e0a54,_0x1f4f4d){const _0x341526=a4_0x40c4;return _0x3a7d57[_0x341526(0x25d)](_0x1e0a54,_0x1f4f4d);},'UXXQD':_0x3a7d57[_0x27e627(0x2a7)],'tnxCb':function(_0x39ca2c,_0x5f2b44,_0x1ac53d){return _0x3a7d57['aYxVF'](_0x39ca2c,_0x5f2b44,_0x1ac53d);},'wnKWH':_0x3a7d57[_0x27e627(0x269)],'uVLqx':function(_0x332c15,_0x5ccaa5){return _0x3a7d57['vRiHc'](_0x332c15,_0x5ccaa5);},'YiuBE':_0x3a7d57[_0x27e627(0x1e3)],'phpXD':function(_0x484457,_0x5d8bdf){const _0x18c425=_0x27e627;return _0x3a7d57[_0x18c425(0x257)](_0x484457,_0x5d8bdf);}};return async function _0x7d7d52(_0x28d47e,_0xcb9047){const _0x1b128f=_0x27e627,_0x2c2292={'ZWDDh':function(_0x49c45e,_0x3b913a){return _0x3a14cd['FwCyB'](_0x49c45e,_0x3b913a);},'FdWcN':_0x3a14cd[_0x1b128f(0x27b)]},_0x48ffc0=_0x3a14cd[_0x1b128f(0x1f4)](nestedKeyValue,_0x28d47e,[_0x3a14cd['wnKWH']])||_0x28d47e;let _0x52e656=null,_0x1c4804=null;try{[_0x1c4804,_0x52e656]=_0x48ffc0?_0x3a14cd[_0x1b128f(0x1f5)](parseWSEndpoint,_0x48ffc0):[null,null],global[_0x1b128f(0x1fc)]=_0x52e656,logger[_0x1b128f(0x233)](_0x1b128f(0x226)+_0x1c4804),_0x1c4804['includes'](Constants[_0x1b128f(0x28d)])&&(global['__cloud_provider___']=_0x3a14cd[_0x1b128f(0x297)]);}catch(_0x7d9bed){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x48ffc0+'\x20'+_0x7d9bed);}_0x3a14cd[_0x1b128f(0x1f4)](processAccessibilityCaps,_0x52e656,_0x1c4804);if(global['accessibilityPlatform']){const _0x514aa9=await _0xd163b6[_0x1b128f(0x2a9)][_0x1b128f(0x229)](this,[''+Constants[_0x1b128f(0x2af)]+_0x3a14cd[_0x1b128f(0x28a)](encodeURIComponent,JSON['stringify'](_0x52e656))]);return PlaywrightSessionDetails[_0x1b128f(0x1dc)](_0x514aa9,_0x546654,_0x48ffc0),_0x514aa9;}return _0x5d7f6c[_0x1b128f(0x229)](this,arguments)[_0x1b128f(0x29a)](_0x45a7a8=>{const _0x23d5df=_0x1b128f;let _0x3bd1a5=_0x28d47e[_0x23d5df(0x1e7)];return _0x2c2292['ZWDDh'](typeof _0x28d47e,_0x2c2292[_0x23d5df(0x29b)])&&(_0x3bd1a5=_0x28d47e),PlaywrightSessionDetails['setupBrowserDetails'](_0x45a7a8,_0x546654,_0x3bd1a5),_0x45a7a8;});};}});const _0xe011d5=_0xd163b6['launch'];Object['defineProperty'](_0xd163b6,_0x3a7d57[_0x5a22d9(0x299)],{'get':function(){return async function _0x1da087(){const _0x30a10a=a4_0x40c4;return _0xe011d5[_0x30a10a(0x229)](this,arguments)[_0x30a10a(0x29a)](_0x1066ac=>{const _0x1a576a=_0x30a10a;return PlaywrightSessionDetails[_0x1a576a(0x1dc)](_0x1066ac,null),_0x1066ac;});};}});};class O11yHelper{[a4_0x4452a1(0x2a1)]=null;[a4_0x4452a1(0x27e)]=null;[a4_0x4452a1(0x298)]=![];[a4_0x4452a1(0x244)]=![];constructor(_0x4c8f69,_0x293227){const _0x443cfe=a4_0x4452a1,_0x5167d7={'Sjnll':_0x443cfe(0x286),'aglxE':function(_0x11a01a){return _0x11a01a();},'LUaKm':function(_0x40a295){return _0x40a295();},'Fsxrc':function(_0x139b58,_0x1daa6d){return _0x139b58===_0x1daa6d;},'VKntd':_0x443cfe(0x253),'QLftg':function(_0x56a3dc,_0x1c9a30){return _0x56a3dc(_0x1c9a30);}},_0x3f0b4f=_0x5167d7['Sjnll'][_0x443cfe(0x1f1)]('|');let _0x585bbc=0x0;while(!![]){switch(_0x3f0b4f[_0x585bbc++]){case'0':this[_0x443cfe(0x244)]=_0x293227[_0x443cfe(0x244)];continue;case'1':this['enabled']=_0x5167d7['aglxE'](shouldProcessEventForTesthub);continue;case'2':this['driver']=_0x4c8f69;continue;case'3':this[_0x443cfe(0x1d1)]=_0x5167d7[_0x443cfe(0x1ff)](getTestEnv);continue;case'4':this[_0x443cfe(0x219)]&&_0x5167d7[_0x443cfe(0x1ef)](this[_0x443cfe(0x219)]['constructor']['name'],_0x5167d7[_0x443cfe(0x26c)])&&_0x5167d7[_0x443cfe(0x1db)](mockPWBrowserType,null);continue;case'5':this[_0x443cfe(0x242)]=new testOpsHelper['PathHelper']({'cwd':process[_0x443cfe(0x1ea)]()},this[_0x443cfe(0x1d1)]['location_prefix']);continue;}break;}}[a4_0x4452a1(0x206)](){const _0x3c0866=a4_0x4452a1;if(!this[_0x3c0866(0x298)])return;testOpsHelper[_0x3c0866(0x259)](),process[_0x3c0866(0x1e6)](_0x3c0866(0x1f8)+process[_0x3c0866(0x2a0)]),process['on']('bs:addLog:'+process['pid'],this[_0x3c0866(0x2a5)][_0x3c0866(0x1ca)](this));}async[a4_0x4452a1(0x280)](){const _0x11d773=a4_0x4452a1;await RequestQueueHandler[_0x11d773(0x22c)]()[_0x11d773(0x249)]();}async['appendTestItemLog'](_0x3371db){const _0x37d56f=a4_0x4452a1,_0x2a9101={'leukc':'LogCreated','VHJEE':function(_0x256d2c,_0x2f2e68){return _0x256d2c(_0x2f2e68);}};try{this['currentHook']&&!this['currentHook'][_0x37d56f(0x1f9)]&&(_0x3371db[_0x37d56f(0x1f2)]=this['currentHook'][_0x37d56f(0x1df)]);!_0x3371db[_0x37d56f(0x1f2)]&&this[_0x37d56f(0x2a1)]&&!this[_0x37d56f(0x2a1)]['markedStatus']&&(_0x3371db['test_run_uuid']=this[_0x37d56f(0x2a1)][_0x37d56f(0x279)]);if(_0x3371db[_0x37d56f(0x1f2)]||_0x3371db['test_run_uuid']){const _0x287d70={};_0x287d70[_0x37d56f(0x23d)]=_0x2a9101[_0x37d56f(0x274)],_0x287d70[_0x37d56f(0x29c)]=[_0x3371db],await SessionHandler['uploadEventData'](_0x287d70);}}catch(_0x21d440){_0x2a9101[_0x37d56f(0x217)](debug,_0x37d56f(0x222)+constants[_0x37d56f(0x2a8)]+_0x37d56f(0x23f)+_0x21d440);}}async[a4_0x4452a1(0x1fb)](_0x220fa7){const _0x4c04f7=a4_0x4452a1,_0x2593e8={'dLxks':_0x4c04f7(0x252),'PKQDu':function(_0x5e9879,_0x392998){return _0x5e9879(_0x392998);}};if(!this[_0x4c04f7(0x298)])return;const _0xf39a54=this[_0x4c04f7(0x1cd)](this['driver']);try{const _0x2bf778={};_0x2bf778[_0x4c04f7(0x22e)]=_0x220fa7,_0x2bf778[_0x4c04f7(0x25a)]=_0xf39a54;const _0x2530b2=_0x2bf778,_0x155522={};_0x155522[_0x4c04f7(0x23d)]=_0x2593e8[_0x4c04f7(0x294)],_0x155522[_0x4c04f7(0x26a)]=_0x2530b2,await SessionHandler[_0x4c04f7(0x21f)](_0x155522);}catch(_0x6e07f9){_0x2593e8[_0x4c04f7(0x1f0)](debug,_0x4c04f7(0x2bc)+constants[_0x4c04f7(0x2a8)]+_0x4c04f7(0x23f)+_0x6e07f9);}}[a4_0x4452a1(0x1cd)](_0x12c7f1){const _0x5b4b85=a4_0x4452a1,_0x595f52={'jXkoY':function(_0x1f1d9e,_0x266f41){return _0x1f1d9e(_0x266f41);}};return _0x595f52[_0x5b4b85(0x2a2)](fetchPlatformDetails,_0x12c7f1);}[a4_0x4452a1(0x20e)]=_0xbcab8c=>{const _0x2e6c79=a4_0x4452a1,_0x2bf532={};_0x2bf532[_0x2e6c79(0x271)]=_0x2e6c79(0x268),_0x2bf532[_0x2e6c79(0x278)]=_0x2e6c79(0x28b);const _0x359322=_0x2bf532;if(!_0xbcab8c||!_0xbcab8c[_0x2e6c79(0x2b8)])return;[_0x359322['EABlO'],_0x359322[_0x2e6c79(0x278)]][_0x2e6c79(0x1e8)](_0xe04220=>{const _0x5e3545=_0x2e6c79,_0x31eab3=_0xbcab8c[_0x5e3545(0x2b8)][_0xe04220];_0x31eab3[_0x5e3545(0x1e8)](_0x48882c=>{const _0x435a83=_0x5e3545;_0x48882c[_0x435a83(0x1df)]&&(_0x48882c[_0x435a83(0x1df)]=null);});});};[a4_0x4452a1(0x246)](_0x7305c2){const _0x565702=a4_0x4452a1,_0x8b3b5e={'AClmv':'codeceptjs','FmLNb':function(_0x20ad5c){return _0x20ad5c();},'iDblj':function(_0x49a63a,_0x654d){return _0x49a63a===_0x654d;},'GVMUC':_0x565702(0x28b),'mZOSm':_0x565702(0x2a3),'mkJXC':_0x565702(0x24a),'RUndm':_0x565702(0x268)};if(!_0x7305c2||!_0x7305c2[_0x565702(0x2b8)])return;[_0x8b3b5e[_0x565702(0x2b5)],_0x8b3b5e[_0x565702(0x1cf)],_0x8b3b5e[_0x565702(0x232)],_0x8b3b5e[_0x565702(0x20a)]][_0x565702(0x1e8)](_0x1b8676=>{const _0x2722e0=_0x565702,_0x5d5563=_0x7305c2[_0x2722e0(0x2b8)][_0x1b8676]||[];_0x5d5563[_0x2722e0(0x1e8)](_0xb62c52=>{const _0x8391b2=_0x2722e0;if(_0xb62c52[_0x8391b2(0x27f)][_0x8391b2(0x262)](_0x8b3b5e['AClmv']))return;if(!_0xb62c52['hookAnalyticsId'])_0xb62c52[_0x8391b2(0x1df)]=_0x8b3b5e[_0x8391b2(0x26d)](uuidv4);else _0xb62c52['markedStatus']&&_0x8b3b5e[_0x8391b2(0x207)](_0x1b8676,_0x8b3b5e[_0x8391b2(0x20a)])&&(_0xb62c52['hookAnalyticsId']=_0x8b3b5e['FmLNb'](uuidv4),delete _0xb62c52[_0x8391b2(0x1f9)]);});}),this[_0x565702(0x246)](_0x7305c2[_0x565702(0x2b8)]);}[a4_0x4452a1(0x2bd)](_0x57ad8e){const _0x4eb12f=a4_0x4452a1,_0x102b8b={};_0x102b8b[_0x4eb12f(0x254)]=_0x4eb12f(0x2a3),_0x102b8b[_0x4eb12f(0x224)]=_0x4eb12f(0x24a),_0x102b8b[_0x4eb12f(0x281)]=_0x4eb12f(0x268),_0x102b8b['PHeKZ']=_0x4eb12f(0x28b);const _0x34cdc7=_0x102b8b;if(!_0x57ad8e||!_0x57ad8e[_0x4eb12f(0x2b8)])return[];const _0x23b257=[];return[_0x34cdc7[_0x4eb12f(0x254)],_0x34cdc7['hOmvz'],_0x34cdc7[_0x4eb12f(0x281)],_0x34cdc7['PHeKZ']]['forEach'](_0x1374cb=>{const _0x27e152=_0x4eb12f,_0x287b55=_0x57ad8e[_0x27e152(0x2b8)][_0x1374cb]||[];_0x287b55[_0x27e152(0x1e8)](_0x2b5d7d=>{const _0x3a29=_0x27e152;_0x2b5d7d[_0x3a29(0x1df)]&&_0x23b257[_0x3a29(0x2bb)](_0x2b5d7d['hookAnalyticsId']);});}),[]['concat'](_0x23b257,this['getHooksForTest'](_0x57ad8e[_0x4eb12f(0x2b8)]));}[a4_0x4452a1(0x287)](_0x3cc4de){const _0x4d872=a4_0x4452a1,_0x24171e=/^"(?<hook>.*)" hook:.*$/,_0x19123b=_0x3cc4de[_0x4d872(0x27f)],_0xbb4e2c=_0x19123b[_0x4d872(0x2ba)](_0x24171e);if(_0xbb4e2c&&_0xbb4e2c[_0x4d872(0x2b0)])return _0xbb4e2c['groups'][_0x4d872(0x260)][_0x4d872(0x209)]()[_0x4d872(0x1d3)]('\x20','_');return null;}[a4_0x4452a1(0x26b)](_0x38d29a){const _0xd91f4f=a4_0x4452a1,_0x475bfc={};_0x475bfc['SuFIY']=function(_0x642d67,_0x3abdb3){return _0x642d67===_0x3abdb3;},_0x475bfc['DBYZM']=function(_0x295293,_0x5d1e27){return _0x295293===_0x5d1e27;},_0x475bfc[_0xd91f4f(0x212)]=function(_0x3797fb,_0x2dacc7){return _0x3797fb===_0x2dacc7;},_0x475bfc['FlwYp']=_0xd91f4f(0x1e0),_0x475bfc[_0xd91f4f(0x245)]=_0xd91f4f(0x1e4);const _0x3983e8=_0x475bfc,_0x21ba0e=path[_0xd91f4f(0x255)];if(_0x3983e8[_0xd91f4f(0x234)](_0x38d29a,null)||_0x3983e8[_0xd91f4f(0x234)](_0x38d29a,'')||_0x3983e8[_0xd91f4f(0x1cc)](_0x38d29a,_0x21ba0e)||_0x3983e8['SAOiv'](_0x38d29a,path[_0xd91f4f(0x20d)](_0x38d29a)))return null;try{return fs[_0xd91f4f(0x247)](path[_0xd91f4f(0x21d)](_0x38d29a,_0x3983e8['FlwYp'],_0x3983e8[_0xd91f4f(0x245)])),_0x38d29a;}catch(_0x1d615b){const _0x245723=path[_0xd91f4f(0x20d)](_0x38d29a);return this['findGitConfig'](_0x245723);}}[a4_0x4452a1(0x1d6)](_0x1bd8f8){const _0x14d916=a4_0x4452a1,_0x37fa8f={};_0x37fa8f[_0x14d916(0x25e)]=function(_0x13cc6f,_0x37eccd){return _0x13cc6f>_0x37eccd;};const _0x103bd4=_0x37fa8f;if(_0x1bd8f8['file'])return _0x1bd8f8[_0x14d916(0x1dd)];if(_0x1bd8f8[_0x14d916(0x1ed)]){const _0x3589fd=_0x1bd8f8['ctx'][_0x14d916(0x2a1)]?this[_0x14d916(0x1d6)](_0x1bd8f8[_0x14d916(0x1ed)][_0x14d916(0x2a1)]):null;if(_0x3589fd)return _0x3589fd;}if(_0x1bd8f8[_0x14d916(0x2b8)]){const _0x25b984=this[_0x14d916(0x1d6)](_0x1bd8f8[_0x14d916(0x2b8)])||(_0x1bd8f8[_0x14d916(0x2b8)][_0x14d916(0x1ed)]&&_0x1bd8f8[_0x14d916(0x2b8)][_0x14d916(0x1ed)][_0x14d916(0x2a1)]?this[_0x14d916(0x1d6)](_0x1bd8f8[_0x14d916(0x2b8)][_0x14d916(0x1ed)][_0x14d916(0x2a1)]):null);if(_0x25b984)return _0x25b984;_0x1bd8f8[_0x14d916(0x2b8)][_0x14d916(0x1e1)]&&_0x103bd4[_0x14d916(0x25e)](_0x1bd8f8[_0x14d916(0x2b8)][_0x14d916(0x1e1)][_0x14d916(0x1d7)],0x0)&&_0x1bd8f8[_0x14d916(0x2b8)][_0x14d916(0x1e1)][_0x14d916(0x1e8)](_0x510a85=>{const _0x4e57b6=_0x14d916,_0x47ae0e=_0x510a85[_0x4e57b6(0x1ed)]?this['getRootParentFile'](_0x510a85[_0x4e57b6(0x1ed)]):null;if(_0x47ae0e)return _0x47ae0e;});}return null;}[a4_0x4452a1(0x264)](_0x3c6d08){const _0x4ea343=a4_0x4452a1,_0x19052c={};_0x19052c['Wevkf']=function(_0x3097f3,_0xbcbcd){return _0x3097f3!==_0xbcbcd;};const _0x54d268=_0x19052c,_0x27697c=[];if(_0x3c6d08&&_0x3c6d08[_0x4ea343(0x2b8)]){let _0x17c419=_0x3c6d08['parent'];while(_0x17c419&&_0x54d268[_0x4ea343(0x23a)](_0x17c419[_0x4ea343(0x27f)],'')){_0x27697c['push'](_0x17c419['title']),_0x17c419=_0x17c419['parent'];}}return _0x27697c;}[a4_0x4452a1(0x293)](_0x48b9ad,_0x1b17ef,_0x3e7673=undefined){const _0x3ee2cf=a4_0x4452a1,_0x320dc1={'uwwHN':function(_0x32320a,_0x2168a2){return _0x32320a(_0x2168a2);},'dfylN':function(_0x5ba9c3){return _0x5ba9c3();},'FHwOZ':function(_0x2b7611){return _0x2b7611();},'fKeHJ':_0x3ee2cf(0x22f),'hbWWt':_0x3ee2cf(0x215),'sVTbP':function(_0x20b978,_0x3d2ce6){return _0x20b978!==_0x3d2ce6;},'LDLjO':function(_0x46dbce,_0x3370b2){return _0x46dbce!==_0x3370b2;},'aHTGR':_0x3ee2cf(0x230),'QCIlx':_0x3ee2cf(0x20f),'qvgmU':_0x3ee2cf(0x24c),'YUZnS':_0x3ee2cf(0x256),'jofOv':_0x3ee2cf(0x282),'PdSJw':_0x3ee2cf(0x21c),'bEjEW':function(_0x319197,_0xab57fd){return _0x319197-_0xab57fd;},'TebgO':function(_0x47744d,_0x4c560e,_0x3e60b6,_0x577ebd,_0x3d69f5){return _0x47744d(_0x4c560e,_0x3e60b6,_0x577ebd,_0x3d69f5);},'mEoxI':'integrations','fBYmc':'meta','wrhxk':_0x3ee2cf(0x2b9),'GbVbM':'failure_backtrace','mfeNA':'backtrace','ktZgn':_0x3ee2cf(0x2ae),'qXQUu':_0x3ee2cf(0x270),'tHJDs':function(_0x25d83c,_0x40df71){return _0x25d83c===_0x40df71;},'fqpyD':_0x3ee2cf(0x27c),'lChEA':_0x3ee2cf(0x26a)};if(!this[_0x3ee2cf(0x298)])return;try{if(_0x1b17ef['fn']&&_0x1b17ef['fn']['toString']()[_0x3ee2cf(0x2ba)](/browserstack internal helper hook/))return;const _0xc1337b=_0x320dc1[_0x3ee2cf(0x1da)](parseEvent,_0x48b9ad);if(!_0xc1337b)return;if(_0xc1337b[_0x3ee2cf(0x24d)]){this[_0x3ee2cf(0x2a1)]=_0x1b17ef,this[_0x3ee2cf(0x27e)]=null;if(_0xc1337b[_0x3ee2cf(0x23c)]||_0xc1337b['skipped']){_0x1b17ef[_0x3ee2cf(0x225)]=new Date(),_0x1b17ef[_0x3ee2cf(0x1f9)]=![];if(!_0x1b17ef[_0x3ee2cf(0x279)])_0x1b17ef[_0x3ee2cf(0x279)]=_0x320dc1[_0x3ee2cf(0x296)](uuidv4);else _0x1b17ef['markedStatus']&&(!_0x1b17ef['retryOf']&&(_0x1b17ef[_0x3ee2cf(0x275)]=_0x1b17ef['testAnalyticsId']),_0x1b17ef[_0x3ee2cf(0x279)]=_0x320dc1[_0x3ee2cf(0x236)](uuidv4));}}else{if(_0xc1337b[_0x3ee2cf(0x260)]){this['currentHook']=_0x1b17ef;if(_0xc1337b['started']){_0x1b17ef[_0x3ee2cf(0x225)]=new Date(),_0x1b17ef[_0x3ee2cf(0x1f9)]=![];if(!_0x1b17ef[_0x3ee2cf(0x1df)])_0x1b17ef[_0x3ee2cf(0x1df)]=_0x320dc1[_0x3ee2cf(0x296)](uuidv4);else _0x1b17ef['hookAnalyticsId']&&_0x1b17ef['markedStatus']&&(_0x1b17ef[_0x3ee2cf(0x1df)]=_0x320dc1[_0x3ee2cf(0x236)](uuidv4));}}}if(_0xc1337b['finished']&&_0x1b17ef[_0x3ee2cf(0x1f9)])return;let _0x1c27ab;try{_0x1c27ab=this[_0x3ee2cf(0x1d6)](_0x1b17ef);}catch(_0x558625){logger[_0x3ee2cf(0x233)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x558625),_0x1c27ab=null;}const _0x40a2aa=_0x320dc1[_0x3ee2cf(0x1da)](require,_0x320dc1[_0x3ee2cf(0x1eb)]);let _0x3855db=[];_0x3e7673&&(_0x3855db=[_0x3e7673,_0x320dc1['hbWWt']]);const _0x846bb2=_0x320dc1[_0x3ee2cf(0x210)](_0x1b17ef[_0x3ee2cf(0x1e2)],undefined)?_0x40a2aa[_0x3ee2cf(0x208)](_0x1b17ef[_0x3ee2cf(0x1e2)][0x0]):_0x320dc1[_0x3ee2cf(0x261)](_0x3e7673,undefined)?_0x3e7673['toString']():undefined,_0x5506d3=_0x1c27ab?this[_0x3ee2cf(0x26b)](_0x1c27ab):null,_0x11a092=_0x1c27ab?this[_0x3ee2cf(0x242)][_0x3ee2cf(0x1ce)](this['getRootParentFile'](_0x1b17ef)):_0x320dc1[_0x3ee2cf(0x238)];let _0x4ba86e=_0x320dc1['QCIlx'];const _0x4d62e9=!_0xc1337b[_0x3ee2cf(0x23c)]?new Date()['toISOString']():null;if(_0xc1337b['finished'])_0x4ba86e=_0x3e7673?_0x320dc1['qvgmU']:_0x320dc1[_0x3ee2cf(0x21e)],_0x1b17ef[_0x3ee2cf(0x1f9)]=!![];else _0xc1337b[_0x3ee2cf(0x282)]&&(_0x4ba86e=_0x320dc1[_0x3ee2cf(0x2b1)],_0x1b17ef['markedStatus']=!![]);const _0x4b9f38={'framework':this[_0x3ee2cf(0x244)],'uuid':_0x1b17ef[_0x3ee2cf(0x279)]||_0x1b17ef['hookAnalyticsId'],'name':_0x1b17ef['title'],'body':{'lang':_0x320dc1[_0x3ee2cf(0x2ab)],'code':_0x1b17ef['body']['toString']()},'type':_0x1b17ef['type'],'scope':_0x1b17ef[_0x3ee2cf(0x218)](),'scopes':this[_0x3ee2cf(0x264)](_0x1b17ef),'file_name':_0x11a092,'vc_filepath':_0x5506d3?path[_0x3ee2cf(0x1d2)](_0x5506d3,_0x1c27ab):null,'location':_0x11a092,'result':_0x4ba86e,'failure_reason':_0x846bb2,'duration_in_ms':_0x1b17ef['duration']||(_0xc1337b[_0x3ee2cf(0x204)]||_0xc1337b[_0x3ee2cf(0x282)])?_0x320dc1['bEjEW'](Date[_0x3ee2cf(0x2aa)](),new Date(_0x1b17ef[_0x3ee2cf(0x225)])[_0x3ee2cf(0x258)]()):null,'started_at':new Date(_0x1b17ef[_0x3ee2cf(0x225)])[_0x3ee2cf(0x1d5)](),'finished_at':_0x4d62e9,'failure':testOpsHelper[_0x3ee2cf(0x203)][_0x3ee2cf(0x229)](null,_0x3855db),'failure_type':!_0x846bb2?null:testOpsHelper[_0x3ee2cf(0x201)](_0x846bb2),'retry_of':_0x1b17ef[_0x3ee2cf(0x275)]||null,'tags':_0x1b17ef[_0x3ee2cf(0x283)]||[],'customRerunParam':{'rerun_name':_0x1b17ef[_0x3ee2cf(0x218)]()}};_0x320dc1[_0x3ee2cf(0x22b)](appendTesthubParams,_0x4b9f38,_0x48b9ad,_0x1b17ef,FRAMEWORKS['CODECEPT']);if(_0xc1337b['hook'])[_0x4b9f38[_0x3ee2cf(0x2b7)],_0x4b9f38['name']]=[this[_0x3ee2cf(0x287)](_0x1b17ef),_0x1b17ef['ctx']['test'][_0x3ee2cf(0x27f)]],_0xc1337b['finished']?_0x320dc1[_0x3ee2cf(0x261)](_0x4b9f38['result'],_0x320dc1[_0x3ee2cf(0x267)])&&(_0x4b9f38[_0x3ee2cf(0x1fd)]=_0x320dc1[_0x3ee2cf(0x21e)]):_0x4b9f38['body']={};else _0xc1337b[_0x3ee2cf(0x24d)]&&(this[_0x3ee2cf(0x246)](_0x1b17ef),_0xc1337b['skipped']&&this['resetSkipTestHooks'](_0x1b17ef),(_0xc1337b[_0x3ee2cf(0x204)]||_0xc1337b['skipped'])&&(_0x4b9f38['hooks']=this[_0x3ee2cf(0x2bd)](_0x1b17ef)));this['driver']&&(_0xc1337b[_0x3ee2cf(0x23c)]||_0xc1337b['skipped'])&&(_0x4b9f38[_0x320dc1['mEoxI']]=this[_0x3ee2cf(0x1cd)](this[_0x3ee2cf(0x219)]));_0xc1337b[_0x3ee2cf(0x24d)]&&_0xc1337b[_0x3ee2cf(0x204)]&&_0x1b17ef['bddSteps']&&(_0x4b9f38[_0x320dc1[_0x3ee2cf(0x221)]]={'feature':{'name':_0x1b17ef[_0x3ee2cf(0x2b8)]['feature']['name'],'path':_0x4b9f38[_0x3ee2cf(0x20b)],'description':_0x1b17ef[_0x3ee2cf(0x2b8)]['comment']},'scenario':{'name':_0x1b17ef[_0x3ee2cf(0x27f)]},'steps':_0x1b17ef[_0x3ee2cf(0x288)]});const _0x2684c1=_0x4b9f38[_0x320dc1[_0x3ee2cf(0x272)]][0x0];_0x2684c1&&(_0x4b9f38[_0x320dc1[_0x3ee2cf(0x2b2)]]=_0x2684c1[_0x320dc1[_0x3ee2cf(0x266)]],_0x4b9f38[_0x320dc1[_0x3ee2cf(0x1d9)]]=_0x2684c1[_0x320dc1[_0x3ee2cf(0x227)]]);if(_0x1b17ef[_0x3ee2cf(0x288)])for(const _0x1e6b11 of _0x1b17ef[_0x3ee2cf(0x288)]){!_0x1e6b11[_0x3ee2cf(0x2b4)]&&(_0x1e6b11['finished_at']=new Date()[_0x3ee2cf(0x1d5)](),_0x320dc1['tHJDs'](_0x1e6b11['result'],_0x320dc1[_0x3ee2cf(0x24b)])&&(_0x2684c1?(_0x1e6b11[_0x3ee2cf(0x1fd)]=_0x320dc1[_0x3ee2cf(0x267)],_0x1e6b11['failure']=_0x2684c1[_0x320dc1[_0x3ee2cf(0x266)]][0x0]):_0x1e6b11[_0x3ee2cf(0x1fd)]=_0x320dc1['YUZnS']));}const _0x397a36={};_0x397a36['event_type']=_0xc1337b[_0x3ee2cf(0x282)]?TEST_EVENTS[_0x3ee2cf(0x276)]:_0x48b9ad;const _0x58791b=_0x397a36;return _0xc1337b[_0x3ee2cf(0x260)]?_0x58791b[_0x320dc1[_0x3ee2cf(0x1f3)]]=_0x4b9f38:_0x58791b[_0x320dc1[_0x3ee2cf(0x2b6)]]=_0x4b9f38,_0x58791b;}catch(_0x331a09){logger[_0x3ee2cf(0x233)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x48b9ad+'\x20with\x20error\x20:\x20'+_0x331a09);}}async[a4_0x4452a1(0x239)](_0x27f53b,_0x206b2d){const _0x15c64f=a4_0x4452a1;if(!this[_0x15c64f(0x298)]||!_0x206b2d||!_0x27f53b)return![];try{return await SessionHandler[_0x15c64f(0x21f)](_0x206b2d);}catch(_0x2b5b00){logger['debug'](_0x15c64f(0x28c)+_0x27f53b+_0x15c64f(0x23f)+_0x2b5b00);}}[a4_0x4452a1(0x284)](_0x45e6e1){const _0x237f44=a4_0x4452a1,_0x5096a4={};_0x5096a4[_0x237f44(0x211)]=_0x237f44(0x20f);const _0x594aa0=_0x5096a4;return{'id':_0x45e6e1['stepAnalyticsId'],'text':_0x45e6e1['text'],'keyword':_0x45e6e1['keyword'],'started_at':_0x45e6e1['startedAt'][_0x237f44(0x1d5)](),'result':_0x594aa0[_0x237f44(0x211)]};}[a4_0x4452a1(0x28e)](_0x5d1ac1){const _0x1263ec=a4_0x4452a1,_0x424487={'lDHow':function(_0x2c7a97){return _0x2c7a97();}};!this[_0x1263ec(0x2a1)]['bddSteps']&&(this['currentTest'][_0x1263ec(0x288)]=[]),!_0x5d1ac1['stepAnalyticsId']&&(_0x5d1ac1[_0x1263ec(0x24e)]=_0x424487[_0x1263ec(0x1d0)](uuidv4),_0x5d1ac1[_0x1263ec(0x225)]=new Date(),this[_0x1263ec(0x2a1)]['bddSteps']['push'](this['initializeBddStep'](_0x5d1ac1)));}[a4_0x4452a1(0x1e9)](_0xec09ab){const _0x3f34f9=a4_0x4452a1,_0xf54de0={'UMDMk':function(_0x432352,_0xaf1db3){return _0x432352(_0xaf1db3);},'sQtAB':_0x3f34f9(0x1f7),'ntDrr':_0x3f34f9(0x20f),'miGBV':_0x3f34f9(0x256),'BMucZ':function(_0x2d072f,_0x5c33a7){return _0x2d072f-_0x5c33a7;}};let _0x2a4eef=this[_0x3f34f9(0x2a1)][_0x3f34f9(0x288)][_0x3f34f9(0x248)](_0x34eca3=>_0x34eca3['id']===_0xec09ab[_0x3f34f9(0x24e)]);_0xf54de0[_0x3f34f9(0x23b)](isUndefined,_0x2a4eef)&&(_0x2a4eef=this[_0x3f34f9(0x284)](_0xec09ab)),_0x2a4eef[_0x3f34f9(0x1fd)]=[_0xf54de0[_0x3f34f9(0x251)],_0xf54de0['ntDrr']][_0x3f34f9(0x262)](_0xec09ab['status'])?_0xf54de0[_0x3f34f9(0x1e5)]:_0xec09ab[_0x3f34f9(0x1de)],_0x2a4eef['finished_at']=new Date()[_0x3f34f9(0x1d5)](),_0x2a4eef['duration']=_0xf54de0[_0x3f34f9(0x23e)](Date[_0x3f34f9(0x2aa)](),_0xec09ab['startedAt'][_0x3f34f9(0x258)]()),_0x2a4eef['failure']=_0xec09ab[_0x3f34f9(0x215)]?_0xec09ab['err'][_0x3f34f9(0x213)]:null;}}const a4_0x250460={};a4_0x250460[a4_0x4452a1(0x214)]=O11yHelper,a4_0x250460[a4_0x4452a1(0x1ee)]=STATE_PASSED,a4_0x250460['STATE_FAILED']=STATE_FAILED,a4_0x250460[a4_0x4452a1(0x2a6)]=TEST_EVENTS,module['exports']=a4_0x250460;
1
+ const a4_0x2dc2fd=a4_0x4a61;(function(_0x39c991,_0x198fb2){const _0x20607d=a4_0x4a61,_0x21c4b2=_0x39c991();while(!![]){try{const _0x100120=-parseInt(_0x20607d(0x17f))/0x1+parseInt(_0x20607d(0x11b))/0x2+-parseInt(_0x20607d(0xd2))/0x3*(parseInt(_0x20607d(0xfc))/0x4)+-parseInt(_0x20607d(0x126))/0x5+parseInt(_0x20607d(0x14b))/0x6+parseInt(_0x20607d(0xbe))/0x7+parseInt(_0x20607d(0x11e))/0x8;if(_0x100120===_0x198fb2)break;else _0x21c4b2['push'](_0x21c4b2['shift']());}catch(_0xe30085){_0x21c4b2['push'](_0x21c4b2['shift']());}}}(a4_0x2218,0x552fc));function a4_0x2218(){const _0x1854df=['failed\x20to\x20get\x20root\x20parent\x20file\x20','debug','lPMgH','O11yHelper','RJNIT','iGplj','STATE_PASSED','stepAnalyticsId','keyword','test','Yihls','uuid','CqAEb','feature','text','err','hookAnalyticsId','now','enabled','bddSteps','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','253532EwsNvq','event_type','_testEnv','9873944ZFZfij','connect','JONLQ','zgEAD','failureData','bmSAs','zJVUV','../../helpers/test-observability/utils','2018760cBaETI','KQdww','prototype','UMKiC','gtRvb','hook_run_uuid','hook','oLbrf','tags','hQfyR','getHooksForTest','success','launch','ESIWj','currentTest','frameworkName','TEST_EVENTS','getHookType','length','bIheY','stringify','ODAHM','LjlWY','exports','TestRunSkipped','finished_at','parent','kcWHD','../../helpers/testhub/utils.js','TEST_RUN_STARTED','vjwIp','passed','YKGyh','ufbFp','lHnVx','failure_reason_expanded','getCBTInfo','706230rXzjas','miOye','patchConsoleLogger','PsMTS','lib','uploadEventData','depoI','Svhnq','ejTTF','replace','WGFwI','GZzhD','VGwfV','oyyOJ','dirname','body','integrations','LogCreated','duration','backtrace','VQmIf','upkey','toLowerCase','../utils/constants','winstonLogger','name','PWSGU','codeceptjs','includes','sep','TEST_REPORTING_ANALYTICS','PhuTO','failure','axVAf','toString','file','shutdown','test_run','file_name','result','pending','then','TEST_RUN_SKIPPED','join','markedStatus','util','bs:addLog:','logs','statSync','CBTSessionCreated','groups','javascript','280460RVwkoC','accessibilityPlatform','captureEvent','getInstance','inspect','QXGcw','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','getRootParentFile','expanded','NomeO','_beforeAll','__platformCaps','PathHelper','../../helpers/test-observability/constants','CEyyo','../playwright/sessionDetails','_afterEach','IhkHY','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','.git','NYHqS','mapTestHooks','Yxoao','fHaLr','RjzDO','GQJoK','_beforeEach','resetSkipTestHooks','HookRunFinished','HOOK_RUN_STARTED','hvXMA','BROWSERSTACK','type','dNniT','cwd','vUNPv','bwWnU','Playwright','AOdZN','config','wsEndpoint','wLSMC','suites','match','_afterAll','setupBrowserDetails','dhAej','TestRunStarted','title','420924iXAmEi','driver','yvpSG','CqzBb','fnIqd','forEach','finished','oFyAT','started','_paths','weKzr','VqiGa','TMRLM','currentHook','defineProperty','TEST_RUN_FINISHED','ICkEl','removeAllListeners','IZYeR','xsLUj','810cGxyff','rdBkn','__cloud_provider___','PwHbs','5|1|2|0|3|4','errorsDetailed','JfOVf','retryOf','status','\x20with\x20error\x20:\x20','gEtwi','pZJCr','apply','hook_type','avEKj','File\x20path\x20could\x20not\x20be\x20found','../../helpers/helper','test_run_uuid','STATE_FAILED','browserstack','location_prefix','client','toISOString','findGitConfig','vOHeI','kHPUO','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','bind','failure_backtrace','MNpBS','getHierarchy','pid','aANCj','skipped','hook_run','../../helpers/logger','ffYyB','stop','push','fullTitle','ctx','getFailureType','7492URwZSM','vvVtt','message','failed','startedAt','bddStepFinish','testAnalyticsId','getTime','browserType.js','split'];a4_0x2218=function(){return _0x1854df;};return a4_0x2218();}const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x2dc2fd(0x111)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x2dc2fd(0xe2)),testOpsHelper=require(a4_0x2dc2fd(0x125)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x2dc2fd(0x18c)),logger=require(a4_0x2dc2fd(0xf5))[a4_0x2dc2fd(0x163)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x2dc2fd(0x18e)),debug=testOpsHelper[a4_0x2dc2fd(0x107)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x2dc2fd(0x162)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x2dc2fd(0x142)),constants=require(a4_0x2dc2fd(0x162)),STATE_PASSED='passed',STATE_FAILED=a4_0x2dc2fd(0xff),a4_0x10c9ba={};a4_0x10c9ba[a4_0x2dc2fd(0x143)]=a4_0x2dc2fd(0xbc),a4_0x10c9ba[a4_0x2dc2fd(0xcd)]='TestRunFinished',a4_0x10c9ba[a4_0x2dc2fd(0x175)]=a4_0x2dc2fd(0x13e),a4_0x10c9ba[a4_0x2dc2fd(0x19c)]='HookRunStarted',a4_0x10c9ba['HOOK_RUN_FINISHED']=a4_0x2dc2fd(0x19b);function a4_0x4a61(_0x2cac3f,_0x28fe1d){const _0x2218e6=a4_0x2218();return a4_0x4a61=function(_0x4a61bd,_0x14c18e){_0x4a61bd=_0x4a61bd-0xaf;let _0x5b9aca=_0x2218e6[_0x4a61bd];return _0x5b9aca;},a4_0x4a61(_0x2cac3f,_0x28fe1d);}const TEST_EVENTS=a4_0x10c9ba,parseEvent=_0x191de4=>{const _0x3c3e49=a4_0x2dc2fd,_0xee9416={};_0xee9416[_0x3c3e49(0xc1)]=function(_0x5d42fc,_0x3d98e1){return _0x5d42fc<_0x3d98e1;},_0xee9416[_0x3c3e49(0xb6)]=function(_0x108400,_0x15f4dc){return _0x108400===_0x15f4dc;},_0xee9416[_0x3c3e49(0xc0)]='test',_0xee9416[_0x3c3e49(0x155)]='hook',_0xee9416[_0x3c3e49(0x195)]=_0x3c3e49(0xf3),_0xee9416['miOye']=_0x3c3e49(0xc6),_0xee9416[_0x3c3e49(0xc8)]=function(_0x2c9b54,_0x53d606){return _0x2c9b54===_0x53d606;},_0xee9416[_0x3c3e49(0x16a)]=_0x3c3e49(0xc4);const _0x33a189=_0xee9416,_0x5eef4b=_0x191de4[_0x3c3e49(0xb8)](/^(.*)Run(.*)$/);if(!_0x5eef4b)return null;if(_0x33a189[_0x3c3e49(0xc1)](_0x5eef4b[_0x3c3e49(0x138)],0x3))return null;const _0x119793=_0x5eef4b[0x1][_0x3c3e49(0x161)](),_0xe8027=_0x5eef4b[0x2][_0x3c3e49(0x161)]();return{'test':_0x33a189['wLSMC'](_0x119793,_0x33a189[_0x3c3e49(0xc0)]),'hook':_0x33a189['wLSMC'](_0x119793,_0x33a189[_0x3c3e49(0x155)]),'skipped':_0x33a189[_0x3c3e49(0xb6)](_0xe8027,_0x33a189[_0x3c3e49(0x195)]),'started':_0x33a189[_0x3c3e49(0xb6)](_0xe8027,_0x33a189[_0x3c3e49(0x14c)]),'finished':_0x33a189[_0x3c3e49(0xc8)](_0xe8027,_0x33a189[_0x3c3e49(0x16a)])};},mockPWBrowserType=_0x4e24ff=>{const _0xb1849d=a4_0x2dc2fd,_0x53b1b1={'vvVtt':function(_0x3c4fe3,_0xd937aa){return _0x3c4fe3===_0xd937aa;},'BYrUP':'string','hQfyR':function(_0x277b10,_0x54e9d7,_0x401224){return _0x277b10(_0x54e9d7,_0x401224);},'iGplj':_0xb1849d(0xb5),'oFyAT':function(_0x2b44f6,_0x3910b8){return _0x2b44f6(_0x3910b8);},'vUNPv':_0xb1849d(0xe5),'GQJoK':_0xb1849d(0x14f),'GiceV':_0xb1849d(0xe7),'dhAej':_0xb1849d(0x104),'AOdZN':function(_0x27d363,_0x14a624){return _0x27d363(_0x14a624);},'axVAf':'Not\x20able\x20to\x20import\x20Browser','Svhnq':_0xb1849d(0x11f),'ufbFp':_0xb1849d(0x132)},_0x4c1237=path[_0xb1849d(0x176)](_0x53b1b1[_0xb1849d(0x198)],_0x53b1b1['GiceV'],_0x53b1b1[_0xb1849d(0xbb)]),_0x5ce15e=_0x53b1b1['AOdZN'](importFileFromPWCore,_0x4c1237);if(!_0x5ce15e){_0x53b1b1[_0xb1849d(0xb3)](debug,_0x53b1b1[_0xb1849d(0x16c)]);return;}const _0x441dfd=_0x5ce15e['BrowserType'],_0x51fe3c=_0x441dfd[_0xb1849d(0x128)];if(_0x51fe3c['obsBrowserTypeMockApplied'])return;const _0x31c0ba=_0x51fe3c[_0xb1849d(0x11f)];Object[_0xb1849d(0xcc)](_0x51fe3c,_0x53b1b1[_0xb1849d(0x152)],{'get':function(){return async function _0x1986e6(_0x1b5de7,_0x53c95b){const _0x2a50ed=a4_0x4a61,_0x42f4dc={'ICkEl':function(_0x302376,_0x245558){const _0x141228=a4_0x4a61;return _0x53b1b1[_0x141228(0xfd)](_0x302376,_0x245558);},'JfOVf':_0x53b1b1['BYrUP']},_0x2827f8=_0x53b1b1[_0x2a50ed(0x12f)](nestedKeyValue,_0x1b5de7,[_0x53b1b1[_0x2a50ed(0x10b)]])||_0x1b5de7;let _0x36dc74=null,_0x3cdf86=null;try{[_0x3cdf86,_0x36dc74]=_0x2827f8?_0x53b1b1[_0x2a50ed(0xc5)](parseWSEndpoint,_0x2827f8):[null,null],global[_0x2a50ed(0x18a)]=_0x36dc74,logger['debug'](_0x2a50ed(0x11a)+_0x3cdf86),_0x3cdf86[_0x2a50ed(0x167)](Constants[_0x2a50ed(0x19e)])&&(global[_0x2a50ed(0xd4)]=_0x53b1b1[_0x2a50ed(0xb0)]);}catch(_0x5dd6d5){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x2827f8+'\x20'+_0x5dd6d5);}_0x53b1b1[_0x2a50ed(0x12f)](processAccessibilityCaps,_0x36dc74,_0x3cdf86);if(global[_0x2a50ed(0x180)]){const _0x3f986d=await _0x51fe3c['connectOverCDP'][_0x2a50ed(0xde)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x53b1b1['oFyAT'](encodeURIComponent,JSON[_0x2a50ed(0x13a)](_0x36dc74))]);return PlaywrightSessionDetails[_0x2a50ed(0xba)](_0x3f986d,_0x4e24ff,_0x2827f8),_0x3f986d;}return _0x31c0ba['apply'](this,arguments)[_0x2a50ed(0x174)](_0x16196c=>{const _0x3da3b2=_0x2a50ed;let _0x397118=_0x1b5de7[_0x3da3b2(0xb5)];return _0x42f4dc[_0x3da3b2(0xce)](typeof _0x1b5de7,_0x42f4dc[_0x3da3b2(0xd8)])&&(_0x397118=_0x1b5de7),PlaywrightSessionDetails['setupBrowserDetails'](_0x16196c,_0x4e24ff,_0x397118),_0x16196c;});};}});const _0x595081=_0x51fe3c[_0xb1849d(0x132)];Object[_0xb1849d(0xcc)](_0x51fe3c,_0x53b1b1[_0xb1849d(0x147)],{'get':function(){return async function _0x21bf52(){const _0x5a5440=a4_0x4a61;return _0x595081['apply'](this,arguments)[_0x5a5440(0x174)](_0x146024=>{const _0x16e2cc=_0x5a5440;return PlaywrightSessionDetails[_0x16e2cc(0xba)](_0x146024,null),_0x146024;});};}});};class O11yHelper{[a4_0x2dc2fd(0x134)]=null;[a4_0x2dc2fd(0xcb)]=null;[a4_0x2dc2fd(0x118)]=![];[a4_0x2dc2fd(0x135)]=![];constructor(_0x282d26,_0x3b7f81){const _0x59adb2=a4_0x2dc2fd,_0x395083={'gEtwi':_0x59adb2(0xd6),'RJNIT':function(_0x4a398c){return _0x4a398c();},'PsMTS':function(_0x1fc431,_0x2184b4){return _0x1fc431===_0x2184b4;},'kHPUO':_0x59adb2(0xb2),'PwHbs':function(_0xee6296,_0x49a472){return _0xee6296(_0x49a472);}},_0x5a53c5=_0x395083[_0x59adb2(0xdc)][_0x59adb2(0x105)]('|');let _0x106f08=0x0;while(!![]){switch(_0x5a53c5[_0x106f08++]){case'0':this[_0x59adb2(0x11d)]=_0x395083[_0x59adb2(0x10a)](getTestEnv);continue;case'1':this['frameworkName']=_0x3b7f81['frameworkName'];continue;case'2':this[_0x59adb2(0xbf)]=_0x282d26;continue;case'3':this[_0x59adb2(0xc7)]=new testOpsHelper[(_0x59adb2(0x18b))]({'cwd':process[_0x59adb2(0xaf)]()},this['_testEnv'][_0x59adb2(0xe6)]);continue;case'4':this[_0x59adb2(0xbf)]&&_0x395083[_0x59adb2(0x14e)](this['driver']['constructor']['name'],_0x395083[_0x59adb2(0xeb)])&&_0x395083[_0x59adb2(0xd5)](mockPWBrowserType,null);continue;case'5':this[_0x59adb2(0x118)]=_0x395083[_0x59adb2(0x10a)](shouldProcessEventForTesthub);continue;}break;}}['start'](){const _0x426fdf=a4_0x2dc2fd;if(!this[_0x426fdf(0x118)])return;testOpsHelper[_0x426fdf(0x14d)](),process[_0x426fdf(0xcf)](_0x426fdf(0x179)+process['pid']),process['on'](_0x426fdf(0x179)+process[_0x426fdf(0xf1)],this['appendTestItemLog'][_0x426fdf(0xed)](this));}async[a4_0x2dc2fd(0xf7)](){const _0x59a0de=a4_0x2dc2fd;await RequestQueueHandler[_0x59a0de(0x182)]()[_0x59a0de(0x16f)]();}async['appendTestItemLog'](_0x15092f){const _0x4a40b3=a4_0x2dc2fd,_0x54026e={'RjzDO':_0x4a40b3(0x15c),'ODulJ':function(_0x1fce69,_0x47e40d){return _0x1fce69(_0x47e40d);}};try{this['currentHook']&&!this[_0x4a40b3(0xcb)][_0x4a40b3(0x177)]&&(_0x15092f[_0x4a40b3(0x12b)]=this[_0x4a40b3(0xcb)]['hookAnalyticsId']);!_0x15092f[_0x4a40b3(0x12b)]&&this[_0x4a40b3(0x134)]&&!this[_0x4a40b3(0x134)][_0x4a40b3(0x177)]&&(_0x15092f['test_run_uuid']=this[_0x4a40b3(0x134)][_0x4a40b3(0x102)]);if(_0x15092f['hook_run_uuid']||_0x15092f[_0x4a40b3(0xe3)]){const _0x90e015={};_0x90e015[_0x4a40b3(0x11c)]=_0x54026e[_0x4a40b3(0x197)],_0x90e015[_0x4a40b3(0x17a)]=[_0x15092f],await SessionHandler['uploadEventData'](_0x90e015);}}catch(_0x4125f8){_0x54026e['ODulJ'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x4a40b3(0x169)]+_0x4a40b3(0xdb)+_0x4125f8);}}async['sendCBTInfo'](_0x3db3ab){const _0x4e3493=a4_0x2dc2fd,_0x3ff38e={'Yihls':_0x4e3493(0x17c),'AuaXY':function(_0x2c8443,_0x4ed196){return _0x2c8443(_0x4ed196);}};if(!this[_0x4e3493(0x118)])return;const _0x3a3b16=this[_0x4e3493(0x14a)](this[_0x4e3493(0xbf)]);try{const _0x45d5df={};_0x45d5df[_0x4e3493(0x111)]=_0x3db3ab,_0x45d5df[_0x4e3493(0x15b)]=_0x3a3b16;const _0x438c6e=_0x45d5df,_0x30e127={};_0x30e127['event_type']=_0x3ff38e[_0x4e3493(0x110)],_0x30e127[_0x4e3493(0x170)]=_0x438c6e,await SessionHandler['uploadEventData'](_0x30e127);}catch(_0x26b221){_0x3ff38e['AuaXY'](debug,_0x4e3493(0x185)+constants[_0x4e3493(0x169)]+_0x4e3493(0xdb)+_0x26b221);}}[a4_0x2dc2fd(0x14a)](_0x4f2baa){const _0x52d1fc={'OBsLu':function(_0x4e113,_0x31a7c6){return _0x4e113(_0x31a7c6);}};return _0x52d1fc['OBsLu'](fetchPlatformDetails,_0x4f2baa);}[a4_0x2dc2fd(0x19a)]=_0x1b0b28=>{const _0x367479=a4_0x2dc2fd,_0x4623cb={};_0x4623cb[_0x367479(0x151)]=_0x367479(0x199),_0x4623cb[_0x367479(0x153)]=_0x367479(0x18f);const _0x21d7f9=_0x4623cb;if(!_0x1b0b28||!_0x1b0b28[_0x367479(0x140)])return;[_0x21d7f9['depoI'],_0x21d7f9[_0x367479(0x153)]]['forEach'](_0x1dcfb3=>{const _0x19f6c7=_0x367479,_0x35d212=_0x1b0b28['parent'][_0x1dcfb3];_0x35d212[_0x19f6c7(0xc3)](_0xc26a0b=>{const _0x37ad09=_0x19f6c7;_0xc26a0b[_0x37ad09(0x116)]&&(_0xc26a0b[_0x37ad09(0x116)]=null);});});};[a4_0x2dc2fd(0x194)](_0xb9a270){const _0x567122=a4_0x2dc2fd,_0x43a161={'VOPcB':_0x567122(0x166),'LjlWY':function(_0x2b4002){return _0x2b4002();},'KQdww':function(_0x5f374e,_0x476650){return _0x5f374e===_0x476650;},'ODAHM':_0x567122(0x18f),'TqdSr':function(_0x1a5299){return _0x1a5299();},'JONLQ':_0x567122(0x189),'VGwfV':_0x567122(0xb9),'fnIqd':_0x567122(0x199)};if(!_0xb9a270||!_0xb9a270[_0x567122(0x140)])return;[_0x43a161[_0x567122(0x120)],_0x43a161[_0x567122(0x157)],_0x43a161[_0x567122(0xc2)],_0x43a161[_0x567122(0x13b)]][_0x567122(0xc3)](_0x55eac1=>{const _0x5c15ca=_0x567122,_0x139b45={'CqAEb':_0x43a161['VOPcB'],'rdBkn':function(_0x5acc16){const _0x56d396=a4_0x4a61;return _0x43a161[_0x56d396(0x13c)](_0x5acc16);},'xsLUj':function(_0x57488f,_0x5a6d78){const _0x4f0f7f=a4_0x4a61;return _0x43a161[_0x4f0f7f(0x127)](_0x57488f,_0x5a6d78);},'YKGyh':_0x43a161[_0x5c15ca(0x13b)],'oyyOJ':function(_0x258977){return _0x43a161['TqdSr'](_0x258977);}},_0x5c3874=_0xb9a270['parent'][_0x55eac1]||[];_0x5c3874[_0x5c15ca(0xc3)](_0x53964d=>{const _0x44fdb0=_0x5c15ca;if(_0x53964d[_0x44fdb0(0xbd)][_0x44fdb0(0x167)](_0x139b45[_0x44fdb0(0x112)]))return;if(!_0x53964d[_0x44fdb0(0x116)])_0x53964d['hookAnalyticsId']=_0x139b45[_0x44fdb0(0xd3)](uuidv4);else _0x53964d[_0x44fdb0(0x177)]&&_0x139b45[_0x44fdb0(0xd1)](_0x55eac1,_0x139b45[_0x44fdb0(0x146)])&&(_0x53964d[_0x44fdb0(0x116)]=_0x139b45[_0x44fdb0(0x158)](uuidv4),delete _0x53964d[_0x44fdb0(0x177)]);});}),this['mapTestHooks'](_0xb9a270['parent']);}[a4_0x2dc2fd(0x130)](_0x4f433c){const _0x298170=a4_0x2dc2fd,_0x34b883={};_0x34b883[_0x298170(0xb1)]='_beforeAll',_0x34b883[_0x298170(0x12a)]=_0x298170(0xb9),_0x34b883[_0x298170(0x123)]=_0x298170(0x199),_0x34b883['ylaCs']=_0x298170(0x18f);const _0x380e48=_0x34b883;if(!_0x4f433c||!_0x4f433c[_0x298170(0x140)])return[];const _0x2932db=[];return[_0x380e48['bwWnU'],_0x380e48['gtRvb'],_0x380e48[_0x298170(0x123)],_0x380e48['ylaCs']][_0x298170(0xc3)](_0x5ac4dc=>{const _0x4e6ddb=_0x298170,_0xc02338=_0x4f433c[_0x4e6ddb(0x140)][_0x5ac4dc]||[];_0xc02338[_0x4e6ddb(0xc3)](_0x1457aa=>{const _0x5c5553=_0x4e6ddb;_0x1457aa[_0x5c5553(0x116)]&&_0x2932db[_0x5c5553(0xf8)](_0x1457aa[_0x5c5553(0x116)]);});}),[]['concat'](_0x2932db,this[_0x298170(0x130)](_0x4f433c[_0x298170(0x140)]));}[a4_0x2dc2fd(0x137)](_0x16745e){const _0x1f7852=a4_0x2dc2fd,_0x3dba53=/^"(?<hook>.*)" hook:.*$/,_0x80bb96=_0x16745e[_0x1f7852(0xbd)],_0x3516e1=_0x80bb96['match'](_0x3dba53);if(_0x3516e1&&_0x3516e1[_0x1f7852(0x17d)])return _0x3516e1['groups']['hook']['toUpperCase']()[_0x1f7852(0x154)]('\x20','_');return null;}[a4_0x2dc2fd(0xe9)](_0x57b5a4){const _0x5beb3c=a4_0x2dc2fd,_0xee27={};_0xee27['aANCj']=function(_0xe48775,_0x5149d6){return _0xe48775===_0x5149d6;},_0xee27[_0x5beb3c(0x156)]=_0x5beb3c(0x192),_0xee27[_0x5beb3c(0xe0)]=_0x5beb3c(0xb4);const _0x4a713c=_0xee27,_0x51b9bf=path[_0x5beb3c(0x168)];if(_0x4a713c[_0x5beb3c(0xf2)](_0x57b5a4,null)||_0x4a713c['aANCj'](_0x57b5a4,'')||_0x4a713c['aANCj'](_0x57b5a4,_0x51b9bf)||_0x4a713c['aANCj'](_0x57b5a4,path[_0x5beb3c(0x159)](_0x57b5a4)))return null;try{return fs[_0x5beb3c(0x17b)](path[_0x5beb3c(0x176)](_0x57b5a4,_0x4a713c[_0x5beb3c(0x156)],_0x4a713c['avEKj'])),_0x57b5a4;}catch(_0x4a74c4){const _0x49912a=path[_0x5beb3c(0x159)](_0x57b5a4);return this[_0x5beb3c(0xe9)](_0x49912a);}}[a4_0x2dc2fd(0x186)](_0x4da04b){const _0x176b75=a4_0x2dc2fd,_0x2a28bd={};_0x2a28bd['dNniT']=function(_0x3ef805,_0x5800da){return _0x3ef805>_0x5800da;};const _0x5eb5d5=_0x2a28bd;if(_0x4da04b[_0x176b75(0x16e)])return _0x4da04b[_0x176b75(0x16e)];if(_0x4da04b[_0x176b75(0xfa)]){const _0x1aee08=_0x4da04b[_0x176b75(0xfa)][_0x176b75(0x134)]?this[_0x176b75(0x186)](_0x4da04b[_0x176b75(0xfa)][_0x176b75(0x134)]):null;if(_0x1aee08)return _0x1aee08;}if(_0x4da04b['parent']){const _0x523989=this[_0x176b75(0x186)](_0x4da04b['parent'])||(_0x4da04b['parent'][_0x176b75(0xfa)]&&_0x4da04b['parent'][_0x176b75(0xfa)][_0x176b75(0x134)]?this['getRootParentFile'](_0x4da04b[_0x176b75(0x140)][_0x176b75(0xfa)][_0x176b75(0x134)]):null);if(_0x523989)return _0x523989;_0x4da04b['parent'][_0x176b75(0xb7)]&&_0x5eb5d5[_0x176b75(0x1a0)](_0x4da04b[_0x176b75(0x140)]['suites'][_0x176b75(0x138)],0x0)&&_0x4da04b[_0x176b75(0x140)][_0x176b75(0xb7)][_0x176b75(0xc3)](_0x5c88c5=>{const _0x20ac62=_0x176b75,_0x5c1d80=_0x5c88c5[_0x20ac62(0xfa)]?this[_0x20ac62(0x186)](_0x5c88c5[_0x20ac62(0xfa)]):null;if(_0x5c1d80)return _0x5c1d80;});}return null;}[a4_0x2dc2fd(0xf0)](_0x581aae){const _0x3cc6bd=a4_0x2dc2fd,_0x40f669={};_0x40f669[_0x3cc6bd(0xd0)]=function(_0x2c5ba0,_0x5bdc25){return _0x2c5ba0!==_0x5bdc25;};const _0x3ac572=_0x40f669,_0x1250ad=[];if(_0x581aae&&_0x581aae[_0x3cc6bd(0x140)]){let _0x48fdc0=_0x581aae[_0x3cc6bd(0x140)];while(_0x48fdc0&&_0x3ac572[_0x3cc6bd(0xd0)](_0x48fdc0[_0x3cc6bd(0xbd)],'')){_0x1250ad[_0x3cc6bd(0xf8)](_0x48fdc0[_0x3cc6bd(0xbd)]),_0x48fdc0=_0x48fdc0['parent'];}}return _0x1250ad;}[a4_0x2dc2fd(0x181)](_0x5165fa,_0x59bd4d,_0x54d8f5=undefined){const _0xcc9a0a=a4_0x2dc2fd,_0x5df21c={'lHnVx':function(_0x12e5aa,_0x1e3f2b){return _0x12e5aa(_0x1e3f2b);},'pZJCr':function(_0x4fe64a){return _0x4fe64a();},'tpbwH':function(_0x79d184){return _0x79d184();},'QXGcw':function(_0x31903e){return _0x31903e();},'UMKiC':_0xcc9a0a(0x178),'bIheY':_0xcc9a0a(0x115),'TMRLM':function(_0x42c686,_0x540d42){return _0x42c686!==_0x540d42;},'zSBtB':function(_0x32ab5b,_0x43e66e){return _0x32ab5b!==_0x43e66e;},'vjwIp':_0xcc9a0a(0xe1),'NomeO':_0xcc9a0a(0x173),'PWSGU':_0xcc9a0a(0xff),'NYHqS':_0xcc9a0a(0x145),'ffYyB':_0xcc9a0a(0xf3),'vOHeI':_0xcc9a0a(0x17e),'odnyh':function(_0x529659,_0x307b1d){return _0x529659-_0x307b1d;},'mZAhR':function(_0x5361fd,_0x4469a4,_0x165622,_0xcfd81f,_0x2cb48d){return _0x5361fd(_0x4469a4,_0x165622,_0xcfd81f,_0x2cb48d);},'MNpBS':function(_0x11677f,_0x5bdee3){return _0x11677f!==_0x5bdee3;},'zJVUV':_0xcc9a0a(0x15b),'ESIWj':'meta','IhkHY':'failure','JxFvC':_0xcc9a0a(0xee),'hvXMA':_0xcc9a0a(0x15e),'oLbrf':_0xcc9a0a(0x149),'VQmIf':_0xcc9a0a(0x187),'zgEAD':function(_0x139b61,_0xfbe198){return _0x139b61===_0xfbe198;},'VqiGa':_0xcc9a0a(0xf4),'NntHy':'test_run'};if(!this[_0xcc9a0a(0x118)])return;try{if(_0x59bd4d['fn']&&_0x59bd4d['fn'][_0xcc9a0a(0x16d)]()[_0xcc9a0a(0xb8)](/browserstack internal helper hook/))return;const _0x495382=_0x5df21c[_0xcc9a0a(0x148)](parseEvent,_0x5165fa);if(!_0x495382)return;if(_0x495382['test']){this[_0xcc9a0a(0x134)]=_0x59bd4d,this[_0xcc9a0a(0xcb)]=null;if(_0x495382[_0xcc9a0a(0xc6)]||_0x495382[_0xcc9a0a(0xf3)]){_0x59bd4d['startedAt']=new Date(),_0x59bd4d[_0xcc9a0a(0x177)]=![];if(!_0x59bd4d[_0xcc9a0a(0x102)])_0x59bd4d[_0xcc9a0a(0x102)]=_0x5df21c[_0xcc9a0a(0xdd)](uuidv4);else _0x59bd4d[_0xcc9a0a(0x177)]&&(!_0x59bd4d[_0xcc9a0a(0xd9)]&&(_0x59bd4d[_0xcc9a0a(0xd9)]=_0x59bd4d[_0xcc9a0a(0x102)]),_0x59bd4d[_0xcc9a0a(0x102)]=_0x5df21c[_0xcc9a0a(0xdd)](uuidv4));}}else{if(_0x495382[_0xcc9a0a(0x12c)]){this['currentHook']=_0x59bd4d;if(_0x495382[_0xcc9a0a(0xc6)]){_0x59bd4d[_0xcc9a0a(0x100)]=new Date(),_0x59bd4d[_0xcc9a0a(0x177)]=![];if(!_0x59bd4d[_0xcc9a0a(0x116)])_0x59bd4d['hookAnalyticsId']=_0x5df21c['tpbwH'](uuidv4);else _0x59bd4d[_0xcc9a0a(0x116)]&&_0x59bd4d[_0xcc9a0a(0x177)]&&(_0x59bd4d[_0xcc9a0a(0x116)]=_0x5df21c[_0xcc9a0a(0x184)](uuidv4));}}}if(_0x495382[_0xcc9a0a(0xc4)]&&_0x59bd4d[_0xcc9a0a(0x177)])return;let _0x4343df;try{_0x4343df=this['getRootParentFile'](_0x59bd4d);}catch(_0x20b9b0){logger[_0xcc9a0a(0x107)](_0xcc9a0a(0x106)+_0x20b9b0),_0x4343df=null;}const _0x4f5934=_0x5df21c[_0xcc9a0a(0x148)](require,_0x5df21c[_0xcc9a0a(0x129)]);let _0x2c9312=[];_0x54d8f5&&(_0x2c9312=[_0x54d8f5,_0x5df21c[_0xcc9a0a(0x139)]]);const _0x1cd772=_0x5df21c[_0xcc9a0a(0xca)](_0x59bd4d['errorsDetailed'],undefined)?_0x4f5934[_0xcc9a0a(0x183)](_0x59bd4d[_0xcc9a0a(0xd7)][0x0]):_0x5df21c['zSBtB'](_0x54d8f5,undefined)?_0x54d8f5[_0xcc9a0a(0x16d)]():undefined,_0x29eb6f=_0x4343df?this[_0xcc9a0a(0xe9)](_0x4343df):null,_0x5e49ef=_0x4343df?this[_0xcc9a0a(0xc7)]['prefixTestPath'](this[_0xcc9a0a(0x186)](_0x59bd4d)):_0x5df21c[_0xcc9a0a(0x144)];let _0xa46e4a=_0x5df21c[_0xcc9a0a(0x188)];const _0x3fe7f2=!_0x495382['started']?new Date()[_0xcc9a0a(0xe8)]():null;if(_0x495382[_0xcc9a0a(0xc4)])_0xa46e4a=_0x54d8f5?_0x5df21c[_0xcc9a0a(0x165)]:_0x5df21c[_0xcc9a0a(0x193)],_0x59bd4d[_0xcc9a0a(0x177)]=!![];else _0x495382[_0xcc9a0a(0xf3)]&&(_0xa46e4a=_0x5df21c[_0xcc9a0a(0xf6)],_0x59bd4d['markedStatus']=!![]);const _0x4af0d9={'framework':this[_0xcc9a0a(0x135)],'uuid':_0x59bd4d[_0xcc9a0a(0x102)]||_0x59bd4d[_0xcc9a0a(0x116)],'name':_0x59bd4d[_0xcc9a0a(0xbd)],'body':{'lang':_0x5df21c[_0xcc9a0a(0xea)],'code':_0x59bd4d[_0xcc9a0a(0x15a)][_0xcc9a0a(0x16d)]()},'type':_0x59bd4d[_0xcc9a0a(0x19f)],'scope':_0x59bd4d[_0xcc9a0a(0xf9)](),'scopes':this[_0xcc9a0a(0xf0)](_0x59bd4d),'file_name':_0x5e49ef,'vc_filepath':_0x29eb6f?path['relative'](_0x29eb6f,_0x4343df):null,'location':_0x5e49ef,'result':_0xa46e4a,'failure_reason':_0x1cd772,'duration_in_ms':_0x59bd4d['duration']||(_0x495382[_0xcc9a0a(0xc4)]||_0x495382[_0xcc9a0a(0xf3)])?_0x5df21c['odnyh'](Date[_0xcc9a0a(0x117)](),new Date(_0x59bd4d[_0xcc9a0a(0x100)])['getTime']()):null,'started_at':new Date(_0x59bd4d[_0xcc9a0a(0x100)])[_0xcc9a0a(0xe8)](),'finished_at':_0x3fe7f2,'failure':testOpsHelper[_0xcc9a0a(0x122)]['apply'](null,_0x2c9312),'failure_type':!_0x1cd772?null:testOpsHelper[_0xcc9a0a(0xfb)](_0x1cd772),'retry_of':_0x59bd4d[_0xcc9a0a(0xd9)]||null,'tags':_0x59bd4d[_0xcc9a0a(0x12e)]||[],'customRerunParam':{'rerun_name':_0x59bd4d[_0xcc9a0a(0xf9)]()}};_0x5df21c['mZAhR'](appendTesthubParams,_0x4af0d9,_0x5165fa,_0x59bd4d,FRAMEWORKS['CODECEPT']);if(_0x495382[_0xcc9a0a(0x12c)])[_0x4af0d9[_0xcc9a0a(0xdf)],_0x4af0d9[_0xcc9a0a(0x164)]]=[this['getHookType'](_0x59bd4d),_0x59bd4d[_0xcc9a0a(0xfa)][_0xcc9a0a(0x10f)][_0xcc9a0a(0xbd)]],_0x495382[_0xcc9a0a(0xc4)]?_0x5df21c[_0xcc9a0a(0xef)](_0x4af0d9[_0xcc9a0a(0x172)],_0x5df21c[_0xcc9a0a(0x165)])&&(_0x4af0d9[_0xcc9a0a(0x172)]=_0x5df21c[_0xcc9a0a(0x193)]):_0x4af0d9[_0xcc9a0a(0x15a)]={};else _0x495382[_0xcc9a0a(0x10f)]&&(this[_0xcc9a0a(0x194)](_0x59bd4d),_0x495382[_0xcc9a0a(0xf3)]&&this['resetSkipTestHooks'](_0x59bd4d),(_0x495382[_0xcc9a0a(0xc4)]||_0x495382['skipped'])&&(_0x4af0d9['hooks']=this[_0xcc9a0a(0x130)](_0x59bd4d)));this[_0xcc9a0a(0xbf)]&&(_0x495382[_0xcc9a0a(0xc6)]||_0x495382[_0xcc9a0a(0xf3)])&&(_0x4af0d9[_0x5df21c[_0xcc9a0a(0x124)]]=this[_0xcc9a0a(0x14a)](this[_0xcc9a0a(0xbf)]));_0x495382[_0xcc9a0a(0x10f)]&&_0x495382[_0xcc9a0a(0xc4)]&&_0x59bd4d[_0xcc9a0a(0x119)]&&(_0x4af0d9[_0x5df21c[_0xcc9a0a(0x133)]]={'feature':{'name':_0x59bd4d[_0xcc9a0a(0x140)][_0xcc9a0a(0x113)][_0xcc9a0a(0x164)],'path':_0x4af0d9[_0xcc9a0a(0x171)],'description':_0x59bd4d[_0xcc9a0a(0x140)]['comment']},'scenario':{'name':_0x59bd4d[_0xcc9a0a(0xbd)]},'steps':_0x59bd4d[_0xcc9a0a(0x119)]});const _0x229cb5=_0x4af0d9[_0x5df21c[_0xcc9a0a(0x190)]][0x0];_0x229cb5&&(_0x4af0d9[_0x5df21c['JxFvC']]=_0x229cb5[_0x5df21c[_0xcc9a0a(0x19d)]],_0x4af0d9[_0x5df21c[_0xcc9a0a(0x12d)]]=_0x229cb5[_0x5df21c[_0xcc9a0a(0x15f)]]);if(_0x59bd4d['bddSteps'])for(const _0x1381cd of _0x59bd4d[_0xcc9a0a(0x119)]){!_0x1381cd[_0xcc9a0a(0x13f)]&&(_0x1381cd[_0xcc9a0a(0x13f)]=new Date()[_0xcc9a0a(0xe8)](),_0x5df21c[_0xcc9a0a(0x121)](_0x1381cd['result'],_0x5df21c[_0xcc9a0a(0x188)])&&(_0x229cb5?(_0x1381cd[_0xcc9a0a(0x172)]=_0x5df21c[_0xcc9a0a(0x165)],_0x1381cd[_0xcc9a0a(0x16b)]=_0x229cb5[_0x5df21c[_0xcc9a0a(0x19d)]][0x0]):_0x1381cd['result']=_0x5df21c[_0xcc9a0a(0x193)]));}const _0x3f27ef={};_0x3f27ef[_0xcc9a0a(0x11c)]=_0x495382[_0xcc9a0a(0xf3)]?TEST_EVENTS[_0xcc9a0a(0xcd)]:_0x5165fa;const _0x392e7f=_0x3f27ef;return _0x495382[_0xcc9a0a(0x12c)]?_0x392e7f[_0x5df21c[_0xcc9a0a(0xc9)]]=_0x4af0d9:_0x392e7f[_0x5df21c['NntHy']]=_0x4af0d9,_0x392e7f;}catch(_0x1e9a51){logger[_0xcc9a0a(0x107)](_0xcc9a0a(0x191)+_0x5165fa+'\x20with\x20error\x20:\x20'+_0x1e9a51);}}async['fireEvent'](_0x3baaeb,_0xede954){const _0x4ab8d3=a4_0x2dc2fd;if(!this[_0x4ab8d3(0x118)]||!_0xede954||!_0x3baaeb)return![];try{return await SessionHandler[_0x4ab8d3(0x150)](_0xede954);}catch(_0x3f822e){logger[_0x4ab8d3(0x107)](_0x4ab8d3(0xec)+_0x3baaeb+_0x4ab8d3(0xdb)+_0x3f822e);}}['initializeBddStep'](_0x48039f){const _0x3f0420=a4_0x2dc2fd,_0x1e7768={};_0x1e7768[_0x3f0420(0x108)]=_0x3f0420(0x173);const _0xf3c542=_0x1e7768;return{'id':_0x48039f[_0x3f0420(0x10d)],'text':_0x48039f[_0x3f0420(0x114)],'keyword':_0x48039f[_0x3f0420(0x10e)],'started_at':_0x48039f['startedAt'][_0x3f0420(0xe8)](),'result':_0xf3c542[_0x3f0420(0x108)]};}['bddStepStart'](_0x3f717e){const _0xe74dff=a4_0x2dc2fd,_0x4e3030={'eNKiB':function(_0x34a007){return _0x34a007();}};!this[_0xe74dff(0x134)][_0xe74dff(0x119)]&&(this['currentTest']['bddSteps']=[]),!_0x3f717e[_0xe74dff(0x10d)]&&(_0x3f717e[_0xe74dff(0x10d)]=_0x4e3030['eNKiB'](uuidv4),_0x3f717e[_0xe74dff(0x100)]=new Date(),this[_0xe74dff(0x134)][_0xe74dff(0x119)]['push'](this['initializeBddStep'](_0x3f717e)));}[a4_0x2dc2fd(0x101)](_0x27fe6b){const _0x1a428e=a4_0x2dc2fd,_0x313cb1={'upkey':function(_0x4960dd,_0x48ea86){return _0x4960dd(_0x48ea86);},'CEyyo':_0x1a428e(0x131),'IkMHC':_0x1a428e(0x173),'kcWHD':_0x1a428e(0x145),'fHaLr':function(_0x2a5411,_0x5e5a11){return _0x2a5411-_0x5e5a11;}};let _0x2963f3=this[_0x1a428e(0x134)]['bddSteps']['find'](_0x30b6b7=>_0x30b6b7['id']===_0x27fe6b[_0x1a428e(0x10d)]);_0x313cb1[_0x1a428e(0x160)](isUndefined,_0x2963f3)&&(_0x2963f3=this['initializeBddStep'](_0x27fe6b)),_0x2963f3[_0x1a428e(0x172)]=[_0x313cb1[_0x1a428e(0x18d)],_0x313cb1['IkMHC']][_0x1a428e(0x167)](_0x27fe6b[_0x1a428e(0xda)])?_0x313cb1[_0x1a428e(0x141)]:_0x27fe6b['status'],_0x2963f3[_0x1a428e(0x13f)]=new Date()[_0x1a428e(0xe8)](),_0x2963f3[_0x1a428e(0x15d)]=_0x313cb1[_0x1a428e(0x196)](Date[_0x1a428e(0x117)](),_0x27fe6b[_0x1a428e(0x100)][_0x1a428e(0x103)]()),_0x2963f3[_0x1a428e(0x16b)]=_0x27fe6b[_0x1a428e(0x115)]?_0x27fe6b[_0x1a428e(0x115)][_0x1a428e(0xfe)]:null;}}const a4_0x3c5efe={};a4_0x3c5efe[a4_0x2dc2fd(0x109)]=O11yHelper,a4_0x3c5efe[a4_0x2dc2fd(0x10c)]=STATE_PASSED,a4_0x3c5efe[a4_0x2dc2fd(0xe4)]=STATE_FAILED,a4_0x3c5efe[a4_0x2dc2fd(0x136)]=TEST_EVENTS,module[a4_0x2dc2fd(0x13d)]=a4_0x3c5efe;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a5_0x5612(_0x38830e,_0x144007){const _0x5e45d8=a5_0x5e45();return a5_0x5612=function(_0x56121c,_0x2f744f){_0x56121c=_0x56121c-0x18c;let _0x1f74fe=_0x5e45d8[_0x56121c];return _0x1f74fe;},a5_0x5612(_0x38830e,_0x144007);}function a5_0x5e45(){const _0x28b446=['@playwright/test','rmdirSync','getPlatformName','5823810nJowRC','initialize','ZovdL','debug','unlinkSync','emdTh','forEach','yellow','diSNR','then','stop','hOaQG','XGpHx','config','stepsFailed','SoOnh','cCDAJ','****\x20RESULTS\x20****','\x20undefined','end','SDK_SETUP','FAKsr','../v2/cliUtils','__isPlaywrightInstalled','12lTVyUG','Detected\x20Playwright\x20version\x20','bubmS','\x20scenarios','binSessionId','\x20for\x20cucumber-js\x20flow','bold','testContextOptions','JcfoX','env','useW3C','tmp','path','handleApp','launchBuild','5385660SBoVTj','5GLnqkK','GGIrv','FRAMEWORKS','dxjGj','15754PWOfxo','9124610dagjjW','getInstance','\x20pending','Generating\x20consolidated\x20report...','yjGFr','getTCGConfigFilePaths','UaBSL','YNyTn','createDir','../../helpers/utilities','PLAYWRIGHT','stringify','zvToz','assign','setFrameworkDetail','split','getHubUrl','136YTDjxe','red','42924zebUbX','finally','proxySettings','stepsPending','platforms','../../helpers/test-observability/utils','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','printBuildLink','PHZoO','testObservability','stepsUndefined','scenariosFailed','MECsE','1052712zLDgoz','../../helpers/testhub/testhubHandler','isBrowserstackInfra','stepsPassed','removeDir','\x20passed','PsIdN','rWjKh','argv','stepsAmbiguous','QpubO','setBrowserstackConfig','ImPot','winstonLogger','../v2/TestInfo','green','splice','exitCode','processSuccess','mergeOutputFiles','cyan','Removing\x20tmp\x20directory\x20created\x20for\x20reports','BROWSERSTACK_CLI_BIN_SESSION_ID','10kPlZmD','accessibilityOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','push','start','\x20steps','error\x20removing\x20tcg\x20config\x20file','78dnJWYM','true','parallelsPerPlatform','SDK_CLEANUP','cliConfig','CUCUMBER','skipSessionName','Pvexh','../../helpers/performance/performance-tester','ZLKsf','105bfaAev','turboScaleUrl','prepareCapabilities','getPackageVersion','941073MyUOFp','hTiJT','../../helpers/helper','steps','log','stepsUnknown','\x20failed','\x20skipped','../test-runner','isRunning','../../helpers/logger','beCNx','length','\x20ambiguous','rHGLY','../../helpers/performance/constants','BROWSERSTACK_TEST_OBSERVABILITY_YML'];a5_0x5e45=function(){return _0x28b446;};return a5_0x5e45();}const a5_0x249362=a5_0x5612;(function(_0x5117d4,_0x5544f9){const _0x20f81a=a5_0x5612,_0x5eccf1=_0x5117d4();while(!![]){try{const _0x7bdd17=-parseInt(_0x20f81a(0x1ca))/0x1*(parseInt(_0x20f81a(0x20e))/0x2)+-parseInt(_0x20f81a(0x1ce))/0x3*(parseInt(_0x20f81a(0x1fa))/0x4)+-parseInt(_0x20f81a(0x20a))/0x5*(parseInt(_0x20f81a(0x1a2))/0x6)+-parseInt(_0x20f81a(0x195))/0x7*(parseInt(_0x20f81a(0x193))/0x8)+-parseInt(_0x20f81a(0x1e2))/0x9+-parseInt(_0x20f81a(0x1b9))/0xa*(-parseInt(_0x20f81a(0x20f))/0xb)+-parseInt(_0x20f81a(0x209))/0xc*(-parseInt(_0x20f81a(0x1c0))/0xd);if(_0x7bdd17===_0x5544f9)break;else _0x5eccf1['push'](_0x5eccf1['shift']());}catch(_0x258eba){_0x5eccf1['push'](_0x5eccf1['shift']());}}}(a5_0x5e45,0xca004));const fs=require('fs'),path=require(a5_0x249362(0x206)),util=require('util'),logger=require(a5_0x249362(0x1d8))[a5_0x249362(0x1af)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x249362(0x1d0)),utilities=require(a5_0x249362(0x218)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x249362(0x1d6)),TestHubHandler=require(a5_0x249362(0x1a3)),testOpsHelper=require(a5_0x249362(0x19a)),chalk=require('chalk'),PerformanceTester=require(a5_0x249362(0x1c8)),PerformanceEvents=require(a5_0x249362(0x1dd))['EVENTS'],BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a5_0x249362(0x1f8)),TestInfo=require(a5_0x249362(0x1b0));function printCucumberStats(_0x4a9ffd){const _0x3c1c10=a5_0x249362,_0x5613e8={};_0x5613e8[_0x3c1c10(0x202)]=function(_0xe9bc7c,_0x2c440a){return _0xe9bc7c>_0x2c440a;},_0x5613e8[_0x3c1c10(0x18e)]=function(_0x559de3,_0x3e9b26){return _0x559de3-_0x3e9b26;},_0x5613e8[_0x3c1c10(0x1dc)]=function(_0x28db90,_0xe2dc8e){return _0x28db90-_0xe2dc8e;},_0x5613e8[_0x3c1c10(0x1e4)]=function(_0x1e6d69,_0x50ff18){return _0x1e6d69>_0x50ff18;},_0x5613e8[_0x3c1c10(0x20d)]=function(_0x276301,_0x503330){return _0x276301>_0x503330;},_0x5613e8[_0x3c1c10(0x1f1)]=function(_0x5de931,_0x4d2d4d){return _0x5de931>_0x4d2d4d;},_0x5613e8[_0x3c1c10(0x1ea)]=function(_0x2666fa,_0x11a21f){return _0x2666fa>_0x11a21f;},_0x5613e8[_0x3c1c10(0x1a1)]=function(_0x25569d,_0x3042cb){return _0x25569d>_0x3042cb;},_0x5613e8['GGIrv']=function(_0x2496cd,_0x56169c){return _0x2496cd>_0x56169c;},_0x5613e8['ZuUuw']=function(_0x2f4b51,_0x20d47a){return _0x2f4b51+_0x20d47a;},_0x5613e8[_0x3c1c10(0x1f7)]=function(_0x339a4f,_0x4bc2e5){return _0x339a4f+_0x4bc2e5;},_0x5613e8['bubmS']=function(_0x3f779f,_0x1ea12a){return _0x3f779f+_0x1ea12a;},_0x5613e8[_0x3c1c10(0x216)]=function(_0x341509,_0x937856){return _0x341509+_0x937856;},_0x5613e8[_0x3c1c10(0x19d)]=function(_0x2df6e5,_0x303a68){return _0x2df6e5+_0x303a68;},_0x5613e8[_0x3c1c10(0x1c9)]=function(_0x303ba3,_0x2e2908){return _0x303ba3===_0x2e2908;},_0x5613e8[_0x3c1c10(0x1ed)]=function(_0xcc3337,_0x5d9e9e){return _0xcc3337===_0x5d9e9e;},_0x5613e8['emdTh']=_0x3c1c10(0x1f3);const _0x448293=_0x5613e8;let _0x39bf93=0x0;if(_0x448293[_0x3c1c10(0x1ed)](_0x4a9ffd['length'],0x0))return _0x39bf93;return console['log'](chalk[_0x3c1c10(0x200)]['bgWhite'](_0x448293[_0x3c1c10(0x1e7)])),_0x4a9ffd[_0x3c1c10(0x1e8)](_0x22eff9=>{const _0x4abec4=_0x3c1c10,_0x3dddf6=_0x22eff9[0x0],_0x3416d1=_0x22eff9[0x1];helper['isBrowserstackInfra']()&&console[_0x4abec4(0x1d2)]('\x0a'+chalk['bold'][_0x4abec4(0x1e9)](''+helper[_0x4abec4(0x1e1)](_0x3dddf6)));const _0x2f2718=_0x3416d1['scenarios'],_0x1a84da=_0x3416d1[_0x4abec4(0x1d1)],_0x8c4fdc=_0x3416d1[_0x4abec4(0x1a0)],_0x4c4bdb=_0x3416d1[_0x4abec4(0x1f0)],_0x3d89f8=_0x3416d1[_0x4abec4(0x1a5)],_0x4a6e8e=_0x3416d1['stepsSkipped'],_0x54d8f3=_0x3416d1[_0x4abec4(0x198)],_0x54bab9=_0x3416d1[_0x4abec4(0x19f)],_0x22284d=_0x3416d1[_0x4abec4(0x1d3)],_0xc1ea6b=_0x3416d1[_0x4abec4(0x1ab)],_0x5e7ec1=_0x3416d1[_0x4abec4(0x1b4)];let _0x2c5a55=_0x2f2718+_0x4abec4(0x1fd);const _0x28b675=_0x448293[_0x4abec4(0x202)](_0x448293['zvToz'](_0x2f2718,_0x8c4fdc),0x0)?_0x448293[_0x4abec4(0x1dc)](_0x2f2718,_0x8c4fdc):0x0;if(_0x448293[_0x4abec4(0x1e4)](_0x8c4fdc,0x0)&&_0x448293[_0x4abec4(0x20d)](_0x28b675,0x0))_0x2c5a55+='\x20('+chalk['bold'][_0x4abec4(0x194)](_0x8c4fdc+_0x4abec4(0x1d4))+',\x20'+chalk[_0x4abec4(0x200)][_0x4abec4(0x1b1)](_0x28b675+'\x20passed')+')';else(_0x448293['JcfoX'](_0x8c4fdc,0x0)||_0x448293['SoOnh'](_0x28b675,0x0))&&(_0x2c5a55+=_0x448293[_0x4abec4(0x1ea)](_0x8c4fdc,0x0)?'\x20('+chalk[_0x4abec4(0x200)]['red'](_0x8c4fdc+_0x4abec4(0x1d4))+')':'\x20('+chalk[_0x4abec4(0x200)][_0x4abec4(0x1b1)](_0x28b675+_0x4abec4(0x1a7))+')');const _0x3f2a01=_0x1a84da+_0x4abec4(0x1be),_0x4f2aee=[];_0x448293['diSNR'](_0xc1ea6b,0x0)&&_0x4f2aee[_0x4abec4(0x1bc)](''+chalk['bold'][_0x4abec4(0x194)](_0xc1ea6b+_0x4abec4(0x1db)));_0x448293['MECsE'](_0x4c4bdb,0x0)&&_0x4f2aee['push'](''+chalk['bold']['red'](_0x4c4bdb+_0x4abec4(0x1d4)));_0x448293[_0x4abec4(0x20d)](_0x3d89f8,0x0)&&_0x4f2aee[_0x4abec4(0x1bc)](''+chalk[_0x4abec4(0x200)]['green'](_0x3d89f8+_0x4abec4(0x1a7)));_0x448293[_0x4abec4(0x20b)](_0x54d8f3,0x0)&&_0x4f2aee[_0x4abec4(0x1bc)](''+chalk['bold'][_0x4abec4(0x1e9)](_0x54d8f3+_0x4abec4(0x211)));_0x448293[_0x4abec4(0x202)](_0x4a6e8e,0x0)&&_0x4f2aee[_0x4abec4(0x1bc)](''+chalk[_0x4abec4(0x200)][_0x4abec4(0x1b6)](_0x4a6e8e+'\x20skipped'));_0x448293[_0x4abec4(0x20d)](_0x54bab9,0x0)&&_0x4f2aee[_0x4abec4(0x1bc)](''+chalk[_0x4abec4(0x200)][_0x4abec4(0x1e9)](_0x54bab9+_0x4abec4(0x1f4)));_0x448293[_0x4abec4(0x202)](_0x22284d,0x0)&&_0x4f2aee['push'](''+chalk['bold'][_0x4abec4(0x1e9)](_0x22284d+_0x4abec4(0x1d5)));const _0x287517=_0x448293['ZuUuw'](_0x448293[_0x4abec4(0x1f7)](_0x448293[_0x4abec4(0x1fc)](_0x3f2a01,'('),_0x4f2aee['join'](',\x20')),')');console['log'](_0x448293[_0x4abec4(0x216)](_0x448293[_0x4abec4(0x19d)](_0x448293[_0x4abec4(0x216)](_0x448293['ZuUuw']('\x0a',_0x2c5a55),'\x0a'),_0x287517),'\x0a')),_0x448293[_0x4abec4(0x1c9)](_0x5e7ec1,![])&&(_0x39bf93=0x1);}),_0x39bf93;}async function run(_0x235baa,_0x58f386,_0x50d8ea){const _0x1de682=a5_0x249362,_0x4a4b98={'ThELH':function(_0x37b21e,_0x1a9a8b){return _0x37b21e(_0x1a9a8b);},'UaBSL':function(_0x28025d,_0x399c35){return _0x28025d>_0x399c35;},'QpubO':_0x1de682(0x212),'IxkmN':_0x1de682(0x1b7),'WTtfT':'cucumber','yjGFr':_0x1de682(0x1bf),'PsIdN':_0x1de682(0x1df),'hTiJT':'1|0|4|2|3','XGpHx':_0x1de682(0x205),'cCDAJ':function(_0x9e8fbe,_0x5cad8c){return _0x9e8fbe>_0x5cad8c;},'tjpSK':function(_0x58e159,_0x21fc8f){return _0x58e159-_0x21fc8f;},'rWjKh':function(_0x25d55b,_0x14f0de){return _0x25d55b>=_0x14f0de;},'beCNx':function(_0x592594,_0x623ad5){return _0x592594!=_0x623ad5;},'ImPot':_0x1de682(0x1c1),'Pvexh':function(_0x47050d,_0x9823e0,_0x2bd3d0,_0x5822af,_0x1b2b90,_0x397e90){return _0x47050d(_0x9823e0,_0x2bd3d0,_0x5822af,_0x1b2b90,_0x397e90);}},_0xbbdac3=helper[_0x1de682(0x1cd)](_0x4a4b98[_0x1de682(0x1a8)]);let _0x1b9e1f=constants['FRAMEWORKS']['CUCUMBER'];global[_0x1de682(0x1f9)]=!!_0xbbdac3,await _0x50d8ea[_0x1de682(0x1e3)](_0x235baa);if(_0xbbdac3){const _0x265d94=_0x4a4b98[_0x1de682(0x1cf)][_0x1de682(0x191)]('|');let _0x252adf=0x0;while(!![]){switch(_0x265d94[_0x252adf++]){case'0':logger[_0x1de682(0x1e5)](_0x1de682(0x1fb)+_0xbbdac3+_0x1de682(0x1ff));continue;case'1':_0x1b9e1f=constants[_0x1de682(0x20c)][_0x1de682(0x18c)];continue;case'2':BrowserstackCLI[_0x1de682(0x210)]()[_0x1de682(0x1ad)](_0x50d8ea[_0x1de682(0x1ef)],_0x50d8ea[_0x1de682(0x1c4)]);continue;case'3':await BrowserstackCLI[_0x1de682(0x210)]()['bootstrap']();continue;case'4':CLIUtils[_0x1de682(0x190)](constants[_0x1de682(0x20c)][_0x1de682(0x1c5)],_0x1b9e1f);continue;}break;}}BrowserstackCLI['getInstance']()[_0x1de682(0x1fe)]&&(process[_0x1de682(0x203)][_0x1de682(0x1b8)]=BrowserstackCLI[_0x1de682(0x210)]()[_0x1de682(0x1fe)]);helper['setUserConfigPath'](_0x50d8ea['framework'],_0x235baa);!helper['isBrowserstackInfra']()&&await _0x50d8ea['setupTCGAuth']();await helper[_0x1de682(0x207)](_0x50d8ea[_0x1de682(0x1ef)]);const _0x500237=helper[_0x1de682(0x204)](_0x50d8ea['config']);!helper['isUndefined'](_0x50d8ea[_0x1de682(0x1ef)]['accessibilityOptions'])&&(process[_0x1de682(0x203)][_0x1de682(0x1bb)]=JSON[_0x1de682(0x18d)](_0x50d8ea['config'][_0x1de682(0x1ba)]));if(!BrowserstackCLI['getInstance']()[_0x1de682(0x1d7)]()){const _0x2b9416=await TestHubHandler[_0x1de682(0x208)](constants[_0x1de682(0x20c)][_0x1de682(0x1c5)],_0x50d8ea);}let _0x29ffd4=[];if(!helper[_0x1de682(0x1a4)]()){const _0x207dbc={};_0x207dbc[_0x1de682(0x199)]=[],_0x29ffd4=helper[_0x1de682(0x1cc)](Object[_0x1de682(0x18f)]({},_0x50d8ea['config'],_0x207dbc),_0x500237,constants['FRAMEWORKS']['CUCUMBER']);}else _0x29ffd4=helper['prepareCapabilities'](_0x50d8ea[_0x1de682(0x1ef)],_0x500237,constants[_0x1de682(0x20c)][_0x1de682(0x1c5)]);if(!_0x50d8ea[_0x1de682(0x1ef)])return;const _0x4252af=_0x50d8ea['config'][_0x1de682(0x1c2)]||helper['getUserWorkerCount'](_0x235baa,_0x58f386,_0x50d8ea[_0x1de682(0x1ef)],constants[_0x1de682(0x20c)][_0x1de682(0x1c5)])||0x1,_0x2c5425={'server':helper[_0x1de682(0x192)](_0x50d8ea['config']),'proxySettings':_0x50d8ea[_0x1de682(0x1ef)][_0x1de682(0x197)],'maxWorkers':_0x4252af,'browserStackLogLevel':_0x50d8ea[_0x1de682(0x1ef)]['logLevel'],'skipSessionName':_0x50d8ea['config'][_0x1de682(0x201)][_0x1de682(0x1c6)],'skipSessionStatus':_0x50d8ea['config'][_0x1de682(0x201)]['skipSessionStatus'],'turboScaleUrl':_0x50d8ea[_0x1de682(0x1ef)][_0x1de682(0x1cb)]},_0x4ff33e=process[_0x1de682(0x1aa)],[_0x28329f,_0x52e043]=helper['parseFormatters'](_0x4ff33e),_0xed10f5=path['join'](process['cwd'](),_0x4a4b98[_0x1de682(0x1ee)]);if(_0x4a4b98[_0x1de682(0x1f2)](_0x52e043[_0x1de682(0x1da)],0x0)){helper[_0x1de682(0x217)](_0xed10f5);for(let _0x3c25a5=_0x4a4b98['tjpSK'](_0x28329f[_0x1de682(0x1da)],0x1);_0x4a4b98[_0x1de682(0x1a9)](_0x3c25a5,0x0);_0x3c25a5--){_0x4ff33e[_0x1de682(0x1b2)](_0x28329f[_0x3c25a5],0x2);}}_0x4a4b98[_0x1de682(0x1d9)](_0x50d8ea[_0x1de682(0x1ef)][_0x1de682(0x19e)],null)?process[_0x1de682(0x203)][_0x1de682(0x1de)]=_0x50d8ea[_0x1de682(0x1ef)][_0x1de682(0x19e)]:process[_0x1de682(0x203)][_0x1de682(0x1de)]=_0x4a4b98[_0x1de682(0x1ae)];PerformanceTester[_0x1de682(0x1f5)](PerformanceEvents[_0x1de682(0x1f6)]);let _0x46b7df;_0x4a4b98[_0x1de682(0x1c7)](parallelCucumberRun,_0x29ffd4,_0x2c5425,_0x50d8ea['config'],_0x4ff33e,_0x52e043)[_0x1de682(0x1eb)](async _0x291063=>{const _0x5b488d=_0x1de682;PerformanceTester[_0x5b488d(0x1bd)](PerformanceEvents[_0x5b488d(0x1c3)]),_0x46b7df=_0x291063;const _0xb63053=_0x4a4b98['ThELH'](printCucumberStats,_0x291063);process[_0x5b488d(0x1b3)]=_0xb63053,_0x4a4b98[_0x5b488d(0x215)](_0x52e043[_0x5b488d(0x1da)],0x0)&&(logger[_0x5b488d(0x1e5)](_0x4a4b98[_0x5b488d(0x1ac)]),helper[_0x5b488d(0x1b5)](_0xed10f5,_0x52e043),logger[_0x5b488d(0x1e5)](_0x4a4b98['IxkmN']),helper[_0x5b488d(0x1a6)](_0xed10f5));})[_0x1de682(0x196)](async()=>{const _0x2cf463=_0x1de682;PerformanceTester['start'](PerformanceEvents[_0x2cf463(0x1c3)]),_0x50d8ea['errorMessage']=helper['getErrorMessageFromResults'](_0x46b7df,_0x4a4b98['WTtfT']),testOpsHelper[_0x2cf463(0x19c)]();try{await TestHubHandler[_0x2cf463(0x1ec)](),await BrowserstackCLI[_0x2cf463(0x210)]()[_0x2cf463(0x1ec)]();}catch(_0x4fb4dd){logger[_0x2cf463(0x1e5)](_0x2cf463(0x19b)+util['format'](_0x4fb4dd));}try{const {browserstackFolderPath:_0x49a17a,tcgConfigPath:_0x4c1e17}=helper[_0x2cf463(0x214)]();fs[_0x2cf463(0x1e6)](_0x4c1e17),fs[_0x2cf463(0x1e0)](_0x49a17a);}catch(_0x41d231){logger[_0x2cf463(0x1e5)](_0x4a4b98[_0x2cf463(0x213)],_0x41d231);}await utilities['finalExecution'](_0x50d8ea);});}module['exports']=run;
2
+ 'use strict';const a5_0x4a3b40=a5_0x9628;(function(_0x138ece,_0x37daff){const _0x2ea28e=a5_0x9628,_0x2f89f2=_0x138ece();while(!![]){try{const _0x26e2a5=parseInt(_0x2ea28e(0x13b))/0x1+parseInt(_0x2ea28e(0x12d))/0x2*(-parseInt(_0x2ea28e(0x140))/0x3)+-parseInt(_0x2ea28e(0x187))/0x4*(parseInt(_0x2ea28e(0x157))/0x5)+parseInt(_0x2ea28e(0x167))/0x6+-parseInt(_0x2ea28e(0x16a))/0x7*(parseInt(_0x2ea28e(0x156))/0x8)+-parseInt(_0x2ea28e(0x1a3))/0x9+parseInt(_0x2ea28e(0x1b2))/0xa*(parseInt(_0x2ea28e(0x17c))/0xb);if(_0x26e2a5===_0x37daff)break;else _0x2f89f2['push'](_0x2f89f2['shift']());}catch(_0x4fdd60){_0x2f89f2['push'](_0x2f89f2['shift']());}}}(a5_0x4d26,0x4b972));const fs=require('fs'),path=require(a5_0x4a3b40(0x178)),util=require('util'),logger=require('../../helpers/logger')[a5_0x4a3b40(0x154)],{default:BrowserStackSetup}=require(a5_0x4a3b40(0x1ab)),helper=require(a5_0x4a3b40(0x181)),utilities=require('../../helpers/utilities'),constants=require(a5_0x4a3b40(0x1b6)),{parallelCucumberRun}=require(a5_0x4a3b40(0x12f)),TestHubHandler=require(a5_0x4a3b40(0x13a)),testOpsHelper=require(a5_0x4a3b40(0x132)),chalk=require(a5_0x4a3b40(0x134)),PerformanceTester=require(a5_0x4a3b40(0x1b5)),PerformanceEvents=require(a5_0x4a3b40(0x153))[a5_0x4a3b40(0x15a)],BrowserstackCLI=require(a5_0x4a3b40(0x1bb)),CLIUtils=require('../v2/cliUtils'),TestInfo=require(a5_0x4a3b40(0x17d));function printCucumberStats(_0x58b0f1){const _0x190ac5=a5_0x4a3b40,_0x5c4419={};_0x5c4419[_0x190ac5(0x163)]=function(_0x1d07ae,_0x35b53a){return _0x1d07ae>_0x35b53a;},_0x5c4419[_0x190ac5(0x190)]=function(_0x1b1e70,_0xe9da77){return _0x1b1e70-_0xe9da77;},_0x5c4419[_0x190ac5(0x185)]=function(_0x4d1624,_0x25b314){return _0x4d1624-_0x25b314;},_0x5c4419['pSGMH']=function(_0x5ed27e,_0xd0efab){return _0x5ed27e>_0xd0efab;},_0x5c4419[_0x190ac5(0x184)]=function(_0xb73801,_0x500597){return _0xb73801>_0x500597;},_0x5c4419[_0x190ac5(0x19a)]=function(_0x28c01e,_0x38b144){return _0x28c01e>_0x38b144;},_0x5c4419[_0x190ac5(0x138)]=function(_0x316651,_0x2fa5b4){return _0x316651>_0x2fa5b4;},_0x5c4419['ylBhz']=function(_0x185781,_0x3cf212){return _0x185781>_0x3cf212;},_0x5c4419[_0x190ac5(0x159)]=function(_0x233cea,_0x1d0b70){return _0x233cea>_0x1d0b70;},_0x5c4419[_0x190ac5(0x1ac)]=function(_0x2e077e,_0x3eec69){return _0x2e077e>_0x3eec69;},_0x5c4419['BFAev']=function(_0x5e9867,_0x4779d8){return _0x5e9867+_0x4779d8;},_0x5c4419['dgaXd']=function(_0x304bf9,_0x36683e){return _0x304bf9+_0x36683e;},_0x5c4419[_0x190ac5(0x188)]=function(_0x5b60b8,_0x10cf87){return _0x5b60b8+_0x10cf87;},_0x5c4419[_0x190ac5(0x131)]=function(_0x33b14b,_0x466ff8){return _0x33b14b===_0x466ff8;},_0x5c4419[_0x190ac5(0x17f)]=function(_0x5a3e2d,_0x4e1f2b){return _0x5a3e2d===_0x4e1f2b;},_0x5c4419['Meyim']=_0x190ac5(0x19b);const _0x25657c=_0x5c4419;let _0x5d3ec2=0x0;if(_0x25657c['llEGN'](_0x58b0f1[_0x190ac5(0x143)],0x0))return _0x5d3ec2;return console[_0x190ac5(0x15b)](chalk[_0x190ac5(0x1a5)][_0x190ac5(0x161)](_0x25657c[_0x190ac5(0x174)])),_0x58b0f1[_0x190ac5(0x15c)](_0x358f4e=>{const _0x35acb2=_0x190ac5,_0x3a5d96=_0x358f4e[0x0],_0x32375a=_0x358f4e[0x1];helper[_0x35acb2(0x13f)]()&&console[_0x35acb2(0x15b)]('\x0a'+chalk[_0x35acb2(0x1a5)]['yellow'](''+helper['getPlatformName'](_0x3a5d96)));const _0x183658=_0x32375a[_0x35acb2(0x19e)],_0x4726d6=_0x32375a[_0x35acb2(0x14b)],_0x2beb8c=_0x32375a[_0x35acb2(0x196)],_0x326577=_0x32375a[_0x35acb2(0x1a2)],_0x2b53fb=_0x32375a[_0x35acb2(0x135)],_0x2ecda2=_0x32375a[_0x35acb2(0x155)],_0x12b587=_0x32375a[_0x35acb2(0x137)],_0x18a8d0=_0x32375a[_0x35acb2(0x192)],_0xc931aa=_0x32375a[_0x35acb2(0x160)],_0xcb9e8c=_0x32375a['stepsAmbiguous'],_0xbcc9a3=_0x32375a[_0x35acb2(0x172)];let _0x498033=_0x183658+_0x35acb2(0x1ba);const _0x3b05e5=_0x25657c[_0x35acb2(0x163)](_0x25657c['ybobL'](_0x183658,_0x2beb8c),0x0)?_0x25657c['NiBUT'](_0x183658,_0x2beb8c):0x0;if(_0x25657c[_0x35acb2(0x163)](_0x2beb8c,0x0)&&_0x25657c['MomXd'](_0x3b05e5,0x0))_0x498033+='\x20('+chalk[_0x35acb2(0x1a5)]['red'](_0x2beb8c+'\x20failed')+',\x20'+chalk[_0x35acb2(0x1a5)][_0x35acb2(0x19d)](_0x3b05e5+_0x35acb2(0x194))+')';else(_0x25657c[_0x35acb2(0x18f)](_0x2beb8c,0x0)||_0x25657c['agunl'](_0x3b05e5,0x0))&&(_0x498033+=_0x25657c[_0x35acb2(0x18f)](_0x2beb8c,0x0)?'\x20('+chalk[_0x35acb2(0x1a5)][_0x35acb2(0x1a8)](_0x2beb8c+_0x35acb2(0x17a))+')':'\x20('+chalk['bold']['green'](_0x3b05e5+'\x20passed')+')');const _0x49cd5f=_0x4726d6+_0x35acb2(0x136),_0x216381=[];_0x25657c[_0x35acb2(0x19a)](_0xcb9e8c,0x0)&&_0x216381[_0x35acb2(0x169)](''+chalk[_0x35acb2(0x1a5)][_0x35acb2(0x1a8)](_0xcb9e8c+'\x20ambiguous'));_0x25657c[_0x35acb2(0x138)](_0x326577,0x0)&&_0x216381[_0x35acb2(0x169)](''+chalk[_0x35acb2(0x1a5)][_0x35acb2(0x1a8)](_0x326577+'\x20failed'));_0x25657c[_0x35acb2(0x1aa)](_0x2b53fb,0x0)&&_0x216381[_0x35acb2(0x169)](''+chalk[_0x35acb2(0x1a5)]['green'](_0x2b53fb+_0x35acb2(0x194)));_0x25657c[_0x35acb2(0x159)](_0x12b587,0x0)&&_0x216381[_0x35acb2(0x169)](''+chalk[_0x35acb2(0x1a5)][_0x35acb2(0x177)](_0x12b587+_0x35acb2(0x19c)));_0x25657c[_0x35acb2(0x18f)](_0x2ecda2,0x0)&&_0x216381[_0x35acb2(0x169)](''+chalk[_0x35acb2(0x1a5)][_0x35acb2(0x149)](_0x2ecda2+_0x35acb2(0x195)));_0x25657c[_0x35acb2(0x159)](_0x18a8d0,0x0)&&_0x216381[_0x35acb2(0x169)](''+chalk[_0x35acb2(0x1a5)][_0x35acb2(0x177)](_0x18a8d0+'\x20undefined'));_0x25657c[_0x35acb2(0x1ac)](_0xc931aa,0x0)&&_0x216381[_0x35acb2(0x169)](''+chalk[_0x35acb2(0x1a5)][_0x35acb2(0x177)](_0xc931aa+_0x35acb2(0x195)));const _0x2dabfa=_0x25657c[_0x35acb2(0x180)](_0x25657c['dgaXd'](_0x25657c['dgaXd'](_0x49cd5f,'('),_0x216381[_0x35acb2(0x186)](',\x20')),')');console[_0x35acb2(0x15b)](_0x25657c[_0x35acb2(0x189)](_0x25657c[_0x35acb2(0x188)](_0x25657c[_0x35acb2(0x189)](_0x25657c[_0x35acb2(0x180)]('\x0a',_0x498033),'\x0a'),_0x2dabfa),'\x0a')),_0x25657c[_0x35acb2(0x131)](_0xbcc9a3,![])&&(_0x5d3ec2=0x1);}),_0x5d3ec2;}function a5_0x4d26(){const _0x253f52=['skipSessionName','start','Detected\x20Playwright\x20version\x20','\x20scenarios','../v2/browserstackCLI','6matpRd','bootstrap','../test-runner','turboScaleUrl','VONPL','../../helpers/test-observability/utils','setBrowserstackConfig','chalk','stepsPassed','\x20steps','stepsPending','tdzLc','HLWMW','../../helpers/testhub/testhubHandler','489332oEIYZc','proxySettings','useW3C','removeDir','isBrowserstackInfra','257034OJHiyV','BROWSERSTACK_TEST_OBSERVABILITY_YML','errorMessage','length','splice','prepareCapabilities','IKTSv','logLevel','tmp','cyan','stop','steps','pxZnY','Removing\x20tmp\x20directory\x20created\x20for\x20reports','Pahds','getPackageVersion','rmdirSync','FRAMEWORKS','PLAYWRIGHT','../../helpers/performance/constants','winstonLogger','stepsSkipped','8PXsybs','10SNSspn','error\x20removing\x20tcg\x20config\x20file','YYkss','EVENTS','log','forEach','end','launchBuild','xYPlC','stepsUnknown','bgWhite','true','MomXd','stringify','getInstance','createDir','712230YHYpEX','SDK_SETUP','push','1810879xduWgC','getHubUrl','SDK_CLEANUP','binSessionId','0|3|1|4|2','argv','isRunning','finalExecution','processSuccess','debug','Meyim','exports','sBvhh','yellow','path','framework','\x20failed','handleApp','18392toHQPv','../v2/TestInfo','accessibilityOptions','llEGN','BFAev','../../helpers/helper','skipSessionStatus','cliConfig','agunl','NiBUT','join','1073492nMxCQA','AdfVo','dgaXd','getErrorMessageFromResults','setFrameworkDetail','jYqAB','finally','testContextOptions','pSGMH','ybobL','unlinkSync','stepsUndefined','Gjuow','\x20passed','\x20skipped','scenariosFailed','initialize','tXZjy','assign','FNemp','****\x20RESULTS\x20****','\x20pending','green','scenarios','parallelsPerPlatform','fdgeA','CUCUMBER','stepsFailed','1474830EeHcvi','config','bold','setupTCGAuth','mfCZX','red','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','ylBhz','../../helpers/BrowserStackSetup','yrUYs','__isPlaywrightInstalled','exitCode','setUserConfigPath','cwd','Generating\x20consolidated\x20report...','5490AwnPYO','env','mergeOutputFiles','../../helpers/performance/performance-tester','../utils/constants'];a5_0x4d26=function(){return _0x253f52;};return a5_0x4d26();}function a5_0x9628(_0x36def7,_0x5a934a){const _0x4d26e1=a5_0x4d26();return a5_0x9628=function(_0x9628f7,_0x530c87){_0x9628f7=_0x9628f7-0x12d;let _0x387c7f=_0x4d26e1[_0x9628f7];return _0x387c7f;},a5_0x9628(_0x36def7,_0x5a934a);}async function run(_0x18ff34,_0x1184ec,_0x84aa40){const _0x4ce4af=a5_0x4a3b40,_0x5c7348={'pxZnY':function(_0x7eda0d,_0x14c349){return _0x7eda0d(_0x14c349);},'fdgeA':function(_0x5e8054,_0x501f6b){return _0x5e8054>_0x501f6b;},'MuNvy':_0x4ce4af(0x1b1),'sBvhh':_0x4ce4af(0x14d),'IKTSv':'cucumber','tXZjy':_0x4ce4af(0x158),'Ctmme':'@playwright/test','mfCZX':_0x4ce4af(0x16e),'Pahds':_0x4ce4af(0x148),'HLWMW':function(_0x29db91,_0x223d07){return _0x29db91>_0x223d07;},'xYPlC':function(_0x4353a8,_0x8742b4){return _0x4353a8-_0x8742b4;},'jYqAB':function(_0x4e40fa,_0x482792){return _0x4e40fa>=_0x482792;},'ajxPG':function(_0x4ec342,_0xd3e7b7){return _0x4ec342!=_0xd3e7b7;},'Gjuow':_0x4ce4af(0x162),'ekdcu':function(_0x176031,_0x530dc6,_0x522951,_0x7ef715,_0x3a9ccc,_0xc3017){return _0x176031(_0x530dc6,_0x522951,_0x7ef715,_0x3a9ccc,_0xc3017);}},_0x3b2653=helper[_0x4ce4af(0x14f)](_0x5c7348['Ctmme']);let _0x4c368b=constants['FRAMEWORKS']['CUCUMBER'];global[_0x4ce4af(0x1ad)]=!!_0x3b2653,await _0x84aa40[_0x4ce4af(0x197)](_0x18ff34);if(_0x3b2653){const _0x44d0e3=_0x5c7348[_0x4ce4af(0x1a7)]['split']('|');let _0x4ceb6e=0x0;while(!![]){switch(_0x44d0e3[_0x4ceb6e++]){case'0':_0x4c368b=constants[_0x4ce4af(0x151)][_0x4ce4af(0x152)];continue;case'1':CLIUtils[_0x4ce4af(0x18b)](constants['FRAMEWORKS'][_0x4ce4af(0x1a1)],_0x4c368b);continue;case'2':await BrowserstackCLI[_0x4ce4af(0x165)]()[_0x4ce4af(0x12e)]();continue;case'3':logger[_0x4ce4af(0x173)](_0x4ce4af(0x1b9)+_0x3b2653+'\x20for\x20cucumber-js\x20flow');continue;case'4':BrowserstackCLI['getInstance']()[_0x4ce4af(0x133)](_0x84aa40[_0x4ce4af(0x1a4)],_0x84aa40[_0x4ce4af(0x183)]);continue;}break;}}BrowserstackCLI['getInstance']()[_0x4ce4af(0x16d)]&&(process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x4ce4af(0x165)]()[_0x4ce4af(0x16d)]);helper[_0x4ce4af(0x1af)](_0x84aa40[_0x4ce4af(0x179)],_0x18ff34);!helper[_0x4ce4af(0x13f)]()&&await _0x84aa40[_0x4ce4af(0x1a6)]();await helper[_0x4ce4af(0x17b)](_0x84aa40['config']);const _0x5c833e=helper[_0x4ce4af(0x13d)](_0x84aa40['config']);!helper['isUndefined'](_0x84aa40[_0x4ce4af(0x1a4)][_0x4ce4af(0x17e)])&&(process[_0x4ce4af(0x1b3)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x4ce4af(0x164)](_0x84aa40[_0x4ce4af(0x1a4)]['accessibilityOptions']));if(!BrowserstackCLI[_0x4ce4af(0x165)]()[_0x4ce4af(0x170)]()){const _0x3fc847=await TestHubHandler[_0x4ce4af(0x15e)](constants[_0x4ce4af(0x151)][_0x4ce4af(0x1a1)],_0x84aa40);}let _0x388ad7=[];if(!helper['isBrowserstackInfra']()){const _0xe09630={};_0xe09630['platforms']=[],_0x388ad7=helper[_0x4ce4af(0x145)](Object[_0x4ce4af(0x199)]({},_0x84aa40[_0x4ce4af(0x1a4)],_0xe09630),_0x5c833e,constants[_0x4ce4af(0x151)][_0x4ce4af(0x1a1)]);}else _0x388ad7=helper['prepareCapabilities'](_0x84aa40[_0x4ce4af(0x1a4)],_0x5c833e,constants[_0x4ce4af(0x151)][_0x4ce4af(0x1a1)]);if(!_0x84aa40[_0x4ce4af(0x1a4)])return;const _0x249425=_0x84aa40['config'][_0x4ce4af(0x19f)]||helper['getUserWorkerCount'](_0x18ff34,_0x1184ec,_0x84aa40['config'],constants[_0x4ce4af(0x151)][_0x4ce4af(0x1a1)])||0x1,_0x4bcfdf={'server':helper[_0x4ce4af(0x16b)](_0x84aa40[_0x4ce4af(0x1a4)]),'proxySettings':_0x84aa40['config'][_0x4ce4af(0x13c)],'maxWorkers':_0x249425,'browserStackLogLevel':_0x84aa40[_0x4ce4af(0x1a4)][_0x4ce4af(0x147)],'skipSessionName':_0x84aa40[_0x4ce4af(0x1a4)][_0x4ce4af(0x18e)][_0x4ce4af(0x1b7)],'skipSessionStatus':_0x84aa40['config']['testContextOptions'][_0x4ce4af(0x182)],'turboScaleUrl':_0x84aa40[_0x4ce4af(0x1a4)][_0x4ce4af(0x130)]},_0x29aa3a=process[_0x4ce4af(0x16f)],[_0x4eccc9,_0x5d3b61]=helper['parseFormatters'](_0x29aa3a),_0x584742=path[_0x4ce4af(0x186)](process[_0x4ce4af(0x1b0)](),_0x5c7348[_0x4ce4af(0x14e)]);if(_0x5c7348[_0x4ce4af(0x139)](_0x5d3b61['length'],0x0)){helper[_0x4ce4af(0x166)](_0x584742);for(let _0x21c5c5=_0x5c7348[_0x4ce4af(0x15f)](_0x4eccc9[_0x4ce4af(0x143)],0x1);_0x5c7348[_0x4ce4af(0x18c)](_0x21c5c5,0x0);_0x21c5c5--){_0x29aa3a[_0x4ce4af(0x144)](_0x4eccc9[_0x21c5c5],0x2);}}_0x5c7348['ajxPG'](_0x84aa40[_0x4ce4af(0x1a4)]['testObservability'],null)?process[_0x4ce4af(0x1b3)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x84aa40['config']['testObservability']:process['env'][_0x4ce4af(0x141)]=_0x5c7348[_0x4ce4af(0x193)];PerformanceTester[_0x4ce4af(0x15d)](PerformanceEvents[_0x4ce4af(0x168)]);let _0x1d1263;_0x5c7348['ekdcu'](parallelCucumberRun,_0x388ad7,_0x4bcfdf,_0x84aa40[_0x4ce4af(0x1a4)],_0x29aa3a,_0x5d3b61)['then'](async _0x5900b2=>{const _0x3441d0=_0x4ce4af;PerformanceTester[_0x3441d0(0x1b8)](PerformanceEvents[_0x3441d0(0x16c)]),_0x1d1263=_0x5900b2;const _0x1217f1=_0x5c7348[_0x3441d0(0x14c)](printCucumberStats,_0x5900b2);process[_0x3441d0(0x1ae)]=_0x1217f1,_0x5c7348[_0x3441d0(0x1a0)](_0x5d3b61[_0x3441d0(0x143)],0x0)&&(logger[_0x3441d0(0x173)](_0x5c7348['MuNvy']),helper[_0x3441d0(0x1b4)](_0x584742,_0x5d3b61),logger[_0x3441d0(0x173)](_0x5c7348[_0x3441d0(0x176)]),helper[_0x3441d0(0x13e)](_0x584742));})[_0x4ce4af(0x18d)](async()=>{const _0x23a8b1=_0x4ce4af;PerformanceTester[_0x23a8b1(0x1b8)](PerformanceEvents[_0x23a8b1(0x16c)]),_0x84aa40[_0x23a8b1(0x142)]=helper[_0x23a8b1(0x18a)](_0x1d1263,_0x5c7348[_0x23a8b1(0x146)]),testOpsHelper['printBuildLink']();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0x23a8b1(0x14a)]();}catch(_0x30a3c4){logger['debug'](_0x23a8b1(0x1a9)+util['format'](_0x30a3c4));}try{const {browserstackFolderPath:_0x31f443,tcgConfigPath:_0x5f583e}=helper['getTCGConfigFilePaths']();fs[_0x23a8b1(0x191)](_0x5f583e),fs[_0x23a8b1(0x150)](_0x31f443);}catch(_0x33f75f){logger[_0x23a8b1(0x173)](_0x5c7348[_0x23a8b1(0x198)],_0x33f75f);}await utilities[_0x23a8b1(0x171)](_0x84aa40);});}module[a5_0x4a3b40(0x175)]=run;