browserstack-node-sdk 1.65.7 → 1.66.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) 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/generated/sdk-messages_pb.d.ts +118 -0
  41. package/generated/sdk-messages_pb.js +908 -0
  42. package/generated/sdk_grpc_pb.d.ts +10 -0
  43. package/generated/sdk_grpc_pb.js +74 -0
  44. package/package.json +1 -1
  45. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  46. package/src/bin/codeceptjs/command.js +1 -1
  47. package/src/bin/codeceptjs/helper.js +1 -1
  48. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  49. package/src/bin/cucumber-js/command.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  52. package/src/bin/cucumber-js/test-observability.js +1 -1
  53. package/src/bin/cucumber-js/test.setup.js +1 -1
  54. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  55. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  56. package/src/bin/detox/a11ySetup.js +1 -0
  57. package/src/bin/detox/command.js +2 -0
  58. package/src/bin/detox/modifyDetoxConf.js +1 -0
  59. package/src/bin/detox/traEmitter.js +1 -0
  60. package/src/bin/integrations/command.js +1 -1
  61. package/src/bin/integrations/constants.js +1 -1
  62. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  63. package/src/bin/jasmine/command.js +1 -1
  64. package/src/bin/jasmine/test.setup.js +1 -1
  65. package/src/bin/jasmine/testRunMap.js +1 -1
  66. package/src/bin/jest/command.js +1 -1
  67. package/src/bin/jest/customImplements/customCircus.js +1 -1
  68. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  69. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  70. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  71. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  72. package/src/bin/jest/jest.setup.js +1 -1
  73. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  74. package/src/bin/jest/test-observability/helper.js +1 -1
  75. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  76. package/src/bin/jest/test-observability/test-details.js +1 -1
  77. package/src/bin/jest/test.setup.js +1 -1
  78. package/src/bin/jest/test_before.setup.js +1 -1
  79. package/src/bin/launcher/launcher.js +1 -1
  80. package/src/bin/load/index.js +1 -1
  81. package/src/bin/load/loadErrors.js +1 -1
  82. package/src/bin/load/loadUtils.js +1 -1
  83. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  84. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  85. package/src/bin/mocha/command.js +1 -1
  86. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  87. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  88. package/src/bin/mocha/test.setup.js +1 -1
  89. package/src/bin/newman/command.js +1 -1
  90. package/src/bin/newman/helper.js +1 -1
  91. package/src/bin/newman/reporter/index.js +1 -1
  92. package/src/bin/newman/scriptRunner.js +1 -1
  93. package/src/bin/nightwatch/command.js +1 -1
  94. package/src/bin/node-generic/client.js +1 -1
  95. package/src/bin/playwright/accessibility-helper.js +1 -1
  96. package/src/bin/playwright/command.js +1 -1
  97. package/src/bin/playwright/globalSetup.js +1 -1
  98. package/src/bin/playwright/mock-process.js +1 -1
  99. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  100. package/src/bin/playwright/patches.js +1 -1
  101. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  102. package/src/bin/playwright/reporter/reporter.js +1 -1
  103. package/src/bin/playwright/reporter/test-details.js +1 -1
  104. package/src/bin/playwright/reporterArgs.js +1 -1
  105. package/src/bin/playwright/sessionDetails.js +1 -1
  106. package/src/bin/puppeteer/patches.js +1 -1
  107. package/src/bin/puppeteer/sessionDetails.js +1 -1
  108. package/src/bin/puppeteer/test.setup.js +1 -1
  109. package/src/bin/runner.js +1 -1
  110. package/src/bin/setup.js +1 -1
  111. package/src/bin/test-runner/index.js +1 -1
  112. package/src/bin/test-runner/runTest.js +1 -1
  113. package/src/bin/test-runner/testWorker.js +1 -1
  114. package/src/bin/testcafe/a11y-runner.js +1 -1
  115. package/src/bin/testcafe/command.js +1 -1
  116. package/src/bin/testcafe/reporter/index.js +1 -1
  117. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  118. package/src/bin/testcafe/session-registry.js +1 -1
  119. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  120. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  121. package/src/bin/testcafe/w3c-driver.js +1 -1
  122. package/src/bin/utils/apiUtilityMethods.js +1 -1
  123. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  124. package/src/bin/utils/constants.js +1 -1
  125. package/src/bin/utils/log4jsAppender.js +1 -1
  126. package/src/bin/utils/logPatcher.js +1 -1
  127. package/src/bin/utils/logReportingAPI.js +1 -1
  128. package/src/bin/utils/playwright-patcher.js +1 -1
  129. package/src/bin/utils/puppeteer-patcher.js +1 -1
  130. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  131. package/src/bin/utils/sharedUtils.js +1 -1
  132. package/src/bin/v2/TestInfo.js +1 -1
  133. package/src/bin/v2/browserstackCLI.js +1 -1
  134. package/src/bin/v2/cliUtils.js +1 -1
  135. package/src/bin/v2/customTagManager.js +1 -1
  136. package/src/bin/v2/eventDispatcher.js +1 -1
  137. package/src/bin/v2/framework/automationFramework.js +1 -1
  138. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  139. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  140. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  141. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  142. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  143. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  144. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  146. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  147. package/src/bin/v2/framework/testFramework.js +1 -1
  148. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  149. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  150. package/src/bin/v2/grpcClient.js +1 -1
  151. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  152. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  153. package/src/bin/v2/instances/trackedContext.js +1 -1
  154. package/src/bin/v2/instances/trackedInstance.js +1 -1
  155. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  156. package/src/bin/v2/modules/baseModule.js +1 -1
  157. package/src/bin/v2/modules/loadTestModule.js +1 -1
  158. package/src/bin/v2/modules/observabilityModule.js +1 -1
  159. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  160. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  161. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  162. package/src/bin/v2/modules/testhubModule.js +1 -1
  163. package/src/bin/v2/sdkErrorHandler.js +1 -1
  164. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  165. package/src/bin/v2/state/hookState.js +1 -1
  166. package/src/bin/v2/state/testFrameworkState.js +1 -1
  167. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  168. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  169. package/src/bin/v2/utils/jest-utils.js +1 -1
  170. package/src/bin/vanilla-js/command.js +1 -1
  171. package/src/browserStackSdk.js +1 -1
  172. package/src/detox-driver/a11y.js +574 -0
  173. package/src/detox-driver/allocationDriver.js +26 -0
  174. package/src/detox-driver/cloudPlatformAction.js +111 -0
  175. package/src/detox-driver/environment.js +253 -0
  176. package/src/detox-driver/expect.js +44 -0
  177. package/src/detox-driver/index.js +12 -0
  178. package/src/detox-driver/login-timeout-preload.js +25 -0
  179. package/src/detox-driver/runtimeDriver.js +351 -0
  180. package/src/detox-driver/session-reporter.js +41 -0
  181. package/src/detox-driver/tra-capture.js +81 -0
  182. package/src/helpers/BrowserStackSetup.js +1 -1
  183. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  184. package/src/helpers/accessibility-automation/constants.js +1 -1
  185. package/src/helpers/accessibility-automation/helper.js +1 -1
  186. package/src/helpers/accessibility-automation/scripts.js +1 -1
  187. package/src/helpers/ats/constants.js +1 -1
  188. package/src/helpers/ats/helper.js +1 -1
  189. package/src/helpers/caCertHelper.js +1 -1
  190. package/src/helpers/capsMapping.js +1 -1
  191. package/src/helpers/central-scanner/constants.js +1 -1
  192. package/src/helpers/central-scanner/helpers.js +1 -1
  193. package/src/helpers/classLogger.js +1 -1
  194. package/src/helpers/driverInitErrorReporter.js +1 -1
  195. package/src/helpers/globals.js +1 -1
  196. package/src/helpers/helper.js +1 -1
  197. package/src/helpers/logger.js +1 -1
  198. package/src/helpers/metadata.js +1 -1
  199. package/src/helpers/patchHelper.js +1 -1
  200. package/src/helpers/patchHelpers.js +1 -1
  201. package/src/helpers/percy/Percy.js +1 -1
  202. package/src/helpers/percy/PercyBinary.js +1 -1
  203. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  204. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  205. package/src/helpers/percy/PercySDK.js +1 -1
  206. package/src/helpers/percy/index.js +1 -1
  207. package/src/helpers/percy/utils.js +1 -1
  208. package/src/helpers/performance/constants.js +1 -1
  209. package/src/helpers/performance/performance-tester.js +1 -1
  210. package/src/helpers/playwright-helper.js +1 -1
  211. package/src/helpers/processHelper.js +1 -1
  212. package/src/helpers/puppeteer-helper.js +1 -1
  213. package/src/helpers/request-spy.js +1 -1
  214. package/src/helpers/setKeepAlive.js +1 -1
  215. package/src/helpers/stackFrameUtils.js +1 -1
  216. package/src/helpers/test-observability/constants.js +1 -1
  217. package/src/helpers/test-observability/error-handler.js +1 -1
  218. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  219. package/src/helpers/test-observability/sessionHandler.js +1 -1
  220. package/src/helpers/test-observability/utils.js +1 -1
  221. package/src/helpers/test-orchestration/constants.js +1 -1
  222. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  223. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  224. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  225. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  226. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  227. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  228. package/src/helpers/testhub/constants.js +1 -1
  229. package/src/helpers/testhub/testhubHandler.js +1 -1
  230. package/src/helpers/testhub/utils.js +1 -1
  231. package/src/helpers/utilities.js +1 -1
  232. package/src/helpers/w3cMapping.js +1 -1
  233. package/src/hubAllocationMethods.js +1 -1
  234. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';function a13_0x40fe(){const _0x389eb6=['jhvtT','MhuKF','failed','jOLbo','split','nKPcD','started_at','dirname','actual','stack','matcherName','_sendSpecEvent','trim','endsWith','parentSuiteId','fnRzl','qJQuw','4266yXMRwE','suiteDone','lydCO','../../../helpers/test-observability/utils','JASMINE','shouldProcessEventForTesthub','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','err','get','pending','Exception\x20in\x20jasmine\x20specDone\x20for\x20','_suitesById','KaihT','../../../helpers/testhub/utils','expected','FUDBm','sep','609111EDkjHT','VXWcm','TestRunSkipped','passed','2178184GFyEOv','delete','AssertionError','join','match','toDDQ','uuid','QNwOM','fullName','set','XqFRd','path','has','zNbPY','failure','taSEL','isArray','oxLWl','.git','appendTesthubParams','finished_at','setCurrentTestData','3865nMWUNj','message','keys','duration','HyYqZ','_collapseFailedExpectations','reverse','4438080hQDnAc','DJpAS','toISOString','push','VJlrd','startsWith','\x20:\x20','../../../helpers/test-observability/sessionHandler','XocCH','RAFau','exports','cjMHK','fileNameByFullName','description','length','aYMxn','celtX','specStarted','../../../helpers/test-observability/constants','status','91kHfkYM','prefixTestPath','veNrQ','ckLzK','_findGitConfig','../testRunMap','relative','suiteStarted','iLaAi','fFIjo','File\x20path\x20could\x20not\x20be\x20found','cdcdW','dturM','IWkqJ','TestRunStarted','XhlVd','skipped','iTqtF','_scopes','FgpIE','slice','_paths','QcoPh','Rvics','failure_reason_expanded','Spec\x20failed','failedExpectations','vVPwu','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','_resolveFilePath','specDone','Jasmine','statSync','number','TestRunFinished','code','config','EGKOz','509072ulOkad','152487kflgsU','excluded','SeYcD','backtrace','expanded','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','XwtQL','aDapk','UnhandledError','knXvu','_fileNameByFullName','aLtSb','352600KzBdJH'];a13_0x40fe=function(){return _0x389eb6;};return a13_0x40fe();}const a13_0xda9819=a13_0x3126;(function(_0x256d91,_0x3d07c8){const _0x316fce=a13_0x3126,_0x28524a=_0x256d91();while(!![]){try{const _0x4a7f60=parseInt(_0x316fce(0x144))/0x1+parseInt(_0x316fce(0x150))/0x2+-parseInt(_0x316fce(0xe8))/0x3+parseInt(_0x316fce(0xec))/0x4+parseInt(_0x316fce(0x102))/0x5*(-parseInt(_0x316fce(0x162))/0x6)+-parseInt(_0x316fce(0x11d))/0x7*(-parseInt(_0x316fce(0x143))/0x8)+-parseInt(_0x316fce(0x109))/0x9;if(_0x4a7f60===_0x3d07c8)break;else _0x28524a['push'](_0x28524a['shift']());}catch(_0x3fe607){_0x28524a['push'](_0x28524a['shift']());}}}(a13_0x40fe,0x6f09f));const path=require(a13_0xda9819(0xf7)),fs=require('fs'),{v4:uuidv4}=require(a13_0xda9819(0xf2)),testhubUtils=require(a13_0xda9819(0xe4)),{FRAMEWORKS}=require(a13_0xda9819(0x11b)),SessionHandler=require(a13_0xda9819(0x110)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a13_0xda9819(0x165)),testRunMap=require(a13_0xda9819(0x122)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a13_0xda9819(0x13c),a13_0x12a0b8={};a13_0x12a0b8[a13_0xda9819(0xeb)]=a13_0xda9819(0xeb),a13_0x12a0b8[a13_0xda9819(0x153)]=a13_0xda9819(0x153),a13_0x12a0b8['pending']=a13_0xda9819(0x16b),a13_0x12a0b8[a13_0xda9819(0x145)]=a13_0xda9819(0x12d);const STATUS_MAP=a13_0x12a0b8;function a13_0x3126(_0x19602f,_0x5a377c){const _0x40fe15=a13_0x40fe();return a13_0x3126=function(_0x31267c,_0x24b8d2){_0x31267c=_0x31267c-0xe1;let _0xd185ec=_0x40fe15[_0x31267c];return _0xd185ec;},a13_0x3126(_0x19602f,_0x5a377c);}class BrowserStackJasmineReporter{constructor(_0x5a93e7={}){const _0x15642f=a13_0xda9819,_0x2ab258={'iLaAi':function(_0x356d4a){return _0x356d4a();}};this['testObservability']=_0x2ab258[_0x15642f(0x125)](isTestObservabilitySession),this[_0x15642f(0x132)]=new PathHelper({'cwd':process['cwd']()},undefined),this[_0x15642f(0x14e)]=_0x5a93e7&&_0x5a93e7[_0x15642f(0x115)]||{},this[_0x15642f(0xe2)]=new Map();}['jasmineStarted'](){}[a13_0xda9819(0x124)](_0x37ffff){const _0x3f41e4=a13_0xda9819,_0x18e4d4={'lydCO':function(_0x5f010e,_0x4bdbf9){return _0x5f010e!==_0x4bdbf9;},'zimgB':function(_0x34f852,_0x284f45){return _0x34f852(_0x284f45);}};try{_0x37ffff&&_0x18e4d4[_0x3f41e4(0x164)](_0x37ffff['id'],undefined)&&_0x18e4d4['lydCO'](_0x37ffff['id'],null)&&this['_suitesById'][_0x3f41e4(0xf5)](_0x37ffff['id'],{'description':_0x37ffff['description'],'parentSuiteId':_0x37ffff[_0x3f41e4(0x15f)]});}catch(_0x20e41b){_0x18e4d4['zimgB'](debug,'Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20'+(_0x37ffff&&_0x37ffff[_0x3f41e4(0xf4)])+'\x20:\x20'+_0x20e41b);}}[a13_0xda9819(0x11a)](_0x2d047b){const _0x48c9c6=a13_0xda9819,_0x58380f={'fFIjo':function(_0x4da900,_0x17df41){return _0x4da900!==_0x17df41;},'aDapk':function(_0x2c96cc){return _0x2c96cc();},'FgpIE':_0x48c9c6(0x12b),'taSEL':function(_0x1ed490,_0x20dbe9){return _0x1ed490(_0x20dbe9);}};try{if(_0x58380f[_0x48c9c6(0x126)](testhubUtils[_0x48c9c6(0x167)](),!![]))return;const _0x4c3ab8=_0x58380f[_0x48c9c6(0x14b)](uuidv4);testRunMap[_0x48c9c6(0xf5)](_0x2d047b['id'],_0x4c3ab8),this[_0x48c9c6(0x15c)](_0x2d047b,_0x4c3ab8,_0x58380f[_0x48c9c6(0x130)]);}catch(_0x5796b4){_0x58380f[_0x48c9c6(0xfb)](debug,_0x48c9c6(0x168)+(_0x2d047b&&_0x2d047b[_0x48c9c6(0xf4)])+_0x48c9c6(0x10f)+_0x5796b4);}}[a13_0xda9819(0x13b)](_0x418fa1){const _0xea918d=a13_0xda9819,_0x303ce7={'fnRzl':function(_0x5290fa,_0x4ce79b){return _0x5290fa!==_0x4ce79b;},'ImDjO':function(_0x53bf8c){return _0x53bf8c();},'aLtSb':function(_0x3f5b67,_0x4e8aa7){return _0x3f5b67===_0x4e8aa7;},'jOLbo':_0xea918d(0x145),'celtX':'TestRunSkipped','EGKOz':_0xea918d(0x13f),'tXfnm':function(_0x3164d8,_0x2a5c0f){return _0x3164d8(_0x2a5c0f);}};try{if(_0x303ce7[_0xea918d(0x160)](testhubUtils[_0xea918d(0x167)](),!![]))return;const _0x3d0641=testRunMap[_0xea918d(0x16a)](_0x418fa1['id'])||_0x303ce7['ImDjO'](uuidv4),_0x5a68e7=_0x303ce7[_0xea918d(0x14f)](_0x418fa1[_0xea918d(0x11c)],_0x303ce7[_0xea918d(0x154)])?_0x303ce7[_0xea918d(0x119)]:_0x303ce7[_0xea918d(0x142)];this[_0xea918d(0x15c)](_0x418fa1,_0x3d0641,_0x5a68e7);}catch(_0x466626){_0x303ce7['tXfnm'](debug,_0xea918d(0xe1)+(_0x418fa1&&_0x418fa1['fullName'])+'\x20:\x20'+_0x466626);}finally{_0x418fa1&&(testRunMap['remove'](_0x418fa1['id']),_specStartTimes[_0xea918d(0xed)](_0x418fa1['id']));}}[a13_0xda9819(0x163)](){}['jasmineDone'](){}[a13_0xda9819(0x15c)](_0x16aa23,_0x2b3658,_0x24afb8){const _0x5c7980=a13_0xda9819,_0x5e2110={'IWkqJ':function(_0x4d26f1,_0x1b2597){return _0x4d26f1===_0x1b2597;},'cdcdW':_0x5c7980(0x13f),'XhlVd':_0x5c7980(0xea),'aYMxn':_0x5c7980(0x127),'oGUZb':function(_0x1d8184,_0x38622a,_0x64fa86){return _0x1d8184(_0x38622a,_0x64fa86);},'VJlrd':_0x5c7980(0x169),'sHGIV':function(_0x3f6187,_0x4c4fb6){return _0x3f6187===_0x4c4fb6;},'XocCH':'TestRunStarted','fpZoG':function(_0x209188,_0x2e5836){return _0x209188!==_0x2e5836;},'ckLzK':function(_0x1b2458,_0x512949){return _0x1b2458!==_0x512949;},'HyYqZ':function(_0x35e77a,_0x476d25){return _0x35e77a===_0x476d25;},'FUDBm':'javascript','RAFau':function(_0x20a427,_0x22040f){return _0x20a427&&_0x22040f;},'knXvu':_0x5c7980(0x12d),'VXWcm':'passed','dturM':_0x5c7980(0x13e),'qJQuw':_0x5c7980(0xee),'oRfsr':_0x5c7980(0x14c),'eCwhf':function(_0x1de50a,_0x3f8fa3){return _0x1de50a===_0x3f8fa3;},'MhuKF':_0x5c7980(0x157),'KeUcK':_0x5c7980(0x100),'ksCtW':_0x5c7980(0xfa),'Rvics':'failure_backtrace','vVPwu':_0x5c7980(0x147),'iTqtF':_0x5c7980(0x135),'XqFRd':_0x5c7980(0x148),'weQBL':function(_0x12049e,_0x5e5599){return _0x12049e(_0x5e5599);}};try{const _0x5dc1e0=_0x5e2110['IWkqJ'](_0x24afb8,_0x5e2110[_0x5c7980(0x128)])||_0x5e2110[_0x5c7980(0x12a)](_0x24afb8,_0x5e2110[_0x5c7980(0x12c)]),_0x43807b=this['_resolveFilePath'](_0x16aa23),_0x3f82e6=_0x43807b?this[_0x5c7980(0x132)][_0x5c7980(0x11e)](_0x43807b):_0x5e2110[_0x5c7980(0x118)],_0x3bafc9=_0x43807b?this[_0x5c7980(0x121)](path[_0x5c7980(0x158)](_0x43807b)):null,_0x261f5e=this[_0x5c7980(0x107)](_0x16aa23[_0x5c7980(0x137)]),_0x2301fc=_0x261f5e?_0x261f5e[_0x5c7980(0x103)]:undefined,_0x34cdb8=_0x261f5e?_0x5e2110['oGUZb'](failureData,_0x261f5e,_0x5e2110[_0x5c7980(0x10d)]):[],_0x3b26ad=new Date()[_0x5c7980(0x10b)](),_0x1ca0cd=this[_0x5c7980(0x12f)](_0x16aa23);_0x5e2110['sHGIV'](_0x24afb8,_0x5e2110['XocCH'])&&_0x16aa23&&_0x5e2110['fpZoG'](_0x16aa23['id'],undefined)&&_0x5e2110[_0x5c7980(0x120)](_0x16aa23['id'],null)&&_specStartTimes[_0x5c7980(0xf5)](_0x16aa23['id'],_0x3b26ad);const _0xc90d2b=_0x5e2110[_0x5c7980(0x106)](_0x24afb8,_0x5e2110[_0x5c7980(0x111)])?_0x3b26ad:_0x16aa23&&_specStartTimes[_0x5c7980(0x16a)](_0x16aa23['id'])||null,_0x22adb7={};_0x22adb7['lang']=_0x5e2110[_0x5c7980(0xe6)],_0x22adb7[_0x5c7980(0x140)]=null;const _0x887978={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x2b3658,'name':_0x16aa23[_0x5c7980(0x116)],'body':_0x22adb7,'scope':_0x1ca0cd[_0x5c7980(0xef)]('\x20'),'scopes':_0x1ca0cd,'identifier':_0x16aa23[_0x5c7980(0xf4)],'file_name':_0x3f82e6,'vc_filepath':_0x5e2110[_0x5c7980(0x112)](_0x3bafc9,_0x43807b)?path[_0x5c7980(0x123)](_0x3bafc9,_0x43807b):null,'location':_0x3f82e6,'result':_0x5e2110[_0x5c7980(0x12a)](_0x24afb8,_0x5e2110['XhlVd'])?_0x5e2110[_0x5c7980(0x14d)]:STATUS_MAP[_0x16aa23[_0x5c7980(0x11c)]]||_0x5e2110[_0x5c7980(0xe9)],'failure_reason':_0x2301fc,'duration_in_ms':_0x5e2110['IWkqJ'](typeof _0x16aa23[_0x5c7980(0x105)],_0x5e2110[_0x5c7980(0x129)])?_0x16aa23['duration']:null,'started_at':_0xc90d2b,'finished_at':_0x5dc1e0?_0x3b26ad:null,'failure':_0x34cdb8,'failure_type':!_0x2301fc?null:_0x2301fc[_0x5c7980(0xf0)](/AssertionError/)?_0x5e2110[_0x5c7980(0x161)]:_0x5e2110['oRfsr'],'retry_of':null};_0x5e2110['eCwhf'](_0x24afb8,_0x5e2110[_0x5c7980(0x12c)])&&!_0x887978[_0x5e2110[_0x5c7980(0x152)]]&&(_0x887978[_0x5e2110[_0x5c7980(0x152)]]=_0x887978[_0x5e2110['KeUcK']]);const _0x4f22c0=_0x887978[_0x5e2110['ksCtW']][0x0];_0x4f22c0&&(_0x887978[_0x5e2110[_0x5c7980(0x134)]]=_0x4f22c0[_0x5e2110[_0x5c7980(0x138)]],_0x887978[_0x5e2110[_0x5c7980(0x12e)]]=_0x4f22c0[_0x5e2110[_0x5c7980(0xf6)]]);testhubUtils[_0x5c7980(0xff)](_0x887978,_0x24afb8,_0x16aa23,FRAMEWORKS[_0x5c7980(0x166)]);const _0x19a2f1={'event_type':_0x5e2110[_0x5c7980(0x106)](_0x24afb8,_0x5e2110['XhlVd'])?_0x5e2110['cdcdW']:_0x24afb8,'test_run':_0x887978};return testhubUtils[_0x5c7980(0x101)](FRAMEWORKS['JASMINE'],_0x19a2f1),SessionHandler['uploadEventData'](_0x19a2f1);}catch(_0x17e6c0){_0x5e2110['weQBL'](debug,_0x5c7980(0x139)+_0x24afb8+_0x5c7980(0x10f)+_0x17e6c0);}}['_scopes'](_0x4b967b){const _0x3a6786=a13_0xda9819,_0x523c8c={'SeYcD':function(_0x9c3671,_0xc7ce0e){return _0x9c3671!==_0xc7ce0e;},'KaihT':function(_0x3c4abf,_0x1a2dbd){return _0x3c4abf>_0x1a2dbd;},'XwtQL':function(_0x5d8116,_0x263e47){return _0x5d8116(_0x263e47);},'oxLWl':function(_0x203dd2,_0x1c094f){return _0x203dd2-_0x1c094f;}};try{const _0x257e5d=[];let _0x9c2cb8=_0x4b967b&&_0x4b967b[_0x3a6786(0x15f)];const _0x58e1b2=new Set();while(_0x523c8c[_0x3a6786(0x146)](_0x9c2cb8,undefined)&&_0x523c8c[_0x3a6786(0x146)](_0x9c2cb8,null)&&this[_0x3a6786(0xe2)][_0x3a6786(0xf8)](_0x9c2cb8)&&!_0x58e1b2[_0x3a6786(0xf8)](_0x9c2cb8)){_0x58e1b2['add'](_0x9c2cb8);const _0x4d9a3b=this[_0x3a6786(0xe2)][_0x3a6786(0x16a)](_0x9c2cb8);_0x4d9a3b&&_0x4d9a3b['description']&&_0x257e5d[_0x3a6786(0x10c)](_0x4d9a3b['description']),_0x9c2cb8=_0x4d9a3b?_0x4d9a3b[_0x3a6786(0x15f)]:null;}if(_0x523c8c[_0x3a6786(0xe3)](_0x257e5d['length'],0x0))return _0x257e5d[_0x3a6786(0x108)]();}catch(_0x24ce19){_0x523c8c[_0x3a6786(0x14a)](debug,_0x3a6786(0x149)+(_0x4b967b&&_0x4b967b[_0x3a6786(0xf4)])+_0x3a6786(0x10f)+_0x24ce19);}const _0x4343a8=_0x4b967b&&_0x4b967b[_0x3a6786(0xf4)]||'',_0x3e8773=_0x4b967b&&_0x4b967b['description']||'';let _0x27ab27=_0x4343a8;return _0x3e8773&&_0x4343a8[_0x3a6786(0x15e)](_0x3e8773)&&(_0x27ab27=_0x4343a8[_0x3a6786(0x131)](0x0,_0x523c8c[_0x3a6786(0xfd)](_0x4343a8[_0x3a6786(0x117)],_0x3e8773[_0x3a6786(0x117)]))[_0x3a6786(0x15d)]()),_0x27ab27?_0x27ab27[_0x3a6786(0x155)](/\s+/):[];}[a13_0xda9819(0x13a)](_0x3a37f0){const _0x5a9a14=a13_0xda9819,_0x36746e={};_0x36746e['VzgoT']=function(_0x5e8a3,_0x3887c1){return _0x5e8a3===_0x3887c1;},_0x36746e[_0x5a9a14(0x151)]=function(_0x797d3d,_0x348962){return _0x797d3d+_0x348962;},_0x36746e[_0x5a9a14(0xf1)]=function(_0x28d86d,_0x4f8752){return _0x28d86d>_0x4f8752;};const _0x42b097=_0x36746e;if(_0x3a37f0&&_0x3a37f0['filename'])return _0x3a37f0['filename'];if(_0x3a37f0&&_0x3a37f0[_0x5a9a14(0xf4)]){if(this['_fileNameByFullName'][_0x3a37f0['fullName']])return this[_0x5a9a14(0x14e)][_0x3a37f0[_0x5a9a14(0xf4)]];let _0x10fa86=null,_0x5c174d=-0x1;for(const _0x5ba0f2 of Object[_0x5a9a14(0x104)](this['_fileNameByFullName'])){(_0x42b097['VzgoT'](_0x3a37f0[_0x5a9a14(0xf4)],_0x5ba0f2)||_0x3a37f0[_0x5a9a14(0xf4)][_0x5a9a14(0x10e)](_0x42b097['jhvtT'](_0x5ba0f2,'\x20')))&&_0x42b097[_0x5a9a14(0xf1)](_0x5ba0f2[_0x5a9a14(0x117)],_0x5c174d)&&(_0x10fa86=this[_0x5a9a14(0x14e)][_0x5ba0f2],_0x5c174d=_0x5ba0f2[_0x5a9a14(0x117)]);}if(_0x10fa86)return _0x10fa86;}return null;}[a13_0xda9819(0x107)](_0x5465ff){const _0x179e47=a13_0xda9819,_0x2b7e4e={};_0x2b7e4e['oWubR']=function(_0x5bc229,_0x4d2205){return _0x5bc229===_0x4d2205;},_0x2b7e4e[_0x179e47(0xf9)]=_0x179e47(0x136);const _0x12d21b=_0x2b7e4e;if(!Array[_0x179e47(0xfc)](_0x5465ff)||_0x12d21b['oWubR'](_0x5465ff[_0x179e47(0x117)],0x0))return undefined;const _0xc85244=[],_0x5d49e2=[];for(const _0x7cd010 of _0x5465ff){_0x7cd010&&_0x7cd010[_0x179e47(0x103)]&&_0xc85244['push'](_0x7cd010[_0x179e47(0x103)]),_0x7cd010&&_0x7cd010[_0x179e47(0x15a)]&&_0x5d49e2[_0x179e47(0x10c)](_0x7cd010[_0x179e47(0x15a)]);}const _0x4362e7=_0x5465ff[0x0]||{},_0x431c5f=_0xc85244['join']('\x0a')||_0x4362e7[_0x179e47(0x103)]||_0x12d21b[_0x179e47(0xf9)],_0x2d387f=_0x5d49e2[_0x179e47(0xef)]('\x0a\x0a')||_0x4362e7[_0x179e47(0x15a)]||_0x431c5f,_0x26b649={};return _0x26b649[_0x179e47(0x103)]=_0x431c5f,_0x26b649[_0x179e47(0x15a)]=_0x2d387f,_0x26b649[_0x179e47(0x15b)]=_0x4362e7[_0x179e47(0x15b)],_0x26b649[_0x179e47(0xe5)]=_0x4362e7[_0x179e47(0xe5)],_0x26b649[_0x179e47(0x159)]=_0x4362e7[_0x179e47(0x159)],_0x26b649;}[a13_0xda9819(0x121)](_0x3f0acb){const _0x596376=a13_0xda9819,_0x2e07eb={};_0x2e07eb[_0x596376(0x156)]=function(_0x195aed,_0x23856a){return _0x195aed===_0x23856a;},_0x2e07eb['DJpAS']=function(_0x91aef1,_0x2c2b3d){return _0x91aef1===_0x2c2b3d;},_0x2e07eb[_0x596376(0xf3)]=function(_0x199d34,_0x494b15){return _0x199d34===_0x494b15;},_0x2e07eb[_0x596376(0x114)]=function(_0x3fd267,_0x29d05e){return _0x3fd267===_0x29d05e;},_0x2e07eb[_0x596376(0x133)]=_0x596376(0xfe),_0x2e07eb[_0x596376(0x11f)]=_0x596376(0x141);const _0x5335f1=_0x2e07eb,_0x47200d=path[_0x596376(0xe7)];if(_0x5335f1['nKPcD'](_0x3f0acb,null)||_0x5335f1[_0x596376(0x10a)](_0x3f0acb,'')||_0x5335f1['QNwOM'](_0x3f0acb,_0x47200d)||_0x5335f1[_0x596376(0x114)](_0x3f0acb,path[_0x596376(0x158)](_0x3f0acb)))return null;try{return fs[_0x596376(0x13d)](path[_0x596376(0xef)](_0x3f0acb,_0x5335f1[_0x596376(0x133)],_0x5335f1[_0x596376(0x11f)])),_0x3f0acb;}catch(_0x281dee){return this['_findGitConfig'](path[_0x596376(0x158)](_0x3f0acb));}}}module[a13_0xda9819(0x113)]=BrowserStackJasmineReporter;
