browserstack-node-sdk 1.70.0 → 1.70.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/mochaTestFramework.js +1 -1
  139. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  140. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  142. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  143. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  144. package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testFramework.js +1 -1
  146. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  147. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  148. package/src/bin/v2/grpcClient.js +1 -1
  149. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  150. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  151. package/src/bin/v2/instances/trackedContext.js +1 -1
  152. package/src/bin/v2/instances/trackedInstance.js +1 -1
  153. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  154. package/src/bin/v2/modules/baseModule.js +1 -1
  155. package/src/bin/v2/modules/loadTestModule.js +1 -1
  156. package/src/bin/v2/modules/observabilityModule.js +1 -1
  157. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  158. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  159. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  160. package/src/bin/v2/modules/testhubModule.js +1 -1
  161. package/src/bin/v2/runStateStore.js +1 -1
  162. package/src/bin/v2/sdkErrorHandler.js +1 -1
  163. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  164. package/src/bin/v2/state/hookState.js +1 -1
  165. package/src/bin/v2/state/testFrameworkState.js +1 -1
  166. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  167. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  168. package/src/bin/v2/utils/jest-utils.js +1 -1
  169. package/src/bin/vanilla-js/command.js +1 -1
  170. package/src/browserStackSdk.js +1 -1
  171. package/src/helpers/BrowserStackSetup.js +1 -1
  172. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  173. package/src/helpers/accessibility-automation/constants.js +1 -1
  174. package/src/helpers/accessibility-automation/helper.js +1 -1
  175. package/src/helpers/accessibility-automation/scripts.js +1 -1
  176. package/src/helpers/ats/constants.js +1 -1
  177. package/src/helpers/ats/helper.js +1 -1
  178. package/src/helpers/caCertHelper.js +1 -1
  179. package/src/helpers/capsMapping.js +1 -1
  180. package/src/helpers/central-scanner/constants.js +1 -1
  181. package/src/helpers/central-scanner/helpers.js +1 -1
  182. package/src/helpers/classLogger.js +1 -1
  183. package/src/helpers/driverInitErrorReporter.js +1 -1
  184. package/src/helpers/globals.js +1 -1
  185. package/src/helpers/helper.js +1 -1
  186. package/src/helpers/logger.js +1 -1
  187. package/src/helpers/metadata.js +1 -1
  188. package/src/helpers/patchHelper.js +1 -1
  189. package/src/helpers/patchHelpers.js +1 -1
  190. package/src/helpers/percy/Percy.js +1 -1
  191. package/src/helpers/percy/PercyBinary.js +1 -1
  192. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  193. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  194. package/src/helpers/percy/PercySDK.js +1 -1
  195. package/src/helpers/percy/index.js +1 -1
  196. package/src/helpers/percy/utils.js +1 -1
  197. package/src/helpers/performance/constants.js +1 -1
  198. package/src/helpers/performance/performance-tester.js +1 -1
  199. package/src/helpers/playwright-helper.js +1 -1
  200. package/src/helpers/processHelper.js +1 -1
  201. package/src/helpers/puppeteer-helper.js +1 -1
  202. package/src/helpers/request-spy.js +1 -1
  203. package/src/helpers/setKeepAlive.js +1 -1
  204. package/src/helpers/stackFrameUtils.js +1 -1
  205. package/src/helpers/test-observability/constants.js +1 -1
  206. package/src/helpers/test-observability/error-handler.js +1 -1
  207. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  208. package/src/helpers/test-observability/sessionHandler.js +1 -1
  209. package/src/helpers/test-observability/utils.js +1 -1
  210. package/src/helpers/test-orchestration/constants.js +1 -1
  211. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  212. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  213. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  214. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  215. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  216. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  217. package/src/helpers/testhub/constants.js +1 -1
  218. package/src/helpers/testhub/testhubHandler.js +1 -1
  219. package/src/helpers/testhub/utils.js +1 -1
  220. package/src/helpers/utilities.js +1 -1
  221. package/src/helpers/w3cMapping.js +1 -1
  222. package/src/hubAllocationMethods.js +1 -1
  223. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a15_0x1564(_0x444cf0,_0x1c6134){const _0x338ccf=a15_0x338c();return a15_0x1564=function(_0x1564ce,_0x46ea66){_0x1564ce=_0x1564ce-0x1ae;let _0x3e016a=_0x338ccf[_0x1564ce];return _0x3e016a;},a15_0x1564(_0x444cf0,_0x1c6134);}const a15_0x3518e8=a15_0x1564;(function(_0x2616a1,_0x5c19a4){const _0x1bfeb3=a15_0x1564,_0x114196=_0x2616a1();while(!![]){try{const _0x5ef30d=parseInt(_0x1bfeb3(0x1ea))/0x1*(parseInt(_0x1bfeb3(0x1c7))/0x2)+-parseInt(_0x1bfeb3(0x1f2))/0x3+parseInt(_0x1bfeb3(0x1c1))/0x4*(parseInt(_0x1bfeb3(0x1e1))/0x5)+parseInt(_0x1bfeb3(0x1d8))/0x6*(parseInt(_0x1bfeb3(0x1c0))/0x7)+-parseInt(_0x1bfeb3(0x1de))/0x8*(parseInt(_0x1bfeb3(0x1c6))/0x9)+-parseInt(_0x1bfeb3(0x1d4))/0xa*(parseInt(_0x1bfeb3(0x1cf))/0xb)+parseInt(_0x1bfeb3(0x1cd))/0xc;if(_0x5ef30d===_0x5c19a4)break;else _0x114196['push'](_0x114196['shift']());}catch(_0x20ca96){_0x114196['push'](_0x114196['shift']());}}}(a15_0x338c,0xb64d9));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a15_0x3518e8(0x1bc))[a15_0x3518e8(0x1ed)],{URL}=require(a15_0x3518e8(0x1b7)),helper=require(a15_0x3518e8(0x1e2)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x4d2b74){const _0x2809d2=a15_0x3518e8;return _0x4d2b74[_0x2809d2(0x1da)](',')['every'](_0xdd5b2f=>{const _0x3bac7a=_0x2809d2;try{new URL(_0xdd5b2f[_0x3bac7a(0x1eb)]());}catch(_0x4f337e){return![];}return!![];});},parseOnPremHosts=function(_0x2d6c2c){const _0x382d73=a15_0x3518e8,_0x2e8f0a={};_0x2e8f0a[_0x382d73(0x1cc)]=function(_0x1ad8b2,_0x2a1acb){return _0x1ad8b2===_0x2a1acb;},_0x2e8f0a['ZPFTM']=_0x382d73(0x1f9),_0x2e8f0a[_0x382d73(0x1c3)]=_0x382d73(0x1db),_0x2e8f0a[_0x382d73(0x1d2)]=function(_0xe45e68,_0x529db8){return _0xe45e68===_0x529db8;},_0x2e8f0a[_0x382d73(0x1b5)]=_0x382d73(0x1cb);const _0x17ffd3=_0x2e8f0a;return _0x2d6c2c[_0x382d73(0x1da)](',')['map'](_0x3123d5=>{const _0x24fce5=_0x382d73,_0x39814c=new URL(_0x3123d5[_0x24fce5(0x1eb)]()),_0x1bfb26=_0x39814c[_0x24fce5(0x1ee)],_0x78139e=_0x39814c[_0x24fce5(0x1f1)]||(_0x17ffd3['dERLJ'](_0x39814c[_0x24fce5(0x1d6)],_0x17ffd3['ZPFTM'])?_0x17ffd3[_0x24fce5(0x1c3)]:'80'),_0xa1295d=_0x39814c['protocol']['replace'](':',''),_0x5c3cff=_0x17ffd3[_0x24fce5(0x1d2)](_0xa1295d,_0x17ffd3['QPPUz'])?0x1:0x0;return _0x1bfb26+','+_0x78139e+','+_0x5c3cff;});},connectCommandBuilder=function(_0x4f9180){const _0x3ec1cf=a15_0x3518e8,_0x3c6afc={};_0x3c6afc[_0x3ec1cf(0x1ca)]=_0x3ec1cf(0x1d7);const _0x4c931b=_0x3c6afc,_0x5db47b={};_0x5db47b[_0x3ec1cf(0x1b1)]=HELP_MESSAGES[_0x3ec1cf(0x1f0)][_0x3ec1cf(0x1e7)],_0x5db47b[_0x3ec1cf(0x1ae)]=_0x4c931b[_0x3ec1cf(0x1ca)];const _0xf5adc5={};_0xf5adc5['describe']=HELP_MESSAGES[_0x3ec1cf(0x1f0)][_0x3ec1cf(0x1ba)],_0xf5adc5[_0x3ec1cf(0x1ae)]=_0x4c931b[_0x3ec1cf(0x1ca)],_0xf5adc5['demandOption']=!![];const _0x4a518d={};return _0x4a518d[_0x3ec1cf(0x1b9)]=_0x5db47b,_0x4a518d[_0x3ec1cf(0x1ba)]=_0xf5adc5,_0x4f9180['options'](_0x4a518d);},connectCommandHandler=async function(_0x39bdfc){const _0x2af2a0=a15_0x3518e8,_0x4c932e={'ASQWg':_0x2af2a0(0x1b6),'CVKrl':function(_0x1ea7d7,_0x32e41c){return _0x1ea7d7===_0x32e41c;},'SHIVA':_0x2af2a0(0x1f8),'eSkTt':_0x2af2a0(0x1bb),'haHKE':'Integration\x20hosts\x20missing.','lZQPG':function(_0x12b52a,_0x1c74ac){return _0x12b52a(_0x1c74ac);},'sIRAk':_0x2af2a0(0x1b0),'uRkbn':_0x2af2a0(0x1f3),'nVNQh':_0x2af2a0(0x1bd),'NQGHt':_0x2af2a0(0x1e5)};try{const _0x332f86=new BrowserStackSetup(_0x39bdfc,_0x4c932e[_0x2af2a0(0x1e6)]);_0x39bdfc['bstackAccesskey']&&(_0x332f86[_0x2af2a0(0x1c9)][_0x2af2a0(0x1d1)]=_0x39bdfc[_0x2af2a0(0x1d5)]);if(_0x4c932e[_0x2af2a0(0x1d0)](typeof _0x332f86[_0x2af2a0(0x1c9)][_0x2af2a0(0x1d1)],_0x4c932e[_0x2af2a0(0x1f5)])){logger[_0x2af2a0(0x1dc)](_0x4c932e[_0x2af2a0(0x1af)]);throw new Error(ERROR_MESSAGES['bstackAccessKey']['missing']);}const _0x3c7533=_0x39bdfc[_0x2af2a0(0x1ba)];if(_0x4c932e[_0x2af2a0(0x1d0)](typeof _0x3c7533,_0x4c932e[_0x2af2a0(0x1f5)])){logger[_0x2af2a0(0x1dc)](_0x4c932e[_0x2af2a0(0x1df)]);throw new Error(ERROR_MESSAGES[_0x2af2a0(0x1ba)][_0x2af2a0(0x1c8)]);}if(!_0x4c932e[_0x2af2a0(0x1dd)](validHosts,_0x3c7533)){logger[_0x2af2a0(0x1dc)](_0x4c932e[_0x2af2a0(0x1d3)]);throw new Error(ERROR_MESSAGES['hosts']['invalid']);}const _0x3f7355=_0x4c932e[_0x2af2a0(0x1dd)](parseOnPremHosts,_0x3c7533);_0x332f86[_0x2af2a0(0x1c9)][_0x2af2a0(0x1b4)]=!![],_0x332f86['config']['browserStackLocalOptions']['localIdentifier']=_0x4c932e[_0x2af2a0(0x1be)],_0x332f86[_0x2af2a0(0x1c9)][_0x2af2a0(0x1b3)][_0x2af2a0(0x1ec)]=_0x3f7355[_0x2af2a0(0x1ef)](','),helper[_0x2af2a0(0x1e4)](_0x332f86[_0x2af2a0(0x1c9)]),await _0x332f86[_0x2af2a0(0x1c2)](),logger[_0x2af2a0(0x1f7)](_0x4c932e[_0x2af2a0(0x1c5)]);}catch(_0x461bbd){logger[_0x2af2a0(0x1dc)](_0x4c932e[_0x2af2a0(0x1bf)]);throw new Error(_0x461bbd[_0x2af2a0(0x1e9)]());}};function run(_0x448662){const _0x2cc6c3=a15_0x3518e8,_0x1c2190={};_0x1c2190[_0x2cc6c3(0x1ce)]=_0x2cc6c3(0x1f4),_0x1c2190[_0x2cc6c3(0x1e0)]=_0x2cc6c3(0x1e3);const _0x48dc43=_0x1c2190;_0x448662[_0x2cc6c3(0x1e8)](HELP_MESSAGES[_0x2cc6c3(0x1b2)][_0x2cc6c3(0x1f6)])[_0x2cc6c3(0x1b2)](_0x48dc43['OZKdP'],HELP_MESSAGES[_0x2cc6c3(0x1b2)][_0x2cc6c3(0x1f4)],connectCommandBuilder,connectCommandHandler)[_0x2cc6c3(0x1c4)]()['help'](_0x48dc43['NkngG'])['epilogue'](HELP_MESSAGES[_0x2cc6c3(0x1b2)][_0x2cc6c3(0x1d9)]);}function a15_0x338c(){const _0x3c9dac=['demandCommand','nVNQh','195759prppXr','3788tRsKIO','missing','config','adBTH','https','dERLJ','23291496PkoxOU','OZKdP','1551kJsTUQ','CVKrl','accessKey','rXyda','sIRAk','34480jwOBqv','bstackAccesskey','protocol','string','576LnyhsW','footer','split','443','error','lZQPG','536kKtAtj','haHKE','NkngG','4056385wofOGm','../../helpers/helper','help','setProxySettings','Failed\x20to\x20establish\x20connection.','ASQWg','bstackAccessKey','usage','toString','325OMNXIC','trim','only','winstonLogger','hostname','join','options','port','4020249cSFKZK','integrations-repeater','connect','SHIVA','root','info','undefined','https:','type','eSkTt','Hosts\x20not\x20valid','describe','command','browserStackLocalOptions','browserstackLocal','QPPUz','integrations','url','exports','bstack-accesskey','hosts','BrowserStack\x20access\x20key\x20missing.','../../helpers/logger','Connection\x20established\x20successfully.','uRkbn','NQGHt','48307xUbHRC','4OByWhG','setupBrowserstackLocal','hkSGN'];a15_0x338c=function(){return _0x3c9dac;};return a15_0x338c();}module[a15_0x3518e8(0x1b8)]=run;
