browserstack-node-sdk 1.52.0 → 1.52.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 (193) 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 +2 -2
  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/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a10_0x1b4db0=a10_0x8a2e;(function(_0x33ee24,_0x3ecde7){const _0x5a03e1=a10_0x8a2e,_0x505c04=_0x33ee24();while(!![]){try{const _0x35eca1=parseInt(_0x5a03e1(0x152))/0x1+-parseInt(_0x5a03e1(0x180))/0x2*(-parseInt(_0x5a03e1(0x174))/0x3)+-parseInt(_0x5a03e1(0x186))/0x4*(parseInt(_0x5a03e1(0x16d))/0x5)+-parseInt(_0x5a03e1(0x171))/0x6*(-parseInt(_0x5a03e1(0x150))/0x7)+parseInt(_0x5a03e1(0x172))/0x8*(-parseInt(_0x5a03e1(0x15c))/0x9)+parseInt(_0x5a03e1(0x14f))/0xa+-parseInt(_0x5a03e1(0x15e))/0xb;if(_0x35eca1===_0x3ecde7)break;else _0x505c04['push'](_0x505c04['shift']());}catch(_0x1fb714){_0x505c04['push'](_0x505c04['shift']());}}}(a10_0x58f5,0x988df));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x1b4db0(0x163)),setKeepAlive=require(a10_0x1b4db0(0x17c)),cucumberModule=requireModule(a10_0x1b4db0(0x177),'cucumber'),logger=require('../../helpers/logger')[a10_0x1b4db0(0x162)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x1b4db0(0x182)],After=cucumberModule[a10_0x1b4db0(0x167)],configuration=process[a10_0x1b4db0(0x164)][a10_0x1b4db0(0x15f)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a10_0x1b4db0(0x165)])&&(global[a10_0x1b4db0(0x15a)]=!![]),global['__skipSessionStatus']=isTrue(config[a10_0x1b4db0(0x168)]),require(a10_0x1b4db0(0x16c))[a10_0x1b4db0(0x188)](config),global[a10_0x1b4db0(0x161)]=config['platformCaps']||{};}function a10_0x8a2e(_0x2763c3,_0x5eb706){const _0x58f575=a10_0x58f5();return a10_0x8a2e=function(_0x8a2e49,_0x1a59ed){_0x8a2e49=_0x8a2e49-0x14f;let _0x4ba64b=_0x58f575[_0x8a2e49];return _0x4ba64b;},a10_0x8a2e(_0x2763c3,_0x5eb706);}global[a10_0x1b4db0(0x15d)]=0x0;function a10_0x58f5(){const _0x1b683e=['930318OURdAk','8Yzgybd','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','16944QQAMwd','UiIdR','pHpIU','cucumber/lib/index.js','bstack','timeout','setDefaultTimeout','result','../../helpers/setKeepAlive','executeScript','initQuit','ujrVJ','160gqIskT','then','Before','pickle','\x22}}','status','499892CsSgwA','debug','browserstackAgentV2','12002420IRAjUH','7CECiML','join','863193BIsogX','bxnUz','bXxUc','failed','toLowerCase','LPvtm','MBNJQ','Inside\x20browserstack\x20Before','__skipSessionName','ctune','302184evDBGX','__timeout','16631967VqtHUW','CONFIG','zWYbR','__platformCaps','winstonLogger','../../helpers/helper','env','skipSessionName','__driver','After','skipSessionStatus','name','session_','Inside\x20browserstack\x20After','../../index','20nYzNsN','__error_messages__','\x20|\x20','Error:\x20quiting\x20at\x20After:\x20'];a10_0x58f5=function(){return _0x1b683e;};return a10_0x58f5();}const __setDefaultTimeout=cucumberModule[a10_0x1b4db0(0x17a)];cucumberModule['setDefaultTimeout']=_0xe14826=>{const _0xbaeb07=a10_0x1b4db0,_0x22d118={'MBNJQ':function(_0x60826e,_0x30da31){return _0x60826e(_0x30da31);}};global[_0xbaeb07(0x15d)]=_0xe14826,_0x22d118[_0xbaeb07(0x158)](__setDefaultTimeout,_0xe14826);};const a10_0x427998={};a10_0x427998[a10_0x1b4db0(0x169)]=a10_0x1b4db0(0x178),Before(a10_0x427998,function(){const _0x318d64=a10_0x1b4db0,_0xc34fb3={};_0xc34fb3[_0x318d64(0x15b)]=_0x318d64(0x159);const _0x53f554=_0xc34fb3;logger['debug'](_0x53f554[_0x318d64(0x15b)]),global[_0x318d64(0x16e)]=[];});const a10_0x5e6290={};a10_0x5e6290[a10_0x1b4db0(0x169)]=a10_0x1b4db0(0x178),a10_0x5e6290[a10_0x1b4db0(0x179)]=0x2710,After(a10_0x5e6290,function(_0x90d0e2,_0x4ad4d5){const _0x59b7da=a10_0x1b4db0,_0x58c454={'pHpIU':function(_0x29777b,_0x2f4249){return _0x29777b===_0x2f4249;},'LPvtm':_0x59b7da(0x155),'bXxUc':function(_0x54120d,_0x4ec3ca,_0x3e20bd,_0xfa8e40){return _0x54120d(_0x4ec3ca,_0x3e20bd,_0xfa8e40);},'UiIdR':_0x59b7da(0x16f),'bxnUz':function(_0x291d3c,_0x1eab4b,_0x36d2a5){return _0x291d3c(_0x1eab4b,_0x36d2a5);},'ujrVJ':'passed','zWYbR':function(_0xe32ac0){return _0xe32ac0();},'sJLHR':function(_0x5667d1,_0x2b1fcc){return _0x5667d1(_0x2b1fcc);},'KMQBB':_0x59b7da(0x16b)};logger[_0x59b7da(0x187)](_0x58c454['KMQBB']),new Promise(async(_0x4f7c19,_0x5a6dfb)=>{const _0x21f533=_0x59b7da;let _0x204c0a=![];try{await global['__driver'][_0x21f533(0x16a)],_0x204c0a=!![],!global[_0x21f533(0x15a)]&&await global[_0x21f533(0x166)][_0x21f533(0x17d)](_0x21f533(0x173)+_0x90d0e2[_0x21f533(0x183)][_0x21f533(0x169)]+_0x21f533(0x184)),_0x58c454[_0x21f533(0x176)](_0x90d0e2[_0x21f533(0x17b)][_0x21f533(0x185)][_0x21f533(0x156)](),_0x58c454[_0x21f533(0x157)])?await _0x58c454[_0x21f533(0x154)](markSessionStatus,global[_0x21f533(0x166)],_0x58c454[_0x21f533(0x157)],global[_0x21f533(0x16e)][_0x21f533(0x151)](_0x58c454[_0x21f533(0x175)])):await _0x58c454[_0x21f533(0x153)](markSessionStatus,global[_0x21f533(0x166)],_0x58c454[_0x21f533(0x17f)]);}catch(_0x38b67a){logger[_0x21f533(0x187)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x38b67a);}if(_0x204c0a)try{await global['__driver'][_0x21f533(0x17e)](),_0x58c454[_0x21f533(0x160)](_0x4f7c19);}catch(_0x128620){logger[_0x21f533(0x187)](_0x21f533(0x170)+_0x128620),_0x58c454['sJLHR'](_0x5a6dfb,_0x128620);}else _0x58c454['zWYbR'](_0x5a6dfb);})[_0x59b7da(0x181)](()=>_0x4ad4d5());});
