browserstack-node-sdk 1.59.0 → 1.60.1

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 (217) 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 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/assets/report.html +1 -1
  43. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  44. package/src/bin/codeceptjs/command.js +1 -1
  45. package/src/bin/codeceptjs/helper.js +1 -1
  46. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  47. package/src/bin/cucumber-js/command.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/test-observability.js +1 -1
  51. package/src/bin/cucumber-js/test.setup.js +1 -1
  52. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  53. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  54. package/src/bin/integrations/command.js +1 -1
  55. package/src/bin/integrations/constants.js +1 -1
  56. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  57. package/src/bin/jasmine/command.js +1 -1
  58. package/src/bin/jasmine/test.setup.js +1 -1
  59. package/src/bin/jasmine/testRunMap.js +1 -1
  60. package/src/bin/jest/command.js +1 -1
  61. package/src/bin/jest/customImplements/customCircus.js +1 -1
  62. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  63. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  64. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  65. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  66. package/src/bin/jest/jest.setup.js +1 -1
  67. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  68. package/src/bin/jest/test-observability/helper.js +1 -1
  69. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  70. package/src/bin/jest/test-observability/test-details.js +1 -1
  71. package/src/bin/jest/test.setup.js +1 -1
  72. package/src/bin/jest/test_before.setup.js +1 -1
  73. package/src/bin/launcher/launcher.js +1 -1
  74. package/src/bin/load/index.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  155. package/src/bin/v2/state/hookState.js +1 -1
  156. package/src/bin/v2/state/testFrameworkState.js +1 -1
  157. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  158. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  159. package/src/bin/v2/utils/jest-utils.js +1 -1
  160. package/src/bin/vanilla-js/command.js +1 -1
  161. package/src/browserStackSdk.js +1 -1
  162. package/src/helpers/BrowserStackSetup.js +1 -1
  163. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  164. package/src/helpers/accessibility-automation/constants.js +1 -1
  165. package/src/helpers/accessibility-automation/helper.js +1 -1
  166. package/src/helpers/accessibility-automation/scripts.js +1 -1
  167. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  168. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  169. package/src/helpers/ats/constants.js +1 -1
  170. package/src/helpers/ats/helper.js +1 -1
  171. package/src/helpers/caCertHelper.js +1 -1
  172. package/src/helpers/capsMapping.js +1 -1
  173. package/src/helpers/central-scanner/constants.js +1 -1
  174. package/src/helpers/central-scanner/helpers.js +1 -1
  175. package/src/helpers/classLogger.js +1 -1
  176. package/src/helpers/driverInitErrorReporter.js +1 -1
  177. package/src/helpers/globals.js +1 -1
  178. package/src/helpers/helper.js +1 -1
  179. package/src/helpers/logger.js +1 -1
  180. package/src/helpers/metadata.js +1 -1
  181. package/src/helpers/patchHelper.js +1 -1
  182. package/src/helpers/patchHelpers.js +1 -1
  183. package/src/helpers/percy/Percy.js +1 -1
  184. package/src/helpers/percy/PercyBinary.js +1 -1
  185. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  186. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  187. package/src/helpers/percy/PercySDK.js +1 -1
  188. package/src/helpers/percy/index.js +1 -1
  189. package/src/helpers/percy/utils.js +1 -1
  190. package/src/helpers/performance/constants.js +1 -1
  191. package/src/helpers/performance/performance-tester.js +1 -1
  192. package/src/helpers/playwright-helper.js +1 -1
  193. package/src/helpers/processHelper.js +1 -1
  194. package/src/helpers/puppeteer-helper.js +1 -1
  195. package/src/helpers/request-spy.js +1 -1
  196. package/src/helpers/setKeepAlive.js +1 -1
  197. package/src/helpers/stackFrameUtils.js +1 -1
  198. package/src/helpers/test-observability/constants.js +1 -1
  199. package/src/helpers/test-observability/error-handler.js +1 -1
  200. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  201. package/src/helpers/test-observability/sessionHandler.js +1 -1
  202. package/src/helpers/test-observability/utils.js +1 -1
  203. package/src/helpers/test-orchestration/constants.js +1 -1
  204. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  205. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  206. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  207. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  208. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  209. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  210. package/src/helpers/testhub/constants.js +1 -1
  211. package/src/helpers/testhub/testhubHandler.js +1 -1
  212. package/src/helpers/testhub/utils.js +1 -1
  213. package/src/helpers/timeoutPromise.js +1 -1
  214. package/src/helpers/utilities.js +1 -1
  215. package/src/helpers/w3cMapping.js +1 -1
  216. package/src/hubAllocationMethods.js +1 -1
  217. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a24_0x1956dc=a24_0x21dd;(function(_0x23105e,_0x4e3edb){const _0x471080=a24_0x21dd,_0x2df016=_0x23105e();while(!![]){try{const _0x1bf222=parseInt(_0x471080(0x2d2))/0x1+parseInt(_0x471080(0x2b0))/0x2*(parseInt(_0x471080(0x26a))/0x3)+parseInt(_0x471080(0x298))/0x4+parseInt(_0x471080(0x1e1))/0x5*(-parseInt(_0x471080(0x22b))/0x6)+-parseInt(_0x471080(0x221))/0x7+-parseInt(_0x471080(0x272))/0x8+parseInt(_0x471080(0x1f0))/0x9*(-parseInt(_0x471080(0x228))/0xa);if(_0x1bf222===_0x4e3edb)break;else _0x2df016['push'](_0x2df016['shift']());}catch(_0x1ae667){_0x2df016['push'](_0x2df016['shift']());}}}(a24_0x2a82,0x515ee));const util=require(a24_0x1956dc(0x1c3)),helper=require(a24_0x1956dc(0x268)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{sendPlatformDetails}=require(a24_0x1956dc(0x2a5)),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper');let __error_messages__=[];const RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler');function a24_0x2a82(){const _0x143eeb=['YxSkj','EQmYn','measureWrapper','ZaWqO','JEST','closeTracker','shift','pwPage','zDySY','hookType','sWvxS','YaJbs','QDYzG','SmZzE','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/helper','eabuk','3tHAstm','mGPSo','__currentTestInfo','Error\x20triggering\x20CREATE\x20POST\x20event\x20for\x20test:\x20','YvojO','bstackA11yShouldScan','Exception\x20in\x20jest\x20driver\x20cleanup\x20with\x20error:\x20','../../helpers/percy/utils','345688vsVpaO','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','function','IGBUZ','start','__workerDetails','MHAEh','iOPmX','Exception\x20in\x20jest\x20driver\x20with\x20error:\x20','hnpfZ','getEnv','executeScript','getPackageVersion','BROWSERSTACK_TESTHUB_JWT','oXrsQ','session_','inside\x20after\x20each\x20jest\x20hook','JKJqB','Dlfvg','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','isAccessibilityPlatform','qDBoz','../../helpers/accessibility-automation/scripts','otOgR','Cleaned\x20up\x20page\x20references\x20after\x20deferred\x20closes','Successfully\x20closed\x20page\x20via\x20fallback','DGmTm','description','saveTestResults','No\x20patcher\x20available','POST','../../helpers/accessibility-automation/helper','PcEvQ','QFBxi','setGlobal','BROWSERSTACK_TESTHUB_UUID','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','retryTimes','783628TmNKXS','CQuSS','getPageFromAutomationFramework','SzvNT','addReporter','isPageFixture','format','Error\x20loading\x20puppeteer-patcher:\x20','itngx','\x22}}','launchCaps','appium:app','gdyHW','../../helpers/test-observability/utils','QUIT','vWawD','getInstance','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','Jest','CREATE','YjhMM','rOiCp','Playwright','browserStackGlobals','1047922ejXkig','Playwright\x20flow\x20detected\x20in\x20beforeEach','isCliEnabled','\x22,\x22level\x22:\x20\x22info\x22}}','percyCaptureMode','vixqF','BiSbK','mBEwj','performScan','inspect','TransformStream','leMkx','kQQYu','../v2/state/automationFrameworkState','kNrEE','env','No\x20page\x20available\x20yet\x20for\x20test:\x20','[Jest\x20Setup]\x20Triggered\x20CREATE\x20POST\x20event\x20for\x20test:\x20','BZxmb','LDWiw','../utils/puppeteer-patcher','QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','is_mobile_session','undefined','isRunning','../../helpers/test-observability/constants','../../helpers/testhub/utils','SAVE_RESULTS','XuXrx','Error\x20cleaning\x20up\x20after\x20deferred\x20closes:\x20','Error\x20determining\x20test\x20flow:\x20','Error\x20cleaning\x20up\x20close\x20tracker:\x20','arvhw','Puppeteer\x20flow\x20detected\x20in\x20beforeEach','603480LfDBXQ','iwaiU','NmaeP',',\x20CREATE\x20POST\x20will\x20be\x20triggered\x20when\x20page\x20is\x20created','QvFvm','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','RNnDQ','executeDeferredCloses','cjveQ','yzglR','VRfnA','__drivers','TransformStream\x20polyfill\x20not\x20available:\x20','GkpVs','ujVGH','SjoSL','MNUfK','currentTestName','cleanup','context','afterAll','../utils/constants','@playwright/test',',\x22level\x22:\x20\x22','dwMHw','getCurrentUrl','command','util','MFsJo','../../helpers/testhub/constants','browserContext','Failed\x20to\x20store\x20session\x20name:\x20','\x20|\x20','liIHh','debug','Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20','JiKmD','Performing\x20scan\x20before\x20saving\x20results','executeAsyncScript','zFgRf','eIsue','failed','join','PdJGf','info','Error\x20loading\x20playwright-patcher:\x20','getAutomationFramework','Cleaned\x20up\x20close\x20tracker\x20after\x20deferred\x20closes','testAnalyticsId','../v2/state/hookState','hBueX','errors','failedExpectations','SYNC','NrWYx','nKIUl','setTimeout','7595wfogPj','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','http:','GRtOa','PJirY','LFtbg','page','SESSION_STATUS','Error\x20loading\x20patcher\x20in\x20afterEach:\x20','soPyR','puppeteer','initQuit','browserstackTestName','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','HBuMm','621UQhvwQ','PERFORM_SCAN','tewWT','zlNly','FVhsC','lVHLP','end','getTestUUID','message','MdlPu','Error\x20preparing\x20AutomationFramework\x20events:\x20','WxoPW','UPODf','vMPTo','log','Yaxpi','driverCleanup:\x20No\x20drivers\x20to\x20clean\x20up','KUwdn','UnIlh','WKnkZ','\x20with\x20testIdentifier:\x20','testFramework','CYAAS',',\x20isPlaywrightFlow=','browser','jest-test','Error\x20triggering\x20QUIT\x20PRE\x20event:\x20','zNXPR','includes','capabilities','startMonitoring','ENV_VAR','inside\x20before\x20each\x20jest\x20hook','mmvFi','getGlobal','__platformCaps','QuZjj','XIXPY','jCZgP','name','puppeteer-core','testcase','Error\x20executing\x20deferred\x20closes:\x20','testPath','testInfo','beforeEach','../v2/browserstackCLI','browserstackSessionName','trackEvent','1614557VwQdmK','push','wDLxX','qZOtZ',',\x20testPath=','oyzwm','SDK_HOOK','94770BLFmYs','eKDMu','isMobilePlatform','246reMEXc','xsnuL','Puppeteer','pid','stopMonitoring','Unknown\x20Test','gMRzn','aOUhl','stringify','getState','hMWVu','DBmrp','afterTestHook','__jestCurrentTestIdentifier','grQOO','QreBp','ObservabilitySync:','title','GgWKj','../../helpers/globals',':testAnalyticsId','../utils/playwright-patcher','quitCount_','AgFpa','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','currentTest','FnyKV','EEwGy','afterEach','Flow\x20detection:\x20isSeleniumFlow=','CUXIv','length','SESSION_NAME','replace','error','platformCaps','isArray','MnWQr','mEGye','from\x20else\x20block\x20jest\x20test\x20failed\x20playwright\x20flow:\x20','passed','ezPCs','1|0|2|4|3','NNjBP','PRE','Exception\x20in\x20jest\x20hook\x20with\x20error:\x20'];a24_0x2a82=function(){return _0x143eeb;};return a24_0x2a82();}jest['setTimeout'](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a24_0x1956dc(0x291)),{percyAutoCapture}=require(a24_0x1956dc(0x271)),logger=require('../../helpers/logger')['winstonLogger'],TestDetails=require('./test-observability/test-details'),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),scripts=require(a24_0x1956dc(0x288)),globals=require(a24_0x1956dc(0x23e)),{shouldProcessEventForTesthub}=require(a24_0x1956dc(0x2ca)),testHubConstants=require(a24_0x1956dc(0x1c5)),{v4:uuidv4}=require('uuid'),BrowserstackCLI=require(a24_0x1956dc(0x21e)),AutomationFrameworkState=require(a24_0x1956dc(0x2bd)),HookState=require(a24_0x1956dc(0x1d9)),{FRAMEWORKS}=require(a24_0x1956dc(0x2c9));globals[a24_0x1956dc(0x2af)]=browserStackGlobals;if(typeof global['TransformStream']===a24_0x1956dc(0x2c7))try{const {TransformStream}=require('stream/web');global[a24_0x1956dc(0x2ba)]=TransformStream;}catch(a24_0x4d30d9){logger['debug'](a24_0x1956dc(0x1b4)+a24_0x4d30d9[a24_0x1956dc(0x1f8)]);}function stripUnicode(_0x5080da){const _0x226536=a24_0x1956dc;return _0x5080da[_0x226536(0x24c)](/\\u001b\[.*?m/g,'')['slice'](0x1,-0x1);}async function setContext(){const _0x5a4ad2=a24_0x1956dc,_0x115f5f={'iwaiU':function(_0x35e029){return _0x35e029();},'Yaxpi':_0x5a4ad2(0x1ed),'jJmxP':function(_0x259418,_0x31ca22){return _0x259418!==_0x31ca22;},'qxOpX':'undefined','YaJbs':function(_0x3d2933,_0x4cb9a6){return _0x3d2933>_0x4cb9a6;},'GjEmO':function(_0x513280,_0x1f3412){return _0x513280(_0x1f3412);},'KAuOk':function(_0x2c0fd3,_0x220abc){return _0x2c0fd3(_0x220abc);},'SjoSL':function(_0x464c03,_0x28ec58){return _0x464c03(_0x28ec58);}};if(!_0x115f5f[_0x5a4ad2(0x2d3)](isBrowserstackInfra))return;const _0xab5839=expect[_0x5a4ad2(0x234)]()['currentTestName'];globals[_0x5a4ad2(0x294)](_0x115f5f[_0x5a4ad2(0x1ff)],_0xab5839);!sessionNameProvided&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x5a4ad2(0x24b)],async()=>{const _0x4fa092=_0x5a4ad2;await __drivers[0x0][_0x4fa092(0x27d)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0xab5839+_0x4fa092(0x2a1));})();let _0x5abab3=null,_0x204484=![];_0x115f5f['jJmxP'](typeof jasmine,_0x115f5f['qxOpX'])?jasmine[_0x5a4ad2(0x244)][_0x5a4ad2(0x1dc)]&&_0x115f5f[_0x5a4ad2(0x264)](jasmine['currentTest'][_0x5a4ad2(0x1dc)][_0x5a4ad2(0x24a)],0x0)?(_0x204484=!![],_0x5abab3=_0x115f5f['GjEmO'](stripUnicode,JSON[_0x5a4ad2(0x233)](jasmine['currentTest'][_0x5a4ad2(0x1dc)][0x0][_0x5a4ad2(0x1f8)]))):_0x5abab3=_0x115f5f['GjEmO'](stripUnicode,JSON[_0x5a4ad2(0x233)](jasmine[_0x5a4ad2(0x244)]['description'])):testContext[_0x5a4ad2(0x1db)]&&_0x115f5f['YaJbs'](testContext[_0x5a4ad2(0x1db)][_0x5a4ad2(0x24a)],0x0)?(_0x204484=!![],_0x5abab3=_0x115f5f['KAuOk'](stripUnicode,JSON[_0x5a4ad2(0x233)](testContext[_0x5a4ad2(0x1db)][0x0][0x0][_0x5a4ad2(0x1f8)]||testContext['errors'][0x0][0x0]))):_0x5abab3=_0x115f5f[_0x5a4ad2(0x1b7)](stripUnicode,JSON['stringify'](testContext['name'])),_0x204484?(__error_messages__[_0x5a4ad2(0x222)](_0x5abab3),await __drivers[0x0]['executeScript'](_0x5a4ad2(0x285)+_0x5abab3+'\x22,\x22level\x22:\x20\x22error\x22}}')):await __drivers[0x0][_0x5a4ad2(0x27d)](_0x5a4ad2(0x1ee)+_0x5abab3+_0x5a4ad2(0x2b3));}const executeAnnotate=async(_0x294a30,_0x44c619)=>{const _0x482f3c=a24_0x1956dc;await global[_0x482f3c(0x1b3)][0x0][_0x482f3c(0x27d)](_0x482f3c(0x273)+_0x294a30+_0x482f3c(0x1bf)+_0x44c619+_0x482f3c(0x2a1));};function a24_0x21dd(_0x40c5fa,_0xc5099c){const _0x2a82f2=a24_0x2a82();return a24_0x21dd=function(_0x21ddee,_0x4eb613){_0x21ddee=_0x21ddee-0x1ab;let _0x4bf5a1=_0x2a82f2[_0x21ddee];return _0x4bf5a1;},a24_0x21dd(_0x40c5fa,_0xc5099c);}async function driverCleanup(){const _0x349be1=a24_0x1956dc,_0x335c8c={'zkmsl':function(_0x110f85){return _0x110f85();},'ezPCs':function(_0x39f7f3,_0x1286c7){return _0x39f7f3===_0x1286c7;},'SzvNT':_0x349be1(0x200),'YkrEp':_0x349be1(0x255),'RNnDQ':function(_0x41747e,_0xf27ab5){return _0x41747e>_0xf27ab5;},'NmaeP':function(_0x4a37e1,_0x4b9e54,_0x48cda8,_0x266302){return _0x4a37e1(_0x4b9e54,_0x48cda8,_0x266302);},'WKnkZ':_0x349be1(0x1d1),'yzglR':_0x349be1(0x1c8),'IGBUZ':function(_0x8d90dc,_0x211d30,_0x517bbc){return _0x8d90dc(_0x211d30,_0x517bbc);},'vMOsJ':_0x349be1(0x253)};if(!_0x335c8c['zkmsl'](isBrowserstackInfra))return;if(!global[_0x349be1(0x1b3)]||!Array[_0x349be1(0x24f)](global[_0x349be1(0x1b3)])||_0x335c8c[_0x349be1(0x254)](global[_0x349be1(0x1b3)]['length'],0x0)){logger[_0x349be1(0x1ca)](_0x335c8c[_0x349be1(0x29b)]);return;}let _0x4cb8e8=![];try{const _0x304b42=_0x335c8c['YkrEp']['split']('|');let _0x15ac34=0x0;while(!![]){switch(_0x304b42[_0x15ac34++]){case'0':await global[_0x349be1(0x1b3)][0x0][_0x349be1(0x281)];continue;case'1':PerformanceTester[_0x349be1(0x276)](PerformanceAutEvents[_0x349be1(0x1e8)]);continue;case'2':_0x4cb8e8=!![];continue;case'3':PerformanceTester[_0x349be1(0x1f6)](PerformanceAutEvents[_0x349be1(0x1e8)],!![]);continue;case'4':_0x335c8c[_0x349be1(0x1ae)](__error_messages__['length'],0x0)?await _0x335c8c[_0x349be1(0x2d4)](markSessionStatus,global[_0x349be1(0x1b3)][0x0],_0x335c8c[_0x349be1(0x203)],__error_messages__[_0x349be1(0x1d2)](_0x335c8c[_0x349be1(0x1b1)])):await _0x335c8c[_0x349be1(0x275)](markSessionStatus,global[_0x349be1(0x1b3)][0x0],_0x335c8c['vMOsJ']);continue;}break;}}catch(_0x3b913e){console[_0x349be1(0x1fe)](_0x3b913e),PerformanceTester[_0x349be1(0x1f6)](PerformanceAutEvents[_0x349be1(0x1e8)],![],_0x3b913e);}__error_messages__=[];if(_0x4cb8e8)try{await global[_0x349be1(0x1b3)][0x0][_0x349be1(0x1ec)]();}catch(_0x56cb03){console[_0x349be1(0x1fe)](_0x56cb03);}}beforeAll(async()=>{const _0x22c90a=a24_0x1956dc,_0xfc56d5={'Dlfvg':function(_0x3be0d4,_0x3fb174){return _0x3be0d4!==_0x3fb174;},'dQivQ':_0x22c90a(0x2c7),'CYAAS':function(_0x26be1f,_0x303f7e){return _0x26be1f>_0x303f7e;},'UPODf':'beforeAll','eKDMu':function(_0x357198){return _0x357198();},'PXqQB':function(_0x12cb7a,_0x53341f,_0x1aa5b6){return _0x12cb7a(_0x53341f,_0x1aa5b6);}};__error_messages__=[];!global['__drivers']&&(global[_0x22c90a(0x1b3)]=[]);PerformanceTester[_0x22c90a(0x20e)](),PerformanceTester[_0x22c90a(0x276)](PerformanceHookEvents['SDK_HOOK']);_0xfc56d5[_0x22c90a(0x284)](typeof __jestRetries,_0xfc56d5['dQivQ'])&&_0xfc56d5[_0x22c90a(0x206)](__jestRetries,0x0)&&jest[_0x22c90a(0x297)](__jestRetries);const _0x4bcaa9='browserstack internal helper hook';_0xfc56d5[_0x22c90a(0x284)](typeof jasmine,_0xfc56d5['dQivQ'])&&jasmine[_0x22c90a(0x27c)]()[_0x22c90a(0x29c)]({'specStarted':_0x5496dc=>{jasmine['currentTest']=_0x5496dc;}});let _0x7dcff9=![];try{await __drivers[0x0]['session_'],_0x7dcff9=!![];}catch(_0x1df4f9){logger[_0x22c90a(0x1ca)]('Exception\x20in\x20jest\x20driver\x20with\x20error:\x20'+_0x1df4f9);const _0x50f0d5={};_0x50f0d5[_0x22c90a(0x262)]=_0xfc56d5[_0x22c90a(0x1fc)],PerformanceTester[_0x22c90a(0x1f6)](PerformanceHookEvents['SDK_HOOK'],![],_0x1df4f9,_0x50f0d5);}if(_0x7dcff9)try{_0xfc56d5[_0x22c90a(0x229)](shouldProcessEventForTesthub)&&(__drivers[0x0]&&await _0xfc56d5['PXqQB'](sendPlatformDetails,__drivers[0x0],TestDetails['getTestUUID'](process[_0x22c90a(0x22e)]+_0x22c90a(0x23f))));}catch(_0xdf54a7){logger[_0x22c90a(0x1ca)](_0x22c90a(0x1cb)+_0xdf54a7);const _0x457543={};_0x457543['hookType']=_0xfc56d5[_0x22c90a(0x1fc)],PerformanceTester['end'](PerformanceHookEvents[_0x22c90a(0x227)],![],_0xdf54a7,_0x457543);}const _0x3ba67b={};_0x3ba67b[_0x22c90a(0x262)]=_0xfc56d5['UPODf'],PerformanceTester[_0x22c90a(0x1f6)](PerformanceHookEvents[_0x22c90a(0x227)],!![],null,_0x3ba67b);}),beforeEach(async()=>{const _0x3346ed=a24_0x1956dc,_0x2ccce5={'VRfnA':_0x3346ed(0x210),'gdyHW':_0x3346ed(0x1ed),'HBuMm':function(_0x17f28f,_0x527c50,_0xe51f17){return _0x17f28f(_0x527c50,_0xe51f17);},'atCRq':_0x3346ed(0x1be),'gMRzn':_0x3346ed(0x1eb),'GRtOa':_0x3346ed(0x218),'mEGye':function(_0x532e43,_0x341db5){return _0x532e43(_0x341db5);},'JJQAT':_0x3346ed(0x240),'zNXPR':_0x3346ed(0x2b1),'DBmrp':function(_0x4e00a5,_0x2a54bd){return _0x4e00a5(_0x2a54bd);},'mrWIG':_0x3346ed(0x2c4),'mshsj':_0x3346ed(0x2d1),'JiKmD':'4|0|1|3|2','itngx':function(_0x14b89b,_0x343673){return _0x14b89b>_0x343673;},'zFgRf':function(_0x4c9862){return _0x4c9862();},'jCZgP':function(_0x428292,_0x294055){return _0x428292>_0x294055;},'huLQp':function(_0x51be75,_0x1e09df){return _0x51be75>_0x1e09df;},'QDYzG':function(_0x53b688){return _0x53b688();},'MNUfK':function(_0x133ce8,_0x27bce2){return _0x133ce8>_0x27bce2;},'JKJqB':_0x3346ed(0x21d),'snfOl':_0x3346ed(0x26f),'NrWYx':function(_0x3274f9,_0x24b789){return _0x3274f9>_0x24b789;},'CQuSS':_0x3346ed(0x286),'vMPTo':function(_0x53108a,_0x44380){return _0x53108a===_0x44380;},'bPWvX':_0x3346ed(0x1e3),'hMWVu':'https:','sWvxS':_0x3346ed(0x296),'YvojO':'../v2/browserstackCLI','BZxmb':_0x3346ed(0x1bd),'GMEqE':function(_0x1b2ff6,_0x5685f6){return _0x1b2ff6(_0x5685f6);},'aOUhl':_0x3346ed(0x2bd),'otOgR':_0x3346ed(0x1d9),'GgWKj':function(_0x1bf414,_0x445b40){return _0x1bf414||_0x445b40;},'dwMHw':_0x3346ed(0x230),'AgFpa':function(_0x208e6f,_0x486c74){return _0x208e6f||_0x486c74;},'PcEvQ':_0x3346ed(0x209),'Ubaif':function(_0xde1037,_0x544fdf){return _0xde1037&&_0x544fdf;},'KrBDn':function(_0x4abca4,_0x48a4f1){return _0x4abca4===_0x48a4f1;},'LDWiw':_0x3346ed(0x274),'mjLDq':function(_0x31e3c8,_0x7e9e4f){return _0x31e3c8===_0x7e9e4f;},'eIsue':function(_0x427425,_0x5a2449){return _0x427425===_0x5a2449;},'qDBoz':function(_0x320ac1,_0xfb2a7f){return _0x320ac1>_0xfb2a7f;},'hnpfZ':function(_0x252dbf,_0x4648e1){return _0x252dbf>_0x4648e1;}};logger[_0x3346ed(0x1ca)](_0x2ccce5[_0x3346ed(0x1b2)]),PerformanceTester[_0x3346ed(0x276)](PerformanceHookEvents[_0x3346ed(0x227)]);const _0x18dd45='browserstack internal helper hook';let _0x5e3c2e=!![],_0x4cd87b=null;try{const _0x1de95d=expect[_0x3346ed(0x234)]()[_0x3346ed(0x1b9)];globals[_0x3346ed(0x294)](_0x2ccce5[_0x3346ed(0x2a4)],_0x1de95d);const _0x3bb7cc=_0x2ccce5[_0x3346ed(0x1ef)](shouldScanTestForAccessibility,_0x1de95d,![]),_0x35da2f=helper[_0x3346ed(0x27e)](_0x2ccce5['atCRq']),_0x4fd275=helper[_0x3346ed(0x27e)](_0x2ccce5[_0x3346ed(0x231)])||helper[_0x3346ed(0x27e)](_0x2ccce5[_0x3346ed(0x1e4)]);if(!!_0x35da2f)try{_0x4cd87b=_0x2ccce5[_0x3346ed(0x251)](require,_0x2ccce5['JJQAT']),logger[_0x3346ed(0x1ca)](_0x2ccce5[_0x3346ed(0x20b)]);}catch(_0x1438f4){logger[_0x3346ed(0x1ca)](_0x3346ed(0x1d5)+util[_0x3346ed(0x29e)](_0x1438f4));}else{if(!!_0x4fd275)try{_0x4cd87b=_0x2ccce5[_0x3346ed(0x236)](require,_0x2ccce5['mrWIG']),logger[_0x3346ed(0x1ca)](_0x2ccce5['mshsj']);}catch(_0x57768f){logger[_0x3346ed(0x1ca)](_0x3346ed(0x29f)+util[_0x3346ed(0x29e)](_0x57768f));}}try{const _0x52db53=_0x2ccce5[_0x3346ed(0x1cc)]['split']('|');let _0x4e07a2=0x0;while(!![]){switch(_0x52db53[_0x4e07a2++]){case'0':global[_0x3346ed(0x21f)]=_0x1de95d;continue;case'1':!_0x4cd87b&&_0x2ccce5[_0x3346ed(0x2a0)](__drivers[_0x3346ed(0x24a)],0x1)&&(await _0x2ccce5[_0x3346ed(0x1cf)](driverCleanup),__drivers[_0x3346ed(0x25f)]());continue;case'2':!_0x4cd87b&&_0x2ccce5[_0x3346ed(0x216)](__drivers['length'],0x0)&&_0x2ccce5['huLQp'](__drivers[0x0][_0x3346ed(0x241)],0x0)&&(_0x5e3c2e=![],await _0x2ccce5[_0x3346ed(0x265)](driverCleanup));continue;case'3':_0x4cd87b&&_0x2ccce5[_0x3346ed(0x1b8)](__drivers['length'],0x0)&&(__drivers[0x0][_0x3346ed(0x21f)]=_0x1de95d,__drivers[0x0][_0x3346ed(0x26f)]=_0x3bb7cc);continue;case'4':Array[_0x3346ed(0x24f)](__drivers)&&__drivers[0x0]&&(__drivers[0x0][_0x3346ed(0x21f)]=_0x1de95d);continue;}break;}}catch(_0xa9b300){logger[_0x3346ed(0x1ca)](_0x3346ed(0x1c7)+_0xa9b300);const _0x545bac={};_0x545bac[_0x3346ed(0x262)]=_0x2ccce5[_0x3346ed(0x283)],PerformanceTester[_0x3346ed(0x1f6)](PerformanceHookEvents[_0x3346ed(0x227)],![],_0xa9b300,_0x545bac);}globals['setGlobal'](_0x2ccce5['snfOl'],_0x3bb7cc);if(global[_0x3346ed(0x277)]){const _0x55808c=expect[_0x3346ed(0x234)]()[_0x3346ed(0x21b)],_0x3c9ba9=global[_0x3346ed(0x238)],_0x4dfd14=expect['getState']()[_0x3346ed(0x1b9)]||_0x1de95d;global['__workerDetails'][_0x3346ed(0x244)]={'id':_0x3c9ba9,'testAnalyticsId':_0x3c9ba9,'thTestRunUuid':TestDetails[_0x3346ed(0x1f7)](process['pid']+_0x3346ed(0x23f)),'testInfo':{'title':_0x1de95d,'fullName':_0x4dfd14,'displayName':_0x1de95d,'name':_0x4dfd14,'testPath':_0x55808c,'testIdentifier':_0x3c9ba9}},logger[_0x3346ed(0x1ca)]('[Jest\x20Setup]\x20beforeEach:\x20testIdentifier='+_0x3c9ba9+',\x20testName='+_0x1de95d+_0x3346ed(0x225)+_0x55808c);}if(!_0x4cd87b&&_0x2ccce5[_0x3346ed(0x1cf)](isAccessibilityAutomationSession)&&_0x5e3c2e&&Array['isArray'](__drivers)&&_0x2ccce5[_0x3346ed(0x1de)](__drivers['length'],0x0)&&globals[_0x3346ed(0x212)](_0x2ccce5[_0x3346ed(0x299)]))try{const _0x43b22f=await __drivers[0x0][_0x3346ed(0x281)];if(_0x43b22f){let _0x2ea9f7=!![];const _0x155f1b=await __drivers[0x0][_0x3346ed(0x1c1)]();let _0x48ebb5;try{_0x48ebb5=new URL(_0x155f1b);}catch(_0x1751b6){_0x2ea9f7=![];}_0x2ea9f7=_0x2ccce5[_0x3346ed(0x1fd)](_0x48ebb5['protocol'],_0x2ccce5['bPWvX'])||_0x2ccce5[_0x3346ed(0x1fd)](_0x48ebb5['protocol'],_0x2ccce5[_0x3346ed(0x235)]),_0x2ea9f7&&(_0x3bb7cc&&logger['info'](_0x2ccce5[_0x3346ed(0x263)]));}}catch(_0x4002f4){logger[_0x3346ed(0x24d)](_0x3346ed(0x243)+_0x4002f4);const _0x54eedf={};_0x54eedf[_0x3346ed(0x262)]=_0x2ccce5[_0x3346ed(0x283)],PerformanceTester[_0x3346ed(0x1f6)](PerformanceHookEvents[_0x3346ed(0x227)],![],er,_0x54eedf);}if(_0x4cd87b&&global['__workerDetails']&&global[_0x3346ed(0x277)][_0x3346ed(0x244)])try{await _0x4cd87b['beforeTestHook'](global[_0x3346ed(0x277)]['currentTest']['testInfo']);}catch(_0x20fd04){logger[_0x3346ed(0x1ca)]('Error\x20in\x20playwright\x20beforeTestHook:\x20'+util[_0x3346ed(0x29e)](_0x20fd04));}if(_0x4cd87b&&global[_0x3346ed(0x277)]&&global[_0x3346ed(0x277)][_0x3346ed(0x244)])try{const _0x59b2f8=_0x2ccce5[_0x3346ed(0x236)](require,_0x2ccce5[_0x3346ed(0x26e)]),{FRAMEWORKS:_0xaebcc9}=_0x2ccce5['mEGye'](require,_0x2ccce5[_0x3346ed(0x2c2)]),_0x551bd5=_0x2ccce5['GMEqE'](require,_0x2ccce5[_0x3346ed(0x232)]),_0xd3fffe=_0x2ccce5['GMEqE'](require,_0x2ccce5[_0x3346ed(0x289)]);if(_0x59b2f8[_0x3346ed(0x2a8)]()[_0x3346ed(0x2b2)]()&&_0x59b2f8['getInstance']()[_0x3346ed(0x2c8)]()){const _0x5d9e26={'title':_0x2ccce5[_0x3346ed(0x23d)](_0x1de95d,_0x2ccce5[_0x3346ed(0x1c0)]),'titlePath':[_0x2ccce5[_0x3346ed(0x242)](_0x1de95d,_0x2ccce5['dwMHw'])],'id':global['__workerDetails'][_0x3346ed(0x244)]['id']||_0x2ccce5[_0x3346ed(0x292)],'testAnalyticsId':global[_0x3346ed(0x277)]['currentTest'][_0x3346ed(0x1d8)],'testPath':global[_0x3346ed(0x277)][_0x3346ed(0x244)][_0x3346ed(0x21c)]?.['testPath'],...global[_0x3346ed(0x277)][_0x3346ed(0x244)][_0x3346ed(0x21c)]};global[_0x3346ed(0x26c)]=_0x5d9e26,logger[_0x3346ed(0x1ca)](_0x3346ed(0x1e2)+_0x1de95d);try{const _0x4fab9=global[_0x3346ed(0x277)]?.[_0x3346ed(0x260)]||_0x4cd87b[_0x3346ed(0x29a)]();if(_0x4fab9){const _0x517494=_0x2ccce5['Ubaif'](!!_0x4fd275,!_0x35da2f);let _0x5d7430=null,_0xcb7709=null;try{_0x517494?(_0x5d7430=_0x2ccce5['KrBDn'](typeof _0x4fab9['browserContext'],_0x2ccce5[_0x3346ed(0x2c3)])?_0x4fab9[_0x3346ed(0x1c6)]():null,_0xcb7709=_0x2ccce5['KrBDn'](typeof _0x4fab9['browser'],_0x2ccce5['LDWiw'])?_0x4fab9['browser']():null):(_0x5d7430=_0x2ccce5['mjLDq'](typeof _0x4fab9[_0x3346ed(0x1bb)],_0x2ccce5['LDWiw'])?_0x4fab9[_0x3346ed(0x1bb)]():null,_0xcb7709=_0x5d7430&&_0x2ccce5[_0x3346ed(0x1d0)](typeof _0x5d7430[_0x3346ed(0x208)],_0x2ccce5[_0x3346ed(0x2c3)])?_0x5d7430[_0x3346ed(0x208)]():null);}catch(_0x514fab){logger[_0x3346ed(0x1ca)]('Error\x20getting\x20page\x20context/browser:\x20'+_0x514fab[_0x3346ed(0x1f8)]);}const _0x10660b={};_0x10660b[_0x3346ed(0x1e7)]=_0x4fab9,_0x10660b[_0x3346ed(0x1bb)]=_0x5d7430,_0x10660b[_0x3346ed(0x208)]=_0xcb7709,_0x10660b[_0x3346ed(0x21c)]=_0x5d9e26,_0x10660b[_0x3346ed(0x205)]=_0xaebcc9[_0x3346ed(0x25d)],_0x10660b[_0x3346ed(0x2a2)]=global['__launchCaps'],_0x10660b[_0x3346ed(0x24e)]=global[_0x3346ed(0x213)],await _0x59b2f8[_0x3346ed(0x2a8)]()[_0x3346ed(0x1d6)]()[_0x3346ed(0x220)](_0x551bd5[_0x3346ed(0x2ab)],_0xd3fffe[_0x3346ed(0x290)],_0x10660b),logger[_0x3346ed(0x1ca)](_0x3346ed(0x2c1)+_0x1de95d+_0x3346ed(0x204)+(_0x5d9e26['testAnalyticsId']||_0x5d9e26['id']));}else logger[_0x3346ed(0x1ca)](_0x3346ed(0x2c0)+_0x1de95d+_0x3346ed(0x1ab));}catch(_0x19fdf1){logger[_0x3346ed(0x1ca)](_0x3346ed(0x26d)+util['format'](_0x19fdf1));}}}catch(_0x5bbe1b){logger['debug'](_0x3346ed(0x1fa)+util[_0x3346ed(0x29e)](_0x5bbe1b));}!_0x4cd87b&&_0x2ccce5[_0x3346ed(0x287)](__drivers['length'],0x0)&&_0x2ccce5[_0x3346ed(0x27b)](__drivers[0x0]['quitCount_'],0x0)&&await _0x2ccce5[_0x3346ed(0x265)](driverCleanup);}catch(_0x862f00){logger[_0x3346ed(0x1ca)](_0x3346ed(0x258)+_0x862f00);const _0x20131c={};_0x20131c[_0x3346ed(0x262)]=_0x2ccce5[_0x3346ed(0x283)],PerformanceTester['end'](PerformanceHookEvents[_0x3346ed(0x227)],![],_0x862f00,_0x20131c);}const _0xcfaf88={};_0xcfaf88['hookType']=_0x2ccce5[_0x3346ed(0x283)],PerformanceTester[_0x3346ed(0x1f6)](PerformanceHookEvents[_0x3346ed(0x227)],!![],null,_0xcfaf88);}),afterEach(async()=>{const _0x487c54=a24_0x1956dc,_0x143b5f={'MnWQr':_0x487c54(0x282),'FnyKV':function(_0x5480d5,_0x18398d){return _0x5480d5>_0x18398d;},'xsnuL':_0x487c54(0x1be),'GkpVs':_0x487c54(0x1eb),'rOiCp':_0x487c54(0x218),'mBEwj':function(_0x34c454,_0x11e53e){return _0x34c454(_0x11e53e);},'PJirY':_0x487c54(0x240),'LFtbg':_0x487c54(0x2c4),'Hzzst':_0x487c54(0x2ae),'sfvqW':_0x487c54(0x22d),'xFzKy':function(_0x1b0ab3,_0x39f581){return _0x1b0ab3!==_0x39f581;},'zeFSd':'undefined','UnIlh':function(_0x4c215f,_0x45ebcc){return _0x4c215f(_0x45ebcc);},'wDLxX':function(_0xfa8ac0,_0x64d967){return _0xfa8ac0>_0x64d967;},'cjveQ':function(_0x5a7547,_0x4d96e7){return _0x5a7547(_0x4d96e7);},'vWawD':function(_0x418a6f,_0x4f01bf){return _0x418a6f(_0x4f01bf);},'kPNVH':_0x487c54(0x1d1),'tewWT':_0x487c54(0x253),'BiSbK':function(_0x8b2f4b,_0x3c5a30){return _0x8b2f4b&&_0x3c5a30;},'QvFvm':_0x487c54(0x230),'zgBiY':'jest-test','LQYfO':'Skipping\x20afterTestHook\x20-\x20workerDetails\x20or\x20currentTest\x20not\x20available','eabuk':_0x487c54(0x1ad),'lVHLP':'Cleaned\x20up\x20close\x20tracker','soPyR':_0x487c54(0x2a9),'EEwGy':function(_0x240505){return _0x240505();},'SmZzE':function(_0x5b0a20,_0x2e373c){return _0x5b0a20===_0x2e373c;},'mGPSo':_0x487c54(0x219),'leMkx':function(_0x25bc27,_0x48293b){return _0x25bc27>_0x48293b;},'NNjBP':_0x487c54(0x2a3),'QuZjj':function(_0x4489e0,_0xa15731,_0x5c9b3c,_0x3c60a6){return _0x4489e0(_0xa15731,_0x5c9b3c,_0x3c60a6);},'nKIUl':_0x487c54(0x247),'YjhMM':function(_0x599a05,_0x458403,_0x4464f1){return _0x599a05(_0x458403,_0x4464f1);},'Knjor':_0x487c54(0x286),'PdJGf':'bstackA11yShouldScan','FVhsC':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.','oXrsQ':_0x487c54(0x1cd),'QFBxi':'afterTest','vixqF':_0x487c54(0x22a),'iOPmX':_0x487c54(0x267),'ujVGH':function(_0x244f65){return _0x244f65();},'kQQYu':function(_0x4da2d7){return _0x4da2d7();},'ZaWqO':function(_0x62289,_0x1ed6d9){return _0x62289>_0x1ed6d9;},'MHAEh':function(_0x3556c3,_0x5f128e,_0x663fc5){return _0x3556c3(_0x5f128e,_0x663fc5);},'zlNly':function(_0x880e84,_0x52838e,_0x4d3e09){return _0x880e84(_0x52838e,_0x4d3e09);},'XIXPY':_0x487c54(0x1ca),'CUXIv':function(_0x256830,_0x2ac8e3){return _0x256830>_0x2ac8e3;},'ZghKN':function(_0x5150a3){return _0x5150a3();}};logger[_0x487c54(0x1ca)](_0x143b5f[_0x487c54(0x250)]),PerformanceTester['start'](PerformanceHookEvents[_0x487c54(0x227)]);const _0xe8ded8='browserstack internal helper hook';let _0x4dbd0d=![],_0x5b587e=![],_0x1f9b64=null;try{global[_0x487c54(0x1b3)]&&_0x143b5f[_0x487c54(0x245)](global[_0x487c54(0x1b3)][_0x487c54(0x24a)],0x0)&&(_0x4dbd0d=!![]);if(global[_0x487c54(0x277)]&&global[_0x487c54(0x277)][_0x487c54(0x260)]){const _0x39dc7a=helper['getPackageVersion'](_0x143b5f[_0x487c54(0x22c)]),_0x3800a4=helper[_0x487c54(0x27e)](_0x143b5f[_0x487c54(0x1b5)])||helper[_0x487c54(0x27e)](_0x143b5f[_0x487c54(0x2ad)]);try{if(_0x39dc7a)_0x1f9b64=_0x143b5f[_0x487c54(0x2b7)](require,_0x143b5f[_0x487c54(0x1e5)]);else _0x3800a4&&(_0x1f9b64=_0x143b5f[_0x487c54(0x2b7)](require,_0x143b5f[_0x487c54(0x1e6)]));_0x5b587e=!![],logger[_0x487c54(0x1ca)]((_0x39dc7a?_0x143b5f['Hzzst']:_0x143b5f['sfvqW'])+'\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global[_0x487c54(0x277)]['pwPage']);}catch(_0x2cd5e1){logger[_0x487c54(0x1ca)](_0x487c54(0x1e9)+util[_0x487c54(0x29e)](_0x2cd5e1));}}}catch(_0x25c0b5){logger[_0x487c54(0x1ca)](_0x487c54(0x2ce)+_0x25c0b5);}logger[_0x487c54(0x1ca)](_0x487c54(0x248)+_0x4dbd0d+_0x487c54(0x207)+_0x5b587e);if(_0x5b587e){const _0x1ea3f4=_0x1f9b64[_0x487c54(0x29a)]();try{let _0x34ed0c=null,_0x17cac6=![];if(_0x143b5f['xFzKy'](typeof jasmine,_0x143b5f['zeFSd']))jasmine[_0x487c54(0x244)][_0x487c54(0x1dc)]&&_0x143b5f[_0x487c54(0x245)](jasmine[_0x487c54(0x244)][_0x487c54(0x1dc)][_0x487c54(0x24a)],0x0)?(_0x17cac6=!![],_0x34ed0c=_0x143b5f[_0x487c54(0x2b7)](stripUnicode,JSON[_0x487c54(0x233)](jasmine['currentTest']['failedExpectations'][0x0]['message']))):_0x34ed0c=_0x143b5f[_0x487c54(0x202)](stripUnicode,JSON[_0x487c54(0x233)](jasmine[_0x487c54(0x244)][_0x487c54(0x28d)]));else{logger[_0x487c54(0x1ca)](_0x487c54(0x252)+util[_0x487c54(0x2b9)](testContext));const _0x1fe020=global['testContext']||testContext,_0x2f99e5=_0x1fe020&&_0x1fe020[_0x487c54(0x1db)]?_0x1fe020[_0x487c54(0x1db)]:[];if(_0x143b5f[_0x487c54(0x223)](_0x2f99e5[_0x487c54(0x24a)],0x0)){_0x17cac6=!![];const _0x18ef56=Array['isArray'](_0x2f99e5[0x0])?_0x2f99e5[0x0][0x0]:_0x2f99e5[0x0];_0x34ed0c=_0x143b5f[_0x487c54(0x1b0)](stripUnicode,JSON['stringify'](_0x18ef56[_0x487c54(0x1f8)]||_0x18ef56));}else _0x34ed0c=_0x143b5f[_0x487c54(0x2a7)](stripUnicode,JSON[_0x487c54(0x233)](_0x1fe020?_0x1fe020[_0x487c54(0x217)]:testContext[_0x487c54(0x217)]));}const _0x2cb1a0=_0x17cac6?_0x143b5f['kPNVH']:_0x143b5f[_0x487c54(0x1f2)];_0x143b5f[_0x487c54(0x2b6)](_0x17cac6,_0x34ed0c)&&!__error_messages__[_0x487c54(0x20c)](_0x34ed0c)&&__error_messages__[_0x487c54(0x222)](_0x34ed0c);const _0x192e70={'title':global[_0x487c54(0x277)]?.[_0x487c54(0x244)]?.['testInfo']?.[_0x487c54(0x23c)]||_0x143b5f['QvFvm'],'titlePath':[global[_0x487c54(0x277)]?.[_0x487c54(0x244)]?.[_0x487c54(0x21c)]?.[_0x487c54(0x23c)]||_0x143b5f[_0x487c54(0x1ac)]],'id':global['__workerDetails']?.[_0x487c54(0x244)]?.['id']||_0x143b5f['zgBiY'],'status':_0x2cb1a0,'error':_0x34ed0c?{'message':_0x34ed0c}:null,'testAnalyticsId':global['__workerDetails']?.['currentTest']?.[_0x487c54(0x1d8)],'testPath':global[_0x487c54(0x277)]?.['currentTest']?.[_0x487c54(0x21c)]?.[_0x487c54(0x21b)],...global[_0x487c54(0x277)][_0x487c54(0x244)][_0x487c54(0x21c)]},_0xce88be=_0x192e70;try{if(BrowserstackCLI[_0x487c54(0x2a8)]()['isCliEnabled']()&&BrowserstackCLI[_0x487c54(0x2a8)]()[_0x487c54(0x2c8)]()){const _0x19b443={};_0x19b443['testInfo']=_0xce88be,_0x19b443[_0x487c54(0x1e7)]=_0x1ea3f4,_0x19b443['testFramework']=FRAMEWORKS[_0x487c54(0x25d)],await BrowserstackCLI[_0x487c54(0x2a8)]()[_0x487c54(0x1d6)]()[_0x487c54(0x220)](AutomationFrameworkState[_0x487c54(0x2a6)],HookState[_0x487c54(0x257)],_0x19b443),logger[_0x487c54(0x1ca)](_0x487c54(0x2c5)+_0xce88be[_0x487c54(0x23c)]);}}catch(_0x156609){logger[_0x487c54(0x1ca)](_0x487c54(0x20a)+util[_0x487c54(0x29e)](_0x156609));}global[_0x487c54(0x277)]&&global[_0x487c54(0x277)]['currentTest']&&global['__workerDetails'][_0x487c54(0x244)]['testInfo']?await _0x1f9b64[_0x487c54(0x237)](global['__workerDetails']['currentTest']['testInfo'],_0x2cb1a0,_0x17cac6?_0x34ed0c:null):logger[_0x487c54(0x1ca)](_0x143b5f['LQYfO']);try{await _0x1f9b64[_0x487c54(0x1af)](),logger[_0x487c54(0x1ca)](_0x143b5f[_0x487c54(0x269)]);}catch(_0x2aa8d6){logger[_0x487c54(0x1ca)](_0x487c54(0x21a)+util['format'](_0x2aa8d6));}try{_0x1f9b64['closeTracker']['cleanup'](),logger[_0x487c54(0x1ca)](_0x143b5f[_0x487c54(0x1f5)]);}catch(_0x463bfc){logger[_0x487c54(0x1ca)](_0x487c54(0x2cf)+util['format'](_0x463bfc));}}catch(_0x41f5c1){logger['debug']('Error\x20in\x20pw-jest\x20afterEach:\x20'+util[_0x487c54(0x29e)](_0x41f5c1));try{_0x1f9b64[_0x487c54(0x1af)]&&(await _0x1f9b64[_0x487c54(0x1af)](),logger[_0x487c54(0x1ca)](_0x143b5f[_0x487c54(0x1ea)]));}catch(_0x366b28){logger['debug']('Error\x20executing\x20fallback\x20deferred\x20closes:\x20'+util[_0x487c54(0x29e)](_0x366b28));}}}else try{!_0x5b587e&&_0x143b5f[_0x487c54(0x245)](__drivers['length'],0x1)&&(await _0x143b5f[_0x487c54(0x246)](driverCleanup),__drivers[_0x487c54(0x25f)]());try{if(global['percy']&&_0x143b5f[_0x487c54(0x266)](global[_0x487c54(0x2b4)],_0x143b5f['mGPSo'])&&__drivers[0x0]){const _0x54ee85=_0x143b5f[_0x487c54(0x2bb)](global[_0x487c54(0x20d)]['length'],0x0)?!!global['capabilities'][0x0]['app']||!!global[_0x487c54(0x20d)][0x0][_0x143b5f[_0x487c54(0x256)]]:![],_0x4bd259={};_0x4bd259['app']=_0x54ee85,await _0x143b5f[_0x487c54(0x214)](percyAutoCapture,__drivers[0x0],_0x143b5f[_0x487c54(0x26b)],_0x4bd259);}}catch(_0x1b3ea6){logger[_0x487c54(0x1ca)]('Exception\x20in\x20jest\x20percy\x20with\x20error:\x20'+_0x1b3ea6);const _0x58aea3={};_0x58aea3[_0x487c54(0x262)]=_0x143b5f[_0x487c54(0x1df)],PerformanceTester[_0x487c54(0x1f6)](PerformanceHookEvents[_0x487c54(0x227)],![],_0x1b3ea6,_0x58aea3);}const _0x469e51=_0x143b5f[_0x487c54(0x2ac)](shouldScanTestForAccessibility,expect[_0x487c54(0x234)]()[_0x487c54(0x1b9)],![]);try{if(_0x143b5f['EEwGy'](isAccessibilityAutomationSession)&&globals[_0x487c54(0x212)](_0x143b5f['Knjor'])&&globals[_0x487c54(0x212)](_0x143b5f[_0x487c54(0x1d3)])){logger[_0x487c54(0x1d4)](_0x143b5f[_0x487c54(0x1f4)]);const _0x3b6c49={'thTestRunUuid':TestDetails[_0x487c54(0x1f7)](process[_0x487c54(0x22e)]+_0x487c54(0x23f)),'thBuildUuid':process[_0x487c54(0x2bf)][testHubConstants[_0x487c54(0x20f)][_0x487c54(0x295)]],'thJwtToken':process[_0x487c54(0x2bf)][testHubConstants[_0x487c54(0x20f)][_0x487c54(0x27f)]]};logger[_0x487c54(0x1ca)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x3b6c49)),logger[_0x487c54(0x1ca)](_0x143b5f[_0x487c54(0x280)]);const _0x2ea65f={};_0x2ea65f[_0x487c54(0x1c2)]=_0x143b5f[_0x487c54(0x293)],await PerformanceTester[_0x487c54(0x25b)](PerformanceA11yEvents[_0x487c54(0x1f1)],async()=>{const _0x1a18a8=_0x487c54;logger[_0x1a18a8(0x1ca)](util[_0x1a18a8(0x29e)](await __drivers[0x0]['executeAsyncScript'](scripts[_0x1a18a8(0x2b8)],{'method':expect[_0x1a18a8(0x234)]()[_0x1a18a8(0x1b9)]})));},_0x2ea65f)(),globals['getGlobal'](_0x143b5f[_0x487c54(0x2b5)])&&(_0x3b6c49[_0x487c54(0x2c6)]=!![]),await PerformanceTester[_0x487c54(0x25b)](PerformanceA11yEvents[_0x487c54(0x2cb)],async()=>{const _0x3c8939=_0x487c54;await __drivers[0x0][_0x3c8939(0x1ce)](scripts[_0x3c8939(0x28e)],_0x3b6c49);})(),logger[_0x487c54(0x1d4)](_0x143b5f[_0x487c54(0x279)]);}}catch(_0x402c2f){logger['error']('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+expect['getState']()['currentTestName']+'.\x20Error\x20:',_0x402c2f);}await _0x143b5f[_0x487c54(0x1b6)](setContext);try{if(_0x143b5f[_0x487c54(0x2bc)](shouldProcessEventForTesthub)){_0x143b5f[_0x487c54(0x25c)](global[_0x487c54(0x1b3)][_0x487c54(0x24a)],0x0)&&global['__drivers'][0x0]&&await _0x143b5f[_0x487c54(0x278)](sendPlatformDetails,global[_0x487c54(0x1b3)][0x0],TestDetails['getTestUUID'](process[_0x487c54(0x22e)]+_0x487c54(0x23f)));if(_0x143b5f[_0x487c54(0x246)](isBrowserstackInfra)){PerformanceTester[_0x487c54(0x276)](PerformanceO11yEvents['SYNC']);const _0x2024a3=_0x487c54(0x23b)+Date['now']();await _0x143b5f[_0x487c54(0x1f3)](executeAnnotate,JSON['stringify'](_0x2024a3),_0x143b5f[_0x487c54(0x215)]),PerformanceTester[_0x487c54(0x1f6)](PerformanceO11yEvents[_0x487c54(0x1dd)]);}}}catch(_0x44c79a){logger[_0x487c54(0x1ca)](_0x487c54(0x1cb)+_0x44c79a),PerformanceTester[_0x487c54(0x1f6)](PerformanceO11yEvents[_0x487c54(0x1dd)],![],_0x44c79a);}!_0x5b587e&&_0x143b5f[_0x487c54(0x25c)](__drivers[_0x487c54(0x24a)],0x0)&&_0x143b5f[_0x487c54(0x249)](__drivers[0x0][_0x487c54(0x241)],0x0)&&await _0x143b5f['ZghKN'](driverCleanup);const _0x19c3b8={};_0x19c3b8[_0x487c54(0x262)]=_0x143b5f[_0x487c54(0x1df)],PerformanceTester[_0x487c54(0x1f6)](PerformanceHookEvents[_0x487c54(0x227)],!![],null,_0x19c3b8);}catch(_0x25d3fc){logger[_0x487c54(0x1ca)](_0x487c54(0x27a)+_0x25d3fc);const _0x44ebe0={};_0x44ebe0[_0x487c54(0x262)]=_0x143b5f[_0x487c54(0x1df)],PerformanceTester[_0x487c54(0x1f6)](PerformanceHookEvents[_0x487c54(0x227)],![],_0x25d3fc,_0x44ebe0);}},TEST_FRAMEWORK_HOOK_TIMEOUT['Jest']),afterAll(async()=>{const _0x244fb6=a24_0x1956dc,_0x3b6e39={'ZGMwR':function(_0x362280,_0x2866a8){return _0x362280<=_0x2866a8;},'MFsJo':function(_0xc204f3,_0x5292a3){return _0xc204f3(_0x5292a3);},'EQmYn':function(_0x2762ff){return _0x2762ff();},'kNrEE':function(_0xad862a,_0x31e653,_0x2cb902){return _0xad862a(_0x31e653,_0x2cb902);},'XuXrx':_0x244fb6(0x2aa),'YxSkj':_0x244fb6(0x1be),'MdlPu':_0x244fb6(0x1eb),'shVkK':_0x244fb6(0x218),'KUwdn':function(_0x53fc9f,_0x2569cd){return _0x53fc9f(_0x2569cd);},'WxoPW':'../utils/playwright-patcher','liIHh':_0x244fb6(0x2c4),'pdRAd':_0x244fb6(0x28f),'qZOtZ':function(_0x351885,_0x2c3561){return _0x351885||_0x2c3561;},'QreBp':'Successfully\x20executed\x20deferred\x20Playwright\x20closes\x20(with\x20force\x20close)','qvRrP':'Attempting\x20direct\x20page\x20close\x20fallback\x20for\x20Android','rWTkZ':function(_0x36831a,_0x1cac37){return _0x36831a===_0x1cac37;},'zDySY':_0x244fb6(0x274),'mmvFi':_0x244fb6(0x28b),'arvhw':_0x244fb6(0x1d7),'DGmTm':_0x244fb6(0x28a),'grQOO':function(_0x3b2b5e,_0x174a15){return _0x3b2b5e(_0x174a15);},'oyzwm':function(_0x1788c4){return _0x1788c4();},'hBueX':_0x244fb6(0x1bc)};PerformanceTester[_0x244fb6(0x276)](PerformanceHookEvents[_0x244fb6(0x227)]),jest[_0x244fb6(0x1e0)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3b6e39[_0x244fb6(0x2cc)]]),PerformanceTester[_0x244fb6(0x22f)]();const _0x1dbbd3='browserstack internal helper hook';let _0x4d6e1c=![];try{const _0x1bbb72=helper[_0x244fb6(0x27e)](_0x3b6e39[_0x244fb6(0x259)]),_0x412ce3=helper[_0x244fb6(0x27e)](_0x3b6e39[_0x244fb6(0x1f9)])||helper[_0x244fb6(0x27e)](_0x3b6e39['shVkK']),_0x6900da=_0x1bbb72?_0x3b6e39[_0x244fb6(0x201)](require,_0x3b6e39[_0x244fb6(0x1fb)]):_0x412ce3?_0x3b6e39[_0x244fb6(0x1c4)](require,_0x3b6e39[_0x244fb6(0x1c9)]):null;if(!_0x6900da)throw new Error(_0x3b6e39['pdRAd']);const _0x23afd4=global[_0x244fb6(0x277)]?.['pwPage'],_0x37f2c3=_0x6900da[_0x244fb6(0x29a)](),_0x22572c=_0x3b6e39[_0x244fb6(0x224)](_0x23afd4,_0x37f2c3);if(_0x22572c){_0x4d6e1c=!![];try{await _0x6900da[_0x244fb6(0x1af)](),logger[_0x244fb6(0x1ca)](_0x3b6e39[_0x244fb6(0x23a)]);}catch(_0x1a8504){logger[_0x244fb6(0x1ca)](_0x244fb6(0x21a)+util[_0x244fb6(0x29e)](_0x1a8504));try{const _0x400b2b=_0x6900da[_0x244fb6(0x29a)]();_0x400b2b&&(logger[_0x244fb6(0x1ca)](_0x3b6e39['qvRrP']),_0x3b6e39['rWTkZ'](typeof _0x400b2b['close'],_0x3b6e39[_0x244fb6(0x261)])&&(await _0x400b2b['close'](),logger[_0x244fb6(0x1ca)](_0x3b6e39[_0x244fb6(0x211)])));}catch(_0x3c2e71){logger['debug']('Error\x20in\x20fallback\x20page\x20close:\x20'+util['format'](_0x3c2e71));}}try{if(global[_0x244fb6(0x277)]){global[_0x244fb6(0x277)][_0x244fb6(0x260)]=null,global[_0x244fb6(0x277)][_0x244fb6(0x29d)]=![];const _0x5b6d06={};_0x5b6d06['id']=undefined,_0x5b6d06[_0x244fb6(0x21c)]=undefined,global[_0x244fb6(0x277)][_0x244fb6(0x244)]=_0x5b6d06;}_0x6900da[_0x244fb6(0x25e)]&&_0x6900da[_0x244fb6(0x25e)][_0x244fb6(0x1ba)]&&(_0x6900da[_0x244fb6(0x25e)][_0x244fb6(0x1ba)](),logger['debug'](_0x3b6e39[_0x244fb6(0x2d0)])),logger[_0x244fb6(0x1ca)](_0x3b6e39[_0x244fb6(0x28c)]);}catch(_0x549c57){logger[_0x244fb6(0x1ca)](_0x244fb6(0x2cd)+util[_0x244fb6(0x29e)](_0x549c57));}__error_messages__=[];}}catch(_0x3ce967){logger[_0x244fb6(0x1ca)]('Error\x20handling\x20Playwright/Puppeteer\x20test\x20cleanup:\x20'+util['format'](_0x3ce967));try{const _0x1a29f5=helper[_0x244fb6(0x27e)](_0x3b6e39[_0x244fb6(0x259)]),_0x47cad6=helper[_0x244fb6(0x27e)](_0x3b6e39[_0x244fb6(0x1f9)])||helper[_0x244fb6(0x27e)](_0x3b6e39['shVkK']),_0x17e18e=_0x1a29f5?_0x3b6e39['KUwdn'](require,_0x3b6e39[_0x244fb6(0x1fb)]):_0x47cad6?_0x3b6e39[_0x244fb6(0x239)](require,_0x3b6e39[_0x244fb6(0x1c9)]):null;_0x17e18e&&await _0x17e18e['executeDeferredCloses']();}catch(_0x90c60b){logger[_0x244fb6(0x1ca)]('Error\x20executing\x20fallback\x20deferred\x20closes:\x20'+util['format'](_0x90c60b));}}await new Promise(_0x2cb4c0=>{const _0x325cdf=_0x244fb6,_0x4fee62=_0x3b6e39[_0x325cdf(0x2be)](setInterval,async()=>{const _0x5653ca=_0x325cdf;_0x3b6e39['ZGMwR'](RequestQueueHandler[_0x5653ca(0x2a8)]()['pendingUploads'],0x0)&&(_0x3b6e39[_0x5653ca(0x1c4)](clearInterval,_0x4fee62),_0x3b6e39[_0x5653ca(0x25a)](_0x2cb4c0));},0x3e8);});try{!_0x4d6e1c&&await _0x3b6e39[_0x244fb6(0x226)](driverCleanup);}catch(_0x746da2){logger[_0x244fb6(0x1ca)](_0x244fb6(0x270)+_0x746da2);const _0x2edd13={};_0x2edd13[_0x244fb6(0x262)]=_0x3b6e39['hBueX'],PerformanceTester[_0x244fb6(0x1f6)](PerformanceHookEvents[_0x244fb6(0x227)],![],_0x746da2,_0x2edd13);}process['removeAllListeners']();const _0x3381d5={};_0x3381d5[_0x244fb6(0x262)]=_0x3b6e39[_0x244fb6(0x1da)],PerformanceTester[_0x244fb6(0x1f6)](PerformanceHookEvents[_0x244fb6(0x227)],!![],null,_0x3381d5);},TEST_FRAMEWORK_HOOK_TIMEOUT[a24_0x1956dc(0x2aa)]);
1
+ const a24_0x230c3f=a24_0x36c6;(function(_0x2f07d1,_0x37d25d){const _0x27dd8e=a24_0x36c6,_0x5929a4=_0x2f07d1();while(!![]){try{const _0x2d0234=-parseInt(_0x27dd8e(0x159))/0x1*(parseInt(_0x27dd8e(0x190))/0x2)+parseInt(_0x27dd8e(0x179))/0x3*(parseInt(_0x27dd8e(0x1f3))/0x4)+-parseInt(_0x27dd8e(0x216))/0x5+-parseInt(_0x27dd8e(0x11c))/0x6+-parseInt(_0x27dd8e(0x23e))/0x7*(-parseInt(_0x27dd8e(0x167))/0x8)+parseInt(_0x27dd8e(0x161))/0x9*(-parseInt(_0x27dd8e(0x16a))/0xa)+parseInt(_0x27dd8e(0x17b))/0xb;if(_0x2d0234===_0x37d25d)break;else _0x5929a4['push'](_0x5929a4['shift']());}catch(_0x471554){_0x5929a4['push'](_0x5929a4['shift']());}}}(a24_0x1462,0x64c56));const util=require(a24_0x230c3f(0x1db)),helper=require('../../helpers/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{sendPlatformDetails}=require(a24_0x230c3f(0x17e)),{isBrowserstackInfra,markSessionStatus}=require(a24_0x230c3f(0x186));let __error_messages__=[];const RequestQueueHandler=require(a24_0x230c3f(0x165));jest[a24_0x230c3f(0x1f7)](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a24_0x230c3f(0x1c4)),{percyAutoCapture}=require(a24_0x230c3f(0x1ae)),logger=require(a24_0x230c3f(0x1a0))['winstonLogger'],TestDetails=require(a24_0x230c3f(0x221)),PerformanceTester=require(a24_0x230c3f(0x13e)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a24_0x230c3f(0x144)),scripts=require(a24_0x230c3f(0x15d)),globals=require(a24_0x230c3f(0x176)),{shouldProcessEventForTesthub}=require(a24_0x230c3f(0x1dc)),testHubConstants=require('../../helpers/testhub/constants'),{v4:uuidv4}=require(a24_0x230c3f(0x189)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require(a24_0x230c3f(0x1e3)),HookState=require(a24_0x230c3f(0x147)),{FRAMEWORKS}=require(a24_0x230c3f(0x18c));globals[a24_0x230c3f(0x1b9)]=browserStackGlobals;if(typeof global['TransformStream']==='undefined')try{const {TransformStream}=require(a24_0x230c3f(0x129));global[a24_0x230c3f(0x130)]=TransformStream;}catch(a24_0x5e65f6){logger['debug'](a24_0x230c3f(0x114)+a24_0x5e65f6['message']);}function stripUnicode(_0x1fe94f){const _0x518bd0=a24_0x230c3f;return _0x1fe94f[_0x518bd0(0x192)](/\\u001b\[.*?m/g,'')[_0x518bd0(0x1b4)](0x1,-0x1);}async function setContext(){const _0x59ab8c=a24_0x230c3f,_0x51738b={'dbcWD':function(_0x42bf64){return _0x42bf64();},'uKKHr':_0x59ab8c(0x22a),'jFXoe':function(_0x2e0bcc,_0x5818f1){return _0x2e0bcc!==_0x5818f1;},'mzlLc':_0x59ab8c(0x1cb),'QWoFl':function(_0x34ee9c,_0x5a8a51){return _0x34ee9c>_0x5a8a51;},'MAwdx':function(_0x5bc448,_0x5467fe){return _0x5bc448(_0x5467fe);},'cGNrX':function(_0x5aa36f,_0x4f856e){return _0x5aa36f(_0x4f856e);}};if(!_0x51738b[_0x59ab8c(0x18b)](isBrowserstackInfra))return;const _0x55b4d4=expect[_0x59ab8c(0x16f)]()['currentTestName'];globals[_0x59ab8c(0x1c3)](_0x51738b[_0x59ab8c(0x211)],_0x55b4d4);!sessionNameProvided&&await PerformanceTester[_0x59ab8c(0x21b)](PerformanceAutEvents[_0x59ab8c(0x1bd)],async()=>{const _0x3379c1=_0x59ab8c;await __drivers[0x0]['executeScript'](_0x3379c1(0x122)+_0x55b4d4+_0x3379c1(0x19f));})();let _0x32018e=null,_0x330b5f=![];_0x51738b[_0x59ab8c(0x12e)](typeof jasmine,_0x51738b[_0x59ab8c(0x1bf)])?jasmine[_0x59ab8c(0x1ec)][_0x59ab8c(0x151)]&&_0x51738b[_0x59ab8c(0x1bc)](jasmine['currentTest']['failedExpectations'][_0x59ab8c(0x1e7)],0x0)?(_0x330b5f=!![],_0x32018e=_0x51738b[_0x59ab8c(0x1e4)](stripUnicode,JSON[_0x59ab8c(0x175)](jasmine[_0x59ab8c(0x1ec)][_0x59ab8c(0x151)][0x0][_0x59ab8c(0x22e)]))):_0x32018e=_0x51738b[_0x59ab8c(0x1e4)](stripUnicode,JSON[_0x59ab8c(0x175)](jasmine['currentTest'][_0x59ab8c(0x13a)])):testContext[_0x59ab8c(0x21c)]&&_0x51738b[_0x59ab8c(0x1bc)](testContext['errors'][_0x59ab8c(0x1e7)],0x0)?(_0x330b5f=!![],_0x32018e=_0x51738b[_0x59ab8c(0x1e4)](stripUnicode,JSON[_0x59ab8c(0x175)](testContext[_0x59ab8c(0x21c)][0x0][0x0][_0x59ab8c(0x22e)]||testContext[_0x59ab8c(0x21c)][0x0][0x0]))):_0x32018e=_0x51738b[_0x59ab8c(0x1c6)](stripUnicode,JSON[_0x59ab8c(0x175)](testContext[_0x59ab8c(0x14b)])),_0x330b5f?(__error_messages__['push'](_0x32018e),await __drivers[0x0][_0x59ab8c(0x17c)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20'+_0x32018e+_0x59ab8c(0x23b))):await __drivers[0x0][_0x59ab8c(0x17c)](_0x59ab8c(0x121)+_0x32018e+_0x59ab8c(0x1b5));}const executeAnnotate=async(_0x519277,_0x4b511d)=>{const _0x4f71e0=a24_0x230c3f;await global[_0x4f71e0(0x1a2)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x519277+_0x4f71e0(0x157)+_0x4b511d+_0x4f71e0(0x19f));};async function driverCleanup(){const _0x3b4c1e=a24_0x230c3f,_0x25c320={'WXLKD':function(_0x3743ae){return _0x3743ae();},'GmzSj':function(_0x3f81c8,_0x3d32a8){return _0x3f81c8===_0x3d32a8;},'GRhDi':_0x3b4c1e(0x229),'raxgq':'2|4|1|0|3','yPLmD':function(_0x5c272c,_0x2f107c){return _0x5c272c>_0x2f107c;},'PxIgJ':function(_0x4d05a9,_0x2a5a5c,_0x36ca1b,_0x33e6a1){return _0x4d05a9(_0x2a5a5c,_0x36ca1b,_0x33e6a1);},'JloFk':_0x3b4c1e(0x1c8),'cgsbI':_0x3b4c1e(0x15c),'uvxkc':function(_0x3b7c6f,_0x35ff9a,_0x3a39d0){return _0x3b7c6f(_0x35ff9a,_0x3a39d0);},'mniju':'passed'};if(!_0x25c320[_0x3b4c1e(0x1e2)](isBrowserstackInfra))return;if(!global['__drivers']||!Array['isArray'](global[_0x3b4c1e(0x1a2)])||_0x25c320[_0x3b4c1e(0x17f)](global[_0x3b4c1e(0x1a2)][_0x3b4c1e(0x1e7)],0x0)){logger[_0x3b4c1e(0x14c)](_0x25c320['GRhDi']);return;}let _0x52538f=![];try{const _0x28aa56=_0x25c320[_0x3b4c1e(0x231)][_0x3b4c1e(0x1e9)]('|');let _0x5614b1=0x0;while(!![]){switch(_0x28aa56[_0x5614b1++]){case'0':_0x25c320[_0x3b4c1e(0x162)](__error_messages__['length'],0x0)?await _0x25c320['PxIgJ'](markSessionStatus,global[_0x3b4c1e(0x1a2)][0x0],_0x25c320['JloFk'],__error_messages__[_0x3b4c1e(0x1a9)](_0x25c320['cgsbI'])):await _0x25c320[_0x3b4c1e(0x20f)](markSessionStatus,global[_0x3b4c1e(0x1a2)][0x0],_0x25c320[_0x3b4c1e(0x237)]);continue;case'1':_0x52538f=!![];continue;case'2':PerformanceTester[_0x3b4c1e(0x19b)](PerformanceAutEvents[_0x3b4c1e(0x177)]);continue;case'3':PerformanceTester[_0x3b4c1e(0x15a)](PerformanceAutEvents[_0x3b4c1e(0x177)],!![]);continue;case'4':await global['__drivers'][0x0][_0x3b4c1e(0x113)];continue;}break;}}catch(_0x256fe7){console['log'](_0x256fe7),PerformanceTester[_0x3b4c1e(0x15a)](PerformanceAutEvents[_0x3b4c1e(0x177)],![],_0x256fe7);}__error_messages__=[];if(_0x52538f)try{await global[_0x3b4c1e(0x1a2)][0x0][_0x3b4c1e(0x197)]();}catch(_0x1bfdf5){console['log'](_0x1bfdf5);}}function a24_0x1462(){const _0x17849d=['testAnalyticsId','failed','zKZdv','dgLXX','undefined','../v2/browserstackCLI','Error\x20cleaning\x20up\x20close\x20tracker:\x20','WHbbY','passed','afterAll','nWQkK','../utils/puppeteer-patcher','inspect','Failed\x20to\x20store\x20session\x20name:\x20','mqBBM','swnsR','Flow\x20detection:\x20isSeleniumFlow=','app','beforeAll','JTobx','util','../../helpers/testhub/utils','dFiNA','uXsEc','eTchq','Jest','capabilities','WXLKD','../v2/state/automationFrameworkState','MAwdx','XhdSt','Exception\x20in\x20jest\x20hook\x20with\x20error:\x20','length','testPath','split','protocol','SYNC','currentTest','gaSxc','is_mobile_session','EGSKk','EmgPi','Error\x20handling\x20Playwright/Puppeteer\x20test\x20cleanup:\x20','fmlzx','8QcmQax','getEnv','cBnMy','error','setTimeout','EqSlk','Cleaned\x20up\x20close\x20tracker\x20after\x20deferred\x20closes','fytLY','AZESY','VjWSd','bstackA11yShouldScan','ObservabilitySync:','lqqpV','nmhUV','http:','Vexes','GshWV','[Jest\x20Setup]\x20beforeEach:\x20testIdentifier=','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','GeDVa','includes','getCurrentUrl','Error\x20cleaning\x20up\x20after\x20deferred\x20closes:\x20','fNECC','PWnxc','Skipping\x20afterTestHook\x20-\x20workerDetails\x20or\x20currentTest\x20not\x20available','YJOqI','testInfo','uvxkc','tYHVF','uKKHr','EqXBU','xtufQ','ZaHpX','Puppeteer\x20flow\x20detected\x20in\x20beforeEach','2266525JijbQz','Jsbto','xqEbe','mOfYw','LQwXt','measureWrapper','errors','Cleaned\x20up\x20close\x20tracker','Puppeteer','RjQIB',',\x20isPlaywrightFlow=','./test-observability/test-details','@playwright/test','[Jest\x20Setup]\x20Triggered\x20CREATE\x20POST\x20event\x20for\x20test:\x20','lfsmr','pid','wIUwe','Error\x20executing\x20deferred\x20closes:\x20','cleanup','driverCleanup:\x20No\x20drivers\x20to\x20clean\x20up','browserstackTestName','aCWxk','AwVwz','Error\x20determining\x20test\x20flow:\x20','message','QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','nBeoK','raxgq','uwgVB','function','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','removeAllListeners','PERFORM_SCAN','mniju','KWAGw','Ieyfr','Unknown\x20Test','\x22,\x22level\x22:\x20\x22error\x22}}','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','beforeEach','1207101jFVgER','EWtQD','trackEvent','env','isRunning','Error\x20loading\x20patcher\x20in\x20afterEach:\x20','testcase','bImwn','Attempting\x20direct\x20page\x20close\x20fallback\x20for\x20Android','__jestCurrentTestIdentifier','session_','TransformStream\x20polyfill\x20not\x20available:\x20','Exception\x20in\x20jest\x20driver\x20with\x20error:\x20','browserContext','PRE','percy','isCliEnabled','performScan','BROWSERSTACK_TESTHUB_UUID','2742240ggHCwz','browserstackSessionName','JEST','nDylO','browser','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','vZYof','oNEYR','CRxez','TMSCv','stream/web','yRTjo','__workerDetails','saveTestResults','Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20','jFXoe','bLcaS','TransformStream','SDK_HOOK','launchCaps','puppeteer-core','info','.\x20Error\x20:','kLAtq','QuhMV','currentTestName','jtwWA','description','Performing\x20scan\x20before\x20saving\x20results','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','hookType','../../helpers/performance/performance-tester','Error\x20loading\x20playwright-patcher:\x20','pwPage','owPFn','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','4|1|3|2|0','../../helpers/performance/constants','\x20with\x20testIdentifier:\x20','ltiJP','../v2/state/hookState','DCNtA','jWcaY','Playwright','name','debug','SUaYC','getPackageVersion','Error\x20preparing\x20AutomationFramework\x20events:\x20','stopMonitoring','failedExpectations','CVogQ','fHtRK','fjaKy','isPageFixture',',\x20CREATE\x20POST\x20will\x20be\x20triggered\x20when\x20page\x20is\x20created',',\x22level\x22:\x20\x22','zotRE','799063nwvIiA','end','getInstance','\x20|\x20','../../helpers/accessibility-automation/scripts','lvpgt','nkHMJ','dzFgj','6097392caUGVp','yPLmD','sdYep','SAVE_RESULTS','../../helpers/test-observability/requestQueueHandler',',\x20testPath=','24mPXBTg','shift','closeTracker','10ohZAfd','getGlobal','Error\x20in\x20playwright\x20beforeTestHook:\x20','No\x20patcher\x20available','afterEach','getState','Playwright\x20flow\x20detected\x20in\x20beforeEach','__currentTestInfo','fbpjc','Mopxw','retryTimes','stringify','../../helpers/globals','SESSION_STATUS','SENVq','199473OnXuFm','pmFIt','23642773dQWthL','executeScript','testFramework','../../helpers/test-observability/utils','GmzSj','POST','AdCtF','executeDeferredCloses','Successfully\x20closed\x20page\x20via\x20fallback','kAFiS','cuoXU','../../helpers/helper','BNeqI','BNCMb','uuid','HfbJW','dbcWD','../../helpers/test-observability/constants','close','tNFzJ','\x20flow\x20detected\x20-\x20page\x20exists:\x20','2JlGdsU','Error\x20triggering\x20CREATE\x20POST\x20event\x20for\x20test:\x20','replace','context','ENV_VAR','https:','vsCIc','initQuit','aZaJm','inside\x20before\x20each\x20jest\x20hook','isMobilePlatform','start','YTIcR','HPwGm','isAccessibilityPlatform','\x22}}','../../helpers/logger','Error\x20triggering\x20QUIT\x20PRE\x20event:\x20','__drivers','Exception\x20in\x20jest\x20driver\x20cleanup\x20with\x20error:\x20','vEpwi','../utils/playwright-patcher','puppeteer','vVsMO',':testAnalyticsId','join','LCJyY','format','jvhHv','page','../../helpers/percy/utils','percyCaptureMode','getTestUUID','title','afterTestHook','Cleaned\x20up\x20page\x20references\x20after\x20deferred\x20closes','slice','\x22,\x22level\x22:\x20\x22info\x22}}','isArray','now','appium:app','browserStackGlobals','vBECB','getPageFromAutomationFramework','QWoFl','SESSION_NAME','testContext','mzlLc','getAutomationFramework','Successfully\x20executed\x20deferred\x20Playwright\x20closes\x20(with\x20force\x20close)','Error\x20in\x20fallback\x20page\x20close:\x20','setGlobal','../../helpers/accessibility-automation/helper','CREATE','cGNrX'];a24_0x1462=function(){return _0x17849d;};return a24_0x1462();}function a24_0x36c6(_0x340be9,_0x2bdaed){const _0x14621f=a24_0x1462();return a24_0x36c6=function(_0x36c6cd,_0x5975a2){_0x36c6cd=_0x36c6cd-0x10a;let _0x5d558b=_0x14621f[_0x36c6cd];return _0x5d558b;},a24_0x36c6(_0x340be9,_0x2bdaed);}beforeAll(async()=>{const _0x2d175a=a24_0x230c3f,_0x537cdf={'vVsMO':function(_0x287b21,_0x2eeb82){return _0x287b21!==_0x2eeb82;},'dgLXX':'undefined','jvhHv':function(_0x4c4240,_0x45ad74){return _0x4c4240>_0x45ad74;},'kLAtq':_0x2d175a(0x1d9),'jtwWA':function(_0x1d8da5){return _0x1d8da5();},'fNECC':function(_0x5330d3,_0x5ccfea,_0x3c9fd4){return _0x5330d3(_0x5ccfea,_0x3c9fd4);}};__error_messages__=[];!global[_0x2d175a(0x1a2)]&&(global[_0x2d175a(0x1a2)]=[]);PerformanceTester['startMonitoring'](),PerformanceTester[_0x2d175a(0x19b)](PerformanceHookEvents['SDK_HOOK']);_0x537cdf[_0x2d175a(0x1a7)](typeof __jestRetries,_0x537cdf[_0x2d175a(0x1ca)])&&_0x537cdf[_0x2d175a(0x1ac)](__jestRetries,0x0)&&jest[_0x2d175a(0x174)](__jestRetries);const _0x217d43='browserstack internal helper hook';_0x537cdf[_0x2d175a(0x1a7)](typeof jasmine,_0x537cdf[_0x2d175a(0x1ca)])&&jasmine[_0x2d175a(0x1f4)]()['addReporter']({'specStarted':_0x221536=>{const _0x433883=_0x2d175a;jasmine[_0x433883(0x1ec)]=_0x221536;}});let _0x3558cb=![];try{await __drivers[0x0][_0x2d175a(0x113)],_0x3558cb=!![];}catch(_0x4033d3){logger['debug'](_0x2d175a(0x115)+_0x4033d3);const _0x5c572d={};_0x5c572d[_0x2d175a(0x13d)]=_0x537cdf[_0x2d175a(0x136)],PerformanceTester[_0x2d175a(0x15a)](PerformanceHookEvents[_0x2d175a(0x131)],![],_0x4033d3,_0x5c572d);}if(_0x3558cb)try{_0x537cdf[_0x2d175a(0x139)](shouldProcessEventForTesthub)&&(__drivers[0x0]&&await _0x537cdf[_0x2d175a(0x20a)](sendPlatformDetails,__drivers[0x0],TestDetails['getTestUUID'](process['pid']+_0x2d175a(0x1a8))));}catch(_0x521b74){logger[_0x2d175a(0x14c)](_0x2d175a(0x12d)+_0x521b74);const _0x2cc4a7={};_0x2cc4a7[_0x2d175a(0x13d)]=_0x537cdf[_0x2d175a(0x136)],PerformanceTester[_0x2d175a(0x15a)](PerformanceHookEvents[_0x2d175a(0x131)],![],_0x521b74,_0x2cc4a7);}const _0x7270d7={};_0x7270d7[_0x2d175a(0x13d)]=_0x537cdf['kLAtq'],PerformanceTester['end'](PerformanceHookEvents[_0x2d175a(0x131)],!![],null,_0x7270d7);}),beforeEach(async()=>{const _0x5a2ed2=a24_0x230c3f,_0x776350={'jWcaY':_0x5a2ed2(0x199),'yRTjo':_0x5a2ed2(0x22a),'IbZMl':function(_0x44e514,_0x38076b,_0xeee298){return _0x44e514(_0x38076b,_0xeee298);},'sdYep':_0x5a2ed2(0x222),'ltiJP':_0x5a2ed2(0x1a6),'uXsEc':_0x5a2ed2(0x133),'fjjPJ':function(_0x4df053,_0x44f1b5){return _0x4df053(_0x44f1b5);},'PPNNb':_0x5a2ed2(0x1a5),'QuhMV':_0x5a2ed2(0x170),'bImwn':function(_0x5caae5,_0x241ca8){return _0x5caae5(_0x241ca8);},'xqEbe':'../utils/puppeteer-patcher','RwrZC':_0x5a2ed2(0x215),'LCJyY':_0x5a2ed2(0x143),'dFiNA':function(_0xf56db0,_0x3bb5a1){return _0xf56db0>_0x3bb5a1;},'EGSKk':function(_0x2cf5a5,_0x4b6238){return _0x2cf5a5>_0x4b6238;},'YTIcR':function(_0x33e7e9){return _0x33e7e9();},'nkHMJ':function(_0x5cd604,_0x3160e4){return _0x5cd604>_0x3160e4;},'dzFgj':function(_0x2734cd,_0x4eaf72){return _0x2734cd>_0x4eaf72;},'kAFiS':function(_0x170ad6){return _0x170ad6();},'EqSlk':_0x5a2ed2(0x23d),'Vflis':_0x5a2ed2(0x1fd),'bLcaS':function(_0x45dfc7,_0x3c7e66){return _0x45dfc7>_0x3c7e66;},'mqBBM':'isAccessibilityPlatform','RjQIB':function(_0x11a3e5,_0x292f03){return _0x11a3e5===_0x292f03;},'EmgPi':_0x5a2ed2(0x201),'vZYof':function(_0x4ebef9,_0x485cb2){return _0x4ebef9===_0x485cb2;},'vZMcj':_0x5a2ed2(0x195),'XRLLr':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','uAqby':_0x5a2ed2(0x1cc),'Jsbto':'../utils/constants','fHtRK':function(_0xe3a6ce,_0x5e7d00){return _0xe3a6ce(_0x5e7d00);},'okSSY':'../v2/state/automationFrameworkState','PWnxc':_0x5a2ed2(0x147),'CVogQ':function(_0x2496d9,_0x275b75){return _0x2496d9||_0x275b75;},'nWQkK':'Unknown\x20Test','BNCMb':'jest-test','oNEYR':function(_0x2ac5d8,_0x1f4fca){return _0x2ac5d8&&_0x1f4fca;},'Vexes':function(_0x1f94a9,_0x2fa641){return _0x1f94a9===_0x2fa641;},'aCWxk':_0x5a2ed2(0x233),'zKZdv':function(_0x4a71ae,_0x46af68){return _0x4a71ae===_0x46af68;},'LQwXt':function(_0x35f917,_0x57bcf0){return _0x35f917>_0x57bcf0;}};logger[_0x5a2ed2(0x14c)](_0x776350[_0x5a2ed2(0x149)]),PerformanceTester[_0x5a2ed2(0x19b)](PerformanceHookEvents['SDK_HOOK']);const _0x51eb4f='browserstack internal helper hook';let _0x256fe1=!![],_0x150abb=null;try{const _0x470bfc=expect['getState']()[_0x5a2ed2(0x138)];globals['setGlobal'](_0x776350[_0x5a2ed2(0x12a)],_0x470bfc);const _0xd44936=_0x776350['IbZMl'](shouldScanTestForAccessibility,_0x470bfc,![]),_0x5d3a28=helper[_0x5a2ed2(0x14e)](_0x776350[_0x5a2ed2(0x163)]),_0x3f9074=helper[_0x5a2ed2(0x14e)](_0x776350[_0x5a2ed2(0x146)])||helper[_0x5a2ed2(0x14e)](_0x776350[_0x5a2ed2(0x1de)]);if(!!_0x5d3a28)try{_0x150abb=_0x776350['fjjPJ'](require,_0x776350['PPNNb']),logger['debug'](_0x776350[_0x5a2ed2(0x137)]);}catch(_0x19a550){logger[_0x5a2ed2(0x14c)](_0x5a2ed2(0x13f)+util[_0x5a2ed2(0x1ab)](_0x19a550));}else{if(!!_0x3f9074)try{_0x150abb=_0x776350[_0x5a2ed2(0x110)](require,_0x776350[_0x5a2ed2(0x218)]),logger[_0x5a2ed2(0x14c)](_0x776350['RwrZC']);}catch(_0x32de5d){logger[_0x5a2ed2(0x14c)]('Error\x20loading\x20puppeteer-patcher:\x20'+util[_0x5a2ed2(0x1ab)](_0x32de5d));}}try{const _0x36e4cc=_0x776350[_0x5a2ed2(0x1aa)][_0x5a2ed2(0x1e9)]('|');let _0x545e22=0x0;while(!![]){switch(_0x36e4cc[_0x545e22++]){case'0':!_0x150abb&&_0x776350[_0x5a2ed2(0x1dd)](__drivers[_0x5a2ed2(0x1e7)],0x0)&&_0x776350[_0x5a2ed2(0x1ef)](__drivers[0x0]['quitCount_'],0x0)&&(_0x256fe1=![],await _0x776350[_0x5a2ed2(0x19c)](driverCleanup));continue;case'1':global['browserstackSessionName']=_0x470bfc;continue;case'2':_0x150abb&&_0x776350[_0x5a2ed2(0x15f)](__drivers[_0x5a2ed2(0x1e7)],0x0)&&(__drivers[0x0][_0x5a2ed2(0x11d)]=_0x470bfc,__drivers[0x0][_0x5a2ed2(0x1fd)]=_0xd44936);continue;case'3':!_0x150abb&&_0x776350[_0x5a2ed2(0x160)](__drivers[_0x5a2ed2(0x1e7)],0x1)&&(await _0x776350[_0x5a2ed2(0x184)](driverCleanup),__drivers[_0x5a2ed2(0x168)]());continue;case'4':Array[_0x5a2ed2(0x1b6)](__drivers)&&__drivers[0x0]&&(__drivers[0x0][_0x5a2ed2(0x11d)]=_0x470bfc);continue;}break;}}catch(_0x207e68){logger[_0x5a2ed2(0x14c)](_0x5a2ed2(0x1d4)+_0x207e68);const _0x4de960={};_0x4de960[_0x5a2ed2(0x13d)]=_0x776350[_0x5a2ed2(0x1f8)],PerformanceTester['end'](PerformanceHookEvents[_0x5a2ed2(0x131)],![],_0x207e68,_0x4de960);}globals['setGlobal'](_0x776350['Vflis'],_0xd44936);if(global['__workerDetails']){const _0x30274d=expect[_0x5a2ed2(0x16f)]()[_0x5a2ed2(0x1e8)],_0x2ed663=global[_0x5a2ed2(0x112)],_0xb6c1e=expect['getState']()[_0x5a2ed2(0x138)]||_0x470bfc;global[_0x5a2ed2(0x12b)][_0x5a2ed2(0x1ec)]={'id':_0x2ed663,'testAnalyticsId':_0x2ed663,'thTestRunUuid':TestDetails[_0x5a2ed2(0x1b0)](process[_0x5a2ed2(0x225)]+_0x5a2ed2(0x1a8)),'testInfo':{'title':_0x470bfc,'fullName':_0xb6c1e,'displayName':_0x470bfc,'name':_0xb6c1e,'testPath':_0x30274d,'testIdentifier':_0x2ed663}},logger[_0x5a2ed2(0x14c)](_0x5a2ed2(0x204)+_0x2ed663+',\x20testName='+_0x470bfc+_0x5a2ed2(0x166)+_0x30274d);}if(!_0x150abb&&_0x776350[_0x5a2ed2(0x184)](isAccessibilityAutomationSession)&&_0x256fe1&&Array[_0x5a2ed2(0x1b6)](__drivers)&&_0x776350[_0x5a2ed2(0x12f)](__drivers[_0x5a2ed2(0x1e7)],0x0)&&globals[_0x5a2ed2(0x16b)](_0x776350[_0x5a2ed2(0x1d5)]))try{const _0x586721=await __drivers[0x0]['session_'];if(_0x586721){let _0x2ec3fa=!![];const _0x1c4057=await __drivers[0x0][_0x5a2ed2(0x208)]();let _0x2c5f4e;try{_0x2c5f4e=new URL(_0x1c4057);}catch(_0x195e9b){_0x2ec3fa=![];}_0x2ec3fa=_0x776350['RjQIB'](_0x2c5f4e[_0x5a2ed2(0x1ea)],_0x776350[_0x5a2ed2(0x1f0)])||_0x776350[_0x5a2ed2(0x125)](_0x2c5f4e['protocol'],_0x776350['vZMcj']),_0x2ec3fa&&(_0xd44936&&logger['info'](_0x776350['XRLLr']));}}catch(_0x554f46){logger['error'](_0x5a2ed2(0x142)+_0x554f46);const _0x42a9b0={};_0x42a9b0[_0x5a2ed2(0x13d)]=_0x776350[_0x5a2ed2(0x1f8)],PerformanceTester[_0x5a2ed2(0x15a)](PerformanceHookEvents[_0x5a2ed2(0x131)],![],er,_0x42a9b0);}if(_0x150abb&&global[_0x5a2ed2(0x12b)]&&global[_0x5a2ed2(0x12b)][_0x5a2ed2(0x1ec)])try{await _0x150abb['beforeTestHook'](global['__workerDetails'][_0x5a2ed2(0x1ec)][_0x5a2ed2(0x20e)]);}catch(_0x31a6d3){logger[_0x5a2ed2(0x14c)](_0x5a2ed2(0x16c)+util['format'](_0x31a6d3));}if(_0x150abb&&global['__workerDetails']&&global[_0x5a2ed2(0x12b)][_0x5a2ed2(0x1ec)])try{const _0x1339eb=_0x776350['fjjPJ'](require,_0x776350['uAqby']),{FRAMEWORKS:_0x9588b4}=_0x776350[_0x5a2ed2(0x110)](require,_0x776350[_0x5a2ed2(0x217)]),_0x494936=_0x776350[_0x5a2ed2(0x153)](require,_0x776350['okSSY']),_0x3ca1bf=_0x776350[_0x5a2ed2(0x110)](require,_0x776350[_0x5a2ed2(0x20b)]);if(_0x1339eb[_0x5a2ed2(0x15b)]()['isCliEnabled']()&&_0x1339eb[_0x5a2ed2(0x15b)]()['isRunning']()){const _0x58d21f={'title':_0x776350[_0x5a2ed2(0x152)](_0x470bfc,_0x776350[_0x5a2ed2(0x1d1)]),'titlePath':[_0x776350[_0x5a2ed2(0x152)](_0x470bfc,_0x776350[_0x5a2ed2(0x1d1)])],'id':global[_0x5a2ed2(0x12b)]['currentTest']['id']||_0x776350[_0x5a2ed2(0x188)],'testAnalyticsId':global['__workerDetails'][_0x5a2ed2(0x1ec)][_0x5a2ed2(0x1c7)],'testPath':global[_0x5a2ed2(0x12b)][_0x5a2ed2(0x1ec)][_0x5a2ed2(0x20e)]?.[_0x5a2ed2(0x1e8)],...global[_0x5a2ed2(0x12b)][_0x5a2ed2(0x1ec)][_0x5a2ed2(0x20e)]};global[_0x5a2ed2(0x171)]=_0x58d21f,logger['debug'](_0x5a2ed2(0x234)+_0x470bfc);try{const _0x55499a=global[_0x5a2ed2(0x12b)]?.[_0x5a2ed2(0x140)]||_0x150abb['getPageFromAutomationFramework']();if(_0x55499a){const _0x58d18e=_0x776350[_0x5a2ed2(0x126)](!!_0x3f9074,!_0x5d3a28);let _0x551d74=null,_0x1698e1=null;try{_0x58d18e?(_0x551d74=_0x776350['Vexes'](typeof _0x55499a[_0x5a2ed2(0x116)],_0x776350['aCWxk'])?_0x55499a[_0x5a2ed2(0x116)]():null,_0x1698e1=_0x776350[_0x5a2ed2(0x21f)](typeof _0x55499a[_0x5a2ed2(0x120)],_0x776350['aCWxk'])?_0x55499a['browser']():null):(_0x551d74=_0x776350[_0x5a2ed2(0x202)](typeof _0x55499a[_0x5a2ed2(0x193)],_0x776350[_0x5a2ed2(0x22b)])?_0x55499a['context']():null,_0x1698e1=_0x551d74&&_0x776350[_0x5a2ed2(0x1c9)](typeof _0x551d74[_0x5a2ed2(0x120)],_0x776350[_0x5a2ed2(0x22b)])?_0x551d74[_0x5a2ed2(0x120)]():null);}catch(_0x1ba313){logger['debug']('Error\x20getting\x20page\x20context/browser:\x20'+_0x1ba313[_0x5a2ed2(0x22e)]);}const _0x2084f6={};_0x2084f6[_0x5a2ed2(0x1ad)]=_0x55499a,_0x2084f6[_0x5a2ed2(0x193)]=_0x551d74,_0x2084f6[_0x5a2ed2(0x120)]=_0x1698e1,_0x2084f6[_0x5a2ed2(0x20e)]=_0x58d21f,_0x2084f6['testFramework']=_0x9588b4['JEST'],_0x2084f6[_0x5a2ed2(0x132)]=global['__launchCaps'],_0x2084f6['platformCaps']=global['__platformCaps'],await _0x1339eb[_0x5a2ed2(0x15b)]()[_0x5a2ed2(0x1c0)]()[_0x5a2ed2(0x10b)](_0x494936[_0x5a2ed2(0x1c5)],_0x3ca1bf[_0x5a2ed2(0x180)],_0x2084f6),logger['debug'](_0x5a2ed2(0x223)+_0x470bfc+_0x5a2ed2(0x145)+(_0x58d21f['testAnalyticsId']||_0x58d21f['id']));}else logger[_0x5a2ed2(0x14c)]('No\x20page\x20available\x20yet\x20for\x20test:\x20'+_0x470bfc+_0x5a2ed2(0x156));}catch(_0x252365){logger[_0x5a2ed2(0x14c)](_0x5a2ed2(0x191)+util[_0x5a2ed2(0x1ab)](_0x252365));}}}catch(_0x2351ec){logger['debug'](_0x5a2ed2(0x14f)+util[_0x5a2ed2(0x1ab)](_0x2351ec));}!_0x150abb&&_0x776350[_0x5a2ed2(0x12f)](__drivers['length'],0x0)&&_0x776350[_0x5a2ed2(0x21a)](__drivers[0x0]['quitCount_'],0x0)&&await _0x776350[_0x5a2ed2(0x184)](driverCleanup);}catch(_0x1e93a0){logger[_0x5a2ed2(0x14c)](_0x5a2ed2(0x1e6)+_0x1e93a0);const _0x49de89={};_0x49de89[_0x5a2ed2(0x13d)]=_0x776350[_0x5a2ed2(0x1f8)],PerformanceTester[_0x5a2ed2(0x15a)](PerformanceHookEvents[_0x5a2ed2(0x131)],![],_0x1e93a0,_0x49de89);}const _0x55486e={};_0x55486e[_0x5a2ed2(0x13d)]=_0x776350['EqSlk'],PerformanceTester['end'](PerformanceHookEvents[_0x5a2ed2(0x131)],!![],null,_0x55486e);}),afterEach(async()=>{const _0x715bfd=a24_0x230c3f,_0x32b9f9={'cuoXU':'inside\x20after\x20each\x20jest\x20hook','nDylO':function(_0x3115c5,_0x1aaf33){return _0x3115c5>_0x1aaf33;},'pmFIt':'@playwright/test','vsCIc':_0x715bfd(0x1a6),'ZVlvH':_0x715bfd(0x133),'EqXBU':function(_0x534ae3,_0x2d5e05){return _0x534ae3(_0x2d5e05);},'XQoff':_0x715bfd(0x1a5),'SENVq':_0x715bfd(0x1d2),'mOfYw':_0x715bfd(0x14a),'Ieyfr':_0x715bfd(0x21e),'nmhUV':function(_0x14fad2,_0x768e1a){return _0x14fad2!==_0x768e1a;},'XhdSt':'undefined','vBECB':function(_0x5a9c66,_0xaf836b){return _0x5a9c66>_0xaf836b;},'VjWSd':function(_0x38599d,_0x3cfb07){return _0x38599d(_0x3cfb07);},'JTobx':function(_0x55ee19,_0x33831a){return _0x55ee19(_0x33831a);},'fytLY':function(_0x287a7f,_0x3ce00a){return _0x287a7f(_0x3ce00a);},'swnsR':_0x715bfd(0x1c8),'gaSxc':_0x715bfd(0x1cf),'Duxhn':function(_0xc4b20d,_0xd76899){return _0xc4b20d&&_0xd76899;},'DCNtA':_0x715bfd(0x23a),'lbZzp':'jest-test','lvpgt':_0x715bfd(0x20c),'lfsmr':'Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','HPwGm':_0x715bfd(0x21d),'obmda':_0x715bfd(0x23c),'HfbJW':function(_0x50abd2,_0x504d38){return _0x50abd2>_0x504d38;},'zotRE':function(_0x386982){return _0x386982();},'Mopxw':function(_0x51cdd9,_0x213c0e){return _0x51cdd9===_0x213c0e;},'uwgVB':_0x715bfd(0x10f),'yrnWr':_0x715bfd(0x1b8),'KRIQp':function(_0x27b585,_0x313ba7,_0x887bb4,_0x56703f){return _0x27b585(_0x313ba7,_0x887bb4,_0x56703f);},'pbLrZ':_0x715bfd(0x16e),'aZaJm':function(_0x4a0520,_0x46d3bf,_0x14eea4){return _0x4a0520(_0x46d3bf,_0x14eea4);},'xtufQ':_0x715bfd(0x19e),'GeDVa':_0x715bfd(0x1fd),'KWAGw':_0x715bfd(0x123),'fjaKy':_0x715bfd(0x13b),'AZESY':'afterTest','jkFjo':_0x715bfd(0x19a),'GHDBX':_0x715bfd(0x13c),'dTVBk':function(_0x4b559e){return _0x4b559e();},'CRxez':function(_0x1bf62c,_0x557310){return _0x1bf62c>_0x557310;},'uWVjW':function(_0x45909a,_0x232a55,_0x1de687){return _0x45909a(_0x232a55,_0x1de687);},'owPFn':function(_0x2e4849,_0x3d78cd,_0xc00968){return _0x2e4849(_0x3d78cd,_0xc00968);},'nBeoK':_0x715bfd(0x14c),'YJOqI':function(_0x5a2e6d,_0x1818ca){return _0x5a2e6d>_0x1818ca;},'KquGC':function(_0x5254fd){return _0x5254fd();}};logger[_0x715bfd(0x14c)](_0x32b9f9[_0x715bfd(0x185)]),PerformanceTester[_0x715bfd(0x19b)](PerformanceHookEvents['SDK_HOOK']);const _0xcfcb36='browserstack internal helper hook';let _0x37cc75=![],_0x5c6fcb=![],_0x48c4c1=null;try{global['__drivers']&&_0x32b9f9[_0x715bfd(0x11f)](global[_0x715bfd(0x1a2)][_0x715bfd(0x1e7)],0x0)&&(_0x37cc75=!![]);if(global[_0x715bfd(0x12b)]&&global[_0x715bfd(0x12b)][_0x715bfd(0x140)]){const _0x5e84d0=helper[_0x715bfd(0x14e)](_0x32b9f9[_0x715bfd(0x17a)]),_0x529641=helper[_0x715bfd(0x14e)](_0x32b9f9[_0x715bfd(0x196)])||helper[_0x715bfd(0x14e)](_0x32b9f9['ZVlvH']);try{if(_0x5e84d0)_0x48c4c1=_0x32b9f9['EqXBU'](require,_0x32b9f9['XQoff']);else _0x529641&&(_0x48c4c1=_0x32b9f9[_0x715bfd(0x212)](require,_0x32b9f9[_0x715bfd(0x178)]));_0x5c6fcb=!![],logger[_0x715bfd(0x14c)]((_0x5e84d0?_0x32b9f9[_0x715bfd(0x219)]:_0x32b9f9[_0x715bfd(0x239)])+_0x715bfd(0x18f)+!!global[_0x715bfd(0x12b)][_0x715bfd(0x140)]);}catch(_0xd6f315){logger[_0x715bfd(0x14c)](_0x715bfd(0x10e)+util['format'](_0xd6f315));}}}catch(_0x603c82){logger['debug'](_0x715bfd(0x22d)+_0x603c82);}logger[_0x715bfd(0x14c)](_0x715bfd(0x1d7)+_0x37cc75+_0x715bfd(0x220)+_0x5c6fcb);if(_0x5c6fcb){const _0x5370aa=_0x48c4c1[_0x715bfd(0x1bb)]();try{let _0x5e88d2=null,_0x22c8ff=![];if(_0x32b9f9[_0x715bfd(0x200)](typeof jasmine,_0x32b9f9[_0x715bfd(0x1e5)]))jasmine[_0x715bfd(0x1ec)][_0x715bfd(0x151)]&&_0x32b9f9[_0x715bfd(0x1ba)](jasmine[_0x715bfd(0x1ec)][_0x715bfd(0x151)][_0x715bfd(0x1e7)],0x0)?(_0x22c8ff=!![],_0x5e88d2=_0x32b9f9[_0x715bfd(0x212)](stripUnicode,JSON[_0x715bfd(0x175)](jasmine[_0x715bfd(0x1ec)][_0x715bfd(0x151)][0x0][_0x715bfd(0x22e)]))):_0x5e88d2=_0x32b9f9[_0x715bfd(0x1fc)](stripUnicode,JSON[_0x715bfd(0x175)](jasmine[_0x715bfd(0x1ec)][_0x715bfd(0x13a)]));else{logger[_0x715bfd(0x14c)]('from\x20else\x20block\x20jest\x20test\x20failed\x20playwright\x20flow:\x20'+util[_0x715bfd(0x1d3)](testContext));const _0x2c2450=global[_0x715bfd(0x1be)]||testContext,_0x80652c=_0x2c2450&&_0x2c2450[_0x715bfd(0x21c)]?_0x2c2450['errors']:[];if(_0x32b9f9[_0x715bfd(0x1ba)](_0x80652c[_0x715bfd(0x1e7)],0x0)){_0x22c8ff=!![];const _0x2e3e20=Array['isArray'](_0x80652c[0x0])?_0x80652c[0x0][0x0]:_0x80652c[0x0];_0x5e88d2=_0x32b9f9[_0x715bfd(0x1da)](stripUnicode,JSON[_0x715bfd(0x175)](_0x2e3e20['message']||_0x2e3e20));}else _0x5e88d2=_0x32b9f9[_0x715bfd(0x1fa)](stripUnicode,JSON[_0x715bfd(0x175)](_0x2c2450?_0x2c2450[_0x715bfd(0x14b)]:testContext[_0x715bfd(0x14b)]));}const _0x514761=_0x22c8ff?_0x32b9f9[_0x715bfd(0x1d6)]:_0x32b9f9[_0x715bfd(0x1ed)];_0x32b9f9['Duxhn'](_0x22c8ff,_0x5e88d2)&&!__error_messages__[_0x715bfd(0x207)](_0x5e88d2)&&__error_messages__['push'](_0x5e88d2);const _0x593de8={'title':global[_0x715bfd(0x12b)]?.[_0x715bfd(0x1ec)]?.['testInfo']?.[_0x715bfd(0x1b1)]||_0x32b9f9[_0x715bfd(0x148)],'titlePath':[global[_0x715bfd(0x12b)]?.[_0x715bfd(0x1ec)]?.[_0x715bfd(0x20e)]?.[_0x715bfd(0x1b1)]||_0x32b9f9[_0x715bfd(0x148)]],'id':global[_0x715bfd(0x12b)]?.[_0x715bfd(0x1ec)]?.['id']||_0x32b9f9['lbZzp'],'status':_0x514761,'error':_0x5e88d2?{'message':_0x5e88d2}:null,'testAnalyticsId':global[_0x715bfd(0x12b)]?.[_0x715bfd(0x1ec)]?.['testAnalyticsId'],'testPath':global[_0x715bfd(0x12b)]?.[_0x715bfd(0x1ec)]?.[_0x715bfd(0x20e)]?.['testPath'],...global[_0x715bfd(0x12b)][_0x715bfd(0x1ec)]['testInfo']},_0x20ffbd=_0x593de8;try{if(BrowserstackCLI['getInstance']()[_0x715bfd(0x119)]()&&BrowserstackCLI[_0x715bfd(0x15b)]()[_0x715bfd(0x10d)]()){const _0x595f54={};_0x595f54[_0x715bfd(0x20e)]=_0x20ffbd,_0x595f54['page']=_0x5370aa,_0x595f54[_0x715bfd(0x17d)]=FRAMEWORKS[_0x715bfd(0x11e)],await BrowserstackCLI['getInstance']()[_0x715bfd(0x1c0)]()[_0x715bfd(0x10b)](AutomationFrameworkState['QUIT'],HookState[_0x715bfd(0x117)],_0x595f54),logger['debug'](_0x715bfd(0x22f)+_0x20ffbd['title']);}}catch(_0x42b289){logger[_0x715bfd(0x14c)](_0x715bfd(0x1a1)+util[_0x715bfd(0x1ab)](_0x42b289));}global[_0x715bfd(0x12b)]&&global[_0x715bfd(0x12b)]['currentTest']&&global['__workerDetails'][_0x715bfd(0x1ec)][_0x715bfd(0x20e)]?await _0x48c4c1[_0x715bfd(0x1b2)](global[_0x715bfd(0x12b)][_0x715bfd(0x1ec)][_0x715bfd(0x20e)],_0x514761,_0x22c8ff?_0x5e88d2:null):logger[_0x715bfd(0x14c)](_0x32b9f9[_0x715bfd(0x15e)]);try{await _0x48c4c1[_0x715bfd(0x182)](),logger[_0x715bfd(0x14c)](_0x32b9f9[_0x715bfd(0x224)]);}catch(_0x454aff){logger[_0x715bfd(0x14c)]('Error\x20executing\x20deferred\x20closes:\x20'+util[_0x715bfd(0x1ab)](_0x454aff));}try{_0x48c4c1[_0x715bfd(0x169)][_0x715bfd(0x228)](),logger['debug'](_0x32b9f9[_0x715bfd(0x19d)]);}catch(_0x32a450){logger[_0x715bfd(0x14c)](_0x715bfd(0x1cd)+util[_0x715bfd(0x1ab)](_0x32a450));}}catch(_0x1dce15){logger[_0x715bfd(0x14c)]('Error\x20in\x20pw-jest\x20afterEach:\x20'+util[_0x715bfd(0x1ab)](_0x1dce15));try{_0x48c4c1['executeDeferredCloses']&&(await _0x48c4c1[_0x715bfd(0x182)](),logger[_0x715bfd(0x14c)](_0x32b9f9['obmda']));}catch(_0x266b33){logger[_0x715bfd(0x14c)](_0x715bfd(0x124)+util[_0x715bfd(0x1ab)](_0x266b33));}}}else try{!_0x5c6fcb&&_0x32b9f9[_0x715bfd(0x18a)](__drivers[_0x715bfd(0x1e7)],0x1)&&(await _0x32b9f9[_0x715bfd(0x158)](driverCleanup),__drivers[_0x715bfd(0x168)]());try{if(global[_0x715bfd(0x118)]&&_0x32b9f9[_0x715bfd(0x173)](global[_0x715bfd(0x1af)],_0x32b9f9[_0x715bfd(0x232)])&&__drivers[0x0]){const _0x529203=_0x32b9f9[_0x715bfd(0x1ba)](global[_0x715bfd(0x1e1)][_0x715bfd(0x1e7)],0x0)?!!global['capabilities'][0x0][_0x715bfd(0x1d8)]||!!global[_0x715bfd(0x1e1)][0x0][_0x32b9f9['yrnWr']]:![],_0x26525c={};_0x26525c[_0x715bfd(0x1d8)]=_0x529203,await _0x32b9f9['KRIQp'](percyAutoCapture,__drivers[0x0],_0x32b9f9[_0x715bfd(0x232)],_0x26525c);}}catch(_0x4c3d52){logger[_0x715bfd(0x14c)]('Exception\x20in\x20jest\x20percy\x20with\x20error:\x20'+_0x4c3d52);const _0x4dcdbb={};_0x4dcdbb['hookType']=_0x32b9f9['pbLrZ'],PerformanceTester[_0x715bfd(0x15a)](PerformanceHookEvents['SDK_HOOK'],![],_0x4c3d52,_0x4dcdbb);}const _0x2acf13=_0x32b9f9[_0x715bfd(0x198)](shouldScanTestForAccessibility,expect[_0x715bfd(0x16f)]()[_0x715bfd(0x138)],![]);try{if(_0x32b9f9[_0x715bfd(0x158)](isAccessibilityAutomationSession)&&globals[_0x715bfd(0x16b)](_0x32b9f9[_0x715bfd(0x213)])&&globals[_0x715bfd(0x16b)](_0x32b9f9[_0x715bfd(0x206)])){logger['info'](_0x32b9f9[_0x715bfd(0x238)]);const _0x3656f3={'thTestRunUuid':TestDetails[_0x715bfd(0x1b0)](process[_0x715bfd(0x225)]+':testAnalyticsId'),'thBuildUuid':process[_0x715bfd(0x10c)][testHubConstants[_0x715bfd(0x194)][_0x715bfd(0x11b)]],'thJwtToken':process[_0x715bfd(0x10c)][testHubConstants[_0x715bfd(0x194)]['BROWSERSTACK_TESTHUB_JWT']]};logger[_0x715bfd(0x14c)](_0x715bfd(0x205)+JSON[_0x715bfd(0x175)](_0x3656f3)),logger[_0x715bfd(0x14c)](_0x32b9f9[_0x715bfd(0x154)]);const _0x3a760a={};_0x3a760a['command']=_0x32b9f9[_0x715bfd(0x1fb)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x715bfd(0x236)],async()=>{const _0x45c70f=_0x715bfd;logger[_0x45c70f(0x14c)](util[_0x45c70f(0x1ab)](await __drivers[0x0]['executeAsyncScript'](scripts[_0x45c70f(0x11a)],{'method':expect[_0x45c70f(0x16f)]()[_0x45c70f(0x138)]})));},_0x3a760a)(),globals[_0x715bfd(0x16b)](_0x32b9f9['jkFjo'])&&(_0x3656f3[_0x715bfd(0x1ee)]=!![]),await PerformanceTester[_0x715bfd(0x21b)](PerformanceA11yEvents[_0x715bfd(0x164)],async()=>{const _0x1d6594=_0x715bfd;await __drivers[0x0]['executeAsyncScript'](scripts[_0x1d6594(0x12c)],_0x3656f3);})(),logger[_0x715bfd(0x134)](_0x32b9f9['GHDBX']);}}catch(_0x2759c1){logger[_0x715bfd(0x1f6)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+expect[_0x715bfd(0x16f)]()[_0x715bfd(0x138)]+_0x715bfd(0x135),_0x2759c1);}await _0x32b9f9[_0x715bfd(0x158)](setContext);try{if(_0x32b9f9['dTVBk'](shouldProcessEventForTesthub)){_0x32b9f9[_0x715bfd(0x127)](global[_0x715bfd(0x1a2)][_0x715bfd(0x1e7)],0x0)&&global[_0x715bfd(0x1a2)][0x0]&&await _0x32b9f9['uWVjW'](sendPlatformDetails,global['__drivers'][0x0],TestDetails[_0x715bfd(0x1b0)](process['pid']+':testAnalyticsId'));if(_0x32b9f9[_0x715bfd(0x158)](isBrowserstackInfra)){PerformanceTester[_0x715bfd(0x19b)](PerformanceO11yEvents[_0x715bfd(0x1eb)]);const _0x34cb34=_0x715bfd(0x1fe)+Date[_0x715bfd(0x1b7)]();await _0x32b9f9[_0x715bfd(0x141)](executeAnnotate,JSON[_0x715bfd(0x175)](_0x34cb34),_0x32b9f9[_0x715bfd(0x230)]),PerformanceTester[_0x715bfd(0x15a)](PerformanceO11yEvents['SYNC']);}}}catch(_0x140bf6){logger[_0x715bfd(0x14c)](_0x715bfd(0x12d)+_0x140bf6),PerformanceTester['end'](PerformanceO11yEvents[_0x715bfd(0x1eb)],![],_0x140bf6);}!_0x5c6fcb&&_0x32b9f9[_0x715bfd(0x20d)](__drivers[_0x715bfd(0x1e7)],0x0)&&_0x32b9f9[_0x715bfd(0x11f)](__drivers[0x0]['quitCount_'],0x0)&&await _0x32b9f9['KquGC'](driverCleanup);const _0x160515={};_0x160515[_0x715bfd(0x13d)]=_0x32b9f9['pbLrZ'],PerformanceTester[_0x715bfd(0x15a)](PerformanceHookEvents[_0x715bfd(0x131)],!![],null,_0x160515);}catch(_0x59daf8){logger[_0x715bfd(0x14c)](_0x715bfd(0x115)+_0x59daf8);const _0x25df1b={};_0x25df1b[_0x715bfd(0x13d)]=_0x32b9f9['pbLrZ'],PerformanceTester['end'](PerformanceHookEvents[_0x715bfd(0x131)],![],_0x59daf8,_0x25df1b);}},TEST_FRAMEWORK_HOOK_TIMEOUT[a24_0x230c3f(0x1e0)]),afterAll(async()=>{const _0x333869=a24_0x230c3f,_0x10756b={'tYHVF':function(_0x584861,_0x17cbbf){return _0x584861<=_0x17cbbf;},'GshWV':function(_0x3be247,_0x5a4ea8){return _0x3be247(_0x5a4ea8);},'AdCtF':function(_0x4202e0){return _0x4202e0();},'aqejc':function(_0x1a7c7f,_0x45808b,_0x5dde5e){return _0x1a7c7f(_0x45808b,_0x5dde5e);},'fbpjc':_0x333869(0x1e0),'SUaYC':_0x333869(0x222),'BNeqI':_0x333869(0x1a6),'eTchq':_0x333869(0x133),'wIUwe':_0x333869(0x1a5),'cBnMy':_0x333869(0x1d2),'bToXA':_0x333869(0x16d),'lqqpV':function(_0x2e1a85,_0x5f0b84){return _0x2e1a85||_0x5f0b84;},'WHbbY':_0x333869(0x1c1),'TMSCv':_0x333869(0x111),'flBme':function(_0x46d139,_0x43192d){return _0x46d139===_0x43192d;},'ZaHpX':_0x333869(0x233),'EWtQD':_0x333869(0x183),'OBkiQ':_0x333869(0x1f9),'AwVwz':_0x333869(0x1b3),'fmlzx':function(_0x1a2ff1,_0x10b60a){return _0x1a2ff1(_0x10b60a);},'tNFzJ':_0x333869(0x1d0)};PerformanceTester[_0x333869(0x19b)](PerformanceHookEvents[_0x333869(0x131)]),jest[_0x333869(0x1f7)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x10756b[_0x333869(0x172)]]),PerformanceTester[_0x333869(0x150)]();const _0x5f07a7='browserstack internal helper hook';let _0x2022a0=![];try{const _0x531d43=helper[_0x333869(0x14e)](_0x10756b[_0x333869(0x14d)]),_0x4c7184=helper[_0x333869(0x14e)](_0x10756b[_0x333869(0x187)])||helper[_0x333869(0x14e)](_0x10756b['eTchq']),_0x2f6424=_0x531d43?_0x10756b[_0x333869(0x203)](require,_0x10756b[_0x333869(0x226)]):_0x4c7184?_0x10756b[_0x333869(0x203)](require,_0x10756b[_0x333869(0x1f5)]):null;if(!_0x2f6424)throw new Error(_0x10756b['bToXA']);const _0x53036b=global[_0x333869(0x12b)]?.[_0x333869(0x140)],_0x4b502c=_0x2f6424[_0x333869(0x1bb)](),_0x128f89=_0x10756b[_0x333869(0x1ff)](_0x53036b,_0x4b502c);if(_0x128f89){_0x2022a0=!![];try{await _0x2f6424['executeDeferredCloses'](),logger[_0x333869(0x14c)](_0x10756b[_0x333869(0x1ce)]);}catch(_0x1ab1d9){logger['debug'](_0x333869(0x227)+util[_0x333869(0x1ab)](_0x1ab1d9));try{const _0x248aea=_0x2f6424[_0x333869(0x1bb)]();_0x248aea&&(logger[_0x333869(0x14c)](_0x10756b[_0x333869(0x128)]),_0x10756b['flBme'](typeof _0x248aea[_0x333869(0x18d)],_0x10756b[_0x333869(0x214)])&&(await _0x248aea[_0x333869(0x18d)](),logger[_0x333869(0x14c)](_0x10756b[_0x333869(0x10a)])));}catch(_0x5ebf46){logger[_0x333869(0x14c)](_0x333869(0x1c2)+util['format'](_0x5ebf46));}}try{if(global[_0x333869(0x12b)]){global[_0x333869(0x12b)][_0x333869(0x140)]=null,global['__workerDetails'][_0x333869(0x155)]=![];const _0x1325a1={};_0x1325a1['id']=undefined,_0x1325a1[_0x333869(0x20e)]=undefined,global[_0x333869(0x12b)][_0x333869(0x1ec)]=_0x1325a1;}_0x2f6424[_0x333869(0x169)]&&_0x2f6424[_0x333869(0x169)][_0x333869(0x228)]&&(_0x2f6424['closeTracker']['cleanup'](),logger['debug'](_0x10756b['OBkiQ'])),logger[_0x333869(0x14c)](_0x10756b[_0x333869(0x22c)]);}catch(_0x1118a3){logger[_0x333869(0x14c)](_0x333869(0x209)+util[_0x333869(0x1ab)](_0x1118a3));}__error_messages__=[];}}catch(_0x1953a2){logger[_0x333869(0x14c)](_0x333869(0x1f1)+util['format'](_0x1953a2));try{const _0x4b9dea=helper[_0x333869(0x14e)](_0x10756b[_0x333869(0x14d)]),_0x43b626=helper[_0x333869(0x14e)](_0x10756b['BNeqI'])||helper[_0x333869(0x14e)](_0x10756b[_0x333869(0x1df)]),_0x1dc713=_0x4b9dea?_0x10756b[_0x333869(0x1f2)](require,_0x10756b['wIUwe']):_0x43b626?_0x10756b[_0x333869(0x1f2)](require,_0x10756b[_0x333869(0x1f5)]):null;_0x1dc713&&await _0x1dc713[_0x333869(0x182)]();}catch(_0x4303e5){logger[_0x333869(0x14c)](_0x333869(0x124)+util['format'](_0x4303e5));}}await new Promise(_0x14110e=>{const _0x35d44d={'dbEci':function(_0x221496,_0x58c680){const _0x4b58ed=a24_0x36c6;return _0x10756b[_0x4b58ed(0x210)](_0x221496,_0x58c680);},'vEpwi':function(_0x4efa14,_0x658fed){const _0x1f97d9=a24_0x36c6;return _0x10756b[_0x1f97d9(0x203)](_0x4efa14,_0x658fed);},'RSIrO':function(_0x13e7c4){const _0x96296a=a24_0x36c6;return _0x10756b[_0x96296a(0x181)](_0x13e7c4);}},_0x33729f=_0x10756b['aqejc'](setInterval,async()=>{const _0x2cadac=a24_0x36c6;_0x35d44d['dbEci'](RequestQueueHandler[_0x2cadac(0x15b)]()['pendingUploads'],0x0)&&(_0x35d44d[_0x2cadac(0x1a4)](clearInterval,_0x33729f),_0x35d44d['RSIrO'](_0x14110e));},0x3e8);});try{!_0x2022a0&&await _0x10756b[_0x333869(0x181)](driverCleanup);}catch(_0x2a6526){logger[_0x333869(0x14c)](_0x333869(0x1a3)+_0x2a6526);const _0x5539fa={};_0x5539fa[_0x333869(0x13d)]=_0x10756b['tNFzJ'],PerformanceTester[_0x333869(0x15a)](PerformanceHookEvents[_0x333869(0x131)],![],_0x2a6526,_0x5539fa);}process[_0x333869(0x235)]();const _0x5e267a={};_0x5e267a['hookType']=_0x10756b[_0x333869(0x18e)],PerformanceTester[_0x333869(0x15a)](PerformanceHookEvents[_0x333869(0x131)],!![],null,_0x5e267a);},TEST_FRAMEWORK_HOOK_TIMEOUT[a24_0x230c3f(0x1e0)]);
@@ -1 +1 @@
1
- function a25_0x8e71(_0x18b88a,_0x186e96){const _0x2a6969=a25_0x2a69();return a25_0x8e71=function(_0x8e710b,_0x46d31b){_0x8e710b=_0x8e710b-0x154;let _0x73cfdf=_0x2a6969[_0x8e710b];return _0x73cfdf;},a25_0x8e71(_0x18b88a,_0x186e96);}function a25_0x2a69(){const _0x1e5253=['3uPKDhf','1360jDwMua','restore','3337988GpdieM','GuoNs','219562msczFP','5400770MdbpGI','3922472fPmtvP','../../../helpers/request-spy','setTimeout','4RYCpZP','../../../helpers/test-observability/utils','146043gZxvsx','7146bzWuiL','5646267hIWWUC'];a25_0x2a69=function(){return _0x1e5253;};return a25_0x2a69();}const a25_0x5eb323=a25_0x8e71;(function(_0x4bb53e,_0xc157cc){const _0x3612f8=a25_0x8e71,_0x4ad28f=_0x4bb53e();while(!![]){try{const _0x52aab3=-parseInt(_0x3612f8(0x15a))/0x1*(parseInt(_0x3612f8(0x158))/0x2)+-parseInt(_0x3612f8(0x15d))/0x3*(-parseInt(_0x3612f8(0x160))/0x4)+-parseInt(_0x3612f8(0x15e))/0x5*(-parseInt(_0x3612f8(0x15b))/0x6)+-parseInt(_0x3612f8(0x162))/0x7+-parseInt(_0x3612f8(0x155))/0x8+parseInt(_0x3612f8(0x15c))/0x9+-parseInt(_0x3612f8(0x154))/0xa;if(_0x52aab3===_0xc157cc)break;else _0x4ad28f['push'](_0x4ad28f['shift']());}catch(_0x7a1eb8){_0x4ad28f['push'](_0x4ad28f['shift']());}}}(a25_0x2a69,0x69766));const requestSpy=require(a25_0x5eb323(0x156)),{addRequestSpy}=require(a25_0x5eb323(0x159));beforeAll(()=>{const _0x188bb2=a25_0x5eb323,_0x40c622={'GuoNs':function(_0x344b4a){return _0x344b4a();}},_0x3d6888='browserstack internal helper hook';_0x40c622[_0x188bb2(0x161)](addRequestSpy);}),afterAll(async()=>{const _0x193913=a25_0x5eb323,_0x7b6c5f='browserstack internal helper hook';jest[_0x193913(0x157)](0xea60),requestSpy[_0x193913(0x15f)]();});
1
+ const a25_0x53ce8e=a25_0x18ff;(function(_0x161a8c,_0x45a709){const _0x4154be=a25_0x18ff,_0x1adf65=_0x161a8c();while(!![]){try{const _0x35881c=parseInt(_0x4154be(0x102))/0x1*(-parseInt(_0x4154be(0x10a))/0x2)+-parseInt(_0x4154be(0x101))/0x3*(-parseInt(_0x4154be(0x105))/0x4)+parseInt(_0x4154be(0x108))/0x5+-parseInt(_0x4154be(0x104))/0x6+parseInt(_0x4154be(0x109))/0x7+-parseInt(_0x4154be(0x10b))/0x8*(parseInt(_0x4154be(0x103))/0x9)+-parseInt(_0x4154be(0x100))/0xa;if(_0x35881c===_0x45a709)break;else _0x1adf65['push'](_0x1adf65['shift']());}catch(_0x56db63){_0x1adf65['push'](_0x1adf65['shift']());}}}(a25_0x3267,0x46ae9));function a25_0x3267(){const _0x1a47ae=['337264eaXfMx','setTimeout','9985700jowPpF','548961zMmWOR','316oMwYEo','9VAcOYQ','40944YAGvbM','12meIPEC','../../../helpers/test-observability/utils','restore','2718215wsvpkQ','1731135wlozjW','18TyIiXd'];a25_0x3267=function(){return _0x1a47ae;};return a25_0x3267();}const requestSpy=require('../../../helpers/request-spy'),{addRequestSpy}=require(a25_0x53ce8e(0x106));function a25_0x18ff(_0x1fd0bc,_0x55f86b){const _0x32674c=a25_0x3267();return a25_0x18ff=function(_0x18ff75,_0x468889){_0x18ff75=_0x18ff75-0xff;let _0x4db601=_0x32674c[_0x18ff75];return _0x4db601;},a25_0x18ff(_0x1fd0bc,_0x55f86b);}beforeAll(()=>{const _0x4bda7f={'dSZBW':function(_0x2f5a5a){return _0x2f5a5a();}},_0x167e52='browserstack internal helper hook';_0x4bda7f['dSZBW'](addRequestSpy);}),afterAll(async()=>{const _0x574003=a25_0x53ce8e,_0x52e21d='browserstack internal helper hook';jest[_0x574003(0xff)](0xea60),requestSpy[_0x574003(0x107)]();});
@@ -1 +1 @@
1
- const a26_0x5cc656=a26_0x2cdc;(function(_0x27a7eb,_0x44e299){const _0x17853e=a26_0x2cdc,_0x2147cf=_0x27a7eb();while(!![]){try{const _0x3fa171=parseInt(_0x17853e(0x196))/0x1+parseInt(_0x17853e(0x19e))/0x2*(-parseInt(_0x17853e(0x1a7))/0x3)+-parseInt(_0x17853e(0x1af))/0x4*(parseInt(_0x17853e(0x1aa))/0x5)+parseInt(_0x17853e(0x198))/0x6*(parseInt(_0x17853e(0x1ab))/0x7)+parseInt(_0x17853e(0x19c))/0x8+parseInt(_0x17853e(0x194))/0x9+parseInt(_0x17853e(0x1a6))/0xa*(-parseInt(_0x17853e(0x1ae))/0xb);if(_0x3fa171===_0x44e299)break;else _0x2147cf['push'](_0x2147cf['shift']());}catch(_0x34b870){_0x2147cf['push'](_0x2147cf['shift']());}}}(a26_0x4d1f,0x4f95a));const testOpsHelper=require(a26_0x5cc656(0x195)),helper=require(a26_0x5cc656(0x19f));function a26_0x4d1f(){const _0xfe5f34=['184385hJtaDK','14RhKjnO','isTestObservabilitySession','JDtmf','11aMGNSM','28PilbZO','has','push','1415268iBJYwu','../../../helpers/test-observability/utils','276148QKKsAs','JawMu','1260222QNKxcR','length','shouldReRunObservabilityTests','ZtzUn','3618768SWjdKO','env','1157892HqWUGz','../../../helpers/helper','cliConfig','rerunTests','split','map','get','updateTestRerunConfig','1427570JwMhhP','3YXnZkr','isUndefined','testRegex'];a26_0x4d1f=function(){return _0xfe5f34;};return a26_0x4d1f();}function a26_0x2cdc(_0x415901,_0x103d5b){const _0x4d1fb8=a26_0x4d1f();return a26_0x2cdc=function(_0x2cdc47,_0x15ceab){_0x2cdc47=_0x2cdc47-0x193;let _0x15c3d0=_0x4d1fb8[_0x2cdc47];return _0x15c3d0;},a26_0x2cdc(_0x415901,_0x103d5b);}exports[a26_0x5cc656(0x1a5)]=(_0x4838c3,_0xac7dcd)=>{const _0x1892b3=a26_0x5cc656,_0x45a7be={};_0x45a7be[_0x1892b3(0x197)]=_0x1892b3(0x1a1),_0x45a7be[_0x1892b3(0x19b)]=function(_0x5bbfbc,_0x439203){return _0x5bbfbc!==_0x439203;},_0x45a7be[_0x1892b3(0x1ad)]=function(_0x289383,_0x52deb5){return _0x289383>_0x52deb5;};const _0x36ee11=_0x45a7be;if(testOpsHelper[_0x1892b3(0x1ac)]()&&testOpsHelper[_0x1892b3(0x19a)]()){let _0x4d1466=process[_0x1892b3(0x19d)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x1892b3(0x1a8)](_0xac7dcd[_0x1892b3(0x1a0)])&&_0xac7dcd[_0x1892b3(0x1a0)][_0x1892b3(0x1b0)](_0x36ee11[_0x1892b3(0x197)])&&(_0x4d1466=_0xac7dcd['cliConfig'][_0x1892b3(0x1a4)](_0x36ee11[_0x1892b3(0x197)]));const _0x5de49a=[];helper['validateRerunTestList'](_0x4d1466)&&_0x36ee11['ZtzUn'](_0x4d1466,null)&&_0x4d1466[_0x1892b3(0x1a2)](',')[_0x1892b3(0x1a3)](_0x2c06c4=>{const _0x13295f=_0x1892b3;_0x5de49a[_0x13295f(0x193)](''+_0x2c06c4['trim']());}),_0x36ee11[_0x1892b3(0x1ad)](_0x5de49a[_0x1892b3(0x199)],0x0)&&(_0x4838c3[_0x1892b3(0x1a9)]=_0x5de49a,delete _0x4838c3['testMatch']);}};
1
+ const a26_0x774200=a26_0x42f1;(function(_0x561a46,_0x5f3140){const _0x191133=a26_0x42f1,_0x2ecab1=_0x561a46();while(!![]){try{const _0x24ff05=parseInt(_0x191133(0xd4))/0x1*(parseInt(_0x191133(0xd9))/0x2)+parseInt(_0x191133(0xde))/0x3+-parseInt(_0x191133(0xe3))/0x4*(-parseInt(_0x191133(0xe4))/0x5)+-parseInt(_0x191133(0xe7))/0x6+-parseInt(_0x191133(0xe2))/0x7+parseInt(_0x191133(0xd8))/0x8+-parseInt(_0x191133(0xdd))/0x9;if(_0x24ff05===_0x5f3140)break;else _0x2ecab1['push'](_0x2ecab1['shift']());}catch(_0x711a3c){_0x2ecab1['push'](_0x2ecab1['shift']());}}}(a26_0xe962,0x332f7));function a26_0x42f1(_0x4f2bd3,_0x50ef7d){const _0xe9623b=a26_0xe962();return a26_0x42f1=function(_0x42f173,_0x4eecf6){_0x42f173=_0x42f173-0xcd;let _0x3044b3=_0xe9623b[_0x42f173];return _0x3044b3;},a26_0x42f1(_0x4f2bd3,_0x50ef7d);}const testOpsHelper=require(a26_0x774200(0xda)),helper=require(a26_0x774200(0xcf));exports[a26_0x774200(0xe5)]=(_0x256bad,_0x1c51ee)=>{const _0x3230c4=a26_0x774200,_0x5633f6={};_0x5633f6['liQsh']=_0x3230c4(0xce),_0x5633f6[_0x3230c4(0xdf)]=function(_0x5a22e9,_0x2187c0){return _0x5a22e9!==_0x2187c0;},_0x5633f6['NIUUD']=function(_0x57ee67,_0xd59fae){return _0x57ee67>_0xd59fae;};const _0x2b5abb=_0x5633f6;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x3230c4(0xd5)]()){let _0x4e3ad4=process[_0x3230c4(0xdc)][_0x3230c4(0xe0)];!helper[_0x3230c4(0xdb)](_0x1c51ee['cliConfig'])&&_0x1c51ee[_0x3230c4(0xd6)]['has'](_0x2b5abb[_0x3230c4(0xcd)])&&(_0x4e3ad4=_0x1c51ee[_0x3230c4(0xd6)][_0x3230c4(0xe6)](_0x2b5abb[_0x3230c4(0xcd)]));const _0x528b3f=[];helper['validateRerunTestList'](_0x4e3ad4)&&_0x2b5abb[_0x3230c4(0xdf)](_0x4e3ad4,null)&&_0x4e3ad4['split'](',')[_0x3230c4(0xd7)](_0x58fe70=>{const _0x5a2a63=_0x3230c4;_0x528b3f[_0x5a2a63(0xd1)](''+_0x58fe70['trim']());}),_0x2b5abb[_0x3230c4(0xe1)](_0x528b3f[_0x3230c4(0xd0)],0x0)&&(_0x256bad[_0x3230c4(0xd2)]=_0x528b3f,delete _0x256bad[_0x3230c4(0xd3)]);}};function a26_0xe962(){const _0x5811ff=['rerunTests','../../../helpers/helper','length','push','testRegex','testMatch','57269CagsiK','shouldReRunObservabilityTests','cliConfig','map','542864haYSgR','14dRmQOI','../../../helpers/test-observability/utils','isUndefined','env','7084215kHTEiM','1243209FLTTqM','Wfels','BROWSERSTACK_RERUN_TESTS','NIUUD','1137346cyRRjC','20hQtYCC','396610hkpJEF','updateTestRerunConfig','get','722916kUqaCO','liQsh'];a26_0xe962=function(){return _0x5811ff;};return a26_0xe962();}
@@ -1 +1 @@
1
- const a27_0x49a557=a27_0x5149;(function(_0x4ab90f,_0x590808){const _0xc9dabd=a27_0x5149,_0x598e73=_0x4ab90f();while(!![]){try{const _0x17d10f=parseInt(_0xc9dabd(0x1a1))/0x1+parseInt(_0xc9dabd(0x150))/0x2*(parseInt(_0xc9dabd(0x118))/0x3)+-parseInt(_0xc9dabd(0x12f))/0x4*(-parseInt(_0xc9dabd(0x137))/0x5)+-parseInt(_0xc9dabd(0x14a))/0x6+-parseInt(_0xc9dabd(0x17f))/0x7+parseInt(_0xc9dabd(0x196))/0x8+-parseInt(_0xc9dabd(0x19c))/0x9;if(_0x17d10f===_0x590808)break;else _0x598e73['push'](_0x598e73['shift']());}catch(_0xa02203){_0x598e73['push'](_0x598e73['shift']());}}}(a27_0x13f5,0x86c0f));const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a27_0x49a557(0x18f)),SessionHandler=require(a27_0x49a557(0x1c7)),{v4:uuidv4}=require(a27_0x49a557(0x16b)),{name,version}=require('../../../../package.json'),stackTrace=require(a27_0x49a557(0x1da)),{pickUserFrameFile}=require(a27_0x49a557(0x1c3)),path=require(a27_0x49a557(0x129)),fs=require('fs'),TestDetails=require(a27_0x49a557(0x1f5)),{FRAMEWORKS}=require('../../utils/constants'),{o11yClassErrorHandler}=require(a27_0x49a557(0x130)),{getGitMetaData}=require(a27_0x49a557(0x110)),helper=require(a27_0x49a557(0x110)),{appendTesthubParams,setCurrentTestData}=require(a27_0x49a557(0x123)),constants=require(a27_0x49a557(0x1f8)),BrowserstackCLI=require(a27_0x49a557(0x20d)),a27_0xe03975={};function a27_0x5149(_0x2cf170,_0x5c6d12){const _0x13f57e=a27_0x13f5();return a27_0x5149=function(_0x514923,_0x1915d3){_0x514923=_0x514923-0x106;let _0x16bdc8=_0x13f57e[_0x514923];return _0x16bdc8;},a27_0x5149(_0x2cf170,_0x5c6d12);}a27_0xe03975[a27_0x49a557(0x153)]=a27_0x49a557(0x1dd),a27_0xe03975[a27_0x49a557(0x1c4)]='failed',a27_0xe03975[a27_0x49a557(0x1cd)]='pending';const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a27_0xe03975,a27_0x1f9ceb={};a27_0x1f9ceb[a27_0x49a557(0x112)]=a27_0x49a557(0x186),a27_0x1f9ceb['afterAll']=a27_0x49a557(0x1b9),a27_0x1f9ceb[a27_0x49a557(0x164)]=a27_0x49a557(0x147),a27_0x1f9ceb[a27_0x49a557(0x1ae)]=a27_0x49a557(0x200);function a27_0x13f5(){const _0x258818=['EgPvS','602060WFHWVX','event_type','LDViu','@playwright/test','removeAllListeners','YmdrS','uploadEventData','Failed\x20to\x20flush\x20pending\x20hook\x20upload:\x20','dirname','hmmEJ','title','JEST','tSJIY','afterEach','AKwXw','RLQuf','sep','getTime','puppeteer-core','failure_reason_expanded','boGhz','TEST','__jestCurrentTestIdentifier','pqQmI','AFTER_ALL','split','parse','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20from\x20JestTestFramework\x20-\x20hookUUID=','logs','hookUUID','pDIYN','NJwax','KdROB','LIRJH','../../../helpers/stackFrameUtils','STATE_FAILED','appendTestPlatform',':hookAnalyticsId','../../../helpers/test-observability/sessionHandler','bind','hook_data','[obsReporter]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','WTtOG','TestRunStarted','STATE_PENDING','toString','testStarted','testAnalyticsId','KPIBV','CFKiN','_paths','test','cxFIx','RBAqD','zntKN','tomZl',':testAnalyticsId','stack-trace','nOHnu','XDSyy','passed','QnFFE','call','mapTestHooks','isJestInternalHook','parent','_gitConfigPath','xsQkB','AKBjI','FvgbN','failure_type','testObservability',',\x20totalLogs:\x20','ROOT_DESCRIBE_BLOCK','util','KVxeJ','Exception\x20in\x20getting\x20file\x20for\x20hook\x20','Ebueg','err','HCVJA',':jest-','_gitConfigured','UWYfH','tnQYm','./test-details','expanded','qIqmi','../../utils/constants','hooks','test_run_uuid','toISOString',',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow','getPackageVersion','YWPwB','getRootParentFile','AFTER_EACH','current_test','tRINz','nHEKj','nNTze','hookAnalyticsId','_cachedIntegrations','LbFrp','lIMGs','forEach','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','Gapaz','.git','../../v2/browserstackCLI','reverse','location_prefix','tjaaI','bs:addPlatformDetails:','getName','result','eTyuT','generic','gmwip','match','rzmHp','PoqVF','retryOf','[obsReporter]\x20appendTestItemLog:\x20Invalid\x20or\x20missing\x20testIdentifier\x20format:\x20','bnfBL','../../../helpers/helper','puppeteer','beforeAll','getAllData','failure_reason','ZUcTD','HookRun','mgDqc','21oODvzk','getInstance','3|1|7|4|8|6|5|2|0','MiAho','PAsnB','__workerDetails','TUWrk','TestRunFinished','duration','length','MjUqH','../../../helpers/testhub/utils','root','Hqgfw','hook_run_uuid','qwZSL','type','path','getTestUUID','backtrace','3|2|4|0|1','failed\x20to\x20get\x20root\x20parent\x20file\x20','TUAWx','8RIadnK','../../../helpers/test-observability/error-handler','kSuXI','wsNpd','includes','HookRunFinished','isRunning','WLGCF','2331905gQEEDV','relative','../../v2/framework/constants/testFrameworkConstants','now','markedStatus','getHierarchy','lwlTc','LogCreated','xHIPs','CQJUU','getActiveHook','current_hook','_testResults','APTuS','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','File\x20path\x20could\x20not\x20be\x20found','BEFORE_EACH','splice','TlyJk','9312QwwSAZ','currentHook','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','voeCv','WVrnL','AsSno','39110yEhgJW','OHcOv','asyncError','STATE_PASSED','failure_backtrace','OWlCF','finished_at','getTestEnv','\x20to\x20log','TEST_REPORTING_ANALYTICS','ufvBu','FtvAe','failed','getHooksForTest','sendTestRunEvent','integrations','easNU','inspect','addMultipleEntries','bs:addLog:','beforeEach','statSync','started_at','jest-circus','appendTestItemLog','VaxUt','prefixTestPath','uuid','analyticsResult','yDlsR','DfDXk',',\x20testIdentifier=','hook_type','resolveInstance','RQujK','hjxMM','zQhqK','[obsReporter]\x20appendTestItemLog:\x20Attached\x20hook_run_uuid=','resetTestHooks','_pendingHookUploads','hook_run','ZDNim','name','hook_failure','ObservabilityReporter','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','[obsReporter]\x20appendTestItemLog:\x20Error\x20in\x20Jest+Playwright\x20flow\x20detection:\x20','2927834YKnUBC','function','dbtxU',',\x20logKind=','KEY_LOGS','xDtWB','unknown','BEFORE_ALL','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20-\x20hookUUID=','DjapO','RwRjm','cwd','setTestUUID','\x20with\x20error\x20:\x20','sYNLO','errorsDetailed','../../../helpers/test-observability/utils','registerListeners','getTestFramework','[obsReporter]\x20appendTestItemLog:\x20Jest+Playwright/Puppeteer\x20CLI\x20flow\x20detected,\x20using\x20in-memory\x20storage','cEYmx','[obsReporter]\x20appendTestItemLog:\x20Stored\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier=','findGitConfig','1155480EGMJrY','[obsReporter]\x20appendTestItemLog:\x20Using\x20testIdentifier\x20from\x20global.__jestCurrentTestIdentifier:\x20','test_run','hZSsa','push','pid','7599393pvSpII','PKOzk','LeYER','apply'];a27_0x13f5=function(){return _0x258818;};return a27_0x13f5();}const HOOK_TYPES_MAP=a27_0x1f9ceb;module['exports']=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x394455=a27_0x49a557,_0x3df7aa={'uyqZM':_0x394455(0x11a),'hmmEJ':function(_0x243b33){return _0x243b33();}},_0x3612c7=_0x3df7aa['uyqZM'][_0x394455(0x1ba)]('|');let _0x2700d6=0x0;while(!![]){switch(_0x3612c7[_0x2700d6++]){case'0':this[_0x394455(0x177)]=[];continue;case'1':this[_0x394455(0x143)]=[];continue;case'2':this[_0x394455(0x206)]=null;continue;case'3':this[_0x394455(0x1e8)]=_0x3df7aa[_0x394455(0x1aa)](isTestObservabilitySession);continue;case'4':this[_0x394455(0x1d3)]=new PathHelper({'cwd':process[_0x394455(0x18a)]()},this['_testEnv'][_0x394455(0x20f)]);continue;case'5':this[_0x394455(0x1e3)]=null;continue;case'6':this[_0x394455(0x1f2)]=![];continue;case'7':this['_testEnv']=this[_0x394455(0x157)]();continue;case'8':this[_0x394455(0x1c9)]=[];continue;}break;}}[a27_0x49a557(0x157)]=()=>{const _0xb43d82=a27_0x49a557,_0x966cd0={'mgDqc':_0xb43d82(0x108),'PoqVF':function(_0x29d6e0){return _0x29d6e0();}};return{'ci':_0x966cd0[_0xb43d82(0x117)],'key':_0x966cd0[_0xb43d82(0x10c)](uuidv4),'version':version,'collector':'js-'+name};};[a27_0x49a557(0x190)](){const _0x38224a=a27_0x49a557;process[_0x38224a(0x1a5)](_0x38224a(0x163)+process[_0x38224a(0x19b)]),process['on'](_0x38224a(0x163)+process[_0x38224a(0x19b)],this[_0x38224a(0x168)][_0x38224a(0x1c8)](this)),process[_0x38224a(0x1a5)](_0x38224a(0x211)+process['pid']),process['on'](_0x38224a(0x211)+process['pid'],this[_0x38224a(0x1c5)][_0x38224a(0x1c8)](this));}[a27_0x49a557(0x1cf)]=async _0x1b40e9=>{const _0x5d6122=a27_0x49a557,_0x4052f8={'WTtOG':function(_0x1d451,_0x56cbfb){return _0x1d451>_0x56cbfb;},'poMNg':function(_0x159a29,_0x27e8ad){return _0x159a29===_0x27e8ad;},'pqQmI':_0x5d6122(0x1cc),'lwlTc':function(_0x4c7ad6,_0x161235){return _0x4c7ad6(_0x161235);}};try{const _0x169f74=this['current_test'];this[_0x5d6122(0x201)]=_0x1b40e9,_0x1b40e9[_0x5d6122(0x10d)]=null,_0x1b40e9['testAnalyticsId']=TestDetails[_0x5d6122(0x18b)](process['pid']+_0x5d6122(0x1d9)),_0x1b40e9[_0x5d6122(0x166)]=new Date()[_0x5d6122(0x1fb)](),_0x4052f8[_0x5d6122(0x1cb)](_0x1b40e9['_currentRetry'],0x0)&&_0x169f74&&_0x4052f8['poMNg'](_0x169f74['title'],_0x1b40e9[_0x5d6122(0x1ab)])?(_0x1b40e9[_0x5d6122(0x10d)]=_0x169f74['testAnalyticsId'],await this[_0x5d6122(0x15e)](_0x1b40e9,undefined,![],_0x4052f8[_0x5d6122(0x1b8)]),_0x169f74['state']=STATE_FAILED,await this[_0x5d6122(0x15e)](_0x169f74,undefined,!![])):await this['sendTestRunEvent'](_0x1b40e9,undefined,![],_0x4052f8[_0x5d6122(0x1b8)]);}catch(_0x42ca71){_0x4052f8[_0x5d6122(0x13d)](debug,_0x5d6122(0x14c)+_0x42ca71);}};[a27_0x49a557(0x212)](_0x48336d){const _0x4325c1=a27_0x49a557,_0x262a34={};_0x262a34[_0x4325c1(0x207)]=function(_0x24bfe9,_0x3e1079){return _0x24bfe9!==_0x3e1079;},_0x262a34[_0x4325c1(0x18d)]=_0x4325c1(0x1d4);const _0x12c72a=_0x262a34;if(_0x12c72a['LbFrp'](_0x48336d[_0x4325c1(0x128)],_0x12c72a[_0x4325c1(0x18d)]))return'\x22'+_0x48336d[_0x4325c1(0x128)]+'\x22\x20hook\x20for\x20\x22'+(_0x48336d[_0x4325c1(0x1e2)]&&_0x48336d[_0x4325c1(0x1e2)]['name'])+'\x22';return _0x48336d[_0x4325c1(0x17a)];}[a27_0x49a557(0x15e)]=async(_0x3948d2,_0x57bd75=undefined,_0x314e5c=![],_0x4cbcdf=a27_0x49a557(0x11f))=>{const _0x338370=a27_0x49a557,_0x471a32={'AKwXw':_0x338370(0x12c),'HCVJA':_0x338370(0x178),'nNTze':_0x338370(0x114),'xHIPs':_0x338370(0x198),'tSJIY':_0x338370(0x1e7),'RQujK':'failure','nOHnu':_0x338370(0x106),'WKCFt':function(_0x3e7a68,_0x5d8b22){return _0x3e7a68(_0x5d8b22);},'nHEKj':'jest-circus','UWYfH':function(_0x1b19e6,_0x2e9008){return _0x1b19e6(_0x2e9008);},'LIRJH':_0x338370(0x1eb),'gmwip':function(_0x3dbb1c,_0xc9b2b5){return _0x3dbb1c!==_0xc9b2b5;},'KPIBV':_0x338370(0x1d4),'TlyJk':_0x338370(0x1ef),'ufvBu':function(_0x33b162,_0x90b8b6){return _0x33b162!==_0x90b8b6;},'qwZSL':function(_0x43debd,_0x42429f){return _0x43debd!==_0x42429f;},'FtvAe':_0x338370(0x146),'kLmZE':'javascript','qIqmi':function(_0x466aef,_0x4bbaff){return _0x466aef===_0x4bbaff;},'dbtxU':'TestRunSkipped','QnFFE':'skipped','eTyuT':function(_0x18cbc8,_0x1a406f){return _0x18cbc8>_0x1a406f;},'YmdrS':_0x338370(0x15c),'TUWrk':_0x338370(0x1dd),'LDViu':function(_0x49f047,_0x45bf6c){return _0x49f047-_0x45bf6c;},'tnQYm':function(_0x23c016,_0x412bb6,_0x51828f,_0x7c6cbf,_0x28bf7f){return _0x23c016(_0x412bb6,_0x51828f,_0x7c6cbf,_0x28bf7f);},'RwRjm':_0x338370(0x166),'LeYER':_0x338370(0x156),'OWlCF':function(_0x32a94c,_0x526d28){return _0x32a94c===_0x526d28;},'voeCv':_0x338370(0x134),'lIMGs':_0x338370(0x154),'hjxMM':_0x338370(0x12b),'xDtWB':_0x338370(0x1b4),'miyfh':_0x338370(0x1f6),'tjaaI':_0x338370(0x11f),'zQhqK':function(_0x2aa11f,_0x5802ae){return _0x2aa11f===_0x5802ae;},'AsSno':_0x338370(0x170),'fViUA':function(_0x5cf2f6,_0x85e0c){return _0x5cf2f6===_0x85e0c;},'tGbAr':function(_0x3b6b92,_0x2302b8){return _0x3b6b92===_0x2302b8;},'zntKN':_0x338370(0x112),'boGhz':_0x338370(0x116),'NJwax':_0x338370(0x15f),'bnfBL':function(_0x3f2ade,_0x17058b,_0x188f0b){return _0x3f2ade(_0x17058b,_0x188f0b);}};try{if(_0x3948d2['fn']&&_0x3948d2['fn'][_0x338370(0x1ce)]()['match'](/browserstack internal helper hook/))return;await this['configureGit']();let _0x541a34;try{_0x541a34=this[_0x338370(0x1ff)](_0x3948d2);}catch(_0x55ad33){_0x471a32['WKCFt'](debug,_0x338370(0x12d)+_0x55ad33),_0x541a34=null;}if(_0x541a34[_0x338370(0x133)](_0x471a32[_0x338370(0x203)]))return;const _0x2be651=_0x471a32[_0x338370(0x1f3)](require,_0x471a32[_0x338370(0x1c2)]);let _0x5352a6=[];if(_0x471a32[_0x338370(0x109)](_0x3948d2[_0x338370(0x18e)],undefined))_0x5352a6=[_0x3948d2[_0x338370(0x18e)],_0x471a32[_0x338370(0x1d1)]];else _0x471a32[_0x338370(0x109)](_0x57bd75,undefined)?_0x5352a6=[_0x57bd75,_0x471a32[_0x338370(0x149)]]:_0x5352a6=[];const _0x477314=_0x471a32[_0x338370(0x15a)](_0x3948d2[_0x338370(0x18e)],undefined)?_0x2be651[_0x338370(0x161)](_0x3948d2[_0x338370(0x18e)][0x0]):_0x471a32[_0x338370(0x127)](_0x57bd75,undefined)?_0x57bd75[_0x338370(0x1ce)]():undefined,_0x12b99e=_0x541a34?this[_0x338370(0x1d3)][_0x338370(0x16a)](this[_0x338370(0x1ff)](_0x3948d2)):_0x471a32[_0x338370(0x15b)],_0x2f2de2={'framework':FRAMEWORKS['JEST'],'uuid':_0x3948d2[_0x338370(0x1d0)]||_0x3948d2['hookAnalyticsId'],'name':this[_0x338370(0x212)](_0x3948d2),'body':{'lang':_0x471a32['kLmZE'],'code':_0x3948d2['fn'][_0x338370(0x1ce)]()},'scopes':this['getHierarchy'](_0x3948d2),'file_name':_0x12b99e,'vc_filepath':this['_gitConfigPath']&&_0x541a34?path[_0x338370(0x138)](this[_0x338370(0x1e3)],_0x541a34):null,'location':_0x12b99e,'result':_0x471a32[_0x338370(0x1f7)](_0x4cbcdf,_0x471a32[_0x338370(0x181)])?_0x471a32[_0x338370(0x1de)]:this['analyticsResult'](_0x3948d2[_0x338370(0x18e)]&&_0x471a32[_0x338370(0x107)](_0x3948d2[_0x338370(0x18e)]['length'],0x0)?_0x471a32[_0x338370(0x1a6)]:_0x471a32[_0x338370(0x11e)]),'failure_reason':_0x477314,'duration_in_ms':_0x3948d2[_0x338370(0x120)]||(_0x4cbcdf[_0x338370(0x10a)](/Finished/)||_0x4cbcdf[_0x338370(0x10a)](/Skipped/)?_0x471a32[_0x338370(0x1a3)](Date[_0x338370(0x13a)](),new Date(_0x3948d2['started_at'])[_0x338370(0x1b2)]()):null),'started_at':_0x3948d2['started_at'],'finished_at':_0x4cbcdf[_0x338370(0x10a)](/Finished/)||_0x4cbcdf[_0x338370(0x10a)](/Skipped/)?new Date()[_0x338370(0x1fb)]():null,'failure':failureData[_0x338370(0x19f)](null,_0x5352a6),'failure_type':!_0x477314?null:_0x471a32[_0x338370(0x1f3)](getFailureType,_0x477314),'retry_of':_0x3948d2[_0x338370(0x10d)]};_0x471a32[_0x338370(0x1f4)](appendTesthubParams,_0x2f2de2,_0x4cbcdf,_0x3948d2,FRAMEWORKS['JEST']);_0x471a32[_0x338370(0x1f7)](_0x4cbcdf,_0x471a32[_0x338370(0x181)])&&!_0x2f2de2[_0x471a32[_0x338370(0x189)]]&&(_0x2f2de2[_0x471a32[_0x338370(0x189)]]=_0x2f2de2[_0x471a32[_0x338370(0x19e)]]);if(_0x4cbcdf['match'](/HookRun/))[_0x2f2de2[_0x338370(0x170)],_0x2f2de2['name']]=[_0x3948d2[_0x338370(0x128)],this[_0x338370(0x212)](_0x3948d2)],_0x471a32[_0x338370(0x155)](_0x4cbcdf,_0x471a32[_0x338370(0x14d)])&&(_0x471a32[_0x338370(0x15a)](_0x2f2de2[_0x338370(0x106)],_0x471a32[_0x338370(0x1a6)])&&(_0x2f2de2[_0x338370(0x106)]=_0x471a32[_0x338370(0x11e)]));else _0x4cbcdf[_0x338370(0x10a)](/TestRun/)&&this[_0x338370(0x1e0)](_0x3948d2);const _0x2e847a=_0x2f2de2[_0x471a32[_0x338370(0x172)]][0x0];_0x2e847a&&(_0x2f2de2[_0x471a32[_0x338370(0x208)]]=_0x2e847a[_0x471a32[_0x338370(0x173)]],_0x2f2de2[_0x471a32[_0x338370(0x184)]]=_0x2e847a[_0x471a32['miyfh']]);[_0x471a32[_0x338370(0x210)],_0x471a32['dbtxU']]['includes'](_0x4cbcdf)&&(this[_0x338370(0x143)][_0x338370(0x19a)](_0x2f2de2),_0x2f2de2['hooks']=this[_0x338370(0x15d)](_0x3948d2),this['resetTestHooks'](_0x3948d2));const _0x1cb5bb={'event_type':_0x471a32[_0x338370(0x174)](_0x4cbcdf,_0x471a32[_0x338370(0x181)])?_0x471a32[_0x338370(0x210)]:_0x4cbcdf};_0x4cbcdf[_0x338370(0x10a)](/HookRun/)?(_0x2f2de2[_0x471a32[_0x338370(0x14f)]]=HOOK_TYPES_MAP[_0x2f2de2[_0x471a32['AsSno']]],_0x1cb5bb[_0x471a32['HCVJA']]=_0x2f2de2):_0x1cb5bb[_0x471a32['xHIPs']]=_0x2f2de2;_0x471a32[_0x338370(0x107)](this['hook_data'][_0x338370(0x121)],0x0)&&[_0x471a32['tjaaI'],_0x471a32['dbtxU']][_0x338370(0x133)](_0x4cbcdf)&&(this['hook_data'][_0x338370(0x209)](async _0x2c0a16=>{const _0x5727c1=_0x338370,_0xb8b211=_0x471a32[_0x5727c1(0x1af)][_0x5727c1(0x1ba)]('|');let _0x1a39bf=0x0;while(!![]){switch(_0xb8b211[_0x1a39bf++]){case'0':_0x2c0a16[_0x471a32[_0x5727c1(0x1f0)]][_0x471a32[_0x5727c1(0x204)]]=_0x1cb5bb[_0x471a32[_0x5727c1(0x13f)]][_0x471a32[_0x5727c1(0x204)]];continue;case'1':await SessionHandler[_0x5727c1(0x1a7)](_0x2c0a16);continue;case'2':_0x2c0a16[_0x471a32['HCVJA']][_0x471a32['tSJIY']]=_0x1cb5bb[_0x471a32[_0x5727c1(0x13f)]][_0x471a32[_0x5727c1(0x1ad)]];continue;case'3':_0x2c0a16[_0x471a32[_0x5727c1(0x1f0)]][_0x471a32[_0x5727c1(0x172)]]=_0x1cb5bb[_0x471a32[_0x5727c1(0x13f)]][_0x471a32[_0x5727c1(0x172)]];continue;case'4':_0x2c0a16[_0x471a32['HCVJA']][_0x471a32[_0x5727c1(0x1db)]]=_0x1cb5bb[_0x471a32[_0x5727c1(0x13f)]][_0x471a32[_0x5727c1(0x1db)]];continue;}break;}}),this['hook_data']=[]);if(_0x471a32['fViUA'](this[_0x338370(0x17b)],_0x3948d2['type'])){this[_0x338370(0x1c9)][_0x338370(0x19a)](_0x1cb5bb);return;}_0x471a32['tGbAr'](this[_0x338370(0x17b)],_0x471a32[_0x338370(0x1d7)])&&_0x1cb5bb[_0x471a32[_0x338370(0x13f)]]&&(_0x1cb5bb[_0x471a32[_0x338370(0x13f)]][_0x471a32[_0x338370(0x1db)]]=_0x471a32[_0x338370(0x1de)],_0x1cb5bb[_0x471a32[_0x338370(0x13f)]][_0x471a32[_0x338370(0x172)]]=null,_0x1cb5bb[_0x471a32[_0x338370(0x13f)]][_0x471a32[_0x338370(0x1ad)]]=null);if(_0x4cbcdf[_0x338370(0x133)](_0x471a32[_0x338370(0x1b5)])&&_0x1cb5bb[_0x471a32[_0x338370(0x1f0)]]){if(this['_cachedIntegrations'])_0x1cb5bb[_0x471a32[_0x338370(0x1f0)]][_0x471a32[_0x338370(0x1c0)]]=this[_0x338370(0x206)];else{this[_0x338370(0x177)][_0x338370(0x19a)](_0x1cb5bb);return;}}_0x471a32[_0x338370(0x10f)](setCurrentTestData,FRAMEWORKS[_0x338370(0x1ac)],_0x1cb5bb),await SessionHandler['uploadEventData'](_0x1cb5bb);}catch(_0x228466){_0x471a32[_0x338370(0x1f3)](debug,_0x338370(0x145)+_0x4cbcdf+_0x338370(0x18c)+_0x228466);}};['findGitConfig'](_0x4b77dc){const _0x17b532=a27_0x49a557,_0x1296fc={};_0x1296fc[_0x17b532(0x1ee)]=function(_0x18afd7,_0x3831b7){return _0x18afd7==_0x3831b7;},_0x1296fc[_0x17b532(0x1bf)]=function(_0x2049c1,_0x41f7d5){return _0x2049c1===_0x41f7d5;},_0x1296fc[_0x17b532(0x1e5)]=_0x17b532(0x20c),_0x1296fc[_0x17b532(0x144)]='config';const _0x458961=_0x1296fc,_0x397bd6=path[_0x17b532(0x1b1)];if(_0x458961[_0x17b532(0x1ee)](_0x4b77dc,null)||_0x458961[_0x17b532(0x1bf)](_0x4b77dc,'')||_0x458961['pDIYN'](_0x4b77dc,_0x397bd6)||_0x458961[_0x17b532(0x1bf)](_0x4b77dc,path[_0x17b532(0x1a9)](_0x4b77dc)))return null;try{return fs[_0x17b532(0x165)](path['join'](_0x4b77dc,_0x458961[_0x17b532(0x1e5)],_0x458961['APTuS'])),_0x4b77dc;}catch(_0x225b99){const _0x3e3f32=path[_0x17b532(0x1a9)](_0x4b77dc);return this[_0x17b532(0x195)](_0x3e3f32);}}[a27_0x49a557(0x168)]=async _0x4e36cd=>{const _0x289261=a27_0x49a557,_0x1b01cc={'rzmHp':_0x289261(0x1a4),'EgPvS':_0x289261(0x1b3),'wsNpd':_0x289261(0x111),'Gapaz':function(_0x2ac3fe,_0x344541){return _0x2ac3fe||_0x344541;},'KVxeJ':function(_0x8de07f,_0x4d56ae){return _0x8de07f(_0x4d56ae);},'RLQuf':_0x289261(0x192),'MjUqH':function(_0x334b18,_0x459323){return _0x334b18&&_0x459323;},'WLGCF':function(_0x1a83df,_0x2bb735){return _0x1a83df(_0x2bb735);},'DjapO':_0x289261(0x1f1),'WVrnL':function(_0xc2243c,_0x4949d3){return _0xc2243c(_0x4949d3);},'XENyV':function(_0x586233,_0x2f3c83){return _0x586233(_0x2f3c83);},'RgsaI':'../../v2/state/testFrameworkState','ZUcTD':function(_0x199a9d,_0x519594){return _0x199a9d(_0x519594);},'FvgbN':'../../v2/state/hookState','KJyYd':_0x289261(0x139),'DfDXk':function(_0x275159,_0xdef5b5){return _0x275159===_0xdef5b5;},'easNU':_0x289261(0x180),'gJosK':function(_0x36f45e,_0x542689){return _0x36f45e(_0x542689);},'hZSsa':_0x289261(0x185),'cxFIx':function(_0x5a3718,_0x28156f){return _0x5a3718(_0x28156f);},'SgJkD':_0x289261(0x13e),'TUAWx':function(_0x5159ca,_0x3ea4a6){return _0x5159ca(_0x3ea4a6);}};try{const _0x583b51=helper[_0x289261(0x1fd)](_0x1b01cc[_0x289261(0x10b)]),_0x558bb2=!!_0x583b51,_0x5ed02a=helper[_0x289261(0x1fd)](_0x1b01cc[_0x289261(0x1a0)])||helper['getPackageVersion'](_0x1b01cc[_0x289261(0x132)]),_0x272b16=!!_0x5ed02a,_0x35fd14=BrowserstackCLI[_0x289261(0x119)]()['isCliEnabled']()&&BrowserstackCLI[_0x289261(0x119)]()[_0x289261(0x135)]();if(_0x1b01cc[_0x289261(0x20b)](_0x558bb2,_0x272b16)&&_0x35fd14){_0x1b01cc['KVxeJ'](debug,_0x1b01cc[_0x289261(0x1b0)]);let _0x5bc416=null,_0x3061a8=null;if(global[_0x289261(0x11d)]&&global[_0x289261(0x11d)][_0x289261(0x14b)]){const _0x1422cf=global[_0x289261(0x11d)][_0x289261(0x14b)];_0x3061a8=_0x1422cf[_0x289261(0x1be)],_0x5bc416=_0x1422cf['testIdentifier'],_0x1b01cc[_0x289261(0x1ec)](debug,_0x289261(0x187)+_0x3061a8+_0x289261(0x16f)+_0x5bc416);}!_0x5bc416&&(_0x5bc416=global[_0x289261(0x1b7)],_0x1b01cc['KVxeJ'](debug,_0x289261(0x197)+_0x5bc416));if(_0x1b01cc[_0x289261(0x122)](!_0x3061a8,_0x5bc416)){const _0x236726=BrowserstackCLI[_0x289261(0x119)]()[_0x289261(0x191)]();if(_0x236726&&_0x236726[_0x289261(0x141)]){const _0x40227a=_0x236726[_0x289261(0x141)](_0x5bc416);_0x40227a&&_0x40227a['hookUUID']&&(_0x3061a8=_0x40227a[_0x289261(0x1be)],_0x1b01cc[_0x289261(0x136)](debug,_0x289261(0x1bc)+_0x3061a8+_0x289261(0x16f)+_0x5bc416));}}if(!_0x5bc416||!_0x5bc416['includes'](_0x1b01cc[_0x289261(0x188)]))_0x1b01cc['WVrnL'](debug,_0x289261(0x10e)+_0x5bc416+_0x289261(0x1fc));else{_0x3061a8&&(_0x4e36cd['hook_run_uuid']=_0x3061a8,_0x1b01cc[_0x289261(0x1ec)](debug,_0x289261(0x175)+_0x3061a8+_0x289261(0x158)));_0x4e36cd['test_identifier']=_0x5bc416,_0x1b01cc[_0x289261(0x14e)](debug,'[obsReporter]\x20appendTestItemLog:\x20Attached\x20test_identifier='+_0x5bc416+_0x289261(0x158));const _0x24fa5a=BrowserstackCLI['getInstance']()[_0x289261(0x191)]();if(_0x24fa5a){const _0x5342de=_0x1b01cc['XENyV'](require,_0x1b01cc['RgsaI']),_0x39f871=_0x1b01cc[_0x289261(0x115)](require,_0x1b01cc[_0x289261(0x1e6)]),_0x118e3c=_0x1b01cc[_0x289261(0x136)](require,_0x1b01cc['KJyYd']),_0x5deac3=_0x24fa5a[_0x289261(0x171)](_0x5342de[_0x289261(0x1b6)],_0x39f871['POST']);if(_0x5deac3&&_0x1b01cc[_0x289261(0x16e)](typeof _0x5deac3[_0x289261(0x162)],_0x1b01cc[_0x289261(0x160)])){const _0x532a72=_0x5deac3[_0x289261(0x113)]()['get'](_0x5bc416)||{},_0x250a69=_0x532a72[_0x118e3c[_0x289261(0x183)]]||[],_0x2cd5d9=[..._0x250a69,_0x4e36cd],_0x2cc519={[_0x118e3c[_0x289261(0x183)]]:_0x2cd5d9},_0x2db239={};_0x2db239[_0x5bc416]=_0x2cc519,_0x5deac3[_0x289261(0x162)](_0x2db239),_0x1b01cc['gJosK'](debug,_0x289261(0x194)+_0x5bc416+_0x289261(0x182)+(_0x4e36cd['kind']||_0x1b01cc[_0x289261(0x199)])+_0x289261(0x1e9)+_0x2cd5d9[_0x289261(0x121)]);return;}_0x1b01cc['WLGCF'](debug,'[obsReporter]\x20appendTestItemLog:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20testIdentifier='+_0x5bc416+_0x289261(0x1fc));}}}}catch(_0x4da35a){_0x1b01cc[_0x289261(0x1d5)](debug,_0x289261(0x17e)+_0x4da35a+_0x289261(0x1fc));}const _0x58afb9=TestDetails['getTestUUID'](process[_0x289261(0x19b)]+':hookAnalyticsId'),_0x7f8a65=TestDetails[_0x289261(0x12a)](process[_0x289261(0x19b)]+_0x289261(0x1d9));try{(_0x58afb9||this[_0x289261(0x142)]&&!this[_0x289261(0x142)][_0x289261(0x13b)])&&(_0x4e36cd['hook_run_uuid']=_0x58afb9);!_0x4e36cd[_0x289261(0x126)]&&_0x7f8a65&&(_0x4e36cd[_0x289261(0x1fa)]=_0x7f8a65);if(_0x4e36cd[_0x289261(0x126)]||_0x4e36cd[_0x289261(0x1fa)]){const _0x382bc1={};_0x382bc1[_0x289261(0x1a2)]=_0x1b01cc['SgJkD'],_0x382bc1[_0x289261(0x1bd)]=[_0x4e36cd],await SessionHandler[_0x289261(0x1a7)](_0x382bc1);}}catch(_0x2a318d){_0x1b01cc[_0x289261(0x12e)](debug,_0x289261(0x20a)+constants[_0x289261(0x159)]+_0x289261(0x18c)+_0x2a318d);}};[a27_0x49a557(0x1c5)]=async _0x35044e=>{const _0x58a730=a27_0x49a557,_0xe34087={'xsQkB':'http_response','eVrCl':'CBTSessionCreated','CFKiN':function(_0x1ff9bc,_0xce6a7c){return _0x1ff9bc>_0xce6a7c;},'RBAqD':_0x58a730(0x178),'CQJUU':function(_0x418a81,_0x3cdb49,_0x19e0a9){return _0x418a81(_0x3cdb49,_0x19e0a9);},'ZDNim':function(_0x41efb6,_0x3488dc){return _0x41efb6(_0x3488dc);},'tomZl':function(_0x3bba83,_0x1bd184){return _0x3bba83(_0x1bd184);}};try{const _0x156ee5=_0x35044e&&_0x35044e[_0xe34087[_0x58a730(0x1e4)]];_0x156ee5&&(this[_0x58a730(0x206)]=_0x156ee5);const _0x5ad8c3={'uuid':_0x35044e['uuid']||TestDetails[_0x58a730(0x12a)](process[_0x58a730(0x19b)]+_0x58a730(0x1d9)),'integrations':_0x156ee5},_0xa0cf0c={};_0xa0cf0c[_0x58a730(0x1a2)]=_0xe34087['eVrCl'],_0xa0cf0c[_0x58a730(0x198)]=_0x5ad8c3,await SessionHandler[_0x58a730(0x1a7)](_0xa0cf0c);if(_0x156ee5&&_0xe34087[_0x58a730(0x1d2)](this[_0x58a730(0x177)][_0x58a730(0x121)],0x0)){const _0x26f385=this[_0x58a730(0x177)][_0x58a730(0x148)](0x0,this[_0x58a730(0x177)][_0x58a730(0x121)]);for(const _0x46aec6 of _0x26f385){try{const _0x17b578=_0x46aec6&&_0x46aec6[_0xe34087[_0x58a730(0x1d6)]]?{..._0x46aec6,'hook_run':{..._0x46aec6[_0xe34087[_0x58a730(0x1d6)]],'integrations':_0x156ee5}}:_0x46aec6;_0xe34087[_0x58a730(0x140)](setCurrentTestData,FRAMEWORKS[_0x58a730(0x1ac)],_0x17b578),await SessionHandler[_0x58a730(0x1a7)](_0x17b578);}catch(_0x1bdf48){_0xe34087[_0x58a730(0x179)](debug,_0x58a730(0x1a8)+_0x1bdf48);}}}}catch(_0x8ce00f){_0xe34087[_0x58a730(0x1d8)](debug,_0x58a730(0x17d)+constants[_0x58a730(0x159)]+'\x20with\x20error\x20:\x20'+_0x8ce00f);}};async['configureGit'](){const _0x34b98b=a27_0x49a557,_0x52e777={'OHcOv':function(_0x2256e1){return _0x2256e1();}};if(this[_0x34b98b(0x1f2)])return this[_0x34b98b(0x1e3)];const _0xe512a9=await _0x52e777[_0x34b98b(0x151)](getGitMetaData);_0xe512a9&&(this['_gitConfigPath']=_0xe512a9[_0x34b98b(0x124)]),this[_0x34b98b(0x1f2)]=!![];}[a27_0x49a557(0x16c)](_0x201bb3){const _0x363470=a27_0x49a557,_0x1eb8d2={};_0x1eb8d2[_0x363470(0x202)]=_0x363470(0x1dd),_0x1eb8d2['tXDhw']='pending',_0x1eb8d2[_0x363470(0x19d)]=_0x363470(0x15c);const _0x11597f=_0x1eb8d2,_0x252969={};return _0x252969[STATE_PASSED]=_0x11597f[_0x363470(0x202)],_0x252969[STATE_PENDING]=_0x11597f['tXDhw'],_0x252969[STATE_FAILED]=_0x11597f[_0x363470(0x19d)],_0x252969[_0x201bb3];}['getHierarchy'](_0xc924d0){const _0x1a2419=a27_0x49a557,_0x1c0822={};_0x1c0822[_0x1a2419(0x11c)]=function(_0x2fd58b,_0x5f3dab){return _0x2fd58b!==_0x5f3dab;},_0x1c0822['UFVgT']=_0x1a2419(0x1ea);const _0x2700b5=_0x1c0822,_0x1f40b8=[];if(_0xc924d0&&_0xc924d0[_0x1a2419(0x1e2)]){let _0x40a21b=_0xc924d0[_0x1a2419(0x1e2)];while(_0x40a21b&&_0x2700b5[_0x1a2419(0x11c)](_0x40a21b[_0x1a2419(0x17a)],'')&&_0x2700b5['PAsnB'](_0x40a21b[_0x1a2419(0x17a)],_0x2700b5['UFVgT'])){_0x1f40b8[_0x1a2419(0x19a)](_0x40a21b[_0x1a2419(0x17a)]),_0x40a21b=_0x40a21b[_0x1a2419(0x1e2)];}}return _0x1f40b8[_0x1a2419(0x20e)](),_0x1f40b8;}[a27_0x49a557(0x1ff)]=_0x12cb33=>{const _0x55cd34=a27_0x49a557,_0x17fec9={'Hqgfw':function(_0x29491e,_0x1caaec){return _0x29491e(_0x1caaec);},'VaxUt':function(_0x48848c,_0x3e4528){return _0x48848c(_0x3e4528);}};if(_0x12cb33['file'])return _0x12cb33['file'];if(_0x12cb33[_0x55cd34(0x152)]){const _0x433dcc=stackTrace[_0x55cd34(0x1bb)][_0x55cd34(0x1df)](stackTrace,_0x12cb33[_0x55cd34(0x152)]),_0xf04708=_0x17fec9[_0x55cd34(0x125)](pickUserFrameFile,_0x433dcc);if(_0xf04708)return _0xf04708;_0x17fec9[_0x55cd34(0x169)](debug,_0x55cd34(0x1ca)+_0x433dcc[_0x55cd34(0x121)]+')');}return null;};[a27_0x49a557(0x1e0)]=_0x3d1bd2=>{const _0x21c0d1=a27_0x49a557;if(!_0x3d1bd2||!_0x3d1bd2[_0x21c0d1(0x1e2)])return;_0x3d1bd2[_0x21c0d1(0x1e2)][_0x21c0d1(0x1f9)][_0x21c0d1(0x209)](_0x2c4ad4=>{const _0x1fd844=_0x21c0d1;!_0x2c4ad4['hookAnalyticsId']&&(_0x2c4ad4[_0x1fd844(0x205)]=TestDetails[_0x1fd844(0x18b)](process[_0x1fd844(0x19b)]+_0x1fd844(0x1c6)));}),this[_0x21c0d1(0x1e0)](_0x3d1bd2[_0x21c0d1(0x1e2)]);};[a27_0x49a557(0x176)]=_0x527cc3=>{const _0x9b5ccd=a27_0x49a557,_0x59384d={};_0x59384d[_0x9b5ccd(0x193)]='beforeEach',_0x59384d[_0x9b5ccd(0x1dc)]=_0x9b5ccd(0x1ae);const _0x45cf69=_0x59384d;if(!_0x527cc3||!_0x527cc3[_0x9b5ccd(0x1e2)])return;_0x527cc3[_0x9b5ccd(0x1e2)][_0x9b5ccd(0x1f9)]['forEach'](_0x33f414=>{const _0x217136=_0x9b5ccd;[_0x45cf69[_0x217136(0x193)],_0x45cf69['XDSyy']][_0x217136(0x133)](_0x33f414[_0x217136(0x128)])&&_0x33f414['hookAnalyticsId']&&(_0x33f414['hookAnalyticsId']=null);}),this[_0x9b5ccd(0x1e0)](_0x527cc3[_0x9b5ccd(0x1e2)]);};[a27_0x49a557(0x1e1)](_0x1e74b5){const _0x45e739=a27_0x49a557,_0x3b49c5={'yDlsR':_0x45e739(0x167),'KdROB':function(_0xc46e3d,_0xbb5f41){return _0xc46e3d(_0xbb5f41);},'MiAho':function(_0x212129,_0x248471){return _0x212129+_0x248471;},'YWPwB':_0x45e739(0x1ed)};try{const _0x1e4de8=this[_0x45e739(0x1ff)](_0x1e74b5);if(!_0x1e4de8||_0x1e4de8['includes'](_0x3b49c5[_0x45e739(0x16d)]))return!![];return![];}catch(_0x58e28a){_0x3b49c5[_0x45e739(0x1c1)](debug,_0x3b49c5[_0x45e739(0x11b)](_0x3b49c5[_0x45e739(0x1fe)],_0x58e28a));}return![];}[a27_0x49a557(0x15d)]=_0x2b567d=>{const _0x28e8dc=a27_0x49a557,_0x48d4fa={'kSuXI':function(_0x2573ee,_0x1bc236){return _0x2573ee(_0x1bc236);}};if(!_0x2b567d||!_0x2b567d[_0x28e8dc(0x1e2)])return[];const _0x1307bc=[];return _0x2b567d[_0x28e8dc(0x1e2)][_0x28e8dc(0x1f9)][_0x28e8dc(0x209)](_0xc19076=>{const _0x4397eb=_0x28e8dc;_0xc19076[_0x4397eb(0x205)]&&!_0x48d4fa[_0x4397eb(0x131)](isInternalHook,_0xc19076['fn'])&&!this['isJestInternalHook'](_0xc19076)&&_0x1307bc[_0x4397eb(0x19a)](_0xc19076[_0x4397eb(0x205)]);}),[..._0x1307bc,...this[_0x28e8dc(0x15d)](_0x2b567d[_0x28e8dc(0x1e2)])];};},[a27_0x49a557(0x157),a27_0x49a557(0x190),'testStarted','getName',a27_0x49a557(0x15e),'findGitConfig',a27_0x49a557(0x168),a27_0x49a557(0x1c5),a27_0x49a557(0x16c),a27_0x49a557(0x13c),a27_0x49a557(0x1ff),a27_0x49a557(0x1e0),'resetTestHooks',a27_0x49a557(0x15d),'configureGit'],a27_0x49a557(0x17c));
1
+ const a27_0x5ccf90=a27_0x5ab7;(function(_0x4a38af,_0x1aad1f){const _0x8194a1=a27_0x5ab7,_0x3a8b40=_0x4a38af();while(!![]){try{const _0x1bfe92=parseInt(_0x8194a1(0x1c7))/0x1+parseInt(_0x8194a1(0x149))/0x2*(-parseInt(_0x8194a1(0x186))/0x3)+parseInt(_0x8194a1(0x153))/0x4*(-parseInt(_0x8194a1(0x1cf))/0x5)+-parseInt(_0x8194a1(0xe4))/0x6*(-parseInt(_0x8194a1(0x119))/0x7)+parseInt(_0x8194a1(0x16f))/0x8+-parseInt(_0x8194a1(0x166))/0x9+parseInt(_0x8194a1(0xf4))/0xa;if(_0x1bfe92===_0x1aad1f)break;else _0x3a8b40['push'](_0x3a8b40['shift']());}catch(_0x50c99c){_0x3a8b40['push'](_0x3a8b40['shift']());}}}(a27_0x1878,0xe7526));function a27_0x5ab7(_0x4d1cc0,_0x184361){const _0x187881=a27_0x1878();return a27_0x5ab7=function(_0x5ab799,_0x2a1ac6){_0x5ab799=_0x5ab799-0xd0;let _0x2159ce=_0x187881[_0x5ab799];return _0x2159ce;},a27_0x5ab7(_0x4d1cc0,_0x184361);}const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require('../../../helpers/test-observability/utils'),SessionHandler=require(a27_0x5ccf90(0xdc)),{v4:uuidv4}=require(a27_0x5ccf90(0x1de)),{name,version}=require(a27_0x5ccf90(0x1d4)),stackTrace=require(a27_0x5ccf90(0x1c0)),{pickUserFrameFile}=require('../../../helpers/stackFrameUtils'),path=require(a27_0x5ccf90(0xd7)),fs=require('fs'),TestDetails=require(a27_0x5ccf90(0xe7)),{FRAMEWORKS}=require(a27_0x5ccf90(0xda)),{o11yClassErrorHandler}=require(a27_0x5ccf90(0x126)),{getGitMetaData}=require(a27_0x5ccf90(0x17c)),helper=require(a27_0x5ccf90(0x17c)),{appendTesthubParams,setCurrentTestData}=require(a27_0x5ccf90(0xe1)),constants=require(a27_0x5ccf90(0xda)),BrowserstackCLI=require('../../v2/browserstackCLI'),a27_0x8d987b={};a27_0x8d987b[a27_0x5ccf90(0x180)]=a27_0x5ccf90(0xde),a27_0x8d987b[a27_0x5ccf90(0x13e)]='failed',a27_0x8d987b[a27_0x5ccf90(0xd9)]=a27_0x5ccf90(0x121);const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a27_0x8d987b,a27_0x90aa34={};function a27_0x1878(){const _0x1da3e0=['[obsReporter]\x20appendTestItemLog:\x20Attached\x20hook_run_uuid=','apply','tbIIG','_testEnv','hook_data','result','expanded','501473oXvTYF','yUfkN','afterAll','dirname','_gitConfigured','jest-circus','uploadEventData','javascript','pending',',\x20totalLogs:\x20','current_hook','WYCzo','tmXto','../../../helpers/test-observability/error-handler','LqSsi','isJestInternalHook','ZpmIE','OHfeC','registerListeners','LVhHK','afterEach','getRootParentFile','OwDwR','state','DFusQ','NlFpm','VWVqT','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','get','location_prefix','failed','trrOY','[obsReporter]\x20appendTestItemLog:\x20Attached\x20test_identifier=','Jlxde','0|4|3|1|2','_cachedIntegrations','mapTestHooks','STATE_FAILED','retryOf','match','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20-\x20hookUUID=','HRXil','getPackageVersion','gVoUp','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','XGCwx','WMnxL','[obsReporter]\x20appendTestItemLog:\x20Invalid\x20or\x20missing\x20testIdentifier\x20format:\x20','2lOBPmS','splice','hhXBi','NKRcf','hookUUID','cHkVP','AFTER_EACH','getHooksForTest','statSync','alVqa','916zYSSLa','test_identifier','HookRun','test','iLWvH','zLneX','TestRunStarted','markedStatus','parse','bs:addLog:','cwd','puppeteer-core','aKAmJ','kPsYo','@playwright/test','asyncError','MiXgI','../../v2/state/hookState','FrDqK','13777470snDTkt','QFZQj','_gitConfigPath','GSYSR','POST','RknYa','ZtKfq','\x22\x20hook\x20for\x20\x22','type','13580624dcJiYS','findGitConfig','hook_type','HdKqh','IpphJ','VNOcB','OSPRr','hookAnalyticsId','addMultipleEntries','AFTER_ALL','vfKzE','fMlDe','_testResults','../../../helpers/helper','DjXwB','root','vyuPo','STATE_PASSED','includes','lWsLG','[obsReporter]\x20appendTestItemLog:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20testIdentifier=','ikvqv','inspect','4368429KogZft','configureGit','hook_run_uuid','push','testStarted','unknown','getTestUUID','forEach','TestRunFinished','name','KZXAm','[obsReporter]\x20appendTestItemLog:\x20Stored\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier=','IZmWd','getName','title','getInstance',',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow','../../v2/framework/constants/testFrameworkConstants','removeAllListeners','dHKWG','resetTestHooks','generic','util','[obsReporter]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','SfveZ','File\x20path\x20could\x20not\x20be\x20found','bind','duration','failed\x20to\x20get\x20root\x20parent\x20file\x20','analyticsResult','eEfnx','lwimd','BEFORE_ALL','ObservabilityReporter','LoDIW','KHAns','logs','_pendingHookUploads',':jest-','PwcvQ','UmATK','rlxSj','hook_run','HJedH','testObservability','setTestUUID','call','file','now','TEST','PTavD','GcsJD','failure_backtrace','BWHqK','../../v2/state/testFrameworkState','beforeAll','appendTestItemLog','started_at','stack-trace','_currentRetry','function',',\x20testIdentifier=','ivwaU',':hookAnalyticsId','hOSdj','1253312KMpqTc',':testAnalyticsId','DoNyg','qxGGu','mloOg','pGISz','skipped','getActiveHook','39885aHBSjp','bs:addPlatformDetails:','bpdfg','YuCNF','qItCb','../../../../package.json','length','current_test','appendTestPlatform','test_run_uuid','TEST_REPORTING_ANALYTICS','failure','beforeEach','DXmlx','testAnalyticsId','uuid','sBCxe','NMsAD','HACWu','split','mszcT','Failed\x20to\x20flush\x20pending\x20hook\x20upload:\x20','test_run','toString','path','qDQxn','STATE_PENDING','../../utils/constants','.git','../../../helpers/test-observability/sessionHandler','backtrace','passed','oQEQz','\x20with\x20error\x20:\x20','../../../helpers/testhub/utils','HookRunFinished','ROOT_DESCRIBE_BLOCK','114HXMhFT','hook_failure','KEY_LOGS','./test-details','GoKYJ','\x20to\x20log',',\x20logKind=','ASxxa','pid','kind','ahjYt','mIgWN','sendTestRunEvent','errorsDetailed','failure_reason','JEST','14491690DtFQBP','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20from\x20JestTestFramework\x20-\x20hookUUID=','fIMxf','nIjTC','dkYIk','event_type','kvLqb','resolveInstance','getTestFramework','__workerDetails','hooks','parent','toISOString','getHierarchy','zksXk','js-','_paths','getTestEnv','[obsReporter]\x20appendTestItemLog:\x20Error\x20in\x20Jest+Playwright\x20flow\x20detection:\x20','fhRyy','finished_at','puppeteer','FvdBV','getTime','OljaY','OfFgt','DUXZk','VaAcP','relative','currentHook'];a27_0x1878=function(){return _0x1da3e0;};return a27_0x1878();}a27_0x90aa34[a27_0x5ccf90(0x1bd)]=a27_0x5ccf90(0x1a6),a27_0x90aa34[a27_0x5ccf90(0x11b)]=a27_0x5ccf90(0x178),a27_0x90aa34['beforeEach']='BEFORE_EACH',a27_0x90aa34[a27_0x5ccf90(0x12d)]=a27_0x5ccf90(0x14f);const HOOK_TYPES_MAP=a27_0x90aa34;module['exports']=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x357f14=a27_0x5ccf90,_0x1c26cb={'OfFgt':'8|1|4|6|3|2|7|5|0','ZKSTZ':function(_0x2c0b38){return _0x2c0b38();}},_0x2b1eab=_0x1c26cb[_0x357f14(0x10d)]['split']('|');let _0x4c30c1=0x0;while(!![]){switch(_0x2b1eab[_0x4c30c1++]){case'0':this[_0x357f14(0x1ab)]=[];continue;case'1':this[_0x357f14(0x17b)]=[];continue;case'2':this['_gitConfigured']=![];continue;case'3':this[_0x357f14(0x116)]=[];continue;case'4':this[_0x357f14(0x115)]=this['getTestEnv']();continue;case'5':this[_0x357f14(0x13c)]=null;continue;case'6':this[_0x357f14(0x104)]=new PathHelper({'cwd':process[_0x357f14(0x15d)]()},this[_0x357f14(0x115)][_0x357f14(0x136)]);continue;case'7':this[_0x357f14(0x168)]=null;continue;case'8':this[_0x357f14(0x1b2)]=_0x1c26cb['ZKSTZ'](isTestObservabilitySession);continue;}break;}}[a27_0x5ccf90(0x105)]=()=>{const _0x5d14a6=a27_0x5ccf90,_0x274735={'ivwaU':_0x5d14a6(0x19b),'FvdBV':function(_0x479115){return _0x479115();}};return{'ci':_0x274735[_0x5d14a6(0x1c4)],'key':_0x274735[_0x5d14a6(0x10a)](uuidv4),'version':version,'collector':_0x5d14a6(0x103)+name};};[a27_0x5ccf90(0x12b)](){const _0x5f2077=a27_0x5ccf90;process[_0x5f2077(0x198)](_0x5f2077(0x15c)+process[_0x5f2077(0xec)]),process['on'](_0x5f2077(0x15c)+process[_0x5f2077(0xec)],this[_0x5f2077(0x1be)]['bind'](this)),process[_0x5f2077(0x198)](_0x5f2077(0x1d0)+process[_0x5f2077(0xec)]),process['on'](_0x5f2077(0x1d0)+process[_0x5f2077(0xec)],this[_0x5f2077(0x1d7)][_0x5f2077(0x1a0)](this));}[a27_0x5ccf90(0x18a)]=async _0x1e389e=>{const _0x14eb32=a27_0x5ccf90,_0x164ef9={'FrDqK':function(_0x273fe6,_0x135ed8){return _0x273fe6>_0x135ed8;},'HACWu':function(_0x16b603,_0x50f7ee){return _0x16b603===_0x50f7ee;},'hhXBi':_0x14eb32(0x159),'Jlxde':function(_0x84a8c3,_0x1104d0){return _0x84a8c3(_0x1104d0);}};try{const _0x260495=this[_0x14eb32(0x1d6)];this['current_test']=_0x1e389e,_0x1e389e[_0x14eb32(0x13f)]=null,_0x1e389e['testAnalyticsId']=TestDetails[_0x14eb32(0x1b3)](process[_0x14eb32(0xec)]+':testAnalyticsId'),_0x1e389e[_0x14eb32(0x1bf)]=new Date()['toISOString'](),_0x164ef9[_0x14eb32(0x165)](_0x1e389e[_0x14eb32(0x1c1)],0x0)&&_0x260495&&_0x164ef9[_0x14eb32(0xd1)](_0x260495[_0x14eb32(0x194)],_0x1e389e['title'])?(_0x1e389e[_0x14eb32(0x13f)]=_0x260495[_0x14eb32(0x1dd)],await this[_0x14eb32(0xf0)](_0x1e389e,undefined,![],_0x164ef9[_0x14eb32(0x14b)]),_0x260495[_0x14eb32(0x130)]=STATE_FAILED,await this[_0x14eb32(0xf0)](_0x260495,undefined,!![])):await this[_0x14eb32(0xf0)](_0x1e389e,undefined,![],_0x164ef9[_0x14eb32(0x14b)]);}catch(_0xbc8e9c){_0x164ef9[_0x14eb32(0x13a)](debug,_0x14eb32(0x134)+_0xbc8e9c);}};[a27_0x5ccf90(0x193)](_0x45c7a5){const _0x51be88=a27_0x5ccf90,_0x1c0c39={};_0x1c0c39[_0x51be88(0x158)]=function(_0x33284e,_0x4caa8b){return _0x33284e!==_0x4caa8b;},_0x1c0c39[_0x51be88(0xd3)]=_0x51be88(0x156);const _0x3d59bf=_0x1c0c39;if(_0x3d59bf[_0x51be88(0x158)](_0x45c7a5[_0x51be88(0x16e)],_0x3d59bf[_0x51be88(0xd3)]))return'\x22'+_0x45c7a5[_0x51be88(0x16e)]+_0x51be88(0x16d)+(_0x45c7a5[_0x51be88(0xff)]&&_0x45c7a5['parent'][_0x51be88(0x18f)])+'\x22';return _0x45c7a5['name'];}[a27_0x5ccf90(0xf0)]=async(_0x209423,_0x128d61=undefined,_0x22215f=![],_0x44c9cf='TestRunFinished')=>{const _0x1f5c82=a27_0x5ccf90,_0x78349d={'DjXwB':_0x1f5c82(0x13b),'hOSdj':_0x1f5c82(0x1b0),'VWVqT':_0x1f5c82(0x1da),'ZtKfq':_0x1f5c82(0xd5),'WMnxL':_0x1f5c82(0xf2),'KHAns':_0x1f5c82(0x117),'rlxSj':'failure_type','trrOY':function(_0x4f7e1c,_0x502929){return _0x4f7e1c(_0x502929);},'dkYIk':_0x1f5c82(0x11e),'pGISz':function(_0x474b42,_0x24474f){return _0x474b42(_0x24474f);},'IZmWd':_0x1f5c82(0x19c),'WYCzo':function(_0x3d202c,_0x5d2c5f){return _0x3d202c!==_0x5d2c5f;},'GSYSR':_0x1f5c82(0x156),'lWsLG':function(_0x5a65a3,_0x3d6a0c){return _0x5a65a3!==_0x3d6a0c;},'kPsYo':'err','NlFpm':function(_0x4e0621,_0x11fd7a){return _0x4e0621!==_0x11fd7a;},'ahjYt':function(_0x1e560b,_0x4d1508){return _0x1e560b!==_0x4d1508;},'SfveZ':_0x1f5c82(0x19f),'fulkr':_0x1f5c82(0x120),'iLWvH':function(_0x4629ce,_0x3c8b2f){return _0x4629ce===_0x3c8b2f;},'KZXAm':'TestRunSkipped','pFvUW':_0x1f5c82(0x1cd),'ZpmIE':function(_0x26a03a,_0x28558f){return _0x26a03a>_0x28558f;},'vyuPo':_0x1f5c82(0x137),'GcsJD':_0x1f5c82(0xde),'tmXto':function(_0x2a6f6a,_0x34e11a){return _0x2a6f6a-_0x34e11a;},'OpEQi':function(_0x108955,_0x1e480e,_0x2b99c5,_0x2da510,_0x315e41){return _0x108955(_0x1e480e,_0x2b99c5,_0x2da510,_0x315e41);},'qDQxn':'started_at','vfKzE':_0x1f5c82(0x108),'MlFUy':function(_0x140700,_0x13891e){return _0x140700===_0x13891e;},'lwimd':_0x1f5c82(0xe2),'YuCNF':function(_0x28d668,_0x5966a0){return _0x28d668!==_0x5966a0;},'qxGGu':_0x1f5c82(0x1ba),'PwcvQ':_0x1f5c82(0xdd),'bpdfg':'failure_reason_expanded','QFZQj':_0x1f5c82(0x118),'dHKWG':_0x1f5c82(0x18e),'ikvqv':function(_0x2831b2,_0x1d2467){return _0x2831b2===_0x1d2467;},'fMlDe':'hook_type','kvLqb':function(_0x45b0d4,_0x49738b){return _0x45b0d4===_0x49738b;},'DXmlx':_0x1f5c82(0x1bd),'IpphJ':_0x1f5c82(0x155),'JsjNP':'integrations','tbIIG':function(_0x4ae68d,_0x425f58,_0x4df5a0){return _0x4ae68d(_0x425f58,_0x4df5a0);}};try{if(_0x209423['fn']&&_0x209423['fn'][_0x1f5c82(0xd6)]()[_0x1f5c82(0x140)](/browserstack internal helper hook/))return;await this[_0x1f5c82(0x187)]();let _0x3f3057;try{_0x3f3057=this[_0x1f5c82(0x12e)](_0x209423);}catch(_0x30a151){_0x78349d[_0x1f5c82(0x138)](debug,_0x1f5c82(0x1a2)+_0x30a151),_0x3f3057=null;}if(_0x3f3057[_0x1f5c82(0x181)](_0x78349d[_0x1f5c82(0xf8)]))return;const _0x589389=_0x78349d[_0x1f5c82(0x1cc)](require,_0x78349d[_0x1f5c82(0x192)]);let _0x24bc60=[];if(_0x78349d[_0x1f5c82(0x124)](_0x209423[_0x1f5c82(0xf1)],undefined))_0x24bc60=[_0x209423['errorsDetailed'],_0x78349d[_0x1f5c82(0x169)]];else _0x78349d[_0x1f5c82(0x182)](_0x128d61,undefined)?_0x24bc60=[_0x128d61,_0x78349d[_0x1f5c82(0x160)]]:_0x24bc60=[];const _0x267093=_0x78349d[_0x1f5c82(0x132)](_0x209423[_0x1f5c82(0xf1)],undefined)?_0x589389[_0x1f5c82(0x185)](_0x209423[_0x1f5c82(0xf1)][0x0]):_0x78349d[_0x1f5c82(0xee)](_0x128d61,undefined)?_0x128d61['toString']():undefined,_0x20f352=_0x3f3057?this[_0x1f5c82(0x104)]['prefixTestPath'](this[_0x1f5c82(0x12e)](_0x209423)):_0x78349d[_0x1f5c82(0x19e)],_0xaac66={'framework':FRAMEWORKS[_0x1f5c82(0xf3)],'uuid':_0x209423['testAnalyticsId']||_0x209423['hookAnalyticsId'],'name':this['getName'](_0x209423),'body':{'lang':_0x78349d['fulkr'],'code':_0x209423['fn']['toString']()},'scopes':this[_0x1f5c82(0x101)](_0x209423),'file_name':_0x20f352,'vc_filepath':this['_gitConfigPath']&&_0x3f3057?path[_0x1f5c82(0x110)](this[_0x1f5c82(0x168)],_0x3f3057):null,'location':_0x20f352,'result':_0x78349d['iLWvH'](_0x44c9cf,_0x78349d[_0x1f5c82(0x190)])?_0x78349d['pFvUW']:this[_0x1f5c82(0x1a3)](_0x209423['errorsDetailed']&&_0x78349d[_0x1f5c82(0x129)](_0x209423['errorsDetailed'][_0x1f5c82(0x1d5)],0x0)?_0x78349d[_0x1f5c82(0x17f)]:_0x78349d['GcsJD']),'failure_reason':_0x267093,'duration_in_ms':_0x209423[_0x1f5c82(0x1a1)]||(_0x44c9cf[_0x1f5c82(0x140)](/Finished/)||_0x44c9cf['match'](/Skipped/)?_0x78349d[_0x1f5c82(0x125)](Date[_0x1f5c82(0x1b6)](),new Date(_0x209423[_0x1f5c82(0x1bf)])[_0x1f5c82(0x10b)]()):null),'started_at':_0x209423[_0x1f5c82(0x1bf)],'finished_at':_0x44c9cf[_0x1f5c82(0x140)](/Finished/)||_0x44c9cf['match'](/Skipped/)?new Date()[_0x1f5c82(0x100)]():null,'failure':failureData[_0x1f5c82(0x113)](null,_0x24bc60),'failure_type':!_0x267093?null:_0x78349d[_0x1f5c82(0x138)](getFailureType,_0x267093),'retry_of':_0x209423[_0x1f5c82(0x13f)]};_0x78349d['OpEQi'](appendTesthubParams,_0xaac66,_0x44c9cf,_0x209423,FRAMEWORKS[_0x1f5c82(0xf3)]);_0x78349d[_0x1f5c82(0x157)](_0x44c9cf,_0x78349d[_0x1f5c82(0x190)])&&!_0xaac66[_0x78349d[_0x1f5c82(0xd8)]]&&(_0xaac66[_0x78349d['qDQxn']]=_0xaac66[_0x78349d[_0x1f5c82(0x179)]]);if(_0x44c9cf['match'](/HookRun/))[_0xaac66[_0x1f5c82(0x171)],_0xaac66[_0x1f5c82(0x18f)]]=[_0x209423[_0x1f5c82(0x16e)],this[_0x1f5c82(0x193)](_0x209423)],_0x78349d['MlFUy'](_0x44c9cf,_0x78349d[_0x1f5c82(0x1a5)])&&(_0x78349d[_0x1f5c82(0x1d2)](_0xaac66['result'],_0x78349d[_0x1f5c82(0x17f)])&&(_0xaac66[_0x1f5c82(0x117)]=_0x78349d[_0x1f5c82(0x1b9)]));else _0x44c9cf[_0x1f5c82(0x140)](/TestRun/)&&this['mapTestHooks'](_0x209423);const _0x2dd997=_0xaac66[_0x78349d[_0x1f5c82(0x133)]][0x0];_0x2dd997&&(_0xaac66[_0x78349d[_0x1f5c82(0x1ca)]]=_0x2dd997[_0x78349d[_0x1f5c82(0x1ad)]],_0xaac66[_0x78349d[_0x1f5c82(0x1d1)]]=_0x2dd997[_0x78349d[_0x1f5c82(0x167)]]);[_0x78349d[_0x1f5c82(0x199)],_0x78349d['KZXAm']]['includes'](_0x44c9cf)&&(this[_0x1f5c82(0x17b)][_0x1f5c82(0x189)](_0xaac66),_0xaac66['hooks']=this[_0x1f5c82(0x150)](_0x209423),this['resetTestHooks'](_0x209423));const _0x3f3e08={'event_type':_0x78349d[_0x1f5c82(0x184)](_0x44c9cf,_0x78349d[_0x1f5c82(0x190)])?_0x78349d[_0x1f5c82(0x199)]:_0x44c9cf};_0x44c9cf['match'](/HookRun/)?(_0xaac66[_0x78349d['fMlDe']]=HOOK_TYPES_MAP[_0xaac66[_0x78349d[_0x1f5c82(0x17a)]]],_0x3f3e08[_0x78349d['hOSdj']]=_0xaac66):_0x3f3e08[_0x78349d['ZtKfq']]=_0xaac66;_0x78349d[_0x1f5c82(0x129)](this[_0x1f5c82(0x116)][_0x1f5c82(0x1d5)],0x0)&&[_0x78349d[_0x1f5c82(0x199)],_0x78349d['KZXAm']][_0x1f5c82(0x181)](_0x44c9cf)&&(this['hook_data']['forEach'](async _0x4a9ade=>{const _0x49b4cd=_0x1f5c82,_0x1a9646=_0x78349d[_0x49b4cd(0x17d)][_0x49b4cd(0xd2)]('|');let _0x415a96=0x0;while(!![]){switch(_0x1a9646[_0x415a96++]){case'0':_0x4a9ade[_0x78349d[_0x49b4cd(0x1c6)]][_0x78349d[_0x49b4cd(0x133)]]=_0x3f3e08[_0x78349d[_0x49b4cd(0x16c)]][_0x78349d[_0x49b4cd(0x133)]];continue;case'1':_0x4a9ade[_0x78349d[_0x49b4cd(0x1c6)]][_0x78349d[_0x49b4cd(0x147)]]=_0x3f3e08[_0x78349d['ZtKfq']][_0x78349d['WMnxL']];continue;case'2':await SessionHandler['uploadEventData'](_0x4a9ade);continue;case'3':_0x4a9ade[_0x78349d[_0x49b4cd(0x1c6)]][_0x78349d[_0x49b4cd(0x1a9)]]=_0x3f3e08[_0x78349d['ZtKfq']][_0x78349d[_0x49b4cd(0x1a9)]];continue;case'4':_0x4a9ade[_0x78349d['hOSdj']][_0x78349d[_0x49b4cd(0x1af)]]=_0x3f3e08[_0x78349d[_0x49b4cd(0x16c)]][_0x78349d['rlxSj']];continue;}break;}}),this[_0x1f5c82(0x116)]=[]);if(_0x78349d[_0x1f5c82(0xfa)](this[_0x1f5c82(0xe5)],_0x209423[_0x1f5c82(0x16e)])){this['hook_data'][_0x1f5c82(0x189)](_0x3f3e08);return;}_0x78349d['ikvqv'](this[_0x1f5c82(0xe5)],_0x78349d[_0x1f5c82(0x1dc)])&&_0x3f3e08[_0x78349d[_0x1f5c82(0x16c)]]&&(_0x3f3e08[_0x78349d[_0x1f5c82(0x16c)]][_0x78349d[_0x1f5c82(0x1a9)]]=_0x78349d['pFvUW'],_0x3f3e08[_0x78349d[_0x1f5c82(0x16c)]][_0x78349d[_0x1f5c82(0x133)]]=null,_0x3f3e08[_0x78349d[_0x1f5c82(0x16c)]][_0x78349d['rlxSj']]=null);if(_0x44c9cf[_0x1f5c82(0x181)](_0x78349d[_0x1f5c82(0x173)])&&_0x3f3e08[_0x78349d[_0x1f5c82(0x1c6)]]){if(this[_0x1f5c82(0x13c)])_0x3f3e08[_0x78349d[_0x1f5c82(0x1c6)]][_0x78349d['JsjNP']]=this[_0x1f5c82(0x13c)];else{this['_pendingHookUploads'][_0x1f5c82(0x189)](_0x3f3e08);return;}}_0x78349d[_0x1f5c82(0x114)](setCurrentTestData,FRAMEWORKS[_0x1f5c82(0xf3)],_0x3f3e08),await SessionHandler[_0x1f5c82(0x11f)](_0x3f3e08);}catch(_0x409231){_0x78349d['trrOY'](debug,_0x1f5c82(0x145)+_0x44c9cf+_0x1f5c82(0xe0)+_0x409231);}};['findGitConfig'](_0x329655){const _0x400590=a27_0x5ccf90,_0x139129={};_0x139129['PTavD']=function(_0x3fbbaf,_0x156d08){return _0x3fbbaf==_0x156d08;},_0x139129[_0x400590(0x1bb)]=function(_0x460868,_0x31e997){return _0x460868===_0x31e997;},_0x139129[_0x400590(0x131)]=_0x400590(0xdb),_0x139129[_0x400590(0xd0)]='config';const _0x3d8bab=_0x139129,_0x14dfbb=path['sep'];if(_0x3d8bab[_0x400590(0x1b8)](_0x329655,null)||_0x3d8bab['BWHqK'](_0x329655,'')||_0x3d8bab[_0x400590(0x1bb)](_0x329655,_0x14dfbb)||_0x3d8bab[_0x400590(0x1bb)](_0x329655,path[_0x400590(0x11c)](_0x329655)))return null;try{return fs[_0x400590(0x151)](path['join'](_0x329655,_0x3d8bab[_0x400590(0x131)],_0x3d8bab[_0x400590(0xd0)])),_0x329655;}catch(_0x1be2d7){const _0x5e6b15=path[_0x400590(0x11c)](_0x329655);return this[_0x400590(0x170)](_0x5e6b15);}}['appendTestItemLog']=async _0x2bfac2=>{const _0x5f5878=a27_0x5ccf90,_0xb507a8={'fIMxf':_0x5f5878(0x161),'HRXil':_0x5f5878(0x15e),'fhRyy':_0x5f5878(0x109),'HJedH':function(_0x4724e6,_0x272685){return _0x4724e6||_0x272685;},'qItCb':function(_0x53493c,_0x1f6d93){return _0x53493c(_0x1f6d93);},'alVqa':'[obsReporter]\x20appendTestItemLog:\x20Jest+Playwright/Puppeteer\x20CLI\x20flow\x20detected,\x20using\x20in-memory\x20storage','nIjTC':function(_0x3f80a1,_0x13a6da){return _0x3f80a1(_0x13a6da);},'VaAcP':function(_0x37c0d5,_0x347f0f){return _0x37c0d5(_0x347f0f);},'MiXgI':function(_0x15140e,_0x514e33){return _0x15140e&&_0x514e33;},'bAcVE':function(_0x1f8e07,_0x2a15d5){return _0x1f8e07(_0x2a15d5);},'oxycI':_0x5f5878(0x1ac),'UmATK':function(_0x1ab6ee,_0x474c60){return _0x1ab6ee(_0x474c60);},'btbko':function(_0x2c181c,_0x2a16e3){return _0x2c181c(_0x2a16e3);},'biQNp':_0x5f5878(0x1bc),'XGCwx':function(_0x5c7390,_0x52b415){return _0x5c7390(_0x52b415);},'xaciG':_0x5f5878(0x164),'LqSsi':_0x5f5878(0x197),'DoNyg':function(_0x11cc34,_0x495f3c){return _0x11cc34===_0x495f3c;},'HdKqh':_0x5f5878(0x1c2),'RknYa':function(_0x212732,_0x4d7916){return _0x212732(_0x4d7916);},'aKAmJ':_0x5f5878(0x18b),'mloOg':function(_0xc5582c,_0x286540){return _0xc5582c(_0x286540);},'cHkVP':function(_0x437b38,_0x1c4778){return _0x437b38(_0x1c4778);},'LVhHK':'LogCreated'};try{const _0x443a3c=helper[_0x5f5878(0x143)](_0xb507a8[_0x5f5878(0xf6)]),_0x3f5cbd=!!_0x443a3c,_0x441f5b=helper[_0x5f5878(0x143)](_0xb507a8[_0x5f5878(0x142)])||helper[_0x5f5878(0x143)](_0xb507a8[_0x5f5878(0x107)]),_0x13e153=!!_0x441f5b,_0x499ce1=BrowserstackCLI[_0x5f5878(0x195)]()['isCliEnabled']()&&BrowserstackCLI['getInstance']()['isRunning']();if(_0xb507a8[_0x5f5878(0x1b1)](_0x3f5cbd,_0x13e153)&&_0x499ce1){_0xb507a8[_0x5f5878(0x1d3)](debug,_0xb507a8[_0x5f5878(0x152)]);let _0x17214a=null,_0x357110=null;if(global[_0x5f5878(0xfd)]&&global[_0x5f5878(0xfd)][_0x5f5878(0x111)]){const _0x5330a4=global['__workerDetails'][_0x5f5878(0x111)];_0x357110=_0x5330a4[_0x5f5878(0x14d)],_0x17214a=_0x5330a4['testIdentifier'],_0xb507a8[_0x5f5878(0xf7)](debug,_0x5f5878(0x141)+_0x357110+_0x5f5878(0x1c3)+_0x17214a);}!_0x17214a&&(_0x17214a=global['__jestCurrentTestIdentifier'],_0xb507a8[_0x5f5878(0x10f)](debug,'[obsReporter]\x20appendTestItemLog:\x20Using\x20testIdentifier\x20from\x20global.__jestCurrentTestIdentifier:\x20'+_0x17214a));if(_0xb507a8[_0x5f5878(0x163)](!_0x357110,_0x17214a)){const _0x35c6a6=BrowserstackCLI[_0x5f5878(0x195)]()[_0x5f5878(0xfc)]();if(_0x35c6a6&&_0x35c6a6[_0x5f5878(0x1ce)]){const _0x3d34d9=_0x35c6a6['getActiveHook'](_0x17214a);_0x3d34d9&&_0x3d34d9['hookUUID']&&(_0x357110=_0x3d34d9[_0x5f5878(0x14d)],_0xb507a8['bAcVE'](debug,_0x5f5878(0xf5)+_0x357110+_0x5f5878(0x1c3)+_0x17214a));}}if(!_0x17214a||!_0x17214a[_0x5f5878(0x181)](_0xb507a8['oxycI']))_0xb507a8['qItCb'](debug,_0x5f5878(0x148)+_0x17214a+_0x5f5878(0x196));else{_0x357110&&(_0x2bfac2[_0x5f5878(0x188)]=_0x357110,_0xb507a8[_0x5f5878(0x1ae)](debug,_0x5f5878(0x112)+_0x357110+'\x20to\x20log'));_0x2bfac2[_0x5f5878(0x154)]=_0x17214a,_0xb507a8['btbko'](debug,_0x5f5878(0x139)+_0x17214a+_0x5f5878(0xe9));const _0x3487b6=BrowserstackCLI['getInstance']()[_0x5f5878(0xfc)]();if(_0x3487b6){const _0x2b4b9a=_0xb507a8[_0x5f5878(0x1d3)](require,_0xb507a8['biQNp']),_0x122b24=_0xb507a8[_0x5f5878(0x146)](require,_0xb507a8['xaciG']),_0x4052da=_0xb507a8[_0x5f5878(0x1d3)](require,_0xb507a8[_0x5f5878(0x127)]),_0x3746ad=_0x3487b6[_0x5f5878(0xfb)](_0x2b4b9a[_0x5f5878(0x1b7)],_0x122b24[_0x5f5878(0x16a)]);if(_0x3746ad&&_0xb507a8[_0x5f5878(0x1c9)](typeof _0x3746ad['addMultipleEntries'],_0xb507a8[_0x5f5878(0x172)])){const _0x1c0164=_0x3746ad['getAllData']()[_0x5f5878(0x135)](_0x17214a)||{},_0x55d615=_0x1c0164[_0x4052da[_0x5f5878(0xe6)]]||[],_0x4ac73c=[..._0x55d615,_0x2bfac2],_0x59cbf9={[_0x4052da[_0x5f5878(0xe6)]]:_0x4ac73c},_0x20ffaf={};_0x20ffaf[_0x17214a]=_0x59cbf9,_0x3746ad[_0x5f5878(0x177)](_0x20ffaf),_0xb507a8[_0x5f5878(0x16b)](debug,_0x5f5878(0x191)+_0x17214a+_0x5f5878(0xea)+(_0x2bfac2[_0x5f5878(0xed)]||_0xb507a8[_0x5f5878(0x15f)])+_0x5f5878(0x122)+_0x4ac73c[_0x5f5878(0x1d5)]);return;}_0xb507a8[_0x5f5878(0x1cb)](debug,_0x5f5878(0x183)+_0x17214a+_0x5f5878(0x196));}}}}catch(_0x40b5e8){_0xb507a8[_0x5f5878(0x14e)](debug,_0x5f5878(0x106)+_0x40b5e8+',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow');}const _0x513155=TestDetails['getTestUUID'](process[_0x5f5878(0xec)]+':hookAnalyticsId'),_0x150b5b=TestDetails[_0x5f5878(0x18c)](process[_0x5f5878(0xec)]+_0x5f5878(0x1c8));try{(_0x513155||this[_0x5f5878(0x123)]&&!this[_0x5f5878(0x123)][_0x5f5878(0x15a)])&&(_0x2bfac2[_0x5f5878(0x188)]=_0x513155);!_0x2bfac2['hook_run_uuid']&&_0x150b5b&&(_0x2bfac2[_0x5f5878(0x1d8)]=_0x150b5b);if(_0x2bfac2[_0x5f5878(0x188)]||_0x2bfac2[_0x5f5878(0x1d8)]){const _0x17a0f8={};_0x17a0f8[_0x5f5878(0xf9)]=_0xb507a8[_0x5f5878(0x12c)],_0x17a0f8[_0x5f5878(0x1aa)]=[_0x2bfac2],await SessionHandler['uploadEventData'](_0x17a0f8);}}catch(_0xacd80){_0xb507a8[_0x5f5878(0x1d3)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x5f5878(0x1d9)]+'\x20with\x20error\x20:\x20'+_0xacd80);}};[a27_0x5ccf90(0x1d7)]=async _0x1b4727=>{const _0x26118c=a27_0x5ccf90,_0x3b6abe={'oQEQz':'http_response','OwDwR':'CBTSessionCreated','VNOcB':function(_0x3507a3,_0x42db86){return _0x3507a3>_0x42db86;},'uSSNZ':_0x26118c(0x1b0),'sBCxe':function(_0x5d1da3,_0x13a373,_0x5879e7){return _0x5d1da3(_0x13a373,_0x5879e7);},'ASxxa':function(_0x5fdced,_0x150684){return _0x5fdced(_0x150684);}};try{const _0x510012=_0x1b4727&&_0x1b4727[_0x3b6abe[_0x26118c(0xdf)]];_0x510012&&(this[_0x26118c(0x13c)]=_0x510012);const _0x49afeb={'uuid':_0x1b4727[_0x26118c(0x1de)]||TestDetails[_0x26118c(0x18c)](process[_0x26118c(0xec)]+_0x26118c(0x1c8)),'integrations':_0x510012},_0x4e6858={};_0x4e6858[_0x26118c(0xf9)]=_0x3b6abe[_0x26118c(0x12f)],_0x4e6858[_0x26118c(0xd5)]=_0x49afeb,await SessionHandler[_0x26118c(0x11f)](_0x4e6858);if(_0x510012&&_0x3b6abe[_0x26118c(0x174)](this[_0x26118c(0x1ab)]['length'],0x0)){const _0x4398b8=this[_0x26118c(0x1ab)][_0x26118c(0x14a)](0x0,this[_0x26118c(0x1ab)][_0x26118c(0x1d5)]);for(const _0x43204d of _0x4398b8){try{const _0x5d9d12=_0x43204d&&_0x43204d[_0x3b6abe['uSSNZ']]?{..._0x43204d,'hook_run':{..._0x43204d[_0x3b6abe['uSSNZ']],'integrations':_0x510012}}:_0x43204d;_0x3b6abe[_0x26118c(0x1df)](setCurrentTestData,FRAMEWORKS[_0x26118c(0xf3)],_0x5d9d12),await SessionHandler[_0x26118c(0x11f)](_0x5d9d12);}catch(_0x1b89fd){_0x3b6abe['ASxxa'](debug,_0x26118c(0xd4)+_0x1b89fd);}}}}catch(_0x399486){_0x3b6abe[_0x26118c(0xeb)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants[_0x26118c(0x1d9)]+'\x20with\x20error\x20:\x20'+_0x399486);}};async[a27_0x5ccf90(0x187)](){const _0x5093a2=a27_0x5ccf90,_0x56f235={'eEfnx':function(_0x3f1b02){return _0x3f1b02();}};if(this[_0x5093a2(0x11d)])return this['_gitConfigPath'];const _0x1e0f32=await _0x56f235[_0x5093a2(0x1a4)](getGitMetaData);_0x1e0f32&&(this[_0x5093a2(0x168)]=_0x1e0f32[_0x5093a2(0x17e)]),this[_0x5093a2(0x11d)]=!![];}['analyticsResult'](_0x5efd7c){const _0x3addf1=a27_0x5ccf90,_0x1cba0e={};_0x1cba0e[_0x3addf1(0x175)]='passed',_0x1cba0e['LoDIW']=_0x3addf1(0x121),_0x1cba0e[_0x3addf1(0x10e)]=_0x3addf1(0x137);const _0x568fe2=_0x1cba0e,_0x1c579c={};return _0x1c579c[STATE_PASSED]=_0x568fe2[_0x3addf1(0x175)],_0x1c579c[STATE_PENDING]=_0x568fe2[_0x3addf1(0x1a8)],_0x1c579c[STATE_FAILED]=_0x568fe2[_0x3addf1(0x10e)],_0x1c579c[_0x5efd7c];}[a27_0x5ccf90(0x101)](_0x2ad073){const _0x8e272a=a27_0x5ccf90,_0x36d64a={};_0x36d64a[_0x8e272a(0xef)]=function(_0x2f822d,_0x54a91c){return _0x2f822d!==_0x54a91c;},_0x36d64a[_0x8e272a(0x10c)]=_0x8e272a(0xe3);const _0x3901bb=_0x36d64a,_0x4dad59=[];if(_0x2ad073&&_0x2ad073[_0x8e272a(0xff)]){let _0x2d0bef=_0x2ad073[_0x8e272a(0xff)];while(_0x2d0bef&&_0x3901bb[_0x8e272a(0xef)](_0x2d0bef[_0x8e272a(0x18f)],'')&&_0x3901bb[_0x8e272a(0xef)](_0x2d0bef['name'],_0x3901bb[_0x8e272a(0x10c)])){_0x4dad59[_0x8e272a(0x189)](_0x2d0bef[_0x8e272a(0x18f)]),_0x2d0bef=_0x2d0bef[_0x8e272a(0xff)];}}return _0x4dad59['reverse'](),_0x4dad59;}[a27_0x5ccf90(0x12e)]=_0x5c7f9f=>{const _0x24fbca=a27_0x5ccf90,_0x533ece={'GoKYJ':function(_0x17d507,_0xb2bb66){return _0x17d507(_0xb2bb66);}};if(_0x5c7f9f['file'])return _0x5c7f9f[_0x24fbca(0x1b5)];if(_0x5c7f9f[_0x24fbca(0x162)]){const _0x401823=stackTrace[_0x24fbca(0x15b)][_0x24fbca(0x1b4)](stackTrace,_0x5c7f9f[_0x24fbca(0x162)]),_0x1c7f8a=_0x533ece[_0x24fbca(0xe8)](pickUserFrameFile,_0x401823);if(_0x1c7f8a)return _0x1c7f8a;_0x533ece[_0x24fbca(0xe8)](debug,_0x24fbca(0x19d)+_0x401823[_0x24fbca(0x1d5)]+')');}return null;};[a27_0x5ccf90(0x13d)]=_0x16dd71=>{const _0x570db9=a27_0x5ccf90;if(!_0x16dd71||!_0x16dd71['parent'])return;_0x16dd71[_0x570db9(0xff)][_0x570db9(0xfe)][_0x570db9(0x18d)](_0x38aa0d=>{const _0x41bd9a=_0x570db9;!_0x38aa0d[_0x41bd9a(0x176)]&&(_0x38aa0d[_0x41bd9a(0x176)]=TestDetails[_0x41bd9a(0x1b3)](process['pid']+_0x41bd9a(0x1c5)));}),this[_0x570db9(0x13d)](_0x16dd71[_0x570db9(0xff)]);};[a27_0x5ccf90(0x19a)]=_0x119a97=>{const _0x3693f0=a27_0x5ccf90,_0x1a03e8={};_0x1a03e8[_0x3693f0(0x102)]=_0x3693f0(0x1db),_0x1a03e8[_0x3693f0(0x11a)]='afterEach';const _0x3b1e2d=_0x1a03e8;if(!_0x119a97||!_0x119a97['parent'])return;_0x119a97[_0x3693f0(0xff)][_0x3693f0(0xfe)][_0x3693f0(0x18d)](_0xee5599=>{const _0x5c7541=_0x3693f0;[_0x3b1e2d[_0x5c7541(0x102)],_0x3b1e2d[_0x5c7541(0x11a)]][_0x5c7541(0x181)](_0xee5599[_0x5c7541(0x16e)])&&_0xee5599[_0x5c7541(0x176)]&&(_0xee5599[_0x5c7541(0x176)]=null);}),this[_0x3693f0(0x13d)](_0x119a97[_0x3693f0(0xff)]);};[a27_0x5ccf90(0x128)](_0x371a35){const _0x509bf3=a27_0x5ccf90,_0x42d044={'gVoUp':_0x509bf3(0x11e),'FJEur':function(_0x485506,_0x82c19f){return _0x485506(_0x82c19f);},'WTPmC':function(_0x45328d,_0x255e78){return _0x45328d+_0x255e78;},'OHfeC':'Exception\x20in\x20getting\x20file\x20for\x20hook\x20'};try{const _0x94aa3f=this[_0x509bf3(0x12e)](_0x371a35);if(!_0x94aa3f||_0x94aa3f['includes'](_0x42d044[_0x509bf3(0x144)]))return!![];return![];}catch(_0x2c40c6){_0x42d044['FJEur'](debug,_0x42d044['WTPmC'](_0x42d044[_0x509bf3(0x12a)],_0x2c40c6));}return![];}['getHooksForTest']=_0x1ee013=>{const _0x3e1900=a27_0x5ccf90,_0x366a0f={'NKRcf':function(_0x7072a8,_0x3f0480){return _0x7072a8(_0x3f0480);}};if(!_0x1ee013||!_0x1ee013[_0x3e1900(0xff)])return[];const _0xd36a87=[];return _0x1ee013[_0x3e1900(0xff)][_0x3e1900(0xfe)][_0x3e1900(0x18d)](_0x15e404=>{const _0x4e4f37=_0x3e1900;_0x15e404[_0x4e4f37(0x176)]&&!_0x366a0f[_0x4e4f37(0x14c)](isInternalHook,_0x15e404['fn'])&&!this[_0x4e4f37(0x128)](_0x15e404)&&_0xd36a87[_0x4e4f37(0x189)](_0x15e404[_0x4e4f37(0x176)]);}),[..._0xd36a87,...this[_0x3e1900(0x150)](_0x1ee013[_0x3e1900(0xff)])];};},[a27_0x5ccf90(0x105),a27_0x5ccf90(0x12b),a27_0x5ccf90(0x18a),'getName',a27_0x5ccf90(0xf0),'findGitConfig',a27_0x5ccf90(0x1be),a27_0x5ccf90(0x1d7),a27_0x5ccf90(0x1a3),a27_0x5ccf90(0x101),'getRootParentFile',a27_0x5ccf90(0x13d),a27_0x5ccf90(0x19a),a27_0x5ccf90(0x150),a27_0x5ccf90(0x187)],a27_0x5ccf90(0x1a7));
@@ -1 +1 @@
1
- const a28_0x52c162=a28_0x36b5;function a28_0x41fe(){const _0x102d22=['12uDaWRr','recursive','.json','10964gPnTmZ','_test','setTestUUID','writeFileSync','uuid','215462yuague','tests','testData.json','stringify','setTestData','1690saBRXB','env','KRdWr','shutdown','../../../helpers/testhub/constants','30481pziGYk','20464OtRoxe','readFileSync','JlVwY','setup','existsSync','dirPath','QeNBi','oaJCE','.browserstack','getFilePath','510jIAlrY','BROWSERSTACK_TESTHUB_UUID','toString','exports','join','homedir','mkdirSync','retry','path','qxZJI','7cPpKxq','parse','rOugy','getTestUUID','750177aQjbZU','2608816sYoWkE','ENV_VAR','rmSync','jest-o11y-','getTestRunIdFromTestInfo','10734BkxvCa'];a28_0x41fe=function(){return _0x102d22;};return a28_0x41fe();}(function(_0x228c4a,_0xdc8819){const _0x185779=a28_0x36b5,_0x1a14db=_0x228c4a();while(!![]){try{const _0x3aa793=-parseInt(_0x185779(0x124))/0x1+parseInt(_0x185779(0x129))/0x2+parseInt(_0x185779(0x121))/0x3*(-parseInt(_0x185779(0x102))/0x4)+parseInt(_0x185779(0x10c))/0x5*(parseInt(_0x185779(0x120))/0x6)+parseInt(_0x185779(0x116))/0x7*(parseInt(_0x185779(0x11b))/0x8)+parseInt(_0x185779(0x11a))/0x9+parseInt(_0x185779(0xfc))/0xa*(-parseInt(_0x185779(0x101))/0xb);if(_0x3aa793===_0xdc8819)break;else _0x1a14db['push'](_0x1a14db['shift']());}catch(_0x265d7f){_0x1a14db['push'](_0x1a14db['shift']());}}}(a28_0x41fe,0x30d01));const fs=require('fs'),path=require(a28_0x52c162(0x114)),{v4:uuidv4}=require(a28_0x52c162(0x128)),helper=require('../../../helpers/helper'),testHubConstants=require(a28_0x52c162(0x100));class TestDetails{static [a28_0x52c162(0x12a)]={};static [a28_0x52c162(0x107)]=path[a28_0x52c162(0x110)](helper[a28_0x52c162(0x111)](),a28_0x52c162(0x10a),a28_0x52c162(0x11e)+process[a28_0x52c162(0xfd)][testHubConstants[a28_0x52c162(0x11c)][a28_0x52c162(0x10d)]]);static[a28_0x52c162(0x105)](){const _0x63329e=a28_0x52c162,_0x371870={};_0x371870['KRdWr']='.browserstack';const _0x6692f6=_0x371870;this[_0x63329e(0x107)]=path[_0x63329e(0x110)](helper[_0x63329e(0x111)](),_0x6692f6[_0x63329e(0xfe)],_0x63329e(0x11e)+process[_0x63329e(0xfd)][testHubConstants[_0x63329e(0x11c)][_0x63329e(0x10d)]]),this[_0x63329e(0xff)]();const _0x2ba48e={};_0x2ba48e[_0x63329e(0x122)]=!![],fs[_0x63329e(0x112)](this[_0x63329e(0x107)],_0x2ba48e);}static[a28_0x52c162(0x10b)](_0x4a29f6){const _0x26b8f2=a28_0x52c162,_0x11d959={};_0x11d959[_0x26b8f2(0x104)]=function(_0x56dc80,_0x2a73fe){return _0x56dc80+_0x2a73fe;},_0x11d959[_0x26b8f2(0x115)]=_0x26b8f2(0x123);const _0x20ea1e=_0x11d959;return path[_0x26b8f2(0x110)](this[_0x26b8f2(0x107)],_0x20ea1e[_0x26b8f2(0x104)](_0x4a29f6,_0x20ea1e['qxZJI']));}static[a28_0x52c162(0x11f)](_0x4e8c0f){const _0x357814=a28_0x52c162,_0x302922={};_0x302922['oaJCE']=function(_0x1cc5b4,_0x16e2bb){return _0x1cc5b4+_0x16e2bb;};const _0x512ad0=_0x302922;return _0x512ad0[_0x357814(0x109)](_0x512ad0[_0x357814(0x109)](_0x4e8c0f[_0x357814(0x125)]['id'],'-'),_0x4e8c0f[_0x357814(0x113)]);}static[a28_0x52c162(0x119)](_0x5b0609){const _0x10a61f=a28_0x52c162,_0x4b7404=this['getFilePath'](_0x5b0609);if(fs['existsSync'](_0x4b7404)){const _0x95f38c=JSON['parse'](fs[_0x10a61f(0x103)](_0x4b7404)[_0x10a61f(0x10e)]());return this[_0x10a61f(0x12a)][_0x5b0609]=_0x95f38c,this[_0x10a61f(0x12a)][_0x5b0609][_0x10a61f(0x128)];}}static[a28_0x52c162(0xfb)](_0x476ecd){const _0x2333cb=a28_0x52c162,_0x40f552={};_0x40f552[_0x2333cb(0x118)]=_0x2333cb(0xf9);const _0x4dcc6d=_0x40f552,_0xddeeb7=path[_0x2333cb(0x110)](this[_0x2333cb(0x107)],_0x4dcc6d[_0x2333cb(0x118)]);fs['writeFileSync'](_0xddeeb7,JSON[_0x2333cb(0xfa)](_0x476ecd));}static['getTestData'](){const _0x56d951=a28_0x52c162,_0x204c96={};_0x204c96['VwnLu']='testData.json';const _0x544945=_0x204c96,_0x2c7403=path[_0x56d951(0x110)](this[_0x56d951(0x107)],_0x544945['VwnLu']);let _0x1a1e0b={};try{return _0x2c7403&&fs['existsSync'](_0x2c7403)&&(_0x1a1e0b=JSON[_0x56d951(0x117)](fs['readFileSync'](_0x2c7403)['toString']())),_0x1a1e0b;}catch(_0x3afb47){return _0x1a1e0b;}}static[a28_0x52c162(0x126)](_0x459e4d){const _0x27d386=a28_0x52c162,_0x301623={'QeNBi':function(_0x118a59){return _0x118a59();}},_0x16232a=this[_0x27d386(0x10b)](_0x459e4d);return this[_0x27d386(0x12a)][_0x459e4d]={'uuid':_0x301623[_0x27d386(0x108)](uuidv4)},fs[_0x27d386(0x127)](_0x16232a,JSON[_0x27d386(0xfa)](this[_0x27d386(0x12a)][_0x459e4d])),this[_0x27d386(0x12a)][_0x459e4d][_0x27d386(0x128)];}static['removeTestUUID'](_0x530baa){const _0x52797d=a28_0x52c162,_0x43af84=this[_0x52797d(0x10b)](_0x530baa);_0x43af84&&(fs[_0x52797d(0x106)](_0x43af84)&&fs['unlinkSync'](_0x43af84));}static[a28_0x52c162(0xff)](){const _0x64ee68=a28_0x52c162,_0xddafa={};_0xddafa[_0x64ee68(0x122)]=!![],_0xddafa['force']=!![],fs[_0x64ee68(0x11d)](this['dirPath'],_0xddafa);}}function a28_0x36b5(_0x33571f,_0x2b7fb2){const _0x41fe8f=a28_0x41fe();return a28_0x36b5=function(_0x36b5bd,_0x1b1782){_0x36b5bd=_0x36b5bd-0xf9;let _0x4c2b3b=_0x41fe8f[_0x36b5bd];return _0x4c2b3b;},a28_0x36b5(_0x33571f,_0x2b7fb2);}module[a28_0x52c162(0x10f)]=TestDetails;
1
+ const a28_0x4e9fba=a28_0x1f4f;function a28_0x1f4f(_0x296463,_0x776efe){const _0x1229c5=a28_0x1229();return a28_0x1f4f=function(_0x1f4fe7,_0x41de3d){_0x1f4fe7=_0x1f4fe7-0x64;let _0x23b587=_0x1229c5[_0x1f4fe7];return _0x23b587;},a28_0x1f4f(_0x296463,_0x776efe);}(function(_0x38d221,_0x93bb5a){const _0x1ac668=a28_0x1f4f,_0x248765=_0x38d221();while(!![]){try{const _0x881eb0=parseInt(_0x1ac668(0x65))/0x1*(-parseInt(_0x1ac668(0x75))/0x2)+parseInt(_0x1ac668(0x6f))/0x3*(-parseInt(_0x1ac668(0x7f))/0x4)+parseInt(_0x1ac668(0x76))/0x5+parseInt(_0x1ac668(0x86))/0x6*(parseInt(_0x1ac668(0x71))/0x7)+-parseInt(_0x1ac668(0x82))/0x8+parseInt(_0x1ac668(0x70))/0x9*(-parseInt(_0x1ac668(0x88))/0xa)+parseInt(_0x1ac668(0x85))/0xb;if(_0x881eb0===_0x93bb5a)break;else _0x248765['push'](_0x248765['shift']());}catch(_0x4b9db5){_0x248765['push'](_0x248765['shift']());}}}(a28_0x1229,0xe80bc));function a28_0x1229(){const _0x596bc3=['2174555PzagfJ','recursive','testData.json','force','rmSync','jest-o11y-','parse','readFileSync','stringify','20KvXHOG','getTestRunIdFromTestInfo','tests','8385456tMwVpx','path','exports','21696609fihKtT','96nyhTCf','BROWSERSTACK_TESTHUB_UUID','160CnhyAg','toString','homedir','uEcBC','uuid','mkdirSync','zEmQO','getFilePath','ENV_VAR','dirPath','tAxkY','join','getTestUUID','retry','setTestUUID','731HJqyNr','existsSync','writeFileSync','LDEHs','mirbd','env','unlinkSync','getTestData','../../../helpers/helper','.browserstack','284877xOgWWF','359802GrwtIS','641053WmKvPz','.json','_test','../../../helpers/testhub/constants','2078JEKJgJ'];a28_0x1229=function(){return _0x596bc3;};return a28_0x1229();}const fs=require('fs'),path=require(a28_0x4e9fba(0x83)),{v4:uuidv4}=require(a28_0x4e9fba(0x8c)),helper=require(a28_0x4e9fba(0x6d)),testHubConstants=require(a28_0x4e9fba(0x74));class TestDetails{static [a28_0x4e9fba(0x81)]={};static ['dirPath']=path[a28_0x4e9fba(0x93)](helper[a28_0x4e9fba(0x8a)](),'.browserstack',a28_0x4e9fba(0x7b)+process[a28_0x4e9fba(0x6a)][testHubConstants[a28_0x4e9fba(0x90)][a28_0x4e9fba(0x87)]]);static['setup'](){const _0x63c222=a28_0x4e9fba,_0x457b5e={};_0x457b5e[_0x63c222(0x8b)]=_0x63c222(0x6e);const _0x2b15ce=_0x457b5e;this[_0x63c222(0x91)]=path['join'](helper[_0x63c222(0x8a)](),_0x2b15ce[_0x63c222(0x8b)],'jest-o11y-'+process[_0x63c222(0x6a)][testHubConstants['ENV_VAR'][_0x63c222(0x87)]]),this['shutdown']();const _0x41e489={};_0x41e489['recursive']=!![],fs[_0x63c222(0x8d)](this['dirPath'],_0x41e489);}static['getFilePath'](_0x999699){const _0x4fde70=a28_0x4e9fba,_0x5a91c0={};_0x5a91c0['zEmQO']=function(_0x115f1,_0x79cf2d){return _0x115f1+_0x79cf2d;},_0x5a91c0['LDEHs']=_0x4fde70(0x72);const _0x534fe9=_0x5a91c0;return path['join'](this[_0x4fde70(0x91)],_0x534fe9[_0x4fde70(0x8e)](_0x999699,_0x534fe9[_0x4fde70(0x68)]));}static[a28_0x4e9fba(0x80)](_0x28211e){const _0x3a2f8f=a28_0x4e9fba,_0x4a5b19={};_0x4a5b19[_0x3a2f8f(0x92)]=function(_0x19baf2,_0xff5a0c){return _0x19baf2+_0xff5a0c;};const _0x1bfeb5=_0x4a5b19;return _0x1bfeb5[_0x3a2f8f(0x92)](_0x1bfeb5[_0x3a2f8f(0x92)](_0x28211e[_0x3a2f8f(0x73)]['id'],'-'),_0x28211e[_0x3a2f8f(0x95)]);}static[a28_0x4e9fba(0x94)](_0x1397c8){const _0x50b32e=a28_0x4e9fba,_0x12eb9a=this['getFilePath'](_0x1397c8);if(fs[_0x50b32e(0x66)](_0x12eb9a)){const _0x53c46c=JSON[_0x50b32e(0x7c)](fs[_0x50b32e(0x7d)](_0x12eb9a)[_0x50b32e(0x89)]());return this[_0x50b32e(0x81)][_0x1397c8]=_0x53c46c,this[_0x50b32e(0x81)][_0x1397c8][_0x50b32e(0x8c)];}}static['setTestData'](_0x4117a7){const _0x2eec3a=a28_0x4e9fba,_0x2105e4={};_0x2105e4['NNIkl']='testData.json';const _0x240f6d=_0x2105e4,_0x10c2f2=path[_0x2eec3a(0x93)](this[_0x2eec3a(0x91)],_0x240f6d['NNIkl']);fs[_0x2eec3a(0x67)](_0x10c2f2,JSON['stringify'](_0x4117a7));}static[a28_0x4e9fba(0x6c)](){const _0x3f6255=a28_0x4e9fba,_0xda68f1={};_0xda68f1['VhYBC']=_0x3f6255(0x78);const _0x5d6c7f=_0xda68f1,_0x54b847=path[_0x3f6255(0x93)](this[_0x3f6255(0x91)],_0x5d6c7f['VhYBC']);let _0x4229de={};try{return _0x54b847&&fs['existsSync'](_0x54b847)&&(_0x4229de=JSON[_0x3f6255(0x7c)](fs['readFileSync'](_0x54b847)[_0x3f6255(0x89)]())),_0x4229de;}catch(_0x4344f4){return _0x4229de;}}static[a28_0x4e9fba(0x64)](_0x8322a9){const _0x4cfe2c=a28_0x4e9fba,_0x1955fb={'mirbd':function(_0x3d3958){return _0x3d3958();}},_0x180738=this[_0x4cfe2c(0x8f)](_0x8322a9);return this['tests'][_0x8322a9]={'uuid':_0x1955fb[_0x4cfe2c(0x69)](uuidv4)},fs['writeFileSync'](_0x180738,JSON[_0x4cfe2c(0x7e)](this['tests'][_0x8322a9])),this[_0x4cfe2c(0x81)][_0x8322a9]['uuid'];}static['removeTestUUID'](_0xcbad02){const _0x3d0b14=a28_0x4e9fba,_0x547389=this['getFilePath'](_0xcbad02);_0x547389&&(fs['existsSync'](_0x547389)&&fs[_0x3d0b14(0x6b)](_0x547389));}static['shutdown'](){const _0x5cff4f=a28_0x4e9fba,_0x2e8952={};_0x2e8952[_0x5cff4f(0x77)]=!![],_0x2e8952[_0x5cff4f(0x79)]=!![],fs[_0x5cff4f(0x7a)](this['dirPath'],_0x2e8952);}}module[a28_0x4e9fba(0x84)]=TestDetails;
@@ -1 +1 @@
1
- const a29_0x845ffa=a29_0x21f4;(function(_0x39d9cb,_0x5cf707){const _0x977528=a29_0x21f4,_0x1ac81e=_0x39d9cb();while(!![]){try{const _0x7ea59c=-parseInt(_0x977528(0x10e))/0x1*(parseInt(_0x977528(0x107))/0x2)+parseInt(_0x977528(0x105))/0x3+parseInt(_0x977528(0x12b))/0x4*(-parseInt(_0x977528(0x119))/0x5)+-parseInt(_0x977528(0x142))/0x6+parseInt(_0x977528(0x11a))/0x7*(parseInt(_0x977528(0x130))/0x8)+parseInt(_0x977528(0x121))/0x9*(parseInt(_0x977528(0x141))/0xa)+-parseInt(_0x977528(0x11d))/0xb*(-parseInt(_0x977528(0x137))/0xc);if(_0x7ea59c===_0x5cf707)break;else _0x1ac81e['push'](_0x1ac81e['shift']());}catch(_0x49ff60){_0x1ac81e['push'](_0x1ac81e['shift']());}}}(a29_0x2a57,0xee91b));function a29_0x21f4(_0x494306,_0x19030a){const _0x2a5723=a29_0x2a57();return a29_0x21f4=function(_0x21f487,_0x41848b){_0x21f487=_0x21f487-0x102;let _0x47c9ec=_0x2a5723[_0x21f487];return _0x47c9ec;},a29_0x21f4(_0x494306,_0x19030a);}const {requireModule,modifyCommand,isTrue,isBrowserstackInfra,nestedKeyValue,parseYaml}=require(a29_0x845ffa(0x13d)),setKeepAlive=require(a29_0x845ffa(0x115)),util=require(a29_0x845ffa(0x11c)),PerformanceTester=require(a29_0x845ffa(0x13b)),{EVENTS:PerformanceEvents}=require(a29_0x845ffa(0x12e)),logger=require(a29_0x845ffa(0x134))['winstonLogger'],{shouldProcessEventForTesthub}=require(a29_0x845ffa(0x11e)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a29_0x845ffa(0x132)),TestDetails=require(a29_0x845ffa(0x129)),RequestQueueHandler=require(a29_0x845ffa(0x127)),{o11yErrorHandler}=require(a29_0x845ffa(0x12a)),MyReporter=require(a29_0x845ffa(0x12d)),SessionHandler=require(a29_0x845ffa(0x114)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a29_0x845ffa(0x110)),testHubConstants=require(a29_0x845ffa(0x10a)),{shouldScanTestForAccessibility}=require(a29_0x845ffa(0x10f)),fs=require('fs'),a29_0x265a53={};a29_0x265a53[a29_0x845ffa(0x106)]=undefined,a29_0x265a53[a29_0x845ffa(0x123)]={},a29_0x265a53['o11ySyncDone']=![],a29_0x265a53[a29_0x845ffa(0x124)]=null,a29_0x265a53[a29_0x845ffa(0x13a)]=![],a29_0x265a53[a29_0x845ffa(0x123)]['id']=undefined,a29_0x265a53[a29_0x845ffa(0x123)][a29_0x845ffa(0x133)]=undefined;const workerDetails=a29_0x265a53;global[a29_0x845ffa(0x125)]=workerDetails;let playwrightPatcher=null,puppeteerPatcher=null;setKeepAlive();function a29_0x2a57(){const _0xb5afb3=['120rcpHyD','../utils/playwright-patcher','../../helpers/test-observability/utils','testInfo','../../helpers/logger','__skipSessionStatus','__skipSessionName','684cXvhEL','jest','Error\x20reading\x20BrowserStack\x20config:\x20','isPageFixture','../../helpers/performance/performance-tester','Jest-Playwright/Puppeteer\x20setup\x20completed','../../helpers/helper','initializePuppeteerPatching','format','Puppeteer\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest','31030UXCjex','8939406xjPhbj','skipSessionStatus','installAll','PUPPETEER','622704fyuRif','workerInfo','2XGormN','Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker\x20process\x20(','JEST','../../helpers/testhub/constants.js','../v2/cliUtils','Error\x20initializing\x20Playwright\x20patching:\x20','jestConfig','1130314dGNObD','../../helpers/accessibility-automation/helper','../../helpers/globals','../utils/constants','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','debug','../../helpers/test-observability/sessionHandler','../../helpers/setKeepAlive','message','skipSessionName','PLAYWRIGHT','1853620DcpNwh','678734fkrfIr','driver-init\x20capture\x20install\x20failed:\x20','util','401577sIXVnT','../../helpers/testhub/utils','getPackageVersion','getInstance','3879hgdKOt','puppeteer-core','currentTest','pwPage','__workerDetails','@playwright/test','../../helpers/test-observability/requestQueueHandler','puppeteer','../playwright/reporter/test-details.js','../../helpers/test-observability/error-handler','16tQNjUl','../v2/browserstackCLI','../playwright/reporter/reporter.js','../../helpers/performance/constants','Patching\x20Puppeteer\x20for\x20Jest'];a29_0x2a57=function(){return _0xb5afb3;};return a29_0x2a57();}try{require('../../helpers/driverInitErrorReporter')[a29_0x845ffa(0x103)](a29_0x845ffa(0x138));}catch(a29_0x25d85c){logger[a29_0x845ffa(0x113)](a29_0x845ffa(0x11b)+(a29_0x25d85c&&a29_0x25d85c[a29_0x845ffa(0x116)]));}if(global[a29_0x845ffa(0x10d)])try{isBrowserstackInfra()?(global['__skipSessionName']=isTrue(global['jestConfig']?.[a29_0x845ffa(0x117)]),global[a29_0x845ffa(0x135)]=isTrue(global[a29_0x845ffa(0x10d)]?.[a29_0x845ffa(0x102)])):(global[a29_0x845ffa(0x136)]=!![],global[a29_0x845ffa(0x135)]=!![]);const helper=require(a29_0x845ffa(0x13d));if(helper[a29_0x845ffa(0x11f)](a29_0x845ffa(0x126)))try{logger[a29_0x845ffa(0x113)]('Patching\x20Playwright\x20for\x20Jest'),playwrightPatcher=require(a29_0x845ffa(0x131)),playwrightPatcher['initializePlaywrightPatching'](global['jestConfig']),logger[a29_0x845ffa(0x113)]('Playwright\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest');}catch(a29_0xca88de){logger['debug'](a29_0x845ffa(0x10c)+util[a29_0x845ffa(0x13f)](a29_0xca88de));}if(!playwrightPatcher&&(helper['getPackageVersion'](a29_0x845ffa(0x128))||helper[a29_0x845ffa(0x11f)](a29_0x845ffa(0x122))))try{logger['debug'](a29_0x845ffa(0x12f)),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher[a29_0x845ffa(0x13e)](global[a29_0x845ffa(0x10d)]),logger[a29_0x845ffa(0x113)](a29_0x845ffa(0x140));}catch(a29_0x4586c1){logger['debug']('Error\x20initializing\x20Puppeteer\x20patching:\x20'+util[a29_0x845ffa(0x13f)](a29_0x4586c1));}const activePatcher=playwrightPatcher||puppeteerPatcher;if(activePatcher)try{const BrowserstackCLI=require(a29_0x845ffa(0x12c)),CLIUtils=require(a29_0x845ffa(0x10b)),{FRAMEWORKS}=require(a29_0x845ffa(0x111));if(BrowserstackCLI[a29_0x845ffa(0x120)]()['isCliEnabled']()){const automationFramework=playwrightPatcher?FRAMEWORKS[a29_0x845ffa(0x118)]:FRAMEWORKS[a29_0x845ffa(0x104)];logger['debug'](a29_0x845ffa(0x108)+automationFramework+')'),CLIUtils['setFrameworkDetail'](FRAMEWORKS[a29_0x845ffa(0x109)],automationFramework),BrowserstackCLI[a29_0x845ffa(0x120)]()['bootstrap']()['catch'](_0x541080=>{const _0x458949=a29_0x845ffa;logger[_0x458949(0x113)]('Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util[_0x458949(0x13f)](_0x541080));});}}catch(a29_0x44febe){logger[a29_0x845ffa(0x113)](a29_0x845ffa(0x112)+util['format'](a29_0x44febe));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a29_0x3e1b59){logger[a29_0x845ffa(0x113)](a29_0x845ffa(0x139)+util[a29_0x845ffa(0x13f)](a29_0x3e1b59));}logger[a29_0x845ffa(0x113)](a29_0x845ffa(0x13c));
1
+ const a29_0x27a485=a29_0x4e25;(function(_0x3ff6c2,_0x2b3ad2){const _0x1e2de5=a29_0x4e25,_0x1be726=_0x3ff6c2();while(!![]){try{const _0x465084=parseInt(_0x1e2de5(0x122))/0x1*(parseInt(_0x1e2de5(0x114))/0x2)+parseInt(_0x1e2de5(0x105))/0x3*(-parseInt(_0x1e2de5(0x116))/0x4)+parseInt(_0x1e2de5(0x128))/0x5+-parseInt(_0x1e2de5(0x124))/0x6*(-parseInt(_0x1e2de5(0xef))/0x7)+parseInt(_0x1e2de5(0x102))/0x8+parseInt(_0x1e2de5(0xf4))/0x9+parseInt(_0x1e2de5(0x125))/0xa*(-parseInt(_0x1e2de5(0x109))/0xb);if(_0x465084===_0x2b3ad2)break;else _0x1be726['push'](_0x1be726['shift']());}catch(_0x2332ae){_0x1be726['push'](_0x1be726['shift']());}}}(a29_0x380b,0x5b9d3));const {requireModule,modifyCommand,isTrue,isBrowserstackInfra,nestedKeyValue,parseYaml}=require('../../helpers/helper'),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a29_0x27a485(0x11c)),PerformanceTester=require(a29_0x27a485(0x127)),{EVENTS:PerformanceEvents}=require(a29_0x27a485(0x11e)),logger=require(a29_0x27a485(0x121))['winstonLogger'],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require(a29_0x27a485(0xf0)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require(a29_0x27a485(0x113)),MyReporter=require(a29_0x27a485(0xf5)),SessionHandler=require(a29_0x27a485(0xf7)),scripts=require(a29_0x27a485(0x12b)),globals=require('../../helpers/globals'),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a29_0x27a485(0x11b)),fs=require('fs'),a29_0x30a652={};a29_0x30a652[a29_0x27a485(0x120)]=undefined,a29_0x30a652[a29_0x27a485(0x115)]={},a29_0x30a652[a29_0x27a485(0x108)]=![],a29_0x30a652[a29_0x27a485(0xf9)]=null,a29_0x30a652[a29_0x27a485(0xf2)]=![],a29_0x30a652[a29_0x27a485(0x115)]['id']=undefined,a29_0x30a652[a29_0x27a485(0x115)][a29_0x27a485(0x11d)]=undefined;const workerDetails=a29_0x30a652;global[a29_0x27a485(0x112)]=workerDetails;let playwrightPatcher=null,puppeteerPatcher=null;setKeepAlive();function a29_0x380b(){const _0x34958e=['Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker\x20process\x20(','../../helpers/accessibility-automation/scripts','../utils/puppeteer-patcher','1687QufFaA','../playwright/reporter/test-details.js','message','isPageFixture','Playwright\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest','66960Xvrzsj','../playwright/reporter/reporter.js','PLAYWRIGHT','../../helpers/test-observability/sessionHandler','skipSessionStatus','pwPage','driver-init\x20capture\x20install\x20failed:\x20','Patching\x20Puppeteer\x20for\x20Jest','puppeteer-core','puppeteer','isCliEnabled','jest','../../helpers/helper','../utils/playwright-patcher','5255576NRPMNo','getPackageVersion','Jest-Playwright/Puppeteer\x20setup\x20completed','9yTzltK','debug','installAll','o11ySyncDone','6148186LcwOgf','catch','initializePlaywrightPatching','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','jestConfig','@playwright/test','skipSessionName','__skipSessionName','initializePuppeteerPatching','__workerDetails','../../helpers/test-observability/error-handler','26qdPMyN','currentTest','573912mEDDRI','Error\x20initializing\x20Playwright\x20patching:\x20','Puppeteer\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest','format','Error\x20reading\x20BrowserStack\x20config:\x20','../../helpers/accessibility-automation/helper','util','testInfo','../../helpers/performance/constants','setFrameworkDetail','workerInfo','../../helpers/logger','2984GWNafZ','Error\x20bootstrapping\x20BrowserstackCLI:\x20','198VvunRV','10oxVXjQ','bootstrap','../../helpers/performance/performance-tester','3267395vvdHdG','getInstance'];a29_0x380b=function(){return _0x34958e;};return a29_0x380b();}try{require('../../helpers/driverInitErrorReporter')[a29_0x27a485(0x107)](a29_0x27a485(0xff));}catch(a29_0x2a13d1){logger[a29_0x27a485(0x106)](a29_0x27a485(0xfa)+(a29_0x2a13d1&&a29_0x2a13d1[a29_0x27a485(0xf1)]));}function a29_0x4e25(_0x2dc099,_0x41147a){const _0x380b8d=a29_0x380b();return a29_0x4e25=function(_0x4e2536,_0x12cc72){_0x4e2536=_0x4e2536-0xee;let _0x2da1bd=_0x380b8d[_0x4e2536];return _0x2da1bd;},a29_0x4e25(_0x2dc099,_0x41147a);}if(global[a29_0x27a485(0x10d)])try{isBrowserstackInfra()?(global[a29_0x27a485(0x110)]=isTrue(global[a29_0x27a485(0x10d)]?.[a29_0x27a485(0x10f)]),global['__skipSessionStatus']=isTrue(global[a29_0x27a485(0x10d)]?.[a29_0x27a485(0xf8)])):(global[a29_0x27a485(0x110)]=!![],global['__skipSessionStatus']=!![]);const helper=require(a29_0x27a485(0x100));if(helper['getPackageVersion'](a29_0x27a485(0x10e)))try{logger['debug']('Patching\x20Playwright\x20for\x20Jest'),playwrightPatcher=require(a29_0x27a485(0x101)),playwrightPatcher[a29_0x27a485(0x10b)](global[a29_0x27a485(0x10d)]),logger[a29_0x27a485(0x106)](a29_0x27a485(0xf3));}catch(a29_0x33e491){logger[a29_0x27a485(0x106)](a29_0x27a485(0x117)+util[a29_0x27a485(0x119)](a29_0x33e491));}if(!playwrightPatcher&&(helper[a29_0x27a485(0x103)](a29_0x27a485(0xfd))||helper[a29_0x27a485(0x103)](a29_0x27a485(0xfc))))try{logger[a29_0x27a485(0x106)](a29_0x27a485(0xfb)),puppeteerPatcher=require(a29_0x27a485(0xee)),puppeteerPatcher[a29_0x27a485(0x111)](global[a29_0x27a485(0x10d)]),logger[a29_0x27a485(0x106)](a29_0x27a485(0x118));}catch(a29_0x259c4d){logger['debug']('Error\x20initializing\x20Puppeteer\x20patching:\x20'+util['format'](a29_0x259c4d));}const activePatcher=playwrightPatcher||puppeteerPatcher;if(activePatcher)try{const BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require('../v2/cliUtils'),{FRAMEWORKS}=require('../utils/constants');if(BrowserstackCLI[a29_0x27a485(0x129)]()[a29_0x27a485(0xfe)]()){const automationFramework=playwrightPatcher?FRAMEWORKS[a29_0x27a485(0xf6)]:FRAMEWORKS['PUPPETEER'];logger['debug'](a29_0x27a485(0x12a)+automationFramework+')'),CLIUtils[a29_0x27a485(0x11f)](FRAMEWORKS['JEST'],automationFramework),BrowserstackCLI['getInstance']()[a29_0x27a485(0x126)]()[a29_0x27a485(0x10a)](_0x5e8a9c=>{const _0x37cd33=a29_0x27a485;logger[_0x37cd33(0x106)](_0x37cd33(0x123)+util[_0x37cd33(0x119)](_0x5e8a9c));});}}catch(a29_0x550546){logger['debug'](a29_0x27a485(0x10c)+util[a29_0x27a485(0x119)](a29_0x550546));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a29_0xf6b0ca){logger[a29_0x27a485(0x106)](a29_0x27a485(0x11a)+util[a29_0x27a485(0x119)](a29_0xf6b0ca));}logger[a29_0x27a485(0x106)](a29_0x27a485(0x104));
@@ -1 +1 @@
1
- const a30_0x2cda02=a30_0x2d23;(function(_0x59e301,_0x7072eb){const _0x33c641=a30_0x2d23,_0x4e5807=_0x59e301();while(!![]){try{const _0xea1340=-parseInt(_0x33c641(0x1ec))/0x1+-parseInt(_0x33c641(0x1ee))/0x2+parseInt(_0x33c641(0x1f1))/0x3+parseInt(_0x33c641(0x1ef))/0x4+parseInt(_0x33c641(0x1e1))/0x5+parseInt(_0x33c641(0x1e8))/0x6+parseInt(_0x33c641(0x1eb))/0x7;if(_0xea1340===_0x7072eb)break;else _0x4e5807['push'](_0x4e5807['shift']());}catch(_0x54aa96){_0x4e5807['push'](_0x4e5807['shift']());}}}(a30_0x2648,0xf09e8));function a30_0x2d23(_0x42a94b,_0x54bd91){const _0x2648aa=a30_0x2648();return a30_0x2d23=function(_0x2d2376,_0xc2d781){_0x2d2376=_0x2d2376-0x1e1;let _0x535bd4=_0x2648aa[_0x2d2376];return _0x535bd4;},a30_0x2d23(_0x42a94b,_0x54bd91);}function a30_0x2648(){const _0x294d49=['472962KlKsOR','selenium-webdriver','debug','11431672CLDCbJ','561026gUAZuc','../../helpers/logger','3158760fMDxjU','3759280ScCXWb','jest','864564ursKGR','930255qCZYNC','__webdriver','Selenium-webdriver\x20not\x20available\x20to\x20set\x20in\x20global.__webdriver','../../helpers/driverInitErrorReporter','keys','../../helpers/setKeepAlive','../../helpers/helper'];a30_0x2648=function(){return _0x294d49;};return a30_0x2648();}const {requireModule}=require(a30_0x2cda02(0x1e7)),logger=require(a30_0x2cda02(0x1ed))['winstonLogger'];require(a30_0x2cda02(0x1e6))();try{const __wd__=requireModule(a30_0x2cda02(0x1e9));for(const key of Object[a30_0x2cda02(0x1e5)](global['__webdriver'])){__wd__[key]=global[a30_0x2cda02(0x1e2)][key];}}catch(a30_0x4c6777){logger['debug'](a30_0x2cda02(0x1e3));}try{require(a30_0x2cda02(0x1e4))['installAll'](a30_0x2cda02(0x1f0));}catch(a30_0x336857){logger[a30_0x2cda02(0x1ea)]('driver-init\x20capture\x20install\x20failed:\x20'+(a30_0x336857&&a30_0x336857['message']));}
1
+ function a30_0x4bd5(){const _0xae0673=['driver-init\x20capture\x20install\x20failed:\x20','../../helpers/logger','../../helpers/helper','debug','20ytzkgR','jest','__webdriver','7067dzcVBf','19949300uaDdbk','82FWmCCb','message','837081akICkp','8KSbNiC','Selenium-webdriver\x20not\x20available\x20to\x20set\x20in\x20global.__webdriver','winstonLogger','2719660IdvxNh','295338okOKYs','2948736GTztUJ','selenium-webdriver','2699438zITHLO','../../helpers/driverInitErrorReporter'];a30_0x4bd5=function(){return _0xae0673;};return a30_0x4bd5();}const a30_0x999aaf=a30_0x4102;(function(_0x3cd57e,_0x4c9223){const _0x101d1b=a30_0x4102,_0x36937a=_0x3cd57e();while(!![]){try{const _0x2f5f0b=-parseInt(_0x101d1b(0x155))/0x1*(-parseInt(_0x101d1b(0x157))/0x2)+-parseInt(_0x101d1b(0x15e))/0x3*(-parseInt(_0x101d1b(0x152))/0x4)+parseInt(_0x101d1b(0x15d))/0x5+parseInt(_0x101d1b(0x15f))/0x6+parseInt(_0x101d1b(0x161))/0x7*(parseInt(_0x101d1b(0x15a))/0x8)+parseInt(_0x101d1b(0x159))/0x9+-parseInt(_0x101d1b(0x156))/0xa;if(_0x2f5f0b===_0x4c9223)break;else _0x36937a['push'](_0x36937a['shift']());}catch(_0x2a03e8){_0x36937a['push'](_0x36937a['shift']());}}}(a30_0x4bd5,0x49816));const {requireModule}=require(a30_0x999aaf(0x150)),logger=require(a30_0x999aaf(0x14f))[a30_0x999aaf(0x15c)];function a30_0x4102(_0x28f09d,_0x374d70){const _0x4bd55e=a30_0x4bd5();return a30_0x4102=function(_0x410231,_0x49de10){_0x410231=_0x410231-0x14d;let _0x46680d=_0x4bd55e[_0x410231];return _0x46680d;},a30_0x4102(_0x28f09d,_0x374d70);}require('../../helpers/setKeepAlive')();try{const __wd__=requireModule(a30_0x999aaf(0x160));for(const key of Object['keys'](global['__webdriver'])){__wd__[key]=global[a30_0x999aaf(0x154)][key];}}catch(a30_0x4b238d){logger[a30_0x999aaf(0x151)](a30_0x999aaf(0x15b));}try{require(a30_0x999aaf(0x14d))['installAll'](a30_0x999aaf(0x153));}catch(a30_0x1c6fa5){logger[a30_0x999aaf(0x151)](a30_0x999aaf(0x14e)+(a30_0x1c6fa5&&a30_0x1c6fa5[a30_0x999aaf(0x158)]));}