browserstack-node-sdk 1.66.2 → 1.66.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  139. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  140. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  142. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  143. package/src/bin/v2/framework/testFramework.js +1 -1
  144. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  146. package/src/bin/v2/grpcClient.js +1 -1
  147. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  148. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  149. package/src/bin/v2/instances/trackedContext.js +1 -1
  150. package/src/bin/v2/instances/trackedInstance.js +1 -1
  151. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  152. package/src/bin/v2/modules/baseModule.js +1 -1
  153. package/src/bin/v2/modules/loadTestModule.js +1 -1
  154. package/src/bin/v2/modules/observabilityModule.js +1 -1
  155. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  156. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  157. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  158. package/src/bin/v2/modules/testhubModule.js +1 -1
  159. package/src/bin/v2/sdkErrorHandler.js +1 -1
  160. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  161. package/src/bin/v2/state/hookState.js +1 -1
  162. package/src/bin/v2/state/testFrameworkState.js +1 -1
  163. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  164. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  165. package/src/bin/v2/utils/jest-utils.js +1 -1
  166. package/src/bin/vanilla-js/command.js +1 -1
  167. package/src/browserStackSdk.js +1 -1
  168. package/src/helpers/BrowserStackSetup.js +1 -1
  169. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  170. package/src/helpers/accessibility-automation/constants.js +1 -1
  171. package/src/helpers/accessibility-automation/helper.js +1 -1
  172. package/src/helpers/accessibility-automation/scripts.js +1 -1
  173. package/src/helpers/ats/constants.js +1 -1
  174. package/src/helpers/ats/helper.js +1 -1
  175. package/src/helpers/caCertHelper.js +1 -1
  176. package/src/helpers/capsMapping.js +1 -1
  177. package/src/helpers/central-scanner/constants.js +1 -1
  178. package/src/helpers/central-scanner/helpers.js +1 -1
  179. package/src/helpers/classLogger.js +1 -1
  180. package/src/helpers/driverInitErrorReporter.js +1 -1
  181. package/src/helpers/globals.js +1 -1
  182. package/src/helpers/helper.js +1 -1
  183. package/src/helpers/logger.js +1 -1
  184. package/src/helpers/metadata.js +1 -1
  185. package/src/helpers/patchHelper.js +1 -1
  186. package/src/helpers/patchHelpers.js +1 -1
  187. package/src/helpers/percy/Percy.js +1 -1
  188. package/src/helpers/percy/PercyBinary.js +1 -1
  189. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  190. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  191. package/src/helpers/percy/PercySDK.js +1 -1
  192. package/src/helpers/percy/index.js +1 -1
  193. package/src/helpers/percy/utils.js +1 -1
  194. package/src/helpers/performance/constants.js +1 -1
  195. package/src/helpers/performance/performance-tester.js +1 -1
  196. package/src/helpers/playwright-helper.js +1 -1
  197. package/src/helpers/processHelper.js +1 -1
  198. package/src/helpers/puppeteer-helper.js +1 -1
  199. package/src/helpers/request-spy.js +1 -1
  200. package/src/helpers/setKeepAlive.js +1 -1
  201. package/src/helpers/stackFrameUtils.js +1 -1
  202. package/src/helpers/test-observability/constants.js +1 -1
  203. package/src/helpers/test-observability/error-handler.js +1 -1
  204. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  205. package/src/helpers/test-observability/sessionHandler.js +1 -1
  206. package/src/helpers/test-observability/utils.js +1 -1
  207. package/src/helpers/test-orchestration/constants.js +1 -1
  208. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  209. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  210. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  211. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  212. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  213. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  214. package/src/helpers/testhub/constants.js +1 -1
  215. package/src/helpers/testhub/testhubHandler.js +1 -1
  216. package/src/helpers/testhub/utils.js +1 -1
  217. package/src/helpers/utilities.js +1 -1
  218. package/src/helpers/w3cMapping.js +1 -1
  219. package/src/hubAllocationMethods.js +1 -1
  220. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a15_0xee2b73=a15_0x4ad8;function a15_0x4ad8(_0x3a591c,_0xcd93a8){const _0x495cf5=a15_0x495c();return a15_0x4ad8=function(_0x4ad886,_0x9358c8){_0x4ad886=_0x4ad886-0x12c;let _0x4656e9=_0x495cf5[_0x4ad886];return _0x4656e9;},a15_0x4ad8(_0x3a591c,_0xcd93a8);}(function(_0xef42f0,_0x5a9345){const _0x2b9c81=a15_0x4ad8,_0x407615=_0xef42f0();while(!![]){try{const _0x1fb799=-parseInt(_0x2b9c81(0x156))/0x1+-parseInt(_0x2b9c81(0x150))/0x2+parseInt(_0x2b9c81(0x12f))/0x3*(-parseInt(_0x2b9c81(0x163))/0x4)+-parseInt(_0x2b9c81(0x153))/0x5+parseInt(_0x2b9c81(0x12d))/0x6+parseInt(_0x2b9c81(0x147))/0x7+parseInt(_0x2b9c81(0x133))/0x8;if(_0x1fb799===_0x5a9345)break;else _0x407615['push'](_0x407615['shift']());}catch(_0x50e9b6){_0x407615['push'](_0x407615['shift']());}}}(a15_0x495c,0xbf66f));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require('../../helpers/logger')[a15_0xee2b73(0x16f)],{URL}=require(a15_0xee2b73(0x155)),helper=require(a15_0xee2b73(0x14f)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x21b4f3){const _0x333130=a15_0xee2b73;return _0x21b4f3[_0x333130(0x167)](',')[_0x333130(0x13b)](_0x5a557f=>{try{new URL(_0x5a557f['trim']());}catch(_0x2f378a){return![];}return!![];});},parseOnPremHosts=function(_0x5cb970){const _0x494c96=a15_0xee2b73,_0x30cd90={};_0x30cd90[_0x494c96(0x138)]=function(_0x2e0a52,_0x4eda3b){return _0x2e0a52===_0x4eda3b;},_0x30cd90[_0x494c96(0x140)]=_0x494c96(0x15f),_0x30cd90[_0x494c96(0x13d)]=_0x494c96(0x16c),_0x30cd90[_0x494c96(0x13e)]='https';const _0x577e68=_0x30cd90;return _0x5cb970[_0x494c96(0x167)](',')[_0x494c96(0x149)](_0x179944=>{const _0x20e96a=_0x494c96,_0x56447b=new URL(_0x179944[_0x20e96a(0x169)]()),_0x20193b=_0x56447b[_0x20e96a(0x154)],_0x2cb9ce=_0x56447b[_0x20e96a(0x143)]||(_0x577e68[_0x20e96a(0x138)](_0x56447b[_0x20e96a(0x12c)],_0x577e68[_0x20e96a(0x140)])?_0x577e68['vhEhL']:'80'),_0x59be1f=_0x56447b['protocol'][_0x20e96a(0x130)](':',''),_0x3ee3a3=_0x577e68[_0x20e96a(0x138)](_0x59be1f,_0x577e68[_0x20e96a(0x13e)])?0x1:0x0;return _0x20193b+','+_0x2cb9ce+','+_0x3ee3a3;});},connectCommandBuilder=function(_0x378da3){const _0x5e06e2=a15_0xee2b73,_0x35d7d9={};_0x35d7d9[_0x5e06e2(0x14e)]='string';const _0x300620=_0x35d7d9,_0x33ffc8={};_0x33ffc8['describe']=HELP_MESSAGES[_0x5e06e2(0x136)]['bstackAccessKey'],_0x33ffc8[_0x5e06e2(0x14c)]=_0x300620[_0x5e06e2(0x14e)];const _0x432b87={};_0x432b87[_0x5e06e2(0x12e)]=HELP_MESSAGES[_0x5e06e2(0x136)][_0x5e06e2(0x15a)],_0x432b87[_0x5e06e2(0x14c)]=_0x300620[_0x5e06e2(0x14e)],_0x432b87[_0x5e06e2(0x15d)]=!![];const _0xb53b4={};return _0xb53b4[_0x5e06e2(0x135)]=_0x33ffc8,_0xb53b4[_0x5e06e2(0x15a)]=_0x432b87,_0x378da3[_0x5e06e2(0x136)](_0xb53b4);},connectCommandHandler=async function(_0x1c64f8){const _0x14adb7=a15_0xee2b73,_0xf6dbf9={'tWspX':_0x14adb7(0x162),'DwHYX':function(_0x55993b,_0xe8d7bb){return _0x55993b===_0xe8d7bb;},'oepIm':_0x14adb7(0x131),'YqVJy':'BrowserStack\x20access\x20key\x20missing.','hFymy':_0x14adb7(0x157),'fBQPn':function(_0x4f065b,_0x276055){return _0x4f065b(_0x276055);},'WBahk':_0x14adb7(0x14d),'CzkaO':_0x14adb7(0x168),'KHFCv':'Connection\x20established\x20successfully.','JlDfw':_0x14adb7(0x13a)};try{const _0x2636eb=new BrowserStackSetup(_0x1c64f8,_0xf6dbf9[_0x14adb7(0x15b)]);_0x1c64f8[_0x14adb7(0x151)]&&(_0x2636eb[_0x14adb7(0x132)][_0x14adb7(0x139)]=_0x1c64f8[_0x14adb7(0x151)]);if(_0xf6dbf9[_0x14adb7(0x152)](typeof _0x2636eb[_0x14adb7(0x132)][_0x14adb7(0x139)],_0xf6dbf9['oepIm'])){logger[_0x14adb7(0x159)](_0xf6dbf9[_0x14adb7(0x14b)]);throw new Error(ERROR_MESSAGES[_0x14adb7(0x13f)][_0x14adb7(0x14a)]);}const _0x34305a=_0x1c64f8[_0x14adb7(0x15a)];if(_0xf6dbf9[_0x14adb7(0x152)](typeof _0x34305a,_0xf6dbf9['oepIm'])){logger[_0x14adb7(0x159)](_0xf6dbf9[_0x14adb7(0x161)]);throw new Error(ERROR_MESSAGES[_0x14adb7(0x15a)][_0x14adb7(0x14a)]);}if(!_0xf6dbf9[_0x14adb7(0x164)](validHosts,_0x34305a)){logger[_0x14adb7(0x159)](_0xf6dbf9[_0x14adb7(0x165)]);throw new Error(ERROR_MESSAGES[_0x14adb7(0x15a)][_0x14adb7(0x141)]);}const _0x1ae1d6=_0xf6dbf9['fBQPn'](parseOnPremHosts,_0x34305a);_0x2636eb[_0x14adb7(0x132)]['browserstackLocal']=!![],_0x2636eb[_0x14adb7(0x132)][_0x14adb7(0x137)][_0x14adb7(0x134)]=_0xf6dbf9[_0x14adb7(0x160)],_0x2636eb[_0x14adb7(0x132)][_0x14adb7(0x137)][_0x14adb7(0x15e)]=_0x1ae1d6['join'](','),helper['setProxySettings'](_0x2636eb['config']),await _0x2636eb[_0x14adb7(0x166)](),logger['info'](_0xf6dbf9[_0x14adb7(0x13c)]);}catch(_0x25296a){logger[_0x14adb7(0x159)](_0xf6dbf9['JlDfw']);throw new Error(_0x25296a[_0x14adb7(0x158)]());}};function run(_0x37c553){const _0x5862dd=a15_0xee2b73,_0x406a46={};_0x406a46[_0x5862dd(0x16d)]=_0x5862dd(0x146),_0x406a46[_0x5862dd(0x142)]=_0x5862dd(0x15c);const _0x128aea=_0x406a46;_0x37c553[_0x5862dd(0x16e)](HELP_MESSAGES['command'][_0x5862dd(0x145)])[_0x5862dd(0x16a)](_0x128aea[_0x5862dd(0x16d)],HELP_MESSAGES['command'][_0x5862dd(0x146)],connectCommandBuilder,connectCommandHandler)[_0x5862dd(0x16b)]()[_0x5862dd(0x15c)](_0x128aea[_0x5862dd(0x142)])[_0x5862dd(0x148)](HELP_MESSAGES['command']['footer']);}module[a15_0xee2b73(0x144)]=run;function a15_0x495c(){const _0x4e45d6=['WBahk','setupBrowserstackLocal','split','integrations-repeater','trim','command','demandCommand','443','VGgPs','usage','winstonLogger','protocol','9101454XcKiHZ','describe','2022cURCIg','replace','undefined','config','22804344IkzycE','localIdentifier','bstack-accesskey','options','browserStackLocalOptions','vZVEe','accessKey','Failed\x20to\x20establish\x20connection.','every','KHFCv','vhEhL','gLniN','bstackAccessKey','yxnxq','invalid','PsKaA','port','exports','root','connect','1514667bIuvhb','epilogue','map','missing','YqVJy','type','Hosts\x20not\x20valid','OIzJd','../../helpers/helper','999670KgNYOA','bstackAccesskey','DwHYX','4663510FPTRhz','hostname','url','1344855aNiQSG','Integration\x20hosts\x20missing.','toString','error','hosts','tWspX','help','demandOption','only','https:','CzkaO','hFymy','integrations','6068RTjEvO','fBQPn'];a15_0x495c=function(){return _0x4e45d6;};return a15_0x495c();}