1
+ const a10_0x22095c=a10_0x451f;function a10_0x2417(){const _0x4d9a28=['After','806360TgcjIb','__error_messages__','bstack','YtGrt','1267021UzOWeh','32000lcYgfz','Inside\x20browserstack\x20Before','\x22}}','initQuit','debug','Error:\x20setting\x20status\x20at\x20After:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','40kmRifN','__timeout','join','Inside\x20browserstack\x20After','2310429wKlDaG','pickle','1uILLiN','skipSessionStatus','setDefaultTimeout','browserstackAgentV2','passed','\x20|\x20','../../index','parse','251452LLKjvE','KawwQ','name','executeScript','Error:\x20quiting\x20at\x20After:\x20','2764194XrStMp','CONFIG','410KlQypt','__driver','lhrUl','platformCaps','then','__skipSessionName','cucumber','status','wHlbJ','env','TmYNx','5559318ZIBMwh','FNUuL','skipSessionName','winstonLogger','cucumber/lib/index.js','failed','result'];a10_0x2417=function(){return _0x4d9a28;};return a10_0x2417();}(function(_0x42e7d2,_0x4ca185){const _0x40fd04=a10_0x451f,_0x1f8e2=_0x42e7d2();while(!![]){try{const _0x33cc0=-parseInt(_0x40fd04(0x127))/0x1*(parseInt(_0x40fd04(0x12f))/0x2)+parseInt(_0x40fd04(0x125))/0x3+parseInt(_0x40fd04(0x11a))/0x4*(parseInt(_0x40fd04(0x102))/0x5)+-parseInt(_0x40fd04(0x100))/0x6+parseInt(_0x40fd04(0x119))/0x7*(-parseInt(_0x40fd04(0x121))/0x8)+parseInt(_0x40fd04(0x10d))/0x9+-parseInt(_0x40fd04(0x115))/0xa;if(_0x33cc0===_0x4ca185)break;else _0x1f8e2['push'](_0x1f8e2['shift']());}catch(_0x5b77b5){_0x1f8e2['push'](_0x1f8e2['shift']());}}}(a10_0x2417,0x732d9));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule(a10_0x22095c(0x111),a10_0x22095c(0x108)),logger=require('../../helpers/logger')[a10_0x22095c(0x110)];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a10_0x22095c(0x114)],configuration=process[a10_0x22095c(0x10b)][a10_0x22095c(0x101)];if(configuration!==undefined){const config=JSON[a10_0x22095c(0x12e)](configuration);isTrue(config[a10_0x22095c(0x10f)])&&(global[a10_0x22095c(0x107)]=!![]),global['__skipSessionStatus']=isTrue(config[a10_0x22095c(0x128)]),require(a10_0x22095c(0x12d))[a10_0x22095c(0x12a)](config),global['__platformCaps']=config[a10_0x22095c(0x105)]||{};}global[a10_0x22095c(0x122)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a10_0x22095c(0x129)]=_0x2135f3=>{const _0x5be931=a10_0x22095c,_0x47d9ef={'ktIor':function(_0x52d03e,_0x33e087){return _0x52d03e(_0x33e087);}};global[_0x5be931(0x122)]=_0x2135f3,_0x47d9ef['ktIor'](__setDefaultTimeout,_0x2135f3);};const a10_0x1b48e4={};a10_0x1b48e4['name']=a10_0x22095c(0x117),Before(a10_0x1b48e4,function(){const _0x1a0fec=a10_0x22095c,_0x568bbf={};_0x568bbf[_0x1a0fec(0x10c)]=_0x1a0fec(0x11b);const _0x1aa44c=_0x568bbf;logger[_0x1a0fec(0x11e)](_0x1aa44c[_0x1a0fec(0x10c)]),global[_0x1a0fec(0x116)]=[];});function a10_0x451f(_0x5e3bae,_0xb91361){const _0x241739=a10_0x2417();return a10_0x451f=function(_0x451f00,_0x151b5f){_0x451f00=_0x451f00-0x100;let _0xa623be=_0x241739[_0x451f00];return _0xa623be;},a10_0x451f(_0x5e3bae,_0xb91361);}const a10_0x8846e5={};a10_0x8846e5[a10_0x22095c(0x131)]=a10_0x22095c(0x117),a10_0x8846e5['timeout']=0x2710,After(a10_0x8846e5,function(_0x2689b3,_0x1be387){const _0x119c87=a10_0x22095c,_0x2372dd={'lhrUl':function(_0x342388,_0xace89a){return _0x342388===_0xace89a;},'KawwQ':_0x119c87(0x112),'FIcnZ':function(_0x4cd21e,_0x218ef5,_0x2ae377,_0x14cc12){return _0x4cd21e(_0x218ef5,_0x2ae377,_0x14cc12);},'YtGrt':_0x119c87(0x12c),'olnNs':function(_0x274510,_0x115aee,_0x5750bc){return _0x274510(_0x115aee,_0x5750bc);},'aCpek':_0x119c87(0x12b),'wHlbJ':function(_0x5eb099){return _0x5eb099();},'VdVVC':function(_0x4a2ab8,_0x3b7616){return _0x4a2ab8(_0x3b7616);},'FNUuL':_0x119c87(0x124)};logger[_0x119c87(0x11e)](_0x2372dd[_0x119c87(0x10e)]),new Promise(async(_0x695be,_0x357154)=>{const _0x155a42=_0x119c87;let _0x2c0aa5=![];try{await global[_0x155a42(0x103)]['session_'],_0x2c0aa5=!![],!global[_0x155a42(0x107)]&&await global[_0x155a42(0x103)][_0x155a42(0x132)](_0x155a42(0x120)+_0x2689b3[_0x155a42(0x126)][_0x155a42(0x131)]+_0x155a42(0x11c)),_0x2372dd[_0x155a42(0x104)](_0x2689b3[_0x155a42(0x113)][_0x155a42(0x109)]['toLowerCase'](),_0x2372dd['KawwQ'])?await _0x2372dd['FIcnZ'](markSessionStatus,global[_0x155a42(0x103)],_0x2372dd[_0x155a42(0x130)],global['__error_messages__'][_0x155a42(0x123)](_0x2372dd[_0x155a42(0x118)])):await _0x2372dd['olnNs'](markSessionStatus,global[_0x155a42(0x103)],_0x2372dd['aCpek']);}catch(_0x17b47b){logger[_0x155a42(0x11e)](_0x155a42(0x11f)+_0x17b47b);}if(_0x2c0aa5)try{await global[_0x155a42(0x103)][_0x155a42(0x11d)](),_0x2372dd[_0x155a42(0x10a)](_0x695be);}catch(_0x1582b9){logger[_0x155a42(0x11e)](_0x155a42(0x133)+_0x1582b9),_0x2372dd['VdVVC'](_0x357154,_0x1582b9);}else _0x2372dd[_0x155a42(0x10a)](_0x357154);})[_0x119c87(0x106)](()=>_0x1be387());});
@@ -1 +1 @@
1
- const a11_0x2ce45e=a11_0x1ca4;(function(_0x23f08a,_0x457673){const _0x2f552b=a11_0x1ca4,_0x1c2c17=_0x23f08a();while(!![]){try{const _0x480d16=parseInt(_0x2f552b(0xce))/0x1*(-parseInt(_0x2f552b(0xc8))/0x2)+-parseInt(_0x2f552b(0xd4))/0x3+parseInt(_0x2f552b(0xd6))/0x4*(parseInt(_0x2f552b(0xd2))/0x5)+parseInt(_0x2f552b(0xd9))/0x6*(parseInt(_0x2f552b(0xcc))/0x7)+parseInt(_0x2f552b(0xd5))/0x8*(-parseInt(_0x2f552b(0xd7))/0x9)+parseInt(_0x2f552b(0xd1))/0xa+-parseInt(_0x2f552b(0xc9))/0xb*(-parseInt(_0x2f552b(0xca))/0xc);if(_0x480d16===_0x457673)break;else _0x1c2c17['push'](_0x1c2c17['shift']());}catch(_0x1d1958){_0x1c2c17['push'](_0x1c2c17['shift']());}}}(a11_0x552b,0xe7c51));const {requireModule}=require(a11_0x2ce45e(0xcd)),constants=require(a11_0x2ce45e(0xcf));;function a11_0x552b(){const _0x5cebf9=['7281glWYhL','cucumber','834imaqpC','32646JUbixy','7965089BoOsqb','12cbZmfp','__timeout','89334WprctW','../../helpers/helper','59DbUgDC','../utils/constants','@cucumber/cucumber/lib/index.js','6624260bJuIff','4405rWegzk','cucumber/lib/index.js','3218508YSIUJp','6080BYurHg','1996XkDBBJ'];a11_0x552b=function(){return _0x5cebf9;};return a11_0x552b();}let cucumberModule=null;try{cucumberModule=requireModule(a11_0x2ce45e(0xd0),'@cucumber/cucumber');}catch(a11_0x198169){cucumberModule=requireModule(a11_0x2ce45e(0xd3),a11_0x2ce45e(0xd8));}function a11_0x1ca4(_0x4f2c93,_0x50f1e8){const _0x552b7b=a11_0x552b();return a11_0x1ca4=function(_0x1ca4a1,_0xd214be){_0x1ca4a1=_0x1ca4a1-0xc8;let _0x1934a9=_0x552b7b[_0x1ca4a1];return _0x1934a9;},a11_0x1ca4(_0x4f2c93,_0x50f1e8);}cucumberModule['setDefaultTimeout'](constants['BSTACK_DELTA']+global[a11_0x2ce45e(0xcb)]*0x1);
1
+ const a11_0x4161ff=a11_0x2384;(function(_0x52ff8f,_0x2ecd62){const _0x3f49cb=a11_0x2384,_0x514772=_0x52ff8f();while(!![]){try{const _0x1b1b03=parseInt(_0x3f49cb(0x193))/0x1*(parseInt(_0x3f49cb(0x18c))/0x2)+-parseInt(_0x3f49cb(0x192))/0x3*(-parseInt(_0x3f49cb(0x18f))/0x4)+parseInt(_0x3f49cb(0x190))/0x5+-parseInt(_0x3f49cb(0x194))/0x6+-parseInt(_0x3f49cb(0x196))/0x7+-parseInt(_0x3f49cb(0x188))/0x8*(-parseInt(_0x3f49cb(0x18d))/0x9)+parseInt(_0x3f49cb(0x189))/0xa*(parseInt(_0x3f49cb(0x18e))/0xb);if(_0x1b1b03===_0x2ecd62)break;else _0x514772['push'](_0x514772['shift']());}catch(_0x300648){_0x514772['push'](_0x514772['shift']());}}}(a11_0x2aea,0x80221));function a11_0x2384(_0x20ece7,_0x57e637){const _0x2aeaf4=a11_0x2aea();return a11_0x2384=function(_0x2384c3,_0x24ae5){_0x2384c3=_0x2384c3-0x187;let _0x1a5614=_0x2aeaf4[_0x2384c3];return _0x1a5614;},a11_0x2384(_0x20ece7,_0x57e637);}function a11_0x2aea(){const _0x4609e3=['setDefaultTimeout','243087xQaKZj','5843LJiDzw','2590056PDjqiI','__timeout','3759749KhmiWr','../../helpers/helper','683048PIDniK','337190PJtdsb','BSTACK_DELTA','cucumber','58AWczUR','36mjOAlt','11OrimGG','40MDiMtV','693180SJpIot'];a11_0x2aea=function(){return _0x4609e3;};return a11_0x2aea();}const {requireModule}=require(a11_0x4161ff(0x187)),constants=require('../utils/constants');;let cucumberModule=null;try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js','@cucumber/cucumber');}catch(a11_0x17d8c1){cucumberModule=requireModule('cucumber/lib/index.js',a11_0x4161ff(0x18b));}cucumberModule[a11_0x4161ff(0x191)](constants[a11_0x4161ff(0x18a)]+global[a11_0x4161ff(0x195)]*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a12_0x2874ec=a12_0x28e1;(function(_0xcb7b98,_0xc43dd3){const _0x5de640=a12_0x28e1,_0x32c81e=_0xcb7b98();while(!![]){try{const _0x267180=-parseInt(_0x5de640(0x196))/0x1+parseInt(_0x5de640(0x165))/0x2*(parseInt(_0x5de640(0x19d))/0x3)+-parseInt(_0x5de640(0x161))/0x4+-parseInt(_0x5de640(0x182))/0x5*(-parseInt(_0x5de640(0x16b))/0x6)+-parseInt(_0x5de640(0x15e))/0x7+parseInt(_0x5de640(0x162))/0x8*(parseInt(_0x5de640(0x15d))/0x9)+-parseInt(_0x5de640(0x180))/0xa;if(_0x267180===_0xc43dd3)break;else _0x32c81e['push'](_0x32c81e['shift']());}catch(_0x276bd9){_0x32c81e['push'](_0x32c81e['shift']());}}}(a12_0x2a7b,0x9dcd0));function a12_0x28e1(_0x171993,_0x4abb9c){const _0x2a7bc9=a12_0x2a7b();return a12_0x28e1=function(_0x28e15d,_0x42f684){_0x28e15d=_0x28e15d-0x159;let _0xbe3ebc=_0x2a7bc9[_0x28e15d];return _0xbe3ebc;},a12_0x28e1(_0x171993,_0x4abb9c);}const {default:BrowserStackSetup}=require(a12_0x2874ec(0x172)),logger=require(a12_0x2874ec(0x173))[a12_0x2874ec(0x170)],{URL}=require(a12_0x2874ec(0x167)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x2874ec(0x16d)),validHosts=function(_0x461608){return _0x461608['split'](',')['every'](_0x25de0e=>{const _0xee38c6=a12_0x28e1;try{new URL(_0x25de0e[_0xee38c6(0x17e)]());}catch(_0x1e1b53){return![];}return!![];});},parseOnPremHosts=function(_0x36de3a){const _0x1ec8aa=a12_0x2874ec,_0x3f90fa={};_0x3f90fa['Qzdye']=function(_0x4ea64d,_0x2d7444){return _0x4ea64d===_0x2d7444;},_0x3f90fa[_0x1ec8aa(0x187)]=_0x1ec8aa(0x19e),_0x3f90fa[_0x1ec8aa(0x159)]=_0x1ec8aa(0x192),_0x3f90fa[_0x1ec8aa(0x17f)]=function(_0x3af362,_0x25478e){return _0x3af362===_0x25478e;},_0x3f90fa[_0x1ec8aa(0x16a)]=_0x1ec8aa(0x177);const _0xedf131=_0x3f90fa;return _0x36de3a[_0x1ec8aa(0x15a)](',')[_0x1ec8aa(0x164)](_0x324751=>{const _0x329a6e=_0x1ec8aa,_0x30cf4b=new URL(_0x324751['trim']()),_0x394d52=_0x30cf4b[_0x329a6e(0x18e)],_0x376edf=_0x30cf4b[_0x329a6e(0x1a2)]||(_0xedf131[_0x329a6e(0x17d)](_0x30cf4b[_0x329a6e(0x16e)],_0xedf131['KeYBG'])?_0xedf131[_0x329a6e(0x159)]:'80'),_0x2a40d6=_0x30cf4b[_0x329a6e(0x16e)]['replace'](':',''),_0x2518cb=_0xedf131[_0x329a6e(0x17f)](_0x2a40d6,_0xedf131[_0x329a6e(0x16a)])?0x1:0x0;return _0x394d52+','+_0x376edf+','+_0x2518cb;});},connectCommandBuilder=function(_0x1c865b){const _0x3448d1=a12_0x2874ec,_0x36f805={};_0x36f805[_0x3448d1(0x179)]=_0x3448d1(0x178);const _0x44740c=_0x36f805,_0x204c55={};_0x204c55[_0x3448d1(0x193)]=HELP_MESSAGES['options'][_0x3448d1(0x17c)],_0x204c55['type']=_0x44740c[_0x3448d1(0x179)];const _0x54b623={};_0x54b623[_0x3448d1(0x193)]=HELP_MESSAGES[_0x3448d1(0x15b)][_0x3448d1(0x15c)],_0x54b623[_0x3448d1(0x197)]=_0x44740c['Slztc'],_0x54b623[_0x3448d1(0x195)]=!![];const _0x1c6fcb={};return _0x1c6fcb['bstack-accesskey']=_0x204c55,_0x1c6fcb[_0x3448d1(0x15c)]=_0x54b623,_0x1c865b[_0x3448d1(0x15b)](_0x1c6fcb);},connectCommandHandler=async function(_0x52a534){const _0x1af42d=a12_0x2874ec,_0x2c4570={'Qrerb':_0x1af42d(0x18a),'ibLIO':function(_0x5cae1b,_0x4556a7){return _0x5cae1b===_0x4556a7;},'srtyP':_0x1af42d(0x18b),'TwfRa':_0x1af42d(0x191),'wvBUw':function(_0x4b1ee4,_0x21e276){return _0x4b1ee4===_0x21e276;},'bkrof':_0x1af42d(0x166),'UzVtf':function(_0x1b5978,_0x1cb033){return _0x1b5978(_0x1cb033);},'GwhFX':'Hosts\x20not\x20valid','tTsLn':function(_0x12b787,_0x558f1f){return _0x12b787(_0x558f1f);},'rKtvZ':_0x1af42d(0x19a),'qemqK':_0x1af42d(0x160),'xpjpz':_0x1af42d(0x194)};try{const _0x3d0825=new BrowserStackSetup(_0x52a534,_0x2c4570[_0x1af42d(0x16c)]);_0x52a534['bstackAccesskey']&&(_0x3d0825[_0x1af42d(0x174)]['accessKey']=_0x52a534[_0x1af42d(0x183)]);if(_0x2c4570['ibLIO'](typeof _0x3d0825[_0x1af42d(0x174)][_0x1af42d(0x198)],_0x2c4570['srtyP'])){logger[_0x1af42d(0x18f)](_0x2c4570[_0x1af42d(0x168)]);throw new Error(ERROR_MESSAGES[_0x1af42d(0x17c)][_0x1af42d(0x188)]);}const _0x495c93=_0x52a534['hosts'];if(_0x2c4570[_0x1af42d(0x189)](typeof _0x495c93,_0x2c4570[_0x1af42d(0x163)])){logger['error'](_0x2c4570[_0x1af42d(0x1a0)]);throw new Error(ERROR_MESSAGES[_0x1af42d(0x15c)]['missing']);}if(!_0x2c4570[_0x1af42d(0x185)](validHosts,_0x495c93)){logger[_0x1af42d(0x18f)](_0x2c4570[_0x1af42d(0x1a3)]);throw new Error(ERROR_MESSAGES[_0x1af42d(0x15c)][_0x1af42d(0x19f)]);}const _0x4201fe=_0x2c4570['tTsLn'](parseOnPremHosts,_0x495c93);_0x3d0825[_0x1af42d(0x174)]['browserstackLocal']=!![],_0x3d0825['config'][_0x1af42d(0x171)][_0x1af42d(0x199)]=_0x2c4570['rKtvZ'],_0x3d0825[_0x1af42d(0x174)][_0x1af42d(0x171)][_0x1af42d(0x190)]=_0x4201fe[_0x1af42d(0x175)](','),helper['setProxySettings'](_0x3d0825['config']),await _0x3d0825['setupBrowserstackLocal'](),logger[_0x1af42d(0x17b)](_0x2c4570[_0x1af42d(0x19c)]);}catch(_0x559718){logger[_0x1af42d(0x18f)](_0x2c4570['xpjpz']);throw new Error(_0x559718[_0x1af42d(0x184)]());}};function a12_0x2a7b(){const _0x2f1c3d=['bkrof','wEPdY','port','GwhFX','VokAV','split','options','hosts','2325789WKUghS','189329GBHEFH','vGarR','Connection\x20established\x20successfully.','2630372XLWgAu','16KrIPzk','srtyP','map','1173778KolXaP','Integration\x20hosts\x20missing.','url','TwfRa','demandCommand','KmsVY','96QdVflC','Qrerb','./constants','protocol','exports','winstonLogger','browserStackLocalOptions','../../helpers/BrowserStackSetup','../../helpers/logger','config','join','command','https','string','Slztc','connect','info','bstackAccessKey','Qzdye','trim','xvJby','879830UtUzxM','root','266610vnLEro','bstackAccesskey','toString','UzVtf','usage','KeYBG','missing','wvBUw','integrations','undefined','epilogue','help','hostname','error','only','BrowserStack\x20access\x20key\x20missing.','443','describe','Failed\x20to\x20establish\x20connection.','demandOption','1124797PTZQEr','type','accessKey','localIdentifier','integrations-repeater','footer','qemqK','6ezosMM','https:','invalid'];a12_0x2a7b=function(){return _0x2f1c3d;};return a12_0x2a7b();}function run(_0x4f76c6){const _0x75765a=a12_0x2874ec,_0x253f52={};_0x253f52[_0x75765a(0x15f)]=_0x75765a(0x17a),_0x253f52[_0x75765a(0x1a1)]=_0x75765a(0x18d);const _0x16c1b9=_0x253f52;_0x4f76c6[_0x75765a(0x186)](HELP_MESSAGES[_0x75765a(0x176)][_0x75765a(0x181)])[_0x75765a(0x176)](_0x16c1b9[_0x75765a(0x15f)],HELP_MESSAGES[_0x75765a(0x176)][_0x75765a(0x17a)],connectCommandBuilder,connectCommandHandler)[_0x75765a(0x169)]()[_0x75765a(0x18d)](_0x16c1b9[_0x75765a(0x1a1)])[_0x75765a(0x18c)](HELP_MESSAGES[_0x75765a(0x176)][_0x75765a(0x19b)]);}module[a12_0x2874ec(0x16f)]=run;
2
+ 'use strict';const a12_0x1333ff=a12_0x5bc1;function a12_0x5b14(){const _0x34abe6=['toString','eqnPL','20FmyLwX','27EBUhxS','undefined','hostname','Integration\x20hosts\x20missing.','missing','OqzBt','integrations-repeater','join','demandCommand','connect','invalid','footer','options','rsVmp','config','./constants','winstonLogger','info','bstackAccesskey','1063033hDvDlF','115hnJBGE','BrowserStack\x20access\x20key\x20missing.','replace','SeJYy','split','browserstackLocal','Connection\x20established\x20successfully.','Failed\x20to\x20establish\x20connection.','HiJaP','port','Hosts\x20not\x20valid','uYeEW','setupBrowserstackLocal','localIdentifier','demandOption','kzIcy','aKSCH','443','HYVzy','11IqOCXO','685437rgTgVj','2957512TiwZqT','2338112QYXIKU','help','IdQSa','browserStackLocalOptions','OWDVf','https:','bstack-accesskey','7844930dKoXGQ','NuLvb','url','accessKey','setProxySettings','bstackAccessKey','AQamt','KmKRe','https','trim','82986GTrQtN','lrdOA','root','error','2QCRhir','YZkJb','protocol','puyhJ','46720848zLVrpr','command','../../helpers/BrowserStackSetup','hosts','string','every','integrations','type','describe'];a12_0x5b14=function(){return _0x34abe6;};return a12_0x5b14();}(function(_0x427776,_0x43074e){const _0x250e4e=a12_0x5bc1,_0x226422=_0x427776();while(!![]){try{const _0x553c89=-parseInt(_0x250e4e(0xb0))/0x1*(parseInt(_0x250e4e(0xdc))/0x2)+-parseInt(_0x250e4e(0xc5))/0x3*(parseInt(_0x250e4e(0xeb))/0x4)+-parseInt(_0x250e4e(0xb1))/0x5*(parseInt(_0x250e4e(0xd8))/0x6)+-parseInt(_0x250e4e(0xc7))/0x7+parseInt(_0x250e4e(0xc6))/0x8*(-parseInt(_0x250e4e(0xec))/0x9)+parseInt(_0x250e4e(0xce))/0xa*(parseInt(_0x250e4e(0xc4))/0xb)+parseInt(_0x250e4e(0xe0))/0xc;if(_0x553c89===_0x43074e)break;else _0x226422['push'](_0x226422['shift']());}catch(_0x297724){_0x226422['push'](_0x226422['shift']());}}}(a12_0x5b14,0xada69));const {default:BrowserStackSetup}=require(a12_0x1333ff(0xe2)),logger=require('../../helpers/logger')[a12_0x1333ff(0xad)],{URL}=require(a12_0x1333ff(0xd0)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x1333ff(0xac)),validHosts=function(_0x5dc5ef){const _0x5647d4=a12_0x1333ff;return _0x5dc5ef['split'](',')[_0x5647d4(0xe5)](_0x213679=>{try{new URL(_0x213679['trim']());}catch(_0x585ec3){return![];}return!![];});},parseOnPremHosts=function(_0x21af09){const _0x4c6238=a12_0x1333ff,_0x1fde75={};_0x1fde75[_0x4c6238(0xcf)]=function(_0x4dffe3,_0x1916c7){return _0x4dffe3===_0x1916c7;},_0x1fde75[_0x4c6238(0xc0)]=_0x4c6238(0xcc),_0x1fde75['lrdOA']=_0x4c6238(0xc2),_0x1fde75[_0x4c6238(0xc9)]=_0x4c6238(0xd6);const _0x41e764=_0x1fde75;return _0x21af09[_0x4c6238(0xb5)](',')['map'](_0x28d136=>{const _0x274a23=_0x4c6238,_0x2ca9a2=new URL(_0x28d136[_0x274a23(0xd7)]()),_0x5cdb8f=_0x2ca9a2[_0x274a23(0xee)],_0x504c94=_0x2ca9a2[_0x274a23(0xba)]||(_0x41e764[_0x274a23(0xcf)](_0x2ca9a2['protocol'],_0x41e764['kzIcy'])?_0x41e764[_0x274a23(0xd9)]:'80'),_0x2b61fa=_0x2ca9a2[_0x274a23(0xde)][_0x274a23(0xb3)](':',''),_0x1d97f0=_0x41e764['NuLvb'](_0x2b61fa,_0x41e764[_0x274a23(0xc9)])?0x1:0x0;return _0x5cdb8f+','+_0x504c94+','+_0x1d97f0;});},connectCommandBuilder=function(_0x4dd876){const _0x2fae01=a12_0x1333ff,_0x4c048b={};_0x4c048b[_0x2fae01(0xcb)]=_0x2fae01(0xe4);const _0x385b5f=_0x4c048b,_0x8c193f={};_0x8c193f[_0x2fae01(0xe8)]=HELP_MESSAGES[_0x2fae01(0xa9)][_0x2fae01(0xd3)],_0x8c193f['type']=_0x385b5f[_0x2fae01(0xcb)];const _0x3679a3={};_0x3679a3[_0x2fae01(0xe8)]=HELP_MESSAGES[_0x2fae01(0xa9)][_0x2fae01(0xe3)],_0x3679a3[_0x2fae01(0xe7)]=_0x385b5f[_0x2fae01(0xcb)],_0x3679a3[_0x2fae01(0xbf)]=!![];const _0x21078d={};return _0x21078d[_0x2fae01(0xcd)]=_0x8c193f,_0x21078d[_0x2fae01(0xe3)]=_0x3679a3,_0x4dd876[_0x2fae01(0xa9)](_0x21078d);},connectCommandHandler=async function(_0x518e4b){const _0x1b1e29=a12_0x1333ff,_0x1bcd9a={'uYeEW':_0x1b1e29(0xe6),'KmKRe':function(_0xc16240,_0x53a602){return _0xc16240===_0x53a602;},'SeJYy':_0x1b1e29(0xed),'MqqbR':_0x1b1e29(0xb2),'puyhJ':function(_0x3b4fcb,_0x3d6f68){return _0x3b4fcb===_0x3d6f68;},'AQamt':_0x1b1e29(0xef),'HiJaP':function(_0x39da4f,_0x2e6444){return _0x39da4f(_0x2e6444);},'MMatr':_0x1b1e29(0xbb),'eqnPL':function(_0x13b64f,_0x125290){return _0x13b64f(_0x125290);},'HYVzy':_0x1b1e29(0xf2),'OqzBt':_0x1b1e29(0xb7),'aKSCH':_0x1b1e29(0xb8)};try{const _0x515020=new BrowserStackSetup(_0x518e4b,_0x1bcd9a[_0x1b1e29(0xbc)]);_0x518e4b[_0x1b1e29(0xaf)]&&(_0x515020['config']['accessKey']=_0x518e4b[_0x1b1e29(0xaf)]);if(_0x1bcd9a[_0x1b1e29(0xd5)](typeof _0x515020[_0x1b1e29(0xab)][_0x1b1e29(0xd1)],_0x1bcd9a[_0x1b1e29(0xb4)])){logger[_0x1b1e29(0xdb)](_0x1bcd9a['MqqbR']);throw new Error(ERROR_MESSAGES[_0x1b1e29(0xd3)][_0x1b1e29(0xf0)]);}const _0x4d87ef=_0x518e4b[_0x1b1e29(0xe3)];if(_0x1bcd9a[_0x1b1e29(0xdf)](typeof _0x4d87ef,_0x1bcd9a[_0x1b1e29(0xb4)])){logger[_0x1b1e29(0xdb)](_0x1bcd9a[_0x1b1e29(0xd4)]);throw new Error(ERROR_MESSAGES['hosts'][_0x1b1e29(0xf0)]);}if(!_0x1bcd9a[_0x1b1e29(0xb9)](validHosts,_0x4d87ef)){logger[_0x1b1e29(0xdb)](_0x1bcd9a['MMatr']);throw new Error(ERROR_MESSAGES[_0x1b1e29(0xe3)][_0x1b1e29(0xa7)]);}const _0x151dd1=_0x1bcd9a[_0x1b1e29(0xea)](parseOnPremHosts,_0x4d87ef);_0x515020[_0x1b1e29(0xab)][_0x1b1e29(0xb6)]=!![],_0x515020[_0x1b1e29(0xab)]['browserStackLocalOptions'][_0x1b1e29(0xbe)]=_0x1bcd9a[_0x1b1e29(0xc3)],_0x515020[_0x1b1e29(0xab)][_0x1b1e29(0xca)]['only']=_0x151dd1[_0x1b1e29(0xf3)](','),helper[_0x1b1e29(0xd2)](_0x515020['config']),await _0x515020[_0x1b1e29(0xbd)](),logger[_0x1b1e29(0xae)](_0x1bcd9a[_0x1b1e29(0xf1)]);}catch(_0x4f6636){logger[_0x1b1e29(0xdb)](_0x1bcd9a[_0x1b1e29(0xc1)]);throw new Error(_0x4f6636[_0x1b1e29(0xe9)]());}};function run(_0x14c73e){const _0x4a3528=a12_0x1333ff,_0x349300={};_0x349300[_0x4a3528(0xaa)]=_0x4a3528(0xa6),_0x349300[_0x4a3528(0xdd)]=_0x4a3528(0xc8);const _0x14dd29=_0x349300;_0x14c73e['usage'](HELP_MESSAGES[_0x4a3528(0xe1)][_0x4a3528(0xda)])[_0x4a3528(0xe1)](_0x14dd29[_0x4a3528(0xaa)],HELP_MESSAGES['command'][_0x4a3528(0xa6)],connectCommandBuilder,connectCommandHandler)[_0x4a3528(0xa5)]()[_0x4a3528(0xc8)](_0x14dd29[_0x4a3528(0xdd)])['epilogue'](HELP_MESSAGES[_0x4a3528(0xe1)][_0x4a3528(0xa8)]);}function a12_0x5bc1(_0x19acd2,_0x4d8c42){const _0x5b14e5=a12_0x5b14();return a12_0x5bc1=function(_0x5bc127,_0x209eed){_0x5bc127=_0x5bc127-0xa5;let _0x5ea5eb=_0x5b14e5[_0x5bc127];return _0x5ea5eb;},a12_0x5bc1(_0x19acd2,_0x4d8c42);}module['exports']=run;
@@ -1 +1 @@
1
- var a13_0x4540ac=a13_0x4fec;(function(_0xc3ad35,_0x2a0cf4){var _0x517de0=a13_0x4fec,_0x1d2b2e=_0xc3ad35();while(!![]){try{var _0xe3c34e=-parseInt(_0x517de0(0xdd))/0x1+-parseInt(_0x517de0(0xdb))/0x2*(parseInt(_0x517de0(0xe3))/0x3)+-parseInt(_0x517de0(0xe5))/0x4*(-parseInt(_0x517de0(0xe6))/0x5)+-parseInt(_0x517de0(0xf1))/0x6*(-parseInt(_0x517de0(0xf3))/0x7)+-parseInt(_0x517de0(0xe0))/0x8*(parseInt(_0x517de0(0xea))/0x9)+parseInt(_0x517de0(0xde))/0xa+parseInt(_0x517de0(0xeb))/0xb*(parseInt(_0x517de0(0xf2))/0xc);if(_0xe3c34e===_0x2a0cf4)break;else _0x1d2b2e['push'](_0x1d2b2e['shift']());}catch(_0xdea28b){_0x1d2b2e['push'](_0x1d2b2e['shift']());}}}(a13_0x1a10,0x6d82e));var a13_0x21ae5e={};a13_0x21ae5e['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x21ae5e[a13_0x4540ac(0xdc)]=a13_0x4540ac(0xe7);var a13_0x39b053={};function a13_0x4fec(_0x543736,_0xadf9ee){var _0x1a1071=a13_0x1a10();return a13_0x4fec=function(_0x4feccb,_0x566e06){_0x4feccb=_0x4feccb-0xda;var _0x13013c=_0x1a1071[_0x4feccb];return _0x13013c;},a13_0x4fec(_0x543736,_0xadf9ee);}a13_0x39b053[a13_0x4540ac(0xee)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0x39b053[a13_0x4540ac(0xec)]=a13_0x4540ac(0xe4),a13_0x39b053[a13_0x4540ac(0xe8)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a13_0x22c40d={};a13_0x22c40d['options']=a13_0x21ae5e,a13_0x22c40d[a13_0x4540ac(0xda)]=a13_0x39b053,exports[a13_0x4540ac(0xdf)]=a13_0x22c40d;var a13_0x37a405={};a13_0x37a405[a13_0x4540ac(0xed)]=a13_0x4540ac(0xef);var a13_0x3f129b={};a13_0x3f129b[a13_0x4540ac(0xed)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x3f129b[a13_0x4540ac(0xe1)]=a13_0x4540ac(0xf0);var a13_0x169861={};a13_0x169861[a13_0x4540ac(0xe9)]=a13_0x37a405,a13_0x169861[a13_0x4540ac(0xdc)]=a13_0x3f129b,exports[a13_0x4540ac(0xe2)]=a13_0x169861;function a13_0x1a10(){var _0x1be32e=['1925256XKZEMq','7QouMwm','command','1520ivwuAe','hosts','320569WYCgas','4581060hyKCik','HELP_MESSAGES','6824Vydifa','invalid','ERROR_MESSAGES','2712SAMkxj','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','321908YQReOU','5EtxqoJ','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','footer','bstackAccessKey','27tsxNUP','33SXRmEe','connect','missing','root','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','2632974PBewxj'];a13_0x1a10=function(){return _0x1be32e;};return a13_0x1a10();}
1
+ var a13_0x185c48=a13_0x4e7d;(function(_0x1a002f,_0x371b70){var _0xf83f74=a13_0x4e7d,_0x5f5159=_0x1a002f();while(!![]){try{var _0x5a7ec5=parseInt(_0xf83f74(0x1ee))/0x1*(parseInt(_0xf83f74(0x1e7))/0x2)+parseInt(_0xf83f74(0x1ea))/0x3*(-parseInt(_0xf83f74(0x1f4))/0x4)+parseInt(_0xf83f74(0x1e5))/0x5+parseInt(_0xf83f74(0x1f5))/0x6+-parseInt(_0xf83f74(0x1fb))/0x7+-parseInt(_0xf83f74(0x1f0))/0x8*(-parseInt(_0xf83f74(0x1f7))/0x9)+parseInt(_0xf83f74(0x1ed))/0xa;if(_0x5a7ec5===_0x371b70)break;else _0x5f5159['push'](_0x5f5159['shift']());}catch(_0x2e3fde){_0x5f5159['push'](_0x5f5159['shift']());}}}(a13_0x56a6,0x2f457));var a13_0x534cb7={};a13_0x534cb7[a13_0x185c48(0x1e4)]=a13_0x185c48(0x1f3),a13_0x534cb7[a13_0x185c48(0x1ec)]=a13_0x185c48(0x1e8);var a13_0x5df5e1={};a13_0x5df5e1['root']=a13_0x185c48(0x1e9),a13_0x5df5e1[a13_0x185c48(0x1e3)]=a13_0x185c48(0x1ef),a13_0x5df5e1['footer']=a13_0x185c48(0x1f6);function a13_0x56a6(){var _0x1963a1=['328701EtiFDZ','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','hosts','618110iBpsgW','1nqLnTu','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','232DSgsbe','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','missing','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','12JZIXLs','648534GJNiHK','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','91170ygTCpF','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','command','invalid','1675996Hsodlw','connect','bstackAccessKey','1063925RYjpeW','options','170594LjYZGx','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.'];a13_0x56a6=function(){return _0x1963a1;};return a13_0x56a6();}var a13_0x13c2fd={};a13_0x13c2fd[a13_0x185c48(0x1e6)]=a13_0x534cb7,a13_0x13c2fd[a13_0x185c48(0x1f9)]=a13_0x5df5e1,exports['HELP_MESSAGES']=a13_0x13c2fd;var a13_0x106b51={};a13_0x106b51['missing']=a13_0x185c48(0x1eb);var a13_0x3e485d={};function a13_0x4e7d(_0x377bd8,_0x5dbcc1){var _0x56a683=a13_0x56a6();return a13_0x4e7d=function(_0x4e7dda,_0x57a3f9){_0x4e7dda=_0x4e7dda-0x1e3;var _0x5a9beb=_0x56a683[_0x4e7dda];return _0x5a9beb;},a13_0x4e7d(_0x377bd8,_0x5dbcc1);}a13_0x3e485d[a13_0x185c48(0x1f2)]=a13_0x185c48(0x1f8),a13_0x3e485d[a13_0x185c48(0x1fa)]=a13_0x185c48(0x1f1);var a13_0x12c449={};a13_0x12c449[a13_0x185c48(0x1e4)]=a13_0x106b51,a13_0x12c449['hosts']=a13_0x3e485d,exports['ERROR_MESSAGES']=a13_0x12c449;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x5c5bd7=a14_0x60a3;(function(_0x1958c3,_0x445ed3){const _0x142cd1=a14_0x60a3,_0x406ba7=_0x1958c3();while(!![]){try{const _0x415699=parseInt(_0x142cd1(0x20a))/0x1+parseInt(_0x142cd1(0x195))/0x2*(parseInt(_0x142cd1(0x1e1))/0x3)+-parseInt(_0x142cd1(0x1db))/0x4*(parseInt(_0x142cd1(0x237))/0x5)+parseInt(_0x142cd1(0x22b))/0x6*(parseInt(_0x142cd1(0x24b))/0x7)+parseInt(_0x142cd1(0x245))/0x8+parseInt(_0x142cd1(0x172))/0x9+-parseInt(_0x142cd1(0x1af))/0xa*(parseInt(_0x142cd1(0x1c8))/0xb);if(_0x415699===_0x445ed3)break;else _0x406ba7['push'](_0x406ba7['shift']());}catch(_0x16266c){_0x406ba7['push'](_0x406ba7['shift']());}}}(a14_0x468f,0x96d38));const fs=require('fs'),path=require(a14_0x5c5bd7(0x197)),util=require(a14_0x5c5bd7(0x260)),{spawn}=require('child_process'),logger=require(a14_0x5c5bd7(0x226))[a14_0x5c5bd7(0x1de)],{default:BrowserStackSetup}=require(a14_0x5c5bd7(0x240)),helper=require('../../helpers/helper'),utilities=require(a14_0x5c5bd7(0x209)),constants=require(a14_0x5c5bd7(0x187)),accessibilityHelper=require(a14_0x5c5bd7(0x1b7)),{updateTestRerunConfig}=require(a14_0x5c5bd7(0x227)),testOpsHelper=require(a14_0x5c5bd7(0x1fa)),{debug}=require(a14_0x5c5bd7(0x1fa)),TestDetails=require(a14_0x5c5bd7(0x241)),{getPercyOptions}=require(a14_0x5c5bd7(0x168)),TestHubHandler=require(a14_0x5c5bd7(0x1f4)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x5c5bd7(0x1a9)),PerformanceTester=require(a14_0x5c5bd7(0x23c)),PerformanceEvents=require('../../helpers/performance/constants')[a14_0x5c5bd7(0x1c5)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a14_0x5c5bd7(0x182)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x5c5bd7(0x199)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x1f62a5,_0x1bcfa9)=>{const _0x20e050=a14_0x5c5bd7,_0x48befb={'SsrAi':_0x20e050(0x1c4),'miOTe':'jest-config','rCJbX':function(_0x3ceea9,_0x4262a6){return _0x3ceea9||_0x4262a6;},'vEFDR':function(_0x7cdb0f,_0x28f4d5){return _0x7cdb0f(_0x28f4d5);},'gohTW':_0x20e050(0x259),'yLDVl':_0x20e050(0x1d2),'clRdU':_0x20e050(0x24e),'tVFHy':_0x20e050(0x1a4),'JKyUt':_0x20e050(0x1b9)};let _0x5bbc17;try{_0x5bbc17=helper['requireModule'](_0x48befb[_0x20e050(0x213)],_0x48befb[_0x20e050(0x18a)]);}catch{const _0x6a2c06=helper['requireModule'](_0x48befb[_0x20e050(0x18a)]);_0x5bbc17={'default':async _0xe7f024=>{const _0x488964=_0x20e050,_0x57458b=await _0x6a2c06[_0x488964(0x211)](_0xe7f024,{});return _0x57458b[_0x488964(0x1ed)];}};}const _0x15e9c9=_0x1bcfa9[_0x20e050(0x216)](_0x421563=>_0x421563===_0x20e050(0x21c));if(!helper[_0x20e050(0x1c6)](_0x1f62a5[_0x20e050(0x1ed)])){logger[_0x20e050(0x171)](_0x20e050(0x166)+_0x1f62a5['config']),process[_0x20e050(0x181)]['USER_CONFIG_DETAILS_PATH']=_0x1f62a5['config'];const _0x1ab354=await(0x0,_0x5bbc17['default'])(path[_0x20e050(0x194)](_0x1f62a5[_0x20e050(0x1ed)]));return _0x1bcfa9[_0x20e050(0x1ae)](_0x15e9c9,0x2),_0x48befb['rCJbX'](_0x1ab354,{});}const _0x66356e=_0x48befb[_0x20e050(0x203)](require,path[_0x20e050(0x22d)](process['cwd'](),_0x48befb[_0x20e050(0x21b)]));if(_0x66356e[_0x20e050(0x1bb)])return logger[_0x20e050(0x171)](_0x48befb[_0x20e050(0x238)]),_0x66356e['jest'];const _0x44706e=['js',_0x48befb[_0x20e050(0x1ff)],_0x48befb[_0x20e050(0x1a1)],_0x48befb[_0x20e050(0x18e)],'ts'];for(const _0x18331e of _0x44706e){const _0x5f386e=path[_0x20e050(0x22d)](process[_0x20e050(0x1dc)](),_0x20e050(0x17d)+_0x18331e);if(fs['existsSync'](_0x5f386e)){process[_0x20e050(0x181)]['USER_CONFIG_DETAILS_PATH']=_0x5f386e;const _0x2442b0=await(0x0,_0x5bbc17['default'])(_0x5f386e);return _0x2442b0;}}return{};},getSerial=(_0x4c83e1,_0x330076)=>{const _0x3b0867=a14_0x5c5bd7,_0x1a103b={};_0x1a103b[_0x3b0867(0x20c)]='true',_0x1a103b['ueXyb']=function(_0x57b9fa,_0x34f539){return _0x57b9fa>_0x34f539;},_0x1a103b[_0x3b0867(0x25e)]=function(_0x234d78,_0x3ccf24){return _0x234d78>_0x3ccf24;},_0x1a103b[_0x3b0867(0x1da)]=_0x3b0867(0x1c7);const _0x1bdb34=_0x1a103b;let _0x3b1168=_0x1bdb34[_0x3b0867(0x20c)];return _0x1bdb34[_0x3b0867(0x247)](_0x4c83e1[_0x3b0867(0x186)],0x1)&&(!_0x330076[_0x3b0867(0x206)]&&(helper[_0x3b0867(0x1c6)](_0x330076[_0x3b0867(0x1cf)])||_0x1bdb34['aaHzz'](_0x330076[_0x3b0867(0x1cf)],0x1)))&&(_0x3b1168=_0x1bdb34['cBPPo']),_0x3b1168;},getMaxWorkers=(_0x37d1d8,_0x23bf1e,_0x599a21)=>{const _0x52a678=a14_0x5c5bd7,_0x4bfb90={'flYay':function(_0x1f08b0,_0x2ec883){return _0x1f08b0(_0x2ec883);}};let _0x2db7b4=0x1;if(!helper[_0x52a678(0x1c6)](_0x23bf1e[_0x52a678(0x256)]))_0x2db7b4=_0x4bfb90[_0x52a678(0x176)](parseInt,_0x23bf1e[_0x52a678(0x256)]);else{if(!helper['isUndefined'](_0x37d1d8[_0x52a678(0x1cf)]))_0x2db7b4=_0x37d1d8[_0x52a678(0x1cf)];else!helper[_0x52a678(0x1c6)](_0x599a21[_0x52a678(0x1cf)])&&(_0x2db7b4=_0x599a21[_0x52a678(0x1cf)]);}return _0x2db7b4;};function a14_0x60a3(_0x46b354,_0x5f0a5){const _0x468f6a=a14_0x468f();return a14_0x60a3=function(_0x60a361,_0x1afbaf){_0x60a361=_0x60a361-0x166;let _0x4b1c99=_0x468f6a[_0x60a361];return _0x4b1c99;},a14_0x60a3(_0x46b354,_0x5f0a5);}async function run(_0x374f2c,_0x469677,_0x58c69e){const _0x278fba=a14_0x5c5bd7,_0x5d3860={'GpsBn':_0x278fba(0x208),'orJfs':'jest','JEpJG':function(_0x3d4b5e,_0x4b3880){return _0x3d4b5e(_0x4b3880);},'NRhkW':_0x278fba(0x266),'mSxVo':function(_0x4b4afa){return _0x4b4afa();},'Szwiw':function(_0x454d32,_0x527425,_0x1a0d76,_0x125813){return _0x454d32(_0x527425,_0x1a0d76,_0x125813);},'gKnQZ':function(_0xfd8c6b,_0x53768b,_0x318317,_0x58ada7){return _0xfd8c6b(_0x53768b,_0x318317,_0x58ada7);},'pNsvo':function(_0x106524,_0x6ff135){return _0x106524!=_0x6ff135;},'ukdfW':_0x278fba(0x248),'URxxI':function(_0x25623e,_0x5962c5,_0x31f24f){return _0x25623e(_0x5962c5,_0x31f24f);},'jDHQv':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','ykPAv':'false','Nmhjn':function(_0x8d9d55,_0x3ef187,_0x5c5a6c,_0x30bc8b){return _0x8d9d55(_0x3ef187,_0x5c5a6c,_0x30bc8b);},'sUOzB':function(_0x3133e9,_0xe51b6a){return _0x3133e9*_0xe51b6a;},'rgKnv':function(_0x23508d,_0x554e61){return _0x23508d===_0x554e61;},'QHGNU':_0x278fba(0x1bf),'ejbjd':_0x278fba(0x175),'MCCDr':_0x278fba(0x246),'LeAjM':_0x278fba(0x222),'fyvuA':_0x278fba(0x1a2),'TfoRq':_0x278fba(0x1e2),'iDToQ':_0x278fba(0x242),'UvLyt':function(_0x8ff572,_0x35deba){return _0x8ff572!==_0x35deba;},'LKUWl':_0x278fba(0x1d1),'vQrqR':_0x278fba(0x24c),'CMXHg':_0x278fba(0x255),'cMWgx':'customSequencer.js','sZPMa':_0x278fba(0x229),'FZbdT':_0x278fba(0x250),'fdNIi':_0x278fba(0x1fb),'ttzUE':_0x278fba(0x174),'ksgtD':'data-hooks.js','tewpu':_0x278fba(0x23f),'EQtsF':_0x278fba(0x17b),'IPZuu':_0x278fba(0x232),'LmnXD':_0x278fba(0x19d),'iZgmP':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','NOtez':_0x278fba(0x265),'xnzLo':_0x278fba(0x205),'RafkA':function(_0x43b3ef,_0x101e9f){return _0x43b3ef&&_0x101e9f;},'HGdOc':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','TBjuc':_0x278fba(0x1e0),'DrUnS':_0x278fba(0x1cb),'ISlJv':_0x278fba(0x239),'uYdLh':function(_0x4b3680,_0x18b901,_0x172dd2){return _0x4b3680(_0x18b901,_0x172dd2);},'lOTPp':_0x278fba(0x24a),'kpnNR':_0x278fba(0x1e4),'RyppX':_0x278fba(0x1f6),'fiwIe':function(_0x175d45,_0x296944){return _0x175d45>_0x296944;},'NiCRd':_0x278fba(0x25c),'beCff':'--config','cCJzl':_0x278fba(0x178),'nQjnc':'win32','IkBHL':_0x278fba(0x25b),'ZgSQZ':'close'},_0x3fce7e=helper[_0x278fba(0x198)](_0x5d3860['NRhkW']);global[_0x278fba(0x210)]=!!_0x3fce7e;const _0x5d9aa3=_0x5d3860[_0x278fba(0x1ab)](getPuppeteerVersion);global[_0x278fba(0x1e3)]=!!_0x5d9aa3;helper[_0x278fba(0x1e5)]()?(await _0x58c69e[_0x278fba(0x254)](_0x374f2c),await helper[_0x278fba(0x235)](_0x58c69e[_0x278fba(0x1ed)])):await _0x58c69e[_0x278fba(0x16a)]();if(_0x3fce7e)await _0x5d3860[_0x278fba(0x219)](checkPwandBootstrapCli,_0x3fce7e,constants[_0x278fba(0x264)]['JEST'],_0x58c69e);else _0x5d9aa3&&await _0x5d3860['gKnQZ'](checkPuppeteerAndBootstrapCli,_0x5d9aa3,constants[_0x278fba(0x264)][_0x278fba(0x1a8)],_0x58c69e);if(!_0x58c69e['config'])return;_0x5d3860['pNsvo'](_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x19c)],null)?process[_0x278fba(0x181)][_0x278fba(0x16b)]=_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x19c)]:process[_0x278fba(0x181)][_0x278fba(0x16b)]=_0x5d3860[_0x278fba(0x16f)];const _0x4df860=new TestOrchestrationHandler(_0x58c69e[_0x278fba(0x1ed)]),_0x50c552=await _0x5d3860[_0x278fba(0x170)](getUserJestConfigs,_0x374f2c,_0x469677);logger[_0x278fba(0x171)](_0x5d3860[_0x278fba(0x25d)]);const _0x3a65f0=Object[_0x278fba(0x223)]({},_0x50c552);_0x3a65f0[_0x278fba(0x1f8)]=Object[_0x278fba(0x223)]({},_0x3a65f0[_0x278fba(0x1f8)],{'server':helper[_0x278fba(0x217)](_0x58c69e['config']),'environment':_0x50c552[_0x278fba(0x1bd)]}),_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x18c)]=_0x5d3860[_0x278fba(0x1e7)](getPercyOptions,_0x58c69e[_0x278fba(0x1ed)]);const _0x3c26e8=helper[_0x278fba(0x252)](_0x58c69e['config']);!helper['isUndefined'](_0x58c69e['config']['accessibilityOptions'])&&(process[_0x278fba(0x181)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x278fba(0x1a3)](_0x58c69e[_0x278fba(0x1ed)]['accessibilityOptions']));if(!BrowserstackCLI['getInstance']()[_0x278fba(0x1c3)]()){const _0x182ab6=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x278fba(0x1a8)],_0x58c69e);}const _0x1d728f=helper[_0x278fba(0x177)](_0x58c69e[_0x278fba(0x1ed)],_0x3c26e8,constants[_0x278fba(0x264)]['JEST']);process[_0x278fba(0x181)][_0x278fba(0x25f)]=JSON[_0x278fba(0x1a3)](_0x1d728f);let _0x123f29=_0x58c69e[_0x278fba(0x1ed)]['accessibility'];_0x123f29=_0x123f29||accessibilityHelper[_0x278fba(0x189)](_0x58c69e[_0x278fba(0x1ed)]),process[_0x278fba(0x181)][_0x278fba(0x21e)]=_0x123f29,logger[_0x278fba(0x257)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x123f29+_0x278fba(0x1ca)+BrowserstackCLI[_0x278fba(0x1c2)]()[_0x278fba(0x1c3)]());if(_0x3fce7e)try{const _0x1b2968=_0x5d3860['JEpJG'](checkAccessibilityPlatformConfig,_0x58c69e[_0x278fba(0x1ed)]);process[_0x278fba(0x181)][_0x278fba(0x1ba)]=_0x1b2968?_0x5d3860[_0x278fba(0x16f)]:_0x5d3860['ykPAv'],logger['debug'](_0x278fba(0x16e)+_0x1b2968+_0x278fba(0x19e)+process[_0x278fba(0x181)][_0x278fba(0x1ba)]);}catch(_0x2562d7){logger[_0x278fba(0x257)](_0x278fba(0x23a)+util[_0x278fba(0x200)](_0x2562d7));}_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x221)]=_0x1d728f,_0x3a65f0['testEnvironmentOptions'][_0x278fba(0x253)]=_0x5d3860['URxxI'](getSerial,_0x1d728f,_0x374f2c),_0x3a65f0['testEnvironmentOptions'][_0x278fba(0x17f)]=_0x5d3860[_0x278fba(0x1e8)](getMaxWorkers,_0x374f2c,_0x58c69e[_0x278fba(0x1ed)],_0x50c552),_0x3a65f0[_0x278fba(0x1f8)]['proxySettings']=_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x190)],_0x3a65f0['testEnvironmentOptions'][_0x278fba(0x1ee)]=_0x5d3860[_0x278fba(0x1ce)](_0x374f2c['testTimeout'],0x1)||0x1388,_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x243)]=_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x1fc)]['skipSessionName'],_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x24f)]=_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x1fc)][_0x278fba(0x24f)],_0x3a65f0[_0x278fba(0x1f8)]['browserStackLogLevel']=_0x58c69e[_0x278fba(0x1ed)]['logLevel'],_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x1eb)]=_0x58c69e[_0x278fba(0x1ed)]['turboScaleUrl'],_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x224)]=_0x58c69e['config']['platforms'];const _0x29e24d=helper[_0x278fba(0x193)](_0x58c69e[_0x278fba(0x1ed)]);if(!helper['isEmpty'](_0x29e24d)){helper[_0x278fba(0x1e9)](_0x29e24d['retryTestsOnFailure'])&&(_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x1f9)]=_0x29e24d['retryTestsOnFailure'][_0x278fba(0x21d)]);if(helper['isNotUndefined'](_0x29e24d[_0x278fba(0x19f)])&&helper[_0x278fba(0x1e9)](_0x29e24d[_0x278fba(0x19f)][_0x278fba(0x261)])){const _0x290b5d={};_0x290b5d['failureThresholdCount']=_0x29e24d[_0x278fba(0x19f)]['maxFailures'],_0x290b5d[_0x278fba(0x261)]=_0x29e24d['abortBuildOnFailure'][_0x278fba(0x261)],_0x3a65f0[_0x278fba(0x1f8)]['failFast']=_0x290b5d;}}let _0x882027='';_0x5d3860[_0x278fba(0x183)](helper[_0x278fba(0x20e)](),constants[_0x278fba(0x1cc)][_0x278fba(0x22f)])?_0x882027=_0x5d3860[_0x278fba(0x230)]:_0x882027=_0x5d3860[_0x278fba(0x1a0)];const _0x16a955=_0x882027,_0x108634=path['join'](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860[_0x278fba(0x249)]),_0x3c62c8=path['join'](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860[_0x278fba(0x1d6)]),_0xd0a9e4=path[_0x278fba(0x22d)](__dirname,_0x5d3860['MCCDr'],_0x5d3860[_0x278fba(0x251)]);_0x3a65f0['testEnvironment']&&(process[_0x278fba(0x181)]['BSTACK_JEST_TEST_ENV']=_0x3a65f0['testEnvironment']);_0x3a65f0[_0x278fba(0x1bd)]=path[_0x278fba(0x22d)](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860[_0x278fba(0x16d)]);const _0xf45fc5=_0x50c552[_0x278fba(0x204)];if(_0xf45fc5&&_0x5d3860[_0x278fba(0x218)](_0xf45fc5,_0x5d3860[_0x278fba(0x18d)])){const _0x2e78f1=_0xf45fc5[_0x278fba(0x188)](_0x5d3860[_0x278fba(0x215)])?_0xf45fc5:_0x278fba(0x24c)+_0xf45fc5;process['env']['BSTACK_USER_JEST_RUNNER']=_0x2e78f1,logger[_0x278fba(0x171)](_0x278fba(0x233)+_0x2e78f1);}_0x3a65f0[_0x278fba(0x204)]=_0x3c62c8,_0x3a65f0['setupFilesAfterEnv']=_0x3a65f0['setupFilesAfterEnv']||[],_0x3a65f0['setupFilesAfterEnv'][_0x278fba(0x1cd)](path[_0x278fba(0x22d)](__dirname,_0x5d3860[_0x278fba(0x1d0)]));_0x4df860[_0x278fba(0x20b)]()&&(_0x3a65f0['testSequencer']=path[_0x278fba(0x22d)](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860['cMWgx']));if(testhubUtils[_0x278fba(0x1c9)]()||BrowserstackCLI[_0x278fba(0x1c2)]()[_0x278fba(0x1bc)]()){let _0x37049d=null;try{_0x37049d=helper[_0x278fba(0x1aa)](_0x5d3860[_0x278fba(0x22a)],_0x5d3860['FZbdT']);}catch(_0x2d6ebc){try{_0x37049d=helper['requireModule'](_0x5d3860['fdNIi'],_0x5d3860[_0x278fba(0x212)]);}catch(_0x589e86){_0x5d3860[_0x278fba(0x1e7)](debug,_0x278fba(0x1b1)+_0x589e86);}}_0x37049d&&(testhubUtils[_0x278fba(0x1c9)]()&&_0x3a65f0[_0x278fba(0x1f7)][_0x278fba(0x1cd)](path['join'](__dirname,_0x5d3860[_0x278fba(0x192)],_0x5d3860[_0x278fba(0x207)])),_0x3a65f0[_0x278fba(0x1ef)]=path[_0x278fba(0x22d)](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860[_0x278fba(0x1f0)]));}_0x3a65f0[_0x278fba(0x1f3)]=_0x3a65f0['setupFiles']||[];try{helper['requireSeleniumWebdriver'](),_0x3a65f0['setupFiles'][_0x278fba(0x1cd)](path['join'](__dirname,_0x5d3860[_0x278fba(0x1b3)]));}catch{logger[_0x278fba(0x257)](_0x5d3860['IPZuu']);}try{helper[_0x278fba(0x185)][_0x278fba(0x1b5)](null,[_0x5d3860[_0x278fba(0x180)],_0x5d3860[_0x278fba(0x23e)]]),logger['debug'](_0x5d3860[_0x278fba(0x20d)]),_0x3a65f0[_0x278fba(0x1f3)][_0x278fba(0x1cd)](path['join'](__dirname,_0x5d3860[_0x278fba(0x236)]));}catch(_0xf32828){logger[_0x278fba(0x257)](_0x5d3860[_0x278fba(0x184)],_0xf32828);}if(_0x5d3860[_0x278fba(0x201)](!_0x3fce7e,_0x5d9aa3)){try{logger[_0x278fba(0x257)](_0x5d3860[_0x278fba(0x1fd)]),_0x3a65f0[_0x278fba(0x1f3)]['push'](path['join'](__dirname,'..',_0x5d3860[_0x278fba(0x173)],_0x5d3860[_0x278fba(0x236)]));}catch(_0x2a7f67){logger[_0x278fba(0x257)](_0x278fba(0x18b)+_0x2a7f67[_0x278fba(0x23d)]);}try{const _0x762207=require[_0x278fba(0x194)](_0x5d3860['DrUnS']),_0x8be798=path[_0x278fba(0x1d5)](_0x762207)[_0x278fba(0x1ea)](/\\/g,'/'),_0xa45d25={};_0xa45d25[_0x278fba(0x19a)]=_0x8be798+_0x278fba(0x1b6),_0x3a65f0['moduleNameMapper']=Object[_0x278fba(0x223)]({},_0x3a65f0[_0x278fba(0x1d3)]||{},_0xa45d25),logger[_0x278fba(0x257)](_0x278fba(0x196)+_0x8be798);}catch(_0x1eb333){logger[_0x278fba(0x257)](_0x278fba(0x21a)+_0x1eb333[_0x278fba(0x23d)]);}}_0x3a65f0[_0x278fba(0x1c1)]=_0x3a65f0[_0x278fba(0x1c1)]||[_0x5d3860['ISlJv']],_0x5d3860['uYdLh'](updateTestRerunConfig,_0x3a65f0,_0x58c69e);const _0x2062ce=fs['readFileSync'](_0xd0a9e4),_0x2793b1=helper['resolveModule'](_0x5d3860['lOTPp'],_0x5d3860['kpnNR']);!_0x2793b1[_0x278fba(0x1be)]?fs['writeFileSync'](_0x3a65f0[_0x278fba(0x204)],_0x278fba(0x1b2)+_0x2062ce+_0x278fba(0x25a)+_0x58c69e[_0x278fba(0x1ed)]['platforms'][_0x278fba(0x186)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'):fs[_0x278fba(0x1dd)](_0x3a65f0[_0x278fba(0x204)],_0x278fba(0x1b2)+_0x2062ce+_0x278fba(0x1f5)+_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x214)][_0x278fba(0x186)]+_0x278fba(0x225));logger[_0x278fba(0x171)](_0x278fba(0x1c0)+_0x16a955+_0x278fba(0x234)),fs[_0x278fba(0x1dd)](_0x16a955,_0x278fba(0x167)+JSON[_0x278fba(0x1a3)](_0x3a65f0)+_0x278fba(0x17e));if(_0x4df860[_0x278fba(0x20b)]()){logger[_0x278fba(0x257)](_0x5d3860[_0x278fba(0x1d8)]);const _0x2c0dbc=await _0x4df860['findTestFiles'](_0x3a65f0,_0x469677['slice'](0x1),_0x16a955);logger['debug'](_0x278fba(0x1ec)+JSON[_0x278fba(0x1a3)](_0x2c0dbc)+_0x278fba(0x1ac));const _0x875b02=await _0x4df860[_0x278fba(0x169)](_0x2c0dbc);logger[_0x278fba(0x257)](_0x278fba(0x17a)+JSON['stringify'](_0x875b02)),_0x875b02&&_0x5d3860[_0x278fba(0x1f1)](_0x875b02[_0x278fba(0x186)],0x0)&&(process['env'][_0x278fba(0x262)]=_0x875b02?.[_0x278fba(0x22d)](','));}logger['info'](_0x5d3860[_0x278fba(0x202)]);testhubUtils[_0x278fba(0x1c9)]()&&TestDetails[_0x278fba(0x244)]();helper[_0x278fba(0x24d)]({},_0x469677),PerformanceTester[_0x278fba(0x1a6)](PerformanceEvents[_0x278fba(0x1b4)]);const _0x113f60=[_0x5d3860[_0x278fba(0x179)],_0x5d3860[_0x278fba(0x220)],_0x16a955,..._0x469677[_0x278fba(0x191)](0x1)],_0x2ddbbb=_0x5d3860[_0x278fba(0x1e8)](spawn,_0x5d3860[_0x278fba(0x1fe)],_0x113f60,{'shell':_0x5d3860['rgKnv'](process[_0x278fba(0x263)],_0x5d3860['nQjnc']),'stdio':_0x5d3860[_0x278fba(0x16c)],'env':Object[_0x278fba(0x223)]({},process[_0x278fba(0x181)])});_0x2ddbbb['on'](_0x5d3860[_0x278fba(0x1d9)],async _0x5589ca=>{const _0x2a944b=_0x278fba;PerformanceTester[_0x2a944b(0x1df)](PerformanceEvents[_0x2a944b(0x258)]);try{const {browserstackFolderPath:_0x2d8593,tcgConfigPath:_0x83934b}=helper['getTCGConfigFilePaths']();fs[_0x2a944b(0x21f)](_0x83934b),fs['rmdirSync'](_0x2d8593);}catch(_0x579bdb){logger[_0x2a944b(0x257)](_0x5d3860[_0x2a944b(0x20f)],_0x579bdb);}process[_0x2a944b(0x22c)]=_0x5589ca,logger[_0x2a944b(0x257)]('child\x20process\x20exited\x20with\x20code\x20'+_0x5589ca),logger[_0x2a944b(0x171)](_0x2a944b(0x1d7)+_0x16a955);if(helper[_0x2a944b(0x1e9)](_0x29e24d)&&helper[_0x2a944b(0x1e9)](_0x29e24d[_0x2a944b(0x19f)])&&fs[_0x2a944b(0x1d4)](_0x29e24d[_0x2a944b(0x19f)][_0x2a944b(0x261)]))try{const _0x1dae2c={};_0x1dae2c[_0x2a944b(0x1ad)]=!![],_0x1dae2c['force']=!![],fs[_0x2a944b(0x1e6)](_0x29e24d['abortBuildOnFailure']['workingDir'],_0x1dae2c),logger[_0x2a944b(0x257)](_0x2a944b(0x17c)+_0x29e24d['abortBuildOnFailure'][_0x2a944b(0x261)]);}catch(_0x5938e9){logger[_0x2a944b(0x1be)](_0x2a944b(0x18f)+_0x5938e9);}let _0x42754b=null;if(fs['existsSync'](_0x108634)){_0x42754b=fs['readFileSync'](_0x108634);try{_0x42754b=JSON[_0x2a944b(0x231)](_0x42754b);}catch(_0x3aac03){logger['debug']('Error\x20while\x20parsing\x20'+_0x108634+',\x20'+_0x42754b+'\x20:\x20'+_0x3aac03);}fs[_0x2a944b(0x21f)](_0x108634);}fs[_0x2a944b(0x21f)](_0x16a955),fs[_0x2a944b(0x21f)](_0x3c62c8),_0x42754b&&(_0x58c69e[_0x2a944b(0x1b0)]=helper[_0x2a944b(0x1b8)](_0x42754b,_0x5d3860['orJfs'],_0x58c69e));const _0x2f0d66=BrowserstackCLI[_0x2a944b(0x228)]();try{await TestHubHandler[_0x2a944b(0x1a5)](),await BrowserstackCLI[_0x2a944b(0x1c2)]()['stop']();}catch(_0x20b88d){console[_0x2a944b(0x1f2)](_0x20b88d),_0x5d3860[_0x2a944b(0x1e7)](debug,_0x2a944b(0x1a7)+util['format'](_0x20b88d));}testOpsHelper[_0x2a944b(0x22e)](),TestDetails[_0x2a944b(0x19b)](),await utilities['finalExecution'](_0x58c69e,_0x2f0d66);});}function a14_0x468f(){const _0x170506=['puppeteer','342777JKMZTm','customTestRunnerTemplate.js','__isPuppeteerInstalled','@jest/core','isBrowserstackInfra','rmSync','JEpJG','Nmhjn','isNotUndefined','replace','turboScaleUrl','Found:\x20','config','timeout__','testRunner','tewpu','fiwIe','log','setupFiles','../../helpers/testhub/testhubHandler','\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','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','setupFilesAfterEnv','testEnvironmentOptions','retries__','../../helpers/test-observability/utils','jest-circus/build/runner.js','testContextOptions','HGdOc','cCJzl','clRdU','format','RafkA','NiCRd','vEFDR','runner','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','runInBand','ksgtD','error\x20removing\x20tcg\x20config\x20file','../../helpers/utilities','154840gUSFoq','isTestOrchestrationEnabled','NVKvR','iZgmP','getPackageType','GpsBn','__isPlaywrightInstalled','readInitialOptions','FZbdT','SsrAi','platforms','vQrqR','findIndex','getHubUrl','UvLyt','Szwiw','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','gohTW','--config','maxRetries','BROWSERSTACK_TEST_ACCESSIBILITY_YML','unlinkSync','beCff','capabilities','jest_browserstack_results.json','assign','platformCaps',';\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','../../helpers/logger','./test-observability/helper','isCLIEnabled','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','sZPMa','1056qlfxEb','exitCode','join','printBuildLink','MODULE','QHGNU','parse','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','Preserving\x20user\x27s\x20Jest\x20runner:\x20','\x20with\x20browserstack\x20jest\x20configs','handleApp','NOtez','323815qRfNhd','yLDVl','default','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','MCCDr','../../helpers/performance/performance-tester','message','LmnXD','customCircus.js','../../helpers/BrowserStackSetup','./test-observability/test-details','customEnvironment.js','skipSessionName','setup','7649440BVvAVY','customImplements','ueXyb','true','LeAjM','@jest/core/build/ReporterDispatcher.js','42196hZLYlq','jest-runner-','filterBrowserstackArgs','mjs','skipSessionStatus','jest-circus','TfoRq','useW3C','serial__','initialize','jest.setup.js','parallelsPerPlatform','debug','SDK_CLEANUP','package.json','\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','inherit','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','jDHQv','aaHzz','BROWSERSTACK_CAPABILITIES','util','workingDir','JEST_TEST_ORDER','platform','FRAMEWORKS','test.setup.js','@playwright/test','Getting\x20your\x20jest\x20configs\x20from\x20','const\x20config=','../../helpers/percy/utils','reorderTestFiles','setupTCGAuth','BROWSERSTACK_TEST_OBSERVABILITY_YML','IkBHL','iDToQ','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','ukdfW','URxxI','info','2634678UZyIwl','TBjuc','test-observability','jest_browserstack.config.js','flYay','prepareCapabilities','npx','orJfs','Reodered\x20Test\x20Files:\x20','test_before.setup.js','Deleted\x20fail-fast\x20state\x20folder:\x20','jest.config.','\x0amodule.exports\x20=\x20config;','parallels__','NRhkW','env','../../helpers/playwright-helper','rgKnv','xnzLo','requirePWModule','length','../utils/constants','startsWith','checkAccessibilityPlatformConfig','miOTe','Puppeteer\x20setup\x20error:\x20','browserStackPercyOptions','LKUWl','JKyUt','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','proxySettings','slice','ttzUE','parseTestOrchestrationOptions','resolve','2vWmTOH','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','path','getPackageVersion','../../helpers/puppeteer-helper','^puppeteer-core/internal/(.*)','shutdown','testObservability','playwright',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','abortBuildOnFailure','ejbjd','tVFHy','customTestRunner.js','stringify','cjs','stop','end','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','JEST','../../helpers/test-observability/constants','requireModule','mSxVo','\x20test\x20files\x20to\x20run.','recursive','splice','10qGZxop','errorMessage','Unable\x20to\x20find\x20jest-circus,\x20','\x0a\x20\x20\x20\x20\x20\x20','EQtsF','SDK_SETUP','apply','/internal/$1','../../helpers/accessibility-automation/helper','getErrorMessageFromResults','json','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','jest','isCliEnabled','testEnvironment','error','jest_browserstack.config.cjs','Creating\x20','reporters','getInstance','isRunning','jest-config/build/readConfigFileAndSetRootDir.js','EVENTS','isUndefined','false','9462134vQbsdo','shouldProcessEventForTesthub',',\x20CLI\x20running:\x20','puppeteer-core/package.json','PACKAGE_TYPE','push','sUOzB','maxWorkers','CMXHg','jest-runner','Getting\x20your\x20jest\x20configs\x20from\x20package.json','moduleNameMapper','existsSync','dirname','fyvuA','Deleting\x20','RyppX','ZgSQZ','cBPPo','68vblLLC','cwd','writeFileSync','winstonLogger','start'];a14_0x468f=function(){return _0x170506;};return a14_0x468f();}module['exports']=run;
2
+ 'use strict';const a14_0x29b792=a14_0x5eed;(function(_0x5302e7,_0x1b16b3){const _0x163153=a14_0x5eed,_0x53b5b1=_0x5302e7();while(!![]){try{const _0x46cfb8=parseInt(_0x163153(0xa8))/0x1+-parseInt(_0x163153(0x70))/0x2*(-parseInt(_0x163153(0xd8))/0x3)+parseInt(_0x163153(0x8d))/0x4+-parseInt(_0x163153(0xd7))/0x5+parseInt(_0x163153(0x81))/0x6*(-parseInt(_0x163153(0x88))/0x7)+parseInt(_0x163153(0x114))/0x8*(-parseInt(_0x163153(0x11d))/0x9)+-parseInt(_0x163153(0x9e))/0xa*(-parseInt(_0x163153(0x64))/0xb);if(_0x46cfb8===_0x1b16b3)break;else _0x53b5b1['push'](_0x53b5b1['shift']());}catch(_0x3c36c6){_0x53b5b1['push'](_0x53b5b1['shift']());}}}(a14_0x20c0,0xf21ea));function a14_0x5eed(_0x126ac6,_0xdfb53e){const _0x20c0c6=a14_0x20c0();return a14_0x5eed=function(_0x5eed98,_0x968eac){_0x5eed98=_0x5eed98-0x64;let _0x42ee26=_0x20c0c6[_0x5eed98];return _0x42ee26;},a14_0x5eed(_0x126ac6,_0xdfb53e);}const fs=require('fs'),path=require(a14_0x29b792(0xed)),util=require('util'),{spawn}=require(a14_0x29b792(0x160)),logger=require(a14_0x29b792(0x8f))['winstonLogger'],{default:BrowserStackSetup}=require(a14_0x29b792(0xbd)),helper=require('../../helpers/helper'),utilities=require(a14_0x29b792(0xc8)),constants=require(a14_0x29b792(0xb6)),accessibilityHelper=require(a14_0x29b792(0xdd)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a14_0x29b792(0x11a)),{debug}=require(a14_0x29b792(0x11a)),TestDetails=require(a14_0x29b792(0x85)),{getPercyOptions}=require(a14_0x29b792(0x139)),TestHubHandler=require(a14_0x29b792(0xee)),testhubUtils=require(a14_0x29b792(0x67)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a14_0x29b792(0xda)),PerformanceEvents=require(a14_0x29b792(0xd5))[a14_0x29b792(0x12c)],TestOrchestrationHandler=require(a14_0x29b792(0x84)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a14_0x29b792(0xf6)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x29b792(0x8a)),ClientTroubleShootingService=require(a14_0x29b792(0x96)),{checkAccessibilityPlatformConfig}=require(a14_0x29b792(0xdd)),getUserJestConfigs=async(_0x5d4d2d,_0x20094d)=>{const _0x4253c2=a14_0x29b792,_0x1d05e7={'rubNn':_0x4253c2(0x11e),'TapFw':'jest-config','tCKDH':function(_0x36132f,_0x5db0ac){return _0x36132f||_0x5db0ac;},'dbwzS':function(_0x208387,_0x3fa8f7){return _0x208387(_0x3fa8f7);},'NSenv':'package.json','lGpyi':_0x4253c2(0x159),'cTmeU':_0x4253c2(0xef),'iFQka':'cjs','XBzTU':_0x4253c2(0x14f)};let _0x5829af;try{_0x5829af=helper[_0x4253c2(0x141)](_0x1d05e7[_0x4253c2(0x111)],_0x1d05e7['TapFw']);}catch{const _0x45276b=helper['requireModule'](_0x1d05e7[_0x4253c2(0x13e)]);_0x5829af={'default':async _0x3f62a1=>{const _0x3b557c=_0x4253c2,_0x542c1f=await _0x45276b[_0x3b557c(0x11f)](_0x3f62a1,{});return _0x542c1f[_0x3b557c(0x138)];}};}const _0x381544=_0x20094d[_0x4253c2(0x122)](_0x315cbf=>_0x315cbf==='--config');if(!helper[_0x4253c2(0xf1)](_0x5d4d2d[_0x4253c2(0x138)])){logger[_0x4253c2(0x151)](_0x4253c2(0x106)+_0x5d4d2d[_0x4253c2(0x138)]),process['env'][_0x4253c2(0x100)]=_0x5d4d2d['config'];const _0x17d75f=await(0x0,_0x5829af[_0x4253c2(0x73)])(path[_0x4253c2(0x13a)](_0x5d4d2d[_0x4253c2(0x138)]));return _0x20094d[_0x4253c2(0xa3)](_0x381544,0x2),_0x1d05e7[_0x4253c2(0x75)](_0x17d75f,{});}const _0x308a6b=_0x1d05e7['dbwzS'](require,path[_0x4253c2(0xe5)](process[_0x4253c2(0x91)](),_0x1d05e7['NSenv']));if(_0x308a6b[_0x4253c2(0xb5)])return logger[_0x4253c2(0x151)](_0x1d05e7[_0x4253c2(0x8e)]),_0x308a6b[_0x4253c2(0xb5)];const _0x4b8dff=['js',_0x1d05e7[_0x4253c2(0x10f)],_0x1d05e7[_0x4253c2(0x105)],_0x1d05e7[_0x4253c2(0x147)],'ts'];for(const _0x175ad3 of _0x4b8dff){const _0x30729c=path[_0x4253c2(0xe5)](process['cwd'](),_0x4253c2(0xfe)+_0x175ad3);if(fs[_0x4253c2(0x150)](_0x30729c)){process['env']['USER_CONFIG_DETAILS_PATH']=_0x30729c;const _0x25fde1=await(0x0,_0x5829af[_0x4253c2(0x73)])(_0x30729c);return _0x25fde1;}}return{};},getSerial=(_0x9f13b9,_0x1e7642)=>{const _0x28d262=a14_0x29b792,_0x39d5dc={};_0x39d5dc[_0x28d262(0xd3)]=_0x28d262(0x130),_0x39d5dc['VwTwB']=function(_0xf3f863,_0x3c6739){return _0xf3f863>_0x3c6739;},_0x39d5dc[_0x28d262(0x13f)]=_0x28d262(0x14e);const _0x77a3fd=_0x39d5dc;let _0x38508c=_0x77a3fd['jpmEw'];return _0x77a3fd[_0x28d262(0xe7)](_0x9f13b9[_0x28d262(0x8c)],0x1)&&(!_0x1e7642['runInBand']&&(helper[_0x28d262(0xf1)](_0x1e7642[_0x28d262(0xb0)])||_0x77a3fd[_0x28d262(0xe7)](_0x1e7642[_0x28d262(0xb0)],0x1)))&&(_0x38508c=_0x77a3fd[_0x28d262(0x13f)]),_0x38508c;},getMaxWorkers=(_0x46d9f9,_0x11931a,_0x1acf9b)=>{const _0x4f5291=a14_0x29b792,_0x369b91={'WmFGD':function(_0x1ae3e9,_0xb111e5){return _0x1ae3e9(_0xb111e5);}};let _0x50e007=0x1;if(!helper[_0x4f5291(0xf1)](_0x11931a[_0x4f5291(0xde)]))_0x50e007=_0x369b91[_0x4f5291(0x136)](parseInt,_0x11931a[_0x4f5291(0xde)]);else{if(!helper[_0x4f5291(0xf1)](_0x46d9f9['maxWorkers']))_0x50e007=_0x46d9f9['maxWorkers'];else!helper['isUndefined'](_0x1acf9b[_0x4f5291(0xb0)])&&(_0x50e007=_0x1acf9b[_0x4f5291(0xb0)]);}return _0x50e007;};async function run(_0x693706,_0x4fb466,_0xd9355d){const _0x213b6d=a14_0x29b792,_0x39be69={'oSNuc':_0x213b6d(0x82),'lFAft':_0x213b6d(0xb5),'mkHue':function(_0x2c7b59,_0x560ac3){return _0x2c7b59(_0x560ac3);},'lbbav':_0x213b6d(0xd1),'QEuJB':function(_0x5a3484){return _0x5a3484();},'FYrkB':function(_0x4cddc5,_0x30438b,_0x3df63e,_0x2b50d2){return _0x4cddc5(_0x30438b,_0x3df63e,_0x2b50d2);},'mQPJd':function(_0x2a3749,_0x21485a){return _0x2a3749!=_0x21485a;},'LexGP':'true','mYqmV':function(_0x4669ca,_0x2237de,_0x4add5e){return _0x4669ca(_0x2237de,_0x4add5e);},'ggkZD':_0x213b6d(0xe8),'YeSUx':function(_0x35253b,_0x1114c6){return _0x35253b(_0x1114c6);},'lTDCN':function(_0x52e83b,_0x4b3615){return _0x52e83b(_0x4b3615);},'VvzYD':'false','RpDey':function(_0x45e86a,_0x27c106,_0x2732a1,_0x165427){return _0x45e86a(_0x27c106,_0x2732a1,_0x165427);},'rWSMq':function(_0x2cb55f,_0x2c7171){return _0x2cb55f*_0x2c7171;},'YlEog':function(_0x359f6b,_0x2b6b34){return _0x359f6b===_0x2b6b34;},'IMoFR':_0x213b6d(0x94),'hvTgh':_0x213b6d(0xb8),'DlFfJ':_0x213b6d(0x15a),'ntVvY':'jest_browserstack_results.json','aZYCX':_0x213b6d(0x12a),'FNHGx':_0x213b6d(0xfd),'TweyS':'customEnvironment.js','WPLrl':function(_0x310f5a,_0xb7ce49){return _0x310f5a!==_0xb7ce49;},'kTFol':_0x213b6d(0x15b),'fmrhR':'jest-runner-','dLPzh':'jest.setup.js','pYZRV':'customSequencer.js','aNBGP':_0x213b6d(0x8b),'OqQQU':'jest-circus','QmjgX':'jest-circus/build/runner.js','MvfoE':_0x213b6d(0x121),'JsHaO':_0x213b6d(0x99),'aWxgx':_0x213b6d(0xbc),'vXSZF':'test_before.setup.js','uyPld':_0x213b6d(0xec),'DgSmu':_0x213b6d(0xa6),'gGaOx':_0x213b6d(0x12d),'IwlIv':'test.setup.js','FVXgE':_0x213b6d(0x6a),'aeZnC':function(_0x393e9e,_0x4f5a64){return _0x393e9e&&_0x4f5a64;},'AozpM':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','oGiYW':_0x213b6d(0x133),'GRICU':_0x213b6d(0xd6),'PuVoA':_0x213b6d(0x73),'BSqFG':function(_0x38f7ca,_0x74874a,_0x3b2ef4){return _0x38f7ca(_0x74874a,_0x3b2ef4);},'EMdNu':_0x213b6d(0x65),'jBnys':_0x213b6d(0x11b),'BYpMm':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','UOEkF':function(_0x3a3ba4,_0x222d2e){return _0x3a3ba4>_0x222d2e;},'SZugf':_0x213b6d(0xe2),'PCoox':'--config','aPMTo':_0x213b6d(0xe4),'ulwOY':'win32','hFlkc':'inherit','EhYFi':_0x213b6d(0x132)},_0x2921f2=helper[_0x213b6d(0x119)](_0x39be69[_0x213b6d(0x9b)]);global[_0x213b6d(0xe6)]=!!_0x2921f2;const _0x22ce31=_0x39be69[_0x213b6d(0x72)](getPuppeteerVersion);global[_0x213b6d(0x157)]=!!_0x22ce31;helper['isBrowserstackInfra']()?(await _0xd9355d[_0x213b6d(0xaf)](_0x693706),await helper[_0x213b6d(0x10c)](_0xd9355d[_0x213b6d(0x138)])):await _0xd9355d[_0x213b6d(0x13c)]();if(_0x2921f2)await _0x39be69['FYrkB'](checkPwandBootstrapCli,_0x2921f2,constants[_0x213b6d(0x126)]['JEST'],_0xd9355d);else _0x22ce31&&await _0x39be69[_0x213b6d(0x14c)](checkPuppeteerAndBootstrapCli,_0x22ce31,constants['FRAMEWORKS'][_0x213b6d(0xcc)],_0xd9355d);if(!_0xd9355d[_0x213b6d(0x138)])return;_0x39be69[_0x213b6d(0x87)](_0xd9355d[_0x213b6d(0x138)]['testObservability'],null)?process[_0x213b6d(0xf3)][_0x213b6d(0x10d)]=_0xd9355d[_0x213b6d(0x138)][_0x213b6d(0x162)]:process[_0x213b6d(0xf3)][_0x213b6d(0x10d)]=_0x39be69['LexGP'];const _0x4eee3d=new TestOrchestrationHandler(_0xd9355d[_0x213b6d(0x138)]),_0x2bfbaf=await _0x39be69['mYqmV'](getUserJestConfigs,_0x693706,_0x4fb466);logger[_0x213b6d(0x151)](_0x39be69[_0x213b6d(0x14d)]);const _0x2da72f=Object[_0x213b6d(0x7e)]({},_0x2bfbaf);_0x2da72f['testEnvironmentOptions']=Object['assign']({},_0x2da72f[_0x213b6d(0x154)],{'server':helper['getHubUrl'](_0xd9355d[_0x213b6d(0x138)]),'environment':_0x2bfbaf[_0x213b6d(0x109)]}),_0x2da72f[_0x213b6d(0x154)]['browserStackPercyOptions']=_0x39be69['YeSUx'](getPercyOptions,_0xd9355d['config']);const _0x265962=helper['useW3C'](_0xd9355d[_0x213b6d(0x138)]);!helper['isUndefined'](_0xd9355d['config']['accessibilityOptions'])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0xd9355d[_0x213b6d(0x138)][_0x213b6d(0x148)]));if(!BrowserstackCLI[_0x213b6d(0x158)]()[_0x213b6d(0x116)]()){const _0xed08d6=await TestHubHandler[_0x213b6d(0x10a)](FRAMEWORKS[_0x213b6d(0xcc)],_0xd9355d);}const _0x46904e=helper['prepareCapabilities'](_0xd9355d[_0x213b6d(0x138)],_0x265962,constants[_0x213b6d(0x126)][_0x213b6d(0xcc)]);process[_0x213b6d(0xf3)][_0x213b6d(0xfb)]=JSON[_0x213b6d(0x7d)](_0x46904e);let _0x123f2d=_0xd9355d[_0x213b6d(0x138)]['accessibility'];_0x123f2d=_0x123f2d||accessibilityHelper[_0x213b6d(0xba)](_0xd9355d[_0x213b6d(0x138)]),process['env'][_0x213b6d(0xc7)]=_0x123f2d,logger[_0x213b6d(0x9d)](_0x213b6d(0x128)+_0x123f2d+_0x213b6d(0xc5)+BrowserstackCLI[_0x213b6d(0x158)]()[_0x213b6d(0x116)]());if(_0x2921f2)try{const _0x59fdd7=_0x39be69[_0x213b6d(0xbe)](checkAccessibilityPlatformConfig,_0xd9355d[_0x213b6d(0x138)]);process[_0x213b6d(0xf3)][_0x213b6d(0xab)]=_0x59fdd7?_0x39be69['LexGP']:_0x39be69[_0x213b6d(0x10e)],logger[_0x213b6d(0x9d)](_0x213b6d(0xdf)+_0x59fdd7+_0x213b6d(0x74)+process[_0x213b6d(0xf3)][_0x213b6d(0xab)]);}catch(_0x119331){logger[_0x213b6d(0x9d)](_0x213b6d(0xb4)+util[_0x213b6d(0xa9)](_0x119331));}_0x2da72f[_0x213b6d(0x154)][_0x213b6d(0x120)]=_0x46904e,_0x2da72f[_0x213b6d(0x154)][_0x213b6d(0xce)]=_0x39be69[_0x213b6d(0x93)](getSerial,_0x46904e,_0x693706),_0x2da72f['testEnvironmentOptions'][_0x213b6d(0x77)]=_0x39be69[_0x213b6d(0x15d)](getMaxWorkers,_0x693706,_0xd9355d[_0x213b6d(0x138)],_0x2bfbaf),_0x2da72f['testEnvironmentOptions'][_0x213b6d(0x127)]=_0xd9355d[_0x213b6d(0x138)][_0x213b6d(0x127)],_0x2da72f['testEnvironmentOptions']['timeout__']=_0x39be69[_0x213b6d(0x124)](_0x693706[_0x213b6d(0x9a)],0x1)||0x1388,_0x2da72f[_0x213b6d(0x154)]['skipSessionName']=_0xd9355d[_0x213b6d(0x138)][_0x213b6d(0x123)][_0x213b6d(0xc4)],_0x2da72f[_0x213b6d(0x154)][_0x213b6d(0x9f)]=_0xd9355d[_0x213b6d(0x138)]['testContextOptions'][_0x213b6d(0x9f)],_0x2da72f['testEnvironmentOptions'][_0x213b6d(0xca)]=_0xd9355d[_0x213b6d(0x138)]['logLevel'],_0x2da72f['testEnvironmentOptions']['turboScaleUrl']=_0xd9355d[_0x213b6d(0x138)][_0x213b6d(0x102)],_0x2da72f[_0x213b6d(0x154)]['platformCaps']=_0xd9355d['config'][_0x213b6d(0xcd)];const _0xa05baa=helper[_0x213b6d(0xb7)](_0xd9355d[_0x213b6d(0x138)]);if(!helper[_0x213b6d(0x153)](_0xa05baa)){helper[_0x213b6d(0x103)](_0xa05baa[_0x213b6d(0x15f)])&&(_0x2da72f['testEnvironmentOptions'][_0x213b6d(0x118)]=_0xa05baa['retryTestsOnFailure'][_0x213b6d(0x131)]);if(helper[_0x213b6d(0x103)](_0xa05baa[_0x213b6d(0x14a)])&&helper[_0x213b6d(0x103)](_0xa05baa[_0x213b6d(0x14a)][_0x213b6d(0x71)])){const _0x3a69e3={};_0x3a69e3[_0x213b6d(0x155)]=_0xa05baa[_0x213b6d(0x14a)][_0x213b6d(0x69)],_0x3a69e3[_0x213b6d(0x71)]=_0xa05baa[_0x213b6d(0x14a)][_0x213b6d(0x71)],_0x2da72f[_0x213b6d(0x154)][_0x213b6d(0xf7)]=_0x3a69e3;}}let _0xf08f2f='';_0x39be69['YlEog'](helper[_0x213b6d(0x6e)](),constants[_0x213b6d(0x95)]['MODULE'])?_0xf08f2f=_0x39be69['IMoFR']:_0xf08f2f=_0x39be69[_0x213b6d(0xb3)];const _0xb2241f=_0xf08f2f,_0xfa2452=path['join'](__dirname,_0x39be69[_0x213b6d(0x68)],_0x39be69[_0x213b6d(0xf0)]),_0x393804=path[_0x213b6d(0xe5)](__dirname,_0x39be69[_0x213b6d(0x68)],_0x39be69[_0x213b6d(0x145)]),_0x3c22d7=path[_0x213b6d(0xe5)](__dirname,_0x39be69['DlFfJ'],_0x39be69[_0x213b6d(0x7b)]);_0x2da72f[_0x213b6d(0x109)]&&(process[_0x213b6d(0xf3)][_0x213b6d(0xa2)]=_0x2da72f[_0x213b6d(0x109)]);_0x2da72f[_0x213b6d(0x109)]=path[_0x213b6d(0xe5)](__dirname,_0x39be69[_0x213b6d(0x68)],_0x39be69[_0x213b6d(0x161)]);const _0x2c4895=_0x2bfbaf['runner'];if(_0x2c4895&&_0x39be69[_0x213b6d(0x9c)](_0x2c4895,_0x39be69[_0x213b6d(0xe3)])){const _0x4c4e4c=_0x2c4895[_0x213b6d(0xe0)](_0x39be69[_0x213b6d(0xfc)])?_0x2c4895:_0x213b6d(0x115)+_0x2c4895;process[_0x213b6d(0xf3)][_0x213b6d(0xa4)]=_0x4c4e4c,logger[_0x213b6d(0x151)](_0x213b6d(0x152)+_0x4c4e4c);}_0x2da72f[_0x213b6d(0x137)]=_0x393804,_0x2da72f[_0x213b6d(0x142)]=_0x2da72f['setupFilesAfterEnv']||[],_0x2da72f[_0x213b6d(0x142)][_0x213b6d(0x92)](path[_0x213b6d(0xe5)](__dirname,_0x39be69[_0x213b6d(0x6b)]));_0x4eee3d[_0x213b6d(0xfa)]()&&(_0x2da72f[_0x213b6d(0x110)]=path[_0x213b6d(0xe5)](__dirname,_0x39be69[_0x213b6d(0x68)],_0x39be69[_0x213b6d(0x10b)]));if(testhubUtils[_0x213b6d(0xb2)]()||BrowserstackCLI['getInstance']()['isCliEnabled']()){let _0x33120e=null;try{_0x33120e=helper[_0x213b6d(0x141)](_0x39be69[_0x213b6d(0x86)],_0x39be69[_0x213b6d(0x134)]);}catch(_0x2d1cf9){try{_0x33120e=helper[_0x213b6d(0x141)](_0x39be69[_0x213b6d(0x7a)],_0x39be69[_0x213b6d(0x134)]);}catch(_0xcf92ea){_0x39be69[_0x213b6d(0xe9)](debug,_0x213b6d(0x76)+_0xcf92ea);}}_0x33120e&&(testhubUtils['shouldProcessEventForTesthub']()&&_0x2da72f[_0x213b6d(0x142)]['push'](path[_0x213b6d(0xe5)](__dirname,_0x39be69[_0x213b6d(0x89)],_0x39be69[_0x213b6d(0x13b)])),_0x2da72f['testRunner']=path[_0x213b6d(0xe5)](__dirname,_0x39be69[_0x213b6d(0x68)],_0x39be69[_0x213b6d(0x7f)]));}_0x2da72f[_0x213b6d(0x135)]=_0x2da72f[_0x213b6d(0x135)]||[];try{helper['requireSeleniumWebdriver'](),_0x2da72f[_0x213b6d(0x135)][_0x213b6d(0x92)](path[_0x213b6d(0xe5)](__dirname,_0x39be69[_0x213b6d(0xf9)]));}catch{logger[_0x213b6d(0x9d)](_0x39be69[_0x213b6d(0x112)]);}try{helper[_0x213b6d(0xbb)][_0x213b6d(0xc2)](null,[_0x39be69['lbbav'],_0x39be69['DgSmu']]),logger['debug'](_0x39be69['gGaOx']),_0x2da72f[_0x213b6d(0x135)][_0x213b6d(0x92)](path[_0x213b6d(0xe5)](__dirname,_0x39be69[_0x213b6d(0x66)]));}catch(_0x1f300d){logger['debug'](_0x39be69[_0x213b6d(0xa5)],_0x1f300d);}if(_0x39be69['aeZnC'](!_0x2921f2,_0x22ce31)){try{logger['debug'](_0x39be69[_0x213b6d(0xeb)]),_0x2da72f[_0x213b6d(0x135)]['push'](path[_0x213b6d(0xe5)](__dirname,'..',_0x39be69[_0x213b6d(0x164)],_0x39be69[_0x213b6d(0x66)]));}catch(_0x2928ca){logger[_0x213b6d(0x9d)](_0x213b6d(0x12e)+_0x2928ca['message']);}try{const _0x2a716b=require[_0x213b6d(0x13a)](_0x39be69[_0x213b6d(0x80)]),_0x279421=path[_0x213b6d(0x163)](_0x2a716b)[_0x213b6d(0x15c)](/\\/g,'/'),_0x2e14eb={};_0x2e14eb[_0x213b6d(0x12f)]=_0x279421+_0x213b6d(0xff),_0x2da72f[_0x213b6d(0x6f)]=Object[_0x213b6d(0x7e)]({},_0x2da72f[_0x213b6d(0x6f)]||{},_0x2e14eb),logger[_0x213b6d(0x9d)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x279421);}catch(_0x1feff5){logger[_0x213b6d(0x9d)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x1feff5[_0x213b6d(0xb9)]);}}_0x2da72f[_0x213b6d(0x13d)]=_0x2da72f[_0x213b6d(0x13d)]||[_0x39be69[_0x213b6d(0xd0)]],_0x39be69['BSqFG'](updateTestRerunConfig,_0x2da72f,_0xd9355d);const _0x28e1e2=fs[_0x213b6d(0x129)](_0x3c22d7),_0x1e3fc0=helper[_0x213b6d(0x79)](_0x39be69[_0x213b6d(0xad)],_0x39be69[_0x213b6d(0xdc)]);!_0x1e3fc0[_0x213b6d(0xc3)]?fs[_0x213b6d(0xf4)](_0x2da72f[_0x213b6d(0x137)],_0x213b6d(0xcf)+_0x28e1e2+_0x213b6d(0xea)+_0xd9355d[_0x213b6d(0x138)][_0x213b6d(0xcd)]['length']+_0x213b6d(0xf2)):fs['writeFileSync'](_0x2da72f[_0x213b6d(0x137)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x28e1e2+_0x213b6d(0x125)+_0xd9355d[_0x213b6d(0x138)][_0x213b6d(0xcd)][_0x213b6d(0x8c)]+_0x213b6d(0x146));logger[_0x213b6d(0x151)](_0x213b6d(0xa7)+_0xb2241f+_0x213b6d(0x14b)),fs[_0x213b6d(0xf4)](_0xb2241f,'const\x20config='+JSON[_0x213b6d(0x7d)](_0x2da72f)+_0x213b6d(0x104));if(_0x4eee3d[_0x213b6d(0xfa)]()){logger[_0x213b6d(0x9d)](_0x39be69[_0x213b6d(0x15e)]);const _0x2dd2ab=await _0x4eee3d['findTestFiles'](_0x2da72f,_0x4fb466[_0x213b6d(0x156)](0x1),_0xb2241f);logger[_0x213b6d(0x9d)](_0x213b6d(0xd4)+JSON[_0x213b6d(0x7d)](_0x2dd2ab)+_0x213b6d(0xe1));const _0x116961=await _0x4eee3d[_0x213b6d(0x83)](_0x2dd2ab);logger['debug'](_0x213b6d(0xb1)+JSON[_0x213b6d(0x7d)](_0x116961)),_0x116961&&_0x39be69[_0x213b6d(0xaa)](_0x116961[_0x213b6d(0x8c)],0x0)&&(process[_0x213b6d(0xf3)][_0x213b6d(0xd9)]=_0x116961?.[_0x213b6d(0xe5)](','));}logger['info'](_0x39be69['SZugf']);testhubUtils[_0x213b6d(0xb2)]()&&TestDetails['setup']();helper[_0x213b6d(0xa0)]({},_0x4fb466),PerformanceTester[_0x213b6d(0x90)](PerformanceEvents[_0x213b6d(0x143)]);const _0x128086=[_0x39be69[_0x213b6d(0x97)],_0x39be69[_0x213b6d(0xbf)],_0xb2241f,..._0x4fb466[_0x213b6d(0x156)](0x1)],_0x5e339c=_0x39be69['RpDey'](spawn,_0x39be69[_0x213b6d(0xd2)],_0x128086,{'shell':_0x39be69['YlEog'](process[_0x213b6d(0x107)],_0x39be69[_0x213b6d(0x113)]),'stdio':_0x39be69[_0x213b6d(0x7c)],'env':Object[_0x213b6d(0x7e)]({},process[_0x213b6d(0xf3)])});_0x5e339c['on'](_0x39be69[_0x213b6d(0xdb)],async _0x55a143=>{const _0x4d06f0=_0x213b6d;PerformanceTester['start'](PerformanceEvents[_0x4d06f0(0xc0)]);try{const {browserstackFolderPath:_0x3493f1,tcgConfigPath:_0x455fd2}=helper[_0x4d06f0(0xc1)]();fs['unlinkSync'](_0x455fd2),fs['rmdirSync'](_0x3493f1);}catch(_0x4aee4b){logger[_0x4d06f0(0x9d)](_0x39be69[_0x4d06f0(0x11c)],_0x4aee4b);}process['exitCode']=_0x55a143,logger[_0x4d06f0(0x9d)](_0x4d06f0(0x12b)+_0x55a143),logger[_0x4d06f0(0x151)](_0x4d06f0(0xf8)+_0xb2241f);if(helper['isNotUndefined'](_0xa05baa)&&helper[_0x4d06f0(0x103)](_0xa05baa['abortBuildOnFailure'])&&fs[_0x4d06f0(0x150)](_0xa05baa[_0x4d06f0(0x14a)]['workingDir']))try{const _0x190fb7={};_0x190fb7[_0x4d06f0(0xae)]=!![],_0x190fb7['force']=!![],fs[_0x4d06f0(0xac)](_0xa05baa['abortBuildOnFailure'][_0x4d06f0(0x71)],_0x190fb7),logger[_0x4d06f0(0x9d)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0xa05baa[_0x4d06f0(0x14a)][_0x4d06f0(0x71)]);}catch(_0xebd6e){logger[_0x4d06f0(0xc3)](_0x4d06f0(0x6d)+_0xebd6e);}let _0x3ee85d=null;if(fs[_0x4d06f0(0x150)](_0xfa2452)){_0x3ee85d=fs['readFileSync'](_0xfa2452);try{_0x3ee85d=JSON[_0x4d06f0(0x144)](_0x3ee85d);}catch(_0x4fb81f){logger['debug'](_0x4d06f0(0x98)+_0xfa2452+',\x20'+_0x3ee85d+_0x4d06f0(0x101)+_0x4fb81f);}fs[_0x4d06f0(0xc6)](_0xfa2452);}fs[_0x4d06f0(0xc6)](_0xb2241f),fs[_0x4d06f0(0xc6)](_0x393804),_0x3ee85d&&(_0xd9355d[_0x4d06f0(0xc9)]=helper['getErrorMessageFromResults'](_0x3ee85d,_0x39be69[_0x4d06f0(0x97)],_0xd9355d));const _0x3eaf6d=BrowserstackCLI[_0x4d06f0(0xcb)]();try{await TestHubHandler[_0x4d06f0(0x117)](),await BrowserstackCLI[_0x4d06f0(0x158)]()[_0x4d06f0(0x117)]();}catch(_0x520ae0){console[_0x4d06f0(0x108)](_0x520ae0),_0x39be69[_0x4d06f0(0xf5)](debug,_0x4d06f0(0x140)+util[_0x4d06f0(0xa9)](_0x520ae0));}testOpsHelper[_0x4d06f0(0x6c)](),TestDetails[_0x4d06f0(0x78)](),await utilities[_0x4d06f0(0x149)](_0xd9355d,_0x3eaf6d);});}module[a14_0x29b792(0xa1)]=run;function a14_0x20c0(){const _0x133e8a=['jest-config/build/readConfigFileAndSetRootDir.js','readInitialOptions','capabilities','test-observability','findIndex','testContextOptions','rWSMq','\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','FRAMEWORKS','proxySettings','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','readFileSync','customTestRunner.js','child\x20process\x20exited\x20with\x20code\x20','EVENTS','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','Puppeteer\x20setup\x20error:\x20','^puppeteer-core/internal/(.*)','true','maxRetries','close','puppeteer','OqQQU','setupFiles','WmFGD','runner','config','../../helpers/percy/utils','resolve','JsHaO','setupTCGAuth','reporters','TapFw','umEgx','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','requireModule','setupFilesAfterEnv','SDK_SETUP','parse','aZYCX',';\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','XBzTU','accessibilityOptions','finalExecution','abortBuildOnFailure','\x20with\x20browserstack\x20jest\x20configs','FYrkB','ggkZD','false','json','existsSync','info','Preserving\x20user\x27s\x20Jest\x20runner:\x20','isEmpty','testEnvironmentOptions','failureThresholdCount','slice','__isPuppeteerInstalled','getInstance','Getting\x20your\x20jest\x20configs\x20from\x20package.json','customImplements','jest-runner','replace','RpDey','BYpMm','retryTestsOnFailure','child_process','TweyS','testObservability','dirname','oGiYW','121341UEGuTy','@jest/core/build/ReporterDispatcher.js','IwlIv','../../helpers/testhub/utils','DlFfJ','maxFailures','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','dLPzh','printBuildLink','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','getPackageType','moduleNameMapper','446750yqjPWW','workingDir','QEuJB','default',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','tCKDH','Unable\x20to\x20find\x20jest-circus,\x20','parallels__','shutdown','resolveModule','QmjgX','FNHGx','hFlkc','stringify','assign','aWxgx','GRICU','1543548lovUtI','error\x20removing\x20tcg\x20config\x20file','reorderTestFiles','../../helpers/test-orchestration/testOrchestrationHandler','./test-observability/test-details','aNBGP','mQPJd','21QsVirT','MvfoE','../../helpers/puppeteer-helper','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','length','2135804nfLNOW','lGpyi','../../helpers/logger','end','cwd','push','mYqmV','jest_browserstack.config.cjs','PACKAGE_TYPE','../utils/clientTroubleshootingService','lFAft','Error\x20while\x20parsing\x20','data-hooks.js','testTimeout','lbbav','WPLrl','debug','1180OXCggs','skipSessionStatus','filterBrowserstackArgs','exports','BSTACK_JEST_TEST_ENV','splice','BSTACK_USER_JEST_RUNNER','FVXgE','playwright','Creating\x20','1314104desdDx','format','UOEkF','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','rmSync','EMdNu','recursive','initialize','maxWorkers','Reodered\x20Test\x20Files:\x20','shouldProcessEventForTesthub','hvTgh','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','jest','../utils/constants','parseTestOrchestrationOptions','jest_browserstack.config.js','message','checkAccessibilityPlatformConfig','requirePWModule','customCircus.js','../../helpers/BrowserStackSetup','lTDCN','PCoox','SDK_CLEANUP','getTCGConfigFilePaths','apply','error','skipSessionName',',\x20CLI\x20running:\x20','unlinkSync','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/utilities','errorMessage','browserStackLogLevel','isCLIEnabled','JEST','platforms','serial__','\x0a\x20\x20\x20\x20\x20\x20','PuVoA','@playwright/test','aPMTo','jpmEw','Found:\x20','../../helpers/performance/constants','puppeteer-core/package.json','2552725CkUCjT','6pPYWAY','JEST_TEST_ORDER','../../helpers/performance/performance-tester','EhYFi','jBnys','../../helpers/accessibility-automation/helper','parallelsPerPlatform','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','startsWith','\x20test\x20files\x20to\x20run.','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','kTFol','npx','join','__isPlaywrightInstalled','VwTwB','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','YeSUx','\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','AozpM','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','path','../../helpers/testhub/testhubHandler','mjs','ntVvY','isUndefined',';\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','env','writeFileSync','mkHue','../../helpers/playwright-helper','failFast','Deleting\x20','vXSZF','isTestOrchestrationEnabled','BROWSERSTACK_CAPABILITIES','fmrhR','customTestRunnerTemplate.js','jest.config.','/internal/$1','USER_CONFIG_DETAILS_PATH','\x20:\x20','turboScaleUrl','isNotUndefined','\x0amodule.exports\x20=\x20config;','iFQka','Getting\x20your\x20jest\x20configs\x20from\x20','platform','log','testEnvironment','launchBuild','pYZRV','handleApp','BROWSERSTACK_TEST_OBSERVABILITY_YML','VvzYD','cTmeU','testSequencer','rubNn','uyPld','ulwOY','344wXaegy','jest-runner-','isRunning','stop','retries__','getPackageVersion','../../helpers/test-observability/utils','@jest/core','oSNuc','276786UeJYPb'];a14_0x20c0=function(){return _0x133e8a;};return a14_0x20c0();}
@@ -1 +1 @@
1
- const a15_0x28fabf=a15_0x26ae;(function(_0x3366c3,_0x5516ec){const _0x2113fb=a15_0x26ae,_0x4bde9=_0x3366c3();while(!![]){try{const _0x43b74a=-parseInt(_0x2113fb(0x128))/0x1+parseInt(_0x2113fb(0x130))/0x2*(parseInt(_0x2113fb(0x138))/0x3)+-parseInt(_0x2113fb(0x133))/0x4*(-parseInt(_0x2113fb(0x12e))/0x5)+parseInt(_0x2113fb(0x12d))/0x6*(parseInt(_0x2113fb(0x131))/0x7)+parseInt(_0x2113fb(0x139))/0x8+parseInt(_0x2113fb(0x136))/0x9*(-parseInt(_0x2113fb(0x135))/0xa)+-parseInt(_0x2113fb(0x12f))/0xb*(-parseInt(_0x2113fb(0x12b))/0xc);if(_0x43b74a===_0x5516ec)break;else _0x4bde9['push'](_0x4bde9['shift']());}catch(_0x5e60ec){_0x4bde9['push'](_0x4bde9['shift']());}}}(a15_0x4d22,0xc506d));const path=require('path'),{requireModule}=require(a15_0x28fabf(0x13a));let initJestAdapter;function a15_0x26ae(_0x53f391,_0x3b652d){const _0x4d22fd=a15_0x4d22();return a15_0x26ae=function(_0x26ae38,_0x168b51){_0x26ae38=_0x26ae38-0x122;let _0x1e2a9b=_0x4d22fd[_0x26ae38];return _0x1e2a9b;},a15_0x26ae(_0x53f391,_0x3b652d);}try{initJestAdapter=requireModule(a15_0x28fabf(0x137),a15_0x28fabf(0x12a));}catch{initJestAdapter=requireModule(a15_0x28fabf(0x124),a15_0x28fabf(0x12a));}function a15_0x4d22(){const _0x297af3=['customJestAdapterInit.js','6nkTidZ','5EkVAqh','12353wfJTWO','597462WLCHju','3972031EqhLDd','PFKXx','1872820YBTiJr','join','15064970mgYzmo','9CEGHoN','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','15gMrrcG','299944nqZrsd','../../../helpers/helper','function','requireInternalModule','default','exports','jest-circus/build/runner.js','initRequireModule','includes','jestAdapterInit','982095VRDeYS','nyYsc','jest-circus','7788aglGfj'];a15_0x4d22=function(){return _0x297af3;};return a15_0x4d22();}initJestAdapter=typeof initJestAdapter===a15_0x28fabf(0x13b)?initJestAdapter:initJestAdapter[a15_0x28fabf(0x122)];const FRAMEWORK_INITIALIZER=path[a15_0x28fabf(0x134)](__dirname,a15_0x28fabf(0x12c));module[a15_0x28fabf(0x123)]=(..._0x317948)=>{const _0x2f6c7a=a15_0x28fabf,_0x21f514={'vOTMo':_0x2f6c7a(0x127),'PFKXx':function(_0x22325a,_0x2d2c04){return _0x22325a===_0x2d2c04;},'nyYsc':function(_0x1ec059,..._0x96ed0e){return _0x1ec059(..._0x96ed0e);}};return _0x317948[0x3]['initRequireModule']=_0x317948[0x3][_0x2f6c7a(0x13c)],_0x317948[0x3][_0x2f6c7a(0x13c)]=(..._0x19bfa3)=>{const _0x3d51df=_0x2f6c7a;if(_0x19bfa3[0x0]&&_0x19bfa3[0x0][_0x3d51df(0x126)](_0x21f514['vOTMo'])&&_0x21f514[_0x3d51df(0x132)](_0x19bfa3[0x1],undefined))return _0x317948[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x317948[0x3][_0x3d51df(0x125)](..._0x19bfa3);},_0x21f514[_0x2f6c7a(0x129)](initJestAdapter,..._0x317948);};
1
+ const a15_0x1e8202=a15_0x1aa7;(function(_0x5945f1,_0x1479a7){const _0x2369b3=a15_0x1aa7,_0x4ba687=_0x5945f1();while(!![]){try{const _0x2e26ad=-parseInt(_0x2369b3(0x1d3))/0x1*(parseInt(_0x2369b3(0x1cd))/0x2)+-parseInt(_0x2369b3(0x1ce))/0x3*(-parseInt(_0x2369b3(0x1da))/0x4)+parseInt(_0x2369b3(0x1d5))/0x5*(-parseInt(_0x2369b3(0x1ca))/0x6)+-parseInt(_0x2369b3(0x1c4))/0x7+parseInt(_0x2369b3(0x1dc))/0x8*(-parseInt(_0x2369b3(0x1cb))/0x9)+parseInt(_0x2369b3(0x1c9))/0xa*(parseInt(_0x2369b3(0x1c5))/0xb)+-parseInt(_0x2369b3(0x1d7))/0xc*(-parseInt(_0x2369b3(0x1d0))/0xd);if(_0x2e26ad===_0x1479a7)break;else _0x4ba687['push'](_0x4ba687['shift']());}catch(_0x1e7bec){_0x4ba687['push'](_0x4ba687['shift']());}}}(a15_0x4b25,0xb1312));function a15_0x1aa7(_0x15c2c9,_0x22b59b){const _0x4b2550=a15_0x4b25();return a15_0x1aa7=function(_0x1aa7cf,_0x3c0246){_0x1aa7cf=_0x1aa7cf-0x1c3;let _0x391671=_0x4b2550[_0x1aa7cf];return _0x391671;},a15_0x1aa7(_0x15c2c9,_0x22b59b);}const path=require('path'),{requireModule}=require(a15_0x1e8202(0x1de));let initJestAdapter;try{initJestAdapter=requireModule(a15_0x1e8202(0x1d4),a15_0x1e8202(0x1d6));}catch{initJestAdapter=requireModule(a15_0x1e8202(0x1c6),a15_0x1e8202(0x1d6));}function a15_0x4b25(){const _0x3015c3=['join','7863030LTCMGi','5401CWRqgH','jest-circus/build/runner.js','YBBJz','includes','27750kYwsAL','157986qmwbvZ','21159VseYmd','exports','626VstcSI','8286RzjOKk','function','44447455LQItcU','LgHpc','initRequireModule','1168HTpnxf','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','260XYIcfx','jest-circus','12VEISOL','default','customJestAdapterInit.js','356pYdXdB','jestAdapterInit','4912DkAtdU','requireInternalModule','../../../helpers/helper'];a15_0x4b25=function(){return _0x3015c3;};return a15_0x4b25();}initJestAdapter=typeof initJestAdapter===a15_0x1e8202(0x1cf)?initJestAdapter:initJestAdapter[a15_0x1e8202(0x1d8)];const FRAMEWORK_INITIALIZER=path[a15_0x1e8202(0x1c3)](__dirname,a15_0x1e8202(0x1d9));module[a15_0x1e8202(0x1cc)]=(..._0x48912e)=>{const _0xe6b8fc=a15_0x1e8202,_0x4b1001={'qfVlb':_0xe6b8fc(0x1db),'YBBJz':function(_0x1cd744,_0x60d77b){return _0x1cd744===_0x60d77b;},'LgHpc':function(_0x5597bb,..._0x54ef02){return _0x5597bb(..._0x54ef02);}};return _0x48912e[0x3]['initRequireModule']=_0x48912e[0x3]['requireInternalModule'],_0x48912e[0x3][_0xe6b8fc(0x1dd)]=(..._0x24946f)=>{const _0xc0483d=_0xe6b8fc;if(_0x24946f[0x0]&&_0x24946f[0x0][_0xc0483d(0x1c8)](_0x4b1001['qfVlb'])&&_0x4b1001[_0xc0483d(0x1c7)](_0x24946f[0x1],undefined))return _0x48912e[0x3][_0xc0483d(0x1d2)](FRAMEWORK_INITIALIZER);return _0x48912e[0x3][_0xc0483d(0x1d2)](..._0x24946f);},_0x4b1001[_0xe6b8fc(0x1d1)](initJestAdapter,..._0x48912e);};
@@ -1 +1 @@
1
- const a16_0xdbb286=a16_0x53fb;(function(_0x2a8326,_0x2a7b55){const _0x174f3d=a16_0x53fb,_0x9c1a2=_0x2a8326();while(!![]){try{const _0x2ffaf2=-parseInt(_0x174f3d(0x94))/0x1*(parseInt(_0x174f3d(0xae))/0x2)+parseInt(_0x174f3d(0x99))/0x3*(parseInt(_0x174f3d(0xc8))/0x4)+parseInt(_0x174f3d(0xc0))/0x5*(parseInt(_0x174f3d(0xb4))/0x6)+parseInt(_0x174f3d(0xc5))/0x7+-parseInt(_0x174f3d(0xe8))/0x8+parseInt(_0x174f3d(0x9c))/0x9*(-parseInt(_0x174f3d(0xd1))/0xa)+parseInt(_0x174f3d(0xa0))/0xb;if(_0x2ffaf2===_0x2a7b55)break;else _0x9c1a2['push'](_0x9c1a2['shift']());}catch(_0x335e5c){_0x9c1a2['push'](_0x9c1a2['shift']());}}}(a16_0x5f5a,0xc6801));const helper=require(a16_0xdbb286(0x8f)),constants=require(a16_0xdbb286(0x9f)),{isTestObservabilitySession}=require(a16_0xdbb286(0x92)),RequestQueueHandler=require(a16_0xdbb286(0xf3)),ObservabilityReporter=require(a16_0xdbb286(0xf0)),testhubUtils=require(a16_0xdbb286(0xd7)),logger=require(a16_0xdbb286(0xb7))[a16_0xdbb286(0xdb)],getTestEnvironment=((()=>{const _0x2d3c5e=a16_0xdbb286,_0x196727={};_0x196727[_0x2d3c5e(0xb1)]=_0x2d3c5e(0xa2),_0x196727[_0x2d3c5e(0xd3)]=_0x2d3c5e(0xaa);const _0x5945d4=_0x196727;try{const _0x5c589f=helper['requireModule'](_0x5945d4['VhROd']);if(_0x5c589f['resolveTestEnvironment'])return _0x5c589f['resolveTestEnvironment'];const _0x2f81fb=helper[_0x2d3c5e(0xbf)](_0x5945d4['HZLMP']);if(_0x2f81fb['getTestEnvironment'])return _0x2f81fb[_0x2d3c5e(0x9e)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x2fd2fc=a16_0xdbb286,_0x1dd2cc={'mQbEo':function(_0x23a5e0,_0x20d2d1){return _0x23a5e0(_0x20d2d1);},'QmoSC':_0x2fd2fc(0x95),'qpjhM':_0x2fd2fc(0xe7)},_0x4c4d7c=_0x1dd2cc['mQbEo'](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x2fd2fc(0xdf)]['BSTACK_JEST_TEST_ENV']||_0x1dd2cc[_0x2fd2fc(0xe2)]});if(!_0x4c4d7c)return _0x1dd2cc['mQbEo'](_interopRequireDefault,helper[_0x2fd2fc(0xbf)](_0x1dd2cc[_0x2fd2fc(0x97)]));return _0x1dd2cc[_0x2fd2fc(0x8b)](_interopRequireDefault,helper[_0x2fd2fc(0xbf)](_0x4c4d7c));})()),_seleniumWebdriver2=((()=>{const _0x5bb62e=a16_0xdbb286,_0x236400={'YdiAG':function(_0x213dbc,_0x19ed69){return _0x213dbc(_0x19ed69);}};try{const _0x517e06=helper[_0x5bb62e(0xd6)]();return helper[_0x5bb62e(0xce)](),_0x236400[_0x5bb62e(0x93)](_interopRequireDefault,_0x517e06);}catch{return null;}})());function _interopRequireDefault(_0x565897){const _0x475d41=a16_0xdbb286;return _0x565897&&_0x565897[_0x475d41(0xfb)]?_0x565897:{'default':_0x565897};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default']['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a16_0xdbb286(0xc7)]{constructor(_0x2650a1){const _0x3fccac=a16_0xdbb286,_0x4e7b6a={'EFlYv':_0x3fccac(0xe5),'YtKDU':function(_0x4492e6,_0x562238){return _0x4492e6+_0x562238;},'YyRcQ':_0x3fccac(0xcb),'PuMAO':function(_0x237c8a,_0x1b9522){return _0x237c8a(_0x1b9522);},'LfjfD':'../../../helpers/test-orchestration/failfastManager','dJJUI':_0x3fccac(0xb3),'HvnrQ':'testEnvironmentOptions','BuRmB':_0x3fccac(0x88),'FgCkS':_0x3fccac(0x89),'UvmKu':_0x3fccac(0xcc),'TOvsb':'../../../index','wJRcS':'percy'};super(_0x2650a1),this[_0x3fccac(0xb8)][_0x3fccac(0xb5)]=0x0,this[_0x3fccac(0xe4)]={};!_0x2650a1[_0x3fccac(0xc6)]&&(_0x2650a1[_0x3fccac(0xc6)]={});if(helper[_0x3fccac(0xdd)]()){_0x2650a1[_0x3fccac(0xc6)]=_0x2650a1[_0x3fccac(0xe9)]?_0x2650a1['projectConfig']['testEnvironmentOptions']:_0x2650a1[_0x3fccac(0xc6)];_seleniumWebdriver2&&(this[_0x3fccac(0xcd)]=new _seleniumWebdriver2[(_0x3fccac(0xc7))][(_0x3fccac(0xc2))]());this[_0x3fccac(0xb0)]=_0x2650a1[_0x3fccac(0xe9)]?_0x2650a1['projectConfig'][_0x3fccac(0xb0)]:_0x2650a1[_0x3fccac(0xb0)],this[_0x3fccac(0xb8)]['__timeout']=_0x4e7b6a['YtKDU'](_0x2650a1[_0x3fccac(0xc6)][_0x3fccac(0xef)]||0x1388,constants['BSTACK_DELTA']),this[_0x3fccac(0xf8)]=_0x2650a1[_0x3fccac(0xc6)][_0x3fccac(0xa1)];if(this[_0x3fccac(0xf8)]){const _0x2a62df=this[_0x3fccac(0xb0)][_0x4e7b6a[_0x3fccac(0xbc)]]?.[_0x3fccac(0xde)]||'',_0x4f8036=this[_0x3fccac(0xb0)][_0x4e7b6a['YyRcQ']]?.[_0x3fccac(0xda)]||'';this[_0x3fccac(0xa1)]=new(_0x4e7b6a[_0x3fccac(0xe0)](require,_0x4e7b6a['LfjfD']))(this['failFastOptions'],_0x2a62df,_0x4f8036),this[_0x3fccac(0xb8)][_0x3fccac(0x8a)]=![];}helper['isNotUndefined'](_0x2650a1[_0x3fccac(0xc6)]['retries__'])&&(this[_0x3fccac(0xb8)]['__jestRetries']=_0x2650a1[_0x3fccac(0xc6)][_0x3fccac(0xbb)]);}if(testhubUtils[_0x3fccac(0xec)]()){const _0x5a70fa=new ObservabilityReporter();_0x5a70fa[_0x3fccac(0xf6)]();}this[_0x3fccac(0xb8)][_0x3fccac(0xee)]={},this['configuration']=_0x2650a1[_0x3fccac(0xc6)],this['configuration']['framework']=constants['FRAMEWORKS']['JEST'],this[_0x3fccac(0xb8)][_0x3fccac(0xca)]=(_0x2650a1['projectConfig']?_0x2650a1['projectConfig'][_0x3fccac(0xca)]:_0x2650a1[_0x3fccac(0xca)])||0x0,this[_0x3fccac(0xb8)]['__platformCaps']=this[_0x3fccac(0xe4)]&&this[_0x3fccac(0xe4)][_0x3fccac(0xf7)]&&Array[_0x3fccac(0x9d)](this[_0x3fccac(0xe4)]['platformCaps'])&&this['configuration']['platformCaps'][this['global']['browserstackPlatformIndex']]||{};const _0x3a8d12=this[_0x3fccac(0xb8)][_0x3fccac(0xca)],_0x29d180={...this['configuration'],'capability':this[_0x3fccac(0xe4)][_0x3fccac(0xba)]&&Array[_0x3fccac(0x9d)](this[_0x3fccac(0xe4)][_0x3fccac(0xba)])&&this[_0x3fccac(0xe4)][_0x3fccac(0xba)][_0x3a8d12]||{},'platformCaps':this[_0x3fccac(0xe4)][_0x3fccac(0xf7)]&&Array['isArray'](this[_0x3fccac(0xe4)][_0x3fccac(0xf7)])&&this[_0x3fccac(0xe4)][_0x3fccac(0xf7)][_0x3a8d12]||{}};delete _0x29d180[_0x3fccac(0xba)],this['global'][_0x3fccac(0xe1)]=_0x29d180;if(_seleniumWebdriver2){const _0x36200d=_0x4e7b6a[_0x3fccac(0xbe)][_0x3fccac(0xac)]('|');let _0x94437c=0x0;while(!![]){switch(_0x36200d[_0x94437c++]){case'0':this[_0x3fccac(0xb8)][_0x3fccac(0x9a)]=async()=>{const _0x4fe0cb=_0x3fccac;await this[_0x4fe0cb(0xb8)][_0x4fe0cb(0xc1)][_0x4fe0cb(0xe5)](_0x4e7b6a[_0x4fe0cb(0xf1)]);};continue;case'1':this[_0x3fccac(0xb8)][_0x3fccac(0xf5)]=[];continue;case'2':this[_0x3fccac(0xb8)][_0x3fccac(0x89)]=helper['nestedKeyValue'](_0x2650a1,[_0x4e7b6a[_0x3fccac(0x8e)],_0x4e7b6a[_0x3fccac(0xfa)],_0x4e7b6a[_0x3fccac(0xf4)]]);continue;case'3':this['global'][_0x3fccac(0xcc)]=helper[_0x3fccac(0x98)](_0x2650a1,[_0x4e7b6a[_0x3fccac(0x8e)],_0x4e7b6a[_0x3fccac(0xfa)],_0x4e7b6a[_0x3fccac(0xeb)]]);continue;case'4':helper['isTrue'](this[_0x3fccac(0xe4)]['skipSessionName'])?this[_0x3fccac(0xb8)][_0x3fccac(0xab)]=!![]:this[_0x3fccac(0xb8)]['sessionNameProvided']=![];continue;case'5':this[_0x3fccac(0xb8)]['__webdriver']=_0x4e7b6a[_0x3fccac(0xe0)](require,_0x4e7b6a[_0x3fccac(0xd0)])[_0x3fccac(0xb9)]({...this[_0x3fccac(0xe4)],'capability':this[_0x3fccac(0xb0)]||{}},this,testhubUtils[_0x3fccac(0xec)]());continue;case'6':this[_0x3fccac(0xb8)][_0x3fccac(0xdc)]=helper[_0x3fccac(0x98)](_0x2650a1,[_0x4e7b6a[_0x3fccac(0x8e)],_0x4e7b6a[_0x3fccac(0xfa)],_0x4e7b6a['wJRcS']]);continue;case'7':this[_0x3fccac(0xb8)][_0x3fccac(0xe3)]=helper[_0x3fccac(0xe6)](this['configuration'][_0x3fccac(0xfc)]);continue;}break;}}}async['teardown'](){const _0x3d2ceb=a16_0xdbb286;_seleniumWebdriver2&&(await helper[_0x3d2ceb(0xa9)](this[_0x3d2ceb(0xb8)][_0x3d2ceb(0xf2)]),this['global'][_0x3d2ceb(0xa6)]['Builder']=originalBuilder),await RequestQueueHandler[_0x3d2ceb(0x96)]()[_0x3d2ceb(0xd4)]();}async['setup'](){}async[a16_0xdbb286(0xa5)](_0x2ab6fe,_0x593ab9){const _0x2b6ab5=a16_0xdbb286,_0x43886c={};_0x43886c[_0x2b6ab5(0xa7)]=function(_0x163067,_0x5b5983){return _0x163067===_0x5b5983;},_0x43886c[_0x2b6ab5(0xc9)]=_0x2b6ab5(0x8c),_0x43886c[_0x2b6ab5(0xd9)]=_0x2b6ab5(0xcf),_0x43886c['rcRes']='test_done',_0x43886c['izdBQ']=_0x2b6ab5(0x90),_0x43886c[_0x2b6ab5(0xa4)]=function(_0xbeb948,_0x559ff8){return _0xbeb948===_0x559ff8;},_0x43886c[_0x2b6ab5(0xd8)]=_0x2b6ab5(0xf9),_0x43886c['LpRbo']=function(_0x599458,_0x5865a6){return _0x599458===_0x5865a6;},_0x43886c[_0x2b6ab5(0xa8)]=_0x2b6ab5(0x91);const _0x230a64=_0x43886c,{name:_0x572bd6}=_0x2ab6fe;if(_0x230a64[_0x2b6ab5(0xa7)](_0x572bd6,_0x230a64[_0x2b6ab5(0xc9)])){this[_0x2b6ab5(0xb8)][_0x2b6ab5(0xaf)]=_0x2ab6fe[_0x2b6ab5(0xad)];if(_0x230a64[_0x2b6ab5(0xa7)](this[_0x2b6ab5(0xb8)]['failFastActive'],!![])){const _0xdf6cca=_0x2ab6fe[_0x2b6ab5(0xad)][_0x2b6ab5(0xbd)];logger[_0x2b6ab5(0xc3)](_0x2b6ab5(0xd5)+_0xdf6cca),_0x2ab6fe[_0x2b6ab5(0xad)][_0x2b6ab5(0x8d)]=_0x230a64[_0x2b6ab5(0xd9)];}}if(this[_0x2b6ab5(0xa1)]&&_0x230a64['JnQuv'](_0x572bd6,_0x230a64['rcRes']))try{const _0x13df41=_0x2ab6fe['test'][_0x2b6ab5(0xc4)][_0x2b6ab5(0xfd)](_0x230a64[_0x2b6ab5(0xb6)]),_0x466d7d=_0x2ab6fe[_0x2b6ab5(0xad)][_0x2b6ab5(0xa3)];await this[_0x2b6ab5(0xa1)][_0x2b6ab5(0xed)](_0x13df41,_0x466d7d);const _0x30fac7=await this['failFast'][_0x2b6ab5(0xea)]();_0x230a64[_0x2b6ab5(0xa4)](this[_0x2b6ab5(0xb8)]['failFastActive'],![])&&_0x230a64['tIJzk'](_0x30fac7,!![])&&(this[_0x2b6ab5(0xb8)][_0x2b6ab5(0x8a)]=!![]);}catch(_0x109a2b){logger[_0x2b6ab5(0xd2)](_0x230a64[_0x2b6ab5(0xd8)],_0x109a2b['message']);}_0x230a64[_0x2b6ab5(0x9b)](_0x572bd6,_0x230a64[_0x2b6ab5(0xa8)])&&(this['failFast']&&this['failFast'][_0x2b6ab5(0x9a)]());}}function a16_0x53fb(_0x4b8aeb,_0xef1178){const _0x5f5ad0=a16_0x5f5a();return a16_0x53fb=function(_0x53fb7e,_0x448cab){_0x53fb7e=_0x53fb7e-0x88;let _0x1d29f1=_0x5f5ad0[_0x53fb7e];return _0x1d29f1;},a16_0x53fb(_0x4b8aeb,_0xef1178);}function a16_0x5f5a(){const _0x103aa6=['isTrue','jest-environment-node','9807576NOenhG','projectConfig','shouldFailFast','UvmKu','shouldProcessEventForTesthub','onTestDone','browserStackGlobals','timeout__','../test-observability/obsReporter','EFlYv','__driversArray','../../../helpers/test-observability/requestQueueHandler','FgCkS','__drivers','registerListeners','platformCaps','failFastOptions','Error\x20in\x20fail-fast\x20test_done\x20handler:','BuRmB','__esModule','skipSessionStatus','join','browserStackPercyOptions','percyCaptureMode','failFastActive','mQbEo','test_start','mode','HvnrQ','../../../helpers/helper','\x20>\x20','teardown','../../../helpers/test-observability/utils','YdiAG','13693WIEOEu','node','getInstance','qpjhM','nestedKeyValue','21usfDJO','cleanup','LpRbo','153WTkqqg','isArray','getTestEnvironment','../../utils/constants','6579551BzJXED','failFast','jest-resolve','errors','tIJzk','handleTestEvent','__webdriver','JnQuv','XGyVw','cleanupDrivers','jest-config','sessionNameProvided','split','test','230xaWSUy','testContext','capability','VhROd','exports','1|5|3|6|2|4|7|0','1933332rzAuij','__timeout','izdBQ','../../../helpers/logger','global','browserstackAgentV2','capabilities','retries__','YyRcQ','name','dJJUI','requireModule','10kekwcx','driver','Builder','info','testPath','9773925bHSCXP','testEnvironmentOptions','default','648812lhzjDI','WGadD','browserstackPlatformIndex','bstack:options','browserstackPercyBestPlatform','builder','modifyCommand','skip','TOvsb','94460lNRJCG','debug','HZLMP','shutdown','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','requireSeleniumWebdriver','../../../helpers/testhub/utils','cLYdN','zwiYd','projectName','winstonLogger','percy','isBrowserstackInfra','buildName','env','PuMAO','jestConfig','QmoSC','__skipSessionStatus','configuration','quit'];a16_0x5f5a=function(){return _0x103aa6;};return a16_0x5f5a();}module[a16_0xdbb286(0xb2)]=CustomEnvironment;
1
+ function a16_0x4625(_0x39249f,_0x1185d0){const _0x52f1e7=a16_0x52f1();return a16_0x4625=function(_0x462517,_0x2d4e4b){_0x462517=_0x462517-0x152;let _0x55ff20=_0x52f1e7[_0x462517];return _0x55ff20;},a16_0x4625(_0x39249f,_0x1185d0);}const a16_0x1699d3=a16_0x4625;(function(_0x474068,_0x1bac7a){const _0x1e3a6d=a16_0x4625,_0x33d9a2=_0x474068();while(!![]){try{const _0x1afea6=parseInt(_0x1e3a6d(0x1aa))/0x1+parseInt(_0x1e3a6d(0x1a2))/0x2+parseInt(_0x1e3a6d(0x1bc))/0x3*(parseInt(_0x1e3a6d(0x1c3))/0x4)+-parseInt(_0x1e3a6d(0x17e))/0x5+parseInt(_0x1e3a6d(0x16b))/0x6*(-parseInt(_0x1e3a6d(0x160))/0x7)+parseInt(_0x1e3a6d(0x198))/0x8*(parseInt(_0x1e3a6d(0x15d))/0x9)+-parseInt(_0x1e3a6d(0x17b))/0xa;if(_0x1afea6===_0x1bac7a)break;else _0x33d9a2['push'](_0x33d9a2['shift']());}catch(_0x3f66be){_0x33d9a2['push'](_0x33d9a2['shift']());}}}(a16_0x52f1,0x67fac));const helper=require(a16_0x1699d3(0x17d)),constants=require(a16_0x1699d3(0x196)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require(a16_0x1699d3(0x1b0)),testhubUtils=require(a16_0x1699d3(0x170)),logger=require(a16_0x1699d3(0x176))[a16_0x1699d3(0x15f)],getTestEnvironment=((()=>{const _0x38fa6a=a16_0x1699d3,_0x3a1091={};_0x3a1091[_0x38fa6a(0x193)]='jest-resolve',_0x3a1091['IXcwu']=_0x38fa6a(0x18d);const _0x3aef97=_0x3a1091;try{const _0x5e91c0=helper[_0x38fa6a(0x18c)](_0x3aef97['PZwOV']);if(_0x5e91c0[_0x38fa6a(0x15a)])return _0x5e91c0[_0x38fa6a(0x15a)];const _0x108d8a=helper[_0x38fa6a(0x18c)](_0x3aef97['IXcwu']);if(_0x108d8a['getTestEnvironment'])return _0x108d8a[_0x38fa6a(0x1a7)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x2b61f4=a16_0x1699d3,_0x8d802={'Rzdzd':function(_0x12821b,_0x54d089){return _0x12821b(_0x54d089);},'cLUEO':_0x2b61f4(0x188),'FRTPf':_0x2b61f4(0x183),'zMdhU':function(_0x5988d7,_0x34afdb){return _0x5988d7(_0x34afdb);}},_0x28d4a5=_0x8d802[_0x2b61f4(0x1b5)](getTestEnvironment,{'rootDir':process[_0x2b61f4(0x171)](),'testEnvironment':process[_0x2b61f4(0x189)][_0x2b61f4(0x1ba)]||_0x8d802[_0x2b61f4(0x17f)]});if(!_0x28d4a5)return _0x8d802[_0x2b61f4(0x1b5)](_interopRequireDefault,helper['requireModule'](_0x8d802['FRTPf']));return _0x8d802[_0x2b61f4(0x159)](_interopRequireDefault,helper['requireModule'](_0x28d4a5));})()),_seleniumWebdriver2=((()=>{const _0x364c21=a16_0x1699d3,_0x1a0f2d={'wDoue':function(_0x55403,_0x44e533){return _0x55403(_0x44e533);}};try{const _0x4d91a4=helper[_0x364c21(0x1b8)]();return helper[_0x364c21(0x178)](),_0x1a0f2d[_0x364c21(0x19c)](_interopRequireDefault,_0x4d91a4);}catch{return null;}})());function _interopRequireDefault(_0xa1c8a1){return _0xa1c8a1&&_0xa1c8a1['__esModule']?_0xa1c8a1:{'default':_0xa1c8a1};}function a16_0x52f1(){const _0xa0c483=['capability','setup','CrHec','sessionNameProvided','PZwOV','getInstance','name','../../utils/constants','obvmz','228768ICdSyE','buildName','onTestDone','global','wDoue','percyCaptureMode','teardown','WUbDJ','bstack:options','__webdriver','977902TzlkmL','fSKWf','errors','iVOGg','split','getTestEnvironment','1|7|2|5|6|0|4|3','JEST','754320qkVELU','testPath','skipSessionStatus','capabilities','timeout__','test','../test-observability/obsReporter','__driversArray','\x20>\x20','browserstackAgentV2','test_start','Rzdzd','builder','nestedKeyValue','requireSeleniumWebdriver','platformCaps','BSTACK_JEST_TEST_ENV','cleanup','1497wFHfbb','failFastActive','mTuRV','ZgnYV','vpdVR','inARW','failFast','5956DPTStj','default','browserstackPercyBestPlatform','isTrue','XSRlD','iGVme','Gxtzb','JTNay','Error\x20in\x20fail-fast\x20test_done\x20handler:','configuration','Builder','zMdhU','resolveTestEnvironment','BSTACK_DELTA','info','45bjWjLt','meQZi','winstonLogger','98MmlwdK','ipcCu','test_done','browserStackGlobals','../../../helpers/test-orchestration/failfastManager','exports','handleTestEvent','fdoWQ','projectName','__timeout','JiqgY','119052cjOiRQ','percy','message','skip','isArray','../../../helpers/testhub/utils','cwd','isNotUndefined','retries__','yFYkH','TrGfN','../../../helpers/logger','cleanupDrivers','modifyCommand','testContext','__jestRetries','8978350mROfQW','framework','../../../helpers/helper','2638695eBpxPL','cLUEO','__drivers','XJEbP','driver','jest-environment-node','isBrowserstackInfra','projectConfig','registerListeners','skipSessionName','node','env','failFastOptions','testEnvironmentOptions','requireModule','jest-config','browserstackPlatformIndex'];a16_0x52f1=function(){return _0xa0c483;};return a16_0x52f1();}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x1699d3(0x1c4)]['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x1699d3(0x1c4)]{constructor(_0x2186bb){const _0x387f14=a16_0x1699d3,_0x550bc5={'PDgbd':'quit','fSKWf':function(_0xae7482,_0x543a3a){return _0xae7482+_0x543a3a;},'Gxtzb':_0x387f14(0x1a0),'mTuRV':function(_0x36c8d6,_0x4e0917){return _0x36c8d6(_0x4e0917);},'vpdVR':_0x387f14(0x164),'XSRlD':_0x387f14(0x1a8),'WUbDJ':_0x387f14(0x18b),'ipcCu':'browserStackPercyOptions','PGfjw':_0x387f14(0x1c5),'WFOkM':_0x387f14(0x16c),'JTNay':_0x387f14(0x19d),'iGVme':function(_0x2a71b5,_0xba5c88){return _0x2a71b5(_0xba5c88);},'ZCjdf':'../../../index'};super(_0x2186bb),this[_0x387f14(0x19b)]['__timeout']=0x0,this[_0x387f14(0x157)]={};!_0x2186bb['testEnvironmentOptions']&&(_0x2186bb[_0x387f14(0x18b)]={});if(helper[_0x387f14(0x184)]()){_0x2186bb['testEnvironmentOptions']=_0x2186bb[_0x387f14(0x185)]?_0x2186bb['projectConfig']['testEnvironmentOptions']:_0x2186bb[_0x387f14(0x18b)];_seleniumWebdriver2&&(this[_0x387f14(0x1b6)]=new _seleniumWebdriver2[(_0x387f14(0x1c4))][(_0x387f14(0x158))]());this['capability']=_0x2186bb[_0x387f14(0x185)]?_0x2186bb[_0x387f14(0x185)][_0x387f14(0x18f)]:_0x2186bb['capability'],this[_0x387f14(0x19b)][_0x387f14(0x169)]=_0x550bc5[_0x387f14(0x1a3)](_0x2186bb[_0x387f14(0x18b)][_0x387f14(0x1ae)]||0x1388,constants[_0x387f14(0x15b)]),this['failFastOptions']=_0x2186bb[_0x387f14(0x18b)][_0x387f14(0x1c2)];if(this[_0x387f14(0x18a)]){const _0x6d32ba=this[_0x387f14(0x18f)][_0x550bc5[_0x387f14(0x154)]]?.[_0x387f14(0x199)]||'',_0x1fd2a4=this[_0x387f14(0x18f)][_0x550bc5[_0x387f14(0x154)]]?.[_0x387f14(0x168)]||'';this['failFast']=new(_0x550bc5[_0x387f14(0x1be)](require,_0x550bc5[_0x387f14(0x1c0)]))(this[_0x387f14(0x18a)],_0x6d32ba,_0x1fd2a4),this[_0x387f14(0x19b)][_0x387f14(0x1bd)]=![];}helper[_0x387f14(0x172)](_0x2186bb[_0x387f14(0x18b)][_0x387f14(0x173)])&&(this[_0x387f14(0x19b)][_0x387f14(0x17a)]=_0x2186bb[_0x387f14(0x18b)]['retries__']);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x161c71=new ObservabilityReporter();_0x161c71[_0x387f14(0x186)]();}this[_0x387f14(0x19b)][_0x387f14(0x163)]={},this[_0x387f14(0x157)]=_0x2186bb[_0x387f14(0x18b)],this[_0x387f14(0x157)][_0x387f14(0x17c)]=constants['FRAMEWORKS'][_0x387f14(0x1a9)],this[_0x387f14(0x19b)][_0x387f14(0x18e)]=(_0x2186bb[_0x387f14(0x185)]?_0x2186bb['projectConfig'][_0x387f14(0x18e)]:_0x2186bb[_0x387f14(0x18e)])||0x0,this[_0x387f14(0x19b)]['__platformCaps']=this['configuration']&&this[_0x387f14(0x157)][_0x387f14(0x1b9)]&&Array[_0x387f14(0x16f)](this['configuration'][_0x387f14(0x1b9)])&&this[_0x387f14(0x157)][_0x387f14(0x1b9)][this[_0x387f14(0x19b)][_0x387f14(0x18e)]]||{};const _0x496ada=this[_0x387f14(0x19b)][_0x387f14(0x18e)],_0x166c9e={...this[_0x387f14(0x157)],'capability':this[_0x387f14(0x157)][_0x387f14(0x1ad)]&&Array[_0x387f14(0x16f)](this[_0x387f14(0x157)]['capabilities'])&&this['configuration'][_0x387f14(0x1ad)][_0x496ada]||{},'platformCaps':this['configuration'][_0x387f14(0x1b9)]&&Array[_0x387f14(0x16f)](this[_0x387f14(0x157)]['platformCaps'])&&this[_0x387f14(0x157)][_0x387f14(0x1b9)][_0x496ada]||{}};delete _0x166c9e[_0x387f14(0x1ad)],this[_0x387f14(0x19b)]['jestConfig']=_0x166c9e;if(_seleniumWebdriver2){const _0x58f6b3=_0x550bc5[_0x387f14(0x152)][_0x387f14(0x1a6)]('|');let _0x1db492=0x0;while(!![]){switch(_0x58f6b3[_0x1db492++]){case'0':helper[_0x387f14(0x1c6)](this[_0x387f14(0x157)][_0x387f14(0x187)])?this['global']['sessionNameProvided']=!![]:this[_0x387f14(0x19b)][_0x387f14(0x192)]=![];continue;case'1':this['global'][_0x387f14(0x180)]=[];continue;case'2':this[_0x387f14(0x19b)][_0x387f14(0x1c5)]=helper[_0x387f14(0x1b7)](_0x2186bb,[_0x550bc5[_0x387f14(0x19f)],_0x550bc5[_0x387f14(0x161)],_0x550bc5['PGfjw']]);continue;case'3':this['global'][_0x387f14(0x1bb)]=async()=>{const _0x3f74df=_0x387f14;await this[_0x3f74df(0x19b)][_0x3f74df(0x182)]['quit'](_0x550bc5['PDgbd']);};continue;case'4':this[_0x387f14(0x19b)]['__skipSessionStatus']=helper[_0x387f14(0x1c6)](this[_0x387f14(0x157)][_0x387f14(0x1ac)]);continue;case'5':this['global']['percy']=helper['nestedKeyValue'](_0x2186bb,[_0x550bc5[_0x387f14(0x19f)],_0x550bc5['ipcCu'],_0x550bc5['WFOkM']]);continue;case'6':this['global'][_0x387f14(0x19d)]=helper[_0x387f14(0x1b7)](_0x2186bb,[_0x550bc5[_0x387f14(0x19f)],_0x550bc5[_0x387f14(0x161)],_0x550bc5[_0x387f14(0x155)]]);continue;case'7':this[_0x387f14(0x19b)][_0x387f14(0x1a1)]=_0x550bc5[_0x387f14(0x153)](require,_0x550bc5['ZCjdf'])[_0x387f14(0x1b3)]({...this[_0x387f14(0x157)],'capability':this[_0x387f14(0x18f)]||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;}break;}}}async['teardown'](){const _0x1856b7=a16_0x1699d3;_seleniumWebdriver2&&(await helper[_0x1856b7(0x177)](this[_0x1856b7(0x19b)][_0x1856b7(0x1b1)]),this[_0x1856b7(0x19b)]['__webdriver'][_0x1856b7(0x158)]=originalBuilder),await RequestQueueHandler[_0x1856b7(0x194)]()['shutdown']();}async[a16_0x1699d3(0x190)](){}async[a16_0x1699d3(0x166)](_0x123217,_0x599f34){const _0x4bacff=a16_0x1699d3,_0x43c7e0={};_0x43c7e0[_0x4bacff(0x15e)]=function(_0x4a26d9,_0x18421){return _0x4a26d9===_0x18421;},_0x43c7e0['TrGfN']=_0x4bacff(0x1b4),_0x43c7e0[_0x4bacff(0x191)]=function(_0x303307,_0x202931){return _0x303307===_0x202931;},_0x43c7e0[_0x4bacff(0x1c1)]=_0x4bacff(0x16e),_0x43c7e0['obvmz']=_0x4bacff(0x162),_0x43c7e0['ZgnYV']=_0x4bacff(0x1b2),_0x43c7e0[_0x4bacff(0x181)]=function(_0x3e11c5,_0x541594){return _0x3e11c5===_0x541594;},_0x43c7e0['fdoWQ']=function(_0x6cdf5b,_0x4a3379){return _0x6cdf5b===_0x4a3379;},_0x43c7e0['yFYkH']=_0x4bacff(0x156),_0x43c7e0[_0x4bacff(0x16a)]=function(_0x385fa5,_0x337aac){return _0x385fa5===_0x337aac;},_0x43c7e0[_0x4bacff(0x1a5)]=_0x4bacff(0x19e);const _0xea286d=_0x43c7e0,{name:_0x39dbfe}=_0x123217;if(_0xea286d[_0x4bacff(0x15e)](_0x39dbfe,_0xea286d[_0x4bacff(0x175)])){this[_0x4bacff(0x19b)][_0x4bacff(0x179)]=_0x123217['test'];if(_0xea286d[_0x4bacff(0x191)](this[_0x4bacff(0x19b)][_0x4bacff(0x1bd)],!![])){const _0x449997=_0x123217[_0x4bacff(0x1af)][_0x4bacff(0x195)];logger[_0x4bacff(0x15c)]('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x449997),_0x123217[_0x4bacff(0x1af)]['mode']=_0xea286d['inARW'];}}if(this[_0x4bacff(0x1c2)]&&_0xea286d[_0x4bacff(0x191)](_0x39dbfe,_0xea286d[_0x4bacff(0x197)]))try{const _0x38588a=_0x123217[_0x4bacff(0x1af)][_0x4bacff(0x1ab)]['join'](_0xea286d[_0x4bacff(0x1bf)]),_0x626bfa=_0x123217['test'][_0x4bacff(0x1a4)];await this[_0x4bacff(0x1c2)][_0x4bacff(0x19a)](_0x38588a,_0x626bfa);const _0x30c207=await this[_0x4bacff(0x1c2)]['shouldFailFast']();_0xea286d[_0x4bacff(0x181)](this[_0x4bacff(0x19b)][_0x4bacff(0x1bd)],![])&&_0xea286d[_0x4bacff(0x167)](_0x30c207,!![])&&(this[_0x4bacff(0x19b)][_0x4bacff(0x1bd)]=!![]);}catch(_0x550f4b){logger['debug'](_0xea286d[_0x4bacff(0x174)],_0x550f4b[_0x4bacff(0x16d)]);}_0xea286d[_0x4bacff(0x16a)](_0x39dbfe,_0xea286d[_0x4bacff(0x1a5)])&&(this[_0x4bacff(0x1c2)]&&this[_0x4bacff(0x1c2)]['cleanup']());}}module[a16_0x1699d3(0x165)]=CustomEnvironment;
@@ -1 +1 @@
1
- const a17_0x5ed42d=a17_0x17a7;(function(_0x18a727,_0x47eff5){const _0x516b9f=a17_0x17a7,_0x5e26ac=_0x18a727();while(!![]){try{const _0x4b2c0d=-parseInt(_0x516b9f(0x138))/0x1+-parseInt(_0x516b9f(0xc5))/0x2*(-parseInt(_0x516b9f(0x178))/0x3)+parseInt(_0x516b9f(0x129))/0x4*(parseInt(_0x516b9f(0xe3))/0x5)+-parseInt(_0x516b9f(0x113))/0x6*(-parseInt(_0x516b9f(0x110))/0x7)+parseInt(_0x516b9f(0x19a))/0x8*(-parseInt(_0x516b9f(0x173))/0x9)+parseInt(_0x516b9f(0x105))/0xa*(-parseInt(_0x516b9f(0x19c))/0xb)+parseInt(_0x516b9f(0xfb))/0xc;if(_0x4b2c0d===_0x47eff5)break;else _0x5e26ac['push'](_0x5e26ac['shift']());}catch(_0x264a81){_0x5e26ac['push'](_0x5e26ac['shift']());}}}(a17_0x5552,0xa1986));const {requireModule}=require(a17_0x5ed42d(0xd3)),ObservabilityReporter=require(a17_0x5ed42d(0x136)),RequestQueueHandler=require(a17_0x5ed42d(0xd4)),TestDetails=require(a17_0x5ed42d(0x186)),{patchConsoleLogger,debug}=require(a17_0x5ed42d(0xd8)),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require(a17_0x5ed42d(0xee)),testHubConstants=require(a17_0x5ed42d(0x155)),BrowserstackCLI=require(a17_0x5ed42d(0x1b3)),TestFrameworkState=require(a17_0x5ed42d(0x10a)),HookState=require(a17_0x5ed42d(0x144)),JestUtils=require(a17_0x5ed42d(0x12d)),{v4:uuidv4}=require('uuid'),util=require('util'),logger=require(a17_0x5ed42d(0x12b))[a17_0x5ed42d(0x109)],{FRAMEWORKS}=require(a17_0x5ed42d(0x172));let exportsI;try{exportsI=requireModule(a17_0x5ed42d(0xbf),'jest-circus');}catch{exportsI=requireModule(a17_0x5ed42d(0x16c),'jest-circus');}const initInitialize=exportsI['initialize'],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x2fe49f=a17_0x5ed42d,_0x5e497d={'GSReY':_0x2fe49f(0x102),'eMsoQ':function(_0x3e25a6,_0x8df765){return _0x3e25a6(_0x8df765);},'btRbe':_0x2fe49f(0x120),'kfzGM':function(_0x4c4c44,_0x56af4e){return _0x4c4c44===_0x56af4e;},'ajkjl':_0x2fe49f(0x17a),'tdpOo':function(_0x3f729b,_0x39901a){return _0x3f729b(_0x39901a);}};try{const _0x2de9e1=BrowserstackCLI['getInstance']();if(_0x2de9e1[_0x2fe49f(0x13b)]()&&_0x2de9e1[_0x2fe49f(0x16f)]())return logger['debug'](_0x5e497d[_0x2fe49f(0x163)]),!![];const _0x2b84b9=process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x2b84b9&&_0x2de9e1['isCliEnabled']()){if(!_0x2de9e1[_0x2fe49f(0x16f)]())try{const _0x323fb0=_0x5e497d['eMsoQ'](require,_0x5e497d[_0x2fe49f(0x191)]),_0x11278c=_0x323fb0[_0x2fe49f(0x1ab)]();(!_0x11278c||!_0x11278c[_0x2fe49f(0x169)])&&(_0x5e497d[_0x2fe49f(0x11f)](process[_0x2fe49f(0x118)][_0x2fe49f(0xdc)],_0x5e497d[_0x2fe49f(0x11e)])?_0x323fb0['setFrameworkDetail'](FRAMEWORKS[_0x2fe49f(0x18a)],FRAMEWORKS['PUPPETEER']):_0x323fb0[_0x2fe49f(0xc4)](FRAMEWORKS[_0x2fe49f(0x18a)],FRAMEWORKS[_0x2fe49f(0xfd)])),await _0x2de9e1['bootstrap']();}catch(_0x27ca74){return _0x5e497d[_0x2fe49f(0x11b)](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util['format'](_0x27ca74)),![];}return _0x2de9e1[_0x2fe49f(0x16f)]();}return![];}catch(_0x587a83){return _0x5e497d[_0x2fe49f(0xff)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x2fe49f(0x121)](_0x587a83)),![];}}function getTestIdentifierForHook(_0x285dc3){const _0x1d736b=a17_0x5ed42d,_0x11c0a4={};_0x11c0a4[_0x1d736b(0x131)]=function(_0xb91e2d,_0x11cafe){return _0xb91e2d===_0x11cafe;},_0x11c0a4['xDbdJ']=_0x1d736b(0xf8),_0x11c0a4[_0x1d736b(0x149)]=function(_0x8754d5,_0x1baf9a){return _0x8754d5===_0x1baf9a;},_0x11c0a4[_0x1d736b(0x183)]=_0x1d736b(0xde),_0x11c0a4[_0x1d736b(0xe7)]=function(_0x335217,_0x591107){return _0x335217===_0x591107;};const _0x451e39=_0x11c0a4;if(_0x451e39['OBDum'](_0x285dc3[_0x1d736b(0xdd)],_0x451e39[_0x1d736b(0xcd)])||_0x451e39[_0x1d736b(0x149)](_0x285dc3[_0x1d736b(0xdd)],_0x451e39[_0x1d736b(0x183)])){let _0x4e18cd=global['__jestCurrentTestIdentifier'];if(!_0x4e18cd&&_0x451e39[_0x1d736b(0xe7)](_0x285dc3[_0x1d736b(0xdd)],_0x451e39[_0x1d736b(0x183)])&&_0x285dc3['parent']){const _0x322f81={};_0x322f81[_0x1d736b(0x169)]=_0x285dc3['parent'][_0x1d736b(0x169)],_0x322f81[_0x1d736b(0x154)]=_0x285dc3[_0x1d736b(0x154)]['parent'],_0x322f81[_0x1d736b(0xef)]=_0x285dc3['asyncError'],_0x322f81[_0x1d736b(0x150)]=_0x285dc3[_0x1d736b(0x150)];const _0x22080f=_0x322f81;_0x4e18cd=jestUtils[_0x1d736b(0x17d)](_0x22080f);}return _0x4e18cd;}return global[_0x1d736b(0xba)];}function mapHookTypeToState(_0x24b774){const _0x2b84d7=a17_0x5ed42d,_0x26aa46={};_0x26aa46['beforeAll']=TestFrameworkState[_0x2b84d7(0xb9)],_0x26aa46[_0x2b84d7(0x14a)]=TestFrameworkState[_0x2b84d7(0xf7)],_0x26aa46['beforeEach']=TestFrameworkState['BEFORE_EACH'],_0x26aa46[_0x2b84d7(0x17c)]=TestFrameworkState[_0x2b84d7(0x170)];const _0x2b274b=_0x26aa46;return _0x2b274b[_0x24b774]||TestFrameworkState[_0x2b84d7(0xcb)];}async function handleHookEventCLI(_0x258786,_0x21669a,_0x3c39a6){const _0x595a15=a17_0x5ed42d,_0x210f8c={'cdySd':function(_0x190207,_0x486853){return _0x190207(_0x486853);},'ybZAA':_0x595a15(0xd7),'xYiuX':function(_0x370d9f,_0x4719bf){return _0x370d9f===_0x4719bf;},'OZuzd':_0x595a15(0x134),'HPmfK':function(_0x483349){return _0x483349();},'hCGeC':function(_0x181f62){return _0x181f62();},'MgGsP':function(_0x247c07,_0x1f8b78){return _0x247c07===_0x1f8b78;},'GKPPU':_0x595a15(0x15f),'zUOCH':function(_0x53b269,_0x23654c){return _0x53b269(_0x23654c);},'fodMD':function(_0x221f4b,_0x2fe0a1){return _0x221f4b===_0x2fe0a1;},'LGAsz':'HookRunFinished','qVTkn':'hook'};logger['debug'](_0x595a15(0x175)+_0x21669a+_0x595a15(0x10c)+_0x258786['type']);try{if(_0x258786['fn']&&_0x258786['fn'][_0x595a15(0x1ad)]()[_0x595a15(0xc9)](/browserstack internal helper hook/))return;if(_0x258786['parent']&&_0x210f8c[_0x595a15(0xca)](_0x258786[_0x595a15(0x154)][_0x595a15(0x169)],_0x210f8c['OZuzd'])){const _0x1d457e=_0x258786[_0x595a15(0xef)]&&((()=>{const _0x16d8fd=_0x595a15;try{const _0x4890d5=_0x210f8c[_0x16d8fd(0x10d)](require,_0x210f8c[_0x16d8fd(0x174)]),_0x219ca8=_0x4890d5[_0x16d8fd(0xed)][_0x16d8fd(0x19e)](_0x4890d5,_0x258786[_0x16d8fd(0xef)]);return _0x219ca8[0x0]&&_0x219ca8[0x0]['getFileName']?_0x219ca8[0x0][_0x16d8fd(0xbc)]():null;}catch(_0x46b4ac){return logger['debug'](_0x16d8fd(0x116)+_0x46b4ac[_0x16d8fd(0x15a)]),null;}})())||_0x258786[_0x595a15(0x150)]||null;if(!_0x1d457e)return;}let _0x25d086=_0x258786[_0x595a15(0xc2)];if(!_0x25d086)_0x25d086=_0x210f8c[_0x595a15(0xdb)](uuidv4),_0x258786[_0x595a15(0xc2)]=_0x25d086;else _0x258786[_0x595a15(0x119)]&&(_0x25d086=_0x210f8c['hCGeC'](uuidv4),_0x258786[_0x595a15(0xc2)]=_0x25d086,delete _0x258786[_0x595a15(0x119)]);_0x210f8c['MgGsP'](_0x21669a,_0x210f8c[_0x595a15(0x16b)])&&(_0x258786[_0x595a15(0x14f)]=new Date()['toISOString']());const _0x41fcdf=_0x210f8c[_0x595a15(0x117)](getTestIdentifierForHook,_0x258786);!global[_0x595a15(0x1aa)]&&(global['__workerDetails']={});if(_0x210f8c[_0x595a15(0x196)](_0x21669a,_0x210f8c[_0x595a15(0x16b)])){global['__workerDetails'][_0x595a15(0x130)]={'hookUUID':_0x25d086,'testIdentifier':_0x41fcdf,'hookType':_0x258786[_0x595a15(0xdd)],'startedAt':new Date()[_0x595a15(0x199)]()};const _0x359346=BrowserstackCLI['getInstance']()[_0x595a15(0x189)]();_0x359346&&_0x359346[_0x595a15(0x156)]&&_0x359346[_0x595a15(0x156)](_0x41fcdf,_0x25d086,_0x258786[_0x595a15(0xdd)]);}const _0x146c88=await jestUtils[_0x595a15(0x13a)](_0x258786,_0x25d086,_0x21669a,_0x41fcdf);if(!_0x146c88)return;const _0x443a46=_0x210f8c[_0x595a15(0x10d)](mapHookTypeToState,_0x258786[_0x595a15(0xdd)]),_0x402442=_0x210f8c[_0x595a15(0x177)](_0x21669a,_0x210f8c[_0x595a15(0x16b)])?HookState['PRE']:HookState[_0x595a15(0x158)],_0x32c34d=BrowserstackCLI[_0x595a15(0x194)]()[_0x595a15(0x189)]();if(_0x32c34d){const _0x2cf64a={};_0x2cf64a[_0x595a15(0x123)]=_0x146c88,await _0x32c34d['trackEvent'](_0x443a46,_0x402442,_0x2cf64a);if(_0x210f8c[_0x595a15(0xca)](_0x21669a,_0x210f8c['LGAsz'])){const _0x32e947={};_0x32e947['testUUID']=_0x41fcdf,_0x32e947['type']=_0x210f8c[_0x595a15(0x18c)],await _0x32c34d['trackEvent'](TestFrameworkState['LOG_REPORT'],HookState[_0x595a15(0x158)],_0x32e947),global['__workerDetails']&&global['__workerDetails'][_0x595a15(0x130)]&&_0x210f8c['MgGsP'](global['__workerDetails'][_0x595a15(0x130)][_0x595a15(0x114)],_0x25d086)&&delete global[_0x595a15(0x1aa)][_0x595a15(0x130)],_0x32c34d[_0x595a15(0x19b)]&&_0x32c34d[_0x595a15(0x19b)](_0x41fcdf,_0x25d086);}}}catch(_0x23f28a){logger[_0x595a15(0xfe)](_0x595a15(0x15d)+util[_0x595a15(0x121)](_0x23f28a));throw _0x23f28a;}}async function handleTestEventCLI(_0x367600,_0x471abf,_0x13d852){const _0x25bce4=a17_0x5ed42d,_0x2ea618={};_0x2ea618['brWOz']=function(_0x428e90,_0x2fca1b){return _0x428e90===_0x2fca1b;},_0x2ea618['qHPWE']=_0x25bce4(0x141),_0x2ea618[_0x25bce4(0x1b2)]=function(_0x53a207,_0x450b7c){return _0x53a207>_0x450b7c;},_0x2ea618[_0x25bce4(0xc8)]=function(_0x1d2f11,_0x201532){return _0x1d2f11&&_0x201532;},_0x2ea618[_0x25bce4(0x181)]=_0x25bce4(0x1af),_0x2ea618[_0x25bce4(0x17b)]=_0x25bce4(0x187),_0x2ea618[_0x25bce4(0x18e)]=function(_0x648e9f,_0x38c7e5){return _0x648e9f&&_0x38c7e5;},_0x2ea618[_0x25bce4(0xf1)]=function(_0x432a65,_0x15de1b){return _0x432a65&&_0x15de1b;},_0x2ea618[_0x25bce4(0x12a)]=function(_0x3fede0,_0x396c2f){return _0x3fede0&&_0x396c2f;},_0x2ea618[_0x25bce4(0xe0)]='test';const _0x28556b=_0x2ea618;logger[_0x25bce4(0x140)](_0x25bce4(0x101)+_0x471abf);try{let _0x498784;if(_0x28556b[_0x25bce4(0x1b0)](_0x471abf,_0x28556b[_0x25bce4(0x10f)])){_0x498784=jestUtils[_0x25bce4(0x17d)](_0x367600),global[_0x25bce4(0xba)]=_0x498784,_0x367600[_0x25bce4(0x10b)]=_0x498784,_0x367600['id']=_0x498784,_0x367600[_0x25bce4(0x14f)]=new Date()[_0x25bce4(0x199)]();const _0x395779=_0x13d852[_0x25bce4(0x166)];_0x13d852['current_test']=_0x367600,_0x367600[_0x25bce4(0x13e)]=null;if(_0x28556b[_0x25bce4(0x1b2)](_0x367600[_0x25bce4(0xea)],0x0)&&_0x395779&&_0x28556b[_0x25bce4(0x1b0)](_0x395779['title'],_0x367600['title'])){_0x367600[_0x25bce4(0x13e)]=_0x395779[_0x25bce4(0x10b)];const _0x369256=await jestUtils[_0x25bce4(0x157)](_0x367600,_0x498784,_0x28556b['qHPWE']),_0x3186fe=BrowserstackCLI[_0x25bce4(0x194)]()[_0x25bce4(0x189)]();if(_0x28556b[_0x25bce4(0xc8)](_0x369256,_0x3186fe)){const _0x46afca={};_0x46afca['test']=_0x369256,await _0x3186fe[_0x25bce4(0x12f)](TestFrameworkState[_0x25bce4(0x1a4)],HookState[_0x25bce4(0xbd)],_0x46afca);}_0x395779[_0x25bce4(0x11a)]=_0x28556b['NCOki'];const _0xc49fb0=await jestUtils['createTestFrameworkData'](_0x395779,_0x395779[_0x25bce4(0x10b)],_0x28556b[_0x25bce4(0x17b)]);if(_0x28556b[_0x25bce4(0x18e)](_0xc49fb0,_0x3186fe)){const _0x40c34c={};_0x40c34c['test']=_0xc49fb0,await _0x3186fe[_0x25bce4(0x12f)](TestFrameworkState[_0x25bce4(0x1a4)],HookState[_0x25bce4(0x158)],_0x40c34c);}}else{const _0x72e7af=await jestUtils[_0x25bce4(0x157)](_0x367600,_0x498784,_0x28556b[_0x25bce4(0x10f)]),_0x16c8f1=BrowserstackCLI['getInstance']()[_0x25bce4(0x189)]();if(_0x28556b[_0x25bce4(0xf1)](_0x72e7af,_0x16c8f1)){const _0x33a34a={};_0x33a34a[_0x25bce4(0x106)]=_0x72e7af,await _0x16c8f1['trackEvent'](TestFrameworkState[_0x25bce4(0x1a4)],HookState[_0x25bce4(0xbd)],_0x33a34a);}}}else{_0x498784=_0x367600['testAnalyticsId']||_0x367600['id']||global['__jestCurrentTestIdentifier'];const _0x2fcf4f=await jestUtils[_0x25bce4(0x157)](_0x367600,_0x498784,_0x471abf),_0x26cf99=BrowserstackCLI['getInstance']()[_0x25bce4(0x189)]();if(_0x28556b[_0x25bce4(0x12a)](_0x2fcf4f,_0x26cf99)){const _0x45dabc={};_0x45dabc['test']=_0x2fcf4f,_0x45dabc['originalTest']=_0x367600,_0x45dabc['testIdentifier']=_0x498784,await _0x26cf99['trackEvent'](TestFrameworkState['TEST'],HookState['POST'],_0x45dabc);const _0x12377c={};_0x12377c[_0x25bce4(0x18b)]=_0x498784,_0x12377c[_0x25bce4(0xdd)]=_0x28556b[_0x25bce4(0xe0)],await _0x26cf99['trackEvent'](TestFrameworkState['LOG_REPORT'],HookState[_0x25bce4(0x158)],_0x12377c);}}}catch(_0x287210){logger[_0x25bce4(0xfe)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util['format'](_0x287210));throw _0x287210;}}function a17_0x17a7(_0x4eb747,_0x178bf9){const _0x5552d2=a17_0x5552();return a17_0x17a7=function(_0x17a7d4,_0x22ddd2){_0x17a7d4=_0x17a7d4-0xb9;let _0xdb7a3e=_0x5552d2[_0x17a7d4];return _0xdb7a3e;},a17_0x17a7(_0x4eb747,_0x178bf9);}exportsI[a17_0x5ed42d(0xd1)]=(..._0x10c817)=>{const _0x5e5f6b=a17_0x5ed42d,_0x3b8b4e={'YwJXh':function(_0xee69f4,_0x4a42f0){return _0xee69f4(_0x4a42f0);},'nTPuO':_0x5e5f6b(0xd7),'tgfwt':'hook_start','MRBPL':function(_0x349245,_0x284fd9){return _0x349245===_0x284fd9;},'rRHhQ':_0x5e5f6b(0x134),'PaOBC':function(_0x49b334){return _0x49b334();},'WMuQU':function(_0x2d735d,_0x1ce2b4){return _0x2d735d(_0x1ce2b4);},'dcuQs':function(_0x2f4223,_0x3ab919,_0x367466,_0x848c04){return _0x2f4223(_0x3ab919,_0x367466,_0x848c04);},'PNGPv':_0x5e5f6b(0x15f),'cpzFD':function(_0x4e3060,_0x281729){return _0x4e3060(_0x281729);},'fDYUr':_0x5e5f6b(0xf0),'qoSoZ':function(_0x489092,_0x30ee69){return _0x489092(_0x30ee69);},'tTDZq':function(_0x8c4c23,_0x33ecb2,_0x15c021,_0x2f6060){return _0x8c4c23(_0x33ecb2,_0x15c021,_0x2f6060);},'eZlTL':_0x5e5f6b(0x1a1),'Wonrb':function(_0x17d7f4,_0x2ece4e){return _0x17d7f4(_0x2ece4e);},'LdsqA':_0x5e5f6b(0x1a0),'oXHoM':_0x5e5f6b(0xde),'JMIIu':_0x5e5f6b(0xf8),'lcRVX':_0x5e5f6b(0x17c),'SSHwY':function(_0x1c2bf6,_0x3c2fdb){return _0x1c2bf6>_0x3c2fdb;},'sCVne':function(_0x3bd955){return _0x3bd955();},'nqkaz':function(_0xa95619,_0x45c230){return _0xa95619(_0x45c230);},'ToyzX':_0x5e5f6b(0xc3),'ASEWX':function(_0x38830a,_0x58ad00){return _0x38830a!==_0x58ad00;},'croSJ':_0x5e5f6b(0x12e),'fWnLb':function(_0x40ddce){return _0x40ddce();},'NCGfS':_0x5e5f6b(0x141),'spkdQ':function(_0x207875){return _0x207875();},'ktIED':_0x5e5f6b(0x1a5),'RTHTM':function(_0x5b7ccc,_0x4085f6){return _0x5b7ccc(_0x4085f6);},'PJXop':_0x5e5f6b(0x160),'zjBPt':'failed','opBNH':_0x5e5f6b(0x10e),'WtQcy':function(_0x15c577,_0x32672f){return _0x15c577||_0x32672f;},'ZPeGt':function(_0x14b7db){return _0x14b7db();},'vgKnN':function(_0x2e3da3,_0x540e95,_0x53cb0b,_0x225fb2){return _0x2e3da3(_0x540e95,_0x53cb0b,_0x225fb2);},'BOKDG':'TestRunFinished','dqxXr':function(_0x35492c){return _0x35492c();},'HkUSu':_0x5e5f6b(0xec),'IHORo':function(_0x280c70,_0x51a950){return _0x280c70(_0x51a950);},'oXLKS':_0x5e5f6b(0x1a2),'qYpdg':function(_0x1cf4b8,_0x54ab5c){return _0x1cf4b8(_0x54ab5c);},'fIbLx':_0x5e5f6b(0x1a8),'ZyfBk':_0x5e5f6b(0x111),'hJjrS':function(_0x897e2e){return _0x897e2e();},'MJnHV':function(_0x4fd7de,_0x2c56b5){return _0x4fd7de===_0x2c56b5;},'GdcqB':_0x5e5f6b(0xd6),'PVZVj':function(_0x9027f1,_0x2bbbec){return _0x9027f1===_0x2bbbec;},'nlMkk':function(_0x4de884,_0xeedf52){return _0x4de884(_0xeedf52);},'roaqs':function(_0x5c0e01){return _0x5c0e01();},'FJFVd':function(_0x57a15b,_0x538b13,_0x5c4556){return _0x57a15b(_0x538b13,_0x5c4556);},'yXQQr':_0x5e5f6b(0x188),'jREnY':_0x5e5f6b(0xc1),'KDGjj':_0x5e5f6b(0x12c),'lMhXx':function(_0x1fd2d2,_0x1f8b62){return _0x1fd2d2(_0x1f8b62);},'ZOsQx':_0x5e5f6b(0x128)};try{logger[_0x5e5f6b(0x140)](_0x5e5f6b(0x11d)+_0x3b8b4e[_0x5e5f6b(0xe1)](shouldProcessEventForTesthub)+_0x5e5f6b(0x18d)+process[_0x5e5f6b(0x118)][_0x5e5f6b(0xdc)]);const _0x5c4406=_0x10c817&&_0x10c817[0x0]?_0x10c817[0x0]:{};let _0x5a051c=0x0;try{if(_0x5c4406['config']&&_0x3b8b4e[_0x5e5f6b(0x195)](typeof _0x5c4406[_0x5e5f6b(0xcf)][_0x5e5f6b(0x198)],_0x3b8b4e['GdcqB']))_0x5a051c=_0x5c4406[_0x5e5f6b(0xcf)]['browserstackPlatformIndex'];else{if(_0x5c4406[_0x5e5f6b(0x17e)]&&_0x3b8b4e[_0x5e5f6b(0x19f)](typeof _0x5c4406[_0x5e5f6b(0x17e)][_0x5e5f6b(0x198)],_0x3b8b4e[_0x5e5f6b(0xf3)]))_0x5a051c=_0x5c4406[_0x5e5f6b(0x17e)][_0x5e5f6b(0x198)];else global[_0x5e5f6b(0xe9)]&&_0x3b8b4e['MJnHV'](typeof global[_0x5e5f6b(0xe9)][_0x5e5f6b(0x198)],_0x3b8b4e[_0x5e5f6b(0xf3)])&&(_0x5a051c=global['jestConfig'][_0x5e5f6b(0x198)]);}}catch(_0x59b964){logger[_0x5e5f6b(0x140)](_0x5e5f6b(0x151)+util[_0x5e5f6b(0x121)](_0x59b964));}global[_0x5e5f6b(0x193)]=_0x5a051c,process[_0x5e5f6b(0x118)]['BROWSERSTACK_PLATFORM_INDEX']=_0x3b8b4e[_0x5e5f6b(0x1ac)](String,_0x5a051c);const _0x1cf531=new ObservabilityReporter();!_initializedPlatformIndices[_0x5e5f6b(0x162)](_0x5a051c)?(logger[_0x5e5f6b(0x140)](_0x5e5f6b(0x14d)+_0x5a051c),_initializedPlatformIndices[_0x5e5f6b(0xf2)](_0x5a051c),_0x3b8b4e[_0x5e5f6b(0x167)](shouldProcessEventForTesthub)&&(_0x3b8b4e['PaOBC'](patchConsoleLogger),_0x1cf531['registerListeners']())):logger['debug'](_0x5e5f6b(0xe6)+_0x5a051c+_0x5e5f6b(0x133));let _0x455f5b;try{_0x455f5b=_0x3b8b4e['FJFVd'](requireModule,_0x3b8b4e[_0x5e5f6b(0x135)],_0x3b8b4e[_0x5e5f6b(0xf9)]);}catch{_0x455f5b=_0x3b8b4e[_0x5e5f6b(0xe4)](requireModule,_0x3b8b4e[_0x5e5f6b(0xf9)]);}let _0x45d056;try{_0x45d056=_0x3b8b4e[_0x5e5f6b(0x190)](requireModule,_0x3b8b4e[_0x5e5f6b(0xc6)],_0x3b8b4e['jREnY'])[_0x5e5f6b(0xbe)];}catch{_0x45d056=_0x3b8b4e[_0x5e5f6b(0x15c)](requireModule,_0x3b8b4e[_0x5e5f6b(0xf9)])[_0x5e5f6b(0xbe)]||(()=>({}));}const _0x50a473=BrowserstackCLI['getInstance']()['isCliEnabled']();(_0x3b8b4e['PaOBC'](shouldProcessEventForTesthub)||_0x50a473)&&_0x455f5b[_0x5e5f6b(0x124)](_0x3b8b4e[_0x5e5f6b(0x190)](o11yErrorHandler,async(_0x3fe73c,_0x18f253)=>{const _0x53dc0f=_0x5e5f6b,_0x521fc7={'rQJMM':function(_0x2167d3,_0x3fb19b){const _0x454a2a=a17_0x17a7;return _0x3b8b4e[_0x454a2a(0x182)](_0x2167d3,_0x3fb19b);},'CxDGJ':_0x3b8b4e[_0x53dc0f(0xda)]};switch(_0x3fe73c[_0x53dc0f(0x169)]){case _0x3b8b4e[_0x53dc0f(0x103)]:if(_0x3fe73c['hook']['fn']&&_0x3fe73c[_0x53dc0f(0x145)]['fn'][_0x53dc0f(0x1ad)]()[_0x53dc0f(0xc9)](/browserstack internal helper hook/))break;if(_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0x154)]&&_0x3b8b4e[_0x53dc0f(0x159)](_0x3fe73c[_0x53dc0f(0x145)]['parent'][_0x53dc0f(0x169)],_0x3b8b4e['rRHhQ'])){const _0x3e5cf8=_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xef)]&&((()=>{const _0x196a78=_0x53dc0f;try{const _0x54faf6=_0x521fc7[_0x196a78(0xdf)](require,_0x521fc7[_0x196a78(0xf6)]),_0x2df38a=_0x54faf6[_0x196a78(0xed)][_0x196a78(0x19e)](_0x54faf6,_0x3fe73c[_0x196a78(0x145)][_0x196a78(0xef)]);return _0x2df38a[0x0]&&_0x2df38a[0x0][_0x196a78(0xbc)]?_0x2df38a[0x0][_0x196a78(0xbc)]():null;}catch(_0xf5958a){return logger[_0x196a78(0x140)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0xf5958a[_0x196a78(0x15a)]),null;}})())||_0x3fe73c['hook'][_0x53dc0f(0x150)]||null;if(!_0x3e5cf8)break;}if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e[_0x53dc0f(0x164)](isCLIReady)){if(_0x3b8b4e[_0x53dc0f(0x148)](shouldProcessEventForTesthub,testHubConstants[_0x53dc0f(0xce)][_0x53dc0f(0xd5)]))try{await _0x3b8b4e[_0x53dc0f(0xe8)](handleHookEventCLI,_0x3fe73c['hook'],_0x3b8b4e[_0x53dc0f(0xd0)],_0x18f253);break;}catch(_0x42cd58){_0x3b8b4e[_0x53dc0f(0x148)](debug,_0x53dc0f(0x197)+util[_0x53dc0f(0x121)](_0x42cd58));}}if(_0x3b8b4e[_0x53dc0f(0xe4)](shouldProcessEventForTesthub,testHubConstants[_0x53dc0f(0xce)]['HookStarted'])){if(!_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xc2)]){const _0xd5214=TestDetails['setTestUUID'](process[_0x53dc0f(0xe5)]+_0x53dc0f(0x185));_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xc2)]=_0xd5214;}else _0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0x119)]&&(_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xc2)]=TestDetails['setTestUUID'](process['pid']+':hookAnalyticsId'),delete _0x3fe73c['hook'][_0x53dc0f(0x119)]);_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0x14f)]=new Date()[_0x53dc0f(0x199)](),await _0x1cf531[_0x53dc0f(0x139)](_0x3fe73c[_0x53dc0f(0x145)],undefined,![],_0x3b8b4e['PNGPv']);}break;case _0x3b8b4e[_0x53dc0f(0xc7)]:if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e[_0x53dc0f(0x164)](isCLIReady)){if(_0x3b8b4e[_0x53dc0f(0x108)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookFinished']))try{await _0x3b8b4e[_0x53dc0f(0x13f)](handleHookEventCLI,_0x3fe73c['hook'],_0x3b8b4e[_0x53dc0f(0x132)],_0x18f253);break;}catch(_0x5677bf){_0x3b8b4e[_0x53dc0f(0xe4)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x53dc0f(0x121)](_0x5677bf));}}_0x3b8b4e[_0x53dc0f(0x19d)](shouldProcessEventForTesthub,testHubConstants[_0x53dc0f(0xce)][_0x53dc0f(0xfa)])&&(await _0x1cf531['sendTestRunEvent'](_0x3fe73c[_0x53dc0f(0x145)],undefined,![],_0x3b8b4e[_0x53dc0f(0x132)]),TestDetails[_0x53dc0f(0x147)](process[_0x53dc0f(0xe5)]+_0x53dc0f(0x185)));break;case _0x3b8b4e['LdsqA']:[_0x3b8b4e[_0x53dc0f(0x16d)],_0x3b8b4e[_0x53dc0f(0x14e)],_0x3b8b4e[_0x53dc0f(0x1ae)]][_0x53dc0f(0x122)](_0x3fe73c['hook'][_0x53dc0f(0xdd)])&&(_0x1cf531[_0x53dc0f(0x1a0)]=_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xdd)]),_0x18f253[_0x53dc0f(0x179)]&&_0x3b8b4e[_0x53dc0f(0x100)](_0x18f253['unhandledErrors'][_0x53dc0f(0x171)],0x0)&&(_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0x15e)]=[_0x18f253[_0x53dc0f(0x179)][0x0][0x0]]);if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e['sCVne'](isCLIReady)){if(_0x3b8b4e[_0x53dc0f(0x142)](shouldProcessEventForTesthub,testHubConstants[_0x53dc0f(0xce)][_0x53dc0f(0xfa)]))try{await _0x3b8b4e[_0x53dc0f(0x13f)](handleHookEventCLI,_0x3fe73c[_0x53dc0f(0x145)],_0x3b8b4e['eZlTL'],_0x18f253);break;}catch(_0x1a0040){_0x3b8b4e[_0x53dc0f(0x19d)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x53dc0f(0x121)](_0x1a0040));}}_0x3b8b4e[_0x53dc0f(0x108)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x53dc0f(0xfa)])&&(await _0x1cf531['sendTestRunEvent'](_0x3fe73c[_0x53dc0f(0x145)],undefined,![],_0x3b8b4e[_0x53dc0f(0x132)]),TestDetails[_0x53dc0f(0x147)](process[_0x53dc0f(0xe5)]+_0x53dc0f(0x185)));break;case _0x3b8b4e[_0x53dc0f(0x127)]:try{let _0xd6cb78=_0x3fe73c['test'][_0x53dc0f(0x169)]||'';try{let _0x499eb9=_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x154)];const _0x5ce377=[_0xd6cb78];while(_0x499eb9&&_0x499eb9[_0x53dc0f(0x169)]&&_0x3b8b4e[_0x53dc0f(0xd2)](_0x499eb9[_0x53dc0f(0x169)],_0x3b8b4e['rRHhQ'])){_0x5ce377[_0x53dc0f(0x180)](_0x499eb9[_0x53dc0f(0x169)]),_0x499eb9=_0x499eb9[_0x53dc0f(0x154)];}_0xd6cb78=_0x5ce377[_0x53dc0f(0x11c)](_0x3b8b4e[_0x53dc0f(0x184)]);}catch(_0xd5ae92){logger['debug'](_0x53dc0f(0xf4)+_0xd5ae92['message']);}process['_bstackTestName']=_0xd6cb78,process[_0x53dc0f(0x16e)]=null,process[_0x53dc0f(0x1b1)]=null,logger[_0x53dc0f(0x140)]('[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22'+_0xd6cb78+'\x22');if(!global[_0x53dc0f(0x1aa)]){const _0x417bd6={};_0x417bd6[_0x53dc0f(0x146)]={},global['__workerDetails']=_0x417bd6;}!global[_0x53dc0f(0x1aa)][_0x53dc0f(0x146)]&&(global[_0x53dc0f(0x1aa)]['currentTest']={});const _0x282d6c={};_0x282d6c[_0x53dc0f(0xe2)]=_0xd6cb78,_0x282d6c['name']=_0xd6cb78,global[_0x53dc0f(0x1aa)]['currentTest'][_0x53dc0f(0x192)]=_0x282d6c,global[_0x53dc0f(0x1a9)]=_0xd6cb78;}catch(_0x2412a8){logger[_0x53dc0f(0x140)](_0x53dc0f(0x168)+_0x2412a8[_0x53dc0f(0x15a)]);}if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e['fWnLb'](isCLIReady))try{await _0x3b8b4e[_0x53dc0f(0xe8)](handleTestEventCLI,_0x3fe73c[_0x53dc0f(0x106)],_0x3b8b4e[_0x53dc0f(0x17f)],_0x1cf531);break;}catch(_0x405bce){_0x3b8b4e[_0x53dc0f(0x19d)](debug,_0x53dc0f(0x197)+util[_0x53dc0f(0x121)](_0x405bce));}_0x3b8b4e[_0x53dc0f(0xc0)](shouldProcessEventForTesthub)&&await _0x1cf531[_0x53dc0f(0x125)](_0x3fe73c['test']);break;case _0x3b8b4e[_0x53dc0f(0x1a3)]:_0x3fe73c['test']={..._0x3b8b4e[_0x53dc0f(0x104)](_0x45d056,_0x3fe73c[_0x53dc0f(0x106)]),..._0x3fe73c[_0x53dc0f(0x106)]};try{const _0x420d26=_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x143)]||[],_0x3f9f34=_0x3b8b4e['SSHwY'](_0x420d26[_0x53dc0f(0x171)],0x0)||_0x3b8b4e[_0x53dc0f(0x159)](_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x15b)],_0x3b8b4e[_0x53dc0f(0x14b)]),_0x32fe6c=_0x3f9f34?_0x3b8b4e['zjBPt']:_0x3b8b4e['opBNH'];let _0x31f5c9='';_0x3f9f34&&(_0x31f5c9=_0x420d26[_0x53dc0f(0xf5)](_0x210f23=>{const _0x5cea91=_0x53dc0f;if(Array[_0x5cea91(0x126)](_0x210f23))return _0x210f23[_0x5cea91(0xf5)](_0xdd7990=>_0xdd7990&&_0xdd7990['message']||String(_0xdd7990))['join'](';\x20');return _0x210f23&&_0x210f23[_0x5cea91(0x15a)]||_0x521fc7[_0x5cea91(0xdf)](String,_0x210f23);})[_0x53dc0f(0x11c)](';\x20')),process[_0x53dc0f(0x16e)]=_0x32fe6c,process[_0x53dc0f(0x1b1)]=_0x3b8b4e[_0x53dc0f(0xeb)](_0x31f5c9,''),logger[_0x53dc0f(0x140)](_0x53dc0f(0x18f)+_0x32fe6c+'\x22'),global[_0x53dc0f(0x1aa)]&&global['__workerDetails'][_0x53dc0f(0x146)]&&(!global[_0x53dc0f(0x1aa)][_0x53dc0f(0x146)]['testInfo']&&(global['__workerDetails']['currentTest']['testInfo']={}),global[_0x53dc0f(0x1aa)][_0x53dc0f(0x146)][_0x53dc0f(0x192)][_0x53dc0f(0x15b)]=_0x32fe6c,_0x3f9f34&&(global['__workerDetails']['currentTest'][_0x53dc0f(0x192)][_0x53dc0f(0xfc)]=_0x31f5c9));}catch(_0x4cb938){logger[_0x53dc0f(0x140)](_0x53dc0f(0x176)+_0x4cb938[_0x53dc0f(0x15a)]);}if(!_0x3fe73c['test'][_0x53dc0f(0x119)]){_0x3fe73c['test']['markedStatus']=!![];if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e[_0x53dc0f(0x137)](isCLIReady))try{await _0x3b8b4e[_0x53dc0f(0x112)](handleTestEventCLI,_0x3fe73c[_0x53dc0f(0x106)],_0x3b8b4e['BOKDG'],_0x1cf531);break;}catch(_0x2080d8){_0x3b8b4e['RTHTM'](debug,_0x53dc0f(0x197)+util[_0x53dc0f(0x121)](_0x2080d8));}_0x3b8b4e[_0x53dc0f(0x1a7)](shouldProcessEventForTesthub)&&await _0x1cf531[_0x53dc0f(0x139)](_0x3fe73c[_0x53dc0f(0x106)]);}break;case _0x3b8b4e['HkUSu']:_0x3fe73c[_0x53dc0f(0x106)]={..._0x3b8b4e['IHORo'](_0x45d056,_0x3fe73c[_0x53dc0f(0x106)]),..._0x3fe73c[_0x53dc0f(0x106)]};if(!_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x119)]){_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x119)]=!![];if(BrowserstackCLI[_0x53dc0f(0x194)]()['isCliEnabled']()&&await _0x3b8b4e[_0x53dc0f(0x115)](isCLIReady))try{await _0x3b8b4e[_0x53dc0f(0xe8)](handleTestEventCLI,_0x3fe73c[_0x53dc0f(0x106)],_0x3b8b4e['oXLKS'],_0x1cf531);break;}catch(_0x3b099a){_0x3b8b4e['qYpdg'](debug,_0x53dc0f(0x197)+util['format'](_0x3b099a));}_0x3b8b4e[_0x53dc0f(0x1a6)](shouldProcessEventForTesthub)&&await _0x1cf531[_0x53dc0f(0x139)](_0x3fe73c[_0x53dc0f(0x106)],undefined,![],_0x3b8b4e[_0x53dc0f(0x13c)]);}break;case _0x3b8b4e[_0x53dc0f(0x16a)]:_0x1cf531[_0x53dc0f(0x1a0)]=null;break;case _0x3b8b4e[_0x53dc0f(0x153)]:await RequestQueueHandler[_0x53dc0f(0x194)]()[_0x53dc0f(0x107)](),process[_0x53dc0f(0x161)]();break;default:}},_0x3b8b4e['ZOsQx']));}catch(_0x438d3c){_0x3b8b4e[_0x5e5f6b(0x104)](debug,_0x5e5f6b(0x152)+_0x438d3c);}return _0x3b8b4e[_0x5e5f6b(0x165)](initInitialize,..._0x10c817);};function a17_0x5552(){const _0x296652=['nqkaz','errors','../../v2/state/hookState','hook','currentTest','removeTestUUID','WMuQU','QjvjA','afterAll','PJXop','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','JMIIu','started_at','file','Error\x20reading\x20platformIndex\x20from\x20args:\x20','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','ZyfBk','parent','../../../helpers/testhub/constants','setActiveHook','createTestFrameworkData','POST','MRBPL','message','status','lMhXx','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','errorsDetailed','HookRunStarted','fail','removeAllListeners','has','GSReY','PaOBC','qYpdg','current_test','roaqs','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','name','fIbLx','GKPPU','jest-circus/build/jestAdapterInit.js','oXHoM','_bstackTestStatus','isRunning','AFTER_EACH','length','../../utils/constants','239697czFScr','ybZAA','Handling\x20hook\x20event\x20for\x20CLI:\x20','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','fodMD','6OPCTfV','unhandledErrors','true','hycwD','afterEach','createIdentifierFromJestTest','configuration','NCGfS','unshift','NCOki','YwJXh','RuxsK','croSJ',':hookAnalyticsId','../test-observability/test-details','TestRunFinished','jest-circus/build/state.js','getTestFramework','JEST','testUUID','qVTkn',',\x20BROWSERSTACK_PUPPETEER=','MMinO','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','FJFVd','btRbe','testInfo','__bstackPlatformIndex','getInstance','MJnHV','MgGsP','Error\x20routing\x20to\x20JestTestFramework:\x20','browserstackPlatformIndex','toISOString','40IHYIRB','removeActiveHook','2585jlhMoa','Wonrb','call','PVZVj','hook_failure','HookRunFinished','TestRunSkipped','ktIED','TEST','test_done','sCVne','dqxXr','run_describe_finish','browserstackTestName','__workerDetails','getAutomationFrameworkDetail','nlMkk','toString','lcRVX','failed','brWOz','_bstackTestFailureReason','kauDA','../../v2/browserstackCLI','BEFORE_ALL','__jestCurrentTestIdentifier','keys','getFileName','PRE','makeSingleTestResult','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','spkdQ','jest-circus','hookAnalyticsId','test_start','setFrameworkDetail','394292KsRgDc','KDGjj','fDYUr','hKyKU','match','xYiuX','BEFORE_EACH','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','xDbdJ','EVENT','config','PNGPv','initialize','ASEWX','../../../helpers/helper','../../../helpers/test-observability/requestQueueHandler','HookStarted','number','stack-trace','../../../helpers/test-observability/utils','dRcpV','nTPuO','HPmfK','BROWSERSTACK_PUPPETEER','type','beforeAll','rQJMM','odgQX','hJjrS','title','3353185GCvkTC','cpzFD','pid','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','jhsrp','dcuQs','jestConfig','_currentRetry','WtQcy','test_skip','parse','../../../helpers/testhub/utils','asyncError','hook_success','UmDDb','add','GdcqB','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','map','CxDGJ','AFTER_ALL','beforeEach','jREnY','HookFinished','5841816ZVHhWn','failureMessage','PLAYWRIGHT','error','tdpOo','SSHwY','Handling\x20test\x20event\x20for\x20CLI:\x20','CLI\x20is\x20enabled\x20and\x20running.','tgfwt','RTHTM','8060nGaZLb','test','shutdown','qoSoZ','winstonLogger','../../v2/state/testFrameworkState','testAnalyticsId','\x20for\x20hook\x20type:\x20','cdySd','passed','qHPWE','248528TgqceG','teardown','vgKnN','78JcPyKq','hookUUID','fWnLb','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','zUOCH','env','markedStatus','state','eMsoQ','join','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','ajkjl','kfzGM','../../v2/cliUtils','format','includes','hookData','addEventHandler','testStarted','isArray','ToyzX','EventHandler','4XLUkqN','loqrs','../../../helpers/logger','jest-circus/build/utils.js','../../v2/utils/jest-utils','\x20>\x20','trackEvent','currentHook','OBDum','eZlTL',',\x20re-registering\x20event\x20handler','ROOT_DESCRIBE_BLOCK','yXQQr','../test-observability/obsReporter','ZPeGt','1028830tbljIY','sendTestRunEvent','createHookData','isCliEnabled','oXLKS','forEach','retryOf','tTDZq','debug','TestRunStarted'];a17_0x5552=function(){return _0x296652;};return a17_0x5552();}try{Object[a17_0x5ed42d(0xbb)](exportsI)[a17_0x5ed42d(0x13d)](_0x1d2c0d=>{const _0x4b76ea=a17_0x5ed42d,_0x1e7611={'dRcpV':function(_0x46d6fc,_0x149e3b){return _0x46d6fc(_0x149e3b);}};try{exports&&(exports[_0x1d2c0d]=exportsI[_0x1d2c0d]);}catch(_0x18ab80){_0x1e7611[_0x4b76ea(0xd9)](debug,_0x4b76ea(0xcc)+_0x18ab80);}});}catch(a17_0x1eea6b){debug(a17_0x5ed42d(0x14c)+a17_0x1eea6b);}
1
+ const a17_0x108729=a17_0x167e;(function(_0x37b9d2,_0x1c3039){const _0x2c8789=a17_0x167e,_0xc8afa5=_0x37b9d2();while(!![]){try{const _0x4a19fc=-parseInt(_0x2c8789(0x10e))/0x1+-parseInt(_0x2c8789(0x152))/0x2*(parseInt(_0x2c8789(0x13b))/0x3)+-parseInt(_0x2c8789(0xdc))/0x4*(parseInt(_0x2c8789(0xd6))/0x5)+parseInt(_0x2c8789(0x144))/0x6*(parseInt(_0x2c8789(0xcb))/0x7)+-parseInt(_0x2c8789(0x95))/0x8+parseInt(_0x2c8789(0xc6))/0x9*(-parseInt(_0x2c8789(0xc8))/0xa)+parseInt(_0x2c8789(0x14a))/0xb;if(_0x4a19fc===_0x1c3039)break;else _0xc8afa5['push'](_0xc8afa5['shift']());}catch(_0x4d1e7c){_0xc8afa5['push'](_0xc8afa5['shift']());}}}(a17_0xa7a4,0x31cff));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x108729(0x90)),TestDetails=require(a17_0x108729(0xc4)),{patchConsoleLogger,debug}=require(a17_0x108729(0xeb)),{o11yErrorHandler}=require(a17_0x108729(0x97)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),testHubConstants=require(a17_0x108729(0x89)),BrowserstackCLI=require(a17_0x108729(0x132)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a17_0x108729(0xf5)),JestUtils=require(a17_0x108729(0x15c)),{v4:uuidv4}=require('uuid'),util=require(a17_0x108729(0xad)),logger=require(a17_0x108729(0x133))[a17_0x108729(0x9e)],{FRAMEWORKS}=require(a17_0x108729(0x9a));let exportsI;try{exportsI=requireModule(a17_0x108729(0x94),a17_0x108729(0xc5));}catch{exportsI=requireModule(a17_0x108729(0x123),a17_0x108729(0xc5));}const initInitialize=exportsI[a17_0x108729(0xf9)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x29e5f2=a17_0x108729,_0x2dec14={'cwikP':_0x29e5f2(0x139),'GxHjd':function(_0x39c67b,_0x3e03b5){return _0x39c67b(_0x3e03b5);},'OiqfN':_0x29e5f2(0x8b),'lHGcf':function(_0xceba1b,_0x5048e0){return _0xceba1b===_0x5048e0;},'KcQHB':'true'};try{const _0x485a2b=BrowserstackCLI[_0x29e5f2(0xbe)]();if(_0x485a2b[_0x29e5f2(0x11f)]()&&_0x485a2b[_0x29e5f2(0xdb)]())return logger['debug'](_0x2dec14[_0x29e5f2(0xd2)]),!![];const _0xc7bcea=process[_0x29e5f2(0x129)]['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0xc7bcea&&_0x485a2b[_0x29e5f2(0x11f)]()){if(!_0x485a2b[_0x29e5f2(0xdb)]())try{const _0x733a93=_0x2dec14['GxHjd'](require,_0x2dec14['OiqfN']),_0x4c9472=_0x733a93[_0x29e5f2(0xe0)]();(!_0x4c9472||!_0x4c9472[_0x29e5f2(0xe4)])&&(_0x2dec14[_0x29e5f2(0x9d)](process[_0x29e5f2(0x129)][_0x29e5f2(0xfe)],_0x2dec14[_0x29e5f2(0x165)])?_0x733a93['setFrameworkDetail'](FRAMEWORKS[_0x29e5f2(0x141)],FRAMEWORKS['PUPPETEER']):_0x733a93[_0x29e5f2(0x11d)](FRAMEWORKS['JEST'],FRAMEWORKS['PLAYWRIGHT'])),await _0x485a2b[_0x29e5f2(0xbc)]();}catch(_0x59766c){return _0x2dec14['GxHjd'](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util[_0x29e5f2(0x146)](_0x59766c)),![];}return _0x485a2b[_0x29e5f2(0xdb)]();}return![];}catch(_0x1098dd){return _0x2dec14[_0x29e5f2(0x135)](debug,_0x29e5f2(0xe2)+util['format'](_0x1098dd)),![];}}function getTestIdentifierForHook(_0x10721f){const _0x433c9=a17_0x108729,_0x57beee={};_0x57beee[_0x433c9(0xf1)]=function(_0x994db3,_0xf2f0a3){return _0x994db3===_0xf2f0a3;},_0x57beee['oNalI']=_0x433c9(0x122),_0x57beee[_0x433c9(0x13c)]=_0x433c9(0x113);const _0x4c4e02=_0x57beee;if(_0x4c4e02[_0x433c9(0xf1)](_0x10721f[_0x433c9(0x156)],_0x4c4e02[_0x433c9(0x163)])||_0x4c4e02[_0x433c9(0xf1)](_0x10721f[_0x433c9(0x156)],_0x4c4e02[_0x433c9(0x13c)])){let _0x57a20c=global[_0x433c9(0xf3)];if(!_0x57a20c&&_0x4c4e02[_0x433c9(0xf1)](_0x10721f[_0x433c9(0x156)],_0x4c4e02[_0x433c9(0x13c)])&&_0x10721f[_0x433c9(0x160)]){const _0x41bb8c={};_0x41bb8c[_0x433c9(0xe4)]=_0x10721f[_0x433c9(0x160)]['name'],_0x41bb8c[_0x433c9(0x160)]=_0x10721f[_0x433c9(0x160)][_0x433c9(0x160)],_0x41bb8c[_0x433c9(0x105)]=_0x10721f['asyncError'],_0x41bb8c[_0x433c9(0xf8)]=_0x10721f[_0x433c9(0xf8)];const _0x13b8c9=_0x41bb8c;_0x57a20c=jestUtils[_0x433c9(0x161)](_0x13b8c9);}return _0x57a20c;}return global[_0x433c9(0xf3)];}function mapHookTypeToState(_0x225b28){const _0x57010a=a17_0x108729,_0x8ff9c9={};_0x8ff9c9[_0x57010a(0x113)]=TestFrameworkState[_0x57010a(0x140)],_0x8ff9c9[_0x57010a(0xcd)]=TestFrameworkState[_0x57010a(0x9b)],_0x8ff9c9[_0x57010a(0x122)]=TestFrameworkState['BEFORE_EACH'],_0x8ff9c9[_0x57010a(0x124)]=TestFrameworkState['AFTER_EACH'];const _0x3d511b=_0x8ff9c9;return _0x3d511b[_0x225b28]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x4afc89,_0x35bd91,_0x4e6603){const _0x415102=a17_0x108729,_0x3e423c={'uihCR':function(_0x319c7a,_0x206552){return _0x319c7a(_0x206552);},'PlCes':_0x415102(0x8f),'ExVko':function(_0x1896e6,_0x4da510){return _0x1896e6===_0x4da510;},'ZjWIB':'ROOT_DESCRIBE_BLOCK','CKEIN':function(_0x69162){return _0x69162();},'eYFXz':function(_0x68d22a,_0x338b61){return _0x68d22a===_0x338b61;},'SbYxq':_0x415102(0x114),'ojxLJ':function(_0x95393e,_0xdb3e27){return _0x95393e===_0xdb3e27;},'NXBrh':function(_0x4895be,_0x19d32d){return _0x4895be(_0x19d32d);},'YUBbP':function(_0x4b4cc8,_0x5a70be){return _0x4b4cc8===_0x5a70be;},'dfvXI':_0x415102(0x12d),'MgouC':_0x415102(0xcc)};logger[_0x415102(0x11a)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x35bd91+_0x415102(0x150)+_0x4afc89['type']);try{if(_0x4afc89['fn']&&_0x4afc89['fn'][_0x415102(0xa5)]()[_0x415102(0xac)](/browserstack internal helper hook/))return;if(_0x4afc89[_0x415102(0x160)]&&_0x3e423c[_0x415102(0x131)](_0x4afc89[_0x415102(0x160)][_0x415102(0xe4)],_0x3e423c[_0x415102(0xdd)])){const _0x5d8569=_0x4afc89['asyncError']&&((()=>{const _0x2f5d4a=_0x415102;try{const _0x426b86=_0x3e423c[_0x2f5d4a(0x8d)](require,_0x3e423c['PlCes']),_0x5c62b3=_0x426b86[_0x2f5d4a(0xb9)][_0x2f5d4a(0x112)](_0x426b86,_0x4afc89[_0x2f5d4a(0x105)]);return _0x5c62b3[0x0]&&_0x5c62b3[0x0][_0x2f5d4a(0x109)]?_0x5c62b3[0x0]['getFileName']():null;}catch(_0xcf307d){return logger[_0x2f5d4a(0x11a)](_0x2f5d4a(0x107)+_0xcf307d[_0x2f5d4a(0x10c)]),null;}})())||_0x4afc89[_0x415102(0xf8)]||null;if(!_0x5d8569)return;}let _0x26e14d=_0x4afc89[_0x415102(0xaa)];if(!_0x26e14d)_0x26e14d=_0x3e423c[_0x415102(0x115)](uuidv4),_0x4afc89['hookAnalyticsId']=_0x26e14d;else _0x4afc89[_0x415102(0xaf)]&&(_0x26e14d=_0x3e423c['CKEIN'](uuidv4),_0x4afc89[_0x415102(0xaa)]=_0x26e14d,delete _0x4afc89[_0x415102(0xaf)]);_0x3e423c['eYFXz'](_0x35bd91,_0x3e423c[_0x415102(0xbf)])&&(_0x4afc89['started_at']=new Date()['toISOString']());const _0x2dac1d=_0x3e423c[_0x415102(0x8d)](getTestIdentifierForHook,_0x4afc89);!global[_0x415102(0x134)]&&(global['__workerDetails']={});if(_0x3e423c[_0x415102(0x15f)](_0x35bd91,_0x3e423c[_0x415102(0xbf)])){global['__workerDetails'][_0x415102(0xb6)]={'hookUUID':_0x26e14d,'testIdentifier':_0x2dac1d,'hookType':_0x4afc89['type'],'startedAt':new Date()[_0x415102(0x15d)]()};const _0x4a8470=BrowserstackCLI['getInstance']()[_0x415102(0xbd)]();_0x4a8470&&_0x4a8470[_0x415102(0x116)]&&_0x4a8470[_0x415102(0x116)](_0x2dac1d,_0x26e14d,_0x4afc89[_0x415102(0x156)]);}const _0x5738c1=await jestUtils[_0x415102(0x147)](_0x4afc89,_0x26e14d,_0x35bd91,_0x2dac1d);if(!_0x5738c1)return;const _0x502b2d=_0x3e423c['NXBrh'](mapHookTypeToState,_0x4afc89[_0x415102(0x156)]),_0x5e0352=_0x3e423c['YUBbP'](_0x35bd91,_0x3e423c[_0x415102(0xbf)])?HookState[_0x415102(0xde)]:HookState[_0x415102(0xc1)],_0x45b39e=BrowserstackCLI['getInstance']()[_0x415102(0xbd)]();if(_0x45b39e){const _0x512774={};_0x512774[_0x415102(0x14c)]=_0x5738c1,await _0x45b39e['trackEvent'](_0x502b2d,_0x5e0352,_0x512774);if(_0x3e423c[_0x415102(0x11c)](_0x35bd91,_0x3e423c[_0x415102(0xd3)])){const _0x572ac6={};_0x572ac6[_0x415102(0x13a)]=_0x2dac1d,_0x572ac6['type']=_0x3e423c['MgouC'],await _0x45b39e['trackEvent'](TestFrameworkState['LOG_REPORT'],HookState['POST'],_0x572ac6),global['__workerDetails']&&global[_0x415102(0x134)][_0x415102(0xb6)]&&_0x3e423c[_0x415102(0x15f)](global[_0x415102(0x134)][_0x415102(0xb6)][_0x415102(0x142)],_0x26e14d)&&delete global[_0x415102(0x134)][_0x415102(0xb6)],_0x45b39e[_0x415102(0x10f)]&&_0x45b39e['removeActiveHook'](_0x2dac1d,_0x26e14d);}}}catch(_0x351f1e){logger[_0x415102(0x155)]('Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20'+util[_0x415102(0x146)](_0x351f1e));throw _0x351f1e;}}function a17_0x167e(_0xe28a49,_0x25e316){const _0xa7a4b5=a17_0xa7a4();return a17_0x167e=function(_0x167ef8,_0x5bd0a9){_0x167ef8=_0x167ef8-0x89;let _0x60d576=_0xa7a4b5[_0x167ef8];return _0x60d576;},a17_0x167e(_0xe28a49,_0x25e316);}async function handleTestEventCLI(_0x38a0b5,_0x5764fa,_0x5748bd){const _0x622246=a17_0x108729,_0x13ec0a={};_0x13ec0a['gTmQA']=function(_0x5ded70,_0x19f87f){return _0x5ded70===_0x19f87f;},_0x13ec0a[_0x622246(0x11b)]=_0x622246(0x104),_0x13ec0a[_0x622246(0xfb)]=function(_0x100d70,_0x233cfa){return _0x100d70>_0x233cfa;},_0x13ec0a['IyXyG']=function(_0x70756,_0x4f7c3c){return _0x70756&&_0x4f7c3c;},_0x13ec0a['QUguc']=_0x622246(0x103),_0x13ec0a[_0x622246(0xb1)]=_0x622246(0x137),_0x13ec0a['SHuNy']=function(_0xb874ef,_0x3bf2c2){return _0xb874ef&&_0x3bf2c2;},_0x13ec0a['NcImi']=function(_0x52ddf3,_0x484fb6){return _0x52ddf3&&_0x484fb6;},_0x13ec0a[_0x622246(0x159)]='test';const _0x4addca=_0x13ec0a;logger[_0x622246(0x11a)]('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x5764fa);try{let _0x105c2a;if(_0x4addca[_0x622246(0x136)](_0x5764fa,_0x4addca[_0x622246(0x11b)])){_0x105c2a=jestUtils[_0x622246(0x161)](_0x38a0b5),global[_0x622246(0xf3)]=_0x105c2a,_0x38a0b5[_0x622246(0xff)]=_0x105c2a,_0x38a0b5['id']=_0x105c2a,_0x38a0b5['started_at']=new Date()['toISOString']();const _0x262066=_0x5748bd[_0x622246(0x166)];_0x5748bd[_0x622246(0x166)]=_0x38a0b5,_0x38a0b5[_0x622246(0xbb)]=null;if(_0x4addca[_0x622246(0xfb)](_0x38a0b5[_0x622246(0x10d)],0x0)&&_0x262066&&_0x4addca[_0x622246(0x136)](_0x262066['title'],_0x38a0b5['title'])){_0x38a0b5[_0x622246(0xbb)]=_0x262066[_0x622246(0xff)];const _0x4438ee=await jestUtils[_0x622246(0xc9)](_0x38a0b5,_0x105c2a,_0x4addca[_0x622246(0x11b)]),_0x13a6bd=BrowserstackCLI[_0x622246(0xbe)]()[_0x622246(0xbd)]();if(_0x4addca[_0x622246(0x102)](_0x4438ee,_0x13a6bd)){const _0xf17f0d={};_0xf17f0d[_0x622246(0xd4)]=_0x4438ee,await _0x13a6bd[_0x622246(0xc2)](TestFrameworkState[_0x622246(0x157)],HookState[_0x622246(0xde)],_0xf17f0d);}_0x262066[_0x622246(0xb8)]=_0x4addca[_0x622246(0xf7)];const _0x4d0738=await jestUtils[_0x622246(0xc9)](_0x262066,_0x262066[_0x622246(0xff)],_0x4addca[_0x622246(0xb1)]);if(_0x4addca[_0x622246(0xd7)](_0x4d0738,_0x13a6bd)){const _0x4772fd={};_0x4772fd[_0x622246(0xd4)]=_0x4d0738,await _0x13a6bd[_0x622246(0xc2)](TestFrameworkState['TEST'],HookState['POST'],_0x4772fd);}}else{const _0x15bd45=await jestUtils['createTestFrameworkData'](_0x38a0b5,_0x105c2a,_0x4addca[_0x622246(0x11b)]),_0x594e84=BrowserstackCLI[_0x622246(0xbe)]()['getTestFramework']();if(_0x4addca[_0x622246(0x102)](_0x15bd45,_0x594e84)){const _0xb3ecf5={};_0xb3ecf5[_0x622246(0xd4)]=_0x15bd45,await _0x594e84['trackEvent'](TestFrameworkState[_0x622246(0x157)],HookState[_0x622246(0xde)],_0xb3ecf5);}}}else{_0x105c2a=_0x38a0b5['testAnalyticsId']||_0x38a0b5['id']||global[_0x622246(0xf3)];const _0x2e55ee=await jestUtils[_0x622246(0xc9)](_0x38a0b5,_0x105c2a,_0x5764fa),_0x521636=BrowserstackCLI[_0x622246(0xbe)]()[_0x622246(0xbd)]();if(_0x4addca[_0x622246(0xb2)](_0x2e55ee,_0x521636)){const _0x143ace={};_0x143ace[_0x622246(0xd4)]=_0x2e55ee,_0x143ace[_0x622246(0x11e)]=_0x38a0b5,_0x143ace[_0x622246(0x14f)]=_0x105c2a,await _0x521636['trackEvent'](TestFrameworkState[_0x622246(0x157)],HookState[_0x622246(0xc1)],_0x143ace);const _0x1c8f47={};_0x1c8f47[_0x622246(0x13a)]=_0x105c2a,_0x1c8f47[_0x622246(0x156)]=_0x4addca[_0x622246(0x159)],await _0x521636[_0x622246(0xc2)](TestFrameworkState[_0x622246(0x9c)],HookState['POST'],_0x1c8f47);}}}catch(_0x2583a8){logger[_0x622246(0x155)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util[_0x622246(0x146)](_0x2583a8));throw _0x2583a8;}}exportsI[a17_0x108729(0xf9)]=(..._0x301c48)=>{const _0x1e5c46=a17_0x108729,_0x378bb4={'ViVaR':function(_0x594bc4,_0x166f22){return _0x594bc4(_0x166f22);},'Vccvv':_0x1e5c46(0x8f),'gmPbc':function(_0xfc6b7f,_0x1f8898){return _0xfc6b7f(_0x1f8898);},'kACgS':_0x1e5c46(0xef),'UyPLM':function(_0x4ba0bf,_0x1b6e69){return _0x4ba0bf===_0x1b6e69;},'FxDWg':'ROOT_DESCRIBE_BLOCK','fFWnQ':function(_0x91f702){return _0x91f702();},'WGOrb':function(_0xda203b,_0x46db2c){return _0xda203b(_0x46db2c);},'mGtcs':function(_0x16388,_0x25eae7,_0x524a3f,_0x5320d8){return _0x16388(_0x25eae7,_0x524a3f,_0x5320d8);},'bqAAS':_0x1e5c46(0x114),'Jdwoi':_0x1e5c46(0x110),'eGNpZ':_0x1e5c46(0x12d),'zZDcW':function(_0x1240a2,_0x24f792){return _0x1240a2(_0x24f792);},'LwmpL':_0x1e5c46(0x158),'VzEWC':_0x1e5c46(0x113),'dbhii':_0x1e5c46(0x122),'XTHAD':_0x1e5c46(0x124),'rtejP':function(_0x5089d6,_0x4bf3da){return _0x5089d6>_0x4bf3da;},'GMftN':function(_0x23f853){return _0x23f853();},'OkCQH':function(_0x59a2ec,_0x261e9f){return _0x59a2ec(_0x261e9f);},'VVrjt':_0x1e5c46(0x12a),'xSiyE':function(_0x4d7ed0,_0x9186e8){return _0x4d7ed0!==_0x9186e8;},'xdkvu':'\x20>\x20','dgXGL':_0x1e5c46(0x104),'oyRgA':function(_0x287a9c,_0x3a28f0){return _0x287a9c(_0x3a28f0);},'VxsQi':function(_0x1a1de6){return _0x1a1de6();},'awpAS':_0x1e5c46(0xca),'ihzYo':function(_0x3bdc24,_0x1e5805){return _0x3bdc24===_0x1e5805;},'AVSEq':'fail','qMJwL':_0x1e5c46(0x103),'XKIkX':'passed','NbRPG':function(_0xa7856e,_0x47e1f8){return _0xa7856e||_0x47e1f8;},'dQrzL':_0x1e5c46(0x137),'oAmYh':_0x1e5c46(0xb7),'bsugb':function(_0x3c1f7e,_0xf35d69){return _0x3c1f7e(_0xf35d69);},'QNcCN':function(_0x2fcd40){return _0x2fcd40();},'rlpoJ':'TestRunSkipped','aUsVd':function(_0x2296a5){return _0x2296a5();},'eauTU':_0x1e5c46(0x96),'PsKMX':_0x1e5c46(0x98),'yBRJl':function(_0x444754){return _0x444754();},'FdWCQ':_0x1e5c46(0x154),'jVZfM':function(_0xa28265,_0x78cc48){return _0xa28265===_0x78cc48;},'BAydx':function(_0x55a642,_0x36086b){return _0x55a642(_0x36086b);},'nqBJx':function(_0x3b11bb,_0x1d9c55,_0x6050e8){return _0x3b11bb(_0x1d9c55,_0x6050e8);},'TrWQI':_0x1e5c46(0x10b),'YKQVh':_0x1e5c46(0xc5),'keUGd':_0x1e5c46(0x12c),'bFVqQ':function(_0x12d31){return _0x12d31();},'lbaPg':function(_0x50c080,_0x20894e,_0x560794){return _0x50c080(_0x20894e,_0x560794);},'WTbEW':_0x1e5c46(0xa4),'qxMcV':function(_0x17417e,..._0x336c83){return _0x17417e(..._0x336c83);}};try{logger[_0x1e5c46(0x11a)]('[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub='+_0x378bb4[_0x1e5c46(0xa3)](shouldProcessEventForTesthub)+',\x20BROWSERSTACK_PUPPETEER='+process[_0x1e5c46(0x129)][_0x1e5c46(0xfe)]);const _0x2308e0=_0x301c48&&_0x301c48[0x0]?_0x301c48[0x0]:{};let _0x414edd=0x0;try{if(_0x2308e0[_0x1e5c46(0x149)]&&_0x378bb4['UyPLM'](typeof _0x2308e0[_0x1e5c46(0x149)][_0x1e5c46(0x164)],_0x378bb4['FdWCQ']))_0x414edd=_0x2308e0[_0x1e5c46(0x149)][_0x1e5c46(0x164)];else{if(_0x2308e0[_0x1e5c46(0x117)]&&_0x378bb4[_0x1e5c46(0xb3)](typeof _0x2308e0[_0x1e5c46(0x117)]['browserstackPlatformIndex'],_0x378bb4[_0x1e5c46(0xe6)]))_0x414edd=_0x2308e0[_0x1e5c46(0x117)][_0x1e5c46(0x164)];else global[_0x1e5c46(0xa0)]&&_0x378bb4[_0x1e5c46(0xec)](typeof global[_0x1e5c46(0xa0)][_0x1e5c46(0x164)],_0x378bb4['FdWCQ'])&&(_0x414edd=global[_0x1e5c46(0xa0)][_0x1e5c46(0x164)]);}}catch(_0x4de387){logger[_0x1e5c46(0x11a)](_0x1e5c46(0x167)+util[_0x1e5c46(0x146)](_0x4de387));}global[_0x1e5c46(0xb4)]=_0x414edd,process['env'][_0x1e5c46(0x14b)]=_0x378bb4[_0x1e5c46(0x93)](String,_0x414edd);const _0x6d2749=new ObservabilityReporter();!_initializedPlatformIndices[_0x1e5c46(0x101)](_0x414edd)?(logger['debug'](_0x1e5c46(0x118)+_0x414edd),_initializedPlatformIndices[_0x1e5c46(0xe9)](_0x414edd),_0x378bb4[_0x1e5c46(0xa3)](shouldProcessEventForTesthub)&&(_0x378bb4[_0x1e5c46(0x13f)](patchConsoleLogger),_0x6d2749[_0x1e5c46(0xf6)]())):logger[_0x1e5c46(0x11a)](_0x1e5c46(0x100)+_0x414edd+_0x1e5c46(0xfd));let _0xe99603;try{_0xe99603=_0x378bb4['nqBJx'](requireModule,_0x378bb4['TrWQI'],_0x378bb4[_0x1e5c46(0x127)]);}catch{_0xe99603=_0x378bb4['gmPbc'](requireModule,_0x378bb4[_0x1e5c46(0x127)]);}let _0x1503f8;try{_0x1503f8=_0x378bb4[_0x1e5c46(0xfc)](requireModule,_0x378bb4[_0x1e5c46(0x12b)],_0x378bb4[_0x1e5c46(0x127)])[_0x1e5c46(0x99)];}catch{_0x1503f8=_0x378bb4[_0x1e5c46(0x15e)](requireModule,_0x378bb4['YKQVh'])[_0x1e5c46(0x99)]||(()=>({}));}const _0x1de73f=BrowserstackCLI[_0x1e5c46(0xbe)]()[_0x1e5c46(0x11f)]();(_0x378bb4[_0x1e5c46(0xab)](shouldProcessEventForTesthub)||_0x1de73f)&&_0xe99603[_0x1e5c46(0xc3)](_0x378bb4['lbaPg'](o11yErrorHandler,async(_0x3f68b5,_0x56eca8)=>{const _0x4caf07=_0x1e5c46;switch(_0x3f68b5['name']){case _0x378bb4[_0x4caf07(0xf2)]:if(_0x3f68b5['hook']['fn']&&_0x3f68b5['hook']['fn'][_0x4caf07(0xa5)]()['match'](/browserstack internal helper hook/))break;if(_0x3f68b5['hook'][_0x4caf07(0x160)]&&_0x378bb4[_0x4caf07(0xb3)](_0x3f68b5[_0x4caf07(0xcc)]['parent'][_0x4caf07(0xe4)],_0x378bb4[_0x4caf07(0xba)])){const _0x5aa0f1=_0x3f68b5[_0x4caf07(0xcc)][_0x4caf07(0x105)]&&((()=>{const _0x53ef42=_0x4caf07;try{const _0xba41a0=_0x378bb4[_0x53ef42(0xa1)](require,_0x378bb4[_0x53ef42(0x145)]),_0xbab39e=_0xba41a0[_0x53ef42(0xb9)][_0x53ef42(0x112)](_0xba41a0,_0x3f68b5['hook'][_0x53ef42(0x105)]);return _0xbab39e[0x0]&&_0xbab39e[0x0][_0x53ef42(0x109)]?_0xbab39e[0x0]['getFileName']():null;}catch(_0x362237){return logger[_0x53ef42(0x11a)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x362237[_0x53ef42(0x10c)]),null;}})())||_0x3f68b5[_0x4caf07(0xcc)][_0x4caf07(0xf8)]||null;if(!_0x5aa0f1)break;}if(BrowserstackCLI['getInstance']()[_0x4caf07(0x11f)]()&&await _0x378bb4['fFWnQ'](isCLIReady)){if(_0x378bb4['WGOrb'](shouldProcessEventForTesthub,testHubConstants[_0x4caf07(0x14d)][_0x4caf07(0xa9)]))try{await _0x378bb4['mGtcs'](handleHookEventCLI,_0x3f68b5[_0x4caf07(0xcc)],_0x378bb4[_0x4caf07(0xb0)],_0x56eca8);break;}catch(_0x5e7c0b){_0x378bb4['ViVaR'](debug,_0x4caf07(0xb5)+util[_0x4caf07(0x146)](_0x5e7c0b));}}if(_0x378bb4[_0x4caf07(0x8e)](shouldProcessEventForTesthub,testHubConstants[_0x4caf07(0x14d)][_0x4caf07(0xa9)])){if(!_0x3f68b5[_0x4caf07(0xcc)]['hookAnalyticsId']){const _0x36b762=TestDetails[_0x4caf07(0x13e)](process[_0x4caf07(0x15a)]+':hookAnalyticsId');_0x3f68b5['hook']['hookAnalyticsId']=_0x36b762;}else _0x3f68b5[_0x4caf07(0xcc)]['markedStatus']&&(_0x3f68b5[_0x4caf07(0xcc)][_0x4caf07(0xaa)]=TestDetails[_0x4caf07(0x13e)](process['pid']+':hookAnalyticsId'),delete _0x3f68b5[_0x4caf07(0xcc)][_0x4caf07(0xaf)]);_0x3f68b5[_0x4caf07(0xcc)][_0x4caf07(0xf0)]=new Date()['toISOString'](),await _0x6d2749[_0x4caf07(0x138)](_0x3f68b5[_0x4caf07(0xcc)],undefined,![],_0x378bb4[_0x4caf07(0xb0)]);}break;case _0x378bb4[_0x4caf07(0xc0)]:if(BrowserstackCLI[_0x4caf07(0xbe)]()[_0x4caf07(0x11f)]()&&await _0x378bb4['fFWnQ'](isCLIReady)){if(_0x378bb4[_0x4caf07(0x8c)](shouldProcessEventForTesthub,testHubConstants[_0x4caf07(0x14d)][_0x4caf07(0x168)]))try{await _0x378bb4[_0x4caf07(0x125)](handleHookEventCLI,_0x3f68b5[_0x4caf07(0xcc)],_0x378bb4[_0x4caf07(0x14e)],_0x56eca8);break;}catch(_0x3dc254){_0x378bb4[_0x4caf07(0x8e)](debug,_0x4caf07(0xb5)+util[_0x4caf07(0x146)](_0x3dc254));}}_0x378bb4['zZDcW'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x4caf07(0x168)])&&(await _0x6d2749[_0x4caf07(0x138)](_0x3f68b5['hook'],undefined,![],_0x378bb4[_0x4caf07(0x14e)]),TestDetails['removeTestUUID'](process['pid']+_0x4caf07(0xdf)));break;case _0x378bb4[_0x4caf07(0x106)]:[_0x378bb4[_0x4caf07(0x120)],_0x378bb4['dbhii'],_0x378bb4[_0x4caf07(0xd1)]][_0x4caf07(0x10a)](_0x3f68b5[_0x4caf07(0xcc)][_0x4caf07(0x156)])&&(_0x6d2749['hook_failure']=_0x3f68b5[_0x4caf07(0xcc)][_0x4caf07(0x156)]),_0x56eca8[_0x4caf07(0xda)]&&_0x378bb4[_0x4caf07(0xa2)](_0x56eca8[_0x4caf07(0xda)][_0x4caf07(0xe1)],0x0)&&(_0x3f68b5[_0x4caf07(0xcc)][_0x4caf07(0x8a)]=[_0x56eca8['unhandledErrors'][0x0][0x0]]);if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x378bb4[_0x4caf07(0xd5)](isCLIReady)){if(_0x378bb4[_0x4caf07(0x8e)](shouldProcessEventForTesthub,testHubConstants[_0x4caf07(0x14d)][_0x4caf07(0x168)]))try{await _0x378bb4['mGtcs'](handleHookEventCLI,_0x3f68b5[_0x4caf07(0xcc)],_0x378bb4[_0x4caf07(0x14e)],_0x56eca8);break;}catch(_0x7a3728){_0x378bb4['OkCQH'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4caf07(0x146)](_0x7a3728));}}_0x378bb4['gmPbc'](shouldProcessEventForTesthub,testHubConstants[_0x4caf07(0x14d)]['HookFinished'])&&(await _0x6d2749[_0x4caf07(0x138)](_0x3f68b5[_0x4caf07(0xcc)],undefined,![],_0x378bb4['eGNpZ']),TestDetails[_0x4caf07(0xed)](process[_0x4caf07(0x15a)]+_0x4caf07(0xdf)));break;case _0x378bb4[_0x4caf07(0xa8)]:try{let _0x351b53=_0x3f68b5[_0x4caf07(0xd4)]['name']||'';try{let _0x385e60=_0x3f68b5[_0x4caf07(0xd4)]['parent'];const _0x5a2c19=[_0x351b53];while(_0x385e60&&_0x385e60[_0x4caf07(0xe4)]&&_0x378bb4[_0x4caf07(0x128)](_0x385e60['name'],_0x378bb4[_0x4caf07(0xba)])){_0x5a2c19[_0x4caf07(0x153)](_0x385e60['name']),_0x385e60=_0x385e60[_0x4caf07(0x160)];}_0x351b53=_0x5a2c19[_0x4caf07(0xfa)](_0x378bb4[_0x4caf07(0xcf)]);}catch(_0x12e7a9){logger[_0x4caf07(0x11a)](_0x4caf07(0x12f)+_0x12e7a9[_0x4caf07(0x10c)]);}process[_0x4caf07(0xa6)]=_0x351b53,process[_0x4caf07(0x151)]=null,process[_0x4caf07(0x121)]=null,logger[_0x4caf07(0x11a)](_0x4caf07(0x108)+_0x351b53+'\x22');if(!global[_0x4caf07(0x134)]){const _0x49b2e8={};_0x49b2e8[_0x4caf07(0xd9)]={},global[_0x4caf07(0x134)]=_0x49b2e8;}!global[_0x4caf07(0x134)]['currentTest']&&(global[_0x4caf07(0x134)][_0x4caf07(0xd9)]={});const _0x175d42={};_0x175d42[_0x4caf07(0xe3)]=_0x351b53,_0x175d42['name']=_0x351b53,global[_0x4caf07(0x134)][_0x4caf07(0xd9)][_0x4caf07(0x162)]=_0x175d42,global['browserstackTestName']=_0x351b53;}catch(_0x58614d){logger['debug']('[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20'+_0x58614d['message']);}if(BrowserstackCLI[_0x4caf07(0xbe)]()['isCliEnabled']()&&await _0x378bb4[_0x4caf07(0xd5)](isCLIReady))try{await _0x378bb4[_0x4caf07(0x125)](handleTestEventCLI,_0x3f68b5[_0x4caf07(0xd4)],_0x378bb4[_0x4caf07(0x91)],_0x6d2749);break;}catch(_0x25980f){_0x378bb4['oyRgA'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x25980f));}_0x378bb4['VxsQi'](shouldProcessEventForTesthub)&&await _0x6d2749[_0x4caf07(0x13d)](_0x3f68b5[_0x4caf07(0xd4)]);break;case _0x378bb4[_0x4caf07(0xce)]:_0x3f68b5[_0x4caf07(0xd4)]={..._0x378bb4[_0x4caf07(0xe8)](_0x1503f8,_0x3f68b5[_0x4caf07(0xd4)]),..._0x3f68b5['test']};try{const _0x2a1fbe=_0x3f68b5['test'][_0x4caf07(0x15b)]||[],_0x44eb7b=_0x378bb4[_0x4caf07(0xa2)](_0x2a1fbe['length'],0x0)||_0x378bb4['ihzYo'](_0x3f68b5[_0x4caf07(0xd4)][_0x4caf07(0x130)],_0x378bb4[_0x4caf07(0xae)]),_0x32620d=_0x44eb7b?_0x378bb4['qMJwL']:_0x378bb4[_0x4caf07(0x143)];let _0x80def1='';_0x44eb7b&&(_0x80def1=_0x2a1fbe[_0x4caf07(0xa7)](_0x1d6e52=>{const _0x7b4f6=_0x4caf07;if(Array[_0x7b4f6(0x148)](_0x1d6e52))return _0x1d6e52[_0x7b4f6(0xa7)](_0x440af7=>_0x440af7&&_0x440af7['message']||String(_0x440af7))['join'](';\x20');return _0x1d6e52&&_0x1d6e52[_0x7b4f6(0x10c)]||_0x378bb4[_0x7b4f6(0x8e)](String,_0x1d6e52);})[_0x4caf07(0xfa)](';\x20')),process[_0x4caf07(0x151)]=_0x32620d,process['_bstackTestFailureReason']=_0x378bb4[_0x4caf07(0x119)](_0x80def1,''),logger[_0x4caf07(0x11a)](_0x4caf07(0x111)+_0x32620d+'\x22'),global[_0x4caf07(0x134)]&&global['__workerDetails'][_0x4caf07(0xd9)]&&(!global[_0x4caf07(0x134)][_0x4caf07(0xd9)][_0x4caf07(0x162)]&&(global['__workerDetails'][_0x4caf07(0xd9)]['testInfo']={}),global['__workerDetails'][_0x4caf07(0xd9)][_0x4caf07(0x162)][_0x4caf07(0x130)]=_0x32620d,_0x44eb7b&&(global[_0x4caf07(0x134)][_0x4caf07(0xd9)][_0x4caf07(0x162)][_0x4caf07(0xee)]=_0x80def1));}catch(_0x4c5fa4){logger[_0x4caf07(0x11a)](_0x4caf07(0x12e)+_0x4c5fa4[_0x4caf07(0x10c)]);}if(!_0x3f68b5['test'][_0x4caf07(0xaf)]){_0x3f68b5[_0x4caf07(0xd4)][_0x4caf07(0xaf)]=!![];if(BrowserstackCLI[_0x4caf07(0xbe)]()[_0x4caf07(0x11f)]()&&await _0x378bb4[_0x4caf07(0xd5)](isCLIReady))try{await _0x378bb4[_0x4caf07(0x125)](handleTestEventCLI,_0x3f68b5[_0x4caf07(0xd4)],_0x378bb4[_0x4caf07(0xd0)],_0x6d2749);break;}catch(_0x4e055a){_0x378bb4['gmPbc'](debug,_0x4caf07(0xb5)+util[_0x4caf07(0x146)](_0x4e055a));}_0x378bb4[_0x4caf07(0xd5)](shouldProcessEventForTesthub)&&await _0x6d2749[_0x4caf07(0x138)](_0x3f68b5['test']);}break;case _0x378bb4[_0x4caf07(0x126)]:_0x3f68b5[_0x4caf07(0xd4)]={..._0x378bb4[_0x4caf07(0x15e)](_0x1503f8,_0x3f68b5['test']),..._0x3f68b5[_0x4caf07(0xd4)]};if(!_0x3f68b5[_0x4caf07(0xd4)][_0x4caf07(0xaf)]){_0x3f68b5[_0x4caf07(0xd4)]['markedStatus']=!![];if(BrowserstackCLI[_0x4caf07(0xbe)]()[_0x4caf07(0x11f)]()&&await _0x378bb4['QNcCN'](isCLIReady))try{await _0x378bb4[_0x4caf07(0x125)](handleTestEventCLI,_0x3f68b5['test'],_0x378bb4[_0x4caf07(0xc7)],_0x6d2749);break;}catch(_0x27fe00){_0x378bb4['gmPbc'](debug,_0x4caf07(0xb5)+util[_0x4caf07(0x146)](_0x27fe00));}_0x378bb4[_0x4caf07(0xf4)](shouldProcessEventForTesthub)&&await _0x6d2749[_0x4caf07(0x138)](_0x3f68b5[_0x4caf07(0xd4)],undefined,![],_0x378bb4['rlpoJ']);}break;case _0x378bb4['eauTU']:_0x6d2749[_0x4caf07(0x158)]=null;break;case _0x378bb4['PsKMX']:await RequestQueueHandler[_0x4caf07(0xbe)]()['shutdown'](),process['removeAllListeners']();break;default:}},_0x378bb4['WTbEW']));}catch(_0x69beb4){_0x378bb4[_0x1e5c46(0xa1)](debug,_0x1e5c46(0x92)+_0x69beb4);}return _0x378bb4[_0x1e5c46(0xea)](initInitialize,..._0x301c48);};function a17_0xa7a4(){const _0x46c694=['zshsl','NcImi','UyPLM','__bstackPlatformIndex','Error\x20routing\x20to\x20JestTestFramework:\x20','currentHook','test_skip','state','parse','FxDWg','retryOf','bootstrap','getTestFramework','getInstance','SbYxq','Jdwoi','POST','trackEvent','addEventHandler','../test-observability/test-details','jest-circus','424701WCGiut','rlpoJ','60PHbNww','createTestFrameworkData','test_done','23380UIVcIV','hook','afterAll','awpAS','xdkvu','dQrzL','XTHAD','cwikP','dfvXI','test','GMftN','66245YbNIdO','SHuNy','ZHIAw','currentTest','unhandledErrors','isRunning','24xUNBYC','ZjWIB','PRE',':hookAnalyticsId','getAutomationFrameworkDetail','length','Error\x20checking\x20CLI\x20readiness:\x20','title','name','forEach','FdWCQ','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','oyRgA','add','qxMcV','../../../helpers/test-observability/utils','jVZfM','removeTestUUID','failureMessage','hook_start','started_at','djQUz','kACgS','__jestCurrentTestIdentifier','aUsVd','../../v2/state/hookState','registerListeners','QUguc','file','initialize','join','QiZGd','nqBJx',',\x20re-registering\x20event\x20handler','BROWSERSTACK_PUPPETEER','testAnalyticsId','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','has','IyXyG','failed','TestRunStarted','asyncError','LwmpL','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','getFileName','includes','jest-circus/build/state.js','message','_currentRetry','120511lBkZbR','removeActiveHook','hook_success','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','call','beforeAll','HookRunStarted','CKEIN','setActiveHook','configuration','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','NbRPG','debug','GOJsn','YUBbP','setFrameworkDetail','originalTest','isCliEnabled','VzEWC','_bstackTestFailureReason','beforeEach','jest-circus/build/jestAdapterInit.js','afterEach','mGtcs','oAmYh','YKQVh','xSiyE','env','test_start','keUGd','jest-circus/build/utils.js','HookRunFinished','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','status','ExVko','../../v2/browserstackCLI','../../../helpers/logger','__workerDetails','GxHjd','gTmQA','TestRunFinished','sendTestRunEvent','CLI\x20is\x20enabled\x20and\x20running.','testUUID','9vHCWtp','oZIRJ','testStarted','setTestUUID','fFWnQ','BEFORE_ALL','JEST','hookUUID','XKIkX','78alGDYo','Vccvv','format','createHookData','isArray','config','11163196KPkwTt','BROWSERSTACK_PLATFORM_INDEX','hookData','EVENT','eGNpZ','testIdentifier','\x20for\x20hook\x20type:\x20','_bstackTestStatus','239234tZXcTB','unshift','number','error','type','TEST','hook_failure','bSDap','pid','errors','../../v2/utils/jest-utils','toISOString','bsugb','ojxLJ','parent','createIdentifierFromJestTest','testInfo','oNalI','browserstackPlatformIndex','KcQHB','current_test','Error\x20reading\x20platformIndex\x20from\x20args:\x20','HookFinished','../../../helpers/testhub/constants','errorsDetailed','../../v2/cliUtils','WGOrb','uihCR','gmPbc','stack-trace','../../../helpers/test-observability/requestQueueHandler','dgXGL','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','BAydx','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','97880LHEajU','run_describe_finish','../../../helpers/test-observability/error-handler','teardown','makeSingleTestResult','../../utils/constants','AFTER_ALL','LOG_REPORT','lHGcf','winstonLogger','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','jestConfig','ViVaR','rtejP','yBRJl','EventHandler','toString','_bstackTestName','map','VVrjt','HookStarted','hookAnalyticsId','bFVqQ','match','util','AVSEq','markedStatus','bqAAS'];a17_0xa7a4=function(){return _0x46c694;};return a17_0xa7a4();}try{Object['keys'](exportsI)[a17_0x108729(0xe5)](_0x1fc332=>{const _0x2724e3=a17_0x108729,_0x34ee43={'ZHIAw':function(_0x23801f,_0x4f71e6){return _0x23801f(_0x4f71e6);}};try{exports&&(exports[_0x1fc332]=exportsI[_0x1fc332]);}catch(_0x3caa25){_0x34ee43[_0x2724e3(0xd8)](debug,_0x2724e3(0xe7)+_0x3caa25);}});}catch(a17_0x46a88a){debug(a17_0x108729(0x9f)+a17_0x46a88a);}
@@ -1 +1 @@
1
- const a18_0x586c3d=a18_0x1549;(function(_0x507cad,_0x570fe4){const _0x2eab7e=a18_0x1549,_0x3171c5=_0x507cad();while(!![]){try{const _0x56139b=parseInt(_0x2eab7e(0xbe))/0x1+parseInt(_0x2eab7e(0xbc))/0x2+-parseInt(_0x2eab7e(0xbb))/0x3*(parseInt(_0x2eab7e(0xc7))/0x4)+-parseInt(_0x2eab7e(0xba))/0x5+parseInt(_0x2eab7e(0xc1))/0x6*(parseInt(_0x2eab7e(0xc4))/0x7)+-parseInt(_0x2eab7e(0xc8))/0x8*(-parseInt(_0x2eab7e(0xb6))/0x9)+-parseInt(_0x2eab7e(0xbf))/0xa*(-parseInt(_0x2eab7e(0xb9))/0xb);if(_0x56139b===_0x570fe4)break;else _0x3171c5['push'](_0x3171c5['shift']());}catch(_0x47a81d){_0x3171c5['push'](_0x3171c5['shift']());}}}(a18_0x4601,0xcffee));const Sequencer=require(a18_0x586c3d(0xb4))[a18_0x586c3d(0xc0)];function a18_0x4601(){const _0x3c1b20=['2277CnlFQC','filter','split','2371303zSgbED','8235585IskSSS','13989qlEMlU','957580jeNdtL','get','1280876FXyCyX','10TehlFC','default','192hOfMil','path','map','317086mSEhkG','env','exports','1132LSnqnM','12456KtYPOc','@jest/test-sequencer','JEST_TEST_ORDER'];a18_0x4601=function(){return _0x3c1b20;};return a18_0x4601();}function a18_0x1549(_0x4270ca,_0x4f55b1){const _0x460129=a18_0x4601();return a18_0x1549=function(_0x154955,_0x225fa2){_0x154955=_0x154955-0xb4;let _0x8cb954=_0x460129[_0x154955];return _0x8cb954;},a18_0x1549(_0x4270ca,_0x4f55b1);}class CustomSequencer extends Sequencer{['sort'](_0x165b9d){const _0x39a568=a18_0x586c3d,_0x1763f2=process[_0x39a568(0xc5)][_0x39a568(0xb5)];if(!_0x1763f2)return _0x165b9d;const _0x28afe9=_0x1763f2[_0x39a568(0xb8)](','),_0x451011=new Map(_0x165b9d['filter'](_0x118577=>_0x28afe9['includes'](_0x118577[_0x39a568(0xc2)]))[_0x39a568(0xc3)](_0x2f8a9c=>[_0x2f8a9c[_0x39a568(0xc2)],_0x2f8a9c]));return _0x28afe9[_0x39a568(0xc3)](_0x4a9416=>_0x451011[_0x39a568(0xbd)](_0x4a9416))[_0x39a568(0xb7)](Boolean);}}module[a18_0x586c3d(0xc6)]=CustomSequencer;
1
+ const a18_0x323ef7=a18_0x3b5a;(function(_0x28e909,_0xd7d05f){const _0x557e79=a18_0x3b5a,_0x293577=_0x28e909();while(!![]){try{const _0x12cbd0=-parseInt(_0x557e79(0x19e))/0x1+-parseInt(_0x557e79(0x19b))/0x2*(-parseInt(_0x557e79(0x19c))/0x3)+-parseInt(_0x557e79(0x18d))/0x4+-parseInt(_0x557e79(0x199))/0x5*(parseInt(_0x557e79(0x196))/0x6)+parseInt(_0x557e79(0x197))/0x7+-parseInt(_0x557e79(0x19d))/0x8*(parseInt(_0x557e79(0x195))/0x9)+parseInt(_0x557e79(0x18b))/0xa;if(_0x12cbd0===_0xd7d05f)break;else _0x293577['push'](_0x293577['shift']());}catch(_0x16d6d3){_0x293577['push'](_0x293577['shift']());}}}(a18_0x51b6,0x4489b));function a18_0x3b5a(_0x1142dd,_0x491d66){const _0x51b63f=a18_0x51b6();return a18_0x3b5a=function(_0x3b5a98,_0x4d4276){_0x3b5a98=_0x3b5a98-0x18b;let _0x365612=_0x51b63f[_0x3b5a98];return _0x365612;},a18_0x3b5a(_0x1142dd,_0x491d66);}const Sequencer=require(a18_0x323ef7(0x193))['default'];class CustomSequencer extends Sequencer{[a18_0x323ef7(0x192)](_0x2fe835){const _0x2bd2d3=a18_0x323ef7,_0x485020=process[_0x2bd2d3(0x198)]['JEST_TEST_ORDER'];if(!_0x485020)return _0x2fe835;const _0x220075=_0x485020[_0x2bd2d3(0x18f)](','),_0xb93f3=new Map(_0x2fe835['filter'](_0x9e66ac=>_0x220075[_0x2bd2d3(0x191)](_0x9e66ac[_0x2bd2d3(0x190)]))[_0x2bd2d3(0x19a)](_0x2733a9=>[_0x2733a9['path'],_0x2733a9]));return _0x220075[_0x2bd2d3(0x19a)](_0x42ce95=>_0xb93f3[_0x2bd2d3(0x18e)](_0x42ce95))[_0x2bd2d3(0x18c)](Boolean);}}function a18_0x51b6(){const _0x4c442a=['24XYiLff','3763697LTRfah','env','584920oKllXd','map','37662uSdsml','63xlgepV','2576536fbAyxi','96226JqXYpN','6542700Zrkeex','filter','1681728aRqbgH','get','split','path','includes','sort','@jest/test-sequencer','exports','9zQrCeb'];a18_0x51b6=function(){return _0x4c442a;};return a18_0x51b6();}module[a18_0x323ef7(0x194)]=CustomSequencer;