browserstack-node-sdk 1.69.0 → 1.70.0

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 a30_0x5ad722=a30_0x3e09;function a30_0x3ff2(){const _0x2e4d42=['../../utils/constants','_pendingHookUploads','\x20with\x20error\x20:\x20','errorsDetailed','1203576HXRamv',':testAnalyticsId','HfiQi','pqLVh','MxfRi','File\x20path\x20could\x20not\x20be\x20found','CbOey','__workerDetails','CtPvg','oLQcn','hook_run_uuid','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','forEach','currentHook','hook_failure','registerListeners','TestRunFinished','tZkSI','beforeEach','SFcjE','SjFvq','GnxVX','split','wcWXg','Xsari','xdoUb','BEFORE_EACH','loUxI','rcZbi','testStarted','osBdW','IFWfy','findGitConfig','test','includes','started_at','current_hook','resetTestHooks','[obsReporter]\x20appendTestItemLog:\x20Invalid\x20or\x20missing\x20testIdentifier\x20format:\x20','WjzaG','dirname','Qxqfu','bind','525884YKLRtQ','failed','STATE_PASSED','dEGoU','sendTestRunEvent','mJggl','CciMQ','mbvmq','getTestUUID','3eUmbJK','toString','../../../helpers/test-observability/utils','js-','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','QulsJ','GuuOa','XWTjN','test_run','AFTER_EACH',':hookAnalyticsId','retryOf','HookRun','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','NpjxS','wcteC','prefixTestPath','oQxGS','CsjSX','../../v2/state/hookState','backtrace','match','isCliEnabled','puppeteer-core','STATE_FAILED','../../v2/state/testFrameworkState','@playwright/test','CaJct','parent','hook_type','20miKlJl','file','bs:addPlatformDetails:','xHLaC','uhRmI','[obsReporter]\x20appendTestItemLog:\x20Stored\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier=','uuid','getTime','getName','cPDbJ','getTestEnv','hook_data','getTestFramework','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20from\x20JestTestFramework\x20-\x20hookUUID=',':jest-','parse','state','resolveInstance','join','AEBMl','inspect','isRunning','reverse','BiOfj','\x20to\x20log','getHooksForTest','AwuaI','http_response','pid','hookAnalyticsId','finished_at','_currentRetry','xKToj','381860tDKeRq','skipped','event_type','AFTER_ALL','ZLGpF','SLyUL','relative','_gitConfigPath','function','appendTestPlatform','vfnTQ','axZjP','\x22\x20hook\x20for\x20\x22','getInstance','../../../helpers/test-observability/sessionHandler','_testResults','JEST','JdbRj','statSync','./test-details','qMtuL','getHierarchy',',\x20testIdentifier=','wOSZL','343819aEYcdr',',\x20logKind=','jest-circus','Rfpvl','uxVgW','hookUUID','crvTx','asyncError','getPackageVersion','appendTestItemLog','TEST_REPORTING_ANALYTICS','integrations','UxSEz','jsrqY','PcVHG','isJestInternalHook','WhDvx','logs','addMultipleEntries','failure_reason_expanded','../../../helpers/test-observability/error-handler','sep','lAEEL','testAnalyticsId','current_test','toISOString','sFTiu','now','DZFQJ','ObservabilityReporter','VgPjF','vaDJg','6JMkrYl','failure','4|6|3|8|2|5|1|7|0','push','hook_run','result','splice','bs:addLog:','4|2|3|1|0','failed\x20to\x20get\x20root\x20parent\x20file\x20','LlFzw',',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow','_cachedIntegrations','exports','../../v2/browserstackCLI','setTestUUID','Hijfm','[obsReporter]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','XUeuq','3945744pDNvrd','passed','getAllData','Pvvtc','Exception\x20in\x20getting\x20file\x20for\x20hook\x20','mapTestHooks','../../../helpers/stackFrameUtils','hLlXV','uploadEventData','duration','EVNUd','generic','afterEach','Pxuyu','analyticsResult','gJakT','QHiuu','removeAllListeners','name','getActiveHook','_paths','sZerN','test_run_uuid','TestRunStarted','hooks','_gitConfigured','err','ciEiD','BEFORE_ALL','2675379bBeCQy','PQCyX','apply','LogCreated','qpIsB','Failed\x20to\x20flush\x20pending\x20hook\x20upload:\x20','rLCIs','YMDNl','XtZlX','djUgm','zMsfF','KEY_LOGS','cwd','grvBB','ROOT_DESCRIBE_BLOCK','../../../helpers/helper','ANGbI','_testEnv','HookRunFinished','type','configureGit','failure_reason','kind','Djmdj','__jestCurrentTestIdentifier','getRootParentFile','test_identifier','length','575538vChNqV','ztOTl','util','lOdwx'];a30_0x3ff2=function(){return _0x2e4d42;};return a30_0x3ff2();}(function(_0x2ae5a1,_0xac02e6){const _0x3fab5a=a30_0x3e09,_0x1f8b42=_0x2ae5a1();while(!![]){try{const _0x4f316a=parseInt(_0x3fab5a(0x18d))/0x1+parseInt(_0x3fab5a(0xfa))/0x2+-parseInt(_0x3fab5a(0x136))/0x3*(-parseInt(_0x3fab5a(0x12d))/0x4)+parseInt(_0x3fab5a(0x175))/0x5+parseInt(_0x3fab5a(0x1ad))/0x6*(parseInt(_0x3fab5a(0xde))/0x7)+-parseInt(_0x3fab5a(0x102))/0x8+parseInt(_0x3fab5a(0x1c0))/0x9*(-parseInt(_0x3fab5a(0x154))/0xa);if(_0x4f316a===_0xac02e6)break;else _0x1f8b42['push'](_0x1f8b42['shift']());}catch(_0x682041){_0x1f8b42['push'](_0x1f8b42['shift']());}}}(a30_0x3ff2,0x2f72d));const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a30_0x5ad722(0x138)),SessionHandler=require(a30_0x5ad722(0x183)),{v4:uuidv4}=require(a30_0x5ad722(0x15a)),{name,version}=require('../../../../package.json'),stackTrace=require('stack-trace'),{pickUserFrameFile}=require(a30_0x5ad722(0x1c6)),path=require('path'),fs=require('fs'),TestDetails=require(a30_0x5ad722(0x188)),{FRAMEWORKS}=require(a30_0x5ad722(0xfe)),{o11yClassErrorHandler}=require(a30_0x5ad722(0x1a1)),{getGitMetaData}=require(a30_0x5ad722(0xed)),helper=require(a30_0x5ad722(0xed)),{appendTesthubParams,setCurrentTestData}=require('../../../helpers/testhub/utils'),constants=require(a30_0x5ad722(0xfe)),BrowserstackCLI=require(a30_0x5ad722(0x1bb)),a30_0x1f90c9={};function a30_0x3e09(_0x1a4aad,_0x2089ec){const _0x3ff274=a30_0x3ff2();return a30_0x3e09=function(_0x3e09a0,_0x4f3f1a){_0x3e09a0=_0x3e09a0-0xd6;let _0x4a0e8e=_0x3ff274[_0x3e09a0];return _0x4a0e8e;},a30_0x3e09(_0x1a4aad,_0x2089ec);}a30_0x1f90c9[a30_0x5ad722(0x12f)]=a30_0x5ad722(0x1c1),a30_0x1f90c9[a30_0x5ad722(0x14e)]=a30_0x5ad722(0x12e),a30_0x1f90c9['STATE_PENDING']='pending';const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a30_0x1f90c9,a30_0x3b9908={};a30_0x3b9908['beforeAll']=a30_0x5ad722(0xdd),a30_0x3b9908['afterAll']=a30_0x5ad722(0x178),a30_0x3b9908[a30_0x5ad722(0x114)]=a30_0x5ad722(0x11c),a30_0x3b9908[a30_0x5ad722(0x1cc)]=a30_0x5ad722(0x13f);const HOOK_TYPES_MAP=a30_0x3b9908;module[a30_0x5ad722(0x1ba)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x665038=a30_0x5ad722,_0x3f7399={'pqLVh':_0x665038(0x1af),'uxVgW':function(_0x31e11c){return _0x31e11c();}},_0x437cef=_0x3f7399[_0x665038(0x105)]['split']('|');let _0x469ab9=0x0;while(!![]){switch(_0x437cef[_0x469ab9++]){case'0':this['_pendingHookUploads']=[];continue;case'1':this[_0x665038(0x17c)]=null;continue;case'2':this[_0x665038(0x15f)]=[];continue;case'3':this['_testEnv']=this[_0x665038(0x15e)]();continue;case'4':this['testObservability']=_0x3f7399[_0x665038(0x191)](isTestObservabilitySession);continue;case'5':this['_gitConfigured']=![];continue;case'6':this[_0x665038(0x184)]=[];continue;case'7':this['_cachedIntegrations']=null;continue;case'8':this[_0x665038(0x1d4)]=new PathHelper({'cwd':process[_0x665038(0xea)]()},this[_0x665038(0xef)]['location_prefix']);continue;}break;}}[a30_0x5ad722(0x15e)]=()=>{const _0x5c21c0=a30_0x5ad722,_0x237555={'wcWXg':_0x5c21c0(0x1cb),'yTyeG':function(_0x406410){return _0x406410();}};return{'ci':_0x237555[_0x5c21c0(0x119)],'key':_0x237555['yTyeG'](uuidv4),'version':version,'collector':_0x5c21c0(0x139)+name};};[a30_0x5ad722(0x111)](){const _0xe77d04=a30_0x5ad722;process[_0xe77d04(0x1d1)]('bs:addLog:'+process[_0xe77d04(0x170)]),process['on'](_0xe77d04(0x1b4)+process[_0xe77d04(0x170)],this['appendTestItemLog']['bind'](this)),process[_0xe77d04(0x1d1)](_0xe77d04(0x156)+process[_0xe77d04(0x170)]),process['on'](_0xe77d04(0x156)+process['pid'],this['appendTestPlatform'][_0xe77d04(0x12c)](this));}[a30_0x5ad722(0x11f)]=async _0x30f666=>{const _0x2ed8de=a30_0x5ad722,_0xd85a0d={'ztOTl':function(_0x4052f2,_0x28ae57){return _0x4052f2>_0x28ae57;},'nRkgg':function(_0x58d5bb,_0x229a01){return _0x58d5bb===_0x229a01;},'vfnTQ':_0x2ed8de(0xd8),'tZkSI':function(_0x35a3d2,_0x3dfe37){return _0x35a3d2(_0x3dfe37);}};try{const _0x145f31=this[_0x2ed8de(0x1a5)];this[_0x2ed8de(0x1a5)]=_0x30f666,_0x30f666[_0x2ed8de(0x141)]=null,_0x30f666[_0x2ed8de(0x1a4)]=TestDetails[_0x2ed8de(0x1bc)](process[_0x2ed8de(0x170)]+':testAnalyticsId'),_0x30f666[_0x2ed8de(0x125)]=new Date()[_0x2ed8de(0x1a6)](),_0xd85a0d[_0x2ed8de(0xfb)](_0x30f666[_0x2ed8de(0x173)],0x0)&&_0x145f31&&_0xd85a0d['nRkgg'](_0x145f31['title'],_0x30f666['title'])?(_0x30f666['retryOf']=_0x145f31[_0x2ed8de(0x1a4)],await this[_0x2ed8de(0x131)](_0x30f666,undefined,![],_0xd85a0d[_0x2ed8de(0x17f)]),_0x145f31[_0x2ed8de(0x164)]=STATE_FAILED,await this[_0x2ed8de(0x131)](_0x145f31,undefined,!![])):await this[_0x2ed8de(0x131)](_0x30f666,undefined,![],_0xd85a0d[_0x2ed8de(0x17f)]);}catch(_0x51b14b){_0xd85a0d[_0x2ed8de(0x113)](debug,_0x2ed8de(0x13a)+_0x51b14b);}};[a30_0x5ad722(0x15c)](_0x39d30a){const _0x1818d2=a30_0x5ad722,_0x2c5fe5={};_0x2c5fe5[_0x1818d2(0x1bd)]=function(_0x459c9c,_0x539c8f){return _0x459c9c!==_0x539c8f;},_0x2c5fe5['uhRmI']=_0x1818d2(0x123);const _0x3072c2=_0x2c5fe5;if(_0x3072c2[_0x1818d2(0x1bd)](_0x39d30a[_0x1818d2(0xf1)],_0x3072c2[_0x1818d2(0x158)]))return'\x22'+_0x39d30a[_0x1818d2(0xf1)]+_0x1818d2(0x181)+(_0x39d30a[_0x1818d2(0x152)]&&_0x39d30a[_0x1818d2(0x152)][_0x1818d2(0x1d2)])+'\x22';return _0x39d30a[_0x1818d2(0x1d2)];}[a30_0x5ad722(0x131)]=async(_0x48f428,_0x37d98e=undefined,_0x532dd1=![],_0x7a90f9=a30_0x5ad722(0x112))=>{const _0x1237a1=a30_0x5ad722,_0x29174f={'wcteC':_0x1237a1(0x1b5),'cPDbJ':_0x1237a1(0x1b1),'zMsfF':_0x1237a1(0xf3),'oLQcn':_0x1237a1(0x13e),'Xsari':'failure_type','JdbRj':_0x1237a1(0x1b2),'EVNUd':_0x1237a1(0x1ae),'QHiuu':function(_0x526908,_0x36930b){return _0x526908(_0x36930b);},'XRIRz':_0x1237a1(0x18f),'xKToj':function(_0x2eb54b,_0x19d2aa){return _0x2eb54b(_0x19d2aa);},'ANGbI':_0x1237a1(0xfc),'mbvmq':function(_0x31a10e,_0x1df5a8){return _0x31a10e!==_0x1df5a8;},'AEBMl':_0x1237a1(0x123),'CtPvg':_0x1237a1(0xdb),'BdWyn':_0x1237a1(0x107),'EPlsT':'javascript','ORUwb':'pending','MrUYO':function(_0x26acb3,_0x509988){return _0x26acb3===_0x509988;},'dEGoU':'TestRunSkipped','xHLaC':_0x1237a1(0x176),'sZerN':function(_0x4d1f32,_0x297d45){return _0x4d1f32>_0x297d45;},'axZjP':'failed','NpjxS':_0x1237a1(0x1c1),'vaDJg':function(_0x2f49bd,_0x58b09a){return _0x2f49bd-_0x58b09a;},'HrMOT':function(_0x5cb495,_0x2824fe,_0x115bf2,_0xd55ee4,_0x119754){return _0x5cb495(_0x2824fe,_0x115bf2,_0xd55ee4,_0x119754);},'osBdW':_0x1237a1(0x125),'jsrqY':_0x1237a1(0x172),'lOdwx':function(_0x43cb76,_0x4f920d){return _0x43cb76===_0x4f920d;},'ioCpr':_0x1237a1(0xf0),'LdsvL':function(_0x2add7a,_0x57641e){return _0x2add7a!==_0x57641e;},'WOjln':'failure_backtrace','GnxVX':_0x1237a1(0x14a),'CbOey':_0x1237a1(0x1a0),'kUpIC':'expanded','QulsJ':_0x1237a1(0x112),'CciMQ':'hook_type','avbDn':function(_0x4c0247,_0x5fe539){return _0x4c0247>_0x5fe539;},'QvmMF':function(_0x5be614,_0x29941c){return _0x5be614===_0x29941c;},'PcVHG':'beforeAll','LlFzw':_0x1237a1(0x142),'rcZbi':_0x1237a1(0x198),'sFTiu':function(_0x22730e,_0x3efe9f,_0x4834e4){return _0x22730e(_0x3efe9f,_0x4834e4);}};try{if(_0x48f428['fn']&&_0x48f428['fn'][_0x1237a1(0x137)]()['match'](/browserstack internal helper hook/))return;await this['configureGit']();let _0x4d974d;try{_0x4d974d=this[_0x1237a1(0xf7)](_0x48f428);}catch(_0x6815de){_0x29174f[_0x1237a1(0x1d0)](debug,_0x1237a1(0x1b6)+_0x6815de),_0x4d974d=null;}if(_0x4d974d[_0x1237a1(0x124)](_0x29174f['XRIRz']))return;const _0x4a162e=_0x29174f[_0x1237a1(0x174)](require,_0x29174f[_0x1237a1(0xee)]);let _0x2f1b9b=[];if(_0x29174f[_0x1237a1(0x134)](_0x48f428[_0x1237a1(0x101)],undefined))_0x2f1b9b=[_0x48f428[_0x1237a1(0x101)],_0x29174f[_0x1237a1(0x167)]];else _0x29174f[_0x1237a1(0x134)](_0x37d98e,undefined)?_0x2f1b9b=[_0x37d98e,_0x29174f[_0x1237a1(0x10a)]]:_0x2f1b9b=[];const _0x3018be=_0x29174f[_0x1237a1(0x134)](_0x48f428['errorsDetailed'],undefined)?_0x4a162e[_0x1237a1(0x168)](_0x48f428[_0x1237a1(0x101)][0x0]):_0x29174f[_0x1237a1(0x134)](_0x37d98e,undefined)?_0x37d98e['toString']():undefined,_0x4b96e7=_0x4d974d?this['_paths'][_0x1237a1(0x146)](this[_0x1237a1(0xf7)](_0x48f428)):_0x29174f['BdWyn'],_0x206e01={'framework':FRAMEWORKS[_0x1237a1(0x185)],'uuid':_0x48f428[_0x1237a1(0x1a4)]||_0x48f428[_0x1237a1(0x171)],'name':this[_0x1237a1(0x15c)](_0x48f428),'body':{'lang':_0x29174f['EPlsT'],'code':_0x48f428['fn'][_0x1237a1(0x137)]()},'scopes':this[_0x1237a1(0x18a)](_0x48f428),'file_name':_0x4b96e7,'vc_filepath':this[_0x1237a1(0x17c)]&&_0x4d974d?path[_0x1237a1(0x17b)](this['_gitConfigPath'],_0x4d974d):null,'location':_0x4b96e7,'result':_0x7a90f9['match'](/Started$/)?_0x29174f['ORUwb']:_0x29174f['MrUYO'](_0x7a90f9,_0x29174f[_0x1237a1(0x130)])?_0x29174f['xHLaC']:this[_0x1237a1(0x1ce)](_0x48f428['errorsDetailed']&&_0x29174f[_0x1237a1(0xd6)](_0x48f428[_0x1237a1(0x101)][_0x1237a1(0xf9)],0x0)?_0x29174f[_0x1237a1(0x180)]:_0x29174f[_0x1237a1(0x144)]),'failure_reason':_0x3018be,'duration_in_ms':_0x48f428[_0x1237a1(0x1c9)]||(_0x7a90f9[_0x1237a1(0x14b)](/Finished/)||_0x7a90f9[_0x1237a1(0x14b)](/Skipped/)?_0x29174f[_0x1237a1(0x1ac)](Date[_0x1237a1(0x1a8)](),new Date(_0x48f428[_0x1237a1(0x125)])[_0x1237a1(0x15b)]()):null),'started_at':_0x48f428[_0x1237a1(0x125)],'finished_at':_0x7a90f9[_0x1237a1(0x14b)](/Finished/)||_0x7a90f9['match'](/Skipped/)?new Date()[_0x1237a1(0x1a6)]():null,'failure':failureData[_0x1237a1(0xe0)](null,_0x2f1b9b),'failure_type':!_0x3018be?null:_0x29174f[_0x1237a1(0x1d0)](getFailureType,_0x3018be),'retry_of':_0x48f428[_0x1237a1(0x141)]};_0x29174f['HrMOT'](appendTesthubParams,_0x206e01,_0x7a90f9,_0x48f428,FRAMEWORKS[_0x1237a1(0x185)]);_0x29174f['MrUYO'](_0x7a90f9,_0x29174f[_0x1237a1(0x130)])&&!_0x206e01[_0x29174f[_0x1237a1(0x120)]]&&(_0x206e01[_0x29174f['osBdW']]=_0x206e01[_0x29174f[_0x1237a1(0x19a)]]);if(_0x7a90f9[_0x1237a1(0x14b)](/HookRun/))[_0x206e01[_0x1237a1(0x153)],_0x206e01['name']]=[_0x48f428[_0x1237a1(0xf1)],this[_0x1237a1(0x15c)](_0x48f428)],_0x29174f[_0x1237a1(0xfd)](_0x7a90f9,_0x29174f['ioCpr'])&&(_0x29174f['LdsvL'](_0x206e01[_0x1237a1(0x1b2)],_0x29174f[_0x1237a1(0x180)])&&(_0x206e01[_0x1237a1(0x1b2)]=_0x29174f[_0x1237a1(0x144)]));else _0x7a90f9[_0x1237a1(0x14b)](/TestRun/)&&this[_0x1237a1(0x1c5)](_0x48f428);const _0x49d1f1=_0x206e01[_0x29174f[_0x1237a1(0x1ca)]][0x0];_0x49d1f1&&(_0x206e01[_0x29174f['WOjln']]=_0x49d1f1[_0x29174f[_0x1237a1(0x117)]],_0x206e01[_0x29174f[_0x1237a1(0x108)]]=_0x49d1f1[_0x29174f['kUpIC']]);[_0x29174f[_0x1237a1(0x13b)],_0x29174f['dEGoU']][_0x1237a1(0x124)](_0x7a90f9)&&(this[_0x1237a1(0x184)][_0x1237a1(0x1b0)](_0x206e01),_0x206e01[_0x1237a1(0xd9)]=this[_0x1237a1(0x16d)](_0x48f428),this[_0x1237a1(0x127)](_0x48f428));const _0x59025b={'event_type':_0x29174f[_0x1237a1(0xfd)](_0x7a90f9,_0x29174f['dEGoU'])?_0x29174f[_0x1237a1(0x13b)]:_0x7a90f9};_0x7a90f9[_0x1237a1(0x14b)](/HookRun/)?(_0x206e01[_0x29174f[_0x1237a1(0x133)]]=HOOK_TYPES_MAP[_0x206e01[_0x29174f[_0x1237a1(0x133)]]],_0x59025b[_0x29174f[_0x1237a1(0x15d)]]=_0x206e01):_0x59025b[_0x29174f[_0x1237a1(0x10b)]]=_0x206e01;_0x29174f['avbDn'](this['hook_data'][_0x1237a1(0xf9)],0x0)&&[_0x29174f[_0x1237a1(0x13b)],_0x29174f['dEGoU']][_0x1237a1(0x124)](_0x7a90f9)&&(this[_0x1237a1(0x15f)][_0x1237a1(0x10e)](async _0x4df116=>{const _0x7d3490=_0x1237a1,_0x5ccb4d=_0x29174f[_0x7d3490(0x145)][_0x7d3490(0x118)]('|');let _0x1af149=0x0;while(!![]){switch(_0x5ccb4d[_0x1af149++]){case'0':await SessionHandler['uploadEventData'](_0x4df116);continue;case'1':_0x4df116[_0x29174f[_0x7d3490(0x15d)]][_0x29174f[_0x7d3490(0xe8)]]=_0x59025b[_0x29174f[_0x7d3490(0x10b)]][_0x29174f['zMsfF']];continue;case'2':_0x4df116[_0x29174f[_0x7d3490(0x15d)]][_0x29174f[_0x7d3490(0x11a)]]=_0x59025b[_0x29174f['oLQcn']][_0x29174f[_0x7d3490(0x11a)]];continue;case'3':_0x4df116[_0x29174f['cPDbJ']][_0x29174f[_0x7d3490(0x186)]]=_0x59025b[_0x29174f['oLQcn']][_0x29174f[_0x7d3490(0x186)]];continue;case'4':_0x4df116[_0x29174f['cPDbJ']][_0x29174f[_0x7d3490(0x1ca)]]=_0x59025b[_0x29174f['oLQcn']][_0x29174f['EVNUd']];continue;}break;}}),this['hook_data']=[]);if(_0x29174f[_0x1237a1(0xfd)](this[_0x1237a1(0x110)],_0x48f428[_0x1237a1(0xf1)])){this[_0x1237a1(0x15f)][_0x1237a1(0x1b0)](_0x59025b);return;}_0x29174f['QvmMF'](this[_0x1237a1(0x110)],_0x29174f[_0x1237a1(0x19b)])&&_0x59025b[_0x29174f[_0x1237a1(0x10b)]]&&(_0x59025b[_0x29174f['oLQcn']][_0x29174f[_0x1237a1(0x186)]]=_0x29174f[_0x1237a1(0x157)],_0x59025b[_0x29174f[_0x1237a1(0x10b)]][_0x29174f[_0x1237a1(0x1ca)]]=null,_0x59025b[_0x29174f[_0x1237a1(0x10b)]][_0x29174f['Xsari']]=null);if(_0x7a90f9[_0x1237a1(0x124)](_0x29174f[_0x1237a1(0x1b7)])&&_0x59025b[_0x29174f[_0x1237a1(0x15d)]]){if(this[_0x1237a1(0x1b9)])_0x59025b[_0x29174f[_0x1237a1(0x15d)]][_0x29174f[_0x1237a1(0x11e)]]=this[_0x1237a1(0x1b9)];else{this[_0x1237a1(0xff)][_0x1237a1(0x1b0)](_0x59025b);return;}}_0x29174f[_0x1237a1(0x1a7)](setCurrentTestData,FRAMEWORKS['JEST'],_0x59025b),await SessionHandler[_0x1237a1(0x1c8)](_0x59025b);}catch(_0x32b572){_0x29174f[_0x1237a1(0x174)](debug,_0x1237a1(0x143)+_0x7a90f9+'\x20with\x20error\x20:\x20'+_0x32b572);}};['findGitConfig'](_0x351f6f){const _0x2fb6f8=a30_0x5ad722,_0x10db79={};_0x10db79[_0x2fb6f8(0xe7)]=function(_0x56fedc,_0x34d5dd){return _0x56fedc==_0x34d5dd;},_0x10db79['WqLpl']=function(_0x521708,_0x4188a6){return _0x521708===_0x4188a6;},_0x10db79['WjzaG']=function(_0x411b03,_0x56e720){return _0x411b03===_0x56e720;},_0x10db79['XtZlX']='.git',_0x10db79[_0x2fb6f8(0xdf)]='config';const _0x580b92=_0x10db79,_0x2893fc=path[_0x2fb6f8(0x1a2)];if(_0x580b92[_0x2fb6f8(0xe7)](_0x351f6f,null)||_0x580b92['WqLpl'](_0x351f6f,'')||_0x580b92['WqLpl'](_0x351f6f,_0x2893fc)||_0x580b92[_0x2fb6f8(0x129)](_0x351f6f,path[_0x2fb6f8(0x12a)](_0x351f6f)))return null;try{return fs[_0x2fb6f8(0x187)](path[_0x2fb6f8(0x166)](_0x351f6f,_0x580b92[_0x2fb6f8(0xe6)],_0x580b92[_0x2fb6f8(0xdf)])),_0x351f6f;}catch(_0x366357){const _0x3845a3=path[_0x2fb6f8(0x12a)](_0x351f6f);return this[_0x2fb6f8(0x122)](_0x3845a3);}}[a30_0x5ad722(0x196)]=async _0x2b8b85=>{const _0x36376f=a30_0x5ad722,_0x2bd4aa={'cLqXD':_0x36376f(0x150),'UxSEz':_0x36376f(0x14d),'YMDNl':'puppeteer','crvTx':function(_0x13ea1c,_0x818b18){return _0x13ea1c||_0x818b18;},'WhDvx':function(_0x1275f6,_0x154c58){return _0x1275f6(_0x154c58);},'oiPRc':'[obsReporter]\x20appendTestItemLog:\x20Jest+Playwright/Puppeteer\x20CLI\x20flow\x20detected,\x20using\x20in-memory\x20storage','Pvvtc':function(_0x4aef8b,_0x4a2312){return _0x4aef8b&&_0x4a2312;},'BiOfj':function(_0x6412af,_0x28701d){return _0x6412af(_0x28701d);},'oQxGS':_0x36376f(0x162),'loUxI':function(_0x3a003e,_0x4b73cd){return _0x3a003e(_0x4b73cd);},'ZLGpF':function(_0x2715a3,_0x2e56ae){return _0x2715a3(_0x2e56ae);},'EVVwa':_0x36376f(0x14f),'AwuaI':function(_0x1ae18f,_0x55fc16){return _0x1ae18f(_0x55fc16);},'CaJct':_0x36376f(0x149),'lAEEL':'../../v2/framework/constants/testFrameworkConstants','MxfRi':function(_0x58eee8,_0x5773c5){return _0x58eee8===_0x5773c5;},'mJggl':_0x36376f(0x17d),'CsjSX':function(_0x418893,_0x3531e1){return _0x418893(_0x3531e1);},'hLlXV':'unknown','VgPjF':function(_0x123d10,_0x10bd5e){return _0x123d10(_0x10bd5e);},'xdoUb':function(_0x5f19d6,_0x3abdd9){return _0x5f19d6(_0x3abdd9);},'rLCIs':_0x36376f(0xe1),'Rfpvl':function(_0x2a9098,_0x20fcc5){return _0x2a9098(_0x20fcc5);}};try{const _0x5d0b1a=helper[_0x36376f(0x195)](_0x2bd4aa['cLqXD']),_0x116946=!!_0x5d0b1a,_0x38b90c=helper[_0x36376f(0x195)](_0x2bd4aa[_0x36376f(0x199)])||helper['getPackageVersion'](_0x2bd4aa[_0x36376f(0xe5)]),_0x5e88ee=!!_0x38b90c,_0x22a6bb=BrowserstackCLI['getInstance']()[_0x36376f(0x14c)]()&&BrowserstackCLI[_0x36376f(0x182)]()[_0x36376f(0x169)]();if(_0x2bd4aa[_0x36376f(0x193)](_0x116946,_0x5e88ee)&&_0x22a6bb){_0x2bd4aa[_0x36376f(0x19d)](debug,_0x2bd4aa['oiPRc']);let _0x19ab1c=null,_0x1a42b1=null;if(global['__workerDetails']&&global[_0x36376f(0x109)][_0x36376f(0x10f)]){const _0x453928=global[_0x36376f(0x109)]['currentHook'];_0x1a42b1=_0x453928['hookUUID'],_0x19ab1c=_0x453928['testIdentifier'],_0x2bd4aa['WhDvx'](debug,'[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20-\x20hookUUID='+_0x1a42b1+_0x36376f(0x18b)+_0x19ab1c);}!_0x19ab1c&&(_0x19ab1c=global[_0x36376f(0xf6)],_0x2bd4aa['WhDvx'](debug,'[obsReporter]\x20appendTestItemLog:\x20Using\x20testIdentifier\x20from\x20global.__jestCurrentTestIdentifier:\x20'+_0x19ab1c));if(_0x2bd4aa[_0x36376f(0x1c3)](!_0x1a42b1,_0x19ab1c)){const _0x44f141=BrowserstackCLI[_0x36376f(0x182)]()[_0x36376f(0x160)]();if(_0x44f141&&_0x44f141[_0x36376f(0x1d3)]){const _0xa23a5=_0x44f141[_0x36376f(0x1d3)](_0x19ab1c);_0xa23a5&&_0xa23a5[_0x36376f(0x192)]&&(_0x1a42b1=_0xa23a5['hookUUID'],_0x2bd4aa['BiOfj'](debug,_0x36376f(0x161)+_0x1a42b1+_0x36376f(0x18b)+_0x19ab1c));}}if(!_0x19ab1c||!_0x19ab1c[_0x36376f(0x124)](_0x2bd4aa[_0x36376f(0x147)]))_0x2bd4aa[_0x36376f(0x19d)](debug,_0x36376f(0x128)+_0x19ab1c+_0x36376f(0x1b8));else{_0x1a42b1&&(_0x2b8b85[_0x36376f(0x10c)]=_0x1a42b1,_0x2bd4aa[_0x36376f(0x11d)](debug,'[obsReporter]\x20appendTestItemLog:\x20Attached\x20hook_run_uuid='+_0x1a42b1+_0x36376f(0x16c)));_0x2b8b85[_0x36376f(0xf8)]=_0x19ab1c,_0x2bd4aa[_0x36376f(0x179)](debug,'[obsReporter]\x20appendTestItemLog:\x20Attached\x20test_identifier='+_0x19ab1c+_0x36376f(0x16c));const _0x4b52d0=BrowserstackCLI['getInstance']()[_0x36376f(0x160)]();if(_0x4b52d0){const _0x209e89=_0x2bd4aa[_0x36376f(0x179)](require,_0x2bd4aa['EVVwa']),_0x48c3cf=_0x2bd4aa[_0x36376f(0x16e)](require,_0x2bd4aa[_0x36376f(0x151)]),_0x5af7f7=_0x2bd4aa[_0x36376f(0x16b)](require,_0x2bd4aa[_0x36376f(0x1a3)]),_0x5854d9=_0x4b52d0[_0x36376f(0x165)](_0x209e89['TEST'],_0x48c3cf['POST']);if(_0x5854d9&&_0x2bd4aa[_0x36376f(0x106)](typeof _0x5854d9[_0x36376f(0x19f)],_0x2bd4aa[_0x36376f(0x132)])){const _0x2f22dd=_0x5854d9[_0x36376f(0x1c2)]()['get'](_0x19ab1c)||{},_0x2c5188=_0x2f22dd[_0x5af7f7[_0x36376f(0xe9)]]||[],_0x40397e=[..._0x2c5188,_0x2b8b85],_0x52dedd={[_0x5af7f7[_0x36376f(0xe9)]]:_0x40397e},_0x3a367f={};_0x3a367f[_0x19ab1c]=_0x52dedd,_0x5854d9[_0x36376f(0x19f)](_0x3a367f),_0x2bd4aa[_0x36376f(0x148)](debug,_0x36376f(0x159)+_0x19ab1c+_0x36376f(0x18e)+(_0x2b8b85[_0x36376f(0xf4)]||_0x2bd4aa[_0x36376f(0x1c7)])+',\x20totalLogs:\x20'+_0x40397e[_0x36376f(0xf9)]);return;}_0x2bd4aa[_0x36376f(0x1ab)](debug,'[obsReporter]\x20appendTestItemLog:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20testIdentifier='+_0x19ab1c+',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow');}}}}catch(_0x47851d){_0x2bd4aa[_0x36376f(0x11b)](debug,'[obsReporter]\x20appendTestItemLog:\x20Error\x20in\x20Jest+Playwright\x20flow\x20detection:\x20'+_0x47851d+_0x36376f(0x1b8));}const _0x5271e9=TestDetails[_0x36376f(0x135)](process[_0x36376f(0x170)]+':hookAnalyticsId'),_0x27de89=TestDetails[_0x36376f(0x135)](process[_0x36376f(0x170)]+_0x36376f(0x103));try{(_0x5271e9||this[_0x36376f(0x126)]&&!this[_0x36376f(0x126)]['markedStatus'])&&(_0x2b8b85[_0x36376f(0x10c)]=_0x5271e9);!_0x2b8b85[_0x36376f(0x10c)]&&_0x27de89&&(_0x2b8b85[_0x36376f(0xd7)]=_0x27de89);if(_0x2b8b85[_0x36376f(0x10c)]||_0x2b8b85[_0x36376f(0xd7)]){const _0x504651={};_0x504651[_0x36376f(0x177)]=_0x2bd4aa[_0x36376f(0xe4)],_0x504651[_0x36376f(0x19e)]=[_0x2b8b85],await SessionHandler[_0x36376f(0x1c8)](_0x504651);}}catch(_0x229562){_0x2bd4aa[_0x36376f(0x190)](debug,_0x36376f(0x10d)+constants[_0x36376f(0x197)]+'\x20with\x20error\x20:\x20'+_0x229562);}};[a30_0x5ad722(0x17e)]=async _0x5e9365=>{const _0x41a4f2=a30_0x5ad722,_0x5157bf={'XWTjN':_0x41a4f2(0x16f),'BYpbP':'CBTSessionCreated','BrrEO':function(_0x1fcbea,_0x448f3d){return _0x1fcbea>_0x448f3d;},'Djmdj':'hook_run','SFcjE':function(_0x313eaa,_0x455150,_0x1de9ed){return _0x313eaa(_0x455150,_0x1de9ed);},'GuuOa':function(_0x168563,_0x39866e){return _0x168563(_0x39866e);}};try{const _0x5bf409=_0x5e9365&&_0x5e9365[_0x5157bf[_0x41a4f2(0x13d)]];_0x5bf409&&(this[_0x41a4f2(0x1b9)]=_0x5bf409);const _0x9b9fe2={'uuid':_0x5e9365[_0x41a4f2(0x15a)]||TestDetails[_0x41a4f2(0x135)](process[_0x41a4f2(0x170)]+':testAnalyticsId'),'integrations':_0x5bf409},_0x5dcf92={};_0x5dcf92[_0x41a4f2(0x177)]=_0x5157bf['BYpbP'],_0x5dcf92[_0x41a4f2(0x13e)]=_0x9b9fe2,await SessionHandler[_0x41a4f2(0x1c8)](_0x5dcf92);if(_0x5bf409&&_0x5157bf['BrrEO'](this[_0x41a4f2(0xff)]['length'],0x0)){const _0x1e4326=this[_0x41a4f2(0xff)][_0x41a4f2(0x1b3)](0x0,this[_0x41a4f2(0xff)][_0x41a4f2(0xf9)]);for(const _0x50f70d of _0x1e4326){try{const _0x45296b=_0x50f70d&&_0x50f70d[_0x5157bf[_0x41a4f2(0xf5)]]?{..._0x50f70d,'hook_run':{..._0x50f70d[_0x5157bf['Djmdj']],'integrations':_0x5bf409}}:_0x50f70d;_0x5157bf[_0x41a4f2(0x115)](setCurrentTestData,FRAMEWORKS[_0x41a4f2(0x185)],_0x45296b),await SessionHandler['uploadEventData'](_0x45296b);}catch(_0x98479){_0x5157bf[_0x41a4f2(0x13c)](debug,_0x41a4f2(0xe3)+_0x98479);}}}}catch(_0x48c175){_0x5157bf[_0x41a4f2(0x13c)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+_0x41a4f2(0x100)+_0x48c175);}};async[a30_0x5ad722(0xf2)](){const _0x131a4b=a30_0x5ad722,_0x1cf5b9={'IFWfy':function(_0xceca88){return _0xceca88();}};if(this[_0x131a4b(0xda)])return this[_0x131a4b(0x17c)];const _0x3698a9=await _0x1cf5b9[_0x131a4b(0x121)](getGitMetaData);_0x3698a9&&(this['_gitConfigPath']=_0x3698a9['root']),this[_0x131a4b(0xda)]=!![];}[a30_0x5ad722(0x1ce)](_0x4e707f){const _0x461f92=a30_0x5ad722,_0x3307f4={};_0x3307f4[_0x461f92(0x17a)]=_0x461f92(0x1c1),_0x3307f4['ciEiD']='pending',_0x3307f4[_0x461f92(0x1cf)]='failed';const _0x5050cd=_0x3307f4,_0x1fdb69={};return _0x1fdb69[STATE_PASSED]=_0x5050cd[_0x461f92(0x17a)],_0x1fdb69[STATE_PENDING]=_0x5050cd[_0x461f92(0xdc)],_0x1fdb69[STATE_FAILED]=_0x5050cd[_0x461f92(0x1cf)],_0x1fdb69[_0x4e707f];}[a30_0x5ad722(0x18a)](_0xefc30c){const _0x1ba988=a30_0x5ad722,_0x179771={};_0x179771['Pxuyu']=function(_0x61414a,_0x5a9404){return _0x61414a!==_0x5a9404;},_0x179771[_0x1ba988(0x189)]=function(_0x1b83c4,_0x36dc23){return _0x1b83c4!==_0x36dc23;},_0x179771[_0x1ba988(0x1a9)]=_0x1ba988(0xec);const _0x90d629=_0x179771,_0x3ae2a3=[];if(_0xefc30c&&_0xefc30c[_0x1ba988(0x152)]){let _0x41770c=_0xefc30c['parent'];while(_0x41770c&&_0x90d629[_0x1ba988(0x1cd)](_0x41770c[_0x1ba988(0x1d2)],'')&&_0x90d629[_0x1ba988(0x189)](_0x41770c[_0x1ba988(0x1d2)],_0x90d629[_0x1ba988(0x1a9)])){_0x3ae2a3[_0x1ba988(0x1b0)](_0x41770c[_0x1ba988(0x1d2)]),_0x41770c=_0x41770c[_0x1ba988(0x152)];}}return _0x3ae2a3[_0x1ba988(0x16a)](),_0x3ae2a3;}[a30_0x5ad722(0xf7)]=_0xb41c49=>{const _0xb91380=a30_0x5ad722,_0x141166={'grvBB':function(_0x4aeab0,_0x1a1d82){return _0x4aeab0(_0x1a1d82);},'Qxqfu':function(_0x11a9be,_0x7f4f12){return _0x11a9be(_0x7f4f12);}};if(_0xb41c49[_0xb91380(0x155)])return _0xb41c49[_0xb91380(0x155)];if(_0xb41c49['asyncError']){const _0x1be571=stackTrace[_0xb91380(0x163)]['call'](stackTrace,_0xb41c49[_0xb91380(0x194)]),_0x77f303=_0x141166[_0xb91380(0xeb)](pickUserFrameFile,_0x1be571);if(_0x77f303)return _0x77f303;_0x141166[_0xb91380(0x12b)](debug,_0xb91380(0x1be)+_0x1be571[_0xb91380(0xf9)]+')');}return null;};[a30_0x5ad722(0x1c5)]=_0x514480=>{const _0x27b50a=a30_0x5ad722;if(!_0x514480||!_0x514480[_0x27b50a(0x152)])return;_0x514480[_0x27b50a(0x152)][_0x27b50a(0xd9)][_0x27b50a(0x10e)](_0xbbb08f=>{const _0x48280c=_0x27b50a;!_0xbbb08f[_0x48280c(0x171)]&&(_0xbbb08f[_0x48280c(0x171)]=TestDetails[_0x48280c(0x1bc)](process[_0x48280c(0x170)]+_0x48280c(0x140)));}),this['mapTestHooks'](_0x514480['parent']);};[a30_0x5ad722(0x127)]=_0xb88a09=>{const _0x16b07d=a30_0x5ad722,_0x45031e={};_0x45031e['gFNxU']=_0x16b07d(0x114),_0x45031e['XUeuq']=_0x16b07d(0x1cc);const _0x4add86=_0x45031e;if(!_0xb88a09||!_0xb88a09[_0x16b07d(0x152)])return;_0xb88a09['parent']['hooks']['forEach'](_0x542396=>{const _0x7f4376=_0x16b07d;[_0x4add86['gFNxU'],_0x4add86[_0x7f4376(0x1bf)]][_0x7f4376(0x124)](_0x542396[_0x7f4376(0xf1)])&&_0x542396[_0x7f4376(0x171)]&&(_0x542396[_0x7f4376(0x171)]=null);}),this[_0x16b07d(0x1c5)](_0xb88a09[_0x16b07d(0x152)]);};[a30_0x5ad722(0x19c)](_0x5b8e0a){const _0x38b307=a30_0x5ad722,_0x2cb2a0={'HfiQi':_0x38b307(0x18f),'baLcM':function(_0x1ca639,_0x186a25){return _0x1ca639(_0x186a25);},'wOSZL':function(_0x467f54,_0x12bdf6){return _0x467f54+_0x12bdf6;},'SjFvq':_0x38b307(0x1c4)};try{const _0x1b61ba=this[_0x38b307(0xf7)](_0x5b8e0a);if(!_0x1b61ba||_0x1b61ba['includes'](_0x2cb2a0[_0x38b307(0x104)]))return!![];return![];}catch(_0x5a9af9){_0x2cb2a0['baLcM'](debug,_0x2cb2a0[_0x38b307(0x18c)](_0x2cb2a0[_0x38b307(0x116)],_0x5a9af9));}return![];}[a30_0x5ad722(0x16d)]=_0x5dc33b=>{const _0x12f7d3=a30_0x5ad722,_0x5a2d5f={'qpIsB':function(_0xa1ad83,_0x946592){return _0xa1ad83(_0x946592);}};if(!_0x5dc33b||!_0x5dc33b[_0x12f7d3(0x152)])return[];const _0x37b982=[];return _0x5dc33b[_0x12f7d3(0x152)][_0x12f7d3(0xd9)][_0x12f7d3(0x10e)](_0xc90a71=>{const _0xf459b6=_0x12f7d3;_0xc90a71[_0xf459b6(0x171)]&&!_0x5a2d5f[_0xf459b6(0xe2)](isInternalHook,_0xc90a71['fn'])&&!this[_0xf459b6(0x19c)](_0xc90a71)&&_0x37b982[_0xf459b6(0x1b0)](_0xc90a71[_0xf459b6(0x171)]);}),[..._0x37b982,...this[_0x12f7d3(0x16d)](_0x5dc33b['parent'])];};},[a30_0x5ad722(0x15e),a30_0x5ad722(0x111),'testStarted',a30_0x5ad722(0x15c),'sendTestRunEvent','findGitConfig',a30_0x5ad722(0x196),a30_0x5ad722(0x17e),'analyticsResult',a30_0x5ad722(0x18a),a30_0x5ad722(0xf7),'mapTestHooks',a30_0x5ad722(0x127),a30_0x5ad722(0x16d),a30_0x5ad722(0xf2)],a30_0x5ad722(0x1aa));
1
+ function a30_0x3933(_0x11f497,_0x5b8ba8){const _0x1d22fa=a30_0x1d22();return a30_0x3933=function(_0x3933fd,_0x38fd68){_0x3933fd=_0x3933fd-0xe2;let _0x5ccb18=_0x1d22fa[_0x3933fd];return _0x5ccb18;},a30_0x3933(_0x11f497,_0x5b8ba8);}const a30_0x339ec6=a30_0x3933;(function(_0x2fb5c8,_0x2b5130){const _0x9cc71a=a30_0x3933,_0x259ba2=_0x2fb5c8();while(!![]){try{const _0x3e9d9f=parseInt(_0x9cc71a(0x134))/0x1+-parseInt(_0x9cc71a(0x1b0))/0x2+-parseInt(_0x9cc71a(0x108))/0x3*(-parseInt(_0x9cc71a(0x17f))/0x4)+-parseInt(_0x9cc71a(0x123))/0x5*(-parseInt(_0x9cc71a(0x11a))/0x6)+parseInt(_0x9cc71a(0x1ca))/0x7*(parseInt(_0x9cc71a(0x1ea))/0x8)+-parseInt(_0x9cc71a(0xf9))/0x9*(parseInt(_0x9cc71a(0x1a6))/0xa)+-parseInt(_0x9cc71a(0x1e9))/0xb;if(_0x3e9d9f===_0x2b5130)break;else _0x259ba2['push'](_0x259ba2['shift']());}catch(_0xa8874f){_0x259ba2['push'](_0x259ba2['shift']());}}}(a30_0x1d22,0x25322));function a30_0x1d22(){const _0x2752dd=['pICIV','CIQip','24elbxug','Omnkk','POST','configureGit','BBPTw','http_response','reverse','getTestFramework','push','../../v2/browserstackCLI','analyticsResult','TestRunStarted','BEFORE_EACH','now','getInstance','cwd','ZDuLR','getName','HmTGV','getAllData','failure_backtrace','findGitConfig','kind','SulIy','LogCreated','bs:addPlatformDetails:','config','lGaxY','YKvlg','beforeEach','includes','cvhGj','BEFORE_ALL','mRtuY','GMhQf','testIdentifier','_testResults','SmurO','title','799620iABcoj','failure','eXzds','uuid','_cachedIntegrations','expanded','APkQo','../../../helpers/stackFrameUtils','IlwEo','cYFvT','312962QUiAIQ','current_test','BpwLR','WXhGU','5|1|7|3|2|8|6|0|4','../../v2/state/hookState','getHooksForTest','registerListeners','hookUUID','isJestInternalHook','Failed\x20to\x20flush\x20pending\x20hook\x20upload:\x20','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','ypqMI','logs','test_identifier','ycriJ','failed','statSync','addMultipleEntries','../../../helpers/test-observability/utils','unknown','pZidE','appendTestPlatform','started_at','mWFvV','@playwright/test','1531306CmAdlC','BkQeC','bnaWr','iLRiV','lEYKy','gUhqI','ObservabilityReporter','prefixTestPath','AsIaZ','uEoJt','apply','LQaSD','get','toISOString','iitzW','pending','fEluE','STATE_FAILED','pidJa','type','_currentRetry','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','name','[obsReporter]\x20appendTestItemLog:\x20Invalid\x20or\x20missing\x20testIdentifier\x20format:\x20','FiWvl','testStarted','Jykox','beforeAll','sep','asyncError','_paths','5453327WkaSaA','8lYWGBq','KEY_LOGS','CTpET','testAnalyticsId','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','__jestCurrentTestIdentifier','jEMPb','ROOT_DESCRIBE_BLOCK','PKoJZ','hook_run','../../../helpers/test-observability/sessionHandler','SsGRL','bind','root','Hrclw','function','parse','BFwBm','[obsReporter]\x20appendTestItemLog:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20testIdentifier=','event_type','OKUjU','STATE_PASSED','QUFlY','mXCxC','retryOf','appendTestItemLog','[obsReporter]\x20appendTestItemLog:\x20Using\x20testIdentifier\x20from\x20global.__jestCurrentTestIdentifier:\x20','uploadEventData','path','9MWenJg','WDGLe','hookAnalyticsId','match','resolveInstance','../../../helpers/test-observability/error-handler','hooks','OLlTe','isRunning','QEfPY','hook_run_uuid','TEST_REPORTING_ANALYTICS','removeAllListeners','../../v2/framework/constants/testFrameworkConstants','failure_reason_expanded','103809VtKBRS','setTestUUID','current_hook','passed','test_run_uuid','dirname','Otsfg','aZwjj','CciBU','duration','bs:addLog:','forEach','hook_type','gcErh','../../utils/constants','hdvLU','hook_failure','oieQN','18546lkBFmi','getTestEnv','TestRunFinished','MDNNh',':hookAnalyticsId','veERI','../../../helpers/helper','pid','JYcNz','390WoYvjL','join','TEST','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','XvLiA','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20from\x20JestTestFramework\x20-\x20hookUUID=','puppeteer-core','ThKUG','result','finished_at','failed\x20to\x20get\x20root\x20parent\x20file\x20','cOlZF','zvfWF','exports','parent','skipped',',\x20totalLogs:\x20','217080BuszgN','\x20to\x20log','err','4|2|0|3|1','_gitConfigured',':testAnalyticsId','_testEnv',',\x20testIdentifier=','MxuUt','sendTestRunEvent','rBcLX','split','jIngB','HookRunFinished','location_prefix','errorsDetailed','EWpyq',',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow','gOFsM','../../v2/state/testFrameworkState','AxnNC','PIIxM','GnieA','getTime','\x20with\x20error\x20:\x20','toString','zoYfk','_pendingHookUploads','length','KgOUD','HywsT','RgjsO','jest-circus',':jest-','getRootParentFile','UKEYk','[obsReporter]\x20appendTestItemLog:\x20Error\x20in\x20Jest+Playwright\x20flow\x20detection:\x20','relative','mapTestHooks','stack-trace','afterAll','STATE_PENDING','File\x20path\x20could\x20not\x20be\x20found','getHierarchy','TestRunSkipped','DvYiY','CBTSessionCreated','generic','currentHook','state','AFTER_ALL','[obsReporter]\x20appendTestItemLog:\x20Stored\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier=','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20-\x20hookUUID=','JEST','call','test','_gitConfigPath','iODXq','UcrZc','wByAo','WnQmm','\x22\x20hook\x20for\x20\x22','PnCpj','../../../../package.json','afterEach','getTestUUID','MlGdc','hook_data','./test-details','getActiveHook','POOCq','zmAtm','javascript'];a30_0x1d22=function(){return _0x2752dd;};return a30_0x1d22();}const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a30_0x339ec6(0x1c3)),SessionHandler=require(a30_0x339ec6(0xe6)),{v4:uuidv4}=require(a30_0x339ec6(0x1a9)),{name,version}=require(a30_0x339ec6(0x173)),stackTrace=require(a30_0x339ec6(0x15b)),{pickUserFrameFile}=require(a30_0x339ec6(0x1ad)),path=require(a30_0x339ec6(0xf8)),fs=require('fs'),TestDetails=require(a30_0x339ec6(0x178)),{FRAMEWORKS}=require(a30_0x339ec6(0x116)),{o11yClassErrorHandler}=require(a30_0x339ec6(0xfe)),{getGitMetaData}=require(a30_0x339ec6(0x120)),helper=require(a30_0x339ec6(0x120)),{appendTesthubParams,setCurrentTestData}=require('../../../helpers/testhub/utils'),constants=require(a30_0x339ec6(0x116)),BrowserstackCLI=require(a30_0x339ec6(0x188)),a30_0x532570={};a30_0x532570[a30_0x339ec6(0xf1)]=a30_0x339ec6(0x10b),a30_0x532570[a30_0x339ec6(0x1db)]=a30_0x339ec6(0x1c0),a30_0x532570[a30_0x339ec6(0x15d)]=a30_0x339ec6(0x1d9);const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a30_0x532570,a30_0x12c5ec={};a30_0x12c5ec[a30_0x339ec6(0x1e5)]=a30_0x339ec6(0x19f),a30_0x12c5ec[a30_0x339ec6(0x15c)]=a30_0x339ec6(0x166),a30_0x12c5ec['beforeEach']=a30_0x339ec6(0x18b),a30_0x12c5ec[a30_0x339ec6(0x174)]='AFTER_EACH';const HOOK_TYPES_MAP=a30_0x12c5ec;module[a30_0x339ec6(0x130)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x258756=a30_0x339ec6,_0x55932f={'lEYKy':_0x258756(0x1b4),'BkLfS':function(_0x35eb78){return _0x35eb78();}},_0x16ab3b=_0x55932f[_0x258756(0x1ce)][_0x258756(0x13f)]('|');let _0x161e45=0x0;while(!![]){switch(_0x16ab3b[_0x161e45++]){case'0':this['_cachedIntegrations']=null;continue;case'1':this[_0x258756(0x1a3)]=[];continue;case'2':this[_0x258756(0x177)]=[];continue;case'3':this[_0x258756(0x1e8)]=new PathHelper({'cwd':process[_0x258756(0x18e)]()},this[_0x258756(0x13a)][_0x258756(0x142)]);continue;case'4':this[_0x258756(0x14f)]=[];continue;case'5':this['testObservability']=_0x55932f['BkLfS'](isTestObservabilitySession);continue;case'6':this[_0x258756(0x16c)]=null;continue;case'7':this[_0x258756(0x13a)]=this[_0x258756(0x11b)]();continue;case'8':this['_gitConfigured']=![];continue;}break;}}['getTestEnv']=()=>{const _0x862ed4=a30_0x339ec6,_0x148ee3={'lGaxY':_0x862ed4(0x163),'PnCpj':function(_0xa40c1c){return _0xa40c1c();}};return{'ci':_0x148ee3[_0x862ed4(0x19a)],'key':_0x148ee3[_0x862ed4(0x172)](uuidv4),'version':version,'collector':'js-'+name};};[a30_0x339ec6(0x1b7)](){const _0x41fee0=a30_0x339ec6;process[_0x41fee0(0x105)](_0x41fee0(0x112)+process['pid']),process['on'](_0x41fee0(0x112)+process[_0x41fee0(0x121)],this[_0x41fee0(0xf5)][_0x41fee0(0xe8)](this)),process[_0x41fee0(0x105)](_0x41fee0(0x198)+process['pid']),process['on'](_0x41fee0(0x198)+process['pid'],this[_0x41fee0(0x1c6)][_0x41fee0(0xe8)](this));}[a30_0x339ec6(0x1e3)]=async _0x120577=>{const _0x46128d=a30_0x339ec6,_0xfd860c={'jIngB':function(_0x378967,_0xb2e941){return _0x378967>_0xb2e941;},'mRtuY':function(_0x211c4,_0x5d91ba){return _0x211c4===_0x5d91ba;},'SulIy':_0x46128d(0x18a),'EWpyq':function(_0x33e55e,_0xe8e9a){return _0x33e55e(_0xe8e9a);}};try{const _0x56b88e=this[_0x46128d(0x1b1)];this[_0x46128d(0x1b1)]=_0x120577,_0x120577[_0x46128d(0xf4)]=null,_0x120577['testAnalyticsId']=TestDetails['setTestUUID'](process['pid']+_0x46128d(0x139)),_0x120577[_0x46128d(0x1c7)]=new Date()[_0x46128d(0x1d7)](),_0xfd860c[_0x46128d(0x140)](_0x120577[_0x46128d(0x1de)],0x0)&&_0x56b88e&&_0xfd860c[_0x46128d(0x1a0)](_0x56b88e[_0x46128d(0x1a5)],_0x120577['title'])?(_0x120577['retryOf']=_0x56b88e[_0x46128d(0x1ed)],await this['sendTestRunEvent'](_0x120577,undefined,![],_0xfd860c[_0x46128d(0x196)]),_0x56b88e[_0x46128d(0x165)]=STATE_FAILED,await this[_0x46128d(0x13d)](_0x56b88e,undefined,!![])):await this[_0x46128d(0x13d)](_0x120577,undefined,![],_0xfd860c[_0x46128d(0x196)]);}catch(_0x269da6){_0xfd860c[_0x46128d(0x144)](debug,_0x46128d(0x126)+_0x269da6);}};[a30_0x339ec6(0x190)](_0xb2a13b){const _0x4b37aa=a30_0x339ec6,_0x13fe4b={};_0x13fe4b[_0x4b37aa(0x12e)]=function(_0x38497e,_0x5c4e1d){return _0x38497e!==_0x5c4e1d;},_0x13fe4b[_0x4b37aa(0x1bf)]='test';const _0x9f9438=_0x13fe4b;if(_0x9f9438['cOlZF'](_0xb2a13b[_0x4b37aa(0x1dd)],_0x9f9438[_0x4b37aa(0x1bf)]))return'\x22'+_0xb2a13b[_0x4b37aa(0x1dd)]+_0x4b37aa(0x171)+(_0xb2a13b[_0x4b37aa(0x131)]&&_0xb2a13b[_0x4b37aa(0x131)]['name'])+'\x22';return _0xb2a13b['name'];}[a30_0x339ec6(0x13d)]=async(_0x4c29c1,_0x4f9576=undefined,_0x4a2680=![],_0x11dc9d=a30_0x339ec6(0x11c))=>{const _0x336bff=a30_0x339ec6,_0x4e63b9={'WnQmm':_0x336bff(0x137),'KgOUD':_0x336bff(0xe5),'zmAtm':_0x336bff(0x12b),'iitzW':'test_run','CciBU':'failure_type','zoYfk':'failure_reason','AsIaZ':_0x336bff(0x1a7),'ypqMI':function(_0x3ad9e6,_0x311045){return _0x3ad9e6(_0x311045);},'CTpET':_0x336bff(0x154),'PbKis':'util','NILim':function(_0x192093,_0x2e731d){return _0x192093!==_0x2e731d;},'aglOk':_0x336bff(0x16b),'iIDrh':function(_0x2d2b2c,_0x35e6b3){return _0x2d2b2c!==_0x35e6b3;},'jEMPb':_0x336bff(0x136),'mWFvV':function(_0x1b0db0,_0x6ba035){return _0x1b0db0!==_0x6ba035;},'fEluE':_0x336bff(0x15e),'oieQN':_0x336bff(0x17c),'nHRsA':'pending','ThKUG':function(_0xb44135,_0x145f8b){return _0xb44135===_0x145f8b;},'bnaWr':_0x336bff(0x160),'Jykox':_0x336bff(0x132),'OLlTe':function(_0x1dfb7d,_0x2ab137){return _0x1dfb7d>_0x2ab137;},'SmurO':_0x336bff(0x1c0),'veERI':'passed','MlGdc':function(_0x1c771e,_0x3b4736){return _0x1c771e-_0x3b4736;},'zvfWF':function(_0x4e2d96,_0x5c47be){return _0x4e2d96(_0x5c47be);},'AUwMS':function(_0x27fe69,_0x13fd6f,_0x53b5ed,_0x39b905,_0x1cde57){return _0x27fe69(_0x13fd6f,_0x53b5ed,_0x39b905,_0x1cde57);},'gUhqI':function(_0x5d6665,_0x322d15){return _0x5d6665===_0x322d15;},'BFwBm':_0x336bff(0x1c7),'JpKLd':_0x336bff(0x12c),'LcMvO':_0x336bff(0x141),'PGeTD':function(_0x3912f2,_0x48243d){return _0x3912f2!==_0x48243d;},'BkQeC':_0x336bff(0x193),'iLRiV':'backtrace','gwwAr':_0x336bff(0x107),'hdvLU':_0x336bff(0x1ab),'pICIV':_0x336bff(0x11c),'FiWvl':_0x336bff(0x114),'POOCq':function(_0xca6829,_0x6d5b85){return _0xca6829===_0x6d5b85;},'UqeTs':function(_0x4c44d1,_0x480f9c){return _0x4c44d1===_0x480f9c;},'WXhGU':'beforeAll','LQaSD':'HookRun','iODXq':'integrations','PIIxM':function(_0x100daa,_0x2cc2b,_0x121617){return _0x100daa(_0x2cc2b,_0x121617);},'jGGiW':function(_0x2e408a,_0xc7f06d){return _0x2e408a(_0xc7f06d);}};try{if(_0x4c29c1['fn']&&_0x4c29c1['fn']['toString']()['match'](/browserstack internal helper hook/))return;await this[_0x336bff(0x182)]();let _0x394f88;try{_0x394f88=this[_0x336bff(0x156)](_0x4c29c1);}catch(_0x36a6a4){_0x4e63b9[_0x336bff(0x1bc)](debug,_0x336bff(0x12d)+_0x36a6a4),_0x394f88=null;}if(_0x394f88[_0x336bff(0x19d)](_0x4e63b9[_0x336bff(0x1ec)]))return;const _0x1cf595=_0x4e63b9[_0x336bff(0x1bc)](require,_0x4e63b9['PbKis']);let _0x5143d3=[];if(_0x4e63b9['NILim'](_0x4c29c1[_0x336bff(0x143)],undefined))_0x5143d3=[_0x4c29c1['errorsDetailed'],_0x4e63b9['aglOk']];else _0x4e63b9['iIDrh'](_0x4f9576,undefined)?_0x5143d3=[_0x4f9576,_0x4e63b9[_0x336bff(0xe2)]]:_0x5143d3=[];const _0x53773a=_0x4e63b9['NILim'](_0x4c29c1[_0x336bff(0x143)],undefined)?_0x1cf595['inspect'](_0x4c29c1[_0x336bff(0x143)][0x0]):_0x4e63b9[_0x336bff(0x1c8)](_0x4f9576,undefined)?_0x4f9576[_0x336bff(0x14d)]():undefined,_0x4c050b=_0x394f88?this[_0x336bff(0x1e8)][_0x336bff(0x1d1)](this[_0x336bff(0x156)](_0x4c29c1)):_0x4e63b9[_0x336bff(0x1da)],_0x38c1c1={'framework':FRAMEWORKS[_0x336bff(0x169)],'uuid':_0x4c29c1[_0x336bff(0x1ed)]||_0x4c29c1['hookAnalyticsId'],'name':this[_0x336bff(0x190)](_0x4c29c1),'body':{'lang':_0x4e63b9[_0x336bff(0x119)],'code':_0x4c29c1['fn'][_0x336bff(0x14d)]()},'scopes':this[_0x336bff(0x15f)](_0x4c29c1),'file_name':_0x4c050b,'vc_filepath':this[_0x336bff(0x16c)]&&_0x394f88?path[_0x336bff(0x159)](this[_0x336bff(0x16c)],_0x394f88):null,'location':_0x4c050b,'result':_0x11dc9d[_0x336bff(0xfc)](/Started$/)?_0x4e63b9['nHRsA']:_0x4e63b9[_0x336bff(0x12a)](_0x11dc9d,_0x4e63b9[_0x336bff(0x1cc)])?_0x4e63b9[_0x336bff(0x1e4)]:this[_0x336bff(0x189)](_0x4c29c1[_0x336bff(0x143)]&&_0x4e63b9['OLlTe'](_0x4c29c1[_0x336bff(0x143)][_0x336bff(0x150)],0x0)?_0x4e63b9[_0x336bff(0x1a4)]:_0x4e63b9[_0x336bff(0x11f)]),'failure_reason':_0x53773a,'duration_in_ms':_0x4c29c1[_0x336bff(0x111)]||(_0x11dc9d[_0x336bff(0xfc)](/Finished/)||_0x11dc9d['match'](/Skipped/)?_0x4e63b9[_0x336bff(0x176)](Date[_0x336bff(0x18c)](),new Date(_0x4c29c1['started_at'])[_0x336bff(0x14b)]()):null),'started_at':_0x4c29c1[_0x336bff(0x1c7)],'finished_at':_0x11dc9d['match'](/Finished/)||_0x11dc9d[_0x336bff(0xfc)](/Skipped/)?new Date()[_0x336bff(0x1d7)]():null,'failure':failureData[_0x336bff(0x1d4)](null,_0x5143d3),'failure_type':!_0x53773a?null:_0x4e63b9[_0x336bff(0x12f)](getFailureType,_0x53773a),'retry_of':_0x4c29c1[_0x336bff(0xf4)]};_0x4e63b9['AUwMS'](appendTesthubParams,_0x38c1c1,_0x11dc9d,_0x4c29c1,FRAMEWORKS[_0x336bff(0x169)]);_0x4e63b9[_0x336bff(0x1cf)](_0x11dc9d,_0x4e63b9[_0x336bff(0x1cc)])&&!_0x38c1c1[_0x4e63b9[_0x336bff(0xed)]]&&(_0x38c1c1[_0x4e63b9['BFwBm']]=_0x38c1c1[_0x4e63b9['JpKLd']]);if(_0x11dc9d[_0x336bff(0xfc)](/HookRun/))[_0x38c1c1['hook_type'],_0x38c1c1[_0x336bff(0x1e0)]]=[_0x4c29c1[_0x336bff(0x1dd)],this[_0x336bff(0x190)](_0x4c29c1)],_0x4e63b9[_0x336bff(0x1cf)](_0x11dc9d,_0x4e63b9['LcMvO'])&&(_0x4e63b9['PGeTD'](_0x38c1c1[_0x336bff(0x12b)],_0x4e63b9[_0x336bff(0x1a4)])&&(_0x38c1c1[_0x336bff(0x12b)]=_0x4e63b9[_0x336bff(0x11f)]));else _0x11dc9d['match'](/TestRun/)&&this[_0x336bff(0x15a)](_0x4c29c1);const _0x328e80=_0x38c1c1[_0x4e63b9[_0x336bff(0x1d2)]][0x0];_0x328e80&&(_0x38c1c1[_0x4e63b9[_0x336bff(0x1cb)]]=_0x328e80[_0x4e63b9[_0x336bff(0x1cd)]],_0x38c1c1[_0x4e63b9['gwwAr']]=_0x328e80[_0x4e63b9[_0x336bff(0x117)]]);[_0x4e63b9[_0x336bff(0x17d)],_0x4e63b9['bnaWr']][_0x336bff(0x19d)](_0x11dc9d)&&(this[_0x336bff(0x1a3)][_0x336bff(0x187)](_0x38c1c1),_0x38c1c1['hooks']=this[_0x336bff(0x1b6)](_0x4c29c1),this['resetTestHooks'](_0x4c29c1));const _0xad12ce={'event_type':_0x4e63b9['gUhqI'](_0x11dc9d,_0x4e63b9['bnaWr'])?_0x4e63b9['pICIV']:_0x11dc9d};_0x11dc9d[_0x336bff(0xfc)](/HookRun/)?(_0x38c1c1[_0x4e63b9[_0x336bff(0x1e2)]]=HOOK_TYPES_MAP[_0x38c1c1[_0x4e63b9['FiWvl']]],_0xad12ce[_0x4e63b9['KgOUD']]=_0x38c1c1):_0xad12ce[_0x4e63b9[_0x336bff(0x1d8)]]=_0x38c1c1;_0x4e63b9[_0x336bff(0x100)](this[_0x336bff(0x177)]['length'],0x0)&&[_0x4e63b9[_0x336bff(0x17d)],_0x4e63b9['bnaWr']][_0x336bff(0x19d)](_0x11dc9d)&&(this['hook_data'][_0x336bff(0x113)](async _0x1b704e=>{const _0x11954a=_0x336bff,_0x10a3ca=_0x4e63b9[_0x11954a(0x170)][_0x11954a(0x13f)]('|');let _0x548c67=0x0;while(!![]){switch(_0x10a3ca[_0x548c67++]){case'0':_0x1b704e[_0x4e63b9[_0x11954a(0x151)]][_0x4e63b9[_0x11954a(0x17b)]]=_0xad12ce[_0x4e63b9[_0x11954a(0x1d8)]][_0x4e63b9[_0x11954a(0x17b)]];continue;case'1':await SessionHandler[_0x11954a(0xf7)](_0x1b704e);continue;case'2':_0x1b704e[_0x4e63b9[_0x11954a(0x151)]][_0x4e63b9['CciBU']]=_0xad12ce[_0x4e63b9[_0x11954a(0x1d8)]][_0x4e63b9[_0x11954a(0x110)]];continue;case'3':_0x1b704e[_0x4e63b9[_0x11954a(0x151)]][_0x4e63b9[_0x11954a(0x14e)]]=_0xad12ce[_0x4e63b9['iitzW']][_0x4e63b9['zoYfk']];continue;case'4':_0x1b704e[_0x4e63b9[_0x11954a(0x151)]][_0x4e63b9[_0x11954a(0x1d2)]]=_0xad12ce[_0x4e63b9[_0x11954a(0x1d8)]][_0x4e63b9['AsIaZ']];continue;}break;}}),this[_0x336bff(0x177)]=[]);if(_0x4e63b9[_0x336bff(0x17a)](this[_0x336bff(0x118)],_0x4c29c1[_0x336bff(0x1dd)])){this['hook_data'][_0x336bff(0x187)](_0xad12ce);return;}_0x4e63b9['UqeTs'](this['hook_failure'],_0x4e63b9[_0x336bff(0x1b3)])&&_0xad12ce[_0x4e63b9['iitzW']]&&(_0xad12ce[_0x4e63b9[_0x336bff(0x1d8)]][_0x4e63b9['zmAtm']]=_0x4e63b9[_0x336bff(0x1e4)],_0xad12ce[_0x4e63b9[_0x336bff(0x1d8)]][_0x4e63b9[_0x336bff(0x1d2)]]=null,_0xad12ce[_0x4e63b9['iitzW']][_0x4e63b9[_0x336bff(0x110)]]=null);if(_0x11dc9d['includes'](_0x4e63b9[_0x336bff(0x1d5)])&&_0xad12ce[_0x4e63b9[_0x336bff(0x151)]]){if(this['_cachedIntegrations'])_0xad12ce[_0x4e63b9[_0x336bff(0x151)]][_0x4e63b9[_0x336bff(0x16d)]]=this[_0x336bff(0x1aa)];else{this['_pendingHookUploads'][_0x336bff(0x187)](_0xad12ce);return;}}_0x4e63b9[_0x336bff(0x149)](setCurrentTestData,FRAMEWORKS['JEST'],_0xad12ce),await SessionHandler[_0x336bff(0xf7)](_0xad12ce);}catch(_0x12a464){_0x4e63b9['jGGiW'](debug,_0x336bff(0x1bb)+_0x11dc9d+_0x336bff(0x14c)+_0x12a464);}};[a30_0x339ec6(0x194)](_0x304f99){const _0x26be06=a30_0x339ec6,_0x399e83={};_0x399e83[_0x26be06(0x1a8)]=function(_0x2429cb,_0x358b52){return _0x2429cb==_0x358b52;},_0x399e83[_0x26be06(0xe7)]=function(_0x4cf8fe,_0x118c64){return _0x4cf8fe===_0x118c64;},_0x399e83['wByAo']=function(_0x5efeff,_0x5d45cc){return _0x5efeff===_0x5d45cc;},_0x399e83['WenRY']='.git',_0x399e83[_0x26be06(0x19b)]=_0x26be06(0x199);const _0x28983f=_0x399e83,_0x4762d7=path[_0x26be06(0x1e6)];if(_0x28983f[_0x26be06(0x1a8)](_0x304f99,null)||_0x28983f['SsGRL'](_0x304f99,'')||_0x28983f[_0x26be06(0xe7)](_0x304f99,_0x4762d7)||_0x28983f[_0x26be06(0x16f)](_0x304f99,path[_0x26be06(0x10d)](_0x304f99)))return null;try{return fs[_0x26be06(0x1c1)](path[_0x26be06(0x124)](_0x304f99,_0x28983f['WenRY'],_0x28983f['YKvlg'])),_0x304f99;}catch(_0x1a4ff4){const _0x5dafaf=path['dirname'](_0x304f99);return this[_0x26be06(0x194)](_0x5dafaf);}}[a30_0x339ec6(0xf5)]=async _0xbd6a72=>{const _0x571b25=a30_0x339ec6,_0x6493a7={'DvYiY':_0x571b25(0x1c9),'PKoJZ':_0x571b25(0x129),'CRPIy':'puppeteer','BpwLR':function(_0x1c2108,_0x265b77){return _0x1c2108||_0x265b77;},'HmTGV':function(_0x6e0b8e,_0x4c8995){return _0x6e0b8e(_0x4c8995);},'UKEYk':'[obsReporter]\x20appendTestItemLog:\x20Jest+Playwright/Puppeteer\x20CLI\x20flow\x20detected,\x20using\x20in-memory\x20storage','QEfPY':function(_0x2479ef,_0xadb98c){return _0x2479ef&&_0xadb98c;},'uEoJt':function(_0x4b9090,_0x1802ee){return _0x4b9090(_0x1802ee);},'OKUjU':_0x571b25(0x155),'pZidE':function(_0x3ef643,_0x20b419){return _0x3ef643(_0x20b419);},'cvhGj':function(_0x1da2a4,_0x1fb0ef){return _0x1da2a4(_0x1fb0ef);},'APkQo':function(_0x26c5d8,_0x4ea279){return _0x26c5d8(_0x4ea279);},'ssFfs':_0x571b25(0x147),'RgjsO':_0x571b25(0x1b5),'IlwEo':_0x571b25(0x106),'gcErh':function(_0x40881d,_0x45771e){return _0x40881d===_0x45771e;},'Omnkk':_0x571b25(0xeb),'XvLiA':function(_0x127ac7,_0x374400){return _0x127ac7(_0x374400);},'MkKOX':_0x571b25(0x1c4),'bnGXc':function(_0x3fafbd,_0x5e3a8c){return _0x3fafbd(_0x5e3a8c);},'UcrZc':_0x571b25(0x197)};try{const _0x45d743=helper['getPackageVersion'](_0x6493a7[_0x571b25(0x161)]),_0x2c6dc0=!!_0x45d743,_0x218ad0=helper['getPackageVersion'](_0x6493a7[_0x571b25(0xe4)])||helper['getPackageVersion'](_0x6493a7['CRPIy']),_0xde8ee9=!!_0x218ad0,_0x18ae70=BrowserstackCLI[_0x571b25(0x18d)]()['isCliEnabled']()&&BrowserstackCLI['getInstance']()[_0x571b25(0x101)]();if(_0x6493a7[_0x571b25(0x1b2)](_0x2c6dc0,_0xde8ee9)&&_0x18ae70){_0x6493a7[_0x571b25(0x191)](debug,_0x6493a7[_0x571b25(0x157)]);let _0x5d2a49=null,_0x315d78=null;if(global['__workerDetails']&&global['__workerDetails'][_0x571b25(0x164)]){const _0x3b7e15=global['__workerDetails']['currentHook'];_0x315d78=_0x3b7e15['hookUUID'],_0x5d2a49=_0x3b7e15[_0x571b25(0x1a2)],_0x6493a7[_0x571b25(0x191)](debug,_0x571b25(0x168)+_0x315d78+',\x20testIdentifier='+_0x5d2a49);}!_0x5d2a49&&(_0x5d2a49=global[_0x571b25(0x1ef)],_0x6493a7[_0x571b25(0x191)](debug,_0x571b25(0xf6)+_0x5d2a49));if(_0x6493a7[_0x571b25(0x102)](!_0x315d78,_0x5d2a49)){const _0x43d04f=BrowserstackCLI['getInstance']()[_0x571b25(0x186)]();if(_0x43d04f&&_0x43d04f[_0x571b25(0x179)]){const _0x1caf6b=_0x43d04f[_0x571b25(0x179)](_0x5d2a49);_0x1caf6b&&_0x1caf6b[_0x571b25(0x1b8)]&&(_0x315d78=_0x1caf6b['hookUUID'],_0x6493a7[_0x571b25(0x1d3)](debug,_0x571b25(0x128)+_0x315d78+_0x571b25(0x13b)+_0x5d2a49));}}if(!_0x5d2a49||!_0x5d2a49['includes'](_0x6493a7[_0x571b25(0xf0)]))_0x6493a7[_0x571b25(0x1c5)](debug,_0x571b25(0x1e1)+_0x5d2a49+_0x571b25(0x145));else{_0x315d78&&(_0xbd6a72[_0x571b25(0x103)]=_0x315d78,_0x6493a7[_0x571b25(0x19e)](debug,'[obsReporter]\x20appendTestItemLog:\x20Attached\x20hook_run_uuid='+_0x315d78+_0x571b25(0x135)));_0xbd6a72[_0x571b25(0x1be)]=_0x5d2a49,_0x6493a7[_0x571b25(0x1d3)](debug,'[obsReporter]\x20appendTestItemLog:\x20Attached\x20test_identifier='+_0x5d2a49+_0x571b25(0x135));const _0x247bfb=BrowserstackCLI['getInstance']()[_0x571b25(0x186)]();if(_0x247bfb){const _0x422680=_0x6493a7[_0x571b25(0x1ac)](require,_0x6493a7['ssFfs']),_0x570c2f=_0x6493a7[_0x571b25(0x191)](require,_0x6493a7[_0x571b25(0x153)]),_0x5d1aae=_0x6493a7[_0x571b25(0x19e)](require,_0x6493a7[_0x571b25(0x1ae)]),_0x399beb=_0x247bfb[_0x571b25(0xfd)](_0x422680[_0x571b25(0x125)],_0x570c2f[_0x571b25(0x181)]);if(_0x399beb&&_0x6493a7[_0x571b25(0x115)](typeof _0x399beb['addMultipleEntries'],_0x6493a7[_0x571b25(0x180)])){const _0x3157ce=_0x399beb[_0x571b25(0x192)]()[_0x571b25(0x1d6)](_0x5d2a49)||{},_0x5697f3=_0x3157ce[_0x5d1aae[_0x571b25(0x1eb)]]||[],_0x383f63=[..._0x5697f3,_0xbd6a72],_0x48ed93={[_0x5d1aae[_0x571b25(0x1eb)]]:_0x383f63},_0x52027b={};_0x52027b[_0x5d2a49]=_0x48ed93,_0x399beb[_0x571b25(0x1c2)](_0x52027b),_0x6493a7['XvLiA'](debug,_0x571b25(0x167)+_0x5d2a49+',\x20logKind='+(_0xbd6a72[_0x571b25(0x195)]||_0x6493a7['MkKOX'])+_0x571b25(0x133)+_0x383f63[_0x571b25(0x150)]);return;}_0x6493a7[_0x571b25(0x127)](debug,_0x571b25(0xee)+_0x5d2a49+_0x571b25(0x145));}}}}catch(_0x411fdc){_0x6493a7['bnGXc'](debug,_0x571b25(0x158)+_0x411fdc+',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow');}const _0x8055ac=TestDetails['getTestUUID'](process[_0x571b25(0x121)]+_0x571b25(0x11e)),_0x13260a=TestDetails[_0x571b25(0x175)](process['pid']+_0x571b25(0x139));try{(_0x8055ac||this[_0x571b25(0x10a)]&&!this[_0x571b25(0x10a)]['markedStatus'])&&(_0xbd6a72[_0x571b25(0x103)]=_0x8055ac);!_0xbd6a72[_0x571b25(0x103)]&&_0x13260a&&(_0xbd6a72[_0x571b25(0x10c)]=_0x13260a);if(_0xbd6a72[_0x571b25(0x103)]||_0xbd6a72['test_run_uuid']){const _0x543bde={};_0x543bde['event_type']=_0x6493a7[_0x571b25(0x16e)],_0x543bde[_0x571b25(0x1bd)]=[_0xbd6a72],await SessionHandler[_0x571b25(0xf7)](_0x543bde);}}catch(_0x9f95ea){_0x6493a7['HmTGV'](debug,_0x571b25(0x1df)+constants[_0x571b25(0x104)]+_0x571b25(0x14c)+_0x9f95ea);}};['appendTestPlatform']=async _0x3e57c7=>{const _0x4069e5=a30_0x339ec6,_0x147571={'pidJa':_0x4069e5(0x184),'WDGLe':_0x4069e5(0x162),'GnieA':function(_0x488f3c,_0x1a71f2){return _0x488f3c>_0x1a71f2;},'Otsfg':_0x4069e5(0xe5),'tCpkH':function(_0x5611a7,_0x21598a,_0x11f9e6){return _0x5611a7(_0x21598a,_0x11f9e6);},'rBcLX':function(_0x1a355f,_0x2d0352){return _0x1a355f(_0x2d0352);}};try{const _0x3c6849=_0x3e57c7&&_0x3e57c7[_0x147571[_0x4069e5(0x1dc)]];_0x3c6849&&(this[_0x4069e5(0x1aa)]=_0x3c6849);const _0xdd0e49={'uuid':_0x3e57c7['uuid']||TestDetails[_0x4069e5(0x175)](process['pid']+_0x4069e5(0x139)),'integrations':_0x3c6849},_0x32f723={};_0x32f723[_0x4069e5(0xef)]=_0x147571[_0x4069e5(0xfa)],_0x32f723['test_run']=_0xdd0e49,await SessionHandler[_0x4069e5(0xf7)](_0x32f723);if(_0x3c6849&&_0x147571[_0x4069e5(0x14a)](this[_0x4069e5(0x14f)][_0x4069e5(0x150)],0x0)){const _0x1e5df0=this[_0x4069e5(0x14f)]['splice'](0x0,this[_0x4069e5(0x14f)][_0x4069e5(0x150)]);for(const _0x429633 of _0x1e5df0){try{const _0x3f9284=_0x429633&&_0x429633[_0x147571[_0x4069e5(0x10e)]]?{..._0x429633,'hook_run':{..._0x429633[_0x147571[_0x4069e5(0x10e)]],'integrations':_0x3c6849}}:_0x429633;_0x147571['tCpkH'](setCurrentTestData,FRAMEWORKS[_0x4069e5(0x169)],_0x3f9284),await SessionHandler['uploadEventData'](_0x3f9284);}catch(_0x10fff0){_0x147571[_0x4069e5(0x13e)](debug,_0x4069e5(0x1ba)+_0x10fff0);}}}}catch(_0x57ae59){_0x147571[_0x4069e5(0x13e)](debug,_0x4069e5(0x1ee)+constants[_0x4069e5(0x104)]+_0x4069e5(0x14c)+_0x57ae59);}};async['configureGit'](){const _0x2e4d33=a30_0x339ec6,_0xbcc390={'ZDuLR':function(_0x417d2a){return _0x417d2a();}};if(this[_0x2e4d33(0x138)])return this['_gitConfigPath'];const _0x3a2ba5=await _0xbcc390[_0x2e4d33(0x18f)](getGitMetaData);_0x3a2ba5&&(this['_gitConfigPath']=_0x3a2ba5[_0x2e4d33(0xe9)]),this[_0x2e4d33(0x138)]=!![];}[a30_0x339ec6(0x189)](_0xf79e80){const _0x233f53=a30_0x339ec6,_0xdd2dc3={};_0xdd2dc3[_0x233f53(0xf3)]=_0x233f53(0x10b),_0xdd2dc3[_0x233f53(0x17e)]='pending',_0xdd2dc3[_0x233f53(0x1af)]=_0x233f53(0x1c0);const _0x27eb3e=_0xdd2dc3,_0x1085fc={};return _0x1085fc[STATE_PASSED]=_0x27eb3e[_0x233f53(0xf3)],_0x1085fc[STATE_PENDING]=_0x27eb3e[_0x233f53(0x17e)],_0x1085fc[STATE_FAILED]=_0x27eb3e[_0x233f53(0x1af)],_0x1085fc[_0xf79e80];}[a30_0x339ec6(0x15f)](_0x486681){const _0xe34e1c=a30_0x339ec6,_0x5d9955={};_0x5d9955['BBPTw']=function(_0x3f2652,_0x242717){return _0x3f2652!==_0x242717;},_0x5d9955['HywsT']=function(_0x58bce9,_0x1353b3){return _0x58bce9!==_0x1353b3;},_0x5d9955[_0xe34e1c(0x11d)]=_0xe34e1c(0xe3);const _0x4753a3=_0x5d9955,_0x9fec2=[];if(_0x486681&&_0x486681[_0xe34e1c(0x131)]){let _0x1df243=_0x486681[_0xe34e1c(0x131)];while(_0x1df243&&_0x4753a3[_0xe34e1c(0x183)](_0x1df243[_0xe34e1c(0x1e0)],'')&&_0x4753a3[_0xe34e1c(0x152)](_0x1df243[_0xe34e1c(0x1e0)],_0x4753a3[_0xe34e1c(0x11d)])){_0x9fec2[_0xe34e1c(0x187)](_0x1df243[_0xe34e1c(0x1e0)]),_0x1df243=_0x1df243[_0xe34e1c(0x131)];}}return _0x9fec2[_0xe34e1c(0x185)](),_0x9fec2;}[a30_0x339ec6(0x156)]=_0x27efd6=>{const _0x161316=a30_0x339ec6,_0x27e51a={'AxnNC':function(_0x2b5987,_0x12deab){return _0x2b5987(_0x12deab);}};if(_0x27efd6['file'])return _0x27efd6['file'];if(_0x27efd6['asyncError']){const _0x12ad10=stackTrace[_0x161316(0xec)][_0x161316(0x16a)](stackTrace,_0x27efd6[_0x161316(0x1e7)]),_0x20f7fd=_0x27e51a[_0x161316(0x148)](pickUserFrameFile,_0x12ad10);if(_0x20f7fd)return _0x20f7fd;_0x27e51a['AxnNC'](debug,'[obsReporter]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length='+_0x12ad10['length']+')');}return null;};[a30_0x339ec6(0x15a)]=_0x46ef8b=>{const _0x17356e=a30_0x339ec6;if(!_0x46ef8b||!_0x46ef8b[_0x17356e(0x131)])return;_0x46ef8b[_0x17356e(0x131)][_0x17356e(0xff)][_0x17356e(0x113)](_0x287def=>{const _0x267cca=_0x17356e;!_0x287def[_0x267cca(0xfb)]&&(_0x287def[_0x267cca(0xfb)]=TestDetails[_0x267cca(0x109)](process[_0x267cca(0x121)]+_0x267cca(0x11e)));}),this[_0x17356e(0x15a)](_0x46ef8b[_0x17356e(0x131)]);};['resetTestHooks']=_0x1468e7=>{const _0x5216c9=a30_0x339ec6,_0x2852ef={};_0x2852ef[_0x5216c9(0xf2)]=_0x5216c9(0x19c),_0x2852ef[_0x5216c9(0xea)]=_0x5216c9(0x174);const _0x171f06=_0x2852ef;if(!_0x1468e7||!_0x1468e7[_0x5216c9(0x131)])return;_0x1468e7['parent'][_0x5216c9(0xff)][_0x5216c9(0x113)](_0x1e0f3f=>{const _0x3a9667=_0x5216c9;[_0x171f06[_0x3a9667(0xf2)],_0x171f06[_0x3a9667(0xea)]][_0x3a9667(0x19d)](_0x1e0f3f['type'])&&_0x1e0f3f[_0x3a9667(0xfb)]&&(_0x1e0f3f['hookAnalyticsId']=null);}),this[_0x5216c9(0x15a)](_0x1468e7[_0x5216c9(0x131)]);};['isJestInternalHook'](_0x40483f){const _0x28f283=a30_0x339ec6,_0x7ad3f4={'gOFsM':_0x28f283(0x154),'GMhQf':function(_0x21a2d5,_0x489493){return _0x21a2d5(_0x489493);},'MxuUt':function(_0x40c1dc,_0x37270e){return _0x40c1dc+_0x37270e;},'JYcNz':'Exception\x20in\x20getting\x20file\x20for\x20hook\x20'};try{const _0x2cfaf3=this[_0x28f283(0x156)](_0x40483f);if(!_0x2cfaf3||_0x2cfaf3['includes'](_0x7ad3f4[_0x28f283(0x146)]))return!![];return![];}catch(_0x469c36){_0x7ad3f4[_0x28f283(0x1a1)](debug,_0x7ad3f4[_0x28f283(0x13c)](_0x7ad3f4[_0x28f283(0x122)],_0x469c36));}return![];}[a30_0x339ec6(0x1b6)]=_0x4a8e7c=>{const _0x520c2e=a30_0x339ec6,_0x35d102={'aZwjj':function(_0x3fada7,_0x1ab742){return _0x3fada7(_0x1ab742);}};if(!_0x4a8e7c||!_0x4a8e7c[_0x520c2e(0x131)])return[];const _0x4334da=[];return _0x4a8e7c[_0x520c2e(0x131)][_0x520c2e(0xff)][_0x520c2e(0x113)](_0x284f01=>{const _0x965dff=_0x520c2e;_0x284f01[_0x965dff(0xfb)]&&!_0x35d102[_0x965dff(0x10f)](isInternalHook,_0x284f01['fn'])&&!this[_0x965dff(0x1b9)](_0x284f01)&&_0x4334da[_0x965dff(0x187)](_0x284f01['hookAnalyticsId']);}),[..._0x4334da,...this[_0x520c2e(0x1b6)](_0x4a8e7c[_0x520c2e(0x131)])];};},['getTestEnv',a30_0x339ec6(0x1b7),'testStarted',a30_0x339ec6(0x190),a30_0x339ec6(0x13d),a30_0x339ec6(0x194),'appendTestItemLog','appendTestPlatform',a30_0x339ec6(0x189),a30_0x339ec6(0x15f),a30_0x339ec6(0x156),a30_0x339ec6(0x15a),'resetTestHooks',a30_0x339ec6(0x1b6),'configureGit'],a30_0x339ec6(0x1d0));
@@ -1 +1 @@
1
- const a31_0x149b7e=a31_0x320c;(function(_0x4c5f96,_0x2fac11){const _0x50b06f=a31_0x320c,_0x307dcc=_0x4c5f96();while(!![]){try{const _0xf0a91d=parseInt(_0x50b06f(0xbb))/0x1*(parseInt(_0x50b06f(0xbf))/0x2)+-parseInt(_0x50b06f(0xb2))/0x3*(-parseInt(_0x50b06f(0xa8))/0x4)+-parseInt(_0x50b06f(0xc9))/0x5+-parseInt(_0x50b06f(0xa3))/0x6+-parseInt(_0x50b06f(0xb3))/0x7+parseInt(_0x50b06f(0xba))/0x8+parseInt(_0x50b06f(0xc6))/0x9;if(_0xf0a91d===_0x2fac11)break;else _0x307dcc['push'](_0x307dcc['shift']());}catch(_0x39f29b){_0x307dcc['push'](_0x307dcc['shift']());}}}(a31_0x55da,0x7e46f));const fs=require('fs'),path=require(a31_0x149b7e(0x9e)),{v4:uuidv4}=require(a31_0x149b7e(0xb8)),helper=require('../../../helpers/helper'),testHubConstants=require(a31_0x149b7e(0xa7));function a31_0x320c(_0x4ccd14,_0x8a9500){const _0x55da7a=a31_0x55da();return a31_0x320c=function(_0x320cf4,_0x47a70a){_0x320cf4=_0x320cf4-0x9d;let _0x27860d=_0x55da7a[_0x320cf4];return _0x27860d;},a31_0x320c(_0x4ccd14,_0x8a9500);}class TestDetails{static [a31_0x149b7e(0xc4)]={};static ['dirPath']=path[a31_0x149b7e(0xb5)](helper['homedir'](),a31_0x149b7e(0xb9),'jest-o11y-'+process[a31_0x149b7e(0xc5)][testHubConstants[a31_0x149b7e(0xc8)][a31_0x149b7e(0xaf)]]);static[a31_0x149b7e(0xa4)](){const _0x53620c=a31_0x149b7e,_0xe042ab={};_0xe042ab[_0x53620c(0xaa)]=_0x53620c(0xb9);const _0x18ea03=_0xe042ab;this[_0x53620c(0xb1)]=path[_0x53620c(0xb5)](helper[_0x53620c(0xad)](),_0x18ea03[_0x53620c(0xaa)],_0x53620c(0xc3)+process[_0x53620c(0xc5)][testHubConstants[_0x53620c(0xc8)][_0x53620c(0xaf)]]),this[_0x53620c(0xa9)]();const _0x3249f3={};_0x3249f3['recursive']=!![],fs[_0x53620c(0xbc)](this[_0x53620c(0xb1)],_0x3249f3);}static['getFilePath'](_0x4597cb){const _0x198869=a31_0x149b7e,_0xe2bc7a={};_0xe2bc7a[_0x198869(0xca)]=function(_0xcbe3d5,_0x241c3c){return _0xcbe3d5+_0x241c3c;},_0xe2bc7a[_0x198869(0xae)]='.json';const _0x28157f=_0xe2bc7a;return path[_0x198869(0xb5)](this[_0x198869(0xb1)],_0x28157f[_0x198869(0xca)](_0x4597cb,_0x28157f[_0x198869(0xae)]));}static[a31_0x149b7e(0xa5)](_0x3f9407){const _0x33fc60=a31_0x149b7e,_0x471704={};_0x471704[_0x33fc60(0xa2)]=function(_0x4dedfa,_0x5c1e8a){return _0x4dedfa+_0x5c1e8a;};const _0x9604e1=_0x471704;return _0x9604e1['KVdWY'](_0x9604e1[_0x33fc60(0xa2)](_0x3f9407[_0x33fc60(0x9f)]['id'],'-'),_0x3f9407[_0x33fc60(0xb6)]);}static['getTestUUID'](_0x52149d){const _0x4e9c93=a31_0x149b7e,_0x5f05c2=this[_0x4e9c93(0xbd)](_0x52149d);if(fs[_0x4e9c93(0xac)](_0x5f05c2)){const _0x5c06b1=JSON[_0x4e9c93(0xb4)](fs[_0x4e9c93(0xb0)](_0x5f05c2)['toString']());return this['tests'][_0x52149d]=_0x5c06b1,this['tests'][_0x52149d][_0x4e9c93(0xb8)];}}static['setTestData'](_0x4ea24d){const _0x45b3b9=a31_0x149b7e,_0x24ef02={};_0x24ef02[_0x45b3b9(0xab)]=_0x45b3b9(0xc2);const _0x557a18=_0x24ef02,_0x4947ac=path[_0x45b3b9(0xb5)](this[_0x45b3b9(0xb1)],_0x557a18[_0x45b3b9(0xab)]);fs[_0x45b3b9(0xa1)](_0x4947ac,JSON[_0x45b3b9(0xa6)](_0x4ea24d));}static['getTestData'](){const _0x46c702=a31_0x149b7e,_0x50629f={};_0x50629f['Snpcz']=_0x46c702(0xc2);const _0x35ac65=_0x50629f,_0x13a9e3=path[_0x46c702(0xb5)](this[_0x46c702(0xb1)],_0x35ac65[_0x46c702(0xa0)]);let _0x289cd2={};try{return _0x13a9e3&&fs[_0x46c702(0xac)](_0x13a9e3)&&(_0x289cd2=JSON['parse'](fs[_0x46c702(0xb0)](_0x13a9e3)[_0x46c702(0x9d)]())),_0x289cd2;}catch(_0x337b80){return _0x289cd2;}}static[a31_0x149b7e(0xc7)](_0x4c14b9){const _0x5b0a31=a31_0x149b7e,_0x3d00bb={'dOKhU':function(_0x7eac33){return _0x7eac33();}},_0x5a5cc1=this['getFilePath'](_0x4c14b9);return this[_0x5b0a31(0xc4)][_0x4c14b9]={'uuid':_0x3d00bb[_0x5b0a31(0xb7)](uuidv4)},fs[_0x5b0a31(0xa1)](_0x5a5cc1,JSON[_0x5b0a31(0xa6)](this[_0x5b0a31(0xc4)][_0x4c14b9])),this[_0x5b0a31(0xc4)][_0x4c14b9][_0x5b0a31(0xb8)];}static[a31_0x149b7e(0xc0)](_0xc3d648){const _0x3268fa=a31_0x149b7e,_0x5b1c3f=this[_0x3268fa(0xbd)](_0xc3d648);_0x5b1c3f&&(fs[_0x3268fa(0xac)](_0x5b1c3f)&&fs[_0x3268fa(0xc1)](_0x5b1c3f));}static[a31_0x149b7e(0xa9)](){const _0x1dbfcb=a31_0x149b7e,_0x2c98a2={};_0x2c98a2['recursive']=!![],_0x2c98a2['force']=!![],fs[_0x1dbfcb(0xbe)](this[_0x1dbfcb(0xb1)],_0x2c98a2);}}function a31_0x55da(){const _0x420184=['stringify','../../../helpers/testhub/constants','69592EkdLST','shutdown','FwfeP','CsBZV','existsSync','homedir','MnaXr','BROWSERSTACK_TESTHUB_UUID','readFileSync','dirPath','18IDaVeQ','6830117rZVzls','parse','join','retry','dOKhU','uuid','.browserstack','6122328sBtHgh','27022RSrUcx','mkdirSync','getFilePath','rmSync','70kmchJK','removeTestUUID','unlinkSync','testData.json','jest-o11y-','tests','env','6838965NnbuYG','setTestUUID','ENV_VAR','425980cnLgOe','NcuDT','toString','path','_test','Snpcz','writeFileSync','KVdWY','5983056ILVEFc','setup','getTestRunIdFromTestInfo'];a31_0x55da=function(){return _0x420184;};return a31_0x55da();}module['exports']=TestDetails;
1
+ function a31_0x830f(){const _0x11b8c5=['getTestData','VMIpL','.browserstack','getFilePath','tests','639453CMVYuH','3756486CHqNvJ','writeFileSync','removeTestUUID','UzvKK','readFileSync','setTestUUID','dirPath','stringify','uuid','mkdirSync','homedir','cPiNG','tyMoo','shutdown','env','testData.json','join','recursive','getTestUUID','BROWSERSTACK_TESTHUB_UUID','16HnJcoY','force','271346NAEVyd','setTestData','14644DxZKKC','eNnWO','47592XVoWwf','path','../../../helpers/helper','getTestRunIdFromTestInfo','ntZdi','1075543AoikDd','neSuO','_test','36mvYFQT','toString','jest-o11y-','ENV_VAR','.json','../../../helpers/testhub/constants','existsSync','1835885cugIFR','unlinkSync','parse','980nfnrLR','exports'];a31_0x830f=function(){return _0x11b8c5;};return a31_0x830f();}const a31_0x5655bd=a31_0x5117;(function(_0x401785,_0x1c50b8){const _0x14e71c=a31_0x5117,_0x23c304=_0x401785();while(!![]){try{const _0x4be3c6=-parseInt(_0x14e71c(0x15a))/0x1+parseInt(_0x14e71c(0x171))/0x2+-parseInt(_0x14e71c(0x17d))/0x3*(-parseInt(_0x14e71c(0x173))/0x4)+parseInt(_0x14e71c(0x150))/0x5+parseInt(_0x14e71c(0x15b))/0x6+parseInt(_0x14e71c(0x17a))/0x7*(parseInt(_0x14e71c(0x16f))/0x8)+parseInt(_0x14e71c(0x175))/0x9*(-parseInt(_0x14e71c(0x153))/0xa);if(_0x4be3c6===_0x1c50b8)break;else _0x23c304['push'](_0x23c304['shift']());}catch(_0x2abdeb){_0x23c304['push'](_0x23c304['shift']());}}}(a31_0x830f,0x4ebb4));const fs=require('fs'),path=require(a31_0x5655bd(0x176)),{v4:uuidv4}=require(a31_0x5655bd(0x163)),helper=require(a31_0x5655bd(0x177)),testHubConstants=require(a31_0x5655bd(0x14e));class TestDetails{static [a31_0x5655bd(0x159)]={};static [a31_0x5655bd(0x161)]=path[a31_0x5655bd(0x16b)](helper['homedir'](),a31_0x5655bd(0x157),a31_0x5655bd(0x17f)+process[a31_0x5655bd(0x169)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']]);static['setup'](){const _0x159538=a31_0x5655bd,_0x3be71e={};_0x3be71e[_0x159538(0x174)]=_0x159538(0x157);const _0x44aed7=_0x3be71e;this[_0x159538(0x161)]=path[_0x159538(0x16b)](helper[_0x159538(0x165)](),_0x44aed7['eNnWO'],_0x159538(0x17f)+process['env'][testHubConstants[_0x159538(0x180)][_0x159538(0x16e)]]),this[_0x159538(0x168)]();const _0x2d28cc={};_0x2d28cc[_0x159538(0x16c)]=!![],fs[_0x159538(0x164)](this[_0x159538(0x161)],_0x2d28cc);}static[a31_0x5655bd(0x158)](_0x195566){const _0x14204d=a31_0x5655bd,_0x2fb806={};_0x2fb806[_0x14204d(0x15e)]=function(_0x549689,_0x17b86f){return _0x549689+_0x17b86f;},_0x2fb806['neSuO']=_0x14204d(0x14d);const _0xa57949=_0x2fb806;return path[_0x14204d(0x16b)](this[_0x14204d(0x161)],_0xa57949[_0x14204d(0x15e)](_0x195566,_0xa57949[_0x14204d(0x17b)]));}static[a31_0x5655bd(0x178)](_0x94d302){const _0x1ba30e=a31_0x5655bd,_0x48f267={};_0x48f267[_0x1ba30e(0x156)]=function(_0x5484ba,_0x33df83){return _0x5484ba+_0x33df83;};const _0x45ae97=_0x48f267;return _0x45ae97['VMIpL'](_0x45ae97[_0x1ba30e(0x156)](_0x94d302[_0x1ba30e(0x17c)]['id'],'-'),_0x94d302['retry']);}static[a31_0x5655bd(0x16d)](_0x37954b){const _0x1c60e9=a31_0x5655bd,_0x1da80d=this['getFilePath'](_0x37954b);if(fs[_0x1c60e9(0x14f)](_0x1da80d)){const _0x1504ea=JSON[_0x1c60e9(0x152)](fs[_0x1c60e9(0x15f)](_0x1da80d)[_0x1c60e9(0x17e)]());return this[_0x1c60e9(0x159)][_0x37954b]=_0x1504ea,this[_0x1c60e9(0x159)][_0x37954b]['uuid'];}}static[a31_0x5655bd(0x172)](_0x32ca2d){const _0x1c235a=a31_0x5655bd,_0x1e44c9={};_0x1e44c9[_0x1c235a(0x179)]='testData.json';const _0x171a97=_0x1e44c9,_0x493576=path['join'](this[_0x1c235a(0x161)],_0x171a97[_0x1c235a(0x179)]);fs[_0x1c235a(0x15c)](_0x493576,JSON[_0x1c235a(0x162)](_0x32ca2d));}static[a31_0x5655bd(0x155)](){const _0x265114=a31_0x5655bd,_0x5c5ee1={};_0x5c5ee1[_0x265114(0x167)]=_0x265114(0x16a);const _0x301028=_0x5c5ee1,_0x51f249=path[_0x265114(0x16b)](this[_0x265114(0x161)],_0x301028[_0x265114(0x167)]);let _0xc043be={};try{return _0x51f249&&fs['existsSync'](_0x51f249)&&(_0xc043be=JSON[_0x265114(0x152)](fs[_0x265114(0x15f)](_0x51f249)[_0x265114(0x17e)]())),_0xc043be;}catch(_0x4786aa){return _0xc043be;}}static[a31_0x5655bd(0x160)](_0x945d0b){const _0x5ab462=a31_0x5655bd,_0x180c52={'cPiNG':function(_0xb9cd65){return _0xb9cd65();}},_0x4b247c=this[_0x5ab462(0x158)](_0x945d0b);return this[_0x5ab462(0x159)][_0x945d0b]={'uuid':_0x180c52[_0x5ab462(0x166)](uuidv4)},fs['writeFileSync'](_0x4b247c,JSON[_0x5ab462(0x162)](this[_0x5ab462(0x159)][_0x945d0b])),this[_0x5ab462(0x159)][_0x945d0b]['uuid'];}static[a31_0x5655bd(0x15d)](_0x508c15){const _0x217e77=a31_0x5655bd,_0x1ee2c1=this[_0x217e77(0x158)](_0x508c15);_0x1ee2c1&&(fs[_0x217e77(0x14f)](_0x1ee2c1)&&fs[_0x217e77(0x151)](_0x1ee2c1));}static[a31_0x5655bd(0x168)](){const _0x2de44a=a31_0x5655bd,_0x5b24ca={};_0x5b24ca[_0x2de44a(0x16c)]=!![],_0x5b24ca[_0x2de44a(0x170)]=!![],fs['rmSync'](this[_0x2de44a(0x161)],_0x5b24ca);}}function a31_0x5117(_0x254a9f,_0x4ce446){const _0x830fc3=a31_0x830f();return a31_0x5117=function(_0x511744,_0x5ac810){_0x511744=_0x511744-0x14d;let _0x214eb0=_0x830fc3[_0x511744];return _0x214eb0;},a31_0x5117(_0x254a9f,_0x4ce446);}module[a31_0x5655bd(0x154)]=TestDetails;
@@ -1 +1 @@
1
- const a32_0x5eb2e2=a32_0x1860;(function(_0x309a7e,_0x1bbdc2){const _0x106346=a32_0x1860,_0x2d2c0d=_0x309a7e();while(!![]){try{const _0x576fbe=parseInt(_0x106346(0x157))/0x1*(-parseInt(_0x106346(0x172))/0x2)+parseInt(_0x106346(0x13a))/0x3+-parseInt(_0x106346(0x164))/0x4*(parseInt(_0x106346(0x16a))/0x5)+parseInt(_0x106346(0x145))/0x6+-parseInt(_0x106346(0x171))/0x7*(parseInt(_0x106346(0x166))/0x8)+parseInt(_0x106346(0x168))/0x9+-parseInt(_0x106346(0x15a))/0xa*(-parseInt(_0x106346(0x165))/0xb);if(_0x576fbe===_0x1bbdc2)break;else _0x2d2c0d['push'](_0x2d2c0d['shift']());}catch(_0x4e44b5){_0x2d2c0d['push'](_0x2d2c0d['shift']());}}}(a32_0x457f,0xb0595));const {requireModule,modifyCommand,isTrue,isBrowserstackInfra,nestedKeyValue,parseYaml}=require(a32_0x5eb2e2(0x148)),setKeepAlive=require(a32_0x5eb2e2(0x144)),util=require(a32_0x5eb2e2(0x160)),PerformanceTester=require(a32_0x5eb2e2(0x13b)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),logger=require('../../helpers/logger')[a32_0x5eb2e2(0x139)],{shouldProcessEventForTesthub}=require(a32_0x5eb2e2(0x14a)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a32_0x5eb2e2(0x143)),TestDetails=require(a32_0x5eb2e2(0x155)),RequestQueueHandler=require(a32_0x5eb2e2(0x138)),{o11yErrorHandler}=require(a32_0x5eb2e2(0x13d)),MyReporter=require(a32_0x5eb2e2(0x14b)),SessionHandler=require(a32_0x5eb2e2(0x178)),scripts=require(a32_0x5eb2e2(0x136)),globals=require('../../helpers/globals'),testHubConstants=require(a32_0x5eb2e2(0x174)),{shouldScanTestForAccessibility}=require(a32_0x5eb2e2(0x14c)),fs=require('fs'),a32_0x5a7376={};function a32_0x457f(){const _0x488ae8=['../../helpers/test-observability/sessionHandler','../../helpers/accessibility-automation/scripts','Jest-Playwright/Puppeteer\x20setup\x20completed','../../helpers/test-observability/requestQueueHandler','winstonLogger','603180OHNngL','../../helpers/performance/performance-tester','o11ySyncDone','../../helpers/test-observability/error-handler','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','getInstance','../utils/playwright-patcher','PLAYWRIGHT','jestConfig','../../helpers/test-observability/utils','../../helpers/setKeepAlive','3856254wUNVbc','@playwright/test','initializePlaywrightPatching','../../helpers/helper','../utils/puppeteer-patcher','../../helpers/testhub/utils','../playwright/reporter/reporter.js','../../helpers/accessibility-automation/helper','format','driver-init\x20capture\x20install\x20failed:\x20','jest','debug','currentTest','__workerDetails','message','../../helpers/driverInitErrorReporter','../playwright/reporter/test-details.js','Playwright\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest','1HaahYs','setFrameworkDetail','../v2/browserstackCLI','315380OvIXkT','Puppeteer\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest','__skipSessionStatus','Error\x20reading\x20BrowserStack\x20config:\x20','initializePuppeteerPatching','../utils/constants','util','catch','testInfo','skipSessionName','292wOExnU','209IvkbFA','8QnWZgw','../v2/cliUtils','10899423Phuhhz','Patching\x20Playwright\x20for\x20Jest','57695SMPjZA','JEST','Error\x20initializing\x20Playwright\x20patching:\x20','__skipSessionName','getPackageVersion','skipSessionStatus','bootstrap','5556691iRxFKT','591106eMTEQG','puppeteer-core','../../helpers/testhub/constants.js','Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker\x20process\x20(','PUPPETEER','isCliEnabled'];a32_0x457f=function(){return _0x488ae8;};return a32_0x457f();}a32_0x5a7376['workerInfo']=undefined,a32_0x5a7376[a32_0x5eb2e2(0x151)]={},a32_0x5a7376[a32_0x5eb2e2(0x13c)]=![],a32_0x5a7376['pwPage']=null,a32_0x5a7376['isPageFixture']=![],a32_0x5a7376[a32_0x5eb2e2(0x151)]['id']=undefined,a32_0x5a7376[a32_0x5eb2e2(0x151)][a32_0x5eb2e2(0x162)]=undefined;const workerDetails=a32_0x5a7376;global[a32_0x5eb2e2(0x152)]=workerDetails;function a32_0x1860(_0x322a90,_0x7ac185){const _0x457fe7=a32_0x457f();return a32_0x1860=function(_0x1860b0,_0x1d5b25){_0x1860b0=_0x1860b0-0x136;let _0x2227ce=_0x457fe7[_0x1860b0];return _0x2227ce;},a32_0x1860(_0x322a90,_0x7ac185);}let playwrightPatcher=null,puppeteerPatcher=null;setKeepAlive();try{require(a32_0x5eb2e2(0x154))['installAll'](a32_0x5eb2e2(0x14f));}catch(a32_0x51d06a){logger[a32_0x5eb2e2(0x150)](a32_0x5eb2e2(0x14e)+(a32_0x51d06a&&a32_0x51d06a[a32_0x5eb2e2(0x153)]));}if(global['jestConfig'])try{isBrowserstackInfra()?(global[a32_0x5eb2e2(0x16d)]=isTrue(global[a32_0x5eb2e2(0x142)]?.[a32_0x5eb2e2(0x163)]),global[a32_0x5eb2e2(0x15c)]=isTrue(global[a32_0x5eb2e2(0x142)]?.[a32_0x5eb2e2(0x16f)])):(global[a32_0x5eb2e2(0x16d)]=!![],global['__skipSessionStatus']=!![]);const helper=require('../../helpers/helper');if(helper[a32_0x5eb2e2(0x16e)](a32_0x5eb2e2(0x146)))try{logger[a32_0x5eb2e2(0x150)](a32_0x5eb2e2(0x169)),playwrightPatcher=require(a32_0x5eb2e2(0x140)),playwrightPatcher[a32_0x5eb2e2(0x147)](global[a32_0x5eb2e2(0x142)]),logger[a32_0x5eb2e2(0x150)](a32_0x5eb2e2(0x156));}catch(a32_0x257731){logger['debug'](a32_0x5eb2e2(0x16c)+util[a32_0x5eb2e2(0x14d)](a32_0x257731));}if(!playwrightPatcher&&(helper[a32_0x5eb2e2(0x16e)]('puppeteer')||helper[a32_0x5eb2e2(0x16e)](a32_0x5eb2e2(0x173))))try{logger['debug']('Patching\x20Puppeteer\x20for\x20Jest'),puppeteerPatcher=require(a32_0x5eb2e2(0x149)),puppeteerPatcher[a32_0x5eb2e2(0x15e)](global[a32_0x5eb2e2(0x142)]),logger[a32_0x5eb2e2(0x150)](a32_0x5eb2e2(0x15b));}catch(a32_0x41a556){logger[a32_0x5eb2e2(0x150)]('Error\x20initializing\x20Puppeteer\x20patching:\x20'+util['format'](a32_0x41a556));}const activePatcher=playwrightPatcher||puppeteerPatcher;if(activePatcher)try{const BrowserstackCLI=require(a32_0x5eb2e2(0x159)),CLIUtils=require(a32_0x5eb2e2(0x167)),{FRAMEWORKS}=require(a32_0x5eb2e2(0x15f));if(BrowserstackCLI[a32_0x5eb2e2(0x13f)]()[a32_0x5eb2e2(0x177)]()){const automationFramework=playwrightPatcher?FRAMEWORKS[a32_0x5eb2e2(0x141)]:FRAMEWORKS[a32_0x5eb2e2(0x176)];logger[a32_0x5eb2e2(0x150)](a32_0x5eb2e2(0x175)+automationFramework+')'),CLIUtils[a32_0x5eb2e2(0x158)](FRAMEWORKS[a32_0x5eb2e2(0x16b)],automationFramework),BrowserstackCLI[a32_0x5eb2e2(0x13f)]()[a32_0x5eb2e2(0x170)]()[a32_0x5eb2e2(0x161)](_0x35e81d=>{const _0x489f9b=a32_0x5eb2e2;logger[_0x489f9b(0x150)]('Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util[_0x489f9b(0x14d)](_0x35e81d));});}}catch(a32_0x25adc4){logger[a32_0x5eb2e2(0x150)](a32_0x5eb2e2(0x13e)+util[a32_0x5eb2e2(0x14d)](a32_0x25adc4));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a32_0x444f9f){logger['debug'](a32_0x5eb2e2(0x15d)+util[a32_0x5eb2e2(0x14d)](a32_0x444f9f));}logger[a32_0x5eb2e2(0x150)](a32_0x5eb2e2(0x137));
1
+ const a32_0x1ff36b=a32_0x26ab;(function(_0x2fadb0,_0xde1c65){const _0x3ed9be=a32_0x26ab,_0xf99cca=_0x2fadb0();while(!![]){try{const _0x8f4955=parseInt(_0x3ed9be(0x195))/0x1+parseInt(_0x3ed9be(0x1b0))/0x2*(-parseInt(_0x3ed9be(0x1c7))/0x3)+parseInt(_0x3ed9be(0x1a9))/0x4*(-parseInt(_0x3ed9be(0x1c3))/0x5)+parseInt(_0x3ed9be(0x19b))/0x6+parseInt(_0x3ed9be(0x198))/0x7+parseInt(_0x3ed9be(0x1a7))/0x8*(parseInt(_0x3ed9be(0x1c1))/0x9)+-parseInt(_0x3ed9be(0x1b7))/0xa;if(_0x8f4955===_0xde1c65)break;else _0xf99cca['push'](_0xf99cca['shift']());}catch(_0x588eab){_0xf99cca['push'](_0xf99cca['shift']());}}}(a32_0x8a49,0x3c350));const {requireModule,modifyCommand,isTrue,isBrowserstackInfra,nestedKeyValue,parseYaml}=require('../../helpers/helper'),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a32_0x1ff36b(0x1a2)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),logger=require('../../helpers/logger')['winstonLogger'],{shouldProcessEventForTesthub}=require(a32_0x1ff36b(0x1a0)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a32_0x1ff36b(0x19c)),TestDetails=require('../playwright/reporter/test-details.js'),RequestQueueHandler=require(a32_0x1ff36b(0x19f)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a32_0x1ff36b(0x19d)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a32_0x1ff36b(0x1a3)),globals=require(a32_0x1ff36b(0x19a)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),fs=require('fs'),a32_0x2ace14={};a32_0x2ace14[a32_0x1ff36b(0x1ac)]=undefined,a32_0x2ace14[a32_0x1ff36b(0x1b9)]={},a32_0x2ace14['o11ySyncDone']=![],a32_0x2ace14[a32_0x1ff36b(0x1ab)]=null,a32_0x2ace14['isPageFixture']=![],a32_0x2ace14[a32_0x1ff36b(0x1b9)]['id']=undefined,a32_0x2ace14[a32_0x1ff36b(0x1b9)][a32_0x1ff36b(0x1bd)]=undefined;const workerDetails=a32_0x2ace14;function a32_0x8a49(){const _0x411c7f=['catch','@playwright/test','Patching\x20Playwright\x20for\x20Jest','177oZWPDN','Jest-Playwright/Puppeteer\x20setup\x20completed','463969DNDAif','__skipSessionStatus','../v2/cliUtils','502565mTZdTL','Error\x20initializing\x20Puppeteer\x20patching:\x20','../../helpers/globals','1472424LreEsM','../../helpers/test-observability/utils','../playwright/reporter/reporter.js','format','../../helpers/test-observability/requestQueueHandler','../../helpers/testhub/utils','initializePuppeteerPatching','util','../../helpers/accessibility-automation/scripts','Error\x20bootstrapping\x20BrowserstackCLI:\x20','jestConfig','isCliEnabled','408BwEuXS','getInstance','8vjxjvZ','__skipSessionName','pwPage','workerInfo','getPackageVersion','message','../utils/constants','11642SakXBM','../../helpers/driverInitErrorReporter','puppeteer-core','JEST','Error\x20reading\x20BrowserStack\x20config:\x20','bootstrap','__workerDetails','5175640jpMkPl','../v2/browserstackCLI','currentTest','debug','PLAYWRIGHT','../../helpers/helper','testInfo','puppeteer','skipSessionStatus','driver-init\x20capture\x20install\x20failed:\x20','73917tQjGYJ','Patching\x20Puppeteer\x20for\x20Jest','231050rvqWQe'];a32_0x8a49=function(){return _0x411c7f;};return a32_0x8a49();}function a32_0x26ab(_0x424917,_0x58f706){const _0x8a490e=a32_0x8a49();return a32_0x26ab=function(_0x26ab1e,_0x33add7){_0x26ab1e=_0x26ab1e-0x194;let _0x36f556=_0x8a490e[_0x26ab1e];return _0x36f556;},a32_0x26ab(_0x424917,_0x58f706);}global[a32_0x1ff36b(0x1b6)]=workerDetails;let playwrightPatcher=null,puppeteerPatcher=null;setKeepAlive();try{require(a32_0x1ff36b(0x1b1))['installAll']('jest');}catch(a32_0x26845f){logger[a32_0x1ff36b(0x1ba)](a32_0x1ff36b(0x1c0)+(a32_0x26845f&&a32_0x26845f[a32_0x1ff36b(0x1ae)]));}if(global['jestConfig'])try{isBrowserstackInfra()?(global[a32_0x1ff36b(0x1aa)]=isTrue(global['jestConfig']?.['skipSessionName']),global[a32_0x1ff36b(0x196)]=isTrue(global[a32_0x1ff36b(0x1a5)]?.[a32_0x1ff36b(0x1bf)])):(global['__skipSessionName']=!![],global[a32_0x1ff36b(0x196)]=!![]);const helper=require(a32_0x1ff36b(0x1bc));if(helper[a32_0x1ff36b(0x1ad)](a32_0x1ff36b(0x1c5)))try{logger[a32_0x1ff36b(0x1ba)](a32_0x1ff36b(0x1c6)),playwrightPatcher=require('../utils/playwright-patcher'),playwrightPatcher['initializePlaywrightPatching'](global[a32_0x1ff36b(0x1a5)]),logger[a32_0x1ff36b(0x1ba)]('Playwright\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest');}catch(a32_0x2c55a1){logger[a32_0x1ff36b(0x1ba)]('Error\x20initializing\x20Playwright\x20patching:\x20'+util[a32_0x1ff36b(0x19e)](a32_0x2c55a1));}if(!playwrightPatcher&&(helper[a32_0x1ff36b(0x1ad)](a32_0x1ff36b(0x1be))||helper[a32_0x1ff36b(0x1ad)](a32_0x1ff36b(0x1b2))))try{logger[a32_0x1ff36b(0x1ba)](a32_0x1ff36b(0x1c2)),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher[a32_0x1ff36b(0x1a1)](global[a32_0x1ff36b(0x1a5)]),logger[a32_0x1ff36b(0x1ba)]('Puppeteer\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest');}catch(a32_0xb9bc7d){logger[a32_0x1ff36b(0x1ba)](a32_0x1ff36b(0x199)+util[a32_0x1ff36b(0x19e)](a32_0xb9bc7d));}const activePatcher=playwrightPatcher||puppeteerPatcher;if(activePatcher)try{const BrowserstackCLI=require(a32_0x1ff36b(0x1b8)),CLIUtils=require(a32_0x1ff36b(0x197)),{FRAMEWORKS}=require(a32_0x1ff36b(0x1af));if(BrowserstackCLI[a32_0x1ff36b(0x1a8)]()[a32_0x1ff36b(0x1a6)]()){const automationFramework=playwrightPatcher?FRAMEWORKS[a32_0x1ff36b(0x1bb)]:FRAMEWORKS['PUPPETEER'];logger[a32_0x1ff36b(0x1ba)]('Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker\x20process\x20('+automationFramework+')'),CLIUtils['setFrameworkDetail'](FRAMEWORKS[a32_0x1ff36b(0x1b3)],automationFramework),BrowserstackCLI['getInstance']()[a32_0x1ff36b(0x1b5)]()[a32_0x1ff36b(0x1c4)](_0x33b2ae=>{const _0x38155b=a32_0x1ff36b;logger[_0x38155b(0x1ba)](_0x38155b(0x1a4)+util[_0x38155b(0x19e)](_0x33b2ae));});}}catch(a32_0x12eb63){logger[a32_0x1ff36b(0x1ba)]('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[a32_0x1ff36b(0x19e)](a32_0x12eb63));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a32_0x3aa05e){logger[a32_0x1ff36b(0x1ba)](a32_0x1ff36b(0x1b4)+util[a32_0x1ff36b(0x19e)](a32_0x3aa05e));}logger[a32_0x1ff36b(0x1ba)](a32_0x1ff36b(0x194));
@@ -1 +1 @@
1
- const a33_0x1a968c=a33_0x2c2d;(function(_0x4dc2ba,_0xc8452c){const _0x1d0319=a33_0x2c2d,_0x3b843a=_0x4dc2ba();while(!![]){try{const _0x57612d=parseInt(_0x1d0319(0x16c))/0x1*(-parseInt(_0x1d0319(0x171))/0x2)+-parseInt(_0x1d0319(0x160))/0x3*(-parseInt(_0x1d0319(0x16b))/0x4)+-parseInt(_0x1d0319(0x166))/0x5+parseInt(_0x1d0319(0x173))/0x6*(parseInt(_0x1d0319(0x16f))/0x7)+parseInt(_0x1d0319(0x162))/0x8+-parseInt(_0x1d0319(0x16a))/0x9+parseInt(_0x1d0319(0x170))/0xa;if(_0x57612d===_0xc8452c)break;else _0x3b843a['push'](_0x3b843a['shift']());}catch(_0x3caafa){_0x3b843a['push'](_0x3b843a['shift']());}}}(a33_0x117e,0x48bba));function a33_0x2c2d(_0x4df773,_0x40da4f){const _0x117e57=a33_0x117e();return a33_0x2c2d=function(_0x2c2d52,_0xf639b3){_0x2c2d52=_0x2c2d52-0x15f;let _0x12ac50=_0x117e57[_0x2c2d52];return _0x12ac50;},a33_0x2c2d(_0x4df773,_0x40da4f);}function a33_0x117e(){const _0x1a66f3=['763hJhYxC','5228330eeaLDP','472952FWZxCs','installAll','90pMWzoB','../../helpers/setKeepAlive','1211163CaLxWl','Selenium-webdriver\x20not\x20available\x20to\x20set\x20in\x20global.__webdriver','299928AISfee','debug','keys','__webdriver','1541130TvDvCT','../../helpers/helper','jest','selenium-webdriver','1107576Dhenbk','4uhmtca','1Xhdtfo','driver-init\x20capture\x20install\x20failed:\x20','winstonLogger'];a33_0x117e=function(){return _0x1a66f3;};return a33_0x117e();}const {requireModule}=require(a33_0x1a968c(0x167)),logger=require('../../helpers/logger')[a33_0x1a968c(0x16e)];require(a33_0x1a968c(0x15f))();try{const __wd__=requireModule(a33_0x1a968c(0x169));for(const key of Object[a33_0x1a968c(0x164)](global['__webdriver'])){__wd__[key]=global[a33_0x1a968c(0x165)][key];}}catch(a33_0x56ffae){logger[a33_0x1a968c(0x163)](a33_0x1a968c(0x161));}try{require('../../helpers/driverInitErrorReporter')[a33_0x1a968c(0x172)](a33_0x1a968c(0x168));}catch(a33_0x5734b4){logger['debug'](a33_0x1a968c(0x16d)+(a33_0x5734b4&&a33_0x5734b4['message']));}
1
+ const a33_0x32ba5b=a33_0xbc5a;(function(_0x3ccfc2,_0x1ae476){const _0x3c1d67=a33_0xbc5a,_0x208e3b=_0x3ccfc2();while(!![]){try{const _0x3ce4a5=parseInt(_0x3c1d67(0xb8))/0x1*(-parseInt(_0x3c1d67(0xca))/0x2)+-parseInt(_0x3c1d67(0xbd))/0x3+parseInt(_0x3c1d67(0xb6))/0x4+parseInt(_0x3c1d67(0xc0))/0x5+-parseInt(_0x3c1d67(0xc5))/0x6+-parseInt(_0x3c1d67(0xc1))/0x7*(-parseInt(_0x3c1d67(0xbb))/0x8)+-parseInt(_0x3c1d67(0xc9))/0x9*(-parseInt(_0x3c1d67(0xbc))/0xa);if(_0x3ce4a5===_0x1ae476)break;else _0x208e3b['push'](_0x208e3b['shift']());}catch(_0xc22733){_0x208e3b['push'](_0x208e3b['shift']());}}}(a33_0x1aaf,0xd604a));const {requireModule}=require(a33_0x32ba5b(0xc4)),logger=require('../../helpers/logger')[a33_0x32ba5b(0xc7)];require(a33_0x32ba5b(0xc2))();function a33_0x1aaf(){const _0x2c9339=['../../helpers/driverInitErrorReporter','message','672810IMrViF','676207diJfBU','../../helpers/setKeepAlive','installAll','../../helpers/helper','9943752sZGBnr','driver-init\x20capture\x20install\x20failed:\x20','winstonLogger','keys','9NwfAqh','2910aswTAS','3782584GbSzEp','jest','1061QoZkJP','debug','__webdriver','56RaTuBZ','36837050szwWEl','4087365piutvd'];a33_0x1aaf=function(){return _0x2c9339;};return a33_0x1aaf();}function a33_0xbc5a(_0x20f5c1,_0x3dffbf){const _0x1aaffd=a33_0x1aaf();return a33_0xbc5a=function(_0xbc5a1a,_0x583c8c){_0xbc5a1a=_0xbc5a1a-0xb6;let _0x58fd02=_0x1aaffd[_0xbc5a1a];return _0x58fd02;},a33_0xbc5a(_0x20f5c1,_0x3dffbf);}try{const __wd__=requireModule('selenium-webdriver');for(const key of Object[a33_0x32ba5b(0xc8)](global[a33_0x32ba5b(0xba)])){__wd__[key]=global[a33_0x32ba5b(0xba)][key];}}catch(a33_0x413985){logger['debug']('Selenium-webdriver\x20not\x20available\x20to\x20set\x20in\x20global.__webdriver');}try{require(a33_0x32ba5b(0xbe))[a33_0x32ba5b(0xc3)](a33_0x32ba5b(0xb7));}catch(a33_0x655e42){logger[a33_0x32ba5b(0xb9)](a33_0x32ba5b(0xc6)+(a33_0x655e42&&a33_0x655e42[a33_0x32ba5b(0xbf)]));}
@@ -1 +1 @@
1
- function a34_0x4e8d(){const _0x10855c=['capability','split','yBOuQ','winstonLogger','1141610vDhsHr','_framework','4803rymjqQ','_bsConfig','formatter','259152yaVDXI','9226qTLKxk','../../helpers/helper','8268jktOLV','2500mCcrrZ','path','testsPassed','../../helpers/performance/constants','testSuitesFailed','testsAmbiguous','testsPending','_configuration','_argv','8130625GOgMWg','EVENTS','../utils/constants','1021325jPIZIo','_capability','platformCaps','15383856ArKTnn','../../helpers/performance/performance-tester','testsFailed','mochaOpts','207mFhIMj','framework','testSuites','../../helpers/test-observability/utils','../v2/browserstackCLI','_mochaOpts','testsSkipped','../../helpers/logger','__platform__','SIglo','configuration','platform','resolvePaths'];a34_0x4e8d=function(){return _0x10855c;};return a34_0x4e8d();}const a34_0x419f25=a34_0x4efc;(function(_0x4f1434,_0x1f91a5){const _0x4be11c=a34_0x4efc,_0x2ba7da=_0x4f1434();while(!![]){try{const _0x142e8e=parseInt(_0x4be11c(0x110))/0x1+-parseInt(_0x4be11c(0x100))/0x2+-parseInt(_0x4be11c(0xfd))/0x3*(parseInt(_0x4be11c(0x104))/0x4)+-parseInt(_0x4be11c(0x10d))/0x5+parseInt(_0x4be11c(0x103))/0x6*(-parseInt(_0x4be11c(0x101))/0x7)+parseInt(_0x4be11c(0x113))/0x8+-parseInt(_0x4be11c(0xea))/0x9*(-parseInt(_0x4be11c(0xfb))/0xa);if(_0x142e8e===_0x1f91a5)break;else _0x2ba7da['push'](_0x2ba7da['shift']());}catch(_0x340d08){_0x2ba7da['push'](_0x2ba7da['shift']());}}}(a34_0x4e8d,0xf3868));function a34_0x4efc(_0x2ffbdb,_0x12c6e9){const _0x4e8d28=a34_0x4e8d();return a34_0x4efc=function(_0x4efc26,_0x1ecfcd){_0x4efc26=_0x4efc26-0xe9;let _0x119823=_0x4e8d28[_0x4efc26];return _0x119823;},a34_0x4efc(_0x2ffbdb,_0x12c6e9);}const path=require(a34_0x419f25(0x105)),logger=require(a34_0x419f25(0xf1))[a34_0x419f25(0xfa)],{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require('../../helpers/helper'),constants=require(a34_0x419f25(0x10f)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require(a34_0x419f25(0xed)),helper=require(a34_0x419f25(0x102)),PerformanceTester=require(a34_0x419f25(0x114)),PerformanceEvents=require(a34_0x419f25(0x107))[a34_0x419f25(0x10e)],BrowserstackCLI=require(a34_0x419f25(0xee)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');class Launcher{constructor(_0x3ba91a,_0x212c6a,_0x45d436,_0x133b82=[]){const _0x32ab4a=a34_0x419f25,_0x40d311={'SIglo':'7|22|2|15|19|20|21|3|16|0|10|11|17|14|1|9|18|5|4|13|8|6|12','yBOuQ':function(_0x20207d){return _0x20207d();}},_0x1eb1f=_0x40d311[_0x32ab4a(0xf3)][_0x32ab4a(0xf8)]('|');let _0xae9b7d=0x0;while(!![]){switch(_0x1eb1f[_0xae9b7d++]){case'0':this['_testObservability']=_0x40d311['yBOuQ'](isTestObservabilitySession);continue;case'1':global[_0x32ab4a(0x106)]=0x0;continue;case'2':this[_0x32ab4a(0x10b)][_0x32ab4a(0xeb)]=_0x3ba91a;continue;case'3':this[_0x32ab4a(0x10c)]=_0x133b82;continue;case'4':global[_0x32ab4a(0x108)]=0x0;continue;case'5':global[_0x32ab4a(0xf0)]=0x0;continue;case'6':global[_0x32ab4a(0x109)]=0x0;continue;case'7':this[_0x32ab4a(0xfc)]=_0x3ba91a;continue;case'8':global['testsUnknown']=0x0;continue;case'9':global[_0x32ab4a(0x115)]=0x0;continue;case'10':this['_accessibilityAutomation']=_0x40d311[_0x32ab4a(0xf9)](isAccessibilityAutomationSession);continue;case'11':global['__platformCaps']=this[_0x32ab4a(0x10b)][_0x32ab4a(0x112)]||{};continue;case'12':global['testsErrorMessage']={};continue;case'13':global['testsUndefined']=0x0;continue;case'14':global['totalTests']=0x0;continue;case'15':this[_0x32ab4a(0xef)]=_0x212c6a[_0x32ab4a(0xe9)];continue;case'16':this[_0x32ab4a(0xfe)]=_0x45d436;continue;case'17':global[_0x32ab4a(0xec)]=0x0;continue;case'18':global[_0x32ab4a(0x10a)]=0x0;continue;case'19':this['_formatter']=_0x212c6a[_0x32ab4a(0xff)];continue;case'20':this[_0x32ab4a(0x111)]=this[_0x32ab4a(0x10b)][_0x32ab4a(0xf7)];continue;case'21':global[_0x32ab4a(0xf2)]=this['_configuration'][_0x32ab4a(0xf5)];continue;case'22':this[_0x32ab4a(0x10b)]=_0x212c6a[_0x32ab4a(0xf4)]||{};continue;}break;}}['setupCucumber'](_0xbbf4ff,_0x289738,_0x2d2758){const _0x210af4=a34_0x419f25,_0x48fdf9=_0xbbf4ff[_0x210af4(0xf6)];_0xbbf4ff.resolvePaths=async function(){const pathResults=await _0x48fdf9.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x2d2758));return pathResults;};const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;_0x289738.push('--format'),_0x289738.push(`"${normalizedPath}"`);}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;mocha.run=function(_){return mocha.prevRun(async exit=>{if(isTestObservabilitySession()&&!BrowserstackCLI.getInstance().isBootstrapped()){const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);return;}PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}{const cliInstance=BrowserstackCLI.getInstance();if(cliInstance.isCliEnabled()&&process.env.BROWSERSTACK_CLI_BIN_SESSION_ID){try{const CLIUtils=require('../v2/cliUtils');CLIUtils.setFrameworkDetail(constants.FRAMEWORKS.MOCHA,'selenium-webdriver');await cliInstance.bootstrap();}catch(bootstrapErr){logger.warn(`[mocha-worker] Binary Flow bootstrap failed in child: ${bootstrapErr.message}`);}}}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){logger.debug(`Could not load @cucumber/cucumber CLI (falling back to legacy 'cucumber' package). Original error: ${e}`);cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js','@cucumber/cucumber').default;const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;argv.push('--format');argv.push(normalizedPath);}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js','cucumber').default;const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;argv.push('--format');argv.push(normalizedPath);hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){global.capabilities=[this._capability];global.__bstackPlatformIndex=this._configuration.platformCaps&&this._configuration.platformCaps.index||0;global.__skipSessionName=process.env.BROWSERSTACK_SKIP_SESSION_NAME==='true';global.__skipSessionStatus=process.env.BROWSERSTACK_SKIP_SESSION_STATUS==='true';process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);const cliInstance=BrowserstackCLI.getInstance();if(cliInstance.isCliEnabled()&&process.env.BROWSERSTACK_CLI_BIN_SESSION_ID){try{const CLIUtils=require('../v2/cliUtils');const {FRAMEWORKS}=require('../utils/constants');CLIUtils.setFrameworkDetail(FRAMEWORKS.NODE_GENERIC,FRAMEWORKS.NODE_GENERIC);await cliInstance.bootstrap();}catch(bootstrapErr){const logger=require('../../helpers/logger').winstonLogger;logger.warn(`[vanilla-worker] Binary Flow bootstrap failed in child: ${bootstrapErr.message}`);}}let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);await BrowserstackCLI.getInstance().stop();process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
1
+ const a34_0x3704c6=a34_0x168e;(function(_0x5886a4,_0xe3692b){const _0x19934c=a34_0x168e,_0x31fcf9=_0x5886a4();while(!![]){try{const _0x44a5a1=-parseInt(_0x19934c(0x181))/0x1*(parseInt(_0x19934c(0x193))/0x2)+parseInt(_0x19934c(0x18e))/0x3*(-parseInt(_0x19934c(0x174))/0x4)+parseInt(_0x19934c(0x190))/0x5+parseInt(_0x19934c(0x175))/0x6+-parseInt(_0x19934c(0x18d))/0x7*(parseInt(_0x19934c(0x189))/0x8)+parseInt(_0x19934c(0x19d))/0x9+parseInt(_0x19934c(0x196))/0xa;if(_0x44a5a1===_0xe3692b)break;else _0x31fcf9['push'](_0x31fcf9['shift']());}catch(_0x1c683e){_0x31fcf9['push'](_0x31fcf9['shift']());}}}(a34_0x43dd,0x2ef2f));function a34_0x168e(_0x4003ab,_0x1fc8b4){const _0x43ddaf=a34_0x43dd();return a34_0x168e=function(_0x168e20,_0x56f722){_0x168e20=_0x168e20-0x171;let _0x4a28f7=_0x43ddaf[_0x168e20];return _0x4a28f7;},a34_0x168e(_0x4003ab,_0x1fc8b4);}const path=require('path'),logger=require(a34_0x3704c6(0x187))[a34_0x3704c6(0x192)],{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require('../../helpers/helper'),constants=require('../utils/constants'),{isAccessibilityAutomationSession}=require(a34_0x3704c6(0x17d)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require(a34_0x3704c6(0x17e)),helper=require(a34_0x3704c6(0x185)),PerformanceTester=require(a34_0x3704c6(0x177)),PerformanceEvents=require(a34_0x3704c6(0x18a))[a34_0x3704c6(0x195)],BrowserstackCLI=require(a34_0x3704c6(0x18f)),ClientTroubleShootingService=require(a34_0x3704c6(0x178));class Launcher{constructor(_0x1e80a1,_0x26302f,_0x73acb3,_0x3ee4cc=[]){const _0x2ec9f2=a34_0x3704c6,_0x4782ac={'RpZYc':_0x2ec9f2(0x17f),'qBnly':function(_0x22dcce){return _0x22dcce();}},_0x5c7d53=_0x4782ac[_0x2ec9f2(0x183)][_0x2ec9f2(0x191)]('|');let _0x411d97=0x0;while(!![]){switch(_0x5c7d53[_0x411d97++]){case'0':this['_bsConfig']=_0x73acb3;continue;case'1':global[_0x2ec9f2(0x171)]={};continue;case'2':this[_0x2ec9f2(0x184)]=_0x4782ac[_0x2ec9f2(0x18b)](isAccessibilityAutomationSession);continue;case'3':this['_mochaOpts']=_0x26302f['mochaOpts'];continue;case'4':global[_0x2ec9f2(0x18c)]=0x0;continue;case'5':global[_0x2ec9f2(0x19f)]=0x0;continue;case'6':global[_0x2ec9f2(0x197)]=0x0;continue;case'7':global[_0x2ec9f2(0x17c)]=0x0;continue;case'8':this[_0x2ec9f2(0x19e)]=this[_0x2ec9f2(0x186)][_0x2ec9f2(0x188)];continue;case'9':this['_testObservability']=_0x4782ac['qBnly'](isTestObservabilitySession);continue;case'10':this['_configuration']=_0x26302f[_0x2ec9f2(0x179)]||{};continue;case'11':this[_0x2ec9f2(0x186)][_0x2ec9f2(0x17b)]=_0x1e80a1;continue;case'12':global[_0x2ec9f2(0x19c)]=0x0;continue;case'13':global[_0x2ec9f2(0x19a)]=0x0;continue;case'14':this[_0x2ec9f2(0x180)]=_0x1e80a1;continue;case'15':global['totalTests']=0x0;continue;case'16':global[_0x2ec9f2(0x198)]=0x0;continue;case'17':this[_0x2ec9f2(0x19b)]=_0x26302f[_0x2ec9f2(0x173)];continue;case'18':global[_0x2ec9f2(0x194)]=this['_configuration'][_0x2ec9f2(0x176)];continue;case'19':global[_0x2ec9f2(0x172)]=0x0;continue;case'20':global[_0x2ec9f2(0x182)]=this[_0x2ec9f2(0x186)][_0x2ec9f2(0x199)]||{};continue;case'21':this['_argv']=_0x3ee4cc;continue;case'22':global['testsFailed']=0x0;continue;}break;}}[a34_0x3704c6(0x17a)](_0x59705b,_0x44de33,_0x3846aa){const _0x2249d4=_0x59705b['resolvePaths'];_0x59705b.resolvePaths=async function(){const pathResults=await _0x2249d4.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x3846aa));return pathResults;};const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;_0x44de33.push('--format'),_0x44de33.push(`"${normalizedPath}"`);}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;mocha.run=function(_){return mocha.prevRun(async exit=>{if(isTestObservabilitySession()&&!BrowserstackCLI.getInstance().isBootstrapped()){const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);return;}PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}{const cliInstance=BrowserstackCLI.getInstance();if(cliInstance.isCliEnabled()&&process.env.BROWSERSTACK_CLI_BIN_SESSION_ID){try{const CLIUtils=require('../v2/cliUtils');CLIUtils.setFrameworkDetail(constants.FRAMEWORKS.MOCHA,'selenium-webdriver');await cliInstance.bootstrap();}catch(bootstrapErr){logger.warn(`[mocha-worker] Binary Flow bootstrap failed in child: ${bootstrapErr.message}`);}}}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){logger.debug(`Could not load @cucumber/cucumber CLI (falling back to legacy 'cucumber' package). Original error: ${e}`);cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js','@cucumber/cucumber').default;const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;argv.push('--format');argv.push(normalizedPath);}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js','cucumber').default;const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;argv.push('--format');argv.push(normalizedPath);hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){global.capabilities=[this._capability];global.__bstackPlatformIndex=this._configuration.platformCaps&&this._configuration.platformCaps.index||0;global.__skipSessionName=process.env.BROWSERSTACK_SKIP_SESSION_NAME==='true';global.__skipSessionStatus=process.env.BROWSERSTACK_SKIP_SESSION_STATUS==='true';process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);const cliInstance=BrowserstackCLI.getInstance();if(cliInstance.isCliEnabled()&&process.env.BROWSERSTACK_CLI_BIN_SESSION_ID){try{const CLIUtils=require('../v2/cliUtils');const {FRAMEWORKS}=require('../utils/constants');CLIUtils.setFrameworkDetail(FRAMEWORKS.NODE_GENERIC,FRAMEWORKS.NODE_GENERIC);await cliInstance.bootstrap();}catch(bootstrapErr){const logger=require('../../helpers/logger').winstonLogger;logger.warn(`[vanilla-worker] Binary Flow bootstrap failed in child: ${bootstrapErr.message}`);}}let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);await BrowserstackCLI.getInstance().stop();process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;function a34_0x43dd(){const _0x314a33=['888054jCofqc','platform','../../helpers/performance/performance-tester','../utils/clientTroubleshootingService','configuration','setupCucumber','framework','testsSkipped','../../helpers/accessibility-automation/helper','../../helpers/test-observability/utils','14|10|11|3|17|8|18|21|0|9|2|20|19|15|5|22|13|7|6|12|16|4|1','_framework','789vTqFSq','__platformCaps','RpZYc','_accessibilityAutomation','../../helpers/helper','_configuration','../../helpers/logger','capability','709848UcjgFs','../../helpers/performance/constants','qBnly','testsAmbiguous','14uzoHvy','3FSyxeq','../v2/browserstackCLI','364630kybfUJ','split','winstonLogger','34JeYifx','__platform__','EVENTS','241690WJVrwC','testSuitesFailed','testsUnknown','platformCaps','testsPending','_formatter','testsUndefined','3379806XyBJOB','_capability','testsPassed','testsErrorMessage','testSuites','formatter','949840AGRRtQ'];a34_0x43dd=function(){return _0x314a33;};return a34_0x43dd();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a35_0x5d34b8=a35_0x13b8;(function(_0x420d2d,_0x3fe56f){const _0xb3dcdf=a35_0x13b8,_0x96f2fb=_0x420d2d();while(!![]){try{const _0x54089e=parseInt(_0xb3dcdf(0x222))/0x1+parseInt(_0xb3dcdf(0x1db))/0x2+-parseInt(_0xb3dcdf(0x230))/0x3*(parseInt(_0xb3dcdf(0x1bc))/0x4)+parseInt(_0xb3dcdf(0x1e5))/0x5+-parseInt(_0xb3dcdf(0x1f7))/0x6+-parseInt(_0xb3dcdf(0x21f))/0x7*(-parseInt(_0xb3dcdf(0x224))/0x8)+parseInt(_0xb3dcdf(0x215))/0x9*(-parseInt(_0xb3dcdf(0x21b))/0xa);if(_0x54089e===_0x3fe56f)break;else _0x96f2fb['push'](_0x96f2fb['shift']());}catch(_0x250255){_0x96f2fb['push'](_0x96f2fb['shift']());}}}(a35_0x465b,0x6637c));function a35_0x465b(){const _0x368847=[']:\x20','forEach','lifwO','SIGHUP','MkHcR','path','versions','split','slice','YNmNV','2160240SktyiO','checkAndUpdateCli','dwyMM','exit','child_process','ctGCy','UNKNOWN','sendToEDS','Spawning:\x20','dCPAj','AUTH_INVALID','GcQfJ','stack','setLTSSessionId','WRNxS','CLI\x20acquisition\x20failed\x20[','Failed\x20to\x20load\x20Load\x20Testing\x20configuration:\x20','resolve',',\x20forwarding\x20to\x20child\x20process...','ewMNU','Waiting\x20for\x20child\x20process\x20to\x20exit...','WtYYR','minTestedMajor','AMhic','missing-credentials','xafkt','../../helpers/helper','Aozeb','../v2/cliUtils','errorCode','36oShXLC','CONFIG_PARSE','UIjKV','YNkpG','HPgUq','SIGQUIT','312320EmzUjl','empty-binary-path','LTS','\x20is\x20not\x20executable\x20(permission\x20denied).\x20Check\x20file\x20permissions\x20and\x20re-run.','14ACBkaX','catch','\x20exited\x20with\x20code\x20','673429ynIAHi','Loading\x20configuration\x20using\x20environment\x20variables\x20if\x20available.','277664hvLhAj','CLI\x20binary\x20not\x20found,\x20downloading\x20latest\x20version','EyuyI','detectedNodeMajor','uhkDJ','RRMXY','MzWzF','../v2/modules/loadTestModule','\x20is\x20newer\x20than\x20the\x20latest\x20version\x20validated\x20for\x20BrowserStack\x20Load\x20Testing\x20(up\x20to\x20Node\x20','message','BROWSERSTACK_ACCESSKEY','accessKey','129Wbsnzq','getCliDir','cHDLF','EACCES','assign','Failed\x20to\x20read\x20Load\x20Testing\x20configuration\x20at\x20','warn','fePEy','eawSA','Skipping\x20downstream\x20LT\x20failure\x20report:\x20credentials\x20unavailable.','JqGeZ',').\x20It\x20may\x20work;\x20if\x20you\x20hit\x20issues,\x20switch\x20to\x20a\x20validated\x20Node.js\x20version.','niHtI','Received\x20','close','BROWSERSTACK_USER','killed','event_name','Unexpected\x20load\x20error\x20[','UxeXr','load','code','YuKGU','kepJp','scMRJ','wMHdL','Executing\x20load\x20test\x20with\x20arguments:\x20','isFinite','then','userName','true','wiabP','yes','stringify','RtpPJ','ltlhu','rqaPC','POXDq','.\x20The\x20download\x20may\x20be\x20incomplete\x20or\x20corrupt\x20—\x20delete\x20it\x20(under\x20~/.browserstack/cli)\x20and\x20re-run.','info','Failed\x20initiating\x20load\x20test:\x20','dgvcc','winstonLogger','\x20is\x20older\x20than\x20the\x20oldest\x20version\x20validated\x20for\x20BrowserStack\x20Load\x20Testing\x20(Node\x20','15488sdnuub','BROWSERSTACK_USERNAME','mIuUP','qGGVQ','NTXrn','CLI\x20binary\x20found,\x20Checking\x20for\x20CLI\x20updates','argv','Config\x20load\x20error\x20[','uCypN','\x20load\x20','AjsHD','ZxEGN','toLowerCase','hardMinMajor','UNSUPPORTED_RUNTIME','error','../utils/constants',');\x20not\x20reported\x20as\x20a\x20failure.','bFKkT','Failed\x20to\x20launch\x20the\x20Load\x20Testing\x20CLI:\x20','BROWSERSTACK_ACCESS_KEY','IzUFz','rgIKR','UcMZc','fLqDe','Authentication\x20incomplete.\x20Please\x20add\x20your\x20userName\x20and\x20accessKey\x20to\x20either\x20the\x20browserstack.yml\x20file\x20or\x20as\x20environment\x20variables,\x20then\x20try\x20running\x20the\x20command\x20again.','nivQb','Node.js\x20v','checkAndUpdateCli\x20returned\x20an\x20empty\x20binary\x20path','ENOENT','erzZv','74786dNEpMU','debug','env','getExistingCliPath','./loadErrors','joznN','iBrqP','inherit','YjOHc','Could\x20not\x20obtain\x20the\x20BrowserStack\x20Load\x20Testing\x20CLI\x20binary:\x20the\x20download\x20or\x20extraction\x20did\x20not\x20produce\x20a\x20usable\x20binary.\x20Re-run\x20with\x20DEBUG=true\x20for\x20details,\x20or\x20contact\x20BrowserStack\x20support\x20if\x20this\x20persists.','1449550pgpTmh','BROWSERSTACK_SKIP_NODE_CHECK','QPDYZ','tgFTu','Could\x20not\x20report\x20Load\x20Testing\x20failure\x20downstream:\x20','VRzWM','Unable\x20to\x20launch\x20the\x20BrowserStack\x20Load\x20Testing\x20CLI\x20binary\x20at\x20','join'];a35_0x465b=function(){return _0x368847;};return a35_0x465b();}function a35_0x13b8(_0x20d6a7,_0x2a70e8){const _0x465ba9=a35_0x465b();return a35_0x13b8=function(_0x13b8af,_0x3af2bd){_0x13b8af=_0x13b8af-0x1b2;let _0x3ff406=_0x465ba9[_0x13b8af];return _0x3ff406;},a35_0x13b8(_0x20d6a7,_0x2a70e8);}const {spawn}=require(a35_0x5d34b8(0x1fb)),path=require(a35_0x5d34b8(0x1f2)),helper=require(a35_0x5d34b8(0x211)),CLIUtils=require(a35_0x5d34b8(0x213)),LoadTestModule=require(a35_0x5d34b8(0x22b)),{getLoadConfigPath,sleep}=require('./loadUtils'),{classify,messageForExitCode,runtimeNotSupportedMessage,LT_EXIT_UNSUPPORTED_RUNTIME,ERROR_CODES}=require(a35_0x5d34b8(0x1df)),{LT_SUPPORTED_NODE}=require(a35_0x5d34b8(0x1cc)),logger=require('../../helpers/logger')[a35_0x5d34b8(0x1ba)];async function reportFailureToLTS(_0x475172,_0x4c60c7,_0x2a2c4a={}){const _0x92b75e=a35_0x5d34b8,_0x23ab7b={'cHDLF':function(_0x39519b,_0x17a00d,_0xab81b0){return _0x39519b(_0x17a00d,_0xab81b0);},'eawSA':_0x92b75e(0x239),'WtYYR':_0x92b75e(0x21d),'MzWzF':'LoadCliRunFailed','AjsHD':function(_0x23ffec,_0x102371){return _0x23ffec(_0x102371);}};if(!_0x475172||!_0x475172[_0x92b75e(0x24d)]||!_0x475172[_0x92b75e(0x22f)]){logger['debug'](_0x23ab7b[_0x92b75e(0x238)]);return;}const _0x156e18={};_0x156e18['feature']=_0x23ab7b[_0x92b75e(0x20c)],_0x156e18[_0x92b75e(0x241)]=_0x23ab7b[_0x92b75e(0x22a)],_0x156e18[_0x92b75e(0x214)]=_0x4c60c7||ERROR_CODES[_0x92b75e(0x1fd)];const _0x2fc03c=Object[_0x92b75e(0x234)](_0x156e18,_0x2a2c4a),_0x269c70=Promise[_0x92b75e(0x208)]()[_0x92b75e(0x24c)](()=>helper[_0x92b75e(0x1fe)](_0x2fc03c,_0x475172||{}))[_0x92b75e(0x220)](_0x4929a0=>{const _0x3c639d=_0x92b75e;logger[_0x3c639d(0x236)](_0x3c639d(0x1e9)+(_0x4929a0&&_0x4929a0[_0x3c639d(0x22d)]));});let _0x271c56;const _0x56e947=new Promise(_0x360592=>{const _0x40f064=_0x92b75e;_0x271c56=_0x23ab7b[_0x40f064(0x232)](setTimeout,_0x360592,0xbb8);});await Promise['race']([_0x269c70,_0x56e947]),_0x23ab7b[_0x92b75e(0x1c6)](clearTimeout,_0x271c56);}async function assertSupportedRuntime(_0x30aa7c){const _0x66c64=a35_0x5d34b8,_0x4462c6={'dgvcc':function(_0xbc6695,_0xe0b729){return _0xbc6695(_0xe0b729);},'pNFeY':_0x66c64(0x24e),'oHItB':_0x66c64(0x250),'nivQb':function(_0x2a32b2,_0x183b97){return _0x2a32b2||_0x183b97;},'fLqDe':function(_0x560081,_0x21d73c,_0x47ae44){return _0x560081(_0x21d73c,_0x47ae44);},'erzZv':function(_0x44c5a7,_0x24fb81){return _0x44c5a7<_0x24fb81;},'yWGCm':function(_0x402c66,_0x40b60a,_0x565ba4,_0x4f7ea4){return _0x402c66(_0x40b60a,_0x565ba4,_0x4f7ea4);},'ZxEGN':function(_0x18a239){return _0x18a239();},'wMHdL':function(_0x6874b4,_0x50a011){return _0x6874b4<_0x50a011;},'kepJp':function(_0x4924ca,_0x2eb044){return _0x4924ca>_0x2eb044;}},_0xddf8f6=_0x4462c6[_0x66c64(0x1b9)](String,process[_0x66c64(0x1dd)][_0x66c64(0x1e6)]||'')[_0x66c64(0x1c8)]();if([_0x4462c6['pNFeY'],'1',_0x4462c6['oHItB']]['includes'](_0xddf8f6))return;const _0x52fd0d=_0x4462c6[_0x66c64(0x1d6)](LT_SUPPORTED_NODE,{}),_0x4a5bd5=_0x4462c6[_0x66c64(0x1d4)](parseInt,_0x4462c6[_0x66c64(0x1b9)](String,process[_0x66c64(0x1f3)]['node'])[_0x66c64(0x1f4)]('.')[0x0],0xa);if(!Number[_0x66c64(0x24b)](_0x4a5bd5))return;if(_0x52fd0d[_0x66c64(0x1c9)]&&_0x4462c6[_0x66c64(0x1da)](_0x4a5bd5,_0x52fd0d[_0x66c64(0x1c9)])){logger[_0x66c64(0x1cb)](_0x4462c6[_0x66c64(0x1d4)](runtimeNotSupportedMessage,_0x4a5bd5,_0x52fd0d));const _0x2cbb25={};_0x2cbb25[_0x66c64(0x227)]=_0x4a5bd5,await _0x4462c6['yWGCm'](reportFailureToLTS,_0x30aa7c,ERROR_CODES[_0x66c64(0x1ca)],_0x2cbb25),await _0x4462c6[_0x66c64(0x1c7)](sleep),process[_0x66c64(0x1fa)](LT_EXIT_UNSUPPORTED_RUNTIME);}if(_0x52fd0d[_0x66c64(0x20d)]&&_0x4462c6[_0x66c64(0x249)](_0x4a5bd5,_0x52fd0d[_0x66c64(0x20d)]))logger[_0x66c64(0x236)](_0x66c64(0x1d7)+_0x4a5bd5+_0x66c64(0x1bb)+_0x52fd0d[_0x66c64(0x20d)]+_0x66c64(0x23b));else _0x52fd0d['maxTestedMajor']&&_0x4462c6[_0x66c64(0x247)](_0x4a5bd5,_0x52fd0d['maxTestedMajor'])&&logger[_0x66c64(0x236)](_0x66c64(0x1d7)+_0x4a5bd5+_0x66c64(0x22c)+_0x52fd0d['maxTestedMajor']+_0x66c64(0x23b));}async function executeLoadTest(_0x496141){const _0x5aebe5=a35_0x5d34b8,_0x42b5cc={'YjOHc':function(_0x6f9177,_0x2818f0){return _0x6f9177(_0x2818f0);},'HPgUq':function(_0x30cc41,_0x49952d){return _0x30cc41===_0x49952d;},'pRqjy':_0x5aebe5(0x1d9),'vsOkR':_0x5aebe5(0x233),'NTXrn':function(_0x1006a2,_0x1b3687){return _0x1006a2(_0x1b3687);},'ltlhu':function(_0x30a03e,_0x3cc532){return _0x30a03e!==_0x3cc532;},'ctGCy':_0x5aebe5(0x1cb),'LJkSw':_0x5aebe5(0x23e),'bFKkT':_0x5aebe5(0x20b),'HjLfm':_0x5aebe5(0x223),'QPDYZ':function(_0x20ae4c,_0x52ce44,_0x5d9eed){return _0x20ae4c(_0x52ce44,_0x5d9eed);},'UIjKV':function(_0x99d196){return _0x99d196();},'RRMXY':function(_0x16d66e,_0x22bf1e){return _0x16d66e(_0x22bf1e);},'wiabP':function(_0x2b2cee,_0x5b8f90,_0x5bfb36){return _0x2b2cee(_0x5b8f90,_0x5bfb36);},'eQsOs':_0x5aebe5(0x1d5),'lifwO':function(_0x4ee667,_0x2f2778,_0x26758f,_0x4ee342){return _0x4ee667(_0x2f2778,_0x26758f,_0x4ee342);},'rgIKR':_0x5aebe5(0x20f),'UxeXr':function(_0x1536dd){return _0x1536dd();},'POXDq':'Failed\x20to\x20determine\x20CLI\x20directory','rqaPC':'no-writable-cli-dir','fePEy':_0x5aebe5(0x225),'iBrqP':_0x5aebe5(0x1c1),'RtpPJ':function(_0x5e56c5,_0x344bf7){return _0x5e56c5(_0x344bf7);},'mIuUP':function(_0x59d72f,_0x4418e6,_0x3a9d5c){return _0x59d72f(_0x4418e6,_0x3a9d5c);},'qGGVQ':'1|3|4|2|0','uCypN':_0x5aebe5(0x1e4),'CGoTr':function(_0x233b37){return _0x233b37();},'arhYD':_0x5aebe5(0x1d8),'JqGeZ':function(_0x3804f7,_0x525615,_0x588bf6,_0x5df9c7){return _0x3804f7(_0x525615,_0x588bf6,_0x5df9c7);},'xafkt':_0x5aebe5(0x21c),'tgFTu':function(_0x2c2581,_0x26d02c,_0x28e3f8,_0x235e49){return _0x2c2581(_0x26d02c,_0x28e3f8,_0x235e49);},'WRNxS':_0x5aebe5(0x244),'YNkpG':_0x5aebe5(0x1e2),'GcQfJ':'SIGINT','UcMZc':'SIGTERM','EyuyI':_0x5aebe5(0x21a),'scMRJ':_0x5aebe5(0x1f0),'dwyMM':function(_0xfe2f19,_0x5805d7){return _0xfe2f19!==_0x5805d7;},'IzUFz':function(_0x446cec){return _0x446cec();},'YuKGU':function(_0x2124fc,_0x5d8d5f){return _0x2124fc(_0x5d8d5f);},'inWyk':function(_0x31d2ce,_0x3412b3,_0x246cb9){return _0x31d2ce(_0x3412b3,_0x246cb9);},'joznN':function(_0x8fc655){return _0x8fc655();}};let _0x9c3a6b={};try{const _0x2188f5=process[_0x5aebe5(0x1c2)][_0x5aebe5(0x1f5)](0x2),_0x488baa=_0x2188f5[_0x5aebe5(0x1f5)](0x1);logger['debug'](_0x5aebe5(0x24a)+_0x488baa);try{logger['debug'](_0x42b5cc['HjLfm']);const _0x5c1832={};_0x5c1832[_0x5aebe5(0x24d)]=process['env'][_0x5aebe5(0x1bd)]||process['env'][_0x5aebe5(0x23f)],_0x5c1832[_0x5aebe5(0x22f)]=process[_0x5aebe5(0x1dd)][_0x5aebe5(0x1d0)]||process[_0x5aebe5(0x1dd)][_0x5aebe5(0x22e)],_0x9c3a6b=_0x5c1832;if(!_0x9c3a6b[_0x5aebe5(0x24d)]||!_0x9c3a6b[_0x5aebe5(0x22f)]){const _0x5894f0=_0x42b5cc[_0x5aebe5(0x1e3)](getLoadConfigPath,_0x496141[_0x5aebe5(0x1c2)]);logger[_0x5aebe5(0x1dc)]('Configuration\x20path:\x20'+_0x5894f0),_0x5894f0?(_0x9c3a6b=helper['readConfig'](_0x5894f0),_0x9c3a6b&&_0x9c3a6b[_0x5aebe5(0x1cb)]&&(logger[_0x5aebe5(0x1cb)](_0x5aebe5(0x235)+_0x5894f0+':\x20'+_0x9c3a6b[_0x5aebe5(0x1cb)]),await _0x42b5cc[_0x5aebe5(0x1e7)](reportFailureToLTS,_0x9c3a6b,ERROR_CODES[_0x5aebe5(0x216)]),await _0x42b5cc[_0x5aebe5(0x217)](sleep),process['exit'](0x1))):logger[_0x5aebe5(0x1b7)]('No\x20browserstack-load.yml\x20/\x20browserstack.yml\x20found\x20in\x20'+process['cwd']()+';\x20relying\x20on\x20environment\x20variables\x20for\x20credentials.');}}catch(_0x26805c){const {userMessage:_0x5d06bb,code:_0x4d7e38}=_0x42b5cc['RRMXY'](classify,_0x26805c);logger[_0x5aebe5(0x1cb)](_0x5aebe5(0x207)+_0x5d06bb),logger[_0x5aebe5(0x1dc)](_0x5aebe5(0x1c3)+_0x4d7e38+_0x5aebe5(0x1ed)+(_0x26805c&&(_0x26805c[_0x5aebe5(0x203)]||JSON[_0x5aebe5(0x251)](_0x26805c)))),await _0x42b5cc[_0x5aebe5(0x24f)](reportFailureToLTS,_0x9c3a6b,_0x4d7e38),await _0x42b5cc[_0x5aebe5(0x217)](sleep),process[_0x5aebe5(0x1fa)](0x1);}(!_0x9c3a6b['userName']||!_0x9c3a6b[_0x5aebe5(0x22f)])&&(logger['error'](_0x42b5cc['eQsOs']),await _0x42b5cc[_0x5aebe5(0x1ef)](reportFailureToLTS,_0x9c3a6b,ERROR_CODES[_0x5aebe5(0x201)],{'reason':_0x42b5cc[_0x5aebe5(0x1d2)]}),await _0x42b5cc['UxeXr'](sleep),process[_0x5aebe5(0x1fa)](0x1));await _0x42b5cc[_0x5aebe5(0x229)](assertSupportedRuntime,_0x9c3a6b);try{await LoadTestModule[_0x5aebe5(0x204)](_0x9c3a6b);}catch(_0x168113){logger[_0x5aebe5(0x1dc)]('LTS\x20session\x20linking\x20skipped:\x20'+(_0x168113&&_0x168113[_0x5aebe5(0x22d)]));}const _0x34a133=CLIUtils[_0x5aebe5(0x231)]();!_0x34a133&&(logger['error'](_0x42b5cc[_0x5aebe5(0x1b5)]),await _0x42b5cc[_0x5aebe5(0x1ef)](reportFailureToLTS,_0x9c3a6b,ERROR_CODES['FS_PERMISSION'],{'reason':_0x42b5cc[_0x5aebe5(0x1b4)]}),await _0x42b5cc[_0x5aebe5(0x243)](sleep),process[_0x5aebe5(0x1fa)](0x1));let _0x159981=CLIUtils[_0x5aebe5(0x1de)](_0x34a133);try{!_0x159981?(logger['debug'](_0x42b5cc[_0x5aebe5(0x237)]),_0x159981=await CLIUtils[_0x5aebe5(0x1f8)]('',_0x34a133,_0x9c3a6b)):(logger['debug'](_0x42b5cc[_0x5aebe5(0x1e1)]),_0x159981=await CLIUtils[_0x5aebe5(0x1f8)](_0x159981,_0x34a133,_0x9c3a6b));}catch(_0xc6a863){const {code:_0x418102,userMessage:_0x54e730}=_0x42b5cc[_0x5aebe5(0x1b2)](classify,_0xc6a863);logger[_0x5aebe5(0x1cb)](_0x54e730),logger[_0x5aebe5(0x1dc)](_0x5aebe5(0x206)+_0x418102+']:\x20'+(_0xc6a863&&(_0xc6a863['stack']||_0xc6a863[_0x5aebe5(0x22d)]||JSON[_0x5aebe5(0x251)](_0xc6a863)))),await _0x42b5cc[_0x5aebe5(0x1be)](reportFailureToLTS,_0x9c3a6b,_0x418102),await _0x42b5cc[_0x5aebe5(0x217)](sleep),process[_0x5aebe5(0x1fa)](0x1);}if(!_0x159981){const _0x278910=_0x42b5cc[_0x5aebe5(0x1bf)][_0x5aebe5(0x1f4)]('|');let _0x41f0fd=0x0;while(!![]){switch(_0x278910[_0x41f0fd++]){case'0':process[_0x5aebe5(0x1fa)](0x1);continue;case'1':logger[_0x5aebe5(0x1cb)](_0x42b5cc[_0x5aebe5(0x1c4)]);continue;case'2':await _0x42b5cc['CGoTr'](sleep);continue;case'3':logger[_0x5aebe5(0x1dc)](_0x42b5cc['arhYD']);continue;case'4':await _0x42b5cc[_0x5aebe5(0x23a)](reportFailureToLTS,_0x9c3a6b,ERROR_CODES[_0x5aebe5(0x1fd)],{'reason':_0x42b5cc[_0x5aebe5(0x210)]});continue;}break;}}logger[_0x5aebe5(0x1dc)](_0x5aebe5(0x1ff)+_0x159981+_0x5aebe5(0x1c5)+_0x488baa[_0x5aebe5(0x1ec)]('\x20'));const _0xf74381=_0x42b5cc[_0x5aebe5(0x1e8)](spawn,_0x159981,[_0x42b5cc[_0x5aebe5(0x205)],..._0x488baa],{'stdio':_0x42b5cc[_0x5aebe5(0x218)]});let _0x38ca40=![];const _0x230cda=new Promise(_0x2636b4=>{const _0x43738b=_0x5aebe5,_0x72a024={'MkHcR':function(_0x7e9caa,_0x4ff02c){const _0x201622=a35_0x13b8;return _0x42b5cc[_0x201622(0x219)](_0x7e9caa,_0x4ff02c);},'VRzWM':_0x42b5cc['pRqjy'],'AMhic':function(_0x1ae467,_0x4b2cdc){const _0x4b8867=a35_0x13b8;return _0x42b5cc[_0x4b8867(0x219)](_0x1ae467,_0x4b2cdc);},'YNmNV':_0x42b5cc['vsOkR'],'niHtI':function(_0x1df9b2,_0x380900){return _0x42b5cc['YjOHc'](_0x1df9b2,_0x380900);},'aYElD':function(_0xe547e7,_0x325a1b){const _0x5ebb3f=a35_0x13b8;return _0x42b5cc[_0x5ebb3f(0x1c0)](_0xe547e7,_0x325a1b);},'dCPAj':function(_0x2bf973,_0x47a0cd){return _0x42b5cc['ltlhu'](_0x2bf973,_0x47a0cd);},'Aozeb':function(_0x55cacc,_0x351270){const _0x4d884f=a35_0x13b8;return _0x42b5cc[_0x4d884f(0x1b3)](_0x55cacc,_0x351270);},'uhkDJ':function(_0xfbbef9,_0x354a3d){const _0x1b2425=a35_0x13b8;return _0x42b5cc[_0x1b2425(0x1c0)](_0xfbbef9,_0x354a3d);}};let _0x54ac01=![],_0x41fe4e=![];const _0x29560f=_0x207b0e=>{const _0x22b255=a35_0x13b8;if(_0x54ac01)return;_0x54ac01=!![],_0x42b5cc[_0x22b255(0x1e3)](_0x2636b4,_0x207b0e);};_0xf74381['on'](_0x42b5cc[_0x43738b(0x1fc)],_0x599bac=>{const _0x306fad=_0x43738b;_0x41fe4e=!![];let _0x20e336=0x1;if(_0x599bac&&_0x72a024[_0x306fad(0x1f1)](_0x599bac[_0x306fad(0x245)],_0x72a024[_0x306fad(0x1ea)]))_0x20e336=0x7f,logger['error'](_0x306fad(0x1eb)+_0x159981+_0x306fad(0x1b6));else{if(_0x599bac&&_0x72a024[_0x306fad(0x20e)](_0x599bac[_0x306fad(0x245)],_0x72a024[_0x306fad(0x1f6)]))_0x20e336=0x7e,logger['error']('The\x20BrowserStack\x20Load\x20Testing\x20CLI\x20binary\x20at\x20'+_0x159981+_0x306fad(0x21e));else{const {userMessage:_0x278115}=_0x72a024['niHtI'](classify,_0x599bac);logger['error'](_0x306fad(0x1cf)+_0x278115);}}logger[_0x306fad(0x1dc)]('Spawn\x20error\x20details:\x20'+(_0x599bac&&(_0x599bac['stack']||_0x599bac[_0x306fad(0x22d)]))),_0x72a024['aYElD'](_0x29560f,_0x20e336);}),_0xf74381['on'](_0x42b5cc['LJkSw'],_0x237cf5=>{const _0x2c009a=_0x43738b;!_0x41fe4e&&(_0x72a024[_0x2c009a(0x200)](_0x237cf5,0x0)&&_0x72a024[_0x2c009a(0x212)](_0x237cf5,null)?logger[_0x2c009a(0x1cb)](_0x72a024[_0x2c009a(0x23c)](messageForExitCode,_0x237cf5)):logger['debug'](_0x159981+_0x2c009a(0x221)+_0x237cf5)),_0x72a024[_0x2c009a(0x228)](_0x29560f,_0x72a024['AMhic'](_0x237cf5,null)?0x1:_0x237cf5);});});[_0x42b5cc[_0x5aebe5(0x202)],_0x42b5cc[_0x5aebe5(0x1d3)],_0x42b5cc[_0x5aebe5(0x226)],_0x42b5cc[_0x5aebe5(0x248)]][_0x5aebe5(0x1ee)](_0x22afcd=>{const _0x3baca0=_0x5aebe5,_0x4d9f3b={};_0x4d9f3b[_0x3baca0(0x20a)]=_0x42b5cc[_0x3baca0(0x1ce)];const _0x1d0943=_0x4d9f3b;process['on'](_0x22afcd,()=>{const _0x2368f8=_0x3baca0;if(_0x38ca40)return;_0x38ca40=!![],logger['debug'](_0x2368f8(0x23d)+_0x22afcd+_0x2368f8(0x209)),_0xf74381&&!_0xf74381[_0x2368f8(0x240)]&&(_0xf74381['kill'](_0x22afcd),logger[_0x2368f8(0x1dc)](_0x1d0943[_0x2368f8(0x20a)]));});});const _0x2ebf22=await _0x230cda;if(_0x42b5cc[_0x5aebe5(0x1f9)](_0x2ebf22,0x0)&&!_0x38ca40){const _0x3e239a={};_0x3e239a['exitCode']=_0x2ebf22,await _0x42b5cc[_0x5aebe5(0x1ef)](reportFailureToLTS,_0x9c3a6b,ERROR_CODES[_0x5aebe5(0x1fd)],_0x3e239a);}else _0x42b5cc[_0x5aebe5(0x1b3)](_0x2ebf22,0x0)&&_0x38ca40&&logger[_0x5aebe5(0x1dc)]('Load\x20test\x20cancelled\x20by\x20signal\x20(exit\x20code\x20'+_0x2ebf22+_0x5aebe5(0x1cd));await _0x42b5cc[_0x5aebe5(0x1d1)](sleep),process['exit'](_0x2ebf22);}catch(_0x9d76b3){const {code:_0x4b1736,userMessage:_0x42f3e1}=_0x42b5cc[_0x5aebe5(0x246)](classify,_0x9d76b3);logger[_0x5aebe5(0x1cb)](_0x5aebe5(0x1b8)+_0x42f3e1),logger[_0x5aebe5(0x1dc)](_0x5aebe5(0x242)+_0x4b1736+']:\x20'+(_0x9d76b3&&(_0x9d76b3[_0x5aebe5(0x203)]||JSON[_0x5aebe5(0x251)](_0x9d76b3)))),await _0x42b5cc['inWyk'](reportFailureToLTS,_0x9c3a6b,_0x4b1736),await _0x42b5cc[_0x5aebe5(0x1e0)](sleep),process[_0x5aebe5(0x1fa)](0x1);}}module['exports']=executeLoadTest;
2
+ 'use strict';const a35_0x19b9fa=a35_0x5c72;(function(_0x243f27,_0x42e8f7){const _0x5fe923=a35_0x5c72,_0x31734e=_0x243f27();while(!![]){try{const _0x1c1ce4=-parseInt(_0x5fe923(0x174))/0x1*(parseInt(_0x5fe923(0x16b))/0x2)+parseInt(_0x5fe923(0xfe))/0x3*(-parseInt(_0x5fe923(0x126))/0x4)+parseInt(_0x5fe923(0x122))/0x5*(parseInt(_0x5fe923(0x14b))/0x6)+-parseInt(_0x5fe923(0x180))/0x7*(parseInt(_0x5fe923(0x15f))/0x8)+-parseInt(_0x5fe923(0x145))/0x9+-parseInt(_0x5fe923(0xf2))/0xa+parseInt(_0x5fe923(0x18e))/0xb;if(_0x1c1ce4===_0x42e8f7)break;else _0x31734e['push'](_0x31734e['shift']());}catch(_0x3549d3){_0x31734e['push'](_0x31734e['shift']());}}}(a35_0x3d2e,0xdfd2d));function a35_0x3d2e(){const _0x5621f3=['empty-binary-path','getCliDir','winstonLogger','catch','getExistingCliPath','Spawn\x20error\x20details:\x20','vAAAJ','maxTestedMajor','10143xUdebf','../v2/cliUtils','info','SNCXe','cwd','Ijcum','Config\x20load\x20error\x20[','warn','CLI\x20acquisition\x20failed\x20[','./loadUtils','Unable\x20to\x20launch\x20the\x20BrowserStack\x20Load\x20Testing\x20CLI\x20binary\x20at\x20','MXVtJ','Load\x20test\x20cancelled\x20by\x20signal\x20(exit\x20code\x20','stack','19075760aTuTdQ','The\x20BrowserStack\x20Load\x20Testing\x20CLI\x20binary\x20at\x20','sPXut','argv','Failed\x20to\x20launch\x20the\x20Load\x20Testing\x20CLI:\x20','accessKey','mOTQP','Dasgu','join',']:\x20','WTNyb','SIGTERM','SIGHUP','12158310CGedcS','then','eulpG','CwqEK','minTestedMajor','yNfZY','frcsJ','UNSUPPORTED_RUNTIME',';\x20relying\x20on\x20environment\x20variables\x20for\x20credentials.','slice','FyDst','race','1531197jwfegI','Received\x20','Could\x20not\x20report\x20Load\x20Testing\x20failure\x20downstream:\x20','no-writable-cli-dir','lIvka','userName','\x20exited\x20with\x20code\x20','resolve','FZApV','path','inherit','vFTAV','zURVX','GSFbQ','BROWSERSTACK_ACCESS_KEY','Could\x20not\x20obtain\x20the\x20BrowserStack\x20Load\x20Testing\x20CLI\x20binary:\x20the\x20download\x20or\x20extraction\x20did\x20not\x20produce\x20a\x20usable\x20binary.\x20Re-run\x20with\x20DEBUG=true\x20for\x20details,\x20or\x20contact\x20BrowserStack\x20support\x20if\x20this\x20persists.','stringify','node','checkAndUpdateCli\x20returned\x20an\x20empty\x20binary\x20path','Failed\x20to\x20load\x20Load\x20Testing\x20configuration:\x20','load','xeSHr','event_name','Skipping\x20downstream\x20LT\x20failure\x20report:\x20credentials\x20unavailable.','BROWSERSTACK_ACCESSKEY','../../helpers/logger','code','KdbeO','\x20load\x20','forEach','4|3|2|1|0','Configuration\x20path:\x20','Unexpected\x20load\x20error\x20[','TOTTC','Loading\x20configuration\x20using\x20environment\x20variables\x20if\x20available.','feature','1180435csdLwR','xWoZq','AUTH_INVALID','../../helpers/helper','4xumiVt','versions','SIGQUIT','LpwOo','killed','eunUf',');\x20not\x20reported\x20as\x20a\x20failure.','No\x20browserstack-load.yml\x20/\x20browserstack.yml\x20found\x20in\x20','../v2/modules/loadTestModule','igBrP','split','Waiting\x20for\x20child\x20process\x20to\x20exit...','message','TXTxr','TadUE','sendToEDS','hardMinMajor','LTS\x20session\x20linking\x20skipped:\x20','\x20is\x20older\x20than\x20the\x20oldest\x20version\x20validated\x20for\x20BrowserStack\x20Load\x20Testing\x20(Node\x20','WamHw','assign','CLI\x20binary\x20not\x20found,\x20downloading\x20latest\x20version','checkAndUpdateCli','ENOENT','exports','SZyTT','\x20is\x20not\x20executable\x20(permission\x20denied).\x20Check\x20file\x20permissions\x20and\x20re-run.','BoYFw','exit','exitCode','ZPLtE','2257848rmcuoC','FS_PERMISSION','Spawning:\x20','ZPQRq','BROWSERSTACK_USER','Failed\x20to\x20read\x20Load\x20Testing\x20configuration\x20at\x20','36GeCtEA','true','close','toLowerCase','GLOSz',').\x20It\x20may\x20work;\x20if\x20you\x20hit\x20issues,\x20switch\x20to\x20a\x20validated\x20Node.js\x20version.','.\x20The\x20download\x20may\x20be\x20incomplete\x20or\x20corrupt\x20—\x20delete\x20it\x20(under\x20~/.browserstack/cli)\x20and\x20re-run.','Node.js\x20v','BROWSERSTACK_SKIP_NODE_CHECK','includes','nsQfQ','error','\x20is\x20newer\x20than\x20the\x20latest\x20version\x20validated\x20for\x20BrowserStack\x20Load\x20Testing\x20(up\x20to\x20Node\x20','XFLDJ','zNxIV','gUPrS','lnNSz','XELfg','Executing\x20load\x20test\x20with\x20arguments:\x20','wEgJj','8tXjXsz','dELBl','UNKNOWN','SIGINT','detectedNodeMajor','eLvOm','ZjKgy',',\x20forwarding\x20to\x20child\x20process...','iYJvO','errorCode','BROWSERSTACK_USERNAME','LTS','51070yAcrvX','env','XiFzn','cQRmw','Failed\x20initiating\x20load\x20test:\x20','WDEEc','missing-credentials','wIIUa','YWfOa','10oKahOL','setLTSSessionId','debug','UcvYk'];a35_0x3d2e=function(){return _0x5621f3;};return a35_0x3d2e();}const {spawn}=require('child_process'),path=require(a35_0x19b9fa(0x107)),helper=require(a35_0x19b9fa(0x125)),CLIUtils=require(a35_0x19b9fa(0x181)),LoadTestModule=require(a35_0x19b9fa(0x12e)),{getLoadConfigPath,sleep}=require(a35_0x19b9fa(0x189)),{classify,messageForExitCode,runtimeNotSupportedMessage,LT_EXIT_UNSUPPORTED_RUNTIME,ERROR_CODES}=require('./loadErrors'),{LT_SUPPORTED_NODE}=require('../utils/constants'),logger=require(a35_0x19b9fa(0x117))[a35_0x19b9fa(0x17a)];async function reportFailureToLTS(_0x58add7,_0x4d545a,_0x3a6f93={}){const _0x4205d4=a35_0x19b9fa,_0x26a507={'zURVX':function(_0x27cf3f,_0x9263cf,_0x53463f){return _0x27cf3f(_0x9263cf,_0x53463f);},'vFTAV':_0x4205d4(0x115),'KdbeO':_0x4205d4(0x16a),'yNfZY':'LoadCliRunFailed','eLvOm':function(_0x3ab93d,_0x530e13){return _0x3ab93d(_0x530e13);}};if(!_0x58add7||!_0x58add7[_0x4205d4(0x103)]||!_0x58add7[_0x4205d4(0xea)]){logger[_0x4205d4(0x176)](_0x26a507[_0x4205d4(0x109)]);return;}const _0x194597={};_0x194597[_0x4205d4(0x121)]=_0x26a507[_0x4205d4(0x119)],_0x194597[_0x4205d4(0x114)]=_0x26a507[_0x4205d4(0xf7)],_0x194597[_0x4205d4(0x168)]=_0x4d545a||ERROR_CODES['UNKNOWN'];const _0x427f48=Object[_0x4205d4(0x13a)](_0x194597,_0x3a6f93),_0xe044bf=Promise[_0x4205d4(0x105)]()[_0x4205d4(0xf3)](()=>helper[_0x4205d4(0x135)](_0x427f48,_0x58add7||{}))[_0x4205d4(0x17b)](_0x5ce1a3=>{const _0x3cfe89=_0x4205d4;logger[_0x3cfe89(0x187)](_0x3cfe89(0x100)+(_0x5ce1a3&&_0x5ce1a3[_0x3cfe89(0x132)]));});let _0x7a0f2;const _0x5eff3c=new Promise(_0x1e7d61=>{const _0x2118a=_0x4205d4;_0x7a0f2=_0x26a507[_0x2118a(0x10a)](setTimeout,_0x1e7d61,0xbb8);});await Promise[_0x4205d4(0xfd)]([_0xe044bf,_0x5eff3c]),_0x26a507[_0x4205d4(0x164)](clearTimeout,_0x7a0f2);}function a35_0x5c72(_0x5deac4,_0x514b10){const _0x3d2e12=a35_0x3d2e();return a35_0x5c72=function(_0x5c721e,_0x4eda9e){_0x5c721e=_0x5c721e-0xe8;let _0x5577c0=_0x3d2e12[_0x5c721e];return _0x5577c0;},a35_0x5c72(_0x5deac4,_0x514b10);}async function assertSupportedRuntime(_0x39cb3a){const _0x1dd814=a35_0x19b9fa,_0x4aef={'KWmoV':function(_0xdd1037,_0x1c0a37){return _0xdd1037(_0x1c0a37);},'BoYFw':_0x1dd814(0x14c),'ZPLtE':'yes','wIIUa':function(_0x4ad5d5,_0x902595){return _0x4ad5d5||_0x902595;},'BetXw':function(_0x394472,_0x18efe3,_0x4587ba){return _0x394472(_0x18efe3,_0x4587ba);},'UYMXG':function(_0x859f36,_0x48ab20){return _0x859f36(_0x48ab20);},'mOTQP':function(_0x49eaa9,_0x100aaf){return _0x49eaa9<_0x100aaf;},'gUPrS':function(_0xfbbf32,_0xee1c,_0x5135aa){return _0xfbbf32(_0xee1c,_0x5135aa);},'iQSKK':function(_0x3fe1d1,_0x4edcc8,_0x3e5b09,_0x157915){return _0x3fe1d1(_0x4edcc8,_0x3e5b09,_0x157915);},'sLhZS':function(_0xf29001){return _0xf29001();},'TadUE':function(_0x2bd929,_0x3cd9bf){return _0x2bd929>_0x3cd9bf;}},_0x17854b=_0x4aef['KWmoV'](String,process[_0x1dd814(0x16c)][_0x1dd814(0x153)]||'')[_0x1dd814(0x14e)]();if([_0x4aef[_0x1dd814(0x141)],'1',_0x4aef[_0x1dd814(0x144)]][_0x1dd814(0x154)](_0x17854b))return;const _0x34fd55=_0x4aef[_0x1dd814(0x172)](LT_SUPPORTED_NODE,{}),_0x11078f=_0x4aef['BetXw'](parseInt,_0x4aef['UYMXG'](String,process[_0x1dd814(0x127)][_0x1dd814(0x10f)])['split']('.')[0x0],0xa);if(!Number['isFinite'](_0x11078f))return;if(_0x34fd55[_0x1dd814(0x136)]&&_0x4aef[_0x1dd814(0xeb)](_0x11078f,_0x34fd55[_0x1dd814(0x136)])){logger[_0x1dd814(0x156)](_0x4aef[_0x1dd814(0x15a)](runtimeNotSupportedMessage,_0x11078f,_0x34fd55));const _0x456349={};_0x456349[_0x1dd814(0x163)]=_0x11078f,await _0x4aef['iQSKK'](reportFailureToLTS,_0x39cb3a,ERROR_CODES[_0x1dd814(0xf9)],_0x456349),await _0x4aef['sLhZS'](sleep),process[_0x1dd814(0x142)](LT_EXIT_UNSUPPORTED_RUNTIME);}if(_0x34fd55[_0x1dd814(0xf6)]&&_0x4aef[_0x1dd814(0xeb)](_0x11078f,_0x34fd55[_0x1dd814(0xf6)]))logger[_0x1dd814(0x187)](_0x1dd814(0x152)+_0x11078f+_0x1dd814(0x138)+_0x34fd55[_0x1dd814(0xf6)]+_0x1dd814(0x150));else _0x34fd55[_0x1dd814(0x17f)]&&_0x4aef[_0x1dd814(0x134)](_0x11078f,_0x34fd55[_0x1dd814(0x17f)])&&logger[_0x1dd814(0x187)](_0x1dd814(0x152)+_0x11078f+_0x1dd814(0x157)+_0x34fd55[_0x1dd814(0x17f)]+').\x20It\x20may\x20work;\x20if\x20you\x20hit\x20issues,\x20switch\x20to\x20a\x20validated\x20Node.js\x20version.');}async function executeLoadTest(_0x4cad5a){const _0xbde30e=a35_0x19b9fa,_0x3dc4b1={'vAAAJ':function(_0x475a08,_0x1b5321){return _0x475a08(_0x1b5321);},'WTNyb':function(_0x586508,_0x110c72){return _0x586508!==_0x110c72;},'SNCXe':function(_0x2a6cb3,_0x3130d5){return _0x2a6cb3!==_0x3130d5;},'eunUf':function(_0x3f915b,_0x100df7){return _0x3f915b(_0x100df7);},'lIvka':function(_0x44c20a,_0x4ff1a0){return _0x44c20a(_0x4ff1a0);},'nsQfQ':function(_0x5d7571,_0x322ae8){return _0x5d7571===_0x322ae8;},'TOTTC':function(_0x1ef775,_0x55d49c){return _0x1ef775===_0x55d49c;},'XiFzn':_0xbde30e(0x13d),'jqfno':'EACCES','TXTxr':_0xbde30e(0x156),'nUYBB':_0xbde30e(0x14d),'zuaOy':_0xbde30e(0x131),'WDEEc':_0xbde30e(0x120),'YWfOa':function(_0x102a99,_0x388317,_0x4e5743){return _0x102a99(_0x388317,_0x4e5743);},'igBrP':function(_0x69a9f0){return _0x69a9f0();},'UcvYk':function(_0x2c2873,_0x58cc8f){return _0x2c2873(_0x58cc8f);},'SZyTT':function(_0x4ed93e){return _0x4ed93e();},'CnzNg':'Authentication\x20incomplete.\x20Please\x20add\x20your\x20userName\x20and\x20accessKey\x20to\x20either\x20the\x20browserstack.yml\x20file\x20or\x20as\x20environment\x20variables,\x20then\x20try\x20running\x20the\x20command\x20again.','Dasgu':function(_0xd67a13,_0x5ee4cb,_0x22fa56,_0x2d1f20){return _0xd67a13(_0x5ee4cb,_0x22fa56,_0x2d1f20);},'lnNSz':_0xbde30e(0x171),'cQRmw':function(_0x4a3a3a){return _0x4a3a3a();},'XFLDJ':function(_0x3299d1,_0x1f3116){return _0x3299d1(_0x1f3116);},'dELBl':'Failed\x20to\x20determine\x20CLI\x20directory','ZPQRq':_0xbde30e(0x101),'CwqEK':function(_0x535bf0){return _0x535bf0();},'frcsJ':_0xbde30e(0x13b),'OtvTi':'CLI\x20binary\x20found,\x20Checking\x20for\x20CLI\x20updates','eulpG':_0xbde30e(0x11c),'zNxIV':function(_0x367039){return _0x367039();},'sPXut':function(_0x49d14c,_0x1541f4,_0x55461e,_0x15f3cd){return _0x49d14c(_0x1541f4,_0x55461e,_0x15f3cd);},'GSFbQ':_0xbde30e(0x178),'iYJvO':_0xbde30e(0x110),'xWoZq':_0xbde30e(0x10d),'xeSHr':_0xbde30e(0x112),'ZjKgy':_0xbde30e(0x108),'Ijcum':_0xbde30e(0x162),'PqZJS':_0xbde30e(0xf0),'XELfg':_0xbde30e(0x128),'FZApV':_0xbde30e(0xf1),'GLOSz':function(_0x911bb5,_0x4d3784){return _0x911bb5!==_0x4d3784;},'FyDst':function(_0x510c4e,_0x5f22cf,_0x28ede7){return _0x510c4e(_0x5f22cf,_0x28ede7);}};let _0x20bad5={};try{const _0x1fd105=process[_0xbde30e(0xe8)][_0xbde30e(0xfb)](0x2),_0x3c7d63=_0x1fd105[_0xbde30e(0xfb)](0x1);logger['debug'](_0xbde30e(0x15d)+_0x3c7d63);try{logger[_0xbde30e(0x176)](_0x3dc4b1[_0xbde30e(0x170)]);const _0x21751d={};_0x21751d[_0xbde30e(0x103)]=process[_0xbde30e(0x16c)][_0xbde30e(0x169)]||process[_0xbde30e(0x16c)][_0xbde30e(0x149)],_0x21751d[_0xbde30e(0xea)]=process[_0xbde30e(0x16c)][_0xbde30e(0x10c)]||process[_0xbde30e(0x16c)][_0xbde30e(0x116)],_0x20bad5=_0x21751d;if(!_0x20bad5[_0xbde30e(0x103)]||!_0x20bad5['accessKey']){const _0x5a1b4f=_0x3dc4b1['eunUf'](getLoadConfigPath,_0x4cad5a[_0xbde30e(0xe8)]);logger[_0xbde30e(0x176)](_0xbde30e(0x11d)+_0x5a1b4f),_0x5a1b4f?(_0x20bad5=helper['readConfig'](_0x5a1b4f),_0x20bad5&&_0x20bad5[_0xbde30e(0x156)]&&(logger[_0xbde30e(0x156)](_0xbde30e(0x14a)+_0x5a1b4f+':\x20'+_0x20bad5[_0xbde30e(0x156)]),await _0x3dc4b1['YWfOa'](reportFailureToLTS,_0x20bad5,ERROR_CODES['CONFIG_PARSE']),await _0x3dc4b1[_0xbde30e(0x12f)](sleep),process[_0xbde30e(0x142)](0x1))):logger[_0xbde30e(0x182)](_0xbde30e(0x12d)+process[_0xbde30e(0x184)]()+_0xbde30e(0xfa));}}catch(_0x145a09){const {userMessage:_0x2cba1e,code:_0x4b3aac}=_0x3dc4b1[_0xbde30e(0x177)](classify,_0x145a09);logger[_0xbde30e(0x156)](_0xbde30e(0x111)+_0x2cba1e),logger[_0xbde30e(0x176)](_0xbde30e(0x186)+_0x4b3aac+_0xbde30e(0xee)+(_0x145a09&&(_0x145a09[_0xbde30e(0x18d)]||JSON[_0xbde30e(0x10e)](_0x145a09)))),await _0x3dc4b1[_0xbde30e(0x173)](reportFailureToLTS,_0x20bad5,_0x4b3aac),await _0x3dc4b1[_0xbde30e(0x13f)](sleep),process['exit'](0x1);}(!_0x20bad5['userName']||!_0x20bad5['accessKey'])&&(logger[_0xbde30e(0x156)](_0x3dc4b1['CnzNg']),await _0x3dc4b1[_0xbde30e(0xec)](reportFailureToLTS,_0x20bad5,ERROR_CODES[_0xbde30e(0x124)],{'reason':_0x3dc4b1[_0xbde30e(0x15b)]}),await _0x3dc4b1[_0xbde30e(0x16e)](sleep),process['exit'](0x1));await _0x3dc4b1[_0xbde30e(0x158)](assertSupportedRuntime,_0x20bad5);try{await LoadTestModule[_0xbde30e(0x175)](_0x20bad5);}catch(_0x200a80){logger[_0xbde30e(0x176)](_0xbde30e(0x137)+(_0x200a80&&_0x200a80[_0xbde30e(0x132)]));}const _0x4b1b0e=CLIUtils[_0xbde30e(0x179)]();!_0x4b1b0e&&(logger[_0xbde30e(0x156)](_0x3dc4b1[_0xbde30e(0x160)]),await _0x3dc4b1[_0xbde30e(0xec)](reportFailureToLTS,_0x20bad5,ERROR_CODES[_0xbde30e(0x146)],{'reason':_0x3dc4b1[_0xbde30e(0x148)]}),await _0x3dc4b1[_0xbde30e(0xf5)](sleep),process[_0xbde30e(0x142)](0x1));let _0x3bd2f2=CLIUtils[_0xbde30e(0x17c)](_0x4b1b0e);try{!_0x3bd2f2?(logger['debug'](_0x3dc4b1[_0xbde30e(0xf8)]),_0x3bd2f2=await CLIUtils[_0xbde30e(0x13c)]('',_0x4b1b0e,_0x20bad5)):(logger['debug'](_0x3dc4b1['OtvTi']),_0x3bd2f2=await CLIUtils[_0xbde30e(0x13c)](_0x3bd2f2,_0x4b1b0e,_0x20bad5));}catch(_0x90b667){const {code:_0x3e686d,userMessage:_0x1556de}=_0x3dc4b1[_0xbde30e(0x102)](classify,_0x90b667);logger[_0xbde30e(0x156)](_0x1556de),logger[_0xbde30e(0x176)](_0xbde30e(0x188)+_0x3e686d+_0xbde30e(0xee)+(_0x90b667&&(_0x90b667[_0xbde30e(0x18d)]||_0x90b667['message']||JSON[_0xbde30e(0x10e)](_0x90b667)))),await _0x3dc4b1[_0xbde30e(0x173)](reportFailureToLTS,_0x20bad5,_0x3e686d),await _0x3dc4b1[_0xbde30e(0xf5)](sleep),process['exit'](0x1);}if(!_0x3bd2f2){const _0x4aa7d3=_0x3dc4b1[_0xbde30e(0xf4)][_0xbde30e(0x130)]('|');let _0x526ef7=0x0;while(!![]){switch(_0x4aa7d3[_0x526ef7++]){case'0':process[_0xbde30e(0x142)](0x1);continue;case'1':await _0x3dc4b1[_0xbde30e(0x159)](sleep);continue;case'2':await _0x3dc4b1[_0xbde30e(0x190)](reportFailureToLTS,_0x20bad5,ERROR_CODES[_0xbde30e(0x161)],{'reason':_0x3dc4b1[_0xbde30e(0x10b)]});continue;case'3':logger['debug'](_0x3dc4b1[_0xbde30e(0x167)]);continue;case'4':logger['error'](_0x3dc4b1[_0xbde30e(0x123)]);continue;}break;}}logger[_0xbde30e(0x176)](_0xbde30e(0x147)+_0x3bd2f2+_0xbde30e(0x11a)+_0x3c7d63[_0xbde30e(0xed)]('\x20'));const _0x3f60c3=_0x3dc4b1[_0xbde30e(0xec)](spawn,_0x3bd2f2,[_0x3dc4b1[_0xbde30e(0x113)],..._0x3c7d63],{'stdio':_0x3dc4b1[_0xbde30e(0x165)]});let _0x10501e=![];const _0x15c1f0=new Promise(_0x2c462a=>{const _0x1b5ab6=_0xbde30e,_0x4c0c9c={'MXVtJ':function(_0xce2bd1,_0x328ffb){const _0x23cfa0=a35_0x5c72;return _0x3dc4b1[_0x23cfa0(0x11f)](_0xce2bd1,_0x328ffb);},'wEgJj':_0x3dc4b1[_0x1b5ab6(0x16d)],'LpwOo':_0x3dc4b1['jqfno'],'WamHw':function(_0x487400,_0x2ee1a8){const _0x5e573d=_0x1b5ab6;return _0x3dc4b1[_0x5e573d(0x102)](_0x487400,_0x2ee1a8);},'woEbe':function(_0x39eacc,_0x1b6f36){const _0x338d1e=_0x1b5ab6;return _0x3dc4b1[_0x338d1e(0x12b)](_0x39eacc,_0x1b6f36);}};let _0x4358dc=![],_0x34f5e1=![];const _0x2cc408=_0x5019b7=>{const _0x2ef221=_0x1b5ab6;if(_0x4358dc)return;_0x4358dc=!![],_0x3dc4b1[_0x2ef221(0x17e)](_0x2c462a,_0x5019b7);};_0x3f60c3['on'](_0x3dc4b1[_0x1b5ab6(0x133)],_0x2554b7=>{const _0x25d91c=_0x1b5ab6;_0x34f5e1=!![];let _0x5e662b=0x1;if(_0x2554b7&&_0x4c0c9c[_0x25d91c(0x18b)](_0x2554b7[_0x25d91c(0x118)],_0x4c0c9c[_0x25d91c(0x15e)]))_0x5e662b=0x7f,logger[_0x25d91c(0x156)](_0x25d91c(0x18a)+_0x3bd2f2+_0x25d91c(0x151));else{if(_0x2554b7&&_0x4c0c9c['MXVtJ'](_0x2554b7['code'],_0x4c0c9c[_0x25d91c(0x129)]))_0x5e662b=0x7e,logger[_0x25d91c(0x156)](_0x25d91c(0x18f)+_0x3bd2f2+_0x25d91c(0x140));else{const {userMessage:_0x5ae85e}=_0x4c0c9c[_0x25d91c(0x139)](classify,_0x2554b7);logger['error'](_0x25d91c(0xe9)+_0x5ae85e);}}logger[_0x25d91c(0x176)](_0x25d91c(0x17d)+(_0x2554b7&&(_0x2554b7[_0x25d91c(0x18d)]||_0x2554b7['message']))),_0x4c0c9c['woEbe'](_0x2cc408,_0x5e662b);}),_0x3f60c3['on'](_0x3dc4b1['nUYBB'],_0x12c082=>{const _0x45f812=_0x1b5ab6;!_0x34f5e1&&(_0x3dc4b1[_0x45f812(0xef)](_0x12c082,0x0)&&_0x3dc4b1[_0x45f812(0x183)](_0x12c082,null)?logger[_0x45f812(0x156)](_0x3dc4b1[_0x45f812(0x12b)](messageForExitCode,_0x12c082)):logger[_0x45f812(0x176)](_0x3bd2f2+_0x45f812(0x104)+_0x12c082)),_0x3dc4b1[_0x45f812(0x102)](_0x2cc408,_0x3dc4b1[_0x45f812(0x155)](_0x12c082,null)?0x1:_0x12c082);});});[_0x3dc4b1[_0xbde30e(0x185)],_0x3dc4b1['PqZJS'],_0x3dc4b1[_0xbde30e(0x15c)],_0x3dc4b1[_0xbde30e(0x106)]][_0xbde30e(0x11b)](_0x5e993f=>{process['on'](_0x5e993f,()=>{const _0x3e6ad=a35_0x5c72;if(_0x10501e)return;_0x10501e=!![],logger[_0x3e6ad(0x176)](_0x3e6ad(0xff)+_0x5e993f+_0x3e6ad(0x166)),_0x3f60c3&&!_0x3f60c3[_0x3e6ad(0x12a)]&&(_0x3f60c3['kill'](_0x5e993f),logger[_0x3e6ad(0x176)](_0x3dc4b1['zuaOy']));});});const _0x4d15f4=await _0x15c1f0;if(_0x3dc4b1[_0xbde30e(0x183)](_0x4d15f4,0x0)&&!_0x10501e){const _0x30a616={};_0x30a616[_0xbde30e(0x143)]=_0x4d15f4,await _0x3dc4b1[_0xbde30e(0x190)](reportFailureToLTS,_0x20bad5,ERROR_CODES[_0xbde30e(0x161)],_0x30a616);}else _0x3dc4b1[_0xbde30e(0x14f)](_0x4d15f4,0x0)&&_0x10501e&&logger[_0xbde30e(0x176)](_0xbde30e(0x18c)+_0x4d15f4+_0xbde30e(0x12c));await _0x3dc4b1[_0xbde30e(0x159)](sleep),process[_0xbde30e(0x142)](_0x4d15f4);}catch(_0x52456d){const {code:_0x1420d4,userMessage:_0x112832}=_0x3dc4b1[_0xbde30e(0x177)](classify,_0x52456d);logger[_0xbde30e(0x156)](_0xbde30e(0x16f)+_0x112832),logger[_0xbde30e(0x176)](_0xbde30e(0x11e)+_0x1420d4+_0xbde30e(0xee)+(_0x52456d&&(_0x52456d[_0xbde30e(0x18d)]||JSON[_0xbde30e(0x10e)](_0x52456d)))),await _0x3dc4b1[_0xbde30e(0xfc)](reportFailureToLTS,_0x20bad5,_0x1420d4),await _0x3dc4b1[_0xbde30e(0x12f)](sleep),process[_0xbde30e(0x142)](0x1);}}module[a35_0x19b9fa(0x13e)]=executeLoadTest;
@@ -1 +1 @@
1
- 'use strict';const a36_0x46d471=a36_0x2cb3;function a36_0x698f(){const _0x28ba40=['723505JxOEwx','ERROR_CODES','svZoc','EAI_AGAIN','AsukC','iZGTO','3704500AZxPBB','Failed\x20to\x20download\x20the\x20Load\x20Testing\x20CLI\x20binary','defaultMessageFor','file\x20exists\x20and\x20is\x20valid\x20YAML.','message','Permission\x20denied\x20while\x20writing\x20the\x20Load\x20Testing\x20CLI\x20binary.\x20Ensure\x20the\x20SDK\x20can\x20write\x20to\x20~/.browserstack\x20','MpkkE','unable\x20to\x20verify','classify','CnWMv','makeLoadError','bmaQV','Authentication\x20failed:\x20your\x20BrowserStack\x20username/access\x20key\x20was\x20rejected','SSL','UNKNOWN','Load\x20test\x20failed\x20(exit\x20code\x20','IcMnc',').\x20Re-run\x20with\x20DEBUG=true\x20for\x20details,\x20','ssl\x20alert','xVBpS','cPNRB','call','split','PpVnr','PTHaB','7010EMYVqN','response','zZFAA','1333551DyJZeZ','ESOCKETTIMEDOUT','unauthor','Your\x20Node.js\x20runtime\x20is\x20not\x20supported\x20by\x20BrowserStack\x20Load\x20Testing.\x20','eDAlk','string','6szvwIM','authentication\x20failed','xfkNE','NETWORK','256509BKclJI','certificate\x20has\x20expired','(or\x20set\x20BROWSERSTACK_FILES_DIR\x20to\x20a\x20writable\x20directory)\x20and\x20retry.','EXTRACT_CORRUPT','oyUTO','EROFS','\x20is\x20not\x20supported\x20by\x20BrowserStack\x20Load\x20Testing','compressed/uncompressed\x20size','mQnlF','EPIPE','Switch\x20to\x20a\x20supported\x20Node.js\x20version\x20and\x20re-run,\x20or\x20set\x20BROWSERSTACK_SKIP_NODE_CHECK=true\x20to\x20bypass\x20this\x20check.','Xokmb','zBXeW','DOWNLOAD_HTTP','NODE_EXTRA_CA_CERTS\x20(or\x20BROWSERSTACK_EXTRA_CA_CERTS)\x20to\x20your\x20corporate\x20CA\x20bundle\x20and\x20retry.','jldtv','FxWQN','UNSUPPORTED_RUNTIME','access\x20denied','hasOwnProperty','invalid\x20comment\x20length','VDcQQ','invalid\x20credential','toLowerCase','cause','includes','end\x20of\x20central','not\x20a\x20valid\x20zip','LuZKk','DISK_FULL','name','25982vUfpOh','invalid\x20local\x20file\x20header','central\x20directory','CERT_UNTRUSTED','XWeVm','self\x20signed\x20certificate','.\x20Check\x20BROWSERSTACK_USERNAME\x20/\x20BROWSERSTACK_ACCESS_KEY\x20(or\x20the\x20credentials\x20in\x20your\x20browserstack.yml)\x20and\x20try\x20again.','ssl\x20routines','tls\x20handshake','hardMinMajor','code','LT_EXIT_UNSUPPORTED_RUNTIME','userMessage','AUTH_INVALID','tymid','ZAZgx','LoadError','error','rJziA','bVfdQ','NblAU','zifhG','RQSHf','XYkcS','ECONNABORTED','ewgiL','7160848okDQJO','SSL/TLS\x20error\x20while\x20contacting\x20BrowserStack.\x20If\x20you\x20are\x20behind\x20an\x20SSL-inspecting\x20proxy,\x20set\x20','DzLrK','12pPYtSB','SELF_SIGNED_CERT_IN_CHAIN','Could\x20not\x20read\x20your\x20Load\x20Testing\x20configuration.\x20Check\x20that\x20the\x20browserstack.yml\x20/\x20browserstack-load.yml\x20','8NqOSHr','ECONNRESET','ObZCY','EXIT_CODE_MESSAGES','self-signed\x20certificate','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','DEPTH_ZERO_SELF_SIGNED_CERT','If\x20sdk-assets.browserstack.com\x20is\x20blocked\x20by\x20your\x20firewall,\x20allowlist\x20it.','unable\x20to\x20get\x20local\x20issuer','FS_PERMISSION','messageForExitCode','ETIMEDOUT','cUOVC','Could\x20not\x20reach\x20BrowserStack\x20to\x20set\x20up\x20the\x20Load\x20Testing\x20CLI.\x20Check\x20your\x20network/proxy\x20connectivity\x20and\x20retry.\x20','tngPf','\x20(HTTP\x20','statusCode','prototype','forbidden','+,\x20validated\x20up\x20to\x20Node\x20','or\x20contact\x20BrowserStack\x20support\x20if\x20this\x20persists.','UPDATE_CHECK_FAILED','Node.js\x20v','BrowserStack\x20returned\x20an\x20error\x20while\x20checking\x20for\x20the\x20latest\x20Load\x20Testing\x20CLI','Delete\x20the\x20cached\x20binary\x20under\x20~/.browserstack/cli\x20and\x20retry.','bpurS','The\x20downloaded\x20Load\x20Testing\x20CLI\x20binary\x20could\x20not\x20be\x20extracted\x20(the\x20archive\x20appears\x20corrupt\x20or\x20incomplete).\x20','isAuth','Not\x20enough\x20disk\x20space\x20to\x20download\x20the\x20Load\x20Testing\x20CLI\x20binary.\x20Free\x20up\x20disk\x20space\x20and\x20retry.','exports','gOqYO','ENOTFOUND','OCCZG','Qjbai','sGfcW','vpqHA','nYygM','7408303GgSVkO','fNIYn','EACCES','XVcKT','some','reason','CONFIG_PARSE','ECONNREFUSED','MEEtt','FKfAW','stringify'];a36_0x698f=function(){return _0x28ba40;};return a36_0x698f();}(function(_0x3ad96c,_0x3a32ae){const _0x5dfca9=a36_0x2cb3,_0x8fbc29=_0x3ad96c();while(!![]){try{const _0x108e3c=-parseInt(_0x5dfca9(0x215))/0x1+-parseInt(_0x5dfca9(0x1a2))/0x2*(parseInt(_0x5dfca9(0x19c))/0x3)+parseInt(_0x5dfca9(0x1df))/0x4+-parseInt(_0x5dfca9(0x21b))/0x5*(parseInt(_0x5dfca9(0x1e2))/0x6)+parseInt(_0x5dfca9(0x20a))/0x7*(parseInt(_0x5dfca9(0x1e5))/0x8)+-parseInt(_0x5dfca9(0x1a6))/0x9+parseInt(_0x5dfca9(0x199))/0xa*(parseInt(_0x5dfca9(0x1c5))/0xb);if(_0x108e3c===_0x3a32ae)break;else _0x8fbc29['push'](_0x8fbc29['shift']());}catch(_0x22fd9e){_0x8fbc29['push'](_0x8fbc29['shift']());}}}(a36_0x698f,0xe4bf2));const a36_0x5ad04d={};a36_0x5ad04d[a36_0x46d471(0x1d2)]=a36_0x46d471(0x1d2),a36_0x5ad04d['NETWORK']=a36_0x46d471(0x1a5),a36_0x5ad04d[a36_0x46d471(0x18d)]=a36_0x46d471(0x18d),a36_0x5ad04d['DOWNLOAD_HTTP']=a36_0x46d471(0x1b3),a36_0x5ad04d[a36_0x46d471(0x1a9)]=a36_0x46d471(0x1a9),a36_0x5ad04d[a36_0x46d471(0x1ee)]=a36_0x46d471(0x1ee),a36_0x5ad04d[a36_0x46d471(0x1c3)]=a36_0x46d471(0x1c3),a36_0x5ad04d[a36_0x46d471(0x210)]=a36_0x46d471(0x210),a36_0x5ad04d[a36_0x46d471(0x1fa)]=a36_0x46d471(0x1fa),a36_0x5ad04d[a36_0x46d471(0x1b7)]=a36_0x46d471(0x1b7),a36_0x5ad04d['UNKNOWN']=a36_0x46d471(0x18e);const ERROR_CODES=a36_0x5ad04d,LT_EXIT_UNSUPPORTED_RUNTIME=0x4e,NETWORK_ERROR_CODES=[a36_0x46d471(0x211),a36_0x46d471(0x1e6),a36_0x46d471(0x204),a36_0x46d471(0x218),a36_0x46d471(0x1f0),'ENETUNREACH','EHOSTUNREACH',a36_0x46d471(0x1af),a36_0x46d471(0x1dd),a36_0x46d471(0x19d)],FS_PERMISSION_CODES=[a36_0x46d471(0x20c),'EPERM',a36_0x46d471(0x1ab)],SSL_ERROR_CODES=['CERT_HAS_EXPIRED',a36_0x46d471(0x1eb),a36_0x46d471(0x1e3),'UNABLE_TO_VERIFY_LEAF_SIGNATURE',a36_0x46d471(0x1ea),'ERR_TLS_CERT_ALTNAME_INVALID',a36_0x46d471(0x1c8)],SSL_MESSAGE_HINTS=[a36_0x46d471(0x1ca),a36_0x46d471(0x1e9),a36_0x46d471(0x187),a36_0x46d471(0x1ed),a36_0x46d471(0x1a7),a36_0x46d471(0x1cc),a36_0x46d471(0x192),a36_0x46d471(0x1cd),'wrong\x20version\x20number'],ZIP_MESSAGE_HINTS=[a36_0x46d471(0x1c7),a36_0x46d471(0x1c1),a36_0x46d471(0x1c0),'invalid\x20signature',a36_0x46d471(0x1c6),a36_0x46d471(0x1ad),a36_0x46d471(0x1ba)],AUTH_MESSAGE_HINTS=[a36_0x46d471(0x19e),a36_0x46d471(0x1f7),a36_0x46d471(0x1b8),'invalid\x20username','invalid\x20access\x20key',a36_0x46d471(0x1a3),a36_0x46d471(0x1bc)];class LoadError extends Error{constructor(_0x586dc1,_0x416617,_0x4f09a3={}){const _0x7df3d1=a36_0x46d471,_0x4290dc={'XYkcS':'4|0|2|5|3|1|6','FKfAW':'LoadError','LuZKk':function(_0x3a07fb,_0x2e57fc){return _0x3a07fb===_0x2e57fc;},'DttAa':function(_0x1dda3e,_0x3dde3c){return _0x1dda3e||_0x3dde3c;},'bmaQV':function(_0x5e43a7,_0x3f0895,_0x2d82d0){return _0x5e43a7(_0x3f0895,_0x2d82d0);},'MEEtt':function(_0x88dc0d,_0x37d91c){return _0x88dc0d!==_0x37d91c;}},_0x395d3f=_0x4290dc[_0x7df3d1(0x1dc)][_0x7df3d1(0x196)]('|');let _0x35938a=0x0;while(!![]){switch(_0x395d3f[_0x35938a++]){case'0':this[_0x7df3d1(0x1c4)]=_0x4290dc[_0x7df3d1(0x213)];continue;case'1':_0x4f09a3['statusCode']&&(this['statusCode']=_0x4f09a3[_0x7df3d1(0x1f5)]);continue;case'2':this[_0x7df3d1(0x1cf)]=ERROR_CODES[_0x586dc1]?_0x586dc1:ERROR_CODES[_0x7df3d1(0x18e)];continue;case'3':this[_0x7df3d1(0x200)]=_0x4290dc[_0x7df3d1(0x1c2)](this[_0x7df3d1(0x1cf)],ERROR_CODES[_0x7df3d1(0x1d2)]);continue;case'4':super(_0x4290dc['DttAa'](_0x416617,_0x586dc1));continue;case'5':this['userMessage']=_0x416617||_0x4290dc[_0x7df3d1(0x18b)](defaultMessageFor,this['code'],_0x4f09a3);continue;case'6':_0x4290dc[_0x7df3d1(0x212)](_0x4f09a3[_0x7df3d1(0x1be)],undefined)&&(this[_0x7df3d1(0x1be)]=_0x4f09a3[_0x7df3d1(0x1be)]);continue;}break;}}}function makeLoadError(_0x188855,_0x3cb179={}){const _0x58f6aa=a36_0x46d471;return new LoadError(_0x188855,_0x3cb179[_0x58f6aa(0x1d1)],_0x3cb179);}function rawCauseString(_0x127e5d){const _0xaab46d=a36_0x46d471,_0xfe2c87={'oyUTO':function(_0x5bcb18,_0x18646b){return _0x5bcb18===_0x18646b;},'mcfmn':function(_0x414321,_0x154eb5){return _0x414321===_0x154eb5;},'VDcQQ':_0xaab46d(0x1a1),'VrLGM':function(_0x5b98de,_0x3d8d30){return _0x5b98de(_0x3d8d30);}};if(_0xfe2c87[_0xaab46d(0x1aa)](_0x127e5d,null)||_0xfe2c87['mcfmn'](_0x127e5d,undefined))return'';if(_0xfe2c87['oyUTO'](typeof _0x127e5d,_0xfe2c87[_0xaab46d(0x1bb)]))return _0x127e5d;if(_0x127e5d[_0xaab46d(0x1d1)]||_0x127e5d[_0xaab46d(0x184)]||_0x127e5d[_0xaab46d(0x1d6)]||_0x127e5d[_0xaab46d(0x20f)])return _0x127e5d['userMessage']||_0x127e5d[_0xaab46d(0x184)]||_0x127e5d[_0xaab46d(0x1d6)]||_0x127e5d[_0xaab46d(0x20f)];try{return JSON[_0xaab46d(0x214)](_0x127e5d);}catch(_0x1c331c){return _0xfe2c87['VrLGM'](String,_0x127e5d);}}function defaultMessageFor(_0x57bf63,_0x1a9875={}){const _0xca349a=a36_0x46d471,_0x1a00a9={};_0x1a00a9[_0xca349a(0x219)]=function(_0x225776,_0x5056ca){return _0x225776+_0x5056ca;},_0x1a00a9[_0xca349a(0x198)]=function(_0x5f2cb7,_0x44d585){return _0x5f2cb7+_0x44d585;},_0x1a00a9['iZGTO']=_0xca349a(0x18c),_0x1a00a9['GtBCo']=_0xca349a(0x1cb),_0x1a00a9[_0xca349a(0x1fe)]=function(_0x19a7b3,_0x49eacc){return _0x19a7b3+_0x49eacc;},_0x1a00a9[_0xca349a(0x1ae)]=_0xca349a(0x1f2),_0x1a00a9[_0xca349a(0x203)]=_0xca349a(0x1ec),_0x1a00a9[_0xca349a(0x1d8)]=function(_0x55e377,_0x3b32ed){return _0x55e377+_0x3b32ed;},_0x1a00a9[_0xca349a(0x1d9)]=_0xca349a(0x1e0),_0x1a00a9[_0xca349a(0x1e1)]=_0xca349a(0x1b4),_0x1a00a9[_0xca349a(0x1b1)]=function(_0x2ef4ff,_0x177fe5){return _0x2ef4ff+_0x177fe5;},_0x1a00a9[_0xca349a(0x186)]=_0xca349a(0x181),_0x1a00a9['zZFAA']='.\x20Please\x20retry;\x20if\x20this\x20persists,\x20contact\x20BrowserStack\x20support.',_0x1a00a9['xfkNE']=_0xca349a(0x1ff),_0x1a00a9[_0xca349a(0x1c9)]=_0xca349a(0x1fd),_0x1a00a9[_0xca349a(0x189)]=_0xca349a(0x185),_0x1a00a9[_0xca349a(0x1b5)]=_0xca349a(0x1a8),_0x1a00a9[_0xca349a(0x194)]=_0xca349a(0x201),_0x1a00a9['cUOVC']=_0xca349a(0x1e4),_0x1a00a9[_0xca349a(0x190)]=_0xca349a(0x183),_0x1a00a9[_0xca349a(0x207)]=function(_0x4bbc19,_0x489398){return _0x4bbc19+_0x489398;},_0x1a00a9['svZoc']=function(_0x359844,_0x3443b4){return _0x359844+_0x3443b4;},_0x1a00a9['tymid']=_0xca349a(0x1fc),_0x1a00a9['PpVnr']=_0xca349a(0x19f),_0x1a00a9['OCCZG']='Switch\x20to\x20a\x20supported\x20Node.js\x20version\x20and\x20re-run.\x20See\x20the\x20BrowserStack\x20Load\x20Testing\x20docs\x20for\x20the\x20supported\x20version\x20matrix.',_0x1a00a9['FxWQN']='The\x20Load\x20Testing\x20CLI\x20could\x20not\x20be\x20started.\x20Re-run\x20with\x20DEBUG=true\x20for\x20details,\x20',_0x1a00a9[_0xca349a(0x193)]=_0xca349a(0x1f9);const _0x575e39=_0x1a00a9,_0x4b154e=_0x1a9875[_0xca349a(0x1f5)]?_0xca349a(0x1f4)+_0x1a9875[_0xca349a(0x1f5)]+')':'';switch(_0x57bf63){case ERROR_CODES[_0xca349a(0x1d2)]:return _0x575e39[_0xca349a(0x219)](_0x575e39['PTHaB'](_0x575e39[_0xca349a(0x21a)],_0x4b154e),_0x575e39['GtBCo']);case ERROR_CODES[_0xca349a(0x1a5)]:return _0x575e39['bpurS'](_0x575e39[_0xca349a(0x1ae)],_0x575e39[_0xca349a(0x203)]);case ERROR_CODES[_0xca349a(0x18d)]:return _0x575e39[_0xca349a(0x1d8)](_0x575e39[_0xca349a(0x1d9)],_0x575e39[_0xca349a(0x1e1)]);case ERROR_CODES[_0xca349a(0x1b3)]:return _0x575e39[_0xca349a(0x1b1)](_0x575e39[_0xca349a(0x1d8)](_0x575e39[_0xca349a(0x186)],_0x4b154e),_0x575e39[_0xca349a(0x19b)]);case ERROR_CODES[_0xca349a(0x1a9)]:return _0x575e39[_0xca349a(0x1fe)](_0x575e39[_0xca349a(0x1a4)],_0x575e39['XWeVm']);case ERROR_CODES[_0xca349a(0x1ee)]:return _0x575e39[_0xca349a(0x1b1)](_0x575e39[_0xca349a(0x189)],_0x575e39[_0xca349a(0x1b5)]);case ERROR_CODES['DISK_FULL']:return _0x575e39[_0xca349a(0x194)];case ERROR_CODES[_0xca349a(0x210)]:return _0x575e39[_0xca349a(0x198)](_0x575e39[_0xca349a(0x1f1)],_0x575e39[_0xca349a(0x190)]);case ERROR_CODES[_0xca349a(0x1fa)]:return _0x575e39[_0xca349a(0x207)](_0x575e39[_0xca349a(0x217)](_0x575e39[_0xca349a(0x1d3)],_0x4b154e),_0x575e39['zZFAA']);case ERROR_CODES[_0xca349a(0x1b7)]:return _0x575e39[_0xca349a(0x198)](_0x575e39[_0xca349a(0x197)],_0x575e39[_0xca349a(0x205)]);default:return _0x575e39[_0xca349a(0x198)](_0x575e39[_0xca349a(0x1b6)],_0x575e39['xVBpS']);}}function a36_0x2cb3(_0x59a32c,_0x2ba3c7){const _0x698f83=a36_0x698f();return a36_0x2cb3=function(_0x2cb35f,_0x3aebd4){_0x2cb35f=_0x2cb35f-0x181;let _0xc9a1d6=_0x698f83[_0x2cb35f];return _0xc9a1d6;},a36_0x2cb3(_0x59a32c,_0x2ba3c7);}function classify(_0x40b3b1){const _0x1e8af1=a36_0x46d471,_0x3e3056={'zBXeW':function(_0x4b3481,_0x2e87cd){return _0x4b3481(_0x2e87cd);},'RQSHf':function(_0x10492b,_0x5c1903){return _0x10492b===_0x5c1903;},'yXERA':'string','XVcKT':function(_0xc9ffd0,_0x13b25f,_0x1070e1){return _0xc9ffd0(_0x13b25f,_0x1070e1);},'tngPf':function(_0x56c45a,_0x4da161){return _0x56c45a===_0x4da161;},'zifhG':function(_0x3521f4,_0x24457b){return _0x3521f4===_0x24457b;},'ZAZgx':function(_0x165972,_0x18389c){return _0x165972===_0x18389c;},'Qjbai':function(_0x20dd92,_0x9ee859,_0x6e9f90){return _0x20dd92(_0x9ee859,_0x6e9f90);},'anUvR':'ENOSPC','kjZjm':function(_0x7a0ad1,_0xb05db8){return _0x7a0ad1(_0xb05db8);},'OTMEf':function(_0x3a1273,_0x149b8c){return _0x3a1273(_0x149b8c);},'ObZCY':function(_0x1e70a6,_0x1f4c62){return _0x1e70a6>=_0x1f4c62;},'eDAlk':function(_0x479de7,_0x39f946){return _0x479de7>=_0x39f946;},'rJziA':function(_0x504297,_0x447324){return _0x504297(_0x447324);}},_0x3aa921=_0x3e3056[_0x1e8af1(0x1b2)](rawCauseString,_0x40b3b1);if(_0x40b3b1&&_0x3e3056['RQSHf'](typeof _0x40b3b1[_0x1e8af1(0x1cf)],_0x3e3056['yXERA'])&&ERROR_CODES[_0x40b3b1[_0x1e8af1(0x1cf)]]){const _0x38ab26=_0x40b3b1[_0x1e8af1(0x1d1)]||_0x3e3056[_0x1e8af1(0x20d)](defaultMessageFor,_0x40b3b1['code'],{'statusCode':_0x40b3b1[_0x1e8af1(0x1f5)]});return{'code':_0x40b3b1[_0x1e8af1(0x1cf)],'userMessage':_0x38ab26,'isAuth':_0x3e3056[_0x1e8af1(0x1f3)](_0x40b3b1[_0x1e8af1(0x1cf)],ERROR_CODES[_0x1e8af1(0x1d2)]),'cause':_0x3aa921};}const _0x54447a=_0x40b3b1&&_0x3e3056[_0x1e8af1(0x1da)](typeof _0x40b3b1[_0x1e8af1(0x1cf)],_0x3e3056['yXERA'])?_0x40b3b1[_0x1e8af1(0x1cf)]:'',_0x24ebf6=_0x40b3b1&&(_0x40b3b1[_0x1e8af1(0x1f5)]||_0x40b3b1['response']&&_0x40b3b1[_0x1e8af1(0x19a)][_0x1e8af1(0x1f5)])||undefined,_0x88de40=_0x40b3b1&&(_0x40b3b1[_0x1e8af1(0x184)]||_0x40b3b1['error'])?_0x3e3056[_0x1e8af1(0x1b2)](String,_0x40b3b1['message']||_0x40b3b1[_0x1e8af1(0x1d6)])[_0x1e8af1(0x1bd)]():'',_0x1b3ff2=(_0x3ffba0,_0x3e5dd7)=>({'code':_0x3ffba0,'userMessage':defaultMessageFor(_0x3ffba0,{'statusCode':_0x3e5dd7}),'isAuth':_0x3ffba0===ERROR_CODES['AUTH_INVALID'],'cause':_0x3aa921});if(_0x54447a&&SSL_ERROR_CODES[_0x1e8af1(0x1bf)](_0x54447a)||SSL_MESSAGE_HINTS[_0x1e8af1(0x20e)](_0x4092af=>_0x88de40['includes'](_0x4092af)))return _0x3e3056['zBXeW'](_0x1b3ff2,ERROR_CODES[_0x1e8af1(0x18d)]);if(_0x3e3056[_0x1e8af1(0x1db)](_0x24ebf6,0x191)||_0x3e3056[_0x1e8af1(0x1d4)](_0x24ebf6,0x193))return _0x3e3056[_0x1e8af1(0x206)](_0x1b3ff2,ERROR_CODES['AUTH_INVALID'],_0x24ebf6);if(_0x3e3056[_0x1e8af1(0x1f3)](_0x54447a,_0x3e3056['anUvR']))return _0x3e3056['zBXeW'](_0x1b3ff2,ERROR_CODES[_0x1e8af1(0x1c3)]);if(_0x54447a&&FS_PERMISSION_CODES['includes'](_0x54447a))return _0x3e3056[_0x1e8af1(0x1b2)](_0x1b3ff2,ERROR_CODES[_0x1e8af1(0x1ee)]);if(_0x54447a&&NETWORK_ERROR_CODES['includes'](_0x54447a))return _0x3e3056['kjZjm'](_0x1b3ff2,ERROR_CODES[_0x1e8af1(0x1a5)]);if(ZIP_MESSAGE_HINTS['some'](_0x2c2052=>_0x88de40[_0x1e8af1(0x1bf)](_0x2c2052)))return _0x3e3056['OTMEf'](_0x1b3ff2,ERROR_CODES['EXTRACT_CORRUPT']);if(_0x24ebf6&&_0x3e3056[_0x1e8af1(0x1e7)](_0x24ebf6,0x1f4))return _0x3e3056[_0x1e8af1(0x20d)](_0x1b3ff2,ERROR_CODES['UPDATE_CHECK_FAILED'],_0x24ebf6);if(_0x24ebf6&&_0x3e3056[_0x1e8af1(0x1a0)](_0x24ebf6,0x190))return _0x3e3056['Qjbai'](_0x1b3ff2,ERROR_CODES[_0x1e8af1(0x1b3)],_0x24ebf6);if(AUTH_MESSAGE_HINTS[_0x1e8af1(0x20e)](_0x479dc2=>_0x88de40[_0x1e8af1(0x1bf)](_0x479dc2)))return _0x3e3056['zBXeW'](_0x1b3ff2,ERROR_CODES[_0x1e8af1(0x1d2)]);return _0x3e3056[_0x1e8af1(0x1d7)](_0x1b3ff2,ERROR_CODES[_0x1e8af1(0x18e)]);}const EXIT_CODE_MESSAGES={};function messageForExitCode(_0x21d8f9){const _0x2983c2=a36_0x46d471,_0x24e021={};_0x24e021[_0x2983c2(0x1de)]=function(_0xe046ae,_0x38e5d2){return _0xe046ae+_0x38e5d2;},_0x24e021['vpqHA']='or\x20contact\x20BrowserStack\x20support\x20if\x20this\x20persists.';const _0x2e394d=_0x24e021;if(Object[_0x2983c2(0x1f6)][_0x2983c2(0x1b9)][_0x2983c2(0x195)](EXIT_CODE_MESSAGES,_0x21d8f9))return EXIT_CODE_MESSAGES[_0x21d8f9];return _0x2e394d[_0x2983c2(0x1de)](_0x2983c2(0x18f)+_0x21d8f9+_0x2983c2(0x191),_0x2e394d[_0x2983c2(0x208)]);}function runtimeNotSupportedMessage(_0x438601,_0x17aaee={}){const _0x575aab=a36_0x46d471,_0x5b0909={};_0x5b0909['zgtvt']=function(_0x3f18aa,_0x67ac27){return _0x3f18aa&&_0x67ac27;},_0x5b0909[_0x575aab(0x209)]=function(_0x2bae32,_0x57c593){return _0x2bae32+_0x57c593;},_0x5b0909[_0x575aab(0x20b)]=_0x575aab(0x1b0);const _0x25371e=_0x5b0909,_0x4a1b9c=_0x17aaee[_0x575aab(0x1ce)],_0x1ede7b=_0x17aaee['maxTestedMajor'],_0x45689d=_0x25371e['zgtvt'](_0x4a1b9c,_0x1ede7b)?'\x20(supported:\x20Node\x20'+_0x4a1b9c+_0x575aab(0x1f8)+_0x1ede7b+')':'';return _0x25371e[_0x575aab(0x209)](_0x575aab(0x1fb)+_0x438601+_0x575aab(0x1ac)+_0x45689d+'.\x20',_0x25371e[_0x575aab(0x20b)]);}const a36_0x1d00f6={};a36_0x1d00f6[a36_0x46d471(0x216)]=ERROR_CODES,a36_0x1d00f6[a36_0x46d471(0x1d0)]=LT_EXIT_UNSUPPORTED_RUNTIME,a36_0x1d00f6[a36_0x46d471(0x1d5)]=LoadError,a36_0x1d00f6[a36_0x46d471(0x18a)]=makeLoadError,a36_0x1d00f6[a36_0x46d471(0x188)]=classify,a36_0x1d00f6[a36_0x46d471(0x182)]=defaultMessageFor,a36_0x1d00f6[a36_0x46d471(0x1ef)]=messageForExitCode,a36_0x1d00f6['runtimeNotSupportedMessage']=runtimeNotSupportedMessage,a36_0x1d00f6[a36_0x46d471(0x1e8)]=EXIT_CODE_MESSAGES,module[a36_0x46d471(0x202)]=a36_0x1d00f6;
1
+ 'use strict';const a36_0x326fde=a36_0x652f;function a36_0x5e8e(){const _0x76ce7=['NODE_EXTRA_CA_CERTS\x20(or\x20BROWSERSTACK_EXTRA_CA_CERTS)\x20to\x20your\x20corporate\x20CA\x20bundle\x20and\x20retry.','HpIHB','VwvUO','dUuwE','BrowserStack\x20returned\x20an\x20error\x20while\x20checking\x20for\x20the\x20latest\x20Load\x20Testing\x20CLI','ECONNRESET','UNKNOWN','6634808yueKAr','EXIT_CODE_MESSAGES','EROFS','nwoGW','igUPm','Permission\x20denied\x20while\x20writing\x20the\x20Load\x20Testing\x20CLI\x20binary.\x20Ensure\x20the\x20SDK\x20can\x20write\x20to\x20~/.browserstack\x20','7kNaxWt','EWFwF','tWqDz','name','2SvMcre','nwoYn','EHOSTUNREACH','otVzg','1059jvPrPi','25483484KeibXk','ptuOP','NETWORK','UNSUPPORTED_RUNTIME','jHbqH','ECONNREFUSED','invalid\x20signature','XLdqn','isAuth','MxOPY','kPAoj','not\x20a\x20valid\x20zip','emMwQ','\x20(HTTP\x20','EAI_AGAIN','response','.\x20Check\x20BROWSERSTACK_USERNAME\x20/\x20BROWSERSTACK_ACCESS_KEY\x20(or\x20the\x20credentials\x20in\x20your\x20browserstack.yml)\x20and\x20try\x20again.','4734CxSUNe','hasOwnProperty','maxTestedMajor','cause','KVluD','ENOSPC','DISK_FULL','RVzFf','Failed\x20to\x20download\x20the\x20Load\x20Testing\x20CLI\x20binary','3415hmeQdJ','sNekl','ERROR_CODES','split','userMessage','ZiPmj','unable\x20to\x20get\x20local\x20issuer','exports','runtimeNotSupportedMessage','The\x20downloaded\x20Load\x20Testing\x20CLI\x20binary\x20could\x20not\x20be\x20extracted\x20(the\x20archive\x20appears\x20corrupt\x20or\x20incomplete).\x20','forbidden','eRXjF','bqLdo','DEPTH_ZERO_SELF_SIGNED_CERT','jDxtH','JvGGu','some','vPcJD','lipiS','.\x20Please\x20retry;\x20if\x20this\x20persists,\x20contact\x20BrowserStack\x20support.','message','Could\x20not\x20read\x20your\x20Load\x20Testing\x20configuration.\x20Check\x20that\x20the\x20browserstack.yml\x20/\x20browserstack-load.yml\x20','AUTH_INVALID','375923uvyyHm','EPIPE','BABLb','MVGHR','eQAbd','tls\x20handshake','WWzMC','VgjjD','CONFIG_PARSE','SQyRr','string','Switch\x20to\x20a\x20supported\x20Node.js\x20version\x20and\x20re-run.\x20See\x20the\x20BrowserStack\x20Load\x20Testing\x20docs\x20for\x20the\x20supported\x20version\x20matrix.','SELF_SIGNED_CERT_IN_CHAIN','authentication\x20failed','ENETUNREACH','CERT_UNTRUSTED','invalid\x20username','CERT_HAS_EXPIRED','RKotF','IQyMp','+,\x20validated\x20up\x20to\x20Node\x20','\x20is\x20not\x20supported\x20by\x20BrowserStack\x20Load\x20Testing','DOWNLOAD_HTTP','10092KFWJtp','central\x20directory','EXTRACT_CORRUPT','33UbEXVH','MlTTZ','jcdRd','statusCode','IXoou','pIaqI','FS_PERMISSION','2130YHoiep','Node.js\x20v','unable\x20to\x20verify','maOqO','gZrzC','The\x20Load\x20Testing\x20CLI\x20could\x20not\x20be\x20started.\x20Re-run\x20with\x20DEBUG=true\x20for\x20details,\x20','invalid\x20access\x20key','EACCES','end\x20of\x20central','uietO','2052276Oqmenl','hardMinMajor','ESOCKETTIMEDOUT','UPDATE_CHECK_FAILED','includes','\x20(supported:\x20Node\x20','lwnsM','LoadError','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','Authentication\x20failed:\x20your\x20BrowserStack\x20username/access\x20key\x20was\x20rejected','code','prototype','If\x20sdk-assets.browserstack.com\x20is\x20blocked\x20by\x20your\x20firewall,\x20allowlist\x20it.','invalid\x20local\x20file\x20header','error','classify','call','invalid\x20credential','self-signed\x20certificate','ECONNABORTED','or\x20contact\x20BrowserStack\x20support\x20if\x20this\x20persists.','Jihhz','certificate\x20has\x20expired','UNABLE_TO_VERIFY_LEAF_SIGNATURE','RJSDf','Switch\x20to\x20a\x20supported\x20Node.js\x20version\x20and\x20re-run,\x20or\x20set\x20BROWSERSTACK_SKIP_NODE_CHECK=true\x20to\x20bypass\x20this\x20check.','yOcNa','oIFcz','eWQaG','YkurY','NTMqC','LT_EXIT_UNSUPPORTED_RUNTIME','2960DTjaCd','WdjnQ','XkUaw','invalid\x20comment\x20length','ENOTFOUND','LoEEw','EPERM','ssl\x20alert','Your\x20Node.js\x20runtime\x20is\x20not\x20supported\x20by\x20BrowserStack\x20Load\x20Testing.\x20','SSL','unauthor','qvLzy','DQjxo','MhAvU'];a36_0x5e8e=function(){return _0x76ce7;};return a36_0x5e8e();}function a36_0x652f(_0x2b02ff,_0x4dc795){const _0x5e8e91=a36_0x5e8e();return a36_0x652f=function(_0x652f68,_0x3f3bf9){_0x652f68=_0x652f68-0x1c2;let _0x13506b=_0x5e8e91[_0x652f68];return _0x13506b;},a36_0x652f(_0x2b02ff,_0x4dc795);}(function(_0x2b479d,_0x9c18cf){const _0x2439f9=a36_0x652f,_0xd517b4=_0x2b479d();while(!![]){try{const _0x398711=-parseInt(_0x2439f9(0x20b))/0x1*(-parseInt(_0x2439f9(0x1d5))/0x2)+-parseInt(_0x2439f9(0x1d9))/0x3*(parseInt(_0x2439f9(0x222))/0x4)+parseInt(_0x2439f9(0x1f4))/0x5*(parseInt(_0x2439f9(0x22c))/0x6)+-parseInt(_0x2439f9(0x1d1))/0x7*(parseInt(_0x2439f9(0x1cb))/0x8)+parseInt(_0x2439f9(0x1eb))/0x9*(parseInt(_0x2439f9(0x256))/0xa)+parseInt(_0x2439f9(0x225))/0xb*(-parseInt(_0x2439f9(0x236))/0xc)+parseInt(_0x2439f9(0x1da))/0xd;if(_0x398711===_0x9c18cf)break;else _0xd517b4['push'](_0xd517b4['shift']());}catch(_0x12ab89){_0xd517b4['push'](_0xd517b4['shift']());}}}(a36_0x5e8e,0x7a641));const a36_0x355e40={};a36_0x355e40[a36_0x326fde(0x20a)]=a36_0x326fde(0x20a),a36_0x355e40['NETWORK']=a36_0x326fde(0x1dc),a36_0x355e40['SSL']='SSL',a36_0x355e40['DOWNLOAD_HTTP']=a36_0x326fde(0x221),a36_0x355e40['EXTRACT_CORRUPT']=a36_0x326fde(0x224),a36_0x355e40[a36_0x326fde(0x22b)]=a36_0x326fde(0x22b),a36_0x355e40[a36_0x326fde(0x1f1)]=a36_0x326fde(0x1f1),a36_0x355e40[a36_0x326fde(0x213)]=a36_0x326fde(0x213),a36_0x355e40['UPDATE_CHECK_FAILED']=a36_0x326fde(0x239),a36_0x355e40[a36_0x326fde(0x1dd)]=a36_0x326fde(0x1dd),a36_0x355e40[a36_0x326fde(0x1ca)]=a36_0x326fde(0x1ca);const ERROR_CODES=a36_0x355e40,LT_EXIT_UNSUPPORTED_RUNTIME=0x4e,NETWORK_ERROR_CODES=[a36_0x326fde(0x1df),a36_0x326fde(0x1c9),a36_0x326fde(0x25a),a36_0x326fde(0x1e8),'ETIMEDOUT',a36_0x326fde(0x219),a36_0x326fde(0x1d7),a36_0x326fde(0x20c),a36_0x326fde(0x249),a36_0x326fde(0x238)],FS_PERMISSION_CODES=[a36_0x326fde(0x233),a36_0x326fde(0x25c),a36_0x326fde(0x1cd)],SSL_ERROR_CODES=[a36_0x326fde(0x21c),a36_0x326fde(0x201),a36_0x326fde(0x217),a36_0x326fde(0x24d),a36_0x326fde(0x23e),'ERR_TLS_CERT_ALTNAME_INVALID',a36_0x326fde(0x21a)],SSL_MESSAGE_HINTS=['self\x20signed\x20certificate',a36_0x326fde(0x248),a36_0x326fde(0x22e),a36_0x326fde(0x1fa),a36_0x326fde(0x24c),'ssl\x20routines',a36_0x326fde(0x25d),a36_0x326fde(0x210),'wrong\x20version\x20number'],ZIP_MESSAGE_HINTS=[a36_0x326fde(0x223),a36_0x326fde(0x1e5),a36_0x326fde(0x234),a36_0x326fde(0x1e0),a36_0x326fde(0x243),'compressed/uncompressed\x20size',a36_0x326fde(0x259)],AUTH_MESSAGE_HINTS=[a36_0x326fde(0x260),a36_0x326fde(0x1fe),'access\x20denied',a36_0x326fde(0x21b),a36_0x326fde(0x232),a36_0x326fde(0x218),a36_0x326fde(0x247)];class LoadError extends Error{constructor(_0x4bd193,_0x5cc0be,_0x34c804={}){const _0x460e55=a36_0x326fde,_0x1467ed={'eWQaG':'0|2|3|6|4|5|1','MVGHR':function(_0x432275,_0xd53877){return _0x432275||_0xd53877;},'BABLb':function(_0x13e6a5,_0x4e3169){return _0x13e6a5!==_0x4e3169;},'RJSDf':'LoadError','DQjxo':function(_0x4a7f02,_0x2b3b6c){return _0x4a7f02===_0x2b3b6c;},'WWzMC':function(_0x485c1f,_0x471d44,_0x2b1c54){return _0x485c1f(_0x471d44,_0x2b1c54);}},_0x382ed2=_0x1467ed[_0x460e55(0x252)][_0x460e55(0x1f7)]('|');let _0x7f10b3=0x0;while(!![]){switch(_0x382ed2[_0x7f10b3++]){case'0':super(_0x1467ed[_0x460e55(0x20e)](_0x5cc0be,_0x4bd193));continue;case'1':_0x1467ed[_0x460e55(0x20d)](_0x34c804[_0x460e55(0x1ee)],undefined)&&(this[_0x460e55(0x1ee)]=_0x34c804[_0x460e55(0x1ee)]);continue;case'2':this[_0x460e55(0x1d4)]=_0x1467ed[_0x460e55(0x24e)];continue;case'3':this[_0x460e55(0x240)]=ERROR_CODES[_0x4bd193]?_0x4bd193:ERROR_CODES[_0x460e55(0x1ca)];continue;case'4':this[_0x460e55(0x1e2)]=_0x1467ed[_0x460e55(0x1c2)](this[_0x460e55(0x240)],ERROR_CODES[_0x460e55(0x20a)]);continue;case'5':_0x34c804[_0x460e55(0x228)]&&(this[_0x460e55(0x228)]=_0x34c804[_0x460e55(0x228)]);continue;case'6':this[_0x460e55(0x1f8)]=_0x5cc0be||_0x1467ed[_0x460e55(0x211)](defaultMessageFor,this[_0x460e55(0x240)],_0x34c804);continue;}break;}}}function makeLoadError(_0x458f55,_0x357bad={}){return new LoadError(_0x458f55,_0x357bad['userMessage'],_0x357bad);}function rawCauseString(_0x16f351){const _0x5d6f0c=a36_0x326fde,_0x2fde8a={'vPcJD':function(_0x4b4e85,_0x1698d2){return _0x4b4e85===_0x1698d2;},'oIFcz':function(_0x167898,_0x107d96){return _0x167898===_0x107d96;},'jDxtH':_0x5d6f0c(0x215),'HpIHB':function(_0xd8a44f,_0x3c54f8){return _0xd8a44f(_0x3c54f8);}};if(_0x2fde8a[_0x5d6f0c(0x205)](_0x16f351,null)||_0x2fde8a[_0x5d6f0c(0x205)](_0x16f351,undefined))return'';if(_0x2fde8a[_0x5d6f0c(0x251)](typeof _0x16f351,_0x2fde8a[_0x5d6f0c(0x202)]))return _0x16f351;if(_0x16f351[_0x5d6f0c(0x1f8)]||_0x16f351['message']||_0x16f351[_0x5d6f0c(0x244)]||_0x16f351['reason'])return _0x16f351['userMessage']||_0x16f351[_0x5d6f0c(0x208)]||_0x16f351[_0x5d6f0c(0x244)]||_0x16f351['reason'];try{return JSON['stringify'](_0x16f351);}catch(_0x51ecaf){return _0x2fde8a[_0x5d6f0c(0x1c5)](String,_0x16f351);}}function defaultMessageFor(_0x5ed702,_0x5917e7={}){const _0x211d36=a36_0x326fde,_0x4cf45d={};_0x4cf45d['nwoYn']=function(_0x53fd23,_0x5d5c0c){return _0x53fd23+_0x5d5c0c;},_0x4cf45d[_0x211d36(0x1de)]=function(_0xe01f51,_0x42da35){return _0xe01f51+_0x42da35;},_0x4cf45d['LoEEw']=_0x211d36(0x23f),_0x4cf45d[_0x211d36(0x1e4)]=_0x211d36(0x1ea),_0x4cf45d[_0x211d36(0x21e)]=function(_0x3b477d,_0x1ea4b5){return _0x3b477d+_0x1ea4b5;},_0x4cf45d[_0x211d36(0x200)]='Could\x20not\x20reach\x20BrowserStack\x20to\x20set\x20up\x20the\x20Load\x20Testing\x20CLI.\x20Check\x20your\x20network/proxy\x20connectivity\x20and\x20retry.\x20',_0x4cf45d[_0x211d36(0x21d)]=_0x211d36(0x242),_0x4cf45d[_0x211d36(0x1d2)]=function(_0x56eacb,_0x312712){return _0x56eacb+_0x312712;},_0x4cf45d[_0x211d36(0x1f5)]='SSL/TLS\x20error\x20while\x20contacting\x20BrowserStack.\x20If\x20you\x20are\x20behind\x20an\x20SSL-inspecting\x20proxy,\x20set\x20',_0x4cf45d[_0x211d36(0x22f)]=_0x211d36(0x1c4),_0x4cf45d['igUPm']=_0x211d36(0x1f3),_0x4cf45d[_0x211d36(0x1ce)]=_0x211d36(0x207),_0x4cf45d[_0x211d36(0x257)]=_0x211d36(0x1fd),_0x4cf45d[_0x211d36(0x261)]='Delete\x20the\x20cached\x20binary\x20under\x20~/.browserstack/cli\x20and\x20retry.',_0x4cf45d['jcdRd']=function(_0x4142b3,_0x2a5fe4){return _0x4142b3+_0x2a5fe4;},_0x4cf45d['eRXjF']=_0x211d36(0x1d0),_0x4cf45d['ptuOP']='(or\x20set\x20BROWSERSTACK_FILES_DIR\x20to\x20a\x20writable\x20directory)\x20and\x20retry.',_0x4cf45d['pwXHz']='Not\x20enough\x20disk\x20space\x20to\x20download\x20the\x20Load\x20Testing\x20CLI\x20binary.\x20Free\x20up\x20disk\x20space\x20and\x20retry.',_0x4cf45d[_0x211d36(0x22a)]=_0x211d36(0x209),_0x4cf45d['XkUaw']='file\x20exists\x20and\x20is\x20valid\x20YAML.',_0x4cf45d[_0x211d36(0x1c6)]=function(_0x2b8301,_0xe64fdf){return _0x2b8301+_0xe64fdf;},_0x4cf45d['MhAvU']=_0x211d36(0x1c8),_0x4cf45d['JvGGu']=_0x211d36(0x25e),_0x4cf45d[_0x211d36(0x1c7)]=_0x211d36(0x216),_0x4cf45d['NTMqC']=function(_0x2af8a8,_0x48769b){return _0x2af8a8+_0x48769b;},_0x4cf45d[_0x211d36(0x24b)]=_0x211d36(0x231),_0x4cf45d[_0x211d36(0x20f)]=_0x211d36(0x24a);const _0x1c3658=_0x4cf45d,_0x1bd269=_0x5917e7[_0x211d36(0x228)]?_0x211d36(0x1e7)+_0x5917e7[_0x211d36(0x228)]+')':'';switch(_0x5ed702){case ERROR_CODES[_0x211d36(0x20a)]:return _0x1c3658[_0x211d36(0x1d6)](_0x1c3658[_0x211d36(0x1de)](_0x1c3658[_0x211d36(0x25b)],_0x1bd269),_0x1c3658['kPAoj']);case ERROR_CODES['NETWORK']:return _0x1c3658['IQyMp'](_0x1c3658[_0x211d36(0x200)],_0x1c3658[_0x211d36(0x21d)]);case ERROR_CODES['SSL']:return _0x1c3658[_0x211d36(0x1d2)](_0x1c3658['sNekl'],_0x1c3658[_0x211d36(0x22f)]);case ERROR_CODES['DOWNLOAD_HTTP']:return _0x1c3658[_0x211d36(0x1d6)](_0x1c3658[_0x211d36(0x1d6)](_0x1c3658[_0x211d36(0x1cf)],_0x1bd269),_0x1c3658['nwoGW']);case ERROR_CODES['EXTRACT_CORRUPT']:return _0x1c3658[_0x211d36(0x21e)](_0x1c3658['WdjnQ'],_0x1c3658[_0x211d36(0x261)]);case ERROR_CODES[_0x211d36(0x22b)]:return _0x1c3658[_0x211d36(0x227)](_0x1c3658[_0x211d36(0x1ff)],_0x1c3658[_0x211d36(0x1db)]);case ERROR_CODES['DISK_FULL']:return _0x1c3658['pwXHz'];case ERROR_CODES[_0x211d36(0x213)]:return _0x1c3658['IQyMp'](_0x1c3658[_0x211d36(0x22a)],_0x1c3658[_0x211d36(0x258)]);case ERROR_CODES[_0x211d36(0x239)]:return _0x1c3658['VwvUO'](_0x1c3658[_0x211d36(0x1d6)](_0x1c3658[_0x211d36(0x1c3)],_0x1bd269),_0x1c3658[_0x211d36(0x1ce)]);case ERROR_CODES[_0x211d36(0x1dd)]:return _0x1c3658['nwoYn'](_0x1c3658[_0x211d36(0x203)],_0x1c3658[_0x211d36(0x1c7)]);default:return _0x1c3658[_0x211d36(0x254)](_0x1c3658[_0x211d36(0x24b)],_0x1c3658['eQAbd']);}}function classify(_0x3081b6){const _0x432761=a36_0x326fde,_0x53bda4={'KVluD':function(_0x3072de,_0x305b09){return _0x3072de(_0x305b09);},'MxOPY':function(_0x2bcd22,_0x559169){return _0x2bcd22===_0x559169;},'MlTTZ':_0x432761(0x215),'otVzg':function(_0x5e9ed2,_0x57488a,_0x1abab1){return _0x5e9ed2(_0x57488a,_0x1abab1);},'lwnsM':function(_0x1f303d,_0x80316b){return _0x1f303d===_0x80316b;},'emMwQ':function(_0x67e7ae,_0x4c117c){return _0x67e7ae===_0x4c117c;},'gqhaW':function(_0xbec3d0,_0x32a2ff){return _0xbec3d0===_0x32a2ff;},'IXoou':_0x432761(0x1f0),'uietO':function(_0x2c7525,_0x30b24e){return _0x2c7525(_0x30b24e);},'yOcNa':function(_0x25273c,_0x1e4dcd){return _0x25273c(_0x1e4dcd);},'XLdqn':function(_0x4e60f1,_0x24ef30){return _0x4e60f1>=_0x24ef30;},'VgjjD':function(_0x268197,_0x58bb7e){return _0x268197>=_0x58bb7e;},'SQyRr':function(_0x469f06,_0x4e9ed1,_0x19598a){return _0x469f06(_0x4e9ed1,_0x19598a);},'GoGhG':function(_0x35eb1b,_0x1333e7){return _0x35eb1b(_0x1333e7);},'RVzFf':function(_0x3e4e22,_0x467287){return _0x3e4e22(_0x467287);}},_0x40461d=_0x53bda4[_0x432761(0x1ef)](rawCauseString,_0x3081b6);if(_0x3081b6&&_0x53bda4[_0x432761(0x1e3)](typeof _0x3081b6[_0x432761(0x240)],_0x53bda4[_0x432761(0x226)])&&ERROR_CODES[_0x3081b6[_0x432761(0x240)]]){const _0x1a7a25=_0x3081b6[_0x432761(0x1f8)]||_0x53bda4[_0x432761(0x1d8)](defaultMessageFor,_0x3081b6[_0x432761(0x240)],{'statusCode':_0x3081b6['statusCode']});return{'code':_0x3081b6[_0x432761(0x240)],'userMessage':_0x1a7a25,'isAuth':_0x53bda4['MxOPY'](_0x3081b6['code'],ERROR_CODES[_0x432761(0x20a)]),'cause':_0x40461d};}const _0x1d7060=_0x3081b6&&_0x53bda4[_0x432761(0x23c)](typeof _0x3081b6[_0x432761(0x240)],_0x53bda4['MlTTZ'])?_0x3081b6[_0x432761(0x240)]:'',_0x2f29e3=_0x3081b6&&(_0x3081b6[_0x432761(0x228)]||_0x3081b6[_0x432761(0x1e9)]&&_0x3081b6[_0x432761(0x1e9)][_0x432761(0x228)])||undefined,_0x2d1fc1=_0x3081b6&&(_0x3081b6[_0x432761(0x208)]||_0x3081b6[_0x432761(0x244)])?_0x53bda4['KVluD'](String,_0x3081b6[_0x432761(0x208)]||_0x3081b6[_0x432761(0x244)])['toLowerCase']():'',_0x19d072=(_0x1380d7,_0x2952b0)=>({'code':_0x1380d7,'userMessage':defaultMessageFor(_0x1380d7,{'statusCode':_0x2952b0}),'isAuth':_0x1380d7===ERROR_CODES['AUTH_INVALID'],'cause':_0x40461d});if(_0x1d7060&&SSL_ERROR_CODES[_0x432761(0x23a)](_0x1d7060)||SSL_MESSAGE_HINTS['some'](_0x1c80dc=>_0x2d1fc1['includes'](_0x1c80dc)))return _0x53bda4['KVluD'](_0x19d072,ERROR_CODES[_0x432761(0x25f)]);if(_0x53bda4[_0x432761(0x1e6)](_0x2f29e3,0x191)||_0x53bda4['lwnsM'](_0x2f29e3,0x193))return _0x53bda4[_0x432761(0x1d8)](_0x19d072,ERROR_CODES[_0x432761(0x20a)],_0x2f29e3);if(_0x53bda4['gqhaW'](_0x1d7060,_0x53bda4[_0x432761(0x229)]))return _0x53bda4[_0x432761(0x235)](_0x19d072,ERROR_CODES['DISK_FULL']);if(_0x1d7060&&FS_PERMISSION_CODES[_0x432761(0x23a)](_0x1d7060))return _0x53bda4[_0x432761(0x250)](_0x19d072,ERROR_CODES[_0x432761(0x22b)]);if(_0x1d7060&&NETWORK_ERROR_CODES['includes'](_0x1d7060))return _0x53bda4[_0x432761(0x235)](_0x19d072,ERROR_CODES[_0x432761(0x1dc)]);if(ZIP_MESSAGE_HINTS['some'](_0x4391ff=>_0x2d1fc1[_0x432761(0x23a)](_0x4391ff)))return _0x53bda4[_0x432761(0x250)](_0x19d072,ERROR_CODES[_0x432761(0x224)]);if(_0x2f29e3&&_0x53bda4[_0x432761(0x1e1)](_0x2f29e3,0x1f4))return _0x53bda4[_0x432761(0x1d8)](_0x19d072,ERROR_CODES[_0x432761(0x239)],_0x2f29e3);if(_0x2f29e3&&_0x53bda4[_0x432761(0x212)](_0x2f29e3,0x190))return _0x53bda4[_0x432761(0x214)](_0x19d072,ERROR_CODES[_0x432761(0x221)],_0x2f29e3);if(AUTH_MESSAGE_HINTS[_0x432761(0x204)](_0x2f6126=>_0x2d1fc1[_0x432761(0x23a)](_0x2f6126)))return _0x53bda4['GoGhG'](_0x19d072,ERROR_CODES[_0x432761(0x20a)]);return _0x53bda4[_0x432761(0x1f2)](_0x19d072,ERROR_CODES[_0x432761(0x1ca)]);}const EXIT_CODE_MESSAGES={};function messageForExitCode(_0x1fa047){const _0x188848=a36_0x326fde,_0x101e9b={};_0x101e9b[_0x188848(0x1f9)]=function(_0xcb1ba0,_0x13438e){return _0xcb1ba0+_0x13438e;},_0x101e9b[_0x188848(0x1d3)]=_0x188848(0x24a);const _0x4eb4e5=_0x101e9b;if(Object[_0x188848(0x241)][_0x188848(0x1ec)][_0x188848(0x246)](EXIT_CODE_MESSAGES,_0x1fa047))return EXIT_CODE_MESSAGES[_0x1fa047];return _0x4eb4e5['ZiPmj']('Load\x20test\x20failed\x20(exit\x20code\x20'+_0x1fa047+').\x20Re-run\x20with\x20DEBUG=true\x20for\x20details,\x20',_0x4eb4e5['tWqDz']);}function runtimeNotSupportedMessage(_0x19b031,_0x4a8295={}){const _0x409d03=a36_0x326fde,_0x46311e={};_0x46311e[_0x409d03(0x206)]=function(_0x2a0874,_0x54a4cc){return _0x2a0874&&_0x54a4cc;},_0x46311e[_0x409d03(0x253)]=function(_0x5ae4dd,_0x37f527){return _0x5ae4dd+_0x37f527;},_0x46311e[_0x409d03(0x230)]=_0x409d03(0x24f);const _0x236b51=_0x46311e,_0x2277df=_0x4a8295[_0x409d03(0x237)],_0x3aaa26=_0x4a8295[_0x409d03(0x1ed)],_0x5848ca=_0x236b51[_0x409d03(0x206)](_0x2277df,_0x3aaa26)?_0x409d03(0x23b)+_0x2277df+_0x409d03(0x21f)+_0x3aaa26+')':'';return _0x236b51[_0x409d03(0x253)](_0x409d03(0x22d)+_0x19b031+_0x409d03(0x220)+_0x5848ca+'.\x20',_0x236b51[_0x409d03(0x230)]);}const a36_0x2bd758={};a36_0x2bd758[a36_0x326fde(0x1f6)]=ERROR_CODES,a36_0x2bd758[a36_0x326fde(0x255)]=LT_EXIT_UNSUPPORTED_RUNTIME,a36_0x2bd758[a36_0x326fde(0x23d)]=LoadError,a36_0x2bd758['makeLoadError']=makeLoadError,a36_0x2bd758[a36_0x326fde(0x245)]=classify,a36_0x2bd758['defaultMessageFor']=defaultMessageFor,a36_0x2bd758['messageForExitCode']=messageForExitCode,a36_0x2bd758[a36_0x326fde(0x1fc)]=runtimeNotSupportedMessage,a36_0x2bd758[a36_0x326fde(0x1cc)]=EXIT_CODE_MESSAGES,module[a36_0x326fde(0x1fb)]=a36_0x2bd758;