2
+ 'use strict';const a15_0x36a615=a15_0x4827;(function(_0x378c17,_0x4c2b9e){const _0x37e9c0=a15_0x4827,_0xfd662f=_0x378c17();while(!![]){try{const _0x57e597=-parseInt(_0x37e9c0(0x10d))/0x1+parseInt(_0x37e9c0(0x118))/0x2+parseInt(_0x37e9c0(0x101))/0x3+-parseInt(_0x37e9c0(0x10e))/0x4*(parseInt(_0x37e9c0(0x11c))/0x5)+-parseInt(_0x37e9c0(0x100))/0x6*(-parseInt(_0x37e9c0(0x12d))/0x7)+parseInt(_0x37e9c0(0x104))/0x8+parseInt(_0x37e9c0(0xfe))/0x9*(-parseInt(_0x37e9c0(0x114))/0xa);if(_0x57e597===_0x4c2b9e)break;else _0xfd662f['push'](_0xfd662f['shift']());}catch(_0x3a9a3b){_0xfd662f['push'](_0xfd662f['shift']());}}}(a15_0x2342,0x4f308));const {default:BrowserStackSetup}=require(a15_0x36a615(0xf2)),logger=require('../../helpers/logger')[a15_0x36a615(0x12b)],{URL}=require(a15_0x36a615(0x126)),helper=require(a15_0x36a615(0x117)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a15_0x36a615(0x12e)),validHosts=function(_0x286214){const _0x563c12=a15_0x36a615;return _0x286214[_0x563c12(0xf5)](',')['every'](_0x4ce319=>{const _0x8c3dcb=_0x563c12;try{new URL(_0x4ce319[_0x8c3dcb(0x108)]());}catch(_0xbd42be){return![];}return!![];});},parseOnPremHosts=function(_0x3a0d6c){const _0x42ba13=a15_0x36a615,_0x5cb774={};_0x5cb774[_0x42ba13(0x10b)]=function(_0x145322,_0x442d86){return _0x145322===_0x442d86;},_0x5cb774[_0x42ba13(0x119)]=_0x42ba13(0xf8),_0x5cb774[_0x42ba13(0x111)]='443',_0x5cb774[_0x42ba13(0xf6)]=function(_0x2be00c,_0x26b01e){return _0x2be00c===_0x26b01e;},_0x5cb774[_0x42ba13(0xfc)]=_0x42ba13(0x132);const _0x172926=_0x5cb774;return _0x3a0d6c['split'](',')[_0x42ba13(0x103)](_0x5316f2=>{const _0x56526a=_0x42ba13,_0x1666ae=new URL(_0x5316f2[_0x56526a(0x108)]()),_0x4b6d65=_0x1666ae[_0x56526a(0x12f)],_0x2e3cf5=_0x1666ae[_0x56526a(0x106)]||(_0x172926[_0x56526a(0x10b)](_0x1666ae['protocol'],_0x172926[_0x56526a(0x119)])?_0x172926['fppKw']:'80'),_0x3df98c=_0x1666ae[_0x56526a(0x10a)][_0x56526a(0x12c)](':',''),_0x10fee8=_0x172926['sCiTZ'](_0x3df98c,_0x172926[_0x56526a(0xfc)])?0x1:0x0;return _0x4b6d65+','+_0x2e3cf5+','+_0x10fee8;});},connectCommandBuilder=function(_0x5b469f){const _0x37ee41=a15_0x36a615,_0x479de6={};_0x479de6[_0x37ee41(0x109)]=_0x37ee41(0xf4);const _0x503b1f=_0x479de6,_0x4ac37c={};_0x4ac37c[_0x37ee41(0x10c)]=HELP_MESSAGES[_0x37ee41(0x115)][_0x37ee41(0x11d)],_0x4ac37c[_0x37ee41(0xfa)]=_0x503b1f['KIzZi'];const _0x4b14da={};_0x4b14da['describe']=HELP_MESSAGES['options'][_0x37ee41(0xf9)],_0x4b14da['type']=_0x503b1f[_0x37ee41(0x109)],_0x4b14da[_0x37ee41(0x11f)]=!![];const _0x1e2a5d={};return _0x1e2a5d[_0x37ee41(0x11b)]=_0x4ac37c,_0x1e2a5d['hosts']=_0x4b14da,_0x5b469f[_0x37ee41(0x115)](_0x1e2a5d);},connectCommandHandler=async function(_0x55da3e){const _0x346da5=a15_0x36a615,_0x2dd452={'fjItT':_0x346da5(0x130),'dNykO':function(_0x25ce8b,_0x5a4475){return _0x25ce8b===_0x5a4475;},'DIZmO':_0x346da5(0x138),'KzkkG':_0x346da5(0x107),'BwRpk':function(_0x1cceaa,_0x150c62){return _0x1cceaa===_0x150c62;},'JCwBN':_0x346da5(0x133),'EPEIg':function(_0xf4c53d,_0x48e125){return _0xf4c53d(_0x48e125);},'XoCUX':_0x346da5(0x121),'NBJbl':function(_0x15ebd6,_0x4ec630){return _0x15ebd6(_0x4ec630);},'OECSG':_0x346da5(0x123),'cBCDu':'Connection\x20established\x20successfully.','VSBbK':_0x346da5(0x136)};try{const _0x3319cf=new BrowserStackSetup(_0x55da3e,_0x2dd452['fjItT']);_0x55da3e[_0x346da5(0x129)]&&(_0x3319cf[_0x346da5(0x134)]['accessKey']=_0x55da3e[_0x346da5(0x129)]);if(_0x2dd452[_0x346da5(0x113)](typeof _0x3319cf[_0x346da5(0x134)][_0x346da5(0x137)],_0x2dd452['DIZmO'])){logger['error'](_0x2dd452[_0x346da5(0x122)]);throw new Error(ERROR_MESSAGES[_0x346da5(0x11d)][_0x346da5(0x11a)]);}const _0x267b03=_0x55da3e['hosts'];if(_0x2dd452[_0x346da5(0xfb)](typeof _0x267b03,_0x2dd452['DIZmO'])){logger[_0x346da5(0x128)](_0x2dd452[_0x346da5(0x11e)]);throw new Error(ERROR_MESSAGES[_0x346da5(0xf9)]['missing']);}if(!_0x2dd452['EPEIg'](validHosts,_0x267b03)){logger[_0x346da5(0x128)](_0x2dd452[_0x346da5(0x105)]);throw new Error(ERROR_MESSAGES[_0x346da5(0xf9)][_0x346da5(0xf3)]);}const _0x2b00b9=_0x2dd452[_0x346da5(0x120)](parseOnPremHosts,_0x267b03);_0x3319cf[_0x346da5(0x134)][_0x346da5(0x112)]=!![],_0x3319cf[_0x346da5(0x134)][_0x346da5(0x124)][_0x346da5(0x116)]=_0x2dd452[_0x346da5(0xfd)],_0x3319cf[_0x346da5(0x134)][_0x346da5(0x124)]['only']=_0x2b00b9[_0x346da5(0xf7)](','),helper[_0x346da5(0x135)](_0x3319cf['config']),await _0x3319cf[_0x346da5(0x131)](),logger[_0x346da5(0x110)](_0x2dd452['cBCDu']);}catch(_0x2ed3d3){logger[_0x346da5(0x128)](_0x2dd452[_0x346da5(0x125)]);throw new Error(_0x2ed3d3['toString']());}};function a15_0x4827(_0x3c95bf,_0x5c7490){const _0x2342ea=a15_0x2342();return a15_0x4827=function(_0x4827f7,_0xab842c){_0x4827f7=_0x4827f7-0xf2;let _0x2b2d4a=_0x2342ea[_0x4827f7];return _0x2b2d4a;},a15_0x4827(_0x3c95bf,_0x5c7490);}function run(_0x193c9b){const _0x5b274b=a15_0x36a615,_0x1867fd={};_0x1867fd['abzei']=_0x5b274b(0x12a),_0x1867fd[_0x5b274b(0x10f)]='help';const _0x9cc798=_0x1867fd;_0x193c9b['usage'](HELP_MESSAGES['command'][_0x5b274b(0x127)])[_0x5b274b(0x139)](_0x9cc798['abzei'],HELP_MESSAGES[_0x5b274b(0x139)]['connect'],connectCommandBuilder,connectCommandHandler)['demandCommand']()['help'](_0x9cc798[_0x5b274b(0x10f)])['epilogue'](HELP_MESSAGES[_0x5b274b(0x139)][_0x5b274b(0xff)]);}module[a15_0x36a615(0x102)]=run;function a15_0x2342(){const _0x19cc1a=['port','BrowserStack\x20access\x20key\x20missing.','trim','KIzZi','protocol','tLPUd','describe','34500ngremw','4SNJMsf','ezBdv','info','fppKw','browserstackLocal','dNykO','10BbKzUY','options','localIdentifier','../../helpers/helper','744326mALNcu','eOHhS','missing','bstack-accesskey','1508470sHZmwb','bstackAccessKey','JCwBN','demandOption','NBJbl','Hosts\x20not\x20valid','KzkkG','integrations-repeater','browserStackLocalOptions','VSBbK','url','root','error','bstackAccesskey','connect','winstonLogger','replace','40201LojPKI','./constants','hostname','integrations','setupBrowserstackLocal','https','Integration\x20hosts\x20missing.','config','setProxySettings','Failed\x20to\x20establish\x20connection.','accessKey','undefined','command','../../helpers/BrowserStackSetup','invalid','string','split','sCiTZ','join','https:','hosts','type','BwRpk','LUaGb','OECSG','11724678KgoujF','footer','474vJwYhj','1607499ZCxdDn','exports','map','4812824ODySIM','XoCUX'];a15_0x2342=function(){return _0x19cc1a;};return a15_0x2342();}
@@ -1 +1 @@
1
- var a16_0x36e800=a16_0x3e36;(function(_0x565af4,_0x18509e){var _0x6145b5=a16_0x3e36,_0x29f254=_0x565af4();while(!![]){try{var _0x50b54a=parseInt(_0x6145b5(0x1b8))/0x1+parseInt(_0x6145b5(0x1bf))/0x2*(-parseInt(_0x6145b5(0x1a8))/0x3)+-parseInt(_0x6145b5(0x1b0))/0x4*(parseInt(_0x6145b5(0x1b9))/0x5)+-parseInt(_0x6145b5(0x1ab))/0x6+parseInt(_0x6145b5(0x1be))/0x7*(parseInt(_0x6145b5(0x1c1))/0x8)+parseInt(_0x6145b5(0x1ae))/0x9+-parseInt(_0x6145b5(0x1bd))/0xa;if(_0x50b54a===_0x18509e)break;else _0x29f254['push'](_0x29f254['shift']());}catch(_0x1747d5){_0x29f254['push'](_0x29f254['shift']());}}}(a16_0x49be,0xa68fd));var a16_0x10bc28={};function a16_0x3e36(_0x2058c8,_0x253432){var _0x49be9a=a16_0x49be();return a16_0x3e36=function(_0x3e3653,_0xd6657e){_0x3e3653=_0x3e3653-0x1a8;var _0x37b05d=_0x49be9a[_0x3e3653];return _0x37b05d;},a16_0x3e36(_0x2058c8,_0x253432);}a16_0x10bc28['bstackAccessKey']=a16_0x36e800(0x1b2),a16_0x10bc28[a16_0x36e800(0x1bb)]=a16_0x36e800(0x1b4);var a16_0x21e550={};a16_0x21e550[a16_0x36e800(0x1b6)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a16_0x21e550[a16_0x36e800(0x1b5)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a16_0x21e550[a16_0x36e800(0x1bc)]=a16_0x36e800(0x1ad);var a16_0x501cf3={};a16_0x501cf3[a16_0x36e800(0x1af)]=a16_0x10bc28,a16_0x501cf3[a16_0x36e800(0x1b3)]=a16_0x21e550,exports[a16_0x36e800(0x1ba)]=a16_0x501cf3;var a16_0x4ca634={};function a16_0x49be(){var _0x2520d4=['119268cmLjOi','invalid','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','command','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.','connect','root','bstackAccessKey','1223209mbfMGp','125sCDgkN','HELP_MESSAGES','hosts','footer','6870630dUehrx','31199bwInpd','4DiQJLy','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','2248lVIFBd','151467kmsuXk','missing','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','2764020EUZUmx','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.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','1806723AECZHT','options'];a16_0x49be=function(){return _0x2520d4;};return a16_0x49be();}a16_0x4ca634[a16_0x36e800(0x1a9)]=a16_0x36e800(0x1aa);var a16_0xcd5502={};a16_0xcd5502[a16_0x36e800(0x1a9)]=a16_0x36e800(0x1c0),a16_0xcd5502[a16_0x36e800(0x1b1)]=a16_0x36e800(0x1ac);var a16_0x238776={};a16_0x238776[a16_0x36e800(0x1b7)]=a16_0x4ca634,a16_0x238776[a16_0x36e800(0x1bb)]=a16_0xcd5502,exports['ERROR_MESSAGES']=a16_0x238776;
1
+ function a16_0x25be(_0x15dd22,_0x36794b){var _0x4c3e3e=a16_0x4c3e();return a16_0x25be=function(_0x25becd,_0x27d703){_0x25becd=_0x25becd-0x146;var _0x4cec45=_0x4c3e3e[_0x25becd];return _0x4cec45;},a16_0x25be(_0x15dd22,_0x36794b);}var a16_0x1e4da1=a16_0x25be;function a16_0x4c3e(){var _0x4e8516=['1537500ayulGf','root','3465264HWZSSM','missing','820447EyDObJ','4276170exahoL','invalid','bstackAccessKey','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','6759168GdfeXH','1763200OAZBsw','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','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.','27902rASoQM','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','options','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','connect','1808BdqwgF','HELP_MESSAGES','hosts','ERROR_MESSAGES'];a16_0x4c3e=function(){return _0x4e8516;};return a16_0x4c3e();}(function(_0x10e507,_0x4e6a95){var _0x16d989=a16_0x25be,_0x172d66=_0x10e507();while(!![]){try{var _0x19934c=parseInt(_0x16d989(0x15b))/0x1+parseInt(_0x16d989(0x14a))/0x2+-parseInt(_0x16d989(0x159))/0x3+-parseInt(_0x16d989(0x149))/0x4+parseInt(_0x16d989(0x15c))/0x5+parseInt(_0x16d989(0x157))/0x6+-parseInt(_0x16d989(0x14d))/0x7*(-parseInt(_0x16d989(0x153))/0x8);if(_0x19934c===_0x4e6a95)break;else _0x172d66['push'](_0x172d66['shift']());}catch(_0x5d8fc3){_0x172d66['push'](_0x172d66['shift']());}}}(a16_0x4c3e,0xd446f));var a16_0x110514={};a16_0x110514[a16_0x1e4da1(0x147)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a16_0x110514[a16_0x1e4da1(0x155)]=a16_0x1e4da1(0x14c);var a16_0x419715={};a16_0x419715[a16_0x1e4da1(0x158)]=a16_0x1e4da1(0x14b),a16_0x419715[a16_0x1e4da1(0x152)]=a16_0x1e4da1(0x148),a16_0x419715['footer']=a16_0x1e4da1(0x14e);var a16_0x4e729e={};a16_0x4e729e[a16_0x1e4da1(0x150)]=a16_0x110514,a16_0x4e729e['command']=a16_0x419715,exports[a16_0x1e4da1(0x154)]=a16_0x4e729e;var a16_0xba3c7f={};a16_0xba3c7f[a16_0x1e4da1(0x15a)]=a16_0x1e4da1(0x151);var a16_0x891aae={};a16_0x891aae['missing']=a16_0x1e4da1(0x14f),a16_0x891aae[a16_0x1e4da1(0x146)]='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_0x6ad043={};a16_0x6ad043[a16_0x1e4da1(0x147)]=a16_0xba3c7f,a16_0x6ad043['hosts']=a16_0x891aae,exports[a16_0x1e4da1(0x156)]=a16_0x6ad043;
@@ -1 +1 @@
1
- 'use strict';const a17_0x4d7f94=a17_0x2a86;(function(_0x2216c4,_0x35411c){const _0x3a83fe=a17_0x2a86,_0xd2764b=_0x2216c4();while(!![]){try{const _0x2783e0=parseInt(_0x3a83fe(0x21e))/0x1*(-parseInt(_0x3a83fe(0x1bf))/0x2)+-parseInt(_0x3a83fe(0x1e5))/0x3*(parseInt(_0x3a83fe(0x1d9))/0x4)+parseInt(_0x3a83fe(0x19e))/0x5+-parseInt(_0x3a83fe(0x1b6))/0x6+-parseInt(_0x3a83fe(0x1d3))/0x7*(-parseInt(_0x3a83fe(0x1e4))/0x8)+parseInt(_0x3a83fe(0x1b8))/0x9+-parseInt(_0x3a83fe(0x1ca))/0xa*(-parseInt(_0x3a83fe(0x1f0))/0xb);if(_0x2783e0===_0x35411c)break;else _0xd2764b['push'](_0xd2764b['shift']());}catch(_0x39f396){_0xd2764b['push'](_0xd2764b['shift']());}}}(a17_0x559b,0x5c6f5));function a17_0x2a86(_0x2c19d2,_0x2e99d5){const _0x559bd4=a17_0x559b();return a17_0x2a86=function(_0x2a86b4,_0x5e1f6b){_0x2a86b4=_0x2a86b4-0x19e;let _0x36aa7d=_0x559bd4[_0x2a86b4];return _0x36aa7d;},a17_0x2a86(_0x2c19d2,_0x2e99d5);}function a17_0x559b(){const _0x1b6d8e=['_collapseFailedExpectations','reverse','matcherName','err','nucEY','HBCsb','cwd','failed','DojoR','iGHnh','uploadEventData','MRFVA','excluded','setCurrentTestData','description','skipped','Mywlf','File\x20path\x20could\x20not\x20be\x20found','UMWqY','get','_fileNameByFullName','135395PuqIpE','prefixTestPath','pending','statSync','specDone','JASMINE','LgMNj','oUVmL','remove','1610700ozPLyg','push','passed','expected','testObservability','length','expanded','XGWrg','sSOti','_findGitConfig','../../../helpers/test-observability/utils','startsWith','add','delete','_suitesById','../../../helpers/testhub/utils','message','xcfre','yWRRX','endsWith','TestRunSkipped','_sendSpecEvent','TuXGJ','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','2472096sDXpaq','ReIYE','383121jPKSEe','jasmineDone','BYFLO','bTzpi','shouldProcessEventForTesthub','duration','aWecK','4BntTtm','LxKiG','zWiwY','split','finished_at','Exception\x20in\x20jasmine\x20specDone\x20for\x20','failedExpectations','qFDtC','gWmWI','UnhandledError','status','1309580HGrgIi','vbbfw','code','\x20:\x20','set','jasmineStarted','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','cckTX','sep','115241jLRuFg','yClJL','config','frxDF','actual','uQKKe','427972QNTwZn','khddD','_resolveFilePath','PMFCI','join','kKwzh','failure_backtrace','Uryle','lang','isArray','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','136SRlQSM','3mWwolh','_paths','dirname','feVkq','parentSuiteId','stack','GVaUt','failure_reason_expanded','failure','../../../helpers/test-observability/constants','NZTuX','44uKCLgG','cYALb','tTySD','MfLmZ','eybmE','../../../helpers/test-observability/sessionHandler','fullName','filename','../testRunMap','.git','Spec\x20failed','lXgjW','jevnl','trim','_scopes','DnnuG','TestRunFinished','specStarted','ofPjl','fileNameByFullName','AssertionError','toISOString','suiteStarted','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','has'];a17_0x559b=function(){return _0x1b6d8e;};return a17_0x559b();}const path=require('path'),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a17_0x4d7f94(0x1ad)),{FRAMEWORKS}=require(a17_0x4d7f94(0x1ee)),SessionHandler=require(a17_0x4d7f94(0x1f5)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x4d7f94(0x1a8)),testRunMap=require(a17_0x4d7f94(0x1f8)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a17_0x2dbac9={};a17_0x2dbac9[a17_0x4d7f94(0x1a0)]=a17_0x4d7f94(0x1a0),a17_0x2dbac9['failed']=a17_0x4d7f94(0x210),a17_0x2dbac9[a17_0x4d7f94(0x220)]=a17_0x4d7f94(0x220),a17_0x2dbac9[a17_0x4d7f94(0x215)]='skipped';const STATUS_MAP=a17_0x2dbac9;class BrowserStackJasmineReporter{constructor(_0x49e62e={}){const _0x167ec1=a17_0x4d7f94,_0x241028={'JApTK':function(_0x4409a7){return _0x4409a7();}};this[_0x167ec1(0x1a2)]=_0x241028['JApTK'](isTestObservabilitySession),this[_0x167ec1(0x1e6)]=new PathHelper({'cwd':process[_0x167ec1(0x20f)]()},undefined),this['_fileNameByFullName']=_0x49e62e&&_0x49e62e[_0x167ec1(0x203)]||{},this[_0x167ec1(0x1ac)]=new Map();}[a17_0x4d7f94(0x1cf)](){}[a17_0x4d7f94(0x206)](_0xeb4823){const _0x56a832=a17_0x4d7f94,_0x48a182={'GVaUt':function(_0x3d3a5f,_0x5af007){return _0x3d3a5f!==_0x5af007;},'lXgjW':function(_0x3d2f0e,_0x2f4477){return _0x3d2f0e(_0x2f4477);}};try{_0xeb4823&&_0x48a182[_0x56a832(0x1eb)](_0xeb4823['id'],undefined)&&_0x48a182[_0x56a832(0x1eb)](_0xeb4823['id'],null)&&this['_suitesById']['set'](_0xeb4823['id'],{'description':_0xeb4823[_0x56a832(0x217)],'parentSuiteId':_0xeb4823[_0x56a832(0x1e9)]});}catch(_0x3343e4){_0x48a182[_0x56a832(0x1fb)](debug,_0x56a832(0x1d0)+(_0xeb4823&&_0xeb4823[_0x56a832(0x1f6)])+_0x56a832(0x1cd)+_0x3343e4);}}[a17_0x4d7f94(0x201)](_0x3322ff){const _0x598a4a=a17_0x4d7f94,_0x28315f={'cVxxn':function(_0x17e029,_0xee6892){return _0x17e029!==_0xee6892;},'sSOti':function(_0x3ed328){return _0x3ed328();},'yASRj':'TestRunStarted','yWRRX':function(_0x2029fc,_0x649bca){return _0x2029fc(_0x649bca);}};try{if(_0x28315f['cVxxn'](testhubUtils[_0x598a4a(0x1bc)](),!![]))return;const _0x121544=_0x28315f[_0x598a4a(0x1a6)](uuidv4);testRunMap['set'](_0x3322ff['id'],_0x121544),this[_0x598a4a(0x1b3)](_0x3322ff,_0x121544,_0x28315f['yASRj']);}catch(_0x344959){_0x28315f[_0x598a4a(0x1b0)](debug,_0x598a4a(0x1e3)+(_0x3322ff&&_0x3322ff[_0x598a4a(0x1f6)])+_0x598a4a(0x1cd)+_0x344959);}}[a17_0x4d7f94(0x222)](_0x5634ee){const _0x59c8ac=a17_0x4d7f94,_0x316faf={'DnnuG':function(_0x408140,_0x12d8cf){return _0x408140!==_0x12d8cf;},'MfLmZ':function(_0x5f3923){return _0x5f3923();},'NZTuX':function(_0x402baf,_0x49d3fd){return _0x402baf===_0x49d3fd;},'Uryle':_0x59c8ac(0x215),'VnHFY':_0x59c8ac(0x1b2),'ofPjl':_0x59c8ac(0x200),'oUVmL':function(_0x291cf8,_0x3e4b2c){return _0x291cf8(_0x3e4b2c);}};try{if(_0x316faf[_0x59c8ac(0x1ff)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x2c327e=testRunMap[_0x59c8ac(0x21c)](_0x5634ee['id'])||_0x316faf[_0x59c8ac(0x1f3)](uuidv4),_0x293cc8=_0x316faf[_0x59c8ac(0x1ef)](_0x5634ee['status'],_0x316faf[_0x59c8ac(0x1e0)])?_0x316faf['VnHFY']:_0x316faf[_0x59c8ac(0x202)];this[_0x59c8ac(0x1b3)](_0x5634ee,_0x2c327e,_0x293cc8);}catch(_0x2e66c8){_0x316faf[_0x59c8ac(0x225)](debug,_0x59c8ac(0x1c4)+(_0x5634ee&&_0x5634ee[_0x59c8ac(0x1f6)])+_0x59c8ac(0x1cd)+_0x2e66c8);}finally{_0x5634ee&&(testRunMap[_0x59c8ac(0x226)](_0x5634ee['id']),_specStartTimes[_0x59c8ac(0x1ab)](_0x5634ee['id']));}}['suiteDone'](){}[a17_0x4d7f94(0x1b9)](){}[a17_0x4d7f94(0x1b3)](_0x39d1bf,_0x37b50b,_0x376d1f){const _0x277150=a17_0x4d7f94,_0x21c360={'kKwzh':function(_0x127745,_0x135442){return _0x127745===_0x135442;},'LgMNj':_0x277150(0x200),'jevnl':function(_0x2118ad,_0x23b722){return _0x2118ad===_0x23b722;},'UMWqY':_0x277150(0x1b2),'tNsFq':_0x277150(0x21a),'RqWbP':function(_0x5cf6ea,_0x14f46d,_0xb5b446){return _0x5cf6ea(_0x14f46d,_0xb5b446);},'ReIYE':_0x277150(0x20c),'vbbfw':'TestRunStarted','JXgtv':function(_0x4d063b,_0x2e847f){return _0x4d063b!==_0x2e847f;},'qFDtC':function(_0x586e43,_0x588e40){return _0x586e43!==_0x588e40;},'frxDF':function(_0x59ecb0,_0x3be4dc){return _0x59ecb0===_0x3be4dc;},'cYALb':'javascript','aEkIH':function(_0x96335b,_0x457d62){return _0x96335b&&_0x457d62;},'yClJL':_0x277150(0x218),'oGsPb':_0x277150(0x1a0),'PMFCI':'number','HBCsb':_0x277150(0x204),'BzFEx':_0x277150(0x1c8),'tTySD':function(_0x463ca5,_0x24a14d){return _0x463ca5===_0x24a14d;},'Mywlf':'started_at','xcfre':_0x277150(0x1c3),'gWmWI':_0x277150(0x1ed),'suVuo':_0x277150(0x1df),'khddD':'backtrace','bTzpi':_0x277150(0x1ec),'XGWrg':_0x277150(0x1a4),'FSfOD':function(_0x491eea,_0x3e0a82){return _0x491eea(_0x3e0a82);}};try{const _0x3a9369=_0x21c360[_0x277150(0x1de)](_0x376d1f,_0x21c360[_0x277150(0x224)])||_0x21c360[_0x277150(0x1fc)](_0x376d1f,_0x21c360[_0x277150(0x21b)]),_0xfc7d09=this['_resolveFilePath'](_0x39d1bf),_0x3cc3fd=_0xfc7d09?this[_0x277150(0x1e6)][_0x277150(0x21f)](_0xfc7d09):_0x21c360['tNsFq'],_0x1b5d92=_0xfc7d09?this[_0x277150(0x1a7)](path[_0x277150(0x1e7)](_0xfc7d09)):null,_0x3bdaf3=this[_0x277150(0x209)](_0x39d1bf[_0x277150(0x1c5)]),_0x239a02=_0x3bdaf3?_0x3bdaf3[_0x277150(0x1ae)]:undefined,_0x3e2bfa=_0x3bdaf3?_0x21c360['RqWbP'](failureData,_0x3bdaf3,_0x21c360[_0x277150(0x1b7)]):[],_0x590e10=new Date()[_0x277150(0x205)](),_0x4e1d25=this[_0x277150(0x1fe)](_0x39d1bf);_0x21c360[_0x277150(0x1fc)](_0x376d1f,_0x21c360[_0x277150(0x1cb)])&&_0x39d1bf&&_0x21c360['JXgtv'](_0x39d1bf['id'],undefined)&&_0x21c360[_0x277150(0x1c6)](_0x39d1bf['id'],null)&&_specStartTimes[_0x277150(0x1ce)](_0x39d1bf['id'],_0x590e10);const _0x1eeb26=_0x21c360[_0x277150(0x1d6)](_0x376d1f,_0x21c360[_0x277150(0x1cb)])?_0x590e10:_0x39d1bf&&_specStartTimes[_0x277150(0x21c)](_0x39d1bf['id'])||null,_0x1b7446={};_0x1b7446[_0x277150(0x1e1)]=_0x21c360[_0x277150(0x1f1)],_0x1b7446[_0x277150(0x1cc)]=null;const _0x3093be={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x37b50b,'name':_0x39d1bf[_0x277150(0x217)],'body':_0x1b7446,'scope':_0x4e1d25[_0x277150(0x1dd)]('\x20'),'scopes':_0x4e1d25,'identifier':_0x39d1bf[_0x277150(0x1f6)],'file_name':_0x3cc3fd,'vc_filepath':_0x21c360['aEkIH'](_0x1b5d92,_0xfc7d09)?path['relative'](_0x1b5d92,_0xfc7d09):null,'location':_0x3cc3fd,'result':_0x21c360[_0x277150(0x1d6)](_0x376d1f,_0x21c360[_0x277150(0x21b)])?_0x21c360[_0x277150(0x1d4)]:STATUS_MAP[_0x39d1bf[_0x277150(0x1c9)]]||_0x21c360['oGsPb'],'failure_reason':_0x239a02,'duration_in_ms':_0x21c360[_0x277150(0x1fc)](typeof _0x39d1bf[_0x277150(0x1bd)],_0x21c360[_0x277150(0x1dc)])?_0x39d1bf[_0x277150(0x1bd)]:null,'started_at':_0x1eeb26,'finished_at':_0x3a9369?_0x590e10:null,'failure':_0x3e2bfa,'failure_type':!_0x239a02?null:_0x239a02['match'](/AssertionError/)?_0x21c360[_0x277150(0x20e)]:_0x21c360['BzFEx'],'retry_of':null};_0x21c360[_0x277150(0x1f2)](_0x376d1f,_0x21c360[_0x277150(0x21b)])&&!_0x3093be[_0x21c360[_0x277150(0x219)]]&&(_0x3093be[_0x21c360['Mywlf']]=_0x3093be[_0x21c360[_0x277150(0x1af)]]);const _0x4972cc=_0x3093be[_0x21c360[_0x277150(0x1c7)]][0x0];_0x4972cc&&(_0x3093be[_0x21c360['suVuo']]=_0x4972cc[_0x21c360[_0x277150(0x1da)]],_0x3093be[_0x21c360[_0x277150(0x1bb)]]=_0x4972cc[_0x21c360[_0x277150(0x1a5)]]);testhubUtils['appendTesthubParams'](_0x3093be,_0x376d1f,_0x39d1bf,FRAMEWORKS[_0x277150(0x223)]);const _0x357dba={'event_type':_0x21c360[_0x277150(0x1de)](_0x376d1f,_0x21c360[_0x277150(0x21b)])?_0x21c360[_0x277150(0x224)]:_0x376d1f,'test_run':_0x3093be};return testhubUtils[_0x277150(0x216)](FRAMEWORKS[_0x277150(0x223)],_0x357dba),SessionHandler[_0x277150(0x213)](_0x357dba);}catch(_0x30b3b3){_0x21c360['FSfOD'](debug,_0x277150(0x207)+_0x376d1f+_0x277150(0x1cd)+_0x30b3b3);}}[a17_0x4d7f94(0x1fe)](_0x58bb70){const _0x959a02=a17_0x4d7f94,_0x43ff95={'iGHnh':function(_0x1966cd,_0x1d3620){return _0x1966cd!==_0x1d3620;},'TuXGJ':function(_0x519569,_0x3ee62d){return _0x519569>_0x3ee62d;},'cckTX':function(_0x567a53,_0x3d04e6){return _0x567a53(_0x3d04e6);},'nucEY':function(_0x2311ef,_0x328bf8){return _0x2311ef-_0x328bf8;}};try{const _0x53e0f4=[];let _0x331f30=_0x58bb70&&_0x58bb70[_0x959a02(0x1e9)];const _0x545153=new Set();while(_0x43ff95[_0x959a02(0x212)](_0x331f30,undefined)&&_0x43ff95[_0x959a02(0x212)](_0x331f30,null)&&this['_suitesById'][_0x959a02(0x208)](_0x331f30)&&!_0x545153[_0x959a02(0x208)](_0x331f30)){_0x545153[_0x959a02(0x1aa)](_0x331f30);const _0x46c035=this[_0x959a02(0x1ac)][_0x959a02(0x21c)](_0x331f30);_0x46c035&&_0x46c035[_0x959a02(0x217)]&&_0x53e0f4['push'](_0x46c035[_0x959a02(0x217)]),_0x331f30=_0x46c035?_0x46c035[_0x959a02(0x1e9)]:null;}if(_0x43ff95[_0x959a02(0x1b4)](_0x53e0f4[_0x959a02(0x1a3)],0x0))return _0x53e0f4[_0x959a02(0x20a)]();}catch(_0x1b14ab){_0x43ff95[_0x959a02(0x1d1)](debug,_0x959a02(0x1b5)+(_0x58bb70&&_0x58bb70[_0x959a02(0x1f6)])+_0x959a02(0x1cd)+_0x1b14ab);}const _0x41bad9=_0x58bb70&&_0x58bb70[_0x959a02(0x1f6)]||'',_0xa79092=_0x58bb70&&_0x58bb70[_0x959a02(0x217)]||'';let _0x187909=_0x41bad9;return _0xa79092&&_0x41bad9[_0x959a02(0x1b1)](_0xa79092)&&(_0x187909=_0x41bad9['slice'](0x0,_0x43ff95[_0x959a02(0x20d)](_0x41bad9[_0x959a02(0x1a3)],_0xa79092[_0x959a02(0x1a3)]))[_0x959a02(0x1fd)]()),_0x187909?_0x187909[_0x959a02(0x1c2)](/\s+/):[];}[a17_0x4d7f94(0x1db)](_0x1705c5){const _0xa1137f=a17_0x4d7f94,_0x71b77b={};_0x71b77b[_0xa1137f(0x1e8)]=function(_0x525dcd,_0x3775f5){return _0x525dcd===_0x3775f5;},_0x71b77b['aWecK']=function(_0x78b075,_0x21f15d){return _0x78b075+_0x21f15d;},_0x71b77b[_0xa1137f(0x214)]=function(_0x453d70,_0x51f3db){return _0x453d70>_0x51f3db;};const _0x3ac22e=_0x71b77b;if(_0x1705c5&&_0x1705c5[_0xa1137f(0x1f7)])return _0x1705c5[_0xa1137f(0x1f7)];if(_0x1705c5&&_0x1705c5[_0xa1137f(0x1f6)]){if(this[_0xa1137f(0x21d)][_0x1705c5['fullName']])return this['_fileNameByFullName'][_0x1705c5['fullName']];let _0x162d7e=null,_0x567038=-0x1;for(const _0x4e3866 of Object['keys'](this[_0xa1137f(0x21d)])){(_0x3ac22e[_0xa1137f(0x1e8)](_0x1705c5['fullName'],_0x4e3866)||_0x1705c5[_0xa1137f(0x1f6)][_0xa1137f(0x1a9)](_0x3ac22e[_0xa1137f(0x1be)](_0x4e3866,'\x20')))&&_0x3ac22e[_0xa1137f(0x214)](_0x4e3866[_0xa1137f(0x1a3)],_0x567038)&&(_0x162d7e=this[_0xa1137f(0x21d)][_0x4e3866],_0x567038=_0x4e3866['length']);}if(_0x162d7e)return _0x162d7e;}return null;}[a17_0x4d7f94(0x209)](_0x261554){const _0x4940a3=a17_0x4d7f94,_0x579d1b={};_0x579d1b[_0x4940a3(0x211)]=function(_0x14a4b2,_0x2f1b74){return _0x14a4b2===_0x2f1b74;},_0x579d1b['BYFLO']=_0x4940a3(0x1fa);const _0x201f18=_0x579d1b;if(!Array[_0x4940a3(0x1e2)](_0x261554)||_0x201f18[_0x4940a3(0x211)](_0x261554['length'],0x0))return undefined;const _0x5a352a=[],_0xecf224=[];for(const _0x101e3a of _0x261554){_0x101e3a&&_0x101e3a[_0x4940a3(0x1ae)]&&_0x5a352a[_0x4940a3(0x19f)](_0x101e3a['message']),_0x101e3a&&_0x101e3a[_0x4940a3(0x1ea)]&&_0xecf224[_0x4940a3(0x19f)](_0x101e3a['stack']);}const _0x22f3d4=_0x261554[0x0]||{},_0x21878d=_0x5a352a[_0x4940a3(0x1dd)]('\x0a')||_0x22f3d4[_0x4940a3(0x1ae)]||_0x201f18[_0x4940a3(0x1ba)],_0xa206e2=_0xecf224[_0x4940a3(0x1dd)]('\x0a\x0a')||_0x22f3d4['stack']||_0x21878d,_0x13e298={};return _0x13e298['message']=_0x21878d,_0x13e298[_0x4940a3(0x1ea)]=_0xa206e2,_0x13e298[_0x4940a3(0x20b)]=_0x22f3d4[_0x4940a3(0x20b)],_0x13e298[_0x4940a3(0x1a1)]=_0x22f3d4[_0x4940a3(0x1a1)],_0x13e298[_0x4940a3(0x1d7)]=_0x22f3d4['actual'],_0x13e298;}['_findGitConfig'](_0x3e5548){const _0xa37572=a17_0x4d7f94,_0x539a09={};_0x539a09['LxKiG']=function(_0x2f6a06,_0x488ff9){return _0x2f6a06===_0x488ff9;},_0x539a09[_0xa37572(0x1d8)]=function(_0x23ac28,_0x1c3d39){return _0x23ac28===_0x1c3d39;},_0x539a09[_0xa37572(0x1f4)]=function(_0x14237d,_0x2b38dc){return _0x14237d===_0x2b38dc;},_0x539a09['zWiwY']=_0xa37572(0x1f9),_0x539a09['rKcLG']=_0xa37572(0x1d5);const _0x5ddddf=_0x539a09,_0x33709d=path[_0xa37572(0x1d2)];if(_0x5ddddf[_0xa37572(0x1c0)](_0x3e5548,null)||_0x5ddddf['LxKiG'](_0x3e5548,'')||_0x5ddddf['uQKKe'](_0x3e5548,_0x33709d)||_0x5ddddf['eybmE'](_0x3e5548,path[_0xa37572(0x1e7)](_0x3e5548)))return null;try{return fs[_0xa37572(0x221)](path[_0xa37572(0x1dd)](_0x3e5548,_0x5ddddf[_0xa37572(0x1c1)],_0x5ddddf['rKcLG'])),_0x3e5548;}catch(_0x26c762){return this['_findGitConfig'](path[_0xa37572(0x1e7)](_0x3e5548));}}}module['exports']=BrowserStackJasmineReporter;
1
+ 'use strict';const a17_0xa15e1f=a17_0x5d07;(function(_0x3a1542,_0x338792){const _0x1dfa96=a17_0x5d07,_0x1da1e8=_0x3a1542();while(!![]){try{const _0x10c8ba=-parseInt(_0x1dfa96(0x21f))/0x1*(-parseInt(_0x1dfa96(0x205))/0x2)+-parseInt(_0x1dfa96(0x201))/0x3+parseInt(_0x1dfa96(0x214))/0x4+-parseInt(_0x1dfa96(0x23a))/0x5*(parseInt(_0x1dfa96(0x25f))/0x6)+parseInt(_0x1dfa96(0x234))/0x7*(-parseInt(_0x1dfa96(0x21e))/0x8)+parseInt(_0x1dfa96(0x248))/0x9+-parseInt(_0x1dfa96(0x244))/0xa*(-parseInt(_0x1dfa96(0x1f6))/0xb);if(_0x10c8ba===_0x338792)break;else _0x1da1e8['push'](_0x1da1e8['shift']());}catch(_0x1e423a){_0x1da1e8['push'](_0x1da1e8['shift']());}}}(a17_0x2265,0xc03c8));const path=require(a17_0xa15e1f(0x1e8)),fs=require('fs'),{v4:uuidv4}=require(a17_0xa15e1f(0x1e9)),testhubUtils=require('../../../helpers/testhub/utils'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a17_0xa15e1f(0x26b)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0xa15e1f(0x267)),testRunMap=require('../testRunMap'),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0xa15e1f(0x215),a17_0xc32845={};a17_0xc32845[a17_0xa15e1f(0x253)]=a17_0xa15e1f(0x253),a17_0xc32845[a17_0xa15e1f(0x202)]=a17_0xa15e1f(0x202),a17_0xc32845[a17_0xa15e1f(0x257)]=a17_0xa15e1f(0x257),a17_0xc32845[a17_0xa15e1f(0x251)]=a17_0xa15e1f(0x238);const STATUS_MAP=a17_0xc32845;function a17_0x5d07(_0x5d9b18,_0x119ab){const _0x2265e1=a17_0x2265();return a17_0x5d07=function(_0x5d0710,_0x5a42e8){_0x5d0710=_0x5d0710-0x1e3;let _0xcbbd70=_0x2265e1[_0x5d0710];return _0xcbbd70;},a17_0x5d07(_0x5d9b18,_0x119ab);}class BrowserStackJasmineReporter{constructor(_0x116737={}){const _0x139272=a17_0xa15e1f,_0x12873b={'HUyWn':function(_0x1a1207){return _0x1a1207();}};this['testObservability']=_0x12873b[_0x139272(0x263)](isTestObservabilitySession),this[_0x139272(0x24e)]=new PathHelper({'cwd':process[_0x139272(0x1f3)]()},undefined),this['_fileNameByFullName']=_0x116737&&_0x116737[_0x139272(0x1fb)]||{},this[_0x139272(0x225)]=new Map();}[a17_0xa15e1f(0x23b)](){}['suiteStarted'](_0x834a0f){const _0x3566dd=a17_0xa15e1f,_0x369ecd={'MfDjj':function(_0x3915b6,_0xe1badf){return _0x3915b6!==_0xe1badf;},'EEoVS':function(_0x2701e4,_0x2aa1f0){return _0x2701e4(_0x2aa1f0);}};try{_0x834a0f&&_0x369ecd[_0x3566dd(0x26c)](_0x834a0f['id'],undefined)&&_0x369ecd['MfDjj'](_0x834a0f['id'],null)&&this[_0x3566dd(0x225)]['set'](_0x834a0f['id'],{'description':_0x834a0f['description'],'parentSuiteId':_0x834a0f[_0x3566dd(0x206)]});}catch(_0x2a2c16){_0x369ecd[_0x3566dd(0x271)](debug,_0x3566dd(0x255)+(_0x834a0f&&_0x834a0f[_0x3566dd(0x1ef)])+_0x3566dd(0x25a)+_0x2a2c16);}}[a17_0xa15e1f(0x212)](_0x587a23){const _0x54c530=a17_0xa15e1f,_0x168103={'kXwuk':function(_0x15d891,_0x4f0d52){return _0x15d891!==_0x4f0d52;},'PBfPY':function(_0x2e59f7){return _0x2e59f7();},'fsYlX':_0x54c530(0x22b),'kSMpf':function(_0x48a702,_0x3d5d23){return _0x48a702(_0x3d5d23);}};try{if(_0x168103[_0x54c530(0x23f)](testhubUtils[_0x54c530(0x21c)](),!![]))return;const _0x46cb34=_0x168103[_0x54c530(0x216)](uuidv4);testRunMap[_0x54c530(0x21a)](_0x587a23['id'],_0x46cb34),this[_0x54c530(0x258)](_0x587a23,_0x46cb34,_0x168103[_0x54c530(0x1ee)]);}catch(_0x103512){_0x168103[_0x54c530(0x1f4)](debug,_0x54c530(0x250)+(_0x587a23&&_0x587a23[_0x54c530(0x1ef)])+_0x54c530(0x25a)+_0x103512);}}['specDone'](_0x44f80d){const _0x5e62dd=a17_0xa15e1f,_0x33a66b={'ibFgW':function(_0x12f715,_0x259b02){return _0x12f715!==_0x259b02;},'qzJwp':function(_0x1f5adf){return _0x1f5adf();},'GMYjr':function(_0x595218,_0x2bee43){return _0x595218===_0x2bee43;},'fdyfE':_0x5e62dd(0x251),'swgWk':_0x5e62dd(0x242),'oFFZz':_0x5e62dd(0x24f),'MyXVk':function(_0x3b7306,_0x22d93b){return _0x3b7306(_0x22d93b);}};try{if(_0x33a66b[_0x5e62dd(0x262)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x29ba60=testRunMap[_0x5e62dd(0x1f8)](_0x44f80d['id'])||_0x33a66b['qzJwp'](uuidv4),_0x53130c=_0x33a66b[_0x5e62dd(0x228)](_0x44f80d[_0x5e62dd(0x200)],_0x33a66b[_0x5e62dd(0x209)])?_0x33a66b[_0x5e62dd(0x243)]:_0x33a66b[_0x5e62dd(0x26a)];this['_sendSpecEvent'](_0x44f80d,_0x29ba60,_0x53130c);}catch(_0x5cf20e){_0x33a66b[_0x5e62dd(0x261)](debug,_0x5e62dd(0x233)+(_0x44f80d&&_0x44f80d['fullName'])+_0x5e62dd(0x25a)+_0x5cf20e);}finally{_0x44f80d&&(testRunMap[_0x5e62dd(0x23d)](_0x44f80d['id']),_specStartTimes['delete'](_0x44f80d['id']));}}[a17_0xa15e1f(0x1e5)](){}[a17_0xa15e1f(0x219)](){}[a17_0xa15e1f(0x258)](_0x19b6d3,_0x573956,_0x397c57){const _0x4a47a5=a17_0xa15e1f,_0x4bc5f8={'lwNMW':function(_0x262369,_0x1cd03d){return _0x262369===_0x1cd03d;},'mXDYr':'TestRunFinished','uxkQM':function(_0x4efa16,_0xb905c){return _0x4efa16===_0xb905c;},'tcxED':_0x4a47a5(0x242),'ubtSj':_0x4a47a5(0x24c),'xuZGr':function(_0x3cca29,_0x38bca4,_0x1c94b3){return _0x3cca29(_0x38bca4,_0x1c94b3);},'UiztQ':_0x4a47a5(0x259),'wYsol':_0x4a47a5(0x22b),'QdfdG':function(_0x37bbfe,_0x3bb4f8){return _0x37bbfe!==_0x3bb4f8;},'VrSEh':function(_0x4217a0,_0x3df2ca){return _0x4217a0===_0x3df2ca;},'BlokG':_0x4a47a5(0x272),'QTUkG':function(_0x2c37fd,_0xeb1f23){return _0x2c37fd&&_0xeb1f23;},'mOrhb':function(_0x1ba24b,_0x54cb4d){return _0x1ba24b===_0x54cb4d;},'iQBtp':_0x4a47a5(0x238),'iMRQm':'passed','LYrkX':function(_0x5e7032,_0x5af9f9){return _0x5e7032===_0x5af9f9;},'ItPMU':_0x4a47a5(0x203),'uvMtd':_0x4a47a5(0x26d),'jUrNN':_0x4a47a5(0x20b),'BfIBl':function(_0x3ad226,_0x4298e1){return _0x3ad226===_0x4298e1;},'RVrzH':_0x4a47a5(0x1f0),'bIkOQ':_0x4a47a5(0x22c),'HnHQF':_0x4a47a5(0x240),'ripCK':_0x4a47a5(0x241),'XhIYy':_0x4a47a5(0x22e),'KesAb':_0x4a47a5(0x21b),'KFoYO':_0x4a47a5(0x20d),'YYXVt':function(_0x208099,_0x2131ed){return _0x208099===_0x2131ed;},'Nqvuy':function(_0x55c4d1,_0x10dd25){return _0x55c4d1(_0x10dd25);}};try{const _0x14db6d=_0x4bc5f8[_0x4a47a5(0x1ea)](_0x397c57,_0x4bc5f8[_0x4a47a5(0x208)])||_0x4bc5f8[_0x4a47a5(0x22f)](_0x397c57,_0x4bc5f8[_0x4a47a5(0x1eb)]),_0x25e964=this[_0x4a47a5(0x270)](_0x19b6d3),_0x4663c7=_0x25e964?this[_0x4a47a5(0x24e)][_0x4a47a5(0x235)](_0x25e964):_0x4bc5f8[_0x4a47a5(0x204)],_0x2c8aa7=_0x25e964?this[_0x4a47a5(0x245)](path[_0x4a47a5(0x218)](_0x25e964)):null,_0x33751b=this[_0x4a47a5(0x1ff)](_0x19b6d3[_0x4a47a5(0x21d)]),_0x3432ae=_0x33751b?_0x33751b[_0x4a47a5(0x254)]:undefined,_0xa93220=_0x33751b?_0x4bc5f8[_0x4a47a5(0x20a)](failureData,_0x33751b,_0x4bc5f8[_0x4a47a5(0x211)]):[],_0x3e3685=new Date()[_0x4a47a5(0x274)](),_0x5c461f=this[_0x4a47a5(0x239)](_0x19b6d3);_0x4bc5f8['lwNMW'](_0x397c57,_0x4bc5f8[_0x4a47a5(0x1f1)])&&_0x19b6d3&&_0x4bc5f8[_0x4a47a5(0x1e3)](_0x19b6d3['id'],undefined)&&_0x4bc5f8[_0x4a47a5(0x1e3)](_0x19b6d3['id'],null)&&_specStartTimes[_0x4a47a5(0x21a)](_0x19b6d3['id'],_0x3e3685);const _0x2bd5a0=_0x4bc5f8[_0x4a47a5(0x1f5)](_0x397c57,_0x4bc5f8[_0x4a47a5(0x1f1)])?_0x3e3685:_0x19b6d3&&_specStartTimes['get'](_0x19b6d3['id'])||null,_0x536949={};_0x536949['lang']=_0x4bc5f8[_0x4a47a5(0x269)],_0x536949['code']=null;const _0x289a1c={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x573956,'name':_0x19b6d3[_0x4a47a5(0x22d)],'body':_0x536949,'scope':_0x5c461f[_0x4a47a5(0x25e)]('\x20'),'scopes':_0x5c461f,'identifier':_0x19b6d3[_0x4a47a5(0x1ef)],'file_name':_0x4663c7,'vc_filepath':_0x4bc5f8[_0x4a47a5(0x226)](_0x2c8aa7,_0x25e964)?path[_0x4a47a5(0x20c)](_0x2c8aa7,_0x25e964):null,'location':_0x4663c7,'result':_0x4bc5f8[_0x4a47a5(0x26f)](_0x397c57,_0x4bc5f8[_0x4a47a5(0x1eb)])?_0x4bc5f8[_0x4a47a5(0x227)]:STATUS_MAP[_0x19b6d3[_0x4a47a5(0x200)]]||_0x4bc5f8['iMRQm'],'failure_reason':_0x3432ae,'duration_in_ms':_0x4bc5f8[_0x4a47a5(0x256)](typeof _0x19b6d3['duration'],_0x4bc5f8[_0x4a47a5(0x246)])?_0x19b6d3[_0x4a47a5(0x20f)]:null,'started_at':_0x2bd5a0,'finished_at':_0x14db6d?_0x3e3685:null,'failure':_0xa93220,'failure_type':!_0x3432ae?null:_0x3432ae[_0x4a47a5(0x224)](/AssertionError/)?_0x4bc5f8[_0x4a47a5(0x213)]:_0x4bc5f8[_0x4a47a5(0x1ec)],'retry_of':null};_0x4bc5f8['BfIBl'](_0x397c57,_0x4bc5f8['tcxED'])&&!_0x289a1c[_0x4bc5f8[_0x4a47a5(0x236)]]&&(_0x289a1c[_0x4bc5f8[_0x4a47a5(0x236)]]=_0x289a1c[_0x4bc5f8[_0x4a47a5(0x24b)]]);const _0x1cda9f=_0x289a1c[_0x4bc5f8[_0x4a47a5(0x247)]][0x0];_0x1cda9f&&(_0x289a1c[_0x4bc5f8['ripCK']]=_0x1cda9f[_0x4bc5f8[_0x4a47a5(0x252)]],_0x289a1c[_0x4bc5f8[_0x4a47a5(0x230)]]=_0x1cda9f[_0x4bc5f8[_0x4a47a5(0x249)]]);testhubUtils['appendTesthubParams'](_0x289a1c,_0x397c57,_0x19b6d3,FRAMEWORKS['JASMINE']);const _0x1bf453={'event_type':_0x4bc5f8[_0x4a47a5(0x25d)](_0x397c57,_0x4bc5f8[_0x4a47a5(0x1eb)])?_0x4bc5f8[_0x4a47a5(0x208)]:_0x397c57,'test_run':_0x289a1c};return testhubUtils[_0x4a47a5(0x231)](FRAMEWORKS[_0x4a47a5(0x229)],_0x1bf453),SessionHandler['uploadEventData'](_0x1bf453);}catch(_0xbff480){_0x4bc5f8['Nqvuy'](debug,_0x4a47a5(0x24d)+_0x397c57+_0x4a47a5(0x25a)+_0xbff480);}}[a17_0xa15e1f(0x239)](_0xc84bb1){const _0x4e12d0=a17_0xa15e1f,_0x52dcb7={'TnGfL':function(_0x25bdff,_0x578f2d){return _0x25bdff!==_0x578f2d;},'vDJVD':function(_0x156ccb,_0x46cd45){return _0x156ccb>_0x46cd45;},'ftjda':function(_0xb647d1,_0x47a462){return _0xb647d1(_0x47a462);},'BpJiR':function(_0x4f44a0,_0x2f373b){return _0x4f44a0-_0x2f373b;}};try{const _0x13c964=[];let _0x404191=_0xc84bb1&&_0xc84bb1[_0x4e12d0(0x206)];const _0x177551=new Set();while(_0x52dcb7[_0x4e12d0(0x264)](_0x404191,undefined)&&_0x52dcb7[_0x4e12d0(0x264)](_0x404191,null)&&this[_0x4e12d0(0x225)][_0x4e12d0(0x1ed)](_0x404191)&&!_0x177551[_0x4e12d0(0x1ed)](_0x404191)){_0x177551[_0x4e12d0(0x237)](_0x404191);const _0x2bc473=this['_suitesById'][_0x4e12d0(0x1f8)](_0x404191);_0x2bc473&&_0x2bc473['description']&&_0x13c964['push'](_0x2bc473[_0x4e12d0(0x22d)]),_0x404191=_0x2bc473?_0x2bc473[_0x4e12d0(0x206)]:null;}if(_0x52dcb7[_0x4e12d0(0x24a)](_0x13c964['length'],0x0))return _0x13c964[_0x4e12d0(0x23c)]();}catch(_0x4ee06e){_0x52dcb7[_0x4e12d0(0x265)](debug,_0x4e12d0(0x217)+(_0xc84bb1&&_0xc84bb1[_0x4e12d0(0x1ef)])+_0x4e12d0(0x25a)+_0x4ee06e);}const _0x278b8d=_0xc84bb1&&_0xc84bb1['fullName']||'',_0x43f116=_0xc84bb1&&_0xc84bb1['description']||'';let _0x3a11d5=_0x278b8d;return _0x43f116&&_0x278b8d['endsWith'](_0x43f116)&&(_0x3a11d5=_0x278b8d[_0x4e12d0(0x207)](0x0,_0x52dcb7[_0x4e12d0(0x1f2)](_0x278b8d[_0x4e12d0(0x23e)],_0x43f116[_0x4e12d0(0x23e)]))[_0x4e12d0(0x1fa)]()),_0x3a11d5?_0x3a11d5[_0x4e12d0(0x1e4)](/\s+/):[];}[a17_0xa15e1f(0x270)](_0xbe67fb){const _0x2ffe60=a17_0xa15e1f,_0x10904e={};_0x10904e[_0x2ffe60(0x1f7)]=function(_0x4c2ed4,_0x1335cd){return _0x4c2ed4===_0x1335cd;},_0x10904e['xzurV']=function(_0x3d039e,_0x4457a5){return _0x3d039e+_0x4457a5;},_0x10904e['YXmqg']=function(_0x254d4a,_0x2599b3){return _0x254d4a>_0x2599b3;};const _0x33c617=_0x10904e;if(_0xbe67fb&&_0xbe67fb['filename'])return _0xbe67fb[_0x2ffe60(0x1f9)];if(_0xbe67fb&&_0xbe67fb[_0x2ffe60(0x1ef)]){if(this[_0x2ffe60(0x273)][_0xbe67fb[_0x2ffe60(0x1ef)]])return this[_0x2ffe60(0x273)][_0xbe67fb[_0x2ffe60(0x1ef)]];let _0x34d075=null,_0x318e76=-0x1;for(const _0x232712 of Object['keys'](this[_0x2ffe60(0x273)])){(_0x33c617['ZFcjE'](_0xbe67fb['fullName'],_0x232712)||_0xbe67fb[_0x2ffe60(0x1ef)][_0x2ffe60(0x1e7)](_0x33c617['xzurV'](_0x232712,'\x20')))&&_0x33c617[_0x2ffe60(0x268)](_0x232712['length'],_0x318e76)&&(_0x34d075=this[_0x2ffe60(0x273)][_0x232712],_0x318e76=_0x232712[_0x2ffe60(0x23e)]);}if(_0x34d075)return _0x34d075;}return null;}['_collapseFailedExpectations'](_0x4d1202){const _0x216fb9=a17_0xa15e1f,_0x49ba7b={};_0x49ba7b['rtKDo']=function(_0x294d04,_0x4833d9){return _0x294d04===_0x4833d9;},_0x49ba7b[_0x216fb9(0x1e6)]=_0x216fb9(0x260);const _0x1fac47=_0x49ba7b;if(!Array['isArray'](_0x4d1202)||_0x1fac47[_0x216fb9(0x223)](_0x4d1202[_0x216fb9(0x23e)],0x0))return undefined;const _0x4b7ce4=[],_0x506d4f=[];for(const _0x3f723b of _0x4d1202){_0x3f723b&&_0x3f723b[_0x216fb9(0x254)]&&_0x4b7ce4[_0x216fb9(0x1fd)](_0x3f723b[_0x216fb9(0x254)]),_0x3f723b&&_0x3f723b[_0x216fb9(0x222)]&&_0x506d4f[_0x216fb9(0x1fd)](_0x3f723b[_0x216fb9(0x222)]);}const _0x27cea6=_0x4d1202[0x0]||{},_0x10fdb9=_0x4b7ce4[_0x216fb9(0x25e)]('\x0a')||_0x27cea6['message']||_0x1fac47['skffy'],_0x577cae=_0x506d4f[_0x216fb9(0x25e)]('\x0a\x0a')||_0x27cea6[_0x216fb9(0x222)]||_0x10fdb9,_0x316ce0={};return _0x316ce0[_0x216fb9(0x254)]=_0x10fdb9,_0x316ce0[_0x216fb9(0x222)]=_0x577cae,_0x316ce0[_0x216fb9(0x221)]=_0x27cea6[_0x216fb9(0x221)],_0x316ce0['expected']=_0x27cea6[_0x216fb9(0x210)],_0x316ce0[_0x216fb9(0x220)]=_0x27cea6['actual'],_0x316ce0;}[a17_0xa15e1f(0x245)](_0x2286c4){const _0x379e44=a17_0xa15e1f,_0x420a16={};_0x420a16['wCcqU']=function(_0xef468,_0x5156d9){return _0xef468===_0x5156d9;},_0x420a16[_0x379e44(0x25c)]=function(_0x4bb487,_0x3bccb0){return _0x4bb487===_0x3bccb0;},_0x420a16['iJKJZ']=function(_0x4f540e,_0x2fbb3c){return _0x4f540e===_0x2fbb3c;},_0x420a16[_0x379e44(0x266)]=_0x379e44(0x22a),_0x420a16[_0x379e44(0x20e)]='config';const _0x28184d=_0x420a16,_0x33453a=path[_0x379e44(0x26e)];if(_0x28184d[_0x379e44(0x1fc)](_0x2286c4,null)||_0x28184d[_0x379e44(0x25c)](_0x2286c4,'')||_0x28184d[_0x379e44(0x25c)](_0x2286c4,_0x33453a)||_0x28184d[_0x379e44(0x1fe)](_0x2286c4,path[_0x379e44(0x218)](_0x2286c4)))return null;try{return fs[_0x379e44(0x232)](path[_0x379e44(0x25e)](_0x2286c4,_0x28184d[_0x379e44(0x266)],_0x28184d[_0x379e44(0x20e)])),_0x2286c4;}catch(_0x5c0350){return this['_findGitConfig'](path[_0x379e44(0x218)](_0x2286c4));}}}module[a17_0xa15e1f(0x25b)]=BrowserStackJasmineReporter;function a17_0x2265(){const _0x33c6da=['xuZGr','UnhandledError','relative','expanded','ATenF','duration','expected','UiztQ','specStarted','uvMtd','3650996Cvfiqn','Jasmine','PBfPY','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','dirname','jasmineDone','set','failure_reason_expanded','shouldProcessEventForTesthub','failedExpectations','296zhYvgk','15twFihj','actual','matcherName','stack','rtKDo','match','_suitesById','QTUkG','iQBtp','GMYjr','JASMINE','.git','TestRunStarted','finished_at','description','backtrace','uxkQM','KesAb','setCurrentTestData','statSync','Exception\x20in\x20jasmine\x20specDone\x20for\x20','78036EUKANg','prefixTestPath','RVrzH','add','skipped','_scopes','1555slCEfl','jasmineStarted','reverse','remove','length','kXwuk','failure','failure_backtrace','TestRunSkipped','swgWk','4245810elReGO','_findGitConfig','ItPMU','HnHQF','7443765fyKXBv','KFoYO','vDJVD','bIkOQ','File\x20path\x20could\x20not\x20be\x20found','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','_paths','TestRunFinished','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','excluded','XhIYy','passed','message','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','LYrkX','pending','_sendSpecEvent','err','\x20:\x20','exports','SIblq','YYXVt','join','29694locBms','Spec\x20failed','MyXVk','ibFgW','HUyWn','TnGfL','ftjda','wLAFB','../../../helpers/test-observability/utils','YXmqg','BlokG','oFFZz','../../../helpers/test-observability/sessionHandler','MfDjj','AssertionError','sep','mOrhb','_resolveFilePath','EEoVS','javascript','_fileNameByFullName','toISOString','QdfdG','split','suiteDone','skffy','startsWith','path','uuid','lwNMW','tcxED','jUrNN','has','fsYlX','fullName','started_at','wYsol','BpJiR','cwd','kSMpf','VrSEh','22PRwQpO','ZFcjE','get','filename','trim','fileNameByFullName','wCcqU','push','iJKJZ','_collapseFailedExpectations','status','483378AbmRSG','failed','number','ubtSj','41486PbDnYW','parentSuiteId','slice','mXDYr','fdyfE'];a17_0x2265=function(){return _0x33c6da;};return a17_0x2265();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a18_0x16e4(){const _0x5e6b8a=['jasmine','WJZYo','WyAfw','BROWSERSTACK_RERUN_TESTS','Ehhpc','winstonLogger','map','Running\x20your\x20Jasmine\x20tests\x20across\x20','mNIYN','JASMINE','BROWSERSTACK_JASMINE_PARALLELS','KgxWV','BROWSERSTACK_CAPABILITIES','handleApp','isUndefined','start','1775823LyyRhY','pKeaY',';\x20proceeding\x20without\x20injection','../../helpers/test-observability/utils','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','../../helpers/puppeteer-helper','\x20:\x20','binSessionId','\x27\x20:\x20','specArgs','AuOmR','syOxl','sBUyy','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','getPackageVersion','true','info','JASMINE_CONFIG_PATH','jKMuC','KeVpW','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','cwd','finalExecution','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','53260WcYpsu','spec','gEktR','BROWSERSTACK_CLI_BIN_SESSION_ID','string','fBrzg','brxpL','9HTvQAt','platform','isBrowserstackInfra','VtAKm','existsSync','11801360HVBhML','child_process','Beiqi','find','SDK_CLEANUP','prepareCapabilities','MRVvv','BROWSERSTACK_TEST_OBSERVABILITY_YML','@playwright/test','startsWith','EVENTS','getHubUrl','../../helpers/helper','\x20concurrent)','tYqjG','\x20platform(s),\x20parallelsPerPlatform=','bagFr','IZJQa','yzcmF','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','__isPlaywrightInstalled','stop','testObservability','format','filter','93oMjZfq','maxWorkers','LCGmK','close','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','\x20work-item(s),\x20max\x20',',\x20specs=','nSyqC','rhFJh','slice','lXMkm','validPlatformsPresent','mkJdf','../v2/browserstackCLI',')\x20exited\x20with\x20code\x20','exports','platformIndex','oPufT','../../helpers/test-observability/constants','launchBuild','from','KzKrd','win32','npshO','../../helpers/playwright-helper','mbszF','--helper=','assign','13312152HCdsiX',')\x20:\x20','readFileSync','parallelsPerPlatform','636RqWYEh','npx','spec_dir','config','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','platforms','Gupqt','../../helpers/performance/constants','error','exitCode','end','posix','isArray','spec_files','../../helpers/utilities','fLEnt','13065420pQcxeb','env','isCLIEnabled','length','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','SuwGR','114596TpHqFn','VUVXH','proxySettings','stringify','2871594DuBRjG','test.setup.js','push','../utils/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','parseFileNames','FORLY','parse','FRAMEWORKS','SJjxI','NAQXz','capability','getInstance','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','accessibilityOptions','qszXQ','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','resolve','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','debug','trim','p-limit'];a18_0x16e4=function(){return _0x5e6b8a;};return a18_0x16e4();}const a18_0x39d0bf=a18_0x37a9;(function(_0x2f10ef,_0x3775a3){const _0x5a675d=a18_0x37a9,_0x396afc=_0x2f10ef();while(!![]){try{const _0x22ef28=parseInt(_0x5a675d(0x22f))/0x1+-parseInt(_0x5a675d(0x208))/0x2+-parseInt(_0x5a675d(0x26c))/0x3*(-parseInt(_0x5a675d(0x204))/0x4)+parseInt(_0x5a675d(0x247))/0x5*(-parseInt(_0x5a675d(0x1ee))/0x6)+-parseInt(_0x5a675d(0x1ea))/0x7+parseInt(_0x5a675d(0x253))/0x8*(parseInt(_0x5a675d(0x24e))/0x9)+parseInt(_0x5a675d(0x1fe))/0xa;if(_0x22ef28===_0x3775a3)break;else _0x396afc['push'](_0x396afc['shift']());}catch(_0x43909d){_0x396afc['push'](_0x396afc['shift']());}}}(a18_0x16e4,0xef041));const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a18_0x39d0bf(0x254)),glob=require('glob'),pLimit=require(a18_0x39d0bf(0x21e)),logger=require('../../helpers/logger')[a18_0x39d0bf(0x224)],helper=require(a18_0x39d0bf(0x25f)),utilities=require(a18_0x39d0bf(0x1fc)),constants=require(a18_0x39d0bf(0x20b)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a18_0x39d0bf(0x232)),{debug}=require(a18_0x39d0bf(0x232)),{FRAMEWORKS}=require(a18_0x39d0bf(0x1e0)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a18_0x39d0bf(0x1f5))[a18_0x39d0bf(0x25d)],BrowserstackCLI=require(a18_0x39d0bf(0x1db)),{checkPwandBootstrapCli}=require(a18_0x39d0bf(0x1e6)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x39d0bf(0x234)),getMaxWorkers=(_0x43b8ae,_0x25aef0)=>{const _0x505182=a18_0x39d0bf,_0x5551e9={'mkJdf':function(_0x83564b,_0xb56a0){return _0x83564b(_0xb56a0);}};let _0x2ab5a2=0x1;if(!helper['isUndefined'](_0x25aef0['parallelsPerPlatform']))_0x2ab5a2=_0x5551e9[_0x505182(0x1da)](parseInt,_0x25aef0[_0x505182(0x1ed)]);else!helper[_0x505182(0x22d)](_0x43b8ae['maxWorkers'])&&(_0x2ab5a2=_0x43b8ae[_0x505182(0x26d)]);return _0x2ab5a2;},resolveJasmineConfigPath=()=>{const _0x39a287=a18_0x39d0bf,_0x2dab05={};_0x2dab05[_0x39a287(0x265)]='spec/support/jasmine.json';const _0x3c42c0=_0x2dab05,_0x386691=[];process[_0x39a287(0x1ff)][_0x39a287(0x240)]&&_0x386691[_0x39a287(0x20a)](path['resolve'](process[_0x39a287(0x244)](),process[_0x39a287(0x1ff)]['JASMINE_CONFIG_PATH']));_0x386691[_0x39a287(0x20a)](path[_0x39a287(0x21a)](process[_0x39a287(0x244)](),_0x3c42c0[_0x39a287(0x265)]));for(const _0x1bf99e of _0x386691){try{if(fs[_0x39a287(0x252)](_0x1bf99e))return _0x1bf99e;}catch(_0x58178a){}}return null;},enumerateSpecFiles=_0x375691=>{const _0x212d7a=a18_0x39d0bf,_0x2cd92f={'mNIYN':function(_0x5f2f87,_0x427db0){return _0x5f2f87(_0x427db0);},'SuwGR':function(_0x38712f,_0x311d56){return _0x38712f>_0x311d56;},'LCGmK':function(_0x5e388b,_0x4e78cf){return _0x5e388b(_0x4e78cf);},'Beiqi':function(_0x456069,_0x2bfb9c){return _0x456069<_0x2bfb9c;},'IZJQa':function(_0x3cc8f9,_0x24f786){return _0x3cc8f9===_0x24f786;},'WJZYo':_0x212d7a(0x24b),'gEktR':function(_0x57c192,_0x1b7039){return _0x57c192>_0x1b7039;},'JASqF':function(_0x537535,_0x1bfa56,_0x27b8d7){return _0x537535(_0x1bfa56,_0x27b8d7);},'pKeaY':function(_0x1e9c1d,_0x68b14c){return _0x1e9c1d>_0x68b14c;},'mbszF':function(_0x4569c7){return _0x4569c7();},'WyAfw':'utf8','fBrzg':_0x212d7a(0x248),'AuOmR':'**/*[sS]pec.?(m)js','KUBvg':function(_0x213f84,_0x48d345){return _0x213f84>_0x48d345;},'SevaJ':function(_0x12c763,_0x2a98aa){return _0x12c763(_0x2a98aa);}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x2f8a14=testOpsHelper[_0x212d7a(0x20d)](process[_0x212d7a(0x1ff)][_0x212d7a(0x222)]);if(Array[_0x212d7a(0x1fa)](_0x2f8a14)&&_0x2cd92f[_0x212d7a(0x203)](_0x2f8a14['length'],0x0))return _0x2f8a14[_0x212d7a(0x225)](_0x255c74=>path[_0x212d7a(0x21a)](process[_0x212d7a(0x244)](),_0x255c74[_0x212d7a(0x21d)]()))[_0x212d7a(0x26b)](Boolean);}}catch(_0x5ed686){_0x2cd92f[_0x212d7a(0x1d0)](debug,'Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20'+util['format'](_0x5ed686));}const _0x46f6f8=[];try{for(let _0x410b24=0x1;_0x2cd92f[_0x212d7a(0x255)](_0x410b24,_0x375691[_0x212d7a(0x201)]);_0x410b24++){const _0x4e5e62=_0x375691[_0x410b24];_0x2cd92f[_0x212d7a(0x264)](typeof _0x4e5e62,_0x2cd92f[_0x212d7a(0x220)])&&!_0x4e5e62[_0x212d7a(0x25c)]('-')&&_0x46f6f8[_0x212d7a(0x20a)](_0x4e5e62);}}catch(_0x4b7e00){}const _0xf044d6={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x5867b7=(_0x925679,_0x31c3a3)=>{const _0x3c535d=_0x212d7a,_0x1c28c5=[];for(const _0x16eaf1 of _0x925679){try{const _0x1d5252=_0x31c3a3?path[_0x3c535d(0x1f9)]['join'](_0x31c3a3,_0x16eaf1):_0x16eaf1,_0x59dc52=glob['globSync'](_0x1d5252,_0xf044d6);Array[_0x3c535d(0x1fa)](_0x59dc52)&&_0x1c28c5[_0x3c535d(0x20a)](..._0x59dc52);}catch(_0x4d89b0){_0x2cd92f[_0x3c535d(0x227)](debug,_0x3c535d(0x219)+_0x16eaf1+_0x3c535d(0x237)+util[_0x3c535d(0x26a)](_0x4d89b0));}}return _0x1c28c5;};if(_0x2cd92f[_0x212d7a(0x249)](_0x46f6f8['length'],0x0)){const _0x13d666=_0x2cd92f['JASqF'](_0x5867b7,_0x46f6f8,null);if(_0x2cd92f[_0x212d7a(0x230)](_0x13d666[_0x212d7a(0x201)],0x0))return Array[_0x212d7a(0x1e2)](new Set(_0x13d666));return _0x46f6f8[_0x212d7a(0x225)](_0xb8011e=>path[_0x212d7a(0x21a)](process[_0x212d7a(0x244)](),_0xb8011e));}try{const _0x2c9615=_0x2cd92f[_0x212d7a(0x1e7)](resolveJasmineConfigPath);if(_0x2c9615){const _0x40cce2=JSON[_0x212d7a(0x20f)](fs[_0x212d7a(0x1ec)](_0x2c9615,_0x2cd92f[_0x212d7a(0x221)])),_0x2bced8=_0x40cce2[_0x212d7a(0x1f0)]||_0x2cd92f[_0x212d7a(0x24c)],_0x5e2515=Array[_0x212d7a(0x1fa)](_0x40cce2[_0x212d7a(0x1fb)])&&_0x2cd92f[_0x212d7a(0x203)](_0x40cce2[_0x212d7a(0x1fb)]['length'],0x0)?_0x40cce2[_0x212d7a(0x1fb)]:[_0x2cd92f[_0x212d7a(0x239)]],_0x45e284=_0x2cd92f['JASqF'](_0x5867b7,_0x5e2515,_0x2bced8);if(_0x2cd92f['KUBvg'](_0x45e284['length'],0x0))return Array[_0x212d7a(0x1e2)](new Set(_0x45e284));}}catch(_0x364e9a){_0x2cd92f['SevaJ'](debug,_0x212d7a(0x21b)+util[_0x212d7a(0x26a)](_0x364e9a));}return null;};async function run(_0x4ea76e,_0x223cf5,_0x3db0af){const _0x3efd97=a18_0x39d0bf,_0x111263={'sBUyy':function(_0x128ea3,_0x44b538){return _0x128ea3>_0x44b538;},'ZrRxU':'all','oPufT':function(_0x814d03,_0x555892){return _0x814d03(_0x555892);},'brxpL':function(_0x36b609,_0x424c5d){return _0x36b609||_0x424c5d;},'nSyqC':function(_0xb9cf1d,_0x4d80e2){return _0xb9cf1d(_0x4d80e2);},'Gupqt':function(_0x3c299c,_0x2c8f80){return _0x3c299c>_0x2c8f80;},'fLEnt':function(_0x546ad9,_0x291b90,_0x41f72c,_0x525c2c){return _0x546ad9(_0x291b90,_0x41f72c,_0x525c2c);},'lXMkm':_0x3efd97(0x1ef),'KeVpW':_0x3efd97(0x21f),'VtAKm':function(_0x3659c2,_0x37d303){return _0x3659c2===_0x37d303;},'VUVXH':_0x3efd97(0x1e4),'jKMuC':'inherit','sxhnq':_0x3efd97(0x1d1),'Ehhpc':'error','qszXQ':function(_0x257aa1,_0x1649dc){return _0x257aa1(_0x1649dc);},'PpylQ':function(_0x54a276,_0x1d6560){return _0x54a276(_0x1d6560);},'FORLY':_0x3efd97(0x25b),'sIAEO':function(_0xdd1b9b){return _0xdd1b9b();},'pVvys':function(_0x46c4d7,_0x4896b4,_0x107b42,_0x569df9){return _0x46c4d7(_0x4896b4,_0x107b42,_0x569df9);},'sjTEw':function(_0x1e665c,_0x3f39e7){return _0x1e665c!=_0x3f39e7;},'NAQXz':_0x3efd97(0x23e),'tYqjG':function(_0x21bef3,_0x2bdc32,_0x2fcbfb){return _0x21bef3(_0x2bdc32,_0x2fcbfb);},'KzKrd':function(_0x322187,_0x372dee){return _0x322187*_0x372dee;},'syOxl':function(_0x523e54,_0x23ae82){return _0x523e54(_0x23ae82);},'KgxWV':_0x3efd97(0x209),'npshO':function(_0x311d61,_0x1f028){return _0x311d61(_0x1f028);},'qZMSB':function(_0x5d999f,_0x233904){return _0x5d999f<_0x233904;},'xlUAK':function(_0x498319,_0x406262){return _0x498319>_0x406262;},'bagFr':function(_0x5d5ede,_0x371f74){return _0x5d5ede>_0x371f74;},'rhFJh':function(_0x58f749,_0x321954){return _0x58f749(_0x321954);},'MRVvv':function(_0x39507a,_0x521a26){return _0x39507a>_0x521a26;}},_0x63440e=helper[_0x3efd97(0x23d)](_0x111263[_0x3efd97(0x20e)]);global[_0x3efd97(0x267)]=!!_0x63440e;const _0x38e4ae=_0x111263['sIAEO'](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x38e4ae;helper[_0x3efd97(0x250)]()&&(await _0x3db0af['initialize'](_0x4ea76e),await helper[_0x3efd97(0x22c)](_0x3db0af[_0x3efd97(0x1f1)]));if(_0x63440e)await _0x111263[_0x3efd97(0x1fd)](checkPwandBootstrapCli,_0x63440e,constants[_0x3efd97(0x210)][_0x3efd97(0x228)],_0x3db0af);else _0x38e4ae&&await _0x111263['pVvys'](checkPuppeteerAndBootstrapCli,_0x38e4ae,constants['FRAMEWORKS'][_0x3efd97(0x228)],_0x3db0af);if(!_0x3db0af[_0x3efd97(0x1f1)])return;_0x111263['sjTEw'](_0x3db0af[_0x3efd97(0x1f1)][_0x3efd97(0x269)],null)?process[_0x3efd97(0x1ff)][_0x3efd97(0x25a)]=_0x3db0af[_0x3efd97(0x1f1)][_0x3efd97(0x269)]:process[_0x3efd97(0x1ff)][_0x3efd97(0x25a)]=_0x111263[_0x3efd97(0x212)];!helper[_0x3efd97(0x22d)](_0x3db0af['config'][_0x3efd97(0x217)])&&(process[_0x3efd97(0x1ff)][_0x3efd97(0x20c)]=JSON[_0x3efd97(0x207)](_0x3db0af['config']['accessibilityOptions']));try{await TestHubHandler[_0x3efd97(0x1e1)](FRAMEWORKS[_0x3efd97(0x228)],_0x3db0af);}catch(_0x43ce51){logger[_0x3efd97(0x1f6)](_0x3efd97(0x233)+util[_0x3efd97(0x26a)](_0x43ce51)),_0x111263[_0x3efd97(0x218)](debug,_0x3efd97(0x1d2)+util[_0x3efd97(0x26a)](_0x43ce51));}let _0x58b4ea=![],_0x56faa4=[];try{_0x58b4ea=helper['useW3C'](_0x3db0af[_0x3efd97(0x1f1)]),_0x56faa4=helper[_0x3efd97(0x258)](_0x3db0af['config'],_0x58b4ea,constants[_0x3efd97(0x210)]['JASMINE']),process[_0x3efd97(0x1ff)][_0x3efd97(0x22b)]=JSON[_0x3efd97(0x207)](_0x56faa4);}catch(_0x58f0b1){_0x111263[_0x3efd97(0x218)](debug,_0x3efd97(0x202)+util[_0x3efd97(0x26a)](_0x58f0b1));}let _0x18cd85=null,_0x5ef809=![];try{_0x18cd85=helper[_0x3efd97(0x25e)](_0x3db0af[_0x3efd97(0x1f1)]),_0x5ef809=helper[_0x3efd97(0x1d9)](_0x3db0af[_0x3efd97(0x1f1)]);}catch(_0x4e3ce8){_0x111263[_0x3efd97(0x1d5)](debug,_0x3efd97(0x243)+util[_0x3efd97(0x26a)](_0x4e3ce8));}const _0x71b87e=_0x25a419=>{const _0x14db4c=_0x3efd97,_0x4ae70d=Array[_0x14db4c(0x1fa)](_0x56faa4)&&_0x111263['sBUyy'](_0x56faa4[_0x14db4c(0x201)],_0x25a419)?_0x56faa4[_0x25a419]:Array[_0x14db4c(0x1fa)](_0x56faa4)&&_0x111263[_0x14db4c(0x23b)](_0x56faa4[_0x14db4c(0x201)],0x0)?_0x56faa4[0x0]:{};return{'server':_0x18cd85,'capability':_0x4ae70d,'proxySettings':_0x3db0af[_0x14db4c(0x1f1)][_0x14db4c(0x206)],'platform':helper['getPlatformName'](_0x4ae70d),'browserStackLogLevel':_0x3db0af[_0x14db4c(0x1f1)]['logLevel'],'platformIndex':_0x25a419,'framework':constants['FRAMEWORKS'][_0x14db4c(0x228)],'platformCaps':_0x5ef809?Object['assign']({'index':_0x25a419},_0x3db0af['config'][_0x14db4c(0x1f3)][_0x25a419]):{'index':_0x25a419}};};let _0x399c0d=0x1,_0x2ac30f=0x1,_0x3663a0=0x1;try{_0x399c0d=_0x111263[_0x3efd97(0x261)](getMaxWorkers,_0x4ea76e,_0x3db0af['config']),_0x2ac30f=_0x5ef809?_0x3db0af[_0x3efd97(0x1f1)][_0x3efd97(0x1f3)][_0x3efd97(0x201)]:0x1,_0x3663a0=_0x111263[_0x3efd97(0x1e3)](_0x2ac30f,_0x399c0d),process[_0x3efd97(0x1ff)][_0x3efd97(0x229)]=_0x111263['oPufT'](String,_0x3663a0);}catch(_0x522687){_0x111263[_0x3efd97(0x1df)](debug,_0x3efd97(0x266)+util['format'](_0x522687));}try{BrowserstackCLI['getInstance']()[_0x3efd97(0x236)]&&(process[_0x3efd97(0x1ff)][_0x3efd97(0x24a)]=BrowserstackCLI['getInstance']()[_0x3efd97(0x236)]);}catch(_0x4d45f1){_0x111263[_0x3efd97(0x23a)](debug,_0x3efd97(0x215)+util[_0x3efd97(0x26a)](_0x4d45f1));}const _0xcdd042=[];try{const _0x396f72=path[_0x3efd97(0x21a)](__dirname,_0x111263[_0x3efd97(0x22a)]);fs[_0x3efd97(0x252)](_0x396f72)?_0xcdd042['push'](_0x3efd97(0x1e8)+_0x396f72):_0x111263[_0x3efd97(0x1e5)](debug,_0x3efd97(0x246)+_0x396f72+_0x3efd97(0x231));}catch(_0x4b22f7){_0x111263['nSyqC'](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x3efd97(0x26a)](_0x4b22f7));}const _0x39025a=_0x223cf5[_0x3efd97(0x1d7)](0x1),_0x220cc7=_0x111263[_0x3efd97(0x1d5)](enumerateSpecFiles,_0x223cf5),_0xe1e003=[];for(let _0x3c43d0=0x0;_0x111263['qZMSB'](_0x3c43d0,_0x2ac30f);_0x3c43d0++){if(_0x111263['xlUAK'](_0x399c0d,0x1)&&Array['isArray'](_0x220cc7)&&_0x111263[_0x3efd97(0x263)](_0x220cc7['length'],0x0))for(const _0x976fc4 of _0x220cc7){const _0x1d838e={};_0x1d838e['platformIndex']=_0x3c43d0,_0x1d838e[_0x3efd97(0x238)]=[_0x976fc4],_0xe1e003[_0x3efd97(0x20a)](_0x1d838e);}else{const _0x28f1ca={};_0x28f1ca[_0x3efd97(0x1de)]=_0x3c43d0,_0x28f1ca[_0x3efd97(0x238)]=_0x220cc7,_0xe1e003[_0x3efd97(0x20a)](_0x28f1ca);}}logger[_0x3efd97(0x23f)](_0x3efd97(0x226)+_0x2ac30f+_0x3efd97(0x262)+_0x399c0d+'\x20('+_0xe1e003[_0x3efd97(0x201)]+_0x3efd97(0x1d3)+_0x3663a0+_0x3efd97(0x260)),PerformanceTester[_0x3efd97(0x1f8)](PerformanceEvents['SDK_SETUP']);const _0x180e49=_0x2ae441=>new Promise(_0x42256a=>{const _0x521ef4=_0x3efd97,_0x5f4dc4={'SJjxI':function(_0x4b4738,_0x47b9bd){const _0x2dbd83=a18_0x37a9;return _0x111263[_0x2dbd83(0x1d5)](_0x4b4738,_0x47b9bd);}};let _0xbb217c;try{const _0x1e2787=_0x111263[_0x521ef4(0x1d5)](_0x71b87e,_0x2ae441['platformIndex']);_0xbb217c=Object[_0x521ef4(0x1e9)]({},process[_0x521ef4(0x1ff)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x521ef4(0x207)](_0x1e2787),'BROWSERSTACK_CAPABILITIES':JSON[_0x521ef4(0x207)]([_0x1e2787[_0x521ef4(0x213)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0xe813bc){_0x111263[_0x521ef4(0x1d5)](debug,_0x521ef4(0x23c)+_0x2ae441[_0x521ef4(0x1de)]+_0x521ef4(0x235)+util[_0x521ef4(0x26a)](_0xe813bc)),_0xbb217c=Object[_0x521ef4(0x1e9)]({},process[_0x521ef4(0x1ff)]);}const _0x5f5d6b=Array[_0x521ef4(0x1fa)](_0x2ae441[_0x521ef4(0x238)])?_0x2ae441[_0x521ef4(0x238)]:[],_0x222e8c=_0x111263[_0x521ef4(0x1f4)](_0x5f5d6b[_0x521ef4(0x201)],0x0)?_0x39025a[_0x521ef4(0x26b)](_0x2503d1=>typeof _0x2503d1===_0x521ef4(0x24b)&&_0x2503d1[_0x521ef4(0x25c)]('-')):_0x39025a,_0x4f4aac=[..._0xcdd042,..._0x222e8c,..._0x5f5d6b];try{const _0x37502b=_0x111263[_0x521ef4(0x1fd)](spawn,_0x111263[_0x521ef4(0x1d8)],[_0x111263[_0x521ef4(0x242)],..._0x4f4aac],{'shell':_0x111263[_0x521ef4(0x251)](process[_0x521ef4(0x24f)],_0x111263[_0x521ef4(0x205)]),'stdio':_0x111263[_0x521ef4(0x241)],'env':_0xbb217c});_0x37502b['on'](_0x111263['sxhnq'],_0x277cb0=>{const _0x56b09a=_0x521ef4;logger[_0x56b09a(0x21c)]('jasmine\x20child\x20(platformIndex='+_0x2ae441[_0x56b09a(0x1de)]+_0x56b09a(0x1d4)+(_0x5f5d6b['length']?_0x5f5d6b['join'](','):_0x111263['ZrRxU'])+_0x56b09a(0x1dc)+_0x277cb0),_0x111263[_0x56b09a(0x1df)](_0x42256a,_0x111263[_0x56b09a(0x24d)](_0x277cb0,0x0));}),_0x37502b['on'](_0x111263[_0x521ef4(0x223)],_0x53ad12=>{const _0x4fdffc=_0x521ef4;_0x5f4dc4['SJjxI'](debug,_0x4fdffc(0x1f2)+_0x2ae441[_0x4fdffc(0x1de)]+_0x4fdffc(0x1eb)+util[_0x4fdffc(0x26a)](_0x53ad12)),_0x5f4dc4[_0x4fdffc(0x211)](_0x42256a,0x1);});}catch(_0x4f09b4){_0x111263[_0x521ef4(0x218)](debug,'Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex='+_0x2ae441['platformIndex']+_0x521ef4(0x1eb)+util[_0x521ef4(0x26a)](_0x4f09b4)),_0x111263['PpylQ'](_0x42256a,0x1);}}),_0x214f15=_0x111263[_0x3efd97(0x1d6)](pLimit,_0x111263[_0x3efd97(0x259)](_0x3663a0,0x0)?_0x3663a0:0x1),_0x16c890=await Promise['all'](_0xe1e003[_0x3efd97(0x225)](_0x2fa16e=>_0x214f15(()=>_0x180e49(_0x2fa16e))));PerformanceTester[_0x3efd97(0x22e)](PerformanceEvents[_0x3efd97(0x257)]);const _0x1987e9=_0x16c890[_0x3efd97(0x256)](_0x111dba=>_0x111dba!==0x0)||0x0;process[_0x3efd97(0x1f7)]=_0x1987e9,logger[_0x3efd97(0x21c)](_0x3efd97(0x216)+_0x1987e9);const _0x29631f=BrowserstackCLI[_0x3efd97(0x200)]();try{await TestHubHandler[_0x3efd97(0x268)](),await BrowserstackCLI[_0x3efd97(0x214)]()[_0x3efd97(0x268)]();}catch(_0x489832){_0x111263[_0x3efd97(0x218)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x3efd97(0x26a)](_0x489832));}testOpsHelper['printBuildLink'](),await utilities[_0x3efd97(0x245)](_0x3db0af,_0x29631f);}function a18_0x37a9(_0x308fb0,_0x2b2ce7){const _0x16e485=a18_0x16e4();return a18_0x37a9=function(_0x37a967,_0x1dc33a){_0x37a967=_0x37a967-0x1d0;let _0x4fb9f2=_0x16e485[_0x37a967];return _0x4fb9f2;},a18_0x37a9(_0x308fb0,_0x2b2ce7);}module[a18_0x39d0bf(0x1dd)]=run;
2
+ 'use strict';const a18_0x571564=a18_0x4a74;(function(_0xef3e87,_0x3517f0){const _0xc8493b=a18_0x4a74,_0xf1cd80=_0xef3e87();while(!![]){try{const _0x109d33=parseInt(_0xc8493b(0xd6))/0x1+parseInt(_0xc8493b(0x94))/0x2*(-parseInt(_0xc8493b(0x9a))/0x3)+-parseInt(_0xc8493b(0xe9))/0x4+parseInt(_0xc8493b(0xd5))/0x5*(-parseInt(_0xc8493b(0xff))/0x6)+parseInt(_0xc8493b(0xe6))/0x7*(parseInt(_0xc8493b(0x98))/0x8)+parseInt(_0xc8493b(0xa4))/0x9*(-parseInt(_0xc8493b(0xec))/0xa)+parseInt(_0xc8493b(0x8d))/0xb;if(_0x109d33===_0x3517f0)break;else _0xf1cd80['push'](_0xf1cd80['shift']());}catch(_0x1eca6c){_0xf1cd80['push'](_0xf1cd80['shift']());}}}(a18_0x4d68,0x61b9d));function a18_0x4a74(_0x17ebb5,_0x160450){const _0x4d6823=a18_0x4d68();return a18_0x4a74=function(_0x4a744a,_0x38e95f){_0x4a744a=_0x4a744a-0x77;let _0x107403=_0x4d6823[_0x4a744a];return _0x107403;},a18_0x4a74(_0x17ebb5,_0x160450);}const fs=require('fs'),path=require(a18_0x571564(0xa7)),util=require(a18_0x571564(0xc1)),{spawn}=require(a18_0x571564(0xa1)),glob=require('glob'),pLimit=require(a18_0x571564(0xd2)),logger=require(a18_0x571564(0x10b))[a18_0x571564(0xd0)],helper=require('../../helpers/helper'),utilities=require(a18_0x571564(0xf7)),constants=require(a18_0x571564(0x113)),TestHubHandler=require(a18_0x571564(0xb7)),testOpsHelper=require(a18_0x571564(0xa3)),{debug}=require('../../helpers/test-observability/utils'),{FRAMEWORKS}=require(a18_0x571564(0x9f)),PerformanceTester=require(a18_0x571564(0xcc)),PerformanceEvents=require(a18_0x571564(0xab))[a18_0x571564(0xb5)],BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x571564(0x8c)),getMaxWorkers=(_0x79ef0b,_0x3a7fe8)=>{const _0x8ef7b6=a18_0x571564,_0x16db64={'ALFqy':function(_0x4d9403,_0x15cf9b){return _0x4d9403(_0x15cf9b);}};let _0x367601=0x1;if(!helper['isUndefined'](_0x3a7fe8[_0x8ef7b6(0x9e)]))_0x367601=_0x16db64[_0x8ef7b6(0xbd)](parseInt,_0x3a7fe8[_0x8ef7b6(0x9e)]);else!helper[_0x8ef7b6(0xe4)](_0x79ef0b[_0x8ef7b6(0x112)])&&(_0x367601=_0x79ef0b[_0x8ef7b6(0x112)]);return _0x367601;},resolveJasmineConfigPath=()=>{const _0x43d143=a18_0x571564,_0xcd0987={};_0xcd0987[_0x43d143(0xed)]=_0x43d143(0x8e);const _0x3fc6b8=_0xcd0987,_0x5418b0=[];process['env'][_0x43d143(0xa0)]&&_0x5418b0[_0x43d143(0x104)](path['resolve'](process['cwd'](),process[_0x43d143(0x100)][_0x43d143(0xa0)]));_0x5418b0[_0x43d143(0x104)](path[_0x43d143(0x9c)](process[_0x43d143(0xf0)](),_0x3fc6b8[_0x43d143(0xed)]));for(const _0x32d901 of _0x5418b0){try{if(fs[_0x43d143(0xcf)](_0x32d901))return _0x32d901;}catch(_0x30f267){}}return null;},enumerateSpecFiles=_0x5ac0ed=>{const _0x3a820a=a18_0x571564,_0x1a8254={'gDCtB':function(_0xedd598,_0xdfafee){return _0xedd598(_0xdfafee);},'OnBSo':function(_0x203eed,_0x1b61f8){return _0x203eed>_0x1b61f8;},'AFwpZ':function(_0x519861,_0x195a87){return _0x519861(_0x195a87);},'bEfWH':function(_0x318eaf,_0x436360){return _0x318eaf<_0x436360;},'yNaiy':function(_0x28b02b,_0x37f887){return _0x28b02b===_0x37f887;},'bRFmO':'string','iRMgN':function(_0x2b2444,_0x2e7020,_0x3aa5ed){return _0x2b2444(_0x2e7020,_0x3aa5ed);},'zLuPE':function(_0x4478f3,_0x1f6091){return _0x4478f3>_0x1f6091;},'UKeYj':function(_0x4a7ad5){return _0x4a7ad5();},'LzzEs':_0x3a820a(0x7a),'uvXsL':'spec','OzIid':_0x3a820a(0xc7),'xwDYN':function(_0x170f1e,_0x1ade10){return _0x170f1e(_0x1ade10);}};try{if(testOpsHelper[_0x3a820a(0xb0)]()){const _0x5bf727=testOpsHelper[_0x3a820a(0x101)](process['env']['BROWSERSTACK_RERUN_TESTS']);if(Array[_0x3a820a(0x90)](_0x5bf727)&&_0x1a8254[_0x3a820a(0xf2)](_0x5bf727[_0x3a820a(0x93)],0x0))return _0x5bf727['map'](_0x101c43=>path[_0x3a820a(0x9c)](process[_0x3a820a(0xf0)](),_0x101c43['trim']()))[_0x3a820a(0x8f)](Boolean);}}catch(_0xb238b9){_0x1a8254[_0x3a820a(0xbf)](debug,'Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20'+util[_0x3a820a(0x10e)](_0xb238b9));}const _0x9c2528=[];try{for(let _0x44c37c=0x1;_0x1a8254['bEfWH'](_0x44c37c,_0x5ac0ed[_0x3a820a(0x93)]);_0x44c37c++){const _0x5e2aa4=_0x5ac0ed[_0x44c37c];_0x1a8254[_0x3a820a(0x9b)](typeof _0x5e2aa4,_0x1a8254['bRFmO'])&&!_0x5e2aa4['startsWith']('-')&&_0x9c2528[_0x3a820a(0x104)](_0x5e2aa4);}}catch(_0x535221){}const _0x281270={'cwd':process[_0x3a820a(0xf0)](),'absolute':!![],'nodir':!![]},_0x1e4159=(_0x77eb95,_0x2b4c17)=>{const _0x5068ae=_0x3a820a,_0x204c44=[];for(const _0x230002 of _0x77eb95){try{const _0x3011ec=_0x2b4c17?path['posix'][_0x5068ae(0xdf)](_0x2b4c17,_0x230002):_0x230002,_0x3e2be9=glob[_0x5068ae(0xb8)](_0x3011ec,_0x281270);Array[_0x5068ae(0x90)](_0x3e2be9)&&_0x204c44[_0x5068ae(0x104)](..._0x3e2be9);}catch(_0x1c08e7){_0x1a8254[_0x5068ae(0xc6)](debug,_0x5068ae(0xb3)+_0x230002+_0x5068ae(0xa6)+util[_0x5068ae(0x10e)](_0x1c08e7));}}return _0x204c44;};if(_0x1a8254[_0x3a820a(0xf2)](_0x9c2528[_0x3a820a(0x93)],0x0)){const _0x4ad3ae=_0x1a8254[_0x3a820a(0xef)](_0x1e4159,_0x9c2528,null);if(_0x1a8254['zLuPE'](_0x4ad3ae['length'],0x0))return Array[_0x3a820a(0xb2)](new Set(_0x4ad3ae));return _0x9c2528['map'](_0x56a7ca=>path[_0x3a820a(0x9c)](process[_0x3a820a(0xf0)](),_0x56a7ca));}try{const _0x39c0aa=_0x1a8254[_0x3a820a(0xb9)](resolveJasmineConfigPath);if(_0x39c0aa){const _0x131ef8=JSON['parse'](fs[_0x3a820a(0x86)](_0x39c0aa,_0x1a8254[_0x3a820a(0xee)])),_0x534304=_0x131ef8['spec_dir']||_0x1a8254[_0x3a820a(0xde)],_0x2ff8f9=Array[_0x3a820a(0x90)](_0x131ef8[_0x3a820a(0xc4)])&&_0x1a8254['zLuPE'](_0x131ef8[_0x3a820a(0xc4)][_0x3a820a(0x93)],0x0)?_0x131ef8[_0x3a820a(0xc4)]:[_0x1a8254['OzIid']],_0x559800=_0x1a8254['iRMgN'](_0x1e4159,_0x2ff8f9,_0x534304);if(_0x1a8254[_0x3a820a(0xf2)](_0x559800[_0x3a820a(0x93)],0x0))return Array['from'](new Set(_0x559800));}}catch(_0x2ad36e){_0x1a8254[_0x3a820a(0xd9)](debug,_0x3a820a(0xd4)+util['format'](_0x2ad36e));}return null;};async function run(_0x479333,_0x59d07b,_0x4590c3){const _0x15d5f6=a18_0x571564,_0x5e1e48={'itAAQ':function(_0x4c2cac,_0x4bc151){return _0x4c2cac>_0x4bc151;},'scuaR':_0x15d5f6(0x81),'dtmXj':function(_0x39e4fc,_0x1b08eb){return _0x39e4fc(_0x1b08eb);},'MHhKO':function(_0x3bd589,_0x555f42){return _0x3bd589||_0x555f42;},'sWtJS':function(_0x41ce97,_0x122d6d){return _0x41ce97(_0x122d6d);},'mMFBl':function(_0x2b8601,_0x196a95){return _0x2b8601(_0x196a95);},'YljpX':function(_0x1dd109,_0x52b978){return _0x1dd109(_0x52b978);},'caVtA':function(_0x3b4a58,_0x46b893){return _0x3b4a58>_0x46b893;},'biMzd':function(_0x137692,_0x4929f2,_0x2f2456,_0x2821c7){return _0x137692(_0x4929f2,_0x2f2456,_0x2821c7);},'UMvob':_0x15d5f6(0xb1),'PVyLO':_0x15d5f6(0xe3),'HJkVb':function(_0x2cabae,_0x31f64d){return _0x2cabae===_0x31f64d;},'pLHqE':_0x15d5f6(0xd1),'cpkJt':_0x15d5f6(0x87),'FOdVZ':'close','JsqwP':'error','uoJHT':function(_0x2c48f0,_0x1bb363){return _0x2c48f0(_0x1bb363);},'yzWRo':_0x15d5f6(0x105),'PwnBT':function(_0xc2ca){return _0xc2ca();},'aOOZV':function(_0x2e13d7,_0x20eba4,_0x4e2823,_0x2c0b8f){return _0x2e13d7(_0x20eba4,_0x4e2823,_0x2c0b8f);},'nirJf':function(_0x576581,_0x1372e7){return _0x576581!=_0x1372e7;},'UPWPX':'true','BepaW':function(_0x365e1d,_0x348dde){return _0x365e1d(_0x348dde);},'ZpGCP':function(_0x5e4df5,_0x4d7d6e){return _0x5e4df5(_0x4d7d6e);},'iasfx':function(_0xc5b4cb,_0x1ee27d,_0x2e6d08){return _0xc5b4cb(_0x1ee27d,_0x2e6d08);},'pwYYF':function(_0x545c06,_0x3eef2e){return _0x545c06*_0x3eef2e;},'pIBSi':function(_0x1f8763,_0x45f671){return _0x1f8763(_0x45f671);},'DdpEZ':_0x15d5f6(0xd7),'VTTno':function(_0x30bda5,_0x40f067){return _0x30bda5(_0x40f067);},'rrkKO':function(_0x48fa2b,_0x167141){return _0x48fa2b(_0x167141);},'sVHlz':function(_0x386ddc,_0xde132c){return _0x386ddc<_0xde132c;},'NRIbX':function(_0x1068fe,_0x47336f){return _0x1068fe(_0x47336f);},'iyWOQ':function(_0x9a2c82,_0x5b120d){return _0x9a2c82>_0x5b120d;},'LxAcT':function(_0x190a55,_0x53d69a){return _0x190a55(_0x53d69a);}},_0x14fcd6=helper[_0x15d5f6(0x79)](_0x5e1e48['yzWRo']);global[_0x15d5f6(0x88)]=!!_0x14fcd6;const _0x1137b2=_0x5e1e48['PwnBT'](getPuppeteerVersion);global[_0x15d5f6(0x97)]=!!_0x1137b2;helper[_0x15d5f6(0x102)]()&&(await _0x4590c3[_0x15d5f6(0x89)](_0x479333),await helper[_0x15d5f6(0xa9)](_0x4590c3[_0x15d5f6(0xad)]));if(_0x14fcd6)await _0x5e1e48[_0x15d5f6(0xdc)](checkPwandBootstrapCli,_0x14fcd6,constants[_0x15d5f6(0xe5)][_0x15d5f6(0xc9)],_0x4590c3);else _0x1137b2&&await _0x5e1e48[_0x15d5f6(0xae)](checkPuppeteerAndBootstrapCli,_0x1137b2,constants[_0x15d5f6(0xe5)]['JASMINE'],_0x4590c3);if(!_0x4590c3[_0x15d5f6(0xad)])return;_0x5e1e48[_0x15d5f6(0xd3)](_0x4590c3[_0x15d5f6(0xad)]['testObservability'],null)?process['env'][_0x15d5f6(0xa8)]=_0x4590c3[_0x15d5f6(0xad)][_0x15d5f6(0x85)]:process[_0x15d5f6(0x100)][_0x15d5f6(0xa8)]=_0x5e1e48[_0x15d5f6(0x99)];!helper['isUndefined'](_0x4590c3[_0x15d5f6(0xad)][_0x15d5f6(0x109)])&&(process[_0x15d5f6(0x100)][_0x15d5f6(0xe8)]=JSON[_0x15d5f6(0xc2)](_0x4590c3[_0x15d5f6(0xad)][_0x15d5f6(0x109)]));try{await TestHubHandler[_0x15d5f6(0xfd)](FRAMEWORKS[_0x15d5f6(0xc9)],_0x4590c3);}catch(_0x2e24bf){logger[_0x15d5f6(0x77)](_0x15d5f6(0x10c)+util[_0x15d5f6(0x10e)](_0x2e24bf)),_0x5e1e48[_0x15d5f6(0x108)](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util['format'](_0x2e24bf));}let _0x170e4b=![],_0x40c3ab=[];try{_0x170e4b=helper[_0x15d5f6(0x10a)](_0x4590c3[_0x15d5f6(0xad)]),_0x40c3ab=helper[_0x15d5f6(0x107)](_0x4590c3[_0x15d5f6(0xad)],_0x170e4b,constants[_0x15d5f6(0xe5)]['JASMINE']),process[_0x15d5f6(0x100)][_0x15d5f6(0xd8)]=JSON[_0x15d5f6(0xc2)](_0x40c3ab);}catch(_0x53d891){_0x5e1e48[_0x15d5f6(0xda)](debug,_0x15d5f6(0x7e)+util[_0x15d5f6(0x10e)](_0x53d891));}let _0x39fa80=null,_0x1dcea4=![];try{_0x39fa80=helper[_0x15d5f6(0xa5)](_0x4590c3[_0x15d5f6(0xad)]),_0x1dcea4=helper[_0x15d5f6(0xf9)](_0x4590c3[_0x15d5f6(0xad)]);}catch(_0x5ddf13){_0x5e1e48[_0x15d5f6(0xc5)](debug,_0x15d5f6(0x8b)+util[_0x15d5f6(0x10e)](_0x5ddf13));}const _0x42e4fa=_0x4841a5=>{const _0x103467=_0x15d5f6,_0x2b21d4=Array['isArray'](_0x40c3ab)&&_0x5e1e48[_0x103467(0xbc)](_0x40c3ab['length'],_0x4841a5)?_0x40c3ab[_0x4841a5]:Array[_0x103467(0x90)](_0x40c3ab)&&_0x5e1e48[_0x103467(0xbc)](_0x40c3ab[_0x103467(0x93)],0x0)?_0x40c3ab[0x0]:{};return{'server':_0x39fa80,'capability':_0x2b21d4,'proxySettings':_0x4590c3[_0x103467(0xad)]['proxySettings'],'platform':helper[_0x103467(0xfb)](_0x2b21d4),'browserStackLogLevel':_0x4590c3[_0x103467(0xad)][_0x103467(0xe7)],'platformIndex':_0x4841a5,'framework':constants[_0x103467(0xe5)]['JASMINE'],'platformCaps':_0x1dcea4?Object['assign']({'index':_0x4841a5},_0x4590c3['config']['platforms'][_0x4841a5]):{'index':_0x4841a5}};};let _0x4d0a33=0x1,_0x4e254c=0x1,_0x34cb65=0x1;try{_0x4d0a33=_0x5e1e48['iasfx'](getMaxWorkers,_0x479333,_0x4590c3[_0x15d5f6(0xad)]),_0x4e254c=_0x1dcea4?_0x4590c3[_0x15d5f6(0xad)][_0x15d5f6(0x106)][_0x15d5f6(0x93)]:0x1,_0x34cb65=_0x5e1e48[_0x15d5f6(0xcd)](_0x4e254c,_0x4d0a33),process[_0x15d5f6(0x100)][_0x15d5f6(0xcb)]=_0x5e1e48['pIBSi'](String,_0x34cb65);}catch(_0x5f3496){_0x5e1e48[_0x15d5f6(0xda)](debug,'Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20'+util[_0x15d5f6(0x10e)](_0x5f3496));}try{BrowserstackCLI['getInstance']()['binSessionId']&&(process[_0x15d5f6(0x100)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x15d5f6(0xc3)]()[_0x15d5f6(0xe0)]);}catch(_0x3ed39d){_0x5e1e48[_0x15d5f6(0xda)](debug,_0x15d5f6(0xfe)+util[_0x15d5f6(0x10e)](_0x3ed39d));}const _0x3e5b16=[];try{const _0x1b996d=path[_0x15d5f6(0x9c)](__dirname,_0x5e1e48['DdpEZ']);fs['existsSync'](_0x1b996d)?_0x3e5b16[_0x15d5f6(0x104)]('--helper='+_0x1b996d):_0x5e1e48[_0x15d5f6(0xc8)](debug,'Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20'+_0x1b996d+';\x20proceeding\x20without\x20injection');}catch(_0x1ef084){_0x5e1e48[_0x15d5f6(0x7f)](debug,_0x15d5f6(0x91)+util[_0x15d5f6(0x10e)](_0x1ef084));}const _0x2a5d29=_0x59d07b[_0x15d5f6(0xe2)](0x1),_0x2df379=_0x5e1e48[_0x15d5f6(0x83)](enumerateSpecFiles,_0x59d07b),_0x2b417d=[];for(let _0x203ac5=0x0;_0x5e1e48[_0x15d5f6(0xbb)](_0x203ac5,_0x4e254c);_0x203ac5++){if(_0x5e1e48[_0x15d5f6(0xbc)](_0x4d0a33,0x1)&&Array[_0x15d5f6(0x90)](_0x2df379)&&_0x5e1e48[_0x15d5f6(0xdb)](_0x2df379['length'],0x0))for(const _0x2e04bf of _0x2df379){const _0x5de1c0={};_0x5de1c0[_0x15d5f6(0x110)]=_0x203ac5,_0x5de1c0[_0x15d5f6(0x8a)]=[_0x2e04bf],_0x2b417d[_0x15d5f6(0x104)](_0x5de1c0);}else{const _0x3a4a0e={};_0x3a4a0e[_0x15d5f6(0x110)]=_0x203ac5,_0x3a4a0e[_0x15d5f6(0x8a)]=_0x2df379,_0x2b417d['push'](_0x3a4a0e);}}logger[_0x15d5f6(0xbe)](_0x15d5f6(0x9d)+_0x4e254c+_0x15d5f6(0xb6)+_0x4d0a33+'\x20('+_0x2b417d[_0x15d5f6(0x93)]+_0x15d5f6(0xe1)+_0x34cb65+_0x15d5f6(0x78)),PerformanceTester[_0x15d5f6(0xb4)](PerformanceEvents['SDK_SETUP']);const _0x583ade=_0x3c54ba=>new Promise(_0x1e2fd4=>{const _0x9f2432=_0x15d5f6,_0x185d9e={'ORizP':function(_0x4072a6,_0x240e80){const _0x5acab1=a18_0x4a74;return _0x5e1e48[_0x5acab1(0xc8)](_0x4072a6,_0x240e80);}};let _0x5b3747;try{const _0x3a87dc=_0x5e1e48[_0x9f2432(0x80)](_0x42e4fa,_0x3c54ba[_0x9f2432(0x110)]);_0x5b3747=Object[_0x9f2432(0x96)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x3a87dc),'BROWSERSTACK_CAPABILITIES':JSON['stringify']([_0x3a87dc[_0x9f2432(0x7c)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x257a42){_0x5e1e48[_0x9f2432(0xce)](debug,_0x9f2432(0x7b)+_0x3c54ba[_0x9f2432(0x110)]+_0x9f2432(0x103)+util['format'](_0x257a42)),_0x5b3747=Object[_0x9f2432(0x96)]({},process[_0x9f2432(0x100)]);}const _0x14771e=Array['isArray'](_0x3c54ba[_0x9f2432(0x8a)])?_0x3c54ba[_0x9f2432(0x8a)]:[],_0x29e2f7=_0x5e1e48[_0x9f2432(0xdb)](_0x14771e[_0x9f2432(0x93)],0x0)?_0x2a5d29['filter'](_0x42c015=>typeof _0x42c015==='string'&&_0x42c015['startsWith']('-')):_0x2a5d29,_0x9b8abb=[..._0x3e5b16,..._0x29e2f7,..._0x14771e];try{const _0x5272ba=_0x5e1e48[_0x9f2432(0xdc)](spawn,_0x5e1e48[_0x9f2432(0xeb)],[_0x5e1e48['PVyLO'],..._0x9b8abb],{'shell':_0x5e1e48[_0x9f2432(0xfc)](process[_0x9f2432(0x92)],_0x5e1e48[_0x9f2432(0xac)]),'stdio':_0x5e1e48['cpkJt'],'env':_0x5b3747});_0x5272ba['on'](_0x5e1e48[_0x9f2432(0xdd)],_0x25c585=>{const _0x275534=_0x9f2432;logger[_0x275534(0x95)](_0x275534(0xf1)+_0x3c54ba['platformIndex']+',\x20specs='+(_0x14771e[_0x275534(0x93)]?_0x14771e[_0x275534(0xdf)](','):_0x5e1e48['scuaR'])+_0x275534(0xfa)+_0x25c585),_0x5e1e48[_0x275534(0xca)](_0x1e2fd4,_0x5e1e48[_0x275534(0x82)](_0x25c585,0x0));}),_0x5272ba['on'](_0x5e1e48[_0x9f2432(0xa2)],_0x2c5209=>{const _0x92c4d4=_0x9f2432;_0x185d9e[_0x92c4d4(0xf5)](debug,_0x92c4d4(0xba)+_0x3c54ba[_0x92c4d4(0x110)]+')\x20:\x20'+util[_0x92c4d4(0x10e)](_0x2c5209)),_0x185d9e['ORizP'](_0x1e2fd4,0x1);});}catch(_0x53bada){_0x5e1e48[_0x9f2432(0xc5)](debug,_0x9f2432(0x111)+_0x3c54ba[_0x9f2432(0x110)]+_0x9f2432(0xf3)+util['format'](_0x53bada)),_0x5e1e48[_0x9f2432(0xca)](_0x1e2fd4,0x1);}}),_0x5105ab=_0x5e1e48[_0x15d5f6(0x10d)](pLimit,_0x5e1e48[_0x15d5f6(0x7d)](_0x34cb65,0x0)?_0x34cb65:0x1),_0x3229fa=await Promise[_0x15d5f6(0x81)](_0x2b417d[_0x15d5f6(0xf4)](_0x2fcbb2=>_0x5105ab(()=>_0x583ade(_0x2fcbb2))));PerformanceTester[_0x15d5f6(0x10f)](PerformanceEvents[_0x15d5f6(0xaa)]);const _0x5ad715=_0x3229fa[_0x15d5f6(0xc0)](_0x80a9e5=>_0x80a9e5!==0x0)||0x0;process[_0x15d5f6(0xf6)]=_0x5ad715,logger[_0x15d5f6(0x95)]('All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20'+_0x5ad715);const _0x19fa00=BrowserstackCLI[_0x15d5f6(0x84)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0x15d5f6(0xf8)]();}catch(_0x2388d4){_0x5e1e48['LxAcT'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x15d5f6(0x10e)](_0x2388d4));}testOpsHelper[_0x15d5f6(0xea)](),await utilities['finalExecution'](_0x4590c3,_0x19fa00);}module[a18_0x571564(0xaf)]=run;function a18_0x4d68(){const _0xe712cd=['\x20platform(s),\x20parallelsPerPlatform=','../../helpers/testhub/testhubHandler','globSync','UKeYj','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','sVHlz','itAAQ','ALFqy','info','AFwpZ','find','util','stringify','getInstance','spec_files','uoJHT','gDCtB','**/*[sS]pec.?(m)js','sWtJS','JASMINE','dtmXj','BROWSERSTACK_JASMINE_PARALLELS','../../helpers/performance/performance-tester','pwYYF','YljpX','existsSync','winstonLogger','win32','p-limit','nirJf','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','329440bIKanj','255913xFTfZa','test.setup.js','BROWSERSTACK_CAPABILITIES','xwDYN','ZpGCP','caVtA','biMzd','FOdVZ','uvXsL','join','binSessionId','\x20work-item(s),\x20max\x20','slice','jasmine','isUndefined','FRAMEWORKS','2877kGtzAk','logLevel','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','1484224sjmvdM','printBuildLink','UMvob','10sgCHsw','iCgBO','LzzEs','iRMgN','cwd','jasmine\x20child\x20(platformIndex=','OnBSo',')\x20:\x20','map','ORizP','exitCode','../../helpers/utilities','stop','validPlatformsPresent',')\x20exited\x20with\x20code\x20','getPlatformName','HJkVb','launchBuild','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','18zdphAY','env','parseFileNames','isBrowserstackInfra','\x20:\x20','push','@playwright/test','platforms','prepareCapabilities','BepaW','accessibilityOptions','useW3C','../../helpers/logger','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','NRIbX','format','start','platformIndex','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','maxWorkers','../utils/constants','error','\x20concurrent)','getPackageVersion','utf8','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','capability','iyWOQ','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','VTTno','mMFBl','all','MHhKO','rrkKO','isCLIEnabled','testObservability','readFileSync','inherit','__isPlaywrightInstalled','initialize','specArgs','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','../../helpers/puppeteer-helper','3962772PnhdwK','spec/support/jasmine.json','filter','isArray','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','platform','length','1146DwsltA','debug','assign','__isPuppeteerInstalled','14208hanQcx','UPWPX','237VSgEnm','yNaiy','resolve','Running\x20your\x20Jasmine\x20tests\x20across\x20','parallelsPerPlatform','../../helpers/test-observability/constants','JASMINE_CONFIG_PATH','child_process','JsqwP','../../helpers/test-observability/utils','2986461pZkAWh','getHubUrl','\x27\x20:\x20','path','BROWSERSTACK_TEST_OBSERVABILITY_YML','handleApp','SDK_CLEANUP','../../helpers/performance/constants','pLHqE','config','aOOZV','exports','shouldReRunObservabilityTests','npx','from','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','end','EVENTS'];a18_0x4d68=function(){return _0xe712cd;};return a18_0x4d68();}
@@ -1 +1 @@
1
- 'use strict';const a19_0x37517b=a19_0x6719;(function(_0x1c1550,_0x4c38ae){const _0x370bd1=a19_0x6719,_0x43f10d=_0x1c1550();while(!![]){try{const _0x3917ee=-parseInt(_0x370bd1(0x1f9))/0x1*(parseInt(_0x370bd1(0x212))/0x2)+-parseInt(_0x370bd1(0x1bb))/0x3+-parseInt(_0x370bd1(0x1cb))/0x4*(-parseInt(_0x370bd1(0x1d5))/0x5)+-parseInt(_0x370bd1(0x1c7))/0x6+-parseInt(_0x370bd1(0x1d1))/0x7+-parseInt(_0x370bd1(0x20c))/0x8+parseInt(_0x370bd1(0x1c3))/0x9;if(_0x3917ee===_0x4c38ae)break;else _0x43f10d['push'](_0x43f10d['shift']());}catch(_0x159c2e){_0x43f10d['push'](_0x43f10d['shift']());}}}(a19_0x2d4a,0x6ac5b));const util=require(a19_0x37517b(0x1cf)),logger=require(a19_0x37517b(0x1d6))['winstonLogger'],helper=require(a19_0x37517b(0x1e8)),globals=require(a19_0x37517b(0x1bf)),{shouldProcessEventForTesthub}=require(a19_0x37517b(0x1da)),testHubConstants=require(a19_0x37517b(0x1e3)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x37517b(0x1ed)),accessibilityRetryHelper=require(a19_0x37517b(0x1d0)),testRunMap=require(a19_0x37517b(0x1e4));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x37517b(0x1bc)][a19_0x37517b(0x1aa)]||process[a19_0x37517b(0x1bc)]['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a19_0x2c138c){logger[a19_0x37517b(0x223)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x37517b(0x1c5)](a19_0x2c138c));}try{if(_bstackConfig&&!helper[a19_0x37517b(0x217)]('@playwright/test')){const TvkXeu=a19_0x37517b(0x1ad)[a19_0x37517b(0x21e)]('|');let XnVHvc=0x0;while(!![]){switch(TvkXeu[XnVHvc++]){case'0':logger[a19_0x37517b(0x223)]('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'1':global[a19_0x37517b(0x1d2)]=_bstackConfig[a19_0x37517b(0x1a5)];continue;case'2':global[a19_0x37517b(0x1b5)]=_bstackConfig[a19_0x37517b(0x1ac)]||{};continue;case'3':helper['isBrowserstackInfra']()?(global[a19_0x37517b(0x1a6)]=helper[a19_0x37517b(0x1dd)](_bstackConfig[a19_0x37517b(0x220)]),global[a19_0x37517b(0x1be)]=helper[a19_0x37517b(0x1dd)](_bstackConfig['skipSessionStatus'])):(global[a19_0x37517b(0x1a6)]=!![],global['__skipSessionStatus']=!![]);continue;case'4':shouldProcessEventForTesthub()?require(a19_0x37517b(0x1dc))[a19_0x37517b(0x1ff)](_bstackConfig,null,!![]):require('../../index')[a19_0x37517b(0x1ff)](_bstackConfig);continue;}break;}}}catch(a19_0x2bab84){logger['debug'](a19_0x37517b(0x1a4)+util[a19_0x37517b(0x1c5)](a19_0x2bab84));}const _fileNameByFullName={};try{if(typeof describe===a19_0x37517b(0x1f0)&&typeof global!==a19_0x37517b(0x1d7)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x227ad7=a19_0x37517b,_0x29d049={'aBBmz':function(_0x3698f5,_0x3439dd){return _0x3698f5(_0x3439dd);},'wHOnZ':_0x227ad7(0x1fa),'Tfoqz':function(_0x3a4f04,_0x5d9bb4){return _0x3a4f04(_0x5d9bb4);},'uzItX':_0x227ad7(0x1c9),'bbNkH':'jasmine-core'},_0x4e40b5=Error['prepareStackTrace'];try{const _0x2551d3=new Error();Error['prepareStackTrace']=(_0x121656,_0x41f144)=>_0x41f144;const _0x1c35fb=_0x2551d3[_0x227ad7(0x210)];Error[_0x227ad7(0x1f2)]=_0x4e40b5;if(Array[_0x227ad7(0x1a7)](_0x1c35fb))for(const _0x5a5f74 of _0x1c35fb){const _0x5168f3=_0x5a5f74[_0x227ad7(0x1e7)]&&_0x5a5f74['getFileName']();if(_0x5168f3&&!_0x5168f3[_0x227ad7(0x1b8)](_0x227ad7(0x1f7)+_0x29d049[_0x227ad7(0x1c2)](require,_0x29d049['wHOnZ'])[_0x227ad7(0x1fc)]+_0x227ad7(0x21b)+_0x29d049['Tfoqz'](require,_0x29d049[_0x227ad7(0x20b)])[_0x227ad7(0x1fc)])&&!_0x5168f3[_0x227ad7(0x1e5)](_0x29d049[_0x227ad7(0x222)])&&!_0x5168f3[_0x227ad7(0x1b8)](_0x29d049[_0x227ad7(0x221)]))return _0x5168f3;}}catch(_0x168f52){Error[_0x227ad7(0x1f2)]=_0x4e40b5;}return null;},_wrappedDescribe=function(_0x5df016,_0x5d0ce7){const _0x3804d1=a19_0x37517b,_0x9de1b6={'WHZqi':function(_0x9c6707){return _0x9c6707();},'CzrIv':function(_0x29e155,_0x121e10){return _0x29e155&&_0x121e10;},'mNcBX':function(_0xaf9ca4,_0x590cdc,_0x2b85e0){return _0xaf9ca4(_0x590cdc,_0x2b85e0);}};let _0x3fda5b=null;try{_0x3fda5b=_0x9de1b6['WHZqi'](_resolveCallerFile);}catch(_0x1d1dba){}_describeTitleStack['push'](_0x5df016);const _0x3d40ef=_describeTitleStack[_0x3804d1(0x1b2)]('\x20');_0x9de1b6['CzrIv'](_0x3fda5b,_0x3d40ef)&&(_fileNameByFullName[_0x3d40ef]=_0x3fda5b);try{return _0x9de1b6[_0x3804d1(0x21f)](_origDescribe,_0x5df016,_0x5d0ce7);}finally{_describeTitleStack[_0x3804d1(0x1af)]();}};Object['keys'](_origDescribe)[a19_0x37517b(0x213)](_0x5a16b7=>{_wrappedDescribe[_0x5a16b7]=_origDescribe[_0x5a16b7];}),global[a19_0x37517b(0x1f3)]=_wrappedDescribe;}}catch(a19_0x1cdc37){logger[a19_0x37517b(0x223)](a19_0x37517b(0x216)+util['format'](a19_0x1cdc37));}function a19_0x6719(_0x566982,_0x63a87c){const _0x2d4a41=a19_0x2d4a();return a19_0x6719=function(_0x671994,_0x580cf3){_0x671994=_0x671994-0x1a2;let _0x4aace7=_0x2d4a41[_0x671994];return _0x4aace7;},a19_0x6719(_0x566982,_0x63a87c);}try{if(typeof jasmine!==a19_0x37517b(0x1d7)&&jasmine[a19_0x37517b(0x205)]){const BrowserStackJasmineReporter=require(a19_0x37517b(0x1d3)),a19_0x53e2bb={};a19_0x53e2bb['fileNameByFullName']=_fileNameByFullName,jasmine[a19_0x37517b(0x205)]()[a19_0x37517b(0x1c8)](new BrowserStackJasmineReporter(a19_0x53e2bb)),logger[a19_0x37517b(0x223)](a19_0x37517b(0x20e));}else logger[a19_0x37517b(0x223)]('[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered');}catch(a19_0x13e783){logger[a19_0x37517b(0x223)](a19_0x37517b(0x204)+util['format'](a19_0x13e783));}function a19_0x2d4a(){const _0x71a64d=['MUKnk','../../index','isTrue','fullName','__sessionFailed','pzLab','failedExpectations','sessionNameSet__','../../helpers/testhub/constants','./testRunMap','startsWith','BROWSERSTACK_TESTHUB_JWT','getFileName','../../helpers/helper','parse','isMobilePlatform','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','exports','../../helpers/accessibility-automation/helper','thBuildUuid','bstackA11yScanOptions','function','executeScript','prepareStackTrace','describe','performScanWithRetry','ZKJys','eUBCB','bin','adkmx','75RKojPq','path','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','sep','ENV_VAR','Failed:\x20','browserstackAgentV2','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getGlobal','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','getEnv','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','hxYVQ','\x22}}','wHOnZ','6213904uhafAa','message','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','gEYGV','stack','YsAap','816BvBLGh','forEach','DCYWv','warn','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','getPackageVersion','BROWSERSTACK_TESTHUB_UUID','fyewG','__drivers','jasmine','HvJKJ','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','split','mNcBX','skipSessionName','bbNkH','uzItX','debug','setGlobal','dYdqx','furnr','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','platformIndex','__skipSessionName','isArray','autoScanning','Spec\x20failed','BROWSERSTACK_JASMINE_CONFIG','oBdly','platformCaps','0|4|2|1|3','stringify','pop','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','info','join','odiPg','gGaMk','__platformCaps','SEUkW','error','includes','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','765141pXRMUH','env','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','__skipSessionStatus','../../helpers/globals','fGCDn','thTestRunUuid','aBBmz','21068793CLoWtg','aiYUQ','format','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','4997112jambvq','addReporter','node:','Passed','112IsMKTg','sessionName','length','jDVME','util','../../helpers/accessibility-automation/accessibilityRetryHelper','4116203MzINIR','browserstackPlatformIndex','./bstack-reporter/customReporter','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','103505wKgWhV','../../helpers/logger','undefined','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','failed','../../helpers/testhub/utils'];a19_0x2d4a=function(){return _0x71a64d;};return a19_0x2d4a();}try{typeof jasmine!==a19_0x37517b(0x1d7)&&jasmine['getEnv']&&jasmine[a19_0x37517b(0x205)]()[a19_0x37517b(0x1c8)]({'specStarted'(_0x35f3b5){const _0x2ab12b=a19_0x37517b,_0x32630a={};_0x32630a[_0x2ab12b(0x21c)]=function(_0x101d9d,_0x4c4354){return _0x101d9d||_0x4c4354;};const _0x109945=_0x32630a;_activeResultId=_0x35f3b5&&_0x35f3b5['id'],_activeFullName=_0x35f3b5&&_0x35f3b5[_0x2ab12b(0x1de)],_activeResultRef=_0x109945[_0x2ab12b(0x21c)](_0x35f3b5,null);},'specDone'(){}});}catch(a19_0x477d15){logger[a19_0x37517b(0x223)](a19_0x37517b(0x1b9)+util['format'](a19_0x477d15));}const _resolveAutoScanning=()=>{const _0x24eee3=a19_0x37517b,_0x3de5a6={};_0x3de5a6['oBdly']=function(_0x48bc6a,_0x41f2e2){return _0x48bc6a===_0x41f2e2;};const _0x217996=_0x3de5a6;let _0x15e87a=!![];try{const _0x41e1e7=JSON[_0x24eee3(0x1e9)](process['env'][_0x24eee3(0x200)]||'{}');_0x217996[_0x24eee3(0x1ab)](_0x41e1e7[_0x24eee3(0x1a8)],![])&&(_0x15e87a=![]);}catch(_0x19aa83){logger[_0x24eee3(0x223)](_0x24eee3(0x1ba)+_0x19aa83['message']);}return _0x15e87a;};try{typeof beforeEach===a19_0x37517b(0x1f0)&&beforeEach(function bstackA11yBeforeEach(){const _0x760349=a19_0x37517b,_0x52a633={'DCYWv':function(_0x244c23){return _0x244c23();},'BRyue':function(_0x2e8114,_0x32b7a2,_0x71deb){return _0x2e8114(_0x32b7a2,_0x71deb);},'odiPg':function(_0x2d0eca,_0x4f4042){return _0x2d0eca&&_0x4f4042;},'EPFpL':'bstackA11yShouldScan','YsAap':_0x760349(0x1ef)};try{const _0x1f7716=_0x52a633[_0x760349(0x214)](_resolveAutoScanning),_0x5ddad5=_0x52a633['BRyue'](shouldScanTestForAccessibility,null,![]),_0x1a7513=_0x52a633[_0x760349(0x1b3)](_0x1f7716,_0x5ddad5);globals[_0x760349(0x224)](_0x52a633['EPFpL'],_0x1a7513),globals[_0x760349(0x224)](_0x52a633[_0x760349(0x211)],null);}catch(_0xc694e5){logger[_0x760349(0x223)](_0x760349(0x1fb)+util[_0x760349(0x1c5)](_0xc694e5));}}),typeof afterEach===a19_0x37517b(0x1f0)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x17179a=a19_0x37517b,_0xf8eb4c={'dYdqx':function(_0x43f6aa,_0x3eed2c){return _0x43f6aa>_0x3eed2c;},'pzLab':_0x17179a(0x1a9),'ZKJys':function(_0x260884,_0x1cdb77){return _0x260884+_0x1cdb77;},'fyewG':_0x17179a(0x1fe),'gGaMk':_0x17179a(0x1ca),'MUKnk':'error','krbpR':_0x17179a(0x1b1),'hxYVQ':_0x17179a(0x1d9),'furnr':'passed','jDVME':function(_0xfd0646){return _0xfd0646();},'adkmx':'isAccessibilityPlatform','fGCDn':'bstackA11yShouldScan','LWsSR':_0x17179a(0x1eb),'hidXA':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','gEYGV':_0x17179a(0x21d),'tzCbu':_0x17179a(0x1bd),'SEUkW':_0x17179a(0x1ea),'eUBCB':_0x17179a(0x1d4),'aiYUQ':_0x17179a(0x1b0)};try{if(Array[_0x17179a(0x1a7)](global[_0x17179a(0x21a)])&&_0xf8eb4c[_0x17179a(0x1a2)](global[_0x17179a(0x21a)][_0x17179a(0x1cd)],0x0)&&global[_0x17179a(0x21a)][0x0]){const _0x21f877=_activeFullName||global[_0x17179a(0x1cc)];if(!global[_0x17179a(0x1a6)]&&_0x21f877){global[_0x17179a(0x1cc)]=_0x21f877;try{await global[_0x17179a(0x21a)][0x0]['executeScript'](_0x17179a(0x1c6)+JSON[_0x17179a(0x1ae)](_0x21f877)+'}}'),global[_0x17179a(0x21a)][0x0][_0x17179a(0x1e2)]=!![];}catch(_0x40b0dc){logger[_0x17179a(0x223)](_0x17179a(0x1d8)+util[_0x17179a(0x1c5)](_0x40b0dc));}}if(!global['__skipSessionStatus'])try{const _0x4449c4=_activeResultRef&&Array[_0x17179a(0x1a7)](_activeResultRef[_0x17179a(0x1e1)])?_activeResultRef[_0x17179a(0x1e1)]:[],_0x37b51c=_0xf8eb4c['dYdqx'](_0x4449c4[_0x17179a(0x1cd)],0x0),_0x58d6fa=_0x37b51c?_0x4449c4[0x0]&&_0x4449c4[0x0][_0x17179a(0x20d)]||_0xf8eb4c[_0x17179a(0x1e0)]:null;try{await global[_0x17179a(0x21a)][0x0][_0x17179a(0x1f1)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON[_0x17179a(0x1ae)](_0x37b51c?_0xf8eb4c[_0x17179a(0x1f5)](_0xf8eb4c[_0x17179a(0x219)],_0x58d6fa):_0xf8eb4c[_0x17179a(0x1b4)])+',\x22level\x22:\x20\x22'+(_0x37b51c?_0xf8eb4c[_0x17179a(0x1db)]:_0xf8eb4c['krbpR'])+_0x17179a(0x20a));}catch(_0x4918a9){logger[_0x17179a(0x223)](_0x17179a(0x203)+util['format'](_0x4918a9));}_0x37b51c&&(global[_0x17179a(0x1df)]=!![]),await helper['markSessionStatus'](global['__drivers'][0x0],_0x37b51c?_0xf8eb4c[_0x17179a(0x209)]:_0xf8eb4c[_0x17179a(0x1a3)],_0x58d6fa);}catch(_0x38f6f1){logger['debug'](_0x17179a(0x208)+util[_0x17179a(0x1c5)](_0x38f6f1));}}}catch(_0x31b5f2){logger[_0x17179a(0x223)](_0x17179a(0x207)+util['format'](_0x31b5f2));}try{if(_0xf8eb4c[_0x17179a(0x1ce)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0xf8eb4c[_0x17179a(0x1f8)])&&Array['isArray'](global[_0x17179a(0x21a)])&&_0xf8eb4c['dYdqx'](global[_0x17179a(0x21a)]['length'],0x0)&&global[_0x17179a(0x21a)][0x0]){const _0x47b6cd=testRunMap['get'](_activeResultId),_0x2353c8={};_0x2353c8[_0x17179a(0x1c1)]=_0x47b6cd,_0x2353c8[_0x17179a(0x1ee)]=process['env'][testHubConstants[_0x17179a(0x1fd)][_0x17179a(0x218)]],_0x2353c8['thJwtToken']=process[_0x17179a(0x1bc)][testHubConstants[_0x17179a(0x1fd)][_0x17179a(0x1e6)]];const _0x2c39a1=_0x2353c8;logger['debug']('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x17179a(0x1ae)](_0x2c39a1));if(globals[_0x17179a(0x201)](_0xf8eb4c[_0x17179a(0x1c0)])){logger[_0x17179a(0x223)](_0xf8eb4c['LWsSR']);const _0x142d38=await accessibilityRetryHelper[_0x17179a(0x1f4)](global[_0x17179a(0x21a)][0x0],global['browserstackSessionName']);_0x142d38?logger[_0x17179a(0x223)](_0xf8eb4c['hidXA']):logger['warn'](_0xf8eb4c[_0x17179a(0x20f)]);}else logger['debug'](_0xf8eb4c['tzCbu']);globals[_0x17179a(0x201)](_0xf8eb4c[_0x17179a(0x1b6)])&&(_0x2c39a1['is_mobile_session']=!![]);const _0x22e2fd=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x17179a(0x21a)][0x0],_0x2c39a1);_0x22e2fd?logger[_0x17179a(0x223)](_0xf8eb4c[_0x17179a(0x1f6)]):logger[_0x17179a(0x215)](_0xf8eb4c[_0x17179a(0x1c4)]);}}catch(_0x4a1346){logger[_0x17179a(0x1b7)](_0x17179a(0x202)+util[_0x17179a(0x1c5)](_0x4a1346));}});}catch(a19_0x38cc33){logger['debug'](a19_0x37517b(0x206)+util[a19_0x37517b(0x1c5)](a19_0x38cc33));}module[a19_0x37517b(0x1ec)]={};
1
+ 'use strict';const a19_0x1b1980=a19_0x5f3a;(function(_0x29fd7f,_0x5f4e45){const _0x5a0179=a19_0x5f3a,_0x4e764a=_0x29fd7f();while(!![]){try{const _0x1b776f=-parseInt(_0x5a0179(0x1a8))/0x1+parseInt(_0x5a0179(0x1ba))/0x2+parseInt(_0x5a0179(0x1f0))/0x3*(parseInt(_0x5a0179(0x18d))/0x4)+-parseInt(_0x5a0179(0x1a5))/0x5*(-parseInt(_0x5a0179(0x19f))/0x6)+parseInt(_0x5a0179(0x1f7))/0x7+parseInt(_0x5a0179(0x1c3))/0x8*(parseInt(_0x5a0179(0x1eb))/0x9)+-parseInt(_0x5a0179(0x1a7))/0xa*(parseInt(_0x5a0179(0x1d8))/0xb);if(_0x1b776f===_0x5f4e45)break;else _0x4e764a['push'](_0x4e764a['shift']());}catch(_0x172484){_0x4e764a['push'](_0x4e764a['shift']());}}}(a19_0x495e,0x1f9d9));const util=require(a19_0x1b1980(0x1c7)),logger=require(a19_0x1b1980(0x185))['winstonLogger'],helper=require(a19_0x1b1980(0x18f)),globals=require(a19_0x1b1980(0x1be)),{shouldProcessEventForTesthub}=require(a19_0x1b1980(0x1bf)),testHubConstants=require(a19_0x1b1980(0x1ab)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a19_0x1b1980(0x1ad)),testRunMap=require(a19_0x1b1980(0x18a));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env'][a19_0x1b1980(0x203)]||process['env']['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x1b1980(0x1dd)](rawConfig));}catch(a19_0x5758bf){logger[a19_0x1b1980(0x1f3)](a19_0x1b1980(0x1b6)+util['format'](a19_0x5758bf));}try{if(_bstackConfig&&!helper['getPackageVersion']('@playwright/test')){const kYjBnK='4|2|0|3|1'[a19_0x1b1980(0x1c2)]('|');let cWrppr=0x0;while(!![]){switch(kYjBnK[cWrppr++]){case'0':global['__platformCaps']=_bstackConfig['platformCaps']||{};continue;case'1':helper[a19_0x1b1980(0x1cf)]()?(global[a19_0x1b1980(0x1b8)]=helper[a19_0x1b1980(0x1fc)](_bstackConfig[a19_0x1b1980(0x1aa)]),global[a19_0x1b1980(0x1b0)]=helper[a19_0x1b1980(0x1fc)](_bstackConfig[a19_0x1b1980(0x1d0)])):(global[a19_0x1b1980(0x1b8)]=!![],global[a19_0x1b1980(0x1b0)]=!![]);continue;case'2':shouldProcessEventForTesthub()?require(a19_0x1b1980(0x192))['browserstackAgentV2'](_bstackConfig,null,!![]):require(a19_0x1b1980(0x192))[a19_0x1b1980(0x188)](_bstackConfig);continue;case'3':global[a19_0x1b1980(0x1e3)]=_bstackConfig[a19_0x1b1980(0x1e4)];continue;case'4':logger['debug'](a19_0x1b1980(0x1d3));continue;}break;}}}catch(a19_0x3d5333){logger[a19_0x1b1980(0x1f3)](a19_0x1b1980(0x197)+util['format'](a19_0x3d5333));}const _fileNameByFullName={};try{if(typeof describe===a19_0x1b1980(0x1b4)&&typeof global!==a19_0x1b1980(0x1f6)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x1c1a0c=a19_0x1b1980,_0x38739f={'GHXMC':function(_0xcfa642,_0x358b1f){return _0xcfa642(_0x358b1f);},'ILAFj':'path','OSyQi':function(_0x2f1ffa,_0x1d81ea){return _0x2f1ffa(_0x1d81ea);},'qNZtz':_0x1c1a0c(0x1f9),'lnupq':_0x1c1a0c(0x184)},_0x4cd0d5=Error[_0x1c1a0c(0x1a1)];try{const _0x2b5a5e=new Error();Error[_0x1c1a0c(0x1a1)]=(_0x1fc706,_0x2f225e)=>_0x2f225e;const _0x49fb29=_0x2b5a5e[_0x1c1a0c(0x1ce)];Error[_0x1c1a0c(0x1a1)]=_0x4cd0d5;if(Array[_0x1c1a0c(0x1dc)](_0x49fb29))for(const _0x136767 of _0x49fb29){const _0x179566=_0x136767['getFileName']&&_0x136767[_0x1c1a0c(0x1b2)]();if(_0x179566&&!_0x179566[_0x1c1a0c(0x1ec)]('bin'+_0x38739f['GHXMC'](require,_0x38739f[_0x1c1a0c(0x1c1)])['sep']+_0x1c1a0c(0x196)+_0x38739f[_0x1c1a0c(0x1a6)](require,_0x38739f[_0x1c1a0c(0x1c1)])[_0x1c1a0c(0x1d7)])&&!_0x179566['startsWith'](_0x38739f['qNZtz'])&&!_0x179566[_0x1c1a0c(0x1ec)](_0x38739f[_0x1c1a0c(0x19c)]))return _0x179566;}}catch(_0x11557b){Error[_0x1c1a0c(0x1a1)]=_0x4cd0d5;}return null;},_wrappedDescribe=function(_0x5cfa5a,_0x5eca91){const _0x487951=a19_0x1b1980,_0x30b904={'yVNHM':function(_0x1dca1d){return _0x1dca1d();},'tHGRa':function(_0x881e9a,_0x5dadf5){return _0x881e9a&&_0x5dadf5;},'HxpoP':function(_0x196c79,_0x151ba1,_0x213953){return _0x196c79(_0x151ba1,_0x213953);}};let _0x1a7d3f=null;try{_0x1a7d3f=_0x30b904[_0x487951(0x1e5)](_resolveCallerFile);}catch(_0x8f155b){}_describeTitleStack[_0x487951(0x187)](_0x5cfa5a);const _0x50c57c=_describeTitleStack['join']('\x20');_0x30b904[_0x487951(0x204)](_0x1a7d3f,_0x50c57c)&&(_fileNameByFullName[_0x50c57c]=_0x1a7d3f);try{return _0x30b904[_0x487951(0x19a)](_origDescribe,_0x5cfa5a,_0x5eca91);}finally{_describeTitleStack['pop']();}};Object[a19_0x1b1980(0x1f4)](_origDescribe)[a19_0x1b1980(0x1e7)](_0x4dc367=>{_wrappedDescribe[_0x4dc367]=_origDescribe[_0x4dc367];}),global['describe']=_wrappedDescribe;}}catch(a19_0x3865c7){logger['debug']('[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20'+util['format'](a19_0x3865c7));}function a19_0x5f3a(_0x13ea6e,_0x15391f){const _0x495e06=a19_0x495e();return a19_0x5f3a=function(_0x5f3a62,_0x396d8f){_0x5f3a62=_0x5f3a62-0x183;let _0x3bf040=_0x495e06[_0x5f3a62];return _0x3bf040;},a19_0x5f3a(_0x13ea6e,_0x15391f);}try{if(typeof jasmine!==a19_0x1b1980(0x1f6)&&jasmine[a19_0x1b1980(0x1a9)]){const BrowserStackJasmineReporter=require(a19_0x1b1980(0x19e)),a19_0x2ab8d9={};a19_0x2ab8d9[a19_0x1b1980(0x1c6)]=_fileNameByFullName,jasmine['getEnv']()[a19_0x1b1980(0x1c5)](new BrowserStackJasmineReporter(a19_0x2ab8d9)),logger[a19_0x1b1980(0x1f3)](a19_0x1b1980(0x1b5));}else logger[a19_0x1b1980(0x1f3)]('[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered');}catch(a19_0x1b00a6){logger[a19_0x1b1980(0x1f3)](a19_0x1b1980(0x1f5)+util[a19_0x1b1980(0x1d1)](a19_0x1b00a6));}function a19_0x495e(){const _0x15445a=['thBuildUuid','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','qXrjy','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','is_mobile_session','sep','11agLrxD','setGlobal','seWfT','EOPOG','isArray','parse','failedExpectations','JWtSW','GrbuQ','WvoDN','failed','browserstackPlatformIndex','platformIndex','yVNHM','uXzmL','forEach','length','IdvCW','passed','27bIBrXW','includes','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','markSessionStatus','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','74946NfChTz',',\x22level\x22:\x20\x22','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','debug','keys','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','undefined','1370642HyRUfZ','sessionNameSet__','node:','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','bstackA11yShouldScan','isTrue','bstackA11yScanOptions','env','BROWSERSTACK_TESTHUB_JWT','ENV_VAR','exports','nfKwH','BROWSERSTACK_JASMINE_CONFIG','tHGRa','error','executeScript','jasmine-core','../../helpers/logger','warn','push','browserstackAgentV2','saveAccessibilityResultsWithRetry','./testRunMap','DVmQT','BFXYc','32GgMCsl','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','../../helpers/helper','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','Failed:\x20','../../index','thJwtToken','get','jdnvb','jasmine','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','wEuCz','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','HxpoP','Spec\x20failed','lnupq','sessionName','./bstack-reporter/customReporter','36bfUnxX','stringify','prepareStackTrace','GfIZr','iaNjv','__drivers','210745BDkOnB','OSyQi','7323650YlUZNP','19383wsfICY','getEnv','skipSessionName','../../helpers/testhub/constants','getGlobal','../../helpers/accessibility-automation/accessibilityRetryHelper','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','autoScanning','__skipSessionStatus','message','getFileName','RvaXc','function','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','__skipSessionName','qAjBV','153294LmLlCa','yEYpt','__sessionFailed','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','../../helpers/globals','../../helpers/testhub/utils','thTestRunUuid','ILAFj','split','416112xoZPFp','XpgJd','addReporter','fileNameByFullName','util','ZxEAX','fullName','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','info','MZYJL','HnIrE','stack','isBrowserstackInfra','skipSessionStatus','format'];a19_0x495e=function(){return _0x15445a;};return a19_0x495e();}try{typeof jasmine!==a19_0x1b1980(0x1f6)&&jasmine[a19_0x1b1980(0x1a9)]&&jasmine[a19_0x1b1980(0x1a9)]()[a19_0x1b1980(0x1c5)]({'specStarted'(_0x517b0b){const _0x37c1d4=a19_0x1b1980,_0x51592a={};_0x51592a['UfzaJ']=function(_0x505d9b,_0x13fae3){return _0x505d9b||_0x13fae3;};const _0x89f9d0=_0x51592a;_activeResultId=_0x517b0b&&_0x517b0b['id'],_activeFullName=_0x517b0b&&_0x517b0b[_0x37c1d4(0x1c9)],_activeResultRef=_0x89f9d0['UfzaJ'](_0x517b0b,null);},'specDone'(){}});}catch(a19_0x425f80){logger[a19_0x1b1980(0x1f3)](a19_0x1b1980(0x190)+util[a19_0x1b1980(0x1d1)](a19_0x425f80));}const _resolveAutoScanning=()=>{const _0x5a0644=a19_0x1b1980,_0x121420={};_0x121420[_0x5a0644(0x1cd)]=function(_0xe4a750,_0x549935){return _0xe4a750===_0x549935;};const _0x433dde=_0x121420;let _0x769879=!![];try{const _0x4f10b8=JSON[_0x5a0644(0x1dd)](process[_0x5a0644(0x1fe)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x433dde[_0x5a0644(0x1cd)](_0x4f10b8[_0x5a0644(0x1af)],![])&&(_0x769879=![]);}catch(_0x5689db){logger['debug']('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x5689db['message']);}return _0x769879;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x57f62f=a19_0x1b1980,_0x42f4f5={'BFXYc':function(_0x570517){return _0x570517();},'RvaXc':function(_0x44e403,_0x41b0f1,_0x3a7493){return _0x44e403(_0x41b0f1,_0x3a7493);},'yEYpt':function(_0x309f38,_0xd36f7a){return _0x309f38&&_0xd36f7a;},'wEuCz':_0x57f62f(0x1fb),'UHZjw':_0x57f62f(0x1fd)};try{const _0x2445fd=_0x42f4f5[_0x57f62f(0x18c)](_resolveAutoScanning),_0x7ae30=_0x42f4f5[_0x57f62f(0x1b3)](shouldScanTestForAccessibility,null,![]),_0x53f911=_0x42f4f5[_0x57f62f(0x1bb)](_0x2445fd,_0x7ae30);globals['setGlobal'](_0x42f4f5[_0x57f62f(0x198)],_0x53f911),globals[_0x57f62f(0x1d9)](_0x42f4f5['UHZjw'],null);}catch(_0x497417){logger[_0x57f62f(0x1f3)](_0x57f62f(0x1ed)+util['format'](_0x497417));}}),typeof afterEach==='function'&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x243483=a19_0x1b1980,_0x12e857={'MZYJL':function(_0x4b79fe,_0x26ffaf){return _0x4b79fe>_0x26ffaf;},'uXzmL':_0x243483(0x19b),'jTzwI':function(_0x23a9b7,_0x42d491){return _0x23a9b7+_0x42d491;},'seWfT':_0x243483(0x191),'qAjBV':'Passed','XpgJd':_0x243483(0x205),'iaNjv':_0x243483(0x1cb),'ZxEAX':_0x243483(0x1e2),'vhhkq':_0x243483(0x1ea),'DVmQT':function(_0x3bbf04){return _0x3bbf04();},'GfIZr':'isAccessibilityPlatform','qXrjy':function(_0x51dc05,_0x1e973f){return _0x51dc05>_0x1e973f;},'jdnvb':_0x243483(0x1fb),'KvytY':_0x243483(0x1bd),'GrbuQ':_0x243483(0x18e),'IdvCW':_0x243483(0x1d5),'JWtSW':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','WvoDN':'isMobilePlatform','nfKwH':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','EOPOG':_0x243483(0x1b7)};try{if(Array[_0x243483(0x1dc)](global[_0x243483(0x1a4)])&&_0x12e857[_0x243483(0x1cc)](global[_0x243483(0x1a4)][_0x243483(0x1e8)],0x0)&&global[_0x243483(0x1a4)][0x0]){const _0x2a158d=_activeFullName||global[_0x243483(0x19d)];if(!global['__skipSessionName']&&_0x2a158d){global[_0x243483(0x19d)]=_0x2a158d;try{await global['__drivers'][0x0][_0x243483(0x183)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x243483(0x1a0)](_0x2a158d)+'}}'),global['__drivers'][0x0][_0x243483(0x1f8)]=!![];}catch(_0x2e73d5){logger['debug'](_0x243483(0x1ae)+util[_0x243483(0x1d1)](_0x2e73d5));}}if(!global[_0x243483(0x1b0)])try{const _0x1d854a=_activeResultRef&&Array[_0x243483(0x1dc)](_activeResultRef[_0x243483(0x1de)])?_activeResultRef['failedExpectations']:[],_0x4ba682=_0x12e857[_0x243483(0x1cc)](_0x1d854a['length'],0x0),_0x1d0a86=_0x4ba682?_0x1d854a[0x0]&&_0x1d854a[0x0][_0x243483(0x1b1)]||_0x12e857[_0x243483(0x1e6)]:null;try{await global[_0x243483(0x1a4)][0x0][_0x243483(0x183)](_0x243483(0x1ef)+JSON[_0x243483(0x1a0)](_0x4ba682?_0x12e857['jTzwI'](_0x12e857[_0x243483(0x1da)],_0x1d0a86):_0x12e857[_0x243483(0x1b9)])+_0x243483(0x1f1)+(_0x4ba682?_0x12e857[_0x243483(0x1c4)]:_0x12e857[_0x243483(0x1a3)])+'\x22}}');}catch(_0x24f0dc){logger[_0x243483(0x1f3)](_0x243483(0x1fa)+util[_0x243483(0x1d1)](_0x24f0dc));}_0x4ba682&&(global[_0x243483(0x1bc)]=!![]),await helper[_0x243483(0x1ee)](global[_0x243483(0x1a4)][0x0],_0x4ba682?_0x12e857[_0x243483(0x1c8)]:_0x12e857['vhhkq'],_0x1d0a86);}catch(_0x21d159){logger[_0x243483(0x1f3)](_0x243483(0x1f2)+util[_0x243483(0x1d1)](_0x21d159));}}}catch(_0xef96bc){logger[_0x243483(0x1f3)](_0x243483(0x199)+util[_0x243483(0x1d1)](_0xef96bc));}try{if(_0x12e857[_0x243483(0x18b)](isAccessibilityAutomationSession)&&globals[_0x243483(0x1ac)](_0x12e857[_0x243483(0x1a2)])&&Array[_0x243483(0x1dc)](global[_0x243483(0x1a4)])&&_0x12e857[_0x243483(0x1d4)](global['__drivers'][_0x243483(0x1e8)],0x0)&&global['__drivers'][0x0]){const _0x39e9d1=testRunMap[_0x243483(0x194)](_activeResultId),_0x39beca={};_0x39beca[_0x243483(0x1c0)]=_0x39e9d1,_0x39beca[_0x243483(0x1d2)]=process['env'][testHubConstants[_0x243483(0x200)]['BROWSERSTACK_TESTHUB_UUID']],_0x39beca[_0x243483(0x193)]=process[_0x243483(0x1fe)][testHubConstants[_0x243483(0x200)][_0x243483(0x1ff)]];const _0x4a1c70=_0x39beca;logger['debug'](_0x243483(0x1ca)+JSON['stringify'](_0x4a1c70));if(globals[_0x243483(0x1ac)](_0x12e857[_0x243483(0x195)])){logger[_0x243483(0x1f3)](_0x12e857['KvytY']);const _0xb575c1=await accessibilityRetryHelper['performScanWithRetry'](global[_0x243483(0x1a4)][0x0],global['browserstackSessionName']);_0xb575c1?logger[_0x243483(0x1f3)](_0x12e857[_0x243483(0x1e0)]):logger[_0x243483(0x186)](_0x12e857[_0x243483(0x1e9)]);}else logger[_0x243483(0x1f3)](_0x12e857[_0x243483(0x1df)]);globals[_0x243483(0x1ac)](_0x12e857[_0x243483(0x1e1)])&&(_0x4a1c70[_0x243483(0x1d6)]=!![]);const _0x1f9d37=await accessibilityRetryHelper[_0x243483(0x189)](global[_0x243483(0x1a4)][0x0],_0x4a1c70);_0x1f9d37?logger['debug'](_0x12e857[_0x243483(0x202)]):logger[_0x243483(0x186)](_0x12e857[_0x243483(0x1db)]);}}catch(_0x22546b){logger['error']('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x243483(0x1d1)](_0x22546b));}});}catch(a19_0x1e55f2){logger[a19_0x1b1980(0x1f3)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20'+util[a19_0x1b1980(0x1d1)](a19_0x1e55f2));}module[a19_0x1b1980(0x201)]={};
@@ -1 +1 @@
1
- 'use strict';function a20_0x1e5d(_0x43a3f4,_0x7afb22){const _0x395325=a20_0x3953();return a20_0x1e5d=function(_0x1e5dbf,_0x36a061){_0x1e5dbf=_0x1e5dbf-0x94;let _0x1df061=_0x395325[_0x1e5dbf];return _0x1df061;},a20_0x1e5d(_0x43a3f4,_0x7afb22);}const a20_0x30dffe=a20_0x1e5d;(function(_0x39df5b,_0x55a990){const _0x4a918c=a20_0x1e5d,_0x538dc5=_0x39df5b();while(!![]){try{const _0x821dfa=parseInt(_0x4a918c(0x95))/0x1*(parseInt(_0x4a918c(0x97))/0x2)+-parseInt(_0x4a918c(0xa2))/0x3+parseInt(_0x4a918c(0x9a))/0x4+parseInt(_0x4a918c(0x99))/0x5*(-parseInt(_0x4a918c(0x9d))/0x6)+parseInt(_0x4a918c(0xa7))/0x7*(parseInt(_0x4a918c(0xa0))/0x8)+parseInt(_0x4a918c(0x9f))/0x9*(-parseInt(_0x4a918c(0x94))/0xa)+parseInt(_0x4a918c(0x98))/0xb*(parseInt(_0x4a918c(0x96))/0xc);if(_0x821dfa===_0x55a990)break;else _0x538dc5['push'](_0x538dc5['shift']());}catch(_0x5191f4){_0x538dc5['push'](_0x538dc5['shift']());}}}(a20_0x3953,0xcc63a));function a20_0x3953(){const _0x126399=['CsBwF','delete','18lLzgUz','_size','76554LLqmgG','8fKcued','size','255996USIwwV','CIZUX','get','TfYLx','XSpwX','3891524vhgRyL','set','1040utbicz','98629FCEAbP','5698092kpBIzF','18alJynv','11mXZmYl','2704965cNWGUB','6046716pLeJJH'];a20_0x3953=function(){return _0x126399;};return a20_0x3953();}const _specUuidById=new Map();exports[a20_0x30dffe(0xa8)]=(_0x38515a,_0x5e6cfb)=>{const _0x3c71ef=a20_0x30dffe,_0x1b504c={};_0x1b504c['CIZUX']=function(_0xb57ff7,_0x314e3e){return _0xb57ff7===_0x314e3e;},_0x1b504c[_0x3c71ef(0xa6)]=function(_0x299027,_0x33030c){return _0x299027===_0x33030c;};const _0x5dd42d=_0x1b504c;if(_0x5dd42d[_0x3c71ef(0xa3)](_0x38515a,undefined)||_0x5dd42d[_0x3c71ef(0xa6)](_0x38515a,null))return;_specUuidById['set'](_0x38515a,_0x5e6cfb);},exports[a20_0x30dffe(0xa4)]=_0x253d04=>{const _0x49190e=a20_0x30dffe,_0x148d6b={};_0x148d6b[_0x49190e(0x9b)]=function(_0x13b477,_0x3c4dd0){return _0x13b477===_0x3c4dd0;};const _0x1e5f50=_0x148d6b;if(_0x1e5f50['CsBwF'](_0x253d04,undefined)||_0x1e5f50[_0x49190e(0x9b)](_0x253d04,null))return undefined;return _specUuidById[_0x49190e(0xa4)](_0x253d04);},exports['remove']=_0x306154=>{const _0x5c49f6=a20_0x30dffe,_0x599abd={};_0x599abd['TfYLx']=function(_0x154537,_0x2c4937){return _0x154537===_0x2c4937;};const _0x516b56=_0x599abd;if(_0x516b56[_0x5c49f6(0xa5)](_0x306154,undefined)||_0x516b56[_0x5c49f6(0xa5)](_0x306154,null))return;_specUuidById[_0x5c49f6(0x9c)](_0x306154);},exports[a20_0x30dffe(0x9e)]=()=>_specUuidById[a20_0x30dffe(0xa1)];
1
+ 'use strict';const a20_0x3cf029=a20_0x7ab3;function a20_0x3e6e(){const _0x3bdd11=['48mFNpoo','3040726yDjsNY','9LCAWfP','get','eDdMM','uBzaE','8422662JpPthE','217LklKqF','50865urTlNR','4178061IKBctk','626280ygusnd','set','182368FMxdOk','Vgqof','dxvlU','size','9249160FBspsU'];a20_0x3e6e=function(){return _0x3bdd11;};return a20_0x3e6e();}(function(_0x706276,_0x4ac80e){const _0x3d5825=a20_0x7ab3,_0x290e09=_0x706276();while(!![]){try{const _0x4b5382=-parseInt(_0x3d5825(0xcd))/0x1+parseInt(_0x3d5825(0xd5))/0x2+parseInt(_0x3d5825(0xcc))/0x3+parseInt(_0x3d5825(0xd4))/0x4*(parseInt(_0x3d5825(0xcb))/0x5)+-parseInt(_0x3d5825(0xc9))/0x6+-parseInt(_0x3d5825(0xca))/0x7*(-parseInt(_0x3d5825(0xcf))/0x8)+-parseInt(_0x3d5825(0xd6))/0x9*(parseInt(_0x3d5825(0xd3))/0xa);if(_0x4b5382===_0x4ac80e)break;else _0x290e09['push'](_0x290e09['shift']());}catch(_0x231597){_0x290e09['push'](_0x290e09['shift']());}}}(a20_0x3e6e,0xc018d));const _specUuidById=new Map();function a20_0x7ab3(_0x47008e,_0x58fe0b){const _0x3e6e9f=a20_0x3e6e();return a20_0x7ab3=function(_0x7ab388,_0x6b893e){_0x7ab388=_0x7ab388-0xc8;let _0x3e49e5=_0x3e6e9f[_0x7ab388];return _0x3e49e5;},a20_0x7ab3(_0x47008e,_0x58fe0b);}exports[a20_0x3cf029(0xce)]=(_0x6a90b9,_0x10513f)=>{const _0x16262f=a20_0x3cf029,_0x465b18={};_0x465b18[_0x16262f(0xd0)]=function(_0x361204,_0x4bb929){return _0x361204===_0x4bb929;};const _0x2017ac=_0x465b18;if(_0x2017ac[_0x16262f(0xd0)](_0x6a90b9,undefined)||_0x2017ac[_0x16262f(0xd0)](_0x6a90b9,null))return;_specUuidById[_0x16262f(0xce)](_0x6a90b9,_0x10513f);},exports[a20_0x3cf029(0xd7)]=_0x5936cf=>{const _0x4278ee=a20_0x3cf029,_0x19e26f={};_0x19e26f['dxvlU']=function(_0x1b663b,_0x4c76b1){return _0x1b663b===_0x4c76b1;},_0x19e26f[_0x4278ee(0xd8)]=function(_0x81fa35,_0x59cd60){return _0x81fa35===_0x59cd60;};const _0x376e68=_0x19e26f;if(_0x376e68[_0x4278ee(0xd1)](_0x5936cf,undefined)||_0x376e68['eDdMM'](_0x5936cf,null))return undefined;return _specUuidById[_0x4278ee(0xd7)](_0x5936cf);},exports['remove']=_0x58a4b3=>{const _0x3db98b=a20_0x3cf029,_0x5bf31e={};_0x5bf31e[_0x3db98b(0xc8)]=function(_0x382159,_0x53ab62){return _0x382159===_0x53ab62;};const _0x87684=_0x5bf31e;if(_0x87684[_0x3db98b(0xc8)](_0x58a4b3,undefined)||_0x87684[_0x3db98b(0xc8)](_0x58a4b3,null))return;_specUuidById['delete'](_0x58a4b3);},exports['_size']=()=>_specUuidById[a20_0x3cf029(0xd2)];
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a21_0x1b9f(_0x3f4035,_0x24e7ae){const _0x406d9e=a21_0x406d();return a21_0x1b9f=function(_0x1b9f8e,_0x4408ec){_0x1b9f8e=_0x1b9f8e-0xea;let _0x396c3f=_0x406d9e[_0x1b9f8e];return _0x396c3f;},a21_0x1b9f(_0x3f4035,_0x24e7ae);}const a21_0x2da262=a21_0x1b9f;(function(_0x5e40ef,_0x15f48c){const _0x1fd166=a21_0x1b9f,_0x7eadc=_0x5e40ef();while(!![]){try{const _0x11c913=-parseInt(_0x1fd166(0x1de))/0x1*(-parseInt(_0x1fd166(0x1d6))/0x2)+parseInt(_0x1fd166(0x1cd))/0x3+parseInt(_0x1fd166(0x166))/0x4*(parseInt(_0x1fd166(0x1f2))/0x5)+-parseInt(_0x1fd166(0x136))/0x6+parseInt(_0x1fd166(0x1e9))/0x7+parseInt(_0x1fd166(0x11a))/0x8*(-parseInt(_0x1fd166(0x108))/0x9)+-parseInt(_0x1fd166(0x128))/0xa;if(_0x11c913===_0x15f48c)break;else _0x7eadc['push'](_0x7eadc['shift']());}catch(_0x391f77){_0x7eadc['push'](_0x7eadc['shift']());}}}(a21_0x406d,0xbf7ec));function a21_0x406d(){const _0x32fac0=['Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','readFileSync','qlOVR','ujPin','customCircus.js','mNNKR','isNotUndefined','../../helpers/testhub/testhubHandler','ttcPZ','@playwright/test','../../helpers/BrowserStackSetup','BROWSERSTACK_TEST_OBSERVABILITY_YML','pFUko','jest-config/build/readConfigFileAndSetRootDir.js','MgNqE','findIndex','printBuildLink','shouldProcessEventForTesthub','customTestRunnerTemplate.js','FFyZU','FEUmR','opPKU','mjs','apply','BCGAn','format','runner','Deleted\x20fail-fast\x20state\x20folder:\x20','shutdown','testObservability','\x0a\x20\x20\x20\x20\x20\x20','USER_CONFIG_DETAILS_PATH','maxFailures','env','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','accessibilityOptions','isUndefined','info','aDXCy','KQRBl','getPackageVersion','failureThresholdCount','Unable\x20to\x20find\x20jest-circus,\x20','YWQQQ','accessibility','setupFilesAfterEnv','requireSeleniumWebdriver','handleApp','true','Afaba','parse','logLevel','end','Creating\x20','../utils/constants','DWhhz','SDK_CLEANUP','workingDir','obIAq','mnJJC','serial__','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','capabilities','testContextOptions','test.setup.js','child_process','stop','\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','BROWSERSTACK_FRAMEWORK','jNszO','EVENTS','puppeteer','splice','../../helpers/testhub/utils','force','GYBKn','rXaTu','testSequencer','2651808yLoNzf','./test-observability/helper','jest-circus','maxWorkers','replace','../../helpers/performance/performance-tester','jest-runner','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','setupBrowserstackLocal','3118DWbMWP','initialize','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','abortBuildOnFailure','eiogW','push','ZmtcT','ngpfD','413UxZXbs','njYLp','BROWSERSTACK_TEST_ACCESSIBILITY_YML','platformCaps','FRAMEWORKS','jest','../../helpers/logger','jest-runner-','isCliEnabled','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','\x0amodule.exports\x20=\x20config;','3997112Zqrbpy','resolve','customSequencer.js','jest_browserstack.config.js','inherit','dgUgg','skipSessionName','platform','getHubUrl','35uUznCC','join','Getting\x20your\x20jest\x20configs\x20from\x20','parallels__','uGjIz','isRunning','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','jest-config','startsWith','testEnvironment','\x20test\x20files\x20to\x20run.','package.json','ShyOw','writeFileSync','path','length','recursive','browserStackPercyOptions','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','../../helpers/test-observability/constants','aYwcM','Puppeteer\x20setup\x20error:\x20','testEnvironmentOptions','BSTACK_USER_JEST_RUNNER','VdqlV','FyNtg','Mqvpo','default','filterBrowserstackArgs','tpRmR','debug','runInBand','error','106317XiGnFe','OmUnv','jest_browserstack_results.json','../../helpers/accessibility-automation/helper','../v2/browserstackCLI','util','json','oBpxo',',\x20CLI\x20running:\x20','qvslI','cwd','DPcvV','customImplements','getInstance','npx','jest.config.','stringify','BSTACK_JEST_TEST_ENV','488QDjhJs','message','rmSync','../../helpers/test-observability/utils','requireModule','exports','FClsL','../../helpers/puppeteer-helper','existsSync','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','finalExecution','iaASr','^puppeteer-core/internal/(.*)','dirname','11782420BYjyGZ','exitCode','zlkAg',';\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','utQtj','unlinkSync','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','false','close','GXeXb','XNlgK','data-hooks.js','turboScaleUrl','Preserving\x20user\x27s\x20Jest\x20runner:\x20','5841282UnnJpb','ZvarJ','aenqG','customEnvironment.js','../../helpers/helper','JEST','testRunner','slice','browserStackLogLevel','retries__','/internal/$1','start','setup','--config','platforms','parseTestOrchestrationOptions','win32','\x20:\x20','launchBuild','parallelsPerPlatform','isTestOrchestrationEnabled','Fnpze','EAQvv','child\x20process\x20exited\x20with\x20code\x20','prepareCapabilities','\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','skipSessionStatus','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','jest_browserstack.config.cjs','cjs','MODULE','reporters','BROWSERSTACK_CAPABILITIES',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','getErrorMessageFromResults','nNlUG','yHfzd','Wuxcn','@jest/core','const\x20config=','VjyyL','Found:\x20','assign','jest.setup.js','rZhqX','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','maxRetries','playwright','890244HXmQUr','vIpAU','retryTestsOnFailure','findTestFiles','../../helpers/utilities','tWThn','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','pJzmX','GNgIK','winstonLogger','checkAccessibilityPlatformConfig','\x20with\x20browserstack\x20jest\x20configs','readInitialOptions','fvRhv','DrKup','Getting\x20your\x20jest\x20configs\x20from\x20package.json','Reodered\x20Test\x20Files:\x20','../utils/clientTroubleshootingService','oFktg','config','setupFiles','Deleting\x20','testTimeout','pnimO','moduleNameMapper'];a21_0x406d=function(){return _0x32fac0;};return a21_0x406d();}const fs=require('fs'),path=require(a21_0x2da262(0xf5)),util=require(a21_0x2da262(0x10d)),{spawn}=require(a21_0x2da262(0x1c0)),logger=require(a21_0x2da262(0x1e4))[a21_0x2da262(0x16f)],{default:BrowserStackSetup}=require(a21_0x2da262(0x189)),helper=require(a21_0x2da262(0x13a)),utilities=require(a21_0x2da262(0x16a)),constants=require(a21_0x2da262(0x1b5)),accessibilityHelper=require(a21_0x2da262(0x10b)),{updateTestRerunConfig}=require(a21_0x2da262(0x1ce)),testOpsHelper=require(a21_0x2da262(0x11d)),{debug}=require(a21_0x2da262(0x11d)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a21_0x2da262(0x186)),testhubUtils=require(a21_0x2da262(0x1c8)),{FRAMEWORKS}=require(a21_0x2da262(0xfa)),PerformanceTester=require(a21_0x2da262(0x1d2)),PerformanceEvents=require('../../helpers/performance/constants')[a21_0x2da262(0x1c5)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a21_0x2da262(0x10c)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x2da262(0x121)),ClientTroubleShootingService=require(a21_0x2da262(0x177)),{checkAccessibilityPlatformConfig}=require(a21_0x2da262(0x10b)),getUserJestConfigs=async(_0x5a9d7b,_0x1e0c10)=>{const _0xdb0bbe=a21_0x2da262,_0x15f2da={'TOtOz':_0xdb0bbe(0x18c),'aenqG':_0xdb0bbe(0xee),'eiogW':function(_0x2761e2,_0x2908fc){return _0x2761e2||_0x2908fc;},'utQtj':function(_0x120246,_0xcb863e){return _0x120246(_0xcb863e);},'dgUgg':_0xdb0bbe(0xf2),'AmwKb':_0xdb0bbe(0x175),'rXaTu':_0xdb0bbe(0x195),'itABJ':_0xdb0bbe(0x153),'qvslI':_0xdb0bbe(0x10e)};let _0x252b51;try{_0x252b51=helper[_0xdb0bbe(0x11e)](_0x15f2da['TOtOz'],_0x15f2da[_0xdb0bbe(0x138)]);}catch{const _0x2ea8ed=helper[_0xdb0bbe(0x11e)](_0x15f2da[_0xdb0bbe(0x138)]);_0x252b51={'default':async _0x4955a5=>{const _0x498cee=_0xdb0bbe,_0x1e5fdb=await _0x2ea8ed[_0x498cee(0x172)](_0x4955a5,{});return _0x1e5fdb[_0x498cee(0x179)];}};}const _0x53f6d8=_0x1e0c10[_0xdb0bbe(0x18e)](_0x2cdecb=>_0x2cdecb===_0xdb0bbe(0x143));if(!helper['isUndefined'](_0x5a9d7b[_0xdb0bbe(0x179)])){logger[_0xdb0bbe(0x1a4)](_0xdb0bbe(0x1f4)+_0x5a9d7b[_0xdb0bbe(0x179)]),process[_0xdb0bbe(0x1a0)][_0xdb0bbe(0x19e)]=_0x5a9d7b[_0xdb0bbe(0x179)];const _0x2290e4=await(0x0,_0x252b51[_0xdb0bbe(0x102)])(path['resolve'](_0x5a9d7b[_0xdb0bbe(0x179)]));return _0x1e0c10[_0xdb0bbe(0x1c7)](_0x53f6d8,0x2),_0x15f2da[_0xdb0bbe(0x1da)](_0x2290e4,{});}const _0x2daba3=_0x15f2da[_0xdb0bbe(0x12c)](require,path[_0xdb0bbe(0x1f3)](process[_0xdb0bbe(0x112)](),_0x15f2da[_0xdb0bbe(0x1ee)]));if(_0x2daba3['jest'])return logger[_0xdb0bbe(0x1a4)](_0x15f2da['AmwKb']),_0x2daba3[_0xdb0bbe(0x1e3)];const _0x47077d=['js',_0x15f2da[_0xdb0bbe(0x1cb)],_0x15f2da['itABJ'],_0x15f2da[_0xdb0bbe(0x111)],'ts'];for(const _0x14347e of _0x47077d){const _0x538235=path[_0xdb0bbe(0x1f3)](process[_0xdb0bbe(0x112)](),_0xdb0bbe(0x117)+_0x14347e);if(fs[_0xdb0bbe(0x122)](_0x538235)){process[_0xdb0bbe(0x1a0)]['USER_CONFIG_DETAILS_PATH']=_0x538235;const _0x2982bc=await(0x0,_0x252b51[_0xdb0bbe(0x102)])(_0x538235);return _0x2982bc;}}return{};},getSerial=(_0x31cb54,_0x29ede5)=>{const _0x30e234=a21_0x2da262,_0x535062={};_0x535062[_0x30e234(0x193)]=_0x30e234(0x1af),_0x535062[_0x30e234(0x16d)]=function(_0x501e6b,_0x3ffb49){return _0x501e6b>_0x3ffb49;},_0x535062[_0x30e234(0x1dd)]=function(_0x252f9c,_0x307bfa){return _0x252f9c>_0x307bfa;},_0x535062[_0x30e234(0x184)]=_0x30e234(0x12f);const _0x54651c=_0x535062;let _0x1fa58a=_0x54651c[_0x30e234(0x193)];return _0x54651c[_0x30e234(0x16d)](_0x31cb54[_0x30e234(0xf6)],0x1)&&(!_0x29ede5[_0x30e234(0x106)]&&(helper['isUndefined'](_0x29ede5[_0x30e234(0x1d0)])||_0x54651c[_0x30e234(0x1dd)](_0x29ede5[_0x30e234(0x1d0)],0x1)))&&(_0x1fa58a=_0x54651c[_0x30e234(0x184)]),_0x1fa58a;},getMaxWorkers=(_0xb9e72f,_0x4d97ae,_0x18f3c2)=>{const _0x171cbd=a21_0x2da262,_0x30a196={'jNszO':function(_0xaf8e6,_0xe486b7){return _0xaf8e6(_0xe486b7);}};let _0x58078b=0x1;if(!helper[_0x171cbd(0x1a3)](_0x4d97ae['parallelsPerPlatform']))_0x58078b=_0x30a196[_0x171cbd(0x1c4)](parseInt,_0x4d97ae[_0x171cbd(0x149)]);else{if(!helper[_0x171cbd(0x1a3)](_0xb9e72f[_0x171cbd(0x1d0)]))_0x58078b=_0xb9e72f[_0x171cbd(0x1d0)];else!helper[_0x171cbd(0x1a3)](_0x18f3c2[_0x171cbd(0x1d0)])&&(_0x58078b=_0x18f3c2[_0x171cbd(0x1d0)]);}return _0x58078b;};async function run(_0xe6b467,_0x344f5d,_0x3ee232){const _0x130191=a21_0x2da262,_0xcb9a53={'GYBKn':'jest','uGjIz':function(_0x1e0e2d,_0x49fc25){return _0x1e0e2d(_0x49fc25);},'XNlgK':_0x130191(0x188),'aDXCy':function(_0x41ed03){return _0x41ed03();},'ZvarJ':function(_0x54170d,_0x5eb04d,_0x51053a,_0x24593a){return _0x54170d(_0x5eb04d,_0x51053a,_0x24593a);},'GXeXb':function(_0x46434d,_0x7a5a23){return _0x46434d!=_0x7a5a23;},'GNgIK':_0x130191(0x1af),'VdqlV':function(_0x5965e0,_0x808393,_0x38c175){return _0x5965e0(_0x808393,_0x38c175);},'qlOVR':_0x130191(0xf9),'MgNqE':function(_0x240566,_0x2afff5){return _0x240566(_0x2afff5);},'pFUko':function(_0x386d33,_0x2c8448){return _0x386d33(_0x2c8448);},'oBpxo':_0x130191(0x12f),'rZhqX':function(_0x3461d6,_0x5d27f4,_0x5c3f7f,_0x365632){return _0x3461d6(_0x5d27f4,_0x5c3f7f,_0x365632);},'ZmtcT':function(_0x524cb0,_0xeb0583){return _0x524cb0*_0xeb0583;},'oFktg':function(_0x3c86ff,_0x40bea9){return _0x3c86ff===_0x40bea9;},'DPcvV':_0x130191(0x152),'ZDQOe':_0x130191(0x1ec),'obIAq':_0x130191(0x114),'njYLp':_0x130191(0x10a),'zlkAg':'customTestRunner.js','ShyOw':_0x130191(0x191),'OmUnv':_0x130191(0x139),'jUazW':function(_0x351527,_0x4b5239){return _0x351527!==_0x4b5239;},'vIpAU':_0x130191(0x1d3),'YWQQQ':'jest-runner-','ttcPZ':_0x130191(0x161),'NaHuK':_0x130191(0x1eb),'FClsL':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','DrKup':_0x130191(0x1cf),'ptShW':'jest-circus/build/runner.js','DWhhz':function(_0x3aa97c,_0x1b1e24){return _0x3aa97c(_0x1b1e24);},'yHfzd':'test-observability','MATJJ':_0x130191(0x133),'PvXZP':_0x130191(0x183),'Afaba':'test_before.setup.js','ujPin':_0x130191(0x123),'aYwcM':_0x130191(0x165),'opPKU':_0x130191(0x1d8),'tWThn':_0x130191(0x1bf),'Fnpze':_0x130191(0x151),'mnJJC':function(_0x112774,_0x3d4013){return _0x112774&&_0x3d4013;},'ZKkBM':_0x130191(0x163),'EAQvv':_0x130191(0x1c6),'fvRhv':'puppeteer-core/package.json','Wuxcn':'default','Mqvpo':function(_0x36ee8c,_0x3fc3d6,_0x5b6a7b){return _0x36ee8c(_0x3fc3d6,_0x5b6a7b);},'pnimO':'@jest/core/build/ReporterDispatcher.js','iaASr':_0x130191(0x15c),'KQRBl':_0x130191(0x1d4),'IAlgJ':function(_0x3848d3,_0x3b4982){return _0x3848d3>_0x3b4982;},'BCGAn':_0x130191(0x17f),'FyNtg':_0x130191(0x143),'FFyZU':_0x130191(0x116),'nNlUG':function(_0x1eca75,_0x141d8d){return _0x1eca75===_0x141d8d;},'kItWk':_0x130191(0x146),'tpRmR':_0x130191(0x1ed),'VjyyL':_0x130191(0x130)},_0x2946e9=helper[_0x130191(0x1a7)](_0xcb9a53[_0x130191(0x132)]);global['__isPlaywrightInstalled']=!!_0x2946e9;const _0xa1a105=_0xcb9a53[_0x130191(0x1a5)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0xa1a105;helper['isBrowserstackInfra']()&&(await _0x3ee232[_0x130191(0x1d7)](_0xe6b467),await helper[_0x130191(0x1ae)](_0x3ee232[_0x130191(0x179)]));if(_0x2946e9)await _0xcb9a53[_0x130191(0x137)](checkPwandBootstrapCli,_0x2946e9,constants[_0x130191(0x1e2)][_0x130191(0x13b)],_0x3ee232);else _0xa1a105&&await _0xcb9a53[_0x130191(0x137)](checkPuppeteerAndBootstrapCli,_0xa1a105,constants[_0x130191(0x1e2)]['JEST'],_0x3ee232);!BrowserstackCLI['getInstance']()[_0x130191(0xeb)]()&&await _0x3ee232[_0x130191(0x1d5)]();if(!_0x3ee232['config'])return;_0xcb9a53[_0x130191(0x131)](_0x3ee232[_0x130191(0x179)][_0x130191(0x19c)],null)?process[_0x130191(0x1a0)][_0x130191(0x18a)]=_0x3ee232[_0x130191(0x179)]['testObservability']:process[_0x130191(0x1a0)][_0x130191(0x18a)]=_0xcb9a53[_0x130191(0x16e)];const _0x2e7119=new TestOrchestrationHandler(_0x3ee232[_0x130191(0x179)]),_0xffe2d7=await _0xcb9a53[_0x130191(0xff)](getUserJestConfigs,_0xe6b467,_0x344f5d);logger[_0x130191(0x1a4)](_0xcb9a53[_0x130191(0x181)]);const _0x557b3e=Object[_0x130191(0x160)]({},_0xffe2d7);_0x557b3e[_0x130191(0xfd)]=Object[_0x130191(0x160)]({},_0x557b3e['testEnvironmentOptions'],{'server':helper[_0x130191(0x1f1)](_0x3ee232[_0x130191(0x179)]),'environment':_0xffe2d7[_0x130191(0xf0)]}),_0x557b3e[_0x130191(0xfd)][_0x130191(0xf8)]=_0xcb9a53[_0x130191(0x18d)](getPercyOptions,_0x3ee232[_0x130191(0x179)]);const _0x132578=helper['useW3C'](_0x3ee232[_0x130191(0x179)]);!helper['isUndefined'](_0x3ee232[_0x130191(0x179)][_0x130191(0x1a2)])&&(process[_0x130191(0x1a0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x130191(0x118)](_0x3ee232[_0x130191(0x179)][_0x130191(0x1a2)]));if(!BrowserstackCLI[_0x130191(0x115)]()[_0x130191(0xeb)]()){const _0x309060=await TestHubHandler[_0x130191(0x148)](FRAMEWORKS[_0x130191(0x13b)],_0x3ee232);}const _0x4ea66a=helper[_0x130191(0x14e)](_0x3ee232[_0x130191(0x179)],_0x132578,constants[_0x130191(0x1e2)][_0x130191(0x13b)]);process[_0x130191(0x1a0)][_0x130191(0x156)]=JSON[_0x130191(0x118)](_0x4ea66a);let _0x146503=_0x3ee232[_0x130191(0x179)][_0x130191(0x1ab)];_0x146503=_0x146503||accessibilityHelper[_0x130191(0x170)](_0x3ee232[_0x130191(0x179)]),process[_0x130191(0x1a0)][_0x130191(0x1e0)]=_0x146503,logger[_0x130191(0x105)](_0x130191(0x1bc)+_0x146503+_0x130191(0x110)+BrowserstackCLI[_0x130191(0x115)]()[_0x130191(0xeb)]());if(_0x2946e9)try{const _0x1e0594=_0xcb9a53[_0x130191(0x18b)](checkAccessibilityPlatformConfig,_0x3ee232[_0x130191(0x179)]);process['env'][_0x130191(0x1e7)]=_0x1e0594?_0xcb9a53['GNgIK']:_0xcb9a53[_0x130191(0x10f)],logger[_0x130191(0x105)](_0x130191(0x16c)+_0x1e0594+_0x130191(0x157)+process[_0x130191(0x1a0)][_0x130191(0x1e7)]);}catch(_0x35641d){logger[_0x130191(0x105)]('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util['format'](_0x35641d));}_0x557b3e['testEnvironmentOptions'][_0x130191(0x1bd)]=_0x4ea66a,_0x557b3e['testEnvironmentOptions'][_0x130191(0x1bb)]=_0xcb9a53[_0x130191(0xff)](getSerial,_0x4ea66a,_0xe6b467),_0x557b3e[_0x130191(0xfd)][_0x130191(0x1f5)]=_0xcb9a53[_0x130191(0x162)](getMaxWorkers,_0xe6b467,_0x3ee232[_0x130191(0x179)],_0xffe2d7),_0x557b3e[_0x130191(0xfd)]['proxySettings']=_0x3ee232[_0x130191(0x179)]['proxySettings'],_0x557b3e[_0x130191(0xfd)]['timeout__']=_0xcb9a53[_0x130191(0x1dc)](_0xe6b467[_0x130191(0x17c)],0x1)||0x1388,_0x557b3e[_0x130191(0xfd)][_0x130191(0x1ef)]=_0x3ee232[_0x130191(0x179)][_0x130191(0x1be)][_0x130191(0x1ef)],_0x557b3e[_0x130191(0xfd)][_0x130191(0x150)]=_0x3ee232[_0x130191(0x179)][_0x130191(0x1be)]['skipSessionStatus'],_0x557b3e[_0x130191(0xfd)][_0x130191(0x13e)]=_0x3ee232[_0x130191(0x179)][_0x130191(0x1b2)],_0x557b3e['testEnvironmentOptions']['turboScaleUrl']=_0x3ee232[_0x130191(0x179)][_0x130191(0x134)],_0x557b3e[_0x130191(0xfd)][_0x130191(0x1e1)]=_0x3ee232[_0x130191(0x179)][_0x130191(0x144)];const _0x43072e=helper[_0x130191(0x145)](_0x3ee232[_0x130191(0x179)]);if(!helper['isEmpty'](_0x43072e)){helper[_0x130191(0x185)](_0x43072e['retryTestsOnFailure'])&&(_0x557b3e[_0x130191(0xfd)][_0x130191(0x13f)]=_0x43072e[_0x130191(0x168)][_0x130191(0x164)]);if(helper[_0x130191(0x185)](_0x43072e['abortBuildOnFailure'])&&helper['isNotUndefined'](_0x43072e['abortBuildOnFailure'][_0x130191(0x1b8)])){const _0x1734c9={};_0x1734c9[_0x130191(0x1a8)]=_0x43072e[_0x130191(0x1d9)][_0x130191(0x19f)],_0x1734c9[_0x130191(0x1b8)]=_0x43072e[_0x130191(0x1d9)][_0x130191(0x1b8)],_0x557b3e[_0x130191(0xfd)]['failFast']=_0x1734c9;}}let _0x396d59='';_0xcb9a53[_0x130191(0x178)](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x130191(0x154)])?_0x396d59=_0xcb9a53[_0x130191(0x113)]:_0x396d59=_0xcb9a53['ZDQOe'];const _0x5918e7=_0x396d59,_0x490ae8=path['join'](__dirname,_0xcb9a53[_0x130191(0x1b9)],_0xcb9a53[_0x130191(0x1df)]),_0x1c0782=path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x1b9)],_0xcb9a53[_0x130191(0x12a)]),_0x3fe0c2=path['join'](__dirname,_0xcb9a53['obIAq'],_0xcb9a53[_0x130191(0xf3)]);_0x557b3e[_0x130191(0xf0)]&&(process[_0x130191(0x1a0)][_0x130191(0x119)]=_0x557b3e[_0x130191(0xf0)]);_0x557b3e[_0x130191(0xf0)]=path['join'](__dirname,_0xcb9a53[_0x130191(0x1b9)],_0xcb9a53[_0x130191(0x109)]);const _0x433d62=_0xffe2d7[_0x130191(0x199)];if(_0x433d62&&_0xcb9a53['jUazW'](_0x433d62,_0xcb9a53[_0x130191(0x167)])){const _0x1e1885=_0x433d62[_0x130191(0xef)](_0xcb9a53[_0x130191(0x1aa)])?_0x433d62:_0x130191(0x1e5)+_0x433d62;process[_0x130191(0x1a0)][_0x130191(0xfe)]=_0x1e1885,logger[_0x130191(0x1a4)](_0x130191(0x135)+_0x1e1885);}_0x557b3e[_0x130191(0x199)]=_0x1c0782,_0x557b3e['setupFilesAfterEnv']=_0x557b3e[_0x130191(0x1ac)]||[],_0x557b3e[_0x130191(0x1ac)][_0x130191(0x1db)](path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x187)]));_0x2e7119[_0x130191(0x14a)]()&&(_0x557b3e[_0x130191(0x1cc)]=path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x1b9)],_0xcb9a53['NaHuK']));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x130191(0x115)]()[_0x130191(0x1e6)]()){let _0x14ed87=null;try{_0x14ed87=helper['requireModule'](_0xcb9a53[_0x130191(0x120)],_0xcb9a53[_0x130191(0x174)]);}catch(_0x573bce){try{_0x14ed87=helper[_0x130191(0x11e)](_0xcb9a53['ptShW'],_0xcb9a53[_0x130191(0x174)]);}catch(_0x1258a7){_0xcb9a53[_0x130191(0x1b6)](debug,_0x130191(0x1a9)+_0x1258a7);}}_0x14ed87&&(testhubUtils[_0x130191(0x190)]()&&_0x557b3e[_0x130191(0x1ac)][_0x130191(0x1db)](path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x15a)],_0xcb9a53['MATJJ'])),_0x557b3e[_0x130191(0x13c)]=path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x1b9)],_0xcb9a53['PvXZP']));}_0x557b3e[_0x130191(0x17a)]=_0x557b3e[_0x130191(0x17a)]||[];try{helper[_0x130191(0x1ad)](),_0x557b3e['setupFiles'][_0x130191(0x1db)](path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x1b0)]));}catch{logger[_0x130191(0x105)](_0xcb9a53[_0x130191(0x182)]);}try{helper['requirePWModule'][_0x130191(0x196)](null,[_0xcb9a53[_0x130191(0x132)],_0xcb9a53[_0x130191(0xfb)]]),logger[_0x130191(0x105)](_0xcb9a53[_0x130191(0x194)]),_0x557b3e[_0x130191(0x17a)]['push'](path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x16b)]));}catch(_0x3d4c73){logger[_0x130191(0x105)](_0xcb9a53[_0x130191(0x14b)],_0x3d4c73);}if(_0xcb9a53[_0x130191(0x1ba)](!_0x2946e9,_0xa1a105)){try{logger[_0x130191(0x105)](_0xcb9a53['ZKkBM']),_0x557b3e['setupFilesAfterEnv'][_0x130191(0x1db)](path[_0x130191(0x1f3)](__dirname,'..',_0xcb9a53[_0x130191(0x14c)],_0xcb9a53[_0x130191(0x16b)]));}catch(_0x399815){logger[_0x130191(0x105)](_0x130191(0xfc)+_0x399815[_0x130191(0x11b)]);}try{const _0x3c487c=require[_0x130191(0x1ea)](_0xcb9a53[_0x130191(0x173)]),_0x43c653=path[_0x130191(0x127)](_0x3c487c)[_0x130191(0x1d1)](/\\/g,'/'),_0x28ff68={};_0x28ff68[_0x130191(0x126)]=_0x43c653+_0x130191(0x140),_0x557b3e[_0x130191(0x17e)]=Object[_0x130191(0x160)]({},_0x557b3e[_0x130191(0x17e)]||{},_0x28ff68),logger['debug'](_0x130191(0x12e)+_0x43c653);}catch(_0x192e1d){logger[_0x130191(0x105)](_0x130191(0xec)+_0x192e1d[_0x130191(0x11b)]);}}_0x557b3e[_0x130191(0x155)]=_0x557b3e[_0x130191(0x155)]||[_0xcb9a53[_0x130191(0x15b)]],_0xcb9a53[_0x130191(0x101)](updateTestRerunConfig,_0x557b3e,_0x3ee232);const _0x1c6351=fs[_0x130191(0x180)](_0x3fe0c2),_0x125881=helper['resolveModule'](_0xcb9a53[_0x130191(0x17d)],_0xcb9a53[_0x130191(0x125)]);!_0x125881[_0x130191(0x107)]?fs[_0x130191(0xf4)](_0x557b3e[_0x130191(0x199)],_0x130191(0x19d)+_0x1c6351+_0x130191(0x1c2)+_0x3ee232[_0x130191(0x179)][_0x130191(0x144)]['length']+';\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[_0x130191(0xf4)](_0x557b3e[_0x130191(0x199)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x1c6351+_0x130191(0x14f)+_0x3ee232[_0x130191(0x179)][_0x130191(0x144)][_0x130191(0xf6)]+_0x130191(0x12b));logger[_0x130191(0x1a4)](_0x130191(0x1b4)+_0x5918e7+_0x130191(0x171)),fs[_0x130191(0xf4)](_0x5918e7,_0x130191(0x15d)+JSON['stringify'](_0x557b3e)+_0x130191(0x1e8));if(_0x2e7119['isTestOrchestrationEnabled']()){logger[_0x130191(0x105)](_0xcb9a53[_0x130191(0x1a6)]);const _0x472efa=await _0x2e7119[_0x130191(0x169)](_0x557b3e,_0x344f5d['slice'](0x1),_0x5918e7);logger['debug'](_0x130191(0x15f)+JSON[_0x130191(0x118)](_0x472efa)+_0x130191(0xf1));const _0x46d145=await _0x2e7119['reorderTestFiles'](_0x472efa);logger[_0x130191(0x105)](_0x130191(0x176)+JSON[_0x130191(0x118)](_0x46d145)),_0x46d145&&_0xcb9a53['IAlgJ'](_0x46d145['length'],0x0)&&(process[_0x130191(0x1a0)]['JEST_TEST_ORDER']=_0x46d145?.['join'](','));}logger[_0x130191(0x1a4)](_0xcb9a53[_0x130191(0x197)]);testhubUtils[_0x130191(0x190)]()&&TestDetails[_0x130191(0x142)]();helper[_0x130191(0x103)]({},_0x344f5d),PerformanceTester[_0x130191(0x1b3)](PerformanceEvents['SDK_SETUP']);const _0x1a8dd5=[_0xcb9a53[_0x130191(0x1ca)],_0xcb9a53[_0x130191(0x100)],_0x5918e7,..._0x344f5d[_0x130191(0x13d)](0x1)];process[_0x130191(0x1a0)][_0x130191(0x1c3)]=process[_0x130191(0x1a0)][_0x130191(0x1c3)]||_0xcb9a53[_0x130191(0x1ca)];const _0x9d780f=_0xcb9a53['ZvarJ'](spawn,_0xcb9a53[_0x130191(0x192)],_0x1a8dd5,{'shell':_0xcb9a53[_0x130191(0x159)](process[_0x130191(0x1f0)],_0xcb9a53['kItWk']),'stdio':_0xcb9a53[_0x130191(0x104)],'env':Object[_0x130191(0x160)]({},process[_0x130191(0x1a0)])});_0x9d780f['on'](_0xcb9a53[_0x130191(0x15e)],async _0x569c0e=>{const _0x3efb63=_0x130191;PerformanceTester[_0x3efb63(0x141)](PerformanceEvents[_0x3efb63(0x1b7)]),process[_0x3efb63(0x129)]=_0x569c0e,logger['debug'](_0x3efb63(0x14d)+_0x569c0e),logger[_0x3efb63(0x1a4)](_0x3efb63(0x17b)+_0x5918e7);if(helper[_0x3efb63(0x185)](_0x43072e)&&helper[_0x3efb63(0x185)](_0x43072e['abortBuildOnFailure'])&&fs[_0x3efb63(0x122)](_0x43072e['abortBuildOnFailure'][_0x3efb63(0x1b8)]))try{const _0x4efb48={};_0x4efb48[_0x3efb63(0xf7)]=!![],_0x4efb48[_0x3efb63(0x1c9)]=!![],fs[_0x3efb63(0x11c)](_0x43072e[_0x3efb63(0x1d9)][_0x3efb63(0x1b8)],_0x4efb48),logger[_0x3efb63(0x105)](_0x3efb63(0x19a)+_0x43072e[_0x3efb63(0x1d9)]['workingDir']);}catch(_0x24d7c3){logger[_0x3efb63(0x107)](_0x3efb63(0x1a1)+_0x24d7c3);}let _0x5e23e8=null;if(fs[_0x3efb63(0x122)](_0x490ae8)){_0x5e23e8=fs[_0x3efb63(0x180)](_0x490ae8);try{_0x5e23e8=JSON[_0x3efb63(0x1b1)](_0x5e23e8);}catch(_0x288e70){logger[_0x3efb63(0x105)]('Error\x20while\x20parsing\x20'+_0x490ae8+',\x20'+_0x5e23e8+_0x3efb63(0x147)+_0x288e70);}fs[_0x3efb63(0x12d)](_0x490ae8);}fs[_0x3efb63(0x12d)](_0x5918e7),fs[_0x3efb63(0x12d)](_0x1c0782),_0x5e23e8&&(_0x3ee232['errorMessage']=helper[_0x3efb63(0x158)](_0x5e23e8,_0xcb9a53[_0x3efb63(0x1ca)],_0x3ee232));const _0x4f3a91=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x3efb63(0x115)]()[_0x3efb63(0x1c1)]();}catch(_0x435f44){console['log'](_0x435f44),_0xcb9a53[_0x3efb63(0xea)](debug,_0x3efb63(0xed)+util[_0x3efb63(0x198)](_0x435f44));}testOpsHelper[_0x3efb63(0x18f)](),TestDetails[_0x3efb63(0x19b)](),await utilities[_0x3efb63(0x124)](_0x3ee232,_0x4f3a91);});}module[a21_0x2da262(0x11f)]=run;
2
+ 'use strict';const a21_0x433682=a21_0x2bd6;(function(_0x2c7153,_0x102bc3){const _0xb58ae8=a21_0x2bd6,_0x5ef116=_0x2c7153();while(!![]){try{const _0x53d75b=-parseInt(_0xb58ae8(0x17b))/0x1+parseInt(_0xb58ae8(0x133))/0x2+-parseInt(_0xb58ae8(0x9b))/0x3+parseInt(_0xb58ae8(0x148))/0x4*(parseInt(_0xb58ae8(0x11c))/0x5)+parseInt(_0xb58ae8(0x126))/0x6*(-parseInt(_0xb58ae8(0xf0))/0x7)+-parseInt(_0xb58ae8(0x8e))/0x8+parseInt(_0xb58ae8(0x167))/0x9;if(_0x53d75b===_0x102bc3)break;else _0x5ef116['push'](_0x5ef116['shift']());}catch(_0x4f02e1){_0x5ef116['push'](_0x5ef116['shift']());}}}(a21_0x13be,0xa892e));function a21_0x13be(){const _0x49fa8c=['Deleting\x20','Pnaxb','CCbAA','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','pDasp','jest.config.','browserStackPercyOptions','PLUzA','testEnvironmentOptions','Found:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jnFPL','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','NIPKl','BROWSERSTACK_CAPABILITIES','../../helpers/performance/performance-tester','setupFiles','MODULE','cEidF','../../helpers/testhub/utils','getInstance','recursive','skipSessionName','jest-config/build/readConfigFileAndSetRootDir.js','14256558naXKcQ','testObservability','getHubUrl','tGKAS','YXVHj','jaREu','resolve','EVENTS','customTestRunner.js','handleApp','Getting\x20your\x20jest\x20configs\x20from\x20','mjs','parallels__','join','message','default','child_process','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','DJqJF','errorMessage','1307634BbgemS','SDK_CLEANUP','ElnJJ','bUMSd','cwd','existsSync','true','jest-config','\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','BROWSERSTACK_TEST_ACCESSIBILITY_YML','BROWSERSTACK_FRAMEWORK','retries__','slice','isRunning','ZxbJP','getPackageType','data-hooks.js','kXnYm','1321832bcilgZ','false','end','start','requirePWModule','findTestFiles','Getting\x20your\x20jest\x20configs\x20from\x20package.json','eOavH','isTestOrchestrationEnabled','turboScaleUrl','SDK_SETUP','FRAMEWORKS','useW3C','1059072GVcPdY','proxySettings','../../helpers/test-observability/utils','config','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','platformCaps','../../helpers/test-observability/constants','setupFilesAfterEnv','accessibilityOptions','timeout__','moduleNameMapper','exports','\x20:\x20','rohpP','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','BSTACK_JEST_TEST_ENV','test.setup.js','splice','bdKVQ','failFast','util','dMdkc','test-observability','jest-circus','QznQb',';\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','zNruP','jest','JEST','RUQYS',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','Unable\x20to\x20find\x20jest-circus,\x20','parallelsPerPlatform','Creating\x20','customTestRunnerTemplate.js','fMWRH','writeFileSync','Preserving\x20user\x27s\x20Jest\x20runner:\x20','capabilities','const\x20config=','retryTestsOnFailure','jest_browserstack_results.json','requireSeleniumWebdriver','../../helpers/test-orchestration/testOrchestrationHandler','maxWorkers','debug','@jest/core','runner','package.json','ujAOt','setupBrowserstackLocal','stringify','length','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','stop','Error\x20while\x20parsing\x20','/internal/$1','lEHCv','child\x20process\x20exited\x20with\x20code\x20','yADus','PACKAGE_TYPE','__isPuppeteerInstalled','cjs','zByFy','resolveModule','BSTACK_USER_JEST_RUNNER','qsELc','../../helpers/puppeteer-helper','jest-circus/build/runner.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','SRBKU','npx','push','customImplements','serial__','jest_browserstack.config.cjs','getErrorMessageFromResults','parse','VZNIM','env','VwOjE','vAdtK','shutdown','xQZIr','jest-runner-','105GQZkdE','playwright','../../helpers/helper','inherit','../../helpers/utilities','customEnvironment.js','exitCode','apply',';\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','ceomi','MAjJL','vuOWf','workingDir','KLAgn','assign','requireModule','isNotUndefined','isUndefined','eUlXp','startsWith','testContextOptions','readFileSync','PZSxy','\x0a\x20\x20\x20\x20\x20\x20','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','BROWSERSTACK_TEST_OBSERVABILITY_YML','gxijE','runInBand','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','./test-observability/test-details','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','../utils/constants','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','testTimeout','json','iDJCF','Dyrjv','Puppeteer\x20setup\x20error:\x20','--config','platforms','getPackageVersion','jest-runner','testEnvironment','USER_CONFIG_DETAILS_PATH','20PLwyGm','Deleted\x20fail-fast\x20state\x20folder:\x20','rSOYn','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','nKfvZ','vakVJ','reporters','winstonLogger','maxRetries','error','92934NlDhdu','abortBuildOnFailure','WXhox','../../helpers/performance/constants','Reodered\x20Test\x20Files:\x20','\x20with\x20browserstack\x20jest\x20configs','info','rmSync','../../helpers/accessibility-automation/helper','readInitialOptions','prepareCapabilities','CmWkC','log','2289300zepWns','skipSessionStatus','unlinkSync','RnZFl','\x0amodule.exports\x20=\x20config;','kqlvo','anGAE','filterBrowserstackArgs','INtod','jest_browserstack.config.js','path','shouldProcessEventForTesthub','format','force','accessibility','customSequencer.js','../../helpers/percy/utils','kZdSA','checkAccessibilityPlatformConfig','isEmpty','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','19988jgPYMQ','parseTestOrchestrationOptions','\x20test\x20files\x20to\x20run.','KRJzu','../../helpers/BrowserStackSetup','pZVkl',',\x20CLI\x20running:\x20'];a21_0x13be=function(){return _0x49fa8c;};return a21_0x13be();}const fs=require('fs'),path=require(a21_0x433682(0x13d)),util=require(a21_0x433682(0xaf)),{spawn}=require(a21_0x433682(0x177)),logger=require('../../helpers/logger')[a21_0x433682(0x123)],{default:BrowserStackSetup}=require(a21_0x433682(0x14c)),helper=require(a21_0x433682(0xf2)),utilities=require(a21_0x433682(0xf4)),constants=require(a21_0x433682(0x10f)),accessibilityHelper=require(a21_0x433682(0x12e)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a21_0x433682(0x9d)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a21_0x433682(0x10d)),{getPercyOptions}=require(a21_0x433682(0x143)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a21_0x433682(0x162)),{FRAMEWORKS}=require(a21_0x433682(0xa1)),PerformanceTester=require(a21_0x433682(0x15e)),PerformanceEvents=require(a21_0x433682(0x129))[a21_0x433682(0x16e)],TestOrchestrationHandler=require(a21_0x433682(0xc6)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x433682(0xde)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a21_0x433682(0x12e)),getUserJestConfigs=async(_0x1a3a9c,_0xfdf7d2)=>{const _0x60d59d=a21_0x433682,_0x949460={'oGQec':_0x60d59d(0x166),'xQZIr':_0x60d59d(0x83),'pDasp':function(_0x98953f,_0x53cac1){return _0x98953f||_0x53cac1;},'zByFy':function(_0x1fcc21,_0x58a1fd){return _0x1fcc21(_0x58a1fd);},'jaREu':_0x60d59d(0xcb),'ceomi':_0x60d59d(0x94),'WXhox':_0x60d59d(0x172),'vwmXq':_0x60d59d(0xd9),'kqlvo':_0x60d59d(0x112)};let _0x309ab2;try{_0x309ab2=helper[_0x60d59d(0xff)](_0x949460['oGQec'],_0x949460[_0x60d59d(0xee)]);}catch{const _0x21df21=helper[_0x60d59d(0xff)](_0x949460['xQZIr']);_0x309ab2={'default':async _0x273016=>{const _0x4e2910=_0x60d59d,_0x18bac6=await _0x21df21[_0x4e2910(0x12f)](_0x273016,{});return _0x18bac6[_0x4e2910(0x9e)];}};}const _0x23c71d=_0xfdf7d2['findIndex'](_0x46ea57=>_0x46ea57==='--config');if(!helper[_0x60d59d(0x101)](_0x1a3a9c[_0x60d59d(0x9e)])){logger[_0x60d59d(0x12c)](_0x60d59d(0x171)+_0x1a3a9c[_0x60d59d(0x9e)]),process[_0x60d59d(0xea)][_0x60d59d(0x11b)]=_0x1a3a9c['config'];const _0x27447b=await(0x0,_0x309ab2[_0x60d59d(0x176)])(path[_0x60d59d(0x16d)](_0x1a3a9c[_0x60d59d(0x9e)]));return _0xfdf7d2[_0x60d59d(0xac)](_0x23c71d,0x2),_0x949460[_0x60d59d(0x153)](_0x27447b,{});}const _0x117dd1=_0x949460[_0x60d59d(0xda)](require,path['join'](process[_0x60d59d(0x80)](),_0x949460[_0x60d59d(0x16c)]));if(_0x117dd1['jest'])return logger['info'](_0x949460[_0x60d59d(0xf9)]),_0x117dd1[_0x60d59d(0xb6)];const _0x5e3340=['js',_0x949460[_0x60d59d(0x128)],_0x949460['vwmXq'],_0x949460[_0x60d59d(0x138)],'ts'];for(const _0x3813f7 of _0x5e3340){const _0x4c77d4=path[_0x60d59d(0x174)](process[_0x60d59d(0x80)](),_0x60d59d(0x154)+_0x3813f7);if(fs['existsSync'](_0x4c77d4)){process['env'][_0x60d59d(0x11b)]=_0x4c77d4;const _0x3e1fbd=await(0x0,_0x309ab2[_0x60d59d(0x176)])(_0x4c77d4);return _0x3e1fbd;}}return{};},getSerial=(_0x1368ed,_0x4ddfa8)=>{const _0x4944a0=a21_0x433682,_0x1662de={};_0x1662de[_0x4944a0(0x16a)]=_0x4944a0(0x82),_0x1662de[_0x4944a0(0xb8)]=function(_0x444253,_0x534b1d){return _0x444253>_0x534b1d;},_0x1662de['lEHCv']=function(_0x4a14c4,_0x3af3eb){return _0x4a14c4>_0x3af3eb;},_0x1662de['uEFSu']=_0x4944a0(0x8f);const _0x52d43f=_0x1662de;let _0x4a4a93=_0x52d43f[_0x4944a0(0x16a)];return _0x52d43f['RUQYS'](_0x1368ed[_0x4944a0(0xcf)],0x1)&&(!_0x4ddfa8[_0x4944a0(0x10b)]&&(helper['isUndefined'](_0x4ddfa8[_0x4944a0(0xc7)])||_0x52d43f[_0x4944a0(0xd4)](_0x4ddfa8[_0x4944a0(0xc7)],0x1)))&&(_0x4a4a93=_0x52d43f['uEFSu']),_0x4a4a93;},getMaxWorkers=(_0x5acd36,_0x56e10a,_0x214a19)=>{const _0x2550da=a21_0x433682,_0x2efeb6={'zNruP':function(_0x2fcb9a,_0x5ee666){return _0x2fcb9a(_0x5ee666);}};let _0x127386=0x1;if(!helper['isUndefined'](_0x56e10a['parallelsPerPlatform']))_0x127386=_0x2efeb6[_0x2550da(0xb5)](parseInt,_0x56e10a[_0x2550da(0xbb)]);else{if(!helper[_0x2550da(0x101)](_0x5acd36[_0x2550da(0xc7)]))_0x127386=_0x5acd36[_0x2550da(0xc7)];else!helper[_0x2550da(0x101)](_0x214a19['maxWorkers'])&&(_0x127386=_0x214a19[_0x2550da(0xc7)]);}return _0x127386;};async function run(_0x253f8e,_0x30ca1e,_0xf85aad){const _0x520078=a21_0x433682,_0x26c56c={'CmWkC':_0x520078(0xb6),'yADus':function(_0x47db3a,_0x4576a9){return _0x47db3a(_0x4576a9);},'bUMSd':'@playwright/test','MAjJL':function(_0x18ba7c){return _0x18ba7c();},'eOavH':function(_0x53179d,_0x417ec5,_0x554669,_0xc87787){return _0x53179d(_0x417ec5,_0x554669,_0xc87787);},'gxijE':function(_0x1a923e,_0x2d9291){return _0x1a923e!=_0x2d9291;},'pZVkl':'true','SGRVm':function(_0x2c2ffe,_0x2dceaa,_0x42d8be){return _0x2c2ffe(_0x2dceaa,_0x42d8be);},'KRJzu':_0x520078(0x10c),'yUUIy':function(_0xc32d80,_0x5ed4b7){return _0xc32d80(_0x5ed4b7);},'vAdtK':function(_0x35c1f4,_0x1f1b91){return _0x35c1f4(_0x1f1b91);},'BGKNP':_0x520078(0x8f),'qsELc':function(_0x3b7388,_0x11b84c,_0x37875f){return _0x3b7388(_0x11b84c,_0x37875f);},'rohpP':function(_0x92211b,_0x7a56b5,_0x4d5271,_0x5c7fcd){return _0x92211b(_0x7a56b5,_0x4d5271,_0x5c7fcd);},'vuOWf':function(_0x5e9fdd,_0x5873ca){return _0x5e9fdd*_0x5873ca;},'rSOYn':function(_0x578e43,_0x19729f){return _0x578e43===_0x19729f;},'VwOjE':_0x520078(0xe6),'fMWRH':_0x520078(0x13c),'NIPKl':_0x520078(0xe4),'CCbAA':_0x520078(0xc4),'jnFPL':_0x520078(0x16f),'SRBKU':_0x520078(0xbd),'kXnYm':_0x520078(0xf5),'dMdkc':function(_0x24ec0b,_0x130bbd){return _0x24ec0b!==_0x130bbd;},'nKfvZ':_0x520078(0x119),'QznQb':'jest-runner-','CtbgL':'jest.setup.js','DMYWG':_0x520078(0x142),'GRCjH':_0x520078(0x147),'anGAE':_0x520078(0xb2),'RnZFl':_0x520078(0xdf),'vakVJ':_0x520078(0xb1),'ZxbJP':_0x520078(0x8c),'PZSxy':'customCircus.js','Dyrjv':'test_before.setup.js','Urwss':_0x520078(0x9f),'axZxp':_0x520078(0xf1),'cEidF':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','dveGG':_0x520078(0xab),'ElnJJ':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','VZNIM':function(_0x462ad4,_0x37b0e4){return _0x462ad4&&_0x37b0e4;},'DuuwS':_0x520078(0x108),'YXVHj':'puppeteer','iDJCF':'puppeteer-core/package.json','Pnaxb':_0x520078(0x176),'DJqJF':'@jest/core/build/ReporterDispatcher.js','gIJhF':_0x520078(0xc9),'ujAOt':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','KLAgn':function(_0x55a56a,_0x419dba){return _0x55a56a>_0x419dba;},'bdKVQ':_0x520078(0xa9),'INtod':_0x520078(0x116),'PLUzA':_0x520078(0xe2),'eUlXp':function(_0x3600a7,_0x5f00df){return _0x3600a7===_0x5f00df;},'kZdSA':'win32','yzwgG':_0x520078(0xf3),'LTOrT':'close'},_0x5b1de3=helper[_0x520078(0x118)](_0x26c56c[_0x520078(0x7f)]);global['__isPlaywrightInstalled']=!!_0x5b1de3;const _0x3aca08=_0x26c56c[_0x520078(0xfa)](getPuppeteerVersion);global[_0x520078(0xd8)]=!!_0x3aca08;helper['isBrowserstackInfra']()&&(await _0xf85aad['initialize'](_0x253f8e),await helper[_0x520078(0x170)](_0xf85aad[_0x520078(0x9e)]));if(_0x5b1de3)await _0x26c56c['eOavH'](checkPwandBootstrapCli,_0x5b1de3,constants[_0x520078(0x99)][_0x520078(0xb7)],_0xf85aad);else _0x3aca08&&await _0x26c56c['eOavH'](checkPuppeteerAndBootstrapCli,_0x3aca08,constants[_0x520078(0x99)][_0x520078(0xb7)],_0xf85aad);!BrowserstackCLI[_0x520078(0x163)]()['isRunning']()&&await _0xf85aad[_0x520078(0xcd)]();if(!_0xf85aad[_0x520078(0x9e)])return;_0x26c56c[_0x520078(0x10a)](_0xf85aad['config'][_0x520078(0x168)],null)?process[_0x520078(0xea)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xf85aad[_0x520078(0x9e)][_0x520078(0x168)]:process[_0x520078(0xea)][_0x520078(0x109)]=_0x26c56c[_0x520078(0x14d)];const _0x1b15ec=new TestOrchestrationHandler(_0xf85aad[_0x520078(0x9e)]),_0x1808fa=await _0x26c56c['SGRVm'](getUserJestConfigs,_0x253f8e,_0x30ca1e);logger[_0x520078(0x12c)](_0x26c56c[_0x520078(0x14b)]);const _0x1112b2=Object[_0x520078(0xfe)]({},_0x1808fa);_0x1112b2[_0x520078(0x157)]=Object[_0x520078(0xfe)]({},_0x1112b2[_0x520078(0x157)],{'server':helper[_0x520078(0x169)](_0xf85aad[_0x520078(0x9e)]),'environment':_0x1808fa[_0x520078(0x11a)]}),_0x1112b2[_0x520078(0x157)][_0x520078(0x155)]=_0x26c56c['yUUIy'](getPercyOptions,_0xf85aad[_0x520078(0x9e)]);const _0x3a2ebd=helper[_0x520078(0x9a)](_0xf85aad[_0x520078(0x9e)]);!helper[_0x520078(0x101)](_0xf85aad[_0x520078(0x9e)][_0x520078(0xa3)])&&(process[_0x520078(0xea)][_0x520078(0x159)]=JSON['stringify'](_0xf85aad[_0x520078(0x9e)][_0x520078(0xa3)]));if(!BrowserstackCLI[_0x520078(0x163)]()[_0x520078(0x89)]()){const _0x47d2f5=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x520078(0xb7)],_0xf85aad);}const _0x5a4c23=helper[_0x520078(0x130)](_0xf85aad[_0x520078(0x9e)],_0x3a2ebd,constants[_0x520078(0x99)][_0x520078(0xb7)]);process[_0x520078(0xea)][_0x520078(0x15d)]=JSON[_0x520078(0xce)](_0x5a4c23);let _0x181b3f=_0xf85aad['config'][_0x520078(0x141)];_0x181b3f=_0x181b3f||accessibilityHelper[_0x520078(0x145)](_0xf85aad['config']),process['env'][_0x520078(0x85)]=_0x181b3f,logger[_0x520078(0xc8)](_0x520078(0x152)+_0x181b3f+_0x520078(0x14e)+BrowserstackCLI[_0x520078(0x163)]()[_0x520078(0x89)]());if(_0x5b1de3)try{const _0x300e78=_0x26c56c[_0x520078(0xec)](checkAccessibilityPlatformConfig,_0xf85aad[_0x520078(0x9e)]);process[_0x520078(0xea)][_0x520078(0x15b)]=_0x300e78?_0x26c56c[_0x520078(0x14d)]:_0x26c56c['BGKNP'],logger[_0x520078(0xc8)](_0x520078(0x10e)+_0x300e78+_0x520078(0xb9)+process[_0x520078(0xea)][_0x520078(0x15b)]);}catch(_0x4e337a){logger[_0x520078(0xc8)](_0x520078(0x178)+util[_0x520078(0x13f)](_0x4e337a));}_0x1112b2[_0x520078(0x157)][_0x520078(0xc1)]=_0x5a4c23,_0x1112b2[_0x520078(0x157)][_0x520078(0xe5)]=_0x26c56c[_0x520078(0xdd)](getSerial,_0x5a4c23,_0x253f8e),_0x1112b2[_0x520078(0x157)][_0x520078(0x173)]=_0x26c56c[_0x520078(0xa8)](getMaxWorkers,_0x253f8e,_0xf85aad[_0x520078(0x9e)],_0x1808fa),_0x1112b2[_0x520078(0x157)][_0x520078(0x9c)]=_0xf85aad[_0x520078(0x9e)][_0x520078(0x9c)],_0x1112b2[_0x520078(0x157)][_0x520078(0xa4)]=_0x26c56c[_0x520078(0xfb)](_0x253f8e[_0x520078(0x111)],0x1)||0x1388,_0x1112b2['testEnvironmentOptions'][_0x520078(0x165)]=_0xf85aad['config'][_0x520078(0x104)]['skipSessionName'],_0x1112b2[_0x520078(0x157)][_0x520078(0x134)]=_0xf85aad['config'][_0x520078(0x104)][_0x520078(0x134)],_0x1112b2[_0x520078(0x157)]['browserStackLogLevel']=_0xf85aad['config']['logLevel'],_0x1112b2[_0x520078(0x157)]['turboScaleUrl']=_0xf85aad[_0x520078(0x9e)][_0x520078(0x97)],_0x1112b2['testEnvironmentOptions'][_0x520078(0xa0)]=_0xf85aad[_0x520078(0x9e)][_0x520078(0x117)];const _0x1f98dc=helper[_0x520078(0x149)](_0xf85aad[_0x520078(0x9e)]);if(!helper[_0x520078(0x146)](_0x1f98dc)){helper[_0x520078(0x100)](_0x1f98dc[_0x520078(0xc3)])&&(_0x1112b2[_0x520078(0x157)][_0x520078(0x87)]=_0x1f98dc[_0x520078(0xc3)][_0x520078(0x124)]);if(helper[_0x520078(0x100)](_0x1f98dc[_0x520078(0x127)])&&helper['isNotUndefined'](_0x1f98dc['abortBuildOnFailure'][_0x520078(0xfc)])){const _0x148d7b={};_0x148d7b['failureThresholdCount']=_0x1f98dc['abortBuildOnFailure']['maxFailures'],_0x148d7b[_0x520078(0xfc)]=_0x1f98dc[_0x520078(0x127)]['workingDir'],_0x1112b2[_0x520078(0x157)][_0x520078(0xae)]=_0x148d7b;}}let _0x30835c='';_0x26c56c[_0x520078(0x11e)](helper[_0x520078(0x8b)](),constants[_0x520078(0xd7)][_0x520078(0x160)])?_0x30835c=_0x26c56c[_0x520078(0xeb)]:_0x30835c=_0x26c56c[_0x520078(0xbe)];const _0x303675=_0x30835c,_0x3f0a4b=path['join'](__dirname,_0x26c56c[_0x520078(0x15c)],_0x26c56c[_0x520078(0x151)]),_0x56b4ac=path[_0x520078(0x174)](__dirname,_0x26c56c[_0x520078(0x15c)],_0x26c56c[_0x520078(0x15a)]),_0x5ecf2d=path[_0x520078(0x174)](__dirname,_0x26c56c[_0x520078(0x15c)],_0x26c56c[_0x520078(0xe1)]);_0x1112b2[_0x520078(0x11a)]&&(process[_0x520078(0xea)][_0x520078(0xaa)]=_0x1112b2[_0x520078(0x11a)]);_0x1112b2[_0x520078(0x11a)]=path[_0x520078(0x174)](__dirname,_0x26c56c[_0x520078(0x15c)],_0x26c56c[_0x520078(0x8d)]);const _0x55b9b3=_0x1808fa[_0x520078(0xca)];if(_0x55b9b3&&_0x26c56c[_0x520078(0xb0)](_0x55b9b3,_0x26c56c[_0x520078(0x120)])){const _0x21520b=_0x55b9b3[_0x520078(0x103)](_0x26c56c[_0x520078(0xb3)])?_0x55b9b3:_0x520078(0xef)+_0x55b9b3;process[_0x520078(0xea)][_0x520078(0xdc)]=_0x21520b,logger['info'](_0x520078(0xc0)+_0x21520b);}_0x1112b2[_0x520078(0xca)]=_0x56b4ac,_0x1112b2[_0x520078(0xa2)]=_0x1112b2[_0x520078(0xa2)]||[],_0x1112b2['setupFilesAfterEnv'][_0x520078(0xe3)](path[_0x520078(0x174)](__dirname,_0x26c56c['CtbgL']));_0x1b15ec[_0x520078(0x96)]()&&(_0x1112b2['testSequencer']=path[_0x520078(0x174)](__dirname,_0x26c56c[_0x520078(0x15c)],_0x26c56c['DMYWG']));if(testhubUtils[_0x520078(0x13e)]()||BrowserstackCLI[_0x520078(0x163)]()['isCliEnabled']()){let _0x4ebac1=null;try{_0x4ebac1=helper[_0x520078(0xff)](_0x26c56c['GRCjH'],_0x26c56c['anGAE']);}catch(_0x34b563){try{_0x4ebac1=helper[_0x520078(0xff)](_0x26c56c[_0x520078(0x136)],_0x26c56c[_0x520078(0x139)]);}catch(_0x308cab){_0x26c56c[_0x520078(0xec)](debug,_0x520078(0xba)+_0x308cab);}}_0x4ebac1&&(testhubUtils[_0x520078(0x13e)]()&&_0x1112b2[_0x520078(0xa2)][_0x520078(0xe3)](path[_0x520078(0x174)](__dirname,_0x26c56c[_0x520078(0x121)],_0x26c56c[_0x520078(0x8a)])),_0x1112b2['testRunner']=path[_0x520078(0x174)](__dirname,_0x26c56c[_0x520078(0x15c)],_0x26c56c[_0x520078(0x106)]));}_0x1112b2[_0x520078(0x15f)]=_0x1112b2[_0x520078(0x15f)]||[];try{helper[_0x520078(0xc5)](),_0x1112b2[_0x520078(0x15f)][_0x520078(0xe3)](path[_0x520078(0x174)](__dirname,_0x26c56c[_0x520078(0x114)]));}catch{logger[_0x520078(0xc8)](_0x26c56c['Urwss']);}try{helper[_0x520078(0x92)][_0x520078(0xf7)](null,[_0x26c56c['bUMSd'],_0x26c56c['axZxp']]),logger[_0x520078(0xc8)](_0x26c56c[_0x520078(0x161)]),_0x1112b2[_0x520078(0x15f)][_0x520078(0xe3)](path[_0x520078(0x174)](__dirname,_0x26c56c['dveGG']));}catch(_0x188b9f){logger[_0x520078(0xc8)](_0x26c56c[_0x520078(0x17d)],_0x188b9f);}if(_0x26c56c[_0x520078(0xe9)](!_0x5b1de3,_0x3aca08)){try{logger[_0x520078(0xc8)](_0x26c56c['DuuwS']),_0x1112b2['setupFilesAfterEnv']['push'](path[_0x520078(0x174)](__dirname,'..',_0x26c56c[_0x520078(0x16b)],_0x26c56c['dveGG']));}catch(_0x1247c1){logger['debug'](_0x520078(0x115)+_0x1247c1[_0x520078(0x175)]);}try{const _0x4118ca=require[_0x520078(0x16d)](_0x26c56c[_0x520078(0x113)]),_0x4d7974=path['dirname'](_0x4118ca)['replace'](/\\/g,'/'),_0x1d6525={};_0x1d6525['^puppeteer-core/internal/(.*)']=_0x4d7974+_0x520078(0xd3),_0x1112b2[_0x520078(0xa5)]=Object[_0x520078(0xfe)]({},_0x1112b2[_0x520078(0xa5)]||{},_0x1d6525),logger[_0x520078(0xc8)](_0x520078(0xd0)+_0x4d7974);}catch(_0x14de89){logger[_0x520078(0xc8)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x14de89[_0x520078(0x175)]);}}_0x1112b2[_0x520078(0x122)]=_0x1112b2['reporters']||[_0x26c56c[_0x520078(0x150)]],_0x26c56c['SGRVm'](updateTestRerunConfig,_0x1112b2,_0xf85aad);const _0x1f2ab2=fs[_0x520078(0x105)](_0x5ecf2d),_0x235117=helper[_0x520078(0xdb)](_0x26c56c[_0x520078(0x179)],_0x26c56c['gIJhF']);!_0x235117[_0x520078(0x125)]?fs[_0x520078(0xbf)](_0x1112b2['runner'],_0x520078(0x107)+_0x1f2ab2+_0x520078(0xe0)+_0xf85aad[_0x520078(0x9e)][_0x520078(0x117)]['length']+_0x520078(0xb4)):fs[_0x520078(0xbf)](_0x1112b2[_0x520078(0xca)],_0x520078(0x107)+_0x1f2ab2+_0x520078(0x84)+_0xf85aad[_0x520078(0x9e)][_0x520078(0x117)]['length']+_0x520078(0xf8));logger[_0x520078(0x12c)](_0x520078(0xbc)+_0x303675+_0x520078(0x12b)),fs['writeFileSync'](_0x303675,_0x520078(0xc2)+JSON[_0x520078(0xce)](_0x1112b2)+_0x520078(0x137));if(_0x1b15ec[_0x520078(0x96)]()){logger[_0x520078(0xc8)](_0x26c56c[_0x520078(0xcc)]);const _0x2b4fe0=await _0x1b15ec[_0x520078(0x93)](_0x1112b2,_0x30ca1e[_0x520078(0x88)](0x1),_0x303675);logger[_0x520078(0xc8)](_0x520078(0x158)+JSON[_0x520078(0xce)](_0x2b4fe0)+_0x520078(0x14a));const _0x47b972=await _0x1b15ec['reorderTestFiles'](_0x2b4fe0);logger['debug'](_0x520078(0x12a)+JSON[_0x520078(0xce)](_0x47b972)),_0x47b972&&_0x26c56c[_0x520078(0xfd)](_0x47b972['length'],0x0)&&(process[_0x520078(0xea)]['JEST_TEST_ORDER']=_0x47b972?.[_0x520078(0x174)](','));}logger['info'](_0x26c56c[_0x520078(0xad)]);testhubUtils[_0x520078(0x13e)]()&&TestDetails['setup']();helper[_0x520078(0x13a)]({},_0x30ca1e),PerformanceTester[_0x520078(0x90)](PerformanceEvents[_0x520078(0x98)]);const _0x53fe06=[_0x26c56c[_0x520078(0x131)],_0x26c56c[_0x520078(0x13b)],_0x303675,..._0x30ca1e[_0x520078(0x88)](0x1)];process[_0x520078(0xea)][_0x520078(0x86)]=process['env'][_0x520078(0x86)]||_0x26c56c[_0x520078(0x131)];const _0x57cbb8=_0x26c56c[_0x520078(0x95)](spawn,_0x26c56c[_0x520078(0x156)],_0x53fe06,{'shell':_0x26c56c[_0x520078(0x102)](process['platform'],_0x26c56c[_0x520078(0x144)]),'stdio':_0x26c56c['yzwgG'],'env':Object[_0x520078(0xfe)]({},process[_0x520078(0xea)])});_0x57cbb8['on'](_0x26c56c['LTOrT'],async _0x20ac12=>{const _0x3b8e30=_0x520078;PerformanceTester[_0x3b8e30(0x91)](PerformanceEvents[_0x3b8e30(0x17c)]),process[_0x3b8e30(0xf6)]=_0x20ac12,logger[_0x3b8e30(0xc8)](_0x3b8e30(0xd5)+_0x20ac12),logger[_0x3b8e30(0x12c)](_0x3b8e30(0x14f)+_0x303675);if(helper['isNotUndefined'](_0x1f98dc)&&helper[_0x3b8e30(0x100)](_0x1f98dc[_0x3b8e30(0x127)])&&fs['existsSync'](_0x1f98dc['abortBuildOnFailure']['workingDir']))try{const _0x400b4e={};_0x400b4e[_0x3b8e30(0x164)]=!![],_0x400b4e[_0x3b8e30(0x140)]=!![],fs[_0x3b8e30(0x12d)](_0x1f98dc[_0x3b8e30(0x127)]['workingDir'],_0x400b4e),logger[_0x3b8e30(0xc8)](_0x3b8e30(0x11d)+_0x1f98dc[_0x3b8e30(0x127)][_0x3b8e30(0xfc)]);}catch(_0x159e11){logger[_0x3b8e30(0x125)](_0x3b8e30(0x110)+_0x159e11);}let _0x14c548=null;if(fs[_0x3b8e30(0x81)](_0x3f0a4b)){_0x14c548=fs['readFileSync'](_0x3f0a4b);try{_0x14c548=JSON[_0x3b8e30(0xe8)](_0x14c548);}catch(_0x43d174){logger[_0x3b8e30(0xc8)](_0x3b8e30(0xd2)+_0x3f0a4b+',\x20'+_0x14c548+_0x3b8e30(0xa7)+_0x43d174);}fs['unlinkSync'](_0x3f0a4b);}fs[_0x3b8e30(0x135)](_0x303675),fs[_0x3b8e30(0x135)](_0x56b4ac),_0x14c548&&(_0xf85aad[_0x3b8e30(0x17a)]=helper[_0x3b8e30(0xe7)](_0x14c548,_0x26c56c['CmWkC'],_0xf85aad));const _0x5b4ef1=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x3b8e30(0xd1)](),await BrowserstackCLI['getInstance']()[_0x3b8e30(0xd1)]();}catch(_0x56da8e){console[_0x3b8e30(0x132)](_0x56da8e),_0x26c56c[_0x3b8e30(0xd6)](debug,_0x3b8e30(0x11f)+util[_0x3b8e30(0x13f)](_0x56da8e));}testOpsHelper['printBuildLink'](),TestDetails[_0x3b8e30(0xed)](),await utilities['finalExecution'](_0xf85aad,_0x5b4ef1);});}function a21_0x2bd6(_0x4557db,_0x28ee67){const _0x13beba=a21_0x13be();return a21_0x2bd6=function(_0x2bd6dd,_0x39e74c){_0x2bd6dd=_0x2bd6dd-0x7f;let _0x58cff9=_0x13beba[_0x2bd6dd];return _0x58cff9;},a21_0x2bd6(_0x4557db,_0x28ee67);}module[a21_0x433682(0xa6)]=run;
@@ -1 +1 @@
1
- function a22_0x4ae0(){const _0xd1738e=['21203870WDFCQA','1122pfvrIF','exports','function','jest-circus/build/runner.js','1140240ltjRGZ','4802518KJwRwj','customJestAdapterInit.js','../../../helpers/helper','jest-circus','path','4276BDqnUD','3740544xzOQtr','751888joekjI','9XGbLoR','301986ZrEyEL','lItNb','hDxCz','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','initRequireModule','20aSOcaB','includes','join','eYXIj'];a22_0x4ae0=function(){return _0xd1738e;};return a22_0x4ae0();}const a22_0x41940c=a22_0x4d59;(function(_0x47ca25,_0x16f484){const _0x5b8885=a22_0x4d59,_0x2c749e=_0x47ca25();while(!![]){try{const _0x418c6e=-parseInt(_0x5b8885(0x1ca))/0x1+-parseInt(_0x5b8885(0x1cc))/0x2+parseInt(_0x5b8885(0x1be))/0x3*(-parseInt(_0x5b8885(0x1c8))/0x4)+-parseInt(_0x5b8885(0x1b9))/0x5*(-parseInt(_0x5b8885(0x1c2))/0x6)+-parseInt(_0x5b8885(0x1c3))/0x7+-parseInt(_0x5b8885(0x1c9))/0x8+parseInt(_0x5b8885(0x1cb))/0x9*(parseInt(_0x5b8885(0x1bd))/0xa);if(_0x418c6e===_0x16f484)break;else _0x2c749e['push'](_0x2c749e['shift']());}catch(_0x52b5e3){_0x2c749e['push'](_0x2c749e['shift']());}}}(a22_0x4ae0,0x6791a));const path=require(a22_0x41940c(0x1c7)),{requireModule}=require(a22_0x41940c(0x1c5));function a22_0x4d59(_0x2af06c,_0x30e9a1){const _0x4ae0ab=a22_0x4ae0();return a22_0x4d59=function(_0x4d593c,_0x370b01){_0x4d593c=_0x4d593c-0x1b7;let _0x4b340b=_0x4ae0ab[_0x4d593c];return _0x4b340b;},a22_0x4d59(_0x2af06c,_0x30e9a1);}let initJestAdapter;try{initJestAdapter=requireModule(a22_0x41940c(0x1b7),a22_0x41940c(0x1c6));}catch{initJestAdapter=requireModule(a22_0x41940c(0x1c1),'jest-circus');}initJestAdapter=typeof initJestAdapter===a22_0x41940c(0x1c0)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a22_0x41940c(0x1bb)](__dirname,a22_0x41940c(0x1c4));module[a22_0x41940c(0x1bf)]=(..._0x1369f4)=>{const _0x268c3c=a22_0x41940c,_0x9086f9={'lItNb':'jestAdapterInit','eYXIj':function(_0x1df4b3,_0x5ab3b7){return _0x1df4b3===_0x5ab3b7;},'hDxCz':function(_0x4cfcec,..._0x123a61){return _0x4cfcec(..._0x123a61);}};return _0x1369f4[0x3][_0x268c3c(0x1b8)]=_0x1369f4[0x3]['requireInternalModule'],_0x1369f4[0x3]['requireInternalModule']=(..._0x1bc630)=>{const _0x12f78b=_0x268c3c;if(_0x1bc630[0x0]&&_0x1bc630[0x0][_0x12f78b(0x1ba)](_0x9086f9[_0x12f78b(0x1cd)])&&_0x9086f9[_0x12f78b(0x1bc)](_0x1bc630[0x1],undefined))return _0x1369f4[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x1369f4[0x3]['initRequireModule'](..._0x1bc630);},_0x9086f9[_0x268c3c(0x1ce)](initJestAdapter,..._0x1369f4);};
1
+ const a22_0x48279e=a22_0x1dc9;function a22_0x1dc9(_0x3122b6,_0x396163){const _0x205d24=a22_0x205d();return a22_0x1dc9=function(_0x1dc9df,_0x28b7bc){_0x1dc9df=_0x1dc9df-0xe8;let _0x5d7d49=_0x205d24[_0x1dc9df];return _0x5d7d49;},a22_0x1dc9(_0x3122b6,_0x396163);}(function(_0xe41ce7,_0x5e1363){const _0x252ccb=a22_0x1dc9,_0x445eba=_0xe41ce7();while(!![]){try{const _0x5e3d3a=parseInt(_0x252ccb(0xec))/0x1+parseInt(_0x252ccb(0xfb))/0x2+-parseInt(_0x252ccb(0xf2))/0x3+parseInt(_0x252ccb(0xf8))/0x4*(parseInt(_0x252ccb(0xeb))/0x5)+parseInt(_0x252ccb(0xed))/0x6*(parseInt(_0x252ccb(0xf7))/0x7)+-parseInt(_0x252ccb(0xe8))/0x8*(-parseInt(_0x252ccb(0x103))/0x9)+-parseInt(_0x252ccb(0xf4))/0xa*(parseInt(_0x252ccb(0xf6))/0xb);if(_0x5e3d3a===_0x5e1363)break;else _0x445eba['push'](_0x445eba['shift']());}catch(_0x3db0d4){_0x445eba['push'](_0x445eba['shift']());}}}(a22_0x205d,0xc46d9));const path=require(a22_0x48279e(0xff)),{requireModule}=require(a22_0x48279e(0xf1));let initJestAdapter;try{initJestAdapter=requireModule(a22_0x48279e(0xf9),'jest-circus');}catch{initJestAdapter=requireModule(a22_0x48279e(0x101),a22_0x48279e(0xfe));}function a22_0x205d(){const _0x30e087=['jest-circus/build/runner.js','exports','317871myOerD','312grgfXO','requireInternalModule','initRequireModule','785szPEqx','84594exFwIq','6Yppndf','default','join','jestAdapterInit','../../../helpers/helper','1836483pFIHiG','YHlVg','19429070rRncSd','includes','11MqUmil','7578977bVaQYe','1708GIzptk','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','customJestAdapterInit.js','1495704BohUOv','ZYNio','function','jest-circus','path','nnPSs'];a22_0x205d=function(){return _0x30e087;};return a22_0x205d();}initJestAdapter=typeof initJestAdapter===a22_0x48279e(0xfd)?initJestAdapter:initJestAdapter[a22_0x48279e(0xee)];const FRAMEWORK_INITIALIZER=path[a22_0x48279e(0xef)](__dirname,a22_0x48279e(0xfa));module[a22_0x48279e(0x102)]=(..._0x1d3b80)=>{const _0x2be784=a22_0x48279e,_0x70f5ce={'YHlVg':_0x2be784(0xf0),'nnPSs':function(_0x301948,_0xc2e3a6){return _0x301948===_0xc2e3a6;},'ZYNio':function(_0x363e65,..._0x4ca563){return _0x363e65(..._0x4ca563);}};return _0x1d3b80[0x3][_0x2be784(0xea)]=_0x1d3b80[0x3][_0x2be784(0xe9)],_0x1d3b80[0x3][_0x2be784(0xe9)]=(..._0x49e201)=>{const _0x1c6453=_0x2be784;if(_0x49e201[0x0]&&_0x49e201[0x0][_0x1c6453(0xf5)](_0x70f5ce[_0x1c6453(0xf3)])&&_0x70f5ce[_0x1c6453(0x100)](_0x49e201[0x1],undefined))return _0x1d3b80[0x3][_0x1c6453(0xea)](FRAMEWORK_INITIALIZER);return _0x1d3b80[0x3]['initRequireModule'](..._0x49e201);},_0x70f5ce[_0x2be784(0xfc)](initJestAdapter,..._0x1d3b80);};