browserstack-node-sdk 1.47.1 → 1.47.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 (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/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/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -0
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a10_0x3144(){const _0x20ebbd=['80DUJYHr','bstack','492FaJlWk','1324935QDcpdF','48608HNmCHV','env','2599vozNhd','parse','qoLaY','qDlQS','After','\x22}}','KtUOc','HwgGq','VxVlN','GHQGx','executeScript','initQuit','passed','__skipSessionName','failed','uZPgo','Before','debug','../../helpers/logger','setDefaultTimeout','pickle','../../helpers/setKeepAlive','__timeout','cucumber','1085194ctxgda','timeout','eCHGY','cucumber/lib/index.js','CONFIG','104wUlcrn','__error_messages__','248256QWVxeY','riTYL','Inside\x20browserstack\x20After','browserstackAgentV2','result','432968IxJMsw','__platformCaps','toLowerCase','__driver','Error:\x20setting\x20status\x20at\x20After:\x20','sgCUt','platformCaps','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','skipSessionStatus','4eQWlxj','session_','389478IqEqiv','name','status','96blcPuu','../../index'];a10_0x3144=function(){return _0x20ebbd;};return a10_0x3144();}const a10_0x510d16=a10_0x5022;function a10_0x5022(_0x35e66d,_0x226d22){const _0x314403=a10_0x3144();return a10_0x5022=function(_0x502264,_0x59088d){_0x502264=_0x502264-0x79;let _0x2eabb0=_0x314403[_0x502264];return _0x2eabb0;},a10_0x5022(_0x35e66d,_0x226d22);}(function(_0x167c9e,_0x4fd485){const _0x5f41d3=a10_0x5022,_0x4036cd=_0x167c9e();while(!![]){try{const _0x2e34ed=-parseInt(_0x5f41d3(0x86))/0x1*(-parseInt(_0x5f41d3(0xa3))/0x2)+parseInt(_0x5f41d3(0x7b))/0x3+-parseInt(_0x5f41d3(0x79))/0x4*(parseInt(_0x5f41d3(0x83))/0x5)+-parseInt(_0x5f41d3(0x82))/0x6*(parseInt(_0x5f41d3(0x84))/0x7)+parseInt(_0x5f41d3(0xaa))/0x8+-parseInt(_0x5f41d3(0xa5))/0x9*(-parseInt(_0x5f41d3(0x80))/0xa)+-parseInt(_0x5f41d3(0x9e))/0xb*(-parseInt(_0x5f41d3(0x7e))/0xc);if(_0x2e34ed===_0x4fd485)break;else _0x4036cd['push'](_0x4036cd['shift']());}catch(_0x17ed61){_0x4036cd['push'](_0x4036cd['shift']());}}}(a10_0x3144,0x78c0c));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x510d16(0x9b)),cucumberModule=requireModule(a10_0x510d16(0xa1),a10_0x510d16(0x9d)),logger=require(a10_0x510d16(0x98))['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x510d16(0x96)],After=cucumberModule[a10_0x510d16(0x8a)],configuration=process[a10_0x510d16(0x85)][a10_0x510d16(0xa2)];if(configuration!==undefined){const config=JSON[a10_0x510d16(0x87)](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x510d16(0x93)]=!![]),global['__skipSessionStatus']=isTrue(config[a10_0x510d16(0xb2)]),require(a10_0x510d16(0x7f))[a10_0x510d16(0xa8)](config),global[a10_0x510d16(0xab)]=config[a10_0x510d16(0xb0)]||{};}global[a10_0x510d16(0x9c)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x510d16(0x99)];cucumberModule[a10_0x510d16(0x99)]=_0x179970=>{const _0x801fba=a10_0x510d16,_0x473a60={'VlMkE':function(_0x3e7793,_0x262d20){return _0x3e7793(_0x262d20);}};global[_0x801fba(0x9c)]=_0x179970,_0x473a60['VlMkE'](__setDefaultTimeout,_0x179970);};const a10_0x295188={};a10_0x295188[a10_0x510d16(0x7c)]=a10_0x510d16(0x81),Before(a10_0x295188,function(){const _0x3e00de=a10_0x510d16,_0x34e4c6={};_0x34e4c6[_0x3e00de(0x8d)]='Inside\x20browserstack\x20Before';const _0x21e6d2=_0x34e4c6;logger[_0x3e00de(0x97)](_0x21e6d2[_0x3e00de(0x8d)]),global[_0x3e00de(0xa4)]=[];});const a10_0x2e75a7={};a10_0x2e75a7['name']=a10_0x510d16(0x81),a10_0x2e75a7[a10_0x510d16(0x9f)]=0x2710,After(a10_0x2e75a7,function(_0x82350a,_0x48ee22){const _0x31ca79=a10_0x510d16,_0x51aa39={'VxVlN':function(_0x416050,_0x2a1b92){return _0x416050===_0x2a1b92;},'uZPgo':_0x31ca79(0x94),'GHQGx':function(_0xe92646,_0x3192ba,_0x31111a,_0x49c088){return _0xe92646(_0x3192ba,_0x31111a,_0x49c088);},'KtUOc':'\x20|\x20','qDlQS':function(_0x24ab00,_0x107b2b,_0x233308){return _0x24ab00(_0x107b2b,_0x233308);},'sgCUt':_0x31ca79(0x92),'riTYL':function(_0x184589){return _0x184589();},'eCHGY':function(_0xc1f6a3,_0x27b0a5){return _0xc1f6a3(_0x27b0a5);},'HyKei':function(_0x5d6ab6){return _0x5d6ab6();},'qoLaY':_0x31ca79(0xa7)};logger[_0x31ca79(0x97)](_0x51aa39[_0x31ca79(0x88)]),new Promise(async(_0x4ce4b6,_0x198c4a)=>{const _0x2a4ca1=_0x31ca79;let _0x23691b=![];try{await global[_0x2a4ca1(0xad)][_0x2a4ca1(0x7a)],_0x23691b=!![],!global[_0x2a4ca1(0x93)]&&await global[_0x2a4ca1(0xad)][_0x2a4ca1(0x90)](_0x2a4ca1(0xb1)+_0x82350a[_0x2a4ca1(0x9a)][_0x2a4ca1(0x7c)]+_0x2a4ca1(0x8b)),_0x51aa39[_0x2a4ca1(0x8e)](_0x82350a[_0x2a4ca1(0xa9)][_0x2a4ca1(0x7d)][_0x2a4ca1(0xac)](),_0x51aa39[_0x2a4ca1(0x95)])?await _0x51aa39[_0x2a4ca1(0x8f)](markSessionStatus,global[_0x2a4ca1(0xad)],_0x51aa39[_0x2a4ca1(0x95)],global[_0x2a4ca1(0xa4)]['join'](_0x51aa39[_0x2a4ca1(0x8c)])):await _0x51aa39[_0x2a4ca1(0x89)](markSessionStatus,global[_0x2a4ca1(0xad)],_0x51aa39[_0x2a4ca1(0xaf)]);}catch(_0x1bcff3){logger[_0x2a4ca1(0x97)](_0x2a4ca1(0xae)+_0x1bcff3);}if(_0x23691b)try{await global[_0x2a4ca1(0xad)][_0x2a4ca1(0x91)](),_0x51aa39[_0x2a4ca1(0xa6)](_0x4ce4b6);}catch(_0x1c6f2d){logger[_0x2a4ca1(0x97)]('Error:\x20quiting\x20at\x20After:\x20'+_0x1c6f2d),_0x51aa39[_0x2a4ca1(0xa0)](_0x198c4a,_0x1c6f2d);}else _0x51aa39['HyKei'](_0x198c4a);})['then'](()=>_0x48ee22());});
1
+ const a10_0x1fbdec=a10_0xaa4d;function a10_0xaa4d(_0x5cf4f9,_0x30e6b9){const _0x1a1d7b=a10_0x1a1d();return a10_0xaa4d=function(_0xaa4daa,_0x43ed15){_0xaa4daa=_0xaa4daa-0x158;let _0x1c49d4=_0x1a1d7b[_0xaa4daa];return _0x1c49d4;},a10_0xaa4d(_0x5cf4f9,_0x30e6b9);}(function(_0x452360,_0x16dbbb){const _0x50fb58=a10_0xaa4d,_0x52e154=_0x452360();while(!![]){try{const _0x2c45c1=parseInt(_0x50fb58(0x16c))/0x1*(parseInt(_0x50fb58(0x158))/0x2)+parseInt(_0x50fb58(0x167))/0x3+parseInt(_0x50fb58(0x15b))/0x4+-parseInt(_0x50fb58(0x189))/0x5+parseInt(_0x50fb58(0x160))/0x6+-parseInt(_0x50fb58(0x169))/0x7+-parseInt(_0x50fb58(0x184))/0x8;if(_0x2c45c1===_0x16dbbb)break;else _0x52e154['push'](_0x52e154['shift']());}catch(_0x5ebf29){_0x52e154['push'](_0x52e154['shift']());}}}(a10_0x1a1d,0x2f640));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule(a10_0x1fbdec(0x15c),a10_0x1fbdec(0x164)),logger=require(a10_0x1fbdec(0x17d))[a10_0x1fbdec(0x179)];modifyCommand(),setKeepAlive();function a10_0x1a1d(){const _0x2d2e3b=['browserstackAgentV2','__skipSessionName','LYjPb','GTvqC','__driver','nODfI','vdKIU','winstonLogger','result','__platformCaps','debug','../../helpers/logger','IxJMs','skipSessionStatus','Zwsjs','Error:\x20setting\x20status\x20at\x20After:\x20','skipSessionName','join','4221168vaEsln','Before','session_','ljTmh','rZXyU','338455GAoYhq','__error_messages__','hwRYW','2PVCMsC','cXlmN','status','1418492MuWyMY','cucumber/lib/index.js','\x22}}','Error:\x20quiting\x20at\x20After:\x20','platformCaps','73950chzRGH','then','__timeout','Inside\x20browserstack\x20Before','cucumber','ehDMY','name','1037127izSMIu','passed','1614025mokopm','Inside\x20browserstack\x20After','bstack','307367RDufAk','initQuit','setDefaultTimeout','CONFIG','parse','failed'];a10_0x1a1d=function(){return _0x2d2e3b;};return a10_0x1a1d();}const Before=cucumberModule[a10_0x1fbdec(0x185)],After=cucumberModule['After'],configuration=process['env'][a10_0x1fbdec(0x16f)];if(configuration!==undefined){const config=JSON[a10_0x1fbdec(0x170)](configuration);isTrue(config[a10_0x1fbdec(0x182)])&&(global[a10_0x1fbdec(0x173)]=!![]),global['__skipSessionStatus']=isTrue(config[a10_0x1fbdec(0x17f)]),require('../../index')[a10_0x1fbdec(0x172)](config),global[a10_0x1fbdec(0x17b)]=config[a10_0x1fbdec(0x15f)]||{};}global[a10_0x1fbdec(0x162)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a10_0x1fbdec(0x16e)]=_0x1297f9=>{const _0x32ea0a=a10_0x1fbdec,_0x570e60={'LYjPb':function(_0x82bff,_0x5b0ba2){return _0x82bff(_0x5b0ba2);}};global[_0x32ea0a(0x162)]=_0x1297f9,_0x570e60[_0x32ea0a(0x174)](__setDefaultTimeout,_0x1297f9);};const a10_0x1421ea={};a10_0x1421ea[a10_0x1fbdec(0x166)]=a10_0x1fbdec(0x16b),Before(a10_0x1421ea,function(){const _0x3a6f56=a10_0x1fbdec,_0x7b427b={};_0x7b427b[_0x3a6f56(0x175)]=_0x3a6f56(0x163);const _0x5cc330=_0x7b427b;logger[_0x3a6f56(0x17c)](_0x5cc330[_0x3a6f56(0x175)]),global[_0x3a6f56(0x18a)]=[];});const a10_0x237548={};a10_0x237548[a10_0x1fbdec(0x166)]=a10_0x1fbdec(0x16b),a10_0x237548['timeout']=0x2710,After(a10_0x237548,function(_0x4a5b30,_0x577c25){const _0x3df054=a10_0x1fbdec,_0x4840c4={'Zwsjs':function(_0x5f1c6a,_0x56b18d){return _0x5f1c6a===_0x56b18d;},'hwRYW':_0x3df054(0x171),'ljTmh':function(_0x2bc30d,_0x4901a1,_0x4ca93f,_0x37c2c3){return _0x2bc30d(_0x4901a1,_0x4ca93f,_0x37c2c3);},'rZXyU':'\x20|\x20','IxJMs':function(_0x19bf68,_0x327bba,_0x3ead2a){return _0x19bf68(_0x327bba,_0x3ead2a);},'nODfI':_0x3df054(0x168),'vdKIU':function(_0x561e19){return _0x561e19();},'aiaZH':function(_0x4d038a,_0x3fe7f7){return _0x4d038a(_0x3fe7f7);},'cXlmN':function(_0x29de4c){return _0x29de4c();},'ehDMY':_0x3df054(0x16a)};logger[_0x3df054(0x17c)](_0x4840c4[_0x3df054(0x165)]),new Promise(async(_0xde9117,_0x2969a8)=>{const _0x44fe6d=_0x3df054;let _0x19afd2=![];try{await global[_0x44fe6d(0x176)][_0x44fe6d(0x186)],_0x19afd2=!![],!global[_0x44fe6d(0x173)]&&await global['__driver']['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x4a5b30['pickle'][_0x44fe6d(0x166)]+_0x44fe6d(0x15d)),_0x4840c4[_0x44fe6d(0x180)](_0x4a5b30[_0x44fe6d(0x17a)][_0x44fe6d(0x15a)]['toLowerCase'](),_0x4840c4['hwRYW'])?await _0x4840c4[_0x44fe6d(0x187)](markSessionStatus,global[_0x44fe6d(0x176)],_0x4840c4[_0x44fe6d(0x18b)],global[_0x44fe6d(0x18a)][_0x44fe6d(0x183)](_0x4840c4[_0x44fe6d(0x188)])):await _0x4840c4[_0x44fe6d(0x17e)](markSessionStatus,global['__driver'],_0x4840c4[_0x44fe6d(0x177)]);}catch(_0x11fae8){logger[_0x44fe6d(0x17c)](_0x44fe6d(0x181)+_0x11fae8);}if(_0x19afd2)try{await global[_0x44fe6d(0x176)][_0x44fe6d(0x16d)](),_0x4840c4[_0x44fe6d(0x178)](_0xde9117);}catch(_0x8bca08){logger[_0x44fe6d(0x17c)](_0x44fe6d(0x15e)+_0x8bca08),_0x4840c4['aiaZH'](_0x2969a8,_0x8bca08);}else _0x4840c4[_0x44fe6d(0x159)](_0x2969a8);})[_0x3df054(0x161)](()=>_0x577c25());});
@@ -1 +1 @@
1
- const a11_0x53be8f=a11_0x1b91;function a11_0x1b91(_0x2d7d09,_0x21f44d){const _0x532036=a11_0x5320();return a11_0x1b91=function(_0x1b9197,_0x1ccf43){_0x1b9197=_0x1b9197-0x17b;let _0x56b8e9=_0x532036[_0x1b9197];return _0x56b8e9;},a11_0x1b91(_0x2d7d09,_0x21f44d);}(function(_0x5d4145,_0x4a930d){const _0x343c27=a11_0x1b91,_0x36903b=_0x5d4145();while(!![]){try{const _0x3990c0=parseInt(_0x343c27(0x189))/0x1*(parseInt(_0x343c27(0x17e))/0x2)+parseInt(_0x343c27(0x17f))/0x3+-parseInt(_0x343c27(0x183))/0x4+parseInt(_0x343c27(0x182))/0x5*(parseInt(_0x343c27(0x17c))/0x6)+-parseInt(_0x343c27(0x17b))/0x7+parseInt(_0x343c27(0x186))/0x8*(-parseInt(_0x343c27(0x185))/0x9)+-parseInt(_0x343c27(0x180))/0xa;if(_0x3990c0===_0x4a930d)break;else _0x36903b['push'](_0x36903b['shift']());}catch(_0x13e95b){_0x36903b['push'](_0x36903b['shift']());}}}(a11_0x5320,0xb17c3));function a11_0x5320(){const _0x3bff2b=['1878VPyFVr','../utils/constants','52362eoNQWY','1165413OhQhhM','978980njDPYl','@cucumber/cucumber/lib/index.js','13115RCJskF','2503604dEVbuH','cucumber','54TVOXuK','1233848uIkDKM','cucumber/lib/index.js','BSTACK_DELTA','47zqHOwf','../../helpers/helper','446691IhdzdV'];a11_0x5320=function(){return _0x3bff2b;};return a11_0x5320();}const {requireModule}=require(a11_0x53be8f(0x18a)),constants=require(a11_0x53be8f(0x17d));;let cucumberModule=null;try{cucumberModule=requireModule(a11_0x53be8f(0x181),'@cucumber/cucumber');}catch(a11_0x10ce82){cucumberModule=requireModule(a11_0x53be8f(0x187),a11_0x53be8f(0x184));}cucumberModule['setDefaultTimeout'](constants[a11_0x53be8f(0x188)]+global['__timeout']*0x1);
1
+ function a11_0x3044(_0x2e1dd2,_0x1b949e){const _0x4c5666=a11_0x4c56();return a11_0x3044=function(_0x304402,_0x4cde7c){_0x304402=_0x304402-0x15b;let _0x1ffb1b=_0x4c5666[_0x304402];return _0x1ffb1b;},a11_0x3044(_0x2e1dd2,_0x1b949e);}function a11_0x4c56(){const _0x2d24f4=['4473708QVpizO','5bASaFc','1440585ipKEPt','BSTACK_DELTA','232328BFyUuB','2821908NxvbSy','../utils/constants','__timeout','cucumber/lib/index.js','802311FpCVAR','3069745DJIURH','@cucumber/cucumber','@cucumber/cucumber/lib/index.js','cucumber','../../helpers/helper','2949416epUqdh'];a11_0x4c56=function(){return _0x2d24f4;};return a11_0x4c56();}const a11_0xc1efaf=a11_0x3044;(function(_0x46680e,_0x450785){const _0x2c882f=a11_0x3044,_0x300627=_0x46680e();while(!![]){try{const _0x585188=-parseInt(_0x2c882f(0x168))/0x1+-parseInt(_0x2c882f(0x163))/0x2+parseInt(_0x2c882f(0x161))/0x3+parseInt(_0x2c882f(0x164))/0x4*(-parseInt(_0x2c882f(0x160))/0x5)+parseInt(_0x2c882f(0x15f))/0x6+parseInt(_0x2c882f(0x169))/0x7+parseInt(_0x2c882f(0x15e))/0x8;if(_0x585188===_0x450785)break;else _0x300627['push'](_0x300627['shift']());}catch(_0x1de19f){_0x300627['push'](_0x300627['shift']());}}}(a11_0x4c56,0x63df1));const {requireModule}=require(a11_0xc1efaf(0x15d)),constants=require(a11_0xc1efaf(0x165));;let cucumberModule=null;try{cucumberModule=requireModule(a11_0xc1efaf(0x15b),a11_0xc1efaf(0x16a));}catch(a11_0x522265){cucumberModule=requireModule(a11_0xc1efaf(0x167),a11_0xc1efaf(0x15c));}cucumberModule['setDefaultTimeout'](constants[a11_0xc1efaf(0x162)]+global[a11_0xc1efaf(0x166)]*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a12_0x5434f4=a12_0x5244;(function(_0x48104c,_0x5b1e43){const _0x2b4c72=a12_0x5244,_0x333fc6=_0x48104c();while(!![]){try{const _0x13e069=-parseInt(_0x2b4c72(0x110))/0x1*(parseInt(_0x2b4c72(0xcd))/0x2)+parseInt(_0x2b4c72(0xe3))/0x3*(-parseInt(_0x2b4c72(0xe9))/0x4)+parseInt(_0x2b4c72(0xd3))/0x5+-parseInt(_0x2b4c72(0xee))/0x6+-parseInt(_0x2b4c72(0x107))/0x7+parseInt(_0x2b4c72(0xdc))/0x8*(-parseInt(_0x2b4c72(0xf1))/0x9)+parseInt(_0x2b4c72(0xfc))/0xa;if(_0x13e069===_0x5b1e43)break;else _0x333fc6['push'](_0x333fc6['shift']());}catch(_0x513278){_0x333fc6['push'](_0x333fc6['shift']());}}}(a12_0x54b6,0xa9611));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a12_0x5434f4(0xe8))[a12_0x5434f4(0xe2)],{URL}=require(a12_0x5434f4(0xf2)),helper=require(a12_0x5434f4(0xf8)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x5434f4(0xf5)),validHosts=function(_0x301b13){const _0x518a9f=a12_0x5434f4;return _0x301b13[_0x518a9f(0xec)](',')[_0x518a9f(0xe7)](_0x248719=>{const _0x110e41=_0x518a9f;try{new URL(_0x248719[_0x110e41(0xcf)]());}catch(_0x303c42){return![];}return!![];});},parseOnPremHosts=function(_0x1bf046){const _0x401dfe=a12_0x5434f4,_0x28128b={};_0x28128b[_0x401dfe(0xed)]=function(_0x30f5bc,_0x2af1f5){return _0x30f5bc===_0x2af1f5;},_0x28128b[_0x401dfe(0x10f)]=_0x401dfe(0xf9),_0x28128b[_0x401dfe(0xdf)]=_0x401dfe(0xf3),_0x28128b['pjjdd']=_0x401dfe(0xfe);const _0x438ad0=_0x28128b;return _0x1bf046[_0x401dfe(0xec)](',')[_0x401dfe(0x106)](_0x1301b8=>{const _0x5c03cc=_0x401dfe,_0x39bfdf=new URL(_0x1301b8['trim']()),_0x1acac0=_0x39bfdf[_0x5c03cc(0xde)],_0x35b7cc=_0x39bfdf['port']||(_0x438ad0['MWlxF'](_0x39bfdf[_0x5c03cc(0x102)],_0x438ad0['LsBie'])?_0x438ad0[_0x5c03cc(0xdf)]:'80'),_0x3a8022=_0x39bfdf[_0x5c03cc(0x102)][_0x5c03cc(0xff)](':',''),_0x18b41e=_0x438ad0[_0x5c03cc(0xed)](_0x3a8022,_0x438ad0['pjjdd'])?0x1:0x0;return _0x1acac0+','+_0x35b7cc+','+_0x18b41e;});},connectCommandBuilder=function(_0x4d2e34){const _0x4fd220=a12_0x5434f4,_0x23ee04={};_0x23ee04[_0x4fd220(0xd4)]=_0x4fd220(0x10c);const _0x3f797a=_0x23ee04,_0xdf4b4d={};_0xdf4b4d[_0x4fd220(0xf7)]=HELP_MESSAGES[_0x4fd220(0xfb)][_0x4fd220(0xd8)],_0xdf4b4d[_0x4fd220(0xca)]=_0x3f797a[_0x4fd220(0xd4)];const _0x544ff3={};_0x544ff3[_0x4fd220(0xf7)]=HELP_MESSAGES['options'][_0x4fd220(0xfd)],_0x544ff3[_0x4fd220(0xca)]=_0x3f797a[_0x4fd220(0xd4)],_0x544ff3[_0x4fd220(0xe1)]=!![];const _0x37b777={};return _0x37b777[_0x4fd220(0xd1)]=_0xdf4b4d,_0x37b777[_0x4fd220(0xfd)]=_0x544ff3,_0x4d2e34['options'](_0x37b777);},connectCommandHandler=async function(_0x12fce6){const _0x5efdd2=a12_0x5434f4,_0x21284f={'XbIkN':_0x5efdd2(0xdb),'ZtDAi':function(_0x43a17e,_0x3bc490){return _0x43a17e===_0x3bc490;},'owTXg':_0x5efdd2(0xcb),'Ntnvj':_0x5efdd2(0x105),'RLelS':_0x5efdd2(0xd5),'mygEe':function(_0x43142a,_0x578b9d){return _0x43142a(_0x578b9d);},'yCLYe':_0x5efdd2(0xf6),'tsoSA':_0x5efdd2(0x10d),'CVlcT':_0x5efdd2(0x101),'AszxU':'Failed\x20to\x20establish\x20connection.'};try{const _0x182e74=new BrowserStackSetup(_0x12fce6,_0x21284f['XbIkN']);_0x12fce6[_0x5efdd2(0xd9)]&&(_0x182e74[_0x5efdd2(0xf4)][_0x5efdd2(0xdd)]=_0x12fce6['bstackAccesskey']);if(_0x21284f[_0x5efdd2(0x103)](typeof _0x182e74[_0x5efdd2(0xf4)]['accessKey'],_0x21284f[_0x5efdd2(0x108)])){logger['error'](_0x21284f[_0x5efdd2(0xd0)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x5efdd2(0x10e)]);}const _0x5a24cf=_0x12fce6[_0x5efdd2(0xfd)];if(_0x21284f[_0x5efdd2(0x103)](typeof _0x5a24cf,_0x21284f[_0x5efdd2(0x108)])){logger[_0x5efdd2(0xce)](_0x21284f[_0x5efdd2(0xef)]);throw new Error(ERROR_MESSAGES[_0x5efdd2(0xfd)][_0x5efdd2(0x10e)]);}if(!_0x21284f[_0x5efdd2(0x104)](validHosts,_0x5a24cf)){logger[_0x5efdd2(0xce)](_0x21284f[_0x5efdd2(0xe0)]);throw new Error(ERROR_MESSAGES[_0x5efdd2(0xfd)][_0x5efdd2(0xd7)]);}const _0x3a70a9=_0x21284f['mygEe'](parseOnPremHosts,_0x5a24cf);_0x182e74[_0x5efdd2(0xf4)][_0x5efdd2(0x111)]=!![],_0x182e74[_0x5efdd2(0xf4)][_0x5efdd2(0xda)][_0x5efdd2(0xfa)]=_0x21284f[_0x5efdd2(0x112)],_0x182e74[_0x5efdd2(0xf4)][_0x5efdd2(0xda)][_0x5efdd2(0xd6)]=_0x3a70a9[_0x5efdd2(0xe5)](','),helper[_0x5efdd2(0xe6)](_0x182e74[_0x5efdd2(0xf4)]),await _0x182e74['setupBrowserstackLocal'](),logger[_0x5efdd2(0x109)](_0x21284f['CVlcT']);}catch(_0x18ffb4){logger['error'](_0x21284f['AszxU']);throw new Error(_0x18ffb4['toString']());}};function a12_0x5244(_0x29f010,_0x2dc1e7){const _0x54b647=a12_0x54b6();return a12_0x5244=function(_0x5244c3,_0xa345d2){_0x5244c3=_0x5244c3-0xca;let _0x45d032=_0x54b647[_0x5244c3];return _0x45d032;},a12_0x5244(_0x29f010,_0x2dc1e7);}function run(_0x486ded){const _0x474460=a12_0x5434f4,_0x1dfc11={};_0x1dfc11['orFJz']=_0x474460(0xd2),_0x1dfc11['TPgJS']=_0x474460(0x10a);const _0xf527f6=_0x1dfc11;_0x486ded[_0x474460(0xe4)](HELP_MESSAGES[_0x474460(0xeb)][_0x474460(0xea)])[_0x474460(0xeb)](_0xf527f6['orFJz'],HELP_MESSAGES[_0x474460(0xeb)][_0x474460(0xd2)],connectCommandBuilder,connectCommandHandler)[_0x474460(0xcc)]()['help'](_0xf527f6[_0x474460(0x100)])['epilogue'](HELP_MESSAGES[_0x474460(0xeb)][_0x474460(0x10b)]);}function a12_0x54b6(){const _0x386612=['https','replace','TPgJS','Connection\x20established\x20successfully.','protocol','ZtDAi','mygEe','BrowserStack\x20access\x20key\x20missing.','map','2666727gmkANs','owTXg','info','help','footer','string','integrations-repeater','missing','LsBie','13qgNtNd','browserstackLocal','tsoSA','type','undefined','demandCommand','26582EtEJYG','error','trim','Ntnvj','bstack-accesskey','connect','6892645NESAGL','aYCRI','Integration\x20hosts\x20missing.','only','invalid','bstackAccessKey','bstackAccesskey','browserStackLocalOptions','integrations','456gEWroR','accessKey','hostname','GJmui','yCLYe','demandOption','winstonLogger','1803AWHSmP','usage','join','setProxySettings','every','../../helpers/logger','4104tgfZzM','root','command','split','MWlxF','4546068ZsUwoQ','RLelS','exports','193383fljYzi','url','443','config','./constants','Hosts\x20not\x20valid','describe','../../helpers/helper','https:','localIdentifier','options','24680550BQAlMX','hosts'];a12_0x54b6=function(){return _0x386612;};return a12_0x54b6();}module[a12_0x5434f4(0xf0)]=run;
2
+ 'use strict';const a12_0x36ff1d=a12_0x5c11;(function(_0x8ae731,_0x1abae0){const _0x19b31f=a12_0x5c11,_0x15595d=_0x8ae731();while(!![]){try{const _0x33099f=-parseInt(_0x19b31f(0x1af))/0x1+-parseInt(_0x19b31f(0x1da))/0x2*(parseInt(_0x19b31f(0x1c4))/0x3)+-parseInt(_0x19b31f(0x1cb))/0x4+parseInt(_0x19b31f(0x1b1))/0x5*(parseInt(_0x19b31f(0x1d3))/0x6)+-parseInt(_0x19b31f(0x1e3))/0x7+parseInt(_0x19b31f(0x1b5))/0x8*(parseInt(_0x19b31f(0x1bd))/0x9)+parseInt(_0x19b31f(0x1ae))/0xa;if(_0x33099f===_0x1abae0)break;else _0x15595d['push'](_0x15595d['shift']());}catch(_0x33c411){_0x15595d['push'](_0x15595d['shift']());}}}(a12_0x1823,0x7233b));const {default:BrowserStackSetup}=require(a12_0x36ff1d(0x1e7)),logger=require(a12_0x36ff1d(0x1f1))[a12_0x36ff1d(0x1c2)],{URL}=require('url'),helper=require(a12_0x36ff1d(0x1ea)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x36ff1d(0x1ce)),validHosts=function(_0x38a551){const _0x1a2acd=a12_0x36ff1d;return _0x38a551[_0x1a2acd(0x1c1)](',')[_0x1a2acd(0x1e8)](_0x34e197=>{try{new URL(_0x34e197['trim']());}catch(_0x5b9e70){return![];}return!![];});},parseOnPremHosts=function(_0xf4ed12){const _0x570d4f=a12_0x36ff1d,_0x25dd76={};_0x25dd76[_0x570d4f(0x1bb)]=function(_0x220afc,_0x2da74f){return _0x220afc===_0x2da74f;},_0x25dd76[_0x570d4f(0x1f4)]=_0x570d4f(0x1e6),_0x25dd76['dqTBm']='443',_0x25dd76[_0x570d4f(0x1dd)]=function(_0x368e4b,_0xcf08bf){return _0x368e4b===_0xcf08bf;},_0x25dd76['jmpRD']=_0x570d4f(0x1d4);const _0x160a8=_0x25dd76;return _0xf4ed12[_0x570d4f(0x1c1)](',')['map'](_0x5c462b=>{const _0x4cfdb6=_0x570d4f,_0x44802e=new URL(_0x5c462b['trim']()),_0x53a819=_0x44802e[_0x4cfdb6(0x1e2)],_0x5999e7=_0x44802e[_0x4cfdb6(0x1d7)]||(_0x160a8['EOpyx'](_0x44802e[_0x4cfdb6(0x1bf)],_0x160a8[_0x4cfdb6(0x1f4)])?_0x160a8[_0x4cfdb6(0x1c5)]:'80'),_0x547fe3=_0x44802e['protocol'][_0x4cfdb6(0x1b6)](':',''),_0x377574=_0x160a8['JpSjW'](_0x547fe3,_0x160a8[_0x4cfdb6(0x1db)])?0x1:0x0;return _0x53a819+','+_0x5999e7+','+_0x377574;});},connectCommandBuilder=function(_0x55068b){const _0x4b1ea0=a12_0x36ff1d,_0x575ce={};_0x575ce[_0x4b1ea0(0x1ec)]=_0x4b1ea0(0x1b9);const _0x33bb6d=_0x575ce,_0x199e67={};_0x199e67[_0x4b1ea0(0x1df)]=HELP_MESSAGES[_0x4b1ea0(0x1b8)][_0x4b1ea0(0x1ca)],_0x199e67[_0x4b1ea0(0x1ba)]=_0x33bb6d[_0x4b1ea0(0x1ec)];const _0x4dedf4={};_0x4dedf4[_0x4b1ea0(0x1df)]=HELP_MESSAGES[_0x4b1ea0(0x1b8)][_0x4b1ea0(0x1dc)],_0x4dedf4['type']=_0x33bb6d['rBCAR'],_0x4dedf4[_0x4b1ea0(0x1c6)]=!![];const _0x28e1b4={};return _0x28e1b4['bstack-accesskey']=_0x199e67,_0x28e1b4[_0x4b1ea0(0x1dc)]=_0x4dedf4,_0x55068b[_0x4b1ea0(0x1b8)](_0x28e1b4);},connectCommandHandler=async function(_0x2fc9af){const _0x18436f=a12_0x36ff1d,_0x4f8998={'yegaC':_0x18436f(0x1cd),'pFunp':function(_0x5ca5cf,_0x29b47c){return _0x5ca5cf===_0x29b47c;},'tiFIO':_0x18436f(0x1b7),'kMsnu':'BrowserStack\x20access\x20key\x20missing.','Kvuzw':'Integration\x20hosts\x20missing.','BkQON':function(_0x4565cc,_0x24377f){return _0x4565cc(_0x24377f);},'JGhuG':'Hosts\x20not\x20valid','FzYbz':function(_0x43abc7,_0x3e0ad0){return _0x43abc7(_0x3e0ad0);},'GvosK':_0x18436f(0x1e9),'RObLQ':_0x18436f(0x1d5),'jMKfI':_0x18436f(0x1f3)};try{const _0x51210a=new BrowserStackSetup(_0x2fc9af,_0x4f8998[_0x18436f(0x1eb)]);_0x2fc9af['bstackAccesskey']&&(_0x51210a[_0x18436f(0x1ee)][_0x18436f(0x1c3)]=_0x2fc9af['bstackAccesskey']);if(_0x4f8998['pFunp'](typeof _0x51210a[_0x18436f(0x1ee)][_0x18436f(0x1c3)],_0x4f8998[_0x18436f(0x1e1)])){logger[_0x18436f(0x1d9)](_0x4f8998['kMsnu']);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x18436f(0x1ef)]);}const _0x5c1afa=_0x2fc9af[_0x18436f(0x1dc)];if(_0x4f8998[_0x18436f(0x1ed)](typeof _0x5c1afa,_0x4f8998[_0x18436f(0x1e1)])){logger[_0x18436f(0x1d9)](_0x4f8998[_0x18436f(0x1c8)]);throw new Error(ERROR_MESSAGES['hosts'][_0x18436f(0x1ef)]);}if(!_0x4f8998['BkQON'](validHosts,_0x5c1afa)){logger[_0x18436f(0x1d9)](_0x4f8998[_0x18436f(0x1d1)]);throw new Error(ERROR_MESSAGES[_0x18436f(0x1dc)][_0x18436f(0x1f2)]);}const _0xd4bc16=_0x4f8998[_0x18436f(0x1d8)](parseOnPremHosts,_0x5c1afa);_0x51210a[_0x18436f(0x1ee)][_0x18436f(0x1bc)]=!![],_0x51210a['config'][_0x18436f(0x1c7)][_0x18436f(0x1b3)]=_0x4f8998[_0x18436f(0x1b4)],_0x51210a[_0x18436f(0x1ee)][_0x18436f(0x1c7)]['only']=_0xd4bc16[_0x18436f(0x1d6)](','),helper[_0x18436f(0x1f0)](_0x51210a['config']),await _0x51210a[_0x18436f(0x1f5)](),logger[_0x18436f(0x1c9)](_0x4f8998[_0x18436f(0x1e5)]);}catch(_0x15163b){logger[_0x18436f(0x1d9)](_0x4f8998[_0x18436f(0x1b0)]);throw new Error(_0x15163b[_0x18436f(0x1e0)]());}};function a12_0x5c11(_0x205b5d,_0x1131de){const _0x182353=a12_0x1823();return a12_0x5c11=function(_0x5c1121,_0x3303ad){_0x5c1121=_0x5c1121-0x1ae;let _0x488762=_0x182353[_0x5c1121];return _0x488762;},a12_0x5c11(_0x205b5d,_0x1131de);}function a12_0x1823(){const _0x32af9f=['LNbre','setupBrowserstackLocal','6688780BruPJa','667161Hizkwe','jMKfI','474205SpviEf','connect','localIdentifier','GvosK','192wiVPle','replace','undefined','options','string','type','EOpyx','browserstackLocal','338679fnQyfF','footer','protocol','root','split','winstonLogger','accessKey','3keLsdB','dqTBm','demandOption','browserStackLocalOptions','Kvuzw','info','bstackAccessKey','441420GdtKfb','command','integrations','./constants','epilogue','help','JGhuG','demandCommand','36VeligJ','https','Connection\x20established\x20successfully.','join','port','FzYbz','error','792734InSgyp','jmpRD','hosts','JpSjW','edttX','describe','toString','tiFIO','hostname','3495898qpricZ','dHxJs','RObLQ','https:','../../helpers/BrowserStackSetup','every','integrations-repeater','../../helpers/helper','yegaC','rBCAR','pFunp','config','missing','setProxySettings','../../helpers/logger','invalid','Failed\x20to\x20establish\x20connection.'];a12_0x1823=function(){return _0x32af9f;};return a12_0x1823();}function run(_0x39360f){const _0x1ba158=a12_0x36ff1d,_0x19db40={};_0x19db40[_0x1ba158(0x1de)]='connect',_0x19db40[_0x1ba158(0x1e4)]=_0x1ba158(0x1d0);const _0x47800f=_0x19db40;_0x39360f['usage'](HELP_MESSAGES['command'][_0x1ba158(0x1c0)])[_0x1ba158(0x1cc)](_0x47800f[_0x1ba158(0x1de)],HELP_MESSAGES['command'][_0x1ba158(0x1b2)],connectCommandBuilder,connectCommandHandler)[_0x1ba158(0x1d2)]()[_0x1ba158(0x1d0)](_0x47800f[_0x1ba158(0x1e4)])[_0x1ba158(0x1cf)](HELP_MESSAGES[_0x1ba158(0x1cc)][_0x1ba158(0x1be)]);}module['exports']=run;
@@ -1 +1 @@
1
- var a13_0x3f55f2=a13_0x1437;(function(_0x3370ce,_0x5c8a79){var _0x2ebe05=a13_0x1437,_0x1165db=_0x3370ce();while(!![]){try{var _0x27b1ca=-parseInt(_0x2ebe05(0x1f1))/0x1*(parseInt(_0x2ebe05(0x1e9))/0x2)+parseInt(_0x2ebe05(0x1f7))/0x3*(-parseInt(_0x2ebe05(0x1eb))/0x4)+parseInt(_0x2ebe05(0x1f6))/0x5*(parseInt(_0x2ebe05(0x1f4))/0x6)+parseInt(_0x2ebe05(0x1f5))/0x7*(parseInt(_0x2ebe05(0x1fa))/0x8)+parseInt(_0x2ebe05(0x200))/0x9+-parseInt(_0x2ebe05(0x1f9))/0xa*(parseInt(_0x2ebe05(0x1fb))/0xb)+parseInt(_0x2ebe05(0x1f3))/0xc*(parseInt(_0x2ebe05(0x1ec))/0xd);if(_0x27b1ca===_0x5c8a79)break;else _0x1165db['push'](_0x1165db['shift']());}catch(_0xe6251f){_0x1165db['push'](_0x1165db['shift']());}}}(a13_0x1cfe,0xe729b));var a13_0x29c6d1={};a13_0x29c6d1[a13_0x3f55f2(0x1ee)]=a13_0x3f55f2(0x1fd),a13_0x29c6d1[a13_0x3f55f2(0x1f8)]=a13_0x3f55f2(0x202);function a13_0x1437(_0x5bcd8a,_0x31f57d){var _0x1cfed=a13_0x1cfe();return a13_0x1437=function(_0x1437f9,_0x9f14ad){_0x1437f9=_0x1437f9-0x1e8;var _0x5bf6a9=_0x1cfed[_0x1437f9];return _0x5bf6a9;},a13_0x1437(_0x5bcd8a,_0x31f57d);}var a13_0x4669fd={};a13_0x4669fd[a13_0x3f55f2(0x1f2)]=a13_0x3f55f2(0x1ff),a13_0x4669fd[a13_0x3f55f2(0x1fc)]=a13_0x3f55f2(0x1ef),a13_0x4669fd['footer']=a13_0x3f55f2(0x201);function a13_0x1cfe(){var _0x3dd707=['bstackAccessKey','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','ERROR_MESSAGES','559879rTQMta','root','168adTYkJ','60CjQSMo','1743rOgJwh','430490QYjEei','551604ippQdC','hosts','101150GFeltz','33008HahkUC','1507fXWqbS','connect','Specify\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.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','698499nZUYac','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','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.','HELP_MESSAGES','6UKNEgN','missing','36FCKfHq','3436719WuMgWm','options'];a13_0x1cfe=function(){return _0x3dd707;};return a13_0x1cfe();}var a13_0x21dc32={};a13_0x21dc32[a13_0x3f55f2(0x1ed)]=a13_0x29c6d1,a13_0x21dc32['command']=a13_0x4669fd,exports[a13_0x3f55f2(0x1e8)]=a13_0x21dc32;var a13_0x155ac3={};a13_0x155ac3[a13_0x3f55f2(0x1ea)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a13_0x1c7b50={};a13_0x1c7b50[a13_0x3f55f2(0x1ea)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x1c7b50['invalid']=a13_0x3f55f2(0x1fe);var a13_0x485605={};a13_0x485605[a13_0x3f55f2(0x1ee)]=a13_0x155ac3,a13_0x485605[a13_0x3f55f2(0x1f8)]=a13_0x1c7b50,exports[a13_0x3f55f2(0x1f0)]=a13_0x485605;
1
+ var a13_0x346a06=a13_0x3c1a;(function(_0xcc2ac4,_0x542703){var _0x4369d5=a13_0x3c1a,_0x5c3836=_0xcc2ac4();while(!![]){try{var _0x4d7f81=-parseInt(_0x4369d5(0x134))/0x1*(parseInt(_0x4369d5(0x12a))/0x2)+parseInt(_0x4369d5(0x13a))/0x3+-parseInt(_0x4369d5(0x12f))/0x4+-parseInt(_0x4369d5(0x13b))/0x5*(-parseInt(_0x4369d5(0x133))/0x6)+-parseInt(_0x4369d5(0x13c))/0x7+-parseInt(_0x4369d5(0x126))/0x8*(-parseInt(_0x4369d5(0x135))/0x9)+parseInt(_0x4369d5(0x13f))/0xa;if(_0x4d7f81===_0x542703)break;else _0x5c3836['push'](_0x5c3836['shift']());}catch(_0x216c95){_0x5c3836['push'](_0x5c3836['shift']());}}}(a13_0xdde7,0x6298f));var a13_0x340312={};a13_0x340312[a13_0x346a06(0x129)]=a13_0x346a06(0x130),a13_0x340312[a13_0x346a06(0x127)]=a13_0x346a06(0x128);var a13_0x1be9b1={};function a13_0xdde7(){var _0x51f3f4=['root','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','4069194ugPAtd','1Declbw','2484wYgkkA','command','HELP_MESSAGES','missing','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','437241jrBLMF','5VahOeH','4717062ZZSBCN','ERROR_MESSAGES','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','5074010BtcSJA','footer','10176TgeMoK','hosts','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.','bstackAccessKey','164568ToOsVO','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','options','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.','connect','2089656RiUNEI','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.'];a13_0xdde7=function(){return _0x51f3f4;};return a13_0xdde7();}a13_0x1be9b1[a13_0x346a06(0x131)]=a13_0x346a06(0x12b),a13_0x1be9b1[a13_0x346a06(0x12e)]=a13_0x346a06(0x13e),a13_0x1be9b1[a13_0x346a06(0x125)]=a13_0x346a06(0x139);var a13_0x58174b={};a13_0x58174b[a13_0x346a06(0x12c)]=a13_0x340312,a13_0x58174b[a13_0x346a06(0x136)]=a13_0x1be9b1,exports[a13_0x346a06(0x137)]=a13_0x58174b;var a13_0x1b2ba3={};a13_0x1b2ba3[a13_0x346a06(0x138)]=a13_0x346a06(0x132);function a13_0x3c1a(_0x3b1b2a,_0x4c8180){var _0xdde7f1=a13_0xdde7();return a13_0x3c1a=function(_0x3c1ad1,_0x2b9f40){_0x3c1ad1=_0x3c1ad1-0x125;var _0x37e302=_0xdde7f1[_0x3c1ad1];return _0x37e302;},a13_0x3c1a(_0x3b1b2a,_0x4c8180);}var a13_0x2af459={};a13_0x2af459[a13_0x346a06(0x138)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x2af459['invalid']=a13_0x346a06(0x12d);var a13_0xf7b32c={};a13_0xf7b32c[a13_0x346a06(0x129)]=a13_0x1b2ba3,a13_0xf7b32c[a13_0x346a06(0x127)]=a13_0x2af459,exports[a13_0x346a06(0x13d)]=a13_0xf7b32c;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x116cbd=a14_0x31c0;(function(_0x4de2ec,_0x1ffd74){const _0xa6c6fd=a14_0x31c0,_0x3fd164=_0x4de2ec();while(!![]){try{const _0xf5ed16=parseInt(_0xa6c6fd(0x1d6))/0x1*(parseInt(_0xa6c6fd(0x183))/0x2)+parseInt(_0xa6c6fd(0x13b))/0x3*(parseInt(_0xa6c6fd(0x178))/0x4)+-parseInt(_0xa6c6fd(0x1da))/0x5*(parseInt(_0xa6c6fd(0x1ec))/0x6)+parseInt(_0xa6c6fd(0x197))/0x7+parseInt(_0xa6c6fd(0x1c8))/0x8+parseInt(_0xa6c6fd(0x1cd))/0x9+-parseInt(_0xa6c6fd(0x1df))/0xa*(parseInt(_0xa6c6fd(0x160))/0xb);if(_0xf5ed16===_0x1ffd74)break;else _0x3fd164['push'](_0x3fd164['shift']());}catch(_0x4ed76e){_0x3fd164['push'](_0x3fd164['shift']());}}}(a14_0x1ba4,0xb4fd9));function a14_0x31c0(_0x4c1f34,_0x3929d0){const _0x1ba4ef=a14_0x1ba4();return a14_0x31c0=function(_0x31c08e,_0xe3a655){_0x31c08e=_0x31c08e-0x120;let _0x2c45f7=_0x1ba4ef[_0x31c08e];return _0x2c45f7;},a14_0x31c0(_0x4c1f34,_0x3929d0);}const fs=require('fs'),path=require(a14_0x116cbd(0x157)),util=require(a14_0x116cbd(0x138)),{spawn}=require(a14_0x116cbd(0x1b9)),logger=require(a14_0x116cbd(0x17a))[a14_0x116cbd(0x17f)],{default:BrowserStackSetup}=require(a14_0x116cbd(0x14a)),helper=require('../../helpers/helper'),utilities=require(a14_0x116cbd(0x1b6)),constants=require(a14_0x116cbd(0x15a)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a14_0x116cbd(0x1a0)),testOpsHelper=require(a14_0x116cbd(0x1b0)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a14_0x116cbd(0x172)),{getPercyOptions}=require(a14_0x116cbd(0x18c)),TestHubHandler=require(a14_0x116cbd(0x12f)),testhubUtils=require(a14_0x116cbd(0x1a7)),{FRAMEWORKS}=require(a14_0x116cbd(0x1e0)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a14_0x116cbd(0x1f0))[a14_0x116cbd(0x128)],TestOrchestrationHandler=require(a14_0x116cbd(0x136)),BrowserstackCLI=require(a14_0x116cbd(0x163)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),ClientTroubleShootingService=require(a14_0x116cbd(0x16b)),getUserJestConfigs=async(_0x1b1c3a,_0x2c36f1)=>{const _0x2d40dc=a14_0x116cbd,_0x4c82ef={'XoByk':_0x2d40dc(0x196),'AAvGY':'jest-config','yvHMt':function(_0x4a28fe,_0xc40ee8){return _0x4a28fe||_0xc40ee8;},'sAbSn':function(_0x336ea4,_0x14ca39){return _0x336ea4(_0x14ca39);},'sQPUi':_0x2d40dc(0x173),'VqEOA':_0x2d40dc(0x15e),'ebBKw':'mjs','QwvYN':_0x2d40dc(0x1de),'OQspS':_0x2d40dc(0x1e8)},_0x150556=helper[_0x2d40dc(0x1cc)](_0x4c82ef[_0x2d40dc(0x1d1)],_0x4c82ef[_0x2d40dc(0x176)]),_0x2b9323=_0x2c36f1[_0x2d40dc(0x141)](_0x1d40f9=>_0x1d40f9===_0x2d40dc(0x144));if(!helper[_0x2d40dc(0x181)](_0x1b1c3a[_0x2d40dc(0x161)])){logger[_0x2d40dc(0x1c1)](_0x2d40dc(0x1c9)+_0x1b1c3a[_0x2d40dc(0x161)]),process[_0x2d40dc(0x1ac)][_0x2d40dc(0x162)]=_0x1b1c3a[_0x2d40dc(0x161)];const _0x21a80c=await(0x0,_0x150556[_0x2d40dc(0x12c)])(path[_0x2d40dc(0x123)](_0x1b1c3a[_0x2d40dc(0x161)]));return _0x2c36f1[_0x2d40dc(0x14c)](_0x2b9323,0x2),_0x4c82ef[_0x2d40dc(0x177)](_0x21a80c,{});}const _0x4e9788=_0x4c82ef[_0x2d40dc(0x1ba)](require,path[_0x2d40dc(0x175)](process[_0x2d40dc(0x15c)](),_0x4c82ef[_0x2d40dc(0x19d)]));if(_0x4e9788['jest'])return logger[_0x2d40dc(0x1c1)](_0x4c82ef[_0x2d40dc(0x1c4)]),_0x4e9788['jest'];const _0x1082c2=['js',_0x4c82ef[_0x2d40dc(0x14b)],_0x4c82ef[_0x2d40dc(0x1c3)],_0x4c82ef[_0x2d40dc(0x1ab)],'ts'];for(const _0x2e1042 of _0x1082c2){const _0xb9fa9b=path[_0x2d40dc(0x175)](process['cwd'](),_0x2d40dc(0x1e1)+_0x2e1042);if(fs[_0x2d40dc(0x17d)](_0xb9fa9b)){process[_0x2d40dc(0x1ac)][_0x2d40dc(0x162)]=_0xb9fa9b;const _0x4bc8c2=await(0x0,_0x150556['default'])(_0xb9fa9b);return _0x4bc8c2;}}return{};},getSerial=(_0x3883eb,_0x33f8fe)=>{const _0x11baff=a14_0x116cbd,_0x998be6={};_0x998be6[_0x11baff(0x155)]='true',_0x998be6['EdzDr']=function(_0x1d8220,_0x2015c7){return _0x1d8220>_0x2015c7;},_0x998be6[_0x11baff(0x199)]=_0x11baff(0x166);const _0x41e68a=_0x998be6;let _0x5ec596=_0x41e68a[_0x11baff(0x155)];return _0x41e68a[_0x11baff(0x184)](_0x3883eb[_0x11baff(0x133)],0x1)&&(!_0x33f8fe[_0x11baff(0x13c)]&&(helper['isUndefined'](_0x33f8fe['maxWorkers'])||_0x41e68a[_0x11baff(0x184)](_0x33f8fe[_0x11baff(0x145)],0x1)))&&(_0x5ec596=_0x41e68a[_0x11baff(0x199)]),_0x5ec596;},getMaxWorkers=(_0x37c59c,_0x583191,_0x2b795c)=>{const _0x1de43b=a14_0x116cbd,_0x1e53ed={'wpqVW':function(_0x104236,_0x2bdab6){return _0x104236(_0x2bdab6);}};let _0x261072=0x1;if(!helper[_0x1de43b(0x181)](_0x583191[_0x1de43b(0x169)]))_0x261072=_0x1e53ed['wpqVW'](parseInt,_0x583191['parallelsPerPlatform']);else{if(!helper['isUndefined'](_0x37c59c[_0x1de43b(0x145)]))_0x261072=_0x37c59c[_0x1de43b(0x145)];else!helper['isUndefined'](_0x2b795c[_0x1de43b(0x145)])&&(_0x261072=_0x2b795c[_0x1de43b(0x145)]);}return _0x261072;};async function run(_0x4eb148,_0x35640d,_0xe90881){const _0x5331a5=a14_0x116cbd,_0x127467={'NOihx':_0x5331a5(0x1a8),'zAeCH':_0x5331a5(0x1dd),'OlnTf':function(_0x482ee7,_0x4c03da){return _0x482ee7(_0x4c03da);},'XdSZr':_0x5331a5(0x1bd),'VqyEP':function(_0x249bcf,_0x3dff33,_0x276e24,_0x28c4d0){return _0x249bcf(_0x3dff33,_0x276e24,_0x28c4d0);},'dkPYx':function(_0x4f17a4,_0x1afb07){return _0x4f17a4!=_0x1afb07;},'aIGLV':_0x5331a5(0x147),'OPPdW':function(_0xf31434,_0x59c837,_0x51a7c8){return _0xf31434(_0x59c837,_0x51a7c8);},'HNPzQ':_0x5331a5(0x120),'rktUt':function(_0x5e69a1,_0x575029){return _0x5e69a1*_0x575029;},'cGnRp':function(_0x46cd23,_0x17d31f){return _0x46cd23===_0x17d31f;},'whTBM':_0x5331a5(0x13f),'HiGXQ':'jest_browserstack.config.js','VKabo':'customImplements','FiWke':'jest_browserstack_results.json','lEMPB':'customTestRunner.js','cTmzz':_0x5331a5(0x1bf),'DwrHg':_0x5331a5(0x189),'IEcTw':_0x5331a5(0x1c0),'knRmr':_0x5331a5(0x1cb),'EHKKZ':_0x5331a5(0x1c2),'nvtQc':_0x5331a5(0x16c),'neCbS':_0x5331a5(0x14f),'HdVnj':_0x5331a5(0x1b1),'VwNpr':_0x5331a5(0x1ae),'GIJgV':'test_before.setup.js','Sdfph':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','YTLUh':'playwright','aGWGE':_0x5331a5(0x159),'oRVkC':_0x5331a5(0x142),'lbTeZ':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','pGPez':_0x5331a5(0x12c),'NOXMY':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','iaVUq':function(_0x4af76a,_0x157013){return _0x4af76a>_0x157013;},'cWEPn':_0x5331a5(0x1b3),'ihJqR':_0x5331a5(0x149),'OhSnA':_0x5331a5(0x144),'RAUVp':function(_0x3ebe4d,_0x2faa74){return _0x3ebe4d===_0x2faa74;},'vNziR':_0x5331a5(0x1b2),'WMJsF':_0x5331a5(0x13d),'RDfoS':_0x5331a5(0x16e)},_0x29f352=helper['getPackageVersion'](_0x127467['XdSZr']);global[_0x5331a5(0x1a9)]=!!_0x29f352;helper[_0x5331a5(0x12d)]()?(await _0xe90881['initialize'](_0x4eb148),await helper['handleApp'](_0xe90881[_0x5331a5(0x161)])):await _0xe90881['setupTCGAuth']();await _0x127467[_0x5331a5(0x15b)](checkPwandBootstrapCli,_0x29f352,constants[_0x5331a5(0x1b5)][_0x5331a5(0x16a)],_0xe90881);if(!_0xe90881[_0x5331a5(0x161)])return;_0x127467[_0x5331a5(0x125)](_0xe90881[_0x5331a5(0x161)][_0x5331a5(0x191)],null)?process['env'][_0x5331a5(0x13e)]=_0xe90881[_0x5331a5(0x161)][_0x5331a5(0x191)]:process[_0x5331a5(0x1ac)][_0x5331a5(0x13e)]=_0x127467[_0x5331a5(0x17b)];const _0x2ca800=new TestOrchestrationHandler(_0xe90881[_0x5331a5(0x161)]),_0x4c65a0=await _0x127467[_0x5331a5(0x126)](getUserJestConfigs,_0x4eb148,_0x35640d);logger[_0x5331a5(0x1c1)](_0x127467['HNPzQ']);const _0xa76388=Object[_0x5331a5(0x19a)]({},_0x4c65a0);_0xa76388[_0x5331a5(0x1a3)]=Object['assign']({},_0xa76388[_0x5331a5(0x1a3)],{'server':helper['getHubUrl'](_0xe90881[_0x5331a5(0x161)]),'environment':_0x4c65a0['testEnvironment']}),_0xa76388['testEnvironmentOptions'][_0x5331a5(0x1d5)]=_0x127467[_0x5331a5(0x1a2)](getPercyOptions,_0xe90881['config']);const _0x4c1134=helper[_0x5331a5(0x16d)](_0xe90881['config']);!helper['isUndefined'](_0xe90881[_0x5331a5(0x161)]['accessibilityOptions'])&&(process['env'][_0x5331a5(0x143)]=JSON[_0x5331a5(0x1b4)](_0xe90881[_0x5331a5(0x161)][_0x5331a5(0x122)]));if(!BrowserstackCLI[_0x5331a5(0x14d)]()['isRunning']()){const _0x50cf73=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x5331a5(0x16a)],_0xe90881);}const _0x4b3050=helper['prepareCapabilities'](_0xe90881[_0x5331a5(0x161)],_0x4c1134,constants['FRAMEWORKS'][_0x5331a5(0x16a)]);process[_0x5331a5(0x1ac)][_0x5331a5(0x151)]=JSON[_0x5331a5(0x1b4)](_0x4b3050);let _0x294993=_0xe90881[_0x5331a5(0x161)]['accessibility'];_0x294993=_0x294993||accessibilityHelper[_0x5331a5(0x1ce)](_0xe90881[_0x5331a5(0x161)]),process['env'][_0x5331a5(0x167)]=_0x294993,_0xa76388[_0x5331a5(0x1a3)][_0x5331a5(0x198)]=_0x4b3050,_0xa76388[_0x5331a5(0x1a3)][_0x5331a5(0x1cf)]=_0x127467['OPPdW'](getSerial,_0x4b3050,_0x4eb148),_0xa76388[_0x5331a5(0x1a3)]['parallels__']=_0x127467['VqyEP'](getMaxWorkers,_0x4eb148,_0xe90881[_0x5331a5(0x161)],_0x4c65a0),_0xa76388[_0x5331a5(0x1a3)][_0x5331a5(0x1d9)]=_0xe90881[_0x5331a5(0x161)][_0x5331a5(0x1d9)],_0xa76388[_0x5331a5(0x1a3)]['timeout__']=_0x127467[_0x5331a5(0x1ef)](_0x4eb148[_0x5331a5(0x1d3)],0x1)||0x1388,_0xa76388['testEnvironmentOptions']['skipSessionName']=_0xe90881[_0x5331a5(0x161)]['testContextOptions'][_0x5331a5(0x1e2)],_0xa76388[_0x5331a5(0x1a3)][_0x5331a5(0x1a4)]=_0xe90881[_0x5331a5(0x161)][_0x5331a5(0x1e4)][_0x5331a5(0x1a4)],_0xa76388[_0x5331a5(0x1a3)][_0x5331a5(0x1e9)]=_0xe90881[_0x5331a5(0x161)]['logLevel'],_0xa76388[_0x5331a5(0x1a3)][_0x5331a5(0x1eb)]=_0xe90881[_0x5331a5(0x161)][_0x5331a5(0x1eb)],_0xa76388[_0x5331a5(0x1a3)][_0x5331a5(0x1d8)]=_0xe90881[_0x5331a5(0x161)][_0x5331a5(0x1b8)];const _0x541682=helper[_0x5331a5(0x13a)](_0xe90881[_0x5331a5(0x161)]);if(!helper[_0x5331a5(0x1e3)](_0x541682)){helper[_0x5331a5(0x1e6)](_0x541682[_0x5331a5(0x1a6)])&&(_0xa76388[_0x5331a5(0x1a3)]['retries__']=_0x541682[_0x5331a5(0x1a6)]['maxRetries']);if(helper[_0x5331a5(0x1e6)](_0x541682[_0x5331a5(0x1e5)])&&helper['isNotUndefined'](_0x541682[_0x5331a5(0x1e5)][_0x5331a5(0x1d2)])){const _0x68f599={};_0x68f599[_0x5331a5(0x182)]=_0x541682[_0x5331a5(0x1e5)][_0x5331a5(0x1c5)],_0x68f599[_0x5331a5(0x1d2)]=_0x541682[_0x5331a5(0x1e5)][_0x5331a5(0x1d2)],_0xa76388[_0x5331a5(0x1a3)][_0x5331a5(0x1bc)]=_0x68f599;}}let _0x5a3501='';_0x127467[_0x5331a5(0x152)](helper[_0x5331a5(0x150)](),constants[_0x5331a5(0x134)]['MODULE'])?_0x5a3501=_0x127467['whTBM']:_0x5a3501=_0x127467[_0x5331a5(0x18b)];const _0x4bbaef=_0x5a3501,_0x3bd946=path[_0x5331a5(0x175)](__dirname,_0x127467[_0x5331a5(0x1bb)],_0x127467[_0x5331a5(0x12e)]),_0x57556f=path[_0x5331a5(0x175)](__dirname,_0x127467[_0x5331a5(0x1bb)],_0x127467[_0x5331a5(0x124)]),_0x13f978=path[_0x5331a5(0x175)](__dirname,_0x127467[_0x5331a5(0x1bb)],_0x127467[_0x5331a5(0x19e)]);_0xa76388[_0x5331a5(0x19f)]&&(process[_0x5331a5(0x1ac)][_0x5331a5(0x1b7)]=_0xa76388['testEnvironment']);_0xa76388['testEnvironment']=path[_0x5331a5(0x175)](__dirname,_0x127467['VKabo'],_0x127467['DwrHg']),_0xa76388[_0x5331a5(0x170)]=_0x57556f,_0xa76388[_0x5331a5(0x1d0)]=_0xa76388[_0x5331a5(0x1d0)]||[],_0xa76388[_0x5331a5(0x1d0)][_0x5331a5(0x1af)](path[_0x5331a5(0x175)](__dirname,_0x127467['IEcTw']));_0x2ca800[_0x5331a5(0x12a)]()&&(_0xa76388['testSequencer']=path[_0x5331a5(0x175)](__dirname,_0x127467['VKabo'],_0x127467[_0x5331a5(0x131)]));if(testhubUtils[_0x5331a5(0x18a)]()){let _0x94ae57=null;try{_0x94ae57=helper['requireModule'](_0x127467[_0x5331a5(0x156)],_0x127467[_0x5331a5(0x18d)]);}catch(_0x2e8f5c){_0x127467[_0x5331a5(0x1a2)](debug,_0x5331a5(0x195)+_0x2e8f5c);}_0x94ae57&&(_0xa76388['setupFilesAfterEnv']['push'](path[_0x5331a5(0x175)](__dirname,_0x127467['neCbS'],_0x127467[_0x5331a5(0x19c)])),_0xa76388['testRunner']=path[_0x5331a5(0x175)](__dirname,_0x127467[_0x5331a5(0x1bb)],_0x127467['VwNpr']));}_0xa76388['setupFiles']=_0xa76388[_0x5331a5(0x129)]||[];try{helper['requireSeleniumWebdriver'](),_0xa76388[_0x5331a5(0x129)][_0x5331a5(0x1af)](path['join'](__dirname,_0x127467[_0x5331a5(0x1ad)]));}catch{logger[_0x5331a5(0x179)](_0x127467['Sdfph']);}try{helper['requirePWModule'][_0x5331a5(0x190)](null,[_0x127467['XdSZr'],_0x127467[_0x5331a5(0x186)]]),logger[_0x5331a5(0x179)](_0x127467[_0x5331a5(0x14e)]),_0xa76388['setupFiles'][_0x5331a5(0x1af)](path[_0x5331a5(0x175)](__dirname,_0x127467[_0x5331a5(0x1a5)]));}catch(_0x133fc1){logger[_0x5331a5(0x179)](_0x127467[_0x5331a5(0x180)],_0x133fc1);}_0xa76388[_0x5331a5(0x137)]=_0xa76388[_0x5331a5(0x137)]||[_0x127467['pGPez']],_0x127467[_0x5331a5(0x126)](updateTestRerunConfig,_0xa76388,_0xe90881);const _0x2e2378=fs['readFileSync'](_0x13f978);fs[_0x5331a5(0x1a1)](_0xa76388[_0x5331a5(0x170)],'\x0a\x20\x20\x20\x20'+_0x2e2378+_0x5331a5(0x153)+_0xe90881[_0x5331a5(0x161)]['platforms']['length']+_0x5331a5(0x1ee)),logger[_0x5331a5(0x1c1)](_0x5331a5(0x1ea)+_0x4bbaef+_0x5331a5(0x193)),fs[_0x5331a5(0x1a1)](_0x4bbaef,_0x5331a5(0x154)+JSON[_0x5331a5(0x1b4)](_0xa76388)+_0x5331a5(0x17e));if(_0x2ca800['isTestOrchestrationEnabled']()){logger[_0x5331a5(0x179)](_0x127467['NOXMY']);const _0x2d0199=await _0x2ca800[_0x5331a5(0x1d4)](_0xa76388,_0x35640d[_0x5331a5(0x127)](0x1),_0x4bbaef);logger[_0x5331a5(0x179)](_0x5331a5(0x164)+JSON['stringify'](_0x2d0199)+_0x5331a5(0x12b));const _0x68f977=await _0x2ca800['reorderTestFiles'](_0x2d0199);logger[_0x5331a5(0x179)](_0x5331a5(0x1ca)+JSON[_0x5331a5(0x1b4)](_0x68f977)),_0x68f977&&_0x127467[_0x5331a5(0x187)](_0x68f977[_0x5331a5(0x133)],0x0)&&(process[_0x5331a5(0x1ac)]['JEST_TEST_ORDER']=_0x68f977?.[_0x5331a5(0x175)](','));}logger[_0x5331a5(0x1c1)](_0x127467['cWEPn']);testhubUtils[_0x5331a5(0x18a)]()&&TestDetails[_0x5331a5(0x1ed)]();helper[_0x5331a5(0x17c)]({},_0x35640d),PerformanceTester[_0x5331a5(0x1c7)](PerformanceEvents[_0x5331a5(0x158)]);const _0x27918f=_0x127467[_0x5331a5(0x15b)](spawn,_0x127467[_0x5331a5(0x1dc)],[_0x127467['zAeCH'],_0x127467['OhSnA'],_0x4bbaef,..._0x35640d[_0x5331a5(0x127)](0x1)],{'shell':_0x127467[_0x5331a5(0x15d)](process[_0x5331a5(0x146)],_0x127467[_0x5331a5(0x132)]),'stdio':_0x127467[_0x5331a5(0x19b)],'env':Object['assign']({},process[_0x5331a5(0x1ac)])});_0x27918f['on'](_0x127467[_0x5331a5(0x140)],async _0x279b2a=>{const _0x35a266=_0x5331a5;PerformanceTester[_0x35a266(0x1f1)](PerformanceEvents[_0x35a266(0x18e)]);try{const {browserstackFolderPath:_0x3d0ea3,tcgConfigPath:_0x3d18b7}=helper[_0x35a266(0x1c6)]();fs[_0x35a266(0x1be)](_0x3d18b7),fs['rmdirSync'](_0x3d0ea3);}catch(_0x3957ae){logger[_0x35a266(0x179)](_0x127467[_0x35a266(0x139)],_0x3957ae);}process['exitCode']=_0x279b2a,logger[_0x35a266(0x179)](_0x35a266(0x1d7)+_0x279b2a),logger[_0x35a266(0x1c1)](_0x35a266(0x16f)+_0x4bbaef);if(helper['isNotUndefined'](_0x541682)&&helper[_0x35a266(0x1e6)](_0x541682[_0x35a266(0x1e5)])&&fs['existsSync'](_0x541682[_0x35a266(0x1e5)][_0x35a266(0x1d2)]))try{const _0x412467={};_0x412467[_0x35a266(0x174)]=!![],_0x412467[_0x35a266(0x18f)]=!![],fs[_0x35a266(0x192)](_0x541682[_0x35a266(0x1e5)][_0x35a266(0x1d2)],_0x412467),logger[_0x35a266(0x179)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x541682[_0x35a266(0x1e5)][_0x35a266(0x1d2)]);}catch(_0x4458d9){logger[_0x35a266(0x185)](_0x35a266(0x130)+_0x4458d9);}let _0x23852d=null;if(fs['existsSync'](_0x3bd946)){_0x23852d=fs[_0x35a266(0x165)](_0x3bd946);try{_0x23852d=JSON[_0x35a266(0x135)](_0x23852d);}catch(_0x21afca){logger[_0x35a266(0x179)](_0x35a266(0x1db)+_0x3bd946+',\x20'+_0x23852d+'\x20:\x20'+_0x21afca);}fs[_0x35a266(0x1be)](_0x3bd946);}fs[_0x35a266(0x1be)](_0x4bbaef),fs[_0x35a266(0x1be)](_0x57556f),_0x23852d&&(_0xe90881['errorMessage']=helper[_0x35a266(0x1aa)](_0x23852d,_0x127467[_0x35a266(0x148)],_0xe90881));try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x35a266(0x14d)]()['stop']();}catch(_0x580591){console[_0x35a266(0x15f)](_0x580591),_0x127467[_0x35a266(0x1a2)](debug,_0x35a266(0x171)+util[_0x35a266(0x188)](_0x580591));}testOpsHelper[_0x35a266(0x1e7)](),TestDetails[_0x35a266(0x121)](),await utilities[_0x35a266(0x194)](_0xe90881);});}module[a14_0x116cbd(0x168)]=run;function a14_0x1ba4(){const _0x4b7707=['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','--config','maxWorkers','platform','true','zAeCH','npx','../../helpers/BrowserStackSetup','ebBKw','splice','getInstance','aGWGE','test-observability','getPackageType','BROWSERSTACK_CAPABILITIES','cGnRp','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','const\x20config=','QAulo','EHKKZ','path','SDK_SETUP','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','../utils/constants','VqyEP','cwd','RAUVp','Getting\x20your\x20jest\x20configs\x20from\x20package.json','log','241483QORdeT','config','USER_CONFIG_DETAILS_PATH','../v2/browserstackCLI','Found:\x20','readFileSync','false','BROWSERSTACK_TEST_ACCESSIBILITY_YML','exports','parallelsPerPlatform','JEST','../utils/clientTroubleshootingService','jest-circus','useW3C','close','Deleting\x20','runner','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','./test-observability/test-details','package.json','recursive','join','AAvGY','yvHMt','20vctghk','debug','../../helpers/logger','aIGLV','filterBrowserstackArgs','existsSync','\x0amodule.exports\x20=\x20config;','winstonLogger','lbTeZ','isUndefined','failureThresholdCount','134438gUqpLt','EdzDr','error','YTLUh','iaVUq','format','customEnvironment.js','shouldProcessEventForTesthub','HiGXQ','../../helpers/percy/utils','nvtQc','SDK_CLEANUP','force','apply','testObservability','rmSync','\x20with\x20browserstack\x20jest\x20configs','finalExecution','Unable\x20to\x20find\x20jest-circus,\x20','jest-config/build/readConfigFileAndSetRootDir.js','1467704chsnTF','capabilities','sNUoL','assign','WMJsF','HdVnj','sQPUi','cTmzz','testEnvironment','./test-observability/helper','writeFileSync','OlnTf','testEnvironmentOptions','skipSessionStatus','oRVkC','retryTestsOnFailure','../../helpers/testhub/utils','error\x20removing\x20tcg\x20config\x20file','__isPlaywrightInstalled','getErrorMessageFromResults','OQspS','env','GIJgV','customCircus.js','push','../../helpers/test-observability/utils','data-hooks.js','win32','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','stringify','FRAMEWORKS','../../helpers/utilities','BSTACK_JEST_TEST_ENV','platforms','child_process','sAbSn','VKabo','failFast','@playwright/test','unlinkSync','customTestRunnerTemplate.js','jest.setup.js','info','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','QwvYN','VqEOA','maxFailures','getTCGConfigFilePaths','end','6858992eLKagr','Getting\x20your\x20jest\x20configs\x20from\x20','Reodered\x20Test\x20Files:\x20','customSequencer.js','requireModule','1803474CEzLiT','checkAccessibilityPlatformConfig','serial__','setupFilesAfterEnv','XoByk','workingDir','testTimeout','findTestFiles','browserStackPercyOptions','19SfiynC','child\x20process\x20exited\x20with\x20code\x20','platformCaps','proxySettings','600595puLGUE','Error\x20while\x20parsing\x20','ihJqR','jest','cjs','950GGYNrZ','../../helpers/test-observability/constants','jest.config.','skipSessionName','isEmpty','testContextOptions','abortBuildOnFailure','isNotUndefined','printBuildLink','json','browserStackLogLevel','Creating\x20','turboScaleUrl','24vSwdsx','setup',';\x0a\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\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','rktUt','../../helpers/performance/constants','start','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','shutdown','accessibilityOptions','resolve','lEMPB','dkPYx','OPPdW','slice','EVENTS','setupFiles','isTestOrchestrationEnabled','\x20test\x20files\x20to\x20run.','default','isBrowserstackInfra','FiWke','../../helpers/testhub/testhubHandler','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','knRmr','vNziR','length','PACKAGE_TYPE','parse','../../helpers/test-orchestration/testOrchestrationHandler','reporters','util','NOihx','parseTestOrchestrationOptions','457653yELtFy','runInBand','inherit','BROWSERSTACK_TEST_OBSERVABILITY_YML','jest_browserstack.config.cjs','RDfoS','findIndex','test.setup.js'];a14_0x1ba4=function(){return _0x4b7707;};return a14_0x1ba4();}
2
+ 'use strict';function a14_0x2575(){const _0x386d99=['checkAccessibilityPlatformConfig','LEZHs','existsSync','gPsgy','getPackageType','failureThresholdCount','parallelsPerPlatform','DuQqm','mjs','jest','child\x20process\x20exited\x20with\x20code\x20','oNJOG','playwright','parseTestOrchestrationOptions','runInBand','assign','recursive','proxySettings','zfTtL','useW3C','setupFilesAfterEnv','Deleting\x20','reporters','aXJkK','win32','Error\x20while\x20parsing\x20','../v2/browserstackCLI','customSequencer.js','../../helpers/test-orchestration/testOrchestrationHandler','error\x20removing\x20tcg\x20config\x20file','324680zBuUTJ','BROWSERSTACK_TEST_OBSERVABILITY_YML','cjs','prepareCapabilities','BSTACK_JEST_TEST_ENV','cDais','customImplements','709962ZYOFnW','findIndex','akRVj','retryTestsOnFailure','qbdqa','JEST','../../helpers/BrowserStackSetup','../../helpers/performance/performance-tester','2JaVeuE','close','FRAMEWORKS','AOWFF','697380HKZgbZ','iyWKL','rmdirSync','EUfIF','usTej','customCircus.js','maxWorkers','turboScaleUrl','slice','apXsp','writeFileSync','isUndefined','yhbZE','shouldProcessEventForTesthub','../../helpers/percy/utils','parallels__','config','shutdown','testTimeout','eXIzF','10hfnvAg','initialize','SDK_SETUP','accessibilityOptions','fHBXs','setupFiles','testEnvironment','hwtWF','246847DuJyVW','testContextOptions','requireModule','RRbgM','LGIRw','ZLHZq','\x20test\x20files\x20to\x20run.','4072YJZjBy','parse','isEmpty','TaDao','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','customTestRunnerTemplate.js','ZQdGL','dEovQ','platform','NdBuW','exports','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jest_browserstack_results.json','capabilities','FMMPD','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','NyqlZ','2814XDjyVc','join','log','debug','customEnvironment.js','../../helpers/logger','platformCaps','jest_browserstack.config.cjs','\x0a\x20\x20\x20\x20','workingDir','OPfRj','Creating\x20','getTCGConfigFilePaths','jest.setup.js','printBuildLink','--config','winstonLogger','testRunner','Getting\x20your\x20jest\x20configs\x20from\x20','length','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','format','requireSeleniumWebdriver','dkSpJ','stop','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','requirePWModule','BROWSERSTACK_TEST_ACCESSIBILITY_YML','resolve','getErrorMessageFromResults','PACKAGE_TYPE','customTestRunner.js','finalExecution','const\x20config=','handleApp','serial__','testObservability','EVzgr','\x20:\x20','start','json','../../helpers/playwright-helper','rmSync','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','BROWSERSTACK_CAPABILITIES','isTestOrchestrationEnabled','./test-observability/test-details','abortBuildOnFailure','end','../../helpers/accessibility-automation/helper','847620XDbQIi','cwd','EQjxp','ngCek','stringify','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','runner','1875879TAUsqq','retries__','browserStackLogLevel','../../helpers/testhub/testhubHandler','npx','VUOUz','isBrowserstackInfra','Found:\x20','testSequencer','@playwright/test','platforms','../../helpers/testhub/utils','env','jest.config.','gvQyj','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','HgAhu','filterBrowserstackArgs','inherit','USER_CONFIG_DETAILS_PATH','getPackageVersion','BtIww','testEnvironmentOptions','data-hooks.js','apply','HUGAy','fzhsr','info','WoFuK','timeout__','errorMessage','JXxPi','Reodered\x20Test\x20Files:\x20','jest-circus','test-observability','SDK_CLEANUP','DTzrP','isNotUndefined','test_before.setup.js','../../helpers/test-observability/utils','maxRetries','Afkxw','default','unlinkSync','lSrLE','EVENTS','vUldm','findTestFiles','util','eqTmT','GIQyV','auYun','maxFailures','exitCode','push','true','failFast','skipSessionStatus','hIwkL','accessibility','test.setup.js','jest-config/build/readConfigFileAndSetRootDir.js','../../helpers/performance/constants','AcfPn'];a14_0x2575=function(){return _0x386d99;};return a14_0x2575();}const a14_0x2965e7=a14_0x3c41;(function(_0x312697,_0x441e2b){const _0x34fc27=a14_0x3c41,_0x399544=_0x312697();while(!![]){try{const _0x55758f=-parseInt(_0x34fc27(0x120))/0x1*(-parseInt(_0x34fc27(0x100))/0x2)+parseInt(_0x34fc27(0xf8))/0x3+-parseInt(_0x34fc27(0xf1))/0x4+-parseInt(_0x34fc27(0x104))/0x5+-parseInt(_0x34fc27(0x16a))/0x6+parseInt(_0x34fc27(0x138))/0x7*(-parseInt(_0x34fc27(0x127))/0x8)+-parseInt(_0x34fc27(0x171))/0x9*(-parseInt(_0x34fc27(0x118))/0xa);if(_0x55758f===_0x441e2b)break;else _0x399544['push'](_0x399544['shift']());}catch(_0x566451){_0x399544['push'](_0x399544['shift']());}}}(a14_0x2575,0x1e9d6));const fs=require('fs'),path=require('path'),util=require(a14_0x2965e7(0x1a1)),{spawn}=require('child_process'),logger=require(a14_0x2965e7(0x13d))[a14_0x2965e7(0x148)],{default:BrowserStackSetup}=require(a14_0x2965e7(0xfe)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x2965e7(0x169)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x2965e7(0x198)),TestDetails=require(a14_0x2965e7(0x166)),{getPercyOptions}=require(a14_0x2965e7(0x112)),TestHubHandler=require(a14_0x2965e7(0x174)),testhubUtils=require(a14_0x2965e7(0x17c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a14_0x2965e7(0xff)),PerformanceEvents=require(a14_0x2965e7(0x1af))[a14_0x2965e7(0x19e)],TestOrchestrationHandler=require(a14_0x2965e7(0xef)),BrowserstackCLI=require(a14_0x2965e7(0xed)),{checkPwandBootstrapCli}=require(a14_0x2965e7(0x161)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserJestConfigs=async(_0x5743a3,_0x1844d0)=>{const _0xd26a15=a14_0x2965e7,_0xdfed2d={'ngCek':_0xd26a15(0x1ae),'eXIzF':'jest-config','EUfIF':function(_0x5452d4,_0x526427){return _0x5452d4||_0x526427;},'jBZLt':function(_0x5e5238,_0x7632e4){return _0x5e5238(_0x7632e4);},'HUGAy':'package.json','DuQqm':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','AOWFF':_0xd26a15(0xdb),'yhbZE':_0xd26a15(0xf3),'gPsgy':_0xd26a15(0x160)},_0x38b4cb=helper['requireModule'](_0xdfed2d[_0xd26a15(0x16d)],_0xdfed2d[_0xd26a15(0x117)]),_0x2da330=_0x1844d0[_0xd26a15(0xf9)](_0x5056df=>_0x5056df===_0xd26a15(0x147));if(!helper[_0xd26a15(0x10f)](_0x5743a3[_0xd26a15(0x114)])){logger[_0xd26a15(0x18c)](_0xd26a15(0x14a)+_0x5743a3['config']),process[_0xd26a15(0x17d)][_0xd26a15(0x184)]=_0x5743a3[_0xd26a15(0x114)];const _0x434c64=await(0x0,_0x38b4cb[_0xd26a15(0x19b)])(path[_0xd26a15(0x154)](_0x5743a3[_0xd26a15(0x114)]));return _0x1844d0['splice'](_0x2da330,0x2),_0xdfed2d[_0xd26a15(0x107)](_0x434c64,{});}const _0x3c6149=_0xdfed2d['jBZLt'](require,path['join'](process['cwd'](),_0xdfed2d[_0xd26a15(0x18a)]));if(_0x3c6149[_0xd26a15(0xdc)])return logger[_0xd26a15(0x18c)](_0xdfed2d[_0xd26a15(0xda)]),_0x3c6149[_0xd26a15(0xdc)];const _0x4066e3=['js',_0xdfed2d[_0xd26a15(0x103)],_0xdfed2d[_0xd26a15(0x110)],_0xdfed2d[_0xd26a15(0x1b4)],'ts'];for(const _0x29b74d of _0x4066e3){const _0x359877=path[_0xd26a15(0x139)](process[_0xd26a15(0x16b)](),_0xd26a15(0x17e)+_0x29b74d);if(fs[_0xd26a15(0x1b3)](_0x359877)){process[_0xd26a15(0x17d)][_0xd26a15(0x184)]=_0x359877;const _0x16e0cf=await(0x0,_0x38b4cb[_0xd26a15(0x19b)])(_0x359877);return _0x16e0cf;}}return{};},getSerial=(_0x55dfdb,_0x61688a)=>{const _0x39184c=a14_0x2965e7,_0x4ed6b7={};_0x4ed6b7[_0x39184c(0x12a)]=_0x39184c(0x1a8),_0x4ed6b7['FMMPD']=function(_0x1bab52,_0x4886e2){return _0x1bab52>_0x4886e2;},_0x4ed6b7[_0x39184c(0x176)]='false';const _0x220e0e=_0x4ed6b7;let _0x43438d=_0x220e0e['TaDao'];return _0x220e0e[_0x39184c(0x135)](_0x55dfdb[_0x39184c(0x14b)],0x1)&&(!_0x61688a[_0x39184c(0xe1)]&&(helper[_0x39184c(0x10f)](_0x61688a[_0x39184c(0x10a)])||_0x220e0e[_0x39184c(0x135)](_0x61688a[_0x39184c(0x10a)],0x1)))&&(_0x43438d=_0x220e0e[_0x39184c(0x176)]),_0x43438d;},getMaxWorkers=(_0x33eace,_0xf56b10,_0x50c0d0)=>{const _0x535c54=a14_0x2965e7,_0x4fbca6={'JXxPi':function(_0x301d15,_0x228dfc){return _0x301d15(_0x228dfc);}};let _0x4142e0=0x1;if(!helper[_0x535c54(0x10f)](_0xf56b10[_0x535c54(0xd9)]))_0x4142e0=_0x4fbca6[_0x535c54(0x190)](parseInt,_0xf56b10[_0x535c54(0xd9)]);else{if(!helper[_0x535c54(0x10f)](_0x33eace['maxWorkers']))_0x4142e0=_0x33eace[_0x535c54(0x10a)];else!helper[_0x535c54(0x10f)](_0x50c0d0[_0x535c54(0x10a)])&&(_0x4142e0=_0x50c0d0[_0x535c54(0x10a)]);}return _0x4142e0;};async function run(_0x3490a3,_0x5acb4f,_0x4ee3aa){const _0x2064bb=a14_0x2965e7,_0x4d8b2a={'fHBXs':_0x2064bb(0xf0),'EQjxp':'jest','AcfPn':function(_0x20ac37,_0x2bf5c0){return _0x20ac37(_0x2bf5c0);},'dkSpJ':_0x2064bb(0x17a),'LGIRw':function(_0x2c52b6,_0x31e669,_0x344c3a,_0xdec564){return _0x2c52b6(_0x31e669,_0x344c3a,_0xdec564);},'VBhHv':function(_0x2bd682,_0x3690d0){return _0x2bd682!=_0x3690d0;},'NdBuW':_0x2064bb(0x1a8),'zJUeH':function(_0x2655b9,_0xcb7792,_0x5e4cca){return _0x2655b9(_0xcb7792,_0x5e4cca);},'ZLHZq':_0x2064bb(0x180),'EVzgr':function(_0x2803c9,_0x2aaea8,_0x264f82){return _0x2803c9(_0x2aaea8,_0x264f82);},'usTej':function(_0x46ce27,_0x5c27b5){return _0x46ce27*_0x5c27b5;},'vUldm':function(_0x4ee8af,_0xe83de8){return _0x4ee8af===_0xe83de8;},'WZTyI':_0x2064bb(0x13f),'akRVj':'jest_browserstack.config.js','hwtWF':_0x2064bb(0xf7),'BtIww':_0x2064bb(0x133),'iyWKL':_0x2064bb(0x157),'SInVq':_0x2064bb(0x12c),'cDais':_0x2064bb(0x13c),'LEZHs':_0x2064bb(0x145),'lSrLE':_0x2064bb(0xee),'WoFuK':_0x2064bb(0x132),'qbdqa':_0x2064bb(0x192),'ZQdGL':_0x2064bb(0x193),'HgAhu':_0x2064bb(0x188),'zfTtL':_0x2064bb(0x109),'RRbgM':_0x2064bb(0x197),'hIwkL':_0x2064bb(0x12b),'aXJkK':_0x2064bb(0xdf),'apXsp':_0x2064bb(0x136),'NyqlZ':_0x2064bb(0x1ad),'dEovQ':_0x2064bb(0x14c),'GIQyV':'default','OPfRj':function(_0x18d727,_0x13a159,_0x1addaa){return _0x18d727(_0x13a159,_0x1addaa);},'xnhhj':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','Vpgah':function(_0x4a4b6b,_0x500487){return _0x4a4b6b>_0x500487;},'eqTmT':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','auYun':function(_0xef6d12,_0x198cab,_0x2c0aad,_0x131f4a){return _0xef6d12(_0x198cab,_0x2c0aad,_0x131f4a);},'Afkxw':_0x2064bb(0x175),'gvQyj':_0x2064bb(0x147),'hWJMJ':function(_0x4f4b4a,_0x424d88){return _0x4f4b4a===_0x424d88;},'fzhsr':_0x2064bb(0xeb),'oNJOG':_0x2064bb(0x183),'DTzrP':_0x2064bb(0x101)},_0x4fdc2c=helper[_0x2064bb(0x185)](_0x4d8b2a[_0x2064bb(0x14f)]);global['__isPlaywrightInstalled']=!!_0x4fdc2c;helper[_0x2064bb(0x177)]()?(await _0x4ee3aa[_0x2064bb(0x119)](_0x3490a3),await helper[_0x2064bb(0x15a)](_0x4ee3aa['config'])):await _0x4ee3aa['setupTCGAuth']();await _0x4d8b2a[_0x2064bb(0x124)](checkPwandBootstrapCli,_0x4fdc2c,constants['FRAMEWORKS'][_0x2064bb(0xfd)],_0x4ee3aa);if(!_0x4ee3aa[_0x2064bb(0x114)])return;_0x4d8b2a['VBhHv'](_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x15c)],null)?process['env'][_0x2064bb(0xf2)]=_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x15c)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4d8b2a[_0x2064bb(0x130)];const _0x2ea5b2=new TestOrchestrationHandler(_0x4ee3aa[_0x2064bb(0x114)]),_0x10aa04=await _0x4d8b2a['zJUeH'](getUserJestConfigs,_0x3490a3,_0x5acb4f);logger['info'](_0x4d8b2a[_0x2064bb(0x125)]);const _0xa6782d=Object[_0x2064bb(0xe2)]({},_0x10aa04);_0xa6782d[_0x2064bb(0x187)]=Object[_0x2064bb(0xe2)]({},_0xa6782d['testEnvironmentOptions'],{'server':helper['getHubUrl'](_0x4ee3aa['config']),'environment':_0x10aa04['testEnvironment']}),_0xa6782d[_0x2064bb(0x187)]['browserStackPercyOptions']=_0x4d8b2a['AcfPn'](getPercyOptions,_0x4ee3aa[_0x2064bb(0x114)]);const _0x3990b4=helper[_0x2064bb(0xe6)](_0x4ee3aa[_0x2064bb(0x114)]);!helper['isUndefined'](_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x11b)])&&(process[_0x2064bb(0x17d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x11b)]));if(!BrowserstackCLI['getInstance']()['isRunning']()){const _0x36ad94=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x2064bb(0xfd)],_0x4ee3aa);}const _0x583fe2=helper[_0x2064bb(0xf4)](_0x4ee3aa[_0x2064bb(0x114)],_0x3990b4,constants[_0x2064bb(0x102)]['JEST']);process[_0x2064bb(0x17d)][_0x2064bb(0x164)]=JSON['stringify'](_0x583fe2);let _0x3dd17=_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x1ac)];_0x3dd17=_0x3dd17||accessibilityHelper[_0x2064bb(0x1b1)](_0x4ee3aa[_0x2064bb(0x114)]),process[_0x2064bb(0x17d)][_0x2064bb(0x153)]=_0x3dd17,_0xa6782d['testEnvironmentOptions'][_0x2064bb(0x134)]=_0x583fe2,_0xa6782d['testEnvironmentOptions'][_0x2064bb(0x15b)]=_0x4d8b2a[_0x2064bb(0x15d)](getSerial,_0x583fe2,_0x3490a3),_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0x113)]=_0x4d8b2a['LGIRw'](getMaxWorkers,_0x3490a3,_0x4ee3aa['config'],_0x10aa04),_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0xe4)]=_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0xe4)],_0xa6782d['testEnvironmentOptions'][_0x2064bb(0x18e)]=_0x4d8b2a[_0x2064bb(0x108)](_0x3490a3[_0x2064bb(0x116)],0x1)||0x1388,_0xa6782d[_0x2064bb(0x187)]['skipSessionName']=_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x121)]['skipSessionName'],_0xa6782d[_0x2064bb(0x187)]['skipSessionStatus']=_0x4ee3aa['config'][_0x2064bb(0x121)][_0x2064bb(0x1aa)],_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0x173)]=_0x4ee3aa[_0x2064bb(0x114)]['logLevel'],_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0x10b)]=_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x10b)],_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0x13e)]=_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x17b)];const _0x4de764=helper[_0x2064bb(0xe0)](_0x4ee3aa[_0x2064bb(0x114)]);if(!helper[_0x2064bb(0x129)](_0x4de764)){helper[_0x2064bb(0x196)](_0x4de764[_0x2064bb(0xfb)])&&(_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0x172)]=_0x4de764['retryTestsOnFailure'][_0x2064bb(0x199)]);if(helper[_0x2064bb(0x196)](_0x4de764['abortBuildOnFailure'])&&helper[_0x2064bb(0x196)](_0x4de764[_0x2064bb(0x167)]['workingDir'])){const _0x581db6={};_0x581db6[_0x2064bb(0x1b6)]=_0x4de764[_0x2064bb(0x167)][_0x2064bb(0x1a5)],_0x581db6[_0x2064bb(0x141)]=_0x4de764[_0x2064bb(0x167)][_0x2064bb(0x141)],_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0x1a9)]=_0x581db6;}}let _0x350da='';_0x4d8b2a[_0x2064bb(0x19f)](helper[_0x2064bb(0x1b5)](),constants[_0x2064bb(0x156)]['MODULE'])?_0x350da=_0x4d8b2a['WZTyI']:_0x350da=_0x4d8b2a[_0x2064bb(0xfa)];const _0x4334c8=_0x350da,_0x379625=path[_0x2064bb(0x139)](__dirname,_0x4d8b2a[_0x2064bb(0x11f)],_0x4d8b2a[_0x2064bb(0x186)]),_0xb3c7c2=path[_0x2064bb(0x139)](__dirname,_0x4d8b2a['hwtWF'],_0x4d8b2a[_0x2064bb(0x105)]),_0x597f50=path[_0x2064bb(0x139)](__dirname,_0x4d8b2a[_0x2064bb(0x11f)],_0x4d8b2a['SInVq']);_0xa6782d[_0x2064bb(0x11e)]&&(process['env'][_0x2064bb(0xf5)]=_0xa6782d[_0x2064bb(0x11e)]);_0xa6782d[_0x2064bb(0x11e)]=path[_0x2064bb(0x139)](__dirname,_0x4d8b2a['hwtWF'],_0x4d8b2a[_0x2064bb(0xf6)]),_0xa6782d[_0x2064bb(0x170)]=_0xb3c7c2,_0xa6782d[_0x2064bb(0xe7)]=_0xa6782d['setupFilesAfterEnv']||[],_0xa6782d['setupFilesAfterEnv']['push'](path[_0x2064bb(0x139)](__dirname,_0x4d8b2a[_0x2064bb(0x1b2)]));_0x2ea5b2[_0x2064bb(0x165)]()&&(_0xa6782d[_0x2064bb(0x179)]=path[_0x2064bb(0x139)](__dirname,_0x4d8b2a[_0x2064bb(0x11f)],_0x4d8b2a[_0x2064bb(0x19d)]));if(testhubUtils[_0x2064bb(0x111)]()){let _0x144adc=null;try{_0x144adc=helper[_0x2064bb(0x122)](_0x4d8b2a[_0x2064bb(0x18d)],_0x4d8b2a[_0x2064bb(0xfc)]);}catch(_0xb9e16){_0x4d8b2a[_0x2064bb(0x1b0)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0xb9e16);}_0x144adc&&(_0xa6782d[_0x2064bb(0xe7)][_0x2064bb(0x1a7)](path['join'](__dirname,_0x4d8b2a[_0x2064bb(0x12d)],_0x4d8b2a[_0x2064bb(0x181)])),_0xa6782d[_0x2064bb(0x149)]=path[_0x2064bb(0x139)](__dirname,_0x4d8b2a['hwtWF'],_0x4d8b2a[_0x2064bb(0xe5)]));}_0xa6782d[_0x2064bb(0x11d)]=_0xa6782d[_0x2064bb(0x11d)]||[];try{helper[_0x2064bb(0x14e)](),_0xa6782d['setupFiles'][_0x2064bb(0x1a7)](path[_0x2064bb(0x139)](__dirname,_0x4d8b2a[_0x2064bb(0x123)]));}catch{logger[_0x2064bb(0x13b)](_0x4d8b2a[_0x2064bb(0x1ab)]);}try{helper[_0x2064bb(0x152)][_0x2064bb(0x189)](null,[_0x4d8b2a['dkSpJ'],_0x4d8b2a[_0x2064bb(0xea)]]),logger[_0x2064bb(0x13b)](_0x4d8b2a[_0x2064bb(0x10d)]),_0xa6782d[_0x2064bb(0x11d)][_0x2064bb(0x1a7)](path[_0x2064bb(0x139)](__dirname,_0x4d8b2a[_0x2064bb(0x137)]));}catch(_0x454ed2){logger[_0x2064bb(0x13b)](_0x4d8b2a[_0x2064bb(0x12e)],_0x454ed2);}_0xa6782d[_0x2064bb(0xe9)]=_0xa6782d['reporters']||[_0x4d8b2a[_0x2064bb(0x1a3)]],_0x4d8b2a[_0x2064bb(0x142)](updateTestRerunConfig,_0xa6782d,_0x4ee3aa);const _0x771db7=fs['readFileSync'](_0x597f50);fs[_0x2064bb(0x10e)](_0xa6782d[_0x2064bb(0x170)],_0x2064bb(0x140)+_0x771db7+_0x2064bb(0x16f)+_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x17b)]['length']+';\x0a\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\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20'),logger[_0x2064bb(0x18c)](_0x2064bb(0x143)+_0x4334c8+'\x20with\x20browserstack\x20jest\x20configs'),fs['writeFileSync'](_0x4334c8,_0x2064bb(0x159)+JSON[_0x2064bb(0x16e)](_0xa6782d)+'\x0amodule.exports\x20=\x20config;');if(_0x2ea5b2[_0x2064bb(0x165)]()){logger[_0x2064bb(0x13b)](_0x4d8b2a['xnhhj']);const _0x5e7b63=await _0x2ea5b2[_0x2064bb(0x1a0)](_0xa6782d,_0x5acb4f['slice'](0x1),_0x4334c8);logger[_0x2064bb(0x13b)](_0x2064bb(0x178)+JSON[_0x2064bb(0x16e)](_0x5e7b63)+_0x2064bb(0x126));const _0x4459fe=await _0x2ea5b2['reorderTestFiles'](_0x5e7b63);logger[_0x2064bb(0x13b)](_0x2064bb(0x191)+JSON['stringify'](_0x4459fe)),_0x4459fe&&_0x4d8b2a['Vpgah'](_0x4459fe[_0x2064bb(0x14b)],0x0)&&(process[_0x2064bb(0x17d)]['JEST_TEST_ORDER']=_0x4459fe?.[_0x2064bb(0x139)](','));}logger[_0x2064bb(0x18c)](_0x4d8b2a[_0x2064bb(0x1a2)]);testhubUtils[_0x2064bb(0x111)]()&&TestDetails['setup']();helper[_0x2064bb(0x182)]({},_0x5acb4f),PerformanceTester[_0x2064bb(0x168)](PerformanceEvents[_0x2064bb(0x11a)]);const _0x1589f4=_0x4d8b2a[_0x2064bb(0x1a4)](spawn,_0x4d8b2a[_0x2064bb(0x19a)],[_0x4d8b2a[_0x2064bb(0x16c)],_0x4d8b2a[_0x2064bb(0x17f)],_0x4334c8,..._0x5acb4f[_0x2064bb(0x10c)](0x1)],{'shell':_0x4d8b2a['hWJMJ'](process[_0x2064bb(0x12f)],_0x4d8b2a[_0x2064bb(0x18b)]),'stdio':_0x4d8b2a[_0x2064bb(0xde)],'env':Object[_0x2064bb(0xe2)]({},process[_0x2064bb(0x17d)])});_0x1589f4['on'](_0x4d8b2a[_0x2064bb(0x195)],async _0x50415c=>{const _0x440bbb=_0x2064bb;PerformanceTester[_0x440bbb(0x15f)](PerformanceEvents[_0x440bbb(0x194)]);try{const {browserstackFolderPath:_0x160d75,tcgConfigPath:_0x108e3c}=helper[_0x440bbb(0x144)]();fs[_0x440bbb(0x19c)](_0x108e3c),fs[_0x440bbb(0x106)](_0x160d75);}catch(_0xacaec6){logger[_0x440bbb(0x13b)](_0x4d8b2a[_0x440bbb(0x11c)],_0xacaec6);}process[_0x440bbb(0x1a6)]=_0x50415c,logger[_0x440bbb(0x13b)](_0x440bbb(0xdd)+_0x50415c),logger[_0x440bbb(0x18c)](_0x440bbb(0xe8)+_0x4334c8);if(helper['isNotUndefined'](_0x4de764)&&helper[_0x440bbb(0x196)](_0x4de764[_0x440bbb(0x167)])&&fs[_0x440bbb(0x1b3)](_0x4de764['abortBuildOnFailure']['workingDir']))try{const _0x4dcaf3={};_0x4dcaf3[_0x440bbb(0xe3)]=!![],_0x4dcaf3['force']=!![],fs[_0x440bbb(0x162)](_0x4de764['abortBuildOnFailure'][_0x440bbb(0x141)],_0x4dcaf3),logger[_0x440bbb(0x13b)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x4de764[_0x440bbb(0x167)][_0x440bbb(0x141)]);}catch(_0x49c758){logger['error'](_0x440bbb(0x163)+_0x49c758);}let _0x2653c5=null;if(fs[_0x440bbb(0x1b3)](_0x379625)){_0x2653c5=fs['readFileSync'](_0x379625);try{_0x2653c5=JSON[_0x440bbb(0x128)](_0x2653c5);}catch(_0x2b97ea){logger['debug'](_0x440bbb(0xec)+_0x379625+',\x20'+_0x2653c5+_0x440bbb(0x15e)+_0x2b97ea);}fs['unlinkSync'](_0x379625);}fs[_0x440bbb(0x19c)](_0x4334c8),fs[_0x440bbb(0x19c)](_0xb3c7c2),_0x2653c5&&(_0x4ee3aa[_0x440bbb(0x18f)]=helper[_0x440bbb(0x155)](_0x2653c5,_0x4d8b2a['EQjxp'],_0x4ee3aa));try{await TestHubHandler[_0x440bbb(0x150)](),await BrowserstackCLI['getInstance']()[_0x440bbb(0x150)]();}catch(_0x3ded71){console[_0x440bbb(0x13a)](_0x3ded71),_0x4d8b2a[_0x440bbb(0x1b0)](debug,_0x440bbb(0x151)+util[_0x440bbb(0x14d)](_0x3ded71));}testOpsHelper[_0x440bbb(0x146)](),TestDetails[_0x440bbb(0x115)](),await utilities[_0x440bbb(0x158)](_0x4ee3aa);});}function a14_0x3c41(_0x23d501,_0x3d676e){const _0x257507=a14_0x2575();return a14_0x3c41=function(_0x3c4150,_0x1bd48c){_0x3c4150=_0x3c4150-0xd9;let _0x8197e9=_0x257507[_0x3c4150];return _0x8197e9;},a14_0x3c41(_0x23d501,_0x3d676e);}module[a14_0x2965e7(0x131)]=run;
@@ -1 +1 @@
1
- const a15_0x3d0126=a15_0x3623;(function(_0x18982c,_0x3384b9){const _0x59c5f3=a15_0x3623,_0x2246e3=_0x18982c();while(!![]){try{const _0x5d03dc=parseInt(_0x59c5f3(0x1be))/0x1*(-parseInt(_0x59c5f3(0x1b9))/0x2)+-parseInt(_0x59c5f3(0x1ba))/0x3*(-parseInt(_0x59c5f3(0x1bb))/0x4)+parseInt(_0x59c5f3(0x1b0))/0x5+-parseInt(_0x59c5f3(0x1af))/0x6*(parseInt(_0x59c5f3(0x1bd))/0x7)+-parseInt(_0x59c5f3(0x1bc))/0x8+parseInt(_0x59c5f3(0x1c0))/0x9+-parseInt(_0x59c5f3(0x1b8))/0xa*(parseInt(_0x59c5f3(0x1c3))/0xb);if(_0x5d03dc===_0x3384b9)break;else _0x2246e3['push'](_0x2246e3['shift']());}catch(_0xf5723e){_0x2246e3['push'](_0x2246e3['shift']());}}}(a15_0x1303,0x3171f));const path=require(a15_0x3d0126(0x1b1)),{requireModule}=require(a15_0x3d0126(0x1c4));function a15_0x3623(_0x24ebe7,_0x25ea7c){const _0x1303f1=a15_0x1303();return a15_0x3623=function(_0x362384,_0x251a0b){_0x362384=_0x362384-0x1ae;let _0x43102d=_0x1303f1[_0x362384];return _0x43102d;},a15_0x3623(_0x24ebe7,_0x25ea7c);}let initJestAdapter=requireModule(a15_0x3d0126(0x1c1),a15_0x3d0126(0x1b3));initJestAdapter=typeof initJestAdapter===a15_0x3d0126(0x1b4)?initJestAdapter:initJestAdapter[a15_0x3d0126(0x1ae)];const FRAMEWORK_INITIALIZER=path[a15_0x3d0126(0x1c6)](__dirname,a15_0x3d0126(0x1b7));function a15_0x1303(){const _0x5b0794=['default','24ryyqSl','1212335NXeRDv','path','exports','jest-circus','function','initRequireModule','jestAdapterInit','customJestAdapterInit.js','20tnbJNj','26XgvNFr','6AytFKl','636836ceCgzZ','2027456XJShxG','106309XwgQVE','6902PuBcPi','HZxqB','676170efnHow','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','requireInternalModule','162701MhbdbK','../../../helpers/helper','ABWmK','join'];a15_0x1303=function(){return _0x5b0794;};return a15_0x1303();}module[a15_0x3d0126(0x1b2)]=(..._0x1d7c0d)=>{const _0x59970f=a15_0x3d0126,_0x1c7a1e={'ABWmK':_0x59970f(0x1b6),'HZxqB':function(_0x57e153,_0x355ab8){return _0x57e153===_0x355ab8;},'KNRdK':function(_0x3be7c6,..._0x21a015){return _0x3be7c6(..._0x21a015);}};return _0x1d7c0d[0x3]['initRequireModule']=_0x1d7c0d[0x3][_0x59970f(0x1c2)],_0x1d7c0d[0x3][_0x59970f(0x1c2)]=(..._0x537bd5)=>{const _0x5f1d60=_0x59970f;if(_0x537bd5[0x0]&&_0x537bd5[0x0]['includes'](_0x1c7a1e[_0x5f1d60(0x1c5)])&&_0x1c7a1e[_0x5f1d60(0x1bf)](_0x537bd5[0x1],undefined))return _0x1d7c0d[0x3][_0x5f1d60(0x1b5)](FRAMEWORK_INITIALIZER);return _0x1d7c0d[0x3]['initRequireModule'](..._0x537bd5);},_0x1c7a1e['KNRdK'](initJestAdapter,..._0x1d7c0d);};
1
+ const a15_0x13b830=a15_0x2c58;(function(_0xb3f792,_0x1f281f){const _0xe5431a=a15_0x2c58,_0x4a134d=_0xb3f792();while(!![]){try{const _0x6ae637=parseInt(_0xe5431a(0x152))/0x1*(-parseInt(_0xe5431a(0x160))/0x2)+-parseInt(_0xe5431a(0x14a))/0x3+parseInt(_0xe5431a(0x15a))/0x4*(-parseInt(_0xe5431a(0x15d))/0x5)+-parseInt(_0xe5431a(0x150))/0x6+-parseInt(_0xe5431a(0x15f))/0x7*(-parseInt(_0xe5431a(0x14c))/0x8)+-parseInt(_0xe5431a(0x153))/0x9+parseInt(_0xe5431a(0x154))/0xa;if(_0x6ae637===_0x1f281f)break;else _0x4a134d['push'](_0x4a134d['shift']());}catch(_0x27c445){_0x4a134d['push'](_0x4a134d['shift']());}}}(a15_0x1f58,0xa1ead));const path=require(a15_0x13b830(0x14b)),{requireModule}=require(a15_0x13b830(0x156));function a15_0x2c58(_0xa5b46f,_0x1c5fd0){const _0x1f58af=a15_0x1f58();return a15_0x2c58=function(_0x2c58a1,_0x253cfd){_0x2c58a1=_0x2c58a1-0x149;let _0x24967c=_0x1f58af[_0x2c58a1];return _0x24967c;},a15_0x2c58(_0xa5b46f,_0x1c5fd0);}let initJestAdapter=requireModule(a15_0x13b830(0x157),a15_0x13b830(0x159));initJestAdapter=typeof initJestAdapter===a15_0x13b830(0x14e)?initJestAdapter:initJestAdapter[a15_0x13b830(0x155)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,a15_0x13b830(0x15c));module[a15_0x13b830(0x14f)]=(..._0x228386)=>{const _0x5c7f47=a15_0x13b830,_0x1571c9={'QpOdF':_0x5c7f47(0x161),'ZyCWB':function(_0x508d04,_0xd49c5e){return _0x508d04===_0xd49c5e;},'YzJlt':function(_0x4d9184,..._0x5ec58f){return _0x4d9184(..._0x5ec58f);}};return _0x228386[0x3][_0x5c7f47(0x14d)]=_0x228386[0x3][_0x5c7f47(0x15e)],_0x228386[0x3]['requireInternalModule']=(..._0xfd6418)=>{const _0x1bb4cb=_0x5c7f47;if(_0xfd6418[0x0]&&_0xfd6418[0x0][_0x1bb4cb(0x151)](_0x1571c9[_0x1bb4cb(0x158)])&&_0x1571c9[_0x1bb4cb(0x149)](_0xfd6418[0x1],undefined))return _0x228386[0x3][_0x1bb4cb(0x14d)](FRAMEWORK_INITIALIZER);return _0x228386[0x3]['initRequireModule'](..._0xfd6418);},_0x1571c9[_0x5c7f47(0x15b)](initJestAdapter,..._0x228386);};function a15_0x1f58(){const _0x1efc06=['161BLhvvI','29018rJMJdY','jestAdapterInit','ZyCWB','2674062pwnKXq','path','272168RlUlZS','initRequireModule','function','exports','2129280TgzpEf','includes','85GBwylQ','10830285ENfAJT','44465970aMuJec','default','../../../helpers/helper','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','QpOdF','jest-circus','321092RIvsEs','YzJlt','customJestAdapterInit.js','55QzpfSI','requireInternalModule'];a15_0x1f58=function(){return _0x1efc06;};return a15_0x1f58();}
@@ -1 +1 @@
1
- const a16_0xba58cc=a16_0x373c;function a16_0x1b31(){const _0x3a5512=['failFastOptions','getTestEnvironment','retries__','jest-resolve','FRAMEWORKS','__jestRetries','CjaRQ','__esModule','__platformCaps','nestedKeyValue','browserstackPlatformIndex','browserStackGlobals','modifyCommand','Error\x20in\x20fail-fast\x20test_done\x20handler:','split','../../../helpers/helper','EwzYL','iDVmd','uhMGQ','exports','__driversArray','testPath','78230UxWECE','isTrue','494791iNcCor','7|2|5|6|1|3|0|4','MGObx','platformCaps','cwd','global','shouldProcessEventForTesthub','../../../index','GnHAV','../../../helpers/test-observability/requestQueueHandler','mode','name','errors','percy','failFast','Builder','shouldFailFast','projectConfig','Kjwjq','BSTACK_DELTA','testEnvironmentOptions','10837mVNzJx','irwys','ZNNXG','xFURC','teardown','jest-config','775832PKZqKB','configuration','GIvCV','__skipSessionStatus','KmZLs','yVuaE','requireModule','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','capability','266dNvcrt','JEST','percyCaptureMode','jestConfig','4XzJnuF','timeout__','browserstackPercyBestPlatform','cqexD','../../utils/constants','xLtiV','buildName','rQZuG','__drivers','test','60lcQQlC','uXTaj','81712mnHxHE','test_done','shutdown','join','skip','sessionNameProvided','setup','111235MDEgFO','__webdriver','hwshv','driver','requireSeleniumWebdriver','failFastActive','onTestDone','builder','framework','XvPXD','225OTIFLx','resolveTestEnvironment','capabilities','../../../helpers/test-observability/utils','winstonLogger','registerListeners','projectName','node','quit','cleanup','isArray','test_start','skipSessionName','dBiiA','mtemu','default','rrWhW','info','hAApY','KiHaj','__timeout','VBaTf','message','1255128EZchQu'];a16_0x1b31=function(){return _0x3a5512;};return a16_0x1b31();}(function(_0x42bd5c,_0x555fb6){const _0x531776=a16_0x373c,_0x2d9f53=_0x42bd5c();while(!![]){try{const _0x1c71b2=-parseInt(_0x531776(0x20d))/0x1*(parseInt(_0x531776(0x1ab))/0x2)+-parseInt(_0x531776(0x1df))/0x3+-parseInt(_0x531776(0x213))/0x4+parseInt(_0x531776(0x1be))/0x5*(parseInt(_0x531776(0x1b5))/0x6)+parseInt(_0x531776(0x21c))/0x7*(parseInt(_0x531776(0x1b7))/0x8)+parseInt(_0x531776(0x1c8))/0x9*(parseInt(_0x531776(0x1f6))/0xa)+parseInt(_0x531776(0x1f8))/0xb;if(_0x1c71b2===_0x555fb6)break;else _0x2d9f53['push'](_0x2d9f53['shift']());}catch(_0x3b8c75){_0x2d9f53['push'](_0x2d9f53['shift']());}}}(a16_0x1b31,0x3503e));const helper=require(a16_0xba58cc(0x1ef)),constants=require(a16_0xba58cc(0x1af)),{isTestObservabilitySession}=require(a16_0xba58cc(0x1cb)),RequestQueueHandler=require(a16_0xba58cc(0x201)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require('../../../helpers/testhub/utils'),logger=require('../../../helpers/logger')[a16_0xba58cc(0x1cc)],getTestEnvironment=((()=>{const _0x234af2=a16_0xba58cc,_0xf2ebff={};_0xf2ebff['ExBZO']=_0x234af2(0x1e3),_0xf2ebff['GnHAV']=_0x234af2(0x212);const _0x4d32eb=_0xf2ebff;try{const _0x19da32=helper[_0x234af2(0x219)](_0x4d32eb['ExBZO']);if(_0x19da32[_0x234af2(0x1c9)])return _0x19da32[_0x234af2(0x1c9)];const _0x359403=helper[_0x234af2(0x219)](_0x4d32eb[_0x234af2(0x200)]);if(_0x359403[_0x234af2(0x1e1)])return _0x359403[_0x234af2(0x1e1)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x1e664c=a16_0xba58cc,_0x13ff72={'hwshv':function(_0x886d26,_0xfbcafa){return _0x886d26(_0xfbcafa);},'LAfcw':_0x1e664c(0x1cf),'CCMwM':'jest-environment-node','hAApY':function(_0x15c66e,_0x550974){return _0x15c66e(_0x550974);}},_0x44d1b0=_0x13ff72[_0x1e664c(0x1c0)](getTestEnvironment,{'rootDir':process[_0x1e664c(0x1fc)](),'testEnvironment':process['env']['BSTACK_JEST_TEST_ENV']||_0x13ff72['LAfcw']});if(!_0x44d1b0)return _0x13ff72[_0x1e664c(0x1c0)](_interopRequireDefault,helper[_0x1e664c(0x219)](_0x13ff72['CCMwM']));return _0x13ff72[_0x1e664c(0x1da)](_interopRequireDefault,helper[_0x1e664c(0x219)](_0x44d1b0));})()),_seleniumWebdriver2=((()=>{const _0x3302c4=a16_0xba58cc,_0x504bb7={'dBiiA':function(_0x11bbbd,_0x1b740a){return _0x11bbbd(_0x1b740a);}};try{const _0x3fb53d=helper[_0x3302c4(0x1c2)]();return helper[_0x3302c4(0x1ec)](),_0x504bb7[_0x3302c4(0x1d5)](_interopRequireDefault,_0x3fb53d);}catch{return null;}})());function _interopRequireDefault(_0x323333){const _0x46ab2f=a16_0xba58cc;return _0x323333&&_0x323333[_0x46ab2f(0x1e7)]?_0x323333:{'default':_0x323333};}function a16_0x373c(_0x1518a9,_0x13a225){const _0x1b3171=a16_0x1b31();return a16_0x373c=function(_0x373c9f,_0x42ae03){_0x373c9f=_0x373c9f-0x1aa;let _0x3ef2dd=_0x1b3171[_0x373c9f];return _0x3ef2dd;},a16_0x373c(_0x1518a9,_0x13a225);}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0xba58cc(0x1d7)][a16_0xba58cc(0x207)]:null;class CustomEnvironment extends _jestUserEnvironment['default']{constructor(_0x268cf6){const _0x378f53=a16_0xba58cc,_0x1786bd={'cqexD':_0x378f53(0x1d0),'KmZLs':function(_0x54c4c2,_0x2fe090){return _0x54c4c2+_0x2fe090;},'rQZuG':'bstack:options','VBaTf':function(_0x16cd10,_0x59d87c){return _0x16cd10(_0x59d87c);},'KiHaj':'../../../helpers/test-orchestration/failfastManager','xLtiV':_0x378f53(0x1f9),'rrWhW':_0x378f53(0x20c),'Kjwjq':'browserStackPercyOptions','MGObx':'percyCaptureMode','CjaRQ':_0x378f53(0x1ff),'ZNNXG':_0x378f53(0x1ad),'iDVmd':_0x378f53(0x205)};super(_0x268cf6),this[_0x378f53(0x1fd)][_0x378f53(0x1dc)]=0x0,this['configuration']={};!_0x268cf6[_0x378f53(0x20c)]&&(_0x268cf6['testEnvironmentOptions']={});if(helper['isBrowserstackInfra']()){_0x268cf6['testEnvironmentOptions']=_0x268cf6[_0x378f53(0x209)]?_0x268cf6[_0x378f53(0x209)][_0x378f53(0x20c)]:_0x268cf6[_0x378f53(0x20c)];_seleniumWebdriver2&&(this[_0x378f53(0x1c5)]=new _seleniumWebdriver2[(_0x378f53(0x1d7))][(_0x378f53(0x207))]());this[_0x378f53(0x21b)]=_0x268cf6[_0x378f53(0x209)]?_0x268cf6['projectConfig']['capability']:_0x268cf6[_0x378f53(0x21b)],this[_0x378f53(0x1fd)][_0x378f53(0x1dc)]=_0x1786bd[_0x378f53(0x217)](_0x268cf6[_0x378f53(0x20c)][_0x378f53(0x1ac)]||0x1388,constants[_0x378f53(0x20b)]),this[_0x378f53(0x1e0)]=_0x268cf6[_0x378f53(0x20c)][_0x378f53(0x206)];if(this[_0x378f53(0x1e0)]){const _0x11aa3e=this[_0x378f53(0x21b)][_0x1786bd[_0x378f53(0x1b2)]]?.[_0x378f53(0x1b1)]||'',_0x222de4=this[_0x378f53(0x21b)][_0x1786bd['rQZuG']]?.[_0x378f53(0x1ce)]||'';this[_0x378f53(0x206)]=new(_0x1786bd[_0x378f53(0x1dd)](require,_0x1786bd[_0x378f53(0x1db)]))(this[_0x378f53(0x1e0)],_0x11aa3e,_0x222de4),this[_0x378f53(0x1fd)][_0x378f53(0x1c3)]=![];}helper['isNotUndefined'](_0x268cf6[_0x378f53(0x20c)][_0x378f53(0x1e2)])&&(this[_0x378f53(0x1fd)][_0x378f53(0x1e5)]=_0x268cf6[_0x378f53(0x20c)][_0x378f53(0x1e2)]);}if(testhubUtils[_0x378f53(0x1fe)]()){const _0x2fc879=new ObservabilityReporter();_0x2fc879[_0x378f53(0x1cd)]();}this[_0x378f53(0x1fd)][_0x378f53(0x1eb)]={},this[_0x378f53(0x214)]=_0x268cf6[_0x378f53(0x20c)],this['configuration'][_0x378f53(0x1c6)]=constants[_0x378f53(0x1e4)][_0x378f53(0x21d)],this[_0x378f53(0x1fd)][_0x378f53(0x1ea)]=(_0x268cf6[_0x378f53(0x209)]?_0x268cf6['projectConfig'][_0x378f53(0x1ea)]:_0x268cf6[_0x378f53(0x1ea)])||0x0,this['global'][_0x378f53(0x1e8)]=this[_0x378f53(0x214)]&&this[_0x378f53(0x214)]['platformCaps']&&Array[_0x378f53(0x1d2)](this[_0x378f53(0x214)][_0x378f53(0x1fb)])&&this[_0x378f53(0x214)]['platformCaps'][this[_0x378f53(0x1fd)]['browserstackPlatformIndex']]||{};const _0x1228a7=this[_0x378f53(0x1fd)]['browserstackPlatformIndex'],_0x18cdee={...this[_0x378f53(0x214)],'capability':this['configuration'][_0x378f53(0x1ca)]&&Array[_0x378f53(0x1d2)](this[_0x378f53(0x214)]['capabilities'])&&this[_0x378f53(0x214)]['capabilities'][_0x1228a7]||{},'platformCaps':this['configuration']['platformCaps']&&Array[_0x378f53(0x1d2)](this[_0x378f53(0x214)]['platformCaps'])&&this[_0x378f53(0x214)]['platformCaps'][_0x1228a7]||{}};delete _0x18cdee[_0x378f53(0x1ca)],this[_0x378f53(0x1fd)][_0x378f53(0x1aa)]=_0x18cdee;if(_seleniumWebdriver2){const _0x492cc7=_0x1786bd[_0x378f53(0x1b0)][_0x378f53(0x1ee)]('|');let _0x275e5f=0x0;while(!![]){switch(_0x492cc7[_0x275e5f++]){case'0':this[_0x378f53(0x1fd)][_0x378f53(0x216)]=helper['isTrue'](this[_0x378f53(0x214)]['skipSessionStatus']);continue;case'1':this[_0x378f53(0x1fd)][_0x378f53(0x21e)]=helper[_0x378f53(0x1e9)](_0x268cf6,[_0x1786bd[_0x378f53(0x1d8)],_0x1786bd[_0x378f53(0x20a)],_0x1786bd[_0x378f53(0x1fa)]]);continue;case'2':this['global'][_0x378f53(0x1bf)]=_0x1786bd[_0x378f53(0x1dd)](require,_0x1786bd[_0x378f53(0x1e6)])['browserstackAgentV2']({...this['configuration'],'capability':this['capability']||{}},this,testhubUtils[_0x378f53(0x1fe)]());continue;case'3':helper[_0x378f53(0x1f7)](this[_0x378f53(0x214)][_0x378f53(0x1d4)])?this[_0x378f53(0x1fd)][_0x378f53(0x1bc)]=!![]:this[_0x378f53(0x1fd)][_0x378f53(0x1bc)]=![];continue;case'4':this[_0x378f53(0x1fd)][_0x378f53(0x1d1)]=async()=>{const _0x49057a=_0x378f53;await this[_0x49057a(0x1fd)][_0x49057a(0x1c1)][_0x49057a(0x1d0)](_0x1786bd[_0x49057a(0x1ae)]);};continue;case'5':this[_0x378f53(0x1fd)]['browserstackPercyBestPlatform']=helper['nestedKeyValue'](_0x268cf6,[_0x1786bd[_0x378f53(0x1d8)],_0x1786bd['Kjwjq'],_0x1786bd[_0x378f53(0x20f)]]);continue;case'6':this[_0x378f53(0x1fd)][_0x378f53(0x205)]=helper['nestedKeyValue'](_0x268cf6,[_0x1786bd[_0x378f53(0x1d8)],_0x1786bd['Kjwjq'],_0x1786bd[_0x378f53(0x1f1)]]);continue;case'7':this[_0x378f53(0x1fd)][_0x378f53(0x1b3)]=[];continue;}break;}}}async[a16_0xba58cc(0x211)](){const _0x100d0c=a16_0xba58cc;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x100d0c(0x1fd)][_0x100d0c(0x1f4)]),this[_0x100d0c(0x1fd)][_0x100d0c(0x1bf)]['Builder']=originalBuilder),await RequestQueueHandler['getInstance']()[_0x100d0c(0x1b9)]();}async[a16_0xba58cc(0x1bd)](){}async['handleTestEvent'](_0x36356c,_0x5d8f98){const _0x4333d7=a16_0xba58cc,_0x35999e={};_0x35999e[_0x4333d7(0x218)]=function(_0x2571fa,_0x5b404e){return _0x2571fa===_0x5b404e;},_0x35999e['xFURC']=_0x4333d7(0x1d3),_0x35999e['mtemu']=_0x4333d7(0x1bb),_0x35999e['EwzYL']=function(_0x54c5d0,_0x20c050){return _0x54c5d0===_0x20c050;},_0x35999e[_0x4333d7(0x1f2)]=_0x4333d7(0x1b8),_0x35999e['uXTaj']='\x20>\x20',_0x35999e[_0x4333d7(0x20e)]=function(_0x13e756,_0x1d5338){return _0x13e756===_0x1d5338;},_0x35999e[_0x4333d7(0x1c7)]=_0x4333d7(0x1ed),_0x35999e['GIvCV']=_0x4333d7(0x211);const _0x5473ca=_0x35999e,{name:_0xfec24f}=_0x36356c;if(_0x5473ca[_0x4333d7(0x218)](_0xfec24f,_0x5473ca[_0x4333d7(0x210)])){this[_0x4333d7(0x1fd)]['testContext']=_0x36356c[_0x4333d7(0x1b4)];if(_0x5473ca[_0x4333d7(0x218)](this['global']['failFastActive'],!![])){const _0xe567e9=_0x36356c[_0x4333d7(0x1b4)][_0x4333d7(0x203)];logger[_0x4333d7(0x1d9)](_0x4333d7(0x21a)+_0xe567e9),_0x36356c[_0x4333d7(0x1b4)][_0x4333d7(0x202)]=_0x5473ca[_0x4333d7(0x1d6)];}}if(this[_0x4333d7(0x206)]&&_0x5473ca[_0x4333d7(0x1f0)](_0xfec24f,_0x5473ca[_0x4333d7(0x1f2)]))try{const _0x1f5e1c=_0x36356c['test'][_0x4333d7(0x1f5)][_0x4333d7(0x1ba)](_0x5473ca[_0x4333d7(0x1b6)]),_0x2061da=_0x36356c[_0x4333d7(0x1b4)][_0x4333d7(0x204)];await this[_0x4333d7(0x206)][_0x4333d7(0x1c4)](_0x1f5e1c,_0x2061da);const _0x3153ad=await this['failFast'][_0x4333d7(0x208)]();_0x5473ca[_0x4333d7(0x20e)](this[_0x4333d7(0x1fd)][_0x4333d7(0x1c3)],![])&&_0x5473ca[_0x4333d7(0x218)](_0x3153ad,!![])&&(this[_0x4333d7(0x1fd)][_0x4333d7(0x1c3)]=!![]);}catch(_0x3e09eb){logger['debug'](_0x5473ca[_0x4333d7(0x1c7)],_0x3e09eb[_0x4333d7(0x1de)]);}_0x5473ca[_0x4333d7(0x1f0)](_0xfec24f,_0x5473ca[_0x4333d7(0x215)])&&(this[_0x4333d7(0x206)]&&this[_0x4333d7(0x206)]['cleanup']());}}module[a16_0xba58cc(0x1f3)]=CustomEnvironment;
1
+ const a16_0xc9a98f=a16_0x5dee;function a16_0x33dd(){const _0x82a58d=['BSTACK_DELTA','name','default','capability','NPorn','eHbDI','__timeout','node','info','handleTestEvent','registerListeners','__jestRetries','shouldProcessEventForTesthub','testEnvironmentOptions','rmfJR','jest-resolve','1jvcoZI','modifyCommand','jestConfig','percy','testPath','3357434BwetaH','__esModule','configuration','framework','debug','ceDTj','errors','cWhEC','shutdown','isTrue','browserstackPercyBestPlatform','OHBTx','platformCaps','brDPp','failFastOptions','isNotUndefined','../../../helpers/helper','1|0|3|5|6|7|4|2','isArray','winstonLogger','test_done','12504680dZmdMv','aFnmI','sessionNameProvided','browserstackAgentV2','JEST','skip','resolveTestEnvironment','../../../helpers/test-orchestration/failfastManager','cleanupDrivers','__platformCaps','capabilities','retries__','Builder','buildName','592739WFWeez','oDJVv','bstack:options','2867550TKCvue','BYmAU','env','locTt','LSdCv','OCssx','getTestEnvironment','nestedKeyValue','YVeSP','failFast','108oIyliC','builder','failFastActive','ZhHeD','__driversArray','quit','message','Error\x20in\x20fail-fast\x20test_done\x20handler:','teardown','FRAMEWORKS','../../../helpers/logger','getInstance','testContext','4809592WNXVUY','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','../../../helpers/testhub/utils','fWuZd','../../utils/constants','gglgI','__webdriver','projectConfig','qRGAU','44800515kMSpYn','projectName','browserStackPercyOptions','oddXF','requireSeleniumWebdriver','1783671MYZHCt','requireModule','test','dwQYg','jest-environment-node','exports','onTestDone','SbUmA','__drivers','percyCaptureMode','split','browserstackPlatformIndex','mode','\x20>\x20','global','skipSessionName','AHoXV','skipSessionStatus','BSTACK_JEST_TEST_ENV'];a16_0x33dd=function(){return _0x82a58d;};return a16_0x33dd();}(function(_0x1c7d7b,_0x414ea2){const _0x99bedc=a16_0x5dee,_0x2fa379=_0x1c7d7b();while(!![]){try{const _0x5ef3b4=parseInt(_0x99bedc(0x1de))/0x1*(-parseInt(_0x99bedc(0x1e3))/0x2)+-parseInt(_0x99bedc(0x1bb))/0x3+-parseInt(_0x99bedc(0x220))/0x4+-parseInt(_0x99bedc(0x209))/0x5+parseInt(_0x99bedc(0x213))/0x6*(-parseInt(_0x99bedc(0x206))/0x7)+parseInt(_0x99bedc(0x1f8))/0x8+parseInt(_0x99bedc(0x1b6))/0x9;if(_0x5ef3b4===_0x414ea2)break;else _0x2fa379['push'](_0x2fa379['shift']());}catch(_0x212587){_0x2fa379['push'](_0x2fa379['shift']());}}}(a16_0x33dd,0xec380));const helper=require(a16_0xc9a98f(0x1f3)),constants=require(a16_0xc9a98f(0x224)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a16_0xc9a98f(0x222)),logger=require(a16_0xc9a98f(0x21d))[a16_0xc9a98f(0x1f6)],getTestEnvironment=((()=>{const _0x1e98d3=a16_0xc9a98f,_0x3937c9={};_0x3937c9[_0x1e98d3(0x211)]=_0x1e98d3(0x1dd),_0x3937c9[_0x1e98d3(0x1ea)]='jest-config';const _0x21be9f=_0x3937c9;try{const _0x4b7720=helper['requireModule'](_0x21be9f[_0x1e98d3(0x211)]);if(_0x4b7720[_0x1e98d3(0x1fe)])return _0x4b7720[_0x1e98d3(0x1fe)];const _0x27bd76=helper[_0x1e98d3(0x1bc)](_0x21be9f[_0x1e98d3(0x1ea)]);if(_0x27bd76['getTestEnvironment'])return _0x27bd76[_0x1e98d3(0x20f)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x115806=a16_0xc9a98f,_0x76dd4d={'oddXF':function(_0x3e2814,_0x17f908){return _0x3e2814(_0x17f908);},'OHBTx':_0x115806(0x1d5),'SbUmA':_0x115806(0x1bf)},_0x21b9c8=_0x76dd4d[_0x115806(0x1b9)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x115806(0x20b)][_0x115806(0x1cd)]||_0x76dd4d[_0x115806(0x1ee)]});if(!_0x21b9c8)return _0x76dd4d[_0x115806(0x1b9)](_interopRequireDefault,helper[_0x115806(0x1bc)](_0x76dd4d[_0x115806(0x1c2)]));return _0x76dd4d[_0x115806(0x1b9)](_interopRequireDefault,helper[_0x115806(0x1bc)](_0x21b9c8));})()),_seleniumWebdriver2=((()=>{const _0x52b7e8=a16_0xc9a98f,_0x109bfe={'fWuZd':function(_0x2e7f63,_0x249d31){return _0x2e7f63(_0x249d31);}};try{const _0x47dd2c=helper[_0x52b7e8(0x1ba)]();return helper[_0x52b7e8(0x1df)](),_0x109bfe[_0x52b7e8(0x223)](_interopRequireDefault,_0x47dd2c);}catch{return null;}})());function a16_0x5dee(_0x33a8a9,_0xf79e88){const _0x33ddd1=a16_0x33dd();return a16_0x5dee=function(_0x5dee77,_0x4e9948){_0x5dee77=_0x5dee77-0x1b2;let _0x56ede4=_0x33ddd1[_0x5dee77];return _0x56ede4;},a16_0x5dee(_0x33a8a9,_0xf79e88);}function _interopRequireDefault(_0x19ee2c){const _0x49b208=a16_0xc9a98f;return _0x19ee2c&&_0x19ee2c[_0x49b208(0x1e4)]?_0x19ee2c:{'default':_0x19ee2c};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0xc9a98f(0x1d0)][a16_0xc9a98f(0x204)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0xc9a98f(0x1d0)]{constructor(_0x5536cd){const _0x115579=a16_0xc9a98f,_0x11a6bf={'LSdCv':'quit','jhKcM':function(_0x880cb9,_0x1dd4a9){return _0x880cb9+_0x1dd4a9;},'ceDTj':_0x115579(0x208),'SrWCk':function(_0x1ffc79,_0x21f706){return _0x1ffc79(_0x21f706);},'NPorn':_0x115579(0x1ff),'XDMJs':_0x115579(0x1f4),'KksOb':function(_0x37939c,_0x308b36){return _0x37939c(_0x308b36);},'rmfJR':'../../../index','qRGAU':_0x115579(0x1db),'gglgI':_0x115579(0x1b8),'locTt':_0x115579(0x1ed),'AHoXV':_0x115579(0x1e1),'OCssx':'percyCaptureMode'};super(_0x5536cd),this[_0x115579(0x1c9)][_0x115579(0x1d4)]=0x0,this[_0x115579(0x1e5)]={};!_0x5536cd[_0x115579(0x1db)]&&(_0x5536cd['testEnvironmentOptions']={});if(helper['isBrowserstackInfra']()){_0x5536cd[_0x115579(0x1db)]=_0x5536cd['projectConfig']?_0x5536cd[_0x115579(0x1b4)][_0x115579(0x1db)]:_0x5536cd['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x115579(0x214)]=new _seleniumWebdriver2[(_0x115579(0x1d0))]['Builder']());this[_0x115579(0x1d1)]=_0x5536cd[_0x115579(0x1b4)]?_0x5536cd[_0x115579(0x1b4)][_0x115579(0x1d1)]:_0x5536cd[_0x115579(0x1d1)],this[_0x115579(0x1c9)]['__timeout']=_0x11a6bf['jhKcM'](_0x5536cd[_0x115579(0x1db)]['timeout__']||0x1388,constants[_0x115579(0x1ce)]),this[_0x115579(0x1f1)]=_0x5536cd['testEnvironmentOptions'][_0x115579(0x212)];if(this['failFastOptions']){const _0x3784de=this[_0x115579(0x1d1)][_0x11a6bf['ceDTj']]?.[_0x115579(0x205)]||'',_0x200fb1=this[_0x115579(0x1d1)][_0x11a6bf[_0x115579(0x1e8)]]?.[_0x115579(0x1b7)]||'';this[_0x115579(0x212)]=new(_0x11a6bf['SrWCk'](require,_0x11a6bf[_0x115579(0x1d2)]))(this[_0x115579(0x1f1)],_0x3784de,_0x200fb1),this[_0x115579(0x1c9)][_0x115579(0x215)]=![];}helper[_0x115579(0x1f2)](_0x5536cd['testEnvironmentOptions']['retries__'])&&(this[_0x115579(0x1c9)][_0x115579(0x1d9)]=_0x5536cd[_0x115579(0x1db)][_0x115579(0x203)]);}if(testhubUtils[_0x115579(0x1da)]()){const _0x1507cf=new ObservabilityReporter();_0x1507cf[_0x115579(0x1d8)]();}this[_0x115579(0x1c9)]['browserStackGlobals']={},this['configuration']=_0x5536cd[_0x115579(0x1db)],this['configuration'][_0x115579(0x1e6)]=constants[_0x115579(0x21c)][_0x115579(0x1fc)],this[_0x115579(0x1c9)][_0x115579(0x1c6)]=(_0x5536cd['projectConfig']?_0x5536cd[_0x115579(0x1b4)][_0x115579(0x1c6)]:_0x5536cd[_0x115579(0x1c6)])||0x0,this['global'][_0x115579(0x201)]=this[_0x115579(0x1e5)]&&this[_0x115579(0x1e5)]['platformCaps']&&Array[_0x115579(0x1f5)](this['configuration'][_0x115579(0x1ef)])&&this[_0x115579(0x1e5)][_0x115579(0x1ef)][this[_0x115579(0x1c9)][_0x115579(0x1c6)]]||{};const _0x5d9850=this[_0x115579(0x1c9)][_0x115579(0x1c6)],_0x1210b0={...this['configuration'],'capability':this['configuration'][_0x115579(0x202)]&&Array['isArray'](this[_0x115579(0x1e5)][_0x115579(0x202)])&&this[_0x115579(0x1e5)][_0x115579(0x202)][_0x5d9850]||{},'platformCaps':this['configuration'][_0x115579(0x1ef)]&&Array['isArray'](this[_0x115579(0x1e5)]['platformCaps'])&&this['configuration'][_0x115579(0x1ef)][_0x5d9850]||{}};delete _0x1210b0[_0x115579(0x202)],this[_0x115579(0x1c9)][_0x115579(0x1e0)]=_0x1210b0;if(_seleniumWebdriver2){const _0x29fae7=_0x11a6bf['XDMJs'][_0x115579(0x1c5)]('|');let _0x197b81=0x0;while(!![]){switch(_0x29fae7[_0x197b81++]){case'0':this['global'][_0x115579(0x1b3)]=_0x11a6bf['KksOb'](require,_0x11a6bf[_0x115579(0x1dc)])[_0x115579(0x1fb)]({...this[_0x115579(0x1e5)],'capability':this[_0x115579(0x1d1)]||{}},this,testhubUtils[_0x115579(0x1da)]());continue;case'1':this['global'][_0x115579(0x1c3)]=[];continue;case'2':this[_0x115579(0x1c9)]['cleanup']=async()=>{const _0x7721c=_0x115579;await this[_0x7721c(0x1c9)]['driver'][_0x7721c(0x218)](_0x11a6bf[_0x7721c(0x20d)]);};continue;case'3':this['global'][_0x115579(0x1ed)]=helper[_0x115579(0x210)](_0x5536cd,[_0x11a6bf[_0x115579(0x1b5)],_0x11a6bf[_0x115579(0x1b2)],_0x11a6bf[_0x115579(0x20c)]]);continue;case'4':this[_0x115579(0x1c9)]['__skipSessionStatus']=helper[_0x115579(0x1ec)](this[_0x115579(0x1e5)][_0x115579(0x1cc)]);continue;case'5':this[_0x115579(0x1c9)]['percy']=helper[_0x115579(0x210)](_0x5536cd,[_0x11a6bf[_0x115579(0x1b5)],_0x11a6bf[_0x115579(0x1b2)],_0x11a6bf[_0x115579(0x1cb)]]);continue;case'6':this['global'][_0x115579(0x1c4)]=helper['nestedKeyValue'](_0x5536cd,[_0x11a6bf[_0x115579(0x1b5)],_0x11a6bf[_0x115579(0x1b2)],_0x11a6bf[_0x115579(0x20e)]]);continue;case'7':helper[_0x115579(0x1ec)](this[_0x115579(0x1e5)][_0x115579(0x1ca)])?this['global'][_0x115579(0x1fa)]=!![]:this[_0x115579(0x1c9)][_0x115579(0x1fa)]=![];continue;}break;}}}async[a16_0xc9a98f(0x21b)](){const _0x1eb88d=a16_0xc9a98f;_seleniumWebdriver2&&(await helper[_0x1eb88d(0x200)](this[_0x1eb88d(0x1c9)][_0x1eb88d(0x217)]),this['global'][_0x1eb88d(0x1b3)]['Builder']=originalBuilder),await RequestQueueHandler[_0x1eb88d(0x21e)]()[_0x1eb88d(0x1eb)]();}async['setup'](){}async[a16_0xc9a98f(0x1d7)](_0x232f67,_0x43e3f0){const _0x183cbe=a16_0xc9a98f,_0x1c1865={};_0x1c1865[_0x183cbe(0x1f9)]=function(_0x3219d3,_0x59e2e9){return _0x3219d3===_0x59e2e9;},_0x1c1865[_0x183cbe(0x1be)]='test_start',_0x1c1865[_0x183cbe(0x216)]=_0x183cbe(0x1fd),_0x1c1865[_0x183cbe(0x207)]=_0x183cbe(0x1f7),_0x1c1865[_0x183cbe(0x20a)]=_0x183cbe(0x1c8),_0x1c1865[_0x183cbe(0x1d3)]=_0x183cbe(0x21a),_0x1c1865['brDPp']=function(_0x142acd,_0x2d4a71){return _0x142acd===_0x2d4a71;},_0x1c1865['uNObC']=_0x183cbe(0x21b);const _0x425437=_0x1c1865,{name:_0x3e8583}=_0x232f67;if(_0x425437[_0x183cbe(0x1f9)](_0x3e8583,_0x425437[_0x183cbe(0x1be)])){this[_0x183cbe(0x1c9)][_0x183cbe(0x21f)]=_0x232f67[_0x183cbe(0x1bd)];if(_0x425437[_0x183cbe(0x1f9)](this['global']['failFastActive'],!![])){const _0x4303a0=_0x232f67[_0x183cbe(0x1bd)][_0x183cbe(0x1cf)];logger[_0x183cbe(0x1d6)](_0x183cbe(0x221)+_0x4303a0),_0x232f67[_0x183cbe(0x1bd)][_0x183cbe(0x1c7)]=_0x425437['ZhHeD'];}}if(this[_0x183cbe(0x212)]&&_0x425437[_0x183cbe(0x1f9)](_0x3e8583,_0x425437[_0x183cbe(0x207)]))try{const _0x280615=_0x232f67[_0x183cbe(0x1bd)][_0x183cbe(0x1e2)]['join'](_0x425437[_0x183cbe(0x20a)]),_0x2a2fe8=_0x232f67[_0x183cbe(0x1bd)][_0x183cbe(0x1e9)];await this[_0x183cbe(0x212)][_0x183cbe(0x1c1)](_0x280615,_0x2a2fe8);const _0x2684f5=await this[_0x183cbe(0x212)]['shouldFailFast']();_0x425437[_0x183cbe(0x1f9)](this['global']['failFastActive'],![])&&_0x425437['aFnmI'](_0x2684f5,!![])&&(this[_0x183cbe(0x1c9)][_0x183cbe(0x215)]=!![]);}catch(_0x4a4b7e){logger[_0x183cbe(0x1e7)](_0x425437[_0x183cbe(0x1d3)],_0x4a4b7e[_0x183cbe(0x219)]);}_0x425437[_0x183cbe(0x1f0)](_0x3e8583,_0x425437['uNObC'])&&(this['failFast']&&this[_0x183cbe(0x212)]['cleanup']());}}module[a16_0xc9a98f(0x1c0)]=CustomEnvironment;
@@ -1 +1 @@
1
- const a17_0x81a33d=a17_0xfbe8;(function(_0x36aa4a,_0xe5b2c8){const _0x3437d0=a17_0xfbe8,_0x4548db=_0x36aa4a();while(!![]){try{const _0x23d8ab=-parseInt(_0x3437d0(0x108))/0x1*(parseInt(_0x3437d0(0xb1))/0x2)+parseInt(_0x3437d0(0x102))/0x3*(-parseInt(_0x3437d0(0xf5))/0x4)+-parseInt(_0x3437d0(0xc9))/0x5+-parseInt(_0x3437d0(0x115))/0x6*(parseInt(_0x3437d0(0xb8))/0x7)+-parseInt(_0x3437d0(0x116))/0x8*(-parseInt(_0x3437d0(0xe3))/0x9)+-parseInt(_0x3437d0(0x125))/0xa+parseInt(_0x3437d0(0xb6))/0xb;if(_0x23d8ab===_0xe5b2c8)break;else _0x4548db['push'](_0x4548db['shift']());}catch(_0x5913c2){_0x4548db['push'](_0x4548db['shift']());}}}(a17_0x4fdb,0xe2068));const {requireModule}=require(a17_0x81a33d(0x112)),ObservabilityReporter=require(a17_0x81a33d(0xbf)),RequestQueueHandler=require(a17_0x81a33d(0x12d)),TestDetails=require(a17_0x81a33d(0x107)),{patchConsoleLogger,debug}=require(a17_0x81a33d(0xf9)),{o11yErrorHandler}=require(a17_0x81a33d(0x126)),{shouldProcessEventForTesthub}=require(a17_0x81a33d(0xcc)),testHubConstants=require(a17_0x81a33d(0x100)),BrowserstackCLI=require(a17_0x81a33d(0xd3)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a17_0x81a33d(0xd0)),JestUtils=require(a17_0x81a33d(0x110)),{v4:uuidv4}=require('uuid'),util=require(a17_0x81a33d(0x124)),logger=require(a17_0x81a33d(0x13e))[a17_0x81a33d(0xe0)],{FRAMEWORKS}=require('../../utils/constants'),exportsI=requireModule(a17_0x81a33d(0xec),a17_0x81a33d(0x109)),initInitialize=exportsI[a17_0x81a33d(0xda)],jestUtils=new JestUtils();async function isCLIReady(){const _0x365287=a17_0x81a33d,_0x57f7c7={'VxcRU':_0x365287(0xc5),'WVOUe':function(_0x4cbe0b,_0x27682b){return _0x4cbe0b(_0x27682b);},'SrowL':_0x365287(0x13a),'SjoBW':function(_0x3e61dd,_0xcbf6d7){return _0x3e61dd(_0xcbf6d7);}};try{const _0x3e7db7=BrowserstackCLI[_0x365287(0xd2)]();if(_0x3e7db7['isCliEnabled']()&&_0x3e7db7[_0x365287(0x144)]())return logger['debug'](_0x57f7c7['VxcRU']),!![];const _0x2363ac=process[_0x365287(0xe6)][_0x365287(0xa2)];if(_0x2363ac&&_0x3e7db7[_0x365287(0x11c)]()){if(!_0x3e7db7['isRunning']())try{const _0x3eff22=_0x57f7c7[_0x365287(0x128)](require,_0x57f7c7[_0x365287(0x12c)]);_0x3eff22[_0x365287(0xae)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x365287(0xe7)]),await _0x3e7db7[_0x365287(0x142)]();}catch(_0x34c144){return _0x57f7c7[_0x365287(0xcf)](debug,_0x365287(0xf8)+util[_0x365287(0xc4)](_0x34c144)),![];}return _0x3e7db7['isRunning']();}return![];}catch(_0x46e78f){return _0x57f7c7[_0x365287(0xcf)](debug,_0x365287(0xee)+util['format'](_0x46e78f)),![];}}function getTestIdentifierForHook(_0x11bf59){const _0x5c7906=a17_0x81a33d,_0x2b816a={};_0x2b816a[_0x5c7906(0x129)]=function(_0x4ca6eb,_0xd52bd0){return _0x4ca6eb===_0xd52bd0;},_0x2b816a[_0x5c7906(0xa4)]=_0x5c7906(0x132),_0x2b816a['OAOvy']=function(_0x208e0c,_0x256910){return _0x208e0c===_0x256910;},_0x2b816a['kszCc']=_0x5c7906(0xde);const _0x41ed72=_0x2b816a;if(_0x41ed72[_0x5c7906(0x129)](_0x11bf59['type'],_0x41ed72[_0x5c7906(0xa4)])||_0x41ed72['OAOvy'](_0x11bf59[_0x5c7906(0x141)],_0x41ed72[_0x5c7906(0x101)])){let _0x2f80d9=global[_0x5c7906(0x12e)];if(!_0x2f80d9&&_0x41ed72[_0x5c7906(0xb3)](_0x11bf59['type'],_0x41ed72[_0x5c7906(0x101)])&&_0x11bf59[_0x5c7906(0x106)]){const _0x4670f5={};_0x4670f5[_0x5c7906(0xe9)]=_0x11bf59[_0x5c7906(0x106)][_0x5c7906(0xe9)],_0x4670f5[_0x5c7906(0x106)]=_0x11bf59['parent']['parent'],_0x4670f5[_0x5c7906(0xbb)]=_0x11bf59['asyncError'],_0x4670f5[_0x5c7906(0x114)]=_0x11bf59[_0x5c7906(0x114)];const _0x2b23ab=_0x4670f5;_0x2f80d9=jestUtils[_0x5c7906(0x13c)](_0x2b23ab);}return _0x2f80d9;}return global[_0x5c7906(0x12e)];}function mapHookTypeToState(_0x1e337c){const _0x335e83=a17_0x81a33d,_0x372ba6={};_0x372ba6['beforeAll']=TestFrameworkState['BEFORE_ALL'],_0x372ba6[_0x335e83(0x11a)]=TestFrameworkState[_0x335e83(0xa8)],_0x372ba6[_0x335e83(0x132)]=TestFrameworkState[_0x335e83(0x121)],_0x372ba6[_0x335e83(0x127)]=TestFrameworkState[_0x335e83(0x12b)];const _0x3ab494=_0x372ba6;return _0x3ab494[_0x1e337c]||TestFrameworkState[_0x335e83(0x121)];}async function handleHookEventCLI(_0x4001b6,_0x343139,_0x527c0c){const _0x520187=a17_0x81a33d,_0x5c1686={'WqHxl':function(_0x9a5913){return _0x9a5913();},'NZdHK':function(_0xc4961c,_0x4f3323){return _0xc4961c===_0x4f3323;},'YgzmA':_0x520187(0x10d),'auWWA':function(_0x5ac945,_0x50325a){return _0x5ac945(_0x50325a);},'anDnG':_0x520187(0x120),'KzvRt':_0x520187(0xc6),'xSKHU':function(_0x1b6127,_0x23279d){return _0x1b6127===_0x23279d;}};logger[_0x520187(0xfd)](_0x520187(0xcd)+_0x343139+'\x20for\x20hook\x20type:\x20'+_0x4001b6[_0x520187(0x141)]);try{if(_0x4001b6['fn']&&_0x4001b6['fn'][_0x520187(0x111)]()['match'](/browserstack internal helper hook/))return;let _0x4906bb=_0x4001b6[_0x520187(0xb5)];if(!_0x4906bb)_0x4906bb=_0x5c1686[_0x520187(0xc0)](uuidv4),_0x4001b6['hookAnalyticsId']=_0x4906bb;else _0x4001b6[_0x520187(0xbc)]&&(_0x4906bb=_0x5c1686[_0x520187(0xc0)](uuidv4),_0x4001b6[_0x520187(0xb5)]=_0x4906bb,delete _0x4001b6[_0x520187(0xbc)]);_0x5c1686[_0x520187(0xdc)](_0x343139,_0x5c1686[_0x520187(0xa9)])&&(_0x4001b6[_0x520187(0x131)]=new Date()[_0x520187(0xaa)]());const _0x3d03b8=_0x5c1686[_0x520187(0x12f)](getTestIdentifierForHook,_0x4001b6);!global[_0x520187(0xac)]&&(global[_0x520187(0xac)]={});if(_0x5c1686[_0x520187(0xdc)](_0x343139,_0x5c1686[_0x520187(0xa9)])){global['__workerDetails']['currentHook']={'hookUUID':_0x4906bb,'testIdentifier':_0x3d03b8,'hookType':_0x4001b6[_0x520187(0x141)],'startedAt':new Date()['toISOString']()};const _0x3745c9=BrowserstackCLI['getInstance']()[_0x520187(0x138)]();_0x3745c9&&_0x3745c9[_0x520187(0xb4)]&&_0x3745c9[_0x520187(0xb4)](_0x3d03b8,_0x4906bb,_0x4001b6[_0x520187(0x141)]);}const _0x321c8f=await jestUtils[_0x520187(0xed)](_0x4001b6,_0x4906bb,_0x343139,_0x3d03b8);if(!_0x321c8f)return;const _0x5dce7c=_0x5c1686[_0x520187(0x12f)](mapHookTypeToState,_0x4001b6[_0x520187(0x141)]),_0x3c711e=_0x5c1686[_0x520187(0xdc)](_0x343139,_0x5c1686[_0x520187(0xa9)])?HookState[_0x520187(0x119)]:HookState[_0x520187(0xe5)],_0x39d4b6=BrowserstackCLI[_0x520187(0xd2)]()[_0x520187(0x138)]();if(_0x39d4b6){const _0x35f73d={};_0x35f73d[_0x520187(0xc2)]=_0x321c8f,await _0x39d4b6[_0x520187(0xd4)](_0x5dce7c,_0x3c711e,_0x35f73d);if(_0x5c1686[_0x520187(0xdc)](_0x343139,_0x5c1686['anDnG'])){const _0x4807ad={};_0x4807ad[_0x520187(0xce)]=_0x3d03b8,_0x4807ad[_0x520187(0x141)]=_0x5c1686[_0x520187(0x147)],await _0x39d4b6[_0x520187(0xd4)](TestFrameworkState[_0x520187(0xdb)],HookState['POST'],_0x4807ad),global['__workerDetails']&&global['__workerDetails'][_0x520187(0xe8)]&&_0x5c1686[_0x520187(0xc3)](global[_0x520187(0xac)]['currentHook']['hookUUID'],_0x4906bb)&&delete global['__workerDetails'][_0x520187(0xe8)],_0x39d4b6[_0x520187(0xd6)]&&_0x39d4b6[_0x520187(0xd6)](_0x3d03b8,_0x4906bb);}}}catch(_0x2b4727){logger[_0x520187(0x123)](_0x520187(0xba)+util[_0x520187(0xc4)](_0x2b4727));throw _0x2b4727;}}async function handleTestEventCLI(_0x52835f,_0x41301e,_0x56327a){const _0x52c4a9=a17_0x81a33d,_0x29d6ef={};_0x29d6ef[_0x52c4a9(0xea)]=function(_0x271dac,_0x1275f5){return _0x271dac===_0x1275f5;},_0x29d6ef[_0x52c4a9(0xbd)]='TestRunStarted',_0x29d6ef[_0x52c4a9(0xa5)]=function(_0x1b80f6,_0x5e36f3){return _0x1b80f6>_0x5e36f3;},_0x29d6ef['COEQz']=function(_0x461a5c,_0x1c716a){return _0x461a5c&&_0x1c716a;},_0x29d6ef['QEoUZ']=_0x52c4a9(0xaf),_0x29d6ef['NHTSR']='TestRunFinished',_0x29d6ef['keGnU']=function(_0x56cdd3,_0x230c4a){return _0x56cdd3&&_0x230c4a;},_0x29d6ef[_0x52c4a9(0x10b)]='test';const _0x9ff0b0=_0x29d6ef;logger[_0x52c4a9(0xfd)](_0x52c4a9(0xc1)+_0x41301e);try{let _0x5ddcfd;if(_0x9ff0b0['tnCGz'](_0x41301e,_0x9ff0b0[_0x52c4a9(0xbd)])){_0x5ddcfd=jestUtils[_0x52c4a9(0x13c)](_0x52835f),global[_0x52c4a9(0x12e)]=_0x5ddcfd,_0x52835f[_0x52c4a9(0xb9)]=_0x5ddcfd,_0x52835f['id']=_0x5ddcfd,_0x52835f['started_at']=new Date()[_0x52c4a9(0xaa)]();const _0x41d476=_0x56327a[_0x52c4a9(0xc8)];_0x56327a[_0x52c4a9(0xc8)]=_0x52835f,_0x52835f[_0x52c4a9(0xd9)]=null;if(_0x9ff0b0[_0x52c4a9(0xa5)](_0x52835f[_0x52c4a9(0x117)],0x0)&&_0x41d476&&_0x9ff0b0[_0x52c4a9(0xea)](_0x41d476[_0x52c4a9(0x104)],_0x52835f['title'])){_0x52835f['retryOf']=_0x41d476[_0x52c4a9(0xb9)];const _0x146189=await jestUtils['createTestFrameworkData'](_0x52835f,_0x5ddcfd,_0x9ff0b0[_0x52c4a9(0xbd)]),_0x2cdd7a=BrowserstackCLI[_0x52c4a9(0xd2)]()[_0x52c4a9(0x138)]();if(_0x9ff0b0['COEQz'](_0x146189,_0x2cdd7a)){const _0x5a798c={};_0x5a798c[_0x52c4a9(0xf4)]=_0x146189,await _0x2cdd7a[_0x52c4a9(0xd4)](TestFrameworkState['TEST'],HookState['PRE'],_0x5a798c);}_0x41d476[_0x52c4a9(0xa3)]=_0x9ff0b0[_0x52c4a9(0x139)];const _0x1cbe52=await jestUtils[_0x52c4a9(0x136)](_0x41d476,_0x41d476[_0x52c4a9(0xb9)],_0x9ff0b0['NHTSR']);if(_0x9ff0b0['COEQz'](_0x1cbe52,_0x2cdd7a)){const _0x1f2a32={};_0x1f2a32[_0x52c4a9(0xf4)]=_0x1cbe52,await _0x2cdd7a[_0x52c4a9(0xd4)](TestFrameworkState[_0x52c4a9(0x13f)],HookState[_0x52c4a9(0xe5)],_0x1f2a32);}}else{const _0x1ae53b=await jestUtils['createTestFrameworkData'](_0x52835f,_0x5ddcfd,_0x9ff0b0[_0x52c4a9(0xbd)]),_0xf5802a=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x9ff0b0[_0x52c4a9(0xfb)](_0x1ae53b,_0xf5802a)){const _0x47ac1d={};_0x47ac1d['test']=_0x1ae53b,await _0xf5802a[_0x52c4a9(0xd4)](TestFrameworkState[_0x52c4a9(0x13f)],HookState[_0x52c4a9(0x119)],_0x47ac1d);}}}else{_0x5ddcfd=_0x52835f['testAnalyticsId']||_0x52835f['id']||global[_0x52c4a9(0x12e)];const _0x11d5c8=await jestUtils[_0x52c4a9(0x136)](_0x52835f,_0x5ddcfd,_0x41301e),_0x3abf54=BrowserstackCLI[_0x52c4a9(0xd2)]()[_0x52c4a9(0x138)]();if(_0x9ff0b0[_0x52c4a9(0xfc)](_0x11d5c8,_0x3abf54)){const _0x435b96={};_0x435b96[_0x52c4a9(0xf4)]=_0x11d5c8,_0x435b96['originalTest']=_0x52835f,await _0x3abf54[_0x52c4a9(0xd4)](TestFrameworkState[_0x52c4a9(0x13f)],HookState[_0x52c4a9(0xe5)],_0x435b96);const _0x58609d={};_0x58609d[_0x52c4a9(0xce)]=_0x5ddcfd,_0x58609d[_0x52c4a9(0x141)]=_0x9ff0b0[_0x52c4a9(0x10b)],await _0x3abf54[_0x52c4a9(0xd4)](TestFrameworkState[_0x52c4a9(0xdb)],HookState[_0x52c4a9(0xe5)],_0x58609d);}}}catch(_0x557384){logger[_0x52c4a9(0x123)](_0x52c4a9(0xab)+util[_0x52c4a9(0xc4)](_0x557384));throw _0x557384;}}function a17_0xfbe8(_0x446ef,_0x1f1f34){const _0x4fdbca=a17_0x4fdb();return a17_0xfbe8=function(_0xfbe80d,_0x2d6b72){_0xfbe80d=_0xfbe80d-0xa2;let _0x12c2c3=_0x4fdbca[_0xfbe80d];return _0x12c2c3;},a17_0xfbe8(_0x446ef,_0x1f1f34);}function a17_0x4fdb(){const _0x34e24d=['AFTER_EACH','SrowL','../../../helpers/test-observability/requestQueueHandler','__jestCurrentTestIdentifier','auWWA','yjXtw','started_at','beforeEach','unhandledErrors','cQFGL','DnsAh','createTestFrameworkData','gAtsz','getTestFramework','QEoUZ','../../v2/cliUtils','test_start','createIdentifierFromJestTest','xOZym','../../../helpers/logger','TEST','teardown','type','bootstrap','includes','isRunning','pid','test_skip','KzvRt','BROWSERSTACK_CLI_BIN_SESSION_ID','state','HceiV','EHbnb','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','MTKEG','AFTER_ALL','YgzmA','toISOString','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','__workerDetails','jjwPt','setFrameworkDetail','failed','YZlYd','1517782pEehtt','EVENT','OAOvy','setActiveHook','hookAnalyticsId','55644424OlhWFo','VhbuE','9427089NjSBVM','testAnalyticsId','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','asyncError','markedStatus','ygqXQ','ZTVIQ','../test-observability/obsReporter','WqHxl','Handling\x20test\x20event\x20for\x20CLI:\x20','hookData','xSKHU','format','CLI\x20is\x20enabled\x20and\x20running.','hook','sspQn','current_test','4578070kuUJhB','PbniD','hook_start','../../../helpers/testhub/utils','Handling\x20hook\x20event\x20for\x20CLI:\x20','testUUID','SjoBW','../../v2/state/hookState','XiGBm','getInstance','../../v2/browserstackCLI','trackEvent','Ucwnq','removeActiveHook','HHeaq','jEgsP','retryOf','initialize','LOG_REPORT','NZdHK','hook_failure','beforeAll','removeTestUUID','winstonLogger','jest-circus/build/utils.js','tgqII','9XCACoK','bGUcd','POST','env','PLAYWRIGHT','currentHook','name','tnCGz','tzOaV','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','createHookData','Error\x20checking\x20CLI\x20readiness:\x20','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','MAByq','Error\x20routing\x20to\x20JestTestFramework:\x20','srvtw','sendTestRunEvent','test','420vLgArk','keys','BOgbr','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','../../../helpers/test-observability/utils','Xrfyq','keGnU','COEQz','debug','run_describe_finish','dAIsN','../../../helpers/testhub/constants','kszCc','31851rZluwf','setTestUUID','title','YSqlt','parent','../test-observability/test-details','1IOaUbL','jest-circus','registerListeners','JlEIm','HookFinished','HookRunStarted','SsszS','TestRunSkipped','../../v2/utils/jest-utils','toString','../../../helpers/helper','testStarted','file','6jQugyL','8408312TGUJMe','_currentRetry','jest-circus/build/state.js','PRE','afterAll','TestRunStarted','isCliEnabled','ObIug',':hookAnalyticsId','CQUXk','HookRunFinished','BEFORE_EACH','match','error','util','10478060QNnXOI','../../../helpers/test-observability/error-handler','afterEach','WVOUe','UpzUi','fksVd'];a17_0x4fdb=function(){return _0x34e24d;};return a17_0x4fdb();}exportsI[a17_0x81a33d(0xda)]=(..._0x2aba55)=>{const _0x3e14a2=a17_0x81a33d,_0x40ba24={'fksVd':function(_0x2ece08,_0x36c545,_0x320872){return _0x2ece08(_0x36c545,_0x320872);},'BOgbr':_0x3e14a2(0xe1),'lsDxl':'jest-circus','SsszS':_0x3e14a2(0xcb),'DnsAh':function(_0x25560a,_0xa83737){return _0x25560a(_0xa83737);},'srvtw':function(_0x34272e){return _0x34272e();},'ObIug':function(_0x53f491,_0x51eff8,_0xd97a7c,_0x7dbfbb){return _0x53f491(_0x51eff8,_0xd97a7c,_0x7dbfbb);},'xOZym':_0x3e14a2(0x10d),'xmpqS':'hook_success','CQUXk':function(_0x57b8e4,_0x3370c7){return _0x57b8e4(_0x3370c7);},'YZlYd':function(_0x1a28cd){return _0x1a28cd();},'YSqlt':function(_0x4e2e7a,_0x4ce713,_0x219667,_0xda695e){return _0x4e2e7a(_0x4ce713,_0x219667,_0xda695e);},'MTKEG':'HookRunFinished','GcBbr':_0x3e14a2(0xdd),'XiGBm':_0x3e14a2(0xde),'FOXoV':_0x3e14a2(0x132),'jjwPt':_0x3e14a2(0x127),'VhbuE':function(_0x39837c,_0x355a82){return _0x39837c>_0x355a82;},'DzxHn':function(_0x47ca62){return _0x47ca62();},'HHeaq':function(_0x2b3629,_0xdb3008,_0x37b328,_0x50e7d2){return _0x2b3629(_0xdb3008,_0x37b328,_0x50e7d2);},'xCLfa':_0x3e14a2(0x13b),'jEgsP':function(_0x221443,_0x4abdd2,_0x14997e,_0x1178c8){return _0x221443(_0x4abdd2,_0x14997e,_0x1178c8);},'NRsBP':_0x3e14a2(0x11b),'yjXtw':'test_done','sspQn':function(_0x5e7697){return _0x5e7697();},'Hoklg':function(_0xe9c0c6){return _0xe9c0c6();},'bGUcd':'TestRunFinished','gAtsz':_0x3e14a2(0x146),'PbniD':_0x3e14a2(0x10f),'Ucwnq':_0x3e14a2(0xfe),'ZTVIQ':_0x3e14a2(0x140),'dAIsN':function(_0x175a91){return _0x175a91();},'MAByq':function(_0x60aa4){return _0x60aa4();},'tzOaV':_0x3e14a2(0x118),'RVGlc':'EventHandler','Xrfyq':function(_0x542a00,_0x55c051){return _0x542a00(_0x55c051);},'tgqII':function(_0x12c46e,..._0x2b3ead){return _0x12c46e(..._0x2b3ead);}};try{const _0x47ad1c=new ObservabilityReporter();_0x40ba24[_0x3e14a2(0xff)](shouldProcessEventForTesthub)&&(_0x40ba24[_0x3e14a2(0xf0)](patchConsoleLogger),_0x47ad1c[_0x3e14a2(0x10a)]()),_0x40ba24[_0x3e14a2(0xc7)](shouldProcessEventForTesthub)&&_0x40ba24[_0x3e14a2(0x12a)](requireModule,_0x40ba24[_0x3e14a2(0xeb)],_0x40ba24['lsDxl'])['addEventHandler'](_0x40ba24[_0x3e14a2(0x12a)](o11yErrorHandler,async(_0x2b9152,_0x24955c)=>{const _0x4f78a0=_0x3e14a2,_0x724e34=_0x40ba24[_0x4f78a0(0x12a)](requireModule,_0x40ba24[_0x4f78a0(0xf7)],_0x40ba24['lsDxl'])['makeSingleTestResult'];switch(_0x2b9152[_0x4f78a0(0xe9)]){case _0x40ba24[_0x4f78a0(0x10e)]:if(_0x40ba24[_0x4f78a0(0x135)](shouldProcessEventForTesthub,testHubConstants[_0x4f78a0(0xb2)]['HookStarted'])){if(_0x2b9152[_0x4f78a0(0xc6)]['fn']&&_0x2b9152[_0x4f78a0(0xc6)]['fn'][_0x4f78a0(0x111)]()[_0x4f78a0(0x122)](/browserstack internal helper hook/))break;if(BrowserstackCLI[_0x4f78a0(0xd2)]()[_0x4f78a0(0x11c)]()&&await _0x40ba24[_0x4f78a0(0xf2)](isCLIReady))try{await _0x40ba24[_0x4f78a0(0x11d)](handleHookEventCLI,_0x2b9152[_0x4f78a0(0xc6)],_0x40ba24[_0x4f78a0(0x13d)],_0x24955c);break;}catch(_0x47bbe7){_0x40ba24[_0x4f78a0(0x135)](debug,_0x4f78a0(0xf1)+util['format'](_0x47bbe7));}if(!_0x2b9152[_0x4f78a0(0xc6)][_0x4f78a0(0xb5)]){const _0x1eb468=TestDetails[_0x4f78a0(0x103)](process[_0x4f78a0(0x145)]+_0x4f78a0(0x11e));_0x2b9152[_0x4f78a0(0xc6)]['hookAnalyticsId']=_0x1eb468;}else _0x2b9152['hook'][_0x4f78a0(0xbc)]&&(_0x2b9152[_0x4f78a0(0xc6)]['hookAnalyticsId']=TestDetails[_0x4f78a0(0x103)](process[_0x4f78a0(0x145)]+':hookAnalyticsId'),delete _0x2b9152[_0x4f78a0(0xc6)][_0x4f78a0(0xbc)]);_0x2b9152[_0x4f78a0(0xc6)][_0x4f78a0(0x131)]=new Date()[_0x4f78a0(0xaa)](),await _0x47ad1c[_0x4f78a0(0xf3)](_0x2b9152['hook'],undefined,![],_0x40ba24[_0x4f78a0(0x13d)]);}break;case _0x40ba24['xmpqS']:if(_0x40ba24[_0x4f78a0(0x11f)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x4f78a0(0x10c)])){if(BrowserstackCLI[_0x4f78a0(0xd2)]()[_0x4f78a0(0x11c)]()&&await _0x40ba24[_0x4f78a0(0xb0)](isCLIReady))try{await _0x40ba24[_0x4f78a0(0x105)](handleHookEventCLI,_0x2b9152[_0x4f78a0(0xc6)],_0x40ba24[_0x4f78a0(0xa7)],_0x24955c);break;}catch(_0x5b5a4e){_0x40ba24[_0x4f78a0(0x135)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4f78a0(0xc4)](_0x5b5a4e));}await _0x47ad1c[_0x4f78a0(0xf3)](_0x2b9152[_0x4f78a0(0xc6)],undefined,![],_0x40ba24[_0x4f78a0(0xa7)]),TestDetails[_0x4f78a0(0xdf)](process[_0x4f78a0(0x145)]+':hookAnalyticsId');}break;case _0x40ba24['GcBbr']:[_0x40ba24[_0x4f78a0(0xd1)],_0x40ba24['FOXoV'],_0x40ba24[_0x4f78a0(0xad)]][_0x4f78a0(0x143)](_0x2b9152['hook'][_0x4f78a0(0x141)])&&(_0x47ad1c[_0x4f78a0(0xdd)]=_0x2b9152['hook']['type']),_0x24955c['unhandledErrors']&&_0x40ba24[_0x4f78a0(0xb7)](_0x24955c['unhandledErrors']['length'],0x0)&&(_0x2b9152['hook']['errorsDetailed']=[_0x24955c[_0x4f78a0(0x133)][0x0][0x0]]);if(_0x40ba24[_0x4f78a0(0x135)](shouldProcessEventForTesthub,testHubConstants[_0x4f78a0(0xb2)][_0x4f78a0(0x10c)])){if(BrowserstackCLI['getInstance']()[_0x4f78a0(0x11c)]()&&await _0x40ba24['DzxHn'](isCLIReady))try{await _0x40ba24[_0x4f78a0(0xd7)](handleHookEventCLI,_0x2b9152[_0x4f78a0(0xc6)],_0x40ba24['MTKEG'],_0x24955c);break;}catch(_0x1dbb36){_0x40ba24[_0x4f78a0(0x135)](debug,_0x4f78a0(0xf1)+util[_0x4f78a0(0xc4)](_0x1dbb36));}await _0x47ad1c[_0x4f78a0(0xf3)](_0x2b9152[_0x4f78a0(0xc6)],undefined,![],_0x40ba24[_0x4f78a0(0xa7)]),TestDetails[_0x4f78a0(0xdf)](process['pid']+':hookAnalyticsId');}break;case _0x40ba24['xCLfa']:if(_0x40ba24[_0x4f78a0(0xb0)](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x4f78a0(0xd2)]()[_0x4f78a0(0x11c)]()&&await _0x40ba24[_0x4f78a0(0xf2)](isCLIReady))try{await _0x40ba24[_0x4f78a0(0xd8)](handleTestEventCLI,_0x2b9152[_0x4f78a0(0xf4)],_0x40ba24['NRsBP'],_0x47ad1c);break;}catch(_0x38c842){_0x40ba24[_0x4f78a0(0x135)](debug,_0x4f78a0(0xf1)+util[_0x4f78a0(0xc4)](_0x38c842));}await _0x47ad1c[_0x4f78a0(0x113)](_0x2b9152[_0x4f78a0(0xf4)]);}break;case _0x40ba24[_0x4f78a0(0x130)]:_0x2b9152[_0x4f78a0(0xf4)]={..._0x40ba24[_0x4f78a0(0x11f)](_0x724e34,_0x2b9152[_0x4f78a0(0xf4)]),..._0x2b9152[_0x4f78a0(0xf4)]};if(_0x40ba24['sspQn'](shouldProcessEventForTesthub)){if(!_0x2b9152[_0x4f78a0(0xf4)][_0x4f78a0(0xbc)]){_0x2b9152['test'][_0x4f78a0(0xbc)]=!![];if(BrowserstackCLI[_0x4f78a0(0xd2)]()[_0x4f78a0(0x11c)]()&&await _0x40ba24['Hoklg'](isCLIReady))try{await _0x40ba24[_0x4f78a0(0xd8)](handleTestEventCLI,_0x2b9152[_0x4f78a0(0xf4)],_0x40ba24[_0x4f78a0(0xe4)],_0x47ad1c);break;}catch(_0x5339b7){_0x40ba24['DnsAh'](debug,_0x4f78a0(0xf1)+util['format'](_0x5339b7));}await _0x47ad1c['sendTestRunEvent'](_0x2b9152['test']);}}break;case _0x40ba24[_0x4f78a0(0x137)]:_0x2b9152[_0x4f78a0(0xf4)]={..._0x40ba24[_0x4f78a0(0x11f)](_0x724e34,_0x2b9152[_0x4f78a0(0xf4)]),..._0x2b9152[_0x4f78a0(0xf4)]};if(_0x40ba24[_0x4f78a0(0xf2)](shouldProcessEventForTesthub)){if(!_0x2b9152[_0x4f78a0(0xf4)][_0x4f78a0(0xbc)]){_0x2b9152[_0x4f78a0(0xf4)][_0x4f78a0(0xbc)]=!![];if(BrowserstackCLI[_0x4f78a0(0xd2)]()[_0x4f78a0(0x11c)]()&&await _0x40ba24[_0x4f78a0(0xf2)](isCLIReady))try{await _0x40ba24[_0x4f78a0(0x105)](handleTestEventCLI,_0x2b9152[_0x4f78a0(0xf4)],_0x40ba24[_0x4f78a0(0xca)],_0x47ad1c);break;}catch(_0x2b8848){_0x40ba24['CQUXk'](debug,_0x4f78a0(0xf1)+util[_0x4f78a0(0xc4)](_0x2b8848));}await _0x47ad1c[_0x4f78a0(0xf3)](_0x2b9152['test'],undefined,![],_0x40ba24['PbniD']);}}break;case _0x40ba24[_0x4f78a0(0xd5)]:_0x47ad1c[_0x4f78a0(0xdd)]=null;break;case _0x40ba24[_0x4f78a0(0xbe)]:await RequestQueueHandler[_0x4f78a0(0xd2)]()['shutdown'](),process['removeAllListeners']();break;default:}},_0x40ba24['RVGlc']));}catch(_0x196cef){_0x40ba24[_0x3e14a2(0xfa)](debug,_0x3e14a2(0xef)+_0x196cef);}return _0x40ba24[_0x3e14a2(0xe2)](initInitialize,..._0x2aba55);};try{Object[a17_0x81a33d(0xf6)](exportsI)['forEach'](_0x5c4282=>{const _0x676269=a17_0x81a33d,_0x47db3d={'cQFGL':function(_0xf82b51,_0x13a266){return _0xf82b51(_0x13a266);}};try{exports&&(exports[_0x5c4282]=exportsI[_0x5c4282]);}catch(_0x266313){_0x47db3d[_0x676269(0x134)](debug,_0x676269(0xa6)+_0x266313);}});}catch(a17_0xadf7a7){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0xadf7a7);}
1
+ const a17_0x252473=a17_0x11ad;(function(_0x1da01b,_0x852793){const _0x55fd3f=a17_0x11ad,_0x331e5a=_0x1da01b();while(!![]){try{const _0x340a27=parseInt(_0x55fd3f(0x1e1))/0x1*(-parseInt(_0x55fd3f(0x23f))/0x2)+parseInt(_0x55fd3f(0x1f8))/0x3*(parseInt(_0x55fd3f(0x27f))/0x4)+parseInt(_0x55fd3f(0x235))/0x5+-parseInt(_0x55fd3f(0x21c))/0x6+parseInt(_0x55fd3f(0x261))/0x7+-parseInt(_0x55fd3f(0x23d))/0x8+-parseInt(_0x55fd3f(0x260))/0x9*(-parseInt(_0x55fd3f(0x1d8))/0xa);if(_0x340a27===_0x852793)break;else _0x331e5a['push'](_0x331e5a['shift']());}catch(_0x410b8c){_0x331e5a['push'](_0x331e5a['shift']());}}}(a17_0x51f8,0x88981));const {requireModule}=require(a17_0x252473(0x1da)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x252473(0x26f)),TestDetails=require(a17_0x252473(0x217)),{patchConsoleLogger,debug}=require(a17_0x252473(0x211)),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require(a17_0x252473(0x250)),testHubConstants=require(a17_0x252473(0x226)),BrowserstackCLI=require(a17_0x252473(0x20f)),TestFrameworkState=require(a17_0x252473(0x208)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x252473(0x276)),{v4:uuidv4}=require('uuid'),util=require(a17_0x252473(0x1e9)),logger=require('../../../helpers/logger')[a17_0x252473(0x27a)],{FRAMEWORKS}=require(a17_0x252473(0x273)),exportsI=requireModule(a17_0x252473(0x22b),a17_0x252473(0x246)),initInitialize=exportsI[a17_0x252473(0x254)],jestUtils=new JestUtils();async function isCLIReady(){const _0x388f7b=a17_0x252473,_0x1c11a9={'vjkfV':_0x388f7b(0x27c),'pioPW':function(_0x532f37,_0xe88ba1){return _0x532f37(_0xe88ba1);},'AUTyA':_0x388f7b(0x1d9)};try{const _0x2ed212=BrowserstackCLI[_0x388f7b(0x20a)]();if(_0x2ed212[_0x388f7b(0x280)]()&&_0x2ed212['isRunning']())return logger[_0x388f7b(0x241)](_0x1c11a9[_0x388f7b(0x210)]),!![];const _0xb7b3e7=process[_0x388f7b(0x1f6)][_0x388f7b(0x1fa)];if(_0xb7b3e7&&_0x2ed212[_0x388f7b(0x280)]()){if(!_0x2ed212[_0x388f7b(0x26a)]())try{const _0x277b7c=_0x1c11a9['pioPW'](require,_0x1c11a9[_0x388f7b(0x1dc)]);_0x277b7c['setFrameworkDetail'](FRAMEWORKS[_0x388f7b(0x1f4)],FRAMEWORKS[_0x388f7b(0x25a)]),await _0x2ed212[_0x388f7b(0x205)]();}catch(_0x12e555){return _0x1c11a9[_0x388f7b(0x1db)](debug,_0x388f7b(0x213)+util['format'](_0x12e555)),![];}return _0x2ed212['isRunning']();}return![];}catch(_0x455fab){return _0x1c11a9['pioPW'](debug,_0x388f7b(0x26b)+util['format'](_0x455fab)),![];}}function a17_0x11ad(_0x472582,_0x14269f){const _0x51f873=a17_0x51f8();return a17_0x11ad=function(_0x11ad07,_0x2c8078){_0x11ad07=_0x11ad07-0x1d4;let _0xabf41c=_0x51f873[_0x11ad07];return _0xabf41c;},a17_0x11ad(_0x472582,_0x14269f);}function getTestIdentifierForHook(_0x5242c0){const _0x3e97d7=a17_0x252473,_0x42e652={};_0x42e652[_0x3e97d7(0x1fe)]=function(_0x104b1d,_0x30331c){return _0x104b1d===_0x30331c;},_0x42e652['XuKxe']=_0x3e97d7(0x239),_0x42e652['UzTnH']=_0x3e97d7(0x20d);const _0x4c12ca=_0x42e652;if(_0x4c12ca['iCrYC'](_0x5242c0[_0x3e97d7(0x27d)],_0x4c12ca[_0x3e97d7(0x266)])||_0x4c12ca['iCrYC'](_0x5242c0[_0x3e97d7(0x27d)],_0x4c12ca[_0x3e97d7(0x23c)])){let _0x91ab5c=global[_0x3e97d7(0x1f3)];if(!_0x91ab5c&&_0x4c12ca[_0x3e97d7(0x1fe)](_0x5242c0[_0x3e97d7(0x27d)],_0x4c12ca[_0x3e97d7(0x23c)])&&_0x5242c0[_0x3e97d7(0x271)]){const _0xe117ea={};_0xe117ea[_0x3e97d7(0x1d7)]=_0x5242c0[_0x3e97d7(0x271)][_0x3e97d7(0x1d7)],_0xe117ea[_0x3e97d7(0x271)]=_0x5242c0[_0x3e97d7(0x271)][_0x3e97d7(0x271)],_0xe117ea[_0x3e97d7(0x20e)]=_0x5242c0[_0x3e97d7(0x20e)],_0xe117ea['file']=_0x5242c0['file'];const _0x4618e1=_0xe117ea;_0x91ab5c=jestUtils['createIdentifierFromJestTest'](_0x4618e1);}return _0x91ab5c;}return global[_0x3e97d7(0x1f3)];}function mapHookTypeToState(_0x5aa647){const _0x58f440=a17_0x252473,_0x257925={};_0x257925[_0x58f440(0x20d)]=TestFrameworkState[_0x58f440(0x26c)],_0x257925[_0x58f440(0x1eb)]=TestFrameworkState[_0x58f440(0x26d)],_0x257925[_0x58f440(0x239)]=TestFrameworkState[_0x58f440(0x234)],_0x257925['afterEach']=TestFrameworkState['AFTER_EACH'];const _0x59d743=_0x257925;return _0x59d743[_0x5aa647]||TestFrameworkState[_0x58f440(0x234)];}function a17_0x51f8(){const _0x2af69f=['XJTVS','cLEJY','XuKxe','wamKu','keys','KMjUp','isRunning','Error\x20checking\x20CLI\x20readiness:\x20','BEFORE_ALL','AFTER_ALL','EVENT','../../../helpers/test-observability/requestQueueHandler','NJIXh','parent','SsnmG','../../utils/constants','shutdown','fdAyW','../../v2/utils/jest-utils','TestRunSkipped','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','fjtia','winstonLogger','pid','CLI\x20is\x20enabled\x20and\x20running.','type','TADkZ','1502536BpzbMT','isCliEnabled','HookStarted','createTestFrameworkData','error','name','1194290TXvVnY','../../v2/cliUtils','../../../helpers/helper','pioPW','AUTyA','teardown','TestRunStarted','dnhlB','state','82uYSxhy','qZOmk','Handling\x20test\x20event\x20for\x20CLI:\x20','jJOYq','Handling\x20hook\x20event\x20for\x20CLI:\x20','hook_start','sgLBn','UIhqj','util','test_start','afterAll','unhandledErrors','title','DtSkW','GJnVP','createHookData','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','trackEvent','__jestCurrentTestIdentifier','JEST','HwOpg','env','started_at','6iqLcco','HabxH','BROWSERSTACK_CLI_BIN_SESSION_ID','OUvQb','includes','hook_failure','iCrYC','match','ftsFT','Gerox','CbbFv','rntzy','removeAllListeners','bootstrap','getTestFramework','format','../../v2/state/testFrameworkState','jest-circus/build/utils.js','getInstance','SdNaD','EnKuo','beforeAll','asyncError','../../v2/browserstackCLI','vjkfV','../../../helpers/test-observability/utils','addEventHandler','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','afterEach','sendTestRunEvent','failed','../test-observability/test-details',':hookAnalyticsId','DRiwq','test_done','PMUkR','3407904enrray','RBrsu','toString','markedStatus','EIzWZ','test_skip','uTVMa','Rrwij','OogJA','removeTestUUID','../../../helpers/testhub/constants','TestRunFinished','test','IjXpE','zMjpB','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','RNiZM','toISOString','YlIGt','setActiveHook','testStarted','removeActiveHook','retryOf','currentHook','BEFORE_EACH','5009525Yqalwd','forEach','Error\x20routing\x20to\x20JestTestFramework:\x20','testAnalyticsId','beforeEach','run_describe_finish','length','UzTnH','3821408SpgpEj','oEjlI','9956aSDWVJ','nZBrt','debug','jNZnt','LOG_REPORT','hookData','cmsDj','jest-circus','setTestUUID','hsvME','tACPp','CwkTG','TEST','hookAnalyticsId','KatEE','mOAEO','HookRunFinished','../../../helpers/testhub/utils','hookUUID','Uptpt','PRE','initialize','ubXlh','POST','testUUID','EventHandler','qYdGm','PLAYWRIGHT','_currentRetry','CVUTb','__workerDetails','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','TSVsr','9hKCEqP','985201XOZiqc','hook','HookFinished'];a17_0x51f8=function(){return _0x2af69f;};return a17_0x51f8();}async function handleHookEventCLI(_0x5db308,_0x22feb6,_0x26b3aa){const _0x4705f2=a17_0x252473,_0x2490af={'uTVMa':function(_0x271861){return _0x271861();},'zoxnl':function(_0x204ad8,_0x42b7b8){return _0x204ad8===_0x42b7b8;},'UIhqj':'HookRunStarted','qYdGm':function(_0x12c34d,_0x27d8c8){return _0x12c34d(_0x27d8c8);},'sgLBn':function(_0xbf481e,_0x4b9eb4){return _0xbf481e===_0x4b9eb4;},'Rrwij':function(_0x165191,_0x28a05a){return _0x165191===_0x28a05a;},'DtSkW':function(_0x262766,_0x44974f){return _0x262766===_0x44974f;},'IPKxy':_0x4705f2(0x24f),'KatEE':_0x4705f2(0x262)};logger[_0x4705f2(0x241)](_0x4705f2(0x1e5)+_0x22feb6+'\x20for\x20hook\x20type:\x20'+_0x5db308[_0x4705f2(0x27d)]);try{if(_0x5db308['fn']&&_0x5db308['fn'][_0x4705f2(0x21e)]()[_0x4705f2(0x1ff)](/browserstack internal helper hook/))return;let _0x17d5d7=_0x5db308[_0x4705f2(0x24c)];if(!_0x17d5d7)_0x17d5d7=_0x2490af[_0x4705f2(0x222)](uuidv4),_0x5db308[_0x4705f2(0x24c)]=_0x17d5d7;else _0x5db308['markedStatus']&&(_0x17d5d7=_0x2490af[_0x4705f2(0x222)](uuidv4),_0x5db308['hookAnalyticsId']=_0x17d5d7,delete _0x5db308[_0x4705f2(0x21f)]);_0x2490af['zoxnl'](_0x22feb6,_0x2490af[_0x4705f2(0x1e8)])&&(_0x5db308[_0x4705f2(0x1f7)]=new Date()[_0x4705f2(0x22d)]());const _0x46ff89=_0x2490af['qYdGm'](getTestIdentifierForHook,_0x5db308);!global[_0x4705f2(0x25d)]&&(global[_0x4705f2(0x25d)]={});if(_0x2490af[_0x4705f2(0x1e7)](_0x22feb6,_0x2490af[_0x4705f2(0x1e8)])){global[_0x4705f2(0x25d)][_0x4705f2(0x233)]={'hookUUID':_0x17d5d7,'testIdentifier':_0x46ff89,'hookType':_0x5db308[_0x4705f2(0x27d)],'startedAt':new Date()[_0x4705f2(0x22d)]()};const _0x5b4972=BrowserstackCLI['getInstance']()[_0x4705f2(0x206)]();_0x5b4972&&_0x5b4972['setActiveHook']&&_0x5b4972[_0x4705f2(0x22f)](_0x46ff89,_0x17d5d7,_0x5db308[_0x4705f2(0x27d)]);}const _0x52b783=await jestUtils[_0x4705f2(0x1f0)](_0x5db308,_0x17d5d7,_0x22feb6,_0x46ff89);if(!_0x52b783)return;const _0x104781=_0x2490af[_0x4705f2(0x259)](mapHookTypeToState,_0x5db308[_0x4705f2(0x27d)]),_0x453d87=_0x2490af[_0x4705f2(0x223)](_0x22feb6,_0x2490af[_0x4705f2(0x1e8)])?HookState[_0x4705f2(0x253)]:HookState['POST'],_0x38103c=BrowserstackCLI['getInstance']()[_0x4705f2(0x206)]();if(_0x38103c){const _0x4e612b={};_0x4e612b[_0x4705f2(0x244)]=_0x52b783,await _0x38103c['trackEvent'](_0x104781,_0x453d87,_0x4e612b);if(_0x2490af[_0x4705f2(0x1ee)](_0x22feb6,_0x2490af['IPKxy'])){const _0x37d322={};_0x37d322[_0x4705f2(0x257)]=_0x46ff89,_0x37d322[_0x4705f2(0x27d)]=_0x2490af[_0x4705f2(0x24d)],await _0x38103c[_0x4705f2(0x1f2)](TestFrameworkState[_0x4705f2(0x243)],HookState[_0x4705f2(0x256)],_0x37d322),global[_0x4705f2(0x25d)]&&global[_0x4705f2(0x25d)][_0x4705f2(0x233)]&&_0x2490af[_0x4705f2(0x223)](global[_0x4705f2(0x25d)]['currentHook'][_0x4705f2(0x251)],_0x17d5d7)&&delete global[_0x4705f2(0x25d)][_0x4705f2(0x233)],_0x38103c[_0x4705f2(0x231)]&&_0x38103c[_0x4705f2(0x231)](_0x46ff89,_0x17d5d7);}}}catch(_0x2ea578){logger[_0x4705f2(0x1d6)](_0x4705f2(0x278)+util[_0x4705f2(0x207)](_0x2ea578));throw _0x2ea578;}}async function handleTestEventCLI(_0x18e320,_0x38ca3d,_0x216710){const _0x3a92e8=a17_0x252473,_0xca3a5d={};_0xca3a5d[_0x3a92e8(0x1e4)]=function(_0x36d3c5,_0x143880){return _0x36d3c5===_0x143880;},_0xca3a5d['mOAEO']=_0x3a92e8(0x1de),_0xca3a5d[_0x3a92e8(0x1ef)]=function(_0x14cbbe,_0x3ad90f){return _0x14cbbe>_0x3ad90f;},_0xca3a5d[_0x3a92e8(0x252)]=function(_0x578d00,_0x34a7fc){return _0x578d00===_0x34a7fc;},_0xca3a5d[_0x3a92e8(0x25f)]=function(_0x18e4f3,_0x4c64e7){return _0x18e4f3&&_0x4c64e7;},_0xca3a5d[_0x3a92e8(0x22a)]=_0x3a92e8(0x216),_0xca3a5d[_0x3a92e8(0x1fb)]=_0x3a92e8(0x227),_0xca3a5d[_0x3a92e8(0x255)]=function(_0x375fa1,_0x50ece5){return _0x375fa1&&_0x50ece5;},_0xca3a5d['PMUkR']=function(_0xeab98b,_0x34fd77){return _0xeab98b&&_0x34fd77;},_0xca3a5d[_0x3a92e8(0x1e2)]='test';const _0x599173=_0xca3a5d;logger[_0x3a92e8(0x241)](_0x3a92e8(0x1e3)+_0x38ca3d);try{let _0x237d05;if(_0x599173[_0x3a92e8(0x1e4)](_0x38ca3d,_0x599173[_0x3a92e8(0x24e)])){_0x237d05=jestUtils['createIdentifierFromJestTest'](_0x18e320),global[_0x3a92e8(0x1f3)]=_0x237d05,_0x18e320['testAnalyticsId']=_0x237d05,_0x18e320['id']=_0x237d05,_0x18e320[_0x3a92e8(0x1f7)]=new Date()[_0x3a92e8(0x22d)]();const _0x1bbd50=_0x216710['current_test'];_0x216710['current_test']=_0x18e320,_0x18e320[_0x3a92e8(0x232)]=null;if(_0x599173[_0x3a92e8(0x1ef)](_0x18e320[_0x3a92e8(0x25b)],0x0)&&_0x1bbd50&&_0x599173[_0x3a92e8(0x252)](_0x1bbd50[_0x3a92e8(0x1ed)],_0x18e320[_0x3a92e8(0x1ed)])){_0x18e320[_0x3a92e8(0x232)]=_0x1bbd50[_0x3a92e8(0x238)];const _0x4384a4=await jestUtils['createTestFrameworkData'](_0x18e320,_0x237d05,_0x599173[_0x3a92e8(0x24e)]),_0x250bbd=BrowserstackCLI[_0x3a92e8(0x20a)]()[_0x3a92e8(0x206)]();if(_0x599173[_0x3a92e8(0x25f)](_0x4384a4,_0x250bbd)){const _0x2d84b4={};_0x2d84b4[_0x3a92e8(0x228)]=_0x4384a4,await _0x250bbd[_0x3a92e8(0x1f2)](TestFrameworkState['TEST'],HookState[_0x3a92e8(0x253)],_0x2d84b4);}_0x1bbd50[_0x3a92e8(0x1e0)]=_0x599173['zMjpB'];const _0xa4fe67=await jestUtils[_0x3a92e8(0x1d5)](_0x1bbd50,_0x1bbd50[_0x3a92e8(0x238)],_0x599173[_0x3a92e8(0x1fb)]);if(_0x599173[_0x3a92e8(0x25f)](_0xa4fe67,_0x250bbd)){const _0x5e9abc={};_0x5e9abc['test']=_0xa4fe67,await _0x250bbd[_0x3a92e8(0x1f2)](TestFrameworkState[_0x3a92e8(0x24b)],HookState['POST'],_0x5e9abc);}}else{const _0x66743e=await jestUtils[_0x3a92e8(0x1d5)](_0x18e320,_0x237d05,_0x599173[_0x3a92e8(0x24e)]),_0x2f0bf9=BrowserstackCLI[_0x3a92e8(0x20a)]()[_0x3a92e8(0x206)]();if(_0x599173[_0x3a92e8(0x255)](_0x66743e,_0x2f0bf9)){const _0x102d18={};_0x102d18[_0x3a92e8(0x228)]=_0x66743e,await _0x2f0bf9['trackEvent'](TestFrameworkState[_0x3a92e8(0x24b)],HookState[_0x3a92e8(0x253)],_0x102d18);}}}else{_0x237d05=_0x18e320[_0x3a92e8(0x238)]||_0x18e320['id']||global[_0x3a92e8(0x1f3)];const _0x50bd56=await jestUtils[_0x3a92e8(0x1d5)](_0x18e320,_0x237d05,_0x38ca3d),_0x1eb972=BrowserstackCLI[_0x3a92e8(0x20a)]()[_0x3a92e8(0x206)]();if(_0x599173[_0x3a92e8(0x21b)](_0x50bd56,_0x1eb972)){const _0x90e864={};_0x90e864['test']=_0x50bd56,_0x90e864['originalTest']=_0x18e320,await _0x1eb972[_0x3a92e8(0x1f2)](TestFrameworkState['TEST'],HookState[_0x3a92e8(0x256)],_0x90e864);const _0x575bc2={};_0x575bc2[_0x3a92e8(0x257)]=_0x237d05,_0x575bc2[_0x3a92e8(0x27d)]=_0x599173['qZOmk'],await _0x1eb972[_0x3a92e8(0x1f2)](TestFrameworkState[_0x3a92e8(0x243)],HookState[_0x3a92e8(0x256)],_0x575bc2);}}}catch(_0x458bfb){logger[_0x3a92e8(0x1d6)](_0x3a92e8(0x25e)+util[_0x3a92e8(0x207)](_0x458bfb));throw _0x458bfb;}}exportsI[a17_0x252473(0x254)]=(..._0x18b8f2)=>{const _0x3c6919=a17_0x252473,_0x382744={'nZBrt':function(_0x1a0551,_0x179937,_0x1ddede){return _0x1a0551(_0x179937,_0x1ddede);},'bNHXS':_0x3c6919(0x209),'Gerox':'jest-circus','RNiZM':_0x3c6919(0x1e6),'IjXpE':function(_0xe27327,_0x4dae49){return _0xe27327(_0x4dae49);},'XJTVS':function(_0x2bb305){return _0x2bb305();},'EnKuo':function(_0x31fec8,_0x28fc10,_0x576f48,_0x28d5c7){return _0x31fec8(_0x28fc10,_0x576f48,_0x28d5c7);},'fdAyW':'HookRunStarted','ftsFT':'hook_success','rntzy':function(_0x38995a,_0x58d549,_0x18bc14,_0x27c4db){return _0x38995a(_0x58d549,_0x18bc14,_0x27c4db);},'CbbFv':_0x3c6919(0x24f),'JbfDW':_0x3c6919(0x1fd),'tACPp':_0x3c6919(0x20d),'NJIXh':'beforeEach','xUqRe':_0x3c6919(0x214),'nEisL':function(_0x1fa66f,_0x3ebc97){return _0x1fa66f>_0x3ebc97;},'OogJA':function(_0x2993b3){return _0x2993b3();},'GXGSk':function(_0x50dd18,_0x4919d4,_0x304a95,_0x3ae22d){return _0x50dd18(_0x4919d4,_0x304a95,_0x3ae22d);},'HabxH':_0x3c6919(0x1ea),'CbrLJ':function(_0x2a6235,_0x462b55,_0x99492,_0x1aeccf){return _0x2a6235(_0x462b55,_0x99492,_0x1aeccf);},'cmsDj':_0x3c6919(0x1de),'SdNaD':function(_0x16d889,_0x2f019f){return _0x16d889(_0x2f019f);},'DRiwq':_0x3c6919(0x21a),'SsnmG':function(_0x3fd54e,_0x2a18bd){return _0x3fd54e(_0x2a18bd);},'CwkTG':function(_0x5926c8){return _0x5926c8();},'TADkZ':function(_0x583e41){return _0x583e41();},'dnhlB':_0x3c6919(0x227),'KMjUp':_0x3c6919(0x221),'BENrv':function(_0x4675a4,_0x1dd074){return _0x4675a4(_0x1dd074);},'jNZnt':function(_0x3514e4){return _0x3514e4();},'oEjlI':function(_0x1a142e){return _0x1a142e();},'wBjYy':function(_0x94a981,_0x5f1d62,_0x940c23,_0x3e193e){return _0x94a981(_0x5f1d62,_0x940c23,_0x3e193e);},'CVUTb':_0x3c6919(0x277),'RBrsu':_0x3c6919(0x23a),'lowiO':_0x3c6919(0x1dd),'wamKu':function(_0xfdb044,_0x19d537,_0x38f048){return _0xfdb044(_0x19d537,_0x38f048);},'EIzWZ':'jest-circus/build/state.js','fjtia':function(_0x4c1829,_0x51c37d,_0x3a591e){return _0x4c1829(_0x51c37d,_0x3a591e);},'cLEJY':_0x3c6919(0x258),'YlIGt':function(_0x1101d0,_0x1e8d8d){return _0x1101d0(_0x1e8d8d);},'hsvME':function(_0x46e740,..._0x5f1b07){return _0x46e740(..._0x5f1b07);}};try{const _0x35c72f=new ObservabilityReporter();_0x382744[_0x3c6919(0x264)](shouldProcessEventForTesthub)&&(_0x382744[_0x3c6919(0x23e)](patchConsoleLogger),_0x35c72f['registerListeners']()),_0x382744[_0x3c6919(0x23e)](shouldProcessEventForTesthub)&&_0x382744[_0x3c6919(0x267)](requireModule,_0x382744[_0x3c6919(0x220)],_0x382744[_0x3c6919(0x201)])[_0x3c6919(0x212)](_0x382744[_0x3c6919(0x279)](o11yErrorHandler,async(_0x696e67,_0x236d86)=>{const _0x25f49a=_0x3c6919,_0x1417c4=_0x382744[_0x25f49a(0x240)](requireModule,_0x382744['bNHXS'],_0x382744['Gerox'])['makeSingleTestResult'];switch(_0x696e67['name']){case _0x382744[_0x25f49a(0x22c)]:if(_0x382744[_0x25f49a(0x229)](shouldProcessEventForTesthub,testHubConstants[_0x25f49a(0x26e)][_0x25f49a(0x1d4)])){if(_0x696e67[_0x25f49a(0x262)]['fn']&&_0x696e67[_0x25f49a(0x262)]['fn'][_0x25f49a(0x21e)]()[_0x25f49a(0x1ff)](/browserstack internal helper hook/))break;if(BrowserstackCLI['getInstance']()[_0x25f49a(0x280)]()&&await _0x382744[_0x25f49a(0x264)](isCLIReady))try{await _0x382744[_0x25f49a(0x20c)](handleHookEventCLI,_0x696e67[_0x25f49a(0x262)],_0x382744[_0x25f49a(0x275)],_0x236d86);break;}catch(_0x2cb121){_0x382744[_0x25f49a(0x229)](debug,_0x25f49a(0x237)+util['format'](_0x2cb121));}if(!_0x696e67[_0x25f49a(0x262)][_0x25f49a(0x24c)]){const _0x491142=TestDetails[_0x25f49a(0x247)](process[_0x25f49a(0x27b)]+_0x25f49a(0x218));_0x696e67[_0x25f49a(0x262)][_0x25f49a(0x24c)]=_0x491142;}else _0x696e67[_0x25f49a(0x262)][_0x25f49a(0x21f)]&&(_0x696e67[_0x25f49a(0x262)][_0x25f49a(0x24c)]=TestDetails[_0x25f49a(0x247)](process[_0x25f49a(0x27b)]+':hookAnalyticsId'),delete _0x696e67[_0x25f49a(0x262)]['markedStatus']);_0x696e67[_0x25f49a(0x262)][_0x25f49a(0x1f7)]=new Date()[_0x25f49a(0x22d)](),await _0x35c72f[_0x25f49a(0x215)](_0x696e67[_0x25f49a(0x262)],undefined,![],_0x382744[_0x25f49a(0x275)]);}break;case _0x382744[_0x25f49a(0x200)]:if(_0x382744[_0x25f49a(0x229)](shouldProcessEventForTesthub,testHubConstants[_0x25f49a(0x26e)][_0x25f49a(0x263)])){if(BrowserstackCLI[_0x25f49a(0x20a)]()[_0x25f49a(0x280)]()&&await _0x382744[_0x25f49a(0x264)](isCLIReady))try{await _0x382744[_0x25f49a(0x203)](handleHookEventCLI,_0x696e67[_0x25f49a(0x262)],_0x382744[_0x25f49a(0x202)],_0x236d86);break;}catch(_0x5694e1){_0x382744[_0x25f49a(0x229)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x5694e1));}await _0x35c72f[_0x25f49a(0x215)](_0x696e67[_0x25f49a(0x262)],undefined,![],_0x382744[_0x25f49a(0x202)]),TestDetails['removeTestUUID'](process['pid']+_0x25f49a(0x218));}break;case _0x382744['JbfDW']:[_0x382744[_0x25f49a(0x249)],_0x382744[_0x25f49a(0x270)],_0x382744['xUqRe']][_0x25f49a(0x1fc)](_0x696e67[_0x25f49a(0x262)]['type'])&&(_0x35c72f['hook_failure']=_0x696e67['hook'][_0x25f49a(0x27d)]),_0x236d86[_0x25f49a(0x1ec)]&&_0x382744['nEisL'](_0x236d86[_0x25f49a(0x1ec)][_0x25f49a(0x23b)],0x0)&&(_0x696e67[_0x25f49a(0x262)]['errorsDetailed']=[_0x236d86[_0x25f49a(0x1ec)][0x0][0x0]]);if(_0x382744[_0x25f49a(0x229)](shouldProcessEventForTesthub,testHubConstants[_0x25f49a(0x26e)][_0x25f49a(0x263)])){if(BrowserstackCLI[_0x25f49a(0x20a)]()[_0x25f49a(0x280)]()&&await _0x382744[_0x25f49a(0x224)](isCLIReady))try{await _0x382744['GXGSk'](handleHookEventCLI,_0x696e67[_0x25f49a(0x262)],_0x382744['CbbFv'],_0x236d86);break;}catch(_0x27b7c6){_0x382744[_0x25f49a(0x229)](debug,_0x25f49a(0x237)+util['format'](_0x27b7c6));}await _0x35c72f[_0x25f49a(0x215)](_0x696e67[_0x25f49a(0x262)],undefined,![],_0x382744[_0x25f49a(0x202)]),TestDetails[_0x25f49a(0x225)](process[_0x25f49a(0x27b)]+_0x25f49a(0x218));}break;case _0x382744[_0x25f49a(0x1f9)]:if(_0x382744['OogJA'](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x25f49a(0x20a)]()['isCliEnabled']()&&await _0x382744[_0x25f49a(0x224)](isCLIReady))try{await _0x382744['CbrLJ'](handleTestEventCLI,_0x696e67[_0x25f49a(0x228)],_0x382744[_0x25f49a(0x245)],_0x35c72f);break;}catch(_0xf52097){_0x382744[_0x25f49a(0x20b)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x25f49a(0x207)](_0xf52097));}await _0x35c72f[_0x25f49a(0x230)](_0x696e67[_0x25f49a(0x228)]);}break;case _0x382744[_0x25f49a(0x219)]:_0x696e67[_0x25f49a(0x228)]={..._0x382744[_0x25f49a(0x272)](_0x1417c4,_0x696e67['test']),..._0x696e67[_0x25f49a(0x228)]};if(_0x382744[_0x25f49a(0x24a)](shouldProcessEventForTesthub)){if(!_0x696e67['test'][_0x25f49a(0x21f)]){_0x696e67[_0x25f49a(0x228)][_0x25f49a(0x21f)]=!![];if(BrowserstackCLI[_0x25f49a(0x20a)]()['isCliEnabled']()&&await _0x382744[_0x25f49a(0x27e)](isCLIReady))try{await _0x382744['rntzy'](handleTestEventCLI,_0x696e67['test'],_0x382744[_0x25f49a(0x1df)],_0x35c72f);break;}catch(_0x2a6867){_0x382744[_0x25f49a(0x272)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x2a6867));}await _0x35c72f[_0x25f49a(0x215)](_0x696e67['test']);}}break;case _0x382744[_0x25f49a(0x269)]:_0x696e67['test']={..._0x382744['BENrv'](_0x1417c4,_0x696e67[_0x25f49a(0x228)]),..._0x696e67['test']};if(_0x382744[_0x25f49a(0x242)](shouldProcessEventForTesthub)){if(!_0x696e67[_0x25f49a(0x228)][_0x25f49a(0x21f)]){_0x696e67['test'][_0x25f49a(0x21f)]=!![];if(BrowserstackCLI['getInstance']()[_0x25f49a(0x280)]()&&await _0x382744[_0x25f49a(0x23e)](isCLIReady))try{await _0x382744['wBjYy'](handleTestEventCLI,_0x696e67[_0x25f49a(0x228)],_0x382744[_0x25f49a(0x25c)],_0x35c72f);break;}catch(_0x36f261){_0x382744['SsnmG'](debug,_0x25f49a(0x237)+util[_0x25f49a(0x207)](_0x36f261));}await _0x35c72f['sendTestRunEvent'](_0x696e67[_0x25f49a(0x228)],undefined,![],_0x382744['CVUTb']);}}break;case _0x382744[_0x25f49a(0x21d)]:_0x35c72f[_0x25f49a(0x1fd)]=null;break;case _0x382744['lowiO']:await RequestQueueHandler[_0x25f49a(0x20a)]()[_0x25f49a(0x274)](),process[_0x25f49a(0x204)]();break;default:}},_0x382744[_0x3c6919(0x265)]));}catch(_0xd895bb){_0x382744[_0x3c6919(0x22e)](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0xd895bb);}return _0x382744[_0x3c6919(0x248)](initInitialize,..._0x18b8f2);};try{Object[a17_0x252473(0x268)](exportsI)[a17_0x252473(0x236)](_0x19bd43=>{const _0x128a49=a17_0x252473,_0x4957be={'HwOpg':function(_0x410f47,_0x2a473e){return _0x410f47(_0x2a473e);}};try{exports&&(exports[_0x19bd43]=exportsI[_0x19bd43]);}catch(_0x610cc8){_0x4957be[_0x128a49(0x1f5)](debug,_0x128a49(0x1f1)+_0x610cc8);}});}catch(a17_0x68f2f5){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x68f2f5);}
@@ -1 +1 @@
1
- const a18_0x1ffa92=a18_0x2aeb;(function(_0x2f5f90,_0xdc49f3){const _0x1cee5e=a18_0x2aeb,_0x4dc799=_0x2f5f90();while(!![]){try{const _0x2547c6=-parseInt(_0x1cee5e(0x161))/0x1+parseInt(_0x1cee5e(0x15f))/0x2*(-parseInt(_0x1cee5e(0x157))/0x3)+parseInt(_0x1cee5e(0x15d))/0x4+parseInt(_0x1cee5e(0x158))/0x5*(-parseInt(_0x1cee5e(0x151))/0x6)+-parseInt(_0x1cee5e(0x14e))/0x7+-parseInt(_0x1cee5e(0x156))/0x8+parseInt(_0x1cee5e(0x15c))/0x9;if(_0x2547c6===_0xdc49f3)break;else _0x4dc799['push'](_0x4dc799['shift']());}catch(_0x4c93a2){_0x4dc799['push'](_0x4dc799['shift']());}}}(a18_0x2b4b,0x69b0c));function a18_0x2aeb(_0x72d3a1,_0x2d54e3){const _0x2b4b46=a18_0x2b4b();return a18_0x2aeb=function(_0x2aebfc,_0x3ae353){_0x2aebfc=_0x2aebfc-0x14e;let _0x3838b9=_0x2b4b46[_0x2aebfc];return _0x3838b9;},a18_0x2aeb(_0x72d3a1,_0x2d54e3);}function a18_0x2b4b(){const _0xf04dfd=['1227pCVAqj','5RjYvkf','get','filter','path','21448413yHFsVu','2117480bIhmvN','@jest/test-sequencer','1858oMDkuA','sort','391162rqWqds','5327357NrhwUu','env','JEST_TEST_ORDER','4985202CgMoSE','includes','map','exports','split','932624oVAWvg'];a18_0x2b4b=function(){return _0xf04dfd;};return a18_0x2b4b();}const Sequencer=require(a18_0x1ffa92(0x15e))['default'];class CustomSequencer extends Sequencer{[a18_0x1ffa92(0x160)](_0x223808){const _0x34f756=a18_0x1ffa92,_0x20f675=process[_0x34f756(0x14f)][_0x34f756(0x150)];if(!_0x20f675)return _0x223808;const _0x696e8a=_0x20f675[_0x34f756(0x155)](','),_0x21a9b9=new Map(_0x223808[_0x34f756(0x15a)](_0x584487=>_0x696e8a[_0x34f756(0x152)](_0x584487[_0x34f756(0x15b)]))[_0x34f756(0x153)](_0x1d3d6c=>[_0x1d3d6c[_0x34f756(0x15b)],_0x1d3d6c]));return _0x696e8a['map'](_0x4c86b8=>_0x21a9b9[_0x34f756(0x159)](_0x4c86b8))[_0x34f756(0x15a)](Boolean);}}module[a18_0x1ffa92(0x154)]=CustomSequencer;
1
+ const a18_0x3f2f82=a18_0x1681;(function(_0x407288,_0x26f79c){const _0x2f5d66=a18_0x1681,_0x5a8822=_0x407288();while(!![]){try{const _0x219743=parseInt(_0x2f5d66(0x1bd))/0x1+parseInt(_0x2f5d66(0x1b5))/0x2+parseInt(_0x2f5d66(0x1b8))/0x3*(parseInt(_0x2f5d66(0x1bc))/0x4)+-parseInt(_0x2f5d66(0x1c0))/0x5+-parseInt(_0x2f5d66(0x1c2))/0x6+-parseInt(_0x2f5d66(0x1b6))/0x7*(parseInt(_0x2f5d66(0x1c5))/0x8)+-parseInt(_0x2f5d66(0x1c3))/0x9*(-parseInt(_0x2f5d66(0x1bf))/0xa);if(_0x219743===_0x26f79c)break;else _0x5a8822['push'](_0x5a8822['shift']());}catch(_0x1a35cb){_0x5a8822['push'](_0x5a8822['shift']());}}}(a18_0xc3f8,0xb5304));const Sequencer=require(a18_0x3f2f82(0x1c4))[a18_0x3f2f82(0x1be)];class CustomSequencer extends Sequencer{[a18_0x3f2f82(0x1b7)](_0xd62afa){const _0x33fee4=a18_0x3f2f82,_0x56305d=process[_0x33fee4(0x1ba)]['JEST_TEST_ORDER'];if(!_0x56305d)return _0xd62afa;const _0x44ada7=_0x56305d[_0x33fee4(0x1c6)](','),_0x1de3d6=new Map(_0xd62afa[_0x33fee4(0x1bb)](_0x5676d1=>_0x44ada7[_0x33fee4(0x1c7)](_0x5676d1[_0x33fee4(0x1c1)]))[_0x33fee4(0x1b9)](_0x6667a4=>[_0x6667a4[_0x33fee4(0x1c1)],_0x6667a4]));return _0x44ada7['map'](_0x3f1f3a=>_0x1de3d6['get'](_0x3f1f3a))[_0x33fee4(0x1bb)](Boolean);}}function a18_0x1681(_0x1cc417,_0x5866fa){const _0xc3f86d=a18_0xc3f8();return a18_0x1681=function(_0x1681ee,_0x5199c8){_0x1681ee=_0x1681ee-0x1b5;let _0x2930ad=_0xc3f86d[_0x1681ee];return _0x2930ad;},a18_0x1681(_0x1cc417,_0x5866fa);}function a18_0xc3f8(){const _0x3d2be9=['24HAXTKv','split','includes','1156374DMhess','2607241OZQUft','sort','1237173hWkXFL','map','env','filter','8DtCTpG','632119fVZvQu','default','929120WEXtwh','4514205sDWCeV','path','6228228lMyQrD','171WubbJj','@jest/test-sequencer'];a18_0xc3f8=function(){return _0x3d2be9;};return a18_0xc3f8();}module['exports']=CustomSequencer;
@@ -1 +1 @@
1
- 'use strict';const a19_0x24dd3c=a19_0x1c35;(function(_0x533c7d,_0x4063d6){const _0x2f5589=a19_0x1c35,_0x5e747a=_0x533c7d();while(!![]){try{const _0x11f141=-parseInt(_0x2f5589(0xfa))/0x1+-parseInt(_0x2f5589(0xf2))/0x2+parseInt(_0x2f5589(0x105))/0x3*(-parseInt(_0x2f5589(0x115))/0x4)+parseInt(_0x2f5589(0x10c))/0x5*(parseInt(_0x2f5589(0xf7))/0x6)+parseInt(_0x2f5589(0xfb))/0x7*(parseInt(_0x2f5589(0x116))/0x8)+parseInt(_0x2f5589(0x107))/0x9+parseInt(_0x2f5589(0xfc))/0xa*(parseInt(_0x2f5589(0xf3))/0xb);if(_0x11f141===_0x4063d6)break;else _0x5e747a['push'](_0x5e747a['shift']());}catch(_0xe04902){_0x5e747a['push'](_0x5e747a['shift']());}}}(a19_0x25ea,0x82bd6));const {requireModule,isBrowserstackInfra}=require(a19_0x24dd3c(0x10e)),a19_0x547067={};function a19_0x1c35(_0x9e12c5,_0x1a0a94){const _0x25ea33=a19_0x25ea();return a19_0x1c35=function(_0x1c3520,_0x25c78b){_0x1c3520=_0x1c3520-0xf2;let _0x5e8af9=_0x25ea33[_0x1c3520];return _0x5e8af9;},a19_0x1c35(_0x9e12c5,_0x1a0a94);}function a19_0x25ea(){const _0x2bde8c=['parallels__','false','serial','exports','jest-runner','default','wbfSZ','length','9069gTsiyH','QQYuB','4558176TKiXYd','testEnvironmentOptions','slice','freeze','TjUKx','360llqbeo','context','../../../helpers/helper','value','serial__','_globalConfig','__esModule','bqcYO','config','532JMTTTC','8hWKUUI','DyOvV','860648VhTRXD','11kniTze','forEach','capabilities','push','1038sopFUm','runTests','zmDWk','856817vGDNLF','2851037llfyls','12984990bBIuhl'];a19_0x25ea=function(){return _0x2bde8c;};return a19_0x25ea();}a19_0x547067[a19_0x24dd3c(0x10f)]=!![],Object['defineProperty'](exports,a19_0x24dd3c(0x112),a19_0x547067),exports[a19_0x24dd3c(0x102)]=void 0x0;function _interopRequireDefault(_0x655dec){const _0x16aac9=a19_0x24dd3c;return _0x655dec&&_0x655dec[_0x16aac9(0x112)]?_0x655dec:{'default':_0x655dec};}const JestRunner=_interopRequireDefault(requireModule(a19_0x24dd3c(0x101)))['default'];class TestRunner extends JestRunner{constructor(..._0x143e29){super(..._0x143e29);}[a19_0x24dd3c(0xf8)](..._0x1a7bf0){const _0x28bf62=a19_0x24dd3c,_0x4a5203={'bqcYO':function(_0x16914e){return _0x16914e();},'wbfSZ':function(_0x1a0e7e,_0x4ef114){return _0x1a0e7e-_0x4ef114;},'TjUKx':function(_0x5bc658,_0x19b29d){return _0x5bc658*_0x19b29d;},'QQYuB':function(_0x5bebcf,_0x2a04f3){return _0x5bebcf===_0x2a04f3;},'zmDWk':_0x28bf62(0xfe),'DyOvV':function(_0x4844ba,_0x3b2509){return _0x4844ba<_0x3b2509;}};if(!_0x4a5203[_0x28bf62(0x113)](isBrowserstackInfra))return super['runTests'](..._0x1a7bf0);const _0x10f17c=_0x1a7bf0[0x0],_0x2c1960=_0x1a7bf0[_0x4a5203[_0x28bf62(0x103)](_0x1a7bf0[_0x28bf62(0x104)],0x1)],_0x2e7f50=_0x10f17c[0x0][_0x28bf62(0x10d)]['config']['testEnvironmentOptions'][_0x28bf62(0xf5)],_0x121ad6=_0x10f17c[0x0][_0x28bf62(0x10d)][_0x28bf62(0x114)][_0x28bf62(0x108)][_0x28bf62(0xfd)];_0x121ad6&&(this[_0x28bf62(0x111)]=Object[_0x28bf62(0x10a)]({...this['_globalConfig'],'maxWorkers':_0x4a5203[_0x28bf62(0x10b)](_0x121ad6,_0x2e7f50[_0x28bf62(0x104)])}));_0x4a5203[_0x28bf62(0x106)](_0x10f17c[0x0][_0x28bf62(0x10d)][_0x28bf62(0x114)][_0x28bf62(0x108)][_0x28bf62(0x110)],_0x4a5203[_0x28bf62(0xf9)])&&(_0x2c1960&&(_0x2c1960[_0x28bf62(0xff)]=![]));const _0x4d78f8=[];for(let _0x2a9c1e=0x0;_0x4a5203[_0x28bf62(0x117)](_0x2a9c1e,_0x10f17c[_0x28bf62(0x104)]);_0x2a9c1e++){const _0x5167d9=[];_0x2e7f50[_0x28bf62(0xf4)]((_0x59c19b,_0x1ca06f)=>{const _0x4b584d=_0x28bf62,_0x1289bd={..._0x10f17c[_0x2a9c1e]},_0xfc2ba4=_0x1289bd;_0xfc2ba4[_0x4b584d(0x10d)]=Object[_0x4b584d(0x10a)]({..._0xfc2ba4[_0x4b584d(0x10d)],'config':{..._0xfc2ba4[_0x4b584d(0x10d)]['config'],'capability':_0x59c19b,'browserstackPlatformIndex':_0x1ca06f}}),_0x5167d9['push'](_0xfc2ba4);}),_0x4d78f8[_0x28bf62(0xf6)](..._0x5167d9);}return super['runTests'](_0x4d78f8,..._0x1a7bf0[_0x28bf62(0x109)](0x1));}}module[a19_0x24dd3c(0x100)]=TestRunner;
1
+ 'use strict';const a19_0xebc64f=a19_0x39ed;(function(_0x28b11f,_0x24c358){const _0x359ac1=a19_0x39ed,_0x222e0b=_0x28b11f();while(!![]){try{const _0x19b399=-parseInt(_0x359ac1(0xf9))/0x1+parseInt(_0x359ac1(0xe4))/0x2*(-parseInt(_0x359ac1(0xe1))/0x3)+-parseInt(_0x359ac1(0xee))/0x4+parseInt(_0x359ac1(0xe5))/0x5*(-parseInt(_0x359ac1(0xe6))/0x6)+-parseInt(_0x359ac1(0xe9))/0x7+parseInt(_0x359ac1(0xdd))/0x8+parseInt(_0x359ac1(0xf4))/0x9*(parseInt(_0x359ac1(0xea))/0xa);if(_0x19b399===_0x24c358)break;else _0x222e0b['push'](_0x222e0b['shift']());}catch(_0x11a2d9){_0x222e0b['push'](_0x222e0b['shift']());}}}(a19_0x8734,0x6374f));function a19_0x8734(){const _0x5bb6f8=['config','slice','runTests','parallels__','7145217lCFyao','default','jest-runner','freeze','capabilities','209760oDvkEC','testEnvironmentOptions','_globalConfig','serial','../../../helpers/helper','value','DreOt','1296600tFYLuf','serial__','context','push','2269173ZeiIkH','kEcpn','__esModule','2AoFbfz','5LqAjvV','1032384gweLnD','Agqpd','false','5408221reoofz','30Pylban','length','iLuan','defineProperty','902484CGYREI','yQdyL'];a19_0x8734=function(){return _0x5bb6f8;};return a19_0x8734();}const {requireModule,isBrowserstackInfra}=require(a19_0xebc64f(0xfd)),a19_0x450358={};a19_0x450358[a19_0xebc64f(0xfe)]=!![],Object[a19_0xebc64f(0xed)](exports,a19_0xebc64f(0xe3),a19_0x450358),exports[a19_0xebc64f(0xf5)]=void 0x0;function a19_0x39ed(_0x1f692d,_0x3fad1e){const _0x8734d3=a19_0x8734();return a19_0x39ed=function(_0x39edde,_0x2f5775){_0x39edde=_0x39edde-0xdd;let _0x5acd45=_0x8734d3[_0x39edde];return _0x5acd45;},a19_0x39ed(_0x1f692d,_0x3fad1e);}function _interopRequireDefault(_0x3e4e5){const _0x7225f4=a19_0xebc64f;return _0x3e4e5&&_0x3e4e5[_0x7225f4(0xe3)]?_0x3e4e5:{'default':_0x3e4e5};}const JestRunner=_interopRequireDefault(requireModule(a19_0xebc64f(0xf6)))['default'];class TestRunner extends JestRunner{constructor(..._0x252b4f){super(..._0x252b4f);}['runTests'](..._0x1c6852){const _0x22c5dc=a19_0xebc64f,_0x16337e={'yQdyL':function(_0x722c7b){return _0x722c7b();},'kEcpn':function(_0x7ea36e,_0x4494d0){return _0x7ea36e-_0x4494d0;},'iLuan':function(_0x22807d,_0x5597b1){return _0x22807d*_0x5597b1;},'YvuXo':function(_0x2f8474,_0x787590){return _0x2f8474===_0x787590;},'DreOt':_0x22c5dc(0xe8),'Agqpd':function(_0x4afeaf,_0x4bdf24){return _0x4afeaf<_0x4bdf24;}};if(!_0x16337e[_0x22c5dc(0xef)](isBrowserstackInfra))return super[_0x22c5dc(0xf2)](..._0x1c6852);const _0x4a075e=_0x1c6852[0x0],_0x3703e7=_0x1c6852[_0x16337e[_0x22c5dc(0xe2)](_0x1c6852[_0x22c5dc(0xeb)],0x1)],_0x449b2b=_0x4a075e[0x0][_0x22c5dc(0xdf)][_0x22c5dc(0xf0)][_0x22c5dc(0xfa)][_0x22c5dc(0xf8)],_0x1bcf26=_0x4a075e[0x0][_0x22c5dc(0xdf)][_0x22c5dc(0xf0)]['testEnvironmentOptions'][_0x22c5dc(0xf3)];_0x1bcf26&&(this[_0x22c5dc(0xfb)]=Object[_0x22c5dc(0xf7)]({...this['_globalConfig'],'maxWorkers':_0x16337e[_0x22c5dc(0xec)](_0x1bcf26,_0x449b2b['length'])}));_0x16337e['YvuXo'](_0x4a075e[0x0][_0x22c5dc(0xdf)]['config'][_0x22c5dc(0xfa)][_0x22c5dc(0xde)],_0x16337e[_0x22c5dc(0xff)])&&(_0x3703e7&&(_0x3703e7[_0x22c5dc(0xfc)]=![]));const _0x4e75a5=[];for(let _0x166440=0x0;_0x16337e[_0x22c5dc(0xe7)](_0x166440,_0x4a075e['length']);_0x166440++){const _0x1a72c6=[];_0x449b2b['forEach']((_0x30d9c,_0x594b84)=>{const _0xa4d006=_0x22c5dc,_0x2e7410={..._0x4a075e[_0x166440]},_0xf17fb7=_0x2e7410;_0xf17fb7[_0xa4d006(0xdf)]=Object['freeze']({..._0xf17fb7[_0xa4d006(0xdf)],'config':{..._0xf17fb7[_0xa4d006(0xdf)][_0xa4d006(0xf0)],'capability':_0x30d9c,'browserstackPlatformIndex':_0x594b84}}),_0x1a72c6[_0xa4d006(0xe0)](_0xf17fb7);}),_0x4e75a5[_0x22c5dc(0xe0)](..._0x1a72c6);}return super[_0x22c5dc(0xf2)](_0x4e75a5,..._0x1c6852[_0x22c5dc(0xf1)](0x1));}}module['exports']=TestRunner;