1
+ 'use strict';const a17_0x513d0e=a17_0x18a2;(function(_0x43a57e,_0x5e79d0){const _0x146a61=a17_0x18a2,_0x4020ba=_0x43a57e();while(!![]){try{const _0x103f25=-parseInt(_0x146a61(0x1b1))/0x1*(-parseInt(_0x146a61(0x183))/0x2)+-parseInt(_0x146a61(0x18b))/0x3*(-parseInt(_0x146a61(0x19b))/0x4)+-parseInt(_0x146a61(0x1c6))/0x5+parseInt(_0x146a61(0x1ff))/0x6+-parseInt(_0x146a61(0x18f))/0x7+-parseInt(_0x146a61(0x19e))/0x8+parseInt(_0x146a61(0x1d7))/0x9;if(_0x103f25===_0x5e79d0)break;else _0x4020ba['push'](_0x4020ba['shift']());}catch(_0x699400){_0x4020ba['push'](_0x4020ba['shift']());}}}(a17_0x2dd5,0x5ade9));const path=require(a17_0x513d0e(0x1fd)),fs=require('fs'),{v4:uuidv4}=require(a17_0x513d0e(0x1e8)),testhubUtils=require(a17_0x513d0e(0x1f7)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x513d0e(0x186)),testRunMap=require(a17_0x513d0e(0x1cf)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x513d0e(0x1b4),a17_0x47c30d={};a17_0x47c30d[a17_0x513d0e(0x1a6)]='passed',a17_0x47c30d[a17_0x513d0e(0x1a7)]=a17_0x513d0e(0x1a7),a17_0x47c30d['pending']=a17_0x513d0e(0x1eb),a17_0x47c30d['excluded']=a17_0x513d0e(0x1e9);function a17_0x2dd5(){const _0x51ffc4=['jasmineStarted','DRXcc','err','sep','VVWFs','uploadEventData','duration','JASMINE','TestRunSkipped','has','actual','specStarted','gSMZR','EzJDG','_collapseFailedExpectations','expanded','2025640WyFzVA','_paths','TsJuC','_findGitConfig','fhmvW','add','failure_backtrace','message','delete','../testRunMap','EgNKY','EpVGN','backtrace','ooCjH','_sendSpecEvent','AOCLm','SrNuZ','5133492loTsSG','_suitesById','elmCJ','qOnmG','.git','RjsKU','relative','GuRmX','jasmineDone','endsWith','YCCXG','FghLw','matcherName','kbLix','_resolveFilePath','ONxIx','mbWTE','uuid','skipped','fullName','pending','config','UnhandledError','AUTNI','fileNameByFullName','DVUzO','testObservability','jFhHt','failure_reason_expanded','javascript','failedExpectations','reverse','../../../helpers/testhub/utils','appendTesthubParams','CqFnj','OZDuG','medku','brspY','path','stack','3347976nANofb','aVQKe','kVLIR','2ewJIRS','match','TestRunStarted','../../../helpers/test-observability/utils','statSync','\x20:\x20','expected','join','486pYEwrZ','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','status','MGmlS','941101beJUcG','_scopes','push','RfZtf','TestRunFinished','shouldProcessEventForTesthub','length','parentSuiteId','zlmyn','OqxJa','description','mjytb','4572HvmsIl','zGNsI','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','5927096fEwJgR','piTIT','vlljB','utEpf','lang','number','filename','_fileNameByFullName','passed','failed','split','exports','finished_at','set','dirname','code','IWYxh','isArray','get','339109xAxkeo','bGAaf','CuUKA','Jasmine','specDone'];a17_0x2dd5=function(){return _0x51ffc4;};return a17_0x2dd5();}const STATUS_MAP=a17_0x47c30d;function a17_0x18a2(_0x10dcb7,_0x4797e2){const _0x2dd595=a17_0x2dd5();return a17_0x18a2=function(_0x18a238,_0x2bef9b){_0x18a238=_0x18a238-0x181;let _0x19a311=_0x2dd595[_0x18a238];return _0x19a311;},a17_0x18a2(_0x10dcb7,_0x4797e2);}class BrowserStackJasmineReporter{constructor(_0x289de9={}){const _0x27d58d=a17_0x513d0e,_0x4f7bc5={'BJpOD':function(_0x3c19d3){return _0x3c19d3();}};this[_0x27d58d(0x1f1)]=_0x4f7bc5['BJpOD'](isTestObservabilitySession),this[_0x27d58d(0x1c7)]=new PathHelper({'cwd':process['cwd']()},undefined),this[_0x27d58d(0x1a5)]=_0x289de9&&_0x289de9[_0x27d58d(0x1ef)]||{},this[_0x27d58d(0x1d8)]=new Map();}[a17_0x513d0e(0x1b6)](){}['suiteStarted'](_0xd5068a){const _0x4e2e2f=a17_0x513d0e,_0xf2ec46={'VVWFs':function(_0x2c2ee2,_0x2e3047){return _0x2c2ee2!==_0x2e3047;},'EgNKY':function(_0x4aeb97,_0x5c8d0a){return _0x4aeb97(_0x5c8d0a);}};try{_0xd5068a&&_0xf2ec46['VVWFs'](_0xd5068a['id'],undefined)&&_0xf2ec46[_0x4e2e2f(0x1ba)](_0xd5068a['id'],null)&&this[_0x4e2e2f(0x1d8)][_0x4e2e2f(0x1ab)](_0xd5068a['id'],{'description':_0xd5068a[_0x4e2e2f(0x199)],'parentSuiteId':_0xd5068a[_0x4e2e2f(0x196)]});}catch(_0x112e74){_0xf2ec46[_0x4e2e2f(0x1d0)](debug,'Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20'+(_0xd5068a&&_0xd5068a[_0x4e2e2f(0x1ea)])+_0x4e2e2f(0x188)+_0x112e74);}}[a17_0x513d0e(0x1c1)](_0x1e81fb){const _0x1017c0=a17_0x513d0e,_0xb69061={'KbVoP':function(_0x43da7f,_0x2a231a){return _0x43da7f!==_0x2a231a;},'wsZvW':function(_0x57e36a){return _0x57e36a();},'IWYxh':'TestRunStarted','BnCVj':function(_0x30bda4,_0x271c43){return _0x30bda4(_0x271c43);}};try{if(_0xb69061['KbVoP'](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x18662e=_0xb69061['wsZvW'](uuidv4);testRunMap[_0x1017c0(0x1ab)](_0x1e81fb['id'],_0x18662e),this[_0x1017c0(0x1d4)](_0x1e81fb,_0x18662e,_0xb69061[_0x1017c0(0x1ae)]);}catch(_0x5de9bc){_0xb69061['BnCVj'](debug,_0x1017c0(0x18c)+(_0x1e81fb&&_0x1e81fb[_0x1017c0(0x1ea)])+_0x1017c0(0x188)+_0x5de9bc);}}[a17_0x513d0e(0x1b5)](_0x5be931){const _0x27a4db=a17_0x513d0e,_0x128b81={'EpVGN':function(_0x47ec27,_0x257b50){return _0x47ec27!==_0x257b50;},'zlmyn':function(_0x5390b1){return _0x5390b1();},'utEpf':function(_0x7b8083,_0x7e6c7a){return _0x7b8083===_0x7e6c7a;},'qOnmG':'excluded','mbWTE':_0x27a4db(0x1be),'GuRmX':_0x27a4db(0x193),'aVQKe':function(_0x308cfd,_0x58f5a4){return _0x308cfd(_0x58f5a4);}};try{if(_0x128b81[_0x27a4db(0x1d1)](testhubUtils[_0x27a4db(0x194)](),!![]))return;const _0x1ca2ce=testRunMap['get'](_0x5be931['id'])||_0x128b81[_0x27a4db(0x197)](uuidv4),_0x14f246=_0x128b81[_0x27a4db(0x1a1)](_0x5be931['status'],_0x128b81[_0x27a4db(0x1da)])?_0x128b81[_0x27a4db(0x1e7)]:_0x128b81[_0x27a4db(0x1de)];this['_sendSpecEvent'](_0x5be931,_0x1ca2ce,_0x14f246);}catch(_0x4ad00e){_0x128b81[_0x27a4db(0x181)](debug,'Exception\x20in\x20jasmine\x20specDone\x20for\x20'+(_0x5be931&&_0x5be931[_0x27a4db(0x1ea)])+_0x27a4db(0x188)+_0x4ad00e);}finally{_0x5be931&&(testRunMap['remove'](_0x5be931['id']),_specStartTimes[_0x27a4db(0x1ce)](_0x5be931['id']));}}['suiteDone'](){}[a17_0x513d0e(0x1df)](){}[a17_0x513d0e(0x1d4)](_0x26c504,_0x1ec504,_0x2feb37){const _0x60c336=a17_0x513d0e,_0xd40943={'bGAaf':function(_0x54f52a,_0x16573b){return _0x54f52a===_0x16573b;},'ooCjH':_0x60c336(0x193),'jFhHt':_0x60c336(0x1be),'WyFcZ':'File\x20path\x20could\x20not\x20be\x20found','iybcU':function(_0x5b5928,_0x2f8d1e,_0x2faaca){return _0x5b5928(_0x2f8d1e,_0x2faaca);},'KHKvQ':_0x60c336(0x1b8),'RjsKU':_0x60c336(0x185),'gwaVv':function(_0xd6dd0d,_0x471a92){return _0xd6dd0d!==_0x471a92;},'zGNsI':function(_0x12936e,_0x253243){return _0x12936e!==_0x253243;},'kVLIR':_0x60c336(0x1f4),'CuUKA':function(_0x59d13e,_0x21bfdd){return _0x59d13e&&_0x21bfdd;},'OZDuG':_0x60c336(0x1e9),'DVUzO':'passed','fhmvW':_0x60c336(0x1a3),'FghLw':'AssertionError','AUTNI':_0x60c336(0x1ed),'brspY':function(_0x4e3192,_0x59af51){return _0x4e3192===_0x59af51;},'mjytb':'started_at','CqFnj':_0x60c336(0x1aa),'EzJDG':'failure','CbYgR':_0x60c336(0x1cc),'kbLix':_0x60c336(0x1d2),'RfZtf':_0x60c336(0x1f3),'DRXcc':_0x60c336(0x1c5),'JjjzC':function(_0xb99327,_0x338680){return _0xb99327(_0x338680);}};try{const _0x2fc9bd=_0xd40943[_0x60c336(0x1b2)](_0x2feb37,_0xd40943['ooCjH'])||_0xd40943[_0x60c336(0x1b2)](_0x2feb37,_0xd40943[_0x60c336(0x1f2)]),_0x1b604a=this[_0x60c336(0x1e5)](_0x26c504),_0x4f562e=_0x1b604a?this['_paths']['prefixTestPath'](_0x1b604a):_0xd40943['WyFcZ'],_0x23b86b=_0x1b604a?this['_findGitConfig'](path[_0x60c336(0x1ac)](_0x1b604a)):null,_0xca1a8=this[_0x60c336(0x1c4)](_0x26c504[_0x60c336(0x1f5)]),_0x558e01=_0xca1a8?_0xca1a8[_0x60c336(0x1cd)]:undefined,_0x43b0a1=_0xca1a8?_0xd40943['iybcU'](failureData,_0xca1a8,_0xd40943['KHKvQ']):[],_0x1a4749=new Date()['toISOString'](),_0x1ca01f=this[_0x60c336(0x190)](_0x26c504);_0xd40943[_0x60c336(0x1b2)](_0x2feb37,_0xd40943[_0x60c336(0x1dc)])&&_0x26c504&&_0xd40943['gwaVv'](_0x26c504['id'],undefined)&&_0xd40943[_0x60c336(0x19c)](_0x26c504['id'],null)&&_specStartTimes[_0x60c336(0x1ab)](_0x26c504['id'],_0x1a4749);const _0x4ad9db=_0xd40943['bGAaf'](_0x2feb37,_0xd40943[_0x60c336(0x1dc)])?_0x1a4749:_0x26c504&&_specStartTimes[_0x60c336(0x1b0)](_0x26c504['id'])||null,_0x92ccd6={};_0x92ccd6[_0x60c336(0x1a2)]=_0xd40943[_0x60c336(0x182)],_0x92ccd6[_0x60c336(0x1ad)]=null;const _0x5f35bb={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x1ec504,'name':_0x26c504[_0x60c336(0x199)],'body':_0x92ccd6,'scope':_0x1ca01f[_0x60c336(0x18a)]('\x20'),'scopes':_0x1ca01f,'identifier':_0x26c504[_0x60c336(0x1ea)],'file_name':_0x4f562e,'vc_filepath':_0xd40943[_0x60c336(0x1b3)](_0x23b86b,_0x1b604a)?path[_0x60c336(0x1dd)](_0x23b86b,_0x1b604a):null,'location':_0x4f562e,'result':_0xd40943[_0x60c336(0x1b2)](_0x2feb37,_0xd40943[_0x60c336(0x1f2)])?_0xd40943[_0x60c336(0x1fa)]:STATUS_MAP[_0x26c504[_0x60c336(0x18d)]]||_0xd40943[_0x60c336(0x1f0)],'failure_reason':_0x558e01,'duration_in_ms':_0xd40943['bGAaf'](typeof _0x26c504[_0x60c336(0x1bc)],_0xd40943[_0x60c336(0x1ca)])?_0x26c504['duration']:null,'started_at':_0x4ad9db,'finished_at':_0x2fc9bd?_0x1a4749:null,'failure':_0x43b0a1,'failure_type':!_0x558e01?null:_0x558e01[_0x60c336(0x184)](/AssertionError/)?_0xd40943[_0x60c336(0x1e2)]:_0xd40943[_0x60c336(0x1ee)],'retry_of':null};_0xd40943[_0x60c336(0x1fc)](_0x2feb37,_0xd40943['jFhHt'])&&!_0x5f35bb[_0xd40943['mjytb']]&&(_0x5f35bb[_0xd40943[_0x60c336(0x19a)]]=_0x5f35bb[_0xd40943[_0x60c336(0x1f9)]]);const _0x1713a1=_0x5f35bb[_0xd40943[_0x60c336(0x1c3)]][0x0];_0x1713a1&&(_0x5f35bb[_0xd40943['CbYgR']]=_0x1713a1[_0xd40943[_0x60c336(0x1e4)]],_0x5f35bb[_0xd40943[_0x60c336(0x192)]]=_0x1713a1[_0xd40943[_0x60c336(0x1b7)]]);testhubUtils[_0x60c336(0x1f8)](_0x5f35bb,_0x2feb37,_0x26c504,FRAMEWORKS[_0x60c336(0x1bd)]);const _0x328a6d={'event_type':_0xd40943[_0x60c336(0x1b2)](_0x2feb37,_0xd40943[_0x60c336(0x1f2)])?_0xd40943[_0x60c336(0x1d3)]:_0x2feb37,'test_run':_0x5f35bb};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x60c336(0x1bd)],_0x328a6d),SessionHandler[_0x60c336(0x1bb)](_0x328a6d);}catch(_0x1a237f){_0xd40943['JjjzC'](debug,_0x60c336(0x19d)+_0x2feb37+'\x20:\x20'+_0x1a237f);}}[a17_0x513d0e(0x190)](_0x51a305){const _0x46bfda=a17_0x513d0e,_0x2e3d60={'HmbxA':function(_0x4d7e82,_0x29c706){return _0x4d7e82!==_0x29c706;},'medku':function(_0x53f9dd,_0x3629e4){return _0x53f9dd>_0x3629e4;},'YCCXG':function(_0x1a4051,_0x4fed8a){return _0x1a4051(_0x4fed8a);},'HiQUh':function(_0x2c5376,_0x4dd6aa){return _0x2c5376-_0x4dd6aa;}};try{const _0x2b8e19=[];let _0x1f4d2b=_0x51a305&&_0x51a305[_0x46bfda(0x196)];const _0x2ee809=new Set();while(_0x2e3d60['HmbxA'](_0x1f4d2b,undefined)&&_0x2e3d60['HmbxA'](_0x1f4d2b,null)&&this[_0x46bfda(0x1d8)][_0x46bfda(0x1bf)](_0x1f4d2b)&&!_0x2ee809['has'](_0x1f4d2b)){_0x2ee809[_0x46bfda(0x1cb)](_0x1f4d2b);const _0x7cd840=this[_0x46bfda(0x1d8)][_0x46bfda(0x1b0)](_0x1f4d2b);_0x7cd840&&_0x7cd840[_0x46bfda(0x199)]&&_0x2b8e19[_0x46bfda(0x191)](_0x7cd840[_0x46bfda(0x199)]),_0x1f4d2b=_0x7cd840?_0x7cd840[_0x46bfda(0x196)]:null;}if(_0x2e3d60[_0x46bfda(0x1fb)](_0x2b8e19[_0x46bfda(0x195)],0x0))return _0x2b8e19[_0x46bfda(0x1f6)]();}catch(_0x446a29){_0x2e3d60[_0x46bfda(0x1e1)](debug,'Exception\x20deriving\x20jasmine\x20scopes\x20for\x20'+(_0x51a305&&_0x51a305['fullName'])+'\x20:\x20'+_0x446a29);}const _0x221480=_0x51a305&&_0x51a305[_0x46bfda(0x1ea)]||'',_0x548441=_0x51a305&&_0x51a305[_0x46bfda(0x199)]||'';let _0x4f656f=_0x221480;return _0x548441&&_0x221480[_0x46bfda(0x1e0)](_0x548441)&&(_0x4f656f=_0x221480['slice'](0x0,_0x2e3d60['HiQUh'](_0x221480['length'],_0x548441[_0x46bfda(0x195)]))['trim']()),_0x4f656f?_0x4f656f[_0x46bfda(0x1a8)](/\s+/):[];}['_resolveFilePath'](_0x26d9e3){const _0x3c7fa7=a17_0x513d0e,_0x367c8c={};_0x367c8c[_0x3c7fa7(0x1d5)]=function(_0x5bed9a,_0x4b5aad){return _0x5bed9a===_0x4b5aad;},_0x367c8c['elmCJ']=function(_0x39ca53,_0x5d7005){return _0x39ca53+_0x5d7005;},_0x367c8c[_0x3c7fa7(0x19f)]=function(_0x46cfa0,_0x528799){return _0x46cfa0>_0x528799;};const _0x588b20=_0x367c8c;if(_0x26d9e3&&_0x26d9e3['filename'])return _0x26d9e3[_0x3c7fa7(0x1a4)];if(_0x26d9e3&&_0x26d9e3['fullName']){if(this[_0x3c7fa7(0x1a5)][_0x26d9e3[_0x3c7fa7(0x1ea)]])return this[_0x3c7fa7(0x1a5)][_0x26d9e3[_0x3c7fa7(0x1ea)]];let _0x3bb987=null,_0xef012c=-0x1;for(const _0xde247 of Object['keys'](this[_0x3c7fa7(0x1a5)])){(_0x588b20[_0x3c7fa7(0x1d5)](_0x26d9e3[_0x3c7fa7(0x1ea)],_0xde247)||_0x26d9e3['fullName']['startsWith'](_0x588b20[_0x3c7fa7(0x1d9)](_0xde247,'\x20')))&&_0x588b20[_0x3c7fa7(0x19f)](_0xde247[_0x3c7fa7(0x195)],_0xef012c)&&(_0x3bb987=this[_0x3c7fa7(0x1a5)][_0xde247],_0xef012c=_0xde247[_0x3c7fa7(0x195)]);}if(_0x3bb987)return _0x3bb987;}return null;}[a17_0x513d0e(0x1c4)](_0xc37af7){const _0x29a9f7=a17_0x513d0e,_0x58dd6d={};_0x58dd6d[_0x29a9f7(0x198)]=function(_0x425b4b,_0x378ac7){return _0x425b4b===_0x378ac7;},_0x58dd6d['MGmlS']='Spec\x20failed';const _0x323706=_0x58dd6d;if(!Array[_0x29a9f7(0x1af)](_0xc37af7)||_0x323706[_0x29a9f7(0x198)](_0xc37af7[_0x29a9f7(0x195)],0x0))return undefined;const _0x383ff3=[],_0x12808d=[];for(const _0x1c568b of _0xc37af7){_0x1c568b&&_0x1c568b[_0x29a9f7(0x1cd)]&&_0x383ff3[_0x29a9f7(0x191)](_0x1c568b['message']),_0x1c568b&&_0x1c568b[_0x29a9f7(0x1fe)]&&_0x12808d[_0x29a9f7(0x191)](_0x1c568b['stack']);}const _0x13e476=_0xc37af7[0x0]||{},_0x3f90e9=_0x383ff3[_0x29a9f7(0x18a)]('\x0a')||_0x13e476[_0x29a9f7(0x1cd)]||_0x323706[_0x29a9f7(0x18e)],_0x1b63e3=_0x12808d[_0x29a9f7(0x18a)]('\x0a\x0a')||_0x13e476[_0x29a9f7(0x1fe)]||_0x3f90e9,_0x3c1cc5={};return _0x3c1cc5['message']=_0x3f90e9,_0x3c1cc5[_0x29a9f7(0x1fe)]=_0x1b63e3,_0x3c1cc5[_0x29a9f7(0x1e3)]=_0x13e476[_0x29a9f7(0x1e3)],_0x3c1cc5[_0x29a9f7(0x189)]=_0x13e476[_0x29a9f7(0x189)],_0x3c1cc5[_0x29a9f7(0x1c0)]=_0x13e476[_0x29a9f7(0x1c0)],_0x3c1cc5;}[a17_0x513d0e(0x1c9)](_0x5e1c8e){const _0x12cf15=a17_0x513d0e,_0x12fb65={};_0x12fb65[_0x12cf15(0x1e6)]=function(_0x47a80e,_0x1d5351){return _0x47a80e===_0x1d5351;},_0x12fb65[_0x12cf15(0x1a0)]=function(_0x40f58e,_0x42807b){return _0x40f58e===_0x42807b;},_0x12fb65[_0x12cf15(0x1d6)]=function(_0x2e7ca3,_0x547463){return _0x2e7ca3===_0x547463;},_0x12fb65[_0x12cf15(0x1c2)]=_0x12cf15(0x1db),_0x12fb65[_0x12cf15(0x1c8)]=_0x12cf15(0x1ec);const _0x41c1a6=_0x12fb65,_0x14a500=path[_0x12cf15(0x1b9)];if(_0x41c1a6[_0x12cf15(0x1e6)](_0x5e1c8e,null)||_0x41c1a6[_0x12cf15(0x1e6)](_0x5e1c8e,'')||_0x41c1a6[_0x12cf15(0x1a0)](_0x5e1c8e,_0x14a500)||_0x41c1a6[_0x12cf15(0x1d6)](_0x5e1c8e,path[_0x12cf15(0x1ac)](_0x5e1c8e)))return null;try{return fs[_0x12cf15(0x187)](path[_0x12cf15(0x18a)](_0x5e1c8e,_0x41c1a6[_0x12cf15(0x1c2)],_0x41c1a6['TsJuC'])),_0x5e1c8e;}catch(_0x894c27){return this[_0x12cf15(0x1c9)](path['dirname'](_0x5e1c8e));}}}module[a17_0x513d0e(0x1a9)]=BrowserStackJasmineReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a14_0x54b2(_0x4ec80c,_0x470b8c){const _0x2f4865=a14_0x2f48();return a14_0x54b2=function(_0x54b20c,_0x5cbcdd){_0x54b20c=_0x54b20c-0x152;let _0x5b558d=_0x2f4865[_0x54b20c];return _0x5b558d;},a14_0x54b2(_0x4ec80c,_0x470b8c);}const a14_0x3362a5=a14_0x54b2;(function(_0xa4fc3b,_0x51859b){const _0x563789=a14_0x54b2,_0x2edb17=_0xa4fc3b();while(!![]){try{const _0x1d6266=parseInt(_0x563789(0x1a0))/0x1*(-parseInt(_0x563789(0x1aa))/0x2)+-parseInt(_0x563789(0x18c))/0x3*(-parseInt(_0x563789(0x1c4))/0x4)+-parseInt(_0x563789(0x1af))/0x5+parseInt(_0x563789(0x1f0))/0x6+-parseInt(_0x563789(0x1d5))/0x7+-parseInt(_0x563789(0x1be))/0x8*(parseInt(_0x563789(0x1d3))/0x9)+parseInt(_0x563789(0x192))/0xa;if(_0x1d6266===_0x51859b)break;else _0x2edb17['push'](_0x2edb17['shift']());}catch(_0x4c386a){_0x2edb17['push'](_0x2edb17['shift']());}}}(a14_0x2f48,0xca6cf));const fs=require('fs'),path=require(a14_0x3362a5(0x1c7)),util=require(a14_0x3362a5(0x170)),{spawn}=require(a14_0x3362a5(0x1b3)),glob=require(a14_0x3362a5(0x1b6)),pLimit=require(a14_0x3362a5(0x19e)),logger=require(a14_0x3362a5(0x1e8))[a14_0x3362a5(0x1ea)],helper=require(a14_0x3362a5(0x159)),utilities=require('../../helpers/utilities'),constants=require(a14_0x3362a5(0x1cf)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a14_0x3362a5(0x18e)),{debug}=require(a14_0x3362a5(0x18e)),{FRAMEWORKS}=require(a14_0x3362a5(0x1d7)),PerformanceTester=require(a14_0x3362a5(0x1cc)),PerformanceEvents=require('../../helpers/performance/constants')[a14_0x3362a5(0x1e7)],BrowserstackCLI=require(a14_0x3362a5(0x1dc)),{checkPwandBootstrapCli}=require(a14_0x3362a5(0x1c3)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x3362a5(0x166)),getMaxWorkers=(_0x4a375b,_0x562dca)=>{const _0x4c9274=a14_0x3362a5,_0x4cff26={'pdqNj':function(_0x1654b3,_0x127a8a){return _0x1654b3(_0x127a8a);}};let _0x23fc2c=0x1;if(!helper[_0x4c9274(0x174)](_0x562dca['parallelsPerPlatform']))_0x23fc2c=_0x4cff26['pdqNj'](parseInt,_0x562dca[_0x4c9274(0x1b9)]);else!helper[_0x4c9274(0x174)](_0x4a375b[_0x4c9274(0x17d)])&&(_0x23fc2c=_0x4a375b[_0x4c9274(0x17d)]);return _0x23fc2c;},resolveJasmineConfigPath=()=>{const _0x4a5b2f=a14_0x3362a5,_0x41dc74={};_0x41dc74[_0x4a5b2f(0x1d2)]=_0x4a5b2f(0x186);const _0x12ea34=_0x41dc74,_0x4f5b39=[];process[_0x4a5b2f(0x1e9)][_0x4a5b2f(0x15a)]&&_0x4f5b39[_0x4a5b2f(0x161)](path['resolve'](process['cwd'](),process['env'][_0x4a5b2f(0x15a)]));_0x4f5b39['push'](path[_0x4a5b2f(0x190)](process[_0x4a5b2f(0x172)](),_0x12ea34[_0x4a5b2f(0x1d2)]));for(const _0x58647b of _0x4f5b39){try{if(fs[_0x4a5b2f(0x173)](_0x58647b))return _0x58647b;}catch(_0x3d5eac){}}return null;},enumerateSpecFiles=_0x163c8d=>{const _0x1b2fb2=a14_0x3362a5,_0x3be977={'Ueasp':function(_0x11cf5a,_0x245c3d){return _0x11cf5a(_0x245c3d);},'sExgT':function(_0x40bf99,_0x517c90){return _0x40bf99>_0x517c90;},'zWNTI':function(_0x38a585,_0x8f342c){return _0x38a585(_0x8f342c);},'SKNPY':function(_0x5b0574,_0x353c73){return _0x5b0574<_0x353c73;},'AXyYM':function(_0x86bdef,_0x4513dc){return _0x86bdef===_0x4513dc;},'KPLRs':_0x1b2fb2(0x195),'oqrBz':function(_0x2c27d0,_0x3335a6){return _0x2c27d0>_0x3335a6;},'FVGlf':function(_0x402801,_0x360962,_0x1043e8){return _0x402801(_0x360962,_0x1043e8);},'IqIuS':function(_0x5839af){return _0x5839af();},'cuJxp':_0x1b2fb2(0x182),'RAvHz':'spec','KvVSm':function(_0x10886a,_0x454081){return _0x10886a>_0x454081;},'JVDIE':_0x1b2fb2(0x196)};try{if(testOpsHelper[_0x1b2fb2(0x1e5)]()){const _0x272818=testOpsHelper[_0x1b2fb2(0x187)](process[_0x1b2fb2(0x1e9)][_0x1b2fb2(0x1c1)]);if(Array[_0x1b2fb2(0x198)](_0x272818)&&_0x3be977[_0x1b2fb2(0x1dd)](_0x272818['length'],0x0))return _0x272818[_0x1b2fb2(0x180)](_0x57f482=>path[_0x1b2fb2(0x190)](process['cwd'](),_0x57f482[_0x1b2fb2(0x18b)]()))['filter'](Boolean);}}catch(_0x4d1927){_0x3be977[_0x1b2fb2(0x1d4)](debug,_0x1b2fb2(0x162)+util[_0x1b2fb2(0x175)](_0x4d1927));}const _0x2f27cf=[];try{for(let _0x5e2100=0x1;_0x3be977[_0x1b2fb2(0x1b2)](_0x5e2100,_0x163c8d[_0x1b2fb2(0x1d0)]);_0x5e2100++){const _0x2b9ca4=_0x163c8d[_0x5e2100];_0x3be977[_0x1b2fb2(0x1e3)](typeof _0x2b9ca4,_0x3be977['KPLRs'])&&!_0x2b9ca4[_0x1b2fb2(0x18d)]('-')&&_0x2f27cf[_0x1b2fb2(0x161)](_0x2b9ca4);}}catch(_0x180c89){}const _0x506ed6={'cwd':process[_0x1b2fb2(0x172)](),'absolute':!![],'nodir':!![]},_0x5ef7ec=(_0x13aa66,_0x34b2a6)=>{const _0x5709a8=_0x1b2fb2,_0x71e8b0=[];for(const _0x397638 of _0x13aa66){try{const _0x1acf08=_0x34b2a6?path['posix'][_0x5709a8(0x15d)](_0x34b2a6,_0x397638):_0x397638,_0x3da212=glob['globSync'](_0x1acf08,_0x506ed6);Array[_0x5709a8(0x198)](_0x3da212)&&_0x71e8b0['push'](..._0x3da212);}catch(_0x3f3226){_0x3be977[_0x5709a8(0x160)](debug,_0x5709a8(0x19a)+_0x397638+_0x5709a8(0x18a)+util[_0x5709a8(0x175)](_0x3f3226));}}return _0x71e8b0;};if(_0x3be977['oqrBz'](_0x2f27cf[_0x1b2fb2(0x1d0)],0x0)){const _0x21d24f=_0x3be977[_0x1b2fb2(0x17c)](_0x5ef7ec,_0x2f27cf,null);if(_0x3be977[_0x1b2fb2(0x1ed)](_0x21d24f[_0x1b2fb2(0x1d0)],0x0))return Array[_0x1b2fb2(0x1a4)](new Set(_0x21d24f));return _0x2f27cf[_0x1b2fb2(0x180)](_0x4b58e9=>path['resolve'](process[_0x1b2fb2(0x172)](),_0x4b58e9));}try{const _0x42f101=_0x3be977[_0x1b2fb2(0x189)](resolveJasmineConfigPath);if(_0x42f101){const _0x1e7002=JSON[_0x1b2fb2(0x1b1)](fs[_0x1b2fb2(0x199)](_0x42f101,_0x3be977['cuJxp'])),_0x35085b=_0x1e7002[_0x1b2fb2(0x1bf)]||_0x3be977[_0x1b2fb2(0x1d8)],_0x52cbad=Array[_0x1b2fb2(0x198)](_0x1e7002[_0x1b2fb2(0x18f)])&&_0x3be977[_0x1b2fb2(0x1d1)](_0x1e7002[_0x1b2fb2(0x18f)][_0x1b2fb2(0x1d0)],0x0)?_0x1e7002[_0x1b2fb2(0x18f)]:[_0x3be977[_0x1b2fb2(0x19d)]],_0x2f157c=_0x3be977['FVGlf'](_0x5ef7ec,_0x52cbad,_0x35085b);if(_0x3be977[_0x1b2fb2(0x1dd)](_0x2f157c[_0x1b2fb2(0x1d0)],0x0))return Array[_0x1b2fb2(0x1a4)](new Set(_0x2f157c));}}catch(_0x29a671){_0x3be977['zWNTI'](debug,_0x1b2fb2(0x16b)+util[_0x1b2fb2(0x175)](_0x29a671));}return null;};function a14_0x2f48(){const _0x5c517f=['parallelsPerPlatform','pxaXm','exports','JASMINE','binSessionId','8075608uGnVZK','spec_dir','handleApp','BROWSERSTACK_RERUN_TESTS','yXJVU','../../helpers/playwright-helper','3816476gYcLXR','uVCva','launchBuild','path','QoKaD','npx','info','--helper=','../../helpers/performance/performance-tester','assign','config','../utils/constants','length','KvVSm','luKWF','9aznAah','zWNTI','5642070PEmpLe','true','../../helpers/test-observability/constants','RAvHz','close','\x20concurrent)','platforms','../v2/browserstackCLI','sExgT','\x20:\x20','xPAPI','iVtPU','specArgs','otLdb','AXyYM','BZrQd','shouldReRunObservabilityTests','LtNDw','EVENTS','../../helpers/logger','env','winstonLogger','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','hQwKo','oqrBz','getPlatformName','BROWSERSTACK_CAPABILITIES','9231798bGkNhx','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','__isPuppeteerInstalled','Dnarb','logLevel','inherit','MwKtc','Running\x20your\x20Jasmine\x20tests\x20across\x20','yovSJ','platformIndex','../../helpers/helper','JASMINE_CONFIG_PATH','wEELN',')\x20exited\x20with\x20code\x20','join','getHubUrl','test.setup.js','Ueasp','push','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','bAfoJ','capability','yaGSz','../../helpers/puppeteer-helper','zwgaS','\x20work-item(s),\x20max\x20','printBuildLink','stop','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','FRAMEWORKS','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','WORrD','testObservability','util','stringify','cwd','existsSync','isUndefined','format','tQfCq','useW3C','finalExecution','find','SDK_CLEANUP','ncVaE','FVGlf','maxWorkers','end','sOkRw','map',';\x20proceeding\x20without\x20injection','utf8','all','debug','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','spec/support/jasmine.json','parseFileNames','UdYkM','IqIuS','\x27\x20:\x20','trim','3dGXRBd','startsWith','../../helpers/test-observability/utils','spec_files','resolve',')\x20:\x20','19170030zfTVZL','hGptF','ZvWtM','string','**/*[sS]pec.?(m)js','win32','isArray','readFileSync','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','validPlatformsPresent','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','JVDIE','p-limit','proxySettings','169fBUmJZ','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','getInstance','isBrowserstackInfra','from','accessibilityOptions','getPackageVersion','jasmine','initialize','BROWSERSTACK_TEST_OBSERVABILITY_YML','3428vImvSC','pOCUM','slice','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','filter','7377465SzQkJs','SDK_SETUP','parse','SKNPY','child_process','Stjph','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','glob','vaQss','rXRXk'];a14_0x2f48=function(){return _0x5c517f;};return a14_0x2f48();}async function run(_0x1ec298,_0x333029,_0x3cf88b){const _0x2cc4b5=a14_0x3362a5,_0x24c49d={'uVCva':function(_0x102f7e,_0x59e2d9){return _0x102f7e>_0x59e2d9;},'hQwKo':function(_0x50ce5a,_0x2d29da){return _0x50ce5a>_0x2d29da;},'iVtPU':'all','BZrQd':function(_0x5a8c79,_0x782fc8){return _0x5a8c79(_0x782fc8);},'itVyV':function(_0x190a78,_0x5cc761){return _0x190a78||_0x5cc761;},'hGptF':function(_0x471cf4,_0x5427de){return _0x471cf4(_0x5427de);},'bMbwE':function(_0x26daec,_0x4d40c3,_0x7d002d,_0xd09342){return _0x26daec(_0x4d40c3,_0x7d002d,_0xd09342);},'LtNDw':_0x2cc4b5(0x1c9),'WORrD':_0x2cc4b5(0x1a7),'Stjph':function(_0x444057,_0x1eef6e){return _0x444057===_0x1eef6e;},'QoKaD':_0x2cc4b5(0x197),'pOCUM':_0x2cc4b5(0x154),'tQfCq':_0x2cc4b5(0x1d9),'rXRXk':'error','yovSJ':'@playwright/test','xPAPI':function(_0xbcf98f){return _0xbcf98f();},'pxaXm':function(_0x294d18,_0x5e0fce,_0x20aea,_0x1e2fd0){return _0x294d18(_0x5e0fce,_0x20aea,_0x1e2fd0);},'bAfoJ':function(_0x23c1ce,_0x382c90,_0x1758e4,_0x201f21){return _0x23c1ce(_0x382c90,_0x1758e4,_0x201f21);},'Dnarb':function(_0x227815,_0xd97637){return _0x227815!=_0xd97637;},'yaGSz':_0x2cc4b5(0x1d6),'ncVaE':function(_0x461b70,_0x5cb215){return _0x461b70(_0x5cb215);},'ZvWtM':function(_0x2e6b7e,_0x4027f6){return _0x2e6b7e(_0x4027f6);},'zwgaS':function(_0x35ff22,_0xddaf18,_0x496076){return _0x35ff22(_0xddaf18,_0x496076);},'sOkRw':function(_0x45166c,_0x536aae){return _0x45166c*_0x536aae;},'MwKtc':function(_0xa99ba9,_0x4244aa){return _0xa99ba9(_0x4244aa);},'yXJVU':_0x2cc4b5(0x15f),'wEELN':function(_0x22e73f,_0x3784d1){return _0x22e73f(_0x3784d1);},'fjYeh':function(_0x3f41a4,_0x26ae06){return _0x3f41a4<_0x26ae06;},'vaQss':function(_0x331a3c,_0xe7de7a){return _0x331a3c>_0xe7de7a;},'UdYkM':function(_0x1d6ad9,_0xad1351){return _0x1d6ad9(_0xad1351);}},_0x495e91=helper[_0x2cc4b5(0x1a6)](_0x24c49d[_0x2cc4b5(0x157)]);global['__isPlaywrightInstalled']=!!_0x495e91;const _0x2e187f=_0x24c49d[_0x2cc4b5(0x1df)](getPuppeteerVersion);global[_0x2cc4b5(0x1f4)]=!!_0x2e187f;helper[_0x2cc4b5(0x1a3)]()&&(await _0x3cf88b[_0x2cc4b5(0x1a8)](_0x1ec298),await helper[_0x2cc4b5(0x1c0)](_0x3cf88b[_0x2cc4b5(0x1ce)]));if(_0x495e91)await _0x24c49d[_0x2cc4b5(0x1ba)](checkPwandBootstrapCli,_0x495e91,constants[_0x2cc4b5(0x16c)]['JASMINE'],_0x3cf88b);else _0x2e187f&&await _0x24c49d[_0x2cc4b5(0x163)](checkPuppeteerAndBootstrapCli,_0x2e187f,constants[_0x2cc4b5(0x16c)][_0x2cc4b5(0x1bc)],_0x3cf88b);if(!_0x3cf88b['config'])return;_0x24c49d[_0x2cc4b5(0x152)](_0x3cf88b['config'][_0x2cc4b5(0x16f)],null)?process[_0x2cc4b5(0x1e9)][_0x2cc4b5(0x1a9)]=_0x3cf88b[_0x2cc4b5(0x1ce)][_0x2cc4b5(0x16f)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x24c49d[_0x2cc4b5(0x165)];!helper[_0x2cc4b5(0x174)](_0x3cf88b['config'][_0x2cc4b5(0x1a5)])&&(process[_0x2cc4b5(0x1e9)][_0x2cc4b5(0x19c)]=JSON[_0x2cc4b5(0x171)](_0x3cf88b[_0x2cc4b5(0x1ce)]['accessibilityOptions']));try{await TestHubHandler[_0x2cc4b5(0x1c6)](FRAMEWORKS[_0x2cc4b5(0x1bc)],_0x3cf88b);}catch(_0x59ec46){logger['error'](_0x2cc4b5(0x1f1)+util[_0x2cc4b5(0x175)](_0x59ec46)),_0x24c49d[_0x2cc4b5(0x17b)](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util[_0x2cc4b5(0x175)](_0x59ec46));}let _0x131dbc=![],_0x361196=[];try{_0x131dbc=helper[_0x2cc4b5(0x177)](_0x3cf88b['config']),_0x361196=helper['prepareCapabilities'](_0x3cf88b['config'],_0x131dbc,constants[_0x2cc4b5(0x16c)]['JASMINE']),process[_0x2cc4b5(0x1e9)][_0x2cc4b5(0x1ef)]=JSON[_0x2cc4b5(0x171)](_0x361196);}catch(_0x3b7e5b){_0x24c49d[_0x2cc4b5(0x194)](debug,_0x2cc4b5(0x1b5)+util[_0x2cc4b5(0x175)](_0x3b7e5b));}let _0x137a83=null,_0x379686=![];try{_0x137a83=helper[_0x2cc4b5(0x15e)](_0x3cf88b[_0x2cc4b5(0x1ce)]),_0x379686=helper[_0x2cc4b5(0x19b)](_0x3cf88b[_0x2cc4b5(0x1ce)]);}catch(_0x26e148){_0x24c49d[_0x2cc4b5(0x1e4)](debug,_0x2cc4b5(0x1a1)+util[_0x2cc4b5(0x175)](_0x26e148));}const _0x191682=_0x2f521d=>{const _0x575e5c=_0x2cc4b5,_0x32aa7e=Array['isArray'](_0x361196)&&_0x24c49d[_0x575e5c(0x1c5)](_0x361196['length'],_0x2f521d)?_0x361196[_0x2f521d]:Array['isArray'](_0x361196)&&_0x24c49d['hQwKo'](_0x361196['length'],0x0)?_0x361196[0x0]:{};return{'server':_0x137a83,'capability':_0x32aa7e,'proxySettings':_0x3cf88b[_0x575e5c(0x1ce)][_0x575e5c(0x19f)],'platform':helper[_0x575e5c(0x1ee)](_0x32aa7e),'browserStackLogLevel':_0x3cf88b[_0x575e5c(0x1ce)][_0x575e5c(0x153)],'platformIndex':_0x2f521d,'framework':constants[_0x575e5c(0x16c)][_0x575e5c(0x1bc)],'platformCaps':_0x379686?Object[_0x575e5c(0x1cd)]({'index':_0x2f521d},_0x3cf88b[_0x575e5c(0x1ce)][_0x575e5c(0x1db)][_0x2f521d]):{'index':_0x2f521d}};};let _0x4f084c=0x1,_0x18befc=0x1,_0x3c9746=0x1;try{_0x4f084c=_0x24c49d[_0x2cc4b5(0x167)](getMaxWorkers,_0x1ec298,_0x3cf88b[_0x2cc4b5(0x1ce)]),_0x18befc=_0x379686?_0x3cf88b[_0x2cc4b5(0x1ce)][_0x2cc4b5(0x1db)][_0x2cc4b5(0x1d0)]:0x1,_0x3c9746=_0x24c49d[_0x2cc4b5(0x17f)](_0x18befc,_0x4f084c),process[_0x2cc4b5(0x1e9)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x24c49d[_0x2cc4b5(0x193)](String,_0x3c9746);}catch(_0x6b3256){_0x24c49d['ncVaE'](debug,_0x2cc4b5(0x1ad)+util[_0x2cc4b5(0x175)](_0x6b3256));}try{BrowserstackCLI[_0x2cc4b5(0x1a2)]()[_0x2cc4b5(0x1bd)]&&(process[_0x2cc4b5(0x1e9)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x2cc4b5(0x1a2)]()[_0x2cc4b5(0x1bd)]);}catch(_0x582b79){_0x24c49d[_0x2cc4b5(0x155)](debug,_0x2cc4b5(0x185)+util['format'](_0x582b79));}const _0x989c04=[];try{const _0x46e231=path[_0x2cc4b5(0x190)](__dirname,_0x24c49d[_0x2cc4b5(0x1c2)]);fs[_0x2cc4b5(0x173)](_0x46e231)?_0x989c04[_0x2cc4b5(0x161)](_0x2cc4b5(0x1cb)+_0x46e231):_0x24c49d[_0x2cc4b5(0x193)](debug,_0x2cc4b5(0x1f2)+_0x46e231+_0x2cc4b5(0x181));}catch(_0x2d06fc){_0x24c49d[_0x2cc4b5(0x15b)](debug,_0x2cc4b5(0x1f3)+util[_0x2cc4b5(0x175)](_0x2d06fc));}const _0x1cabac=_0x333029[_0x2cc4b5(0x1ac)](0x1),_0xb1913f=_0x24c49d[_0x2cc4b5(0x194)](enumerateSpecFiles,_0x333029),_0x1c122a=[];for(let _0x4c907a=0x0;_0x24c49d['fjYeh'](_0x4c907a,_0x18befc);_0x4c907a++){if(_0x24c49d[_0x2cc4b5(0x1ec)](_0x4f084c,0x1)&&Array['isArray'](_0xb1913f)&&_0x24c49d[_0x2cc4b5(0x1ec)](_0xb1913f[_0x2cc4b5(0x1d0)],0x0))for(const _0x5d6601 of _0xb1913f){const _0x4b414c={};_0x4b414c['platformIndex']=_0x4c907a,_0x4b414c['specArgs']=[_0x5d6601],_0x1c122a[_0x2cc4b5(0x161)](_0x4b414c);}else{const _0x1a104f={};_0x1a104f[_0x2cc4b5(0x158)]=_0x4c907a,_0x1a104f[_0x2cc4b5(0x1e1)]=_0xb1913f,_0x1c122a[_0x2cc4b5(0x161)](_0x1a104f);}}logger[_0x2cc4b5(0x1ca)](_0x2cc4b5(0x156)+_0x18befc+'\x20platform(s),\x20parallelsPerPlatform='+_0x4f084c+'\x20('+_0x1c122a['length']+_0x2cc4b5(0x168)+_0x3c9746+_0x2cc4b5(0x1da)),PerformanceTester[_0x2cc4b5(0x17e)](PerformanceEvents[_0x2cc4b5(0x1b0)]);const _0x1cbffa=_0x29206d=>new Promise(_0x50f02c=>{const _0x436b0f=_0x2cc4b5,_0x1c1401={'otLdb':function(_0x4ec4c4,_0x5380a8){const _0xf1aa5e=a14_0x54b2;return _0x24c49d[_0xf1aa5e(0x193)](_0x4ec4c4,_0x5380a8);}};let _0x3b8e26;try{const _0x46349d=_0x24c49d[_0x436b0f(0x193)](_0x191682,_0x29206d[_0x436b0f(0x158)]);_0x3b8e26=Object[_0x436b0f(0x1cd)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x46349d),'BROWSERSTACK_CAPABILITIES':JSON[_0x436b0f(0x171)]([_0x46349d[_0x436b0f(0x164)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x18e2d3){_0x24c49d[_0x436b0f(0x193)](debug,_0x436b0f(0x1eb)+_0x29206d['platformIndex']+_0x436b0f(0x1de)+util[_0x436b0f(0x175)](_0x18e2d3)),_0x3b8e26=Object[_0x436b0f(0x1cd)]({},process[_0x436b0f(0x1e9)]);}const _0xd089f7=Array[_0x436b0f(0x198)](_0x29206d[_0x436b0f(0x1e1)])?_0x29206d[_0x436b0f(0x1e1)]:[],_0x499931=_0x24c49d[_0x436b0f(0x1c5)](_0xd089f7[_0x436b0f(0x1d0)],0x0)?_0x1cabac[_0x436b0f(0x1ae)](_0x2c6cb7=>typeof _0x2c6cb7==='string'&&_0x2c6cb7['startsWith']('-')):_0x1cabac,_0x31e99a=[..._0x989c04,..._0x499931,..._0xd089f7];try{const _0xbd71fe=_0x24c49d['bMbwE'](spawn,_0x24c49d[_0x436b0f(0x1e6)],[_0x24c49d[_0x436b0f(0x16e)],..._0x31e99a],{'shell':_0x24c49d[_0x436b0f(0x1b4)](process['platform'],_0x24c49d[_0x436b0f(0x1c8)]),'stdio':_0x24c49d[_0x436b0f(0x1ab)],'env':_0x3b8e26});_0xbd71fe['on'](_0x24c49d[_0x436b0f(0x176)],_0x44a25c=>{const _0x32c90b=_0x436b0f;logger[_0x32c90b(0x184)]('jasmine\x20child\x20(platformIndex='+_0x29206d[_0x32c90b(0x158)]+',\x20specs='+(_0xd089f7[_0x32c90b(0x1d0)]?_0xd089f7[_0x32c90b(0x15d)](','):_0x24c49d[_0x32c90b(0x1e0)])+_0x32c90b(0x15c)+_0x44a25c),_0x24c49d[_0x32c90b(0x1e4)](_0x50f02c,_0x24c49d['itVyV'](_0x44a25c,0x0));}),_0xbd71fe['on'](_0x24c49d[_0x436b0f(0x1b8)],_0x2142f8=>{const _0x47bfc1=_0x436b0f;_0x1c1401[_0x47bfc1(0x1e2)](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x29206d[_0x47bfc1(0x158)]+')\x20:\x20'+util[_0x47bfc1(0x175)](_0x2142f8)),_0x1c1401[_0x47bfc1(0x1e2)](_0x50f02c,0x1);});}catch(_0x5eee84){_0x24c49d[_0x436b0f(0x1e4)](debug,'Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex='+_0x29206d['platformIndex']+_0x436b0f(0x191)+util[_0x436b0f(0x175)](_0x5eee84)),_0x24c49d['hGptF'](_0x50f02c,0x1);}}),_0x5ef53e=_0x24c49d[_0x2cc4b5(0x194)](pLimit,_0x24c49d[_0x2cc4b5(0x1b7)](_0x3c9746,0x0)?_0x3c9746:0x1),_0x17fd2c=await Promise[_0x2cc4b5(0x183)](_0x1c122a[_0x2cc4b5(0x180)](_0x43c41c=>_0x5ef53e(()=>_0x1cbffa(_0x43c41c))));PerformanceTester['start'](PerformanceEvents[_0x2cc4b5(0x17a)]);const _0x1913ca=_0x17fd2c[_0x2cc4b5(0x179)](_0x1b7483=>_0x1b7483!==0x0)||0x0;process['exitCode']=_0x1913ca,logger[_0x2cc4b5(0x184)]('All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20'+_0x1913ca);const _0x13b13b=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x2cc4b5(0x16a)](),await BrowserstackCLI[_0x2cc4b5(0x1a2)]()[_0x2cc4b5(0x16a)]();}catch(_0x4c896e){_0x24c49d[_0x2cc4b5(0x188)](debug,_0x2cc4b5(0x16d)+util['format'](_0x4c896e));}testOpsHelper[_0x2cc4b5(0x169)](),await utilities[_0x2cc4b5(0x178)](_0x3cf88b,_0x13b13b);}module[a14_0x3362a5(0x1bb)]=run;
2
+ 'use strict';const a18_0x2e61fd=a18_0x16e6;function a18_0x41a1(){const _0x10f628=['OkLIc',',\x20specs=','getInstance','platformIndex','winstonLogger','../utils/constants','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','BROWSERSTACK_TEST_OBSERVABILITY_YML','Mzanx','from','niFOk','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','BROWSERSTACK_CAPABILITIES','printBuildLink','OGsKS','KfGeu','../../helpers/helper','__isPlaywrightInstalled','globSync','map','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','spec_files','p-limit','FRAMEWORKS','assign','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','format','getPlatformName','../../helpers/logger','join','ylimo','__isPuppeteerInstalled','slice','BhtYu','parallelsPerPlatform','../../helpers/performance/performance-tester','\x20work-item(s),\x20max\x20','end','logLevel','binSessionId','pdNel','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','parseFileNames','BROWSERSTACK_RERUN_TESTS','error','646426iAGRYc','../../helpers/performance/constants','true','UadYF','stop','\x27\x20:\x20','EUeGj','BROWSERSTACK_JASMINE_PARALLELS','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','RvmgW','inherit','9OgURdS','yzLFF','Nowea','JASMINE','Pzkxq','mxsqV','spec','readFileSync','spec_dir','start','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','rBktA','6HIsavR','aVlFo','path','2926590DOHCKy','120kWPoAS','finalExecution','filter','child_process','sVZvB','UpHeF','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','HJJWa','OOfVJ','getHubUrl','exitCode','testObservability','prepareCapabilities','length','gzYZd','config','dAqKg','OvDEx','push','JASMINE_CONFIG_PATH','posix','CqviJ','GBumR','2679943dZpwes','platform','startsWith','TFCOU','iPXco','accessibilityOptions','platforms','stringify','cwd','XlwFr','maxWorkers','all','sFLnZ','env','1233076IsMrlU','launchBuild','iLjMP','JQSZp','string','Lvazh','../../helpers/playwright-helper','**/*[sS]pec.?(m)js','resolve','SDK_SETUP','6893608dXucMI','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','zcRsH','handleApp','parse','mlmIs','isCLIEnabled','../../helpers/puppeteer-helper','djCkx','debug','qQrri','utf8','win32','NtxFw','OQFaf','npx','sRmzj','6509940KdhmPV','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','initialize','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','13dlTJxi','isUndefined','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','info','ZcKWl','existsSync',')\x20:\x20','spec/support/jasmine.json','9ZSbrTz','glob','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20',';\x20proceeding\x20without\x20injection','specArgs','1579fSxyoh','jasmine\x20child\x20(platformIndex=','useW3C','366JDINQi',')\x20exited\x20with\x20code\x20','trim','lZjPH','isArray'];a18_0x41a1=function(){return _0x10f628;};return a18_0x41a1();}(function(_0x529897,_0x3ba6aa){const _0x344857=a18_0x16e6,_0x44ce79=_0x529897();while(!![]){try{const _0x5a72d6=-parseInt(_0x344857(0x164))/0x1*(parseInt(_0x344857(0x167))/0x2)+parseInt(_0x344857(0x1a4))/0x3*(parseInt(_0x344857(0x1d9))/0x4)+-parseInt(_0x344857(0x1b3))/0x5*(parseInt(_0x344857(0x1b0))/0x6)+-parseInt(_0x344857(0x1cb))/0x7+parseInt(_0x344857(0x1e3))/0x8*(parseInt(_0x344857(0x15f))/0x9)+parseInt(_0x344857(0x1b4))/0xa*(parseInt(_0x344857(0x199))/0xb)+-parseInt(_0x344857(0x1f4))/0xc*(parseInt(_0x344857(0x1f8))/0xd);if(_0x5a72d6===_0x3ba6aa)break;else _0x44ce79['push'](_0x44ce79['shift']());}catch(_0x7930b9){_0x44ce79['push'](_0x44ce79['shift']());}}}(a18_0x41a1,0xa8f71));const fs=require('fs'),path=require(a18_0x2e61fd(0x1b2)),util=require('util'),{spawn}=require(a18_0x2e61fd(0x1b7)),glob=require(a18_0x2e61fd(0x160)),pLimit=require(a18_0x2e61fd(0x182)),logger=require(a18_0x2e61fd(0x188))[a18_0x2e61fd(0x170)],helper=require(a18_0x2e61fd(0x17c)),utilities=require('../../helpers/utilities'),constants=require(a18_0x2e61fd(0x171)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require('../../helpers/test-observability/utils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a18_0x2e61fd(0x18f)),PerformanceEvents=require(a18_0x2e61fd(0x19a))['EVENTS'],BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a18_0x2e61fd(0x1df)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x2e61fd(0x1ea)),getMaxWorkers=(_0x378136,_0x66bc72)=>{const _0x3c27d1=a18_0x2e61fd,_0x947b76={'EUeGj':function(_0x4f8594,_0x36c78f){return _0x4f8594(_0x36c78f);}};let _0x5c00ee=0x1;if(!helper[_0x3c27d1(0x1f9)](_0x66bc72[_0x3c27d1(0x18e)]))_0x5c00ee=_0x947b76[_0x3c27d1(0x19f)](parseInt,_0x66bc72['parallelsPerPlatform']);else!helper[_0x3c27d1(0x1f9)](_0x378136[_0x3c27d1(0x1d5)])&&(_0x5c00ee=_0x378136[_0x3c27d1(0x1d5)]);return _0x5c00ee;},resolveJasmineConfigPath=()=>{const _0x22c0c1=a18_0x2e61fd,_0x36c108={};_0x36c108[_0x22c0c1(0x1e5)]=_0x22c0c1(0x15e);const _0x4f0ae9=_0x36c108,_0x429de1=[];process[_0x22c0c1(0x1d8)][_0x22c0c1(0x1c7)]&&_0x429de1[_0x22c0c1(0x1c6)](path['resolve'](process[_0x22c0c1(0x1d3)](),process[_0x22c0c1(0x1d8)][_0x22c0c1(0x1c7)]));_0x429de1[_0x22c0c1(0x1c6)](path['resolve'](process[_0x22c0c1(0x1d3)](),_0x4f0ae9['zcRsH']));for(const _0x33ee4c of _0x429de1){try{if(fs[_0x22c0c1(0x1fd)](_0x33ee4c))return _0x33ee4c;}catch(_0x312adf){}}return null;},enumerateSpecFiles=_0x467328=>{const _0x518b5b=a18_0x2e61fd,_0xa6e960={'JQSZp':function(_0x19311f,_0x4d8ff0){return _0x19311f(_0x4d8ff0);},'Nowea':function(_0x168c6e,_0xd5e30c){return _0x168c6e>_0xd5e30c;},'BZerQ':function(_0x10c9b7,_0x3aabdd){return _0x10c9b7<_0x3aabdd;},'CqviJ':function(_0x2e8bd6,_0x2aef99){return _0x2e8bd6===_0x2aef99;},'OOfVJ':_0x518b5b(0x1dd),'lZjPH':function(_0x491311,_0x94346d,_0x50d45c){return _0x491311(_0x94346d,_0x50d45c);},'sFLnZ':function(_0x1cedfa,_0x6e1714){return _0x1cedfa>_0x6e1714;},'yzLFF':function(_0x40f160){return _0x40f160();},'TFCOU':_0x518b5b(0x1ee),'pdNel':_0x518b5b(0x1aa),'iPXco':function(_0x50c6d0,_0x50dd81){return _0x50c6d0>_0x50dd81;},'RvmgW':_0x518b5b(0x1e0),'SNrXp':function(_0x16dc35,_0x4a7408,_0x54b246){return _0x16dc35(_0x4a7408,_0x54b246);},'sVZvB':function(_0x2cdc69,_0x1b0cef){return _0x2cdc69(_0x1b0cef);}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x1dc1bd=testOpsHelper[_0x518b5b(0x196)](process[_0x518b5b(0x1d8)][_0x518b5b(0x197)]);if(Array[_0x518b5b(0x16b)](_0x1dc1bd)&&_0xa6e960[_0x518b5b(0x1a6)](_0x1dc1bd[_0x518b5b(0x1c1)],0x0))return _0x1dc1bd[_0x518b5b(0x17f)](_0x1cab71=>path[_0x518b5b(0x1e1)](process[_0x518b5b(0x1d3)](),_0x1cab71[_0x518b5b(0x169)]()))[_0x518b5b(0x1b6)](Boolean);}}catch(_0x2268b3){_0xa6e960[_0x518b5b(0x1dc)](debug,_0x518b5b(0x1ba)+util[_0x518b5b(0x186)](_0x2268b3));}const _0x773868=[];try{for(let _0x366257=0x1;_0xa6e960['BZerQ'](_0x366257,_0x467328['length']);_0x366257++){const _0x4d9d4d=_0x467328[_0x366257];_0xa6e960[_0x518b5b(0x1c9)](typeof _0x4d9d4d,_0xa6e960[_0x518b5b(0x1bc)])&&!_0x4d9d4d[_0x518b5b(0x1cd)]('-')&&_0x773868[_0x518b5b(0x1c6)](_0x4d9d4d);}}catch(_0x1a0499){}const _0x35d313={'cwd':process[_0x518b5b(0x1d3)](),'absolute':!![],'nodir':!![]},_0x5c0484=(_0x24cbf7,_0x5502ba)=>{const _0x504beb=_0x518b5b,_0x493ee9=[];for(const _0x3834f3 of _0x24cbf7){try{const _0x26f6f4=_0x5502ba?path[_0x504beb(0x1c8)][_0x504beb(0x189)](_0x5502ba,_0x3834f3):_0x3834f3,_0xe65420=glob[_0x504beb(0x17e)](_0x26f6f4,_0x35d313);Array[_0x504beb(0x16b)](_0xe65420)&&_0x493ee9[_0x504beb(0x1c6)](..._0xe65420);}catch(_0x447c50){_0xa6e960['JQSZp'](debug,'Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27'+_0x3834f3+_0x504beb(0x19e)+util[_0x504beb(0x186)](_0x447c50));}}return _0x493ee9;};if(_0xa6e960[_0x518b5b(0x1a6)](_0x773868[_0x518b5b(0x1c1)],0x0)){const _0x5758a3=_0xa6e960[_0x518b5b(0x16a)](_0x5c0484,_0x773868,null);if(_0xa6e960[_0x518b5b(0x1d7)](_0x5758a3['length'],0x0))return Array[_0x518b5b(0x175)](new Set(_0x5758a3));return _0x773868[_0x518b5b(0x17f)](_0x2004ae=>path['resolve'](process['cwd'](),_0x2004ae));}try{const _0x5dec27=_0xa6e960[_0x518b5b(0x1a5)](resolveJasmineConfigPath);if(_0x5dec27){const _0x29c6e9=JSON[_0x518b5b(0x1e7)](fs[_0x518b5b(0x1ab)](_0x5dec27,_0xa6e960[_0x518b5b(0x1ce)])),_0x69ffd2=_0x29c6e9[_0x518b5b(0x1ac)]||_0xa6e960[_0x518b5b(0x194)],_0x16c1e4=Array['isArray'](_0x29c6e9[_0x518b5b(0x181)])&&_0xa6e960[_0x518b5b(0x1cf)](_0x29c6e9[_0x518b5b(0x181)][_0x518b5b(0x1c1)],0x0)?_0x29c6e9[_0x518b5b(0x181)]:[_0xa6e960[_0x518b5b(0x1a2)]],_0x236366=_0xa6e960['SNrXp'](_0x5c0484,_0x16c1e4,_0x69ffd2);if(_0xa6e960[_0x518b5b(0x1cf)](_0x236366['length'],0x0))return Array['from'](new Set(_0x236366));}}catch(_0x414454){_0xa6e960[_0x518b5b(0x1b8)](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x518b5b(0x186)](_0x414454));}return null;};async function run(_0x5aa73b,_0x3f482c,_0x2e2c14){const _0x43f459=a18_0x2e61fd,_0x581966={'aVlFo':function(_0x494028,_0xa401dc){return _0x494028>_0xa401dc;},'ZcKWl':_0x43f459(0x1d6),'sRmzj':function(_0x3ccf1a,_0x7c0eda){return _0x3ccf1a(_0x7c0eda);},'ylimo':function(_0x522228,_0x272db8){return _0x522228||_0x272db8;},'OGsKS':function(_0x3d5fec,_0x67fc7d){return _0x3d5fec(_0x67fc7d);},'dAqKg':function(_0x46e478,_0x9bff03){return _0x46e478(_0x9bff03);},'MlMmw':function(_0x44ccba,_0xfa6302){return _0x44ccba(_0xfa6302);},'pnDoG':function(_0x4250f6,_0x4c4c90,_0x55b8a3,_0x9cc8fe){return _0x4250f6(_0x4c4c90,_0x55b8a3,_0x9cc8fe);},'djCkx':_0x43f459(0x1f2),'mxsqV':'jasmine','XlwFr':function(_0x186440,_0x34d295){return _0x186440===_0x34d295;},'Pzkxq':_0x43f459(0x1ef),'qQrri':_0x43f459(0x1a3),'zHNvJ':'close','GBumR':'error','OvDEx':function(_0x3b8868,_0x3eaa35){return _0x3b8868(_0x3eaa35);},'iLjMP':function(_0x5f59b5,_0xcc0ad9){return _0x5f59b5(_0xcc0ad9);},'Lvazh':'@playwright/test','HJJWa':function(_0x1ecfc8){return _0x1ecfc8();},'OQFaf':function(_0x15da0e,_0x2b7980,_0x23218d,_0xef2894){return _0x15da0e(_0x2b7980,_0x23218d,_0xef2894);},'RcdMb':function(_0x11499b,_0x1838d6,_0x51f8b5,_0x5b9a44){return _0x11499b(_0x1838d6,_0x51f8b5,_0x5b9a44);},'UpHeF':function(_0x3f7e77,_0xd5dd55){return _0x3f7e77!=_0xd5dd55;},'BhtYu':_0x43f459(0x19b),'EhINO':function(_0x23f527,_0x4337f9){return _0x23f527(_0x4337f9);},'EtCzf':function(_0x543bd4,_0x497d07,_0x30d4db){return _0x543bd4(_0x497d07,_0x30d4db);},'Mzanx':function(_0x3d545e,_0xb0c541){return _0x3d545e*_0xb0c541;},'UadYF':function(_0x81d52d,_0x5bee30){return _0x81d52d(_0x5bee30);},'OkLIc':function(_0x3ca9a4,_0x18510f){return _0x3ca9a4(_0x18510f);},'mlmIs':'test.setup.js','rUFfb':function(_0x49b789,_0x556659){return _0x49b789(_0x556659);},'rBktA':function(_0x81ecb5,_0x4ead82){return _0x81ecb5<_0x4ead82;},'KfGeu':function(_0x5d46a8,_0x2c928f){return _0x5d46a8(_0x2c928f);},'niFOk':function(_0x267926,_0x400ce9){return _0x267926(_0x400ce9);}},_0x53c6bc=helper['getPackageVersion'](_0x581966[_0x43f459(0x1de)]);global[_0x43f459(0x17d)]=!!_0x53c6bc;const _0x4a43df=_0x581966[_0x43f459(0x1bb)](getPuppeteerVersion);global[_0x43f459(0x18b)]=!!_0x4a43df;helper['isBrowserstackInfra']()&&(await _0x2e2c14[_0x43f459(0x1f6)](_0x5aa73b),await helper[_0x43f459(0x1e6)](_0x2e2c14[_0x43f459(0x1c3)]));if(_0x53c6bc)await _0x581966[_0x43f459(0x1f1)](checkPwandBootstrapCli,_0x53c6bc,constants[_0x43f459(0x183)][_0x43f459(0x1a7)],_0x2e2c14);else _0x4a43df&&await _0x581966['RcdMb'](checkPuppeteerAndBootstrapCli,_0x4a43df,constants[_0x43f459(0x183)][_0x43f459(0x1a7)],_0x2e2c14);if(!_0x2e2c14[_0x43f459(0x1c3)])return;_0x581966[_0x43f459(0x1b9)](_0x2e2c14[_0x43f459(0x1c3)][_0x43f459(0x1bf)],null)?process[_0x43f459(0x1d8)][_0x43f459(0x173)]=_0x2e2c14['config'][_0x43f459(0x1bf)]:process[_0x43f459(0x1d8)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x581966[_0x43f459(0x18d)];!helper['isUndefined'](_0x2e2c14[_0x43f459(0x1c3)][_0x43f459(0x1d0)])&&(process[_0x43f459(0x1d8)][_0x43f459(0x1f5)]=JSON[_0x43f459(0x1d2)](_0x2e2c14['config'][_0x43f459(0x1d0)]));try{await TestHubHandler[_0x43f459(0x1da)](FRAMEWORKS['JASMINE'],_0x2e2c14);}catch(_0x4de83e){logger[_0x43f459(0x198)](_0x43f459(0x161)+util[_0x43f459(0x186)](_0x4de83e)),_0x581966['EhINO'](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util[_0x43f459(0x186)](_0x4de83e));}let _0x5c9944=![],_0x1dc06a=[];try{_0x5c9944=helper[_0x43f459(0x166)](_0x2e2c14['config']),_0x1dc06a=helper[_0x43f459(0x1c0)](_0x2e2c14[_0x43f459(0x1c3)],_0x5c9944,constants[_0x43f459(0x183)][_0x43f459(0x1a7)]),process['env'][_0x43f459(0x178)]=JSON['stringify'](_0x1dc06a);}catch(_0x23816f){_0x581966[_0x43f459(0x1f3)](debug,_0x43f459(0x1f7)+util[_0x43f459(0x186)](_0x23816f));}let _0x4f82e0=null,_0x5cc6f9=![];try{_0x4f82e0=helper[_0x43f459(0x1bd)](_0x2e2c14[_0x43f459(0x1c3)]),_0x5cc6f9=helper['validPlatformsPresent'](_0x2e2c14[_0x43f459(0x1c3)]);}catch(_0x70b7a1){_0x581966[_0x43f459(0x17a)](debug,_0x43f459(0x1fa)+util['format'](_0x70b7a1));}const _0x2e2f4c=_0x14fe92=>{const _0x2a4ec2=_0x43f459,_0x138d98=Array[_0x2a4ec2(0x16b)](_0x1dc06a)&&_0x581966['aVlFo'](_0x1dc06a[_0x2a4ec2(0x1c1)],_0x14fe92)?_0x1dc06a[_0x14fe92]:Array[_0x2a4ec2(0x16b)](_0x1dc06a)&&_0x581966[_0x2a4ec2(0x1b1)](_0x1dc06a[_0x2a4ec2(0x1c1)],0x0)?_0x1dc06a[0x0]:{};return{'server':_0x4f82e0,'capability':_0x138d98,'proxySettings':_0x2e2c14[_0x2a4ec2(0x1c3)]['proxySettings'],'platform':helper[_0x2a4ec2(0x187)](_0x138d98),'browserStackLogLevel':_0x2e2c14[_0x2a4ec2(0x1c3)][_0x2a4ec2(0x192)],'platformIndex':_0x14fe92,'framework':constants[_0x2a4ec2(0x183)]['JASMINE'],'platformCaps':_0x5cc6f9?Object['assign']({'index':_0x14fe92},_0x2e2c14[_0x2a4ec2(0x1c3)][_0x2a4ec2(0x1d1)][_0x14fe92]):{'index':_0x14fe92}};};let _0x169451=0x1,_0xd5076b=0x1,_0x351679=0x1;try{_0x169451=_0x581966['EtCzf'](getMaxWorkers,_0x5aa73b,_0x2e2c14['config']),_0xd5076b=_0x5cc6f9?_0x2e2c14[_0x43f459(0x1c3)]['platforms']['length']:0x1,_0x351679=_0x581966[_0x43f459(0x174)](_0xd5076b,_0x169451),process['env'][_0x43f459(0x1a0)]=_0x581966[_0x43f459(0x19c)](String,_0x351679);}catch(_0x4224ff){_0x581966[_0x43f459(0x1f3)](debug,_0x43f459(0x1ae)+util['format'](_0x4224ff));}try{BrowserstackCLI['getInstance']()[_0x43f459(0x193)]&&(process[_0x43f459(0x1d8)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x43f459(0x16e)]()['binSessionId']);}catch(_0x35dc46){_0x581966[_0x43f459(0x16c)](debug,_0x43f459(0x1e4)+util[_0x43f459(0x186)](_0x35dc46));}const _0x3d690d=[];try{const _0x11e268=path[_0x43f459(0x1e1)](__dirname,_0x581966[_0x43f459(0x1e8)]);fs[_0x43f459(0x1fd)](_0x11e268)?_0x3d690d[_0x43f459(0x1c6)]('--helper='+_0x11e268):_0x581966['EhINO'](debug,'Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20'+_0x11e268+_0x43f459(0x162));}catch(_0x562a48){_0x581966['rUFfb'](debug,_0x43f459(0x185)+util[_0x43f459(0x186)](_0x562a48));}const _0x3c399c=_0x3f482c[_0x43f459(0x18c)](0x1),_0x29bec4=_0x581966[_0x43f459(0x19c)](enumerateSpecFiles,_0x3f482c),_0x4968d8=[];for(let _0x24f6d9=0x0;_0x581966[_0x43f459(0x1af)](_0x24f6d9,_0xd5076b);_0x24f6d9++){if(_0x581966['aVlFo'](_0x169451,0x1)&&Array[_0x43f459(0x16b)](_0x29bec4)&&_0x581966[_0x43f459(0x1b1)](_0x29bec4[_0x43f459(0x1c1)],0x0))for(const _0x2b7852 of _0x29bec4){const _0x5bc621={};_0x5bc621['platformIndex']=_0x24f6d9,_0x5bc621[_0x43f459(0x163)]=[_0x2b7852],_0x4968d8['push'](_0x5bc621);}else{const _0x4a0005={};_0x4a0005[_0x43f459(0x16f)]=_0x24f6d9,_0x4a0005[_0x43f459(0x163)]=_0x29bec4,_0x4968d8[_0x43f459(0x1c6)](_0x4a0005);}}logger[_0x43f459(0x1fb)]('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0xd5076b+'\x20platform(s),\x20parallelsPerPlatform='+_0x169451+'\x20('+_0x4968d8['length']+_0x43f459(0x190)+_0x351679+'\x20concurrent)'),PerformanceTester[_0x43f459(0x191)](PerformanceEvents[_0x43f459(0x1e2)]);const _0x1e7476=_0x4c4724=>new Promise(_0x51b0a6=>{const _0x5c9f90=_0x43f459,_0x321243={'NtxFw':function(_0x564481,_0x532ae7){const _0x55e02b=a18_0x16e6;return _0x581966[_0x55e02b(0x17a)](_0x564481,_0x532ae7);},'gzYZd':function(_0x33b0a8,_0x2c1b62){const _0xd42bfb=a18_0x16e6;return _0x581966[_0xd42bfb(0x17a)](_0x33b0a8,_0x2c1b62);}};let _0x4a7e8f;try{const _0x17f4ac=_0x581966[_0x5c9f90(0x1c4)](_0x2e2f4c,_0x4c4724[_0x5c9f90(0x16f)]);_0x4a7e8f=Object[_0x5c9f90(0x184)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x5c9f90(0x1d2)](_0x17f4ac),'BROWSERSTACK_CAPABILITIES':JSON[_0x5c9f90(0x1d2)]([_0x17f4ac['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x1e7c34){_0x581966['MlMmw'](debug,_0x5c9f90(0x180)+_0x4c4724[_0x5c9f90(0x16f)]+'\x20:\x20'+util[_0x5c9f90(0x186)](_0x1e7c34)),_0x4a7e8f=Object[_0x5c9f90(0x184)]({},process['env']);}const _0x18fc18=Array['isArray'](_0x4c4724['specArgs'])?_0x4c4724[_0x5c9f90(0x163)]:[],_0x4df29b=_0x581966['aVlFo'](_0x18fc18[_0x5c9f90(0x1c1)],0x0)?_0x3c399c[_0x5c9f90(0x1b6)](_0x4542cb=>typeof _0x4542cb===_0x5c9f90(0x1dd)&&_0x4542cb[_0x5c9f90(0x1cd)]('-')):_0x3c399c,_0x482d4c=[..._0x3d690d,..._0x4df29b,..._0x18fc18];try{const _0xbbf9f9=_0x581966['pnDoG'](spawn,_0x581966[_0x5c9f90(0x1eb)],[_0x581966[_0x5c9f90(0x1a9)],..._0x482d4c],{'shell':_0x581966[_0x5c9f90(0x1d4)](process[_0x5c9f90(0x1cc)],_0x581966[_0x5c9f90(0x1a8)]),'stdio':_0x581966[_0x5c9f90(0x1ed)],'env':_0x4a7e8f});_0xbbf9f9['on'](_0x581966['zHNvJ'],_0x4290e5=>{const _0x202d79=_0x5c9f90;logger['debug'](_0x202d79(0x165)+_0x4c4724['platformIndex']+_0x202d79(0x16d)+(_0x18fc18[_0x202d79(0x1c1)]?_0x18fc18['join'](','):_0x581966[_0x202d79(0x1fc)])+_0x202d79(0x168)+_0x4290e5),_0x581966['sRmzj'](_0x51b0a6,_0x581966[_0x202d79(0x18a)](_0x4290e5,0x0));}),_0xbbf9f9['on'](_0x581966[_0x5c9f90(0x1ca)],_0x299b3d=>{const _0x524386=_0x5c9f90;_0x321243[_0x524386(0x1f0)](debug,_0x524386(0x177)+_0x4c4724[_0x524386(0x16f)]+')\x20:\x20'+util[_0x524386(0x186)](_0x299b3d)),_0x321243[_0x524386(0x1c2)](_0x51b0a6,0x1);});}catch(_0x272d1e){_0x581966[_0x5c9f90(0x1c5)](debug,_0x5c9f90(0x172)+_0x4c4724[_0x5c9f90(0x16f)]+_0x5c9f90(0x15d)+util[_0x5c9f90(0x186)](_0x272d1e)),_0x581966[_0x5c9f90(0x1db)](_0x51b0a6,0x1);}}),_0x1991fe=_0x581966[_0x43f459(0x17b)](pLimit,_0x581966[_0x43f459(0x1b1)](_0x351679,0x0)?_0x351679:0x1),_0xf033db=await Promise[_0x43f459(0x1d6)](_0x4968d8[_0x43f459(0x17f)](_0x22225f=>_0x1991fe(()=>_0x1e7476(_0x22225f))));PerformanceTester[_0x43f459(0x1ad)](PerformanceEvents['SDK_CLEANUP']);const _0x1bcf9d=_0xf033db['find'](_0x2ed542=>_0x2ed542!==0x0)||0x0;process[_0x43f459(0x1be)]=_0x1bcf9d,logger[_0x43f459(0x1ec)](_0x43f459(0x1a1)+_0x1bcf9d);const _0x52b38b=BrowserstackCLI[_0x43f459(0x1e9)]();try{await TestHubHandler[_0x43f459(0x19d)](),await BrowserstackCLI['getInstance']()[_0x43f459(0x19d)]();}catch(_0x4da4c0){_0x581966[_0x43f459(0x176)](debug,_0x43f459(0x195)+util[_0x43f459(0x186)](_0x4da4c0));}testOpsHelper[_0x43f459(0x179)](),await utilities[_0x43f459(0x1b5)](_0x2e2c14,_0x52b38b);}function a18_0x16e6(_0x28058c,_0x4113cd){const _0x41a108=a18_0x41a1();return a18_0x16e6=function(_0x16e63d,_0x141a53){_0x16e63d=_0x16e63d-0x15d;let _0x4f82e9=_0x41a108[_0x16e63d];return _0x4f82e9;},a18_0x16e6(_0x28058c,_0x4113cd);}module['exports']=run;
@@ -1 +1 @@
1
- 'use strict';const a15_0xcdf53b=a15_0x4268;(function(_0x4ce2e0,_0x2d997a){const _0x59721b=a15_0x4268,_0x247859=_0x4ce2e0();while(!![]){try{const _0x242620=-parseInt(_0x59721b(0x1d9))/0x1+parseInt(_0x59721b(0x1a4))/0x2+parseInt(_0x59721b(0x204))/0x3+-parseInt(_0x59721b(0x1ea))/0x4*(-parseInt(_0x59721b(0x1bf))/0x5)+-parseInt(_0x59721b(0x196))/0x6+parseInt(_0x59721b(0x183))/0x7+-parseInt(_0x59721b(0x1ec))/0x8;if(_0x242620===_0x2d997a)break;else _0x247859['push'](_0x247859['shift']());}catch(_0x1c9851){_0x247859['push'](_0x247859['shift']());}}}(a15_0x5f4f,0x7384e));const util=require(a15_0xcdf53b(0x1dc)),logger=require(a15_0xcdf53b(0x185))[a15_0xcdf53b(0x1b9)],helper=require(a15_0xcdf53b(0x1d5)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a15_0xcdf53b(0x1ba)),testHubConstants=require('../../helpers/testhub/constants'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a15_0xcdf53b(0x19d)),accessibilityRetryHelper=require(a15_0xcdf53b(0x1a6)),testRunMap=require(a15_0xcdf53b(0x1f1));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env'][a15_0xcdf53b(0x1c1)]||process[a15_0xcdf53b(0x1f7)][a15_0xcdf53b(0x1b2)];rawConfig!==undefined&&(_bstackConfig=JSON[a15_0xcdf53b(0x1da)](rawConfig));}catch(a15_0x15dc51){logger['debug'](a15_0xcdf53b(0x1f8)+util[a15_0xcdf53b(0x186)](a15_0x15dc51));}function a15_0x5f4f(){const _0x3edb15=['3|4|2|1|0','autoScanning','BROWSERSTACK_TESTHUB_UUID','isBrowserstackInfra','getPackageVersion','winstonLogger','../../helpers/testhub/utils','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','Passed','zebMI','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','10bprdky','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','BROWSERSTACK_JASMINE_CONFIG','join','performScanWithRetry','Spec\x20failed','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','RhgAM','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','addReporter','getGlobal','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','@playwright/test','exports','WTjzJ','isArray','path','Yivgx','__skipSessionStatus','FOILn','aNtum','pPwyB','../../helpers/helper','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','AHgMx','includes','282644oswHYY','parse','executeScript','util','stack','syxsB','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','HoLHl','lozKU','skipSessionStatus','platformIndex','sessionName','isAccessibilityPlatform','\x22}}','length','__platformCaps','error','1517372prRAlh','fktsE','5364128Tfqptk','push','stringify','KVkjx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','./testRunMap','WjvcV','../../index','keys','browserstackSessionName','info','env','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','fileNameByFullName','bin','forEach','getEnv','./bstack-reporter/customReporter','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','TYAWr','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','nFKDF','__drivers','function','963348IbmQcm','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','pop','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','2852836rWMQNl','DFtOW','../../helpers/logger','format','jasmine','__skipSessionName','undefined','getFileName','tRbig','prepareStackTrace','browserstackPlatformIndex','message','startsWith','EYSuz','setGlobal','ENV_VAR','BROWSERSTACK_TESTHUB_JWT','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','fullName','3041244LHliIm','bstackA11yShouldScan','skipSessionName','kAEXo','orJeA','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','sep','../../helpers/accessibility-automation/helper',',\x22level\x22:\x20\x22','DDLSS','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','EsYgk','failedExpectations','tjmJJ','891700NuzlgA','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','../../helpers/accessibility-automation/accessibilityRetryHelper','platformCaps','debug','zBnTj','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','sessionNameSet__','uXByg','browserstackAgentV2','Failed:\x20','zCJMT','isMobilePlatform','CONFIG','failed'];a15_0x5f4f=function(){return _0x3edb15;};return a15_0x5f4f();}function a15_0x4268(_0xd8f1e6,_0x278f90){const _0x5f4ffb=a15_0x5f4f();return a15_0x4268=function(_0x4268d6,_0x4d5537){_0x4268d6=_0x4268d6-0x180;let _0x4121ed=_0x5f4ffb[_0x4268d6];return _0x4121ed;},a15_0x4268(_0xd8f1e6,_0x278f90);}try{if(_bstackConfig&&!helper[a15_0xcdf53b(0x1b8)](a15_0xcdf53b(0x1cb))){const dWxUbh=a15_0xcdf53b(0x1b4)['split']('|');let wnErxp=0x0;while(!![]){switch(dWxUbh[wnErxp++]){case'0':helper[a15_0xcdf53b(0x1b7)]()?(global[a15_0xcdf53b(0x188)]=helper['isTrue'](_bstackConfig[a15_0xcdf53b(0x198)]),global[a15_0xcdf53b(0x1d1)]=helper['isTrue'](_bstackConfig[a15_0xcdf53b(0x1e2)])):(global[a15_0xcdf53b(0x188)]=!![],global['__skipSessionStatus']=!![]);continue;case'1':global[a15_0xcdf53b(0x18d)]=_bstackConfig[a15_0xcdf53b(0x1e3)];continue;case'2':global[a15_0xcdf53b(0x1e8)]=_bstackConfig[a15_0xcdf53b(0x1a7)]||{};continue;case'3':logger[a15_0xcdf53b(0x1a8)]('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'4':shouldProcessEventForTesthub()?require('../../index')['browserstackAgentV2'](_bstackConfig,null,!![]):require(a15_0xcdf53b(0x1f3))[a15_0xcdf53b(0x1ae)](_bstackConfig);continue;}break;}}}catch(a15_0xc39520){logger[a15_0xcdf53b(0x1a8)](a15_0xcdf53b(0x1aa)+util['format'](a15_0xc39520));}const _fileNameByFullName={};try{if(typeof describe===a15_0xcdf53b(0x203)&&typeof global!==a15_0xcdf53b(0x189)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x306a1b=a15_0xcdf53b,_0x52fec3={'KVkjx':function(_0x8273cf,_0x38835d){return _0x8273cf(_0x38835d);},'FOILn':_0x306a1b(0x1cf),'uXByg':'node:','EsYgk':'jasmine-core'},_0xa708c4=Error[_0x306a1b(0x18c)];try{const _0x310e7d=new Error();Error[_0x306a1b(0x18c)]=(_0x3698b7,_0x487d4f)=>_0x487d4f;const _0xde4081=_0x310e7d[_0x306a1b(0x1dd)];Error['prepareStackTrace']=_0xa708c4;if(Array[_0x306a1b(0x1ce)](_0xde4081))for(const _0x541960 of _0xde4081){const _0x875b50=_0x541960[_0x306a1b(0x18a)]&&_0x541960[_0x306a1b(0x18a)]();if(_0x875b50&&!_0x875b50[_0x306a1b(0x1d8)](_0x306a1b(0x1fa)+_0x52fec3[_0x306a1b(0x1ef)](require,_0x52fec3[_0x306a1b(0x1d2)])['sep']+_0x306a1b(0x187)+_0x52fec3[_0x306a1b(0x1ef)](require,_0x52fec3[_0x306a1b(0x1d2)])[_0x306a1b(0x19c)])&&!_0x875b50[_0x306a1b(0x18f)](_0x52fec3[_0x306a1b(0x1ad)])&&!_0x875b50[_0x306a1b(0x1d8)](_0x52fec3[_0x306a1b(0x1a1)]))return _0x875b50;}}catch(_0xcf71cf){Error[_0x306a1b(0x18c)]=_0xa708c4;}return null;},_wrappedDescribe=function(_0x258f54,_0x26c015){const _0x2111ce=a15_0xcdf53b,_0x4c6fe1={'zCJMT':function(_0x25b108){return _0x25b108();},'tjmJJ':function(_0x15a57a,_0x41a32c){return _0x15a57a&&_0x41a32c;},'lozKU':function(_0x574577,_0x14e00e,_0x40f83a){return _0x574577(_0x14e00e,_0x40f83a);}};let _0x5a0fc8=null;try{_0x5a0fc8=_0x4c6fe1[_0x2111ce(0x1b0)](_resolveCallerFile);}catch(_0x441f24){}_describeTitleStack[_0x2111ce(0x1ed)](_0x258f54);const _0x47c20d=_describeTitleStack[_0x2111ce(0x1c2)]('\x20');_0x4c6fe1[_0x2111ce(0x1a3)](_0x5a0fc8,_0x47c20d)&&(_fileNameByFullName[_0x47c20d]=_0x5a0fc8);try{return _0x4c6fe1[_0x2111ce(0x1e1)](_origDescribe,_0x258f54,_0x26c015);}finally{_describeTitleStack[_0x2111ce(0x181)]();}};Object[a15_0xcdf53b(0x1f4)](_origDescribe)[a15_0xcdf53b(0x1fb)](_0xbcc3d0=>{_wrappedDescribe[_0xbcc3d0]=_origDescribe[_0xbcc3d0];}),global['describe']=_wrappedDescribe;}}catch(a15_0xbd5326){logger[a15_0xcdf53b(0x1a8)](a15_0xcdf53b(0x1df)+util[a15_0xcdf53b(0x186)](a15_0xbd5326));}try{if(typeof jasmine!=='undefined'&&jasmine['getEnv']){const BrowserStackJasmineReporter=require(a15_0xcdf53b(0x1fd)),a15_0x2314d5={};a15_0x2314d5[a15_0xcdf53b(0x1f9)]=_fileNameByFullName,jasmine[a15_0xcdf53b(0x1fc)]()[a15_0xcdf53b(0x1c8)](new BrowserStackJasmineReporter(a15_0x2314d5)),logger[a15_0xcdf53b(0x1a8)](a15_0xcdf53b(0x182));}else logger['debug'](a15_0xcdf53b(0x1d6));}catch(a15_0x46ada2){logger[a15_0xcdf53b(0x1a8)](a15_0xcdf53b(0x1a0)+util[a15_0xcdf53b(0x186)](a15_0x46ada2));}try{typeof jasmine!==a15_0xcdf53b(0x189)&&jasmine['getEnv']&&jasmine['getEnv']()[a15_0xcdf53b(0x1c8)]({'specStarted'(_0x10bff4){const _0x3acfbd=a15_0xcdf53b,_0x567e9f={};_0x567e9f[_0x3acfbd(0x1d7)]=function(_0x3dca13,_0x501c41){return _0x3dca13||_0x501c41;};const _0x322b7d=_0x567e9f;_activeResultId=_0x10bff4&&_0x10bff4['id'],_activeFullName=_0x10bff4&&_0x10bff4[_0x3acfbd(0x195)],_activeResultRef=_0x322b7d['AHgMx'](_0x10bff4,null);},'specDone'(){}});}catch(a15_0x665de5){logger[a15_0xcdf53b(0x1a8)](a15_0xcdf53b(0x1ab)+util[a15_0xcdf53b(0x186)](a15_0x665de5));}const _resolveAutoScanning=()=>{const _0x29d0bc=a15_0xcdf53b,_0x18e775={};_0x18e775[_0x29d0bc(0x190)]=function(_0x491c77,_0x30040e){return _0x491c77===_0x30040e;};const _0x104472=_0x18e775;let _0x320f9f=!![];try{const _0x27b5d6=JSON[_0x29d0bc(0x1da)](process[_0x29d0bc(0x1f7)][_0x29d0bc(0x1f0)]||'{}');_0x104472[_0x29d0bc(0x190)](_0x27b5d6[_0x29d0bc(0x1b5)],![])&&(_0x320f9f=![]);}catch(_0x2dfdcf){logger['debug']('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x2dfdcf[_0x29d0bc(0x18e)]);}return _0x320f9f;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x5b4e98=a15_0xcdf53b,_0x2c8677={'UNjSc':function(_0x46572b){return _0x46572b();},'TYAWr':function(_0x522e69,_0xc32265,_0xb0c8ce){return _0x522e69(_0xc32265,_0xb0c8ce);},'aNtum':function(_0x473857,_0x472fa1){return _0x473857&&_0x472fa1;},'orJeA':_0x5b4e98(0x197),'aUGyS':'bstackA11yScanOptions'};try{const _0x145a98=_0x2c8677['UNjSc'](_resolveAutoScanning),_0x16d53c=_0x2c8677[_0x5b4e98(0x1ff)](shouldScanTestForAccessibility,null,![]),_0xb6f074=_0x2c8677[_0x5b4e98(0x1d3)](_0x145a98,_0x16d53c);globals['setGlobal'](_0x2c8677[_0x5b4e98(0x19a)],_0xb6f074),globals[_0x5b4e98(0x191)](_0x2c8677['aUGyS'],null);}catch(_0x4c7db0){logger['debug'](_0x5b4e98(0x19b)+util['format'](_0x4c7db0));}}),typeof afterEach===a15_0xcdf53b(0x203)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x352828=a15_0xcdf53b,_0x113609={'zebMI':function(_0x390cf9,_0x19ed7c){return _0x390cf9>_0x19ed7c;},'HoLHl':_0x352828(0x1c4),'ehRVC':function(_0x12cb97,_0x14e430){return _0x12cb97+_0x14e430;},'pPwyB':_0x352828(0x1af),'Yivgx':_0x352828(0x1bc),'zBnTj':_0x352828(0x1e9),'syxsB':_0x352828(0x1f6),'fktsE':_0x352828(0x1b3),'DDLSS':'passed','kassu':function(_0x9e38c4){return _0x9e38c4();},'mRIWo':_0x352828(0x1e5),'nFKDF':_0x352828(0x197),'tRbig':_0x352828(0x1a5),'WjvcV':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','GcPXd':_0x352828(0x1c5),'kAEXo':_0x352828(0x200),'WTjzJ':_0x352828(0x1b1),'DFtOW':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','RhgAM':_0x352828(0x1ca)};try{if(Array['isArray'](global[_0x352828(0x202)])&&_0x113609[_0x352828(0x1bd)](global[_0x352828(0x202)]['length'],0x0)&&global[_0x352828(0x202)][0x0]){const _0x3b3b60=_activeFullName||global[_0x352828(0x1e4)];if(!global[_0x352828(0x188)]&&_0x3b3b60){global[_0x352828(0x1e4)]=_0x3b3b60;try{await global[_0x352828(0x202)][0x0][_0x352828(0x1db)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x352828(0x1ee)](_0x3b3b60)+'}}'),global['__drivers'][0x0][_0x352828(0x1ac)]=!![];}catch(_0x1bc188){logger[_0x352828(0x1a8)](_0x352828(0x180)+util[_0x352828(0x186)](_0x1bc188));}}if(!global[_0x352828(0x1d1)])try{const _0x3e65be=_activeResultRef&&Array[_0x352828(0x1ce)](_activeResultRef[_0x352828(0x1a2)])?_activeResultRef['failedExpectations']:[],_0x3f82e2=_0x113609[_0x352828(0x1bd)](_0x3e65be['length'],0x0),_0x2dddc3=_0x3f82e2?_0x3e65be[0x0]&&_0x3e65be[0x0][_0x352828(0x18e)]||_0x113609[_0x352828(0x1e0)]:null;try{await global['__drivers'][0x0][_0x352828(0x1db)](_0x352828(0x1fe)+JSON['stringify'](_0x3f82e2?_0x113609['ehRVC'](_0x113609[_0x352828(0x1d4)],_0x2dddc3):_0x113609[_0x352828(0x1d0)])+_0x352828(0x19e)+(_0x3f82e2?_0x113609[_0x352828(0x1a9)]:_0x113609[_0x352828(0x1de)])+_0x352828(0x1e6));}catch(_0x169d94){logger['debug'](_0x352828(0x1be)+util[_0x352828(0x186)](_0x169d94));}_0x3f82e2&&(global['__sessionFailed']=!![]),await helper['markSessionStatus'](global['__drivers'][0x0],_0x3f82e2?_0x113609[_0x352828(0x1eb)]:_0x113609[_0x352828(0x19f)],_0x2dddc3);}catch(_0x3e6bde){logger[_0x352828(0x1a8)](_0x352828(0x1c7)+util[_0x352828(0x186)](_0x3e6bde));}}}catch(_0x1f27fe){logger[_0x352828(0x1a8)](_0x352828(0x194)+util[_0x352828(0x186)](_0x1f27fe));}try{if(_0x113609['kassu'](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x113609['mRIWo'])&&Array['isArray'](global['__drivers'])&&_0x113609[_0x352828(0x1bd)](global[_0x352828(0x202)][_0x352828(0x1e7)],0x0)&&global[_0x352828(0x202)][0x0]){const _0xac099c=testRunMap['get'](_activeResultId),_0x10798a={};_0x10798a['thTestRunUuid']=_0xac099c,_0x10798a['thBuildUuid']=process['env'][testHubConstants[_0x352828(0x192)][_0x352828(0x1b6)]],_0x10798a['thJwtToken']=process[_0x352828(0x1f7)][testHubConstants[_0x352828(0x192)][_0x352828(0x193)]];const _0x14df0d=_0x10798a;logger[_0x352828(0x1a8)](_0x352828(0x205)+JSON['stringify'](_0x14df0d));if(globals[_0x352828(0x1c9)](_0x113609[_0x352828(0x201)])){logger[_0x352828(0x1a8)](_0x113609[_0x352828(0x18b)]);const _0x50535a=await accessibilityRetryHelper[_0x352828(0x1c3)](global[_0x352828(0x202)][0x0],global[_0x352828(0x1f5)]);_0x50535a?logger[_0x352828(0x1a8)](_0x113609[_0x352828(0x1f2)]):logger['warn'](_0x113609['GcPXd']);}else logger[_0x352828(0x1a8)](_0x113609[_0x352828(0x199)]);globals[_0x352828(0x1c9)](_0x113609[_0x352828(0x1cd)])&&(_0x14df0d['is_mobile_session']=!![]);const _0x5b63d5=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x352828(0x202)][0x0],_0x14df0d);_0x5b63d5?logger[_0x352828(0x1a8)](_0x113609[_0x352828(0x184)]):logger['warn'](_0x113609[_0x352828(0x1c6)]);}}catch(_0x10926d){logger[_0x352828(0x1e9)](_0x352828(0x1bb)+util[_0x352828(0x186)](_0x10926d));}});}catch(a15_0x5f2c26){logger[a15_0xcdf53b(0x1a8)](a15_0xcdf53b(0x1c0)+util['format'](a15_0x5f2c26));}module[a15_0xcdf53b(0x1cc)]={};
1
+ 'use strict';const a19_0x3f54a1=a19_0x13c2;(function(_0x4419e5,_0x441a7f){const _0x48a43b=a19_0x13c2,_0x435d29=_0x4419e5();while(!![]){try{const _0x16b242=parseInt(_0x48a43b(0x1e5))/0x1*(-parseInt(_0x48a43b(0x21d))/0x2)+parseInt(_0x48a43b(0x21f))/0x3+-parseInt(_0x48a43b(0x234))/0x4+parseInt(_0x48a43b(0x21c))/0x5+-parseInt(_0x48a43b(0x1e0))/0x6*(parseInt(_0x48a43b(0x247))/0x7)+-parseInt(_0x48a43b(0x239))/0x8+-parseInt(_0x48a43b(0x1de))/0x9*(-parseInt(_0x48a43b(0x1f8))/0xa);if(_0x16b242===_0x441a7f)break;else _0x435d29['push'](_0x435d29['shift']());}catch(_0x508aa9){_0x435d29['push'](_0x435d29['shift']());}}}(a19_0x4daa,0x98114));const util=require('util'),logger=require(a19_0x3f54a1(0x235))[a19_0x3f54a1(0x1dc)],helper=require('../../helpers/helper'),globals=require(a19_0x3f54a1(0x1f7)),{shouldProcessEventForTesthub}=require(a19_0x3f54a1(0x216)),testHubConstants=require(a19_0x3f54a1(0x227)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x3f54a1(0x202)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a19_0x3f54a1(0x24e));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x3f54a1(0x1ed)][a19_0x3f54a1(0x22f)]||process[a19_0x3f54a1(0x1ed)]['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x3f54a1(0x214)](rawConfig));}catch(a19_0x25f237){logger[a19_0x3f54a1(0x230)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x3f54a1(0x1ec)](a19_0x25f237));}try{if(_bstackConfig&&!helper[a19_0x3f54a1(0x20f)](a19_0x3f54a1(0x209))){const naWPew=a19_0x3f54a1(0x20a)['split']('|');let JPYvUQ=0x0;while(!![]){switch(naWPew[JPYvUQ++]){case'0':shouldProcessEventForTesthub()?require(a19_0x3f54a1(0x258))['browserstackAgentV2'](_bstackConfig,null,!![]):require('../../index')[a19_0x3f54a1(0x255)](_bstackConfig);continue;case'1':global[a19_0x3f54a1(0x219)]=_bstackConfig['platformIndex'];continue;case'2':logger[a19_0x3f54a1(0x230)](a19_0x3f54a1(0x21b));continue;case'3':global['__platformCaps']=_bstackConfig['platformCaps']||{};continue;case'4':helper['isBrowserstackInfra']()?(global[a19_0x3f54a1(0x253)]=helper[a19_0x3f54a1(0x240)](_bstackConfig[a19_0x3f54a1(0x206)]),global[a19_0x3f54a1(0x20e)]=helper[a19_0x3f54a1(0x240)](_bstackConfig[a19_0x3f54a1(0x223)])):(global['__skipSessionName']=!![],global[a19_0x3f54a1(0x20e)]=!![]);continue;}break;}}}catch(a19_0x4ec33a){logger[a19_0x3f54a1(0x230)](a19_0x3f54a1(0x215)+util['format'](a19_0x4ec33a));}function a19_0x13c2(_0x25f716,_0x44ad61){const _0x4daaec=a19_0x4daa();return a19_0x13c2=function(_0x13c26f,_0x2a7595){_0x13c26f=_0x13c26f-0x1dc;let _0x240100=_0x4daaec[_0x13c26f];return _0x240100;},a19_0x13c2(_0x25f716,_0x44ad61);}const _fileNameByFullName={};try{if(typeof describe===a19_0x3f54a1(0x249)&&typeof global!==a19_0x3f54a1(0x23b)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x13eaa1=a19_0x3f54a1,_0x4c752b={'bsiJm':function(_0x519e79,_0x255721){return _0x519e79(_0x255721);},'cRinF':'path','vHMFN':_0x13eaa1(0x203),'Muiiz':_0x13eaa1(0x1ff)},_0x3ce854=Error[_0x13eaa1(0x23c)];try{const _0x3728df=new Error();Error['prepareStackTrace']=(_0x43ac0d,_0x4bcea5)=>_0x4bcea5;const _0x2a6a71=_0x3728df['stack'];Error[_0x13eaa1(0x23c)]=_0x3ce854;if(Array[_0x13eaa1(0x244)](_0x2a6a71))for(const _0x4a4b5e of _0x2a6a71){const _0x3b755a=_0x4a4b5e[_0x13eaa1(0x224)]&&_0x4a4b5e[_0x13eaa1(0x224)]();if(_0x3b755a&&!_0x3b755a[_0x13eaa1(0x218)]('bin'+_0x4c752b[_0x13eaa1(0x237)](require,_0x4c752b[_0x13eaa1(0x1f6)])[_0x13eaa1(0x225)]+_0x13eaa1(0x24d)+_0x4c752b[_0x13eaa1(0x237)](require,_0x4c752b[_0x13eaa1(0x1f6)])[_0x13eaa1(0x225)])&&!_0x3b755a[_0x13eaa1(0x1f9)](_0x4c752b[_0x13eaa1(0x1e3)])&&!_0x3b755a['includes'](_0x4c752b[_0x13eaa1(0x20b)]))return _0x3b755a;}}catch(_0x765add){Error[_0x13eaa1(0x23c)]=_0x3ce854;}return null;},_wrappedDescribe=function(_0x3fb819,_0x3aa9f2){const _0x4c20fa=a19_0x3f54a1,_0x2ffd6b={'jmLyY':function(_0xc8e682){return _0xc8e682();},'SToMU':function(_0x555274,_0x3d6bbd){return _0x555274&&_0x3d6bbd;},'HxnkR':function(_0x336960,_0x328386,_0x5e770f){return _0x336960(_0x328386,_0x5e770f);}};let _0x541ab7=null;try{_0x541ab7=_0x2ffd6b['jmLyY'](_resolveCallerFile);}catch(_0x13ebce){}_describeTitleStack[_0x4c20fa(0x222)](_0x3fb819);const _0x5dda03=_describeTitleStack[_0x4c20fa(0x201)]('\x20');_0x2ffd6b[_0x4c20fa(0x1f5)](_0x541ab7,_0x5dda03)&&(_fileNameByFullName[_0x5dda03]=_0x541ab7);try{return _0x2ffd6b[_0x4c20fa(0x241)](_origDescribe,_0x3fb819,_0x3aa9f2);}finally{_describeTitleStack[_0x4c20fa(0x20c)]();}};Object['keys'](_origDescribe)[a19_0x3f54a1(0x1f2)](_0x3573c5=>{_wrappedDescribe[_0x3573c5]=_origDescribe[_0x3573c5];}),global[a19_0x3f54a1(0x208)]=_wrappedDescribe;}}catch(a19_0xe10c73){logger['debug'](a19_0x3f54a1(0x221)+util[a19_0x3f54a1(0x1ec)](a19_0xe10c73));}try{if(typeof jasmine!==a19_0x3f54a1(0x23b)&&jasmine[a19_0x3f54a1(0x1e8)]){const BrowserStackJasmineReporter=require('./bstack-reporter/customReporter'),a19_0x2e40a2={};a19_0x2e40a2[a19_0x3f54a1(0x1fe)]=_fileNameByFullName,jasmine[a19_0x3f54a1(0x1e8)]()[a19_0x3f54a1(0x1df)](new BrowserStackJasmineReporter(a19_0x2e40a2)),logger[a19_0x3f54a1(0x230)](a19_0x3f54a1(0x22d));}else logger[a19_0x3f54a1(0x230)](a19_0x3f54a1(0x251));}catch(a19_0x2f4a2a){logger[a19_0x3f54a1(0x230)]('[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20'+util['format'](a19_0x2f4a2a));}try{typeof jasmine!==a19_0x3f54a1(0x23b)&&jasmine[a19_0x3f54a1(0x1e8)]&&jasmine[a19_0x3f54a1(0x1e8)]()[a19_0x3f54a1(0x1df)]({'specStarted'(_0x3bf5de){const _0x5d2982=a19_0x3f54a1,_0x415e81={};_0x415e81[_0x5d2982(0x1fa)]=function(_0x421b4e,_0x5e2dea){return _0x421b4e||_0x5e2dea;};const _0x4b1cf2=_0x415e81;_activeResultId=_0x3bf5de&&_0x3bf5de['id'],_activeFullName=_0x3bf5de&&_0x3bf5de[_0x5d2982(0x250)],_activeResultRef=_0x4b1cf2[_0x5d2982(0x1fa)](_0x3bf5de,null);},'specDone'(){}});}catch(a19_0x372166){logger['debug'](a19_0x3f54a1(0x200)+util['format'](a19_0x372166));}const _resolveAutoScanning=()=>{const _0x5b4e76=a19_0x3f54a1,_0x471f52={};_0x471f52[_0x5b4e76(0x246)]=function(_0x47c6f2,_0x40d82c){return _0x47c6f2===_0x40d82c;};const _0x317a10=_0x471f52;let _0x30de3f=!![];try{const _0x14ef2a=JSON[_0x5b4e76(0x214)](process[_0x5b4e76(0x1ed)][_0x5b4e76(0x1ea)]||'{}');_0x317a10[_0x5b4e76(0x246)](_0x14ef2a['autoScanning'],![])&&(_0x30de3f=![]);}catch(_0x495e8b){logger[_0x5b4e76(0x230)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x495e8b[_0x5b4e76(0x24f)]);}return _0x30de3f;};function a19_0x4daa(){const _0x151b75=['20277WQyPqD','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','getEnv','getGlobal','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','tgGwK','format','env','setGlobal','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','DYXJe','isMobilePlatform','forEach','BROWSERSTACK_TESTHUB_UUID','RRfnP','SToMU','cRinF','../../helpers/globals','1620ttPaCN','startsWith','FPSYS','NstnA','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','warn','fileNameByFullName','jasmine-core','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','join','../../helpers/accessibility-automation/helper','node:','passed','info','skipSessionName','markSessionStatus','describe','@playwright/test','2|0|3|1|4','Muiiz','pop','executeScript','__skipSessionStatus','getPackageVersion',',\x22level\x22:\x20\x22','browserstackSessionName','failed','HXFVX','parse','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','../../helpers/testhub/utils','KqOLE','includes','browserstackPlatformIndex','Failed:\x20','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','3773860qicdWd','90RCxXvY','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','377091PgcqON','LEBsT','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','push','skipSessionStatus','getFileName','sep','QDeCJ','../../helpers/testhub/constants','utOIz','__drivers','Passed','bstackA11yScanOptions','urWKh','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','bstackA11yShouldScan','BROWSERSTACK_JASMINE_CONFIG','debug','eXEki','isAccessibilityPlatform','xGqdI','3749492RVyOZn','../../helpers/logger','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','bsiJm','error','9701296AAxUEP','performScanWithRetry','undefined','prepareStackTrace','WVHwv','BROWSERSTACK_TESTHUB_JWT','length','isTrue','HxnkR','\x22}}','ENV_VAR','isArray','stringify','eZUvl','77eyvBTa','failedExpectations','function','sXenb','EqlaX','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','jasmine','./testRunMap','message','fullName','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','__skipSessionName','is_mobile_session','browserstackAgentV2','cOyKa','vuACk','../../index','saveAccessibilityResultsWithRetry','OGanD','exports','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','rWtrK','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','winstonLogger','cEQHs','184113XcuvkW','addReporter','277710Raakpn','mAEoc','HCNeM','vHMFN','OKxtt'];a19_0x4daa=function(){return _0x151b75;};return a19_0x4daa();}try{typeof beforeEach===a19_0x3f54a1(0x249)&&beforeEach(function bstackA11yBeforeEach(){const _0x5a0a5a=a19_0x3f54a1,_0xfb1633={'eXEki':function(_0x50cea8){return _0x50cea8();},'WVHwv':function(_0x2054ab,_0x41483e,_0x36a33d){return _0x2054ab(_0x41483e,_0x36a33d);},'LEBsT':function(_0x8f2232,_0x28b569){return _0x8f2232&&_0x28b569;},'vuACk':'bstackA11yShouldScan','NstnA':_0x5a0a5a(0x22b)};try{const _0x5c4d9d=_0xfb1633[_0x5a0a5a(0x231)](_resolveAutoScanning),_0x145ede=_0xfb1633[_0x5a0a5a(0x23d)](shouldScanTestForAccessibility,null,![]),_0x2a3e53=_0xfb1633[_0x5a0a5a(0x220)](_0x5c4d9d,_0x145ede);globals[_0x5a0a5a(0x1ee)](_0xfb1633[_0x5a0a5a(0x257)],_0x2a3e53),globals[_0x5a0a5a(0x1ee)](_0xfb1633[_0x5a0a5a(0x1fb)],null);}catch(_0x2ef1c6){logger[_0x5a0a5a(0x230)]('[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'+util[_0x5a0a5a(0x1ec)](_0x2ef1c6));}}),typeof afterEach===a19_0x3f54a1(0x249)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x74041e=a19_0x3f54a1,_0x479f9a={'QDeCJ':function(_0x5e3344,_0x1b783c){return _0x5e3344>_0x1b783c;},'urWKh':function(_0x53740b,_0x2bb6d4){return _0x53740b>_0x2bb6d4;},'EqlaX':'Spec\x20failed','DYXJe':function(_0x3c5fb2,_0x14f3c7){return _0x3c5fb2+_0x14f3c7;},'OKxtt':_0x74041e(0x21a),'hrItJ':_0x74041e(0x22a),'cOyKa':_0x74041e(0x238),'utOIz':_0x74041e(0x205),'HXFVX':_0x74041e(0x212),'mAEoc':_0x74041e(0x204),'OGanD':function(_0x398a76){return _0x398a76();},'xGqdI':_0x74041e(0x232),'sXenb':function(_0x497dd9,_0x759545){return _0x497dd9>_0x759545;},'WGhnS':_0x74041e(0x22e),'HCNeM':_0x74041e(0x1e7),'RRfnP':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','rWtrK':_0x74041e(0x25e),'cEQHs':_0x74041e(0x21e),'KqOLE':_0x74041e(0x1f1),'tgGwK':_0x74041e(0x24c),'Amrse':'[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts'};try{if(Array['isArray'](global[_0x74041e(0x229)])&&_0x479f9a[_0x74041e(0x226)](global[_0x74041e(0x229)][_0x74041e(0x23f)],0x0)&&global[_0x74041e(0x229)][0x0]){const _0x4e0da3=_activeFullName||global['sessionName'];if(!global[_0x74041e(0x253)]&&_0x4e0da3){global['sessionName']=_0x4e0da3;try{await global[_0x74041e(0x229)][0x0][_0x74041e(0x20d)](_0x74041e(0x1fc)+JSON[_0x74041e(0x245)](_0x4e0da3)+'}}'),global[_0x74041e(0x229)][0x0]['sessionNameSet__']=!![];}catch(_0x4a1e0d){logger[_0x74041e(0x230)](_0x74041e(0x1ef)+util['format'](_0x4a1e0d));}}if(!global['__skipSessionStatus'])try{const _0x5e6d87=_activeResultRef&&Array[_0x74041e(0x244)](_activeResultRef['failedExpectations'])?_activeResultRef[_0x74041e(0x248)]:[],_0x2b34ba=_0x479f9a[_0x74041e(0x22c)](_0x5e6d87['length'],0x0),_0x48dd15=_0x2b34ba?_0x5e6d87[0x0]&&_0x5e6d87[0x0][_0x74041e(0x24f)]||_0x479f9a[_0x74041e(0x24b)]:null;try{await global['__drivers'][0x0][_0x74041e(0x20d)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON['stringify'](_0x2b34ba?_0x479f9a[_0x74041e(0x1f0)](_0x479f9a[_0x74041e(0x1e4)],_0x48dd15):_0x479f9a['hrItJ'])+_0x74041e(0x210)+(_0x2b34ba?_0x479f9a[_0x74041e(0x256)]:_0x479f9a[_0x74041e(0x228)])+_0x74041e(0x242));}catch(_0x218258){logger[_0x74041e(0x230)](_0x74041e(0x236)+util[_0x74041e(0x1ec)](_0x218258));}_0x2b34ba&&(global['__sessionFailed']=!![]),await helper[_0x74041e(0x207)](global[_0x74041e(0x229)][0x0],_0x2b34ba?_0x479f9a[_0x74041e(0x213)]:_0x479f9a[_0x74041e(0x1e1)],_0x48dd15);}catch(_0x4f53ad){logger[_0x74041e(0x230)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util[_0x74041e(0x1ec)](_0x4f53ad));}}}catch(_0x1c6a22){logger[_0x74041e(0x230)](_0x74041e(0x252)+util[_0x74041e(0x1ec)](_0x1c6a22));}try{if(_0x479f9a[_0x74041e(0x25a)](isAccessibilityAutomationSession)&&globals[_0x74041e(0x1e9)](_0x479f9a[_0x74041e(0x233)])&&Array[_0x74041e(0x244)](global[_0x74041e(0x229)])&&_0x479f9a[_0x74041e(0x24a)](global['__drivers'][_0x74041e(0x23f)],0x0)&&global[_0x74041e(0x229)][0x0]){const _0x7621e6=testRunMap['get'](_activeResultId),_0x181f10={};_0x181f10['thTestRunUuid']=_0x7621e6,_0x181f10['thBuildUuid']=process[_0x74041e(0x1ed)][testHubConstants['ENV_VAR'][_0x74041e(0x1f3)]],_0x181f10['thJwtToken']=process[_0x74041e(0x1ed)][testHubConstants[_0x74041e(0x243)][_0x74041e(0x23e)]];const _0x3e8449=_0x181f10;logger[_0x74041e(0x230)](_0x74041e(0x1e6)+JSON[_0x74041e(0x245)](_0x3e8449));if(globals[_0x74041e(0x1e9)](_0x479f9a['WGhnS'])){logger[_0x74041e(0x230)](_0x479f9a[_0x74041e(0x1e2)]);const _0x53f485=await accessibilityRetryHelper[_0x74041e(0x23a)](global[_0x74041e(0x229)][0x0],global[_0x74041e(0x211)]);_0x53f485?logger[_0x74041e(0x230)](_0x479f9a[_0x74041e(0x1f4)]):logger['warn'](_0x479f9a[_0x74041e(0x25d)]);}else logger[_0x74041e(0x230)](_0x479f9a[_0x74041e(0x1dd)]);globals[_0x74041e(0x1e9)](_0x479f9a[_0x74041e(0x217)])&&(_0x3e8449[_0x74041e(0x254)]=!![]);const _0x13d207=await accessibilityRetryHelper[_0x74041e(0x259)](global[_0x74041e(0x229)][0x0],_0x3e8449);_0x13d207?logger['debug'](_0x479f9a[_0x74041e(0x1eb)]):logger[_0x74041e(0x1fd)](_0x479f9a['Amrse']);}}catch(_0x4e4e76){logger[_0x74041e(0x238)](_0x74041e(0x25c)+util['format'](_0x4e4e76));}});}catch(a19_0x1d4767){logger[a19_0x3f54a1(0x230)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20'+util['format'](a19_0x1d4767));}module[a19_0x3f54a1(0x25b)]={};
@@ -1 +1 @@
1
- 'use strict';const a16_0x1e3b29=a16_0x386f;function a16_0x386f(_0x46cf02,_0x13f6fa){const _0x1a2de3=a16_0x1a2d();return a16_0x386f=function(_0x386fea,_0x9fb9bd){_0x386fea=_0x386fea-0x1a3;let _0x53a101=_0x1a2de3[_0x386fea];return _0x53a101;},a16_0x386f(_0x46cf02,_0x13f6fa);}(function(_0x382b06,_0x170075){const _0x2ad47a=a16_0x386f,_0x4914c8=_0x382b06();while(!![]){try{const _0x15814e=parseInt(_0x2ad47a(0x1a9))/0x1*(parseInt(_0x2ad47a(0x1b7))/0x2)+-parseInt(_0x2ad47a(0x1b1))/0x3*(-parseInt(_0x2ad47a(0x1b5))/0x4)+-parseInt(_0x2ad47a(0x1ab))/0x5+parseInt(_0x2ad47a(0x1ae))/0x6+-parseInt(_0x2ad47a(0x1a3))/0x7+-parseInt(_0x2ad47a(0x1a4))/0x8*(-parseInt(_0x2ad47a(0x1af))/0x9)+parseInt(_0x2ad47a(0x1b3))/0xa*(-parseInt(_0x2ad47a(0x1a8))/0xb);if(_0x15814e===_0x170075)break;else _0x4914c8['push'](_0x4914c8['shift']());}catch(_0x104473){_0x4914c8['push'](_0x4914c8['shift']());}}}(a16_0x1a2d,0x1e134));const _specUuidById=new Map();function a16_0x1a2d(){const _0x19726b=['27BjaYZW','size','3iIqgXk','fgVkQ','10hRRkcB','RRPLw','745132ErWirp','IONEs','2KSbjSJ','1323007StNsIq','165976JfoIbA','_size','roEng','set','1890097jKFnHG','82031ovYhoI','get','422220FVkXle','delete','remove','1427430rtboVs'];a16_0x1a2d=function(){return _0x19726b;};return a16_0x1a2d();}exports[a16_0x1e3b29(0x1a7)]=(_0x555451,_0x5579dc)=>{const _0x1e8ea4=a16_0x1e3b29,_0x4b6236={};_0x4b6236['TKMAU']=function(_0x53f6ef,_0x1a4206){return _0x53f6ef===_0x1a4206;},_0x4b6236[_0x1e8ea4(0x1b2)]=function(_0x55fc8c,_0x4c7668){return _0x55fc8c===_0x4c7668;};const _0x12c787=_0x4b6236;if(_0x12c787['TKMAU'](_0x555451,undefined)||_0x12c787['fgVkQ'](_0x555451,null))return;_specUuidById['set'](_0x555451,_0x5579dc);},exports[a16_0x1e3b29(0x1aa)]=_0x281d8b=>{const _0x311412=a16_0x1e3b29,_0x2e3395={};_0x2e3395[_0x311412(0x1b6)]=function(_0x44699b,_0x541279){return _0x44699b===_0x541279;},_0x2e3395[_0x311412(0x1a6)]=function(_0xd2da16,_0x4294fe){return _0xd2da16===_0x4294fe;};const _0x10517e=_0x2e3395;if(_0x10517e[_0x311412(0x1b6)](_0x281d8b,undefined)||_0x10517e[_0x311412(0x1a6)](_0x281d8b,null))return undefined;return _specUuidById[_0x311412(0x1aa)](_0x281d8b);},exports[a16_0x1e3b29(0x1ad)]=_0x4ff7c8=>{const _0xb7fda=a16_0x1e3b29,_0x563c7f={};_0x563c7f[_0xb7fda(0x1b4)]=function(_0x385a14,_0x33aa40){return _0x385a14===_0x33aa40;};const _0x49da5e=_0x563c7f;if(_0x49da5e[_0xb7fda(0x1b4)](_0x4ff7c8,undefined)||_0x49da5e[_0xb7fda(0x1b4)](_0x4ff7c8,null))return;_specUuidById[_0xb7fda(0x1ac)](_0x4ff7c8);},exports[a16_0x1e3b29(0x1a5)]=()=>_specUuidById[a16_0x1e3b29(0x1b0)];
1
+ 'use strict';const a20_0x21cd5a=a20_0x3785;function a20_0x3785(_0x576c7b,_0x28fa41){const _0x2ddd38=a20_0x2ddd();return a20_0x3785=function(_0x3785f8,_0x22df3d){_0x3785f8=_0x3785f8-0x174;let _0x2a34c0=_0x2ddd38[_0x3785f8];return _0x2a34c0;},a20_0x3785(_0x576c7b,_0x28fa41);}function a20_0x2ddd(){const _0x2c7476=['1616111vGwYPt','FDPFE','1844586AQuqkE','4856744UkqKiM','_size','1390199PWOqRw','Pbiaf','821925DyoNAo','191474qpJpJO','size','783714IyWprO','set','24UpNmZM','get','delete','iPQZO','80cDynQv','gHhhM'];a20_0x2ddd=function(){return _0x2c7476;};return a20_0x2ddd();}(function(_0x875bdd,_0x2e62c5){const _0x13edcd=a20_0x3785,_0x41dbbd=_0x875bdd();while(!![]){try{const _0x51b1ed=parseInt(_0x13edcd(0x177))/0x1+-parseInt(_0x13edcd(0x17a))/0x2+-parseInt(_0x13edcd(0x17c))/0x3+-parseInt(_0x13edcd(0x175))/0x4+-parseInt(_0x13edcd(0x179))/0x5+parseInt(_0x13edcd(0x17e))/0x6*(-parseInt(_0x13edcd(0x184))/0x7)+-parseInt(_0x13edcd(0x182))/0x8*(-parseInt(_0x13edcd(0x174))/0x9);if(_0x51b1ed===_0x2e62c5)break;else _0x41dbbd['push'](_0x41dbbd['shift']());}catch(_0x2cc7b4){_0x41dbbd['push'](_0x41dbbd['shift']());}}}(a20_0x2ddd,0xbe99d));const _specUuidById=new Map();exports[a20_0x21cd5a(0x17d)]=(_0x4d36bd,_0x5dcaf5)=>{const _0x524d08=a20_0x21cd5a,_0x2b972e={};_0x2b972e['FDPFE']=function(_0x18c62b,_0x2401f0){return _0x18c62b===_0x2401f0;},_0x2b972e[_0x524d08(0x178)]=function(_0x46b59f,_0x354069){return _0x46b59f===_0x354069;};const _0x40a7c0=_0x2b972e;if(_0x40a7c0[_0x524d08(0x185)](_0x4d36bd,undefined)||_0x40a7c0['Pbiaf'](_0x4d36bd,null))return;_specUuidById[_0x524d08(0x17d)](_0x4d36bd,_0x5dcaf5);},exports[a20_0x21cd5a(0x17f)]=_0x113c59=>{const _0x2d86fa=a20_0x21cd5a,_0x365804={};_0x365804[_0x2d86fa(0x183)]=function(_0x14882a,_0x3c1bcc){return _0x14882a===_0x3c1bcc;};const _0x3fb1c3=_0x365804;if(_0x3fb1c3[_0x2d86fa(0x183)](_0x113c59,undefined)||_0x3fb1c3[_0x2d86fa(0x183)](_0x113c59,null))return undefined;return _specUuidById[_0x2d86fa(0x17f)](_0x113c59);},exports['remove']=_0x8707fa=>{const _0x29718a=a20_0x21cd5a,_0x221382={};_0x221382[_0x29718a(0x181)]=function(_0x1d825b,_0x3a8d45){return _0x1d825b===_0x3a8d45;};const _0x23126a=_0x221382;if(_0x23126a[_0x29718a(0x181)](_0x8707fa,undefined)||_0x23126a['iPQZO'](_0x8707fa,null))return;_specUuidById[_0x29718a(0x180)](_0x8707fa);},exports[a20_0x21cd5a(0x176)]=()=>_specUuidById[a20_0x21cd5a(0x17b)];
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a17_0xcf38(_0xb12dd8,_0x3b2db3){const _0x309903=a17_0x3099();return a17_0xcf38=function(_0xcf3803,_0x3a07eb){_0xcf3803=_0xcf3803-0x127;let _0x26e03b=_0x309903[_0xcf3803];return _0x26e03b;},a17_0xcf38(_0xb12dd8,_0x3b2db3);}const a17_0x331074=a17_0xcf38;(function(_0x4337fd,_0x5e6409){const _0xa9fa7=a17_0xcf38,_0x4db6a9=_0x4337fd();while(!![]){try{const _0x89cb84=-parseInt(_0xa9fa7(0x16e))/0x1*(parseInt(_0xa9fa7(0x1d1))/0x2)+-parseInt(_0xa9fa7(0x167))/0x3*(parseInt(_0xa9fa7(0x211))/0x4)+-parseInt(_0xa9fa7(0x140))/0x5+-parseInt(_0xa9fa7(0x1d4))/0x6*(parseInt(_0xa9fa7(0x1c9))/0x7)+parseInt(_0xa9fa7(0x1bf))/0x8+-parseInt(_0xa9fa7(0x201))/0x9+-parseInt(_0xa9fa7(0x161))/0xa*(-parseInt(_0xa9fa7(0x18e))/0xb);if(_0x89cb84===_0x5e6409)break;else _0x4db6a9['push'](_0x4db6a9['shift']());}catch(_0x2cbae){_0x4db6a9['push'](_0x4db6a9['shift']());}}}(a17_0x3099,0xc7bc1));const fs=require('fs'),path=require(a17_0x331074(0x12f)),util=require('util'),{spawn}=require(a17_0x331074(0x160)),logger=require(a17_0x331074(0x209))['winstonLogger'],{default:BrowserStackSetup}=require(a17_0x331074(0x1dd)),helper=require(a17_0x331074(0x1ce)),utilities=require('../../helpers/utilities'),constants=require(a17_0x331074(0x193)),accessibilityHelper=require(a17_0x331074(0x14c)),{updateTestRerunConfig}=require(a17_0x331074(0x1d7)),testOpsHelper=require(a17_0x331074(0x1ff)),{debug}=require(a17_0x331074(0x1ff)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a17_0x331074(0x1ad)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a17_0x331074(0x18b)),PerformanceTester=require(a17_0x331074(0x1de)),PerformanceEvents=require(a17_0x331074(0x1aa))[a17_0x331074(0x184)],TestOrchestrationHandler=require(a17_0x331074(0x12c)),BrowserstackCLI=require(a17_0x331074(0x200)),{checkPwandBootstrapCli}=require(a17_0x331074(0x12a)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require(a17_0x331074(0x1e8)),{checkAccessibilityPlatformConfig}=require(a17_0x331074(0x14c)),getUserJestConfigs=async(_0x538b2a,_0x4ac2e2)=>{const _0x1abcf3=a17_0x331074,_0x1c00b2={'hYADc':_0x1abcf3(0x188),'WHziz':_0x1abcf3(0x181),'IFPAc':function(_0x263023,_0x5a83d0){return _0x263023||_0x5a83d0;},'SLieA':function(_0x4f494c,_0x2f9a02){return _0x4f494c(_0x2f9a02);},'nQQTA':'package.json','yxxqj':_0x1abcf3(0x157),'dfDaX':'mjs','LDDEd':_0x1abcf3(0x20d),'KCXoe':_0x1abcf3(0x1cc)};let _0x1794ac;try{_0x1794ac=helper[_0x1abcf3(0x164)](_0x1c00b2[_0x1abcf3(0x1d9)],_0x1c00b2[_0x1abcf3(0x216)]);}catch{const _0x66529a=helper[_0x1abcf3(0x164)](_0x1c00b2[_0x1abcf3(0x216)]);_0x1794ac={'default':async _0x5dcd14=>{const _0x1747a1=_0x1abcf3,_0x40349e=await _0x66529a[_0x1747a1(0x202)](_0x5dcd14,{});return _0x40349e[_0x1747a1(0x18c)];}};}const _0x289921=_0x4ac2e2[_0x1abcf3(0x204)](_0x300a20=>_0x300a20===_0x1abcf3(0x1a5));if(!helper[_0x1abcf3(0x144)](_0x538b2a[_0x1abcf3(0x18c)])){logger[_0x1abcf3(0x203)](_0x1abcf3(0x20c)+_0x538b2a['config']),process[_0x1abcf3(0x19b)][_0x1abcf3(0x159)]=_0x538b2a[_0x1abcf3(0x18c)];const _0x102c86=await(0x0,_0x1794ac[_0x1abcf3(0x16d)])(path[_0x1abcf3(0x1fb)](_0x538b2a[_0x1abcf3(0x18c)]));return _0x4ac2e2[_0x1abcf3(0x1c0)](_0x289921,0x2),_0x1c00b2[_0x1abcf3(0x1fc)](_0x102c86,{});}const _0xb7c24c=_0x1c00b2['SLieA'](require,path[_0x1abcf3(0x13f)](process['cwd'](),_0x1c00b2['nQQTA']));if(_0xb7c24c[_0x1abcf3(0x127)])return logger[_0x1abcf3(0x203)](_0x1c00b2[_0x1abcf3(0x16f)]),_0xb7c24c[_0x1abcf3(0x127)];const _0x3a1e0f=['js',_0x1c00b2[_0x1abcf3(0x147)],_0x1c00b2['LDDEd'],_0x1c00b2[_0x1abcf3(0x158)],'ts'];for(const _0x4642f9 of _0x3a1e0f){const _0x3dfc7b=path[_0x1abcf3(0x13f)](process[_0x1abcf3(0x12b)](),_0x1abcf3(0x130)+_0x4642f9);if(fs[_0x1abcf3(0x1cf)](_0x3dfc7b)){process[_0x1abcf3(0x19b)]['USER_CONFIG_DETAILS_PATH']=_0x3dfc7b;const _0x468737=await(0x0,_0x1794ac[_0x1abcf3(0x16d)])(_0x3dfc7b);return _0x468737;}}return{};},getSerial=(_0x4794d6,_0xc345d7)=>{const _0x5974dd=a17_0x331074,_0xddb71e={};_0xddb71e[_0x5974dd(0x174)]=_0x5974dd(0x129),_0xddb71e[_0x5974dd(0x139)]=function(_0x56fb6a,_0xed84a2){return _0x56fb6a>_0xed84a2;},_0xddb71e[_0x5974dd(0x1a6)]=function(_0x4c4e8f,_0x5a1dae){return _0x4c4e8f>_0x5a1dae;},_0xddb71e[_0x5974dd(0x16a)]=_0x5974dd(0x20e);const _0x5ce858=_0xddb71e;let _0x3fc090=_0x5ce858[_0x5974dd(0x174)];return _0x5ce858[_0x5974dd(0x139)](_0x4794d6[_0x5974dd(0x14d)],0x1)&&(!_0xc345d7[_0x5974dd(0x212)]&&(helper[_0x5974dd(0x144)](_0xc345d7[_0x5974dd(0x177)])||_0x5ce858[_0x5974dd(0x1a6)](_0xc345d7[_0x5974dd(0x177)],0x1)))&&(_0x3fc090=_0x5ce858[_0x5974dd(0x16a)]),_0x3fc090;},getMaxWorkers=(_0x39414a,_0x32ab75,_0x175593)=>{const _0x597cd4=a17_0x331074,_0x2ad784={'hyyFt':function(_0x40dc68,_0x4cd8ca){return _0x40dc68(_0x4cd8ca);}};let _0x4640d2=0x1;if(!helper[_0x597cd4(0x144)](_0x32ab75[_0x597cd4(0x186)]))_0x4640d2=_0x2ad784['hyyFt'](parseInt,_0x32ab75[_0x597cd4(0x186)]);else{if(!helper['isUndefined'](_0x39414a['maxWorkers']))_0x4640d2=_0x39414a[_0x597cd4(0x177)];else!helper[_0x597cd4(0x144)](_0x175593[_0x597cd4(0x177)])&&(_0x4640d2=_0x175593[_0x597cd4(0x177)]);}return _0x4640d2;};async function run(_0x46b8e0,_0x122137,_0x438088){const _0x8f6b12=a17_0x331074,_0x1d774d={'YnJSq':_0x8f6b12(0x127),'PWDEI':function(_0x1f5411,_0x1df502){return _0x1f5411(_0x1df502);},'CjCqJ':'@playwright/test','IIRuA':function(_0x4ed750){return _0x4ed750();},'EOEnz':function(_0x22b784,_0x3c9761,_0xb50218,_0x4ecc27){return _0x22b784(_0x3c9761,_0xb50218,_0x4ecc27);},'XNNaq':function(_0xba8ee2,_0x252e7b,_0x335787,_0x2b54a8){return _0xba8ee2(_0x252e7b,_0x335787,_0x2b54a8);},'Ffmbc':function(_0x19369b,_0x5f3598){return _0x19369b!=_0x5f3598;},'zfkmY':'true','XVcRM':function(_0x559b43,_0x4626b6,_0x44a605){return _0x559b43(_0x4626b6,_0x44a605);},'sAbMp':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','TXwqD':function(_0x1f5036,_0x111815){return _0x1f5036(_0x111815);},'JZbQL':_0x8f6b12(0x20e),'ewEpH':function(_0x517e1c,_0x1b29e7,_0x23557e){return _0x517e1c(_0x1b29e7,_0x23557e);},'zorAW':function(_0x5048aa,_0xf47338,_0x3e3dbc,_0x11a9d0){return _0x5048aa(_0xf47338,_0x3e3dbc,_0x11a9d0);},'xtKwf':function(_0x320ef7,_0x5ca603){return _0x320ef7*_0x5ca603;},'JkYEa':function(_0x5c76b5,_0x55a490){return _0x5c76b5===_0x55a490;},'ZNmYX':'jest_browserstack.config.cjs','YTbEx':_0x8f6b12(0x15e),'nRpiz':'customImplements','bWQDb':_0x8f6b12(0x1a8),'XSZoQ':_0x8f6b12(0x1eb),'BpLOU':_0x8f6b12(0x145),'VNIXk':_0x8f6b12(0x13a),'UTaPo':function(_0x134a3c,_0x1035c0){return _0x134a3c!==_0x1035c0;},'aMKVe':'jest-runner','oarzM':_0x8f6b12(0x16c),'QTWOd':_0x8f6b12(0x1d3),'PQWkB':_0x8f6b12(0x15f),'Wdecg':_0x8f6b12(0x1c3),'hqGDA':'jest-circus','Napcc':_0x8f6b12(0x219),'soyTy':'test-observability','EzzND':_0x8f6b12(0x20a),'gsUxn':'customCircus.js','sSRuB':_0x8f6b12(0x1a9),'PBogO':_0x8f6b12(0x15a),'pEHnJ':'playwright','AmquF':_0x8f6b12(0x1b4),'XTdwO':_0x8f6b12(0x1f6),'VjHvM':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','AJxBV':function(_0x1afee0,_0x388780){return _0x1afee0&&_0x388780;},'pGffX':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','gkFUj':_0x8f6b12(0x1f4),'dkMLM':'puppeteer-core/package.json','EkyGu':_0x8f6b12(0x16d),'vMgDY':function(_0x2b4f09,_0x5dd9c9,_0x50f35f){return _0x2b4f09(_0x5dd9c9,_0x50f35f);},'WUFNj':_0x8f6b12(0x168),'lTyBt':_0x8f6b12(0x185),'nWLIr':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','Auopb':function(_0x5a096e,_0xb8ea37){return _0x5a096e>_0xb8ea37;},'reahY':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','skLZU':'--config','hoScN':function(_0x5ba649,_0xf8027,_0x2f0163,_0x48df90){return _0x5ba649(_0xf8027,_0x2f0163,_0x48df90);},'kxYdb':_0x8f6b12(0x17c),'rMhrg':function(_0x1d4cb3,_0x5ef560){return _0x1d4cb3===_0x5ef560;},'ChVUm':'win32','ZkdQY':_0x8f6b12(0x17f),'Phafg':_0x8f6b12(0x195)},_0xedd529=helper[_0x8f6b12(0x199)](_0x1d774d[_0x8f6b12(0x1f8)]);global[_0x8f6b12(0x14a)]=!!_0xedd529;const _0x38c61d=_0x1d774d['IIRuA'](getPuppeteerVersion);global[_0x8f6b12(0x1dc)]=!!_0x38c61d;helper[_0x8f6b12(0x1ca)]()&&(await _0x438088[_0x8f6b12(0x19c)](_0x46b8e0),await helper[_0x8f6b12(0x1e1)](_0x438088[_0x8f6b12(0x18c)]));if(_0xedd529)await _0x1d774d[_0x8f6b12(0x1af)](checkPwandBootstrapCli,_0xedd529,constants[_0x8f6b12(0x20b)][_0x8f6b12(0x171)],_0x438088);else _0x38c61d&&await _0x1d774d[_0x8f6b12(0x1e7)](checkPuppeteerAndBootstrapCli,_0x38c61d,constants[_0x8f6b12(0x20b)]['JEST'],_0x438088);!BrowserstackCLI[_0x8f6b12(0x198)]()[_0x8f6b12(0x1a0)]()&&await _0x438088[_0x8f6b12(0x142)]();if(!_0x438088[_0x8f6b12(0x18c)])return;_0x1d774d[_0x8f6b12(0x214)](_0x438088[_0x8f6b12(0x18c)][_0x8f6b12(0x1e0)],null)?process['env'][_0x8f6b12(0x169)]=_0x438088[_0x8f6b12(0x18c)][_0x8f6b12(0x1e0)]:process[_0x8f6b12(0x19b)][_0x8f6b12(0x169)]=_0x1d774d[_0x8f6b12(0x208)];const _0x1ee4ce=new TestOrchestrationHandler(_0x438088[_0x8f6b12(0x18c)]),_0x3bee2d=await _0x1d774d['XVcRM'](getUserJestConfigs,_0x46b8e0,_0x122137);logger['info'](_0x1d774d[_0x8f6b12(0x1f9)]);const _0x1ace16=Object[_0x8f6b12(0x215)]({},_0x3bee2d);_0x1ace16[_0x8f6b12(0x133)]=Object[_0x8f6b12(0x215)]({},_0x1ace16[_0x8f6b12(0x133)],{'server':helper[_0x8f6b12(0x1fe)](_0x438088['config']),'environment':_0x3bee2d[_0x8f6b12(0x1f2)]}),_0x1ace16[_0x8f6b12(0x133)]['browserStackPercyOptions']=_0x1d774d['TXwqD'](getPercyOptions,_0x438088[_0x8f6b12(0x18c)]);const _0x359069=helper[_0x8f6b12(0x1ab)](_0x438088[_0x8f6b12(0x18c)]);!helper[_0x8f6b12(0x144)](_0x438088[_0x8f6b12(0x18c)]['accessibilityOptions'])&&(process['env'][_0x8f6b12(0x172)]=JSON[_0x8f6b12(0x1fd)](_0x438088[_0x8f6b12(0x18c)]['accessibilityOptions']));if(!BrowserstackCLI[_0x8f6b12(0x198)]()['isRunning']()){const _0x3804a6=await TestHubHandler[_0x8f6b12(0x175)](FRAMEWORKS[_0x8f6b12(0x171)],_0x438088);}const _0x57c77c=helper[_0x8f6b12(0x150)](_0x438088[_0x8f6b12(0x18c)],_0x359069,constants[_0x8f6b12(0x20b)][_0x8f6b12(0x171)]);process[_0x8f6b12(0x19b)][_0x8f6b12(0x179)]=JSON[_0x8f6b12(0x1fd)](_0x57c77c);let _0x16a9e5=_0x438088['config'][_0x8f6b12(0x1f3)];_0x16a9e5=_0x16a9e5||accessibilityHelper[_0x8f6b12(0x176)](_0x438088[_0x8f6b12(0x18c)]),process[_0x8f6b12(0x19b)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x16a9e5,logger[_0x8f6b12(0x1b5)](_0x8f6b12(0x1c6)+_0x16a9e5+',\x20CLI\x20running:\x20'+BrowserstackCLI[_0x8f6b12(0x198)]()[_0x8f6b12(0x1a0)]());if(_0xedd529)try{const _0x3ce075=_0x1d774d[_0x8f6b12(0x154)](checkAccessibilityPlatformConfig,_0x438088[_0x8f6b12(0x18c)]);process['env'][_0x8f6b12(0x1b6)]=_0x3ce075?_0x1d774d[_0x8f6b12(0x208)]:_0x1d774d['JZbQL'],logger[_0x8f6b12(0x1b5)](_0x8f6b12(0x197)+_0x3ce075+_0x8f6b12(0x163)+process[_0x8f6b12(0x19b)][_0x8f6b12(0x1b6)]);}catch(_0x2a399a){logger['debug']('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util[_0x8f6b12(0x132)](_0x2a399a));}_0x1ace16[_0x8f6b12(0x133)]['capabilities']=_0x57c77c,_0x1ace16[_0x8f6b12(0x133)][_0x8f6b12(0x1db)]=_0x1d774d[_0x8f6b12(0x148)](getSerial,_0x57c77c,_0x46b8e0),_0x1ace16[_0x8f6b12(0x133)]['parallels__']=_0x1d774d[_0x8f6b12(0x1bb)](getMaxWorkers,_0x46b8e0,_0x438088['config'],_0x3bee2d),_0x1ace16[_0x8f6b12(0x133)][_0x8f6b12(0x1a7)]=_0x438088[_0x8f6b12(0x18c)][_0x8f6b12(0x1a7)],_0x1ace16[_0x8f6b12(0x133)][_0x8f6b12(0x1c5)]=_0x1d774d[_0x8f6b12(0x17e)](_0x46b8e0[_0x8f6b12(0x1a4)],0x1)||0x1388,_0x1ace16[_0x8f6b12(0x133)]['skipSessionName']=_0x438088[_0x8f6b12(0x18c)][_0x8f6b12(0x12e)][_0x8f6b12(0x1c8)],_0x1ace16['testEnvironmentOptions'][_0x8f6b12(0x187)]=_0x438088['config'][_0x8f6b12(0x12e)][_0x8f6b12(0x187)],_0x1ace16['testEnvironmentOptions'][_0x8f6b12(0x135)]=_0x438088[_0x8f6b12(0x18c)][_0x8f6b12(0x1d0)],_0x1ace16[_0x8f6b12(0x133)][_0x8f6b12(0x1bd)]=_0x438088[_0x8f6b12(0x18c)][_0x8f6b12(0x1bd)],_0x1ace16['testEnvironmentOptions'][_0x8f6b12(0x18a)]=_0x438088['config'][_0x8f6b12(0x19a)];const _0x4cdfea=helper[_0x8f6b12(0x20f)](_0x438088['config']);if(!helper['isEmpty'](_0x4cdfea)){helper['isNotUndefined'](_0x4cdfea[_0x8f6b12(0x1a2)])&&(_0x1ace16[_0x8f6b12(0x133)][_0x8f6b12(0x170)]=_0x4cdfea[_0x8f6b12(0x1a2)][_0x8f6b12(0x1ec)]);if(helper[_0x8f6b12(0x141)](_0x4cdfea[_0x8f6b12(0x12d)])&&helper['isNotUndefined'](_0x4cdfea['abortBuildOnFailure'][_0x8f6b12(0x1c4)])){const _0x2d2401={};_0x2d2401[_0x8f6b12(0x1b3)]=_0x4cdfea['abortBuildOnFailure']['maxFailures'],_0x2d2401[_0x8f6b12(0x1c4)]=_0x4cdfea[_0x8f6b12(0x12d)][_0x8f6b12(0x1c4)],_0x1ace16[_0x8f6b12(0x133)]['failFast']=_0x2d2401;}}let _0x4e4d1a='';_0x1d774d[_0x8f6b12(0x18f)](helper[_0x8f6b12(0x1ee)](),constants[_0x8f6b12(0x1da)][_0x8f6b12(0x1c7)])?_0x4e4d1a=_0x1d774d[_0x8f6b12(0x1ac)]:_0x4e4d1a=_0x1d774d['YTbEx'];const _0x3aec2d=_0x4e4d1a,_0x13bdcb=path[_0x8f6b12(0x13f)](__dirname,_0x1d774d[_0x8f6b12(0x16b)],_0x1d774d[_0x8f6b12(0x1a1)]),_0x1a4e2a=path[_0x8f6b12(0x13f)](__dirname,_0x1d774d[_0x8f6b12(0x16b)],_0x1d774d['XSZoQ']),_0x1622bb=path[_0x8f6b12(0x13f)](__dirname,_0x1d774d[_0x8f6b12(0x16b)],_0x1d774d[_0x8f6b12(0x17b)]);_0x1ace16['testEnvironment']&&(process[_0x8f6b12(0x19b)]['BSTACK_JEST_TEST_ENV']=_0x1ace16[_0x8f6b12(0x1f2)]);_0x1ace16[_0x8f6b12(0x1f2)]=path[_0x8f6b12(0x13f)](__dirname,_0x1d774d[_0x8f6b12(0x16b)],_0x1d774d['VNIXk']);const _0xec6fbe=_0x3bee2d['runner'];if(_0xec6fbe&&_0x1d774d['UTaPo'](_0xec6fbe,_0x1d774d[_0x8f6b12(0x178)])){const _0x15f75f=_0xec6fbe['startsWith'](_0x1d774d[_0x8f6b12(0x13c)])?_0xec6fbe:_0x8f6b12(0x16c)+_0xec6fbe;process['env'][_0x8f6b12(0x1e3)]=_0x15f75f,logger[_0x8f6b12(0x203)](_0x8f6b12(0x189)+_0x15f75f);}_0x1ace16[_0x8f6b12(0x1f1)]=_0x1a4e2a,_0x1ace16[_0x8f6b12(0x156)]=_0x1ace16[_0x8f6b12(0x156)]||[],_0x1ace16[_0x8f6b12(0x156)]['push'](path[_0x8f6b12(0x13f)](__dirname,_0x1d774d[_0x8f6b12(0x1e6)]));_0x1ee4ce[_0x8f6b12(0x1ae)]()&&(_0x1ace16[_0x8f6b12(0x1f5)]=path['join'](__dirname,_0x1d774d[_0x8f6b12(0x16b)],_0x1d774d[_0x8f6b12(0x1e4)]));if(testhubUtils[_0x8f6b12(0x138)]()||BrowserstackCLI[_0x8f6b12(0x198)]()[_0x8f6b12(0x206)]()){let _0x43c4e0=null;try{_0x43c4e0=helper[_0x8f6b12(0x164)](_0x1d774d[_0x8f6b12(0x1ea)],_0x1d774d[_0x8f6b12(0x15d)]);}catch(_0x2087ab){try{_0x43c4e0=helper[_0x8f6b12(0x164)](_0x1d774d[_0x8f6b12(0x134)],_0x1d774d[_0x8f6b12(0x15d)]);}catch(_0x1979e3){_0x1d774d[_0x8f6b12(0x155)](debug,_0x8f6b12(0x1b0)+_0x1979e3);}}_0x43c4e0&&(testhubUtils[_0x8f6b12(0x138)]()&&_0x1ace16['setupFilesAfterEnv'][_0x8f6b12(0x14b)](path[_0x8f6b12(0x13f)](__dirname,_0x1d774d[_0x8f6b12(0x128)],_0x1d774d['EzzND'])),_0x1ace16[_0x8f6b12(0x207)]=path[_0x8f6b12(0x13f)](__dirname,_0x1d774d[_0x8f6b12(0x16b)],_0x1d774d[_0x8f6b12(0x15b)]));}_0x1ace16['setupFiles']=_0x1ace16[_0x8f6b12(0x190)]||[];try{helper[_0x8f6b12(0x1df)](),_0x1ace16['setupFiles'][_0x8f6b12(0x14b)](path[_0x8f6b12(0x13f)](__dirname,_0x1d774d[_0x8f6b12(0x1bc)]));}catch{logger[_0x8f6b12(0x1b5)](_0x1d774d[_0x8f6b12(0x17a)]);}try{helper[_0x8f6b12(0x1f7)][_0x8f6b12(0x173)](null,[_0x1d774d[_0x8f6b12(0x1f8)],_0x1d774d[_0x8f6b12(0x13d)]]),logger[_0x8f6b12(0x1b5)](_0x1d774d['AmquF']),_0x1ace16[_0x8f6b12(0x190)]['push'](path[_0x8f6b12(0x13f)](__dirname,_0x1d774d['XTdwO']));}catch(_0x4c3241){logger['debug'](_0x1d774d[_0x8f6b12(0x1ba)],_0x4c3241);}if(_0x1d774d[_0x8f6b12(0x131)](!_0xedd529,_0x38c61d)){try{logger[_0x8f6b12(0x1b5)](_0x1d774d[_0x8f6b12(0x1c1)]),_0x1ace16[_0x8f6b12(0x156)][_0x8f6b12(0x14b)](path['join'](__dirname,'..',_0x1d774d[_0x8f6b12(0x13b)],_0x1d774d[_0x8f6b12(0x14e)]));}catch(_0x16aadd){logger[_0x8f6b12(0x1b5)](_0x8f6b12(0x1b7)+_0x16aadd[_0x8f6b12(0x205)]);}try{const _0x71ba33=require['resolve'](_0x1d774d[_0x8f6b12(0x1d8)]),_0x2a5dbb=path[_0x8f6b12(0x165)](_0x71ba33)['replace'](/\\/g,'/'),_0x5ee238={};_0x5ee238['^puppeteer-core/internal/(.*)']=_0x2a5dbb+_0x8f6b12(0x18d),_0x1ace16['moduleNameMapper']=Object[_0x8f6b12(0x215)]({},_0x1ace16[_0x8f6b12(0x162)]||{},_0x5ee238),logger[_0x8f6b12(0x1b5)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x2a5dbb);}catch(_0x394fef){logger[_0x8f6b12(0x1b5)](_0x8f6b12(0x1cb)+_0x394fef['message']);}}_0x1ace16[_0x8f6b12(0x213)]=_0x1ace16['reporters']||[_0x1d774d['EkyGu']],_0x1d774d[_0x8f6b12(0x15c)](updateTestRerunConfig,_0x1ace16,_0x438088);const _0x2c0798=fs[_0x8f6b12(0x1e9)](_0x1622bb),_0x23607b=helper['resolveModule'](_0x1d774d[_0x8f6b12(0x151)],_0x1d774d[_0x8f6b12(0x143)]);!_0x23607b[_0x8f6b12(0x191)]?fs['writeFileSync'](_0x1ace16[_0x8f6b12(0x1f1)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x2c0798+_0x8f6b12(0x1fa)+_0x438088[_0x8f6b12(0x18c)][_0x8f6b12(0x19a)][_0x8f6b12(0x14d)]+';\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[_0x8f6b12(0x17d)](_0x1ace16[_0x8f6b12(0x1f1)],_0x8f6b12(0x21a)+_0x2c0798+'\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'+_0x438088['config'][_0x8f6b12(0x19a)]['length']+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger['info'](_0x8f6b12(0x1d6)+_0x3aec2d+_0x8f6b12(0x182)),fs[_0x8f6b12(0x17d)](_0x3aec2d,_0x8f6b12(0x136)+JSON[_0x8f6b12(0x1fd)](_0x1ace16)+_0x8f6b12(0x166));if(_0x1ee4ce[_0x8f6b12(0x1ae)]()){logger[_0x8f6b12(0x1b5)](_0x1d774d['nWLIr']);const _0x12955b=await _0x1ee4ce['findTestFiles'](_0x1ace16,_0x122137[_0x8f6b12(0x1d2)](0x1),_0x3aec2d);logger[_0x8f6b12(0x1b5)](_0x8f6b12(0x19f)+JSON[_0x8f6b12(0x1fd)](_0x12955b)+_0x8f6b12(0x152));const _0x911018=await _0x1ee4ce[_0x8f6b12(0x1e2)](_0x12955b);logger[_0x8f6b12(0x1b5)](_0x8f6b12(0x149)+JSON[_0x8f6b12(0x1fd)](_0x911018)),_0x911018&&_0x1d774d[_0x8f6b12(0x1b8)](_0x911018[_0x8f6b12(0x14d)],0x0)&&(process[_0x8f6b12(0x19b)]['JEST_TEST_ORDER']=_0x911018?.[_0x8f6b12(0x13f)](','));}logger[_0x8f6b12(0x203)](_0x1d774d[_0x8f6b12(0x192)]);testhubUtils[_0x8f6b12(0x138)]()&&TestDetails['setup']();helper[_0x8f6b12(0x196)]({},_0x122137),PerformanceTester[_0x8f6b12(0x1be)](PerformanceEvents[_0x8f6b12(0x183)]);const _0xb656a9=[_0x1d774d[_0x8f6b12(0x137)],_0x1d774d['skLZU'],_0x3aec2d,..._0x122137[_0x8f6b12(0x1d2)](0x1)];process[_0x8f6b12(0x19b)][_0x8f6b12(0x146)]=process['env'][_0x8f6b12(0x146)]||_0x1d774d[_0x8f6b12(0x137)];const _0x1293df=_0x1d774d['hoScN'](spawn,_0x1d774d[_0x8f6b12(0x1b2)],_0xb656a9,{'shell':_0x1d774d['rMhrg'](process['platform'],_0x1d774d[_0x8f6b12(0x153)]),'stdio':_0x1d774d[_0x8f6b12(0x210)],'env':Object[_0x8f6b12(0x215)]({},process['env'])});_0x1293df['on'](_0x1d774d[_0x8f6b12(0x1c2)],async _0x46fae2=>{const _0x166ac4=_0x8f6b12;PerformanceTester[_0x166ac4(0x1b1)](PerformanceEvents[_0x166ac4(0x1f0)]),process[_0x166ac4(0x180)]=_0x46fae2,logger[_0x166ac4(0x1b5)]('child\x20process\x20exited\x20with\x20code\x20'+_0x46fae2),logger[_0x166ac4(0x203)]('Deleting\x20'+_0x3aec2d);if(helper['isNotUndefined'](_0x4cdfea)&&helper[_0x166ac4(0x141)](_0x4cdfea[_0x166ac4(0x12d)])&&fs[_0x166ac4(0x1cf)](_0x4cdfea[_0x166ac4(0x12d)][_0x166ac4(0x1c4)]))try{const _0x4d7be4={};_0x4d7be4[_0x166ac4(0x1cd)]=!![],_0x4d7be4[_0x166ac4(0x1ed)]=!![],fs['rmSync'](_0x4cdfea[_0x166ac4(0x12d)][_0x166ac4(0x1c4)],_0x4d7be4),logger[_0x166ac4(0x1b5)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x4cdfea[_0x166ac4(0x12d)][_0x166ac4(0x1c4)]);}catch(_0x95aff1){logger[_0x166ac4(0x191)](_0x166ac4(0x1ef)+_0x95aff1);}let _0x1c79cc=null;if(fs[_0x166ac4(0x1cf)](_0x13bdcb)){_0x1c79cc=fs[_0x166ac4(0x1e9)](_0x13bdcb);try{_0x1c79cc=JSON[_0x166ac4(0x19e)](_0x1c79cc);}catch(_0x424d64){logger[_0x166ac4(0x1b5)](_0x166ac4(0x1a3)+_0x13bdcb+',\x20'+_0x1c79cc+'\x20:\x20'+_0x424d64);}fs['unlinkSync'](_0x13bdcb);}fs[_0x166ac4(0x217)](_0x3aec2d),fs[_0x166ac4(0x217)](_0x1a4e2a),_0x1c79cc&&(_0x438088[_0x166ac4(0x1e5)]=helper['getErrorMessageFromResults'](_0x1c79cc,_0x1d774d[_0x166ac4(0x137)],_0x438088));const _0x2eaeb3=BrowserstackCLI[_0x166ac4(0x1b9)]();try{await TestHubHandler[_0x166ac4(0x218)](),await BrowserstackCLI[_0x166ac4(0x198)]()[_0x166ac4(0x218)]();}catch(_0x3b82d1){console[_0x166ac4(0x14f)](_0x3b82d1),_0x1d774d['PWDEI'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util['format'](_0x3b82d1));}testOpsHelper[_0x166ac4(0x13e)](),TestDetails[_0x166ac4(0x1d5)](),await utilities[_0x166ac4(0x194)](_0x438088,_0x2eaeb3);});}module[a17_0x331074(0x19d)]=run;function a17_0x3099(){const _0x26607c=['close','filterBrowserstackArgs','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','getInstance','getPackageVersion','platforms','env','initialize','exports','parse','Found:\x20','isRunning','bWQDb','retryTestsOnFailure','Error\x20while\x20parsing\x20','testTimeout','--config','rDSRN','proxySettings','jest_browserstack_results.json','test_before.setup.js','../../helpers/performance/constants','useW3C','ZNmYX','../../helpers/testhub/testhubHandler','isTestOrchestrationEnabled','EOEnz','Unable\x20to\x20find\x20jest-circus,\x20','start','kxYdb','failureThresholdCount','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','debug','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Puppeteer\x20setup\x20error:\x20','Auopb','isCLIEnabled','VjHvM','zorAW','sSRuB','turboScaleUrl','end','7239488STKfdC','splice','pGffX','Phafg','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','workingDir','timeout__','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','MODULE','skipSessionName','49bymhjx','isBrowserstackInfra','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','json','recursive','../../helpers/helper','existsSync','logLevel','204306ZGLTgg','slice','jest.setup.js','574818uZBMLH','shutdown','Creating\x20','./test-observability/helper','dkMLM','hYADc','PACKAGE_TYPE','serial__','__isPuppeteerInstalled','../../helpers/BrowserStackSetup','../../helpers/performance/performance-tester','requireSeleniumWebdriver','testObservability','handleApp','reorderTestFiles','BSTACK_USER_JEST_RUNNER','PQWkB','errorMessage','QTWOd','XNNaq','../utils/clientTroubleshootingService','readFileSync','Wdecg','customTestRunner.js','maxRetries','force','getPackageType','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','SDK_CLEANUP','runner','testEnvironment','accessibility','puppeteer','testSequencer','test.setup.js','requirePWModule','CjCqJ','sAbMp','\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','resolve','IFPAc','stringify','getHubUrl','../../helpers/test-observability/utils','../v2/browserstackCLI','11883942YvbZsy','readInitialOptions','info','findIndex','message','isCliEnabled','testRunner','zfkmY','../../helpers/logger','data-hooks.js','FRAMEWORKS','Getting\x20your\x20jest\x20configs\x20from\x20','cjs','false','parseTestOrchestrationOptions','ZkdQY','4XcNWsf','runInBand','reporters','Ffmbc','assign','WHziz','unlinkSync','stop','jest-circus/build/runner.js','\x0a\x20\x20\x20\x20\x20\x20','jest','soyTy','true','../../helpers/playwright-helper','cwd','../../helpers/test-orchestration/testOrchestrationHandler','abortBuildOnFailure','testContextOptions','path','jest.config.','AJxBV','format','testEnvironmentOptions','Napcc','browserStackLogLevel','const\x20config=','YnJSq','shouldProcessEventForTesthub','hMgJy','customEnvironment.js','gkFUj','oarzM','pEHnJ','printBuildLink','join','3347940fpFnom','isNotUndefined','setupBrowserstackLocal','lTyBt','isUndefined','customTestRunnerTemplate.js','BROWSERSTACK_FRAMEWORK','dfDaX','ewEpH','Reodered\x20Test\x20Files:\x20','__isPlaywrightInstalled','push','../../helpers/accessibility-automation/helper','length','XTdwO','log','prepareCapabilities','WUFNj','\x20test\x20files\x20to\x20run.','ChVUm','PWDEI','TXwqD','setupFilesAfterEnv','Getting\x20your\x20jest\x20configs\x20from\x20package.json','KCXoe','USER_CONFIG_DETAILS_PATH','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','gsUxn','vMgDY','hqGDA','jest_browserstack.config.js','customSequencer.js','child_process','10qsTbhw','moduleNameMapper',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','requireModule','dirname','\x0amodule.exports\x20=\x20config;','1339161wOJwdd','@jest/core/build/ReporterDispatcher.js','BROWSERSTACK_TEST_OBSERVABILITY_YML','Xrzoe','nRpiz','jest-runner-','default','15ooHAhM','yxxqj','retries__','JEST','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','apply','ziVsn','launchBuild','checkAccessibilityPlatformConfig','maxWorkers','aMKVe','BROWSERSTACK_CAPABILITIES','PBogO','BpLOU','npx','writeFileSync','xtKwf','inherit','exitCode','jest-config','\x20with\x20browserstack\x20jest\x20configs','SDK_SETUP','EVENTS','@jest/core','parallelsPerPlatform','skipSessionStatus','jest-config/build/readConfigFileAndSetRootDir.js','Preserving\x20user\x27s\x20Jest\x20runner:\x20','platformCaps','../../helpers/test-observability/constants','config','/internal/$1','50077566iTUnYa','JkYEa','setupFiles','error','reahY','../utils/constants','finalExecution'];a17_0x3099=function(){return _0x26607c;};return a17_0x3099();}
2
+ 'use strict';const a21_0x2b64b6=a21_0x1525;(function(_0x2b42e4,_0x4d3e6){const _0x53f913=a21_0x1525,_0x3beaa8=_0x2b42e4();while(!![]){try{const _0x17e943=-parseInt(_0x53f913(0x2d2))/0x1+-parseInt(_0x53f913(0x246))/0x2*(-parseInt(_0x53f913(0x2cf))/0x3)+-parseInt(_0x53f913(0x1f2))/0x4+-parseInt(_0x53f913(0x233))/0x5+parseInt(_0x53f913(0x279))/0x6+-parseInt(_0x53f913(0x2b9))/0x7+parseInt(_0x53f913(0x24b))/0x8*(parseInt(_0x53f913(0x28b))/0x9);if(_0x17e943===_0x4d3e6)break;else _0x3beaa8['push'](_0x3beaa8['shift']());}catch(_0x16e110){_0x3beaa8['push'](_0x3beaa8['shift']());}}}(a21_0x1afc,0x5336f));const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a21_0x2b64b6(0x23c)),logger=require(a21_0x2b64b6(0x255))['winstonLogger'],{default:BrowserStackSetup}=require(a21_0x2b64b6(0x1e7)),helper=require(a21_0x2b64b6(0x1e8)),utilities=require(a21_0x2b64b6(0x2de)),constants=require(a21_0x2b64b6(0x2c3)),accessibilityHelper=require(a21_0x2b64b6(0x258)),{updateTestRerunConfig}=require(a21_0x2b64b6(0x23b)),testOpsHelper=require(a21_0x2b64b6(0x21c)),{debug}=require(a21_0x2b64b6(0x21c)),TestDetails=require(a21_0x2b64b6(0x207)),{getPercyOptions}=require(a21_0x2b64b6(0x247)),TestHubHandler=require(a21_0x2b64b6(0x25f)),testhubUtils=require(a21_0x2b64b6(0x22e)),{FRAMEWORKS}=require(a21_0x2b64b6(0x2b1)),PerformanceTester=require(a21_0x2b64b6(0x27e)),PerformanceEvents=require(a21_0x2b64b6(0x25c))['EVENTS'],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a21_0x2b64b6(0x27a)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x2b64b6(0x2be)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x4d596c,_0x5627e2)=>{const _0x32488f=a21_0x2b64b6,_0x1ee38e={'WShoO':'jest-config/build/readConfigFileAndSetRootDir.js','JDabg':_0x32488f(0x213),'FbfNK':function(_0x295cd3,_0x4edf51){return _0x295cd3||_0x4edf51;},'Qrkwn':function(_0x55744c,_0x171264){return _0x55744c(_0x171264);},'CWjbp':_0x32488f(0x23e),'qlCDn':_0x32488f(0x2b2),'RTAqD':_0x32488f(0x231),'ibryl':_0x32488f(0x2dc),'ZMaGD':'json'};let _0x2f9f47;try{_0x2f9f47=helper[_0x32488f(0x26a)](_0x1ee38e[_0x32488f(0x28a)],_0x1ee38e[_0x32488f(0x1ec)]);}catch{const _0x4cc257=helper[_0x32488f(0x26a)](_0x1ee38e[_0x32488f(0x1ec)]);_0x2f9f47={'default':async _0x3a5547=>{const _0x3796cb=_0x32488f,_0x4b32bf=await _0x4cc257[_0x3796cb(0x215)](_0x3a5547,{});return _0x4b32bf[_0x3796cb(0x1f1)];}};}const _0x25c109=_0x5627e2[_0x32488f(0x2b3)](_0x8c169f=>_0x8c169f==='--config');if(!helper[_0x32488f(0x209)](_0x4d596c[_0x32488f(0x1f1)])){logger['info']('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x4d596c['config']),process[_0x32488f(0x244)][_0x32488f(0x264)]=_0x4d596c[_0x32488f(0x1f1)];const _0x3d5d68=await(0x0,_0x2f9f47['default'])(path[_0x32488f(0x236)](_0x4d596c[_0x32488f(0x1f1)]));return _0x5627e2['splice'](_0x25c109,0x2),_0x1ee38e['FbfNK'](_0x3d5d68,{});}const _0x1f36f1=_0x1ee38e[_0x32488f(0x238)](require,path[_0x32488f(0x21f)](process[_0x32488f(0x2b5)](),_0x1ee38e[_0x32488f(0x285)]));if(_0x1f36f1[_0x32488f(0x1e6)])return logger['info'](_0x1ee38e[_0x32488f(0x298)]),_0x1f36f1['jest'];const _0x1eed2a=['js',_0x1ee38e['RTAqD'],_0x1ee38e[_0x32488f(0x259)],_0x1ee38e[_0x32488f(0x1ee)],'ts'];for(const _0x1de2a3 of _0x1eed2a){const _0x9972b7=path[_0x32488f(0x21f)](process['cwd'](),_0x32488f(0x278)+_0x1de2a3);if(fs[_0x32488f(0x239)](_0x9972b7)){process['env']['USER_CONFIG_DETAILS_PATH']=_0x9972b7;const _0x2ed676=await(0x0,_0x2f9f47[_0x32488f(0x220)])(_0x9972b7);return _0x2ed676;}}return{};},getSerial=(_0x2e6638,_0xc8837c)=>{const _0x40468b=a21_0x2b64b6,_0xd9dadf={};_0xd9dadf[_0x40468b(0x295)]=_0x40468b(0x257),_0xd9dadf[_0x40468b(0x2a1)]=function(_0x4295cf,_0x322b62){return _0x4295cf>_0x322b62;},_0xd9dadf[_0x40468b(0x240)]=_0x40468b(0x20a);const _0x335fc9=_0xd9dadf;let _0x1d1be3=_0x335fc9[_0x40468b(0x295)];return _0x335fc9['BlToy'](_0x2e6638[_0x40468b(0x280)],0x1)&&(!_0xc8837c[_0x40468b(0x2d6)]&&(helper[_0x40468b(0x209)](_0xc8837c[_0x40468b(0x249)])||_0x335fc9[_0x40468b(0x2a1)](_0xc8837c[_0x40468b(0x249)],0x1)))&&(_0x1d1be3=_0x335fc9[_0x40468b(0x240)]),_0x1d1be3;},getMaxWorkers=(_0x4c4a2e,_0x3e253c,_0x449180)=>{const _0x5a0b99=a21_0x2b64b6,_0x3cc232={'QRIcm':function(_0x78df0d,_0x59f2a5){return _0x78df0d(_0x59f2a5);}};let _0x155b56=0x1;if(!helper[_0x5a0b99(0x209)](_0x3e253c[_0x5a0b99(0x1f0)]))_0x155b56=_0x3cc232[_0x5a0b99(0x1ff)](parseInt,_0x3e253c['parallelsPerPlatform']);else{if(!helper['isUndefined'](_0x4c4a2e[_0x5a0b99(0x249)]))_0x155b56=_0x4c4a2e[_0x5a0b99(0x249)];else!helper[_0x5a0b99(0x209)](_0x449180[_0x5a0b99(0x249)])&&(_0x155b56=_0x449180[_0x5a0b99(0x249)]);}return _0x155b56;};async function run(_0x3c6128,_0x297317,_0x4d3743){const _0x1712f5=a21_0x2b64b6,_0xd498c4={'FLoKJ':_0x1712f5(0x1e6),'WBoHS':function(_0x2c40d6,_0x3348f9){return _0x2c40d6(_0x3348f9);},'GrIlO':_0x1712f5(0x272),'ZFoLL':function(_0x34daab){return _0x34daab();},'GpJba':function(_0xadcb0b,_0x40ef0,_0x1d5885,_0x7cdb1d){return _0xadcb0b(_0x40ef0,_0x1d5885,_0x7cdb1d);},'NkEln':function(_0x5a4936,_0x5cf5ce){return _0x5a4936!=_0x5cf5ce;},'XMYMz':_0x1712f5(0x257),'mZgqo':function(_0x48546c,_0x26715c,_0x7d9bcf){return _0x48546c(_0x26715c,_0x7d9bcf);},'GZoVD':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','SlSCq':function(_0x3cbdd9,_0x3ec525){return _0x3cbdd9(_0x3ec525);},'sYdDa':_0x1712f5(0x20a),'xLKmT':function(_0x4f01e6,_0x4797ef){return _0x4f01e6*_0x4797ef;},'zOBsD':function(_0x53d279,_0x5e6bba){return _0x53d279===_0x5e6bba;},'CRpdw':_0x1712f5(0x253),'lPXnb':_0x1712f5(0x265),'YWJBF':'customImplements','katew':_0x1712f5(0x227),'nVtKe':'customTestRunner.js','XPrZc':_0x1712f5(0x263),'GdQsb':'customEnvironment.js','ADslT':function(_0x36925d,_0x49aba3){return _0x36925d!==_0x49aba3;},'whjDv':_0x1712f5(0x27b),'Ohhxn':'jest-runner-','lluHz':_0x1712f5(0x212),'TOBYn':_0x1712f5(0x299),'CplsE':_0x1712f5(0x2a7),'PVwel':_0x1712f5(0x237),'BhjQF':_0x1712f5(0x294),'KGfdy':function(_0x5497ec,_0x370523){return _0x5497ec(_0x370523);},'ylbLh':_0x1712f5(0x224),'lpuox':_0x1712f5(0x1e4),'qlEON':_0x1712f5(0x2ad),'FVlYu':_0x1712f5(0x217),'shvWf':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','fgfln':'playwright','uWGMs':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','VZJtx':_0x1712f5(0x23f),'yogDi':_0x1712f5(0x2ba),'pdPmd':function(_0xe9aaf1,_0x202ea7){return _0xe9aaf1&&_0x202ea7;},'xZWVG':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','GfRTh':'puppeteer','zLgRb':_0x1712f5(0x290),'gioZj':_0x1712f5(0x220),'imJST':function(_0x3a9fd5,_0x43cfb7,_0x5a5068){return _0x3a9fd5(_0x43cfb7,_0x5a5068);},'SToJI':_0x1712f5(0x284),'sVGrv':_0x1712f5(0x219),'oIDOL':_0x1712f5(0x26f),'YeMjX':function(_0x374510,_0x12ed66){return _0x374510>_0x12ed66;},'myzOy':_0x1712f5(0x276),'mWhNO':_0x1712f5(0x293),'oFaQa':function(_0x59c40e,_0x21c7e6,_0x18a346,_0x39d2eb){return _0x59c40e(_0x21c7e6,_0x18a346,_0x39d2eb);},'NyPVt':_0x1712f5(0x282),'ipaJW':_0x1712f5(0x20e),'gVepg':_0x1712f5(0x2cb),'SCEWN':'close'},_0x58e5c7=helper[_0x1712f5(0x271)](_0xd498c4[_0x1712f5(0x1e5)]);global[_0x1712f5(0x2b8)]=!!_0x58e5c7;const _0x4049ff=_0xd498c4['ZFoLL'](getPuppeteerVersion);global[_0x1712f5(0x203)]=!!_0x4049ff;helper[_0x1712f5(0x1e9)]()&&(await _0x4d3743[_0x1712f5(0x28c)](_0x3c6128),await helper['handleApp'](_0x4d3743['config']));if(_0x58e5c7)await _0xd498c4['GpJba'](checkPwandBootstrapCli,_0x58e5c7,constants[_0x1712f5(0x21b)]['JEST'],_0x4d3743);else _0x4049ff&&await _0xd498c4['GpJba'](checkPuppeteerAndBootstrapCli,_0x4049ff,constants['FRAMEWORKS'][_0x1712f5(0x200)],_0x4d3743);!BrowserstackCLI[_0x1712f5(0x24d)]()[_0x1712f5(0x1ed)]()&&await _0x4d3743[_0x1712f5(0x2a5)]();if(!_0x4d3743[_0x1712f5(0x1f1)])return;_0xd498c4['NkEln'](_0x4d3743['config'][_0x1712f5(0x1fa)],null)?process[_0x1712f5(0x244)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4d3743['config'][_0x1712f5(0x1fa)]:process['env'][_0x1712f5(0x225)]=_0xd498c4['XMYMz'];const _0xbba20b=new TestOrchestrationHandler(_0x4d3743['config']),_0x3ed176=await _0xd498c4[_0x1712f5(0x216)](getUserJestConfigs,_0x3c6128,_0x297317);logger[_0x1712f5(0x260)](_0xd498c4[_0x1712f5(0x20d)]);const _0x335e13=Object[_0x1712f5(0x2a9)]({},_0x3ed176);_0x335e13[_0x1712f5(0x21d)]=Object[_0x1712f5(0x2a9)]({},_0x335e13[_0x1712f5(0x21d)],{'server':helper[_0x1712f5(0x2c1)](_0x4d3743[_0x1712f5(0x1f1)]),'environment':_0x3ed176[_0x1712f5(0x283)]}),_0x335e13[_0x1712f5(0x21d)]['browserStackPercyOptions']=_0xd498c4[_0x1712f5(0x234)](getPercyOptions,_0x4d3743[_0x1712f5(0x1f1)]);const _0x571493=helper[_0x1712f5(0x206)](_0x4d3743['config']);!helper[_0x1712f5(0x209)](_0x4d3743['config']['accessibilityOptions'])&&(process[_0x1712f5(0x244)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1712f5(0x251)](_0x4d3743['config']['accessibilityOptions']));if(!BrowserstackCLI[_0x1712f5(0x24d)]()[_0x1712f5(0x1ed)]()){const _0xce7848=await TestHubHandler[_0x1712f5(0x1e1)](FRAMEWORKS[_0x1712f5(0x200)],_0x4d3743);}const _0x5e3ed4=helper[_0x1712f5(0x229)](_0x4d3743[_0x1712f5(0x1f1)],_0x571493,constants[_0x1712f5(0x21b)][_0x1712f5(0x200)]);process[_0x1712f5(0x244)][_0x1712f5(0x24f)]=JSON[_0x1712f5(0x251)](_0x5e3ed4);let _0x244475=_0x4d3743[_0x1712f5(0x1f1)][_0x1712f5(0x2ca)];_0x244475=_0x244475||accessibilityHelper[_0x1712f5(0x202)](_0x4d3743[_0x1712f5(0x1f1)]),process[_0x1712f5(0x244)][_0x1712f5(0x22b)]=_0x244475,logger[_0x1712f5(0x2ab)](_0x1712f5(0x262)+_0x244475+_0x1712f5(0x210)+BrowserstackCLI[_0x1712f5(0x24d)]()[_0x1712f5(0x1ed)]());if(_0x58e5c7)try{const _0x4a17c1=_0xd498c4[_0x1712f5(0x221)](checkAccessibilityPlatformConfig,_0x4d3743[_0x1712f5(0x1f1)]);process[_0x1712f5(0x244)][_0x1712f5(0x2d8)]=_0x4a17c1?_0xd498c4['XMYMz']:_0xd498c4['sYdDa'],logger[_0x1712f5(0x2ab)]('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x4a17c1+_0x1712f5(0x288)+process[_0x1712f5(0x244)][_0x1712f5(0x2d8)]);}catch(_0x573722){logger['debug'](_0x1712f5(0x2d1)+util[_0x1712f5(0x235)](_0x573722));}_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x2d4)]=_0x5e3ed4,_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x277)]=_0xd498c4['mZgqo'](getSerial,_0x5e3ed4,_0x3c6128),_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x2c6)]=_0xd498c4[_0x1712f5(0x29f)](getMaxWorkers,_0x3c6128,_0x4d3743[_0x1712f5(0x1f1)],_0x3ed176),_0x335e13[_0x1712f5(0x21d)]['proxySettings']=_0x4d3743[_0x1712f5(0x1f1)][_0x1712f5(0x266)],_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x289)]=_0xd498c4['xLKmT'](_0x3c6128[_0x1712f5(0x2af)],0x1)||0x1388,_0x335e13['testEnvironmentOptions'][_0x1712f5(0x275)]=_0x4d3743['config'][_0x1712f5(0x21e)][_0x1712f5(0x275)],_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x23d)]=_0x4d3743['config'][_0x1712f5(0x21e)][_0x1712f5(0x23d)],_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x2c5)]=_0x4d3743[_0x1712f5(0x1f1)][_0x1712f5(0x25a)],_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x29c)]=_0x4d3743['config'][_0x1712f5(0x29c)],_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x230)]=_0x4d3743[_0x1712f5(0x1f1)][_0x1712f5(0x250)];const _0x12b5aa=helper[_0x1712f5(0x223)](_0x4d3743[_0x1712f5(0x1f1)]);if(!helper[_0x1712f5(0x269)](_0x12b5aa)){helper[_0x1712f5(0x273)](_0x12b5aa[_0x1712f5(0x1e3)])&&(_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x2a4)]=_0x12b5aa[_0x1712f5(0x1e3)][_0x1712f5(0x2c4)]);if(helper[_0x1712f5(0x273)](_0x12b5aa[_0x1712f5(0x252)])&&helper[_0x1712f5(0x273)](_0x12b5aa['abortBuildOnFailure'][_0x1712f5(0x211)])){const _0x159252={};_0x159252[_0x1712f5(0x2a6)]=_0x12b5aa['abortBuildOnFailure'][_0x1712f5(0x2a0)],_0x159252[_0x1712f5(0x211)]=_0x12b5aa[_0x1712f5(0x252)]['workingDir'],_0x335e13[_0x1712f5(0x21d)][_0x1712f5(0x21a)]=_0x159252;}}let _0x21174a='';_0xd498c4[_0x1712f5(0x22d)](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x1712f5(0x242)])?_0x21174a=_0xd498c4[_0x1712f5(0x20b)]:_0x21174a=_0xd498c4[_0x1712f5(0x26d)];const _0x3ccf75=_0x21174a,_0x1a1ccf=path[_0x1712f5(0x21f)](__dirname,_0xd498c4[_0x1712f5(0x274)],_0xd498c4['katew']),_0x37dd7e=path['join'](__dirname,_0xd498c4['YWJBF'],_0xd498c4[_0x1712f5(0x24e)]),_0x339543=path[_0x1712f5(0x21f)](__dirname,_0xd498c4[_0x1712f5(0x274)],_0xd498c4['XPrZc']);_0x335e13[_0x1712f5(0x283)]&&(process[_0x1712f5(0x244)][_0x1712f5(0x1f9)]=_0x335e13[_0x1712f5(0x283)]);_0x335e13['testEnvironment']=path[_0x1712f5(0x21f)](__dirname,_0xd498c4['YWJBF'],_0xd498c4[_0x1712f5(0x28d)]);const _0x3f457e=_0x3ed176[_0x1712f5(0x2ac)];if(_0x3f457e&&_0xd498c4['ADslT'](_0x3f457e,_0xd498c4[_0x1712f5(0x23a)])){const _0x167a44=_0x3f457e[_0x1712f5(0x29e)](_0xd498c4[_0x1712f5(0x2aa)])?_0x3f457e:_0x1712f5(0x25e)+_0x3f457e;process['env'][_0x1712f5(0x28e)]=_0x167a44,logger[_0x1712f5(0x260)](_0x1712f5(0x29a)+_0x167a44);}_0x335e13[_0x1712f5(0x2ac)]=_0x37dd7e,_0x335e13[_0x1712f5(0x2bd)]=_0x335e13[_0x1712f5(0x2bd)]||[],_0x335e13[_0x1712f5(0x2bd)][_0x1712f5(0x2ce)](path[_0x1712f5(0x21f)](__dirname,_0xd498c4[_0x1712f5(0x2c0)]));_0xbba20b['isTestOrchestrationEnabled']()&&(_0x335e13[_0x1712f5(0x292)]=path[_0x1712f5(0x21f)](__dirname,_0xd498c4['YWJBF'],_0xd498c4['TOBYn']));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI['getInstance']()['isCliEnabled']()){let _0x1d6df2=null;try{_0x1d6df2=helper[_0x1712f5(0x26a)](_0xd498c4[_0x1712f5(0x2bf)],_0xd498c4[_0x1712f5(0x201)]);}catch(_0xc468fa){try{_0x1d6df2=helper['requireModule'](_0xd498c4[_0x1712f5(0x245)],_0xd498c4['PVwel']);}catch(_0x5ba8e8){_0xd498c4[_0x1712f5(0x286)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x5ba8e8);}}_0x1d6df2&&(testhubUtils[_0x1712f5(0x26c)]()&&_0x335e13[_0x1712f5(0x2bd)]['push'](path[_0x1712f5(0x21f)](__dirname,_0xd498c4['ylbLh'],_0xd498c4[_0x1712f5(0x1ea)])),_0x335e13[_0x1712f5(0x1fb)]=path[_0x1712f5(0x21f)](__dirname,_0xd498c4[_0x1712f5(0x274)],_0xd498c4[_0x1712f5(0x20f)]));}_0x335e13[_0x1712f5(0x22c)]=_0x335e13['setupFiles']||[];try{helper[_0x1712f5(0x1f4)](),_0x335e13[_0x1712f5(0x22c)][_0x1712f5(0x2ce)](path['join'](__dirname,_0xd498c4[_0x1712f5(0x2bb)]));}catch{logger[_0x1712f5(0x2ab)](_0xd498c4[_0x1712f5(0x2c2)]);}try{helper[_0x1712f5(0x2dd)][_0x1712f5(0x243)](null,[_0xd498c4[_0x1712f5(0x1e5)],_0xd498c4[_0x1712f5(0x27c)]]),logger[_0x1712f5(0x2ab)](_0xd498c4[_0x1712f5(0x25b)]),_0x335e13[_0x1712f5(0x22c)][_0x1712f5(0x2ce)](path['join'](__dirname,_0xd498c4[_0x1712f5(0x296)]));}catch(_0x3f3b03){logger[_0x1712f5(0x2ab)](_0xd498c4[_0x1712f5(0x241)],_0x3f3b03);}if(_0xd498c4['pdPmd'](!_0x58e5c7,_0x4049ff)){try{logger[_0x1712f5(0x2ab)](_0xd498c4[_0x1712f5(0x1f6)]),_0x335e13['setupFilesAfterEnv'][_0x1712f5(0x2ce)](path['join'](__dirname,'..',_0xd498c4[_0x1712f5(0x291)],_0xd498c4[_0x1712f5(0x296)]));}catch(_0x137373){logger[_0x1712f5(0x2ab)]('Puppeteer\x20setup\x20error:\x20'+_0x137373[_0x1712f5(0x2c7)]);}try{const _0x31b1c8=require[_0x1712f5(0x236)](_0xd498c4[_0x1712f5(0x2d9)]),_0x369d07=path['dirname'](_0x31b1c8)[_0x1712f5(0x22f)](/\\/g,'/'),_0x260bec={};_0x260bec[_0x1712f5(0x270)]=_0x369d07+_0x1712f5(0x1e2),_0x335e13[_0x1712f5(0x1e0)]=Object[_0x1712f5(0x2a9)]({},_0x335e13[_0x1712f5(0x1e0)]||{},_0x260bec),logger[_0x1712f5(0x2ab)](_0x1712f5(0x25d)+_0x369d07);}catch(_0x115ca5){logger['debug'](_0x1712f5(0x24c)+_0x115ca5[_0x1712f5(0x2c7)]);}}_0x335e13[_0x1712f5(0x2db)]=_0x335e13[_0x1712f5(0x2db)]||[_0xd498c4[_0x1712f5(0x29d)]],_0xd498c4['imJST'](updateTestRerunConfig,_0x335e13,_0x4d3743);const _0x17d4c5=fs[_0x1712f5(0x222)](_0x339543),_0x7519ac=helper[_0x1712f5(0x228)](_0xd498c4[_0x1712f5(0x1fd)],_0xd498c4[_0x1712f5(0x2bc)]);!_0x7519ac[_0x1712f5(0x2a2)]?fs[_0x1712f5(0x248)](_0x335e13[_0x1712f5(0x2ac)],_0x1712f5(0x2d0)+_0x17d4c5+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x4d3743[_0x1712f5(0x1f1)]['platforms'][_0x1712f5(0x280)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'):fs[_0x1712f5(0x248)](_0x335e13[_0x1712f5(0x2ac)],_0x1712f5(0x2d0)+_0x17d4c5+_0x1712f5(0x1fc)+_0x4d3743[_0x1712f5(0x1f1)][_0x1712f5(0x250)]['length']+_0x1712f5(0x2d5));logger[_0x1712f5(0x260)](_0x1712f5(0x29b)+_0x3ccf75+_0x1712f5(0x2d7)),fs['writeFileSync'](_0x3ccf75,'const\x20config='+JSON[_0x1712f5(0x251)](_0x335e13)+'\x0amodule.exports\x20=\x20config;');if(_0xbba20b[_0x1712f5(0x20c)]()){logger[_0x1712f5(0x2ab)](_0xd498c4[_0x1712f5(0x28f)]);const _0x3d40aa=await _0xbba20b[_0x1712f5(0x2a8)](_0x335e13,_0x297317[_0x1712f5(0x297)](0x1),_0x3ccf75);logger[_0x1712f5(0x2ab)](_0x1712f5(0x1f5)+JSON[_0x1712f5(0x251)](_0x3d40aa)+_0x1712f5(0x208));const _0x454786=await _0xbba20b[_0x1712f5(0x2b7)](_0x3d40aa);logger[_0x1712f5(0x2ab)](_0x1712f5(0x26b)+JSON['stringify'](_0x454786)),_0x454786&&_0xd498c4[_0x1712f5(0x1f3)](_0x454786['length'],0x0)&&(process[_0x1712f5(0x244)][_0x1712f5(0x205)]=_0x454786?.[_0x1712f5(0x21f)](','));}logger['info'](_0xd498c4['myzOy']);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x1712f5(0x261)]();helper[_0x1712f5(0x1f8)]({},_0x297317),PerformanceTester[_0x1712f5(0x2c9)](PerformanceEvents[_0x1712f5(0x2a3)]);const _0x47c0ea=[_0xd498c4[_0x1712f5(0x1ef)],_0xd498c4['mWhNO'],_0x3ccf75,..._0x297317['slice'](0x1)];process['env'][_0x1712f5(0x226)]=process['env'][_0x1712f5(0x226)]||_0xd498c4[_0x1712f5(0x1ef)];const _0x1ab1d5=_0xd498c4[_0x1712f5(0x24a)](spawn,_0xd498c4[_0x1712f5(0x254)],_0x47c0ea,{'shell':_0xd498c4[_0x1712f5(0x22d)](process[_0x1712f5(0x2c8)],_0xd498c4['ipaJW']),'stdio':_0xd498c4[_0x1712f5(0x214)],'env':Object[_0x1712f5(0x2a9)]({},process['env'])});_0x1ab1d5['on'](_0xd498c4['SCEWN'],async _0x33fdf3=>{const _0x3254fa=_0x1712f5;PerformanceTester[_0x3254fa(0x232)](PerformanceEvents[_0x3254fa(0x268)]),process[_0x3254fa(0x1fe)]=_0x33fdf3,logger[_0x3254fa(0x2ab)](_0x3254fa(0x287)+_0x33fdf3),logger[_0x3254fa(0x260)](_0x3254fa(0x27f)+_0x3ccf75);if(helper[_0x3254fa(0x273)](_0x12b5aa)&&helper[_0x3254fa(0x273)](_0x12b5aa[_0x3254fa(0x252)])&&fs[_0x3254fa(0x239)](_0x12b5aa['abortBuildOnFailure']['workingDir']))try{const _0x1a922c={};_0x1a922c[_0x3254fa(0x1f7)]=!![],_0x1a922c[_0x3254fa(0x1eb)]=!![],fs[_0x3254fa(0x256)](_0x12b5aa[_0x3254fa(0x252)][_0x3254fa(0x211)],_0x1a922c),logger[_0x3254fa(0x2ab)](_0x3254fa(0x204)+_0x12b5aa[_0x3254fa(0x252)][_0x3254fa(0x211)]);}catch(_0x1a83a6){logger[_0x3254fa(0x2a2)](_0x3254fa(0x2b0)+_0x1a83a6);}let _0xb8a8a3=null;if(fs[_0x3254fa(0x239)](_0x1a1ccf)){_0xb8a8a3=fs[_0x3254fa(0x222)](_0x1a1ccf);try{_0xb8a8a3=JSON[_0x3254fa(0x2b6)](_0xb8a8a3);}catch(_0x1c7a08){logger[_0x3254fa(0x2ab)](_0x3254fa(0x218)+_0x1a1ccf+',\x20'+_0xb8a8a3+_0x3254fa(0x22a)+_0x1c7a08);}fs['unlinkSync'](_0x1a1ccf);}fs[_0x3254fa(0x2cc)](_0x3ccf75),fs[_0x3254fa(0x2cc)](_0x37dd7e),_0xb8a8a3&&(_0x4d3743[_0x3254fa(0x2ae)]=helper[_0x3254fa(0x281)](_0xb8a8a3,_0xd498c4[_0x3254fa(0x1ef)],_0x4d3743));const _0x3e0753=BrowserstackCLI[_0x3254fa(0x2d3)]();try{await TestHubHandler[_0x3254fa(0x2da)](),await BrowserstackCLI['getInstance']()[_0x3254fa(0x2da)]();}catch(_0x35d4c6){console[_0x3254fa(0x2b4)](_0x35d4c6),_0xd498c4[_0x3254fa(0x221)](debug,_0x3254fa(0x267)+util[_0x3254fa(0x235)](_0x35d4c6));}testOpsHelper[_0x3254fa(0x27d)](),TestDetails[_0x3254fa(0x2cd)](),await utilities[_0x3254fa(0x26e)](_0x4d3743,_0x3e0753);});}module['exports']=run;function a21_0x1525(_0x4d9b61,_0x447998){const _0x1afc65=a21_0x1afc();return a21_0x1525=function(_0x152510,_0x26bc14){_0x152510=_0x152510-0x1e0;let _0x18b0e4=_0x1afc65[_0x152510];return _0x18b0e4;},a21_0x1525(_0x4d9b61,_0x447998);}function a21_0x1afc(){const _0x2e7714=['resolveModule','prepareCapabilities','\x20:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','setupFiles','zOBsD','../../helpers/testhub/utils','replace','platformCaps','mjs','start','690650rOhNCl','SlSCq','format','resolve','jest-circus','Qrkwn','existsSync','whjDv','./test-observability/helper','child_process','skipSessionStatus','package.json','test.setup.js','TvrYY','yogDi','MODULE','apply','env','BhjQF','4FIEgyz','../../helpers/percy/utils','writeFileSync','maxWorkers','oFaQa','153200bIdoeg','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','getInstance','nVtKe','BROWSERSTACK_CAPABILITIES','platforms','stringify','abortBuildOnFailure','jest_browserstack.config.cjs','NyPVt','../../helpers/logger','rmSync','true','../../helpers/accessibility-automation/helper','ibryl','logLevel','uWGMs','../../helpers/performance/constants','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','jest-runner-','../../helpers/testhub/testhubHandler','info','setup','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','customTestRunnerTemplate.js','USER_CONFIG_DETAILS_PATH','jest_browserstack.config.js','proxySettings','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','SDK_CLEANUP','isEmpty','requireModule','Reodered\x20Test\x20Files:\x20','shouldProcessEventForTesthub','lPXnb','finalExecution','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','^puppeteer-core/internal/(.*)','getPackageVersion','@playwright/test','isNotUndefined','YWJBF','skipSessionName','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','serial__','jest.config.','1260918sblEVs','../../helpers/playwright-helper','jest-runner','fgfln','printBuildLink','../../helpers/performance/performance-tester','Deleting\x20','length','getErrorMessageFromResults','npx','testEnvironment','@jest/core/build/ReporterDispatcher.js','CWjbp','KGfdy','child\x20process\x20exited\x20with\x20code\x20',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','timeout__','WShoO','198ZKqEBV','initialize','GdQsb','BSTACK_USER_JEST_RUNNER','oIDOL','puppeteer-core/package.json','GfRTh','testSequencer','--config','jest-circus/build/runner.js','JSuLS','VZJtx','slice','qlCDn','customSequencer.js','Preserving\x20user\x27s\x20Jest\x20runner:\x20','Creating\x20','turboScaleUrl','gioZj','startsWith','GpJba','maxFailures','BlToy','error','SDK_SETUP','retries__','setupBrowserstackLocal','failureThresholdCount','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','findTestFiles','assign','Ohhxn','debug','runner','customCircus.js','errorMessage','testTimeout','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','../../helpers/test-observability/constants','Getting\x20your\x20jest\x20configs\x20from\x20package.json','findIndex','log','cwd','parse','reorderTestFiles','__isPlaywrightInstalled','1032850pFFYhT','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','FVlYu','sVGrv','setupFilesAfterEnv','../../helpers/puppeteer-helper','CplsE','lluHz','getHubUrl','shvWf','../utils/constants','maxRetries','browserStackLogLevel','parallels__','message','platform','end','accessibility','inherit','unlinkSync','shutdown','push','965877ODwIHl','\x0a\x20\x20\x20\x20\x20\x20','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','585933fYefaS','isCLIEnabled','capabilities',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','runInBand','\x20with\x20browserstack\x20jest\x20configs','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','zLgRb','stop','reporters','cjs','requirePWModule','../../helpers/utilities','moduleNameMapper','launchBuild','/internal/$1','retryTestsOnFailure','data-hooks.js','GrIlO','jest','../../helpers/BrowserStackSetup','../../helpers/helper','isBrowserstackInfra','lpuox','force','JDabg','isRunning','ZMaGD','FLoKJ','parallelsPerPlatform','config','251644gTbbLN','YeMjX','requireSeleniumWebdriver','Found:\x20','xZWVG','recursive','filterBrowserstackArgs','BSTACK_JEST_TEST_ENV','testObservability','testRunner','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','SToJI','exitCode','QRIcm','JEST','PVwel','checkAccessibilityPlatformConfig','__isPuppeteerInstalled','Deleted\x20fail-fast\x20state\x20folder:\x20','JEST_TEST_ORDER','useW3C','./test-observability/test-details','\x20test\x20files\x20to\x20run.','isUndefined','false','CRpdw','isTestOrchestrationEnabled','GZoVD','win32','qlEON',',\x20CLI\x20running:\x20','workingDir','jest.setup.js','jest-config','gVepg','readInitialOptions','mZgqo','test_before.setup.js','Error\x20while\x20parsing\x20','@jest/core','failFast','FRAMEWORKS','../../helpers/test-observability/utils','testEnvironmentOptions','testContextOptions','join','default','WBoHS','readFileSync','parseTestOrchestrationOptions','test-observability','BROWSERSTACK_TEST_OBSERVABILITY_YML','BROWSERSTACK_FRAMEWORK','jest_browserstack_results.json'];a21_0x1afc=function(){return _0x2e7714;};return a21_0x1afc();}
@@ -1 +1 @@
1
- function a18_0x45be(){const _0x449e0a=['272282KrUxcn','function','14903zpCZMW','customJestAdapterInit.js','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','xuevi','1223984sXOrSh','12lnXqEJ','LkZzZ','243825PYeVDl','join','246TaGAuJ','548480uXjZfd','1qriKyd','default','path','mJvEC','jest-circus/build/runner.js','jestAdapterInit','78412lwovJv','9fACNYB','exports','6qKVHFc','687775XifaXS','initRequireModule','requireInternalModule','includes'];a18_0x45be=function(){return _0x449e0a;};return a18_0x45be();}const a18_0x30c2a6=a18_0xd0a9;(function(_0x356379,_0x252c2a){const _0x29b47f=a18_0xd0a9,_0x15cd91=_0x356379();while(!![]){try{const _0x429621=parseInt(_0x29b47f(0xaf))/0x1*(-parseInt(_0x29b47f(0xa2))/0x2)+-parseInt(_0x29b47f(0xb8))/0x3*(-parseInt(_0x29b47f(0xb5))/0x4)+parseInt(_0x29b47f(0xab))/0x5+parseInt(_0x29b47f(0xad))/0x6*(-parseInt(_0x29b47f(0xa4))/0x7)+-parseInt(_0x29b47f(0xa8))/0x8*(-parseInt(_0x29b47f(0xb6))/0x9)+parseInt(_0x29b47f(0xae))/0xa+-parseInt(_0x29b47f(0xb9))/0xb*(-parseInt(_0x29b47f(0xa9))/0xc);if(_0x429621===_0x252c2a)break;else _0x15cd91['push'](_0x15cd91['shift']());}catch(_0x3bb3aa){_0x15cd91['push'](_0x15cd91['shift']());}}}(a18_0x45be,0x20f00));const path=require(a18_0x30c2a6(0xb1)),{requireModule}=require('../../../helpers/helper');let initJestAdapter;try{initJestAdapter=requireModule(a18_0x30c2a6(0xa6),'jest-circus');}catch{initJestAdapter=requireModule(a18_0x30c2a6(0xb3),'jest-circus');}initJestAdapter=typeof initJestAdapter===a18_0x30c2a6(0xa3)?initJestAdapter:initJestAdapter[a18_0x30c2a6(0xb0)];const FRAMEWORK_INITIALIZER=path[a18_0x30c2a6(0xac)](__dirname,a18_0x30c2a6(0xa5));function a18_0xd0a9(_0x1cc378,_0x559158){const _0x45be1b=a18_0x45be();return a18_0xd0a9=function(_0xd0a98f,_0x366d04){_0xd0a98f=_0xd0a98f-0xa2;let _0x1b4048=_0x45be1b[_0xd0a98f];return _0x1b4048;},a18_0xd0a9(_0x1cc378,_0x559158);}module[a18_0x30c2a6(0xb7)]=(..._0x5ccf5f)=>{const _0x18a6f7=a18_0x30c2a6,_0x4dfd63={'mJvEC':_0x18a6f7(0xb4),'LkZzZ':function(_0x45dc51,_0xa12623){return _0x45dc51===_0xa12623;},'xuevi':function(_0x3a86b2,..._0x4f07ec){return _0x3a86b2(..._0x4f07ec);}};return _0x5ccf5f[0x3][_0x18a6f7(0xba)]=_0x5ccf5f[0x3]['requireInternalModule'],_0x5ccf5f[0x3][_0x18a6f7(0xbb)]=(..._0x601bab)=>{const _0x4356b0=_0x18a6f7;if(_0x601bab[0x0]&&_0x601bab[0x0][_0x4356b0(0xbc)](_0x4dfd63[_0x4356b0(0xb2)])&&_0x4dfd63[_0x4356b0(0xaa)](_0x601bab[0x1],undefined))return _0x5ccf5f[0x3][_0x4356b0(0xba)](FRAMEWORK_INITIALIZER);return _0x5ccf5f[0x3][_0x4356b0(0xba)](..._0x601bab);},_0x4dfd63[_0x18a6f7(0xa7)](initJestAdapter,..._0x5ccf5f);};
1
+ const a22_0x13783e=a22_0xcc1f;(function(_0x2c5a50,_0x1d657f){const _0x3fabab=a22_0xcc1f,_0x5239d4=_0x2c5a50();while(!![]){try{const _0x1f9cd6=parseInt(_0x3fabab(0x112))/0x1+parseInt(_0x3fabab(0x122))/0x2+parseInt(_0x3fabab(0x113))/0x3*(-parseInt(_0x3fabab(0x119))/0x4)+parseInt(_0x3fabab(0x120))/0x5+parseInt(_0x3fabab(0x11e))/0x6+parseInt(_0x3fabab(0x116))/0x7+-parseInt(_0x3fabab(0x115))/0x8;if(_0x1f9cd6===_0x1d657f)break;else _0x5239d4['push'](_0x5239d4['shift']());}catch(_0x487a51){_0x5239d4['push'](_0x5239d4['shift']());}}}(a22_0x52c4,0xee0e4));const path=require('path'),{requireModule}=require(a22_0x13783e(0x11f));let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jest-circus');}catch{initJestAdapter=requireModule(a22_0x13783e(0x121),a22_0x13783e(0x11d));}function a22_0xcc1f(_0x1b6975,_0x15e02c){const _0x52c4cd=a22_0x52c4();return a22_0xcc1f=function(_0xcc1fcf,_0x31e431){_0xcc1fcf=_0xcc1fcf-0x112;let _0x421c37=_0x52c4cd[_0xcc1fcf];return _0x421c37;},a22_0xcc1f(_0x1b6975,_0x15e02c);}initJestAdapter=typeof initJestAdapter===a22_0x13783e(0x117)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path['join'](__dirname,a22_0x13783e(0x11a));module[a22_0x13783e(0x123)]=(..._0x1529b9)=>{const _0x1fc289=a22_0x13783e,_0x18e26e={'ZeGUd':'jestAdapterInit','NPAXc':function(_0x3fef7e,_0x3926f1){return _0x3fef7e===_0x3926f1;},'HYCUd':function(_0x20d171,..._0x3bae2e){return _0x20d171(..._0x3bae2e);}};return _0x1529b9[0x3]['initRequireModule']=_0x1529b9[0x3][_0x1fc289(0x11b)],_0x1529b9[0x3][_0x1fc289(0x11b)]=(..._0x5863e3)=>{const _0x45e1a7=_0x1fc289;if(_0x5863e3[0x0]&&_0x5863e3[0x0][_0x45e1a7(0x11c)](_0x18e26e['ZeGUd'])&&_0x18e26e['NPAXc'](_0x5863e3[0x1],undefined))return _0x1529b9[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x1529b9[0x3][_0x45e1a7(0x114)](..._0x5863e3);},_0x18e26e[_0x1fc289(0x118)](initJestAdapter,..._0x1529b9);};function a22_0x52c4(){const _0x87e22b=['185820IPlbVJ','initRequireModule','40055240iDsJoK','128268TWLQYp','function','HYCUd','24NZFGmI','customJestAdapterInit.js','requireInternalModule','includes','jest-circus','9716964cHhkIR','../../../helpers/helper','8813155DGhVBs','jest-circus/build/runner.js','2257712rnmIKY','exports','1824316rPQnLA'];a22_0x52c4=function(){return _0x87e22b;};return a22_0x52c4();}
@@ -1 +1 @@
1
- function a19_0x3057(){const _0x337ada=['skip','\x20>\x20','onTestDone','UNnCY','jest-resolve','driver','skipSessionName','1245684dbMcpV','JUvyj','capability','uaKjd','shouldProcessEventForTesthub','sGFSL','vmzXS','shutdown','RwRTZ','ESnaT','__webdriver','sncDC','432yxKkmb','failFastActive','328efVAEg','test','../../../helpers/test-observability/requestQueueHandler','jest-environment-node','sBuXF','21434qtrmlU','failFastOptions','../../../index','1320ckrUeG','__platformCaps','csRJF','test_done','gezqh','projectConfig','isBrowserstackInfra','645768bgxmeK','__timeout','402QhXxWl','env','browserstackPercyBestPlatform','sessionNameProvided','UfTlk','errors','percyCaptureMode','requireModule','requireSeleniumWebdriver','mode','getTestEnvironment','test_start','cezWM','resolveTestEnvironment','FttAx','isTrue','bstack:options','global','retries__','Error\x20in\x20fail-fast\x20test_done\x20handler:','DUMAS','setup','JEST','cleanup','failFast','__skipSessionStatus','shouldFailFast','../../../helpers/helper','ktCkN','CGxYI','1738KmyrUL','__driversArray','split','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','percy','__drivers','default','../test-observability/obsReporter','exports','name','browserstackPlatformIndex','isArray','Builder','platformCaps','capabilities','SwPUp','info','testEnvironmentOptions','message','nestedKeyValue','370480VWXkKR','modifyCommand','projectName','timeout__','configuration','174898jUcGDX','qAYfG','../../../helpers/testhub/utils','isNotUndefined','quit','cwd','uPPMC','cleanupDrivers','skipSessionStatus','iwsgj','../../../helpers/test-orchestration/failfastManager','handleTestEvent','framework','ESHng','FRAMEWORKS','Jwbux','node'];a19_0x3057=function(){return _0x337ada;};return a19_0x3057();}const a19_0x414893=a19_0x2ed0;(function(_0x4114fe,_0x1f1f27){const _0x6c667c=a19_0x2ed0,_0x385faf=_0x4114fe();while(!![]){try{const _0x480ded=-parseInt(_0x6c667c(0xf7))/0x1+-parseInt(_0x6c667c(0x14c))/0x2*(-parseInt(_0x6c667c(0x12e))/0x3)+-parseInt(_0x6c667c(0x11b))/0x4*(parseInt(_0x6c667c(0x125))/0x5)+parseInt(_0x6c667c(0x10f))/0x6+-parseInt(_0x6c667c(0x122))/0x7*(-parseInt(_0x6c667c(0x11d))/0x8)+-parseInt(_0x6c667c(0x12c))/0x9+parseInt(_0x6c667c(0xf2))/0xa;if(_0x480ded===_0x1f1f27)break;else _0x385faf['push'](_0x385faf['shift']());}catch(_0x386d87){_0x385faf['push'](_0x385faf['shift']());}}}(a19_0x3057,0x33a20));const helper=require(a19_0x414893(0x149)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a19_0x414893(0x11f)),ObservabilityReporter=require(a19_0x414893(0xe5)),testhubUtils=require(a19_0x414893(0xf9)),logger=require('../../../helpers/logger')['winstonLogger'],getTestEnvironment=((()=>{const _0x31fcb3=a19_0x414893,_0x11b495={};_0x11b495['ktCkN']=_0x31fcb3(0x10c),_0x11b495[_0x31fcb3(0x142)]='jest-config';const _0x9b7b71=_0x11b495;try{const _0x19f9ce=helper[_0x31fcb3(0x135)](_0x9b7b71[_0x31fcb3(0x14a)]);if(_0x19f9ce[_0x31fcb3(0x13b)])return _0x19f9ce[_0x31fcb3(0x13b)];const _0x2b7f7b=helper[_0x31fcb3(0x135)](_0x9b7b71[_0x31fcb3(0x142)]);if(_0x2b7f7b[_0x31fcb3(0x138)])return _0x2b7f7b['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x1647ab=a19_0x414893,_0x381d0d={'sBuXF':function(_0x332a79,_0xdf1fce){return _0x332a79(_0xdf1fce);},'SwPUp':_0x1647ab(0x107),'IWBCm':_0x1647ab(0x120),'XLoED':function(_0x42b7fe,_0x5c096f){return _0x42b7fe(_0x5c096f);}},_0x428f28=_0x381d0d[_0x1647ab(0x121)](getTestEnvironment,{'rootDir':process[_0x1647ab(0xfc)](),'testEnvironment':process[_0x1647ab(0x12f)]['BSTACK_JEST_TEST_ENV']||_0x381d0d[_0x1647ab(0xed)]});if(!_0x428f28)return _0x381d0d['sBuXF'](_interopRequireDefault,helper['requireModule'](_0x381d0d['IWBCm']));return _0x381d0d['XLoED'](_interopRequireDefault,helper[_0x1647ab(0x135)](_0x428f28));})()),_seleniumWebdriver2=((()=>{const _0x9587ae=a19_0x414893,_0x39cee8={'JUvyj':function(_0x45cf35,_0x2c0fb3){return _0x45cf35(_0x2c0fb3);}};try{const _0x174d54=helper[_0x9587ae(0x136)]();return helper[_0x9587ae(0xf3)](),_0x39cee8[_0x9587ae(0x110)](_interopRequireDefault,_0x174d54);}catch{return null;}})());function a19_0x2ed0(_0x5a8245,_0x4da251){const _0x30579f=a19_0x3057();return a19_0x2ed0=function(_0x2ed00f,_0x50e94a){_0x2ed00f=_0x2ed00f-0xe2;let _0x215a41=_0x30579f[_0x2ed00f];return _0x215a41;},a19_0x2ed0(_0x5a8245,_0x4da251);}function _interopRequireDefault(_0x15888b){return _0x15888b&&_0x15888b['__esModule']?_0x15888b:{'default':_0x15888b};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a19_0x414893(0xe4)][a19_0x414893(0xea)]:null;class CustomEnvironment extends _jestUserEnvironment[a19_0x414893(0xe4)]{constructor(_0x3dc2dc){const _0x27724d=a19_0x414893,_0x1a8a29={'gezqh':'quit','UfTlk':function(_0x2c2227,_0x551cc5){return _0x2c2227+_0x551cc5;},'MBBDr':_0x27724d(0x13e),'FttAx':function(_0x5a1868,_0x50b48c){return _0x5a1868(_0x50b48c);},'vmzXS':_0x27724d(0x101),'cezWM':'6|3|0|2|7|4|1|5','IWjIY':_0x27724d(0xef),'uPPMC':'browserStackPercyOptions','CGxYI':'browserstackPercyBestPlatform','iwsgj':_0x27724d(0xe2),'PmrLe':_0x27724d(0x124),'NaEFA':_0x27724d(0x134)};super(_0x3dc2dc),this['global'][_0x27724d(0x12d)]=0x0,this[_0x27724d(0xf6)]={};!_0x3dc2dc[_0x27724d(0xef)]&&(_0x3dc2dc[_0x27724d(0xef)]={});if(helper[_0x27724d(0x12b)]()){_0x3dc2dc['testEnvironmentOptions']=_0x3dc2dc[_0x27724d(0x12a)]?_0x3dc2dc[_0x27724d(0x12a)]['testEnvironmentOptions']:_0x3dc2dc[_0x27724d(0xef)];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0x27724d(0xe4))][(_0x27724d(0xea))]());this[_0x27724d(0x111)]=_0x3dc2dc[_0x27724d(0x12a)]?_0x3dc2dc[_0x27724d(0x12a)][_0x27724d(0x111)]:_0x3dc2dc[_0x27724d(0x111)],this[_0x27724d(0x13f)][_0x27724d(0x12d)]=_0x1a8a29[_0x27724d(0x132)](_0x3dc2dc[_0x27724d(0xef)][_0x27724d(0xf5)]||0x1388,constants['BSTACK_DELTA']),this[_0x27724d(0x123)]=_0x3dc2dc[_0x27724d(0xef)][_0x27724d(0x146)];if(this['failFastOptions']){const _0x1ea3e8=this[_0x27724d(0x111)][_0x1a8a29['MBBDr']]?.['buildName']||'',_0x40c6ca=this[_0x27724d(0x111)][_0x1a8a29['MBBDr']]?.[_0x27724d(0xf4)]||'';this[_0x27724d(0x146)]=new(_0x1a8a29[_0x27724d(0x13c)](require,_0x1a8a29[_0x27724d(0x115)]))(this[_0x27724d(0x123)],_0x1ea3e8,_0x40c6ca),this[_0x27724d(0x13f)][_0x27724d(0x11c)]=![];}helper[_0x27724d(0xfa)](_0x3dc2dc['testEnvironmentOptions'][_0x27724d(0x140)])&&(this[_0x27724d(0x13f)]['__jestRetries']=_0x3dc2dc[_0x27724d(0xef)][_0x27724d(0x140)]);}if(testhubUtils[_0x27724d(0x113)]()){const _0xd691c8=new ObservabilityReporter();_0xd691c8['registerListeners']();}this[_0x27724d(0x13f)]['browserStackGlobals']={},this['configuration']=_0x3dc2dc['testEnvironmentOptions'],this['configuration'][_0x27724d(0x103)]=constants[_0x27724d(0x105)][_0x27724d(0x144)],this[_0x27724d(0x13f)]['browserstackPlatformIndex']=(_0x3dc2dc[_0x27724d(0x12a)]?_0x3dc2dc[_0x27724d(0x12a)]['browserstackPlatformIndex']:_0x3dc2dc[_0x27724d(0xe8)])||0x0,this['global'][_0x27724d(0x126)]=this[_0x27724d(0xf6)]&&this['configuration'][_0x27724d(0xeb)]&&Array[_0x27724d(0xe9)](this[_0x27724d(0xf6)][_0x27724d(0xeb)])&&this[_0x27724d(0xf6)][_0x27724d(0xeb)][this[_0x27724d(0x13f)]['browserstackPlatformIndex']]||{};const _0x55328c=this[_0x27724d(0x13f)]['browserstackPlatformIndex'],_0x57e78d={...this[_0x27724d(0xf6)],'capability':this['configuration'][_0x27724d(0xec)]&&Array[_0x27724d(0xe9)](this[_0x27724d(0xf6)][_0x27724d(0xec)])&&this[_0x27724d(0xf6)][_0x27724d(0xec)][_0x55328c]||{},'platformCaps':this[_0x27724d(0xf6)][_0x27724d(0xeb)]&&Array[_0x27724d(0xe9)](this[_0x27724d(0xf6)][_0x27724d(0xeb)])&&this['configuration'][_0x27724d(0xeb)][_0x55328c]||{}};delete _0x57e78d[_0x27724d(0xec)],this[_0x27724d(0x13f)]['jestConfig']=_0x57e78d;if(_seleniumWebdriver2){const _0x3e345e=_0x1a8a29[_0x27724d(0x13a)][_0x27724d(0x14e)]('|');let _0x603f2a=0x0;while(!![]){switch(_0x3e345e[_0x603f2a++]){case'0':this[_0x27724d(0x13f)][_0x27724d(0x130)]=helper[_0x27724d(0xf1)](_0x3dc2dc,[_0x1a8a29['IWjIY'],_0x1a8a29[_0x27724d(0xfd)],_0x1a8a29[_0x27724d(0x14b)]]);continue;case'1':this[_0x27724d(0x13f)][_0x27724d(0x147)]=helper['isTrue'](this[_0x27724d(0xf6)][_0x27724d(0xff)]);continue;case'2':this[_0x27724d(0x13f)][_0x27724d(0xe2)]=helper['nestedKeyValue'](_0x3dc2dc,[_0x1a8a29['IWjIY'],_0x1a8a29[_0x27724d(0xfd)],_0x1a8a29[_0x27724d(0x100)]]);continue;case'3':this[_0x27724d(0x13f)][_0x27724d(0x119)]=_0x1a8a29[_0x27724d(0x13c)](require,_0x1a8a29['PmrLe'])['browserstackAgentV2']({...this[_0x27724d(0xf6)],'capability':this[_0x27724d(0x111)]||{}},this,testhubUtils[_0x27724d(0x113)]());continue;case'4':helper[_0x27724d(0x13d)](this['configuration'][_0x27724d(0x10e)])?this['global']['sessionNameProvided']=!![]:this[_0x27724d(0x13f)][_0x27724d(0x131)]=![];continue;case'5':this[_0x27724d(0x13f)][_0x27724d(0x145)]=async()=>{const _0x42f63b=_0x27724d;await this[_0x42f63b(0x13f)][_0x42f63b(0x10d)][_0x42f63b(0xfb)](_0x1a8a29[_0x42f63b(0x129)]);};continue;case'6':this[_0x27724d(0x13f)][_0x27724d(0xe3)]=[];continue;case'7':this[_0x27724d(0x13f)]['percyCaptureMode']=helper[_0x27724d(0xf1)](_0x3dc2dc,[_0x1a8a29['IWjIY'],_0x1a8a29[_0x27724d(0xfd)],_0x1a8a29['NaEFA']]);continue;}break;}}}async['teardown'](){const _0x325771=a19_0x414893;_seleniumWebdriver2&&(await helper[_0x325771(0xfe)](this[_0x325771(0x13f)][_0x325771(0x14d)]),this[_0x325771(0x13f)][_0x325771(0x119)]['Builder']=originalBuilder),await RequestQueueHandler['getInstance']()[_0x325771(0x116)]();}async[a19_0x414893(0x143)](){}async[a19_0x414893(0x102)](_0x22352f,_0x15b59f){const _0x29aba9=a19_0x414893,_0x3035ab={};_0x3035ab[_0x29aba9(0x11a)]=function(_0x5310d4,_0x2f0d0b){return _0x5310d4===_0x2f0d0b;},_0x3035ab[_0x29aba9(0x112)]=_0x29aba9(0x139),_0x3035ab['qAYfG']=function(_0x19f8b8,_0x33cd65){return _0x19f8b8===_0x33cd65;},_0x3035ab[_0x29aba9(0x118)]=_0x29aba9(0x108),_0x3035ab[_0x29aba9(0x114)]=function(_0x4db1a8,_0x58791d){return _0x4db1a8===_0x58791d;},_0x3035ab[_0x29aba9(0x127)]=_0x29aba9(0x128),_0x3035ab['Jwbux']=_0x29aba9(0x109),_0x3035ab[_0x29aba9(0x104)]=function(_0x138deb,_0xaf8fc4){return _0x138deb===_0xaf8fc4;},_0x3035ab[_0x29aba9(0x117)]=_0x29aba9(0x141),_0x3035ab[_0x29aba9(0x10b)]='teardown';const _0x2350b7=_0x3035ab,{name:_0x5c0e96}=_0x22352f;if(_0x2350b7[_0x29aba9(0x11a)](_0x5c0e96,_0x2350b7[_0x29aba9(0x112)])){this[_0x29aba9(0x13f)]['testContext']=_0x22352f[_0x29aba9(0x11e)];if(_0x2350b7[_0x29aba9(0xf8)](this[_0x29aba9(0x13f)]['failFastActive'],!![])){const _0x197a8d=_0x22352f[_0x29aba9(0x11e)][_0x29aba9(0xe7)];logger[_0x29aba9(0xee)](_0x29aba9(0x14f)+_0x197a8d),_0x22352f[_0x29aba9(0x11e)][_0x29aba9(0x137)]=_0x2350b7['ESnaT'];}}if(this['failFast']&&_0x2350b7[_0x29aba9(0x114)](_0x5c0e96,_0x2350b7[_0x29aba9(0x127)]))try{const _0x437019=_0x22352f[_0x29aba9(0x11e)]['testPath']['join'](_0x2350b7[_0x29aba9(0x106)]),_0x5afc0e=_0x22352f[_0x29aba9(0x11e)][_0x29aba9(0x133)];await this['failFast'][_0x29aba9(0x10a)](_0x437019,_0x5afc0e);const _0x390b85=await this[_0x29aba9(0x146)][_0x29aba9(0x148)]();_0x2350b7[_0x29aba9(0x114)](this['global'][_0x29aba9(0x11c)],![])&&_0x2350b7[_0x29aba9(0x104)](_0x390b85,!![])&&(this[_0x29aba9(0x13f)][_0x29aba9(0x11c)]=!![]);}catch(_0x1c5d6e){logger['debug'](_0x2350b7[_0x29aba9(0x117)],_0x1c5d6e[_0x29aba9(0xf0)]);}_0x2350b7[_0x29aba9(0x104)](_0x5c0e96,_0x2350b7[_0x29aba9(0x10b)])&&(this[_0x29aba9(0x146)]&&this[_0x29aba9(0x146)][_0x29aba9(0x145)]());}}module[a19_0x414893(0xe6)]=CustomEnvironment;
1
+ function a23_0x28fe(){const _0x44c414=['default','requireSeleniumWebdriver','projectName','4695195JkWqij','VLpUE','split','registerListeners','\x20>\x20','../../utils/constants','platformCaps','jestConfig','ohjVa','KhEMQ','env','1816zpdPwL','isTrue','skipSessionStatus','name','aWnCl','failFast','handleTestEvent','jest-config','nbfji','browserstackAgentV2','BSTACK_DELTA','7292856tevHBC','test','jest-environment-node','BSTACK_JEST_TEST_ENV','quit','shutdown','projectConfig','shouldProcessEventForTesthub','shouldFailFast','debug','percyCaptureMode','__timeout','izFFB','timeout__','FRAMEWORKS','errors','JEST','setup','__webdriver','737502BmhzbV','__esModule','failFastActive','winstonLogger','modifyCommand','isArray','../../../helpers/test-observability/requestQueueHandler','testPath','testEnvironmentOptions','3369810xLAwhu','xmejc','gOnsc','zlYco','teardown','configuration','resolveTestEnvironment','cleanup','getInstance','hJPCZ','1198900TSxIcC','test_start','onTestDone','test_done','buildName','fqIJU','capabilities','browserStackPercyOptions','9019773RXPNql','TOlzC','IKyac','driver','4827klxdXd','browserStackGlobals','message','percy','EiCWT','builder','tjAQT','Error\x20in\x20fail-fast\x20test_done\x20handler:','__skipSessionStatus','cleanupDrivers','7niLylC','WFBue','../../../index','requireModule','../../../helpers/test-orchestration/failfastManager','uoEAf','0|4|7|1|2|6|3|5','../../../helpers/test-observability/utils','bkjrQ','Kstwt','nestedKeyValue','browserstackPercyBestPlatform','rfnhh','isBrowserstackInfra','__platformCaps','node','../../../helpers/testhub/utils','Builder','../test-observability/obsReporter','browserstackPlatformIndex','skip','mode','skipSessionName','global','YhbPZ','join','retries__','framework','failFastOptions','VdkhR','info','capability','HTACy','__driversArray','jest-resolve','fhghs','../../../helpers/logger'];a23_0x28fe=function(){return _0x44c414;};return a23_0x28fe();}const a23_0x536abe=a23_0x441c;(function(_0x2c8f79,_0x44133b){const _0x458ca2=a23_0x441c,_0x29a5e1=_0x2c8f79();while(!![]){try{const _0x34fe47=parseInt(_0x458ca2(0x1e4))/0x1+parseInt(_0x458ca2(0x1d1))/0x2+parseInt(_0x458ca2(0x1f0))/0x3*(parseInt(_0x458ca2(0x1b3))/0x4)+-parseInt(_0x458ca2(0x1a8))/0x5+parseInt(_0x458ca2(0x1da))/0x6*(-parseInt(_0x458ca2(0x1fa))/0x7)+parseInt(_0x458ca2(0x1be))/0x8+-parseInt(_0x458ca2(0x1ec))/0x9;if(_0x34fe47===_0x44133b)break;else _0x29a5e1['push'](_0x29a5e1['shift']());}catch(_0x39170f){_0x29a5e1['push'](_0x29a5e1['shift']());}}}(a23_0x28fe,0xac939));const helper=require('../../../helpers/helper'),constants=require(a23_0x536abe(0x1ad)),{isTestObservabilitySession}=require(a23_0x536abe(0x201)),RequestQueueHandler=require(a23_0x536abe(0x1d7)),ObservabilityReporter=require(a23_0x536abe(0x20c)),testhubUtils=require(a23_0x536abe(0x20a)),logger=require(a23_0x536abe(0x1a4))[a23_0x536abe(0x1d4)],getTestEnvironment=((()=>{const _0x18ee30=a23_0x536abe,_0x43f7c9={};_0x43f7c9[_0x18ee30(0x1f6)]=_0x18ee30(0x1a2),_0x43f7c9[_0x18ee30(0x1a0)]=_0x18ee30(0x1ba);const _0x25ed7e=_0x43f7c9;try{const _0x368380=helper[_0x18ee30(0x1fd)](_0x25ed7e[_0x18ee30(0x1f6)]);if(_0x368380['resolveTestEnvironment'])return _0x368380[_0x18ee30(0x1e0)];const _0x455a1e=helper['requireModule'](_0x25ed7e[_0x18ee30(0x1a0)]);if(_0x455a1e['getTestEnvironment'])return _0x455a1e['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x4b2e52=a23_0x536abe,_0x7fa017={'xmejc':function(_0x1c3d26,_0x3df0bf){return _0x1c3d26(_0x3df0bf);},'zlYco':_0x4b2e52(0x209),'nbfji':function(_0x2b1137,_0x39c900){return _0x2b1137(_0x39c900);},'iLgrf':_0x4b2e52(0x1c0),'TOlzC':function(_0x42e80c,_0x65b308){return _0x42e80c(_0x65b308);}},_0x4b2f75=_0x7fa017[_0x4b2e52(0x1db)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x4b2e52(0x1b2)][_0x4b2e52(0x1c1)]||_0x7fa017[_0x4b2e52(0x1dd)]});if(!_0x4b2f75)return _0x7fa017[_0x4b2e52(0x1bb)](_interopRequireDefault,helper['requireModule'](_0x7fa017['iLgrf']));return _0x7fa017[_0x4b2e52(0x1ed)](_interopRequireDefault,helper[_0x4b2e52(0x1fd)](_0x4b2f75));})()),_seleniumWebdriver2=((()=>{const _0x35323f=a23_0x536abe,_0x31372f={'IKyac':function(_0x51abd3,_0x47b9f8){return _0x51abd3(_0x47b9f8);}};try{const _0x301125=helper[_0x35323f(0x1a6)]();return helper[_0x35323f(0x1d5)](),_0x31372f[_0x35323f(0x1ee)](_interopRequireDefault,_0x301125);}catch{return null;}})());function a23_0x441c(_0xfba383,_0xeb81cb){const _0x28fe7a=a23_0x28fe();return a23_0x441c=function(_0x441cb4,_0x31c210){_0x441cb4=_0x441cb4-0x19c;let _0x77ec7=_0x28fe7a[_0x441cb4];return _0x77ec7;},a23_0x441c(_0xfba383,_0xeb81cb);}function _interopRequireDefault(_0x2866d2){const _0x116027=a23_0x536abe;return _0x2866d2&&_0x2866d2[_0x116027(0x1d2)]?_0x2866d2:{'default':_0x2866d2};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default']['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a23_0x536abe(0x1a5)]{constructor(_0x1fa762){const _0x29d7aa=a23_0x536abe,_0x553a13={'EiCWT':_0x29d7aa(0x1c2),'izFFB':function(_0x327223,_0x2db219){return _0x327223+_0x2db219;},'fhghs':'bstack:options','aWnCl':function(_0xec4576,_0x6dea93){return _0xec4576(_0x6dea93);},'ohjVa':_0x29d7aa(0x1fe),'ZxPYM':_0x29d7aa(0x200),'VdkhR':_0x29d7aa(0x1d9),'gOnsc':_0x29d7aa(0x1eb),'VLpUE':_0x29d7aa(0x1f3),'ZDmiS':_0x29d7aa(0x1c8),'eAeAV':_0x29d7aa(0x1fc),'WFBue':_0x29d7aa(0x205)};super(_0x1fa762),this[_0x29d7aa(0x211)][_0x29d7aa(0x1c9)]=0x0,this[_0x29d7aa(0x1df)]={};!_0x1fa762['testEnvironmentOptions']&&(_0x1fa762['testEnvironmentOptions']={});if(helper[_0x29d7aa(0x207)]()){_0x1fa762[_0x29d7aa(0x1d9)]=_0x1fa762[_0x29d7aa(0x1c4)]?_0x1fa762[_0x29d7aa(0x1c4)][_0x29d7aa(0x1d9)]:_0x1fa762[_0x29d7aa(0x1d9)];_seleniumWebdriver2&&(this[_0x29d7aa(0x1f5)]=new _seleniumWebdriver2[(_0x29d7aa(0x1a5))]['Builder']());this['capability']=_0x1fa762[_0x29d7aa(0x1c4)]?_0x1fa762[_0x29d7aa(0x1c4)]['capability']:_0x1fa762['capability'],this['global'][_0x29d7aa(0x1c9)]=_0x553a13[_0x29d7aa(0x1ca)](_0x1fa762['testEnvironmentOptions'][_0x29d7aa(0x1cb)]||0x1388,constants[_0x29d7aa(0x1bd)]),this[_0x29d7aa(0x19c)]=_0x1fa762[_0x29d7aa(0x1d9)][_0x29d7aa(0x1b8)];if(this['failFastOptions']){const _0x266cc6=this[_0x29d7aa(0x19f)][_0x553a13[_0x29d7aa(0x1a3)]]?.[_0x29d7aa(0x1e8)]||'',_0xcf45ee=this[_0x29d7aa(0x19f)][_0x553a13[_0x29d7aa(0x1a3)]]?.[_0x29d7aa(0x1a7)]||'';this[_0x29d7aa(0x1b8)]=new(_0x553a13[_0x29d7aa(0x1b7)](require,_0x553a13[_0x29d7aa(0x1b0)]))(this['failFastOptions'],_0x266cc6,_0xcf45ee),this[_0x29d7aa(0x211)]['failFastActive']=![];}helper['isNotUndefined'](_0x1fa762[_0x29d7aa(0x1d9)][_0x29d7aa(0x214)])&&(this[_0x29d7aa(0x211)]['__jestRetries']=_0x1fa762['testEnvironmentOptions'][_0x29d7aa(0x214)]);}if(testhubUtils[_0x29d7aa(0x1c5)]()){const _0x2cad10=new ObservabilityReporter();_0x2cad10[_0x29d7aa(0x1ab)]();}this[_0x29d7aa(0x211)][_0x29d7aa(0x1f1)]={},this[_0x29d7aa(0x1df)]=_0x1fa762[_0x29d7aa(0x1d9)],this[_0x29d7aa(0x1df)][_0x29d7aa(0x215)]=constants[_0x29d7aa(0x1cc)][_0x29d7aa(0x1ce)],this[_0x29d7aa(0x211)][_0x29d7aa(0x20d)]=(_0x1fa762[_0x29d7aa(0x1c4)]?_0x1fa762[_0x29d7aa(0x1c4)][_0x29d7aa(0x20d)]:_0x1fa762[_0x29d7aa(0x20d)])||0x0,this[_0x29d7aa(0x211)][_0x29d7aa(0x208)]=this[_0x29d7aa(0x1df)]&&this[_0x29d7aa(0x1df)][_0x29d7aa(0x1ae)]&&Array[_0x29d7aa(0x1d6)](this[_0x29d7aa(0x1df)][_0x29d7aa(0x1ae)])&&this[_0x29d7aa(0x1df)][_0x29d7aa(0x1ae)][this[_0x29d7aa(0x211)]['browserstackPlatformIndex']]||{};const _0x3035ec=this[_0x29d7aa(0x211)][_0x29d7aa(0x20d)],_0x159b1a={...this[_0x29d7aa(0x1df)],'capability':this[_0x29d7aa(0x1df)][_0x29d7aa(0x1ea)]&&Array[_0x29d7aa(0x1d6)](this[_0x29d7aa(0x1df)][_0x29d7aa(0x1ea)])&&this[_0x29d7aa(0x1df)]['capabilities'][_0x3035ec]||{},'platformCaps':this[_0x29d7aa(0x1df)][_0x29d7aa(0x1ae)]&&Array[_0x29d7aa(0x1d6)](this[_0x29d7aa(0x1df)][_0x29d7aa(0x1ae)])&&this[_0x29d7aa(0x1df)][_0x29d7aa(0x1ae)][_0x3035ec]||{}};delete _0x159b1a[_0x29d7aa(0x1ea)],this[_0x29d7aa(0x211)][_0x29d7aa(0x1af)]=_0x159b1a;if(_seleniumWebdriver2){const _0x3cc127=_0x553a13['ZxPYM'][_0x29d7aa(0x1aa)]('|');let _0x3b919a=0x0;while(!![]){switch(_0x3cc127[_0x3b919a++]){case'0':this[_0x29d7aa(0x211)]['__drivers']=[];continue;case'1':this[_0x29d7aa(0x211)][_0x29d7aa(0x1f3)]=helper[_0x29d7aa(0x204)](_0x1fa762,[_0x553a13[_0x29d7aa(0x19d)],_0x553a13[_0x29d7aa(0x1dc)],_0x553a13[_0x29d7aa(0x1a9)]]);continue;case'2':this[_0x29d7aa(0x211)][_0x29d7aa(0x1c8)]=helper[_0x29d7aa(0x204)](_0x1fa762,[_0x553a13[_0x29d7aa(0x19d)],_0x553a13[_0x29d7aa(0x1dc)],_0x553a13['ZDmiS']]);continue;case'3':this[_0x29d7aa(0x211)][_0x29d7aa(0x1f8)]=helper['isTrue'](this[_0x29d7aa(0x1df)][_0x29d7aa(0x1b5)]);continue;case'4':this[_0x29d7aa(0x211)][_0x29d7aa(0x1d0)]=_0x553a13[_0x29d7aa(0x1b7)](require,_0x553a13['eAeAV'])[_0x29d7aa(0x1bc)]({...this[_0x29d7aa(0x1df)],'capability':this['capability']||{}},this,testhubUtils[_0x29d7aa(0x1c5)]());continue;case'5':this[_0x29d7aa(0x211)]['cleanup']=async()=>{const _0x184fa9=_0x29d7aa;await this[_0x184fa9(0x211)][_0x184fa9(0x1ef)][_0x184fa9(0x1c2)](_0x553a13[_0x184fa9(0x1f4)]);};continue;case'6':helper[_0x29d7aa(0x1b4)](this[_0x29d7aa(0x1df)][_0x29d7aa(0x210)])?this['global']['sessionNameProvided']=!![]:this[_0x29d7aa(0x211)]['sessionNameProvided']=![];continue;case'7':this['global'][_0x29d7aa(0x205)]=helper[_0x29d7aa(0x204)](_0x1fa762,[_0x553a13[_0x29d7aa(0x19d)],_0x553a13[_0x29d7aa(0x1dc)],_0x553a13[_0x29d7aa(0x1fb)]]);continue;}break;}}}async[a23_0x536abe(0x1de)](){const _0x3e003e=a23_0x536abe;_seleniumWebdriver2&&(await helper[_0x3e003e(0x1f9)](this['global'][_0x3e003e(0x1a1)]),this['global'][_0x3e003e(0x1d0)][_0x3e003e(0x20b)]=originalBuilder),await RequestQueueHandler[_0x3e003e(0x1e2)]()[_0x3e003e(0x1c3)]();}async[a23_0x536abe(0x1cf)](){}async[a23_0x536abe(0x1b9)](_0x22b572,_0x44070d){const _0x4bc6c4=a23_0x536abe,_0x5ea66b={};_0x5ea66b[_0x4bc6c4(0x212)]=function(_0x30283c,_0x3c62d6){return _0x30283c===_0x3c62d6;},_0x5ea66b['rfnhh']=_0x4bc6c4(0x1e5),_0x5ea66b[_0x4bc6c4(0x203)]=function(_0x4d1208,_0x5a51b2){return _0x4d1208===_0x5a51b2;},_0x5ea66b[_0x4bc6c4(0x1b1)]=_0x4bc6c4(0x20e),_0x5ea66b[_0x4bc6c4(0x1e9)]=_0x4bc6c4(0x1e7),_0x5ea66b[_0x4bc6c4(0x1e3)]=_0x4bc6c4(0x1ac),_0x5ea66b[_0x4bc6c4(0x202)]=function(_0x5dc18d,_0xafd6a){return _0x5dc18d===_0xafd6a;},_0x5ea66b['iNWQw']=_0x4bc6c4(0x1f7),_0x5ea66b[_0x4bc6c4(0x1ff)]=_0x4bc6c4(0x1de);const _0x31bab6=_0x5ea66b,{name:_0x4aaf61}=_0x22b572;if(_0x31bab6['YhbPZ'](_0x4aaf61,_0x31bab6[_0x4bc6c4(0x206)])){this[_0x4bc6c4(0x211)]['testContext']=_0x22b572[_0x4bc6c4(0x1bf)];if(_0x31bab6[_0x4bc6c4(0x203)](this['global'][_0x4bc6c4(0x1d3)],!![])){const _0x2b26eb=_0x22b572[_0x4bc6c4(0x1bf)][_0x4bc6c4(0x1b6)];logger[_0x4bc6c4(0x19e)]('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x2b26eb),_0x22b572[_0x4bc6c4(0x1bf)][_0x4bc6c4(0x20f)]=_0x31bab6[_0x4bc6c4(0x1b1)];}}if(this[_0x4bc6c4(0x1b8)]&&_0x31bab6[_0x4bc6c4(0x203)](_0x4aaf61,_0x31bab6[_0x4bc6c4(0x1e9)]))try{const _0x4b02dd=_0x22b572[_0x4bc6c4(0x1bf)][_0x4bc6c4(0x1d8)][_0x4bc6c4(0x213)](_0x31bab6[_0x4bc6c4(0x1e3)]),_0x5b23f8=_0x22b572[_0x4bc6c4(0x1bf)][_0x4bc6c4(0x1cd)];await this['failFast'][_0x4bc6c4(0x1e6)](_0x4b02dd,_0x5b23f8);const _0x169277=await this[_0x4bc6c4(0x1b8)][_0x4bc6c4(0x1c6)]();_0x31bab6[_0x4bc6c4(0x203)](this[_0x4bc6c4(0x211)][_0x4bc6c4(0x1d3)],![])&&_0x31bab6['bkjrQ'](_0x169277,!![])&&(this[_0x4bc6c4(0x211)][_0x4bc6c4(0x1d3)]=!![]);}catch(_0x43321d){logger[_0x4bc6c4(0x1c7)](_0x31bab6['iNWQw'],_0x43321d[_0x4bc6c4(0x1f2)]);}_0x31bab6[_0x4bc6c4(0x202)](_0x4aaf61,_0x31bab6[_0x4bc6c4(0x1ff)])&&(this['failFast']&&this[_0x4bc6c4(0x1b8)][_0x4bc6c4(0x1e1)]());}}module['exports']=CustomEnvironment;