browserstack-node-sdk 1.34.34 → 1.34.36

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 (131) 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/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance/constants.js +1 -1
  115. package/src/helpers/performance/performance-tester.js +1 -1
  116. package/src/helpers/processHelper.js +1 -1
  117. package/src/helpers/request-spy.js +1 -1
  118. package/src/helpers/setKeepAlive.js +1 -1
  119. package/src/helpers/test-observability/constants.js +1 -1
  120. package/src/helpers/test-observability/error-handler.js +1 -1
  121. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  122. package/src/helpers/test-observability/sessionHandler.js +1 -1
  123. package/src/helpers/test-observability/utils.js +1 -1
  124. package/src/helpers/testhub/constants.js +1 -1
  125. package/src/helpers/testhub/testhubHandler.js +1 -1
  126. package/src/helpers/testhub/utils.js +1 -1
  127. package/src/helpers/timeoutPromise.js +1 -1
  128. package/src/helpers/utilities.js +1 -1
  129. package/src/helpers/w3cMapping.js +1 -1
  130. package/src/hubAllocationMethods.js +1 -1
  131. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a1_0x300a(_0x4d90b4,_0x393187){const _0x271067=a1_0x2710();return a1_0x300a=function(_0x300a30,_0x1639ed){_0x300a30=_0x300a30-0x184;let _0x143820=_0x271067[_0x300a30];return _0x143820;},a1_0x300a(_0x4d90b4,_0x393187);}const a1_0x3afdca=a1_0x300a;(function(_0x4f4f35,_0x354dbc){const _0x43ab1f=a1_0x300a,_0x2bee57=_0x4f4f35();while(!![]){try{const _0x213281=parseInt(_0x43ab1f(0x1a1))/0x1*(-parseInt(_0x43ab1f(0x1e6))/0x2)+parseInt(_0x43ab1f(0x235))/0x3+parseInt(_0x43ab1f(0x222))/0x4+parseInt(_0x43ab1f(0x21e))/0x5+parseInt(_0x43ab1f(0x21d))/0x6+-parseInt(_0x43ab1f(0x197))/0x7+parseInt(_0x43ab1f(0x19f))/0x8*(parseInt(_0x43ab1f(0x1e7))/0x9);if(_0x213281===_0x354dbc)break;else _0x2bee57['push'](_0x2bee57['shift']());}catch(_0x48ff52){_0x2bee57['push'](_0x2bee57['shift']());}}}(a1_0x2710,0x4b3c0));const fs=require('fs'),util=require(a1_0x3afdca(0x199)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x3afdca(0x1b3)),logger=require(a1_0x3afdca(0x1cc))[a1_0x3afdca(0x1f0)],testOpsHelper=require(a1_0x3afdca(0x1cd)),requestSpy=require(a1_0x3afdca(0x20d)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x3afdca(0x20b)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x3afdca(0x24f)),AccessibilityHelper=require(a1_0x3afdca(0x1f8)),scripts=require(a1_0x3afdca(0x207)),PerformanceTester=require(a1_0x3afdca(0x223)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x3afdca(0x236)),testHubConstants=require(a1_0x3afdca(0x24e)),globals=require(a1_0x3afdca(0x1e4)),CodeceptJS=requireModule(a1_0x3afdca(0x1ef),a1_0x3afdca(0x20c)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x3afdca(0x20c)),CodeceptWebDriver=requireModule(a1_0x3afdca(0x1f1),a1_0x3afdca(0x20c)),CodeceptRecorder=requireModule(a1_0x3afdca(0x1e8),a1_0x3afdca(0x20c)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js','codeceptjs'),playwrightMarkSessionStatus=(_0x14b89f,_0x3e21ad,_0x27005f)=>{const _0x50e693=a1_0x3afdca,_0x293dc2={'YzaFf':_0x50e693(0x22c),'yFEnO':function(_0x4bf27d,_0x2603ca){return _0x4bf27d(_0x2603ca);}},_0x2f4012={};_0x2f4012[_0x50e693(0x1eb)]=_0x3e21ad;const _0x494cbc={};_0x494cbc[_0x50e693(0x1f4)]=_0x293dc2['YzaFf'],_0x494cbc[_0x50e693(0x1b2)]=_0x2f4012;const _0x2a45ca=_0x494cbc;return!_0x293dc2[_0x50e693(0x195)](isUndefined,_0x27005f)&&(_0x2a45ca[_0x50e693(0x1b2)]['reason']=JSON[_0x50e693(0x1db)](_0x27005f)),_0x14b89f[_0x50e693(0x1bf)](()=>{},'browserstack_executor:\x20'+JSON[_0x50e693(0x1db)](_0x2a45ca));},o11ySync=PerformanceTester[a1_0x3afdca(0x231)](PerformanceO11yEvents[a1_0x3afdca(0x200)],async _0x57b07d=>{const _0x5230a1=a1_0x3afdca,_0x4ed649={};_0x4ed649[_0x5230a1(0x1c7)]=function(_0x2dd824,_0x141638){return _0x2dd824===_0x141638;},_0x4ed649[_0x5230a1(0x1ff)]=_0x5230a1(0x1fb);const _0x178b7f=_0x4ed649;_0x178b7f['pLzwO'](_0x57b07d[_0x5230a1(0x190)]['name'],_0x178b7f[_0x5230a1(0x1ff)])?await _0x57b07d[_0x5230a1(0x1bf)](_0x3ccbd9=>{},testOpsHelper[_0x5230a1(0x23b)]()):await _0x57b07d[_0x5230a1(0x1bf)](testOpsHelper[_0x5230a1(0x23b)]());}),markSessionName=PerformanceTester[a1_0x3afdca(0x231)](PerformanceAutEvents['SESSION_NAME'],async(_0x1d04aa,_0x2f60c4)=>{const _0x46b97f=a1_0x3afdca,_0x4f9b02={};_0x4f9b02['RiTRz']=_0x46b97f(0x221),_0x4f9b02[_0x46b97f(0x1b1)]=function(_0x26de4d,_0x325679){return _0x26de4d===_0x325679;},_0x4f9b02[_0x46b97f(0x215)]='Playwright';const _0x481984=_0x4f9b02,_0x518425={};_0x518425[_0x46b97f(0x1a0)]=_0x2f60c4;const _0x2257e8={};_0x2257e8[_0x46b97f(0x1f4)]=_0x481984[_0x46b97f(0x1c6)],_0x2257e8[_0x46b97f(0x1b2)]=_0x518425;const _0x4b96ac=_0x2257e8;_0x481984[_0x46b97f(0x1b1)](_0x1d04aa[_0x46b97f(0x190)][_0x46b97f(0x1a0)],_0x481984['SQCGK'])?await _0x1d04aa[_0x46b97f(0x1bf)](()=>{},_0x46b97f(0x239)+JSON[_0x46b97f(0x1db)](_0x4b96ac)):await _0x1d04aa[_0x46b97f(0x1bf)](_0x46b97f(0x239)+JSON[_0x46b97f(0x1db)](_0x4b96ac));}),patchSaveScreenshot=_0x2485ae=>{const _0x24781d=a1_0x3afdca,_0x429e16={'FxGox':_0x24781d(0x1b4),'ntacD':_0x24781d(0x241),'zdqUV':function(_0x3581f1){return _0x3581f1();},'KpcBj':function(_0x59f91b,_0x57a9b4){return _0x59f91b(_0x57a9b4);}};_0x429e16[_0x24781d(0x22d)](isTrue,process[_0x24781d(0x232)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x2485ae['patchSaveScreenshot']&&(_0x2485ae[_0x24781d(0x196)]=!![],_0x2485ae['initSaveScreenshot']=_0x2485ae[_0x24781d(0x1a2)],_0x2485ae[_0x24781d(0x1a2)]=(_0x354c80,_0x36c453=![])=>{const _0x27636a=_0x24781d,_0x394d50={'ZvORT':_0x429e16['FxGox'],'NVvMI':_0x429e16[_0x27636a(0x1d1)],'RfBvW':function(_0xf74471){const _0x457b5c=_0x27636a;return _0x429e16[_0x457b5c(0x1c4)](_0xf74471);}};return new Promise(function(_0x53f167,_0x503354){const _0x11ff21=_0x27636a;_0x2485ae['initSaveScreenshot'](_0x354c80,_0x36c453)[_0x11ff21(0x228)](()=>{const _0x47d856=_0x11ff21,_0x579303=CodeceptUtils['screenshotOutputFolder'](_0x354c80),_0x1e10ed=fs[_0x47d856(0x202)](_0x579303);process[_0x47d856(0x226)](_0x47d856(0x24a)+process['pid'],{'timestamp':new Date()[_0x47d856(0x1be)](),'message':_0x1e10ed[_0x47d856(0x19d)](_0x394d50[_0x47d856(0x220)]),'kind':_0x394d50[_0x47d856(0x1d2)]}),_0x394d50[_0x47d856(0x1b7)](_0x53f167);})[_0x11ff21(0x1dd)](()=>null);});});},patchWebDriverBefore=_0x32f25d=>{const _0x59fca9=a1_0x3afdca,_0x3a1cad={'MaymG':function(_0x116bd0){return _0x116bd0();},'wbkoe':function(_0x24850c,_0xe9933a){return _0x24850c(_0xe9933a);},'TthEO':function(_0x35ad9c,_0x3d42f2){return _0x35ad9c===_0x3d42f2;},'UuYYD':_0x59fca9(0x21b)},_0x54128b=async function(_0x433327,_0x5d1b35){const _0x3fc833=_0x59fca9;return _0x3a1cad[_0x3fc833(0x186)](isAccessibilityAutomationSession)&&!global[_0x3fc833(0x184)]&&global[_0x3fc833(0x224)]&&scripts[_0x3fc833(0x213)](_0x433327[_0x3fc833(0x1a0)])&&_0x3a1cad[_0x3fc833(0x225)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3fc833(0x1e1)],async()=>{const _0x409746=_0x3fc833;logger['debug']('Performing\x20scan\x20for\x20'+_0x433327[_0x409746(0x1a9)]+'\x20'+_0x433327[_0x409746(0x1a0)]),await AccessibilityHelper[_0x409746(0x1d5)](_0x32f25d,scripts[_0x409746(0x21f)]);},{'command':_0x433327[_0x3fc833(0x1a0)]})()),global[_0x3fc833(0x184)]=![],_0x5d1b35[_0x3fc833(0x249)](this,Array['prototype'][_0x3fc833(0x21a)]['call'](arguments,0x2));},_0x398520=CodeceptWebDriver[_0x59fca9(0x245)]['_before'];CodeceptWebDriver[_0x59fca9(0x245)][_0x59fca9(0x1da)]=async function(){const _0x289a38=_0x59fca9,_0x303ee2={'ZHpte':function(_0x472bd,_0x124432){const _0x4b9ae1=a1_0x300a;return _0x3a1cad[_0x4b9ae1(0x1fc)](_0x472bd,_0x124432);},'AVIKv':_0x3a1cad['UuYYD']};await _0x398520[_0x289a38(0x249)](this,arguments),scripts[_0x289a38(0x230)][_0x289a38(0x188)](_0x5ce0f2=>_0x5ce0f2[_0x289a38(0x1a0)]&&_0x5ce0f2['class'])[_0x289a38(0x1bc)](_0xe0caa8=>{const _0x894d52=_0x289a38;this['browser'][_0x894d52(0x185)](_0xe0caa8[_0x894d52(0x1a0)],_0x54128b[_0x894d52(0x19b)](this,_0xe0caa8),_0x303ee2[_0x894d52(0x1cf)](_0xe0caa8['class'],_0x303ee2[_0x894d52(0x208)]));}),_0x3a1cad[_0x289a38(0x225)](processWebDriverConfig,_0x32f25d);};},patchPlaywrightBefore=()=>{const _0x27edc3=a1_0x3afdca;PlaywrightSessionDetails['patch']();const _0x4cff25=CodeceptPlaywright[_0x27edc3(0x245)][_0x27edc3(0x1da)];CodeceptPlaywright[_0x27edc3(0x245)][_0x27edc3(0x1da)]=async function(){const _0x1bf6e9=_0x27edc3;this[_0x1bf6e9(0x1b8)]=await this['browser'][_0x1bf6e9(0x1ed)]()[0x0],await _0x4cff25[_0x1bf6e9(0x249)](this,arguments);};},getCodeceptDriver=()=>{const _0x3a63cc=a1_0x3afdca,_0x5ea516={};_0x5ea516[_0x3a63cc(0x1c2)]=_0x3a63cc(0x23d),_0x5ea516[_0x3a63cc(0x242)]=_0x3a63cc(0x1fb),_0x5ea516[_0x3a63cc(0x19c)]=_0x3a63cc(0x216),_0x5ea516[_0x3a63cc(0x1a6)]=_0x3a63cc(0x244);const _0x3d553b=_0x5ea516,_0x453e25=[_0x3d553b[_0x3a63cc(0x1c2)],_0x3d553b['PrqgE'],_0x3d553b[_0x3a63cc(0x19c)],_0x3d553b['QVCrK']],_0x1e680b=_0x453e25[_0x3a63cc(0x234)](_0x170f28=>!!CodeceptJS[_0x3a63cc(0x18c)]['helpers'](_0x170f28));if(!_0x1e680b)return null;return CodeceptJS[_0x3a63cc(0x18c)][_0x3a63cc(0x1f7)](_0x1e680b);};module[a1_0x3afdca(0x248)]=function(_0x131577){const _0x465c2c=a1_0x3afdca,_0x756aae={'dSiru':function(_0x5c4796){return _0x5c4796();},'noRlI':function(_0x2ce0ee,_0xb77603){return _0x2ce0ee(_0xb77603);},'LLTrZ':_0x465c2c(0x189),'vNGBG':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','AxEZU':_0x465c2c(0x1de),'gAoWe':_0x465c2c(0x23f),'cbYPj':_0x465c2c(0x192),'NOxlh':_0x465c2c(0x20f),'DADSE':_0x465c2c(0x209),'eMzdx':_0x465c2c(0x1d0),'dmkJa':'test-before','vJzgo':function(_0x479091){return _0x479091();},'hEYHl':function(_0x5d5041,_0xa5c062,_0x46f6b1){return _0x5d5041(_0xa5c062,_0x46f6b1);},'YPNKS':function(_0x56f4ae,_0x22c977){return _0x56f4ae(_0x22c977);},'dpFIu':'test-started','AqMRu':function(_0x26b426,_0x503b4c,_0x350fba){return _0x26b426(_0x503b4c,_0x350fba);},'PuJlI':function(_0x2f17fb,_0x4f40bf,_0x5cd80f){return _0x2f17fb(_0x4f40bf,_0x5cd80f);},'ivKhv':_0x465c2c(0x247),'UEete':function(_0x48813e,_0x1cb6ac,_0x48f745,_0x3d8705){return _0x48813e(_0x1cb6ac,_0x48f745,_0x3d8705);},'EjXax':function(_0x520236,_0x2817d9){return _0x520236===_0x2817d9;},'FWAnl':_0x465c2c(0x1dc),'SpVbE':_0x465c2c(0x1c5),'sttgs':_0x465c2c(0x1c8),'XGbqI':_0x465c2c(0x1e3),'ZxkEY':_0x465c2c(0x1f6),'YHJYr':'test-after','UgGIa':'INFO','AGrqt':'TEST_LOG','liijG':_0x465c2c(0x1d4),'ReKAm':_0x465c2c(0x210),'MTSms':'bddStep-after','jflyG':_0x465c2c(0x1fb)};_0x131577[_0x465c2c(0x1a5)]&&(global[_0x465c2c(0x214)]=_0x131577['skipSessionStatus']);PerformanceTester[_0x465c2c(0x1ca)]();const _0x58698d=_0x756aae[_0x465c2c(0x211)](getCodeceptDriver),_0x4a0076=new O11yHelper(_0x58698d,_0x131577),_0x1a9b30=!!CodeceptJS[_0x465c2c(0x18c)][_0x465c2c(0x1f7)](_0x756aae[_0x465c2c(0x1e5)]);global[_0x465c2c(0x217)]=_0x58698d,_0x58698d&&(PerformanceTester[_0x465c2c(0x231)](PerformanceEvents[_0x465c2c(0x1c0)],()=>{const _0x6cfb40=_0x465c2c;_0x1a9b30?_0x756aae[_0x6cfb40(0x1d8)](patchPlaywrightBefore):_0x756aae['noRlI'](patchWebDriverBefore,_0x58698d);})(),PerformanceTester[_0x465c2c(0x231)](PerformanceEvents[_0x465c2c(0x1a4)],()=>{const _0x2d51cb=_0x465c2c;_0x58698d[_0x2d51cb(0x189)]=async()=>{const _0x519aaa=_0x2d51cb;if(global[_0x519aaa(0x224)]){const _0x4ae3d8={};_0x4ae3d8[_0x519aaa(0x1b9)]=_0x756aae[_0x519aaa(0x246)],await PerformanceTester[_0x519aaa(0x231)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x251bd7=_0x519aaa;await AccessibilityHelper[_0x251bd7(0x1d5)](_0x58698d,scripts[_0x251bd7(0x21f)]);},_0x4ae3d8)(),await PerformanceTester[_0x519aaa(0x231)](PerformanceA11yEvents[_0x519aaa(0x21c)],async()=>{const _0x37f7a6=_0x519aaa;await AccessibilityHelper[_0x37f7a6(0x1d5)](_0x58698d,scripts['getResultsSummary']);})();}else return logger['warn'](_0x756aae[_0x519aaa(0x206)]),{};},_0x58698d[_0x2d51cb(0x1de)]=async()=>{const _0x5c7dc3=_0x2d51cb;if(global[_0x5c7dc3(0x224)]){const _0x4bb6a0={};_0x4bb6a0[_0x5c7dc3(0x1b9)]=_0x756aae['AxEZU'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5c7dc3(0x1e1)],async()=>{const _0x32eb36=_0x5c7dc3;await AccessibilityHelper[_0x32eb36(0x1d5)](_0x58698d,scripts[_0x32eb36(0x21f)]);},_0x4bb6a0)(),await PerformanceTester[_0x5c7dc3(0x231)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x1cc76c=_0x5c7dc3;await AccessibilityHelper[_0x1cc76c(0x1d5)](_0x58698d,scripts[_0x1cc76c(0x240)]);})();}else return logger[_0x5c7dc3(0x1c9)](_0x756aae[_0x5c7dc3(0x193)]),{};},_0x756aae['noRlI'](patchSaveScreenshot,_0x58698d);})()),CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x19a)]['on'](CodeceptJS['event']['all']['before'],()=>{const _0x1f6405=_0x465c2c;PerformanceTester[_0x1f6405(0x24b)](PerformanceEvents[_0x1f6405(0x22a)]);try{_0x4a0076[_0x1f6405(0x24b)](),testOpsHelper[_0x1f6405(0x20e)](),PerformanceTester[_0x1f6405(0x1a7)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x260159){PerformanceTester[_0x1f6405(0x24c)](_0x260159),PerformanceTester['end'](PerformanceEvents[_0x1f6405(0x22a)],![],_0x260159);}}),CodeceptJS['event'][_0x465c2c(0x19a)]['on'](CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x1d3)][_0x465c2c(0x1ac)],async()=>{const _0x10f7f1=_0x465c2c;PerformanceTester['start'](PerformanceEvents[_0x10f7f1(0x18f)]);try{requestSpy[_0x10f7f1(0x1f5)](),await _0x4a0076[_0x10f7f1(0x1cb)](),PerformanceTester[_0x10f7f1(0x1a7)](PerformanceEvents[_0x10f7f1(0x18f)]);}catch(_0x341705){PerformanceTester[_0x10f7f1(0x24c)](_0x341705),PerformanceTester[_0x10f7f1(0x1a7)](PerformanceEvents['SDK_POST_TEST'],![],_0x341705);}finally{PerformanceTester[_0x10f7f1(0x1b0)]();}}),CodeceptJS['event'][_0x465c2c(0x19a)]['on'](CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x187)][_0x465c2c(0x23e)],_0x508697=>{const _0x18cf5f=_0x465c2c;PerformanceTester['start'](PerformanceEvents[_0x18cf5f(0x1df)]);try{const _0x1e7255=_0x508697[_0x18cf5f(0x1af)][_0x18cf5f(0x1e0)],_0x3c757e=_0x4a0076[_0x18cf5f(0x22e)](TEST_EVENTS[_0x18cf5f(0x1c3)],_0x1e7255);CodeceptRecorder[_0x18cf5f(0x18b)](()=>_0x4a0076[_0x18cf5f(0x201)](TEST_EVENTS[_0x18cf5f(0x1c3)],_0x3c757e));const _0x32a1ff={};_0x32a1ff['hookType']=_0x756aae[_0x18cf5f(0x19e)],PerformanceTester[_0x18cf5f(0x1a7)](PerformanceEvents['SDK_HOOK'],!![],null,_0x32a1ff);}catch(_0x3971c0){const _0x46cbbc={};_0x46cbbc[_0x18cf5f(0x198)]=_0x756aae[_0x18cf5f(0x19e)],PerformanceTester[_0x18cf5f(0x1a7)](PerformanceEvents[_0x18cf5f(0x1df)],![],_0x3971c0,_0x46cbbc),PerformanceTester[_0x18cf5f(0x24c)](_0x3971c0);}}),CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x19a)]['on'](CodeceptJS[_0x465c2c(0x24d)]['hook'][_0x465c2c(0x23a)],_0x12e4f6=>{const _0x3ce24c=_0x465c2c,_0x5ed1d2={};_0x5ed1d2['hookType']=_0x756aae[_0x3ce24c(0x219)],PerformanceTester[_0x3ce24c(0x24b)](PerformanceHookEvents[_0x3ce24c(0x1df)],!![],null,_0x5ed1d2);try{const _0x5763bd=_0x12e4f6[_0x3ce24c(0x1af)][_0x3ce24c(0x1e0)],_0x2a393d=_0x4a0076['captureEvent'](TEST_EVENTS[_0x3ce24c(0x1fa)],_0x5763bd);CodeceptRecorder['add'](()=>_0x4a0076[_0x3ce24c(0x201)](TEST_EVENTS[_0x3ce24c(0x1fa)],_0x2a393d));const _0x5e5397={};_0x5e5397['hookType']=_0x756aae[_0x3ce24c(0x219)],PerformanceTester['end'](PerformanceHookEvents[_0x3ce24c(0x1df)],!![],null,_0x5e5397);}catch(_0x169be2){PerformanceTester[_0x3ce24c(0x24c)](_0x169be2);const _0x28c16f={};_0x28c16f['hookType']=_0x756aae['NOxlh'],PerformanceTester[_0x3ce24c(0x1a7)](PerformanceHookEvents['SDK_HOOK'],![],_0x169be2,_0x28c16f);}}),CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x19a)]['on'](CodeceptJS[_0x465c2c(0x24d)]['hook']['failed'],async(_0x4fac06,_0xabfd43)=>{const _0x324ac5=_0x465c2c;PerformanceTester['start'](PerformanceHookEvents[_0x324ac5(0x1df)]);try{const _0x34ffb0=_0x4fac06['ctx']['test'],_0x5d7a2b=_0x4a0076[_0x324ac5(0x22e)](TEST_EVENTS[_0x324ac5(0x1fa)],_0x34ffb0,_0xabfd43);CodeceptRecorder[_0x324ac5(0x18b)](()=>_0x4a0076['fireEvent'](TEST_EVENTS[_0x324ac5(0x1fa)],_0x5d7a2b));const _0x5c229b={};_0x5c229b[_0x324ac5(0x198)]=_0x756aae[_0x324ac5(0x205)],PerformanceTester['start'](PerformanceHookEvents[_0x324ac5(0x1df)],!![],null,_0x5c229b);}catch(_0xcb8010){PerformanceTester[_0x324ac5(0x24c)](_0xcb8010);const _0x535571={};_0x535571[_0x324ac5(0x198)]=_0x756aae[_0x324ac5(0x205)],PerformanceTester[_0x324ac5(0x1a7)](PerformanceHookEvents[_0x324ac5(0x1df)],![],_0xcb8010,_0x535571);}const _0x524d71={};_0x524d71['hookType']=_0x756aae['DADSE'],PerformanceTester[_0x324ac5(0x1a7)](PerformanceHookEvents[_0x324ac5(0x1df)],!![],null,_0x524d71);}),CodeceptJS[_0x465c2c(0x24d)]['dispatcher']['on'](CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x1e0)]['before'],_0x4ad351=>{const _0x2704ad=_0x465c2c;PerformanceTester[_0x2704ad(0x24b)](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x756aae['eMzdx'],_0x4ad351[_0x2704ad(0x23c)]);_0x756aae[_0x2704ad(0x1d8)](isBrowserstackInfra)&&(_0x1a9b30&&(global[_0x2704ad(0x1f9)]={'currentTest':{'name':_0x4ad351[_0x2704ad(0x23c)],'testInfo':{'titlePath':_0x4ad351[_0x2704ad(0x212)]()}}}));const _0x398587={};_0x398587[_0x2704ad(0x198)]=_0x756aae['dmkJa'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x398587);}catch(_0x4ac50b){PerformanceTester['captureError'](_0x4ac50b);const _0x102b18={};_0x102b18[_0x2704ad(0x198)]=_0x756aae[_0x2704ad(0x243)],PerformanceTester[_0x2704ad(0x1a7)](PerformanceHookEvents['SDK_HOOK'],![],_0x4ac50b,_0x102b18);}}),CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x19a)]['on'](CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x1e0)]['started'],_0x552f9b=>{const _0x5dfbdf=_0x465c2c;PerformanceTester['start'](PerformanceHookEvents[_0x5dfbdf(0x1df)]);try{globals['setGlobal'](_0x756aae['eMzdx'],_0x552f9b[_0x5dfbdf(0x23c)]);const _0x23d57d=_0x4a0076[_0x5dfbdf(0x22e)](TEST_EVENTS['TEST_RUN_STARTED'],_0x552f9b);CodeceptRecorder[_0x5dfbdf(0x18b)](()=>_0x4a0076[_0x5dfbdf(0x201)](TEST_EVENTS['TEST_RUN_STARTED'],_0x23d57d)),CodeceptRecorder[_0x5dfbdf(0x18b)](async()=>{const _0x118083=_0x5dfbdf;_0x756aae[_0x118083(0x211)](isBrowserstackInfra)&&(!_0x756aae['noRlI'](isTrue,_0x131577[_0x118083(0x1a3)])&&await _0x756aae[_0x118083(0x238)](markSessionName,_0x58698d,_0x552f9b[_0x118083(0x23c)]),_0x4a0076['enabled']&&await _0x756aae['YPNKS'](o11ySync,_0x58698d));});}catch(_0x2f586a){const _0x58bd4e={};_0x58bd4e[_0x5dfbdf(0x198)]=_0x756aae[_0x5dfbdf(0x1e9)],PerformanceTester[_0x5dfbdf(0x1a7)](PerformanceHookEvents[_0x5dfbdf(0x1df)],![],_0x2f586a,_0x58bd4e),PerformanceTester[_0x5dfbdf(0x24c)](_0x2f586a);}const _0xba51fe={};_0xba51fe[_0x5dfbdf(0x198)]=_0x756aae[_0x5dfbdf(0x1e9)],PerformanceTester[_0x5dfbdf(0x1a7)](PerformanceHookEvents[_0x5dfbdf(0x1df)],!![],null,_0xba51fe);}),CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x19a)]['on'](CodeceptJS['event']['test'][_0x465c2c(0x23a)],_0x259c4a=>{const _0x5a33cc=_0x465c2c,_0x7a682e={'HHjOx':function(_0x3fcc55,_0x546924,_0x38f7a9){const _0x56a27c=a1_0x300a;return _0x756aae[_0x56a27c(0x191)](_0x3fcc55,_0x546924,_0x38f7a9);},'LPKsf':function(_0x404a6a,_0x1c3184,_0x31e88a){return _0x756aae['PuJlI'](_0x404a6a,_0x1c3184,_0x31e88a);}};PerformanceTester[_0x5a33cc(0x24b)](PerformanceHookEvents['SDK_HOOK']);try{const _0x514ddd=_0x4a0076[_0x5a33cc(0x22e)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x259c4a);CodeceptRecorder['add'](()=>_0x4a0076[_0x5a33cc(0x201)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x514ddd)),CodeceptRecorder[_0x5a33cc(0x18b)](async()=>{const _0x569484=_0x5a33cc;_0x756aae[_0x569484(0x1d8)](isBrowserstackInfra)&&await PerformanceTester[_0x569484(0x231)](PerformanceAutEvents[_0x569484(0x203)],async()=>{const _0x415f48=_0x569484;_0x1a9b30?await _0x7a682e[_0x415f48(0x204)](playwrightMarkSessionStatus,_0x58698d,STATE_PASSED):await _0x7a682e[_0x415f48(0x1bb)](markSessionStatus,_0x58698d,STATE_PASSED);})();}),PerformanceTester[_0x5a33cc(0x1a7)](PerformanceEvents['SDK_TEST']);}catch(_0x7ef841){PerformanceTester[_0x5a33cc(0x24c)](_0x7ef841);const _0x1047a1={};_0x1047a1['hookType']=_0x756aae[_0x5a33cc(0x237)],PerformanceTester['end'](PerformanceHookEvents[_0x5a33cc(0x1df)],![],_0x7ef841,_0x1047a1),PerformanceTester[_0x5a33cc(0x1a7)](PerformanceEvents[_0x5a33cc(0x250)],![],_0x7ef841);}const _0x3a1ace={};_0x3a1ace[_0x5a33cc(0x198)]=_0x756aae['ivKhv'],PerformanceTester['end'](PerformanceHookEvents[_0x5a33cc(0x1df)],!![],null,_0x3a1ace);}),CodeceptJS['event'][_0x465c2c(0x19a)]['on'](CodeceptJS['event'][_0x465c2c(0x1e0)][_0x465c2c(0x1ee)],(_0x298a0a,_0xa38a07)=>{const _0x4ef5c5=_0x465c2c;PerformanceTester[_0x4ef5c5(0x24b)](PerformanceHookEvents[_0x4ef5c5(0x1df)]);try{if(_0x756aae[_0x4ef5c5(0x18a)](_0x298a0a[_0x4ef5c5(0x190)][_0x4ef5c5(0x1a0)],_0x756aae[_0x4ef5c5(0x22f)])){const _0x53d8a9=_0x4a0076[_0x4ef5c5(0x22e)](TEST_EVENTS[_0x4ef5c5(0x22b)],_0x298a0a[_0x4ef5c5(0x1af)][_0x4ef5c5(0x1ec)]);CodeceptRecorder['add'](()=>_0x4a0076[_0x4ef5c5(0x201)](TEST_EVENTS[_0x4ef5c5(0x22b)],_0x53d8a9));}else{const _0x522cfb=_0x4a0076[_0x4ef5c5(0x22e)](TEST_EVENTS[_0x4ef5c5(0x1d7)],_0x298a0a,_0xa38a07);CodeceptRecorder['add'](()=>{const _0x4c594b=_0x4ef5c5;try{_0x4a0076['fireEvent'](TEST_EVENTS[_0x4c594b(0x1d7)],_0x522cfb);}catch(_0x3e04e4){logger['debug'](_0x4c594b(0x20a)+util[_0x4c594b(0x1ae)](_0x3e04e4)),PerformanceTester[_0x4c594b(0x1a7)](PerformanceEvents[_0x4c594b(0x250)],![],_0x3e04e4);}}),CodeceptRecorder[_0x4ef5c5(0x18b)](async()=>{const _0x158ecd=_0x4ef5c5;try{_0x756aae[_0x158ecd(0x211)](isBrowserstackInfra)&&(_0x1a9b30?await _0x756aae['UEete'](playwrightMarkSessionStatus,_0x58698d,STATE_FAILED,_0xa38a07):await _0x756aae[_0x158ecd(0x1d6)](markSessionStatus,_0x58698d,STATE_FAILED,_0xa38a07));}catch(_0x1bc1fd){logger['debug'](_0x158ecd(0x229)+util[_0x158ecd(0x1ae)](_0x1bc1fd)),PerformanceTester[_0x158ecd(0x1a7)](PerformanceEvents['SDK_TEST'],![],_0x1bc1fd);}});}PerformanceTester[_0x4ef5c5(0x1a7)](PerformanceEvents['SDK_TEST']);}catch(_0x5823fe){PerformanceTester[_0x4ef5c5(0x24c)](_0x5823fe);const _0x156f87={};_0x156f87[_0x4ef5c5(0x198)]=_0x756aae[_0x4ef5c5(0x1b5)],PerformanceTester['end'](PerformanceHookEvents[_0x4ef5c5(0x1df)],![],_0x5823fe,_0x156f87),PerformanceTester[_0x4ef5c5(0x1a7)](PerformanceEvents[_0x4ef5c5(0x250)],![],_0x5823fe);}const _0x217728={};_0x217728[_0x4ef5c5(0x198)]=_0x756aae['SpVbE'],PerformanceTester['end'](PerformanceHookEvents[_0x4ef5c5(0x1df)],!![],null,_0x217728);}),CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x19a)]['on'](CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x1e0)]['skipped'],_0x2696f3=>{const _0x420028=_0x465c2c;PerformanceTester[_0x420028(0x24b)](PerformanceHookEvents[_0x420028(0x1df)]);try{const _0x3170fb=_0x4a0076[_0x420028(0x22e)](TEST_EVENTS[_0x420028(0x22b)],_0x2696f3);CodeceptRecorder['add'](()=>_0x4a0076['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3170fb)),PerformanceTester[_0x420028(0x1a7)](PerformanceEvents[_0x420028(0x250)]);}catch(_0x4e9543){PerformanceTester['captureError'](_0x4e9543),PerformanceTester['end'](PerformanceEvents[_0x420028(0x250)],![],_0x4e9543);const _0x1e9e55={};_0x1e9e55[_0x420028(0x198)]=_0x756aae[_0x420028(0x1c1)],PerformanceTester['end'](PerformanceHookEvents[_0x420028(0x1df)],![],_0x4e9543,_0x1e9e55);}const _0x496f89={};_0x496f89[_0x420028(0x198)]=_0x756aae['sttgs'],PerformanceTester[_0x420028(0x1a7)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x496f89);}),CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x19a)]['on'](CodeceptJS['event']['test'][_0x465c2c(0x1ac)],async(_0x43f185,_0x53d13f)=>{const _0x45f559=_0x465c2c;try{PerformanceTester[_0x45f559(0x24b)](PerformanceHookEvents[_0x45f559(0x1df)]);if(_0x756aae[_0x45f559(0x211)](isBrowserstackInfra)){const _0x1bc4e4=_0x756aae['PuJlI'](shouldScanTestForAccessibility,_0x43f185[_0x45f559(0x212)](),!![]);if(_0x756aae['dSiru'](isAccessibilityAutomationSession)&&global[_0x45f559(0x224)]&&_0x1bc4e4){const _0x6be36={};_0x6be36[_0x45f559(0x1aa)]=_0x43f185[_0x45f559(0x1a8)],_0x6be36[_0x45f559(0x1ea)]=process[_0x45f559(0x232)][testHubConstants[_0x45f559(0x1e2)]['BROWSERSTACK_TESTHUB_UUID']],_0x6be36[_0x45f559(0x1b6)]=process[_0x45f559(0x232)][testHubConstants[_0x45f559(0x1e2)][_0x45f559(0x1ad)]];const _0x5c0999=_0x6be36;logger[_0x45f559(0x1fd)](_0x45f559(0x1f2)+JSON[_0x45f559(0x1db)](_0x5c0999)),CodeceptRecorder['add'](async()=>{const _0x187af8=_0x45f559,_0x1e939b={};_0x1e939b[_0x187af8(0x1b9)]=_0x756aae[_0x187af8(0x18d)],await PerformanceTester[_0x187af8(0x231)](PerformanceA11yEvents[_0x187af8(0x1e1)],async()=>{const _0x34c84c=_0x187af8;await AccessibilityHelper['browserStackExecuteDriver'](_0x58698d,scripts[_0x34c84c(0x21f)]);},_0x1e939b)(),await PerformanceTester[_0x187af8(0x231)](PerformanceA11yEvents[_0x187af8(0x194)],async()=>{const _0x1b8c08=_0x187af8;await AccessibilityHelper[_0x1b8c08(0x1d5)](_0x58698d,scripts[_0x1b8c08(0x233)],_0x5c0999);})();}),logger[_0x45f559(0x227)](_0x756aae['ZxkEY']);}}const _0xf47b4f={};_0xf47b4f[_0x45f559(0x198)]=_0x756aae[_0x45f559(0x1bd)],PerformanceTester[_0x45f559(0x1a7)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xf47b4f);}catch(_0x22012c){PerformanceTester[_0x45f559(0x24c)](_0x22012c);const _0x4b77ee={};_0x4b77ee[_0x45f559(0x198)]=_0x756aae[_0x45f559(0x1bd)],PerformanceTester[_0x45f559(0x1a7)](PerformanceHookEvents[_0x45f559(0x1df)],![],_0x22012c,_0x4b77ee);}}),CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x19a)]['on'](CodeceptJS['event']['step'][_0x465c2c(0x218)],_0x2a7737=>{const _0x52b738=_0x465c2c;PerformanceTester[_0x52b738(0x24b)](PerformanceHookEvents[_0x52b738(0x1df)]);try{process['emit'](_0x52b738(0x24a)+process[_0x52b738(0x1f3)],{'timestamp':new Date()[_0x52b738(0x1be)](),'level':_0x756aae['UgGIa'],'message':_0x2a7737,'kind':_0x756aae['AGrqt'],'http_response':{}});}catch(_0x380c8d){PerformanceTester['captureError'](_0x380c8d);const _0x42f33d={};_0x42f33d['hookType']=_0x756aae['liijG'],PerformanceTester[_0x52b738(0x1a7)](PerformanceHookEvents[_0x52b738(0x1df)],![],_0x380c8d,_0x42f33d);}const _0x521825={};_0x521825['hookType']=_0x756aae[_0x52b738(0x1ce)],PerformanceTester[_0x52b738(0x1a7)](PerformanceHookEvents[_0x52b738(0x1df)],!![],null,_0x521825);}),CodeceptJS[_0x465c2c(0x24d)]['dispatcher']['on'](CodeceptJS[_0x465c2c(0x24d)][_0x465c2c(0x1d9)][_0x465c2c(0x1ab)],_0x59852e=>{const _0x269620=_0x465c2c,_0x28fd1f={};_0x28fd1f[_0x269620(0x198)]=_0x756aae['ReKAm'],PerformanceTester[_0x269620(0x231)](PerformanceHookEvents[_0x269620(0x1df)],()=>{const _0x3ee6b=_0x269620;_0x4a0076[_0x3ee6b(0x1ba)](_0x59852e);},_0x28fd1f)();}),CodeceptJS[_0x465c2c(0x24d)]['dispatcher']['on'](CodeceptJS['event'][_0x465c2c(0x1d9)][_0x465c2c(0x1ac)],_0x2b302a=>{const _0x1820a8=_0x465c2c,_0x427505={};_0x427505[_0x1820a8(0x198)]=_0x756aae[_0x1820a8(0x18e)],PerformanceTester[_0x1820a8(0x231)](PerformanceHookEvents[_0x1820a8(0x1df)],()=>{const _0x32f9d5=_0x1820a8;_0x4a0076[_0x32f9d5(0x1fe)](_0x2b302a);},_0x427505)();});};function a1_0x2710(){const _0x1e9d29=['2421PWrVDY','codeceptjs/lib/recorder.js','dpFIu','thBuildUuid','status','currentTest','contexts','failed','codeceptjs/lib/index.js','winstonLogger','codeceptjs/lib/helper/WebDriver.js','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','pid','action','restore','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','helpers','../../bin/playwright/accessibility-helper','__workerDetails','HOOK_RUN_FINISHED','Playwright','TthEO','debug','bddStepFinish','Goqck','SYNC','fireEvent','readFileSync','SESSION_STATUS','HHjOx','DADSE','vNGBG','../../helpers/accessibility-automation/scripts','AVIKv','hook-failed','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','./o11yHelper','codeceptjs','../../helpers/request-spy','addRequestSpy','hook-passed','bddStep-before','vJzgo','titlePath','shouldWrapCommand','__skipSessionStatus','SQCGK','Puppeteer','__driver','comment','NOxlh','slice','Element','GET_RESULTS_SUMMARY','2071122FCrxKx','915890ifPpJz','performScan','ZvORT','setSessionName','888448Cahsyw','../../helpers/performance/performance-tester','accessibilityPlatform','wbkoe','emit','info','then','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','SDK_PRE_TEST','TEST_RUN_SKIPPED','setSessionStatus','KpcBj','captureEvent','FWAnl','commandsToWrap','measureWrapper','env','saveTestResults','find','317724vCxfei','./helper.js','ivKhv','hEYHl','browserstack_executor:\x20','passed','getSyncScript','title','WebDriver','started','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','getResults','TEST_SCREENSHOT','PrqgE','dmkJa','TestCafe','prototype','LLTrZ','test-passed','exports','apply','bs:addLog:','start','captureError','event','../../helpers/testhub/constants.js','../../helpers/accessibility-automation/helper','SDK_TEST','bstackAllyScanning','overwriteCommand','MaymG','hook','filter','getAccessibilityResultsSummary','EjXax','add','container','XGbqI','MTSms','SDK_POST_TEST','constructor','AqMRu','hook-started','gAoWe','SAVE_RESULTS','yFEnO','patchSaveScreenshot','2193485QEgPkZ','hookType','util','dispatcher','bind','CfvJN','toString','cbYPj','3112bevvdE','name','167covhhz','saveScreenshot','skipSessionName','SDK_POST_INITIALIZE','skipSessionStatus','QVCrK','end','testAnalyticsId','class','thTestRunUuid','before','after','BROWSERSTACK_TESTHUB_JWT','format','ctx','stopMonitoring','KdStp','arguments','../../helpers/helper','base64','SpVbE','thJwtToken','RfBvW','browserContext','command','bddStepStart','LPKsf','forEach','YHJYr','toISOString','executeScript','SDK_PRE_INITIALIZE','sttgs','TEvHH','HOOK_RUN_STARTED','zdqUV','test-failed','RiTRz','pLzwO','test-skipped','warn','startMonitoring','stop','../../helpers/logger','../../helpers/test-observability/utils','liijG','ZHpte','browserstackTestName','ntacD','NVvMI','all','step-comment','browserStackExecuteDriver','UEete','TEST_RUN_FINISHED','dSiru','bddStep','_before','stringify','Suite','catch','getAccessibilityResults','SDK_HOOK','test','PERFORM_SCAN','ENV_VAR','afterTest','../../helpers/globals.js','jflyG','4066cDLFSQ'];a1_0x2710=function(){return _0x1e9d29;};return a1_0x2710();}
1
+ function a1_0x35c6(_0x2fe2d2,_0x40d757){const _0xe69a57=a1_0xe69a();return a1_0x35c6=function(_0x35c637,_0x8e6457){_0x35c637=_0x35c637-0x78;let _0x415e5f=_0xe69a57[_0x35c637];return _0x415e5f;},a1_0x35c6(_0x2fe2d2,_0x40d757);}const a1_0x5da91b=a1_0x35c6;(function(_0x4df721,_0x37982d){const _0x24a81d=a1_0x35c6,_0x1350a9=_0x4df721();while(!![]){try{const _0x216d40=-parseInt(_0x24a81d(0x80))/0x1*(-parseInt(_0x24a81d(0xfb))/0x2)+-parseInt(_0x24a81d(0x134))/0x3*(-parseInt(_0x24a81d(0xbf))/0x4)+-parseInt(_0x24a81d(0xb5))/0x5*(-parseInt(_0x24a81d(0xd4))/0x6)+-parseInt(_0x24a81d(0xdd))/0x7*(parseInt(_0x24a81d(0xd3))/0x8)+-parseInt(_0x24a81d(0xc6))/0x9+parseInt(_0x24a81d(0x7a))/0xa+-parseInt(_0x24a81d(0xc9))/0xb;if(_0x216d40===_0x37982d)break;else _0x1350a9['push'](_0x1350a9['shift']());}catch(_0x1b4bf6){_0x1350a9['push'](_0x1350a9['shift']());}}}(a1_0xe69a,0x9d54b));const fs=require('fs'),util=require(a1_0x5da91b(0xe3)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x5da91b(0x14f)),logger=require(a1_0x5da91b(0xc5))[a1_0x5da91b(0x150)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x5da91b(0xea)),PlaywrightSessionDetails=require(a1_0x5da91b(0xdb)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x5da91b(0xae)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x5da91b(0xec)),AccessibilityHelper=require(a1_0x5da91b(0xb0)),scripts=require(a1_0x5da91b(0x91)),PerformanceTester=require(a1_0x5da91b(0xe4)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x5da91b(0x7d)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule(a1_0x5da91b(0xa9),a1_0x5da91b(0x129)),CodeceptUtils=requireModule(a1_0x5da91b(0xc3),a1_0x5da91b(0x129)),CodeceptWebDriver=requireModule(a1_0x5da91b(0x123),a1_0x5da91b(0x129)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x5da91b(0x129)),CodeceptPlaywright=requireModule(a1_0x5da91b(0x144),a1_0x5da91b(0x129)),playwrightMarkSessionStatus=(_0x334424,_0xb52230,_0x5ddacc)=>{const _0x37d324=a1_0x5da91b,_0xf3033c={'UvEuv':_0x37d324(0x94),'ttvmg':function(_0x186e33,_0x3fb06f){return _0x186e33(_0x3fb06f);}},_0x2b87b5={};_0x2b87b5[_0x37d324(0x125)]=_0xb52230;const _0x953935={};_0x953935[_0x37d324(0xb3)]=_0xf3033c[_0x37d324(0xca)],_0x953935[_0x37d324(0x11b)]=_0x2b87b5;const _0x4095f6=_0x953935;return!_0xf3033c[_0x37d324(0xeb)](isUndefined,_0x5ddacc)&&(_0x4095f6[_0x37d324(0x11b)]['reason']=JSON[_0x37d324(0x87)](_0x5ddacc)),_0x334424[_0x37d324(0x7e)](()=>{},_0x37d324(0x11d)+JSON[_0x37d324(0x87)](_0x4095f6));},o11ySync=PerformanceTester[a1_0x5da91b(0x114)](PerformanceO11yEvents[a1_0x5da91b(0xfe)],async _0x2c293d=>{const _0x17d822=a1_0x5da91b,_0x1598f2={};_0x1598f2[_0x17d822(0x13d)]=function(_0x4d62be,_0x163c4d){return _0x4d62be===_0x163c4d;},_0x1598f2[_0x17d822(0xa4)]=_0x17d822(0x155);const _0x11d65d=_0x1598f2;_0x11d65d['ngUZA'](_0x2c293d[_0x17d822(0xdc)][_0x17d822(0xf2)],_0x11d65d['NktLA'])?await _0x2c293d[_0x17d822(0x7e)](_0x53605d=>{},testOpsHelper['getSyncScript']()):await _0x2c293d[_0x17d822(0x7e)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x5da91b(0x114)](PerformanceAutEvents[a1_0x5da91b(0xe0)],async(_0x261ed3,_0x32b475)=>{const _0x3c976f=a1_0x5da91b,_0x177830={};_0x177830[_0x3c976f(0x7f)]=_0x3c976f(0x133),_0x177830['TfsXm']=function(_0x194501,_0x43a4ce){return _0x194501===_0x43a4ce;},_0x177830[_0x3c976f(0x7c)]=_0x3c976f(0x155);const _0x44bae3=_0x177830,_0x1cf1ca={};_0x1cf1ca[_0x3c976f(0xf2)]=_0x32b475;const _0x251e3b={};_0x251e3b[_0x3c976f(0xb3)]=_0x44bae3[_0x3c976f(0x7f)],_0x251e3b[_0x3c976f(0x11b)]=_0x1cf1ca;const _0x32d187=_0x251e3b;_0x44bae3[_0x3c976f(0xad)](_0x261ed3['constructor'][_0x3c976f(0xf2)],_0x44bae3['aTeis'])?await _0x261ed3[_0x3c976f(0x7e)](()=>{},'browserstack_executor:\x20'+JSON[_0x3c976f(0x87)](_0x32d187)):await _0x261ed3[_0x3c976f(0x7e)](_0x3c976f(0x11d)+JSON['stringify'](_0x32d187));}),patchSaveScreenshot=_0x161aff=>{const _0x2125a2=a1_0x5da91b,_0x44953a={'Nmtem':_0x2125a2(0x8f),'FxlTK':_0x2125a2(0x151),'hgDKk':function(_0x43f68f){return _0x43f68f();},'GTGHY':function(_0x11a069,_0x116237){return _0x11a069(_0x116237);}};_0x44953a[_0x2125a2(0xcf)](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x161aff[_0x2125a2(0x11e)]&&(_0x161aff[_0x2125a2(0x11e)]=!![],_0x161aff[_0x2125a2(0xf7)]=_0x161aff['saveScreenshot'],_0x161aff[_0x2125a2(0x103)]=(_0x236e95,_0x12fe44=![])=>{const _0x2f5b38=_0x2125a2,_0x1f7ca7={'ohzzd':_0x44953a['Nmtem'],'Vpbqg':_0x44953a[_0x2f5b38(0x111)],'rDJwz':function(_0x3093da){const _0x1c0b07=_0x2f5b38;return _0x44953a[_0x1c0b07(0x13f)](_0x3093da);}};return new Promise(function(_0x499e5,_0xcf763b){const _0x20783c=_0x2f5b38;_0x161aff['initSaveScreenshot'](_0x236e95,_0x12fe44)[_0x20783c(0x84)](()=>{const _0x5b0a43=_0x20783c,_0x2e2a8b=CodeceptUtils[_0x5b0a43(0xb9)](_0x236e95),_0x11f94c=fs[_0x5b0a43(0xde)](_0x2e2a8b);process['emit'](_0x5b0a43(0x142)+process[_0x5b0a43(0xa1)],{'timestamp':new Date()[_0x5b0a43(0xd8)](),'message':_0x11f94c[_0x5b0a43(0xfa)](_0x1f7ca7[_0x5b0a43(0xd0)]),'kind':_0x1f7ca7[_0x5b0a43(0x106)]}),_0x1f7ca7['rDJwz'](_0x499e5);})[_0x20783c(0x138)](()=>null);});});},patchWebDriverBefore=_0x435e81=>{const _0x18de07=a1_0x5da91b,_0x1ea704={'TcUuS':function(_0x62842d){return _0x62842d();},'qQXFE':function(_0x1689ba,_0x99e0fd){return _0x1689ba(_0x99e0fd);},'NomAj':function(_0x40b5d9,_0x565436){return _0x40b5d9===_0x565436;},'qlbrU':_0x18de07(0xa8),'VhuUH':function(_0x4c9b4e,_0x1b2888){return _0x4c9b4e(_0x1b2888);}},_0xa133b8=async function(_0x3fc325,_0x5233dc){const _0x56fdf6=_0x18de07;return _0x1ea704[_0x56fdf6(0xda)](isAccessibilityAutomationSession)&&!global[_0x56fdf6(0x137)]&&global[_0x56fdf6(0xab)]&&scripts[_0x56fdf6(0x14a)](_0x3fc325[_0x56fdf6(0xf2)])&&_0x1ea704[_0x56fdf6(0x140)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x56fdf6(0x137)]=!![],await PerformanceTester[_0x56fdf6(0x114)](PerformanceA11yEvents[_0x56fdf6(0x12b)],async()=>{const _0x8ed763=_0x56fdf6;logger[_0x8ed763(0x90)](_0x8ed763(0xb6)+_0x3fc325['class']+'\x20'+_0x3fc325[_0x8ed763(0xf2)]),await AccessibilityHelper[_0x8ed763(0xe9)](_0x435e81,scripts[_0x8ed763(0xd9)]);},{'command':_0x3fc325[_0x56fdf6(0xf2)]})()),global[_0x56fdf6(0x137)]=![],_0x5233dc[_0x56fdf6(0x79)](this,Array[_0x56fdf6(0xd2)][_0x56fdf6(0xd1)][_0x56fdf6(0x147)](arguments,0x2));},_0x33c15a=CodeceptWebDriver['prototype']['_before'];CodeceptWebDriver[_0x18de07(0xd2)]['_before']=async function(){const _0x2c7af3=_0x18de07,_0x4d6451={'IvsIN':function(_0x564f88,_0x5ef92c){const _0x54086c=a1_0x35c6;return _0x1ea704[_0x54086c(0xfd)](_0x564f88,_0x5ef92c);},'qtQJb':_0x1ea704[_0x2c7af3(0x136)]};await _0x33c15a[_0x2c7af3(0x79)](this,arguments),scripts[_0x2c7af3(0x132)]['filter'](_0x5f9c2=>_0x5f9c2[_0x2c7af3(0xf2)]&&_0x5f9c2[_0x2c7af3(0xd5)])['forEach'](_0x575d1f=>{const _0x4c6040=_0x2c7af3;this[_0x4c6040(0xf8)][_0x4c6040(0x8b)](_0x575d1f['name'],_0xa133b8[_0x4c6040(0x118)](this,_0x575d1f),_0x4d6451[_0x4c6040(0x124)](_0x575d1f[_0x4c6040(0xd5)],_0x4d6451['qtQJb']));}),_0x1ea704[_0x2c7af3(0xbb)](processWebDriverConfig,_0x435e81);};},patchPlaywrightBefore=()=>{const _0x571061=a1_0x5da91b;PlaywrightSessionDetails[_0x571061(0x8d)]();const _0x299659=CodeceptPlaywright[_0x571061(0xd2)]['_before'];CodeceptPlaywright[_0x571061(0xd2)][_0x571061(0x127)]=async function(){const _0x329b53=_0x571061;this['browserContext']=await this[_0x329b53(0xf8)][_0x329b53(0xdf)]()[0x0],await _0x299659[_0x329b53(0x79)](this,arguments);};},getCodeceptDriver=()=>{const _0x55cc5a=a1_0x5da91b,_0x511854={};_0x511854[_0x55cc5a(0x12c)]='WebDriver',_0x511854['Hzeyd']=_0x55cc5a(0x155),_0x511854[_0x55cc5a(0x130)]=_0x55cc5a(0x146),_0x511854['vhXYC']='TestCafe';const _0x5daacc=_0x511854,_0x32dc86=[_0x5daacc[_0x55cc5a(0x12c)],_0x5daacc[_0x55cc5a(0xf9)],_0x5daacc[_0x55cc5a(0x130)],_0x5daacc[_0x55cc5a(0x100)]],_0x229f39=_0x32dc86[_0x55cc5a(0x110)](_0x13fcf7=>!!CodeceptJS[_0x55cc5a(0x12d)]['helpers'](_0x13fcf7));if(!_0x229f39)return null;return CodeceptJS[_0x55cc5a(0x12d)][_0x55cc5a(0xf0)](_0x229f39);};function a1_0xe69a(){const _0x125a30=['tUZis','1787eUSUpj','hook-started','nFQGY','vqlnO','then','puico','test-started','stringify','pfNbW','end','test-skipped','overwriteCommand','hook-passed','patch','skipSessionName','base64','debug','../../helpers/accessibility-automation/scripts','started','test-before','setSessionStatus','titlePath','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','SDK_PRE_TEST','testAnalyticsId','HOOK_RUN_FINISHED','warn','saveTestResults','bddStep','Tuips','bddStepFinish','thTestRunUuid','DbhCB','pid','before','TEST_RUN_STARTED','NktLA','command','info','gufWd','Element','codeceptjs/lib/index.js','TEST_RUN_SKIPPED','accessibilityPlatform','RnlLf','TfsXm','./o11yHelper','getAccessibilityResults','../../bin/playwright/accessibility-helper','vEPGl','fvpId','action','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','22315xIufrF','Performing\x20scan\x20for\x20','TEST_RUN_FINISHED','GXIPg','screenshotOutputFolder','HOOK_RUN_STARTED','VhuUH','SAVE_RESULTS','stop','vQdDh','167188WwLsPH','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','zcwSM','__workerDetails','codeceptjs/lib/utils.js','env','../../helpers/logger','5300550GzTZyU','test','TELCT','13432573lwyEfj','UvEuv','startMonitoring','SDK_TEST','setGlobal','RJqTz','GTGHY','ohzzd','slice','prototype','19064bxZXNZ','1662IkmqMU','class','start','thBuildUuid','toISOString','performScan','TcUuS','../../bin/playwright/sessionDetails','constructor','3038LuBzzV','readFileSync','contexts','SESSION_NAME','emit','test-failed','util','../../helpers/performance/performance-tester','skipSessionStatus','rTQXN','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','INFO','browserStackExecuteDriver','../../helpers/request-spy','ttvmg','../../helpers/accessibility-automation/helper','thJwtToken','aMIAy','hook','helpers','restore','name','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','captureError','title','browserstackTestName','initSaveScreenshot','browser','Hzeyd','toString','1318XsFBVY','SDK_POST_TEST','NomAj','SYNC','PkabJ','vhXYC','RwqQx','dqUhI','saveScreenshot','ENV_VAR','test-after','Vpbqg','__skipSessionStatus','format','failed','stopMonitoring','BROWSERSTACK_TESTHUB_UUID','pmncg','skipped','getResults','fireEvent','find','FxlTK','jSKou','exports','measureWrapper','SDK_POST_INITIALIZE','dispatcher','suIBX','bind','getResultsSummary','bddStep-after','arguments','all','browserstack_executor:\x20','patchSaveScreenshot','WQFGm','SruqR','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','qBqVW','codeceptjs/lib/helper/WebDriver.js','IvsIN','status','CKmUJ','_before','GET_RESULTS','codeceptjs','hookType','PERFORM_SCAN','zKHxV','container','EKQNH','passed','EZkSr','afterTest','commandsToWrap','setSessionName','6JcZCmV','xSDJx','qlbrU','bstackAllyScanning','catch','CIBZS','SDK_HOOK','ctx','SESSION_STATUS','ngUZA','add','hgDKk','qQXFE','captureEvent','bs:addLog:','after','codeceptjs/lib/helper/Playwright.js','meknI','Puppeteer','call','dSPyR','currentTest','shouldWrapCommand','Suite','event','YPyKR','hook-failed','../../helpers/helper','winstonLogger','TEST_SCREENSHOT','step','getAccessibilityResultsSummary','TSrTx','Playwright','test-passed','bddStepStart','VITgS','apply','9912640LQTggc','jlpHz','aTeis','../../helpers/performance/constants','executeScript'];a1_0xe69a=function(){return _0x125a30;};return a1_0xe69a();}module[a1_0x5da91b(0x113)]=function(_0x30015a){const _0x19cbeb=a1_0x5da91b,_0x59516c={'vEPGl':function(_0x5ba424){return _0x5ba424();},'vqlnO':function(_0x222f8e,_0x389f8b){return _0x222f8e(_0x389f8b);},'GXIPg':'getAccessibilityResultsSummary','zcwSM':_0x19cbeb(0x121),'yXExT':_0x19cbeb(0xaf),'meknI':_0x19cbeb(0xc0),'puico':function(_0x5100da,_0x1c4f6e){return _0x5100da(_0x1c4f6e);},'YPyKR':_0x19cbeb(0x81),'RnlLf':_0x19cbeb(0x8c),'jlpHz':_0x19cbeb(0x14e),'RJqTz':_0x19cbeb(0xf6),'SruqR':_0x19cbeb(0x93),'CIBZS':function(_0x4a4abb,_0x17a7f5,_0x19dbca){return _0x4a4abb(_0x17a7f5,_0x19dbca);},'gufWd':_0x19cbeb(0x86),'xSDJx':function(_0x476aa2){return _0x476aa2();},'WQFGm':function(_0x1c3f4a,_0x43bf2d,_0x42427c){return _0x1c3f4a(_0x43bf2d,_0x42427c);},'VITgS':function(_0x1b967d,_0xf5ca37,_0x1759a4){return _0x1b967d(_0xf5ca37,_0x1759a4);},'aMIAy':_0x19cbeb(0x156),'pmncg':function(_0x1aa66c,_0x392a79,_0x2f66b4,_0x3eeb83){return _0x1aa66c(_0x392a79,_0x2f66b4,_0x3eeb83);},'TELCT':function(_0x1b1c97,_0x2d3574){return _0x1b1c97===_0x2d3574;},'DbhCB':_0x19cbeb(0x14b),'dSPyR':_0x19cbeb(0xe2),'RwqQx':_0x19cbeb(0x8a),'dqUhI':_0x19cbeb(0x131),'pfNbW':function(_0x4702bb){return _0x4702bb();},'vQdDh':function(_0xa0c5a3){return _0xa0c5a3();},'jGneV':_0x19cbeb(0xb4),'SHxKc':_0x19cbeb(0x105),'CKmUJ':_0x19cbeb(0xe8),'suIBX':'TEST_LOG','nFQGY':'step-comment','TSrTx':'bddStep-before','EKQNH':_0x19cbeb(0x11a),'rTQXN':_0x19cbeb(0x155)};_0x30015a[_0x19cbeb(0xe5)]&&(global[_0x19cbeb(0x107)]=_0x30015a[_0x19cbeb(0xe5)]);PerformanceTester[_0x19cbeb(0xcb)]();const _0x218f0c=_0x59516c[_0x19cbeb(0x88)](getCodeceptDriver),_0x14adb2=new O11yHelper(_0x218f0c,_0x30015a),_0x560ed4=!!CodeceptJS[_0x19cbeb(0x12d)][_0x19cbeb(0xf0)](_0x59516c[_0x19cbeb(0xe6)]);global['__driver']=_0x218f0c,_0x218f0c&&(PerformanceTester[_0x19cbeb(0x114)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x3cb191=_0x19cbeb;_0x560ed4?_0x59516c['vEPGl'](patchPlaywrightBefore):_0x59516c[_0x3cb191(0x83)](patchWebDriverBefore,_0x218f0c);})(),PerformanceTester[_0x19cbeb(0x114)](PerformanceEvents[_0x19cbeb(0x115)],()=>{const _0x368ff3=_0x19cbeb;_0x218f0c[_0x368ff3(0x153)]=async()=>{const _0x5d2ed7=_0x368ff3;if(global[_0x5d2ed7(0xab)]){const _0x1b318f={};_0x1b318f['command']=_0x59516c[_0x5d2ed7(0xb8)],await PerformanceTester[_0x5d2ed7(0x114)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3c2578=_0x5d2ed7;await AccessibilityHelper[_0x3c2578(0xe9)](_0x218f0c,scripts[_0x3c2578(0xd9)]);},_0x1b318f)(),await PerformanceTester[_0x5d2ed7(0x114)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x61d9ef=_0x5d2ed7;await AccessibilityHelper[_0x61d9ef(0xe9)](_0x218f0c,scripts[_0x61d9ef(0x119)]);})();}else return logger['warn'](_0x59516c[_0x5d2ed7(0xc1)]),{};},_0x218f0c[_0x368ff3(0xaf)]=async()=>{const _0x122027=_0x368ff3;if(global[_0x122027(0xab)]){const _0x4f87b1={};_0x4f87b1[_0x122027(0xa5)]=_0x59516c['yXExT'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x122027(0x12b)],async()=>{const _0x3e9fc5=_0x122027;await AccessibilityHelper['browserStackExecuteDriver'](_0x218f0c,scripts[_0x3e9fc5(0xd9)]);},_0x4f87b1)(),await PerformanceTester[_0x122027(0x114)](PerformanceA11yEvents[_0x122027(0x128)],async()=>{const _0xf390aa=_0x122027;await AccessibilityHelper[_0xf390aa(0xe9)](_0x218f0c,scripts[_0xf390aa(0x10e)]);})();}else return logger[_0x122027(0x9a)](_0x59516c[_0x122027(0x145)]),{};},_0x59516c[_0x368ff3(0x85)](patchSaveScreenshot,_0x218f0c);})()),CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0x116)]['on'](CodeceptJS['event']['all'][_0x19cbeb(0xa2)],()=>{const _0x578e92=_0x19cbeb;PerformanceTester['start'](PerformanceEvents[_0x578e92(0x97)]);try{_0x14adb2[_0x578e92(0xd6)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x578e92(0x89)](PerformanceEvents[_0x578e92(0x97)]);}catch(_0x4f4951){PerformanceTester[_0x578e92(0xf4)](_0x4f4951),PerformanceTester[_0x578e92(0x89)](PerformanceEvents[_0x578e92(0x97)],![],_0x4f4951);}}),CodeceptJS['event'][_0x19cbeb(0x116)]['on'](CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0x11c)][_0x19cbeb(0x143)],async()=>{const _0x430cd0=_0x19cbeb;PerformanceTester[_0x430cd0(0xd6)](PerformanceEvents[_0x430cd0(0xfc)]);try{requestSpy[_0x430cd0(0xf1)](),await _0x14adb2[_0x430cd0(0xbd)](),PerformanceTester[_0x430cd0(0x89)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x874b31){PerformanceTester[_0x430cd0(0xf4)](_0x874b31),PerformanceTester[_0x430cd0(0x89)](PerformanceEvents[_0x430cd0(0xfc)],![],_0x874b31);}finally{PerformanceTester[_0x430cd0(0x10a)]();}}),CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0x116)]['on'](CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0xef)][_0x19cbeb(0x92)],_0x44ff7f=>{const _0x15a2be=_0x19cbeb;PerformanceTester[_0x15a2be(0xd6)](PerformanceEvents[_0x15a2be(0x13a)]);try{const _0x46cbd9=_0x44ff7f[_0x15a2be(0x13b)][_0x15a2be(0xc7)],_0x4d42c3=_0x14adb2[_0x15a2be(0x141)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x46cbd9);CodeceptRecorder[_0x15a2be(0x13e)](()=>_0x14adb2[_0x15a2be(0x10f)](TEST_EVENTS[_0x15a2be(0xba)],_0x4d42c3));const _0x1c24c3={};_0x1c24c3[_0x15a2be(0x12a)]=_0x59516c[_0x15a2be(0x14d)],PerformanceTester['end'](PerformanceEvents[_0x15a2be(0x13a)],!![],null,_0x1c24c3);}catch(_0x55b9e0){const _0x92e68={};_0x92e68[_0x15a2be(0x12a)]=_0x59516c['YPyKR'],PerformanceTester['end'](PerformanceEvents[_0x15a2be(0x13a)],![],_0x55b9e0,_0x92e68),PerformanceTester[_0x15a2be(0xf4)](_0x55b9e0);}}),CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0x116)]['on'](CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0xef)][_0x19cbeb(0x12f)],_0x586317=>{const _0x209802=_0x19cbeb,_0x249623={};_0x249623[_0x209802(0x12a)]=_0x59516c['RnlLf'],PerformanceTester[_0x209802(0xd6)](PerformanceHookEvents[_0x209802(0x13a)],!![],null,_0x249623);try{const _0x20b16b=_0x586317[_0x209802(0x13b)][_0x209802(0xc7)],_0x32497f=_0x14adb2[_0x209802(0x141)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x20b16b);CodeceptRecorder[_0x209802(0x13e)](()=>_0x14adb2[_0x209802(0x10f)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x32497f));const _0x1839b3={};_0x1839b3[_0x209802(0x12a)]=_0x59516c[_0x209802(0xac)],PerformanceTester[_0x209802(0x89)](PerformanceHookEvents[_0x209802(0x13a)],!![],null,_0x1839b3);}catch(_0x3db0c0){PerformanceTester['captureError'](_0x3db0c0);const _0x29bd55={};_0x29bd55['hookType']=_0x59516c['RnlLf'],PerformanceTester[_0x209802(0x89)](PerformanceHookEvents[_0x209802(0x13a)],![],_0x3db0c0,_0x29bd55);}}),CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0x116)]['on'](CodeceptJS['event'][_0x19cbeb(0xef)][_0x19cbeb(0x109)],async(_0x16aa46,_0x3216ab)=>{const _0x1378a6=_0x19cbeb;PerformanceTester[_0x1378a6(0xd6)](PerformanceHookEvents[_0x1378a6(0x13a)]);try{const _0x20196b=_0x16aa46[_0x1378a6(0x13b)][_0x1378a6(0xc7)],_0x1ad754=_0x14adb2[_0x1378a6(0x141)](TEST_EVENTS[_0x1378a6(0x99)],_0x20196b,_0x3216ab);CodeceptRecorder[_0x1378a6(0x13e)](()=>_0x14adb2[_0x1378a6(0x10f)](TEST_EVENTS[_0x1378a6(0x99)],_0x1ad754));const _0xce7332={};_0xce7332['hookType']=_0x59516c[_0x1378a6(0x7b)],PerformanceTester[_0x1378a6(0xd6)](PerformanceHookEvents[_0x1378a6(0x13a)],!![],null,_0xce7332);}catch(_0x89879f){PerformanceTester['captureError'](_0x89879f);const _0x34fd4e={};_0x34fd4e[_0x1378a6(0x12a)]=_0x59516c[_0x1378a6(0x7b)],PerformanceTester[_0x1378a6(0x89)](PerformanceHookEvents[_0x1378a6(0x13a)],![],_0x89879f,_0x34fd4e);}const _0x14be32={};_0x14be32[_0x1378a6(0x12a)]=_0x59516c[_0x1378a6(0x7b)],PerformanceTester[_0x1378a6(0x89)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x14be32);}),CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0x116)]['on'](CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0xc7)][_0x19cbeb(0xa2)],_0xd6fa99=>{const _0x3507b4=_0x19cbeb;PerformanceTester[_0x3507b4(0xd6)](PerformanceHookEvents[_0x3507b4(0x13a)]);try{globals[_0x3507b4(0xcd)](_0x59516c[_0x3507b4(0xce)],_0xd6fa99[_0x3507b4(0xf5)]);_0x59516c[_0x3507b4(0xb1)](isBrowserstackInfra)&&(_0x560ed4&&(global[_0x3507b4(0xc2)]={'currentTest':{'name':_0xd6fa99['title'],'testInfo':{'titlePath':_0xd6fa99[_0x3507b4(0x95)]()}}}));const _0xd5dc68={};_0xd5dc68[_0x3507b4(0x12a)]=_0x59516c[_0x3507b4(0x120)],PerformanceTester[_0x3507b4(0x89)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xd5dc68);}catch(_0x423dc1){PerformanceTester['captureError'](_0x423dc1);const _0xb7b745={};_0xb7b745[_0x3507b4(0x12a)]=_0x59516c['SruqR'],PerformanceTester[_0x3507b4(0x89)](PerformanceHookEvents[_0x3507b4(0x13a)],![],_0x423dc1,_0xb7b745);}}),CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0x116)]['on'](CodeceptJS[_0x19cbeb(0x14c)]['test'][_0x19cbeb(0x92)],_0x24c71c=>{const _0x4f6237=_0x19cbeb;PerformanceTester[_0x4f6237(0xd6)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x4f6237(0xcd)](_0x59516c[_0x4f6237(0xce)],_0x24c71c[_0x4f6237(0xf5)]);const _0x2fcb4f=_0x14adb2[_0x4f6237(0x141)](TEST_EVENTS[_0x4f6237(0xa3)],_0x24c71c);CodeceptRecorder['add'](()=>_0x14adb2[_0x4f6237(0x10f)](TEST_EVENTS[_0x4f6237(0xa3)],_0x2fcb4f)),CodeceptRecorder[_0x4f6237(0x13e)](async()=>{const _0x4ea859=_0x4f6237;_0x59516c[_0x4ea859(0xb1)](isBrowserstackInfra)&&(!_0x59516c[_0x4ea859(0x83)](isTrue,_0x30015a[_0x4ea859(0x8e)])&&await _0x59516c[_0x4ea859(0x139)](markSessionName,_0x218f0c,_0x24c71c[_0x4ea859(0xf5)]),_0x14adb2['enabled']&&await _0x59516c[_0x4ea859(0x83)](o11ySync,_0x218f0c));});}catch(_0x5d026d){const _0x5df726={};_0x5df726['hookType']=_0x59516c[_0x4f6237(0xa7)],PerformanceTester[_0x4f6237(0x89)](PerformanceHookEvents[_0x4f6237(0x13a)],![],_0x5d026d,_0x5df726),PerformanceTester[_0x4f6237(0xf4)](_0x5d026d);}const _0x2d254b={};_0x2d254b['hookType']=_0x59516c[_0x4f6237(0xa7)],PerformanceTester[_0x4f6237(0x89)](PerformanceHookEvents[_0x4f6237(0x13a)],!![],null,_0x2d254b);}),CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0x116)]['on'](CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0xc7)][_0x19cbeb(0x12f)],_0x5ce1ac=>{const _0x10a5ee=_0x19cbeb,_0x4dcaf8={'fvpId':function(_0x206858,_0x2689cb,_0x390293){const _0x452d87=a1_0x35c6;return _0x59516c[_0x452d87(0x11f)](_0x206858,_0x2689cb,_0x390293);},'Tuips':function(_0x38b336,_0xd6010c,_0x5e7115){const _0x5edc99=a1_0x35c6;return _0x59516c[_0x5edc99(0x78)](_0x38b336,_0xd6010c,_0x5e7115);}};PerformanceTester[_0x10a5ee(0xd6)](PerformanceHookEvents['SDK_HOOK']);try{const _0x100491=_0x14adb2[_0x10a5ee(0x141)](TEST_EVENTS[_0x10a5ee(0xb7)],_0x5ce1ac);CodeceptRecorder[_0x10a5ee(0x13e)](()=>_0x14adb2[_0x10a5ee(0x10f)](TEST_EVENTS[_0x10a5ee(0xb7)],_0x100491)),CodeceptRecorder[_0x10a5ee(0x13e)](async()=>{const _0x655034=_0x10a5ee;_0x59516c[_0x655034(0x135)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x655034(0x13c)],async()=>{const _0xb921fc=_0x655034;_0x560ed4?await _0x4dcaf8[_0xb921fc(0xb2)](playwrightMarkSessionStatus,_0x218f0c,STATE_PASSED):await _0x4dcaf8[_0xb921fc(0x9d)](markSessionStatus,_0x218f0c,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents[_0x10a5ee(0xcc)]);}catch(_0x3b1672){PerformanceTester[_0x10a5ee(0xf4)](_0x3b1672);const _0x36d26c={};_0x36d26c['hookType']=_0x59516c['aMIAy'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x3b1672,_0x36d26c),PerformanceTester[_0x10a5ee(0x89)](PerformanceEvents[_0x10a5ee(0xcc)],![],_0x3b1672);}const _0x1a6e29={};_0x1a6e29[_0x10a5ee(0x12a)]=_0x59516c[_0x10a5ee(0xee)],PerformanceTester[_0x10a5ee(0x89)](PerformanceHookEvents[_0x10a5ee(0x13a)],!![],null,_0x1a6e29);}),CodeceptJS['event'][_0x19cbeb(0x116)]['on'](CodeceptJS[_0x19cbeb(0x14c)]['test'][_0x19cbeb(0x109)],(_0x46031e,_0xc6b45b)=>{const _0xa087dc=_0x19cbeb,_0x10f574={'qBqVW':function(_0x38d8f7){const _0x3831e2=a1_0x35c6;return _0x59516c[_0x3831e2(0xb1)](_0x38d8f7);},'PkabJ':function(_0x18b580,_0x33aa25,_0x1dc4f4,_0x1625e6){const _0x25fcdb=a1_0x35c6;return _0x59516c[_0x25fcdb(0x10c)](_0x18b580,_0x33aa25,_0x1dc4f4,_0x1625e6);}};PerformanceTester[_0xa087dc(0xd6)](PerformanceHookEvents[_0xa087dc(0x13a)]);try{if(_0x59516c[_0xa087dc(0xc8)](_0x46031e['constructor']['name'],_0x59516c[_0xa087dc(0xa0)])){const _0x236753=_0x14adb2[_0xa087dc(0x141)](TEST_EVENTS[_0xa087dc(0xaa)],_0x46031e['ctx'][_0xa087dc(0x149)]);CodeceptRecorder['add'](()=>_0x14adb2[_0xa087dc(0x10f)](TEST_EVENTS[_0xa087dc(0xaa)],_0x236753));}else{const _0x12e57c=_0x14adb2[_0xa087dc(0x141)](TEST_EVENTS[_0xa087dc(0xb7)],_0x46031e,_0xc6b45b);CodeceptRecorder[_0xa087dc(0x13e)](()=>{const _0x74e21e=_0xa087dc;try{_0x14adb2['fireEvent'](TEST_EVENTS[_0x74e21e(0xb7)],_0x12e57c);}catch(_0x229f70){logger[_0x74e21e(0x90)](_0x74e21e(0x96)+util['format'](_0x229f70)),PerformanceTester[_0x74e21e(0x89)](PerformanceEvents[_0x74e21e(0xcc)],![],_0x229f70);}}),CodeceptRecorder[_0xa087dc(0x13e)](async()=>{const _0xe2efad=_0xa087dc;try{_0x10f574[_0xe2efad(0x122)](isBrowserstackInfra)&&(_0x560ed4?await _0x10f574[_0xe2efad(0xff)](playwrightMarkSessionStatus,_0x218f0c,STATE_FAILED,_0xc6b45b):await _0x10f574[_0xe2efad(0xff)](markSessionStatus,_0x218f0c,STATE_FAILED,_0xc6b45b));}catch(_0x57a80c){logger[_0xe2efad(0x90)](_0xe2efad(0xe7)+util[_0xe2efad(0x108)](_0x57a80c)),PerformanceTester['end'](PerformanceEvents[_0xe2efad(0xcc)],![],_0x57a80c);}});}PerformanceTester[_0xa087dc(0x89)](PerformanceEvents[_0xa087dc(0xcc)]);}catch(_0x475ad1){PerformanceTester[_0xa087dc(0xf4)](_0x475ad1);const _0x4de8bf={};_0x4de8bf['hookType']=_0x59516c[_0xa087dc(0x148)],PerformanceTester[_0xa087dc(0x89)](PerformanceHookEvents[_0xa087dc(0x13a)],![],_0x475ad1,_0x4de8bf),PerformanceTester['end'](PerformanceEvents[_0xa087dc(0xcc)],![],_0x475ad1);}const _0x182bfe={};_0x182bfe['hookType']=_0x59516c[_0xa087dc(0x148)],PerformanceTester[_0xa087dc(0x89)](PerformanceHookEvents[_0xa087dc(0x13a)],!![],null,_0x182bfe);}),CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0x116)]['on'](CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0xc7)][_0x19cbeb(0x10d)],_0x3bcd45=>{const _0x1b7d06=_0x19cbeb;PerformanceTester[_0x1b7d06(0xd6)](PerformanceHookEvents[_0x1b7d06(0x13a)]);try{const _0x5ba115=_0x14adb2[_0x1b7d06(0x141)](TEST_EVENTS[_0x1b7d06(0xaa)],_0x3bcd45);CodeceptRecorder[_0x1b7d06(0x13e)](()=>_0x14adb2[_0x1b7d06(0x10f)](TEST_EVENTS[_0x1b7d06(0xaa)],_0x5ba115)),PerformanceTester[_0x1b7d06(0x89)](PerformanceEvents[_0x1b7d06(0xcc)]);}catch(_0xbd5ba3){PerformanceTester['captureError'](_0xbd5ba3),PerformanceTester[_0x1b7d06(0x89)](PerformanceEvents[_0x1b7d06(0xcc)],![],_0xbd5ba3);const _0x201b16={};_0x201b16[_0x1b7d06(0x12a)]=_0x59516c[_0x1b7d06(0x101)],PerformanceTester['end'](PerformanceHookEvents[_0x1b7d06(0x13a)],![],_0xbd5ba3,_0x201b16);}const _0xf0b51c={};_0xf0b51c[_0x1b7d06(0x12a)]=_0x59516c[_0x1b7d06(0x101)],PerformanceTester[_0x1b7d06(0x89)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xf0b51c);}),CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0x116)]['on'](CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0xc7)]['after'],async(_0x16706b,_0x2bec6d)=>{const _0x58c3ea=_0x19cbeb,_0x366df4={};_0x366df4[_0x58c3ea(0x112)]=_0x59516c[_0x58c3ea(0x102)];const _0x21b9b6=_0x366df4;try{PerformanceTester[_0x58c3ea(0xd6)](PerformanceHookEvents[_0x58c3ea(0x13a)]);if(_0x59516c[_0x58c3ea(0x88)](isBrowserstackInfra)){const _0x14add=_0x59516c[_0x58c3ea(0x139)](shouldScanTestForAccessibility,_0x16706b[_0x58c3ea(0x95)](),!![]);if(_0x59516c[_0x58c3ea(0xbe)](isAccessibilityAutomationSession)&&global[_0x58c3ea(0xab)]&&_0x14add){const _0x5863b6={};_0x5863b6[_0x58c3ea(0x9f)]=_0x16706b[_0x58c3ea(0x98)],_0x5863b6[_0x58c3ea(0xd7)]=process[_0x58c3ea(0xc4)][testHubConstants[_0x58c3ea(0x104)][_0x58c3ea(0x10b)]],_0x5863b6[_0x58c3ea(0xed)]=process[_0x58c3ea(0xc4)][testHubConstants[_0x58c3ea(0x104)]['BROWSERSTACK_TESTHUB_JWT']];const _0x3dcee1=_0x5863b6;logger[_0x58c3ea(0x90)](_0x58c3ea(0xf3)+JSON[_0x58c3ea(0x87)](_0x3dcee1)),CodeceptRecorder[_0x58c3ea(0x13e)](async()=>{const _0xc99d4d=_0x58c3ea,_0x530632={};_0x530632[_0xc99d4d(0xa5)]=_0x21b9b6['jSKou'],await PerformanceTester[_0xc99d4d(0x114)](PerformanceA11yEvents[_0xc99d4d(0x12b)],async()=>{const _0x43f84d=_0xc99d4d;await AccessibilityHelper[_0x43f84d(0xe9)](_0x218f0c,scripts[_0x43f84d(0xd9)]);},_0x530632)(),await PerformanceTester[_0xc99d4d(0x114)](PerformanceA11yEvents[_0xc99d4d(0xbc)],async()=>{const _0x29ec01=_0xc99d4d;await AccessibilityHelper['browserStackExecuteDriver'](_0x218f0c,scripts[_0x29ec01(0x9b)],_0x3dcee1);})();}),logger[_0x58c3ea(0xa6)](_0x59516c['jGneV']);}}const _0x4f4159={};_0x4f4159[_0x58c3ea(0x12a)]=_0x59516c['SHxKc'],PerformanceTester[_0x58c3ea(0x89)](PerformanceHookEvents[_0x58c3ea(0x13a)],!![],null,_0x4f4159);}catch(_0x2b8f9a){PerformanceTester[_0x58c3ea(0xf4)](_0x2b8f9a);const _0x5be751={};_0x5be751['hookType']=_0x59516c['SHxKc'],PerformanceTester['end'](PerformanceHookEvents[_0x58c3ea(0x13a)],![],_0x2b8f9a,_0x5be751);}}),CodeceptJS[_0x19cbeb(0x14c)]['dispatcher']['on'](CodeceptJS['event'][_0x19cbeb(0x152)]['comment'],_0x26539e=>{const _0x492262=_0x19cbeb;PerformanceTester[_0x492262(0xd6)](PerformanceHookEvents[_0x492262(0x13a)]);try{process[_0x492262(0xe1)]('bs:addLog:'+process[_0x492262(0xa1)],{'timestamp':new Date()[_0x492262(0xd8)](),'level':_0x59516c[_0x492262(0x126)],'message':_0x26539e,'kind':_0x59516c[_0x492262(0x117)],'http_response':{}});}catch(_0xdfec7){PerformanceTester[_0x492262(0xf4)](_0xdfec7);const _0x5edf64={};_0x5edf64[_0x492262(0x12a)]=_0x59516c['nFQGY'],PerformanceTester[_0x492262(0x89)](PerformanceHookEvents[_0x492262(0x13a)],![],_0xdfec7,_0x5edf64);}const _0x4f65f3={};_0x4f65f3[_0x492262(0x12a)]=_0x59516c[_0x492262(0x82)],PerformanceTester[_0x492262(0x89)](PerformanceHookEvents[_0x492262(0x13a)],!![],null,_0x4f65f3);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0x9c)][_0x19cbeb(0xa2)],_0xaf642f=>{const _0x5ca910=_0x19cbeb,_0x13a249={};_0x13a249[_0x5ca910(0x12a)]=_0x59516c[_0x5ca910(0x154)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x5ca910(0x13a)],()=>{const _0x5296a3=_0x5ca910;_0x14adb2[_0x5296a3(0x157)](_0xaf642f);},_0x13a249)();}),CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0x116)]['on'](CodeceptJS[_0x19cbeb(0x14c)][_0x19cbeb(0x9c)][_0x19cbeb(0x143)],_0x2c3404=>{const _0x2e15e2=_0x19cbeb,_0x1076eb={};_0x1076eb[_0x2e15e2(0x12a)]=_0x59516c[_0x2e15e2(0x12e)],PerformanceTester[_0x2e15e2(0x114)](PerformanceHookEvents[_0x2e15e2(0x13a)],()=>{const _0x442ad0=_0x2e15e2;_0x14adb2[_0x442ad0(0x9e)](_0x2c3404);},_0x1076eb)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0xce9274=a2_0x5ae8;(function(_0xc48f2b,_0x4b216a){const _0x37cf56=a2_0x5ae8,_0x2cdb6a=_0xc48f2b();while(!![]){try{const _0x48c01b=parseInt(_0x37cf56(0x1ef))/0x1+-parseInt(_0x37cf56(0x1a4))/0x2+-parseInt(_0x37cf56(0x19d))/0x3+-parseInt(_0x37cf56(0x203))/0x4*(-parseInt(_0x37cf56(0x1ac))/0x5)+parseInt(_0x37cf56(0x1f8))/0x6*(parseInt(_0x37cf56(0x21f))/0x7)+parseInt(_0x37cf56(0x200))/0x8*(parseInt(_0x37cf56(0x1f2))/0x9)+-parseInt(_0x37cf56(0x20e))/0xa*(parseInt(_0x37cf56(0x1ba))/0xb);if(_0x48c01b===_0x4b216a)break;else _0x2cdb6a['push'](_0x2cdb6a['shift']());}catch(_0x5605c6){_0x2cdb6a['push'](_0x2cdb6a['shift']());}}}(a2_0xca50,0xb3b9a));const fs=require('fs'),path=require(a2_0xce9274(0x1d5)),util=require(a2_0xce9274(0x21c)),process=require('process'),logger=require(a2_0xce9274(0x1e9))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0xce9274(0x19a)),helper=require(a2_0xce9274(0x1f7)),utilities=require(a2_0xce9274(0x1d1)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0xce9274(0x213),a2_0xce9274(0x1ec)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0xce9274(0x1ab)),PerformanceTester=require(a2_0xce9274(0x1c3)),PerformanceEvents=require(a2_0xce9274(0x1bc))['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x4f2118,_0x3682c5)=>{const _0x18e86a=a2_0xce9274,_0x309de5={};_0x309de5['chlkj']=function(_0x5ef907,_0x43b81e){return _0x5ef907===_0x43b81e;},_0x309de5[_0x18e86a(0x195)]=_0x18e86a(0x201),_0x309de5[_0x18e86a(0x1e2)]=_0x18e86a(0x1fa);const _0x2d70af=_0x309de5;let _0xe14093=null;const _0x210da9={};let _0x105806=_0x3682c5[_0x18e86a(0x1c2)](_0x2833ad=>_0x2833ad==='--config');_0x2d70af[_0x18e86a(0x1aa)](_0x105806,-0x1)&&(_0x105806=_0x3682c5[_0x18e86a(0x1c2)](_0x48e469=>_0x48e469==='-c'));if(!helper[_0x18e86a(0x1c7)](_0x4f2118[_0x18e86a(0x1de)])&&fs[_0x18e86a(0x198)](path[_0x18e86a(0x1ae)](process['cwd'](),_0x4f2118[_0x18e86a(0x1de)])))_0xe14093=path[_0x18e86a(0x1ae)](process['cwd'](),_0x4f2118['config']),_0x3682c5[_0x18e86a(0x1d7)](_0x105806,0x2);else{if(!helper['isUndefined'](_0x4f2118['c'])&&fs['existsSync'](path[_0x18e86a(0x1ae)](process[_0x18e86a(0x1e7)](),_0x4f2118['c'])))_0xe14093=path[_0x18e86a(0x1ae)](process[_0x18e86a(0x1e7)](),_0x4f2118['c']),_0x3682c5[_0x18e86a(0x1d7)](_0x105806,0x2);else{if(fs[_0x18e86a(0x198)](path[_0x18e86a(0x1ae)](process[_0x18e86a(0x1e7)](),_0x2d70af[_0x18e86a(0x195)])))_0xe14093=path[_0x18e86a(0x1ae)](process[_0x18e86a(0x1e7)](),_0x2d70af[_0x18e86a(0x195)]);else fs['existsSync'](path[_0x18e86a(0x1ae)](process[_0x18e86a(0x1e7)](),_0x2d70af['LrSND']))&&(_0xe14093=path[_0x18e86a(0x1ae)](process[_0x18e86a(0x1e7)](),_0x2d70af['LrSND']));}}return _0xe14093;},getO11yRerunPattern=()=>{const _0x5acf5c=a2_0xce9274,_0x3cb701={};_0x3cb701['SoaqY']=function(_0x4add7f,_0x40d24c){return _0x4add7f!==_0x40d24c;},_0x3cb701[_0x5acf5c(0x20c)]='null';const _0x11f177=_0x3cb701,_0x2aad3d=helper[_0x5acf5c(0x1b2)](process['env'][_0x5acf5c(0x1ee)]);if(_0x2aad3d){const _0x54b3ce=process[_0x5acf5c(0x1eb)][_0x5acf5c(0x1ff)],_0x40fa69=[];if(_0x11f177['SoaqY'](_0x54b3ce,_0x11f177[_0x5acf5c(0x20c)])&&!helper[_0x5acf5c(0x1c7)](_0x54b3ce)){_0x54b3ce[_0x5acf5c(0x1c9)](',')['map'](_0x26ebb7=>{const _0x2226ed=_0x5acf5c;_0x40fa69[_0x2226ed(0x1f0)]('('+_0x26ebb7['trim']()+')');});const _0x4fc011='^'+_0x40fa69[_0x5acf5c(0x1ae)]('|')+'$';return _0x4fc011;}}return null;},a2_0x759abe={};function a2_0xca50(){const _0x2ba959=['FlUgp','codeceptjs/lib/index.js','PbvoU','Started\x20:\x20','browserWSEndpoint','firefox','createGroupsOfSuites','title','errorMessage','length','util','MNdoU','skipSessionName','1051386VBBpZU','SDK_CLEANUP','finalExecution','debug','all','Zxsmy','addTests','TRCXH','existsSync','playwright-firefox','../../helpers/BrowserStackSetup','prepareCapabilities','toLowerCase','2847756hOtsxw','pUreY','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','testContextOptions','log','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','load','1426042gQsXiK','Playwright','testConfig','profile','aBLwk','bhnIR','chlkj','../utils/constants','275maphjp','parallelsPerPlatform','join','accessibility','SDK_SETUP','yFwei','isTrue','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','gherkin','PMpoM','MYYvu','skipSessionStatus','setAdditionalCapabilities','err','5057426WFJciG','-cucumber','../../helpers/performance/constants','eDhZy','qALZw','tAprF','Workers','chdir','findIndex','../../helpers/performance/performance-tester','ziVlC','printResults','event','isUndefined','chromium','split','helpers','WebDriver','now','format','tqGpK','Passed\x20:\x20','VrJVD','../../helpers/utilities','isTestObservabilitySession','dirname','FRAMEWORKS','path','passed','slice','browser','LKQra','getPlaywrightUrl','frameworkName','BROWSERSTACK_TEST_ACCESSIBILITY_YML','stack','config','stringify','jlNKo','run','LrSND','test','end','printBuildLink','playwright-chromium','cwd','mergeDeep','../../helpers/logger','result','env','codeceptjs','rmhqm','BROWSERSTACK_RERUN','164044hDWZDa','push','failed','9remfuK','oWtON','desiredCapabilities','wIMex','playwright-webkit','../../helpers/helper','54mmnGVv','browserName','codecept.json','root','exports','cDLal','testObservability','BROWSERSTACK_RERUN_TESTS','6473136ATpJIy','codecept.conf.js','launchBuild','38780MilSnw','CODECEPT','validPlatformsPresent','before','getPlatformName','enabled','ledbf','info','EkZzE','uEegX','useW3C','10eBOlgF','BROWSERSTACK_TEST_OBSERVABILITY_YML','BrowserStackPlugin','moZKZ'];a2_0xca50=function(){return _0x2ba959;};return a2_0xca50();}a2_0x759abe['chrome']=a2_0xce9274(0x1c8),a2_0x759abe[a2_0xce9274(0x1e6)]=a2_0xce9274(0x1c8),a2_0x759abe[a2_0xce9274(0x199)]=a2_0xce9274(0x217),a2_0x759abe[a2_0xce9274(0x1f6)]='webkit';const pwToCodeceptBrowser=a2_0x759abe;function a2_0x5ae8(_0x3eb057,_0x574811){const _0xca5089=a2_0xca50();return a2_0x5ae8=function(_0x5ae8c6,_0x1acb03){_0x5ae8c6=_0x5ae8c6-0x194;let _0x387cb8=_0xca5089[_0x5ae8c6];return _0x387cb8;},a2_0x5ae8(_0x3eb057,_0x574811);}async function run(_0xb5ddd7,_0xd9ed57){const _0x1d75da=a2_0xce9274,_0x57ee74={'bhnIR':function(_0x54c1f0,_0x5ef1ae){return _0x54c1f0+_0x5ef1ae;},'cDLal':function(_0x498f4b,_0xf2da66){return _0x498f4b(_0xf2da66);},'VrJVD':function(_0x1d928a,_0x3d448a){return _0x1d928a+_0x3d448a;},'PMpoM':function(_0x3c2027,_0x43e53b,_0x427ad8){return _0x3c2027(_0x43e53b,_0x427ad8);},'tqGpK':'helpers','jlNKo':function(_0x306c00){return _0x306c00();},'MNdoU':'Failed\x20:\x20','oWtON':_0x1d75da(0x1cf),'qALZw':_0x1d75da(0x215),'LKQra':'0|5|1|3|4|2','ziVlC':_0x1d75da(0x1ec),'FlUgp':function(_0x44c658,_0xf40d8b,_0x3cefbc){return _0x44c658(_0xf40d8b,_0x3cefbc);},'EkZzE':_0x1d75da(0x1b3),'TRCXH':_0x1d75da(0x1a5),'eDhZy':_0x1d75da(0x1cb),'LchZi':function(_0x27dad8,_0x5753ea){return _0x27dad8(_0x5753ea);},'yFwei':function(_0x2992dc,_0x25885e){return _0x2992dc!=_0x25885e;},'aBLwk':function(_0x506792,_0x27bc39){return _0x506792===_0x27bc39;},'PbvoU':function(_0x264d95,_0x109873){return _0x264d95+_0x109873;},'wIMex':function(_0x3cedd4,_0x40faad,_0x149615){return _0x3cedd4(_0x40faad,_0x149615);},'ledbf':_0x1d75da(0x1b4),'moZKZ':_0x1d75da(0x1bb),'MYYvu':function(_0x59ef97,_0x4347d9){return _0x59ef97(_0x4347d9);},'oEkMt':function(_0x53dbb8,_0x1209ea){return _0x53dbb8*_0x1209ea;},'QlDQL':_0x1d75da(0x1d8),'yzQru':function(_0x2c9eeb,_0x34a24d,_0x5d6152){return _0x2c9eeb(_0x34a24d,_0x5d6152);},'rmhqm':_0x1d75da(0x1f4),'wqFhu':function(_0x2cef82,_0x602b46,_0x5c48de){return _0x2cef82(_0x602b46,_0x5c48de);},'tAprF':_0x1d75da(0x1fb),'SxiJO':'BrowserStackPlugin.js','pUreY':'browserStackCwd'},_0x6e444a=new BrowserStackSetup(_0xb5ddd7,_0x57ee74[_0x1d75da(0x1c4)]);await _0x6e444a['initialize'](),await helper['handleApp'](_0x6e444a[_0x1d75da(0x1de)]);if(!_0x6e444a['config'])return;process[_0x1d75da(0x1a7)]=_0xb5ddd7[_0x1d75da(0x1a7)];_0xb5ddd7['profile']&&(process[_0x1d75da(0x1eb)][_0x1d75da(0x1a7)]=_0xb5ddd7['profile']);const _0x3c447b=_0x57ee74[_0x1d75da(0x212)](getUserCodeceptJSConfigs,_0xb5ddd7,_0xd9ed57);let _0x31a08b={};_0x3c447b?(logger[_0x1d75da(0x20a)](_0x1d75da(0x19f)+_0x3c447b),_0x31a08b=CodeceptJS[_0x1d75da(0x1de)][_0x1d75da(0x1a3)](_0x3c447b)):logger[_0x1d75da(0x20a)](_0x57ee74[_0x1d75da(0x20b)]);let _0x15e202=![];_0x57ee74[_0x1d75da(0x1b5)](nestedKeyValue,_0x31a08b,[_0x57ee74[_0x1d75da(0x1ce)],_0x57ee74[_0x1d75da(0x197)]])&&(_0x15e202=!![]);const _0x592440=_0x15e202?_0x57ee74[_0x1d75da(0x197)]:_0x57ee74[_0x1d75da(0x1bd)];let _0x1d72d6=!_0x15e202?helper[_0x1d75da(0x20d)](_0x6e444a['config']):![];!helper[_0x1d75da(0x1c7)](_0x6e444a[_0x1d75da(0x1de)]['accessibilityOptions'])&&(process[_0x1d75da(0x1eb)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x6e444a[_0x1d75da(0x1de)]['accessibilityOptions']));let _0x31dd05=_0x6e444a['config'][_0x1d75da(0x1af)];_0x31dd05=_0x31dd05||_0x57ee74['LchZi'](checkAccessibilityPlatformConfig,_0x6e444a['config']),process['env'][_0x1d75da(0x1dc)]=_0x31dd05;_0x31dd05&&(_0x1d72d6=!_0x31dd05);_0x57ee74[_0x1d75da(0x1b1)](_0x6e444a[_0x1d75da(0x1de)]['testObservability'],null)?process[_0x1d75da(0x1eb)][_0x1d75da(0x20f)]=_0x6e444a[_0x1d75da(0x1de)][_0x1d75da(0x1fe)]:process['env'][_0x1d75da(0x20f)]=_0x57ee74[_0x1d75da(0x1a8)](_0x592440,_0x57ee74[_0x1d75da(0x197)]);const _0x585835=_0x57ee74[_0x1d75da(0x214)](_0x57ee74[_0x1d75da(0x1c4)],_0x57ee74[_0x1d75da(0x1f5)](nestedKeyValue,_0x31a08b,[_0x57ee74[_0x1d75da(0x209)]])?_0x57ee74[_0x1d75da(0x211)]:''),_0x55823f=await TestHubHandler[_0x1d75da(0x202)](_0x585835,_0x6e444a);_0x31dd05&&_0x57ee74[_0x1d75da(0x1b6)](setAccessibilityCapabilities,_0x6e444a[_0x1d75da(0x1de)]);const _0x3d5d6c={},_0x1371ee=[],_0x59f79f=_0x6e444a[_0x1d75da(0x1de)][_0x1d75da(0x1ad)]||helper['getUserWorkerCount'](_0xb5ddd7,_0xd9ed57,_0x6e444a[_0x1d75da(0x1de)],constants[_0x1d75da(0x1d4)][_0x1d75da(0x204)])||0x1;let _0x7e062=0x1;if(_0x57ee74[_0x1d75da(0x1e0)](isBrowserstackInfra)){const _0x5547eb=helper[_0x1d75da(0x19b)](_0x6e444a[_0x1d75da(0x1de)],_0x1d72d6,constants[_0x1d75da(0x1d4)][_0x1d75da(0x204)]);_0x5547eb['forEach'](_0x3e6b4e=>{const _0xee2ffe=_0x1d75da;helper[_0xee2ffe(0x1b8)](_0x3e6b4e);}),helper[_0x1d75da(0x205)](_0x6e444a[_0x1d75da(0x1de)])?_0x7e062=_0x57ee74['oEkMt'](_0x59f79f,_0x6e444a['config']['platforms'][_0x1d75da(0x21b)]):_0x7e062=_0x59f79f,_0x5547eb['forEach'](_0x33f958=>{const _0x32f54c=_0x1d75da,_0x4e2eca=_0x57ee74[_0x32f54c(0x1d0)](helper[_0x32f54c(0x207)](_0x33f958,'_'),'_'+Date[_0x32f54c(0x1cc)]()),_0x4615f6=((()=>{const _0x133b5a=_0x32f54c;if(_0x15e202){const _0x3fe239=pwToCodeceptBrowser[_0x33f958[_0x133b5a(0x1f9)]]||_0x33f958[_0x133b5a(0x1f9)];return{'browser':_0x3fe239,[_0x3fe239]:{'browserWSEndpoint':_0x57ee74[_0x133b5a(0x1a9)](helper[_0x133b5a(0x1da)](_0x6e444a[_0x133b5a(0x1de)]),_0x57ee74[_0x133b5a(0x1fd)](encodeURIComponent,JSON[_0x133b5a(0x1df)](_0x33f958)))}};}const _0x51c4c7={};return _0x51c4c7['desiredCapabilities']=_0x33f958,_0x51c4c7;})()),_0x55f049=_0x57ee74['PMpoM'](nestedKeyValue,_0x31a08b,[_0x57ee74[_0x32f54c(0x1ce)],_0x592440]);_0x3d5d6c[_0x4e2eca]=_0x55f049?helper[_0x32f54c(0x1e8)](_0x4615f6,_0x55f049):_0x4615f6,!_0x15e202&&(_0x3d5d6c[_0x4e2eca][_0x32f54c(0x1d8)]=_0x33f958['browserName']||_0x4615f6[_0x32f54c(0x1d8)]),_0x1371ee[_0x32f54c(0x1f0)](_0x4e2eca);});}else{_0x7e062=0x1;if(_0x15e202){const _0x36d78b=_0x57ee74['wIMex'](nestedKeyValue,_0x31a08b,[_0x57ee74[_0x1d75da(0x1ce)],_0x592440,_0x57ee74['QlDQL']]),_0x188c95=_0x57ee74['yzQru'](nestedKeyValue,_0x31a08b,[_0x57ee74['tqGpK'],_0x592440,_0x36d78b]);_0x188c95&&_0x188c95[_0x1d75da(0x216)]&&(_0x188c95[_0x1d75da(0x216)]=helper['prepareCapabilities'](null,null,_0x585835[_0x1d75da(0x19c)](),null,null,_0x188c95[_0x1d75da(0x216)]));}else _0x31a08b[_0x57ee74['tqGpK']][_0x592440][_0x57ee74[_0x1d75da(0x1ed)]]=helper[_0x1d75da(0x19b)](null,null,_0x585835[_0x1d75da(0x19c)](),_0x57ee74['wqFhu'](nestedKeyValue,_0x31a08b,[_0x57ee74['tqGpK'],_0x592440,_0x57ee74[_0x1d75da(0x1ed)]]),null,null);_0x3d5d6c[_0x57ee74[_0x1d75da(0x1bf)]]=_0x31a08b,_0x1371ee['push'](_0x57ee74['tAprF']);}const _0xa4ef4f={};_0xa4ef4f[_0x1d75da(0x1a6)]=_0x3c447b;const _0x51a05d=_0xa4ef4f,_0x2f66ab=path[_0x1d75da(0x1ae)](__dirname,_0x57ee74['SxiJO']),_0x767bf1=process[_0x1d75da(0x1e7)]();process[_0x1d75da(0x1eb)][_0x57ee74[_0x1d75da(0x19e)]]=_0x767bf1,process[_0x1d75da(0x1c1)](path[_0x1d75da(0x1d3)](_0x3c447b));const _0x287ff5=new CodeceptJS[(_0x1d75da(0x1c0))](null,_0x51a05d),_0x1eda7c=_0x287ff5[_0x1d75da(0x218)](_0x7e062),_0x9ee836=testOpsHelper[_0x1d75da(0x1d2)](),_0xfa1435=_0x1371ee['map'](_0x30081c=>{const _0x516757=_0x1d75da,_0x176533={};_0x176533[_0x516757(0x1a5)]=_0x3d5d6c[_0x30081c];const _0x2228d0={};_0x2228d0[_0x516757(0x1cb)]=_0x3d5d6c[_0x30081c];const _0x23003c=_0x15e202?_0x176533:_0x2228d0,_0x1a71ee=_0x57ee74[_0x516757(0x1e0)](getO11yRerunPattern),_0x229299={};_0x229299[_0x516757(0x1ca)]=_0x23003c;const _0x51d0bd={};_0x51d0bd['require']=_0x2f66ab,_0x51d0bd[_0x516757(0x208)]=!![],_0x51d0bd[_0x516757(0x21e)]=_0x6e444a['config'][_0x516757(0x1a0)][_0x516757(0x21e)],_0x51d0bd['skipSessionStatus']=_0x6e444a[_0x516757(0x1de)][_0x516757(0x1a0)][_0x516757(0x1b7)],_0x51d0bd[_0x516757(0x1fe)]=_0x9ee836,_0x51d0bd[_0x516757(0x1db)]=_0x585835;const _0x3f419e={};_0x3f419e[_0x516757(0x210)]=_0x51d0bd;const _0x231e79={};return _0x231e79['plugins']=_0x3f419e,helper[_0x516757(0x1e8)]({},_0x31a08b,_0x57ee74[_0x516757(0x1e0)](isBrowserstackInfra)?_0x229299:{},_0x1a71ee?{'grep':_0x1a71ee}:{},_0x231e79);});for(const _0x22f5e8 of _0xfa1435){for(const _0x31acbf of _0x1eda7c){const _0x2d467e=_0x287ff5['spawn']();_0x2d467e[_0x1d75da(0x196)](_0x31acbf),_0x2d467e['addConfig'](_0x22f5e8);}}_0x287ff5['on'](CodeceptJS[_0x1d75da(0x1c6)][_0x1d75da(0x1e3)][_0x1d75da(0x1f1)],(_0x28b71c,_0x5a4b9f)=>{const _0x23ae5b=_0x1d75da;console[_0x23ae5b(0x1a1)](_0x57ee74[_0x23ae5b(0x21d)],_0x28b71c['title']);const _0xf4d44a={[_0x28b71c['title']]:_0x28b71c[_0x23ae5b(0x1b9)][_0x23ae5b(0x1dd)]};_testErrorData['push'](_0xf4d44a);}),_0x287ff5['on'](CodeceptJS['event'][_0x1d75da(0x1e3)][_0x1d75da(0x1d6)],async _0x4471a3=>{const _0x1fb296=_0x1d75da;console[_0x1fb296(0x1a1)](_0x57ee74[_0x1fb296(0x1f3)],_0x4471a3[_0x1fb296(0x219)]);}),_0x287ff5['on'](CodeceptJS[_0x1d75da(0x1c6)][_0x1d75da(0x1e3)][_0x1d75da(0x206)],async _0x1d3081=>{const _0x3c5a7a=_0x1d75da;console['log'](_0x57ee74[_0x3c5a7a(0x1be)],_0x1d3081['title']);}),_0x287ff5['on'](CodeceptJS[_0x1d75da(0x1c6)][_0x1d75da(0x194)][_0x1d75da(0x1ea)],async()=>{const _0x537838=_0x1d75da,_0x38d5e0=_0x57ee74[_0x537838(0x1d9)][_0x537838(0x1c9)]('|');let _0x41884a=0x0;while(!![]){switch(_0x38d5e0[_0x41884a++]){case'0':PerformanceTester['start'](PerformanceEvents[_0x537838(0x220)]);continue;case'1':testOpsHelper[_0x537838(0x1e5)]();continue;case'2':_0x287ff5[_0x537838(0x1c5)]();continue;case'3':utilities[_0x537838(0x221)](_0x6e444a);continue;case'4':try{await TestHubHandler['stop']();}catch(_0x5df337){logger[_0x537838(0x222)](_0x537838(0x1a2)+util[_0x537838(0x1cd)](_0x5df337));}continue;case'5':_0x6e444a[_0x537838(0x21a)]=_testErrorData;continue;}break;}});async function _0x52f9b8(){const _0x4553d0=_0x1d75da;try{await _0x287ff5['bootstrapAll'](),await _0x287ff5[_0x4553d0(0x1e1)]();}finally{process[_0x4553d0(0x1c1)](_0x767bf1),await _0x287ff5['teardownAll']();}}PerformanceTester[_0x1d75da(0x1e4)](PerformanceEvents[_0x1d75da(0x1b0)]),_0x57ee74[_0x1d75da(0x1e0)](_0x52f9b8);}module[a2_0xce9274(0x1fc)]=run;
2
+ 'use strict';const a2_0x373642=a2_0x2afa;(function(_0x4a67b5,_0x1b982b){const _0x365bb4=a2_0x2afa,_0x660242=_0x4a67b5();while(!![]){try{const _0x40d298=-parseInt(_0x365bb4(0x18f))/0x1+parseInt(_0x365bb4(0x183))/0x2+parseInt(_0x365bb4(0x160))/0x3*(-parseInt(_0x365bb4(0x151))/0x4)+parseInt(_0x365bb4(0x191))/0x5*(-parseInt(_0x365bb4(0x15d))/0x6)+parseInt(_0x365bb4(0x134))/0x7*(parseInt(_0x365bb4(0x1a0))/0x8)+parseInt(_0x365bb4(0x137))/0x9+-parseInt(_0x365bb4(0x172))/0xa;if(_0x40d298===_0x1b982b)break;else _0x660242['push'](_0x660242['shift']());}catch(_0x55d6d7){_0x660242['push'](_0x660242['shift']());}}}(a2_0x4ee5,0x8a44d));function a2_0x4ee5(){const _0x466632=['stop','require','validPlatformsPresent','webkit','log','run','uDcVs','adtBq','isTestObservabilitySession','event','../utils/constants','FrgPs','../../helpers/helper','teardownAll','browser','finalExecution','JhZUj','load','playwright-chromium','printResults','accessibility','mZhot','passed','Playwright','644SOrkZj','BrowserStackPlugin','hhWZn','7823358XVtJHS','mergeDeep','push','validateRerunTestList','existsSync','prepareCapabilities','setAdditionalCapabilities','config','getPlatformName','BROWSERSTACK_TEST_ACCESSIBILITY_YML','forEach','path','join','length','SDK_SETUP','PuZyA','result','title','rISHQ','../../bin/playwright/accessibility-helper','failed','CODECEPT','../../helpers/testhub/testhubHandler','enabled','UuZqR','SDK_CLEANUP','4CbcVBM','Passed\x20:\x20','all','err','Workers','isTrue','codeceptjs','yTzMQ','DKkCM','testObservability','../../helpers/accessibility-automation/helper','codecept.conf.js','3277554oheCjJ','frameworkName','playwright-webkit','505086xcXDPU','findIndex','browserWSEndpoint','test','FRAMEWORKS','chrome','map','getUserWorkerCount','WqtCQ','NzKwO','fdGzx','../../helpers/performance/constants','parallelsPerPlatform','winstonLogger','browserName','before','info','YtcSE','2693130CREocR','getPlaywrightUrl','bjzFP','spawn','end','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testContextOptions','process','handleApp','../../helpers/test-observability/utils','stack','split','addTests','--config','OBLzD','useW3C','browserStackCwd','1056598YooZLm','plugins','accessibilityOptions','stringify','cwd','profile','WyTDT','CtUmi','chromium','wlOXk','skipSessionStatus','XzxeP','916042dWeYMM','BROWSERSTACK_TEST_OBSERVABILITY_YML','5ZzrmqC','BBGKv','isUndefined','slice','platforms','Jlnpg','helpers','initialize','debug','BrowserStackPlugin.js','root','oKzHr','dirname','toLowerCase','../../helpers/performance/performance-tester','92936xNiUpr','util','bootstrapAll','desiredCapabilities','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','addConfig','printBuildLink','jDslU','ngNFb','../../helpers/utilities','env','codeceptjs/lib/index.js','WebDriver'];a2_0x4ee5=function(){return _0x466632;};return a2_0x4ee5();}const fs=require('fs'),path=require(a2_0x373642(0x142)),util=require(a2_0x373642(0x1a1)),process=require(a2_0x373642(0x179)),logger=require('../../helpers/logger')[a2_0x373642(0x16d)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x373642(0x128)),utilities=require(a2_0x373642(0x1a9)),{checkAccessibilityPlatformConfig}=require(a2_0x373642(0x15b)),{setAccessibilityCapabilities}=require(a2_0x373642(0x14a)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x373642(0x128)),CodeceptJS=requireModule(a2_0x373642(0x1ab),a2_0x373642(0x157)),testOpsHelper=require(a2_0x373642(0x17b)),TestHubHandler=require(a2_0x373642(0x14d)),constants=require(a2_0x373642(0x126)),PerformanceTester=require(a2_0x373642(0x19f)),PerformanceEvents=require(a2_0x373642(0x16b))['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x2479f3,_0x421c74)=>{const _0x13f4ea=a2_0x373642,_0x2508e1={};_0x2508e1[_0x13f4ea(0x1a8)]=function(_0x1e0e27,_0x2cdbc7){return _0x1e0e27===_0x2cdbc7;},_0x2508e1['fdGzx']=_0x13f4ea(0x15c),_0x2508e1[_0x13f4ea(0x168)]='codecept.json';const _0x44e46d=_0x2508e1;let _0xdf0b9e=null;const _0x9cbb02={};let _0x2b10d7=_0x421c74[_0x13f4ea(0x161)](_0x2c6099=>_0x2c6099===_0x13f4ea(0x17f));_0x44e46d[_0x13f4ea(0x1a8)](_0x2b10d7,-0x1)&&(_0x2b10d7=_0x421c74[_0x13f4ea(0x161)](_0x3ad768=>_0x3ad768==='-c'));if(!helper['isUndefined'](_0x2479f3[_0x13f4ea(0x13e)])&&fs[_0x13f4ea(0x13b)](path['join'](process[_0x13f4ea(0x187)](),_0x2479f3['config'])))_0xdf0b9e=path[_0x13f4ea(0x143)](process[_0x13f4ea(0x187)](),_0x2479f3[_0x13f4ea(0x13e)]),_0x421c74[_0x13f4ea(0x194)](_0x2b10d7,0x2);else{if(!helper[_0x13f4ea(0x193)](_0x2479f3['c'])&&fs[_0x13f4ea(0x13b)](path[_0x13f4ea(0x143)](process[_0x13f4ea(0x187)](),_0x2479f3['c'])))_0xdf0b9e=path[_0x13f4ea(0x143)](process[_0x13f4ea(0x187)](),_0x2479f3['c']),_0x421c74['slice'](_0x2b10d7,0x2);else{if(fs['existsSync'](path['join'](process['cwd'](),_0x44e46d[_0x13f4ea(0x16a)])))_0xdf0b9e=path['join'](process[_0x13f4ea(0x187)](),_0x44e46d[_0x13f4ea(0x16a)]);else fs['existsSync'](path[_0x13f4ea(0x143)](process[_0x13f4ea(0x187)](),_0x44e46d[_0x13f4ea(0x168)]))&&(_0xdf0b9e=path['join'](process[_0x13f4ea(0x187)](),_0x44e46d[_0x13f4ea(0x168)]));}}return _0xdf0b9e;},getO11yRerunPattern=()=>{const _0x4fef31=a2_0x373642,_0x53211c=helper[_0x4fef31(0x156)](process['env']['BROWSERSTACK_RERUN']);if(_0x53211c){const _0x171bd8=process[_0x4fef31(0x1aa)]['BROWSERSTACK_RERUN_TESTS'],_0x527fa3=[];if(helper[_0x4fef31(0x13a)](_0x171bd8)&&!helper['isUndefined'](_0x171bd8)){_0x171bd8[_0x4fef31(0x17d)](',')['map'](_0xb2a497=>{const _0x3c86dc=_0x4fef31;_0x527fa3[_0x3c86dc(0x139)]('('+_0xb2a497['trim']()+')');});const _0x651dc='^'+_0x527fa3[_0x4fef31(0x143)]('|')+'$';return _0x651dc;}}return null;},a2_0x49028a={};a2_0x49028a[a2_0x373642(0x165)]=a2_0x373642(0x18b),a2_0x49028a[a2_0x373642(0x12e)]=a2_0x373642(0x18b),a2_0x49028a['playwright-firefox']='firefox',a2_0x49028a[a2_0x373642(0x15f)]=a2_0x373642(0x11f);const pwToCodeceptBrowser=a2_0x49028a;function a2_0x2afa(_0x2dd779,_0x474f09){const _0x4ee529=a2_0x4ee5();return a2_0x2afa=function(_0x2afa37,_0x5685c6){_0x2afa37=_0x2afa37-0x11c;let _0x49918d=_0x4ee529[_0x2afa37];return _0x49918d;},a2_0x2afa(_0x2dd779,_0x474f09);}async function run(_0x3accaa,_0x2b197d){const _0x35881a=a2_0x373642,_0x3b5a36={'oKzHr':function(_0x2949c7,_0x358699){return _0x2949c7+_0x358699;},'bjzFP':function(_0xf1a81c,_0x5bd2d5){return _0xf1a81c(_0x5bd2d5);},'CtUmi':function(_0x221a5c,_0x25949c){return _0x221a5c+_0x25949c;},'hhWZn':function(_0x4f3490,_0x1f8aa4,_0x7ad44d){return _0x4f3490(_0x1f8aa4,_0x7ad44d);},'DKkCM':_0x35881a(0x197),'adtBq':function(_0x1e16e7){return _0x1e16e7();},'ZSWhn':function(_0x580cc0){return _0x580cc0();},'fgubV':'Failed\x20:\x20','PuZyA':_0x35881a(0x152),'wlOXk':'Started\x20:\x20','LBGAA':'5|4|2|3|0|1','FrgPs':_0x35881a(0x157),'XzxeP':_0x35881a(0x1a4),'UuZqR':'Playwright','YtcSE':_0x35881a(0x1ac),'jDslU':function(_0x2979a7,_0x197963){return _0x2979a7(_0x197963);},'OBLzD':function(_0x20b552,_0x568a2b){return _0x20b552!=_0x568a2b;},'vJOvW':function(_0x1628af,_0x10d18a){return _0x1628af===_0x10d18a;},'eFEAb':'gherkin','JtbNi':'-cucumber','BBGKv':function(_0x458e9f,_0x11ebf4){return _0x458e9f*_0x11ebf4;},'SmoEo':_0x35881a(0x12a),'yTzMQ':function(_0x3c5b58,_0xc171c3,_0x228868){return _0x3c5b58(_0xc171c3,_0x228868);},'WyTDT':_0x35881a(0x1a3),'Jlnpg':function(_0xbad45c,_0x52c0c6,_0x3c1146){return _0xbad45c(_0x52c0c6,_0x3c1146);},'uDcVs':_0x35881a(0x19b),'JhZUj':_0x35881a(0x19a),'EuIlx':_0x35881a(0x182),'mZhot':function(_0x4edb47){return _0x4edb47();}},_0x302235=new BrowserStackSetup(_0x3accaa,_0x3b5a36[_0x35881a(0x127)]);await _0x302235[_0x35881a(0x198)](),await helper[_0x35881a(0x17a)](_0x302235[_0x35881a(0x13e)]);if(!_0x302235['config'])return;process[_0x35881a(0x188)]=_0x3accaa[_0x35881a(0x188)];_0x3accaa['profile']&&(process['env'][_0x35881a(0x188)]=_0x3accaa['profile']);const _0x240d62=_0x3b5a36[_0x35881a(0x136)](getUserCodeceptJSConfigs,_0x3accaa,_0x2b197d);let _0x456a1f={};_0x240d62?(logger['info']('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x240d62),_0x456a1f=CodeceptJS[_0x35881a(0x13e)][_0x35881a(0x12d)](_0x240d62)):logger[_0x35881a(0x170)](_0x3b5a36[_0x35881a(0x18e)]);let _0x58ac43=![];_0x3b5a36[_0x35881a(0x136)](nestedKeyValue,_0x456a1f,[_0x3b5a36[_0x35881a(0x159)],_0x3b5a36[_0x35881a(0x14f)]])&&(_0x58ac43=!![]);const _0x3f0edb=_0x58ac43?_0x3b5a36[_0x35881a(0x14f)]:_0x3b5a36[_0x35881a(0x171)];let _0x68b81f=!_0x58ac43?helper[_0x35881a(0x181)](_0x302235[_0x35881a(0x13e)]):![];!helper['isUndefined'](_0x302235[_0x35881a(0x13e)]['accessibilityOptions'])&&(process[_0x35881a(0x1aa)][_0x35881a(0x177)]=JSON['stringify'](_0x302235['config'][_0x35881a(0x185)]));let _0x2916e6=_0x302235[_0x35881a(0x13e)][_0x35881a(0x130)];_0x2916e6=_0x2916e6||_0x3b5a36[_0x35881a(0x1a7)](checkAccessibilityPlatformConfig,_0x302235[_0x35881a(0x13e)]),process[_0x35881a(0x1aa)][_0x35881a(0x140)]=_0x2916e6;_0x2916e6&&(_0x68b81f=!_0x2916e6);_0x3b5a36[_0x35881a(0x180)](_0x302235[_0x35881a(0x13e)][_0x35881a(0x15a)],null)?process[_0x35881a(0x1aa)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x302235[_0x35881a(0x13e)][_0x35881a(0x15a)]:process[_0x35881a(0x1aa)][_0x35881a(0x190)]=_0x3b5a36['vJOvW'](_0x3f0edb,_0x3b5a36[_0x35881a(0x14f)]);const _0x17422e=_0x3b5a36[_0x35881a(0x18a)](_0x3b5a36['FrgPs'],_0x3b5a36[_0x35881a(0x136)](nestedKeyValue,_0x456a1f,[_0x3b5a36['eFEAb']])?_0x3b5a36['JtbNi']:''),_0x1629ca=await TestHubHandler['launchBuild'](_0x17422e,_0x302235);_0x2916e6&&_0x3b5a36[_0x35881a(0x174)](setAccessibilityCapabilities,_0x302235['config']);const _0x694c3f={},_0x37b099=[],_0x3ab2da=_0x302235[_0x35881a(0x13e)][_0x35881a(0x16c)]||helper[_0x35881a(0x167)](_0x3accaa,_0x2b197d,_0x302235[_0x35881a(0x13e)],constants[_0x35881a(0x164)]['CODECEPT'])||0x1;let _0x17a6e3=0x1;if(_0x3b5a36['adtBq'](isBrowserstackInfra)){const _0x17f116=helper[_0x35881a(0x13c)](_0x302235[_0x35881a(0x13e)],_0x68b81f,constants['FRAMEWORKS'][_0x35881a(0x14c)]);_0x17f116[_0x35881a(0x141)](_0x119b76=>{const _0x4372b8=_0x35881a;helper[_0x4372b8(0x13d)](_0x119b76);}),helper[_0x35881a(0x11e)](_0x302235[_0x35881a(0x13e)])?_0x17a6e3=_0x3b5a36[_0x35881a(0x192)](_0x3ab2da,_0x302235['config'][_0x35881a(0x195)][_0x35881a(0x144)]):_0x17a6e3=_0x3ab2da,_0x17f116[_0x35881a(0x141)](_0x25ae1e=>{const _0x1129b2=_0x35881a,_0x2d7fb6={'NzKwO':function(_0x1638a2,_0x4da7c6){const _0xfe64d9=a2_0x2afa;return _0x3b5a36[_0xfe64d9(0x19c)](_0x1638a2,_0x4da7c6);},'rISHQ':function(_0x7f56fa,_0x46abd8){const _0x5f0e35=a2_0x2afa;return _0x3b5a36[_0x5f0e35(0x174)](_0x7f56fa,_0x46abd8);}},_0x34351d=_0x3b5a36[_0x1129b2(0x18a)](helper[_0x1129b2(0x13f)](_0x25ae1e,'_'),'_'+Date['now']()),_0x63303e=((()=>{const _0x83aa5b=_0x1129b2;if(_0x58ac43){const _0x4cff0d=pwToCodeceptBrowser[_0x25ae1e[_0x83aa5b(0x16e)]]||_0x25ae1e[_0x83aa5b(0x16e)];return{'browser':_0x4cff0d,[_0x4cff0d]:{'browserWSEndpoint':_0x2d7fb6[_0x83aa5b(0x169)](helper[_0x83aa5b(0x173)](_0x302235[_0x83aa5b(0x13e)]),_0x2d7fb6[_0x83aa5b(0x149)](encodeURIComponent,JSON[_0x83aa5b(0x186)](_0x25ae1e)))}};}const _0x21b804={};return _0x21b804['desiredCapabilities']=_0x25ae1e,_0x21b804;})()),_0x5952e4=_0x3b5a36[_0x1129b2(0x136)](nestedKeyValue,_0x456a1f,[_0x3b5a36[_0x1129b2(0x159)],_0x3f0edb]);_0x694c3f[_0x34351d]=_0x5952e4?helper[_0x1129b2(0x138)](_0x63303e,_0x5952e4):_0x63303e,!_0x58ac43&&(_0x694c3f[_0x34351d][_0x1129b2(0x12a)]=_0x25ae1e[_0x1129b2(0x16e)]||_0x63303e['browser']),_0x37b099[_0x1129b2(0x139)](_0x34351d);});}else{_0x17a6e3=0x1;if(_0x58ac43){const _0x532f53=_0x3b5a36[_0x35881a(0x136)](nestedKeyValue,_0x456a1f,[_0x3b5a36[_0x35881a(0x159)],_0x3f0edb,_0x3b5a36['SmoEo']]),_0x24736d=_0x3b5a36[_0x35881a(0x158)](nestedKeyValue,_0x456a1f,[_0x3b5a36[_0x35881a(0x159)],_0x3f0edb,_0x532f53]);_0x24736d&&_0x24736d[_0x35881a(0x162)]&&(_0x24736d[_0x35881a(0x162)]=helper['prepareCapabilities'](null,null,_0x17422e[_0x35881a(0x19e)](),null,null,_0x24736d[_0x35881a(0x162)]));}else _0x456a1f[_0x3b5a36[_0x35881a(0x159)]][_0x3f0edb][_0x3b5a36[_0x35881a(0x189)]]=helper[_0x35881a(0x13c)](null,null,_0x17422e[_0x35881a(0x19e)](),_0x3b5a36[_0x35881a(0x196)](nestedKeyValue,_0x456a1f,[_0x3b5a36[_0x35881a(0x159)],_0x3f0edb,_0x3b5a36[_0x35881a(0x189)]]),null,null);_0x694c3f[_0x3b5a36[_0x35881a(0x122)]]=_0x456a1f,_0x37b099[_0x35881a(0x139)](_0x3b5a36[_0x35881a(0x122)]);}const _0x4e1873={};_0x4e1873['testConfig']=_0x240d62;const _0x554373=_0x4e1873,_0x5131c=path[_0x35881a(0x143)](__dirname,_0x3b5a36[_0x35881a(0x12c)]),_0x320942=process[_0x35881a(0x187)]();process[_0x35881a(0x1aa)][_0x3b5a36['EuIlx']]=_0x320942,process['chdir'](path[_0x35881a(0x19d)](_0x240d62));const _0x3f075c=new CodeceptJS[(_0x35881a(0x155))](null,_0x554373),_0x2dc86c=_0x3f075c['createGroupsOfSuites'](_0x17a6e3),_0x44161b=testOpsHelper[_0x35881a(0x124)](),_0x34b19f=_0x37b099[_0x35881a(0x166)](_0x1e011e=>{const _0x4149aa=_0x35881a,_0x40f4d3={};_0x40f4d3[_0x4149aa(0x133)]=_0x694c3f[_0x1e011e];const _0x5042d5={};_0x5042d5[_0x4149aa(0x1ac)]=_0x694c3f[_0x1e011e];const _0x3e9a5e=_0x58ac43?_0x40f4d3:_0x5042d5,_0x1cfa4e=_0x3b5a36[_0x4149aa(0x123)](getO11yRerunPattern),_0x1a8b47={};_0x1a8b47[_0x4149aa(0x197)]=_0x3e9a5e;const _0x19ff43={};_0x19ff43[_0x4149aa(0x11d)]=_0x5131c,_0x19ff43[_0x4149aa(0x14e)]=!![],_0x19ff43['skipSessionName']=_0x302235[_0x4149aa(0x13e)]['testContextOptions']['skipSessionName'],_0x19ff43[_0x4149aa(0x18d)]=_0x302235[_0x4149aa(0x13e)][_0x4149aa(0x178)][_0x4149aa(0x18d)],_0x19ff43['testObservability']=_0x44161b,_0x19ff43[_0x4149aa(0x15e)]=_0x17422e;const _0x3d745f={};_0x3d745f[_0x4149aa(0x135)]=_0x19ff43;const _0x48c0ec={};return _0x48c0ec[_0x4149aa(0x184)]=_0x3d745f,helper[_0x4149aa(0x138)]({},_0x456a1f,_0x3b5a36['ZSWhn'](isBrowserstackInfra)?_0x1a8b47:{},_0x1cfa4e?{'grep':_0x1cfa4e}:{},_0x48c0ec);});for(const _0x595a4c of _0x34b19f){for(const _0x5ddd2c of _0x2dc86c){const _0x14536e=_0x3f075c[_0x35881a(0x175)]();_0x14536e[_0x35881a(0x17e)](_0x5ddd2c),_0x14536e[_0x35881a(0x1a5)](_0x595a4c);}}_0x3f075c['on'](CodeceptJS[_0x35881a(0x125)]['test'][_0x35881a(0x14b)],(_0x466814,_0x4e7835)=>{const _0x530b3c=_0x35881a;console[_0x530b3c(0x120)](_0x3b5a36['fgubV'],_0x466814['title']);const _0x1b2615={[_0x466814['title']]:_0x466814[_0x530b3c(0x154)][_0x530b3c(0x17c)]};_testErrorData[_0x530b3c(0x139)](_0x1b2615);}),_0x3f075c['on'](CodeceptJS['event'][_0x35881a(0x163)][_0x35881a(0x132)],async _0x2ad279=>{const _0x4f9177=_0x35881a;console[_0x4f9177(0x120)](_0x3b5a36[_0x4f9177(0x146)],_0x2ad279[_0x4f9177(0x148)]);}),_0x3f075c['on'](CodeceptJS[_0x35881a(0x125)][_0x35881a(0x163)][_0x35881a(0x16f)],async _0x131683=>{const _0x26d3e6=_0x35881a;console['log'](_0x3b5a36[_0x26d3e6(0x18c)],_0x131683[_0x26d3e6(0x148)]);}),_0x3f075c['on'](CodeceptJS[_0x35881a(0x125)][_0x35881a(0x153)][_0x35881a(0x147)],async()=>{const _0x512b5d=_0x35881a,_0x1218a3=_0x3b5a36['LBGAA']['split']('|');let _0x18a07f=0x0;while(!![]){switch(_0x1218a3[_0x18a07f++]){case'0':try{await TestHubHandler[_0x512b5d(0x11c)]();}catch(_0x309269){logger[_0x512b5d(0x199)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x309269));}continue;case'1':_0x3f075c[_0x512b5d(0x12f)]();continue;case'2':testOpsHelper[_0x512b5d(0x1a6)]();continue;case'3':utilities[_0x512b5d(0x12b)](_0x302235);continue;case'4':_0x302235['errorMessage']=_testErrorData;continue;case'5':PerformanceTester['start'](PerformanceEvents[_0x512b5d(0x150)]);continue;}break;}});async function _0x5c1a31(){const _0x22bcba=_0x35881a;try{await _0x3f075c[_0x22bcba(0x1a2)](),await _0x3f075c[_0x22bcba(0x121)]();}finally{process['chdir'](_0x320942),await _0x3f075c[_0x22bcba(0x129)]();}}PerformanceTester[_0x35881a(0x176)](PerformanceEvents[_0x35881a(0x145)]),_0x3b5a36[_0x35881a(0x131)](_0x5c1a31);}module['exports']=run;
@@ -1 +1 @@
1
- const a3_0x3374ff=a3_0x3752;function a3_0x33f5(){const _0x492a86=['browser','bsSessionId','browserName','EFgrP','chrome','UxuIa','get','parse','Goiwc','103975WorKOO','platformVersion','browser_version','355075UwytSk','bstack:options','osVersion','FpyeV','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','BgJxx','StDJg','config','Playwright','getDetails','TUbRB','mPoGA','Rhiyh','cPaKx','browserstack_executor','fHXfL','wFMzy','desiredCapabilities','caps','KMLaP','fetchPlatformDetails','os_version','4609197CGUval','browserstack_accessibility_automation_script','249548hRPvJc','__cloud_provider___','browserWSEndpoint','cloudProvider','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','wlYKA','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','SberB','platform_version','warn','constructor','URvNl','../../helpers/test-observability/utils','latest','capabilities','WfEzO','searchParams','deviceName','playwright-chromium','625874ETFTCN','../../bin/playwright/sessionDetails','fCXds','browserVersion','accessibilityPlatform','6hJQnuX','../../helpers/accessibility-automation/helper','CLxEh','includes','16WJBjlh','3093377cYCDpJ','KbuaW','OGnvz','NiUtc','winstonLogger','1373406UKIvtl','YbFXr','name','ifUSV','UnmWl','ZFYTf'];a3_0x33f5=function(){return _0x492a86;};return a3_0x33f5();}(function(_0x4204ce,_0x5f2d20){const _0x1f130a=a3_0x3752,_0x46e218=_0x4204ce();while(!![]){try{const _0x5699d0=parseInt(_0x1f130a(0xe9))/0x1+parseInt(_0x1f130a(0xcb))/0x2+parseInt(_0x1f130a(0xda))/0x3+parseInt(_0x1f130a(0x104))/0x4+-parseInt(_0x1f130a(0xec))/0x5+-parseInt(_0x1f130a(0xd0))/0x6*(-parseInt(_0x1f130a(0xd5))/0x7)+parseInt(_0x1f130a(0xd4))/0x8*(-parseInt(_0x1f130a(0x102))/0x9);if(_0x5699d0===_0x5f2d20)break;else _0x46e218['push'](_0x46e218['shift']());}catch(_0x70ce96){_0x46e218['push'](_0x46e218['shift']());}}}(a3_0x33f5,0x45453));function a3_0x3752(_0x57fe20,_0x1ce799){const _0x33f549=a3_0x33f5();return a3_0x3752=function(_0x375283,_0x521c0d){_0x375283=_0x375283-0xc5;let _0x130534=_0x33f549[_0x375283];return _0x130534;},a3_0x3752(_0x57fe20,_0x1ce799);}const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a3_0x3374ff(0xd9)],PlaywrightSessionDetails=require(a3_0x3374ff(0xcc)),{isAccessibilityAutomationSession}=require(a3_0x3374ff(0xd1)),{getObservabilityLinkedProductName}=require(a3_0x3374ff(0x110)),getOSVersionFromCaps=_0x3c8f8b=>{const _0x2bb9fc=a3_0x3374ff,_0xf09a79={};_0xf09a79[_0x2bb9fc(0xd7)]=_0x2bb9fc(0xed),_0xf09a79['uCSVe']='platformVersion',_0xf09a79[_0x2bb9fc(0xfc)]=_0x2bb9fc(0x10c),_0xf09a79[_0x2bb9fc(0xf9)]=_0x2bb9fc(0xee),_0xf09a79[_0x2bb9fc(0xef)]=_0x2bb9fc(0x101);const _0x1ed112=_0xf09a79;if(!_0x3c8f8b)return null;const _0x1c5089=_0x3c8f8b[_0x1ed112[_0x2bb9fc(0xd7)]],_0x2fe141=[_0x1ed112['uCSVe'],_0x1ed112[_0x2bb9fc(0xfc)],_0x1ed112[_0x2bb9fc(0xf9)],_0x1ed112[_0x2bb9fc(0xef)]];for(const _0x50a4d9 of _0x2fe141){if(_0x1c5089&&_0x1c5089[_0x50a4d9])return _0x1c5089[_0x50a4d9];else{if(_0x3c8f8b[_0x50a4d9])return _0x3c8f8b[_0x50a4d9];}}return null;};exports[a3_0x3374ff(0x100)]=_0x34a668=>{const _0x476670=a3_0x3374ff,_0x345eb4={'wlYKA':'unknown_grid','QsnNn':function(_0x3c7f5a,_0x4b4684){return _0x3c7f5a===_0x4b4684;},'MYTTh':'WebDriver','BgJxx':function(_0x906e8,_0x16cd69){return _0x906e8(_0x16cd69);},'mPoGA':function(_0x311275,_0x3d0990,_0x28f105){return _0x311275(_0x3d0990,_0x28f105);},'WfEzO':_0x476670(0xf3),'URvNl':_0x476670(0xfd),'NiUtc':function(_0x32b5cd,_0x123812){return _0x32b5cd===_0x123812;},'KMLaP':_0x476670(0xf4),'fCXds':function(_0xb2255,_0x3bbf0a,_0x31c0ff){return _0xb2255(_0x3bbf0a,_0x31c0ff);},'SberB':_0x476670(0xe0),'fHXfL':_0x476670(0x106),'CLxEh':_0x476670(0xfe)};if(!_0x34a668)return null;let _0x4001f3=global[_0x476670(0x105)]||_0x345eb4[_0x476670(0x109)];if(_0x345eb4['QsnNn'](_0x34a668[_0x476670(0x10e)][_0x476670(0xdc)],_0x345eb4['MYTTh'])){const _0x585065=_0x34a668[_0x476670(0xe0)];if(!_0x585065)return null;const _0x494a2e=_0x585065[_0x476670(0xc6)],_0x33e552=_0x345eb4[_0x476670(0xf1)](getOSVersionFromCaps,_0x345eb4[_0x476670(0xf7)](nestedKeyValue,_0x34a668,[_0x345eb4[_0x476670(0xc7)],_0x345eb4[_0x476670(0x10f)]]));return{[_0x4001f3]:{'browser':_0x494a2e[_0x476670(0xe2)],'browser_version':_0x494a2e['browserVersion'],'capabilities':_0x494a2e,'platform':_0x494a2e['platformName'],'platform_version':_0x494a2e[_0x476670(0xea)]||_0x33e552,'product':_0x345eb4[_0x476670(0xf1)](getObservabilityLinkedProductName,_0x494a2e),'session_id':_0x585065['sessionId']}};}else{if(_0x345eb4[_0x476670(0xd8)](_0x34a668['constructor'][_0x476670(0xdc)],_0x345eb4[_0x476670(0xff)])){const _0x1dbfaa=PlaywrightSessionDetails[_0x476670(0xf5)]();_0x4001f3=_0x1dbfaa[_0x476670(0x107)]||_0x4001f3;const _0x43f7ce=_0x345eb4[_0x476670(0xcd)](nestedKeyValue,_0x34a668,[_0x345eb4[_0x476670(0xc7)],_0x345eb4[_0x476670(0x10b)],_0x345eb4[_0x476670(0xfb)]]),_0x561f69=_0x43f7ce?JSON[_0x476670(0xe7)](new URL(_0x43f7ce)[_0x476670(0xc8)][_0x476670(0xe6)](_0x345eb4[_0x476670(0xd2)])):{};return{[_0x4001f3]:{'browser':_0x1dbfaa[_0x476670(0xe0)]||_0x561f69[_0x476670(0xe2)],'browser_version':_0x1dbfaa[_0x476670(0xeb)]||_0x561f69[_0x476670(0xeb)],'capabilities':_0x561f69,'platform':_0x1dbfaa['platform'],'platform_version':_0x1dbfaa['platform_version'],'product':_0x345eb4[_0x476670(0xf1)](getObservabilityLinkedProductName,_0x561f69),'session_id':_0x1dbfaa[_0x476670(0xe1)]}};}}},exports['processWebDriverConfig']=_0x179f7b=>{const _0x515af1=a3_0x3374ff,_0x273e81={'ifUSV':function(_0x320794){return _0x320794();},'ZFYTf':function(_0x4c06c3,_0x3ec39b){return _0x4c06c3===_0x3ec39b;},'xPdtg':_0x515af1(0xc5),'UnmWl':function(_0x15803b,_0x2fb000){return _0x15803b>_0x2fb000;},'TUbRB':function(_0x2e0d55,_0x5d9ed3){return _0x2e0d55(_0x5d9ed3);},'EFgrP':_0x515af1(0xf0),'Rhiyh':_0x515af1(0xe4),'xeWII':function(_0x32b969,_0x56bd95){return _0x32b969===_0x56bd95;},'LSpsU':_0x515af1(0xca),'StDJg':_0x515af1(0x108),'YbFXr':function(_0x1c9ece,_0x47ae4c){return _0x1c9ece(_0x47ae4c);},'Goiwc':_0x515af1(0x10a)};if(_0x273e81[_0x515af1(0xdd)](isAccessibilityAutomationSession)){const _0x4f99eb=_0x179f7b[_0x515af1(0xe0)],_0x3eb3bf=_0x4f99eb[_0x515af1(0xc6)];global[_0x515af1(0xcf)]=!![],!(_0x273e81[_0x515af1(0xdf)](_0x3eb3bf['browserVersion'],_0x273e81['xPdtg'])||_0x273e81[_0x515af1(0xde)](_0x273e81[_0x515af1(0xf6)](parseInt,_0x3eb3bf[_0x515af1(0xce)]),0x5e))&&(logger[_0x515af1(0x10d)](_0x273e81[_0x515af1(0xe3)]),global[_0x515af1(0xcf)]=![]),!(_0x273e81[_0x515af1(0xdf)](_0x3eb3bf['browserName'],_0x273e81[_0x515af1(0xf8)])||_0x273e81['xeWII'](_0x3eb3bf[_0x515af1(0xe2)],_0x273e81['LSpsU']))&&(logger[_0x515af1(0x10d)](_0x273e81[_0x515af1(0xf2)]),global[_0x515af1(0xcf)]=![]),!_0x273e81[_0x515af1(0xdb)](isUndefined,_0x3eb3bf[_0x515af1(0xc9)])&&(logger[_0x515af1(0x10d)](_0x273e81[_0x515af1(0xe8)]),global[_0x515af1(0xcf)]=![]);}},exports['shouldPatchExecuteScript']=_0x4f7577=>{const _0x51592a=a3_0x3374ff,_0xf24543={};_0xf24543[_0x51592a(0xd6)]=_0x51592a(0xfa),_0xf24543[_0x51592a(0xe5)]=_0x51592a(0x103);const _0x238c3d=_0xf24543;if(!_0x4f7577)return![];return!_0x4f7577[_0x51592a(0xd3)](_0x238c3d[_0x51592a(0xd6)])&&!_0x4f7577['includes'](_0x238c3d[_0x51592a(0xe5)]);};
1
+ const a3_0x5e5646=a3_0x3acb;function a3_0x3acb(_0xe033e1,_0x2c696e){const _0x5c069b=a3_0x5c06();return a3_0x3acb=function(_0x3acbac,_0x10fdbc){_0x3acbac=_0x3acbac-0x81;let _0x3bb2c8=_0x5c069b[_0x3acbac];return _0x3bb2c8;},a3_0x3acb(_0xe033e1,_0x2c696e);}(function(_0x44d003,_0x52df3e){const _0x1a378c=a3_0x3acb,_0x44efb8=_0x44d003();while(!![]){try{const _0xed9189=-parseInt(_0x1a378c(0xa8))/0x1*(-parseInt(_0x1a378c(0xc2))/0x2)+parseInt(_0x1a378c(0xb9))/0x3*(parseInt(_0x1a378c(0xb2))/0x4)+parseInt(_0x1a378c(0xa6))/0x5+-parseInt(_0x1a378c(0xc0))/0x6+parseInt(_0x1a378c(0x84))/0x7*(parseInt(_0x1a378c(0xb7))/0x8)+-parseInt(_0x1a378c(0xaf))/0x9+-parseInt(_0x1a378c(0xa0))/0xa;if(_0xed9189===_0x52df3e)break;else _0x44efb8['push'](_0x44efb8['shift']());}catch(_0x3a0423){_0x44efb8['push'](_0x44efb8['shift']());}}}(a3_0x5c06,0x20df3));const {isUndefined,nestedKeyValue}=require(a3_0x5e5646(0xbc)),logger=require('../../helpers/logger')[a3_0x5e5646(0xb6)],PlaywrightSessionDetails=require(a3_0x5e5646(0xc7)),{isAccessibilityAutomationSession}=require(a3_0x5e5646(0xc4)),{getObservabilityLinkedProductName}=require(a3_0x5e5646(0xac)),getOSVersionFromCaps=_0x23b835=>{const _0x5459a0=a3_0x5e5646,_0x1f8a1b={};_0x1f8a1b['uigpi']='bstack:options',_0x1f8a1b[_0x5459a0(0xc3)]='platformVersion',_0x1f8a1b[_0x5459a0(0x92)]='platform_version',_0x1f8a1b[_0x5459a0(0xbb)]=_0x5459a0(0xc8),_0x1f8a1b[_0x5459a0(0x8d)]=_0x5459a0(0xc5);const _0x1effec=_0x1f8a1b;if(!_0x23b835)return null;const _0x217074=_0x23b835[_0x1effec['uigpi']],_0xe9ea16=[_0x1effec['tAobP'],_0x1effec[_0x5459a0(0x92)],_0x1effec['PQSoj'],_0x1effec[_0x5459a0(0x8d)]];for(const _0x1a040d of _0xe9ea16){if(_0x217074&&_0x217074[_0x1a040d])return _0x217074[_0x1a040d];else{if(_0x23b835[_0x1a040d])return _0x23b835[_0x1a040d];}}return null;};function a3_0x5c06(){const _0x53b978=['385530KaSprO','gcPoz','744gzflet','tAobP','../../helpers/accessibility-automation/helper','os_version','deviceName','../../bin/playwright/sessionDetails','osVersion','fetchPlatformDetails','ruEJj','playwright-chromium','OqXQo','WebDriver','1867334gMWwCA','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Playwright','get','OSyfJ','shouldPatchExecuteScript','platformVersion','ZJflV','EUwuT','DzShb','ynCra','jvaGI','accessibilityPlatform','browserWSEndpoint','QlIPF','yRVlq','TiSkV','XBsyz','name','parse','constructor','PboNa','browserName','browserVersion','hnRvo','cloudProvider','browser','prmra','4802590hlrtIa','platformName','AckNq','browserstack_executor','browser_version','bsSessionId','1197815enfXMu','eioix','577bOBicy','getDetails','OSzZs','hkhnD','../../helpers/test-observability/utils','chrome','dRQvd','1129914yDcNJs','latest','SxTfk','28ZlxnDT','__cloud_provider___','sessionId','hRExC','winstonLogger','8mFsUvS','YdEyc','35886vWmxfU','warn','PQSoj','../../helpers/helper','fUbRE','capabilities','unknown_grid'];a3_0x5c06=function(){return _0x53b978;};return a3_0x5c06();}exports[a3_0x5e5646(0xc9)]=_0x201ff9=>{const _0xe2d915=a3_0x5e5646,_0x1ffc57={'eSxMI':_0xe2d915(0xbf),'dRQvd':function(_0x3de6fc,_0x4fce91){return _0x3de6fc===_0x4fce91;},'dncjz':_0xe2d915(0x83),'gcPoz':function(_0x58eedf,_0x26856a){return _0x58eedf(_0x26856a);},'dwrAu':function(_0x1e35b0,_0x4d7c0d,_0x501049){return _0x1e35b0(_0x4d7c0d,_0x501049);},'ZJflV':'config','XBsyz':'desiredCapabilities','prmra':function(_0x2e99b9,_0x547d87){return _0x2e99b9===_0x547d87;},'yRVlq':_0xe2d915(0x86),'OSyfJ':function(_0x334c3a,_0x1b1d94,_0x2a4ad8){return _0x334c3a(_0x1b1d94,_0x2a4ad8);},'zQUFq':_0xe2d915(0x9e),'ruEJj':_0xe2d915(0x91),'hRExC':'caps','ynCra':function(_0x113241,_0x1590f7){return _0x113241(_0x1590f7);}};if(!_0x201ff9)return null;let _0x39cf1f=global[_0xe2d915(0xb3)]||_0x1ffc57['eSxMI'];if(_0x1ffc57[_0xe2d915(0xae)](_0x201ff9[_0xe2d915(0x98)][_0xe2d915(0x96)],_0x1ffc57['dncjz'])){const _0xb597f2=_0x201ff9[_0xe2d915(0x9e)];if(!_0xb597f2)return null;const _0x51181a=_0xb597f2[_0xe2d915(0xbe)],_0x4dde7a=_0x1ffc57[_0xe2d915(0xc1)](getOSVersionFromCaps,_0x1ffc57['dwrAu'](nestedKeyValue,_0x201ff9,[_0x1ffc57['ZJflV'],_0x1ffc57[_0xe2d915(0x95)]]));return{[_0x39cf1f]:{'browser':_0x51181a[_0xe2d915(0x9a)],'browser_version':_0x51181a['browserVersion'],'capabilities':_0x51181a,'platform':_0x51181a[_0xe2d915(0xa1)],'platform_version':_0x51181a[_0xe2d915(0x8a)]||_0x4dde7a,'product':_0x1ffc57[_0xe2d915(0xc1)](getObservabilityLinkedProductName,_0x51181a),'session_id':_0xb597f2[_0xe2d915(0xb4)]}};}else{if(_0x1ffc57[_0xe2d915(0x9f)](_0x201ff9[_0xe2d915(0x98)][_0xe2d915(0x96)],_0x1ffc57[_0xe2d915(0x93)])){const _0x3ace88=PlaywrightSessionDetails[_0xe2d915(0xa9)]();_0x39cf1f=_0x3ace88[_0xe2d915(0x9d)]||_0x39cf1f;const _0x3ecff8=_0x1ffc57[_0xe2d915(0x88)](nestedKeyValue,_0x201ff9,[_0x1ffc57[_0xe2d915(0x8b)],_0x1ffc57['zQUFq'],_0x1ffc57[_0xe2d915(0xca)]]),_0xdc0790=_0x3ecff8?JSON[_0xe2d915(0x97)](new URL(_0x3ecff8)['searchParams'][_0xe2d915(0x87)](_0x1ffc57[_0xe2d915(0xb5)])):{};return{[_0x39cf1f]:{'browser':_0x3ace88[_0xe2d915(0x9e)]||_0xdc0790[_0xe2d915(0x9a)],'browser_version':_0x3ace88[_0xe2d915(0xa4)]||_0xdc0790[_0xe2d915(0xa4)],'capabilities':_0xdc0790,'platform':_0x3ace88['platform'],'platform_version':_0x3ace88['platform_version'],'product':_0x1ffc57[_0xe2d915(0x8e)](getObservabilityLinkedProductName,_0xdc0790),'session_id':_0x3ace88[_0xe2d915(0xa5)]}};}}},exports['processWebDriverConfig']=_0x5e36a3=>{const _0x337a90=a3_0x5e5646,_0x4ecb80={'AckNq':function(_0x11ac8c){return _0x11ac8c();},'fUbRE':function(_0x446c0d,_0x5a4050){return _0x446c0d===_0x5a4050;},'PboNa':_0x337a90(0xb0),'OSzZs':function(_0x5e095e,_0x1306bb){return _0x5e095e>_0x1306bb;},'hnRvo':function(_0x3ec5bf,_0x47df7e){return _0x3ec5bf(_0x47df7e);},'EUwuT':_0x337a90(0x85),'TiSkV':_0x337a90(0xad),'SxTfk':_0x337a90(0x81),'hkhnD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','eioix':function(_0x3cf0a1,_0x4371a1){return _0x3cf0a1(_0x4371a1);},'jvaGI':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x4ecb80[_0x337a90(0xa2)](isAccessibilityAutomationSession)){const _0x113d86=_0x5e36a3[_0x337a90(0x9e)],_0x5dc46a=_0x113d86['capabilities'];global[_0x337a90(0x90)]=!![],!(_0x4ecb80['fUbRE'](_0x5dc46a['browserVersion'],_0x4ecb80[_0x337a90(0x99)])||_0x4ecb80[_0x337a90(0xaa)](_0x4ecb80[_0x337a90(0x9c)](parseInt,_0x5dc46a[_0x337a90(0x9b)]),0x5e))&&(logger[_0x337a90(0xba)](_0x4ecb80[_0x337a90(0x8c)]),global[_0x337a90(0x90)]=![]),!(_0x4ecb80[_0x337a90(0xbd)](_0x5dc46a['browserName'],_0x4ecb80[_0x337a90(0x94)])||_0x4ecb80[_0x337a90(0xbd)](_0x5dc46a['browserName'],_0x4ecb80[_0x337a90(0xb1)]))&&(logger[_0x337a90(0xba)](_0x4ecb80[_0x337a90(0xab)]),global[_0x337a90(0x90)]=![]),!_0x4ecb80[_0x337a90(0xa7)](isUndefined,_0x5dc46a[_0x337a90(0xc6)])&&(logger['warn'](_0x4ecb80[_0x337a90(0x8f)]),global[_0x337a90(0x90)]=![]);}},exports[a3_0x5e5646(0x89)]=_0x16a426=>{const _0x1362e8=a3_0x5e5646,_0x3afe8f={};_0x3afe8f[_0x1362e8(0xb8)]=_0x1362e8(0xa3),_0x3afe8f[_0x1362e8(0x82)]='browserstack_accessibility_automation_script';const _0x50148c=_0x3afe8f;if(!_0x16a426)return![];return!_0x16a426['includes'](_0x50148c[_0x1362e8(0xb8)])&&!_0x16a426['includes'](_0x50148c[_0x1362e8(0x82)]);};
@@ -1 +1 @@
1
- function a4_0x437b(_0x4a1a23,_0x2e2546){const _0x907ae5=a4_0x907a();return a4_0x437b=function(_0x437b7d,_0x5c6c6f){_0x437b7d=_0x437b7d-0x193;let _0x2f862c=_0x907ae5[_0x437b7d];return _0x2f862c;},a4_0x437b(_0x4a1a23,_0x2e2546);}function a4_0x907a(){const _0x14d7f9=['split','UacwU','Playwright','rrohU','xEVId','apply','TestRunSkipped','DGxaI','312237ApxFMv','KCqGk','test_run','failed','TestRunStarted','426780zZCmMk','TestRunFinished','getCBTInfo','../../helpers/test-observability/sessionHandler','failure','removeAllListeners','zdZNp','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','471156aNpdjH','TGUVv','Edzuc','VWeXI','TEST_EVENTS','inspect','HzZiJ','test','shutdown','GnEmi','PLAYWRIGHT_HUB_URL','JhxNg','JTigM','BaRLO','TEST_RUN_FINISHED','JztjB','type','eeGDm','captureEvent','QmUUP','NuHdI','hHIww','startedAt','length','KmevJ','hook','GpylB','currentTest','hlVqc','message','1253556ZJjJPp','fAKkb','initializeBddStep','Not\x20able\x20to\x20import\x20Browser','defineProperty','.git','IzGsj','aOmtN','Rqrei','STATE_FAILED','parent','connect','prefixTestPath','match','forEach','ImpIW','hookAnalyticsId','UMrzB','LogCreated','pid','hook_type','XsgoS','22897mxEulG','passed','_afterEach','rAPbs','client','bind','bddStepStart','yHBOt','lGRaW','failureData','cwd','472dArKkH','location_prefix','codeceptjs','getHooksForTest','fireEvent','6441rKNkjM','wpnOL','getRootParentFile','eXWnZ','failure_reason_expanded','1376785AAKjeg','CBTSessionCreated','McrLI','uploadEventData','umNjP','markedStatus','sendCBTInfo','tPwdr','tnPOE','zgRnQ','join','_afterAll','groups','dndkW','SHqxh','\x20with\x20error\x20:\x20','testAnalyticsId','uuid','bddSteps','then','STATE_PASSED','driver','meta','yxSad','exports','string','browserstack','zEeNv','KNgTp','nfCEG','backtrace','retryOf','errorsDetailed','_beforeEach','File\x20path\x20could\x20not\x20be\x20found','finished','frameworkName','expanded','ncdeg','stop','feature','bs:addLog:','toLowerCase','setupBrowserDetails','hbhuY','zYCFe','concat','XEjwB','findGitConfig','hook_run_uuid','MXmKL','toUpperCase','start','../playwright/accessibility-helper','Failed\x20to\x20parse\x20wsendpoint\x20','find','PKeFX','fullTitle','now','mzQQD','integrations','config','BdMZB','iLHPc','jZpPl','failed\x20to\x20get\x20root\x20parent\x20file\x20','keyword','suites','enabled','_testEnv','yBcRn','ctx','sep','pending','err','currentHook','title','obsBrowserTypeMockApplied','getHookType','ZkPXA','__platformCaps','qAiCq','hooks','push','_paths','VELCF','iUEVg','vWzyb','skipped','getFailureType','gZMDv','sttPB','test_run_uuid','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','viTYI','ONCMC','stepAnalyticsId','jvOAn','IKDAW','../../helpers/test-observability/requestQueueHandler','tags','winstonLogger','started','boTEn','dirname','toISOString','3|2|4|1|0|5','qYVfV','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','toString','38hfOUoh','sqzUw','patchConsoleLogger','text','sLcBE','__cloud_provider___','CODECEPT','includes','resetSkipTestHooks','getTime','name','comment','file','appendTestItemLog','bddStepFinish','pCRqc','status','event_type','getHierarchy','finished_at','duration','../../helpers/test-observability/constants','wsEndpoint','result','mapTestHooks','failure_backtrace','debug','stringify','../utils/constants','accessibilityPlatform','TEST_RUN_SKIPPED'];a4_0x907a=function(){return _0x14d7f9;};return a4_0x907a();}const a4_0x5214e6=a4_0x437b;(function(_0x3d236f,_0xf41c45){const _0x56d84f=a4_0x437b,_0x24c142=_0x3d236f();while(!![]){try{const _0x3c3708=-parseInt(_0x56d84f(0x21a))/0x1+-parseInt(_0x56d84f(0x1e6))/0x2*(parseInt(_0x56d84f(0x25e))/0x3)+parseInt(_0x56d84f(0x212))/0x4+parseInt(_0x56d84f(0x263))/0x5+parseInt(_0x56d84f(0x238))/0x6+parseInt(_0x56d84f(0x24e))/0x7*(parseInt(_0x56d84f(0x259))/0x8)+-parseInt(_0x56d84f(0x20d))/0x9;if(_0x3c3708===_0xf41c45)break;else _0x24c142['push'](_0x24c142['shift']());}catch(_0xb787b6){_0x24c142['push'](_0x24c142['shift']());}}}(a4_0x907a,0x39f0d));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x5214e6(0x274)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x5214e6(0x1fb)),logger=require('../../helpers/logger')[a4_0x5214e6(0x1dd)],SessionHandler=require(a4_0x5214e6(0x215)),RequestQueueHandler=require(a4_0x5214e6(0x1db)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x5214e6(0x200)],{processAccessibilityCaps}=require(a4_0x5214e6(0x1ad)),Constants=require(a4_0x5214e6(0x202)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x5214e6(0x24f),STATE_FAILED=a4_0x5214e6(0x210),a4_0xeb0b3d={};a4_0xeb0b3d['TEST_RUN_STARTED']=a4_0x5214e6(0x211),a4_0xeb0b3d[a4_0x5214e6(0x228)]=a4_0x5214e6(0x213),a4_0xeb0b3d[a4_0x5214e6(0x204)]=a4_0x5214e6(0x20b),a4_0xeb0b3d['HOOK_RUN_STARTED']='HookRunStarted',a4_0xeb0b3d['HOOK_RUN_FINISHED']='HookRunFinished';const TEST_EVENTS=a4_0xeb0b3d,parseEvent=_0x44c25b=>{const _0x26437d=a4_0x5214e6,_0x4be417={};_0x4be417[_0x26437d(0x22e)]=function(_0x4a0706,_0x1e87ea){return _0x4a0706<_0x1e87ea;},_0x4be417[_0x26437d(0x236)]=function(_0x40332e,_0x12fb21){return _0x40332e===_0x12fb21;},_0x4be417['TGUVv']=_0x26437d(0x221),_0x4be417[_0x26437d(0x21c)]=_0x26437d(0x233),_0x4be417['zQvER']=_0x26437d(0x1d0),_0x4be417[_0x26437d(0x267)]=function(_0x4ed352,_0x39e535){return _0x4ed352===_0x39e535;},_0x4be417[_0x26437d(0x20e)]=_0x26437d(0x1de),_0x4be417[_0x26437d(0x208)]=_0x26437d(0x19b);const _0x47cc37=_0x4be417,_0x53a234=_0x44c25b[_0x26437d(0x245)](/^(.*)Run(.*)$/);if(!_0x53a234)return null;if(_0x47cc37[_0x26437d(0x22e)](_0x53a234[_0x26437d(0x231)],0x3))return null;const _0x5171b4=_0x53a234[0x1][_0x26437d(0x1a2)](),_0x5a7ff9=_0x53a234[0x2]['toLowerCase']();return{'test':_0x47cc37[_0x26437d(0x236)](_0x5171b4,_0x47cc37[_0x26437d(0x21b)]),'hook':_0x47cc37[_0x26437d(0x236)](_0x5171b4,_0x47cc37[_0x26437d(0x21c)]),'skipped':_0x47cc37[_0x26437d(0x236)](_0x5a7ff9,_0x47cc37['zQvER']),'started':_0x47cc37[_0x26437d(0x267)](_0x5a7ff9,_0x47cc37[_0x26437d(0x20e)]),'finished':_0x47cc37['hlVqc'](_0x5a7ff9,_0x47cc37['rrohU'])};},mockPWBrowserType=_0x1db1ef=>{const _0x2d4d6a=a4_0x5214e6,_0x1fc73a={'tnPOE':function(_0x445c32,_0x21e844,_0xa38a0c){return _0x445c32(_0x21e844,_0xa38a0c);},'ZfJGi':_0x2d4d6a(0x1fc),'JhxNg':function(_0x12ddb7,_0x287224){return _0x12ddb7(_0x287224);},'qYVfV':_0x2d4d6a(0x27d),'iUEVg':function(_0x313d6d,_0x4afefb,_0x546957){return _0x313d6d(_0x4afefb,_0x546957);},'IzGsj':function(_0x3f0910,_0x139d69){return _0x3f0910===_0x139d69;},'UacwU':_0x2d4d6a(0x27c),'YFSMo':'lib','MXmKL':_0x2d4d6a(0x252),'eeGDm':'browserType.js','zEeNv':function(_0x31b5b1,_0x3e6ecc){return _0x31b5b1(_0x3e6ecc);},'XEjwB':function(_0x1f2aa5,_0x18ba5e){return _0x1f2aa5(_0x18ba5e);},'GnEmi':_0x2d4d6a(0x23b),'Rqrei':_0x2d4d6a(0x243),'dndkW':'launch'},_0x529d2a=path[_0x2d4d6a(0x26d)](_0x1fc73a['YFSMo'],_0x1fc73a[_0x2d4d6a(0x1aa)],_0x1fc73a[_0x2d4d6a(0x22b)]),_0x5a9b65=_0x1fc73a[_0x2d4d6a(0x193)](importFileFromPWCore,_0x529d2a);if(!_0x5a9b65){_0x1fc73a[_0x2d4d6a(0x1a7)](debug,_0x1fc73a[_0x2d4d6a(0x223)]);return;}const _0x474033=_0x5a9b65['BrowserType'],_0x5db901=_0x474033['prototype'];if(_0x5db901[_0x2d4d6a(0x1c5)])return;const _0x5cac3c=_0x5db901[_0x2d4d6a(0x243)];Object[_0x2d4d6a(0x23c)](_0x5db901,_0x1fc73a[_0x2d4d6a(0x240)],{'get':function(){const _0x216793=_0x2d4d6a,_0x3da49c={'PKeFX':function(_0x361a94,_0x5cadd5){const _0x52d6a4=a4_0x437b;return _0x1fc73a[_0x52d6a4(0x23e)](_0x361a94,_0x5cadd5);},'OcNwx':_0x1fc73a[_0x216793(0x206)]};return async function _0x228321(_0x40ef5f,_0xcd96e6){const _0xceb26f=_0x216793,_0x3a6238=_0x1fc73a[_0xceb26f(0x26b)](nestedKeyValue,_0x40ef5f,[_0x1fc73a['ZfJGi']])||_0x40ef5f;let _0x16105f=null,_0xc16e0c=null;try{[_0xc16e0c,_0x16105f]=_0x3a6238?_0x1fc73a[_0xceb26f(0x225)](parseWSEndpoint,_0x3a6238):[null,null],global[_0xceb26f(0x1c8)]=_0x16105f,_0xc16e0c[_0xceb26f(0x1ed)](_0x1fc73a[_0xceb26f(0x1e3)])&&(global[_0xceb26f(0x1eb)]=_0x1fc73a['qYVfV']);}catch(_0x17f539){logger[_0xceb26f(0x200)](_0xceb26f(0x1ae)+_0x3a6238+'\x20'+_0x17f539);}_0x1fc73a[_0xceb26f(0x1ce)](processAccessibilityCaps,_0x16105f,_0xc16e0c);if(global[_0xceb26f(0x203)]){const _0x5f5861=await _0x5db901['connectOverCDP']['apply'](this,[''+Constants[_0xceb26f(0x224)]+_0x1fc73a[_0xceb26f(0x225)](encodeURIComponent,JSON[_0xceb26f(0x201)](_0x16105f))]);return PlaywrightSessionDetails[_0xceb26f(0x1a3)](_0x5f5861,_0x1db1ef,_0x3a6238),_0x5f5861;}return _0x5cac3c[_0xceb26f(0x20a)](this,arguments)[_0xceb26f(0x276)](_0x20049b=>{const _0x5a69b2=_0xceb26f;let _0x224bd6=_0x40ef5f[_0x5a69b2(0x1fc)];return _0x3da49c[_0x5a69b2(0x1b0)](typeof _0x40ef5f,_0x3da49c['OcNwx'])&&(_0x224bd6=_0x40ef5f),PlaywrightSessionDetails['setupBrowserDetails'](_0x20049b,_0x1db1ef,_0x224bd6),_0x20049b;});};}});const _0x5d2025=_0x5db901['launch'];Object['defineProperty'](_0x5db901,_0x1fc73a[_0x2d4d6a(0x270)],{'get':function(){return async function _0x37f433(){const _0x3e7d5b=a4_0x437b;return _0x5d2025[_0x3e7d5b(0x20a)](this,arguments)[_0x3e7d5b(0x276)](_0x488e23=>{const _0x3c8326=_0x3e7d5b;return PlaywrightSessionDetails[_0x3c8326(0x1a3)](_0x488e23,null),_0x488e23;});};}});};class O11yHelper{['currentTest']=null;[a4_0x5214e6(0x1c3)]=null;[a4_0x5214e6(0x1bc)]=![];['frameworkName']=![];constructor(_0x3c3bf4,_0x40a646){const _0x2d7a5f=a4_0x5214e6,_0x26ce1e={'JsOew':_0x2d7a5f(0x1e2),'hHIww':function(_0xf228af){return _0xf228af();},'Dldas':function(_0x2cdb3c){return _0x2cdb3c();},'vWzyb':function(_0x270cff,_0x4c1ba5){return _0x270cff===_0x4c1ba5;},'yygqa':_0x2d7a5f(0x207),'yBcRn':function(_0x59d97b,_0x420fa8){return _0x59d97b(_0x420fa8);}},_0x2174e6=_0x26ce1e['JsOew'][_0x2d7a5f(0x205)]('|');let _0x5b21ed=0x0;while(!![]){switch(_0x2174e6[_0x5b21ed++]){case'0':this[_0x2d7a5f(0x1cc)]=new testOpsHelper['PathHelper']({'cwd':process[_0x2d7a5f(0x258)]()},this[_0x2d7a5f(0x1bd)][_0x2d7a5f(0x25a)]);continue;case'1':this[_0x2d7a5f(0x1bd)]=_0x26ce1e[_0x2d7a5f(0x22f)](getTestEnv);continue;case'2':this[_0x2d7a5f(0x19c)]=_0x40a646[_0x2d7a5f(0x19c)];continue;case'3':this['enabled']=_0x26ce1e['Dldas'](shouldProcessEventForTesthub);continue;case'4':this[_0x2d7a5f(0x278)]=_0x3c3bf4;continue;case'5':this[_0x2d7a5f(0x278)]&&_0x26ce1e[_0x2d7a5f(0x1cf)](this['driver']['constructor']['name'],_0x26ce1e['yygqa'])&&_0x26ce1e[_0x2d7a5f(0x1be)](mockPWBrowserType,null);continue;}break;}}[a4_0x5214e6(0x1ac)](){const _0x30dc0d=a4_0x5214e6;if(!this[_0x30dc0d(0x1bc)])return;testOpsHelper[_0x30dc0d(0x1e8)](),process[_0x30dc0d(0x217)](_0x30dc0d(0x1a1)+process[_0x30dc0d(0x24b)]),process['on'](_0x30dc0d(0x1a1)+process[_0x30dc0d(0x24b)],this[_0x30dc0d(0x1f3)][_0x30dc0d(0x253)](this));}async[a4_0x5214e6(0x19f)](){const _0x7d0c49=a4_0x5214e6;await RequestQueueHandler['getInstance']()[_0x7d0c49(0x222)]();}async['appendTestItemLog'](_0xae92f6){const _0x55cb83=a4_0x5214e6,_0x2a09a5={'sqzUw':_0x55cb83(0x24a),'JTigM':function(_0x1f7247,_0x8cc8a4){return _0x1f7247(_0x8cc8a4);}};try{this[_0x55cb83(0x1c3)]&&!this[_0x55cb83(0x1c3)]['markedStatus']&&(_0xae92f6[_0x55cb83(0x1a9)]=this[_0x55cb83(0x1c3)][_0x55cb83(0x248)]);!_0xae92f6[_0x55cb83(0x1a9)]&&this[_0x55cb83(0x235)]&&!this[_0x55cb83(0x235)][_0x55cb83(0x268)]&&(_0xae92f6[_0x55cb83(0x1d4)]=this[_0x55cb83(0x235)]['testAnalyticsId']);if(_0xae92f6['hook_run_uuid']||_0xae92f6[_0x55cb83(0x1d4)]){const _0x23a199={};_0x23a199[_0x55cb83(0x1f7)]=_0x2a09a5[_0x55cb83(0x1e7)],_0x23a199['logs']=[_0xae92f6],await SessionHandler[_0x55cb83(0x266)](_0x23a199);}}catch(_0x183299){_0x2a09a5[_0x55cb83(0x226)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x183299);}}async[a4_0x5214e6(0x269)](_0x17aed6){const _0x47f1ef=a4_0x5214e6,_0x25c957={'ZkPXA':_0x47f1ef(0x264),'aOmtN':function(_0x12647a,_0x2f27a1){return _0x12647a(_0x2f27a1);}};if(!this[_0x47f1ef(0x1bc)])return;const _0x49752c=this[_0x47f1ef(0x214)](this[_0x47f1ef(0x278)]);try{const _0x5f5af2={};_0x5f5af2[_0x47f1ef(0x274)]=_0x17aed6,_0x5f5af2[_0x47f1ef(0x1b4)]=_0x49752c;const _0x1f958d=_0x5f5af2,_0x32df3e={};_0x32df3e[_0x47f1ef(0x1f7)]=_0x25c957[_0x47f1ef(0x1c7)],_0x32df3e[_0x47f1ef(0x20f)]=_0x1f958d,await SessionHandler[_0x47f1ef(0x266)](_0x32df3e);}catch(_0x2a6f3f){_0x25c957[_0x47f1ef(0x23f)](debug,_0x47f1ef(0x1d5)+_0x2a6f3f);}}['getCBTInfo'](_0x453acf){const _0x31d4dd=a4_0x5214e6,_0xf1f5f8={'tPwdr':function(_0x4159eb,_0x2c2d7e){return _0x4159eb(_0x2c2d7e);}};return _0xf1f5f8[_0x31d4dd(0x26a)](fetchPlatformDetails,_0x453acf);}[a4_0x5214e6(0x1ee)]=_0x5ef591=>{const _0x27d630=a4_0x5214e6,_0x4e4a3d={};_0x4e4a3d[_0x27d630(0x1df)]=_0x27d630(0x199),_0x4e4a3d['XsgoS']=_0x27d630(0x250);const _0x592321=_0x4e4a3d;if(!_0x5ef591||!_0x5ef591[_0x27d630(0x242)])return;[_0x592321['boTEn'],_0x592321[_0x27d630(0x24d)]][_0x27d630(0x246)](_0x2b9e9b=>{const _0xc706d4=_0x27d630,_0xe49631=_0x5ef591[_0xc706d4(0x242)][_0x2b9e9b];_0xe49631[_0xc706d4(0x246)](_0x150b73=>{const _0x347ea0=_0xc706d4;_0x150b73[_0x347ea0(0x248)]&&(_0x150b73[_0x347ea0(0x248)]=null);});});};[a4_0x5214e6(0x1fe)](_0x3db456){const _0x48af5f=a4_0x5214e6,_0x15309e={'fAKkb':_0x48af5f(0x25b),'jvOAn':function(_0x1ab311){return _0x1ab311();},'RGcCx':function(_0x5bda14,_0x1d27a0){return _0x5bda14===_0x1d27a0;},'UMrzB':_0x48af5f(0x250),'BaRLO':'_beforeAll','ONCMC':'_afterAll','sLcBE':_0x48af5f(0x199)};if(!_0x3db456||!_0x3db456[_0x48af5f(0x242)])return;[_0x15309e[_0x48af5f(0x227)],_0x15309e[_0x48af5f(0x1d7)],_0x15309e[_0x48af5f(0x1ea)],_0x15309e[_0x48af5f(0x249)]][_0x48af5f(0x246)](_0x1954a6=>{const _0x3b2801=_0x48af5f,_0x22a6f4={'zgRnQ':_0x15309e[_0x3b2801(0x239)],'wpnOL':function(_0x111777){const _0x593ca1=_0x3b2801;return _0x15309e[_0x593ca1(0x1d9)](_0x111777);},'NxFsS':function(_0x1721c7,_0x334022){return _0x15309e['RGcCx'](_0x1721c7,_0x334022);},'gkgLn':_0x15309e[_0x3b2801(0x249)]},_0x5451b5=_0x3db456[_0x3b2801(0x242)][_0x1954a6]||[];_0x5451b5[_0x3b2801(0x246)](_0x122d0a=>{const _0x5efc86=_0x3b2801;if(_0x122d0a[_0x5efc86(0x1c4)][_0x5efc86(0x1ed)](_0x22a6f4[_0x5efc86(0x26c)]))return;if(!_0x122d0a['hookAnalyticsId'])_0x122d0a[_0x5efc86(0x248)]=_0x22a6f4[_0x5efc86(0x25f)](uuidv4);else _0x122d0a['markedStatus']&&_0x22a6f4['NxFsS'](_0x1954a6,_0x22a6f4['gkgLn'])&&(_0x122d0a[_0x5efc86(0x248)]=_0x22a6f4[_0x5efc86(0x25f)](uuidv4),delete _0x122d0a[_0x5efc86(0x268)]);});}),this[_0x48af5f(0x1fe)](_0x3db456[_0x48af5f(0x242)]);}[a4_0x5214e6(0x25c)](_0x23faeb){const _0x321acf=a4_0x5214e6,_0x57f5fd={};_0x57f5fd['FFehN']='_beforeAll',_0x57f5fd['ueKMw']=_0x321acf(0x26e),_0x57f5fd[_0x321acf(0x1b3)]=_0x321acf(0x199),_0x57f5fd[_0x321acf(0x218)]=_0x321acf(0x250);const _0x2aaf85=_0x57f5fd;if(!_0x23faeb||!_0x23faeb[_0x321acf(0x242)])return[];const _0x34ed4a=[];return[_0x2aaf85['FFehN'],_0x2aaf85['ueKMw'],_0x2aaf85[_0x321acf(0x1b3)],_0x2aaf85[_0x321acf(0x218)]]['forEach'](_0x49c65e=>{const _0x559ae5=_0x321acf,_0x38012c=_0x23faeb[_0x559ae5(0x242)][_0x49c65e]||[];_0x38012c['forEach'](_0x32cbf2=>{const _0x3409cd=_0x559ae5;_0x32cbf2[_0x3409cd(0x248)]&&_0x34ed4a[_0x3409cd(0x1cb)](_0x32cbf2[_0x3409cd(0x248)]);});}),[][_0x321acf(0x1a6)](_0x34ed4a,this[_0x321acf(0x25c)](_0x23faeb['parent']));}[a4_0x5214e6(0x1c6)](_0x39e82b){const _0x300ff9=a4_0x5214e6,_0x532d99=/^"(?<hook>.*)" hook:.*$/,_0x44affc=_0x39e82b[_0x300ff9(0x1c4)],_0xae8296=_0x44affc[_0x300ff9(0x245)](_0x532d99);if(_0xae8296&&_0xae8296[_0x300ff9(0x26f)])return _0xae8296[_0x300ff9(0x26f)]['hook'][_0x300ff9(0x1ab)]()['replace']('\x20','_');return null;}[a4_0x5214e6(0x1a8)](_0x2ff7b1){const _0xdbba1=a4_0x5214e6,_0x487395={};_0x487395[_0xdbba1(0x209)]=function(_0x3b855a,_0x52adb9){return _0x3b855a===_0x52adb9;},_0x487395[_0xdbba1(0x1d6)]=_0xdbba1(0x23d),_0x487395[_0xdbba1(0x251)]=_0xdbba1(0x1b5);const _0x40c65a=_0x487395,_0x53c571=path[_0xdbba1(0x1c0)];if(_0x40c65a[_0xdbba1(0x209)](_0x2ff7b1,null)||_0x40c65a[_0xdbba1(0x209)](_0x2ff7b1,'')||_0x40c65a[_0xdbba1(0x209)](_0x2ff7b1,_0x53c571)||_0x40c65a[_0xdbba1(0x209)](_0x2ff7b1,path[_0xdbba1(0x1e0)](_0x2ff7b1)))return null;try{return fs['statSync'](path[_0xdbba1(0x26d)](_0x2ff7b1,_0x40c65a[_0xdbba1(0x1d6)],_0x40c65a[_0xdbba1(0x251)])),_0x2ff7b1;}catch(_0x45a10a){const _0x1cea40=path[_0xdbba1(0x1e0)](_0x2ff7b1);return this[_0xdbba1(0x1a8)](_0x1cea40);}}[a4_0x5214e6(0x260)](_0x421220){const _0x2e4079=a4_0x5214e6,_0x1ecd21={};_0x1ecd21[_0x2e4079(0x1b8)]=function(_0x13f370,_0x4ffc89){return _0x13f370>_0x4ffc89;};const _0x465966=_0x1ecd21;if(_0x421220[_0x2e4079(0x1f2)])return _0x421220[_0x2e4079(0x1f2)];if(_0x421220[_0x2e4079(0x1bf)]){const _0x37be6a=_0x421220[_0x2e4079(0x1bf)][_0x2e4079(0x235)]?this['getRootParentFile'](_0x421220['ctx'][_0x2e4079(0x235)]):null;if(_0x37be6a)return _0x37be6a;}if(_0x421220[_0x2e4079(0x242)]){const _0x5d6da5=this['getRootParentFile'](_0x421220[_0x2e4079(0x242)])||(_0x421220[_0x2e4079(0x242)][_0x2e4079(0x1bf)]&&_0x421220[_0x2e4079(0x242)][_0x2e4079(0x1bf)][_0x2e4079(0x235)]?this[_0x2e4079(0x260)](_0x421220['parent'][_0x2e4079(0x1bf)][_0x2e4079(0x235)]):null);if(_0x5d6da5)return _0x5d6da5;_0x421220[_0x2e4079(0x242)][_0x2e4079(0x1bb)]&&_0x465966[_0x2e4079(0x1b8)](_0x421220[_0x2e4079(0x242)][_0x2e4079(0x1bb)][_0x2e4079(0x231)],0x0)&&_0x421220[_0x2e4079(0x242)][_0x2e4079(0x1bb)]['forEach'](_0x145d95=>{const _0x531c0a=_0x2e4079,_0x383985=_0x145d95['ctx']?this[_0x531c0a(0x260)](_0x145d95['ctx']):null;if(_0x383985)return _0x383985;});}return null;}[a4_0x5214e6(0x1f8)](_0x37963a){const _0x4798b4=a4_0x5214e6,_0x4e31a3={};_0x4e31a3[_0x4798b4(0x27a)]=function(_0x31534e,_0x20cba2){return _0x31534e!==_0x20cba2;};const _0x3d71fd=_0x4e31a3,_0x2cafe5=[];if(_0x37963a&&_0x37963a[_0x4798b4(0x242)]){let _0x1f2a64=_0x37963a[_0x4798b4(0x242)];while(_0x1f2a64&&_0x3d71fd[_0x4798b4(0x27a)](_0x1f2a64['title'],'')){_0x2cafe5[_0x4798b4(0x1cb)](_0x1f2a64[_0x4798b4(0x1c4)]),_0x1f2a64=_0x1f2a64[_0x4798b4(0x242)];}}return _0x2cafe5;}[a4_0x5214e6(0x22c)](_0x397a54,_0x1026e5,_0x217f1d=undefined){const _0x430e30=a4_0x5214e6,_0x2a22bd={'cBhzH':function(_0x1f76cd,_0x1509f0){return _0x1f76cd(_0x1509f0);},'McrLI':function(_0x54e344){return _0x54e344();},'yHBOt':function(_0x7f65cd){return _0x7f65cd();},'nfCEG':function(_0x9cbe61){return _0x9cbe61();},'JztjB':function(_0x1dd32d,_0x1a254e){return _0x1dd32d(_0x1a254e);},'ncdeg':'util','qAiCq':'err','ImpIW':function(_0x16e40f,_0x1c24c5){return _0x16e40f!==_0x1c24c5;},'hbhuY':_0x430e30(0x19a),'lGRaW':_0x430e30(0x1c1),'VELCF':_0x430e30(0x210),'eXWnZ':'passed','ihyYV':'skipped','KNgTp':'javascript','gZMDv':function(_0x587883,_0x5c50b0){return _0x587883-_0x5c50b0;},'zYCFe':function(_0x3a18de,_0x1a1bef,_0x559eaf,_0xa6a863,_0x55ceeb){return _0x3a18de(_0x1a1bef,_0x559eaf,_0xa6a863,_0x55ceeb);},'DGxaI':_0x430e30(0x1b4),'ckdSV':_0x430e30(0x279),'VWeXI':_0x430e30(0x216),'pCRqc':_0x430e30(0x1ff),'QmUUP':_0x430e30(0x196),'HzZiJ':_0x430e30(0x262),'SHqxh':_0x430e30(0x19d),'KXCfq':function(_0x4c4f54,_0x3b35a3){return _0x4c4f54===_0x3b35a3;},'BdMZB':'hook_run','HpSKc':_0x430e30(0x20f)};if(!this[_0x430e30(0x1bc)])return;try{if(_0x1026e5['fn']&&_0x1026e5['fn']['toString']()[_0x430e30(0x245)](/browserstack internal helper hook/))return;const _0xa5874e=_0x2a22bd['cBhzH'](parseEvent,_0x397a54);if(!_0xa5874e)return;if(_0xa5874e[_0x430e30(0x221)]){this[_0x430e30(0x235)]=_0x1026e5,this[_0x430e30(0x1c3)]=null;if(_0xa5874e[_0x430e30(0x1de)]||_0xa5874e[_0x430e30(0x1d0)]){_0x1026e5[_0x430e30(0x230)]=new Date(),_0x1026e5[_0x430e30(0x268)]=![];if(!_0x1026e5[_0x430e30(0x273)])_0x1026e5[_0x430e30(0x273)]=_0x2a22bd[_0x430e30(0x265)](uuidv4);else _0x1026e5[_0x430e30(0x268)]&&(!_0x1026e5[_0x430e30(0x197)]&&(_0x1026e5[_0x430e30(0x197)]=_0x1026e5[_0x430e30(0x273)]),_0x1026e5[_0x430e30(0x273)]=_0x2a22bd[_0x430e30(0x255)](uuidv4));}}else{if(_0xa5874e[_0x430e30(0x233)]){this[_0x430e30(0x1c3)]=_0x1026e5;if(_0xa5874e[_0x430e30(0x1de)]){_0x1026e5['startedAt']=new Date(),_0x1026e5[_0x430e30(0x268)]=![];if(!_0x1026e5[_0x430e30(0x248)])_0x1026e5[_0x430e30(0x248)]=_0x2a22bd[_0x430e30(0x195)](uuidv4);else _0x1026e5['hookAnalyticsId']&&_0x1026e5['markedStatus']&&(_0x1026e5['hookAnalyticsId']=_0x2a22bd['yHBOt'](uuidv4));}}}if(_0xa5874e[_0x430e30(0x19b)]&&_0x1026e5[_0x430e30(0x268)])return;let _0x322198;try{_0x322198=this[_0x430e30(0x260)](_0x1026e5);}catch(_0x3bd4d3){logger['debug'](_0x430e30(0x1b9)+_0x3bd4d3),_0x322198=null;}const _0x3df78a=_0x2a22bd[_0x430e30(0x229)](require,_0x2a22bd[_0x430e30(0x19e)]);let _0x9617d3=[];_0x217f1d&&(_0x9617d3=[_0x217f1d,_0x2a22bd[_0x430e30(0x1c9)]]);const _0x37d481=_0x2a22bd['ImpIW'](_0x1026e5[_0x430e30(0x198)],undefined)?_0x3df78a[_0x430e30(0x21f)](_0x1026e5[_0x430e30(0x198)][0x0]):_0x2a22bd[_0x430e30(0x247)](_0x217f1d,undefined)?_0x217f1d[_0x430e30(0x1e5)]():undefined,_0x195985=_0x322198?this[_0x430e30(0x1a8)](_0x322198):null,_0x447407=_0x322198?this[_0x430e30(0x1cc)][_0x430e30(0x244)](this[_0x430e30(0x260)](_0x1026e5)):_0x2a22bd[_0x430e30(0x1a4)];let _0x16cc89=_0x2a22bd[_0x430e30(0x256)];const _0x3ae88f=!_0xa5874e['started']?new Date()[_0x430e30(0x1e1)]():null;if(_0xa5874e['finished'])_0x16cc89=_0x217f1d?_0x2a22bd['VELCF']:_0x2a22bd[_0x430e30(0x261)],_0x1026e5['markedStatus']=!![];else _0xa5874e[_0x430e30(0x1d0)]&&(_0x16cc89=_0x2a22bd['ihyYV'],_0x1026e5[_0x430e30(0x268)]=!![]);const _0x3df018={'framework':this[_0x430e30(0x19c)],'uuid':_0x1026e5[_0x430e30(0x273)]||_0x1026e5['hookAnalyticsId'],'name':_0x1026e5[_0x430e30(0x1c4)],'body':{'lang':_0x2a22bd[_0x430e30(0x194)],'code':_0x1026e5['body']['toString']()},'type':_0x1026e5[_0x430e30(0x22a)],'scope':_0x1026e5[_0x430e30(0x1b1)](),'scopes':this['getHierarchy'](_0x1026e5),'file_name':_0x447407,'vc_filepath':_0x195985?path['relative'](_0x195985,_0x322198):null,'location':_0x447407,'result':_0x16cc89,'failure_reason':_0x37d481,'duration_in_ms':_0x1026e5['duration']||(_0xa5874e[_0x430e30(0x19b)]||_0xa5874e[_0x430e30(0x1d0)])?_0x2a22bd[_0x430e30(0x1d2)](Date[_0x430e30(0x1b2)](),new Date(_0x1026e5[_0x430e30(0x230)])[_0x430e30(0x1ef)]()):null,'started_at':new Date(_0x1026e5[_0x430e30(0x230)])[_0x430e30(0x1e1)](),'finished_at':_0x3ae88f,'failure':testOpsHelper[_0x430e30(0x257)]['apply'](null,_0x9617d3),'failure_type':!_0x37d481?null:testOpsHelper[_0x430e30(0x1d1)](_0x37d481),'retry_of':_0x1026e5[_0x430e30(0x197)]||null,'tags':_0x1026e5[_0x430e30(0x1dc)]||[],'customRerunParam':{'rerun_name':_0x1026e5['fullTitle']()}};_0x2a22bd[_0x430e30(0x1a5)](appendTesthubParams,_0x3df018,_0x397a54,_0x1026e5,FRAMEWORKS[_0x430e30(0x1ec)]);if(_0xa5874e['hook'])[_0x3df018[_0x430e30(0x24c)],_0x3df018[_0x430e30(0x1f0)]]=[this[_0x430e30(0x1c6)](_0x1026e5),_0x1026e5['ctx'][_0x430e30(0x221)]['title']],_0xa5874e[_0x430e30(0x19b)]?_0x2a22bd[_0x430e30(0x247)](_0x3df018[_0x430e30(0x1fd)],_0x2a22bd[_0x430e30(0x1cd)])&&(_0x3df018[_0x430e30(0x1fd)]=_0x2a22bd[_0x430e30(0x261)]):_0x3df018['body']={};else _0xa5874e[_0x430e30(0x221)]&&(this[_0x430e30(0x1fe)](_0x1026e5),_0xa5874e[_0x430e30(0x1d0)]&&this[_0x430e30(0x1ee)](_0x1026e5),(_0xa5874e[_0x430e30(0x19b)]||_0xa5874e['skipped'])&&(_0x3df018[_0x430e30(0x1ca)]=this['getHooksForTest'](_0x1026e5)));this[_0x430e30(0x278)]&&(_0xa5874e['started']||_0xa5874e['skipped'])&&(_0x3df018[_0x2a22bd[_0x430e30(0x20c)]]=this[_0x430e30(0x214)](this[_0x430e30(0x278)]));_0xa5874e['test']&&_0xa5874e[_0x430e30(0x19b)]&&_0x1026e5[_0x430e30(0x275)]&&(_0x3df018[_0x2a22bd['ckdSV']]={'feature':{'name':_0x1026e5[_0x430e30(0x242)][_0x430e30(0x1a0)][_0x430e30(0x1f0)],'path':_0x3df018['file_name'],'description':_0x1026e5[_0x430e30(0x242)][_0x430e30(0x1f1)]},'scenario':{'name':_0x1026e5['title']},'steps':_0x1026e5[_0x430e30(0x275)]});const _0xbcaf47=_0x3df018[_0x2a22bd[_0x430e30(0x21d)]][0x0];_0xbcaf47&&(_0x3df018[_0x2a22bd[_0x430e30(0x1f5)]]=_0xbcaf47[_0x2a22bd[_0x430e30(0x22d)]],_0x3df018[_0x2a22bd[_0x430e30(0x220)]]=_0xbcaf47[_0x2a22bd[_0x430e30(0x271)]]);if(_0x1026e5['bddSteps'])for(const _0x58dd5e of _0x1026e5[_0x430e30(0x275)]){!_0x58dd5e[_0x430e30(0x1f9)]&&(_0x58dd5e[_0x430e30(0x1f9)]=new Date()[_0x430e30(0x1e1)](),_0x2a22bd['KXCfq'](_0x58dd5e[_0x430e30(0x1fd)],_0x2a22bd[_0x430e30(0x256)])&&(_0xbcaf47?(_0x58dd5e['result']=_0x2a22bd[_0x430e30(0x1cd)],_0x58dd5e[_0x430e30(0x216)]=_0xbcaf47[_0x2a22bd['QmUUP']][0x0]):_0x58dd5e[_0x430e30(0x1fd)]=_0x2a22bd[_0x430e30(0x261)]));}const _0x3a0ef6={};_0x3a0ef6[_0x430e30(0x1f7)]=_0xa5874e[_0x430e30(0x1d0)]?TEST_EVENTS[_0x430e30(0x228)]:_0x397a54;const _0x10f3d7=_0x3a0ef6;return _0xa5874e[_0x430e30(0x233)]?_0x10f3d7[_0x2a22bd[_0x430e30(0x1b6)]]=_0x3df018:_0x10f3d7[_0x2a22bd['HpSKc']]=_0x3df018,_0x10f3d7;}catch(_0x366e0d){logger[_0x430e30(0x200)](_0x430e30(0x1e4)+_0x397a54+_0x430e30(0x272)+_0x366e0d);}}async[a4_0x5214e6(0x25d)](_0x2a6bbf,_0x20cbcd){const _0x563add=a4_0x5214e6;if(!this[_0x563add(0x1bc)]||!_0x20cbcd||!_0x2a6bbf)return![];try{return await SessionHandler[_0x563add(0x266)](_0x20cbcd);}catch(_0x1bad44){logger[_0x563add(0x200)](_0x563add(0x219)+_0x2a6bbf+'\x20with\x20error\x20:\x20'+_0x1bad44);}}[a4_0x5214e6(0x23a)](_0x4951c2){const _0x13fd91=a4_0x5214e6,_0x27c2fd={};_0x27c2fd[_0x13fd91(0x1b7)]=_0x13fd91(0x1c1);const _0x46ae2c=_0x27c2fd;return{'id':_0x4951c2[_0x13fd91(0x1d8)],'text':_0x4951c2[_0x13fd91(0x1e9)],'keyword':_0x4951c2[_0x13fd91(0x1ba)],'started_at':_0x4951c2[_0x13fd91(0x230)][_0x13fd91(0x1e1)](),'result':_0x46ae2c['iLHPc']};}[a4_0x5214e6(0x254)](_0x4bebf8){const _0x686ed8=a4_0x5214e6,_0x4ac1c3={'sttPB':function(_0x50deb1){return _0x50deb1();}};!this['currentTest']['bddSteps']&&(this[_0x686ed8(0x235)][_0x686ed8(0x275)]=[]),!_0x4bebf8['stepAnalyticsId']&&(_0x4bebf8[_0x686ed8(0x1d8)]=_0x4ac1c3[_0x686ed8(0x1d3)](uuidv4),_0x4bebf8[_0x686ed8(0x230)]=new Date(),this['currentTest']['bddSteps'][_0x686ed8(0x1cb)](this[_0x686ed8(0x23a)](_0x4bebf8)));}[a4_0x5214e6(0x1f4)](_0xcccdaa){const _0x343d03=a4_0x5214e6,_0x2361bb={'QwlvM':function(_0x28d356,_0x2accda){return _0x28d356(_0x2accda);},'KmevJ':'success','nOnFH':'pending','IKDAW':'passed','GpylB':function(_0x31712b,_0x130fb7){return _0x31712b-_0x130fb7;}};let _0x297b0f=this[_0x343d03(0x235)][_0x343d03(0x275)][_0x343d03(0x1af)](_0x207059=>_0x207059['id']===_0xcccdaa[_0x343d03(0x1d8)]);_0x2361bb['QwlvM'](isUndefined,_0x297b0f)&&(_0x297b0f=this['initializeBddStep'](_0xcccdaa)),_0x297b0f['result']=[_0x2361bb[_0x343d03(0x232)],_0x2361bb['nOnFH']][_0x343d03(0x1ed)](_0xcccdaa[_0x343d03(0x1f6)])?_0x2361bb[_0x343d03(0x1da)]:_0xcccdaa[_0x343d03(0x1f6)],_0x297b0f['finished_at']=new Date()[_0x343d03(0x1e1)](),_0x297b0f[_0x343d03(0x1fa)]=_0x2361bb[_0x343d03(0x234)](Date[_0x343d03(0x1b2)](),_0xcccdaa[_0x343d03(0x230)][_0x343d03(0x1ef)]()),_0x297b0f['failure']=_0xcccdaa['err']?_0xcccdaa[_0x343d03(0x1c2)][_0x343d03(0x237)]:null;}}const a4_0x54d0d9={};a4_0x54d0d9['O11yHelper']=O11yHelper,a4_0x54d0d9[a4_0x5214e6(0x277)]=STATE_PASSED,a4_0x54d0d9[a4_0x5214e6(0x241)]=STATE_FAILED,a4_0x54d0d9[a4_0x5214e6(0x21e)]=TEST_EVENTS,module[a4_0x5214e6(0x27b)]=a4_0x54d0d9;
1
+ const a4_0x5cc1b0=a4_0x1cee;(function(_0x50bf4c,_0x5e15d7){const _0x42bfd6=a4_0x1cee,_0x188980=_0x50bf4c();while(!![]){try{const _0x488f36=parseInt(_0x42bfd6(0x240))/0x1*(-parseInt(_0x42bfd6(0x276))/0x2)+parseInt(_0x42bfd6(0x1d8))/0x3+-parseInt(_0x42bfd6(0x19b))/0x4*(parseInt(_0x42bfd6(0x1dc))/0x5)+-parseInt(_0x42bfd6(0x1d6))/0x6*(-parseInt(_0x42bfd6(0x199))/0x7)+-parseInt(_0x42bfd6(0x18d))/0x8+-parseInt(_0x42bfd6(0x211))/0x9+parseInt(_0x42bfd6(0x1c9))/0xa;if(_0x488f36===_0x5e15d7)break;else _0x188980['push'](_0x188980['shift']());}catch(_0x2da08b){_0x188980['push'](_0x188980['shift']());}}}(a4_0x453d,0x7aeca));function a4_0x1cee(_0x27f80a,_0x33a176){const _0x453daf=a4_0x453d();return a4_0x1cee=function(_0x1cee81,_0x51eb01){_0x1cee81=_0x1cee81-0x18b;let _0x33f7f4=_0x453daf[_0x1cee81];return _0x33f7f4;},a4_0x1cee(_0x27f80a,_0x33a176);}const path=require(a4_0x5cc1b0(0x1bd)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x5cc1b0(0x24d)),testOpsHelper=require(a4_0x5cc1b0(0x235)),{getTestEnv}=require(a4_0x5cc1b0(0x21d)),{FRAMEWORKS}=require(a4_0x5cc1b0(0x238)),logger=require('../../helpers/logger')[a4_0x5cc1b0(0x1f8)],SessionHandler=require(a4_0x5cc1b0(0x210)),RequestQueueHandler=require(a4_0x5cc1b0(0x219)),PlaywrightSessionDetails=require(a4_0x5cc1b0(0x274)),debug=testOpsHelper[a4_0x5cc1b0(0x1ff)],{processAccessibilityCaps}=require(a4_0x5cc1b0(0x254)),Constants=require(a4_0x5cc1b0(0x21c)),{fetchPlatformDetails}=require(a4_0x5cc1b0(0x1ac)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x5cc1b0(0x289)),STATE_PASSED='passed',STATE_FAILED='failed',a4_0x4e984b={};a4_0x4e984b[a4_0x5cc1b0(0x18c)]='TestRunStarted',a4_0x4e984b[a4_0x5cc1b0(0x215)]=a4_0x5cc1b0(0x208),a4_0x4e984b[a4_0x5cc1b0(0x25d)]='TestRunSkipped',a4_0x4e984b[a4_0x5cc1b0(0x227)]=a4_0x5cc1b0(0x24f),a4_0x4e984b['HOOK_RUN_FINISHED']=a4_0x5cc1b0(0x27f);function a4_0x453d(){const _0x507413=['vwOoz','match','failed','Playwright','path','start','DUAvP','event_type','TKssK','comment','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','frameworkName','resetSkipTestHooks','concat','AzmTj','QFfvT','19121490eBoFFh','mNyym','OWduf','text','GHpSy','status','SjBXB','currentHook','integrations','BbceW','1|0|2|4|3|5','pmdOW','File\x20path\x20could\x20not\x20be\x20found','105456BGQrkY','prototype','387279mpRpEa','mapTestHooks','hook_type','FclcU','5oFitqb','eAIwZ','includes','dNjTc','finished','findGitConfig','mLsdM','BrowserType','GapYn','launch','message','config','__platformCaps','stepAnalyticsId','_beforeEach','nBwYE','getTime','startedAt','connectOverCDP','meta','AuzgM','skipped','FWYMu','oAdoc','toUpperCase','length','string','sufnF','winstonLogger','inspect','accessibilityPlatform','hook_run','SVfqW','jODWw','logs','debug','fireEvent','yFxVT','eAErL','YsOmb','FnzdO','suites','failure','mvBmO','TestRunFinished','backtrace','constructor','CBTSessionCreated','wsEndpoint','util','_testEnv','hzvhS','../../helpers/test-observability/sessionHandler','5248206xSXtTu','cwd','type','location_prefix','TEST_RUN_FINISHED','LogCreated','join','toISOString','../../helpers/test-observability/requestQueueHandler','PLAYWRIGHT_HUB_URL','toLowerCase','../utils/constants','../mocha/test-observability/mochaUtils','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','push','dirname','LWbDf','uuid','uploadEventData','SOxKT','jZGjs','browserstack','HOOK_RUN_STARTED','browserType.js','nhvXK','markedStatus','dKffj','getHooksForTest','DjiCc','xONmH','hook','failure_reason_expanded','getFailureType','UpByg','exports','QRBjB','../../helpers/test-observability/utils','_beforeAll','file_name','../../helpers/test-observability/constants','edPvu','mKeyY','err','yFaEw','DcGwc','replace','getInstance','123wOlJWw','tags','hook_run_uuid','lchsb','kipzq','GTkNa','then','defineProperty','_afterAll','O11yHelper','obsBrowserTypeMockApplied','XiVjK','getHierarchy','../../helpers/helper','groups','HookRunStarted','forEach','apply','bs:addLog:','YhmXW','../playwright/accessibility-helper','name','test','hookAnalyticsId','passed','currentTest','xvgca','setupBrowserDetails','__cloud_provider___','TEST_RUN_SKIPPED','yMDnS','CODECEPT','file','failed\x20to\x20get\x20root\x20parent\x20file\x20','javascript','tprjH','Failed\x20to\x20parse\x20wsendpoint\x20','sZLEo','result','kylXD','pending','kJytC','PathHelper','bVovS','oMNSi','MzDtx','bddStepFinish','OAdGW','GMLRm','GVmhQ','prefixTestPath','failure_backtrace','../playwright/sessionDetails','driver','5308CFxLpv','TrCgP','body','appendTestItemLog','MtzOH','hooks','lib','STATE_FAILED','yozlB','HookRunFinished','ppKzz','_afterEach','fullTitle','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','IAALD','LGnhc','hIEuZ','ydYlp','success','../../helpers/testhub/utils.js','stringify','VtyLb','ATIYj','kXygv','errorsDetailed','TEST_RUN_STARTED','470328wwmkzV','toString','ctx','statSync','NqpPu','test_run_uuid','title','parent','TEST_EVENTS','goXxL','\x20with\x20error\x20:\x20','find','84lNVQTF','vKIxO','3121156fLWIiU','sendCBTInfo','mrbap','ioIAk','getHookType','finished_at','test_run','connect','testAnalyticsId','now','GRFSN','retryOf','initializeBddStep','KlhQC','HAwSG','started','_paths','./helper.js','keyword','lcUyA','PhfrL','getCBTInfo','sep','codeceptjs','bddSteps','qxmEt','getRootParentFile','feature','enabled','SCABk'];a4_0x453d=function(){return _0x507413;};return a4_0x453d();}const TEST_EVENTS=a4_0x4e984b,parseEvent=_0x109c2e=>{const _0x146e50=a4_0x5cc1b0,_0x38eb5c={};_0x38eb5c[_0x146e50(0x1ae)]=function(_0xb7c2d,_0x29e58c){return _0xb7c2d<_0x29e58c;},_0x38eb5c['vwOoz']=function(_0x2de181,_0x537ee4){return _0x2de181===_0x537ee4;},_0x38eb5c['pmdOW']=_0x146e50(0x256),_0x38eb5c['ppKzz']=_0x146e50(0x22f),_0x38eb5c['SVfqW']=function(_0x15634e,_0x340c96){return _0x15634e===_0x340c96;},_0x38eb5c[_0x146e50(0x22b)]=_0x146e50(0x1f1),_0x38eb5c[_0x146e50(0x234)]='started',_0x38eb5c[_0x146e50(0x229)]='finished';const _0x2e90ab=_0x38eb5c,_0x3ecbfb=_0x109c2e[_0x146e50(0x1ba)](/^(.*)Run(.*)$/);if(!_0x3ecbfb)return null;if(_0x2e90ab[_0x146e50(0x1ae)](_0x3ecbfb['length'],0x3))return null;const _0x34af0e=_0x3ecbfb[0x1]['toLowerCase'](),_0x386b20=_0x3ecbfb[0x2][_0x146e50(0x21b)]();return{'test':_0x2e90ab['vwOoz'](_0x34af0e,_0x2e90ab[_0x146e50(0x1d4)]),'hook':_0x2e90ab[_0x146e50(0x1b9)](_0x34af0e,_0x2e90ab[_0x146e50(0x280)]),'skipped':_0x2e90ab['SVfqW'](_0x386b20,_0x2e90ab[_0x146e50(0x22b)]),'started':_0x2e90ab[_0x146e50(0x1fc)](_0x386b20,_0x2e90ab[_0x146e50(0x234)]),'finished':_0x2e90ab[_0x146e50(0x1b9)](_0x386b20,_0x2e90ab[_0x146e50(0x229)])};},mockPWBrowserType=_0x4a1589=>{const _0x228b01=a4_0x5cc1b0,_0x3ec695={'bVovS':function(_0x36794f,_0x2bb5ca){return _0x36794f===_0x2bb5ca;},'NRFSS':_0x228b01(0x1f6),'GTkNa':function(_0x368e3b,_0x1692d7,_0x51c436){return _0x368e3b(_0x1692d7,_0x51c436);},'dNjTc':'wsEndpoint','XiVjK':function(_0x9ecbeb,_0x274974){return _0x9ecbeb(_0x274974);},'uQDre':_0x228b01(0x226),'GapYn':function(_0x220674,_0x5c4636){return _0x220674(_0x5c4636);},'GHpSy':_0x228b01(0x27c),'SsaFl':'client','OAdGW':_0x228b01(0x228),'UOHfO':'Not\x20able\x20to\x20import\x20Browser','mvBmO':_0x228b01(0x1a2),'jODWw':'launch'},_0x2a1078=path[_0x228b01(0x217)](_0x3ec695[_0x228b01(0x1cd)],_0x3ec695['SsaFl'],_0x3ec695[_0x228b01(0x26f)]),_0x33e882=_0x3ec695[_0x228b01(0x24b)](importFileFromPWCore,_0x2a1078);if(!_0x33e882){_0x3ec695[_0x228b01(0x1e4)](debug,_0x3ec695['UOHfO']);return;}const _0x3f4ee5=_0x33e882[_0x228b01(0x1e3)],_0x52c942=_0x3f4ee5[_0x228b01(0x1d7)];if(_0x52c942[_0x228b01(0x24a)])return;const _0x230fc0=_0x52c942['connect'];Object[_0x228b01(0x247)](_0x52c942,_0x3ec695[_0x228b01(0x207)],{'get':function(){const _0x51f2a3=_0x228b01,_0x338059={'kJytC':function(_0x474a59,_0x5a11f3){const _0x48d343=a4_0x1cee;return _0x3ec695[_0x48d343(0x26b)](_0x474a59,_0x5a11f3);},'iUAPp':_0x3ec695['NRFSS'],'yMDnS':function(_0xf61815,_0x5488f8,_0x418401){const _0x38fb05=a4_0x1cee;return _0x3ec695[_0x38fb05(0x245)](_0xf61815,_0x5488f8,_0x418401);},'AuzgM':_0x3ec695[_0x51f2a3(0x1df)],'oMNSi':function(_0x199027,_0x24a3d8){const _0x318b5c=_0x51f2a3;return _0x3ec695[_0x318b5c(0x24b)](_0x199027,_0x24a3d8);},'FclcU':_0x3ec695['uQDre'],'IAALD':function(_0x52fdfc,_0x1eb937,_0x15ee31){const _0xa77ca=_0x51f2a3;return _0x3ec695[_0xa77ca(0x245)](_0x52fdfc,_0x1eb937,_0x15ee31);},'SDwUw':function(_0x17e97e,_0x2e25dc){const _0x229b9b=_0x51f2a3;return _0x3ec695[_0x229b9b(0x1e4)](_0x17e97e,_0x2e25dc);}};return async function _0x13297b(_0x49df60,_0x1ff2e2){const _0x3022e1=_0x51f2a3,_0x2fb427=_0x338059[_0x3022e1(0x25e)](nestedKeyValue,_0x49df60,[_0x338059[_0x3022e1(0x1f0)]])||_0x49df60;let _0x285462=null,_0x2e25b9=null;try{[_0x2e25b9,_0x285462]=_0x2fb427?_0x338059[_0x3022e1(0x26c)](parseWSEndpoint,_0x2fb427):[null,null],global[_0x3022e1(0x1e8)]=_0x285462,_0x2e25b9[_0x3022e1(0x1de)](_0x338059['FclcU'])&&(global[_0x3022e1(0x25c)]=_0x338059[_0x3022e1(0x1db)]);}catch(_0x5eb6c5){logger[_0x3022e1(0x1ff)](_0x3022e1(0x264)+_0x2fb427+'\x20'+_0x5eb6c5);}_0x338059[_0x3022e1(0x284)](processAccessibilityCaps,_0x285462,_0x2e25b9);if(global[_0x3022e1(0x1fa)]){const _0x3d3475=await _0x52c942[_0x3022e1(0x1ee)][_0x3022e1(0x251)](this,[''+Constants[_0x3022e1(0x21a)]+_0x338059['SDwUw'](encodeURIComponent,JSON[_0x3022e1(0x28a)](_0x285462))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x3d3475,_0x4a1589,_0x2fb427),_0x3d3475;}return _0x230fc0[_0x3022e1(0x251)](this,arguments)[_0x3022e1(0x246)](_0x5445f9=>{const _0x499a5b=_0x3022e1;let _0x5498fd=_0x49df60[_0x499a5b(0x20c)];return _0x338059[_0x499a5b(0x269)](typeof _0x49df60,_0x338059['iUAPp'])&&(_0x5498fd=_0x49df60),PlaywrightSessionDetails[_0x499a5b(0x25b)](_0x5445f9,_0x4a1589,_0x5498fd),_0x5445f9;});};}});const _0x4e9b06=_0x52c942[_0x228b01(0x1e5)];Object[_0x228b01(0x247)](_0x52c942,_0x3ec695[_0x228b01(0x1fd)],{'get':function(){return async function _0x34d940(){const _0x5f3012=a4_0x1cee;return _0x4e9b06[_0x5f3012(0x251)](this,arguments)[_0x5f3012(0x246)](_0x18de80=>{const _0x325bb2=_0x5f3012;return PlaywrightSessionDetails[_0x325bb2(0x25b)](_0x18de80,null),_0x18de80;});};}});};class O11yHelper{[a4_0x5cc1b0(0x259)]=null;[a4_0x5cc1b0(0x1d0)]=null;['enabled']=![];[a4_0x5cc1b0(0x1c4)]=![];constructor(_0x5c3003,_0xf33752){const _0x20669a=a4_0x5cc1b0,_0x4f03fb={'TbKMY':_0x20669a(0x1d3),'YhmXW':function(_0x32f9c3){return _0x32f9c3();},'xvgca':function(_0x1845a2,_0x1479e2){return _0x1845a2===_0x1479e2;},'OFFxX':_0x20669a(0x1bc),'kXygv':function(_0x1d49bd,_0x33259a){return _0x1d49bd(_0x33259a);}},_0x98297b=_0x4f03fb['TbKMY']['split']('|');let _0x1a7c79=0x0;while(!![]){switch(_0x98297b[_0x1a7c79++]){case'0':this[_0x20669a(0x1c4)]=_0xf33752[_0x20669a(0x1c4)];continue;case'1':this[_0x20669a(0x1b7)]=_0x4f03fb[_0x20669a(0x253)](shouldProcessEventForTesthub);continue;case'2':this[_0x20669a(0x275)]=_0x5c3003;continue;case'3':this[_0x20669a(0x1ab)]=new testOpsHelper[(_0x20669a(0x26a))]({'cwd':process[_0x20669a(0x212)]()},this[_0x20669a(0x20e)][_0x20669a(0x214)]);continue;case'4':this[_0x20669a(0x20e)]=_0x4f03fb['YhmXW'](getTestEnv);continue;case'5':this[_0x20669a(0x275)]&&_0x4f03fb[_0x20669a(0x25a)](this['driver'][_0x20669a(0x20a)][_0x20669a(0x255)],_0x4f03fb['OFFxX'])&&_0x4f03fb[_0x20669a(0x28d)](mockPWBrowserType,null);continue;}break;}}[a4_0x5cc1b0(0x1be)](){const _0x36e340=a4_0x5cc1b0;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process['removeAllListeners']('bs:addLog:'+process['pid']),process['on'](_0x36e340(0x252)+process['pid'],this[_0x36e340(0x279)]['bind'](this));}async['stop'](){const _0x58ca5b=a4_0x5cc1b0;await RequestQueueHandler[_0x58ca5b(0x23f)]()['shutdown']();}async[a4_0x5cc1b0(0x279)](_0x5736fb){const _0x2e72f1=a4_0x5cc1b0,_0x2fcdac={'QNZuN':_0x2e72f1(0x216),'SjBXB':function(_0x362969,_0x3b1b35){return _0x362969(_0x3b1b35);}};try{this['currentHook']&&!this[_0x2e72f1(0x1d0)][_0x2e72f1(0x22a)]&&(_0x5736fb[_0x2e72f1(0x242)]=this[_0x2e72f1(0x1d0)][_0x2e72f1(0x257)]);!_0x5736fb[_0x2e72f1(0x242)]&&this[_0x2e72f1(0x259)]&&!this[_0x2e72f1(0x259)][_0x2e72f1(0x22a)]&&(_0x5736fb[_0x2e72f1(0x192)]=this['currentTest'][_0x2e72f1(0x1a3)]);if(_0x5736fb[_0x2e72f1(0x242)]||_0x5736fb[_0x2e72f1(0x192)]){const _0x311a8d={};_0x311a8d[_0x2e72f1(0x1c0)]=_0x2fcdac['QNZuN'],_0x311a8d[_0x2e72f1(0x1fe)]=[_0x5736fb],await SessionHandler[_0x2e72f1(0x223)](_0x311a8d);}}catch(_0x139e73){_0x2fcdac[_0x2e72f1(0x1cf)](debug,_0x2e72f1(0x21e)+_0x139e73);}}async[a4_0x5cc1b0(0x19c)](_0x882957){const _0x3bfc88=a4_0x5cc1b0,_0x1819bf={'GMLRm':_0x3bfc88(0x20b),'DjiCc':function(_0x16fdd2,_0x87d9c4){return _0x16fdd2(_0x87d9c4);}};if(!this[_0x3bfc88(0x1b7)])return;const _0x3af9dc=this['getCBTInfo'](this['driver']);try{const _0x36b1d4={};_0x36b1d4[_0x3bfc88(0x222)]=_0x882957,_0x36b1d4[_0x3bfc88(0x1d1)]=_0x3af9dc;const _0x1719a5=_0x36b1d4,_0x342732={};_0x342732[_0x3bfc88(0x1c0)]=_0x1819bf[_0x3bfc88(0x270)],_0x342732['test_run']=_0x1719a5,await SessionHandler[_0x3bfc88(0x223)](_0x342732);}catch(_0x823e49){_0x1819bf[_0x3bfc88(0x22d)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x823e49);}}['getCBTInfo'](_0x3c2254){const _0x567bcf=a4_0x5cc1b0,_0x1440cc={'AzmTj':function(_0x557375,_0x309667){return _0x557375(_0x309667);}};return _0x1440cc[_0x567bcf(0x1c7)](fetchPlatformDetails,_0x3c2254);}[a4_0x5cc1b0(0x1c5)]=_0xa407a0=>{const _0xfeead7=a4_0x5cc1b0,_0x27cd82={};_0x27cd82[_0xfeead7(0x1f2)]=_0xfeead7(0x1ea),_0x27cd82[_0xfeead7(0x232)]=_0xfeead7(0x281);const _0x464506=_0x27cd82;if(!_0xa407a0||!_0xa407a0['parent'])return;[_0x464506[_0xfeead7(0x1f2)],_0x464506['UpByg']][_0xfeead7(0x250)](_0x217a9a=>{const _0x4a9964=_0xfeead7,_0x354d73=_0xa407a0[_0x4a9964(0x194)][_0x217a9a];_0x354d73[_0x4a9964(0x250)](_0x24d474=>{const _0x4c4d44=_0x4a9964;_0x24d474[_0x4c4d44(0x257)]&&(_0x24d474[_0x4c4d44(0x257)]=null);});});};[a4_0x5cc1b0(0x1d9)](_0x9238f5){const _0x31373c=a4_0x5cc1b0,_0x2ca4d5={'JSMES':_0x31373c(0x1b2),'oAdoc':function(_0x2beea5){return _0x2beea5();},'FnzdO':function(_0x1834fc,_0x3edce1){return _0x1834fc===_0x3edce1;},'xONmH':_0x31373c(0x281),'kylXD':_0x31373c(0x236),'goXxL':_0x31373c(0x248),'eAErL':_0x31373c(0x1ea)};if(!_0x9238f5||!_0x9238f5[_0x31373c(0x194)])return;[_0x2ca4d5[_0x31373c(0x267)],_0x2ca4d5[_0x31373c(0x196)],_0x2ca4d5[_0x31373c(0x202)],_0x2ca4d5[_0x31373c(0x22e)]][_0x31373c(0x250)](_0x45e1c1=>{const _0x252b2a=_0x31373c,_0x382634={'DUAvP':_0x2ca4d5['JSMES'],'qBMLR':function(_0xd80200){const _0x435c91=a4_0x1cee;return _0x2ca4d5[_0x435c91(0x1f3)](_0xd80200);},'hzvhS':function(_0x41d524,_0x3597ab){const _0x1b2c4e=a4_0x1cee;return _0x2ca4d5[_0x1b2c4e(0x204)](_0x41d524,_0x3597ab);},'MzDtx':_0x2ca4d5[_0x252b2a(0x22e)],'ATIYj':function(_0x138520){const _0x101fe9=_0x252b2a;return _0x2ca4d5[_0x101fe9(0x1f3)](_0x138520);}},_0x27af59=_0x9238f5[_0x252b2a(0x194)][_0x45e1c1]||[];_0x27af59[_0x252b2a(0x250)](_0x40ff55=>{const _0x2ffb58=_0x252b2a;if(_0x40ff55['title'][_0x2ffb58(0x1de)](_0x382634[_0x2ffb58(0x1bf)]))return;if(!_0x40ff55['hookAnalyticsId'])_0x40ff55['hookAnalyticsId']=_0x382634['qBMLR'](uuidv4);else _0x40ff55['markedStatus']&&_0x382634[_0x2ffb58(0x20f)](_0x45e1c1,_0x382634[_0x2ffb58(0x26d)])&&(_0x40ff55[_0x2ffb58(0x257)]=_0x382634[_0x2ffb58(0x28c)](uuidv4),delete _0x40ff55[_0x2ffb58(0x22a)]);});}),this[_0x31373c(0x1d9)](_0x9238f5['parent']);}[a4_0x5cc1b0(0x22c)](_0x39984f){const _0x469273=a4_0x5cc1b0,_0x303456={};_0x303456[_0x469273(0x265)]=_0x469273(0x236),_0x303456[_0x469273(0x28b)]=_0x469273(0x248),_0x303456['DcGwc']=_0x469273(0x1ea),_0x303456['SCABk']=_0x469273(0x281);const _0x3d19b3=_0x303456;if(!_0x39984f||!_0x39984f[_0x469273(0x194)])return[];const _0x4867ad=[];return[_0x3d19b3[_0x469273(0x265)],_0x3d19b3[_0x469273(0x28b)],_0x3d19b3[_0x469273(0x23d)],_0x3d19b3[_0x469273(0x1b8)]][_0x469273(0x250)](_0x212b1e=>{const _0x442376=_0x469273,_0x187890=_0x39984f[_0x442376(0x194)][_0x212b1e]||[];_0x187890[_0x442376(0x250)](_0x3d1dc5=>{const _0x493ecb=_0x442376;_0x3d1dc5['hookAnalyticsId']&&_0x4867ad[_0x493ecb(0x21f)](_0x3d1dc5[_0x493ecb(0x257)]);});}),[][_0x469273(0x1c6)](_0x4867ad,this[_0x469273(0x22c)](_0x39984f[_0x469273(0x194)]));}[a4_0x5cc1b0(0x19f)](_0x415269){const _0x17f210=a4_0x5cc1b0,_0x218420=/^"(?<hook>.*)" hook:.*$/,_0x5fdcc0=_0x415269[_0x17f210(0x193)],_0x40e9e3=_0x5fdcc0['match'](_0x218420);if(_0x40e9e3&&_0x40e9e3[_0x17f210(0x24e)])return _0x40e9e3[_0x17f210(0x24e)][_0x17f210(0x22f)][_0x17f210(0x1f4)]()[_0x17f210(0x23e)]('\x20','_');return null;}['findGitConfig'](_0x2ae5e0){const _0x1abae6=a4_0x5cc1b0,_0x383ec7={};_0x383ec7[_0x1abae6(0x224)]=function(_0x249f54,_0xa03f81){return _0x249f54===_0xa03f81;},_0x383ec7[_0x1abae6(0x203)]=function(_0xe5b9c6,_0x54c658){return _0xe5b9c6===_0x54c658;},_0x383ec7[_0x1abae6(0x1ca)]=function(_0x4cc666,_0x361b4e){return _0x4cc666===_0x361b4e;},_0x383ec7[_0x1abae6(0x285)]=function(_0xe9559c,_0x375093){return _0xe9559c===_0x375093;},_0x383ec7[_0x1abae6(0x19a)]='.git',_0x383ec7[_0x1abae6(0x287)]=_0x1abae6(0x1e7);const _0x450218=_0x383ec7,_0x13fd32=path[_0x1abae6(0x1b1)];if(_0x450218[_0x1abae6(0x224)](_0x2ae5e0,null)||_0x450218[_0x1abae6(0x203)](_0x2ae5e0,'')||_0x450218[_0x1abae6(0x1ca)](_0x2ae5e0,_0x13fd32)||_0x450218['LGnhc'](_0x2ae5e0,path[_0x1abae6(0x220)](_0x2ae5e0)))return null;try{return fs[_0x1abae6(0x190)](path['join'](_0x2ae5e0,_0x450218[_0x1abae6(0x19a)],_0x450218[_0x1abae6(0x287)])),_0x2ae5e0;}catch(_0x5d7099){const _0x1b44b2=path[_0x1abae6(0x220)](_0x2ae5e0);return this[_0x1abae6(0x1e1)](_0x1b44b2);}}['getRootParentFile'](_0x5649d3){const _0x9aabe5=a4_0x5cc1b0,_0x2a659e={};_0x2a659e[_0x9aabe5(0x286)]=function(_0x3a0d0b,_0xa9c065){return _0x3a0d0b>_0xa9c065;};const _0x489dab=_0x2a659e;if(_0x5649d3['file'])return _0x5649d3[_0x9aabe5(0x260)];if(_0x5649d3[_0x9aabe5(0x18f)]){const _0xce3716=_0x5649d3[_0x9aabe5(0x18f)][_0x9aabe5(0x259)]?this[_0x9aabe5(0x1b5)](_0x5649d3[_0x9aabe5(0x18f)][_0x9aabe5(0x259)]):null;if(_0xce3716)return _0xce3716;}if(_0x5649d3['parent']){const _0x1a487d=this[_0x9aabe5(0x1b5)](_0x5649d3[_0x9aabe5(0x194)])||(_0x5649d3[_0x9aabe5(0x194)][_0x9aabe5(0x18f)]&&_0x5649d3[_0x9aabe5(0x194)]['ctx'][_0x9aabe5(0x259)]?this['getRootParentFile'](_0x5649d3['parent'][_0x9aabe5(0x18f)][_0x9aabe5(0x259)]):null);if(_0x1a487d)return _0x1a487d;_0x5649d3[_0x9aabe5(0x194)]['suites']&&_0x489dab['hIEuZ'](_0x5649d3[_0x9aabe5(0x194)][_0x9aabe5(0x205)][_0x9aabe5(0x1f5)],0x0)&&_0x5649d3[_0x9aabe5(0x194)][_0x9aabe5(0x205)]['forEach'](_0x2d8190=>{const _0x1ac68a=_0x9aabe5,_0x47a152=_0x2d8190[_0x1ac68a(0x18f)]?this['getRootParentFile'](_0x2d8190[_0x1ac68a(0x18f)]):null;if(_0x47a152)return _0x47a152;});}return null;}[a4_0x5cc1b0(0x24c)](_0x4f36c0){const _0x3f4f46=a4_0x5cc1b0,_0x3eabe0={};_0x3eabe0[_0x3f4f46(0x1e2)]=function(_0x4bcba8,_0x3414d1){return _0x4bcba8!==_0x3414d1;};const _0x25c11f=_0x3eabe0,_0x23e56a=[];if(_0x4f36c0&&_0x4f36c0[_0x3f4f46(0x194)]){let _0x8bbc56=_0x4f36c0[_0x3f4f46(0x194)];while(_0x8bbc56&&_0x25c11f[_0x3f4f46(0x1e2)](_0x8bbc56['title'],'')){_0x23e56a[_0x3f4f46(0x21f)](_0x8bbc56[_0x3f4f46(0x193)]),_0x8bbc56=_0x8bbc56[_0x3f4f46(0x194)];}}return _0x23e56a;}['captureEvent'](_0x1052a6,_0x32d1fb,_0x12c34b=undefined){const _0x16897e=a4_0x5cc1b0,_0x1a0d37={'QnuJv':function(_0x4e636a,_0x2e28c1){return _0x4e636a(_0x2e28c1);},'GLBiQ':function(_0x28a2bb){return _0x28a2bb();},'yFaEw':function(_0x27a4c5){return _0x27a4c5();},'GVmhQ':function(_0x5cd152){return _0x5cd152();},'mKeyY':function(_0x4febf0){return _0x4febf0();},'Zmkyk':function(_0x1411f5,_0x25896e){return _0x1411f5(_0x25896e);},'qxmEt':_0x16897e(0x20d),'PhfrL':_0x16897e(0x23b),'MtzOH':function(_0xda8b6a,_0x52414e){return _0xda8b6a!==_0x52414e;},'VrwXN':_0x16897e(0x1d5),'BbceW':_0x16897e(0x268),'nBwYE':_0x16897e(0x1bb),'HAwSG':_0x16897e(0x258),'bVGlN':_0x16897e(0x1f1),'OWduf':_0x16897e(0x262),'YNasl':function(_0x179f3e,_0x328da5){return _0x179f3e-_0x328da5;},'LWbDf':function(_0x1f4678,_0x3c1d97,_0xaa3e1f,_0x47896f,_0x452494){return _0x1f4678(_0x3c1d97,_0xaa3e1f,_0x47896f,_0x452494);},'GRFSN':function(_0x5a8866,_0x367cd6){return _0x5a8866!==_0x367cd6;},'KlhQC':_0x16897e(0x1d1),'TrCgP':_0x16897e(0x1ef),'ioIAk':'failure','QFfvT':_0x16897e(0x273),'sufnF':_0x16897e(0x209),'kipzq':_0x16897e(0x230),'edPvu':'expanded','yozlB':function(_0x4760b5,_0x320c17){return _0x4760b5===_0x320c17;},'mrbap':_0x16897e(0x1fb),'GzhFy':_0x16897e(0x1a1)};if(!this['enabled'])return;try{if(_0x32d1fb['fn']&&_0x32d1fb['fn'][_0x16897e(0x18e)]()[_0x16897e(0x1ba)](/browserstack internal helper hook/))return;const _0x1ee02d=_0x1a0d37['QnuJv'](parseEvent,_0x1052a6);if(!_0x1ee02d)return;if(_0x1ee02d[_0x16897e(0x256)]){this[_0x16897e(0x259)]=_0x32d1fb,this[_0x16897e(0x1d0)]=null;if(_0x1ee02d[_0x16897e(0x1aa)]||_0x1ee02d[_0x16897e(0x1f1)]){_0x32d1fb[_0x16897e(0x1ed)]=new Date(),_0x32d1fb['markedStatus']=![];if(!_0x32d1fb[_0x16897e(0x1a3)])_0x32d1fb[_0x16897e(0x1a3)]=_0x1a0d37['GLBiQ'](uuidv4);else _0x32d1fb[_0x16897e(0x22a)]&&(!_0x32d1fb[_0x16897e(0x1a6)]&&(_0x32d1fb['retryOf']=_0x32d1fb['testAnalyticsId']),_0x32d1fb['testAnalyticsId']=_0x1a0d37[_0x16897e(0x23c)](uuidv4));}}else{if(_0x1ee02d[_0x16897e(0x22f)]){this['currentHook']=_0x32d1fb;if(_0x1ee02d[_0x16897e(0x1aa)]){_0x32d1fb[_0x16897e(0x1ed)]=new Date(),_0x32d1fb[_0x16897e(0x22a)]=![];if(!_0x32d1fb[_0x16897e(0x257)])_0x32d1fb[_0x16897e(0x257)]=_0x1a0d37[_0x16897e(0x271)](uuidv4);else _0x32d1fb[_0x16897e(0x257)]&&_0x32d1fb[_0x16897e(0x22a)]&&(_0x32d1fb[_0x16897e(0x257)]=_0x1a0d37[_0x16897e(0x23a)](uuidv4));}}}if(_0x1ee02d[_0x16897e(0x1e0)]&&_0x32d1fb[_0x16897e(0x22a)])return;let _0x3aeb0f;try{_0x3aeb0f=this[_0x16897e(0x1b5)](_0x32d1fb);}catch(_0x2e7e76){logger[_0x16897e(0x1ff)](_0x16897e(0x261)+_0x2e7e76),_0x3aeb0f=null;}const _0x3e1414=_0x1a0d37['Zmkyk'](require,_0x1a0d37[_0x16897e(0x1b4)]);let _0x21c49c=[];_0x12c34b&&(_0x21c49c=[_0x12c34b,_0x1a0d37[_0x16897e(0x1af)]]);const _0x4dd603=_0x1a0d37['MtzOH'](_0x32d1fb[_0x16897e(0x18b)],undefined)?_0x3e1414[_0x16897e(0x1f9)](_0x32d1fb['errorsDetailed'][0x0]):_0x1a0d37[_0x16897e(0x27a)](_0x12c34b,undefined)?_0x12c34b[_0x16897e(0x18e)]():undefined,_0x3601a6=_0x3aeb0f?this[_0x16897e(0x1e1)](_0x3aeb0f):null,_0x7603f9=_0x3aeb0f?this['_paths'][_0x16897e(0x272)](this[_0x16897e(0x1b5)](_0x32d1fb)):_0x1a0d37['VrwXN'];let _0x404a62=_0x1a0d37['BbceW'];const _0x35d4f5=!_0x1ee02d[_0x16897e(0x1aa)]?new Date()[_0x16897e(0x218)]():null;if(_0x1ee02d['finished'])_0x404a62=_0x12c34b?_0x1a0d37[_0x16897e(0x1eb)]:_0x1a0d37[_0x16897e(0x1a9)],_0x32d1fb[_0x16897e(0x22a)]=!![];else _0x1ee02d[_0x16897e(0x1f1)]&&(_0x404a62=_0x1a0d37['bVGlN'],_0x32d1fb[_0x16897e(0x22a)]=!![]);const _0x265b87={'framework':this[_0x16897e(0x1c4)],'uuid':_0x32d1fb[_0x16897e(0x1a3)]||_0x32d1fb['hookAnalyticsId'],'name':_0x32d1fb[_0x16897e(0x193)],'body':{'lang':_0x1a0d37[_0x16897e(0x1cb)],'code':_0x32d1fb[_0x16897e(0x278)][_0x16897e(0x18e)]()},'type':_0x32d1fb[_0x16897e(0x213)],'scope':_0x32d1fb[_0x16897e(0x282)](),'scopes':this[_0x16897e(0x24c)](_0x32d1fb),'file_name':_0x7603f9,'vc_filepath':_0x3601a6?path['relative'](_0x3601a6,_0x3aeb0f):null,'location':_0x7603f9,'result':_0x404a62,'failure_reason':_0x4dd603,'duration_in_ms':_0x32d1fb['duration']||(_0x1ee02d['finished']||_0x1ee02d[_0x16897e(0x1f1)])?_0x1a0d37['YNasl'](Date[_0x16897e(0x1a4)](),new Date(_0x32d1fb[_0x16897e(0x1ed)])[_0x16897e(0x1ec)]()):null,'started_at':new Date(_0x32d1fb[_0x16897e(0x1ed)])['toISOString'](),'finished_at':_0x35d4f5,'failure':testOpsHelper['failureData'][_0x16897e(0x251)](null,_0x21c49c),'failure_type':!_0x4dd603?null:testOpsHelper[_0x16897e(0x231)](_0x4dd603),'retry_of':_0x32d1fb[_0x16897e(0x1a6)]||null,'tags':_0x32d1fb[_0x16897e(0x241)]||[],'customRerunParam':{'rerun_name':_0x32d1fb['fullTitle']()}};_0x1a0d37[_0x16897e(0x221)](appendTesthubParams,_0x265b87,_0x1052a6,_0x32d1fb,FRAMEWORKS[_0x16897e(0x25f)]);if(_0x1ee02d['hook'])[_0x265b87[_0x16897e(0x1da)],_0x265b87[_0x16897e(0x255)]]=[this[_0x16897e(0x19f)](_0x32d1fb),_0x32d1fb[_0x16897e(0x18f)][_0x16897e(0x256)][_0x16897e(0x193)]],_0x1ee02d[_0x16897e(0x1e0)]?_0x1a0d37[_0x16897e(0x1a5)](_0x265b87[_0x16897e(0x266)],_0x1a0d37[_0x16897e(0x1eb)])&&(_0x265b87[_0x16897e(0x266)]=_0x1a0d37['HAwSG']):_0x265b87[_0x16897e(0x278)]={};else _0x1ee02d['test']&&(this[_0x16897e(0x1d9)](_0x32d1fb),_0x1ee02d['skipped']&&this[_0x16897e(0x1c5)](_0x32d1fb),(_0x1ee02d[_0x16897e(0x1e0)]||_0x1ee02d[_0x16897e(0x1f1)])&&(_0x265b87[_0x16897e(0x27b)]=this[_0x16897e(0x22c)](_0x32d1fb)));this[_0x16897e(0x275)]&&(_0x1ee02d['started']||_0x1ee02d['skipped'])&&(_0x265b87[_0x1a0d37[_0x16897e(0x1a8)]]=this[_0x16897e(0x1b0)](this[_0x16897e(0x275)]));_0x1ee02d['test']&&_0x1ee02d['finished']&&_0x32d1fb[_0x16897e(0x1b3)]&&(_0x265b87[_0x1a0d37[_0x16897e(0x277)]]={'feature':{'name':_0x32d1fb[_0x16897e(0x194)][_0x16897e(0x1b6)][_0x16897e(0x255)],'path':_0x265b87[_0x16897e(0x237)],'description':_0x32d1fb[_0x16897e(0x194)][_0x16897e(0x1c2)]},'scenario':{'name':_0x32d1fb['title']},'steps':_0x32d1fb['bddSteps']});const _0x3afd74=_0x265b87[_0x1a0d37[_0x16897e(0x19e)]][0x0];_0x3afd74&&(_0x265b87[_0x1a0d37[_0x16897e(0x1c8)]]=_0x3afd74[_0x1a0d37[_0x16897e(0x1f7)]],_0x265b87[_0x1a0d37[_0x16897e(0x244)]]=_0x3afd74[_0x1a0d37[_0x16897e(0x239)]]);if(_0x32d1fb[_0x16897e(0x1b3)])for(const _0x517717 of _0x32d1fb[_0x16897e(0x1b3)]){!_0x517717[_0x16897e(0x1a0)]&&(_0x517717[_0x16897e(0x1a0)]=new Date()['toISOString'](),_0x1a0d37[_0x16897e(0x27e)](_0x517717['result'],_0x1a0d37[_0x16897e(0x1d2)])&&(_0x3afd74?(_0x517717[_0x16897e(0x266)]=_0x1a0d37[_0x16897e(0x1eb)],_0x517717[_0x16897e(0x206)]=_0x3afd74[_0x1a0d37[_0x16897e(0x1f7)]][0x0]):_0x517717['result']=_0x1a0d37['HAwSG']));}const _0x2cd40e={};_0x2cd40e['event_type']=_0x1ee02d[_0x16897e(0x1f1)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x1052a6;const _0x5075fc=_0x2cd40e;return _0x1ee02d['hook']?_0x5075fc[_0x1a0d37[_0x16897e(0x19d)]]=_0x265b87:_0x5075fc[_0x1a0d37['GzhFy']]=_0x265b87,_0x5075fc;}catch(_0x5188a5){logger[_0x16897e(0x1ff)](_0x16897e(0x1c3)+_0x1052a6+_0x16897e(0x197)+_0x5188a5);}}async[a4_0x5cc1b0(0x200)](_0x41148b,_0x1a904e){const _0x3ad3f6=a4_0x5cc1b0;if(!this['enabled']||!_0x1a904e||!_0x41148b)return![];try{return await SessionHandler[_0x3ad3f6(0x223)](_0x1a904e);}catch(_0xac381){logger['debug'](_0x3ad3f6(0x283)+_0x41148b+_0x3ad3f6(0x197)+_0xac381);}}[a4_0x5cc1b0(0x1a7)](_0x33e7a6){const _0xf2716a=a4_0x5cc1b0,_0x3f0f3c={};_0x3f0f3c[_0xf2716a(0x263)]=_0xf2716a(0x268);const _0x23450c=_0x3f0f3c;return{'id':_0x33e7a6[_0xf2716a(0x1e9)],'text':_0x33e7a6[_0xf2716a(0x1cc)],'keyword':_0x33e7a6[_0xf2716a(0x1ad)],'started_at':_0x33e7a6[_0xf2716a(0x1ed)][_0xf2716a(0x218)](),'result':_0x23450c['tprjH']};}['bddStepStart'](_0x246190){const _0x5e5c63=a4_0x5cc1b0,_0x24e3c9={'yFxVT':function(_0x12046e){return _0x12046e();}};!this[_0x5e5c63(0x259)][_0x5e5c63(0x1b3)]&&(this['currentTest'][_0x5e5c63(0x1b3)]=[]),!_0x246190[_0x5e5c63(0x1e9)]&&(_0x246190[_0x5e5c63(0x1e9)]=_0x24e3c9[_0x5e5c63(0x201)](uuidv4),_0x246190[_0x5e5c63(0x1ed)]=new Date(),this['currentTest']['bddSteps'][_0x5e5c63(0x21f)](this[_0x5e5c63(0x1a7)](_0x246190)));}[a4_0x5cc1b0(0x26e)](_0x499425){const _0x3f9ef9=a4_0x5cc1b0,_0xffa5cc={'lchsb':function(_0x125ed7,_0x3cafc0){return _0x125ed7(_0x3cafc0);},'NqpPu':_0x3f9ef9(0x288),'eAIwZ':_0x3f9ef9(0x268),'TKssK':'passed','jZGjs':function(_0x1468e1,_0xf5e640){return _0x1468e1-_0xf5e640;}};let _0x1a2e6a=this[_0x3f9ef9(0x259)][_0x3f9ef9(0x1b3)][_0x3f9ef9(0x198)](_0x32507f=>_0x32507f['id']===_0x499425[_0x3f9ef9(0x1e9)]);_0xffa5cc[_0x3f9ef9(0x243)](isUndefined,_0x1a2e6a)&&(_0x1a2e6a=this['initializeBddStep'](_0x499425)),_0x1a2e6a[_0x3f9ef9(0x266)]=[_0xffa5cc[_0x3f9ef9(0x191)],_0xffa5cc[_0x3f9ef9(0x1dd)]][_0x3f9ef9(0x1de)](_0x499425[_0x3f9ef9(0x1ce)])?_0xffa5cc[_0x3f9ef9(0x1c1)]:_0x499425[_0x3f9ef9(0x1ce)],_0x1a2e6a['finished_at']=new Date()[_0x3f9ef9(0x218)](),_0x1a2e6a['duration']=_0xffa5cc[_0x3f9ef9(0x225)](Date['now'](),_0x499425['startedAt'][_0x3f9ef9(0x1ec)]()),_0x1a2e6a[_0x3f9ef9(0x206)]=_0x499425[_0x3f9ef9(0x23b)]?_0x499425[_0x3f9ef9(0x23b)][_0x3f9ef9(0x1e6)]:null;}}const a4_0x203fa2={};a4_0x203fa2[a4_0x5cc1b0(0x249)]=O11yHelper,a4_0x203fa2['STATE_PASSED']=STATE_PASSED,a4_0x203fa2[a4_0x5cc1b0(0x27d)]=STATE_FAILED,a4_0x203fa2[a4_0x5cc1b0(0x195)]=TEST_EVENTS,module[a4_0x5cc1b0(0x233)]=a4_0x203fa2;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a5_0x241d(_0x4f336a,_0x8fdf43){const _0x55b41e=a5_0x55b4();return a5_0x241d=function(_0x241d97,_0x32aecd){_0x241d97=_0x241d97-0xec;let _0x45d46b=_0x55b41e[_0x241d97];return _0x45d46b;},a5_0x241d(_0x4f336a,_0x8fdf43);}const a5_0xf86636=a5_0x241d;function a5_0x55b4(){const _0x24d3a7=['SDK_CLEANUP','skipSessionStatus','config','KlXKb','EVENTS','441448wLpxXB','MJxQW','bold','../../helpers/utilities','nQotq','stepsUnknown','TxbzJ','mDoFV','getTCGConfigFilePaths','GWttH','getHubUrl','6192500fozQlV','scenarios','pucAi','env','../utils/constants','getUserWorkerCount','argv','removeDir','../../helpers/performance/constants','wjVDx','../../helpers/BrowserStackSetup','\x20passed','ZFslY','stepsFailed','winstonLogger','useW3C','stepsPassed','isUndefined','red','cucumber-js','3033597MbTaWq','\x20steps','exports','jOTVl','parallelsPerPlatform','testObservability','rmdirSync','unlinkSync','rllso','join','../test-runner','chalk','fngDg','testContextOptions','3BsSVJB','createDir','then','cEsHi','cvjTz','cleGf','parseFormatters','format','CUCUMBER','stop','length','yellow','1829088WVPpwZ','tqhBn','scenariosFailed','start','true','initialize','stepsAmbiguous','../../helpers/helper','turboScaleUrl','\x20pending','proxySettings','../../helpers/logger','DHOmB','cyan','AHMAX','debug','bgWhite','accessibilityOptions','BROWSERSTACK_TEST_OBSERVABILITY_YML','FRAMEWORKS','xFsoN','4620690iizklN','skipSessionName','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','stepsUndefined','finalExecution','794498SuIXzZ','\x20ambiguous','printBuildLink','\x20skipped','finally','log','getPlatformName','error\x20removing\x20tcg\x20config\x20file','10223120aabsfv','cwd','mDtye','handleApp','launchBuild','SDK_SETUP','prepareCapabilities','\x20failed','end','green','Generating\x20consolidated\x20report...','wplkV','UMgrk','QIDjh','isBrowserstackInfra','push','path','processSuccess','../../helpers/testhub/testhubHandler','logLevel','stringify','pWKbG'];a5_0x55b4=function(){return _0x24d3a7;};return a5_0x55b4();}(function(_0x514ded,_0x521366){const _0x4b0e02=a5_0x241d,_0x233482=_0x514ded();while(!![]){try{const _0x1ca87c=-parseInt(_0x4b0e02(0x14b))/0x1*(-parseInt(_0x4b0e02(0xfb))/0x2)+parseInt(_0x4b0e02(0x157))/0x3+parseInt(_0x4b0e02(0x11e))/0x4+-parseInt(_0x4b0e02(0x129))/0x5+-parseInt(_0x4b0e02(0xf6))/0x6+-parseInt(_0x4b0e02(0x13d))/0x7+parseInt(_0x4b0e02(0x103))/0x8;if(_0x1ca87c===_0x521366)break;else _0x233482['push'](_0x233482['shift']());}catch(_0x5513cc){_0x233482['push'](_0x233482['shift']());}}}(a5_0x55b4,0xb68bd));const fs=require('fs'),path=require(a5_0xf86636(0x113)),util=require('util'),logger=require(a5_0xf86636(0xec))[a5_0xf86636(0x137)],{default:BrowserStackSetup}=require(a5_0xf86636(0x133)),helper=require(a5_0xf86636(0x15e)),utilities=require(a5_0xf86636(0x121)),constants=require(a5_0xf86636(0x12d)),{parallelCucumberRun}=require(a5_0xf86636(0x147)),TestHubHandler=require(a5_0xf86636(0x115)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0xf86636(0x148)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0xf86636(0x131))[a5_0xf86636(0x11d)];function printCucumberStats(_0x3b0052){const _0x4c6580=a5_0xf86636,_0x1d7cae={};_0x1d7cae[_0x4c6580(0xef)]=function(_0x5613cd,_0x45215a){return _0x5613cd>_0x45215a;},_0x1d7cae[_0x4c6580(0xf5)]=function(_0x14b72a,_0x47f51a){return _0x14b72a-_0x47f51a;},_0x1d7cae[_0x4c6580(0x14e)]=function(_0x89221b,_0x4462ac){return _0x89221b-_0x4462ac;},_0x1d7cae[_0x4c6580(0x150)]=function(_0x33ac5f,_0x3ad74f){return _0x33ac5f>_0x3ad74f;},_0x1d7cae['cvjTz']=function(_0x139dbd,_0x466a4d){return _0x139dbd>_0x466a4d;},_0x1d7cae[_0x4c6580(0x10e)]=function(_0x5122b5,_0x1f1089){return _0x5122b5>_0x1f1089;},_0x1d7cae['tqhBn']=function(_0x2084ec,_0x238f31){return _0x2084ec>_0x238f31;},_0x1d7cae['DHOmB']=function(_0x311147,_0xf66632){return _0x311147>_0xf66632;},_0x1d7cae[_0x4c6580(0x10f)]=function(_0x32a277,_0x511ec1){return _0x32a277+_0x511ec1;},_0x1d7cae[_0x4c6580(0x124)]=function(_0x17200,_0x4c0f9b){return _0x17200+_0x4c0f9b;},_0x1d7cae[_0x4c6580(0x118)]=function(_0x4bccab,_0x5e8801){return _0x4bccab+_0x5e8801;},_0x1d7cae[_0x4c6580(0x127)]=function(_0x57bf9c,_0x7d95a6){return _0x57bf9c+_0x7d95a6;},_0x1d7cae[_0x4c6580(0x11c)]=function(_0x372484,_0x586285){return _0x372484+_0x586285;},_0x1d7cae[_0x4c6580(0x105)]=function(_0x13ea00,_0x1f585f){return _0x13ea00===_0x1f585f;},_0x1d7cae[_0x4c6580(0x145)]='****\x20RESULTS\x20****';const _0x163b27=_0x1d7cae;let _0x724e57=0x0;if(_0x163b27[_0x4c6580(0x105)](_0x3b0052['length'],0x0))return _0x724e57;return console[_0x4c6580(0x100)](chalk[_0x4c6580(0x120)][_0x4c6580(0xf1)](_0x163b27['rllso'])),_0x3b0052['forEach'](_0x2f6686=>{const _0x2e16e3=_0x4c6580,_0x3a859d=_0x2f6686[0x0],_0x326e68=_0x2f6686[0x1];console[_0x2e16e3(0x100)]('\x0a'+chalk[_0x2e16e3(0x120)][_0x2e16e3(0x156)](''+helper[_0x2e16e3(0x101)](_0x3a859d)));const _0x3cfc45=_0x326e68[_0x2e16e3(0x12a)],_0x4486cc=_0x326e68['steps'],_0x581155=_0x326e68[_0x2e16e3(0x159)],_0x3f457d=_0x326e68[_0x2e16e3(0x136)],_0x4cc67d=_0x326e68[_0x2e16e3(0x139)],_0xc9d2e=_0x326e68['stepsSkipped'],_0x4ccf95=_0x326e68['stepsPending'],_0x350883=_0x326e68[_0x2e16e3(0xf9)],_0xf7c8de=_0x326e68[_0x2e16e3(0x123)],_0x1b00f3=_0x326e68[_0x2e16e3(0x15d)],_0x34a669=_0x326e68[_0x2e16e3(0x114)];let _0x3dc55c=_0x3cfc45+'\x20scenarios';const _0xbd1575=_0x163b27[_0x2e16e3(0xef)](_0x163b27[_0x2e16e3(0xf5)](_0x3cfc45,_0x581155),0x0)?_0x163b27[_0x2e16e3(0x14e)](_0x3cfc45,_0x581155):0x0;if(_0x163b27[_0x2e16e3(0x150)](_0x581155,0x0)&&_0x163b27[_0x2e16e3(0xef)](_0xbd1575,0x0))_0x3dc55c+='\x20('+chalk['bold'][_0x2e16e3(0x13b)](_0x581155+'\x20failed')+',\x20'+chalk[_0x2e16e3(0x120)][_0x2e16e3(0x10c)](_0xbd1575+'\x20passed')+')';else(_0x163b27['cvjTz'](_0x581155,0x0)||_0x163b27[_0x2e16e3(0x14f)](_0xbd1575,0x0))&&(_0x3dc55c+=_0x163b27[_0x2e16e3(0x14f)](_0x581155,0x0)?'\x20('+chalk[_0x2e16e3(0x120)][_0x2e16e3(0x13b)](_0x581155+_0x2e16e3(0x10a))+')':'\x20('+chalk[_0x2e16e3(0x120)][_0x2e16e3(0x10c)](_0xbd1575+_0x2e16e3(0x134))+')');const _0x16679d=_0x4486cc+_0x2e16e3(0x13e),_0x27caa1=[];_0x163b27[_0x2e16e3(0x14f)](_0x1b00f3,0x0)&&_0x27caa1[_0x2e16e3(0x112)](''+chalk[_0x2e16e3(0x120)][_0x2e16e3(0x13b)](_0x1b00f3+_0x2e16e3(0xfc)));_0x163b27[_0x2e16e3(0x10e)](_0x3f457d,0x0)&&_0x27caa1[_0x2e16e3(0x112)](''+chalk['bold'][_0x2e16e3(0x13b)](_0x3f457d+_0x2e16e3(0x10a)));_0x163b27[_0x2e16e3(0x158)](_0x4cc67d,0x0)&&_0x27caa1[_0x2e16e3(0x112)](''+chalk['bold']['green'](_0x4cc67d+_0x2e16e3(0x134)));_0x163b27[_0x2e16e3(0xed)](_0x4ccf95,0x0)&&_0x27caa1[_0x2e16e3(0x112)](''+chalk['bold'][_0x2e16e3(0x156)](_0x4ccf95+_0x2e16e3(0x160)));_0x163b27[_0x2e16e3(0xef)](_0xc9d2e,0x0)&&_0x27caa1[_0x2e16e3(0x112)](''+chalk[_0x2e16e3(0x120)][_0x2e16e3(0xee)](_0xc9d2e+_0x2e16e3(0xfe)));_0x163b27['tqhBn'](_0x350883,0x0)&&_0x27caa1['push'](''+chalk['bold'][_0x2e16e3(0x156)](_0x350883+'\x20undefined'));_0x163b27[_0x2e16e3(0x14f)](_0xf7c8de,0x0)&&_0x27caa1[_0x2e16e3(0x112)](''+chalk['bold']['yellow'](_0xf7c8de+'\x20skipped'));const _0x468392=_0x163b27['UMgrk'](_0x163b27[_0x2e16e3(0x124)](_0x163b27[_0x2e16e3(0x10f)](_0x16679d,'('),_0x27caa1[_0x2e16e3(0x146)](',\x20')),')');console[_0x2e16e3(0x100)](_0x163b27['pWKbG'](_0x163b27[_0x2e16e3(0x127)](_0x163b27[_0x2e16e3(0x127)](_0x163b27['KlXKb']('\x0a',_0x3dc55c),'\x0a'),_0x468392),'\x0a')),_0x163b27['mDtye'](_0x34a669,![])&&(_0x724e57=0x1);}),_0x724e57;}async function run(_0x581c76,_0x5ee0f4){const _0x3ca791=a5_0xf86636,_0x23a259={'eapYa':function(_0x10adc3,_0x3cd334){return _0x10adc3(_0x3cd334);},'fngDg':function(_0x58d4f6,_0x46d5d7){return _0x58d4f6>_0x46d5d7;},'mDoFV':_0x3ca791(0x10d),'QIDjh':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','LHECg':'cucumber','mVvnS':_0x3ca791(0x102),'nQotq':_0x3ca791(0x13c),'oaxcO':'tmp','mfMiP':function(_0x2267a3,_0x5c89e5){return _0x2267a3>_0x5c89e5;},'ZFslY':function(_0x49517d,_0x5edd25){return _0x49517d-_0x5edd25;},'jOTVl':function(_0x5287e9,_0x19da7d){return _0x5287e9>=_0x19da7d;},'MJxQW':function(_0x414e17,_0x3d3d46){return _0x414e17!=_0x3d3d46;},'wjVDx':_0x3ca791(0x15b),'pucAi':function(_0x373c6e,_0x51c49f,_0x3e4453,_0x9d2d1a,_0x2edfda,_0x3460ef){return _0x373c6e(_0x51c49f,_0x3e4453,_0x9d2d1a,_0x2edfda,_0x3460ef);}},_0x4cd21a=new BrowserStackSetup(_0x581c76,_0x23a259[_0x3ca791(0x122)]);await _0x4cd21a[_0x3ca791(0x15c)]();!helper[_0x3ca791(0x111)]()&&await _0x4cd21a['setupTCGAuth']();await helper[_0x3ca791(0x106)](_0x4cd21a[_0x3ca791(0x11b)]);const _0x3b5f07=helper[_0x3ca791(0x138)](_0x4cd21a['config']),_0x15cca7=helper[_0x3ca791(0x109)](_0x4cd21a[_0x3ca791(0x11b)],_0x3b5f07,constants[_0x3ca791(0xf4)][_0x3ca791(0x153)]);if(!_0x4cd21a[_0x3ca791(0x11b)])return;const _0x205dba=_0x4cd21a['config'][_0x3ca791(0x141)]||helper[_0x3ca791(0x12e)](_0x581c76,_0x5ee0f4,_0x4cd21a[_0x3ca791(0x11b)],constants['FRAMEWORKS'][_0x3ca791(0x153)])||0x1,_0x45b322={'server':helper[_0x3ca791(0x128)](_0x4cd21a[_0x3ca791(0x11b)]),'proxySettings':_0x4cd21a[_0x3ca791(0x11b)][_0x3ca791(0x161)],'maxWorkers':_0x205dba,'browserStackLogLevel':_0x4cd21a[_0x3ca791(0x11b)][_0x3ca791(0x116)],'skipSessionName':_0x4cd21a[_0x3ca791(0x11b)][_0x3ca791(0x14a)][_0x3ca791(0xf7)],'skipSessionStatus':_0x4cd21a[_0x3ca791(0x11b)]['testContextOptions'][_0x3ca791(0x11a)],'turboScaleUrl':_0x4cd21a[_0x3ca791(0x11b)][_0x3ca791(0x15f)]},_0x5e9d2f=process[_0x3ca791(0x12f)],[_0x2679c2,_0x592b11]=helper[_0x3ca791(0x151)](_0x5e9d2f),_0x71e32b=path[_0x3ca791(0x146)](process[_0x3ca791(0x104)](),_0x23a259['oaxcO']);if(_0x23a259['mfMiP'](_0x592b11[_0x3ca791(0x155)],0x0)){helper[_0x3ca791(0x14c)](_0x71e32b);for(let _0x5180d2=_0x23a259[_0x3ca791(0x135)](_0x2679c2['length'],0x1);_0x23a259[_0x3ca791(0x140)](_0x5180d2,0x0);_0x5180d2--){_0x5e9d2f['splice'](_0x2679c2[_0x5180d2],0x2);}}!helper[_0x3ca791(0x13a)](_0x4cd21a[_0x3ca791(0x11b)][_0x3ca791(0xf2)])&&(process[_0x3ca791(0x12c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x3ca791(0x117)](_0x4cd21a['config'][_0x3ca791(0xf2)]));_0x23a259[_0x3ca791(0x11f)](_0x4cd21a[_0x3ca791(0x11b)]['testObservability'],null)?process[_0x3ca791(0x12c)][_0x3ca791(0xf3)]=_0x4cd21a[_0x3ca791(0x11b)][_0x3ca791(0x142)]:process[_0x3ca791(0x12c)][_0x3ca791(0xf3)]=_0x23a259[_0x3ca791(0x132)];const _0x472788=await TestHubHandler[_0x3ca791(0x107)](constants['FRAMEWORKS'][_0x3ca791(0x153)],_0x4cd21a);PerformanceTester[_0x3ca791(0x10b)](PerformanceEvents[_0x3ca791(0x108)]);let _0x11ba9a;_0x23a259[_0x3ca791(0x12b)](parallelCucumberRun,_0x15cca7,_0x45b322,_0x4cd21a[_0x3ca791(0x11b)],_0x5e9d2f,_0x592b11)[_0x3ca791(0x14d)](async _0x374dc2=>{const _0xff48d4=_0x3ca791;PerformanceTester[_0xff48d4(0x15a)](PerformanceEvents[_0xff48d4(0x119)]),_0x11ba9a=_0x374dc2;const _0x3d9532=_0x23a259['eapYa'](printCucumberStats,_0x374dc2);process['exitCode']=_0x3d9532,_0x23a259[_0xff48d4(0x149)](_0x592b11[_0xff48d4(0x155)],0x0)&&(logger[_0xff48d4(0xf0)](_0x23a259[_0xff48d4(0x125)]),helper['mergeOutputFiles'](_0x71e32b,_0x592b11),logger[_0xff48d4(0xf0)](_0x23a259[_0xff48d4(0x110)]),helper[_0xff48d4(0x130)](_0x71e32b));})[_0x3ca791(0xff)](async()=>{const _0x4ba1de=_0x3ca791;PerformanceTester[_0x4ba1de(0x15a)](PerformanceEvents[_0x4ba1de(0x119)]),_0x4cd21a['errorMessage']=helper['getErrorMessageFromResults'](_0x11ba9a,_0x23a259['LHECg']),testOpsHelper[_0x4ba1de(0xfd)]();try{await TestHubHandler[_0x4ba1de(0x154)]();}catch(_0x55b1b7){logger[_0x4ba1de(0xf0)](_0x4ba1de(0xf8)+util[_0x4ba1de(0x152)](_0x55b1b7));}try{const {browserstackFolderPath:_0x1e6bb2,tcgConfigPath:_0x55dbef}=helper[_0x4ba1de(0x126)]();fs[_0x4ba1de(0x144)](_0x55dbef),fs[_0x4ba1de(0x143)](_0x1e6bb2);}catch(_0x5bb798){logger[_0x4ba1de(0xf0)](_0x23a259['mVvnS'],_0x5bb798);}await utilities[_0x4ba1de(0xfa)](_0x4cd21a);});}module[a5_0xf86636(0x13f)]=run;
2
+ 'use strict';const a5_0x1c1a59=a5_0x5e49;(function(_0xd838e5,_0x4bf48d){const _0x3f2201=a5_0x5e49,_0x23616e=_0xd838e5();while(!![]){try{const _0x5d1ba0=parseInt(_0x3f2201(0x1f7))/0x1*(-parseInt(_0x3f2201(0x1e3))/0x2)+parseInt(_0x3f2201(0x1d6))/0x3*(parseInt(_0x3f2201(0x181))/0x4)+-parseInt(_0x3f2201(0x1c3))/0x5+-parseInt(_0x3f2201(0x1ca))/0x6*(-parseInt(_0x3f2201(0x1a2))/0x7)+parseInt(_0x3f2201(0x184))/0x8+parseInt(_0x3f2201(0x1da))/0x9*(-parseInt(_0x3f2201(0x1f6))/0xa)+parseInt(_0x3f2201(0x1f0))/0xb;if(_0x5d1ba0===_0x4bf48d)break;else _0x23616e['push'](_0x23616e['shift']());}catch(_0x1d7f46){_0x23616e['push'](_0x23616e['shift']());}}}(a5_0x2871,0x7ae05));function a5_0x2871(){const _0x421660=['config','useW3C','Removing\x20tmp\x20directory\x20created\x20for\x20reports','gPhlt','chalk','FRAMEWORKS','ycTbJ','\x20failed','tPwfA','../../helpers/performance/constants','SDK_CLEANUP','bold','processSuccess','debug','4853300snokJA','cucumber-js','../../helpers/performance/performance-tester','testContextOptions','CUCUMBER','../../helpers/logger','join','2863470IDIerf','QEbew','getUserWorkerCount','stepsFailed','initialize','accessibilityOptions','PzQmL','exitCode','handleApp','stepsPending','length','\x20passed','484740hAotCK','cwd','ZBYSW','../../helpers/testhub/testhubHandler','5823smohXp','OsjVS','bgWhite','finally','\x20steps','getTCGConfigFilePaths','stepsSkipped','scenariosFailed','JOLby','1952788UNCodG','tmp','scenarios','IMfBl','createDir','error\x20removing\x20tcg\x20config\x20file','green','true','../test-runner','forEach','parseFormatters','\x20pending','parallelsPerPlatform','6940307Nrubyj','../../helpers/BrowserStackSetup','util','yMYqh','path','JpdRH','970eAuXbJ','1zsaWto','then','ExRnG','stringify','\x20ambiguous','QjsFA','\x20skipped','12CfgwdG','qtGLD','format','7361536UqCTCz','stepsPassed','BROWSERSTACK_TEST_OBSERVABILITY_YML','hGGon','xSacp','mergeOutputFiles','Jzwvt','SrnMQ','\x20scenarios','setupTCGAuth','GCRey','launchBuild','env','prepareCapabilities','isUndefined','../../helpers/test-observability/utils','unlinkSync','red','UrQCn','stepsAmbiguous','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getPlatformName','pyFDE','****\x20RESULTS\x20****','end','getErrorMessageFromResults','printBuildLink','../../helpers/utilities','rmdirSync','../../helpers/helper','7edwWPf','argv','stepsUndefined','start','pdNUU','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','yellow','iReKh','removeDir','log','cucumber','push','sSkhR','cyan','testObservability','hvICm','PdxYD','skipSessionStatus','cqepb'];a5_0x2871=function(){return _0x421660;};return a5_0x2871();}function a5_0x5e49(_0x4ca94b,_0x4d6764){const _0x2871ba=a5_0x2871();return a5_0x5e49=function(_0x5e49b3,_0x325919){_0x5e49b3=_0x5e49b3-0x17d;let _0x4b764f=_0x2871ba[_0x5e49b3];return _0x4b764f;},a5_0x5e49(_0x4ca94b,_0x4d6764);}const fs=require('fs'),path=require(a5_0x1c1a59(0x1f4)),util=require(a5_0x1c1a59(0x1f2)),logger=require(a5_0x1c1a59(0x1c8))['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x1c1a59(0x1f1)),helper=require(a5_0x1c1a59(0x1a1)),utilities=require(a5_0x1c1a59(0x19f)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x1c1a59(0x1eb)),TestHubHandler=require(a5_0x1c1a59(0x1d9)),testOpsHelper=require(a5_0x1c1a59(0x193)),chalk=require(a5_0x1c1a59(0x1b9)),PerformanceTester=require(a5_0x1c1a59(0x1c5)),PerformanceEvents=require(a5_0x1c1a59(0x1be))['EVENTS'];function printCucumberStats(_0x4e9a08){const _0x43cdea=a5_0x1c1a59,_0xc1b523={};_0xc1b523[_0x43cdea(0x1cb)]=function(_0x7c16d9,_0x21b656){return _0x7c16d9>_0x21b656;},_0xc1b523[_0x43cdea(0x1e2)]=function(_0xe73510,_0xa99ad9){return _0xe73510-_0xa99ad9;},_0xc1b523['yMYqh']=function(_0x1f852d,_0x5e255f){return _0x1f852d-_0x5e255f;},_0xc1b523[_0x43cdea(0x1a9)]=function(_0x131079,_0x15cef2){return _0x131079>_0x15cef2;},_0xc1b523['GCRey']=function(_0x11da7c,_0x4f0ed5){return _0x11da7c>_0x4f0ed5;},_0xc1b523[_0x43cdea(0x1f9)]=function(_0x5abc85,_0x2851b0){return _0x5abc85>_0x2851b0;},_0xc1b523[_0x43cdea(0x196)]=function(_0x301100,_0x5f48c8){return _0x301100>_0x5f48c8;},_0xc1b523['ycTbJ']=function(_0x44bbae,_0x4120be){return _0x44bbae>_0x4120be;},_0xc1b523[_0x43cdea(0x1f5)]=function(_0xff1b31,_0x4fbb6a){return _0xff1b31+_0x4fbb6a;},_0xc1b523[_0x43cdea(0x1e6)]=function(_0x3c406d,_0x4abaf2){return _0x3c406d+_0x4abaf2;},_0xc1b523[_0x43cdea(0x1db)]=function(_0x5e81d6,_0x1f6ea0){return _0x5e81d6+_0x1f6ea0;},_0xc1b523[_0x43cdea(0x1bd)]=function(_0x1e698b,_0x4e2b19){return _0x1e698b===_0x4e2b19;},_0xc1b523[_0x43cdea(0x182)]=function(_0x47ef56,_0x41f553){return _0x47ef56===_0x41f553;},_0xc1b523[_0x43cdea(0x17f)]=_0x43cdea(0x19b);const _0x2f7e91=_0xc1b523;let _0x366606=0x0;if(_0x2f7e91[_0x43cdea(0x182)](_0x4e9a08[_0x43cdea(0x1d4)],0x0))return _0x366606;return console['log'](chalk[_0x43cdea(0x1c0)][_0x43cdea(0x1dc)](_0x2f7e91[_0x43cdea(0x17f)])),_0x4e9a08[_0x43cdea(0x1ec)](_0x2327e0=>{const _0x41bf53=_0x43cdea,_0x35e919=_0x2327e0[0x0],_0x37d712=_0x2327e0[0x1];console['log']('\x0a'+chalk[_0x41bf53(0x1c0)]['yellow'](''+helper[_0x41bf53(0x199)](_0x35e919)));const _0x43eb6c=_0x37d712[_0x41bf53(0x1e5)],_0x435795=_0x37d712['steps'],_0xd5b929=_0x37d712[_0x41bf53(0x1e1)],_0x397fa9=_0x37d712[_0x41bf53(0x1cd)],_0x329e24=_0x37d712[_0x41bf53(0x185)],_0xa1123c=_0x37d712[_0x41bf53(0x1e0)],_0x4b3773=_0x37d712[_0x41bf53(0x1d3)],_0x476fad=_0x37d712[_0x41bf53(0x1a4)],_0x4da38d=_0x37d712['stepsUnknown'],_0x89fd98=_0x37d712[_0x41bf53(0x197)],_0x38aa6a=_0x37d712[_0x41bf53(0x1c1)];let _0x2c6aa5=_0x43eb6c+_0x41bf53(0x18c);const _0x41d200=_0x2f7e91['QEbew'](_0x2f7e91['JOLby'](_0x43eb6c,_0xd5b929),0x0)?_0x2f7e91[_0x41bf53(0x1f3)](_0x43eb6c,_0xd5b929):0x0;if(_0x2f7e91[_0x41bf53(0x1cb)](_0xd5b929,0x0)&&_0x2f7e91[_0x41bf53(0x1a9)](_0x41d200,0x0))_0x2c6aa5+='\x20('+chalk[_0x41bf53(0x1c0)][_0x41bf53(0x195)](_0xd5b929+_0x41bf53(0x1bc))+',\x20'+chalk[_0x41bf53(0x1c0)][_0x41bf53(0x1e9)](_0x41d200+'\x20passed')+')';else(_0x2f7e91[_0x41bf53(0x18e)](_0xd5b929,0x0)||_0x2f7e91[_0x41bf53(0x1a9)](_0x41d200,0x0))&&(_0x2c6aa5+=_0x2f7e91['ExRnG'](_0xd5b929,0x0)?'\x20('+chalk['bold'][_0x41bf53(0x195)](_0xd5b929+_0x41bf53(0x1bc))+')':'\x20('+chalk[_0x41bf53(0x1c0)][_0x41bf53(0x1e9)](_0x41d200+_0x41bf53(0x1d5))+')');const _0x3c3398=_0x435795+_0x41bf53(0x1de),_0xbf2bc3=[];_0x2f7e91['GCRey'](_0x89fd98,0x0)&&_0xbf2bc3[_0x41bf53(0x1ad)](''+chalk[_0x41bf53(0x1c0)]['red'](_0x89fd98+_0x41bf53(0x17e)));_0x2f7e91[_0x41bf53(0x18e)](_0x397fa9,0x0)&&_0xbf2bc3[_0x41bf53(0x1ad)](''+chalk[_0x41bf53(0x1c0)][_0x41bf53(0x195)](_0x397fa9+_0x41bf53(0x1bc)));_0x2f7e91[_0x41bf53(0x1f9)](_0x329e24,0x0)&&_0xbf2bc3[_0x41bf53(0x1ad)](''+chalk[_0x41bf53(0x1c0)][_0x41bf53(0x1e9)](_0x329e24+_0x41bf53(0x1d5)));_0x2f7e91['UrQCn'](_0x4b3773,0x0)&&_0xbf2bc3['push'](''+chalk[_0x41bf53(0x1c0)][_0x41bf53(0x1a8)](_0x4b3773+_0x41bf53(0x1ee)));_0x2f7e91[_0x41bf53(0x1f9)](_0xa1123c,0x0)&&_0xbf2bc3[_0x41bf53(0x1ad)](''+chalk['bold'][_0x41bf53(0x1af)](_0xa1123c+'\x20skipped'));_0x2f7e91[_0x41bf53(0x1bb)](_0x476fad,0x0)&&_0xbf2bc3[_0x41bf53(0x1ad)](''+chalk[_0x41bf53(0x1c0)][_0x41bf53(0x1a8)](_0x476fad+'\x20undefined'));_0x2f7e91[_0x41bf53(0x196)](_0x4da38d,0x0)&&_0xbf2bc3[_0x41bf53(0x1ad)](''+chalk[_0x41bf53(0x1c0)]['yellow'](_0x4da38d+_0x41bf53(0x180)));const _0x20f034=_0x2f7e91['JpdRH'](_0x2f7e91[_0x41bf53(0x1f5)](_0x2f7e91[_0x41bf53(0x1e6)](_0x3c3398,'('),_0xbf2bc3[_0x41bf53(0x1c9)](',\x20')),')');console[_0x41bf53(0x1ab)](_0x2f7e91[_0x41bf53(0x1f5)](_0x2f7e91[_0x41bf53(0x1f5)](_0x2f7e91[_0x41bf53(0x1db)](_0x2f7e91[_0x41bf53(0x1f5)]('\x0a',_0x2c6aa5),'\x0a'),_0x20f034),'\x0a')),_0x2f7e91['tPwfA'](_0x38aa6a,![])&&(_0x366606=0x1);}),_0x366606;}async function run(_0x21bd5e,_0x4f4dd0){const _0x50cc6b=a5_0x1c1a59,_0x2a8ad8={'Jzwvt':function(_0x16521b,_0x4ae42c){return _0x16521b(_0x4ae42c);},'SrnMQ':function(_0x49feca,_0x1f1fa0){return _0x49feca>_0x1f1fa0;},'pyFDE':'Generating\x20consolidated\x20report...','PzQmL':_0x50cc6b(0x1b7),'xSacp':_0x50cc6b(0x1ac),'cqepb':_0x50cc6b(0x1e8),'ZBYSW':_0x50cc6b(0x1c4),'hvICm':_0x50cc6b(0x1e4),'gPhlt':function(_0x17950d,_0x2d9431){return _0x17950d>_0x2d9431;},'PdxYD':function(_0x4dd7a2,_0xb189cc){return _0x4dd7a2-_0xb189cc;},'nzlKC':function(_0x3f305c,_0x1db9cd){return _0x3f305c>=_0x1db9cd;},'pdNUU':function(_0x2943d2,_0x3b68e8){return _0x2943d2!=_0x3b68e8;},'sSkhR':_0x50cc6b(0x1ea),'hGGon':function(_0x546f75,_0x1d1aab,_0x266627,_0xb7e28a,_0xfbac5a,_0x44cbc0){return _0x546f75(_0x1d1aab,_0x266627,_0xb7e28a,_0xfbac5a,_0x44cbc0);}},_0xc3dec2=new BrowserStackSetup(_0x21bd5e,_0x2a8ad8[_0x50cc6b(0x1d8)]);await _0xc3dec2[_0x50cc6b(0x1ce)]();!helper['isBrowserstackInfra']()&&await _0xc3dec2[_0x50cc6b(0x18d)]();await helper[_0x50cc6b(0x1d2)](_0xc3dec2['config']);const _0x4283fe=helper[_0x50cc6b(0x1b6)](_0xc3dec2[_0x50cc6b(0x1b5)]),_0x574000=helper[_0x50cc6b(0x191)](_0xc3dec2[_0x50cc6b(0x1b5)],_0x4283fe,constants[_0x50cc6b(0x1ba)][_0x50cc6b(0x1c7)]);if(!_0xc3dec2[_0x50cc6b(0x1b5)])return;const _0x46fccf=_0xc3dec2[_0x50cc6b(0x1b5)][_0x50cc6b(0x1ef)]||helper[_0x50cc6b(0x1cc)](_0x21bd5e,_0x4f4dd0,_0xc3dec2['config'],constants['FRAMEWORKS'][_0x50cc6b(0x1c7)])||0x1,_0x10a138={'server':helper['getHubUrl'](_0xc3dec2[_0x50cc6b(0x1b5)]),'proxySettings':_0xc3dec2[_0x50cc6b(0x1b5)]['proxySettings'],'maxWorkers':_0x46fccf,'browserStackLogLevel':_0xc3dec2['config']['logLevel'],'skipSessionName':_0xc3dec2[_0x50cc6b(0x1b5)][_0x50cc6b(0x1c6)]['skipSessionName'],'skipSessionStatus':_0xc3dec2['config']['testContextOptions'][_0x50cc6b(0x1b3)],'turboScaleUrl':_0xc3dec2[_0x50cc6b(0x1b5)]['turboScaleUrl']},_0x2bf019=process[_0x50cc6b(0x1a3)],[_0xe3791,_0x654b0a]=helper[_0x50cc6b(0x1ed)](_0x2bf019),_0x1e4d70=path[_0x50cc6b(0x1c9)](process[_0x50cc6b(0x1d7)](),_0x2a8ad8[_0x50cc6b(0x1b1)]);if(_0x2a8ad8[_0x50cc6b(0x1b8)](_0x654b0a['length'],0x0)){helper[_0x50cc6b(0x1e7)](_0x1e4d70);for(let _0x6c71c0=_0x2a8ad8[_0x50cc6b(0x1b2)](_0xe3791[_0x50cc6b(0x1d4)],0x1);_0x2a8ad8['nzlKC'](_0x6c71c0,0x0);_0x6c71c0--){_0x2bf019['splice'](_0xe3791[_0x6c71c0],0x2);}}!helper[_0x50cc6b(0x192)](_0xc3dec2[_0x50cc6b(0x1b5)]['accessibilityOptions'])&&(process[_0x50cc6b(0x190)][_0x50cc6b(0x198)]=JSON[_0x50cc6b(0x17d)](_0xc3dec2[_0x50cc6b(0x1b5)][_0x50cc6b(0x1cf)]));_0x2a8ad8[_0x50cc6b(0x1a6)](_0xc3dec2['config'][_0x50cc6b(0x1b0)],null)?process[_0x50cc6b(0x190)][_0x50cc6b(0x186)]=_0xc3dec2[_0x50cc6b(0x1b5)][_0x50cc6b(0x1b0)]:process[_0x50cc6b(0x190)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2a8ad8[_0x50cc6b(0x1ae)];const _0x3cadc0=await TestHubHandler[_0x50cc6b(0x18f)](constants[_0x50cc6b(0x1ba)][_0x50cc6b(0x1c7)],_0xc3dec2);PerformanceTester[_0x50cc6b(0x19c)](PerformanceEvents['SDK_SETUP']);let _0x403f83;_0x2a8ad8[_0x50cc6b(0x187)](parallelCucumberRun,_0x574000,_0x10a138,_0xc3dec2[_0x50cc6b(0x1b5)],_0x2bf019,_0x654b0a)[_0x50cc6b(0x1f8)](async _0x40ee65=>{const _0x7b9943=_0x50cc6b;PerformanceTester['start'](PerformanceEvents[_0x7b9943(0x1bf)]),_0x403f83=_0x40ee65;const _0x22335d=_0x2a8ad8[_0x7b9943(0x18a)](printCucumberStats,_0x40ee65);process[_0x7b9943(0x1d1)]=_0x22335d,_0x2a8ad8[_0x7b9943(0x18b)](_0x654b0a[_0x7b9943(0x1d4)],0x0)&&(logger[_0x7b9943(0x1c2)](_0x2a8ad8[_0x7b9943(0x19a)]),helper[_0x7b9943(0x189)](_0x1e4d70,_0x654b0a),logger[_0x7b9943(0x1c2)](_0x2a8ad8[_0x7b9943(0x1d0)]),helper[_0x7b9943(0x1aa)](_0x1e4d70));})[_0x50cc6b(0x1dd)](async()=>{const _0x2b0fc7=_0x50cc6b;PerformanceTester[_0x2b0fc7(0x1a5)](PerformanceEvents[_0x2b0fc7(0x1bf)]),_0xc3dec2['errorMessage']=helper[_0x2b0fc7(0x19d)](_0x403f83,_0x2a8ad8[_0x2b0fc7(0x188)]),testOpsHelper[_0x2b0fc7(0x19e)]();try{await TestHubHandler['stop']();}catch(_0x457bba){logger[_0x2b0fc7(0x1c2)](_0x2b0fc7(0x1a7)+util[_0x2b0fc7(0x183)](_0x457bba));}try{const {browserstackFolderPath:_0x24a0ad,tcgConfigPath:_0x3ed0a8}=helper[_0x2b0fc7(0x1df)]();fs[_0x2b0fc7(0x194)](_0x3ed0a8),fs[_0x2b0fc7(0x1a0)](_0x24a0ad);}catch(_0x289fd1){logger[_0x2b0fc7(0x1c2)](_0x2a8ad8[_0x2b0fc7(0x1b4)],_0x289fd1);}await utilities['finalExecution'](_0xc3dec2);});}module['exports']=run;