browserstack-node-sdk 1.55.3 → 1.55.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +3 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/stackFrameUtils.js +1 -0
  180. package/src/helpers/test-observability/constants.js +1 -1
  181. package/src/helpers/test-observability/error-handler.js +1 -1
  182. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  183. package/src/helpers/test-observability/sessionHandler.js +1 -1
  184. package/src/helpers/test-observability/utils.js +1 -1
  185. package/src/helpers/test-orchestration/constants.js +1 -1
  186. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  187. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  188. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  189. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  190. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  191. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  192. package/src/helpers/testhub/constants.js +1 -1
  193. package/src/helpers/testhub/testhubHandler.js +1 -1
  194. package/src/helpers/testhub/utils.js +1 -1
  195. package/src/helpers/timeoutPromise.js +1 -1
  196. package/src/helpers/utilities.js +1 -1
  197. package/src/helpers/w3cMapping.js +1 -1
  198. package/src/hubAllocationMethods.js +1 -1
  199. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x2aeb70=a1_0xf087;(function(_0x3e539a,_0x29509b){const _0x1f75a9=a1_0xf087,_0x6b56f=_0x3e539a();while(!![]){try{const _0x48125b=parseInt(_0x1f75a9(0x24a))/0x1+-parseInt(_0x1f75a9(0x279))/0x2*(-parseInt(_0x1f75a9(0x1d2))/0x3)+-parseInt(_0x1f75a9(0x217))/0x4+parseInt(_0x1f75a9(0x25a))/0x5+parseInt(_0x1f75a9(0x23a))/0x6*(-parseInt(_0x1f75a9(0x1ee))/0x7)+parseInt(_0x1f75a9(0x275))/0x8*(parseInt(_0x1f75a9(0x201))/0x9)+parseInt(_0x1f75a9(0x224))/0xa*(-parseInt(_0x1f75a9(0x23d))/0xb);if(_0x48125b===_0x29509b)break;else _0x6b56f['push'](_0x6b56f['shift']());}catch(_0x51adb2){_0x6b56f['push'](_0x6b56f['shift']());}}}(a1_0x5a36,0x929a9));function a1_0x5a36(){const _0x26c37c=['rGzmq','jmFLo','ENV_VAR','zLdVb','failed','debug','addRequestSpy','Failed\x20to\x20execute\x20_before:\x20','\x0aStack:\x20','a11y_core_config','xjomA','HOOK_RUN_FINISHED','pCFMm','before','qHiFW','TEST_SCREENSHOT','hook','VmmNC','uFhSC','skipSessionName','248VAloFO','BROWSERSTACK_TESTHUB_JWT','test-skipped','currentTest','106YNlIIg','event','string','commandsToWrap','testAnalyticsId','HOOK_RUN_STARTED','version','name','performScan','TEST_RUN_STARTED','SDK_TEST','__driver','nBHfU','INFO','jHzdH','../../helpers/globals.js','test-failed','args','oZyhP','reason','patchSaveScreenshot','RdKSy','../../helpers/logger','Playwright','iQexp','kfgan','includes','Screenshot\x20path\x20not\x20found','split','util','VaQPr','WebDriver','__skipSessionStatus','wjGWv','CQLwb','GET_RESULTS','readFileSync','domForge','hookType','measureWrapper','setSessionStatus','toISOString','BS_TESTOPS_ALLOW_SCREENSHOTS','SDK_POST_TEST','GAQOg','bYGDY','./o11yHelper','apply','setGlobal','MdclC','screenshotOutputFolder','PCfWg','codeceptjs','thTestRunUuid','pgFhu','Performing\x20scan\x20for\x20','SDK_HOOK','accessibilityPlatform','XQSWU','GFXss','Puppeteer','page','KCNLC','class','iRbbo','browser','hook-passed','pid','testFramework','started','end','nrkfY','constructor','filter','RcdNH','devtools://','action','bind','contexts','restore','--auto-open-devtools-for-tabs','xlWdq','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','slice','getSyncScript','bddStepStart','test','url','../../helpers/accessibility-automation/scripts','ssZpc','hJyKM','ErSah','../../helpers/testhub/constants.js','Element','FRAMEWORK_DETAILS','OCWWv','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','all','19347znTAHP','XVNGG','skipSessionStatus','jAYgf','BROWSERSTACK_TESTHUB_UUID','status','fireEvent','chromium','WKNSE','GwrGV','test-before','startsWith','../../helpers/performance/constants','passed','warn','SESSION_STATUS','fHAwW','PERFORM_SCAN','VmBQD','call','wkVSK','_setPage','NjWMS','wlODG','pages','forEach','afterTest','arguments','651DDUGLM','bddStep-before','bstackAllyScanning','setSessionName','bddStep','SYNC','JsOXj','initSaveScreenshot','format','after','executeScript','SDK_POST_INITIALIZE','base64','command','skipped','ziyRa','prototype','startMonitoring','TEST_LOG','333279ZWzrKp','TWWna','then','bddStepFinish','ueWYF','wWHTD','SAVE_RESULTS','config','Suite','env','ctgZH','overwriteCommand','saveScreenshot','bddStep-after','../../helpers/accessibility-automation/helper','ymGOF','parse','captureEvent','isArray','rvpsh','eGaIg','toString','627644gmdPLZ','captureError','togjT','getResults','enabled','SDK_PRE_TEST','cmfCb','stringify','_before','../../helpers/request-spy','../../helpers/test-observability/utils','MHXrv','helpers','111730exjNED','VwthA','titlePath','hook-failed','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','codeceptjs/lib/helper/Playwright.js','winstonLogger','__workerDetails','ONogk','wAJar','FEAFw','oVBhl','bs:addLog:','ctx','vkKuF','start','saveTestResults','SisdD','SESSION_NAME','Pciiq','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','getAccessibilityResults','50142Jxesol','XzKQB','dCJrx','319mKZxTc','AjkqM','CnBbX','stack','getAccessibilityResultsSummary','browserContext','browserStackExecuteDriver','browserstack_executor:\x20','gWTtB','title','BS_A11Y_JWT','../../helpers/performance/performance-tester','comment','262134UwAFCe','push','iWTXJ','./helper.js','ksfFy','XGqyi','add','cwFZT','../../helpers/helper','../../bin/playwright/sessionDetails','TEST_RUN_SKIPPED','TEST_RUN_FINISHED','thBuildUuid','dispatcher','AClkr','emit','533630URuEIK','lsOJQ','exports','PNGlT','ciYlW','container','step-comment'];a1_0x5a36=function(){return _0x26c37c;};return a1_0x5a36();}const fs=require('fs'),util=require(a1_0x2aeb70(0x296)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2aeb70(0x252)),logger=require(a1_0x2aeb70(0x28f))[a1_0x2aeb70(0x22a)],testOpsHelper=require(a1_0x2aeb70(0x221)),requestSpy=require(a1_0x2aeb70(0x220)),PlaywrightSessionDetails=require(a1_0x2aeb70(0x253)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x2aeb70(0x2a7)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2aeb70(0x20f)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x2aeb70(0x1c7)),PerformanceTester=require(a1_0x2aeb70(0x248)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x2aeb70(0x1de)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2aeb70(0x24d)),testHubConstants=require(a1_0x2aeb70(0x1cb)),globals=require(a1_0x2aeb70(0x288)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x2aeb70(0x1a3)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x2aeb70(0x1a3)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x2aeb70(0x1a3)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x2aeb70(0x1a3)),CodeceptPlaywright=requireModule(a1_0x2aeb70(0x229),a1_0x2aeb70(0x1a3)),playwrightMarkSessionStatus=(_0x55a04,_0x3ad385,_0x49cc2f)=>{const _0x7a3357=a1_0x2aeb70,_0x1eda90={'Pciiq':_0x7a3357(0x2a1),'ssZpc':function(_0x401fba,_0x5d2f5a){return _0x401fba(_0x5d2f5a);}},_0x31f12e={};_0x31f12e[_0x7a3357(0x1d7)]=_0x3ad385;const _0x3f11fa={};_0x3f11fa[_0x7a3357(0x1bb)]=_0x1eda90[_0x7a3357(0x237)],_0x3f11fa[_0x7a3357(0x1ed)]=_0x31f12e;const _0x4fd046=_0x3f11fa;return!_0x1eda90[_0x7a3357(0x1c8)](isUndefined,_0x49cc2f)&&(_0x4fd046[_0x7a3357(0x1ed)][_0x7a3357(0x28c)]=JSON[_0x7a3357(0x21e)](_0x49cc2f)),_0x55a04[_0x7a3357(0x1f8)](()=>{},_0x7a3357(0x244)+JSON[_0x7a3357(0x21e)](_0x4fd046));},o11ySync=PerformanceTester[a1_0x2aeb70(0x2a0)](PerformanceO11yEvents[a1_0x2aeb70(0x1f3)],async _0x3d9ead=>{const _0x1af297=a1_0x2aeb70,_0x390965={};_0x390965[_0x1af297(0x1ad)]=function(_0x221c99,_0x4e33ac){return _0x221c99===_0x4e33ac;},_0x390965[_0x1af297(0x25e)]=_0x1af297(0x290);const _0x162ba5=_0x390965;_0x162ba5[_0x1af297(0x1ad)](_0x3d9ead[_0x1af297(0x1b7)][_0x1af297(0x280)],_0x162ba5[_0x1af297(0x25e)])?await _0x3d9ead[_0x1af297(0x1f8)](_0x51312c=>{},testOpsHelper[_0x1af297(0x1c3)]()):await _0x3d9ead[_0x1af297(0x1f8)](testOpsHelper[_0x1af297(0x1c3)]());}),markSessionName=PerformanceTester[a1_0x2aeb70(0x2a0)](PerformanceAutEvents[a1_0x2aeb70(0x236)],async(_0x1d6ad0,_0x4a87b2)=>{const _0xaf232c=a1_0x2aeb70,_0x455db2={};_0x455db2[_0xaf232c(0x2a6)]=_0xaf232c(0x1f1),_0x455db2[_0xaf232c(0x1a2)]=function(_0x2b92fe,_0x411252){return _0x2b92fe===_0x411252;},_0x455db2['SisdD']=_0xaf232c(0x290);const _0x226528=_0x455db2,_0x3d9df3={};_0x3d9df3[_0xaf232c(0x280)]=_0x4a87b2;const _0x5f54b1={};_0x5f54b1[_0xaf232c(0x1bb)]=_0x226528[_0xaf232c(0x2a6)],_0x5f54b1[_0xaf232c(0x1ed)]=_0x3d9df3;const _0x1e0f91=_0x5f54b1;_0x226528['PCfWg'](_0x1d6ad0[_0xaf232c(0x1b7)][_0xaf232c(0x280)],_0x226528[_0xaf232c(0x235)])?await _0x1d6ad0[_0xaf232c(0x1f8)](()=>{},_0xaf232c(0x244)+JSON[_0xaf232c(0x21e)](_0x1e0f91)):await _0x1d6ad0[_0xaf232c(0x1f8)](_0xaf232c(0x244)+JSON[_0xaf232c(0x21e)](_0x1e0f91));}),patchSaveScreenshot=_0x3b1904=>{const _0x31d028=a1_0x2aeb70,_0x21fa84={'lVEEn':_0x31d028(0x1fa),'kfgan':_0x31d028(0x270),'PNGlT':function(_0x153cfa){return _0x153cfa();},'XGqyi':function(_0x4f6c7b,_0x3148a6){return _0x4f6c7b(_0x3148a6);},'uFhSC':_0x31d028(0x294)};_0x21fa84[_0x31d028(0x24f)](isTrue,process['env'][_0x31d028(0x2a3)])&&!_0x3b1904[_0x31d028(0x28d)]&&(_0x3b1904[_0x31d028(0x28d)]=!![],_0x3b1904[_0x31d028(0x1f5)]=_0x3b1904[_0x31d028(0x20d)],_0x3b1904[_0x31d028(0x20d)]=(_0x2f939a,_0x3564f4=![])=>{const _0x4ce6b7=_0x31d028,_0x1864a9={'XzKQB':_0x21fa84['lVEEn'],'cmfCb':_0x21fa84[_0x4ce6b7(0x292)],'ZtAWM':function(_0xdaa3bc){const _0x3c928f=_0x4ce6b7;return _0x21fa84[_0x3c928f(0x25d)](_0xdaa3bc);},'zLdVb':function(_0xb24639,_0x21af0a){const _0x4dfa2d=_0x4ce6b7;return _0x21fa84[_0x4dfa2d(0x24f)](_0xb24639,_0x21af0a);},'ONogk':_0x21fa84[_0x4ce6b7(0x273)]};return new Promise(function(_0x452a84,_0x58fe3c){const _0x2f2b3e=_0x4ce6b7;_0x3b1904[_0x2f2b3e(0x1f5)](_0x2f939a,_0x3564f4)[_0x2f2b3e(0x203)](()=>{const _0x1872fd=_0x2f2b3e,_0x1cb427=CodeceptUtils[_0x1872fd(0x1a1)](_0x2f939a);if(_0x1cb427){const _0x3dd763=fs[_0x1872fd(0x29d)](_0x1cb427);process[_0x1872fd(0x259)](_0x1872fd(0x230)+process[_0x1872fd(0x1b2)],{'timestamp':new Date()['toISOString'](),'message':_0x3dd763[_0x1872fd(0x216)](_0x1864a9[_0x1872fd(0x23b)]),'kind':_0x1864a9[_0x1872fd(0x21d)]}),_0x1864a9['ZtAWM'](_0x452a84);}_0x1864a9[_0x1872fd(0x264)](_0x58fe3c,new Error(_0x1864a9[_0x1872fd(0x22c)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0x44b6a4=>{const _0x5a63ca=a1_0x2aeb70,_0x2d6d17={'TWWna':function(_0x6f5b86){return _0x6f5b86();},'GFXss':function(_0x74abe0,_0x399042){return _0x74abe0(_0x399042);},'CnBbX':function(_0x52fae0,_0x2722f9){return _0x52fae0===_0x2722f9;},'pccWM':'webdriverio','FEAFw':_0x5a63ca(0x27b),'ymGOF':function(_0x235a13,_0x3d8413){return _0x235a13===_0x3d8413;},'NjWMS':_0x5a63ca(0x1cc),'ctgZH':function(_0x13f62d,_0x263671){return _0x13f62d(_0x263671);}},_0xb389de=async function(_0x14bef4,_0x35fcb1){const _0xc3fe55=_0x5a63ca;_0x2d6d17[_0xc3fe55(0x202)](isAccessibilityAutomationSession)&&!global[_0xc3fe55(0x1f0)]&&global[_0xc3fe55(0x1a8)]&&scripts['shouldWrapCommand'](_0x14bef4['name'])&&_0x2d6d17[_0xc3fe55(0x1aa)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0xc3fe55(0x1f0)]=!![],await PerformanceTester[_0xc3fe55(0x2a0)](PerformanceA11yEvents[_0xc3fe55(0x1e3)],async()=>{const _0x5b69e6=_0xc3fe55;logger[_0x5b69e6(0x266)](_0x5b69e6(0x1a6)+_0x14bef4[_0x5b69e6(0x1ae)]+'\x20'+_0x14bef4[_0x5b69e6(0x280)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x44b6a4,scripts[_0x5b69e6(0x281)]);},{'command':_0x14bef4[_0xc3fe55(0x280)]})());global['bstackAllyScanning']=![];const _0x36032f=JSON[_0xc3fe55(0x211)](process[_0xc3fe55(0x20a)][_0xc3fe55(0x1cd)]||'{}');if(_0x2d6d17[_0xc3fe55(0x23f)](_0x36032f?.[_0xc3fe55(0x1b3)]?.['name'],_0x2d6d17['pccWM'])&&_0x2d6d17[_0xc3fe55(0x23f)](typeof _0x36032f?.[_0xc3fe55(0x1b3)]?.[_0xc3fe55(0x27f)],_0x2d6d17[_0xc3fe55(0x22e)])&&_0x36032f?.[_0xc3fe55(0x1b3)]?.[_0xc3fe55(0x27f)][_0xc3fe55(0x1dd)]('7'))return _0x35fcb1[_0xc3fe55(0x2a8)](null,Array[_0xc3fe55(0x1fe)][_0xc3fe55(0x1c2)][_0xc3fe55(0x1e5)](arguments,0x2));return _0x35fcb1[_0xc3fe55(0x2a8)](this,Array[_0xc3fe55(0x1fe)][_0xc3fe55(0x1c2)]['call'](arguments,0x2));},_0x24ef1c=CodeceptWebDriver[_0x5a63ca(0x1fe)][_0x5a63ca(0x21f)];CodeceptWebDriver['prototype'][_0x5a63ca(0x21f)]=async function(){const _0xc222b=_0x5a63ca,_0x3c2640={'hzUhv':function(_0x36b0df,_0xe4f283){const _0x490285=a1_0xf087;return _0x2d6d17[_0x490285(0x210)](_0x36b0df,_0xe4f283);},'vkKuF':_0x2d6d17[_0xc222b(0x1e8)]};try{await _0x24ef1c[_0xc222b(0x2a8)](this,arguments);}catch(_0x5533f6){logger['debug'](_0xc222b(0x268)+util[_0xc222b(0x1f6)](_0x5533f6));}scripts[_0xc222b(0x27c)][_0xc222b(0x1b8)](_0x298e3a=>_0x298e3a[_0xc222b(0x280)]&&_0x298e3a[_0xc222b(0x1ae)])[_0xc222b(0x1eb)](_0x594c11=>{const _0xc31831=_0xc222b;this['browser'][_0xc31831(0x20c)](_0x594c11[_0xc31831(0x280)],_0xb389de['bind'](this,_0x594c11),_0x3c2640['hzUhv'](_0x594c11[_0xc31831(0x1ae)],_0x3c2640[_0xc31831(0x232)]));}),_0x2d6d17[_0xc222b(0x20b)](processWebDriverConfig,_0x44b6a4);};};function parseJwt(_0x20f545){const _0x2fec42=a1_0x2aeb70,_0x56a457={};_0x56a457[_0x2fec42(0x22d)]=_0x2fec42(0x1fa);const _0x64d6f2=_0x56a457;if(!_0x20f545)return null;return JSON['parse'](Buffer['from'](_0x20f545[_0x2fec42(0x295)]('.')[0x1],_0x64d6f2['wAJar'])['toString']());}const patchPlaywrightBefore=()=>{const _0x399ce3=a1_0x2aeb70,_0x5cfd36={'VmmNC':function(_0x99f56c){return _0x99f56c();},'Xxexu':_0x399ce3(0x1ba),'fHAwW':_0x399ce3(0x1bf),'XqKyW':function(_0x338ebc,_0x12f964){return _0x338ebc(_0x12f964);},'iRbbo':function(_0x432894,_0x5f2d43){return _0x432894+_0x5f2d43;},'AClkr':_0x399ce3(0x269),'ErSah':function(_0x3a9ca8){return _0x3a9ca8();},'GAQOg':function(_0x47f3e1){return _0x47f3e1();}};PlaywrightSessionDetails['patch']();const _0x4b98ae=CodeceptPlaywright['prototype'][_0x399ce3(0x21f)];CodeceptPlaywright[_0x399ce3(0x1fe)][_0x399ce3(0x21f)]=async function(){const _0x475571=_0x399ce3,_0x33b345={'pCFMm':function(_0x25927b){const _0x1083d7=a1_0xf087;return _0x5cfd36[_0x1083d7(0x272)](_0x25927b);},'rGzmq':_0x5cfd36['Xxexu'],'hJyKM':_0x5cfd36[_0x475571(0x1e2)],'VmBQD':function(_0x24834a,_0x3c36eb){return _0x5cfd36['XqKyW'](_0x24834a,_0x3c36eb);},'jmFLo':function(_0x251760,_0x444a50){const _0x3cb0bb=_0x475571;return _0x5cfd36[_0x3cb0bb(0x1af)](_0x251760,_0x444a50);},'JdubC':_0x5cfd36[_0x475571(0x258)]};this[_0x475571(0x242)]=await this[_0x475571(0x1b0)][_0x475571(0x1bd)]()[0x0];const _0x2690e4=async()=>{const _0x4e1a99=_0x475571,_0x2dea2d=this[_0x4e1a99(0x208)]&&this[_0x4e1a99(0x208)]['chromium']&&this[_0x4e1a99(0x208)][_0x4e1a99(0x1d9)]['args']&&Array[_0x4e1a99(0x213)](this[_0x4e1a99(0x208)][_0x4e1a99(0x1d9)]['args'])&&this['config']['chromium'][_0x4e1a99(0x28a)][_0x4e1a99(0x293)](_0x33b345[_0x4e1a99(0x1c9)]);if(_0x33b345[_0x4e1a99(0x26d)](isAccessibilityAutomationSession)&&!_0x2dea2d)try{const _0x23198c=_0x33b345[_0x4e1a99(0x1e4)](parseJwt,process['env'][_0x4e1a99(0x247)]);if(_0x23198c&&_0x23198c[_0x4e1a99(0x26a)]&&_0x23198c[_0x4e1a99(0x26a)][_0x4e1a99(0x29e)]){const _0x5684f1=this[_0x4e1a99(0x242)]['pages'][_0x4e1a99(0x1bc)](this[_0x4e1a99(0x242)]);this[_0x4e1a99(0x242)][_0x4e1a99(0x1ea)]=async function(){const _0x5bb63f=_0x4e1a99,_0x276a8f=await _0x33b345['pCFMm'](_0x5684f1),_0x34a0d3=[];for(const _0x2b5f66 of _0x276a8f){try{const _0x462a3f=await _0x2b5f66[_0x5bb63f(0x1c6)]();!_0x462a3f[_0x5bb63f(0x1dd)](_0x33b345[_0x5bb63f(0x261)])&&_0x34a0d3['push'](_0x2b5f66);}catch(_0x247d6c){_0x34a0d3[_0x5bb63f(0x24b)](_0x2b5f66);}}return _0x34a0d3;};}if(!_0x33b345['pCFMm'](isBrowserstackInfra)){const _0x4214d6=await this[_0x4e1a99(0x1ac)]['url']();if(_0x4214d6[_0x4e1a99(0x1dd)](_0x33b345[_0x4e1a99(0x261)])){const _0x371dd7=await this['browserContext']['pages']();this[_0x4e1a99(0x1e7)](_0x371dd7[0x0]);}}}catch(_0x4c7a69){logger[_0x4e1a99(0x266)](_0x4e1a99(0x228)+_0x4c7a69['message']+(_0x4c7a69['stack']?_0x33b345[_0x4e1a99(0x262)](_0x33b345['JdubC'],_0x4c7a69[_0x4e1a99(0x240)]):''));}};_0x5cfd36[_0x475571(0x1ca)](isBrowserstackInfra)&&await _0x5cfd36[_0x475571(0x2a5)](_0x2690e4),await _0x4b98ae[_0x475571(0x2a8)](this,arguments),!_0x5cfd36['GAQOg'](isBrowserstackInfra)&&await _0x5cfd36[_0x475571(0x2a5)](_0x2690e4);};},getCodeceptDriver=()=>{const _0x2b4b7d=a1_0x2aeb70,_0x38d91d={};_0x38d91d[_0x2b4b7d(0x1ce)]=_0x2b4b7d(0x298),_0x38d91d['EcpAO']='Playwright',_0x38d91d[_0x2b4b7d(0x1b9)]=_0x2b4b7d(0x1ab),_0x38d91d[_0x2b4b7d(0x205)]='TestCafe';const _0x48b715=_0x38d91d,_0x2d80b5=[_0x48b715[_0x2b4b7d(0x1ce)],_0x48b715['EcpAO'],_0x48b715[_0x2b4b7d(0x1b9)],_0x48b715['ueWYF']],_0x3313bf=_0x2d80b5['find'](_0x2aa6b6=>!!CodeceptJS[_0x2b4b7d(0x25f)]['helpers'](_0x2aa6b6));if(!_0x3313bf)return null;return CodeceptJS[_0x2b4b7d(0x25f)]['helpers'](_0x3313bf);};function a1_0xf087(_0x399d0f,_0x48b90c){const _0x5a368d=a1_0x5a36();return a1_0xf087=function(_0xf08777,_0x38efb1){_0xf08777=_0xf08777-0x1a1;let _0x1b582a=_0x5a368d[_0xf08777];return _0x1b582a;},a1_0xf087(_0x399d0f,_0x48b90c);}module[a1_0x2aeb70(0x25c)]=function(_0x4fb186){const _0x387037=a1_0x2aeb70,_0x33bd46={'MHXrv':function(_0x15ce6d){return _0x15ce6d();},'dCJrx':function(_0x227fee,_0x4bfce1){return _0x227fee(_0x4bfce1);},'pgFhu':_0x387037(0x241),'apLTG':_0x387037(0x238),'MdclC':_0x387037(0x239),'AdKgn':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','AjkqM':'hook-started','iWTXJ':_0x387037(0x1b1),'wlODG':_0x387037(0x227),'jAYgf':'browserstackTestName','oZyhP':function(_0xf01bf1){return _0xf01bf1();},'cwFZT':_0x387037(0x1dc),'sdvUb':function(_0x6f754a){return _0x6f754a();},'wkVSK':function(_0xc19b3e,_0x1d6f24,_0x66e027){return _0xc19b3e(_0x1d6f24,_0x66e027);},'RdKSy':'test-started','ksfFy':function(_0x1fba21,_0x9a019b,_0x5f3c2c){return _0x1fba21(_0x9a019b,_0x5f3c2c);},'wWHTD':'test-passed','SOxol':function(_0x406916,_0x85f535,_0x1cabb1,_0x1a1a65){return _0x406916(_0x85f535,_0x1cabb1,_0x1a1a65);},'GwrGV':function(_0x354def,_0x7dd702,_0x54fadf,_0x1b90ea){return _0x354def(_0x7dd702,_0x54fadf,_0x1b90ea);},'mBmUb':function(_0x5c13b2,_0x45556f){return _0x5c13b2===_0x45556f;},'gWTtB':_0x387037(0x209),'XnAvJ':_0x387037(0x289),'togjT':_0x387037(0x277),'JsOXj':_0x387037(0x1ec),'ziyRa':'isMobilePlatform','XQSWU':_0x387037(0x1c1),'wjGWv':'test-after','iQexp':_0x387037(0x286),'jHzdH':_0x387037(0x200),'VaQPr':_0x387037(0x260),'WKNSE':_0x387037(0x1ef),'oVBhl':_0x387037(0x20e),'nrkfY':function(_0x475a12){return _0x475a12();},'VwthA':_0x387037(0x290)};_0x4fb186[_0x387037(0x1d4)]&&(global[_0x387037(0x299)]=_0x4fb186[_0x387037(0x1d4)]);PerformanceTester[_0x387037(0x1ff)]();const _0x472579=_0x33bd46[_0x387037(0x1b6)](getCodeceptDriver),_0x5f045e=new O11yHelper(_0x472579,_0x4fb186),_0x45ed19=!!CodeceptJS[_0x387037(0x25f)][_0x387037(0x223)](_0x33bd46[_0x387037(0x225)]);global[_0x387037(0x284)]=_0x472579,_0x472579&&(PerformanceTester[_0x387037(0x2a0)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x41dafc=_0x387037;_0x45ed19?_0x33bd46[_0x41dafc(0x222)](patchPlaywrightBefore):_0x33bd46[_0x41dafc(0x23c)](patchWebDriverBefore,_0x472579);})(),PerformanceTester[_0x387037(0x2a0)](PerformanceEvents[_0x387037(0x1f9)],()=>{const _0x126f83=_0x387037,_0x21ba2b={};_0x21ba2b[_0x126f83(0x1d3)]=_0x33bd46[_0x126f83(0x1a5)],_0x21ba2b['UIbdD']=_0x33bd46['apLTG'],_0x21ba2b[_0x126f83(0x1c0)]=_0x33bd46[_0x126f83(0x2aa)],_0x21ba2b[_0x126f83(0x29b)]=_0x33bd46['AdKgn'];const _0x4fe8a0=_0x21ba2b;_0x472579[_0x126f83(0x241)]=async()=>{const _0x1e1c73=_0x126f83;if(global[_0x1e1c73(0x1a8)]){const _0x3f5862={};return _0x3f5862[_0x1e1c73(0x1fb)]=_0x4fe8a0['XVNGG'],await PerformanceTester[_0x1e1c73(0x2a0)](PerformanceA11yEvents[_0x1e1c73(0x1e3)],async()=>{const _0x13a045=_0x1e1c73;return await AccessibilityHelper[_0x13a045(0x243)](_0x472579,scripts['performScan']);},_0x3f5862)(),await PerformanceTester[_0x1e1c73(0x2a0)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x472579,scripts['getResultsSummary']);})();}return logger['warn'](_0x4fe8a0['UIbdD']),{};},_0x472579['getAccessibilityResults']=async()=>{const _0x5c50e3=_0x126f83;if(global['accessibilityPlatform']){const _0x496c26={};return _0x496c26[_0x5c50e3(0x1fb)]=_0x4fe8a0[_0x5c50e3(0x1c0)],await PerformanceTester[_0x5c50e3(0x2a0)](PerformanceA11yEvents[_0x5c50e3(0x1e3)],async()=>{const _0x225c52=_0x5c50e3;return await AccessibilityHelper[_0x225c52(0x243)](_0x472579,scripts[_0x225c52(0x281)]);},_0x496c26)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5c50e3(0x29c)],async()=>{const _0x5a642f=_0x5c50e3;return await AccessibilityHelper[_0x5a642f(0x243)](_0x472579,scripts[_0x5a642f(0x21a)]);})();}return logger[_0x5c50e3(0x1e0)](_0x4fe8a0[_0x5c50e3(0x29b)]),{};},_0x33bd46['dCJrx'](patchSaveScreenshot,_0x472579);})()),CodeceptJS['event'][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)]['all']['before'],()=>{const _0x6a8978=_0x387037;PerformanceTester['start'](PerformanceEvents[_0x6a8978(0x21c)]);try{_0x5f045e[_0x6a8978(0x233)](),testOpsHelper[_0x6a8978(0x267)](),PerformanceTester['end'](PerformanceEvents[_0x6a8978(0x21c)]);}catch(_0x175d0e){PerformanceTester[_0x6a8978(0x218)](_0x175d0e),PerformanceTester[_0x6a8978(0x1b5)](PerformanceEvents[_0x6a8978(0x21c)],![],_0x175d0e);}}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1d1)]['after'],async()=>{const _0x5790f4=_0x387037;PerformanceTester[_0x5790f4(0x233)](PerformanceEvents[_0x5790f4(0x2a4)]);try{requestSpy[_0x5790f4(0x1be)](),await _0x5f045e['stop'](),PerformanceTester['end'](PerformanceEvents[_0x5790f4(0x2a4)]);}catch(_0x13f9fc){PerformanceTester['captureError'](_0x13f9fc),PerformanceTester[_0x5790f4(0x1b5)](PerformanceEvents['SDK_POST_TEST'],![],_0x13f9fc);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)]['hook'][_0x387037(0x1b4)],_0x230916=>{const _0x33cbb9=_0x387037;PerformanceTester[_0x33cbb9(0x233)](PerformanceEvents[_0x33cbb9(0x1a7)]);try{const _0x715c4d=_0x230916['ctx']['test'],_0x501b0a=_0x5f045e[_0x33cbb9(0x212)](TEST_EVENTS[_0x33cbb9(0x27e)],_0x715c4d);CodeceptRecorder[_0x33cbb9(0x250)](()=>_0x5f045e[_0x33cbb9(0x1d8)](TEST_EVENTS[_0x33cbb9(0x27e)],_0x501b0a));const _0x143b34={};_0x143b34[_0x33cbb9(0x29f)]=_0x33bd46['AjkqM'],PerformanceTester['end'](PerformanceEvents[_0x33cbb9(0x1a7)],!![],null,_0x143b34);}catch(_0x415a9c){const _0xd35621={};_0xd35621[_0x33cbb9(0x29f)]=_0x33bd46[_0x33cbb9(0x23e)],PerformanceTester['end'](PerformanceEvents[_0x33cbb9(0x1a7)],![],_0x415a9c,_0xd35621),PerformanceTester[_0x33cbb9(0x218)](_0x415a9c);}}),CodeceptJS['event'][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x271)][_0x387037(0x1df)],_0x41c75f=>{const _0x5263ef=_0x387037,_0x18b3b2={};_0x18b3b2[_0x5263ef(0x29f)]=_0x33bd46[_0x5263ef(0x24c)],PerformanceTester[_0x5263ef(0x233)](PerformanceHookEvents[_0x5263ef(0x1a7)],!![],null,_0x18b3b2);try{const _0x4d54bd=_0x41c75f[_0x5263ef(0x231)][_0x5263ef(0x1c5)],_0x5dcff7=_0x5f045e[_0x5263ef(0x212)](TEST_EVENTS[_0x5263ef(0x26c)],_0x4d54bd);CodeceptRecorder[_0x5263ef(0x250)](()=>_0x5f045e[_0x5263ef(0x1d8)](TEST_EVENTS[_0x5263ef(0x26c)],_0x5dcff7));const _0x765a97={};_0x765a97[_0x5263ef(0x29f)]=_0x33bd46[_0x5263ef(0x24c)],PerformanceTester[_0x5263ef(0x1b5)](PerformanceHookEvents[_0x5263ef(0x1a7)],!![],null,_0x765a97);}catch(_0x34fabb){PerformanceTester[_0x5263ef(0x218)](_0x34fabb);const _0x1a7020={};_0x1a7020[_0x5263ef(0x29f)]=_0x33bd46[_0x5263ef(0x24c)],PerformanceTester[_0x5263ef(0x1b5)](PerformanceHookEvents[_0x5263ef(0x1a7)],![],_0x34fabb,_0x1a7020);}}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)]['hook'][_0x387037(0x265)],async(_0x2fd95a,_0xfe6d59)=>{const _0x1b3245=_0x387037;PerformanceTester[_0x1b3245(0x233)](PerformanceHookEvents[_0x1b3245(0x1a7)]);try{const _0x4c3c66=_0x2fd95a[_0x1b3245(0x231)]['test'],_0x2cbe81=_0x5f045e['captureEvent'](TEST_EVENTS[_0x1b3245(0x26c)],_0x4c3c66,_0xfe6d59);CodeceptRecorder[_0x1b3245(0x250)](()=>_0x5f045e[_0x1b3245(0x1d8)](TEST_EVENTS[_0x1b3245(0x26c)],_0x2cbe81));const _0x532764={};_0x532764['hookType']=_0x33bd46['wlODG'],PerformanceTester[_0x1b3245(0x233)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x532764);}catch(_0x45b7cd){PerformanceTester['captureError'](_0x45b7cd);const _0x1fdc99={};_0x1fdc99[_0x1b3245(0x29f)]=_0x33bd46[_0x1b3245(0x1e9)],PerformanceTester['end'](PerformanceHookEvents[_0x1b3245(0x1a7)],![],_0x45b7cd,_0x1fdc99);}const _0x5d6ef6={};_0x5d6ef6[_0x1b3245(0x29f)]=_0x33bd46[_0x1b3245(0x1e9)],PerformanceTester[_0x1b3245(0x1b5)](PerformanceHookEvents[_0x1b3245(0x1a7)],!![],null,_0x5d6ef6);}),CodeceptJS['event'][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1c5)]['before'],_0x273722=>{const _0x1a47cd=_0x387037;PerformanceTester[_0x1a47cd(0x233)](PerformanceHookEvents[_0x1a47cd(0x1a7)]);try{globals[_0x1a47cd(0x2a9)](_0x33bd46['jAYgf'],_0x273722['title']);_0x33bd46['oZyhP'](isBrowserstackInfra)&&(_0x45ed19&&(global[_0x1a47cd(0x22b)]={'currentTest':{'name':_0x273722[_0x1a47cd(0x246)],'testInfo':{'titlePath':_0x273722[_0x1a47cd(0x226)]()}}}));const _0x48a487={};_0x48a487['hookType']=_0x33bd46[_0x1a47cd(0x251)],PerformanceTester[_0x1a47cd(0x1b5)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x48a487);}catch(_0x250279){PerformanceTester[_0x1a47cd(0x218)](_0x250279);const _0x593829={};_0x593829[_0x1a47cd(0x29f)]=_0x33bd46[_0x1a47cd(0x251)],PerformanceTester[_0x1a47cd(0x1b5)](PerformanceHookEvents[_0x1a47cd(0x1a7)],![],_0x250279,_0x593829);}}),CodeceptJS['event'][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1c5)][_0x387037(0x1b4)],_0x225f77=>{const _0x45a054=_0x387037,_0x32fabb={'etkZZ':function(_0x1c689e){return _0x33bd46['sdvUb'](_0x1c689e);},'eGaIg':function(_0x11a809,_0x304aa6){const _0x41b5f4=a1_0xf087;return _0x33bd46[_0x41b5f4(0x23c)](_0x11a809,_0x304aa6);},'jRoxy':function(_0x4b0ae6,_0x5ab52e,_0x1a7a56){return _0x33bd46['wkVSK'](_0x4b0ae6,_0x5ab52e,_0x1a7a56);}};PerformanceTester[_0x45a054(0x233)](PerformanceHookEvents[_0x45a054(0x1a7)]);try{globals['setGlobal'](_0x33bd46[_0x45a054(0x1d5)],_0x225f77[_0x45a054(0x246)]);const _0x2e8ed1=_0x5f045e[_0x45a054(0x212)](TEST_EVENTS[_0x45a054(0x282)],_0x225f77);CodeceptRecorder['add'](()=>_0x5f045e['fireEvent'](TEST_EVENTS[_0x45a054(0x282)],_0x2e8ed1)),CodeceptRecorder['add'](async()=>{const _0x481cc6=_0x45a054;_0x32fabb['etkZZ'](isBrowserstackInfra)&&(!_0x32fabb[_0x481cc6(0x215)](isTrue,_0x4fb186[_0x481cc6(0x274)])&&await _0x32fabb['jRoxy'](markSessionName,_0x472579,_0x225f77['title']),_0x5f045e[_0x481cc6(0x21b)]&&await _0x32fabb[_0x481cc6(0x215)](o11ySync,_0x472579));});}catch(_0x153b2f){const _0x544eab={};_0x544eab[_0x45a054(0x29f)]=_0x33bd46[_0x45a054(0x28e)],PerformanceTester[_0x45a054(0x1b5)](PerformanceHookEvents[_0x45a054(0x1a7)],![],_0x153b2f,_0x544eab),PerformanceTester['captureError'](_0x153b2f);}const _0x1e58cc={};_0x1e58cc[_0x45a054(0x29f)]=_0x33bd46['RdKSy'],PerformanceTester[_0x45a054(0x1b5)](PerformanceHookEvents[_0x45a054(0x1a7)],!![],null,_0x1e58cc);}),CodeceptJS[_0x387037(0x27a)]['dispatcher']['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1c5)][_0x387037(0x1df)],_0x3506f6=>{const _0x25b6c1=_0x387037,_0x38ea3b={'qHiFW':function(_0xcb2c83,_0x2e58af,_0x730801){const _0x411f60=a1_0xf087;return _0x33bd46[_0x411f60(0x1e6)](_0xcb2c83,_0x2e58af,_0x730801);},'lsOJQ':function(_0x170e69,_0x34e122,_0xc77004){return _0x33bd46['ksfFy'](_0x170e69,_0x34e122,_0xc77004);},'xjomA':function(_0x55f54f){const _0x522e60=a1_0xf087;return _0x33bd46[_0x522e60(0x222)](_0x55f54f);}};PerformanceTester['start'](PerformanceHookEvents[_0x25b6c1(0x1a7)]);try{const _0x3f4a60=_0x5f045e[_0x25b6c1(0x212)](TEST_EVENTS[_0x25b6c1(0x255)],_0x3506f6);CodeceptRecorder[_0x25b6c1(0x250)](()=>_0x5f045e[_0x25b6c1(0x1d8)](TEST_EVENTS[_0x25b6c1(0x255)],_0x3f4a60)),CodeceptRecorder[_0x25b6c1(0x250)](async()=>{const _0x19f58f=_0x25b6c1;_0x38ea3b[_0x19f58f(0x26b)](isBrowserstackInfra)&&await PerformanceTester[_0x19f58f(0x2a0)](PerformanceAutEvents[_0x19f58f(0x1e1)],async()=>{const _0x1080ac=_0x19f58f;_0x45ed19?await _0x38ea3b[_0x1080ac(0x26f)](playwrightMarkSessionStatus,_0x472579,STATE_PASSED):await _0x38ea3b[_0x1080ac(0x25b)](markSessionStatus,_0x472579,STATE_PASSED);})();}),PerformanceTester[_0x25b6c1(0x1b5)](PerformanceEvents['SDK_TEST']);}catch(_0x12ccae){PerformanceTester['captureError'](_0x12ccae);const _0x5157c3={};_0x5157c3['hookType']=_0x33bd46[_0x25b6c1(0x206)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x12ccae,_0x5157c3),PerformanceTester[_0x25b6c1(0x1b5)](PerformanceEvents[_0x25b6c1(0x283)],![],_0x12ccae);}const _0x381e8b={};_0x381e8b['hookType']=_0x33bd46[_0x25b6c1(0x206)],PerformanceTester[_0x25b6c1(0x1b5)](PerformanceHookEvents[_0x25b6c1(0x1a7)],!![],null,_0x381e8b);}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1c5)][_0x387037(0x265)],(_0x14eded,_0x156ccb)=>{const _0x56111f=_0x387037;PerformanceTester[_0x56111f(0x233)](PerformanceHookEvents[_0x56111f(0x1a7)]);try{if(_0x33bd46['mBmUb'](_0x14eded[_0x56111f(0x1b7)][_0x56111f(0x280)],_0x33bd46[_0x56111f(0x245)])){const _0x4039fd=_0x5f045e[_0x56111f(0x212)](TEST_EVENTS[_0x56111f(0x254)],_0x14eded[_0x56111f(0x231)][_0x56111f(0x278)]);CodeceptRecorder[_0x56111f(0x250)](()=>_0x5f045e[_0x56111f(0x1d8)](TEST_EVENTS[_0x56111f(0x254)],_0x4039fd));}else{const _0x276e54=_0x5f045e['captureEvent'](TEST_EVENTS[_0x56111f(0x255)],_0x14eded,_0x156ccb);CodeceptRecorder[_0x56111f(0x250)](()=>{const _0x1152c8=_0x56111f;try{_0x5f045e[_0x1152c8(0x1d8)](TEST_EVENTS[_0x1152c8(0x255)],_0x276e54);}catch(_0x227e5e){logger[_0x1152c8(0x266)](_0x1152c8(0x1cf)+util['format'](_0x227e5e)),PerformanceTester[_0x1152c8(0x1b5)](PerformanceEvents[_0x1152c8(0x283)],![],_0x227e5e);}}),CodeceptRecorder[_0x56111f(0x250)](async()=>{const _0x1868cb=_0x56111f;try{_0x33bd46['MHXrv'](isBrowserstackInfra)&&(_0x45ed19?await _0x33bd46['SOxol'](playwrightMarkSessionStatus,_0x472579,STATE_FAILED,_0x156ccb):await _0x33bd46[_0x1868cb(0x1db)](markSessionStatus,_0x472579,STATE_FAILED,_0x156ccb));}catch(_0x6ea666){logger['debug']('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x1868cb(0x1f6)](_0x6ea666)),PerformanceTester[_0x1868cb(0x1b5)](PerformanceEvents[_0x1868cb(0x283)],![],_0x6ea666);}});}PerformanceTester[_0x56111f(0x1b5)](PerformanceEvents[_0x56111f(0x283)]);}catch(_0x5936ec){PerformanceTester[_0x56111f(0x218)](_0x5936ec);const _0x227309={};_0x227309['hookType']=_0x33bd46['XnAvJ'],PerformanceTester[_0x56111f(0x1b5)](PerformanceHookEvents[_0x56111f(0x1a7)],![],_0x5936ec,_0x227309),PerformanceTester[_0x56111f(0x1b5)](PerformanceEvents[_0x56111f(0x283)],![],_0x5936ec);}const _0x32df87={};_0x32df87[_0x56111f(0x29f)]=_0x33bd46['XnAvJ'],PerformanceTester[_0x56111f(0x1b5)](PerformanceHookEvents[_0x56111f(0x1a7)],!![],null,_0x32df87);}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1c5)][_0x387037(0x1fc)],_0x1d96f2=>{const _0x56ae25=_0x387037;PerformanceTester[_0x56ae25(0x233)](PerformanceHookEvents[_0x56ae25(0x1a7)]);try{const _0x36e058=_0x5f045e[_0x56ae25(0x212)](TEST_EVENTS[_0x56ae25(0x254)],_0x1d96f2);CodeceptRecorder[_0x56ae25(0x250)](()=>_0x5f045e['fireEvent'](TEST_EVENTS[_0x56ae25(0x254)],_0x36e058)),PerformanceTester[_0x56ae25(0x1b5)](PerformanceEvents[_0x56ae25(0x283)]);}catch(_0x397b7a){PerformanceTester[_0x56ae25(0x218)](_0x397b7a),PerformanceTester[_0x56ae25(0x1b5)](PerformanceEvents[_0x56ae25(0x283)],![],_0x397b7a);const _0x5b1021={};_0x5b1021[_0x56ae25(0x29f)]=_0x33bd46[_0x56ae25(0x219)],PerformanceTester[_0x56ae25(0x1b5)](PerformanceHookEvents[_0x56ae25(0x1a7)],![],_0x397b7a,_0x5b1021);}const _0x529dad={};_0x529dad['hookType']=_0x33bd46['togjT'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x529dad);}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)]['test'][_0x387037(0x1f7)],async(_0x2e4625,_0x3b30da)=>{const _0xc72033=_0x387037,_0x15df6a={};_0x15df6a['nBHfU']=_0x33bd46[_0xc72033(0x1f4)],_0x15df6a[_0xc72033(0x214)]=_0x33bd46[_0xc72033(0x1fd)];const _0x2860cb=_0x15df6a;try{PerformanceTester['start'](PerformanceHookEvents[_0xc72033(0x1a7)]);const _0x4c39bb=_0x33bd46[_0xc72033(0x24e)](shouldScanTestForAccessibility,_0x2e4625['titlePath'](),!![]);if(_0x33bd46[_0xc72033(0x28b)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x4c39bb){const _0x162966={};_0x162966[_0xc72033(0x1a4)]=_0x2e4625[_0xc72033(0x27d)],_0x162966[_0xc72033(0x256)]=process[_0xc72033(0x20a)][testHubConstants[_0xc72033(0x263)][_0xc72033(0x1d6)]],_0x162966['thJwtToken']=process[_0xc72033(0x20a)][testHubConstants[_0xc72033(0x263)][_0xc72033(0x276)]];const _0x228fb7=_0x162966;logger[_0xc72033(0x266)](_0xc72033(0x1d0)+JSON[_0xc72033(0x21e)](_0x228fb7)),CodeceptRecorder[_0xc72033(0x250)](async()=>{const _0x31cd3d=_0xc72033,_0x5ba31f={};_0x5ba31f[_0x31cd3d(0x1fb)]=_0x2860cb[_0x31cd3d(0x285)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x31cd3d(0x1e3)],async()=>{const _0x5a481f=_0x31cd3d;await AccessibilityHelper[_0x5a481f(0x243)](_0x472579,scripts[_0x5a481f(0x281)]);},_0x5ba31f)(),globals['getGlobal'](_0x2860cb[_0x31cd3d(0x214)])&&(_0x228fb7['is_mobile_session']=!![]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x31cd3d(0x207)],async()=>{const _0x239ceb=_0x31cd3d;await AccessibilityHelper[_0x239ceb(0x243)](_0x472579,scripts[_0x239ceb(0x234)],_0x228fb7);})();}),logger['info'](_0x33bd46[_0xc72033(0x1a9)]);}const _0x62e282={};_0x62e282['hookType']=_0x33bd46[_0xc72033(0x29a)],PerformanceTester[_0xc72033(0x1b5)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x62e282);}catch(_0x49c545){PerformanceTester[_0xc72033(0x218)](_0x49c545);const _0x1d8c84={};_0x1d8c84['hookType']=_0x33bd46['wjGWv'],PerformanceTester[_0xc72033(0x1b5)](PerformanceHookEvents[_0xc72033(0x1a7)],![],_0x49c545,_0x1d8c84);}}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)]['step'][_0x387037(0x249)],_0x1529df=>{const _0x3d273e=_0x387037;PerformanceTester[_0x3d273e(0x233)](PerformanceHookEvents['SDK_HOOK']);try{process['emit'](_0x3d273e(0x230)+process[_0x3d273e(0x1b2)],{'timestamp':new Date()[_0x3d273e(0x2a2)](),'level':_0x33bd46[_0x3d273e(0x291)],'message':_0x1529df,'kind':_0x33bd46[_0x3d273e(0x287)],'http_response':{}});}catch(_0x41b3d8){PerformanceTester[_0x3d273e(0x218)](_0x41b3d8);const _0x4234c5={};_0x4234c5['hookType']=_0x33bd46['VaQPr'],PerformanceTester[_0x3d273e(0x1b5)](PerformanceHookEvents[_0x3d273e(0x1a7)],![],_0x41b3d8,_0x4234c5);}const _0x2ff2c8={};_0x2ff2c8[_0x3d273e(0x29f)]=_0x33bd46[_0x3d273e(0x297)],PerformanceTester[_0x3d273e(0x1b5)](PerformanceHookEvents[_0x3d273e(0x1a7)],!![],null,_0x2ff2c8);}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1f2)][_0x387037(0x26e)],_0x5bf65f=>{const _0x1750cf=_0x387037,_0x33bc6e={};_0x33bc6e['hookType']=_0x33bd46[_0x1750cf(0x1da)],PerformanceTester[_0x1750cf(0x2a0)](PerformanceHookEvents[_0x1750cf(0x1a7)],()=>{const _0x5a8d35=_0x1750cf;_0x5f045e[_0x5a8d35(0x1c4)](_0x5bf65f);},_0x33bc6e)();}),CodeceptJS[_0x387037(0x27a)]['dispatcher']['on'](CodeceptJS['event'][_0x387037(0x1f2)][_0x387037(0x1f7)],_0x137890=>{const _0xc6516b=_0x387037,_0x141bc7={};_0x141bc7['hookType']=_0x33bd46[_0xc6516b(0x22f)],PerformanceTester[_0xc6516b(0x2a0)](PerformanceHookEvents[_0xc6516b(0x1a7)],()=>{const _0x1bed73=_0xc6516b;_0x5f045e[_0x1bed73(0x204)](_0x137890);},_0x141bc7)();});};
1
+ function a1_0x4d0c(_0x179286,_0x277325){const _0x5ed259=a1_0x5ed2();return a1_0x4d0c=function(_0x4d0c5d,_0x306ca3){_0x4d0c5d=_0x4d0c5d-0x14d;let _0x4d9e08=_0x5ed259[_0x4d0c5d];return _0x4d9e08;},a1_0x4d0c(_0x179286,_0x277325);}const a1_0x4b3b56=a1_0x4d0c;function a1_0x5ed2(){const _0x3bda73=['Jjbjs','pages','test-failed','vTXlF','startsWith','restore','currentTest','accessibilityPlatform','stop','TEST_RUN_SKIPPED','ImzSx','warn','../../helpers/globals.js','SESSION_NAME','BROWSERSTACK_TESTHUB_JWT','emit','jGsbo','WrsMk','stack','uADcl','_before','fhxqK','arguments','saveScreenshot','SAVE_RESULTS','test-started','GET_RESULTS_SUMMARY','ebHvH','RKzUi','246856dFZXCS','test-skipped','HOOK_RUN_FINISHED','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20_before:\x20','base64','bufferPendingHookEvent','ctx','XCNOn','codeceptjs/lib/index.js','action','GGloj','push','Playwright','args','FISJG','xAdsv','pxvNs','mqyKv','format','WebDriver','bddStepStart','vOVOK','ljMLq','helpers','enabled','executeScript','end','VZrfV','6jSQpSt','BVUiu','150ckNdEb','ZjQEL','DraII','test','fireEvent','BROWSERSTACK_TESTHUB_UUID','WTGdm','../../helpers/logger','lRFzl','HOOK_RUN_STARTED','mzZIn','bs:addLog:','getSyncScript','screenshotOutputFolder','_setPage','status','mwsUf','patch','XhDql','mSPvd','comment','ENV_VAR','skipSessionStatus','ByMtI','oXRLE','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','2085588AVYOwc','winstonLogger','AeNoK','tUeAb','../../helpers/request-spy','chromium','wwviW','haByF','titlePath','hookType','isMobilePlatform','unyHs','../../helpers/test-observability/utils','../../helpers/accessibility-automation/scripts','name','3083322tdJcyM','thTestRunUuid','passed','Gjitw','hiJdc','stringify','performScan','LruNs','browserStackExecuteDriver','codeceptjs','SDK_PRE_TEST','hook-started','flushPendingHookEvents','shouldWrapCommand','TEST_LOG','jJCRu','NtXvq','overwriteCommand','Screenshot\x20path\x20not\x20found','codeceptjs/lib/recorder.js','debug','test-after','SDK_TEST','started','RtYvg','WngaZ','OIIlS','test-before','Puppeteer','aHOXs','getAccessibilityResultsSummary','version','4536707YQuPDu','Yfdmt','getAccessibilityResults','\x0aStack:\x20','TeuKl','failed','after','DJpCt','measureWrapper','TestCafe','command','dispatcher','Failed\x20to\x20execute\x20_before:\x20','iHzvD','start','jGTry','bddStep-before','TEST_RUN_FINISHED','ZEaZF','VLVpf','SDK_POST_TEST','title','zISCn','fqvHA','event','forEach','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','82270lqXIvT','includes','util','uNQGw','getGlobal','SDK_HOOK','add','GBTOX','./helper.js','../../helpers/testhub/constants.js','hook','step','3682048ZbFATS','domForge','getResultsSummary','--auto-open-devtools-for-tabs','contexts','function','bddStepFinish','test-passed','reason','find','1884951TzThby','SYNC','before','irzFB','devtools://','Performing\x20scan\x20for\x20','saveTestResults','addRequestSpy','ZNEyk','thJwtToken','bind','opYZh','toString','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','constructor','../../helpers/performance/performance-tester','dzqXC','IJeCI','__skipSessionStatus','DLQIV','slice','toISOString','apply','isArray','a11y_core_config','RYwGK','captureEvent','GET_RESULTS','35sBweFn','MsTBB','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20Playwright\x20_before:\x20','url','class','hook-failed','codeceptjs/lib/utils.js','patchSaveScreenshot','hglSU','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','exports','Element','page','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','../../bin/playwright/sessionDetails','NePun','HHrjP','__workerDetails','JpqkT','FVHwh','readFileSync','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','pid','PFdLH','captureError','tplZb','filter','stopMonitoring','FRAMEWORK_DETAILS','from','xvXQk','bstackAllyScanning','BS_A11Y_JWT','setSessionName','container','TEST_RUN_STARTED','bXBFz','setSessionStatus','PERFORM_SCAN','env','config','browserContext','all','afterTest','browser','PQYMr','YffsA','parse','bddStep-after','prototype','testFramework','thBuildUuid','browserstack_executor:\x20','testAnalyticsId','hook-passed','INFO','NCgQh','CmIsy','SywMW','call','initSaveScreenshot'];a1_0x5ed2=function(){return _0x3bda73;};return a1_0x5ed2();}(function(_0x2f7f79,_0x389364){const _0x4b72be=a1_0x4d0c,_0x294ae2=_0x2f7f79();while(!![]){try{const _0x5e9add=parseInt(_0x4b72be(0x21b))/0x1+parseInt(_0x4b72be(0x1d1))/0x2+parseInt(_0x4b72be(0x1e0))/0x3+-parseInt(_0x4b72be(0x199))/0x4*(-parseInt(_0x4b72be(0x24d))/0x5)+parseInt(_0x4b72be(0x1b5))/0x6*(parseInt(_0x4b72be(0x200))/0x7)+parseInt(_0x4b72be(0x227))/0x8+-parseInt(_0x4b72be(0x231))/0x9*(parseInt(_0x4b72be(0x1b7))/0xa);if(_0x5e9add===_0x389364)break;else _0x294ae2['push'](_0x294ae2['shift']());}catch(_0x103607){_0x294ae2['push'](_0x294ae2['shift']());}}}(a1_0x5ed2,0x86ab8));const fs=require('fs'),util=require(a1_0x4b3b56(0x21d)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x4b3b56(0x1be))[a1_0x4b3b56(0x1d2)],testOpsHelper=require(a1_0x4b3b56(0x1dd)),requestSpy=require(a1_0x4b3b56(0x1d5)),PlaywrightSessionDetails=require(a1_0x4b3b56(0x14d)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x4b3b56(0x1de)),PerformanceTester=require(a1_0x4b3b56(0x240)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x4b3b56(0x223)),testHubConstants=require(a1_0x4b3b56(0x224)),globals=require(a1_0x4b3b56(0x188)),CodeceptJS=requireModule(a1_0x4b3b56(0x1a1),'codeceptjs'),CodeceptUtils=requireModule(a1_0x4b3b56(0x253),a1_0x4b3b56(0x1e9)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js','codeceptjs'),CodeceptRecorder=requireModule(a1_0x4b3b56(0x1f3),a1_0x4b3b56(0x1e9)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x4b3b56(0x1e9)),playwrightMarkSessionStatus=(_0x2481b6,_0x5bb6f1,_0x1c85d9)=>{const _0x32d57e=a1_0x4b3b56,_0x5b170a={'cZCGt':_0x32d57e(0x164),'itJMR':function(_0x553b04,_0x19b147){return _0x553b04(_0x19b147);}},_0x28814f={};_0x28814f[_0x32d57e(0x1c6)]=_0x5bb6f1;const _0xd587c8={};_0xd587c8[_0x32d57e(0x1a2)]=_0x5b170a['cZCGt'],_0xd587c8['arguments']=_0x28814f;const _0xf4017=_0xd587c8;return!_0x5b170a['itJMR'](isUndefined,_0x1c85d9)&&(_0xf4017['arguments'][_0x32d57e(0x22f)]=JSON[_0x32d57e(0x1e5)](_0x1c85d9)),_0x2481b6['executeScript'](()=>{},_0x32d57e(0x173)+JSON['stringify'](_0xf4017));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x4b3b56(0x232)],async _0x445b83=>{const _0x3baaae=a1_0x4b3b56,_0x3645fe={};_0x3645fe[_0x3baaae(0x1dc)]=function(_0x170cc1,_0x15812f){return _0x170cc1===_0x15812f;},_0x3645fe['bbUPY']=_0x3baaae(0x1a5);const _0x23e408=_0x3645fe;_0x23e408[_0x3baaae(0x1dc)](_0x445b83[_0x3baaae(0x23f)][_0x3baaae(0x1df)],_0x23e408['bbUPY'])?await _0x445b83['executeScript'](_0x621881=>{},testOpsHelper[_0x3baaae(0x1c3)]()):await _0x445b83['executeScript'](testOpsHelper[_0x3baaae(0x1c3)]());}),markSessionName=PerformanceTester[a1_0x4b3b56(0x208)](PerformanceAutEvents[a1_0x4b3b56(0x189)],async(_0x130400,_0x35538f)=>{const _0x5107c1=a1_0x4b3b56,_0x571f49={};_0x571f49[_0x5107c1(0x239)]=_0x5107c1(0x160),_0x571f49[_0x5107c1(0x1b9)]=function(_0x10f083,_0xa36d98){return _0x10f083===_0xa36d98;},_0x571f49[_0x5107c1(0x20f)]=_0x5107c1(0x1a5);const _0x1eaaf2=_0x571f49,_0xe21f3f={};_0xe21f3f['name']=_0x35538f;const _0x35b6b6={};_0x35b6b6[_0x5107c1(0x1a2)]=_0x1eaaf2[_0x5107c1(0x239)],_0x35b6b6[_0x5107c1(0x192)]=_0xe21f3f;const _0x440d30=_0x35b6b6;_0x1eaaf2[_0x5107c1(0x1b9)](_0x130400['constructor'][_0x5107c1(0x1df)],_0x1eaaf2['jGTry'])?await _0x130400[_0x5107c1(0x1b2)](()=>{},_0x5107c1(0x173)+JSON[_0x5107c1(0x1e5)](_0x440d30)):await _0x130400[_0x5107c1(0x1b2)]('browserstack_executor:\x20'+JSON[_0x5107c1(0x1e5)](_0x440d30));}),patchSaveScreenshot=_0x593a08=>{const _0x1b96eb=a1_0x4b3b56,_0x466c76={'eAJAW':'base64','TljXB':'TEST_SCREENSHOT','RKzUi':function(_0x49141c){return _0x49141c();},'uNQGw':function(_0x456aa6,_0x23c88d){return _0x456aa6(_0x23c88d);},'XCNOn':_0x1b96eb(0x1f2),'ByMtI':function(_0x5412b4,_0x42b868){return _0x5412b4(_0x42b868);}};_0x466c76[_0x1b96eb(0x1ce)](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x593a08['patchSaveScreenshot']&&(_0x593a08[_0x1b96eb(0x254)]=!![],_0x593a08[_0x1b96eb(0x17b)]=_0x593a08['saveScreenshot'],_0x593a08[_0x1b96eb(0x193)]=(_0xf73f1d,_0x38ff68=![])=>{const _0x2a9651=_0x1b96eb,_0x18679a={'iHzvD':_0x466c76['eAJAW'],'dzqXC':_0x466c76['TljXB'],'vOVOK':function(_0x36d235){const _0x17d0dd=a1_0x4d0c;return _0x466c76[_0x17d0dd(0x198)](_0x36d235);},'PHSit':function(_0x12e8f8,_0x26cc46){const _0x47fe48=a1_0x4d0c;return _0x466c76[_0x47fe48(0x21e)](_0x12e8f8,_0x26cc46);},'FISJG':_0x466c76[_0x2a9651(0x1a0)]};return new Promise(function(_0x1775ee,_0x58c128){const _0x2a0180=_0x2a9651;_0x593a08[_0x2a0180(0x17b)](_0xf73f1d,_0x38ff68)['then'](()=>{const _0x1aa91a=_0x2a0180,_0x5ec604=CodeceptUtils[_0x1aa91a(0x1c4)](_0xf73f1d);if(_0x5ec604){const _0x2d04be=fs[_0x1aa91a(0x153)](_0x5ec604);process[_0x1aa91a(0x18b)](_0x1aa91a(0x1c2)+process[_0x1aa91a(0x155)],{'timestamp':new Date()[_0x1aa91a(0x246)](),'message':_0x2d04be['toString'](_0x18679a[_0x1aa91a(0x20d)]),'kind':_0x18679a[_0x1aa91a(0x241)]}),_0x18679a[_0x1aa91a(0x1ae)](_0x1775ee);}_0x18679a['PHSit'](_0x58c128,new Error(_0x18679a[_0x1aa91a(0x1a7)]));})['catch'](()=>null);});});},patchWebDriverBefore=(_0x27e12a,_0x2e411e)=>{const _0x1ccf1f=a1_0x4b3b56,_0xa02534={'irzFB':function(_0x45bf74){return _0x45bf74();},'bXBFz':function(_0x25b2e4,_0x441764){return _0x25b2e4(_0x441764);},'WngaZ':function(_0x2ed95e,_0x1cbd50){return _0x2ed95e===_0x1cbd50;},'xvXQk':'webdriverio','hglSU':function(_0xdea109,_0x194a02){return _0xdea109===_0x194a02;},'mqyKv':'string','mzZIn':_0x1ccf1f(0x258),'jJCRu':_0x1ccf1f(0x22c)},_0x13dd2b=async function(_0x483780,_0x4763f4){const _0x1b2187=_0x1ccf1f;_0xa02534[_0x1b2187(0x234)](isAccessibilityAutomationSession)&&!global[_0x1b2187(0x15e)]&&global['accessibilityPlatform']&&scripts[_0x1b2187(0x1ed)](_0x483780[_0x1b2187(0x1df)])&&_0xa02534[_0x1b2187(0x163)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1b2187(0x165)],async()=>{const _0x5c008e=_0x1b2187;logger[_0x5c008e(0x1f4)](_0x5c008e(0x236)+_0x483780[_0x5c008e(0x251)]+'\x20'+_0x483780[_0x5c008e(0x1df)]),await AccessibilityHelper[_0x5c008e(0x1e8)](_0x27e12a,scripts['performScan']);},{'command':_0x483780[_0x1b2187(0x1df)]})());global[_0x1b2187(0x15e)]=![];const _0x81ef97=JSON['parse'](process[_0x1b2187(0x166)][_0x1b2187(0x15b)]||'{}');if(_0xa02534[_0x1b2187(0x1f9)](_0x81ef97?.[_0x1b2187(0x171)]?.[_0x1b2187(0x1df)],_0xa02534[_0x1b2187(0x15d)])&&_0xa02534[_0x1b2187(0x255)](typeof _0x81ef97?.['testFramework']?.[_0x1b2187(0x1ff)],_0xa02534[_0x1b2187(0x1aa)])&&_0x81ef97?.[_0x1b2187(0x171)]?.['version'][_0x1b2187(0x180)]('7'))return _0x4763f4[_0x1b2187(0x247)](null,Array['prototype'][_0x1b2187(0x245)][_0x1b2187(0x17a)](arguments,0x2));return _0x4763f4[_0x1b2187(0x247)](this,Array[_0x1b2187(0x170)]['slice'][_0x1b2187(0x17a)](arguments,0x2));},_0x194374=CodeceptWebDriver[_0x1ccf1f(0x170)][_0x1ccf1f(0x190)];CodeceptWebDriver['prototype'][_0x1ccf1f(0x190)]=async function(){const _0x2f7540=_0x1ccf1f;try{await _0x194374['apply'](this,arguments);}catch(_0x492123){logger['debug'](_0x2f7540(0x20c)+util[_0x2f7540(0x1ab)](_0x492123));}scripts['commandsToWrap'][_0x2f7540(0x159)](_0x596eaf=>_0x596eaf[_0x2f7540(0x1df)]&&_0x596eaf[_0x2f7540(0x251)])[_0x2f7540(0x219)](_0x5d9eaf=>{const _0x3acbd6=_0x2f7540;this[_0x3acbd6(0x16b)][_0x3acbd6(0x1f1)](_0x5d9eaf[_0x3acbd6(0x1df)],_0x13dd2b[_0x3acbd6(0x23b)](this,_0x5d9eaf),_0xa02534[_0x3acbd6(0x255)](_0x5d9eaf[_0x3acbd6(0x251)],_0xa02534[_0x3acbd6(0x1c1)]));}),_0xa02534[_0x2f7540(0x163)](processWebDriverConfig,_0x27e12a);try{_0x2e411e&&_0xa02534['hglSU'](typeof _0x2e411e[_0x2f7540(0x1ec)],_0xa02534[_0x2f7540(0x1ef)])&&await _0x2e411e[_0x2f7540(0x1ec)]();}catch(_0x5dee3a){logger['debug'](_0x2f7540(0x19c)+util['format'](_0x5dee3a));}};};function parseJwt(_0x386a9e){const _0x18dcd8=a1_0x4b3b56,_0x2bd5f2={};_0x2bd5f2['vTXlF']=_0x18dcd8(0x19d);const _0x1278f7=_0x2bd5f2;if(!_0x386a9e)return null;return JSON[_0x18dcd8(0x16e)](Buffer[_0x18dcd8(0x15c)](_0x386a9e['split']('.')[0x1],_0x1278f7[_0x18dcd8(0x17f)])[_0x18dcd8(0x23d)]());}const patchPlaywrightBefore=_0x45682c=>{const _0x99a38d=a1_0x4b3b56,_0x50decb={'WrsMk':function(_0x529df0){return _0x529df0();},'XhDql':_0x99a38d(0x235),'GBTOX':_0x99a38d(0x22a),'VLVpf':function(_0xec3588,_0xd94c30){return _0xec3588(_0xd94c30);},'CmIsy':function(_0x1aa6d8,_0x55768f){return _0x1aa6d8+_0x55768f;},'wwviW':_0x99a38d(0x203),'Gjitw':function(_0x5dfa12){return _0x5dfa12();},'hiJdc':function(_0x4bfff3){return _0x4bfff3();},'TeuKl':function(_0x5bddfc,_0x1e6e59){return _0x5bddfc===_0x1e6e59;},'DJpCt':_0x99a38d(0x22c)};PlaywrightSessionDetails[_0x99a38d(0x1c8)]();const _0x2c2c78=CodeceptPlaywright[_0x99a38d(0x170)]['_before'];CodeceptPlaywright['prototype']['_before']=async function(){const _0x4f449e=_0x99a38d,_0x5a727c={'DLQIV':function(_0x3df37a){const _0x2bfe39=a1_0x4d0c;return _0x50decb[_0x2bfe39(0x18d)](_0x3df37a);},'ebHvH':_0x50decb[_0x4f449e(0x1c9)],'opYZh':_0x50decb[_0x4f449e(0x222)],'ifgLk':function(_0x563211){return _0x50decb['WrsMk'](_0x563211);},'JpqkT':function(_0x3ab267,_0x2b3c71){const _0x2d4b56=_0x4f449e;return _0x50decb[_0x2d4b56(0x213)](_0x3ab267,_0x2b3c71);},'pRxuf':function(_0x4d3c50,_0x30a743){const _0x52a30e=_0x4f449e;return _0x50decb[_0x52a30e(0x178)](_0x4d3c50,_0x30a743);},'RYwGK':_0x50decb[_0x4f449e(0x1d7)]};this[_0x4f449e(0x168)]=await this[_0x4f449e(0x16b)][_0x4f449e(0x22b)]()[0x0];const _0x4b8e94=async()=>{const _0x471d7b=_0x4f449e,_0x4f4a02=this[_0x471d7b(0x167)]&&this['config'][_0x471d7b(0x1d6)]&&this['config']['chromium'][_0x471d7b(0x1a6)]&&Array[_0x471d7b(0x248)](this['config'][_0x471d7b(0x1d6)][_0x471d7b(0x1a6)])&&this[_0x471d7b(0x167)]['chromium'][_0x471d7b(0x1a6)][_0x471d7b(0x21c)](_0x5a727c[_0x471d7b(0x23c)]);if(_0x5a727c['ifgLk'](isAccessibilityAutomationSession)&&!_0x4f4a02)try{const _0xcc5dd1=_0x5a727c[_0x471d7b(0x151)](parseJwt,process[_0x471d7b(0x166)][_0x471d7b(0x15f)]);if(_0xcc5dd1&&_0xcc5dd1[_0x471d7b(0x249)]&&_0xcc5dd1[_0x471d7b(0x249)][_0x471d7b(0x228)]){const _0x4b59f3=this[_0x471d7b(0x168)][_0x471d7b(0x17d)][_0x471d7b(0x23b)](this['browserContext']);this[_0x471d7b(0x168)]['pages']=async function(){const _0x203b4e=_0x471d7b,_0x49fa18=await _0x5a727c[_0x203b4e(0x244)](_0x4b59f3),_0x5700fb=[];for(const _0x4112e8 of _0x49fa18){try{const _0x1fe314=await _0x4112e8['url']();!_0x1fe314[_0x203b4e(0x180)](_0x5a727c[_0x203b4e(0x197)])&&_0x5700fb[_0x203b4e(0x1a4)](_0x4112e8);}catch(_0x1ec89e){_0x5700fb[_0x203b4e(0x1a4)](_0x4112e8);}}return _0x5700fb;};}if(!_0x5a727c[_0x471d7b(0x244)](isBrowserstackInfra)){const _0x1c6daf=await this[_0x471d7b(0x259)][_0x471d7b(0x250)]();if(_0x1c6daf['startsWith'](_0x5a727c['ebHvH'])){const _0x2f1d1b=await this['browserContext']['pages']();this[_0x471d7b(0x1c5)](_0x2f1d1b[0x0]);}}}catch(_0x3ac03e){logger[_0x471d7b(0x1f4)](_0x471d7b(0x21a)+_0x3ac03e['message']+(_0x3ac03e[_0x471d7b(0x18e)]?_0x5a727c['pRxuf'](_0x5a727c[_0x471d7b(0x24a)],_0x3ac03e[_0x471d7b(0x18e)]):''));}};_0x50decb[_0x4f449e(0x1e3)](isBrowserstackInfra)&&await _0x50decb[_0x4f449e(0x1e4)](_0x4b8e94);await _0x2c2c78[_0x4f449e(0x247)](this,arguments);!_0x50decb['WrsMk'](isBrowserstackInfra)&&await _0x50decb['hiJdc'](_0x4b8e94);try{_0x45682c&&_0x50decb[_0x4f449e(0x204)](typeof _0x45682c[_0x4f449e(0x1ec)],_0x50decb[_0x4f449e(0x207)])&&await _0x45682c[_0x4f449e(0x1ec)]();}catch(_0x5b523c){logger['debug'](_0x4f449e(0x24f)+util['format'](_0x5b523c));}};},getCodeceptDriver=()=>{const _0x28b213=a1_0x4b3b56,_0x42f6d5={};_0x42f6d5['FVHwh']=_0x28b213(0x1ac),_0x42f6d5['XeMhC']=_0x28b213(0x1a5),_0x42f6d5[_0x28b213(0x18f)]=_0x28b213(0x1fc),_0x42f6d5[_0x28b213(0x217)]=_0x28b213(0x209);const _0x52a317=_0x42f6d5,_0x113898=[_0x52a317[_0x28b213(0x152)],_0x52a317['XeMhC'],_0x52a317[_0x28b213(0x18f)],_0x52a317[_0x28b213(0x217)]],_0x499f59=_0x113898[_0x28b213(0x230)](_0x18c71d=>!!CodeceptJS[_0x28b213(0x161)][_0x28b213(0x1b0)](_0x18c71d));if(!_0x499f59)return null;return CodeceptJS[_0x28b213(0x161)][_0x28b213(0x1b0)](_0x499f59);};module[a1_0x4b3b56(0x257)]=function(_0x493b20){const _0x39e249=a1_0x4b3b56,_0x1143d7={'aHOXs':function(_0x28fef8,_0x5efc2b){return _0x28fef8(_0x5efc2b);},'ZjQEL':function(_0x39e268,_0x15f7c4,_0x3db8fc){return _0x39e268(_0x15f7c4,_0x3db8fc);},'OIIlS':_0x39e249(0x202),'nwiuG':_0x39e249(0x154),'oXRLE':_0x39e249(0x1fe),'Yfdmt':_0x39e249(0x1d0),'mwsUf':_0x39e249(0x1eb),'ImzSx':_0x39e249(0x175),'GGloj':_0x39e249(0x252),'fhxqK':'browserstackTestName','lRFzl':function(_0x5d35eb){return _0x5d35eb();},'PuemB':_0x39e249(0x1fb),'NtXvq':function(_0x55d2ac){return _0x55d2ac();},'Jjbjs':function(_0x3249e1,_0x4b54d7){return _0x3249e1(_0x4b54d7);},'pxvNs':function(_0x151adb,_0x10b479,_0x36ec4c){return _0x151adb(_0x10b479,_0x36ec4c);},'VZrfV':_0x39e249(0x195),'PFdLH':function(_0x545f1f,_0x547f9b,_0x6385ad){return _0x545f1f(_0x547f9b,_0x6385ad);},'tplZb':_0x39e249(0x22e),'xAdsv':function(_0x5322a3){return _0x5322a3();},'mSPvd':function(_0x2e1ed9,_0x5e2351,_0xf5786,_0xbb9313){return _0x2e1ed9(_0x5e2351,_0xf5786,_0xbb9313);},'IJeCI':function(_0x46aea8,_0x9b6a29){return _0x46aea8===_0x9b6a29;},'iEPMN':'Suite','zISCn':_0x39e249(0x17e),'LruNs':_0x39e249(0x19a),'SywMW':_0x39e249(0x16a),'XGGpU':_0x39e249(0x1db),'tUeAb':function(_0xac2b4e,_0x366a4b,_0x2858b0){return _0xac2b4e(_0x366a4b,_0x2858b0);},'NCgQh':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','MsTBB':_0x39e249(0x1f5),'WTGdm':_0x39e249(0x176),'YffsA':_0x39e249(0x1ee),'AeNoK':'step-comment','ljMLq':_0x39e249(0x210),'haByF':_0x39e249(0x16f),'HHrjP':'Playwright'};_0x493b20['skipSessionStatus']&&(global[_0x39e249(0x243)]=_0x493b20[_0x39e249(0x1cd)]);PerformanceTester['startMonitoring']();const _0x20eb29=_0x1143d7[_0x39e249(0x1bf)](getCodeceptDriver),_0x44552b=new O11yHelper(_0x20eb29,_0x493b20),_0x201ffe=!!CodeceptJS[_0x39e249(0x161)][_0x39e249(0x1b0)](_0x1143d7[_0x39e249(0x14f)]);global['__driver']=_0x20eb29;_0x20eb29&&(PerformanceTester[_0x39e249(0x208)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x4eefa8=_0x39e249;_0x201ffe?_0x1143d7[_0x4eefa8(0x1fd)](patchPlaywrightBefore,_0x44552b):_0x1143d7['ZjQEL'](patchWebDriverBefore,_0x20eb29,_0x44552b);})(),PerformanceTester[_0x39e249(0x208)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x3e5d4f=_0x39e249,_0x2eff0d={};_0x2eff0d[_0x3e5d4f(0x1b6)]=_0x1143d7[_0x3e5d4f(0x1cf)],_0x2eff0d['jGsbo']=_0x1143d7[_0x3e5d4f(0x201)];const _0x2de09c=_0x2eff0d;_0x20eb29[_0x3e5d4f(0x1fe)]=async()=>{const _0xedd440=_0x3e5d4f;if(global['accessibilityPlatform']){const _0x7e1119={};return _0x7e1119[_0xedd440(0x20a)]=_0x2de09c[_0xedd440(0x1b6)],await PerformanceTester[_0xedd440(0x208)](PerformanceA11yEvents[_0xedd440(0x165)],async()=>{const _0xfd476d=_0xedd440;return await AccessibilityHelper[_0xfd476d(0x1e8)](_0x20eb29,scripts[_0xfd476d(0x1e6)]);},_0x7e1119)(),await PerformanceTester[_0xedd440(0x208)](PerformanceA11yEvents[_0xedd440(0x196)],async()=>{const _0x53552a=_0xedd440;return await AccessibilityHelper['browserStackExecuteDriver'](_0x20eb29,scripts[_0x53552a(0x229)]);})();}return logger['warn'](_0x2de09c[_0xedd440(0x18c)]),{};},_0x20eb29[_0x3e5d4f(0x202)]=async()=>{const _0x41020d=_0x3e5d4f;if(global[_0x41020d(0x183)]){const _0x4550ee={};return _0x4550ee[_0x41020d(0x20a)]=_0x1143d7[_0x41020d(0x1fa)],await PerformanceTester[_0x41020d(0x208)](PerformanceA11yEvents[_0x41020d(0x165)],async()=>{const _0x30ea1d=_0x41020d;return await AccessibilityHelper[_0x30ea1d(0x1e8)](_0x20eb29,scripts[_0x30ea1d(0x1e6)]);},_0x4550ee)(),await PerformanceTester[_0x41020d(0x208)](PerformanceA11yEvents[_0x41020d(0x24c)],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x20eb29,scripts['getResults']);})();}return logger[_0x41020d(0x187)](_0x1143d7['nwiuG']),{};},_0x1143d7[_0x3e5d4f(0x1fd)](patchSaveScreenshot,_0x20eb29);})());CodeceptJS[_0x39e249(0x218)]['dispatcher']['on'](CodeceptJS['event']['all'][_0x39e249(0x233)],()=>{const _0x21c318=_0x39e249;PerformanceTester[_0x21c318(0x20e)](PerformanceEvents[_0x21c318(0x1ea)]);try{_0x44552b[_0x21c318(0x20e)](),testOpsHelper[_0x21c318(0x238)](),PerformanceTester[_0x21c318(0x1b3)](PerformanceEvents[_0x21c318(0x1ea)]);}catch(_0x2485c4){PerformanceTester['captureError'](_0x2485c4),PerformanceTester[_0x21c318(0x1b3)](PerformanceEvents[_0x21c318(0x1ea)],![],_0x2485c4);}}),CodeceptJS[_0x39e249(0x218)][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x169)][_0x39e249(0x206)],async()=>{const _0x2f32b4=_0x39e249;PerformanceTester[_0x2f32b4(0x20e)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x2f32b4(0x181)](),await _0x44552b[_0x2f32b4(0x184)](),PerformanceTester[_0x2f32b4(0x1b3)](PerformanceEvents[_0x2f32b4(0x214)]);}catch(_0x543392){PerformanceTester['captureError'](_0x543392),PerformanceTester[_0x2f32b4(0x1b3)](PerformanceEvents[_0x2f32b4(0x214)],![],_0x543392);}finally{PerformanceTester[_0x2f32b4(0x15a)]();}});const _0x2b1871=(_0x580ea5,_0x3594d8)=>{const _0x34c4a7=_0x39e249;if(!_0x44552b)return;if(!_0x44552b['hasLiveDriverSession']()){_0x44552b[_0x34c4a7(0x19e)](_0x580ea5,_0x3594d8);return;}CodeceptRecorder['add'](()=>_0x44552b[_0x34c4a7(0x1bb)](_0x580ea5,_0x3594d8));};CodeceptJS[_0x39e249(0x218)]['dispatcher']['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x225)][_0x39e249(0x1f7)],_0x50242c=>{const _0x2c4a5f=_0x39e249;PerformanceTester[_0x2c4a5f(0x20e)](PerformanceEvents[_0x2c4a5f(0x220)]);try{const _0x5f483e=_0x50242c[_0x2c4a5f(0x19f)][_0x2c4a5f(0x1ba)],_0x1a7a5c=_0x44552b[_0x2c4a5f(0x24b)](TEST_EVENTS[_0x2c4a5f(0x1c0)],_0x5f483e);_0x1143d7[_0x2c4a5f(0x1b8)](_0x2b1871,TEST_EVENTS[_0x2c4a5f(0x1c0)],_0x1a7a5c);const _0x65e52={};_0x65e52[_0x2c4a5f(0x1da)]=_0x1143d7[_0x2c4a5f(0x1c7)],PerformanceTester[_0x2c4a5f(0x1b3)](PerformanceEvents['SDK_HOOK'],!![],null,_0x65e52);}catch(_0x2eacf2){const _0x4514a9={};_0x4514a9[_0x2c4a5f(0x1da)]=_0x1143d7[_0x2c4a5f(0x1c7)],PerformanceTester['end'](PerformanceEvents[_0x2c4a5f(0x220)],![],_0x2eacf2,_0x4514a9),PerformanceTester['captureError'](_0x2eacf2);}}),CodeceptJS[_0x39e249(0x218)][_0x39e249(0x20b)]['on'](CodeceptJS['event'][_0x39e249(0x225)][_0x39e249(0x1e2)],_0x40a0b2=>{const _0x1a6946=_0x39e249,_0x23cc2c={};_0x23cc2c['hookType']=_0x1143d7[_0x1a6946(0x186)],PerformanceTester[_0x1a6946(0x20e)](PerformanceHookEvents[_0x1a6946(0x220)],!![],null,_0x23cc2c);try{const _0x413459=_0x40a0b2[_0x1a6946(0x19f)]['test'],_0x2eb4d1=_0x44552b['captureEvent'](TEST_EVENTS[_0x1a6946(0x19b)],_0x413459);_0x1143d7[_0x1a6946(0x1b8)](_0x2b1871,TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2eb4d1);const _0x1fe416={};_0x1fe416[_0x1a6946(0x1da)]=_0x1143d7[_0x1a6946(0x186)],PerformanceTester[_0x1a6946(0x1b3)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1fe416);}catch(_0x2e2978){PerformanceTester['captureError'](_0x2e2978);const _0x1d120d={};_0x1d120d[_0x1a6946(0x1da)]=_0x1143d7[_0x1a6946(0x186)],PerformanceTester[_0x1a6946(0x1b3)](PerformanceHookEvents[_0x1a6946(0x220)],![],_0x2e2978,_0x1d120d);}}),CodeceptJS[_0x39e249(0x218)]['dispatcher']['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x225)][_0x39e249(0x205)],async(_0x46c790,_0x4b48d8)=>{const _0x38bcf5=_0x39e249;PerformanceTester[_0x38bcf5(0x20e)](PerformanceHookEvents[_0x38bcf5(0x220)]);try{const _0x33708a=_0x46c790[_0x38bcf5(0x19f)][_0x38bcf5(0x1ba)],_0x64a7a8=_0x44552b[_0x38bcf5(0x24b)](TEST_EVENTS[_0x38bcf5(0x19b)],_0x33708a,_0x4b48d8);_0x1143d7[_0x38bcf5(0x1b8)](_0x2b1871,TEST_EVENTS[_0x38bcf5(0x19b)],_0x64a7a8);const _0x5d50c6={};_0x5d50c6[_0x38bcf5(0x1da)]=_0x1143d7[_0x38bcf5(0x1a3)],PerformanceTester[_0x38bcf5(0x20e)](PerformanceHookEvents[_0x38bcf5(0x220)],!![],null,_0x5d50c6);}catch(_0x38159e){PerformanceTester['captureError'](_0x38159e);const _0x183b38={};_0x183b38[_0x38bcf5(0x1da)]=_0x1143d7[_0x38bcf5(0x1a3)],PerformanceTester[_0x38bcf5(0x1b3)](PerformanceHookEvents[_0x38bcf5(0x220)],![],_0x38159e,_0x183b38);}const _0x2d3e3f={};_0x2d3e3f[_0x38bcf5(0x1da)]=_0x1143d7[_0x38bcf5(0x1a3)],PerformanceTester['end'](PerformanceHookEvents[_0x38bcf5(0x220)],!![],null,_0x2d3e3f);}),CodeceptJS[_0x39e249(0x218)][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x1ba)][_0x39e249(0x233)],_0x58309f=>{const _0x335a70=_0x39e249;PerformanceTester[_0x335a70(0x20e)](PerformanceHookEvents[_0x335a70(0x220)]);try{globals['setGlobal'](_0x1143d7[_0x335a70(0x191)],_0x58309f[_0x335a70(0x215)]);_0x1143d7[_0x335a70(0x1bf)](isBrowserstackInfra)&&(_0x201ffe&&(global[_0x335a70(0x150)]={'currentTest':{'name':_0x58309f[_0x335a70(0x215)],'testInfo':{'titlePath':_0x58309f['titlePath']()}}}));const _0x2a0f64={};_0x2a0f64[_0x335a70(0x1da)]=_0x1143d7['PuemB'],PerformanceTester[_0x335a70(0x1b3)](PerformanceHookEvents[_0x335a70(0x220)],!![],null,_0x2a0f64);}catch(_0x43e3f0){PerformanceTester[_0x335a70(0x157)](_0x43e3f0);const _0x434500={};_0x434500['hookType']=_0x1143d7['PuemB'],PerformanceTester['end'](PerformanceHookEvents[_0x335a70(0x220)],![],_0x43e3f0,_0x434500);}}),CodeceptJS[_0x39e249(0x218)]['dispatcher']['on'](CodeceptJS[_0x39e249(0x218)]['test'][_0x39e249(0x1f7)],_0x22eb67=>{const _0x476c49=_0x39e249;PerformanceTester[_0x476c49(0x20e)](PerformanceHookEvents[_0x476c49(0x220)]);try{globals['setGlobal'](_0x1143d7['fhxqK'],_0x22eb67[_0x476c49(0x215)]);const _0x750414=_0x44552b[_0x476c49(0x24b)](TEST_EVENTS[_0x476c49(0x162)],_0x22eb67);CodeceptRecorder[_0x476c49(0x221)](()=>_0x44552b['flushPendingHookEvents']()),CodeceptRecorder[_0x476c49(0x221)](()=>_0x44552b[_0x476c49(0x1bb)](TEST_EVENTS[_0x476c49(0x162)],_0x750414)),CodeceptRecorder[_0x476c49(0x221)](async()=>{const _0x4ae98d=_0x476c49;_0x1143d7[_0x4ae98d(0x1f0)](isBrowserstackInfra)&&(!_0x1143d7[_0x4ae98d(0x17c)](isTrue,_0x493b20['skipSessionName'])&&await _0x1143d7[_0x4ae98d(0x1a9)](markSessionName,_0x20eb29,_0x22eb67['title']),_0x44552b[_0x4ae98d(0x1b1)]&&await _0x1143d7['aHOXs'](o11ySync,_0x20eb29));});}catch(_0x98df0a){const _0x1835e3={};_0x1835e3[_0x476c49(0x1da)]=_0x1143d7[_0x476c49(0x1b4)],PerformanceTester[_0x476c49(0x1b3)](PerformanceHookEvents[_0x476c49(0x220)],![],_0x98df0a,_0x1835e3),PerformanceTester[_0x476c49(0x157)](_0x98df0a);}const _0x30bbea={};_0x30bbea['hookType']=_0x1143d7[_0x476c49(0x1b4)],PerformanceTester[_0x476c49(0x1b3)](PerformanceHookEvents[_0x476c49(0x220)],!![],null,_0x30bbea);}),CodeceptJS[_0x39e249(0x218)]['dispatcher']['on'](CodeceptJS[_0x39e249(0x218)]['test'][_0x39e249(0x1e2)],_0x34de7a=>{const _0x1c73cb=_0x39e249;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x1801f1=_0x44552b[_0x1c73cb(0x24b)](TEST_EVENTS[_0x1c73cb(0x211)],_0x34de7a);CodeceptRecorder[_0x1c73cb(0x221)](()=>_0x44552b[_0x1c73cb(0x1bb)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1801f1)),CodeceptRecorder[_0x1c73cb(0x221)](async()=>{const _0x34d390=_0x1c73cb,_0x25a750={'RtYvg':function(_0x595495,_0x2b1915,_0x4d12be){const _0x13f548=a1_0x4d0c;return _0x1143d7[_0x13f548(0x156)](_0x595495,_0x2b1915,_0x4d12be);}};_0x1143d7[_0x34d390(0x1bf)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0xd3b5e2=_0x34d390;_0x201ffe?await _0x25a750[_0xd3b5e2(0x1f8)](playwrightMarkSessionStatus,_0x20eb29,STATE_PASSED):await _0x25a750[_0xd3b5e2(0x1f8)](markSessionStatus,_0x20eb29,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0x170da0){PerformanceTester[_0x1c73cb(0x157)](_0x170da0);const _0x392402={};_0x392402[_0x1c73cb(0x1da)]=_0x1143d7[_0x1c73cb(0x158)],PerformanceTester[_0x1c73cb(0x1b3)](PerformanceHookEvents[_0x1c73cb(0x220)],![],_0x170da0,_0x392402),PerformanceTester[_0x1c73cb(0x1b3)](PerformanceEvents[_0x1c73cb(0x1f6)],![],_0x170da0);}const _0x286701={};_0x286701[_0x1c73cb(0x1da)]=_0x1143d7['tplZb'],PerformanceTester[_0x1c73cb(0x1b3)](PerformanceHookEvents[_0x1c73cb(0x220)],!![],null,_0x286701);}),CodeceptJS['event'][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x1ba)][_0x39e249(0x205)],(_0x412a96,_0x19988a)=>{const _0x4179dd=_0x39e249,_0xcf91bd={'PQYMr':function(_0x5a0fe4){const _0x9c7aec=a1_0x4d0c;return _0x1143d7[_0x9c7aec(0x1a8)](_0x5a0fe4);},'NePun':function(_0x482e3b,_0x1dc61a,_0x547e07,_0x889100){const _0x406590=a1_0x4d0c;return _0x1143d7[_0x406590(0x1ca)](_0x482e3b,_0x1dc61a,_0x547e07,_0x889100);},'ZEaZF':function(_0x2a4eaa,_0xe0d285,_0x13ee00,_0x1b80d3){const _0x27104a=a1_0x4d0c;return _0x1143d7[_0x27104a(0x1ca)](_0x2a4eaa,_0xe0d285,_0x13ee00,_0x1b80d3);}};PerformanceTester[_0x4179dd(0x20e)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x1143d7[_0x4179dd(0x242)](_0x412a96[_0x4179dd(0x23f)]['name'],_0x1143d7['iEPMN'])){const _0x397b14=_0x44552b['captureEvent'](TEST_EVENTS[_0x4179dd(0x185)],_0x412a96[_0x4179dd(0x19f)][_0x4179dd(0x182)]);CodeceptRecorder[_0x4179dd(0x221)](()=>_0x44552b[_0x4179dd(0x1bb)](TEST_EVENTS[_0x4179dd(0x185)],_0x397b14));}else{const _0x2fd26c=_0x44552b[_0x4179dd(0x24b)](TEST_EVENTS[_0x4179dd(0x211)],_0x412a96,_0x19988a);CodeceptRecorder[_0x4179dd(0x221)](()=>{const _0x6f2ffc=_0x4179dd;try{_0x44552b[_0x6f2ffc(0x1bb)](TEST_EVENTS[_0x6f2ffc(0x211)],_0x2fd26c);}catch(_0x5bf306){logger[_0x6f2ffc(0x1f4)](_0x6f2ffc(0x23e)+util['format'](_0x5bf306)),PerformanceTester[_0x6f2ffc(0x1b3)](PerformanceEvents['SDK_TEST'],![],_0x5bf306);}}),CodeceptRecorder[_0x4179dd(0x221)](async()=>{const _0x1be2a1=_0x4179dd;try{_0xcf91bd[_0x1be2a1(0x16c)](isBrowserstackInfra)&&(_0x201ffe?await _0xcf91bd[_0x1be2a1(0x14e)](playwrightMarkSessionStatus,_0x20eb29,STATE_FAILED,_0x19988a):await _0xcf91bd[_0x1be2a1(0x212)](markSessionStatus,_0x20eb29,STATE_FAILED,_0x19988a));}catch(_0x34ae6f){logger['debug'](_0x1be2a1(0x25a)+util[_0x1be2a1(0x1ab)](_0x34ae6f)),PerformanceTester[_0x1be2a1(0x1b3)](PerformanceEvents[_0x1be2a1(0x1f6)],![],_0x34ae6f);}});}PerformanceTester['end'](PerformanceEvents[_0x4179dd(0x1f6)]);}catch(_0x12d53b){PerformanceTester[_0x4179dd(0x157)](_0x12d53b);const _0x289c51={};_0x289c51[_0x4179dd(0x1da)]=_0x1143d7[_0x4179dd(0x216)],PerformanceTester[_0x4179dd(0x1b3)](PerformanceHookEvents['SDK_HOOK'],![],_0x12d53b,_0x289c51),PerformanceTester[_0x4179dd(0x1b3)](PerformanceEvents[_0x4179dd(0x1f6)],![],_0x12d53b);}const _0x58d908={};_0x58d908[_0x4179dd(0x1da)]=_0x1143d7[_0x4179dd(0x216)],PerformanceTester[_0x4179dd(0x1b3)](PerformanceHookEvents[_0x4179dd(0x220)],!![],null,_0x58d908);}),CodeceptJS[_0x39e249(0x218)][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x1ba)]['skipped'],_0x43b449=>{const _0x26060b=_0x39e249;PerformanceTester[_0x26060b(0x20e)](PerformanceHookEvents['SDK_HOOK']);try{const _0x5d4db1=_0x44552b[_0x26060b(0x24b)](TEST_EVENTS[_0x26060b(0x185)],_0x43b449);CodeceptRecorder[_0x26060b(0x221)](()=>_0x44552b['fireEvent'](TEST_EVENTS[_0x26060b(0x185)],_0x5d4db1)),PerformanceTester[_0x26060b(0x1b3)](PerformanceEvents[_0x26060b(0x1f6)]);}catch(_0x28417d){PerformanceTester[_0x26060b(0x157)](_0x28417d),PerformanceTester[_0x26060b(0x1b3)](PerformanceEvents[_0x26060b(0x1f6)],![],_0x28417d);const _0x3e7975={};_0x3e7975[_0x26060b(0x1da)]=_0x1143d7[_0x26060b(0x1e7)],PerformanceTester[_0x26060b(0x1b3)](PerformanceHookEvents[_0x26060b(0x220)],![],_0x28417d,_0x3e7975);}const _0x5650b0={};_0x5650b0['hookType']=_0x1143d7[_0x26060b(0x1e7)],PerformanceTester[_0x26060b(0x1b3)](PerformanceHookEvents[_0x26060b(0x220)],!![],null,_0x5650b0);}),CodeceptJS['event'][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x1ba)][_0x39e249(0x206)],async(_0x1755bd,_0x5116fe)=>{const _0x4fd832=_0x39e249;try{PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);const _0x266961=_0x1143d7[_0x4fd832(0x1d4)](shouldScanTestForAccessibility,_0x1755bd[_0x4fd832(0x1d9)](),!![]);if(_0x1143d7[_0x4fd832(0x1a8)](isAccessibilityAutomationSession)&&global[_0x4fd832(0x183)]&&_0x266961){const _0x372544={};_0x372544[_0x4fd832(0x1e1)]=_0x1755bd[_0x4fd832(0x174)],_0x372544[_0x4fd832(0x172)]=process[_0x4fd832(0x166)][testHubConstants['ENV_VAR'][_0x4fd832(0x1bc)]],_0x372544[_0x4fd832(0x23a)]=process[_0x4fd832(0x166)][testHubConstants[_0x4fd832(0x1cc)][_0x4fd832(0x18a)]];const _0x5ee0dd=_0x372544;logger[_0x4fd832(0x1f4)](_0x4fd832(0x256)+JSON[_0x4fd832(0x1e5)](_0x5ee0dd)),CodeceptRecorder[_0x4fd832(0x221)](async()=>{const _0x118e2b=_0x4fd832,_0x2dedb0={};_0x2dedb0['command']=_0x1143d7[_0x118e2b(0x179)],await PerformanceTester[_0x118e2b(0x208)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3ab9ba=_0x118e2b;await AccessibilityHelper[_0x3ab9ba(0x1e8)](_0x20eb29,scripts['performScan']);},_0x2dedb0)(),globals[_0x118e2b(0x21f)](_0x1143d7['XGGpU'])&&(_0x5ee0dd['is_mobile_session']=!![]),await PerformanceTester[_0x118e2b(0x208)](PerformanceA11yEvents[_0x118e2b(0x194)],async()=>{const _0x548d0a=_0x118e2b;await AccessibilityHelper[_0x548d0a(0x1e8)](_0x20eb29,scripts[_0x548d0a(0x237)],_0x5ee0dd);})();}),logger['info'](_0x1143d7[_0x4fd832(0x177)]);}const _0x46ee8d={};_0x46ee8d[_0x4fd832(0x1da)]=_0x1143d7[_0x4fd832(0x24e)],PerformanceTester[_0x4fd832(0x1b3)](PerformanceHookEvents[_0x4fd832(0x220)],!![],null,_0x46ee8d);}catch(_0x1da68e){PerformanceTester[_0x4fd832(0x157)](_0x1da68e);const _0x308524={};_0x308524[_0x4fd832(0x1da)]=_0x1143d7[_0x4fd832(0x24e)],PerformanceTester[_0x4fd832(0x1b3)](PerformanceHookEvents[_0x4fd832(0x220)],![],_0x1da68e,_0x308524);}}),CodeceptJS[_0x39e249(0x218)]['dispatcher']['on'](CodeceptJS['event'][_0x39e249(0x226)][_0x39e249(0x1cb)],_0x58ac2a=>{const _0x9e5550=_0x39e249;PerformanceTester['start'](PerformanceHookEvents[_0x9e5550(0x220)]);try{process[_0x9e5550(0x18b)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x9e5550(0x246)](),'level':_0x1143d7[_0x9e5550(0x1bd)],'message':_0x58ac2a,'kind':_0x1143d7[_0x9e5550(0x16d)],'http_response':{}});}catch(_0x59ba0c){PerformanceTester[_0x9e5550(0x157)](_0x59ba0c);const _0x253616={};_0x253616[_0x9e5550(0x1da)]=_0x1143d7[_0x9e5550(0x1d3)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x59ba0c,_0x253616);}const _0x33ac52={};_0x33ac52[_0x9e5550(0x1da)]=_0x1143d7[_0x9e5550(0x1d3)],PerformanceTester['end'](PerformanceHookEvents[_0x9e5550(0x220)],!![],null,_0x33ac52);}),CodeceptJS[_0x39e249(0x218)][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)]['bddStep'][_0x39e249(0x233)],_0xebebb8=>{const _0x300051=_0x39e249,_0x829ad2={};_0x829ad2['hookType']=_0x1143d7[_0x300051(0x1af)],PerformanceTester[_0x300051(0x208)](PerformanceHookEvents[_0x300051(0x220)],()=>{const _0x3096bf=_0x300051;_0x44552b[_0x3096bf(0x1ad)](_0xebebb8);},_0x829ad2)();}),CodeceptJS['event'][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)]['bddStep']['after'],_0x51d674=>{const _0x1551fa=_0x39e249,_0x2387ca={};_0x2387ca[_0x1551fa(0x1da)]=_0x1143d7[_0x1551fa(0x1d8)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x1551fa(0x220)],()=>{const _0x16132a=_0x1551fa;_0x44552b[_0x16132a(0x22d)](_0x51d674);},_0x2387ca)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a2_0x122e(_0x52170d,_0x4baa3b){const _0x5b4f34=a2_0x5b4f();return a2_0x122e=function(_0x122e37,_0x1762af){_0x122e37=_0x122e37-0x12b;let _0x386d57=_0x5b4f34[_0x122e37];return _0x386d57;},a2_0x122e(_0x52170d,_0x4baa3b);}const a2_0x4f0077=a2_0x122e;(function(_0x48b162,_0x9919bd){const _0x1cf734=a2_0x122e,_0x477a7e=_0x48b162();while(!![]){try{const _0x1d1d7f=-parseInt(_0x1cf734(0x151))/0x1*(parseInt(_0x1cf734(0x15f))/0x2)+parseInt(_0x1cf734(0x1aa))/0x3+-parseInt(_0x1cf734(0x187))/0x4*(parseInt(_0x1cf734(0x143))/0x5)+-parseInt(_0x1cf734(0x1be))/0x6+parseInt(_0x1cf734(0x180))/0x7+parseInt(_0x1cf734(0x142))/0x8*(-parseInt(_0x1cf734(0x1c8))/0x9)+-parseInt(_0x1cf734(0x161))/0xa*(-parseInt(_0x1cf734(0x13c))/0xb);if(_0x1d1d7f===_0x9919bd)break;else _0x477a7e['push'](_0x477a7e['shift']());}catch(_0x506377){_0x477a7e['push'](_0x477a7e['shift']());}}}(a2_0x5b4f,0x4e1b4));const fs=require('fs'),path=require(a2_0x4f0077(0x1b0)),util=require('util'),process=require(a2_0x4f0077(0x1af)),logger=require(a2_0x4f0077(0x183))[a2_0x4f0077(0x154)],{default:BrowserStackSetup}=require(a2_0x4f0077(0x140)),helper=require(a2_0x4f0077(0x159)),utilities=require(a2_0x4f0077(0x160)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,processAccessibilityCaps}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x4f0077(0x159)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a2_0x4f0077(0x138)),testOpsHelper=require(a2_0x4f0077(0x14e)),TestHubHandler=require(a2_0x4f0077(0x1c6)),constants=require('../utils/constants'),PerformanceTester=require(a2_0x4f0077(0x191)),{FRAMEWORKS}=require(a2_0x4f0077(0x177)),PerformanceEvents=require(a2_0x4f0077(0x150))[a2_0x4f0077(0x1a2)],ClientTroubleShootingService=require(a2_0x4f0077(0x13f)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x212859,_0x19fae2)=>{const _0x1b79fe=a2_0x4f0077,_0x1b7655={};_0x1b7655[_0x1b79fe(0x1b5)]=function(_0x4e5474,_0x1088a0){return _0x4e5474===_0x1088a0;},_0x1b7655['fKOSn']=_0x1b79fe(0x17e),_0x1b7655[_0x1b79fe(0x14b)]=_0x1b79fe(0x141);const _0x77825f=_0x1b7655;let _0xb666d9=null;const _0x3630b4={};let _0x3ebd5d=_0x19fae2['findIndex'](_0xf94c17=>_0xf94c17==='--config');_0x77825f[_0x1b79fe(0x1b5)](_0x3ebd5d,-0x1)&&(_0x3ebd5d=_0x19fae2[_0x1b79fe(0x1b6)](_0x5716e3=>_0x5716e3==='-c'));if(!helper[_0x1b79fe(0x1c9)](_0x212859['config'])&&fs[_0x1b79fe(0x137)](path[_0x1b79fe(0x15d)](process['cwd'](),_0x212859[_0x1b79fe(0x189)])))_0xb666d9=path[_0x1b79fe(0x15d)](process[_0x1b79fe(0x14d)](),_0x212859[_0x1b79fe(0x189)]),_0x19fae2['slice'](_0x3ebd5d,0x2);else{if(!helper[_0x1b79fe(0x1c9)](_0x212859['c'])&&fs[_0x1b79fe(0x137)](path[_0x1b79fe(0x15d)](process[_0x1b79fe(0x14d)](),_0x212859['c'])))_0xb666d9=path['join'](process[_0x1b79fe(0x14d)](),_0x212859['c']),_0x19fae2[_0x1b79fe(0x12d)](_0x3ebd5d,0x2);else{if(fs['existsSync'](path[_0x1b79fe(0x15d)](process[_0x1b79fe(0x14d)](),_0x77825f[_0x1b79fe(0x1cd)])))_0xb666d9=path['join'](process[_0x1b79fe(0x14d)](),_0x77825f[_0x1b79fe(0x1cd)]);else fs[_0x1b79fe(0x137)](path[_0x1b79fe(0x15d)](process[_0x1b79fe(0x14d)](),_0x77825f[_0x1b79fe(0x14b)]))&&(_0xb666d9=path[_0x1b79fe(0x15d)](process[_0x1b79fe(0x14d)](),_0x77825f[_0x1b79fe(0x14b)]));}}return process[_0x1b79fe(0x1b9)][_0x1b79fe(0x156)]=_0xb666d9,_0xb666d9;},getO11yRerunPattern=()=>{const _0x3cd585=a2_0x4f0077,_0x2abbeb=helper['isTrue'](process[_0x3cd585(0x1b9)][_0x3cd585(0x14a)]);if(_0x2abbeb){const _0x388b8a=process['env'][_0x3cd585(0x15c)],_0xa3cdfb=[];if(helper['validateRerunTestList'](_0x388b8a)&&!helper['isUndefined'](_0x388b8a)){_0x388b8a[_0x3cd585(0x18f)](',')[_0x3cd585(0x12c)](_0x389b24=>{const _0xe2f774=_0x3cd585;_0xa3cdfb[_0xe2f774(0x149)]('('+_0x389b24[_0xe2f774(0x1ca)]()+')');});const _0x56635b='^'+_0xa3cdfb[_0x3cd585(0x15d)]('|')+'$';return _0x56635b;}}return null;},a2_0x547d76={};a2_0x547d76[a2_0x4f0077(0x186)]=a2_0x4f0077(0x13e),a2_0x547d76[a2_0x4f0077(0x170)]=a2_0x4f0077(0x13e),a2_0x547d76[a2_0x4f0077(0x132)]=a2_0x4f0077(0x13d),a2_0x547d76[a2_0x4f0077(0x178)]='webkit';const pwToCodeceptBrowser=a2_0x547d76;async function run(_0x134573,_0x57b64d,_0x389145){const _0x1835bf=a2_0x4f0077,_0x2a3dc5={'JRtIc':function(_0x3186e2,_0x4b435b,_0x3f4ab3,_0x44c175){return _0x3186e2(_0x4b435b,_0x3f4ab3,_0x44c175);},'qCrUI':function(_0x5b669c,_0x2bafc1){return _0x5b669c+_0x2bafc1;},'qLnPF':function(_0x5270b1,_0x281469){return _0x5270b1(_0x281469);},'YseDT':function(_0x1d426f,_0x92c461){return _0x1d426f+_0x92c461;},'psgiQ':function(_0x2638fb,_0x4f2377,_0x57b111){return _0x2638fb(_0x4f2377,_0x57b111);},'EJonJ':_0x1835bf(0x182),'lsjoU':function(_0x328824){return _0x328824();},'oYDEC':'/wd/hub','ZYXNr':function(_0xce2888){return _0xce2888();},'JQNdY':function(_0x55ffa6){return _0x55ffa6();},'cnNoa':_0x1835bf(0x146),'HNhbM':_0x1835bf(0x1a3),'CvODy':_0x1835bf(0x185),'nfPdm':_0x1835bf(0x172),'mipQZ':function(_0x6f071f,_0x556446,_0x3ea772){return _0x6f071f(_0x556446,_0x3ea772);},'AAijy':_0x1835bf(0x181),'pgHAA':function(_0x3b9c26,_0x2c8d44,_0x2d4b82){return _0x3b9c26(_0x2c8d44,_0x2d4b82);},'hrtIK':_0x1835bf(0x1b2),'bwPBg':'WebDriver','DCiGy':function(_0x2822f9,_0x39b286){return _0x2822f9!=_0x39b286;},'HfqvI':function(_0x1f93a0,_0x5ddb30){return _0x1f93a0===_0x5ddb30;},'Qcehn':function(_0x3b7ea4,_0x2acaa5,_0x400f40){return _0x3b7ea4(_0x2acaa5,_0x400f40);},'MdotQ':_0x1835bf(0x18d),'vWiqq':function(_0x1064a2,_0x4d924b){return _0x1064a2*_0x4d924b;},'eNFnV':function(_0x229c6a,_0x2becbd,_0x101f56){return _0x229c6a(_0x2becbd,_0x101f56);},'uYqvI':_0x1835bf(0x1b8),'KNKza':'desiredCapabilities','TyIgR':_0x1835bf(0x175),'YheRZ':_0x1835bf(0x131),'XSdAZ':_0x1835bf(0x197),'xLKnl':function(_0x274365){return _0x274365();}};await _0x389145[_0x1835bf(0x147)](_0x134573),await helper[_0x1835bf(0x130)](_0x389145[_0x1835bf(0x189)]);if(!_0x389145[_0x1835bf(0x189)])return;process[_0x1835bf(0x12e)]=_0x134573[_0x1835bf(0x12e)];_0x134573[_0x1835bf(0x12e)]&&(process[_0x1835bf(0x1b9)][_0x1835bf(0x12e)]=_0x134573[_0x1835bf(0x12e)]);const _0xc7bc74=_0x2a3dc5['mipQZ'](getUserCodeceptJSConfigs,_0x134573,_0x57b64d);let _0x3538e3={};_0xc7bc74?(logger['info'](_0x1835bf(0x157)+_0xc7bc74),_0x3538e3=CodeceptJS[_0x1835bf(0x189)]['load'](_0xc7bc74)):logger[_0x1835bf(0x179)](_0x2a3dc5[_0x1835bf(0x199)]);let _0x39ce47=![];_0x2a3dc5[_0x1835bf(0x1a9)](nestedKeyValue,_0x3538e3,[_0x2a3dc5[_0x1835bf(0x19d)],_0x2a3dc5[_0x1835bf(0x1a5)]])&&(_0x39ce47=!![]);const _0x2835b0=_0x39ce47?_0x2a3dc5[_0x1835bf(0x1a5)]:_0x2a3dc5[_0x1835bf(0x1c7)];let _0x44f0a8=!_0x39ce47?helper[_0x1835bf(0x1ad)](_0x389145[_0x1835bf(0x189)]):![];!helper[_0x1835bf(0x1c9)](_0x389145[_0x1835bf(0x189)][_0x1835bf(0x176)])&&(process[_0x1835bf(0x1b9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1835bf(0x1ab)](_0x389145[_0x1835bf(0x189)][_0x1835bf(0x176)]));let _0x4ec77a=_0x389145[_0x1835bf(0x189)]['accessibility'];_0x4ec77a=_0x4ec77a||_0x2a3dc5[_0x1835bf(0x158)](checkAccessibilityPlatformConfig,_0x389145[_0x1835bf(0x189)]),process[_0x1835bf(0x1b9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4ec77a;_0x4ec77a&&(_0x44f0a8=!_0x4ec77a);_0x2a3dc5[_0x1835bf(0x15a)](_0x389145[_0x1835bf(0x189)]['testObservability'],null)?process[_0x1835bf(0x1b9)][_0x1835bf(0x15b)]=_0x389145[_0x1835bf(0x189)][_0x1835bf(0x1a1)]:process[_0x1835bf(0x1b9)][_0x1835bf(0x15b)]=_0x2a3dc5[_0x1835bf(0x17a)](_0x2835b0,_0x2a3dc5['hrtIK']);const _0x2e4702=_0x2a3dc5[_0x1835bf(0x166)](nestedKeyValue,_0x3538e3,[_0x2a3dc5['MdotQ']]),_0x546e5f=_0x2e4702&&!helper[_0x1835bf(0x1ba)](_0x2e4702)?FRAMEWORKS[_0x1835bf(0x136)]:FRAMEWORKS[_0x1835bf(0x196)],_0xf4cf8a=await TestHubHandler[_0x1835bf(0x12b)](_0x546e5f,_0x389145);_0x4ec77a&&_0x2a3dc5[_0x1835bf(0x158)](setAccessibilityCapabilities,_0x389145[_0x1835bf(0x189)]);const _0x303c14={},_0x515024=[],_0x24860f=_0x389145[_0x1835bf(0x189)][_0x1835bf(0x1ac)]||helper[_0x1835bf(0x162)](_0x134573,_0x57b64d,_0x389145[_0x1835bf(0x189)],constants['FRAMEWORKS'][_0x1835bf(0x196)])||0x1;let _0x16c233=0x1;if(_0x2a3dc5[_0x1835bf(0x15e)](isBrowserstackInfra)){const _0x2ba332=helper[_0x1835bf(0x17c)](_0x389145[_0x1835bf(0x189)],_0x44f0a8,constants[_0x1835bf(0x174)][_0x1835bf(0x196)]);_0x2ba332[_0x1835bf(0x1c2)](_0x558b99=>{helper['setAdditionalCapabilities'](_0x558b99);}),helper['validPlatformsPresent'](_0x389145['config'])?_0x16c233=_0x2a3dc5[_0x1835bf(0x13a)](_0x24860f,_0x389145[_0x1835bf(0x189)][_0x1835bf(0x12f)][_0x1835bf(0x165)]):_0x16c233=_0x24860f,_0x2ba332[_0x1835bf(0x1c2)](_0x11c488=>{const _0x1261fc=_0x1835bf,_0x382ab2={'VAqTN':function(_0x42c5b3,_0x238b6f,_0x350329,_0x514a7d){const _0x5da284=a2_0x122e;return _0x2a3dc5[_0x5da284(0x144)](_0x42c5b3,_0x238b6f,_0x350329,_0x514a7d);},'Rhrkj':function(_0x49a28e,_0x10534a){const _0xc2e144=a2_0x122e;return _0x2a3dc5[_0xc2e144(0x192)](_0x49a28e,_0x10534a);},'vtvSA':function(_0x4d2de2,_0x2d4c4b){return _0x2a3dc5['qLnPF'](_0x4d2de2,_0x2d4c4b);}},_0x51b70a=_0x2a3dc5[_0x1261fc(0x193)](helper[_0x1261fc(0x167)](_0x11c488,'_'),'_'+Date['now']()),_0x5755f0=((()=>{const _0x651bf7=_0x1261fc;if(_0x39ce47){const _0x4d9b0c=pwToCodeceptBrowser[_0x11c488[_0x651bf7(0x155)]]||_0x11c488[_0x651bf7(0x155)],_0x582ca6=helper[_0x651bf7(0x18a)](_0x389145[_0x651bf7(0x189)]),_0xb436c3=Object[_0x651bf7(0x139)]({},_0x11c488);return _0x382ab2[_0x651bf7(0x190)](processAccessibilityCaps,_0xb436c3,_0x582ca6,null),{'browser':_0x4d9b0c,[_0x4d9b0c]:{'browserWSEndpoint':_0x382ab2[_0x651bf7(0x1b4)](_0x582ca6,_0x382ab2[_0x651bf7(0x1a6)](encodeURIComponent,JSON[_0x651bf7(0x1ab)](_0xb436c3)))}};}const _0x1eb07d={};return _0x1eb07d[_0x651bf7(0x1a4)]=_0x11c488,_0x1eb07d['user']=_0x389145['config'][_0x651bf7(0x1bb)],_0x1eb07d[_0x651bf7(0x19c)]=_0x389145['config']['accessKey'],_0x1eb07d;})()),_0x467b7a=_0x2a3dc5[_0x1261fc(0x152)](nestedKeyValue,_0x3538e3,[_0x2a3dc5[_0x1261fc(0x19d)],_0x2835b0]);_0x303c14[_0x51b70a]=_0x467b7a?helper[_0x1261fc(0x169)](_0x5755f0,_0x467b7a):_0x5755f0;if(_0x39ce47)_0x303c14[_0x51b70a][_0x1261fc(0x1b8)]=pwToCodeceptBrowser[_0x11c488['browserName']]||_0x11c488[_0x1261fc(0x155)];else{_0x303c14[_0x51b70a][_0x1261fc(0x1b8)]=_0x11c488[_0x1261fc(0x155)]||_0x5755f0[_0x1261fc(0x1b8)];if(_0x2a3dc5[_0x1261fc(0x15e)](isBrowserstackInfra)){_0x303c14[_0x51b70a][_0x1261fc(0x188)]=constants[_0x1261fc(0x1cb)][_0x1261fc(0x148)](_0x2a3dc5['oYDEC'],'')[_0x1261fc(0x148)](/https?:\/\//,'');;_0x303c14[_0x51b70a][_0x1261fc(0x1b0)]=_0x2a3dc5[_0x1261fc(0x184)];}}_0x515024[_0x1261fc(0x149)](_0x51b70a);});}else{_0x16c233=0x1;if(_0x39ce47){const _0x59f31f=_0x2a3dc5[_0x1835bf(0x134)](nestedKeyValue,_0x3538e3,[_0x2a3dc5[_0x1835bf(0x19d)],_0x2835b0,_0x2a3dc5['uYqvI']]),_0x2ef37f=_0x2a3dc5[_0x1835bf(0x152)](nestedKeyValue,_0x3538e3,[_0x2a3dc5['EJonJ'],_0x2835b0,_0x59f31f]);if(_0x2ef37f&&_0x2ef37f[_0x1835bf(0x16e)]){const _0x73be97={};_0x73be97[_0x1835bf(0x12f)]=[],_0x2ef37f['browserWSEndpoint']=helper[_0x1835bf(0x17c)](Object[_0x1835bf(0x139)]({},_0x389145[_0x1835bf(0x189)],_0x73be97),null,_0x546e5f[_0x1835bf(0x1a8)](),null,null,_0x2ef37f[_0x1835bf(0x16e)]);}}else{const _0x41c1a9={};_0x41c1a9[_0x1835bf(0x12f)]=[],_0x3538e3[_0x2a3dc5[_0x1835bf(0x19d)]][_0x2835b0][_0x2a3dc5[_0x1835bf(0x17f)]]=helper[_0x1835bf(0x17c)](Object[_0x1835bf(0x139)]({},_0x389145[_0x1835bf(0x189)],_0x41c1a9),null,_0x546e5f[_0x1835bf(0x1a8)](),_0x2a3dc5['eNFnV'](nestedKeyValue,_0x3538e3,[_0x2a3dc5['EJonJ'],_0x2835b0,_0x2a3dc5[_0x1835bf(0x17f)]])||{},null,null);}_0x303c14[_0x2a3dc5['TyIgR']]=_0x3538e3,_0x515024[_0x1835bf(0x149)](_0x2a3dc5[_0x1835bf(0x14f)]);}const _0x2a4f21={};_0x2a4f21[_0x1835bf(0x1bd)]=_0xc7bc74;const _0x581272=_0x2a4f21,_0x3e6d90=path[_0x1835bf(0x15d)](__dirname,_0x2a3dc5[_0x1835bf(0x1cc)]),_0x1e6a84=process['cwd']();process[_0x1835bf(0x1b9)][_0x2a3dc5[_0x1835bf(0x16f)]]=_0x1e6a84,process[_0x1835bf(0x19b)](path[_0x1835bf(0x1c1)](_0xc7bc74));const _0xb8d63a=new CodeceptJS[(_0x1835bf(0x198))](null,_0x581272),_0x300c25=_0xb8d63a[_0x1835bf(0x1a0)](_0x24860f),_0x38d10a=testOpsHelper[_0x1835bf(0x168)](),_0x51004c=_0x515024[_0x1835bf(0x12c)](_0x186154=>{const _0x48678b=_0x1835bf,_0x29ad4f={};_0x29ad4f['Playwright']=_0x303c14[_0x186154];const _0x1f0005={};_0x1f0005[_0x48678b(0x1b7)]=_0x303c14[_0x186154];const _0x4955d1=_0x39ce47?_0x29ad4f:_0x1f0005,_0x2356d7=_0x2a3dc5[_0x48678b(0x1a7)](getO11yRerunPattern),_0x42028f={};_0x42028f[_0x48678b(0x182)]=_0x4955d1;const _0x54bbbc={};_0x54bbbc[_0x48678b(0x18e)]=_0x3e6d90,_0x54bbbc['enabled']=!![],_0x54bbbc[_0x48678b(0x1c0)]=_0x389145[_0x48678b(0x189)][_0x48678b(0x194)]['skipSessionName'],_0x54bbbc[_0x48678b(0x16c)]=_0x389145[_0x48678b(0x189)][_0x48678b(0x194)][_0x48678b(0x16c)],_0x54bbbc[_0x48678b(0x1a1)]=_0x38d10a,_0x54bbbc['frameworkName']=_0x546e5f;const _0x224a3c={};_0x224a3c[_0x48678b(0x195)]=_0x54bbbc;const _0x329474={};return _0x329474['plugins']=_0x224a3c,helper[_0x48678b(0x169)]({},_0x3538e3,_0x2a3dc5[_0x48678b(0x1ae)](isBrowserstackInfra)?_0x42028f:{},_0x2356d7?{'grep':_0x2356d7}:{},_0x329474);});for(const _0x31f4c7 of _0x51004c){for(const _0x515f90 of _0x300c25){const _0x1d18c1=_0xb8d63a[_0x1835bf(0x16a)]();_0x1d18c1[_0x1835bf(0x163)](_0x515f90),_0x1d18c1['addConfig'](_0x31f4c7);const _0xf85d43={};_0xf85d43['config']=_0xc7bc74,_0x1d18c1[_0x1835bf(0x153)](Object['assign'](_0xf85d43,_0x134573));}}_0xb8d63a['on'](CodeceptJS[_0x1835bf(0x1c4)]['test']['failed'],(_0x322c78,_0x550863)=>{const _0x5c0c32=_0x1835bf;console['log'](_0x2a3dc5[_0x5c0c32(0x1c5)],_0x322c78[_0x5c0c32(0x18c)]);const _0x4ab0be={[_0x322c78['title']]:_0x322c78['err'][_0x5c0c32(0x171)]};_testErrorData[_0x5c0c32(0x149)](_0x4ab0be);}),_0xb8d63a['on'](CodeceptJS[_0x1835bf(0x1c4)][_0x1835bf(0x164)][_0x1835bf(0x135)],async _0x464eaf=>{const _0x53c8f2=_0x1835bf;console[_0x53c8f2(0x1bc)](_0x2a3dc5[_0x53c8f2(0x1c3)],_0x464eaf['title']);}),_0xb8d63a['on'](CodeceptJS['event'][_0x1835bf(0x164)][_0x1835bf(0x145)],async _0x4745ed=>{const _0x13cfa5=_0x1835bf;console[_0x13cfa5(0x1bc)](_0x2a3dc5['CvODy'],_0x4745ed[_0x13cfa5(0x18c)]);}),_0xb8d63a['on'](CodeceptJS['event']['all']['result'],async()=>{const _0x2f568e=_0x1835bf,_0x569e31=_0x2a3dc5[_0x2f568e(0x19f)][_0x2f568e(0x18f)]('|');let _0x32ef8e=0x0;while(!![]){switch(_0x569e31[_0x32ef8e++]){case'0':utilities[_0x2f568e(0x1bf)](_0x389145);continue;case'1':_0xb8d63a[_0x2f568e(0x18b)]();continue;case'2':testOpsHelper[_0x2f568e(0x14c)]();continue;case'3':try{await TestHubHandler[_0x2f568e(0x19e)]();}catch(_0x105fd6){logger['debug'](_0x2f568e(0x17d)+util[_0x2f568e(0x16d)](_0x105fd6));}continue;case'4':_0x389145[_0x2f568e(0x173)]=_testErrorData;continue;case'5':PerformanceTester[_0x2f568e(0x1b1)](PerformanceEvents[_0x2f568e(0x13b)]);continue;}break;}});async function _0x2ee623(){const _0x6e2a23=_0x1835bf;try{await _0xb8d63a[_0x6e2a23(0x1b3)](),await _0xb8d63a['run']();}finally{process[_0x6e2a23(0x19b)](_0x1e6a84),await _0xb8d63a[_0x6e2a23(0x17b)]();}}PerformanceTester[_0x1835bf(0x133)](PerformanceEvents['SDK_SETUP']),await _0x2a3dc5[_0x1835bf(0x19a)](_0x2ee623);}module[a2_0x4f0077(0x16b)]=run;function a2_0x5b4f(){const _0x423882=['trim','hubUrl','YheRZ','fKOSn','launchBuild','map','slice','profile','platforms','handleApp','BrowserStackPlugin.js','playwright-firefox','end','eNFnV','passed','CODECEPT_CUCUMBER','existsSync','codeceptjs','assign','vWiqq','SDK_CLEANUP','3911281mPDpCg','firefox','chromium','../utils/clientTroubleshootingService','../../helpers/BrowserStackSetup','codecept.json','41816TPDbIv','1270OGUAZA','JRtIc','before','Failed\x20:\x20','initialize','replace','push','BROWSERSTACK_RERUN','GGhhS','printBuildLink','cwd','../../helpers/test-observability/utils','TyIgR','../../helpers/performance/constants','24989mQMuXR','psgiQ','addOptions','winstonLogger','browserName','USER_CONFIG_DETAILS_PATH','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','qLnPF','../../helpers/helper','DCiGy','BROWSERSTACK_TEST_OBSERVABILITY_YML','BROWSERSTACK_RERUN_TESTS','join','lsjoU','34EsYizQ','../../helpers/utilities','50hAvIAf','getUserWorkerCount','addTests','test','length','Qcehn','getPlatformName','isTestObservabilitySession','mergeDeep','spawn','exports','skipSessionStatus','format','browserWSEndpoint','XSdAZ','playwright-chromium','stack','5|4|2|0|3|1','errorMessage','FRAMEWORKS','root','accessibilityOptions','../../helpers/test-observability/constants','playwright-webkit','info','HfqvI','teardownAll','prepareCapabilities','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','codecept.conf.js','KNKza','2883902DVMRgS','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','helpers','../../helpers/logger','oYDEC','Started\x20:\x20','chrome','8700MEueiw','host','config','getPlaywrightUrl','printResults','title','gherkin','require','split','VAqTN','../../helpers/performance/performance-tester','qCrUI','YseDT','testContextOptions','BrowserStackPlugin','CODECEPT','browserStackCwd','Workers','AAijy','xLKnl','chdir','key','EJonJ','stop','nfPdm','createGroupsOfSuites','testObservability','EVENTS','Passed\x20:\x20','desiredCapabilities','hrtIK','vtvSA','ZYXNr','toLowerCase','pgHAA','275046hfJgie','stringify','parallelsPerPlatform','useW3C','JQNdY','process','path','start','Playwright','bootstrapAll','Rhrkj','wCbsm','findIndex','WebDriver','browser','env','isEmpty','userName','log','testConfig','2487558bNRmMI','finalExecution','skipSessionName','dirname','forEach','HNhbM','event','cnNoa','../../helpers/testhub/testhubHandler','bwPBg','981zzAoke','isUndefined'];a2_0x5b4f=function(){return _0x423882;};return a2_0x5b4f();}
2
+ 'use strict';const a2_0x22909a=a2_0x860b;function a2_0x46f0(){const _0x5c418f=['playwright-firefox','profile','finalExecution','load','frameworkName','browserName','codecept.conf.js','ZIMSk','gCUKI','addOptions','igWPB','helpers','codeceptjs/lib/index.js','dueTA','exports','require','pnlvC','chdir','UTFbA','KmhFf','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','xQNdm','printResults','validateRerunTestList','999LHVyce','accessibilityOptions','wsAef','14922729kjlWUd','run','playwright-webkit','getUserWorkerCount','browser','mergeDeep','key','vYecJ','CxHuG','../../helpers/helper','result','findIndex','root','length','../../helpers/accessibility-automation/helper','validPlatformsPresent','platforms','split','setAdditionalCapabilities','WUgAb','2ffsZCA','../../helpers/testhub/testhubHandler','Playwright','util','assign','fwbht','655425alpWjB','teardownAll','2652030CTBlUO','existsSync','ClMKr','isEmpty','../utils/constants','MLZhR','isUndefined','addTests','BrowserStackPlugin.js','16984170zGmqBp','UtLhh','../../helpers/performance/performance-tester','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','../../helpers/performance/constants','gQacH','FRAMEWORKS','err','all','BROWSERSTACK_RERUN','accessibility','join','title','useW3C','plugins','13166400JbgHVq','playwright-chromium','ybHTj','end','wZkPr','984cuWbhw','Passed\x20:\x20','addConfig','printBuildLink','KHPxk','15778bNFlfu','accessKey','testContextOptions','info','../../bin/playwright/accessibility-helper','forEach','webkit','host','failed','AWaCc','log','../../helpers/test-observability/constants','prepareCapabilities','../../helpers/logger','passed','handleApp','userName','slice','iZlGW','test','dirname','getPlatformName','frwKW','env','bootstrapAll','chromium','/wd/hub','browserStackCwd','browserWSEndpoint','testConfig','../utils/clientTroubleshootingService','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','stringify','USER_CONFIG_DETAILS_PATH','skipSessionStatus','Workers','EkABe','../../helpers/utilities','event','CODECEPT','stop','ooOSe','gherkin','config','path','push','codeceptjs','spawn','testObservability','0|1|2|4|3|5','wJWdp','codecept.json','before','chrome','replace','process','skipSessionName','format','Failed\x20:\x20','BrowserStackPlugin','ckJlX','errorMessage','14572nTmkww','../../helpers/test-observability/utils','launchBuild','map','rFvZu','createGroupsOfSuites','cwd','debug','Started\x20:\x20','BROWSERSTACK_RERUN_TESTS','isTestObservabilitySession','toLowerCase','initialize','firefox','trim'];a2_0x46f0=function(){return _0x5c418f;};return a2_0x46f0();}(function(_0x10e037,_0x226bd2){const _0x3b503a=a2_0x860b,_0x13e5ab=_0x10e037();while(!![]){try{const _0x571dae=parseInt(_0x3b503a(0x267))/0x1*(parseInt(_0x3b503a(0x261))/0x2)+parseInt(_0x3b503a(0x24a))/0x3*(-parseInt(_0x3b503a(0x223))/0x4)+-parseInt(_0x3b503a(0x269))/0x5+-parseInt(_0x3b503a(0x286))/0x6*(-parseInt(_0x3b503a(0x28b))/0x7)+parseInt(_0x3b503a(0x281))/0x8+parseInt(_0x3b503a(0x24d))/0x9+-parseInt(_0x3b503a(0x272))/0xa;if(_0x571dae===_0x226bd2)break;else _0x13e5ab['push'](_0x13e5ab['shift']());}catch(_0x164a21){_0x13e5ab['push'](_0x13e5ab['shift']());}}}(a2_0x46f0,0xd88ec));function a2_0x860b(_0x33a8a3,_0x59172e){const _0x46f06f=a2_0x46f0();return a2_0x860b=function(_0x860b8,_0x5c18e6){_0x860b8=_0x860b8-0x1f3;let _0x488350=_0x46f06f[_0x860b8];return _0x488350;},a2_0x860b(_0x33a8a3,_0x59172e);}const fs=require('fs'),path=require('path'),util=require(a2_0x22909a(0x264)),process=require(a2_0x22909a(0x21c)),logger=require(a2_0x22909a(0x298))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x22909a(0x256)),utilities=require(a2_0x22909a(0x20a)),{checkAccessibilityPlatformConfig}=require(a2_0x22909a(0x25b)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x22909a(0x28f)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x22909a(0x256)),CodeceptJS=requireModule(a2_0x22909a(0x23e),a2_0x22909a(0x213)),testOpsHelper=require(a2_0x22909a(0x224)),TestHubHandler=require(a2_0x22909a(0x262)),constants=require(a2_0x22909a(0x26d)),PerformanceTester=require(a2_0x22909a(0x274)),{FRAMEWORKS}=require(a2_0x22909a(0x296)),PerformanceEvents=require(a2_0x22909a(0x276))['EVENTS'],ClientTroubleShootingService=require(a2_0x22909a(0x203)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x5d45d2,_0x338c0d)=>{const _0x3eca09=a2_0x22909a,_0x4f19a1={};_0x4f19a1['UtLhh']=function(_0x44b5ce,_0x1982dc){return _0x44b5ce===_0x1982dc;},_0x4f19a1[_0x3eca09(0x227)]=_0x3eca09(0x238),_0x4f19a1[_0x3eca09(0x277)]=_0x3eca09(0x218);const _0x1247bf=_0x4f19a1;let _0x2f4b76=null;const _0x490368={};let _0x3d5fc5=_0x338c0d['findIndex'](_0x3a868e=>_0x3a868e==='--config');_0x1247bf[_0x3eca09(0x273)](_0x3d5fc5,-0x1)&&(_0x3d5fc5=_0x338c0d[_0x3eca09(0x258)](_0x30ced1=>_0x30ced1==='-c'));if(!helper[_0x3eca09(0x26f)](_0x5d45d2[_0x3eca09(0x210)])&&fs[_0x3eca09(0x26a)](path['join'](process['cwd'](),_0x5d45d2[_0x3eca09(0x210)])))_0x2f4b76=path[_0x3eca09(0x27d)](process[_0x3eca09(0x229)](),_0x5d45d2[_0x3eca09(0x210)]),_0x338c0d[_0x3eca09(0x1f6)](_0x3d5fc5,0x2);else{if(!helper[_0x3eca09(0x26f)](_0x5d45d2['c'])&&fs[_0x3eca09(0x26a)](path[_0x3eca09(0x27d)](process['cwd'](),_0x5d45d2['c'])))_0x2f4b76=path[_0x3eca09(0x27d)](process[_0x3eca09(0x229)](),_0x5d45d2['c']),_0x338c0d[_0x3eca09(0x1f6)](_0x3d5fc5,0x2);else{if(fs[_0x3eca09(0x26a)](path[_0x3eca09(0x27d)](process[_0x3eca09(0x229)](),_0x1247bf['rFvZu'])))_0x2f4b76=path[_0x3eca09(0x27d)](process['cwd'](),_0x1247bf[_0x3eca09(0x227)]);else fs[_0x3eca09(0x26a)](path['join'](process[_0x3eca09(0x229)](),_0x1247bf['gQacH']))&&(_0x2f4b76=path[_0x3eca09(0x27d)](process[_0x3eca09(0x229)](),_0x1247bf['gQacH']));}}return process[_0x3eca09(0x1fc)][_0x3eca09(0x206)]=_0x2f4b76,_0x2f4b76;},getO11yRerunPattern=()=>{const _0x297cb3=a2_0x22909a,_0x2d7226=helper['isTrue'](process['env'][_0x297cb3(0x27b)]);if(_0x2d7226){const _0x223621=process[_0x297cb3(0x1fc)][_0x297cb3(0x22c)],_0x2269b6=[];if(helper[_0x297cb3(0x249)](_0x223621)&&!helper[_0x297cb3(0x26f)](_0x223621)){_0x223621[_0x297cb3(0x25e)](',')[_0x297cb3(0x226)](_0x472aa5=>{const _0x1c4980=_0x297cb3;_0x2269b6[_0x1c4980(0x212)]('('+_0x472aa5[_0x1c4980(0x231)]()+')');});const _0x9aa03='^'+_0x2269b6[_0x297cb3(0x27d)]('|')+'$';return _0x9aa03;}}return null;},a2_0xc41377={};a2_0xc41377[a2_0x22909a(0x21a)]=a2_0x22909a(0x1fe),a2_0xc41377[a2_0x22909a(0x282)]=a2_0x22909a(0x1fe),a2_0xc41377[a2_0x22909a(0x232)]=a2_0x22909a(0x230),a2_0xc41377[a2_0x22909a(0x24f)]=a2_0x22909a(0x291);const pwToCodeceptBrowser=a2_0xc41377;async function run(_0x4060ad,_0x249288,_0x939e82){const _0x205782=a2_0x22909a,_0x513b2e={'wZkPr':function(_0x29731e,_0x59d1e1,_0x5d7378,_0x51ea6b){return _0x29731e(_0x59d1e1,_0x5d7378,_0x51ea6b);},'ooOSe':function(_0x1a14bd,_0x5f51ad){return _0x1a14bd+_0x5f51ad;},'vYecJ':function(_0x56a641,_0x1dce73){return _0x56a641(_0x1dce73);},'gCUKI':function(_0x1cfd0d,_0x55adbf,_0x3ae5b3){return _0x1cfd0d(_0x55adbf,_0x3ae5b3);},'ClMKr':_0x205782(0x23d),'xQNdm':function(_0x352f78){return _0x352f78();},'KmhFf':_0x205782(0x1ff),'ckJlX':function(_0x2611f8){return _0x2611f8();},'wsAef':function(_0x94e4d5){return _0x94e4d5();},'AWaCc':_0x205782(0x21f),'mbLGs':_0x205782(0x287),'dueTA':_0x205782(0x22b),'ZIMSk':_0x205782(0x216),'ocPkx':function(_0x5c3ee7,_0x587027,_0x284306){return _0x5c3ee7(_0x587027,_0x284306);},'QOSiM':_0x205782(0x275),'pnlvC':function(_0x26a7ae,_0x1795fc,_0x21612c){return _0x26a7ae(_0x1795fc,_0x21612c);},'ybHTj':_0x205782(0x263),'wJWdp':'WebDriver','UTFbA':function(_0x168b02,_0x1b53b2){return _0x168b02!=_0x1b53b2;},'igWPB':function(_0x558ac0,_0x4e1a98){return _0x558ac0===_0x4e1a98;},'PBOuZ':_0x205782(0x20f),'KHPxk':function(_0x2cfdcf){return _0x2cfdcf();},'AsvJA':function(_0xed11be,_0x9dc053){return _0xed11be*_0x9dc053;},'CxHuG':'browser','frwKW':function(_0x2b50c0,_0x1f61f2,_0x2b0f12){return _0x2b50c0(_0x1f61f2,_0x2b0f12);},'WUgAb':'desiredCapabilities','EkABe':_0x205782(0x259),'MLZhR':_0x205782(0x271),'iZlGW':_0x205782(0x200),'fwbht':function(_0x35e909){return _0x35e909();}};await _0x939e82[_0x205782(0x22f)](_0x4060ad),await helper[_0x205782(0x1f4)](_0x939e82['config']);if(!_0x939e82[_0x205782(0x210)])return;process[_0x205782(0x233)]=_0x4060ad[_0x205782(0x233)];_0x4060ad[_0x205782(0x233)]&&(process['env'][_0x205782(0x233)]=_0x4060ad[_0x205782(0x233)]);const _0x2a0caa=_0x513b2e['ocPkx'](getUserCodeceptJSConfigs,_0x4060ad,_0x249288);let _0x59f6fd={};_0x2a0caa?(logger[_0x205782(0x28e)](_0x205782(0x204)+_0x2a0caa),_0x59f6fd=CodeceptJS[_0x205782(0x210)][_0x205782(0x235)](_0x2a0caa)):logger['info'](_0x513b2e['QOSiM']);let _0x25542f=![];_0x513b2e[_0x205782(0x242)](nestedKeyValue,_0x59f6fd,[_0x513b2e['ClMKr'],_0x513b2e[_0x205782(0x283)]])&&(_0x25542f=!![]);const _0x591942=_0x25542f?_0x513b2e[_0x205782(0x283)]:_0x513b2e[_0x205782(0x217)];let _0x459164=!_0x25542f?helper[_0x205782(0x27f)](_0x939e82['config']):![];!helper[_0x205782(0x26f)](_0x939e82[_0x205782(0x210)][_0x205782(0x24b)])&&(process[_0x205782(0x1fc)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x205782(0x205)](_0x939e82['config'][_0x205782(0x24b)]));let _0x2cef8b=_0x939e82[_0x205782(0x210)][_0x205782(0x27c)];_0x2cef8b=_0x2cef8b||_0x513b2e[_0x205782(0x254)](checkAccessibilityPlatformConfig,_0x939e82[_0x205782(0x210)]),process[_0x205782(0x1fc)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2cef8b;_0x2cef8b&&(_0x459164=!_0x2cef8b);_0x513b2e[_0x205782(0x244)](_0x939e82['config'][_0x205782(0x215)],null)?process[_0x205782(0x1fc)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x939e82[_0x205782(0x210)][_0x205782(0x215)]:process[_0x205782(0x1fc)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x513b2e[_0x205782(0x23c)](_0x591942,_0x513b2e[_0x205782(0x283)]);const _0x277cdc=_0x513b2e[_0x205782(0x23a)](nestedKeyValue,_0x59f6fd,[_0x513b2e['PBOuZ']]),_0x580073=_0x277cdc&&!helper[_0x205782(0x26c)](_0x277cdc)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x205782(0x20c)],_0x1d7f33=await TestHubHandler[_0x205782(0x225)](_0x580073,_0x939e82);_0x2cef8b&&_0x513b2e[_0x205782(0x254)](setAccessibilityCapabilities,_0x939e82['config']);const _0x17b281={},_0x5a3b50=[],_0x23bbab=_0x939e82['config']['parallelsPerPlatform']||helper[_0x205782(0x250)](_0x4060ad,_0x249288,_0x939e82['config'],constants[_0x205782(0x278)]['CODECEPT'])||0x1;let _0x2c7032=0x1;if(_0x513b2e[_0x205782(0x28a)](isBrowserstackInfra)){const _0x226607=helper[_0x205782(0x297)](_0x939e82[_0x205782(0x210)],_0x459164,constants['FRAMEWORKS'][_0x205782(0x20c)]);_0x226607['forEach'](_0x47ee42=>{const _0x465ca5=_0x205782;helper[_0x465ca5(0x25f)](_0x47ee42);}),helper[_0x205782(0x25c)](_0x939e82[_0x205782(0x210)])?_0x2c7032=_0x513b2e['AsvJA'](_0x23bbab,_0x939e82[_0x205782(0x210)][_0x205782(0x25d)][_0x205782(0x25a)]):_0x2c7032=_0x23bbab,_0x226607[_0x205782(0x290)](_0x3e46f0=>{const _0x595b1d=_0x205782,_0x58db0d=_0x513b2e[_0x595b1d(0x20e)](helper[_0x595b1d(0x1fa)](_0x3e46f0,'_'),'_'+Date['now']()),_0x4d9f79=((()=>{const _0x421880=_0x595b1d;if(_0x25542f){const _0x555a8b=pwToCodeceptBrowser[_0x3e46f0['browserName']]||_0x3e46f0[_0x421880(0x237)],_0x1edf73=helper['getPlaywrightUrl'](_0x939e82[_0x421880(0x210)]),_0x50ea87=Object[_0x421880(0x265)]({},_0x3e46f0);return _0x513b2e[_0x421880(0x285)](processAccessibilityCaps,_0x50ea87,_0x1edf73,null),{'browser':_0x555a8b,[_0x555a8b]:{'browserWSEndpoint':_0x513b2e[_0x421880(0x20e)](_0x1edf73,_0x513b2e[_0x421880(0x254)](encodeURIComponent,JSON[_0x421880(0x205)](_0x50ea87)))}};}const _0x3cd7a4={};return _0x3cd7a4['desiredCapabilities']=_0x3e46f0,_0x3cd7a4['user']=_0x939e82[_0x421880(0x210)][_0x421880(0x1f5)],_0x3cd7a4[_0x421880(0x253)]=_0x939e82[_0x421880(0x210)][_0x421880(0x28c)],_0x3cd7a4;})()),_0x344e4d=_0x513b2e[_0x595b1d(0x23a)](nestedKeyValue,_0x59f6fd,[_0x513b2e[_0x595b1d(0x26b)],_0x591942]);_0x17b281[_0x58db0d]=_0x344e4d?helper[_0x595b1d(0x252)](_0x4d9f79,_0x344e4d):_0x4d9f79;if(_0x25542f)_0x17b281[_0x58db0d][_0x595b1d(0x251)]=pwToCodeceptBrowser[_0x3e46f0[_0x595b1d(0x237)]]||_0x3e46f0[_0x595b1d(0x237)];else{_0x17b281[_0x58db0d]['browser']=_0x3e46f0[_0x595b1d(0x237)]||_0x4d9f79[_0x595b1d(0x251)];if(_0x513b2e[_0x595b1d(0x247)](isBrowserstackInfra)){_0x17b281[_0x58db0d][_0x595b1d(0x292)]=constants['hubUrl'][_0x595b1d(0x21b)](_0x513b2e[_0x595b1d(0x245)],'')['replace'](/https?:\/\//,'');;_0x17b281[_0x58db0d][_0x595b1d(0x211)]=_0x513b2e['KmhFf'];}}_0x5a3b50['push'](_0x58db0d);});}else{_0x2c7032=0x1;if(_0x25542f){const _0x2f2e83=_0x513b2e[_0x205782(0x23a)](nestedKeyValue,_0x59f6fd,[_0x513b2e[_0x205782(0x26b)],_0x591942,_0x513b2e[_0x205782(0x255)]]),_0x4a7219=_0x513b2e['frwKW'](nestedKeyValue,_0x59f6fd,[_0x513b2e[_0x205782(0x26b)],_0x591942,_0x2f2e83]);if(_0x4a7219&&_0x4a7219[_0x205782(0x201)]){const _0x344803={};_0x344803['platforms']=[],_0x4a7219[_0x205782(0x201)]=helper[_0x205782(0x297)](Object[_0x205782(0x265)]({},_0x939e82[_0x205782(0x210)],_0x344803),null,_0x580073[_0x205782(0x22e)](),null,null,_0x4a7219['browserWSEndpoint']);}}else{const _0x4f1d67={};_0x4f1d67['platforms']=[],_0x59f6fd[_0x513b2e[_0x205782(0x26b)]][_0x591942][_0x513b2e['WUgAb']]=helper[_0x205782(0x297)](Object[_0x205782(0x265)]({},_0x939e82['config'],_0x4f1d67),null,_0x580073[_0x205782(0x22e)](),_0x513b2e[_0x205782(0x1fb)](nestedKeyValue,_0x59f6fd,[_0x513b2e['ClMKr'],_0x591942,_0x513b2e[_0x205782(0x260)]])||{},null,null);}_0x17b281[_0x513b2e[_0x205782(0x209)]]=_0x59f6fd,_0x5a3b50[_0x205782(0x212)](_0x513b2e[_0x205782(0x209)]);}const _0x5265a7={};_0x5265a7[_0x205782(0x202)]=_0x2a0caa;const _0xe9bf8d=_0x5265a7,_0xa689dd=path[_0x205782(0x27d)](__dirname,_0x513b2e[_0x205782(0x26e)]),_0x41d45f=process['cwd']();process['env'][_0x513b2e[_0x205782(0x1f7)]]=_0x41d45f,process[_0x205782(0x243)](path[_0x205782(0x1f9)](_0x2a0caa));const _0x5a0a9b=new CodeceptJS[(_0x205782(0x208))](null,_0xe9bf8d),_0x12ec63=_0x5a0a9b[_0x205782(0x228)](_0x23bbab),_0x38b4e1=testOpsHelper[_0x205782(0x22d)](),_0x3cd5e2=_0x5a3b50['map'](_0x480b8a=>{const _0x2b9bf5=_0x205782,_0x50958c={};_0x50958c[_0x2b9bf5(0x263)]=_0x17b281[_0x480b8a];const _0x3a7cb5={};_0x3a7cb5['WebDriver']=_0x17b281[_0x480b8a];const _0x530fe2=_0x25542f?_0x50958c:_0x3a7cb5,_0x238d76=_0x513b2e[_0x2b9bf5(0x221)](getO11yRerunPattern),_0x1883b9={};_0x1883b9[_0x2b9bf5(0x23d)]=_0x530fe2;const _0x2ec9cc={};_0x2ec9cc[_0x2b9bf5(0x241)]=_0xa689dd,_0x2ec9cc['enabled']=!![],_0x2ec9cc[_0x2b9bf5(0x21d)]=_0x939e82[_0x2b9bf5(0x210)][_0x2b9bf5(0x28d)][_0x2b9bf5(0x21d)],_0x2ec9cc[_0x2b9bf5(0x207)]=_0x939e82['config'][_0x2b9bf5(0x28d)][_0x2b9bf5(0x207)],_0x2ec9cc['testObservability']=_0x38b4e1,_0x2ec9cc[_0x2b9bf5(0x236)]=_0x580073;const _0x484d59={};_0x484d59[_0x2b9bf5(0x220)]=_0x2ec9cc;const _0x1b01b3={};return _0x1b01b3[_0x2b9bf5(0x280)]=_0x484d59,helper[_0x2b9bf5(0x252)]({},_0x59f6fd,_0x513b2e[_0x2b9bf5(0x24c)](isBrowserstackInfra)?_0x1883b9:{},_0x238d76?{'grep':_0x238d76}:{},_0x1b01b3);});for(const _0x21e4c4 of _0x3cd5e2){for(const _0x35f006 of _0x12ec63){const _0x1fefd9=_0x5a0a9b[_0x205782(0x214)]();_0x1fefd9[_0x205782(0x270)](_0x35f006),_0x1fefd9[_0x205782(0x288)](_0x21e4c4);const _0x1feca0={};_0x1feca0['config']=_0x2a0caa,_0x1fefd9[_0x205782(0x23b)](Object[_0x205782(0x265)](_0x1feca0,_0x4060ad));}}_0x5a0a9b['on'](CodeceptJS[_0x205782(0x20b)][_0x205782(0x1f8)][_0x205782(0x293)],(_0x365ee7,_0x377f9c)=>{const _0x43d2c2=_0x205782;console['log'](_0x513b2e[_0x43d2c2(0x294)],_0x365ee7[_0x43d2c2(0x27e)]);const _0x5ad001={[_0x365ee7[_0x43d2c2(0x27e)]]:_0x365ee7[_0x43d2c2(0x279)]['stack']};_testErrorData['push'](_0x5ad001);}),_0x5a0a9b['on'](CodeceptJS[_0x205782(0x20b)][_0x205782(0x1f8)][_0x205782(0x1f3)],async _0x238251=>{const _0x5865a7=_0x205782;console[_0x5865a7(0x295)](_0x513b2e['mbLGs'],_0x238251[_0x5865a7(0x27e)]);}),_0x5a0a9b['on'](CodeceptJS[_0x205782(0x20b)]['test'][_0x205782(0x219)],async _0x455a6b=>{const _0x22501c=_0x205782;console['log'](_0x513b2e[_0x22501c(0x23f)],_0x455a6b['title']);}),_0x5a0a9b['on'](CodeceptJS[_0x205782(0x20b)][_0x205782(0x27a)][_0x205782(0x257)],async()=>{const _0x3efe3a=_0x205782,_0x38aef5=_0x513b2e[_0x3efe3a(0x239)]['split']('|');let _0x354da9=0x0;while(!![]){switch(_0x38aef5[_0x354da9++]){case'0':PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);continue;case'1':_0x939e82[_0x3efe3a(0x222)]=_testErrorData;continue;case'2':testOpsHelper[_0x3efe3a(0x289)]();continue;case'3':try{await TestHubHandler[_0x3efe3a(0x20d)]();}catch(_0x4cb6df){logger[_0x3efe3a(0x22a)](_0x3efe3a(0x246)+util[_0x3efe3a(0x21e)](_0x4cb6df));}continue;case'4':utilities[_0x3efe3a(0x234)](_0x939e82);continue;case'5':_0x5a0a9b[_0x3efe3a(0x248)]();continue;}break;}});async function _0x296088(){const _0x17cf80=_0x205782;try{await _0x5a0a9b[_0x17cf80(0x1fd)](),await _0x5a0a9b[_0x17cf80(0x24e)]();}finally{process[_0x17cf80(0x243)](_0x41d45f),await _0x5a0a9b[_0x17cf80(0x268)]();}}PerformanceTester[_0x205782(0x284)](PerformanceEvents['SDK_SETUP']),await _0x513b2e[_0x205782(0x266)](_0x296088);}module[a2_0x22909a(0x240)]=run;
@@ -1 +1 @@
1
- const a3_0xcc529d=a3_0x1374;(function(_0x58b9b8,_0xbc797a){const _0x3192fa=a3_0x1374,_0x408be4=_0x58b9b8();while(!![]){try{const _0x33c263=parseInt(_0x3192fa(0x14c))/0x1*(-parseInt(_0x3192fa(0x141))/0x2)+parseInt(_0x3192fa(0x134))/0x3+parseInt(_0x3192fa(0x120))/0x4*(-parseInt(_0x3192fa(0x111))/0x5)+-parseInt(_0x3192fa(0x10e))/0x6+parseInt(_0x3192fa(0x139))/0x7+-parseInt(_0x3192fa(0x140))/0x8+parseInt(_0x3192fa(0x11d))/0x9;if(_0x33c263===_0xbc797a)break;else _0x408be4['push'](_0x408be4['shift']());}catch(_0x3926ee){_0x408be4['push'](_0x408be4['shift']());}}}(a3_0x262f,0xb5750));const {isUndefined,nestedKeyValue}=require(a3_0xcc529d(0x145)),logger=require('../../helpers/logger')[a3_0xcc529d(0x137)],PlaywrightSessionDetails=require(a3_0xcc529d(0x110)),{isAccessibilityAutomationSession}=require(a3_0xcc529d(0x13b)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),accessibilityHelper=require(a3_0xcc529d(0x13b)),{isBrowserstackInfra}=require('../../helpers/helper'),getOSVersionFromCaps=_0x35cb10=>{const _0x381461=a3_0xcc529d,_0x1c9978={};_0x1c9978[_0x381461(0x13c)]=_0x381461(0x138),_0x1c9978[_0x381461(0x146)]='platformVersion',_0x1c9978[_0x381461(0x127)]=_0x381461(0x151),_0x1c9978[_0x381461(0x10d)]=_0x381461(0x11e),_0x1c9978['wuBOA']=_0x381461(0x11f);const _0xd7ecae=_0x1c9978;if(!_0x35cb10)return null;const _0x50fcc3=_0x35cb10[_0xd7ecae[_0x381461(0x13c)]],_0x3edcea=[_0xd7ecae[_0x381461(0x146)],_0xd7ecae[_0x381461(0x127)],_0xd7ecae[_0x381461(0x10d)],_0xd7ecae[_0x381461(0x12e)]];for(const _0x358751 of _0x3edcea){if(_0x50fcc3&&_0x50fcc3[_0x358751])return _0x50fcc3[_0x358751];else{if(_0x35cb10[_0x358751])return _0x35cb10[_0x358751];}}return null;};function a3_0x1374(_0x562505,_0x5de784){const _0x262ff4=a3_0x262f();return a3_0x1374=function(_0x1374bb,_0x507360){_0x1374bb=_0x1374bb-0x10a;let _0x2f12b8=_0x262ff4[_0x1374bb];return _0x2f12b8;},a3_0x1374(_0x562505,_0x5de784);}exports[a3_0xcc529d(0x11b)]=_0x24e0f1=>{const _0x425a10=a3_0xcc529d,_0x2e0cb7={'sEqhH':'unknown_grid','aItIq':function(_0x3262e4,_0x1c60ed){return _0x3262e4===_0x1c60ed;},'xsjfu':_0x425a10(0x12f),'fuZJm':function(_0x144a4c,_0x24344b){return _0x144a4c(_0x24344b);},'jADJs':function(_0x51a231,_0x476243,_0x5c3467){return _0x51a231(_0x476243,_0x5c3467);},'RfWfR':_0x425a10(0x14e),'JqTmF':_0x425a10(0x113),'PSywb':function(_0x4e15b8,_0x19842e){return _0x4e15b8(_0x19842e);},'SyZqn':function(_0x162a21,_0x8002e1){return _0x162a21===_0x8002e1;},'NRgnB':_0x425a10(0x128),'mWeQl':_0x425a10(0x13d),'HJgnm':'browserWSEndpoint','LEMNq':'caps','XoozP':function(_0x590a11,_0x3703b8){return _0x590a11(_0x3703b8);}};if(!_0x24e0f1)return null;let _0x26119e=global[_0x425a10(0x11a)]||_0x2e0cb7['sEqhH'];if(_0x2e0cb7[_0x425a10(0x13e)](_0x24e0f1[_0x425a10(0x13a)][_0x425a10(0x131)],_0x2e0cb7['xsjfu'])){const _0xea6c5c=_0x24e0f1['browser'];if(!_0xea6c5c)return null;const _0xea03c=_0xea6c5c[_0x425a10(0x133)],_0x49234e=_0x2e0cb7['fuZJm'](getOSVersionFromCaps,_0x2e0cb7[_0x425a10(0x116)](nestedKeyValue,_0x24e0f1,[_0x2e0cb7[_0x425a10(0x123)],_0x2e0cb7['JqTmF']]));return{[_0x26119e]:{'browser':_0xea03c[_0x425a10(0x135)],'browser_version':_0xea03c['browserVersion'],'capabilities':_0xea03c,'platform':_0xea03c[_0x425a10(0x12d)],'platform_version':_0xea03c[_0x425a10(0x119)]||_0x49234e,'product':_0x2e0cb7[_0x425a10(0x136)](getObservabilityLinkedProductName,_0xea03c),'session_id':_0xea6c5c[_0x425a10(0x115)]}};}else{if(_0x2e0cb7[_0x425a10(0x14a)](_0x24e0f1[_0x425a10(0x13a)][_0x425a10(0x131)],_0x2e0cb7[_0x425a10(0x129)])){const _0x329b72=PlaywrightSessionDetails['getDetails']();_0x26119e=_0x329b72[_0x425a10(0x12a)]||_0x26119e;const _0x1940c0=_0x2e0cb7['jADJs'](nestedKeyValue,_0x24e0f1,[_0x2e0cb7[_0x425a10(0x123)],_0x2e0cb7[_0x425a10(0x126)],_0x2e0cb7[_0x425a10(0x148)]]),_0x57830c=_0x1940c0?JSON[_0x425a10(0x130)](new URL(_0x1940c0)[_0x425a10(0x10a)][_0x425a10(0x125)](_0x2e0cb7[_0x425a10(0x147)])):{};return{[_0x26119e]:{'browser':_0x329b72[_0x425a10(0x13d)]||_0x57830c[_0x425a10(0x135)],'browser_version':_0x329b72[_0x425a10(0x11c)]||_0x57830c[_0x425a10(0x11c)],'capabilities':_0x57830c,'platform':_0x329b72['platform'],'platform_version':_0x329b72['platform_version'],'product':_0x2e0cb7[_0x425a10(0x124)](getObservabilityLinkedProductName,_0x57830c),'session_id':_0x329b72[_0x425a10(0x132)]}};}}},exports[a3_0xcc529d(0x14d)]=_0x3b2c7c=>{const _0x38a55d=a3_0xcc529d,_0x2c6c2e={'dtWPP':function(_0x390ffd){return _0x390ffd();},'Eyyuo':_0x38a55d(0x14f),'dkgkZ':function(_0x4a84dc,_0x1b69c6){return _0x4a84dc!==_0x1b69c6;},'cuKDW':'latest','AOTjm':_0x38a55d(0x118),'feduG':function(_0x39ec89,_0x3413f1){return _0x39ec89(_0x3413f1);},'xRpwl':_0x38a55d(0x143)};if(_0x2c6c2e[_0x38a55d(0x14b)](isAccessibilityAutomationSession)){const _0x5d9643=_0x3b2c7c[_0x38a55d(0x13d)],_0x1ffe30=_0x5d9643[_0x38a55d(0x133)];global['accessibilityPlatform']=!![];!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x1ffe30[_0x38a55d(0x135)])&&(logger[_0x38a55d(0x12b)](_0x2c6c2e['Eyyuo']),global[_0x38a55d(0x10f)]=![]);if(_0x2c6c2e['dkgkZ'](_0x1ffe30['browserVersion'],_0x2c6c2e[_0x38a55d(0x10b)])){const _0x2b486f=_0x2c6c2e[_0x38a55d(0x14b)](isBrowserstackInfra),_0x84101b=accessibilityHelper['getMinVersionForBrowser'](_0x1ffe30[_0x38a55d(0x135)],_0x2b486f),_0x2a6861=accessibilityHelper['getBrowserDisplayName'](_0x1ffe30[_0x38a55d(0x135)]);if(!accessibilityHelper[_0x38a55d(0x13f)](_0x1ffe30[_0x38a55d(0x150)],_0x84101b)){const _0x15b81c=_0x2b486f?'':_0x2c6c2e[_0x38a55d(0x10c)];logger[_0x38a55d(0x12b)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0x2a6861+'\x20browser\x20version\x20'+_0x84101b+_0x38a55d(0x144)+_0x15b81c+'.'),global[_0x38a55d(0x10f)]=![];}}!_0x2c6c2e['feduG'](isUndefined,_0x1ffe30['deviceName'])&&(logger[_0x38a55d(0x12b)](_0x2c6c2e[_0x38a55d(0x142)]),global[_0x38a55d(0x10f)]=![]);}},exports['shouldPatchExecuteScript']=_0x56969d=>{const _0x1717b0=a3_0xcc529d,_0x58695a={};_0x58695a['phbBH']=function(_0x650376,_0x5176d9){return _0x650376!==_0x5176d9;},_0x58695a[_0x1717b0(0x121)]=_0x1717b0(0x12c),_0x58695a[_0x1717b0(0x117)]=_0x1717b0(0x112),_0x58695a[_0x1717b0(0x149)]=_0x1717b0(0x122);const _0x5f0916=_0x58695a;if(!_0x56969d)return![];else{if(_0x5f0916['phbBH'](typeof _0x56969d,_0x5f0916['AoHTt']))return!![];}return!_0x56969d[_0x1717b0(0x114)](_0x5f0916[_0x1717b0(0x117)])&&!_0x56969d['includes'](_0x5f0916[_0x1717b0(0x149)]);};function a3_0x262f(){const _0x487367=['Playwright','NRgnB','cloudProvider','warn','string','platformName','wuBOA','WebDriver','parse','name','bsSessionId','capabilities','3506055AINTUB','browserName','PSywb','winstonLogger','bstack:options','4173519rAfWZf','constructor','../../helpers/accessibility-automation/helper','pXoCS','browser','aItIq','isVersionSupported','8469504yVlQKh','2481514nliIuG','xRpwl','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','\x20or\x20higher\x20','../../helpers/helper','JPfPG','LEMNq','HJgnm','gVaic','SyZqn','dtWPP','1VYukks','processWebDriverConfig','config','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','browserVersion','platform_version','searchParams','cuKDW','AOTjm','MfJjY','8344716hltOcz','accessibilityPlatform','../../bin/playwright/sessionDetails','3775nViVLF','browserstack_executor','desiredCapabilities','includes','sessionId','jADJs','avTls','on\x20non-BrowserStack\x20infrastructure\x20','platformVersion','__cloud_provider___','fetchPlatformDetails','browser_version','33244803rvgBHJ','osVersion','os_version','5432KSuSFb','AoHTt','browserstack_accessibility_automation_script','RfWfR','XoozP','get','mWeQl','ShQMU'];a3_0x262f=function(){return _0x487367;};return a3_0x262f();}
1
+ const a3_0x4837e1=a3_0x4af2;function a3_0x37ae(){const _0x314ef8=['searchParams','../../helpers/helper','isBrowserSupportedForAccessibility','latest','../../helpers/accessibility-automation/helper','deviceName','bstack:options','9ZtSjBk','1282944GfeqTn','aYwmo','962142TycAoA','accessibilityPlatform','mzVSw','BumVR','kUYOO','browser','gGRwS','isVersionSupported','name','on\x20non-BrowserStack\x20infrastructure\x20','Aelya','winstonLogger','eWWbA','\x20or\x20higher\x20','Woeup','1613843tUdrQW','browserstack_accessibility_automation_script','Playwright','1589076rnDXiy','\x20browser\x20version\x20','2888744TKflZE','getBrowserDisplayName','browserName','capabilities','osVersion','pyvml','505945QaFvgH','shouldPatchExecuteScript','platformName','3sunhVb','NHFKD','browserVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','yZlxI','fetchPlatformDetails','desiredCapabilities','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','warn','browser_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','constructor','__cloud_provider___','brkkb','yvWQG','getDetails','string','RPVEb','yYKRS','platformVersion','fTVzk','platform_version','PtFfi','SlKVN','config','EKIpW','mvEDl','WGpJI','nMmSG','caps','KGfHc','RblFB','HmYaE','JknKm','cloudProvider','uDXLv','processWebDriverConfig','230382tPIgOo','includes','browserWSEndpoint','DmIxr'];a3_0x37ae=function(){return _0x314ef8;};return a3_0x37ae();}(function(_0xa91f93,_0x3f0fa7){const _0x151322=a3_0x4af2,_0x3ec893=_0xa91f93();while(!![]){try{const _0x244463=-parseInt(_0x151322(0xb7))/0x1*(-parseInt(_0x151322(0x8c))/0x2)+parseInt(_0x151322(0x9a))/0x3+parseInt(_0x151322(0x98))/0x4+parseInt(_0x151322(0xb4))/0x5+-parseInt(_0x151322(0xac))/0x6+-parseInt(_0x151322(0xa9))/0x7+parseInt(_0x151322(0xae))/0x8*(-parseInt(_0x151322(0x97))/0x9);if(_0x244463===_0x3f0fa7)break;else _0x3ec893['push'](_0x3ec893['shift']());}catch(_0x2d3239){_0x3ec893['push'](_0x3ec893['shift']());}}}(a3_0x37ae,0x3892c));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a3_0x4837e1(0xa5)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),accessibilityHelper=require(a3_0x4837e1(0x94)),{isBrowserstackInfra}=require(a3_0x4837e1(0x91)),getOSVersionFromCaps=_0x55471a=>{const _0x48b38a=a3_0x4837e1,_0x31eabb={};_0x31eabb['yYKRS']=_0x48b38a(0x96),_0x31eabb[_0x48b38a(0xa0)]=_0x48b38a(0x7a),_0x31eabb[_0x48b38a(0x87)]=_0x48b38a(0x7c),_0x31eabb[_0x48b38a(0xa8)]=_0x48b38a(0xb2),_0x31eabb['ZoPEy']='os_version';const _0x41dc04=_0x31eabb;if(!_0x55471a)return null;const _0x5aa173=_0x55471a[_0x41dc04[_0x48b38a(0x79)]],_0x2d7952=[_0x41dc04[_0x48b38a(0xa0)],_0x41dc04[_0x48b38a(0x87)],_0x41dc04[_0x48b38a(0xa8)],_0x41dc04['ZoPEy']];for(const _0x3600fa of _0x2d7952){if(_0x5aa173&&_0x5aa173[_0x3600fa])return _0x5aa173[_0x3600fa];else{if(_0x55471a[_0x3600fa])return _0x55471a[_0x3600fa];}}return null;};function a3_0x4af2(_0x1d0cea,_0x523e83){const _0x37ae80=a3_0x37ae();return a3_0x4af2=function(_0x4af27e,_0x40b095){_0x4af27e=_0x4af27e-0x69;let _0x26f8a1=_0x37ae80[_0x4af27e];return _0x26f8a1;},a3_0x4af2(_0x1d0cea,_0x523e83);}exports[a3_0x4837e1(0x6c)]=_0x5885e7=>{const _0x46971a=a3_0x4837e1,_0xe355e1={'kUYOO':'unknown_grid','nMmSG':function(_0x1c3450,_0x24f5f0){return _0x1c3450===_0x24f5f0;},'UYnYT':'WebDriver','RblFB':function(_0x51b37a,_0x55a9ac){return _0x51b37a(_0x55a9ac);},'SlKVN':function(_0x551c48,_0x3b246e,_0x862b44){return _0x551c48(_0x3b246e,_0x862b44);},'brkkb':_0x46971a(0x7f),'RPVEb':_0x46971a(0x6d),'Aelya':function(_0x3403af,_0x6adc3a){return _0x3403af(_0x6adc3a);},'pyvml':_0x46971a(0xab),'PtFfi':function(_0x320836,_0x1e9de8,_0x1c4e4e){return _0x320836(_0x1e9de8,_0x1c4e4e);},'DmIxr':_0x46971a(0x9f),'NHFKD':_0x46971a(0x8e),'uDXLv':_0x46971a(0x84),'JknKm':function(_0x4516f3,_0xf71119){return _0x4516f3(_0xf71119);}};if(!_0x5885e7)return null;let _0x44e5f2=global[_0x46971a(0x73)]||_0xe355e1[_0x46971a(0x9e)];if(_0xe355e1[_0x46971a(0x83)](_0x5885e7[_0x46971a(0x72)][_0x46971a(0xa2)],_0xe355e1['UYnYT'])){const _0x46b22f=_0x5885e7[_0x46971a(0x9f)];if(!_0x46b22f)return null;const _0x17f013=_0x46b22f[_0x46971a(0xb1)],_0x434f95=_0xe355e1[_0x46971a(0x86)](getOSVersionFromCaps,_0xe355e1[_0x46971a(0x7e)](nestedKeyValue,_0x5885e7,[_0xe355e1[_0x46971a(0x74)],_0xe355e1[_0x46971a(0x78)]]));return{[_0x44e5f2]:{'browser':_0x17f013[_0x46971a(0xb0)],'browser_version':_0x17f013[_0x46971a(0x69)],'capabilities':_0x17f013,'platform':_0x17f013[_0x46971a(0xb6)],'platform_version':_0x17f013[_0x46971a(0x7a)]||_0x434f95,'product':_0xe355e1[_0x46971a(0xa4)](getObservabilityLinkedProductName,_0x17f013),'session_id':_0x46b22f['sessionId']}};}else{if(_0xe355e1['nMmSG'](_0x5885e7[_0x46971a(0x72)][_0x46971a(0xa2)],_0xe355e1[_0x46971a(0xb3)])){const _0x5be7bf=PlaywrightSessionDetails[_0x46971a(0x76)]();_0x44e5f2=_0x5be7bf[_0x46971a(0x89)]||_0x44e5f2;const _0x1682a9=_0xe355e1[_0x46971a(0x7d)](nestedKeyValue,_0x5885e7,[_0xe355e1[_0x46971a(0x74)],_0xe355e1[_0x46971a(0x8f)],_0xe355e1[_0x46971a(0xb8)]]),_0x1a6343=_0x1682a9?JSON['parse'](new URL(_0x1682a9)[_0x46971a(0x90)]['get'](_0xe355e1[_0x46971a(0x8a)])):{};return{[_0x44e5f2]:{'browser':_0x5be7bf['browser']||_0x1a6343[_0x46971a(0xb0)],'browser_version':_0x5be7bf['browser_version']||_0x1a6343[_0x46971a(0x70)],'capabilities':_0x1a6343,'platform':_0x5be7bf['platform'],'platform_version':_0x5be7bf[_0x46971a(0x7c)],'product':_0xe355e1[_0x46971a(0x88)](getObservabilityLinkedProductName,_0x1a6343),'session_id':_0x5be7bf['bsSessionId']}};}}},exports[a3_0x4837e1(0x8b)]=_0x5f36ad=>{const _0x59e8aa=a3_0x4837e1,_0x293f6c={'mzVSw':function(_0x3b02cf){return _0x3b02cf();},'eWWbA':_0x59e8aa(0x6e),'yZlxI':function(_0x1d4f97,_0x577479){return _0x1d4f97!==_0x577479;},'BumVR':_0x59e8aa(0x93),'yvWQG':function(_0x12fa4c){return _0x12fa4c();},'WGpJI':_0x59e8aa(0xa3),'PWeUm':function(_0x193d41,_0x49ed0a){return _0x193d41(_0x49ed0a);},'KGfHc':_0x59e8aa(0x6a)};if(_0x293f6c[_0x59e8aa(0x9c)](isAccessibilityAutomationSession)){const _0x167aa0=_0x5f36ad[_0x59e8aa(0x9f)],_0xb57ad1=_0x167aa0['capabilities'];global['accessibilityPlatform']=!![];!accessibilityHelper[_0x59e8aa(0x92)](_0xb57ad1[_0x59e8aa(0xb0)])&&(logger[_0x59e8aa(0x6f)](_0x293f6c[_0x59e8aa(0xa6)]),global[_0x59e8aa(0x9b)]=![]);if(_0x293f6c[_0x59e8aa(0x6b)](_0xb57ad1[_0x59e8aa(0x69)],_0x293f6c[_0x59e8aa(0x9d)])){const _0x21c23b=_0x293f6c[_0x59e8aa(0x75)](isBrowserstackInfra),_0x422351=accessibilityHelper['getMinVersionForBrowser'](_0xb57ad1[_0x59e8aa(0xb0)],_0x21c23b),_0x4eb8e9=accessibilityHelper[_0x59e8aa(0xaf)](_0xb57ad1['browserName']);if(!accessibilityHelper[_0x59e8aa(0xa1)](_0xb57ad1[_0x59e8aa(0x69)],_0x422351)){const _0x140b4a=_0x21c23b?'':_0x293f6c[_0x59e8aa(0x82)];logger[_0x59e8aa(0x6f)](_0x59e8aa(0x71)+_0x4eb8e9+_0x59e8aa(0xad)+_0x422351+_0x59e8aa(0xa7)+_0x140b4a+'.'),global[_0x59e8aa(0x9b)]=![];}}!_0x293f6c['PWeUm'](isUndefined,_0xb57ad1[_0x59e8aa(0x95)])&&(logger[_0x59e8aa(0x6f)](_0x293f6c[_0x59e8aa(0x85)]),global[_0x59e8aa(0x9b)]=![]);}},exports[a3_0x4837e1(0xb5)]=_0x536501=>{const _0x5a11e0=a3_0x4837e1,_0x54fb25={};_0x54fb25[_0x5a11e0(0x7b)]=function(_0x24a218,_0x498db6){return _0x24a218!==_0x498db6;},_0x54fb25[_0x5a11e0(0x80)]=_0x5a11e0(0x77),_0x54fb25[_0x5a11e0(0x81)]='browserstack_executor',_0x54fb25[_0x5a11e0(0x99)]=_0x5a11e0(0xaa);const _0x181525=_0x54fb25;if(!_0x536501)return![];else{if(_0x181525[_0x5a11e0(0x7b)](typeof _0x536501,_0x181525[_0x5a11e0(0x80)]))return!![];}return!_0x536501[_0x5a11e0(0x8d)](_0x181525['mvEDl'])&&!_0x536501[_0x5a11e0(0x8d)](_0x181525['aYwmo']);};
@@ -1 +1 @@
1
- const a4_0x219a12=a4_0x1a51;(function(_0x271b8a,_0x330bbb){const _0x146848=a4_0x1a51,_0x948122=_0x271b8a();while(!![]){try{const _0x32598e=parseInt(_0x146848(0x18a))/0x1*(parseInt(_0x146848(0x1a9))/0x2)+parseInt(_0x146848(0x257))/0x3+parseInt(_0x146848(0x1cc))/0x4+parseInt(_0x146848(0x1a5))/0x5*(parseInt(_0x146848(0x201))/0x6)+-parseInt(_0x146848(0x205))/0x7+-parseInt(_0x146848(0x232))/0x8+-parseInt(_0x146848(0x24f))/0x9*(parseInt(_0x146848(0x1e8))/0xa);if(_0x32598e===_0x330bbb)break;else _0x948122['push'](_0x948122['shift']());}catch(_0x1c4d99){_0x948122['push'](_0x948122['shift']());}}}(a4_0x4953,0xe5d47));const path=require(a4_0x219a12(0x206)),fs=require('fs'),{v4:uuidv4}=require(a4_0x219a12(0x220)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x219a12(0x264)),{getTestEnv}=require(a4_0x219a12(0x16e)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')[a4_0x219a12(0x250)],SessionHandler=require(a4_0x219a12(0x1bd)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x219a12(0x20a)),debug=testOpsHelper[a4_0x219a12(0x23e)],{processAccessibilityCaps}=require(a4_0x219a12(0x252)),Constants=require(a4_0x219a12(0x1b1)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x219a12(0x174)),constants=require('../utils/constants'),STATE_PASSED=a4_0x219a12(0x241),STATE_FAILED='failed',a4_0xa496aa={};a4_0xa496aa[a4_0x219a12(0x204)]='TestRunStarted',a4_0xa496aa[a4_0x219a12(0x182)]=a4_0x219a12(0x25b),a4_0xa496aa[a4_0x219a12(0x21a)]=a4_0x219a12(0x1a2),a4_0xa496aa[a4_0x219a12(0x263)]=a4_0x219a12(0x1a6),a4_0xa496aa['HOOK_RUN_FINISHED']=a4_0x219a12(0x1ce);const TEST_EVENTS=a4_0xa496aa,parseEvent=_0x5bf26b=>{const _0x142618=a4_0x219a12,_0x1ee443={};_0x1ee443[_0x142618(0x20d)]=function(_0x4ea05c,_0x1f6a49){return _0x4ea05c<_0x1f6a49;},_0x1ee443[_0x142618(0x183)]=function(_0x33ae52,_0x2be215){return _0x33ae52===_0x2be215;},_0x1ee443[_0x142618(0x22f)]=_0x142618(0x249),_0x1ee443[_0x142618(0x229)]=function(_0x2d5171,_0x284e7e){return _0x2d5171===_0x284e7e;},_0x1ee443[_0x142618(0x258)]=_0x142618(0x25e),_0x1ee443['Sjykb']='skipped',_0x1ee443[_0x142618(0x1f0)]=function(_0x657d9d,_0x52b7de){return _0x657d9d===_0x52b7de;},_0x1ee443[_0x142618(0x1c6)]='started',_0x1ee443['mFeOr']=function(_0x42eace,_0x5b79ec){return _0x42eace===_0x5b79ec;},_0x1ee443['rPNiX']=_0x142618(0x178);const _0x1bc633=_0x1ee443,_0x1ac139=_0x5bf26b[_0x142618(0x239)](/^(.*)Run(.*)$/);if(!_0x1ac139)return null;if(_0x1bc633['LHqYG'](_0x1ac139[_0x142618(0x199)],0x3))return null;const _0x3787aa=_0x1ac139[0x1][_0x142618(0x184)](),_0x398967=_0x1ac139[0x2][_0x142618(0x184)]();return{'test':_0x1bc633[_0x142618(0x183)](_0x3787aa,_0x1bc633['miqPp']),'hook':_0x1bc633['VhruJ'](_0x3787aa,_0x1bc633['syKoj']),'skipped':_0x1bc633[_0x142618(0x183)](_0x398967,_0x1bc633[_0x142618(0x1cf)]),'started':_0x1bc633[_0x142618(0x1f0)](_0x398967,_0x1bc633[_0x142618(0x1c6)]),'finished':_0x1bc633[_0x142618(0x210)](_0x398967,_0x1bc633[_0x142618(0x24a)])};},mockPWBrowserType=_0x1247bc=>{const _0x2b72cd=a4_0x219a12,_0x390a53={'dzSms':function(_0x307705,_0x3c0bed){return _0x307705===_0x3c0bed;},'OnnDw':_0x2b72cd(0x179),'DrxfQ':function(_0x2ffcfe,_0x65aa53,_0x1b900e){return _0x2ffcfe(_0x65aa53,_0x1b900e);},'VWVzg':_0x2b72cd(0x1c2),'SjlzE':function(_0x254b59,_0x275e56){return _0x254b59(_0x275e56);},'DHXsX':_0x2b72cd(0x180),'JTTCh':function(_0x13cf92,_0x2b4273,_0x211c3f){return _0x13cf92(_0x2b4273,_0x211c3f);},'EimIP':function(_0x1439dc,_0x2282a6){return _0x1439dc(_0x2282a6);},'zrCrB':_0x2b72cd(0x19b),'ZmteJ':'client','FdNEL':'browserType.js','fpFhp':function(_0x1e1e04,_0x17dd34){return _0x1e1e04(_0x17dd34);},'gYBwc':_0x2b72cd(0x200),'mbRXZ':_0x2b72cd(0x1f5),'QKaui':_0x2b72cd(0x188)},_0x289124=path[_0x2b72cd(0x1af)](_0x390a53[_0x2b72cd(0x21c)],_0x390a53[_0x2b72cd(0x1b2)],_0x390a53[_0x2b72cd(0x1bf)]),_0x27dd1e=_0x390a53[_0x2b72cd(0x211)](importFileFromPWCore,_0x289124);if(!_0x27dd1e){_0x390a53[_0x2b72cd(0x1fc)](debug,_0x390a53['gYBwc']);return;}const _0x29570e=_0x27dd1e['BrowserType'],_0x5885a4=_0x29570e['prototype'];if(_0x5885a4[_0x2b72cd(0x197)])return;const _0x32877c=_0x5885a4[_0x2b72cd(0x1f5)];Object[_0x2b72cd(0x233)](_0x5885a4,_0x390a53[_0x2b72cd(0x22d)],{'get':function(){const _0x1d1386=_0x2b72cd,_0x1ce898={'LQvWy':function(_0x16008e,_0x784537){const _0x537238=a4_0x1a51;return _0x390a53[_0x537238(0x1db)](_0x16008e,_0x784537);},'EeVdr':_0x390a53[_0x1d1386(0x16f)],'LChzl':function(_0x4f86a6,_0x503aec,_0x1a4a5f){const _0x5ed9d4=_0x1d1386;return _0x390a53[_0x5ed9d4(0x1c0)](_0x4f86a6,_0x503aec,_0x1a4a5f);},'AdCVh':_0x390a53[_0x1d1386(0x244)],'wYzsS':function(_0x2434b8,_0x4973be){const _0x41a815=_0x1d1386;return _0x390a53[_0x41a815(0x1fc)](_0x2434b8,_0x4973be);},'YWHbO':_0x390a53[_0x1d1386(0x18c)],'RJQOg':function(_0x5edb11,_0x1df385,_0x2e3132){const _0x2f58e6=_0x1d1386;return _0x390a53[_0x2f58e6(0x1cb)](_0x5edb11,_0x1df385,_0x2e3132);},'iPupC':function(_0x34b2bf,_0x4b27ea){return _0x390a53['EimIP'](_0x34b2bf,_0x4b27ea);}};return async function _0x9fa051(_0x6bd3f1,_0x47e037){const _0x4dcd38=_0x1d1386,_0x1e2b6f={'pKdml':function(_0x5f181d,_0x4aae4a){const _0x510e50=a4_0x1a51;return _0x1ce898[_0x510e50(0x1a3)](_0x5f181d,_0x4aae4a);},'thMLd':_0x1ce898['EeVdr']},_0x282461=_0x1ce898[_0x4dcd38(0x22b)](nestedKeyValue,_0x6bd3f1,[_0x1ce898[_0x4dcd38(0x23b)]])||_0x6bd3f1;let _0x11bc96=null,_0xd8c4b7=null;try{[_0xd8c4b7,_0x11bc96]=_0x282461?_0x1ce898['wYzsS'](parseWSEndpoint,_0x282461):[null,null],global[_0x4dcd38(0x1ec)]=_0x11bc96,logger[_0x4dcd38(0x23e)]('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0xd8c4b7),_0xd8c4b7['includes'](Constants[_0x4dcd38(0x1eb)])&&(global['__cloud_provider___']=_0x1ce898['YWHbO']);}catch(_0xd29774){logger[_0x4dcd38(0x23e)](_0x4dcd38(0x1c7)+_0x282461+'\x20'+_0xd29774);}_0x1ce898[_0x4dcd38(0x17a)](processAccessibilityCaps,_0x11bc96,_0xd8c4b7);if(global['accessibilityPlatform']){const _0x6e7b06=await _0x5885a4[_0x4dcd38(0x18e)][_0x4dcd38(0x246)](this,[''+Constants[_0x4dcd38(0x18d)]+_0x1ce898['iPupC'](encodeURIComponent,JSON[_0x4dcd38(0x234)](_0x11bc96))]);return PlaywrightSessionDetails[_0x4dcd38(0x25d)](_0x6e7b06,_0x1247bc,_0x282461),_0x6e7b06;}return _0x32877c[_0x4dcd38(0x246)](this,arguments)[_0x4dcd38(0x17e)](_0x1b3723=>{const _0x3dcf54=_0x4dcd38;let _0x3869dd=_0x6bd3f1[_0x3dcf54(0x1c2)];return _0x1e2b6f['pKdml'](typeof _0x6bd3f1,_0x1e2b6f[_0x3dcf54(0x1ff)])&&(_0x3869dd=_0x6bd3f1),PlaywrightSessionDetails['setupBrowserDetails'](_0x1b3723,_0x1247bc,_0x3869dd),_0x1b3723;});};}});const _0x247d36=_0x5885a4[_0x2b72cd(0x188)];Object[_0x2b72cd(0x233)](_0x5885a4,_0x390a53[_0x2b72cd(0x226)],{'get':function(){return async function _0x3f6e97(){const _0xadb005=a4_0x1a51;return _0x247d36[_0xadb005(0x246)](this,arguments)['then'](_0x2419eb=>{const _0x2273bf=_0xadb005;return PlaywrightSessionDetails[_0x2273bf(0x25d)](_0x2419eb,null),_0x2419eb;});};}});};class O11yHelper{[a4_0x219a12(0x230)]=null;[a4_0x219a12(0x1d2)]=null;[a4_0x219a12(0x1d5)]=![];[a4_0x219a12(0x23c)]=![];constructor(_0x948654,_0x2d1ae8){const _0x22c315=a4_0x219a12,_0x5b7a45={'PztFw':_0x22c315(0x1fe),'rUQad':function(_0x451b4f,_0x53cf9d){return _0x451b4f===_0x53cf9d;},'DjJUC':_0x22c315(0x16a),'FdDJv':function(_0x5c6ad7,_0x241297){return _0x5c6ad7(_0x241297);},'IaOvH':function(_0x2b52b4){return _0x2b52b4();},'efZrB':function(_0x5e22f7){return _0x5e22f7();}},_0x1eae5c=_0x5b7a45[_0x22c315(0x176)][_0x22c315(0x1ee)]('|');let _0x373aa3=0x0;while(!![]){switch(_0x1eae5c[_0x373aa3++]){case'0':this['driver']&&_0x5b7a45['rUQad'](this[_0x22c315(0x255)]['constructor'][_0x22c315(0x265)],_0x5b7a45['DjJUC'])&&_0x5b7a45[_0x22c315(0x23d)](mockPWBrowserType,null);continue;case'1':this['enabled']=_0x5b7a45[_0x22c315(0x221)](shouldProcessEventForTesthub);continue;case'2':this['_testEnv']=_0x5b7a45[_0x22c315(0x235)](getTestEnv);continue;case'3':this[_0x22c315(0x255)]=_0x948654;continue;case'4':this[_0x22c315(0x1e1)]=new testOpsHelper['PathHelper']({'cwd':process[_0x22c315(0x256)]()},this[_0x22c315(0x1fd)][_0x22c315(0x259)]);continue;case'5':this[_0x22c315(0x23c)]=_0x2d1ae8[_0x22c315(0x23c)];continue;}break;}}[a4_0x219a12(0x20e)](){const _0x39d87b=a4_0x219a12;if(!this[_0x39d87b(0x1d5)])return;testOpsHelper[_0x39d87b(0x171)](),process['removeAllListeners'](_0x39d87b(0x1c9)+process[_0x39d87b(0x1fb)]),process['on'](_0x39d87b(0x1c9)+process[_0x39d87b(0x1fb)],this['appendTestItemLog'][_0x39d87b(0x17b)](this));}async[a4_0x219a12(0x1ba)](){const _0x14168b=a4_0x219a12;await RequestQueueHandler[_0x14168b(0x1b3)]()[_0x14168b(0x1d9)]();}async[a4_0x219a12(0x16c)](_0x204bf1){const _0x19e47f=a4_0x219a12,_0x3f5b13={'pdtOO':_0x19e47f(0x227),'vqhLA':function(_0xf05af6,_0x302a35){return _0xf05af6(_0x302a35);}};try{this[_0x19e47f(0x1d2)]&&!this[_0x19e47f(0x1d2)][_0x19e47f(0x187)]&&(_0x204bf1['hook_run_uuid']=this['currentHook']['hookAnalyticsId']);!_0x204bf1[_0x19e47f(0x21f)]&&this['currentTest']&&!this[_0x19e47f(0x230)][_0x19e47f(0x187)]&&(_0x204bf1[_0x19e47f(0x1c8)]=this[_0x19e47f(0x230)][_0x19e47f(0x24c)]);if(_0x204bf1[_0x19e47f(0x21f)]||_0x204bf1[_0x19e47f(0x1c8)]){const _0x555b91={};_0x555b91[_0x19e47f(0x218)]=_0x3f5b13['pdtOO'],_0x555b91['logs']=[_0x204bf1],await SessionHandler[_0x19e47f(0x1f8)](_0x555b91);}}catch(_0x906a8b){_0x3f5b13[_0x19e47f(0x1ea)](debug,_0x19e47f(0x222)+constants[_0x19e47f(0x1b5)]+_0x19e47f(0x1c1)+_0x906a8b);}}async[a4_0x219a12(0x19e)](_0x5cdab3){const _0x3d8405=a4_0x219a12,_0x526f33={'GkJGr':'CBTSessionCreated','YsKhH':function(_0x262905,_0x3bcc9b){return _0x262905(_0x3bcc9b);}};if(!this[_0x3d8405(0x1d5)])return;const _0x17be56=this[_0x3d8405(0x25a)](this[_0x3d8405(0x255)]);try{const _0x1d9197={};_0x1d9197[_0x3d8405(0x220)]=_0x5cdab3,_0x1d9197[_0x3d8405(0x1d6)]=_0x17be56;const _0x339b76=_0x1d9197,_0x5693ce={};_0x5693ce[_0x3d8405(0x218)]=_0x526f33[_0x3d8405(0x214)],_0x5693ce[_0x3d8405(0x1cd)]=_0x339b76,await SessionHandler['uploadEventData'](_0x5693ce);}catch(_0xb67e27){_0x526f33['YsKhH'](debug,_0x3d8405(0x1b6)+constants[_0x3d8405(0x1b5)]+'\x20with\x20error\x20:\x20'+_0xb67e27);}}[a4_0x219a12(0x25a)](_0x27c4b5){const _0x347dc4=a4_0x219a12,_0x1e6c0a={'ybaMz':function(_0x6597d9,_0x12fe3d){return _0x6597d9(_0x12fe3d);}};return _0x1e6c0a[_0x347dc4(0x202)](fetchPlatformDetails,_0x27c4b5);}[a4_0x219a12(0x1d1)]=_0x25dde7=>{const _0x2e0ff7=a4_0x219a12,_0x40cbea={};_0x40cbea[_0x2e0ff7(0x21b)]=_0x2e0ff7(0x193),_0x40cbea[_0x2e0ff7(0x19a)]=_0x2e0ff7(0x216);const _0x4ceb9d=_0x40cbea;if(!_0x25dde7||!_0x25dde7[_0x2e0ff7(0x1f6)])return;[_0x4ceb9d[_0x2e0ff7(0x21b)],_0x4ceb9d[_0x2e0ff7(0x19a)]][_0x2e0ff7(0x1dd)](_0x4ba45f=>{const _0x1c08cc=_0x2e0ff7,_0x5e4f42=_0x25dde7['parent'][_0x4ba45f];_0x5e4f42[_0x1c08cc(0x1dd)](_0x435d4c=>{const _0x5aa3ce=_0x1c08cc;_0x435d4c[_0x5aa3ce(0x191)]&&(_0x435d4c[_0x5aa3ce(0x191)]=null);});});};[a4_0x219a12(0x198)](_0xe75421){const _0x4d55e7=a4_0x219a12,_0x1efc67={'bshDP':_0x4d55e7(0x1d8),'CEHyI':function(_0x17da95){return _0x17da95();},'oARTk':function(_0x3e4bbf,_0x31310f){return _0x3e4bbf===_0x31310f;},'jfpdI':'_afterEach','OANUn':'_beforeAll','FWvXC':_0x4d55e7(0x1f9),'utYsJ':'_beforeEach'};if(!_0xe75421||!_0xe75421[_0x4d55e7(0x1f6)])return;[_0x1efc67['OANUn'],_0x1efc67[_0x4d55e7(0x1be)],_0x1efc67['utYsJ'],_0x1efc67['jfpdI']][_0x4d55e7(0x1dd)](_0x753386=>{const _0x2032e1=_0x4d55e7,_0x21e487={'IoxCn':_0x1efc67[_0x2032e1(0x1a4)],'roNrW':function(_0xa17dea){const _0x3f349a=_0x2032e1;return _0x1efc67[_0x3f349a(0x177)](_0xa17dea);},'PxIqS':function(_0x133cc6,_0x5e4591){const _0x47b875=_0x2032e1;return _0x1efc67[_0x47b875(0x245)](_0x133cc6,_0x5e4591);},'MWsBp':_0x1efc67[_0x2032e1(0x173)]},_0x49ced3=_0xe75421[_0x2032e1(0x1f6)][_0x753386]||[];_0x49ced3[_0x2032e1(0x1dd)](_0x428483=>{const _0x12a9d1=_0x2032e1;if(_0x428483[_0x12a9d1(0x21e)]['includes'](_0x21e487[_0x12a9d1(0x237)]))return;if(!_0x428483[_0x12a9d1(0x191)])_0x428483[_0x12a9d1(0x191)]=_0x21e487[_0x12a9d1(0x25f)](uuidv4);else _0x428483[_0x12a9d1(0x187)]&&_0x21e487['PxIqS'](_0x753386,_0x21e487['MWsBp'])&&(_0x428483[_0x12a9d1(0x191)]=_0x21e487['roNrW'](uuidv4),delete _0x428483[_0x12a9d1(0x187)]);});}),this[_0x4d55e7(0x198)](_0xe75421[_0x4d55e7(0x1f6)]);}[a4_0x219a12(0x1aa)](_0x27fe27){const _0xccdafb=a4_0x219a12,_0x4ccaa8={};_0x4ccaa8[_0xccdafb(0x228)]='_beforeAll',_0x4ccaa8[_0xccdafb(0x20f)]=_0xccdafb(0x1f9),_0x4ccaa8[_0xccdafb(0x1dc)]=_0xccdafb(0x193),_0x4ccaa8[_0xccdafb(0x251)]=_0xccdafb(0x216);const _0x37d506=_0x4ccaa8;if(!_0x27fe27||!_0x27fe27[_0xccdafb(0x1f6)])return[];const _0x3581d4=[];return[_0x37d506[_0xccdafb(0x228)],_0x37d506['fEAax'],_0x37d506['vmPSI'],_0x37d506[_0xccdafb(0x251)]][_0xccdafb(0x1dd)](_0x2129dd=>{const _0x10705f=_0xccdafb,_0x1c8f59=_0x27fe27[_0x10705f(0x1f6)][_0x2129dd]||[];_0x1c8f59[_0x10705f(0x1dd)](_0x37b531=>{const _0x251c85=_0x10705f;_0x37b531[_0x251c85(0x191)]&&_0x3581d4['push'](_0x37b531[_0x251c85(0x191)]);});}),[]['concat'](_0x3581d4,this[_0xccdafb(0x1aa)](_0x27fe27[_0xccdafb(0x1f6)]));}[a4_0x219a12(0x1c5)](_0x254c81){const _0x176642=a4_0x219a12,_0x4a44e7=/^"(?<hook>.*)" hook:.*$/,_0x579e22=_0x254c81[_0x176642(0x21e)],_0x28b73a=_0x579e22[_0x176642(0x239)](_0x4a44e7);if(_0x28b73a&&_0x28b73a[_0x176642(0x1da)])return _0x28b73a[_0x176642(0x1da)][_0x176642(0x25e)]['toUpperCase']()[_0x176642(0x17d)]('\x20','_');return null;}[a4_0x219a12(0x212)](_0x2a2708){const _0x183e32=a4_0x219a12,_0x2ce729={};_0x2ce729[_0x183e32(0x1f7)]=function(_0x4761bf,_0x28fe3b){return _0x4761bf===_0x28fe3b;},_0x2ce729[_0x183e32(0x213)]=function(_0x502e11,_0x36e9a2){return _0x502e11===_0x36e9a2;},_0x2ce729[_0x183e32(0x1ad)]=function(_0x50614c,_0x518354){return _0x50614c===_0x518354;},_0x2ce729[_0x183e32(0x236)]=_0x183e32(0x1f1),_0x2ce729['nssEW']=_0x183e32(0x1ef);const _0x23bccd=_0x2ce729,_0xbc5831=path[_0x183e32(0x203)];if(_0x23bccd[_0x183e32(0x1f7)](_0x2a2708,null)||_0x23bccd[_0x183e32(0x213)](_0x2a2708,'')||_0x23bccd['tSAmM'](_0x2a2708,_0xbc5831)||_0x23bccd[_0x183e32(0x1ad)](_0x2a2708,path[_0x183e32(0x248)](_0x2a2708)))return null;try{return fs[_0x183e32(0x23f)](path[_0x183e32(0x1af)](_0x2a2708,_0x23bccd['trDmu'],_0x23bccd[_0x183e32(0x25c)])),_0x2a2708;}catch(_0x3a3333){const _0x70e03a=path['dirname'](_0x2a2708);return this[_0x183e32(0x212)](_0x70e03a);}}[a4_0x219a12(0x21d)](_0x49ac28){const _0x469cc9=a4_0x219a12,_0x52b2c6={};_0x52b2c6[_0x469cc9(0x209)]=function(_0x1d6690,_0x20b798){return _0x1d6690>_0x20b798;};const _0x449c14=_0x52b2c6;if(_0x49ac28[_0x469cc9(0x1df)])return _0x49ac28[_0x469cc9(0x1df)];if(_0x49ac28[_0x469cc9(0x1e2)]){const _0x37193e=_0x49ac28[_0x469cc9(0x1e2)][_0x469cc9(0x230)]?this[_0x469cc9(0x21d)](_0x49ac28[_0x469cc9(0x1e2)]['currentTest']):null;if(_0x37193e)return _0x37193e;}if(_0x49ac28['parent']){const _0x5d687d=this[_0x469cc9(0x21d)](_0x49ac28['parent'])||(_0x49ac28[_0x469cc9(0x1f6)][_0x469cc9(0x1e2)]&&_0x49ac28[_0x469cc9(0x1f6)][_0x469cc9(0x1e2)]['currentTest']?this[_0x469cc9(0x21d)](_0x49ac28['parent']['ctx'][_0x469cc9(0x230)]):null);if(_0x5d687d)return _0x5d687d;_0x49ac28[_0x469cc9(0x1f6)][_0x469cc9(0x172)]&&_0x449c14[_0x469cc9(0x209)](_0x49ac28[_0x469cc9(0x1f6)]['suites'][_0x469cc9(0x199)],0x0)&&_0x49ac28[_0x469cc9(0x1f6)]['suites'][_0x469cc9(0x1dd)](_0xa68358=>{const _0x463357=_0x469cc9,_0x51aaeb=_0xa68358[_0x463357(0x1e2)]?this['getRootParentFile'](_0xa68358[_0x463357(0x1e2)]):null;if(_0x51aaeb)return _0x51aaeb;});}return null;}[a4_0x219a12(0x1f4)](_0x2c8b64){const _0x34643b=a4_0x219a12,_0x7325e6={};_0x7325e6[_0x34643b(0x194)]=function(_0x309697,_0xbe20e1){return _0x309697!==_0xbe20e1;};const _0x1972be=_0x7325e6,_0x557cc4=[];if(_0x2c8b64&&_0x2c8b64[_0x34643b(0x1f6)]){let _0x4a0cfc=_0x2c8b64['parent'];while(_0x4a0cfc&&_0x1972be[_0x34643b(0x194)](_0x4a0cfc[_0x34643b(0x21e)],'')){_0x557cc4[_0x34643b(0x1ae)](_0x4a0cfc[_0x34643b(0x21e)]),_0x4a0cfc=_0x4a0cfc[_0x34643b(0x1f6)];}}return _0x557cc4;}[a4_0x219a12(0x254)](_0x463b66,_0x1a0aad,_0x2cf215=undefined){const _0x5b9d87=a4_0x219a12,_0x5a86b1={'GtFil':function(_0x3e5271,_0x4d4fa2){return _0x3e5271(_0x4d4fa2);},'gCiUr':function(_0x5851c4){return _0x5851c4();},'klznb':function(_0x64903f){return _0x64903f();},'JMPwp':function(_0x37f338){return _0x37f338();},'AMSUS':function(_0x4c95a4,_0x273a86){return _0x4c95a4(_0x273a86);},'mIufm':_0x5b9d87(0x1d3),'nJGHB':_0x5b9d87(0x1a1),'EddfI':function(_0x240d70,_0x610ec8){return _0x240d70!==_0x610ec8;},'yIgab':function(_0x34a98d,_0x444d65){return _0x34a98d!==_0x444d65;},'hGxWb':'File\x20path\x20could\x20not\x20be\x20found','zmIeu':'pending','osaGG':_0x5b9d87(0x1a7),'zUCOg':_0x5b9d87(0x241),'ZrFcp':_0x5b9d87(0x1b0),'bXmkN':'javascript','UVmnM':function(_0x52c501,_0x46429b){return _0x52c501-_0x46429b;},'TBuEz':function(_0x5bbd31,_0x35c9ac,_0x3c0c04,_0x3e281d,_0x3eb5b1){return _0x5bbd31(_0x35c9ac,_0x3c0c04,_0x3e281d,_0x3eb5b1);},'wFQLn':_0x5b9d87(0x1d6),'DYqYS':'meta','OzoUC':_0x5b9d87(0x1b4),'tBdYa':_0x5b9d87(0x20c),'SLayH':_0x5b9d87(0x19d),'HMWNE':_0x5b9d87(0x1e3),'GQsat':_0x5b9d87(0x1b8),'vfwxH':function(_0x40289f,_0xb31204){return _0x40289f===_0xb31204;},'OrUUh':_0x5b9d87(0x1e9),'ILIde':_0x5b9d87(0x1cd)};if(!this[_0x5b9d87(0x1d5)])return;try{if(_0x1a0aad['fn']&&_0x1a0aad['fn'][_0x5b9d87(0x186)]()[_0x5b9d87(0x239)](/browserstack internal helper hook/))return;const _0x7ba337=_0x5a86b1[_0x5b9d87(0x20b)](parseEvent,_0x463b66);if(!_0x7ba337)return;if(_0x7ba337[_0x5b9d87(0x249)]){this['currentTest']=_0x1a0aad,this['currentHook']=null;if(_0x7ba337['started']||_0x7ba337['skipped']){_0x1a0aad['startedAt']=new Date(),_0x1a0aad[_0x5b9d87(0x187)]=![];if(!_0x1a0aad[_0x5b9d87(0x24c)])_0x1a0aad[_0x5b9d87(0x24c)]=_0x5a86b1[_0x5b9d87(0x1f2)](uuidv4);else _0x1a0aad[_0x5b9d87(0x187)]&&(!_0x1a0aad[_0x5b9d87(0x22a)]&&(_0x1a0aad['retryOf']=_0x1a0aad[_0x5b9d87(0x24c)]),_0x1a0aad[_0x5b9d87(0x24c)]=_0x5a86b1['gCiUr'](uuidv4));}}else{if(_0x7ba337[_0x5b9d87(0x25e)]){this[_0x5b9d87(0x1d2)]=_0x1a0aad;if(_0x7ba337[_0x5b9d87(0x1a8)]){_0x1a0aad[_0x5b9d87(0x1a0)]=new Date(),_0x1a0aad[_0x5b9d87(0x187)]=![];if(!_0x1a0aad[_0x5b9d87(0x191)])_0x1a0aad['hookAnalyticsId']=_0x5a86b1[_0x5b9d87(0x18b)](uuidv4);else _0x1a0aad[_0x5b9d87(0x191)]&&_0x1a0aad[_0x5b9d87(0x187)]&&(_0x1a0aad[_0x5b9d87(0x191)]=_0x5a86b1[_0x5b9d87(0x225)](uuidv4));}}}if(_0x7ba337[_0x5b9d87(0x178)]&&_0x1a0aad[_0x5b9d87(0x187)])return;let _0x13b009;try{_0x13b009=this['getRootParentFile'](_0x1a0aad);}catch(_0x2c4674){logger['debug'](_0x5b9d87(0x217)+_0x2c4674),_0x13b009=null;}const _0x18b7e7=_0x5a86b1[_0x5b9d87(0x185)](require,_0x5a86b1['mIufm']);let _0x2eed4d=[];_0x2cf215&&(_0x2eed4d=[_0x2cf215,_0x5a86b1[_0x5b9d87(0x1e4)]]);const _0x21f444=_0x5a86b1[_0x5b9d87(0x169)](_0x1a0aad['errorsDetailed'],undefined)?_0x18b7e7['inspect'](_0x1a0aad[_0x5b9d87(0x208)][0x0]):_0x5a86b1[_0x5b9d87(0x16d)](_0x2cf215,undefined)?_0x2cf215[_0x5b9d87(0x186)]():undefined,_0x62dc40=_0x13b009?this['findGitConfig'](_0x13b009):null,_0x59e3c9=_0x13b009?this[_0x5b9d87(0x1e1)][_0x5b9d87(0x231)](this['getRootParentFile'](_0x1a0aad)):_0x5a86b1[_0x5b9d87(0x219)];let _0x2f57fb=_0x5a86b1[_0x5b9d87(0x253)];const _0x303563=!_0x7ba337[_0x5b9d87(0x1a8)]?new Date()['toISOString']():null;if(_0x7ba337[_0x5b9d87(0x178)])_0x2f57fb=_0x2cf215?_0x5a86b1['osaGG']:_0x5a86b1[_0x5b9d87(0x1e0)],_0x1a0aad[_0x5b9d87(0x187)]=!![];else _0x7ba337[_0x5b9d87(0x1b0)]&&(_0x2f57fb=_0x5a86b1[_0x5b9d87(0x19c)],_0x1a0aad['markedStatus']=!![]);const _0xf31545={'framework':this[_0x5b9d87(0x23c)],'uuid':_0x1a0aad[_0x5b9d87(0x24c)]||_0x1a0aad['hookAnalyticsId'],'name':_0x1a0aad[_0x5b9d87(0x21e)],'body':{'lang':_0x5a86b1['bXmkN'],'code':_0x1a0aad[_0x5b9d87(0x261)]['toString']()},'type':_0x1a0aad[_0x5b9d87(0x24e)],'scope':_0x1a0aad['fullTitle'](),'scopes':this['getHierarchy'](_0x1a0aad),'file_name':_0x59e3c9,'vc_filepath':_0x62dc40?path[_0x5b9d87(0x1bc)](_0x62dc40,_0x13b009):null,'location':_0x59e3c9,'result':_0x2f57fb,'failure_reason':_0x21f444,'duration_in_ms':_0x1a0aad['duration']||(_0x7ba337[_0x5b9d87(0x178)]||_0x7ba337[_0x5b9d87(0x1b0)])?_0x5a86b1[_0x5b9d87(0x223)](Date[_0x5b9d87(0x240)](),new Date(_0x1a0aad[_0x5b9d87(0x1a0)])[_0x5b9d87(0x1ed)]()):null,'started_at':new Date(_0x1a0aad['startedAt'])['toISOString'](),'finished_at':_0x303563,'failure':testOpsHelper[_0x5b9d87(0x1c3)][_0x5b9d87(0x246)](null,_0x2eed4d),'failure_type':!_0x21f444?null:testOpsHelper[_0x5b9d87(0x1b9)](_0x21f444),'retry_of':_0x1a0aad[_0x5b9d87(0x22a)]||null,'tags':_0x1a0aad[_0x5b9d87(0x242)]||[],'customRerunParam':{'rerun_name':_0x1a0aad['fullTitle']()}};_0x5a86b1['TBuEz'](appendTesthubParams,_0xf31545,_0x463b66,_0x1a0aad,FRAMEWORKS['CODECEPT']);if(_0x7ba337['hook'])[_0xf31545[_0x5b9d87(0x19f)],_0xf31545[_0x5b9d87(0x265)]]=[this['getHookType'](_0x1a0aad),_0x1a0aad[_0x5b9d87(0x1e2)][_0x5b9d87(0x249)]['title']],_0x7ba337[_0x5b9d87(0x178)]?_0x5a86b1[_0x5b9d87(0x169)](_0xf31545['result'],_0x5a86b1[_0x5b9d87(0x267)])&&(_0xf31545['result']=_0x5a86b1[_0x5b9d87(0x1e0)]):_0xf31545['body']={};else _0x7ba337[_0x5b9d87(0x249)]&&(this[_0x5b9d87(0x198)](_0x1a0aad),_0x7ba337[_0x5b9d87(0x1b0)]&&this['resetSkipTestHooks'](_0x1a0aad),(_0x7ba337[_0x5b9d87(0x178)]||_0x7ba337[_0x5b9d87(0x1b0)])&&(_0xf31545['hooks']=this[_0x5b9d87(0x1aa)](_0x1a0aad)));this['driver']&&(_0x7ba337[_0x5b9d87(0x1a8)]||_0x7ba337[_0x5b9d87(0x1b0)])&&(_0xf31545[_0x5a86b1['wFQLn']]=this[_0x5b9d87(0x25a)](this[_0x5b9d87(0x255)]));_0x7ba337['test']&&_0x7ba337['finished']&&_0x1a0aad['bddSteps']&&(_0xf31545[_0x5a86b1[_0x5b9d87(0x192)]]={'feature':{'name':_0x1a0aad[_0x5b9d87(0x1f6)][_0x5b9d87(0x189)]['name'],'path':_0xf31545[_0x5b9d87(0x1bb)],'description':_0x1a0aad[_0x5b9d87(0x1f6)][_0x5b9d87(0x1d7)]},'scenario':{'name':_0x1a0aad[_0x5b9d87(0x21e)]},'steps':_0x1a0aad['bddSteps']});const _0x51765b=_0xf31545[_0x5a86b1[_0x5b9d87(0x238)]][0x0];_0x51765b&&(_0xf31545[_0x5a86b1[_0x5b9d87(0x17f)]]=_0x51765b[_0x5a86b1[_0x5b9d87(0x215)]],_0xf31545[_0x5a86b1['HMWNE']]=_0x51765b[_0x5a86b1[_0x5b9d87(0x22c)]]);if(_0x1a0aad[_0x5b9d87(0x1d0)])for(const _0x4025b5 of _0x1a0aad[_0x5b9d87(0x1d0)]){!_0x4025b5[_0x5b9d87(0x23a)]&&(_0x4025b5[_0x5b9d87(0x23a)]=new Date()[_0x5b9d87(0x181)](),_0x5a86b1[_0x5b9d87(0x1d4)](_0x4025b5[_0x5b9d87(0x1ca)],_0x5a86b1[_0x5b9d87(0x253)])&&(_0x51765b?(_0x4025b5['result']=_0x5a86b1['osaGG'],_0x4025b5[_0x5b9d87(0x1b4)]=_0x51765b[_0x5a86b1['SLayH']][0x0]):_0x4025b5[_0x5b9d87(0x1ca)]=_0x5a86b1[_0x5b9d87(0x1e0)]));}const _0x39015f={};_0x39015f[_0x5b9d87(0x218)]=_0x7ba337['skipped']?TEST_EVENTS[_0x5b9d87(0x182)]:_0x463b66;const _0x28797f=_0x39015f;return _0x7ba337[_0x5b9d87(0x25e)]?_0x28797f[_0x5a86b1['OrUUh']]=_0xf31545:_0x28797f[_0x5a86b1[_0x5b9d87(0x266)]]=_0xf31545,_0x28797f;}catch(_0xa645){logger[_0x5b9d87(0x23e)](_0x5b9d87(0x17c)+_0x463b66+_0x5b9d87(0x1c1)+_0xa645);}}async[a4_0x219a12(0x1e7)](_0x1f0607,_0x5bdb14){const _0x55b464=a4_0x219a12;if(!this[_0x55b464(0x1d5)]||!_0x5bdb14||!_0x1f0607)return![];try{return await SessionHandler['uploadEventData'](_0x5bdb14);}catch(_0x314af6){logger['debug'](_0x55b464(0x16b)+_0x1f0607+_0x55b464(0x1c1)+_0x314af6);}}[a4_0x219a12(0x1de)](_0x4902fe){const _0x1ef906=a4_0x219a12,_0x2b0f46={};_0x2b0f46['PTfIJ']=_0x1ef906(0x190);const _0x565c9f=_0x2b0f46;return{'id':_0x4902fe['stepAnalyticsId'],'text':_0x4902fe[_0x1ef906(0x207)],'keyword':_0x4902fe[_0x1ef906(0x262)],'started_at':_0x4902fe[_0x1ef906(0x1a0)][_0x1ef906(0x181)](),'result':_0x565c9f[_0x1ef906(0x168)]};}[a4_0x219a12(0x18f)](_0x25bae4){const _0xdd08a3=a4_0x219a12,_0x5269b1={'JXBtA':function(_0x3fa5af){return _0x3fa5af();}};!this[_0xdd08a3(0x230)]['bddSteps']&&(this['currentTest'][_0xdd08a3(0x1d0)]=[]),!_0x25bae4[_0xdd08a3(0x170)]&&(_0x25bae4[_0xdd08a3(0x170)]=_0x5269b1[_0xdd08a3(0x1b7)](uuidv4),_0x25bae4['startedAt']=new Date(),this['currentTest']['bddSteps'][_0xdd08a3(0x1ae)](this[_0xdd08a3(0x1de)](_0x25bae4)));}[a4_0x219a12(0x24d)](_0x2e544a){const _0x50ded9=a4_0x219a12,_0x483810={'KDLsF':function(_0x2a7fe7,_0xe94e0d){return _0x2a7fe7(_0xe94e0d);},'ViSMI':_0x50ded9(0x260),'aOPoF':_0x50ded9(0x190),'QRkXb':_0x50ded9(0x241),'QCVTH':function(_0x148e3a,_0x31d2a4){return _0x148e3a-_0x31d2a4;}};let _0x53e071=this[_0x50ded9(0x230)]['bddSteps'][_0x50ded9(0x195)](_0x3a76a9=>_0x3a76a9['id']===_0x2e544a[_0x50ded9(0x170)]);_0x483810[_0x50ded9(0x196)](isUndefined,_0x53e071)&&(_0x53e071=this[_0x50ded9(0x1de)](_0x2e544a)),_0x53e071[_0x50ded9(0x1ca)]=[_0x483810[_0x50ded9(0x224)],_0x483810[_0x50ded9(0x243)]][_0x50ded9(0x1fa)](_0x2e544a['status'])?_0x483810[_0x50ded9(0x1e6)]:_0x2e544a[_0x50ded9(0x1c4)],_0x53e071[_0x50ded9(0x23a)]=new Date()[_0x50ded9(0x181)](),_0x53e071[_0x50ded9(0x247)]=_0x483810[_0x50ded9(0x1ab)](Date[_0x50ded9(0x240)](),_0x2e544a[_0x50ded9(0x1a0)][_0x50ded9(0x1ed)]()),_0x53e071[_0x50ded9(0x1b4)]=_0x2e544a[_0x50ded9(0x1a1)]?_0x2e544a[_0x50ded9(0x1a1)][_0x50ded9(0x1e5)]:null;}}const a4_0x26439d={};function a4_0x1a51(_0x59af4e,_0x23e0b7){const _0x49533=a4_0x4953();return a4_0x1a51=function(_0x1a51c9,_0x3ef0bb){_0x1a51c9=_0x1a51c9-0x168;let _0x5c2ad5=_0x49533[_0x1a51c9];return _0x5c2ad5;},a4_0x1a51(_0x59af4e,_0x23e0b7);}function a4_0x4953(){const _0x19f25a=['toString','markedStatus','launch','feature','941qjtorU','klznb','DHXsX','PLAYWRIGHT_HUB_URL','connectOverCDP','bddStepStart','pending','hookAnalyticsId','DYqYS','_beforeEach','xBjaM','find','KDLsF','obsBrowserTypeMockApplied','mapTestHooks','length','lUoFU','lib','ZrFcp','backtrace','sendCBTInfo','hook_type','startedAt','err','TestRunSkipped','LQvWy','bshDP','10LhQnGT','HookRunStarted','failed','started','3154GwzbFv','getHooksForTest','QCVTH','exports','viEnJ','push','join','skipped','../utils/constants','ZmteJ','getInstance','failure','TEST_REPORTING_ANALYTICS','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','JXBtA','expanded','getFailureType','stop','file_name','relative','../../helpers/test-observability/sessionHandler','FWvXC','FdNEL','DrxfQ','\x20with\x20error\x20:\x20','wsEndpoint','failureData','status','getHookType','NaWzt','Failed\x20to\x20parse\x20wsendpoint\x20','test_run_uuid','bs:addLog:','result','JTTCh','6782672bDscwO','test_run','HookRunFinished','Sjykb','bddSteps','resetSkipTestHooks','currentHook','util','vfwxH','enabled','integrations','comment','codeceptjs','shutdown','groups','dzSms','vmPSI','forEach','initializeBddStep','file','zUCOg','_paths','ctx','failure_reason_expanded','nJGHB','message','QRkXb','fireEvent','38890smdQRJ','hook_run','vqhLA','BROWSERSTACK','__platformCaps','getTime','split','config','QTRlB','.git','gCiUr','STATE_PASSED','getHierarchy','connect','parent','tSAmM','uploadEventData','_afterAll','includes','pid','SjlzE','_testEnv','1|5|3|2|4|0','thMLd','Not\x20able\x20to\x20import\x20Browser','4117356JkkmtC','ybaMz','sep','TEST_RUN_STARTED','6713504WXwLIs','path','text','errorsDetailed','SdMTe','../playwright/sessionDetails','GtFil','failure_backtrace','LHqYG','start','fEAax','mFeOr','fpFhp','findGitConfig','EjxEP','GkJGr','SLayH','_afterEach','failed\x20to\x20get\x20root\x20parent\x20file\x20','event_type','hGxWb','TEST_RUN_SKIPPED','JQdfn','zrCrB','getRootParentFile','title','hook_run_uuid','uuid','IaOvH','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','UVmnM','ViSMI','JMPwp','QKaui','LogCreated','KkuPp','VhruJ','retryOf','LChzl','GQsat','mbRXZ','STATE_FAILED','miqPp','currentTest','prefixTestPath','11555712BwHsUq','defineProperty','stringify','efZrB','trDmu','IoxCn','OzoUC','match','finished_at','AdCVh','frameworkName','FdDJv','debug','statSync','now','passed','tags','aOPoF','VWVzg','oARTk','apply','duration','dirname','test','rPNiX','O11yHelper','testAnalyticsId','bddStepFinish','type','4932bNxxms','winstonLogger','WwxSG','../playwright/accessibility-helper','zmIeu','captureEvent','driver','cwd','2772042ksVfXw','syKoj','location_prefix','getCBTInfo','TestRunFinished','nssEW','setupBrowserDetails','hook','roNrW','success','body','keyword','HOOK_RUN_STARTED','../../helpers/test-observability/utils','name','ILIde','osaGG','PTfIJ','EddfI','Playwright','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','appendTestItemLog','yIgab','../mocha/test-observability/mochaUtils','OnnDw','stepAnalyticsId','patchConsoleLogger','suites','jfpdI','../../helpers/testhub/utils.js','TEST_EVENTS','PztFw','CEHyI','finished','string','RJQOg','bind','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','replace','then','tBdYa','browserstack','toISOString','TEST_RUN_FINISHED','oecfe','toLowerCase','AMSUS'];a4_0x4953=function(){return _0x19f25a;};return a4_0x4953();}a4_0x26439d[a4_0x219a12(0x24b)]=O11yHelper,a4_0x26439d[a4_0x219a12(0x1f3)]=STATE_PASSED,a4_0x26439d[a4_0x219a12(0x22e)]=STATE_FAILED,a4_0x26439d[a4_0x219a12(0x175)]=TEST_EVENTS,module[a4_0x219a12(0x1ac)]=a4_0x26439d;
1
+ const a4_0x4594cf=a4_0xa406;(function(_0x35edb4,_0xca5a00){const _0x44d5d2=a4_0xa406,_0x315c0d=_0x35edb4();while(!![]){try{const _0x3e7ba4=parseInt(_0x44d5d2(0x211))/0x1*(-parseInt(_0x44d5d2(0x1fa))/0x2)+parseInt(_0x44d5d2(0x1f2))/0x3*(-parseInt(_0x44d5d2(0x206))/0x4)+parseInt(_0x44d5d2(0x1bc))/0x5*(parseInt(_0x44d5d2(0x15f))/0x6)+parseInt(_0x44d5d2(0x216))/0x7*(parseInt(_0x44d5d2(0x20f))/0x8)+-parseInt(_0x44d5d2(0x1dc))/0x9+parseInt(_0x44d5d2(0x1e6))/0xa*(-parseInt(_0x44d5d2(0x217))/0xb)+parseInt(_0x44d5d2(0x21a))/0xc;if(_0x3e7ba4===_0xca5a00)break;else _0x315c0d['push'](_0x315c0d['shift']());}catch(_0x22ca98){_0x315c0d['push'](_0x315c0d['shift']());}}}(a4_0x4aab,0x1905d));function a4_0xa406(_0x89fde3,_0x3a47d5){const _0x4aabd7=a4_0x4aab();return a4_0xa406=function(_0xa40636,_0x4de3c2){_0xa40636=_0xa40636-0x138;let _0x7e3190=_0x4aabd7[_0xa40636];return _0x7e3190;},a4_0xa406(_0x89fde3,_0x3a47d5);}const path=require(a4_0x4594cf(0x1c3)),util=require(a4_0x4594cf(0x1ca)),fs=require('fs'),{v4:uuidv4}=require(a4_0x4594cf(0x215)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x4594cf(0x1cb)),testOpsHelper=require(a4_0x4594cf(0x229)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x4594cf(0x19f)),logger=require(a4_0x4594cf(0x158))['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x4594cf(0x1f4)),PlaywrightSessionDetails=require(a4_0x4594cf(0x227)),debug=testOpsHelper[a4_0x4594cf(0x1d2)],{processAccessibilityCaps}=require(a4_0x4594cf(0x235)),Constants=require(a4_0x4594cf(0x1a9)),{fetchPlatformDetails}=require(a4_0x4594cf(0x20d)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a4_0x4594cf(0x1a9)),STATE_PASSED=a4_0x4594cf(0x140),STATE_FAILED=a4_0x4594cf(0x1af),a4_0x579503={};a4_0x579503[a4_0x4594cf(0x179)]='TestRunStarted',a4_0x579503[a4_0x4594cf(0x14f)]='TestRunFinished',a4_0x579503[a4_0x4594cf(0x197)]='TestRunSkipped',a4_0x579503[a4_0x4594cf(0x190)]=a4_0x4594cf(0x1ed),a4_0x579503[a4_0x4594cf(0x1cc)]=a4_0x4594cf(0x1ef);const TEST_EVENTS=a4_0x579503,parseEvent=_0x9f7cb1=>{const _0x2569da=a4_0x4594cf,_0x5df472={};_0x5df472[_0x2569da(0x181)]=function(_0x47720f,_0x4d11a0){return _0x47720f<_0x4d11a0;},_0x5df472['IKXUo']=function(_0x5b39aa,_0x2dd5cf){return _0x5b39aa===_0x2dd5cf;},_0x5df472[_0x2569da(0x167)]=_0x2569da(0x1aa),_0x5df472[_0x2569da(0x1b5)]=function(_0x572d11,_0x144213){return _0x572d11===_0x144213;},_0x5df472[_0x2569da(0x213)]='hook',_0x5df472[_0x2569da(0x16d)]=function(_0x3abdda,_0x40edaa){return _0x3abdda===_0x40edaa;},_0x5df472[_0x2569da(0x146)]='skipped',_0x5df472[_0x2569da(0x15b)]=function(_0x3e1538,_0x2db30e){return _0x3e1538===_0x2db30e;},_0x5df472[_0x2569da(0x19b)]='started',_0x5df472[_0x2569da(0x1d5)]='finished';const _0x307bcc=_0x5df472,_0x3d8966=_0x9f7cb1[_0x2569da(0x180)](/^(.*)Run(.*)$/);if(!_0x3d8966)return null;if(_0x307bcc[_0x2569da(0x181)](_0x3d8966[_0x2569da(0x17e)],0x3))return null;const _0x1084b2=_0x3d8966[0x1][_0x2569da(0x214)](),_0x251197=_0x3d8966[0x2][_0x2569da(0x214)]();return{'test':_0x307bcc['IKXUo'](_0x1084b2,_0x307bcc[_0x2569da(0x167)]),'hook':_0x307bcc['AHqex'](_0x1084b2,_0x307bcc['GsnKF']),'skipped':_0x307bcc[_0x2569da(0x16d)](_0x251197,_0x307bcc[_0x2569da(0x146)]),'started':_0x307bcc[_0x2569da(0x15b)](_0x251197,_0x307bcc['mxzLV']),'finished':_0x307bcc[_0x2569da(0x15b)](_0x251197,_0x307bcc[_0x2569da(0x1d5)])};},mockPWBrowserType=_0x6d31ea=>{const _0x10d731=a4_0x4594cf,_0xf28c5={'utfMW':function(_0x4a4250,_0x539f6d){return _0x4a4250===_0x539f6d;},'PUEUP':'string','GsLXz':function(_0x39e4cd,_0x1c9f2c,_0x94bf0f){return _0x39e4cd(_0x1c9f2c,_0x94bf0f);},'msano':_0x10d731(0x187),'zrFVM':function(_0x4e1833,_0x33117f){return _0x4e1833(_0x33117f);},'UmLuK':_0x10d731(0x208),'hOCiX':_0x10d731(0x237),'BvLlA':_0x10d731(0x191),'lTocg':_0x10d731(0x1b4),'LqOla':function(_0xde6160,_0x5118e4){return _0xde6160(_0x5118e4);},'nhpyz':_0x10d731(0x21d),'GPKES':_0x10d731(0x1e7),'IYgmJ':'launch'},_0x1bb8b8=path[_0x10d731(0x1ee)](_0xf28c5[_0x10d731(0x1b8)],_0xf28c5[_0x10d731(0x20c)],_0xf28c5['lTocg']),_0x21fb63=_0xf28c5[_0x10d731(0x1d6)](importFileFromPWCore,_0x1bb8b8);if(!_0x21fb63){_0xf28c5[_0x10d731(0x1a2)](debug,_0xf28c5[_0x10d731(0x1a4)]);return;}const _0xf745fb=_0x21fb63[_0x10d731(0x1de)],_0xfcbed9=_0xf745fb[_0x10d731(0x1a0)];if(_0xfcbed9[_0x10d731(0x172)])return;const _0x58ab67=_0xfcbed9[_0x10d731(0x1e7)];Object[_0x10d731(0x1b0)](_0xfcbed9,_0xf28c5['GPKES'],{'get':function(){const _0x218ee6=_0x10d731,_0x145589={'mqECq':function(_0x1d3e60,_0x1c7ee7){return _0xf28c5['utfMW'](_0x1d3e60,_0x1c7ee7);},'ghsiR':_0xf28c5[_0x218ee6(0x1e1)],'JDVEl':function(_0x387f28,_0x19db09,_0x33fee6){const _0x129238=_0x218ee6;return _0xf28c5[_0x129238(0x193)](_0x387f28,_0x19db09,_0x33fee6);},'oYXwG':_0xf28c5[_0x218ee6(0x1c5)],'webeM':function(_0x4e9375,_0x153711){const _0x2261be=_0x218ee6;return _0xf28c5[_0x2261be(0x1a2)](_0x4e9375,_0x153711);},'MCBDN':_0xf28c5[_0x218ee6(0x155)]};return async function _0x539722(_0x4e3ef3,_0x280d16){const _0x54b13b=_0x218ee6,_0x208a27={'vctcs':function(_0x49b280,_0x28a4f9){return _0x145589['mqECq'](_0x49b280,_0x28a4f9);},'JnXaF':_0x145589[_0x54b13b(0x1d0)]},_0x19dd2f=_0x145589[_0x54b13b(0x17c)](nestedKeyValue,_0x4e3ef3,[_0x145589[_0x54b13b(0x1f0)]])||_0x4e3ef3;let _0x2e8c64=null,_0x363473=null;try{[_0x363473,_0x2e8c64]=_0x19dd2f?_0x145589[_0x54b13b(0x176)](parseWSEndpoint,_0x19dd2f):[null,null],global[_0x54b13b(0x203)]=_0x2e8c64,logger[_0x54b13b(0x1d2)](_0x54b13b(0x14e)+_0x363473),_0x363473['includes'](Constants[_0x54b13b(0x18a)])&&(global[_0x54b13b(0x149)]=_0x145589[_0x54b13b(0x157)]);}catch(_0x260e48){logger[_0x54b13b(0x1d2)](_0x54b13b(0x162)+_0x19dd2f+'\x20'+_0x260e48);}_0x145589[_0x54b13b(0x17c)](processAccessibilityCaps,_0x2e8c64,_0x363473);if(global[_0x54b13b(0x159)]){const _0x190ab8=await _0xfcbed9[_0x54b13b(0x1fe)][_0x54b13b(0x170)](this,[''+Constants[_0x54b13b(0x198)]+_0x145589[_0x54b13b(0x176)](encodeURIComponent,JSON[_0x54b13b(0x18d)](_0x2e8c64))]);return PlaywrightSessionDetails[_0x54b13b(0x1d9)](_0x190ab8,_0x6d31ea,_0x19dd2f),_0x190ab8;}return _0x58ab67[_0x54b13b(0x170)](this,arguments)[_0x54b13b(0x151)](_0x297e2c=>{const _0x5e1d19=_0x54b13b;let _0x586109=_0x4e3ef3['wsEndpoint'];return _0x208a27[_0x5e1d19(0x1cf)](typeof _0x4e3ef3,_0x208a27['JnXaF'])&&(_0x586109=_0x4e3ef3),PlaywrightSessionDetails[_0x5e1d19(0x1d9)](_0x297e2c,_0x6d31ea,_0x586109),_0x297e2c;});};}});const _0x31e10d=_0xfcbed9[_0x10d731(0x205)];Object[_0x10d731(0x1b0)](_0xfcbed9,_0xf28c5[_0x10d731(0x189)],{'get':function(){return async function _0x28bc99(){const _0x481ba3=a4_0xa406;return _0x31e10d[_0x481ba3(0x170)](this,arguments)[_0x481ba3(0x151)](_0x15be54=>{const _0x2aecfa=_0x481ba3;return PlaywrightSessionDetails[_0x2aecfa(0x1d9)](_0x15be54,null),_0x15be54;});};}});};class O11yHelper{[a4_0x4594cf(0x1b7)]=null;[a4_0x4594cf(0x1c6)]=null;['enabled']=![];[a4_0x4594cf(0x194)]=![];[a4_0x4594cf(0x1fb)]=[];constructor(_0x2948ee,_0x2fc2d7){const _0x254df9=a4_0x4594cf,_0x5ccd81={'DhPGe':_0x254df9(0x1e3),'RZWwn':function(_0xd133c8,_0x113db1){return _0xd133c8===_0x113db1;},'tNeUg':_0x254df9(0x21f),'IOaqd':function(_0x38f6f1,_0x55dd03){return _0x38f6f1(_0x55dd03);},'SyzXH':function(_0x6fe366){return _0x6fe366();},'nrezj':function(_0x10fe16){return _0x10fe16();}},_0x502554=_0x5ccd81[_0x254df9(0x231)]['split']('|');let _0x3d5004=0x0;while(!![]){switch(_0x502554[_0x3d5004++]){case'0':this[_0x254df9(0x194)]=_0x2fc2d7['frameworkName'];continue;case'1':this[_0x254df9(0x239)]&&_0x5ccd81['RZWwn'](this[_0x254df9(0x239)][_0x254df9(0x201)][_0x254df9(0x1ab)],_0x5ccd81[_0x254df9(0x204)])&&_0x5ccd81[_0x254df9(0x16e)](mockPWBrowserType,null);continue;case'2':this[_0x254df9(0x174)]=_0x5ccd81['SyzXH'](getTestEnv);continue;case'3':this['enabled']=_0x5ccd81['nrezj'](shouldProcessEventForTesthub);continue;case'4':this['_paths']=new testOpsHelper[(_0x254df9(0x13a))]({'cwd':process[_0x254df9(0x138)]()},this[_0x254df9(0x174)][_0x254df9(0x1d8)]);continue;case'5':this[_0x254df9(0x239)]=_0x2948ee;continue;}break;}}[a4_0x4594cf(0x1ff)](){const _0x13cd87=a4_0x4594cf,_0x242d4a={'tBJnt':function(_0x4259b,_0x523fc8){return _0x4259b(_0x523fc8);}};if(!this['driver'])return![];try{const _0x5711f3=_0x242d4a[_0x13cd87(0x1eb)](fetchPlatformDetails,this['driver']);if(!_0x5711f3)return![];const _0x4ac53e=Object['keys'](_0x5711f3)[0x0];return!!(_0x4ac53e&&_0x5711f3[_0x4ac53e]&&_0x5711f3[_0x4ac53e][_0x13cd87(0x1b3)]);}catch(_0x11bcc2){return![];}}[a4_0x4594cf(0x1ac)](_0x261dc8,_0x5c1e1d){const _0xb72465=a4_0x4594cf;if(!_0x5c1e1d)return;const _0x1ded9b={};_0x1ded9b[_0xb72465(0x200)]=_0x261dc8,_0x1ded9b[_0xb72465(0x1e5)]=_0x5c1e1d,this[_0xb72465(0x1fb)][_0xb72465(0x13c)](_0x1ded9b);}async[a4_0x4594cf(0x1cd)](){const _0xfdb6be=a4_0x4594cf,_0x1387a4={};_0x1387a4[_0xfdb6be(0x168)]=function(_0x3e151d,_0x1164e2){return _0x3e151d&&_0x1164e2;};const _0x4b6b86=_0x1387a4;if(!this[_0xfdb6be(0x1fb)][_0xfdb6be(0x17e)])return;if(!this[_0xfdb6be(0x1ff)]())return;const _0x564ada=this['getCBTInfo'](this['driver']),_0xade413=this[_0xfdb6be(0x1fb)][_0xfdb6be(0x1c2)](0x0,this[_0xfdb6be(0x1fb)][_0xfdb6be(0x17e)]);for(const {eventType:_0x59fdcd,uploadData:_0x8be5b3}of _0xade413){try{const _0x5d0d20=_0x8be5b3[_0xfdb6be(0x1ae)]||_0x8be5b3[_0xfdb6be(0x207)];_0x4b6b86[_0xfdb6be(0x168)](_0x5d0d20,_0x564ada)&&(_0x5d0d20[_0xfdb6be(0x221)]=_0x564ada),await this[_0xfdb6be(0x1c0)](_0x59fdcd,_0x8be5b3);}catch(_0x11aa11){logger[_0xfdb6be(0x1d2)]('Failed\x20to\x20flush\x20pending\x20hook\x20event\x20'+_0x59fdcd+':\x20'+util[_0xfdb6be(0x1c1)](_0x11aa11));}}}[a4_0x4594cf(0x22d)](){const _0x5bf1fc=a4_0x4594cf;if(!this['enabled'])return;testOpsHelper[_0x5bf1fc(0x210)](),process[_0x5bf1fc(0x1bb)](_0x5bf1fc(0x1b9)+process['pid']),process['on'](_0x5bf1fc(0x1b9)+process[_0x5bf1fc(0x1ad)],this['appendTestItemLog'][_0x5bf1fc(0x1b1)](this));}async[a4_0x4594cf(0x15e)](){const _0x34d32a=a4_0x4594cf;await RequestQueueHandler[_0x34d32a(0x18e)]()[_0x34d32a(0x164)]();}async['appendTestItemLog'](_0x194e36){const _0x44883a=a4_0x4594cf,_0x338ae8={'InxSb':_0x44883a(0x241),'TAsmG':function(_0x167f23,_0x145db0){return _0x167f23(_0x145db0);}};try{this['currentHook']&&!this[_0x44883a(0x1c6)][_0x44883a(0x1ba)]&&(_0x194e36[_0x44883a(0x202)]=this['currentHook'][_0x44883a(0x150)]);!_0x194e36[_0x44883a(0x202)]&&this[_0x44883a(0x1b7)]&&!this[_0x44883a(0x1b7)]['markedStatus']&&(_0x194e36[_0x44883a(0x14a)]=this[_0x44883a(0x1b7)][_0x44883a(0x1e2)]);if(_0x194e36[_0x44883a(0x202)]||_0x194e36[_0x44883a(0x14a)]){const _0xd05b05={};_0xd05b05['event_type']=_0x338ae8['InxSb'],_0xd05b05[_0x44883a(0x160)]=[_0x194e36],await SessionHandler['uploadEventData'](_0xd05b05);}}catch(_0x4b0b44){_0x338ae8[_0x44883a(0x236)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x4b0b44);}}async[a4_0x4594cf(0x186)](_0x3a1855){const _0x3ce86e=a4_0x4594cf,_0x43ec39={'dJrbJ':'CBTSessionCreated','trNjF':function(_0x5f5501,_0x35195b){return _0x5f5501(_0x35195b);}};if(!this['enabled'])return;const _0x3585a4=this['getCBTInfo'](this['driver']);try{const _0x156360={};_0x156360[_0x3ce86e(0x215)]=_0x3a1855,_0x156360[_0x3ce86e(0x221)]=_0x3585a4;const _0x5b3287=_0x156360,_0x86dade={};_0x86dade['event_type']=_0x43ec39[_0x3ce86e(0x23b)],_0x86dade[_0x3ce86e(0x207)]=_0x5b3287,await SessionHandler['uploadEventData'](_0x86dade);}catch(_0x2ca6fe){_0x43ec39[_0x3ce86e(0x17a)](debug,_0x3ce86e(0x154)+constants[_0x3ce86e(0x1c4)]+'\x20with\x20error\x20:\x20'+_0x2ca6fe);}}[a4_0x4594cf(0x16a)](_0x59ac05){const _0x2fa9fa={'kepET':function(_0x3b37b3,_0x54adce){return _0x3b37b3(_0x54adce);}};return _0x2fa9fa['kepET'](fetchPlatformDetails,_0x59ac05);}[a4_0x4594cf(0x23d)]=_0x2ee7e4=>{const _0x2cce4c=a4_0x4594cf,_0x245cc7={};_0x245cc7['cKtnt']='_beforeEach',_0x245cc7[_0x2cce4c(0x1a5)]=_0x2cce4c(0x19a);const _0xfc761d=_0x245cc7;if(!_0x2ee7e4||!_0x2ee7e4['parent'])return;[_0xfc761d[_0x2cce4c(0x1e4)],_0xfc761d[_0x2cce4c(0x1a5)]][_0x2cce4c(0x139)](_0xe64350=>{const _0x5253d9=_0x2cce4c,_0x419792=_0x2ee7e4[_0x5253d9(0x165)][_0xe64350];_0x419792[_0x5253d9(0x139)](_0x1bb73b=>{const _0xf964a0=_0x5253d9;_0x1bb73b[_0xf964a0(0x150)]&&(_0x1bb73b[_0xf964a0(0x150)]=null);});});};[a4_0x4594cf(0x20e)](_0xcbe419){const _0x34b743=a4_0x4594cf,_0x53115e={'yCuPV':_0x34b743(0x228),'JzaKu':function(_0x59227b){return _0x59227b();},'nYYPL':function(_0x46165a,_0x4dde6b){return _0x46165a===_0x4dde6b;},'ruhAG':_0x34b743(0x19a),'zLvJi':function(_0x3d2244){return _0x3d2244();},'VddLP':_0x34b743(0x20a),'OEOft':_0x34b743(0x1f7),'YWUfB':_0x34b743(0x1a8)};if(!_0xcbe419||!_0xcbe419[_0x34b743(0x165)])return;[_0x53115e['VddLP'],_0x53115e[_0x34b743(0x16f)],_0x53115e[_0x34b743(0x1a7)],_0x53115e[_0x34b743(0x1b2)]][_0x34b743(0x139)](_0x4d6933=>{const _0x17f6ed=_0x34b743,_0x41dc69=_0xcbe419[_0x17f6ed(0x165)][_0x4d6933]||[];_0x41dc69['forEach'](_0x45a49a=>{const _0x298733=_0x17f6ed;if(_0x45a49a[_0x298733(0x230)]['includes'](_0x53115e[_0x298733(0x156)]))return;if(!_0x45a49a[_0x298733(0x150)])_0x45a49a[_0x298733(0x150)]=_0x53115e[_0x298733(0x15c)](uuidv4);else _0x45a49a['markedStatus']&&_0x53115e[_0x298733(0x212)](_0x4d6933,_0x53115e[_0x298733(0x1b2)])&&(_0x45a49a[_0x298733(0x150)]=_0x53115e[_0x298733(0x166)](uuidv4),delete _0x45a49a[_0x298733(0x1ba)]);});}),this[_0x34b743(0x20e)](_0xcbe419[_0x34b743(0x165)]);}[a4_0x4594cf(0x1e8)](_0x34b6cd){const _0x1d1aa1=a4_0x4594cf,_0x2b5859={};_0x2b5859[_0x1d1aa1(0x163)]=_0x1d1aa1(0x20a),_0x2b5859[_0x1d1aa1(0x182)]=_0x1d1aa1(0x1f7),_0x2b5859[_0x1d1aa1(0x169)]='_beforeEach',_0x2b5859[_0x1d1aa1(0x1b6)]='_afterEach';const _0x4fee24=_0x2b5859;if(!_0x34b6cd||!_0x34b6cd[_0x1d1aa1(0x165)])return[];const _0x41a95b=[];return[_0x4fee24[_0x1d1aa1(0x163)],_0x4fee24[_0x1d1aa1(0x182)],_0x4fee24[_0x1d1aa1(0x169)],_0x4fee24[_0x1d1aa1(0x1b6)]][_0x1d1aa1(0x139)](_0x2db47e=>{const _0x1c8a4a=_0x34b6cd['parent'][_0x2db47e]||[];_0x1c8a4a['forEach'](_0x2cb2a0=>{const _0x5e90ca=a4_0xa406;_0x2cb2a0[_0x5e90ca(0x150)]&&_0x41a95b[_0x5e90ca(0x13c)](_0x2cb2a0['hookAnalyticsId']);});}),[][_0x1d1aa1(0x142)](_0x41a95b,this['getHooksForTest'](_0x34b6cd[_0x1d1aa1(0x165)]));}[a4_0x4594cf(0x21b)](_0x29d05d){const _0x411d90=a4_0x4594cf,_0x1b2bea=/^"(?<hook>.*)" hook:.*$/,_0x1f1ba3=_0x29d05d[_0x411d90(0x230)],_0x4ab04a=_0x1f1ba3[_0x411d90(0x180)](_0x1b2bea);if(_0x4ab04a&&_0x4ab04a[_0x411d90(0x185)])return _0x4ab04a[_0x411d90(0x185)]['hook'][_0x411d90(0x1d4)]()[_0x411d90(0x195)]('\x20','_');return null;}[a4_0x4594cf(0x19c)](_0x520ea9){const _0x2bfcdb=a4_0x4594cf,_0x3ecc38={};_0x3ecc38[_0x2bfcdb(0x23c)]=function(_0x28ac9b,_0x5c0852){return _0x28ac9b===_0x5c0852;},_0x3ecc38[_0x2bfcdb(0x1a6)]=function(_0x3e21f7,_0x4b91f5){return _0x3e21f7===_0x4b91f5;},_0x3ecc38[_0x2bfcdb(0x173)]=_0x2bfcdb(0x209),_0x3ecc38['ZlTbz']=_0x2bfcdb(0x188);const _0x1747be=_0x3ecc38,_0x5021ed=path[_0x2bfcdb(0x223)];if(_0x1747be[_0x2bfcdb(0x23c)](_0x520ea9,null)||_0x1747be['qfohD'](_0x520ea9,'')||_0x1747be[_0x2bfcdb(0x1a6)](_0x520ea9,_0x5021ed)||_0x1747be[_0x2bfcdb(0x1a6)](_0x520ea9,path['dirname'](_0x520ea9)))return null;try{return fs[_0x2bfcdb(0x1dd)](path[_0x2bfcdb(0x1ee)](_0x520ea9,_0x1747be['QsvSn'],_0x1747be[_0x2bfcdb(0x14c)])),_0x520ea9;}catch(_0x945863){const _0x3775b3=path['dirname'](_0x520ea9);return this['findGitConfig'](_0x3775b3);}}['getRootParentFile'](_0x4f6efe){const _0x4ac705=a4_0x4594cf,_0x44f857={};_0x44f857[_0x4ac705(0x22c)]=function(_0x407723,_0x5a4a1f){return _0x407723>_0x5a4a1f;};const _0x377c4f=_0x44f857;if(_0x4f6efe[_0x4ac705(0x23e)])return _0x4f6efe['file'];if(_0x4f6efe[_0x4ac705(0x17b)]){const _0x438542=_0x4f6efe[_0x4ac705(0x17b)][_0x4ac705(0x1b7)]?this[_0x4ac705(0x232)](_0x4f6efe[_0x4ac705(0x17b)][_0x4ac705(0x1b7)]):null;if(_0x438542)return _0x438542;}if(_0x4f6efe[_0x4ac705(0x165)]){const _0x570be1=this[_0x4ac705(0x232)](_0x4f6efe[_0x4ac705(0x165)])||(_0x4f6efe[_0x4ac705(0x165)]['ctx']&&_0x4f6efe[_0x4ac705(0x165)][_0x4ac705(0x17b)][_0x4ac705(0x1b7)]?this[_0x4ac705(0x232)](_0x4f6efe[_0x4ac705(0x165)]['ctx'][_0x4ac705(0x1b7)]):null);if(_0x570be1)return _0x570be1;_0x4f6efe['parent'][_0x4ac705(0x16b)]&&_0x377c4f['wMxCT'](_0x4f6efe['parent'][_0x4ac705(0x16b)][_0x4ac705(0x17e)],0x0)&&_0x4f6efe[_0x4ac705(0x165)][_0x4ac705(0x16b)]['forEach'](_0x94fa30=>{const _0x3a3fc6=_0x4ac705,_0x2c5dc9=_0x94fa30[_0x3a3fc6(0x17b)]?this[_0x3a3fc6(0x232)](_0x94fa30['ctx']):null;if(_0x2c5dc9)return _0x2c5dc9;});}return null;}[a4_0x4594cf(0x1d1)](_0x51d101){const _0x32e148=a4_0x4594cf,_0x51d0b0={};_0x51d0b0[_0x32e148(0x14b)]=function(_0x54a95f,_0x30d4fd){return _0x54a95f!==_0x30d4fd;};const _0x1d50d5=_0x51d0b0,_0xceb7bd=[];if(_0x51d101&&_0x51d101['parent']){let _0x1fe159=_0x51d101[_0x32e148(0x165)];while(_0x1fe159&&_0x1d50d5[_0x32e148(0x14b)](_0x1fe159[_0x32e148(0x230)],'')){_0xceb7bd['push'](_0x1fe159[_0x32e148(0x230)]),_0x1fe159=_0x1fe159[_0x32e148(0x165)];}}return _0xceb7bd;}[a4_0x4594cf(0x1f8)](_0x9d7ad3,_0x55b7a5,_0x2048db=undefined){const _0x65b626=a4_0x4594cf,_0x20a648={'viIpd':function(_0x4385e1,_0x63048d){return _0x4385e1(_0x63048d);},'utuLa':function(_0x1011de){return _0x1011de();},'aoDDL':function(_0x397bc8){return _0x397bc8();},'QQvTB':function(_0x1e0657){return _0x1e0657();},'vHDWn':_0x65b626(0x1fc),'CWMnV':function(_0x56b4b7,_0x3311fa){return _0x56b4b7!==_0x3311fa;},'EMtHe':_0x65b626(0x1f6),'fGneX':_0x65b626(0x1bd),'rPZEH':_0x65b626(0x1af),'yhXXa':'passed','zCbjb':_0x65b626(0x222),'ZRroj':_0x65b626(0x196),'Nsocp':function(_0x3f8d35,_0x301c60){return _0x3f8d35-_0x301c60;},'dYbvM':function(_0x518fc0,_0x5f04e0,_0x48b07a,_0x589d5c,_0x1cc7ce){return _0x518fc0(_0x5f04e0,_0x48b07a,_0x589d5c,_0x1cc7ce);},'HVSKV':function(_0x1f0ecc,_0x2ef77d){return _0x1f0ecc!==_0x2ef77d;},'FXEyE':_0x65b626(0x221),'lZuXw':_0x65b626(0x15d),'ywXaH':_0x65b626(0x22f),'HuffC':_0x65b626(0x147),'zXKgp':'backtrace','Nywmh':'failure_reason_expanded','TIZHr':_0x65b626(0x226),'GViUN':function(_0x5c0755,_0x4df22d){return _0x5c0755===_0x4df22d;},'SbHNl':_0x65b626(0x1ae),'DmCra':'test_run'};if(!this['enabled'])return;try{if(_0x55b7a5['fn']&&_0x55b7a5['fn'][_0x65b626(0x1d3)]()['match'](/browserstack internal helper hook/))return;const _0x565741=_0x20a648['viIpd'](parseEvent,_0x9d7ad3);if(!_0x565741)return;if(_0x565741['test']){this[_0x65b626(0x1b7)]=_0x55b7a5,this[_0x65b626(0x1c6)]=null;if(_0x565741['started']||_0x565741['skipped']){_0x55b7a5[_0x65b626(0x238)]=new Date(),_0x55b7a5['markedStatus']=![];if(!_0x55b7a5[_0x65b626(0x1e2)])_0x55b7a5['testAnalyticsId']=_0x20a648['utuLa'](uuidv4);else _0x55b7a5[_0x65b626(0x1ba)]&&(!_0x55b7a5[_0x65b626(0x23a)]&&(_0x55b7a5[_0x65b626(0x23a)]=_0x55b7a5['testAnalyticsId']),_0x55b7a5['testAnalyticsId']=_0x20a648[_0x65b626(0x1c7)](uuidv4));}}else{if(_0x565741[_0x65b626(0x1ea)]){this[_0x65b626(0x1c6)]=_0x55b7a5;if(_0x565741['started']){_0x55b7a5[_0x65b626(0x238)]=new Date(),_0x55b7a5[_0x65b626(0x1ba)]=![];if(!_0x55b7a5['hookAnalyticsId'])_0x55b7a5[_0x65b626(0x150)]=_0x20a648[_0x65b626(0x1c7)](uuidv4);else _0x55b7a5[_0x65b626(0x150)]&&_0x55b7a5['markedStatus']&&(_0x55b7a5[_0x65b626(0x150)]=_0x20a648['QQvTB'](uuidv4));}}}if(_0x565741[_0x65b626(0x184)]&&_0x55b7a5[_0x65b626(0x1ba)])return;let _0x38d727;try{_0x38d727=this['getRootParentFile'](_0x55b7a5);}catch(_0x119889){logger[_0x65b626(0x1d2)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x119889),_0x38d727=null;}let _0x206436=[];_0x2048db&&(_0x206436=[_0x2048db,_0x20a648['vHDWn']]);const _0x4d220c=_0x20a648[_0x65b626(0x21e)](_0x55b7a5[_0x65b626(0x1df)],undefined)?util[_0x65b626(0x1e0)](_0x55b7a5['errorsDetailed'][0x0]):_0x20a648[_0x65b626(0x21e)](_0x2048db,undefined)?_0x2048db[_0x65b626(0x1d3)]():undefined,_0x11267a=_0x38d727?this[_0x65b626(0x19c)](_0x38d727):null,_0x3fadd6=_0x38d727?this[_0x65b626(0x1ce)][_0x65b626(0x1a1)](this[_0x65b626(0x232)](_0x55b7a5)):_0x20a648['EMtHe'];let _0x53c9f0=_0x20a648['fGneX'];const _0x143c98=!_0x565741[_0x65b626(0x219)]?new Date()[_0x65b626(0x225)]():null;if(_0x565741[_0x65b626(0x184)])_0x53c9f0=_0x2048db?_0x20a648['rPZEH']:_0x20a648[_0x65b626(0x1d7)],_0x55b7a5[_0x65b626(0x1ba)]=!![];else _0x565741['skipped']&&(_0x53c9f0=_0x20a648[_0x65b626(0x1da)],_0x55b7a5[_0x65b626(0x1ba)]=!![]);const _0x3fc1bd={'framework':this[_0x65b626(0x194)],'uuid':_0x55b7a5[_0x65b626(0x1e2)]||_0x55b7a5[_0x65b626(0x150)],'name':_0x55b7a5[_0x65b626(0x230)],'body':{'lang':_0x20a648[_0x65b626(0x13b)],'code':_0x55b7a5[_0x65b626(0x18b)]['toString']()},'type':_0x55b7a5[_0x65b626(0x22e)],'scope':_0x55b7a5['fullTitle'](),'scopes':this[_0x65b626(0x1d1)](_0x55b7a5),'file_name':_0x3fadd6,'vc_filepath':_0x11267a?path[_0x65b626(0x17d)](_0x11267a,_0x38d727):null,'location':_0x3fadd6,'result':_0x53c9f0,'failure_reason':_0x4d220c,'duration_in_ms':_0x55b7a5[_0x65b626(0x1c8)]||(_0x565741[_0x65b626(0x184)]||_0x565741[_0x65b626(0x222)])?_0x20a648[_0x65b626(0x19e)](Date[_0x65b626(0x1fd)](),new Date(_0x55b7a5[_0x65b626(0x238)])[_0x65b626(0x192)]()):null,'started_at':new Date(_0x55b7a5['startedAt'])[_0x65b626(0x225)](),'finished_at':_0x143c98,'failure':testOpsHelper[_0x65b626(0x1a3)][_0x65b626(0x170)](null,_0x206436),'failure_type':!_0x4d220c?null:testOpsHelper[_0x65b626(0x1e9)](_0x4d220c),'retry_of':_0x55b7a5[_0x65b626(0x23a)]||null,'tags':_0x55b7a5[_0x65b626(0x14d)]||[],'customRerunParam':{'rerun_name':_0x55b7a5[_0x65b626(0x21c)]()}};_0x20a648[_0x65b626(0x18c)](appendTesthubParams,_0x3fc1bd,_0x9d7ad3,_0x55b7a5,FRAMEWORKS[_0x65b626(0x20b)]);if(_0x565741[_0x65b626(0x1ea)])[_0x3fc1bd[_0x65b626(0x177)],_0x3fc1bd[_0x65b626(0x1ab)]]=[this[_0x65b626(0x21b)](_0x55b7a5),_0x55b7a5[_0x65b626(0x17b)][_0x65b626(0x1aa)][_0x65b626(0x230)]],_0x565741[_0x65b626(0x184)]?_0x20a648['HVSKV'](_0x3fc1bd[_0x65b626(0x143)],_0x20a648[_0x65b626(0x224)])&&(_0x3fc1bd[_0x65b626(0x143)]=_0x20a648[_0x65b626(0x1d7)]):_0x3fc1bd[_0x65b626(0x18b)]={};else _0x565741[_0x65b626(0x1aa)]&&(this['mapTestHooks'](_0x55b7a5),_0x565741[_0x65b626(0x222)]&&this['resetSkipTestHooks'](_0x55b7a5),(_0x565741[_0x65b626(0x184)]||_0x565741[_0x65b626(0x222)])&&(_0x3fc1bd[_0x65b626(0x144)]=this[_0x65b626(0x1e8)](_0x55b7a5)));this[_0x65b626(0x239)]&&(_0x565741[_0x65b626(0x219)]||_0x565741['skipped'])&&(_0x3fc1bd[_0x20a648[_0x65b626(0x1c9)]]=this[_0x65b626(0x16a)](this[_0x65b626(0x239)]));_0x565741[_0x65b626(0x1aa)]&&_0x565741[_0x65b626(0x184)]&&_0x55b7a5[_0x65b626(0x1bf)]&&(_0x3fc1bd[_0x20a648[_0x65b626(0x1db)]]={'feature':{'name':_0x55b7a5[_0x65b626(0x165)][_0x65b626(0x145)]['name'],'path':_0x3fc1bd[_0x65b626(0x153)],'description':_0x55b7a5[_0x65b626(0x165)][_0x65b626(0x183)]},'scenario':{'name':_0x55b7a5[_0x65b626(0x230)]},'steps':_0x55b7a5[_0x65b626(0x1bf)]});const _0x465a24=_0x3fc1bd[_0x20a648[_0x65b626(0x22b)]][0x0];_0x465a24&&(_0x3fc1bd[_0x20a648[_0x65b626(0x178)]]=_0x465a24[_0x20a648['zXKgp']],_0x3fc1bd[_0x20a648[_0x65b626(0x152)]]=_0x465a24[_0x20a648['TIZHr']]);if(_0x55b7a5[_0x65b626(0x1bf)])for(const _0x3a6942 of _0x55b7a5[_0x65b626(0x1bf)]){!_0x3a6942[_0x65b626(0x240)]&&(_0x3a6942[_0x65b626(0x240)]=new Date()[_0x65b626(0x225)](),_0x20a648[_0x65b626(0x1f9)](_0x3a6942[_0x65b626(0x143)],_0x20a648[_0x65b626(0x1be)])&&(_0x465a24?(_0x3a6942[_0x65b626(0x143)]=_0x20a648[_0x65b626(0x224)],_0x3a6942[_0x65b626(0x22f)]=_0x465a24[_0x20a648['zXKgp']][0x0]):_0x3a6942['result']=_0x20a648[_0x65b626(0x1d7)]));}const _0x4904f4={};_0x4904f4[_0x65b626(0x23f)]=_0x565741['skipped']?TEST_EVENTS[_0x65b626(0x14f)]:_0x9d7ad3;const _0x14908e=_0x4904f4;return _0x565741[_0x65b626(0x1ea)]?_0x14908e[_0x20a648['SbHNl']]=_0x3fc1bd:_0x14908e[_0x20a648[_0x65b626(0x199)]]=_0x3fc1bd,_0x14908e;}catch(_0x5a7b1d){logger[_0x65b626(0x1d2)](_0x65b626(0x13f)+_0x9d7ad3+_0x65b626(0x148)+_0x5a7b1d);}}async['fireEvent'](_0x4a43cf,_0x964f65){const _0xa72cd1=a4_0x4594cf;if(!this['enabled']||!_0x964f65||!_0x4a43cf)return![];try{return await SessionHandler[_0xa72cd1(0x218)](_0x964f65);}catch(_0x57e621){logger[_0xa72cd1(0x1d2)](_0xa72cd1(0x1ec)+_0x4a43cf+'\x20with\x20error\x20:\x20'+_0x57e621);}}[a4_0x4594cf(0x161)](_0x1b9cea){const _0x23aa12=a4_0x4594cf,_0x3092d8={};_0x3092d8[_0x23aa12(0x1f3)]='pending';const _0x1a90b5=_0x3092d8;return{'id':_0x1b9cea[_0x23aa12(0x1f5)],'text':_0x1b9cea[_0x23aa12(0x220)],'keyword':_0x1b9cea[_0x23aa12(0x233)],'started_at':_0x1b9cea['startedAt']['toISOString'](),'result':_0x1a90b5[_0x23aa12(0x1f3)]};}[a4_0x4594cf(0x16c)](_0x6c0b){const _0x52f3ae=a4_0x4594cf,_0x33e7d7={'UmWVt':function(_0x1524e5){return _0x1524e5();}};!this['currentTest'][_0x52f3ae(0x1bf)]&&(this['currentTest']['bddSteps']=[]),!_0x6c0b['stepAnalyticsId']&&(_0x6c0b['stepAnalyticsId']=_0x33e7d7[_0x52f3ae(0x18f)](uuidv4),_0x6c0b[_0x52f3ae(0x238)]=new Date(),this[_0x52f3ae(0x1b7)][_0x52f3ae(0x1bf)]['push'](this[_0x52f3ae(0x161)](_0x6c0b)));}['bddStepFinish'](_0x5188d9){const _0x12ceaa=a4_0x4594cf,_0xf3c63c={'cQOai':function(_0x2c3115,_0x1c5e6a){return _0x2c3115(_0x1c5e6a);},'mNjFb':_0x12ceaa(0x22a),'LDjHq':_0x12ceaa(0x1bd),'Wcxmu':_0x12ceaa(0x140),'eowzr':function(_0x1ee338,_0x14c9d9){return _0x1ee338-_0x14c9d9;}};let _0x1a6751=this['currentTest'][_0x12ceaa(0x1bf)][_0x12ceaa(0x13d)](_0x334ab9=>_0x334ab9['id']===_0x5188d9[_0x12ceaa(0x1f5)]);_0xf3c63c[_0x12ceaa(0x175)](isUndefined,_0x1a6751)&&(_0x1a6751=this[_0x12ceaa(0x161)](_0x5188d9)),_0x1a6751[_0x12ceaa(0x143)]=[_0xf3c63c[_0x12ceaa(0x171)],_0xf3c63c[_0x12ceaa(0x19d)]][_0x12ceaa(0x242)](_0x5188d9[_0x12ceaa(0x15a)])?_0xf3c63c[_0x12ceaa(0x1f1)]:_0x5188d9['status'],_0x1a6751[_0x12ceaa(0x240)]=new Date()[_0x12ceaa(0x225)](),_0x1a6751[_0x12ceaa(0x1c8)]=_0xf3c63c[_0x12ceaa(0x141)](Date[_0x12ceaa(0x1fd)](),_0x5188d9[_0x12ceaa(0x238)][_0x12ceaa(0x192)]()),_0x1a6751[_0x12ceaa(0x22f)]=_0x5188d9['err']?_0x5188d9[_0x12ceaa(0x1fc)]['message']:null;}}const a4_0x487e52={};function a4_0x4aab(){const _0x34c072=['body','dYbvM','stringify','getInstance','UmWVt','HOOK_RUN_STARTED','client','getTime','GsLXz','frameworkName','replace','javascript','TEST_RUN_SKIPPED','PLAYWRIGHT_HUB_URL','DmCra','_afterEach','mxzLV','findGitConfig','LDjHq','Nsocp','../../helpers/test-observability/constants','prototype','prefixTestPath','zrFVM','failureData','nhpyz','wZEAc','VEkYz','YWUfB','_beforeEach','../utils/constants','test','name','bufferPendingHookEvent','pid','hook_run','failed','defineProperty','bind','ruhAG','session_id','browserType.js','AHqex','mBAdt','currentTest','hOCiX','bs:addLog:','markedStatus','removeAllListeners','740OeLrRW','pending','fGneX','bddSteps','fireEvent','format','splice','path','TEST_REPORTING_ANALYTICS','msano','currentHook','aoDDL','duration','FXEyE','util','../../helpers/helper','HOOK_RUN_FINISHED','flushPendingHookEvents','_paths','vctcs','ghsiR','getHierarchy','debug','toString','toUpperCase','CWlrq','LqOla','yhXXa','location_prefix','setupBrowserDetails','zCbjb','lZuXw','1580355RzZdUF','statSync','BrowserType','errorsDetailed','inspect','PUEUP','testAnalyticsId','3|0|5|2|4|1','cKtnt','uploadData','910almPqf','connect','getHooksForTest','getFailureType','hook','tBJnt','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','HookRunStarted','join','HookRunFinished','oYXwG','Wcxmu','543PEbcJo','nBQYI','../../helpers/test-observability/requestQueueHandler','stepAnalyticsId','File\x20path\x20could\x20not\x20be\x20found','_afterAll','captureEvent','GViUN','202178sEGGuf','pendingHookEvents','err','now','connectOverCDP','hasLiveDriverSession','eventType','constructor','hook_run_uuid','__platformCaps','tNeUg','launch','2164KFGTca','test_run','browserstack','.git','_beforeAll','CODECEPT','BvLlA','./helper.js','mapTestHooks','8XkMPAQ','patchConsoleLogger','1ppsnpR','nYYPL','GsnKF','toLowerCase','uuid','774914UsBGJB','10978PRCQQY','uploadEventData','started','5005272HMzxcF','getHookType','fullTitle','Not\x20able\x20to\x20import\x20Browser','CWMnV','Playwright','text','integrations','skipped','sep','rPZEH','toISOString','expanded','../playwright/sessionDetails','codeceptjs','../../helpers/test-observability/utils','success','ywXaH','wMxCT','start','type','failure','title','DhPGe','getRootParentFile','keyword','TEST_EVENTS','../playwright/accessibility-helper','TAsmG','lib','startedAt','driver','retryOf','dJrbJ','qfohD','resetSkipTestHooks','file','event_type','finished_at','LogCreated','includes','cwd','forEach','PathHelper','ZRroj','push','find','exports','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','passed','eowzr','concat','result','hooks','feature','ZnGaQ','failure_backtrace','\x20with\x20error\x20:\x20','__cloud_provider___','test_run_uuid','ldYQp','ZlTbz','tags','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','TEST_RUN_FINISHED','hookAnalyticsId','then','Nywmh','file_name','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','UmLuK','yCuPV','MCBDN','../../helpers/logger','accessibilityPlatform','status','RCmFz','JzaKu','meta','stop','1626akpQfl','logs','initializeBddStep','Failed\x20to\x20parse\x20wsendpoint\x20','CecoE','shutdown','parent','zLvJi','snjZh','CfIsq','BqYxr','getCBTInfo','suites','bddStepStart','geEdP','IOaqd','OEOft','apply','mNjFb','obsBrowserTypeMockApplied','QsvSn','_testEnv','cQOai','webeM','hook_type','HuffC','TEST_RUN_STARTED','trNjF','ctx','JDVEl','relative','length','STATE_FAILED','match','gztkS','UdLoK','comment','finished','groups','sendCBTInfo','wsEndpoint','config','IYgmJ','BROWSERSTACK'];a4_0x4aab=function(){return _0x34c072;};return a4_0x4aab();}a4_0x487e52['O11yHelper']=O11yHelper,a4_0x487e52['STATE_PASSED']=STATE_PASSED,a4_0x487e52[a4_0x4594cf(0x17f)]=STATE_FAILED,a4_0x487e52[a4_0x4594cf(0x234)]=TEST_EVENTS,module[a4_0x4594cf(0x13e)]=a4_0x487e52;