browserstack-node-sdk 1.64.1 → 1.64.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadErrors.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/sdkErrorHandler.js +1 -1
  155. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  156. package/src/bin/v2/state/hookState.js +1 -1
  157. package/src/bin/v2/state/testFrameworkState.js +1 -1
  158. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  159. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  160. package/src/bin/v2/utils/jest-utils.js +1 -1
  161. package/src/bin/vanilla-js/command.js +1 -1
  162. package/src/browserStackSdk.js +1 -1
  163. package/src/helpers/BrowserStackSetup.js +1 -1
  164. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  165. package/src/helpers/accessibility-automation/constants.js +1 -1
  166. package/src/helpers/accessibility-automation/helper.js +1 -1
  167. package/src/helpers/accessibility-automation/scripts.js +1 -1
  168. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  169. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  170. package/src/helpers/ats/constants.js +1 -1
  171. package/src/helpers/ats/helper.js +1 -1
  172. package/src/helpers/caCertHelper.js +1 -1
  173. package/src/helpers/capsMapping.js +1 -1
  174. package/src/helpers/central-scanner/constants.js +1 -1
  175. package/src/helpers/central-scanner/helpers.js +1 -1
  176. package/src/helpers/classLogger.js +1 -1
  177. package/src/helpers/driverInitErrorReporter.js +1 -1
  178. package/src/helpers/globals.js +1 -1
  179. package/src/helpers/helper.js +1 -1
  180. package/src/helpers/logger.js +1 -1
  181. package/src/helpers/metadata.js +1 -1
  182. package/src/helpers/patchHelper.js +1 -1
  183. package/src/helpers/patchHelpers.js +1 -1
  184. package/src/helpers/percy/Percy.js +1 -1
  185. package/src/helpers/percy/PercyBinary.js +1 -1
  186. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  187. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  188. package/src/helpers/percy/PercySDK.js +1 -1
  189. package/src/helpers/percy/index.js +1 -1
  190. package/src/helpers/percy/utils.js +1 -1
  191. package/src/helpers/performance/constants.js +1 -1
  192. package/src/helpers/performance/performance-tester.js +1 -1
  193. package/src/helpers/playwright-helper.js +1 -1
  194. package/src/helpers/processHelper.js +1 -1
  195. package/src/helpers/puppeteer-helper.js +1 -1
  196. package/src/helpers/request-spy.js +1 -1
  197. package/src/helpers/setKeepAlive.js +1 -1
  198. package/src/helpers/stackFrameUtils.js +1 -1
  199. package/src/helpers/test-observability/constants.js +1 -1
  200. package/src/helpers/test-observability/error-handler.js +1 -1
  201. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  202. package/src/helpers/test-observability/sessionHandler.js +1 -1
  203. package/src/helpers/test-observability/utils.js +1 -1
  204. package/src/helpers/test-orchestration/constants.js +1 -1
  205. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  206. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  207. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  208. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  209. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  210. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  211. package/src/helpers/testhub/constants.js +1 -1
  212. package/src/helpers/testhub/testhubHandler.js +1 -1
  213. package/src/helpers/testhub/utils.js +1 -1
  214. package/src/helpers/timeoutPromise.js +1 -1
  215. package/src/helpers/utilities.js +1 -1
  216. package/src/helpers/w3cMapping.js +1 -1
  217. package/src/hubAllocationMethods.js +1 -1
  218. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';const a16_0x17963d=a16_0x5e22;(function(_0x39219c,_0x3c43ca){const _0xe1c022=a16_0x5e22,_0x4cb4c8=_0x39219c();while(!![]){try{const _0x2b362e=-parseInt(_0xe1c022(0xcc))/0x1*(-parseInt(_0xe1c022(0xa0))/0x2)+parseInt(_0xe1c022(0xc4))/0x3+-parseInt(_0xe1c022(0xa9))/0x4*(parseInt(_0xe1c022(0xb5))/0x5)+-parseInt(_0xe1c022(0xef))/0x6*(parseInt(_0xe1c022(0xe3))/0x7)+-parseInt(_0xe1c022(0xa5))/0x8+parseInt(_0xe1c022(0xa2))/0x9+-parseInt(_0xe1c022(0xfc))/0xa*(-parseInt(_0xe1c022(0xff))/0xb);if(_0x2b362e===_0x3c43ca)break;else _0x4cb4c8['push'](_0x4cb4c8['shift']());}catch(_0xeb771b){_0x4cb4c8['push'](_0x4cb4c8['shift']());}}}(a16_0x3d8a,0x4e136));const util=require(a16_0x17963d(0xe9)),logger=require(a16_0x17963d(0x104))[a16_0x17963d(0x10a)],helper=require(a16_0x17963d(0xd7)),globals=require(a16_0x17963d(0xb4)),{shouldProcessEventForTesthub}=require(a16_0x17963d(0x108)),testHubConstants=require(a16_0x17963d(0xec)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x17963d(0xb3)),accessibilityRetryHelper=require(a16_0x17963d(0xb6)),testRunMap=require(a16_0x17963d(0xf1));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x17963d(0xdb)][a16_0x17963d(0xa7)]||process[a16_0x17963d(0xdb)][a16_0x17963d(0x103)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a16_0x4a27ba){logger[a16_0x17963d(0x9c)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a16_0x17963d(0xa8)](a16_0x4a27ba));}try{if(_bstackConfig&&!helper['getPackageVersion'](a16_0x17963d(0xe5))){const mOGmZJ=a16_0x17963d(0xf6)['split']('|');let hAPoMu=0x0;while(!![]){switch(mOGmZJ[hAPoMu++]){case'0':shouldProcessEventForTesthub()?require(a16_0x17963d(0xd4))['browserstackAgentV2'](_bstackConfig,null,!![]):require(a16_0x17963d(0xd4))[a16_0x17963d(0xb8)](_bstackConfig);continue;case'1':helper[a16_0x17963d(0xf8)]()?(global['__skipSessionName']=helper['isTrue'](_bstackConfig[a16_0x17963d(0xcd)]),global[a16_0x17963d(0x90)]=helper[a16_0x17963d(0xdd)](_bstackConfig[a16_0x17963d(0xac)])):(global[a16_0x17963d(0xb1)]=!![],global['__skipSessionStatus']=!![]);continue;case'2':logger[a16_0x17963d(0x9c)]('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'3':global[a16_0x17963d(0x93)]=_bstackConfig[a16_0x17963d(0xda)]||{};continue;case'4':global[a16_0x17963d(0x99)]=_bstackConfig['platformIndex'];continue;}break;}}}catch(a16_0x3a3302){logger[a16_0x17963d(0x9c)](a16_0x17963d(0x96)+util[a16_0x17963d(0xa8)](a16_0x3a3302));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0xd771e3=a16_0x17963d,_0x34b214={'DHurT':function(_0x1c0159,_0x5d185f){return _0x1c0159(_0x5d185f);},'uQQCM':_0xd771e3(0xc3),'PCYlG':function(_0x4e0b17,_0x13fbd9){return _0x4e0b17(_0x13fbd9);},'qbLRX':_0xd771e3(0xa3),'AGMFF':_0xd771e3(0xca)},_0x5fff78=Error[_0xd771e3(0xee)];try{const _0x25158d=new Error();Error[_0xd771e3(0xee)]=(_0xd61a77,_0x669e4f)=>_0x669e4f;const _0xd998f9=_0x25158d[_0xd771e3(0xb2)];Error[_0xd771e3(0xee)]=_0x5fff78;if(Array[_0xd771e3(0x10b)](_0xd998f9))for(const _0x28689b of _0xd998f9){const _0x2904d4=_0x28689b['getFileName']&&_0x28689b[_0xd771e3(0x10e)]();if(_0x2904d4&&!_0x2904d4[_0xd771e3(0xf4)](_0xd771e3(0x92)+_0x34b214['DHurT'](require,_0x34b214[_0xd771e3(0x91)])[_0xd771e3(0xdf)]+'jasmine'+_0x34b214['PCYlG'](require,_0x34b214[_0xd771e3(0x91)])[_0xd771e3(0xdf)])&&!_0x2904d4[_0xd771e3(0xd2)](_0x34b214['qbLRX'])&&!_0x2904d4[_0xd771e3(0xf4)](_0x34b214[_0xd771e3(0x10c)]))return _0x2904d4;}}catch(_0x22c8f7){Error['prepareStackTrace']=_0x5fff78;}return null;},_wrappedDescribe=function(_0x4eba0b,_0x2d47c9){const _0x308f3c=a16_0x17963d,_0x2ab699={'xdSUm':function(_0x29869c){return _0x29869c();},'uHqlO':function(_0x59eb03,_0x368717){return _0x59eb03&&_0x368717;},'cGZWC':function(_0x5014c5,_0x494317,_0x1bff12){return _0x5014c5(_0x494317,_0x1bff12);}};let _0x3163f1=null;try{_0x3163f1=_0x2ab699[_0x308f3c(0x9a)](_resolveCallerFile);}catch(_0x1b9d62){}_describeTitleStack[_0x308f3c(0xd5)](_0x4eba0b);const _0x59262d=_describeTitleStack[_0x308f3c(0xc0)]('\x20');_0x2ab699['uHqlO'](_0x3163f1,_0x59262d)&&(_fileNameByFullName[_0x59262d]=_0x3163f1);try{return _0x2ab699[_0x308f3c(0xcf)](_origDescribe,_0x4eba0b,_0x2d47c9);}finally{_describeTitleStack['pop']();}};Object['keys'](_origDescribe)[a16_0x17963d(0xeb)](_0x1e77cf=>{_wrappedDescribe[_0x1e77cf]=_origDescribe[_0x1e77cf];}),global[a16_0x17963d(0xa1)]=_wrappedDescribe;}}catch(a16_0x51c572){logger[a16_0x17963d(0x9c)]('[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20'+util['format'](a16_0x51c572));}try{if(typeof jasmine!==a16_0x17963d(0x109)&&jasmine['getEnv']){const BrowserStackJasmineReporter=require(a16_0x17963d(0xb9)),a16_0x301fba={};a16_0x301fba[a16_0x17963d(0xaa)]=_fileNameByFullName,jasmine['getEnv']()['addReporter'](new BrowserStackJasmineReporter(a16_0x301fba)),logger[a16_0x17963d(0x9c)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger['debug'](a16_0x17963d(0xfe));}catch(a16_0x20234a){logger['debug'](a16_0x17963d(0xd9)+util['format'](a16_0x20234a));}try{typeof jasmine!=='undefined'&&jasmine[a16_0x17963d(0xd1)]&&jasmine[a16_0x17963d(0xd1)]()['addReporter']({'specStarted'(_0x138417){const _0x5ef171=a16_0x17963d,_0x5839c9={};_0x5839c9[_0x5ef171(0xe7)]=function(_0x10e5d7,_0x5dce87){return _0x10e5d7||_0x5dce87;};const _0xec500e=_0x5839c9;_activeResultId=_0x138417&&_0x138417['id'],_activeFullName=_0x138417&&_0x138417['fullName'],_activeResultRef=_0xec500e[_0x5ef171(0xe7)](_0x138417,null);},'specDone'(){}});}catch(a16_0x513b9d){logger[a16_0x17963d(0x9c)](a16_0x17963d(0xbe)+util[a16_0x17963d(0xa8)](a16_0x513b9d));}const _resolveAutoScanning=()=>{const _0xb5d23a=a16_0x17963d,_0x13c0dc={};_0x13c0dc['nWwOi']=function(_0x287ccc,_0x18bc67){return _0x287ccc===_0x18bc67;};const _0x88b614=_0x13c0dc;let _0x4508ed=!![];try{const _0x294f08=JSON[_0xb5d23a(0x10f)](process[_0xb5d23a(0xdb)][_0xb5d23a(0x110)]||'{}');_0x88b614['nWwOi'](_0x294f08[_0xb5d23a(0xc9)],![])&&(_0x4508ed=![]);}catch(_0x2ff167){logger[_0xb5d23a(0x9c)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x2ff167[_0xb5d23a(0xe1)]);}return _0x4508ed;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x350fa9=a16_0x17963d,_0x6477b={'qidbI':function(_0x1ed5c3){return _0x1ed5c3();},'BfrSp':function(_0x5c977b,_0x5cd882,_0x5e6f8c){return _0x5c977b(_0x5cd882,_0x5e6f8c);},'hjxte':function(_0x1b2622,_0xbaf3a9){return _0x1b2622&&_0xbaf3a9;},'sMKrA':_0x350fa9(0xe0),'NlLXw':_0x350fa9(0xae)};try{const _0x1215d4=_0x6477b[_0x350fa9(0xe2)](_resolveAutoScanning),_0x5f4c53=_0x6477b[_0x350fa9(0xce)](shouldScanTestForAccessibility,null,![]),_0xf28936=_0x6477b[_0x350fa9(0x100)](_0x1215d4,_0x5f4c53);globals[_0x350fa9(0xc2)](_0x6477b['sMKrA'],_0xf28936),globals['setGlobal'](_0x6477b[_0x350fa9(0xe8)],null);}catch(_0x3520fa){logger[_0x350fa9(0x9c)]('[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'+util[_0x350fa9(0xa8)](_0x3520fa));}}),typeof afterEach==='function'&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x5a9c49=a16_0x17963d,_0x1d8475={'KgDCW':function(_0x3f764b,_0x118e8a){return _0x3f764b>_0x118e8a;},'rNUOQ':function(_0x20cb3d,_0x34925c){return _0x20cb3d>_0x34925c;},'vpQvy':_0x5a9c49(0xa4),'ookVB':function(_0x36aaa3,_0x396afc){return _0x36aaa3+_0x396afc;},'jsDcs':_0x5a9c49(0xf3),'MBQVb':'Passed','apZWE':'error','QDLLY':_0x5a9c49(0xc5),'UJWhz':'failed','Ibryv':'passed','ZfhHU':function(_0x4a0db0){return _0x4a0db0();},'qpqUz':_0x5a9c49(0xfa),'JMIQW':_0x5a9c49(0xe0),'LJFMi':_0x5a9c49(0xc8),'CrrFG':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','rbdAt':'[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','GgYdE':_0x5a9c49(0xd8),'quzGs':_0x5a9c49(0xed),'jmPJX':_0x5a9c49(0x102),'swPyA':_0x5a9c49(0xdc)};try{if(Array['isArray'](global[_0x5a9c49(0xde)])&&_0x1d8475[_0x5a9c49(0xaf)](global[_0x5a9c49(0xde)][_0x5a9c49(0xad)],0x0)&&global[_0x5a9c49(0xde)][0x0]){const _0x561666=_activeFullName||global['sessionName'];if(!global[_0x5a9c49(0xb1)]&&_0x561666){global[_0x5a9c49(0xc6)]=_0x561666;try{await global['__drivers'][0x0][_0x5a9c49(0x9f)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x5a9c49(0xf5)](_0x561666)+'}}'),global['__drivers'][0x0][_0x5a9c49(0xbc)]=!![];}catch(_0x3199f2){logger['debug'](_0x5a9c49(0xbb)+util[_0x5a9c49(0xa8)](_0x3199f2));}}if(!global[_0x5a9c49(0x90)])try{const _0x16ebed=_activeResultRef&&Array[_0x5a9c49(0x10b)](_activeResultRef[_0x5a9c49(0xbf)])?_activeResultRef[_0x5a9c49(0xbf)]:[],_0x4baffd=_0x1d8475[_0x5a9c49(0x106)](_0x16ebed[_0x5a9c49(0xad)],0x0),_0x3cd9dc=_0x4baffd?_0x16ebed[0x0]&&_0x16ebed[0x0][_0x5a9c49(0xe1)]||_0x1d8475[_0x5a9c49(0x97)]:null;try{await global[_0x5a9c49(0xde)][0x0][_0x5a9c49(0x9f)](_0x5a9c49(0x9b)+JSON[_0x5a9c49(0xf5)](_0x4baffd?_0x1d8475['ookVB'](_0x1d8475[_0x5a9c49(0xc7)],_0x3cd9dc):_0x1d8475[_0x5a9c49(0xf7)])+_0x5a9c49(0x111)+(_0x4baffd?_0x1d8475['apZWE']:_0x1d8475[_0x5a9c49(0xd3)])+_0x5a9c49(0x94));}catch(_0x128e46){logger['debug'](_0x5a9c49(0xf0)+util['format'](_0x128e46));}_0x4baffd&&(global[_0x5a9c49(0x95)]=!![]),await helper[_0x5a9c49(0xc1)](global[_0x5a9c49(0xde)][0x0],_0x4baffd?_0x1d8475[_0x5a9c49(0x9e)]:_0x1d8475['Ibryv'],_0x3cd9dc);}catch(_0x4e1731){logger[_0x5a9c49(0x9c)](_0x5a9c49(0x101)+util['format'](_0x4e1731));}}}catch(_0x4c34b1){logger[_0x5a9c49(0x9c)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x5a9c49(0xa8)](_0x4c34b1));}try{if(_0x1d8475['ZfhHU'](isAccessibilityAutomationSession)&&globals[_0x5a9c49(0xe6)](_0x1d8475[_0x5a9c49(0xf9)])&&Array[_0x5a9c49(0x10b)](global[_0x5a9c49(0xde)])&&_0x1d8475[_0x5a9c49(0x106)](global[_0x5a9c49(0xde)]['length'],0x0)&&global[_0x5a9c49(0xde)][0x0]){const _0x2b00f5=testRunMap['get'](_activeResultId),_0x4c07be={};_0x4c07be[_0x5a9c49(0xcb)]=_0x2b00f5,_0x4c07be[_0x5a9c49(0xea)]=process[_0x5a9c49(0xdb)][testHubConstants['ENV_VAR'][_0x5a9c49(0x98)]],_0x4c07be[_0x5a9c49(0x105)]=process['env'][testHubConstants[_0x5a9c49(0xfb)]['BROWSERSTACK_TESTHUB_JWT']];const _0x254b7e=_0x4c07be;logger[_0x5a9c49(0x9c)](_0x5a9c49(0x107)+JSON['stringify'](_0x254b7e));if(globals[_0x5a9c49(0xe6)](_0x1d8475['JMIQW'])){logger[_0x5a9c49(0x9c)](_0x1d8475[_0x5a9c49(0xd0)]);const _0x27e967=await accessibilityRetryHelper[_0x5a9c49(0xba)](global['__drivers'][0x0],global[_0x5a9c49(0xab)]);_0x27e967?logger[_0x5a9c49(0x9c)](_0x1d8475[_0x5a9c49(0xfd)]):logger[_0x5a9c49(0xbd)](_0x1d8475[_0x5a9c49(0xd6)]);}else logger['debug'](_0x1d8475[_0x5a9c49(0xf2)]);globals[_0x5a9c49(0xe6)](_0x1d8475[_0x5a9c49(0x9d)])&&(_0x254b7e[_0x5a9c49(0xb7)]=!![]);const _0x4bc582=await accessibilityRetryHelper[_0x5a9c49(0xa6)](global['__drivers'][0x0],_0x254b7e);_0x4bc582?logger['debug'](_0x1d8475[_0x5a9c49(0xe4)]):logger[_0x5a9c49(0xbd)](_0x1d8475['swPyA']);}}catch(_0x51b0f6){logger['error'](_0x5a9c49(0x10d)+util[_0x5a9c49(0xa8)](_0x51b0f6));}});}catch(a16_0x43be05){logger['debug'](a16_0x17963d(0xb0)+util[a16_0x17963d(0xa8)](a16_0x43be05));}function a16_0x3d8a(){const _0x226e23=['performScanWithRetry','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','sessionNameSet__','warn','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','failedExpectations','join','markSessionStatus','setGlobal','path','841407IkSGYF','info','sessionName','jsDcs','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','autoScanning','jasmine-core','thTestRunUuid','1gDqxBN','skipSessionName','BfrSp','cGZWC','LJFMi','getEnv','startsWith','QDLLY','../../index','push','rbdAt','../../helpers/helper','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','platformCaps','env','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','isTrue','__drivers','sep','bstackA11yShouldScan','message','qidbI','7OCZqDP','jmPJX','@playwright/test','getGlobal','kZwWo','NlLXw','util','thBuildUuid','forEach','../../helpers/testhub/constants','isMobilePlatform','prepareStackTrace','3128628cHIxWJ','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','./testRunMap','GgYdE','Failed:\x20','includes','stringify','2|0|3|4|1','MBQVb','isBrowserstackInfra','qpqUz','isAccessibilityPlatform','ENV_VAR','1129420vBhghF','CrrFG','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','11AaIBfG','hjxte','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','CONFIG','../../helpers/logger','thJwtToken','rNUOQ','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','../../helpers/testhub/utils','undefined','winstonLogger','isArray','AGMFF','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','getFileName','parse','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML',',\x22level\x22:\x20\x22','__skipSessionStatus','uQQCM','bin','__platformCaps','\x22}}','__sessionFailed','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','vpQvy','BROWSERSTACK_TESTHUB_UUID','browserstackPlatformIndex','xdSUm','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','debug','quzGs','UJWhz','executeScript','1233394dFKAVf','describe','2959434RBXeVc','node:','Spec\x20failed','140632WxUSvS','saveAccessibilityResultsWithRetry','BROWSERSTACK_JASMINE_CONFIG','format','892HxUHFy','fileNameByFullName','browserstackSessionName','skipSessionStatus','length','bstackA11yScanOptions','KgDCW','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','__skipSessionName','stack','../../helpers/accessibility-automation/helper','../../helpers/globals','10765XrGCGp','../../helpers/accessibility-automation/accessibilityRetryHelper','is_mobile_session','browserstackAgentV2','./bstack-reporter/customReporter'];a16_0x3d8a=function(){return _0x226e23;};return a16_0x3d8a();}function a16_0x5e22(_0x31e0a6,_0x5b3b31){const _0x3d8a7d=a16_0x3d8a();return a16_0x5e22=function(_0x5e22c6,_0x264a27){_0x5e22c6=_0x5e22c6-0x90;let _0x318d6c=_0x3d8a7d[_0x5e22c6];return _0x318d6c;},a16_0x5e22(_0x31e0a6,_0x5b3b31);}module['exports']={};