2
+ 'use strict';const a15_0x29f4d5=a15_0xbaa3;(function(_0x502860,_0x777896){const _0x2071fb=a15_0xbaa3,_0x327c99=_0x502860();while(!![]){try{const _0xe454e9=-parseInt(_0x2071fb(0x103))/0x1*(parseInt(_0x2071fb(0xef))/0x2)+parseInt(_0x2071fb(0x112))/0x3*(-parseInt(_0x2071fb(0x10c))/0x4)+-parseInt(_0x2071fb(0xed))/0x5*(parseInt(_0x2071fb(0xfb))/0x6)+-parseInt(_0x2071fb(0xcb))/0x7+-parseInt(_0x2071fb(0xea))/0x8*(-parseInt(_0x2071fb(0xfe))/0x9)+parseInt(_0x2071fb(0xec))/0xa*(parseInt(_0x2071fb(0xf5))/0xb)+parseInt(_0x2071fb(0xdd))/0xc;if(_0xe454e9===_0x777896)break;else _0x327c99['push'](_0x327c99['shift']());}catch(_0x1b9263){_0x327c99['push'](_0x327c99['shift']());}}}(a15_0x4e15,0x7cf17));function a15_0xbaa3(_0x2be032,_0x4b41ed){const _0x4e156d=a15_0x4e15();return a15_0xbaa3=function(_0xbaa3d1,_0x4b512a){_0xbaa3d1=_0xbaa3d1-0xc9;let _0x135054=_0x4e156d[_0xbaa3d1];return _0x135054;},a15_0xbaa3(_0x2be032,_0x4b41ed);}const {default:BrowserStackSetup}=require(a15_0x29f4d5(0xfc)),logger=require('../../helpers/logger')[a15_0x29f4d5(0xc9)],{URL}=require('url'),helper=require(a15_0x29f4d5(0xd5)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a15_0x29f4d5(0xce)),validHosts=function(_0x4f615d){const _0x34617e=a15_0x29f4d5;return _0x4f615d['split'](',')[_0x34617e(0xee)](_0x476790=>{const _0x50260f=_0x34617e;try{new URL(_0x476790[_0x50260f(0xe2)]());}catch(_0x54fb35){return![];}return!![];});},parseOnPremHosts=function(_0x52e9e3){const _0x48df9a=a15_0x29f4d5,_0x1588d2={};_0x1588d2['LYhEa']=function(_0x3252d8,_0x2b21b8){return _0x3252d8===_0x2b21b8;},_0x1588d2[_0x48df9a(0xe0)]=_0x48df9a(0x110),_0x1588d2['woFce']=_0x48df9a(0xeb),_0x1588d2[_0x48df9a(0x108)]=function(_0x467f47,_0x234fdb){return _0x467f47===_0x234fdb;},_0x1588d2[_0x48df9a(0x109)]='https';const _0x21e25a=_0x1588d2;return _0x52e9e3[_0x48df9a(0xd6)](',')[_0x48df9a(0xcd)](_0x118d13=>{const _0x2a9b80=_0x48df9a,_0x521a59=new URL(_0x118d13['trim']()),_0x5e4ae3=_0x521a59['hostname'],_0x15c31d=_0x521a59[_0x2a9b80(0xf0)]||(_0x21e25a[_0x2a9b80(0x10e)](_0x521a59[_0x2a9b80(0x115)],_0x21e25a['hDaiB'])?_0x21e25a[_0x2a9b80(0x107)]:'80'),_0x3307bf=_0x521a59[_0x2a9b80(0x115)][_0x2a9b80(0xd7)](':',''),_0x5445ee=_0x21e25a[_0x2a9b80(0x108)](_0x3307bf,_0x21e25a[_0x2a9b80(0x109)])?0x1:0x0;return _0x5e4ae3+','+_0x15c31d+','+_0x5445ee;});},connectCommandBuilder=function(_0x183954){const _0x3ed6ca=a15_0x29f4d5,_0xa7f97d={};_0xa7f97d['oUQfe']=_0x3ed6ca(0xd9);const _0x34f77b=_0xa7f97d,_0x516179={};_0x516179['describe']=HELP_MESSAGES[_0x3ed6ca(0x114)]['bstackAccessKey'],_0x516179[_0x3ed6ca(0xf6)]=_0x34f77b['oUQfe'];const _0x4c4af7={};_0x4c4af7[_0x3ed6ca(0xd2)]=HELP_MESSAGES[_0x3ed6ca(0x114)][_0x3ed6ca(0xf3)],_0x4c4af7[_0x3ed6ca(0xf6)]=_0x34f77b[_0x3ed6ca(0x104)],_0x4c4af7[_0x3ed6ca(0x105)]=!![];const _0x3f7eab={};return _0x3f7eab['bstack-accesskey']=_0x516179,_0x3f7eab[_0x3ed6ca(0xf3)]=_0x4c4af7,_0x183954[_0x3ed6ca(0x114)](_0x3f7eab);},connectCommandHandler=async function(_0x3d0b01){const _0x5cf0a4=a15_0x29f4d5,_0x2cc6e3={'aHbIA':_0x5cf0a4(0xfd),'ZLwlf':function(_0x5e47f7,_0x5a6e0e){return _0x5e47f7===_0x5a6e0e;},'AWwsb':_0x5cf0a4(0xd8),'TruLD':'BrowserStack\x20access\x20key\x20missing.','RVfIu':function(_0x2485a0,_0x13c5e3){return _0x2485a0===_0x13c5e3;},'xDqyB':_0x5cf0a4(0xcc),'XErSh':function(_0x43995f,_0x4d6044){return _0x43995f(_0x4d6044);},'rzYgr':'Hosts\x20not\x20valid','ugate':function(_0x2d8776,_0x595494){return _0x2d8776(_0x595494);},'jMNas':_0x5cf0a4(0x10f),'NILwr':_0x5cf0a4(0xfa),'AjMAj':_0x5cf0a4(0x106)};try{const _0x2caac0=new BrowserStackSetup(_0x3d0b01,_0x2cc6e3[_0x5cf0a4(0xf2)]);_0x3d0b01[_0x5cf0a4(0xe5)]&&(_0x2caac0[_0x5cf0a4(0xe9)][_0x5cf0a4(0x101)]=_0x3d0b01['bstackAccesskey']);if(_0x2cc6e3[_0x5cf0a4(0xf7)](typeof _0x2caac0[_0x5cf0a4(0xe9)][_0x5cf0a4(0x101)],_0x2cc6e3[_0x5cf0a4(0xd0)])){logger[_0x5cf0a4(0xff)](_0x2cc6e3[_0x5cf0a4(0x10b)]);throw new Error(ERROR_MESSAGES[_0x5cf0a4(0xe7)][_0x5cf0a4(0xe4)]);}const _0x4aebb5=_0x3d0b01['hosts'];if(_0x2cc6e3[_0x5cf0a4(0xe3)](typeof _0x4aebb5,_0x2cc6e3[_0x5cf0a4(0xd0)])){logger[_0x5cf0a4(0xff)](_0x2cc6e3[_0x5cf0a4(0xf4)]);throw new Error(ERROR_MESSAGES[_0x5cf0a4(0xf3)][_0x5cf0a4(0xe4)]);}if(!_0x2cc6e3[_0x5cf0a4(0xca)](validHosts,_0x4aebb5)){logger[_0x5cf0a4(0xff)](_0x2cc6e3[_0x5cf0a4(0xe8)]);throw new Error(ERROR_MESSAGES[_0x5cf0a4(0xf3)][_0x5cf0a4(0xd3)]);}const _0x42228f=_0x2cc6e3[_0x5cf0a4(0xe1)](parseOnPremHosts,_0x4aebb5);_0x2caac0['config'][_0x5cf0a4(0xf9)]=!![],_0x2caac0[_0x5cf0a4(0xe9)][_0x5cf0a4(0xf8)][_0x5cf0a4(0xda)]=_0x2cc6e3['jMNas'],_0x2caac0[_0x5cf0a4(0xe9)][_0x5cf0a4(0xf8)][_0x5cf0a4(0xde)]=_0x42228f[_0x5cf0a4(0xdc)](','),helper[_0x5cf0a4(0xdb)](_0x2caac0[_0x5cf0a4(0xe9)]),await _0x2caac0[_0x5cf0a4(0xd4)](),logger[_0x5cf0a4(0xf1)](_0x2cc6e3[_0x5cf0a4(0x100)]);}catch(_0x1a9891){logger[_0x5cf0a4(0xff)](_0x2cc6e3['AjMAj']);throw new Error(_0x1a9891[_0x5cf0a4(0x111)]());}};function run(_0xff2caa){const _0x4296fb=a15_0x29f4d5,_0x9db009={};_0x9db009['NSXqv']=_0x4296fb(0xdf),_0x9db009['qFCfd']=_0x4296fb(0x10d);const _0x52a246=_0x9db009;_0xff2caa[_0x4296fb(0x10a)](HELP_MESSAGES['command'][_0x4296fb(0xe6)])[_0x4296fb(0xd1)](_0x52a246['NSXqv'],HELP_MESSAGES['command'][_0x4296fb(0xdf)],connectCommandBuilder,connectCommandHandler)[_0x4296fb(0x113)]()[_0x4296fb(0x10d)](_0x52a246['qFCfd'])['epilogue'](HELP_MESSAGES[_0x4296fb(0xd1)][_0x4296fb(0x102)]);}function a15_0x4e15(){const _0x2e309a=['root','bstackAccessKey','rzYgr','config','67416CGuAqv','443','10yvgNZw','15tayTFy','every','10VHIekA','port','info','aHbIA','hosts','xDqyB','1482679TjuEtY','type','ZLwlf','browserStackLocalOptions','browserstackLocal','Connection\x20established\x20successfully.','1558002besKuv','../../helpers/BrowserStackSetup','integrations','540levKfg','error','NILwr','accessKey','footer','32044bIbMtL','oUQfe','demandOption','Failed\x20to\x20establish\x20connection.','woFce','gKnZn','hCoJP','usage','TruLD','4mDUKaS','help','LYhEa','integrations-repeater','https:','toString','877545AdbATQ','demandCommand','options','protocol','winstonLogger','XErSh','4748758VUHMHL','Integration\x20hosts\x20missing.','map','./constants','exports','AWwsb','command','describe','invalid','setupBrowserstackLocal','../../helpers/helper','split','replace','undefined','string','localIdentifier','setProxySettings','join','21377856HzKKPb','only','connect','hDaiB','ugate','trim','RVfIu','missing','bstackAccesskey'];a15_0x4e15=function(){return _0x2e309a;};return a15_0x4e15();}module[a15_0x29f4d5(0xcf)]=run;
@@ -1 +1 @@
1
- var a16_0x147d1d=a16_0x9e8e;(function(_0x1d8c64,_0xd67b7){var _0x122387=a16_0x9e8e,_0x34066f=_0x1d8c64();while(!![]){try{var _0x27885c=parseInt(_0x122387(0xeb))/0x1*(-parseInt(_0x122387(0xe0))/0x2)+-parseInt(_0x122387(0xd8))/0x3+parseInt(_0x122387(0xe4))/0x4*(-parseInt(_0x122387(0xde))/0x5)+parseInt(_0x122387(0xea))/0x6*(-parseInt(_0x122387(0xdf))/0x7)+parseInt(_0x122387(0xe6))/0x8*(parseInt(_0x122387(0xdc))/0x9)+parseInt(_0x122387(0xe2))/0xa+parseInt(_0x122387(0xf0))/0xb;if(_0x27885c===_0xd67b7)break;else _0x34066f['push'](_0x34066f['shift']());}catch(_0x285bb4){_0x34066f['push'](_0x34066f['shift']());}}}(a16_0x19b5,0x56077));var a16_0x38d9c5={};a16_0x38d9c5['bstackAccessKey']=a16_0x147d1d(0xe7),a16_0x38d9c5[a16_0x147d1d(0xee)]='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_0x323652={};a16_0x323652[a16_0x147d1d(0xda)]=a16_0x147d1d(0xe9),a16_0x323652[a16_0x147d1d(0xdd)]=a16_0x147d1d(0xf1),a16_0x323652[a16_0x147d1d(0xe1)]=a16_0x147d1d(0xef);function a16_0x9e8e(_0xe12d31,_0x34b4b9){var _0x19b5f0=a16_0x19b5();return a16_0x9e8e=function(_0x9e8e3a,_0x3c9456){_0x9e8e3a=_0x9e8e3a-0xd8;var _0x23298c=_0x19b5f0[_0x9e8e3a];return _0x23298c;},a16_0x9e8e(_0xe12d31,_0x34b4b9);}var a16_0x1ce453={};function a16_0x19b5(){var _0x4c32b8=['321426EPcYpn','connect','170oAYtdu','21yNabII','20092YDjyGX','footer','5961250kegRiv','missing','53876joaZEA','options','56zbsNVS','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Integration\x20hosts\x20missing.\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.','1992TffFNI','70DdbJIk','invalid','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','hosts','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','10896171oWlEaj','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','966441RMAYeN','bstackAccessKey','root','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.'];a16_0x19b5=function(){return _0x4c32b8;};return a16_0x19b5();}a16_0x1ce453[a16_0x147d1d(0xe5)]=a16_0x38d9c5,a16_0x1ce453['command']=a16_0x323652,exports['HELP_MESSAGES']=a16_0x1ce453;var a16_0x5d81e9={};a16_0x5d81e9[a16_0x147d1d(0xe3)]=a16_0x147d1d(0xed);var a16_0x39459d={};a16_0x39459d[a16_0x147d1d(0xe3)]=a16_0x147d1d(0xe8),a16_0x39459d[a16_0x147d1d(0xec)]=a16_0x147d1d(0xdb);var a16_0x24ece5={};a16_0x24ece5[a16_0x147d1d(0xd9)]=a16_0x5d81e9,a16_0x24ece5['hosts']=a16_0x39459d,exports['ERROR_MESSAGES']=a16_0x24ece5;
1
+ var a16_0x213f6b=a16_0x3643;(function(_0x289495,_0x189989){var _0x371c46=a16_0x3643,_0x545579=_0x289495();while(!![]){try{var _0x1ae12f=-parseInt(_0x371c46(0xf3))/0x1*(-parseInt(_0x371c46(0xe6))/0x2)+parseInt(_0x371c46(0xf1))/0x3+-parseInt(_0x371c46(0xed))/0x4+parseInt(_0x371c46(0xf6))/0x5*(-parseInt(_0x371c46(0xe1))/0x6)+-parseInt(_0x371c46(0xe9))/0x7*(-parseInt(_0x371c46(0xef))/0x8)+-parseInt(_0x371c46(0xe5))/0x9+parseInt(_0x371c46(0xf4))/0xa*(-parseInt(_0x371c46(0xdf))/0xb);if(_0x1ae12f===_0x189989)break;else _0x545579['push'](_0x545579['shift']());}catch(_0xede3ab){_0x545579['push'](_0x545579['shift']());}}}(a16_0x12a1,0xc2db5));var a16_0x403e56={};function a16_0x12a1(){var _0x4b88bd=['Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','234552BUJchQ','missing','27409cBwuVz','30UnBRca','options','430210xyTnQU','HELP_MESSAGES','1906707vUdpVS','command','12bFTNkZ','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.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','invalid','649926qgpjVY','62MGCvxV','root','bstackAccessKey','62566bPxDZb','ERROR_MESSAGES','footer','connect','3503772aoFhfH','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','1352ZyrTKT'];a16_0x12a1=function(){return _0x4b88bd;};return a16_0x12a1();}a16_0x403e56[a16_0x213f6b(0xe8)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a16_0x403e56['hosts']=a16_0x213f6b(0xe2);var a16_0x43bb28={};a16_0x43bb28[a16_0x213f6b(0xe7)]=a16_0x213f6b(0xf0),a16_0x43bb28[a16_0x213f6b(0xec)]=a16_0x213f6b(0xee),a16_0x43bb28[a16_0x213f6b(0xeb)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a16_0x611558={};a16_0x611558[a16_0x213f6b(0xf5)]=a16_0x403e56,a16_0x611558[a16_0x213f6b(0xe0)]=a16_0x43bb28,exports[a16_0x213f6b(0xde)]=a16_0x611558;var a16_0x2d2984={};function a16_0x3643(_0x45dc5c,_0x1f113c){var _0x12a1be=a16_0x12a1();return a16_0x3643=function(_0x364354,_0x525b1c){_0x364354=_0x364354-0xde;var _0xeb638=_0x12a1be[_0x364354];return _0xeb638;},a16_0x3643(_0x45dc5c,_0x1f113c);}a16_0x2d2984[a16_0x213f6b(0xf2)]=a16_0x213f6b(0xe3);var a16_0x5408fb={};a16_0x5408fb[a16_0x213f6b(0xf2)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a16_0x5408fb[a16_0x213f6b(0xe4)]='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.';var a16_0x5db256={};a16_0x5db256[a16_0x213f6b(0xe8)]=a16_0x2d2984,a16_0x5db256['hosts']=a16_0x5408fb,exports[a16_0x213f6b(0xea)]=a16_0x5db256;
@@ -1 +1 @@
1
- 'use strict';const a17_0x16c43c=a17_0x5eae;function a17_0x5eae(_0x505cba,_0x552361){const _0xa4abe9=a17_0xa4ab();return a17_0x5eae=function(_0x5eae73,_0x514bb5){_0x5eae73=_0x5eae73-0x136;let _0x30f05b=_0xa4abe9[_0x5eae73];return _0x30f05b;},a17_0x5eae(_0x505cba,_0x552361);}(function(_0x13988c,_0x3c50af){const _0x49c0fc=a17_0x5eae,_0x5b9b0b=_0x13988c();while(!![]){try{const _0x3e0fbc=-parseInt(_0x49c0fc(0x181))/0x1*(-parseInt(_0x49c0fc(0x179))/0x2)+parseInt(_0x49c0fc(0x1b3))/0x3*(parseInt(_0x49c0fc(0x1a9))/0x4)+parseInt(_0x49c0fc(0x1ae))/0x5*(-parseInt(_0x49c0fc(0x1b2))/0x6)+parseInt(_0x49c0fc(0x162))/0x7*(parseInt(_0x49c0fc(0x16d))/0x8)+parseInt(_0x49c0fc(0x154))/0x9*(-parseInt(_0x49c0fc(0x189))/0xa)+parseInt(_0x49c0fc(0x173))/0xb+-parseInt(_0x49c0fc(0x13f))/0xc*(parseInt(_0x49c0fc(0x159))/0xd);if(_0x3e0fbc===_0x3c50af)break;else _0x5b9b0b['push'](_0x5b9b0b['shift']());}catch(_0x3ca3bb){_0x5b9b0b['push'](_0x5b9b0b['shift']());}}}(a17_0xa4ab,0x3d59f));const path=require(a17_0x16c43c(0x144)),fs=require('fs'),{v4:uuidv4}=require(a17_0x16c43c(0x160)),testhubUtils=require(a17_0x16c43c(0x185)),{FRAMEWORKS}=require(a17_0x16c43c(0x161)),SessionHandler=require(a17_0x16c43c(0x17f)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x16c43c(0x16a)),testRunMap=require(a17_0x16c43c(0x147)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x16c43c(0x1bf),a17_0xd7ecf={};function a17_0xa4ab(){const _0x34c3e5=['description','DzAHj','isArray','AssertionError','EhRww','LbzUQ','split','fullName','684AzWdDY','ojetr','prefixTestPath','statSync','NFzrN','path','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','uJFDe','../testRunMap','rOoeT','jasmineStarted','FiGsj','wEbLW','rzAuc','toISOString','uehoJ','slice','jxJYR','length','message','Efgct','9Ylocep','expanded','push','cKUrL','config','189319YrPJuC','hjFOz','ITSxS','set','jasmineDone','yvsCq','SZaQo','uuid','../../../helpers/test-observability/constants','1645217XjNBiR','keys','setCurrentTestData','parentSuiteId','VxvRG','kjfkw','BMIQL','failed','../../../helpers/test-observability/utils','dirname','startsWith','16uTbhpc','remove','_suitesById','CsAKl','WTKcq','cXvit','2373679ahgAVk','add','\x20:\x20','suiteDone','backtrace','pqshF','916646eTyrbK','HrmKE','_resolveFilePath','_findGitConfig','gYJzS','pending','../../../helpers/test-observability/sessionHandler','Exception\x20in\x20jasmine\x20specDone\x20for\x20','1EGvnaU','PwWKI','_sendSpecEvent','EPAyg','../../../helpers/testhub/utils','shouldProcessEventForTesthub','delete','status','578660MAzBGG','testObservability','TestRunFinished','oiHjM','gZsFG','appendTesthubParams','exports','duration','err','iWcmU','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','Rjlqk','code','LiKNw','MxoZd','number','TestRunStarted','trim','UrcIv','expected','_collapseFailedExpectations','excluded','finished_at','lang','JASMINE','endsWith','get','stack','filename','MGuih','has','sOiVX','1155092fkoJEk','BodDD','BmDKn','passed','skipped','9725lxtDDX','bmSjp','QkiKb','_scopes','906TWiqrI','3KRxCXJ','TestRunSkipped','_fileNameByFullName','actual','specStarted','uvPLE','javascript','specDone','failure','File\x20path\x20could\x20not\x20be\x20found','pQSOY','join','Jasmine','cwd','IKlub','uploadEventData','sep','wmata'];a17_0xa4ab=function(){return _0x34c3e5;};return a17_0xa4ab();}a17_0xd7ecf[a17_0x16c43c(0x1ac)]=a17_0x16c43c(0x1ac),a17_0xd7ecf[a17_0x16c43c(0x169)]=a17_0x16c43c(0x169),a17_0xd7ecf[a17_0x16c43c(0x17e)]=a17_0x16c43c(0x17e),a17_0xd7ecf[a17_0x16c43c(0x19e)]=a17_0x16c43c(0x1ad);const STATUS_MAP=a17_0xd7ecf;class BrowserStackJasmineReporter{constructor(_0x5cb26e={}){const _0x15d4c2=a17_0x16c43c,_0x2a9bb0={'BmDKn':function(_0x403047){return _0x403047();}};this[_0x15d4c2(0x18a)]=_0x2a9bb0[_0x15d4c2(0x1ab)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x15d4c2(0x1c0)]()},undefined),this['_fileNameByFullName']=_0x5cb26e&&_0x5cb26e['fileNameByFullName']||{},this[_0x15d4c2(0x16f)]=new Map();}[a17_0x16c43c(0x149)](){}['suiteStarted'](_0x46cc54){const _0x259be3=a17_0x16c43c,_0x3eb5a3={'cXvit':function(_0x38c1a8,_0xc13d8b){return _0x38c1a8!==_0xc13d8b;},'oiHjM':function(_0x4781b5,_0x13b331){return _0x4781b5!==_0x13b331;},'nBWeK':function(_0x3ff844,_0x5da6ed){return _0x3ff844(_0x5da6ed);}};try{_0x46cc54&&_0x3eb5a3[_0x259be3(0x172)](_0x46cc54['id'],undefined)&&_0x3eb5a3[_0x259be3(0x18c)](_0x46cc54['id'],null)&&this['_suitesById'][_0x259be3(0x15c)](_0x46cc54['id'],{'description':_0x46cc54[_0x259be3(0x137)],'parentSuiteId':_0x46cc54[_0x259be3(0x165)]});}catch(_0x550ffc){_0x3eb5a3['nBWeK'](debug,'Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20'+(_0x46cc54&&_0x46cc54['fullName'])+_0x259be3(0x175)+_0x550ffc);}}[a17_0x16c43c(0x1b7)](_0x39f4a5){const _0x41f2e7=a17_0x16c43c,_0x20e6ac={'FiGsj':function(_0x25e6f3,_0x1c29b9){return _0x25e6f3!==_0x1c29b9;},'uehoJ':function(_0x449209){return _0x449209();},'wmata':_0x41f2e7(0x199),'gYJzS':function(_0x325f80,_0xacf69a){return _0x325f80(_0xacf69a);}};try{if(_0x20e6ac[_0x41f2e7(0x14a)](testhubUtils[_0x41f2e7(0x186)](),!![]))return;const _0x152e19=_0x20e6ac[_0x41f2e7(0x14e)](uuidv4);testRunMap[_0x41f2e7(0x15c)](_0x39f4a5['id'],_0x152e19),this[_0x41f2e7(0x183)](_0x39f4a5,_0x152e19,_0x20e6ac[_0x41f2e7(0x136)]);}catch(_0x11f205){_0x20e6ac[_0x41f2e7(0x17d)](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x39f4a5&&_0x39f4a5[_0x41f2e7(0x13e)])+_0x41f2e7(0x175)+_0x11f205);}}[a17_0x16c43c(0x1ba)](_0x356e74){const _0x380f9e=a17_0x16c43c,_0x5cb65c={'tNCBC':function(_0x5c3edf,_0x4c8a4a){return _0x5c3edf!==_0x4c8a4a;},'sOiVX':function(_0x1a8a09){return _0x1a8a09();},'Rjlqk':function(_0x505120,_0x42aefe){return _0x505120===_0x42aefe;},'QkiKb':_0x380f9e(0x19e),'pqshF':_0x380f9e(0x1b4),'CsAKl':_0x380f9e(0x18b),'RheUe':function(_0x3c0a2e,_0x5bf211){return _0x3c0a2e(_0x5bf211);}};try{if(_0x5cb65c['tNCBC'](testhubUtils[_0x380f9e(0x186)](),!![]))return;const _0x41412f=testRunMap['get'](_0x356e74['id'])||_0x5cb65c[_0x380f9e(0x1a8)](uuidv4),_0x5a5b22=_0x5cb65c[_0x380f9e(0x194)](_0x356e74['status'],_0x5cb65c[_0x380f9e(0x1b0)])?_0x5cb65c[_0x380f9e(0x178)]:_0x5cb65c[_0x380f9e(0x170)];this['_sendSpecEvent'](_0x356e74,_0x41412f,_0x5a5b22);}catch(_0x50c04b){_0x5cb65c['RheUe'](debug,_0x380f9e(0x180)+(_0x356e74&&_0x356e74[_0x380f9e(0x13e)])+_0x380f9e(0x175)+_0x50c04b);}finally{_0x356e74&&(testRunMap[_0x380f9e(0x16e)](_0x356e74['id']),_specStartTimes[_0x380f9e(0x187)](_0x356e74['id']));}}[a17_0x16c43c(0x176)](){}[a17_0x16c43c(0x15d)](){}[a17_0x16c43c(0x183)](_0x523a68,_0x428f64,_0x58b787){const _0x49d9b2=a17_0x16c43c,_0x5b1b5b={'gZsFG':function(_0x3186e2,_0xdbd1c3){return _0x3186e2===_0xdbd1c3;},'WTKcq':'TestRunFinished','DzAHj':function(_0x13e976,_0x992f50){return _0x13e976===_0x992f50;},'LbzUQ':'TestRunSkipped','rpNNp':_0x49d9b2(0x1bc),'UrcIv':function(_0x1bbf80,_0x2ceeca,_0x51f2fd){return _0x1bbf80(_0x2ceeca,_0x51f2fd);},'JFrGE':_0x49d9b2(0x191),'hjFOz':function(_0x285c76,_0x240fcf){return _0x285c76===_0x240fcf;},'wEbLW':_0x49d9b2(0x199),'krMgH':function(_0x572258,_0x292091){return _0x572258!==_0x292091;},'UDGYU':function(_0x299205,_0x450d17){return _0x299205!==_0x450d17;},'IKlub':function(_0x59d4f2,_0x4a0856){return _0x59d4f2===_0x4a0856;},'ITSxS':_0x49d9b2(0x1b9),'Efgct':function(_0x35dea1,_0x17ac57){return _0x35dea1&&_0x17ac57;},'BqQhy':_0x49d9b2(0x1ad),'BodDD':_0x49d9b2(0x1ac),'EhRww':function(_0x58fd61,_0x58eb86){return _0x58fd61===_0x58eb86;},'rOoeT':_0x49d9b2(0x198),'AyZxw':_0x49d9b2(0x13a),'LiKNw':'UnhandledError','cKUrL':function(_0x13a8a7,_0x437399){return _0x13a8a7===_0x437399;},'uJFDe':'started_at','VxvRG':_0x49d9b2(0x19f),'jTPzI':_0x49d9b2(0x1bb),'MxoZd':'failure_backtrace','jxJYR':_0x49d9b2(0x177),'kiNmB':'failure_reason_expanded','HrmKE':_0x49d9b2(0x155),'pQSOY':function(_0x3753d6,_0xf1a2f4){return _0x3753d6===_0xf1a2f4;},'iWcmU':function(_0x1cfd33,_0x4af389){return _0x1cfd33(_0x4af389);}};try{const _0x515979=_0x5b1b5b[_0x49d9b2(0x18d)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x171)])||_0x5b1b5b[_0x49d9b2(0x138)](_0x58b787,_0x5b1b5b['LbzUQ']),_0x4aaa8d=this[_0x49d9b2(0x17b)](_0x523a68),_0x38d77a=_0x4aaa8d?this['_paths'][_0x49d9b2(0x141)](_0x4aaa8d):_0x5b1b5b['rpNNp'],_0x31f733=_0x4aaa8d?this[_0x49d9b2(0x17c)](path[_0x49d9b2(0x16b)](_0x4aaa8d)):null,_0x1a879a=this[_0x49d9b2(0x19d)](_0x523a68['failedExpectations']),_0x2cbbbd=_0x1a879a?_0x1a879a[_0x49d9b2(0x152)]:undefined,_0x148998=_0x1a879a?_0x5b1b5b[_0x49d9b2(0x19b)](failureData,_0x1a879a,_0x5b1b5b['JFrGE']):[],_0x4fc450=new Date()[_0x49d9b2(0x14d)](),_0x424585=this[_0x49d9b2(0x1b1)](_0x523a68);_0x5b1b5b[_0x49d9b2(0x15a)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x14b)])&&_0x523a68&&_0x5b1b5b['krMgH'](_0x523a68['id'],undefined)&&_0x5b1b5b['UDGYU'](_0x523a68['id'],null)&&_specStartTimes[_0x49d9b2(0x15c)](_0x523a68['id'],_0x4fc450);const _0x2a33f7=_0x5b1b5b[_0x49d9b2(0x1c1)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x14b)])?_0x4fc450:_0x523a68&&_specStartTimes[_0x49d9b2(0x1a3)](_0x523a68['id'])||null,_0x4f73a2={};_0x4f73a2[_0x49d9b2(0x1a0)]=_0x5b1b5b[_0x49d9b2(0x15b)],_0x4f73a2[_0x49d9b2(0x195)]=null;const _0x45d4f4={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x428f64,'name':_0x523a68['description'],'body':_0x4f73a2,'scope':_0x424585[_0x49d9b2(0x1be)]('\x20'),'scopes':_0x424585,'identifier':_0x523a68[_0x49d9b2(0x13e)],'file_name':_0x38d77a,'vc_filepath':_0x5b1b5b[_0x49d9b2(0x153)](_0x31f733,_0x4aaa8d)?path['relative'](_0x31f733,_0x4aaa8d):null,'location':_0x38d77a,'result':_0x5b1b5b['DzAHj'](_0x58b787,_0x5b1b5b['LbzUQ'])?_0x5b1b5b['BqQhy']:STATUS_MAP[_0x523a68[_0x49d9b2(0x188)]]||_0x5b1b5b[_0x49d9b2(0x1aa)],'failure_reason':_0x2cbbbd,'duration_in_ms':_0x5b1b5b[_0x49d9b2(0x13b)](typeof _0x523a68[_0x49d9b2(0x190)],_0x5b1b5b[_0x49d9b2(0x148)])?_0x523a68[_0x49d9b2(0x190)]:null,'started_at':_0x2a33f7,'finished_at':_0x515979?_0x4fc450:null,'failure':_0x148998,'failure_type':!_0x2cbbbd?null:_0x2cbbbd['match'](/AssertionError/)?_0x5b1b5b['AyZxw']:_0x5b1b5b[_0x49d9b2(0x196)],'retry_of':null};_0x5b1b5b[_0x49d9b2(0x157)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x13c)])&&!_0x45d4f4[_0x5b1b5b[_0x49d9b2(0x146)]]&&(_0x45d4f4[_0x5b1b5b['uJFDe']]=_0x45d4f4[_0x5b1b5b[_0x49d9b2(0x166)]]);const _0x43e27e=_0x45d4f4[_0x5b1b5b['jTPzI']][0x0];_0x43e27e&&(_0x45d4f4[_0x5b1b5b[_0x49d9b2(0x197)]]=_0x43e27e[_0x5b1b5b[_0x49d9b2(0x150)]],_0x45d4f4[_0x5b1b5b['kiNmB']]=_0x43e27e[_0x5b1b5b[_0x49d9b2(0x17a)]]);testhubUtils[_0x49d9b2(0x18e)](_0x45d4f4,_0x58b787,_0x523a68,FRAMEWORKS[_0x49d9b2(0x1a1)]);const _0xae7a95={'event_type':_0x5b1b5b[_0x49d9b2(0x1bd)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x13c)])?_0x5b1b5b[_0x49d9b2(0x171)]:_0x58b787,'test_run':_0x45d4f4};return testhubUtils[_0x49d9b2(0x164)](FRAMEWORKS['JASMINE'],_0xae7a95),SessionHandler[_0x49d9b2(0x1c2)](_0xae7a95);}catch(_0x3a09bd){_0x5b1b5b[_0x49d9b2(0x192)](debug,_0x49d9b2(0x193)+_0x58b787+_0x49d9b2(0x175)+_0x3a09bd);}}[a17_0x16c43c(0x1b1)](_0x76e0f1){const _0x45084=a17_0x16c43c,_0x8e1baf={'iZzru':function(_0x3f5d8a,_0x2747a7){return _0x3f5d8a!==_0x2747a7;},'SZaQo':function(_0x361115,_0x57311f){return _0x361115!==_0x57311f;},'EPAyg':function(_0xa2253,_0x234ff4){return _0xa2253>_0x234ff4;},'kjfkw':function(_0x5b4936,_0x4db3d0){return _0x5b4936(_0x4db3d0);},'PwWKI':function(_0x578439,_0x40a664){return _0x578439-_0x40a664;}};try{const _0x14f63f=[];let _0x33d962=_0x76e0f1&&_0x76e0f1[_0x45084(0x165)];const _0x1995fe=new Set();while(_0x8e1baf['iZzru'](_0x33d962,undefined)&&_0x8e1baf[_0x45084(0x15f)](_0x33d962,null)&&this[_0x45084(0x16f)][_0x45084(0x1a7)](_0x33d962)&&!_0x1995fe[_0x45084(0x1a7)](_0x33d962)){_0x1995fe[_0x45084(0x174)](_0x33d962);const _0xc6ad11=this[_0x45084(0x16f)][_0x45084(0x1a3)](_0x33d962);_0xc6ad11&&_0xc6ad11[_0x45084(0x137)]&&_0x14f63f[_0x45084(0x156)](_0xc6ad11['description']),_0x33d962=_0xc6ad11?_0xc6ad11[_0x45084(0x165)]:null;}if(_0x8e1baf[_0x45084(0x184)](_0x14f63f['length'],0x0))return _0x14f63f['reverse']();}catch(_0x4b729c){_0x8e1baf[_0x45084(0x167)](debug,_0x45084(0x145)+(_0x76e0f1&&_0x76e0f1[_0x45084(0x13e)])+_0x45084(0x175)+_0x4b729c);}const _0x2b94c9=_0x76e0f1&&_0x76e0f1[_0x45084(0x13e)]||'',_0xce1f39=_0x76e0f1&&_0x76e0f1[_0x45084(0x137)]||'';let _0x2069c4=_0x2b94c9;return _0xce1f39&&_0x2b94c9[_0x45084(0x1a2)](_0xce1f39)&&(_0x2069c4=_0x2b94c9[_0x45084(0x14f)](0x0,_0x8e1baf[_0x45084(0x182)](_0x2b94c9[_0x45084(0x151)],_0xce1f39[_0x45084(0x151)]))[_0x45084(0x19a)]()),_0x2069c4?_0x2069c4[_0x45084(0x13d)](/\s+/):[];}[a17_0x16c43c(0x17b)](_0x3ed265){const _0x5ba1be=a17_0x16c43c,_0x1494cc={};_0x1494cc['MGuih']=function(_0x381a5d,_0x212c1d){return _0x381a5d===_0x212c1d;},_0x1494cc[_0x5ba1be(0x14c)]=function(_0x322fda,_0x5153de){return _0x322fda+_0x5153de;},_0x1494cc[_0x5ba1be(0x168)]=function(_0x945780,_0x23a7c3){return _0x945780>_0x23a7c3;};const _0x45f48a=_0x1494cc;if(_0x3ed265&&_0x3ed265[_0x5ba1be(0x1a5)])return _0x3ed265['filename'];if(_0x3ed265&&_0x3ed265[_0x5ba1be(0x13e)]){if(this[_0x5ba1be(0x1b5)][_0x3ed265[_0x5ba1be(0x13e)]])return this[_0x5ba1be(0x1b5)][_0x3ed265[_0x5ba1be(0x13e)]];let _0x236212=null,_0x3a7da2=-0x1;for(const _0x170494 of Object[_0x5ba1be(0x163)](this[_0x5ba1be(0x1b5)])){(_0x45f48a[_0x5ba1be(0x1a6)](_0x3ed265[_0x5ba1be(0x13e)],_0x170494)||_0x3ed265[_0x5ba1be(0x13e)][_0x5ba1be(0x16c)](_0x45f48a[_0x5ba1be(0x14c)](_0x170494,'\x20')))&&_0x45f48a['BMIQL'](_0x170494[_0x5ba1be(0x151)],_0x3a7da2)&&(_0x236212=this[_0x5ba1be(0x1b5)][_0x170494],_0x3a7da2=_0x170494[_0x5ba1be(0x151)]);}if(_0x236212)return _0x236212;}return null;}['_collapseFailedExpectations'](_0x4d33b2){const _0x45e689=a17_0x16c43c,_0xb36bc0={};_0xb36bc0['yvsCq']=function(_0x4e29eb,_0x17a6a0){return _0x4e29eb===_0x17a6a0;},_0xb36bc0[_0x45e689(0x143)]='Spec\x20failed';const _0x5899ca=_0xb36bc0;if(!Array[_0x45e689(0x139)](_0x4d33b2)||_0x5899ca[_0x45e689(0x15e)](_0x4d33b2['length'],0x0))return undefined;const _0x103a35=[],_0x316447=[];for(const _0x244ea9 of _0x4d33b2){_0x244ea9&&_0x244ea9[_0x45e689(0x152)]&&_0x103a35[_0x45e689(0x156)](_0x244ea9['message']),_0x244ea9&&_0x244ea9['stack']&&_0x316447[_0x45e689(0x156)](_0x244ea9[_0x45e689(0x1a4)]);}const _0x1c6e92=_0x4d33b2[0x0]||{},_0x4940b2=_0x103a35[_0x45e689(0x1be)]('\x0a')||_0x1c6e92[_0x45e689(0x152)]||_0x5899ca['NFzrN'],_0x2d73de=_0x316447[_0x45e689(0x1be)]('\x0a\x0a')||_0x1c6e92[_0x45e689(0x1a4)]||_0x4940b2,_0x1754f6={};return _0x1754f6[_0x45e689(0x152)]=_0x4940b2,_0x1754f6[_0x45e689(0x1a4)]=_0x2d73de,_0x1754f6['matcherName']=_0x1c6e92['matcherName'],_0x1754f6[_0x45e689(0x19c)]=_0x1c6e92[_0x45e689(0x19c)],_0x1754f6[_0x45e689(0x1b6)]=_0x1c6e92[_0x45e689(0x1b6)],_0x1754f6;}['_findGitConfig'](_0x184400){const _0xefee8f=a17_0x16c43c,_0x6a7fb3={};_0x6a7fb3['bmSjp']=function(_0x28126a,_0x525c1a){return _0x28126a===_0x525c1a;},_0x6a7fb3[_0xefee8f(0x140)]='.git',_0x6a7fb3[_0xefee8f(0x1b8)]=_0xefee8f(0x158);const _0x367d81=_0x6a7fb3,_0x7c84ab=path[_0xefee8f(0x1c3)];if(_0x367d81[_0xefee8f(0x1af)](_0x184400,null)||_0x367d81[_0xefee8f(0x1af)](_0x184400,'')||_0x367d81[_0xefee8f(0x1af)](_0x184400,_0x7c84ab)||_0x367d81[_0xefee8f(0x1af)](_0x184400,path[_0xefee8f(0x16b)](_0x184400)))return null;try{return fs[_0xefee8f(0x142)](path['join'](_0x184400,_0x367d81[_0xefee8f(0x140)],_0x367d81[_0xefee8f(0x1b8)])),_0x184400;}catch(_0x514c20){return this[_0xefee8f(0x17c)](path['dirname'](_0x184400));}}}module[a17_0x16c43c(0x18f)]=BrowserStackJasmineReporter;
1
+ 'use strict';const a17_0x14c970=a17_0x54ed;function a17_0x54ed(_0x3c71ce,_0x5172cd){const _0x1ca658=a17_0x1ca6();return a17_0x54ed=function(_0x54ed44,_0x532e70){_0x54ed44=_0x54ed44-0xbc;let _0x443244=_0x1ca658[_0x54ed44];return _0x443244;},a17_0x54ed(_0x3c71ce,_0x5172cd);}(function(_0x397248,_0x766040){const _0x25cb2f=a17_0x54ed,_0x28834d=_0x397248();while(!![]){try{const _0x58d8d9=-parseInt(_0x25cb2f(0xe7))/0x1*(-parseInt(_0x25cb2f(0x136))/0x2)+parseInt(_0x25cb2f(0x10c))/0x3+parseInt(_0x25cb2f(0x113))/0x4+parseInt(_0x25cb2f(0x141))/0x5*(-parseInt(_0x25cb2f(0xbe))/0x6)+-parseInt(_0x25cb2f(0x111))/0x7+parseInt(_0x25cb2f(0xc8))/0x8*(-parseInt(_0x25cb2f(0x131))/0x9)+-parseInt(_0x25cb2f(0x117))/0xa;if(_0x58d8d9===_0x766040)break;else _0x28834d['push'](_0x28834d['shift']());}catch(_0x513501){_0x28834d['push'](_0x28834d['shift']());}}}(a17_0x1ca6,0x8f218));const path=require(a17_0x14c970(0x11d)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require('../../../helpers/testhub/utils'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a17_0x14c970(0xd4)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x14c970(0x102),a17_0x1c4a67={};a17_0x1c4a67[a17_0x14c970(0x127)]='passed',a17_0x1c4a67['failed']=a17_0x14c970(0x13f),a17_0x1c4a67['pending']=a17_0x14c970(0xfb),a17_0x1c4a67[a17_0x14c970(0xce)]='skipped';const STATUS_MAP=a17_0x1c4a67;function a17_0x1ca6(){const _0x5212c2=['add','icPCE','CgxHq','zTlyG','mPPEo','has','trim','.git','IZRcw','set','specStarted','HWVUW','parentSuiteId','CNjrv','isArray','pending','CCdgb','appendTesthubParams','JASMINE','jasmineStarted','toISOString','Exception\x20in\x20jasmine\x20specDone\x20for\x20','Jasmine','relative','GHKfL','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','LlOXN','tayOr','length','_fileNameByFullName','code','join','3120999RQFjWB','shouldProcessEventForTesthub','\x20:\x20','GsGWW','eDbOT','101458RggUTf','filename','1047116rPxwFa','JjPHg','AssertionError','OpmQS','4668740VEahgZ','stack','_collapseFailedExpectations','status','backtrace','endsWith','path','fRoMe','RNiXm','SlcJd','monnz','setCurrentTestData','oOvOQ','mIRll','feVVa','actual','passed','khjGb','specDone','_suitesById','gcDDP','TestRunSkipped','_resolveFilePath','unWhD','duration','QxTrQ','18zwIJvK','QKlab','fullName','JXpzw','wCwUa','26sHJYri','remove','Vzjmg','xtPtm','JQkFw','_sendSpecEvent','suiteDone','UURfI','gfgJD','failed','TestRunFinished','135635MsRVqj','number','SyihN','66xvCobr','ZaisR','finished_at','exports','_scopes','expanded','vOKJQ','lang','HaJBX','LQQlg','1035752oIiGFX','KicXO','split','zgplk','PwUcU','slice','excluded','dirname','TestRunStarted','failure','_findGitConfig','err','../testRunMap','javascript','aPyQd','push','skipped','match','fileNameByFullName','rmZlw','jasmineDone','ZfwJY','message','expected','vpDND','_paths','lGzUy','prefixTestPath','get','matcherName','description','24835rNmlta','started_at','uploadEventData','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','failedExpectations'];a17_0x1ca6=function(){return _0x5212c2;};return a17_0x1ca6();}class BrowserStackJasmineReporter{constructor(_0x4ce9fe={}){const _0x551746=a17_0x14c970,_0x3cbc9c={'IZRcw':function(_0x3eb7b0){return _0x3eb7b0();}};this['testObservability']=_0x3cbc9c[_0x551746(0xf4)](isTestObservabilitySession),this[_0x551746(0xe1)]=new PathHelper({'cwd':process['cwd']()},undefined),this[_0x551746(0x109)]=_0x4ce9fe&&_0x4ce9fe[_0x551746(0xda)]||{},this['_suitesById']=new Map();}[a17_0x14c970(0xff)](){}['suiteStarted'](_0x338dce){const _0x2e12f1=a17_0x14c970,_0x4d2f19={'oOvOQ':function(_0x5115a0,_0x3dc60f){return _0x5115a0!==_0x3dc60f;},'CExWU':function(_0x33cb34,_0x9bfb94){return _0x33cb34!==_0x9bfb94;},'gRnkF':function(_0x59921a,_0x134056){return _0x59921a(_0x134056);}};try{_0x338dce&&_0x4d2f19[_0x2e12f1(0x123)](_0x338dce['id'],undefined)&&_0x4d2f19['CExWU'](_0x338dce['id'],null)&&this[_0x2e12f1(0x12a)][_0x2e12f1(0xf5)](_0x338dce['id'],{'description':_0x338dce['description'],'parentSuiteId':_0x338dce['parentSuiteId']});}catch(_0x6b566c){_0x4d2f19['gRnkF'](debug,'Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20'+(_0x338dce&&_0x338dce[_0x2e12f1(0x133)])+_0x2e12f1(0x10e)+_0x6b566c);}}[a17_0x14c970(0xf6)](_0x231e5a){const _0x3f306a=a17_0x14c970,_0x535215={'CNjrv':function(_0x1d8d96,_0xd9ae8e){return _0x1d8d96!==_0xd9ae8e;},'mPPEo':function(_0x1c41a6){return _0x1c41a6();},'CCdgb':_0x3f306a(0xd0),'YkFXa':function(_0x1f2ae4,_0x3b7460){return _0x1f2ae4(_0x3b7460);}};try{if(_0x535215[_0x3f306a(0xf9)](testhubUtils[_0x3f306a(0x10d)](),!![]))return;const _0x1659c0=_0x535215[_0x3f306a(0xf0)](uuidv4);testRunMap['set'](_0x231e5a['id'],_0x1659c0),this[_0x3f306a(0x13b)](_0x231e5a,_0x1659c0,_0x535215[_0x3f306a(0xfc)]);}catch(_0x368243){_0x535215['YkFXa'](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x231e5a&&_0x231e5a[_0x3f306a(0x133)])+_0x3f306a(0x10e)+_0x368243);}}[a17_0x14c970(0x129)](_0x3b9ae8){const _0x464b2d=a17_0x14c970,_0x2ea428={'LlOXN':function(_0xeb491c,_0x306942){return _0xeb491c!==_0x306942;},'GsGWW':function(_0x59bf2b){return _0x59bf2b();},'EGsZF':function(_0x5e0166,_0x3ff61f){return _0x5e0166===_0x3ff61f;},'QxTrQ':'excluded','OpmQS':'TestRunSkipped','CgxHq':_0x464b2d(0x140),'GHKfL':function(_0xb882b7,_0x1f669b){return _0xb882b7(_0x1f669b);}};try{if(_0x2ea428[_0x464b2d(0x106)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x350e80=testRunMap[_0x464b2d(0xe4)](_0x3b9ae8['id'])||_0x2ea428[_0x464b2d(0x10f)](uuidv4),_0x362e3a=_0x2ea428['EGsZF'](_0x3b9ae8[_0x464b2d(0x11a)],_0x2ea428[_0x464b2d(0x130)])?_0x2ea428[_0x464b2d(0x116)]:_0x2ea428[_0x464b2d(0xee)];this['_sendSpecEvent'](_0x3b9ae8,_0x350e80,_0x362e3a);}catch(_0x422752){_0x2ea428[_0x464b2d(0x104)](debug,_0x464b2d(0x101)+(_0x3b9ae8&&_0x3b9ae8[_0x464b2d(0x133)])+_0x464b2d(0x10e)+_0x422752);}finally{_0x3b9ae8&&(testRunMap[_0x464b2d(0x137)](_0x3b9ae8['id']),_specStartTimes['delete'](_0x3b9ae8['id']));}}[a17_0x14c970(0x13c)](){}[a17_0x14c970(0xdc)](){}[a17_0x14c970(0x13b)](_0x1769d1,_0x3c246a,_0x33e6d2){const _0x1b6912=a17_0x14c970,_0x46ee6e={'aPyQd':function(_0x29d988,_0x31c0f5){return _0x29d988===_0x31c0f5;},'HaJBX':_0x1b6912(0x140),'ckMgh':function(_0x1cf346,_0x2ac1f4){return _0x1cf346===_0x2ac1f4;},'wCwUa':_0x1b6912(0x12c),'JjPHg':'File\x20path\x20could\x20not\x20be\x20found','RNiXm':function(_0x1a7445,_0x13ce47,_0x5b4996){return _0x1a7445(_0x13ce47,_0x5b4996);},'gfgJD':_0x1b6912(0xd3),'PwUcU':'TestRunStarted','ZfwJY':function(_0x6032a3,_0x4808ae){return _0x6032a3!==_0x4808ae;},'HWVUW':function(_0x462ad9,_0x2526d9){return _0x462ad9!==_0x2526d9;},'ZaisR':function(_0x3ec0fe,_0x569c57){return _0x3ec0fe===_0x569c57;},'fqOkR':_0x1b6912(0xd5),'eaGdn':function(_0x3497ee,_0x3c2010){return _0x3497ee&&_0x3c2010;},'rmZlw':_0x1b6912(0xd8),'QKlab':'passed','UURfI':function(_0x45b959,_0x44c785){return _0x45b959===_0x44c785;},'JQkFw':_0x1b6912(0xbc),'unWhD':_0x1b6912(0x115),'TxRBJ':'UnhandledError','eDbOT':function(_0x39c853,_0x5a9208){return _0x39c853===_0x5a9208;},'feVVa':_0x1b6912(0xe8),'zTlyG':_0x1b6912(0xc0),'fRoMe':_0x1b6912(0xd1),'khjGb':'failure_backtrace','vpDND':_0x1b6912(0x11b),'NGnhb':'failure_reason_expanded','icPCE':_0x1b6912(0xc3),'VSuQo':function(_0x226bbc,_0x399757){return _0x226bbc===_0x399757;},'vOKJQ':function(_0x20d3b2,_0xb49f7){return _0x20d3b2(_0xb49f7);}};try{const _0x88efc8=_0x46ee6e[_0x1b6912(0xd6)](_0x33e6d2,_0x46ee6e['HaJBX'])||_0x46ee6e['ckMgh'](_0x33e6d2,_0x46ee6e['wCwUa']),_0x37b687=this[_0x1b6912(0x12d)](_0x1769d1),_0x59d36a=_0x37b687?this[_0x1b6912(0xe1)][_0x1b6912(0xe3)](_0x37b687):_0x46ee6e[_0x1b6912(0x114)],_0x26fa42=_0x37b687?this[_0x1b6912(0xd2)](path[_0x1b6912(0xcf)](_0x37b687)):null,_0xc9bf6f=this[_0x1b6912(0x119)](_0x1769d1[_0x1b6912(0xeb)]),_0x2ca5ef=_0xc9bf6f?_0xc9bf6f['message']:undefined,_0x3e7a69=_0xc9bf6f?_0x46ee6e[_0x1b6912(0x11f)](failureData,_0xc9bf6f,_0x46ee6e[_0x1b6912(0x13e)]):[],_0x3cdfd8=new Date()[_0x1b6912(0x100)](),_0x29c372=this[_0x1b6912(0xc2)](_0x1769d1);_0x46ee6e[_0x1b6912(0xd6)](_0x33e6d2,_0x46ee6e[_0x1b6912(0xcc)])&&_0x1769d1&&_0x46ee6e[_0x1b6912(0xdd)](_0x1769d1['id'],undefined)&&_0x46ee6e[_0x1b6912(0xf7)](_0x1769d1['id'],null)&&_specStartTimes[_0x1b6912(0xf5)](_0x1769d1['id'],_0x3cdfd8);const _0x13b5a0=_0x46ee6e[_0x1b6912(0xbf)](_0x33e6d2,_0x46ee6e['PwUcU'])?_0x3cdfd8:_0x1769d1&&_specStartTimes[_0x1b6912(0xe4)](_0x1769d1['id'])||null,_0x3fad2d={};_0x3fad2d[_0x1b6912(0xc5)]=_0x46ee6e['fqOkR'],_0x3fad2d[_0x1b6912(0x10a)]=null;const _0xd73553={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x3c246a,'name':_0x1769d1[_0x1b6912(0xe6)],'body':_0x3fad2d,'scope':_0x29c372['join']('\x20'),'scopes':_0x29c372,'identifier':_0x1769d1[_0x1b6912(0x133)],'file_name':_0x59d36a,'vc_filepath':_0x46ee6e['eaGdn'](_0x26fa42,_0x37b687)?path[_0x1b6912(0x103)](_0x26fa42,_0x37b687):null,'location':_0x59d36a,'result':_0x46ee6e['ZaisR'](_0x33e6d2,_0x46ee6e[_0x1b6912(0x135)])?_0x46ee6e[_0x1b6912(0xdb)]:STATUS_MAP[_0x1769d1[_0x1b6912(0x11a)]]||_0x46ee6e[_0x1b6912(0x132)],'failure_reason':_0x2ca5ef,'duration_in_ms':_0x46ee6e[_0x1b6912(0x13d)](typeof _0x1769d1[_0x1b6912(0x12f)],_0x46ee6e[_0x1b6912(0x13a)])?_0x1769d1[_0x1b6912(0x12f)]:null,'started_at':_0x13b5a0,'finished_at':_0x88efc8?_0x3cdfd8:null,'failure':_0x3e7a69,'failure_type':!_0x2ca5ef?null:_0x2ca5ef[_0x1b6912(0xd9)](/AssertionError/)?_0x46ee6e[_0x1b6912(0x12e)]:_0x46ee6e['TxRBJ'],'retry_of':null};_0x46ee6e[_0x1b6912(0x110)](_0x33e6d2,_0x46ee6e[_0x1b6912(0x135)])&&!_0xd73553[_0x46ee6e[_0x1b6912(0x125)]]&&(_0xd73553[_0x46ee6e[_0x1b6912(0x125)]]=_0xd73553[_0x46ee6e[_0x1b6912(0xef)]]);const _0x49299f=_0xd73553[_0x46ee6e[_0x1b6912(0x11e)]][0x0];_0x49299f&&(_0xd73553[_0x46ee6e[_0x1b6912(0x128)]]=_0x49299f[_0x46ee6e[_0x1b6912(0xe0)]],_0xd73553[_0x46ee6e['NGnhb']]=_0x49299f[_0x46ee6e[_0x1b6912(0xed)]]);testhubUtils[_0x1b6912(0xfd)](_0xd73553,_0x33e6d2,_0x1769d1,FRAMEWORKS[_0x1b6912(0xfe)]);const _0x31cbfb={'event_type':_0x46ee6e['VSuQo'](_0x33e6d2,_0x46ee6e[_0x1b6912(0x135)])?_0x46ee6e[_0x1b6912(0xc6)]:_0x33e6d2,'test_run':_0xd73553};return testhubUtils[_0x1b6912(0x122)](FRAMEWORKS[_0x1b6912(0xfe)],_0x31cbfb),SessionHandler[_0x1b6912(0xe9)](_0x31cbfb);}catch(_0x3894f4){_0x46ee6e[_0x1b6912(0xc4)](debug,_0x1b6912(0xea)+_0x33e6d2+_0x1b6912(0x10e)+_0x3894f4);}}[a17_0x14c970(0xc2)](_0x20386){const _0x25934e=a17_0x14c970,_0x4aa844={'SyihN':function(_0x271c61,_0x361f94){return _0x271c61!==_0x361f94;},'xtPtm':function(_0x3a13c7,_0x1f073d){return _0x3a13c7>_0x1f073d;},'gcDDP':function(_0x33c88f,_0x5f0145){return _0x33c88f(_0x5f0145);},'dyQSz':function(_0x5921a0,_0x29a65f){return _0x5921a0-_0x29a65f;}};try{const _0x4db489=[];let _0xdc5e07=_0x20386&&_0x20386['parentSuiteId'];const _0x1e214c=new Set();while(_0x4aa844[_0x25934e(0xbd)](_0xdc5e07,undefined)&&_0x4aa844[_0x25934e(0xbd)](_0xdc5e07,null)&&this['_suitesById']['has'](_0xdc5e07)&&!_0x1e214c[_0x25934e(0xf1)](_0xdc5e07)){_0x1e214c[_0x25934e(0xec)](_0xdc5e07);const _0x2a2592=this[_0x25934e(0x12a)][_0x25934e(0xe4)](_0xdc5e07);_0x2a2592&&_0x2a2592[_0x25934e(0xe6)]&&_0x4db489[_0x25934e(0xd7)](_0x2a2592[_0x25934e(0xe6)]),_0xdc5e07=_0x2a2592?_0x2a2592[_0x25934e(0xf8)]:null;}if(_0x4aa844[_0x25934e(0x139)](_0x4db489[_0x25934e(0x108)],0x0))return _0x4db489['reverse']();}catch(_0x258bd7){_0x4aa844[_0x25934e(0x12b)](debug,_0x25934e(0x105)+(_0x20386&&_0x20386[_0x25934e(0x133)])+_0x25934e(0x10e)+_0x258bd7);}const _0x119c2d=_0x20386&&_0x20386[_0x25934e(0x133)]||'',_0x15c947=_0x20386&&_0x20386[_0x25934e(0xe6)]||'';let _0x1b1401=_0x119c2d;return _0x15c947&&_0x119c2d[_0x25934e(0x11c)](_0x15c947)&&(_0x1b1401=_0x119c2d[_0x25934e(0xcd)](0x0,_0x4aa844['dyQSz'](_0x119c2d[_0x25934e(0x108)],_0x15c947[_0x25934e(0x108)]))[_0x25934e(0xf2)]()),_0x1b1401?_0x1b1401[_0x25934e(0xca)](/\s+/):[];}[a17_0x14c970(0x12d)](_0x54cbfd){const _0x88dd2a=a17_0x14c970,_0x37d2c0={};_0x37d2c0['tayOr']=function(_0x5cdfc9,_0x3a4479){return _0x5cdfc9===_0x3a4479;},_0x37d2c0[_0x88dd2a(0xe2)]=function(_0x19e3ef,_0x311fad){return _0x19e3ef+_0x311fad;},_0x37d2c0['Vzjmg']=function(_0x5455dc,_0x53ecb0){return _0x5455dc>_0x53ecb0;};const _0x4238e0=_0x37d2c0;if(_0x54cbfd&&_0x54cbfd[_0x88dd2a(0x112)])return _0x54cbfd[_0x88dd2a(0x112)];if(_0x54cbfd&&_0x54cbfd[_0x88dd2a(0x133)]){if(this[_0x88dd2a(0x109)][_0x54cbfd[_0x88dd2a(0x133)]])return this[_0x88dd2a(0x109)][_0x54cbfd['fullName']];let _0x17dd5b=null,_0x3fa4ea=-0x1;for(const _0x357a15 of Object['keys'](this[_0x88dd2a(0x109)])){(_0x4238e0[_0x88dd2a(0x107)](_0x54cbfd['fullName'],_0x357a15)||_0x54cbfd[_0x88dd2a(0x133)]['startsWith'](_0x4238e0['lGzUy'](_0x357a15,'\x20')))&&_0x4238e0[_0x88dd2a(0x138)](_0x357a15[_0x88dd2a(0x108)],_0x3fa4ea)&&(_0x17dd5b=this[_0x88dd2a(0x109)][_0x357a15],_0x3fa4ea=_0x357a15[_0x88dd2a(0x108)]);}if(_0x17dd5b)return _0x17dd5b;}return null;}['_collapseFailedExpectations'](_0x5df786){const _0x11adb3=a17_0x14c970,_0xf392c3={};_0xf392c3[_0x11adb3(0x121)]=function(_0x12fc8f,_0xb0399b){return _0x12fc8f===_0xb0399b;},_0xf392c3[_0x11adb3(0xcb)]='Spec\x20failed';const _0x9cd6f1=_0xf392c3;if(!Array[_0x11adb3(0xfa)](_0x5df786)||_0x9cd6f1['monnz'](_0x5df786['length'],0x0))return undefined;const _0xe6e0a6=[],_0x5912d6=[];for(const _0x225579 of _0x5df786){_0x225579&&_0x225579[_0x11adb3(0xde)]&&_0xe6e0a6[_0x11adb3(0xd7)](_0x225579[_0x11adb3(0xde)]),_0x225579&&_0x225579[_0x11adb3(0x118)]&&_0x5912d6['push'](_0x225579['stack']);}const _0x97d880=_0x5df786[0x0]||{},_0x56639d=_0xe6e0a6['join']('\x0a')||_0x97d880[_0x11adb3(0xde)]||_0x9cd6f1[_0x11adb3(0xcb)],_0xfa60f7=_0x5912d6[_0x11adb3(0x10b)]('\x0a\x0a')||_0x97d880[_0x11adb3(0x118)]||_0x56639d,_0xe0b9ad={};return _0xe0b9ad[_0x11adb3(0xde)]=_0x56639d,_0xe0b9ad[_0x11adb3(0x118)]=_0xfa60f7,_0xe0b9ad['matcherName']=_0x97d880[_0x11adb3(0xe5)],_0xe0b9ad['expected']=_0x97d880[_0x11adb3(0xdf)],_0xe0b9ad['actual']=_0x97d880[_0x11adb3(0x126)],_0xe0b9ad;}[a17_0x14c970(0xd2)](_0x4357ff){const _0x41c337=a17_0x14c970,_0x25dd39={};_0x25dd39[_0x41c337(0x120)]=function(_0xcce5c8,_0x1be04d){return _0xcce5c8===_0x1be04d;},_0x25dd39['KicXO']=function(_0x497d5e,_0x425012){return _0x497d5e===_0x425012;},_0x25dd39['LQQlg']=function(_0x419eb1,_0x5e3929){return _0x419eb1===_0x5e3929;},_0x25dd39[_0x41c337(0x134)]=_0x41c337(0xf3),_0x25dd39[_0x41c337(0x124)]='config';const _0x44123c=_0x25dd39,_0x4afa02=path['sep'];if(_0x44123c[_0x41c337(0x120)](_0x4357ff,null)||_0x44123c[_0x41c337(0x120)](_0x4357ff,'')||_0x44123c[_0x41c337(0xc9)](_0x4357ff,_0x4afa02)||_0x44123c[_0x41c337(0xc7)](_0x4357ff,path[_0x41c337(0xcf)](_0x4357ff)))return null;try{return fs['statSync'](path['join'](_0x4357ff,_0x44123c[_0x41c337(0x134)],_0x44123c[_0x41c337(0x124)])),_0x4357ff;}catch(_0x7caa38){return this['_findGitConfig'](path['dirname'](_0x4357ff));}}}module[a17_0x14c970(0xc1)]=BrowserStackJasmineReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a18_0x2eeff6=a18_0xa11d;function a18_0x252d(){const _0x1c4cab=['jasmine\x20child\x20(platformIndex=','end','\x20:\x20','prepareCapabilities','vKiXu','launchBuild','useW3C','parallelsPerPlatform','binSessionId','inherit','Tqafe','getHubUrl','BROWSERSTACK_RERUN_TESTS','p-limit','../../helpers/playwright-helper','assign','SDK_SETUP','dJBES','FjxxJ','BROWSERSTACK_JASMINE_PARALLELS','push','JASMINE','876444ANJZvN','error','specArgs',',\x20specs=','from','rIrgJ','exports','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','tQyAt','jasmine','startsWith','UMFRn','JASMINE_CONFIG_PATH','all','QFOWT','\x20platform(s),\x20parallelsPerPlatform=','jZeXh','isArray','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','IozqB','VAMvu','validPlatformsPresent','5DaKKfo','resolve','KtaZx','testObservability','jHTSH','Running\x20your\x20Jasmine\x20tests\x20across\x20','isUndefined','ZWXVO','start','UEpDE','spec_files','iLBYu','accessibilityOptions','30vSkoRF','ppPMW','105509BgAuWI','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','initialize','env','kkPMM','DeRKY','maxWorkers','FRAMEWORKS','spec','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','shouldReRunObservabilityTests','CIJTc','string','../utils/constants','isCLIEnabled','WVKtU','../../helpers/puppeteer-helper','__isPlaywrightInstalled','oEVxk','platformIndex','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','slice',';\x20proceeding\x20without\x20injection','../../helpers/logger','join','../../helpers/test-observability/constants','hYvaL','find','../../helpers/helper','spec_dir','winstonLogger','platform','bcZGN','path','exitCode','getPlatformName','jkoRV','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','eXoPQ','stop','../../helpers/test-observability/utils','proxySettings','Gdxao','258597WxsxUB','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','getMultiDriverWorkerConfig','__isPuppeteerInstalled','49cpnBtw','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','existsSync','PNexL','cwd','length','../../helpers/performance/constants','aqGhC','npx','jtpNV','../v2/browserstackCLI','2MfVCVA','../../helpers/testhub/testhubHandler','getPackageVersion','HFPYn','debug','handleApp','INAIi','xnJdH','IDnuF','PKzqJ','parse','trim','tcvRG','filter','isBrowserstackInfra','EVENTS','spec/support/jasmine.json','comut','3109447ZCkkQh','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','rPzPE','FuzSY','aodFF','format','close','win32','\x20concurrent)','216012zBbEyG','4329JnjhsC','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','../../helpers/utilities','stringify','TtwYm','map','../../helpers/performance/performance-tester','TadNP','2054568cvLPES','BROWSERSTACK_CAPABILITIES','readFileSync','dOODp','@playwright/test','\x20work-item(s),\x20max\x20','parseFileNames','WPCeQ','posix','--helper=','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','SDK_CLEANUP','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','getInstance','config',')\x20:\x20'];a18_0x252d=function(){return _0x1c4cab;};return a18_0x252d();}function a18_0xa11d(_0x15e4e0,_0x12da66){const _0x252d85=a18_0x252d();return a18_0xa11d=function(_0xa11d4,_0x4e12de){_0xa11d4=_0xa11d4-0x8c;let _0x416a48=_0x252d85[_0xa11d4];return _0x416a48;},a18_0xa11d(_0x15e4e0,_0x12da66);}(function(_0x3f028f,_0x40a9ee){const _0x168059=a18_0xa11d,_0x3be0cc=_0x3f028f();while(!![]){try{const _0x58e82c=-parseInt(_0x168059(0xaa))/0x1*(-parseInt(_0x168059(0xe4))/0x2)+-parseInt(_0x168059(0xd5))/0x3+parseInt(_0x168059(0x12e))/0x4*(-parseInt(_0x168059(0x9b))/0x5)+parseInt(_0x168059(0xff))/0x6*(-parseInt(_0x168059(0xd9))/0x7)+-parseInt(_0x168059(0x108))/0x8+parseInt(_0x168059(0x100))/0x9+parseInt(_0x168059(0xa8))/0xa*(parseInt(_0x168059(0xf6))/0xb);if(_0x58e82c===_0x40a9ee)break;else _0x3be0cc['push'](_0x3be0cc['shift']());}catch(_0x15b5f8){_0x3be0cc['push'](_0x3be0cc['shift']());}}}(a18_0x252d,0x22264));const fs=require('fs'),path=require(a18_0x2eeff6(0xcb)),util=require('util'),{spawn}=require('child_process'),glob=require('glob'),pLimit=require(a18_0x2eeff6(0x125)),logger=require(a18_0x2eeff6(0xc1))[a18_0x2eeff6(0xc8)],helper=require(a18_0x2eeff6(0xc6)),utilities=require(a18_0x2eeff6(0x102)),constants=require(a18_0x2eeff6(0xb7)),TestHubHandler=require(a18_0x2eeff6(0xe5)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a18_0x2eeff6(0xd2)),{FRAMEWORKS}=require(a18_0x2eeff6(0xc3)),PerformanceTester=require(a18_0x2eeff6(0x106)),PerformanceEvents=require(a18_0x2eeff6(0xdf))[a18_0x2eeff6(0xf3)],BrowserstackCLI=require(a18_0x2eeff6(0xe3)),{checkPwandBootstrapCli}=require(a18_0x2eeff6(0x126)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x2eeff6(0xba)),getMaxWorkers=(_0x1ca423,_0x408db1)=>{const _0x5d5ab7=a18_0x2eeff6,_0x33716e={'FuzSY':function(_0x5027d5,_0x2cc1c2){return _0x5027d5(_0x2cc1c2);}};let _0x4f1b41=0x1;if(!helper['isUndefined'](_0x408db1[_0x5d5ab7(0x11f)]))_0x4f1b41=_0x33716e[_0x5d5ab7(0xf9)](parseInt,_0x408db1[_0x5d5ab7(0x11f)]);else!helper['isUndefined'](_0x1ca423['maxWorkers'])&&(_0x4f1b41=_0x1ca423[_0x5d5ab7(0xb0)]);return _0x4f1b41;},resolveJasmineConfigPath=()=>{const _0x453355=a18_0x2eeff6,_0x9890d9={};_0x9890d9[_0x453355(0xed)]=_0x453355(0xf4);const _0x22fd4b=_0x9890d9,_0x214bf3=[];process['env'][_0x453355(0x91)]&&_0x214bf3['push'](path['resolve'](process[_0x453355(0xdd)](),process[_0x453355(0xad)][_0x453355(0x91)]));_0x214bf3[_0x453355(0x12c)](path[_0x453355(0x9c)](process['cwd'](),_0x22fd4b[_0x453355(0xed)]));for(const _0x385e83 of _0x214bf3){try{if(fs['existsSync'](_0x385e83))return _0x385e83;}catch(_0x54a3da){}}return null;},enumerateSpecFiles=_0x186ab3=>{const _0x49b747=a18_0x2eeff6,_0x2d924c={'ppPMW':function(_0x18fac5,_0x4fa629){return _0x18fac5(_0x4fa629);},'Tqafe':function(_0x51a3e4,_0x170dd2){return _0x51a3e4>_0x170dd2;},'TtwYm':function(_0x412676,_0x1f0e9c){return _0x412676<_0x1f0e9c;},'KtaZx':function(_0x25c31a,_0x1a29c0){return _0x25c31a===_0x1a29c0;},'INAIi':_0x49b747(0xb6),'IozqB':function(_0x13626f,_0x3003a7){return _0x13626f>_0x3003a7;},'AQLPb':function(_0xf2d512,_0x29c3a8,_0x3d26e4){return _0xf2d512(_0x29c3a8,_0x3d26e4);},'HFPYn':function(_0x2a6ed4){return _0x2a6ed4();},'VUKZu':'utf8','hYvaL':_0x49b747(0xb2),'UEpDE':'**/*[sS]pec.?(m)js','QweTR':function(_0x4aa7ff,_0x4d4af4,_0x19cd1f){return _0x4aa7ff(_0x4d4af4,_0x19cd1f);},'iLBYu':function(_0x2ec477,_0x3e275f){return _0x2ec477(_0x3e275f);}};try{if(testOpsHelper[_0x49b747(0xb4)]()){const _0x50361c=testOpsHelper[_0x49b747(0x10e)](process[_0x49b747(0xad)][_0x49b747(0x124)]);if(Array['isArray'](_0x50361c)&&_0x2d924c[_0x49b747(0x122)](_0x50361c[_0x49b747(0xde)],0x0))return _0x50361c[_0x49b747(0x105)](_0x3aba50=>path[_0x49b747(0x9c)](process[_0x49b747(0xdd)](),_0x3aba50[_0x49b747(0xef)]()))[_0x49b747(0xf1)](Boolean);}}catch(_0x3b6013){_0x2d924c[_0x49b747(0xa9)](debug,_0x49b747(0xbe)+util[_0x49b747(0xfb)](_0x3b6013));}const _0x37e619=[];try{for(let _0xb7f694=0x1;_0x2d924c[_0x49b747(0x104)](_0xb7f694,_0x186ab3['length']);_0xb7f694++){const _0xd1a9aa=_0x186ab3[_0xb7f694];_0x2d924c[_0x49b747(0x9d)](typeof _0xd1a9aa,_0x2d924c[_0x49b747(0xea)])&&!_0xd1a9aa['startsWith']('-')&&_0x37e619[_0x49b747(0x12c)](_0xd1a9aa);}}catch(_0x3cd93a){}const _0x4de846={'cwd':process[_0x49b747(0xdd)](),'absolute':!![],'nodir':!![]},_0x13f336=(_0x357bd0,_0x3d1ee4)=>{const _0x46ac6f=_0x49b747,_0x467d01=[];for(const _0xc27fe5 of _0x357bd0){try{const _0x2d2934=_0x3d1ee4?path[_0x46ac6f(0x110)]['join'](_0x3d1ee4,_0xc27fe5):_0xc27fe5,_0x5ef5a6=glob['globSync'](_0x2d2934,_0x4de846);Array[_0x46ac6f(0x96)](_0x5ef5a6)&&_0x467d01['push'](..._0x5ef5a6);}catch(_0x271d6c){_0x2d924c[_0x46ac6f(0xa9)](debug,_0x46ac6f(0xda)+_0xc27fe5+'\x27\x20:\x20'+util[_0x46ac6f(0xfb)](_0x271d6c));}}return _0x467d01;};if(_0x2d924c[_0x49b747(0x98)](_0x37e619[_0x49b747(0xde)],0x0)){const _0x23b8ef=_0x2d924c['AQLPb'](_0x13f336,_0x37e619,null);if(_0x2d924c[_0x49b747(0x122)](_0x23b8ef[_0x49b747(0xde)],0x0))return Array['from'](new Set(_0x23b8ef));return _0x37e619[_0x49b747(0x105)](_0xead965=>path[_0x49b747(0x9c)](process[_0x49b747(0xdd)](),_0xead965));}try{const _0x38481c=_0x2d924c[_0x49b747(0xe7)](resolveJasmineConfigPath);if(_0x38481c){const _0x34c18c=JSON[_0x49b747(0xee)](fs[_0x49b747(0x10a)](_0x38481c,_0x2d924c['VUKZu'])),_0x175cf8=_0x34c18c[_0x49b747(0xc7)]||_0x2d924c[_0x49b747(0xc4)],_0x51e17e=Array[_0x49b747(0x96)](_0x34c18c[_0x49b747(0xa5)])&&_0x2d924c[_0x49b747(0x122)](_0x34c18c['spec_files'][_0x49b747(0xde)],0x0)?_0x34c18c[_0x49b747(0xa5)]:[_0x2d924c[_0x49b747(0xa4)]],_0x5e61d4=_0x2d924c['QweTR'](_0x13f336,_0x51e17e,_0x175cf8);if(_0x2d924c[_0x49b747(0x122)](_0x5e61d4[_0x49b747(0xde)],0x0))return Array[_0x49b747(0x132)](new Set(_0x5e61d4));}}catch(_0x5ee809){_0x2d924c[_0x49b747(0xa6)](debug,_0x49b747(0xf7)+util[_0x49b747(0xfb)](_0x5ee809));}return null;};async function run(_0x677b41,_0x2b2dcd,_0x414d0d){const _0x5b23e5=a18_0x2eeff6,_0x20d4fa={'jZeXh':function(_0x24b41e,_0x41e7d8){return _0x24b41e>_0x41e7d8;},'kkPMM':function(_0x26b25a,_0x56d231){return _0x26b25a>_0x56d231;},'UMFRn':_0x5b23e5(0x92),'tcvRG':function(_0x3664d2,_0x1caf89){return _0x3664d2(_0x1caf89);},'comut':function(_0x1710e9,_0x3504d5){return _0x1710e9||_0x3504d5;},'WVKtU':function(_0x308404,_0x2a7dfd){return _0x308404(_0x2a7dfd);},'PNexL':function(_0x1ea03d,_0x272845){return _0x1ea03d(_0x272845);},'xazZE':function(_0x2fa127,_0x3ddfc6){return _0x2fa127>_0x3ddfc6;},'dJBES':function(_0x153137,_0x2bdf73,_0x2b75b2,_0x202eb1){return _0x153137(_0x2bdf73,_0x2b75b2,_0x202eb1);},'IDnuF':_0x5b23e5(0xe1),'vKiXu':_0x5b23e5(0x8e),'hlzcZ':function(_0x2dbc30,_0x2697f5){return _0x2dbc30===_0x2697f5;},'WPCeQ':_0x5b23e5(0xfd),'jtpNV':_0x5b23e5(0x121),'VAMvu':_0x5b23e5(0xfc),'jHTSH':'error','FjxxJ':_0x5b23e5(0x10c),'DeRKY':function(_0x1a3e2c){return _0x1a3e2c();},'jkoRV':function(_0x3af773,_0xb85a3c,_0x2e7658,_0x5d1fe1){return _0x3af773(_0xb85a3c,_0x2e7658,_0x5d1fe1);},'rIrgJ':function(_0x1cc392,_0x1d485f){return _0x1cc392!=_0x1d485f;},'dOODp':'true','bcZGN':function(_0x12ed64,_0x4239e0){return _0x12ed64(_0x4239e0);},'ofaQt':function(_0x3e335a,_0x5854c2){return _0x3e335a(_0x5854c2);},'eXoPQ':function(_0x31eb35,_0x50cdf8,_0x3216f8){return _0x31eb35(_0x50cdf8,_0x3216f8);},'aqGhC':function(_0x1abf94,_0x585abd){return _0x1abf94*_0x585abd;},'DuUEL':function(_0x413909,_0x41c514){return _0x413909(_0x41c514);},'tQyAt':'test.setup.js','Gdxao':function(_0x26b20f,_0x2d0cfc){return _0x26b20f(_0x2d0cfc);},'ZWXVO':function(_0x35272e,_0x1fdf54){return _0x35272e(_0x1fdf54);},'aodFF':function(_0xda5943,_0x35025f){return _0xda5943(_0x35025f);},'TadNP':function(_0x2f9c28,_0x21697f){return _0x2f9c28<_0x21697f;},'QFOWT':function(_0x4c1ce4,_0x1476d0){return _0x4c1ce4>_0x1476d0;},'xnJdH':function(_0x2d1175,_0x29ad9d){return _0x2d1175(_0x29ad9d);}},_0x3d4126=helper[_0x5b23e5(0xe6)](_0x20d4fa[_0x5b23e5(0x12a)]);global[_0x5b23e5(0xbb)]=!!_0x3d4126;const _0x526b55=_0x20d4fa[_0x5b23e5(0xaf)](getPuppeteerVersion);global[_0x5b23e5(0xd8)]=!!_0x526b55;helper[_0x5b23e5(0xf2)]()&&(await _0x414d0d[_0x5b23e5(0xac)](_0x677b41),await helper[_0x5b23e5(0xe9)](_0x414d0d[_0x5b23e5(0x116)]));if(_0x3d4126)await _0x20d4fa[_0x5b23e5(0xce)](checkPwandBootstrapCli,_0x3d4126,constants[_0x5b23e5(0xb1)][_0x5b23e5(0x12d)],_0x414d0d);else _0x526b55&&await _0x20d4fa[_0x5b23e5(0x129)](checkPuppeteerAndBootstrapCli,_0x526b55,constants[_0x5b23e5(0xb1)][_0x5b23e5(0x12d)],_0x414d0d);if(!_0x414d0d[_0x5b23e5(0x116)])return;_0x20d4fa[_0x5b23e5(0x133)](_0x414d0d[_0x5b23e5(0x116)][_0x5b23e5(0x9e)],null)?process[_0x5b23e5(0xad)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x414d0d[_0x5b23e5(0x116)]['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x20d4fa[_0x5b23e5(0x10b)];!helper[_0x5b23e5(0xa1)](_0x414d0d[_0x5b23e5(0x116)][_0x5b23e5(0xa7)])&&(process[_0x5b23e5(0xad)][_0x5b23e5(0xcf)]=JSON['stringify'](_0x414d0d[_0x5b23e5(0x116)]['accessibilityOptions']));try{await TestHubHandler[_0x5b23e5(0x11d)](FRAMEWORKS['JASMINE'],_0x414d0d);}catch(_0x55d852){logger[_0x5b23e5(0x12f)](_0x5b23e5(0xd6)+util[_0x5b23e5(0xfb)](_0x55d852)),_0x20d4fa['WVKtU'](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util[_0x5b23e5(0xfb)](_0x55d852));}let _0x515c4a=![],_0x3bf8cf=[];try{_0x515c4a=helper[_0x5b23e5(0x11e)](_0x414d0d['config']),_0x3bf8cf=helper[_0x5b23e5(0x11b)](_0x414d0d['config'],_0x515c4a,constants[_0x5b23e5(0xb1)][_0x5b23e5(0x12d)]),process['env'][_0x5b23e5(0x109)]=JSON['stringify'](_0x3bf8cf);}catch(_0x21fba4){_0x20d4fa[_0x5b23e5(0xf0)](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util[_0x5b23e5(0xfb)](_0x21fba4));}let _0x2dfbba=null,_0xa7f6cd=![];try{_0x2dfbba=helper[_0x5b23e5(0x123)](_0x414d0d[_0x5b23e5(0x116)]),_0xa7f6cd=helper[_0x5b23e5(0x9a)](_0x414d0d[_0x5b23e5(0x116)]);}catch(_0x5e1ab6){_0x20d4fa[_0x5b23e5(0xca)](debug,_0x5b23e5(0x114)+util[_0x5b23e5(0xfb)](_0x5e1ab6));}let _0x2c7e5={};try{_0x2c7e5=helper[_0x5b23e5(0xd7)](_0x414d0d[_0x5b23e5(0x116)],_0x515c4a,constants[_0x5b23e5(0xb1)][_0x5b23e5(0x12d)]);}catch(_0x3ae2d5){_0x20d4fa['ofaQt'](debug,'Exception\x20preparing\x20Jasmine\x20multi-driver\x20config;\x20spawning\x20children\x20single-driver\x20:\x20'+util['format'](_0x3ae2d5));}const _0x46bc2c=_0x2073d6=>{const _0xbeeb6a=_0x5b23e5,_0x33798a=Array['isArray'](_0x3bf8cf)&&_0x20d4fa[_0xbeeb6a(0x95)](_0x3bf8cf['length'],_0x2073d6)?_0x3bf8cf[_0x2073d6]:Array[_0xbeeb6a(0x96)](_0x3bf8cf)&&_0x20d4fa[_0xbeeb6a(0xae)](_0x3bf8cf['length'],0x0)?_0x3bf8cf[0x0]:{};return Object[_0xbeeb6a(0x127)]({'server':_0x2dfbba,'capability':_0x33798a,'proxySettings':_0x414d0d[_0xbeeb6a(0x116)][_0xbeeb6a(0xd3)],'platform':helper[_0xbeeb6a(0xcd)](_0x33798a),'browserStackLogLevel':_0x414d0d[_0xbeeb6a(0x116)]['logLevel'],'platformIndex':_0x2073d6,'framework':constants['FRAMEWORKS'][_0xbeeb6a(0x12d)],'platformCaps':_0xa7f6cd?Object[_0xbeeb6a(0x127)]({'index':_0x2073d6},_0x414d0d['config']['platforms'][_0x2073d6]):{'index':_0x2073d6}},_0x2c7e5);};let _0x3e6a1c=0x1,_0x4f500d=0x1,_0x11266f=0x1;try{_0x3e6a1c=_0x20d4fa[_0x5b23e5(0xd0)](getMaxWorkers,_0x677b41,_0x414d0d[_0x5b23e5(0x116)]),_0x4f500d=_0xa7f6cd?_0x414d0d[_0x5b23e5(0x116)]['platforms'][_0x5b23e5(0xde)]:0x1,_0x11266f=_0x20d4fa[_0x5b23e5(0xe0)](_0x4f500d,_0x3e6a1c),process[_0x5b23e5(0xad)][_0x5b23e5(0x12b)]=_0x20d4fa['tcvRG'](String,_0x11266f);}catch(_0x1f687d){_0x20d4fa[_0x5b23e5(0xf0)](debug,'Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20'+util[_0x5b23e5(0xfb)](_0x1f687d));}try{BrowserstackCLI['getInstance']()[_0x5b23e5(0x120)]&&(process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI['getInstance']()[_0x5b23e5(0x120)]);}catch(_0x3eb5ca){_0x20d4fa['DuUEL'](debug,_0x5b23e5(0xb3)+util[_0x5b23e5(0xfb)](_0x3eb5ca));}const _0x3be51a=[];try{const _0x12b51a=path[_0x5b23e5(0x9c)](__dirname,_0x20d4fa[_0x5b23e5(0x8d)]);fs[_0x5b23e5(0xdb)](_0x12b51a)?_0x3be51a[_0x5b23e5(0x12c)](_0x5b23e5(0x111)+_0x12b51a):_0x20d4fa[_0x5b23e5(0xd4)](debug,_0x5b23e5(0x101)+_0x12b51a+_0x5b23e5(0xc0));}catch(_0xa678de){_0x20d4fa[_0x5b23e5(0xa2)](debug,_0x5b23e5(0xab)+util[_0x5b23e5(0xfb)](_0xa678de));}const _0x30b3e2=_0x2b2dcd[_0x5b23e5(0xbf)](0x1),_0x47541f=_0x20d4fa[_0x5b23e5(0xfa)](enumerateSpecFiles,_0x2b2dcd),_0x5d27a7=[];for(let _0x3e4a95=0x0;_0x20d4fa[_0x5b23e5(0x107)](_0x3e4a95,_0x4f500d);_0x3e4a95++){if(_0x20d4fa[_0x5b23e5(0x93)](_0x3e6a1c,0x1)&&Array['isArray'](_0x47541f)&&_0x20d4fa[_0x5b23e5(0xae)](_0x47541f[_0x5b23e5(0xde)],0x0))for(const _0x17ff12 of _0x47541f){const _0x414a05={};_0x414a05['platformIndex']=_0x3e4a95,_0x414a05['specArgs']=[_0x17ff12],_0x5d27a7[_0x5b23e5(0x12c)](_0x414a05);}else{const _0x25c896={};_0x25c896['platformIndex']=_0x3e4a95,_0x25c896[_0x5b23e5(0x130)]=_0x47541f,_0x5d27a7[_0x5b23e5(0x12c)](_0x25c896);}}logger['info'](_0x5b23e5(0xa0)+_0x4f500d+_0x5b23e5(0x94)+_0x3e6a1c+'\x20('+_0x5d27a7[_0x5b23e5(0xde)]+_0x5b23e5(0x10d)+_0x11266f+_0x5b23e5(0xfe)),PerformanceTester[_0x5b23e5(0x119)](PerformanceEvents[_0x5b23e5(0x128)]);const _0x13d2c7=_0x130e50=>new Promise(_0x2303c6=>{const _0x3f4e75=_0x5b23e5,_0x42648c={'zkpsy':_0x20d4fa[_0x3f4e75(0x90)],'bCyrW':function(_0x49f672,_0x191f0a){const _0xaaf4c9=_0x3f4e75;return _0x20d4fa[_0xaaf4c9(0xf0)](_0x49f672,_0x191f0a);},'oEVxk':function(_0x1a1465,_0x346d69){const _0x239a13=_0x3f4e75;return _0x20d4fa[_0x239a13(0xf5)](_0x1a1465,_0x346d69);},'rPzPE':function(_0x23acfc,_0x1ab2d0){const _0x374f79=_0x3f4e75;return _0x20d4fa[_0x374f79(0xb9)](_0x23acfc,_0x1ab2d0);},'CIJTc':function(_0x3cd7f3,_0x626590){const _0xeb3d5f=_0x3f4e75;return _0x20d4fa[_0xeb3d5f(0xdc)](_0x3cd7f3,_0x626590);}};let _0x1c1f70;try{const _0x117f82=_0x20d4fa['WVKtU'](_0x46bc2c,_0x130e50[_0x3f4e75(0xbd)]);_0x1c1f70=Object[_0x3f4e75(0x127)]({},process[_0x3f4e75(0xad)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x3f4e75(0x103)](_0x117f82),'BROWSERSTACK_CAPABILITIES':JSON[_0x3f4e75(0x103)]([_0x117f82['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x13e004){_0x20d4fa[_0x3f4e75(0xb9)](debug,_0x3f4e75(0x8c)+_0x130e50['platformIndex']+_0x3f4e75(0x11a)+util[_0x3f4e75(0xfb)](_0x13e004)),_0x1c1f70=Object[_0x3f4e75(0x127)]({},process[_0x3f4e75(0xad)]);}const _0x12e89f=Array[_0x3f4e75(0x96)](_0x130e50[_0x3f4e75(0x130)])?_0x130e50['specArgs']:[],_0x1b2224=_0x20d4fa['xazZE'](_0x12e89f[_0x3f4e75(0xde)],0x0)?_0x30b3e2[_0x3f4e75(0xf1)](_0x4df9ba=>typeof _0x4df9ba===_0x3f4e75(0xb6)&&_0x4df9ba[_0x3f4e75(0x8f)]('-')):_0x30b3e2,_0x1bbb93=[..._0x3be51a,..._0x1b2224,..._0x12e89f];try{const _0x49054d=_0x20d4fa['dJBES'](spawn,_0x20d4fa[_0x3f4e75(0xec)],[_0x20d4fa[_0x3f4e75(0x11c)],..._0x1bbb93],{'shell':_0x20d4fa['hlzcZ'](process[_0x3f4e75(0xc9)],_0x20d4fa[_0x3f4e75(0x10f)]),'stdio':_0x20d4fa[_0x3f4e75(0xe2)],'env':_0x1c1f70});_0x49054d['on'](_0x20d4fa[_0x3f4e75(0x99)],_0x4cd7d5=>{const _0x12992f=_0x3f4e75;logger[_0x12992f(0xe8)](_0x12992f(0x118)+_0x130e50['platformIndex']+_0x12992f(0x131)+(_0x12e89f[_0x12992f(0xde)]?_0x12e89f[_0x12992f(0xc2)](','):_0x42648c['zkpsy'])+')\x20exited\x20with\x20code\x20'+_0x4cd7d5),_0x42648c['bCyrW'](_0x2303c6,_0x42648c[_0x12992f(0xbc)](_0x4cd7d5,0x0));}),_0x49054d['on'](_0x20d4fa[_0x3f4e75(0x9f)],_0x23afdf=>{const _0x450f22=_0x3f4e75;_0x42648c[_0x450f22(0xf8)](debug,_0x450f22(0x112)+_0x130e50[_0x450f22(0xbd)]+')\x20:\x20'+util[_0x450f22(0xfb)](_0x23afdf)),_0x42648c[_0x450f22(0xb5)](_0x2303c6,0x1);});}catch(_0x5ec5a4){_0x20d4fa[_0x3f4e75(0xb9)](debug,'Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex='+_0x130e50[_0x3f4e75(0xbd)]+_0x3f4e75(0x117)+util['format'](_0x5ec5a4)),_0x20d4fa[_0x3f4e75(0xb9)](_0x2303c6,0x1);}}),_0x1d0ce9=_0x20d4fa[_0x5b23e5(0xeb)](pLimit,_0x20d4fa[_0x5b23e5(0x93)](_0x11266f,0x0)?_0x11266f:0x1),_0x3356cf=await Promise[_0x5b23e5(0x92)](_0x5d27a7[_0x5b23e5(0x105)](_0x406c64=>_0x1d0ce9(()=>_0x13d2c7(_0x406c64))));PerformanceTester[_0x5b23e5(0xa3)](PerformanceEvents[_0x5b23e5(0x113)]);const _0x40bd8c=_0x3356cf[_0x5b23e5(0xc5)](_0x6ec58e=>_0x6ec58e!==0x0)||0x0;process[_0x5b23e5(0xcc)]=_0x40bd8c,logger[_0x5b23e5(0xe8)](_0x5b23e5(0x97)+_0x40bd8c);const _0x25c5ce=BrowserstackCLI[_0x5b23e5(0xb8)]();try{await TestHubHandler[_0x5b23e5(0xd1)](),await BrowserstackCLI[_0x5b23e5(0x115)]()['stop']();}catch(_0x10e903){_0x20d4fa[_0x5b23e5(0xf0)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x5b23e5(0xfb)](_0x10e903));}testOpsHelper['printBuildLink'](),await utilities['finalExecution'](_0x414d0d,_0x25c5ce);}module[a18_0x2eeff6(0x134)]=run;
2
+ 'use strict';const a18_0x58225b=a18_0x573c;function a18_0x573c(_0x2b6bd1,_0x4483b1){const _0x46a969=a18_0x46a9();return a18_0x573c=function(_0x573c12,_0x2a992d){_0x573c12=_0x573c12-0x12d;let _0x30ba2c=_0x46a969[_0x573c12];return _0x30ba2c;},a18_0x573c(_0x2b6bd1,_0x4483b1);}(function(_0x19efb1,_0x147a22){const _0x5c76d8=a18_0x573c,_0x346f3d=_0x19efb1();while(!![]){try{const _0x4c029a=-parseInt(_0x5c76d8(0x19e))/0x1+-parseInt(_0x5c76d8(0x166))/0x2+parseInt(_0x5c76d8(0x146))/0x3*(-parseInt(_0x5c76d8(0x132))/0x4)+parseInt(_0x5c76d8(0x1bc))/0x5+parseInt(_0x5c76d8(0x1ba))/0x6+parseInt(_0x5c76d8(0x16e))/0x7+parseInt(_0x5c76d8(0x187))/0x8*(parseInt(_0x5c76d8(0x1b2))/0x9);if(_0x4c029a===_0x147a22)break;else _0x346f3d['push'](_0x346f3d['shift']());}catch(_0x38ae66){_0x346f3d['push'](_0x346f3d['shift']());}}}(a18_0x46a9,0x711d8));const fs=require('fs'),path=require(a18_0x58225b(0x1cd)),util=require(a18_0x58225b(0x1b7)),{spawn}=require(a18_0x58225b(0x139)),glob=require('glob'),pLimit=require(a18_0x58225b(0x18e)),logger=require(a18_0x58225b(0x176))[a18_0x58225b(0x172)],helper=require(a18_0x58225b(0x147)),utilities=require('../../helpers/utilities'),constants=require(a18_0x58225b(0x1b4)),TestHubHandler=require(a18_0x58225b(0x183)),testOpsHelper=require(a18_0x58225b(0x167)),{debug}=require(a18_0x58225b(0x167)),{FRAMEWORKS}=require(a18_0x58225b(0x18f)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a18_0x58225b(0x191))[a18_0x58225b(0x190)],BrowserstackCLI=require(a18_0x58225b(0x17c)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x58225b(0x13d)),getMaxWorkers=(_0x31f313,_0x7aa229)=>{const _0x58c49b=a18_0x58225b,_0x64ba0={'obNIA':function(_0x22ac66,_0x38f00f){return _0x22ac66(_0x38f00f);}};let _0xff6a35=0x1;if(!helper['isUndefined'](_0x7aa229[_0x58c49b(0x1b6)]))_0xff6a35=_0x64ba0[_0x58c49b(0x1a6)](parseInt,_0x7aa229['parallelsPerPlatform']);else!helper[_0x58c49b(0x1c1)](_0x31f313[_0x58c49b(0x168)])&&(_0xff6a35=_0x31f313[_0x58c49b(0x168)]);return _0xff6a35;},resolveJasmineConfigPath=()=>{const _0x49852f=a18_0x58225b,_0xa23aea={};_0xa23aea[_0x49852f(0x14f)]='spec/support/jasmine.json';const _0x1f0fb1=_0xa23aea,_0x20546b=[];process[_0x49852f(0x19f)][_0x49852f(0x13f)]&&_0x20546b[_0x49852f(0x196)](path[_0x49852f(0x188)](process[_0x49852f(0x1be)](),process['env'][_0x49852f(0x13f)]));_0x20546b[_0x49852f(0x196)](path[_0x49852f(0x188)](process[_0x49852f(0x1be)](),_0x1f0fb1[_0x49852f(0x14f)]));for(const _0x20e91d of _0x20546b){try{if(fs[_0x49852f(0x16d)](_0x20e91d))return _0x20e91d;}catch(_0x5c4a0d){}}return null;},enumerateSpecFiles=_0x5b0d5a=>{const _0x436139=a18_0x58225b,_0x53a608={'MULNB':function(_0x223866,_0x3b271f){return _0x223866(_0x3b271f);},'pnONz':function(_0x13f6bf,_0xfe325){return _0x13f6bf>_0xfe325;},'seXTu':function(_0x778129,_0x168582){return _0x778129<_0x168582;},'IFLuK':function(_0xa9090d,_0x24552c){return _0xa9090d===_0x24552c;},'yqhBQ':_0x436139(0x198),'qnVjs':function(_0x51bf38,_0x2fd94f){return _0x51bf38>_0x2fd94f;},'yKHAX':function(_0xc21f3b,_0x305254,_0x48412f){return _0xc21f3b(_0x305254,_0x48412f);},'vsUOs':function(_0x5cab02){return _0x5cab02();},'TCPwq':_0x436139(0x165),'DcdZl':_0x436139(0x186),'zXVyj':function(_0xef76df,_0x872399){return _0xef76df>_0x872399;},'RnMiO':_0x436139(0x1ab),'rIDUZ':function(_0x55809e,_0x3a83db){return _0x55809e(_0x3a83db);}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x356a98=testOpsHelper[_0x436139(0x1c7)](process['env'][_0x436139(0x18b)]);if(Array[_0x436139(0x1ac)](_0x356a98)&&_0x53a608['pnONz'](_0x356a98[_0x436139(0x177)],0x0))return _0x356a98[_0x436139(0x162)](_0x3a15f3=>path[_0x436139(0x188)](process[_0x436139(0x1be)](),_0x3a15f3['trim']()))['filter'](Boolean);}}catch(_0x173412){_0x53a608[_0x436139(0x17e)](debug,_0x436139(0x1cb)+util['format'](_0x173412));}const _0x5e8f13=[];try{for(let _0x5b872c=0x1;_0x53a608[_0x436139(0x145)](_0x5b872c,_0x5b0d5a[_0x436139(0x177)]);_0x5b872c++){const _0x13c903=_0x5b0d5a[_0x5b872c];_0x53a608[_0x436139(0x1c4)](typeof _0x13c903,_0x53a608[_0x436139(0x161)])&&!_0x13c903['startsWith']('-')&&_0x5e8f13['push'](_0x13c903);}}catch(_0x86804d){}const _0x43bd21={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x3f40cb=(_0x4caf5d,_0x9f92a)=>{const _0x2d48f9=_0x436139,_0xee395e=[];for(const _0x424a89 of _0x4caf5d){try{const _0x4bf409=_0x9f92a?path[_0x2d48f9(0x158)]['join'](_0x9f92a,_0x424a89):_0x424a89,_0x4c3de3=glob[_0x2d48f9(0x154)](_0x4bf409,_0x43bd21);Array[_0x2d48f9(0x1ac)](_0x4c3de3)&&_0xee395e[_0x2d48f9(0x196)](..._0x4c3de3);}catch(_0x142559){_0x53a608[_0x2d48f9(0x17e)](debug,_0x2d48f9(0x149)+_0x424a89+_0x2d48f9(0x163)+util[_0x2d48f9(0x15d)](_0x142559));}}return _0xee395e;};if(_0x53a608[_0x436139(0x137)](_0x5e8f13[_0x436139(0x177)],0x0)){const _0x553e19=_0x53a608[_0x436139(0x134)](_0x3f40cb,_0x5e8f13,null);if(_0x53a608['qnVjs'](_0x553e19[_0x436139(0x177)],0x0))return Array[_0x436139(0x199)](new Set(_0x553e19));return _0x5e8f13['map'](_0x402f5a=>path['resolve'](process[_0x436139(0x1be)](),_0x402f5a));}try{const _0x3629ff=_0x53a608[_0x436139(0x144)](resolveJasmineConfigPath);if(_0x3629ff){const _0x4d0bbd=JSON[_0x436139(0x1ca)](fs[_0x436139(0x1b3)](_0x3629ff,_0x53a608[_0x436139(0x17d)])),_0x53ee5e=_0x4d0bbd['spec_dir']||_0x53a608['DcdZl'],_0x85336=Array['isArray'](_0x4d0bbd[_0x436139(0x17a)])&&_0x53a608['zXVyj'](_0x4d0bbd[_0x436139(0x17a)]['length'],0x0)?_0x4d0bbd['spec_files']:[_0x53a608['RnMiO']],_0x5aa0e1=_0x53a608[_0x436139(0x134)](_0x3f40cb,_0x85336,_0x53ee5e);if(_0x53a608['zXVyj'](_0x5aa0e1[_0x436139(0x177)],0x0))return Array[_0x436139(0x199)](new Set(_0x5aa0e1));}}catch(_0x1365f5){_0x53a608[_0x436139(0x1b1)](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x436139(0x15d)](_0x1365f5));}return null;};async function run(_0x49e841,_0x3bb526,_0x3a8c0f){const _0x2f6ec5=a18_0x58225b,_0x317e75={'cJcoq':function(_0x1142fc,_0x4dbf8a){return _0x1142fc>_0x4dbf8a;},'dVgCK':function(_0x6a9316,_0x5e4cd6){return _0x6a9316>_0x5e4cd6;},'qNFPK':_0x2f6ec5(0x180),'zPunt':function(_0x4b9841,_0x3ca20c){return _0x4b9841(_0x3ca20c);},'CiYxj':function(_0x5712e7,_0x459332){return _0x5712e7||_0x459332;},'decqU':function(_0x33e819,_0x4d1146){return _0x33e819(_0x4d1146);},'eZvNo':function(_0x3d3f6d,_0x1398b9){return _0x3d3f6d(_0x1398b9);},'mQPgm':function(_0x5bc8a7,_0xa56668){return _0x5bc8a7>_0xa56668;},'rjxha':function(_0x23d9ee,_0x8efd91,_0x20d03a,_0x1145e7){return _0x23d9ee(_0x8efd91,_0x20d03a,_0x1145e7);},'RlLIn':_0x2f6ec5(0x131),'GRUEs':_0x2f6ec5(0x1a7),'mDuCh':function(_0x6f464d,_0x82812e){return _0x6f464d===_0x82812e;},'HHRFh':'win32','EKbdS':_0x2f6ec5(0x181),'ZBYYo':'close','wMdaF':'error','ObZRg':_0x2f6ec5(0x14b),'grUUE':function(_0x1fdbb4){return _0x1fdbb4();},'vtyOZ':function(_0x671815,_0x5dd72f,_0x4e1349,_0x55a1de){return _0x671815(_0x5dd72f,_0x4e1349,_0x55a1de);},'GKSmq':function(_0x1359c4,_0x2f1416){return _0x1359c4!=_0x2f1416;},'IpWDj':'true','GwtGd':function(_0x12adba,_0x3de4d1){return _0x12adba(_0x3de4d1);},'xEiIm':function(_0x12a26d,_0x3280ed){return _0x12a26d(_0x3280ed);},'xrLeo':function(_0xadf757,_0xbaa5fe,_0x516ebb){return _0xadf757(_0xbaa5fe,_0x516ebb);},'DfOgw':function(_0x2c5ed2,_0xd1502e){return _0x2c5ed2*_0xd1502e;},'QBIAD':function(_0x3c74f0,_0x491472){return _0x3c74f0(_0x491472);},'XBMds':function(_0x335871,_0x211c61){return _0x335871(_0x211c61);},'Ompes':'test.setup.js','LTfdp':function(_0x1483bd,_0x44e0e0){return _0x1483bd(_0x44e0e0);},'GzadT':function(_0x5e0f98,_0x229e44){return _0x5e0f98(_0x229e44);},'FuLOA':function(_0x2559fb,_0x46b291){return _0x2559fb<_0x46b291;},'lezCO':function(_0x50fd1e,_0x2ab81f){return _0x50fd1e>_0x2ab81f;},'EEQDE':function(_0x456e1a,_0x5a2101){return _0x456e1a>_0x5a2101;},'dlrls':function(_0x3163a0,_0x4de5c5){return _0x3163a0(_0x4de5c5);}},_0x2caf72=helper['getPackageVersion'](_0x317e75[_0x2f6ec5(0x169)]);global[_0x2f6ec5(0x14d)]=!!_0x2caf72;const _0x5b23a3=_0x317e75[_0x2f6ec5(0x1bf)](getPuppeteerVersion);global[_0x2f6ec5(0x1b9)]=!!_0x5b23a3;helper['isBrowserstackInfra']()&&(await _0x3a8c0f[_0x2f6ec5(0x13b)](_0x49e841),await helper[_0x2f6ec5(0x170)](_0x3a8c0f['config']));if(_0x2caf72)await _0x317e75['vtyOZ'](checkPwandBootstrapCli,_0x2caf72,constants[_0x2f6ec5(0x173)][_0x2f6ec5(0x19c)],_0x3a8c0f);else _0x5b23a3&&await _0x317e75[_0x2f6ec5(0x156)](checkPuppeteerAndBootstrapCli,_0x5b23a3,constants[_0x2f6ec5(0x173)]['JASMINE'],_0x3a8c0f);if(!_0x3a8c0f[_0x2f6ec5(0x13c)])return;_0x317e75['GKSmq'](_0x3a8c0f[_0x2f6ec5(0x13c)][_0x2f6ec5(0x18d)],null)?process['env'][_0x2f6ec5(0x140)]=_0x3a8c0f['config']['testObservability']:process[_0x2f6ec5(0x19f)][_0x2f6ec5(0x140)]=_0x317e75[_0x2f6ec5(0x15c)];!helper[_0x2f6ec5(0x1c1)](_0x3a8c0f[_0x2f6ec5(0x13c)][_0x2f6ec5(0x1a4)])&&(process[_0x2f6ec5(0x19f)][_0x2f6ec5(0x192)]=JSON[_0x2f6ec5(0x153)](_0x3a8c0f[_0x2f6ec5(0x13c)][_0x2f6ec5(0x1a4)]));try{await TestHubHandler[_0x2f6ec5(0x143)](FRAMEWORKS['JASMINE'],_0x3a8c0f);}catch(_0x11bcf8){logger[_0x2f6ec5(0x150)](_0x2f6ec5(0x12d)+util[_0x2f6ec5(0x15d)](_0x11bcf8)),_0x317e75[_0x2f6ec5(0x13e)](debug,_0x2f6ec5(0x1c0)+util[_0x2f6ec5(0x15d)](_0x11bcf8));}let _0x503a80=![],_0x5bdaae=[];try{_0x503a80=helper['useW3C'](_0x3a8c0f[_0x2f6ec5(0x13c)]),_0x5bdaae=helper[_0x2f6ec5(0x1c2)](_0x3a8c0f['config'],_0x503a80,constants[_0x2f6ec5(0x173)]['JASMINE']),process['env']['BROWSERSTACK_CAPABILITIES']=JSON[_0x2f6ec5(0x153)](_0x5bdaae);}catch(_0x538447){_0x317e75[_0x2f6ec5(0x14a)](debug,_0x2f6ec5(0x1ae)+util[_0x2f6ec5(0x15d)](_0x538447));}let _0x744cc4=null,_0x1e2fb3=![];try{_0x744cc4=helper[_0x2f6ec5(0x195)](_0x3a8c0f[_0x2f6ec5(0x13c)]),_0x1e2fb3=helper[_0x2f6ec5(0x184)](_0x3a8c0f[_0x2f6ec5(0x13c)]);}catch(_0x3021ad){_0x317e75[_0x2f6ec5(0x174)](debug,_0x2f6ec5(0x155)+util[_0x2f6ec5(0x15d)](_0x3021ad));}let _0x19b054={};try{_0x19b054=helper[_0x2f6ec5(0x15e)](_0x3a8c0f['config'],_0x503a80,constants[_0x2f6ec5(0x173)][_0x2f6ec5(0x19c)]);}catch(_0xf2fc5b){_0x317e75[_0x2f6ec5(0x14a)](debug,_0x2f6ec5(0x17f)+util[_0x2f6ec5(0x15d)](_0xf2fc5b));}const _0x5d4be0=_0xbc1e75=>{const _0x570daf=_0x2f6ec5,_0x5c6c7d=Array[_0x570daf(0x1ac)](_0x5bdaae)&&_0x317e75[_0x570daf(0x189)](_0x5bdaae[_0x570daf(0x177)],_0xbc1e75)?_0x5bdaae[_0xbc1e75]:Array[_0x570daf(0x1ac)](_0x5bdaae)&&_0x317e75[_0x570daf(0x19b)](_0x5bdaae[_0x570daf(0x177)],0x0)?_0x5bdaae[0x0]:{};return Object[_0x570daf(0x138)]({'server':_0x744cc4,'capability':_0x5c6c7d,'proxySettings':_0x3a8c0f[_0x570daf(0x13c)][_0x570daf(0x175)],'platform':helper[_0x570daf(0x1c8)](_0x5c6c7d),'browserStackLogLevel':_0x3a8c0f[_0x570daf(0x13c)][_0x570daf(0x160)],'platformIndex':_0xbc1e75,'framework':constants[_0x570daf(0x173)][_0x570daf(0x19c)],'platformCaps':_0x1e2fb3?Object[_0x570daf(0x138)]({'index':_0xbc1e75},_0x3a8c0f[_0x570daf(0x13c)][_0x570daf(0x12e)][_0xbc1e75]):{'index':_0xbc1e75}},_0x19b054);};let _0x3a9f32=0x1,_0x2d846a=0x1,_0x41e92f=0x1;try{_0x3a9f32=_0x317e75[_0x2f6ec5(0x14c)](getMaxWorkers,_0x49e841,_0x3a8c0f['config']),_0x2d846a=_0x1e2fb3?_0x3a8c0f[_0x2f6ec5(0x13c)]['platforms'][_0x2f6ec5(0x177)]:0x1,_0x41e92f=_0x317e75['DfOgw'](_0x2d846a,_0x3a9f32),process[_0x2f6ec5(0x19f)][_0x2f6ec5(0x179)]=_0x317e75[_0x2f6ec5(0x16f)](String,_0x41e92f);}catch(_0x81f919){_0x317e75[_0x2f6ec5(0x12f)](debug,_0x2f6ec5(0x130)+util['format'](_0x81f919));}try{BrowserstackCLI[_0x2f6ec5(0x13a)]()[_0x2f6ec5(0x18a)]&&(process['env'][_0x2f6ec5(0x148)]=BrowserstackCLI[_0x2f6ec5(0x13a)]()[_0x2f6ec5(0x18a)]);}catch(_0x14d42a){_0x317e75[_0x2f6ec5(0x16f)](debug,'Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20'+util[_0x2f6ec5(0x15d)](_0x14d42a));}const _0x116130=[];try{const _0x272079=path[_0x2f6ec5(0x188)](__dirname,_0x317e75[_0x2f6ec5(0x1a5)]);fs['existsSync'](_0x272079)?_0x116130['push'](_0x2f6ec5(0x182)+_0x272079):_0x317e75['decqU'](debug,_0x2f6ec5(0x16b)+_0x272079+_0x2f6ec5(0x1c6));}catch(_0x1374ab){_0x317e75[_0x2f6ec5(0x1a2)](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x2f6ec5(0x15d)](_0x1374ab));}const _0x418fbd=_0x3bb526[_0x2f6ec5(0x197)](0x1),_0x444474=_0x317e75['GzadT'](enumerateSpecFiles,_0x3bb526),_0x2b2945=[];for(let _0x3ba79e=0x0;_0x317e75['FuLOA'](_0x3ba79e,_0x2d846a);_0x3ba79e++){if(_0x317e75[_0x2f6ec5(0x19b)](_0x3a9f32,0x1)&&Array[_0x2f6ec5(0x1ac)](_0x444474)&&_0x317e75[_0x2f6ec5(0x15f)](_0x444474['length'],0x0))for(const _0x768b0c of _0x444474){const _0x18cb66={};_0x18cb66[_0x2f6ec5(0x1a3)]=_0x3ba79e,_0x18cb66[_0x2f6ec5(0x1b5)]=[_0x768b0c],_0x2b2945[_0x2f6ec5(0x196)](_0x18cb66);}else{const _0x3d9d77={};_0x3d9d77['platformIndex']=_0x3ba79e,_0x3d9d77[_0x2f6ec5(0x1b5)]=_0x444474,_0x2b2945[_0x2f6ec5(0x196)](_0x3d9d77);}}logger[_0x2f6ec5(0x1c3)](_0x2f6ec5(0x1bd)+_0x2d846a+'\x20platform(s),\x20parallelsPerPlatform='+_0x3a9f32+'\x20('+_0x2b2945[_0x2f6ec5(0x177)]+_0x2f6ec5(0x142)+_0x41e92f+_0x2f6ec5(0x185)),PerformanceTester['end'](PerformanceEvents[_0x2f6ec5(0x15a)]);const _0x17f944=_0x302892=>new Promise(_0x2261ca=>{const _0x3298a5=_0x2f6ec5,_0x13459c={'kiNmf':function(_0x50fdb7,_0x176fd7){const _0x1bcb50=a18_0x573c;return _0x317e75[_0x1bcb50(0x1a8)](_0x50fdb7,_0x176fd7);}};let _0x5b661b;try{const _0x1c9e33=_0x317e75[_0x3298a5(0x1cc)](_0x5d4be0,_0x302892['platformIndex']);_0x5b661b=Object[_0x3298a5(0x138)]({},process[_0x3298a5(0x19f)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x3298a5(0x153)](_0x1c9e33),'BROWSERSTACK_CAPABILITIES':JSON[_0x3298a5(0x153)]([_0x1c9e33[_0x3298a5(0x1c5)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0xc01e93){_0x317e75[_0x3298a5(0x1cc)](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x302892[_0x3298a5(0x1a3)]+_0x3298a5(0x18c)+util[_0x3298a5(0x15d)](_0xc01e93)),_0x5b661b=Object[_0x3298a5(0x138)]({},process[_0x3298a5(0x19f)]);}const _0x428e98=Array[_0x3298a5(0x1ac)](_0x302892[_0x3298a5(0x1b5)])?_0x302892[_0x3298a5(0x1b5)]:[],_0x1d9329=_0x317e75[_0x3298a5(0x141)](_0x428e98['length'],0x0)?_0x418fbd[_0x3298a5(0x1a9)](_0x34f54d=>typeof _0x34f54d===_0x3298a5(0x198)&&_0x34f54d[_0x3298a5(0x15b)]('-')):_0x418fbd,_0x3bc5d9=[..._0x116130,..._0x1d9329,..._0x428e98];try{const _0x9e1ba8=_0x317e75[_0x3298a5(0x156)](spawn,_0x317e75[_0x3298a5(0x171)],[_0x317e75[_0x3298a5(0x133)],..._0x3bc5d9],{'shell':_0x317e75[_0x3298a5(0x193)](process['platform'],_0x317e75[_0x3298a5(0x1a1)]),'stdio':_0x317e75[_0x3298a5(0x14e)],'env':_0x5b661b});_0x9e1ba8['on'](_0x317e75[_0x3298a5(0x1b0)],_0x49a290=>{const _0x5bfb65=_0x3298a5;logger[_0x5bfb65(0x1aa)](_0x5bfb65(0x16a)+_0x302892['platformIndex']+_0x5bfb65(0x164)+(_0x428e98['length']?_0x428e98[_0x5bfb65(0x136)](','):_0x317e75[_0x5bfb65(0x194)])+_0x5bfb65(0x16c)+_0x49a290),_0x317e75[_0x5bfb65(0x14a)](_0x2261ca,_0x317e75[_0x5bfb65(0x159)](_0x49a290,0x0));}),_0x9e1ba8['on'](_0x317e75[_0x3298a5(0x17b)],_0x2219e9=>{const _0x223911=_0x3298a5;_0x13459c['kiNmf'](debug,_0x223911(0x1bb)+_0x302892[_0x223911(0x1a3)]+')\x20:\x20'+util[_0x223911(0x15d)](_0x2219e9)),_0x13459c['kiNmf'](_0x2261ca,0x1);});}catch(_0xf791e3){_0x317e75[_0x3298a5(0x1a8)](debug,_0x3298a5(0x1b8)+_0x302892[_0x3298a5(0x1a3)]+')\x20:\x20'+util['format'](_0xf791e3)),_0x317e75[_0x3298a5(0x14a)](_0x2261ca,0x1);}}),_0x366316=_0x317e75[_0x2f6ec5(0x135)](pLimit,_0x317e75[_0x2f6ec5(0x1af)](_0x41e92f,0x0)?_0x41e92f:0x1),_0x1276fb=await Promise[_0x2f6ec5(0x180)](_0x2b2945['map'](_0xa86521=>_0x366316(()=>_0x17f944(_0xa86521))));PerformanceTester[_0x2f6ec5(0x151)](PerformanceEvents[_0x2f6ec5(0x1ad)]);const _0xbf15b0=_0x1276fb[_0x2f6ec5(0x1c9)](_0x38f91d=>_0x38f91d!==0x0)||0x0;process[_0x2f6ec5(0x19a)]=_0xbf15b0,logger['debug'](_0x2f6ec5(0x178)+_0xbf15b0);const _0x28ea80=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x2f6ec5(0x152)](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0x373d05){_0x317e75['dlrls'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x2f6ec5(0x15d)](_0x373d05));}testOpsHelper[_0x2f6ec5(0x157)](),await utilities[_0x2f6ec5(0x1a0)](_0x3a8c0f,_0x28ea80);}function a18_0x46a9(){const _0x102485=['map','\x27\x20:\x20',',\x20specs=','utf8','388646aUcOmU','../../helpers/test-observability/utils','maxWorkers','ObZRg','jasmine\x20child\x20(platformIndex=','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20',')\x20exited\x20with\x20code\x20','existsSync','2907870arRlgI','QBIAD','handleApp','RlLIn','winstonLogger','FRAMEWORKS','xEiIm','proxySettings','../../helpers/logger','length','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','BROWSERSTACK_JASMINE_PARALLELS','spec_files','wMdaF','../v2/browserstackCLI','TCPwq','MULNB','Exception\x20preparing\x20Jasmine\x20multi-driver\x20config;\x20spawning\x20children\x20single-driver\x20:\x20','all','inherit','--helper=','../../helpers/testhub/testhubHandler','validPlatformsPresent','\x20concurrent)','spec','8OHgtKF','resolve','cJcoq','binSessionId','BROWSERSTACK_RERUN_TESTS','\x20:\x20','testObservability','p-limit','../../helpers/test-observability/constants','EVENTS','../../helpers/performance/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','mDuCh','qNFPK','getHubUrl','push','slice','string','from','exitCode','dVgCK','JASMINE','exports','896400MqLzur','env','finalExecution','HHRFh','LTfdp','platformIndex','accessibilityOptions','Ompes','obNIA','jasmine','decqU','filter','debug','**/*[sS]pec.?(m)js','isArray','SDK_CLEANUP','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','EEQDE','ZBYYo','rIDUZ','9011619qZkjxm','readFileSync','../utils/constants','specArgs','parallelsPerPlatform','util','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','__isPuppeteerInstalled','61320HDdUPK','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','1993520hmfjUJ','Running\x20your\x20Jasmine\x20tests\x20across\x20','cwd','grUUE','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','isUndefined','prepareCapabilities','info','IFLuK','capability',';\x20proceeding\x20without\x20injection','parseFileNames','getPlatformName','find','parse','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','eZvNo','path','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','platforms','XBMds','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','npx','8PRbkzP','GRUEs','yKHAX','GzadT','join','qnVjs','assign','child_process','getInstance','initialize','config','../../helpers/puppeteer-helper','GwtGd','JASMINE_CONFIG_PATH','BROWSERSTACK_TEST_OBSERVABILITY_YML','mQPgm','\x20work-item(s),\x20max\x20','launchBuild','vsUOs','seXTu','407373xbpcWx','../../helpers/helper','BROWSERSTACK_CLI_BIN_SESSION_ID','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','zPunt','@playwright/test','xrLeo','__isPlaywrightInstalled','EKbdS','QZPPe','error','start','stop','stringify','globSync','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','rjxha','printBuildLink','posix','CiYxj','SDK_SETUP','startsWith','IpWDj','format','getMultiDriverWorkerConfig','lezCO','logLevel','yqhBQ'];a18_0x46a9=function(){return _0x102485;};return a18_0x46a9();}module[a18_0x58225b(0x19d)]=run;
@@ -1 +1 @@
1
- 'use strict';const a19_0x4a491d=a19_0x263c;(function(_0x3e4181,_0x49ef1c){const _0x3edf4c=a19_0x263c,_0x1c2759=_0x3e4181();while(!![]){try{const _0x53c143=-parseInt(_0x3edf4c(0x118))/0x1+-parseInt(_0x3edf4c(0x107))/0x2*(-parseInt(_0x3edf4c(0x102))/0x3)+parseInt(_0x3edf4c(0xcd))/0x4+-parseInt(_0x3edf4c(0xc7))/0x5*(parseInt(_0x3edf4c(0xc9))/0x6)+-parseInt(_0x3edf4c(0xe1))/0x7+-parseInt(_0x3edf4c(0x121))/0x8+-parseInt(_0x3edf4c(0xd9))/0x9*(-parseInt(_0x3edf4c(0xf5))/0xa);if(_0x53c143===_0x49ef1c)break;else _0x1c2759['push'](_0x1c2759['shift']());}catch(_0x22e62f){_0x1c2759['push'](_0x1c2759['shift']());}}}(a19_0x1e30,0xa8937));const util=require(a19_0x4a491d(0x9e)),logger=require(a19_0x4a491d(0xaf))[a19_0x4a491d(0xe6)],helper=require(a19_0x4a491d(0xea)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a19_0x4a491d(0xd4)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x4a491d(0x119)),accessibilityRetryHelper=require(a19_0x4a491d(0x125)),testRunMap=require(a19_0x4a491d(0xb4));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x4a491d(0xf2)][a19_0x4a491d(0xcc)]||process[a19_0x4a491d(0xf2)][a19_0x4a491d(0xdb)];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x4a491d(0xfd)](rawConfig));}catch(a19_0x4d2b19){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0xaa)+util[a19_0x4a491d(0xc5)](a19_0x4d2b19));}try{if(_bstackConfig&&!helper[a19_0x4a491d(0xff)](a19_0x4a491d(0x124))){const BfjLnK=a19_0x4a491d(0xb8)['split']('|');let dbQRiH=0x0;while(!![]){switch(BfjLnK[dbQRiH++]){case'0':logger['debug'](a19_0x4a491d(0xc0));continue;case'1':shouldProcessEventForTesthub()?require(a19_0x4a491d(0xa6))[a19_0x4a491d(0x109)](_bstackConfig,null,!![]):require(a19_0x4a491d(0xa6))[a19_0x4a491d(0x109)](_bstackConfig);continue;case'2':global[a19_0x4a491d(0x11b)]=_bstackConfig[a19_0x4a491d(0x115)]||{};continue;case'3':helper[a19_0x4a491d(0xf3)]()?(global[a19_0x4a491d(0xac)]=helper[a19_0x4a491d(0xf7)](_bstackConfig[a19_0x4a491d(0x10d)]),global['__skipSessionStatus']=helper[a19_0x4a491d(0xf7)](_bstackConfig[a19_0x4a491d(0xa0)])):(global[a19_0x4a491d(0xac)]=!![],global[a19_0x4a491d(0x128)]=!![]);continue;case'4':global[a19_0x4a491d(0xb6)]=_bstackConfig[a19_0x4a491d(0xde)];continue;}break;}}}catch(a19_0x3887f6){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0xd8)+util[a19_0x4a491d(0xc5)](a19_0x3887f6));}const _fileNameByFullName={};function a19_0x263c(_0x4f8ec2,_0x492521){const _0x1e307b=a19_0x1e30();return a19_0x263c=function(_0x263c6a,_0x408b78){_0x263c6a=_0x263c6a-0x9a;let _0x237d66=_0x1e307b[_0x263c6a];return _0x237d66;},a19_0x263c(_0x4f8ec2,_0x492521);}try{if(typeof describe===a19_0x4a491d(0xa7)&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x19d1b6=a19_0x4a491d,_0x58e9ea={'uQJrg':function(_0xda2800,_0xe0203a){return _0xda2800(_0xe0203a);},'cNUhV':_0x19d1b6(0x110),'kHpbz':function(_0x4f17b3,_0x51eb8f){return _0x4f17b3(_0x51eb8f);},'dqLWT':_0x19d1b6(0xae),'fxFcI':_0x19d1b6(0xe5)},_0x59df4d=Error[_0x19d1b6(0x9a)];try{const _0x1db39d=new Error();Error[_0x19d1b6(0x9a)]=(_0x50a9c9,_0x42e1c6)=>_0x42e1c6;const _0x409aae=_0x1db39d[_0x19d1b6(0xf4)];Error['prepareStackTrace']=_0x59df4d;if(Array[_0x19d1b6(0xf8)](_0x409aae))for(const _0x470337 of _0x409aae){const _0x48e1cb=_0x470337[_0x19d1b6(0xb2)]&&_0x470337['getFileName']();if(_0x48e1cb&&!_0x48e1cb[_0x19d1b6(0x116)]('bin'+_0x58e9ea[_0x19d1b6(0xe3)](require,_0x58e9ea[_0x19d1b6(0xdd)])[_0x19d1b6(0xa5)]+_0x19d1b6(0xb7)+_0x58e9ea['kHpbz'](require,_0x58e9ea[_0x19d1b6(0xdd)])[_0x19d1b6(0xa5)])&&!_0x48e1cb[_0x19d1b6(0x117)](_0x58e9ea[_0x19d1b6(0x11a)])&&!_0x48e1cb[_0x19d1b6(0x116)](_0x58e9ea['fxFcI']))return _0x48e1cb;}}catch(_0x1f67cf){Error['prepareStackTrace']=_0x59df4d;}return null;},_wrappedDescribe=function(_0x370dd3,_0xb9b19b){const _0x38dd68=a19_0x4a491d,_0x5632a3={'RbnsW':function(_0xbe776d){return _0xbe776d();},'BAyNF':function(_0x12b83c,_0x5367ec){return _0x12b83c&&_0x5367ec;},'KxeYw':function(_0x11a101,_0x26919c,_0x504fd4){return _0x11a101(_0x26919c,_0x504fd4);}};let _0x5b9a3a=null;try{_0x5b9a3a=_0x5632a3[_0x38dd68(0xd0)](_resolveCallerFile);}catch(_0x219465){}_describeTitleStack[_0x38dd68(0x11f)](_0x370dd3);const _0x1db864=_describeTitleStack['join']('\x20');_0x5632a3['BAyNF'](_0x5b9a3a,_0x1db864)&&(_fileNameByFullName[_0x1db864]=_0x5b9a3a);try{return _0x5632a3['KxeYw'](_origDescribe,_0x370dd3,_0xb9b19b);}finally{_describeTitleStack[_0x38dd68(0x10e)]();}};Object[a19_0x4a491d(0xb3)](_origDescribe)['forEach'](_0x4872e9=>{_wrappedDescribe[_0x4872e9]=_origDescribe[_0x4872e9];}),global['describe']=_wrappedDescribe;}}catch(a19_0x45db26){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0x10a)+util['format'](a19_0x45db26));}try{if(typeof jasmine!==a19_0x4a491d(0x9c)&&jasmine[a19_0x4a491d(0x9d)]){const BrowserStackJasmineReporter=require(a19_0x4a491d(0xcf)),a19_0x38949f={};a19_0x38949f[a19_0x4a491d(0xe9)]=_fileNameByFullName,jasmine[a19_0x4a491d(0x9d)]()[a19_0x4a491d(0xb1)](new BrowserStackJasmineReporter(a19_0x38949f)),logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0x10f));}else logger['debug'](a19_0x4a491d(0x113));}catch(a19_0x20f4ab){logger[a19_0x4a491d(0xa1)]('[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20'+util[a19_0x4a491d(0xc5)](a19_0x20f4ab));}function a19_0x1e30(){const _0x15fe62=['fileNameByFullName','../../helpers/helper','yxatb','xKquf','fOxXJ','length','__drivers','pLzgw','MPEUH','env','isBrowserstackInfra','stack','573970myqNvT','LuueF','isTrue','isArray','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','pPvEC','parse','vozKh','getPackageVersion','error','warn','865593kcaWWR','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','saveAccessibilityResultsWithRetry','TnrYm','shift','2VRYFuJ','WqcNL','browserstackAgentV2','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','BROWSERSTACK_TESTHUB_JWT','mWkqG','skipSessionName','pop','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','path','browserstackSessionName','autoScanning','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','passed','platformCaps','includes','startsWith','368679RfxDVb','../../helpers/accessibility-automation/helper','dqLWT','__platformCaps','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','bstackA11yShouldScan','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','push','failed','831736qBBgYg','performScanWithRetry','thJwtToken','@playwright/test','../../helpers/accessibility-automation/accessibilityRetryHelper','Spec\x20failed','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','__skipSessionStatus','prepareStackTrace','ENV_VAR','undefined','getEnv','util','initQuit','skipSessionStatus','debug','get','getGlobal','session_','sep','../../index','function','NSQsz','stringify','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','__skipSessionName','executeScript','node:','../../helpers/logger','kUqaJ','addReporter','getFileName','keys','./testRunMap','message','browserstackPlatformIndex','jasmine','0|1|2|4|3','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','Failed:\x20','KSABu','zsGLI','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','markSessionStatus','cQthX','\x22}}','isAccessibilityPlatform','format','setGlobal','112355OmHdnG','GcFXf','138QkAmOf','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','BROWSERSTACK_JASMINE_CONFIG','3359204IuSkrA','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','./bstack-reporter/customReporter','RbnsW','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20','failedExpectations','../../helpers/testhub/constants','ygvgC','isMobilePlatform','Itysp','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','252TTAHKb','info','CONFIG','sessionName','cNUhV','platformIndex','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','yiBkf','7388374YswmAK','SzVfz','uQJrg','__sessionFailed','jasmine-core','winstonLogger','zTjhs','ISJjV'];a19_0x1e30=function(){return _0x15fe62;};return a19_0x1e30();}try{typeof jasmine!==a19_0x4a491d(0x9c)&&jasmine[a19_0x4a491d(0x9d)]&&jasmine[a19_0x4a491d(0x9d)]()[a19_0x4a491d(0xb1)]({'specStarted'(_0xb16185){const _0x28d7de=a19_0x4a491d,_0x233f42={};_0x233f42[_0x28d7de(0xe2)]=function(_0x9ac816,_0x3669c2){return _0x9ac816||_0x3669c2;};const _0x3f121f=_0x233f42;_activeResultId=_0xb16185&&_0xb16185['id'],_activeFullName=_0xb16185&&_0xb16185['fullName'],_activeResultRef=_0x3f121f[_0x28d7de(0xe2)](_0xb16185,null);},'specDone'(){}});}catch(a19_0x4aa0c2){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0xba)+util[a19_0x4a491d(0xc5)](a19_0x4aa0c2));}const _resolveAutoScanning=()=>{const _0x335915=a19_0x4a491d,_0x1d8d2d={};_0x1d8d2d['pPvEC']=function(_0xfcd6ee,_0x5d3ec7){return _0xfcd6ee===_0x5d3ec7;};const _0x1fdf78=_0x1d8d2d;let _0x26ef60=!![];try{const _0x2f4c95=JSON[_0x335915(0xfd)](process[_0x335915(0xf2)][_0x335915(0xab)]||'{}');_0x1fdf78[_0x335915(0xfc)](_0x2f4c95[_0x335915(0x112)],![])&&(_0x26ef60=![]);}catch(_0x4c2158){logger[_0x335915(0xa1)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x4c2158[_0x335915(0xb5)]);}return _0x26ef60;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x513e60=a19_0x4a491d,_0x355831={'Itysp':function(_0x490d12){return _0x490d12();},'xKquf':function(_0x508014,_0x406065,_0x5dc077){return _0x508014(_0x406065,_0x5dc077);},'csQHu':function(_0x25dc91,_0xd4ed75){return _0x25dc91&&_0xd4ed75;},'fOxXJ':_0x513e60(0x11d),'WqcNL':'bstackA11yScanOptions'};try{const _0x1d9de9=_0x355831[_0x513e60(0xd7)](_resolveAutoScanning),_0x3abade=_0x355831[_0x513e60(0xec)](shouldScanTestForAccessibility,null,![]),_0x476d26=_0x355831['csQHu'](_0x1d9de9,_0x3abade);globals[_0x513e60(0xc6)](_0x355831[_0x513e60(0xed)],_0x476d26),globals[_0x513e60(0xc6)](_0x355831[_0x513e60(0x108)],null);}catch(_0x307ac5){logger[_0x513e60(0xa1)](_0x513e60(0xce)+util[_0x513e60(0xc5)](_0x307ac5));}}),typeof afterEach===a19_0x4a491d(0xa7)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x52969=a19_0x4a491d,_0x1db652={'zTjhs':function(_0x3140de,_0x5121a3){return _0x3140de>_0x5121a3;},'GcFXf':_0x52969(0x126),'oKiZu':function(_0x122f46,_0x450ddc){return _0x122f46+_0x450ddc;},'ISJjV':_0x52969(0xbd),'TnrYm':'Passed','mWkqG':_0x52969(0x100),'zsGLI':_0x52969(0xda),'pLzgw':_0x52969(0x120),'rRTYo':_0x52969(0x114),'KSABu':function(_0x1c8cd0){return _0x1c8cd0();},'yiBkf':_0x52969(0xc4),'ygvgC':function(_0x2a997c,_0x5be187){return _0x2a997c>_0x5be187;},'NSQsz':'bstackA11yShouldScan','oEvgt':_0x52969(0x103),'PqUnS':_0x52969(0xfa),'vozKh':_0x52969(0xdf),'yxatb':_0x52969(0xbb),'LuueF':_0x52969(0xd6),'cQthX':_0x52969(0x11c),'kUqaJ':_0x52969(0xcb)};try{if(Array[_0x52969(0xf8)](global[_0x52969(0xef)])&&_0x1db652[_0x52969(0xe7)](global[_0x52969(0xef)]['length'],0x1)){const _0x55e9d1=global[_0x52969(0xef)][0x0];try{await _0x55e9d1[_0x52969(0xa4)],await _0x55e9d1[_0x52969(0x9f)]();}catch(_0x689554){logger[_0x52969(0xa1)](_0x52969(0xbc)+util[_0x52969(0xc5)](_0x689554));}global['__drivers'][_0x52969(0x106)]();}}catch(_0x134e00){logger[_0x52969(0xa1)](_0x52969(0xd2)+util[_0x52969(0xc5)](_0x134e00));}try{if(Array['isArray'](global[_0x52969(0xef)])&&_0x1db652[_0x52969(0xe7)](global[_0x52969(0xef)][_0x52969(0xee)],0x0)&&global[_0x52969(0xef)][0x0]){const _0x507d93=_activeFullName||global['sessionName'];if(!global[_0x52969(0xac)]&&_0x507d93){global[_0x52969(0xdc)]=_0x507d93;try{await global[_0x52969(0xef)][0x0][_0x52969(0xad)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x52969(0xa9)](_0x507d93)+'}}'),global[_0x52969(0xef)][0x0]['sessionNameSet__']=!![];}catch(_0x46830e){logger[_0x52969(0xa1)](_0x52969(0xf9)+util[_0x52969(0xc5)](_0x46830e));}}if(!global['__skipSessionStatus'])try{const _0x1a525b=_activeResultRef&&Array[_0x52969(0xf8)](_activeResultRef[_0x52969(0xd3)])?_activeResultRef[_0x52969(0xd3)]:[],_0x4e5ef0=_0x1db652[_0x52969(0xe7)](_0x1a525b[_0x52969(0xee)],0x0),_0x113fcd=_0x4e5ef0?_0x1a525b[0x0]&&_0x1a525b[0x0][_0x52969(0xb5)]||_0x1db652[_0x52969(0xc8)]:null;try{await global[_0x52969(0xef)][0x0][_0x52969(0xad)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON['stringify'](_0x4e5ef0?_0x1db652['oKiZu'](_0x1db652[_0x52969(0xe8)],_0x113fcd):_0x1db652[_0x52969(0x105)])+',\x22level\x22:\x20\x22'+(_0x4e5ef0?_0x1db652[_0x52969(0x10c)]:_0x1db652[_0x52969(0xbf)])+_0x52969(0xc3));}catch(_0x45c158){logger[_0x52969(0xa1)](_0x52969(0xb9)+util['format'](_0x45c158));}_0x4e5ef0&&(global[_0x52969(0xe4)]=!![]),await helper[_0x52969(0xc1)](global[_0x52969(0xef)][0x0],_0x4e5ef0?_0x1db652[_0x52969(0xf0)]:_0x1db652['rRTYo'],_0x113fcd);}catch(_0x5c7bf0){logger[_0x52969(0xa1)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util[_0x52969(0xc5)](_0x5c7bf0));}}}catch(_0x24b1e9){logger[_0x52969(0xa1)](_0x52969(0xfb)+util['format'](_0x24b1e9));}try{if(_0x1db652[_0x52969(0xbe)](isAccessibilityAutomationSession)&&globals[_0x52969(0xa3)](_0x1db652[_0x52969(0xe0)])&&Array[_0x52969(0xf8)](global[_0x52969(0xef)])&&_0x1db652[_0x52969(0xd5)](global[_0x52969(0xef)][_0x52969(0xee)],0x0)&&global['__drivers'][0x0]){const _0x43041a=testRunMap[_0x52969(0xa2)](_activeResultId),_0x2d7df8={};_0x2d7df8['thTestRunUuid']=_0x43041a,_0x2d7df8['thBuildUuid']=process['env'][testHubConstants[_0x52969(0x9b)]['BROWSERSTACK_TESTHUB_UUID']],_0x2d7df8[_0x52969(0x123)]=process['env'][testHubConstants[_0x52969(0x9b)][_0x52969(0x10b)]];const _0x4284a1=_0x2d7df8;logger[_0x52969(0xa1)](_0x52969(0x127)+JSON[_0x52969(0xa9)](_0x4284a1));if(globals[_0x52969(0xa3)](_0x1db652[_0x52969(0xa8)])){logger[_0x52969(0xa1)](_0x1db652['oEvgt']);const _0x5dead4=await accessibilityRetryHelper[_0x52969(0x122)](global['__drivers'][0x0],global[_0x52969(0x111)]);_0x5dead4?logger[_0x52969(0xa1)](_0x1db652['PqUnS']):logger['warn'](_0x1db652[_0x52969(0xfe)]);}else logger['debug'](_0x1db652[_0x52969(0xeb)]);globals[_0x52969(0xa3)](_0x1db652[_0x52969(0xf6)])&&(_0x4284a1['is_mobile_session']=!![]);const _0x24ef48=await accessibilityRetryHelper[_0x52969(0x104)](global['__drivers'][0x0],_0x4284a1);_0x24ef48?logger[_0x52969(0xa1)](_0x1db652[_0x52969(0xc2)]):logger[_0x52969(0x101)](_0x1db652[_0x52969(0xb0)]);}}catch(_0x4d5647){logger['error'](_0x52969(0xca)+util[_0x52969(0xc5)](_0x4d5647));}});}catch(a19_0x5c9334){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0x11e)+util[a19_0x4a491d(0xc5)](a19_0x5c9334));}try{typeof afterAll==='function'&&afterAll(async function bstackFinalDriverQuit(){const _0x117f65=a19_0x4a491d,_0x1a4b3c={};_0x1a4b3c[_0x117f65(0xf1)]=function(_0x579e20,_0x1d8d75){return _0x579e20>_0x1d8d75;};const _0x227b64=_0x1a4b3c;try{Array[_0x117f65(0xf8)](global[_0x117f65(0xef)])&&_0x227b64[_0x117f65(0xf1)](global['__drivers'][_0x117f65(0xee)],0x0)&&global['__drivers'][0x0]&&(await global['__drivers'][0x0][_0x117f65(0xa4)],await global[_0x117f65(0xef)][0x0][_0x117f65(0x9f)]());}catch(_0x12897a){logger[_0x117f65(0xa1)](_0x117f65(0xd1)+util[_0x117f65(0xc5)](_0x12897a));}});}catch(a19_0x1ae64f){logger[a19_0x4a491d(0xa1)]('[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20'+util[a19_0x4a491d(0xc5)](a19_0x1ae64f));}module['exports']={};
1
+ 'use strict';const a19_0x450c3b=a19_0x7cc4;(function(_0x2ee9b7,_0x2ce9ae){const _0x47a460=a19_0x7cc4,_0x336054=_0x2ee9b7();while(!![]){try{const _0x375176=-parseInt(_0x47a460(0x19b))/0x1*(-parseInt(_0x47a460(0x161))/0x2)+parseInt(_0x47a460(0x1b8))/0x3+parseInt(_0x47a460(0x1b6))/0x4*(-parseInt(_0x47a460(0x1bc))/0x5)+-parseInt(_0x47a460(0x19c))/0x6*(parseInt(_0x47a460(0x167))/0x7)+-parseInt(_0x47a460(0x1b3))/0x8+-parseInt(_0x47a460(0x164))/0x9+parseInt(_0x47a460(0x1bb))/0xa*(parseInt(_0x47a460(0x182))/0xb);if(_0x375176===_0x2ce9ae)break;else _0x336054['push'](_0x336054['shift']());}catch(_0x59d947){_0x336054['push'](_0x336054['shift']());}}}(a19_0x28cc,0xe59ca));const util=require(a19_0x450c3b(0x18a)),logger=require('../../helpers/logger')[a19_0x450c3b(0x168)],helper=require(a19_0x450c3b(0x16e)),globals=require(a19_0x450c3b(0x1a7)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a19_0x450c3b(0x1d3)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x450c3b(0x17b)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a19_0x450c3b(0x1b7));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env'][a19_0x450c3b(0x181)]||process[a19_0x450c3b(0x16c)][a19_0x450c3b(0x19f)];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x450c3b(0x1a3)](rawConfig));}catch(a19_0x4a1253){logger[a19_0x450c3b(0x1b5)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x450c3b(0x178)](a19_0x4a1253));}try{if(_bstackConfig&&!helper[a19_0x450c3b(0x1ba)](a19_0x450c3b(0x169))){const vzgWmv=a19_0x450c3b(0x190)[a19_0x450c3b(0x179)]('|');let osyjwF=0x0;while(!![]){switch(vzgWmv[osyjwF++]){case'0':shouldProcessEventForTesthub()?require(a19_0x450c3b(0x17e))[a19_0x450c3b(0x1c8)](_bstackConfig,null,!![]):require('../../index')[a19_0x450c3b(0x1c8)](_bstackConfig);continue;case'1':global['__platformCaps']=_bstackConfig[a19_0x450c3b(0x1ec)]||{};continue;case'2':global[a19_0x450c3b(0x162)]=_bstackConfig[a19_0x450c3b(0x16a)];continue;case'3':helper[a19_0x450c3b(0x166)]()?(global[a19_0x450c3b(0x1ea)]=helper[a19_0x450c3b(0x1ad)](_bstackConfig[a19_0x450c3b(0x1b0)]),global[a19_0x450c3b(0x1bf)]=helper['isTrue'](_bstackConfig[a19_0x450c3b(0x1d6)])):(global['__skipSessionName']=!![],global[a19_0x450c3b(0x1bf)]=!![]);continue;case'4':logger[a19_0x450c3b(0x1b5)](a19_0x450c3b(0x189));continue;}break;}}}catch(a19_0x26844b){logger['debug']('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util[a19_0x450c3b(0x178)](a19_0x26844b));}const _fileNameByFullName={};function a19_0x7cc4(_0x2e407e,_0x15bfb1){const _0x28cc9f=a19_0x28cc();return a19_0x7cc4=function(_0x7cc485,_0x2701d4){_0x7cc485=_0x7cc485-0x161;let _0xe70aa3=_0x28cc9f[_0x7cc485];return _0xe70aa3;},a19_0x7cc4(_0x2e407e,_0x15bfb1);}try{if(typeof describe==='function'&&typeof global!==a19_0x450c3b(0x1d1)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0xe3b104=a19_0x450c3b,_0x6ce389={'VNGZf':function(_0x4afb57,_0x38b9d5){return _0x4afb57(_0x38b9d5);},'wUJVy':_0xe3b104(0x19a),'XuaIa':function(_0x239582,_0x1812d1){return _0x239582(_0x1812d1);},'xTgRx':'node:','vwpnn':_0xe3b104(0x175)},_0x7173a8=Error['prepareStackTrace'];try{const _0x4cc508=new Error();Error[_0xe3b104(0x18c)]=(_0x4aaf61,_0xeb3cd2)=>_0xeb3cd2;const _0x38d332=_0x4cc508[_0xe3b104(0x188)];Error['prepareStackTrace']=_0x7173a8;if(Array[_0xe3b104(0x173)](_0x38d332))for(const _0x242b7e of _0x38d332){const _0x481457=_0x242b7e[_0xe3b104(0x1cd)]&&_0x242b7e['getFileName']();if(_0x481457&&!_0x481457[_0xe3b104(0x1e8)](_0xe3b104(0x170)+_0x6ce389[_0xe3b104(0x1c4)](require,_0x6ce389['wUJVy'])[_0xe3b104(0x1a1)]+'jasmine'+_0x6ce389[_0xe3b104(0x186)](require,_0x6ce389[_0xe3b104(0x17a)])[_0xe3b104(0x1a1)])&&!_0x481457['startsWith'](_0x6ce389['xTgRx'])&&!_0x481457[_0xe3b104(0x1e8)](_0x6ce389[_0xe3b104(0x194)]))return _0x481457;}}catch(_0x367a78){Error[_0xe3b104(0x18c)]=_0x7173a8;}return null;},_wrappedDescribe=function(_0x3f95eb,_0xd5edcd){const _0xd4ba8f=a19_0x450c3b,_0x3096f1={'zJlbE':function(_0x212476){return _0x212476();},'xrfBu':function(_0x1aca5a,_0x49f4c7){return _0x1aca5a&&_0x49f4c7;},'fdCTE':function(_0x388ec1,_0x5025b0,_0x1264a4){return _0x388ec1(_0x5025b0,_0x1264a4);}};let _0xa9b69f=null;try{_0xa9b69f=_0x3096f1['zJlbE'](_resolveCallerFile);}catch(_0x138d6b){}_describeTitleStack[_0xd4ba8f(0x1ed)](_0x3f95eb);const _0x4c53f9=_describeTitleStack[_0xd4ba8f(0x1cc)]('\x20');_0x3096f1['xrfBu'](_0xa9b69f,_0x4c53f9)&&(_fileNameByFullName[_0x4c53f9]=_0xa9b69f);try{return _0x3096f1[_0xd4ba8f(0x1ca)](_origDescribe,_0x3f95eb,_0xd5edcd);}finally{_describeTitleStack[_0xd4ba8f(0x1c0)]();}};Object['keys'](_origDescribe)[a19_0x450c3b(0x1e6)](_0x2f58e0=>{_wrappedDescribe[_0x2f58e0]=_origDescribe[_0x2f58e0];}),global[a19_0x450c3b(0x1c5)]=_wrappedDescribe;}}catch(a19_0x4b3ef3){logger[a19_0x450c3b(0x1b5)](a19_0x450c3b(0x18e)+util[a19_0x450c3b(0x178)](a19_0x4b3ef3));}try{if(typeof jasmine!=='undefined'&&jasmine[a19_0x450c3b(0x1ef)]){const BrowserStackJasmineReporter=require('./bstack-reporter/customReporter'),a19_0x202214={};a19_0x202214[a19_0x450c3b(0x195)]=_fileNameByFullName,jasmine[a19_0x450c3b(0x1ef)]()['addReporter'](new BrowserStackJasmineReporter(a19_0x202214)),logger[a19_0x450c3b(0x1b5)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a19_0x450c3b(0x1b5)](a19_0x450c3b(0x1a0));}catch(a19_0x5157c8){logger['debug'](a19_0x450c3b(0x1e9)+util['format'](a19_0x5157c8));}try{typeof jasmine!=='undefined'&&jasmine[a19_0x450c3b(0x1ef)]&&jasmine[a19_0x450c3b(0x1ef)]()[a19_0x450c3b(0x1d5)]({'specStarted'(_0x5371f9){const _0x21a5c2=a19_0x450c3b,_0x56f7cb={};_0x56f7cb['bEokb']=function(_0x37a700,_0x452361){return _0x37a700||_0x452361;};const _0x42195b=_0x56f7cb;_activeResultId=_0x5371f9&&_0x5371f9['id'],_activeFullName=_0x5371f9&&_0x5371f9[_0x21a5c2(0x172)],_activeResultRef=_0x42195b[_0x21a5c2(0x1be)](_0x5371f9,null);},'specDone'(){}});}catch(a19_0xe6880b){logger[a19_0x450c3b(0x1b5)](a19_0x450c3b(0x183)+util[a19_0x450c3b(0x178)](a19_0xe6880b));}const _resolveAutoScanning=()=>{const _0xd2f2c=a19_0x450c3b,_0x3f3f9f={};_0x3f3f9f[_0xd2f2c(0x1c1)]=function(_0x4dc69b,_0xcde35b){return _0x4dc69b===_0xcde35b;};const _0xc72da3=_0x3f3f9f;let _0x3423c4=!![];try{const _0x218214=JSON[_0xd2f2c(0x1a3)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0xc72da3[_0xd2f2c(0x1c1)](_0x218214[_0xd2f2c(0x1b9)],![])&&(_0x3423c4=![]);}catch(_0x475bdf){logger['debug'](_0xd2f2c(0x16d)+_0x475bdf[_0xd2f2c(0x1da)]);}return _0x3423c4;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x5a9c28=a19_0x450c3b,_0x1d47e9={'knHxb':function(_0x38721d){return _0x38721d();},'xpLdj':function(_0x214965,_0x415d17,_0x5e37c3){return _0x214965(_0x415d17,_0x5e37c3);},'afagI':function(_0x436fd0,_0xb55d46){return _0x436fd0&&_0xb55d46;},'VEgWT':_0x5a9c28(0x1eb),'MPGXU':'bstackA11yScanOptions'};try{const _0x221e64=_0x1d47e9[_0x5a9c28(0x187)](_resolveAutoScanning),_0x16429d=_0x1d47e9[_0x5a9c28(0x1c6)](shouldScanTestForAccessibility,null,![]),_0x244e07=_0x1d47e9[_0x5a9c28(0x1a8)](_0x221e64,_0x16429d);globals[_0x5a9c28(0x1d2)](_0x1d47e9[_0x5a9c28(0x1b4)],_0x244e07),globals[_0x5a9c28(0x1d2)](_0x1d47e9[_0x5a9c28(0x1f0)],null);}catch(_0x1a0cfc){logger[_0x5a9c28(0x1b5)](_0x5a9c28(0x196)+util[_0x5a9c28(0x178)](_0x1a0cfc));}}),typeof afterEach===a19_0x450c3b(0x1e1)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x527422=a19_0x450c3b,_0x315dab={'UThgf':function(_0x5a695c,_0x302688){return _0x5a695c>_0x302688;},'uyGvd':function(_0x137cdb,_0x372e70){return _0x137cdb>_0x372e70;},'lvrTI':_0x527422(0x19e),'chYXg':function(_0x3dffe5,_0x456322){return _0x3dffe5+_0x456322;},'LHwhg':_0x527422(0x199),'LMFoD':_0x527422(0x171),'XjKGk':_0x527422(0x1a6),'IgQlo':_0x527422(0x1bd),'PPAvG':_0x527422(0x176),'ukwXB':_0x527422(0x185),'PtyOq':function(_0x54c557){return _0x54c557();},'kUXHV':_0x527422(0x177),'gPpiS':function(_0x3dedab,_0x5e41c1){return _0x3dedab>_0x5e41c1;},'eelWF':_0x527422(0x1eb),'MaFzd':_0x527422(0x1ce),'tAdqf':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','iavCC':_0x527422(0x165),'EvsyI':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','HPhpk':_0x527422(0x1c3),'hjnsv':_0x527422(0x1dd),'MGNpN':_0x527422(0x1d7)};try{if(Array[_0x527422(0x173)](global['__drivers'])&&_0x315dab[_0x527422(0x18b)](global['__drivers']['length'],0x1)){const _0x48e7e7=global[_0x527422(0x1d4)][0x0];try{await _0x48e7e7['session_'],await _0x48e7e7['initQuit']();}catch(_0x2ebe59){logger[_0x527422(0x1b5)](_0x527422(0x193)+util[_0x527422(0x178)](_0x2ebe59));}global[_0x527422(0x1d4)]['shift']();}}catch(_0x4c459a){logger[_0x527422(0x1b5)](_0x527422(0x174)+util[_0x527422(0x178)](_0x4c459a));}try{if(Array[_0x527422(0x173)](global['__drivers'])&&_0x315dab[_0x527422(0x192)](global['__drivers'][_0x527422(0x1f2)],0x0)&&global[_0x527422(0x1d4)][0x0]){const _0xeadfe3=_activeFullName||global[_0x527422(0x1f3)];if(!global['__skipSessionName']&&_0xeadfe3){global[_0x527422(0x1f3)]=_0xeadfe3;try{await global[_0x527422(0x1d4)][0x0][_0x527422(0x1d9)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x527422(0x1e2)](_0xeadfe3)+'}}'),global['__drivers'][0x0]['sessionNameSet__']=!![];}catch(_0x47beb3){logger[_0x527422(0x1b5)](_0x527422(0x1df)+util[_0x527422(0x178)](_0x47beb3));}}if(!global[_0x527422(0x1bf)])try{const _0x4d5b6f=_activeResultRef&&Array[_0x527422(0x173)](_activeResultRef[_0x527422(0x1e7)])?_activeResultRef[_0x527422(0x1e7)]:[],_0x2fbcf8=_0x315dab[_0x527422(0x192)](_0x4d5b6f[_0x527422(0x1f2)],0x0),_0x5ea7a4=_0x2fbcf8?_0x4d5b6f[0x0]&&_0x4d5b6f[0x0][_0x527422(0x1da)]||_0x315dab['lvrTI']:null;try{await global[_0x527422(0x1d4)][0x0]['executeScript'](_0x527422(0x19d)+JSON[_0x527422(0x1e2)](_0x2fbcf8?_0x315dab[_0x527422(0x17f)](_0x315dab[_0x527422(0x1c9)],_0x5ea7a4):_0x315dab[_0x527422(0x1b1)])+_0x527422(0x1ac)+(_0x2fbcf8?_0x315dab['XjKGk']:_0x315dab[_0x527422(0x1db)])+_0x527422(0x1e3));}catch(_0x479bed){logger['debug'](_0x527422(0x191)+util[_0x527422(0x178)](_0x479bed));}_0x2fbcf8&&(global[_0x527422(0x1a9)]=!![]),await helper[_0x527422(0x1aa)](global[_0x527422(0x1d4)][0x0],_0x2fbcf8?_0x315dab['PPAvG']:_0x315dab[_0x527422(0x1af)],_0x5ea7a4);}catch(_0x53f82a){logger[_0x527422(0x1b5)](_0x527422(0x1de)+util[_0x527422(0x178)](_0x53f82a));}}}catch(_0x41e4b2){logger[_0x527422(0x1b5)](_0x527422(0x198)+util['format'](_0x41e4b2));}try{if(_0x315dab['PtyOq'](isAccessibilityAutomationSession)&&globals[_0x527422(0x1cb)](_0x315dab[_0x527422(0x17d)])&&Array[_0x527422(0x173)](global['__drivers'])&&_0x315dab['gPpiS'](global[_0x527422(0x1d4)][_0x527422(0x1f2)],0x0)&&global[_0x527422(0x1d4)][0x0]){const _0x22fe6a=testRunMap[_0x527422(0x1cf)](_activeResultId),_0xb63848={};_0xb63848[_0x527422(0x1a4)]=_0x22fe6a,_0xb63848[_0x527422(0x16f)]=process[_0x527422(0x16c)][testHubConstants[_0x527422(0x1ee)][_0x527422(0x1e0)]],_0xb63848['thJwtToken']=process['env'][testHubConstants['ENV_VAR'][_0x527422(0x1d8)]];const _0x2dcc7c=_0xb63848;logger[_0x527422(0x1b5)](_0x527422(0x1e5)+JSON[_0x527422(0x1e2)](_0x2dcc7c));if(globals['getGlobal'](_0x315dab[_0x527422(0x1ab)])){logger[_0x527422(0x1b5)](_0x315dab[_0x527422(0x1dc)]);const _0x2e74e2=await accessibilityRetryHelper[_0x527422(0x1a2)](global[_0x527422(0x1d4)][0x0],global[_0x527422(0x1f1)]);_0x2e74e2?logger['debug'](_0x315dab[_0x527422(0x163)]):logger[_0x527422(0x18f)](_0x315dab[_0x527422(0x1c7)]);}else logger[_0x527422(0x1b5)](_0x315dab[_0x527422(0x1b2)]);globals[_0x527422(0x1cb)](_0x315dab[_0x527422(0x1a5)])&&(_0x2dcc7c['is_mobile_session']=!![]);const _0x318427=await accessibilityRetryHelper[_0x527422(0x1ae)](global[_0x527422(0x1d4)][0x0],_0x2dcc7c);_0x318427?logger[_0x527422(0x1b5)](_0x315dab[_0x527422(0x1c2)]):logger[_0x527422(0x18f)](_0x315dab[_0x527422(0x180)]);}}catch(_0x43ea49){logger['error'](_0x527422(0x16b)+util[_0x527422(0x178)](_0x43ea49));}});}catch(a19_0x4f6514){logger[a19_0x450c3b(0x1b5)](a19_0x450c3b(0x184)+util[a19_0x450c3b(0x178)](a19_0x4f6514));}try{typeof afterAll===a19_0x450c3b(0x1e1)&&afterAll(async function bstackFinalDriverQuit(){const _0x1ad820=a19_0x450c3b,_0x4d8cae={};_0x4d8cae[_0x1ad820(0x17c)]=function(_0x10955b,_0x477c69){return _0x10955b>_0x477c69;};const _0x54117a=_0x4d8cae;try{Array['isArray'](global[_0x1ad820(0x1d4)])&&_0x54117a[_0x1ad820(0x17c)](global[_0x1ad820(0x1d4)][_0x1ad820(0x1f2)],0x0)&&global['__drivers'][0x0]&&(await global[_0x1ad820(0x1d4)][0x0][_0x1ad820(0x1e4)],await global[_0x1ad820(0x1d4)][0x0][_0x1ad820(0x197)]());}catch(_0x28b5c2){logger[_0x1ad820(0x1b5)](_0x1ad820(0x18d)+util[_0x1ad820(0x178)](_0x28b5c2));}});}catch(a19_0x2f962a){logger['debug'](a19_0x450c3b(0x1d0)+util['format'](a19_0x2f962a));}function a19_0x28cc(){const _0x2def8b=['108FizEgu','browserstackPlatformIndex','tAdqf','5370174QMxhpq','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','isBrowserstackInfra','7qpfQsm','winstonLogger','@playwright/test','platformIndex','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','env','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','../../helpers/helper','thBuildUuid','bin','Passed','fullName','isArray','[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20','jasmine-core','failed','isAccessibilityPlatform','format','split','wUJVy','../../helpers/accessibility-automation/helper','lfmXF','kUXHV','../../index','chYXg','MGNpN','BROWSERSTACK_JASMINE_CONFIG','11NAzmXq','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','passed','XuaIa','knHxb','stack','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','util','UThgf','prepareStackTrace','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','warn','4|0|1|2|3','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','uyGvd','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','vwpnn','fileNameByFullName','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','initQuit','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','Failed:\x20','path','1006QmySSn','581862fRBxrJ','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Spec\x20failed','CONFIG','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','sep','performScanWithRetry','parse','thTestRunUuid','HPhpk','error','../../helpers/globals','afagI','__sessionFailed','markSessionStatus','eelWF',',\x22level\x22:\x20\x22','isTrue','saveAccessibilityResultsWithRetry','ukwXB','skipSessionName','LMFoD','EvsyI','4120088BYNGCC','VEgWT','debug','5851708MOeLGs','./testRunMap','1266114sDFfXN','autoScanning','getPackageVersion','31357290YrIkWp','5IWWOff','info','bEokb','__skipSessionStatus','pop','cEWCe','hjnsv','isMobilePlatform','VNGZf','describe','xpLdj','iavCC','browserstackAgentV2','LHwhg','fdCTE','getGlobal','join','getFileName','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','get','[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20','undefined','setGlobal','../../helpers/testhub/constants','__drivers','addReporter','skipSessionStatus','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','BROWSERSTACK_TESTHUB_JWT','executeScript','message','IgQlo','MaFzd','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','BROWSERSTACK_TESTHUB_UUID','function','stringify','\x22}}','session_','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','forEach','failedExpectations','includes','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','__skipSessionName','bstackA11yShouldScan','platformCaps','push','ENV_VAR','getEnv','MPGXU','browserstackSessionName','length','sessionName'];a19_0x28cc=function(){return _0x2def8b;};return a19_0x28cc();}module['exports']={};
@@ -1 +1 @@
1
- 'use strict';const a20_0x3609a0=a20_0x1257;(function(_0x254dd7,_0x513095){const _0x4fbb32=a20_0x1257,_0x2be600=_0x254dd7();while(!![]){try{const _0x2dfc11=-parseInt(_0x4fbb32(0x1a8))/0x1*(parseInt(_0x4fbb32(0x1a7))/0x2)+parseInt(_0x4fbb32(0x1af))/0x3*(parseInt(_0x4fbb32(0x1b2))/0x4)+parseInt(_0x4fbb32(0x1b6))/0x5*(parseInt(_0x4fbb32(0x1ad))/0x6)+parseInt(_0x4fbb32(0x1ae))/0x7+parseInt(_0x4fbb32(0x1b4))/0x8+-parseInt(_0x4fbb32(0x1b3))/0x9*(parseInt(_0x4fbb32(0x1ac))/0xa)+-parseInt(_0x4fbb32(0x1aa))/0xb;if(_0x2dfc11===_0x513095)break;else _0x2be600['push'](_0x2be600['shift']());}catch(_0xe76560){_0x2be600['push'](_0x2be600['shift']());}}}(a20_0x25d1,0x5caaa));function a20_0x1257(_0x42aa80,_0x21158c){const _0x25d112=a20_0x25d1();return a20_0x1257=function(_0x125794,_0x54a216){_0x125794=_0x125794-0x1a5;let _0x29e7be=_0x25d112[_0x125794];return _0x29e7be;},a20_0x1257(_0x42aa80,_0x21158c);}const _specUuidById=new Map();exports['set']=(_0x3794ec,_0x448b09)=>{const _0x299401=a20_0x1257,_0x5c8f8b={};_0x5c8f8b['wqmLf']=function(_0x41569a,_0x583e7c){return _0x41569a===_0x583e7c;};const _0x27ee2b=_0x5c8f8b;if(_0x27ee2b['wqmLf'](_0x3794ec,undefined)||_0x27ee2b[_0x299401(0x1ab)](_0x3794ec,null))return;_specUuidById['set'](_0x3794ec,_0x448b09);},exports['get']=_0x5598d1=>{const _0x1da4e6=a20_0x1257,_0x184393={};_0x184393[_0x1da4e6(0x1b5)]=function(_0x1f6060,_0x2878a3){return _0x1f6060===_0x2878a3;},_0x184393[_0x1da4e6(0x1a5)]=function(_0x4e374b,_0x3f761e){return _0x4e374b===_0x3f761e;};const _0x459a6b=_0x184393;if(_0x459a6b[_0x1da4e6(0x1b5)](_0x5598d1,undefined)||_0x459a6b[_0x1da4e6(0x1a5)](_0x5598d1,null))return undefined;return _specUuidById[_0x1da4e6(0x1b8)](_0x5598d1);},exports[a20_0x3609a0(0x1a9)]=_0x128aa7=>{const _0x25fd5c=a20_0x3609a0,_0x4cd517={};_0x4cd517[_0x25fd5c(0x1a6)]=function(_0xaf2fa6,_0x40044c){return _0xaf2fa6===_0x40044c;};const _0x5cca38=_0x4cd517;if(_0x5cca38['OpTKA'](_0x128aa7,undefined)||_0x5cca38[_0x25fd5c(0x1a6)](_0x128aa7,null))return;_specUuidById[_0x25fd5c(0x1b7)](_0x128aa7);},exports[a20_0x3609a0(0x1b1)]=()=>_specUuidById[a20_0x3609a0(0x1b0)];function a20_0x25d1(){const _0x5e5b8d=['574995OhClDc','delete','get','GYetq','OpTKA','3736GpxGRo','14iiqhTk','remove','1119173CGKZYq','wqmLf','10wfkIga','24ChAjhG','328251NnZMoS','564QFOqhT','size','_size','32mePREG','2454138lLNAve','2173968UzKOiq','dtfuS'];a20_0x25d1=function(){return _0x5e5b8d;};return a20_0x25d1();}
1
+ 'use strict';const a20_0x368229=a20_0x3aa2;function a20_0x3aa2(_0x43bd09,_0x5aad36){const _0x391a03=a20_0x391a();return a20_0x3aa2=function(_0x3aa26a,_0x29ce2c){_0x3aa26a=_0x3aa26a-0x14f;let _0x50be09=_0x391a03[_0x3aa26a];return _0x50be09;},a20_0x3aa2(_0x43bd09,_0x5aad36);}function a20_0x391a(){const _0xcf64a5=['728WdsuPk','25464KlCMVv','xyAsT','2945825RWCjGd','1030284GFRIBP','134196kgLKpJ','XiQPb','_size','GEiED','get','2444211VWrDFk','4190176cQHvJz','delete','Mbavx','3ZQMCJB','bXLFU','set','3082644fBZzic'];a20_0x391a=function(){return _0xcf64a5;};return a20_0x391a();}(function(_0x333110,_0x39ce98){const _0xe962c8=a20_0x3aa2,_0xfc2f51=_0x333110();while(!![]){try{const _0x3f3b25=parseInt(_0xe962c8(0x151))/0x1+parseInt(_0xe962c8(0x15e))/0x2+parseInt(_0xe962c8(0x15b))/0x3*(-parseInt(_0xe962c8(0x158))/0x4)+-parseInt(_0xe962c8(0x150))/0x5+-parseInt(_0xe962c8(0x152))/0x6+parseInt(_0xe962c8(0x15f))/0x7*(-parseInt(_0xe962c8(0x160))/0x8)+parseInt(_0xe962c8(0x157))/0x9;if(_0x3f3b25===_0x39ce98)break;else _0xfc2f51['push'](_0xfc2f51['shift']());}catch(_0x5e070){_0xfc2f51['push'](_0xfc2f51['shift']());}}}(a20_0x391a,0xd0456));const _specUuidById=new Map();exports[a20_0x368229(0x15d)]=(_0x10c216,_0x442b61)=>{const _0xc09c13=a20_0x368229,_0x4e4101={};_0x4e4101[_0xc09c13(0x155)]=function(_0x579b05,_0x22417f){return _0x579b05===_0x22417f;},_0x4e4101[_0xc09c13(0x14f)]=function(_0x1d6f86,_0x2e53d3){return _0x1d6f86===_0x2e53d3;};const _0x502a1b=_0x4e4101;if(_0x502a1b[_0xc09c13(0x155)](_0x10c216,undefined)||_0x502a1b['xyAsT'](_0x10c216,null))return;_specUuidById[_0xc09c13(0x15d)](_0x10c216,_0x442b61);},exports[a20_0x368229(0x156)]=_0x3acd95=>{const _0x2c522a=a20_0x368229,_0xafabaa={};_0xafabaa['XiQPb']=function(_0x5c378f,_0x3f53a9){return _0x5c378f===_0x3f53a9;};const _0x5b4366=_0xafabaa;if(_0x5b4366[_0x2c522a(0x153)](_0x3acd95,undefined)||_0x5b4366[_0x2c522a(0x153)](_0x3acd95,null))return undefined;return _specUuidById[_0x2c522a(0x156)](_0x3acd95);},exports['remove']=_0x4c1b41=>{const _0x596f2e=a20_0x368229,_0x3f4323={};_0x3f4323[_0x596f2e(0x15c)]=function(_0x1125a3,_0x570882){return _0x1125a3===_0x570882;},_0x3f4323[_0x596f2e(0x15a)]=function(_0x42bac2,_0x636e7d){return _0x42bac2===_0x636e7d;};const _0x36f560=_0x3f4323;if(_0x36f560[_0x596f2e(0x15c)](_0x4c1b41,undefined)||_0x36f560[_0x596f2e(0x15a)](_0x4c1b41,null))return;_specUuidById[_0x596f2e(0x159)](_0x4c1b41);},exports[a20_0x368229(0x154)]=()=>_specUuidById['size'];
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a21_0x12d3ce=a21_0x317a;function a21_0x30a9(){const _0x51c14d=['winstonLogger','../../helpers/helper','workingDir','bCeph','SDK_CLEANUP','test-observability','NeAzV','getInstance','cjs','yBkFy','puppeteer-core/package.json','abortBuildOnFailure','194414nxVtRg','../../helpers/percy/utils','splice','parse','customTestRunner.js','Error\x20while\x20parsing\x20','1814995BqiGeh','startsWith','writeFileSync','reorderTestFiles','Reodered\x20Test\x20Files:\x20','findTestFiles','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','serial__','Unable\x20to\x20find\x20jest-circus,\x20','UHaSR','turboScaleUrl','dfisP','dirname','true','--config','getMultiDriverWorkerConfig','../../helpers/performance/constants','MODULE','message','force','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','package.json','exitCode','YInBU','1423542OAZkVI','customImplements','hoYAx','./test-observability/helper','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','browserStackLogLevel','\x0a\x20\x20\x20\x20\x20\x20','1342405ZvzCNk','../../helpers/test-observability/utils','platformCaps','Deleted\x20fail-fast\x20state\x20folder:\x20','cWESt','customSequencer.js','jest-config/build/readConfigFileAndSetRootDir.js','env','readFileSync','WqngH','false','isUndefined','HdEZB','browserStackPercyOptions','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','jest-config','mHAat','assign','./test-observability/test-details','requirePWModule','rmSync','wzdNm','slice','rQllK','const\x20config=','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','Creating\x20','TgIoI','../../helpers/testhub/utils','\x20test\x20files\x20to\x20run.','Preserving\x20user\x27s\x20Jest\x20runner:\x20','283712gpiMae','resolve','iChPv','push','initialize','USER_CONFIG_DETAILS_PATH','proxySettings','\x0amodule.exports\x20=\x20config;','getHubUrl','default','finalExecution','shutdown','mxaHR','URrbv','getPackageType','platforms','vPjLt','customTestRunnerTemplate.js','OPZhe','cwd','DflON','isCLIEnabled','path','resolveModule','requireModule','CQqIR','config','failureThresholdCount','TjkJa','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','setupBrowserstackLocal','isBrowserstackInfra','UYBka','\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','JrEVv','jest-circus/build/runner.js','testEnvironmentOptions','OBvaC','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','vNkBK','util','start',';\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','bTPZc','child\x20process\x20exited\x20with\x20code\x20','jest-circus','isRunning','269248EcZktT',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','errorMessage','testSequencer','json','../../helpers/puppeteer-helper','BROWSERSTACK_TEST_OBSERVABILITY_YML','mjs','BROWSERSTACK_CAPABILITIES','VBlcg','printBuildLink','HfEjD','../../helpers/playwright-helper','KLzpp','__isPlaywrightInstalled','@jest/core','skipSessionStatus','apply','findIndex','parallelsPerPlatform','KBLXX','failFast','setupFiles','../../helpers/accessibility-automation/helper','stringify','Deleting\x20','unlinkSync','error','customCircus.js','^puppeteer-core/internal/(.*)','maxWorkers','logLevel','jest-runner-','win32','DLrlN','exports','existsSync','testEnvironment','jest_browserstack.config.cjs','../utils/constants','JEST','retries__','RltUf','data-hooks.js','parallels__','launchBuild','moduleNameMapper','skipSessionName','test.setup.js','test_before.setup.js','debug','timeout__','xYpUg','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isEmpty','format','platform',',\x20CLI\x20running:\x20','testObservability','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','JDGfi','FRAMEWORKS','length','getPackageVersion','BSTACK_USER_JEST_RUNNER','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','\x20with\x20browserstack\x20jest\x20configs','CodHG','YFxVF','LbZIp','../v2/browserstackCLI','../../helpers/BrowserStackSetup','wxBRn','setupFilesAfterEnv','isNotUndefined','runner','customEnvironment.js','TRsNt','testRunner','1383IdHsEG',';\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','lWZHs','__isPuppeteerInstalled','Getting\x20your\x20jest\x20configs\x20from\x20package.json','FJAnm','jest','../../helpers/logger','parseTestOrchestrationOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','runInBand','join','recursive','261rFSBPF','../../helpers/testhub/testhubHandler','readInitialOptions','TEowI','handleApp','playwright','testContextOptions','2460qaIOLW','BSTACK_JEST_TEST_ENV','../utils/clientTroubleshootingService','info','SwDdH','filterBrowserstackArgs','\x20:\x20','reporters','Erboq','@jest/core/build/ReporterDispatcher.js','jest.setup.js','end','getErrorMessageFromResults','accessibilityOptions','jest-runner','BROWSERSTACK_FRAMEWORK','npx','shouldProcessEventForTesthub','requireSeleniumWebdriver','../../helpers/utilities','ZwAJO','testTimeout','QBVMI','TcgKM','Found:\x20','ZTtgp','retryTestsOnFailure'];a21_0x30a9=function(){return _0x51c14d;};return a21_0x30a9();}(function(_0xfda9ef,_0x1b25ed){const _0x3f5f35=a21_0x317a,_0x216ab0=_0xfda9ef();while(!![]){try{const _0x2796ac=-parseInt(_0x3f5f35(0x209))/0x1+-parseInt(_0x3f5f35(0x295))/0x2+-parseInt(_0x3f5f35(0x25a))/0x3*(parseInt(_0x3f5f35(0x26e))/0x4)+parseInt(_0x3f5f35(0x2ba))/0x5+-parseInt(_0x3f5f35(0x2b3))/0x6+-parseInt(_0x3f5f35(0x29b))/0x7+-parseInt(_0x3f5f35(0x1da))/0x8*(-parseInt(_0x3f5f35(0x267))/0x9);if(_0x2796ac===_0x1b25ed)break;else _0x216ab0['push'](_0x216ab0['shift']());}catch(_0x35d4ac){_0x216ab0['push'](_0x216ab0['shift']());}}}(a21_0x30a9,0x24b99));const fs=require('fs'),path=require(a21_0x12d3ce(0x1f0)),util=require(a21_0x12d3ce(0x202)),{spawn}=require('child_process'),logger=require(a21_0x12d3ce(0x261))[a21_0x12d3ce(0x289)],{default:BrowserStackSetup}=require(a21_0x12d3ce(0x252)),helper=require(a21_0x12d3ce(0x28a)),utilities=require(a21_0x12d3ce(0x281)),constants=require(a21_0x12d3ce(0x230)),accessibilityHelper=require(a21_0x12d3ce(0x220)),{updateTestRerunConfig}=require(a21_0x12d3ce(0x2b6)),testOpsHelper=require(a21_0x12d3ce(0x2bb)),{debug}=require(a21_0x12d3ce(0x2bb)),TestDetails=require(a21_0x12d3ce(0x2cc)),{getPercyOptions}=require(a21_0x12d3ce(0x296)),TestHubHandler=require(a21_0x12d3ce(0x268)),testhubUtils=require(a21_0x12d3ce(0x2d6)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a21_0x12d3ce(0x2ab))['EVENTS'],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a21_0x12d3ce(0x251)),{checkPwandBootstrapCli}=require(a21_0x12d3ce(0x215)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x12d3ce(0x20e)),ClientTroubleShootingService=require(a21_0x12d3ce(0x270)),{checkAccessibilityPlatformConfig}=require(a21_0x12d3ce(0x220)),getUserJestConfigs=async(_0x49edc2,_0x3a52f8)=>{const _0x2d7a1e=a21_0x12d3ce,_0x48131f={'ePhZT':_0x2d7a1e(0x2c0),'WqngH':_0x2d7a1e(0x2c9),'VKpvb':function(_0x101340,_0x2a322e){return _0x101340||_0x2a322e;},'HfEjD':function(_0x4d111a,_0x31838b){return _0x4d111a(_0x31838b);},'FJAnm':_0x2d7a1e(0x2b0),'UYBka':_0x2d7a1e(0x25e),'pVoaf':_0x2d7a1e(0x210),'JrEVv':_0x2d7a1e(0x291),'bTPZc':_0x2d7a1e(0x20d)};let _0x45c245;try{_0x45c245=helper[_0x2d7a1e(0x1f2)](_0x48131f['ePhZT'],_0x48131f[_0x2d7a1e(0x2c3)]);}catch{const _0x4cd128=helper[_0x2d7a1e(0x1f2)](_0x48131f[_0x2d7a1e(0x2c3)]);_0x45c245={'default':async _0x3ad4fa=>{const _0x27e8ee=_0x2d7a1e,_0x52a874=await _0x4cd128[_0x27e8ee(0x269)](_0x3ad4fa,{});return _0x52a874['config'];}};}const _0x15b16d=_0x3a52f8[_0x2d7a1e(0x21b)](_0x4595c8=>_0x4595c8===_0x2d7a1e(0x2a9));if(!helper[_0x2d7a1e(0x2c5)](_0x49edc2[_0x2d7a1e(0x1f4)])){logger[_0x2d7a1e(0x271)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x49edc2[_0x2d7a1e(0x1f4)]),process['env'][_0x2d7a1e(0x1df)]=_0x49edc2[_0x2d7a1e(0x1f4)];const _0x463a90=await(0x0,_0x45c245['default'])(path['resolve'](_0x49edc2[_0x2d7a1e(0x1f4)]));return _0x3a52f8[_0x2d7a1e(0x297)](_0x15b16d,0x2),_0x48131f['VKpvb'](_0x463a90,{});}const _0x182956=_0x48131f[_0x2d7a1e(0x214)](require,path[_0x2d7a1e(0x265)](process[_0x2d7a1e(0x1ed)](),_0x48131f[_0x2d7a1e(0x25f)]));if(_0x182956[_0x2d7a1e(0x260)])return logger[_0x2d7a1e(0x271)](_0x48131f[_0x2d7a1e(0x1fa)]),_0x182956['jest'];const _0x5455e0=['js',_0x48131f['pVoaf'],_0x48131f[_0x2d7a1e(0x1fc)],_0x48131f[_0x2d7a1e(0x205)],'ts'];for(const _0x4eefa4 of _0x5455e0){const _0x1af1b5=path['join'](process['cwd'](),'jest.config.'+_0x4eefa4);if(fs[_0x2d7a1e(0x22d)](_0x1af1b5)){process[_0x2d7a1e(0x2c1)][_0x2d7a1e(0x1df)]=_0x1af1b5;const _0x5a36d1=await(0x0,_0x45c245['default'])(_0x1af1b5);return _0x5a36d1;}}return{};},getSerial=(_0x4f7c33,_0x1aa277)=>{const _0x4e2c66=a21_0x12d3ce,_0x4b0cf4={};_0x4b0cf4[_0x4e2c66(0x2d1)]='true',_0x4b0cf4[_0x4e2c66(0x2c6)]=function(_0x54ec05,_0x1e52b5){return _0x54ec05>_0x1e52b5;},_0x4b0cf4[_0x4e2c66(0x28c)]=function(_0x3bac0e,_0x1f540f){return _0x3bac0e>_0x1f540f;},_0x4b0cf4[_0x4e2c66(0x292)]=_0x4e2c66(0x2c4);const _0x336504=_0x4b0cf4;let _0x56e926=_0x336504[_0x4e2c66(0x2d1)];return _0x336504[_0x4e2c66(0x2c6)](_0x4f7c33[_0x4e2c66(0x248)],0x1)&&(!_0x1aa277[_0x4e2c66(0x264)]&&(helper[_0x4e2c66(0x2c5)](_0x1aa277[_0x4e2c66(0x227)])||_0x336504['bCeph'](_0x1aa277[_0x4e2c66(0x227)],0x1)))&&(_0x56e926=_0x336504[_0x4e2c66(0x292)]),_0x56e926;},getMaxWorkers=(_0x14c91f,_0x3749b0,_0x625a4c)=>{const _0x392727=a21_0x12d3ce,_0xb6b57d={'vPjLt':function(_0x20f321,_0xd0b4b8){return _0x20f321(_0xd0b4b8);}};let _0x14ba21=0x1;if(!helper[_0x392727(0x2c5)](_0x3749b0[_0x392727(0x21c)]))_0x14ba21=_0xb6b57d[_0x392727(0x1ea)](parseInt,_0x3749b0[_0x392727(0x21c)]);else{if(!helper['isUndefined'](_0x14c91f['maxWorkers']))_0x14ba21=_0x14c91f[_0x392727(0x227)];else!helper['isUndefined'](_0x625a4c[_0x392727(0x227)])&&(_0x14ba21=_0x625a4c[_0x392727(0x227)]);}return _0x14ba21;};function a21_0x317a(_0x52ddd3,_0x9d05cd){const _0x30a9f9=a21_0x30a9();return a21_0x317a=function(_0x317ad7,_0x142a4d){_0x317ad7=_0x317ad7-0x1da;let _0x8ebf0d=_0x30a9f9[_0x317ad7];return _0x8ebf0d;},a21_0x317a(_0x52ddd3,_0x9d05cd);}async function run(_0x3b8faf,_0x32578e,_0xdd4f72){const _0x2dc418=a21_0x12d3ce,_0x124fca={'iChPv':_0x2dc418(0x260),'QBVMI':function(_0x59fc77,_0x54543c){return _0x59fc77(_0x54543c);},'ZTtgp':'@playwright/test','wxBRn':function(_0x39476b){return _0x39476b();},'mxaHR':function(_0x2d6bfa,_0x34f520,_0x10242f,_0x5512da){return _0x2d6bfa(_0x34f520,_0x10242f,_0x5512da);},'TgIoI':function(_0x22d4a7,_0x3afe6a,_0x4697ef,_0x5c6653){return _0x22d4a7(_0x3afe6a,_0x4697ef,_0x5c6653);},'LdVKC':function(_0x305e73,_0x31b41c){return _0x305e73!=_0x31b41c;},'SwDdH':_0x2dc418(0x2a8),'Erboq':function(_0x35ee70,_0x19302f,_0x1df8a3){return _0x35ee70(_0x19302f,_0x1df8a3);},'bgaNz':_0x2dc418(0x23e),'KLzpp':function(_0xb7444f,_0x200f14){return _0xb7444f(_0x200f14);},'NeAzV':'false','cWESt':function(_0x518f02,_0x11c5e1,_0x3a3ea1){return _0x518f02(_0x11c5e1,_0x3a3ea1);},'mHAat':function(_0x19de52,_0x5538ef,_0xb0ee46,_0x5184f5){return _0x19de52(_0x5538ef,_0xb0ee46,_0x5184f5);},'TRsNt':function(_0x24d069,_0x5cebfa){return _0x24d069*_0x5cebfa;},'LbZIp':function(_0x3712a3,_0x17ef35){return _0x3712a3===_0x17ef35;},'JDGfi':_0x2dc418(0x22f),'bDTvI':'jest_browserstack.config.js','OBvaC':_0x2dc418(0x2b4),'YFxVF':'jest_browserstack_results.json','rgIlp':_0x2dc418(0x299),'VBlcg':_0x2dc418(0x1eb),'xYpUg':_0x2dc418(0x257),'TjkJa':function(_0x170420,_0x3c15d9){return _0x170420!==_0x3c15d9;},'hUbLO':_0x2dc418(0x27c),'UHaSR':_0x2dc418(0x229),'gltwo':_0x2dc418(0x278),'FfJXB':_0x2dc418(0x2bf),'ElvdL':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','DflON':_0x2dc418(0x207),'CodHG':_0x2dc418(0x1fd),'VNXVv':_0x2dc418(0x28e),'RltUf':_0x2dc418(0x234),'OPZhe':_0x2dc418(0x225),'yLzUg':_0x2dc418(0x23a),'TcgKM':_0x2dc418(0x2d3),'gZwIR':_0x2dc418(0x26c),'YInBU':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','TEowI':_0x2dc418(0x239),'KBLXX':_0x2dc418(0x2b7),'lWZHs':function(_0xd18bb6,_0xcde5b4){return _0xd18bb6&&_0xcde5b4;},'JxUAl':_0x2dc418(0x1f7),'dfisP':'puppeteer','lJpol':_0x2dc418(0x293),'dSfBd':_0x2dc418(0x1e3),'URrbv':_0x2dc418(0x277),'qNaCg':_0x2dc418(0x218),'wzdNm':_0x2dc418(0x2a1),'ZwAJO':function(_0x382ced,_0x3226a6){return _0x382ced>_0x3226a6;},'IyUyE':_0x2dc418(0x2af),'CQqIR':_0x2dc418(0x2a9),'hoYAx':_0x2dc418(0x27e),'UNQBE':function(_0xd5956f,_0x54acf5){return _0xd5956f===_0x54acf5;},'vNkBK':_0x2dc418(0x22a),'DLrlN':'inherit','spAID':'close'},_0x4bc5dc=helper[_0x2dc418(0x249)](_0x124fca[_0x2dc418(0x287)]);global[_0x2dc418(0x217)]=!!_0x4bc5dc;const _0x4866a3=_0x124fca[_0x2dc418(0x253)](getPuppeteerVersion);global[_0x2dc418(0x25d)]=!!_0x4866a3;helper[_0x2dc418(0x1f9)]()&&(await _0xdd4f72[_0x2dc418(0x1de)](_0x3b8faf),await helper[_0x2dc418(0x26b)](_0xdd4f72[_0x2dc418(0x1f4)]));if(_0x4bc5dc)await _0x124fca[_0x2dc418(0x1e6)](checkPwandBootstrapCli,_0x4bc5dc,constants[_0x2dc418(0x247)]['JEST'],_0xdd4f72);else _0x4866a3&&await _0x124fca[_0x2dc418(0x2d5)](checkPuppeteerAndBootstrapCli,_0x4866a3,constants[_0x2dc418(0x247)][_0x2dc418(0x231)],_0xdd4f72);!BrowserstackCLI[_0x2dc418(0x290)]()['isRunning']()&&await _0xdd4f72[_0x2dc418(0x1f8)]();if(!_0xdd4f72[_0x2dc418(0x1f4)])return;_0x124fca['LdVKC'](_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x244)],null)?process[_0x2dc418(0x2c1)][_0x2dc418(0x20f)]=_0xdd4f72['config'][_0x2dc418(0x244)]:process[_0x2dc418(0x2c1)][_0x2dc418(0x20f)]=_0x124fca[_0x2dc418(0x272)];const _0x576b78=new TestOrchestrationHandler(_0xdd4f72[_0x2dc418(0x1f4)]),_0x39977b=await _0x124fca[_0x2dc418(0x276)](getUserJestConfigs,_0x3b8faf,_0x32578e);logger[_0x2dc418(0x271)](_0x124fca['bgaNz']);const _0x5441dc=Object[_0x2dc418(0x2cb)]({},_0x39977b);_0x5441dc['testEnvironmentOptions']=Object[_0x2dc418(0x2cb)]({},_0x5441dc[_0x2dc418(0x1fe)],{'server':helper[_0x2dc418(0x1e2)](_0xdd4f72[_0x2dc418(0x1f4)]),'environment':_0x39977b['testEnvironment']}),_0x5441dc['testEnvironmentOptions'][_0x2dc418(0x2c7)]=_0x124fca[_0x2dc418(0x284)](getPercyOptions,_0xdd4f72[_0x2dc418(0x1f4)]);const _0x3e6a01=helper['useW3C'](_0xdd4f72[_0x2dc418(0x1f4)]);!helper[_0x2dc418(0x2c5)](_0xdd4f72['config'][_0x2dc418(0x27b)])&&(process[_0x2dc418(0x2c1)][_0x2dc418(0x263)]=JSON[_0x2dc418(0x221)](_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x27b)]));if(!BrowserstackCLI[_0x2dc418(0x290)]()[_0x2dc418(0x208)]()){const _0xe166a5=await TestHubHandler[_0x2dc418(0x236)](FRAMEWORKS[_0x2dc418(0x231)],_0xdd4f72);}const _0x55fb59=helper['prepareCapabilities'](_0xdd4f72[_0x2dc418(0x1f4)],_0x3e6a01,constants[_0x2dc418(0x247)][_0x2dc418(0x231)]);process[_0x2dc418(0x2c1)][_0x2dc418(0x211)]=JSON['stringify'](_0x55fb59);let _0x16f599=_0xdd4f72['config']['accessibility'];_0x16f599=_0x16f599||accessibilityHelper['checkAccessibilityPlatformConfig'](_0xdd4f72[_0x2dc418(0x1f4)]),process[_0x2dc418(0x2c1)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x16f599,logger['debug']('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x16f599+_0x2dc418(0x243)+BrowserstackCLI[_0x2dc418(0x290)]()[_0x2dc418(0x208)]());if(_0x4bc5dc)try{const _0x2397d4=_0x124fca[_0x2dc418(0x216)](checkAccessibilityPlatformConfig,_0xdd4f72[_0x2dc418(0x1f4)]);process[_0x2dc418(0x2c1)][_0x2dc418(0x23f)]=_0x2397d4?_0x124fca['SwDdH']:_0x124fca[_0x2dc418(0x28f)],logger['debug'](_0x2dc418(0x24c)+_0x2397d4+_0x2dc418(0x20a)+process[_0x2dc418(0x2c1)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);}catch(_0x3a3a10){logger[_0x2dc418(0x23b)](_0x2dc418(0x200)+util['format'](_0x3a3a10));}_0x5441dc[_0x2dc418(0x1fe)]['capabilities']=_0x55fb59,_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x2a2)]=_0x124fca[_0x2dc418(0x2be)](getSerial,_0x55fb59,_0x3b8faf),_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x235)]=_0x124fca[_0x2dc418(0x2ca)](getMaxWorkers,_0x3b8faf,_0xdd4f72[_0x2dc418(0x1f4)],_0x39977b),_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x1e0)]=_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x1e0)],_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x23c)]=_0x124fca[_0x2dc418(0x258)](_0x3b8faf[_0x2dc418(0x283)],0x1)||0x1388,_0x5441dc['testEnvironmentOptions']['skipSessionName']=_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x26d)][_0x2dc418(0x238)],_0x5441dc[_0x2dc418(0x1fe)]['skipSessionStatus']=_0xdd4f72['config'][_0x2dc418(0x26d)][_0x2dc418(0x219)],_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x2b8)]=_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x228)],_0x5441dc[_0x2dc418(0x1fe)]['turboScaleUrl']=_0xdd4f72['config'][_0x2dc418(0x2a5)],_0x5441dc['testEnvironmentOptions'][_0x2dc418(0x2bc)]=_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x1e9)],Object[_0x2dc418(0x2cb)](_0x5441dc[_0x2dc418(0x1fe)],helper[_0x2dc418(0x2aa)](_0xdd4f72[_0x2dc418(0x1f4)],_0x3e6a01,constants[_0x2dc418(0x247)][_0x2dc418(0x231)]));const _0x289650=helper[_0x2dc418(0x262)](_0xdd4f72[_0x2dc418(0x1f4)]);if(!helper[_0x2dc418(0x240)](_0x289650)){helper[_0x2dc418(0x255)](_0x289650[_0x2dc418(0x288)])&&(_0x5441dc['testEnvironmentOptions'][_0x2dc418(0x232)]=_0x289650['retryTestsOnFailure']['maxRetries']);if(helper[_0x2dc418(0x255)](_0x289650['abortBuildOnFailure'])&&helper[_0x2dc418(0x255)](_0x289650[_0x2dc418(0x294)][_0x2dc418(0x28b)])){const _0x2dcb85={};_0x2dcb85[_0x2dc418(0x1f5)]=_0x289650['abortBuildOnFailure']['maxFailures'],_0x2dcb85['workingDir']=_0x289650[_0x2dc418(0x294)][_0x2dc418(0x28b)],_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x21e)]=_0x2dcb85;}}let _0x5d1f3f='';_0x124fca[_0x2dc418(0x250)](helper[_0x2dc418(0x1e8)](),constants['PACKAGE_TYPE'][_0x2dc418(0x2ac)])?_0x5d1f3f=_0x124fca[_0x2dc418(0x246)]:_0x5d1f3f=_0x124fca['bDTvI'];const _0x506855=_0x5d1f3f,_0x5daee3=path[_0x2dc418(0x265)](__dirname,_0x124fca[_0x2dc418(0x1ff)],_0x124fca[_0x2dc418(0x24f)]),_0xd8f7ee=path[_0x2dc418(0x265)](__dirname,_0x124fca[_0x2dc418(0x1ff)],_0x124fca['rgIlp']),_0x58c81c=path[_0x2dc418(0x265)](__dirname,_0x124fca[_0x2dc418(0x1ff)],_0x124fca[_0x2dc418(0x212)]);_0x5441dc[_0x2dc418(0x22e)]&&(process[_0x2dc418(0x2c1)][_0x2dc418(0x26f)]=_0x5441dc['testEnvironment']);_0x5441dc['testEnvironment']=path[_0x2dc418(0x265)](__dirname,_0x124fca[_0x2dc418(0x1ff)],_0x124fca[_0x2dc418(0x23d)]);const _0x34a422=_0x39977b[_0x2dc418(0x256)];if(_0x34a422&&_0x124fca[_0x2dc418(0x1f6)](_0x34a422,_0x124fca['hUbLO'])){const _0xdf9290=_0x34a422[_0x2dc418(0x29c)](_0x124fca[_0x2dc418(0x2a4)])?_0x34a422:_0x2dc418(0x229)+_0x34a422;process['env'][_0x2dc418(0x24a)]=_0xdf9290,logger[_0x2dc418(0x271)](_0x2dc418(0x2d8)+_0xdf9290);}_0x5441dc[_0x2dc418(0x256)]=_0xd8f7ee,_0x5441dc[_0x2dc418(0x254)]=_0x5441dc['setupFilesAfterEnv']||[],_0x5441dc[_0x2dc418(0x254)][_0x2dc418(0x1dd)](path[_0x2dc418(0x265)](__dirname,_0x124fca['gltwo']));_0x576b78['isTestOrchestrationEnabled']()&&(_0x5441dc[_0x2dc418(0x20c)]=path[_0x2dc418(0x265)](__dirname,_0x124fca['OBvaC'],_0x124fca['FfJXB']));if(testhubUtils[_0x2dc418(0x27f)]()||BrowserstackCLI[_0x2dc418(0x290)]()['isCliEnabled']()){let _0x2b5948=null;try{_0x2b5948=helper[_0x2dc418(0x1f2)](_0x124fca['ElvdL'],_0x124fca[_0x2dc418(0x1ee)]);}catch(_0x53ff6a){try{_0x2b5948=helper[_0x2dc418(0x1f2)](_0x124fca[_0x2dc418(0x24e)],_0x124fca[_0x2dc418(0x1ee)]);}catch(_0x11d164){_0x124fca['QBVMI'](debug,_0x2dc418(0x2a3)+_0x11d164);}}_0x2b5948&&(testhubUtils[_0x2dc418(0x27f)]()&&_0x5441dc[_0x2dc418(0x254)][_0x2dc418(0x1dd)](path[_0x2dc418(0x265)](__dirname,_0x124fca['VNXVv'],_0x124fca[_0x2dc418(0x233)])),_0x5441dc[_0x2dc418(0x259)]=path[_0x2dc418(0x265)](__dirname,_0x124fca['OBvaC'],_0x124fca[_0x2dc418(0x1ec)]));}_0x5441dc[_0x2dc418(0x21f)]=_0x5441dc[_0x2dc418(0x21f)]||[];try{helper[_0x2dc418(0x280)](),_0x5441dc['setupFiles']['push'](path[_0x2dc418(0x265)](__dirname,_0x124fca['yLzUg']));}catch{logger[_0x2dc418(0x23b)](_0x124fca[_0x2dc418(0x285)]);}try{helper[_0x2dc418(0x2cd)][_0x2dc418(0x21a)](null,[_0x124fca[_0x2dc418(0x287)],_0x124fca['gZwIR']]),logger['debug'](_0x124fca[_0x2dc418(0x2b2)]),_0x5441dc[_0x2dc418(0x21f)]['push'](path[_0x2dc418(0x265)](__dirname,_0x124fca['TEowI']));}catch(_0x3a00bf){logger[_0x2dc418(0x23b)](_0x124fca[_0x2dc418(0x21d)],_0x3a00bf);}if(_0x124fca[_0x2dc418(0x25c)](!_0x4bc5dc,_0x4866a3)){try{logger[_0x2dc418(0x23b)](_0x124fca['JxUAl']),_0x5441dc[_0x2dc418(0x254)][_0x2dc418(0x1dd)](path[_0x2dc418(0x265)](__dirname,'..',_0x124fca[_0x2dc418(0x2a6)],_0x124fca[_0x2dc418(0x26a)]));}catch(_0x1e9eff){logger[_0x2dc418(0x23b)]('Puppeteer\x20setup\x20error:\x20'+_0x1e9eff[_0x2dc418(0x2ad)]);}try{const _0xc7a5da=require[_0x2dc418(0x1db)](_0x124fca['lJpol']),_0x40b1af=path[_0x2dc418(0x2a7)](_0xc7a5da)['replace'](/\\/g,'/'),_0x3bd2ac={};_0x3bd2ac[_0x2dc418(0x226)]=_0x40b1af+'/internal/$1',_0x5441dc[_0x2dc418(0x237)]=Object[_0x2dc418(0x2cb)]({},_0x5441dc[_0x2dc418(0x237)]||{},_0x3bd2ac),logger[_0x2dc418(0x23b)](_0x2dc418(0x245)+_0x40b1af);}catch(_0x2a099a){logger[_0x2dc418(0x23b)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x2a099a['message']);}}_0x5441dc[_0x2dc418(0x275)]=_0x5441dc[_0x2dc418(0x275)]||[_0x124fca['dSfBd']],_0x124fca[_0x2dc418(0x276)](updateTestRerunConfig,_0x5441dc,_0xdd4f72);const _0xeb2c52=fs[_0x2dc418(0x2c2)](_0x58c81c),_0x5a7cde=helper[_0x2dc418(0x1f1)](_0x124fca[_0x2dc418(0x1e7)],_0x124fca['qNaCg']);!_0x5a7cde[_0x2dc418(0x224)]?fs[_0x2dc418(0x29d)](_0x5441dc['runner'],_0x2dc418(0x2b9)+_0xeb2c52+_0x2dc418(0x1fb)+_0xdd4f72['config']['platforms'][_0x2dc418(0x248)]+_0x2dc418(0x25b)):fs[_0x2dc418(0x29d)](_0x5441dc[_0x2dc418(0x256)],_0x2dc418(0x2b9)+_0xeb2c52+'\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'+_0xdd4f72['config'][_0x2dc418(0x1e9)]['length']+_0x2dc418(0x204));logger['info'](_0x2dc418(0x2d4)+_0x506855+_0x2dc418(0x24d)),fs['writeFileSync'](_0x506855,_0x2dc418(0x2d2)+JSON['stringify'](_0x5441dc)+_0x2dc418(0x1e1));if(_0x576b78['isTestOrchestrationEnabled']()){logger[_0x2dc418(0x23b)](_0x124fca[_0x2dc418(0x2cf)]);const _0xfaffa1=await _0x576b78[_0x2dc418(0x2a0)](_0x5441dc,_0x32578e[_0x2dc418(0x2d0)](0x1),_0x506855);logger[_0x2dc418(0x23b)](_0x2dc418(0x286)+JSON['stringify'](_0xfaffa1)+_0x2dc418(0x2d7));const _0x13637c=await _0x576b78[_0x2dc418(0x29e)](_0xfaffa1);logger[_0x2dc418(0x23b)](_0x2dc418(0x29f)+JSON[_0x2dc418(0x221)](_0x13637c)),_0x13637c&&_0x124fca[_0x2dc418(0x282)](_0x13637c[_0x2dc418(0x248)],0x0)&&(process[_0x2dc418(0x2c1)]['JEST_TEST_ORDER']=_0x13637c?.[_0x2dc418(0x265)](','));}logger[_0x2dc418(0x271)](_0x124fca['IyUyE']);testhubUtils[_0x2dc418(0x27f)]()&&TestDetails['setup']();helper[_0x2dc418(0x273)]({},_0x32578e),PerformanceTester[_0x2dc418(0x279)](PerformanceEvents['SDK_SETUP']);const _0x5f187c=[_0x124fca[_0x2dc418(0x1dc)],_0x124fca[_0x2dc418(0x1f3)],_0x506855,..._0x32578e[_0x2dc418(0x2d0)](0x1)];process['env'][_0x2dc418(0x27d)]=process['env']['BROWSERSTACK_FRAMEWORK']||_0x124fca[_0x2dc418(0x1dc)];const _0x3781cd=_0x124fca[_0x2dc418(0x1e6)](spawn,_0x124fca[_0x2dc418(0x2b5)],_0x5f187c,{'shell':_0x124fca['UNQBE'](process[_0x2dc418(0x242)],_0x124fca[_0x2dc418(0x201)]),'stdio':_0x124fca[_0x2dc418(0x22b)],'env':Object[_0x2dc418(0x2cb)]({},process[_0x2dc418(0x2c1)])});_0x3781cd['on'](_0x124fca['spAID'],async _0x5acd00=>{const _0x4931d5=_0x2dc418;PerformanceTester[_0x4931d5(0x203)](PerformanceEvents[_0x4931d5(0x28d)]),process[_0x4931d5(0x2b1)]=_0x5acd00,logger[_0x4931d5(0x23b)](_0x4931d5(0x206)+_0x5acd00),logger[_0x4931d5(0x271)](_0x4931d5(0x222)+_0x506855);if(helper[_0x4931d5(0x255)](_0x289650)&&helper['isNotUndefined'](_0x289650[_0x4931d5(0x294)])&&fs[_0x4931d5(0x22d)](_0x289650[_0x4931d5(0x294)][_0x4931d5(0x28b)]))try{const _0x41ba22={};_0x41ba22[_0x4931d5(0x266)]=!![],_0x41ba22[_0x4931d5(0x2ae)]=!![],fs[_0x4931d5(0x2ce)](_0x289650[_0x4931d5(0x294)]['workingDir'],_0x41ba22),logger['debug'](_0x4931d5(0x2bd)+_0x289650[_0x4931d5(0x294)][_0x4931d5(0x28b)]);}catch(_0x22e3d7){logger['error'](_0x4931d5(0x2c8)+_0x22e3d7);}let _0x1efbea=null;if(fs[_0x4931d5(0x22d)](_0x5daee3)){_0x1efbea=fs[_0x4931d5(0x2c2)](_0x5daee3);try{_0x1efbea=JSON[_0x4931d5(0x298)](_0x1efbea);}catch(_0x295934){logger[_0x4931d5(0x23b)](_0x4931d5(0x29a)+_0x5daee3+',\x20'+_0x1efbea+_0x4931d5(0x274)+_0x295934);}fs[_0x4931d5(0x223)](_0x5daee3);}fs[_0x4931d5(0x223)](_0x506855),fs[_0x4931d5(0x223)](_0xd8f7ee),_0x1efbea&&(_0xdd4f72[_0x4931d5(0x20b)]=helper[_0x4931d5(0x27a)](_0x1efbea,_0x124fca[_0x4931d5(0x1dc)],_0xdd4f72));const _0x5723f9=BrowserstackCLI[_0x4931d5(0x1ef)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x4931d5(0x290)]()['stop']();}catch(_0x53908a){console['log'](_0x53908a),_0x124fca[_0x4931d5(0x284)](debug,_0x4931d5(0x24b)+util[_0x4931d5(0x241)](_0x53908a));}testOpsHelper[_0x4931d5(0x213)](),TestDetails[_0x4931d5(0x1e5)](),await utilities[_0x4931d5(0x1e4)](_0xdd4f72,_0x5723f9);});}module[a21_0x12d3ce(0x22c)]=run;
2
+ 'use strict';const a21_0x152de0=a21_0x1978;(function(_0x53ae36,_0x5604da){const _0x15359e=a21_0x1978,_0x1c494a=_0x53ae36();while(!![]){try{const _0x5dbb0f=parseInt(_0x15359e(0x179))/0x1*(parseInt(_0x15359e(0xbd))/0x2)+-parseInt(_0x15359e(0x18f))/0x3+-parseInt(_0x15359e(0x112))/0x4+-parseInt(_0x15359e(0xad))/0x5*(-parseInt(_0x15359e(0xde))/0x6)+-parseInt(_0x15359e(0x14f))/0x7+-parseInt(_0x15359e(0x17d))/0x8+parseInt(_0x15359e(0x175))/0x9;if(_0x5dbb0f===_0x5604da)break;else _0x1c494a['push'](_0x1c494a['shift']());}catch(_0x1b5d4b){_0x1c494a['push'](_0x1c494a['shift']());}}}(a21_0xaa41,0x4d181));function a21_0xaa41(){const _0x76b849=['default','JgRHk','getMultiDriverWorkerConfig','../../helpers/logger','data-hooks.js','accessibility','../../helpers/test-orchestration/testOrchestrationHandler','readInitialOptions','../../helpers/performance/constants','dirname','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','--config','343616yAZkkg','platforms','AgSXZ','BROWSERSTACK_CAPABILITIES','wmoon','stringify','../v2/browserstackCLI','testEnvironment','testEnvironmentOptions','LQPOj','child\x20process\x20exited\x20with\x20code\x20','../../helpers/performance/performance-tester','info','../../helpers/puppeteer-helper','testContextOptions','parse','wVaFW','slice','SDK_CLEANUP','testObservability','false','timeout__','Found:\x20','win32','recursive','__isPlaywrightInstalled','launchBuild','JRyhV','jest','lUaLH','JEST_TEST_ORDER','Error\x20while\x20parsing\x20','dLOqu','replace','moduleNameMapper','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','getHubUrl','setupBrowserstackLocal','jest.config.','checkAccessibilityPlatformConfig','assign','shouldProcessEventForTesthub','reorderTestFiles','findTestFiles','DLznO','start','finalExecution','jest_browserstack.config.cjs','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','TugWY','bDFPv','requirePWModule','reporters','DtCsE','LQhvB','filterBrowserstackArgs','skipSessionName','browserStackPercyOptions','message','UfSFU','JEST','1331029PwIWkU','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','Creating\x20','../../helpers/percy/utils','printBuildLink','format','jest-circus','parallels__','sCKhf','capabilities','jest_browserstack_results.json','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','abortBuildOnFailure','FRAMEWORKS','PACKAGE_TYPE','join','util','zwkrJ','runInBand','setupFiles','workingDir','getErrorMessageFromResults','jest_browserstack.config.js','exitCode','LtqdT','reGhI','resolveModule','isEmpty','wjwJY','VyFOi','platform','yNXBE','jRyxE','dbwiD','isCLIEnabled','maxWorkers','path','uyYJb','4046904lrlIrv','package.json','requireModule','\x0amodule.exports\x20=\x20config;','2449oBdZLD','USER_CONFIG_DETAILS_PATH','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','265056hahCsZ','uSFci','parallelsPerPlatform','force','BROWSERSTACK_FRAMEWORK','EVENTS','json','useW3C','SDK_SETUP','^puppeteer-core/internal/(.*)','rmSync','retries__','../utils/clientTroubleshootingService','jest-runner','env','PYuXz','accessibilityOptions','RfPQb','1276098NqwWqf','runner','isUndefined','apply','puppeteer-core/package.json','QlxsU','length','testSequencer','\x20with\x20browserstack\x20jest\x20configs','browserStackLogLevel','serial__','push','QXdwu','config','inherit','testRunner','lvzzX','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','Deleted\x20fail-fast\x20state\x20folder:\x20','dnnKt','jest-runner-','257810dSnNEU','WeXcm','getInstance','jest.setup.js','readFileSync','existsSync','../../helpers/testhub/utils','failureThresholdCount','BubMF','initialize','customSequencer.js','maxRetries','KYiIG','jest-config','platformCaps','stop','280vcgOxN','npx','end','isNotUndefined','../../helpers/helper','Unable\x20to\x20find\x20jest-circus,\x20','../../helpers/test-observability/constants','../../helpers/accessibility-automation/helper','cwd','../utils/constants','yOGEP','IXuif','dsamm','isRunning','puppeteer','VVItQ','playwright','error','winstonLogger','\x20:\x20',',\x20CLI\x20running:\x20','yGZzG','isTestOrchestrationEnabled','retryTestsOnFailure','testTimeout','pyntv','tmKew','parseTestOrchestrationOptions','ajlqE','resolve','wZBnY','BROWSERSTACK_TEST_OBSERVABILITY_YML','writeFileSync','30QMzCfL','\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','customTestRunner.js','test-observability','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','true','DCNbL','dUKmf','DQZmg','@jest/core/build/ReporterDispatcher.js','RZbPQ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','test.setup.js','\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','UURvt','isBrowserstackInfra','AoJLb','\x0a\x20\x20\x20\x20\x20\x20',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','../../helpers/test-observability/utils','cjs','handleApp','VjlfJ','proxySettings','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','ZKXeN','debug','dGjyo','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','__isPuppeteerInstalled','RSwvO','qAbyv','jest-circus/build/runner.js','customImplements','mjs','setupFilesAfterEnv','Deleting\x20','startsWith','skipSessionStatus'];a21_0xaa41=function(){return _0x76b849;};return a21_0xaa41();}const fs=require('fs'),path=require(a21_0x152de0(0x173)),util=require(a21_0x152de0(0x15f)),{spawn}=require('child_process'),logger=require(a21_0x152de0(0x109))[a21_0x152de0(0xcf)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a21_0x152de0(0xc1)),utilities=require('../../helpers/utilities'),constants=require(a21_0x152de0(0xc6)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a21_0x152de0(0xf1)),{debug}=require(a21_0x152de0(0xf1)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a21_0x152de0(0x152)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a21_0x152de0(0xb3)),{FRAMEWORKS}=require(a21_0x152de0(0xc3)),PerformanceTester=require(a21_0x152de0(0x11d)),PerformanceEvents=require(a21_0x152de0(0x10e))[a21_0x152de0(0x182)],TestOrchestrationHandler=require(a21_0x152de0(0x10c)),BrowserstackCLI=require(a21_0x152de0(0x118)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x152de0(0x11f)),ClientTroubleShootingService=require(a21_0x152de0(0x189)),{checkAccessibilityPlatformConfig}=require(a21_0x152de0(0xc4)),getUserJestConfigs=async(_0x5bd3a9,_0xe29038)=>{const _0xace41=a21_0x152de0,_0x5b0ab6={'uyYJb':'jest-config/build/readConfigFileAndSetRootDir.js','lUaLH':_0xace41(0xba),'KYiIG':function(_0x2b6578,_0x57284f){return _0x2b6578||_0x57284f;},'dLOqu':function(_0x596fa9,_0x5bcd14){return _0x596fa9(_0x5bcd14);},'uSFci':_0xace41(0x176),'WeXcm':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','DQZmg':_0xace41(0x101),'mZQvz':_0xace41(0xf2),'TLWrZ':_0xace41(0x183)};let _0x2832f4;try{_0x2832f4=helper[_0xace41(0x177)](_0x5b0ab6[_0xace41(0x174)],_0x5b0ab6[_0xace41(0x12f)]);}catch{const _0x1ad9c8=helper[_0xace41(0x177)](_0x5b0ab6['lUaLH']);_0x2832f4={'default':async _0x39c9a5=>{const _0x45c5f4=_0xace41,_0x4615f0=await _0x1ad9c8[_0x45c5f4(0x10d)](_0x39c9a5,{});return _0x4615f0[_0x45c5f4(0xa5)];}};}const _0x4442bf=_0xe29038['findIndex'](_0x483a2d=>_0x483a2d===_0xace41(0x111));if(!helper[_0xace41(0x9a)](_0x5bd3a9[_0xace41(0xa5)])){logger['info']('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x5bd3a9[_0xace41(0xa5)]),process[_0xace41(0x18b)][_0xace41(0x17a)]=_0x5bd3a9[_0xace41(0xa5)];const _0x52d21c=await(0x0,_0x2832f4[_0xace41(0x106)])(path['resolve'](_0x5bd3a9[_0xace41(0xa5)]));return _0xe29038['splice'](_0x4442bf,0x2),_0x5b0ab6[_0xace41(0xb9)](_0x52d21c,{});}const _0x51fa98=_0x5b0ab6[_0xace41(0x132)](require,path[_0xace41(0x15e)](process[_0xace41(0xc5)](),_0x5b0ab6[_0xace41(0x17e)]));if(_0x51fa98['jest'])return logger[_0xace41(0x11e)](_0x5b0ab6[_0xace41(0xae)]),_0x51fa98[_0xace41(0x12e)];const _0x389ff8=['js',_0x5b0ab6[_0xace41(0xe6)],_0x5b0ab6['mZQvz'],_0x5b0ab6['TLWrZ'],'ts'];for(const _0x5c0d29 of _0x389ff8){const _0x58c993=path[_0xace41(0x15e)](process['cwd'](),_0xace41(0x138)+_0x5c0d29);if(fs[_0xace41(0xb2)](_0x58c993)){process[_0xace41(0x18b)][_0xace41(0x17a)]=_0x58c993;const _0x232cf2=await(0x0,_0x2832f4[_0xace41(0x106)])(_0x58c993);return _0x232cf2;}}return{};},getSerial=(_0x5008db,_0x3f8a6d)=>{const _0x312596=a21_0x152de0,_0x3a552a={};_0x3a552a[_0x312596(0x107)]=_0x312596(0xe3),_0x3a552a[_0x312596(0x13e)]=function(_0x2b10a5,_0x489ae4){return _0x2b10a5>_0x489ae4;},_0x3a552a['DtCsE']=_0x312596(0x126);const _0x31f24d=_0x3a552a;let _0x3c5ad0=_0x31f24d['JgRHk'];return _0x31f24d['DLznO'](_0x5008db['length'],0x1)&&(!_0x3f8a6d[_0x312596(0x161)]&&(helper[_0x312596(0x9a)](_0x3f8a6d[_0x312596(0x172)])||_0x31f24d[_0x312596(0x13e)](_0x3f8a6d[_0x312596(0x172)],0x1)))&&(_0x3c5ad0=_0x31f24d[_0x312596(0x147)]),_0x3c5ad0;},getMaxWorkers=(_0x51cf71,_0x5e369f,_0x1c996e)=>{const _0x250911=a21_0x152de0,_0x568625={'nwKLB':function(_0x2ef7ce,_0x5e1c70){return _0x2ef7ce(_0x5e1c70);}};let _0x32e26f=0x1;if(!helper[_0x250911(0x9a)](_0x5e369f[_0x250911(0x17f)]))_0x32e26f=_0x568625['nwKLB'](parseInt,_0x5e369f[_0x250911(0x17f)]);else{if(!helper[_0x250911(0x9a)](_0x51cf71[_0x250911(0x172)]))_0x32e26f=_0x51cf71[_0x250911(0x172)];else!helper[_0x250911(0x9a)](_0x1c996e[_0x250911(0x172)])&&(_0x32e26f=_0x1c996e[_0x250911(0x172)]);}return _0x32e26f;};function a21_0x1978(_0x3e60dd,_0x162672){const _0xaa41fb=a21_0xaa41();return a21_0x1978=function(_0x197897,_0x3972b9){_0x197897=_0x197897-0x99;let _0x5168a7=_0xaa41fb[_0x197897];return _0x5168a7;},a21_0x1978(_0x3e60dd,_0x162672);}async function run(_0x4f59c2,_0x2ffabc,_0x205d9c){const _0x3e8fc9=a21_0x152de0,_0x1947f1={'bDFPv':_0x3e8fc9(0x12e),'VjlfJ':function(_0x2c7d96,_0xd117f7){return _0x2c7d96(_0xd117f7);},'UURvt':'@playwright/test','lvzzX':function(_0x507c20){return _0x507c20();},'tmKew':function(_0x13b113,_0x5cb7b8,_0x327df1,_0x25ca24){return _0x13b113(_0x5cb7b8,_0x327df1,_0x25ca24);},'yGZzG':function(_0x3aa873,_0x415940,_0x56b810,_0x5957d2){return _0x3aa873(_0x415940,_0x56b810,_0x5957d2);},'ajlqE':function(_0x270f14,_0x5954a0){return _0x270f14!=_0x5954a0;},'sCKhf':_0x3e8fc9(0xe3),'LtqdT':function(_0x5d006e,_0x248a8c,_0x4df98f){return _0x5d006e(_0x248a8c,_0x4df98f);},'uhqzD':_0x3e8fc9(0xfa),'IXuif':function(_0x8f4232,_0x253788){return _0x8f4232(_0x253788);},'mcRlh':_0x3e8fc9(0x126),'RZbPQ':function(_0x41771f,_0x3bb178){return _0x41771f*_0x3bb178;},'wZBnY':function(_0x1df4a9,_0x93bd07){return _0x1df4a9===_0x93bd07;},'dGjyo':_0x3e8fc9(0x141),'wVaFW':_0x3e8fc9(0x165),'dnnKt':_0x3e8fc9(0x100),'wmoon':_0x3e8fc9(0x159),'cOGtw':_0x3e8fc9(0xe0),'HKvFH':'customTestRunnerTemplate.js','dbwiD':'customEnvironment.js','VyFOi':function(_0x10620d,_0x589a47){return _0x10620d!==_0x589a47;},'PYuXz':_0x3e8fc9(0x18a),'QlxsU':_0x3e8fc9(0xac),'BubMF':_0x3e8fc9(0xb0),'dUKmf':_0x3e8fc9(0xb7),'jRyxE':_0x3e8fc9(0xf6),'dsamm':_0x3e8fc9(0x155),'mnhik':_0x3e8fc9(0xff),'ahpRV':function(_0xcf87eb,_0xd0f85b){return _0xcf87eb(_0xd0f85b);},'cMQdD':_0x3e8fc9(0xe1),'TugWY':_0x3e8fc9(0x10a),'uVPPv':'customCircus.js','yNXBE':'test_before.setup.js','LQhvB':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','QXdwu':_0x3e8fc9(0xcd),'TzACq':_0x3e8fc9(0xe2),'AgSXZ':_0x3e8fc9(0xea),'pyntv':_0x3e8fc9(0x135),'DCNbL':function(_0x2332a3,_0x2edc38){return _0x2332a3&&_0x2edc38;},'RSwvO':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','VVItQ':_0x3e8fc9(0xcb),'UfSFU':_0x3e8fc9(0x9c),'JRyhV':'default','qAbyv':_0x3e8fc9(0xe7),'ZKXeN':'@jest/core','reGhI':_0x3e8fc9(0x150),'AoJLb':function(_0x383d30,_0xe143e1){return _0x383d30>_0xe143e1;},'zwkrJ':_0x3e8fc9(0xfb),'wlQqZ':'--config','XscuQ':_0x3e8fc9(0xbe),'wjwJY':function(_0x3e6784,_0x4286f1){return _0x3e6784===_0x4286f1;},'yOGEP':_0x3e8fc9(0x129),'LQPOj':_0x3e8fc9(0xa6),'RfPQb':'close'},_0x438cfc=helper['getPackageVersion'](_0x1947f1['UURvt']);global[_0x3e8fc9(0x12b)]=!!_0x438cfc;const _0x331a3a=_0x1947f1[_0x3e8fc9(0xa8)](getPuppeteerVersion);global[_0x3e8fc9(0xfc)]=!!_0x331a3a;helper[_0x3e8fc9(0xed)]()&&(await _0x205d9c[_0x3e8fc9(0xb6)](_0x4f59c2),await helper[_0x3e8fc9(0xf3)](_0x205d9c[_0x3e8fc9(0xa5)]));if(_0x438cfc)await _0x1947f1[_0x3e8fc9(0xd7)](checkPwandBootstrapCli,_0x438cfc,constants[_0x3e8fc9(0x15c)][_0x3e8fc9(0x14e)],_0x205d9c);else _0x331a3a&&await _0x1947f1[_0x3e8fc9(0xd2)](checkPuppeteerAndBootstrapCli,_0x331a3a,constants[_0x3e8fc9(0x15c)][_0x3e8fc9(0x14e)],_0x205d9c);!BrowserstackCLI[_0x3e8fc9(0xaf)]()[_0x3e8fc9(0xca)]()&&await _0x205d9c[_0x3e8fc9(0x137)]();if(!_0x205d9c[_0x3e8fc9(0xa5)])return;_0x1947f1[_0x3e8fc9(0xd9)](_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x125)],null)?process[_0x3e8fc9(0x18b)][_0x3e8fc9(0xdc)]=_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x125)]:process[_0x3e8fc9(0x18b)][_0x3e8fc9(0xdc)]=_0x1947f1[_0x3e8fc9(0x157)];const _0x4450d6=new TestOrchestrationHandler(_0x205d9c['config']),_0x11edf6=await _0x1947f1['LtqdT'](getUserJestConfigs,_0x4f59c2,_0x2ffabc);logger[_0x3e8fc9(0x11e)](_0x1947f1['uhqzD']);const _0x1fe2ff=Object[_0x3e8fc9(0x13a)]({},_0x11edf6);_0x1fe2ff[_0x3e8fc9(0x11a)]=Object[_0x3e8fc9(0x13a)]({},_0x1fe2ff[_0x3e8fc9(0x11a)],{'server':helper[_0x3e8fc9(0x136)](_0x205d9c[_0x3e8fc9(0xa5)]),'environment':_0x11edf6[_0x3e8fc9(0x119)]}),_0x1fe2ff['testEnvironmentOptions'][_0x3e8fc9(0x14b)]=_0x1947f1[_0x3e8fc9(0xc8)](getPercyOptions,_0x205d9c['config']);const _0x686108=helper[_0x3e8fc9(0x184)](_0x205d9c[_0x3e8fc9(0xa5)]);!helper[_0x3e8fc9(0x9a)](_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x18d)])&&(process[_0x3e8fc9(0x18b)][_0x3e8fc9(0x142)]=JSON[_0x3e8fc9(0x117)](_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x18d)]));if(!BrowserstackCLI['getInstance']()[_0x3e8fc9(0xca)]()){const _0x44abc7=await TestHubHandler[_0x3e8fc9(0x12c)](FRAMEWORKS[_0x3e8fc9(0x14e)],_0x205d9c);}const _0x4f2238=helper['prepareCapabilities'](_0x205d9c[_0x3e8fc9(0xa5)],_0x686108,constants['FRAMEWORKS'][_0x3e8fc9(0x14e)]);process['env'][_0x3e8fc9(0x115)]=JSON[_0x3e8fc9(0x117)](_0x4f2238);let _0xe3afcd=_0x205d9c['config'][_0x3e8fc9(0x10b)];_0xe3afcd=_0xe3afcd||accessibilityHelper[_0x3e8fc9(0x139)](_0x205d9c['config']),process[_0x3e8fc9(0x18b)][_0x3e8fc9(0xe9)]=_0xe3afcd,logger[_0x3e8fc9(0xf8)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0xe3afcd+_0x3e8fc9(0xd1)+BrowserstackCLI[_0x3e8fc9(0xaf)]()['isRunning']());if(_0x438cfc)try{const _0x462eab=_0x1947f1[_0x3e8fc9(0xf4)](checkAccessibilityPlatformConfig,_0x205d9c[_0x3e8fc9(0xa5)]);process[_0x3e8fc9(0x18b)][_0x3e8fc9(0x17b)]=_0x462eab?_0x1947f1[_0x3e8fc9(0x157)]:_0x1947f1['mcRlh'],logger['debug']('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x462eab+_0x3e8fc9(0xf0)+process[_0x3e8fc9(0x18b)][_0x3e8fc9(0x17b)]);}catch(_0x18351d){logger['debug'](_0x3e8fc9(0x110)+util[_0x3e8fc9(0x154)](_0x18351d));}_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0x158)]=_0x4f2238,_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0xa2)]=_0x1947f1['LtqdT'](getSerial,_0x4f2238,_0x4f59c2),_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0x156)]=_0x1947f1['yGZzG'](getMaxWorkers,_0x4f59c2,_0x205d9c['config'],_0x11edf6),_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0xf5)]=_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0xf5)],_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0x127)]=_0x1947f1[_0x3e8fc9(0xe8)](_0x4f59c2[_0x3e8fc9(0xd5)],0x1)||0x1388,_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0x14a)]=_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x120)][_0x3e8fc9(0x14a)],_0x1fe2ff['testEnvironmentOptions'][_0x3e8fc9(0x105)]=_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x120)][_0x3e8fc9(0x105)],_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0xa1)]=_0x205d9c[_0x3e8fc9(0xa5)]['logLevel'],_0x1fe2ff['testEnvironmentOptions']['turboScaleUrl']=_0x205d9c[_0x3e8fc9(0xa5)]['turboScaleUrl'],_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0xbb)]=_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x113)],Object[_0x3e8fc9(0x13a)](_0x1fe2ff[_0x3e8fc9(0x11a)],helper[_0x3e8fc9(0x108)](_0x205d9c['config'],_0x686108,constants[_0x3e8fc9(0x15c)][_0x3e8fc9(0x14e)]));const _0x4423dc=helper[_0x3e8fc9(0xd8)](_0x205d9c[_0x3e8fc9(0xa5)]);if(!helper[_0x3e8fc9(0x16a)](_0x4423dc)){helper[_0x3e8fc9(0xc0)](_0x4423dc['retryTestsOnFailure'])&&(_0x1fe2ff[_0x3e8fc9(0x11a)][_0x3e8fc9(0x188)]=_0x4423dc[_0x3e8fc9(0xd4)][_0x3e8fc9(0xb8)]);if(helper[_0x3e8fc9(0xc0)](_0x4423dc[_0x3e8fc9(0x15b)])&&helper['isNotUndefined'](_0x4423dc[_0x3e8fc9(0x15b)][_0x3e8fc9(0x163)])){const _0x1124f8={};_0x1124f8[_0x3e8fc9(0xb4)]=_0x4423dc['abortBuildOnFailure']['maxFailures'],_0x1124f8[_0x3e8fc9(0x163)]=_0x4423dc['abortBuildOnFailure'][_0x3e8fc9(0x163)],_0x1fe2ff['testEnvironmentOptions']['failFast']=_0x1124f8;}}let _0x411222='';_0x1947f1[_0x3e8fc9(0xdb)](helper['getPackageType'](),constants[_0x3e8fc9(0x15d)]['MODULE'])?_0x411222=_0x1947f1[_0x3e8fc9(0xf9)]:_0x411222=_0x1947f1[_0x3e8fc9(0x122)];const _0x27dabe=_0x411222,_0x3f324c=path['join'](__dirname,_0x1947f1['dnnKt'],_0x1947f1[_0x3e8fc9(0x116)]),_0x42a34c=path['join'](__dirname,_0x1947f1[_0x3e8fc9(0xab)],_0x1947f1['cOGtw']),_0x1a5955=path[_0x3e8fc9(0x15e)](__dirname,_0x1947f1['dnnKt'],_0x1947f1['HKvFH']);_0x1fe2ff[_0x3e8fc9(0x119)]&&(process['env']['BSTACK_JEST_TEST_ENV']=_0x1fe2ff[_0x3e8fc9(0x119)]);_0x1fe2ff[_0x3e8fc9(0x119)]=path['join'](__dirname,_0x1947f1[_0x3e8fc9(0xab)],_0x1947f1[_0x3e8fc9(0x170)]);const _0x257f1d=_0x11edf6['runner'];if(_0x257f1d&&_0x1947f1[_0x3e8fc9(0x16c)](_0x257f1d,_0x1947f1[_0x3e8fc9(0x18c)])){const _0xa2893c=_0x257f1d[_0x3e8fc9(0x104)](_0x1947f1[_0x3e8fc9(0x9d)])?_0x257f1d:_0x3e8fc9(0xac)+_0x257f1d;process[_0x3e8fc9(0x18b)]['BSTACK_USER_JEST_RUNNER']=_0xa2893c,logger[_0x3e8fc9(0x11e)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0xa2893c);}_0x1fe2ff[_0x3e8fc9(0x99)]=_0x42a34c,_0x1fe2ff[_0x3e8fc9(0x102)]=_0x1fe2ff[_0x3e8fc9(0x102)]||[],_0x1fe2ff[_0x3e8fc9(0x102)][_0x3e8fc9(0xa3)](path['join'](__dirname,_0x1947f1[_0x3e8fc9(0xb5)]));_0x4450d6['isTestOrchestrationEnabled']()&&(_0x1fe2ff[_0x3e8fc9(0x9f)]=path['join'](__dirname,_0x1947f1[_0x3e8fc9(0xab)],_0x1947f1[_0x3e8fc9(0xe5)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI['getInstance']()['isCliEnabled']()){let _0x57148f=null;try{_0x57148f=helper['requireModule'](_0x1947f1[_0x3e8fc9(0x16f)],_0x1947f1[_0x3e8fc9(0xc9)]);}catch(_0x543e34){try{_0x57148f=helper[_0x3e8fc9(0x177)](_0x1947f1['mnhik'],_0x1947f1['dsamm']);}catch(_0x439961){_0x1947f1['ahpRV'](debug,_0x3e8fc9(0xc2)+_0x439961);}}_0x57148f&&(testhubUtils['shouldProcessEventForTesthub']()&&_0x1fe2ff[_0x3e8fc9(0x102)][_0x3e8fc9(0xa3)](path[_0x3e8fc9(0x15e)](__dirname,_0x1947f1['cMQdD'],_0x1947f1[_0x3e8fc9(0x143)])),_0x1fe2ff[_0x3e8fc9(0xa7)]=path[_0x3e8fc9(0x15e)](__dirname,_0x1947f1[_0x3e8fc9(0xab)],_0x1947f1['uVPPv']));}_0x1fe2ff['setupFiles']=_0x1fe2ff['setupFiles']||[];try{helper['requireSeleniumWebdriver'](),_0x1fe2ff[_0x3e8fc9(0x162)][_0x3e8fc9(0xa3)](path[_0x3e8fc9(0x15e)](__dirname,_0x1947f1[_0x3e8fc9(0x16e)]));}catch{logger[_0x3e8fc9(0xf8)](_0x1947f1[_0x3e8fc9(0x148)]);}try{helper[_0x3e8fc9(0x145)][_0x3e8fc9(0x9b)](null,[_0x1947f1[_0x3e8fc9(0xec)],_0x1947f1[_0x3e8fc9(0xa4)]]),logger[_0x3e8fc9(0xf8)](_0x1947f1['TzACq']),_0x1fe2ff[_0x3e8fc9(0x162)][_0x3e8fc9(0xa3)](path['join'](__dirname,_0x1947f1[_0x3e8fc9(0x114)]));}catch(_0x30933e){logger[_0x3e8fc9(0xf8)](_0x1947f1[_0x3e8fc9(0xd6)],_0x30933e);}if(_0x1947f1[_0x3e8fc9(0xe4)](!_0x438cfc,_0x331a3a)){try{logger[_0x3e8fc9(0xf8)](_0x1947f1[_0x3e8fc9(0xfd)]),_0x1fe2ff[_0x3e8fc9(0x102)][_0x3e8fc9(0xa3)](path[_0x3e8fc9(0x15e)](__dirname,'..',_0x1947f1[_0x3e8fc9(0xcc)],_0x1947f1[_0x3e8fc9(0x114)]));}catch(_0x4c47da){logger['debug']('Puppeteer\x20setup\x20error:\x20'+_0x4c47da[_0x3e8fc9(0x14c)]);}try{const _0x6a6b6e=require[_0x3e8fc9(0xda)](_0x1947f1[_0x3e8fc9(0x14d)]),_0x525430=path[_0x3e8fc9(0x10f)](_0x6a6b6e)[_0x3e8fc9(0x133)](/\\/g,'/'),_0x3a76d6={};_0x3a76d6[_0x3e8fc9(0x186)]=_0x525430+'/internal/$1',_0x1fe2ff[_0x3e8fc9(0x134)]=Object[_0x3e8fc9(0x13a)]({},_0x1fe2ff['moduleNameMapper']||{},_0x3a76d6),logger[_0x3e8fc9(0xf8)](_0x3e8fc9(0x17c)+_0x525430);}catch(_0x499028){logger[_0x3e8fc9(0xf8)](_0x3e8fc9(0x15a)+_0x499028[_0x3e8fc9(0x14c)]);}}_0x1fe2ff[_0x3e8fc9(0x146)]=_0x1fe2ff['reporters']||[_0x1947f1[_0x3e8fc9(0x12d)]],_0x1947f1[_0x3e8fc9(0x167)](updateTestRerunConfig,_0x1fe2ff,_0x205d9c);const _0x419ac1=fs[_0x3e8fc9(0xb1)](_0x1a5955),_0x3b4a85=helper[_0x3e8fc9(0x169)](_0x1947f1[_0x3e8fc9(0xfe)],_0x1947f1[_0x3e8fc9(0xf7)]);!_0x3b4a85[_0x3e8fc9(0xce)]?fs[_0x3e8fc9(0xdd)](_0x1fe2ff[_0x3e8fc9(0x99)],_0x3e8fc9(0xef)+_0x419ac1+_0x3e8fc9(0xeb)+_0x205d9c[_0x3e8fc9(0xa5)][_0x3e8fc9(0x113)][_0x3e8fc9(0x9e)]+';\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[_0x3e8fc9(0xdd)](_0x1fe2ff[_0x3e8fc9(0x99)],_0x3e8fc9(0xef)+_0x419ac1+_0x3e8fc9(0xdf)+_0x205d9c[_0x3e8fc9(0xa5)]['platforms'][_0x3e8fc9(0x9e)]+';\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');logger[_0x3e8fc9(0x11e)](_0x3e8fc9(0x151)+_0x27dabe+_0x3e8fc9(0xa0)),fs[_0x3e8fc9(0xdd)](_0x27dabe,'const\x20config='+JSON[_0x3e8fc9(0x117)](_0x1fe2ff)+_0x3e8fc9(0x178));if(_0x4450d6[_0x3e8fc9(0xd3)]()){logger[_0x3e8fc9(0xf8)](_0x1947f1[_0x3e8fc9(0x168)]);const _0x1cb5c9=await _0x4450d6[_0x3e8fc9(0x13d)](_0x1fe2ff,_0x2ffabc['slice'](0x1),_0x27dabe);logger[_0x3e8fc9(0xf8)](_0x3e8fc9(0x128)+JSON[_0x3e8fc9(0x117)](_0x1cb5c9)+'\x20test\x20files\x20to\x20run.');const _0x46fa97=await _0x4450d6[_0x3e8fc9(0x13c)](_0x1cb5c9);logger['debug']('Reodered\x20Test\x20Files:\x20'+JSON['stringify'](_0x46fa97)),_0x46fa97&&_0x1947f1[_0x3e8fc9(0xee)](_0x46fa97[_0x3e8fc9(0x9e)],0x0)&&(process['env'][_0x3e8fc9(0x130)]=_0x46fa97?.[_0x3e8fc9(0x15e)](','));}logger[_0x3e8fc9(0x11e)](_0x1947f1[_0x3e8fc9(0x160)]);testhubUtils[_0x3e8fc9(0x13b)]()&&TestDetails['setup']();helper[_0x3e8fc9(0x149)]({},_0x2ffabc),PerformanceTester[_0x3e8fc9(0xbf)](PerformanceEvents[_0x3e8fc9(0x185)]);const _0x25ee44=[_0x1947f1['bDFPv'],_0x1947f1['wlQqZ'],_0x27dabe,..._0x2ffabc[_0x3e8fc9(0x123)](0x1)];process['env'][_0x3e8fc9(0x181)]=process[_0x3e8fc9(0x18b)][_0x3e8fc9(0x181)]||_0x1947f1[_0x3e8fc9(0x144)];const _0x5ca9cb=_0x1947f1[_0x3e8fc9(0xd2)](spawn,_0x1947f1['XscuQ'],_0x25ee44,{'shell':_0x1947f1[_0x3e8fc9(0x16b)](process[_0x3e8fc9(0x16d)],_0x1947f1[_0x3e8fc9(0xc7)]),'stdio':_0x1947f1[_0x3e8fc9(0x11b)],'env':Object['assign']({},process[_0x3e8fc9(0x18b)])});_0x5ca9cb['on'](_0x1947f1[_0x3e8fc9(0x18e)],async _0x28e517=>{const _0x416c7d=_0x3e8fc9;PerformanceTester[_0x416c7d(0x13f)](PerformanceEvents[_0x416c7d(0x124)]),process[_0x416c7d(0x166)]=_0x28e517,logger[_0x416c7d(0xf8)](_0x416c7d(0x11c)+_0x28e517),logger[_0x416c7d(0x11e)](_0x416c7d(0x103)+_0x27dabe);if(helper['isNotUndefined'](_0x4423dc)&&helper[_0x416c7d(0xc0)](_0x4423dc[_0x416c7d(0x15b)])&&fs['existsSync'](_0x4423dc[_0x416c7d(0x15b)]['workingDir']))try{const _0x4ff8b7={};_0x4ff8b7[_0x416c7d(0x12a)]=!![],_0x4ff8b7[_0x416c7d(0x180)]=!![],fs[_0x416c7d(0x187)](_0x4423dc[_0x416c7d(0x15b)][_0x416c7d(0x163)],_0x4ff8b7),logger[_0x416c7d(0xf8)](_0x416c7d(0xaa)+_0x4423dc[_0x416c7d(0x15b)][_0x416c7d(0x163)]);}catch(_0x445556){logger[_0x416c7d(0xce)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x445556);}let _0x41ea1d=null;if(fs[_0x416c7d(0xb2)](_0x3f324c)){_0x41ea1d=fs[_0x416c7d(0xb1)](_0x3f324c);try{_0x41ea1d=JSON[_0x416c7d(0x121)](_0x41ea1d);}catch(_0x56276c){logger[_0x416c7d(0xf8)](_0x416c7d(0x131)+_0x3f324c+',\x20'+_0x41ea1d+_0x416c7d(0xd0)+_0x56276c);}fs['unlinkSync'](_0x3f324c);}fs['unlinkSync'](_0x27dabe),fs['unlinkSync'](_0x42a34c),_0x41ea1d&&(_0x205d9c['errorMessage']=helper[_0x416c7d(0x164)](_0x41ea1d,_0x1947f1['bDFPv'],_0x205d9c));const _0x4ba05d=BrowserstackCLI[_0x416c7d(0x171)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x416c7d(0xaf)]()[_0x416c7d(0xbc)]();}catch(_0x3f04d9){console['log'](_0x3f04d9),_0x1947f1[_0x416c7d(0xf4)](debug,_0x416c7d(0xa9)+util[_0x416c7d(0x154)](_0x3f04d9));}testOpsHelper[_0x416c7d(0x153)](),TestDetails['shutdown'](),await utilities[_0x416c7d(0x140)](_0x205d9c,_0x4ba05d);});}module['exports']=run;
@@ -1 +1 @@
1
- const a22_0x10b74d=a22_0x2729;(function(_0x5647f4,_0x447f6b){const _0x30a894=a22_0x2729,_0x398938=_0x5647f4();while(!![]){try{const _0x1dacad=parseInt(_0x30a894(0xcb))/0x1*(-parseInt(_0x30a894(0xc3))/0x2)+parseInt(_0x30a894(0xce))/0x3+parseInt(_0x30a894(0xbd))/0x4+-parseInt(_0x30a894(0xcf))/0x5*(parseInt(_0x30a894(0xcd))/0x6)+-parseInt(_0x30a894(0xc9))/0x7+parseInt(_0x30a894(0xca))/0x8*(-parseInt(_0x30a894(0xd1))/0x9)+parseInt(_0x30a894(0xc4))/0xa;if(_0x1dacad===_0x447f6b)break;else _0x398938['push'](_0x398938['shift']());}catch(_0x403b27){_0x398938['push'](_0x398938['shift']());}}}(a22_0x33ab,0xf37cc));const path=require(a22_0x10b74d(0xc5)),{requireModule}=require(a22_0x10b74d(0xbf));function a22_0x2729(_0x3bdfaf,_0x1d013f){const _0x33ab75=a22_0x33ab();return a22_0x2729=function(_0x27294,_0x895280){_0x27294=_0x27294-0xbd;let _0x15b33e=_0x33ab75[_0x27294];return _0x15b33e;},a22_0x2729(_0x3bdfaf,_0x1d013f);}function a22_0x33ab(){const _0x535754=['11244072ZLLOpK','11495104ThkPXB','3943ZwzBgm','COEYo','322230OiUeIE','3036879KWjNum','55CeynJl','qYBUN','9TPzdHn','exports','5208644RIYKhp','join','../../../helpers/helper','jest-circus/build/runner.js','default','jestAdapterInit','458qUBPhz','32197560RaCQIl','path','jest-circus','ItBYn','requireInternalModule'];a22_0x33ab=function(){return _0x535754;};return a22_0x33ab();}let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a22_0x10b74d(0xc6));}catch{initJestAdapter=requireModule(a22_0x10b74d(0xc0),'jest-circus');}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a22_0x10b74d(0xc1)];const FRAMEWORK_INITIALIZER=path[a22_0x10b74d(0xbe)](__dirname,'customJestAdapterInit.js');module[a22_0x10b74d(0xd2)]=(..._0x4b1c90)=>{const _0x45e1a4=a22_0x10b74d,_0x1ead33={'ItBYn':_0x45e1a4(0xc2),'qYBUN':function(_0x447c66,_0x2584eb){return _0x447c66===_0x2584eb;},'COEYo':function(_0x4aee84,..._0x48b603){return _0x4aee84(..._0x48b603);}};return _0x4b1c90[0x3]['initRequireModule']=_0x4b1c90[0x3][_0x45e1a4(0xc8)],_0x4b1c90[0x3][_0x45e1a4(0xc8)]=(..._0x25ba2a)=>{const _0x42ccff=_0x45e1a4;if(_0x25ba2a[0x0]&&_0x25ba2a[0x0]['includes'](_0x1ead33[_0x42ccff(0xc7)])&&_0x1ead33[_0x42ccff(0xd0)](_0x25ba2a[0x1],undefined))return _0x4b1c90[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x4b1c90[0x3]['initRequireModule'](..._0x25ba2a);},_0x1ead33[_0x45e1a4(0xcc)](initJestAdapter,..._0x4b1c90);};
1
+ const a22_0x4a2eb9=a22_0x2d21;function a22_0x5cb1(){const _0x41643e=['794290euITOa','jest-circus','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','join','17872oVgnNh','path','../../../helpers/helper','32fKSfFU','exports','5nxkIrb','initRequireModule','jestAdapterInit','3754152oKvQXN','22zMbSRJ','lyYPg','JZTzF','759861imFIyk','customJestAdapterInit.js','requireInternalModule','709336oItODi','808675pDOobp','12PgUPUq','jest-circus/build/runner.js','806346Pmruka','13lDDOfy'];a22_0x5cb1=function(){return _0x41643e;};return a22_0x5cb1();}(function(_0x2b623a,_0x3b7cd7){const _0x5f2601=a22_0x2d21,_0x1da004=_0x2b623a();while(!![]){try{const _0x313e7b=parseInt(_0x5f2601(0x175))/0x1*(-parseInt(_0x5f2601(0x17a))/0x2)+-parseInt(_0x5f2601(0x16d))/0x3+-parseInt(_0x5f2601(0x170))/0x4*(parseInt(_0x5f2601(0x17f))/0x5)+-parseInt(_0x5f2601(0x172))/0x6*(-parseInt(_0x5f2601(0x171))/0x7)+parseInt(_0x5f2601(0x17d))/0x8*(parseInt(_0x5f2601(0x174))/0x9)+parseInt(_0x5f2601(0x176))/0xa*(-parseInt(_0x5f2601(0x183))/0xb)+parseInt(_0x5f2601(0x182))/0xc;if(_0x313e7b===_0x3b7cd7)break;else _0x1da004['push'](_0x1da004['shift']());}catch(_0x206720){_0x1da004['push'](_0x1da004['shift']());}}}(a22_0x5cb1,0x30011));const path=require(a22_0x4a2eb9(0x17b)),{requireModule}=require(a22_0x4a2eb9(0x17c));let initJestAdapter;function a22_0x2d21(_0x5ce713,_0x4cb85f){const _0x5cb1cb=a22_0x5cb1();return a22_0x2d21=function(_0x2d2117,_0x8b8903){_0x2d2117=_0x2d2117-0x16b;let _0x1cb4b3=_0x5cb1cb[_0x2d2117];return _0x1cb4b3;},a22_0x2d21(_0x5ce713,_0x4cb85f);}try{initJestAdapter=requireModule(a22_0x4a2eb9(0x178),a22_0x4a2eb9(0x177));}catch{initJestAdapter=requireModule(a22_0x4a2eb9(0x173),a22_0x4a2eb9(0x177));}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a22_0x4a2eb9(0x179)](__dirname,a22_0x4a2eb9(0x16e));module[a22_0x4a2eb9(0x17e)]=(..._0xe2697b)=>{const _0x22781f=a22_0x4a2eb9,_0x2146ca={'tBnbv':_0x22781f(0x181),'lyYPg':function(_0x2edb55,_0xf7fe2d){return _0x2edb55===_0xf7fe2d;},'JZTzF':function(_0x1a9127,..._0x2e2a97){return _0x1a9127(..._0x2e2a97);}};return _0xe2697b[0x3][_0x22781f(0x180)]=_0xe2697b[0x3][_0x22781f(0x16f)],_0xe2697b[0x3][_0x22781f(0x16f)]=(..._0xf110f7)=>{const _0x48291f=_0x22781f;if(_0xf110f7[0x0]&&_0xf110f7[0x0]['includes'](_0x2146ca['tBnbv'])&&_0x2146ca[_0x48291f(0x16b)](_0xf110f7[0x1],undefined))return _0xe2697b[0x3][_0x48291f(0x180)](FRAMEWORK_INITIALIZER);return _0xe2697b[0x3][_0x48291f(0x180)](..._0xf110f7);},_0x2146ca[_0x22781f(0x16c)](initJestAdapter,..._0xe2697b);};