browserstack-node-sdk 1.70.1 → 1.70.2

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 (223) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/mochaTestFramework.js +1 -1
  139. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  140. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  142. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  143. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  144. package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testFramework.js +1 -1
  146. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  147. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  148. package/src/bin/v2/grpcClient.js +1 -1
  149. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  150. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  151. package/src/bin/v2/instances/trackedContext.js +1 -1
  152. package/src/bin/v2/instances/trackedInstance.js +1 -1
  153. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  154. package/src/bin/v2/modules/baseModule.js +1 -1
  155. package/src/bin/v2/modules/loadTestModule.js +1 -1
  156. package/src/bin/v2/modules/observabilityModule.js +1 -1
  157. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  158. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  159. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  160. package/src/bin/v2/modules/testhubModule.js +1 -1
  161. package/src/bin/v2/runStateStore.js +1 -1
  162. package/src/bin/v2/sdkErrorHandler.js +1 -1
  163. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  164. package/src/bin/v2/state/hookState.js +1 -1
  165. package/src/bin/v2/state/testFrameworkState.js +1 -1
  166. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  167. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  168. package/src/bin/v2/utils/jest-utils.js +1 -1
  169. package/src/bin/vanilla-js/command.js +1 -1
  170. package/src/browserStackSdk.js +1 -1
  171. package/src/helpers/BrowserStackSetup.js +1 -1
  172. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  173. package/src/helpers/accessibility-automation/constants.js +1 -1
  174. package/src/helpers/accessibility-automation/helper.js +1 -1
  175. package/src/helpers/accessibility-automation/scripts.js +1 -1
  176. package/src/helpers/ats/constants.js +1 -1
  177. package/src/helpers/ats/helper.js +1 -1
  178. package/src/helpers/caCertHelper.js +1 -1
  179. package/src/helpers/capsMapping.js +1 -1
  180. package/src/helpers/central-scanner/constants.js +1 -1
  181. package/src/helpers/central-scanner/helpers.js +1 -1
  182. package/src/helpers/classLogger.js +1 -1
  183. package/src/helpers/driverInitErrorReporter.js +1 -1
  184. package/src/helpers/globals.js +1 -1
  185. package/src/helpers/helper.js +1 -1
  186. package/src/helpers/logger.js +1 -1
  187. package/src/helpers/metadata.js +1 -1
  188. package/src/helpers/patchHelper.js +1 -1
  189. package/src/helpers/patchHelpers.js +1 -1
  190. package/src/helpers/percy/Percy.js +1 -1
  191. package/src/helpers/percy/PercyBinary.js +1 -1
  192. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  193. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  194. package/src/helpers/percy/PercySDK.js +1 -1
  195. package/src/helpers/percy/index.js +1 -1
  196. package/src/helpers/percy/utils.js +1 -1
  197. package/src/helpers/performance/constants.js +1 -1
  198. package/src/helpers/performance/performance-tester.js +1 -1
  199. package/src/helpers/playwright-helper.js +1 -1
  200. package/src/helpers/processHelper.js +1 -1
  201. package/src/helpers/puppeteer-helper.js +1 -1
  202. package/src/helpers/request-spy.js +1 -1
  203. package/src/helpers/setKeepAlive.js +1 -1
  204. package/src/helpers/stackFrameUtils.js +1 -1
  205. package/src/helpers/test-observability/constants.js +1 -1
  206. package/src/helpers/test-observability/error-handler.js +1 -1
  207. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  208. package/src/helpers/test-observability/sessionHandler.js +1 -1
  209. package/src/helpers/test-observability/utils.js +1 -1
  210. package/src/helpers/test-orchestration/constants.js +1 -1
  211. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  212. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  213. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  214. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  215. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  216. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  217. package/src/helpers/testhub/constants.js +1 -1
  218. package/src/helpers/testhub/testhubHandler.js +1 -1
  219. package/src/helpers/testhub/utils.js +1 -1
  220. package/src/helpers/utilities.js +1 -1
  221. package/src/helpers/w3cMapping.js +1 -1
  222. package/src/hubAllocationMethods.js +1 -1
  223. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a57_0x5f4c2e=a57_0x405b;(function(_0x431e0b,_0x43d977){const _0xa8dbc=a57_0x405b,_0xd8124e=_0x431e0b();while(!![]){try{const _0x43f7e3=parseInt(_0xa8dbc(0x2b1))/0x1+-parseInt(_0xa8dbc(0x29d))/0x2+-parseInt(_0xa8dbc(0x290))/0x3+parseInt(_0xa8dbc(0x225))/0x4*(parseInt(_0xa8dbc(0x292))/0x5)+-parseInt(_0xa8dbc(0x1eb))/0x6+parseInt(_0xa8dbc(0x232))/0x7*(-parseInt(_0xa8dbc(0x1b5))/0x8)+parseInt(_0xa8dbc(0x1d0))/0x9;if(_0x43f7e3===_0x43d977)break;else _0xd8124e['push'](_0xd8124e['shift']());}catch(_0x380c07){_0xd8124e['push'](_0xd8124e['shift']());}}}(a57_0x51b9,0xe89d8));function a57_0x51b9(){const _0x3bf52d=['../../v2/TestInfo','afterEach\x20hook','utf8','BROWSERSTACK_LOG_LEVEL','HysLR','homedir','tBsCu','getHierarchy','No\x20integrations\x20found\x20for\x20test\x20','oflJW','WloXW','printsToStdio','DMbyC','integrations','abUEr','gJxGn','SSzAs','TEST_SCREENSHOT','uuid','exports','2|0|7|4|6|3|5|1','EcktA','needToReportStep','zkgHf','title','endSession','qtXby','stCnH','test','BEFORE_ALL','AFTER_EACH','../../../helpers/test-observability/requestQueueHandler','IxOkD','message','meta','Error\x20in\x20sending\x20trace\x20zip:\x20%s','getScope','otCiK','HookRunFinished','GQJyw','_testHooksMap','oawRr','289808TCBbxK','cEhKh','yhkMu','INIT_TEST','onTestBegin','\x20at\x20','LvLRQ','TEST_STEP','../../../helpers/test-observability/sessionHandler','relative','Error\x20in\x20calculating\x20performance:\x20','../../../helpers/test-observability/constants','isRunning','413ajyYWH','getCustomRerunParam','Gsaeq','hooks','iLymB','QVYJW','../../../helpers/helper','_tests','LHLdN','SmwDB','Test\x20Finished\x20with\x20unique\x20id\x20','result','sendHookRunEvent','timedOut','yuekI','rbkuy','test_run','getInstance','readFileSync','format','split','../../../helpers/test-observability/error-handler','Hook\x20Finished\x20with\x20unique\x20id\x20','_bs_hookIdentifier','dipbR','reportLogs','DaQVI','SeXxc','fOzkR','logs','EaUUi','afterAll\x20hook','VuqoK','.browserstack','ZTHSM','test.step','startMonitoring','expectedStatus','attachments','xxAIJ','BhUMj','_gitConfigPath','EWUfv','IWtnd','Test\x20Started\x20with\x20unique\x20id\x20','NdRUw','KLbUl','GvOvi','LKAfI','kUiyl','BROWSERSTACK_TEST_RUN_ID','category','Trace\x20file\x20found\x20for\x20test:\x20','../../../../src/bin/utils/constants','SWyKe','retry_of','rXAtD','file','javascript','AFTER_ALL','cwd','failure','eKHSG','getIntegrations','.txt','retry','options','ySuqM','mzBta','\x20for\x20','onTestEnd','jcyOH','error','bJvhP','map','join','mtime','failed','skipped','all','MyReporter','mFElO','hook_run','onStepBegin','ntQDd','reverse','Expected\x20to\x20fail,\x20but\x20passed.','uploadEventData','../../../helpers/testhub/utils','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','beforeEach\x20hook','SBjJy','CWkZP','setup','5503764tTuxuO','EGjGn','5cldRMv','length','ajNOU','QBJOa','trace_','toString','status','step','WJUfh','hTGwj','trackEvent','2818046vSRuoc','rstfM','POST','failure_type','path','logLevel','TestRunFinished','startsWith','configureGit','setStepIdentifier','cBkFn','lRvsn','QeOgT','sendTestRunEvent','lclZc','getStepIdentifier','DiqEL','getTestFramework','event_type','BROWSERSTACK_O11Y_PERF_MEASUREMENT','1281367bngjDb','TestRunStarted','ewsJw','sendSessionDetails','ebfOO','XQkXM','statSync','NgdBU','FOzwc','env','depth','TEST_ATTACHMENT','QqMUu','uDBjB','VNEAn','xeXmT','location','DVaDG','186096mvqvLU','../../../helpers/performance/performance-tester','nbDXk','onEnd','noDlo','Aiphf','util','push','hQTMg','finishedAt','eOaYH','FYRKh','untitled\x20test','steps','yywGD','./test-details','YreLc','toISOString','TjcOU','titlePath','startTime','duration','RNhNg','getTestUUID','pending','LxfET','existsSync','45236043DmYyxB','test_run_uuid','qRtpj','errors','PRE','CBTSessionCreated','getStepsAndLogs','\x20-\x20','gIZEE','failure_reason','expanded','PSpFQ','onStepEnd','name','parent','startedAt','HeWoh','mkdirSync','passed','TbAJZ','performance-report-reporter.json','_gitConfigured','getHookType','_trackedEvents','PLAYWRIGHT','\x20—\x20video_url\x20will\x20not\x20surface\x20on\x20Test\x20Health\x20for\x20this\x20test','PEkBB','4867110AhEmrV','hook','../../v2/state/hookState','HookRunStarted','_tags','LogCreated','IFlRA','forEach','KuyFp','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','fOpBJ','FJVLo','indexOf','root','\x20is\x20triggered','backtrace'];a57_0x51b9=function(){return _0x3bf52d;};return a57_0x51b9();}const RequestQueueHandler=require(a57_0x5f4c2e(0x21a)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require('./pwUtils'),{v4:uuidv4}=require('uuid'),path=require(a57_0x5f4c2e(0x2a1)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a57_0x5f4c2e(0x238)),TestDetails=require(a57_0x5f4c2e(0x1c4)),fs=require('fs'),util=require(a57_0x5f4c2e(0x1bb)),{o11yClassErrorHandler}=require(a57_0x5f4c2e(0x247)),PerformanceTester=require(a57_0x5f4c2e(0x1b6)),{FRAMEWORKS}=require(a57_0x5f4c2e(0x230)),SessionHandler=require(a57_0x5f4c2e(0x22d)),{appendTesthubParams}=require(a57_0x5f4c2e(0x28a)),helper=require('../../../helpers/helper'),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a57_0x5f4c2e(0x1ed)),TestInfo=require(a57_0x5f4c2e(0x1fb)),{PLAYWRIGHT_TRACE_LOGS}=require(a57_0x5f4c2e(0x267));function a57_0x405b(_0x9779f7,_0x1eae01){const _0x51b911=a57_0x51b9();return a57_0x405b=function(_0x405bbf,_0x55c7a5){_0x405bbf=_0x405bbf-0x1a6;let _0x4dbe25=_0x51b911[_0x405bbf];return _0x4dbe25;},a57_0x405b(_0x9779f7,_0x1eae01);}class MyReporter{constructor(_0x2296ca){const _0xe67d34=a57_0x5f4c2e,_0x378711={'SWyKe':_0xe67d34(0x20f),'PSpFQ':_0xe67d34(0x1e4),'KuyFp':function(_0x1ca095,_0x51a1f3,_0x1b5aa2,_0x4504e6){return _0x1ca095(_0x51a1f3,_0x1b5aa2,_0x4504e6);}},_0x36bebc=_0x378711[_0xe67d34(0x268)][_0xe67d34(0x246)]('|');let _0x32b0f9=0x0;while(!![]){switch(_0x36bebc[_0x32b0f9++]){case'0':process[_0xe67d34(0x1ac)][_0xe67d34(0x2b0)]&&(PerformanceTester[_0xe67d34(0x256)](_0x378711[_0xe67d34(0x1db)]),process[_0xe67d34(0x1ac)]['START_TIME']=new Date()[_0xe67d34(0x1c6)]());continue;case'1':this[_0xe67d34(0x1e7)]=[];continue;case'2':const _0x2893b2={};_0x2893b2[_0xe67d34(0x2a2)]=process['env'][_0xe67d34(0x1fe)],_0x378711[_0xe67d34(0x1f3)](setLogLevel,_0x2893b2,new Map(),new Map());continue;case'3':this[_0xe67d34(0x1e5)]=![];continue;case'4':this[_0xe67d34(0x223)]={};continue;case'5':this[_0xe67d34(0x25b)]=null;continue;case'6':this[_0xe67d34(0x274)]=_0x2296ca;continue;case'7':this[_0xe67d34(0x239)]={};continue;}break;}}async['onBegin'](){const _0x37c043=a57_0x5f4c2e,_0x54fafc={};_0x54fafc['LKAfI']='Playwright';const _0x2063f8=_0x54fafc;TestDetails['setup'](),await this[_0x37c043(0x2a5)](),TestInfo[_0x37c043(0x28f)](_0x2063f8[_0x37c043(0x262)]);if(BrowserstackCLI[_0x37c043(0x243)]()[_0x37c043(0x231)]()){await BrowserstackCLI['getInstance']()['getTestFramework']()[_0x37c043(0x29c)](TestFrameworkState[_0x37c043(0x228)],HookState['PRE'],{});return;}}async[a57_0x5f4c2e(0x229)](_0xd30fcf,_0x51b19f){const _0x422af9=a57_0x5f4c2e,_0x1a3aa9={'fmSUQ':function(_0x15c667,_0xbbafa9){return _0x15c667(_0xbbafa9);},'rstfM':function(_0x456624,_0xd09d98,_0x3c398e){return _0x456624(_0xd09d98,_0x3c398e);},'QeOgT':function(_0x1568b7,_0x1ca8e3){return _0x1568b7(_0x1ca8e3);},'VuqoK':_0x422af9(0x2b2)};if(BrowserstackCLI[_0x422af9(0x243)]()[_0x422af9(0x231)]()){const _0x2bde91={};_0x2bde91[_0x422af9(0x217)]=_0xd30fcf,_0x2bde91[_0x422af9(0x23d)]=_0x51b19f,await BrowserstackCLI[_0x422af9(0x243)]()[_0x422af9(0x2ae)]()[_0x422af9(0x29c)](TestFrameworkState['TEST'],HookState[_0x422af9(0x1d4)],_0x2bde91);return;}const _0x56268b=_0x1a3aa9['fmSUQ'](getTestIdentifier,_0xd30fcf),_0xa5bd97=TestDetails[_0x422af9(0x1cc)](_0x1a3aa9[_0x422af9(0x29e)](getTestRunIdentifier,_0xd30fcf,_0x51b19f['retry']));process[_0x422af9(0x1ac)][_0x422af9(0x264)]=_0xa5bd97;const _0x3e594b={};_0x3e594b[_0x422af9(0x20d)]=_0xa5bd97,_0x3e594b[_0x422af9(0x1df)]=_0x51b19f[_0x422af9(0x1c9)],this[_0x422af9(0x239)][_0x56268b]=_0x3e594b,_0x1a3aa9[_0x422af9(0x2a9)](trace,_0x422af9(0x25e)+_0x56268b),await this[_0x422af9(0x2aa)](_0xd30fcf,_0x1a3aa9[_0x422af9(0x252)],_0x51b19f);}async[a57_0x5f4c2e(0x285)](_0xacd747,_0x199b6c,_0x55c9bd){const _0x1c62fb=a57_0x5f4c2e,_0x3879ba={'LHLdN':function(_0xcd7138,_0x25b246){return _0xcd7138===_0x25b246;},'EGjGn':_0x1c62fb(0x255),'qtXby':function(_0x140964,_0x4e7aab,_0x16e48b){return _0x140964(_0x4e7aab,_0x16e48b);},'XQkXM':function(_0x11633a,_0x284da3){return _0x11633a(_0x284da3);},'RdGbn':_0x1c62fb(0x1ee)};if(!this[_0x1c62fb(0x211)](_0x55c9bd,_0xacd747))return;if(_0x3879ba[_0x1c62fb(0x23a)](_0x55c9bd[_0x1c62fb(0x265)],_0x3879ba[_0x1c62fb(0x291)])){if(BrowserstackCLI[_0x1c62fb(0x243)]()['isRunning']()){const _0x479228={};_0x479228[_0x1c62fb(0x217)]=_0xacd747,_0x479228[_0x1c62fb(0x23d)]=_0x199b6c,_0x479228[_0x1c62fb(0x299)]=_0x55c9bd,await BrowserstackCLI[_0x1c62fb(0x243)]()[_0x1c62fb(0x2ae)]()['trackEvent'](TestFrameworkState['TEST_STEP'],HookState[_0x1c62fb(0x1d4)],_0x479228);}return;}if(BrowserstackCLI['getInstance']()[_0x1c62fb(0x231)]()){const _0x224d76=this['getHookType'](_0x55c9bd['title']),_0x8b0d85=TestFrameworkState[_0x224d76],_0x4cd357={};_0x4cd357['test']=_0xacd747,_0x4cd357['result']=_0x199b6c,_0x4cd357['step']=_0x55c9bd,await BrowserstackCLI['getInstance']()[_0x1c62fb(0x2ae)]()['trackEvent'](_0x8b0d85,HookState[_0x1c62fb(0x1d4)],_0x4cd357);return;}const _0x3eceb6=this[_0x1c62fb(0x2a6)](_0xacd747,_0x55c9bd);this[_0x1c62fb(0x239)][_0x3eceb6]={'uuid':TestDetails[_0x1c62fb(0x1cc)](_0x3eceb6),'startedAt':_0x55c9bd['startTime'][_0x1c62fb(0x1c6)]()};const _0x2dc40f=_0x3879ba[_0x1c62fb(0x215)](getTestRunIdentifier,_0xacd747,_0x199b6c['retry']);!this['_testHooksMap'][_0x2dc40f]&&(this[_0x1c62fb(0x223)][_0x2dc40f]=[]),this['_testHooksMap'][_0x2dc40f]['push'](this[_0x1c62fb(0x239)][_0x3eceb6][_0x1c62fb(0x20d)]),_0x3879ba[_0x1c62fb(0x1a8)](trace,'Hook\x20Started\x20with\x20unique\x20id\x20'+_0x3eceb6+'\x20is\x20triggered\x20for\x20test\x20'+_0x2dc40f),await this[_0x1c62fb(0x23e)](_0xacd747,_0x55c9bd,_0x3879ba['RdGbn'],_0x199b6c);}async['onStepEnd'](_0x231801,_0x21fc66,_0x24538a){const _0x2dea6a=a57_0x5f4c2e,_0x22dfaf={'IFlRA':function(_0x5caaf1,_0x51271a){return _0x5caaf1===_0x51271a;},'abUEr':_0x2dea6a(0x255),'VbINy':function(_0x4672cf,_0x296925){return _0x4672cf+_0x296925;},'LxfET':function(_0x24c9cc,_0x3a6ee8){return _0x24c9cc(_0x3a6ee8);},'IxOkD':'HookRunFinished'};if(!this[_0x2dea6a(0x211)](_0x24538a,_0x231801))return;if(_0x22dfaf[_0x2dea6a(0x1f1)](_0x24538a[_0x2dea6a(0x265)],_0x22dfaf[_0x2dea6a(0x209)])){if(BrowserstackCLI['getInstance']()[_0x2dea6a(0x231)]()){const _0x5ef7d2={};_0x5ef7d2[_0x2dea6a(0x217)]=_0x231801,_0x5ef7d2[_0x2dea6a(0x23d)]=_0x21fc66,_0x5ef7d2['step']=_0x24538a,await BrowserstackCLI['getInstance']()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x2dea6a(0x22c)],HookState['POST'],_0x5ef7d2);}return;}if(BrowserstackCLI[_0x2dea6a(0x243)]()['isRunning']()){const _0x2834ec=this[_0x2dea6a(0x1e6)](_0x24538a[_0x2dea6a(0x213)]),_0x6564ea=TestFrameworkState[_0x2834ec],_0x2828ac={};_0x2828ac[_0x2dea6a(0x217)]=_0x231801,_0x2828ac['result']=_0x21fc66,_0x2828ac[_0x2dea6a(0x299)]=_0x24538a,await BrowserstackCLI[_0x2dea6a(0x243)]()[_0x2dea6a(0x2ae)]()[_0x2dea6a(0x29c)](_0x6564ea,HookState[_0x2dea6a(0x29f)],_0x2828ac);return;}const _0x254eea=this[_0x2dea6a(0x2ac)](_0x231801,_0x24538a);this[_0x2dea6a(0x239)][_0x254eea]={...this['_tests'][_0x254eea]||{},'finishedAt':new Date(_0x22dfaf['VbINy'](_0x24538a[_0x2dea6a(0x1c9)]['getTime'](),_0x24538a['duration']))},_0x22dfaf[_0x2dea6a(0x1ce)](trace,_0x2dea6a(0x248)+_0x254eea+_0x2dea6a(0x1f9)),await this[_0x2dea6a(0x23e)](_0x231801,_0x24538a,_0x22dfaf[_0x2dea6a(0x21b)],_0x21fc66);}async[a57_0x5f4c2e(0x278)](_0x136971,_0x420f19){const _0x21b2e3=a57_0x5f4c2e,_0x23e6a4={'FAIyc':function(_0x2a4626,_0x2d36ca){return _0x2a4626===_0x2d36ca;},'RNhNg':'screenshot','ebfOO':_0x21b2e3(0x20c),'DiqEL':'base64','hQTMg':function(_0x1e1ea1,_0xe39760){return _0x1e1ea1(_0xe39760);},'ntQDd':function(_0x2139b1,_0x41c1fb,_0x4803f1){return _0x2139b1(_0x41c1fb,_0x4803f1);},'otCiK':function(_0x40b83c,_0x40b802){return _0x40b83c(_0x40b802);},'DMbyC':_0x21b2e3(0x2a3),'RyKfD':function(_0x571bc2,_0x16445c){return _0x571bc2(_0x16445c);},'UIZhY':_0x21b2e3(0x1f4),'klvpF':function(_0x56d30c,_0x362483){return _0x56d30c(_0x362483);},'mFElO':_0x21b2e3(0x21e),'oflJW':function(_0x5b3990,_0x461be0){return _0x5b3990>_0x461be0;}};if(BrowserstackCLI[_0x21b2e3(0x243)]()['isRunning']()){const _0x45e9e1={};_0x45e9e1['test']=_0x136971,_0x45e9e1[_0x21b2e3(0x23d)]=_0x420f19,this[_0x21b2e3(0x1e7)][_0x21b2e3(0x1bc)](BrowserstackCLI[_0x21b2e3(0x243)]()['getTestFramework']()[_0x21b2e3(0x29c)](TestFrameworkState['TEST'],HookState[_0x21b2e3(0x29f)],_0x45e9e1));return;}const _0xdd7d6b=_0x23e6a4[_0x21b2e3(0x1bd)](getTestIdentifier,_0x136971),_0x8007b6=TestDetails[_0x21b2e3(0x1cc)](_0x23e6a4['ntQDd'](getTestRunIdentifier,_0x136971,_0x420f19[_0x21b2e3(0x273)]));this[_0x21b2e3(0x239)][_0xdd7d6b]={...this[_0x21b2e3(0x239)][_0xdd7d6b]||{},'finishedAt':new Date()[_0x21b2e3(0x1c6)]()},_0x23e6a4[_0x21b2e3(0x220)](debug,_0x21b2e3(0x23c)+_0xdd7d6b);try{await this[_0x21b2e3(0x2aa)](_0x136971,_0x23e6a4[_0x21b2e3(0x207)],_0x420f19);}catch(_0x3c77b4){_0x23e6a4['RyKfD'](debug,util[_0x21b2e3(0x245)](_0x23e6a4['UIZhY'],_0x3c77b4[_0x21b2e3(0x297)]()));}try{_0x23e6a4['klvpF'](debug,_0x21b2e3(0x28b)+_0x8007b6),await _0x23e6a4[_0x21b2e3(0x286)](sendTraceZip,_0x420f19,_0x8007b6);}catch(_0x254359){_0x23e6a4['hQTMg'](debug,util[_0x21b2e3(0x245)](_0x23e6a4[_0x21b2e3(0x283)],_0x254359['toString']()));}const _0x1f8129=[];_0x420f19[_0x21b2e3(0x258)]&&_0x420f19['attachments'][_0x21b2e3(0x27c)](_0x1cba9c=>{const _0x586d3d=_0x21b2e3;if(_0x23e6a4['FAIyc'](_0x1cba9c[_0x586d3d(0x1dd)],_0x23e6a4[_0x586d3d(0x1cb)])){if(!_0x1cba9c['path']||!fs[_0x586d3d(0x1cf)](_0x1cba9c[_0x586d3d(0x2a1)]))return;_0x1f8129[_0x586d3d(0x1bc)]({'test_run_uuid':_0x8007b6,'timestamp':fs[_0x586d3d(0x1a9)](_0x1cba9c[_0x586d3d(0x2a1)])[_0x586d3d(0x27e)],'kind':_0x23e6a4[_0x586d3d(0x1a7)],'message':fs[_0x586d3d(0x244)](_0x1cba9c[_0x586d3d(0x2a1)],{'encoding':_0x23e6a4[_0x586d3d(0x2ad)]})});}}),_0x23e6a4[_0x21b2e3(0x204)](_0x1f8129[_0x21b2e3(0x293)],0x0)&&await MyReporter['reportLogs'](_0x1f8129);}async[a57_0x5f4c2e(0x214)](){const _0x241a68=a57_0x5f4c2e;await RequestQueueHandler[_0x241a68(0x243)]()['shutdown']();}async[a57_0x5f4c2e(0x1b8)](_0x12639d){const _0x1ae459=a57_0x5f4c2e,_0x34ee12={'GfRQt':function(_0x4f36ec){return _0x4f36ec();},'NdRUw':function(_0x5643d5,_0x464890){return _0x5643d5(_0x464890);}};await Promise[_0x1ae459(0x281)](this[_0x1ae459(0x1e7)]),await this[_0x1ae459(0x214)]();try{process[_0x1ae459(0x1ac)][_0x1ae459(0x2b0)]&&await _0x34ee12['GfRQt'](calculatePerformance);}catch(_0x4a12cd){_0x34ee12[_0x1ae459(0x25f)](debug,_0x1ae459(0x22f)+_0x4a12cd['toString']());}}static async['addTestUIDAndReportLog'](_0x5de1fc,_0x48e2ac){const _0xde2447=a57_0x5f4c2e;_0x48e2ac[_0xde2447(0x1d1)]=TestDetails['getTestUUID'](_0x5de1fc),await this[_0xde2447(0x24b)]([_0x48e2ac]);}static async['reportLogs'](_0x384c3e){const _0xa54e3=a57_0x5f4c2e,_0x359158={};_0x359158['QVYJW']=_0xa54e3(0x1f0);const _0x3ddce3=_0x359158;if(BrowserstackCLI[_0xa54e3(0x243)]()[_0xa54e3(0x231)]())return;const _0x1a6ad2={};_0x1a6ad2[_0xa54e3(0x2af)]=_0x3ddce3[_0xa54e3(0x237)],_0x1a6ad2[_0xa54e3(0x24f)]=_0x384c3e,await SessionHandler[_0xa54e3(0x289)](_0x1a6ad2);}async[a57_0x5f4c2e(0x23e)](_0xaf031d,_0xae3c26,_0x49bd50,_0x3c6026){const _0xde975c=a57_0x5f4c2e,_0x200a46={'WloXW':_0xde975c(0x1ec),'EWUfv':_0xde975c(0x26c),'CWkZP':_0xde975c(0x1cd),'PEkBB':function(_0x5c45b9,_0x23b6a9){return _0x5c45b9>=_0x23b6a9;},'WJUfh':function(_0x7afd6f,_0x3cc80b){return _0x7afd6f===_0x3cc80b;},'ZTHSM':_0xde975c(0x221),'PqgRq':function(_0x5512d5,_0x32065b){return _0x5512d5>_0x32065b;},'gIZEE':_0xde975c(0x27f),'jcyOH':function(_0x511947,_0x2cedee){return _0x511947(_0x2cedee);},'FWsfy':function(_0x2f5661,_0xec72e1,_0x578bf4){return _0x2f5661(_0xec72e1,_0x578bf4);},'VNEAn':'err','DVaDG':_0xde975c(0x1e2)},_0x384aeb=this[_0xde975c(0x2ac)](_0xaf031d,_0xae3c26),_0x228893=this['_tests'][_0x384aeb],_0x52d48b={'uuid':_0x228893[_0xde975c(0x20d)],'type':_0x200a46[_0xde975c(0x205)],'hook_type':this[_0xde975c(0x1e6)](_0xae3c26[_0xde975c(0x213)]),'name':_0xae3c26[_0xde975c(0x213)],'scope':this[_0xde975c(0x21f)](_0xae3c26),'scopes':this[_0xde975c(0x202)](_0xaf031d),'body':{'lang':_0x200a46[_0xde975c(0x25c)],'code':null},'identifier':_0x384aeb,'file_name':path['relative'](process[_0xde975c(0x26e)](),_0xaf031d[_0xde975c(0x1b3)][_0xde975c(0x26b)]),'location':path[_0xde975c(0x22e)](process[_0xde975c(0x26e)](),_0xaf031d['location'][_0xde975c(0x26b)]),'result':_0x200a46[_0xde975c(0x28e)],'duration_in_ms':_0x200a46[_0xde975c(0x1ea)](_0xae3c26['duration'],0x0)?_0xae3c26['duration']:undefined,'vc_filepath':this[_0xde975c(0x25b)]&&_0xaf031d[_0xde975c(0x1b3)][_0xde975c(0x26b)]?path[_0xde975c(0x22e)](this[_0xde975c(0x25b)],_0xaf031d[_0xde975c(0x1b3)][_0xde975c(0x26b)]):undefined,'started_at':_0x228893['startedAt'],'finished_at':_0x228893[_0xde975c(0x1be)],'framework':FRAMEWORKS[_0xde975c(0x1e8)]};if(_0x200a46[_0xde975c(0x29a)](_0x49bd50,_0x200a46[_0xde975c(0x254)])){const {steps:_0x58a6e1,logs:_0x4aae8e}=this[_0xde975c(0x1d6)](_0xae3c26[_0xde975c(0x1c2)],_0x228893[_0xde975c(0x20d)],_0x200a46['WloXW']);_0x4aae8e&&_0x200a46['PqgRq'](_0x4aae8e[_0xde975c(0x293)],0x0)&&await MyReporter[_0xde975c(0x24b)](_0x4aae8e);const _0x3f9fa2={};_0x3f9fa2['steps']=_0x58a6e1,_0x52d48b['meta']=_0x3f9fa2;if(_0xae3c26[_0xde975c(0x27a)]){_0x52d48b['result']=_0x200a46[_0xde975c(0x1d8)],_0x52d48b['failure_reason']=_0x200a46[_0xde975c(0x279)](removeAnsiColors,_0xae3c26['error']['message']),_0x52d48b[_0xde975c(0x2a0)]=_0x200a46[_0xde975c(0x279)](getFailureType,_0xae3c26[_0xde975c(0x27a)][_0xde975c(0x21c)]);const _0x48461e=_0x200a46['FWsfy'](failureData,_0xae3c26['error'],_0x200a46[_0xde975c(0x1b1)]);if(_0x48461e&&_0x200a46[_0xde975c(0x29a)](_0x48461e[_0xde975c(0x293)],0x0)){const _0x5b9d8c={};_0x5b9d8c[_0xde975c(0x1fa)]=[_0x52d48b[_0xde975c(0x1d9)]],_0x5b9d8c['expanded']=[],_0x48461e[_0xde975c(0x1bc)](_0x5b9d8c);}_0x52d48b['failure']=_0x48461e;}else _0x52d48b['result']=_0x200a46[_0xde975c(0x1b4)];}const _0x30acb2={};_0x30acb2[_0xde975c(0x2af)]=_0x49bd50,_0x30acb2[_0xde975c(0x284)]=_0x52d48b;const _0x295681=_0x30acb2;await SessionHandler['uploadEventData'](_0x295681);}[a57_0x5f4c2e(0x1d6)](_0x3101bb,_0x3b10aa,_0x2a0c67){return helper['getStepsAndLogs'](_0x3101bb,_0x3b10aa,_0x2a0c67);}async['sendTestRunEvent'](_0x51163b,_0x136817,_0x5d8a3c){const _0x10f286=a57_0x5f4c2e,_0x4bdd02={'SSzAs':function(_0x57dd46,_0x1eab8e){return _0x57dd46(_0x1eab8e);},'EaUUi':_0x10f286(0x1ae),'EcktA':function(_0x5822aa,_0x4d92c8){return _0x5822aa(_0x4d92c8);},'mzBta':_0x10f286(0x217),'UVCor':_0x10f286(0x1c1),'stCnH':_0x10f286(0x26c),'eOaYH':'pending','hTGwj':function(_0x473d05,_0x5ae666){return _0x473d05(_0x5ae666);},'ySuqM':function(_0x233b44,_0x502b5c,_0x1e66bf,_0x1621d6,_0x10b490){return _0x233b44(_0x502b5c,_0x1e66bf,_0x1621d6,_0x10b490);},'ewsJw':function(_0x5b5968,_0x598d71){return _0x5b5968>_0x598d71;},'TbAJZ':function(_0x3c06aa,_0x41149f,_0x1721c8){return _0x3c06aa(_0x41149f,_0x1721c8);},'SeXxc':function(_0x3322f2,_0x5d845c){return _0x3322f2-_0x5d845c;},'IWtnd':function(_0x3713ee,_0x48a1fd){return _0x3713ee===_0x48a1fd;},'YreLc':'TestRunFinished','uDBjB':function(_0x4efb4c,_0x50dee9){return _0x4efb4c>_0x50dee9;},'tBsCu':function(_0x569dd1,_0x102f8a){return _0x569dd1===_0x102f8a;},'noDlo':function(_0x5bd3f2,_0x303e8e){return _0x5bd3f2===_0x303e8e;},'Gsaeq':_0x10f286(0x280),'BhUMj':_0x10f286(0x1e2),'rbkuy':_0x10f286(0x27f),'xxAIJ':function(_0x1c3788,_0x242dee){return _0x1c3788===_0x242dee;},'SBjJy':_0x10f286(0x23f),'yhkMu':function(_0x16bbb6,_0x226563){return _0x16bbb6===_0x226563;},'cBkFn':function(_0x2f5e85,_0x201868){return _0x2f5e85===_0x201868;},'fOpBJ':_0x10f286(0x288),'KHCUZ':function(_0x3054dc,_0x309e94,_0x20f817){return _0x3054dc(_0x309e94,_0x20f817);},'YvoQC':function(_0x8aee3,_0x551737){return _0x8aee3(_0x551737);},'Vnbay':function(_0x2ff371,_0x1e8dee,_0x4ad843){return _0x2ff371(_0x1e8dee,_0x4ad843);},'gJxGn':_0x10f286(0x2a1),'HysLR':function(_0x422dc7,_0x4c9861){return _0x422dc7(_0x4c9861);},'GvOvi':_0x10f286(0x253),'xeXmT':_0x10f286(0x1fd),'oawRr':function(_0x2b8cbb,_0x538bef){return _0x2b8cbb(_0x538bef);},'uPANT':function(_0x3ce489,_0x24ae06){return _0x3ce489!==_0x24ae06;}},_0x41c487=_0x4bdd02[_0x10f286(0x210)](getTestIdentifier,_0x51163b),_0x1a2cc2=this[_0x10f286(0x21f)](_0x51163b),_0x2f050f=this[_0x10f286(0x239)][_0x41c487],_0x4c6044=path['relative'](process[_0x10f286(0x26e)](),_0x51163b[_0x10f286(0x1b3)][_0x10f286(0x26b)]);await this['configureGit']();const _0x5375db={'uuid':_0x2f050f[_0x10f286(0x20d)],'type':_0x4bdd02[_0x10f286(0x276)],'name':_0x51163b[_0x10f286(0x213)]||_0x4c6044||_0x4bdd02['UVCor'],'body':{'lang':_0x4bdd02[_0x10f286(0x216)],'code':_0x51163b['fn'][_0x10f286(0x297)]()},'scope':_0x1a2cc2,'scopes':this[_0x10f286(0x202)](_0x51163b),'identifier':_0x41c487,'file_name':_0x4c6044,'location':_0x4c6044,'result':_0x4bdd02[_0x10f286(0x1bf)],'duration_in_ms':_0x5d8a3c&&_0x5d8a3c[_0x10f286(0x1ca)]?_0x5d8a3c['duration']:null,'vc_filepath':this['_gitConfigPath']&&_0x51163b[_0x10f286(0x1b3)][_0x10f286(0x26b)]?path[_0x10f286(0x22e)](this[_0x10f286(0x25b)],_0x51163b['location'][_0x10f286(0x26b)]):undefined,'started_at':_0x2f050f['startedAt'],'finished_at':_0x2f050f[_0x10f286(0x1be)],'framework':FRAMEWORKS[_0x10f286(0x1e8)],'customRerunParam':{'rerun_name':this[_0x10f286(0x233)](_0x51163b)},'tags':_0x4bdd02['hTGwj'](getTestTags,_0x51163b)};_0x4bdd02[_0x10f286(0x275)](appendTesthubParams,_0x5375db,_0x136817,_0x51163b,FRAMEWORKS[_0x10f286(0x1e8)]);_0x5d8a3c&&_0x4bdd02[_0x10f286(0x2b3)](_0x5d8a3c[_0x10f286(0x273)],0x0)&&(_0x5375db[_0x10f286(0x269)]=TestDetails[_0x10f286(0x1cc)](_0x4bdd02[_0x10f286(0x1e3)](getTestRunIdentifier,_0x51163b,_0x4bdd02[_0x10f286(0x24d)](_0x5d8a3c[_0x10f286(0x273)],0x1))));if(_0x4bdd02['IWtnd'](_0x136817,_0x4bdd02[_0x10f286(0x1c5)])){try{const _0x3917b4=TestDetails[_0x10f286(0x271)](_0x2f050f['uuid']);_0x3917b4&&_0x4bdd02[_0x10f286(0x1b0)](Object['keys'](_0x3917b4)[_0x10f286(0x293)],0x0)?_0x5375db[_0x10f286(0x208)]=_0x3917b4:_0x4bdd02[_0x10f286(0x210)](debug,_0x10f286(0x203)+_0x2f050f[_0x10f286(0x20d)]+_0x10f286(0x1e9));}catch(_0x386c1b){_0x4bdd02[_0x10f286(0x20b)](debug,'Error\x20reading\x20integrations\x20for\x20test\x20'+_0x2f050f[_0x10f286(0x20d)]+':\x20'+util[_0x10f286(0x245)](_0x386c1b));}_0x5375db['result']=_0x5d8a3c[_0x10f286(0x298)];if(_0x4bdd02[_0x10f286(0x201)](_0x5d8a3c['status'],_0x51163b[_0x10f286(0x257)]))_0x5375db[_0x10f286(0x23d)]=_0x4bdd02[_0x10f286(0x1b9)](_0x5d8a3c[_0x10f286(0x298)],_0x4bdd02['Gsaeq'])?_0x4bdd02[_0x10f286(0x234)]:_0x4bdd02[_0x10f286(0x25a)];else{(_0x4bdd02[_0x10f286(0x25d)](_0x5375db[_0x10f286(0x23d)],_0x4bdd02[_0x10f286(0x25a)])||_0x4bdd02[_0x10f286(0x25d)](_0x5375db[_0x10f286(0x23d)],_0x4bdd02[_0x10f286(0x241)])||_0x4bdd02[_0x10f286(0x259)](_0x5375db[_0x10f286(0x23d)],_0x4bdd02[_0x10f286(0x28d)]))&&(_0x5375db[_0x10f286(0x23d)]=_0x4bdd02[_0x10f286(0x241)]);if(_0x4bdd02[_0x10f286(0x227)](_0x5d8a3c[_0x10f286(0x298)],_0x4bdd02[_0x10f286(0x25a)])&&_0x4bdd02[_0x10f286(0x2a7)](_0x51163b[_0x10f286(0x257)],_0x4bdd02[_0x10f286(0x241)])){const _0x5a4d17={};_0x5a4d17[_0x10f286(0x21c)]=_0x4bdd02[_0x10f286(0x1f5)],_0x5a4d17['stack']=_0x4bdd02[_0x10f286(0x1f5)],_0x5d8a3c[_0x10f286(0x27a)]=_0x5a4d17,_0x5d8a3c[_0x10f286(0x1d3)]=[_0x5d8a3c[_0x10f286(0x27a)]];}}const _0x46870b=_0x4bdd02['KHCUZ'](getTestRunIdentifier,_0x51163b,_0x5d8a3c[_0x10f286(0x273)]);_0x5375db[_0x10f286(0x235)]=this['_testHooksMap'][_0x46870b];const {steps:_0x210a86,logs:_0x2f3dfb}=this[_0x10f286(0x1d6)](_0x5d8a3c[_0x10f286(0x1c2)],_0x2f050f[_0x10f286(0x20d)],_0x4bdd02[_0x10f286(0x276)]);await MyReporter[_0x10f286(0x24b)](_0x2f3dfb);const _0x498bde={};_0x498bde[_0x10f286(0x1c2)]=_0x210a86,_0x5375db[_0x10f286(0x21d)]=_0x498bde;if(_0x5d8a3c[_0x10f286(0x27a)]){_0x5375db[_0x10f286(0x1d9)]=_0x4bdd02[_0x10f286(0x20b)](removeAnsiColors,_0x5d8a3c[_0x10f286(0x27a)][_0x10f286(0x21c)]),_0x5375db[_0x10f286(0x2a0)]=_0x4bdd02['YvoQC'](getFailureType,_0x5d8a3c[_0x10f286(0x27a)]['message']);const _0x5a6d96={};_0x5a6d96[_0x10f286(0x1d1)]=_0x2f050f[_0x10f286(0x20d)];const {failureData:_0x281c84,logs:_0x271279}=_0x4bdd02['TbAJZ'](getFailureData,_0x5d8a3c['errors'],_0x5a6d96);if(_0x281c84&&_0x4bdd02[_0x10f286(0x259)](_0x281c84[_0x10f286(0x293)],0x0)){const _0x47cecd={};_0x47cecd[_0x10f286(0x1fa)]=[_0x5375db[_0x10f286(0x1d9)]],_0x47cecd[_0x10f286(0x1da)]=[],_0x281c84[_0x10f286(0x1bc)](_0x47cecd);}_0x5375db[_0x10f286(0x26f)]=_0x281c84,_0x271279&&_0x4bdd02[_0x10f286(0x1b0)](_0x271279[_0x10f286(0x293)],0x0)&&await MyReporter[_0x10f286(0x24b)](_0x271279);}}let _0x3b8853=_0x4bdd02['Vnbay'](findNestedKey,_0x5d8a3c,_0x4bdd02[_0x10f286(0x20a)]);if(_0x3b8853&&_0x4bdd02[_0x10f286(0x29b)](validateFilePath,_0x3b8853))_0x4bdd02[_0x10f286(0x1ff)](debug,_0x10f286(0x266)+_0x2f050f[_0x10f286(0x20d)]+_0x10f286(0x22a)+_0x3b8853);else{const _0xe7fa0e=path[_0x10f286(0x27d)](helper[_0x10f286(0x200)](),_0x4bdd02[_0x10f286(0x261)]);!fs[_0x10f286(0x1cf)](_0xe7fa0e)&&fs[_0x10f286(0x1e1)](_0xe7fa0e),fs[_0x10f286(0x1cf)](path[_0x10f286(0x27d)](_0xe7fa0e,_0x10f286(0x296)+_0x2f050f['uuid']+_0x10f286(0x272)))&&(_0x3b8853=fs['readFileSync'](path['join'](_0xe7fa0e,_0x10f286(0x296)+_0x2f050f[_0x10f286(0x20d)]+_0x10f286(0x272)),_0x4bdd02[_0x10f286(0x1b2)]),_0x4bdd02[_0x10f286(0x224)](debug,_0x10f286(0x266)+_0x2f050f['uuid']+'\x20at\x20'+_0x3b8853));}const _0x1f4fea={};_0x1f4fea['event_type']=_0x136817,_0x1f4fea[_0x10f286(0x242)]=_0x5375db;const _0x1c465b=_0x1f4fea;_0x3b8853&&_0x4bdd02['uPANT'](_0x3b8853,'')&&_0x4bdd02[_0x10f286(0x1b9)](_0x136817,_0x4bdd02[_0x10f286(0x1c5)])&&(!_0x1c465b['logs']&&(_0x1c465b[_0x10f286(0x24f)]=[]),_0x3b8853[_0x10f286(0x246)]('\x0a')[_0x10f286(0x1f2)](_0x2064ad=>{const _0x473875=_0x10f286;_0x2064ad&&_0x4bdd02[_0x473875(0x20b)](validateFilePath,_0x2064ad)&&_0x1c465b[_0x473875(0x24f)][_0x473875(0x1bc)]({'kind':_0x4bdd02[_0x473875(0x250)],'timestamp':new Date()[_0x473875(0x1c6)](),'test_run_uuid':_0x2f050f[_0x473875(0x20d)],'file_name':path['basename'](_0x2064ad),'file_size':fs['statSync'](_0x2064ad)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x10f286(0x289)](_0x1c465b);}[a57_0x5f4c2e(0x233)](_0x54eb89){const _0x24ba79=a57_0x5f4c2e,_0x8b01b8={};_0x8b01b8[_0x24ba79(0x236)]=function(_0x28ee41,_0x1de68){return _0x28ee41===_0x1de68;},_0x8b01b8[_0x24ba79(0x263)]=function(_0x3c8420,_0x4d715e){return _0x3c8420>_0x4d715e;},_0x8b01b8['LvLRQ']=function(_0x208220,_0x4d065f){return _0x208220+_0x4d065f;},_0x8b01b8[_0x24ba79(0x1f6)]=function(_0x55fa2f,_0x534ddc){return _0x55fa2f+_0x534ddc;},_0x8b01b8['HkfFP']=function(_0x4d3ba6,_0x19f4c2){return _0x4d3ba6===_0x19f4c2;},_0x8b01b8[_0x24ba79(0x1ab)]=function(_0x49882f,_0x3a9e05){return _0x49882f>_0x3a9e05;};const _0x5a7dc0=_0x8b01b8,_0x5493e1=_0x54eb89[_0x24ba79(0x1c8)]()[_0x24ba79(0x27c)](_0x5edcef=>{const _0x4af258=_0x24ba79;if(_0x54eb89[_0x4af258(0x1de)]&&_0x5a7dc0['iLymB'](_0x5edcef,_0x54eb89[_0x4af258(0x1de)][_0x4af258(0x213)])&&_0x54eb89[_0x4af258(0x1de)][_0x4af258(0x1ef)]&&_0x5a7dc0[_0x4af258(0x263)](_0x54eb89[_0x4af258(0x1de)][_0x4af258(0x1ef)][_0x4af258(0x293)],0x0))return _0x5a7dc0[_0x4af258(0x22b)](_0x5a7dc0['FJVLo'](_0x5edcef,'\x20'),_0x54eb89[_0x4af258(0x1de)][_0x4af258(0x1ef)][_0x4af258(0x27d)]('\x20'));if(_0x5a7dc0['HkfFP'](_0x5edcef,_0x54eb89['title'])&&_0x54eb89['_tags']&&_0x5a7dc0['FOzwc'](_0x54eb89[_0x4af258(0x1ef)][_0x4af258(0x293)],0x0))return _0x5a7dc0[_0x4af258(0x22b)](_0x5a7dc0['LvLRQ'](_0x5edcef,'\x20'),_0x54eb89['_tags'][_0x4af258(0x27d)]('\x20'));return _0x5edcef;})[_0x24ba79(0x27d)]('\x20');return _0x5493e1;}static async[a57_0x5f4c2e(0x1a6)](_0x18e47f,_0x27570f){const _0xc6bc5=a57_0x5f4c2e,_0x469115={'lclZc':function(_0x1b5684,_0xe2b432){return _0x1b5684(_0xe2b432);},'zkgHf':_0xc6bc5(0x1d5)},_0x30f452={'uuid':TestDetails[_0xc6bc5(0x1cc)](_0x18e47f),'integrations':_0x27570f},_0x146e45={};_0x146e45[_0xc6bc5(0x1ad)]=null,_0x469115[_0xc6bc5(0x2ab)](debug,'Sending\x20session\x20details\x20for\x20'+_0x18e47f+',\x20'+util['inspect'](_0x27570f,_0x146e45));const _0x33cdc7={};_0x33cdc7[_0xc6bc5(0x2af)]=_0x469115[_0xc6bc5(0x212)],_0x33cdc7['test_run']=_0x30f452,await SessionHandler['uploadEventData'](_0x33cdc7);}async[a57_0x5f4c2e(0x2a5)](){const _0x4a395f=a57_0x5f4c2e,_0x15b3b9={'KLbUl':function(_0x12891a){return _0x12891a();}};if(this[_0x4a395f(0x1e5)])return;const _0x357849=await _0x15b3b9[_0x4a395f(0x260)](getGitMetaData);_0x357849&&(this[_0x4a395f(0x25b)]=_0x357849[_0x4a395f(0x1f8)]),this[_0x4a395f(0x1e5)]=!![];}[a57_0x5f4c2e(0x202)](_0x940c71){const _0x5635cb=a57_0x5f4c2e,_0x5e0f01={};_0x5e0f01[_0x5635cb(0x1aa)]=function(_0x360f20,_0x18b422){return _0x360f20!==_0x18b422;};const _0x2fa00f=_0x5e0f01,_0x1fd36a=[];if(_0x940c71&&_0x940c71[_0x5635cb(0x1de)]){let _0x54fb00=_0x940c71['parent'];while(_0x54fb00&&_0x2fa00f[_0x5635cb(0x1aa)](_0x54fb00[_0x5635cb(0x213)],'')){_0x1fd36a['push'](_0x54fb00['title']),_0x54fb00=_0x54fb00['parent'];}}return _0x1fd36a[_0x5635cb(0x287)]()['splice'](0x0,0x2),_0x1fd36a;}[a57_0x5f4c2e(0x211)](_0xec1113){const _0x3256f6=a57_0x5f4c2e,_0x53566b={};_0x53566b[_0x3256f6(0x24a)]=function(_0x3588f1,_0x3c31fd){return _0x3588f1===_0x3c31fd;},_0x53566b[_0x3256f6(0x24c)]='test.step',_0x53566b[_0x3256f6(0x23b)]=function(_0x8df15a,_0x4c99cb){return _0x8df15a!==_0x4c99cb;},_0x53566b[_0x3256f6(0x1c7)]='hook',_0x53566b[_0x3256f6(0x1c0)]='beforeEach\x20hook',_0x53566b[_0x3256f6(0x1ba)]='beforeAll\x20hook',_0x53566b['nbDXk']=_0x3256f6(0x251),_0x53566b[_0x3256f6(0x2a8)]=_0x3256f6(0x1fc);const _0x5446d5=_0x53566b;if(_0x5446d5[_0x3256f6(0x24a)](_0xec1113[_0x3256f6(0x265)],_0x5446d5[_0x3256f6(0x24c)]))return!![];if(_0x5446d5[_0x3256f6(0x23b)](_0xec1113[_0x3256f6(0x265)],_0x5446d5[_0x3256f6(0x1c7)]))return![];if(_0x5446d5[_0x3256f6(0x24a)]([_0x5446d5[_0x3256f6(0x1c0)],_0x5446d5[_0x3256f6(0x1ba)],_0x5446d5[_0x3256f6(0x1b7)],_0x5446d5[_0x3256f6(0x2a8)]][_0x3256f6(0x1f7)](_0xec1113['title']),-0x1))return![];return!![];}['getStepIdentifier'](_0x421137,_0x339ff4){const _0x5dcd03=a57_0x5f4c2e,_0x4e964b={'yywGD':function(_0x3c07a0,_0xee9dec){return _0x3c07a0(_0xee9dec);}},_0x1e94d0=_0x339ff4[_0x5dcd03(0x249)];if(_0x1e94d0)return _0x1e94d0;return _0x339ff4[_0x5dcd03(0x213)]+_0x5dcd03(0x277)+_0x4e964b[_0x5dcd03(0x1c3)](getTestIdentifier,_0x421137);}['setStepIdentifier'](_0x2b96a4,_0xd86279){const _0x29f56c=a57_0x5f4c2e,_0xb3670d={'GQJyw':function(_0x2cd73b,_0x208ea2){return _0x2cd73b(_0x208ea2);},'uftRF':function(_0x51d5db){return _0x51d5db();}};let _0x5ab0d0=_0xd86279[_0x29f56c(0x213)]+'\x20for\x20'+_0xb3670d[_0x29f56c(0x222)](getTestIdentifier,_0x2b96a4);return this[_0x29f56c(0x239)][_0x5ab0d0]&&(_0x5ab0d0=_0x5ab0d0+'\x20-\x20'+_0xb3670d['uftRF'](uuidv4)),_0xd86279[_0x29f56c(0x249)]=_0x5ab0d0,_0x5ab0d0;}[a57_0x5f4c2e(0x1e6)]=_0x1e8144=>{const _0x2c7579=a57_0x5f4c2e,_0x46077b={};_0x46077b['fOzkR']=_0x2c7579(0x28c),_0x46077b[_0x2c7579(0x270)]='BEFORE_EACH',_0x46077b[_0x2c7579(0x240)]='beforeAll\x20hook',_0x46077b['qRtpj']=_0x2c7579(0x218),_0x46077b[_0x2c7579(0x226)]=_0x2c7579(0x1fc),_0x46077b[_0x2c7579(0x1e0)]=_0x2c7579(0x219),_0x46077b[_0x2c7579(0x27b)]=_0x2c7579(0x251),_0x46077b[_0x2c7579(0x26a)]=_0x2c7579(0x26d),_0x46077b[_0x2c7579(0x295)]='unknown';const _0x46114a=_0x46077b;if(_0x1e8144['startsWith'](_0x46114a[_0x2c7579(0x24e)]))return _0x46114a[_0x2c7579(0x270)];else{if(_0x1e8144['startsWith'](_0x46114a['yuekI']))return _0x46114a[_0x2c7579(0x1d2)];else{if(_0x1e8144[_0x2c7579(0x2a4)](_0x46114a[_0x2c7579(0x226)]))return _0x46114a[_0x2c7579(0x1e0)];else{if(_0x1e8144['startsWith'](_0x46114a['bJvhP']))return _0x46114a[_0x2c7579(0x26a)];}}}return _0x46114a[_0x2c7579(0x295)];};[a57_0x5f4c2e(0x21f)]=_0x50e838=>{const _0x486dc=a57_0x5f4c2e,_0xd687f3={};_0xd687f3['QqMUu']=function(_0x1dcaf0,_0x1d9b2b){return _0x1dcaf0===_0x1d9b2b;},_0xd687f3[_0x486dc(0x294)]='object';const _0x959435=_0xd687f3;let _0x1d824d=_0x50e838[_0x486dc(0x1de)];return _0x959435[_0x486dc(0x1af)](typeof _0x50e838[_0x486dc(0x1de)],_0x959435[_0x486dc(0x294)])&&(_0x1d824d=_0x1d824d[_0x486dc(0x213)]),_0x1d824d+_0x486dc(0x1d7)+_0x50e838[_0x486dc(0x213)];};[a57_0x5f4c2e(0x206)](){return![];}}module[a57_0x5f4c2e(0x20e)]=o11yClassErrorHandler(MyReporter,['onBegin','endSession','onTestBegin',a57_0x5f4c2e(0x278),'onStepBegin',a57_0x5f4c2e(0x1dc),a57_0x5f4c2e(0x1a6)],a57_0x5f4c2e(0x282));
1
+ const a57_0x120306=a57_0x478c;function a57_0x478c(_0x13a524,_0x5f1224){const _0x34283c=a57_0x3428();return a57_0x478c=function(_0x478ccb,_0x29ca2c){_0x478ccb=_0x478ccb-0x130;let _0x4fc13f=_0x34283c[_0x478ccb];return _0x4fc13f;},a57_0x478c(_0x13a524,_0x5f1224);}(function(_0x3feae6,_0x325fa7){const _0x30c248=a57_0x478c,_0x1a7c8e=_0x3feae6();while(!![]){try{const _0x3d7a3a=parseInt(_0x30c248(0x159))/0x1*(parseInt(_0x30c248(0x175))/0x2)+-parseInt(_0x30c248(0x198))/0x3*(parseInt(_0x30c248(0x240))/0x4)+parseInt(_0x30c248(0x19d))/0x5+-parseInt(_0x30c248(0x1e4))/0x6+parseInt(_0x30c248(0x1ee))/0x7*(parseInt(_0x30c248(0x19e))/0x8)+-parseInt(_0x30c248(0x161))/0x9*(parseInt(_0x30c248(0x22a))/0xa)+parseInt(_0x30c248(0x1b9))/0xb;if(_0x3d7a3a===_0x325fa7)break;else _0x1a7c8e['push'](_0x1a7c8e['shift']());}catch(_0x5ccedf){_0x1a7c8e['push'](_0x1a7c8e['shift']());}}}(a57_0x3428,0x358f8));function a57_0x3428(){const _0x3a9e9c=['.browserstack','Error\x20in\x20calculating\x20performance:\x20','3951750fasaLD','paKZa','err','XwKUw','onEnd','veuEn','vXHaS','cwTYu','forEach','needToReportStep','ovAtx','VkOnq','TJthO','meta','zBBkI','\x20at\x20','onStepBegin','mtime','slLux','depth','dEBqo','env','BZHig','startedAt','errors','zuXhV','basename','zdWzg','\x20is\x20triggered\x20for\x20test\x20','attachments','configureGit','PLAYWRIGHT','gQehM','bpISp','EsxTh','addTestUIDAndReportLog','name','INIT_TEST','endSession','vjFhG','statSync','fBzSc','./pwUtils','272334sRfXZN','./test-details','relative','FkCDT','\x20is\x20triggered','_gitConfigured','isRunning','integrations','parent','getTime','77HFAhdM','sendHookRunEvent','keys','splice','reverse','finishedAt','cwd','KRPzx','HnDQQ','unknown','START_TIME','jXSzT','startTime','retry_of','SITQx','ZXzpB','onTestEnd','inspect','performance-report-reporter.json','vTNBK','readFileSync','test.step','qwlUJ','status','homedir','toISOString','ZhIUh','HdOql','_bs_hookIdentifier','logLevel','failure_type','sKjRx','uaUyl','map','../../../../src/bin/utils/constants','event_type','aTPjN','utf8','_testHooksMap','length','TEST','printsToStdio','AVqUL','timedOut','SuBuT','Loumb','titlePath','untitled\x20test','setup','step','getHookType','split','\x20for\x20','Expected\x20to\x20fail,\x20but\x20passed.','eLFvg','Txutk','cqOtt','_tests','../../v2/state/testFrameworkState','taSNc','40HlAEXR','../../../helpers/helper','retry','indexOf','test_run','No\x20integrations\x20found\x20for\x20test\x20','mUDqn','FMiHQ','TDXfq','startsWith','CBTSessionCreated','getInstance','oYUDc','tvhbF','failure','JcgiE','_tags','options','dzHFF','title','_trackedEvents','Hook\x20Finished\x20with\x20unique\x20id\x20','92JXCUQu','furNF','ulTdW','BEFORE_ALL','TestRunStarted','getScope','jKzcD','trace_','XQHSo','beforeAll\x20hook','getIntegrations','TDVtz','kOOFj','QlHrK','TEST_ATTACHMENT','xcOql','uuid','hook','mkdirSync','../../v2/TestInfo','\x20—\x20video_url\x20will\x20not\x20surface\x20on\x20Test\x20Health\x20for\x20this\x20test','TEST_STEP','base64','bitDJ','test','existsSync','POST','getHierarchy','steps','failed','passed','CVVEJ','gsHVw','javascript','qjsXA','qkIpA','mSajo','format','jBTOK','vfLjl','QWDlC','vomfQ','16573jyLWre','JupFX','iBALo','cRkgo','ssTie','logs','TEST_SCREENSHOT','push','778761xrwcQA','BROWSERSTACK_LOG_LEVEL','QeNQe','afterEach\x20hook','trackEvent','join','PjNbR','backtrace','BROWSERSTACK_O11Y_PERF_MEASUREMENT','onBegin','lEbzG','iharC','pJogk','erKYa','xFNJJ','PRE','stack','.txt','_gitConfigPath','setStepIdentifier','38WsemMq','KJRFA','getStepIdentifier','VKprJ','Sending\x20session\x20details\x20for\x20','AFTER_EACH','skipped','YIkzl','PjDGQ','getCustomRerunParam','EfpjJ','onTestBegin','failure_reason','bepyc','sendSessionDetails','../../../helpers/test-observability/utils','Test\x20Started\x20with\x20unique\x20id\x20','HookRunFinished','\x20-\x20','exports','all','onStepEnd','../../../helpers/test-observability/error-handler','location','QHKhM','result','reportLogs','message','vCqPA','afterAll\x20hook','vjXKQ','Hook\x20Started\x20with\x20unique\x20id\x20','uploadEventData','duration','beforeEach\x20hook','44358UEoIGZ','toString','root','error','sendTestRunEvent','1196765YYIiTK','27256BBBOFI','getTestFramework','BEFORE_EACH','file','pending','KeUjz','AKGwb','expectedStatus','MyReporter','lgKqQ','test_run_uuid','path','ytJBw','startMonitoring','lLSMq','getStepsAndLogs','iUJxk','category','HookRunStarted','Test\x20Finished\x20with\x20unique\x20id\x20','hook_run','getTestUUID','Trace\x20file\x20found\x20for\x20test:\x20','../../../helpers/test-observability/requestQueueHandler','RbpjO'];a57_0x3428=function(){return _0x3a9e9c;};return a57_0x3428();}const RequestQueueHandler=require(a57_0x120306(0x1b5)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a57_0x120306(0x1e3)),{v4:uuidv4}=require(a57_0x120306(0x13f)),path=require(a57_0x120306(0x1a9)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a57_0x120306(0x184)),{getGitMetaData,setLogLevel}=require(a57_0x120306(0x22b)),TestDetails=require(a57_0x120306(0x1e5)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require(a57_0x120306(0x18b)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require('../../../helpers/testhub/utils'),helper=require(a57_0x120306(0x22b)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a57_0x120306(0x228)),HookState=require('../../v2/state/hookState'),TestInfo=require(a57_0x120306(0x142)),{PLAYWRIGHT_TRACE_LOGS}=require(a57_0x120306(0x210));class MyReporter{constructor(_0x2c8161){const _0x495146=a57_0x120306,_0x2b6b6a={'fBzSc':'2|7|5|6|0|4|3|1','VkOnq':function(_0x22c4f5,_0xe38d45,_0x4a8210,_0x4540e8){return _0x22c4f5(_0xe38d45,_0x4a8210,_0x4540e8);},'JupFX':_0x495146(0x200)},_0xbe8d37=_0x2b6b6a[_0x495146(0x1e2)]['split']('|');let _0x1cb6ee=0x0;while(!![]){switch(_0xbe8d37[_0x1cb6ee++]){case'0':this[_0x495146(0x23b)]=_0x2c8161;continue;case'1':this['_trackedEvents']=[];continue;case'2':const _0x11a3fa={};_0x11a3fa[_0x495146(0x20b)]=process[_0x495146(0x1ce)][_0x495146(0x162)],_0x2b6b6a[_0x495146(0x1c4)](setLogLevel,_0x11a3fa,new Map(),new Map());continue;case'3':this[_0x495146(0x173)]=null;continue;case'4':this[_0x495146(0x1e9)]=![];continue;case'5':this[_0x495146(0x227)]={};continue;case'6':this['_testHooksMap']={};continue;case'7':process[_0x495146(0x1ce)][_0x495146(0x169)]&&(PerformanceTester[_0x495146(0x1ab)](_0x2b6b6a[_0x495146(0x15a)]),process[_0x495146(0x1ce)][_0x495146(0x1f8)]=new Date()[_0x495146(0x207)]());continue;}break;}}async[a57_0x120306(0x16a)](){const _0x6a6357=a57_0x120306,_0x5bcd44={};_0x5bcd44['QeNQe']='Playwright';const _0x483014=_0x5bcd44;TestDetails[_0x6a6357(0x21e)](),await this[_0x6a6357(0x1d7)](),TestInfo['setup'](_0x483014[_0x6a6357(0x163)]);if(BrowserstackCLI['getInstance']()['isRunning']()){await BrowserstackCLI['getInstance']()[_0x6a6357(0x19f)]()[_0x6a6357(0x165)](TestFrameworkState[_0x6a6357(0x1de)],HookState[_0x6a6357(0x170)],{});return;}}async[a57_0x120306(0x180)](_0x498ff0,_0x5beb64){const _0x1b5b32=a57_0x120306,_0x1ae3e4={'ssTie':function(_0x2b946c,_0xb2cff9){return _0x2b946c(_0xb2cff9);},'Rkwyx':function(_0x37c618,_0x2c40e4,_0x5f269f){return _0x37c618(_0x2c40e4,_0x5f269f);},'cqOtt':function(_0x1d03f2,_0x32cf60){return _0x1d03f2(_0x32cf60);},'paKZa':_0x1b5b32(0x133)};if(BrowserstackCLI[_0x1b5b32(0x235)]()[_0x1b5b32(0x1ea)]()){const _0x2db0e0={};_0x2db0e0[_0x1b5b32(0x147)]=_0x498ff0,_0x2db0e0['result']=_0x5beb64,await BrowserstackCLI['getInstance']()[_0x1b5b32(0x19f)]()['trackEvent'](TestFrameworkState[_0x1b5b32(0x216)],HookState[_0x1b5b32(0x170)],_0x2db0e0);return;}const _0x32f1c0=_0x1ae3e4[_0x1b5b32(0x15d)](getTestIdentifier,_0x498ff0),_0x3993f3=TestDetails[_0x1b5b32(0x1b3)](_0x1ae3e4['Rkwyx'](getTestRunIdentifier,_0x498ff0,_0x5beb64['retry']));process[_0x1b5b32(0x1ce)]['BROWSERSTACK_TEST_RUN_ID']=_0x3993f3;const _0x52ac2b={};_0x52ac2b[_0x1b5b32(0x13f)]=_0x3993f3,_0x52ac2b[_0x1b5b32(0x1d0)]=_0x5beb64[_0x1b5b32(0x1fa)],this[_0x1b5b32(0x227)][_0x32f1c0]=_0x52ac2b,_0x1ae3e4[_0x1b5b32(0x226)](trace,_0x1b5b32(0x185)+_0x32f1c0),await this[_0x1b5b32(0x19c)](_0x498ff0,_0x1ae3e4[_0x1b5b32(0x1ba)],_0x5beb64);}async[a57_0x120306(0x1c9)](_0x3b2d5c,_0x293203,_0x4ae2e6){const _0x519999=a57_0x120306,_0x472a7e={'HnDQQ':function(_0x44da14,_0x419f38){return _0x44da14===_0x419f38;},'ZhIUh':_0x519999(0x203),'tvhbF':function(_0x3b4585,_0x1a8967,_0x4d49b6){return _0x3b4585(_0x1a8967,_0x4d49b6);},'vTNBK':function(_0x6f153e,_0x2ba96f){return _0x6f153e(_0x2ba96f);},'FDkkq':_0x519999(0x1b0)};if(!this[_0x519999(0x1c2)](_0x4ae2e6,_0x3b2d5c))return;if(_0x472a7e[_0x519999(0x1f6)](_0x4ae2e6[_0x519999(0x1af)],_0x472a7e[_0x519999(0x208)])){if(BrowserstackCLI[_0x519999(0x235)]()[_0x519999(0x1ea)]()){const _0x121d8b={};_0x121d8b['test']=_0x3b2d5c,_0x121d8b[_0x519999(0x18e)]=_0x293203,_0x121d8b[_0x519999(0x21f)]=_0x4ae2e6,await BrowserstackCLI[_0x519999(0x235)]()[_0x519999(0x19f)]()[_0x519999(0x165)](TestFrameworkState[_0x519999(0x144)],HookState[_0x519999(0x170)],_0x121d8b);}return;}if(BrowserstackCLI[_0x519999(0x235)]()['isRunning']()){const _0x54134e=this[_0x519999(0x220)](_0x4ae2e6['title']),_0x576aea=TestFrameworkState[_0x54134e],_0x1309e9={};_0x1309e9[_0x519999(0x147)]=_0x3b2d5c,_0x1309e9[_0x519999(0x18e)]=_0x293203,_0x1309e9[_0x519999(0x21f)]=_0x4ae2e6,await BrowserstackCLI['getInstance']()[_0x519999(0x19f)]()[_0x519999(0x165)](_0x576aea,HookState[_0x519999(0x170)],_0x1309e9);return;}const _0x2224c7=this['setStepIdentifier'](_0x3b2d5c,_0x4ae2e6);this['_tests'][_0x2224c7]={'uuid':TestDetails[_0x519999(0x1b3)](_0x2224c7),'startedAt':_0x4ae2e6[_0x519999(0x1fa)][_0x519999(0x207)]()};const _0x2689d1=_0x472a7e[_0x519999(0x237)](getTestRunIdentifier,_0x3b2d5c,_0x293203[_0x519999(0x22c)]);!this[_0x519999(0x214)][_0x2689d1]&&(this[_0x519999(0x214)][_0x2689d1]=[]),this['_testHooksMap'][_0x2689d1][_0x519999(0x160)](this['_tests'][_0x2224c7][_0x519999(0x13f)]),_0x472a7e[_0x519999(0x201)](trace,_0x519999(0x194)+_0x2224c7+_0x519999(0x1d5)+_0x2689d1),await this['sendHookRunEvent'](_0x3b2d5c,_0x4ae2e6,_0x472a7e['FDkkq'],_0x293203);}async[a57_0x120306(0x18a)](_0x1fdc7a,_0x3a42f7,_0x696834){const _0x5c9807=a57_0x120306,_0x1a8820={'KJRFA':function(_0x395bfe,_0x71167f){return _0x395bfe===_0x71167f;},'vjFhG':'test.step','cwTYu':function(_0xc4ef81,_0x49563b){return _0xc4ef81+_0x49563b;},'shTTO':function(_0x49a432,_0x4e77d6){return _0x49a432(_0x4e77d6);},'XwKUw':'HookRunFinished'};if(!this['needToReportStep'](_0x696834,_0x1fdc7a))return;if(_0x1a8820[_0x5c9807(0x176)](_0x696834[_0x5c9807(0x1af)],_0x1a8820[_0x5c9807(0x1e0)])){if(BrowserstackCLI[_0x5c9807(0x235)]()[_0x5c9807(0x1ea)]()){const _0x1dea7e={};_0x1dea7e[_0x5c9807(0x147)]=_0x1fdc7a,_0x1dea7e[_0x5c9807(0x18e)]=_0x3a42f7,_0x1dea7e[_0x5c9807(0x21f)]=_0x696834,await BrowserstackCLI['getInstance']()[_0x5c9807(0x19f)]()[_0x5c9807(0x165)](TestFrameworkState[_0x5c9807(0x144)],HookState[_0x5c9807(0x149)],_0x1dea7e);}return;}if(BrowserstackCLI[_0x5c9807(0x235)]()[_0x5c9807(0x1ea)]()){const _0x1932ef=this['getHookType'](_0x696834[_0x5c9807(0x23d)]),_0x3d1a9c=TestFrameworkState[_0x1932ef],_0x34320c={};_0x34320c[_0x5c9807(0x147)]=_0x1fdc7a,_0x34320c[_0x5c9807(0x18e)]=_0x3a42f7,_0x34320c[_0x5c9807(0x21f)]=_0x696834,await BrowserstackCLI[_0x5c9807(0x235)]()['getTestFramework']()[_0x5c9807(0x165)](_0x3d1a9c,HookState['POST'],_0x34320c);return;}const _0x5bffa1=this[_0x5c9807(0x177)](_0x1fdc7a,_0x696834);this[_0x5c9807(0x227)][_0x5bffa1]={...this[_0x5c9807(0x227)][_0x5bffa1]||{},'finishedAt':new Date(_0x1a8820[_0x5c9807(0x1c0)](_0x696834[_0x5c9807(0x1fa)][_0x5c9807(0x1ed)](),_0x696834[_0x5c9807(0x196)]))},_0x1a8820['shTTO'](trace,_0x5c9807(0x23f)+_0x5bffa1+_0x5c9807(0x1e8)),await this[_0x5c9807(0x1ef)](_0x1fdc7a,_0x696834,_0x1a8820[_0x5c9807(0x1bc)],_0x3a42f7);}async['onTestEnd'](_0x26da60,_0x11e6cf){const _0xd7906f=a57_0x120306,_0x32f2bc={'Txutk':function(_0x2e63d0,_0x293cdf){return _0x2e63d0===_0x293cdf;},'kOOFj':'screenshot','cGfYd':_0xd7906f(0x15f),'AVqUL':_0xd7906f(0x145),'zuXhV':function(_0x14fed7,_0x2bb0d7){return _0x14fed7(_0x2bb0d7);},'lLSMq':function(_0x134e39,_0x4d9b80,_0x14bd28){return _0x134e39(_0x4d9b80,_0x14bd28);},'uaUyl':function(_0x39d089,_0x3a61c0){return _0x39d089(_0x3a61c0);},'nEaep':'TestRunFinished','Loumb':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','bpISp':function(_0x541f84,_0x188b8c){return _0x541f84(_0x188b8c);},'mUDqn':function(_0x543e7b,_0x462ad6,_0x6d0a0b){return _0x543e7b(_0x462ad6,_0x6d0a0b);},'gsHVw':function(_0xbc07a2,_0x22beb2){return _0xbc07a2(_0x22beb2);},'hHWJm':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','XQHSo':function(_0x160764,_0x35a011){return _0x160764>_0x35a011;}};if(BrowserstackCLI[_0xd7906f(0x235)]()['isRunning']()){const _0x34d432={};_0x34d432[_0xd7906f(0x147)]=_0x26da60,_0x34d432['result']=_0x11e6cf,this[_0xd7906f(0x23e)][_0xd7906f(0x160)](BrowserstackCLI[_0xd7906f(0x235)]()[_0xd7906f(0x19f)]()[_0xd7906f(0x165)](TestFrameworkState[_0xd7906f(0x216)],HookState[_0xd7906f(0x149)],_0x34d432));return;}const _0x2b7f31=_0x32f2bc[_0xd7906f(0x1d2)](getTestIdentifier,_0x26da60),_0x5956fc=TestDetails[_0xd7906f(0x1b3)](_0x32f2bc[_0xd7906f(0x1ac)](getTestRunIdentifier,_0x26da60,_0x11e6cf[_0xd7906f(0x22c)]));this[_0xd7906f(0x227)][_0x2b7f31]={...this['_tests'][_0x2b7f31]||{},'finishedAt':new Date()[_0xd7906f(0x207)]()},_0x32f2bc[_0xd7906f(0x20e)](debug,_0xd7906f(0x1b1)+_0x2b7f31);try{await this[_0xd7906f(0x19c)](_0x26da60,_0x32f2bc['nEaep'],_0x11e6cf);}catch(_0x4145e2){_0x32f2bc[_0xd7906f(0x1d2)](debug,util[_0xd7906f(0x154)](_0x32f2bc[_0xd7906f(0x21b)],_0x4145e2['toString']()));}try{_0x32f2bc[_0xd7906f(0x1da)](debug,'Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20'+_0x5956fc),await _0x32f2bc[_0xd7906f(0x230)](sendTraceZip,_0x11e6cf,_0x5956fc);}catch(_0x344dc9){_0x32f2bc[_0xd7906f(0x14f)](debug,util[_0xd7906f(0x154)](_0x32f2bc['hHWJm'],_0x344dc9['toString']()));}const _0x34d255=[];_0x11e6cf[_0xd7906f(0x1d6)]&&_0x11e6cf['attachments'][_0xd7906f(0x20f)](_0x290a3c=>{const _0x2bc935=_0xd7906f;if(_0x32f2bc[_0x2bc935(0x225)](_0x290a3c[_0x2bc935(0x1dd)],_0x32f2bc[_0x2bc935(0x13b)])){if(!_0x290a3c[_0x2bc935(0x1a9)]||!fs['existsSync'](_0x290a3c['path']))return;_0x34d255['push']({'test_run_uuid':_0x5956fc,'timestamp':fs[_0x2bc935(0x1e1)](_0x290a3c[_0x2bc935(0x1a9)])[_0x2bc935(0x1ca)],'kind':_0x32f2bc['cGfYd'],'message':fs[_0x2bc935(0x202)](_0x290a3c[_0x2bc935(0x1a9)],{'encoding':_0x32f2bc[_0x2bc935(0x218)]})});}}),_0x32f2bc[_0xd7906f(0x137)](_0x34d255[_0xd7906f(0x215)],0x0)&&await MyReporter[_0xd7906f(0x18f)](_0x34d255);}async[a57_0x120306(0x1df)](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a57_0x120306(0x1bd)](_0x576ff4){const _0x39b398=a57_0x120306,_0x4c80db={'TJthO':function(_0x1e00f6){return _0x1e00f6();},'zBBkI':function(_0x37638e,_0x3fa049){return _0x37638e(_0x3fa049);}};await Promise[_0x39b398(0x189)](this[_0x39b398(0x23e)]),await this['endSession']();try{process['env'][_0x39b398(0x169)]&&await _0x4c80db[_0x39b398(0x1c5)](calculatePerformance);}catch(_0x92b1a7){_0x4c80db[_0x39b398(0x1c7)](debug,_0x39b398(0x1b8)+_0x92b1a7[_0x39b398(0x199)]());}}static async[a57_0x120306(0x1dc)](_0x79ea45,_0x370731){const _0x255d42=a57_0x120306;_0x370731[_0x255d42(0x1a8)]=TestDetails[_0x255d42(0x1b3)](_0x79ea45),await this[_0x255d42(0x18f)]([_0x370731]);}static async[a57_0x120306(0x18f)](_0x3ded1a){const _0x4e10f5=a57_0x120306,_0x37556e={};_0x37556e['gQehM']='LogCreated';const _0x2a5e3d=_0x37556e;if(BrowserstackCLI[_0x4e10f5(0x235)]()[_0x4e10f5(0x1ea)]())return;const _0x4e9158={};_0x4e9158['event_type']=_0x2a5e3d[_0x4e10f5(0x1d9)],_0x4e9158[_0x4e10f5(0x15e)]=_0x3ded1a,await SessionHandler['uploadEventData'](_0x4e9158);}async[a57_0x120306(0x1ef)](_0x2c82f,_0x4b388a,_0x12c86d,_0x42de85){const _0x42dfe0=a57_0x120306,_0x3486d3={'ulTdW':_0x42dfe0(0x140),'QKEFp':_0x42dfe0(0x150),'OMGDN':'pending','qwlUJ':function(_0x1a8ae6,_0x32470d){return _0x1a8ae6>=_0x32470d;},'mSajo':function(_0x5c07d9,_0x574308){return _0x5c07d9===_0x574308;},'erKYa':_0x42dfe0(0x186),'fwFLM':function(_0xcf250c,_0x2621cb){return _0xcf250c>_0x2621cb;},'furNF':_0x42dfe0(0x14c),'SITQx':function(_0x4059cb,_0x3f099b){return _0x4059cb(_0x3f099b);},'tyfFd':function(_0x5afc2e,_0x2481ed,_0x14e407){return _0x5afc2e(_0x2481ed,_0x14e407);},'CVVEJ':_0x42dfe0(0x1bb),'MUyks':_0x42dfe0(0x14d)},_0x1f38b4=this['getStepIdentifier'](_0x2c82f,_0x4b388a),_0x1a16e5=this[_0x42dfe0(0x227)][_0x1f38b4],_0x1818d8={'uuid':_0x1a16e5[_0x42dfe0(0x13f)],'type':_0x3486d3[_0x42dfe0(0x131)],'hook_type':this[_0x42dfe0(0x220)](_0x4b388a[_0x42dfe0(0x23d)]),'name':_0x4b388a[_0x42dfe0(0x23d)],'scope':this[_0x42dfe0(0x134)](_0x4b388a),'scopes':this[_0x42dfe0(0x14a)](_0x2c82f),'body':{'lang':_0x3486d3['QKEFp'],'code':null},'identifier':_0x1f38b4,'file_name':path[_0x42dfe0(0x1e6)](process[_0x42dfe0(0x1f4)](),_0x2c82f[_0x42dfe0(0x18c)][_0x42dfe0(0x1a1)]),'location':path[_0x42dfe0(0x1e6)](process[_0x42dfe0(0x1f4)](),_0x2c82f[_0x42dfe0(0x18c)]['file']),'result':_0x3486d3['OMGDN'],'duration_in_ms':_0x3486d3[_0x42dfe0(0x204)](_0x4b388a[_0x42dfe0(0x196)],0x0)?_0x4b388a['duration']:undefined,'vc_filepath':this[_0x42dfe0(0x173)]&&_0x2c82f[_0x42dfe0(0x18c)][_0x42dfe0(0x1a1)]?path[_0x42dfe0(0x1e6)](this[_0x42dfe0(0x173)],_0x2c82f[_0x42dfe0(0x18c)][_0x42dfe0(0x1a1)]):undefined,'started_at':_0x1a16e5['startedAt'],'finished_at':_0x1a16e5[_0x42dfe0(0x1f3)],'framework':FRAMEWORKS[_0x42dfe0(0x1d8)]};if(_0x3486d3['mSajo'](_0x12c86d,_0x3486d3[_0x42dfe0(0x16e)])){const {steps:_0x1aa9b0,logs:_0x1f155b}=this[_0x42dfe0(0x1ad)](_0x4b388a[_0x42dfe0(0x14b)],_0x1a16e5['uuid'],_0x3486d3['ulTdW']);_0x1f155b&&_0x3486d3['fwFLM'](_0x1f155b[_0x42dfe0(0x215)],0x0)&&await MyReporter[_0x42dfe0(0x18f)](_0x1f155b);const _0x5368a={};_0x5368a[_0x42dfe0(0x14b)]=_0x1aa9b0,_0x1818d8['meta']=_0x5368a;if(_0x4b388a[_0x42dfe0(0x19b)]){_0x1818d8[_0x42dfe0(0x18e)]=_0x3486d3[_0x42dfe0(0x130)],_0x1818d8[_0x42dfe0(0x181)]=_0x3486d3['SITQx'](removeAnsiColors,_0x4b388a['error']['message']),_0x1818d8[_0x42dfe0(0x20c)]=_0x3486d3[_0x42dfe0(0x1fc)](getFailureType,_0x4b388a[_0x42dfe0(0x19b)][_0x42dfe0(0x190)]);const _0xc7a8a5=_0x3486d3['tyfFd'](failureData,_0x4b388a['error'],_0x3486d3[_0x42dfe0(0x14e)]);if(_0xc7a8a5&&_0x3486d3[_0x42dfe0(0x153)](_0xc7a8a5[_0x42dfe0(0x215)],0x0)){const _0x2c8dc7={};_0x2c8dc7['backtrace']=[_0x1818d8['failure_reason']],_0x2c8dc7['expanded']=[],_0xc7a8a5['push'](_0x2c8dc7);}_0x1818d8[_0x42dfe0(0x238)]=_0xc7a8a5;}else _0x1818d8[_0x42dfe0(0x18e)]=_0x3486d3['MUyks'];}const _0x5b2f65={};_0x5b2f65[_0x42dfe0(0x211)]=_0x12c86d,_0x5b2f65[_0x42dfe0(0x1b2)]=_0x1818d8;const _0x14a002=_0x5b2f65;await SessionHandler[_0x42dfe0(0x195)](_0x14a002);}[a57_0x120306(0x1ad)](_0x549aaf,_0x22679c,_0x3759e7){const _0x158f01=a57_0x120306;return helper[_0x158f01(0x1ad)](_0x549aaf,_0x22679c,_0x3759e7);}async[a57_0x120306(0x19c)](_0x5932e3,_0x26e4b4,_0x2bedde){const _0x1c25eb=a57_0x120306,_0x175904={'PjNbR':function(_0x6f18c4,_0x2a1c68){return _0x6f18c4(_0x2a1c68);},'hSjHG':_0x1c25eb(0x13d),'sKjRx':function(_0x1fb4af,_0xbc14db){return _0x1fb4af(_0xbc14db);},'RbpjO':'test','jXSzT':_0x1c25eb(0x21d),'lgKqQ':'javascript','BZHig':_0x1c25eb(0x1a2),'dEBqo':function(_0x32dac5,_0x325daa){return _0x32dac5(_0x325daa);},'AKGwb':function(_0x205c16,_0x34714e,_0x53e375,_0x47cb8f,_0x59d7fa){return _0x205c16(_0x34714e,_0x53e375,_0x47cb8f,_0x59d7fa);},'YNUEq':function(_0x6d6c5e,_0x381df1){return _0x6d6c5e>_0x381df1;},'iUJxk':function(_0x37cae2,_0xb4888f,_0x22a14f){return _0x37cae2(_0xb4888f,_0x22a14f);},'QWDlC':function(_0x5821de,_0x3258a5){return _0x5821de-_0x3258a5;},'VKprJ':function(_0x3162bc,_0x1b87f9){return _0x3162bc===_0x1b87f9;},'eLFvg':'TestRunFinished','ytJBw':function(_0x325320,_0xdcdc09){return _0x325320>_0xdcdc09;},'aTPjN':function(_0x33e382,_0x55d6a3){return _0x33e382===_0x55d6a3;},'YIkzl':function(_0x2eb9a2,_0x32fe16){return _0x2eb9a2===_0x32fe16;},'JcgiE':_0x1c25eb(0x17b),'KRPzx':'passed','jKzcD':_0x1c25eb(0x14c),'lEbzG':_0x1c25eb(0x219),'HdOql':function(_0x1307fe,_0x42f44e){return _0x1307fe===_0x42f44e;},'PikFt':_0x1c25eb(0x223),'qjsXA':function(_0x321898,_0x9e1290){return _0x321898(_0x9e1290);},'FkCDT':function(_0x208364,_0x5e1d4d,_0x42fd34){return _0x208364(_0x5e1d4d,_0x42fd34);},'pynFA':_0x1c25eb(0x1a9),'xFNJJ':function(_0x28107e,_0x57d597){return _0x28107e(_0x57d597);},'jBTOK':_0x1c25eb(0x1b7),'DMuXU':_0x1c25eb(0x213),'BmRBo':function(_0x2d0bce,_0x3c1e8b){return _0x2d0bce(_0x3c1e8b);},'taSNc':function(_0x1594e1,_0x14467a){return _0x1594e1!==_0x14467a;}},_0x52dcc5=_0x175904[_0x1c25eb(0x20d)](getTestIdentifier,_0x5932e3),_0x2c2d9c=this[_0x1c25eb(0x134)](_0x5932e3),_0x308da3=this[_0x1c25eb(0x227)][_0x52dcc5],_0x57be88=path[_0x1c25eb(0x1e6)](process[_0x1c25eb(0x1f4)](),_0x5932e3[_0x1c25eb(0x18c)][_0x1c25eb(0x1a1)]);await this['configureGit']();const _0x9905a7={'uuid':_0x308da3['uuid'],'type':_0x175904[_0x1c25eb(0x1b6)],'name':_0x5932e3[_0x1c25eb(0x23d)]||_0x57be88||_0x175904[_0x1c25eb(0x1f9)],'body':{'lang':_0x175904[_0x1c25eb(0x1a7)],'code':_0x5932e3['fn'][_0x1c25eb(0x199)]()},'scope':_0x2c2d9c,'scopes':this['getHierarchy'](_0x5932e3),'identifier':_0x52dcc5,'file_name':_0x57be88,'location':_0x57be88,'result':_0x175904[_0x1c25eb(0x1cf)],'duration_in_ms':_0x2bedde&&_0x2bedde[_0x1c25eb(0x196)]?_0x2bedde[_0x1c25eb(0x196)]:null,'vc_filepath':this[_0x1c25eb(0x173)]&&_0x5932e3[_0x1c25eb(0x18c)][_0x1c25eb(0x1a1)]?path[_0x1c25eb(0x1e6)](this[_0x1c25eb(0x173)],_0x5932e3[_0x1c25eb(0x18c)]['file']):undefined,'started_at':_0x308da3[_0x1c25eb(0x1d0)],'finished_at':_0x308da3[_0x1c25eb(0x1f3)],'framework':FRAMEWORKS[_0x1c25eb(0x1d8)],'customRerunParam':{'rerun_name':this[_0x1c25eb(0x17e)](_0x5932e3)},'tags':_0x175904[_0x1c25eb(0x1cd)](getTestTags,_0x5932e3)};_0x175904[_0x1c25eb(0x1a4)](appendTesthubParams,_0x9905a7,_0x26e4b4,_0x5932e3,FRAMEWORKS[_0x1c25eb(0x1d8)]);_0x2bedde&&_0x175904['YNUEq'](_0x2bedde[_0x1c25eb(0x22c)],0x0)&&(_0x9905a7[_0x1c25eb(0x1fb)]=TestDetails[_0x1c25eb(0x1b3)](_0x175904[_0x1c25eb(0x1ae)](getTestRunIdentifier,_0x5932e3,_0x175904[_0x1c25eb(0x157)](_0x2bedde[_0x1c25eb(0x22c)],0x1))));if(_0x175904[_0x1c25eb(0x178)](_0x26e4b4,_0x175904[_0x1c25eb(0x224)])){try{const _0x13fa8b=TestDetails[_0x1c25eb(0x139)](_0x308da3[_0x1c25eb(0x13f)]);_0x13fa8b&&_0x175904['ytJBw'](Object[_0x1c25eb(0x1f0)](_0x13fa8b)[_0x1c25eb(0x215)],0x0)?_0x9905a7[_0x1c25eb(0x1eb)]=_0x13fa8b:_0x175904[_0x1c25eb(0x20d)](debug,_0x1c25eb(0x22f)+_0x308da3[_0x1c25eb(0x13f)]+_0x1c25eb(0x143));}catch(_0x52bd9e){_0x175904['PjNbR'](debug,'Error\x20reading\x20integrations\x20for\x20test\x20'+_0x308da3[_0x1c25eb(0x13f)]+':\x20'+util[_0x1c25eb(0x154)](_0x52bd9e));}_0x9905a7[_0x1c25eb(0x18e)]=_0x2bedde['status'];if(_0x175904[_0x1c25eb(0x212)](_0x2bedde[_0x1c25eb(0x205)],_0x5932e3['expectedStatus']))_0x9905a7[_0x1c25eb(0x18e)]=_0x175904[_0x1c25eb(0x17c)](_0x2bedde[_0x1c25eb(0x205)],_0x175904[_0x1c25eb(0x239)])?_0x175904[_0x1c25eb(0x239)]:_0x175904[_0x1c25eb(0x1f5)];else{(_0x175904['aTPjN'](_0x9905a7[_0x1c25eb(0x18e)],_0x175904[_0x1c25eb(0x1f5)])||_0x175904[_0x1c25eb(0x178)](_0x9905a7['result'],_0x175904[_0x1c25eb(0x135)])||_0x175904[_0x1c25eb(0x178)](_0x9905a7['result'],_0x175904[_0x1c25eb(0x16b)]))&&(_0x9905a7[_0x1c25eb(0x18e)]=_0x175904[_0x1c25eb(0x135)]);if(_0x175904[_0x1c25eb(0x209)](_0x2bedde[_0x1c25eb(0x205)],_0x175904['KRPzx'])&&_0x175904[_0x1c25eb(0x17c)](_0x5932e3[_0x1c25eb(0x1a5)],_0x175904[_0x1c25eb(0x135)])){const _0x351093={};_0x351093[_0x1c25eb(0x190)]=_0x175904['PikFt'],_0x351093[_0x1c25eb(0x171)]=_0x175904['PikFt'],_0x2bedde[_0x1c25eb(0x19b)]=_0x351093,_0x2bedde[_0x1c25eb(0x1d1)]=[_0x2bedde[_0x1c25eb(0x19b)]];}}const _0x2e3a99=_0x175904[_0x1c25eb(0x1ae)](getTestRunIdentifier,_0x5932e3,_0x2bedde[_0x1c25eb(0x22c)]);_0x9905a7['hooks']=this[_0x1c25eb(0x214)][_0x2e3a99];const {steps:_0x58630c,logs:_0x5e0c79}=this['getStepsAndLogs'](_0x2bedde[_0x1c25eb(0x14b)],_0x308da3['uuid'],_0x175904[_0x1c25eb(0x1b6)]);await MyReporter[_0x1c25eb(0x18f)](_0x5e0c79);const _0x1ff63f={};_0x1ff63f[_0x1c25eb(0x14b)]=_0x58630c,_0x9905a7[_0x1c25eb(0x1c6)]=_0x1ff63f;if(_0x2bedde['error']){_0x9905a7[_0x1c25eb(0x181)]=_0x175904[_0x1c25eb(0x151)](removeAnsiColors,_0x2bedde[_0x1c25eb(0x19b)][_0x1c25eb(0x190)]),_0x9905a7[_0x1c25eb(0x20c)]=_0x175904['sKjRx'](getFailureType,_0x2bedde[_0x1c25eb(0x19b)][_0x1c25eb(0x190)]);const _0x4bb4a9={};_0x4bb4a9['test_run_uuid']=_0x308da3[_0x1c25eb(0x13f)];const {failureData:_0x161714,logs:_0x300fdb}=_0x175904[_0x1c25eb(0x1e7)](getFailureData,_0x2bedde['errors'],_0x4bb4a9);if(_0x161714&&_0x175904[_0x1c25eb(0x178)](_0x161714[_0x1c25eb(0x215)],0x0)){const _0x29665c={};_0x29665c[_0x1c25eb(0x168)]=[_0x9905a7['failure_reason']],_0x29665c['expanded']=[],_0x161714[_0x1c25eb(0x160)](_0x29665c);}_0x9905a7[_0x1c25eb(0x238)]=_0x161714,_0x300fdb&&_0x175904[_0x1c25eb(0x1aa)](_0x300fdb[_0x1c25eb(0x215)],0x0)&&await MyReporter[_0x1c25eb(0x18f)](_0x300fdb);}}let _0x4a978f=_0x175904['iUJxk'](findNestedKey,_0x2bedde,_0x175904['pynFA']);if(_0x4a978f&&_0x175904[_0x1c25eb(0x16f)](validateFilePath,_0x4a978f))_0x175904[_0x1c25eb(0x167)](debug,_0x1c25eb(0x1b4)+_0x308da3[_0x1c25eb(0x13f)]+_0x1c25eb(0x1c8)+_0x4a978f);else{const _0x4b0933=path[_0x1c25eb(0x166)](helper[_0x1c25eb(0x206)](),_0x175904[_0x1c25eb(0x155)]);!fs[_0x1c25eb(0x148)](_0x4b0933)&&fs[_0x1c25eb(0x141)](_0x4b0933),fs['existsSync'](path[_0x1c25eb(0x166)](_0x4b0933,'trace_'+_0x308da3[_0x1c25eb(0x13f)]+_0x1c25eb(0x172)))&&(_0x4a978f=fs[_0x1c25eb(0x202)](path[_0x1c25eb(0x166)](_0x4b0933,_0x1c25eb(0x136)+_0x308da3[_0x1c25eb(0x13f)]+'.txt'),_0x175904['DMuXU']),_0x175904['BmRBo'](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x308da3['uuid']+'\x20at\x20'+_0x4a978f));}const _0x39a564={};_0x39a564[_0x1c25eb(0x211)]=_0x26e4b4,_0x39a564[_0x1c25eb(0x22e)]=_0x9905a7;const _0x22fde4=_0x39a564;_0x4a978f&&_0x175904[_0x1c25eb(0x229)](_0x4a978f,'')&&_0x175904[_0x1c25eb(0x212)](_0x26e4b4,_0x175904[_0x1c25eb(0x224)])&&(!_0x22fde4[_0x1c25eb(0x15e)]&&(_0x22fde4['logs']=[]),_0x4a978f[_0x1c25eb(0x221)]('\x0a')[_0x1c25eb(0x1c1)](_0x281d65=>{const _0x1c05d3=_0x1c25eb;_0x281d65&&_0x175904[_0x1c05d3(0x167)](validateFilePath,_0x281d65)&&_0x22fde4[_0x1c05d3(0x15e)][_0x1c05d3(0x160)]({'kind':_0x175904['hSjHG'],'timestamp':new Date()[_0x1c05d3(0x207)](),'test_run_uuid':_0x308da3[_0x1c05d3(0x13f)],'file_name':path[_0x1c05d3(0x1d3)](_0x281d65),'file_size':fs['statSync'](_0x281d65)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x1c25eb(0x195)](_0x22fde4);}[a57_0x120306(0x17e)](_0xbead64){const _0x25b2c8=a57_0x120306,_0x2c771e={};_0x2c771e[_0x25b2c8(0x23c)]=function(_0x54b66e,_0x2f2e6c){return _0x54b66e===_0x2f2e6c;},_0x2c771e['YTzDB']=function(_0x4b8044,_0x309d0a){return _0x4b8044>_0x309d0a;},_0x2c771e[_0x25b2c8(0x17d)]=function(_0x2a4f55,_0x2b6307){return _0x2a4f55+_0x2b6307;},_0x2c771e[_0x25b2c8(0x13a)]=function(_0x387164,_0x41dfe5){return _0x387164===_0x41dfe5;},_0x2c771e[_0x25b2c8(0x1d4)]=function(_0x195077,_0xc1320a){return _0x195077>_0xc1320a;},_0x2c771e['cRkgo']=function(_0x155749,_0x4ee661){return _0x155749+_0x4ee661;};const _0x1b254c=_0x2c771e,_0x319c43=_0xbead64[_0x25b2c8(0x21c)]()[_0x25b2c8(0x20f)](_0x44f5c5=>{const _0x2c3def=_0x25b2c8;if(_0xbead64[_0x2c3def(0x1ec)]&&_0x1b254c[_0x2c3def(0x23c)](_0x44f5c5,_0xbead64[_0x2c3def(0x1ec)][_0x2c3def(0x23d)])&&_0xbead64['parent'][_0x2c3def(0x23a)]&&_0x1b254c['YTzDB'](_0xbead64[_0x2c3def(0x1ec)][_0x2c3def(0x23a)][_0x2c3def(0x215)],0x0))return _0x1b254c[_0x2c3def(0x17d)](_0x1b254c[_0x2c3def(0x17d)](_0x44f5c5,'\x20'),_0xbead64[_0x2c3def(0x1ec)][_0x2c3def(0x23a)]['join']('\x20'));if(_0x1b254c[_0x2c3def(0x13a)](_0x44f5c5,_0xbead64['title'])&&_0xbead64['_tags']&&_0x1b254c[_0x2c3def(0x1d4)](_0xbead64[_0x2c3def(0x23a)][_0x2c3def(0x215)],0x0))return _0x1b254c[_0x2c3def(0x15c)](_0x1b254c[_0x2c3def(0x17d)](_0x44f5c5,'\x20'),_0xbead64[_0x2c3def(0x23a)][_0x2c3def(0x166)]('\x20'));return _0x44f5c5;})[_0x25b2c8(0x166)]('\x20');return _0x319c43;}static async[a57_0x120306(0x183)](_0xa981c,_0x5bae09){const _0x5012f4=a57_0x120306,_0x3f2e81={'ZXzpB':function(_0x161a63,_0x3c1301){return _0x161a63(_0x3c1301);},'bepyc':_0x5012f4(0x234)},_0x106e1b={'uuid':TestDetails[_0x5012f4(0x1b3)](_0xa981c),'integrations':_0x5bae09},_0x27bc06={};_0x27bc06[_0x5012f4(0x1cc)]=null,_0x3f2e81[_0x5012f4(0x1fd)](debug,_0x5012f4(0x179)+_0xa981c+',\x20'+util[_0x5012f4(0x1ff)](_0x5bae09,_0x27bc06));const _0x1b664e={};_0x1b664e[_0x5012f4(0x211)]=_0x3f2e81[_0x5012f4(0x182)],_0x1b664e[_0x5012f4(0x22e)]=_0x106e1b,await SessionHandler[_0x5012f4(0x195)](_0x1b664e);}async[a57_0x120306(0x1d7)](){const _0x50740f=a57_0x120306,_0x4062b2={'pJogk':function(_0x4ba470){return _0x4ba470();}};if(this[_0x50740f(0x1e9)])return;const _0x29747a=await _0x4062b2[_0x50740f(0x16d)](getGitMetaData);_0x29747a&&(this['_gitConfigPath']=_0x29747a[_0x50740f(0x19a)]),this[_0x50740f(0x1e9)]=!![];}[a57_0x120306(0x14a)](_0x1aee34){const _0x449536=a57_0x120306,_0x391b3c={};_0x391b3c[_0x449536(0x1bf)]=function(_0xbeefa3,_0x13bf22){return _0xbeefa3!==_0x13bf22;};const _0x3943e1=_0x391b3c,_0x2956da=[];if(_0x1aee34&&_0x1aee34[_0x449536(0x1ec)]){let _0x25f8f8=_0x1aee34['parent'];while(_0x25f8f8&&_0x3943e1[_0x449536(0x1bf)](_0x25f8f8[_0x449536(0x23d)],'')){_0x2956da['push'](_0x25f8f8[_0x449536(0x23d)]),_0x25f8f8=_0x25f8f8[_0x449536(0x1ec)];}}return _0x2956da[_0x449536(0x1f2)]()[_0x449536(0x1f1)](0x0,0x2),_0x2956da;}[a57_0x120306(0x1c2)](_0x4cfb6d){const _0x53a33f=a57_0x120306,_0xd0fc15={};_0xd0fc15['ovAtx']=function(_0x4afd9e,_0x50880c){return _0x4afd9e===_0x50880c;},_0xd0fc15['vfLjl']='test.step',_0xd0fc15[_0x53a33f(0x232)]=function(_0xf85d78,_0x53198f){return _0xf85d78!==_0x53198f;},_0xd0fc15[_0x53a33f(0x236)]=_0x53a33f(0x140),_0xd0fc15['vjXKQ']=_0x53a33f(0x197),_0xd0fc15['iBALo']=_0x53a33f(0x138),_0xd0fc15[_0x53a33f(0x17f)]=_0x53a33f(0x192),_0xd0fc15[_0x53a33f(0x146)]=_0x53a33f(0x164);const _0x5272d8=_0xd0fc15;if(_0x5272d8['ovAtx'](_0x4cfb6d[_0x53a33f(0x1af)],_0x5272d8[_0x53a33f(0x156)]))return!![];if(_0x5272d8[_0x53a33f(0x232)](_0x4cfb6d[_0x53a33f(0x1af)],_0x5272d8['oYUDc']))return![];if(_0x5272d8[_0x53a33f(0x1c3)]([_0x5272d8[_0x53a33f(0x193)],_0x5272d8[_0x53a33f(0x15b)],_0x5272d8[_0x53a33f(0x17f)],_0x5272d8[_0x53a33f(0x146)]][_0x53a33f(0x22d)](_0x4cfb6d[_0x53a33f(0x23d)]),-0x1))return![];return!![];}[a57_0x120306(0x177)](_0x9e1793,_0x53680a){const _0xddea55=a57_0x120306,_0x2fd6b7={'iharC':function(_0x51bfc7,_0x58ed27){return _0x51bfc7(_0x58ed27);}},_0x3115b0=_0x53680a[_0xddea55(0x20a)];if(_0x3115b0)return _0x3115b0;return _0x53680a['title']+_0xddea55(0x222)+_0x2fd6b7[_0xddea55(0x16c)](getTestIdentifier,_0x9e1793);}[a57_0x120306(0x174)](_0x36eb72,_0x44b071){const _0x4e07ea=a57_0x120306,_0x3a0d38={'qkIpA':function(_0x2b7a1b,_0x525963){return _0x2b7a1b(_0x525963);},'vomfQ':function(_0x3ad9a1){return _0x3ad9a1();}};let _0x1af30c=_0x44b071[_0x4e07ea(0x23d)]+_0x4e07ea(0x222)+_0x3a0d38[_0x4e07ea(0x152)](getTestIdentifier,_0x36eb72);return this[_0x4e07ea(0x227)][_0x1af30c]&&(_0x1af30c=_0x1af30c+'\x20-\x20'+_0x3a0d38[_0x4e07ea(0x158)](uuidv4)),_0x44b071[_0x4e07ea(0x20a)]=_0x1af30c,_0x1af30c;}[a57_0x120306(0x220)]=_0x106475=>{const _0x305bcc=a57_0x120306,_0x34d843={};_0x34d843['TNbmK']='beforeEach\x20hook',_0x34d843['SuBuT']=_0x305bcc(0x1a0),_0x34d843['QlHrK']=_0x305bcc(0x138),_0x34d843[_0x305bcc(0x1a3)]=_0x305bcc(0x132),_0x34d843[_0x305bcc(0x1db)]='afterEach\x20hook',_0x34d843[_0x305bcc(0x1cb)]=_0x305bcc(0x17a),_0x34d843[_0x305bcc(0x18d)]=_0x305bcc(0x192),_0x34d843[_0x305bcc(0x13e)]='AFTER_ALL',_0x34d843['veuEn']=_0x305bcc(0x1f7);const _0x140c09=_0x34d843;if(_0x106475[_0x305bcc(0x233)](_0x140c09['TNbmK']))return _0x140c09[_0x305bcc(0x21a)];else{if(_0x106475[_0x305bcc(0x233)](_0x140c09[_0x305bcc(0x13c)]))return _0x140c09[_0x305bcc(0x1a3)];else{if(_0x106475[_0x305bcc(0x233)](_0x140c09[_0x305bcc(0x1db)]))return _0x140c09['slLux'];else{if(_0x106475[_0x305bcc(0x233)](_0x140c09['QHKhM']))return _0x140c09['xcOql'];}}}return _0x140c09[_0x305bcc(0x1be)];};[a57_0x120306(0x134)]=_0x30eea2=>{const _0x926c8b=a57_0x120306,_0x5a8512={};_0x5a8512[_0x926c8b(0x231)]=function(_0x4117bf,_0x28f424){return _0x4117bf===_0x28f424;},_0x5a8512[_0x926c8b(0x191)]='object';const _0x52f931=_0x5a8512;let _0x23bc4f=_0x30eea2[_0x926c8b(0x1ec)];return _0x52f931['FMiHQ'](typeof _0x30eea2[_0x926c8b(0x1ec)],_0x52f931[_0x926c8b(0x191)])&&(_0x23bc4f=_0x23bc4f[_0x926c8b(0x23d)]),_0x23bc4f+_0x926c8b(0x187)+_0x30eea2[_0x926c8b(0x23d)];};[a57_0x120306(0x217)](){return![];}}module[a57_0x120306(0x188)]=o11yClassErrorHandler(MyReporter,['onBegin',a57_0x120306(0x1df),a57_0x120306(0x180),a57_0x120306(0x1fe),a57_0x120306(0x1c9),a57_0x120306(0x18a),a57_0x120306(0x183)],a57_0x120306(0x1a6));
@@ -1 +1 @@
1
- const a58_0x3cfcc6=a58_0x159c;(function(_0x5232bc,_0x3c4d9b){const _0x299e0f=a58_0x159c,_0x34a05b=_0x5232bc();while(!![]){try{const _0x141db8=parseInt(_0x299e0f(0x125))/0x1+parseInt(_0x299e0f(0xf3))/0x2+-parseInt(_0x299e0f(0x118))/0x3*(-parseInt(_0x299e0f(0xea))/0x4)+-parseInt(_0x299e0f(0xda))/0x5+-parseInt(_0x299e0f(0x129))/0x6*(-parseInt(_0x299e0f(0x12c))/0x7)+parseInt(_0x299e0f(0xf9))/0x8*(parseInt(_0x299e0f(0x10a))/0x9)+-parseInt(_0x299e0f(0xec))/0xa;if(_0x141db8===_0x3c4d9b)break;else _0x34a05b['push'](_0x34a05b['shift']());}catch(_0x227814){_0x34a05b['push'](_0x34a05b['shift']());}}}(a58_0x1c49,0xb21c5));function a58_0x1c49(){const _0xd6830d=['getTestDetails','Peoih','getProjectIdFromTestInfo','force','ZmfoU','getStoreDirPath','toString','941196jYfnmn','filePath','existsSync','gkMFk','108vQkbPv','readdirSync','../../../helpers/helper','452137sutBjQ','oHxry','KIPxC','pid','values','getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20','eJFly','getAccessibilityPlatformValidation','appendFileSync','env','GAuGG','getTraceFilePaths','isValidEnvValue','getTestIdFromTestInfo','forEach','getFilePath','null','rmSync','setIntegrations','stringify','getTraceZipDir','PMdiu','recursive','fmTHI','winstonLogger','uuid','traceZipPaths','AYLdi','writeFileSync','3025235PAFfGp','default','some','RwCLD','_platformDetails.json','message','addTraceFilePath','testId','WWxRY','hcPzS','mkdirSync','setAccessibilityPlatformValidation','join','Error\x20reading\x20trace\x20file\x20paths:\x20%s','BS_TESTOPS_BUILD_HASHED_ID','readFileSync','44hdRTVf','shutdown','30165640cwyZhi','project','zwXaQ','setup','path','WmFjC','getStoreDirName','1021404QpUeQL','CVZzL','getDirPath','Error\x20handling\x20trace\x20file\x20paths:\x20','ZgICe','endsWith','3632YzjmFT','undefined','Tarue','setTestDetails','string','error','hjKtS','__projectId','debug','UOiNQ','kSWEK','BROWSERSTACK_TESTHUB_UUID_SEED','IrAvF','parse','_integrations.json','.json','ycLeH','14625rVSXwD','appendToTracePaths','getStoreDirSuffix','../../../helpers/logger','trace_','tests','exports','retry','getTestUUID','xYseb','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','_traceZipPaths.json','.browserstack','push','272418yliqhi','_projectId','xnfZP','Error\x20writing\x20trace\x20file:\x20','EEpyy','_test'];a58_0x1c49=function(){return _0xd6830d;};return a58_0x1c49();}const fs=require('fs'),path=require(a58_0x3cfcc6(0xf0)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a58_0x3cfcc6(0x12b)),logger=require(a58_0x3cfcc6(0x10d))[a58_0x3cfcc6(0xd5)],{getLogDir}=require(a58_0x3cfcc6(0x10d)),util=require('util'),helper=require(a58_0x3cfcc6(0x12b)),{deterministicTestUUID}=require('../../../helpers/test-observability/utils');function a58_0x159c(_0xfcb6e6,_0x2bc957){const _0x1c4952=a58_0x1c49();return a58_0x159c=function(_0x159cb1,_0x4d0695){_0x159cb1=_0x159cb1-0xd1;let _0x445707=_0x1c4952[_0x159cb1];return _0x445707;},a58_0x159c(_0xfcb6e6,_0x2bc957);}class TestDetails{static [a58_0x3cfcc6(0x10f)]={};static[a58_0x3cfcc6(0xef)](){const _0x3e22e1=a58_0x3cfcc6;this[_0x3e22e1(0xeb)]();const _0x287ea3={};_0x287ea3[_0x3e22e1(0xd3)]=!![],fs[_0x3e22e1(0xe4)](this[_0x3e22e1(0xf5)](),_0x287ea3);const _0x29477f={};_0x29477f[_0x3e22e1(0xd3)]=!![],fs[_0x3e22e1(0xe4)](this[_0x3e22e1(0xd1)](),_0x29477f);}static[a58_0x3cfcc6(0x10c)](){const _0x334b06=a58_0x3cfcc6,_0x3cab39={};_0x3cab39[_0x334b06(0x132)]=function(_0x134d0e,_0x1e1fd0){return _0x134d0e!==_0x1e1fd0;},_0x3cab39[_0x334b06(0x128)]=_0x334b06(0x13c),_0x3cab39[_0x334b06(0x113)]=_0x334b06(0xfa),_0x3cab39[_0x334b06(0x12d)]=function(_0x49b1bd,_0x267047){return _0x49b1bd===_0x267047;},_0x3cab39['RwCLD']=_0x334b06(0xdb);const _0x1883a0=_0x3cab39,_0xbaf6f0=process[_0x334b06(0x135)][_0x334b06(0x104)],_0x6d4c7b=_0xbaf6f0&&_0x1883a0[_0x334b06(0x132)](_0xbaf6f0,_0x1883a0['gkMFk'])&&_0x1883a0[_0x334b06(0x132)](_0xbaf6f0,_0x1883a0[_0x334b06(0x113)])?_0xbaf6f0:process['env'][_0x334b06(0xe8)];if(!_0x6d4c7b||_0x1883a0[_0x334b06(0x12d)](_0x6d4c7b,_0x1883a0[_0x334b06(0x113)])||_0x1883a0[_0x334b06(0x12d)](_0x6d4c7b,_0x1883a0[_0x334b06(0x128)]))return _0x1883a0[_0x334b06(0xdd)];return _0x6d4c7b;}static['getStoreDirName'](){const _0x506df7=a58_0x3cfcc6,_0x2f719f={};_0x2f719f[_0x506df7(0x12e)]=function(_0x4bd4dd,_0x1963f7){return _0x4bd4dd+_0x1963f7;};const _0x2e8c5c=_0x2f719f;return _0x2e8c5c[_0x506df7(0x12e)](_0x2e8c5c[_0x506df7(0x12e)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']());}static['getStoreDirPath'](){const _0x5e347c=a58_0x3cfcc6,_0x574f8d={};_0x574f8d[_0x5e347c(0x103)]=function(_0x2fc02a,_0x177282){return _0x2fc02a+_0x177282;};const _0xbedd79=_0x574f8d;return path['join'](_0xbedd79[_0x5e347c(0x103)](_0xbedd79['kSWEK'](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x5e347c(0x10c)]()));}static[a58_0x3cfcc6(0xd1)](){const _0x56cc52=a58_0x3cfcc6,_0x2139e1={};_0x2139e1[_0x56cc52(0xff)]=_0x56cc52(0xd7);const _0x209bcd=_0x2139e1;return path[_0x56cc52(0xe6)](this[_0x56cc52(0x123)](),_0x209bcd[_0x56cc52(0xff)]);}static['getDirPath'](){const _0x53c4a2=a58_0x3cfcc6;return TestDetails[_0x53c4a2(0xf2)]();}static[a58_0x3cfcc6(0x13b)](_0x145cef){const _0x51adc1=a58_0x3cfcc6,_0xaafa7={};_0xaafa7['ZmfoU']=function(_0xc59ce2,_0x2892fa){return _0xc59ce2+_0x2892fa;},_0xaafa7['sxpyO']=_0x51adc1(0x108);const _0x5b3470=_0xaafa7;return path[_0x51adc1(0xe6)](this[_0x51adc1(0xf5)](),_0x5b3470[_0x51adc1(0x122)](_0x145cef,_0x5b3470['sxpyO']));}static['getTestRunIdFromTestInfo'](_0x1a3309){const _0x3df3a1=a58_0x3cfcc6,_0x52cf1d={};_0x52cf1d['hcPzS']=function(_0x3c0ad9,_0x2fc1da){return _0x3c0ad9+_0x2fc1da;};const _0x4ef68a=_0x52cf1d;return _0x4ef68a[_0x3df3a1(0xe3)](_0x4ef68a[_0x3df3a1(0xe3)](this[_0x3df3a1(0x139)](_0x1a3309),'-'),_0x1a3309[_0x3df3a1(0x111)]);}static[a58_0x3cfcc6(0x120)](_0x3e1cf1){const _0x1862be=a58_0x3cfcc6,_0x4355e6={'UOiNQ':function(_0x57d232,_0x560c9a,_0x69303f){return _0x57d232(_0x560c9a,_0x69303f);},'GAuGG':_0x1862be(0x11d),'ONUDY':_0x1862be(0x119),'AYLdi':_0x1862be(0xed),'xnfZP':_0x1862be(0x100)};return _0x4355e6['UOiNQ'](nestedKeyValue,_0x3e1cf1,[_0x4355e6[_0x1862be(0x136)],_0x4355e6['ONUDY']])||_0x4355e6[_0x1862be(0x102)](nestedKeyValue,_0x3e1cf1,[_0x4355e6[_0x1862be(0xd8)],_0x4355e6[_0x1862be(0x11a)]]);}static[a58_0x3cfcc6(0x139)](_0x3c17c7){const _0x592e21=a58_0x3cfcc6,_0x56f54a={'IrAvF':function(_0x3ba7f0,_0x1d0141,_0x5b8314){return _0x3ba7f0(_0x1d0141,_0x5b8314);},'PMdiu':_0x592e21(0x11d)};return _0x56f54a[_0x592e21(0x105)](nestedKeyValue,_0x3c17c7,[_0x56f54a[_0x592e21(0xd2)],'id'])||_0x3c17c7[_0x592e21(0xe1)];}static[a58_0x3cfcc6(0x112)](_0x5c43af){const _0x4bbd5a=a58_0x3cfcc6,_0x3ce652={'WmFjC':function(_0x55c70f,_0x98152a){return _0x55c70f===_0x98152a;},'CVZzL':_0x4bbd5a(0xfd),'WWxRY':function(_0x31462c,_0x329e15){return _0x31462c(_0x329e15);},'Tarue':function(_0x130415){return _0x130415();}};if(this[_0x4bbd5a(0x10f)][_0x5c43af]&&_0x3ce652[_0x4bbd5a(0xf1)](typeof this[_0x4bbd5a(0x10f)][_0x5c43af][_0x4bbd5a(0xd6)],_0x3ce652[_0x4bbd5a(0xf4)]))return this[_0x4bbd5a(0x10f)][_0x5c43af][_0x4bbd5a(0xd6)];const _0x355863=process[_0x4bbd5a(0x135)]['BROWSERSTACK_TESTHUB_UUID_SEED'];if(helper[_0x4bbd5a(0x138)](_0x355863)){const _0x40f09e=_0x3ce652[_0x4bbd5a(0xe2)](deterministicTestUUID,_0x5c43af),_0x4ca2d4={};_0x4ca2d4[_0x4bbd5a(0xd6)]=_0x40f09e,this[_0x4bbd5a(0x10f)][_0x5c43af]=_0x4ca2d4;try{const _0x362565={};_0x362565[_0x4bbd5a(0xd3)]=!![],fs['mkdirSync'](this[_0x4bbd5a(0xf5)](),_0x362565),fs['writeFileSync'](this[_0x4bbd5a(0x13b)](_0x5c43af),JSON[_0x4bbd5a(0x13f)](this[_0x4bbd5a(0x10f)][_0x5c43af]));}catch(_0x16dbcb){logger[_0x4bbd5a(0x101)](_0x4bbd5a(0x131)+_0x5c43af+':\x20'+(_0x16dbcb&&_0x16dbcb['message']));}return _0x40f09e;}const _0xaf3ae7=this['getFilePath'](_0x5c43af);if(_0xaf3ae7&&fs[_0x4bbd5a(0x127)](_0xaf3ae7)){const _0x11d188=JSON['parse'](fs['readFileSync'](_0xaf3ae7)[_0x4bbd5a(0x124)]());return this[_0x4bbd5a(0x10f)][_0x5c43af]=_0x11d188,this['tests'][_0x5c43af]['uuid'];}return this[_0x4bbd5a(0x10f)][_0x5c43af]={'uuid':_0x3ce652[_0x4bbd5a(0xfb)](uuidv4)},fs[_0x4bbd5a(0xd9)](_0xaf3ae7,JSON[_0x4bbd5a(0x13f)](this['tests'][_0x5c43af])),this['tests'][_0x5c43af][_0x4bbd5a(0xd6)];}static[a58_0x3cfcc6(0x133)](_0x235e77){const _0x707040=a58_0x3cfcc6,_0x25d05e=path[_0x707040(0xe6)](this[_0x707040(0xf5)](),_0x235e77+_0x707040(0xde));if(_0x25d05e&&fs[_0x707040(0x127)](_0x25d05e))return fs[_0x707040(0xe9)](_0x25d05e)[_0x707040(0x124)]();}static[a58_0x3cfcc6(0xe5)](_0x341046,_0x40528f){const _0x3191a5=a58_0x3cfcc6;try{const _0x3d6994=this[_0x3191a5(0xf5)](),_0x39a245={};_0x39a245[_0x3191a5(0xd3)]=!![],fs[_0x3191a5(0xe4)](_0x3d6994,_0x39a245);const _0x53c6ed=path['join'](_0x3d6994,_0x40528f+_0x3191a5(0xde));fs[_0x3191a5(0xd9)](_0x53c6ed,_0x341046[_0x3191a5(0x124)]());}catch(_0x23e265){logger[_0x3191a5(0x101)]('Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20'+_0x40528f+':\x20'+(_0x23e265&&_0x23e265['message']));}}static['getIntegrations'](_0x112cb5){const _0xcb268c=a58_0x3cfcc6,_0xc11d5e=path[_0xcb268c(0xe6)](this[_0xcb268c(0xf5)](),_0x112cb5+'_integrations.json');if(_0xc11d5e&&fs['existsSync'](_0xc11d5e))try{return JSON[_0xcb268c(0x106)](fs[_0xcb268c(0xe9)](_0xc11d5e)[_0xcb268c(0x124)]());}catch(_0x410a7e){return logger[_0xcb268c(0x101)](_0xcb268c(0x114)+_0x112cb5+':\x20'+(_0x410a7e&&_0x410a7e['message'])),null;}return null;}static[a58_0x3cfcc6(0x13e)](_0x134828,_0x503cca){const _0x2aefac=a58_0x3cfcc6,_0x4bdda2={};_0x4bdda2[_0x2aefac(0x11f)]=function(_0x52075d,_0x26fcfd){return _0x52075d||_0x26fcfd;};const _0x3bf1d0=_0x4bdda2;if(_0x3bf1d0['Peoih'](!_0x134828,!_0x503cca))return;try{const _0x27a7ea=this[_0x2aefac(0xf5)](),_0x3d37c5={};_0x3d37c5[_0x2aefac(0xd3)]=!![],fs['mkdirSync'](_0x27a7ea,_0x3d37c5);const _0x1bab85=path[_0x2aefac(0xe6)](_0x27a7ea,_0x134828+_0x2aefac(0x107));fs[_0x2aefac(0xd9)](_0x1bab85,JSON['stringify'](_0x503cca));}catch(_0x373213){logger[_0x2aefac(0x101)]('Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20'+_0x134828+':\x20'+(_0x373213&&_0x373213[_0x2aefac(0xdf)]));}}static[a58_0x3cfcc6(0xeb)](){const _0x134837=a58_0x3cfcc6,_0x2ba0ef={};_0x2ba0ef[_0x134837(0xd3)]=!![],_0x2ba0ef[_0x134837(0x121)]=!![],fs[_0x134837(0x13d)](this['getDirPath'](),_0x2ba0ef);}static[a58_0x3cfcc6(0x11e)](_0x146e47){const _0xd828aa=a58_0x3cfcc6;if(this['tests'][_0x146e47])return this[_0xd828aa(0x10f)][_0x146e47];const _0x4c02e8=this['getFilePath'](_0x146e47);if(_0x4c02e8&&fs[_0xd828aa(0x127)](_0x4c02e8)){const _0x41df5b=JSON['parse'](fs[_0xd828aa(0xe9)](_0x4c02e8)['toString']());return this[_0xd828aa(0x10f)][_0x146e47]=_0x41df5b,_0x41df5b;}return{};}static[a58_0x3cfcc6(0xfc)](_0x406d97,_0xde602f){const _0x5b831e=a58_0x3cfcc6,_0x29156d=this['getFilePath'](_0x406d97);if(_0x29156d&&fs[_0x5b831e(0x127)](_0x29156d)){const _0xf63421=JSON[_0x5b831e(0x106)](fs['readFileSync'](_0x29156d)[_0x5b831e(0x124)]()),_0x522089={..._0xf63421,..._0xde602f};this[_0x5b831e(0x10f)][_0x406d97]=_0x522089;}else this[_0x5b831e(0x10f)][_0x406d97]=_0xde602f;fs[_0x5b831e(0xd9)](_0x29156d,this[_0x5b831e(0x10f)][_0x406d97]);}static[a58_0x3cfcc6(0xe0)](_0x229356){const _0x266550=a58_0x3cfcc6,_0xd43389={};_0xd43389['fmTHI']=_0x266550(0xf6);const _0x126f00=_0xd43389;try{const _0x436021=process[_0x266550(0x12f)],_0x83d35d=path['join'](TestDetails[_0x266550(0xd1)](),_0x436021+_0x266550(0x115));let _0x5c8002=[];_0x83d35d&&fs['existsSync'](_0x83d35d)&&(_0x5c8002=JSON[_0x266550(0x106)](fs[_0x266550(0xe9)](_0x83d35d)[_0x266550(0x124)]())),!_0x5c8002[_0x266550(0xdc)](_0x5ebeea=>_0x5ebeea[_0x266550(0x126)]===_0x229356[_0x266550(0x126)])&&(_0x5c8002[_0x266550(0x117)](_0x229356),fs[_0x266550(0xd9)](_0x83d35d,JSON[_0x266550(0x13f)](_0x5c8002)));}catch(_0x56672a){logger['error'](_0x126f00[_0x266550(0xd4)],_0x56672a);}}static[a58_0x3cfcc6(0x137)](){const _0x2d8162=a58_0x3cfcc6,_0x4c499a={};_0x4c499a['EEpyy']=_0x2d8162(0x115),_0x4c499a['zwXaQ']=_0x2d8162(0xe7);const _0x52b352=_0x4c499a,_0xcaf2e5=[];try{const _0x1b5b6f=TestDetails['getTraceZipDir']();if(_0x1b5b6f&&!fs['existsSync'](_0x1b5b6f))return _0xcaf2e5;const _0x5f2a0e=fs[_0x2d8162(0x12a)](_0x1b5b6f);_0x5f2a0e[_0x2d8162(0x13a)](_0x1938d7=>{const _0x1da66a=_0x2d8162;if(_0x1938d7&&_0x1938d7[_0x1da66a(0xf8)](_0x52b352[_0x1da66a(0x11c)])){const _0x1920f9=JSON[_0x1da66a(0x106)](fs[_0x1da66a(0xe9)](path[_0x1da66a(0xe6)](_0x1b5b6f,_0x1938d7))['toString']());_0xcaf2e5[_0x1da66a(0x117)](..._0x1920f9);}});}catch(_0x199be6){logger[_0x2d8162(0xfe)](util['format'](_0x52b352[_0x2d8162(0xee)],_0x199be6));}const _0x30898b={};return _0xcaf2e5[_0x2d8162(0x13a)](_0x1285cc=>{const _0x3f0239=_0x2d8162;_0x30898b[_0x1285cc[_0x3f0239(0x126)]]=_0x1285cc;}),Object[_0x2d8162(0x130)](_0x30898b);}static[a58_0x3cfcc6(0x10b)](_0x5e3bb6,_0x7a6603){const _0x4f8281=a58_0x3cfcc6,_0x3e0572={};_0x3e0572[_0x4f8281(0xf7)]=_0x4f8281(0x116),_0x3e0572['ycLeH']='utf8';const _0x550261=_0x3e0572;try{const _0x15f262=path[_0x4f8281(0xe6)](helper['homedir'](),_0x550261[_0x4f8281(0xf7)]);if(!fs[_0x4f8281(0x127)](_0x15f262)){const _0x50480d={};_0x50480d[_0x4f8281(0xd3)]=!![],fs[_0x4f8281(0xe4)](_0x15f262,_0x50480d);}fs[_0x4f8281(0x134)](path['join'](_0x15f262,_0x4f8281(0x10e)+_0x7a6603+'.txt'),_0x5e3bb6+'\x0a',_0x550261[_0x4f8281(0x109)]);}catch(_0x17b0b4){console['error'](_0x4f8281(0x11b)+_0x17b0b4[_0x4f8281(0xdf)]);}}}module[a58_0x3cfcc6(0x110)]=TestDetails;
1
+ const a58_0xd0b722=a58_0x37a8;(function(_0xb747b1,_0x239085){const _0x53153e=a58_0x37a8,_0x423c3f=_0xb747b1();while(!![]){try{const _0x52c869=-parseInt(_0x53153e(0x1a3))/0x1+-parseInt(_0x53153e(0x190))/0x2+parseInt(_0x53153e(0x179))/0x3+parseInt(_0x53153e(0x1a6))/0x4*(parseInt(_0x53153e(0x1b0))/0x5)+-parseInt(_0x53153e(0x1c4))/0x6*(parseInt(_0x53153e(0x1d6))/0x7)+-parseInt(_0x53153e(0x1e2))/0x8*(-parseInt(_0x53153e(0x1d9))/0x9)+-parseInt(_0x53153e(0x1c0))/0xa;if(_0x52c869===_0x239085)break;else _0x423c3f['push'](_0x423c3f['shift']());}catch(_0x42a654){_0x423c3f['push'](_0x423c3f['shift']());}}}(a58_0x2fc9,0x86a18));function a58_0x2fc9(){const _0x138f26=['getTestIdFromTestInfo','xDotz','some','_platformDetails.json','mtvai','qJIou','join','YQeaP','pMtQO','3205620FVFEpj','../../../helpers/test-observability/constants','hFyeD','existsSync','path','forEach','getTraceZipDir','_integrations.json','.txt','force','setup','nQKVc','paXYE','uuid','_traceZipPaths.json','.json','util','MBPmi','.browserstack','lRKWt','format','pid','WdVeu','754376AdlBPC','rmSync','values','utf8','isValidEnvValue','push','toString','../../../helpers/logger','getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20','writeFileSync','bXfdq','parse','setTestDetails','setAccessibilityPlatformValidation','default','retry','IYgDu','CXYDR','getStoreDirSuffix','203689GMRUDF','WwKho','exports','145896XLqjHo','stringify','shutdown','__projectId','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','AzNUK','sRDca','../../../helpers/helper','endsWith','Error\x20writing\x20trace\x20file:\x20','150QXZWOO','getTestDetails','getTraceFilePaths','testId','rVadw','AJTrT','recursive','fXRhA','message','UvVCw','getProjectIdFromTestInfo','getFilePath','filePath','MHroG','bEnhr','tests','11723810gPBboy','_test','project','LGRjI','21756hZlfkL','getDirPath','error','debug','null','BROWSERSTACK_TESTHUB_UUID_SEED','getTestRunIdFromTestInfo','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','xtoRL','getAccessibilityPlatformValidation','_projectId','mkdirSync','siedB','appendToTracePaths','getTestUUID','winstonLogger','jACsj','env','1379QurKYW','getStoreDirName','../../../helpers/test-observability/utils','126wzElwb','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','enjaG','readFileSync','getStoreDirPath','readdirSync','undefined','addTraceFilePath','trace_','489296ttiMSi','fHynP'];a58_0x2fc9=function(){return _0x138f26;};return a58_0x2fc9();}const fs=require('fs'),path=require(a58_0xd0b722(0x17d)),{v4:uuidv4}=require(a58_0xd0b722(0x186)),{TEMP_STORE_DIR_NAME}=require(a58_0xd0b722(0x17a)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require('../../../helpers/logger')[a58_0xd0b722(0x1d3)],{getLogDir}=require(a58_0xd0b722(0x197)),util=require(a58_0xd0b722(0x189)),helper=require(a58_0xd0b722(0x1ad)),{deterministicTestUUID}=require(a58_0xd0b722(0x1d8));class TestDetails{static [a58_0xd0b722(0x1bf)]={};static[a58_0xd0b722(0x183)](){const _0x3f71aa=a58_0xd0b722;this[_0x3f71aa(0x1a8)]();const _0x4dc306={};_0x4dc306[_0x3f71aa(0x1b6)]=!![],fs[_0x3f71aa(0x1cf)](this['getDirPath'](),_0x4dc306);const _0x1f8f0d={};_0x1f8f0d['recursive']=!![],fs[_0x3f71aa(0x1cf)](this['getTraceZipDir'](),_0x1f8f0d);}static[a58_0xd0b722(0x1a2)](){const _0x23f10b=a58_0xd0b722,_0x33c9e8={};_0x33c9e8['xtoRL']=function(_0x336f52,_0x4413dc){return _0x336f52!==_0x4413dc;},_0x33c9e8[_0x23f10b(0x178)]=_0x23f10b(0x1c8),_0x33c9e8[_0x23f10b(0x1b9)]=_0x23f10b(0x1df),_0x33c9e8[_0x23f10b(0x1a0)]=function(_0x47333a,_0x210427){return _0x47333a===_0x210427;},_0x33c9e8['bEnhr']=function(_0x5929e2,_0x4fb86b){return _0x5929e2===_0x4fb86b;},_0x33c9e8[_0x23f10b(0x1e9)]=_0x23f10b(0x19e);const _0x327691=_0x33c9e8,_0x16c1e6=process[_0x23f10b(0x1d5)][_0x23f10b(0x1c9)],_0x4136e7=_0x16c1e6&&_0x327691['xtoRL'](_0x16c1e6,_0x327691[_0x23f10b(0x178)])&&_0x327691[_0x23f10b(0x1cc)](_0x16c1e6,_0x327691['UvVCw'])?_0x16c1e6:process[_0x23f10b(0x1d5)]['BS_TESTOPS_BUILD_HASHED_ID'];if(!_0x4136e7||_0x327691['IYgDu'](_0x4136e7,_0x327691[_0x23f10b(0x1b9)])||_0x327691[_0x23f10b(0x1be)](_0x4136e7,_0x327691[_0x23f10b(0x178)]))return _0x327691[_0x23f10b(0x1e9)];return _0x4136e7;}static['getStoreDirName'](){const _0x4209a5=a58_0xd0b722,_0x43c9a4={};_0x43c9a4['bXfdq']=function(_0x16be93,_0x25117d){return _0x16be93+_0x25117d;};const _0x2f0973=_0x43c9a4;return _0x2f0973['bXfdq'](_0x2f0973[_0x4209a5(0x19a)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x4209a5(0x1a2)]());}static[a58_0xd0b722(0x1dd)](){const _0x2e67ab=a58_0xd0b722,_0x18133a={};_0x18133a['fXRhA']=function(_0x38fe0f,_0xd1eb5){return _0x38fe0f+_0xd1eb5;},_0x18133a['lRKWt']=function(_0x1bb28f,_0xc0cd04){return _0x1bb28f+_0xc0cd04;};const _0x30b678=_0x18133a;return path[_0x2e67ab(0x176)](_0x30b678[_0x2e67ab(0x1b7)](_0x30b678[_0x2e67ab(0x18c)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x2e67ab(0x1a2)]()));}static[a58_0xd0b722(0x17f)](){const _0x5a0e73=a58_0xd0b722,_0x3da5a7={};_0x3da5a7[_0x5a0e73(0x18f)]='traceZipPaths';const _0x2529f3=_0x3da5a7;return path['join'](this[_0x5a0e73(0x1dd)](),_0x2529f3['WdVeu']);}static[a58_0xd0b722(0x1c5)](){const _0x47f89b=a58_0xd0b722;return TestDetails[_0x47f89b(0x1d7)]();}static['getFilePath'](_0x9bc90e){const _0x2e60d4=a58_0xd0b722,_0x4327a5={};_0x4327a5[_0x2e60d4(0x1c3)]=function(_0x2eb959,_0x155c33){return _0x2eb959+_0x155c33;},_0x4327a5['fHynP']=_0x2e60d4(0x188);const _0x4bd28b=_0x4327a5;return path[_0x2e60d4(0x176)](this[_0x2e60d4(0x1c5)](),_0x4bd28b['LGRjI'](_0x9bc90e,_0x4bd28b[_0x2e60d4(0x1e3)]));}static[a58_0xd0b722(0x1ca)](_0x1bd3cf){const _0x2a01a9=a58_0xd0b722,_0x1d042a={};_0x1d042a['nQKVc']=function(_0x3c9946,_0x251b0d){return _0x3c9946+_0x251b0d;};const _0x4cdf4a=_0x1d042a;return _0x4cdf4a[_0x2a01a9(0x184)](_0x4cdf4a['nQKVc'](this[_0x2a01a9(0x1e4)](_0x1bd3cf),'-'),_0x1bd3cf[_0x2a01a9(0x19f)]);}static[a58_0xd0b722(0x1ba)](_0xefc57f){const _0x10fad7=a58_0xd0b722,_0x3e2fb8={'enjaG':function(_0x2953c9,_0x4530ad,_0x3b749a){return _0x2953c9(_0x4530ad,_0x3b749a);},'xDIfA':_0x10fad7(0x1c1),'xDotz':_0x10fad7(0x1ce),'MBPmi':_0x10fad7(0x1c2),'AJTrT':_0x10fad7(0x1a9)};return _0x3e2fb8[_0x10fad7(0x1db)](nestedKeyValue,_0xefc57f,[_0x3e2fb8['xDIfA'],_0x3e2fb8[_0x10fad7(0x1e5)]])||_0x3e2fb8[_0x10fad7(0x1db)](nestedKeyValue,_0xefc57f,[_0x3e2fb8[_0x10fad7(0x18a)],_0x3e2fb8[_0x10fad7(0x1b5)]]);}static[a58_0xd0b722(0x1e4)](_0x1ff924){const _0x503756=a58_0xd0b722,_0xfc5bf4={'MHroG':function(_0x51d8de,_0x39c08e,_0x56f007){return _0x51d8de(_0x39c08e,_0x56f007);},'hFyeD':_0x503756(0x1c1)};return _0xfc5bf4[_0x503756(0x1bd)](nestedKeyValue,_0x1ff924,[_0xfc5bf4[_0x503756(0x17b)],'id'])||_0x1ff924[_0x503756(0x1b3)];}static[a58_0xd0b722(0x1d2)](_0x58c8cc){const _0xfb8f4b=a58_0xd0b722,_0x5de01e={'rVadw':function(_0x24a7b5,_0x3d12cf){return _0x24a7b5===_0x3d12cf;},'paXYE':'string','mtvai':function(_0x2f1099,_0x5a6500){return _0x2f1099(_0x5a6500);},'WwKho':function(_0x598c50){return _0x598c50();}};if(this['tests'][_0x58c8cc]&&_0x5de01e[_0xfb8f4b(0x1b4)](typeof this[_0xfb8f4b(0x1bf)][_0x58c8cc][_0xfb8f4b(0x186)],_0x5de01e[_0xfb8f4b(0x185)]))return this[_0xfb8f4b(0x1bf)][_0x58c8cc][_0xfb8f4b(0x186)];const _0x2bff69=process[_0xfb8f4b(0x1d5)][_0xfb8f4b(0x1c9)];if(helper[_0xfb8f4b(0x194)](_0x2bff69)){const _0x46f822=_0x5de01e[_0xfb8f4b(0x1e8)](deterministicTestUUID,_0x58c8cc),_0x4d45e3={};_0x4d45e3[_0xfb8f4b(0x186)]=_0x46f822,this[_0xfb8f4b(0x1bf)][_0x58c8cc]=_0x4d45e3;try{const _0x1cb354={};_0x1cb354[_0xfb8f4b(0x1b6)]=!![],fs[_0xfb8f4b(0x1cf)](this[_0xfb8f4b(0x1c5)](),_0x1cb354),fs[_0xfb8f4b(0x199)](this[_0xfb8f4b(0x1bb)](_0x58c8cc),JSON[_0xfb8f4b(0x1a7)](this['tests'][_0x58c8cc]));}catch(_0x5f1be9){logger['debug'](_0xfb8f4b(0x198)+_0x58c8cc+':\x20'+(_0x5f1be9&&_0x5f1be9['message']));}return _0x46f822;}const _0x12a7dd=this[_0xfb8f4b(0x1bb)](_0x58c8cc);if(_0x12a7dd&&fs[_0xfb8f4b(0x17c)](_0x12a7dd)){const _0x383c97=JSON[_0xfb8f4b(0x19b)](fs[_0xfb8f4b(0x1dc)](_0x12a7dd)['toString']());return this[_0xfb8f4b(0x1bf)][_0x58c8cc]=_0x383c97,this[_0xfb8f4b(0x1bf)][_0x58c8cc][_0xfb8f4b(0x186)];}return this[_0xfb8f4b(0x1bf)][_0x58c8cc]={'uuid':_0x5de01e[_0xfb8f4b(0x1a4)](uuidv4)},fs[_0xfb8f4b(0x199)](_0x12a7dd,JSON['stringify'](this[_0xfb8f4b(0x1bf)][_0x58c8cc])),this[_0xfb8f4b(0x1bf)][_0x58c8cc]['uuid'];}static[a58_0xd0b722(0x1cd)](_0x5a684b){const _0x1dfb21=a58_0xd0b722,_0x34639a=path[_0x1dfb21(0x176)](this[_0x1dfb21(0x1c5)](),_0x5a684b+_0x1dfb21(0x1e7));if(_0x34639a&&fs[_0x1dfb21(0x17c)](_0x34639a))return fs[_0x1dfb21(0x1dc)](_0x34639a)[_0x1dfb21(0x196)]();}static[a58_0xd0b722(0x19d)](_0x21e9df,_0xae891){const _0x22316b=a58_0xd0b722;try{const _0x396c3f=this[_0x22316b(0x1c5)](),_0x4be3c8={};_0x4be3c8[_0x22316b(0x1b6)]=!![],fs[_0x22316b(0x1cf)](_0x396c3f,_0x4be3c8);const _0x248214=path[_0x22316b(0x176)](_0x396c3f,_0xae891+_0x22316b(0x1e7));fs[_0x22316b(0x199)](_0x248214,_0x21e9df[_0x22316b(0x196)]());}catch(_0x578828){logger[_0x22316b(0x1c7)](_0x22316b(0x1aa)+_0xae891+':\x20'+(_0x578828&&_0x578828[_0x22316b(0x1b8)]));}}static['getIntegrations'](_0x19d180){const _0x2fd6a5=a58_0xd0b722,_0x5bc25e=path[_0x2fd6a5(0x176)](this['getDirPath'](),_0x19d180+'_integrations.json');if(_0x5bc25e&&fs[_0x2fd6a5(0x17c)](_0x5bc25e))try{return JSON[_0x2fd6a5(0x19b)](fs[_0x2fd6a5(0x1dc)](_0x5bc25e)[_0x2fd6a5(0x196)]());}catch(_0x2a9e27){return logger[_0x2fd6a5(0x1c7)](_0x2fd6a5(0x1cb)+_0x19d180+':\x20'+(_0x2a9e27&&_0x2a9e27['message'])),null;}return null;}static['setIntegrations'](_0x174d08,_0x311c29){const _0x2f92b8=a58_0xd0b722,_0x591df8={};_0x591df8[_0x2f92b8(0x1d0)]=function(_0x19a05c,_0x2181cf){return _0x19a05c||_0x2181cf;};const _0x57ea2b=_0x591df8;if(_0x57ea2b[_0x2f92b8(0x1d0)](!_0x174d08,!_0x311c29))return;try{const _0x64d778=this['getDirPath'](),_0x2c8a7d={};_0x2c8a7d[_0x2f92b8(0x1b6)]=!![],fs['mkdirSync'](_0x64d778,_0x2c8a7d);const _0x275efc=path[_0x2f92b8(0x176)](_0x64d778,_0x174d08+_0x2f92b8(0x180));fs[_0x2f92b8(0x199)](_0x275efc,JSON[_0x2f92b8(0x1a7)](_0x311c29));}catch(_0x12cfe3){logger[_0x2f92b8(0x1c7)](_0x2f92b8(0x1da)+_0x174d08+':\x20'+(_0x12cfe3&&_0x12cfe3[_0x2f92b8(0x1b8)]));}}static[a58_0xd0b722(0x1a8)](){const _0x1265ba=a58_0xd0b722,_0x282797={};_0x282797[_0x1265ba(0x1b6)]=!![],_0x282797[_0x1265ba(0x182)]=!![],fs[_0x1265ba(0x191)](this[_0x1265ba(0x1c5)](),_0x282797);}static[a58_0xd0b722(0x1b1)](_0x537cae){const _0x1b43ff=a58_0xd0b722;if(this[_0x1b43ff(0x1bf)][_0x537cae])return this[_0x1b43ff(0x1bf)][_0x537cae];const _0x4c09f5=this[_0x1b43ff(0x1bb)](_0x537cae);if(_0x4c09f5&&fs[_0x1b43ff(0x17c)](_0x4c09f5)){const _0x331c61=JSON[_0x1b43ff(0x19b)](fs['readFileSync'](_0x4c09f5)[_0x1b43ff(0x196)]());return this[_0x1b43ff(0x1bf)][_0x537cae]=_0x331c61,_0x331c61;}return{};}static[a58_0xd0b722(0x19c)](_0x308e42,_0x5e3882){const _0x40b337=a58_0xd0b722,_0x3efdca=this[_0x40b337(0x1bb)](_0x308e42);if(_0x3efdca&&fs[_0x40b337(0x17c)](_0x3efdca)){const _0x2e1cbb=JSON[_0x40b337(0x19b)](fs[_0x40b337(0x1dc)](_0x3efdca)[_0x40b337(0x196)]()),_0x40e87b={..._0x2e1cbb,..._0x5e3882};this[_0x40b337(0x1bf)][_0x308e42]=_0x40e87b;}else this['tests'][_0x308e42]=_0x5e3882;fs[_0x40b337(0x199)](_0x3efdca,this['tests'][_0x308e42]);}static[a58_0xd0b722(0x1e0)](_0x1e7ff5){const _0x1f437f=a58_0xd0b722,_0x2fddea={};_0x2fddea[_0x1f437f(0x177)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x493bf3=_0x2fddea;try{const _0xbbb06f=process[_0x1f437f(0x18e)],_0x424ade=path['join'](TestDetails[_0x1f437f(0x17f)](),_0xbbb06f+_0x1f437f(0x187));let _0x304733=[];_0x424ade&&fs[_0x1f437f(0x17c)](_0x424ade)&&(_0x304733=JSON[_0x1f437f(0x19b)](fs[_0x1f437f(0x1dc)](_0x424ade)['toString']())),!_0x304733[_0x1f437f(0x1e6)](_0x294032=>_0x294032[_0x1f437f(0x1bc)]===_0x1e7ff5[_0x1f437f(0x1bc)])&&(_0x304733[_0x1f437f(0x195)](_0x1e7ff5),fs[_0x1f437f(0x199)](_0x424ade,JSON[_0x1f437f(0x1a7)](_0x304733)));}catch(_0x5449b6){logger['error'](_0x493bf3[_0x1f437f(0x177)],_0x5449b6);}}static[a58_0xd0b722(0x1b2)](){const _0x306068=a58_0xd0b722,_0x357a58={};_0x357a58[_0x306068(0x1d4)]=_0x306068(0x187),_0x357a58['CXYDR']='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x1efa37=_0x357a58,_0x1dd9e1=[];try{const _0xdc1458=TestDetails[_0x306068(0x17f)]();if(_0xdc1458&&!fs[_0x306068(0x17c)](_0xdc1458))return _0x1dd9e1;const _0x5c7db9=fs[_0x306068(0x1de)](_0xdc1458);_0x5c7db9[_0x306068(0x17e)](_0x484380=>{const _0x3c2216=_0x306068;if(_0x484380&&_0x484380[_0x3c2216(0x1ae)](_0x1efa37[_0x3c2216(0x1d4)])){const _0x18ae34=JSON[_0x3c2216(0x19b)](fs[_0x3c2216(0x1dc)](path[_0x3c2216(0x176)](_0xdc1458,_0x484380))['toString']());_0x1dd9e1[_0x3c2216(0x195)](..._0x18ae34);}});}catch(_0x8961ff){logger[_0x306068(0x1c6)](util[_0x306068(0x18d)](_0x1efa37[_0x306068(0x1a1)],_0x8961ff));}const _0x5228dc={};return _0x1dd9e1[_0x306068(0x17e)](_0x13dfbe=>{const _0x232394=_0x306068;_0x5228dc[_0x13dfbe[_0x232394(0x1bc)]]=_0x13dfbe;}),Object[_0x306068(0x192)](_0x5228dc);}static[a58_0xd0b722(0x1d1)](_0x4fc938,_0x3d5251){const _0x26fc24=a58_0xd0b722,_0x2638d4={};_0x2638d4[_0x26fc24(0x1ac)]=_0x26fc24(0x18b),_0x2638d4[_0x26fc24(0x1ab)]=_0x26fc24(0x193);const _0x5c6b09=_0x2638d4;try{const _0x4c17e1=path[_0x26fc24(0x176)](helper['homedir'](),_0x5c6b09[_0x26fc24(0x1ac)]);if(!fs[_0x26fc24(0x17c)](_0x4c17e1)){const _0x5cfdc4={};_0x5cfdc4[_0x26fc24(0x1b6)]=!![],fs[_0x26fc24(0x1cf)](_0x4c17e1,_0x5cfdc4);}fs['appendFileSync'](path['join'](_0x4c17e1,_0x26fc24(0x1e1)+_0x3d5251+_0x26fc24(0x181)),_0x4fc938+'\x0a',_0x5c6b09['AzNUK']);}catch(_0x4999a8){console[_0x26fc24(0x1c6)](_0x26fc24(0x1af)+_0x4999a8['message']);}}}function a58_0x37a8(_0xa0c7b7,_0x52181b){const _0x2fc988=a58_0x2fc9();return a58_0x37a8=function(_0x37a823,_0x23a03a){_0x37a823=_0x37a823-0x176;let _0x31b7d7=_0x2fc988[_0x37a823];return _0x31b7d7;},a58_0x37a8(_0xa0c7b7,_0x52181b);}module[a58_0xd0b722(0x1a5)]=TestDetails;
@@ -1 +1 @@
1
- 'use strict';function a59_0x3d3e(){const _0x5681d2=['fHFbZ','qJwxu','find','join','111UQzsDA','split','includes','VoMYa','15662776XkQCJi','LgPjx','[BrowserStack]\x20A\x20--reporter\x20flag\x20was\x20passed\x20on\x20the\x20Playwright\x20CLI;\x20it\x20overrides\x20the\x20config\x20reporter.\x20Merged\x20the\x20BrowserStack\x20Observability\x20reporter\x20into\x20it\x20so\x20test\x20events\x20are\x20captured.','warn','YetTY','BROWSERSTACK_PW_REPORTER_PATH','flagIdx','filter','OAqPd','[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20','sHHvX','winstonLogger','rRbuF','156321uPBhna','./reporter/reporter.js','debug','aFqBO','lNfZH','map','some','4037201WDSvWm','mergeBrowserstackReporterIntoCliReporterFlag','[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20','54112rajwpB','util','prefix','Atnki','trim','ORtyY','push','13746623miPnGf','yuQgY','string','resolve','6QzxlTH','startsWith','win32','iINHW','exports','JDpBi','fOsiH','isArray','TIiRz','48756DdDPPW','--reporter','770yWDMhE','length','path','qAlnM','--reporter=','slice','54CCIiQZ','6606260ECMpIy'];a59_0x3d3e=function(){return _0x5681d2;};return a59_0x3d3e();}function a59_0x2ab8(_0x4f71f2,_0x22b758){const _0x3d3ea8=a59_0x3d3e();return a59_0x2ab8=function(_0x2ab89f,_0x22949e){_0x2ab89f=_0x2ab89f-0x1e0;let _0x34216d=_0x3d3ea8[_0x2ab89f];return _0x34216d;},a59_0x2ab8(_0x4f71f2,_0x22b758);}const a59_0x64189=a59_0x2ab8;(function(_0x1f47d7,_0x1266b2){const _0x184d01=a59_0x2ab8,_0x8c55c1=_0x1f47d7();while(!![]){try{const _0x30eda4=parseInt(_0x184d01(0x20d))/0x1*(parseInt(_0x184d01(0x1ec))/0x2)+parseInt(_0x184d01(0x1f2))/0x3*(-parseInt(_0x184d01(0x1e4))/0x4)+-parseInt(_0x184d01(0x1ed))/0x5+-parseInt(_0x184d01(0x218))/0x6*(parseInt(_0x184d01(0x20a))/0x7)+parseInt(_0x184d01(0x1f6))/0x8+parseInt(_0x184d01(0x203))/0x9*(-parseInt(_0x184d01(0x1e6))/0xa)+parseInt(_0x184d01(0x214))/0xb;if(_0x30eda4===_0x1266b2)break;else _0x8c55c1['push'](_0x8c55c1['shift']());}catch(_0x13b6f6){_0x8c55c1['push'](_0x8c55c1['shift']());}}}(a59_0x3d3e,0xefc93));const path=require(a59_0x64189(0x1e8)),{format}=require(a59_0x64189(0x20e)),logger=require('../../helpers/logger')[a59_0x64189(0x201)],BROWSERSTACK_PW_REPORTER_PATH=path['join'](__dirname,a59_0x64189(0x204)),INLINE_PREFIXES=[a59_0x64189(0x1ea)],BARE_FLAGS=[a59_0x64189(0x1e5)],stripQuotes=_0x471b5f=>{const _0x34eaad=a59_0x64189,_0x5e8424={'vwBtN':function(_0x1cfd84,_0x4a28da){return _0x1cfd84(_0x4a28da);},'Qvwzd':function(_0x47849a,_0x3537c2){return _0x47849a>=_0x3537c2;},'qJwxu':function(_0x3b1c2a,_0x105bd0){return _0x3b1c2a-_0x105bd0;},'fHFbZ':function(_0x33adbe,_0x3fb854){return _0x33adbe===_0x3fb854;},'lVjOf':function(_0x1f063e,_0x48f0eb){return _0x1f063e===_0x48f0eb;},'iINHW':function(_0x1375d0,_0x8791a0){return _0x1375d0===_0x8791a0;}},_0x1d602e=_0x5e8424['vwBtN'](String,_0x471b5f);if(_0x5e8424['Qvwzd'](_0x1d602e[_0x34eaad(0x1e7)],0x2)){const _0x4a4a71=_0x1d602e[0x0],_0x32c989=_0x1d602e[_0x5e8424[_0x34eaad(0x1ef)](_0x1d602e[_0x34eaad(0x1e7)],0x1)];if(_0x5e8424['fHFbZ'](_0x4a4a71,'\x22')&&_0x5e8424[_0x34eaad(0x1ee)](_0x32c989,'\x22')||_0x5e8424['lVjOf'](_0x4a4a71,'\x27')&&_0x5e8424[_0x34eaad(0x21b)](_0x32c989,'\x27'))return _0x1d602e['slice'](0x1,-0x1);}return _0x1d602e;},resolveQuietly=_0x2b1b1f=>{const _0x29ae54=a59_0x64189;try{return path[_0x29ae54(0x217)](_0x2b1b1f);}catch(_0x211484){return null;}},renderValue=(_0x5b8fa5,_0x42388d)=>{const _0x33b229=a59_0x64189,_0x4655ad={};_0x4655ad[_0x33b229(0x1f5)]=function(_0x23a83d,_0x266303){return _0x23a83d===_0x266303;},_0x4655ad[_0x33b229(0x1fa)]=_0x33b229(0x21a);const _0x58817f=_0x4655ad,_0x4744d4=_0x5b8fa5[_0x33b229(0x1f1)](',');return _0x58817f[_0x33b229(0x1f5)](_0x42388d,_0x58817f[_0x33b229(0x1fa)])?'\x22'+_0x4744d4+'\x22':_0x4744d4;},buildMergedList=(_0x1db578,_0x527ce9)=>{const _0x1f998a=a59_0x64189,_0xc967c9={'boIDf':function(_0xcb50ad,_0x881410){return _0xcb50ad(_0x881410);},'OAqPd':function(_0x29b1cf,_0x2a7e8f){return _0x29b1cf(_0x2a7e8f);},'teBDM':function(_0x3b1ddb,_0x26369b){return _0x3b1ddb===_0x26369b;}};if(_0xc967c9['boIDf'](String,_0x527ce9)[_0x1f998a(0x1f4)](','))return null;const _0x5d2ee6=_0xc967c9[_0x1f998a(0x1fe)](stripQuotes,_0x1db578)[_0x1f998a(0x1f3)](',')[_0x1f998a(0x208)](_0x402511=>_0x402511[_0x1f998a(0x211)]())[_0x1f998a(0x1fd)](_0x139fc8=>_0x139fc8[_0x1f998a(0x1e7)]>0x0);if(_0xc967c9['teBDM'](_0x5d2ee6[_0x1f998a(0x1e7)],0x0))return null;const _0x329b88=_0xc967c9[_0x1f998a(0x1fe)](resolveQuietly,_0x527ce9),_0x53bae6=_0x5d2ee6[_0x1f998a(0x209)](_0x3c4c65=>_0x3c4c65===_0x527ce9||_0x329b88!==null&&resolveQuietly(_0x3c4c65)===_0x329b88);return!_0x53bae6&&_0x5d2ee6[_0x1f998a(0x213)](_0x527ce9),_0x5d2ee6;},findLastReporterFlag=_0x34cf7a=>{const _0x5ef341=a59_0x64189,_0x300589={};_0x300589[_0x5ef341(0x200)]=function(_0x4e559b,_0x36d4fa){return _0x4e559b-_0x36d4fa;},_0x300589[_0x5ef341(0x1e3)]=function(_0x2a76e4,_0x1f7461){return _0x2a76e4>=_0x1f7461;},_0x300589[_0x5ef341(0x212)]=function(_0x393485,_0x36d1d2){return _0x393485!==_0x36d1d2;},_0x300589[_0x5ef341(0x206)]=_0x5ef341(0x216);const _0x1cf751=_0x300589;for(let _0xac9eda=_0x1cf751[_0x5ef341(0x200)](_0x34cf7a['length'],0x1);_0x1cf751['TIiRz'](_0xac9eda,0x0);_0xac9eda--){const _0x1f305a=_0x34cf7a[_0xac9eda];if(_0x1cf751[_0x5ef341(0x212)](typeof _0x1f305a,_0x1cf751['aFqBO']))continue;const _0x2c7199=INLINE_PREFIXES[_0x5ef341(0x1f0)](_0x5da30d=>_0x1f305a[_0x5ef341(0x219)](_0x5da30d));if(_0x2c7199){const _0x3344fe={};return _0x3344fe[_0x5ef341(0x1fc)]=_0xac9eda,_0x3344fe['prefix']=_0x2c7199,_0x3344fe;}if(BARE_FLAGS[_0x5ef341(0x1f4)](_0x1f305a)){const _0x1298df={};return _0x1298df[_0x5ef341(0x1fc)]=_0xac9eda,_0x1298df['prefix']=null,_0x1298df;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x403002,_0x23b213={})=>{const _0x57c138=a59_0x64189,_0x36709b={'rRbuF':function(_0x45ac87,_0x1b74e2){return _0x45ac87===_0x1b74e2;},'LgPjx':function(_0x3a93e9,_0x818271){return _0x3a93e9(_0x818271);},'iQGAe':function(_0x467689,_0x461cfd){return _0x467689===_0x461cfd;},'wdnuK':function(_0x5e0d8f,_0x2c137b){return _0x5e0d8f+_0x2c137b;},'lNfZH':function(_0x3489e7,_0x2cb725){return _0x3489e7>=_0x2cb725;},'VXown':function(_0x17c974,_0x162d63){return _0x17c974!==_0x162d63;},'JDpBi':_0x57c138(0x216),'yuQgY':function(_0x137812,_0x42dcf1,_0x2ac5fe){return _0x137812(_0x42dcf1,_0x2ac5fe);},'qAlnM':function(_0x74e199,_0x1393e5){return _0x74e199===_0x1393e5;},'fOsiH':_0x57c138(0x1f8),'Atnki':function(_0x44708b,_0x298827){return _0x44708b(_0x298827);}};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process['platform']}=_0x23b213;if(_0x36709b[_0x57c138(0x202)](enabled,![]))return;if(!Array[_0x57c138(0x1e2)](_0x403002))return;const _0x1e8e6d=_0x36709b[_0x57c138(0x1f7)](findLastReporterFlag,_0x403002);if(_0x36709b['iQGAe'](_0x1e8e6d,null))return;let _0x31868a,_0x4077d3;if(_0x1e8e6d['prefix'])_0x31868a=_0x1e8e6d[_0x57c138(0x1fc)],_0x4077d3=_0x403002[_0x1e8e6d[_0x57c138(0x1fc)]][_0x57c138(0x1eb)](_0x1e8e6d['prefix'][_0x57c138(0x1e7)]);else{_0x31868a=_0x36709b['wdnuK'](_0x1e8e6d[_0x57c138(0x1fc)],0x1);if(_0x36709b[_0x57c138(0x207)](_0x31868a,_0x403002['length'])||_0x36709b['VXown'](typeof _0x403002[_0x31868a],_0x36709b[_0x57c138(0x1e0)])||_0x403002[_0x31868a][_0x57c138(0x219)]('-'))return;_0x4077d3=_0x403002[_0x31868a];}const _0x5870f3=_0x36709b[_0x57c138(0x215)](buildMergedList,_0x4077d3,reporterPath);if(_0x36709b[_0x57c138(0x1e9)](_0x5870f3,null))return;const _0x3b53c3=_0x36709b[_0x57c138(0x215)](renderValue,_0x5870f3,platform);_0x403002[_0x31868a]=_0x1e8e6d[_0x57c138(0x20f)]?''+_0x1e8e6d[_0x57c138(0x20f)]+_0x3b53c3:_0x3b53c3,logger[_0x57c138(0x1f9)](_0x36709b[_0x57c138(0x1e1)]),logger[_0x57c138(0x205)](_0x57c138(0x20c)+_0x403002[_0x31868a]);}catch(_0x48a95f){logger['debug'](_0x57c138(0x1ff)+_0x36709b[_0x57c138(0x210)](format,_0x48a95f));}},a59_0x5bd9ec={};a59_0x5bd9ec[a59_0x64189(0x20b)]=mergeBrowserstackReporterIntoCliReporterFlag,a59_0x5bd9ec[a59_0x64189(0x1fb)]=BROWSERSTACK_PW_REPORTER_PATH,module[a59_0x64189(0x21c)]=a59_0x5bd9ec;
1
+ 'use strict';const a59_0x408306=a59_0x3272;function a59_0x3272(_0x4f78da,_0x33d7a5){const _0x11390c=a59_0x1139();return a59_0x3272=function(_0x327225,_0x180102){_0x327225=_0x327225-0x1e3;let _0xe49c56=_0x11390c[_0x327225];return _0xe49c56;},a59_0x3272(_0x4f78da,_0x33d7a5);}(function(_0x1d2cf1,_0xee5b01){const _0x274321=a59_0x3272,_0x1f7695=_0x1d2cf1();while(!![]){try{const _0x51c115=-parseInt(_0x274321(0x212))/0x1*(parseInt(_0x274321(0x1ff))/0x2)+parseInt(_0x274321(0x217))/0x3*(parseInt(_0x274321(0x1f7))/0x4)+-parseInt(_0x274321(0x1ea))/0x5*(parseInt(_0x274321(0x21c))/0x6)+-parseInt(_0x274321(0x21e))/0x7*(parseInt(_0x274321(0x1e3))/0x8)+parseInt(_0x274321(0x1e7))/0x9*(parseInt(_0x274321(0x1f3))/0xa)+-parseInt(_0x274321(0x1fe))/0xb+parseInt(_0x274321(0x219))/0xc*(parseInt(_0x274321(0x205))/0xd);if(_0x51c115===_0xee5b01)break;else _0x1f7695['push'](_0x1f7695['shift']());}catch(_0x433fff){_0x1f7695['push'](_0x1f7695['shift']());}}}(a59_0x1139,0x60d1d));const path=require('path'),{format}=require(a59_0x408306(0x202)),logger=require(a59_0x408306(0x1fc))[a59_0x408306(0x20a)],BROWSERSTACK_PW_REPORTER_PATH=path[a59_0x408306(0x213)](__dirname,a59_0x408306(0x21f)),INLINE_PREFIXES=[a59_0x408306(0x1fa)],BARE_FLAGS=[a59_0x408306(0x20b)],stripQuotes=_0x45b79d=>{const _0x37cf1f=a59_0x408306,_0x310885={'QYJsG':function(_0x4ba2bb,_0x3c164f){return _0x4ba2bb(_0x3c164f);},'OMgBP':function(_0x13c82f,_0x154b32){return _0x13c82f>=_0x154b32;},'ylHaM':function(_0x23289e,_0x5726c9){return _0x23289e-_0x5726c9;},'RneRH':function(_0x3617a3,_0xee8a3d){return _0x3617a3===_0xee8a3d;}},_0x15bdde=_0x310885['QYJsG'](String,_0x45b79d);if(_0x310885['OMgBP'](_0x15bdde[_0x37cf1f(0x20e)],0x2)){const _0xf19b89=_0x15bdde[0x0],_0x29df2e=_0x15bdde[_0x310885[_0x37cf1f(0x218)](_0x15bdde[_0x37cf1f(0x20e)],0x1)];if(_0x310885['RneRH'](_0xf19b89,'\x22')&&_0x310885[_0x37cf1f(0x209)](_0x29df2e,'\x22')||_0x310885[_0x37cf1f(0x209)](_0xf19b89,'\x27')&&_0x310885[_0x37cf1f(0x209)](_0x29df2e,'\x27'))return _0x15bdde[_0x37cf1f(0x214)](0x1,-0x1);}return _0x15bdde;},resolveQuietly=_0x254cb7=>{try{return path['resolve'](_0x254cb7);}catch(_0x431af1){return null;}},renderValue=(_0x4375f7,_0x22b307)=>{const _0x4bbbc2=a59_0x408306,_0x5dfb9b={};_0x5dfb9b[_0x4bbbc2(0x1ef)]=function(_0x53212a,_0x50d25c){return _0x53212a===_0x50d25c;},_0x5dfb9b[_0x4bbbc2(0x207)]=_0x4bbbc2(0x1f8);const _0x52f077=_0x5dfb9b,_0x143bef=_0x4375f7[_0x4bbbc2(0x213)](',');return _0x52f077[_0x4bbbc2(0x1ef)](_0x22b307,_0x52f077['JiZZj'])?'\x22'+_0x143bef+'\x22':_0x143bef;},buildMergedList=(_0x28f6cc,_0x511159)=>{const _0x6d3254=a59_0x408306,_0x2d1f78={'qYtNa':function(_0x71cdd0,_0x6d4d7a){return _0x71cdd0(_0x6d4d7a);},'JrqrR':function(_0x16f609,_0x50d6b3){return _0x16f609(_0x50d6b3);},'BxOnq':function(_0x5de2cb,_0x156261){return _0x5de2cb===_0x156261;}};if(_0x2d1f78[_0x6d3254(0x1eb)](String,_0x511159)[_0x6d3254(0x1f4)](','))return null;const _0x136b84=_0x2d1f78[_0x6d3254(0x1fd)](stripQuotes,_0x28f6cc)['split'](',')[_0x6d3254(0x216)](_0x5dec69=>_0x5dec69[_0x6d3254(0x1e6)]())[_0x6d3254(0x21a)](_0x561489=>_0x561489['length']>0x0);if(_0x2d1f78[_0x6d3254(0x200)](_0x136b84[_0x6d3254(0x20e)],0x0))return null;const _0x559282=_0x2d1f78[_0x6d3254(0x1fd)](resolveQuietly,_0x511159),_0x30c879=_0x136b84[_0x6d3254(0x1f1)](_0x9d361c=>_0x9d361c===_0x511159||_0x559282!==null&&resolveQuietly(_0x9d361c)===_0x559282);return!_0x30c879&&_0x136b84[_0x6d3254(0x20d)](_0x511159),_0x136b84;},findLastReporterFlag=_0xf8be1e=>{const _0x706c61=a59_0x408306,_0x46a75b={};_0x46a75b[_0x706c61(0x211)]=function(_0x34ee78,_0x1782e8){return _0x34ee78-_0x1782e8;},_0x46a75b['KuFPl']=function(_0x6a78c1,_0x3af8ad){return _0x6a78c1>=_0x3af8ad;},_0x46a75b[_0x706c61(0x201)]=function(_0x41ea0c,_0x1b0778){return _0x41ea0c!==_0x1b0778;},_0x46a75b[_0x706c61(0x1e4)]=_0x706c61(0x1f0);const _0x18a161=_0x46a75b;for(let _0x1f9136=_0x18a161[_0x706c61(0x211)](_0xf8be1e[_0x706c61(0x20e)],0x1);_0x18a161[_0x706c61(0x20c)](_0x1f9136,0x0);_0x1f9136--){const _0x5c3ad0=_0xf8be1e[_0x1f9136];if(_0x18a161[_0x706c61(0x201)](typeof _0x5c3ad0,_0x18a161[_0x706c61(0x1e4)]))continue;const _0x1e1b1c=INLINE_PREFIXES[_0x706c61(0x210)](_0x2dac2d=>_0x5c3ad0['startsWith'](_0x2dac2d));if(_0x1e1b1c){const _0x260caa={};return _0x260caa[_0x706c61(0x1e9)]=_0x1f9136,_0x260caa[_0x706c61(0x1ed)]=_0x1e1b1c,_0x260caa;}if(BARE_FLAGS['includes'](_0x5c3ad0)){const _0x45a558={};return _0x45a558[_0x706c61(0x1e9)]=_0x1f9136,_0x45a558['prefix']=null,_0x45a558;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x579f4f,_0x28bec9={})=>{const _0x44a9ee=a59_0x408306,_0x454223={'MqCDN':function(_0x1fa9b7,_0x1e9931){return _0x1fa9b7===_0x1e9931;},'LhRfd':function(_0x3bbd3d,_0x3b178b){return _0x3bbd3d(_0x3b178b);},'jnFIP':function(_0x1fcaaa,_0x5590c0){return _0x1fcaaa===_0x5590c0;},'UMZrd':function(_0x166e1d,_0x25b91f){return _0x166e1d+_0x25b91f;},'RiTQS':function(_0x33ec89,_0x498616){return _0x33ec89>=_0x498616;},'ALpTe':function(_0x376953,_0x3aa51c){return _0x376953!==_0x3aa51c;},'FcOko':_0x44a9ee(0x1f0),'zmcSM':function(_0x305ad3,_0x469c33,_0x11051d){return _0x305ad3(_0x469c33,_0x11051d);},'YkBzq':function(_0x2bbed3,_0x1206ec){return _0x2bbed3===_0x1206ec;},'TJNCV':function(_0x3911ad,_0x52268f,_0xb775ef){return _0x3911ad(_0x52268f,_0xb775ef);},'NnYCI':_0x44a9ee(0x208)};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process[_0x44a9ee(0x1fb)]}=_0x28bec9;if(_0x454223[_0x44a9ee(0x203)](enabled,![]))return;if(!Array[_0x44a9ee(0x206)](_0x579f4f))return;const _0x55d3a8=_0x454223[_0x44a9ee(0x1f9)](findLastReporterFlag,_0x579f4f);if(_0x454223['jnFIP'](_0x55d3a8,null))return;let _0x525ba3,_0x7153ce;if(_0x55d3a8[_0x44a9ee(0x1ed)])_0x525ba3=_0x55d3a8[_0x44a9ee(0x1e9)],_0x7153ce=_0x579f4f[_0x55d3a8['flagIdx']][_0x44a9ee(0x214)](_0x55d3a8[_0x44a9ee(0x1ed)][_0x44a9ee(0x20e)]);else{_0x525ba3=_0x454223[_0x44a9ee(0x1f5)](_0x55d3a8[_0x44a9ee(0x1e9)],0x1);if(_0x454223[_0x44a9ee(0x204)](_0x525ba3,_0x579f4f['length'])||_0x454223[_0x44a9ee(0x1ec)](typeof _0x579f4f[_0x525ba3],_0x454223['FcOko'])||_0x579f4f[_0x525ba3][_0x44a9ee(0x1e5)]('-'))return;_0x7153ce=_0x579f4f[_0x525ba3];}const _0x214e5b=_0x454223[_0x44a9ee(0x21b)](buildMergedList,_0x7153ce,reporterPath);if(_0x454223[_0x44a9ee(0x21d)](_0x214e5b,null))return;const _0x50b2fc=_0x454223[_0x44a9ee(0x1f6)](renderValue,_0x214e5b,platform);_0x579f4f[_0x525ba3]=_0x55d3a8[_0x44a9ee(0x1ed)]?''+_0x55d3a8['prefix']+_0x50b2fc:_0x50b2fc,logger[_0x44a9ee(0x220)](_0x454223[_0x44a9ee(0x20f)]),logger['debug'](_0x44a9ee(0x221)+_0x579f4f[_0x525ba3]);}catch(_0x3ee021){logger[_0x44a9ee(0x1f2)]('[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20'+_0x454223[_0x44a9ee(0x1f9)](format,_0x3ee021));}},a59_0xdeaa5a={};function a59_0x1139(){const _0x115048=['88510AluExL','includes','UMZrd','TJNCV','276DmAPax','win32','LhRfd','--reporter=','platform','../../helpers/logger','JrqrR','5376536FTVXnV','4rcUdQl','BxOnq','XTFHl','util','MqCDN','RiTQS','3499522gjnwGV','isArray','JiZZj','[BrowserStack]\x20A\x20--reporter\x20flag\x20was\x20passed\x20on\x20the\x20Playwright\x20CLI;\x20it\x20overrides\x20the\x20config\x20reporter.\x20Merged\x20the\x20BrowserStack\x20Observability\x20reporter\x20into\x20it\x20so\x20test\x20events\x20are\x20captured.','RneRH','winstonLogger','--reporter','KuFPl','push','length','NnYCI','find','FqQUW','216661HfSHjc','join','slice','BROWSERSTACK_PW_REPORTER_PATH','map','17547RLUlNi','ylHaM','48rNtLnp','filter','zmcSM','1506eSsBvv','YkBzq','1799MgqfCc','./reporter/reporter.js','warn','[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20','7712IZIkdx','OoCXs','startsWith','trim','783IKBmtr','mergeBrowserstackReporterIntoCliReporterFlag','flagIdx','13625ZtahBe','qYtNa','ALpTe','prefix','exports','KGqjN','string','some','debug'];a59_0x1139=function(){return _0x115048;};return a59_0x1139();}a59_0xdeaa5a[a59_0x408306(0x1e8)]=mergeBrowserstackReporterIntoCliReporterFlag,a59_0xdeaa5a[a59_0x408306(0x215)]=BROWSERSTACK_PW_REPORTER_PATH,module[a59_0x408306(0x1ee)]=a59_0xdeaa5a;
@@ -1 +1 @@
1
- const a60_0x1d15c1=a60_0x1728;function a60_0x1728(_0x3efb35,_0x27ddee){const _0x481f71=a60_0x481f();return a60_0x1728=function(_0x172824,_0x36db2f){_0x172824=_0x172824-0x14d;let _0x487fae=_0x481f71[_0x172824];return _0x487fae;},a60_0x1728(_0x3efb35,_0x27ddee);}(function(_0x19b32f,_0x17d729){const _0x21a3c4=a60_0x1728,_0x43c83b=_0x19b32f();while(!![]){try{const _0xa7150a=-parseInt(_0x21a3c4(0x226))/0x1*(parseInt(_0x21a3c4(0x222))/0x2)+-parseInt(_0x21a3c4(0x1ab))/0x3*(-parseInt(_0x21a3c4(0x1c3))/0x4)+-parseInt(_0x21a3c4(0x1ba))/0x5+-parseInt(_0x21a3c4(0x1f9))/0x6*(parseInt(_0x21a3c4(0x214))/0x7)+-parseInt(_0x21a3c4(0x218))/0x8+-parseInt(_0x21a3c4(0x1e4))/0x9*(parseInt(_0x21a3c4(0x165))/0xa)+parseInt(_0x21a3c4(0x179))/0xb;if(_0xa7150a===_0x17d729)break;else _0x43c83b['push'](_0x43c83b['shift']());}catch(_0x36e548){_0x43c83b['push'](_0x43c83b['shift']());}}}(a60_0x481f,0xa6670));const path=require(a60_0x1d15c1(0x1a2)),url=require('url'),util=require('util'),helper=require(a60_0x1d15c1(0x1f2)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require('../../helpers/helper'),{o11yErrorHandler}=require(a60_0x1d15c1(0x169)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a60_0x1d15c1(0x161)),{FRAMEWORKS}=require(a60_0x1d15c1(0x202)),logger=require(a60_0x1d15c1(0x16c))[a60_0x1d15c1(0x1c0)],scripts=require(a60_0x1d15c1(0x175)),{browserStackExecuteDriver}=require(a60_0x1d15c1(0x15d)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a60_0x1d15c1(0x1d5)),BrowserstackCLI=require(a60_0x1d15c1(0x1bf)),AutomationFrameworkState=require(a60_0x1d15c1(0x1b8)),HookState=require(a60_0x1d15c1(0x224)),{performScanWithRetry}=require(a60_0x1d15c1(0x185)),ClientTroubleShootingService=require(a60_0x1d15c1(0x1cd)),getBrowserNameFromChannel=_0x89689d=>{const _0x35711f=a60_0x1d15c1,_0x4035c1={};_0x4035c1[_0x35711f(0x22b)]=_0x35711f(0x1b6),_0x4035c1[_0x35711f(0x225)]=_0x35711f(0x1e5),_0x4035c1[_0x35711f(0x1ac)]=function(_0x1b005b,_0x1e035c){return _0x1b005b!==_0x1e035c;},_0x4035c1['Luydv']='string',_0x4035c1[_0x35711f(0x21e)]='chromium',_0x4035c1['VYmHB']=_0x35711f(0x15b),_0x4035c1[_0x35711f(0x1dd)]=_0x35711f(0x20e),_0x4035c1[_0x35711f(0x18d)]=_0x35711f(0x1fa),_0x4035c1[_0x35711f(0x156)]=function(_0x3dd3d8,_0xd71ad5){return _0x3dd3d8===_0xd71ad5;},_0x4035c1[_0x35711f(0x17d)]=_0x35711f(0x1fc);const _0x269ade=_0x4035c1,_0x3cd83e=_0x269ade['Polfs']['split']('|');let _0x44038c=0x0;while(!![]){switch(_0x3cd83e[_0x44038c++]){case'0':return _0x89689d;case'1':if(_0x89689d[_0x35711f(0x1cf)](_0x269ade[_0x35711f(0x225)]))return _0x269ade[_0x35711f(0x225)];continue;case'2':if(!_0x89689d||_0x269ade[_0x35711f(0x1ac)](typeof _0x89689d,_0x269ade[_0x35711f(0x21c)]))return _0x269ade[_0x35711f(0x21e)];continue;case'3':if(_0x89689d[_0x35711f(0x1cf)](_0x269ade[_0x35711f(0x1f8)]))return _0x269ade['VYmHB'];continue;case'4':if(_0x89689d[_0x35711f(0x1cf)](_0x269ade[_0x35711f(0x21e)]))return _0x269ade['jMOjd'];continue;case'5':if(_0x89689d[_0x35711f(0x1cf)](_0x269ade[_0x35711f(0x1dd)]))return _0x269ade[_0x35711f(0x1dd)];continue;case'6':if(_0x89689d[_0x35711f(0x1cf)](_0x269ade['SZFLx']))return _0x269ade[_0x35711f(0x18d)];continue;case'7':if(_0x269ade[_0x35711f(0x156)](_0x89689d,_0x269ade['LXshg']))return _0x269ade[_0x35711f(0x17d)];continue;}break;}},getBrowserFromWSEndpoint=_0x4fa6dd=>{const _0x5b5649=a60_0x1d15c1,_0x49cc65={'ypjON':_0x5b5649(0x20e),'UXBbY':function(_0x5e53f8,_0x42743a){return _0x5e53f8(_0x42743a);}};try{const _0xa89b5e=url[_0x5b5649(0x1a9)](_0x4fa6dd),_0x2a8af6=new URLSearchParams(_0xa89b5e[_0x5b5649(0x1c7)]),_0x34b973=Object['fromEntries'](_0x2a8af6[_0x5b5649(0x164)]()),_0x362b36=JSON[_0x5b5649(0x1a9)](_0x34b973[_0x5b5649(0x173)]);if(_0x362b36&&(_0x362b36['browser']||_0x362b36[_0x5b5649(0x1ca)]))return _0x362b36[_0x5b5649(0x159)]||_0x362b36[_0x5b5649(0x1ca)];return _0x49cc65[_0x5b5649(0x21b)];}catch(_0x40851e){_0x49cc65[_0x5b5649(0x177)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x40851e[_0x5b5649(0x20a)]());}},getCloudProviderFromWsEndpoint=_0xd1d2c5=>{const _0x1cbb6b=a60_0x1d15c1,_0x10dc53={};_0x10dc53[_0x1cbb6b(0x1ef)]='browserstack',_0x10dc53[_0x1cbb6b(0x210)]=_0x1cbb6b(0x1a4);const _0x1b2d7d=_0x10dc53;if(_0xd1d2c5[_0x1cbb6b(0x1cf)](constants[_0x1cbb6b(0x1ec)])||_0xd1d2c5['includes'](constants[_0x1cbb6b(0x19d)]))return _0x1b2d7d['RAlRO'];return _0x1b2d7d[_0x1cbb6b(0x210)];},a60_0x297b70={};a60_0x297b70[a60_0x1d15c1(0x1ee)]=undefined,a60_0x297b70['bsSessionId']=undefined,a60_0x297b70['browser']=undefined,a60_0x297b70[a60_0x1d15c1(0x160)]=undefined,a60_0x297b70[a60_0x1d15c1(0x196)]=undefined,a60_0x297b70[a60_0x1d15c1(0x1a5)]=undefined,a60_0x297b70[a60_0x1d15c1(0x152)]=undefined,a60_0x297b70[a60_0x1d15c1(0x1e2)]={};function a60_0x481f(){const _0x2e7252=['YrorJ','2509556EpWKTg','bStackParams','oPfBO','setupBrowserDetails','query','tVkuL','DFNlY','browserName','wsEndpoint','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','../utils/clientTroubleshootingService.js','JFtSj','includes','currentSessionDetails','lJLsH','apply','getDetails','YOqSx','../utils/constants','isRemote','1.60.0','patchCRConnection','Performing\x20scan\x20for\x20','XFzDP','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','MTBAt','GCquN','resolveConnectionClass','local_grid','lib','capabilities','MkGAF','36fNeNBO','edge','chromium','YyKgH','bsSessionId','bstackPerformA11yScan','currentTest','getInstance','BSTACK_URL','debug','cloudProvider','RAlRO','ThEwe','yECfS','../../helpers/helper','accessibilityPlatform','model','UftrO','Failed\x20to\x20perform\x20scan\x20','xewWe','VYmHB','229566lDDlPm','firefox','UnaSy','webkit','platformDetails','dispatch','unknown','RCkHq','FEfqM','../../helpers/test-observability/constants','Driver\x20Scan\x20result=','Connection','performScan','testInfo','format','Page','platformVersion','toString','toLowerCase','EmQtP','catch','chrome','_name','QRUAI','_onMessage','hNhin','DQNRs','231MVuBow','getFrameworkVersion','MxoKQ','env','7442472HAKaMg','defineProperty','browserstack','ypjON','Luydv','bJUsT','jMOjd','JypFX','KzAnB','sBCrL','2SjQrIr','hwaJm','../v2/state/hookState.js','nAhvB','427414FIXSlt','PLAYWRIGHT','ATS_WSS_URL_REGEX','twELn','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','Polfs','POST','aPmyK','AOIBy','ZPhpc','PdEoI','product','patchConnection','Vgdfq','XVEsu','BOUqc','YZSST','project','browser','_defaultConnectOptions','safari','GWGYo','../../bin/playwright/accessibility-helper','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','test','browser_version','../../helpers/accessibility-automation/helper','params','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','entries','363070UnRyFy','Error\x20in\x20importing\x20crConnection','LcHXl','RxGEu','../../helpers/test-observability/error-handler','KqYzo','FDPNR','../../helpers/logger','sendMessageToServer','owhvq','Error\x20in\x20finding\x20platform\x20details\x20','THjnA','BROWSERSTACK_TEST_OBSERVABILITY','LfqJl','caps','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','../../helpers/accessibility-automation/scripts','YVjax','UXBbY','QHXgI','37808661qkqDVa','sessionId','crConnection.js','trackEvent','LXshg','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','YzBay','reportSessionLinkingIssue','playwright','sessionError','Page\x20Scan\x20result=','function','../../helpers/accessibility-automation/accessibilityRetryHelper.js','Not\x20able\x20to\x20resolve\x20Connection\x20class','PLAYWRIGHT_DISPATCH','jJrld','message','MwlST','turboscale','dKjOr','SZFLx','use','LDjpx','OuJck','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','playwright-','FvVzu','oatYA','Not\x20able\x20to\x20import\x20crConnection','platform','__driver','prototype','__workerDetails','EcLDC','JMJiF','EZREx','BSTACK_ATS_URL','patch','tPixP','_connection','exports','path','_browserType','unknown_grid','platform_version','UYGaY','tvdRg','compareVersions','parse','connectOptions','6nOSYao','tdSKd','automate','bsParams','rerLu','resolve','CRConnection','platformName','titlePath','version','info','2|4|5|1|6|3|7|0','isRunning','../v2/state/automationFrameworkState.js','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','6223905ZqOUIN','FIakV','assign','THXjX','QRnKh','../v2/browserstackCLI','winstonLogger','Uvtim'];a60_0x481f=function(){return _0x2e7252;};return a60_0x481f();}class PlaywrightSessionDetails{static [a60_0x1d15c1(0x1d0)]=a60_0x297b70;constructor(){const _0x5abec2=a60_0x1d15c1,_0x50252f={};_0x50252f[_0x5abec2(0x176)]=_0x5abec2(0x17e);const _0x30455=_0x50252f;throw new Error(_0x30455['YVjax']);}static [a60_0x1d15c1(0x182)]=null;static[a60_0x1d15c1(0x1c6)](_0x28aeba,_0x5902f0,_0x5b270b=null){const _0x3b14d4=a60_0x1d15c1,_0x38c5bf={'MkGAF':'setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','THjnA':function(_0x6f80d3){return _0x6f80d3();},'twELn':_0x3b14d4(0x21a),'YzBay':_0x3b14d4(0x1e0),'FgSej':_0x3b14d4(0x181),'tvdRg':_0x3b14d4(0x1ff),'YOqSx':function(_0x18718f,_0x3161eb){return _0x18718f===_0x3161eb;},'QHXgI':_0x3b14d4(0x184),'UftrO':_0x3b14d4(0x22a),'FEfqM':'Device\x20Model\x20is\x20not\x20available','UnaSy':function(_0x33bbf0,_0x3bd906,_0x49e83e){return _0x33bbf0(_0x3bd906,_0x49e83e);},'XFzDP':_0x3b14d4(0x1a3),'jJrld':'_defaultConnectOptions','oPfBO':_0x3b14d4(0x158),'hwaJm':'use','Vgdfq':_0x3b14d4(0x1aa),'EmQtP':function(_0x2e5f75,_0x1e8f44){return _0x2e5f75(_0x1e8f44);},'AOIBy':function(_0x3ba8f2,_0x2ed7f6){return _0x3ba8f2===_0x2ed7f6;},'MxoKQ':_0x3b14d4(0x18b),'ZPhpc':_0x3b14d4(0x1ad),'GCquN':function(_0x593bd5,_0x371c92){return _0x593bd5(_0x371c92);},'bJUsT':function(_0x3d9dfa,_0x284671){return _0x3d9dfa&&_0x284671;},'UYGaY':function(_0x59a84e,_0x1e533e){return _0x59a84e+_0x1e533e;},'KqYzo':_0x3b14d4(0x192),'MwlST':function(_0x48001a,_0x3776c7){return _0x48001a||_0x3776c7;},'knEsE':function(_0x243ada){return _0x243ada();},'RCkHq':'setupBrowserDetails'},_0x3371b1=this;return _0x38c5bf['UnaSy'](o11yErrorHandler,async function _0x77abd8(_0x420f5c,_0x1cf925,_0x54737d=null){const _0x57384e=_0x3b14d4;if(!_0x420f5c){logger[_0x57384e(0x1ed)](_0x38c5bf[_0x57384e(0x1e3)]),_0x3371b1[_0x57384e(0x1d0)]=Object['assign']({},_0x3371b1['currentSessionDetails'],{'cloudProvider':_0x38c5bf[_0x57384e(0x170)](isBrowserstackInfra)?_0x38c5bf[_0x57384e(0x229)]:_0x38c5bf[_0x57384e(0x17f)],'browser':_0x38c5bf['FgSej'],'browser_version':_0x38c5bf[_0x57384e(0x1a7)]});return;}let _0x184451=_0x420f5c[_0x57384e(0x20f)],_0x242ce3=null;_0x420f5c&&_0x38c5bf[_0x57384e(0x1d4)](typeof _0x420f5c[_0x57384e(0x1b4)],_0x38c5bf['QHXgI'])?_0x242ce3=_0x420f5c[_0x57384e(0x1b4)]():logger['debug'](_0x38c5bf[_0x57384e(0x1f5)]);let _0x39330b=null;_0x420f5c&&_0x38c5bf[_0x57384e(0x1d4)](typeof _0x420f5c[_0x57384e(0x1f4)],_0x38c5bf[_0x57384e(0x178)])?_0x39330b=_0x420f5c[_0x57384e(0x1f4)]():logger[_0x57384e(0x1ed)](_0x38c5bf[_0x57384e(0x201)]);let _0x2e0e50=null,_0x3236c2=null,_0x370b6d=null,_0x50572f=_0x38c5bf[_0x57384e(0x17f)];const _0x5a1e66=_0x420f5c[_0x57384e(0x1a0)]&&_0x38c5bf[_0x57384e(0x1d4)](typeof _0x420f5c[_0x57384e(0x1a0)][_0x57384e(0x1d6)],_0x38c5bf['QHXgI'])?_0x420f5c[_0x57384e(0x1a0)][_0x57384e(0x1d6)]():![];if(_0x5a1e66||global[_0x57384e(0x1f3)]&&!process[_0x57384e(0x217)][_0x57384e(0x191)]){let _0x189af3=null;_0x38c5bf[_0x57384e(0x1fb)](nestedKeyValue,_0x420f5c,[_0x38c5bf[_0x57384e(0x1da)],_0x38c5bf[_0x57384e(0x188)]])?_0x189af3=_0x420f5c['_browserType'][_0x57384e(0x15a)]:_0x189af3=_0x38c5bf['UnaSy'](nestedKeyValue,_0x1cf925,[_0x38c5bf[_0x57384e(0x1c5)],_0x38c5bf[_0x57384e(0x223)],_0x38c5bf[_0x57384e(0x154)]]);const _0xff1936=_0x54737d||_0x189af3&&_0x189af3[_0x57384e(0x1cb)];if(_0xff1936){_0x50572f=_0x38c5bf[_0x57384e(0x20c)](getCloudProviderFromWsEndpoint,_0xff1936);if(_0x38c5bf[_0x57384e(0x14f)](_0x50572f,_0x38c5bf[_0x57384e(0x229)]))_0x370b6d=constants[_0x57384e(0x228)][_0x57384e(0x15f)](_0xff1936)?_0x38c5bf[_0x57384e(0x216)]:_0x38c5bf[_0x57384e(0x150)],_0x184451=_0x38c5bf['GCquN'](getBrowserFromWSEndpoint,_0xff1936)||_0x184451,_0x2e0e50=_0x3371b1[_0x57384e(0x1d0)][_0x57384e(0x196)],_0x3236c2=_0x3371b1[_0x57384e(0x1d0)][_0x57384e(0x1a5)];else{const _0x4d263a=await _0x38c5bf[_0x57384e(0x170)](getPlatformDetails);_0x2e0e50=_0x4d263a[_0x57384e(0x1b2)],_0x3236c2=_0x4d263a[_0x57384e(0x209)];}}if(_0x38c5bf[_0x57384e(0x21d)](!_0x2e0e50,!_0x3236c2)&&!_0x38c5bf[_0x57384e(0x170)](isBrowserstackInfra)){const _0x222400=await _0x38c5bf[_0x57384e(0x170)](getPlatformDetails);_0x2e0e50=_0x222400[_0x57384e(0x1b2)],_0x3236c2=_0x222400[_0x57384e(0x209)];}}else{_0x1cf925&&_0x1cf925[_0x57384e(0x158)][_0x57384e(0x18e)]['channel']?_0x184451=_0x38c5bf[_0x57384e(0x1de)](getBrowserNameFromChannel,_0x1cf925[_0x57384e(0x158)]['use']['channel']):_0x184451=_0x38c5bf[_0x57384e(0x1a6)](_0x38c5bf[_0x57384e(0x16a)],_0x38c5bf[_0x57384e(0x18a)](_0x184451,_0x38c5bf[_0x57384e(0x1a7)])[_0x57384e(0x20b)]());const _0x352a3c=await _0x38c5bf['knEsE'](getPlatformDetails);_0x2e0e50=_0x352a3c[_0x57384e(0x1b2)],_0x3236c2=_0x352a3c[_0x57384e(0x209)];}const _0x3edd71={};_0x3edd71[_0x57384e(0x159)]=_0x184451,_0x3edd71[_0x57384e(0x160)]=_0x242ce3,_0x3edd71[_0x57384e(0x1e2)]={},_0x3edd71['platform']=_0x2e0e50,_0x3edd71[_0x57384e(0x1a5)]=_0x3236c2,_0x3edd71[_0x57384e(0x152)]=_0x370b6d;const _0x2d2a0d=_0x3edd71;_0x39330b&&(_0x2d2a0d[_0x57384e(0x1e2)]['deviceModel']=_0x39330b);const _0x30b1e9={};_0x30b1e9[_0x57384e(0x1ee)]=_0x50572f,_0x3371b1[_0x57384e(0x1d0)]=Object[_0x57384e(0x1bc)]({},_0x3371b1[_0x57384e(0x1d0)],_0x30b1e9,_0x2d2a0d);},_0x38c5bf[_0x3b14d4(0x200)])(_0x28aeba,_0x5902f0,_0x5b270b);}static[a60_0x1d15c1(0x19e)](){const _0x8f1af6=a60_0x1d15c1;this[_0x8f1af6(0x153)](),this[_0x8f1af6(0x1d8)]();}static[a60_0x1d15c1(0x153)](){const _0x330e18=a60_0x1d15c1,_0x2bd86b={'LfqJl':function(_0x5cbd4b,_0x167c0b,_0x3e4d44){return _0x5cbd4b(_0x167c0b,_0x3e4d44);},'qvJAO':'currentTest','mImYp':_0x330e18(0x206),'JFtSj':_0x330e18(0x1b3),'lJLsH':_0x330e18(0x199),'NRaNm':'pwPage','gEOfE':function(_0x19735c,_0x533c0b){return _0x19735c===_0x533c0b;},'GWGYo':_0x330e18(0x208),'THXjX':function(_0x1e7ce4,_0x279ae1,_0xc30874,_0x96e6aa){return _0x1e7ce4(_0x279ae1,_0xc30874,_0x96e6aa);},'UMOZE':function(_0x513cc8,_0x5ab90a){return _0x513cc8||_0x5ab90a;},'rSqEi':function(_0x2bceeb,_0x2ae8cb){return _0x2bceeb(_0x2ae8cb);},'owhvq':function(_0x4fd57e,_0x5c3ced){return _0x4fd57e(_0x5c3ced);},'xewWe':function(_0x40f36d,_0x2bffd1){return _0x40f36d(_0x2bffd1);},'yECfS':_0x330e18(0x186),'DQNRs':function(_0x2e9f18,_0x1a6b5b){return _0x2e9f18!=_0x1a6b5b;},'JMJiF':function(_0x2dd7e0,_0x3c3e81){return _0x2dd7e0!=_0x3c3e81;},'FDUqK':function(_0x7eeeb7){return _0x7eeeb7();},'oatYA':_0x330e18(0x16d),'YyKgH':_0x330e18(0x1fe),'XVEsu':_0x330e18(0x163)},_0x2b1f42=this;!this[_0x330e18(0x204)]&&(this[_0x330e18(0x204)]=helper[_0x330e18(0x1df)](),!this[_0x330e18(0x204)]&&_0x2bd86b[_0x330e18(0x1f7)](debug,_0x2bd86b[_0x330e18(0x1f1)]));const _0x12f96e=this[_0x330e18(0x204)];if(_0x2bd86b[_0x330e18(0x213)](_0x12f96e,null)&&_0x12f96e[_0x330e18(0x198)]['_bstackDispatchPatched'])return;try{if(_0x2bd86b[_0x330e18(0x19b)](_0x12f96e,null)){const _0x2cd66a=_0x12f96e[_0x330e18(0x198)][_0x330e18(0x1fe)],_0x3ca84a=_0x12f96e[_0x330e18(0x198)][_0x330e18(0x16d)];_0x2bd86b['FDUqK'](isAccessibilityAutomationSession)&&Object[_0x330e18(0x219)](_0x12f96e[_0x330e18(0x198)],_0x2bd86b[_0x330e18(0x194)],{'get':function(){const _0x446423=_0x330e18,_0x1ab1a1={'VZFul':function(_0x3276c3,_0x2c9b71,_0x48e96c){const _0x2ac2b3=a60_0x1728;return _0x2bd86b[_0x2ac2b3(0x172)](_0x3276c3,_0x2c9b71,_0x48e96c);},'NXJfQ':_0x2bd86b['qvJAO'],'LDjpx':_0x2bd86b['mImYp'],'OuJck':_0x2bd86b[_0x446423(0x1ce)],'EZREx':function(_0x20be68,_0x317bc3,_0x123f15){const _0x181e91=_0x446423;return _0x2bd86b[_0x181e91(0x172)](_0x20be68,_0x317bc3,_0x123f15);},'QbyJI':_0x2bd86b[_0x446423(0x1d1)],'LcHXl':_0x2bd86b['NRaNm'],'DFNlY':function(_0x3bcf1c,_0x3021a2,_0x314704){const _0x2eaa5f=_0x446423;return _0x2bd86b[_0x2eaa5f(0x172)](_0x3bcf1c,_0x3021a2,_0x314704);},'RNhhl':function(_0x1eca37,_0x3ac9a1){return _0x2bd86b['gEOfE'](_0x1eca37,_0x3ac9a1);},'YZSST':_0x2bd86b[_0x446423(0x15c)],'EcLDC':function(_0x2bcf47,_0x26acc8,_0x53a6d7,_0x31c4bb){const _0x85f30d=_0x446423;return _0x2bd86b[_0x85f30d(0x1bd)](_0x2bcf47,_0x26acc8,_0x53a6d7,_0x31c4bb);}};return async function(){const _0x7ae200=_0x446423;try{if(!global[_0x7ae200(0x1e9)]&&global['accessibilityPlatform']&&_0x1ab1a1['VZFul'](nestedKeyValue,global[_0x7ae200(0x199)],[_0x1ab1a1['NXJfQ'],_0x1ab1a1[_0x7ae200(0x18f)],_0x1ab1a1[_0x7ae200(0x190)]])&&_0x1ab1a1['EZREx'](shouldScanTestForAccessibility,global[_0x7ae200(0x199)][_0x7ae200(0x1ea)][_0x7ae200(0x206)][_0x7ae200(0x1b3)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x7ae200(0x1ed)](_0x7ae200(0x1d9)+arguments[0x1]),global[_0x7ae200(0x1e9)]=!![];const _0x148b81=_0x1ab1a1[_0x7ae200(0x19c)](nestedKeyValue,global,[_0x1ab1a1['QbyJI'],_0x1ab1a1[_0x7ae200(0x167)]]);_0x148b81&&logger[_0x7ae200(0x1b5)](_0x7ae200(0x183)+util[_0x7ae200(0x207)](await _0x1ab1a1[_0x7ae200(0x1c9)](performScanWithRetry,_0x148b81,arguments[0x1]))),_0x1ab1a1['RNhhl'](arguments[0x0]['_type'],_0x1ab1a1[_0x7ae200(0x157)])&&global[_0x7ae200(0x197)]&&logger['info'](_0x7ae200(0x203)+util[_0x7ae200(0x207)](await _0x1ab1a1[_0x7ae200(0x19a)](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0x7ae200(0x205)])));}}catch(_0x544350){logger[_0x7ae200(0x1ed)](_0x7ae200(0x1f6)+util[_0x7ae200(0x207)](_0x544350));}return global[_0x7ae200(0x1e9)]=![],_0x3ca84a[_0x7ae200(0x1d2)](this,arguments);};}}),!_0x2bd86b[_0x330e18(0x16e)](isFalse,process[_0x330e18(0x217)][_0x330e18(0x171)])&&Object['defineProperty'](_0x12f96e[_0x330e18(0x198)],_0x2bd86b[_0x330e18(0x1e7)],{'get':function(){return function _0xe60859(_0x9001f5){const _0x41e9da=a60_0x1728,_0xc58dbd=_0x2cd66a[_0x41e9da(0x1d2)](this,arguments);try{if(BrowserstackCLI[_0x41e9da(0x1eb)]()[_0x41e9da(0x1b7)]()){const _0x1bfb2d={};_0x1bfb2d[_0x41e9da(0x189)]=_0x9001f5,Promise[_0x41e9da(0x1b0)](BrowserstackCLI[_0x41e9da(0x1eb)]()['getAutomationFramework']()[_0x41e9da(0x17c)](AutomationFrameworkState[_0x41e9da(0x187)],HookState[_0x41e9da(0x14d)],_0x1bfb2d))[_0x41e9da(0x20d)](()=>{});}else{const _0x57ecf9=_0x9001f5&&_0x9001f5[_0x41e9da(0x162)]&&_0x9001f5[_0x41e9da(0x162)][_0x41e9da(0x1ae)];if(_0x57ecf9){const _0x2b6e67=_0x57ecf9[_0x41e9da(0x17a)],_0x4936df=_0x57ecf9[_0x41e9da(0x1fd)];_0x2bd86b['UMOZE'](!_0x2b6e67,!_0x4936df)&&Promise[_0x41e9da(0x1b0)](ClientTroubleShootingService[_0x41e9da(0x180)]())[_0x41e9da(0x20d)](()=>{}),_0x4936df&&(_0x2bd86b['rSqEi'](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x4936df[_0x41e9da(0x20a)]()),_0x2b1f42['currentSessionDetails']['platform']=_0x4936df['platformName'],_0x2b1f42[_0x41e9da(0x1d0)]['platform_version']=_0x4936df['platformVersion']),_0x2b6e67&&(_0x2bd86b[_0x41e9da(0x16e)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x2b6e67),_0x2b1f42['currentSessionDetails'][_0x41e9da(0x1e8)]=_0x2b6e67);}}}catch(_0x183903){_0x2bd86b['rSqEi'](debug,'dispatch\x20instrumentation\x20error\x20(non-fatal):\x20'+(_0x183903&&_0x183903[_0x41e9da(0x20a)]?_0x183903[_0x41e9da(0x20a)]():_0x183903));}return _0xc58dbd;};}}),_0x12f96e[_0x330e18(0x198)]['_bstackDispatchPatched']=!![],logger['debug'](_0x2bd86b[_0x330e18(0x155)]);}}catch(_0xc6bf2a){_0x2bd86b[_0x330e18(0x1f7)](debug,_0x330e18(0x15e)+_0xc6bf2a),_0x2b1f42['sessionError']=_0xc6bf2a[_0x330e18(0x20a)]();}}static[a60_0x1d15c1(0x1d8)](){const _0x2d700b=a60_0x1d15c1,_0x46d27c={'Uvtim':function(_0x3bf6a8,_0x4d3823){return _0x3bf6a8(_0x4d3823);},'ThEwe':function(_0x558735,_0x49645f){return _0x558735(_0x49645f);},'QRnKh':function(_0x19a2a7,_0x3955c5){return _0x19a2a7(_0x3955c5);},'FDPNR':function(_0x5517e1){return _0x5517e1();},'YrorJ':function(_0x18f8f8,_0x3f5158){return _0x18f8f8>=_0x3f5158;},'FIakV':_0x2d700b(0x1d7),'erQFC':function(_0x274e0e,_0x11d323){return _0x274e0e(_0x11d323);},'dKjOr':_0x2d700b(0x1b9),'rerLu':_0x2d700b(0x1e1),'PdEoI':'server','jLPty':_0x2d700b(0x1e6),'tVkuL':_0x2d700b(0x17b),'tPixP':function(_0x1792c4,_0x26acdd){return _0x1792c4(_0x26acdd);},'FvVzu':_0x2d700b(0x195),'JypFX':_0x2d700b(0x166),'RxGEu':function(_0x359de6,_0x257165){return _0x359de6!=_0x257165;},'hNhin':_0x2d700b(0x211)},_0x6bdd95=this;if(_0x46d27c[_0x2d700b(0x16b)](isAccessibilityAutomationSession)){let _0x6e14bd=null,_0x2aa00b=![];try{const _0x319ee4=helper[_0x2d700b(0x215)](FRAMEWORKS[_0x2d700b(0x227)]);_0x2aa00b=_0x46d27c[_0x2d700b(0x1c2)](helper[_0x2d700b(0x1a8)](_0x319ee4,_0x46d27c[_0x2d700b(0x1bb)]),0x0);}catch(_0x27d218){_0x46d27c['QRnKh'](debug,_0x2d700b(0x174)+_0x27d218[_0x2d700b(0x20a)]());}if(_0x2aa00b)_0x46d27c['erQFC'](debug,_0x46d27c[_0x2d700b(0x18c)]);else try{const _0x1d6b48=path['join'](_0x46d27c[_0x2d700b(0x1af)],_0x46d27c[_0x2d700b(0x151)],_0x46d27c['jLPty'],_0x46d27c[_0x2d700b(0x1c8)]),_0x7a0bf3=_0x46d27c['QRnKh'](importFileFromPWCore,_0x1d6b48);!_0x7a0bf3?_0x46d27c[_0x2d700b(0x19f)](debug,_0x46d27c[_0x2d700b(0x193)]):_0x6e14bd=_0x7a0bf3[_0x2d700b(0x1b1)];}catch(_0x44ba94){_0x46d27c[_0x2d700b(0x1c1)](debug,_0x46d27c[_0x2d700b(0x21f)]);}try{if(_0x46d27c[_0x2d700b(0x168)](_0x6e14bd,null)){const _0x590f0c=_0x6e14bd[_0x2d700b(0x198)][_0x2d700b(0x211)];Object[_0x2d700b(0x219)](_0x6e14bd[_0x2d700b(0x198)],_0x46d27c[_0x2d700b(0x212)],{'get':function(){const _0x22cccd={'KzAnB':function(_0x116101,_0x47907c){const _0x418894=a60_0x1728;return _0x46d27c[_0x418894(0x1c1)](_0x116101,_0x47907c);},'sBCrL':function(_0x1d23be,_0x3f53e9){const _0x2c7e21=a60_0x1728;return _0x46d27c[_0x2c7e21(0x1f0)](_0x1d23be,_0x3f53e9);},'aPmyK':function(_0xcc1676,_0x35b640){const _0x360730=a60_0x1728;return _0x46d27c[_0x360730(0x1be)](_0xcc1676,_0x35b640);}};return async function _0x196b4e(_0x6109a3){const _0x4ee704=a60_0x1728;try{if(BrowserstackCLI[_0x4ee704(0x1eb)]()[_0x4ee704(0x1b7)]()){const _0x1a89b4={};_0x1a89b4[_0x4ee704(0x189)]=_0x6109a3,await BrowserstackCLI[_0x4ee704(0x1eb)]()['getAutomationFramework']()[_0x4ee704(0x17c)](AutomationFrameworkState[_0x4ee704(0x187)],HookState[_0x4ee704(0x14d)],_0x1a89b4),delete _0x6109a3[_0x4ee704(0x1c4)];}else{const _0x4a9c70=_0x6109a3[_0x4ee704(0x1c4)];if(_0x4a9c70){delete _0x6109a3[_0x4ee704(0x1c4)];const _0x58982d=_0x4a9c70['sessionId'],_0x36a803=_0x4a9c70[_0x4ee704(0x1fd)];_0x36a803&&(_0x22cccd[_0x4ee704(0x220)](debug,_0x4ee704(0x1db)+_0x36a803[_0x4ee704(0x20a)]()),_0x6bdd95[_0x4ee704(0x1d0)]['platform']=_0x36a803[_0x4ee704(0x1b2)],_0x6bdd95[_0x4ee704(0x1d0)][_0x4ee704(0x1a5)]=_0x36a803[_0x4ee704(0x209)]),_0x58982d&&(_0x22cccd[_0x4ee704(0x221)](debug,_0x4ee704(0x1dc)+_0x58982d),_0x6bdd95['currentSessionDetails'][_0x4ee704(0x1e8)]=_0x58982d);}}}catch(_0x37bdcd){_0x22cccd[_0x4ee704(0x14e)](debug,_0x4ee704(0x16f)+_0x37bdcd[_0x4ee704(0x20a)]());}return _0x590f0c[_0x4ee704(0x1d2)](this,arguments);};}});}}catch(_0x3b990c){_0x46d27c['erQFC'](debug,_0x2d700b(0x1cc)+_0x3b990c),_0x6bdd95['sessionError']=_0x3b990c[_0x2d700b(0x20a)]();}}}static[a60_0x1d15c1(0x1d3)](){return this['currentSessionDetails'];}}module[a60_0x1d15c1(0x1a1)]=PlaywrightSessionDetails;
1
+ const a60_0x1bd5e8=a60_0x536a;(function(_0x1da0cd,_0x556f8c){const _0x138106=a60_0x536a,_0x3e60e8=_0x1da0cd();while(!![]){try{const _0x5f54e6=-parseInt(_0x138106(0x11c))/0x1*(-parseInt(_0x138106(0x18c))/0x2)+parseInt(_0x138106(0x17b))/0x3+parseInt(_0x138106(0x113))/0x4*(-parseInt(_0x138106(0x1bb))/0x5)+parseInt(_0x138106(0x1a0))/0x6+parseInt(_0x138106(0x1c1))/0x7*(parseInt(_0x138106(0x1d5))/0x8)+-parseInt(_0x138106(0x148))/0x9*(-parseInt(_0x138106(0x1e0))/0xa)+-parseInt(_0x138106(0x185))/0xb;if(_0x5f54e6===_0x556f8c)break;else _0x3e60e8['push'](_0x3e60e8['shift']());}catch(_0x10e281){_0x3e60e8['push'](_0x3e60e8['shift']());}}}(a60_0x1fac,0x296d7));function a60_0x1fac(){const _0x2e0f0e=['jqZjP','htoyz','DRtOc','UMity','isRunning','Weeqp','WMrFW','Driver\x20Scan\x20result=','automate','parse','caps','oORnR','getAutomationFramework','AcvFb','MJoQp','patch','defineProperty','5EHdjWy','TqDWF','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','GFJYT','hashed_id','ybtql','7SYddhQ','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','bsParams','env','irmUZ','assign','YyJxs','message','platformVersion','kxuko','PLAYWRIGHT_DISPATCH','model','fromEntries','lib','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','KHqgn','aOqPj','hLkYo','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','ymBDK','915688pLvTPN','BhXER','jbbdW','kIHwZ','reportSessionLinkingIssue','value','isRemote','deviceModel','FoFoL','UVPEK','compareVersions','50fsdSHx','getFrameworkVersion','platformDetails','firefox','function','server','Htaja','../../helpers/accessibility-automation/accessibilityRetryHelper.js','IUFrM','../v2/browserstackCLI','patchCRConnection','resolveConnectionClass','qAcWq','Performing\x20scan\x20for\x20','lQMHJ','VbRgB','product','split','930112EhMcdW','performScan','currentTest','gBmhW','iGmGc','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','Failed\x20to\x20perform\x20scan\x20','../../helpers/accessibility-automation/helper','getInstance','9764GCFOqn','../v2/state/automationFrameworkState.js','result','project','platform_version','capabilities','entries','xhOyO','ATS_WSS_URL_REGEX','winstonLogger','automation_session','unknown_grid','a11y\x20passive\x20session-id\x20capture:\x20could\x20not\x20parse\x20getSessionDetails\x20response\x20(non-fatal):\x20','TrICJ','kVkKe','getDetails','zUHZr','format','QYTeO','path','3|4|2|6|1|7|5|0','Setting\x20session\x20id\x20received\x20from\x20BS\x20','shouldWrapCommand','safari','SOXgX','playwright-','ltLYB','DtImH','auivA','QlcgU','VfphV','platform','sessionId','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','CRConnection','BROWSERSTACK_TEST_OBSERVABILITY','sessionError','eojkR','../../helpers/test-observability/constants','hlLFw','IZgMk','util','BSTACK_URL','SswYD','38007pPNbCE','url','__workerDetails','chromium','PichU','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','EUTpV','trackEvent','prototype','cloudProvider','_onMessage','rcDnJ','setupBrowserDetails','../../helpers/test-observability/error-handler','../../helpers/helper','_defaultConnectOptions','local_grid','includes','ygPFJ','../v2/state/hookState.js','FhptY','wYZfY','../../helpers/logger','channel','use','titlePath','zZgSb','vMllQ','toString','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','browserName','HyrbI','DBCQr','chrome','test','currentSessionDetails','Device\x20Model\x20is\x20not\x20available','catch','turboscale','playwright','evVie','_name','bsSessionId','browserstack','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','../utils/constants','dispatch','unknown','hPNJO','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','xGPZB','156660JFjOoQ','params','../../helpers/test-observability/utils','Page','../../bin/playwright/accessibility-helper','nAcNC','browser','crConnection.js','info','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','467511ZRhkIS','rlxmJ','patchConnection','debug','FNNgH','sendMessageToServer','toLowerCase','48WWZMCl','apply','testInfo','edge','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','vAucA','browser_version','__driver','wMGhX','1.60.0','bStackParams','resolve','../../helpers/accessibility-automation/scripts','_connection','string','nTZkd','bstackPerformA11yScan','POST','elhSp','NuACs','135504lnIcBr','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','platformName','./accessibility-helper','Kvgyn','gLaZd','accessibilityPlatform','exports','Connection','wsEndpoint'];a60_0x1fac=function(){return _0x2e0f0e;};return a60_0x1fac();}const path=require(a60_0x1bd5e8(0x12f)),url=require(a60_0x1bd5e8(0x149)),util=require(a60_0x1bd5e8(0x145)),helper=require(a60_0x1bd5e8(0x156)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require('../../helpers/helper'),{o11yErrorHandler}=require(a60_0x1bd5e8(0x155)),{debug,getPlatformDetails}=require(a60_0x1bd5e8(0x17d)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a60_0x1bd5e8(0x11a)),{FRAMEWORKS}=require(a60_0x1bd5e8(0x142)),logger=require(a60_0x1bd5e8(0x15e))[a60_0x1bd5e8(0x125)],scripts=require(a60_0x1bd5e8(0x198)),{browserStackExecuteDriver}=require(a60_0x1bd5e8(0x17f)),AccessibilityHelper=require(a60_0x1bd5e8(0x1a3)),constants=require(a60_0x1bd5e8(0x175)),BrowserstackCLI=require(a60_0x1bd5e8(0x10a)),AutomationFrameworkState=require(a60_0x1bd5e8(0x11d)),HookState=require(a60_0x1bd5e8(0x15b)),{performScanWithRetry}=require(a60_0x1bd5e8(0x1e7)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0x5dc993=>{const _0xe13b42=a60_0x1bd5e8,_0x17037e={};_0x17037e[_0xe13b42(0x1dd)]=_0xe13b42(0x130),_0x17037e['YyJxs']=_0xe13b42(0x1e3),_0x17037e[_0xe13b42(0x1de)]=_0xe13b42(0x169),_0x17037e[_0xe13b42(0x1bc)]=function(_0x104ee4,_0x37efa4){return _0x104ee4!==_0x37efa4;},_0x17037e[_0xe13b42(0x19f)]=_0xe13b42(0x19a),_0x17037e[_0xe13b42(0x1af)]=_0xe13b42(0x14b),_0x17037e[_0xe13b42(0x12c)]=function(_0x1b884a,_0x58b104){return _0x1b884a===_0x58b104;},_0x17037e[_0xe13b42(0x1d8)]='webkit',_0x17037e[_0xe13b42(0x144)]=_0xe13b42(0x18f),_0x17037e[_0xe13b42(0x1c5)]=_0xe13b42(0x133);const _0x46c3c2=_0x17037e,_0x952d21=_0x46c3c2['FoFoL'][_0xe13b42(0x112)]('|');let _0x41929e=0x0;while(!![]){switch(_0x952d21[_0x41929e++]){case'0':return _0x5dc993;case'1':if(_0x5dc993[_0xe13b42(0x159)](_0x46c3c2['YyJxs']))return _0x46c3c2[_0xe13b42(0x1c7)];continue;case'2':if(_0x5dc993['includes'](_0x46c3c2[_0xe13b42(0x1de)]))return _0x46c3c2[_0xe13b42(0x1de)];continue;case'3':if(!_0x5dc993||_0x46c3c2[_0xe13b42(0x1bc)](typeof _0x5dc993,_0x46c3c2['NuACs']))return _0x46c3c2[_0xe13b42(0x1af)];continue;case'4':if(_0x5dc993[_0xe13b42(0x159)](_0x46c3c2[_0xe13b42(0x1af)]))return _0x46c3c2['Weeqp'];continue;case'5':if(_0x46c3c2['zUHZr'](_0x5dc993,_0x46c3c2[_0xe13b42(0x1d8)]))return _0x46c3c2[_0xe13b42(0x1d8)];continue;case'6':if(_0x5dc993[_0xe13b42(0x159)](_0x46c3c2[_0xe13b42(0x144)]))return _0x46c3c2[_0xe13b42(0x144)];continue;case'7':if(_0x5dc993[_0xe13b42(0x159)](_0x46c3c2[_0xe13b42(0x1c5)]))return _0x46c3c2[_0xe13b42(0x1c5)];continue;}break;}},getBrowserFromWSEndpoint=_0x2ac11d=>{const _0x130197=a60_0x1bd5e8,_0x2548c8={'KhShr':_0x130197(0x169),'QlcgU':function(_0x529ec2,_0x3f2c0e){return _0x529ec2(_0x3f2c0e);}};try{const _0x2b3ef1=url[_0x130197(0x1b3)](_0x2ac11d),_0x399047=new URLSearchParams(_0x2b3ef1['query']),_0xdb4aa0=Object[_0x130197(0x1cd)](_0x399047[_0x130197(0x122)]()),_0x5a8fb0=JSON[_0x130197(0x1b3)](_0xdb4aa0[_0x130197(0x1b4)]);if(_0x5a8fb0&&(_0x5a8fb0[_0x130197(0x181)]||_0x5a8fb0[_0x130197(0x166)]))return _0x5a8fb0[_0x130197(0x181)]||_0x5a8fb0[_0x130197(0x166)];return _0x2548c8['KhShr'];}catch(_0x4271e2){_0x2548c8[_0x130197(0x139)](debug,_0x130197(0x1a1)+_0x4271e2[_0x130197(0x164)]());}},getCloudProviderFromWsEndpoint=_0x371795=>{const _0x5a5d3d=a60_0x1bd5e8,_0x2d8bd8={};_0x2d8bd8[_0x5a5d3d(0x1ac)]=_0x5a5d3d(0x173),_0x2d8bd8[_0x5a5d3d(0x1be)]=_0x5a5d3d(0x127);const _0x29c9e6=_0x2d8bd8;if(_0x371795[_0x5a5d3d(0x159)](constants[_0x5a5d3d(0x146)])||_0x371795[_0x5a5d3d(0x159)](constants['BSTACK_ATS_URL']))return _0x29c9e6[_0x5a5d3d(0x1ac)];return _0x29c9e6[_0x5a5d3d(0x1be)];},a60_0x31a913={};function a60_0x536a(_0x477101,_0x306b16){const _0x1faca9=a60_0x1fac();return a60_0x536a=function(_0x536aa6,_0xb96e42){_0x536aa6=_0x536aa6-0x109;let _0xda5572=_0x1faca9[_0x536aa6];return _0xda5572;},a60_0x536a(_0x477101,_0x306b16);}a60_0x31a913['cloudProvider']=undefined,a60_0x31a913[a60_0x1bd5e8(0x172)]=undefined,a60_0x31a913[a60_0x1bd5e8(0x181)]=undefined,a60_0x31a913[a60_0x1bd5e8(0x192)]=undefined,a60_0x31a913[a60_0x1bd5e8(0x13b)]=undefined,a60_0x31a913[a60_0x1bd5e8(0x120)]=undefined,a60_0x31a913[a60_0x1bd5e8(0x111)]=undefined,a60_0x31a913['capabilities']={};class PlaywrightSessionDetails{static [a60_0x1bd5e8(0x16b)]=a60_0x31a913;constructor(){const _0x515f70=a60_0x1bd5e8,_0x65f1f2={};_0x65f1f2[_0x515f70(0x12e)]=_0x515f70(0x118);const _0x586878=_0x65f1f2;throw new Error(_0x586878['QYTeO']);}static [a60_0x1bd5e8(0x140)]=null;static['setupBrowserDetails'](_0x356dce,_0x2c3ba7,_0x148deb=null){const _0x1d2de1=a60_0x1bd5e8,_0x1624f6={'PichU':_0x1d2de1(0x1d3),'auivA':function(_0x48616f){return _0x48616f();},'ybtql':_0x1d2de1(0x173),'bkJGn':_0x1d2de1(0x158),'hlLFw':_0x1d2de1(0x16f),'kVkKe':_0x1d2de1(0x177),'rcDnJ':function(_0x24a1f8,_0x52318b){return _0x24a1f8===_0x52318b;},'nAcNC':_0x1d2de1(0x1e4),'ymBDK':_0x1d2de1(0x165),'UlsvT':function(_0xd401b,_0x5b67b4){return _0xd401b===_0x5b67b4;},'zZgSb':_0x1d2de1(0x16c),'WHLtz':function(_0x11e465,_0x187dbc){return _0x11e465===_0x187dbc;},'WMrFW':function(_0x364733,_0x1ef44d,_0xc52709){return _0x364733(_0x1ef44d,_0xc52709);},'hlLby':'_browserType','VbRgB':_0x1d2de1(0x157),'uRgiG':function(_0x1a1a4b,_0x275b52,_0x156f26){return _0x1a1a4b(_0x275b52,_0x156f26);},'VfphV':_0x1d2de1(0x11f),'evVie':_0x1d2de1(0x160),'jqZjP':'connectOptions','NjFzT':function(_0x46750e,_0x58ae2a){return _0x46750e(_0x58ae2a);},'HyrbI':function(_0x2d6589,_0x5ca648){return _0x2d6589===_0x5ca648;},'UMity':_0x1d2de1(0x16e),'vMllQ':_0x1d2de1(0x1b2),'MJoQp':function(_0x256ab4,_0x163df7){return _0x256ab4(_0x163df7);},'SOXgX':function(_0x181952){return _0x181952();},'wMGhX':function(_0x543b78,_0x51af5b){return _0x543b78&&_0x51af5b;},'KAaXF':function(_0x3754f7){return _0x3754f7();},'TrICJ':function(_0x548ef7,_0x86e403){return _0x548ef7(_0x86e403);},'ltLYB':function(_0x2c55dc,_0x476c44){return _0x2c55dc+_0x476c44;},'eojkR':_0x1d2de1(0x135),'Kvgyn':function(_0x427534,_0xe9506d){return _0x427534||_0xe9506d;},'EUTpV':function(_0x2cf638,_0x2a6a92,_0x5e586b){return _0x2cf638(_0x2a6a92,_0x5e586b);},'nTZkd':_0x1d2de1(0x154)},_0x2f9ef8=this;return _0x1624f6[_0x1d2de1(0x14e)](o11yErrorHandler,async function _0x338a89(_0x266cf0,_0x382368,_0x371ba4=null){const _0x24649c=_0x1d2de1;if(!_0x266cf0){logger[_0x24649c(0x188)](_0x1624f6[_0x24649c(0x14c)]),_0x2f9ef8[_0x24649c(0x16b)]=Object[_0x24649c(0x1c6)]({},_0x2f9ef8[_0x24649c(0x16b)],{'cloudProvider':_0x1624f6[_0x24649c(0x138)](isBrowserstackInfra)?_0x1624f6[_0x24649c(0x1c0)]:_0x1624f6['bkJGn'],'browser':_0x1624f6[_0x24649c(0x143)],'browser_version':_0x1624f6[_0x24649c(0x12a)]});return;}let _0x23f3f2=_0x266cf0[_0x24649c(0x171)],_0x54dfff=null;_0x266cf0&&_0x1624f6[_0x24649c(0x153)](typeof _0x266cf0['version'],_0x1624f6[_0x24649c(0x180)])?_0x54dfff=_0x266cf0['version']():logger['debug'](_0x1624f6[_0x24649c(0x1d4)]);let _0x238367=null;_0x266cf0&&_0x1624f6['UlsvT'](typeof _0x266cf0[_0x24649c(0x1cc)],_0x1624f6['nAcNC'])?_0x238367=_0x266cf0[_0x24649c(0x1cc)]():logger['debug'](_0x1624f6[_0x24649c(0x162)]);let _0x4f01fa=null,_0x604ee9=null,_0x4e1bf6=null,_0x15b7c3=_0x1624f6['bkJGn'];const _0x24c3f9=_0x266cf0['_connection']&&_0x1624f6['WHLtz'](typeof _0x266cf0[_0x24649c(0x199)][_0x24649c(0x1db)],_0x1624f6[_0x24649c(0x180)])?_0x266cf0[_0x24649c(0x199)][_0x24649c(0x1db)]():![];if(_0x24c3f9||global['accessibilityPlatform']&&!process[_0x24649c(0x1c4)][_0x24649c(0x174)]){let _0x3b1224=null;_0x1624f6[_0x24649c(0x1b0)](nestedKeyValue,_0x266cf0,[_0x1624f6['hlLby'],_0x1624f6[_0x24649c(0x110)]])?_0x3b1224=_0x266cf0['_browserType'][_0x24649c(0x157)]:_0x3b1224=_0x1624f6['uRgiG'](nestedKeyValue,_0x382368,[_0x1624f6[_0x24649c(0x13a)],_0x1624f6[_0x24649c(0x170)],_0x1624f6[_0x24649c(0x1aa)]]);const _0x1cb294=_0x371ba4||_0x3b1224&&_0x3b1224[_0x24649c(0x1a9)];if(_0x1cb294){_0x15b7c3=_0x1624f6['NjFzT'](getCloudProviderFromWsEndpoint,_0x1cb294);if(_0x1624f6[_0x24649c(0x167)](_0x15b7c3,_0x1624f6[_0x24649c(0x1c0)]))_0x4e1bf6=constants[_0x24649c(0x124)][_0x24649c(0x16a)](_0x1cb294)?_0x1624f6[_0x24649c(0x1ad)]:_0x1624f6[_0x24649c(0x163)],_0x23f3f2=_0x1624f6[_0x24649c(0x1b8)](getBrowserFromWSEndpoint,_0x1cb294)||_0x23f3f2,_0x4f01fa=_0x2f9ef8[_0x24649c(0x16b)][_0x24649c(0x13b)],_0x604ee9=_0x2f9ef8['currentSessionDetails'][_0x24649c(0x120)];else{const _0x3e754e=await _0x1624f6[_0x24649c(0x134)](getPlatformDetails);_0x4f01fa=_0x3e754e[_0x24649c(0x1a2)],_0x604ee9=_0x3e754e[_0x24649c(0x1c9)];}}if(_0x1624f6[_0x24649c(0x194)](!_0x4f01fa,!_0x604ee9)&&!_0x1624f6['KAaXF'](isBrowserstackInfra)){const _0x511cfc=await _0x1624f6[_0x24649c(0x134)](getPlatformDetails);_0x4f01fa=_0x511cfc[_0x24649c(0x1a2)],_0x604ee9=_0x511cfc[_0x24649c(0x1c9)];}}else{_0x382368&&_0x382368[_0x24649c(0x11f)][_0x24649c(0x160)][_0x24649c(0x15f)]?_0x23f3f2=_0x1624f6[_0x24649c(0x129)](getBrowserNameFromChannel,_0x382368['project'][_0x24649c(0x160)][_0x24649c(0x15f)]):_0x23f3f2=_0x1624f6[_0x24649c(0x136)](_0x1624f6[_0x24649c(0x141)],_0x1624f6[_0x24649c(0x1a4)](_0x23f3f2,_0x1624f6[_0x24649c(0x12a)])[_0x24649c(0x18b)]());const _0x9186a3=await _0x1624f6[_0x24649c(0x138)](getPlatformDetails);_0x4f01fa=_0x9186a3[_0x24649c(0x1a2)],_0x604ee9=_0x9186a3[_0x24649c(0x1c9)];}const _0x2031cb={};_0x2031cb['browser']=_0x23f3f2,_0x2031cb[_0x24649c(0x192)]=_0x54dfff,_0x2031cb[_0x24649c(0x121)]={},_0x2031cb[_0x24649c(0x13b)]=_0x4f01fa,_0x2031cb[_0x24649c(0x120)]=_0x604ee9,_0x2031cb['product']=_0x4e1bf6;const _0x19b683=_0x2031cb;_0x238367&&(_0x19b683['capabilities'][_0x24649c(0x1dc)]=_0x238367);const _0x147eb9={};_0x147eb9[_0x24649c(0x151)]=_0x15b7c3,_0x2f9ef8[_0x24649c(0x16b)]=Object['assign']({},_0x2f9ef8[_0x24649c(0x16b)],_0x147eb9,_0x19b683);},_0x1624f6[_0x1d2de1(0x19b)])(_0x356dce,_0x2c3ba7,_0x148deb);}static[a60_0x1bd5e8(0x1b9)](){const _0x5dd977=a60_0x1bd5e8;this[_0x5dd977(0x187)](),this[_0x5dd977(0x10b)]();}static[a60_0x1bd5e8(0x187)](){const _0x3f8fa8=a60_0x1bd5e8,_0x23a86a={'KHqgn':function(_0x47f7fa,_0x755895,_0x41b641){return _0x47f7fa(_0x755895,_0x41b641);},'qXLsI':_0x3f8fa8(0x115),'FhptY':_0x3f8fa8(0x18e),'ByJda':_0x3f8fa8(0x161),'Htaja':function(_0x373706,_0x57e618,_0x171881){return _0x373706(_0x57e618,_0x171881);},'wkNqW':_0x3f8fa8(0x14a),'lQMHJ':'pwPage','iGmGc':function(_0x5ed7bc,_0x32f8b5){return _0x5ed7bc===_0x32f8b5;},'elhSp':_0x3f8fa8(0x17e),'zIVAc':function(_0x27c110,_0xe0dcc5,_0x2905ce,_0x4f2c5e){return _0x27c110(_0xe0dcc5,_0x2905ce,_0x4f2c5e);},'hPNJO':function(_0x1ec737,_0x4570f8){return _0x1ec737||_0x4570f8;},'DtImH':function(_0x33b3a9,_0x12a514){return _0x33b3a9(_0x12a514);},'wYZfY':function(_0x54afb8,_0x58c73a){return _0x54afb8(_0x58c73a);},'gACOQ':_0x3f8fa8(0x19a),'IUFrM':function(_0x36a34f,_0x272fd6){return _0x36a34f(_0x272fd6);},'ygPFJ':function(_0x137dc4,_0x1b1daf){return _0x137dc4(_0x1b1daf);},'utPXl':function(_0x59311f,_0x367467){return _0x59311f(_0x367467);},'aOqPj':'Not\x20able\x20to\x20resolve\x20Connection\x20class','gBmhW':function(_0x32432f,_0x3e4079){return _0x32432f!=_0x3e4079;},'mEtzt':function(_0x23741a,_0x395e3c){return _0x23741a!=_0x395e3c;},'ElsKW':function(_0x2dff40){return _0x2dff40();},'vAucA':_0x3f8fa8(0x18a),'qAcWq':function(_0x13eb53,_0x38f470){return _0x13eb53(_0x38f470);},'FNNgH':_0x3f8fa8(0x176),'UqnSK':_0x3f8fa8(0x1c2),'AcvFb':function(_0x2cd59a,_0x32861f){return _0x2cd59a(_0x32861f);}},_0x5bafb4=this;!this[_0x3f8fa8(0x1a8)]&&(this[_0x3f8fa8(0x1a8)]=helper[_0x3f8fa8(0x10c)](),!this[_0x3f8fa8(0x1a8)]&&_0x23a86a['utPXl'](debug,_0x23a86a[_0x3f8fa8(0x1d1)]));const _0x5c86e2=this[_0x3f8fa8(0x1a8)];if(_0x23a86a[_0x3f8fa8(0x116)](_0x5c86e2,null)&&_0x5c86e2['prototype']['_bstackDispatchPatched'])return;try{if(_0x23a86a['mEtzt'](_0x5c86e2,null)){const _0x5158cb=_0x5c86e2[_0x3f8fa8(0x150)][_0x3f8fa8(0x176)],_0x27466c=_0x5c86e2[_0x3f8fa8(0x150)]['sendMessageToServer'];_0x23a86a['ElsKW'](isAccessibilityAutomationSession)&&Object[_0x3f8fa8(0x1ba)](_0x5c86e2[_0x3f8fa8(0x150)],_0x23a86a[_0x3f8fa8(0x191)],{'get':function(){return async function(){const _0x5654ff=a60_0x536a;try{if(!global[_0x5654ff(0x19c)]&&global[_0x5654ff(0x1a6)]&&_0x23a86a[_0x5654ff(0x1d0)](nestedKeyValue,global['__workerDetails'],[_0x23a86a['qXLsI'],_0x23a86a[_0x5654ff(0x15c)],_0x23a86a['ByJda']])&&_0x23a86a[_0x5654ff(0x1e6)](shouldScanTestForAccessibility,global[_0x5654ff(0x14a)]['currentTest']['testInfo'][_0x5654ff(0x161)],!![])&&scripts[_0x5654ff(0x132)](arguments[0x1])){logger[_0x5654ff(0x188)](_0x5654ff(0x10e)+arguments[0x1]),global[_0x5654ff(0x19c)]=!![];const _0xec762=_0x23a86a[_0x5654ff(0x1d0)](nestedKeyValue,global,[_0x23a86a['wkNqW'],_0x23a86a[_0x5654ff(0x10f)]]);_0xec762&&logger[_0x5654ff(0x183)]('Page\x20Scan\x20result='+util['format'](await _0x23a86a[_0x5654ff(0x1d0)](performScanWithRetry,_0xec762,arguments[0x1]))),_0x23a86a['iGmGc'](arguments[0x0]['_type'],_0x23a86a[_0x5654ff(0x19e)])&&global[_0x5654ff(0x193)]&&logger[_0x5654ff(0x183)](_0x5654ff(0x1b1)+util[_0x5654ff(0x12d)](await _0x23a86a['zIVAc'](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0x5654ff(0x114)])));}}catch(_0xca2556){logger[_0x5654ff(0x188)](_0x5654ff(0x119)+util[_0x5654ff(0x12d)](_0xca2556));}return global['bstackPerformA11yScan']=![],_0x27466c['apply'](this,arguments);};}}),!_0x23a86a[_0x3f8fa8(0x10d)](isFalse,process['env'][_0x3f8fa8(0x13f)])&&Object[_0x3f8fa8(0x1ba)](_0x5c86e2['prototype'],_0x23a86a[_0x3f8fa8(0x189)],{'get':function(){return function _0x123cd8(_0x5bf3d7){const _0x2bc764=a60_0x536a,_0x1e6c29=_0x5158cb['apply'](this,arguments);try{if(BrowserstackCLI[_0x2bc764(0x11b)]()[_0x2bc764(0x1ae)]()){const _0x2af2d4={};_0x2af2d4[_0x2bc764(0x1c8)]=_0x5bf3d7,Promise[_0x2bc764(0x197)](BrowserstackCLI[_0x2bc764(0x11b)]()[_0x2bc764(0x1b6)]()[_0x2bc764(0x14f)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x2bc764(0x19d)],_0x2af2d4))[_0x2bc764(0x16d)](()=>{});}else{const _0x63c10c=_0x5bf3d7&&_0x5bf3d7[_0x2bc764(0x17c)]&&_0x5bf3d7[_0x2bc764(0x17c)][_0x2bc764(0x1c3)];if(_0x63c10c){const _0x7c0262=_0x63c10c['sessionId'],_0x38eee3=_0x63c10c[_0x2bc764(0x1e2)];_0x23a86a[_0x2bc764(0x178)](!_0x7c0262,!_0x38eee3)&&Promise[_0x2bc764(0x197)](ClientTroubleShootingService[_0x2bc764(0x1d9)]())['catch'](()=>{}),_0x38eee3&&(_0x23a86a[_0x2bc764(0x137)](debug,_0x2bc764(0x179)+_0x38eee3[_0x2bc764(0x164)]()),_0x5bafb4['currentSessionDetails'][_0x2bc764(0x13b)]=_0x38eee3[_0x2bc764(0x1a2)],_0x5bafb4[_0x2bc764(0x16b)][_0x2bc764(0x120)]=_0x38eee3['platformVersion']),_0x7c0262&&(_0x23a86a[_0x2bc764(0x15d)](debug,_0x2bc764(0x131)+_0x7c0262),_0x5bafb4[_0x2bc764(0x16b)][_0x2bc764(0x172)]=_0x7c0262);}else{if(!_0x5bafb4[_0x2bc764(0x16b)][_0x2bc764(0x172)]&&_0x5bf3d7&&_0x5bf3d7[_0x2bc764(0x11e)]&&_0x5bf3d7['result']['value']&&_0x23a86a[_0x2bc764(0x117)](typeof _0x5bf3d7[_0x2bc764(0x11e)][_0x2bc764(0x1da)]['s'],_0x23a86a['gACOQ']))try{const _0x1e683d=JSON[_0x2bc764(0x1b3)](_0x5bf3d7['result'][_0x2bc764(0x1da)]['s']),_0x3928f6=_0x1e683d&&(_0x1e683d['hashed_id']||_0x1e683d[_0x2bc764(0x126)]&&_0x1e683d['automation_session'][_0x2bc764(0x1bf)]);_0x3928f6&&(_0x5bafb4[_0x2bc764(0x16b)][_0x2bc764(0x172)]=_0x3928f6);}catch(_0x4bd348){_0x23a86a[_0x2bc764(0x109)](debug,_0x2bc764(0x128)+(_0x4bd348&&_0x4bd348[_0x2bc764(0x164)]?_0x4bd348[_0x2bc764(0x164)]():_0x4bd348));}}}}catch(_0x1be864){_0x23a86a[_0x2bc764(0x15a)](debug,_0x2bc764(0x184)+(_0x1be864&&_0x1be864[_0x2bc764(0x164)]?_0x1be864['toString']():_0x1be864));}return _0x1e6c29;};}}),_0x5c86e2[_0x3f8fa8(0x150)]['_bstackDispatchPatched']=!![],logger[_0x3f8fa8(0x188)](_0x23a86a['UqnSK']);}}catch(_0x40e4be){_0x23a86a[_0x3f8fa8(0x1b7)](debug,_0x3f8fa8(0x1cf)+_0x40e4be),_0x5bafb4[_0x3f8fa8(0x140)]=_0x40e4be[_0x3f8fa8(0x164)]();}}static[a60_0x1bd5e8(0x10b)](){const _0x55696b=a60_0x1bd5e8,_0x566752={'gLaZd':function(_0x30a2bc,_0x25d555){return _0x30a2bc(_0x25d555);},'hLkYo':function(_0xa9088c){return _0xa9088c();},'nqKTG':function(_0x4c06bc,_0x49c9bb){return _0x4c06bc>=_0x49c9bb;},'QGjmS':_0x55696b(0x195),'CcHyO':function(_0x19a9d6,_0x4a1031){return _0x19a9d6(_0x4a1031);},'htoyz':_0x55696b(0x13d),'SswYD':_0x55696b(0x1ce),'xhOyO':_0x55696b(0x1e5),'xGPZB':_0x55696b(0x14b),'BhXER':_0x55696b(0x182),'DBCQr':function(_0x4cf618,_0x455b1d){return _0x4cf618(_0x455b1d);},'kxuko':'Not\x20able\x20to\x20import\x20crConnection','jpuqb':function(_0x1077cf,_0x5a7c3f){return _0x1077cf(_0x5a7c3f);},'jbbdW':'Error\x20in\x20importing\x20crConnection','oORnR':function(_0x6d2f02,_0x310af1){return _0x6d2f02!=_0x310af1;},'JNdwI':'_onMessage','rlxmJ':function(_0x2e4fda,_0x375f63){return _0x2e4fda(_0x375f63);}},_0x182f35=this;if(_0x566752[_0x55696b(0x1d2)](isAccessibilityAutomationSession)){let _0x5ac963=null,_0xcb43fe=![];try{const _0x1abaa6=helper[_0x55696b(0x1e1)](FRAMEWORKS['PLAYWRIGHT']);_0xcb43fe=_0x566752['nqKTG'](helper[_0x55696b(0x1df)](_0x1abaa6,_0x566752['QGjmS']),0x0);}catch(_0xf888a1){_0x566752['CcHyO'](debug,'Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20'+_0xf888a1[_0x55696b(0x164)]());}if(_0xcb43fe)_0x566752[_0x55696b(0x1a5)](debug,_0x566752[_0x55696b(0x1ab)]);else try{const _0x84dec4=path['join'](_0x566752[_0x55696b(0x147)],_0x566752[_0x55696b(0x123)],_0x566752[_0x55696b(0x17a)],_0x566752[_0x55696b(0x1d6)]),_0x6c1254=_0x566752['CcHyO'](importFileFromPWCore,_0x84dec4);!_0x6c1254?_0x566752[_0x55696b(0x168)](debug,_0x566752[_0x55696b(0x1ca)]):_0x5ac963=_0x6c1254[_0x55696b(0x13e)];}catch(_0x3c774a){_0x566752['jpuqb'](debug,_0x566752[_0x55696b(0x1d7)]);}try{if(_0x566752[_0x55696b(0x1b5)](_0x5ac963,null)){const _0x2dd701=_0x5ac963[_0x55696b(0x150)][_0x55696b(0x152)];Object['defineProperty'](_0x5ac963[_0x55696b(0x150)],_0x566752['JNdwI'],{'get':function(){return async function _0x2ee2d6(_0xc48fe2){const _0x390a8b=a60_0x536a;try{if(BrowserstackCLI[_0x390a8b(0x11b)]()[_0x390a8b(0x1ae)]()){const _0x1f73be={};_0x1f73be[_0x390a8b(0x1c8)]=_0xc48fe2,await BrowserstackCLI[_0x390a8b(0x11b)]()['getAutomationFramework']()[_0x390a8b(0x14f)](AutomationFrameworkState[_0x390a8b(0x1cb)],HookState[_0x390a8b(0x19d)],_0x1f73be),delete _0xc48fe2['bStackParams'];}else{const _0xf5cd9c=_0xc48fe2[_0x390a8b(0x196)];if(_0xf5cd9c){delete _0xc48fe2[_0x390a8b(0x196)];const _0x20bcc0=_0xf5cd9c[_0x390a8b(0x13c)],_0x44f27e=_0xf5cd9c[_0x390a8b(0x1e2)];_0x44f27e&&(_0x566752['gLaZd'](debug,_0x390a8b(0x1bd)+_0x44f27e[_0x390a8b(0x164)]()),_0x182f35[_0x390a8b(0x16b)]['platform']=_0x44f27e[_0x390a8b(0x1a2)],_0x182f35[_0x390a8b(0x16b)][_0x390a8b(0x120)]=_0x44f27e[_0x390a8b(0x1c9)]),_0x20bcc0&&(_0x566752['gLaZd'](debug,_0x390a8b(0x190)+_0x20bcc0),_0x182f35[_0x390a8b(0x16b)][_0x390a8b(0x172)]=_0x20bcc0);}}}catch(_0x52f2da){_0x566752[_0x390a8b(0x1a5)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x52f2da[_0x390a8b(0x164)]());}return _0x2dd701[_0x390a8b(0x18d)](this,arguments);};}});}}catch(_0x3015de){_0x566752[_0x55696b(0x186)](debug,_0x55696b(0x14d)+_0x3015de),_0x182f35['sessionError']=_0x3015de['toString']();}}}static[a60_0x1bd5e8(0x12b)](){const _0x5e3aed=a60_0x1bd5e8;return this[_0x5e3aed(0x16b)];}}module[a60_0x1bd5e8(0x1a7)]=PlaywrightSessionDetails;
@@ -1 +1 @@
1
- const a61_0x3138a9=a61_0x37d6;(function(_0x34754b,_0x34522a){const _0x15d5d5=a61_0x37d6,_0x5c5a20=_0x34754b();while(!![]){try{const _0x3abfb1=-parseInt(_0x15d5d5(0x1f1))/0x1+parseInt(_0x15d5d5(0x203))/0x2+-parseInt(_0x15d5d5(0x204))/0x3+-parseInt(_0x15d5d5(0x1dd))/0x4*(-parseInt(_0x15d5d5(0x1ff))/0x5)+parseInt(_0x15d5d5(0x1de))/0x6+-parseInt(_0x15d5d5(0x206))/0x7*(parseInt(_0x15d5d5(0x1db))/0x8)+parseInt(_0x15d5d5(0x202))/0x9*(parseInt(_0x15d5d5(0x1ea))/0xa);if(_0x3abfb1===_0x34522a)break;else _0x5c5a20['push'](_0x5c5a20['shift']());}catch(_0x470571){_0x5c5a20['push'](_0x5c5a20['shift']());}}}(a61_0x144f,0xd4de5));function a61_0x37d6(_0x55ff86,_0xe86ed9){const _0x144f05=a61_0x144f();return a61_0x37d6=function(_0x37d6a8,_0xa8409b){_0x37d6a8=_0x37d6a8-0x1d7;let _0x1f76ba=_0x144f05[_0x37d6a8];return _0x1f76ba;},a61_0x37d6(_0x55ff86,_0xe86ed9);}const util=require(a61_0x3138a9(0x1f0)),logger=require(a61_0x3138a9(0x1dc)),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{o11yErrorHandler}=require(a61_0x3138a9(0x1e6)),PerformanceTester=require(a61_0x3138a9(0x1e5)),{O11y_EVENTS:PerformanceO11yEvents}=require('../../helpers/performance/constants'),BrowserstackCLI=require(a61_0x3138a9(0x207)),CustomTagManager=require(a61_0x3138a9(0x1d7)),uploadAttachmentsManager=require(a61_0x3138a9(0x1e7)),doo11ySync=PerformanceTester[a61_0x3138a9(0x1f5)](PerformanceO11yEvents[a61_0x3138a9(0x1ec)],o11yErrorHandler(async function doo11ySync(_0x15d79b){const _0x462366=a61_0x3138a9,_0x13e1c2={'KnlNj':function(_0x466370,_0x3d82aa,_0x351779){return _0x466370(_0x3d82aa,_0x351779);},'vsaFk':_0x462366(0x1d8),'mZpSN':_0x462366(0x1e2),'EcAOI':_0x462366(0x1fd),'jYnka':_0x462366(0x1fa)};if(_0x13e1c2[_0x462366(0x1fb)](nestedKeyValue,global,[_0x13e1c2[_0x462366(0x1ee)],_0x13e1c2[_0x462366(0x201)]]))return;await _0x15d79b[_0x462366(0x1da)](_0x39a5e6=>{},_0x462366(0x1e9)+JSON[_0x462366(0x1fe)]({'action':_0x13e1c2[_0x462366(0x200)],'arguments':{'data':_0x462366(0x1f3)+Date['now'](),'level':_0x13e1c2[_0x462366(0x1e4)]}})),global[_0x462366(0x1d8)][_0x462366(0x1e2)]=!![];},a61_0x3138a9(0x1df)));exports[a61_0x3138a9(0x1fc)]=_0x26725c=>{const _0x4144c2=a61_0x3138a9,_0x321a72={'IDglK':function(_0x15bd0c,_0x41dd52){return _0x15bd0c(_0x41dd52);},'ASosN':function(_0x1e0d7a,_0x1cddd2){return _0x1e0d7a(_0x1cddd2);},'eBVDO':function(_0x16af5d,_0x2ee20a,_0x22565c){return _0x16af5d(_0x2ee20a,_0x22565c);},'wyfbz':_0x4144c2(0x1d8)};if(!_0x26725c||_0x26725c['_bstackNewPagePatched'])return;const _0x3bf597=_0x26725c['newPage']['bind'](_0x26725c);_0x26725c[_0x4144c2(0x1f2)]=async function _0x1c4581(){const _0x519d8a=_0x4144c2,_0x15ed77=await _0x3bf597['apply'](_0x26725c,arguments);try{!BrowserstackCLI[_0x519d8a(0x1f4)]()[_0x519d8a(0x1f8)]()&&!_0x321a72[_0x519d8a(0x1ed)](isFalse,process[_0x519d8a(0x1e3)][_0x519d8a(0x1e1)])&&await _0x321a72[_0x519d8a(0x1d9)](doo11ySync,_0x15ed77),BrowserstackCLI[_0x519d8a(0x1f4)]()[_0x519d8a(0x1f8)]()&&(_0x15ed77[_0x519d8a(0x1eb)]=async(_0x274c67,_0x28d63b,_0x119f57=![])=>{await CustomTagManager['setCustomTags'](_0x274c67,_0x28d63b,_0x119f57);},_0x15ed77[_0x519d8a(0x1f9)]=async(_0x1cf6d5,_0x10b55d=![])=>{const _0x4fe302=_0x519d8a;await uploadAttachmentsManager[_0x4fe302(0x1ef)](_0x1cf6d5,_0x10b55d);});}catch(_0x57d0ee){logger['debug'](_0x519d8a(0x1f6)+util[_0x519d8a(0x1e0)](_0x57d0ee));}return _0x321a72[_0x519d8a(0x1f7)](nestedKeyValue,global,[_0x321a72['wyfbz']])&&(global[_0x519d8a(0x1d8)][_0x519d8a(0x1e8)]=_0x15ed77),_0x15ed77;},_0x26725c[_0x4144c2(0x205)]=!![];};function a61_0x144f(){const _0x162ac7=['9vWGaKv','124728XMfklV','288363tQuZqr','_bstackNewPagePatched','7kqsedG','../v2/browserstackCLI','../v2/customTagManager','__workerDetails','ASosN','evaluate','6833872qNxfzy','../../helpers/logger','1312068caAnhO','522612kNgLJH','doo11ySync','format','BROWSERSTACK_TEST_OBSERVABILITY','o11ySyncDone','env','jYnka','../../helpers/performance/performance-tester','../../helpers/test-observability/error-handler','../v2/uploadAttachmentsManager','pwPage','browserstack_executor:\x20','28804690zkevIZ','setCustomTags','SYNC','IDglK','vsaFk','uploadAttachments','util','1535688owULOi','newPage','ObservabilitySync:','getInstance','measureWrapper','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','eBVDO','isRunning','uploadAttachment','debug','KnlNj','patchBrowserNewPage','annotate','stringify','5VaegdO','EcAOI','mZpSN'];a61_0x144f=function(){return _0x162ac7;};return a61_0x144f();}
1
+ function a61_0x3489(_0x4b15ce,_0x191af7){const _0x3a58cf=a61_0x3a58();return a61_0x3489=function(_0x34891f,_0x230296){_0x34891f=_0x34891f-0x1c5;let _0x4aa9f5=_0x3a58cf[_0x34891f];return _0x4aa9f5;},a61_0x3489(_0x4b15ce,_0x191af7);}function a61_0x3a58(){const _0x566075=['snajZ','4335597Xabges','9219133FIULKc','tQleh','browserstack_executor:\x20','../v2/uploadAttachmentsManager','1177584CLcwmx','8aqGcYy','bind','stringify','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','apply','15895460GYNrpd','measureWrapper','../v2/customTagManager','ZDFeu','o11ySyncDone','util','15fCGBNa','_bstackNewPagePatched','isRunning','newPage','evaluate','format','../../helpers/test-observability/error-handler','patchBrowserNewPage','rokXQ','ObservabilitySync:','debug','WcxWJ','../../helpers/performance/constants','4hBkFWd','12269619VnxtNG','../../helpers/logger','__workerDetails','pwPage','getInstance','now','841926iWoacl','setCustomTags','780741qrKuCJ','BROWSERSTACK_TEST_OBSERVABILITY','yETzR'];a61_0x3a58=function(){return _0x566075;};return a61_0x3a58();}const a61_0x769848=a61_0x3489;(function(_0x539722,_0x23bc68){const _0x55d079=a61_0x3489,_0x4f1376=_0x539722();while(!![]){try{const _0x26a5b9=parseInt(_0x55d079(0x1d9))/0x1+-parseInt(_0x55d079(0x1e2))/0x2+parseInt(_0x55d079(0x1dd))/0x3*(parseInt(_0x55d079(0x1d0))/0x4)+-parseInt(_0x55d079(0x1ee))/0x5*(-parseInt(_0x55d079(0x1d7))/0x6)+-parseInt(_0x55d079(0x1de))/0x7+-parseInt(_0x55d079(0x1e3))/0x8*(parseInt(_0x55d079(0x1d1))/0x9)+parseInt(_0x55d079(0x1e8))/0xa;if(_0x26a5b9===_0x23bc68)break;else _0x4f1376['push'](_0x4f1376['shift']());}catch(_0x264c17){_0x4f1376['push'](_0x4f1376['shift']());}}}(a61_0x3a58,0xec2b3));const util=require(a61_0x769848(0x1ed)),logger=require(a61_0x769848(0x1d2)),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{o11yErrorHandler}=require(a61_0x769848(0x1c9)),PerformanceTester=require('../../helpers/performance/performance-tester'),{O11y_EVENTS:PerformanceO11yEvents}=require(a61_0x769848(0x1cf)),BrowserstackCLI=require('../v2/browserstackCLI'),CustomTagManager=require(a61_0x769848(0x1ea)),uploadAttachmentsManager=require(a61_0x769848(0x1e1)),doo11ySync=PerformanceTester[a61_0x769848(0x1e9)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x35f27d){const _0x742882=a61_0x769848,_0x3180fc={'yETzR':function(_0x1980b2,_0x12544b,_0x435042){return _0x1980b2(_0x12544b,_0x435042);},'CVpqK':_0x742882(0x1d3),'cwLNl':_0x742882(0x1ec),'WcxWJ':'annotate','ZDFeu':_0x742882(0x1cd)};if(_0x3180fc[_0x742882(0x1db)](nestedKeyValue,global,[_0x3180fc['CVpqK'],_0x3180fc['cwLNl']]))return;await _0x35f27d[_0x742882(0x1c7)](_0x3ef361=>{},_0x742882(0x1e0)+JSON[_0x742882(0x1e5)]({'action':_0x3180fc[_0x742882(0x1ce)],'arguments':{'data':_0x742882(0x1cc)+Date[_0x742882(0x1d6)](),'level':_0x3180fc[_0x742882(0x1eb)]}})),global[_0x742882(0x1d3)][_0x742882(0x1ec)]=!![];},'doo11ySync'));exports[a61_0x769848(0x1ca)]=_0x24ab72=>{const _0x56494f=a61_0x769848,_0x2b9f27={'tQleh':function(_0x306c24,_0x2c91dd){return _0x306c24(_0x2c91dd);},'rokXQ':function(_0x282624,_0x4ac012){return _0x282624(_0x4ac012);},'AMzFD':function(_0x4f8846,_0x4fd9d5,_0x3bf0e4){return _0x4f8846(_0x4fd9d5,_0x3bf0e4);},'snajZ':_0x56494f(0x1d3)};if(!_0x24ab72||_0x24ab72[_0x56494f(0x1ef)])return;const _0x442144=_0x24ab72['newPage'][_0x56494f(0x1e4)](_0x24ab72);_0x24ab72[_0x56494f(0x1c6)]=async function _0x5328cc(){const _0x293683=_0x56494f,_0x55ca3d=await _0x442144[_0x293683(0x1e7)](_0x24ab72,arguments);try{!BrowserstackCLI[_0x293683(0x1d5)]()[_0x293683(0x1c5)]()&&!_0x2b9f27[_0x293683(0x1df)](isFalse,process['env'][_0x293683(0x1da)])&&await _0x2b9f27[_0x293683(0x1cb)](doo11ySync,_0x55ca3d),BrowserstackCLI[_0x293683(0x1d5)]()[_0x293683(0x1c5)]()&&(_0x55ca3d[_0x293683(0x1d8)]=async(_0x4420c1,_0x15ba61,_0x1b769d=![])=>{const _0x36add2=_0x293683;await CustomTagManager[_0x36add2(0x1d8)](_0x4420c1,_0x15ba61,_0x1b769d);},_0x55ca3d['uploadAttachment']=async(_0xf675ef,_0x4dc4f0=![])=>{await uploadAttachmentsManager['uploadAttachments'](_0xf675ef,_0x4dc4f0);});}catch(_0x398a16){logger[_0x293683(0x1cd)](_0x293683(0x1e6)+util[_0x293683(0x1c8)](_0x398a16));}return _0x2b9f27['AMzFD'](nestedKeyValue,global,[_0x2b9f27[_0x293683(0x1dc)]])&&(global[_0x293683(0x1d3)][_0x293683(0x1d4)]=_0x55ca3d),_0x55ca3d;},_0x24ab72[_0x56494f(0x1ef)]=!![];};
@@ -1 +1 @@
1
- const a62_0x10c80f=a62_0x2eaf;(function(_0x8f3b01,_0x16741c){const _0x2f89e8=a62_0x2eaf,_0x4d5246=_0x8f3b01();while(!![]){try{const _0x1d803e=parseInt(_0x2f89e8(0xfb))/0x1*(parseInt(_0x2f89e8(0xc2))/0x2)+parseInt(_0x2f89e8(0x104))/0x3*(parseInt(_0x2f89e8(0x101))/0x4)+parseInt(_0x2f89e8(0x106))/0x5*(parseInt(_0x2f89e8(0xb5))/0x6)+-parseInt(_0x2f89e8(0x103))/0x7*(-parseInt(_0x2f89e8(0xcc))/0x8)+-parseInt(_0x2f89e8(0xf3))/0x9*(-parseInt(_0x2f89e8(0xe5))/0xa)+parseInt(_0x2f89e8(0xf6))/0xb*(-parseInt(_0x2f89e8(0xf4))/0xc)+parseInt(_0x2f89e8(0xf0))/0xd*(-parseInt(_0x2f89e8(0xd5))/0xe);if(_0x1d803e===_0x16741c)break;else _0x4d5246['push'](_0x4d5246['shift']());}catch(_0x5e9359){_0x4d5246['push'](_0x4d5246['shift']());}}}(a62_0x2219,0x53522));const path=require('path'),url=require(a62_0x10c80f(0xb7)),util=require(a62_0x10c80f(0xed)),{nestedKeyValue,isFalse}=require(a62_0x10c80f(0xcd)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),logger=require(a62_0x10c80f(0xdf))[a62_0x10c80f(0x109)],constants=require('../utils/constants'),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a62_0x10c80f(0xf2)),getBrowserFromWSEndpoint=_0x317f9f=>{const _0x1e130f=a62_0x10c80f,_0x33fa21={'ntDen':'chrome','MxAPi':function(_0xe83b4,_0x259f37){return _0xe83b4(_0x259f37);}};try{const _0x4fbee7=url[_0x1e130f(0xca)](_0x317f9f),_0x4b11f4=new URLSearchParams(_0x4fbee7[_0x1e130f(0xcb)]),_0x42aee0=Object[_0x1e130f(0x10a)](_0x4b11f4[_0x1e130f(0xe3)]()),_0x173708=JSON[_0x1e130f(0xca)](_0x42aee0[_0x1e130f(0xc8)]);if(_0x173708&&(_0x173708['browser']||_0x173708[_0x1e130f(0xe4)]))return _0x173708[_0x1e130f(0xc3)]||_0x173708[_0x1e130f(0xe4)];return _0x33fa21[_0x1e130f(0xf9)];}catch(_0x50c689){_0x33fa21[_0x1e130f(0x10b)](debug,_0x1e130f(0xbf)+_0x50c689['toString']());}},getCloudProviderFromWsEndpoint=_0x110010=>{const _0x2abb7e=a62_0x10c80f,_0x67524b={};_0x67524b[_0x2abb7e(0xea)]=_0x2abb7e(0xe7),_0x67524b[_0x2abb7e(0xb8)]=_0x2abb7e(0xbc);const _0x442d35=_0x67524b;if(_0x110010[_0x2abb7e(0xb4)](constants[_0x2abb7e(0x118)])||_0x110010[_0x2abb7e(0xb4)](constants[_0x2abb7e(0x115)]))return _0x442d35[_0x2abb7e(0xea)];return _0x442d35['YLOwd'];},a62_0x4b0f73={};function a62_0x2eaf(_0x36a933,_0x366abb){const _0x2219a3=a62_0x2219();return a62_0x2eaf=function(_0x2eafb4,_0x4545fb){_0x2eafb4=_0x2eafb4-0xb4;let _0x4ff258=_0x2219a3[_0x2eafb4];return _0x4ff258;},a62_0x2eaf(_0x36a933,_0x366abb);}a62_0x4b0f73['cloudProvider']=undefined,a62_0x4b0f73[a62_0x10c80f(0xb6)]=undefined,a62_0x4b0f73[a62_0x10c80f(0xc3)]=undefined,a62_0x4b0f73[a62_0x10c80f(0xc5)]=undefined,a62_0x4b0f73[a62_0x10c80f(0xc6)]=undefined,a62_0x4b0f73[a62_0x10c80f(0x10e)]=undefined,a62_0x4b0f73[a62_0x10c80f(0x117)]=undefined,a62_0x4b0f73[a62_0x10c80f(0xef)]={};class PuppeteerSessionDetails{static ['currentSessionDetails']=a62_0x4b0f73;constructor(){const _0x2f571b=a62_0x10c80f,_0x48eb45={};_0x48eb45['kNDLE']=_0x2f571b(0xc9);const _0x291eb6=_0x48eb45;throw new Error(_0x291eb6[_0x2f571b(0x100)]);}static [a62_0x10c80f(0xfe)]=null;static async[a62_0x10c80f(0xfa)](_0x30ed29,_0x4d1bde){const _0xec90ff=a62_0x10c80f,_0x5a1ce5={'hTqek':_0xec90ff(0x111),'wqpMy':function(_0x11ce1b,_0x316fd4){return _0x11ce1b===_0x316fd4;},'wKCqb':'function','jbtUm':_0xec90ff(0xbb),'mEpiV':function(_0x9a2a09,_0x3fcca2){return _0x9a2a09(_0x3fcca2);},'xnyLr':function(_0x41c4f4,_0x30663b){return _0x41c4f4===_0x30663b;},'DuPQy':_0xec90ff(0xe7),'gTzRg':_0xec90ff(0xdc),'JwcMG':'automate','ObFQj':function(_0x496ab0,_0x5ee59a){return _0x496ab0(_0x5ee59a);},'XDexn':function(_0x253e14){return _0x253e14();},'PMKeH':function(_0x25831a){return _0x25831a();},'riozC':function(_0x18e7a1,_0x4089ba){return _0x18e7a1(_0x4089ba);}};try{let _0x2c6a65=_0x5a1ce5[_0xec90ff(0xeb)],_0x4f64f6=null;_0x30ed29&&_0x5a1ce5[_0xec90ff(0xe0)](typeof _0x30ed29[_0xec90ff(0x112)],_0x5a1ce5[_0xec90ff(0xd3)])&&(_0x4f64f6=await _0x30ed29[_0xec90ff(0x112)]());let _0x10fd15=null,_0x3e6a6d=null,_0x989a5b=null,_0x35ecd2=_0x5a1ce5[_0xec90ff(0xf5)];if(_0x4d1bde){_0x35ecd2=_0x5a1ce5['mEpiV'](getCloudProviderFromWsEndpoint,_0x4d1bde);if(_0x5a1ce5[_0xec90ff(0xf1)](_0x35ecd2,_0x5a1ce5[_0xec90ff(0x116)]))_0x989a5b=constants[_0xec90ff(0xcf)]?constants[_0xec90ff(0xcf)][_0xec90ff(0xee)](_0x4d1bde)?_0x5a1ce5['gTzRg']:_0x5a1ce5[_0xec90ff(0xfd)]:_0x5a1ce5[_0xec90ff(0xfd)],_0x2c6a65=_0x5a1ce5['ObFQj'](getBrowserFromWSEndpoint,_0x4d1bde)||_0x2c6a65,_0x10fd15=this['currentSessionDetails'][_0xec90ff(0xc6)],_0x3e6a6d=this[_0xec90ff(0xd2)][_0xec90ff(0x10e)];else{const _0x5561d1=await _0x5a1ce5[_0xec90ff(0xd8)](getPlatformDetails);_0x10fd15=_0x5561d1[_0xec90ff(0xe2)],_0x3e6a6d=_0x5561d1[_0xec90ff(0xd6)];}}else{const _0x3e2cb9=await _0x5a1ce5[_0xec90ff(0xc1)](getPlatformDetails);_0x10fd15=_0x3e2cb9['platformName'],_0x3e6a6d=_0x3e2cb9[_0xec90ff(0xd6)];}const _0x11947b={};_0x11947b['browser']=_0x2c6a65,_0x11947b[_0xec90ff(0xc5)]=_0x4f64f6,_0x11947b[_0xec90ff(0xef)]={},_0x11947b[_0xec90ff(0xc6)]=_0x10fd15,_0x11947b[_0xec90ff(0x10e)]=_0x3e6a6d,_0x11947b['product']=_0x989a5b;const _0x308598=_0x11947b,_0x207882={};_0x207882[_0xec90ff(0x113)]=_0x35ecd2,this[_0xec90ff(0xd2)]=Object[_0xec90ff(0x10c)]({},this[_0xec90ff(0xd2)],_0x207882,_0x308598);}catch(_0x4be7e3){_0x5a1ce5[_0xec90ff(0xd4)](debug,'Error\x20in\x20setupBrowserDetails:\x20'+util[_0xec90ff(0xe8)](_0x4be7e3)),this['sessionError']=_0x4be7e3[_0xec90ff(0xbd)]();}}static[a62_0x10c80f(0xda)](_0x229e5a){const _0x22e9b8=a62_0x10c80f,_0x212d40={'yJuzW':function(_0x538065,_0x24bd88){return _0x538065===_0x24bd88;},'NSdjO':_0x22e9b8(0xde),'RfFiX':function(_0x505361,_0x20b93f){return _0x505361(_0x20b93f);},'CrMqP':function(_0x1b2040,_0x3baf5c){return _0x1b2040(_0x3baf5c);},'wREAP':function(_0x55a619,_0x34acb0){return _0x55a619===_0x34acb0;},'EaZyP':_0x22e9b8(0xbe),'Knlzc':function(_0x152433,_0x5803cf){return _0x152433(_0x5803cf);}},_0x5915bd=this;try{const _0x171f15=_0x229e5a['_connection']||_0x229e5a[_0x22e9b8(0xb9)];if(!_0x171f15||_0x171f15[_0x22e9b8(0xf8)])return;const _0x11cfed=_0x171f15[_0x22e9b8(0x114)];_0x171f15[_0x22e9b8(0x114)]=function(_0x58ce0d){const _0x3a01f7=_0x22e9b8;try{const _0x4e5cd5=_0x212d40['yJuzW'](typeof _0x58ce0d,_0x212d40[_0x3a01f7(0x107)])?JSON[_0x3a01f7(0xca)](_0x58ce0d):_0x58ce0d,_0x4c3162=_0x4e5cd5?.[_0x3a01f7(0x108)]||_0x4e5cd5?.[_0x3a01f7(0xc7)]||_0x4e5cd5?.[_0x3a01f7(0xce)]?.[_0x3a01f7(0xc7)]||_0x4e5cd5?.[_0x3a01f7(0xce)]?.[_0x3a01f7(0x108)]||_0x4e5cd5?.[_0x3a01f7(0xf7)]?.[_0x3a01f7(0xc7)]||_0x4e5cd5?.[_0x3a01f7(0xf7)]?.[_0x3a01f7(0x108)];if(_0x4c3162){if(BrowserstackCLI[_0x3a01f7(0x102)]()[_0x3a01f7(0xd0)]()){const _0x280086={};_0x280086['message']=_0x4e5cd5,BrowserstackCLI[_0x3a01f7(0x102)]()[_0x3a01f7(0xff)]()[_0x3a01f7(0xba)](AutomationFrameworkState[_0x3a01f7(0x10f)],HookState[_0x3a01f7(0xe9)],_0x280086);}else{const _0x495e76=_0x4c3162[_0x3a01f7(0xd9)],_0x2d02f0=_0x4c3162[_0x3a01f7(0xec)];_0x2d02f0&&(_0x212d40[_0x3a01f7(0xd1)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+JSON[_0x3a01f7(0xe6)](_0x2d02f0)),_0x5915bd[_0x3a01f7(0xd2)][_0x3a01f7(0xc6)]=_0x2d02f0[_0x3a01f7(0xe2)],_0x5915bd[_0x3a01f7(0xd2)][_0x3a01f7(0x10e)]=_0x2d02f0['platformVersion']),_0x495e76&&(_0x212d40['CrMqP'](debug,_0x3a01f7(0xc4)+_0x495e76),_0x5915bd['currentSessionDetails']['bsSessionId']=_0x495e76);}_0x212d40[_0x3a01f7(0xdb)](typeof _0x58ce0d,_0x212d40[_0x3a01f7(0x107)])&&(delete _0x4e5cd5[_0x3a01f7(0x108)],delete _0x4e5cd5[_0x3a01f7(0xc7)],_0x4e5cd5['params']&&(delete _0x4e5cd5[_0x3a01f7(0xce)][_0x3a01f7(0xc7)],delete _0x4e5cd5[_0x3a01f7(0xce)][_0x3a01f7(0x108)]),_0x4e5cd5['result']&&(delete _0x4e5cd5[_0x3a01f7(0xf7)][_0x3a01f7(0xc7)],delete _0x4e5cd5[_0x3a01f7(0xf7)]['bStackParams']));}}catch(_0x4492b7){_0x212d40['RfFiX'](debug,_0x3a01f7(0xdd)+_0x4492b7[_0x3a01f7(0xc0)]);}return _0x11cfed?.[_0x3a01f7(0x110)](this,arguments);},_0x171f15['_bstackPatched']=!![],logger[_0x22e9b8(0x105)](_0x212d40[_0x22e9b8(0x10d)]);}catch(_0xaae4dc){_0x212d40[_0x22e9b8(0xe1)](debug,'Error\x20in\x20patchConnection:\x20'+util[_0x22e9b8(0xe8)](_0xaae4dc)),_0x5915bd[_0x22e9b8(0xfe)]=_0xaae4dc[_0x22e9b8(0xbd)]();}}static[a62_0x10c80f(0xfc)](){const _0x4bd2be=a62_0x10c80f;return this[_0x4bd2be(0xd2)];}}module[a62_0x10c80f(0xd7)]=PuppeteerSessionDetails;function a62_0x2219(){const _0x57e857=['local_grid','unknown_grid','toString','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','message','PMKeH','36850MadvRH','browser','Setting\x20session\x20id\x20received\x20from\x20BS\x20','browser_version','platform','bsParams','caps','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','parse','query','464Bdiayl','../../helpers/helper','params','ATS_WSS_URL_REGEX','isRunning','RfFiX','currentSessionDetails','wKCqb','riozC','25144ApSOTC','platformVersion','exports','XDexn','sessionId','patchConnection','wREAP','turboscale','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','string','../../helpers/logger','wqpMy','Knlzc','platformName','entries','browserName','113110yJEIla','stringify','browserstack','format','POST','BDCpK','hTqek','platformDetails','util','test','capabilities','11167mTfYYG','xnyLr','../v2/state/hookState.js','351gfWyng','6312EArMZz','jbtUm','10439KvRiLy','result','_bstackPatched','ntDen','setupBrowserDetails','34xcVQEX','getDetails','JwcMG','sessionError','getAutomationFramework','kNDLE','5812WrEnjp','getInstance','54502JtFANP','447gholFN','debug','195JyFtre','NSdjO','bStackParams','winstonLogger','fromEntries','MxAPi','assign','EaZyP','platform_version','PLAYWRIGHT_DISPATCH','apply','chrome','version','cloudProvider','onmessage','BSTACK_ATS_URL','DuPQy','product','BSTACK_URL','includes','99624pvLlRX','bsSessionId','url','YLOwd','connection','trackEvent'];a62_0x2219=function(){return _0x57e857;};return a62_0x2219();}
1
+ const a62_0x4c6085=a62_0x15a7;function a62_0xbd63(){const _0x47f019=['test','unknown_grid','platformVersion','debug','version','automate','PLAYWRIGHT_DISPATCH','query','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','AxBAV','onmessage','3886632oQgdXm','ATS_WSS_URL_REGEX','mjqhL','winstonLogger','../../helpers/test-observability/utils','message','browserName','sessionError','6265zSXZbX','currentSessionDetails','../../helpers/helper','platform','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','trackEvent','apply','1864yarLmG','cloudProvider','params','fromEntries','assign','format','TzVtI','oPEDn','platformName','exports','NIIuH','../utils/constants','sessionId','turboscale','../v2/state/hookState.js','CMJOC','11798388mVhDpT','../v2/browserstackCLI','_bstackPatched','DVBMB','2pUcpud','1883553JaMpIO','pvsJW','4305400huiqIp','patchConnection','local_grid','ByCvO','parse','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','../../helpers/logger','capabilities','url','getDetails','toString','542802kZiYhU','Setting\x20session\x20id\x20received\x20from\x20BS\x20','getAutomationFramework','string','stringify','Error\x20in\x20setupBrowserDetails:\x20','platformDetails','bStackParams','_connection','DYfrJ','bsSessionId','kaxvx','eKCSp','entries','BSTACK_ATS_URL','product','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','DhSuD','bsParams','path','MXTmO','702072pXfbAA','cOsqd','setupBrowserDetails','BSTACK_URL','browser','connection','caps','platform_version','browserstack','chrome'];a62_0xbd63=function(){return _0x47f019;};return a62_0xbd63();}(function(_0xacc7e3,_0x4c0229){const _0xdc13cf=a62_0x15a7,_0x3b407c=_0xacc7e3();while(!![]){try{const _0x3b5146=-parseInt(_0xdc13cf(0x15a))/0x1+-parseInt(_0xdc13cf(0x137))/0x2*(-parseInt(_0xdc13cf(0x138))/0x3)+parseInt(_0xdc13cf(0x16f))/0x4+parseInt(_0xdc13cf(0x13a))/0x5+-parseInt(_0xdc13cf(0x145))/0x6+-parseInt(_0xdc13cf(0x177))/0x7*(-parseInt(_0xdc13cf(0x123))/0x8)+-parseInt(_0xdc13cf(0x133))/0x9;if(_0x3b5146===_0x4c0229)break;else _0x3b407c['push'](_0x3b407c['shift']());}catch(_0x51f9a3){_0x3b407c['push'](_0x3b407c['shift']());}}}(a62_0xbd63,0x8a195));const path=require(a62_0x4c6085(0x158)),url=require(a62_0x4c6085(0x142)),util=require('util'),{nestedKeyValue,isFalse}=require(a62_0x4c6085(0x179)),{debug,getPlatformDetails}=require(a62_0x4c6085(0x173)),logger=require(a62_0x4c6085(0x140))[a62_0x4c6085(0x172)],constants=require(a62_0x4c6085(0x12e)),BrowserstackCLI=require(a62_0x4c6085(0x134)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a62_0x4c6085(0x131)),getBrowserFromWSEndpoint=_0x414aa1=>{const _0xca1968=a62_0x4c6085,_0x202af9={'DYfrJ':'chrome','cOsqd':function(_0x5e2ea1,_0x29c650){return _0x5e2ea1(_0x29c650);}};try{const _0x5ca909=url[_0xca1968(0x13e)](_0x414aa1),_0x24b15d=new URLSearchParams(_0x5ca909[_0xca1968(0x16b)]),_0x21f933=Object[_0xca1968(0x126)](_0x24b15d[_0xca1968(0x152)]()),_0x50a461=JSON[_0xca1968(0x13e)](_0x21f933[_0xca1968(0x160)]);if(_0x50a461&&(_0x50a461[_0xca1968(0x15e)]||_0x50a461[_0xca1968(0x175)]))return _0x50a461[_0xca1968(0x15e)]||_0x50a461[_0xca1968(0x175)];return _0x202af9[_0xca1968(0x14e)];}catch(_0x4b9aa6){_0x202af9[_0xca1968(0x15b)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x4b9aa6[_0xca1968(0x144)]());}},getCloudProviderFromWsEndpoint=_0x2e28f8=>{const _0x4a177e=a62_0x4c6085,_0x250ca8={};_0x250ca8['TzVtI']='browserstack',_0x250ca8[_0x4a177e(0x159)]=_0x4a177e(0x165);const _0xaa0758=_0x250ca8;if(_0x2e28f8['includes'](constants[_0x4a177e(0x15d)])||_0x2e28f8['includes'](constants[_0x4a177e(0x153)]))return _0xaa0758[_0x4a177e(0x129)];return _0xaa0758[_0x4a177e(0x159)];},a62_0x59eb48={};a62_0x59eb48[a62_0x4c6085(0x124)]=undefined,a62_0x59eb48[a62_0x4c6085(0x14f)]=undefined,a62_0x59eb48[a62_0x4c6085(0x15e)]=undefined,a62_0x59eb48['browser_version']=undefined,a62_0x59eb48[a62_0x4c6085(0x17a)]=undefined,a62_0x59eb48['platform_version']=undefined,a62_0x59eb48[a62_0x4c6085(0x154)]=undefined,a62_0x59eb48[a62_0x4c6085(0x141)]={};function a62_0x15a7(_0x3efebf,_0x29dc4e){const _0xbd63cb=a62_0xbd63();return a62_0x15a7=function(_0x15a751,_0x35d414){_0x15a751=_0x15a751-0x123;let _0x5a1a0b=_0xbd63cb[_0x15a751];return _0x5a1a0b;},a62_0x15a7(_0x3efebf,_0x29dc4e);}class PuppeteerSessionDetails{static [a62_0x4c6085(0x178)]=a62_0x59eb48;constructor(){const _0x4dd55e=a62_0x4c6085,_0x124269={};_0x124269['gbMtu']=_0x4dd55e(0x13f);const _0x5a8793=_0x124269;throw new Error(_0x5a8793['gbMtu']);}static [a62_0x4c6085(0x176)]=null;static async[a62_0x4c6085(0x15c)](_0x17e000,_0x441291){const _0x20e290=a62_0x4c6085,_0x1e3dbb={'DVBMB':_0x20e290(0x163),'CxVyV':function(_0x13c9b7,_0x50dbc1){return _0x13c9b7===_0x50dbc1;},'oPEDn':'function','eKCSp':_0x20e290(0x13c),'mjqhL':function(_0x27e160,_0x118e82){return _0x27e160(_0x118e82);},'lAsWr':function(_0x4fee32,_0x1c9fa1){return _0x4fee32===_0x1c9fa1;},'NIIuH':_0x20e290(0x162),'pvsJW':_0x20e290(0x130),'kaxvx':_0x20e290(0x169),'DhSuD':function(_0x1363ff){return _0x1363ff();}};try{let _0x4f81b9=_0x1e3dbb[_0x20e290(0x136)],_0x3b2758=null;_0x17e000&&_0x1e3dbb['CxVyV'](typeof _0x17e000[_0x20e290(0x168)],_0x1e3dbb[_0x20e290(0x12a)])&&(_0x3b2758=await _0x17e000[_0x20e290(0x168)]());let _0xfb4552=null,_0x56a780=null,_0x39fb37=null,_0x59268f=_0x1e3dbb[_0x20e290(0x151)];if(_0x441291){_0x59268f=_0x1e3dbb[_0x20e290(0x171)](getCloudProviderFromWsEndpoint,_0x441291);if(_0x1e3dbb['lAsWr'](_0x59268f,_0x1e3dbb[_0x20e290(0x12d)]))_0x39fb37=constants[_0x20e290(0x170)]?constants['ATS_WSS_URL_REGEX'][_0x20e290(0x164)](_0x441291)?_0x1e3dbb[_0x20e290(0x139)]:_0x1e3dbb['kaxvx']:_0x1e3dbb[_0x20e290(0x150)],_0x4f81b9=_0x1e3dbb[_0x20e290(0x171)](getBrowserFromWSEndpoint,_0x441291)||_0x4f81b9,_0xfb4552=this['currentSessionDetails']['platform'],_0x56a780=this['currentSessionDetails'][_0x20e290(0x161)];else{const _0x33e660=await _0x1e3dbb[_0x20e290(0x156)](getPlatformDetails);_0xfb4552=_0x33e660[_0x20e290(0x12b)],_0x56a780=_0x33e660[_0x20e290(0x166)];}}else{const _0x48c585=await _0x1e3dbb[_0x20e290(0x156)](getPlatformDetails);_0xfb4552=_0x48c585['platformName'],_0x56a780=_0x48c585['platformVersion'];}const _0x5b5a9b={};_0x5b5a9b[_0x20e290(0x15e)]=_0x4f81b9,_0x5b5a9b['browser_version']=_0x3b2758,_0x5b5a9b[_0x20e290(0x141)]={},_0x5b5a9b[_0x20e290(0x17a)]=_0xfb4552,_0x5b5a9b[_0x20e290(0x161)]=_0x56a780,_0x5b5a9b[_0x20e290(0x154)]=_0x39fb37;const _0x367fcf=_0x5b5a9b,_0x1ced5b={};_0x1ced5b[_0x20e290(0x124)]=_0x59268f,this[_0x20e290(0x178)]=Object[_0x20e290(0x127)]({},this[_0x20e290(0x178)],_0x1ced5b,_0x367fcf);}catch(_0x53f4aa){_0x1e3dbb[_0x20e290(0x171)](debug,_0x20e290(0x14a)+util[_0x20e290(0x128)](_0x53f4aa)),this['sessionError']=_0x53f4aa[_0x20e290(0x144)]();}}static[a62_0x4c6085(0x13b)](_0x4ebf30){const _0x248b19=a62_0x4c6085,_0x11d05b={'CMJOC':function(_0x4b7a62,_0x3b13a3){return _0x4b7a62===_0x3b13a3;},'AxBAV':_0x248b19(0x148),'WHmWZ':function(_0x46a7cb,_0x1574ea){return _0x46a7cb(_0x1574ea);},'ByCvO':function(_0x333c59,_0x1cb4b3){return _0x333c59(_0x1cb4b3);},'KevJh':_0x248b19(0x155)},_0x5ebd5a=this;try{const _0x4ec5b4=_0x4ebf30[_0x248b19(0x14d)]||_0x4ebf30[_0x248b19(0x15f)];if(!_0x4ec5b4||_0x4ec5b4[_0x248b19(0x135)])return;const _0x19f5f8=_0x4ec5b4[_0x248b19(0x16e)];_0x4ec5b4[_0x248b19(0x16e)]=function(_0x5758e2){const _0x586542=_0x248b19;try{const _0x3e4dc8=_0x11d05b[_0x586542(0x132)](typeof _0x5758e2,_0x11d05b[_0x586542(0x16d)])?JSON[_0x586542(0x13e)](_0x5758e2):_0x5758e2,_0x3e55a1=_0x3e4dc8?.[_0x586542(0x14c)]||_0x3e4dc8?.[_0x586542(0x157)]||_0x3e4dc8?.[_0x586542(0x125)]?.[_0x586542(0x157)]||_0x3e4dc8?.[_0x586542(0x125)]?.[_0x586542(0x14c)]||_0x3e4dc8?.['result']?.[_0x586542(0x157)]||_0x3e4dc8?.['result']?.[_0x586542(0x14c)];if(_0x3e55a1){if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x2137e0={};_0x2137e0[_0x586542(0x174)]=_0x3e4dc8,BrowserstackCLI['getInstance']()[_0x586542(0x147)]()[_0x586542(0x17c)](AutomationFrameworkState[_0x586542(0x16a)],HookState['POST'],_0x2137e0);}else{const _0xd262b2=_0x3e55a1[_0x586542(0x12f)],_0x1cd871=_0x3e55a1[_0x586542(0x14b)];_0x1cd871&&(_0x11d05b['WHmWZ'](debug,_0x586542(0x16c)+JSON[_0x586542(0x149)](_0x1cd871)),_0x5ebd5a[_0x586542(0x178)][_0x586542(0x17a)]=_0x1cd871[_0x586542(0x12b)],_0x5ebd5a[_0x586542(0x178)]['platform_version']=_0x1cd871[_0x586542(0x166)]),_0xd262b2&&(_0x11d05b[_0x586542(0x13d)](debug,_0x586542(0x146)+_0xd262b2),_0x5ebd5a[_0x586542(0x178)][_0x586542(0x14f)]=_0xd262b2);}_0x11d05b[_0x586542(0x132)](typeof _0x5758e2,_0x11d05b[_0x586542(0x16d)])&&(delete _0x3e4dc8['bStackParams'],delete _0x3e4dc8[_0x586542(0x157)],_0x3e4dc8['params']&&(delete _0x3e4dc8[_0x586542(0x125)][_0x586542(0x157)],delete _0x3e4dc8['params'][_0x586542(0x14c)]),_0x3e4dc8['result']&&(delete _0x3e4dc8['result'][_0x586542(0x157)],delete _0x3e4dc8['result'][_0x586542(0x14c)]));}}catch(_0x187515){_0x11d05b['ByCvO'](debug,_0x586542(0x17b)+_0x187515[_0x586542(0x174)]);}return _0x19f5f8?.[_0x586542(0x17d)](this,arguments);},_0x4ec5b4[_0x248b19(0x135)]=!![],logger[_0x248b19(0x167)](_0x11d05b['KevJh']);}catch(_0x442907){_0x11d05b[_0x248b19(0x13d)](debug,'Error\x20in\x20patchConnection:\x20'+util[_0x248b19(0x128)](_0x442907)),_0x5ebd5a[_0x248b19(0x176)]=_0x442907['toString']();}}static[a62_0x4c6085(0x143)](){const _0x1813ee=a62_0x4c6085;return this[_0x1813ee(0x178)];}}module[a62_0x4c6085(0x12c)]=PuppeteerSessionDetails;