1
+ 'use strict';const a16_0x28a1f4=a16_0x280f;(function(_0x1fd5b2,_0x31e24d){const _0xe0c33a=a16_0x280f,_0x293d7=_0x1fd5b2();while(!![]){try{const _0x27c649=-parseInt(_0xe0c33a(0x120))/0x1+-parseInt(_0xe0c33a(0x17e))/0x2+-parseInt(_0xe0c33a(0x191))/0x3*(parseInt(_0xe0c33a(0x123))/0x4)+-parseInt(_0xe0c33a(0x14d))/0x5*(parseInt(_0xe0c33a(0x19c))/0x6)+-parseInt(_0xe0c33a(0x14b))/0x7*(-parseInt(_0xe0c33a(0x15c))/0x8)+-parseInt(_0xe0c33a(0x17f))/0x9+parseInt(_0xe0c33a(0x160))/0xa;if(_0x27c649===_0x31e24d)break;else _0x293d7['push'](_0x293d7['shift']());}catch(_0x5eba46){_0x293d7['push'](_0x293d7['shift']());}}}(a16_0x316a,0xb1907));const util=require('util'),logger=require(a16_0x28a1f4(0x12c))[a16_0x28a1f4(0x13b)],helper=require(a16_0x28a1f4(0x13d)),globals=require(a16_0x28a1f4(0x179)),{shouldProcessEventForTesthub}=require(a16_0x28a1f4(0x178)),testHubConstants=require(a16_0x28a1f4(0x11c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x28a1f4(0x132)),accessibilityRetryHelper=require(a16_0x28a1f4(0x152)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;function a16_0x280f(_0x5644ab,_0x42275f){const _0x316aae=a16_0x316a();return a16_0x280f=function(_0x280fd7,_0x4c91dc){_0x280fd7=_0x280fd7-0x119;let _0x48ea37=_0x316aae[_0x280fd7];return _0x48ea37;},a16_0x280f(_0x5644ab,_0x42275f);}try{const rawConfig=process['env'][a16_0x28a1f4(0x190)]||process[a16_0x28a1f4(0x17a)][a16_0x28a1f4(0x14c)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a16_0x2ae383){logger[a16_0x28a1f4(0x18a)](a16_0x28a1f4(0x168)+util[a16_0x28a1f4(0x16d)](a16_0x2ae383));}try{if(_bstackConfig&&!helper['getPackageVersion'](a16_0x28a1f4(0x183))){const GXWREf=a16_0x28a1f4(0x12a)[a16_0x28a1f4(0x154)]('|');let Rtzrhl=0x0;while(!![]){switch(GXWREf[Rtzrhl++]){case'0':global['browserstackPlatformIndex']=_bstackConfig[a16_0x28a1f4(0x143)];continue;case'1':helper[a16_0x28a1f4(0x14f)]()?(global['__skipSessionName']=helper[a16_0x28a1f4(0x1a1)](_bstackConfig[a16_0x28a1f4(0x157)]),global[a16_0x28a1f4(0x196)]=helper['isTrue'](_bstackConfig[a16_0x28a1f4(0x173)])):(global[a16_0x28a1f4(0x13f)]=!![],global['__skipSessionStatus']=!![]);continue;case'2':shouldProcessEventForTesthub()?require('../../index')[a16_0x28a1f4(0x11e)](_bstackConfig,null,!![]):require(a16_0x28a1f4(0x11f))['browserstackAgentV2'](_bstackConfig);continue;case'3':logger['debug'](a16_0x28a1f4(0x136));continue;case'4':global[a16_0x28a1f4(0x12d)]=_bstackConfig[a16_0x28a1f4(0x165)]||{};continue;}break;}}}catch(a16_0x16851b){logger[a16_0x28a1f4(0x18a)](a16_0x28a1f4(0x189)+util['format'](a16_0x16851b));}const _fileNameByFullName={};try{if(typeof describe===a16_0x28a1f4(0x155)&&typeof global!==a16_0x28a1f4(0x16c)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x5c9aef=a16_0x28a1f4,_0x3debd6={'ckAkk':function(_0x96d44e,_0x1e7c5c){return _0x96d44e(_0x1e7c5c);},'ygcia':_0x5c9aef(0x148),'cpwpO':function(_0x5d6263,_0x442bec){return _0x5d6263(_0x442bec);},'vRCJB':'node:','QzLbx':_0x5c9aef(0x153)},_0x2c4110=Error[_0x5c9aef(0x15e)];try{const _0x11e1fd=new Error();Error[_0x5c9aef(0x15e)]=(_0x312a1d,_0x47684a)=>_0x47684a;const _0x4d1320=_0x11e1fd[_0x5c9aef(0x16b)];Error['prepareStackTrace']=_0x2c4110;if(Array[_0x5c9aef(0x119)](_0x4d1320))for(const _0x545b6b of _0x4d1320){const _0x11c940=_0x545b6b[_0x5c9aef(0x18e)]&&_0x545b6b[_0x5c9aef(0x18e)]();if(_0x11c940&&!_0x11c940[_0x5c9aef(0x1a0)]('bin'+_0x3debd6[_0x5c9aef(0x13e)](require,_0x3debd6[_0x5c9aef(0x15b)])[_0x5c9aef(0x198)]+_0x5c9aef(0x17c)+_0x3debd6[_0x5c9aef(0x164)](require,_0x3debd6[_0x5c9aef(0x15b)])[_0x5c9aef(0x198)])&&!_0x11c940[_0x5c9aef(0x134)](_0x3debd6[_0x5c9aef(0x159)])&&!_0x11c940[_0x5c9aef(0x1a0)](_0x3debd6['QzLbx']))return _0x11c940;}}catch(_0x424150){Error[_0x5c9aef(0x15e)]=_0x2c4110;}return null;},_wrappedDescribe=function(_0x572abe,_0xfb2559){const _0x57fac7=a16_0x28a1f4,_0x39bf37={'FvPKw':function(_0x180cde){return _0x180cde();},'clkRR':function(_0x471071,_0x42e32f){return _0x471071&&_0x42e32f;},'FcVNG':function(_0x144ef8,_0x117a3d,_0x433b1e){return _0x144ef8(_0x117a3d,_0x433b1e);}};let _0x3ac286=null;try{_0x3ac286=_0x39bf37[_0x57fac7(0x170)](_resolveCallerFile);}catch(_0x46a278){}_describeTitleStack[_0x57fac7(0x17b)](_0x572abe);const _0x3159a8=_describeTitleStack['join']('\x20');_0x39bf37['clkRR'](_0x3ac286,_0x3159a8)&&(_fileNameByFullName[_0x3159a8]=_0x3ac286);try{return _0x39bf37['FcVNG'](_origDescribe,_0x572abe,_0xfb2559);}finally{_describeTitleStack['pop']();}};Object[a16_0x28a1f4(0x19a)](_origDescribe)[a16_0x28a1f4(0x18c)](_0x492870=>{_wrappedDescribe[_0x492870]=_origDescribe[_0x492870];}),global[a16_0x28a1f4(0x161)]=_wrappedDescribe;}}catch(a16_0x390723){logger[a16_0x28a1f4(0x18a)](a16_0x28a1f4(0x17d)+util[a16_0x28a1f4(0x16d)](a16_0x390723));}try{if(typeof jasmine!==a16_0x28a1f4(0x16c)&&jasmine[a16_0x28a1f4(0x127)]){const BrowserStackJasmineReporter=require('./bstack-reporter/customReporter'),a16_0x2beb0f={};a16_0x2beb0f[a16_0x28a1f4(0x193)]=_fileNameByFullName,jasmine[a16_0x28a1f4(0x127)]()[a16_0x28a1f4(0x11b)](new BrowserStackJasmineReporter(a16_0x2beb0f)),logger[a16_0x28a1f4(0x18a)](a16_0x28a1f4(0x140));}else logger[a16_0x28a1f4(0x18a)]('[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered');}catch(a16_0x5e59c8){logger[a16_0x28a1f4(0x18a)](a16_0x28a1f4(0x129)+util[a16_0x28a1f4(0x16d)](a16_0x5e59c8));}function a16_0x316a(){const _0x5715b2=['__sessionFailed','startsWith','jjyXH','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','passed','yBttq','qAMvE','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','winstonLogger','performScanWithRetry','../../helpers/helper','ckAkk','__skipSessionName','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','edCVw','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','platformIndex','thTestRunUuid','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','ENV_VAR','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','path','is_mobile_session','autoScanning','1635151sQOJlT','CONFIG','7750ssITfx','error','isBrowserstackInfra','Spec\x20failed','sessionNameSet__','../../helpers/accessibility-automation/accessibilityRetryHelper','jasmine-core','split','function','RblOv','skipSessionName','BROWSERSTACK_TESTHUB_JWT','vRCJB','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','ygcia','24JpGUsI','kWIKM','prepareStackTrace','failedExpectations','34397740SIcMfU','describe','nGOcG','get','cpwpO','platformCaps','thBuildUuid','DlxTe','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','KZerx','stack','undefined','format','spqVq','bxbYZ','FvPKw','mfXyd','exports','skipSessionStatus','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','isMobilePlatform','rJTjM','length','../../helpers/testhub/utils','../../helpers/globals','env','push','jasmine','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','723050sDVwld','2541708gNDbvZ','MIWkP','BgTfD','message','@playwright/test','miiou','bstackA11yScanOptions','qrHdP',',\x22level\x22:\x20\x22','BROWSERSTACK_TESTHUB_UUID','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','debug','failed','forEach','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','getFileName','wfAYl','BROWSERSTACK_JASMINE_CONFIG','2853969jZHdfE','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','fileNameByFullName','VBOju','Passed','__skipSessionStatus','Failed:\x20','sep','stringify','keys','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','4326wRGofn','eVevd','thJwtToken','executeScript','includes','isTrue','isArray','getGlobal','addReporter','../../helpers/testhub/constants','setGlobal','browserstackAgentV2','../../index','700440UxeSQn','__drivers','zsMuH','4pyVtuA','parse','NwnvR','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','getEnv','\x22}}','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','3|2|4|0|1','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','../../helpers/logger','__platformCaps','zeWPc','WhDxf','warn','markSessionStatus','../../helpers/accessibility-automation/helper'];a16_0x316a=function(){return _0x5715b2;};return a16_0x316a();}try{typeof jasmine!==a16_0x28a1f4(0x16c)&&jasmine['getEnv']&&jasmine[a16_0x28a1f4(0x127)]()['addReporter']({'specStarted'(_0x13fdb4){const _0x465544=a16_0x28a1f4,_0x530bf3={};_0x530bf3['jjyXH']=function(_0x2e7916,_0x37f46d){return _0x2e7916||_0x37f46d;};const _0x290c1a=_0x530bf3;_activeResultId=_0x13fdb4&&_0x13fdb4['id'],_activeFullName=_0x13fdb4&&_0x13fdb4['fullName'],_activeResultRef=_0x290c1a[_0x465544(0x135)](_0x13fdb4,null);},'specDone'(){}});}catch(a16_0xa4b287){logger[a16_0x28a1f4(0x18a)](a16_0x28a1f4(0x169)+util[a16_0x28a1f4(0x16d)](a16_0xa4b287));}const _resolveAutoScanning=()=>{const _0x3934bf=a16_0x28a1f4,_0x573745={};_0x573745[_0x3934bf(0x184)]=function(_0x9837f0,_0x9295ac){return _0x9837f0===_0x9295ac;};const _0x3d26d0=_0x573745;let _0x23b4ac=!![];try{const _0x548604=JSON[_0x3934bf(0x124)](process[_0x3934bf(0x17a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x3d26d0[_0x3934bf(0x184)](_0x548604[_0x3934bf(0x14a)],![])&&(_0x23b4ac=![]);}catch(_0x252153){logger[_0x3934bf(0x18a)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x252153[_0x3934bf(0x182)]);}return _0x23b4ac;};try{typeof beforeEach===a16_0x28a1f4(0x155)&&beforeEach(function bstackA11yBeforeEach(){const _0x484cf2=a16_0x28a1f4,_0x5d9158={'WhDxf':function(_0x3f6600){return _0x3f6600();},'eVevd':function(_0x268c6d,_0x212a45,_0x8a039){return _0x268c6d(_0x212a45,_0x8a039);},'KZerx':function(_0x5600fa,_0x56e02d){return _0x5600fa&&_0x56e02d;},'RblOv':'bstackA11yShouldScan','yBttq':_0x484cf2(0x185)};try{const _0x2e5217=_0x5d9158[_0x484cf2(0x12f)](_resolveAutoScanning),_0x2d8fe5=_0x5d9158[_0x484cf2(0x19d)](shouldScanTestForAccessibility,null,![]),_0x31a9fc=_0x5d9158[_0x484cf2(0x16a)](_0x2e5217,_0x2d8fe5);globals['setGlobal'](_0x5d9158[_0x484cf2(0x156)],_0x31a9fc),globals[_0x484cf2(0x11d)](_0x5d9158[_0x484cf2(0x138)],null);}catch(_0x2d8b30){logger[_0x484cf2(0x18a)](_0x484cf2(0x15a)+util[_0x484cf2(0x16d)](_0x2d8b30));}}),typeof afterEach===a16_0x28a1f4(0x155)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x3e9814=a16_0x28a1f4,_0x3a83df={'mfXyd':function(_0x497da7,_0x28f521){return _0x497da7>_0x28f521;},'zsMuH':_0x3e9814(0x150),'nGOcG':function(_0x3619cb,_0x584123){return _0x3619cb+_0x584123;},'kFZNQ':_0x3e9814(0x197),'spqVq':_0x3e9814(0x195),'bxbYZ':_0x3e9814(0x14e),'qrHdP':'info','VBOju':_0x3e9814(0x18b),'BgTfD':_0x3e9814(0x137),'qAMvE':function(_0x24a844){return _0x24a844();},'MIWkP':'isAccessibilityPlatform','wfAYl':function(_0x1cb03e,_0x380738){return _0x1cb03e>_0x380738;},'flYyX':'bstackA11yShouldScan','edCVw':_0x3e9814(0x126),'rJTjM':_0x3e9814(0x19b),'kLFDd':_0x3e9814(0x18d),'NwnvR':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','DlxTe':_0x3e9814(0x175),'zeWPc':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','kWIKM':_0x3e9814(0x174)};try{if(Array['isArray'](global[_0x3e9814(0x121)])&&_0x3a83df[_0x3e9814(0x171)](global['__drivers'][_0x3e9814(0x177)],0x0)&&global[_0x3e9814(0x121)][0x0]){const _0x3edf7c=_activeFullName||global['sessionName'];if(!global[_0x3e9814(0x13f)]&&_0x3edf7c){global['sessionName']=_0x3edf7c;try{await global['__drivers'][0x0][_0x3e9814(0x19f)](_0x3e9814(0x192)+JSON[_0x3e9814(0x199)](_0x3edf7c)+'}}'),global[_0x3e9814(0x121)][0x0][_0x3e9814(0x151)]=!![];}catch(_0x4e7c9c){logger[_0x3e9814(0x18a)](_0x3e9814(0x12b)+util[_0x3e9814(0x16d)](_0x4e7c9c));}}if(!global[_0x3e9814(0x196)])try{const _0x4a6527=_activeResultRef&&Array['isArray'](_activeResultRef['failedExpectations'])?_activeResultRef[_0x3e9814(0x15f)]:[],_0x6cb666=_0x3a83df[_0x3e9814(0x171)](_0x4a6527['length'],0x0),_0x1abb8c=_0x6cb666?_0x4a6527[0x0]&&_0x4a6527[0x0]['message']||_0x3a83df[_0x3e9814(0x122)]:null;try{await global[_0x3e9814(0x121)][0x0][_0x3e9814(0x19f)](_0x3e9814(0x145)+JSON['stringify'](_0x6cb666?_0x3a83df[_0x3e9814(0x162)](_0x3a83df['kFZNQ'],_0x1abb8c):_0x3a83df[_0x3e9814(0x16e)])+_0x3e9814(0x187)+(_0x6cb666?_0x3a83df[_0x3e9814(0x16f)]:_0x3a83df[_0x3e9814(0x186)])+_0x3e9814(0x128));}catch(_0x329841){logger['debug'](_0x3e9814(0x147)+util[_0x3e9814(0x16d)](_0x329841));}_0x6cb666&&(global[_0x3e9814(0x133)]=!![]),await helper[_0x3e9814(0x131)](global[_0x3e9814(0x121)][0x0],_0x6cb666?_0x3a83df[_0x3e9814(0x194)]:_0x3a83df[_0x3e9814(0x181)],_0x1abb8c);}catch(_0x3f51ab){logger['debug'](_0x3e9814(0x13a)+util[_0x3e9814(0x16d)](_0x3f51ab));}}}catch(_0xfd79c2){logger[_0x3e9814(0x18a)](_0x3e9814(0x142)+util[_0x3e9814(0x16d)](_0xfd79c2));}try{if(_0x3a83df[_0x3e9814(0x139)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x3a83df[_0x3e9814(0x180)])&&Array[_0x3e9814(0x119)](global[_0x3e9814(0x121)])&&_0x3a83df[_0x3e9814(0x18f)](global['__drivers'][_0x3e9814(0x177)],0x0)&&global[_0x3e9814(0x121)][0x0]){const _0x11e06e=testRunMap[_0x3e9814(0x163)](_activeResultId),_0x16d5be={};_0x16d5be[_0x3e9814(0x144)]=_0x11e06e,_0x16d5be[_0x3e9814(0x166)]=process[_0x3e9814(0x17a)][testHubConstants[_0x3e9814(0x146)][_0x3e9814(0x188)]],_0x16d5be[_0x3e9814(0x19e)]=process['env'][testHubConstants[_0x3e9814(0x146)][_0x3e9814(0x158)]];const _0x2e6ebc=_0x16d5be;logger['debug']('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x3e9814(0x199)](_0x2e6ebc));if(globals['getGlobal'](_0x3a83df['flYyX'])){logger['debug'](_0x3a83df[_0x3e9814(0x141)]);const _0x4263a7=await accessibilityRetryHelper[_0x3e9814(0x13c)](global[_0x3e9814(0x121)][0x0],global['browserstackSessionName']);_0x4263a7?logger[_0x3e9814(0x18a)](_0x3a83df[_0x3e9814(0x176)]):logger[_0x3e9814(0x130)](_0x3a83df['kLFDd']);}else logger[_0x3e9814(0x18a)](_0x3a83df[_0x3e9814(0x125)]);globals[_0x3e9814(0x11a)](_0x3a83df[_0x3e9814(0x167)])&&(_0x2e6ebc[_0x3e9814(0x149)]=!![]);const _0xe1f850=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x3e9814(0x121)][0x0],_0x2e6ebc);_0xe1f850?logger['debug'](_0x3a83df[_0x3e9814(0x12e)]):logger[_0x3e9814(0x130)](_0x3a83df[_0x3e9814(0x15d)]);}}catch(_0x5516fe){logger[_0x3e9814(0x14e)]('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x3e9814(0x16d)](_0x5516fe));}});}catch(a16_0x2e37fd){logger[a16_0x28a1f4(0x18a)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20'+util[a16_0x28a1f4(0x16d)](a16_0x2e37fd));}module[a16_0x28a1f4(0x172)]={};
@@ -1 +1 @@
1
- 'use strict';const a17_0x5b49b5=a17_0x1900;(function(_0x129bcd,_0x5265c0){const _0x530842=a17_0x1900,_0x12d295=_0x129bcd();while(!![]){try{const _0x2f9f47=parseInt(_0x530842(0x189))/0x1+parseInt(_0x530842(0x18c))/0x2*(parseInt(_0x530842(0x185))/0x3)+parseInt(_0x530842(0x188))/0x4*(-parseInt(_0x530842(0x18b))/0x5)+parseInt(_0x530842(0x18a))/0x6*(-parseInt(_0x530842(0x184))/0x7)+-parseInt(_0x530842(0x18e))/0x8+parseInt(_0x530842(0x18f))/0x9+parseInt(_0x530842(0x191))/0xa;if(_0x2f9f47===_0x5265c0)break;else _0x12d295['push'](_0x12d295['shift']());}catch(_0x1c6bc4){_0x12d295['push'](_0x12d295['shift']());}}}(a17_0x49e9,0xaa5c4));function a17_0x1900(_0x97b263,_0x2c9bdd){const _0x49e95c=a17_0x49e9();return a17_0x1900=function(_0x190038,_0x1215ee){_0x190038=_0x190038-0x180;let _0xd3806e=_0x49e95c[_0x190038];return _0xd3806e;},a17_0x1900(_0x97b263,_0x2c9bdd);}function a17_0x49e9(){const _0x4ffb93=['10226128NxpuUG','12509199tNBlUq','_size','5360020WNbHqA','size','ytivQ','POtFA','delete','21NHwJgW','3IZxywW','get','set','244FklhOM','950105zCBmPL','1475730YSvvyf','96085uKXIrp','2020292bXButr','AcUMA'];a17_0x49e9=function(){return _0x4ffb93;};return a17_0x49e9();}const _specUuidById=new Map();exports[a17_0x5b49b5(0x187)]=(_0x34129b,_0x2f061b)=>{const _0x4acd57=a17_0x5b49b5,_0x485e76={};_0x485e76['POtFA']=function(_0x379629,_0x340dd6){return _0x379629===_0x340dd6;};const _0x5d5d02=_0x485e76;if(_0x5d5d02[_0x4acd57(0x182)](_0x34129b,undefined)||_0x5d5d02[_0x4acd57(0x182)](_0x34129b,null))return;_specUuidById[_0x4acd57(0x187)](_0x34129b,_0x2f061b);},exports[a17_0x5b49b5(0x186)]=_0x21e490=>{const _0x467048=a17_0x5b49b5,_0x17ad10={};_0x17ad10['AcUMA']=function(_0x4cfb38,_0x2ea664){return _0x4cfb38===_0x2ea664;};const _0x3899fb=_0x17ad10;if(_0x3899fb['AcUMA'](_0x21e490,undefined)||_0x3899fb[_0x467048(0x18d)](_0x21e490,null))return undefined;return _specUuidById[_0x467048(0x186)](_0x21e490);},exports['remove']=_0x48dff0=>{const _0x7da3d1=a17_0x5b49b5,_0x248649={};_0x248649[_0x7da3d1(0x181)]=function(_0x4346c2,_0x5b9a29){return _0x4346c2===_0x5b9a29;};const _0x22edd4=_0x248649;if(_0x22edd4[_0x7da3d1(0x181)](_0x48dff0,undefined)||_0x22edd4[_0x7da3d1(0x181)](_0x48dff0,null))return;_specUuidById[_0x7da3d1(0x183)](_0x48dff0);},exports[a17_0x5b49b5(0x190)]=()=>_specUuidById[a17_0x5b49b5(0x180)];
1
+ 'use strict';const a17_0x4e1b11=a17_0x5b15;function a17_0x10a7(){const _0x2e3c49=['3675976ckFQOM','set','remove','916880lFhCKh','479836ODLFJK','get','delete','zJZJI','227697TzLXrg','DFkGA','419568qGUwfj','217363XRsAJW','332090dHUYxx','CSRHx','_size','2tjYsAb'];a17_0x10a7=function(){return _0x2e3c49;};return a17_0x10a7();}function a17_0x5b15(_0x3b471d,_0x4ed1fd){const _0x10a7cc=a17_0x10a7();return a17_0x5b15=function(_0x5b15ff,_0x28c0db){_0x5b15ff=_0x5b15ff-0x1b3;let _0x543341=_0x10a7cc[_0x5b15ff];return _0x543341;},a17_0x5b15(_0x3b471d,_0x4ed1fd);}(function(_0x24ba3b,_0x78d2cb){const _0x44bc4a=a17_0x5b15,_0x3500ae=_0x24ba3b();while(!![]){try{const _0x15d7e=parseInt(_0x44bc4a(0x1c2))/0x1*(-parseInt(_0x44bc4a(0x1b6))/0x2)+parseInt(_0x44bc4a(0x1bf))/0x3+-parseInt(_0x44bc4a(0x1ba))/0x4+parseInt(_0x44bc4a(0x1b3))/0x5+-parseInt(_0x44bc4a(0x1c1))/0x6+parseInt(_0x44bc4a(0x1bb))/0x7+parseInt(_0x44bc4a(0x1b7))/0x8;if(_0x15d7e===_0x78d2cb)break;else _0x3500ae['push'](_0x3500ae['shift']());}catch(_0x294119){_0x3500ae['push'](_0x3500ae['shift']());}}}(a17_0x10a7,0x258fb));const _specUuidById=new Map();exports[a17_0x4e1b11(0x1b8)]=(_0x567360,_0x26ced2)=>{const _0x160158=a17_0x4e1b11,_0x1d30bc={};_0x1d30bc['DFkGA']=function(_0x1b48c1,_0x4936b6){return _0x1b48c1===_0x4936b6;};const _0x130be2=_0x1d30bc;if(_0x130be2[_0x160158(0x1c0)](_0x567360,undefined)||_0x130be2[_0x160158(0x1c0)](_0x567360,null))return;_specUuidById[_0x160158(0x1b8)](_0x567360,_0x26ced2);},exports[a17_0x4e1b11(0x1bc)]=_0x26a519=>{const _0x5cb6c0=a17_0x4e1b11,_0x34d483={};_0x34d483['CSRHx']=function(_0x31905f,_0x2295c3){return _0x31905f===_0x2295c3;};const _0x321eed=_0x34d483;if(_0x321eed[_0x5cb6c0(0x1b4)](_0x26a519,undefined)||_0x321eed[_0x5cb6c0(0x1b4)](_0x26a519,null))return undefined;return _specUuidById[_0x5cb6c0(0x1bc)](_0x26a519);},exports[a17_0x4e1b11(0x1b9)]=_0x2d03e8=>{const _0x366343=a17_0x4e1b11,_0x5ccdfe={};_0x5ccdfe[_0x366343(0x1be)]=function(_0x5aa80c,_0x11181a){return _0x5aa80c===_0x11181a;};const _0x15787e=_0x5ccdfe;if(_0x15787e[_0x366343(0x1be)](_0x2d03e8,undefined)||_0x15787e[_0x366343(0x1be)](_0x2d03e8,null))return;_specUuidById[_0x366343(0x1bd)](_0x2d03e8);},exports[a17_0x4e1b11(0x1b5)]=()=>_specUuidById['size'];
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a18_0x5c975a=a18_0x2110;(function(_0x4a7965,_0x339629){const _0x25749d=a18_0x2110,_0x4210e1=_0x4a7965();while(!![]){try{const _0x546aac=-parseInt(_0x25749d(0x181))/0x1*(parseInt(_0x25749d(0x13e))/0x2)+parseInt(_0x25749d(0x16d))/0x3+parseInt(_0x25749d(0x115))/0x4*(parseInt(_0x25749d(0xdf))/0x5)+-parseInt(_0x25749d(0xc8))/0x6+-parseInt(_0x25749d(0x15e))/0x7*(parseInt(_0x25749d(0x103))/0x8)+parseInt(_0x25749d(0xef))/0x9+parseInt(_0x25749d(0x175))/0xa*(parseInt(_0x25749d(0x18e))/0xb);if(_0x546aac===_0x339629)break;else _0x4210e1['push'](_0x4210e1['shift']());}catch(_0x5b5ab9){_0x4210e1['push'](_0x4210e1['shift']());}}}(a18_0x1c76,0x3a9a0));function a18_0x1c76(){const _0x5ad4c8=['default','IFHug','getInstance','SDK_SETUP','length','testEnvironment','SDK_CLEANUP','\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','Getting\x20your\x20jest\x20configs\x20from\x20','hrqtp','^puppeteer-core/internal/(.*)','push','retryTestsOnFailure','proxySettings','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','debug','MODULE','Getting\x20your\x20jest\x20configs\x20from\x20package.json','jest_browserstack.config.cjs','BROWSERSTACK_TEST_ACCESSIBILITY_YML','writeFileSync','accessibilityOptions','json','runner','capabilities','getTCGConfigFilePaths','BROWSERSTACK_CAPABILITIES','resolve','config','jest-config/build/readConfigFileAndSetRootDir.js','platform','../../helpers/puppeteer-helper','shouldProcessEventForTesthub','../../helpers/test-observability/constants','start','WFFAU','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','KYzeh','win32','turboScaleUrl','PACKAGE_TYPE','setup','WeSMU','@playwright/test','format','launchBuild','/internal/$1','kbSpr','XlWru','NxkxZ','BSTACK_JEST_TEST_ENV','wotHH','\x20test\x20files\x20to\x20run.','setupBrowserstackLocal','1340844hkGDIw','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','existsSync','pkUow','log',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','setupFilesAfterEnv','customImplements','rmSync','retries__','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','isBrowserstackInfra','./test-observability/test-details','customTestRunnerTemplate.js','findIndex','testTimeout','serial__','requireModule','dirname','winstonLogger',';\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','platformCaps','jest-runner-','345660MugfXA','test_before.setup.js','shutdown','slice','info','\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',',\x20CLI\x20running:\x20','BSTACK_USER_JEST_RUNNER','getHubUrl','false','errorMessage','setupFiles','ulpEn','readInitialOptions','WRGzD','kreJf','2111607JNWKoR','wTsum','lGUJb','LhYyF','eUbLP','timeout__','mRHJs','__isPlaywrightInstalled','TdWWx','SGxdb','../v2/browserstackCLI','@jest/core/build/ReporterDispatcher.js','Deleted\x20fail-fast\x20state\x20folder:\x20','sfSlF','logLevel','../../helpers/accessibility-automation/helper','testObservability','Puppeteer\x20setup\x20error:\x20','parse','handleApp','40QLqfNm','browserStackLogLevel','env','customEnvironment.js','test.setup.js','const\x20config=','rmdirSync','checkAccessibilityPlatformConfig','ZaDiy','npx','UJOOo','child_process','Jievq','message','maxRetries','jest_browserstack.config.js','isRunning','cjs','24OdoAnx','skipSessionStatus','replace','Deleting\x20','test-observability','jest-config','rArsH','customTestRunner.js','../../helpers/playwright-helper','exitCode','Unable\x20to\x20find\x20jest-circus,\x20','cwd','runInBand','customCircus.js','error\x20removing\x20tcg\x20config\x20file','../../helpers/testhub/testhubHandler','testEnvironmentOptions','recursive','Preserving\x20user\x27s\x20Jest\x20runner:\x20','isTestOrchestrationEnabled','BROWSERSTACK_FRAMEWORK','inherit','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','finalExecution','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','IgFHI','jest','moduleNameMapper','isCLIEnabled','cgyRl','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','RjkWL','JARag','JEST','../../helpers/logger','isUndefined','@jest/core','../../helpers/utilities','useW3C','QfEUQ','testSequencer','6150juZMyy','isNotUndefined','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','NvOVo','../../helpers/performance/performance-tester','USER_CONFIG_DETAILS_PATH','setupTCGAuth','../../helpers/performance/constants','reporters','assign','startsWith','ZkFBc','EVENTS','BROWSERSTACK_TEST_OBSERVABILITY_YML','CqMtT','filterBrowserstackArgs','Reodered\x20Test\x20Files:\x20','printBuildLink','bZTKM','jest_browserstack_results.json','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','readFileSync','WmUuE','lqiOY','stop','browserStackPercyOptions','util','clozp','getErrorMessageFromResults','findTestFiles','--config','WAwmV','573377uQnnyk','close','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','unlinkSync','abortBuildOnFailure','jest.config.','package.json','Found:\x20','prepareCapabilities','../../helpers/test-orchestration/testOrchestrationHandler','\x0a\x20\x20\x20\x20\x20\x20','ztgIQ','../../helpers/test-observability/utils','isCliEnabled','platforms','148389WbWPDb','../../helpers/BrowserStackSetup','../../helpers/testhub/utils','daHhn','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','RwMwf','error','playwright','3002580SaGBCJ','djeHE','accessibility','zzAjM','JEST_TEST_ORDER','resolveModule','maxWorkers','skipSessionName','requirePWModule','../../helpers/percy/utils','../utils/clientTroubleshootingService','COqqw','41ckMoET','testRunner','join','getPackageVersion','reorderTestFiles',';\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','mfPXu','wYYXO','../utils/constants','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Jidgx','isEmpty','UbfPI','11bFDdob','MbaAS','workingDir','failFast','FRAMEWORKS','true','stringify','parallelsPerPlatform','exports'];a18_0x1c76=function(){return _0x5ad4c8;};return a18_0x1c76();}function a18_0x2110(_0x45f0ef,_0x3a85a8){const _0x1c769f=a18_0x1c76();return a18_0x2110=function(_0x21102c,_0x11af39){_0x21102c=_0x21102c-0xae;let _0x3635ad=_0x1c769f[_0x21102c];return _0x3635ad;},a18_0x2110(_0x45f0ef,_0x3a85a8);}const fs=require('fs'),path=require('path'),util=require(a18_0x5c975a(0x158)),{spawn}=require(a18_0x5c975a(0x10e)),logger=require(a18_0x5c975a(0x137))[a18_0x5c975a(0xdb)],{default:BrowserStackSetup}=require(a18_0x5c975a(0x16e)),helper=require('../../helpers/helper'),utilities=require(a18_0x5c975a(0x13a)),constants=require(a18_0x5c975a(0x189)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a18_0x5c975a(0x16a)),{debug}=require(a18_0x5c975a(0x16a)),TestDetails=require(a18_0x5c975a(0xd4)),{getPercyOptions}=require(a18_0x5c975a(0x17e)),TestHubHandler=require(a18_0x5c975a(0x124)),testhubUtils=require(a18_0x5c975a(0x16f)),{FRAMEWORKS}=require(a18_0x5c975a(0xb3)),PerformanceTester=require(a18_0x5c975a(0x142)),PerformanceEvents=require(a18_0x5c975a(0x145))[a18_0x5c975a(0x14a)],TestOrchestrationHandler=require(a18_0x5c975a(0x167)),BrowserstackCLI=require(a18_0x5c975a(0xf9)),{checkPwandBootstrapCli}=require(a18_0x5c975a(0x11d)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x5c975a(0xb1)),ClientTroubleShootingService=require(a18_0x5c975a(0x17f)),{checkAccessibilityPlatformConfig}=require(a18_0x5c975a(0xfe)),getUserJestConfigs=async(_0x318f78,_0xc36728)=>{const _0x106957=a18_0x5c975a,_0x3d5333={'RjkWL':_0x106957(0xaf),'SGxdb':_0x106957(0x11a),'MImNK':function(_0x3bb50d,_0xdf10a3){return _0x3bb50d||_0xdf10a3;},'MbaAS':function(_0x3932dc,_0x2f2182){return _0x3932dc(_0x2f2182);},'TrtPe':_0x106957(0x164),'kbSpr':_0x106957(0x1a8),'IgFHI':'mjs','fIKFs':_0x106957(0x114),'WAwmV':_0x106957(0x1ad)};let _0x9f40b9;try{_0x9f40b9=helper[_0x106957(0xd9)](_0x3d5333[_0x106957(0x134)],_0x3d5333[_0x106957(0xf8)]);}catch{const _0x4f8d61=helper[_0x106957(0xd9)](_0x3d5333[_0x106957(0xf8)]);_0x9f40b9={'default':async _0x337244=>{const _0x48df87=_0x106957,_0x102950=await _0x4f8d61[_0x48df87(0xec)](_0x337244,{});return _0x102950[_0x48df87(0xae)];}};}const _0x54a114=_0xc36728[_0x106957(0xd6)](_0x5c6a41=>_0x5c6a41===_0x106957(0x15c));if(!helper[_0x106957(0x138)](_0x318f78[_0x106957(0xae)])){logger[_0x106957(0xe3)](_0x106957(0x19f)+_0x318f78[_0x106957(0xae)]),process[_0x106957(0x105)][_0x106957(0x143)]=_0x318f78['config'];const _0x3d2691=await(0x0,_0x9f40b9[_0x106957(0x197)])(path[_0x106957(0x1b2)](_0x318f78[_0x106957(0xae)]));return _0xc36728['splice'](_0x54a114,0x2),_0x3d5333['MImNK'](_0x3d2691,{});}const _0x5bff91=_0x3d5333[_0x106957(0x18f)](require,path[_0x106957(0x183)](process[_0x106957(0x120)](),_0x3d5333['TrtPe']));if(_0x5bff91[_0x106957(0x12f)])return logger[_0x106957(0xe3)](_0x3d5333[_0x106957(0xc1)]),_0x5bff91[_0x106957(0x12f)];const _0xe8f3bc=['js',_0x3d5333[_0x106957(0x12e)],_0x3d5333['fIKFs'],_0x3d5333[_0x106957(0x15d)],'ts'];for(const _0x4e87ad of _0xe8f3bc){const _0x43e7bd=path[_0x106957(0x183)](process[_0x106957(0x120)](),_0x106957(0x163)+_0x4e87ad);if(fs['existsSync'](_0x43e7bd)){process[_0x106957(0x105)][_0x106957(0x143)]=_0x43e7bd;const _0x526c01=await(0x0,_0x9f40b9[_0x106957(0x197)])(_0x43e7bd);return _0x526c01;}}return{};},getSerial=(_0x1d9f7e,_0x3697d5)=>{const _0x64235e=a18_0x5c975a,_0x5b5136={};_0x5b5136['KYzeh']='true',_0x5b5136['ZdJAh']=function(_0x37424c,_0x25493c){return _0x37424c>_0x25493c;},_0x5b5136[_0x64235e(0x159)]=function(_0x59a732,_0x4c609e){return _0x59a732>_0x4c609e;},_0x5b5136['QfEUQ']=_0x64235e(0xe8);const _0x468826=_0x5b5136;let _0x2bd170=_0x468826[_0x64235e(0xb7)];return _0x468826['ZdJAh'](_0x1d9f7e[_0x64235e(0x19b)],0x1)&&(!_0x3697d5[_0x64235e(0x121)]&&(helper['isUndefined'](_0x3697d5[_0x64235e(0x17b)])||_0x468826[_0x64235e(0x159)](_0x3697d5[_0x64235e(0x17b)],0x1)))&&(_0x2bd170=_0x468826[_0x64235e(0x13c)]),_0x2bd170;},getMaxWorkers=(_0x5999da,_0x5a83c3,_0x5d9933)=>{const _0x2706ff=a18_0x5c975a,_0xcef3ba={'psLxy':function(_0x1eb5d,_0x214cab){return _0x1eb5d(_0x214cab);}};let _0x37ae8e=0x1;if(!helper[_0x2706ff(0x138)](_0x5a83c3['parallelsPerPlatform']))_0x37ae8e=_0xcef3ba['psLxy'](parseInt,_0x5a83c3[_0x2706ff(0x195)]);else{if(!helper[_0x2706ff(0x138)](_0x5999da['maxWorkers']))_0x37ae8e=_0x5999da[_0x2706ff(0x17b)];else!helper['isUndefined'](_0x5d9933[_0x2706ff(0x17b)])&&(_0x37ae8e=_0x5d9933[_0x2706ff(0x17b)]);}return _0x37ae8e;};async function run(_0xff314d,_0x19fc9c,_0x4cedad){const _0x462550=a18_0x5c975a,_0x5e03de={'NvOVo':_0x462550(0x123),'WeSMU':_0x462550(0x12f),'IFHug':function(_0x58b07b,_0x4e3dd1){return _0x58b07b(_0x4e3dd1);},'lGUJb':_0x462550(0xbd),'wotHH':function(_0x518dfa){return _0x518dfa();},'WmUuE':function(_0x31cc34,_0x4866a5,_0x40b3dc,_0x5bb578){return _0x31cc34(_0x4866a5,_0x40b3dc,_0x5bb578);},'pkUow':function(_0x31276f,_0x4a0ffb){return _0x31276f!=_0x4a0ffb;},'wYYXO':_0x462550(0x193),'bZTKM':function(_0x4fd12c,_0xbf666,_0x5e4d85){return _0x4fd12c(_0xbf666,_0x5e4d85);},'sfSlF':_0x462550(0x160),'DlQMi':_0x462550(0xe8),'wTsum':function(_0x564a53,_0x4a1fe4,_0x2964e2,_0xf7fc1e){return _0x564a53(_0x4a1fe4,_0x2964e2,_0xf7fc1e);},'TdWWx':function(_0x2bfeab,_0x2658fd){return _0x2bfeab*_0x2658fd;},'Jidgx':function(_0x35b6a7,_0x3bbeb5){return _0x35b6a7===_0x3bbeb5;},'pVngb':_0x462550(0x1a9),'CqMtT':_0x462550(0x112),'mfPXu':_0x462550(0xcf),'wbNqo':_0x462550(0x151),'ZkFBc':_0x462550(0x11c),'zfxZa':_0x462550(0xd5),'pzIQy':_0x462550(0x106),'zTdXx':function(_0x3a94de,_0x23f8fb){return _0x3a94de!==_0x23f8fb;},'Jievq':'jest-runner','daHhn':'jest-runner-','LhYyF':'jest.setup.js','eUbLP':'customSequencer.js','JARag':_0x462550(0x152),'ZaDiy':'jest-circus','oqJmW':'jest-circus/build/runner.js','BvwZv':function(_0x573d63,_0x47d474){return _0x573d63(_0x47d474);},'pFztW':_0x462550(0x119),'qkdMU':'data-hooks.js','RwMwf':_0x462550(0x122),'cgyRl':_0x462550(0xe0),'NxkxZ':_0x462550(0x12b),'iriAf':_0x462550(0x174),'EDFRN':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','kreJf':_0x462550(0x107),'zzAjM':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','yulag':function(_0x39bc76,_0x33fd8a){return _0x39bc76&&_0x33fd8a;},'ozsZI':_0x462550(0xc9),'tKgiU':'puppeteer','UbfPI':'puppeteer-core/package.json','rArsH':_0x462550(0x197),'lqiOY':function(_0xe4b448,_0x24def3,_0x43aed8){return _0xe4b448(_0x24def3,_0x43aed8);},'COqqw':_0x462550(0xfa),'XlWru':_0x462550(0x139),'mRHJs':_0x462550(0xb6),'ulpEn':function(_0x16d31c,_0x57da0c){return _0x16d31c>_0x57da0c;},'WFFAU':_0x462550(0x171),'WRGzD':_0x462550(0x15c),'hrqtp':_0x462550(0x10c),'UJOOo':_0x462550(0xb8),'djeHE':_0x462550(0x12a),'ztgIQ':_0x462550(0x15f)},_0x3b4750=helper[_0x462550(0x184)](_0x5e03de['lGUJb']);global[_0x462550(0xf6)]=!!_0x3b4750;const _0x23c13a=_0x5e03de[_0x462550(0xc5)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x23c13a;helper[_0x462550(0xd3)]()?(await _0x4cedad['initialize'](_0xff314d),await helper[_0x462550(0x102)](_0x4cedad[_0x462550(0xae)])):await _0x4cedad[_0x462550(0x144)]();if(_0x3b4750)await _0x5e03de[_0x462550(0x154)](checkPwandBootstrapCli,_0x3b4750,constants[_0x462550(0x192)][_0x462550(0x136)],_0x4cedad);else _0x23c13a&&await _0x5e03de['WmUuE'](checkPuppeteerAndBootstrapCli,_0x23c13a,constants[_0x462550(0x192)]['JEST'],_0x4cedad);!BrowserstackCLI['getInstance']()[_0x462550(0x113)]()&&await _0x4cedad[_0x462550(0xc7)]();if(!_0x4cedad[_0x462550(0xae)])return;_0x5e03de[_0x462550(0xcb)](_0x4cedad['config'][_0x462550(0xff)],null)?process['env'][_0x462550(0x14b)]=_0x4cedad['config'][_0x462550(0xff)]:process[_0x462550(0x105)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5e03de[_0x462550(0x188)];const _0x4ba479=new TestOrchestrationHandler(_0x4cedad[_0x462550(0xae)]),_0x8ab799=await _0x5e03de[_0x462550(0x150)](getUserJestConfigs,_0xff314d,_0x19fc9c);logger[_0x462550(0xe3)](_0x5e03de[_0x462550(0xfc)]);const _0x41fa3d=Object[_0x462550(0x147)]({},_0x8ab799);_0x41fa3d[_0x462550(0x125)]=Object[_0x462550(0x147)]({},_0x41fa3d[_0x462550(0x125)],{'server':helper[_0x462550(0xe7)](_0x4cedad[_0x462550(0xae)]),'environment':_0x8ab799[_0x462550(0x19c)]}),_0x41fa3d[_0x462550(0x125)][_0x462550(0x157)]=_0x5e03de['IFHug'](getPercyOptions,_0x4cedad[_0x462550(0xae)]);const _0x260aa4=helper[_0x462550(0x13b)](_0x4cedad[_0x462550(0xae)]);!helper[_0x462550(0x138)](_0x4cedad[_0x462550(0xae)][_0x462550(0x1ac)])&&(process[_0x462550(0x105)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x462550(0x194)](_0x4cedad[_0x462550(0xae)]['accessibilityOptions']));if(!BrowserstackCLI[_0x462550(0x199)]()[_0x462550(0x113)]()){const _0x11d3c7=await TestHubHandler[_0x462550(0xbf)](FRAMEWORKS['JEST'],_0x4cedad);}const _0x29a77e=helper[_0x462550(0x166)](_0x4cedad[_0x462550(0xae)],_0x260aa4,constants[_0x462550(0x192)]['JEST']);process[_0x462550(0x105)][_0x462550(0x1b1)]=JSON[_0x462550(0x194)](_0x29a77e);let _0x2f0976=_0x4cedad[_0x462550(0xae)][_0x462550(0x177)];_0x2f0976=_0x2f0976||accessibilityHelper[_0x462550(0x10a)](_0x4cedad[_0x462550(0xae)]),process['env'][_0x462550(0x1aa)]=_0x2f0976,logger[_0x462550(0x1a6)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x2f0976+_0x462550(0xe5)+BrowserstackCLI[_0x462550(0x199)]()[_0x462550(0x113)]());if(_0x3b4750)try{const _0x50f8ed=_0x5e03de[_0x462550(0x198)](checkAccessibilityPlatformConfig,_0x4cedad[_0x462550(0xae)]);process[_0x462550(0x105)][_0x462550(0x18a)]=_0x50f8ed?_0x5e03de['wYYXO']:_0x5e03de['DlQMi'],logger[_0x462550(0x1a6)](_0x462550(0x140)+_0x50f8ed+_0x462550(0xcd)+process[_0x462550(0x105)][_0x462550(0x18a)]);}catch(_0x4561b7){logger[_0x462550(0x1a6)](_0x462550(0x1a5)+util[_0x462550(0xbe)](_0x4561b7));}_0x41fa3d[_0x462550(0x125)][_0x462550(0x1af)]=_0x29a77e,_0x41fa3d['testEnvironmentOptions'][_0x462550(0xd8)]=_0x5e03de['bZTKM'](getSerial,_0x29a77e,_0xff314d),_0x41fa3d[_0x462550(0x125)]['parallels__']=_0x5e03de[_0x462550(0xf0)](getMaxWorkers,_0xff314d,_0x4cedad['config'],_0x8ab799),_0x41fa3d[_0x462550(0x125)][_0x462550(0x1a4)]=_0x4cedad[_0x462550(0xae)][_0x462550(0x1a4)],_0x41fa3d[_0x462550(0x125)][_0x462550(0xf4)]=_0x5e03de[_0x462550(0xf7)](_0xff314d[_0x462550(0xd7)],0x1)||0x1388,_0x41fa3d[_0x462550(0x125)]['skipSessionName']=_0x4cedad['config']['testContextOptions'][_0x462550(0x17c)],_0x41fa3d[_0x462550(0x125)][_0x462550(0x116)]=_0x4cedad[_0x462550(0xae)]['testContextOptions'][_0x462550(0x116)],_0x41fa3d[_0x462550(0x125)][_0x462550(0x104)]=_0x4cedad[_0x462550(0xae)][_0x462550(0xfd)],_0x41fa3d[_0x462550(0x125)][_0x462550(0xb9)]=_0x4cedad[_0x462550(0xae)][_0x462550(0xb9)],_0x41fa3d['testEnvironmentOptions'][_0x462550(0xdd)]=_0x4cedad[_0x462550(0xae)][_0x462550(0x16c)];const _0x1190b6=helper['parseTestOrchestrationOptions'](_0x4cedad[_0x462550(0xae)]);if(!helper[_0x462550(0x18c)](_0x1190b6)){helper[_0x462550(0x13f)](_0x1190b6['retryTestsOnFailure'])&&(_0x41fa3d[_0x462550(0x125)][_0x462550(0xd1)]=_0x1190b6[_0x462550(0x1a3)][_0x462550(0x111)]);if(helper[_0x462550(0x13f)](_0x1190b6[_0x462550(0x162)])&&helper['isNotUndefined'](_0x1190b6[_0x462550(0x162)][_0x462550(0x190)])){const _0x20d281={};_0x20d281['failureThresholdCount']=_0x1190b6[_0x462550(0x162)]['maxFailures'],_0x20d281['workingDir']=_0x1190b6[_0x462550(0x162)][_0x462550(0x190)],_0x41fa3d[_0x462550(0x125)][_0x462550(0x191)]=_0x20d281;}}let _0x5632db='';_0x5e03de[_0x462550(0x18b)](helper['getPackageType'](),constants[_0x462550(0xba)][_0x462550(0x1a7)])?_0x5632db=_0x5e03de['pVngb']:_0x5632db=_0x5e03de[_0x462550(0x14c)];const _0x512a75=_0x5632db,_0x7b9b27=path[_0x462550(0x183)](__dirname,_0x5e03de['mfPXu'],_0x5e03de['wbNqo']),_0x274d50=path[_0x462550(0x183)](__dirname,_0x5e03de[_0x462550(0x187)],_0x5e03de[_0x462550(0x149)]),_0x2fa1ca=path['join'](__dirname,_0x5e03de['mfPXu'],_0x5e03de['zfxZa']);_0x41fa3d[_0x462550(0x19c)]&&(process[_0x462550(0x105)][_0x462550(0xc4)]=_0x41fa3d[_0x462550(0x19c)]);_0x41fa3d[_0x462550(0x19c)]=path[_0x462550(0x183)](__dirname,_0x5e03de[_0x462550(0x187)],_0x5e03de['pzIQy']);const _0x39952d=_0x8ab799[_0x462550(0x1ae)];if(_0x39952d&&_0x5e03de['zTdXx'](_0x39952d,_0x5e03de[_0x462550(0x10f)])){const _0x30d371=_0x39952d[_0x462550(0x148)](_0x5e03de[_0x462550(0x170)])?_0x39952d:_0x462550(0xde)+_0x39952d;process['env'][_0x462550(0xe6)]=_0x30d371,logger[_0x462550(0xe3)](_0x462550(0x127)+_0x30d371);}_0x41fa3d[_0x462550(0x1ae)]=_0x274d50,_0x41fa3d['setupFilesAfterEnv']=_0x41fa3d['setupFilesAfterEnv']||[],_0x41fa3d[_0x462550(0xce)][_0x462550(0x1a2)](path[_0x462550(0x183)](__dirname,_0x5e03de[_0x462550(0xf2)]));_0x4ba479[_0x462550(0x128)]()&&(_0x41fa3d[_0x462550(0x13d)]=path['join'](__dirname,_0x5e03de[_0x462550(0x187)],_0x5e03de[_0x462550(0xf3)]));if(testhubUtils[_0x462550(0xb2)]()||BrowserstackCLI[_0x462550(0x199)]()[_0x462550(0x16b)]()){let _0x406cc1=null;try{_0x406cc1=helper[_0x462550(0xd9)](_0x5e03de[_0x462550(0x135)],_0x5e03de['ZaDiy']);}catch(_0xfa4837){try{_0x406cc1=helper[_0x462550(0xd9)](_0x5e03de['oqJmW'],_0x5e03de[_0x462550(0x10b)]);}catch(_0x22be0f){_0x5e03de['BvwZv'](debug,_0x462550(0x11f)+_0x22be0f);}}_0x406cc1&&(testhubUtils[_0x462550(0xb2)]()&&_0x41fa3d[_0x462550(0xce)][_0x462550(0x1a2)](path['join'](__dirname,_0x5e03de['pFztW'],_0x5e03de['qkdMU'])),_0x41fa3d[_0x462550(0x182)]=path[_0x462550(0x183)](__dirname,_0x5e03de['mfPXu'],_0x5e03de[_0x462550(0x172)]));}_0x41fa3d[_0x462550(0xea)]=_0x41fa3d['setupFiles']||[];try{helper['requireSeleniumWebdriver'](),_0x41fa3d[_0x462550(0xea)][_0x462550(0x1a2)](path['join'](__dirname,_0x5e03de[_0x462550(0x132)]));}catch{logger['debug'](_0x5e03de[_0x462550(0xc3)]);}try{helper[_0x462550(0x17d)]['apply'](null,[_0x5e03de[_0x462550(0xf1)],_0x5e03de['iriAf']]),logger[_0x462550(0x1a6)](_0x5e03de['EDFRN']),_0x41fa3d[_0x462550(0xea)]['push'](path[_0x462550(0x183)](__dirname,_0x5e03de[_0x462550(0xee)]));}catch(_0x2b646a){logger[_0x462550(0x1a6)](_0x5e03de[_0x462550(0x178)],_0x2b646a);}if(_0x5e03de['yulag'](!_0x3b4750,_0x23c13a)){try{logger[_0x462550(0x1a6)](_0x5e03de['ozsZI']),_0x41fa3d[_0x462550(0xce)]['push'](path[_0x462550(0x183)](__dirname,'..',_0x5e03de['tKgiU'],_0x5e03de[_0x462550(0xee)]));}catch(_0x5cae74){logger['debug'](_0x462550(0x100)+_0x5cae74[_0x462550(0x110)]);}try{const _0x524395=require[_0x462550(0x1b2)](_0x5e03de[_0x462550(0x18d)]),_0x302d75=path[_0x462550(0xda)](_0x524395)[_0x462550(0x117)](/\\/g,'/'),_0x490993={};_0x490993[_0x462550(0x1a1)]=_0x302d75+_0x462550(0xc0),_0x41fa3d['moduleNameMapper']=Object[_0x462550(0x147)]({},_0x41fa3d[_0x462550(0x130)]||{},_0x490993),logger['debug'](_0x462550(0x133)+_0x302d75);}catch(_0x870e7f){logger[_0x462550(0x1a6)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x870e7f[_0x462550(0x110)]);}}_0x41fa3d[_0x462550(0x146)]=_0x41fa3d[_0x462550(0x146)]||[_0x5e03de[_0x462550(0x11b)]],_0x5e03de[_0x462550(0x155)](updateTestRerunConfig,_0x41fa3d,_0x4cedad);const _0x15dc4b=fs[_0x462550(0x153)](_0x2fa1ca),_0x55c74c=helper[_0x462550(0x17a)](_0x5e03de[_0x462550(0x180)],_0x5e03de[_0x462550(0xc2)]);!_0x55c74c[_0x462550(0x173)]?fs[_0x462550(0x1ab)](_0x41fa3d[_0x462550(0x1ae)],_0x462550(0x168)+_0x15dc4b+_0x462550(0x19e)+_0x4cedad[_0x462550(0xae)]['platforms'][_0x462550(0x19b)]+_0x462550(0x186)):fs[_0x462550(0x1ab)](_0x41fa3d[_0x462550(0x1ae)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x15dc4b+_0x462550(0xe4)+_0x4cedad[_0x462550(0xae)][_0x462550(0x16c)][_0x462550(0x19b)]+_0x462550(0xdc));logger['info']('Creating\x20'+_0x512a75+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0x462550(0x1ab)](_0x512a75,_0x462550(0x108)+JSON[_0x462550(0x194)](_0x41fa3d)+'\x0amodule.exports\x20=\x20config;');if(_0x4ba479[_0x462550(0x128)]()){logger[_0x462550(0x1a6)](_0x5e03de[_0x462550(0xf5)]);const _0x2dd224=await _0x4ba479[_0x462550(0x15b)](_0x41fa3d,_0x19fc9c['slice'](0x1),_0x512a75);logger['debug'](_0x462550(0x165)+JSON[_0x462550(0x194)](_0x2dd224)+_0x462550(0xc6));const _0x16a3d5=await _0x4ba479[_0x462550(0x185)](_0x2dd224);logger['debug'](_0x462550(0x14e)+JSON[_0x462550(0x194)](_0x16a3d5)),_0x16a3d5&&_0x5e03de[_0x462550(0xeb)](_0x16a3d5[_0x462550(0x19b)],0x0)&&(process[_0x462550(0x105)][_0x462550(0x179)]=_0x16a3d5?.[_0x462550(0x183)](','));}logger[_0x462550(0xe3)](_0x5e03de[_0x462550(0xb5)]);testhubUtils[_0x462550(0xb2)]()&&TestDetails[_0x462550(0xbb)]();helper[_0x462550(0x14d)]({},_0x19fc9c),PerformanceTester['end'](PerformanceEvents[_0x462550(0x19a)]);const _0x4dee01=[_0x5e03de['WeSMU'],_0x5e03de[_0x462550(0xed)],_0x512a75,..._0x19fc9c[_0x462550(0xe2)](0x1)];process[_0x462550(0x105)][_0x462550(0x129)]=process[_0x462550(0x105)][_0x462550(0x129)]||_0x5e03de['WeSMU'];const _0x13fc7f=_0x5e03de[_0x462550(0x154)](spawn,_0x5e03de[_0x462550(0x1a0)],_0x4dee01,{'shell':_0x5e03de[_0x462550(0x18b)](process[_0x462550(0xb0)],_0x5e03de[_0x462550(0x10d)]),'stdio':_0x5e03de[_0x462550(0x176)],'env':Object[_0x462550(0x147)]({},process[_0x462550(0x105)])});_0x13fc7f['on'](_0x5e03de[_0x462550(0x169)],async _0x2fbf2a=>{const _0x3baa29=_0x462550;PerformanceTester[_0x3baa29(0xb4)](PerformanceEvents[_0x3baa29(0x19d)]);try{const {browserstackFolderPath:_0x486c8e,tcgConfigPath:_0x3c6efc}=helper[_0x3baa29(0x1b0)]();fs[_0x3baa29(0x161)](_0x3c6efc),fs[_0x3baa29(0x109)](_0x486c8e);}catch(_0x4275b1){logger[_0x3baa29(0x1a6)](_0x5e03de[_0x3baa29(0x141)],_0x4275b1);}process[_0x3baa29(0x11e)]=_0x2fbf2a,logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x2fbf2a),logger['info'](_0x3baa29(0x118)+_0x512a75);if(helper[_0x3baa29(0x13f)](_0x1190b6)&&helper[_0x3baa29(0x13f)](_0x1190b6['abortBuildOnFailure'])&&fs[_0x3baa29(0xca)](_0x1190b6[_0x3baa29(0x162)][_0x3baa29(0x190)]))try{const _0x3a2e71={};_0x3a2e71[_0x3baa29(0x126)]=!![],_0x3a2e71['force']=!![],fs[_0x3baa29(0xd0)](_0x1190b6[_0x3baa29(0x162)][_0x3baa29(0x190)],_0x3a2e71),logger[_0x3baa29(0x1a6)](_0x3baa29(0xfb)+_0x1190b6[_0x3baa29(0x162)][_0x3baa29(0x190)]);}catch(_0x51a01c){logger[_0x3baa29(0x173)](_0x3baa29(0x12d)+_0x51a01c);}let _0x376eb5=null;if(fs[_0x3baa29(0xca)](_0x7b9b27)){_0x376eb5=fs[_0x3baa29(0x153)](_0x7b9b27);try{_0x376eb5=JSON[_0x3baa29(0x101)](_0x376eb5);}catch(_0x4b1e2b){logger[_0x3baa29(0x1a6)]('Error\x20while\x20parsing\x20'+_0x7b9b27+',\x20'+_0x376eb5+'\x20:\x20'+_0x4b1e2b);}fs[_0x3baa29(0x161)](_0x7b9b27);}fs[_0x3baa29(0x161)](_0x512a75),fs['unlinkSync'](_0x274d50),_0x376eb5&&(_0x4cedad[_0x3baa29(0xe9)]=helper[_0x3baa29(0x15a)](_0x376eb5,_0x5e03de[_0x3baa29(0xbc)],_0x4cedad));const _0x510225=BrowserstackCLI[_0x3baa29(0x131)]();try{await TestHubHandler[_0x3baa29(0x156)](),await BrowserstackCLI[_0x3baa29(0x199)]()['stop']();}catch(_0xb39621){console[_0x3baa29(0xcc)](_0xb39621),_0x5e03de['IFHug'](debug,_0x3baa29(0xd2)+util['format'](_0xb39621));}testOpsHelper[_0x3baa29(0x14f)](),TestDetails[_0x3baa29(0xe1)](),await utilities[_0x3baa29(0x12c)](_0x4cedad,_0x510225);});}module[a18_0x5c975a(0x196)]=run;
2
+ 'use strict';const a18_0x3687bd=a18_0x4158;(function(_0x3fa1b6,_0x57b8a4){const _0x5e61c3=a18_0x4158,_0x230ec9=_0x3fa1b6();while(!![]){try{const _0x33d67b=parseInt(_0x5e61c3(0x106))/0x1+-parseInt(_0x5e61c3(0x126))/0x2*(parseInt(_0x5e61c3(0x12e))/0x3)+-parseInt(_0x5e61c3(0x1a2))/0x4+parseInt(_0x5e61c3(0x13f))/0x5+parseInt(_0x5e61c3(0xf9))/0x6*(parseInt(_0x5e61c3(0x1d5))/0x7)+parseInt(_0x5e61c3(0x11c))/0x8*(-parseInt(_0x5e61c3(0x1c3))/0x9)+-parseInt(_0x5e61c3(0x1a9))/0xa;if(_0x33d67b===_0x57b8a4)break;else _0x230ec9['push'](_0x230ec9['shift']());}catch(_0x19e1d4){_0x230ec9['push'](_0x230ec9['shift']());}}}(a18_0x567a,0x26cf5));function a18_0x567a(){const _0x2f647f=['readInitialOptions','Ubgyf','launchBuild','878860TDMhrl','jest-circus','Error\x20while\x20parsing\x20','failureThresholdCount','umXRQ','LtTGA','../../helpers/test-observability/constants','runInBand','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','log','child\x20process\x20exited\x20with\x20code\x20','SmvXA','dirname','--config','../../helpers/test-observability/utils','\x0amodule.exports\x20=\x20config;','child_process','BROWSERSTACK_TEST_OBSERVABILITY_YML','reporters','inherit','test_before.setup.js','../../helpers/playwright-helper','@jest/core','abortBuildOnFailure','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','env','JEST','stringify','EVENTS','platform','logLevel','@jest/core/build/ReporterDispatcher.js','aJwkR','startsWith','mMncy','isCLIEnabled','existsSync','Getting\x20your\x20jest\x20configs\x20from\x20','getErrorMessageFromResults','\x20:\x20','BSTACK_USER_JEST_RUNNER','\x0a\x20\x20\x20\x20\x20\x20','testTimeout','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','platforms','getTCGConfigFilePaths','../../helpers/testhub/testhubHandler','error','qqfnm','wfHma','printBuildLink','rmdirSync','requireModule','jest_browserstack.config.js','../../helpers/puppeteer-helper','cwd','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','GKbBW','data-hooks.js','sUDWu','unlinkSync','zWShE','info','lCOst','requirePWModule','SDK_CLEANUP','ACnLr','retryTestsOnFailure','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','proxySettings','setupFiles','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','failFast','__isPlaywrightInstalled','recursive','Preserving\x20user\x27s\x20Jest\x20runner:\x20','fkIPR','ZiDiO','lTUst','message','handleApp','fdFzR','jahwM','FmrTH','isUndefined','dtsbB','../../helpers/logger','sGtLj','jest-runner','__isPuppeteerInstalled','assign','exports','jest-config','splice','prepareCapabilities','jest-runner-',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','530324LlNqzi','getHubUrl','capabilities','path','isNotUndefined','../../helpers/testhub/utils','parseTestOrchestrationOptions','404710rinsfr','MODULE','jest_browserstack.config.cjs','findIndex','USER_CONFIG_DETAILS_PATH','initialize','XcOet','Found:\x20','Puppeteer\x20setup\x20error:\x20','BROWSERSTACK_FRAMEWORK','resolve','AKMMY','../../helpers/performance/constants','push','testRunner','test.setup.js','dRHmt','XoxxR','win32','length','PqrdD','FRAMEWORKS','Getting\x20your\x20jest\x20configs\x20from\x20package.json','pgfTm','xkIPO','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','260559MHmCWy','jest.setup.js','cjs','EpzMD','close','ktqzv','../../helpers/BrowserStackSetup','const\x20config=','sghcX','writeFileSync','QaTBF','reorderTestFiles','findTestFiles','workingDir','platformCaps','isEmpty','parallelsPerPlatform','skipSessionStatus','35hEQAWO','accessibility','yofIN','MDeca','readFileSync','../v2/browserstackCLI','/internal/$1','jOvec','jest_browserstack_results.json','getPackageVersion','../../helpers/helper','ZiJhJ','HrFWa','BROWSERSTACK_CAPABILITIES','checkAccessibilityPlatformConfig','jest-config/build/readConfigFileAndSetRootDir.js','error\x20removing\x20tcg\x20config\x20file','false','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','NtczL','testObservability','testEnvironmentOptions','CZnSF','ivCgn','CNINa','testContextOptions','AIvoF','default','replace','MogrT','puppeteer','abCze','browserStackPercyOptions','SDK_SETUP','JEST_TEST_ORDER','maxWorkers','customTestRunner.js','pbBBp','true','vrzZT','skipSessionName','BSTACK_JEST_TEST_ENV','mjs','exitCode','SOVDs','jest','147234CnjniE','sSHaI','./test-observability/test-details','puppeteer-core/package.json','apply','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','Deleting\x20','runner','testSequencer','serial__','customTestRunnerTemplate.js','Fawqc',',\x20CLI\x20running:\x20','249721WtKAtG','Deleted\x20fail-fast\x20state\x20folder:\x20','format','slice','../utils/constants','npx','PACKAGE_TYPE','setupFilesAfterEnv','../../helpers/accessibility-automation/helper','nnwXm','filterBrowserstackArgs','debug','getInstance','xqZEV','shutdown','retries__','NjpDd','FQopJ','rmSync','../../helpers/performance/performance-tester','useW3C','customSequencer.js','24PCXqaW','Kouwy','isTestOrchestrationEnabled','shouldProcessEventForTesthub','util','yNLJL','BROWSERSTACK_TEST_ACCESSIBILITY_YML','customEnvironment.js','\x20test\x20files\x20to\x20run.','Reodered\x20Test\x20Files:\x20','42rYyPHZ','force','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','turboScaleUrl','hlKeT','accessibilityOptions','stop','isRunning','18474eOJPYH','finalExecution','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','TROuR','@playwright/test','kToys','Unable\x20to\x20find\x20jest-circus,\x20','join','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','eWENd','config','testEnvironment','browserStackLogLevel','end'];a18_0x567a=function(){return _0x2f647f;};return a18_0x567a();}const fs=require('fs'),path=require(a18_0x3687bd(0x1a5)),util=require(a18_0x3687bd(0x120)),{spawn}=require(a18_0x3687bd(0x150)),logger=require(a18_0x3687bd(0x197))[a18_0x3687bd(0xdc)],{default:BrowserStackSetup}=require(a18_0x3687bd(0x1c9)),helper=require(a18_0x3687bd(0xd4)),utilities=require('../../helpers/utilities'),constants=require(a18_0x3687bd(0x10a)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a18_0x3687bd(0x14e)),{debug}=require(a18_0x3687bd(0x14e)),TestDetails=require(a18_0x3687bd(0xfb)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a18_0x3687bd(0x16e)),testhubUtils=require(a18_0x3687bd(0x1a7)),{FRAMEWORKS}=require(a18_0x3687bd(0x145)),PerformanceTester=require(a18_0x3687bd(0x119)),PerformanceEvents=require(a18_0x3687bd(0x1b5))[a18_0x3687bd(0x15c)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a18_0x3687bd(0x1da)),{checkPwandBootstrapCli}=require(a18_0x3687bd(0x155)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x3687bd(0x176)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a18_0x3687bd(0x10e)),getUserJestConfigs=async(_0x3d2ee5,_0x27a547)=>{const _0x54c6cc=a18_0x3687bd,_0x36dea7={'AEUxQ':_0x54c6cc(0xd9),'Kouwy':_0x54c6cc(0x19d),'HrFWa':function(_0x28639e,_0x5460ed){return _0x28639e||_0x5460ed;},'tMgUc':function(_0x2fc51e,_0x52150f){return _0x2fc51e(_0x52150f);},'XcOet':'package.json','BbCaZ':_0x54c6cc(0x1bf),'zWShE':_0x54c6cc(0xf5),'PqrdD':_0x54c6cc(0x1c5),'xJUAe':'json'};let _0x2962e9;try{_0x2962e9=helper[_0x54c6cc(0x174)](_0x36dea7['AEUxQ'],_0x36dea7[_0x54c6cc(0x11d)]);}catch{const _0xd1ec91=helper['requireModule'](_0x36dea7[_0x54c6cc(0x11d)]);_0x2962e9={'default':async _0x4403ae=>{const _0x56216f=_0x54c6cc,_0x4b30e4=await _0xd1ec91[_0x56216f(0x13c)](_0x4403ae,{});return _0x4b30e4[_0x56216f(0x138)];}};}const _0x4f01df=_0x27a547[_0x54c6cc(0x1ac)](_0x42fb5a=>_0x42fb5a===_0x54c6cc(0x14d));if(!helper[_0x54c6cc(0x195)](_0x3d2ee5[_0x54c6cc(0x138)])){logger[_0x54c6cc(0x17e)](_0x54c6cc(0x165)+_0x3d2ee5[_0x54c6cc(0x138)]),process[_0x54c6cc(0x159)][_0x54c6cc(0x1ad)]=_0x3d2ee5[_0x54c6cc(0x138)];const _0x380d24=await(0x0,_0x2962e9[_0x54c6cc(0xe6)])(path[_0x54c6cc(0x1b3)](_0x3d2ee5[_0x54c6cc(0x138)]));return _0x27a547[_0x54c6cc(0x19e)](_0x4f01df,0x2),_0x36dea7[_0x54c6cc(0xd6)](_0x380d24,{});}const _0x14514a=_0x36dea7['tMgUc'](require,path[_0x54c6cc(0x135)](process[_0x54c6cc(0x177)](),_0x36dea7[_0x54c6cc(0x1af)]));if(_0x14514a[_0x54c6cc(0xf8)])return logger[_0x54c6cc(0x17e)](_0x36dea7['BbCaZ']),_0x14514a['jest'];const _0x30fe96=['js',_0x36dea7[_0x54c6cc(0x17d)],_0x36dea7[_0x54c6cc(0x1bd)],_0x36dea7['xJUAe'],'ts'];for(const _0x502fbe of _0x30fe96){const _0x359340=path[_0x54c6cc(0x135)](process['cwd'](),'jest.config.'+_0x502fbe);if(fs[_0x54c6cc(0x164)](_0x359340)){process['env'][_0x54c6cc(0x1ad)]=_0x359340;const _0x106bcc=await(0x0,_0x2962e9['default'])(_0x359340);return _0x106bcc;}}return{};},getSerial=(_0x1e8ed5,_0x2aa579)=>{const _0x39b5e2=a18_0x3687bd,_0x1e018e={};_0x1e018e[_0x39b5e2(0xf7)]=_0x39b5e2(0xf1),_0x1e018e['jOvec']=function(_0x1e0226,_0x4527c8){return _0x1e0226>_0x4527c8;},_0x1e018e[_0x39b5e2(0x1b9)]='false';const _0x52431b=_0x1e018e;let _0x19f588=_0x52431b['SOVDs'];return _0x52431b[_0x39b5e2(0x1dc)](_0x1e8ed5[_0x39b5e2(0x1bc)],0x1)&&(!_0x2aa579[_0x39b5e2(0x146)]&&(helper['isUndefined'](_0x2aa579[_0x39b5e2(0xee)])||_0x52431b[_0x39b5e2(0x1dc)](_0x2aa579['maxWorkers'],0x1)))&&(_0x19f588=_0x52431b[_0x39b5e2(0x1b9)]),_0x19f588;},getMaxWorkers=(_0x35b412,_0x54f17a,_0x135e37)=>{const _0x381706=a18_0x3687bd,_0x5104dd={'SmvXA':function(_0x18fc02,_0x48cae5){return _0x18fc02(_0x48cae5);}};let _0x450900=0x1;if(!helper[_0x381706(0x195)](_0x54f17a[_0x381706(0x1d3)]))_0x450900=_0x5104dd[_0x381706(0x14b)](parseInt,_0x54f17a[_0x381706(0x1d3)]);else{if(!helper[_0x381706(0x195)](_0x35b412[_0x381706(0xee)]))_0x450900=_0x35b412['maxWorkers'];else!helper[_0x381706(0x195)](_0x135e37['maxWorkers'])&&(_0x450900=_0x135e37[_0x381706(0xee)]);}return _0x450900;};function a18_0x4158(_0x3122c5,_0x42524d){const _0x567ab8=a18_0x567a();return a18_0x4158=function(_0x415831,_0x497d7c){_0x415831=_0x415831-0xd3;let _0x147a7c=_0x567ab8[_0x415831];return _0x147a7c;},a18_0x4158(_0x3122c5,_0x42524d);}async function run(_0x1182d1,_0x3a1157,_0x449516){const _0xd2ac22=a18_0x3687bd,_0x32a0ed={'sghcX':_0xd2ac22(0xda),'CNINa':_0xd2ac22(0xf8),'MDeca':function(_0xda4723,_0x5398bb){return _0xda4723(_0x5398bb);},'yNLJL':_0xd2ac22(0x132),'sGtLj':function(_0x43007e){return _0x43007e();},'aJwkR':function(_0xb602d6,_0x4f0d91,_0x2244d5,_0x48bba6){return _0xb602d6(_0x4f0d91,_0x2244d5,_0x48bba6);},'LtTGA':function(_0x381d7e,_0x581d2c,_0x461eab,_0x50fe49){return _0x381d7e(_0x581d2c,_0x461eab,_0x50fe49);},'ojQOv':function(_0x2ddc7a,_0x4722f5){return _0x2ddc7a!=_0x4722f5;},'xqZEV':'true','sSHaI':function(_0x1d27fd,_0x150e90,_0x2ea619){return _0x1d27fd(_0x150e90,_0x2ea619);},'ZiDiO':_0xd2ac22(0x128),'jahwM':function(_0x480476,_0x1c72a1){return _0x480476(_0x1c72a1);},'ACnLr':_0xd2ac22(0xdb),'AKMMY':function(_0x37a418,_0x4e568b){return _0x37a418*_0x4e568b;},'IKdsd':function(_0x17be21,_0x5657d5){return _0x17be21===_0x5657d5;},'wfHma':_0xd2ac22(0x1ab),'MogrT':_0xd2ac22(0x175),'GKbBW':'customImplements','abCze':_0xd2ac22(0x1dd),'kToys':_0xd2ac22(0xef),'Ubgyf':_0xd2ac22(0x103),'qqfnm':_0xd2ac22(0x123),'fdFzR':function(_0x51c568,_0x2b62eb){return _0x51c568!==_0x2b62eb;},'dtsbB':_0xd2ac22(0x199),'AIvoF':_0xd2ac22(0x1a0),'hlKeT':_0xd2ac22(0x1c4),'FmrTH':_0xd2ac22(0x11b),'sUDWu':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','lCOst':_0xd2ac22(0x140),'ktqzv':'jest-circus/build/runner.js','pgfTm':'test-observability','nnwXm':_0xd2ac22(0x17a),'nkdIy':'customCircus.js','Fawqc':_0xd2ac22(0x154),'ZiJhJ':_0xd2ac22(0x187),'FQopJ':'playwright','pbBBp':_0xd2ac22(0x158),'xkIPO':_0xd2ac22(0x1b8),'umXRQ':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','XoxxR':function(_0x431394,_0x4ad406){return _0x431394&&_0x4ad406;},'CZnSF':_0xd2ac22(0x184),'ivCgn':_0xd2ac22(0xe9),'OBykH':_0xd2ac22(0xfc),'ftLyr':_0xd2ac22(0xe6),'TROuR':function(_0x10bc83,_0x2c0948,_0x11fb35){return _0x10bc83(_0x2c0948,_0x11fb35);},'eWENd':_0xd2ac22(0x15f),'fkIPR':_0xd2ac22(0x156),'NjpDd':_0xd2ac22(0x147),'mMncy':function(_0x8887ca,_0x4ef0a6){return _0x8887ca>_0x4ef0a6;},'QaTBF':_0xd2ac22(0x130),'PlLEF':'--config','vrzZT':_0xd2ac22(0x10b),'yofIN':function(_0x443b1d,_0x9a16e5){return _0x443b1d===_0x9a16e5;},'EpzMD':_0xd2ac22(0x1bb),'lTUst':_0xd2ac22(0x153),'NtczL':_0xd2ac22(0x1c7)},_0x16015c=helper[_0xd2ac22(0xd3)](_0x32a0ed['yNLJL']);global[_0xd2ac22(0x18a)]=!!_0x16015c;const _0x4880cc=_0x32a0ed[_0xd2ac22(0x198)](getPuppeteerVersion);global[_0xd2ac22(0x19a)]=!!_0x4880cc;helper['isBrowserstackInfra']()?(await _0x449516[_0xd2ac22(0x1ae)](_0x1182d1),await helper[_0xd2ac22(0x191)](_0x449516[_0xd2ac22(0x138)])):await _0x449516['setupTCGAuth']();if(_0x16015c)await _0x32a0ed['aJwkR'](checkPwandBootstrapCli,_0x16015c,constants[_0xd2ac22(0x1be)][_0xd2ac22(0x15a)],_0x449516);else _0x4880cc&&await _0x32a0ed[_0xd2ac22(0x144)](checkPuppeteerAndBootstrapCli,_0x4880cc,constants[_0xd2ac22(0x1be)][_0xd2ac22(0x15a)],_0x449516);!BrowserstackCLI[_0xd2ac22(0x112)]()['isRunning']()&&await _0x449516['setupBrowserstackLocal']();if(!_0x449516['config'])return;_0x32a0ed['ojQOv'](_0x449516[_0xd2ac22(0x138)][_0xd2ac22(0xdf)],null)?process[_0xd2ac22(0x159)][_0xd2ac22(0x151)]=_0x449516[_0xd2ac22(0x138)][_0xd2ac22(0xdf)]:process[_0xd2ac22(0x159)][_0xd2ac22(0x151)]=_0x32a0ed[_0xd2ac22(0x113)];const _0x4ecfaa=new TestOrchestrationHandler(_0x449516[_0xd2ac22(0x138)]),_0x51c3d0=await _0x32a0ed[_0xd2ac22(0xfa)](getUserJestConfigs,_0x1182d1,_0x3a1157);logger['info'](_0x32a0ed[_0xd2ac22(0x18e)]);const _0x378b9b=Object[_0xd2ac22(0x19b)]({},_0x51c3d0);_0x378b9b[_0xd2ac22(0xe0)]=Object[_0xd2ac22(0x19b)]({},_0x378b9b[_0xd2ac22(0xe0)],{'server':helper[_0xd2ac22(0x1a3)](_0x449516[_0xd2ac22(0x138)]),'environment':_0x51c3d0['testEnvironment']}),_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0xeb)]=_0x32a0ed[_0xd2ac22(0x1d8)](getPercyOptions,_0x449516[_0xd2ac22(0x138)]);const _0x116749=helper[_0xd2ac22(0x11a)](_0x449516[_0xd2ac22(0x138)]);!helper[_0xd2ac22(0x195)](_0x449516[_0xd2ac22(0x138)][_0xd2ac22(0x12b)])&&(process[_0xd2ac22(0x159)][_0xd2ac22(0x1c2)]=JSON[_0xd2ac22(0x15b)](_0x449516[_0xd2ac22(0x138)]['accessibilityOptions']));if(!BrowserstackCLI['getInstance']()[_0xd2ac22(0x12d)]()){const _0x256d8b=await TestHubHandler[_0xd2ac22(0x13e)](FRAMEWORKS[_0xd2ac22(0x15a)],_0x449516);}const _0x1550f0=helper[_0xd2ac22(0x19f)](_0x449516[_0xd2ac22(0x138)],_0x116749,constants[_0xd2ac22(0x1be)][_0xd2ac22(0x15a)]);process[_0xd2ac22(0x159)][_0xd2ac22(0xd7)]=JSON[_0xd2ac22(0x15b)](_0x1550f0);let _0x57b440=_0x449516['config'][_0xd2ac22(0x1d6)];_0x57b440=_0x57b440||accessibilityHelper[_0xd2ac22(0xd8)](_0x449516['config']),process[_0xd2ac22(0x159)][_0xd2ac22(0x122)]=_0x57b440,logger[_0xd2ac22(0x111)](_0xd2ac22(0x16b)+_0x57b440+_0xd2ac22(0x105)+BrowserstackCLI[_0xd2ac22(0x112)]()[_0xd2ac22(0x12d)]());if(_0x16015c)try{const _0x19ebc6=_0x32a0ed[_0xd2ac22(0x193)](checkAccessibilityPlatformConfig,_0x449516[_0xd2ac22(0x138)]);process[_0xd2ac22(0x159)][_0xd2ac22(0xdd)]=_0x19ebc6?_0x32a0ed[_0xd2ac22(0x113)]:_0x32a0ed[_0xd2ac22(0x182)],logger['debug'](_0xd2ac22(0xfe)+_0x19ebc6+',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM='+process[_0xd2ac22(0x159)][_0xd2ac22(0xdd)]);}catch(_0x6b999){logger['debug'](_0xd2ac22(0x178)+util[_0xd2ac22(0x108)](_0x6b999));}_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0x1a4)]=_0x1550f0,_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0x102)]=_0x32a0ed[_0xd2ac22(0xfa)](getSerial,_0x1550f0,_0x1182d1),_0x378b9b[_0xd2ac22(0xe0)]['parallels__']=_0x32a0ed[_0xd2ac22(0x160)](getMaxWorkers,_0x1182d1,_0x449516[_0xd2ac22(0x138)],_0x51c3d0),_0x378b9b['testEnvironmentOptions'][_0xd2ac22(0x185)]=_0x449516[_0xd2ac22(0x138)]['proxySettings'],_0x378b9b[_0xd2ac22(0xe0)]['timeout__']=_0x32a0ed[_0xd2ac22(0x1b4)](_0x1182d1[_0xd2ac22(0x16a)],0x1)||0x1388,_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0xf3)]=_0x449516[_0xd2ac22(0x138)][_0xd2ac22(0xe4)][_0xd2ac22(0xf3)],_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0x1d4)]=_0x449516[_0xd2ac22(0x138)]['testContextOptions']['skipSessionStatus'],_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0x13a)]=_0x449516[_0xd2ac22(0x138)][_0xd2ac22(0x15e)],_0x378b9b['testEnvironmentOptions'][_0xd2ac22(0x129)]=_0x449516['config'][_0xd2ac22(0x129)],_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0x1d1)]=_0x449516['config'][_0xd2ac22(0x16c)];const _0x3bafbd=helper[_0xd2ac22(0x1a8)](_0x449516[_0xd2ac22(0x138)]);if(!helper[_0xd2ac22(0x1d2)](_0x3bafbd)){helper[_0xd2ac22(0x1a6)](_0x3bafbd['retryTestsOnFailure'])&&(_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0x115)]=_0x3bafbd[_0xd2ac22(0x183)]['maxRetries']);if(helper['isNotUndefined'](_0x3bafbd[_0xd2ac22(0x157)])&&helper['isNotUndefined'](_0x3bafbd[_0xd2ac22(0x157)][_0xd2ac22(0x1d0)])){const _0x413366={};_0x413366[_0xd2ac22(0x142)]=_0x3bafbd[_0xd2ac22(0x157)]['maxFailures'],_0x413366['workingDir']=_0x3bafbd['abortBuildOnFailure'][_0xd2ac22(0x1d0)],_0x378b9b['testEnvironmentOptions'][_0xd2ac22(0x189)]=_0x413366;}}let _0x263aa5='';_0x32a0ed['IKdsd'](helper['getPackageType'](),constants[_0xd2ac22(0x10c)][_0xd2ac22(0x1aa)])?_0x263aa5=_0x32a0ed[_0xd2ac22(0x171)]:_0x263aa5=_0x32a0ed[_0xd2ac22(0xe8)];const _0x598b02=_0x263aa5,_0x3ee692=path[_0xd2ac22(0x135)](__dirname,_0x32a0ed[_0xd2ac22(0x179)],_0x32a0ed[_0xd2ac22(0xea)]),_0x228cd5=path[_0xd2ac22(0x135)](__dirname,_0x32a0ed[_0xd2ac22(0x179)],_0x32a0ed[_0xd2ac22(0x133)]),_0x15016e=path['join'](__dirname,_0x32a0ed[_0xd2ac22(0x179)],_0x32a0ed[_0xd2ac22(0x13d)]);_0x378b9b[_0xd2ac22(0x139)]&&(process[_0xd2ac22(0x159)][_0xd2ac22(0xf4)]=_0x378b9b[_0xd2ac22(0x139)]);_0x378b9b[_0xd2ac22(0x139)]=path[_0xd2ac22(0x135)](__dirname,_0x32a0ed[_0xd2ac22(0x179)],_0x32a0ed[_0xd2ac22(0x170)]);const _0x3d667f=_0x51c3d0['runner'];if(_0x3d667f&&_0x32a0ed[_0xd2ac22(0x192)](_0x3d667f,_0x32a0ed[_0xd2ac22(0x196)])){const _0x8f4731=_0x3d667f[_0xd2ac22(0x161)](_0x32a0ed[_0xd2ac22(0xe5)])?_0x3d667f:_0xd2ac22(0x1a0)+_0x3d667f;process['env'][_0xd2ac22(0x168)]=_0x8f4731,logger['info'](_0xd2ac22(0x18c)+_0x8f4731);}_0x378b9b['runner']=_0x228cd5,_0x378b9b['setupFilesAfterEnv']=_0x378b9b['setupFilesAfterEnv']||[],_0x378b9b['setupFilesAfterEnv'][_0xd2ac22(0x1b6)](path['join'](__dirname,_0x32a0ed[_0xd2ac22(0x12a)]));_0x4ecfaa[_0xd2ac22(0x11e)]()&&(_0x378b9b[_0xd2ac22(0x101)]=path[_0xd2ac22(0x135)](__dirname,_0x32a0ed[_0xd2ac22(0x179)],_0x32a0ed[_0xd2ac22(0x194)]));if(testhubUtils[_0xd2ac22(0x11f)]()||BrowserstackCLI[_0xd2ac22(0x112)]()['isCliEnabled']()){let _0x8d2dad=null;try{_0x8d2dad=helper[_0xd2ac22(0x174)](_0x32a0ed[_0xd2ac22(0x17b)],_0x32a0ed[_0xd2ac22(0x17f)]);}catch(_0x3573fe){try{_0x8d2dad=helper[_0xd2ac22(0x174)](_0x32a0ed[_0xd2ac22(0x1c8)],_0x32a0ed[_0xd2ac22(0x17f)]);}catch(_0x1f52d0){_0x32a0ed[_0xd2ac22(0x1d8)](debug,_0xd2ac22(0x134)+_0x1f52d0);}}_0x8d2dad&&(testhubUtils[_0xd2ac22(0x11f)]()&&_0x378b9b[_0xd2ac22(0x10d)][_0xd2ac22(0x1b6)](path[_0xd2ac22(0x135)](__dirname,_0x32a0ed[_0xd2ac22(0x1c0)],_0x32a0ed[_0xd2ac22(0x10f)])),_0x378b9b[_0xd2ac22(0x1b7)]=path[_0xd2ac22(0x135)](__dirname,_0x32a0ed['GKbBW'],_0x32a0ed['nkdIy']));}_0x378b9b[_0xd2ac22(0x186)]=_0x378b9b[_0xd2ac22(0x186)]||[];try{helper['requireSeleniumWebdriver'](),_0x378b9b[_0xd2ac22(0x186)][_0xd2ac22(0x1b6)](path['join'](__dirname,_0x32a0ed[_0xd2ac22(0x104)]));}catch{logger['debug'](_0x32a0ed[_0xd2ac22(0xd5)]);}try{helper[_0xd2ac22(0x180)][_0xd2ac22(0xfd)](null,[_0x32a0ed[_0xd2ac22(0x121)],_0x32a0ed[_0xd2ac22(0x117)]]),logger[_0xd2ac22(0x111)](_0x32a0ed[_0xd2ac22(0xf0)]),_0x378b9b[_0xd2ac22(0x186)][_0xd2ac22(0x1b6)](path[_0xd2ac22(0x135)](__dirname,_0x32a0ed[_0xd2ac22(0x1c1)]));}catch(_0x381310){logger['debug'](_0x32a0ed[_0xd2ac22(0x143)],_0x381310);}if(_0x32a0ed[_0xd2ac22(0x1ba)](!_0x16015c,_0x4880cc)){try{logger['debug'](_0x32a0ed[_0xd2ac22(0xe1)]),_0x378b9b[_0xd2ac22(0x10d)]['push'](path[_0xd2ac22(0x135)](__dirname,'..',_0x32a0ed[_0xd2ac22(0xe2)],_0x32a0ed[_0xd2ac22(0x1c1)]));}catch(_0x490095){logger[_0xd2ac22(0x111)](_0xd2ac22(0x1b1)+_0x490095[_0xd2ac22(0x190)]);}try{const _0x5612e2=require[_0xd2ac22(0x1b3)](_0x32a0ed['OBykH']),_0x51ff8b=path[_0xd2ac22(0x14c)](_0x5612e2)[_0xd2ac22(0xe7)](/\\/g,'/'),_0x4c7547={};_0x4c7547['^puppeteer-core/internal/(.*)']=_0x51ff8b+_0xd2ac22(0x1db),_0x378b9b['moduleNameMapper']=Object['assign']({},_0x378b9b['moduleNameMapper']||{},_0x4c7547),logger['debug'](_0xd2ac22(0x188)+_0x51ff8b);}catch(_0x10b68b){logger['debug'](_0xd2ac22(0x148)+_0x10b68b['message']);}}_0x378b9b[_0xd2ac22(0x152)]=_0x378b9b[_0xd2ac22(0x152)]||[_0x32a0ed['ftLyr']],_0x32a0ed[_0xd2ac22(0x131)](updateTestRerunConfig,_0x378b9b,_0x449516);const _0x6a5738=fs[_0xd2ac22(0x1d9)](_0x15016e),_0x419921=helper['resolveModule'](_0x32a0ed[_0xd2ac22(0x137)],_0x32a0ed[_0xd2ac22(0x18d)]);!_0x419921[_0xd2ac22(0x16f)]?fs[_0xd2ac22(0x1cc)](_0x378b9b[_0xd2ac22(0x100)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x6a5738+'\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'+_0x449516[_0xd2ac22(0x138)][_0xd2ac22(0x16c)][_0xd2ac22(0x1bc)]+_0xd2ac22(0x1a1)):fs[_0xd2ac22(0x1cc)](_0x378b9b[_0xd2ac22(0x100)],_0xd2ac22(0x169)+_0x6a5738+'\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'+_0x449516['config'][_0xd2ac22(0x16c)]['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']('Creating\x20'+_0x598b02+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0xd2ac22(0x1cc)](_0x598b02,_0xd2ac22(0x1ca)+JSON[_0xd2ac22(0x15b)](_0x378b9b)+_0xd2ac22(0x14f));if(_0x4ecfaa['isTestOrchestrationEnabled']()){logger[_0xd2ac22(0x111)](_0x32a0ed[_0xd2ac22(0x116)]);const _0x3fb681=await _0x4ecfaa[_0xd2ac22(0x1cf)](_0x378b9b,_0x3a1157[_0xd2ac22(0x109)](0x1),_0x598b02);logger[_0xd2ac22(0x111)](_0xd2ac22(0x1b0)+JSON[_0xd2ac22(0x15b)](_0x3fb681)+_0xd2ac22(0x124));const _0x39db55=await _0x4ecfaa[_0xd2ac22(0x1ce)](_0x3fb681);logger['debug'](_0xd2ac22(0x125)+JSON[_0xd2ac22(0x15b)](_0x39db55)),_0x39db55&&_0x32a0ed[_0xd2ac22(0x162)](_0x39db55[_0xd2ac22(0x1bc)],0x0)&&(process[_0xd2ac22(0x159)][_0xd2ac22(0xed)]=_0x39db55?.[_0xd2ac22(0x135)](','));}logger[_0xd2ac22(0x17e)](_0x32a0ed[_0xd2ac22(0x1cd)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails['setup']();helper[_0xd2ac22(0x110)]({},_0x3a1157),PerformanceTester[_0xd2ac22(0x13b)](PerformanceEvents[_0xd2ac22(0xec)]);const _0x1e8165=[_0x32a0ed['CNINa'],_0x32a0ed['PlLEF'],_0x598b02,..._0x3a1157['slice'](0x1)];process[_0xd2ac22(0x159)][_0xd2ac22(0x1b2)]=process[_0xd2ac22(0x159)]['BROWSERSTACK_FRAMEWORK']||_0x32a0ed['CNINa'];const _0xb8d58e=_0x32a0ed[_0xd2ac22(0x160)](spawn,_0x32a0ed[_0xd2ac22(0xf2)],_0x1e8165,{'shell':_0x32a0ed[_0xd2ac22(0x1d7)](process[_0xd2ac22(0x15d)],_0x32a0ed[_0xd2ac22(0x1c6)]),'stdio':_0x32a0ed[_0xd2ac22(0x18f)],'env':Object[_0xd2ac22(0x19b)]({},process[_0xd2ac22(0x159)])});_0xb8d58e['on'](_0x32a0ed[_0xd2ac22(0xde)],async _0x4a6e86=>{const _0x483869=_0xd2ac22;PerformanceTester['start'](PerformanceEvents[_0x483869(0x181)]);try{const {browserstackFolderPath:_0x4f26b8,tcgConfigPath:_0xb2a229}=helper[_0x483869(0x16d)]();fs[_0x483869(0x17c)](_0xb2a229),fs[_0x483869(0x173)](_0x4f26b8);}catch(_0x9611a5){logger['debug'](_0x32a0ed[_0x483869(0x1cb)],_0x9611a5);}process[_0x483869(0xf6)]=_0x4a6e86,logger[_0x483869(0x111)](_0x483869(0x14a)+_0x4a6e86),logger[_0x483869(0x17e)](_0x483869(0xff)+_0x598b02);if(helper['isNotUndefined'](_0x3bafbd)&&helper[_0x483869(0x1a6)](_0x3bafbd[_0x483869(0x157)])&&fs[_0x483869(0x164)](_0x3bafbd[_0x483869(0x157)][_0x483869(0x1d0)]))try{const _0x487816={};_0x487816[_0x483869(0x18b)]=!![],_0x487816[_0x483869(0x127)]=!![],fs[_0x483869(0x118)](_0x3bafbd[_0x483869(0x157)][_0x483869(0x1d0)],_0x487816),logger[_0x483869(0x111)](_0x483869(0x107)+_0x3bafbd[_0x483869(0x157)][_0x483869(0x1d0)]);}catch(_0x2979a1){logger[_0x483869(0x16f)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x2979a1);}let _0x515721=null;if(fs[_0x483869(0x164)](_0x3ee692)){_0x515721=fs[_0x483869(0x1d9)](_0x3ee692);try{_0x515721=JSON['parse'](_0x515721);}catch(_0x18eac3){logger['debug'](_0x483869(0x141)+_0x3ee692+',\x20'+_0x515721+_0x483869(0x167)+_0x18eac3);}fs[_0x483869(0x17c)](_0x3ee692);}fs['unlinkSync'](_0x598b02),fs['unlinkSync'](_0x228cd5),_0x515721&&(_0x449516['errorMessage']=helper[_0x483869(0x166)](_0x515721,_0x32a0ed[_0x483869(0xe3)],_0x449516));const _0x26b85f=BrowserstackCLI[_0x483869(0x163)]();try{await TestHubHandler[_0x483869(0x12c)](),await BrowserstackCLI[_0x483869(0x112)]()[_0x483869(0x12c)]();}catch(_0x35e47f){console[_0x483869(0x149)](_0x35e47f),_0x32a0ed[_0x483869(0x1d8)](debug,_0x483869(0x136)+util['format'](_0x35e47f));}testOpsHelper[_0x483869(0x172)](),TestDetails[_0x483869(0x114)](),await utilities[_0x483869(0x12f)](_0x449516,_0x26b85f);});}module[a18_0x3687bd(0x19c)]=run;
@@ -1 +1 @@
1
- function a19_0xca78(_0x24082a,_0x3fee3a){const _0x9c99cd=a19_0x9c99();return a19_0xca78=function(_0xca7856,_0x4a0f94){_0xca7856=_0xca7856-0xda;let _0x2520f4=_0x9c99cd[_0xca7856];return _0x2520f4;},a19_0xca78(_0x24082a,_0x3fee3a);}const a19_0x5d28ab=a19_0xca78;(function(_0xa6fb10,_0x4020aa){const _0x181de6=a19_0xca78,_0x3f6967=_0xa6fb10();while(!![]){try{const _0x314eb7=-parseInt(_0x181de6(0xed))/0x1*(parseInt(_0x181de6(0xe3))/0x2)+parseInt(_0x181de6(0xe4))/0x3*(-parseInt(_0x181de6(0xf1))/0x4)+-parseInt(_0x181de6(0xdb))/0x5*(-parseInt(_0x181de6(0xe0))/0x6)+parseInt(_0x181de6(0xf4))/0x7*(parseInt(_0x181de6(0xe2))/0x8)+-parseInt(_0x181de6(0xea))/0x9*(parseInt(_0x181de6(0xdd))/0xa)+-parseInt(_0x181de6(0xe1))/0xb+parseInt(_0x181de6(0xf0))/0xc;if(_0x314eb7===_0x4020aa)break;else _0x3f6967['push'](_0x3f6967['shift']());}catch(_0x229189){_0x3f6967['push'](_0x3f6967['shift']());}}}(a19_0x9c99,0x62384));const path=require(a19_0x5d28ab(0xf3)),{requireModule}=require(a19_0x5d28ab(0xe6));function a19_0x9c99(){const _0x481c98=['join','6mwaxjJ','8672576FPbVvt','32VuWFmk','2OxLimq','5097bFTpaX','jest-circus/build/runner.js','../../../helpers/helper','iCaAl','requireInternalModule','jest-circus','953244PSTYNo','ibRjZ','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','630197FusElA','jestAdapterInit','customJestAdapterInit.js','22952772xRNKcZ','1052GyEdlb','initRequireModule','path','129619grvgXQ','includes','exports','3523115MBvOsJ','default','40dYbNBL','Ndvux'];a19_0x9c99=function(){return _0x481c98;};return a19_0x9c99();}let initJestAdapter;try{initJestAdapter=requireModule(a19_0x5d28ab(0xec),a19_0x5d28ab(0xe9));}catch{initJestAdapter=requireModule(a19_0x5d28ab(0xe5),a19_0x5d28ab(0xe9));}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a19_0x5d28ab(0xdc)];const FRAMEWORK_INITIALIZER=path[a19_0x5d28ab(0xdf)](__dirname,a19_0x5d28ab(0xef));module[a19_0x5d28ab(0xda)]=(..._0x44647d)=>{const _0x57da68=a19_0x5d28ab,_0x2d0119={'Ndvux':_0x57da68(0xee),'ibRjZ':function(_0x1cff3f,_0x133bd4){return _0x1cff3f===_0x133bd4;},'iCaAl':function(_0x4531fe,..._0x184bb7){return _0x4531fe(..._0x184bb7);}};return _0x44647d[0x3][_0x57da68(0xf2)]=_0x44647d[0x3][_0x57da68(0xe8)],_0x44647d[0x3][_0x57da68(0xe8)]=(..._0x22a186)=>{const _0x4a0e0b=_0x57da68;if(_0x22a186[0x0]&&_0x22a186[0x0][_0x4a0e0b(0xf5)](_0x2d0119[_0x4a0e0b(0xde)])&&_0x2d0119[_0x4a0e0b(0xeb)](_0x22a186[0x1],undefined))return _0x44647d[0x3][_0x4a0e0b(0xf2)](FRAMEWORK_INITIALIZER);return _0x44647d[0x3][_0x4a0e0b(0xf2)](..._0x22a186);},_0x2d0119[_0x57da68(0xe7)](initJestAdapter,..._0x44647d);};
1
+ const a19_0x5189f4=a19_0x22ce;(function(_0xaa9c5,_0x3f75ef){const _0x343a11=a19_0x22ce,_0x3a129c=_0xaa9c5();while(!![]){try{const _0xfb7cc3=-parseInt(_0x343a11(0x128))/0x1*(-parseInt(_0x343a11(0x111))/0x2)+-parseInt(_0x343a11(0x121))/0x3+parseInt(_0x343a11(0x126))/0x4+-parseInt(_0x343a11(0x118))/0x5+parseInt(_0x343a11(0x114))/0x6+parseInt(_0x343a11(0x11e))/0x7*(-parseInt(_0x343a11(0x11b))/0x8)+-parseInt(_0x343a11(0x11d))/0x9*(parseInt(_0x343a11(0x116))/0xa);if(_0xfb7cc3===_0x3f75ef)break;else _0x3a129c['push'](_0x3a129c['shift']());}catch(_0x32dce3){_0x3a129c['push'](_0x3a129c['shift']());}}}(a19_0x58b9,0x58ec9));const path=require(a19_0x5189f4(0x117)),{requireModule}=require(a19_0x5189f4(0x11c));let initJestAdapter;try{initJestAdapter=requireModule(a19_0x5189f4(0x113),a19_0x5189f4(0x115));}catch{initJestAdapter=requireModule(a19_0x5189f4(0x124),'jest-circus');}function a19_0x22ce(_0x382ae8,_0x40237f){const _0x58b9b4=a19_0x58b9();return a19_0x22ce=function(_0x22cef3,_0x224e81){_0x22cef3=_0x22cef3-0x110;let _0x29dd68=_0x58b9b4[_0x22cef3];return _0x29dd68;},a19_0x22ce(_0x382ae8,_0x40237f);}initJestAdapter=typeof initJestAdapter===a19_0x5189f4(0x122)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a19_0x5189f4(0x110)](__dirname,a19_0x5189f4(0x119));module[a19_0x5189f4(0x125)]=(..._0x5087f0)=>{const _0x19579b=a19_0x5189f4,_0x26ce92={'qDcaZ':_0x19579b(0x127),'yhgov':function(_0x3a9cc2,_0x1bdf9b){return _0x3a9cc2===_0x1bdf9b;},'WDPaV':function(_0x305d0f,..._0x81a236){return _0x305d0f(..._0x81a236);}};return _0x5087f0[0x3][_0x19579b(0x112)]=_0x5087f0[0x3][_0x19579b(0x11f)],_0x5087f0[0x3]['requireInternalModule']=(..._0x19eaca)=>{const _0x2d5649=_0x19579b;if(_0x19eaca[0x0]&&_0x19eaca[0x0][_0x2d5649(0x120)](_0x26ce92[_0x2d5649(0x123)])&&_0x26ce92[_0x2d5649(0x11a)](_0x19eaca[0x1],undefined))return _0x5087f0[0x3][_0x2d5649(0x112)](FRAMEWORK_INITIALIZER);return _0x5087f0[0x3]['initRequireModule'](..._0x19eaca);},_0x26ce92['WDPaV'](initJestAdapter,..._0x5087f0);};function a19_0x58b9(){const _0x5a1cde=['362ZeFcMe','initRequireModule','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','3821706DMUWnH','jest-circus','1375950eLBqiB','path','198345DjCJhq','customJestAdapterInit.js','yhgov','183608MgHgnW','../../../helpers/helper','9mGfDUL','7JLWrZC','requireInternalModule','includes','1326342igbjDf','function','qDcaZ','jest-circus/build/runner.js','exports','123840pSrTzt','jestAdapterInit','1871GvJrHV','join'];a19_0x58b9=function(){return _0x5a1cde;};return a19_0x58b9();}
@@ -1 +1 @@
1
- const a20_0x46542d=a20_0x3480;function a20_0x5523(){const _0x24b63f=['900104RQEVbU','test','teardown','percy','../../../helpers/helper','failFastActive','bstack:options','configuration','jestConfig','isArray','skipSessionName','browserstackPlatformIndex','sywNU','BSTACK_JEST_TEST_ENV','projectName','GZbCR','dbrQr','timeout__','nestedKeyValue','ewSfY','quit','__skipSessionStatus','global','modifyCommand','PHodL','testContext','browserStackGlobals','bLxPL','exports','__jestRetries','message','testEnvironmentOptions','LaBPG','tBRcX','onTestDone','../../../index','capabilities','YJeVc','UOzcm','isTrue','retries__','builder','buildName','2864CqTkQB','3|7|2|4|5|6|1|0','7lDfwBY','percyCaptureMode','../../../helpers/test-observability/requestQueueHandler','4365330gwSbKt','jest-config','getTestEnvironment','name','dltUJ','requireSeleniumWebdriver','resolveTestEnvironment','34IluQyd','platformCaps','13085919nxDxDb','skip','XuWXe','FpsQU','WyYCG','capability','sessionNameProvided','wgKay','node','GqLEb','rnrVN','test_done','5kxxPpu','errors','BSTACK_DELTA','3565530rutBrg','shouldProcessEventForTesthub','projectConfig','__esModule','failFastOptions','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','../../utils/constants','jest-resolve','__webdriver','framework','UDbgD','../../../helpers/test-orchestration/failfastManager','browserstackPercyBestPlatform','ioCsF','__drivers','browserStackPercyOptions','default','browserstackAgentV2','mode','\x20>\x20','shouldFailFast','getInstance','cwd','test_start','QmxFN','Builder','driver','__timeout','isBrowserstackInfra','handleTestEvent','OdERC','failFast','22619KvoriJ','4053VMoCTw','setup','ucexH','requireModule','ciAXu','20974162zvoeSE','FRAMEWORKS','cleanup','Error\x20in\x20fail-fast\x20test_done\x20handler:','info','registerListeners','JEST'];a20_0x5523=function(){return _0x24b63f;};return a20_0x5523();}(function(_0x4ab8c1,_0x4f6d3e){const _0x3e2918=a20_0x3480,_0x444eac=_0x4ab8c1();while(!![]){try{const _0x5c2b66=parseInt(_0x3e2918(0x1fe))/0x1*(parseInt(_0x3e2918(0x1cd))/0x2)+parseInt(_0x3e2918(0x1ff))/0x3*(parseInt(_0x3e2918(0x1c1))/0x4)+parseInt(_0x3e2918(0x1db))/0x5*(-parseInt(_0x3e2918(0x1c6))/0x6)+parseInt(_0x3e2918(0x1c3))/0x7*(parseInt(_0x3e2918(0x20b))/0x8)+-parseInt(_0x3e2918(0x1cf))/0x9+-parseInt(_0x3e2918(0x1de))/0xa+parseInt(_0x3e2918(0x204))/0xb;if(_0x5c2b66===_0x4f6d3e)break;else _0x444eac['push'](_0x444eac['shift']());}catch(_0x40ab2c){_0x444eac['push'](_0x444eac['shift']());}}}(a20_0x5523,0xcb5e3));const helper=require(a20_0x46542d(0x20f)),constants=require(a20_0x46542d(0x1e4)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a20_0x46542d(0x1c5)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require('../../../helpers/testhub/utils'),logger=require('../../../helpers/logger')['winstonLogger'],getTestEnvironment=((()=>{const _0x402700=a20_0x46542d,_0x24a150={};_0x24a150[_0x402700(0x1d1)]=_0x402700(0x1e5),_0x24a150['mwhQy']=_0x402700(0x1c7);const _0x5215fd=_0x24a150;try{const _0x59205f=helper[_0x402700(0x202)](_0x5215fd[_0x402700(0x1d1)]);if(_0x59205f[_0x402700(0x1cc)])return _0x59205f[_0x402700(0x1cc)];const _0x471ac6=helper[_0x402700(0x202)](_0x5215fd['mwhQy']);if(_0x471ac6[_0x402700(0x1c8)])return _0x471ac6[_0x402700(0x1c8)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x53c039=a20_0x46542d,_0x5621ee={'tBRcX':function(_0x34da18,_0x2f8458){return _0x34da18(_0x2f8458);},'rnrVN':_0x53c039(0x1d7),'dbrQr':function(_0x33a6fb,_0x4db487){return _0x33a6fb(_0x4db487);},'PHodL':'jest-environment-node'},_0x391b2a=_0x5621ee[_0x53c039(0x1b7)](getTestEnvironment,{'rootDir':process[_0x53c039(0x1f4)](),'testEnvironment':process['env'][_0x53c039(0x218)]||_0x5621ee[_0x53c039(0x1d9)]});if(!_0x391b2a)return _0x5621ee[_0x53c039(0x21b)](_interopRequireDefault,helper['requireModule'](_0x5621ee[_0x53c039(0x223)]));return _0x5621ee[_0x53c039(0x21b)](_interopRequireDefault,helper[_0x53c039(0x202)](_0x391b2a));})()),_seleniumWebdriver2=((()=>{const _0x2635b3=a20_0x46542d,_0x2babe3={'PQWiE':function(_0x4c4496,_0x1e063f){return _0x4c4496(_0x1e063f);}};try{const _0x5c7a1a=helper[_0x2635b3(0x1cb)]();return helper[_0x2635b3(0x222)](),_0x2babe3['PQWiE'](_interopRequireDefault,_0x5c7a1a);}catch{return null;}})());function a20_0x3480(_0x1a3f29,_0x4dc8d9){const _0x55237a=a20_0x5523();return a20_0x3480=function(_0x34802b,_0x23d9a6){_0x34802b=_0x34802b-0x1b7;let _0x46801b=_0x55237a[_0x34802b];return _0x46801b;},a20_0x3480(_0x1a3f29,_0x4dc8d9);}function _interopRequireDefault(_0x28c932){const _0x531099=a20_0x46542d;return _0x28c932&&_0x28c932[_0x531099(0x1e1)]?_0x28c932:{'default':_0x28c932};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a20_0x46542d(0x1ee)][a20_0x46542d(0x1f7)]:null;class CustomEnvironment extends _jestUserEnvironment[a20_0x46542d(0x1ee)]{constructor(_0x48dd15){const _0xd1d4d0=a20_0x46542d,_0x55703d={'GqLEb':_0xd1d4d0(0x21f),'WyYCG':function(_0x161524,_0x6bcbd1){return _0x161524+_0x6bcbd1;},'ciAXu':_0xd1d4d0(0x211),'QmxFN':function(_0x481bd3,_0x52271b){return _0x481bd3(_0x52271b);},'FoFMB':_0xd1d4d0(0x1e9),'dltUJ':_0xd1d4d0(0x1c2),'wgKay':'testEnvironmentOptions','bLxPL':_0xd1d4d0(0x1ed),'GZbCR':_0xd1d4d0(0x1ea),'UDbgD':_0xd1d4d0(0x20e),'dIzyx':_0xd1d4d0(0x1c4),'QNHWN':_0xd1d4d0(0x1b9)};super(_0x48dd15),this['global'][_0xd1d4d0(0x1f9)]=0x0,this[_0xd1d4d0(0x212)]={};!_0x48dd15[_0xd1d4d0(0x22a)]&&(_0x48dd15[_0xd1d4d0(0x22a)]={});if(helper[_0xd1d4d0(0x1fa)]()){_0x48dd15[_0xd1d4d0(0x22a)]=_0x48dd15['projectConfig']?_0x48dd15['projectConfig'][_0xd1d4d0(0x22a)]:_0x48dd15[_0xd1d4d0(0x22a)];_seleniumWebdriver2&&(this[_0xd1d4d0(0x1bf)]=new _seleniumWebdriver2[(_0xd1d4d0(0x1ee))][(_0xd1d4d0(0x1f7))]());this[_0xd1d4d0(0x1d4)]=_0x48dd15[_0xd1d4d0(0x1e0)]?_0x48dd15[_0xd1d4d0(0x1e0)][_0xd1d4d0(0x1d4)]:_0x48dd15[_0xd1d4d0(0x1d4)],this['global'][_0xd1d4d0(0x1f9)]=_0x55703d[_0xd1d4d0(0x1d3)](_0x48dd15['testEnvironmentOptions'][_0xd1d4d0(0x21c)]||0x1388,constants[_0xd1d4d0(0x1dd)]),this['failFastOptions']=_0x48dd15[_0xd1d4d0(0x22a)]['failFast'];if(this[_0xd1d4d0(0x1e2)]){const _0x3caa0c=this[_0xd1d4d0(0x1d4)][_0x55703d[_0xd1d4d0(0x203)]]?.[_0xd1d4d0(0x1c0)]||'',_0xd0048e=this[_0xd1d4d0(0x1d4)][_0x55703d[_0xd1d4d0(0x203)]]?.[_0xd1d4d0(0x219)]||'';this[_0xd1d4d0(0x1fd)]=new(_0x55703d[_0xd1d4d0(0x1f6)](require,_0x55703d['FoFMB']))(this[_0xd1d4d0(0x1e2)],_0x3caa0c,_0xd0048e),this[_0xd1d4d0(0x221)][_0xd1d4d0(0x210)]=![];}helper['isNotUndefined'](_0x48dd15[_0xd1d4d0(0x22a)][_0xd1d4d0(0x1be)])&&(this['global'][_0xd1d4d0(0x228)]=_0x48dd15[_0xd1d4d0(0x22a)][_0xd1d4d0(0x1be)]);}if(testhubUtils[_0xd1d4d0(0x1df)]()){const _0x2f01ba=new ObservabilityReporter();_0x2f01ba[_0xd1d4d0(0x209)]();}this[_0xd1d4d0(0x221)][_0xd1d4d0(0x225)]={},this[_0xd1d4d0(0x212)]=_0x48dd15['testEnvironmentOptions'],this['configuration'][_0xd1d4d0(0x1e7)]=constants[_0xd1d4d0(0x205)][_0xd1d4d0(0x20a)],this[_0xd1d4d0(0x221)][_0xd1d4d0(0x216)]=(_0x48dd15['projectConfig']?_0x48dd15[_0xd1d4d0(0x1e0)][_0xd1d4d0(0x216)]:_0x48dd15['browserstackPlatformIndex'])||0x0,this[_0xd1d4d0(0x221)]['__platformCaps']=this[_0xd1d4d0(0x212)]&&this[_0xd1d4d0(0x212)]['platformCaps']&&Array[_0xd1d4d0(0x214)](this[_0xd1d4d0(0x212)][_0xd1d4d0(0x1ce)])&&this[_0xd1d4d0(0x212)][_0xd1d4d0(0x1ce)][this[_0xd1d4d0(0x221)]['browserstackPlatformIndex']]||{};const _0x18b561=this[_0xd1d4d0(0x221)][_0xd1d4d0(0x216)],_0x36efc1={...this[_0xd1d4d0(0x212)],'capability':this[_0xd1d4d0(0x212)]['capabilities']&&Array[_0xd1d4d0(0x214)](this['configuration'][_0xd1d4d0(0x1ba)])&&this[_0xd1d4d0(0x212)][_0xd1d4d0(0x1ba)][_0x18b561]||{},'platformCaps':this['configuration']['platformCaps']&&Array[_0xd1d4d0(0x214)](this[_0xd1d4d0(0x212)]['platformCaps'])&&this['configuration'][_0xd1d4d0(0x1ce)][_0x18b561]||{}};delete _0x36efc1['capabilities'],this[_0xd1d4d0(0x221)][_0xd1d4d0(0x213)]=_0x36efc1;if(_seleniumWebdriver2){const _0x40c324=_0x55703d[_0xd1d4d0(0x1ca)]['split']('|');let _0x41f592=0x0;while(!![]){switch(_0x40c324[_0x41f592++]){case'0':this['global'][_0xd1d4d0(0x206)]=async()=>{const _0x1dad7c=_0xd1d4d0;await this['global'][_0x1dad7c(0x1f8)]['quit'](_0x55703d[_0x1dad7c(0x1d8)]);};continue;case'1':this[_0xd1d4d0(0x221)][_0xd1d4d0(0x220)]=helper[_0xd1d4d0(0x1bd)](this[_0xd1d4d0(0x212)]['skipSessionStatus']);continue;case'2':this[_0xd1d4d0(0x221)][_0xd1d4d0(0x1ea)]=helper[_0xd1d4d0(0x21d)](_0x48dd15,[_0x55703d[_0xd1d4d0(0x1d6)],_0x55703d[_0xd1d4d0(0x226)],_0x55703d[_0xd1d4d0(0x21a)]]);continue;case'3':this[_0xd1d4d0(0x221)][_0xd1d4d0(0x1ec)]=[];continue;case'4':this['global']['percy']=helper[_0xd1d4d0(0x21d)](_0x48dd15,[_0x55703d[_0xd1d4d0(0x1d6)],_0x55703d[_0xd1d4d0(0x226)],_0x55703d[_0xd1d4d0(0x1e8)]]);continue;case'5':this[_0xd1d4d0(0x221)][_0xd1d4d0(0x1c4)]=helper[_0xd1d4d0(0x21d)](_0x48dd15,[_0x55703d['wgKay'],_0x55703d[_0xd1d4d0(0x226)],_0x55703d['dIzyx']]);continue;case'6':helper[_0xd1d4d0(0x1bd)](this[_0xd1d4d0(0x212)][_0xd1d4d0(0x215)])?this[_0xd1d4d0(0x221)][_0xd1d4d0(0x1d5)]=!![]:this[_0xd1d4d0(0x221)][_0xd1d4d0(0x1d5)]=![];continue;case'7':this['global']['__webdriver']=_0x55703d[_0xd1d4d0(0x1f6)](require,_0x55703d['QNHWN'])[_0xd1d4d0(0x1ef)]({...this[_0xd1d4d0(0x212)],'capability':this[_0xd1d4d0(0x1d4)]||{}},this,testhubUtils[_0xd1d4d0(0x1df)]());continue;}break;}}}async[a20_0x46542d(0x20d)](){const _0xd3bfc7=a20_0x46542d;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this['global']['__driversArray']),this[_0xd3bfc7(0x221)][_0xd3bfc7(0x1e6)][_0xd3bfc7(0x1f7)]=originalBuilder),await RequestQueueHandler[_0xd3bfc7(0x1f3)]()['shutdown']();}async[a20_0x46542d(0x200)](){}async[a20_0x46542d(0x1fb)](_0xb01e01,_0x3934aa){const _0x348a99=a20_0x46542d,_0x2dc4ca={};_0x2dc4ca[_0x348a99(0x1bb)]=function(_0x4f736c,_0x563107){return _0x4f736c===_0x563107;},_0x2dc4ca[_0x348a99(0x1fc)]=_0x348a99(0x1f5),_0x2dc4ca[_0x348a99(0x217)]=function(_0x309fbc,_0x227fc6){return _0x309fbc===_0x227fc6;},_0x2dc4ca[_0x348a99(0x21e)]=_0x348a99(0x1d0),_0x2dc4ca[_0x348a99(0x1bc)]=function(_0x19c56b,_0x2522aa){return _0x19c56b===_0x2522aa;},_0x2dc4ca[_0x348a99(0x201)]=_0x348a99(0x1da),_0x2dc4ca[_0x348a99(0x1eb)]=_0x348a99(0x1f1),_0x2dc4ca[_0x348a99(0x22b)]=_0x348a99(0x207),_0x2dc4ca[_0x348a99(0x1d2)]='teardown';const _0x5c3982=_0x2dc4ca,{name:_0x40e1ec}=_0xb01e01;if(_0x5c3982['YJeVc'](_0x40e1ec,_0x5c3982[_0x348a99(0x1fc)])){this[_0x348a99(0x221)][_0x348a99(0x224)]=_0xb01e01[_0x348a99(0x20c)];if(_0x5c3982['sywNU'](this[_0x348a99(0x221)]['failFastActive'],!![])){const _0x292f91=_0xb01e01[_0x348a99(0x20c)][_0x348a99(0x1c9)];logger[_0x348a99(0x208)](_0x348a99(0x1e3)+_0x292f91),_0xb01e01['test'][_0x348a99(0x1f0)]=_0x5c3982[_0x348a99(0x21e)];}}if(this['failFast']&&_0x5c3982[_0x348a99(0x1bc)](_0x40e1ec,_0x5c3982[_0x348a99(0x201)]))try{const _0x34599b=_0xb01e01[_0x348a99(0x20c)]['testPath']['join'](_0x5c3982[_0x348a99(0x1eb)]),_0x2cf63c=_0xb01e01[_0x348a99(0x20c)][_0x348a99(0x1dc)];await this[_0x348a99(0x1fd)][_0x348a99(0x1b8)](_0x34599b,_0x2cf63c);const _0x46ec58=await this[_0x348a99(0x1fd)][_0x348a99(0x1f2)]();_0x5c3982[_0x348a99(0x1bc)](this[_0x348a99(0x221)][_0x348a99(0x210)],![])&&_0x5c3982[_0x348a99(0x217)](_0x46ec58,!![])&&(this[_0x348a99(0x221)]['failFastActive']=!![]);}catch(_0x3fbc3){logger['debug'](_0x5c3982[_0x348a99(0x22b)],_0x3fbc3[_0x348a99(0x229)]);}_0x5c3982[_0x348a99(0x217)](_0x40e1ec,_0x5c3982[_0x348a99(0x1d2)])&&(this[_0x348a99(0x1fd)]&&this[_0x348a99(0x1fd)][_0x348a99(0x206)]());}}module[a20_0x46542d(0x227)]=CustomEnvironment;
1
+ const a20_0x2da141=a20_0x1abe;function a20_0x1abe(_0x1233f3,_0x34d635){const _0xda86e5=a20_0xda86();return a20_0x1abe=function(_0x1abec4,_0x1698ce){_0x1abec4=_0x1abec4-0x13e;let _0xabd47a=_0xda86e5[_0x1abec4];return _0xabd47a;},a20_0x1abe(_0x1233f3,_0x34d635);}function a20_0xda86(){const _0xd6bb0a=['quit','59588ukkFWN','cwd','__skipSessionStatus','failFastActive','browserStackPercyOptions','../../../helpers/logger','vXhJy','NILmS','2003946HIuYOi','modifyCommand','nZhdg','bHJye','debug','env','99052hZxmeJ','\x20>\x20','../test-observability/obsReporter','pXDqy','sessionNameProvided','jest-environment-node','acxUU','testEnvironmentOptions','Builder','Error\x20in\x20fail-fast\x20test_done\x20handler:','browserStackGlobals','mDNJR','yBIfS','global','configuration','getTestEnvironment','BSTACK_JEST_TEST_ENV','1801311TfpQni','jest-config','failFast','132750lxvoCp','resolveTestEnvironment','name','../../../helpers/testhub/utils','ANRos','retries__','teardown','nestedKeyValue','../../../index','timeout__','failFastOptions','vFTxX','message','isArray','olqxK','test','115vqdxcs','wXSup','__timeout','exports','__driversArray','info','bWGjc','cleanup','testContext','63ePMham','requireSeleniumWebdriver','isNotUndefined','../../../helpers/helper','OjhYL','shouldFailFast','4411170myDIax','node','hDYnn','htIws','driver','isTrue','__platformCaps','../../utils/constants','qXrZi','capability','__webdriver','browserstackAgentV2','percyCaptureMode','browserstackPercyBestPlatform','../../../helpers/test-observability/utils','platformCaps','isBrowserstackInfra','8435960RnGcmU','default','mode','../../../helpers/test-observability/requestQueueHandler','pIriz','projectConfig','__esModule','projectName','Vftch','getInstance','buildName','jest-resolve','HrmXH','browserstackPlatformIndex','LqoYk','skipSessionStatus','mIFXY','handleTestEvent','../../../helpers/test-orchestration/failfastManager','requireModule','join','test_start','winstonLogger','bstack:options','vrwMU','percy','onTestDone'];a20_0xda86=function(){return _0xd6bb0a;};return a20_0xda86();}(function(_0x3b3a16,_0x44900b){const _0x57d529=a20_0x1abe,_0x2f1567=_0x3b3a16();while(!![]){try{const _0x2dabba=parseInt(_0x57d529(0x153))/0x1+-parseInt(_0x57d529(0x15b))/0x2+-parseInt(_0x57d529(0x172))/0x3+-parseInt(_0x57d529(0x161))/0x4*(-parseInt(_0x57d529(0x185))/0x5)+-parseInt(_0x57d529(0x175))/0x6*(-parseInt(_0x57d529(0x18e))/0x7)+parseInt(_0x57d529(0x1a5))/0x8+parseInt(_0x57d529(0x194))/0x9;if(_0x2dabba===_0x44900b)break;else _0x2f1567['push'](_0x2f1567['shift']());}catch(_0x41e235){_0x2f1567['push'](_0x2f1567['shift']());}}}(a20_0xda86,0xbc1ad));const helper=require(a20_0x2da141(0x191)),constants=require(a20_0x2da141(0x19b)),{isTestObservabilitySession}=require(a20_0x2da141(0x1a2)),RequestQueueHandler=require(a20_0x2da141(0x1a8)),ObservabilityReporter=require(a20_0x2da141(0x163)),testhubUtils=require(a20_0x2da141(0x178)),logger=require(a20_0x2da141(0x158))[a20_0x2da141(0x14d)],getTestEnvironment=((()=>{const _0x527eb3=a20_0x2da141,_0x4488bc={};_0x4488bc['qXrZi']=_0x527eb3(0x142),_0x4488bc['bWGjc']=_0x527eb3(0x173);const _0xdb944a=_0x4488bc;try{const _0xf6220f=helper[_0x527eb3(0x14a)](_0xdb944a[_0x527eb3(0x19c)]);if(_0xf6220f[_0x527eb3(0x176)])return _0xf6220f[_0x527eb3(0x176)];const _0x3012dc=helper[_0x527eb3(0x14a)](_0xdb944a[_0x527eb3(0x18b)]);if(_0x3012dc[_0x527eb3(0x170)])return _0x3012dc[_0x527eb3(0x170)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x53095f=a20_0x2da141,_0x51d3f9={'ZZWrc':function(_0x25ecdd,_0x5a9231){return _0x25ecdd(_0x5a9231);},'acxUU':_0x53095f(0x195),'olqxK':function(_0x34a18b,_0x1e3db0){return _0x34a18b(_0x1e3db0);},'pXDqy':_0x53095f(0x166)},_0x146569=_0x51d3f9['ZZWrc'](getTestEnvironment,{'rootDir':process[_0x53095f(0x154)](),'testEnvironment':process[_0x53095f(0x160)][_0x53095f(0x171)]||_0x51d3f9[_0x53095f(0x167)]});if(!_0x146569)return _0x51d3f9[_0x53095f(0x183)](_interopRequireDefault,helper[_0x53095f(0x14a)](_0x51d3f9[_0x53095f(0x164)]));return _0x51d3f9[_0x53095f(0x183)](_interopRequireDefault,helper[_0x53095f(0x14a)](_0x146569));})()),_seleniumWebdriver2=((()=>{const _0x407282=a20_0x2da141,_0x3af2e2={'ANRos':function(_0x4c2bc2,_0x5ea907){return _0x4c2bc2(_0x5ea907);}};try{const _0x37b7c8=helper[_0x407282(0x18f)]();return helper[_0x407282(0x15c)](),_0x3af2e2[_0x407282(0x179)](_interopRequireDefault,_0x37b7c8);}catch{return null;}})());function _interopRequireDefault(_0x5ae20d){const _0x3a29d8=a20_0x2da141;return _0x5ae20d&&_0x5ae20d[_0x3a29d8(0x1ab)]?_0x5ae20d:{'default':_0x5ae20d};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default']['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a20_0x2da141(0x1a6)]{constructor(_0x553f2d){const _0x19dd02=a20_0x2da141,_0x177e25={'bHJye':_0x19dd02(0x152),'wXSup':function(_0x240fe7,_0x4c20df){return _0x240fe7+_0x4c20df;},'yBIfS':_0x19dd02(0x14e),'LqoYk':function(_0x3c385a,_0x469d7a){return _0x3c385a(_0x469d7a);},'vCQVZ':_0x19dd02(0x149),'DiOiq':'5|3|6|7|2|4|0|1','Vftch':_0x19dd02(0x168),'mDNJR':_0x19dd02(0x157),'NILmS':_0x19dd02(0x1a0),'NkUSQ':_0x19dd02(0x17d),'hDYnn':_0x19dd02(0x1a1),'OjhYL':_0x19dd02(0x150)};super(_0x553f2d),this[_0x19dd02(0x16e)][_0x19dd02(0x187)]=0x0,this[_0x19dd02(0x16f)]={};!_0x553f2d['testEnvironmentOptions']&&(_0x553f2d[_0x19dd02(0x168)]={});if(helper[_0x19dd02(0x1a4)]()){_0x553f2d[_0x19dd02(0x168)]=_0x553f2d[_0x19dd02(0x1aa)]?_0x553f2d['projectConfig'][_0x19dd02(0x168)]:_0x553f2d['testEnvironmentOptions'];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0x19dd02(0x1a6))][(_0x19dd02(0x169))]());this[_0x19dd02(0x19d)]=_0x553f2d[_0x19dd02(0x1aa)]?_0x553f2d['projectConfig']['capability']:_0x553f2d[_0x19dd02(0x19d)],this[_0x19dd02(0x16e)][_0x19dd02(0x187)]=_0x177e25[_0x19dd02(0x186)](_0x553f2d[_0x19dd02(0x168)][_0x19dd02(0x17e)]||0x1388,constants['BSTACK_DELTA']),this[_0x19dd02(0x17f)]=_0x553f2d[_0x19dd02(0x168)][_0x19dd02(0x174)];if(this[_0x19dd02(0x17f)]){const _0x3a0023=this[_0x19dd02(0x19d)][_0x177e25[_0x19dd02(0x16d)]]?.[_0x19dd02(0x141)]||'',_0x23d30b=this['capability'][_0x177e25['yBIfS']]?.[_0x19dd02(0x13e)]||'';this[_0x19dd02(0x174)]=new(_0x177e25['LqoYk'](require,_0x177e25['vCQVZ']))(this[_0x19dd02(0x17f)],_0x3a0023,_0x23d30b),this['global']['failFastActive']=![];}helper[_0x19dd02(0x190)](_0x553f2d[_0x19dd02(0x168)][_0x19dd02(0x17a)])&&(this[_0x19dd02(0x16e)]['__jestRetries']=_0x553f2d[_0x19dd02(0x168)][_0x19dd02(0x17a)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x13252b=new ObservabilityReporter();_0x13252b['registerListeners']();}this['global'][_0x19dd02(0x16b)]={},this[_0x19dd02(0x16f)]=_0x553f2d[_0x19dd02(0x168)],this[_0x19dd02(0x16f)]['framework']=constants['FRAMEWORKS']['JEST'],this[_0x19dd02(0x16e)][_0x19dd02(0x144)]=(_0x553f2d[_0x19dd02(0x1aa)]?_0x553f2d['projectConfig']['browserstackPlatformIndex']:_0x553f2d[_0x19dd02(0x144)])||0x0,this[_0x19dd02(0x16e)][_0x19dd02(0x19a)]=this[_0x19dd02(0x16f)]&&this[_0x19dd02(0x16f)][_0x19dd02(0x1a3)]&&Array[_0x19dd02(0x182)](this['configuration'][_0x19dd02(0x1a3)])&&this['configuration'][_0x19dd02(0x1a3)][this[_0x19dd02(0x16e)][_0x19dd02(0x144)]]||{};const _0x2de204=this[_0x19dd02(0x16e)][_0x19dd02(0x144)],_0x119911={...this['configuration'],'capability':this[_0x19dd02(0x16f)]['capabilities']&&Array['isArray'](this[_0x19dd02(0x16f)]['capabilities'])&&this[_0x19dd02(0x16f)]['capabilities'][_0x2de204]||{},'platformCaps':this[_0x19dd02(0x16f)][_0x19dd02(0x1a3)]&&Array[_0x19dd02(0x182)](this[_0x19dd02(0x16f)][_0x19dd02(0x1a3)])&&this['configuration'][_0x19dd02(0x1a3)][_0x2de204]||{}};delete _0x119911['capabilities'],this[_0x19dd02(0x16e)]['jestConfig']=_0x119911;if(_seleniumWebdriver2){const _0x4657aa=_0x177e25['DiOiq']['split']('|');let _0xde11a8=0x0;while(!![]){switch(_0x4657aa[_0xde11a8++]){case'0':this['global'][_0x19dd02(0x155)]=helper[_0x19dd02(0x199)](this[_0x19dd02(0x16f)][_0x19dd02(0x146)]);continue;case'1':this['global'][_0x19dd02(0x18c)]=async()=>{const _0x448be1=_0x19dd02;await this[_0x448be1(0x16e)][_0x448be1(0x198)][_0x448be1(0x152)](_0x177e25[_0x448be1(0x15e)]);};continue;case'2':this[_0x19dd02(0x16e)][_0x19dd02(0x1a0)]=helper['nestedKeyValue'](_0x553f2d,[_0x177e25[_0x19dd02(0x13f)],_0x177e25[_0x19dd02(0x16c)],_0x177e25[_0x19dd02(0x15a)]]);continue;case'3':this['global']['__webdriver']=_0x177e25[_0x19dd02(0x145)](require,_0x177e25['NkUSQ'])[_0x19dd02(0x19f)]({...this[_0x19dd02(0x16f)],'capability':this['capability']||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;case'4':helper[_0x19dd02(0x199)](this[_0x19dd02(0x16f)]['skipSessionName'])?this[_0x19dd02(0x16e)][_0x19dd02(0x165)]=!![]:this[_0x19dd02(0x16e)][_0x19dd02(0x165)]=![];continue;case'5':this['global']['__drivers']=[];continue;case'6':this[_0x19dd02(0x16e)][_0x19dd02(0x1a1)]=helper[_0x19dd02(0x17c)](_0x553f2d,[_0x177e25['Vftch'],_0x177e25['mDNJR'],_0x177e25[_0x19dd02(0x196)]]);continue;case'7':this[_0x19dd02(0x16e)][_0x19dd02(0x150)]=helper['nestedKeyValue'](_0x553f2d,[_0x177e25[_0x19dd02(0x13f)],_0x177e25[_0x19dd02(0x16c)],_0x177e25[_0x19dd02(0x192)]]);continue;}break;}}}async['teardown'](){const _0x413a77=a20_0x2da141;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this['global'][_0x413a77(0x189)]),this[_0x413a77(0x16e)][_0x413a77(0x19e)][_0x413a77(0x169)]=originalBuilder),await RequestQueueHandler[_0x413a77(0x140)]()['shutdown']();}async['setup'](){}async[a20_0x2da141(0x148)](_0x57c380,_0x363693){const _0x3526e5=a20_0x2da141,_0x4a6504={};_0x4a6504[_0x3526e5(0x180)]=function(_0x1bada4,_0x34e64c){return _0x1bada4===_0x34e64c;},_0x4a6504[_0x3526e5(0x14f)]=_0x3526e5(0x14c),_0x4a6504['pjNAf']='skip',_0x4a6504['mIFXY']='test_done',_0x4a6504[_0x3526e5(0x159)]=_0x3526e5(0x162),_0x4a6504[_0x3526e5(0x143)]=function(_0x3d570f,_0x5ae58b){return _0x3d570f===_0x5ae58b;},_0x4a6504[_0x3526e5(0x15d)]=_0x3526e5(0x16a),_0x4a6504[_0x3526e5(0x197)]=function(_0x373ad8,_0x3d07b9){return _0x373ad8===_0x3d07b9;},_0x4a6504[_0x3526e5(0x1a9)]=_0x3526e5(0x17b);const _0x44039a=_0x4a6504,{name:_0x11e710}=_0x57c380;if(_0x44039a[_0x3526e5(0x180)](_0x11e710,_0x44039a[_0x3526e5(0x14f)])){this[_0x3526e5(0x16e)][_0x3526e5(0x18d)]=_0x57c380[_0x3526e5(0x184)];if(_0x44039a['vFTxX'](this['global'][_0x3526e5(0x156)],!![])){const _0x521d27=_0x57c380[_0x3526e5(0x184)][_0x3526e5(0x177)];logger[_0x3526e5(0x18a)]('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x521d27),_0x57c380['test'][_0x3526e5(0x1a7)]=_0x44039a['pjNAf'];}}if(this['failFast']&&_0x44039a[_0x3526e5(0x180)](_0x11e710,_0x44039a[_0x3526e5(0x147)]))try{const _0x4df322=_0x57c380[_0x3526e5(0x184)]['testPath'][_0x3526e5(0x14b)](_0x44039a[_0x3526e5(0x159)]),_0x334af7=_0x57c380[_0x3526e5(0x184)]['errors'];await this[_0x3526e5(0x174)][_0x3526e5(0x151)](_0x4df322,_0x334af7);const _0xa95340=await this[_0x3526e5(0x174)][_0x3526e5(0x193)]();_0x44039a[_0x3526e5(0x143)](this[_0x3526e5(0x16e)][_0x3526e5(0x156)],![])&&_0x44039a['vFTxX'](_0xa95340,!![])&&(this['global'][_0x3526e5(0x156)]=!![]);}catch(_0x2a24c4){logger[_0x3526e5(0x15f)](_0x44039a[_0x3526e5(0x15d)],_0x2a24c4[_0x3526e5(0x181)]);}_0x44039a[_0x3526e5(0x197)](_0x11e710,_0x44039a[_0x3526e5(0x1a9)])&&(this[_0x3526e5(0x174)]&&this[_0x3526e5(0x174)][_0x3526e5(0x18c)]());}}module[a20_0x2da141(0x188)]=CustomEnvironment;
@@ -1 +1 @@
1
- const a21_0x24a0bb=a21_0x1921;(function(_0x3ecb66,_0x197c77){const _0x172ab6=a21_0x1921,_0x337179=_0x3ecb66();while(!![]){try{const _0xc3553f=-parseInt(_0x172ab6(0xbc))/0x1*(-parseInt(_0x172ab6(0x136))/0x2)+-parseInt(_0x172ab6(0x19c))/0x3+-parseInt(_0x172ab6(0xf4))/0x4*(parseInt(_0x172ab6(0x14a))/0x5)+parseInt(_0x172ab6(0x19f))/0x6*(parseInt(_0x172ab6(0x10f))/0x7)+-parseInt(_0x172ab6(0x191))/0x8*(-parseInt(_0x172ab6(0xe1))/0x9)+-parseInt(_0x172ab6(0xe2))/0xa+-parseInt(_0x172ab6(0x15c))/0xb*(-parseInt(_0x172ab6(0xd0))/0xc);if(_0xc3553f===_0x197c77)break;else _0x337179['push'](_0x337179['shift']());}catch(_0x18fc7e){_0x337179['push'](_0x337179['shift']());}}}(a21_0x4b3c,0xedb4d));const {requireModule,isTrue}=require(a21_0x24a0bb(0x18a)),ObservabilityReporter=require(a21_0x24a0bb(0x1a7)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),TestDetails=require(a21_0x24a0bb(0x179)),{patchConsoleLogger,debug}=require('../../../helpers/test-observability/utils'),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require(a21_0x24a0bb(0x113)),testHubConstants=require(a21_0x24a0bb(0x1ca)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a21_0x24a0bb(0x184)),HookState=require(a21_0x24a0bb(0x152)),JestUtils=require(a21_0x24a0bb(0x1b0)),{v4:uuidv4}=require('uuid'),util=require(a21_0x24a0bb(0x199)),logger=require(a21_0x24a0bb(0xc5))['winstonLogger'],{FRAMEWORKS}=require('../../utils/constants');let exportsI;try{exportsI=requireModule(a21_0x24a0bb(0xbb),a21_0x24a0bb(0x1b3));}catch{exportsI=requireModule('jest-circus/build/jestAdapterInit.js',a21_0x24a0bb(0x1b3));}const initInitialize=exportsI[a21_0x24a0bb(0xc1)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x394ab1){const _0x59d593=a21_0x24a0bb,_0x4002b3={};_0x4002b3[_0x59d593(0x182)]=function(_0x329d44,_0x2c80f6){return _0x329d44!==_0x2c80f6;},_0x4002b3[_0x59d593(0x142)]=_0x59d593(0xca);const _0x4036d7=_0x4002b3;try{const _0x2f78d3=[];let _0x19c914=_0x394ab1;while(_0x19c914){_0x19c914[_0x59d593(0x133)]&&_0x4036d7[_0x59d593(0x182)](_0x19c914[_0x59d593(0x133)],_0x4036d7['SVMQv'])&&_0x2f78d3[_0x59d593(0x1c8)](_0x19c914[_0x59d593(0x133)]),_0x19c914=_0x19c914[_0x59d593(0x160)];}return _0x2f78d3['join']('\x20');}catch(_0x7ee1a2){return _0x394ab1&&_0x394ab1[_0x59d593(0x133)]||'';}}function getActiveTestNamePattern(){const _0x57bb38=a21_0x24a0bb,_0x48036f={'VacIA':function(_0x513381,_0x1a2101,_0x35723b){return _0x513381(_0x1a2101,_0x35723b);},'ZRXNn':_0x57bb38(0xfb),'WuXXW':_0x57bb38(0x1b3),'GuUDL':function(_0x37863e,_0x333992){return _0x37863e(_0x333992);},'HRfNS':function(_0x43e9cf,_0x561d64){return _0x43e9cf===_0x561d64;},'sAijg':_0x57bb38(0x125),'dhkJe':function(_0x38b849,_0x76b164){return _0x38b849 instanceof _0x76b164;},'fNVAa':function(_0xed99c6,_0x16810d){return _0xed99c6===_0x16810d;},'STUos':_0x57bb38(0x128),'UgoBa':function(_0x5d8f3b,_0x29d1ce){return _0x5d8f3b>_0x29d1ce;},'FDufe':function(_0x283a65,_0x404af5){return _0x283a65<_0x404af5;},'yEbXj':'--testNamePattern','LCmLN':function(_0x28d858,_0x1ea2aa){return _0x28d858+_0x1ea2aa;},'WGaVQ':_0x57bb38(0xee),'WZfCU':'-t='};try{let _0x168ca2;try{_0x168ca2=_0x48036f['VacIA'](requireModule,_0x48036f[_0x57bb38(0xfc)],_0x48036f['WuXXW']);}catch{_0x168ca2=_0x48036f[_0x57bb38(0x169)](requireModule,_0x48036f[_0x57bb38(0x1c4)]);}if(_0x168ca2&&_0x48036f[_0x57bb38(0x114)](typeof _0x168ca2[_0x57bb38(0x11f)],_0x48036f[_0x57bb38(0x1d1)])){const _0x4aa11c=_0x168ca2[_0x57bb38(0x11f)]();if(_0x4aa11c&&_0x4aa11c[_0x57bb38(0xf8)]){if(_0x48036f['dhkJe'](_0x4aa11c[_0x57bb38(0xf8)],RegExp))return _0x4aa11c['testNamePattern'];if(_0x48036f[_0x57bb38(0x102)](typeof _0x4aa11c[_0x57bb38(0xf8)],_0x48036f['STUos'])&&_0x48036f[_0x57bb38(0x1cf)](_0x4aa11c[_0x57bb38(0xf8)][_0x57bb38(0x143)],0x0))return new RegExp(_0x4aa11c[_0x57bb38(0xf8)],'i');}}}catch(_0x1dd680){}try{const _0x2a1d06=process['argv']||[];for(let _0x28c486=0x0;_0x48036f['FDufe'](_0x28c486,_0x2a1d06[_0x57bb38(0x143)]);_0x28c486++){const _0x5e869a=_0x2a1d06[_0x28c486];if(_0x48036f[_0x57bb38(0x102)](_0x5e869a,'-t')||_0x48036f[_0x57bb38(0x114)](_0x5e869a,_0x48036f[_0x57bb38(0x12c)])){const _0x9f9321=_0x2a1d06[_0x48036f[_0x57bb38(0x190)](_0x28c486,0x1)];if(_0x9f9321&&!_0x9f9321[_0x57bb38(0x1b6)]('-'))return new RegExp(_0x9f9321,'i');}else{if(_0x5e869a&&(_0x5e869a[_0x57bb38(0x1b6)](_0x48036f[_0x57bb38(0x10c)])||_0x5e869a[_0x57bb38(0x1b6)](_0x48036f[_0x57bb38(0x1bf)]))){const _0xfb7a83=_0x5e869a['split']('=')[_0x57bb38(0x180)](0x1)['join']('=');if(_0xfb7a83)return new RegExp(_0xfb7a83,'i');}}}}catch(_0x47b078){}return null;}function isPhantomSkipFromNameFilter(_0x2b932){const _0x1422db=a21_0x24a0bb,_0x19b25a={'KoXvi':function(_0x3d4612){return _0x3d4612();},'ejoDA':function(_0x59c863,_0xd84c32){return _0x59c863(_0xd84c32);}},_0x3d00e4=_0x19b25a['KoXvi'](getActiveTestNamePattern);if(!_0x3d00e4)return![];const _0x171b67=_0x19b25a['ejoDA'](getFullJestTestName,_0x2b932);if(!_0x171b67)return![];return!_0x3d00e4[_0x1422db(0x161)](_0x171b67);}async function isCLIReady(){const _0xc332c3=a21_0x24a0bb,_0x2b9979={'LILxU':_0xc332c3(0x1c2),'JvTMv':function(_0x505ee6,_0x2b9bd3){return _0x505ee6(_0x2b9bd3);},'KUgkl':_0xc332c3(0x16e),'wqyYa':function(_0x358aa2,_0x52355d){return _0x358aa2===_0x52355d;},'GrjsK':'true','QscrT':function(_0x319dca,_0x1af3db){return _0x319dca(_0x1af3db);}};try{const _0x20ce20=BrowserstackCLI[_0xc332c3(0xec)]();if(_0x20ce20['isCliEnabled']()&&_0x20ce20['isRunning']())return logger[_0xc332c3(0x17c)](_0x2b9979[_0xc332c3(0x1b1)]),!![];const _0x1c934a=process['env'][_0xc332c3(0x132)];if(_0x1c934a&&_0x20ce20[_0xc332c3(0xd1)]()){if(!_0x20ce20[_0xc332c3(0xf0)]())try{const _0x48f610=_0x2b9979[_0xc332c3(0x172)](require,_0x2b9979[_0xc332c3(0x131)]),_0x162d38=_0x48f610['getAutomationFrameworkDetail']();(!_0x162d38||!_0x162d38[_0xc332c3(0x133)])&&(_0x2b9979[_0xc332c3(0x140)](process['env'][_0xc332c3(0x1d3)],_0x2b9979[_0xc332c3(0x150)])?_0x48f610['setFrameworkDetail'](FRAMEWORKS[_0xc332c3(0x1d2)],FRAMEWORKS[_0xc332c3(0x12d)]):_0x48f610[_0xc332c3(0xe7)](FRAMEWORKS[_0xc332c3(0x1d2)],FRAMEWORKS['PLAYWRIGHT'])),await _0x20ce20[_0xc332c3(0x109)]();}catch(_0x4fa9eb){return _0x2b9979[_0xc332c3(0x156)](debug,_0xc332c3(0x121)+util['format'](_0x4fa9eb)),![];}return _0x20ce20[_0xc332c3(0xf0)]();}return![];}catch(_0x4573ea){return _0x2b9979[_0xc332c3(0x156)](debug,_0xc332c3(0x1bd)+util['format'](_0x4573ea)),![];}}function getTestIdentifierForHook(_0x4208f){const _0x3f3c16=a21_0x24a0bb,_0x56d2fd={};_0x56d2fd['uGwVp']=function(_0x143f62,_0x1171ec){return _0x143f62===_0x1171ec;},_0x56d2fd[_0x3f3c16(0x1a2)]=_0x3f3c16(0x170),_0x56d2fd[_0x3f3c16(0x1ac)]=function(_0x39f643,_0x339df7){return _0x39f643===_0x339df7;},_0x56d2fd[_0x3f3c16(0xde)]=_0x3f3c16(0x14c);const _0x14edcb=_0x56d2fd;if(_0x14edcb[_0x3f3c16(0x1ab)](_0x4208f['type'],_0x14edcb[_0x3f3c16(0x1a2)])||_0x14edcb['GcUJr'](_0x4208f[_0x3f3c16(0xea)],_0x14edcb[_0x3f3c16(0xde)])){let _0x105ec7=global[_0x3f3c16(0x1cb)];if(!_0x105ec7&&_0x14edcb[_0x3f3c16(0x1ab)](_0x4208f[_0x3f3c16(0xea)],_0x14edcb[_0x3f3c16(0xde)])&&_0x4208f[_0x3f3c16(0x160)]){const _0x3cbf4b={};_0x3cbf4b['name']=_0x4208f[_0x3f3c16(0x160)][_0x3f3c16(0x133)],_0x3cbf4b[_0x3f3c16(0x160)]=_0x4208f['parent'][_0x3f3c16(0x160)],_0x3cbf4b[_0x3f3c16(0x15b)]=_0x4208f[_0x3f3c16(0x15b)],_0x3cbf4b[_0x3f3c16(0x1b5)]=_0x4208f[_0x3f3c16(0x1b5)];const _0x23e6ee=_0x3cbf4b;_0x105ec7=jestUtils[_0x3f3c16(0x18c)](_0x23e6ee);}return _0x105ec7;}return global['__jestCurrentTestIdentifier'];}function mapHookTypeToState(_0x396559){const _0x2336b1=a21_0x24a0bb,_0x2e6d83={};_0x2e6d83[_0x2336b1(0x14c)]=TestFrameworkState[_0x2336b1(0x1ae)],_0x2e6d83[_0x2336b1(0xed)]=TestFrameworkState['AFTER_ALL'],_0x2e6d83[_0x2336b1(0x170)]=TestFrameworkState[_0x2336b1(0x1be)],_0x2e6d83[_0x2336b1(0x127)]=TestFrameworkState['AFTER_EACH'];const _0x38c7bc=_0x2e6d83;return _0x38c7bc[_0x396559]||TestFrameworkState[_0x2336b1(0x1be)];}async function handleHookEventCLI(_0x1d182e,_0x133444,_0x3e201c){const _0x4d4fc9=a21_0x24a0bb,_0x1495e5={'ojEMc':function(_0x17fc3d,_0x181e29){return _0x17fc3d(_0x181e29);},'knNoi':_0x4d4fc9(0x107),'jNDCO':function(_0x15b942,_0x550de7){return _0x15b942===_0x550de7;},'syXVy':_0x4d4fc9(0xca),'XXYbi':function(_0x11c60d){return _0x11c60d();},'JRQPR':function(_0x555534){return _0x555534();},'aTUZF':_0x4d4fc9(0x1a0),'tOOTZ':function(_0x41add2,_0x17e73){return _0x41add2(_0x17e73);},'ZueHc':function(_0x3027f1,_0x46508b){return _0x3027f1===_0x46508b;},'hdjWT':function(_0x9d8b6c,_0x48256){return _0x9d8b6c===_0x48256;},'qpluz':_0x4d4fc9(0xbd),'QHrOw':_0x4d4fc9(0x137)};logger[_0x4d4fc9(0x17c)](_0x4d4fc9(0x115)+_0x133444+_0x4d4fc9(0x165)+_0x1d182e['type']);try{if(_0x1d182e['fn']&&_0x1d182e['fn'][_0x4d4fc9(0x15a)]()['match'](/browserstack internal helper hook/))return;if(_0x1d182e[_0x4d4fc9(0x160)]&&_0x1495e5['jNDCO'](_0x1d182e[_0x4d4fc9(0x160)][_0x4d4fc9(0x133)],_0x1495e5[_0x4d4fc9(0x1cc)])){const _0x5c1d61=_0x1d182e['asyncError']&&((()=>{const _0x431b07=_0x4d4fc9;try{const _0x10bd98=_0x1495e5[_0x431b07(0xe6)](require,_0x1495e5[_0x431b07(0x1cd)]),_0x11537e=_0x10bd98[_0x431b07(0x164)][_0x431b07(0xd2)](_0x10bd98,_0x1d182e[_0x431b07(0x15b)]);return _0x11537e[0x0]&&_0x11537e[0x0][_0x431b07(0x163)]?_0x11537e[0x0]['getFileName']():null;}catch(_0x1ff819){return logger[_0x431b07(0x17c)](_0x431b07(0xef)+_0x1ff819['message']),null;}})())||_0x1d182e[_0x4d4fc9(0x1b5)]||null;if(!_0x5c1d61)return;}let _0x2089cc=_0x1d182e[_0x4d4fc9(0x1b4)];if(!_0x2089cc)_0x2089cc=_0x1495e5[_0x4d4fc9(0x12f)](uuidv4),_0x1d182e[_0x4d4fc9(0x1b4)]=_0x2089cc;else _0x1d182e[_0x4d4fc9(0x1d4)]&&(_0x2089cc=_0x1495e5[_0x4d4fc9(0x198)](uuidv4),_0x1d182e[_0x4d4fc9(0x1b4)]=_0x2089cc,delete _0x1d182e['markedStatus']);_0x1495e5['jNDCO'](_0x133444,_0x1495e5[_0x4d4fc9(0x11c)])&&(_0x1d182e[_0x4d4fc9(0x13a)]=new Date()[_0x4d4fc9(0xd3)]());const _0x1048ea=_0x1495e5[_0x4d4fc9(0xfe)](getTestIdentifierForHook,_0x1d182e);!global[_0x4d4fc9(0x186)]&&(global[_0x4d4fc9(0x186)]={});if(_0x1495e5[_0x4d4fc9(0x188)](_0x133444,_0x1495e5[_0x4d4fc9(0x11c)])){global[_0x4d4fc9(0x186)][_0x4d4fc9(0x100)]={'hookUUID':_0x2089cc,'testIdentifier':_0x1048ea,'hookType':_0x1d182e[_0x4d4fc9(0xea)],'startedAt':new Date()[_0x4d4fc9(0xd3)]()};const _0x6f70e5=BrowserstackCLI[_0x4d4fc9(0xec)]()[_0x4d4fc9(0x116)]();_0x6f70e5&&_0x6f70e5['setActiveHook']&&_0x6f70e5['setActiveHook'](_0x1048ea,_0x2089cc,_0x1d182e[_0x4d4fc9(0xea)]);}const _0x760cd3=await jestUtils[_0x4d4fc9(0x1b8)](_0x1d182e,_0x2089cc,_0x133444,_0x1048ea);if(!_0x760cd3)return;const _0x53e91b=_0x1495e5['tOOTZ'](mapHookTypeToState,_0x1d182e[_0x4d4fc9(0xea)]),_0x547fc0=_0x1495e5['hdjWT'](_0x133444,_0x1495e5[_0x4d4fc9(0x11c)])?HookState[_0x4d4fc9(0x187)]:HookState[_0x4d4fc9(0x157)],_0x227969=BrowserstackCLI['getInstance']()[_0x4d4fc9(0x116)]();if(_0x227969){const _0x43e6ac={};_0x43e6ac[_0x4d4fc9(0x111)]=_0x760cd3,await _0x227969[_0x4d4fc9(0x108)](_0x53e91b,_0x547fc0,_0x43e6ac);if(_0x1495e5[_0x4d4fc9(0x188)](_0x133444,_0x1495e5[_0x4d4fc9(0x183)])){const _0x6c5778={};_0x6c5778[_0x4d4fc9(0xdb)]=_0x1048ea,_0x6c5778['type']=_0x1495e5[_0x4d4fc9(0x1a1)],await _0x227969['trackEvent'](TestFrameworkState['LOG_REPORT'],HookState[_0x4d4fc9(0x157)],_0x6c5778),global[_0x4d4fc9(0x186)]&&global[_0x4d4fc9(0x186)][_0x4d4fc9(0x100)]&&_0x1495e5[_0x4d4fc9(0x188)](global[_0x4d4fc9(0x186)][_0x4d4fc9(0x100)][_0x4d4fc9(0x192)],_0x2089cc)&&delete global[_0x4d4fc9(0x186)]['currentHook'],_0x227969['removeActiveHook']&&_0x227969[_0x4d4fc9(0x1c6)](_0x1048ea,_0x2089cc);}}}catch(_0x577a91){logger[_0x4d4fc9(0x18d)](_0x4d4fc9(0x154)+util[_0x4d4fc9(0xc8)](_0x577a91));throw _0x577a91;}}async function handleTestEventCLI(_0x398eb7,_0x29ca62,_0x41e861){const _0x54362b=a21_0x24a0bb,_0x488d53={};_0x488d53[_0x54362b(0x1a3)]=function(_0x26e432,_0x19d3e7){return _0x26e432===_0x19d3e7;},_0x488d53['hMVKQ']=_0x54362b(0x177),_0x488d53[_0x54362b(0x1a8)]=function(_0x27bc63,_0x3d1d7d){return _0x27bc63>_0x3d1d7d;},_0x488d53[_0x54362b(0x17e)]=function(_0x593f99,_0x34cb3e){return _0x593f99&&_0x34cb3e;},_0x488d53[_0x54362b(0x123)]=_0x54362b(0x118),_0x488d53[_0x54362b(0x171)]=_0x54362b(0xc6),_0x488d53[_0x54362b(0x1af)]=function(_0x4faf03,_0x4756e7){return _0x4faf03&&_0x4756e7;},_0x488d53['NkGqr']=_0x54362b(0x161);const _0x3fb3b2=_0x488d53;logger['debug']('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x29ca62);try{let _0x524b53;if(_0x3fb3b2[_0x54362b(0x1a3)](_0x29ca62,_0x3fb3b2['hMVKQ'])){_0x524b53=jestUtils[_0x54362b(0x18c)](_0x398eb7),global[_0x54362b(0x1cb)]=_0x524b53,_0x398eb7[_0x54362b(0x11d)]=_0x524b53,_0x398eb7['id']=_0x524b53,_0x398eb7[_0x54362b(0x13a)]=new Date()['toISOString']();const _0x42fef3=_0x41e861[_0x54362b(0x151)];_0x41e861[_0x54362b(0x151)]=_0x398eb7,_0x398eb7['retryOf']=null;if(_0x3fb3b2[_0x54362b(0x1a8)](_0x398eb7[_0x54362b(0x168)],0x0)&&_0x42fef3&&_0x3fb3b2[_0x54362b(0x1a3)](_0x42fef3[_0x54362b(0x106)],_0x398eb7[_0x54362b(0x106)])){_0x398eb7[_0x54362b(0x124)]=_0x42fef3[_0x54362b(0x11d)];const _0x5c9878=await jestUtils[_0x54362b(0x159)](_0x398eb7,_0x524b53,_0x3fb3b2[_0x54362b(0x19e)]),_0x2b96e6=BrowserstackCLI[_0x54362b(0xec)]()[_0x54362b(0x116)]();if(_0x3fb3b2[_0x54362b(0x17e)](_0x5c9878,_0x2b96e6)){const _0x28e604={};_0x28e604[_0x54362b(0x161)]=_0x5c9878,await _0x2b96e6[_0x54362b(0x108)](TestFrameworkState[_0x54362b(0xd5)],HookState[_0x54362b(0x187)],_0x28e604);}_0x42fef3[_0x54362b(0x193)]=_0x3fb3b2['hbQTf'];const _0x1db23f=await jestUtils[_0x54362b(0x159)](_0x42fef3,_0x42fef3[_0x54362b(0x11d)],_0x3fb3b2[_0x54362b(0x171)]);if(_0x3fb3b2['fyOoS'](_0x1db23f,_0x2b96e6)){const _0x5b1e61={};_0x5b1e61[_0x54362b(0x161)]=_0x1db23f,await _0x2b96e6['trackEvent'](TestFrameworkState[_0x54362b(0xd5)],HookState[_0x54362b(0x157)],_0x5b1e61);}}else{const _0x27d0bf=await jestUtils[_0x54362b(0x159)](_0x398eb7,_0x524b53,_0x3fb3b2['hMVKQ']),_0x3c1aaa=BrowserstackCLI['getInstance']()[_0x54362b(0x116)]();if(_0x3fb3b2['QnvmE'](_0x27d0bf,_0x3c1aaa)){const _0x439551={};_0x439551[_0x54362b(0x161)]=_0x27d0bf,await _0x3c1aaa[_0x54362b(0x108)](TestFrameworkState['TEST'],HookState[_0x54362b(0x187)],_0x439551);}}}else{_0x524b53=_0x398eb7[_0x54362b(0x11d)]||_0x398eb7['id']||global[_0x54362b(0x1cb)];const _0x1cdac7=await jestUtils['createTestFrameworkData'](_0x398eb7,_0x524b53,_0x29ca62),_0x3abaa3=BrowserstackCLI['getInstance']()[_0x54362b(0x116)]();if(_0x3fb3b2['fyOoS'](_0x1cdac7,_0x3abaa3)){const _0x52ede3={};_0x52ede3[_0x54362b(0x161)]=_0x1cdac7,_0x52ede3[_0x54362b(0x144)]=_0x398eb7,_0x52ede3[_0x54362b(0x17d)]=_0x524b53,await _0x3abaa3['trackEvent'](TestFrameworkState[_0x54362b(0xd5)],HookState[_0x54362b(0x157)],_0x52ede3);const _0x3caaa0={};_0x3caaa0[_0x54362b(0xdb)]=_0x524b53,_0x3caaa0[_0x54362b(0xea)]=_0x3fb3b2[_0x54362b(0x174)],await _0x3abaa3['trackEvent'](TestFrameworkState[_0x54362b(0x19a)],HookState[_0x54362b(0x157)],_0x3caaa0);}}}catch(_0xffacb){logger['error'](_0x54362b(0x185)+util[_0x54362b(0xc8)](_0xffacb));throw _0xffacb;}}exportsI[a21_0x24a0bb(0xc1)]=(..._0x28f03b)=>{const _0x37abb7=a21_0x24a0bb,_0x215fb5={'DxnCa':function(_0x2d315d,_0x2a85f){return _0x2d315d(_0x2a85f);},'bjnQa':_0x37abb7(0x107),'MRkTT':function(_0x52916b,_0x407d89){return _0x52916b&&_0x407d89;},'RoVfO':_0x37abb7(0x122),'tZdzT':function(_0x482b83,_0x548764){return _0x482b83===_0x548764;},'zpNtb':_0x37abb7(0xca),'PpEwG':function(_0x17222f){return _0x17222f();},'sQHiB':function(_0x2e8d5c,_0xf61dda){return _0x2e8d5c(_0xf61dda);},'ADHDL':function(_0x947493,_0x301557,_0x4f4dc7,_0x332097){return _0x947493(_0x301557,_0x4f4dc7,_0x332097);},'zvcTs':_0x37abb7(0x1a0),'SrLhT':function(_0x3d7c32,_0x3363e9){return _0x3d7c32(_0x3363e9);},'WaWzW':function(_0x446e66,_0x2aef50){return _0x446e66(_0x2aef50);},'lURwe':_0x37abb7(0x1a4),'qFtzL':function(_0x16afbf){return _0x16afbf();},'DAfFL':_0x37abb7(0xbd),'kDCQC':function(_0x4d8a20,_0x160285){return _0x4d8a20(_0x160285);},'uiLYY':function(_0x1c1092,_0x279478){return _0x1c1092(_0x279478);},'IIADr':_0x37abb7(0xbf),'tpCkT':_0x37abb7(0x14c),'YHWij':'beforeEach','SvAVQ':_0x37abb7(0x127),'PhURx':function(_0x96d1af,_0x11c32d){return _0x96d1af>_0x11c32d;},'aSzNo':function(_0xe66c58,_0x381de5){return _0xe66c58(_0x381de5);},'jbnpL':_0x37abb7(0x189),'IDEpf':function(_0xde5fd8,_0x5a7e0b){return _0xde5fd8(_0x5a7e0b);},'cCinv':function(_0x509572,_0xb5274c){return _0x509572(_0xb5274c);},'ekMow':function(_0x11baca,_0x2368ce){return _0x11baca(_0x2368ce);},'egTuh':function(_0x5c7724,_0x35d7cb){return _0x5c7724!==_0x35d7cb;},'kDAzC':_0x37abb7(0x13c),'okeqN':function(_0x44b6d4){return _0x44b6d4();},'CADHq':function(_0x54baee,_0x25dcdb,_0x491d0e,_0x43b512){return _0x54baee(_0x25dcdb,_0x491d0e,_0x43b512);},'gdbem':_0x37abb7(0x177),'MEUOw':function(_0x14f780){return _0x14f780();},'wfDgl':_0x37abb7(0x145),'prFfm':function(_0x596eeb,_0x39ddee){return _0x596eeb(_0x39ddee);},'NkPtO':function(_0x246e53,_0x151e6f){return _0x246e53(_0x151e6f);},'BnDHh':function(_0x1ca3aa,_0x5a73c2){return _0x1ca3aa>_0x5a73c2;},'LqUTO':function(_0x26f71b,_0x27aa59){return _0x26f71b===_0x27aa59;},'KMZDl':_0x37abb7(0x18b),'LrGOs':_0x37abb7(0x118),'slNzu':_0x37abb7(0x126),'aJVYZ':function(_0x3dc284,_0x2de128){return _0x3dc284||_0x2de128;},'VGmHN':function(_0x58fc86){return _0x58fc86();},'cdYOB':function(_0xca94da,_0x4e415d,_0x25ea1d,_0x332485){return _0xca94da(_0x4e415d,_0x25ea1d,_0x332485);},'xcMnX':_0x37abb7(0xc6),'FfhGE':function(_0x33971a,_0x2c55b6){return _0x33971a(_0x2c55b6);},'rPTRG':'test_skip','uWdPH':function(_0x19d529,_0x223ae6){return _0x19d529(_0x223ae6);},'XkKnb':function(_0x5f9acd,_0x5cc75f){return _0x5f9acd(_0x5cc75f);},'GlXET':function(_0x4e8c7d,_0x11d3de){return _0x4e8c7d(_0x11d3de);},'jBKnm':function(_0x3f1d0a,_0x2c271a,_0x1a9ec8,_0x33afdc){return _0x3f1d0a(_0x2c271a,_0x1a9ec8,_0x33afdc);},'cVoId':_0x37abb7(0x14d),'fEmoc':function(_0x661e58,_0x382036){return _0x661e58(_0x382036);},'olHxY':function(_0x1d071c){return _0x1d071c();},'GztVD':_0x37abb7(0xf3),'JzwVD':_0x37abb7(0x138),'uVKNO':function(_0x38526d){return _0x38526d();},'pQAsB':function(_0x4663a6,_0x3a020b){return _0x4663a6===_0x3a020b;},'aPCNl':'string','eAUcP':function(_0x392dff,_0x5bdeca){return _0x392dff===_0x5bdeca;},'hBLqM':_0x37abb7(0x1bc),'flApr':function(_0x2f6466){return _0x2f6466();},'GTnbZ':function(_0x1e5070,_0x334625,_0x2e3e2c){return _0x1e5070(_0x334625,_0x2e3e2c);},'cRaIb':'jest-circus/build/state.js','AztGT':_0x37abb7(0x1b3),'NdIQt':_0x37abb7(0xcf),'IKRJD':function(_0xb64d94){return _0xb64d94();},'OwTjg':function(_0x4a487c,_0x236412,_0x2ae388){return _0x4a487c(_0x236412,_0x2ae388);},'yvDKe':'EventHandler','TsLEL':function(_0x220acf,..._0x470c9b){return _0x220acf(..._0x470c9b);}};try{logger['debug'](_0x37abb7(0x167)+_0x215fb5['uVKNO'](shouldProcessEventForTesthub)+_0x37abb7(0xcc)+process[_0x37abb7(0xfa)][_0x37abb7(0x1d3)]);const _0x62dab1=_0x28f03b&&_0x28f03b[0x0]?_0x28f03b[0x0]:{};_0x62dab1&&_0x215fb5['pQAsB'](typeof _0x62dab1[_0x37abb7(0x1ba)],_0x215fb5[_0x37abb7(0xe4)])&&_0x62dab1[_0x37abb7(0x1ba)]&&(_currentTestPath=_0x62dab1[_0x37abb7(0x1ba)]);let _0x5ef23e=0x0;try{if(_0x62dab1[_0x37abb7(0x11e)]&&_0x215fb5[_0x37abb7(0xf2)](typeof _0x62dab1['config'][_0x37abb7(0x105)],_0x215fb5[_0x37abb7(0xd9)]))_0x5ef23e=_0x62dab1[_0x37abb7(0x11e)][_0x37abb7(0x105)];else{if(_0x62dab1[_0x37abb7(0x176)]&&_0x215fb5[_0x37abb7(0x13d)](typeof _0x62dab1['configuration'][_0x37abb7(0x105)],_0x215fb5[_0x37abb7(0xd9)]))_0x5ef23e=_0x62dab1[_0x37abb7(0x176)][_0x37abb7(0x105)];else global[_0x37abb7(0xd7)]&&_0x215fb5[_0x37abb7(0xe0)](typeof global[_0x37abb7(0xd7)][_0x37abb7(0x105)],_0x215fb5[_0x37abb7(0xd9)])&&(_0x5ef23e=global['jestConfig'][_0x37abb7(0x105)]);}}catch(_0xf54cc){logger['debug'](_0x37abb7(0xe3)+util[_0x37abb7(0xc8)](_0xf54cc));}global[_0x37abb7(0x18f)]=_0x5ef23e,process[_0x37abb7(0xfa)][_0x37abb7(0x16f)]=_0x215fb5[_0x37abb7(0x197)](String,_0x5ef23e);const _0x4666b2=new ObservabilityReporter();!_initializedPlatformIndices[_0x37abb7(0x1ce)](_0x5ef23e)?(logger[_0x37abb7(0x17c)](_0x37abb7(0x1bb)+_0x5ef23e),_initializedPlatformIndices[_0x37abb7(0xc0)](_0x5ef23e),_0x215fb5[_0x37abb7(0x155)](shouldProcessEventForTesthub)&&(_0x215fb5[_0x37abb7(0x1c7)](patchConsoleLogger),_0x4666b2[_0x37abb7(0x196)]())):logger[_0x37abb7(0x17c)](_0x37abb7(0x17b)+_0x5ef23e+',\x20re-registering\x20event\x20handler');let _0x3e9498;try{_0x3e9498=_0x215fb5[_0x37abb7(0xbe)](requireModule,_0x215fb5[_0x37abb7(0x1c0)],_0x215fb5[_0x37abb7(0x112)]);}catch{_0x3e9498=_0x215fb5[_0x37abb7(0xc7)](requireModule,_0x215fb5[_0x37abb7(0x112)]);}let _0x24d7d0;try{_0x24d7d0=_0x215fb5['GTnbZ'](requireModule,_0x215fb5['NdIQt'],_0x215fb5['AztGT'])[_0x37abb7(0x103)];}catch{_0x24d7d0=_0x215fb5[_0x37abb7(0x10a)](requireModule,_0x215fb5[_0x37abb7(0x112)])[_0x37abb7(0x103)]||(()=>({}));}const _0x958a85=BrowserstackCLI[_0x37abb7(0xec)]()[_0x37abb7(0xd1)]();(_0x215fb5['IKRJD'](shouldProcessEventForTesthub)||_0x958a85)&&_0x3e9498[_0x37abb7(0xc4)](_0x215fb5[_0x37abb7(0x178)](o11yErrorHandler,async(_0x407da2,_0x2fdf43)=>{const _0x3cd9d3=_0x37abb7,_0x4fa70e={'oeXte':function(_0x610287,_0x43df43){const _0x2a82ac=a21_0x1921;return _0x215fb5[_0x2a82ac(0xeb)](_0x610287,_0x43df43);},'BqPiW':_0x215fb5[_0x3cd9d3(0x1c5)]};_0x215fb5[_0x3cd9d3(0x14b)](_currentTestPath,_0x407da2)&&_0x407da2[_0x3cd9d3(0x161)]&&!_0x407da2[_0x3cd9d3(0x161)][_0x3cd9d3(0x1b5)]&&(_0x407da2[_0x3cd9d3(0x161)][_0x3cd9d3(0x1b5)]=_currentTestPath);switch(_0x407da2[_0x3cd9d3(0x133)]){case _0x215fb5[_0x3cd9d3(0xc2)]:if(_0x407da2['hook']['fn']&&_0x407da2['hook']['fn']['toString']()[_0x3cd9d3(0x153)](/browserstack internal helper hook/))break;if(_0x407da2[_0x3cd9d3(0x137)][_0x3cd9d3(0x160)]&&_0x215fb5[_0x3cd9d3(0xe0)](_0x407da2[_0x3cd9d3(0x137)][_0x3cd9d3(0x160)][_0x3cd9d3(0x133)],_0x215fb5[_0x3cd9d3(0xc3)])){const _0x49df9e=_0x407da2[_0x3cd9d3(0x137)][_0x3cd9d3(0x15b)]&&((()=>{const _0x3a6396=_0x3cd9d3;try{const _0x41ed32=_0x4fa70e['oeXte'](require,_0x4fa70e[_0x3a6396(0x1b7)]),_0x26fe46=_0x41ed32[_0x3a6396(0x164)][_0x3a6396(0xd2)](_0x41ed32,_0x407da2[_0x3a6396(0x137)]['asyncError']);return _0x26fe46[0x0]&&_0x26fe46[0x0][_0x3a6396(0x163)]?_0x26fe46[0x0][_0x3a6396(0x163)]():null;}catch(_0x365adc){return logger['debug'](_0x3a6396(0xef)+_0x365adc[_0x3a6396(0x119)]),null;}})())||_0x407da2[_0x3cd9d3(0x137)][_0x3cd9d3(0x1b5)]||null;if(!_0x49df9e)break;}if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x215fb5[_0x3cd9d3(0xf7)](isCLIReady)){if(_0x215fb5[_0x3cd9d3(0xf6)](shouldProcessEventForTesthub,testHubConstants[_0x3cd9d3(0x166)][_0x3cd9d3(0x1aa)]))try{await _0x215fb5['ADHDL'](handleHookEventCLI,_0x407da2[_0x3cd9d3(0x137)],_0x215fb5[_0x3cd9d3(0x11b)],_0x2fdf43);break;}catch(_0x5f9373){_0x215fb5['SrLhT'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x3cd9d3(0xc8)](_0x5f9373));}}if(_0x215fb5[_0x3cd9d3(0x197)](shouldProcessEventForTesthub,testHubConstants[_0x3cd9d3(0x166)]['HookStarted'])){if(!_0x407da2[_0x3cd9d3(0x137)][_0x3cd9d3(0x1b4)]){const _0x199bae=TestDetails[_0x3cd9d3(0x139)](process[_0x3cd9d3(0xcd)]+':hookAnalyticsId');_0x407da2['hook'][_0x3cd9d3(0x1b4)]=_0x199bae;}else _0x407da2[_0x3cd9d3(0x137)]['markedStatus']&&(_0x407da2[_0x3cd9d3(0x137)][_0x3cd9d3(0x1b4)]=TestDetails['setTestUUID'](process['pid']+':hookAnalyticsId'),delete _0x407da2[_0x3cd9d3(0x137)]['markedStatus']);_0x407da2[_0x3cd9d3(0x137)]['started_at']=new Date()[_0x3cd9d3(0xd3)](),await _0x4666b2[_0x3cd9d3(0x110)](_0x407da2[_0x3cd9d3(0x137)],undefined,![],_0x215fb5[_0x3cd9d3(0x11b)]);}break;case _0x215fb5[_0x3cd9d3(0x162)]:if(BrowserstackCLI['getInstance']()[_0x3cd9d3(0xd1)]()&&await _0x215fb5[_0x3cd9d3(0xf5)](isCLIReady)){if(_0x215fb5[_0x3cd9d3(0xf6)](shouldProcessEventForTesthub,testHubConstants[_0x3cd9d3(0x166)][_0x3cd9d3(0x181)]))try{await _0x215fb5['ADHDL'](handleHookEventCLI,_0x407da2['hook'],_0x215fb5[_0x3cd9d3(0xf1)],_0x2fdf43);break;}catch(_0x406f5d){_0x215fb5[_0x3cd9d3(0x175)](debug,_0x3cd9d3(0x130)+util[_0x3cd9d3(0xc8)](_0x406f5d));}}_0x215fb5[_0x3cd9d3(0xd8)](shouldProcessEventForTesthub,testHubConstants[_0x3cd9d3(0x166)]['HookFinished'])&&(await _0x4666b2[_0x3cd9d3(0x110)](_0x407da2['hook'],undefined,![],_0x215fb5[_0x3cd9d3(0xf1)]),TestDetails['removeTestUUID'](process[_0x3cd9d3(0xcd)]+_0x3cd9d3(0x1d0)));break;case _0x215fb5[_0x3cd9d3(0x1b2)]:[_0x215fb5['tpCkT'],_0x215fb5['YHWij'],_0x215fb5[_0x3cd9d3(0xcb)]][_0x3cd9d3(0xf9)](_0x407da2[_0x3cd9d3(0x137)][_0x3cd9d3(0xea)])&&(_0x4666b2[_0x3cd9d3(0xbf)]=_0x407da2[_0x3cd9d3(0x137)][_0x3cd9d3(0xea)]),_0x2fdf43[_0x3cd9d3(0x15f)]&&_0x215fb5[_0x3cd9d3(0xe9)](_0x2fdf43[_0x3cd9d3(0x15f)]['length'],0x0)&&(_0x407da2[_0x3cd9d3(0x137)]['errorsDetailed']=[_0x2fdf43[_0x3cd9d3(0x15f)][0x0][0x0]]);if(BrowserstackCLI[_0x3cd9d3(0xec)]()[_0x3cd9d3(0xd1)]()&&await _0x215fb5[_0x3cd9d3(0xf5)](isCLIReady)){if(_0x215fb5[_0x3cd9d3(0xf6)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookFinished']))try{await _0x215fb5[_0x3cd9d3(0x10d)](handleHookEventCLI,_0x407da2[_0x3cd9d3(0x137)],_0x215fb5[_0x3cd9d3(0xf1)],_0x2fdf43);break;}catch(_0x287119){_0x215fb5[_0x3cd9d3(0xdd)](debug,_0x3cd9d3(0x130)+util['format'](_0x287119));}}_0x215fb5[_0x3cd9d3(0xd4)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x3cd9d3(0x181)])&&(await _0x4666b2['sendTestRunEvent'](_0x407da2[_0x3cd9d3(0x137)],undefined,![],_0x215fb5[_0x3cd9d3(0xf1)]),TestDetails[_0x3cd9d3(0x1b9)](process[_0x3cd9d3(0xcd)]+_0x3cd9d3(0x1d0)));break;case _0x215fb5[_0x3cd9d3(0x104)]:if(_0x215fb5[_0x3cd9d3(0x12a)](isTrue,process[_0x3cd9d3(0xfa)][_0x3cd9d3(0x16c)])&&_0x215fb5[_0x3cd9d3(0xc7)](isPhantomSkipFromNameFilter,_0x407da2['test'])){const _0x2f7df9=_0x215fb5[_0x3cd9d3(0x15d)](getFullJestTestName,_0x407da2[_0x3cd9d3(0x161)]);logger[_0x3cd9d3(0x17c)](_0x3cd9d3(0x13b)+_0x2f7df9+'\x22');break;}try{let _0x508835=_0x407da2[_0x3cd9d3(0x161)][_0x3cd9d3(0x133)]||'';try{let _0x126547=_0x407da2['test']['parent'];const _0x2d0d1c=[_0x508835];while(_0x126547&&_0x126547[_0x3cd9d3(0x133)]&&_0x215fb5[_0x3cd9d3(0xe8)](_0x126547[_0x3cd9d3(0x133)],_0x215fb5[_0x3cd9d3(0xc3)])){_0x2d0d1c[_0x3cd9d3(0x1c8)](_0x126547[_0x3cd9d3(0x133)]),_0x126547=_0x126547[_0x3cd9d3(0x160)];}_0x508835=_0x2d0d1c[_0x3cd9d3(0xe5)](_0x215fb5[_0x3cd9d3(0x1a6)]);}catch(_0x72d641){logger['debug'](_0x3cd9d3(0xda)+_0x72d641[_0x3cd9d3(0x119)]);}process[_0x3cd9d3(0x1c3)]=_0x508835,process[_0x3cd9d3(0xce)]=null,process['_bstackTestFailureReason']=null,logger[_0x3cd9d3(0x17c)]('[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22'+_0x508835+'\x22');if(!global[_0x3cd9d3(0x186)]){const _0x1525db={};_0x1525db[_0x3cd9d3(0x16d)]={},global[_0x3cd9d3(0x186)]=_0x1525db;}!global[_0x3cd9d3(0x186)][_0x3cd9d3(0x16d)]&&(global['__workerDetails'][_0x3cd9d3(0x16d)]={});const _0x493e36={};_0x493e36[_0x3cd9d3(0x106)]=_0x508835,_0x493e36[_0x3cd9d3(0x133)]=_0x508835,global[_0x3cd9d3(0x186)][_0x3cd9d3(0x16d)][_0x3cd9d3(0x194)]=_0x493e36,global[_0x3cd9d3(0x1c1)]=_0x508835;}catch(_0x21ad2a){logger[_0x3cd9d3(0x17c)](_0x3cd9d3(0x1a5)+_0x21ad2a['message']);}if(BrowserstackCLI[_0x3cd9d3(0xec)]()[_0x3cd9d3(0xd1)]()&&await _0x215fb5[_0x3cd9d3(0x1c7)](isCLIReady))try{await _0x215fb5[_0x3cd9d3(0x135)](handleTestEventCLI,_0x407da2[_0x3cd9d3(0x161)],_0x215fb5[_0x3cd9d3(0x1ad)],_0x4666b2);break;}catch(_0x1a7b6e){_0x215fb5[_0x3cd9d3(0xc7)](debug,_0x3cd9d3(0x130)+util[_0x3cd9d3(0xc8)](_0x1a7b6e));}_0x215fb5[_0x3cd9d3(0x141)](shouldProcessEventForTesthub)&&await _0x4666b2[_0x3cd9d3(0x148)](_0x407da2[_0x3cd9d3(0x161)]);break;case _0x215fb5[_0x3cd9d3(0x19b)]:{const _0x14b8f4=_0x407da2[_0x3cd9d3(0x161)];if(_0x215fb5[_0x3cd9d3(0x19d)](isTrue,process[_0x3cd9d3(0xfa)][_0x3cd9d3(0x16c)])&&_0x215fb5['WaWzW'](isPhantomSkipFromNameFilter,_0x14b8f4)){const _0x4ef347=_0x215fb5['WaWzW'](getFullJestTestName,_0x14b8f4);logger[_0x3cd9d3(0x17c)](_0x3cd9d3(0x12e)+_0x4ef347+'\x22'),_0x14b8f4[_0x3cd9d3(0x1d4)]=!![];break;}_0x407da2[_0x3cd9d3(0x161)]={..._0x215fb5[_0x3cd9d3(0x10a)](_0x24d7d0,_0x407da2[_0x3cd9d3(0x161)]),..._0x407da2[_0x3cd9d3(0x161)]};try{const _0x114840=_0x407da2[_0x3cd9d3(0x161)]['errors']||[],_0x158c6c=_0x215fb5['BnDHh'](_0x114840[_0x3cd9d3(0x143)],0x0)||_0x215fb5[_0x3cd9d3(0xdf)](_0x407da2[_0x3cd9d3(0x161)][_0x3cd9d3(0x15e)],_0x215fb5[_0x3cd9d3(0x12b)]),_0x250463=_0x158c6c?_0x215fb5[_0x3cd9d3(0x117)]:_0x215fb5[_0x3cd9d3(0x17a)];let _0x3957e3='';_0x158c6c&&(_0x3957e3=_0x114840[_0x3cd9d3(0xdc)](_0x33c005=>{const _0x594e02=_0x3cd9d3;if(Array[_0x594e02(0x101)](_0x33c005))return _0x33c005[_0x594e02(0xdc)](_0x1f28e5=>_0x1f28e5&&_0x1f28e5[_0x594e02(0x119)]||String(_0x1f28e5))[_0x594e02(0xe5)](';\x20');return _0x33c005&&_0x33c005[_0x594e02(0x119)]||_0x215fb5[_0x594e02(0xeb)](String,_0x33c005);})['join'](';\x20')),process['_bstackTestStatus']=_0x250463,process[_0x3cd9d3(0x147)]=_0x215fb5['aJVYZ'](_0x3957e3,''),logger[_0x3cd9d3(0x17c)](_0x3cd9d3(0x1a9)+_0x250463+'\x22'),global[_0x3cd9d3(0x186)]&&global[_0x3cd9d3(0x186)][_0x3cd9d3(0x16d)]&&(!global['__workerDetails'][_0x3cd9d3(0x16d)][_0x3cd9d3(0x194)]&&(global[_0x3cd9d3(0x186)][_0x3cd9d3(0x16d)][_0x3cd9d3(0x194)]={}),global[_0x3cd9d3(0x186)][_0x3cd9d3(0x16d)]['testInfo'][_0x3cd9d3(0x15e)]=_0x250463,_0x158c6c&&(global[_0x3cd9d3(0x186)][_0x3cd9d3(0x16d)][_0x3cd9d3(0x194)][_0x3cd9d3(0x16a)]=_0x3957e3));}catch(_0x2f4b0c){logger['debug'](_0x3cd9d3(0xfd)+_0x2f4b0c[_0x3cd9d3(0x119)]);}if(!_0x407da2['test'][_0x3cd9d3(0x1d4)]){_0x407da2['test'][_0x3cd9d3(0x1d4)]=!![];if(BrowserstackCLI[_0x3cd9d3(0xec)]()[_0x3cd9d3(0xd1)]()&&await _0x215fb5[_0x3cd9d3(0x146)](isCLIReady))try{await _0x215fb5[_0x3cd9d3(0xd6)](handleTestEventCLI,_0x407da2[_0x3cd9d3(0x161)],_0x215fb5[_0x3cd9d3(0x1c9)],_0x4666b2);break;}catch(_0x3d25f2){_0x215fb5[_0x3cd9d3(0x17f)](debug,_0x3cd9d3(0x130)+util[_0x3cd9d3(0xc8)](_0x3d25f2));}_0x215fb5[_0x3cd9d3(0x146)](shouldProcessEventForTesthub)&&await _0x4666b2[_0x3cd9d3(0x110)](_0x407da2[_0x3cd9d3(0x161)]);}break;}case _0x215fb5[_0x3cd9d3(0x14f)]:{const _0x5517a2=_0x407da2[_0x3cd9d3(0x161)];if(_0x215fb5['uWdPH'](isTrue,process['env']['BROWSERSTACK_RERUN'])&&_0x215fb5['XkKnb'](isPhantomSkipFromNameFilter,_0x5517a2)){const _0x25754e=_0x215fb5[_0x3cd9d3(0x16b)](getFullJestTestName,_0x5517a2);logger[_0x3cd9d3(0x17c)]('[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22'+_0x25754e+'\x22'),_0x5517a2[_0x3cd9d3(0x1d4)]=!![];break;}_0x407da2['test']={..._0x215fb5['uWdPH'](_0x24d7d0,_0x407da2[_0x3cd9d3(0x161)]),..._0x407da2[_0x3cd9d3(0x161)]};if(!_0x407da2['test'][_0x3cd9d3(0x1d4)]){_0x407da2['test'][_0x3cd9d3(0x1d4)]=!![];if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x215fb5[_0x3cd9d3(0x146)](isCLIReady))try{await _0x215fb5[_0x3cd9d3(0x11a)](handleTestEventCLI,_0x407da2[_0x3cd9d3(0x161)],_0x215fb5['cVoId'],_0x4666b2);break;}catch(_0xed7e71){_0x215fb5[_0x3cd9d3(0x120)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x3cd9d3(0xc8)](_0xed7e71));}_0x215fb5[_0x3cd9d3(0x149)](shouldProcessEventForTesthub)&&await _0x4666b2[_0x3cd9d3(0x110)](_0x407da2[_0x3cd9d3(0x161)],undefined,![],_0x215fb5[_0x3cd9d3(0x158)]);}break;}case _0x215fb5[_0x3cd9d3(0x129)]:_0x4666b2[_0x3cd9d3(0xbf)]=null;break;case _0x215fb5[_0x3cd9d3(0x134)]:await RequestQueueHandler[_0x3cd9d3(0xec)]()[_0x3cd9d3(0x13e)](),process[_0x3cd9d3(0x173)]();break;default:}},_0x215fb5['yvDKe']));}catch(_0x145f2c){_0x215fb5['SrLhT'](debug,_0x37abb7(0xff)+_0x145f2c);}return _0x215fb5[_0x37abb7(0xc9)](initInitialize,..._0x28f03b);};try{Object['keys'](exportsI)['forEach'](_0x392e95=>{const _0x496259=a21_0x24a0bb,_0x286deb={'aHsiJ':function(_0x159cdf,_0x238b35){return _0x159cdf(_0x238b35);}};try{exports&&(exports[_0x392e95]=exportsI[_0x392e95]);}catch(_0xa532ac){_0x286deb['aHsiJ'](debug,_0x496259(0x13f)+_0xa532ac);}});}catch(a21_0x59e2b4){debug(a21_0x24a0bb(0x10b)+a21_0x59e2b4);}const a21_0x44fce0={};function a21_0x4b3c(){const _0x42bc38=['[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','_currentRetry','GuUDL','failureMessage','GlXET','BROWSERSTACK_RERUN','currentTest','../../v2/cliUtils','BROWSERSTACK_PLATFORM_INDEX','beforeEach','pMjrg','JvTMv','removeAllListeners','NkGqr','kDCQC','configuration','TestRunStarted','OwTjg','../test-observability/test-details','slNzu','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','debug','testIdentifier','fyOoS','FfhGE','slice','HookFinished','gkOhG','qpluz','../../v2/state/testFrameworkState','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','__workerDetails','PRE','ZueHc','test_start','../../../helpers/helper','fail','createIdentifierFromJestTest','error','getFullJestTestName','__bstackPlatformIndex','LCmLN','160KWASbP','hookUUID','state','testInfo','__rerunFilterHelpers','registerListeners','WaWzW','JRQPR','util','LOG_REPORT','wfDgl','5527887GqWrgd','prFfm','hMVKQ','10430262qgITCC','HookRunStarted','QHrOw','CXgWM','tsAdt','hook_success','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','kDAzC','../test-observability/obsReporter','diIuA','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','HookStarted','uGwVp','GcUJr','gdbem','BEFORE_ALL','QnvmE','../../v2/utils/jest-utils','LILxU','IIADr','jest-circus','hookAnalyticsId','file','startsWith','BqPiW','createHookData','removeTestUUID','testPath','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','number','Error\x20checking\x20CLI\x20readiness:\x20','BEFORE_EACH','WZfCU','cRaIb','browserstackTestName','CLI\x20is\x20enabled\x20and\x20running.','_bstackTestName','WuXXW','bjnQa','removeActiveHook','okeqN','unshift','xcMnX','../../../helpers/testhub/constants','__jestCurrentTestIdentifier','syXVy','knNoi','has','UgoBa',':hookAnalyticsId','sAijg','JEST','BROWSERSTACK_PUPPETEER','markedStatus','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','51bXMIzt','HookRunFinished','GTnbZ','hook_failure','add','initialize','RoVfO','zpNtb','addEventHandler','../../../helpers/logger','TestRunFinished','cCinv','format','TsLEL','ROOT_DESCRIBE_BLOCK','SvAVQ',',\x20BROWSERSTACK_PUPPETEER=','pid','_bstackTestStatus','jest-circus/build/utils.js','24SiDaZU','isCliEnabled','call','toISOString','aSzNo','TEST','cdYOB','jestConfig','uiLYY','hBLqM','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','testUUID','map','SrLhT','Yxyfm','LqUTO','tZdzT','589131pkCMEi','12711610fEYgUp','Error\x20reading\x20platformIndex\x20from\x20args:\x20','aPCNl','join','ojEMc','setFrameworkDetail','egTuh','PhURx','type','DxnCa','getInstance','afterAll','--testNamePattern=','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','isRunning','DAfFL','eAUcP','run_describe_finish','2706316swsuMy','qFtzL','sQHiB','PpEwG','testNamePattern','includes','env','jest-circus/build/state.js','ZRXNn','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','tOOTZ','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','currentHook','isArray','fNVAa','makeSingleTestResult','jbnpL','browserstackPlatformIndex','title','stack-trace','trackEvent','bootstrap','NkPtO','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','WGaVQ','ADHDL','isPhantomSkipFromNameFilter','7mHVNVf','sendTestRunEvent','hookData','AztGT','../../../helpers/testhub/utils','HRfNS','Handling\x20hook\x20event\x20for\x20CLI:\x20','getTestFramework','LrGOs','failed','message','jBKnm','zvcTs','aTUZF','testAnalyticsId','config','getState','fEmoc','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','hook_start','hbQTf','retryOf','function','passed','afterEach','string','GztVD','IDEpf','KMZDl','yEbXj','PUPPETEER','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','XXYbi','Error\x20routing\x20to\x20JestTestFramework:\x20','KUgkl','BROWSERSTACK_CLI_BIN_SESSION_ID','name','JzwVD','CADHq','42706lwLPDE','hook','teardown','setTestUUID','started_at','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','\x20>\x20','pQAsB','shutdown','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','wqyYa','MEUOw','SVMQv','length','originalTest','test_done','VGmHN','_bstackTestFailureReason','testStarted','olHxY','5XbThop','MRkTT','beforeAll','TestRunSkipped','getActiveTestNamePattern','rPTRG','GrjsK','current_test','../../v2/state/hookState','match','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','flApr','QscrT','POST','cVoId','createTestFrameworkData','toString','asyncError','3450997vHilKw','ekMow','status','unhandledErrors','parent','test','lURwe','getFileName','parse','\x20for\x20hook\x20type:\x20','EVENT'];a21_0x4b3c=function(){return _0x42bc38;};return a21_0x4b3c();}function a21_0x1921(_0x39dc1f,_0x3d8b2a){const _0x4b3c28=a21_0x4b3c();return a21_0x1921=function(_0x1921c2,_0x2f185f){_0x1921c2=_0x1921c2-0xbb;let _0x924a6b=_0x4b3c28[_0x1921c2];return _0x924a6b;},a21_0x1921(_0x39dc1f,_0x3d8b2a);}a21_0x44fce0[a21_0x24a0bb(0x18e)]=getFullJestTestName,a21_0x44fce0[a21_0x24a0bb(0x14e)]=getActiveTestNamePattern,a21_0x44fce0[a21_0x24a0bb(0x10e)]=isPhantomSkipFromNameFilter,exports[a21_0x24a0bb(0x195)]=a21_0x44fce0;
1
+ const a21_0x2a4b8=a21_0x6512;(function(_0x25284c,_0x2a398c){const _0x523d93=a21_0x6512,_0x552853=_0x25284c();while(!![]){try{const _0x594439=parseInt(_0x523d93(0x2b2))/0x1*(parseInt(_0x523d93(0x1e3))/0x2)+parseInt(_0x523d93(0x297))/0x3+parseInt(_0x523d93(0x28c))/0x4+-parseInt(_0x523d93(0x204))/0x5+parseInt(_0x523d93(0x1f5))/0x6*(-parseInt(_0x523d93(0x1c6))/0x7)+parseInt(_0x523d93(0x277))/0x8+-parseInt(_0x523d93(0x2a1))/0x9;if(_0x594439===_0x2a398c)break;else _0x552853['push'](_0x552853['shift']());}catch(_0x212443){_0x552853['push'](_0x552853['shift']());}}}(a21_0x4556,0x4e0f8));const {requireModule,isTrue}=require('../../../helpers/helper'),ObservabilityReporter=require(a21_0x2a4b8(0x2b4)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),TestDetails=require(a21_0x2a4b8(0x289)),{patchConsoleLogger,debug}=require('../../../helpers/test-observability/utils'),{o11yErrorHandler}=require(a21_0x2a4b8(0x1a8)),{shouldProcessEventForTesthub}=require(a21_0x2a4b8(0x273)),testHubConstants=require(a21_0x2a4b8(0x1e4)),BrowserstackCLI=require(a21_0x2a4b8(0x221)),TestFrameworkState=require(a21_0x2a4b8(0x215)),HookState=require(a21_0x2a4b8(0x209)),JestUtils=require(a21_0x2a4b8(0x23e)),{v4:uuidv4}=require('uuid'),util=require('util'),logger=require(a21_0x2a4b8(0x231))[a21_0x2a4b8(0x1cc)],{FRAMEWORKS}=require('../../utils/constants');function a21_0x6512(_0x28e5b0,_0x534bc7){const _0x455658=a21_0x4556();return a21_0x6512=function(_0x651244,_0x1c10e7){_0x651244=_0x651244-0x1a5;let _0x1ab09a=_0x455658[_0x651244];return _0x1ab09a;},a21_0x6512(_0x28e5b0,_0x534bc7);}let exportsI;try{exportsI=requireModule(a21_0x2a4b8(0x210),'jest-circus');}catch{exportsI=requireModule(a21_0x2a4b8(0x288),a21_0x2a4b8(0x220));}const initInitialize=exportsI['initialize'],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x2fcca7){const _0x218704=a21_0x2a4b8,_0x206ffd={};_0x206ffd[_0x218704(0x222)]=function(_0x1a560b,_0x1a4b45){return _0x1a560b!==_0x1a4b45;},_0x206ffd[_0x218704(0x1f0)]=_0x218704(0x1e6);const _0xffa1e5=_0x206ffd;try{const _0x2b61b3=[];let _0x412fe1=_0x2fcca7;while(_0x412fe1){_0x412fe1[_0x218704(0x276)]&&_0xffa1e5['zyudm'](_0x412fe1[_0x218704(0x276)],_0xffa1e5[_0x218704(0x1f0)])&&_0x2b61b3[_0x218704(0x234)](_0x412fe1['name']),_0x412fe1=_0x412fe1[_0x218704(0x26e)];}return _0x2b61b3[_0x218704(0x27a)]('\x20');}catch(_0x5bd5a5){return _0x2fcca7&&_0x2fcca7[_0x218704(0x276)]||'';}}function getActiveTestNamePattern(){const _0x1b4d65=a21_0x2a4b8,_0xdbf29={'ZzCQj':function(_0x55b057,_0x307dde,_0x5ec14f){return _0x55b057(_0x307dde,_0x5ec14f);},'GwbMU':_0x1b4d65(0x265),'lNWnQ':_0x1b4d65(0x220),'cDVHn':function(_0x242a02,_0x23a3b2){return _0x242a02(_0x23a3b2);},'OvlQK':function(_0xe7a381,_0xe4d868){return _0xe7a381===_0xe4d868;},'IVefY':_0x1b4d65(0x293),'sdlNZ':function(_0x2933d6,_0x95e6d4){return _0x2933d6 instanceof _0x95e6d4;},'HsJes':'string','MzviM':function(_0x14365d,_0x3a174c){return _0x14365d>_0x3a174c;},'NmTjh':function(_0x152569,_0x439ae1){return _0x152569<_0x439ae1;},'qSgXq':function(_0x1d7f4e,_0x317cf6){return _0x1d7f4e===_0x317cf6;},'RilmR':_0x1b4d65(0x1d0),'vQymI':function(_0x37abe6,_0x17a431){return _0x37abe6+_0x17a431;},'HJJuV':_0x1b4d65(0x1b7),'AiHIX':_0x1b4d65(0x26f)};try{let _0x316f35;try{_0x316f35=_0xdbf29[_0x1b4d65(0x27d)](requireModule,_0xdbf29[_0x1b4d65(0x281)],_0xdbf29[_0x1b4d65(0x20e)]);}catch{_0x316f35=_0xdbf29[_0x1b4d65(0x23f)](requireModule,_0xdbf29['lNWnQ']);}if(_0x316f35&&_0xdbf29[_0x1b4d65(0x26a)](typeof _0x316f35[_0x1b4d65(0x22c)],_0xdbf29[_0x1b4d65(0x20f)])){const _0x367293=_0x316f35[_0x1b4d65(0x22c)]();if(_0x367293&&_0x367293['testNamePattern']){if(_0xdbf29[_0x1b4d65(0x223)](_0x367293[_0x1b4d65(0x284)],RegExp))return _0x367293[_0x1b4d65(0x284)];if(_0xdbf29[_0x1b4d65(0x26a)](typeof _0x367293[_0x1b4d65(0x284)],_0xdbf29['HsJes'])&&_0xdbf29[_0x1b4d65(0x28f)](_0x367293[_0x1b4d65(0x284)][_0x1b4d65(0x1ea)],0x0))return new RegExp(_0x367293[_0x1b4d65(0x284)],'i');}}}catch(_0x47a303){}try{const _0x1edc04=process['argv']||[];for(let _0x2197e6=0x0;_0xdbf29['NmTjh'](_0x2197e6,_0x1edc04[_0x1b4d65(0x1ea)]);_0x2197e6++){const _0x2759ba=_0x1edc04[_0x2197e6];if(_0xdbf29[_0x1b4d65(0x26a)](_0x2759ba,'-t')||_0xdbf29[_0x1b4d65(0x2ac)](_0x2759ba,_0xdbf29[_0x1b4d65(0x1cb)])){const _0x2bc7a=_0x1edc04[_0xdbf29[_0x1b4d65(0x1f1)](_0x2197e6,0x1)];if(_0x2bc7a&&!_0x2bc7a[_0x1b4d65(0x25e)]('-'))return new RegExp(_0x2bc7a,'i');}else{if(_0x2759ba&&(_0x2759ba['startsWith'](_0xdbf29[_0x1b4d65(0x267)])||_0x2759ba[_0x1b4d65(0x25e)](_0xdbf29['AiHIX']))){const _0x107d2f=_0x2759ba['split']('=')[_0x1b4d65(0x1a6)](0x1)[_0x1b4d65(0x27a)]('=');if(_0x107d2f)return new RegExp(_0x107d2f,'i');}}}}catch(_0x2562d7){}return null;}function isPhantomSkipFromNameFilter(_0x3347c8){const _0x36c578=a21_0x2a4b8,_0x5cccbc={'hAtLF':function(_0x1331c6){return _0x1331c6();},'woLJT':function(_0xd96215,_0x10b31d){return _0xd96215(_0x10b31d);}},_0x453ba0=_0x5cccbc['hAtLF'](getActiveTestNamePattern);if(!_0x453ba0)return![];const _0x1385ab=_0x5cccbc[_0x36c578(0x1db)](getFullJestTestName,_0x3347c8);if(!_0x1385ab)return![];return!_0x453ba0[_0x36c578(0x22f)](_0x1385ab);}async function isCLIReady(){const _0x592d8e=a21_0x2a4b8,_0x449ecb={'YsIPb':_0x592d8e(0x2a3),'DhECN':function(_0x5213e2,_0x5817a9){return _0x5213e2(_0x5817a9);},'IuWGG':'../../v2/cliUtils','PZgWt':function(_0x4f2e5b,_0x5d5c28){return _0x4f2e5b===_0x5d5c28;},'QpPsR':'true','FWkiF':function(_0x1be2b6,_0x382996){return _0x1be2b6(_0x382996);},'WzuqN':function(_0x4c8aba,_0xc7452b){return _0x4c8aba(_0xc7452b);}};try{const _0x1ae8a6=BrowserstackCLI[_0x592d8e(0x20d)]();if(_0x1ae8a6[_0x592d8e(0x258)]()&&_0x1ae8a6[_0x592d8e(0x280)]())return logger['debug'](_0x449ecb[_0x592d8e(0x1f9)]),!![];const _0x2d91ce=process[_0x592d8e(0x287)][_0x592d8e(0x279)];if(_0x2d91ce&&_0x1ae8a6[_0x592d8e(0x258)]()){if(!_0x1ae8a6[_0x592d8e(0x280)]())try{const _0x1dd2ab=_0x449ecb[_0x592d8e(0x1a9)](require,_0x449ecb[_0x592d8e(0x228)]),_0x5980a8=_0x1dd2ab[_0x592d8e(0x2b5)]();(!_0x5980a8||!_0x5980a8['name'])&&(_0x449ecb['PZgWt'](process[_0x592d8e(0x287)][_0x592d8e(0x256)],_0x449ecb[_0x592d8e(0x24e)])?_0x1dd2ab['setFrameworkDetail'](FRAMEWORKS[_0x592d8e(0x275)],FRAMEWORKS[_0x592d8e(0x205)]):_0x1dd2ab[_0x592d8e(0x285)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x592d8e(0x27c)])),await _0x1ae8a6[_0x592d8e(0x253)]();}catch(_0x29d4fd){return _0x449ecb['FWkiF'](debug,_0x592d8e(0x1bd)+util[_0x592d8e(0x278)](_0x29d4fd)),![];}return _0x1ae8a6[_0x592d8e(0x280)]();}return![];}catch(_0x29a78a){return _0x449ecb['WzuqN'](debug,_0x592d8e(0x1a5)+util[_0x592d8e(0x278)](_0x29a78a)),![];}}function getTestIdentifierForHook(_0x39b693){const _0x49c529=a21_0x2a4b8,_0xaf1ae6={};_0xaf1ae6[_0x49c529(0x28b)]=function(_0x177490,_0x58a509){return _0x177490===_0x58a509;},_0xaf1ae6[_0x49c529(0x2ae)]='beforeEach',_0xaf1ae6[_0x49c529(0x237)]=function(_0x596b1f,_0x5d2729){return _0x596b1f===_0x5d2729;},_0xaf1ae6[_0x49c529(0x227)]='beforeAll';const _0x30671c=_0xaf1ae6;if(_0x30671c[_0x49c529(0x28b)](_0x39b693[_0x49c529(0x245)],_0x30671c['rFxiy'])||_0x30671c[_0x49c529(0x237)](_0x39b693['type'],_0x30671c[_0x49c529(0x227)])){let _0x1e2e8c=global[_0x49c529(0x21f)];if(!_0x1e2e8c&&_0x30671c[_0x49c529(0x28b)](_0x39b693['type'],_0x30671c['QQrwG'])&&_0x39b693[_0x49c529(0x26e)]){const _0x475e8d={};_0x475e8d['name']=_0x39b693['parent'][_0x49c529(0x276)],_0x475e8d[_0x49c529(0x26e)]=_0x39b693[_0x49c529(0x26e)]['parent'],_0x475e8d[_0x49c529(0x1ad)]=_0x39b693[_0x49c529(0x1ad)],_0x475e8d[_0x49c529(0x25a)]=_0x39b693[_0x49c529(0x25a)];const _0x49c381=_0x475e8d;_0x1e2e8c=jestUtils[_0x49c529(0x2a5)](_0x49c381);}return _0x1e2e8c;}return global[_0x49c529(0x21f)];}function mapHookTypeToState(_0x2fd075){const _0x2c129d=a21_0x2a4b8,_0x56569a={};_0x56569a[_0x2c129d(0x226)]=TestFrameworkState['BEFORE_ALL'],_0x56569a['afterAll']=TestFrameworkState['AFTER_ALL'],_0x56569a[_0x2c129d(0x1e0)]=TestFrameworkState[_0x2c129d(0x269)],_0x56569a[_0x2c129d(0x28d)]=TestFrameworkState[_0x2c129d(0x1c4)];const _0x4644e4=_0x56569a;return _0x4644e4[_0x2fd075]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x381634,_0x25221d,_0x3248e8){const _0x5f5b99=a21_0x2a4b8,_0x3703f7={'ZivTm':function(_0x10fc37,_0x41efe2){return _0x10fc37(_0x41efe2);},'nQAcu':_0x5f5b99(0x1fb),'gdZuB':function(_0x4cceda,_0x4291db){return _0x4cceda===_0x4291db;},'liJVa':_0x5f5b99(0x1e6),'YKxwW':function(_0x5b0140){return _0x5b0140();},'EysTQ':'HookRunStarted','sWTcQ':_0x5f5b99(0x261),'cxife':'hook','uiazT':function(_0x2efbc0,_0xf7febc){return _0x2efbc0===_0xf7febc;}};logger[_0x5f5b99(0x2a8)](_0x5f5b99(0x266)+_0x25221d+_0x5f5b99(0x230)+_0x381634[_0x5f5b99(0x245)]);try{if(_0x381634['fn']&&_0x381634['fn'][_0x5f5b99(0x23a)]()[_0x5f5b99(0x299)](/browserstack internal helper hook/))return;if(_0x381634[_0x5f5b99(0x26e)]&&_0x3703f7['gdZuB'](_0x381634[_0x5f5b99(0x26e)][_0x5f5b99(0x276)],_0x3703f7[_0x5f5b99(0x206)])){const _0xdb328c=_0x381634[_0x5f5b99(0x1ad)]&&((()=>{const _0x3f2204=_0x5f5b99;try{const _0x320812=_0x3703f7[_0x3f2204(0x1b1)](require,_0x3703f7[_0x3f2204(0x216)]),_0x2b253a=_0x320812[_0x3f2204(0x290)][_0x3f2204(0x21d)](_0x320812,_0x381634['asyncError']);return _0x2b253a[0x0]&&_0x2b253a[0x0][_0x3f2204(0x236)]?_0x2b253a[0x0][_0x3f2204(0x236)]():null;}catch(_0x3b2681){return logger['debug'](_0x3f2204(0x1aa)+_0x3b2681[_0x3f2204(0x242)]),null;}})())||_0x381634[_0x5f5b99(0x25a)]||null;if(!_0xdb328c)return;}let _0x1faba8=_0x381634[_0x5f5b99(0x1d6)];if(!_0x1faba8)_0x1faba8=_0x3703f7[_0x5f5b99(0x264)](uuidv4),_0x381634[_0x5f5b99(0x1d6)]=_0x1faba8;else _0x381634[_0x5f5b99(0x24c)]&&(_0x1faba8=_0x3703f7['YKxwW'](uuidv4),_0x381634[_0x5f5b99(0x1d6)]=_0x1faba8,delete _0x381634[_0x5f5b99(0x24c)]);_0x3703f7[_0x5f5b99(0x291)](_0x25221d,_0x3703f7[_0x5f5b99(0x21c)])&&(_0x381634['started_at']=new Date()[_0x5f5b99(0x1e7)]());const _0x34b2aa=_0x3703f7[_0x5f5b99(0x1b1)](getTestIdentifierForHook,_0x381634);!global['__workerDetails']&&(global[_0x5f5b99(0x1af)]={});if(_0x3703f7['gdZuB'](_0x25221d,_0x3703f7[_0x5f5b99(0x21c)])){global[_0x5f5b99(0x1af)]['currentHook']={'hookUUID':_0x1faba8,'testIdentifier':_0x34b2aa,'hookType':_0x381634[_0x5f5b99(0x245)],'startedAt':new Date()[_0x5f5b99(0x1e7)]()};const _0x78d730=BrowserstackCLI[_0x5f5b99(0x20d)]()[_0x5f5b99(0x212)]();_0x78d730&&_0x78d730[_0x5f5b99(0x25d)]&&_0x78d730[_0x5f5b99(0x25d)](_0x34b2aa,_0x1faba8,_0x381634[_0x5f5b99(0x245)]);}const _0x4f6b19=await jestUtils[_0x5f5b99(0x1eb)](_0x381634,_0x1faba8,_0x25221d,_0x34b2aa);if(!_0x4f6b19)return;const _0x23ad7b=_0x3703f7['ZivTm'](mapHookTypeToState,_0x381634['type']),_0x487af2=_0x3703f7[_0x5f5b99(0x291)](_0x25221d,_0x3703f7[_0x5f5b99(0x21c)])?HookState[_0x5f5b99(0x24f)]:HookState[_0x5f5b99(0x1cf)],_0x436c57=BrowserstackCLI[_0x5f5b99(0x20d)]()[_0x5f5b99(0x212)]();if(_0x436c57){const _0x2eb012={};_0x2eb012[_0x5f5b99(0x229)]=_0x4f6b19,await _0x436c57[_0x5f5b99(0x2b0)](_0x23ad7b,_0x487af2,_0x2eb012);if(_0x3703f7['gdZuB'](_0x25221d,_0x3703f7['sWTcQ'])){const _0x102e85={};_0x102e85[_0x5f5b99(0x1bb)]=_0x34b2aa,_0x102e85[_0x5f5b99(0x245)]=_0x3703f7[_0x5f5b99(0x263)],await _0x436c57[_0x5f5b99(0x2b0)](TestFrameworkState['LOG_REPORT'],HookState[_0x5f5b99(0x1cf)],_0x102e85),global[_0x5f5b99(0x1af)]&&global[_0x5f5b99(0x1af)][_0x5f5b99(0x243)]&&_0x3703f7[_0x5f5b99(0x25c)](global[_0x5f5b99(0x1af)][_0x5f5b99(0x243)][_0x5f5b99(0x23b)],_0x1faba8)&&delete global[_0x5f5b99(0x1af)][_0x5f5b99(0x243)],_0x436c57['removeActiveHook']&&_0x436c57['removeActiveHook'](_0x34b2aa,_0x1faba8);}}}catch(_0x52ddc0){logger[_0x5f5b99(0x1e1)](_0x5f5b99(0x1ef)+util[_0x5f5b99(0x278)](_0x52ddc0));throw _0x52ddc0;}}async function handleTestEventCLI(_0x473049,_0x24547b,_0x1bf58a){const _0x44b410=a21_0x2a4b8,_0x24c073={};_0x24c073['rCbmh']=function(_0x300a33,_0x1d75a0){return _0x300a33===_0x1d75a0;},_0x24c073[_0x44b410(0x1d5)]=_0x44b410(0x26b),_0x24c073['YMyFK']=function(_0x42132c,_0x5df43e){return _0x42132c>_0x5df43e;},_0x24c073[_0x44b410(0x2ad)]=function(_0x3d803c,_0x25e488){return _0x3d803c===_0x25e488;},_0x24c073['LdpRi']=function(_0x4bbfd3,_0x31d88f){return _0x4bbfd3&&_0x31d88f;},_0x24c073[_0x44b410(0x25b)]=_0x44b410(0x28a),_0x24c073[_0x44b410(0x1ec)]=_0x44b410(0x1ba),_0x24c073[_0x44b410(0x2a4)]=function(_0x57a95a,_0x17715d){return _0x57a95a&&_0x17715d;},_0x24c073[_0x44b410(0x1a7)]=function(_0x1cfa6a,_0x230a99){return _0x1cfa6a&&_0x230a99;},_0x24c073[_0x44b410(0x22a)]=_0x44b410(0x22f);const _0x419f8b=_0x24c073;logger[_0x44b410(0x2a8)]('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x24547b);try{let _0x4db3b7;if(_0x419f8b['rCbmh'](_0x24547b,_0x419f8b['VrlVC'])){_0x4db3b7=jestUtils[_0x44b410(0x2a5)](_0x473049),global['__jestCurrentTestIdentifier']=_0x4db3b7,_0x473049['testAnalyticsId']=_0x4db3b7,_0x473049['id']=_0x4db3b7,_0x473049[_0x44b410(0x1d7)]=new Date()[_0x44b410(0x1e7)]();const _0x2f6912=_0x1bf58a[_0x44b410(0x254)];_0x1bf58a[_0x44b410(0x254)]=_0x473049,_0x473049['retryOf']=null;if(_0x419f8b['YMyFK'](_0x473049['_currentRetry'],0x0)&&_0x2f6912&&_0x419f8b['WoOcX'](_0x2f6912[_0x44b410(0x292)],_0x473049[_0x44b410(0x292)])){_0x473049[_0x44b410(0x21e)]=_0x2f6912[_0x44b410(0x1e5)];const _0x2419cb=await jestUtils['createTestFrameworkData'](_0x473049,_0x4db3b7,_0x419f8b[_0x44b410(0x1d5)]),_0x1c82ed=BrowserstackCLI[_0x44b410(0x20d)]()[_0x44b410(0x212)]();if(_0x419f8b['LdpRi'](_0x2419cb,_0x1c82ed)){const _0x549556={};_0x549556[_0x44b410(0x22f)]=_0x2419cb,await _0x1c82ed[_0x44b410(0x2b0)](TestFrameworkState[_0x44b410(0x224)],HookState[_0x44b410(0x24f)],_0x549556);}_0x2f6912[_0x44b410(0x1ee)]=_0x419f8b['hYLHJ'];const _0x55a66=await jestUtils[_0x44b410(0x257)](_0x2f6912,_0x2f6912[_0x44b410(0x1e5)],_0x419f8b[_0x44b410(0x1ec)]);if(_0x419f8b[_0x44b410(0x272)](_0x55a66,_0x1c82ed)){const _0x19b88c={};_0x19b88c[_0x44b410(0x22f)]=_0x55a66,await _0x1c82ed[_0x44b410(0x2b0)](TestFrameworkState[_0x44b410(0x224)],HookState['POST'],_0x19b88c);}}else{const _0x2d9795=await jestUtils[_0x44b410(0x257)](_0x473049,_0x4db3b7,_0x419f8b[_0x44b410(0x1d5)]),_0x24d655=BrowserstackCLI[_0x44b410(0x20d)]()['getTestFramework']();if(_0x419f8b[_0x44b410(0x2a4)](_0x2d9795,_0x24d655)){const _0x299f8d={};_0x299f8d[_0x44b410(0x22f)]=_0x2d9795,await _0x24d655[_0x44b410(0x2b0)](TestFrameworkState['TEST'],HookState['PRE'],_0x299f8d);}}}else{_0x4db3b7=_0x473049['testAnalyticsId']||_0x473049['id']||global[_0x44b410(0x21f)];const _0x5519fb=await jestUtils[_0x44b410(0x257)](_0x473049,_0x4db3b7,_0x24547b),_0x37fe30=BrowserstackCLI[_0x44b410(0x20d)]()[_0x44b410(0x212)]();if(_0x419f8b['ImSDM'](_0x5519fb,_0x37fe30)){const _0x144de6={};_0x144de6[_0x44b410(0x22f)]=_0x5519fb,_0x144de6[_0x44b410(0x20b)]=_0x473049,_0x144de6[_0x44b410(0x29f)]=_0x4db3b7,await _0x37fe30[_0x44b410(0x2b0)](TestFrameworkState[_0x44b410(0x224)],HookState[_0x44b410(0x1cf)],_0x144de6);const _0x33feaf={};_0x33feaf[_0x44b410(0x1bb)]=_0x4db3b7,_0x33feaf[_0x44b410(0x245)]=_0x419f8b[_0x44b410(0x22a)],await _0x37fe30[_0x44b410(0x2b0)](TestFrameworkState[_0x44b410(0x298)],HookState[_0x44b410(0x1cf)],_0x33feaf);}}}catch(_0x655bca){logger['error'](_0x44b410(0x2a6)+util['format'](_0x655bca));throw _0x655bca;}}exportsI[a21_0x2a4b8(0x20c)]=(..._0x1896aa)=>{const _0x1f5eeb=a21_0x2a4b8,_0x3905f1={'zEMxO':function(_0x23f180,_0x12fe9b){return _0x23f180(_0x12fe9b);},'RGKfY':'stack-trace','ybFQW':function(_0x79b0b3,_0x55f776){return _0x79b0b3(_0x55f776);},'esFKn':function(_0x4d41d6,_0x36f4f1){return _0x4d41d6&&_0x36f4f1;},'PoWVd':'hook_start','PGWtV':function(_0xb5303e,_0x1062dd){return _0xb5303e===_0x1062dd;},'kppAm':_0x1f5eeb(0x1e6),'OnUEx':function(_0x345b1c){return _0x345b1c();},'MhSSD':function(_0x51ab40,_0x5958c7,_0x57700f,_0x51b310){return _0x51ab40(_0x5958c7,_0x57700f,_0x51b310);},'sMlAL':_0x1f5eeb(0x29d),'XPibo':function(_0xb5774e,_0x440094){return _0xb5774e(_0x440094);},'ltraF':_0x1f5eeb(0x29c),'GbbAB':function(_0x26d480){return _0x26d480();},'Pcpqj':function(_0x15ab68,_0x414f0d){return _0x15ab68(_0x414f0d);},'Uhyrl':_0x1f5eeb(0x261),'PdRYi':function(_0x46fd4e,_0x3d86b2){return _0x46fd4e(_0x3d86b2);},'xyvoU':'hook_failure','dhEqU':'beforeAll','MrmBY':_0x1f5eeb(0x1e0),'ShjWj':'afterEach','ldfGc':function(_0x158188,_0x4e0168){return _0x158188>_0x4e0168;},'NdqHb':function(_0x4f92cb){return _0x4f92cb();},'JMQMb':function(_0x122abb,_0x50ceae,_0x2a6677,_0x512ca2){return _0x122abb(_0x50ceae,_0x2a6677,_0x512ca2);},'XAycd':function(_0x2db17a,_0x159490){return _0x2db17a(_0x159490);},'qiHDh':function(_0x58e114,_0x33f3a2){return _0x58e114(_0x33f3a2);},'Koxle':_0x1f5eeb(0x1e2),'uMzxZ':function(_0x3ee866,_0x119487){return _0x3ee866(_0x119487);},'vqBmx':function(_0xd80fdf,_0x4e4e8f){return _0xd80fdf(_0x4e4e8f);},'uFfdi':function(_0x3b86f0,_0x272ba3){return _0x3b86f0!==_0x272ba3;},'niZzP':_0x1f5eeb(0x241),'TgTXv':function(_0x6d6277){return _0x6d6277();},'PBlyv':function(_0x2849c9,_0x5cf003,_0x54199e,_0x4b910f){return _0x2849c9(_0x5cf003,_0x54199e,_0x4b910f);},'OpdGT':'TestRunStarted','bFvGX':function(_0x2d3106,_0x52279b){return _0x2d3106(_0x52279b);},'EGpAy':function(_0x37b278){return _0x37b278();},'JVXRC':_0x1f5eeb(0x239),'shlTc':function(_0x4003ee,_0x2def54){return _0x4003ee(_0x2def54);},'gLJLR':function(_0x1246bc,_0x27aa64){return _0x1246bc(_0x27aa64);},'vAqDH':function(_0x4cf0bc,_0x2a2b69){return _0x4cf0bc(_0x2a2b69);},'rLONy':function(_0x5d5b35,_0x27189f){return _0x5d5b35(_0x27189f);},'yjmhJ':function(_0x6ae2b0,_0x37a3b7){return _0x6ae2b0>_0x37a3b7;},'sIOKx':'fail','GiFLY':'failed','QDIuR':_0x1f5eeb(0x23c),'bphPU':function(_0xe13ba3,_0x328392){return _0xe13ba3||_0x328392;},'QdTUB':function(_0x4d3dc9){return _0x4d3dc9();},'qomwb':_0x1f5eeb(0x1ba),'oVyjn':function(_0x35087f,_0x797816){return _0x35087f(_0x797816);},'gqSAb':function(_0x58f325){return _0x58f325();},'usNil':_0x1f5eeb(0x1dc),'cWdfl':function(_0x1b1ead,_0x11162f){return _0x1b1ead(_0x11162f);},'HOGTz':function(_0x371a87,_0x32d1c6){return _0x371a87(_0x32d1c6);},'ZKSuh':_0x1f5eeb(0x1df),'IFAZi':function(_0x1ea287,_0x37969b){return _0x1ea287(_0x37969b);},'FiiHa':_0x1f5eeb(0x232),'iYZSH':_0x1f5eeb(0x1b9),'xZROV':function(_0x3065cb){return _0x3065cb();},'VMBwc':_0x1f5eeb(0x244),'XJtcG':_0x1f5eeb(0x29b),'qCCOb':function(_0x2c4ef1,_0x19464e){return _0x2c4ef1===_0x19464e;},'DOTHq':function(_0x52b1bd){return _0x52b1bd();},'rOnZe':function(_0x198b3f,_0x1dd9e8,_0x42b620){return _0x198b3f(_0x1dd9e8,_0x42b620);},'KRWYx':_0x1f5eeb(0x265),'saVCb':_0x1f5eeb(0x220),'gEwXf':function(_0x5c29ba,_0x324b97){return _0x5c29ba(_0x324b97);},'HbHAm':function(_0x27d358,_0x3dcb5a,_0x2a41cb){return _0x27d358(_0x3dcb5a,_0x2a41cb);},'jCyYH':'jest-circus/build/utils.js','LSIXq':function(_0x42c061,_0x1425f2){return _0x42c061(_0x1425f2);},'xUQbp':function(_0x6a7839){return _0x6a7839();},'WYxsZ':function(_0x151c5b,_0x1ce091,_0x4830ba){return _0x151c5b(_0x1ce091,_0x4830ba);},'TLZKv':_0x1f5eeb(0x1fc),'NmGDj':function(_0x1b443d,..._0x2facff){return _0x1b443d(..._0x2facff);}};try{logger[_0x1f5eeb(0x2a8)]('[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub='+_0x3905f1[_0x1f5eeb(0x1ab)](shouldProcessEventForTesthub)+',\x20BROWSERSTACK_PUPPETEER='+process[_0x1f5eeb(0x287)][_0x1f5eeb(0x256)]);const _0x14d9ba=_0x1896aa&&_0x1896aa[0x0]?_0x1896aa[0x0]:{};_0x14d9ba&&_0x3905f1[_0x1f5eeb(0x1be)](typeof _0x14d9ba['testPath'],_0x3905f1[_0x1f5eeb(0x255)])&&_0x14d9ba[_0x1f5eeb(0x200)]&&(_currentTestPath=_0x14d9ba[_0x1f5eeb(0x200)]);let _0x305392=0x0;try{if(_0x14d9ba[_0x1f5eeb(0x1d1)]&&_0x3905f1['PGWtV'](typeof _0x14d9ba[_0x1f5eeb(0x1d1)][_0x1f5eeb(0x294)],_0x3905f1['XJtcG']))_0x305392=_0x14d9ba[_0x1f5eeb(0x1d1)][_0x1f5eeb(0x294)];else{if(_0x14d9ba[_0x1f5eeb(0x283)]&&_0x3905f1[_0x1f5eeb(0x249)](typeof _0x14d9ba[_0x1f5eeb(0x283)][_0x1f5eeb(0x294)],_0x3905f1[_0x1f5eeb(0x2b1)]))_0x305392=_0x14d9ba[_0x1f5eeb(0x283)][_0x1f5eeb(0x294)];else global[_0x1f5eeb(0x27f)]&&_0x3905f1['PGWtV'](typeof global[_0x1f5eeb(0x27f)][_0x1f5eeb(0x294)],_0x3905f1[_0x1f5eeb(0x2b1)])&&(_0x305392=global[_0x1f5eeb(0x27f)][_0x1f5eeb(0x294)]);}}catch(_0x10d1cc){logger[_0x1f5eeb(0x2a8)]('Error\x20reading\x20platformIndex\x20from\x20args:\x20'+util[_0x1f5eeb(0x278)](_0x10d1cc));}global['__bstackPlatformIndex']=_0x305392,process['env']['BROWSERSTACK_PLATFORM_INDEX']=_0x3905f1[_0x1f5eeb(0x1fe)](String,_0x305392);const _0x230232=new ObservabilityReporter();!_initializedPlatformIndices[_0x1f5eeb(0x1d9)](_0x305392)?(logger['debug'](_0x1f5eeb(0x240)+_0x305392),_initializedPlatformIndices[_0x1f5eeb(0x286)](_0x305392),_0x3905f1[_0x1f5eeb(0x1f3)](shouldProcessEventForTesthub)&&(_0x3905f1[_0x1f5eeb(0x1ac)](patchConsoleLogger),_0x230232[_0x1f5eeb(0x217)]())):logger[_0x1f5eeb(0x2a8)](_0x1f5eeb(0x233)+_0x305392+_0x1f5eeb(0x1bf));let _0x271cdd;try{_0x271cdd=_0x3905f1[_0x1f5eeb(0x27e)](requireModule,_0x3905f1[_0x1f5eeb(0x1ca)],_0x3905f1[_0x1f5eeb(0x1c3)]);}catch{_0x271cdd=_0x3905f1[_0x1f5eeb(0x208)](requireModule,_0x3905f1[_0x1f5eeb(0x1c3)]);}let _0x20546b;try{_0x20546b=_0x3905f1[_0x1f5eeb(0x29e)](requireModule,_0x3905f1['jCyYH'],_0x3905f1[_0x1f5eeb(0x1c3)])['makeSingleTestResult'];}catch{_0x20546b=_0x3905f1['LSIXq'](requireModule,_0x3905f1['saVCb'])[_0x1f5eeb(0x2b3)]||(()=>({}));}const _0x161e63=BrowserstackCLI['getInstance']()['isCliEnabled']();(_0x3905f1[_0x1f5eeb(0x282)](shouldProcessEventForTesthub)||_0x161e63)&&_0x271cdd[_0x1f5eeb(0x1d4)](_0x3905f1[_0x1f5eeb(0x1f8)](o11yErrorHandler,async(_0x4aa624,_0x4666e9)=>{const _0x593bdf=_0x1f5eeb,_0xca4f77={'YZgvP':function(_0x124556,_0x25e4b4){const _0x3ca21d=a21_0x6512;return _0x3905f1[_0x3ca21d(0x1ce)](_0x124556,_0x25e4b4);},'CVkxd':_0x3905f1[_0x593bdf(0x214)],'tNZVT':function(_0x23e47a,_0x2f71ec){const _0x1f60f3=_0x593bdf;return _0x3905f1[_0x1f60f3(0x268)](_0x23e47a,_0x2f71ec);}};_0x3905f1['esFKn'](_currentTestPath,_0x4aa624)&&_0x4aa624[_0x593bdf(0x22f)]&&!_0x4aa624[_0x593bdf(0x22f)][_0x593bdf(0x25a)]&&(_0x4aa624[_0x593bdf(0x22f)][_0x593bdf(0x25a)]=_currentTestPath);switch(_0x4aa624[_0x593bdf(0x276)]){case _0x3905f1['PoWVd']:if(_0x4aa624[_0x593bdf(0x1b8)]['fn']&&_0x4aa624[_0x593bdf(0x1b8)]['fn'][_0x593bdf(0x23a)]()[_0x593bdf(0x299)](/browserstack internal helper hook/))break;if(_0x4aa624[_0x593bdf(0x1b8)][_0x593bdf(0x26e)]&&_0x3905f1['PGWtV'](_0x4aa624[_0x593bdf(0x1b8)][_0x593bdf(0x26e)][_0x593bdf(0x276)],_0x3905f1[_0x593bdf(0x1f7)])){const _0x357a50=_0x4aa624[_0x593bdf(0x1b8)][_0x593bdf(0x1ad)]&&((()=>{const _0x456856=_0x593bdf;try{const _0x29893e=_0xca4f77[_0x456856(0x1fd)](require,_0xca4f77[_0x456856(0x1b0)]),_0x4a75e6=_0x29893e[_0x456856(0x290)]['call'](_0x29893e,_0x4aa624['hook'][_0x456856(0x1ad)]);return _0x4a75e6[0x0]&&_0x4a75e6[0x0][_0x456856(0x236)]?_0x4a75e6[0x0][_0x456856(0x236)]():null;}catch(_0xb92bad){return logger[_0x456856(0x2a8)](_0x456856(0x1aa)+_0xb92bad['message']),null;}})())||_0x4aa624[_0x593bdf(0x1b8)][_0x593bdf(0x25a)]||null;if(!_0x357a50)break;}if(BrowserstackCLI[_0x593bdf(0x20d)]()[_0x593bdf(0x258)]()&&await _0x3905f1[_0x593bdf(0x2a0)](isCLIReady)){if(_0x3905f1[_0x593bdf(0x1ce)](shouldProcessEventForTesthub,testHubConstants[_0x593bdf(0x271)][_0x593bdf(0x1b2)]))try{await _0x3905f1[_0x593bdf(0x23d)](handleHookEventCLI,_0x4aa624['hook'],_0x3905f1[_0x593bdf(0x20a)],_0x4666e9);break;}catch(_0x12dd5f){_0x3905f1[_0x593bdf(0x1c7)](debug,_0x593bdf(0x259)+util['format'](_0x12dd5f));}}if(_0x3905f1['XPibo'](shouldProcessEventForTesthub,testHubConstants[_0x593bdf(0x271)][_0x593bdf(0x1b2)])){if(!_0x4aa624[_0x593bdf(0x1b8)][_0x593bdf(0x1d6)]){const _0x27330f=TestDetails[_0x593bdf(0x247)](process['pid']+':hookAnalyticsId');_0x4aa624[_0x593bdf(0x1b8)][_0x593bdf(0x1d6)]=_0x27330f;}else _0x4aa624[_0x593bdf(0x1b8)][_0x593bdf(0x24c)]&&(_0x4aa624[_0x593bdf(0x1b8)][_0x593bdf(0x1d6)]=TestDetails[_0x593bdf(0x247)](process[_0x593bdf(0x202)]+_0x593bdf(0x250)),delete _0x4aa624[_0x593bdf(0x1b8)][_0x593bdf(0x24c)]);_0x4aa624[_0x593bdf(0x1b8)][_0x593bdf(0x1d7)]=new Date()[_0x593bdf(0x1e7)](),await _0x230232[_0x593bdf(0x1c9)](_0x4aa624[_0x593bdf(0x1b8)],undefined,![],_0x3905f1[_0x593bdf(0x20a)]);}break;case _0x3905f1[_0x593bdf(0x1d8)]:if(BrowserstackCLI[_0x593bdf(0x20d)]()[_0x593bdf(0x258)]()&&await _0x3905f1[_0x593bdf(0x1e8)](isCLIReady)){if(_0x3905f1['Pcpqj'](shouldProcessEventForTesthub,testHubConstants[_0x593bdf(0x271)]['HookFinished']))try{await _0x3905f1[_0x593bdf(0x23d)](handleHookEventCLI,_0x4aa624[_0x593bdf(0x1b8)],_0x3905f1[_0x593bdf(0x21b)],_0x4666e9);break;}catch(_0x2c88c7){_0x3905f1[_0x593bdf(0x268)](debug,_0x593bdf(0x259)+util[_0x593bdf(0x278)](_0x2c88c7));}}_0x3905f1['PdRYi'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x593bdf(0x1f6)])&&(await _0x230232[_0x593bdf(0x1c9)](_0x4aa624[_0x593bdf(0x1b8)],undefined,![],_0x3905f1[_0x593bdf(0x21b)]),TestDetails[_0x593bdf(0x1bc)](process[_0x593bdf(0x202)]+_0x593bdf(0x250)));break;case _0x3905f1[_0x593bdf(0x2af)]:[_0x3905f1['dhEqU'],_0x3905f1[_0x593bdf(0x1fa)],_0x3905f1['ShjWj']][_0x593bdf(0x1b4)](_0x4aa624['hook'][_0x593bdf(0x245)])&&(_0x230232['hook_failure']=_0x4aa624[_0x593bdf(0x1b8)][_0x593bdf(0x245)]),_0x4666e9[_0x593bdf(0x1f4)]&&_0x3905f1[_0x593bdf(0x1b3)](_0x4666e9[_0x593bdf(0x1f4)][_0x593bdf(0x1ea)],0x0)&&(_0x4aa624['hook'][_0x593bdf(0x26c)]=[_0x4666e9[_0x593bdf(0x1f4)][0x0][0x0]]);if(BrowserstackCLI['getInstance']()[_0x593bdf(0x258)]()&&await _0x3905f1['NdqHb'](isCLIReady)){if(_0x3905f1[_0x593bdf(0x213)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x593bdf(0x1f6)]))try{await _0x3905f1[_0x593bdf(0x2a7)](handleHookEventCLI,_0x4aa624[_0x593bdf(0x1b8)],_0x3905f1[_0x593bdf(0x21b)],_0x4666e9);break;}catch(_0x24f068){_0x3905f1['XAycd'](debug,_0x593bdf(0x259)+util[_0x593bdf(0x278)](_0x24f068));}}_0x3905f1[_0x593bdf(0x203)](shouldProcessEventForTesthub,testHubConstants[_0x593bdf(0x271)][_0x593bdf(0x1f6)])&&(await _0x230232[_0x593bdf(0x1c9)](_0x4aa624['hook'],undefined,![],_0x3905f1[_0x593bdf(0x21b)]),TestDetails[_0x593bdf(0x1bc)](process[_0x593bdf(0x202)]+':hookAnalyticsId'));break;case _0x3905f1['Koxle']:if(_0x3905f1[_0x593bdf(0x1c8)](isTrue,process[_0x593bdf(0x287)][_0x593bdf(0x29a)])&&_0x3905f1[_0x593bdf(0x218)](isPhantomSkipFromNameFilter,_0x4aa624['test'])){const _0x141e6a=_0x3905f1[_0x593bdf(0x1c7)](getFullJestTestName,_0x4aa624[_0x593bdf(0x22f)]);logger[_0x593bdf(0x2a8)](_0x593bdf(0x1dd)+_0x141e6a+'\x22');break;}try{let _0x336aeb=_0x4aa624[_0x593bdf(0x22f)][_0x593bdf(0x276)]||'';try{let _0x306fcb=_0x4aa624[_0x593bdf(0x22f)]['parent'];const _0x4b347e=[_0x336aeb];while(_0x306fcb&&_0x306fcb[_0x593bdf(0x276)]&&_0x3905f1[_0x593bdf(0x25f)](_0x306fcb[_0x593bdf(0x276)],_0x3905f1['kppAm'])){_0x4b347e[_0x593bdf(0x234)](_0x306fcb[_0x593bdf(0x276)]),_0x306fcb=_0x306fcb[_0x593bdf(0x26e)];}_0x336aeb=_0x4b347e[_0x593bdf(0x27a)](_0x3905f1[_0x593bdf(0x22e)]);}catch(_0xd81ac){logger[_0x593bdf(0x2a8)](_0x593bdf(0x2aa)+_0xd81ac[_0x593bdf(0x242)]);}process['_bstackTestName']=_0x336aeb,process[_0x593bdf(0x235)]=null,process[_0x593bdf(0x1f2)]=null,logger[_0x593bdf(0x2a8)](_0x593bdf(0x225)+_0x336aeb+'\x22');if(!global[_0x593bdf(0x1af)]){const _0x283c50={};_0x283c50[_0x593bdf(0x1c2)]={},global[_0x593bdf(0x1af)]=_0x283c50;}!global[_0x593bdf(0x1af)][_0x593bdf(0x1c2)]&&(global[_0x593bdf(0x1af)][_0x593bdf(0x1c2)]={});const _0x4704a3={};_0x4704a3[_0x593bdf(0x292)]=_0x336aeb,_0x4704a3['name']=_0x336aeb,global['__workerDetails'][_0x593bdf(0x1c2)]['testInfo']=_0x4704a3,global[_0x593bdf(0x1de)]=_0x336aeb;}catch(_0x57cc7f){logger[_0x593bdf(0x2a8)](_0x593bdf(0x22d)+_0x57cc7f[_0x593bdf(0x242)]);}if(BrowserstackCLI[_0x593bdf(0x20d)]()[_0x593bdf(0x258)]()&&await _0x3905f1[_0x593bdf(0x2ab)](isCLIReady))try{await _0x3905f1['PBlyv'](handleTestEventCLI,_0x4aa624[_0x593bdf(0x22f)],_0x3905f1[_0x593bdf(0x260)],_0x230232);break;}catch(_0x562fea){_0x3905f1['bFvGX'](debug,_0x593bdf(0x259)+util[_0x593bdf(0x278)](_0x562fea));}_0x3905f1['EGpAy'](shouldProcessEventForTesthub)&&await _0x230232[_0x593bdf(0x201)](_0x4aa624[_0x593bdf(0x22f)]);break;case _0x3905f1[_0x593bdf(0x1c1)]:{const _0x3fda1f=_0x4aa624[_0x593bdf(0x22f)];if(_0x3905f1[_0x593bdf(0x1b5)](isTrue,process[_0x593bdf(0x287)][_0x593bdf(0x29a)])&&_0x3905f1[_0x593bdf(0x246)](isPhantomSkipFromNameFilter,_0x3fda1f)){const _0x5519da=_0x3905f1[_0x593bdf(0x295)](getFullJestTestName,_0x3fda1f);logger[_0x593bdf(0x2a8)](_0x593bdf(0x24b)+_0x5519da+'\x22'),_0x3fda1f['markedStatus']=!![];break;}_0x4aa624[_0x593bdf(0x22f)]={..._0x3905f1[_0x593bdf(0x2a2)](_0x20546b,_0x4aa624[_0x593bdf(0x22f)]),..._0x4aa624['test']};try{const _0x2fd6fc=_0x4aa624[_0x593bdf(0x22f)][_0x593bdf(0x270)]||[],_0x226403=_0x3905f1[_0x593bdf(0x27b)](_0x2fd6fc[_0x593bdf(0x1ea)],0x0)||_0x3905f1[_0x593bdf(0x1be)](_0x4aa624[_0x593bdf(0x22f)]['status'],_0x3905f1[_0x593bdf(0x22b)]),_0x551c50=_0x226403?_0x3905f1[_0x593bdf(0x28e)]:_0x3905f1[_0x593bdf(0x1b6)];let _0x56b344='';_0x226403&&(_0x56b344=_0x2fd6fc[_0x593bdf(0x1ae)](_0x11a587=>{const _0x22a1ac=_0x593bdf;if(Array['isArray'](_0x11a587))return _0x11a587['map'](_0x3be7d8=>_0x3be7d8&&_0x3be7d8[_0x22a1ac(0x242)]||String(_0x3be7d8))[_0x22a1ac(0x27a)](';\x20');return _0x11a587&&_0x11a587['message']||_0xca4f77[_0x22a1ac(0x1c5)](String,_0x11a587);})[_0x593bdf(0x27a)](';\x20')),process[_0x593bdf(0x235)]=_0x551c50,process[_0x593bdf(0x1f2)]=_0x3905f1[_0x593bdf(0x1da)](_0x56b344,''),logger['debug'](_0x593bdf(0x1c0)+_0x551c50+'\x22'),global[_0x593bdf(0x1af)]&&global[_0x593bdf(0x1af)][_0x593bdf(0x1c2)]&&(!global[_0x593bdf(0x1af)]['currentTest'][_0x593bdf(0x219)]&&(global[_0x593bdf(0x1af)][_0x593bdf(0x1c2)][_0x593bdf(0x219)]={}),global[_0x593bdf(0x1af)][_0x593bdf(0x1c2)][_0x593bdf(0x219)][_0x593bdf(0x252)]=_0x551c50,_0x226403&&(global[_0x593bdf(0x1af)][_0x593bdf(0x1c2)][_0x593bdf(0x219)]['failureMessage']=_0x56b344));}catch(_0x4864f6){logger['debug'](_0x593bdf(0x1e9)+_0x4864f6[_0x593bdf(0x242)]);}if(!_0x4aa624['test'][_0x593bdf(0x24c)]){_0x4aa624[_0x593bdf(0x22f)][_0x593bdf(0x24c)]=!![];if(BrowserstackCLI[_0x593bdf(0x20d)]()[_0x593bdf(0x258)]()&&await _0x3905f1[_0x593bdf(0x238)](isCLIReady))try{await _0x3905f1['MhSSD'](handleTestEventCLI,_0x4aa624['test'],_0x3905f1['qomwb'],_0x230232);break;}catch(_0x4b5b39){_0x3905f1[_0x593bdf(0x251)](debug,_0x593bdf(0x259)+util[_0x593bdf(0x278)](_0x4b5b39));}_0x3905f1['gqSAb'](shouldProcessEventForTesthub)&&await _0x230232[_0x593bdf(0x1c9)](_0x4aa624[_0x593bdf(0x22f)]);}break;}case _0x3905f1['usNil']:{const _0x1dcc33=_0x4aa624[_0x593bdf(0x22f)];if(_0x3905f1[_0x593bdf(0x213)](isTrue,process[_0x593bdf(0x287)][_0x593bdf(0x29a)])&&_0x3905f1[_0x593bdf(0x246)](isPhantomSkipFromNameFilter,_0x1dcc33)){const _0x570c79=_0x3905f1['cWdfl'](getFullJestTestName,_0x1dcc33);logger[_0x593bdf(0x2a8)](_0x593bdf(0x24a)+_0x570c79+'\x22'),_0x1dcc33[_0x593bdf(0x24c)]=!![];break;}_0x4aa624['test']={..._0x3905f1[_0x593bdf(0x1fe)](_0x20546b,_0x4aa624[_0x593bdf(0x22f)]),..._0x4aa624[_0x593bdf(0x22f)]};if(!_0x4aa624[_0x593bdf(0x22f)][_0x593bdf(0x24c)]){_0x4aa624[_0x593bdf(0x22f)][_0x593bdf(0x24c)]=!![];if(BrowserstackCLI[_0x593bdf(0x20d)]()[_0x593bdf(0x258)]()&&await _0x3905f1[_0x593bdf(0x238)](isCLIReady))try{await _0x3905f1[_0x593bdf(0x23d)](handleTestEventCLI,_0x4aa624[_0x593bdf(0x22f)],_0x3905f1[_0x593bdf(0x211)],_0x230232);break;}catch(_0xcb482e){_0x3905f1[_0x593bdf(0x1ff)](debug,_0x593bdf(0x259)+util[_0x593bdf(0x278)](_0xcb482e));}_0x3905f1['OnUEx'](shouldProcessEventForTesthub)&&await _0x230232[_0x593bdf(0x1c9)](_0x4aa624[_0x593bdf(0x22f)],undefined,![],_0x3905f1[_0x593bdf(0x211)]);}break;}case _0x3905f1[_0x593bdf(0x2a9)]:_0x230232[_0x593bdf(0x21a)]=null;break;case _0x3905f1['iYZSH']:await RequestQueueHandler['getInstance']()[_0x593bdf(0x1d2)](),process[_0x593bdf(0x296)]();break;default:}},_0x3905f1[_0x1f5eeb(0x24d)]));}catch(_0x3f3d75){_0x3905f1[_0x1f5eeb(0x1ff)](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0x3f3d75);}return _0x3905f1['NmGDj'](initInitialize,..._0x1896aa);};try{Object[a21_0x2a4b8(0x26d)](exportsI)[a21_0x2a4b8(0x1d3)](_0x362a44=>{const _0x3ec3e4=a21_0x2a4b8,_0x5585c0={'ahDpr':function(_0x4c04c6,_0x565231){return _0x4c04c6(_0x565231);}};try{exports&&(exports[_0x362a44]=exportsI[_0x362a44]);}catch(_0x5ce15b){_0x5585c0[_0x3ec3e4(0x274)](debug,_0x3ec3e4(0x1cd)+_0x5ce15b);}});}catch(a21_0x3d075c){debug(a21_0x2a4b8(0x1ed)+a21_0x3d075c);}const a21_0x59b767={};function a21_0x4556(){const _0x1ee6e9=['Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','zEMxO','POST','--testNamePattern','config','shutdown','forEach','addEventHandler','VrlVC','hookAnalyticsId','started_at','ltraF','has','bphPU','woLJT','test_skip','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','browserstackTestName','TestRunSkipped','beforeEach','error','test_start','263282MBXpSi','../../../helpers/testhub/constants','testAnalyticsId','ROOT_DESCRIBE_BLOCK','toISOString','GbbAB','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','length','createHookData','xbfEd','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','state','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','NsqeF','vQymI','_bstackTestFailureReason','gqSAb','unhandledErrors','6bEZXhA','HookFinished','kppAm','WYxsZ','YsIPb','MrmBY','stack-trace','EventHandler','YZgvP','HOGTz','IFAZi','testPath','testStarted','pid','qiHDh','2368270vVWcyO','PUPPETEER','liJVa','__rerunFilterHelpers','gEwXf','../../v2/state/hookState','sMlAL','originalTest','initialize','getInstance','lNWnQ','IVefY','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','ZKSuh','getTestFramework','Pcpqj','RGKfY','../../v2/state/testFrameworkState','nQAcu','registerListeners','vqBmx','testInfo','hook_failure','Uhyrl','EysTQ','call','retryOf','__jestCurrentTestIdentifier','jest-circus','../../v2/browserstackCLI','zyudm','sdlNZ','TEST','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','beforeAll','QQrwG','IuWGG','hookData','SzfAP','sIOKx','getState','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','niZzP','test','\x20for\x20hook\x20type:\x20','../../../helpers/logger','run_describe_finish','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','unshift','_bstackTestStatus','getFileName','mQcpn','QdTUB','test_done','toString','hookUUID','passed','MhSSD','../../v2/utils/jest-utils','cDVHn','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','\x20>\x20','message','currentHook','string','type','gLJLR','setTestUUID','getActiveTestNamePattern','qCCOb','[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','markedStatus','TLZKv','QpPsR','PRE',':hookAnalyticsId','oVyjn','status','bootstrap','current_test','VMBwc','BROWSERSTACK_PUPPETEER','createTestFrameworkData','isCliEnabled','Error\x20routing\x20to\x20JestTestFramework:\x20','file','hYLHJ','uiazT','setActiveHook','startsWith','uFfdi','OpdGT','HookRunFinished','isPhantomSkipFromNameFilter','cxife','YKxwW','jest-circus/build/state.js','Handling\x20hook\x20event\x20for\x20CLI:\x20','HJJuV','ybFQW','BEFORE_EACH','OvlQK','TestRunStarted','errorsDetailed','keys','parent','-t=','errors','EVENT','LdpRi','../../../helpers/testhub/utils','ahDpr','JEST','name','3477648JUseoi','format','BROWSERSTACK_CLI_BIN_SESSION_ID','join','yjmhJ','PLAYWRIGHT','ZzCQj','rOnZe','jestConfig','isRunning','GwbMU','xUQbp','configuration','testNamePattern','setFrameworkDetail','add','env','jest-circus/build/jestAdapterInit.js','../test-observability/test-details','failed','gKMmz','98060akyOEK','afterEach','GiFLY','MzviM','parse','gdZuB','title','function','browserstackPlatformIndex','vAqDH','removeAllListeners','1527588rjyrGu','LOG_REPORT','match','BROWSERSTACK_RERUN','number','hook_success','HookRunStarted','HbHAm','testIdentifier','OnUEx','5069421ZcvaVy','rLONy','CLI\x20is\x20enabled\x20and\x20running.','rJBBI','createIdentifierFromJestTest','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','JMQMb','debug','FiiHa','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','TgTXv','qSgXq','WoOcX','rFxiy','xyvoU','trackEvent','XJtcG','4MDwdCa','makeSingleTestResult','../test-observability/obsReporter','getAutomationFrameworkDetail','Error\x20checking\x20CLI\x20readiness:\x20','slice','ImSDM','../../../helpers/test-observability/error-handler','DhECN','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','xZROV','DOTHq','asyncError','map','__workerDetails','CVkxd','ZivTm','HookStarted','ldfGc','includes','shlTc','QDIuR','--testNamePattern=','hook','teardown','TestRunFinished','testUUID','removeTestUUID','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','PGWtV',',\x20re-registering\x20event\x20handler','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','JVXRC','currentTest','saVCb','AFTER_EACH','tNZVT','968254ursoos','XPibo','uMzxZ','sendTestRunEvent','KRWYx','RilmR','winstonLogger'];a21_0x4556=function(){return _0x1ee6e9;};return a21_0x4556();}a21_0x59b767['getFullJestTestName']=getFullJestTestName,a21_0x59b767[a21_0x2a4b8(0x248)]=getActiveTestNamePattern,a21_0x59b767[a21_0x2a4b8(0x262)]=isPhantomSkipFromNameFilter,exports[a21_0x2a4b8(0x207)]=a21_0x59b767;
@@ -1 +1 @@
1
- const a22_0x56ec1b=a22_0x5418;(function(_0x378835,_0x68270b){const _0x2871bf=a22_0x5418,_0x385576=_0x378835();while(!![]){try{const _0x41bb84=-parseInt(_0x2871bf(0x1c3))/0x1+parseInt(_0x2871bf(0x1c1))/0x2*(-parseInt(_0x2871bf(0x1b4))/0x3)+parseInt(_0x2871bf(0x1c5))/0x4+-parseInt(_0x2871bf(0x1ba))/0x5+parseInt(_0x2871bf(0x1c0))/0x6*(parseInt(_0x2871bf(0x1be))/0x7)+-parseInt(_0x2871bf(0x1b8))/0x8*(parseInt(_0x2871bf(0x1c6))/0x9)+parseInt(_0x2871bf(0x1bb))/0xa*(parseInt(_0x2871bf(0x1b3))/0xb);if(_0x41bb84===_0x68270b)break;else _0x385576['push'](_0x385576['shift']());}catch(_0x20678b){_0x385576['push'](_0x385576['shift']());}}}(a22_0x5d08,0x1ee2c));function a22_0x5418(_0x2cd6d2,_0x59662b){const _0x5d08a2=a22_0x5d08();return a22_0x5418=function(_0x54180c,_0x54d000){_0x54180c=_0x54180c-0x1b3;let _0x34d422=_0x5d08a2[_0x54180c];return _0x34d422;},a22_0x5418(_0x2cd6d2,_0x59662b);}const Sequencer=require(a22_0x56ec1b(0x1bc))[a22_0x56ec1b(0x1bf)];class CustomSequencer extends Sequencer{['sort'](_0x5e4f29){const _0x479d3f=a22_0x56ec1b,_0x44156c=process[_0x479d3f(0x1b5)][_0x479d3f(0x1b7)];if(!_0x44156c)return _0x5e4f29;const _0x1befce=_0x44156c[_0x479d3f(0x1c4)](','),_0x233ce3=new Map(_0x5e4f29[_0x479d3f(0x1c2)](_0x2d34c5=>_0x1befce['includes'](_0x2d34c5[_0x479d3f(0x1bd)]))[_0x479d3f(0x1b6)](_0x25e3eb=>[_0x25e3eb[_0x479d3f(0x1bd)],_0x25e3eb]));return _0x1befce['map'](_0x43eb4d=>_0x233ce3['get'](_0x43eb4d))[_0x479d3f(0x1c2)](Boolean);}}module[a22_0x56ec1b(0x1b9)]=CustomSequencer;function a22_0x5d08(){const _0x3edce7=['9Qkoakv','6424462PUixsV','49470JlwClb','env','map','JEST_TEST_ORDER','1958088cLNBLz','exports','369565luriaQ','10lOXXGR','@jest/test-sequencer','path','1003898REZsjB','default','6vFwKnC','26dDXoEn','filter','191039mKLYmt','split','492540zyYxWQ'];a22_0x5d08=function(){return _0x3edce7;};return a22_0x5d08();}
1
+ const a22_0x2d51e4=a22_0x5c7a;function a22_0x5c7a(_0x4ef7b4,_0x4ab507){const _0xef4fbe=a22_0xef4f();return a22_0x5c7a=function(_0x5c7a03,_0x5d4ba2){_0x5c7a03=_0x5c7a03-0x113;let _0x57a41d=_0xef4fbe[_0x5c7a03];return _0x57a41d;},a22_0x5c7a(_0x4ef7b4,_0x4ab507);}(function(_0x57ecc0,_0x144718){const _0x211237=a22_0x5c7a,_0x33637a=_0x57ecc0();while(!![]){try{const _0x202527=parseInt(_0x211237(0x120))/0x1*(-parseInt(_0x211237(0x114))/0x2)+-parseInt(_0x211237(0x124))/0x3+parseInt(_0x211237(0x11d))/0x4+-parseInt(_0x211237(0x116))/0x5*(-parseInt(_0x211237(0x123))/0x6)+-parseInt(_0x211237(0x115))/0x7+-parseInt(_0x211237(0x11b))/0x8+parseInt(_0x211237(0x119))/0x9;if(_0x202527===_0x144718)break;else _0x33637a['push'](_0x33637a['shift']());}catch(_0x3d0f03){_0x33637a['push'](_0x33637a['shift']());}}}(a22_0xef4f,0x92980));const Sequencer=require(a22_0x2d51e4(0x117))[a22_0x2d51e4(0x11e)];class CustomSequencer extends Sequencer{[a22_0x2d51e4(0x11a)](_0x36c8bc){const _0x44b1ec=a22_0x2d51e4,_0x2e02f6=process[_0x44b1ec(0x126)][_0x44b1ec(0x118)];if(!_0x2e02f6)return _0x36c8bc;const _0x1ac843=_0x2e02f6[_0x44b1ec(0x122)](','),_0x108e34=new Map(_0x36c8bc['filter'](_0x4f28d3=>_0x1ac843['includes'](_0x4f28d3['path']))[_0x44b1ec(0x121)](_0x3f9e9d=>[_0x3f9e9d[_0x44b1ec(0x11c)],_0x3f9e9d]));return _0x1ac843[_0x44b1ec(0x121)](_0x3acedc=>_0x108e34[_0x44b1ec(0x125)](_0x3acedc))[_0x44b1ec(0x11f)](Boolean);}}function a22_0xef4f(){const _0x3598c2=['path','2559652VKTkQT','default','filter','2aPqvsM','map','split','23658fkJVvQ','2359107GjlNPE','get','env','exports','1146682XrEVGe','7860839OAXJXv','360EKFSpa','@jest/test-sequencer','JEST_TEST_ORDER','27905859PACFaI','sort','2943872sBENgQ'];a22_0xef4f=function(){return _0x3598c2;};return a22_0xef4f();}module[a22_0x2d51e4(0x113)]=CustomSequencer;