browserstack-node-sdk 1.66.0 → 1.66.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) 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/newmanTestFramework.js +1 -1
  139. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  140. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  142. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  143. package/src/bin/v2/framework/testFramework.js +1 -1
  144. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  146. package/src/bin/v2/grpcClient.js +1 -1
  147. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  148. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  149. package/src/bin/v2/instances/trackedContext.js +1 -1
  150. package/src/bin/v2/instances/trackedInstance.js +1 -1
  151. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  152. package/src/bin/v2/modules/baseModule.js +1 -1
  153. package/src/bin/v2/modules/loadTestModule.js +1 -1
  154. package/src/bin/v2/modules/observabilityModule.js +1 -1
  155. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  156. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  157. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  158. package/src/bin/v2/modules/testhubModule.js +1 -1
  159. package/src/bin/v2/sdkErrorHandler.js +1 -1
  160. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  161. package/src/bin/v2/state/hookState.js +1 -1
  162. package/src/bin/v2/state/testFrameworkState.js +1 -1
  163. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  164. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  165. package/src/bin/v2/utils/jest-utils.js +1 -1
  166. package/src/bin/vanilla-js/command.js +1 -1
  167. package/src/browserStackSdk.js +1 -1
  168. package/src/helpers/BrowserStackSetup.js +1 -1
  169. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  170. package/src/helpers/accessibility-automation/constants.js +1 -1
  171. package/src/helpers/accessibility-automation/helper.js +1 -1
  172. package/src/helpers/accessibility-automation/scripts.js +1 -1
  173. package/src/helpers/ats/constants.js +1 -1
  174. package/src/helpers/ats/helper.js +1 -1
  175. package/src/helpers/caCertHelper.js +1 -1
  176. package/src/helpers/capsMapping.js +1 -1
  177. package/src/helpers/central-scanner/constants.js +1 -1
  178. package/src/helpers/central-scanner/helpers.js +1 -1
  179. package/src/helpers/classLogger.js +1 -1
  180. package/src/helpers/driverInitErrorReporter.js +1 -1
  181. package/src/helpers/globals.js +1 -1
  182. package/src/helpers/helper.js +1 -1
  183. package/src/helpers/logger.js +1 -1
  184. package/src/helpers/metadata.js +1 -1
  185. package/src/helpers/patchHelper.js +1 -1
  186. package/src/helpers/patchHelpers.js +1 -1
  187. package/src/helpers/percy/Percy.js +1 -1
  188. package/src/helpers/percy/PercyBinary.js +1 -1
  189. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  190. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  191. package/src/helpers/percy/PercySDK.js +1 -1
  192. package/src/helpers/percy/index.js +1 -1
  193. package/src/helpers/percy/utils.js +1 -1
  194. package/src/helpers/performance/constants.js +1 -1
  195. package/src/helpers/performance/performance-tester.js +1 -1
  196. package/src/helpers/playwright-helper.js +1 -1
  197. package/src/helpers/processHelper.js +1 -1
  198. package/src/helpers/puppeteer-helper.js +1 -1
  199. package/src/helpers/request-spy.js +1 -1
  200. package/src/helpers/setKeepAlive.js +1 -1
  201. package/src/helpers/stackFrameUtils.js +1 -1
  202. package/src/helpers/test-observability/constants.js +1 -1
  203. package/src/helpers/test-observability/error-handler.js +1 -1
  204. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  205. package/src/helpers/test-observability/sessionHandler.js +1 -1
  206. package/src/helpers/test-observability/utils.js +1 -1
  207. package/src/helpers/test-orchestration/constants.js +1 -1
  208. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  209. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  210. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  211. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  212. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  213. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  214. package/src/helpers/testhub/constants.js +1 -1
  215. package/src/helpers/testhub/testhubHandler.js +1 -1
  216. package/src/helpers/testhub/utils.js +1 -1
  217. package/src/helpers/utilities.js +1 -1
  218. package/src/helpers/w3cMapping.js +1 -1
  219. package/src/hubAllocationMethods.js +1 -1
  220. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a15_0x35945c=a15_0x1fc8;(function(_0x408a3b,_0x376a59){const _0x16d5b1=a15_0x1fc8,_0x590d3d=_0x408a3b();while(!![]){try{const _0x432760=-parseInt(_0x16d5b1(0x180))/0x1+parseInt(_0x16d5b1(0x18d))/0x2*(parseInt(_0x16d5b1(0x18a))/0x3)+-parseInt(_0x16d5b1(0x19a))/0x4*(-parseInt(_0x16d5b1(0x19c))/0x5)+parseInt(_0x16d5b1(0x171))/0x6*(-parseInt(_0x16d5b1(0x167))/0x7)+-parseInt(_0x16d5b1(0x170))/0x8*(-parseInt(_0x16d5b1(0x18b))/0x9)+parseInt(_0x16d5b1(0x191))/0xa*(parseInt(_0x16d5b1(0x19b))/0xb)+parseInt(_0x16d5b1(0x188))/0xc*(-parseInt(_0x16d5b1(0x16c))/0xd);if(_0x432760===_0x376a59)break;else _0x590d3d['push'](_0x590d3d['shift']());}catch(_0x1b6d4d){_0x590d3d['push'](_0x590d3d['shift']());}}}(a15_0x119b,0x6d390));const {default:BrowserStackSetup}=require(a15_0x35945c(0x184)),logger=require(a15_0x35945c(0x17a))[a15_0x35945c(0x189)],{URL}=require(a15_0x35945c(0x164)),helper=require(a15_0x35945c(0x183)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a15_0x35945c(0x17d)),validHosts=function(_0x5240ba){const _0x571f19=a15_0x35945c;return _0x5240ba[_0x571f19(0x161)](',')[_0x571f19(0x19f)](_0xad3be5=>{const _0x13799f=_0x571f19;try{new URL(_0xad3be5[_0x13799f(0x196)]());}catch(_0x5b8772){return![];}return!![];});},parseOnPremHosts=function(_0x529b71){const _0x36edd6=a15_0x35945c,_0xdff815={};_0xdff815['lhQtu']=function(_0xdf34d6,_0x4efac1){return _0xdf34d6===_0x4efac1;},_0xdff815[_0x36edd6(0x175)]=_0x36edd6(0x15b),_0xdff815['WuNvy']='443',_0xdff815['VjXfF']=function(_0x5d78a7,_0x3b1a00){return _0x5d78a7===_0x3b1a00;},_0xdff815[_0x36edd6(0x185)]=_0x36edd6(0x177);const _0x1a3b18=_0xdff815;return _0x529b71[_0x36edd6(0x161)](',')[_0x36edd6(0x176)](_0x1f9797=>{const _0x51d655=_0x36edd6,_0x7b03a5=new URL(_0x1f9797[_0x51d655(0x196)]()),_0x4cb264=_0x7b03a5[_0x51d655(0x193)],_0x3fbf9f=_0x7b03a5['port']||(_0x1a3b18['lhQtu'](_0x7b03a5[_0x51d655(0x16b)],_0x1a3b18[_0x51d655(0x175)])?_0x1a3b18[_0x51d655(0x18e)]:'80'),_0x280091=_0x7b03a5[_0x51d655(0x16b)][_0x51d655(0x17f)](':',''),_0x154d36=_0x1a3b18['VjXfF'](_0x280091,_0x1a3b18[_0x51d655(0x185)])?0x1:0x0;return _0x4cb264+','+_0x3fbf9f+','+_0x154d36;});},connectCommandBuilder=function(_0x11dbec){const _0x1ba44a=a15_0x35945c,_0x235795={};_0x235795[_0x1ba44a(0x169)]='string';const _0x27994b=_0x235795,_0x22e0c7={};_0x22e0c7[_0x1ba44a(0x186)]=HELP_MESSAGES[_0x1ba44a(0x192)]['bstackAccessKey'],_0x22e0c7[_0x1ba44a(0x199)]=_0x27994b['AFVLT'];const _0x2f1f4a={};_0x2f1f4a[_0x1ba44a(0x186)]=HELP_MESSAGES[_0x1ba44a(0x192)]['hosts'],_0x2f1f4a[_0x1ba44a(0x199)]=_0x27994b['AFVLT'],_0x2f1f4a['demandOption']=!![];const _0x59fe79={};return _0x59fe79['bstack-accesskey']=_0x22e0c7,_0x59fe79[_0x1ba44a(0x16f)]=_0x2f1f4a,_0x11dbec[_0x1ba44a(0x192)](_0x59fe79);},connectCommandHandler=async function(_0x1f67bc){const _0x25658e=a15_0x35945c,_0x38e50c={'WYSZH':_0x25658e(0x168),'fHUca':function(_0x47dc2b,_0x1d5e48){return _0x47dc2b===_0x1d5e48;},'fEqyL':_0x25658e(0x15a),'lLKkV':_0x25658e(0x179),'xbbKs':function(_0x4eaf87,_0x37bbb4){return _0x4eaf87===_0x37bbb4;},'cyWSJ':_0x25658e(0x165),'xdRPA':function(_0x556c9e,_0x21ce2a){return _0x556c9e(_0x21ce2a);},'rEUdM':_0x25658e(0x187),'cJbUl':function(_0x15cfcd,_0x4127d0){return _0x15cfcd(_0x4127d0);},'IRBcd':'integrations-repeater','XePai':'Connection\x20established\x20successfully.','PFKAN':'Failed\x20to\x20establish\x20connection.'};try{const _0x2bc141=new BrowserStackSetup(_0x1f67bc,_0x38e50c[_0x25658e(0x15f)]);_0x1f67bc[_0x25658e(0x173)]&&(_0x2bc141[_0x25658e(0x195)][_0x25658e(0x18c)]=_0x1f67bc['bstackAccesskey']);if(_0x38e50c['fHUca'](typeof _0x2bc141[_0x25658e(0x195)][_0x25658e(0x18c)],_0x38e50c['fEqyL'])){logger[_0x25658e(0x18f)](_0x38e50c[_0x25658e(0x159)]);throw new Error(ERROR_MESSAGES[_0x25658e(0x194)][_0x25658e(0x19e)]);}const _0xe7c0a8=_0x1f67bc[_0x25658e(0x16f)];if(_0x38e50c[_0x25658e(0x16a)](typeof _0xe7c0a8,_0x38e50c[_0x25658e(0x182)])){logger[_0x25658e(0x18f)](_0x38e50c[_0x25658e(0x172)]);throw new Error(ERROR_MESSAGES[_0x25658e(0x16f)][_0x25658e(0x19e)]);}if(!_0x38e50c[_0x25658e(0x16e)](validHosts,_0xe7c0a8)){logger[_0x25658e(0x18f)](_0x38e50c['rEUdM']);throw new Error(ERROR_MESSAGES['hosts'][_0x25658e(0x160)]);}const _0x36c025=_0x38e50c[_0x25658e(0x197)](parseOnPremHosts,_0xe7c0a8);_0x2bc141[_0x25658e(0x195)][_0x25658e(0x163)]=!![],_0x2bc141[_0x25658e(0x195)][_0x25658e(0x16d)]['localIdentifier']=_0x38e50c[_0x25658e(0x174)],_0x2bc141[_0x25658e(0x195)][_0x25658e(0x16d)]['only']=_0x36c025['join'](','),helper['setProxySettings'](_0x2bc141[_0x25658e(0x195)]),await _0x2bc141[_0x25658e(0x166)](),logger[_0x25658e(0x181)](_0x38e50c['XePai']);}catch(_0x2548b6){logger[_0x25658e(0x18f)](_0x38e50c[_0x25658e(0x15c)]);throw new Error(_0x2548b6['toString']());}};function a15_0x1fc8(_0x5bebec,_0x255c1a){const _0x119b3b=a15_0x119b();return a15_0x1fc8=function(_0x1fc893,_0x92d543){_0x1fc893=_0x1fc893-0x159;let _0x3bece0=_0x119b3b[_0x1fc893];return _0x3bece0;},a15_0x1fc8(_0x5bebec,_0x255c1a);}function run(_0x3283d8){const _0x5d0017=a15_0x35945c,_0x512c89={};_0x512c89[_0x5d0017(0x17e)]=_0x5d0017(0x190),_0x512c89[_0x5d0017(0x198)]='help';const _0x33174f=_0x512c89;_0x3283d8[_0x5d0017(0x162)](HELP_MESSAGES['command'][_0x5d0017(0x17c)])[_0x5d0017(0x178)](_0x33174f['aaAER'],HELP_MESSAGES[_0x5d0017(0x178)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x5d0017(0x17b)]()[_0x5d0017(0x19d)](_0x33174f[_0x5d0017(0x198)])[_0x5d0017(0x15d)](HELP_MESSAGES['command'][_0x5d0017(0x15e)]);}function a15_0x119b(){const _0x5bd714=['usage','browserstackLocal','url','Integration\x20hosts\x20missing.','setupBrowserstackLocal','7mWMbBI','integrations','AFVLT','xbbKs','protocol','3432RJJNkR','browserStackLocalOptions','xdRPA','hosts','601208lkcUdR','146766xhJXmV','cyWSJ','bstackAccesskey','IRBcd','BJOXA','map','https','command','BrowserStack\x20access\x20key\x20missing.','../../helpers/logger','demandCommand','root','./constants','aaAER','replace','699710accrEB','info','fEqyL','../../helpers/helper','../../helpers/BrowserStackSetup','tkZIe','describe','Hosts\x20not\x20valid','28044gcAyOi','winstonLogger','1113oNvckt','99DXlfvX','accessKey','1282ELsUDd','WuNvy','error','connect','273700WpRHnS','options','hostname','bstackAccessKey','config','trim','cJbUl','qAjSg','type','2567732NCuZDw','33cGmfNO','5UTdPMz','help','missing','every','lLKkV','undefined','https:','PFKAN','epilogue','footer','WYSZH','invalid','split'];a15_0x119b=function(){return _0x5bd714;};return a15_0x119b();}module['exports']=run;
2
+ 'use strict';const a15_0x230e6f=a15_0x2543;function a15_0x3d7b(){const _0x58c00e=['bxliY','epilogue','options','missing','nbtpD','bstackAccessKey','usage','browserStackLocalOptions','XEEWm','Failed\x20to\x20establish\x20connection.','hostname','iAJhj','4gjWEQQ','bstackAccesskey','info','BrowserStack\x20access\x20key\x20missing.','config','setProxySettings','protocol','kfvnT','zLwtM','Hosts\x20not\x20valid','lNzdC','938555TfcokG','footer','SSTVP','command','27IvbQFI','demandOption','https:','443','undefined','Connection\x20established\x20successfully.','describe','222aKXAje','hosts','360371gJHdyM','10QTEAoo','QLJos','Dmher','BiTNb','accessKey','41202QJWLFp','error','toString','connect','NbUaJ','trim','demandCommand','url','STzma','Integration\x20hosts\x20missing.','81846cdrygL','3885876TmhHjG','JzMZC','string','../../helpers/logger','help','kqvSf','jzbKp','integrations-repeater','replace','bstack-accesskey','split','type','winstonLogger','localIdentifier','map','476600eHrhHn','YxGmi','3213529cJGGIr'];a15_0x3d7b=function(){return _0x58c00e;};return a15_0x3d7b();}(function(_0x373a15,_0x1e1bbc){const _0x3b8097=a15_0x2543,_0xacd0c8=_0x373a15();while(!![]){try{const _0x3c842d=parseInt(_0x3b8097(0xb0))/0x1+-parseInt(_0x3b8097(0xc0))/0x2*(parseInt(_0x3b8097(0xee))/0x3)+-parseInt(_0x3b8097(0xdf))/0x4*(-parseInt(_0x3b8097(0xea))/0x5)+parseInt(_0x3b8097(0xf5))/0x6*(parseInt(_0x3b8097(0xb6))/0x7)+parseInt(_0x3b8097(0xd0))/0x8+-parseInt(_0x3b8097(0xc1))/0x9+parseInt(_0x3b8097(0xb1))/0xa*(parseInt(_0x3b8097(0xd2))/0xb);if(_0x3c842d===_0x1e1bbc)break;else _0xacd0c8['push'](_0xacd0c8['shift']());}catch(_0x5c1199){_0xacd0c8['push'](_0xacd0c8['shift']());}}}(a15_0x3d7b,0x4d843));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a15_0x230e6f(0xc4))[a15_0x230e6f(0xcd)],{URL}=require(a15_0x230e6f(0xbd)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x5ad184){const _0x47389d=a15_0x230e6f;return _0x5ad184[_0x47389d(0xcb)](',')['every'](_0x6873c5=>{const _0x4344bd=_0x47389d;try{new URL(_0x6873c5[_0x4344bd(0xbb)]());}catch(_0x5bf669){return![];}return!![];});},parseOnPremHosts=function(_0x48789a){const _0x3a35e2=a15_0x230e6f,_0x3c9c30={};_0x3c9c30[_0x3a35e2(0xc2)]=function(_0x154cac,_0x3140f6){return _0x154cac===_0x3140f6;},_0x3c9c30[_0x3a35e2(0xbe)]=_0x3a35e2(0xf0),_0x3c9c30['kqvSf']=_0x3a35e2(0xf1),_0x3c9c30[_0x3a35e2(0xec)]='https';const _0x3b9674=_0x3c9c30;return _0x48789a['split'](',')[_0x3a35e2(0xcf)](_0x4322dc=>{const _0x474f52=_0x3a35e2,_0x55ee9e=new URL(_0x4322dc[_0x474f52(0xbb)]()),_0x3d1a48=_0x55ee9e[_0x474f52(0xdd)],_0x29240a=_0x55ee9e['port']||(_0x3b9674[_0x474f52(0xc2)](_0x55ee9e[_0x474f52(0xe5)],_0x3b9674[_0x474f52(0xbe)])?_0x3b9674[_0x474f52(0xc6)]:'80'),_0xd3cfc3=_0x55ee9e[_0x474f52(0xe5)][_0x474f52(0xc9)](':',''),_0x3564d9=_0x3b9674[_0x474f52(0xc2)](_0xd3cfc3,_0x3b9674[_0x474f52(0xec)])?0x1:0x0;return _0x3d1a48+','+_0x29240a+','+_0x3564d9;});},connectCommandBuilder=function(_0x4a6022){const _0x55a08a=a15_0x230e6f,_0x48ac76={};_0x48ac76[_0x55a08a(0xc7)]=_0x55a08a(0xc3);const _0x5a224a=_0x48ac76,_0x263238={};_0x263238[_0x55a08a(0xf4)]=HELP_MESSAGES[_0x55a08a(0xd5)][_0x55a08a(0xd8)],_0x263238[_0x55a08a(0xcc)]=_0x5a224a['jzbKp'];const _0x480c42={};_0x480c42['describe']=HELP_MESSAGES['options'][_0x55a08a(0xaf)],_0x480c42[_0x55a08a(0xcc)]=_0x5a224a[_0x55a08a(0xc7)],_0x480c42[_0x55a08a(0xef)]=!![];const _0x22f7af={};return _0x22f7af[_0x55a08a(0xca)]=_0x263238,_0x22f7af[_0x55a08a(0xaf)]=_0x480c42,_0x4a6022['options'](_0x22f7af);},connectCommandHandler=async function(_0x297219){const _0x3a270c=a15_0x230e6f,_0x433877={'bxliY':'integrations','Dmher':function(_0x997edd,_0x14bd71){return _0x997edd===_0x14bd71;},'BiTNb':_0x3a270c(0xf2),'zLwtM':_0x3a270c(0xe2),'HVjKx':function(_0x691e99,_0x40b642){return _0x691e99===_0x40b642;},'nbtpD':_0x3a270c(0xbf),'YxGmi':function(_0x4f75db,_0xbea32c){return _0x4f75db(_0xbea32c);},'kfvnT':_0x3a270c(0xe8),'QLJos':_0x3a270c(0xc8),'lNzdC':_0x3a270c(0xf3),'iAJhj':_0x3a270c(0xdc)};try{const _0x550d94=new BrowserStackSetup(_0x297219,_0x433877[_0x3a270c(0xd3)]);_0x297219[_0x3a270c(0xe0)]&&(_0x550d94[_0x3a270c(0xe3)][_0x3a270c(0xb5)]=_0x297219['bstackAccesskey']);if(_0x433877[_0x3a270c(0xb3)](typeof _0x550d94['config'][_0x3a270c(0xb5)],_0x433877[_0x3a270c(0xb4)])){logger[_0x3a270c(0xb7)](_0x433877[_0x3a270c(0xe7)]);throw new Error(ERROR_MESSAGES[_0x3a270c(0xd8)][_0x3a270c(0xd6)]);}const _0x345eda=_0x297219['hosts'];if(_0x433877['HVjKx'](typeof _0x345eda,_0x433877[_0x3a270c(0xb4)])){logger[_0x3a270c(0xb7)](_0x433877[_0x3a270c(0xd7)]);throw new Error(ERROR_MESSAGES['hosts'][_0x3a270c(0xd6)]);}if(!_0x433877[_0x3a270c(0xd1)](validHosts,_0x345eda)){logger[_0x3a270c(0xb7)](_0x433877[_0x3a270c(0xe6)]);throw new Error(ERROR_MESSAGES[_0x3a270c(0xaf)]['invalid']);}const _0x105dc3=_0x433877['YxGmi'](parseOnPremHosts,_0x345eda);_0x550d94[_0x3a270c(0xe3)]['browserstackLocal']=!![],_0x550d94[_0x3a270c(0xe3)]['browserStackLocalOptions'][_0x3a270c(0xce)]=_0x433877[_0x3a270c(0xb2)],_0x550d94[_0x3a270c(0xe3)][_0x3a270c(0xda)]['only']=_0x105dc3['join'](','),helper[_0x3a270c(0xe4)](_0x550d94[_0x3a270c(0xe3)]),await _0x550d94['setupBrowserstackLocal'](),logger[_0x3a270c(0xe1)](_0x433877[_0x3a270c(0xe9)]);}catch(_0x12bd68){logger[_0x3a270c(0xb7)](_0x433877[_0x3a270c(0xde)]);throw new Error(_0x12bd68[_0x3a270c(0xb8)]());}};function run(_0x2d6c32){const _0xfcdccc=a15_0x230e6f,_0x43530d={};_0x43530d[_0xfcdccc(0xba)]=_0xfcdccc(0xb9),_0x43530d[_0xfcdccc(0xdb)]=_0xfcdccc(0xc5);const _0x244bb7=_0x43530d;_0x2d6c32[_0xfcdccc(0xd9)](HELP_MESSAGES[_0xfcdccc(0xed)]['root'])['command'](_0x244bb7['NbUaJ'],HELP_MESSAGES[_0xfcdccc(0xed)]['connect'],connectCommandBuilder,connectCommandHandler)[_0xfcdccc(0xbc)]()[_0xfcdccc(0xc5)](_0x244bb7['XEEWm'])[_0xfcdccc(0xd4)](HELP_MESSAGES[_0xfcdccc(0xed)][_0xfcdccc(0xeb)]);}function a15_0x2543(_0x1156eb,_0x468029){const _0x3d7b56=a15_0x3d7b();return a15_0x2543=function(_0x2543ba,_0x1f1edb){_0x2543ba=_0x2543ba-0xaf;let _0x1bce77=_0x3d7b56[_0x2543ba];return _0x1bce77;},a15_0x2543(_0x1156eb,_0x468029);}module['exports']=run;
@@ -1 +1 @@
1
- var a16_0x2b422a=a16_0x1026;(function(_0x74510,_0x3f6a1e){var _0x42ad46=a16_0x1026,_0x2d2982=_0x74510();while(!![]){try{var _0x3a611e=parseInt(_0x42ad46(0x1d5))/0x1+-parseInt(_0x42ad46(0x1cf))/0x2+parseInt(_0x42ad46(0x1d2))/0x3*(-parseInt(_0x42ad46(0x1d6))/0x4)+-parseInt(_0x42ad46(0x1cd))/0x5*(-parseInt(_0x42ad46(0x1c5))/0x6)+-parseInt(_0x42ad46(0x1c8))/0x7+-parseInt(_0x42ad46(0x1c7))/0x8+parseInt(_0x42ad46(0x1c6))/0x9;if(_0x3a611e===_0x3f6a1e)break;else _0x2d2982['push'](_0x2d2982['shift']());}catch(_0x3c0b2b){_0x2d2982['push'](_0x2d2982['shift']());}}}(a16_0x4e5f,0x2efb4));var a16_0x2a514c={};a16_0x2a514c['bstackAccessKey']=a16_0x2b422a(0x1d7),a16_0x2a514c[a16_0x2b422a(0x1d0)]=a16_0x2b422a(0x1d1);var a16_0x6e903d={};a16_0x6e903d[a16_0x2b422a(0x1cb)]=a16_0x2b422a(0x1ca),a16_0x6e903d[a16_0x2b422a(0x1c9)]=a16_0x2b422a(0x1d8),a16_0x6e903d['footer']='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a16_0x10373e={};a16_0x10373e['options']=a16_0x2a514c,a16_0x10373e[a16_0x2b422a(0x1d3)]=a16_0x6e903d,exports['HELP_MESSAGES']=a16_0x10373e;var a16_0xe8c47c={};a16_0xe8c47c[a16_0x2b422a(0x1c4)]=a16_0x2b422a(0x1ce);var a16_0x16d49f={};function a16_0x4e5f(){var _0x341a5b=['Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','306719uvcKLM','1528924nvXQVC','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','missing','42xxMHof','8688996MEgwKS','2123472KFJEZl','2513945QUAkUo','connect','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','root','invalid','130255jembKg','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','510568vSWaPD','hosts','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','3MrQujC','command'];a16_0x4e5f=function(){return _0x341a5b;};return a16_0x4e5f();}a16_0x16d49f[a16_0x2b422a(0x1c4)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a16_0x16d49f[a16_0x2b422a(0x1cc)]=a16_0x2b422a(0x1d4);function a16_0x1026(_0x46ec68,_0x5d9aa4){var _0x4e5ffd=a16_0x4e5f();return a16_0x1026=function(_0x1026c6,_0x18df1f){_0x1026c6=_0x1026c6-0x1c4;var _0x38a401=_0x4e5ffd[_0x1026c6];return _0x38a401;},a16_0x1026(_0x46ec68,_0x5d9aa4);}var a16_0x3f5ab5={};a16_0x3f5ab5['bstackAccessKey']=a16_0xe8c47c,a16_0x3f5ab5[a16_0x2b422a(0x1d0)]=a16_0x16d49f,exports['ERROR_MESSAGES']=a16_0x3f5ab5;
1
+ var a16_0x3475fb=a16_0x4792;(function(_0x3cf0ea,_0xac4840){var _0x39189c=a16_0x4792,_0x53fed1=_0x3cf0ea();while(!![]){try{var _0xe28a4b=-parseInt(_0x39189c(0xb8))/0x1+-parseInt(_0x39189c(0xb3))/0x2*(-parseInt(_0x39189c(0xc5))/0x3)+parseInt(_0x39189c(0xb0))/0x4+-parseInt(_0x39189c(0xc1))/0x5+-parseInt(_0x39189c(0xc4))/0x6*(-parseInt(_0x39189c(0xbd))/0x7)+-parseInt(_0x39189c(0xc0))/0x8+-parseInt(_0x39189c(0xc2))/0x9*(parseInt(_0x39189c(0xb2))/0xa);if(_0xe28a4b===_0xac4840)break;else _0x53fed1['push'](_0x53fed1['shift']());}catch(_0x1d0b4e){_0x53fed1['push'](_0x53fed1['shift']());}}}(a16_0x40f1,0x5dfe6));var a16_0x134c8d={};a16_0x134c8d[a16_0x3475fb(0xbe)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a16_0x134c8d[a16_0x3475fb(0xb1)]='This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a16_0x56b2a5={};a16_0x56b2a5[a16_0x3475fb(0xbf)]=a16_0x3475fb(0xbc),a16_0x56b2a5['connect']=a16_0x3475fb(0xb4),a16_0x56b2a5[a16_0x3475fb(0xaf)]=a16_0x3475fb(0xb6);function a16_0x4792(_0x579946,_0x19f75f){var _0x40f131=a16_0x40f1();return a16_0x4792=function(_0x4792fc,_0x134b96){_0x4792fc=_0x4792fc-0xae;var _0x8517fa=_0x40f131[_0x4792fc];return _0x8517fa;},a16_0x4792(_0x579946,_0x19f75f);}var a16_0x332059={};a16_0x332059[a16_0x3475fb(0xae)]=a16_0x134c8d,a16_0x332059['command']=a16_0x56b2a5,exports[a16_0x3475fb(0xb7)]=a16_0x332059;var a16_0x14bde4={};a16_0x14bde4['missing']=a16_0x3475fb(0xc3);var a16_0x51bdd5={};a16_0x51bdd5[a16_0x3475fb(0xb9)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a16_0x51bdd5[a16_0x3475fb(0xba)]=a16_0x3475fb(0xbb);var a16_0x2d0614={};function a16_0x40f1(){var _0x59c131=['root','2718376XTwPZu','109215gQPpyX','198rcCehL','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','84558SzLLdo','47169FfXFXJ','options','footer','1944828DRkmad','hosts','293880DkQXZC','52wWDsTm','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','ERROR_MESSAGES','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','HELP_MESSAGES','107830gzoboa','missing','invalid','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','301oyKRbF','bstackAccessKey'];a16_0x40f1=function(){return _0x59c131;};return a16_0x40f1();}a16_0x2d0614['bstackAccessKey']=a16_0x14bde4,a16_0x2d0614['hosts']=a16_0x51bdd5,exports[a16_0x3475fb(0xb5)]=a16_0x2d0614;
@@ -1 +1 @@
1
- 'use strict';const a17_0x2cb3d0=a17_0x4183;(function(_0x1269ba,_0x506d5c){const _0x32788f=a17_0x4183,_0x6824ea=_0x1269ba();while(!![]){try{const _0x377b9a=parseInt(_0x32788f(0x1a4))/0x1*(-parseInt(_0x32788f(0x16a))/0x2)+parseInt(_0x32788f(0x144))/0x3+parseInt(_0x32788f(0x14d))/0x4+parseInt(_0x32788f(0x14c))/0x5*(parseInt(_0x32788f(0x1a6))/0x6)+-parseInt(_0x32788f(0x1a7))/0x7+parseInt(_0x32788f(0x18a))/0x8*(parseInt(_0x32788f(0x13a))/0x9)+-parseInt(_0x32788f(0x15f))/0xa*(parseInt(_0x32788f(0x14a))/0xb);if(_0x377b9a===_0x506d5c)break;else _0x6824ea['push'](_0x6824ea['shift']());}catch(_0x2af8fe){_0x6824ea['push'](_0x6824ea['shift']());}}}(a17_0x1b19,0x2bea5));function a17_0x1b19(){const _0x57466e=['IWjwz','description','Spec\x20failed','1913931jXkggO','TestRunStarted','Zkedl','bblVL','eJkVc','FjDvO','PLVIn','nSwYT','reverse','skipped','386004PLhyYC','Exception\x20in\x20jasmine\x20specDone\x20for\x20','isArray','sKjDj','pWZSN','SmhPa','310178QPeERF','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','4310awdZIw','864456cAzqfa','WZfiW','NQKGA','path','gBXks','setCurrentTestData','_collapseFailedExpectations','xDrgP','toISOString','specDone','MbkmU','has','match','JSglp','fullName','split','length','join','10FSSCWe','expected','oSQIa','actual','testObservability','excluded','exports','deUjH','ElAjk','set','relative','8MoQkza','IFPib','err','_fileNameByFullName','File\x20path\x20could\x20not\x20be\x20found','_resolveFilePath','started_at','failedExpectations','matcherName','startsWith','ZeKEN','_paths','keys','trim','failure_reason_expanded','xAieJ','javascript','number','hHoSv','zBnnh','code','backtrace','_suitesById','JPDRE','kazeA','push','TestRunFinished','JASMINE','get','parentSuiteId','pTEje','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','8NrtcDI','specStarted','rMuiO','oofJP','rrQny','status','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','AssertionError','fileNameByFullName','../testRunMap','kfbHo','cwd','_sendSpecEvent','mfigR','slice','MsDqQ','remove','uploadEventData','ujQMS','KOtij','MuIqE','QdHZT','pAhHy','duration','stack','message','88130tLoKSd','suiteStarted','954zdvSho','937328OVocTh','_findGitConfig','dirname','IlPRa','config','LWbNm','\x20:\x20','lOPEX','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','HWYjL','prefixTestPath','../../../helpers/test-observability/utils','EAPqK','pending','../../../helpers/test-observability/constants','cjGUc','OYhjX','endsWith','ZvdxV','_scopes','shouldProcessEventForTesthub','suiteDone','UnhandledError'];a17_0x1b19=function(){return _0x57466e;};return a17_0x1b19();}const path=require(a17_0x2cb3d0(0x150)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require('../../../helpers/testhub/utils'),{FRAMEWORKS}=require(a17_0x2cb3d0(0x1b5)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x2cb3d0(0x1b2)),testRunMap=require(a17_0x2cb3d0(0x193)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a17_0x38e198={};function a17_0x4183(_0x3fd615,_0x41c55e){const _0x1b19ca=a17_0x1b19();return a17_0x4183=function(_0x4183f5,_0x2a59c7){_0x4183f5=_0x4183f5-0x131;let _0x5f5724=_0x1b19ca[_0x4183f5];return _0x5f5724;},a17_0x4183(_0x3fd615,_0x41c55e);}a17_0x38e198['passed']='passed',a17_0x38e198['failed']='failed',a17_0x38e198[a17_0x2cb3d0(0x1b4)]=a17_0x2cb3d0(0x1b4),a17_0x38e198[a17_0x2cb3d0(0x164)]=a17_0x2cb3d0(0x143);const STATUS_MAP=a17_0x38e198;class BrowserStackJasmineReporter{constructor(_0x136435={}){const _0x1a14ed=a17_0x2cb3d0,_0x515ac1={'deUjH':function(_0xa47a7c){return _0xa47a7c();}};this[_0x1a14ed(0x163)]=_0x515ac1[_0x1a14ed(0x166)](isTestObservabilitySession),this[_0x1a14ed(0x175)]=new PathHelper({'cwd':process[_0x1a14ed(0x195)]()},undefined),this['_fileNameByFullName']=_0x136435&&_0x136435[_0x1a14ed(0x192)]||{},this['_suitesById']=new Map();}['jasmineStarted'](){}[a17_0x2cb3d0(0x1a5)](_0x255b9e){const _0x402e3d=a17_0x2cb3d0,_0x5ce4c9={'VLFko':function(_0x55b72c,_0x20fe32){return _0x55b72c!==_0x20fe32;},'lOPEX':function(_0x19e6be,_0x281b97){return _0x19e6be!==_0x281b97;},'zBnnh':function(_0x98d654,_0x1cc8c8){return _0x98d654(_0x1cc8c8);}};try{_0x255b9e&&_0x5ce4c9['VLFko'](_0x255b9e['id'],undefined)&&_0x5ce4c9[_0x402e3d(0x1ae)](_0x255b9e['id'],null)&&this[_0x402e3d(0x180)][_0x402e3d(0x168)](_0x255b9e['id'],{'description':_0x255b9e[_0x402e3d(0x138)],'parentSuiteId':_0x255b9e[_0x402e3d(0x187)]});}catch(_0x51232e){_0x5ce4c9[_0x402e3d(0x17d)](debug,_0x402e3d(0x1af)+(_0x255b9e&&_0x255b9e['fullName'])+'\x20:\x20'+_0x51232e);}}[a17_0x2cb3d0(0x18b)](_0x2b448d){const _0x29b5f3=a17_0x2cb3d0,_0x528b80={'xDrgP':function(_0x4e2292,_0xd3ca9c){return _0x4e2292!==_0xd3ca9c;},'bblVL':function(_0x5edab6){return _0x5edab6();},'kazeA':_0x29b5f3(0x13b),'xAieJ':function(_0x8f1f9a,_0x2fad81){return _0x8f1f9a(_0x2fad81);}};try{if(_0x528b80[_0x29b5f3(0x154)](testhubUtils[_0x29b5f3(0x134)](),!![]))return;const _0x3844ae=_0x528b80[_0x29b5f3(0x13d)](uuidv4);testRunMap[_0x29b5f3(0x168)](_0x2b448d['id'],_0x3844ae),this[_0x29b5f3(0x196)](_0x2b448d,_0x3844ae,_0x528b80[_0x29b5f3(0x182)]);}catch(_0x2e8281){_0x528b80[_0x29b5f3(0x179)](debug,_0x29b5f3(0x189)+(_0x2b448d&&_0x2b448d[_0x29b5f3(0x15b)])+_0x29b5f3(0x1ad)+_0x2e8281);}}[a17_0x2cb3d0(0x156)](_0x169019){const _0x4f4207=a17_0x2cb3d0,_0x35278b={'OYhjX':function(_0x277474,_0xa095f){return _0x277474!==_0xa095f;},'cjGUc':function(_0x530cc6){return _0x530cc6();},'JPDRE':function(_0x1d26cd,_0x257ad9){return _0x1d26cd===_0x257ad9;},'MuIqE':'excluded','pTEje':'TestRunSkipped','HWYjL':_0x4f4207(0x184),'JlQOq':function(_0x353bb4,_0x2391ec){return _0x353bb4(_0x2391ec);}};try{if(_0x35278b[_0x4f4207(0x1b7)](testhubUtils[_0x4f4207(0x134)](),!![]))return;const _0x2641f2=testRunMap[_0x4f4207(0x186)](_0x169019['id'])||_0x35278b[_0x4f4207(0x1b6)](uuidv4),_0xe82476=_0x35278b[_0x4f4207(0x181)](_0x169019[_0x4f4207(0x18f)],_0x35278b[_0x4f4207(0x19e)])?_0x35278b[_0x4f4207(0x188)]:_0x35278b[_0x4f4207(0x1b0)];this[_0x4f4207(0x196)](_0x169019,_0x2641f2,_0xe82476);}catch(_0x4a786c){_0x35278b['JlQOq'](debug,_0x4f4207(0x145)+(_0x169019&&_0x169019[_0x4f4207(0x15b)])+_0x4f4207(0x1ad)+_0x4a786c);}finally{_0x169019&&(testRunMap[_0x4f4207(0x19a)](_0x169019['id']),_specStartTimes['delete'](_0x169019['id']));}}[a17_0x2cb3d0(0x135)](){}['jasmineDone'](){}[a17_0x2cb3d0(0x196)](_0x55755f,_0x8a129b,_0x1229e1){const _0x412ea9=a17_0x2cb3d0,_0x187b1e={'ZeKEN':function(_0x2a174e,_0x42cb0e){return _0x2a174e===_0x42cb0e;},'sKjDj':_0x412ea9(0x184),'MbkmU':function(_0x1d36e8,_0x5249b5){return _0x1d36e8===_0x5249b5;},'QdHZT':'TestRunSkipped','eJkVc':_0x412ea9(0x16e),'NQKGA':function(_0x21e7ec,_0x234ee2,_0x1ecbc7){return _0x21e7ec(_0x234ee2,_0x1ecbc7);},'zILXX':_0x412ea9(0x16c),'ujQMS':_0x412ea9(0x13b),'EAPqK':function(_0x14f73a,_0x2684df){return _0x14f73a!==_0x2684df;},'rrQny':function(_0x5890d2,_0x53cb9e){return _0x5890d2===_0x53cb9e;},'KOtij':_0x412ea9(0x17a),'nSwYT':function(_0x505152,_0x19b244){return _0x505152&&_0x19b244;},'GNekU':function(_0x4833ad,_0x2a2646){return _0x4833ad===_0x2a2646;},'mfigR':'skipped','kfbHo':'passed','VMCcP':function(_0x50f59d,_0x55aaa1){return _0x50f59d===_0x55aaa1;},'SmhPa':_0x412ea9(0x17b),'uisdD':_0x412ea9(0x191),'jFtBG':_0x412ea9(0x136),'MsDqQ':_0x412ea9(0x170),'gBXks':'finished_at','cmboG':'failure','hHoSv':'failure_backtrace','mWIGG':_0x412ea9(0x17f),'IWjwz':_0x412ea9(0x178),'JWcku':'expanded','ElAjk':function(_0x49fd27,_0x1253da){return _0x49fd27(_0x1253da);}};try{const _0x3182ef=_0x187b1e[_0x412ea9(0x174)](_0x1229e1,_0x187b1e[_0x412ea9(0x147)])||_0x187b1e[_0x412ea9(0x157)](_0x1229e1,_0x187b1e[_0x412ea9(0x19f)]),_0x50aa3f=this[_0x412ea9(0x16f)](_0x55755f),_0x5219d8=_0x50aa3f?this[_0x412ea9(0x175)][_0x412ea9(0x1b1)](_0x50aa3f):_0x187b1e[_0x412ea9(0x13e)],_0x3862b5=_0x50aa3f?this['_findGitConfig'](path['dirname'](_0x50aa3f)):null,_0xefe442=this[_0x412ea9(0x153)](_0x55755f[_0x412ea9(0x171)]),_0x286c4e=_0xefe442?_0xefe442[_0x412ea9(0x1a3)]:undefined,_0x546896=_0xefe442?_0x187b1e[_0x412ea9(0x14f)](failureData,_0xefe442,_0x187b1e['zILXX']):[],_0x258300=new Date()[_0x412ea9(0x155)](),_0x105d72=this[_0x412ea9(0x133)](_0x55755f);_0x187b1e['ZeKEN'](_0x1229e1,_0x187b1e['ujQMS'])&&_0x55755f&&_0x187b1e[_0x412ea9(0x1b3)](_0x55755f['id'],undefined)&&_0x187b1e[_0x412ea9(0x1b3)](_0x55755f['id'],null)&&_specStartTimes['set'](_0x55755f['id'],_0x258300);const _0x5260a0=_0x187b1e[_0x412ea9(0x18e)](_0x1229e1,_0x187b1e[_0x412ea9(0x19c)])?_0x258300:_0x55755f&&_specStartTimes[_0x412ea9(0x186)](_0x55755f['id'])||null,_0x27c339={};_0x27c339['lang']=_0x187b1e[_0x412ea9(0x19d)],_0x27c339[_0x412ea9(0x17e)]=null;const _0x3dfb12={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x8a129b,'name':_0x55755f[_0x412ea9(0x138)],'body':_0x27c339,'scope':_0x105d72[_0x412ea9(0x15e)]('\x20'),'scopes':_0x105d72,'identifier':_0x55755f['fullName'],'file_name':_0x5219d8,'vc_filepath':_0x187b1e[_0x412ea9(0x141)](_0x3862b5,_0x50aa3f)?path[_0x412ea9(0x169)](_0x3862b5,_0x50aa3f):null,'location':_0x5219d8,'result':_0x187b1e['GNekU'](_0x1229e1,_0x187b1e[_0x412ea9(0x19f)])?_0x187b1e[_0x412ea9(0x197)]:STATUS_MAP[_0x55755f[_0x412ea9(0x18f)]]||_0x187b1e[_0x412ea9(0x194)],'failure_reason':_0x286c4e,'duration_in_ms':_0x187b1e['VMCcP'](typeof _0x55755f[_0x412ea9(0x1a1)],_0x187b1e[_0x412ea9(0x149)])?_0x55755f[_0x412ea9(0x1a1)]:null,'started_at':_0x5260a0,'finished_at':_0x3182ef?_0x258300:null,'failure':_0x546896,'failure_type':!_0x286c4e?null:_0x286c4e[_0x412ea9(0x159)](/AssertionError/)?_0x187b1e['uisdD']:_0x187b1e['jFtBG'],'retry_of':null};_0x187b1e['rrQny'](_0x1229e1,_0x187b1e[_0x412ea9(0x19f)])&&!_0x3dfb12[_0x187b1e['MsDqQ']]&&(_0x3dfb12[_0x187b1e[_0x412ea9(0x199)]]=_0x3dfb12[_0x187b1e[_0x412ea9(0x151)]]);const _0x15621b=_0x3dfb12[_0x187b1e['cmboG']][0x0];_0x15621b&&(_0x3dfb12[_0x187b1e[_0x412ea9(0x17c)]]=_0x15621b[_0x187b1e['mWIGG']],_0x3dfb12[_0x187b1e[_0x412ea9(0x137)]]=_0x15621b[_0x187b1e['JWcku']]);testhubUtils['appendTesthubParams'](_0x3dfb12,_0x1229e1,_0x55755f,FRAMEWORKS[_0x412ea9(0x185)]);const _0x13f519={'event_type':_0x187b1e[_0x412ea9(0x157)](_0x1229e1,_0x187b1e[_0x412ea9(0x19f)])?_0x187b1e[_0x412ea9(0x147)]:_0x1229e1,'test_run':_0x3dfb12};return testhubUtils[_0x412ea9(0x152)](FRAMEWORKS[_0x412ea9(0x185)],_0x13f519),SessionHandler[_0x412ea9(0x19b)](_0x13f519);}catch(_0x2834eb){_0x187b1e[_0x412ea9(0x167)](debug,_0x412ea9(0x190)+_0x1229e1+_0x412ea9(0x1ad)+_0x2834eb);}}['_scopes'](_0x4aa0ad){const _0x4f2758=a17_0x2cb3d0,_0x4c209e={'rMuiO':function(_0x217297,_0x438369){return _0x217297!==_0x438369;},'WZfiW':function(_0x2f3386,_0x406653){return _0x2f3386!==_0x406653;},'Zkedl':function(_0x5780cd,_0x5c38a9){return _0x5780cd>_0x5c38a9;},'klxHo':function(_0x4c62df,_0x5760e8){return _0x4c62df(_0x5760e8);},'IFPib':function(_0x5c318a,_0x5ee016){return _0x5c318a-_0x5ee016;}};try{const _0x2e1354=[];let _0x26daac=_0x4aa0ad&&_0x4aa0ad[_0x4f2758(0x187)];const _0x27ccd3=new Set();while(_0x4c209e[_0x4f2758(0x18c)](_0x26daac,undefined)&&_0x4c209e[_0x4f2758(0x14e)](_0x26daac,null)&&this['_suitesById'][_0x4f2758(0x158)](_0x26daac)&&!_0x27ccd3[_0x4f2758(0x158)](_0x26daac)){_0x27ccd3['add'](_0x26daac);const _0x4b6f41=this[_0x4f2758(0x180)][_0x4f2758(0x186)](_0x26daac);_0x4b6f41&&_0x4b6f41['description']&&_0x2e1354['push'](_0x4b6f41['description']),_0x26daac=_0x4b6f41?_0x4b6f41[_0x4f2758(0x187)]:null;}if(_0x4c209e[_0x4f2758(0x13c)](_0x2e1354[_0x4f2758(0x15d)],0x0))return _0x2e1354[_0x4f2758(0x142)]();}catch(_0x4f409f){_0x4c209e['klxHo'](debug,_0x4f2758(0x14b)+(_0x4aa0ad&&_0x4aa0ad[_0x4f2758(0x15b)])+_0x4f2758(0x1ad)+_0x4f409f);}const _0x34dec2=_0x4aa0ad&&_0x4aa0ad[_0x4f2758(0x15b)]||'',_0xb36b66=_0x4aa0ad&&_0x4aa0ad['description']||'';let _0x14d3fc=_0x34dec2;return _0xb36b66&&_0x34dec2[_0x4f2758(0x131)](_0xb36b66)&&(_0x14d3fc=_0x34dec2[_0x4f2758(0x198)](0x0,_0x4c209e[_0x4f2758(0x16b)](_0x34dec2[_0x4f2758(0x15d)],_0xb36b66[_0x4f2758(0x15d)]))[_0x4f2758(0x177)]()),_0x14d3fc?_0x14d3fc[_0x4f2758(0x15c)](/\s+/):[];}['_resolveFilePath'](_0x4b75f2){const _0x479f8b=a17_0x2cb3d0,_0x4fc8db={};_0x4fc8db[_0x479f8b(0x1a0)]=function(_0x5c9f1b,_0x3d6a18){return _0x5c9f1b===_0x3d6a18;},_0x4fc8db[_0x479f8b(0x132)]=function(_0x121da2,_0x58cfa1){return _0x121da2+_0x58cfa1;},_0x4fc8db['PLVIn']=function(_0x1822a0,_0x568a12){return _0x1822a0>_0x568a12;};const _0x4b7cb9=_0x4fc8db;if(_0x4b75f2&&_0x4b75f2['filename'])return _0x4b75f2['filename'];if(_0x4b75f2&&_0x4b75f2['fullName']){if(this['_fileNameByFullName'][_0x4b75f2[_0x479f8b(0x15b)]])return this['_fileNameByFullName'][_0x4b75f2[_0x479f8b(0x15b)]];let _0x451aad=null,_0x23d722=-0x1;for(const _0x1846f6 of Object[_0x479f8b(0x176)](this[_0x479f8b(0x16d)])){(_0x4b7cb9[_0x479f8b(0x1a0)](_0x4b75f2[_0x479f8b(0x15b)],_0x1846f6)||_0x4b75f2[_0x479f8b(0x15b)][_0x479f8b(0x173)](_0x4b7cb9['ZvdxV'](_0x1846f6,'\x20')))&&_0x4b7cb9[_0x479f8b(0x140)](_0x1846f6['length'],_0x23d722)&&(_0x451aad=this['_fileNameByFullName'][_0x1846f6],_0x23d722=_0x1846f6[_0x479f8b(0x15d)]);}if(_0x451aad)return _0x451aad;}return null;}[a17_0x2cb3d0(0x153)](_0x27876c){const _0x139f81=a17_0x2cb3d0,_0x59c61f={};_0x59c61f[_0x139f81(0x15a)]=function(_0x4d0df4,_0x4866f7){return _0x4d0df4===_0x4866f7;},_0x59c61f['oSQIa']=_0x139f81(0x139);const _0x164e43=_0x59c61f;if(!Array[_0x139f81(0x146)](_0x27876c)||_0x164e43[_0x139f81(0x15a)](_0x27876c[_0x139f81(0x15d)],0x0))return undefined;const _0x53e436=[],_0x53ad2e=[];for(const _0x325737 of _0x27876c){_0x325737&&_0x325737[_0x139f81(0x1a3)]&&_0x53e436[_0x139f81(0x183)](_0x325737[_0x139f81(0x1a3)]),_0x325737&&_0x325737['stack']&&_0x53ad2e[_0x139f81(0x183)](_0x325737[_0x139f81(0x1a2)]);}const _0x1b84ee=_0x27876c[0x0]||{},_0x4cb256=_0x53e436[_0x139f81(0x15e)]('\x0a')||_0x1b84ee[_0x139f81(0x1a3)]||_0x164e43[_0x139f81(0x161)],_0x5c29bd=_0x53ad2e[_0x139f81(0x15e)]('\x0a\x0a')||_0x1b84ee[_0x139f81(0x1a2)]||_0x4cb256,_0x5e9371={};return _0x5e9371[_0x139f81(0x1a3)]=_0x4cb256,_0x5e9371[_0x139f81(0x1a2)]=_0x5c29bd,_0x5e9371[_0x139f81(0x172)]=_0x1b84ee[_0x139f81(0x172)],_0x5e9371[_0x139f81(0x160)]=_0x1b84ee[_0x139f81(0x160)],_0x5e9371[_0x139f81(0x162)]=_0x1b84ee['actual'],_0x5e9371;}['_findGitConfig'](_0x5d3d69){const _0x199560=a17_0x2cb3d0,_0x56887e={};_0x56887e[_0x199560(0x148)]=function(_0x5d87bb,_0x375945){return _0x5d87bb===_0x375945;},_0x56887e[_0x199560(0x18d)]=function(_0x173f4d,_0x3c9d59){return _0x173f4d===_0x3c9d59;},_0x56887e[_0x199560(0x13f)]=function(_0x3b0310,_0x3537d5){return _0x3b0310===_0x3537d5;},_0x56887e['IlPRa']='.git',_0x56887e['LWbNm']=_0x199560(0x1ab);const _0x43ff75=_0x56887e,_0x984129=path['sep'];if(_0x43ff75[_0x199560(0x148)](_0x5d3d69,null)||_0x43ff75[_0x199560(0x148)](_0x5d3d69,'')||_0x43ff75[_0x199560(0x18d)](_0x5d3d69,_0x984129)||_0x43ff75['FjDvO'](_0x5d3d69,path[_0x199560(0x1a9)](_0x5d3d69)))return null;try{return fs['statSync'](path[_0x199560(0x15e)](_0x5d3d69,_0x43ff75[_0x199560(0x1aa)],_0x43ff75[_0x199560(0x1ac)])),_0x5d3d69;}catch(_0x1a50b1){return this[_0x199560(0x1a8)](path['dirname'](_0x5d3d69));}}}module[a17_0x2cb3d0(0x165)]=BrowserStackJasmineReporter;
1
+ 'use strict';const a17_0x513d0e=a17_0x18a2;(function(_0x43a57e,_0x5e79d0){const _0x146a61=a17_0x18a2,_0x4020ba=_0x43a57e();while(!![]){try{const _0x103f25=-parseInt(_0x146a61(0x1b1))/0x1*(-parseInt(_0x146a61(0x183))/0x2)+-parseInt(_0x146a61(0x18b))/0x3*(-parseInt(_0x146a61(0x19b))/0x4)+-parseInt(_0x146a61(0x1c6))/0x5+parseInt(_0x146a61(0x1ff))/0x6+-parseInt(_0x146a61(0x18f))/0x7+-parseInt(_0x146a61(0x19e))/0x8+parseInt(_0x146a61(0x1d7))/0x9;if(_0x103f25===_0x5e79d0)break;else _0x4020ba['push'](_0x4020ba['shift']());}catch(_0x699400){_0x4020ba['push'](_0x4020ba['shift']());}}}(a17_0x2dd5,0x5ade9));const path=require(a17_0x513d0e(0x1fd)),fs=require('fs'),{v4:uuidv4}=require(a17_0x513d0e(0x1e8)),testhubUtils=require(a17_0x513d0e(0x1f7)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x513d0e(0x186)),testRunMap=require(a17_0x513d0e(0x1cf)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x513d0e(0x1b4),a17_0x47c30d={};a17_0x47c30d[a17_0x513d0e(0x1a6)]='passed',a17_0x47c30d[a17_0x513d0e(0x1a7)]=a17_0x513d0e(0x1a7),a17_0x47c30d['pending']=a17_0x513d0e(0x1eb),a17_0x47c30d['excluded']=a17_0x513d0e(0x1e9);function a17_0x2dd5(){const _0x51ffc4=['jasmineStarted','DRXcc','err','sep','VVWFs','uploadEventData','duration','JASMINE','TestRunSkipped','has','actual','specStarted','gSMZR','EzJDG','_collapseFailedExpectations','expanded','2025640WyFzVA','_paths','TsJuC','_findGitConfig','fhmvW','add','failure_backtrace','message','delete','../testRunMap','EgNKY','EpVGN','backtrace','ooCjH','_sendSpecEvent','AOCLm','SrNuZ','5133492loTsSG','_suitesById','elmCJ','qOnmG','.git','RjsKU','relative','GuRmX','jasmineDone','endsWith','YCCXG','FghLw','matcherName','kbLix','_resolveFilePath','ONxIx','mbWTE','uuid','skipped','fullName','pending','config','UnhandledError','AUTNI','fileNameByFullName','DVUzO','testObservability','jFhHt','failure_reason_expanded','javascript','failedExpectations','reverse','../../../helpers/testhub/utils','appendTesthubParams','CqFnj','OZDuG','medku','brspY','path','stack','3347976nANofb','aVQKe','kVLIR','2ewJIRS','match','TestRunStarted','../../../helpers/test-observability/utils','statSync','\x20:\x20','expected','join','486pYEwrZ','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','status','MGmlS','941101beJUcG','_scopes','push','RfZtf','TestRunFinished','shouldProcessEventForTesthub','length','parentSuiteId','zlmyn','OqxJa','description','mjytb','4572HvmsIl','zGNsI','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','5927096fEwJgR','piTIT','vlljB','utEpf','lang','number','filename','_fileNameByFullName','passed','failed','split','exports','finished_at','set','dirname','code','IWYxh','isArray','get','339109xAxkeo','bGAaf','CuUKA','Jasmine','specDone'];a17_0x2dd5=function(){return _0x51ffc4;};return a17_0x2dd5();}const STATUS_MAP=a17_0x47c30d;function a17_0x18a2(_0x10dcb7,_0x4797e2){const _0x2dd595=a17_0x2dd5();return a17_0x18a2=function(_0x18a238,_0x2bef9b){_0x18a238=_0x18a238-0x181;let _0x19a311=_0x2dd595[_0x18a238];return _0x19a311;},a17_0x18a2(_0x10dcb7,_0x4797e2);}class BrowserStackJasmineReporter{constructor(_0x289de9={}){const _0x27d58d=a17_0x513d0e,_0x4f7bc5={'BJpOD':function(_0x3c19d3){return _0x3c19d3();}};this[_0x27d58d(0x1f1)]=_0x4f7bc5['BJpOD'](isTestObservabilitySession),this[_0x27d58d(0x1c7)]=new PathHelper({'cwd':process['cwd']()},undefined),this[_0x27d58d(0x1a5)]=_0x289de9&&_0x289de9[_0x27d58d(0x1ef)]||{},this[_0x27d58d(0x1d8)]=new Map();}[a17_0x513d0e(0x1b6)](){}['suiteStarted'](_0xd5068a){const _0x4e2e2f=a17_0x513d0e,_0xf2ec46={'VVWFs':function(_0x2c2ee2,_0x2e3047){return _0x2c2ee2!==_0x2e3047;},'EgNKY':function(_0x4aeb97,_0x5c8d0a){return _0x4aeb97(_0x5c8d0a);}};try{_0xd5068a&&_0xf2ec46['VVWFs'](_0xd5068a['id'],undefined)&&_0xf2ec46[_0x4e2e2f(0x1ba)](_0xd5068a['id'],null)&&this[_0x4e2e2f(0x1d8)][_0x4e2e2f(0x1ab)](_0xd5068a['id'],{'description':_0xd5068a[_0x4e2e2f(0x199)],'parentSuiteId':_0xd5068a[_0x4e2e2f(0x196)]});}catch(_0x112e74){_0xf2ec46[_0x4e2e2f(0x1d0)](debug,'Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20'+(_0xd5068a&&_0xd5068a[_0x4e2e2f(0x1ea)])+_0x4e2e2f(0x188)+_0x112e74);}}[a17_0x513d0e(0x1c1)](_0x1e81fb){const _0x1017c0=a17_0x513d0e,_0xb69061={'KbVoP':function(_0x43da7f,_0x2a231a){return _0x43da7f!==_0x2a231a;},'wsZvW':function(_0x57e36a){return _0x57e36a();},'IWYxh':'TestRunStarted','BnCVj':function(_0x30bda4,_0x271c43){return _0x30bda4(_0x271c43);}};try{if(_0xb69061['KbVoP'](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x18662e=_0xb69061['wsZvW'](uuidv4);testRunMap[_0x1017c0(0x1ab)](_0x1e81fb['id'],_0x18662e),this[_0x1017c0(0x1d4)](_0x1e81fb,_0x18662e,_0xb69061[_0x1017c0(0x1ae)]);}catch(_0x5de9bc){_0xb69061['BnCVj'](debug,_0x1017c0(0x18c)+(_0x1e81fb&&_0x1e81fb[_0x1017c0(0x1ea)])+_0x1017c0(0x188)+_0x5de9bc);}}[a17_0x513d0e(0x1b5)](_0x5be931){const _0x27a4db=a17_0x513d0e,_0x128b81={'EpVGN':function(_0x47ec27,_0x257b50){return _0x47ec27!==_0x257b50;},'zlmyn':function(_0x5390b1){return _0x5390b1();},'utEpf':function(_0x7b8083,_0x7e6c7a){return _0x7b8083===_0x7e6c7a;},'qOnmG':'excluded','mbWTE':_0x27a4db(0x1be),'GuRmX':_0x27a4db(0x193),'aVQKe':function(_0x308cfd,_0x58f5a4){return _0x308cfd(_0x58f5a4);}};try{if(_0x128b81[_0x27a4db(0x1d1)](testhubUtils[_0x27a4db(0x194)](),!![]))return;const _0x1ca2ce=testRunMap['get'](_0x5be931['id'])||_0x128b81[_0x27a4db(0x197)](uuidv4),_0x14f246=_0x128b81[_0x27a4db(0x1a1)](_0x5be931['status'],_0x128b81[_0x27a4db(0x1da)])?_0x128b81[_0x27a4db(0x1e7)]:_0x128b81[_0x27a4db(0x1de)];this['_sendSpecEvent'](_0x5be931,_0x1ca2ce,_0x14f246);}catch(_0x4ad00e){_0x128b81[_0x27a4db(0x181)](debug,'Exception\x20in\x20jasmine\x20specDone\x20for\x20'+(_0x5be931&&_0x5be931[_0x27a4db(0x1ea)])+_0x27a4db(0x188)+_0x4ad00e);}finally{_0x5be931&&(testRunMap['remove'](_0x5be931['id']),_specStartTimes[_0x27a4db(0x1ce)](_0x5be931['id']));}}['suiteDone'](){}[a17_0x513d0e(0x1df)](){}[a17_0x513d0e(0x1d4)](_0x26c504,_0x1ec504,_0x2feb37){const _0x60c336=a17_0x513d0e,_0xd40943={'bGAaf':function(_0x54f52a,_0x16573b){return _0x54f52a===_0x16573b;},'ooCjH':_0x60c336(0x193),'jFhHt':_0x60c336(0x1be),'WyFcZ':'File\x20path\x20could\x20not\x20be\x20found','iybcU':function(_0x5b5928,_0x2f8d1e,_0x2faaca){return _0x5b5928(_0x2f8d1e,_0x2faaca);},'KHKvQ':_0x60c336(0x1b8),'RjsKU':_0x60c336(0x185),'gwaVv':function(_0xd6dd0d,_0x471a92){return _0xd6dd0d!==_0x471a92;},'zGNsI':function(_0x12936e,_0x253243){return _0x12936e!==_0x253243;},'kVLIR':_0x60c336(0x1f4),'CuUKA':function(_0x59d13e,_0x21bfdd){return _0x59d13e&&_0x21bfdd;},'OZDuG':_0x60c336(0x1e9),'DVUzO':'passed','fhmvW':_0x60c336(0x1a3),'FghLw':'AssertionError','AUTNI':_0x60c336(0x1ed),'brspY':function(_0x4e3192,_0x59af51){return _0x4e3192===_0x59af51;},'mjytb':'started_at','CqFnj':_0x60c336(0x1aa),'EzJDG':'failure','CbYgR':_0x60c336(0x1cc),'kbLix':_0x60c336(0x1d2),'RfZtf':_0x60c336(0x1f3),'DRXcc':_0x60c336(0x1c5),'JjjzC':function(_0xb99327,_0x338680){return _0xb99327(_0x338680);}};try{const _0x2fc9bd=_0xd40943[_0x60c336(0x1b2)](_0x2feb37,_0xd40943['ooCjH'])||_0xd40943[_0x60c336(0x1b2)](_0x2feb37,_0xd40943[_0x60c336(0x1f2)]),_0x1b604a=this[_0x60c336(0x1e5)](_0x26c504),_0x4f562e=_0x1b604a?this['_paths']['prefixTestPath'](_0x1b604a):_0xd40943['WyFcZ'],_0x23b86b=_0x1b604a?this['_findGitConfig'](path[_0x60c336(0x1ac)](_0x1b604a)):null,_0xca1a8=this[_0x60c336(0x1c4)](_0x26c504[_0x60c336(0x1f5)]),_0x558e01=_0xca1a8?_0xca1a8[_0x60c336(0x1cd)]:undefined,_0x43b0a1=_0xca1a8?_0xd40943['iybcU'](failureData,_0xca1a8,_0xd40943['KHKvQ']):[],_0x1a4749=new Date()['toISOString'](),_0x1ca01f=this[_0x60c336(0x190)](_0x26c504);_0xd40943[_0x60c336(0x1b2)](_0x2feb37,_0xd40943[_0x60c336(0x1dc)])&&_0x26c504&&_0xd40943['gwaVv'](_0x26c504['id'],undefined)&&_0xd40943[_0x60c336(0x19c)](_0x26c504['id'],null)&&_specStartTimes[_0x60c336(0x1ab)](_0x26c504['id'],_0x1a4749);const _0x4ad9db=_0xd40943['bGAaf'](_0x2feb37,_0xd40943[_0x60c336(0x1dc)])?_0x1a4749:_0x26c504&&_specStartTimes[_0x60c336(0x1b0)](_0x26c504['id'])||null,_0x92ccd6={};_0x92ccd6[_0x60c336(0x1a2)]=_0xd40943[_0x60c336(0x182)],_0x92ccd6[_0x60c336(0x1ad)]=null;const _0x5f35bb={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x1ec504,'name':_0x26c504[_0x60c336(0x199)],'body':_0x92ccd6,'scope':_0x1ca01f[_0x60c336(0x18a)]('\x20'),'scopes':_0x1ca01f,'identifier':_0x26c504[_0x60c336(0x1ea)],'file_name':_0x4f562e,'vc_filepath':_0xd40943[_0x60c336(0x1b3)](_0x23b86b,_0x1b604a)?path[_0x60c336(0x1dd)](_0x23b86b,_0x1b604a):null,'location':_0x4f562e,'result':_0xd40943[_0x60c336(0x1b2)](_0x2feb37,_0xd40943[_0x60c336(0x1f2)])?_0xd40943[_0x60c336(0x1fa)]:STATUS_MAP[_0x26c504[_0x60c336(0x18d)]]||_0xd40943[_0x60c336(0x1f0)],'failure_reason':_0x558e01,'duration_in_ms':_0xd40943['bGAaf'](typeof _0x26c504[_0x60c336(0x1bc)],_0xd40943[_0x60c336(0x1ca)])?_0x26c504['duration']:null,'started_at':_0x4ad9db,'finished_at':_0x2fc9bd?_0x1a4749:null,'failure':_0x43b0a1,'failure_type':!_0x558e01?null:_0x558e01[_0x60c336(0x184)](/AssertionError/)?_0xd40943[_0x60c336(0x1e2)]:_0xd40943[_0x60c336(0x1ee)],'retry_of':null};_0xd40943[_0x60c336(0x1fc)](_0x2feb37,_0xd40943['jFhHt'])&&!_0x5f35bb[_0xd40943['mjytb']]&&(_0x5f35bb[_0xd40943[_0x60c336(0x19a)]]=_0x5f35bb[_0xd40943[_0x60c336(0x1f9)]]);const _0x1713a1=_0x5f35bb[_0xd40943[_0x60c336(0x1c3)]][0x0];_0x1713a1&&(_0x5f35bb[_0xd40943['CbYgR']]=_0x1713a1[_0xd40943[_0x60c336(0x1e4)]],_0x5f35bb[_0xd40943[_0x60c336(0x192)]]=_0x1713a1[_0xd40943[_0x60c336(0x1b7)]]);testhubUtils[_0x60c336(0x1f8)](_0x5f35bb,_0x2feb37,_0x26c504,FRAMEWORKS[_0x60c336(0x1bd)]);const _0x328a6d={'event_type':_0xd40943[_0x60c336(0x1b2)](_0x2feb37,_0xd40943[_0x60c336(0x1f2)])?_0xd40943[_0x60c336(0x1d3)]:_0x2feb37,'test_run':_0x5f35bb};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x60c336(0x1bd)],_0x328a6d),SessionHandler[_0x60c336(0x1bb)](_0x328a6d);}catch(_0x1a237f){_0xd40943['JjjzC'](debug,_0x60c336(0x19d)+_0x2feb37+'\x20:\x20'+_0x1a237f);}}[a17_0x513d0e(0x190)](_0x51a305){const _0x46bfda=a17_0x513d0e,_0x2e3d60={'HmbxA':function(_0x4d7e82,_0x29c706){return _0x4d7e82!==_0x29c706;},'medku':function(_0x53f9dd,_0x3629e4){return _0x53f9dd>_0x3629e4;},'YCCXG':function(_0x1a4051,_0x4fed8a){return _0x1a4051(_0x4fed8a);},'HiQUh':function(_0x2c5376,_0x4dd6aa){return _0x2c5376-_0x4dd6aa;}};try{const _0x2b8e19=[];let _0x1f4d2b=_0x51a305&&_0x51a305[_0x46bfda(0x196)];const _0x2ee809=new Set();while(_0x2e3d60['HmbxA'](_0x1f4d2b,undefined)&&_0x2e3d60['HmbxA'](_0x1f4d2b,null)&&this[_0x46bfda(0x1d8)][_0x46bfda(0x1bf)](_0x1f4d2b)&&!_0x2ee809['has'](_0x1f4d2b)){_0x2ee809[_0x46bfda(0x1cb)](_0x1f4d2b);const _0x7cd840=this[_0x46bfda(0x1d8)][_0x46bfda(0x1b0)](_0x1f4d2b);_0x7cd840&&_0x7cd840[_0x46bfda(0x199)]&&_0x2b8e19[_0x46bfda(0x191)](_0x7cd840[_0x46bfda(0x199)]),_0x1f4d2b=_0x7cd840?_0x7cd840[_0x46bfda(0x196)]:null;}if(_0x2e3d60[_0x46bfda(0x1fb)](_0x2b8e19[_0x46bfda(0x195)],0x0))return _0x2b8e19[_0x46bfda(0x1f6)]();}catch(_0x446a29){_0x2e3d60[_0x46bfda(0x1e1)](debug,'Exception\x20deriving\x20jasmine\x20scopes\x20for\x20'+(_0x51a305&&_0x51a305['fullName'])+'\x20:\x20'+_0x446a29);}const _0x221480=_0x51a305&&_0x51a305[_0x46bfda(0x1ea)]||'',_0x548441=_0x51a305&&_0x51a305[_0x46bfda(0x199)]||'';let _0x4f656f=_0x221480;return _0x548441&&_0x221480[_0x46bfda(0x1e0)](_0x548441)&&(_0x4f656f=_0x221480['slice'](0x0,_0x2e3d60['HiQUh'](_0x221480['length'],_0x548441[_0x46bfda(0x195)]))['trim']()),_0x4f656f?_0x4f656f[_0x46bfda(0x1a8)](/\s+/):[];}['_resolveFilePath'](_0x26d9e3){const _0x3c7fa7=a17_0x513d0e,_0x367c8c={};_0x367c8c[_0x3c7fa7(0x1d5)]=function(_0x5bed9a,_0x4b5aad){return _0x5bed9a===_0x4b5aad;},_0x367c8c['elmCJ']=function(_0x39ca53,_0x5d7005){return _0x39ca53+_0x5d7005;},_0x367c8c[_0x3c7fa7(0x19f)]=function(_0x46cfa0,_0x528799){return _0x46cfa0>_0x528799;};const _0x588b20=_0x367c8c;if(_0x26d9e3&&_0x26d9e3['filename'])return _0x26d9e3[_0x3c7fa7(0x1a4)];if(_0x26d9e3&&_0x26d9e3['fullName']){if(this[_0x3c7fa7(0x1a5)][_0x26d9e3[_0x3c7fa7(0x1ea)]])return this[_0x3c7fa7(0x1a5)][_0x26d9e3[_0x3c7fa7(0x1ea)]];let _0x3bb987=null,_0xef012c=-0x1;for(const _0xde247 of Object['keys'](this[_0x3c7fa7(0x1a5)])){(_0x588b20[_0x3c7fa7(0x1d5)](_0x26d9e3[_0x3c7fa7(0x1ea)],_0xde247)||_0x26d9e3['fullName']['startsWith'](_0x588b20[_0x3c7fa7(0x1d9)](_0xde247,'\x20')))&&_0x588b20[_0x3c7fa7(0x19f)](_0xde247[_0x3c7fa7(0x195)],_0xef012c)&&(_0x3bb987=this[_0x3c7fa7(0x1a5)][_0xde247],_0xef012c=_0xde247[_0x3c7fa7(0x195)]);}if(_0x3bb987)return _0x3bb987;}return null;}[a17_0x513d0e(0x1c4)](_0xc37af7){const _0x29a9f7=a17_0x513d0e,_0x58dd6d={};_0x58dd6d[_0x29a9f7(0x198)]=function(_0x425b4b,_0x378ac7){return _0x425b4b===_0x378ac7;},_0x58dd6d['MGmlS']='Spec\x20failed';const _0x323706=_0x58dd6d;if(!Array[_0x29a9f7(0x1af)](_0xc37af7)||_0x323706[_0x29a9f7(0x198)](_0xc37af7[_0x29a9f7(0x195)],0x0))return undefined;const _0x383ff3=[],_0x12808d=[];for(const _0x1c568b of _0xc37af7){_0x1c568b&&_0x1c568b[_0x29a9f7(0x1cd)]&&_0x383ff3[_0x29a9f7(0x191)](_0x1c568b['message']),_0x1c568b&&_0x1c568b[_0x29a9f7(0x1fe)]&&_0x12808d[_0x29a9f7(0x191)](_0x1c568b['stack']);}const _0x13e476=_0xc37af7[0x0]||{},_0x3f90e9=_0x383ff3[_0x29a9f7(0x18a)]('\x0a')||_0x13e476[_0x29a9f7(0x1cd)]||_0x323706[_0x29a9f7(0x18e)],_0x1b63e3=_0x12808d[_0x29a9f7(0x18a)]('\x0a\x0a')||_0x13e476[_0x29a9f7(0x1fe)]||_0x3f90e9,_0x3c1cc5={};return _0x3c1cc5['message']=_0x3f90e9,_0x3c1cc5[_0x29a9f7(0x1fe)]=_0x1b63e3,_0x3c1cc5[_0x29a9f7(0x1e3)]=_0x13e476[_0x29a9f7(0x1e3)],_0x3c1cc5[_0x29a9f7(0x189)]=_0x13e476[_0x29a9f7(0x189)],_0x3c1cc5[_0x29a9f7(0x1c0)]=_0x13e476[_0x29a9f7(0x1c0)],_0x3c1cc5;}[a17_0x513d0e(0x1c9)](_0x5e1c8e){const _0x12cf15=a17_0x513d0e,_0x12fb65={};_0x12fb65[_0x12cf15(0x1e6)]=function(_0x47a80e,_0x1d5351){return _0x47a80e===_0x1d5351;},_0x12fb65[_0x12cf15(0x1a0)]=function(_0x40f58e,_0x42807b){return _0x40f58e===_0x42807b;},_0x12fb65[_0x12cf15(0x1d6)]=function(_0x2e7ca3,_0x547463){return _0x2e7ca3===_0x547463;},_0x12fb65[_0x12cf15(0x1c2)]=_0x12cf15(0x1db),_0x12fb65[_0x12cf15(0x1c8)]=_0x12cf15(0x1ec);const _0x41c1a6=_0x12fb65,_0x14a500=path[_0x12cf15(0x1b9)];if(_0x41c1a6[_0x12cf15(0x1e6)](_0x5e1c8e,null)||_0x41c1a6[_0x12cf15(0x1e6)](_0x5e1c8e,'')||_0x41c1a6[_0x12cf15(0x1a0)](_0x5e1c8e,_0x14a500)||_0x41c1a6[_0x12cf15(0x1d6)](_0x5e1c8e,path[_0x12cf15(0x1ac)](_0x5e1c8e)))return null;try{return fs[_0x12cf15(0x187)](path[_0x12cf15(0x18a)](_0x5e1c8e,_0x41c1a6[_0x12cf15(0x1c2)],_0x41c1a6['TsJuC'])),_0x5e1c8e;}catch(_0x894c27){return this[_0x12cf15(0x1c9)](path['dirname'](_0x5e1c8e));}}}module[a17_0x513d0e(0x1a9)]=BrowserStackJasmineReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a18_0x1a8e9a=a18_0x1b73;(function(_0x50955c,_0x25c444){const _0x456bc7=a18_0x1b73,_0x22c8f6=_0x50955c();while(!![]){try{const _0x4a8797=-parseInt(_0x456bc7(0xf9))/0x1+parseInt(_0x456bc7(0xe4))/0x2*(parseInt(_0x456bc7(0x10b))/0x3)+-parseInt(_0x456bc7(0x12f))/0x4+parseInt(_0x456bc7(0x11e))/0x5*(-parseInt(_0x456bc7(0x154))/0x6)+parseInt(_0x456bc7(0x10a))/0x7*(-parseInt(_0x456bc7(0x150))/0x8)+-parseInt(_0x456bc7(0x15e))/0x9*(-parseInt(_0x456bc7(0x12d))/0xa)+parseInt(_0x456bc7(0x145))/0xb;if(_0x4a8797===_0x25c444)break;else _0x22c8f6['push'](_0x22c8f6['shift']());}catch(_0xf1005e){_0x22c8f6['push'](_0x22c8f6['shift']());}}}(a18_0x4e7a,0x5b563));function a18_0x4e7a(){const _0x3ae59b=['DWsxf','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','join','start','true','IYYFB','\x27\x20:\x20','useW3C','info','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','1868181ilBYrG','71787axrjNh','isArray','lBLLI','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','zMWof','tPlCV','resolve','HYFci','../../helpers/testhub/testhubHandler','handleApp','isCLIEnabled','MGsbO','getHubUrl','__isPuppeteerInstalled','format','platforms','BROWSERSTACK_JASMINE_PARALLELS','validPlatformsPresent','error','337865ygZZWm','ZxVTW','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20',';\x20proceeding\x20without\x20injection','PqnAy','globSync','ixuWd','spec_files','mSzRo','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','Alpvm','env','sSMAb','../../helpers/test-observability/utils','filter','290nhPetI','platformIndex','2820572DDEmuj','JASMINE','capability','slice',')\x20exited\x20with\x20code\x20','rBbvZ','lQvAR','YfHLs','child_process','XPTVf','XBmtX','util','Running\x20your\x20Jasmine\x20tests\x20across\x20','proxySettings','kCEBK','stop','existsSync','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','cwd','../../helpers/utilities','startsWith','stringify','13727417HaZivH','PtgEA','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','end','BROWSERSTACK_TEST_OBSERVABILITY_YML','specArgs','**/*[sS]pec.?(m)js','islpJ','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','BROWSERSTACK_CAPABILITIES','8ulCyBC','printBuildLink','launchBuild','DMCqb','6oXTeeS','xSfGr','shouldReRunObservabilityTests','../utils/constants','OsoFF',')\x20:\x20','WXIAp','testObservability','accessibilityOptions','getPackageVersion','101835AUsYfv','pQLqL','from','yCjsm','bkmyJ','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','SDK_SETUP','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','test.setup.js','DaQJr','--helper=','readFileSync','JrZuY','CAbcL','win32','../../helpers/puppeteer-helper','map','logLevel','platform','debug','spec','NqLDi','all','finalExecution','spec/support/jasmine.json','\x20platform(s),\x20parallelsPerPlatform=','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','p-limit','push','JASMINE_CONFIG_PATH','\x20:\x20','FRAMEWORKS','RRuEZ','10ufYRSb','SDK_CLEANUP','qZydt','../v2/browserstackCLI','@playwright/test','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','utf8','../../helpers/playwright-helper','spec_dir','zstQd','inherit','binSessionId','length','config','../../helpers/logger','maxWorkers','sgQJL','isUndefined',',\x20specs=','getInstance','\x20work-item(s),\x20max\x20','282013HgtWLz','EVENTS','getPlatformName','\x20concurrent)','posix','string','GFXyb'];a18_0x4e7a=function(){return _0x3ae59b;};return a18_0x4e7a();}const fs=require('fs'),path=require('path'),util=require(a18_0x1a8e9a(0x13a)),{spawn}=require(a18_0x1a8e9a(0x137)),glob=require('glob'),pLimit=require(a18_0x1a8e9a(0x179)),logger=require(a18_0x1a8e9a(0xf2))['winstonLogger'],helper=require('../../helpers/helper'),utilities=require(a18_0x1a8e9a(0x142)),constants=require(a18_0x1a8e9a(0x157)),TestHubHandler=require(a18_0x1a8e9a(0x113)),testOpsHelper=require(a18_0x1a8e9a(0x12b)),{debug}=require(a18_0x1a8e9a(0x12b)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a18_0x1a8e9a(0xfa)],BrowserstackCLI=require(a18_0x1a8e9a(0xe7)),{checkPwandBootstrapCli}=require(a18_0x1a8e9a(0xeb)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x1a8e9a(0x16d)),getMaxWorkers=(_0x5cae6b,_0x231699)=>{const _0x3d1098=a18_0x1a8e9a,_0x490e93={'cjkRG':function(_0xd75b82,_0x33e71f){return _0xd75b82(_0x33e71f);}};let _0x1084c9=0x1;if(!helper['isUndefined'](_0x231699['parallelsPerPlatform']))_0x1084c9=_0x490e93['cjkRG'](parseInt,_0x231699['parallelsPerPlatform']);else!helper[_0x3d1098(0xf5)](_0x5cae6b[_0x3d1098(0xf3)])&&(_0x1084c9=_0x5cae6b[_0x3d1098(0xf3)]);return _0x1084c9;},resolveJasmineConfigPath=()=>{const _0x2385d0=a18_0x1a8e9a,_0x2f09c9={};_0x2f09c9[_0x2385d0(0x139)]=_0x2385d0(0x176);const _0x29a370=_0x2f09c9,_0x4f356a=[];process[_0x2385d0(0x129)][_0x2385d0(0x17b)]&&_0x4f356a['push'](path['resolve'](process['cwd'](),process[_0x2385d0(0x129)][_0x2385d0(0x17b)]));_0x4f356a[_0x2385d0(0x17a)](path[_0x2385d0(0x111)](process['cwd'](),_0x29a370['XBmtX']));for(const _0x48b287 of _0x4f356a){try{if(fs['existsSync'](_0x48b287))return _0x48b287;}catch(_0xbae26d){}}return null;},enumerateSpecFiles=_0xd3d350=>{const _0x1f67c5=a18_0x1a8e9a,_0x50fe13={'islpJ':function(_0x4eb941,_0x1a472a){return _0x4eb941(_0x1a472a);},'xSfGr':function(_0x508b8a,_0x46d924){return _0x508b8a>_0x46d924;},'zebhg':function(_0x50d8a0,_0xfd8ec7){return _0x50d8a0(_0xfd8ec7);},'JrZuY':function(_0x3b9cde,_0x185db7){return _0x3b9cde<_0x185db7;},'XPTVf':function(_0x16df24,_0x4fc1ce){return _0x16df24===_0x4fc1ce;},'NqLDi':_0x1f67c5(0xfe),'pQLqL':function(_0x398461,_0x4896c6){return _0x398461>_0x4896c6;},'tPlCV':function(_0x137c52,_0xce28bf,_0x3eecda){return _0x137c52(_0xce28bf,_0x3eecda);},'lQvAR':function(_0x3ddf0c){return _0x3ddf0c();},'dLQQq':_0x1f67c5(0xea),'bkmyJ':_0x1f67c5(0x172),'MGsbO':function(_0x4b5457,_0x12d541){return _0x4b5457>_0x12d541;},'jVrPG':_0x1f67c5(0x14b),'DWsxf':function(_0x4694ee,_0x1cd99c){return _0x4694ee>_0x1cd99c;}};try{if(testOpsHelper[_0x1f67c5(0x156)]()){const _0x547a9f=testOpsHelper['parseFileNames'](process[_0x1f67c5(0x129)]['BROWSERSTACK_RERUN_TESTS']);if(Array[_0x1f67c5(0x10c)](_0x547a9f)&&_0x50fe13[_0x1f67c5(0x155)](_0x547a9f[_0x1f67c5(0xf0)],0x0))return _0x547a9f[_0x1f67c5(0x16e)](_0x3eb82c=>path[_0x1f67c5(0x111)](process[_0x1f67c5(0x141)](),_0x3eb82c['trim']()))['filter'](Boolean);}}catch(_0x46c9ea){_0x50fe13['zebhg'](debug,_0x1f67c5(0x120)+util[_0x1f67c5(0x119)](_0x46c9ea));}const _0x204c8c=[];try{for(let _0x1baf94=0x1;_0x50fe13[_0x1f67c5(0x16a)](_0x1baf94,_0xd3d350[_0x1f67c5(0xf0)]);_0x1baf94++){const _0x3744df=_0xd3d350[_0x1baf94];_0x50fe13[_0x1f67c5(0x138)](typeof _0x3744df,_0x50fe13[_0x1f67c5(0x173)])&&!_0x3744df[_0x1f67c5(0x143)]('-')&&_0x204c8c[_0x1f67c5(0x17a)](_0x3744df);}}catch(_0x4f82e0){}const _0x458404={'cwd':process[_0x1f67c5(0x141)](),'absolute':!![],'nodir':!![]},_0x214a68=(_0xe9e54b,_0x4f909a)=>{const _0x5573fc=_0x1f67c5,_0x31fbe0=[];for(const _0x59d1e9 of _0xe9e54b){try{const _0x16a958=_0x4f909a?path[_0x5573fc(0xfd)][_0x5573fc(0x102)](_0x4f909a,_0x59d1e9):_0x59d1e9,_0x28db88=glob[_0x5573fc(0x123)](_0x16a958,_0x458404);Array[_0x5573fc(0x10c)](_0x28db88)&&_0x31fbe0[_0x5573fc(0x17a)](..._0x28db88);}catch(_0x251e26){_0x50fe13[_0x5573fc(0x14c)](debug,'Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27'+_0x59d1e9+_0x5573fc(0x106)+util[_0x5573fc(0x119)](_0x251e26));}}return _0x31fbe0;};if(_0x50fe13[_0x1f67c5(0x15f)](_0x204c8c[_0x1f67c5(0xf0)],0x0)){const _0x35203f=_0x50fe13[_0x1f67c5(0x110)](_0x214a68,_0x204c8c,null);if(_0x50fe13[_0x1f67c5(0x15f)](_0x35203f[_0x1f67c5(0xf0)],0x0))return Array[_0x1f67c5(0x160)](new Set(_0x35203f));return _0x204c8c['map'](_0x2b3616=>path['resolve'](process['cwd'](),_0x2b3616));}try{const _0x40eeff=_0x50fe13[_0x1f67c5(0x135)](resolveJasmineConfigPath);if(_0x40eeff){const _0x22f360=JSON['parse'](fs[_0x1f67c5(0x169)](_0x40eeff,_0x50fe13['dLQQq'])),_0x1505d4=_0x22f360[_0x1f67c5(0xec)]||_0x50fe13[_0x1f67c5(0x162)],_0x480ec8=Array['isArray'](_0x22f360['spec_files'])&&_0x50fe13[_0x1f67c5(0x116)](_0x22f360['spec_files'][_0x1f67c5(0xf0)],0x0)?_0x22f360[_0x1f67c5(0x125)]:[_0x50fe13['jVrPG']],_0x3624cf=_0x50fe13['tPlCV'](_0x214a68,_0x480ec8,_0x1505d4);if(_0x50fe13[_0x1f67c5(0x100)](_0x3624cf[_0x1f67c5(0xf0)],0x0))return Array['from'](new Set(_0x3624cf));}}catch(_0x1f9ec6){_0x50fe13[_0x1f67c5(0x14c)](debug,_0x1f67c5(0x127)+util[_0x1f67c5(0x119)](_0x1f9ec6));}return null;};async function run(_0x593aea,_0x4526bd,_0x362453){const _0x251892=a18_0x1a8e9a,_0x3aa783={'sgQJL':function(_0x4036fa,_0x40c91b){return _0x4036fa>_0x40c91b;},'agdgc':function(_0x19a59a,_0x371f88){return _0x19a59a>_0x371f88;},'PtgEA':_0x251892(0x174),'rBbvZ':function(_0x3d2442,_0x2e615c){return _0x3d2442(_0x2e615c);},'PqnAy':function(_0x477458,_0x4e131d){return _0x477458||_0x4e131d;},'sSMAb':function(_0x465676,_0x7e410){return _0x465676>_0x7e410;},'bJTwy':function(_0xeffab,_0x4d0b63,_0x4ef212,_0x35528d){return _0xeffab(_0x4d0b63,_0x4ef212,_0x35528d);},'ZxVTW':'npx','qZydt':'jasmine','niFsk':function(_0x5726a0,_0x355d6d){return _0x5726a0===_0x355d6d;},'kCEBK':_0x251892(0x16c),'DcAay':_0x251892(0xee),'GFXyb':'close','yCjsm':_0x251892(0x11d),'zMWof':function(_0x527dd6,_0x2954cc){return _0x527dd6(_0x2954cc);},'ixuWd':function(_0xd8f2e2,_0x2f0524){return _0xd8f2e2(_0x2f0524);},'mSzRo':_0x251892(0xe8),'WXIAp':function(_0x5e9ee3){return _0x5e9ee3();},'CAbcL':function(_0x3ccc07,_0x1ae847,_0x41ed6a,_0x37246e){return _0x3ccc07(_0x1ae847,_0x41ed6a,_0x37246e);},'lBLLI':function(_0xb59eb7,_0x288ab7){return _0xb59eb7!=_0x288ab7;},'ljmOM':_0x251892(0x104),'Alpvm':function(_0x5d03b4,_0x2d58ad){return _0x5d03b4(_0x2d58ad);},'HYFci':function(_0x36aacb,_0x1c19d5,_0x3f901d){return _0x36aacb(_0x1c19d5,_0x3f901d);},'DaQJr':function(_0x34501e,_0x211af8){return _0x34501e*_0x211af8;},'gzLbx':_0x251892(0x166),'zstQd':function(_0x4da66e,_0x1c3adc){return _0x4da66e<_0x1c3adc;},'OsoFF':function(_0x301818,_0x3f9329){return _0x301818>_0x3f9329;}},_0x79eaaa=helper[_0x251892(0x15d)](_0x3aa783[_0x251892(0x126)]);global['__isPlaywrightInstalled']=!!_0x79eaaa;const _0x33305b=_0x3aa783[_0x251892(0x15a)](getPuppeteerVersion);global[_0x251892(0x118)]=!!_0x33305b;helper['isBrowserstackInfra']()&&(await _0x362453['initialize'](_0x593aea),await helper[_0x251892(0x114)](_0x362453[_0x251892(0xf1)]));if(_0x79eaaa)await _0x3aa783[_0x251892(0x16b)](checkPwandBootstrapCli,_0x79eaaa,constants[_0x251892(0x17d)][_0x251892(0x130)],_0x362453);else _0x33305b&&await _0x3aa783['bJTwy'](checkPuppeteerAndBootstrapCli,_0x33305b,constants[_0x251892(0x17d)][_0x251892(0x130)],_0x362453);if(!_0x362453[_0x251892(0xf1)])return;_0x3aa783[_0x251892(0x10d)](_0x362453[_0x251892(0xf1)][_0x251892(0x15b)],null)?process[_0x251892(0x129)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x362453['config'][_0x251892(0x15b)]:process[_0x251892(0x129)][_0x251892(0x149)]=_0x3aa783['ljmOM'];!helper[_0x251892(0xf5)](_0x362453[_0x251892(0xf1)][_0x251892(0x15c)])&&(process[_0x251892(0x129)][_0x251892(0x101)]=JSON[_0x251892(0x144)](_0x362453['config'][_0x251892(0x15c)]));try{await TestHubHandler[_0x251892(0x152)](FRAMEWORKS[_0x251892(0x130)],_0x362453);}catch(_0x13883b){logger[_0x251892(0x11d)](_0x251892(0x14e)+util['format'](_0x13883b)),_0x3aa783[_0x251892(0x10f)](debug,_0x251892(0x147)+util[_0x251892(0x119)](_0x13883b));}let _0x365912=![],_0x156b22=[];try{_0x365912=helper[_0x251892(0x107)](_0x362453[_0x251892(0xf1)]),_0x156b22=helper['prepareCapabilities'](_0x362453[_0x251892(0xf1)],_0x365912,constants[_0x251892(0x17d)]['JASMINE']),process['env'][_0x251892(0x14f)]=JSON[_0x251892(0x144)](_0x156b22);}catch(_0x297bc3){_0x3aa783[_0x251892(0x134)](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util[_0x251892(0x119)](_0x297bc3));}let _0x430159=null,_0x1d706b=![];try{_0x430159=helper[_0x251892(0x117)](_0x362453['config']),_0x1d706b=helper[_0x251892(0x11c)](_0x362453['config']);}catch(_0x52f964){_0x3aa783[_0x251892(0x128)](debug,_0x251892(0x165)+util['format'](_0x52f964));}const _0x4b1205=_0x1f886e=>{const _0x566db1=_0x251892,_0x444db1=Array[_0x566db1(0x10c)](_0x156b22)&&_0x3aa783[_0x566db1(0xf4)](_0x156b22[_0x566db1(0xf0)],_0x1f886e)?_0x156b22[_0x1f886e]:Array['isArray'](_0x156b22)&&_0x3aa783['agdgc'](_0x156b22[_0x566db1(0xf0)],0x0)?_0x156b22[0x0]:{};return{'server':_0x430159,'capability':_0x444db1,'proxySettings':_0x362453[_0x566db1(0xf1)][_0x566db1(0x13c)],'platform':helper[_0x566db1(0xfb)](_0x444db1),'browserStackLogLevel':_0x362453[_0x566db1(0xf1)][_0x566db1(0x16f)],'platformIndex':_0x1f886e,'framework':constants[_0x566db1(0x17d)][_0x566db1(0x130)],'platformCaps':_0x1d706b?Object['assign']({'index':_0x1f886e},_0x362453[_0x566db1(0xf1)][_0x566db1(0x11a)][_0x1f886e]):{'index':_0x1f886e}};};let _0x1cf95d=0x1,_0x10d533=0x1,_0x56c8aa=0x1;try{_0x1cf95d=_0x3aa783[_0x251892(0x112)](getMaxWorkers,_0x593aea,_0x362453[_0x251892(0xf1)]),_0x10d533=_0x1d706b?_0x362453[_0x251892(0xf1)][_0x251892(0x11a)][_0x251892(0xf0)]:0x1,_0x56c8aa=_0x3aa783[_0x251892(0x167)](_0x10d533,_0x1cf95d),process[_0x251892(0x129)][_0x251892(0x11b)]=_0x3aa783['Alpvm'](String,_0x56c8aa);}catch(_0x481d9a){_0x3aa783[_0x251892(0x124)](debug,_0x251892(0x10e)+util[_0x251892(0x119)](_0x481d9a));}try{BrowserstackCLI[_0x251892(0xf7)]()['binSessionId']&&(process[_0x251892(0x129)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x251892(0xf7)]()[_0x251892(0xef)]);}catch(_0x33f6ae){_0x3aa783[_0x251892(0x128)](debug,_0x251892(0xe9)+util[_0x251892(0x119)](_0x33f6ae));}const _0xe67647=[];try{const _0x2a4d9b=path['resolve'](__dirname,_0x3aa783['gzLbx']);fs[_0x251892(0x13f)](_0x2a4d9b)?_0xe67647['push'](_0x251892(0x168)+_0x2a4d9b):_0x3aa783[_0x251892(0x128)](debug,_0x251892(0x109)+_0x2a4d9b+_0x251892(0x121));}catch(_0x20cbfc){_0x3aa783[_0x251892(0x134)](debug,_0x251892(0x140)+util[_0x251892(0x119)](_0x20cbfc));}const _0x5adc30=_0x4526bd[_0x251892(0x132)](0x1),_0x3a0bff=_0x3aa783['zMWof'](enumerateSpecFiles,_0x4526bd),_0x32c92c=[];for(let _0x781d84=0x0;_0x3aa783[_0x251892(0xed)](_0x781d84,_0x10d533);_0x781d84++){if(_0x3aa783[_0x251892(0xf4)](_0x1cf95d,0x1)&&Array[_0x251892(0x10c)](_0x3a0bff)&&_0x3aa783[_0x251892(0x158)](_0x3a0bff['length'],0x0))for(const _0x363627 of _0x3a0bff){const _0x40940d={};_0x40940d['platformIndex']=_0x781d84,_0x40940d['specArgs']=[_0x363627],_0x32c92c[_0x251892(0x17a)](_0x40940d);}else{const _0x5d0c5f={};_0x5d0c5f['platformIndex']=_0x781d84,_0x5d0c5f[_0x251892(0x14a)]=_0x3a0bff,_0x32c92c[_0x251892(0x17a)](_0x5d0c5f);}}logger[_0x251892(0x108)](_0x251892(0x13b)+_0x10d533+_0x251892(0x177)+_0x1cf95d+'\x20('+_0x32c92c[_0x251892(0xf0)]+_0x251892(0xf8)+_0x56c8aa+_0x251892(0xfc)),PerformanceTester[_0x251892(0x148)](PerformanceEvents[_0x251892(0x164)]);const _0x545c7f=_0x58b8df=>new Promise(_0x4ed382=>{const _0x11f701=_0x251892,_0x4e7856={'IYYFB':_0x3aa783[_0x11f701(0x146)],'DMCqb':function(_0x1c0172,_0x3cc5db){const _0x31f494=_0x11f701;return _0x3aa783[_0x31f494(0x134)](_0x1c0172,_0x3cc5db);},'RRuEZ':function(_0x38ec14,_0x24ddfd){const _0x31b190=_0x11f701;return _0x3aa783[_0x31b190(0x122)](_0x38ec14,_0x24ddfd);},'YfHLs':function(_0x38dfb7,_0x1ab52e){const _0x56e4df=_0x11f701;return _0x3aa783[_0x56e4df(0x134)](_0x38dfb7,_0x1ab52e);}};let _0x117202;try{const _0x556cd2=_0x3aa783['rBbvZ'](_0x4b1205,_0x58b8df['platformIndex']);_0x117202=Object['assign']({},process[_0x11f701(0x129)],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x556cd2),'BROWSERSTACK_CAPABILITIES':JSON[_0x11f701(0x144)]([_0x556cd2[_0x11f701(0x131)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x1f5aaf){_0x3aa783['rBbvZ'](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x58b8df[_0x11f701(0x12e)]+_0x11f701(0x17c)+util[_0x11f701(0x119)](_0x1f5aaf)),_0x117202=Object['assign']({},process[_0x11f701(0x129)]);}const _0x28e0b0=Array[_0x11f701(0x10c)](_0x58b8df[_0x11f701(0x14a)])?_0x58b8df[_0x11f701(0x14a)]:[],_0x559acf=_0x3aa783['sSMAb'](_0x28e0b0[_0x11f701(0xf0)],0x0)?_0x5adc30[_0x11f701(0x12c)](_0x1e67f2=>typeof _0x1e67f2===_0x11f701(0xfe)&&_0x1e67f2['startsWith']('-')):_0x5adc30,_0xbb2673=[..._0xe67647,..._0x559acf,..._0x28e0b0];try{const _0x1989b0=_0x3aa783['bJTwy'](spawn,_0x3aa783[_0x11f701(0x11f)],[_0x3aa783[_0x11f701(0xe6)],..._0xbb2673],{'shell':_0x3aa783['niFsk'](process[_0x11f701(0x170)],_0x3aa783[_0x11f701(0x13d)]),'stdio':_0x3aa783['DcAay'],'env':_0x117202});_0x1989b0['on'](_0x3aa783[_0x11f701(0xff)],_0x5a5610=>{const _0x478cc9=_0x11f701;logger[_0x478cc9(0x171)]('jasmine\x20child\x20(platformIndex='+_0x58b8df[_0x478cc9(0x12e)]+_0x478cc9(0xf6)+(_0x28e0b0['length']?_0x28e0b0[_0x478cc9(0x102)](','):_0x4e7856[_0x478cc9(0x105)])+_0x478cc9(0x133)+_0x5a5610),_0x4e7856[_0x478cc9(0x153)](_0x4ed382,_0x4e7856[_0x478cc9(0xe3)](_0x5a5610,0x0));}),_0x1989b0['on'](_0x3aa783[_0x11f701(0x161)],_0x1be08e=>{const _0x7131f1=_0x11f701;_0x4e7856[_0x7131f1(0x153)](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x58b8df[_0x7131f1(0x12e)]+')\x20:\x20'+util['format'](_0x1be08e)),_0x4e7856[_0x7131f1(0x136)](_0x4ed382,0x1);});}catch(_0x4a2724){_0x3aa783[_0x11f701(0x10f)](debug,_0x11f701(0x163)+_0x58b8df[_0x11f701(0x12e)]+_0x11f701(0x159)+util[_0x11f701(0x119)](_0x4a2724)),_0x3aa783[_0x11f701(0x124)](_0x4ed382,0x1);}}),_0x11325b=_0x3aa783[_0x251892(0x128)](pLimit,_0x3aa783[_0x251892(0x12a)](_0x56c8aa,0x0)?_0x56c8aa:0x1),_0x5e5eb9=await Promise[_0x251892(0x174)](_0x32c92c[_0x251892(0x16e)](_0x335a2f=>_0x11325b(()=>_0x545c7f(_0x335a2f))));PerformanceTester[_0x251892(0x103)](PerformanceEvents[_0x251892(0xe5)]);const _0x5644f6=_0x5e5eb9['find'](_0x4d0de0=>_0x4d0de0!==0x0)||0x0;process['exitCode']=_0x5644f6,logger[_0x251892(0x171)](_0x251892(0x178)+_0x5644f6);const _0x54ea6e=BrowserstackCLI[_0x251892(0x115)]();try{await TestHubHandler[_0x251892(0x13e)](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0x359c57){_0x3aa783[_0x251892(0x128)](debug,_0x251892(0x14d)+util[_0x251892(0x119)](_0x359c57));}testOpsHelper[_0x251892(0x151)](),await utilities[_0x251892(0x175)](_0x362453,_0x54ea6e);}function a18_0x1b73(_0x28a7d2,_0x15f8ed){const _0x4e7a71=a18_0x4e7a();return a18_0x1b73=function(_0x1b7304,_0x240245){_0x1b7304=_0x1b7304-0xe3;let _0x38285f=_0x4e7a71[_0x1b7304];return _0x38285f;},a18_0x1b73(_0x28a7d2,_0x15f8ed);}module['exports']=run;
2
+ 'use strict';const a18_0x2e61fd=a18_0x16e6;function a18_0x41a1(){const _0x10f628=['OkLIc',',\x20specs=','getInstance','platformIndex','winstonLogger','../utils/constants','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','BROWSERSTACK_TEST_OBSERVABILITY_YML','Mzanx','from','niFOk','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','BROWSERSTACK_CAPABILITIES','printBuildLink','OGsKS','KfGeu','../../helpers/helper','__isPlaywrightInstalled','globSync','map','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','spec_files','p-limit','FRAMEWORKS','assign','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','format','getPlatformName','../../helpers/logger','join','ylimo','__isPuppeteerInstalled','slice','BhtYu','parallelsPerPlatform','../../helpers/performance/performance-tester','\x20work-item(s),\x20max\x20','end','logLevel','binSessionId','pdNel','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','parseFileNames','BROWSERSTACK_RERUN_TESTS','error','646426iAGRYc','../../helpers/performance/constants','true','UadYF','stop','\x27\x20:\x20','EUeGj','BROWSERSTACK_JASMINE_PARALLELS','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','RvmgW','inherit','9OgURdS','yzLFF','Nowea','JASMINE','Pzkxq','mxsqV','spec','readFileSync','spec_dir','start','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','rBktA','6HIsavR','aVlFo','path','2926590DOHCKy','120kWPoAS','finalExecution','filter','child_process','sVZvB','UpHeF','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','HJJWa','OOfVJ','getHubUrl','exitCode','testObservability','prepareCapabilities','length','gzYZd','config','dAqKg','OvDEx','push','JASMINE_CONFIG_PATH','posix','CqviJ','GBumR','2679943dZpwes','platform','startsWith','TFCOU','iPXco','accessibilityOptions','platforms','stringify','cwd','XlwFr','maxWorkers','all','sFLnZ','env','1233076IsMrlU','launchBuild','iLjMP','JQSZp','string','Lvazh','../../helpers/playwright-helper','**/*[sS]pec.?(m)js','resolve','SDK_SETUP','6893608dXucMI','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','zcRsH','handleApp','parse','mlmIs','isCLIEnabled','../../helpers/puppeteer-helper','djCkx','debug','qQrri','utf8','win32','NtxFw','OQFaf','npx','sRmzj','6509940KdhmPV','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','initialize','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','13dlTJxi','isUndefined','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','info','ZcKWl','existsSync',')\x20:\x20','spec/support/jasmine.json','9ZSbrTz','glob','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20',';\x20proceeding\x20without\x20injection','specArgs','1579fSxyoh','jasmine\x20child\x20(platformIndex=','useW3C','366JDINQi',')\x20exited\x20with\x20code\x20','trim','lZjPH','isArray'];a18_0x41a1=function(){return _0x10f628;};return a18_0x41a1();}(function(_0x529897,_0x3ba6aa){const _0x344857=a18_0x16e6,_0x44ce79=_0x529897();while(!![]){try{const _0x5a72d6=-parseInt(_0x344857(0x164))/0x1*(parseInt(_0x344857(0x167))/0x2)+parseInt(_0x344857(0x1a4))/0x3*(parseInt(_0x344857(0x1d9))/0x4)+-parseInt(_0x344857(0x1b3))/0x5*(parseInt(_0x344857(0x1b0))/0x6)+-parseInt(_0x344857(0x1cb))/0x7+parseInt(_0x344857(0x1e3))/0x8*(parseInt(_0x344857(0x15f))/0x9)+parseInt(_0x344857(0x1b4))/0xa*(parseInt(_0x344857(0x199))/0xb)+-parseInt(_0x344857(0x1f4))/0xc*(parseInt(_0x344857(0x1f8))/0xd);if(_0x5a72d6===_0x3ba6aa)break;else _0x44ce79['push'](_0x44ce79['shift']());}catch(_0x7930b9){_0x44ce79['push'](_0x44ce79['shift']());}}}(a18_0x41a1,0xa8f71));const fs=require('fs'),path=require(a18_0x2e61fd(0x1b2)),util=require('util'),{spawn}=require(a18_0x2e61fd(0x1b7)),glob=require(a18_0x2e61fd(0x160)),pLimit=require(a18_0x2e61fd(0x182)),logger=require(a18_0x2e61fd(0x188))[a18_0x2e61fd(0x170)],helper=require(a18_0x2e61fd(0x17c)),utilities=require('../../helpers/utilities'),constants=require(a18_0x2e61fd(0x171)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require('../../helpers/test-observability/utils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a18_0x2e61fd(0x18f)),PerformanceEvents=require(a18_0x2e61fd(0x19a))['EVENTS'],BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a18_0x2e61fd(0x1df)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x2e61fd(0x1ea)),getMaxWorkers=(_0x378136,_0x66bc72)=>{const _0x3c27d1=a18_0x2e61fd,_0x947b76={'EUeGj':function(_0x4f8594,_0x36c78f){return _0x4f8594(_0x36c78f);}};let _0x5c00ee=0x1;if(!helper[_0x3c27d1(0x1f9)](_0x66bc72[_0x3c27d1(0x18e)]))_0x5c00ee=_0x947b76[_0x3c27d1(0x19f)](parseInt,_0x66bc72['parallelsPerPlatform']);else!helper[_0x3c27d1(0x1f9)](_0x378136[_0x3c27d1(0x1d5)])&&(_0x5c00ee=_0x378136[_0x3c27d1(0x1d5)]);return _0x5c00ee;},resolveJasmineConfigPath=()=>{const _0x22c0c1=a18_0x2e61fd,_0x36c108={};_0x36c108[_0x22c0c1(0x1e5)]=_0x22c0c1(0x15e);const _0x4f0ae9=_0x36c108,_0x429de1=[];process[_0x22c0c1(0x1d8)][_0x22c0c1(0x1c7)]&&_0x429de1[_0x22c0c1(0x1c6)](path['resolve'](process[_0x22c0c1(0x1d3)](),process[_0x22c0c1(0x1d8)][_0x22c0c1(0x1c7)]));_0x429de1[_0x22c0c1(0x1c6)](path['resolve'](process[_0x22c0c1(0x1d3)](),_0x4f0ae9['zcRsH']));for(const _0x33ee4c of _0x429de1){try{if(fs[_0x22c0c1(0x1fd)](_0x33ee4c))return _0x33ee4c;}catch(_0x312adf){}}return null;},enumerateSpecFiles=_0x467328=>{const _0x518b5b=a18_0x2e61fd,_0xa6e960={'JQSZp':function(_0x19311f,_0x4d8ff0){return _0x19311f(_0x4d8ff0);},'Nowea':function(_0x168c6e,_0xd5e30c){return _0x168c6e>_0xd5e30c;},'BZerQ':function(_0x10c9b7,_0x3aabdd){return _0x10c9b7<_0x3aabdd;},'CqviJ':function(_0x2e8bd6,_0x2aef99){return _0x2e8bd6===_0x2aef99;},'OOfVJ':_0x518b5b(0x1dd),'lZjPH':function(_0x491311,_0x94346d,_0x50d45c){return _0x491311(_0x94346d,_0x50d45c);},'sFLnZ':function(_0x1cedfa,_0x6e1714){return _0x1cedfa>_0x6e1714;},'yzLFF':function(_0x40f160){return _0x40f160();},'TFCOU':_0x518b5b(0x1ee),'pdNel':_0x518b5b(0x1aa),'iPXco':function(_0x50c6d0,_0x50dd81){return _0x50c6d0>_0x50dd81;},'RvmgW':_0x518b5b(0x1e0),'SNrXp':function(_0x16dc35,_0x4a7408,_0x54b246){return _0x16dc35(_0x4a7408,_0x54b246);},'sVZvB':function(_0x2cdc69,_0x1b0cef){return _0x2cdc69(_0x1b0cef);}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x1dc1bd=testOpsHelper[_0x518b5b(0x196)](process[_0x518b5b(0x1d8)][_0x518b5b(0x197)]);if(Array[_0x518b5b(0x16b)](_0x1dc1bd)&&_0xa6e960[_0x518b5b(0x1a6)](_0x1dc1bd[_0x518b5b(0x1c1)],0x0))return _0x1dc1bd[_0x518b5b(0x17f)](_0x1cab71=>path[_0x518b5b(0x1e1)](process[_0x518b5b(0x1d3)](),_0x1cab71[_0x518b5b(0x169)]()))[_0x518b5b(0x1b6)](Boolean);}}catch(_0x2268b3){_0xa6e960[_0x518b5b(0x1dc)](debug,_0x518b5b(0x1ba)+util[_0x518b5b(0x186)](_0x2268b3));}const _0x773868=[];try{for(let _0x366257=0x1;_0xa6e960['BZerQ'](_0x366257,_0x467328['length']);_0x366257++){const _0x4d9d4d=_0x467328[_0x366257];_0xa6e960[_0x518b5b(0x1c9)](typeof _0x4d9d4d,_0xa6e960[_0x518b5b(0x1bc)])&&!_0x4d9d4d[_0x518b5b(0x1cd)]('-')&&_0x773868[_0x518b5b(0x1c6)](_0x4d9d4d);}}catch(_0x1a0499){}const _0x35d313={'cwd':process[_0x518b5b(0x1d3)](),'absolute':!![],'nodir':!![]},_0x5c0484=(_0x24cbf7,_0x5502ba)=>{const _0x504beb=_0x518b5b,_0x493ee9=[];for(const _0x3834f3 of _0x24cbf7){try{const _0x26f6f4=_0x5502ba?path[_0x504beb(0x1c8)][_0x504beb(0x189)](_0x5502ba,_0x3834f3):_0x3834f3,_0xe65420=glob[_0x504beb(0x17e)](_0x26f6f4,_0x35d313);Array[_0x504beb(0x16b)](_0xe65420)&&_0x493ee9[_0x504beb(0x1c6)](..._0xe65420);}catch(_0x447c50){_0xa6e960['JQSZp'](debug,'Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27'+_0x3834f3+_0x504beb(0x19e)+util[_0x504beb(0x186)](_0x447c50));}}return _0x493ee9;};if(_0xa6e960[_0x518b5b(0x1a6)](_0x773868[_0x518b5b(0x1c1)],0x0)){const _0x5758a3=_0xa6e960[_0x518b5b(0x16a)](_0x5c0484,_0x773868,null);if(_0xa6e960[_0x518b5b(0x1d7)](_0x5758a3['length'],0x0))return Array[_0x518b5b(0x175)](new Set(_0x5758a3));return _0x773868[_0x518b5b(0x17f)](_0x2004ae=>path['resolve'](process['cwd'](),_0x2004ae));}try{const _0x5dec27=_0xa6e960[_0x518b5b(0x1a5)](resolveJasmineConfigPath);if(_0x5dec27){const _0x29c6e9=JSON[_0x518b5b(0x1e7)](fs[_0x518b5b(0x1ab)](_0x5dec27,_0xa6e960[_0x518b5b(0x1ce)])),_0x69ffd2=_0x29c6e9[_0x518b5b(0x1ac)]||_0xa6e960[_0x518b5b(0x194)],_0x16c1e4=Array['isArray'](_0x29c6e9[_0x518b5b(0x181)])&&_0xa6e960[_0x518b5b(0x1cf)](_0x29c6e9[_0x518b5b(0x181)][_0x518b5b(0x1c1)],0x0)?_0x29c6e9[_0x518b5b(0x181)]:[_0xa6e960[_0x518b5b(0x1a2)]],_0x236366=_0xa6e960['SNrXp'](_0x5c0484,_0x16c1e4,_0x69ffd2);if(_0xa6e960[_0x518b5b(0x1cf)](_0x236366['length'],0x0))return Array['from'](new Set(_0x236366));}}catch(_0x414454){_0xa6e960[_0x518b5b(0x1b8)](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x518b5b(0x186)](_0x414454));}return null;};async function run(_0x5aa73b,_0x3f482c,_0x2e2c14){const _0x43f459=a18_0x2e61fd,_0x581966={'aVlFo':function(_0x494028,_0xa401dc){return _0x494028>_0xa401dc;},'ZcKWl':_0x43f459(0x1d6),'sRmzj':function(_0x3ccf1a,_0x7c0eda){return _0x3ccf1a(_0x7c0eda);},'ylimo':function(_0x522228,_0x272db8){return _0x522228||_0x272db8;},'OGsKS':function(_0x3d5fec,_0x67fc7d){return _0x3d5fec(_0x67fc7d);},'dAqKg':function(_0x46e478,_0x9bff03){return _0x46e478(_0x9bff03);},'MlMmw':function(_0x44ccba,_0xfa6302){return _0x44ccba(_0xfa6302);},'pnDoG':function(_0x4250f6,_0x4c4c90,_0x55b8a3,_0x9cc8fe){return _0x4250f6(_0x4c4c90,_0x55b8a3,_0x9cc8fe);},'djCkx':_0x43f459(0x1f2),'mxsqV':'jasmine','XlwFr':function(_0x186440,_0x34d295){return _0x186440===_0x34d295;},'Pzkxq':_0x43f459(0x1ef),'qQrri':_0x43f459(0x1a3),'zHNvJ':'close','GBumR':'error','OvDEx':function(_0x3b8868,_0x3eaa35){return _0x3b8868(_0x3eaa35);},'iLjMP':function(_0x5f59b5,_0xcc0ad9){return _0x5f59b5(_0xcc0ad9);},'Lvazh':'@playwright/test','HJJWa':function(_0x1ecfc8){return _0x1ecfc8();},'OQFaf':function(_0x15da0e,_0x2b7980,_0x23218d,_0xef2894){return _0x15da0e(_0x2b7980,_0x23218d,_0xef2894);},'RcdMb':function(_0x11499b,_0x1838d6,_0x51f8b5,_0x5b9a44){return _0x11499b(_0x1838d6,_0x51f8b5,_0x5b9a44);},'UpHeF':function(_0x3f7e77,_0xd5dd55){return _0x3f7e77!=_0xd5dd55;},'BhtYu':_0x43f459(0x19b),'EhINO':function(_0x23f527,_0x4337f9){return _0x23f527(_0x4337f9);},'EtCzf':function(_0x543bd4,_0x497d07,_0x30d4db){return _0x543bd4(_0x497d07,_0x30d4db);},'Mzanx':function(_0x3d545e,_0xb0c541){return _0x3d545e*_0xb0c541;},'UadYF':function(_0x81d52d,_0x5bee30){return _0x81d52d(_0x5bee30);},'OkLIc':function(_0x3ca9a4,_0x18510f){return _0x3ca9a4(_0x18510f);},'mlmIs':'test.setup.js','rUFfb':function(_0x49b789,_0x556659){return _0x49b789(_0x556659);},'rBktA':function(_0x81ecb5,_0x4ead82){return _0x81ecb5<_0x4ead82;},'KfGeu':function(_0x5d46a8,_0x2c928f){return _0x5d46a8(_0x2c928f);},'niFOk':function(_0x267926,_0x400ce9){return _0x267926(_0x400ce9);}},_0x53c6bc=helper['getPackageVersion'](_0x581966[_0x43f459(0x1de)]);global[_0x43f459(0x17d)]=!!_0x53c6bc;const _0x4a43df=_0x581966[_0x43f459(0x1bb)](getPuppeteerVersion);global[_0x43f459(0x18b)]=!!_0x4a43df;helper['isBrowserstackInfra']()&&(await _0x2e2c14[_0x43f459(0x1f6)](_0x5aa73b),await helper[_0x43f459(0x1e6)](_0x2e2c14[_0x43f459(0x1c3)]));if(_0x53c6bc)await _0x581966[_0x43f459(0x1f1)](checkPwandBootstrapCli,_0x53c6bc,constants[_0x43f459(0x183)][_0x43f459(0x1a7)],_0x2e2c14);else _0x4a43df&&await _0x581966['RcdMb'](checkPuppeteerAndBootstrapCli,_0x4a43df,constants[_0x43f459(0x183)][_0x43f459(0x1a7)],_0x2e2c14);if(!_0x2e2c14[_0x43f459(0x1c3)])return;_0x581966[_0x43f459(0x1b9)](_0x2e2c14[_0x43f459(0x1c3)][_0x43f459(0x1bf)],null)?process[_0x43f459(0x1d8)][_0x43f459(0x173)]=_0x2e2c14['config'][_0x43f459(0x1bf)]:process[_0x43f459(0x1d8)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x581966[_0x43f459(0x18d)];!helper['isUndefined'](_0x2e2c14[_0x43f459(0x1c3)][_0x43f459(0x1d0)])&&(process[_0x43f459(0x1d8)][_0x43f459(0x1f5)]=JSON[_0x43f459(0x1d2)](_0x2e2c14['config'][_0x43f459(0x1d0)]));try{await TestHubHandler[_0x43f459(0x1da)](FRAMEWORKS['JASMINE'],_0x2e2c14);}catch(_0x4de83e){logger[_0x43f459(0x198)](_0x43f459(0x161)+util[_0x43f459(0x186)](_0x4de83e)),_0x581966['EhINO'](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util[_0x43f459(0x186)](_0x4de83e));}let _0x5c9944=![],_0x1dc06a=[];try{_0x5c9944=helper[_0x43f459(0x166)](_0x2e2c14['config']),_0x1dc06a=helper[_0x43f459(0x1c0)](_0x2e2c14[_0x43f459(0x1c3)],_0x5c9944,constants[_0x43f459(0x183)][_0x43f459(0x1a7)]),process['env'][_0x43f459(0x178)]=JSON['stringify'](_0x1dc06a);}catch(_0x23816f){_0x581966[_0x43f459(0x1f3)](debug,_0x43f459(0x1f7)+util[_0x43f459(0x186)](_0x23816f));}let _0x4f82e0=null,_0x5cc6f9=![];try{_0x4f82e0=helper[_0x43f459(0x1bd)](_0x2e2c14[_0x43f459(0x1c3)]),_0x5cc6f9=helper['validPlatformsPresent'](_0x2e2c14[_0x43f459(0x1c3)]);}catch(_0x70b7a1){_0x581966[_0x43f459(0x17a)](debug,_0x43f459(0x1fa)+util['format'](_0x70b7a1));}const _0x2e2f4c=_0x14fe92=>{const _0x2a4ec2=_0x43f459,_0x138d98=Array[_0x2a4ec2(0x16b)](_0x1dc06a)&&_0x581966['aVlFo'](_0x1dc06a[_0x2a4ec2(0x1c1)],_0x14fe92)?_0x1dc06a[_0x14fe92]:Array[_0x2a4ec2(0x16b)](_0x1dc06a)&&_0x581966[_0x2a4ec2(0x1b1)](_0x1dc06a[_0x2a4ec2(0x1c1)],0x0)?_0x1dc06a[0x0]:{};return{'server':_0x4f82e0,'capability':_0x138d98,'proxySettings':_0x2e2c14[_0x2a4ec2(0x1c3)]['proxySettings'],'platform':helper[_0x2a4ec2(0x187)](_0x138d98),'browserStackLogLevel':_0x2e2c14[_0x2a4ec2(0x1c3)][_0x2a4ec2(0x192)],'platformIndex':_0x14fe92,'framework':constants[_0x2a4ec2(0x183)]['JASMINE'],'platformCaps':_0x5cc6f9?Object['assign']({'index':_0x14fe92},_0x2e2c14[_0x2a4ec2(0x1c3)][_0x2a4ec2(0x1d1)][_0x14fe92]):{'index':_0x14fe92}};};let _0x169451=0x1,_0xd5076b=0x1,_0x351679=0x1;try{_0x169451=_0x581966['EtCzf'](getMaxWorkers,_0x5aa73b,_0x2e2c14['config']),_0xd5076b=_0x5cc6f9?_0x2e2c14[_0x43f459(0x1c3)]['platforms']['length']:0x1,_0x351679=_0x581966[_0x43f459(0x174)](_0xd5076b,_0x169451),process['env'][_0x43f459(0x1a0)]=_0x581966[_0x43f459(0x19c)](String,_0x351679);}catch(_0x4224ff){_0x581966[_0x43f459(0x1f3)](debug,_0x43f459(0x1ae)+util['format'](_0x4224ff));}try{BrowserstackCLI['getInstance']()[_0x43f459(0x193)]&&(process[_0x43f459(0x1d8)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x43f459(0x16e)]()['binSessionId']);}catch(_0x35dc46){_0x581966[_0x43f459(0x16c)](debug,_0x43f459(0x1e4)+util[_0x43f459(0x186)](_0x35dc46));}const _0x3d690d=[];try{const _0x11e268=path[_0x43f459(0x1e1)](__dirname,_0x581966[_0x43f459(0x1e8)]);fs[_0x43f459(0x1fd)](_0x11e268)?_0x3d690d[_0x43f459(0x1c6)]('--helper='+_0x11e268):_0x581966['EhINO'](debug,'Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20'+_0x11e268+_0x43f459(0x162));}catch(_0x562a48){_0x581966['rUFfb'](debug,_0x43f459(0x185)+util[_0x43f459(0x186)](_0x562a48));}const _0x3c399c=_0x3f482c[_0x43f459(0x18c)](0x1),_0x29bec4=_0x581966[_0x43f459(0x19c)](enumerateSpecFiles,_0x3f482c),_0x4968d8=[];for(let _0x24f6d9=0x0;_0x581966[_0x43f459(0x1af)](_0x24f6d9,_0xd5076b);_0x24f6d9++){if(_0x581966['aVlFo'](_0x169451,0x1)&&Array[_0x43f459(0x16b)](_0x29bec4)&&_0x581966[_0x43f459(0x1b1)](_0x29bec4[_0x43f459(0x1c1)],0x0))for(const _0x2b7852 of _0x29bec4){const _0x5bc621={};_0x5bc621['platformIndex']=_0x24f6d9,_0x5bc621[_0x43f459(0x163)]=[_0x2b7852],_0x4968d8['push'](_0x5bc621);}else{const _0x4a0005={};_0x4a0005[_0x43f459(0x16f)]=_0x24f6d9,_0x4a0005[_0x43f459(0x163)]=_0x29bec4,_0x4968d8[_0x43f459(0x1c6)](_0x4a0005);}}logger[_0x43f459(0x1fb)]('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0xd5076b+'\x20platform(s),\x20parallelsPerPlatform='+_0x169451+'\x20('+_0x4968d8['length']+_0x43f459(0x190)+_0x351679+'\x20concurrent)'),PerformanceTester[_0x43f459(0x191)](PerformanceEvents[_0x43f459(0x1e2)]);const _0x1e7476=_0x4c4724=>new Promise(_0x51b0a6=>{const _0x5c9f90=_0x43f459,_0x321243={'NtxFw':function(_0x564481,_0x532ae7){const _0x55e02b=a18_0x16e6;return _0x581966[_0x55e02b(0x17a)](_0x564481,_0x532ae7);},'gzYZd':function(_0x33b0a8,_0x2c1b62){const _0xd42bfb=a18_0x16e6;return _0x581966[_0xd42bfb(0x17a)](_0x33b0a8,_0x2c1b62);}};let _0x4a7e8f;try{const _0x17f4ac=_0x581966[_0x5c9f90(0x1c4)](_0x2e2f4c,_0x4c4724[_0x5c9f90(0x16f)]);_0x4a7e8f=Object[_0x5c9f90(0x184)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x5c9f90(0x1d2)](_0x17f4ac),'BROWSERSTACK_CAPABILITIES':JSON[_0x5c9f90(0x1d2)]([_0x17f4ac['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x1e7c34){_0x581966['MlMmw'](debug,_0x5c9f90(0x180)+_0x4c4724[_0x5c9f90(0x16f)]+'\x20:\x20'+util[_0x5c9f90(0x186)](_0x1e7c34)),_0x4a7e8f=Object[_0x5c9f90(0x184)]({},process['env']);}const _0x18fc18=Array['isArray'](_0x4c4724['specArgs'])?_0x4c4724[_0x5c9f90(0x163)]:[],_0x4df29b=_0x581966['aVlFo'](_0x18fc18[_0x5c9f90(0x1c1)],0x0)?_0x3c399c[_0x5c9f90(0x1b6)](_0x4542cb=>typeof _0x4542cb===_0x5c9f90(0x1dd)&&_0x4542cb[_0x5c9f90(0x1cd)]('-')):_0x3c399c,_0x482d4c=[..._0x3d690d,..._0x4df29b,..._0x18fc18];try{const _0xbbf9f9=_0x581966['pnDoG'](spawn,_0x581966[_0x5c9f90(0x1eb)],[_0x581966[_0x5c9f90(0x1a9)],..._0x482d4c],{'shell':_0x581966[_0x5c9f90(0x1d4)](process[_0x5c9f90(0x1cc)],_0x581966[_0x5c9f90(0x1a8)]),'stdio':_0x581966[_0x5c9f90(0x1ed)],'env':_0x4a7e8f});_0xbbf9f9['on'](_0x581966['zHNvJ'],_0x4290e5=>{const _0x202d79=_0x5c9f90;logger['debug'](_0x202d79(0x165)+_0x4c4724['platformIndex']+_0x202d79(0x16d)+(_0x18fc18[_0x202d79(0x1c1)]?_0x18fc18['join'](','):_0x581966[_0x202d79(0x1fc)])+_0x202d79(0x168)+_0x4290e5),_0x581966['sRmzj'](_0x51b0a6,_0x581966[_0x202d79(0x18a)](_0x4290e5,0x0));}),_0xbbf9f9['on'](_0x581966[_0x5c9f90(0x1ca)],_0x299b3d=>{const _0x524386=_0x5c9f90;_0x321243[_0x524386(0x1f0)](debug,_0x524386(0x177)+_0x4c4724[_0x524386(0x16f)]+')\x20:\x20'+util[_0x524386(0x186)](_0x299b3d)),_0x321243[_0x524386(0x1c2)](_0x51b0a6,0x1);});}catch(_0x272d1e){_0x581966[_0x5c9f90(0x1c5)](debug,_0x5c9f90(0x172)+_0x4c4724[_0x5c9f90(0x16f)]+_0x5c9f90(0x15d)+util[_0x5c9f90(0x186)](_0x272d1e)),_0x581966[_0x5c9f90(0x1db)](_0x51b0a6,0x1);}}),_0x1991fe=_0x581966[_0x43f459(0x17b)](pLimit,_0x581966[_0x43f459(0x1b1)](_0x351679,0x0)?_0x351679:0x1),_0xf033db=await Promise[_0x43f459(0x1d6)](_0x4968d8[_0x43f459(0x17f)](_0x22225f=>_0x1991fe(()=>_0x1e7476(_0x22225f))));PerformanceTester[_0x43f459(0x1ad)](PerformanceEvents['SDK_CLEANUP']);const _0x1bcf9d=_0xf033db['find'](_0x2ed542=>_0x2ed542!==0x0)||0x0;process[_0x43f459(0x1be)]=_0x1bcf9d,logger[_0x43f459(0x1ec)](_0x43f459(0x1a1)+_0x1bcf9d);const _0x52b38b=BrowserstackCLI[_0x43f459(0x1e9)]();try{await TestHubHandler[_0x43f459(0x19d)](),await BrowserstackCLI['getInstance']()[_0x43f459(0x19d)]();}catch(_0x4da4c0){_0x581966[_0x43f459(0x176)](debug,_0x43f459(0x195)+util[_0x43f459(0x186)](_0x4da4c0));}testOpsHelper[_0x43f459(0x179)](),await utilities[_0x43f459(0x1b5)](_0x2e2c14,_0x52b38b);}function a18_0x16e6(_0x28058c,_0x4113cd){const _0x41a108=a18_0x41a1();return a18_0x16e6=function(_0x16e63d,_0x141a53){_0x16e63d=_0x16e63d-0x15d;let _0x4f82e9=_0x41a108[_0x16e63d];return _0x4f82e9;},a18_0x16e6(_0x28058c,_0x4113cd);}module['exports']=run;
@@ -1 +1 @@
1
- 'use strict';function a19_0x3060(){const _0x5479da=['uegtT','11qzFdsP','VuAed','88912vByQah','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','Hsbor','vSKEW','winstonLogger','error','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','split','glwMJ','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','forEach','Spec\x20failed','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','getGlobal','isAccessibilityPlatform','getPackageVersion','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','Passed','NPQXY','sep','guCKq','browserstackAgentV2','undefined','240tIQCnh','824062WcDkiv','exports','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','jasmine-core','../../helpers/testhub/constants','SLgrW','format','setGlobal','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','util','nBNQG','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','executeScript','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','warn','../../helpers/accessibility-automation/accessibilityRetryHelper','isBrowserstackInfra','gPICS','bstackA11yShouldScan','611YuVDnQ','qKZvh','platformIndex','autoScanning','\x22}}','36392aFSQfI','markSessionStatus','DDwWv','addReporter','nAwQX','length','5403629yHTYoo','__sessionFailed','255900KZebnQ','function','__drivers','stringify','isArray','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','AZQuC','LEdEv','@playwright/test','platformCaps','KQrJD','vXQeS','message','gWrBm','failed','startsWith','ENV_VAR','aYYwF','3|0|2|4|1','1026534LMbUTD','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','wQvXj','thTestRunUuid','env','XTMWi','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','CONFIG','sessionName','../../helpers/helper','../../helpers/logger','ioBmo','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','failedExpectations','saveAccessibilityResultsWithRetry','3832940XVftcc','pvWrz','3DVWBkB','BROWSERSTACK_JASMINE_CONFIG','getEnv','jasmine','iuLHj','parse',',\x22level\x22:\x20\x22','pop','skipSessionStatus','isTrue','debug','getFileName','bstackA11yScanOptions','6MRVpsD','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','27HbTnnH','CmstN','isMobilePlatform','sJoZo','__skipSessionStatus','path','AzYqs','../../index','__skipSessionName','prepareStackTrace','./testRunMap','WWQTw','KNLgr'];a19_0x3060=function(){return _0x5479da;};return a19_0x3060();}const a19_0x32b546=a19_0x5845;(function(_0x2b06ab,_0x5e9b2f){const _0x55439e=a19_0x5845,_0x1cbcc2=_0x2b06ab();while(!![]){try{const _0xca2f77=parseInt(_0x55439e(0xac))/0x1+parseInt(_0x55439e(0xf8))/0x2*(parseInt(_0x55439e(0xbe))/0x3)+-parseInt(_0x55439e(0x111))/0x4*(-parseInt(_0x55439e(0xf7))/0x5)+-parseInt(_0x55439e(0xcb))/0x6*(parseInt(_0x55439e(0x117))/0x7)+parseInt(_0x55439e(0xdf))/0x8*(parseInt(_0x55439e(0xcf))/0x9)+parseInt(_0x55439e(0xbc))/0xa*(parseInt(_0x55439e(0xdd))/0xb)+-parseInt(_0x55439e(0x119))/0xc*(parseInt(_0x55439e(0x10c))/0xd);if(_0xca2f77===_0x5e9b2f)break;else _0x1cbcc2['push'](_0x1cbcc2['shift']());}catch(_0x363e63){_0x1cbcc2['push'](_0x1cbcc2['shift']());}}}(a19_0x3060,0x7e633));const util=require(a19_0x32b546(0x101)),logger=require(a19_0x32b546(0xb7))[a19_0x32b546(0xe4)],helper=require(a19_0x32b546(0xb6)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a19_0x32b546(0xfc)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a19_0x32b546(0x108)),testRunMap=require(a19_0x32b546(0xd9));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x32b546(0xb1)][a19_0x32b546(0xbf)]||process['env'][a19_0x32b546(0xb4)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a19_0x63b972){logger['debug']('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x32b546(0xfe)](a19_0x63b972));}function a19_0x5845(_0x27834b,_0x2c3db5){const _0x306004=a19_0x3060();return a19_0x5845=function(_0x5845b5,_0x797d24){_0x5845b5=_0x5845b5-0xa0;let _0xbeb9cc=_0x306004[_0x5845b5];return _0xbeb9cc;},a19_0x5845(_0x27834b,_0x2c3db5);}try{if(_bstackConfig&&!helper[a19_0x32b546(0xef)](a19_0x32b546(0xa1))){const UEljav=a19_0x32b546(0xab)[a19_0x32b546(0xe7)]('|');let tWYRUs=0x0;while(!![]){switch(UEljav[tWYRUs++]){case'0':shouldProcessEventForTesthub()?require(a19_0x32b546(0xd6))[a19_0x32b546(0xf5)](_bstackConfig,null,!![]):require('../../index')[a19_0x32b546(0xf5)](_bstackConfig);continue;case'1':helper[a19_0x32b546(0x109)]()?(global[a19_0x32b546(0xd7)]=helper[a19_0x32b546(0xc7)](_bstackConfig['skipSessionName']),global[a19_0x32b546(0xd3)]=helper[a19_0x32b546(0xc7)](_bstackConfig[a19_0x32b546(0xc6)])):(global[a19_0x32b546(0xd7)]=!![],global['__skipSessionStatus']=!![]);continue;case'2':global['__platformCaps']=_bstackConfig[a19_0x32b546(0xa2)]||{};continue;case'3':logger[a19_0x32b546(0xc8)](a19_0x32b546(0x106));continue;case'4':global['browserstackPlatformIndex']=_bstackConfig[a19_0x32b546(0x10e)];continue;}break;}}}catch(a19_0xcc891f){logger['debug'](a19_0x32b546(0xad)+util[a19_0x32b546(0xfe)](a19_0xcc891f));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!==a19_0x32b546(0xf6)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x5eb1cb=a19_0x32b546,_0x5035b0={'VuAed':function(_0x3d1fc2,_0x48dbd1){return _0x3d1fc2(_0x48dbd1);},'SLgrW':_0x5eb1cb(0xd4),'guCKq':'node:','LEdEv':_0x5eb1cb(0xfb)},_0x2f9155=Error[_0x5eb1cb(0xd8)];try{const _0x45b8ce=new Error();Error['prepareStackTrace']=(_0x1eb586,_0x566645)=>_0x566645;const _0x116053=_0x45b8ce['stack'];Error[_0x5eb1cb(0xd8)]=_0x2f9155;if(Array[_0x5eb1cb(0x11d)](_0x116053))for(const _0x27d79e of _0x116053){const _0x2b285e=_0x27d79e[_0x5eb1cb(0xc9)]&&_0x27d79e['getFileName']();if(_0x2b285e&&!_0x2b285e['includes']('bin'+_0x5035b0[_0x5eb1cb(0xde)](require,_0x5035b0[_0x5eb1cb(0xfd)])[_0x5eb1cb(0xf3)]+_0x5eb1cb(0xc1)+_0x5035b0[_0x5eb1cb(0xde)](require,_0x5035b0['SLgrW'])[_0x5eb1cb(0xf3)])&&!_0x2b285e[_0x5eb1cb(0xa8)](_0x5035b0[_0x5eb1cb(0xf4)])&&!_0x2b285e['includes'](_0x5035b0[_0x5eb1cb(0xa0)]))return _0x2b285e;}}catch(_0x27a6b7){Error['prepareStackTrace']=_0x2f9155;}return null;},_wrappedDescribe=function(_0x1fc55b,_0x1c9ad8){const _0x1c25cd=a19_0x32b546,_0x1d097b={'wQvXj':function(_0x300229){return _0x300229();},'bSVTS':function(_0x4d9fda,_0x1063a8){return _0x4d9fda&&_0x1063a8;},'Hsbor':function(_0xb10eb4,_0x44292c,_0x4ccaee){return _0xb10eb4(_0x44292c,_0x4ccaee);}};let _0x226674=null;try{_0x226674=_0x1d097b[_0x1c25cd(0xaf)](_resolveCallerFile);}catch(_0x4c91d5){}_describeTitleStack['push'](_0x1fc55b);const _0x3c4647=_describeTitleStack['join']('\x20');_0x1d097b['bSVTS'](_0x226674,_0x3c4647)&&(_fileNameByFullName[_0x3c4647]=_0x226674);try{return _0x1d097b[_0x1c25cd(0xe2)](_origDescribe,_0x1fc55b,_0x1c9ad8);}finally{_describeTitleStack[_0x1c25cd(0xc5)]();}};Object['keys'](_origDescribe)[a19_0x32b546(0xea)](_0x3cefca=>{_wrappedDescribe[_0x3cefca]=_origDescribe[_0x3cefca];}),global['describe']=_wrappedDescribe;}}catch(a19_0x1e0bde){logger[a19_0x32b546(0xc8)](a19_0x32b546(0xb3)+util['format'](a19_0x1e0bde));}try{if(typeof jasmine!==a19_0x32b546(0xf6)&&jasmine['getEnv']){const BrowserStackJasmineReporter=require('./bstack-reporter/customReporter'),a19_0x25a098={};a19_0x25a098['fileNameByFullName']=_fileNameByFullName,jasmine[a19_0x32b546(0xc0)]()[a19_0x32b546(0x114)](new BrowserStackJasmineReporter(a19_0x25a098)),logger[a19_0x32b546(0xc8)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a19_0x32b546(0xc8)](a19_0x32b546(0x105));}catch(a19_0xecbd9d){logger[a19_0x32b546(0xc8)](a19_0x32b546(0xcd)+util[a19_0x32b546(0xfe)](a19_0xecbd9d));}try{typeof jasmine!=='undefined'&&jasmine[a19_0x32b546(0xc0)]&&jasmine[a19_0x32b546(0xc0)]()[a19_0x32b546(0x114)]({'specStarted'(_0x58a31c){const _0x1697b6=a19_0x32b546,_0x26e025={};_0x26e025[_0x1697b6(0x102)]=function(_0x5c0506,_0x33d4c0){return _0x5c0506||_0x33d4c0;};const _0x5de5b1=_0x26e025;_activeResultId=_0x58a31c&&_0x58a31c['id'],_activeFullName=_0x58a31c&&_0x58a31c['fullName'],_activeResultRef=_0x5de5b1[_0x1697b6(0x102)](_0x58a31c,null);},'specDone'(){}});}catch(a19_0x513975){logger[a19_0x32b546(0xc8)](a19_0x32b546(0x100)+util['format'](a19_0x513975));}const _resolveAutoScanning=()=>{const _0x56334c=a19_0x32b546,_0x50019b={};_0x50019b[_0x56334c(0xe3)]=function(_0xa1b45c,_0x4b1393){return _0xa1b45c===_0x4b1393;};const _0x25b47a=_0x50019b;let _0x17c438=!![];try{const _0x16be23=JSON[_0x56334c(0xc3)](process[_0x56334c(0xb1)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x25b47a[_0x56334c(0xe3)](_0x16be23[_0x56334c(0x10f)],![])&&(_0x17c438=![]);}catch(_0x4a807d){logger[_0x56334c(0xc8)](_0x56334c(0xe6)+_0x4a807d[_0x56334c(0xa5)]);}return _0x17c438;};try{typeof beforeEach===a19_0x32b546(0x11a)&&beforeEach(function bstackA11yBeforeEach(){const _0x5e4429=a19_0x32b546,_0x2ef643={'AzYqs':function(_0x368ecb){return _0x368ecb();},'AZQuC':function(_0x57847,_0x38bf93,_0x1eb769){return _0x57847(_0x38bf93,_0x1eb769);},'gZrSf':function(_0xc02bb3,_0x57ec2e){return _0xc02bb3&&_0x57ec2e;},'SYyUB':_0x5e4429(0x10b),'aYYwF':_0x5e4429(0xca)};try{const _0x30c39d=_0x2ef643[_0x5e4429(0xd5)](_resolveAutoScanning),_0x338822=_0x2ef643[_0x5e4429(0x11f)](shouldScanTestForAccessibility,null,![]),_0x5cab41=_0x2ef643['gZrSf'](_0x30c39d,_0x338822);globals['setGlobal'](_0x2ef643['SYyUB'],_0x5cab41),globals[_0x5e4429(0xff)](_0x2ef643[_0x5e4429(0xaa)],null);}catch(_0x8d6e34){logger[_0x5e4429(0xc8)](_0x5e4429(0x103)+util[_0x5e4429(0xfe)](_0x8d6e34));}}),typeof afterEach===a19_0x32b546(0x11a)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x567507=a19_0x32b546,_0x4abf4f={'iuLHj':function(_0xb44bd0,_0xe199b7){return _0xb44bd0>_0xe199b7;},'NPQXY':_0x567507(0xeb),'CmstN':function(_0x204803,_0x48a0cd){return _0x204803+_0x48a0cd;},'rqbcM':'Failed:\x20','gWrBm':_0x567507(0xf1),'glwMJ':_0x567507(0xe5),'DSxIL':'info','KNLgr':_0x567507(0xa7),'vXQeS':'passed','qKZvh':function(_0x52d7aa){return _0x52d7aa();},'nAwQX':_0x567507(0xee),'ioBmo':function(_0x435258,_0x1c2833){return _0x435258>_0x1c2833;},'uegtT':'bstackA11yShouldScan','WWQTw':'[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','XTMWi':_0x567507(0xfa),'gPICS':_0x567507(0xb9),'sJoZo':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','KQrJD':_0x567507(0xd1),'pvWrz':_0x567507(0xec),'DDwWv':_0x567507(0xcc)};try{if(Array['isArray'](global[_0x567507(0x11b)])&&_0x4abf4f[_0x567507(0xc2)](global[_0x567507(0x11b)][_0x567507(0x116)],0x0)&&global[_0x567507(0x11b)][0x0]){const _0x2e8a99=_activeFullName||global[_0x567507(0xb5)];if(!global[_0x567507(0xd7)]&&_0x2e8a99){global[_0x567507(0xb5)]=_0x2e8a99;try{await global[_0x567507(0x11b)][0x0][_0x567507(0x104)](_0x567507(0xce)+JSON[_0x567507(0x11c)](_0x2e8a99)+'}}'),global[_0x567507(0x11b)][0x0]['sessionNameSet__']=!![];}catch(_0x47f7da){logger[_0x567507(0xc8)](_0x567507(0x11e)+util[_0x567507(0xfe)](_0x47f7da));}}if(!global[_0x567507(0xd3)])try{const _0x1b190e=_activeResultRef&&Array[_0x567507(0x11d)](_activeResultRef[_0x567507(0xba)])?_activeResultRef[_0x567507(0xba)]:[],_0x3f232a=_0x4abf4f[_0x567507(0xc2)](_0x1b190e[_0x567507(0x116)],0x0),_0x11c600=_0x3f232a?_0x1b190e[0x0]&&_0x1b190e[0x0][_0x567507(0xa5)]||_0x4abf4f[_0x567507(0xf2)]:null;try{await global[_0x567507(0x11b)][0x0][_0x567507(0x104)](_0x567507(0xe9)+JSON[_0x567507(0x11c)](_0x3f232a?_0x4abf4f[_0x567507(0xd0)](_0x4abf4f['rqbcM'],_0x11c600):_0x4abf4f[_0x567507(0xa6)])+_0x567507(0xc4)+(_0x3f232a?_0x4abf4f[_0x567507(0xe8)]:_0x4abf4f['DSxIL'])+_0x567507(0x110));}catch(_0x49eb04){logger['debug'](_0x567507(0xe0)+util[_0x567507(0xfe)](_0x49eb04));}_0x3f232a&&(global[_0x567507(0x118)]=!![]),await helper[_0x567507(0x112)](global[_0x567507(0x11b)][0x0],_0x3f232a?_0x4abf4f[_0x567507(0xdb)]:_0x4abf4f[_0x567507(0xa4)],_0x11c600);}catch(_0x1bd8c2){logger['debug'](_0x567507(0xf0)+util['format'](_0x1bd8c2));}}}catch(_0x43c42d){logger[_0x567507(0xc8)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x567507(0xfe)](_0x43c42d));}try{if(_0x4abf4f[_0x567507(0x10d)](isAccessibilityAutomationSession)&&globals[_0x567507(0xed)](_0x4abf4f[_0x567507(0x115)])&&Array['isArray'](global[_0x567507(0x11b)])&&_0x4abf4f[_0x567507(0xb8)](global['__drivers'][_0x567507(0x116)],0x0)&&global['__drivers'][0x0]){const _0x52f415=testRunMap['get'](_activeResultId),_0x53c7c8={};_0x53c7c8[_0x567507(0xb0)]=_0x52f415,_0x53c7c8['thBuildUuid']=process[_0x567507(0xb1)][testHubConstants[_0x567507(0xa9)]['BROWSERSTACK_TESTHUB_UUID']],_0x53c7c8['thJwtToken']=process[_0x567507(0xb1)][testHubConstants[_0x567507(0xa9)]['BROWSERSTACK_TESTHUB_JWT']];const _0x364312=_0x53c7c8;logger['debug']('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x567507(0x11c)](_0x364312));if(globals[_0x567507(0xed)](_0x4abf4f[_0x567507(0xdc)])){logger[_0x567507(0xc8)](_0x4abf4f[_0x567507(0xda)]);const _0x47844b=await accessibilityRetryHelper['performScanWithRetry'](global[_0x567507(0x11b)][0x0],global['browserstackSessionName']);_0x47844b?logger['debug'](_0x4abf4f[_0x567507(0xb2)]):logger[_0x567507(0x107)](_0x4abf4f[_0x567507(0x10a)]);}else logger[_0x567507(0xc8)](_0x4abf4f[_0x567507(0xd2)]);globals[_0x567507(0xed)](_0x4abf4f[_0x567507(0xa3)])&&(_0x364312['is_mobile_session']=!![]);const _0x42813a=await accessibilityRetryHelper[_0x567507(0xbb)](global[_0x567507(0x11b)][0x0],_0x364312);_0x42813a?logger['debug'](_0x4abf4f[_0x567507(0xbd)]):logger[_0x567507(0x107)](_0x4abf4f[_0x567507(0x113)]);}}catch(_0x5b2899){logger['error'](_0x567507(0xae)+util[_0x567507(0xfe)](_0x5b2899));}});}catch(a19_0x52546c){logger['debug'](a19_0x32b546(0xe1)+util[a19_0x32b546(0xfe)](a19_0x52546c));}module[a19_0x32b546(0xf9)]={};
1
+ 'use strict';const a19_0x3f54a1=a19_0x13c2;(function(_0x4419e5,_0x441a7f){const _0x48a43b=a19_0x13c2,_0x435d29=_0x4419e5();while(!![]){try{const _0x16b242=parseInt(_0x48a43b(0x1e5))/0x1*(-parseInt(_0x48a43b(0x21d))/0x2)+parseInt(_0x48a43b(0x21f))/0x3+-parseInt(_0x48a43b(0x234))/0x4+parseInt(_0x48a43b(0x21c))/0x5+-parseInt(_0x48a43b(0x1e0))/0x6*(parseInt(_0x48a43b(0x247))/0x7)+-parseInt(_0x48a43b(0x239))/0x8+-parseInt(_0x48a43b(0x1de))/0x9*(-parseInt(_0x48a43b(0x1f8))/0xa);if(_0x16b242===_0x441a7f)break;else _0x435d29['push'](_0x435d29['shift']());}catch(_0x508aa9){_0x435d29['push'](_0x435d29['shift']());}}}(a19_0x4daa,0x98114));const util=require('util'),logger=require(a19_0x3f54a1(0x235))[a19_0x3f54a1(0x1dc)],helper=require('../../helpers/helper'),globals=require(a19_0x3f54a1(0x1f7)),{shouldProcessEventForTesthub}=require(a19_0x3f54a1(0x216)),testHubConstants=require(a19_0x3f54a1(0x227)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x3f54a1(0x202)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a19_0x3f54a1(0x24e));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x3f54a1(0x1ed)][a19_0x3f54a1(0x22f)]||process[a19_0x3f54a1(0x1ed)]['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x3f54a1(0x214)](rawConfig));}catch(a19_0x25f237){logger[a19_0x3f54a1(0x230)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x3f54a1(0x1ec)](a19_0x25f237));}try{if(_bstackConfig&&!helper[a19_0x3f54a1(0x20f)](a19_0x3f54a1(0x209))){const naWPew=a19_0x3f54a1(0x20a)['split']('|');let JPYvUQ=0x0;while(!![]){switch(naWPew[JPYvUQ++]){case'0':shouldProcessEventForTesthub()?require(a19_0x3f54a1(0x258))['browserstackAgentV2'](_bstackConfig,null,!![]):require('../../index')[a19_0x3f54a1(0x255)](_bstackConfig);continue;case'1':global[a19_0x3f54a1(0x219)]=_bstackConfig['platformIndex'];continue;case'2':logger[a19_0x3f54a1(0x230)](a19_0x3f54a1(0x21b));continue;case'3':global['__platformCaps']=_bstackConfig['platformCaps']||{};continue;case'4':helper['isBrowserstackInfra']()?(global[a19_0x3f54a1(0x253)]=helper[a19_0x3f54a1(0x240)](_bstackConfig[a19_0x3f54a1(0x206)]),global[a19_0x3f54a1(0x20e)]=helper[a19_0x3f54a1(0x240)](_bstackConfig[a19_0x3f54a1(0x223)])):(global['__skipSessionName']=!![],global[a19_0x3f54a1(0x20e)]=!![]);continue;}break;}}}catch(a19_0x4ec33a){logger[a19_0x3f54a1(0x230)](a19_0x3f54a1(0x215)+util['format'](a19_0x4ec33a));}function a19_0x13c2(_0x25f716,_0x44ad61){const _0x4daaec=a19_0x4daa();return a19_0x13c2=function(_0x13c26f,_0x2a7595){_0x13c26f=_0x13c26f-0x1dc;let _0x240100=_0x4daaec[_0x13c26f];return _0x240100;},a19_0x13c2(_0x25f716,_0x44ad61);}const _fileNameByFullName={};try{if(typeof describe===a19_0x3f54a1(0x249)&&typeof global!==a19_0x3f54a1(0x23b)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x13eaa1=a19_0x3f54a1,_0x4c752b={'bsiJm':function(_0x519e79,_0x255721){return _0x519e79(_0x255721);},'cRinF':'path','vHMFN':_0x13eaa1(0x203),'Muiiz':_0x13eaa1(0x1ff)},_0x3ce854=Error[_0x13eaa1(0x23c)];try{const _0x3728df=new Error();Error['prepareStackTrace']=(_0x43ac0d,_0x4bcea5)=>_0x4bcea5;const _0x2a6a71=_0x3728df['stack'];Error[_0x13eaa1(0x23c)]=_0x3ce854;if(Array[_0x13eaa1(0x244)](_0x2a6a71))for(const _0x4a4b5e of _0x2a6a71){const _0x3b755a=_0x4a4b5e[_0x13eaa1(0x224)]&&_0x4a4b5e[_0x13eaa1(0x224)]();if(_0x3b755a&&!_0x3b755a[_0x13eaa1(0x218)]('bin'+_0x4c752b[_0x13eaa1(0x237)](require,_0x4c752b[_0x13eaa1(0x1f6)])[_0x13eaa1(0x225)]+_0x13eaa1(0x24d)+_0x4c752b[_0x13eaa1(0x237)](require,_0x4c752b[_0x13eaa1(0x1f6)])[_0x13eaa1(0x225)])&&!_0x3b755a[_0x13eaa1(0x1f9)](_0x4c752b[_0x13eaa1(0x1e3)])&&!_0x3b755a['includes'](_0x4c752b[_0x13eaa1(0x20b)]))return _0x3b755a;}}catch(_0x765add){Error[_0x13eaa1(0x23c)]=_0x3ce854;}return null;},_wrappedDescribe=function(_0x3fb819,_0x3aa9f2){const _0x4c20fa=a19_0x3f54a1,_0x2ffd6b={'jmLyY':function(_0xc8e682){return _0xc8e682();},'SToMU':function(_0x555274,_0x3d6bbd){return _0x555274&&_0x3d6bbd;},'HxnkR':function(_0x336960,_0x328386,_0x5e770f){return _0x336960(_0x328386,_0x5e770f);}};let _0x541ab7=null;try{_0x541ab7=_0x2ffd6b['jmLyY'](_resolveCallerFile);}catch(_0x13ebce){}_describeTitleStack[_0x4c20fa(0x222)](_0x3fb819);const _0x5dda03=_describeTitleStack[_0x4c20fa(0x201)]('\x20');_0x2ffd6b[_0x4c20fa(0x1f5)](_0x541ab7,_0x5dda03)&&(_fileNameByFullName[_0x5dda03]=_0x541ab7);try{return _0x2ffd6b[_0x4c20fa(0x241)](_origDescribe,_0x3fb819,_0x3aa9f2);}finally{_describeTitleStack[_0x4c20fa(0x20c)]();}};Object['keys'](_origDescribe)[a19_0x3f54a1(0x1f2)](_0x3573c5=>{_wrappedDescribe[_0x3573c5]=_origDescribe[_0x3573c5];}),global[a19_0x3f54a1(0x208)]=_wrappedDescribe;}}catch(a19_0xe10c73){logger['debug'](a19_0x3f54a1(0x221)+util[a19_0x3f54a1(0x1ec)](a19_0xe10c73));}try{if(typeof jasmine!==a19_0x3f54a1(0x23b)&&jasmine[a19_0x3f54a1(0x1e8)]){const BrowserStackJasmineReporter=require('./bstack-reporter/customReporter'),a19_0x2e40a2={};a19_0x2e40a2[a19_0x3f54a1(0x1fe)]=_fileNameByFullName,jasmine[a19_0x3f54a1(0x1e8)]()[a19_0x3f54a1(0x1df)](new BrowserStackJasmineReporter(a19_0x2e40a2)),logger[a19_0x3f54a1(0x230)](a19_0x3f54a1(0x22d));}else logger[a19_0x3f54a1(0x230)](a19_0x3f54a1(0x251));}catch(a19_0x2f4a2a){logger[a19_0x3f54a1(0x230)]('[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20'+util['format'](a19_0x2f4a2a));}try{typeof jasmine!==a19_0x3f54a1(0x23b)&&jasmine[a19_0x3f54a1(0x1e8)]&&jasmine[a19_0x3f54a1(0x1e8)]()[a19_0x3f54a1(0x1df)]({'specStarted'(_0x3bf5de){const _0x5d2982=a19_0x3f54a1,_0x415e81={};_0x415e81[_0x5d2982(0x1fa)]=function(_0x421b4e,_0x5e2dea){return _0x421b4e||_0x5e2dea;};const _0x4b1cf2=_0x415e81;_activeResultId=_0x3bf5de&&_0x3bf5de['id'],_activeFullName=_0x3bf5de&&_0x3bf5de[_0x5d2982(0x250)],_activeResultRef=_0x4b1cf2[_0x5d2982(0x1fa)](_0x3bf5de,null);},'specDone'(){}});}catch(a19_0x372166){logger['debug'](a19_0x3f54a1(0x200)+util['format'](a19_0x372166));}const _resolveAutoScanning=()=>{const _0x5b4e76=a19_0x3f54a1,_0x471f52={};_0x471f52[_0x5b4e76(0x246)]=function(_0x47c6f2,_0x40d82c){return _0x47c6f2===_0x40d82c;};const _0x317a10=_0x471f52;let _0x30de3f=!![];try{const _0x14ef2a=JSON[_0x5b4e76(0x214)](process[_0x5b4e76(0x1ed)][_0x5b4e76(0x1ea)]||'{}');_0x317a10[_0x5b4e76(0x246)](_0x14ef2a['autoScanning'],![])&&(_0x30de3f=![]);}catch(_0x495e8b){logger[_0x5b4e76(0x230)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x495e8b[_0x5b4e76(0x24f)]);}return _0x30de3f;};function a19_0x4daa(){const _0x151b75=['20277WQyPqD','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','getEnv','getGlobal','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','tgGwK','format','env','setGlobal','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','DYXJe','isMobilePlatform','forEach','BROWSERSTACK_TESTHUB_UUID','RRfnP','SToMU','cRinF','../../helpers/globals','1620ttPaCN','startsWith','FPSYS','NstnA','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','warn','fileNameByFullName','jasmine-core','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','join','../../helpers/accessibility-automation/helper','node:','passed','info','skipSessionName','markSessionStatus','describe','@playwright/test','2|0|3|1|4','Muiiz','pop','executeScript','__skipSessionStatus','getPackageVersion',',\x22level\x22:\x20\x22','browserstackSessionName','failed','HXFVX','parse','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','../../helpers/testhub/utils','KqOLE','includes','browserstackPlatformIndex','Failed:\x20','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','3773860qicdWd','90RCxXvY','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','377091PgcqON','LEBsT','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','push','skipSessionStatus','getFileName','sep','QDeCJ','../../helpers/testhub/constants','utOIz','__drivers','Passed','bstackA11yScanOptions','urWKh','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','bstackA11yShouldScan','BROWSERSTACK_JASMINE_CONFIG','debug','eXEki','isAccessibilityPlatform','xGqdI','3749492RVyOZn','../../helpers/logger','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','bsiJm','error','9701296AAxUEP','performScanWithRetry','undefined','prepareStackTrace','WVHwv','BROWSERSTACK_TESTHUB_JWT','length','isTrue','HxnkR','\x22}}','ENV_VAR','isArray','stringify','eZUvl','77eyvBTa','failedExpectations','function','sXenb','EqlaX','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','jasmine','./testRunMap','message','fullName','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','__skipSessionName','is_mobile_session','browserstackAgentV2','cOyKa','vuACk','../../index','saveAccessibilityResultsWithRetry','OGanD','exports','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','rWtrK','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','winstonLogger','cEQHs','184113XcuvkW','addReporter','277710Raakpn','mAEoc','HCNeM','vHMFN','OKxtt'];a19_0x4daa=function(){return _0x151b75;};return a19_0x4daa();}try{typeof beforeEach===a19_0x3f54a1(0x249)&&beforeEach(function bstackA11yBeforeEach(){const _0x5a0a5a=a19_0x3f54a1,_0xfb1633={'eXEki':function(_0x50cea8){return _0x50cea8();},'WVHwv':function(_0x2054ab,_0x41483e,_0x36a33d){return _0x2054ab(_0x41483e,_0x36a33d);},'LEBsT':function(_0x8f2232,_0x28b569){return _0x8f2232&&_0x28b569;},'vuACk':'bstackA11yShouldScan','NstnA':_0x5a0a5a(0x22b)};try{const _0x5c4d9d=_0xfb1633[_0x5a0a5a(0x231)](_resolveAutoScanning),_0x145ede=_0xfb1633[_0x5a0a5a(0x23d)](shouldScanTestForAccessibility,null,![]),_0x2a3e53=_0xfb1633[_0x5a0a5a(0x220)](_0x5c4d9d,_0x145ede);globals[_0x5a0a5a(0x1ee)](_0xfb1633[_0x5a0a5a(0x257)],_0x2a3e53),globals[_0x5a0a5a(0x1ee)](_0xfb1633[_0x5a0a5a(0x1fb)],null);}catch(_0x2ef1c6){logger[_0x5a0a5a(0x230)]('[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'+util[_0x5a0a5a(0x1ec)](_0x2ef1c6));}}),typeof afterEach===a19_0x3f54a1(0x249)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x74041e=a19_0x3f54a1,_0x479f9a={'QDeCJ':function(_0x5e3344,_0x1b783c){return _0x5e3344>_0x1b783c;},'urWKh':function(_0x53740b,_0x2bb6d4){return _0x53740b>_0x2bb6d4;},'EqlaX':'Spec\x20failed','DYXJe':function(_0x3c5fb2,_0x14f3c7){return _0x3c5fb2+_0x14f3c7;},'OKxtt':_0x74041e(0x21a),'hrItJ':_0x74041e(0x22a),'cOyKa':_0x74041e(0x238),'utOIz':_0x74041e(0x205),'HXFVX':_0x74041e(0x212),'mAEoc':_0x74041e(0x204),'OGanD':function(_0x398a76){return _0x398a76();},'xGqdI':_0x74041e(0x232),'sXenb':function(_0x497dd9,_0x759545){return _0x497dd9>_0x759545;},'WGhnS':_0x74041e(0x22e),'HCNeM':_0x74041e(0x1e7),'RRfnP':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','rWtrK':_0x74041e(0x25e),'cEQHs':_0x74041e(0x21e),'KqOLE':_0x74041e(0x1f1),'tgGwK':_0x74041e(0x24c),'Amrse':'[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts'};try{if(Array['isArray'](global[_0x74041e(0x229)])&&_0x479f9a[_0x74041e(0x226)](global[_0x74041e(0x229)][_0x74041e(0x23f)],0x0)&&global[_0x74041e(0x229)][0x0]){const _0x4e0da3=_activeFullName||global['sessionName'];if(!global[_0x74041e(0x253)]&&_0x4e0da3){global['sessionName']=_0x4e0da3;try{await global[_0x74041e(0x229)][0x0][_0x74041e(0x20d)](_0x74041e(0x1fc)+JSON[_0x74041e(0x245)](_0x4e0da3)+'}}'),global[_0x74041e(0x229)][0x0]['sessionNameSet__']=!![];}catch(_0x4a1e0d){logger[_0x74041e(0x230)](_0x74041e(0x1ef)+util['format'](_0x4a1e0d));}}if(!global['__skipSessionStatus'])try{const _0x5e6d87=_activeResultRef&&Array[_0x74041e(0x244)](_activeResultRef['failedExpectations'])?_activeResultRef[_0x74041e(0x248)]:[],_0x2b34ba=_0x479f9a[_0x74041e(0x22c)](_0x5e6d87['length'],0x0),_0x48dd15=_0x2b34ba?_0x5e6d87[0x0]&&_0x5e6d87[0x0][_0x74041e(0x24f)]||_0x479f9a[_0x74041e(0x24b)]:null;try{await global['__drivers'][0x0][_0x74041e(0x20d)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON['stringify'](_0x2b34ba?_0x479f9a[_0x74041e(0x1f0)](_0x479f9a[_0x74041e(0x1e4)],_0x48dd15):_0x479f9a['hrItJ'])+_0x74041e(0x210)+(_0x2b34ba?_0x479f9a[_0x74041e(0x256)]:_0x479f9a[_0x74041e(0x228)])+_0x74041e(0x242));}catch(_0x218258){logger[_0x74041e(0x230)](_0x74041e(0x236)+util[_0x74041e(0x1ec)](_0x218258));}_0x2b34ba&&(global['__sessionFailed']=!![]),await helper[_0x74041e(0x207)](global[_0x74041e(0x229)][0x0],_0x2b34ba?_0x479f9a[_0x74041e(0x213)]:_0x479f9a[_0x74041e(0x1e1)],_0x48dd15);}catch(_0x4f53ad){logger[_0x74041e(0x230)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util[_0x74041e(0x1ec)](_0x4f53ad));}}}catch(_0x1c6a22){logger[_0x74041e(0x230)](_0x74041e(0x252)+util[_0x74041e(0x1ec)](_0x1c6a22));}try{if(_0x479f9a[_0x74041e(0x25a)](isAccessibilityAutomationSession)&&globals[_0x74041e(0x1e9)](_0x479f9a[_0x74041e(0x233)])&&Array[_0x74041e(0x244)](global[_0x74041e(0x229)])&&_0x479f9a[_0x74041e(0x24a)](global['__drivers'][_0x74041e(0x23f)],0x0)&&global[_0x74041e(0x229)][0x0]){const _0x7621e6=testRunMap['get'](_activeResultId),_0x181f10={};_0x181f10['thTestRunUuid']=_0x7621e6,_0x181f10['thBuildUuid']=process[_0x74041e(0x1ed)][testHubConstants['ENV_VAR'][_0x74041e(0x1f3)]],_0x181f10['thJwtToken']=process[_0x74041e(0x1ed)][testHubConstants[_0x74041e(0x243)][_0x74041e(0x23e)]];const _0x3e8449=_0x181f10;logger[_0x74041e(0x230)](_0x74041e(0x1e6)+JSON[_0x74041e(0x245)](_0x3e8449));if(globals[_0x74041e(0x1e9)](_0x479f9a['WGhnS'])){logger[_0x74041e(0x230)](_0x479f9a[_0x74041e(0x1e2)]);const _0x53f485=await accessibilityRetryHelper[_0x74041e(0x23a)](global[_0x74041e(0x229)][0x0],global[_0x74041e(0x211)]);_0x53f485?logger[_0x74041e(0x230)](_0x479f9a[_0x74041e(0x1f4)]):logger['warn'](_0x479f9a[_0x74041e(0x25d)]);}else logger[_0x74041e(0x230)](_0x479f9a[_0x74041e(0x1dd)]);globals[_0x74041e(0x1e9)](_0x479f9a[_0x74041e(0x217)])&&(_0x3e8449[_0x74041e(0x254)]=!![]);const _0x13d207=await accessibilityRetryHelper[_0x74041e(0x259)](global[_0x74041e(0x229)][0x0],_0x3e8449);_0x13d207?logger['debug'](_0x479f9a[_0x74041e(0x1eb)]):logger[_0x74041e(0x1fd)](_0x479f9a['Amrse']);}}catch(_0x4e4e76){logger[_0x74041e(0x238)](_0x74041e(0x25c)+util['format'](_0x4e4e76));}});}catch(a19_0x1d4767){logger[a19_0x3f54a1(0x230)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20'+util['format'](a19_0x1d4767));}module[a19_0x3f54a1(0x25b)]={};
@@ -1 +1 @@
1
- 'use strict';function a20_0x355e(_0x41a554,_0x1f0e21){const _0x5e36f8=a20_0x5e36();return a20_0x355e=function(_0x355e0d,_0xfefdca){_0x355e0d=_0x355e0d-0x129;let _0x58e9bd=_0x5e36f8[_0x355e0d];return _0x58e9bd;},a20_0x355e(_0x41a554,_0x1f0e21);}const a20_0x2c5cab=a20_0x355e;(function(_0x4636fb,_0x316c32){const _0x1b916b=a20_0x355e,_0x5758f0=_0x4636fb();while(!![]){try{const _0x57a606=parseInt(_0x1b916b(0x131))/0x1*(-parseInt(_0x1b916b(0x135))/0x2)+-parseInt(_0x1b916b(0x132))/0x3+parseInt(_0x1b916b(0x12c))/0x4+parseInt(_0x1b916b(0x133))/0x5+-parseInt(_0x1b916b(0x136))/0x6+parseInt(_0x1b916b(0x12a))/0x7*(parseInt(_0x1b916b(0x137))/0x8)+parseInt(_0x1b916b(0x138))/0x9;if(_0x57a606===_0x316c32)break;else _0x5758f0['push'](_0x5758f0['shift']());}catch(_0x2e8af5){_0x5758f0['push'](_0x5758f0['shift']());}}}(a20_0x5e36,0x71a8c));function a20_0x5e36(){const _0x31c173=['14hKyGdC','5130540VyvUiI','320MthJRs','18344934MTalHi','wilOD','_size','bAuhX','64666ypwHbI','get','622408lpOohT','sqYuu','oGJDh','remove','size','93837pBDiJD','2604174evyYZI','1410535hJqAFH','set'];a20_0x5e36=function(){return _0x31c173;};return a20_0x5e36();}const _specUuidById=new Map();exports['set']=(_0xe5865e,_0x1e1e33)=>{const _0x5a4d5d=a20_0x355e,_0x417b71={};_0x417b71[_0x5a4d5d(0x12e)]=function(_0x5b0dd3,_0x240347){return _0x5b0dd3===_0x240347;};const _0x508705=_0x417b71;if(_0x508705[_0x5a4d5d(0x12e)](_0xe5865e,undefined)||_0x508705[_0x5a4d5d(0x12e)](_0xe5865e,null))return;_specUuidById[_0x5a4d5d(0x134)](_0xe5865e,_0x1e1e33);},exports[a20_0x2c5cab(0x12b)]=_0x2a2f57=>{const _0x2aa761=a20_0x2c5cab,_0x44f10f={};_0x44f10f['wilOD']=function(_0x41ba93,_0x1be1bb){return _0x41ba93===_0x1be1bb;},_0x44f10f[_0x2aa761(0x129)]=function(_0x2b8d44,_0x20735d){return _0x2b8d44===_0x20735d;};const _0x19fd96=_0x44f10f;if(_0x19fd96[_0x2aa761(0x139)](_0x2a2f57,undefined)||_0x19fd96['bAuhX'](_0x2a2f57,null))return undefined;return _specUuidById[_0x2aa761(0x12b)](_0x2a2f57);},exports[a20_0x2c5cab(0x12f)]=_0x183580=>{const _0x36a194=a20_0x2c5cab,_0x19dec9={};_0x19dec9[_0x36a194(0x12d)]=function(_0x14f2c6,_0x2a4b7a){return _0x14f2c6===_0x2a4b7a;};const _0x457d33=_0x19dec9;if(_0x457d33[_0x36a194(0x12d)](_0x183580,undefined)||_0x457d33[_0x36a194(0x12d)](_0x183580,null))return;_specUuidById['delete'](_0x183580);},exports[a20_0x2c5cab(0x13a)]=()=>_specUuidById[a20_0x2c5cab(0x130)];
1
+ 'use strict';const a20_0x21cd5a=a20_0x3785;function a20_0x3785(_0x576c7b,_0x28fa41){const _0x2ddd38=a20_0x2ddd();return a20_0x3785=function(_0x3785f8,_0x22df3d){_0x3785f8=_0x3785f8-0x174;let _0x2a34c0=_0x2ddd38[_0x3785f8];return _0x2a34c0;},a20_0x3785(_0x576c7b,_0x28fa41);}function a20_0x2ddd(){const _0x2c7476=['1616111vGwYPt','FDPFE','1844586AQuqkE','4856744UkqKiM','_size','1390199PWOqRw','Pbiaf','821925DyoNAo','191474qpJpJO','size','783714IyWprO','set','24UpNmZM','get','delete','iPQZO','80cDynQv','gHhhM'];a20_0x2ddd=function(){return _0x2c7476;};return a20_0x2ddd();}(function(_0x875bdd,_0x2e62c5){const _0x13edcd=a20_0x3785,_0x41dbbd=_0x875bdd();while(!![]){try{const _0x51b1ed=parseInt(_0x13edcd(0x177))/0x1+-parseInt(_0x13edcd(0x17a))/0x2+-parseInt(_0x13edcd(0x17c))/0x3+-parseInt(_0x13edcd(0x175))/0x4+-parseInt(_0x13edcd(0x179))/0x5+parseInt(_0x13edcd(0x17e))/0x6*(-parseInt(_0x13edcd(0x184))/0x7)+-parseInt(_0x13edcd(0x182))/0x8*(-parseInt(_0x13edcd(0x174))/0x9);if(_0x51b1ed===_0x2e62c5)break;else _0x41dbbd['push'](_0x41dbbd['shift']());}catch(_0x2cc7b4){_0x41dbbd['push'](_0x41dbbd['shift']());}}}(a20_0x2ddd,0xbe99d));const _specUuidById=new Map();exports[a20_0x21cd5a(0x17d)]=(_0x4d36bd,_0x5dcaf5)=>{const _0x524d08=a20_0x21cd5a,_0x2b972e={};_0x2b972e['FDPFE']=function(_0x18c62b,_0x2401f0){return _0x18c62b===_0x2401f0;},_0x2b972e[_0x524d08(0x178)]=function(_0x46b59f,_0x354069){return _0x46b59f===_0x354069;};const _0x40a7c0=_0x2b972e;if(_0x40a7c0[_0x524d08(0x185)](_0x4d36bd,undefined)||_0x40a7c0['Pbiaf'](_0x4d36bd,null))return;_specUuidById[_0x524d08(0x17d)](_0x4d36bd,_0x5dcaf5);},exports[a20_0x21cd5a(0x17f)]=_0x113c59=>{const _0x2d86fa=a20_0x21cd5a,_0x365804={};_0x365804[_0x2d86fa(0x183)]=function(_0x14882a,_0x3c1bcc){return _0x14882a===_0x3c1bcc;};const _0x3fb1c3=_0x365804;if(_0x3fb1c3[_0x2d86fa(0x183)](_0x113c59,undefined)||_0x3fb1c3[_0x2d86fa(0x183)](_0x113c59,null))return undefined;return _specUuidById[_0x2d86fa(0x17f)](_0x113c59);},exports['remove']=_0x8707fa=>{const _0x29718a=a20_0x21cd5a,_0x221382={};_0x221382[_0x29718a(0x181)]=function(_0x1d825b,_0x3a8d45){return _0x1d825b===_0x3a8d45;};const _0x23126a=_0x221382;if(_0x23126a[_0x29718a(0x181)](_0x8707fa,undefined)||_0x23126a['iPQZO'](_0x8707fa,null))return;_specUuidById[_0x29718a(0x180)](_0x8707fa);},exports[a20_0x21cd5a(0x176)]=()=>_specUuidById[a20_0x21cd5a(0x17b)];
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a21_0x163406=a21_0x41f8;function a21_0x41f8(_0x8f5f04,_0x4f2cfa){const _0x3d358b=a21_0x3d35();return a21_0x41f8=function(_0x41f883,_0x1233c2){_0x41f883=_0x41f883-0x16e;let _0x168741=_0x3d358b[_0x41f883];return _0x168741;},a21_0x41f8(_0x8f5f04,_0x4f2cfa);}(function(_0x23c1f3,_0x148203){const _0x4acef7=a21_0x41f8,_0x178abd=_0x23c1f3();while(!![]){try{const _0x51af4a=-parseInt(_0x4acef7(0x198))/0x1+parseInt(_0x4acef7(0x1d7))/0x2+parseInt(_0x4acef7(0x223))/0x3+-parseInt(_0x4acef7(0x1d0))/0x4+-parseInt(_0x4acef7(0x200))/0x5*(parseInt(_0x4acef7(0x18b))/0x6)+parseInt(_0x4acef7(0x197))/0x7*(parseInt(_0x4acef7(0x192))/0x8)+-parseInt(_0x4acef7(0x175))/0x9*(-parseInt(_0x4acef7(0x17b))/0xa);if(_0x51af4a===_0x148203)break;else _0x178abd['push'](_0x178abd['shift']());}catch(_0x48ebe9){_0x178abd['push'](_0x178abd['shift']());}}}(a21_0x3d35,0xe1c99));function a21_0x3d35(){const _0x341255=['runInBand','workingDir','handleApp','shouldProcessEventForTesthub','1356268TYsxwg','../../helpers/test-observability/constants','customEnvironment.js','retryTestsOnFailure','LjzuD','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','YmWMd','cjs','testContextOptions','../../helpers/test-observability/utils','mcgkn','getHubUrl','eizRp','slice','lqHfu','setup','getPackageType','mZyWA','IqfQC','QFBqC','assign','Deleted\x20fail-fast\x20state\x20folder:\x20','Reodered\x20Test\x20Files:\x20','parallelsPerPlatform','printBuildLink','child\x20process\x20exited\x20with\x20code\x20','customCircus.js','YhJbm','XASsP','../../helpers/logger','getInstance','default','eibOL','WVLBc','mjs','push','platforms','IDdYN','Unable\x20to\x20find\x20jest-circus,\x20','testObservability','cwd','5KQbCDX','setupBrowserstackLocal','\x0a\x20\x20\x20\x20\x20\x20','jest-circus/build/runner.js','../../helpers/utilities','isNotUndefined','BROWSERSTACK_TEST_ACCESSIBILITY_YML','platformCaps','ffWpy','turboScaleUrl','BWDSt','jest_browserstack.config.cjs','true','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','jest.setup.js','puppeteer','join','yRhus','JKdLj','json','parallels__','tYZCh','FezgY','Deleting\x20','Zqwrj','close','__isPlaywrightInstalled','false','cIQve','reporters','testSequencer','testRunner','BROWSERSTACK_CAPABILITIES','../../helpers/test-orchestration/testOrchestrationHandler','serial__','4283259MpaBzR','capabilities','resolveModule','runner','PACKAGE_TYPE','testEnvironment','reorderTestFiles','klsYx','jest.config.','FRAMEWORKS','../../helpers/testhub/testhubHandler','cQxOu','test.setup.js','message','SDK_CLEANUP','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','stop','length','BSTACK_JEST_TEST_ENV','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','isCLIEnabled','test_before.setup.js','gDoqS',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','util','maxWorkers','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','vYeuR','jest-runner-',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','puppeteer-core/package.json','env','../../helpers/puppeteer-helper','bizdq','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','error','useW3C','exitCode','Found:\x20','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','end','platform','requireSeleniumWebdriver','wJtng','isUndefined','initialize','format','Preserving\x20user\x27s\x20Jest\x20runner:\x20','splice','@playwright/test','\x0amodule.exports\x20=\x20config;','config','proxySettings','package.json','SDK_SETUP','wMOtp','timeout__','isRunning','HvSkb','__isPuppeteerInstalled','nCdbw','recursive','testTimeout','jest','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','requirePWModule','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','\x20with\x20browserstack\x20jest\x20configs','skipSessionName','setupFiles','krFFi','maxRetries','aMGSA','IrDce','nYPeL','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','EVENTS','setupFilesAfterEnv','qbdiR','abortBuildOnFailure','apply','45TztvLN','logLevel','info','FBiij','isBrowserstackInfra','BSTACK_USER_JEST_RUNNER','1432390LcTOsp','jest-config/build/readConfigFileAndSetRootDir.js','../v2/browserstackCLI','unlinkSync','xyFlB','ujZVG','findIndex','../../helpers/accessibility-automation/helper','yesnz','accessibility','startsWith','isEmpty','ZRRbJ','jest-config','browserStackPercyOptions','moduleNameMapper','8786058HsabMB','USER_CONFIG_DETAILS_PATH','test-observability','writeFileSync','jest_browserstack_results.json','start','launchBuild','26056ChgScz','Creating\x20','parse','iEXvd','BROWSERSTACK_FRAMEWORK','3122uIBWnk','270340neqbXX','eHzXI','errorMessage','Puppeteer\x20setup\x20error:\x20','ArdpH','../../helpers/testhub/utils','customImplements','../../helpers/BrowserStackSetup','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','../../helpers/playwright-helper','CqLnn','dWTVz','./test-observability/test-details','existsSync','requireModule','stringify','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','gvjaK','child_process','PMUsX','testEnvironmentOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Error\x20while\x20parsing\x20','NeKjO','jest-circus','log','failureThresholdCount','BQOOZ','oPHmL','isTestOrchestrationEnabled','readInitialOptions','../../helpers/percy/utils','failFast','ZwFHe','aBgqj','accessibilityOptions','./test-observability/helper','../../helpers/performance/performance-tester','skipSessionStatus','npx','../utils/clientTroubleshootingService',',\x20CLI\x20running:\x20','retries__','playwright','readFileSync','SrzIk','../utils/constants','debug','dirname','tdndZ','filterBrowserstackArgs','JEST','BROWSERSTACK_TEST_OBSERVABILITY_YML','inherit','jest-runner','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','6460784IqGmjp','resolve','kpllv'];a21_0x3d35=function(){return _0x341255;};return a21_0x3d35();}const fs=require('fs'),path=require('path'),util=require(a21_0x163406(0x23b)),{spawn}=require(a21_0x163406(0x1aa)),logger=require(a21_0x163406(0x1f4))['winstonLogger'],{default:BrowserStackSetup}=require(a21_0x163406(0x19f)),helper=require('../../helpers/helper'),utilities=require(a21_0x163406(0x204)),constants=require(a21_0x163406(0x1c6)),accessibilityHelper=require(a21_0x163406(0x182)),{updateTestRerunConfig}=require(a21_0x163406(0x1bc)),testOpsHelper=require(a21_0x163406(0x1e0)),{debug}=require(a21_0x163406(0x1e0)),TestDetails=require(a21_0x163406(0x1a4)),{getPercyOptions}=require(a21_0x163406(0x1b7)),TestHubHandler=require(a21_0x163406(0x22d)),testhubUtils=require(a21_0x163406(0x19d)),{FRAMEWORKS}=require(a21_0x163406(0x1d8)),PerformanceTester=require(a21_0x163406(0x1bd)),PerformanceEvents=require('../../helpers/performance/constants')[a21_0x163406(0x170)],TestOrchestrationHandler=require(a21_0x163406(0x221)),BrowserstackCLI=require(a21_0x163406(0x17d)),{checkPwandBootstrapCli}=require(a21_0x163406(0x1a1)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x163406(0x244)),ClientTroubleShootingService=require(a21_0x163406(0x1c0)),{checkAccessibilityPlatformConfig}=require(a21_0x163406(0x182)),getUserJestConfigs=async(_0x234eed,_0x3038cf)=>{const _0x305483=a21_0x163406,_0x371003={'IDdYN':_0x305483(0x17c),'IqfQC':_0x305483(0x188),'NQWJa':function(_0x49b0ed,_0x12f027){return _0x49b0ed||_0x12f027;},'WfvwD':function(_0x5595e8,_0x54bc4a){return _0x5595e8(_0x54bc4a);},'aBgqj':_0x305483(0x259),'AuXcI':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','mZyWA':_0x305483(0x1f9),'tYZCh':_0x305483(0x1de),'vYeuR':_0x305483(0x213)};let _0x3d4ff6;try{_0x3d4ff6=helper[_0x305483(0x1a6)](_0x371003[_0x305483(0x1fc)],_0x371003['IqfQC']);}catch{const _0x1fac49=helper['requireModule'](_0x371003[_0x305483(0x1e9)]);_0x3d4ff6={'default':async _0x1cd9de=>{const _0x2c5e04=_0x305483,_0x34d13a=await _0x1fac49[_0x2c5e04(0x1b6)](_0x1cd9de,{});return _0x34d13a['config'];}};}const _0x37a514=_0x3038cf[_0x305483(0x181)](_0x1f3f1e=>_0x1f3f1e==='--config');if(!helper[_0x305483(0x250)](_0x234eed['config'])){logger[_0x305483(0x177)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x234eed[_0x305483(0x257)]),process[_0x305483(0x243)]['USER_CONFIG_DETAILS_PATH']=_0x234eed['config'];const _0x455585=await(0x0,_0x3d4ff6[_0x305483(0x1f6)])(path[_0x305483(0x1d1)](_0x234eed[_0x305483(0x257)]));return _0x3038cf[_0x305483(0x254)](_0x37a514,0x2),_0x371003['NQWJa'](_0x455585,{});}const _0x552167=_0x371003['WfvwD'](require,path[_0x305483(0x210)](process[_0x305483(0x1ff)](),_0x371003[_0x305483(0x1ba)]));if(_0x552167[_0x305483(0x263)])return logger[_0x305483(0x177)](_0x371003['AuXcI']),_0x552167[_0x305483(0x263)];const _0x25927a=['js',_0x371003[_0x305483(0x1e8)],_0x371003[_0x305483(0x215)],_0x371003[_0x305483(0x23e)],'ts'];for(const _0x33f3d9 of _0x25927a){const _0x385e31=path[_0x305483(0x210)](process[_0x305483(0x1ff)](),_0x305483(0x22b)+_0x33f3d9);if(fs['existsSync'](_0x385e31)){process[_0x305483(0x243)][_0x305483(0x18c)]=_0x385e31;const _0x3d4954=await(0x0,_0x3d4ff6[_0x305483(0x1f6)])(_0x385e31);return _0x3d4954;}}return{};},getSerial=(_0x23ca73,_0x45d6c3)=>{const _0x30f7df=a21_0x163406,_0x51b084={};_0x51b084[_0x30f7df(0x1ea)]=_0x30f7df(0x20c),_0x51b084[_0x30f7df(0x208)]=function(_0x2af884,_0xbc3283){return _0x2af884>_0xbc3283;},_0x51b084[_0x30f7df(0x20a)]=function(_0x5c45d1,_0x244dea){return _0x5c45d1>_0x244dea;},_0x51b084['mcgkn']=_0x30f7df(0x21b);const _0x5ca0b4=_0x51b084;let _0x4936bb=_0x5ca0b4[_0x30f7df(0x1ea)];return _0x5ca0b4[_0x30f7df(0x208)](_0x23ca73[_0x30f7df(0x234)],0x1)&&(!_0x45d6c3[_0x30f7df(0x1d3)]&&(helper[_0x30f7df(0x250)](_0x45d6c3[_0x30f7df(0x23c)])||_0x5ca0b4['BWDSt'](_0x45d6c3[_0x30f7df(0x23c)],0x1)))&&(_0x4936bb=_0x5ca0b4[_0x30f7df(0x1e1)]),_0x4936bb;},getMaxWorkers=(_0x39d828,_0x5bfcb1,_0x1e8afc)=>{const _0x533c27=a21_0x163406,_0x50e2ab={'eizRp':function(_0x32f837,_0x4905cc){return _0x32f837(_0x4905cc);}};let _0x2ff12d=0x1;if(!helper[_0x533c27(0x250)](_0x5bfcb1[_0x533c27(0x1ee)]))_0x2ff12d=_0x50e2ab[_0x533c27(0x1e3)](parseInt,_0x5bfcb1[_0x533c27(0x1ee)]);else{if(!helper[_0x533c27(0x250)](_0x39d828[_0x533c27(0x23c)]))_0x2ff12d=_0x39d828[_0x533c27(0x23c)];else!helper['isUndefined'](_0x1e8afc[_0x533c27(0x23c)])&&(_0x2ff12d=_0x1e8afc[_0x533c27(0x23c)]);}return _0x2ff12d;};async function run(_0x23a5ea,_0x3966a3,_0x50bb8b){const _0x497a05=a21_0x163406,_0x14ba40={'eHzXI':_0x497a05(0x263),'lqHfu':function(_0x1b45b7,_0x501834){return _0x1b45b7(_0x501834);},'YhJbm':_0x497a05(0x255),'kpllv':function(_0x488c23){return _0x488c23();},'cQxOu':function(_0x5b5569,_0x910869,_0xc42ac7,_0x43750b){return _0x5b5569(_0x910869,_0xc42ac7,_0x43750b);},'aMGSA':function(_0x565e29,_0x1b3ce6,_0x4e2116,_0x12df68){return _0x565e29(_0x1b3ce6,_0x4e2116,_0x12df68);},'FBiij':function(_0x48a90c,_0x23203a){return _0x48a90c!=_0x23203a;},'HvSkb':'true','tdndZ':function(_0x29941b,_0x298275,_0x434005){return _0x29941b(_0x298275,_0x434005);},'NeKjO':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Zqwrj':function(_0x4de5a5,_0x26210d){return _0x4de5a5(_0x26210d);},'BQOOZ':_0x497a05(0x21b),'gvjaK':function(_0x33fe5d,_0x557b52,_0x56f677,_0x16ea83){return _0x33fe5d(_0x557b52,_0x56f677,_0x16ea83);},'oPHmL':function(_0x5eeae5,_0x4fba08){return _0x5eeae5*_0x4fba08;},'bknmY':function(_0x4db7d5,_0x5546d5){return _0x4db7d5===_0x5546d5;},'bizdq':_0x497a05(0x20b),'yRhus':'jest_browserstack.config.js','ZwFHe':_0x497a05(0x19e),'dWTVz':_0x497a05(0x18f),'wJtng':'customTestRunner.js','ZRRbJ':'customTestRunnerTemplate.js','PMUsX':_0x497a05(0x1d9),'iEXvd':function(_0x2daa38,_0xda017b){return _0x2daa38!==_0xda017b;},'HFttM':_0x497a05(0x1ce),'VwEfx':_0x497a05(0x23f),'ArdpH':_0x497a05(0x20e),'eibOL':'customSequencer.js','WIxss':_0x497a05(0x1a0),'YmWMd':_0x497a05(0x1b0),'xyFlB':_0x497a05(0x203),'qqjwv':_0x497a05(0x18d),'ujZVG':'data-hooks.js','nYPeL':_0x497a05(0x1f1),'cIQve':_0x497a05(0x238),'Imhuy':_0x497a05(0x1dc),'IrDce':_0x497a05(0x1c3),'FezgY':_0x497a05(0x1a8),'gDoqS':_0x497a05(0x22f),'rYabs':_0x497a05(0x1cf),'ZJuMX':function(_0xa11e2d,_0x41477c){return _0xa11e2d&&_0x41477c;},'qbdiR':_0x497a05(0x236),'klsYx':_0x497a05(0x20f),'WVLBc':_0x497a05(0x242),'XASsP':'default','wMOtp':'@jest/core/build/ReporterDispatcher.js','yesnz':'@jest/core','YEMvJ':_0x497a05(0x20d),'EACLb':function(_0x447f27,_0x51a4fe){return _0x447f27>_0x51a4fe;},'SrzIk':_0x497a05(0x264),'nCdbw':'--config','JKdLj':_0x497a05(0x1bf),'CqLnn':function(_0x2baf4b,_0x336607){return _0x2baf4b===_0x336607;},'krFFi':'win32','vQFdj':_0x497a05(0x1cd),'LjzuD':_0x497a05(0x219)},_0x16a72b=helper['getPackageVersion'](_0x14ba40[_0x497a05(0x1f2)]);global[_0x497a05(0x21a)]=!!_0x16a72b;const _0x5ac04e=_0x14ba40[_0x497a05(0x1d2)](getPuppeteerVersion);global[_0x497a05(0x25f)]=!!_0x5ac04e;helper[_0x497a05(0x179)]()&&(await _0x50bb8b[_0x497a05(0x251)](_0x23a5ea),await helper[_0x497a05(0x1d5)](_0x50bb8b[_0x497a05(0x257)]));if(_0x16a72b)await _0x14ba40[_0x497a05(0x22e)](checkPwandBootstrapCli,_0x16a72b,constants[_0x497a05(0x22c)]['JEST'],_0x50bb8b);else _0x5ac04e&&await _0x14ba40[_0x497a05(0x26c)](checkPuppeteerAndBootstrapCli,_0x5ac04e,constants['FRAMEWORKS'][_0x497a05(0x1cb)],_0x50bb8b);!BrowserstackCLI[_0x497a05(0x1f5)]()[_0x497a05(0x25d)]()&&await _0x50bb8b[_0x497a05(0x201)]();if(!_0x50bb8b['config'])return;_0x14ba40[_0x497a05(0x178)](_0x50bb8b[_0x497a05(0x257)]['testObservability'],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x1fe)]:process[_0x497a05(0x243)][_0x497a05(0x1cc)]=_0x14ba40['HvSkb'];const _0x23e2ec=new TestOrchestrationHandler(_0x50bb8b[_0x497a05(0x257)]),_0x1bd2bf=await _0x14ba40[_0x497a05(0x1c9)](getUserJestConfigs,_0x23a5ea,_0x3966a3);logger['info'](_0x14ba40[_0x497a05(0x1af)]);const _0x4b7a77=Object[_0x497a05(0x1eb)]({},_0x1bd2bf);_0x4b7a77[_0x497a05(0x1ac)]=Object[_0x497a05(0x1eb)]({},_0x4b7a77[_0x497a05(0x1ac)],{'server':helper[_0x497a05(0x1e2)](_0x50bb8b['config']),'environment':_0x1bd2bf[_0x497a05(0x228)]}),_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x189)]=_0x14ba40['lqHfu'](getPercyOptions,_0x50bb8b[_0x497a05(0x257)]);const _0x183809=helper[_0x497a05(0x248)](_0x50bb8b[_0x497a05(0x257)]);!helper[_0x497a05(0x250)](_0x50bb8b['config']['accessibilityOptions'])&&(process[_0x497a05(0x243)][_0x497a05(0x1ad)]=JSON['stringify'](_0x50bb8b['config'][_0x497a05(0x1bb)]));if(!BrowserstackCLI[_0x497a05(0x1f5)]()['isRunning']()){const _0x2d4b69=await TestHubHandler[_0x497a05(0x191)](FRAMEWORKS[_0x497a05(0x1cb)],_0x50bb8b);}const _0x208f5c=helper['prepareCapabilities'](_0x50bb8b[_0x497a05(0x257)],_0x183809,constants[_0x497a05(0x22c)][_0x497a05(0x1cb)]);process['env'][_0x497a05(0x220)]=JSON[_0x497a05(0x1a7)](_0x208f5c);let _0x2beb36=_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x184)];_0x2beb36=_0x2beb36||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x50bb8b[_0x497a05(0x257)]),process[_0x497a05(0x243)][_0x497a05(0x206)]=_0x2beb36,logger[_0x497a05(0x1c7)](_0x497a05(0x232)+_0x2beb36+_0x497a05(0x1c1)+BrowserstackCLI[_0x497a05(0x1f5)]()[_0x497a05(0x25d)]());if(_0x16a72b)try{const _0xa7e545=_0x14ba40[_0x497a05(0x218)](checkAccessibilityPlatformConfig,_0x50bb8b[_0x497a05(0x257)]);process[_0x497a05(0x243)][_0x497a05(0x246)]=_0xa7e545?_0x14ba40[_0x497a05(0x25e)]:_0x14ba40[_0x497a05(0x1b3)],logger[_0x497a05(0x1c7)]('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0xa7e545+',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM='+process['env'][_0x497a05(0x246)]);}catch(_0x17fd7e){logger[_0x497a05(0x1c7)](_0x497a05(0x23d)+util['format'](_0x17fd7e));}_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x224)]=_0x208f5c,_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x222)]=_0x14ba40['tdndZ'](getSerial,_0x208f5c,_0x23a5ea),_0x4b7a77['testEnvironmentOptions'][_0x497a05(0x214)]=_0x14ba40[_0x497a05(0x1a9)](getMaxWorkers,_0x23a5ea,_0x50bb8b['config'],_0x1bd2bf),_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x258)]=_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x258)],_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x25c)]=_0x14ba40[_0x497a05(0x1b4)](_0x23a5ea[_0x497a05(0x262)],0x1)||0x1388,_0x4b7a77['testEnvironmentOptions']['skipSessionName']=_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x1df)][_0x497a05(0x268)],_0x4b7a77[_0x497a05(0x1ac)]['skipSessionStatus']=_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x1df)][_0x497a05(0x1be)],_0x4b7a77[_0x497a05(0x1ac)]['browserStackLogLevel']=_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x176)],_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x209)]=_0x50bb8b['config'][_0x497a05(0x209)],_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x207)]=_0x50bb8b['config']['platforms'];const _0x3229c0=helper['parseTestOrchestrationOptions'](_0x50bb8b[_0x497a05(0x257)]);if(!helper[_0x497a05(0x186)](_0x3229c0)){helper['isNotUndefined'](_0x3229c0[_0x497a05(0x1da)])&&(_0x4b7a77['testEnvironmentOptions'][_0x497a05(0x1c2)]=_0x3229c0[_0x497a05(0x1da)][_0x497a05(0x26b)]);if(helper['isNotUndefined'](_0x3229c0['abortBuildOnFailure'])&&helper[_0x497a05(0x205)](_0x3229c0[_0x497a05(0x173)][_0x497a05(0x1d4)])){const _0x50da9d={};_0x50da9d[_0x497a05(0x1b2)]=_0x3229c0[_0x497a05(0x173)]['maxFailures'],_0x50da9d[_0x497a05(0x1d4)]=_0x3229c0['abortBuildOnFailure']['workingDir'],_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x1b8)]=_0x50da9d;}}let _0x5b5d10='';_0x14ba40['bknmY'](helper[_0x497a05(0x1e7)](),constants[_0x497a05(0x227)]['MODULE'])?_0x5b5d10=_0x14ba40[_0x497a05(0x245)]:_0x5b5d10=_0x14ba40[_0x497a05(0x211)];const _0x2027f5=_0x5b5d10,_0x566cc1=path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x1b9)],_0x14ba40[_0x497a05(0x1a3)]),_0x3fc472=path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x1b9)],_0x14ba40[_0x497a05(0x24f)]),_0x47ca0f=path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x1b9)],_0x14ba40[_0x497a05(0x187)]);_0x4b7a77['testEnvironment']&&(process[_0x497a05(0x243)][_0x497a05(0x235)]=_0x4b7a77[_0x497a05(0x228)]);_0x4b7a77[_0x497a05(0x228)]=path[_0x497a05(0x210)](__dirname,_0x14ba40['ZwFHe'],_0x14ba40[_0x497a05(0x1ab)]);const _0x2a5f25=_0x1bd2bf[_0x497a05(0x226)];if(_0x2a5f25&&_0x14ba40[_0x497a05(0x195)](_0x2a5f25,_0x14ba40['HFttM'])){const _0x6d3a39=_0x2a5f25[_0x497a05(0x185)](_0x14ba40['VwEfx'])?_0x2a5f25:_0x497a05(0x23f)+_0x2a5f25;process[_0x497a05(0x243)][_0x497a05(0x17a)]=_0x6d3a39,logger[_0x497a05(0x177)](_0x497a05(0x253)+_0x6d3a39);}_0x4b7a77[_0x497a05(0x226)]=_0x3fc472,_0x4b7a77[_0x497a05(0x171)]=_0x4b7a77[_0x497a05(0x171)]||[],_0x4b7a77[_0x497a05(0x171)]['push'](path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x19c)]));_0x23e2ec[_0x497a05(0x1b5)]()&&(_0x4b7a77[_0x497a05(0x21e)]=path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x1b9)],_0x14ba40[_0x497a05(0x1f7)]));if(testhubUtils[_0x497a05(0x1d6)]()||BrowserstackCLI[_0x497a05(0x1f5)]()['isCliEnabled']()){let _0x572cea=null;try{_0x572cea=helper[_0x497a05(0x1a6)](_0x14ba40['WIxss'],_0x14ba40[_0x497a05(0x1dd)]);}catch(_0x12f614){try{_0x572cea=helper['requireModule'](_0x14ba40[_0x497a05(0x17f)],_0x14ba40[_0x497a05(0x1dd)]);}catch(_0xec7f11){_0x14ba40[_0x497a05(0x1e5)](debug,_0x497a05(0x1fd)+_0xec7f11);}}_0x572cea&&(testhubUtils['shouldProcessEventForTesthub']()&&_0x4b7a77[_0x497a05(0x171)][_0x497a05(0x1fa)](path[_0x497a05(0x210)](__dirname,_0x14ba40['qqjwv'],_0x14ba40[_0x497a05(0x180)])),_0x4b7a77[_0x497a05(0x21f)]=path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x1b9)],_0x14ba40[_0x497a05(0x16e)]));}_0x4b7a77[_0x497a05(0x269)]=_0x4b7a77['setupFiles']||[];try{helper[_0x497a05(0x24e)](),_0x4b7a77[_0x497a05(0x269)][_0x497a05(0x1fa)](path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x21c)]));}catch{logger['debug'](_0x14ba40['Imhuy']);}try{helper[_0x497a05(0x265)][_0x497a05(0x174)](null,[_0x14ba40[_0x497a05(0x1f2)],_0x14ba40[_0x497a05(0x26d)]]),logger[_0x497a05(0x1c7)](_0x14ba40[_0x497a05(0x216)]),_0x4b7a77[_0x497a05(0x269)][_0x497a05(0x1fa)](path[_0x497a05(0x210)](__dirname,_0x14ba40['gDoqS']));}catch(_0x585bad){logger['debug'](_0x14ba40['rYabs'],_0x585bad);}if(_0x14ba40['ZJuMX'](!_0x16a72b,_0x5ac04e)){try{logger[_0x497a05(0x1c7)](_0x14ba40[_0x497a05(0x172)]),_0x4b7a77[_0x497a05(0x171)][_0x497a05(0x1fa)](path[_0x497a05(0x210)](__dirname,'..',_0x14ba40[_0x497a05(0x22a)],_0x14ba40[_0x497a05(0x239)]));}catch(_0x22b09d){logger[_0x497a05(0x1c7)](_0x497a05(0x19b)+_0x22b09d[_0x497a05(0x230)]);}try{const _0x396228=require['resolve'](_0x14ba40[_0x497a05(0x1f8)]),_0x671a9=path[_0x497a05(0x1c8)](_0x396228)['replace'](/\\/g,'/'),_0x17e8c9={};_0x17e8c9['^puppeteer-core/internal/(.*)']=_0x671a9+'/internal/$1',_0x4b7a77[_0x497a05(0x18a)]=Object[_0x497a05(0x1eb)]({},_0x4b7a77[_0x497a05(0x18a)]||{},_0x17e8c9),logger[_0x497a05(0x1c7)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x671a9);}catch(_0x563a07){logger['debug'](_0x497a05(0x241)+_0x563a07[_0x497a05(0x230)]);}}_0x4b7a77[_0x497a05(0x21d)]=_0x4b7a77[_0x497a05(0x21d)]||[_0x14ba40[_0x497a05(0x1f3)]],_0x14ba40[_0x497a05(0x1c9)](updateTestRerunConfig,_0x4b7a77,_0x50bb8b);const _0x2e921e=fs[_0x497a05(0x1c4)](_0x47ca0f),_0x3c9a1b=helper[_0x497a05(0x225)](_0x14ba40[_0x497a05(0x25b)],_0x14ba40[_0x497a05(0x183)]);!_0x3c9a1b[_0x497a05(0x247)]?fs[_0x497a05(0x18e)](_0x4b7a77[_0x497a05(0x226)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x2e921e+_0x497a05(0x266)+_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x1fb)][_0x497a05(0x234)]+_0x497a05(0x240)):fs[_0x497a05(0x18e)](_0x4b7a77[_0x497a05(0x226)],_0x497a05(0x202)+_0x2e921e+_0x497a05(0x16f)+_0x50bb8b['config']['platforms'][_0x497a05(0x234)]+_0x497a05(0x23a));logger[_0x497a05(0x177)](_0x497a05(0x193)+_0x2027f5+_0x497a05(0x267)),fs[_0x497a05(0x18e)](_0x2027f5,'const\x20config='+JSON['stringify'](_0x4b7a77)+_0x497a05(0x256));if(_0x23e2ec[_0x497a05(0x1b5)]()){logger[_0x497a05(0x1c7)](_0x14ba40['YEMvJ']);const _0x20c41f=await _0x23e2ec['findTestFiles'](_0x4b7a77,_0x3966a3[_0x497a05(0x1e4)](0x1),_0x2027f5);logger['debug'](_0x497a05(0x24a)+JSON['stringify'](_0x20c41f)+'\x20test\x20files\x20to\x20run.');const _0x51d345=await _0x23e2ec[_0x497a05(0x229)](_0x20c41f);logger[_0x497a05(0x1c7)](_0x497a05(0x1ed)+JSON[_0x497a05(0x1a7)](_0x51d345)),_0x51d345&&_0x14ba40['EACLb'](_0x51d345[_0x497a05(0x234)],0x0)&&(process[_0x497a05(0x243)]['JEST_TEST_ORDER']=_0x51d345?.['join'](','));}logger[_0x497a05(0x177)](_0x14ba40[_0x497a05(0x1c5)]);testhubUtils[_0x497a05(0x1d6)]()&&TestDetails[_0x497a05(0x1e6)]();helper[_0x497a05(0x1ca)]({},_0x3966a3),PerformanceTester[_0x497a05(0x24c)](PerformanceEvents[_0x497a05(0x25a)]);const _0x2c66a7=[_0x14ba40['eHzXI'],_0x14ba40[_0x497a05(0x260)],_0x2027f5,..._0x3966a3['slice'](0x1)];process[_0x497a05(0x243)][_0x497a05(0x196)]=process[_0x497a05(0x243)][_0x497a05(0x196)]||_0x14ba40[_0x497a05(0x199)];const _0x5efcc3=_0x14ba40['aMGSA'](spawn,_0x14ba40[_0x497a05(0x212)],_0x2c66a7,{'shell':_0x14ba40[_0x497a05(0x1a2)](process[_0x497a05(0x24d)],_0x14ba40[_0x497a05(0x26a)]),'stdio':_0x14ba40['vQFdj'],'env':Object[_0x497a05(0x1eb)]({},process[_0x497a05(0x243)])});_0x5efcc3['on'](_0x14ba40[_0x497a05(0x1db)],async _0x3732fa=>{const _0x1b7740=_0x497a05;PerformanceTester[_0x1b7740(0x190)](PerformanceEvents[_0x1b7740(0x231)]),process[_0x1b7740(0x249)]=_0x3732fa,logger[_0x1b7740(0x1c7)](_0x1b7740(0x1f0)+_0x3732fa),logger['info'](_0x1b7740(0x217)+_0x2027f5);if(helper[_0x1b7740(0x205)](_0x3229c0)&&helper[_0x1b7740(0x205)](_0x3229c0[_0x1b7740(0x173)])&&fs['existsSync'](_0x3229c0['abortBuildOnFailure'][_0x1b7740(0x1d4)]))try{const _0x1fc9a7={};_0x1fc9a7[_0x1b7740(0x261)]=!![],_0x1fc9a7['force']=!![],fs['rmSync'](_0x3229c0[_0x1b7740(0x173)][_0x1b7740(0x1d4)],_0x1fc9a7),logger['debug'](_0x1b7740(0x1ec)+_0x3229c0[_0x1b7740(0x173)]['workingDir']);}catch(_0x49ff23){logger[_0x1b7740(0x247)](_0x1b7740(0x24b)+_0x49ff23);}let _0x234e58=null;if(fs[_0x1b7740(0x1a5)](_0x566cc1)){_0x234e58=fs[_0x1b7740(0x1c4)](_0x566cc1);try{_0x234e58=JSON[_0x1b7740(0x194)](_0x234e58);}catch(_0x12768c){logger[_0x1b7740(0x1c7)](_0x1b7740(0x1ae)+_0x566cc1+',\x20'+_0x234e58+'\x20:\x20'+_0x12768c);}fs[_0x1b7740(0x17e)](_0x566cc1);}fs[_0x1b7740(0x17e)](_0x2027f5),fs[_0x1b7740(0x17e)](_0x3fc472),_0x234e58&&(_0x50bb8b[_0x1b7740(0x19a)]=helper['getErrorMessageFromResults'](_0x234e58,_0x14ba40[_0x1b7740(0x199)],_0x50bb8b));const _0x54dada=BrowserstackCLI[_0x1b7740(0x237)]();try{await TestHubHandler[_0x1b7740(0x233)](),await BrowserstackCLI[_0x1b7740(0x1f5)]()[_0x1b7740(0x233)]();}catch(_0x4541e9){console[_0x1b7740(0x1b1)](_0x4541e9),_0x14ba40[_0x1b7740(0x1e5)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x1b7740(0x252)](_0x4541e9));}testOpsHelper[_0x1b7740(0x1ef)](),TestDetails['shutdown'](),await utilities['finalExecution'](_0x50bb8b,_0x54dada);});}module['exports']=run;
2
+ 'use strict';const a21_0x2b64b6=a21_0x1525;(function(_0x2b42e4,_0x4d3e6){const _0x53f913=a21_0x1525,_0x3beaa8=_0x2b42e4();while(!![]){try{const _0x17e943=-parseInt(_0x53f913(0x2d2))/0x1+-parseInt(_0x53f913(0x246))/0x2*(-parseInt(_0x53f913(0x2cf))/0x3)+-parseInt(_0x53f913(0x1f2))/0x4+-parseInt(_0x53f913(0x233))/0x5+parseInt(_0x53f913(0x279))/0x6+-parseInt(_0x53f913(0x2b9))/0x7+parseInt(_0x53f913(0x24b))/0x8*(parseInt(_0x53f913(0x28b))/0x9);if(_0x17e943===_0x4d3e6)break;else _0x3beaa8['push'](_0x3beaa8['shift']());}catch(_0x16e110){_0x3beaa8['push'](_0x3beaa8['shift']());}}}(a21_0x1afc,0x5336f));const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a21_0x2b64b6(0x23c)),logger=require(a21_0x2b64b6(0x255))['winstonLogger'],{default:BrowserStackSetup}=require(a21_0x2b64b6(0x1e7)),helper=require(a21_0x2b64b6(0x1e8)),utilities=require(a21_0x2b64b6(0x2de)),constants=require(a21_0x2b64b6(0x2c3)),accessibilityHelper=require(a21_0x2b64b6(0x258)),{updateTestRerunConfig}=require(a21_0x2b64b6(0x23b)),testOpsHelper=require(a21_0x2b64b6(0x21c)),{debug}=require(a21_0x2b64b6(0x21c)),TestDetails=require(a21_0x2b64b6(0x207)),{getPercyOptions}=require(a21_0x2b64b6(0x247)),TestHubHandler=require(a21_0x2b64b6(0x25f)),testhubUtils=require(a21_0x2b64b6(0x22e)),{FRAMEWORKS}=require(a21_0x2b64b6(0x2b1)),PerformanceTester=require(a21_0x2b64b6(0x27e)),PerformanceEvents=require(a21_0x2b64b6(0x25c))['EVENTS'],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a21_0x2b64b6(0x27a)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x2b64b6(0x2be)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x4d596c,_0x5627e2)=>{const _0x32488f=a21_0x2b64b6,_0x1ee38e={'WShoO':'jest-config/build/readConfigFileAndSetRootDir.js','JDabg':_0x32488f(0x213),'FbfNK':function(_0x295cd3,_0x4edf51){return _0x295cd3||_0x4edf51;},'Qrkwn':function(_0x55744c,_0x171264){return _0x55744c(_0x171264);},'CWjbp':_0x32488f(0x23e),'qlCDn':_0x32488f(0x2b2),'RTAqD':_0x32488f(0x231),'ibryl':_0x32488f(0x2dc),'ZMaGD':'json'};let _0x2f9f47;try{_0x2f9f47=helper[_0x32488f(0x26a)](_0x1ee38e[_0x32488f(0x28a)],_0x1ee38e[_0x32488f(0x1ec)]);}catch{const _0x4cc257=helper[_0x32488f(0x26a)](_0x1ee38e[_0x32488f(0x1ec)]);_0x2f9f47={'default':async _0x3a5547=>{const _0x3796cb=_0x32488f,_0x4b32bf=await _0x4cc257[_0x3796cb(0x215)](_0x3a5547,{});return _0x4b32bf[_0x3796cb(0x1f1)];}};}const _0x25c109=_0x5627e2[_0x32488f(0x2b3)](_0x8c169f=>_0x8c169f==='--config');if(!helper[_0x32488f(0x209)](_0x4d596c[_0x32488f(0x1f1)])){logger['info']('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x4d596c['config']),process[_0x32488f(0x244)][_0x32488f(0x264)]=_0x4d596c[_0x32488f(0x1f1)];const _0x3d5d68=await(0x0,_0x2f9f47['default'])(path[_0x32488f(0x236)](_0x4d596c[_0x32488f(0x1f1)]));return _0x5627e2['splice'](_0x25c109,0x2),_0x1ee38e['FbfNK'](_0x3d5d68,{});}const _0x1f36f1=_0x1ee38e[_0x32488f(0x238)](require,path[_0x32488f(0x21f)](process[_0x32488f(0x2b5)](),_0x1ee38e[_0x32488f(0x285)]));if(_0x1f36f1[_0x32488f(0x1e6)])return logger['info'](_0x1ee38e[_0x32488f(0x298)]),_0x1f36f1['jest'];const _0x1eed2a=['js',_0x1ee38e['RTAqD'],_0x1ee38e[_0x32488f(0x259)],_0x1ee38e[_0x32488f(0x1ee)],'ts'];for(const _0x1de2a3 of _0x1eed2a){const _0x9972b7=path[_0x32488f(0x21f)](process['cwd'](),_0x32488f(0x278)+_0x1de2a3);if(fs[_0x32488f(0x239)](_0x9972b7)){process['env']['USER_CONFIG_DETAILS_PATH']=_0x9972b7;const _0x2ed676=await(0x0,_0x2f9f47[_0x32488f(0x220)])(_0x9972b7);return _0x2ed676;}}return{};},getSerial=(_0x2e6638,_0xc8837c)=>{const _0x40468b=a21_0x2b64b6,_0xd9dadf={};_0xd9dadf[_0x40468b(0x295)]=_0x40468b(0x257),_0xd9dadf[_0x40468b(0x2a1)]=function(_0x4295cf,_0x322b62){return _0x4295cf>_0x322b62;},_0xd9dadf[_0x40468b(0x240)]=_0x40468b(0x20a);const _0x335fc9=_0xd9dadf;let _0x1d1be3=_0x335fc9[_0x40468b(0x295)];return _0x335fc9['BlToy'](_0x2e6638[_0x40468b(0x280)],0x1)&&(!_0xc8837c[_0x40468b(0x2d6)]&&(helper[_0x40468b(0x209)](_0xc8837c[_0x40468b(0x249)])||_0x335fc9[_0x40468b(0x2a1)](_0xc8837c[_0x40468b(0x249)],0x1)))&&(_0x1d1be3=_0x335fc9[_0x40468b(0x240)]),_0x1d1be3;},getMaxWorkers=(_0x4c4a2e,_0x3e253c,_0x449180)=>{const _0x5a0b99=a21_0x2b64b6,_0x3cc232={'QRIcm':function(_0x78df0d,_0x59f2a5){return _0x78df0d(_0x59f2a5);}};let _0x155b56=0x1;if(!helper[_0x5a0b99(0x209)](_0x3e253c[_0x5a0b99(0x1f0)]))_0x155b56=_0x3cc232[_0x5a0b99(0x1ff)](parseInt,_0x3e253c['parallelsPerPlatform']);else{if(!helper['isUndefined'](_0x4c4a2e[_0x5a0b99(0x249)]))_0x155b56=_0x4c4a2e[_0x5a0b99(0x249)];else!helper[_0x5a0b99(0x209)](_0x449180[_0x5a0b99(0x249)])&&(_0x155b56=_0x449180[_0x5a0b99(0x249)]);}return _0x155b56;};async function run(_0x3c6128,_0x297317,_0x4d3743){const _0x1712f5=a21_0x2b64b6,_0xd498c4={'FLoKJ':_0x1712f5(0x1e6),'WBoHS':function(_0x2c40d6,_0x3348f9){return _0x2c40d6(_0x3348f9);},'GrIlO':_0x1712f5(0x272),'ZFoLL':function(_0x34daab){return _0x34daab();},'GpJba':function(_0xadcb0b,_0x40ef0,_0x1d5885,_0x7cdb1d){return _0xadcb0b(_0x40ef0,_0x1d5885,_0x7cdb1d);},'NkEln':function(_0x5a4936,_0x5cf5ce){return _0x5a4936!=_0x5cf5ce;},'XMYMz':_0x1712f5(0x257),'mZgqo':function(_0x48546c,_0x26715c,_0x7d9bcf){return _0x48546c(_0x26715c,_0x7d9bcf);},'GZoVD':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','SlSCq':function(_0x3cbdd9,_0x3ec525){return _0x3cbdd9(_0x3ec525);},'sYdDa':_0x1712f5(0x20a),'xLKmT':function(_0x4f01e6,_0x4797ef){return _0x4f01e6*_0x4797ef;},'zOBsD':function(_0x53d279,_0x5e6bba){return _0x53d279===_0x5e6bba;},'CRpdw':_0x1712f5(0x253),'lPXnb':_0x1712f5(0x265),'YWJBF':'customImplements','katew':_0x1712f5(0x227),'nVtKe':'customTestRunner.js','XPrZc':_0x1712f5(0x263),'GdQsb':'customEnvironment.js','ADslT':function(_0x36925d,_0x49aba3){return _0x36925d!==_0x49aba3;},'whjDv':_0x1712f5(0x27b),'Ohhxn':'jest-runner-','lluHz':_0x1712f5(0x212),'TOBYn':_0x1712f5(0x299),'CplsE':_0x1712f5(0x2a7),'PVwel':_0x1712f5(0x237),'BhjQF':_0x1712f5(0x294),'KGfdy':function(_0x5497ec,_0x370523){return _0x5497ec(_0x370523);},'ylbLh':_0x1712f5(0x224),'lpuox':_0x1712f5(0x1e4),'qlEON':_0x1712f5(0x2ad),'FVlYu':_0x1712f5(0x217),'shvWf':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','fgfln':'playwright','uWGMs':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','VZJtx':_0x1712f5(0x23f),'yogDi':_0x1712f5(0x2ba),'pdPmd':function(_0xe9aaf1,_0x202ea7){return _0xe9aaf1&&_0x202ea7;},'xZWVG':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','GfRTh':'puppeteer','zLgRb':_0x1712f5(0x290),'gioZj':_0x1712f5(0x220),'imJST':function(_0x3a9fd5,_0x43cfb7,_0x5a5068){return _0x3a9fd5(_0x43cfb7,_0x5a5068);},'SToJI':_0x1712f5(0x284),'sVGrv':_0x1712f5(0x219),'oIDOL':_0x1712f5(0x26f),'YeMjX':function(_0x374510,_0x12ed66){return _0x374510>_0x12ed66;},'myzOy':_0x1712f5(0x276),'mWhNO':_0x1712f5(0x293),'oFaQa':function(_0x59c40e,_0x21c7e6,_0x18a346,_0x39d2eb){return _0x59c40e(_0x21c7e6,_0x18a346,_0x39d2eb);},'NyPVt':_0x1712f5(0x282),'ipaJW':_0x1712f5(0x20e),'gVepg':_0x1712f5(0x2cb),'SCEWN':'close'},_0x58e5c7=helper[_0x1712f5(0x271)](_0xd498c4[_0x1712f5(0x1e5)]);global[_0x1712f5(0x2b8)]=!!_0x58e5c7;const _0x4049ff=_0xd498c4['ZFoLL'](getPuppeteerVersion);global[_0x1712f5(0x203)]=!!_0x4049ff;helper[_0x1712f5(0x1e9)]()&&(await _0x4d3743[_0x1712f5(0x28c)](_0x3c6128),await helper['handleApp'](_0x4d3743['config']));if(_0x58e5c7)await _0xd498c4['GpJba'](checkPwandBootstrapCli,_0x58e5c7,constants[_0x1712f5(0x21b)]['JEST'],_0x4d3743);else _0x4049ff&&await _0xd498c4['GpJba'](checkPuppeteerAndBootstrapCli,_0x4049ff,constants['FRAMEWORKS'][_0x1712f5(0x200)],_0x4d3743);!BrowserstackCLI[_0x1712f5(0x24d)]()[_0x1712f5(0x1ed)]()&&await _0x4d3743[_0x1712f5(0x2a5)]();if(!_0x4d3743[_0x1712f5(0x1f1)])return;_0xd498c4['NkEln'](_0x4d3743['config'][_0x1712f5(0x1fa)],null)?process[_0x1712f5(0x244)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4d3743['config'][_0x1712f5(0x1fa)]:process['env'][_0x1712f5(0x225)]=_0xd498c4['XMYMz'];const _0xbba20b=new TestOrchestrationHandler(_0x4d3743['config']),_0x3ed176=await _0xd498c4[_0x1712f5(0x216)](getUserJestConfigs,_0x3c6128,_0x297317);logger[_0x1712f5(0x260)](_0xd498c4[_0x1712f5(0x20d)]);const _0x335e13=Object[_0x1712f5(0x2a9)]({},_0x3ed176);_0x335e13[_0x1712f5(0x21d)]=Object[_0x1712f5(0x2a9)]({},_0x335e13[_0x1712f5(0x21d)],{'server':helper[_0x1712f5(0x2c1)](_0x4d3743[_0x1712f5(0x1f1)]),'environment':_0x3ed176[_0x1712f5(0x283)]}),_0x335e13[_0x1712f5(0x21d)]['browserStackPercyOptions']=_0xd498c4[_0x1712f5(0x234)](getPercyOptions,_0x4d3743[_0x1712f5(0x1f1)]);const _0x571493=helper[_0x1712f5(0x206)](_0x4d3743['config']);!helper[_0x1712f5(0x209)](_0x4d3743['config']['accessibilityOptions'])&&(process[_0x1712f5(0x244)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1712f5(0x251)](_0x4d3743['config']['accessibilityOptions']));if(!BrowserstackCLI[_0x1712f5(0x24d)]()[_0x1712f5(0x1ed)]()){const _0xce7848=await TestHubHandler[_0x1712f5(0x1e1)](FRAMEWORKS[_0x1712f5(0x200)],_0x4d3743);}const _0x5e3ed4=helper[_0x1712f5(0x229)](_0x4d3743[_0x1712f5(0x1f1)],_0x571493,constants[_0x1712f5(0x21b)][_0x1712f5(0x200)]);process[_0x1712f5(0x244)][_0x1712f5(0x24f)]=JSON[_0x1712f5(0x251)](_0x5e3ed4);let _0x244475=_0x4d3743[_0x1712f5(0x1f1)][_0x1712f5(0x2ca)];_0x244475=_0x244475||accessibilityHelper[_0x1712f5(0x202)](_0x4d3743[_0x1712f5(0x1f1)]),process[_0x1712f5(0x244)][_0x1712f5(0x22b)]=_0x244475,logger[_0x1712f5(0x2ab)](_0x1712f5(0x262)+_0x244475+_0x1712f5(0x210)+BrowserstackCLI[_0x1712f5(0x24d)]()[_0x1712f5(0x1ed)]());if(_0x58e5c7)try{const _0x4a17c1=_0xd498c4[_0x1712f5(0x221)](checkAccessibilityPlatformConfig,_0x4d3743[_0x1712f5(0x1f1)]);process[_0x1712f5(0x244)][_0x1712f5(0x2d8)]=_0x4a17c1?_0xd498c4['XMYMz']:_0xd498c4['sYdDa'],logger[_0x1712f5(0x2ab)]('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x4a17c1+_0x1712f5(0x288)+process[_0x1712f5(0x244)][_0x1712f5(0x2d8)]);}catch(_0x573722){logger['debug'](_0x1712f5(0x2d1)+util[_0x1712f5(0x235)](_0x573722));}_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x2d4)]=_0x5e3ed4,_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x277)]=_0xd498c4['mZgqo'](getSerial,_0x5e3ed4,_0x3c6128),_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x2c6)]=_0xd498c4[_0x1712f5(0x29f)](getMaxWorkers,_0x3c6128,_0x4d3743[_0x1712f5(0x1f1)],_0x3ed176),_0x335e13[_0x1712f5(0x21d)]['proxySettings']=_0x4d3743[_0x1712f5(0x1f1)][_0x1712f5(0x266)],_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x289)]=_0xd498c4['xLKmT'](_0x3c6128[_0x1712f5(0x2af)],0x1)||0x1388,_0x335e13['testEnvironmentOptions'][_0x1712f5(0x275)]=_0x4d3743['config'][_0x1712f5(0x21e)][_0x1712f5(0x275)],_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x23d)]=_0x4d3743['config'][_0x1712f5(0x21e)][_0x1712f5(0x23d)],_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x2c5)]=_0x4d3743[_0x1712f5(0x1f1)][_0x1712f5(0x25a)],_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x29c)]=_0x4d3743['config'][_0x1712f5(0x29c)],_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x230)]=_0x4d3743[_0x1712f5(0x1f1)][_0x1712f5(0x250)];const _0x12b5aa=helper[_0x1712f5(0x223)](_0x4d3743[_0x1712f5(0x1f1)]);if(!helper[_0x1712f5(0x269)](_0x12b5aa)){helper[_0x1712f5(0x273)](_0x12b5aa[_0x1712f5(0x1e3)])&&(_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x2a4)]=_0x12b5aa[_0x1712f5(0x1e3)][_0x1712f5(0x2c4)]);if(helper[_0x1712f5(0x273)](_0x12b5aa[_0x1712f5(0x252)])&&helper[_0x1712f5(0x273)](_0x12b5aa['abortBuildOnFailure'][_0x1712f5(0x211)])){const _0x159252={};_0x159252[_0x1712f5(0x2a6)]=_0x12b5aa['abortBuildOnFailure'][_0x1712f5(0x2a0)],_0x159252[_0x1712f5(0x211)]=_0x12b5aa[_0x1712f5(0x252)]['workingDir'],_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x21a)]=_0x159252;}}let _0x21174a='';_0xd498c4[_0x1712f5(0x22d)](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x1712f5(0x242)])?_0x21174a=_0xd498c4[_0x1712f5(0x20b)]:_0x21174a=_0xd498c4[_0x1712f5(0x26d)];const _0x3ccf75=_0x21174a,_0x1a1ccf=path[_0x1712f5(0x21f)](__dirname,_0xd498c4[_0x1712f5(0x274)],_0xd498c4['katew']),_0x37dd7e=path['join'](__dirname,_0xd498c4['YWJBF'],_0xd498c4[_0x1712f5(0x24e)]),_0x339543=path[_0x1712f5(0x21f)](__dirname,_0xd498c4[_0x1712f5(0x274)],_0xd498c4['XPrZc']);_0x335e13[_0x1712f5(0x283)]&&(process[_0x1712f5(0x244)][_0x1712f5(0x1f9)]=_0x335e13[_0x1712f5(0x283)]);_0x335e13['testEnvironment']=path[_0x1712f5(0x21f)](__dirname,_0xd498c4['YWJBF'],_0xd498c4[_0x1712f5(0x28d)]);const _0x3f457e=_0x3ed176[_0x1712f5(0x2ac)];if(_0x3f457e&&_0xd498c4['ADslT'](_0x3f457e,_0xd498c4[_0x1712f5(0x23a)])){const _0x167a44=_0x3f457e[_0x1712f5(0x29e)](_0xd498c4[_0x1712f5(0x2aa)])?_0x3f457e:_0x1712f5(0x25e)+_0x3f457e;process['env'][_0x1712f5(0x28e)]=_0x167a44,logger[_0x1712f5(0x260)](_0x1712f5(0x29a)+_0x167a44);}_0x335e13[_0x1712f5(0x2ac)]=_0x37dd7e,_0x335e13[_0x1712f5(0x2bd)]=_0x335e13[_0x1712f5(0x2bd)]||[],_0x335e13[_0x1712f5(0x2bd)][_0x1712f5(0x2ce)](path[_0x1712f5(0x21f)](__dirname,_0xd498c4[_0x1712f5(0x2c0)]));_0xbba20b['isTestOrchestrationEnabled']()&&(_0x335e13[_0x1712f5(0x292)]=path[_0x1712f5(0x21f)](__dirname,_0xd498c4['YWJBF'],_0xd498c4['TOBYn']));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI['getInstance']()['isCliEnabled']()){let _0x1d6df2=null;try{_0x1d6df2=helper[_0x1712f5(0x26a)](_0xd498c4[_0x1712f5(0x2bf)],_0xd498c4[_0x1712f5(0x201)]);}catch(_0xc468fa){try{_0x1d6df2=helper['requireModule'](_0xd498c4[_0x1712f5(0x245)],_0xd498c4['PVwel']);}catch(_0x5ba8e8){_0xd498c4[_0x1712f5(0x286)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x5ba8e8);}}_0x1d6df2&&(testhubUtils[_0x1712f5(0x26c)]()&&_0x335e13[_0x1712f5(0x2bd)]['push'](path[_0x1712f5(0x21f)](__dirname,_0xd498c4['ylbLh'],_0xd498c4[_0x1712f5(0x1ea)])),_0x335e13[_0x1712f5(0x1fb)]=path[_0x1712f5(0x21f)](__dirname,_0xd498c4[_0x1712f5(0x274)],_0xd498c4[_0x1712f5(0x20f)]));}_0x335e13[_0x1712f5(0x22c)]=_0x335e13['setupFiles']||[];try{helper[_0x1712f5(0x1f4)](),_0x335e13[_0x1712f5(0x22c)][_0x1712f5(0x2ce)](path['join'](__dirname,_0xd498c4[_0x1712f5(0x2bb)]));}catch{logger[_0x1712f5(0x2ab)](_0xd498c4[_0x1712f5(0x2c2)]);}try{helper[_0x1712f5(0x2dd)][_0x1712f5(0x243)](null,[_0xd498c4[_0x1712f5(0x1e5)],_0xd498c4[_0x1712f5(0x27c)]]),logger[_0x1712f5(0x2ab)](_0xd498c4[_0x1712f5(0x25b)]),_0x335e13[_0x1712f5(0x22c)][_0x1712f5(0x2ce)](path['join'](__dirname,_0xd498c4[_0x1712f5(0x296)]));}catch(_0x3f3b03){logger[_0x1712f5(0x2ab)](_0xd498c4[_0x1712f5(0x241)],_0x3f3b03);}if(_0xd498c4['pdPmd'](!_0x58e5c7,_0x4049ff)){try{logger[_0x1712f5(0x2ab)](_0xd498c4[_0x1712f5(0x1f6)]),_0x335e13['setupFilesAfterEnv'][_0x1712f5(0x2ce)](path['join'](__dirname,'..',_0xd498c4[_0x1712f5(0x291)],_0xd498c4[_0x1712f5(0x296)]));}catch(_0x137373){logger[_0x1712f5(0x2ab)]('Puppeteer\x20setup\x20error:\x20'+_0x137373[_0x1712f5(0x2c7)]);}try{const _0x31b1c8=require[_0x1712f5(0x236)](_0xd498c4[_0x1712f5(0x2d9)]),_0x369d07=path['dirname'](_0x31b1c8)[_0x1712f5(0x22f)](/\\/g,'/'),_0x260bec={};_0x260bec[_0x1712f5(0x270)]=_0x369d07+_0x1712f5(0x1e2),_0x335e13[_0x1712f5(0x1e0)]=Object[_0x1712f5(0x2a9)]({},_0x335e13[_0x1712f5(0x1e0)]||{},_0x260bec),logger[_0x1712f5(0x2ab)](_0x1712f5(0x25d)+_0x369d07);}catch(_0x115ca5){logger['debug'](_0x1712f5(0x24c)+_0x115ca5[_0x1712f5(0x2c7)]);}}_0x335e13[_0x1712f5(0x2db)]=_0x335e13[_0x1712f5(0x2db)]||[_0xd498c4[_0x1712f5(0x29d)]],_0xd498c4['imJST'](updateTestRerunConfig,_0x335e13,_0x4d3743);const _0x17d4c5=fs[_0x1712f5(0x222)](_0x339543),_0x7519ac=helper[_0x1712f5(0x228)](_0xd498c4[_0x1712f5(0x1fd)],_0xd498c4[_0x1712f5(0x2bc)]);!_0x7519ac[_0x1712f5(0x2a2)]?fs[_0x1712f5(0x248)](_0x335e13[_0x1712f5(0x2ac)],_0x1712f5(0x2d0)+_0x17d4c5+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x4d3743[_0x1712f5(0x1f1)]['platforms'][_0x1712f5(0x280)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'):fs[_0x1712f5(0x248)](_0x335e13[_0x1712f5(0x2ac)],_0x1712f5(0x2d0)+_0x17d4c5+_0x1712f5(0x1fc)+_0x4d3743[_0x1712f5(0x1f1)][_0x1712f5(0x250)]['length']+_0x1712f5(0x2d5));logger[_0x1712f5(0x260)](_0x1712f5(0x29b)+_0x3ccf75+_0x1712f5(0x2d7)),fs['writeFileSync'](_0x3ccf75,'const\x20config='+JSON[_0x1712f5(0x251)](_0x335e13)+'\x0amodule.exports\x20=\x20config;');if(_0xbba20b[_0x1712f5(0x20c)]()){logger[_0x1712f5(0x2ab)](_0xd498c4[_0x1712f5(0x28f)]);const _0x3d40aa=await _0xbba20b[_0x1712f5(0x2a8)](_0x335e13,_0x297317[_0x1712f5(0x297)](0x1),_0x3ccf75);logger[_0x1712f5(0x2ab)](_0x1712f5(0x1f5)+JSON[_0x1712f5(0x251)](_0x3d40aa)+_0x1712f5(0x208));const _0x454786=await _0xbba20b[_0x1712f5(0x2b7)](_0x3d40aa);logger[_0x1712f5(0x2ab)](_0x1712f5(0x26b)+JSON['stringify'](_0x454786)),_0x454786&&_0xd498c4[_0x1712f5(0x1f3)](_0x454786['length'],0x0)&&(process[_0x1712f5(0x244)][_0x1712f5(0x205)]=_0x454786?.[_0x1712f5(0x21f)](','));}logger['info'](_0xd498c4['myzOy']);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x1712f5(0x261)]();helper[_0x1712f5(0x1f8)]({},_0x297317),PerformanceTester[_0x1712f5(0x2c9)](PerformanceEvents[_0x1712f5(0x2a3)]);const _0x47c0ea=[_0xd498c4[_0x1712f5(0x1ef)],_0xd498c4['mWhNO'],_0x3ccf75,..._0x297317['slice'](0x1)];process['env'][_0x1712f5(0x226)]=process['env'][_0x1712f5(0x226)]||_0xd498c4[_0x1712f5(0x1ef)];const _0x1ab1d5=_0xd498c4[_0x1712f5(0x24a)](spawn,_0xd498c4[_0x1712f5(0x254)],_0x47c0ea,{'shell':_0xd498c4[_0x1712f5(0x22d)](process[_0x1712f5(0x2c8)],_0xd498c4['ipaJW']),'stdio':_0xd498c4[_0x1712f5(0x214)],'env':Object[_0x1712f5(0x2a9)]({},process['env'])});_0x1ab1d5['on'](_0xd498c4['SCEWN'],async _0x33fdf3=>{const _0x3254fa=_0x1712f5;PerformanceTester[_0x3254fa(0x232)](PerformanceEvents[_0x3254fa(0x268)]),process[_0x3254fa(0x1fe)]=_0x33fdf3,logger[_0x3254fa(0x2ab)](_0x3254fa(0x287)+_0x33fdf3),logger[_0x3254fa(0x260)](_0x3254fa(0x27f)+_0x3ccf75);if(helper[_0x3254fa(0x273)](_0x12b5aa)&&helper[_0x3254fa(0x273)](_0x12b5aa[_0x3254fa(0x252)])&&fs[_0x3254fa(0x239)](_0x12b5aa['abortBuildOnFailure']['workingDir']))try{const _0x1a922c={};_0x1a922c[_0x3254fa(0x1f7)]=!![],_0x1a922c[_0x3254fa(0x1eb)]=!![],fs[_0x3254fa(0x256)](_0x12b5aa[_0x3254fa(0x252)][_0x3254fa(0x211)],_0x1a922c),logger[_0x3254fa(0x2ab)](_0x3254fa(0x204)+_0x12b5aa[_0x3254fa(0x252)][_0x3254fa(0x211)]);}catch(_0x1a83a6){logger[_0x3254fa(0x2a2)](_0x3254fa(0x2b0)+_0x1a83a6);}let _0xb8a8a3=null;if(fs[_0x3254fa(0x239)](_0x1a1ccf)){_0xb8a8a3=fs[_0x3254fa(0x222)](_0x1a1ccf);try{_0xb8a8a3=JSON[_0x3254fa(0x2b6)](_0xb8a8a3);}catch(_0x1c7a08){logger[_0x3254fa(0x2ab)](_0x3254fa(0x218)+_0x1a1ccf+',\x20'+_0xb8a8a3+_0x3254fa(0x22a)+_0x1c7a08);}fs['unlinkSync'](_0x1a1ccf);}fs[_0x3254fa(0x2cc)](_0x3ccf75),fs[_0x3254fa(0x2cc)](_0x37dd7e),_0xb8a8a3&&(_0x4d3743[_0x3254fa(0x2ae)]=helper[_0x3254fa(0x281)](_0xb8a8a3,_0xd498c4[_0x3254fa(0x1ef)],_0x4d3743));const _0x3e0753=BrowserstackCLI[_0x3254fa(0x2d3)]();try{await TestHubHandler[_0x3254fa(0x2da)](),await BrowserstackCLI['getInstance']()[_0x3254fa(0x2da)]();}catch(_0x35d4c6){console[_0x3254fa(0x2b4)](_0x35d4c6),_0xd498c4[_0x3254fa(0x221)](debug,_0x3254fa(0x267)+util[_0x3254fa(0x235)](_0x35d4c6));}testOpsHelper[_0x3254fa(0x27d)](),TestDetails[_0x3254fa(0x2cd)](),await utilities[_0x3254fa(0x26e)](_0x4d3743,_0x3e0753);});}module['exports']=run;function a21_0x1525(_0x4d9b61,_0x447998){const _0x1afc65=a21_0x1afc();return a21_0x1525=function(_0x152510,_0x26bc14){_0x152510=_0x152510-0x1e0;let _0x18b0e4=_0x1afc65[_0x152510];return _0x18b0e4;},a21_0x1525(_0x4d9b61,_0x447998);}function a21_0x1afc(){const _0x2e7714=['resolveModule','prepareCapabilities','\x20:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','setupFiles','zOBsD','../../helpers/testhub/utils','replace','platformCaps','mjs','start','690650rOhNCl','SlSCq','format','resolve','jest-circus','Qrkwn','existsSync','whjDv','./test-observability/helper','child_process','skipSessionStatus','package.json','test.setup.js','TvrYY','yogDi','MODULE','apply','env','BhjQF','4FIEgyz','../../helpers/percy/utils','writeFileSync','maxWorkers','oFaQa','153200bIdoeg','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','getInstance','nVtKe','BROWSERSTACK_CAPABILITIES','platforms','stringify','abortBuildOnFailure','jest_browserstack.config.cjs','NyPVt','../../helpers/logger','rmSync','true','../../helpers/accessibility-automation/helper','ibryl','logLevel','uWGMs','../../helpers/performance/constants','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','jest-runner-','../../helpers/testhub/testhubHandler','info','setup','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','customTestRunnerTemplate.js','USER_CONFIG_DETAILS_PATH','jest_browserstack.config.js','proxySettings','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','SDK_CLEANUP','isEmpty','requireModule','Reodered\x20Test\x20Files:\x20','shouldProcessEventForTesthub','lPXnb','finalExecution','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','^puppeteer-core/internal/(.*)','getPackageVersion','@playwright/test','isNotUndefined','YWJBF','skipSessionName','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','serial__','jest.config.','1260918sblEVs','../../helpers/playwright-helper','jest-runner','fgfln','printBuildLink','../../helpers/performance/performance-tester','Deleting\x20','length','getErrorMessageFromResults','npx','testEnvironment','@jest/core/build/ReporterDispatcher.js','CWjbp','KGfdy','child\x20process\x20exited\x20with\x20code\x20',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','timeout__','WShoO','198ZKqEBV','initialize','GdQsb','BSTACK_USER_JEST_RUNNER','oIDOL','puppeteer-core/package.json','GfRTh','testSequencer','--config','jest-circus/build/runner.js','JSuLS','VZJtx','slice','qlCDn','customSequencer.js','Preserving\x20user\x27s\x20Jest\x20runner:\x20','Creating\x20','turboScaleUrl','gioZj','startsWith','GpJba','maxFailures','BlToy','error','SDK_SETUP','retries__','setupBrowserstackLocal','failureThresholdCount','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','findTestFiles','assign','Ohhxn','debug','runner','customCircus.js','errorMessage','testTimeout','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','../../helpers/test-observability/constants','Getting\x20your\x20jest\x20configs\x20from\x20package.json','findIndex','log','cwd','parse','reorderTestFiles','__isPlaywrightInstalled','1032850pFFYhT','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','FVlYu','sVGrv','setupFilesAfterEnv','../../helpers/puppeteer-helper','CplsE','lluHz','getHubUrl','shvWf','../utils/constants','maxRetries','browserStackLogLevel','parallels__','message','platform','end','accessibility','inherit','unlinkSync','shutdown','push','965877ODwIHl','\x0a\x20\x20\x20\x20\x20\x20','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','585933fYefaS','isCLIEnabled','capabilities',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','runInBand','\x20with\x20browserstack\x20jest\x20configs','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','zLgRb','stop','reporters','cjs','requirePWModule','../../helpers/utilities','moduleNameMapper','launchBuild','/internal/$1','retryTestsOnFailure','data-hooks.js','GrIlO','jest','../../helpers/BrowserStackSetup','../../helpers/helper','isBrowserstackInfra','lpuox','force','JDabg','isRunning','ZMaGD','FLoKJ','parallelsPerPlatform','config','251644gTbbLN','YeMjX','requireSeleniumWebdriver','Found:\x20','xZWVG','recursive','filterBrowserstackArgs','BSTACK_JEST_TEST_ENV','testObservability','testRunner','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','SToJI','exitCode','QRIcm','JEST','PVwel','checkAccessibilityPlatformConfig','__isPuppeteerInstalled','Deleted\x20fail-fast\x20state\x20folder:\x20','JEST_TEST_ORDER','useW3C','./test-observability/test-details','\x20test\x20files\x20to\x20run.','isUndefined','false','CRpdw','isTestOrchestrationEnabled','GZoVD','win32','qlEON',',\x20CLI\x20running:\x20','workingDir','jest.setup.js','jest-config','gVepg','readInitialOptions','mZgqo','test_before.setup.js','Error\x20while\x20parsing\x20','@jest/core','failFast','FRAMEWORKS','../../helpers/test-observability/utils','testEnvironmentOptions','testContextOptions','join','default','WBoHS','readFileSync','parseTestOrchestrationOptions','test-observability','BROWSERSTACK_TEST_OBSERVABILITY_YML','BROWSERSTACK_FRAMEWORK','jest_browserstack_results.json'];a21_0x1afc=function(){return _0x2e7714;};return a21_0x1afc();}
@@ -1 +1 @@
1
- const a22_0x1747ae=a22_0x5871;(function(_0x52bf8b,_0xa0f9ef){const _0x40ae69=a22_0x5871,_0x2c6550=_0x52bf8b();while(!![]){try{const _0x583a94=-parseInt(_0x40ae69(0x9b))/0x1*(-parseInt(_0x40ae69(0xa4))/0x2)+-parseInt(_0x40ae69(0xa9))/0x3*(parseInt(_0x40ae69(0x98))/0x4)+-parseInt(_0x40ae69(0x99))/0x5+-parseInt(_0x40ae69(0xb1))/0x6*(-parseInt(_0x40ae69(0x9c))/0x7)+parseInt(_0x40ae69(0xab))/0x8*(parseInt(_0x40ae69(0xaa))/0x9)+parseInt(_0x40ae69(0xa6))/0xa+-parseInt(_0x40ae69(0xac))/0xb*(parseInt(_0x40ae69(0xae))/0xc);if(_0x583a94===_0xa0f9ef)break;else _0x2c6550['push'](_0x2c6550['shift']());}catch(_0x15e3cb){_0x2c6550['push'](_0x2c6550['shift']());}}}(a22_0x212e,0x2719a));function a22_0x5871(_0x4e8979,_0x58610c){const _0x212e73=a22_0x212e();return a22_0x5871=function(_0x587126,_0x123049){_0x587126=_0x587126-0x98;let _0x1ec5a8=_0x212e73[_0x587126];return _0x1ec5a8;},a22_0x5871(_0x4e8979,_0x58610c);}const path=require('path'),{requireModule}=require(a22_0x1747ae(0x9f));let initJestAdapter;function a22_0x212e(){const _0x3aea00=['1089LSyPqr','jest-circus/build/runner.js','31704fSISML','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','default','1542XgzALt','213748EJSUPb','582070RflMgs','includes','26550FrDLNz','2933PKXAUE','jest-circus','OTqcd','../../../helpers/helper','exports','eokCP','jestAdapterInit','requireInternalModule','12oowjNa','customJestAdapterInit.js','2928370HQSgEs','srbvK','initRequireModule','3fqeBmP','27dzPCej','84648vLKKFr'];a22_0x212e=function(){return _0x3aea00;};return a22_0x212e();}try{initJestAdapter=requireModule(a22_0x1747ae(0xaf),'jest-circus');}catch{initJestAdapter=requireModule(a22_0x1747ae(0xad),a22_0x1747ae(0x9d));}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a22_0x1747ae(0xb0)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,a22_0x1747ae(0xa5));module[a22_0x1747ae(0xa0)]=(..._0x2dc2ce)=>{const _0x22c5fd=a22_0x1747ae,_0x4b7237={'OTqcd':_0x22c5fd(0xa2),'eokCP':function(_0x4df104,_0x5bedd0){return _0x4df104===_0x5bedd0;},'srbvK':function(_0x4773db,..._0x440024){return _0x4773db(..._0x440024);}};return _0x2dc2ce[0x3][_0x22c5fd(0xa8)]=_0x2dc2ce[0x3][_0x22c5fd(0xa3)],_0x2dc2ce[0x3][_0x22c5fd(0xa3)]=(..._0x419254)=>{const _0x34baed=_0x22c5fd;if(_0x419254[0x0]&&_0x419254[0x0][_0x34baed(0x9a)](_0x4b7237[_0x34baed(0x9e)])&&_0x4b7237[_0x34baed(0xa1)](_0x419254[0x1],undefined))return _0x2dc2ce[0x3][_0x34baed(0xa8)](FRAMEWORK_INITIALIZER);return _0x2dc2ce[0x3]['initRequireModule'](..._0x419254);},_0x4b7237[_0x22c5fd(0xa7)](initJestAdapter,..._0x2dc2ce);};
1
+ const a22_0x13783e=a22_0xcc1f;(function(_0x2c5a50,_0x1d657f){const _0x3fabab=a22_0xcc1f,_0x5239d4=_0x2c5a50();while(!![]){try{const _0x1f9cd6=parseInt(_0x3fabab(0x112))/0x1+parseInt(_0x3fabab(0x122))/0x2+parseInt(_0x3fabab(0x113))/0x3*(-parseInt(_0x3fabab(0x119))/0x4)+parseInt(_0x3fabab(0x120))/0x5+parseInt(_0x3fabab(0x11e))/0x6+parseInt(_0x3fabab(0x116))/0x7+-parseInt(_0x3fabab(0x115))/0x8;if(_0x1f9cd6===_0x1d657f)break;else _0x5239d4['push'](_0x5239d4['shift']());}catch(_0x487a51){_0x5239d4['push'](_0x5239d4['shift']());}}}(a22_0x52c4,0xee0e4));const path=require('path'),{requireModule}=require(a22_0x13783e(0x11f));let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jest-circus');}catch{initJestAdapter=requireModule(a22_0x13783e(0x121),a22_0x13783e(0x11d));}function a22_0xcc1f(_0x1b6975,_0x15e02c){const _0x52c4cd=a22_0x52c4();return a22_0xcc1f=function(_0xcc1fcf,_0x31e431){_0xcc1fcf=_0xcc1fcf-0x112;let _0x421c37=_0x52c4cd[_0xcc1fcf];return _0x421c37;},a22_0xcc1f(_0x1b6975,_0x15e02c);}initJestAdapter=typeof initJestAdapter===a22_0x13783e(0x117)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path['join'](__dirname,a22_0x13783e(0x11a));module[a22_0x13783e(0x123)]=(..._0x1529b9)=>{const _0x1fc289=a22_0x13783e,_0x18e26e={'ZeGUd':'jestAdapterInit','NPAXc':function(_0x3fef7e,_0x3926f1){return _0x3fef7e===_0x3926f1;},'HYCUd':function(_0x20d171,..._0x3bae2e){return _0x20d171(..._0x3bae2e);}};return _0x1529b9[0x3]['initRequireModule']=_0x1529b9[0x3][_0x1fc289(0x11b)],_0x1529b9[0x3][_0x1fc289(0x11b)]=(..._0x5863e3)=>{const _0x45e1a7=_0x1fc289;if(_0x5863e3[0x0]&&_0x5863e3[0x0][_0x45e1a7(0x11c)](_0x18e26e['ZeGUd'])&&_0x18e26e['NPAXc'](_0x5863e3[0x1],undefined))return _0x1529b9[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x1529b9[0x3][_0x45e1a7(0x114)](..._0x5863e3);},_0x18e26e[_0x1fc289(0x118)](initJestAdapter,..._0x1529b9);};function a22_0x52c4(){const _0x87e22b=['185820IPlbVJ','initRequireModule','40055240iDsJoK','128268TWLQYp','function','HYCUd','24NZFGmI','customJestAdapterInit.js','requireInternalModule','includes','jest-circus','9716964cHhkIR','../../../helpers/helper','8813155DGhVBs','jest-circus/build/runner.js','2257712rnmIKY','exports','1824316rPQnLA'];a22_0x52c4=function(){return _0x87e22b;};return a22_0x52c4();}