browserstack-node-sdk 1.53.6 → 1.54.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +10 -9
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a10_0x38b9(_0xb1eaea,_0xdde0b){const _0x4c49a4=a10_0x4c49();return a10_0x38b9=function(_0x38b9a1,_0x281548){_0x38b9a1=_0x38b9a1-0x10f;let _0x3923b1=_0x4c49a4[_0x38b9a1];return _0x3923b1;},a10_0x38b9(_0xb1eaea,_0xdde0b);}const a10_0x2b72cf=a10_0x38b9;(function(_0xc531f2,_0x4f956c){const _0x533f79=a10_0x38b9,_0x32b0c3=_0xc531f2();while(!![]){try{const _0x32a5bf=parseInt(_0x533f79(0x12d))/0x1*(parseInt(_0x533f79(0x13c))/0x2)+-parseInt(_0x533f79(0x126))/0x3+-parseInt(_0x533f79(0x140))/0x4+parseInt(_0x533f79(0x13f))/0x5+-parseInt(_0x533f79(0x12f))/0x6+-parseInt(_0x533f79(0x125))/0x7+parseInt(_0x533f79(0x111))/0x8*(parseInt(_0x533f79(0x147))/0x9);if(_0x32a5bf===_0x4f956c)break;else _0x32b0c3['push'](_0x32b0c3['shift']());}catch(_0xc3dd86){_0x32b0c3['push'](_0x32b0c3['shift']());}}}(a10_0x4c49,0x484bd));function a10_0x4c49(){const _0xd44209=['passed','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','bstack','initQuit','then','GlVyI','13061511uuucuP','result','PYmPX','8qRoTNr','debug','executeScript','ATiTL','../../helpers/helper','After','env','__driver','__timeout','winstonLogger','setDefaultTimeout','zyTWI','Inside\x20browserstack\x20After','failed','skipSessionName','__skipSessionName','join','__skipSessionStatus','SRobr','parse','3221190QHNiRe','1047618jOOUIn','CONFIG','\x22}}','toLowerCase','timeout','../../index','CDcWn','37473kyfbzM','vGOwz','1670964YwjqEb','../../helpers/logger','cucumber','platformCaps','browserstackAgentV2','__platformCaps','Inside\x20browserstack\x20Before','pickle','name','__error_messages__','../../helpers/setKeepAlive','Error:\x20quiting\x20at\x20After:\x20','session_','2cyoFOX','skipSessionStatus','BuaPA','989270KGZJgC','1210444iTubCF'];a10_0x4c49=function(){return _0xd44209;};return a10_0x4c49();}const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x2b72cf(0x115)),setKeepAlive=require(a10_0x2b72cf(0x139)),cucumberModule=requireModule('cucumber/lib/index.js',a10_0x2b72cf(0x131)),logger=require(a10_0x2b72cf(0x130))[a10_0x2b72cf(0x11a)];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a10_0x2b72cf(0x116)],configuration=process[a10_0x2b72cf(0x117)][a10_0x2b72cf(0x127)];if(configuration!==undefined){const config=JSON[a10_0x2b72cf(0x124)](configuration);isTrue(config[a10_0x2b72cf(0x11f)])&&(global['__skipSessionName']=!![]),global[a10_0x2b72cf(0x122)]=isTrue(config[a10_0x2b72cf(0x13d)]),require(a10_0x2b72cf(0x12b))[a10_0x2b72cf(0x133)](config),global[a10_0x2b72cf(0x134)]=config[a10_0x2b72cf(0x132)]||{};}global[a10_0x2b72cf(0x119)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x2b72cf(0x11b)];cucumberModule[a10_0x2b72cf(0x11b)]=_0x40789d=>{const _0x2aa3f9=a10_0x2b72cf,_0x2c2c39={'BuaPA':function(_0x496114,_0x571011){return _0x496114(_0x571011);}};global[_0x2aa3f9(0x119)]=_0x40789d,_0x2c2c39[_0x2aa3f9(0x13e)](__setDefaultTimeout,_0x40789d);};const a10_0x43347e={};a10_0x43347e['name']=a10_0x2b72cf(0x143),Before(a10_0x43347e,function(){const _0x750843=a10_0x2b72cf,_0x488685={};_0x488685[_0x750843(0x12c)]=_0x750843(0x135);const _0x5f28d3=_0x488685;logger[_0x750843(0x112)](_0x5f28d3[_0x750843(0x12c)]),global[_0x750843(0x138)]=[];});const a10_0x557176={};a10_0x557176[a10_0x2b72cf(0x137)]=a10_0x2b72cf(0x143),a10_0x557176[a10_0x2b72cf(0x12a)]=0x2710,After(a10_0x557176,function(_0x329f81,_0xca3864){const _0x4fa49e=a10_0x2b72cf,_0x2fecd2={'GlVyI':function(_0x2178bb,_0xdb0a59){return _0x2178bb===_0xdb0a59;},'PYmPX':_0x4fa49e(0x11e),'ihlYL':function(_0x3cd079,_0x57c4d4,_0x3f1482,_0x5c6054){return _0x3cd079(_0x57c4d4,_0x3f1482,_0x5c6054);},'lYqCq':'\x20|\x20','btIja':function(_0x7e4c32,_0x293396,_0x331499){return _0x7e4c32(_0x293396,_0x331499);},'ATiTL':_0x4fa49e(0x141),'mEpiE':function(_0x238a87){return _0x238a87();},'zyTWI':function(_0x77382b,_0x3b505c){return _0x77382b(_0x3b505c);},'vGOwz':function(_0x52dc71){return _0x52dc71();},'SRobr':_0x4fa49e(0x11d)};logger['debug'](_0x2fecd2[_0x4fa49e(0x123)]),new Promise(async(_0x1e9717,_0x2dc8df)=>{const _0x398c8b=_0x4fa49e;let _0x1bab9b=![];try{await global[_0x398c8b(0x118)][_0x398c8b(0x13b)],_0x1bab9b=!![],!global[_0x398c8b(0x120)]&&await global[_0x398c8b(0x118)][_0x398c8b(0x113)](_0x398c8b(0x142)+_0x329f81[_0x398c8b(0x136)][_0x398c8b(0x137)]+_0x398c8b(0x128)),_0x2fecd2[_0x398c8b(0x146)](_0x329f81[_0x398c8b(0x10f)]['status'][_0x398c8b(0x129)](),_0x2fecd2[_0x398c8b(0x110)])?await _0x2fecd2['ihlYL'](markSessionStatus,global['__driver'],_0x2fecd2['PYmPX'],global[_0x398c8b(0x138)][_0x398c8b(0x121)](_0x2fecd2['lYqCq'])):await _0x2fecd2['btIja'](markSessionStatus,global[_0x398c8b(0x118)],_0x2fecd2[_0x398c8b(0x114)]);}catch(_0x7ac582){logger[_0x398c8b(0x112)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x7ac582);}if(_0x1bab9b)try{await global['__driver'][_0x398c8b(0x144)](),_0x2fecd2['mEpiE'](_0x1e9717);}catch(_0x1891c4){logger[_0x398c8b(0x112)](_0x398c8b(0x13a)+_0x1891c4),_0x2fecd2[_0x398c8b(0x11c)](_0x2dc8df,_0x1891c4);}else _0x2fecd2[_0x398c8b(0x12e)](_0x2dc8df);})[_0x4fa49e(0x145)](()=>_0xca3864());});
1
+ const a10_0x1915e9=a10_0x2a62;(function(_0x1b368e,_0x4c5604){const _0x660c2b=a10_0x2a62,_0x537a64=_0x1b368e();while(!![]){try{const _0x2e6f1e=-parseInt(_0x660c2b(0x1e2))/0x1*(parseInt(_0x660c2b(0x1fb))/0x2)+parseInt(_0x660c2b(0x1d5))/0x3*(parseInt(_0x660c2b(0x1fc))/0x4)+-parseInt(_0x660c2b(0x1e0))/0x5+parseInt(_0x660c2b(0x1ec))/0x6+parseInt(_0x660c2b(0x1df))/0x7+parseInt(_0x660c2b(0x1db))/0x8+-parseInt(_0x660c2b(0x1fd))/0x9*(-parseInt(_0x660c2b(0x1f6))/0xa);if(_0x2e6f1e===_0x4c5604)break;else _0x537a64['push'](_0x537a64['shift']());}catch(_0x140226){_0x537a64['push'](_0x537a64['shift']());}}}(a10_0x3801,0xc2566));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x1915e9(0x1ed)),setKeepAlive=require(a10_0x1915e9(0x1e9)),cucumberModule=requireModule(a10_0x1915e9(0x1cc),'cucumber'),logger=require(a10_0x1915e9(0x1d7))[a10_0x1915e9(0x1dd)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x1915e9(0x1eb)],After=cucumberModule[a10_0x1915e9(0x1d6)],configuration=process[a10_0x1915e9(0x1ea)][a10_0x1915e9(0x1f4)];if(configuration!==undefined){const config=JSON[a10_0x1915e9(0x1cb)](configuration);isTrue(config[a10_0x1915e9(0x1fa)])&&(global[a10_0x1915e9(0x1e8)]=!![]),global[a10_0x1915e9(0x1f5)]=isTrue(config['skipSessionStatus']),require('../../index')[a10_0x1915e9(0x1c6)](config),global[a10_0x1915e9(0x1e4)]=config[a10_0x1915e9(0x1c7)]||{};}global['__timeout']=0x0;function a10_0x3801(){const _0x2a910e=['TFsSB','result','session_','debug','CONFIG','__skipSessionStatus','3195070mCGJBV','\x22}}','__driver','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','skipSessionName','208054jBnLXF','2388728jkchaF','36JYFhYN','SYvkd','browserstackAgentV2','platformCaps','Inside\x20browserstack\x20After','status','failed','parse','cucumber/lib/index.js','passed','__timeout','lyfmJ','__error_messages__','\x20|\x20','LsxnP','ZLksc','then','6JlkSWW','After','../../helpers/logger','setDefaultTimeout','Error:\x20setting\x20status\x20at\x20After:\x20','bstack','5532968lRSWkU','dYXqk','winstonLogger','KLAVS','879207kEjKNj','5392180riAsjH','FgGRb','14PTXUtr','pickle','__platformCaps','executeScript','name','timeout','__skipSessionName','../../helpers/setKeepAlive','env','Before','247236ZjWWXc','../../helpers/helper','RfItE','join'];a10_0x3801=function(){return _0x2a910e;};return a10_0x3801();}const __setDefaultTimeout=cucumberModule[a10_0x1915e9(0x1d8)];cucumberModule[a10_0x1915e9(0x1d8)]=_0x31d294=>{const _0x31b4bc=a10_0x1915e9,_0x1b60f2={'FgGRb':function(_0x491a97,_0x3531c1){return _0x491a97(_0x3531c1);}};global[_0x31b4bc(0x1ce)]=_0x31d294,_0x1b60f2[_0x31b4bc(0x1e1)](__setDefaultTimeout,_0x31d294);};function a10_0x2a62(_0x5246d9,_0xe377ca){const _0x38016c=a10_0x3801();return a10_0x2a62=function(_0x2a6298,_0xae541b){_0x2a6298=_0x2a6298-0x1c5;let _0x5255a0=_0x38016c[_0x2a6298];return _0x5255a0;},a10_0x2a62(_0x5246d9,_0xe377ca);}const a10_0x27f1b0={};a10_0x27f1b0['name']=a10_0x1915e9(0x1da),Before(a10_0x27f1b0,function(){const _0x24d466=a10_0x1915e9,_0x4928c2={};_0x4928c2['jHXvp']='Inside\x20browserstack\x20Before';const _0x35decd=_0x4928c2;logger[_0x24d466(0x1f3)](_0x35decd['jHXvp']),global['__error_messages__']=[];});const a10_0x3a60bf={};a10_0x3a60bf[a10_0x1915e9(0x1e6)]='bstack',a10_0x3a60bf[a10_0x1915e9(0x1e7)]=0x2710,After(a10_0x3a60bf,function(_0x51abc0,_0x12b289){const _0x59cf18=a10_0x1915e9,_0x53acb1={'RfItE':function(_0x5d7a4f,_0x19fecb){return _0x5d7a4f===_0x19fecb;},'LsxnP':_0x59cf18(0x1ca),'aOagW':function(_0x5d5a54,_0x2e9d20,_0x1f004,_0x33ff5d){return _0x5d5a54(_0x2e9d20,_0x1f004,_0x33ff5d);},'ZOwxV':_0x59cf18(0x1d1),'SYvkd':function(_0x3f1be1,_0x2b2fed,_0x3db2d){return _0x3f1be1(_0x2b2fed,_0x3db2d);},'KLAVS':_0x59cf18(0x1cd),'lyfmJ':function(_0xd081bb){return _0xd081bb();},'dYXqk':function(_0x34f09c,_0x32b041){return _0x34f09c(_0x32b041);},'TFsSB':function(_0x19cac1){return _0x19cac1();},'ZLksc':_0x59cf18(0x1c8)};logger[_0x59cf18(0x1f3)](_0x53acb1[_0x59cf18(0x1d3)]),new Promise(async(_0x44fab5,_0x5446e6)=>{const _0x2f923b=_0x59cf18;let _0xb62cc5=![];try{await global['__driver'][_0x2f923b(0x1f2)],_0xb62cc5=!![],!global[_0x2f923b(0x1e8)]&&await global['__driver'][_0x2f923b(0x1e5)](_0x2f923b(0x1f9)+_0x51abc0[_0x2f923b(0x1e3)][_0x2f923b(0x1e6)]+_0x2f923b(0x1f7)),_0x53acb1[_0x2f923b(0x1ee)](_0x51abc0[_0x2f923b(0x1f1)][_0x2f923b(0x1c9)]['toLowerCase'](),_0x53acb1[_0x2f923b(0x1d2)])?await _0x53acb1['aOagW'](markSessionStatus,global[_0x2f923b(0x1f8)],_0x53acb1[_0x2f923b(0x1d2)],global[_0x2f923b(0x1d0)][_0x2f923b(0x1ef)](_0x53acb1['ZOwxV'])):await _0x53acb1[_0x2f923b(0x1c5)](markSessionStatus,global['__driver'],_0x53acb1[_0x2f923b(0x1de)]);}catch(_0xa886ff){logger['debug'](_0x2f923b(0x1d9)+_0xa886ff);}if(_0xb62cc5)try{await global[_0x2f923b(0x1f8)]['initQuit'](),_0x53acb1[_0x2f923b(0x1cf)](_0x44fab5);}catch(_0x3062cb){logger[_0x2f923b(0x1f3)]('Error:\x20quiting\x20at\x20After:\x20'+_0x3062cb),_0x53acb1[_0x2f923b(0x1dc)](_0x5446e6,_0x3062cb);}else _0x53acb1[_0x2f923b(0x1f0)](_0x5446e6);})[_0x59cf18(0x1d4)](()=>_0x12b289());});
@@ -1 +1 @@
1
- function a11_0x1794(){const _0x53fa81=['2428Niqcdn','294740MsAZSa','2705vFUtUW','setDefaultTimeout','cucumber','cucumber/lib/index.js','705482YsbxDn','5757619GgiaRv','32152TEPmqe','BSTACK_DELTA','7652280ipuFCX','../utils/constants','@cucumber/cucumber/lib/index.js','6vnmvoa','863751GTApPM','1017magJIx'];a11_0x1794=function(){return _0x53fa81;};return a11_0x1794();}const a11_0x5904bc=a11_0x2b6a;(function(_0x20d2be,_0xcc8a83){const _0x5ceacc=a11_0x2b6a,_0x1f6d3e=_0x20d2be();while(!![]){try{const _0x5a7b27=parseInt(_0x5ceacc(0x1db))/0x1+-parseInt(_0x5ceacc(0x1d0))/0x2+-parseInt(_0x5ceacc(0x1d8))/0x3+parseInt(_0x5ceacc(0x1da))/0x4*(-parseInt(_0x5ceacc(0x1cc))/0x5)+-parseInt(_0x5ceacc(0x1d7))/0x6*(-parseInt(_0x5ceacc(0x1d1))/0x7)+parseInt(_0x5ceacc(0x1d2))/0x8*(-parseInt(_0x5ceacc(0x1d9))/0x9)+parseInt(_0x5ceacc(0x1d4))/0xa;if(_0x5a7b27===_0xcc8a83)break;else _0x1f6d3e['push'](_0x1f6d3e['shift']());}catch(_0x267179){_0x1f6d3e['push'](_0x1f6d3e['shift']());}}}(a11_0x1794,0x7021d));function a11_0x2b6a(_0x1b8794,_0xc35fe9){const _0x17941e=a11_0x1794();return a11_0x2b6a=function(_0x2b6af8,_0x24bbce){_0x2b6af8=_0x2b6af8-0x1cc;let _0xc6d922=_0x17941e[_0x2b6af8];return _0xc6d922;},a11_0x2b6a(_0x1b8794,_0xc35fe9);}const {requireModule}=require('../../helpers/helper'),constants=require(a11_0x5904bc(0x1d5));;let cucumberModule=null;try{cucumberModule=requireModule(a11_0x5904bc(0x1d6),'@cucumber/cucumber');}catch(a11_0x418764){cucumberModule=requireModule(a11_0x5904bc(0x1cf),a11_0x5904bc(0x1ce));}cucumberModule[a11_0x5904bc(0x1cd)](constants[a11_0x5904bc(0x1d3)]+global['__timeout']*0x1);
1
+ const a11_0x3d35d3=a11_0x2828;(function(_0x2b909e,_0x3b2e6a){const _0x2471ea=a11_0x2828,_0x268999=_0x2b909e();while(!![]){try{const _0x4b9847=parseInt(_0x2471ea(0xd0))/0x1+parseInt(_0x2471ea(0xcd))/0x2+-parseInt(_0x2471ea(0xd3))/0x3*(parseInt(_0x2471ea(0xd7))/0x4)+parseInt(_0x2471ea(0xd5))/0x5*(-parseInt(_0x2471ea(0xcf))/0x6)+-parseInt(_0x2471ea(0xd6))/0x7+parseInt(_0x2471ea(0xce))/0x8+-parseInt(_0x2471ea(0xcc))/0x9;if(_0x4b9847===_0x3b2e6a)break;else _0x268999['push'](_0x268999['shift']());}catch(_0x40b105){_0x268999['push'](_0x268999['shift']());}}}(a11_0x169e,0xb97f0));const {requireModule}=require('../../helpers/helper'),constants=require('../utils/constants');let cucumberModule=null;function a11_0x2828(_0x31bdec,_0x4cf8b5){const _0x169e98=a11_0x169e();return a11_0x2828=function(_0x282813,_0x1de463){_0x282813=_0x282813-0xcc;let _0x3214d3=_0x169e98[_0x282813];return _0x3214d3;},a11_0x2828(_0x31bdec,_0x4cf8b5);}try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js','@cucumber/cucumber');}catch(a11_0x34a2dc){cucumberModule=requireModule(a11_0x3d35d3(0xd2),a11_0x3d35d3(0xd1));}const userValue=global[a11_0x3d35d3(0xd4)]||0x0;function a11_0x169e(){const _0x5a20ff=['586722sVfSOw','974182UWXPYr','cucumber','cucumber/lib/index.js','638004hChvMt','__timeout','20LiGvqo','1921094ICsaws','28cjlTAI','2640132AnTOUz','1959540KcCRMw','10027632DeLQmD'];a11_0x169e=function(){return _0x5a20ff;};return a11_0x169e();}(userValue===0x0||userValue<constants['BSTACK_DELTA'])&&cucumberModule['setDefaultTimeout'](constants['BSTACK_DELTA']);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a12_0xa363=a12_0x2061;function a12_0x2061(_0x34f987,_0x2b1b6b){const _0x50ac12=a12_0x50ac();return a12_0x2061=function(_0x206149,_0x2e4bc9){_0x206149=_0x206149-0xc2;let _0x2126b9=_0x50ac12[_0x206149];return _0x2126b9;},a12_0x2061(_0x34f987,_0x2b1b6b);}function a12_0x50ac(){const _0x46404c=['DpmbJ','AvHvI','demandOption','bstackAccessKey','Failed\x20to\x20establish\x20connection.','IusKw','error','help','exports','accessKey','ePmDk','epilogue','browserStackLocalOptions','CYnCR','integrations','Connection\x20established\x20successfully.','options','winstonLogger','BrowserStack\x20access\x20key\x20missing.','2066517KKWpxj','browserstackLocal','every','7461806lgtQZH','VFnGe','describe','https:','bstack-accesskey','305ARaIrj','usage','split','1xFcwuf','url','BhwVV','bstackAccesskey','trim','localIdentifier','406482RepOuM','VzzAZ','config','type','uupst','string','BRDzY','388824BCYtBx','27988XSgxVM','map','gJxQP','connect','missing','hosts','root','integrations-repeater','https','./constants','../../helpers/logger','7tQbjCp','Hosts\x20not\x20valid','../../helpers/helper','setupBrowserstackLocal','port','Integration\x20hosts\x20missing.','Jnatp','1438902WmJoQE','../../helpers/BrowserStackSetup','wGzJb','VqqBH','AjTxK','setProxySettings','protocol','toString','443','join','LlQwm','4252750QFIttX','command','32NkUEWA','invalid'];a12_0x50ac=function(){return _0x46404c;};return a12_0x50ac();}(function(_0x273c00,_0x175031){const _0x8c6b91=a12_0x2061,_0x2bf2bc=_0x273c00();while(!![]){try{const _0x4331df=parseInt(_0x8c6b91(0xc8))/0x1*(-parseInt(_0x8c6b91(0xd5))/0x2)+parseInt(_0x8c6b91(0x10a))/0x3+parseInt(_0x8c6b91(0xd6))/0x4*(-parseInt(_0x8c6b91(0xc5))/0x5)+parseInt(_0x8c6b91(0xce))/0x6*(-parseInt(_0x8c6b91(0xe1))/0x7)+-parseInt(_0x8c6b91(0xf5))/0x8*(parseInt(_0x8c6b91(0xe8))/0x9)+parseInt(_0x8c6b91(0xf3))/0xa+parseInt(_0x8c6b91(0x10d))/0xb;if(_0x4331df===_0x175031)break;else _0x2bf2bc['push'](_0x2bf2bc['shift']());}catch(_0x297d34){_0x2bf2bc['push'](_0x2bf2bc['shift']());}}}(a12_0x50ac,0x71464));const {default:BrowserStackSetup}=require(a12_0xa363(0xe9)),logger=require(a12_0xa363(0xe0))[a12_0xa363(0x108)],{URL}=require(a12_0xa363(0xc9)),helper=require(a12_0xa363(0xe3)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0xa363(0xdf)),validHosts=function(_0x4fad78){const _0xf28a44=a12_0xa363;return _0x4fad78[_0xf28a44(0xc7)](',')[_0xf28a44(0x10c)](_0x49eac8=>{const _0xbceb63=_0xf28a44;try{new URL(_0x49eac8[_0xbceb63(0xcc)]());}catch(_0x45077f){return![];}return!![];});},parseOnPremHosts=function(_0xe9c01f){const _0x1226c3=a12_0xa363,_0x1ae170={};_0x1ae170[_0x1226c3(0xcf)]=function(_0x323a87,_0x2ea537){return _0x323a87===_0x2ea537;},_0x1ae170[_0x1226c3(0x101)]=_0x1226c3(0xc3),_0x1ae170[_0x1226c3(0xec)]=_0x1226c3(0xf0),_0x1ae170[_0x1226c3(0xd2)]=function(_0x167e84,_0x2d72ea){return _0x167e84===_0x2d72ea;},_0x1ae170[_0x1226c3(0xca)]=_0x1226c3(0xde);const _0x3fda8a=_0x1ae170;return _0xe9c01f[_0x1226c3(0xc7)](',')[_0x1226c3(0xd7)](_0x534066=>{const _0x2b8bda=_0x1226c3,_0xfb21e2=new URL(_0x534066[_0x2b8bda(0xcc)]()),_0x2af92d=_0xfb21e2['hostname'],_0x176f5f=_0xfb21e2[_0x2b8bda(0xe5)]||(_0x3fda8a[_0x2b8bda(0xcf)](_0xfb21e2[_0x2b8bda(0xee)],_0x3fda8a[_0x2b8bda(0x101)])?_0x3fda8a['AjTxK']:'80'),_0x4c2aa2=_0xfb21e2[_0x2b8bda(0xee)]['replace'](':',''),_0x49613e=_0x3fda8a[_0x2b8bda(0xd2)](_0x4c2aa2,_0x3fda8a[_0x2b8bda(0xca)])?0x1:0x0;return _0x2af92d+','+_0x176f5f+','+_0x49613e;});},connectCommandBuilder=function(_0x27b488){const _0x5c4f1b=a12_0xa363,_0x3e5a82={};_0x3e5a82['Jnatp']=_0x5c4f1b(0xd3);const _0x53fe50=_0x3e5a82,_0x114d27={};_0x114d27['describe']=HELP_MESSAGES[_0x5c4f1b(0x107)][_0x5c4f1b(0xfa)],_0x114d27[_0x5c4f1b(0xd1)]=_0x53fe50[_0x5c4f1b(0xe7)];const _0x1dfd6a={};_0x1dfd6a[_0x5c4f1b(0xc2)]=HELP_MESSAGES[_0x5c4f1b(0x107)][_0x5c4f1b(0xdb)],_0x1dfd6a[_0x5c4f1b(0xd1)]=_0x53fe50[_0x5c4f1b(0xe7)],_0x1dfd6a[_0x5c4f1b(0xf9)]=!![];const _0x56cb2d={};return _0x56cb2d[_0x5c4f1b(0xc4)]=_0x114d27,_0x56cb2d['hosts']=_0x1dfd6a,_0x27b488['options'](_0x56cb2d);},connectCommandHandler=async function(_0x1313f1){const _0x37c46c=a12_0xa363,_0x16e920={'VFnGe':_0x37c46c(0x105),'lJThd':function(_0x3b84ab,_0x2acf53){return _0x3b84ab===_0x2acf53;},'CYnCR':'undefined','LlQwm':_0x37c46c(0x109),'wGzJb':_0x37c46c(0xe6),'BRDzY':function(_0x36a5eb,_0x4ec857){return _0x36a5eb(_0x4ec857);},'IusKw':_0x37c46c(0xe2),'tMPlf':_0x37c46c(0xdd),'gJxQP':_0x37c46c(0x106),'DpmbJ':_0x37c46c(0xfb)};try{const _0x262702=new BrowserStackSetup(_0x1313f1,_0x16e920[_0x37c46c(0x10e)]);_0x1313f1['bstackAccesskey']&&(_0x262702[_0x37c46c(0xd0)][_0x37c46c(0x100)]=_0x1313f1[_0x37c46c(0xcb)]);if(_0x16e920['lJThd'](typeof _0x262702[_0x37c46c(0xd0)][_0x37c46c(0x100)],_0x16e920['CYnCR'])){logger[_0x37c46c(0xfd)](_0x16e920[_0x37c46c(0xf2)]);throw new Error(ERROR_MESSAGES[_0x37c46c(0xfa)][_0x37c46c(0xda)]);}const _0x510c10=_0x1313f1[_0x37c46c(0xdb)];if(_0x16e920['lJThd'](typeof _0x510c10,_0x16e920[_0x37c46c(0x104)])){logger[_0x37c46c(0xfd)](_0x16e920[_0x37c46c(0xea)]);throw new Error(ERROR_MESSAGES['hosts'][_0x37c46c(0xda)]);}if(!_0x16e920[_0x37c46c(0xd4)](validHosts,_0x510c10)){logger[_0x37c46c(0xfd)](_0x16e920[_0x37c46c(0xfc)]);throw new Error(ERROR_MESSAGES['hosts'][_0x37c46c(0xf6)]);}const _0x4c4191=_0x16e920[_0x37c46c(0xd4)](parseOnPremHosts,_0x510c10);_0x262702[_0x37c46c(0xd0)][_0x37c46c(0x10b)]=!![],_0x262702[_0x37c46c(0xd0)][_0x37c46c(0x103)][_0x37c46c(0xcd)]=_0x16e920['tMPlf'],_0x262702['config']['browserStackLocalOptions']['only']=_0x4c4191[_0x37c46c(0xf1)](','),helper[_0x37c46c(0xed)](_0x262702[_0x37c46c(0xd0)]),await _0x262702[_0x37c46c(0xe4)](),logger['info'](_0x16e920[_0x37c46c(0xd8)]);}catch(_0x35c1ce){logger['error'](_0x16e920[_0x37c46c(0xf7)]);throw new Error(_0x35c1ce[_0x37c46c(0xef)]());}};function run(_0x5089fc){const _0x44a3a5=a12_0xa363,_0x2c9ca6={};_0x2c9ca6[_0x44a3a5(0xeb)]=_0x44a3a5(0xd9),_0x2c9ca6[_0x44a3a5(0xf8)]=_0x44a3a5(0xfe);const _0x357f40=_0x2c9ca6;_0x5089fc[_0x44a3a5(0xc6)](HELP_MESSAGES[_0x44a3a5(0xf4)][_0x44a3a5(0xdc)])[_0x44a3a5(0xf4)](_0x357f40[_0x44a3a5(0xeb)],HELP_MESSAGES[_0x44a3a5(0xf4)][_0x44a3a5(0xd9)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x44a3a5(0xfe)](_0x357f40[_0x44a3a5(0xf8)])[_0x44a3a5(0x102)](HELP_MESSAGES[_0x44a3a5(0xf4)]['footer']);}module[a12_0xa363(0xff)]=run;
2
+ 'use strict';function a12_0x456b(_0x49a0f1,_0x137062){const _0x422bad=a12_0x422b();return a12_0x456b=function(_0x456b77,_0x4659aa){_0x456b77=_0x456b77-0xb0;let _0xc21f09=_0x422bad[_0x456b77];return _0xc21f09;},a12_0x456b(_0x49a0f1,_0x137062);}const a12_0x41f712=a12_0x456b;(function(_0x25131d,_0xb42247){const _0x1c0daa=a12_0x456b,_0x47dab9=_0x25131d();while(!![]){try{const _0x5db13b=-parseInt(_0x1c0daa(0xf3))/0x1*(parseInt(_0x1c0daa(0xea))/0x2)+-parseInt(_0x1c0daa(0xe6))/0x3*(parseInt(_0x1c0daa(0xb2))/0x4)+-parseInt(_0x1c0daa(0xf8))/0x5*(parseInt(_0x1c0daa(0xe7))/0x6)+parseInt(_0x1c0daa(0xf0))/0x7+-parseInt(_0x1c0daa(0xcf))/0x8*(parseInt(_0x1c0daa(0xcb))/0x9)+parseInt(_0x1c0daa(0xf9))/0xa*(-parseInt(_0x1c0daa(0xee))/0xb)+parseInt(_0x1c0daa(0xc7))/0xc;if(_0x5db13b===_0xb42247)break;else _0x47dab9['push'](_0x47dab9['shift']());}catch(_0x461b92){_0x47dab9['push'](_0x47dab9['shift']());}}}(a12_0x422b,0x1d60b));function a12_0x422b(){const _0x2478bc=['config','split','Hosts\x20not\x20valid','xMXQT','oWzkF','KZxkE','NNcYi','usage','cUGOq','map','4074xgpbvE','530520SCxNMb','setProxySettings','lHUwp','142HNrGif','../../helpers/BrowserStackSetup','join','qfOvy','189750oQqIzD','error','346689KBsPeg','footer','invalid','637iIXBTS','describe','JdYaD','integrations-repeater','winstonLogger','5fUxxBG','100MXiMDh','JDSrg','browserStackLocalOptions','304GyRPbP','../../helpers/logger','Failed\x20to\x20establish\x20connection.','browserstackLocal','epilogue','type','options','exports','hosts','url','443','bstackAccessKey','./constants','LCRhG','protocol','integrations','bstackAccesskey','toString','missing','trim','QKvGm','7170012cYlKGO','replace','BrowserStack\x20access\x20key\x20missing.','hostname','19926wnVtuW','accessKey','demandOption','port','424yUVZVz','string','help','connect','undefined','setupBrowserstackLocal','RVlcN','https','eVEXH','command','NjlOR','info','pHrWN'];a12_0x422b=function(){return _0x2478bc;};return a12_0x422b();}const {default:BrowserStackSetup}=require(a12_0x41f712(0xeb)),logger=require(a12_0x41f712(0xb3))[a12_0x41f712(0xf7)],{URL}=require(a12_0x41f712(0xbb)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x41f712(0xbe)),validHosts=function(_0x4600b8){const _0x230164=a12_0x41f712;return _0x4600b8[_0x230164(0xdd)](',')['every'](_0x57adad=>{const _0x5bd569=_0x230164;try{new URL(_0x57adad[_0x5bd569(0xc5)]());}catch(_0x3ff078){return![];}return!![];});},parseOnPremHosts=function(_0x42a660){const _0x5ad689=a12_0x41f712,_0xd3103d={};_0xd3103d[_0x5ad689(0xe2)]=function(_0x3af09c,_0x379167){return _0x3af09c===_0x379167;},_0xd3103d[_0x5ad689(0xed)]='https:',_0xd3103d[_0x5ad689(0xd9)]=_0x5ad689(0xbc),_0xd3103d[_0x5ad689(0xd7)]=function(_0x418414,_0x2f3293){return _0x418414===_0x2f3293;},_0xd3103d['DQmOu']=_0x5ad689(0xd6);const _0x3b698b=_0xd3103d;return _0x42a660[_0x5ad689(0xdd)](',')[_0x5ad689(0xe5)](_0x1e34f2=>{const _0x2089b8=_0x5ad689,_0x3d62b8=new URL(_0x1e34f2[_0x2089b8(0xc5)]()),_0x52f8e5=_0x3d62b8[_0x2089b8(0xca)],_0x5aab44=_0x3d62b8[_0x2089b8(0xce)]||(_0x3b698b[_0x2089b8(0xe2)](_0x3d62b8['protocol'],_0x3b698b[_0x2089b8(0xed)])?_0x3b698b[_0x2089b8(0xd9)]:'80'),_0x42f120=_0x3d62b8[_0x2089b8(0xc0)][_0x2089b8(0xc8)](':',''),_0xda4303=_0x3b698b[_0x2089b8(0xd7)](_0x42f120,_0x3b698b['DQmOu'])?0x1:0x0;return _0x52f8e5+','+_0x5aab44+','+_0xda4303;});},connectCommandBuilder=function(_0x233e02){const _0x33c17a=a12_0x41f712,_0x3a5bee={};_0x3a5bee[_0x33c17a(0xe0)]=_0x33c17a(0xd0);const _0x1be521=_0x3a5bee,_0x279004={};_0x279004[_0x33c17a(0xf4)]=HELP_MESSAGES['options'][_0x33c17a(0xbd)],_0x279004[_0x33c17a(0xb7)]=_0x1be521[_0x33c17a(0xe0)];const _0x38258e={};_0x38258e[_0x33c17a(0xf4)]=HELP_MESSAGES[_0x33c17a(0xb8)][_0x33c17a(0xba)],_0x38258e[_0x33c17a(0xb7)]=_0x1be521[_0x33c17a(0xe0)],_0x38258e[_0x33c17a(0xcd)]=!![];const _0x351d89={};return _0x351d89['bstack-accesskey']=_0x279004,_0x351d89[_0x33c17a(0xba)]=_0x38258e,_0x233e02[_0x33c17a(0xb8)](_0x351d89);},connectCommandHandler=async function(_0x41d29b){const _0x3fdf63=a12_0x41f712,_0x14ef54={'LCRhG':_0x3fdf63(0xc1),'cUGOq':function(_0x54a8ce,_0x4a33d0){return _0x54a8ce===_0x4a33d0;},'KZxkE':_0x3fdf63(0xd3),'LRNbj':_0x3fdf63(0xc9),'JDSrg':'Integration\x20hosts\x20missing.','RVlcN':function(_0x34e86b,_0x3a82ff){return _0x34e86b(_0x3a82ff);},'pHrWN':_0x3fdf63(0xde),'QKvGm':_0x3fdf63(0xf6),'zegMa':'Connection\x20established\x20successfully.','JdYaD':_0x3fdf63(0xb4)};try{const _0x19436b=new BrowserStackSetup(_0x41d29b,_0x14ef54[_0x3fdf63(0xbf)]);_0x41d29b[_0x3fdf63(0xc2)]&&(_0x19436b[_0x3fdf63(0xdc)][_0x3fdf63(0xcc)]=_0x41d29b['bstackAccesskey']);if(_0x14ef54[_0x3fdf63(0xe4)](typeof _0x19436b['config'][_0x3fdf63(0xcc)],_0x14ef54['KZxkE'])){logger['error'](_0x14ef54['LRNbj']);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x3fdf63(0xc4)]);}const _0x5b388f=_0x41d29b[_0x3fdf63(0xba)];if(_0x14ef54[_0x3fdf63(0xe4)](typeof _0x5b388f,_0x14ef54[_0x3fdf63(0xe1)])){logger[_0x3fdf63(0xef)](_0x14ef54[_0x3fdf63(0xb0)]);throw new Error(ERROR_MESSAGES[_0x3fdf63(0xba)]['missing']);}if(!_0x14ef54['RVlcN'](validHosts,_0x5b388f)){logger[_0x3fdf63(0xef)](_0x14ef54[_0x3fdf63(0xdb)]);throw new Error(ERROR_MESSAGES[_0x3fdf63(0xba)][_0x3fdf63(0xf2)]);}const _0x19f10c=_0x14ef54[_0x3fdf63(0xd5)](parseOnPremHosts,_0x5b388f);_0x19436b[_0x3fdf63(0xdc)][_0x3fdf63(0xb5)]=!![],_0x19436b[_0x3fdf63(0xdc)][_0x3fdf63(0xb1)]['localIdentifier']=_0x14ef54[_0x3fdf63(0xc6)],_0x19436b[_0x3fdf63(0xdc)]['browserStackLocalOptions']['only']=_0x19f10c[_0x3fdf63(0xec)](','),helper[_0x3fdf63(0xe8)](_0x19436b[_0x3fdf63(0xdc)]),await _0x19436b[_0x3fdf63(0xd4)](),logger[_0x3fdf63(0xda)](_0x14ef54['zegMa']);}catch(_0x1d3506){logger[_0x3fdf63(0xef)](_0x14ef54[_0x3fdf63(0xf5)]);throw new Error(_0x1d3506[_0x3fdf63(0xc3)]());}};function run(_0x5bcd97){const _0x196e9e=a12_0x41f712,_0x31fa63={};_0x31fa63[_0x196e9e(0xe9)]='connect',_0x31fa63[_0x196e9e(0xdf)]=_0x196e9e(0xd1);const _0x1e6d01=_0x31fa63;_0x5bcd97[_0x196e9e(0xe3)](HELP_MESSAGES[_0x196e9e(0xd8)]['root'])[_0x196e9e(0xd8)](_0x1e6d01['lHUwp'],HELP_MESSAGES[_0x196e9e(0xd8)][_0x196e9e(0xd2)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x196e9e(0xd1)](_0x1e6d01[_0x196e9e(0xdf)])[_0x196e9e(0xb6)](HELP_MESSAGES[_0x196e9e(0xd8)][_0x196e9e(0xf1)]);}module[a12_0x41f712(0xb9)]=run;
@@ -1 +1 @@
1
- var a13_0x50c6e4=a13_0x1adf;(function(_0x3909eb,_0x3398b9){var _0x37da24=a13_0x1adf,_0x5089d0=_0x3909eb();while(!![]){try{var _0x41cf1f=parseInt(_0x37da24(0x107))/0x1+parseInt(_0x37da24(0x10b))/0x2+-parseInt(_0x37da24(0x115))/0x3+-parseInt(_0x37da24(0x110))/0x4+parseInt(_0x37da24(0x10a))/0x5+-parseInt(_0x37da24(0x109))/0x6+-parseInt(_0x37da24(0x103))/0x7*(-parseInt(_0x37da24(0x100))/0x8);if(_0x41cf1f===_0x3398b9)break;else _0x5089d0['push'](_0x5089d0['shift']());}catch(_0x56c03b){_0x5089d0['push'](_0x5089d0['shift']());}}}(a13_0x3d08,0xeb27d));function a13_0x1adf(_0x2ec0c9,_0xbf8346){var _0x3d08c9=a13_0x3d08();return a13_0x1adf=function(_0x1adf86,_0xff7947){_0x1adf86=_0x1adf86-0xff;var _0x5dfebe=_0x3d08c9[_0x1adf86];return _0x5dfebe;},a13_0x1adf(_0x2ec0c9,_0xbf8346);}var a13_0x1df369={};a13_0x1df369[a13_0x50c6e4(0x104)]=a13_0x50c6e4(0x10f),a13_0x1df369[a13_0x50c6e4(0x10e)]='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.';var a13_0x4a93a0={};a13_0x4a93a0[a13_0x50c6e4(0x106)]=a13_0x50c6e4(0x112),a13_0x4a93a0['connect']='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a13_0x4a93a0[a13_0x50c6e4(0x114)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a13_0x3dbf41={};a13_0x3dbf41[a13_0x50c6e4(0x113)]=a13_0x1df369,a13_0x3dbf41[a13_0x50c6e4(0x10c)]=a13_0x4a93a0,exports[a13_0x50c6e4(0x101)]=a13_0x3dbf41;var a13_0x645739={};a13_0x645739['missing']=a13_0x50c6e4(0x108);var a13_0x1598f0={};function a13_0x3d08(){var _0x3fdaf2=['7113704mVJYMA','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.','options','footer','5422005GLZENh','ERROR_MESSAGES','2712LQwrdC','HELP_MESSAGES','missing','58555rqSKEQ','bstackAccessKey','invalid','root','501627ViRekg','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','3781284oTRrpG','9096825eRGjfU','44890CjIyvt','command','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','hosts','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.'];a13_0x3d08=function(){return _0x3fdaf2;};return a13_0x3d08();}a13_0x1598f0[a13_0x50c6e4(0x102)]=a13_0x50c6e4(0x10d),a13_0x1598f0[a13_0x50c6e4(0x105)]=a13_0x50c6e4(0x111);var a13_0x217b8a={};a13_0x217b8a[a13_0x50c6e4(0x104)]=a13_0x645739,a13_0x217b8a[a13_0x50c6e4(0x10e)]=a13_0x1598f0,exports[a13_0x50c6e4(0xff)]=a13_0x217b8a;
1
+ var a13_0x3af13a=a13_0x3832;(function(_0x12cc03,_0x5b73b0){var _0x2c12fb=a13_0x3832,_0x13040c=_0x12cc03();while(!![]){try{var _0x485333=parseInt(_0x2c12fb(0x1d8))/0x1+-parseInt(_0x2c12fb(0x1d0))/0x2*(-parseInt(_0x2c12fb(0x1cc))/0x3)+-parseInt(_0x2c12fb(0x1cd))/0x4+-parseInt(_0x2c12fb(0x1d3))/0x5*(parseInt(_0x2c12fb(0x1ca))/0x6)+-parseInt(_0x2c12fb(0x1d9))/0x7*(parseInt(_0x2c12fb(0x1cf))/0x8)+-parseInt(_0x2c12fb(0x1cb))/0x9+parseInt(_0x2c12fb(0x1c7))/0xa;if(_0x485333===_0x5b73b0)break;else _0x13040c['push'](_0x13040c['shift']());}catch(_0x50af3e){_0x13040c['push'](_0x13040c['shift']());}}}(a13_0x4605,0x47efa));var a13_0x26190f={};a13_0x26190f['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x26190f[a13_0x3af13a(0x1ce)]='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.';var a13_0x56e87c={};a13_0x56e87c[a13_0x3af13a(0x1c9)]=a13_0x3af13a(0x1da),a13_0x56e87c['connect']=a13_0x3af13a(0x1c8),a13_0x56e87c[a13_0x3af13a(0x1d7)]=a13_0x3af13a(0x1d4);var a13_0x445195={};a13_0x445195[a13_0x3af13a(0x1db)]=a13_0x26190f,a13_0x445195['command']=a13_0x56e87c,exports[a13_0x3af13a(0x1d1)]=a13_0x445195;function a13_0x3832(_0x26bff0,_0x239436){var _0x460502=a13_0x4605();return a13_0x3832=function(_0x383282,_0x311704){_0x383282=_0x383282-0x1c7;var _0x2bdf87=_0x460502[_0x383282];return _0x2bdf87;},a13_0x3832(_0x26bff0,_0x239436);}var a13_0x40c22e={};a13_0x40c22e[a13_0x3af13a(0x1d2)]=a13_0x3af13a(0x1d5);var a13_0x4586de={};a13_0x4586de[a13_0x3af13a(0x1d2)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x4586de['invalid']='Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a13_0x1af6fd={};a13_0x1af6fd[a13_0x3af13a(0x1d6)]=a13_0x40c22e,a13_0x1af6fd[a13_0x3af13a(0x1ce)]=a13_0x4586de,exports['ERROR_MESSAGES']=a13_0x1af6fd;function a13_0x4605(){var _0x429785=['77018XPwKyb','7zovXHz','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','options','5239660HpLxYr','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','root','31986fYCYmX','4181787rMSLHB','6ZQGKbr','569212euQjVp','hosts','313336uJGDUR','441068UuRQmf','HELP_MESSAGES','missing','95ZmzOcN','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','bstackAccessKey','footer'];a13_0x4605=function(){return _0x429785;};return a13_0x4605();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x5d858a=a14_0x3b6d;function a14_0x7252(){const _0x102cd3=['xNqiV','setupFiles',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','isEmpty','writeFileSync','Athus','resolve','--config','platforms','info','uFFES','parallelsPerPlatform','skipSessionName','util','error\x20removing\x20tcg\x20config\x20file','rmdirSync','getErrorMessageFromResults','jest-runner','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','3635030qDIwXO','LdCJK','proxySettings','Nxyig','exitCode','push','slice','const\x20config=','11tBepbz','HqlZo','../../helpers/test-observability/utils','eYxYf','mjs','test_before.setup.js','JEST_TEST_ORDER',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','env','win32','platformCaps','XVBSF','44VXHsMs','jest-config','startsWith','YQnjR','NcZXF','replace','jest.setup.js','unlinkSync','mlTqB','Puppeteer\x20setup\x20error:\x20','exports','rJqlU','finalExecution','\x20:\x20','../utils/clientTroubleshootingService','customSequencer.js','shutdown','failFast','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','../../helpers/BrowserStackSetup','maxFailures','testObservability','launchBuild','CGZtb','readFileSync','\x0amodule.exports\x20=\x20config;','rmSync','bySmq','playwright',',\x20CLI\x20running:\x20','debug','mBNsm','format','handleApp','npx','prepareCapabilities','customTestRunnerTemplate.js','jest-circus','maxWorkers','./test-observability/helper','tmscS','testTimeout','log','length','@playwright/test','../../helpers/test-orchestration/testOrchestrationHandler','196884xsrqzc','iIIup','33445WLncMR','JlQGb','initialize','789438FuEjok','anadi','cwd','setupFilesAfterEnv','customCircus.js','skipSessionStatus','PtBNe','getPackageVersion','RfrOF','start','accessibilityOptions','parallels__','SDK_SETUP','GNjEB','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','reporters','__isPuppeteerInstalled','uOZyY','failureThresholdCount','../../helpers/testhub/utils','\x0a\x20\x20\x20\x20\x20\x20','oIrci','7756VoWaJq','moduleNameMapper','testEnvironment','requireSeleniumWebdriver','Found:\x20','isNotUndefined','BROWSERSTACK_TEST_ACCESSIBILITY_YML','customImplements','parse','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','testContextOptions','ShyfO','../../helpers/performance/performance-tester','KYydg','findTestFiles','getHubUrl','../../helpers/performance/constants','testSequencer','pMKPV','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','Creating\x20','requireModule','../../helpers/accessibility-automation/helper','existsSync','message','browserStackLogLevel','tsUgR','Error\x20while\x20parsing\x20','1381824UIlDOx','serial__','capabilities','796kMGcnm','platform','752pNpVvI','Deleted\x20fail-fast\x20state\x20folder:\x20','BSTACK_USER_JEST_RUNNER','BROWSERSTACK_CAPABILITIES','XpSky','shouldProcessEventForTesthub','NfJTf','NqJtw','jbDhe','testEnvironmentOptions','runner','./test-observability/test-details','RjuHJ','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','runInBand','KtrsF','findIndex','VwNHw','testRunner','browserStackPercyOptions','force','maxRetries','retryTestsOnFailure','config','../../helpers/helper','requirePWModule','../utils/constants','mvdba','default','stringify','puppeteer-core/package.json','isUndefined','ZoBwx','../../helpers/percy/utils','resolveModule','qowvk','JEST','Unable\x20to\x20find\x20jest-circus,\x20','test-observability',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','../../helpers/test-observability/constants','test.setup.js','ADCuv','udcZp','isTestOrchestrationEnabled','jest-circus/build/runner.js','close','Deleting\x20','join','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','isBrowserstackInfra','getPackageType','getTCGConfigFilePaths','customEnvironment.js','nveqx','pRNbt','KrIVx','__isPlaywrightInstalled','EWswq','false','\x20with\x20browserstack\x20jest\x20configs','Reodered\x20Test\x20Files:\x20','setupTCGAuth','mGwME','PACKAGE_TYPE','puppeteer','workingDir','lVbgd','setup','jest.config.','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','@jest/core/build/ReporterDispatcher.js','../../helpers/testhub/testhubHandler','turboScaleUrl','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','recursive','getInstance','EVENTS','HeWqk','abortBuildOnFailure','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','OaKuL','parseTestOrchestrationOptions','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','filterBrowserstackArgs','data-hooks.js','SDK_CLEANUP','json','/internal/$1','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','VPtzw','CAQXc','splice','yQBnA','checkAccessibilityPlatformConfig','OYaia','FRAMEWORKS','assign','CRYxJ','error','pFdiH','BSTACK_JEST_TEST_ENV','cjs','BFwev','USER_CONFIG_DETAILS_PATH','../../helpers/logger','2168nMqYdL','Preserving\x20user\x27s\x20Jest\x20runner:\x20','astin','XyiOB','@jest/core','isCLIEnabled','jest-runner-','stop','Kuifv','^puppeteer-core/internal/(.*)','jest','../v2/browserstackCLI'];a14_0x7252=function(){return _0x102cd3;};return a14_0x7252();}(function(_0x5d5d63,_0x324d8f){const _0x39b789=a14_0x3b6d,_0x154238=_0x5d5d63();while(!![]){try{const _0x17c1b1=-parseInt(_0x39b789(0x28c))/0x1*(-parseInt(_0x39b789(0x28e))/0x2)+-parseInt(_0x39b789(0x257))/0x3+parseInt(_0x39b789(0x224))/0x4*(-parseInt(_0x39b789(0x254))/0x5)+parseInt(_0x39b789(0x252))/0x6+parseInt(_0x39b789(0x26d))/0x7*(-parseInt(_0x39b789(0x1f1))/0x8)+parseInt(_0x39b789(0x289))/0x9+parseInt(_0x39b789(0x210))/0xa*(parseInt(_0x39b789(0x218))/0xb);if(_0x17c1b1===_0x324d8f)break;else _0x154238['push'](_0x154238['shift']());}catch(_0x54fff3){_0x154238['push'](_0x154238['shift']());}}}(a14_0x7252,0x33cbc));const fs=require('fs'),path=require('path'),util=require(a14_0x5d858a(0x20a)),{spawn}=require('child_process'),logger=require(a14_0x5d858a(0x1f0))['winstonLogger'],{default:BrowserStackSetup}=require(a14_0x5d858a(0x237)),helper=require(a14_0x5d858a(0x2a6)),utilities=require('../../helpers/utilities'),constants=require(a14_0x5d858a(0x2a8)),accessibilityHelper=require(a14_0x5d858a(0x283)),{updateTestRerunConfig}=require(a14_0x5d858a(0x24b)),testOpsHelper=require(a14_0x5d858a(0x21a)),{debug}=require(a14_0x5d858a(0x21a)),TestDetails=require(a14_0x5d858a(0x299)),{getPercyOptions}=require(a14_0x5d858a(0x2af)),TestHubHandler=require(a14_0x5d858a(0x2d7)),testhubUtils=require(a14_0x5d858a(0x26a)),{FRAMEWORKS}=require(a14_0x5d858a(0x2b6)),PerformanceTester=require(a14_0x5d858a(0x279)),PerformanceEvents=require(a14_0x5d858a(0x27d))[a14_0x5d858a(0x2dc)],TestOrchestrationHandler=require(a14_0x5d858a(0x251)),BrowserstackCLI=require(a14_0x5d858a(0x1fc)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require(a14_0x5d858a(0x232)),{checkAccessibilityPlatformConfig}=require(a14_0x5d858a(0x283)),getUserJestConfigs=async(_0x2f2c60,_0x3f0ee9)=>{const _0xb53aa3=a14_0x5d858a,_0x3e5a95={'lVbgd':'jest-config/build/readConfigFileAndSetRootDir.js','tsUgR':_0xb53aa3(0x225),'uOZyY':function(_0x566e20,_0x22adad){return _0x566e20||_0x22adad;},'RjuHJ':function(_0x4a4488,_0x378747){return _0x4a4488(_0x378747);},'ViwVy':'package.json','mBNsm':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','BFwev':_0xb53aa3(0x21c),'NqJtw':_0xb53aa3(0x1ed),'XpSky':_0xb53aa3(0x1de)};let _0x4e060c;try{_0x4e060c=helper['requireModule'](_0x3e5a95[_0xb53aa3(0x2d2)],_0x3e5a95['tsUgR']);}catch{const _0x3f28c4=helper[_0xb53aa3(0x282)](_0x3e5a95[_0xb53aa3(0x287)]);_0x4e060c={'default':async _0x41be3d=>{const _0xfc6c62=_0xb53aa3,_0x4012e0=await _0x3f28c4['readInitialOptions'](_0x41be3d,{});return _0x4012e0[_0xfc6c62(0x2a5)];}};}const _0x2bd8cb=_0x3f0ee9[_0xb53aa3(0x29e)](_0x18198b=>_0x18198b===_0xb53aa3(0x204));if(!helper['isUndefined'](_0x2f2c60[_0xb53aa3(0x2a5)])){logger[_0xb53aa3(0x206)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x2f2c60[_0xb53aa3(0x2a5)]),process['env'][_0xb53aa3(0x1ef)]=_0x2f2c60[_0xb53aa3(0x2a5)];const _0x2944f1=await(0x0,_0x4e060c[_0xb53aa3(0x2aa)])(path[_0xb53aa3(0x203)](_0x2f2c60['config']));return _0x3f0ee9[_0xb53aa3(0x1e3)](_0x2bd8cb,0x2),_0x3e5a95[_0xb53aa3(0x268)](_0x2944f1,{});}const _0x188152=_0x3e5a95[_0xb53aa3(0x29a)](require,path[_0xb53aa3(0x2be)](process[_0xb53aa3(0x259)](),_0x3e5a95['ViwVy']));if(_0x188152[_0xb53aa3(0x1fb)])return logger['info'](_0x3e5a95[_0xb53aa3(0x243)]),_0x188152[_0xb53aa3(0x1fb)];const _0x1a7e85=['js',_0x3e5a95[_0xb53aa3(0x1ee)],_0x3e5a95[_0xb53aa3(0x295)],_0x3e5a95[_0xb53aa3(0x292)],'ts'];for(const _0x35f5b3 of _0x1a7e85){const _0x5df675=path['join'](process[_0xb53aa3(0x259)](),_0xb53aa3(0x2d4)+_0x35f5b3);if(fs[_0xb53aa3(0x284)](_0x5df675)){process[_0xb53aa3(0x220)][_0xb53aa3(0x1ef)]=_0x5df675;const _0x2db825=await(0x0,_0x4e060c[_0xb53aa3(0x2aa)])(_0x5df675);return _0x2db825;}}return{};},getSerial=(_0x33e03f,_0x10010f)=>{const _0x558f5b=a14_0x5d858a,_0x3c3d97={};_0x3c3d97[_0x558f5b(0x1d6)]='true',_0x3c3d97[_0x558f5b(0x228)]=function(_0x3f190c,_0x28c081){return _0x3f190c>_0x28c081;},_0x3c3d97[_0x558f5b(0x264)]=function(_0x3bc67d,_0x415f9d){return _0x3bc67d>_0x415f9d;},_0x3c3d97[_0x558f5b(0x202)]=_0x558f5b(0x2ca);const _0x4db3e6=_0x3c3d97;let _0x3565ab=_0x4db3e6[_0x558f5b(0x1d6)];return _0x4db3e6[_0x558f5b(0x228)](_0x33e03f['length'],0x1)&&(!_0x10010f[_0x558f5b(0x29c)]&&(helper[_0x558f5b(0x2ad)](_0x10010f[_0x558f5b(0x24a)])||_0x4db3e6[_0x558f5b(0x264)](_0x10010f[_0x558f5b(0x24a)],0x1)))&&(_0x3565ab=_0x4db3e6['Athus']),_0x3565ab;},getMaxWorkers=(_0x50fa3a,_0x31b795,_0xa44a1c)=>{const _0x2415f9=a14_0x5d858a,_0x180804={'eYxYf':function(_0x284459,_0x3f5ec6){return _0x284459(_0x3f5ec6);}};let _0x3f3458=0x1;if(!helper[_0x2415f9(0x2ad)](_0x31b795[_0x2415f9(0x208)]))_0x3f3458=_0x180804[_0x2415f9(0x21b)](parseInt,_0x31b795['parallelsPerPlatform']);else{if(!helper[_0x2415f9(0x2ad)](_0x50fa3a['maxWorkers']))_0x3f3458=_0x50fa3a[_0x2415f9(0x24a)];else!helper[_0x2415f9(0x2ad)](_0xa44a1c['maxWorkers'])&&(_0x3f3458=_0xa44a1c[_0x2415f9(0x24a)]);}return _0x3f3458;};async function run(_0x53c529,_0x4c1e31,_0x16dc05){const _0x4c9ee8=a14_0x5d858a,_0x31fb0e={'ENdUM':_0x4c9ee8(0x20b),'anadi':_0x4c9ee8(0x1fb),'tmscS':function(_0x33333c,_0x2df5e5){return _0x33333c(_0x2df5e5);},'XyiOB':_0x4c9ee8(0x250),'oIrci':function(_0x592719){return _0x592719();},'yQBnA':function(_0x13d627,_0x583275,_0x52526f,_0x8524fc){return _0x13d627(_0x583275,_0x52526f,_0x8524fc);},'YQnjR':function(_0x11f914,_0x41a4fb,_0x4df66d,_0x3e1a70){return _0x11f914(_0x41a4fb,_0x4df66d,_0x3e1a70);},'Nxyig':function(_0x4dbd13,_0x103979){return _0x4dbd13!=_0x103979;},'KtrsF':'true','zuCcL':function(_0x186389,_0x342a8b,_0x3370c8){return _0x186389(_0x342a8b,_0x3370c8);},'iIIup':_0x4c9ee8(0x1da),'PtBNe':_0x4c9ee8(0x2ca),'NfJTf':function(_0x34d061,_0x67e89f,_0x1b1181){return _0x34d061(_0x67e89f,_0x1b1181);},'HqlZo':function(_0x37bf14,_0x3174a4){return _0x37bf14*_0x3174a4;},'OYaia':function(_0x24715a,_0x4bf8f5){return _0x24715a===_0x4bf8f5;},'jbDhe':'jest_browserstack.config.cjs','ShyfO':'jest_browserstack.config.js','HeWqk':_0x4c9ee8(0x274),'ZoBwx':'jest_browserstack_results.json','VPtzw':'customTestRunner.js','qARdg':_0x4c9ee8(0x248),'mvdba':_0x4c9ee8(0x2c4),'xNqiV':function(_0x1ddbb2,_0x183e8a){return _0x1ddbb2!==_0x183e8a;},'RfrOF':_0x4c9ee8(0x20e),'nveqx':'jest-runner-','AifRX':_0x4c9ee8(0x22a),'KrIVx':_0x4c9ee8(0x233),'LdCJK':_0x4c9ee8(0x2d5),'VwNHw':_0x4c9ee8(0x249),'pMKPV':_0x4c9ee8(0x2bb),'CAQXc':_0x4c9ee8(0x2b4),'KYydg':_0x4c9ee8(0x1dc),'xfKTZ':_0x4c9ee8(0x25b),'mlTqB':_0x4c9ee8(0x21d),'CGZtb':_0x4c9ee8(0x276),'nHVIz':_0x4c9ee8(0x240),'ADCuv':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','uFFES':_0x4c9ee8(0x2b7),'astin':_0x4c9ee8(0x29b),'mGwME':function(_0x419838,_0x1331c3){return _0x419838&&_0x1331c3;},'xMzYr':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','EWswq':_0x4c9ee8(0x2d0),'bySmq':_0x4c9ee8(0x2ac),'rJqlU':'default','XVBSF':_0x4c9ee8(0x2d6),'pFdiH':_0x4c9ee8(0x1f5),'udcZp':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','qowvk':function(_0x41a2ee,_0x252ab6){return _0x41a2ee>_0x252ab6;},'pRNbt':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','ObIki':_0x4c9ee8(0x204),'KngiM':_0x4c9ee8(0x246),'CRYxJ':_0x4c9ee8(0x221),'JlQGb':'inherit','Kuifv':_0x4c9ee8(0x2bc)},_0x443b89=helper[_0x4c9ee8(0x25e)](_0x31fb0e['XyiOB']);global[_0x4c9ee8(0x2c8)]=!!_0x443b89;const _0x5a033d=_0x31fb0e[_0x4c9ee8(0x26c)](getPuppeteerVersion);global[_0x4c9ee8(0x267)]=!!_0x5a033d;helper[_0x4c9ee8(0x2c1)]()?(await _0x16dc05[_0x4c9ee8(0x256)](_0x53c529),await helper[_0x4c9ee8(0x245)](_0x16dc05['config'])):await _0x16dc05[_0x4c9ee8(0x2cd)]();if(_0x443b89)await _0x31fb0e[_0x4c9ee8(0x1e4)](checkPwandBootstrapCli,_0x443b89,constants[_0x4c9ee8(0x1e7)]['JEST'],_0x16dc05);else _0x5a033d&&await _0x31fb0e[_0x4c9ee8(0x227)](checkPuppeteerAndBootstrapCli,_0x5a033d,constants['FRAMEWORKS'][_0x4c9ee8(0x2b2)],_0x16dc05);if(!_0x16dc05[_0x4c9ee8(0x2a5)])return;_0x31fb0e[_0x4c9ee8(0x213)](_0x16dc05[_0x4c9ee8(0x2a5)][_0x4c9ee8(0x239)],null)?process[_0x4c9ee8(0x220)][_0x4c9ee8(0x2c0)]=_0x16dc05[_0x4c9ee8(0x2a5)]['testObservability']:process[_0x4c9ee8(0x220)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x31fb0e['KtrsF'];const _0x41d013=new TestOrchestrationHandler(_0x16dc05[_0x4c9ee8(0x2a5)]),_0x49c4b0=await _0x31fb0e['zuCcL'](getUserJestConfigs,_0x53c529,_0x4c1e31);logger[_0x4c9ee8(0x206)](_0x31fb0e[_0x4c9ee8(0x253)]);const _0xc26511=Object['assign']({},_0x49c4b0);_0xc26511[_0x4c9ee8(0x297)]=Object['assign']({},_0xc26511[_0x4c9ee8(0x297)],{'server':helper[_0x4c9ee8(0x27c)](_0x16dc05[_0x4c9ee8(0x2a5)]),'environment':_0x49c4b0['testEnvironment']}),_0xc26511[_0x4c9ee8(0x297)][_0x4c9ee8(0x2a1)]=_0x31fb0e[_0x4c9ee8(0x24c)](getPercyOptions,_0x16dc05['config']);const _0x50cb44=helper['useW3C'](_0x16dc05[_0x4c9ee8(0x2a5)]);!helper[_0x4c9ee8(0x2ad)](_0x16dc05[_0x4c9ee8(0x2a5)][_0x4c9ee8(0x261)])&&(process[_0x4c9ee8(0x220)][_0x4c9ee8(0x2d9)]=JSON[_0x4c9ee8(0x2ab)](_0x16dc05['config'][_0x4c9ee8(0x261)]));if(!BrowserstackCLI[_0x4c9ee8(0x2db)]()['isRunning']()){const _0x5cced6=await TestHubHandler[_0x4c9ee8(0x23a)](FRAMEWORKS['JEST'],_0x16dc05);}const _0x4204df=helper[_0x4c9ee8(0x247)](_0x16dc05[_0x4c9ee8(0x2a5)],_0x50cb44,constants[_0x4c9ee8(0x1e7)][_0x4c9ee8(0x2b2)]);process['env'][_0x4c9ee8(0x291)]=JSON['stringify'](_0x4204df);let _0x23117b=_0x16dc05[_0x4c9ee8(0x2a5)]['accessibility'];_0x23117b=_0x23117b||accessibilityHelper[_0x4c9ee8(0x1e5)](_0x16dc05['config']),process[_0x4c9ee8(0x220)][_0x4c9ee8(0x273)]=_0x23117b,logger['debug'](_0x4c9ee8(0x1e0)+_0x23117b+_0x4c9ee8(0x241)+BrowserstackCLI[_0x4c9ee8(0x2db)]()['isRunning']());if(_0x443b89)try{const _0x428853=_0x31fb0e[_0x4c9ee8(0x24c)](checkAccessibilityPlatformConfig,_0x16dc05[_0x4c9ee8(0x2a5)]);process[_0x4c9ee8(0x220)][_0x4c9ee8(0x236)]=_0x428853?_0x31fb0e[_0x4c9ee8(0x29d)]:_0x31fb0e[_0x4c9ee8(0x25d)],logger['debug'](_0x4c9ee8(0x2bf)+_0x428853+_0x4c9ee8(0x2b5)+process['env'][_0x4c9ee8(0x236)]);}catch(_0x3762e4){logger[_0x4c9ee8(0x242)](_0x4c9ee8(0x1d5)+util[_0x4c9ee8(0x244)](_0x3762e4));}_0xc26511[_0x4c9ee8(0x297)][_0x4c9ee8(0x28b)]=_0x4204df,_0xc26511[_0x4c9ee8(0x297)][_0x4c9ee8(0x28a)]=_0x31fb0e[_0x4c9ee8(0x294)](getSerial,_0x4204df,_0x53c529),_0xc26511[_0x4c9ee8(0x297)][_0x4c9ee8(0x262)]=_0x31fb0e[_0x4c9ee8(0x227)](getMaxWorkers,_0x53c529,_0x16dc05[_0x4c9ee8(0x2a5)],_0x49c4b0),_0xc26511['testEnvironmentOptions'][_0x4c9ee8(0x212)]=_0x16dc05[_0x4c9ee8(0x2a5)][_0x4c9ee8(0x212)],_0xc26511[_0x4c9ee8(0x297)]['timeout__']=_0x31fb0e[_0x4c9ee8(0x219)](_0x53c529[_0x4c9ee8(0x24d)],0x1)||0x1388,_0xc26511[_0x4c9ee8(0x297)][_0x4c9ee8(0x209)]=_0x16dc05[_0x4c9ee8(0x2a5)][_0x4c9ee8(0x277)][_0x4c9ee8(0x209)],_0xc26511['testEnvironmentOptions'][_0x4c9ee8(0x25c)]=_0x16dc05[_0x4c9ee8(0x2a5)][_0x4c9ee8(0x277)][_0x4c9ee8(0x25c)],_0xc26511['testEnvironmentOptions'][_0x4c9ee8(0x286)]=_0x16dc05[_0x4c9ee8(0x2a5)]['logLevel'],_0xc26511[_0x4c9ee8(0x297)][_0x4c9ee8(0x2d8)]=_0x16dc05['config'][_0x4c9ee8(0x2d8)],_0xc26511[_0x4c9ee8(0x297)][_0x4c9ee8(0x222)]=_0x16dc05[_0x4c9ee8(0x2a5)]['platforms'];const _0x1bf0e2=helper[_0x4c9ee8(0x1d7)](_0x16dc05[_0x4c9ee8(0x2a5)]);if(!helper[_0x4c9ee8(0x200)](_0x1bf0e2)){helper[_0x4c9ee8(0x272)](_0x1bf0e2[_0x4c9ee8(0x2a4)])&&(_0xc26511[_0x4c9ee8(0x297)]['retries__']=_0x1bf0e2[_0x4c9ee8(0x2a4)][_0x4c9ee8(0x2a3)]);if(helper['isNotUndefined'](_0x1bf0e2[_0x4c9ee8(0x1d4)])&&helper[_0x4c9ee8(0x272)](_0x1bf0e2[_0x4c9ee8(0x1d4)][_0x4c9ee8(0x2d1)])){const _0x1d9612={};_0x1d9612[_0x4c9ee8(0x269)]=_0x1bf0e2[_0x4c9ee8(0x1d4)][_0x4c9ee8(0x238)],_0x1d9612[_0x4c9ee8(0x2d1)]=_0x1bf0e2[_0x4c9ee8(0x1d4)]['workingDir'],_0xc26511[_0x4c9ee8(0x297)][_0x4c9ee8(0x235)]=_0x1d9612;}}let _0x3e8734='';_0x31fb0e[_0x4c9ee8(0x1e6)](helper[_0x4c9ee8(0x2c2)](),constants[_0x4c9ee8(0x2cf)]['MODULE'])?_0x3e8734=_0x31fb0e[_0x4c9ee8(0x296)]:_0x3e8734=_0x31fb0e[_0x4c9ee8(0x278)];const _0x25846b=_0x3e8734,_0x2a4388=path['join'](__dirname,_0x31fb0e['HeWqk'],_0x31fb0e[_0x4c9ee8(0x2ae)]),_0x56041a=path['join'](__dirname,_0x31fb0e[_0x4c9ee8(0x1d3)],_0x31fb0e[_0x4c9ee8(0x1e1)]),_0x3e3209=path['join'](__dirname,_0x31fb0e['HeWqk'],_0x31fb0e['qARdg']);_0xc26511[_0x4c9ee8(0x26f)]&&(process[_0x4c9ee8(0x220)][_0x4c9ee8(0x1ec)]=_0xc26511['testEnvironment']);_0xc26511['testEnvironment']=path[_0x4c9ee8(0x2be)](__dirname,_0x31fb0e[_0x4c9ee8(0x1d3)],_0x31fb0e[_0x4c9ee8(0x2a9)]);const _0x19b53e=_0x49c4b0[_0x4c9ee8(0x298)];if(_0x19b53e&&_0x31fb0e[_0x4c9ee8(0x1fd)](_0x19b53e,_0x31fb0e[_0x4c9ee8(0x25f)])){const _0x3d726b=_0x19b53e[_0x4c9ee8(0x226)](_0x31fb0e[_0x4c9ee8(0x2c5)])?_0x19b53e:_0x4c9ee8(0x1f7)+_0x19b53e;process['env'][_0x4c9ee8(0x290)]=_0x3d726b,logger[_0x4c9ee8(0x206)](_0x4c9ee8(0x1f2)+_0x3d726b);}_0xc26511[_0x4c9ee8(0x298)]=_0x56041a,_0xc26511[_0x4c9ee8(0x25a)]=_0xc26511[_0x4c9ee8(0x25a)]||[],_0xc26511['setupFilesAfterEnv'][_0x4c9ee8(0x215)](path[_0x4c9ee8(0x2be)](__dirname,_0x31fb0e['AifRX']));_0x41d013[_0x4c9ee8(0x2ba)]()&&(_0xc26511[_0x4c9ee8(0x27e)]=path['join'](__dirname,_0x31fb0e[_0x4c9ee8(0x1d3)],_0x31fb0e[_0x4c9ee8(0x2c7)]));if(testhubUtils[_0x4c9ee8(0x293)]()||BrowserstackCLI[_0x4c9ee8(0x2db)]()['isCliEnabled']()){let _0x1ae959=null;try{_0x1ae959=helper[_0x4c9ee8(0x282)](_0x31fb0e[_0x4c9ee8(0x211)],_0x31fb0e[_0x4c9ee8(0x29f)]);}catch(_0x369989){try{_0x1ae959=helper[_0x4c9ee8(0x282)](_0x31fb0e[_0x4c9ee8(0x27f)],_0x31fb0e['VwNHw']);}catch(_0x5b041b){_0x31fb0e[_0x4c9ee8(0x24c)](debug,_0x4c9ee8(0x2b3)+_0x5b041b);}}_0x1ae959&&(testhubUtils['shouldProcessEventForTesthub']()&&_0xc26511[_0x4c9ee8(0x25a)][_0x4c9ee8(0x215)](path[_0x4c9ee8(0x2be)](__dirname,_0x31fb0e[_0x4c9ee8(0x1e2)],_0x31fb0e[_0x4c9ee8(0x27a)])),_0xc26511[_0x4c9ee8(0x2a0)]=path['join'](__dirname,_0x31fb0e[_0x4c9ee8(0x1d3)],_0x31fb0e['xfKTZ']));}_0xc26511[_0x4c9ee8(0x1fe)]=_0xc26511[_0x4c9ee8(0x1fe)]||[];try{helper[_0x4c9ee8(0x270)](),_0xc26511[_0x4c9ee8(0x1fe)][_0x4c9ee8(0x215)](path[_0x4c9ee8(0x2be)](__dirname,_0x31fb0e[_0x4c9ee8(0x22c)]));}catch{logger['debug'](_0x31fb0e[_0x4c9ee8(0x23b)]);}try{helper[_0x4c9ee8(0x2a7)]['apply'](null,[_0x31fb0e[_0x4c9ee8(0x1f4)],_0x31fb0e['nHVIz']]),logger[_0x4c9ee8(0x242)](_0x31fb0e[_0x4c9ee8(0x2b8)]),_0xc26511[_0x4c9ee8(0x1fe)][_0x4c9ee8(0x215)](path[_0x4c9ee8(0x2be)](__dirname,_0x31fb0e[_0x4c9ee8(0x207)]));}catch(_0x5e96db){logger[_0x4c9ee8(0x242)](_0x31fb0e[_0x4c9ee8(0x1f3)],_0x5e96db);}if(_0x31fb0e[_0x4c9ee8(0x2ce)](!_0x443b89,_0x5a033d)){try{logger[_0x4c9ee8(0x242)](_0x31fb0e['xMzYr']),_0xc26511[_0x4c9ee8(0x1fe)][_0x4c9ee8(0x215)](path[_0x4c9ee8(0x2be)](__dirname,'..',_0x31fb0e[_0x4c9ee8(0x2c9)],_0x31fb0e[_0x4c9ee8(0x207)]));}catch(_0x1bf2c1){logger[_0x4c9ee8(0x242)](_0x4c9ee8(0x22d)+_0x1bf2c1[_0x4c9ee8(0x285)]);}try{const _0x19ddda=require['resolve'](_0x31fb0e[_0x4c9ee8(0x23f)]),_0x315786=path['dirname'](_0x19ddda)[_0x4c9ee8(0x229)](/\\/g,'/'),_0x17f5c2={};_0x17f5c2[_0x4c9ee8(0x1fa)]=_0x315786+_0x4c9ee8(0x1df),_0xc26511[_0x4c9ee8(0x26e)]=Object[_0x4c9ee8(0x1e8)]({},_0xc26511['moduleNameMapper']||{},_0x17f5c2),logger[_0x4c9ee8(0x242)](_0x4c9ee8(0x265)+_0x315786);}catch(_0x62f81f){logger[_0x4c9ee8(0x242)](_0x4c9ee8(0x280)+_0x62f81f['message']);}}_0xc26511[_0x4c9ee8(0x266)]=_0xc26511['reporters']||[_0x31fb0e[_0x4c9ee8(0x22f)]],_0x31fb0e['zuCcL'](updateTestRerunConfig,_0xc26511,_0x16dc05);const _0x18bb08=fs['readFileSync'](_0x3e3209),_0x94c2cb=helper[_0x4c9ee8(0x2b0)](_0x31fb0e[_0x4c9ee8(0x223)],_0x31fb0e[_0x4c9ee8(0x1eb)]);!_0x94c2cb[_0x4c9ee8(0x1ea)]?fs[_0x4c9ee8(0x201)](_0xc26511['runner'],_0x4c9ee8(0x26b)+_0x18bb08+_0x4c9ee8(0x1d8)+_0x16dc05['config'][_0x4c9ee8(0x205)][_0x4c9ee8(0x24f)]+_0x4c9ee8(0x1ff)):fs['writeFileSync'](_0xc26511[_0x4c9ee8(0x298)],_0x4c9ee8(0x26b)+_0x18bb08+_0x4c9ee8(0x1d9)+_0x16dc05[_0x4c9ee8(0x2a5)][_0x4c9ee8(0x205)][_0x4c9ee8(0x24f)]+_0x4c9ee8(0x21f));logger['info'](_0x4c9ee8(0x281)+_0x25846b+_0x4c9ee8(0x2cb)),fs[_0x4c9ee8(0x201)](_0x25846b,_0x4c9ee8(0x217)+JSON[_0x4c9ee8(0x2ab)](_0xc26511)+_0x4c9ee8(0x23d));if(_0x41d013['isTestOrchestrationEnabled']()){logger[_0x4c9ee8(0x242)](_0x31fb0e[_0x4c9ee8(0x2b9)]);const _0x3b706f=await _0x41d013[_0x4c9ee8(0x27b)](_0xc26511,_0x4c1e31[_0x4c9ee8(0x216)](0x1),_0x25846b);logger[_0x4c9ee8(0x242)](_0x4c9ee8(0x271)+JSON[_0x4c9ee8(0x2ab)](_0x3b706f)+'\x20test\x20files\x20to\x20run.');const _0x14dcfd=await _0x41d013['reorderTestFiles'](_0x3b706f);logger[_0x4c9ee8(0x242)](_0x4c9ee8(0x2cc)+JSON['stringify'](_0x14dcfd)),_0x14dcfd&&_0x31fb0e[_0x4c9ee8(0x2b1)](_0x14dcfd[_0x4c9ee8(0x24f)],0x0)&&(process[_0x4c9ee8(0x220)][_0x4c9ee8(0x21e)]=_0x14dcfd?.['join'](','));}logger[_0x4c9ee8(0x206)](_0x31fb0e[_0x4c9ee8(0x2c6)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x4c9ee8(0x2d3)]();helper[_0x4c9ee8(0x1db)]({},_0x4c1e31),PerformanceTester['end'](PerformanceEvents[_0x4c9ee8(0x263)]);const _0x38c6cf=[_0x31fb0e['anadi'],_0x31fb0e['ObIki'],_0x25846b,..._0x4c1e31['slice'](0x1)],_0x4f0194=_0x31fb0e['YQnjR'](spawn,_0x31fb0e['KngiM'],_0x38c6cf,{'shell':_0x31fb0e[_0x4c9ee8(0x1e6)](process[_0x4c9ee8(0x28d)],_0x31fb0e[_0x4c9ee8(0x1e9)]),'stdio':_0x31fb0e[_0x4c9ee8(0x255)],'env':Object[_0x4c9ee8(0x1e8)]({},process['env'])});_0x4f0194['on'](_0x31fb0e[_0x4c9ee8(0x1f9)],async _0x1da580=>{const _0x2c62e3=_0x4c9ee8;PerformanceTester[_0x2c62e3(0x260)](PerformanceEvents[_0x2c62e3(0x1dd)]);try{const {browserstackFolderPath:_0x4c8464,tcgConfigPath:_0x128e0a}=helper[_0x2c62e3(0x2c3)]();fs[_0x2c62e3(0x22b)](_0x128e0a),fs[_0x2c62e3(0x20c)](_0x4c8464);}catch(_0x28bd4f){logger[_0x2c62e3(0x242)](_0x31fb0e['ENdUM'],_0x28bd4f);}process[_0x2c62e3(0x214)]=_0x1da580,logger[_0x2c62e3(0x242)]('child\x20process\x20exited\x20with\x20code\x20'+_0x1da580),logger['info'](_0x2c62e3(0x2bd)+_0x25846b);if(helper['isNotUndefined'](_0x1bf0e2)&&helper[_0x2c62e3(0x272)](_0x1bf0e2['abortBuildOnFailure'])&&fs[_0x2c62e3(0x284)](_0x1bf0e2[_0x2c62e3(0x1d4)][_0x2c62e3(0x2d1)]))try{const _0x12fa92={};_0x12fa92[_0x2c62e3(0x2da)]=!![],_0x12fa92[_0x2c62e3(0x2a2)]=!![],fs[_0x2c62e3(0x23e)](_0x1bf0e2[_0x2c62e3(0x1d4)][_0x2c62e3(0x2d1)],_0x12fa92),logger[_0x2c62e3(0x242)](_0x2c62e3(0x28f)+_0x1bf0e2['abortBuildOnFailure'][_0x2c62e3(0x2d1)]);}catch(_0x612ae){logger[_0x2c62e3(0x1ea)](_0x2c62e3(0x20f)+_0x612ae);}let _0x36d6ac=null;if(fs[_0x2c62e3(0x284)](_0x2a4388)){_0x36d6ac=fs[_0x2c62e3(0x23c)](_0x2a4388);try{_0x36d6ac=JSON[_0x2c62e3(0x275)](_0x36d6ac);}catch(_0x3e56af){logger[_0x2c62e3(0x242)](_0x2c62e3(0x288)+_0x2a4388+',\x20'+_0x36d6ac+_0x2c62e3(0x231)+_0x3e56af);}fs[_0x2c62e3(0x22b)](_0x2a4388);}fs[_0x2c62e3(0x22b)](_0x25846b),fs[_0x2c62e3(0x22b)](_0x56041a),_0x36d6ac&&(_0x16dc05['errorMessage']=helper[_0x2c62e3(0x20d)](_0x36d6ac,_0x31fb0e[_0x2c62e3(0x258)],_0x16dc05));const _0x5e92fc=BrowserstackCLI[_0x2c62e3(0x1f6)]();try{await TestHubHandler[_0x2c62e3(0x1f8)](),await BrowserstackCLI[_0x2c62e3(0x2db)]()[_0x2c62e3(0x1f8)]();}catch(_0x23dd98){console[_0x2c62e3(0x24e)](_0x23dd98),_0x31fb0e[_0x2c62e3(0x24c)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x2c62e3(0x244)](_0x23dd98));}testOpsHelper['printBuildLink'](),TestDetails[_0x2c62e3(0x234)](),await utilities[_0x2c62e3(0x230)](_0x16dc05,_0x5e92fc);});}function a14_0x3b6d(_0x1e0099,_0x1c9317){const _0x7252b3=a14_0x7252();return a14_0x3b6d=function(_0x3b6d46,_0x22d619){_0x3b6d46=_0x3b6d46-0x1d3;let _0x2bc277=_0x7252b3[_0x3b6d46];return _0x2bc277;},a14_0x3b6d(_0x1e0099,_0x1c9317);}module[a14_0x5d858a(0x22e)]=run;
2
+ 'use strict';const a14_0x133cd2=a14_0x2ff0;(function(_0x1c9bd5,_0xd6f669){const _0xf0c912=a14_0x2ff0,_0x389c97=_0x1c9bd5();while(!![]){try{const _0x2e5428=parseInt(_0xf0c912(0x1e2))/0x1+-parseInt(_0xf0c912(0x16e))/0x2*(parseInt(_0xf0c912(0x1b1))/0x3)+parseInt(_0xf0c912(0x134))/0x4+parseInt(_0xf0c912(0x1c7))/0x5*(parseInt(_0xf0c912(0x1a0))/0x6)+parseInt(_0xf0c912(0x12c))/0x7*(-parseInt(_0xf0c912(0x102))/0x8)+-parseInt(_0xf0c912(0x146))/0x9*(parseInt(_0xf0c912(0x126))/0xa)+-parseInt(_0xf0c912(0x16f))/0xb;if(_0x2e5428===_0xd6f669)break;else _0x389c97['push'](_0x389c97['shift']());}catch(_0x3beadf){_0x389c97['push'](_0x389c97['shift']());}}}(a14_0x1532,0x3f5c0));const fs=require('fs'),path=require('path'),util=require(a14_0x133cd2(0x129)),{spawn}=require(a14_0x133cd2(0x170)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a14_0x133cd2(0x18f)),helper=require('../../helpers/helper'),utilities=require(a14_0x133cd2(0x105)),constants=require(a14_0x133cd2(0x12f)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a14_0x133cd2(0x18c)),testOpsHelper=require(a14_0x133cd2(0x1b6)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a14_0x133cd2(0x16a)),{getPercyOptions}=require(a14_0x133cd2(0x17d)),TestHubHandler=require(a14_0x133cd2(0x1e6)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x133cd2(0x144)),PerformanceTester=require(a14_0x133cd2(0x1db)),PerformanceEvents=require(a14_0x133cd2(0x138))['EVENTS'],TestOrchestrationHandler=require(a14_0x133cd2(0x140)),BrowserstackCLI=require(a14_0x133cd2(0x185)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x51b023,_0x355969)=>{const _0x33c41d=a14_0x133cd2,_0xdae227={'NVBAK':_0x33c41d(0x1eb),'rRlDH':_0x33c41d(0x19a),'dsSTC':function(_0x3dacc2,_0xae166a){return _0x3dacc2||_0xae166a;},'CQDtk':function(_0x62d6f8,_0x3ab293){return _0x62d6f8(_0x3ab293);},'GrXxu':'package.json','HZVQT':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','rXZhZ':_0x33c41d(0x1df),'EupiO':_0x33c41d(0x1e8),'LSxKE':_0x33c41d(0x125)};let _0x2c0f9c;try{_0x2c0f9c=helper[_0x33c41d(0x173)](_0xdae227[_0x33c41d(0x159)],_0xdae227[_0x33c41d(0x1b5)]);}catch{const _0x6219c8=helper['requireModule'](_0xdae227[_0x33c41d(0x1b5)]);_0x2c0f9c={'default':async _0x23571d=>{const _0x5f57f5=await _0x6219c8['readInitialOptions'](_0x23571d,{});return _0x5f57f5['config'];}};}const _0x393911=_0x355969[_0x33c41d(0x10a)](_0x12e69f=>_0x12e69f==='--config');if(!helper[_0x33c41d(0x115)](_0x51b023[_0x33c41d(0x1c0)])){logger[_0x33c41d(0x14d)](_0x33c41d(0x118)+_0x51b023['config']),process[_0x33c41d(0x143)][_0x33c41d(0x1ad)]=_0x51b023[_0x33c41d(0x1c0)];const _0x31a0d4=await(0x0,_0x2c0f9c['default'])(path['resolve'](_0x51b023[_0x33c41d(0x1c0)]));return _0x355969[_0x33c41d(0x17a)](_0x393911,0x2),_0xdae227[_0x33c41d(0x121)](_0x31a0d4,{});}const _0x33d5b9=_0xdae227[_0x33c41d(0x13b)](require,path['join'](process['cwd'](),_0xdae227[_0x33c41d(0x137)]));if(_0x33d5b9[_0x33c41d(0x189)])return logger[_0x33c41d(0x14d)](_0xdae227[_0x33c41d(0x1c5)]),_0x33d5b9[_0x33c41d(0x189)];const _0x358b23=['js',_0xdae227[_0x33c41d(0x1d6)],_0xdae227['EupiO'],_0xdae227[_0x33c41d(0x187)],'ts'];for(const _0x3adc69 of _0x358b23){const _0xeec7ce=path[_0x33c41d(0x19f)](process[_0x33c41d(0x1ce)](),'jest.config.'+_0x3adc69);if(fs[_0x33c41d(0x151)](_0xeec7ce)){process[_0x33c41d(0x143)][_0x33c41d(0x1ad)]=_0xeec7ce;const _0xaf19cc=await(0x0,_0x2c0f9c[_0x33c41d(0x1b9)])(_0xeec7ce);return _0xaf19cc;}}return{};},getSerial=(_0x31752c,_0x4ce2e8)=>{const _0x391e9f=a14_0x133cd2,_0x50b818={};_0x50b818[_0x391e9f(0x17e)]=_0x391e9f(0x14b),_0x50b818[_0x391e9f(0x19c)]=function(_0x4cc0cb,_0x238a1a){return _0x4cc0cb>_0x238a1a;},_0x50b818[_0x391e9f(0x1d5)]='false';const _0x521c0f=_0x50b818;let _0x2ec2f0=_0x521c0f[_0x391e9f(0x17e)];return _0x521c0f[_0x391e9f(0x19c)](_0x31752c[_0x391e9f(0x106)],0x1)&&(!_0x4ce2e8['runInBand']&&(helper[_0x391e9f(0x115)](_0x4ce2e8['maxWorkers'])||_0x521c0f[_0x391e9f(0x19c)](_0x4ce2e8['maxWorkers'],0x1)))&&(_0x2ec2f0=_0x521c0f[_0x391e9f(0x1d5)]),_0x2ec2f0;},getMaxWorkers=(_0x8e2b5f,_0x4f3cb4,_0x2cedcd)=>{const _0xe6eec7=a14_0x133cd2,_0x565588={'YuwNC':function(_0x2e5566,_0x5157a1){return _0x2e5566(_0x5157a1);}};let _0x370d77=0x1;if(!helper[_0xe6eec7(0x115)](_0x4f3cb4[_0xe6eec7(0x1a5)]))_0x370d77=_0x565588[_0xe6eec7(0x1e5)](parseInt,_0x4f3cb4[_0xe6eec7(0x1a5)]);else{if(!helper[_0xe6eec7(0x115)](_0x8e2b5f[_0xe6eec7(0x139)]))_0x370d77=_0x8e2b5f[_0xe6eec7(0x139)];else!helper[_0xe6eec7(0x115)](_0x2cedcd[_0xe6eec7(0x139)])&&(_0x370d77=_0x2cedcd[_0xe6eec7(0x139)]);}return _0x370d77;};async function run(_0x4e6e7a,_0x288c23,_0x476ca6){const _0x314759=a14_0x133cd2,_0x47b961={'Inkor':_0x314759(0x12e),'IbAxp':'jest','jHDvy':function(_0xc3fb20,_0x573965){return _0xc3fb20(_0x573965);},'KTAML':_0x314759(0x169),'knnvM':function(_0x35804a){return _0x35804a();},'EqkvR':function(_0x4adc76,_0x1acd46,_0xd8b903,_0x3e2192){return _0x4adc76(_0x1acd46,_0xd8b903,_0x3e2192);},'QHFVj':function(_0x32e415,_0x33f25f){return _0x32e415!=_0x33f25f;},'sefIs':'true','EFnPL':function(_0x6690d3,_0x52d15f,_0x20e986){return _0x6690d3(_0x52d15f,_0x20e986);},'LoZRV':_0x314759(0x175),'lfhLF':_0x314759(0x1d1),'NMMvf':function(_0x191e6e,_0x2c5627,_0xb5438e){return _0x191e6e(_0x2c5627,_0xb5438e);},'tiTSF':function(_0x11b70a,_0x151ccf,_0x3fbd17,_0x44112f){return _0x11b70a(_0x151ccf,_0x3fbd17,_0x44112f);},'zKelf':function(_0x248e62,_0x49caaa){return _0x248e62*_0x49caaa;},'IdKaA':function(_0x5eedc5,_0x23647e){return _0x5eedc5===_0x23647e;},'bLRsq':'jest_browserstack.config.cjs','rPRnI':_0x314759(0x161),'wdmVf':_0x314759(0x1ea),'FBFVp':'jest_browserstack_results.json','FyXSK':_0x314759(0x119),'OvZbo':_0x314759(0x1c2),'ElqhU':'customEnvironment.js','sZqlI':function(_0x1d0b8a,_0x9a6871){return _0x1d0b8a!==_0x9a6871;},'LjUib':'jest-runner','Idurq':_0x314759(0x127),'rwZLM':'jest.setup.js','YwAqx':'customSequencer.js','WYyKa':_0x314759(0x16d),'TcZGL':'jest-circus','KDBid':_0x314759(0x13d),'lfzNH':_0x314759(0x15d),'mpjkU':_0x314759(0x150),'UZfQH':'customCircus.js','BZJod':_0x314759(0x117),'ymyyD':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','mqUBk':_0x314759(0x1b8),'ESelK':_0x314759(0x1c1),'AYqfr':_0x314759(0x1d0),'sLVHJ':_0x314759(0x198),'QHaQm':function(_0xa3058c,_0xc35f98){return _0xa3058c&&_0xc35f98;},'TqeyS':_0x314759(0x1a4),'xpOpQ':'puppeteer','OpSbu':_0x314759(0x18a),'OFIBa':_0x314759(0x1b9),'ieXCh':function(_0x2a01c8,_0x6be20b,_0x495340){return _0x2a01c8(_0x6be20b,_0x495340);},'JBbVu':_0x314759(0x15b),'JZhXo':_0x314759(0x122),'ribbw':_0x314759(0x1d4),'KlXbi':function(_0x58ee97,_0x5d20ee){return _0x58ee97>_0x5d20ee;},'nYfJj':_0x314759(0x17b),'jukfU':_0x314759(0x182),'fHKJj':_0x314759(0x176),'RemAv':function(_0x5d7ba0,_0x566649){return _0x5d7ba0===_0x566649;},'HtSlY':_0x314759(0x158),'gFRUw':_0x314759(0x1b0),'QaGWX':'close'},_0x517082=helper[_0x314759(0x101)](_0x47b961[_0x314759(0x109)]);global[_0x314759(0x1cc)]=!!_0x517082;const _0x733438=_0x47b961[_0x314759(0x147)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x733438;helper['isBrowserstackInfra']()?(await _0x476ca6[_0x314759(0x157)](_0x4e6e7a),await helper[_0x314759(0x1e1)](_0x476ca6[_0x314759(0x1c0)])):await _0x476ca6[_0x314759(0x19d)]();if(_0x517082)await _0x47b961[_0x314759(0x11a)](checkPwandBootstrapCli,_0x517082,constants[_0x314759(0x112)]['JEST'],_0x476ca6);else _0x733438&&await _0x47b961[_0x314759(0x11a)](checkPuppeteerAndBootstrapCli,_0x733438,constants['FRAMEWORKS'][_0x314759(0x197)],_0x476ca6);if(!_0x476ca6[_0x314759(0x1c0)])return;_0x47b961[_0x314759(0x10e)](_0x476ca6[_0x314759(0x1c0)]['testObservability'],null)?process[_0x314759(0x143)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x476ca6[_0x314759(0x1c0)][_0x314759(0x1a8)]:process[_0x314759(0x143)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x47b961[_0x314759(0x136)];const _0x3d879c=new TestOrchestrationHandler(_0x476ca6[_0x314759(0x1c0)]),_0x30174c=await _0x47b961[_0x314759(0x145)](getUserJestConfigs,_0x4e6e7a,_0x288c23);logger[_0x314759(0x14d)](_0x47b961['LoZRV']);const _0x529091=Object['assign']({},_0x30174c);_0x529091[_0x314759(0x124)]=Object[_0x314759(0x15c)]({},_0x529091[_0x314759(0x124)],{'server':helper['getHubUrl'](_0x476ca6[_0x314759(0x1c0)]),'environment':_0x30174c[_0x314759(0x18d)]}),_0x529091[_0x314759(0x124)]['browserStackPercyOptions']=_0x47b961[_0x314759(0x10d)](getPercyOptions,_0x476ca6[_0x314759(0x1c0)]);const _0x32367c=helper[_0x314759(0x1a2)](_0x476ca6[_0x314759(0x1c0)]);!helper[_0x314759(0x115)](_0x476ca6[_0x314759(0x1c0)][_0x314759(0x132)])&&(process[_0x314759(0x143)][_0x314759(0x1ab)]=JSON[_0x314759(0x111)](_0x476ca6[_0x314759(0x1c0)]['accessibilityOptions']));if(!BrowserstackCLI[_0x314759(0x156)]()[_0x314759(0x1a1)]()){const _0x4c4196=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x314759(0x197)],_0x476ca6);}const _0xe7fa98=helper[_0x314759(0x1e9)](_0x476ca6[_0x314759(0x1c0)],_0x32367c,constants[_0x314759(0x112)][_0x314759(0x197)]);process[_0x314759(0x143)][_0x314759(0x172)]=JSON[_0x314759(0x111)](_0xe7fa98);let _0x518810=_0x476ca6[_0x314759(0x1c0)][_0x314759(0x135)];_0x518810=_0x518810||accessibilityHelper[_0x314759(0x104)](_0x476ca6['config']),process[_0x314759(0x143)][_0x314759(0x1bf)]=_0x518810,logger[_0x314759(0x18e)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x518810+_0x314759(0x184)+BrowserstackCLI[_0x314759(0x156)]()[_0x314759(0x1a1)]());if(_0x517082)try{const _0x4f8f75=_0x47b961[_0x314759(0x10d)](checkAccessibilityPlatformConfig,_0x476ca6['config']);process[_0x314759(0x143)][_0x314759(0x1d3)]=_0x4f8f75?_0x47b961[_0x314759(0x136)]:_0x47b961[_0x314759(0x1ec)],logger['debug'](_0x314759(0x1bc)+_0x4f8f75+_0x314759(0x174)+process['env'][_0x314759(0x1d3)]);}catch(_0x2e9bc8){logger['debug']('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util[_0x314759(0x1cf)](_0x2e9bc8));}_0x529091[_0x314759(0x124)][_0x314759(0x177)]=_0xe7fa98,_0x529091[_0x314759(0x124)][_0x314759(0x183)]=_0x47b961['NMMvf'](getSerial,_0xe7fa98,_0x4e6e7a),_0x529091[_0x314759(0x124)][_0x314759(0x131)]=_0x47b961[_0x314759(0x1e0)](getMaxWorkers,_0x4e6e7a,_0x476ca6[_0x314759(0x1c0)],_0x30174c),_0x529091[_0x314759(0x124)]['proxySettings']=_0x476ca6[_0x314759(0x1c0)][_0x314759(0x1ef)],_0x529091[_0x314759(0x124)][_0x314759(0x10b)]=_0x47b961[_0x314759(0x1dc)](_0x4e6e7a['testTimeout'],0x1)||0x1388,_0x529091[_0x314759(0x124)][_0x314759(0x128)]=_0x476ca6[_0x314759(0x1c0)][_0x314759(0x194)][_0x314759(0x128)],_0x529091[_0x314759(0x124)][_0x314759(0x133)]=_0x476ca6[_0x314759(0x1c0)][_0x314759(0x194)]['skipSessionStatus'],_0x529091['testEnvironmentOptions'][_0x314759(0x1ae)]=_0x476ca6[_0x314759(0x1c0)][_0x314759(0x15e)],_0x529091[_0x314759(0x124)][_0x314759(0x1e4)]=_0x476ca6[_0x314759(0x1c0)]['turboScaleUrl'],_0x529091[_0x314759(0x124)][_0x314759(0x188)]=_0x476ca6[_0x314759(0x1c0)]['platforms'];const _0x810eff=helper['parseTestOrchestrationOptions'](_0x476ca6['config']);if(!helper[_0x314759(0x192)](_0x810eff)){helper['isNotUndefined'](_0x810eff['retryTestsOnFailure'])&&(_0x529091[_0x314759(0x124)]['retries__']=_0x810eff[_0x314759(0x116)]['maxRetries']);if(helper['isNotUndefined'](_0x810eff[_0x314759(0x1cb)])&&helper[_0x314759(0x1a6)](_0x810eff[_0x314759(0x1cb)][_0x314759(0x1ac)])){const _0x36fe3b={};_0x36fe3b[_0x314759(0x160)]=_0x810eff[_0x314759(0x1cb)][_0x314759(0x13e)],_0x36fe3b[_0x314759(0x1ac)]=_0x810eff['abortBuildOnFailure']['workingDir'],_0x529091[_0x314759(0x124)]['failFast']=_0x36fe3b;}}let _0x3f61f6='';_0x47b961[_0x314759(0x14a)](helper['getPackageType'](),constants[_0x314759(0x1a3)][_0x314759(0x1d9)])?_0x3f61f6=_0x47b961[_0x314759(0x19e)]:_0x3f61f6=_0x47b961['rPRnI'];const _0x34b734=_0x3f61f6,_0x57ceac=path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x11e)],_0x47b961[_0x314759(0x1da)]),_0x4be3ed=path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x11e)],_0x47b961[_0x314759(0x1c4)]),_0x57052c=path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x11e)],_0x47b961[_0x314759(0x13a)]);_0x529091[_0x314759(0x18d)]&&(process[_0x314759(0x143)][_0x314759(0x1be)]=_0x529091[_0x314759(0x18d)]);_0x529091[_0x314759(0x18d)]=path['join'](__dirname,_0x47b961[_0x314759(0x11e)],_0x47b961[_0x314759(0x1e3)]);const _0x54c6c7=_0x30174c[_0x314759(0x178)];if(_0x54c6c7&&_0x47b961[_0x314759(0x179)](_0x54c6c7,_0x47b961['LjUib'])){const _0x2d7fb2=_0x54c6c7[_0x314759(0x164)](_0x47b961['Idurq'])?_0x54c6c7:_0x314759(0x127)+_0x54c6c7;process[_0x314759(0x143)][_0x314759(0x181)]=_0x2d7fb2,logger[_0x314759(0x14d)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x2d7fb2);}_0x529091['runner']=_0x4be3ed,_0x529091[_0x314759(0x14e)]=_0x529091[_0x314759(0x14e)]||[],_0x529091[_0x314759(0x14e)][_0x314759(0x190)](path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x1ed)]));_0x3d879c[_0x314759(0x1b7)]()&&(_0x529091[_0x314759(0x195)]=path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x11e)],_0x47b961[_0x314759(0x15f)]));if(testhubUtils[_0x314759(0x100)]()||BrowserstackCLI[_0x314759(0x156)]()[_0x314759(0x10c)]()){let _0x4e5ea7=null;try{_0x4e5ea7=helper[_0x314759(0x173)](_0x47b961[_0x314759(0x153)],_0x47b961[_0x314759(0x10f)]);}catch(_0x361236){try{_0x4e5ea7=helper[_0x314759(0x173)](_0x47b961[_0x314759(0x107)],_0x47b961[_0x314759(0x10f)]);}catch(_0x53934b){_0x47b961['jHDvy'](debug,_0x314759(0x13c)+_0x53934b);}}_0x4e5ea7&&(testhubUtils[_0x314759(0x100)]()&&_0x529091[_0x314759(0x14e)][_0x314759(0x190)](path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x17f)],_0x47b961[_0x314759(0x1bd)])),_0x529091[_0x314759(0x1d7)]=path[_0x314759(0x19f)](__dirname,_0x47b961['wdmVf'],_0x47b961[_0x314759(0x11b)]));}_0x529091['setupFiles']=_0x529091[_0x314759(0x165)]||[];try{helper[_0x314759(0x13f)](),_0x529091[_0x314759(0x165)][_0x314759(0x190)](path[_0x314759(0x19f)](__dirname,_0x47b961['BZJod']));}catch{logger[_0x314759(0x18e)](_0x47b961[_0x314759(0x12d)]);}try{helper[_0x314759(0x1ee)][_0x314759(0x1b3)](null,[_0x47b961[_0x314759(0x109)],_0x47b961['mqUBk']]),logger[_0x314759(0x18e)](_0x47b961[_0x314759(0x1ba)]),_0x529091['setupFiles']['push'](path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x191)]));}catch(_0x56efab){logger['debug'](_0x47b961[_0x314759(0x1c8)],_0x56efab);}if(_0x47b961[_0x314759(0x1cd)](!_0x517082,_0x733438)){try{logger[_0x314759(0x18e)](_0x47b961[_0x314759(0x155)]),_0x529091[_0x314759(0x165)][_0x314759(0x190)](path[_0x314759(0x19f)](__dirname,'..',_0x47b961['xpOpQ'],_0x47b961[_0x314759(0x191)]));}catch(_0x219e04){logger['debug'](_0x314759(0x166)+_0x219e04[_0x314759(0x1a9)]);}try{const _0x124ce8=require[_0x314759(0x196)](_0x47b961[_0x314759(0x12a)]),_0x443d7b=path[_0x314759(0x1c3)](_0x124ce8)[_0x314759(0x103)](/\\/g,'/'),_0x1621b6={};_0x1621b6['^puppeteer-core/internal/(.*)']=_0x443d7b+_0x314759(0x142),_0x529091[_0x314759(0x108)]=Object['assign']({},_0x529091['moduleNameMapper']||{},_0x1621b6),logger[_0x314759(0x18e)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x443d7b);}catch(_0x5ac2d0){logger['debug']('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x5ac2d0[_0x314759(0x1a9)]);}}_0x529091[_0x314759(0x14f)]=_0x529091[_0x314759(0x14f)]||[_0x47b961[_0x314759(0x1e7)]],_0x47b961['ieXCh'](updateTestRerunConfig,_0x529091,_0x476ca6);const _0x2bb6ed=fs['readFileSync'](_0x57052c),_0x28f002=helper[_0x314759(0x1d2)](_0x47b961[_0x314759(0x186)],_0x47b961[_0x314759(0x11d)]);!_0x28f002['error']?fs[_0x314759(0x199)](_0x529091[_0x314759(0x178)],_0x314759(0x1c6)+_0x2bb6ed+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x476ca6[_0x314759(0x1c0)]['platforms'][_0x314759(0x106)]+_0x314759(0x149)):fs[_0x314759(0x199)](_0x529091[_0x314759(0x178)],_0x314759(0x1c6)+_0x2bb6ed+_0x314759(0x18b)+_0x476ca6['config'][_0x314759(0x167)]['length']+_0x314759(0x114));logger[_0x314759(0x14d)]('Creating\x20'+_0x34b734+_0x314759(0x123)),fs[_0x314759(0x199)](_0x34b734,_0x314759(0x17c)+JSON[_0x314759(0x111)](_0x529091)+'\x0amodule.exports\x20=\x20config;');if(_0x3d879c[_0x314759(0x1b7)]()){logger['debug'](_0x47b961['ribbw']);const _0x1083c3=await _0x3d879c[_0x314759(0x11c)](_0x529091,_0x288c23[_0x314759(0x1b4)](0x1),_0x34b734);logger['debug'](_0x314759(0x1bb)+JSON[_0x314759(0x111)](_0x1083c3)+'\x20test\x20files\x20to\x20run.');const _0x488da1=await _0x3d879c[_0x314759(0x1c9)](_0x1083c3);logger['debug']('Reodered\x20Test\x20Files:\x20'+JSON['stringify'](_0x488da1)),_0x488da1&&_0x47b961['KlXbi'](_0x488da1[_0x314759(0x106)],0x0)&&(process[_0x314759(0x143)][_0x314759(0x171)]=_0x488da1?.['join'](','));}logger[_0x314759(0x14d)](_0x47b961['nYfJj']);testhubUtils[_0x314759(0x100)]()&&TestDetails[_0x314759(0x1b2)]();helper[_0x314759(0x1de)]({},_0x288c23),PerformanceTester[_0x314759(0x15a)](PerformanceEvents[_0x314759(0x1dd)]);const _0x5030f1=[_0x47b961['IbAxp'],_0x47b961[_0x314759(0x154)],_0x34b734,..._0x288c23[_0x314759(0x1b4)](0x1)],_0x9aa22f=_0x47b961[_0x314759(0x1e0)](spawn,_0x47b961[_0x314759(0x14c)],_0x5030f1,{'shell':_0x47b961[_0x314759(0x193)](process['platform'],_0x47b961['HtSlY']),'stdio':_0x47b961[_0x314759(0x12b)],'env':Object[_0x314759(0x15c)]({},process[_0x314759(0x143)])});_0x9aa22f['on'](_0x47b961['QaGWX'],async _0x43f4bf=>{const _0x14e426=_0x314759;PerformanceTester['start'](PerformanceEvents[_0x14e426(0x16b)]);try{const {browserstackFolderPath:_0xae2c12,tcgConfigPath:_0x39b036}=helper[_0x14e426(0x168)]();fs[_0x14e426(0x1d8)](_0x39b036),fs[_0x14e426(0x19b)](_0xae2c12);}catch(_0x2ee128){logger[_0x14e426(0x18e)](_0x47b961['Inkor'],_0x2ee128);}process[_0x14e426(0x1af)]=_0x43f4bf,logger[_0x14e426(0x18e)](_0x14e426(0x113)+_0x43f4bf),logger[_0x14e426(0x14d)](_0x14e426(0x1a7)+_0x34b734);if(helper[_0x14e426(0x1a6)](_0x810eff)&&helper[_0x14e426(0x1a6)](_0x810eff[_0x14e426(0x1cb)])&&fs[_0x14e426(0x151)](_0x810eff[_0x14e426(0x1cb)]['workingDir']))try{const _0x32aa68={};_0x32aa68['recursive']=!![],_0x32aa68['force']=!![],fs['rmSync'](_0x810eff[_0x14e426(0x1cb)][_0x14e426(0x1ac)],_0x32aa68),logger[_0x14e426(0x18e)](_0x14e426(0x163)+_0x810eff[_0x14e426(0x1cb)][_0x14e426(0x1ac)]);}catch(_0x405884){logger[_0x14e426(0x148)](_0x14e426(0x1aa)+_0x405884);}let _0x2c31ca=null;if(fs['existsSync'](_0x57ceac)){_0x2c31ca=fs['readFileSync'](_0x57ceac);try{_0x2c31ca=JSON[_0x14e426(0x180)](_0x2c31ca);}catch(_0xba0c2){logger[_0x14e426(0x18e)](_0x14e426(0x16c)+_0x57ceac+',\x20'+_0x2c31ca+_0x14e426(0x141)+_0xba0c2);}fs[_0x14e426(0x1d8)](_0x57ceac);}fs[_0x14e426(0x1d8)](_0x34b734),fs[_0x14e426(0x1d8)](_0x4be3ed),_0x2c31ca&&(_0x476ca6[_0x14e426(0x162)]=helper[_0x14e426(0x130)](_0x2c31ca,_0x47b961['IbAxp'],_0x476ca6));const _0x178d52=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x14e426(0x152)](),await BrowserstackCLI[_0x14e426(0x156)]()[_0x14e426(0x152)]();}catch(_0x13e6ab){console[_0x14e426(0x1ca)](_0x13e6ab),_0x47b961[_0x14e426(0x10d)](debug,_0x14e426(0x120)+util[_0x14e426(0x1cf)](_0x13e6ab));}testOpsHelper[_0x14e426(0x11f)](),TestDetails[_0x14e426(0x110)](),await utilities['finalExecution'](_0x476ca6,_0x178d52);});}function a14_0x2ff0(_0x3d419c,_0x5514fa){const _0x153275=a14_0x1532();return a14_0x2ff0=function(_0x2ff06f,_0x4753b3){_0x2ff06f=_0x2ff06f-0x100;let _0x3ded7e=_0x153275[_0x2ff06f];return _0x3ded7e;},a14_0x2ff0(_0x3d419c,_0x5514fa);}module['exports']=run;function a14_0x1532(){const _0x174dd1=['setupFilesAfterEnv','reporters','data-hooks.js','existsSync','stop','WYyKa','jukfU','TqeyS','getInstance','initialize','win32','NVBAK','end','@jest/core/build/ReporterDispatcher.js','assign','test-observability','logLevel','YwAqx','failureThresholdCount','jest_browserstack.config.js','errorMessage','Deleted\x20fail-fast\x20state\x20folder:\x20','startsWith','setupFiles','Puppeteer\x20setup\x20error:\x20','platforms','getTCGConfigFilePaths','@playwright/test','./test-observability/test-details','SDK_CLEANUP','Error\x20while\x20parsing\x20','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','2020vwnBEo','3035329MLaNTM','child_process','JEST_TEST_ORDER','BROWSERSTACK_CAPABILITIES','requireModule',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','npx','capabilities','runner','sZqlI','splice','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','const\x20config=','../../helpers/percy/utils','mAeyR','lfzNH','parse','BSTACK_USER_JEST_RUNNER','--config','serial__',',\x20CLI\x20running:\x20','../v2/browserstackCLI','JBbVu','LSxKE','platformCaps','jest','puppeteer-core/package.json','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','./test-observability/helper','testEnvironment','debug','../../helpers/BrowserStackSetup','push','AYqfr','isEmpty','RemAv','testContextOptions','testSequencer','resolve','JEST','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','writeFileSync','jest-config','rmdirSync','hERkt','setupTCGAuth','bLRsq','join','204OrAdlV','isRunning','useW3C','PACKAGE_TYPE','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','parallelsPerPlatform','isNotUndefined','Deleting\x20','testObservability','message','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','workingDir','USER_CONFIG_DETAILS_PATH','browserStackLogLevel','exitCode','inherit','327toMvCC','setup','apply','slice','rRlDH','../../helpers/test-observability/utils','isTestOrchestrationEnabled','playwright','default','ESelK','Found:\x20','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','mpjkU','BSTACK_JEST_TEST_ENV','BROWSERSTACK_TEST_ACCESSIBILITY_YML','config','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','customTestRunnerTemplate.js','dirname','FyXSK','HZVQT','\x0a\x20\x20\x20\x20\x20\x20','60310RWRGxo','sLVHJ','reorderTestFiles','log','abortBuildOnFailure','__isPlaywrightInstalled','QHaQm','cwd','format','test.setup.js','false','resolveModule','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','QhKgQ','rXZhZ','testRunner','unlinkSync','MODULE','FBFVp','../../helpers/performance/performance-tester','zKelf','SDK_SETUP','filterBrowserstackArgs','mjs','tiTSF','handleApp','67153WXYHbC','ElqhU','turboScaleUrl','YuwNC','../../helpers/testhub/testhubHandler','OFIBa','cjs','prepareCapabilities','customImplements','jest-config/build/readConfigFileAndSetRootDir.js','lfhLF','rwZLM','requirePWModule','proxySettings','shouldProcessEventForTesthub','getPackageVersion','11432Gorpng','replace','checkAccessibilityPlatformConfig','../../helpers/utilities','length','KDBid','moduleNameMapper','KTAML','findIndex','timeout__','isCliEnabled','jHDvy','QHFVj','TcZGL','shutdown','stringify','FRAMEWORKS','child\x20process\x20exited\x20with\x20code\x20',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','isUndefined','retryTestsOnFailure','test_before.setup.js','Getting\x20your\x20jest\x20configs\x20from\x20','customTestRunner.js','EqkvR','UZfQH','findTestFiles','JZhXo','wdmVf','printBuildLink','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','dsSTC','@jest/core','\x20with\x20browserstack\x20jest\x20configs','testEnvironmentOptions','json','690LsUpXK','jest-runner-','skipSessionName','util','OpSbu','gFRUw','329phHjAP','ymyyD','error\x20removing\x20tcg\x20config\x20file','../utils/constants','getErrorMessageFromResults','parallels__','accessibilityOptions','skipSessionStatus','1152116WLnXPj','accessibility','sefIs','GrXxu','../../helpers/performance/constants','maxWorkers','OvZbo','CQDtk','Unable\x20to\x20find\x20jest-circus,\x20','jest-circus/build/runner.js','maxFailures','requireSeleniumWebdriver','../../helpers/test-orchestration/testOrchestrationHandler','\x20:\x20','/internal/$1','env','../../helpers/test-observability/constants','EFnPL','6858KZzUqH','knnvM','error',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','IdKaA','true','fHKJj','info'];a14_0x1532=function(){return _0x174dd1;};return a14_0x1532();}
@@ -1 +1 @@
1
- const a15_0x32b39e=a15_0x40f3;function a15_0x40f3(_0x429341,_0x1a7beb){const _0x4b5d5f=a15_0x4b5d();return a15_0x40f3=function(_0x40f321,_0x29e1ac){_0x40f321=_0x40f321-0x120;let _0x51dbbe=_0x4b5d5f[_0x40f321];return _0x51dbbe;},a15_0x40f3(_0x429341,_0x1a7beb);}(function(_0x26d766,_0x34608d){const _0x25ed1b=a15_0x40f3,_0x4410b1=_0x26d766();while(!![]){try{const _0x279eba=-parseInt(_0x25ed1b(0x12e))/0x1+-parseInt(_0x25ed1b(0x122))/0x2*(-parseInt(_0x25ed1b(0x128))/0x3)+parseInt(_0x25ed1b(0x129))/0x4*(parseInt(_0x25ed1b(0x125))/0x5)+parseInt(_0x25ed1b(0x138))/0x6+parseInt(_0x25ed1b(0x12b))/0x7+parseInt(_0x25ed1b(0x126))/0x8*(-parseInt(_0x25ed1b(0x121))/0x9)+-parseInt(_0x25ed1b(0x123))/0xa*(parseInt(_0x25ed1b(0x12f))/0xb);if(_0x279eba===_0x34608d)break;else _0x4410b1['push'](_0x4410b1['shift']());}catch(_0x1fccaa){_0x4410b1['push'](_0x4410b1['shift']());}}}(a15_0x4b5d,0x42a17));const path=require(a15_0x32b39e(0x127)),{requireModule}=require(a15_0x32b39e(0x134));let initJestAdapter;try{initJestAdapter=requireModule(a15_0x32b39e(0x132),a15_0x32b39e(0x12d));}catch{initJestAdapter=requireModule(a15_0x32b39e(0x135),a15_0x32b39e(0x12d));}initJestAdapter=typeof initJestAdapter===a15_0x32b39e(0x12a)?initJestAdapter:initJestAdapter[a15_0x32b39e(0x131)];const FRAMEWORK_INITIALIZER=path[a15_0x32b39e(0x12c)](__dirname,a15_0x32b39e(0x120));function a15_0x4b5d(){const _0x180dbc=['59935BShLPN','2683264uQvCRR','path','15798psayrD','148tgnRWc','function','1433572lKyKeN','join','jest-circus','483809FoHRWy','245443ZVbGOf','requireInternalModule','default','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jestAdapterInit','../../../helpers/helper','jest-circus/build/runner.js','initRequireModule','exports','3158742LBZXxm','customJestAdapterInit.js','9RFGfXz','172kLLwFy','240CEXzto','includes'];a15_0x4b5d=function(){return _0x180dbc;};return a15_0x4b5d();}module[a15_0x32b39e(0x137)]=(..._0x129b7b)=>{const _0x1fb0ab=a15_0x32b39e,_0x54fc80={'sqsqp':_0x1fb0ab(0x133),'OZLKL':function(_0x2ae9da,_0x44450f){return _0x2ae9da===_0x44450f;},'yduFu':function(_0x479002,..._0x5e3490){return _0x479002(..._0x5e3490);}};return _0x129b7b[0x3][_0x1fb0ab(0x136)]=_0x129b7b[0x3]['requireInternalModule'],_0x129b7b[0x3][_0x1fb0ab(0x130)]=(..._0x3c5f1e)=>{const _0xd92a52=_0x1fb0ab;if(_0x3c5f1e[0x0]&&_0x3c5f1e[0x0][_0xd92a52(0x124)](_0x54fc80['sqsqp'])&&_0x54fc80['OZLKL'](_0x3c5f1e[0x1],undefined))return _0x129b7b[0x3][_0xd92a52(0x136)](FRAMEWORK_INITIALIZER);return _0x129b7b[0x3][_0xd92a52(0x136)](..._0x3c5f1e);},_0x54fc80['yduFu'](initJestAdapter,..._0x129b7b);};
1
+ function a15_0x1c51(){const _0x4a1e4b=['rmDHZ','jest-circus','201EVNCJe','jestAdapterInit','14404rJSUaV','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','DAwwp','function','includes','../../../helpers/helper','1527402mIEyyP','requireInternalModule','initRequireModule','jest-circus/build/runner.js','default','5006490TYyJDg','104rEafcO','join','30hSQSvw','1269560xRgyWc','894054aTJpRh','3031450mwDIwt','728262FPtpcH'];a15_0x1c51=function(){return _0x4a1e4b;};return a15_0x1c51();}const a15_0xe53b73=a15_0x562a;(function(_0x2d3d3b,_0x583795){const _0xaba912=a15_0x562a,_0x485eb8=_0x2d3d3b();while(!![]){try{const _0x5c9f9c=parseInt(_0xaba912(0xcf))/0x1+parseInt(_0xaba912(0xba))/0x2+parseInt(_0xaba912(0xbe))/0x3*(parseInt(_0xaba912(0xc0))/0x4)+-parseInt(_0xaba912(0xce))/0x5*(parseInt(_0xaba912(0xc6))/0x6)+-parseInt(_0xaba912(0xb9))/0x7+-parseInt(_0xaba912(0xcc))/0x8*(parseInt(_0xaba912(0xbb))/0x9)+parseInt(_0xaba912(0xcb))/0xa;if(_0x5c9f9c===_0x583795)break;else _0x485eb8['push'](_0x485eb8['shift']());}catch(_0xc3d203){_0x485eb8['push'](_0x485eb8['shift']());}}}(a15_0x1c51,0xc83af));const path=require('path'),{requireModule}=require(a15_0xe53b73(0xc5));let initJestAdapter;try{initJestAdapter=requireModule(a15_0xe53b73(0xc1),a15_0xe53b73(0xbd));}catch{initJestAdapter=requireModule(a15_0xe53b73(0xc9),a15_0xe53b73(0xbd));}initJestAdapter=typeof initJestAdapter===a15_0xe53b73(0xc3)?initJestAdapter:initJestAdapter[a15_0xe53b73(0xca)];const FRAMEWORK_INITIALIZER=path[a15_0xe53b73(0xcd)](__dirname,'customJestAdapterInit.js');function a15_0x562a(_0x135038,_0x57d629){const _0x1c5130=a15_0x1c51();return a15_0x562a=function(_0x562aad,_0x337398){_0x562aad=_0x562aad-0xb9;let _0x561531=_0x1c5130[_0x562aad];return _0x561531;},a15_0x562a(_0x135038,_0x57d629);}module['exports']=(..._0x7871c2)=>{const _0x1e8cea=a15_0xe53b73,_0x24b6f={'XKqol':_0x1e8cea(0xbf),'rmDHZ':function(_0x18f7d5,_0x185929){return _0x18f7d5===_0x185929;},'DAwwp':function(_0x170fa8,..._0x14ae47){return _0x170fa8(..._0x14ae47);}};return _0x7871c2[0x3]['initRequireModule']=_0x7871c2[0x3]['requireInternalModule'],_0x7871c2[0x3][_0x1e8cea(0xc7)]=(..._0x23c9fc)=>{const _0xb2abfe=_0x1e8cea;if(_0x23c9fc[0x0]&&_0x23c9fc[0x0][_0xb2abfe(0xc4)](_0x24b6f['XKqol'])&&_0x24b6f[_0xb2abfe(0xbc)](_0x23c9fc[0x1],undefined))return _0x7871c2[0x3][_0xb2abfe(0xc8)](FRAMEWORK_INITIALIZER);return _0x7871c2[0x3][_0xb2abfe(0xc8)](..._0x23c9fc);},_0x24b6f[_0x1e8cea(0xc2)](initJestAdapter,..._0x7871c2);};
@@ -1 +1 @@
1
- const a16_0x1d5a30=a16_0x3309;(function(_0x236fe7,_0x23b665){const _0xbc4c42=a16_0x3309,_0x4e35da=_0x236fe7();while(!![]){try{const _0x5bd722=parseInt(_0xbc4c42(0xe8))/0x1*(-parseInt(_0xbc4c42(0xcd))/0x2)+parseInt(_0xbc4c42(0xbf))/0x3*(parseInt(_0xbc4c42(0xe7))/0x4)+parseInt(_0xbc4c42(0xea))/0x5*(parseInt(_0xbc4c42(0xb5))/0x6)+parseInt(_0xbc4c42(0xc5))/0x7+parseInt(_0xbc4c42(0x91))/0x8+parseInt(_0xbc4c42(0xab))/0x9+parseInt(_0xbc4c42(0xc2))/0xa*(-parseInt(_0xbc4c42(0x98))/0xb);if(_0x5bd722===_0x23b665)break;else _0x4e35da['push'](_0x4e35da['shift']());}catch(_0x4f2c09){_0x4e35da['push'](_0x4e35da['shift']());}}}(a16_0x3f83,0x47568));function a16_0x3309(_0x3f574e,_0x4e3ba8){const _0x3f8378=a16_0x3f83();return a16_0x3309=function(_0x330939,_0x4c501f){_0x330939=_0x330939-0x86;let _0x303caa=_0x3f8378[_0x330939];return _0x303caa;},a16_0x3309(_0x3f574e,_0x4e3ba8);}const helper=require(a16_0x1d5a30(0xd6)),constants=require(a16_0x1d5a30(0xb7)),{isTestObservabilitySession}=require(a16_0x1d5a30(0x94)),RequestQueueHandler=require(a16_0x1d5a30(0xa3)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require('../../../helpers/testhub/utils'),logger=require(a16_0x1d5a30(0xf7))[a16_0x1d5a30(0xec)],getTestEnvironment=((()=>{const _0x51f3b7=a16_0x1d5a30,_0x313f4c={};_0x313f4c['HGqge']=_0x51f3b7(0xe9),_0x313f4c['EeiEj']=_0x51f3b7(0x8a);const _0x14d878=_0x313f4c;try{const _0x48238a=helper[_0x51f3b7(0xb1)](_0x14d878[_0x51f3b7(0x92)]);if(_0x48238a[_0x51f3b7(0x9b)])return _0x48238a[_0x51f3b7(0x9b)];const _0x1ad1fd=helper[_0x51f3b7(0xb1)](_0x14d878[_0x51f3b7(0xe2)]);if(_0x1ad1fd[_0x51f3b7(0xd3)])return _0x1ad1fd['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x1c41cf=a16_0x1d5a30,_0x4545a1={'dWGDZ':function(_0x3178d5,_0x270fae){return _0x3178d5(_0x270fae);},'MGlYU':_0x1c41cf(0xe5),'xSxns':_0x1c41cf(0x8c)},_0x4a2a83=_0x4545a1[_0x1c41cf(0xbe)](getTestEnvironment,{'rootDir':process[_0x1c41cf(0xd0)](),'testEnvironment':process['env'][_0x1c41cf(0xb9)]||_0x4545a1['MGlYU']});if(!_0x4a2a83)return _0x4545a1[_0x1c41cf(0xbe)](_interopRequireDefault,helper[_0x1c41cf(0xb1)](_0x4545a1['xSxns']));return _0x4545a1[_0x1c41cf(0xbe)](_interopRequireDefault,helper[_0x1c41cf(0xb1)](_0x4a2a83));})()),_seleniumWebdriver2=((()=>{const _0x456962=a16_0x1d5a30,_0x3d812c={'QBSMW':function(_0x3c1b6e,_0x399cdf){return _0x3c1b6e(_0x399cdf);}};try{const _0x4375d3=helper['requireSeleniumWebdriver']();return helper[_0x456962(0xe4)](),_0x3d812c[_0x456962(0x97)](_interopRequireDefault,_0x4375d3);}catch{return null;}})());function a16_0x3f83(){const _0x54c329=['cleanupDrivers','../../../helpers/logger','PoOUv','mxlhb','builder','platformCaps','jest-config','IKFXl','jest-environment-node','browserStackPercyOptions','mode','name','default','1812584gtFVqS','HGqge','wXQVr','../../../helpers/test-observability/utils','CusHN','browserstackPercyBestPlatform','QBSMW','650595BHOAEa','__skipSessionStatus','browserstackAgentV2','resolveTestEnvironment','__driversArray','percyCaptureMode','quit','registerListeners','ICQEx','global','KUXoR','../../../helpers/test-observability/requestQueueHandler','testContext','skipSessionStatus','__drivers','failFastActive','framework','BSTACK_DELTA','failFast','531783KkFlMr','sessionNameProvided','percy','\x20>\x20','zbHiN','join','requireModule','3|2|0|1|7|6|4|5','exports','KiSRC','2549046cHhTWR','shouldProcessEventForTesthub','../../utils/constants','testEnvironmentOptions','BSTACK_JEST_TEST_ENV','split','info','setup','isTrue','dWGDZ','32007toUatS','Builder','test','120ITHklp','Error\x20in\x20fail-fast\x20test_done\x20handler:','message','1698501UbBjWx','projectConfig','yOvzH','sLHen','projectName','nestedKeyValue','__timeout','capability','371844otHvbA','Wmtoi','UKWPP','cwd','__platformCaps','isNotUndefined','getTestEnvironment','cleanup','teardown','../../../helpers/helper','isBrowserstackInfra','buildName','__jestRetries','__webdriver','browserstackPlatformIndex','KkOfg','stJPk','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','configuration','JEST','capabilities','EeiEj','SUvny','modifyCommand','node','errors','88UwZuaL','1BlSVhk','jest-resolve','5YUPqAh','qIJQf','winstonLogger','browserStackGlobals','test_start','failFastOptions','xQlHS','OYtDW','test_done','testPath','skip','retries__'];a16_0x3f83=function(){return _0x54c329;};return a16_0x3f83();}function _interopRequireDefault(_0x2180c4){return _0x2180c4&&_0x2180c4['__esModule']?_0x2180c4:{'default':_0x2180c4};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x1d5a30(0x90)][a16_0x1d5a30(0xc0)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x1d5a30(0x90)]{constructor(_0x5549c8){const _0xf35445=a16_0x1d5a30,_0x5f22da={'OYtDW':_0xf35445(0x9e),'sLHen':function(_0x443b45,_0x431afc){return _0x443b45+_0x431afc;},'yOvzH':'bstack:options','ICQEx':function(_0x1c47c7,_0x483629){return _0x1c47c7(_0x483629);},'KUXoR':'../../../helpers/test-orchestration/failfastManager','GhxdU':_0xf35445(0xb2),'LYMzt':_0xf35445(0xb8),'PoOUv':_0xf35445(0x8d),'zbHiN':_0xf35445(0x96),'XivFE':_0xf35445(0xad),'YDxnx':function(_0x5dbc92,_0x35705b){return _0x5dbc92(_0x35705b);},'KkOfg':'../../../index','wXQVr':_0xf35445(0x9d)};super(_0x5549c8),this[_0xf35445(0xa1)][_0xf35445(0xcb)]=0x0,this[_0xf35445(0xdf)]={};!_0x5549c8['testEnvironmentOptions']&&(_0x5549c8[_0xf35445(0xb8)]={});if(helper[_0xf35445(0xd7)]()){_0x5549c8[_0xf35445(0xb8)]=_0x5549c8['projectConfig']?_0x5549c8[_0xf35445(0xc6)][_0xf35445(0xb8)]:_0x5549c8[_0xf35445(0xb8)];_seleniumWebdriver2&&(this[_0xf35445(0x88)]=new _seleniumWebdriver2[(_0xf35445(0x90))][(_0xf35445(0xc0))]());this['capability']=_0x5549c8[_0xf35445(0xc6)]?_0x5549c8[_0xf35445(0xc6)][_0xf35445(0xcc)]:_0x5549c8[_0xf35445(0xcc)],this[_0xf35445(0xa1)]['__timeout']=_0x5f22da[_0xf35445(0xc8)](_0x5549c8[_0xf35445(0xb8)]['timeout__']||0x1388,constants[_0xf35445(0xa9)]),this[_0xf35445(0xef)]=_0x5549c8[_0xf35445(0xb8)][_0xf35445(0xaa)];if(this['failFastOptions']){const _0x3974cc=this[_0xf35445(0xcc)][_0x5f22da['yOvzH']]?.[_0xf35445(0xd8)]||'',_0x309cf5=this[_0xf35445(0xcc)][_0x5f22da[_0xf35445(0xc7)]]?.[_0xf35445(0xc9)]||'';this['failFast']=new(_0x5f22da[_0xf35445(0xa0)](require,_0x5f22da[_0xf35445(0xa2)]))(this['failFastOptions'],_0x3974cc,_0x309cf5),this[_0xf35445(0xa1)][_0xf35445(0xa7)]=![];}helper[_0xf35445(0xd2)](_0x5549c8[_0xf35445(0xb8)][_0xf35445(0xf5)])&&(this[_0xf35445(0xa1)][_0xf35445(0xd9)]=_0x5549c8['testEnvironmentOptions'][_0xf35445(0xf5)]);}if(testhubUtils[_0xf35445(0xb6)]()){const _0xd07bee=new ObservabilityReporter();_0xd07bee[_0xf35445(0x9f)]();}this[_0xf35445(0xa1)][_0xf35445(0xed)]={},this[_0xf35445(0xdf)]=_0x5549c8[_0xf35445(0xb8)],this[_0xf35445(0xdf)][_0xf35445(0xa8)]=constants['FRAMEWORKS'][_0xf35445(0xe0)],this[_0xf35445(0xa1)][_0xf35445(0xdb)]=(_0x5549c8['projectConfig']?_0x5549c8[_0xf35445(0xc6)][_0xf35445(0xdb)]:_0x5549c8['browserstackPlatformIndex'])||0x0,this[_0xf35445(0xa1)][_0xf35445(0xd1)]=this[_0xf35445(0xdf)]&&this['configuration'][_0xf35445(0x89)]&&Array['isArray'](this[_0xf35445(0xdf)][_0xf35445(0x89)])&&this[_0xf35445(0xdf)][_0xf35445(0x89)][this[_0xf35445(0xa1)][_0xf35445(0xdb)]]||{};const _0x345917=this[_0xf35445(0xa1)][_0xf35445(0xdb)],_0x46a77b={...this[_0xf35445(0xdf)],'capability':this[_0xf35445(0xdf)][_0xf35445(0xe1)]&&Array['isArray'](this['configuration'][_0xf35445(0xe1)])&&this[_0xf35445(0xdf)]['capabilities'][_0x345917]||{},'platformCaps':this[_0xf35445(0xdf)]['platformCaps']&&Array['isArray'](this[_0xf35445(0xdf)][_0xf35445(0x89)])&&this[_0xf35445(0xdf)][_0xf35445(0x89)][_0x345917]||{}};delete _0x46a77b['capabilities'],this['global']['jestConfig']=_0x46a77b;if(_seleniumWebdriver2){const _0xb9f013=_0x5f22da['GhxdU'][_0xf35445(0xba)]('|');let _0xaef317=0x0;while(!![]){switch(_0xb9f013[_0xaef317++]){case'0':this['global']['browserstackPercyBestPlatform']=helper[_0xf35445(0xca)](_0x5549c8,[_0x5f22da['LYMzt'],_0x5f22da['PoOUv'],_0x5f22da[_0xf35445(0xaf)]]);continue;case'1':this[_0xf35445(0xa1)][_0xf35445(0xad)]=helper[_0xf35445(0xca)](_0x5549c8,[_0x5f22da['LYMzt'],_0x5f22da[_0xf35445(0x86)],_0x5f22da['XivFE']]);continue;case'2':this[_0xf35445(0xa1)][_0xf35445(0xda)]=_0x5f22da['YDxnx'](require,_0x5f22da[_0xf35445(0xdc)])[_0xf35445(0x9a)]({...this['configuration'],'capability':this[_0xf35445(0xcc)]||{}},this,testhubUtils[_0xf35445(0xb6)]());continue;case'3':this[_0xf35445(0xa1)][_0xf35445(0xa6)]=[];continue;case'4':this[_0xf35445(0xa1)][_0xf35445(0x99)]=helper['isTrue'](this[_0xf35445(0xdf)][_0xf35445(0xa5)]);continue;case'5':this[_0xf35445(0xa1)]['cleanup']=async()=>{const _0x5bc242=_0xf35445;await this[_0x5bc242(0xa1)]['driver']['quit'](_0x5f22da[_0x5bc242(0xf1)]);};continue;case'6':helper[_0xf35445(0xbd)](this[_0xf35445(0xdf)]['skipSessionName'])?this[_0xf35445(0xa1)][_0xf35445(0xac)]=!![]:this[_0xf35445(0xa1)][_0xf35445(0xac)]=![];continue;case'7':this[_0xf35445(0xa1)][_0xf35445(0x9d)]=helper[_0xf35445(0xca)](_0x5549c8,[_0x5f22da['LYMzt'],_0x5f22da[_0xf35445(0x86)],_0x5f22da[_0xf35445(0x93)]]);continue;}break;}}}async[a16_0x1d5a30(0xd5)](){const _0x46bcc5=a16_0x1d5a30;_seleniumWebdriver2&&(await helper[_0x46bcc5(0xf6)](this['global'][_0x46bcc5(0x9c)]),this[_0x46bcc5(0xa1)][_0x46bcc5(0xda)][_0x46bcc5(0xc0)]=originalBuilder),await RequestQueueHandler['getInstance']()['shutdown']();}async[a16_0x1d5a30(0xbc)](){}async['handleTestEvent'](_0x4703b0,_0x293520){const _0x7d1225=a16_0x1d5a30,_0x5930c5={};_0x5930c5[_0x7d1225(0x87)]=function(_0x4ee0e9,_0x4991ac){return _0x4ee0e9===_0x4991ac;},_0x5930c5[_0x7d1225(0x95)]=_0x7d1225(0xee),_0x5930c5[_0x7d1225(0xf0)]=function(_0x44b5a8,_0xee48e8){return _0x44b5a8===_0xee48e8;},_0x5930c5[_0x7d1225(0xdd)]=_0x7d1225(0xf4),_0x5930c5[_0x7d1225(0xcf)]=function(_0x54008a,_0x14b041){return _0x54008a===_0x14b041;},_0x5930c5[_0x7d1225(0x8b)]=_0x7d1225(0xf2),_0x5930c5[_0x7d1225(0xeb)]=_0x7d1225(0xae),_0x5930c5['SWKnM']=function(_0x5ac412,_0x1d73ac){return _0x5ac412===_0x1d73ac;},_0x5930c5[_0x7d1225(0xb4)]=_0x7d1225(0xc3),_0x5930c5[_0x7d1225(0xce)]=function(_0x8b868a,_0x25fdb0){return _0x8b868a===_0x25fdb0;},_0x5930c5['SUvny']=_0x7d1225(0xd5);const _0x2e3c3a=_0x5930c5,{name:_0x5a7eba}=_0x4703b0;if(_0x2e3c3a[_0x7d1225(0x87)](_0x5a7eba,_0x2e3c3a[_0x7d1225(0x95)])){this[_0x7d1225(0xa1)][_0x7d1225(0xa4)]=_0x4703b0[_0x7d1225(0xc1)];if(_0x2e3c3a[_0x7d1225(0xf0)](this['global'][_0x7d1225(0xa7)],!![])){const _0x214e1a=_0x4703b0[_0x7d1225(0xc1)][_0x7d1225(0x8f)];logger[_0x7d1225(0xbb)](_0x7d1225(0xde)+_0x214e1a),_0x4703b0[_0x7d1225(0xc1)][_0x7d1225(0x8e)]=_0x2e3c3a[_0x7d1225(0xdd)];}}if(this[_0x7d1225(0xaa)]&&_0x2e3c3a['UKWPP'](_0x5a7eba,_0x2e3c3a['IKFXl']))try{const _0x5cc6c1=_0x4703b0['test'][_0x7d1225(0xf3)][_0x7d1225(0xb0)](_0x2e3c3a[_0x7d1225(0xeb)]),_0x1b0093=_0x4703b0[_0x7d1225(0xc1)][_0x7d1225(0xe6)];await this['failFast']['onTestDone'](_0x5cc6c1,_0x1b0093);const _0x1e0063=await this[_0x7d1225(0xaa)]['shouldFailFast']();_0x2e3c3a['SWKnM'](this[_0x7d1225(0xa1)]['failFastActive'],![])&&_0x2e3c3a['xQlHS'](_0x1e0063,!![])&&(this[_0x7d1225(0xa1)][_0x7d1225(0xa7)]=!![]);}catch(_0xc1429b){logger['debug'](_0x2e3c3a[_0x7d1225(0xb4)],_0xc1429b[_0x7d1225(0xc4)]);}_0x2e3c3a[_0x7d1225(0xce)](_0x5a7eba,_0x2e3c3a[_0x7d1225(0xe3)])&&(this[_0x7d1225(0xaa)]&&this['failFast'][_0x7d1225(0xd4)]());}}module[a16_0x1d5a30(0xb3)]=CustomEnvironment;
1
+ const a16_0x34c9bb=a16_0x1dda;(function(_0x350101,_0x1b0cd5){const _0x1a8a50=a16_0x1dda,_0x5c3a88=_0x350101();while(!![]){try{const _0x43271c=-parseInt(_0x1a8a50(0x1c0))/0x1+parseInt(_0x1a8a50(0x1a9))/0x2*(-parseInt(_0x1a8a50(0x1ec))/0x3)+parseInt(_0x1a8a50(0x1e9))/0x4+parseInt(_0x1a8a50(0x1b6))/0x5*(parseInt(_0x1a8a50(0x193))/0x6)+parseInt(_0x1a8a50(0x195))/0x7*(-parseInt(_0x1a8a50(0x18d))/0x8)+-parseInt(_0x1a8a50(0x1a2))/0x9+-parseInt(_0x1a8a50(0x1bd))/0xa*(-parseInt(_0x1a8a50(0x1d6))/0xb);if(_0x43271c===_0x1b0cd5)break;else _0x5c3a88['push'](_0x5c3a88['shift']());}catch(_0x5eefef){_0x5c3a88['push'](_0x5c3a88['shift']());}}}(a16_0xd86e,0x8f2dd));const helper=require(a16_0x34c9bb(0x1db)),constants=require(a16_0x34c9bb(0x1cc)),{isTestObservabilitySession}=require(a16_0x34c9bb(0x19c)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require(a16_0x34c9bb(0x1c2)),testhubUtils=require(a16_0x34c9bb(0x1a5)),logger=require('../../../helpers/logger')[a16_0x34c9bb(0x1d9)],getTestEnvironment=((()=>{const _0x3b092b=a16_0x34c9bb,_0xbb8d6c={};_0xbb8d6c['LFVRD']=_0x3b092b(0x199),_0xbb8d6c[_0x3b092b(0x1ca)]=_0x3b092b(0x1c6);const _0x4ceb45=_0xbb8d6c;try{const _0x290ffc=helper[_0x3b092b(0x18c)](_0x4ceb45[_0x3b092b(0x1f5)]);if(_0x290ffc[_0x3b092b(0x1ce)])return _0x290ffc['resolveTestEnvironment'];const _0x48feec=helper[_0x3b092b(0x18c)](_0x4ceb45[_0x3b092b(0x1ca)]);if(_0x48feec[_0x3b092b(0x19f)])return _0x48feec[_0x3b092b(0x19f)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x342010=a16_0x34c9bb,_0x4417c1={'obiNz':function(_0x5d9dad,_0x32e2ef){return _0x5d9dad(_0x32e2ef);},'hoRwl':'node','yLyUw':'jest-environment-node'},_0x5f119b=_0x4417c1[_0x342010(0x1e2)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x342010(0x1a1)][_0x342010(0x191)]||_0x4417c1[_0x342010(0x1af)]});if(!_0x5f119b)return _0x4417c1['obiNz'](_interopRequireDefault,helper[_0x342010(0x18c)](_0x4417c1[_0x342010(0x1ea)]));return _0x4417c1[_0x342010(0x1e2)](_interopRequireDefault,helper[_0x342010(0x18c)](_0x5f119b));})()),_seleniumWebdriver2=((()=>{const _0x2b4558=a16_0x34c9bb,_0x3f1ecd={'XducX':function(_0xff3772,_0x7ada95){return _0xff3772(_0x7ada95);}};try{const _0x9a222d=helper[_0x2b4558(0x198)]();return helper[_0x2b4558(0x1f7)](),_0x3f1ecd[_0x2b4558(0x18a)](_interopRequireDefault,_0x9a222d);}catch{return null;}})());function _interopRequireDefault(_0x3d7e47){const _0x1dc94d=a16_0x34c9bb;return _0x3d7e47&&_0x3d7e47[_0x1dc94d(0x1d5)]?_0x3d7e47:{'default':_0x3d7e47};}function a16_0x1dda(_0x42a7f1,_0x189a65){const _0xd86e83=a16_0xd86e();return a16_0x1dda=function(_0x1ddaf2,_0x14eddd){_0x1ddaf2=_0x1ddaf2-0x185;let _0x5abbdf=_0xd86e83[_0x1ddaf2];return _0x5abbdf;},a16_0x1dda(_0x42a7f1,_0x189a65);}function a16_0xd86e(){const _0x56b888=['../test-observability/obsReporter','shouldFailFast','info','global','jest-config','FeHNk','../../../helpers/test-orchestration/failfastManager','isArray','DAuzQ','exports','../../utils/constants','qFVpW','resolveTestEnvironment','browserstackPercyBestPlatform','quit','errors','timeout__','KpOKa','jZLUw','__esModule','9185tfgGoC','Builder','mode','winstonLogger','Binlc','../../../helpers/helper','registerListeners','skip','../../../index','browserStackPercyOptions','framework','default','obiNz','cleanup','__jestRetries','browserStackGlobals','nestedKeyValue','message','jestConfig','2689044jEDpaj','yLyUw','builder','15pvgBbV','setup','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','join','bOcgs','browserstackPlatformIndex','shouldProcessEventForTesthub','percy','BPpCK','LFVRD','czWOz','modifyCommand','Cobac','configuration','failFastOptions','ixgWA','testPath','XducX','QqbIg','requireModule','152jTYRPm','ldYdG','debug','capability','BSTACK_JEST_TEST_ENV','buildName','94602HWYwgS','isTrue','381101GLBnLv','projectName','__drivers','requireSeleniumWebdriver','jest-resolve','testContext','test','../../../helpers/test-observability/utils','FRAMEWORKS','handleTestEvent','getTestEnvironment','onTestDone','env','1959444bBHzxj','__timeout','sessionNameProvided','../../../helpers/testhub/utils','test_done','skipSessionName','testEnvironmentOptions','410610EjXKPO','isBrowserstackInfra','split','retries__','capabilities','failFast','hoRwl','__webdriver','__driversArray','7|6|3|5|2|0|4|1','WjUTU','Error\x20in\x20fail-fast\x20test_done\x20handler:','teardown','25icgUoU','projectConfig','\x20>\x20','nLnPS','platformCaps','bstack:options','shutdown','25930vucaty','mcnqA','failFastActive','51132XFrvWP','browserstackAgentV2'];a16_0xd86e=function(){return _0x56b888;};return a16_0xd86e();}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x34c9bb(0x1e1)][a16_0x34c9bb(0x1d7)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x34c9bb(0x1e1)]{constructor(_0x5ceb59){const _0x87b425=a16_0x34c9bb,_0x47533e={'WjUTU':_0x87b425(0x1d0),'TuwFM':function(_0xed5161,_0x3d8297){return _0xed5161+_0x3d8297;},'mcnqA':_0x87b425(0x1bb),'KoKij':function(_0x4e8ffc,_0x10be88){return _0x4e8ffc(_0x10be88);},'BPpCK':_0x87b425(0x1c8),'hSPdn':_0x87b425(0x1b2),'FeHNk':_0x87b425(0x1a8),'qFVpW':_0x87b425(0x1df),'GzwwL':'percyCaptureMode','KpOKa':_0x87b425(0x1cf),'ixgWA':_0x87b425(0x1f3),'Cobac':function(_0x2694fe,_0x9fac8c){return _0x2694fe(_0x9fac8c);},'lnhWj':_0x87b425(0x1de)};super(_0x5ceb59),this['global'][_0x87b425(0x1a3)]=0x0,this[_0x87b425(0x186)]={};!_0x5ceb59[_0x87b425(0x1a8)]&&(_0x5ceb59['testEnvironmentOptions']={});if(helper[_0x87b425(0x1aa)]()){_0x5ceb59[_0x87b425(0x1a8)]=_0x5ceb59[_0x87b425(0x1b7)]?_0x5ceb59[_0x87b425(0x1b7)][_0x87b425(0x1a8)]:_0x5ceb59['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x87b425(0x1eb)]=new _seleniumWebdriver2[(_0x87b425(0x1e1))][(_0x87b425(0x1d7))]());this['capability']=_0x5ceb59[_0x87b425(0x1b7)]?_0x5ceb59[_0x87b425(0x1b7)]['capability']:_0x5ceb59['capability'],this[_0x87b425(0x1c5)][_0x87b425(0x1a3)]=_0x47533e['TuwFM'](_0x5ceb59['testEnvironmentOptions'][_0x87b425(0x1d2)]||0x1388,constants['BSTACK_DELTA']),this[_0x87b425(0x187)]=_0x5ceb59[_0x87b425(0x1a8)]['failFast'];if(this[_0x87b425(0x187)]){const _0x4cdb48=this[_0x87b425(0x190)][_0x47533e['mcnqA']]?.[_0x87b425(0x192)]||'',_0x3cb23c=this['capability'][_0x47533e[_0x87b425(0x1be)]]?.[_0x87b425(0x196)]||'';this['failFast']=new(_0x47533e['KoKij'](require,_0x47533e[_0x87b425(0x1f4)]))(this[_0x87b425(0x187)],_0x4cdb48,_0x3cb23c),this['global'][_0x87b425(0x1bf)]=![];}helper['isNotUndefined'](_0x5ceb59['testEnvironmentOptions'][_0x87b425(0x1ac)])&&(this[_0x87b425(0x1c5)][_0x87b425(0x1e4)]=_0x5ceb59[_0x87b425(0x1a8)]['retries__']);}if(testhubUtils[_0x87b425(0x1f2)]()){const _0x546f72=new ObservabilityReporter();_0x546f72[_0x87b425(0x1dc)]();}this[_0x87b425(0x1c5)][_0x87b425(0x1e5)]={},this['configuration']=_0x5ceb59[_0x87b425(0x1a8)],this[_0x87b425(0x186)][_0x87b425(0x1e0)]=constants[_0x87b425(0x19d)]['JEST'],this['global'][_0x87b425(0x1f1)]=(_0x5ceb59[_0x87b425(0x1b7)]?_0x5ceb59['projectConfig'][_0x87b425(0x1f1)]:_0x5ceb59[_0x87b425(0x1f1)])||0x0,this[_0x87b425(0x1c5)]['__platformCaps']=this['configuration']&&this[_0x87b425(0x186)][_0x87b425(0x1ba)]&&Array['isArray'](this[_0x87b425(0x186)]['platformCaps'])&&this[_0x87b425(0x186)][_0x87b425(0x1ba)][this[_0x87b425(0x1c5)][_0x87b425(0x1f1)]]||{};const _0x548a4c=this[_0x87b425(0x1c5)][_0x87b425(0x1f1)],_0x12e52b={...this[_0x87b425(0x186)],'capability':this['configuration'][_0x87b425(0x1ad)]&&Array[_0x87b425(0x1c9)](this[_0x87b425(0x186)][_0x87b425(0x1ad)])&&this[_0x87b425(0x186)][_0x87b425(0x1ad)][_0x548a4c]||{},'platformCaps':this[_0x87b425(0x186)][_0x87b425(0x1ba)]&&Array[_0x87b425(0x1c9)](this[_0x87b425(0x186)][_0x87b425(0x1ba)])&&this[_0x87b425(0x186)][_0x87b425(0x1ba)][_0x548a4c]||{}};delete _0x12e52b[_0x87b425(0x1ad)],this['global'][_0x87b425(0x1e8)]=_0x12e52b;if(_seleniumWebdriver2){const _0x5bfe8d=_0x47533e['hSPdn'][_0x87b425(0x1ab)]('|');let _0x4e82d6=0x0;while(!![]){switch(_0x5bfe8d[_0x4e82d6++]){case'0':helper[_0x87b425(0x194)](this[_0x87b425(0x186)][_0x87b425(0x1a7)])?this['global']['sessionNameProvided']=!![]:this[_0x87b425(0x1c5)][_0x87b425(0x1a4)]=![];continue;case'1':this['global']['cleanup']=async()=>{const _0x4e6fbb=_0x87b425;await this['global']['driver'][_0x4e6fbb(0x1d0)](_0x47533e[_0x4e6fbb(0x1b3)]);};continue;case'2':this[_0x87b425(0x1c5)]['percyCaptureMode']=helper[_0x87b425(0x1e6)](_0x5ceb59,[_0x47533e[_0x87b425(0x1c7)],_0x47533e[_0x87b425(0x1cd)],_0x47533e['GzwwL']]);continue;case'3':this['global'][_0x87b425(0x1cf)]=helper[_0x87b425(0x1e6)](_0x5ceb59,[_0x47533e['FeHNk'],_0x47533e[_0x87b425(0x1cd)],_0x47533e[_0x87b425(0x1d3)]]);continue;case'4':this['global']['__skipSessionStatus']=helper[_0x87b425(0x194)](this[_0x87b425(0x186)]['skipSessionStatus']);continue;case'5':this['global'][_0x87b425(0x1f3)]=helper['nestedKeyValue'](_0x5ceb59,[_0x47533e[_0x87b425(0x1c7)],_0x47533e['qFVpW'],_0x47533e[_0x87b425(0x188)]]);continue;case'6':this[_0x87b425(0x1c5)][_0x87b425(0x1b0)]=_0x47533e[_0x87b425(0x185)](require,_0x47533e['lnhWj'])[_0x87b425(0x1c1)]({...this[_0x87b425(0x186)],'capability':this[_0x87b425(0x190)]||{}},this,testhubUtils[_0x87b425(0x1f2)]());continue;case'7':this['global'][_0x87b425(0x197)]=[];continue;}break;}}}async[a16_0x34c9bb(0x1b5)](){const _0x4caf23=a16_0x34c9bb;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x4caf23(0x1c5)][_0x4caf23(0x1b1)]),this[_0x4caf23(0x1c5)][_0x4caf23(0x1b0)]['Builder']=originalBuilder),await RequestQueueHandler['getInstance']()[_0x4caf23(0x1bc)]();}async[a16_0x34c9bb(0x1ed)](){}async[a16_0x34c9bb(0x19e)](_0x2266d0,_0x20ad3e){const _0x14a249=a16_0x34c9bb,_0x4285fc={};_0x4285fc[_0x14a249(0x18b)]=function(_0x42fc12,_0x485a88){return _0x42fc12===_0x485a88;},_0x4285fc['Binlc']='test_start',_0x4285fc[_0x14a249(0x1f0)]=_0x14a249(0x1dd),_0x4285fc[_0x14a249(0x1d4)]=_0x14a249(0x1a6),_0x4285fc['nLnPS']=_0x14a249(0x1b8),_0x4285fc[_0x14a249(0x18e)]=_0x14a249(0x1b4),_0x4285fc[_0x14a249(0x1f6)]=_0x14a249(0x1b5);const _0x3010f1=_0x4285fc,{name:_0x4162cb}=_0x2266d0;if(_0x3010f1[_0x14a249(0x18b)](_0x4162cb,_0x3010f1[_0x14a249(0x1da)])){this[_0x14a249(0x1c5)][_0x14a249(0x19a)]=_0x2266d0[_0x14a249(0x19b)];if(_0x3010f1[_0x14a249(0x18b)](this[_0x14a249(0x1c5)][_0x14a249(0x1bf)],!![])){const _0x3b35e9=_0x2266d0[_0x14a249(0x19b)]['name'];logger[_0x14a249(0x1c4)](_0x14a249(0x1ee)+_0x3b35e9),_0x2266d0[_0x14a249(0x19b)][_0x14a249(0x1d8)]=_0x3010f1[_0x14a249(0x1f0)];}}if(this[_0x14a249(0x1ae)]&&_0x3010f1['QqbIg'](_0x4162cb,_0x3010f1['jZLUw']))try{const _0x1285e8=_0x2266d0[_0x14a249(0x19b)][_0x14a249(0x189)][_0x14a249(0x1ef)](_0x3010f1[_0x14a249(0x1b9)]),_0x12f719=_0x2266d0[_0x14a249(0x19b)][_0x14a249(0x1d1)];await this[_0x14a249(0x1ae)][_0x14a249(0x1a0)](_0x1285e8,_0x12f719);const _0x2112df=await this[_0x14a249(0x1ae)][_0x14a249(0x1c3)]();_0x3010f1['QqbIg'](this['global'][_0x14a249(0x1bf)],![])&&_0x3010f1['QqbIg'](_0x2112df,!![])&&(this['global'][_0x14a249(0x1bf)]=!![]);}catch(_0xa665d9){logger[_0x14a249(0x18f)](_0x3010f1['ldYdG'],_0xa665d9[_0x14a249(0x1e7)]);}_0x3010f1[_0x14a249(0x18b)](_0x4162cb,_0x3010f1[_0x14a249(0x1f6)])&&(this[_0x14a249(0x1ae)]&&this[_0x14a249(0x1ae)][_0x14a249(0x1e3)]());}}module[a16_0x34c9bb(0x1cb)]=CustomEnvironment;
@@ -1 +1 @@
1
- const a17_0x8254f6=a17_0x3937;(function(_0x5eb492,_0x53fb90){const _0x3776f1=a17_0x3937,_0x2bf63d=_0x5eb492();while(!![]){try{const _0x5b020d=parseInt(_0x3776f1(0x245))/0x1*(parseInt(_0x3776f1(0x217))/0x2)+parseInt(_0x3776f1(0x1d6))/0x3+-parseInt(_0x3776f1(0x1cc))/0x4+parseInt(_0x3776f1(0x1b1))/0x5+-parseInt(_0x3776f1(0x1fc))/0x6*(-parseInt(_0x3776f1(0x181))/0x7)+-parseInt(_0x3776f1(0x1b2))/0x8+-parseInt(_0x3776f1(0x1c6))/0x9*(-parseInt(_0x3776f1(0x1e3))/0xa);if(_0x5b020d===_0x53fb90)break;else _0x2bf63d['push'](_0x2bf63d['shift']());}catch(_0x51f182){_0x2bf63d['push'](_0x2bf63d['shift']());}}}(a17_0x69c8,0x7b7ee));const {requireModule}=require(a17_0x8254f6(0x1bf)),ObservabilityReporter=require(a17_0x8254f6(0x1ff)),RequestQueueHandler=require(a17_0x8254f6(0x1bb)),TestDetails=require(a17_0x8254f6(0x201)),{patchConsoleLogger,debug}=require('../../../helpers/test-observability/utils'),{o11yErrorHandler}=require(a17_0x8254f6(0x19c)),{shouldProcessEventForTesthub}=require(a17_0x8254f6(0x213)),testHubConstants=require(a17_0x8254f6(0x16d)),BrowserstackCLI=require(a17_0x8254f6(0x18e)),TestFrameworkState=require(a17_0x8254f6(0x1fd)),HookState=require(a17_0x8254f6(0x170)),JestUtils=require(a17_0x8254f6(0x231)),{v4:uuidv4}=require(a17_0x8254f6(0x164)),util=require(a17_0x8254f6(0x1fa)),logger=require(a17_0x8254f6(0x1d5))['winstonLogger'],{FRAMEWORKS}=require(a17_0x8254f6(0x24a));function a17_0x3937(_0x211e07,_0x2020ec){const _0x69c869=a17_0x69c8();return a17_0x3937=function(_0x39378f,_0x5af87c){_0x39378f=_0x39378f-0x161;let _0x2264b7=_0x69c869[_0x39378f];return _0x2264b7;},a17_0x3937(_0x211e07,_0x2020ec);}let exportsI;try{exportsI=requireModule(a17_0x8254f6(0x185),a17_0x8254f6(0x227));}catch{exportsI=requireModule(a17_0x8254f6(0x239),a17_0x8254f6(0x227));}const initInitialize=exportsI['initialize'],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x3b576e=a17_0x8254f6,_0x294217={'dIEui':_0x3b576e(0x21a),'UgJpl':function(_0x4ddb4f,_0x147c8e){return _0x4ddb4f(_0x147c8e);},'XDSVi':_0x3b576e(0x17a),'AElIE':function(_0x29910d,_0x4f0a05){return _0x29910d===_0x4f0a05;},'mEfvj':_0x3b576e(0x1ee)};try{const _0x44b348=BrowserstackCLI[_0x3b576e(0x17e)]();if(_0x44b348[_0x3b576e(0x198)]()&&_0x44b348['isRunning']())return logger[_0x3b576e(0x22d)](_0x294217[_0x3b576e(0x1e6)]),!![];const _0x19b061=process[_0x3b576e(0x1c2)]['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x19b061&&_0x44b348[_0x3b576e(0x198)]()){if(!_0x44b348[_0x3b576e(0x189)]())try{const _0x516f48=_0x294217[_0x3b576e(0x1c0)](require,_0x294217['XDSVi']),_0x3bd120=_0x516f48['getAutomationFrameworkDetail']();(!_0x3bd120||!_0x3bd120['name'])&&(_0x294217[_0x3b576e(0x249)](process['env']['BROWSERSTACK_PUPPETEER'],_0x294217[_0x3b576e(0x19f)])?_0x516f48['setFrameworkDetail'](FRAMEWORKS['JEST'],FRAMEWORKS[_0x3b576e(0x18f)]):_0x516f48[_0x3b576e(0x1c8)](FRAMEWORKS[_0x3b576e(0x20d)],FRAMEWORKS[_0x3b576e(0x240)])),await _0x44b348['bootstrap']();}catch(_0x2f1dbf){return _0x294217[_0x3b576e(0x1c0)](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util[_0x3b576e(0x21e)](_0x2f1dbf)),![];}return _0x44b348[_0x3b576e(0x189)]();}return![];}catch(_0x41113e){return _0x294217[_0x3b576e(0x1c0)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x3b576e(0x21e)](_0x41113e)),![];}}function getTestIdentifierForHook(_0x1736bf){const _0x5546d0=a17_0x8254f6,_0x5431e0={};_0x5431e0[_0x5546d0(0x1aa)]=function(_0x2327de,_0x52f202){return _0x2327de===_0x52f202;},_0x5431e0[_0x5546d0(0x1da)]=_0x5546d0(0x1e9),_0x5431e0[_0x5546d0(0x169)]=function(_0x61b2e7,_0x4013f4){return _0x61b2e7===_0x4013f4;},_0x5431e0[_0x5546d0(0x1b5)]='beforeAll';const _0x127a1e=_0x5431e0;if(_0x127a1e[_0x5546d0(0x1aa)](_0x1736bf['type'],_0x127a1e['eAMoZ'])||_0x127a1e['hKYYf'](_0x1736bf[_0x5546d0(0x1a8)],_0x127a1e[_0x5546d0(0x1b5)])){let _0x5744f8=global[_0x5546d0(0x203)];if(!_0x5744f8&&_0x127a1e[_0x5546d0(0x169)](_0x1736bf[_0x5546d0(0x1a8)],_0x127a1e['YAooZ'])&&_0x1736bf[_0x5546d0(0x211)]){const _0x3c6a95={};_0x3c6a95[_0x5546d0(0x172)]=_0x1736bf[_0x5546d0(0x211)][_0x5546d0(0x172)],_0x3c6a95['parent']=_0x1736bf[_0x5546d0(0x211)][_0x5546d0(0x211)],_0x3c6a95[_0x5546d0(0x16b)]=_0x1736bf[_0x5546d0(0x16b)],_0x3c6a95['file']=_0x1736bf[_0x5546d0(0x183)];const _0xc3ee2b=_0x3c6a95;_0x5744f8=jestUtils[_0x5546d0(0x24d)](_0xc3ee2b);}return _0x5744f8;}return global[_0x5546d0(0x203)];}function a17_0x69c8(){const _0x54597c=['7677808GYlaUk','oNaBR','jest-circus/build/utils.js','YAooZ','jestConfig','mIakv','sEsIs','tkqnY','trackEvent','../../../helpers/test-observability/requestQueueHandler','feNMV','_bstackTestFailureReason','createTestFrameworkData','../../../helpers/helper','UgJpl','ogsAA','env','Handling\x20test\x20event\x20for\x20CLI:\x20','EVENT','beforeAll','27JKDeUS','hook','setFrameworkDetail','currentTest','JMrcZ','message','897532mCVJWK','GCSQK','cYhxU','browserstackPlatformIndex','current_test','AFTER_ALL','errorsDetailed','sendTestRunEvent','testInfo','../../../helpers/logger','1990065UfnegD','test_start','WKRti','match','eAMoZ','makeSingleTestResult','test_done','hookUUID','Handling\x20hook\x20event\x20for\x20CLI:\x20','wJary','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','afterAll','jest-circus/build/state.js','2154430XtCnGf','EventHandler','TestRunSkipped','dIEui','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','roiFz','beforeEach','BwXgB','registerListeners','hookAnalyticsId','POST','true','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','CYqaf','BROWSERSTACK_PUPPETEER','ZCqLI','shutdown','MwQpF','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','XWwDW','oDnuE','DqlaH','util','unhandledErrors','1874868fVjYPx','../../v2/state/testFrameworkState','failureMessage','../test-observability/obsReporter','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','../test-observability/test-details','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','__jestCurrentTestIdentifier','evvky','FYstN','testAnalyticsId','hook_failure','BEFORE_EACH','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','cWUnF','cfIZG','map','JEST','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','lSZUs','NCsSo','parent','dseVp','../../../helpers/testhub/utils','qQGeO','failed','lEBDq','51878kWMetB','xRJuh','testUUID','CLI\x20is\x20enabled\x20and\x20running.','_bstackTestStatus','wnvvT','AFTER_EACH','format','getTestFramework','keys','LOG_REPORT','FNOfC','sJiMN','hSKnT','eRVUd','errors','jest-circus','rpVDB','zPIRV',':hookAnalyticsId','fail','currentHook','debug','pid','unshift','toISOString','../../v2/utils/jest-utils','pDqlX','UvhEU','__bstackPlatformIndex','run_describe_finish','FJTrd',',\x20re-registering\x20event\x20handler','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','jest-circus/build/jestAdapterInit.js','LyiwR','setActiveHook','length','status','join','title','PLAYWRIGHT','createHookData','HookFinished','setTestUUID','HFIdR','1VGTcOn','HookRunFinished','testIdentifier','VBrSh','AElIE','../../utils/constants','cznkg','configuration','createIdentifierFromJestTest','afterEach','__workerDetails','tHwZi','CvRwN','toString','KZEBh','uuid','TestRunFinished','pvLui','markedStatus','test_skip','hKYYf','removeAllListeners','asyncError','AZbcS','../../../helpers/testhub/constants','HookRunStarted','TqhBr','../../v2/state/hookState','removeTestUUID','name','started_at','error','khWJj','Error\x20reading\x20platformIndex\x20from\x20args:\x20','quCOI','Error\x20routing\x20to\x20JestTestFramework:\x20','qzePm','../../v2/cliUtils','stack-trace','JcITb','gymBk','getInstance','fyPpl','GOnOl','7dZMNUJ','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','file','XaPGs','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','test','HookStarted','TEST','isRunning','YCAla','call','\x20for\x20hook\x20type:\x20','OSdBq','../../v2/browserstackCLI','PUPPETEER','RzBAt','fTITB','hbICb','luttL','Ncekl','BROWSERSTACK_PLATFORM_INDEX','VvaPR','ROOT_DESCRIBE_BLOCK','isCliEnabled','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','testStarted','bVcGv','../../../helpers/test-observability/error-handler','config','getFileName','mEfvj','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','HXXGM','retryOf','removeActiveHook','mBRTr','parse','kMhCL','includes','type','hook_success','EhQUl','initialize',',\x20BROWSERSTACK_PUPPETEER=','PRE','hook_start','passed','FYLtM','209230aNgOsx'];a17_0x69c8=function(){return _0x54597c;};return a17_0x69c8();}function mapHookTypeToState(_0x4bd717){const _0x3fd5d8=a17_0x8254f6,_0x4f426f={};_0x4f426f[_0x3fd5d8(0x1c5)]=TestFrameworkState['BEFORE_ALL'],_0x4f426f[_0x3fd5d8(0x1e1)]=TestFrameworkState[_0x3fd5d8(0x1d1)],_0x4f426f['beforeEach']=TestFrameworkState['BEFORE_EACH'],_0x4f426f[_0x3fd5d8(0x24e)]=TestFrameworkState[_0x3fd5d8(0x21d)];const _0x28f84f=_0x4f426f;return _0x28f84f[_0x4bd717]||TestFrameworkState[_0x3fd5d8(0x208)];}async function handleHookEventCLI(_0x2fb8e0,_0x39d2f3,_0x5f3c94){const _0x4ed04b=a17_0x8254f6,_0x4daf72={'bVcGv':function(_0x512bfd,_0xeb1418){return _0x512bfd(_0xeb1418);},'Ncekl':_0x4ed04b(0x17b),'quCOI':function(_0x48385d,_0x577b7b){return _0x48385d===_0x577b7b;},'UvhEU':_0x4ed04b(0x197),'qQGeO':function(_0x180a6c){return _0x180a6c();},'cWUnF':function(_0x5a834a){return _0x5a834a();},'dseVp':function(_0x19f96c,_0xcd8ab3){return _0x19f96c===_0xcd8ab3;},'FYLtM':_0x4ed04b(0x16e),'pDqlX':function(_0x16d4d1,_0x526c5c){return _0x16d4d1(_0x526c5c);},'fyPpl':function(_0x5a0bf7,_0x9ad71f){return _0x5a0bf7===_0x9ad71f;},'VBrSh':function(_0x38c32e,_0x3e54d7){return _0x38c32e===_0x3e54d7;},'hbICb':function(_0x4e9604,_0x5db3ca){return _0x4e9604===_0x5db3ca;},'xRJuh':_0x4ed04b(0x246),'gymBk':_0x4ed04b(0x1c7),'hUtnS':function(_0x5e3b15,_0x2ac01c){return _0x5e3b15===_0x2ac01c;}};logger[_0x4ed04b(0x22d)](_0x4ed04b(0x1de)+_0x39d2f3+_0x4ed04b(0x18c)+_0x2fb8e0['type']);try{if(_0x2fb8e0['fn']&&_0x2fb8e0['fn']['toString']()[_0x4ed04b(0x1d9)](/browserstack internal helper hook/))return;if(_0x2fb8e0[_0x4ed04b(0x211)]&&_0x4daf72[_0x4ed04b(0x177)](_0x2fb8e0[_0x4ed04b(0x211)]['name'],_0x4daf72[_0x4ed04b(0x233)])){const _0x363e8e=_0x2fb8e0[_0x4ed04b(0x16b)]&&((()=>{const _0x242f17=_0x4ed04b;try{const _0x231486=_0x4daf72[_0x242f17(0x19b)](require,_0x4daf72[_0x242f17(0x194)]),_0x59240e=_0x231486[_0x242f17(0x1a5)][_0x242f17(0x18b)](_0x231486,_0x2fb8e0[_0x242f17(0x16b)]);return _0x59240e[0x0]&&_0x59240e[0x0][_0x242f17(0x19e)]?_0x59240e[0x0][_0x242f17(0x19e)]():null;}catch(_0x46150e){return logger[_0x242f17(0x22d)](_0x242f17(0x1e0)+_0x46150e[_0x242f17(0x1cb)]),null;}})())||_0x2fb8e0[_0x4ed04b(0x183)]||null;if(!_0x363e8e)return;}let _0x46e062=_0x2fb8e0[_0x4ed04b(0x1ec)];if(!_0x46e062)_0x46e062=_0x4daf72[_0x4ed04b(0x214)](uuidv4),_0x2fb8e0[_0x4ed04b(0x1ec)]=_0x46e062;else _0x2fb8e0[_0x4ed04b(0x167)]&&(_0x46e062=_0x4daf72[_0x4ed04b(0x20a)](uuidv4),_0x2fb8e0[_0x4ed04b(0x1ec)]=_0x46e062,delete _0x2fb8e0[_0x4ed04b(0x167)]);_0x4daf72[_0x4ed04b(0x212)](_0x39d2f3,_0x4daf72[_0x4ed04b(0x1b0)])&&(_0x2fb8e0[_0x4ed04b(0x173)]=new Date()[_0x4ed04b(0x230)]());const _0x5ac8dd=_0x4daf72['pDqlX'](getTestIdentifierForHook,_0x2fb8e0);!global[_0x4ed04b(0x24f)]&&(global['__workerDetails']={});if(_0x4daf72[_0x4ed04b(0x17f)](_0x39d2f3,_0x4daf72[_0x4ed04b(0x1b0)])){global[_0x4ed04b(0x24f)][_0x4ed04b(0x22c)]={'hookUUID':_0x46e062,'testIdentifier':_0x5ac8dd,'hookType':_0x2fb8e0['type'],'startedAt':new Date()[_0x4ed04b(0x230)]()};const _0x568041=BrowserstackCLI[_0x4ed04b(0x17e)]()[_0x4ed04b(0x21f)]();_0x568041&&_0x568041['setActiveHook']&&_0x568041[_0x4ed04b(0x23b)](_0x5ac8dd,_0x46e062,_0x2fb8e0[_0x4ed04b(0x1a8)]);}const _0x5c01e6=await jestUtils[_0x4ed04b(0x241)](_0x2fb8e0,_0x46e062,_0x39d2f3,_0x5ac8dd);if(!_0x5c01e6)return;const _0x2c9657=_0x4daf72[_0x4ed04b(0x232)](mapHookTypeToState,_0x2fb8e0[_0x4ed04b(0x1a8)]),_0x17e0ba=_0x4daf72[_0x4ed04b(0x248)](_0x39d2f3,_0x4daf72[_0x4ed04b(0x1b0)])?HookState['PRE']:HookState[_0x4ed04b(0x1ed)],_0x202734=BrowserstackCLI['getInstance']()[_0x4ed04b(0x21f)]();if(_0x202734){const _0x325f9f={};_0x325f9f['hookData']=_0x5c01e6,await _0x202734[_0x4ed04b(0x1ba)](_0x2c9657,_0x17e0ba,_0x325f9f);if(_0x4daf72[_0x4ed04b(0x192)](_0x39d2f3,_0x4daf72[_0x4ed04b(0x218)])){const _0x72be66={};_0x72be66['testUUID']=_0x5ac8dd,_0x72be66[_0x4ed04b(0x1a8)]=_0x4daf72[_0x4ed04b(0x17d)],await _0x202734[_0x4ed04b(0x1ba)](TestFrameworkState[_0x4ed04b(0x221)],HookState[_0x4ed04b(0x1ed)],_0x72be66),global[_0x4ed04b(0x24f)]&&global[_0x4ed04b(0x24f)][_0x4ed04b(0x22c)]&&_0x4daf72['hUtnS'](global['__workerDetails'][_0x4ed04b(0x22c)][_0x4ed04b(0x1dd)],_0x46e062)&&delete global['__workerDetails'][_0x4ed04b(0x22c)],_0x202734[_0x4ed04b(0x1a3)]&&_0x202734['removeActiveHook'](_0x5ac8dd,_0x46e062);}}}catch(_0x40fc3c){logger[_0x4ed04b(0x174)](_0x4ed04b(0x1e7)+util[_0x4ed04b(0x21e)](_0x40fc3c));throw _0x40fc3c;}}async function handleTestEventCLI(_0x4561af,_0x2cd37a,_0x30c950){const _0x324fe7=a17_0x8254f6,_0x4a42c7={};_0x4a42c7[_0x324fe7(0x193)]=function(_0x27e1d4,_0x277da3){return _0x27e1d4===_0x277da3;},_0x4a42c7[_0x324fe7(0x184)]='TestRunStarted',_0x4a42c7['zPIRV']=function(_0x4032d8,_0x201096){return _0x4032d8>_0x201096;},_0x4a42c7[_0x324fe7(0x210)]=function(_0x155b6c,_0x103b24){return _0x155b6c&&_0x103b24;},_0x4a42c7['khWJj']=_0x324fe7(0x215),_0x4a42c7[_0x324fe7(0x223)]=_0x324fe7(0x165),_0x4a42c7[_0x324fe7(0x1f0)]=function(_0x27e0b4,_0xb2624e){return _0x27e0b4&&_0xb2624e;},_0x4a42c7[_0x324fe7(0x225)]=_0x324fe7(0x186);const _0x37f46f=_0x4a42c7;logger[_0x324fe7(0x22d)](_0x324fe7(0x1c3)+_0x2cd37a);try{let _0x45333d;if(_0x37f46f['luttL'](_0x2cd37a,_0x37f46f[_0x324fe7(0x184)])){_0x45333d=jestUtils[_0x324fe7(0x24d)](_0x4561af),global['__jestCurrentTestIdentifier']=_0x45333d,_0x4561af[_0x324fe7(0x206)]=_0x45333d,_0x4561af['id']=_0x45333d,_0x4561af[_0x324fe7(0x173)]=new Date()[_0x324fe7(0x230)]();const _0x51b6ed=_0x30c950['current_test'];_0x30c950[_0x324fe7(0x1d0)]=_0x4561af,_0x4561af[_0x324fe7(0x1a2)]=null;if(_0x37f46f[_0x324fe7(0x229)](_0x4561af['_currentRetry'],0x0)&&_0x51b6ed&&_0x37f46f[_0x324fe7(0x193)](_0x51b6ed['title'],_0x4561af[_0x324fe7(0x23f)])){_0x4561af['retryOf']=_0x51b6ed[_0x324fe7(0x206)];const _0x3e34eb=await jestUtils[_0x324fe7(0x1be)](_0x4561af,_0x45333d,_0x37f46f[_0x324fe7(0x184)]),_0x4344a7=BrowserstackCLI[_0x324fe7(0x17e)]()['getTestFramework']();if(_0x37f46f['NCsSo'](_0x3e34eb,_0x4344a7)){const _0x2de5cc={};_0x2de5cc['test']=_0x3e34eb,await _0x4344a7[_0x324fe7(0x1ba)](TestFrameworkState[_0x324fe7(0x188)],HookState[_0x324fe7(0x1ad)],_0x2de5cc);}_0x51b6ed['state']=_0x37f46f[_0x324fe7(0x175)];const _0x20e4ad=await jestUtils['createTestFrameworkData'](_0x51b6ed,_0x51b6ed[_0x324fe7(0x206)],_0x37f46f[_0x324fe7(0x223)]);if(_0x37f46f['CYqaf'](_0x20e4ad,_0x4344a7)){const _0x3a5268={};_0x3a5268[_0x324fe7(0x186)]=_0x20e4ad,await _0x4344a7[_0x324fe7(0x1ba)](TestFrameworkState['TEST'],HookState['POST'],_0x3a5268);}}else{const _0xa37308=await jestUtils[_0x324fe7(0x1be)](_0x4561af,_0x45333d,_0x37f46f[_0x324fe7(0x184)]),_0x1a061d=BrowserstackCLI[_0x324fe7(0x17e)]()[_0x324fe7(0x21f)]();if(_0x37f46f['CYqaf'](_0xa37308,_0x1a061d)){const _0x3d0543={};_0x3d0543[_0x324fe7(0x186)]=_0xa37308,await _0x1a061d['trackEvent'](TestFrameworkState[_0x324fe7(0x188)],HookState['PRE'],_0x3d0543);}}}else{_0x45333d=_0x4561af[_0x324fe7(0x206)]||_0x4561af['id']||global[_0x324fe7(0x203)];const _0x3153cf=await jestUtils[_0x324fe7(0x1be)](_0x4561af,_0x45333d,_0x2cd37a),_0x68dc59=BrowserstackCLI[_0x324fe7(0x17e)]()[_0x324fe7(0x21f)]();if(_0x37f46f['NCsSo'](_0x3153cf,_0x68dc59)){const _0x3d42e7={};_0x3d42e7[_0x324fe7(0x186)]=_0x3153cf,_0x3d42e7['originalTest']=_0x4561af,_0x3d42e7[_0x324fe7(0x247)]=_0x45333d,await _0x68dc59[_0x324fe7(0x1ba)](TestFrameworkState['TEST'],HookState[_0x324fe7(0x1ed)],_0x3d42e7);const _0x11dbbd={};_0x11dbbd[_0x324fe7(0x219)]=_0x45333d,_0x11dbbd[_0x324fe7(0x1a8)]=_0x37f46f[_0x324fe7(0x225)],await _0x68dc59[_0x324fe7(0x1ba)](TestFrameworkState[_0x324fe7(0x221)],HookState[_0x324fe7(0x1ed)],_0x11dbbd);}}}catch(_0x1e0844){logger[_0x324fe7(0x174)](_0x324fe7(0x209)+util[_0x324fe7(0x21e)](_0x1e0844));throw _0x1e0844;}}exportsI[a17_0x8254f6(0x1ab)]=(..._0xdc46f7)=>{const _0x316fe1=a17_0x8254f6,_0xc4738e={'HXXGM':function(_0x2a95c4,_0x22cb15){return _0x2a95c4(_0x22cb15);},'KZEBh':function(_0x1f758c,_0x2fe329){return _0x1f758c(_0x2fe329);},'JcITb':'stack-trace','JMrcZ':_0x316fe1(0x1ae),'mBRTr':function(_0x5390a3,_0x51c847){return _0x5390a3===_0x51c847;},'cfIZG':_0x316fe1(0x197),'VvaPR':function(_0x5c2786){return _0x5c2786();},'DqlaH':function(_0x296f75,_0x1e11f6){return _0x296f75(_0x1e11f6);},'MwQpF':function(_0x3c55c2,_0x2aeca0,_0xc99691,_0x101c02){return _0x3c55c2(_0x2aeca0,_0xc99691,_0x101c02);},'rpVDB':'HookRunStarted','FYstN':_0x316fe1(0x1a9),'AZbcS':function(_0x2adfc4,_0x205170){return _0x2adfc4(_0x205170);},'xmBrf':function(_0xff1554,_0x4cbaab,_0x2a5f39,_0x58a5a2){return _0xff1554(_0x4cbaab,_0x2a5f39,_0x58a5a2);},'lEBDq':'HookRunFinished','GCSQK':'hook_failure','kOdkW':_0x316fe1(0x1c5),'zlGFU':_0x316fe1(0x1e9),'CvRwN':'afterEach','kMhCL':function(_0x4513bf,_0x424c21){return _0x4513bf>_0x424c21;},'nsyVJ':_0x316fe1(0x1d7),'evvky':function(_0x9fd1ed,_0x18193a){return _0x9fd1ed!==_0x18193a;},'feNMV':'\x20>\x20','oNaBR':function(_0x52a169,_0x11fc0a,_0x2377eb,_0x1d5a5a){return _0x52a169(_0x11fc0a,_0x2377eb,_0x1d5a5a);},'ZCqLI':'TestRunStarted','HFIdR':function(_0x133052,_0x759182){return _0x133052(_0x759182);},'RzBAt':function(_0x1ff648){return _0x1ff648();},'mIakv':_0x316fe1(0x1dc),'lSZUs':function(_0x247531,_0x321458){return _0x247531>_0x321458;},'GOnOl':function(_0x4fe5f4,_0x3c387d){return _0x4fe5f4===_0x3c387d;},'XWwDW':_0x316fe1(0x22b),'WKRti':_0x316fe1(0x215),'oDnuE':_0x316fe1(0x1af),'gnKnc':function(_0x304bb1,_0x409ce6){return _0x304bb1||_0x409ce6;},'wnvvT':_0x316fe1(0x165),'tkqnY':_0x316fe1(0x168),'BwXgB':function(_0x40f4d2,_0x40c479){return _0x40f4d2(_0x40c479);},'tHwZi':function(_0xe9da97){return _0xe9da97();},'TqhBr':_0x316fe1(0x1e5),'fTITB':_0x316fe1(0x235),'TnIiU':'teardown','RMPAK':function(_0x296ac6){return _0x296ac6();},'qzePm':'number','TEkBC':function(_0x5af7a4,_0x49c3f0){return _0x5af7a4===_0x49c3f0;},'ogsAA':function(_0x2a6eb3,_0x11819c){return _0x2a6eb3(_0x11819c);},'wJary':function(_0x13a727){return _0x13a727();},'FNOfC':function(_0x442e16,_0x1d049e,_0x557809){return _0x442e16(_0x1d049e,_0x557809);},'pvLui':_0x316fe1(0x1e2),'cznkg':_0x316fe1(0x227),'sTHfs':function(_0x4a6c88,_0x488670){return _0x4a6c88(_0x488670);},'roiFz':function(_0x5da6af,_0x449a76,_0x4cbbeb){return _0x5da6af(_0x449a76,_0x4cbbeb);},'hSKnT':_0x316fe1(0x1b4),'OSdBq':function(_0x2c094a,_0x151436){return _0x2c094a(_0x151436);},'FJTrd':function(_0xb1ff77){return _0xb1ff77();},'cYhxU':_0x316fe1(0x1e4),'LyiwR':function(_0x4fc865,..._0x181b7d){return _0x4fc865(..._0x181b7d);}};try{logger[_0x316fe1(0x22d)](_0x316fe1(0x199)+_0xc4738e['RMPAK'](shouldProcessEventForTesthub)+_0x316fe1(0x1ac)+process[_0x316fe1(0x1c2)][_0x316fe1(0x1f1)]);const _0x515e31=_0xdc46f7&&_0xdc46f7[0x0]?_0xdc46f7[0x0]:{};let _0x55fed8=0x0;try{if(_0x515e31['config']&&_0xc4738e['GOnOl'](typeof _0x515e31[_0x316fe1(0x19d)][_0x316fe1(0x1cf)],_0xc4738e['qzePm']))_0x55fed8=_0x515e31[_0x316fe1(0x19d)][_0x316fe1(0x1cf)];else{if(_0x515e31['configuration']&&_0xc4738e[_0x316fe1(0x1a4)](typeof _0x515e31[_0x316fe1(0x24c)]['browserstackPlatformIndex'],_0xc4738e[_0x316fe1(0x179)]))_0x55fed8=_0x515e31[_0x316fe1(0x24c)][_0x316fe1(0x1cf)];else global[_0x316fe1(0x1b6)]&&_0xc4738e['TEkBC'](typeof global['jestConfig'][_0x316fe1(0x1cf)],_0xc4738e[_0x316fe1(0x179)])&&(_0x55fed8=global[_0x316fe1(0x1b6)][_0x316fe1(0x1cf)]);}}catch(_0x215ca4){logger['debug'](_0x316fe1(0x176)+util[_0x316fe1(0x21e)](_0x215ca4));}global[_0x316fe1(0x234)]=_0x55fed8,process[_0x316fe1(0x1c2)][_0x316fe1(0x195)]=_0xc4738e['ogsAA'](String,_0x55fed8);const _0x5eb1c1=new ObservabilityReporter();!_initializedPlatformIndices['has'](_0x55fed8)?(logger['debug'](_0x316fe1(0x1f5)+_0x55fed8),_initializedPlatformIndices['add'](_0x55fed8),_0xc4738e[_0x316fe1(0x1df)](shouldProcessEventForTesthub)&&(_0xc4738e[_0x316fe1(0x250)](patchConsoleLogger),_0x5eb1c1[_0x316fe1(0x1eb)]())):logger[_0x316fe1(0x22d)](_0x316fe1(0x200)+_0x55fed8+_0x316fe1(0x237));let _0x334dc5;try{_0x334dc5=_0xc4738e[_0x316fe1(0x222)](requireModule,_0xc4738e[_0x316fe1(0x166)],_0xc4738e[_0x316fe1(0x24b)]);}catch{_0x334dc5=_0xc4738e['sTHfs'](requireModule,_0xc4738e[_0x316fe1(0x24b)]);}let _0x35858d;try{_0x35858d=_0xc4738e[_0x316fe1(0x1e8)](requireModule,_0xc4738e[_0x316fe1(0x224)],_0xc4738e[_0x316fe1(0x24b)])[_0x316fe1(0x1db)];}catch{_0x35858d=_0xc4738e[_0x316fe1(0x18d)](requireModule,_0xc4738e[_0x316fe1(0x24b)])[_0x316fe1(0x1db)]||(()=>({}));}const _0x29ede6=BrowserstackCLI[_0x316fe1(0x17e)]()[_0x316fe1(0x198)]();(_0xc4738e[_0x316fe1(0x236)](shouldProcessEventForTesthub)||_0x29ede6)&&_0x334dc5['addEventHandler'](_0xc4738e[_0x316fe1(0x1e8)](o11yErrorHandler,async(_0x43bb56,_0x18728b)=>{const _0x51a659=_0x316fe1,_0x19226f={'sEsIs':function(_0x580a37,_0x220af0){const _0x28dd81=a17_0x3937;return _0xc4738e[_0x28dd81(0x163)](_0x580a37,_0x220af0);},'ABEOa':_0xc4738e[_0x51a659(0x17c)]};switch(_0x43bb56['name']){case _0xc4738e[_0x51a659(0x1ca)]:if(_0x43bb56[_0x51a659(0x1c7)]['fn']&&_0x43bb56[_0x51a659(0x1c7)]['fn'][_0x51a659(0x162)]()[_0x51a659(0x1d9)](/browserstack internal helper hook/))break;if(_0x43bb56[_0x51a659(0x1c7)][_0x51a659(0x211)]&&_0xc4738e['mBRTr'](_0x43bb56[_0x51a659(0x1c7)][_0x51a659(0x211)][_0x51a659(0x172)],_0xc4738e[_0x51a659(0x20b)])){const _0x50098c=_0x43bb56['hook']['asyncError']&&((()=>{const _0x307f6d=_0x51a659;try{const _0x2c238a=_0x19226f[_0x307f6d(0x1b8)](require,_0x19226f['ABEOa']),_0x563454=_0x2c238a['parse']['call'](_0x2c238a,_0x43bb56[_0x307f6d(0x1c7)][_0x307f6d(0x16b)]);return _0x563454[0x0]&&_0x563454[0x0][_0x307f6d(0x19e)]?_0x563454[0x0]['getFileName']():null;}catch(_0x4970d6){return logger[_0x307f6d(0x22d)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x4970d6[_0x307f6d(0x1cb)]),null;}})())||_0x43bb56[_0x51a659(0x1c7)]['file']||null;if(!_0x50098c)break;}if(BrowserstackCLI[_0x51a659(0x17e)]()[_0x51a659(0x198)]()&&await _0xc4738e[_0x51a659(0x196)](isCLIReady)){if(_0xc4738e[_0x51a659(0x1f9)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookStarted']))try{await _0xc4738e['MwQpF'](handleHookEventCLI,_0x43bb56['hook'],_0xc4738e[_0x51a659(0x228)],_0x18728b);break;}catch(_0x3ff727){_0xc4738e[_0x51a659(0x1f9)](debug,_0x51a659(0x178)+util['format'](_0x3ff727));}}if(_0xc4738e['KZEBh'](shouldProcessEventForTesthub,testHubConstants[_0x51a659(0x1c4)][_0x51a659(0x187)])){if(!_0x43bb56['hook']['hookAnalyticsId']){const _0x48d434=TestDetails[_0x51a659(0x243)](process[_0x51a659(0x22e)]+':hookAnalyticsId');_0x43bb56[_0x51a659(0x1c7)][_0x51a659(0x1ec)]=_0x48d434;}else _0x43bb56[_0x51a659(0x1c7)][_0x51a659(0x167)]&&(_0x43bb56[_0x51a659(0x1c7)][_0x51a659(0x1ec)]=TestDetails[_0x51a659(0x243)](process[_0x51a659(0x22e)]+_0x51a659(0x22a)),delete _0x43bb56[_0x51a659(0x1c7)]['markedStatus']);_0x43bb56['hook'][_0x51a659(0x173)]=new Date()[_0x51a659(0x230)](),await _0x5eb1c1['sendTestRunEvent'](_0x43bb56[_0x51a659(0x1c7)],undefined,![],_0xc4738e[_0x51a659(0x228)]);}break;case _0xc4738e[_0x51a659(0x205)]:if(BrowserstackCLI[_0x51a659(0x17e)]()[_0x51a659(0x198)]()&&await _0xc4738e[_0x51a659(0x196)](isCLIReady)){if(_0xc4738e['AZbcS'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x51a659(0x242)]))try{await _0xc4738e['xmBrf'](handleHookEventCLI,_0x43bb56[_0x51a659(0x1c7)],_0xc4738e[_0x51a659(0x216)],_0x18728b);break;}catch(_0x59da46){_0xc4738e[_0x51a659(0x1a1)](debug,_0x51a659(0x178)+util[_0x51a659(0x21e)](_0x59da46));}}_0xc4738e[_0x51a659(0x1f9)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x51a659(0x242)])&&(await _0x5eb1c1[_0x51a659(0x1d3)](_0x43bb56[_0x51a659(0x1c7)],undefined,![],_0xc4738e['lEBDq']),TestDetails[_0x51a659(0x171)](process[_0x51a659(0x22e)]+_0x51a659(0x22a)));break;case _0xc4738e[_0x51a659(0x1cd)]:[_0xc4738e['kOdkW'],_0xc4738e['zlGFU'],_0xc4738e[_0x51a659(0x161)]][_0x51a659(0x1a7)](_0x43bb56[_0x51a659(0x1c7)][_0x51a659(0x1a8)])&&(_0x5eb1c1[_0x51a659(0x207)]=_0x43bb56[_0x51a659(0x1c7)][_0x51a659(0x1a8)]),_0x18728b[_0x51a659(0x1fb)]&&_0xc4738e[_0x51a659(0x1a6)](_0x18728b['unhandledErrors']['length'],0x0)&&(_0x43bb56[_0x51a659(0x1c7)][_0x51a659(0x1d2)]=[_0x18728b[_0x51a659(0x1fb)][0x0][0x0]]);if(BrowserstackCLI[_0x51a659(0x17e)]()[_0x51a659(0x198)]()&&await _0xc4738e[_0x51a659(0x196)](isCLIReady)){if(_0xc4738e[_0x51a659(0x1a1)](shouldProcessEventForTesthub,testHubConstants[_0x51a659(0x1c4)][_0x51a659(0x242)]))try{await _0xc4738e[_0x51a659(0x1f4)](handleHookEventCLI,_0x43bb56[_0x51a659(0x1c7)],_0xc4738e[_0x51a659(0x216)],_0x18728b);break;}catch(_0x2b6299){_0xc4738e[_0x51a659(0x16c)](debug,_0x51a659(0x178)+util[_0x51a659(0x21e)](_0x2b6299));}}_0xc4738e['AZbcS'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x51a659(0x242)])&&(await _0x5eb1c1[_0x51a659(0x1d3)](_0x43bb56[_0x51a659(0x1c7)],undefined,![],_0xc4738e[_0x51a659(0x216)]),TestDetails['removeTestUUID'](process[_0x51a659(0x22e)]+_0x51a659(0x22a)));break;case _0xc4738e['nsyVJ']:try{let _0x39c86d=_0x43bb56[_0x51a659(0x186)][_0x51a659(0x172)]||'';try{let _0x3eda9f=_0x43bb56[_0x51a659(0x186)][_0x51a659(0x211)];const _0x5c272c=[_0x39c86d];while(_0x3eda9f&&_0x3eda9f[_0x51a659(0x172)]&&_0xc4738e[_0x51a659(0x204)](_0x3eda9f[_0x51a659(0x172)],_0xc4738e[_0x51a659(0x20b)])){_0x5c272c[_0x51a659(0x22f)](_0x3eda9f[_0x51a659(0x172)]),_0x3eda9f=_0x3eda9f[_0x51a659(0x211)];}_0x39c86d=_0x5c272c[_0x51a659(0x23e)](_0xc4738e[_0x51a659(0x1bc)]);}catch(_0x5cd587){logger[_0x51a659(0x22d)]('[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20'+_0x5cd587[_0x51a659(0x1cb)]);}process['_bstackTestName']=_0x39c86d,process[_0x51a659(0x21b)]=null,process['_bstackTestFailureReason']=null,logger[_0x51a659(0x22d)](_0x51a659(0x238)+_0x39c86d+'\x22');if(!global[_0x51a659(0x24f)]){const _0x367345={};_0x367345[_0x51a659(0x1c9)]={},global[_0x51a659(0x24f)]=_0x367345;}!global[_0x51a659(0x24f)][_0x51a659(0x1c9)]&&(global[_0x51a659(0x24f)][_0x51a659(0x1c9)]={});const _0x42beec={};_0x42beec[_0x51a659(0x23f)]=_0x39c86d,_0x42beec[_0x51a659(0x172)]=_0x39c86d,global[_0x51a659(0x24f)]['currentTest'][_0x51a659(0x1d4)]=_0x42beec,global['browserstackTestName']=_0x39c86d;}catch(_0x1540db){logger['debug'](_0x51a659(0x182)+_0x1540db['message']);}if(BrowserstackCLI[_0x51a659(0x17e)]()[_0x51a659(0x198)]()&&await _0xc4738e['VvaPR'](isCLIReady))try{await _0xc4738e[_0x51a659(0x1b3)](handleTestEventCLI,_0x43bb56[_0x51a659(0x186)],_0xc4738e[_0x51a659(0x1f2)],_0x5eb1c1);break;}catch(_0x21ec0a){_0xc4738e[_0x51a659(0x244)](debug,_0x51a659(0x178)+util[_0x51a659(0x21e)](_0x21ec0a));}_0xc4738e[_0x51a659(0x190)](shouldProcessEventForTesthub)&&await _0x5eb1c1[_0x51a659(0x19a)](_0x43bb56[_0x51a659(0x186)]);break;case _0xc4738e[_0x51a659(0x1b7)]:_0x43bb56[_0x51a659(0x186)]={..._0xc4738e[_0x51a659(0x1f9)](_0x35858d,_0x43bb56[_0x51a659(0x186)]),..._0x43bb56[_0x51a659(0x186)]};try{const _0x4fc5ce=_0x43bb56[_0x51a659(0x186)][_0x51a659(0x226)]||[],_0x442557=_0xc4738e[_0x51a659(0x20f)](_0x4fc5ce[_0x51a659(0x23c)],0x0)||_0xc4738e[_0x51a659(0x180)](_0x43bb56[_0x51a659(0x186)][_0x51a659(0x23d)],_0xc4738e[_0x51a659(0x1f7)]),_0x26d2e3=_0x442557?_0xc4738e[_0x51a659(0x1d8)]:_0xc4738e[_0x51a659(0x1f8)];let _0x373af0='';_0x442557&&(_0x373af0=_0x4fc5ce['map'](_0x4190c9=>{const _0x15ad43=_0x51a659;if(Array['isArray'](_0x4190c9))return _0x4190c9[_0x15ad43(0x20c)](_0x2c8993=>_0x2c8993&&_0x2c8993[_0x15ad43(0x1cb)]||String(_0x2c8993))[_0x15ad43(0x23e)](';\x20');return _0x4190c9&&_0x4190c9[_0x15ad43(0x1cb)]||_0xc4738e[_0x15ad43(0x1a1)](String,_0x4190c9);})['join'](';\x20')),process['_bstackTestStatus']=_0x26d2e3,process[_0x51a659(0x1bd)]=_0xc4738e['gnKnc'](_0x373af0,''),logger[_0x51a659(0x22d)](_0x51a659(0x1ef)+_0x26d2e3+'\x22'),global[_0x51a659(0x24f)]&&global[_0x51a659(0x24f)]['currentTest']&&(!global['__workerDetails'][_0x51a659(0x1c9)][_0x51a659(0x1d4)]&&(global['__workerDetails'][_0x51a659(0x1c9)][_0x51a659(0x1d4)]={}),global[_0x51a659(0x24f)][_0x51a659(0x1c9)][_0x51a659(0x1d4)][_0x51a659(0x23d)]=_0x26d2e3,_0x442557&&(global[_0x51a659(0x24f)][_0x51a659(0x1c9)][_0x51a659(0x1d4)][_0x51a659(0x1fe)]=_0x373af0));}catch(_0x1c8dd6){logger['debug'](_0x51a659(0x1f6)+_0x1c8dd6['message']);}if(!_0x43bb56[_0x51a659(0x186)][_0x51a659(0x167)]){_0x43bb56[_0x51a659(0x186)][_0x51a659(0x167)]=!![];if(BrowserstackCLI[_0x51a659(0x17e)]()[_0x51a659(0x198)]()&&await _0xc4738e['RzBAt'](isCLIReady))try{await _0xc4738e['xmBrf'](handleTestEventCLI,_0x43bb56[_0x51a659(0x186)],_0xc4738e[_0x51a659(0x21c)],_0x5eb1c1);break;}catch(_0x3ccef9){_0xc4738e['HXXGM'](debug,_0x51a659(0x178)+util['format'](_0x3ccef9));}_0xc4738e[_0x51a659(0x196)](shouldProcessEventForTesthub)&&await _0x5eb1c1['sendTestRunEvent'](_0x43bb56[_0x51a659(0x186)]);}break;case _0xc4738e[_0x51a659(0x1b9)]:_0x43bb56[_0x51a659(0x186)]={..._0xc4738e[_0x51a659(0x1ea)](_0x35858d,_0x43bb56['test']),..._0x43bb56[_0x51a659(0x186)]};if(!_0x43bb56[_0x51a659(0x186)][_0x51a659(0x167)]){_0x43bb56['test'][_0x51a659(0x167)]=!![];if(BrowserstackCLI[_0x51a659(0x17e)]()['isCliEnabled']()&&await _0xc4738e[_0x51a659(0x250)](isCLIReady))try{await _0xc4738e['MwQpF'](handleTestEventCLI,_0x43bb56[_0x51a659(0x186)],_0xc4738e[_0x51a659(0x16f)],_0x5eb1c1);break;}catch(_0x3bb8dc){_0xc4738e['BwXgB'](debug,_0x51a659(0x178)+util[_0x51a659(0x21e)](_0x3bb8dc));}_0xc4738e[_0x51a659(0x250)](shouldProcessEventForTesthub)&&await _0x5eb1c1[_0x51a659(0x1d3)](_0x43bb56[_0x51a659(0x186)],undefined,![],_0xc4738e[_0x51a659(0x16f)]);}break;case _0xc4738e[_0x51a659(0x191)]:_0x5eb1c1[_0x51a659(0x207)]=null;break;case _0xc4738e['TnIiU']:await RequestQueueHandler[_0x51a659(0x17e)]()[_0x51a659(0x1f3)](),process[_0x51a659(0x16a)]();break;default:}},_0xc4738e[_0x316fe1(0x1ce)]));}catch(_0x1d06d7){_0xc4738e[_0x316fe1(0x1c1)](debug,_0x316fe1(0x202)+_0x1d06d7);}return _0xc4738e[_0x316fe1(0x23a)](initInitialize,..._0xdc46f7);};try{Object[a17_0x8254f6(0x220)](exportsI)['forEach'](_0x3ff924=>{const _0x4f3955=a17_0x8254f6,_0x4a197d={'YCAla':function(_0x59ee6b,_0x15a15c){return _0x59ee6b(_0x15a15c);}};try{exports&&(exports[_0x3ff924]=exportsI[_0x3ff924]);}catch(_0x6ab6c0){_0x4a197d[_0x4f3955(0x18a)](debug,_0x4f3955(0x1a0)+_0x6ab6c0);}});}catch(a17_0x54d87d){debug(a17_0x8254f6(0x20e)+a17_0x54d87d);}
1
+ function a17_0x336c(_0x1ac324,_0x37c540){const _0x30ad43=a17_0x30ad();return a17_0x336c=function(_0x336ca6,_0x5dee2f){_0x336ca6=_0x336ca6-0x67;let _0x44682=_0x30ad43[_0x336ca6];return _0x44682;},a17_0x336c(_0x1ac324,_0x37c540);}const a17_0x39443d=a17_0x336c;(function(_0x398f81,_0x4ef77c){const _0x4be428=a17_0x336c,_0x216dfe=_0x398f81();while(!![]){try{const _0x33fc03=-parseInt(_0x4be428(0xeb))/0x1*(parseInt(_0x4be428(0x138))/0x2)+parseInt(_0x4be428(0x84))/0x3*(-parseInt(_0x4be428(0xe0))/0x4)+parseInt(_0x4be428(0xb5))/0x5*(parseInt(_0x4be428(0xd3))/0x6)+-parseInt(_0x4be428(0x120))/0x7+parseInt(_0x4be428(0x8a))/0x8+parseInt(_0x4be428(0xc0))/0x9+parseInt(_0x4be428(0x12e))/0xa*(parseInt(_0x4be428(0x80))/0xb);if(_0x33fc03===_0x4ef77c)break;else _0x216dfe['push'](_0x216dfe['shift']());}catch(_0x3a8ead){_0x216dfe['push'](_0x216dfe['shift']());}}}(a17_0x30ad,0x3bebf));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x39443d(0xa2)),TestDetails=require(a17_0x39443d(0xda)),{patchConsoleLogger,debug}=require(a17_0x39443d(0xcc)),{o11yErrorHandler}=require(a17_0x39443d(0xbb)),{shouldProcessEventForTesthub}=require(a17_0x39443d(0x109)),testHubConstants=require(a17_0x39443d(0x10b)),BrowserstackCLI=require(a17_0x39443d(0xc9)),TestFrameworkState=require(a17_0x39443d(0x102)),HookState=require(a17_0x39443d(0xb1)),JestUtils=require(a17_0x39443d(0x148)),{v4:uuidv4}=require(a17_0x39443d(0xf2)),util=require(a17_0x39443d(0x7d)),logger=require(a17_0x39443d(0xe4))['winstonLogger'],{FRAMEWORKS}=require(a17_0x39443d(0x142));let exportsI;try{exportsI=requireModule(a17_0x39443d(0x9e),a17_0x39443d(0xa5));}catch{exportsI=requireModule(a17_0x39443d(0x68),'jest-circus');}const initInitialize=exportsI[a17_0x39443d(0xc1)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x483b0c=a17_0x39443d,_0x525514={'aDVpe':_0x483b0c(0x133),'vyGwS':function(_0x3e1589,_0x3564be){return _0x3e1589(_0x3564be);},'rwvgv':_0x483b0c(0x111),'TEKoD':function(_0x2464b7,_0x107810){return _0x2464b7===_0x107810;},'gKAxk':'true'};try{const _0x2e2488=BrowserstackCLI[_0x483b0c(0x144)]();if(_0x2e2488[_0x483b0c(0x97)]()&&_0x2e2488['isRunning']())return logger[_0x483b0c(0x67)](_0x525514[_0x483b0c(0xad)]),!![];const _0x57512b=process[_0x483b0c(0x140)]['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x57512b&&_0x2e2488[_0x483b0c(0x97)]()){if(!_0x2e2488[_0x483b0c(0xbd)]())try{const _0x343529=_0x525514[_0x483b0c(0x7c)](require,_0x525514['rwvgv']),_0x51f0d7=_0x343529['getAutomationFrameworkDetail']();(!_0x51f0d7||!_0x51f0d7[_0x483b0c(0x14c)])&&(_0x525514[_0x483b0c(0xd8)](process[_0x483b0c(0x140)][_0x483b0c(0xa0)],_0x525514[_0x483b0c(0x126)])?_0x343529[_0x483b0c(0x8c)](FRAMEWORKS[_0x483b0c(0xf9)],FRAMEWORKS[_0x483b0c(0xc8)]):_0x343529['setFrameworkDetail'](FRAMEWORKS[_0x483b0c(0xf9)],FRAMEWORKS[_0x483b0c(0x118)])),await _0x2e2488[_0x483b0c(0xff)]();}catch(_0x30fb48){return _0x525514[_0x483b0c(0x7c)](debug,_0x483b0c(0xba)+util[_0x483b0c(0x7e)](_0x30fb48)),![];}return _0x2e2488[_0x483b0c(0xbd)]();}return![];}catch(_0x51fa0b){return _0x525514['vyGwS'](debug,_0x483b0c(0x9f)+util[_0x483b0c(0x7e)](_0x51fa0b)),![];}}function getTestIdentifierForHook(_0x4e67da){const _0x4492d4=a17_0x39443d,_0x3743aa={};_0x3743aa[_0x4492d4(0x121)]=function(_0x115efe,_0x53db92){return _0x115efe===_0x53db92;},_0x3743aa[_0x4492d4(0x10f)]=_0x4492d4(0x10a),_0x3743aa[_0x4492d4(0x82)]=function(_0x454721,_0x134a01){return _0x454721===_0x134a01;},_0x3743aa['JtrGC']=_0x4492d4(0x70);const _0x791294=_0x3743aa;if(_0x791294[_0x4492d4(0x121)](_0x4e67da['type'],_0x791294[_0x4492d4(0x10f)])||_0x791294[_0x4492d4(0x82)](_0x4e67da[_0x4492d4(0x123)],_0x791294[_0x4492d4(0xfc)])){let _0x2b5762=global[_0x4492d4(0x143)];if(!_0x2b5762&&_0x791294[_0x4492d4(0x121)](_0x4e67da[_0x4492d4(0x123)],_0x791294[_0x4492d4(0xfc)])&&_0x4e67da[_0x4492d4(0x69)]){const _0x5a8ddf={};_0x5a8ddf[_0x4492d4(0x14c)]=_0x4e67da[_0x4492d4(0x69)][_0x4492d4(0x14c)],_0x5a8ddf['parent']=_0x4e67da['parent'][_0x4492d4(0x69)],_0x5a8ddf[_0x4492d4(0xe2)]=_0x4e67da['asyncError'],_0x5a8ddf['file']=_0x4e67da[_0x4492d4(0x9c)];const _0x45f6db=_0x5a8ddf;_0x2b5762=jestUtils[_0x4492d4(0x9a)](_0x45f6db);}return _0x2b5762;}return global[_0x4492d4(0x143)];}function mapHookTypeToState(_0x19c4c8){const _0x5a3afc=a17_0x39443d,_0x949523={};_0x949523[_0x5a3afc(0x70)]=TestFrameworkState['BEFORE_ALL'],_0x949523[_0x5a3afc(0x13d)]=TestFrameworkState[_0x5a3afc(0xd0)],_0x949523[_0x5a3afc(0x10a)]=TestFrameworkState[_0x5a3afc(0x11f)],_0x949523[_0x5a3afc(0x77)]=TestFrameworkState[_0x5a3afc(0xcb)];const _0x37ad4f=_0x949523;return _0x37ad4f[_0x19c4c8]||TestFrameworkState[_0x5a3afc(0x11f)];}async function handleHookEventCLI(_0x31deac,_0x346c0d,_0x524aa2){const _0x940d95=a17_0x39443d,_0x9d7a8c={'eGrwt':function(_0x5c8d7d,_0x55531e){return _0x5c8d7d(_0x55531e);},'gAelq':_0x940d95(0xe9),'QVVNB':function(_0x2369bc,_0x47a1f4){return _0x2369bc===_0x47a1f4;},'vKhey':_0x940d95(0x6d),'iPmlx':function(_0x22626a){return _0x22626a();},'XVxtQ':function(_0x5e8eaf){return _0x5e8eaf();},'YmDAS':function(_0x203faf,_0x321a17){return _0x203faf===_0x321a17;},'RjGFt':'HookRunStarted','ZfAAu':function(_0x29a6c9,_0x53515e){return _0x29a6c9===_0x53515e;},'AjfyD':'HookRunFinished','SfJBi':_0x940d95(0x6b)};logger[_0x940d95(0x67)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x346c0d+_0x940d95(0x79)+_0x31deac['type']);try{if(_0x31deac['fn']&&_0x31deac['fn']['toString']()['match'](/browserstack internal helper hook/))return;if(_0x31deac[_0x940d95(0x69)]&&_0x9d7a8c[_0x940d95(0xd1)](_0x31deac[_0x940d95(0x69)]['name'],_0x9d7a8c[_0x940d95(0x108)])){const _0x1c4c89=_0x31deac['asyncError']&&((()=>{const _0x643f26=_0x940d95;try{const _0x1efb4a=_0x9d7a8c[_0x643f26(0x78)](require,_0x9d7a8c['gAelq']),_0x5903c0=_0x1efb4a[_0x643f26(0xc7)]['call'](_0x1efb4a,_0x31deac['asyncError']);return _0x5903c0[0x0]&&_0x5903c0[0x0][_0x643f26(0x8f)]?_0x5903c0[0x0][_0x643f26(0x8f)]():null;}catch(_0x2742af){return logger[_0x643f26(0x67)](_0x643f26(0xce)+_0x2742af[_0x643f26(0xa7)]),null;}})())||_0x31deac[_0x940d95(0x9c)]||null;if(!_0x1c4c89)return;}let _0x1a3009=_0x31deac[_0x940d95(0x14d)];if(!_0x1a3009)_0x1a3009=_0x9d7a8c[_0x940d95(0x139)](uuidv4),_0x31deac[_0x940d95(0x14d)]=_0x1a3009;else _0x31deac[_0x940d95(0x6f)]&&(_0x1a3009=_0x9d7a8c[_0x940d95(0xdd)](uuidv4),_0x31deac[_0x940d95(0x14d)]=_0x1a3009,delete _0x31deac[_0x940d95(0x6f)]);_0x9d7a8c[_0x940d95(0x12a)](_0x346c0d,_0x9d7a8c[_0x940d95(0x11a)])&&(_0x31deac[_0x940d95(0xc5)]=new Date()[_0x940d95(0xe6)]());const _0x3d9f18=_0x9d7a8c['eGrwt'](getTestIdentifierForHook,_0x31deac);!global[_0x940d95(0x7b)]&&(global[_0x940d95(0x7b)]={});if(_0x9d7a8c[_0x940d95(0xd1)](_0x346c0d,_0x9d7a8c[_0x940d95(0x11a)])){global[_0x940d95(0x7b)][_0x940d95(0x131)]={'hookUUID':_0x1a3009,'testIdentifier':_0x3d9f18,'hookType':_0x31deac[_0x940d95(0x123)],'startedAt':new Date()[_0x940d95(0xe6)]()};const _0x38f162=BrowserstackCLI[_0x940d95(0x144)]()[_0x940d95(0x127)]();_0x38f162&&_0x38f162[_0x940d95(0x103)]&&_0x38f162['setActiveHook'](_0x3d9f18,_0x1a3009,_0x31deac[_0x940d95(0x123)]);}const _0x39edb6=await jestUtils['createHookData'](_0x31deac,_0x1a3009,_0x346c0d,_0x3d9f18);if(!_0x39edb6)return;const _0x5cfa64=_0x9d7a8c[_0x940d95(0x78)](mapHookTypeToState,_0x31deac[_0x940d95(0x123)]),_0x3e1c80=_0x9d7a8c[_0x940d95(0x12a)](_0x346c0d,_0x9d7a8c[_0x940d95(0x11a)])?HookState[_0x940d95(0x76)]:HookState[_0x940d95(0x107)],_0x2d0b49=BrowserstackCLI[_0x940d95(0x144)]()[_0x940d95(0x127)]();if(_0x2d0b49){const _0x2c12fb={};_0x2c12fb[_0x940d95(0x149)]=_0x39edb6,await _0x2d0b49[_0x940d95(0xe1)](_0x5cfa64,_0x3e1c80,_0x2c12fb);if(_0x9d7a8c[_0x940d95(0x6a)](_0x346c0d,_0x9d7a8c[_0x940d95(0x94)])){const _0x379c00={};_0x379c00[_0x940d95(0x74)]=_0x3d9f18,_0x379c00['type']=_0x9d7a8c[_0x940d95(0xdc)],await _0x2d0b49[_0x940d95(0xe1)](TestFrameworkState['LOG_REPORT'],HookState['POST'],_0x379c00),global[_0x940d95(0x7b)]&&global[_0x940d95(0x7b)]['currentHook']&&_0x9d7a8c[_0x940d95(0x6a)](global['__workerDetails'][_0x940d95(0x131)]['hookUUID'],_0x1a3009)&&delete global['__workerDetails'][_0x940d95(0x131)],_0x2d0b49[_0x940d95(0xdb)]&&_0x2d0b49[_0x940d95(0xdb)](_0x3d9f18,_0x1a3009);}}}catch(_0x434791){logger['error']('Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20'+util[_0x940d95(0x7e)](_0x434791));throw _0x434791;}}async function handleTestEventCLI(_0xc7682a,_0x45b51d,_0x2f4a3d){const _0x8744bc=a17_0x39443d,_0x543bd3={};_0x543bd3['uFcyT']=function(_0x3979eb,_0x431b42){return _0x3979eb===_0x431b42;},_0x543bd3[_0x8744bc(0x81)]='TestRunStarted',_0x543bd3[_0x8744bc(0x12c)]=function(_0x586427,_0x3bcf9f){return _0x586427>_0x3bcf9f;},_0x543bd3[_0x8744bc(0xde)]=function(_0x5b5ce1,_0x2b7332){return _0x5b5ce1&&_0x2b7332;},_0x543bd3[_0x8744bc(0x89)]=_0x8744bc(0xc6),_0x543bd3['RpYUM']='TestRunFinished',_0x543bd3['UDutt']=function(_0x3c5acd,_0x261288){return _0x3c5acd&&_0x261288;},_0x543bd3[_0x8744bc(0x135)]=_0x8744bc(0x116);const _0x30538e=_0x543bd3;logger[_0x8744bc(0x67)](_0x8744bc(0x14e)+_0x45b51d);try{let _0x10ad77;if(_0x30538e[_0x8744bc(0xd2)](_0x45b51d,_0x30538e[_0x8744bc(0x81)])){_0x10ad77=jestUtils[_0x8744bc(0x9a)](_0xc7682a),global[_0x8744bc(0x143)]=_0x10ad77,_0xc7682a[_0x8744bc(0xcf)]=_0x10ad77,_0xc7682a['id']=_0x10ad77,_0xc7682a[_0x8744bc(0xc5)]=new Date()['toISOString']();const _0x3d54f9=_0x2f4a3d['current_test'];_0x2f4a3d[_0x8744bc(0xc4)]=_0xc7682a,_0xc7682a[_0x8744bc(0x119)]=null;if(_0x30538e['YanFH'](_0xc7682a['_currentRetry'],0x0)&&_0x3d54f9&&_0x30538e[_0x8744bc(0xd2)](_0x3d54f9[_0x8744bc(0x92)],_0xc7682a[_0x8744bc(0x92)])){_0xc7682a[_0x8744bc(0x119)]=_0x3d54f9[_0x8744bc(0xcf)];const _0x1853b4=await jestUtils[_0x8744bc(0x105)](_0xc7682a,_0x10ad77,_0x30538e[_0x8744bc(0x81)]),_0x5c3990=BrowserstackCLI[_0x8744bc(0x144)]()[_0x8744bc(0x127)]();if(_0x30538e[_0x8744bc(0xde)](_0x1853b4,_0x5c3990)){const _0xec969e={};_0xec969e[_0x8744bc(0x116)]=_0x1853b4,await _0x5c3990[_0x8744bc(0xe1)](TestFrameworkState[_0x8744bc(0x8d)],HookState['PRE'],_0xec969e);}_0x3d54f9[_0x8744bc(0x12d)]=_0x30538e[_0x8744bc(0x89)];const _0x38cb72=await jestUtils[_0x8744bc(0x105)](_0x3d54f9,_0x3d54f9[_0x8744bc(0xcf)],_0x30538e[_0x8744bc(0xac)]);if(_0x30538e[_0x8744bc(0xde)](_0x38cb72,_0x5c3990)){const _0xe9970c={};_0xe9970c[_0x8744bc(0x116)]=_0x38cb72,await _0x5c3990['trackEvent'](TestFrameworkState[_0x8744bc(0x8d)],HookState['POST'],_0xe9970c);}}else{const _0x33b293=await jestUtils[_0x8744bc(0x105)](_0xc7682a,_0x10ad77,_0x30538e['qvDEk']),_0x43ccc8=BrowserstackCLI[_0x8744bc(0x144)]()[_0x8744bc(0x127)]();if(_0x30538e['Eldft'](_0x33b293,_0x43ccc8)){const _0xd5d9ba={};_0xd5d9ba[_0x8744bc(0x116)]=_0x33b293,await _0x43ccc8[_0x8744bc(0xe1)](TestFrameworkState[_0x8744bc(0x8d)],HookState['PRE'],_0xd5d9ba);}}}else{_0x10ad77=_0xc7682a[_0x8744bc(0xcf)]||_0xc7682a['id']||global[_0x8744bc(0x143)];const _0xb5f472=await jestUtils[_0x8744bc(0x105)](_0xc7682a,_0x10ad77,_0x45b51d),_0xf6ba51=BrowserstackCLI['getInstance']()[_0x8744bc(0x127)]();if(_0x30538e[_0x8744bc(0x145)](_0xb5f472,_0xf6ba51)){const _0x600bd3={};_0x600bd3['test']=_0xb5f472,_0x600bd3['originalTest']=_0xc7682a,_0x600bd3['testIdentifier']=_0x10ad77,await _0xf6ba51['trackEvent'](TestFrameworkState[_0x8744bc(0x8d)],HookState['POST'],_0x600bd3);const _0x2aba7f={};_0x2aba7f[_0x8744bc(0x74)]=_0x10ad77,_0x2aba7f[_0x8744bc(0x123)]=_0x30538e['yjVBN'],await _0xf6ba51[_0x8744bc(0xe1)](TestFrameworkState['LOG_REPORT'],HookState['POST'],_0x2aba7f);}}}catch(_0x141bdb){logger[_0x8744bc(0x71)](_0x8744bc(0x91)+util[_0x8744bc(0x7e)](_0x141bdb));throw _0x141bdb;}}exportsI['initialize']=(..._0x2fba77)=>{const _0x42843b=a17_0x39443d,_0x24f65f={'FpzrW':function(_0x4b5a5d,_0x308fa4){return _0x4b5a5d(_0x308fa4);},'UPidI':_0x42843b(0xe9),'unPPQ':function(_0x2376cd,_0x4bc7b3){return _0x2376cd(_0x4bc7b3);},'xPmwg':_0x42843b(0xb7),'FcHUP':function(_0x461a36,_0xaa5621){return _0x461a36===_0xaa5621;},'KqEMt':_0x42843b(0x6d),'Jzuxx':function(_0x43212c){return _0x43212c();},'oMDbU':function(_0x4a7f26,_0x4bb44d){return _0x4a7f26(_0x4bb44d);},'kYCQH':function(_0x3fd5a2,_0x2ae909,_0x533a63,_0x29b366){return _0x3fd5a2(_0x2ae909,_0x533a63,_0x29b366);},'ugSDh':_0x42843b(0x10c),'FOzsl':_0x42843b(0x117),'xIAOQ':function(_0x4986eb,_0x377dce,_0x4f9e4f,_0xb09f7e){return _0x4986eb(_0x377dce,_0x4f9e4f,_0xb09f7e);},'xRmfZ':_0x42843b(0x147),'GBfOD':function(_0x4149c8,_0x9be38c){return _0x4149c8(_0x9be38c);},'JaBPS':_0x42843b(0xbc),'pmeNO':'beforeAll','FvBGF':'beforeEach','UmaoO':_0x42843b(0x77),'Fmtmk':function(_0x323076,_0x23bac7){return _0x323076>_0x23bac7;},'VwgkZ':function(_0x8aa902){return _0x8aa902();},'GqjWZ':function(_0x59be84,_0x3f4bde,_0x370029,_0x12dfa2){return _0x59be84(_0x3f4bde,_0x370029,_0x12dfa2);},'gJDPh':_0x42843b(0xae),'ctRQj':function(_0x554366,_0x5d34a4){return _0x554366!==_0x5d34a4;},'QDKuV':_0x42843b(0x12b),'ZPtdc':function(_0x871375,_0x4c712a,_0x28aabe,_0x4d8078){return _0x871375(_0x4c712a,_0x28aabe,_0x4d8078);},'AdfOF':_0x42843b(0x134),'DlXfD':function(_0x1c456d,_0x322ec7){return _0x1c456d(_0x322ec7);},'IyKkw':function(_0x4c3ff2){return _0x4c3ff2();},'kaDkE':_0x42843b(0x11b),'JcIvd':function(_0x2704e5,_0x3e5ee){return _0x2704e5(_0x3e5ee);},'YOHZu':'fail','DfRiQ':_0x42843b(0xc6),'AKtjI':_0x42843b(0xf3),'PuAuq':function(_0x1eb350,_0x54b1bb){return _0x1eb350||_0x54b1bb;},'BWKbu':_0x42843b(0x11d),'alZOP':function(_0x27e343,_0x449362){return _0x27e343(_0x449362);},'JSHKV':'test_skip','CVYxn':function(_0x4ce1d2,_0x4aedd3){return _0x4ce1d2(_0x4aedd3);},'KDuqk':'TestRunSkipped','EGqfH':function(_0x2375a3){return _0x2375a3();},'oIWpV':_0x42843b(0xa4),'BhDAu':_0x42843b(0xca),'wjUSQ':'number','fxolf':function(_0x1a9059,_0x465b3f){return _0x1a9059===_0x465b3f;},'egQJF':function(_0x5725de,_0x4677ba){return _0x5725de===_0x4677ba;},'vPoiy':function(_0x52b621,_0x4e3c02){return _0x52b621(_0x4e3c02);},'kZaFe':function(_0x46a08e){return _0x46a08e();},'WZwtj':function(_0xd43354,_0xe9dbf0,_0xa9c997){return _0xd43354(_0xe9dbf0,_0xa9c997);},'udGUe':_0x42843b(0xbf),'Jmknw':'jest-circus','ZTOYV':'jest-circus/build/utils.js','agTAq':function(_0x2194a8,_0x374422){return _0x2194a8(_0x374422);},'pCRnf':_0x42843b(0x83),'iOzUU':function(_0x28718f,_0xf4d05){return _0x28718f(_0xf4d05);},'feoTm':function(_0x814e36,..._0x373664){return _0x814e36(..._0x373664);}};try{logger[_0x42843b(0x67)](_0x42843b(0x96)+_0x24f65f[_0x42843b(0x8e)](shouldProcessEventForTesthub)+_0x42843b(0xf6)+process[_0x42843b(0x140)][_0x42843b(0xa0)]);const _0x21f5b8=_0x2fba77&&_0x2fba77[0x0]?_0x2fba77[0x0]:{};let _0xbc8de0=0x0;try{if(_0x21f5b8[_0x42843b(0xb3)]&&_0x24f65f['FcHUP'](typeof _0x21f5b8['config'][_0x42843b(0xb9)],_0x24f65f['wjUSQ']))_0xbc8de0=_0x21f5b8['config'][_0x42843b(0xb9)];else{if(_0x21f5b8[_0x42843b(0x13c)]&&_0x24f65f['fxolf'](typeof _0x21f5b8[_0x42843b(0x13c)][_0x42843b(0xb9)],_0x24f65f[_0x42843b(0xec)]))_0xbc8de0=_0x21f5b8[_0x42843b(0x13c)][_0x42843b(0xb9)];else global[_0x42843b(0x10d)]&&_0x24f65f[_0x42843b(0x136)](typeof global['jestConfig'][_0x42843b(0xb9)],_0x24f65f['wjUSQ'])&&(_0xbc8de0=global[_0x42843b(0x10d)][_0x42843b(0xb9)]);}}catch(_0xfb4d66){logger[_0x42843b(0x67)](_0x42843b(0xea)+util[_0x42843b(0x7e)](_0xfb4d66));}global['__bstackPlatformIndex']=_0xbc8de0,process[_0x42843b(0x140)][_0x42843b(0xef)]=_0x24f65f['vPoiy'](String,_0xbc8de0);const _0x2ae6a2=new ObservabilityReporter();!_initializedPlatformIndices[_0x42843b(0xee)](_0xbc8de0)?(logger[_0x42843b(0x67)](_0x42843b(0x75)+_0xbc8de0),_initializedPlatformIndices[_0x42843b(0xa1)](_0xbc8de0),_0x24f65f[_0x42843b(0x13a)](shouldProcessEventForTesthub)&&(_0x24f65f['kZaFe'](patchConsoleLogger),_0x2ae6a2['registerListeners']())):logger[_0x42843b(0x67)](_0x42843b(0x9d)+_0xbc8de0+_0x42843b(0x122));let _0x5c906f;try{_0x5c906f=_0x24f65f[_0x42843b(0xa3)](requireModule,_0x24f65f[_0x42843b(0xd4)],_0x24f65f[_0x42843b(0x128)]);}catch{_0x5c906f=_0x24f65f['unPPQ'](requireModule,_0x24f65f['Jmknw']);}let _0x55f6f5;try{_0x55f6f5=_0x24f65f[_0x42843b(0xa3)](requireModule,_0x24f65f['ZTOYV'],_0x24f65f[_0x42843b(0x128)])[_0x42843b(0xc3)];}catch{_0x55f6f5=_0x24f65f[_0x42843b(0x9b)](requireModule,_0x24f65f[_0x42843b(0x128)])[_0x42843b(0xc3)]||(()=>({}));}const _0x10c83f=BrowserstackCLI[_0x42843b(0x144)]()['isCliEnabled']();(_0x24f65f[_0x42843b(0xd9)](shouldProcessEventForTesthub)||_0x10c83f)&&_0x5c906f[_0x42843b(0xb8)](_0x24f65f[_0x42843b(0xa3)](o11yErrorHandler,async(_0x32be4f,_0x11923f)=>{const _0xfb1c5e=_0x42843b;switch(_0x32be4f[_0xfb1c5e(0x14c)]){case _0x24f65f[_0xfb1c5e(0xfa)]:if(_0x32be4f[_0xfb1c5e(0x6b)]['fn']&&_0x32be4f[_0xfb1c5e(0x6b)]['fn'][_0xfb1c5e(0xfb)]()[_0xfb1c5e(0x113)](/browserstack internal helper hook/))break;if(_0x32be4f['hook'][_0xfb1c5e(0x69)]&&_0x24f65f[_0xfb1c5e(0x129)](_0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0x69)][_0xfb1c5e(0x14c)],_0x24f65f[_0xfb1c5e(0x114)])){const _0x152624=_0x32be4f['hook'][_0xfb1c5e(0xe2)]&&((()=>{const _0xeee3b9=_0xfb1c5e;try{const _0x1f7894=_0x24f65f[_0xeee3b9(0xc2)](require,_0x24f65f[_0xeee3b9(0xcd)]),_0x2902bb=_0x1f7894['parse'][_0xeee3b9(0x14b)](_0x1f7894,_0x32be4f[_0xeee3b9(0x6b)]['asyncError']);return _0x2902bb[0x0]&&_0x2902bb[0x0][_0xeee3b9(0x8f)]?_0x2902bb[0x0][_0xeee3b9(0x8f)]():null;}catch(_0x46a443){return logger[_0xeee3b9(0x67)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x46a443[_0xeee3b9(0xa7)]),null;}})())||_0x32be4f[_0xfb1c5e(0x6b)]['file']||null;if(!_0x152624)break;}if(BrowserstackCLI[_0xfb1c5e(0x144)]()[_0xfb1c5e(0x97)]()&&await _0x24f65f['Jzuxx'](isCLIReady)){if(_0x24f65f[_0xfb1c5e(0x8b)](shouldProcessEventForTesthub,testHubConstants[_0xfb1c5e(0x87)][_0xfb1c5e(0x72)]))try{await _0x24f65f['kYCQH'](handleHookEventCLI,_0x32be4f[_0xfb1c5e(0x6b)],_0x24f65f[_0xfb1c5e(0xa8)],_0x11923f);break;}catch(_0x3d61f3){_0x24f65f[_0xfb1c5e(0x6c)](debug,_0xfb1c5e(0x104)+util[_0xfb1c5e(0x7e)](_0x3d61f3));}}if(_0x24f65f[_0xfb1c5e(0x8b)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xfb1c5e(0x72)])){if(!_0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0x14d)]){const _0x370ec6=TestDetails['setTestUUID'](process['pid']+_0xfb1c5e(0x132));_0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0x14d)]=_0x370ec6;}else _0x32be4f[_0xfb1c5e(0x6b)]['markedStatus']&&(_0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0x14d)]=TestDetails[_0xfb1c5e(0x14a)](process[_0xfb1c5e(0xaa)]+_0xfb1c5e(0x132)),delete _0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0x6f)]);_0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0xc5)]=new Date()['toISOString'](),await _0x2ae6a2[_0xfb1c5e(0xf8)](_0x32be4f[_0xfb1c5e(0x6b)],undefined,![],_0x24f65f[_0xfb1c5e(0xa8)]);}break;case _0x24f65f[_0xfb1c5e(0x130)]:if(BrowserstackCLI[_0xfb1c5e(0x144)]()['isCliEnabled']()&&await _0x24f65f[_0xfb1c5e(0xb0)](isCLIReady)){if(_0x24f65f[_0xfb1c5e(0x8b)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xfb1c5e(0x13f)]))try{await _0x24f65f[_0xfb1c5e(0xf4)](handleHookEventCLI,_0x32be4f['hook'],_0x24f65f[_0xfb1c5e(0xa6)],_0x11923f);break;}catch(_0x5b4d89){_0x24f65f['GBfOD'](debug,_0xfb1c5e(0x104)+util[_0xfb1c5e(0x7e)](_0x5b4d89));}}_0x24f65f[_0xfb1c5e(0x6c)](shouldProcessEventForTesthub,testHubConstants[_0xfb1c5e(0x87)][_0xfb1c5e(0x13f)])&&(await _0x2ae6a2[_0xfb1c5e(0xf8)](_0x32be4f[_0xfb1c5e(0x6b)],undefined,![],_0x24f65f[_0xfb1c5e(0xa6)]),TestDetails[_0xfb1c5e(0x125)](process[_0xfb1c5e(0xaa)]+_0xfb1c5e(0x132)));break;case _0x24f65f[_0xfb1c5e(0xf5)]:[_0x24f65f[_0xfb1c5e(0xe3)],_0x24f65f[_0xfb1c5e(0x11e)],_0x24f65f['UmaoO']]['includes'](_0x32be4f['hook'][_0xfb1c5e(0x123)])&&(_0x2ae6a2[_0xfb1c5e(0xbc)]=_0x32be4f['hook'][_0xfb1c5e(0x123)]),_0x11923f[_0xfb1c5e(0x141)]&&_0x24f65f[_0xfb1c5e(0x115)](_0x11923f[_0xfb1c5e(0x141)][_0xfb1c5e(0x98)],0x0)&&(_0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0xf7)]=[_0x11923f['unhandledErrors'][0x0][0x0]]);if(BrowserstackCLI['getInstance']()[_0xfb1c5e(0x97)]()&&await _0x24f65f['VwgkZ'](isCLIReady)){if(_0x24f65f[_0xfb1c5e(0xc2)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xfb1c5e(0x13f)]))try{await _0x24f65f[_0xfb1c5e(0x110)](handleHookEventCLI,_0x32be4f[_0xfb1c5e(0x6b)],_0x24f65f[_0xfb1c5e(0xa6)],_0x11923f);break;}catch(_0x22c61f){_0x24f65f['unPPQ'](debug,_0xfb1c5e(0x104)+util[_0xfb1c5e(0x7e)](_0x22c61f));}}_0x24f65f['GBfOD'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xfb1c5e(0x13f)])&&(await _0x2ae6a2['sendTestRunEvent'](_0x32be4f['hook'],undefined,![],_0x24f65f[_0xfb1c5e(0xa6)]),TestDetails[_0xfb1c5e(0x125)](process[_0xfb1c5e(0xaa)]+_0xfb1c5e(0x132)));break;case _0x24f65f[_0xfb1c5e(0x100)]:try{let _0x5240e2=_0x32be4f[_0xfb1c5e(0x116)][_0xfb1c5e(0x14c)]||'';try{let _0x3e6013=_0x32be4f[_0xfb1c5e(0x116)]['parent'];const _0x1714ae=[_0x5240e2];while(_0x3e6013&&_0x3e6013[_0xfb1c5e(0x14c)]&&_0x24f65f[_0xfb1c5e(0xed)](_0x3e6013[_0xfb1c5e(0x14c)],_0x24f65f['KqEMt'])){_0x1714ae[_0xfb1c5e(0x88)](_0x3e6013['name']),_0x3e6013=_0x3e6013[_0xfb1c5e(0x69)];}_0x5240e2=_0x1714ae[_0xfb1c5e(0xaf)](_0x24f65f[_0xfb1c5e(0xdf)]);}catch(_0x99b2a2){logger[_0xfb1c5e(0x67)](_0xfb1c5e(0xfe)+_0x99b2a2[_0xfb1c5e(0xa7)]);}process[_0xfb1c5e(0x13b)]=_0x5240e2,process[_0xfb1c5e(0xe8)]=null,process['_bstackTestFailureReason']=null,logger['debug'](_0xfb1c5e(0x85)+_0x5240e2+'\x22');if(!global[_0xfb1c5e(0x7b)]){const _0x297728={};_0x297728[_0xfb1c5e(0xa9)]={},global[_0xfb1c5e(0x7b)]=_0x297728;}!global[_0xfb1c5e(0x7b)][_0xfb1c5e(0xa9)]&&(global['__workerDetails'][_0xfb1c5e(0xa9)]={});const _0x3ef6f4={};_0x3ef6f4[_0xfb1c5e(0x92)]=_0x5240e2,_0x3ef6f4[_0xfb1c5e(0x14c)]=_0x5240e2,global['__workerDetails'][_0xfb1c5e(0xa9)][_0xfb1c5e(0x12f)]=_0x3ef6f4,global[_0xfb1c5e(0x146)]=_0x5240e2;}catch(_0x43e066){logger['debug']('[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20'+_0x43e066['message']);}if(BrowserstackCLI[_0xfb1c5e(0x144)]()[_0xfb1c5e(0x97)]()&&await _0x24f65f[_0xfb1c5e(0xb0)](isCLIReady))try{await _0x24f65f[_0xfb1c5e(0x6e)](handleTestEventCLI,_0x32be4f[_0xfb1c5e(0x116)],_0x24f65f[_0xfb1c5e(0x137)],_0x2ae6a2);break;}catch(_0x3007be){_0x24f65f[_0xfb1c5e(0x112)](debug,_0xfb1c5e(0x104)+util['format'](_0x3007be));}_0x24f65f['IyKkw'](shouldProcessEventForTesthub)&&await _0x2ae6a2[_0xfb1c5e(0x106)](_0x32be4f[_0xfb1c5e(0x116)]);break;case _0x24f65f[_0xfb1c5e(0xab)]:_0x32be4f[_0xfb1c5e(0x116)]={..._0x24f65f[_0xfb1c5e(0x7a)](_0x55f6f5,_0x32be4f[_0xfb1c5e(0x116)]),..._0x32be4f[_0xfb1c5e(0x116)]};try{const _0x444d03=_0x32be4f['test'][_0xfb1c5e(0x93)]||[],_0x3c23ac=_0x24f65f['Fmtmk'](_0x444d03[_0xfb1c5e(0x98)],0x0)||_0x24f65f['FcHUP'](_0x32be4f['test'][_0xfb1c5e(0x7f)],_0x24f65f[_0xfb1c5e(0xf1)]),_0x267e4b=_0x3c23ac?_0x24f65f['DfRiQ']:_0x24f65f['AKtjI'];let _0x3e776b='';_0x3c23ac&&(_0x3e776b=_0x444d03['map'](_0xd9ef49=>{const _0x1d97a5=_0xfb1c5e;if(Array[_0x1d97a5(0x86)](_0xd9ef49))return _0xd9ef49[_0x1d97a5(0xbe)](_0x491163=>_0x491163&&_0x491163[_0x1d97a5(0xa7)]||String(_0x491163))['join'](';\x20');return _0xd9ef49&&_0xd9ef49[_0x1d97a5(0xa7)]||_0x24f65f[_0x1d97a5(0x6c)](String,_0xd9ef49);})['join'](';\x20')),process['_bstackTestStatus']=_0x267e4b,process[_0xfb1c5e(0x13e)]=_0x24f65f['PuAuq'](_0x3e776b,''),logger[_0xfb1c5e(0x67)]('[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22'+_0x267e4b+'\x22'),global[_0xfb1c5e(0x7b)]&&global[_0xfb1c5e(0x7b)][_0xfb1c5e(0xa9)]&&(!global[_0xfb1c5e(0x7b)][_0xfb1c5e(0xa9)][_0xfb1c5e(0x12f)]&&(global[_0xfb1c5e(0x7b)]['currentTest'][_0xfb1c5e(0x12f)]={}),global[_0xfb1c5e(0x7b)]['currentTest'][_0xfb1c5e(0x12f)]['status']=_0x267e4b,_0x3c23ac&&(global[_0xfb1c5e(0x7b)][_0xfb1c5e(0xa9)][_0xfb1c5e(0x12f)][_0xfb1c5e(0x95)]=_0x3e776b));}catch(_0x1fc47b){logger['debug'](_0xfb1c5e(0xd7)+_0x1fc47b['message']);}if(!_0x32be4f[_0xfb1c5e(0x116)][_0xfb1c5e(0x6f)]){_0x32be4f[_0xfb1c5e(0x116)][_0xfb1c5e(0x6f)]=!![];if(BrowserstackCLI[_0xfb1c5e(0x144)]()[_0xfb1c5e(0x97)]()&&await _0x24f65f[_0xfb1c5e(0x13a)](isCLIReady))try{await _0x24f65f[_0xfb1c5e(0x110)](handleTestEventCLI,_0x32be4f[_0xfb1c5e(0x116)],_0x24f65f[_0xfb1c5e(0xb2)],_0x2ae6a2);break;}catch(_0x4364b2){_0x24f65f[_0xfb1c5e(0x99)](debug,_0xfb1c5e(0x104)+util[_0xfb1c5e(0x7e)](_0x4364b2));}_0x24f65f[_0xfb1c5e(0x13a)](shouldProcessEventForTesthub)&&await _0x2ae6a2[_0xfb1c5e(0xf8)](_0x32be4f['test']);}break;case _0x24f65f[_0xfb1c5e(0xe7)]:_0x32be4f[_0xfb1c5e(0x116)]={..._0x24f65f[_0xfb1c5e(0xd5)](_0x55f6f5,_0x32be4f['test']),..._0x32be4f[_0xfb1c5e(0x116)]};if(!_0x32be4f[_0xfb1c5e(0x116)]['markedStatus']){_0x32be4f[_0xfb1c5e(0x116)][_0xfb1c5e(0x6f)]=!![];if(BrowserstackCLI[_0xfb1c5e(0x144)]()[_0xfb1c5e(0x97)]()&&await _0x24f65f[_0xfb1c5e(0xb0)](isCLIReady))try{await _0x24f65f[_0xfb1c5e(0x124)](handleTestEventCLI,_0x32be4f[_0xfb1c5e(0x116)],_0x24f65f['KDuqk'],_0x2ae6a2);break;}catch(_0x1fd3f3){_0x24f65f[_0xfb1c5e(0x11c)](debug,_0xfb1c5e(0x104)+util[_0xfb1c5e(0x7e)](_0x1fd3f3));}_0x24f65f['EGqfH'](shouldProcessEventForTesthub)&&await _0x2ae6a2[_0xfb1c5e(0xf8)](_0x32be4f[_0xfb1c5e(0x116)],undefined,![],_0x24f65f[_0xfb1c5e(0xfd)]);}break;case _0x24f65f['oIWpV']:_0x2ae6a2['hook_failure']=null;break;case _0x24f65f[_0xfb1c5e(0x101)]:await RequestQueueHandler[_0xfb1c5e(0x144)]()[_0xfb1c5e(0x10e)](),process['removeAllListeners']();break;default:}},_0x24f65f[_0x42843b(0xb4)]));}catch(_0x2f8ce1){_0x24f65f[_0x42843b(0xd6)](debug,_0x42843b(0x90)+_0x2f8ce1);}return _0x24f65f[_0x42843b(0xe5)](initInitialize,..._0x2fba77);};try{Object[a17_0x39443d(0x73)](exportsI)['forEach'](_0x2f6405=>{const _0x2b7e8e=a17_0x39443d,_0x54ca01={'YiepO':function(_0x45b7e8,_0x22d516){return _0x45b7e8(_0x22d516);}};try{exports&&(exports[_0x2f6405]=exportsI[_0x2f6405]);}catch(_0xe4db16){_0x54ca01[_0x2b7e8e(0xb6)](debug,_0x2b7e8e(0xf0)+_0xe4db16);}});}catch(a17_0x29dd46){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x29dd46);}function a17_0x30ad(){const _0x2bf597=['ROOT_DESCRIBE_BLOCK','ZPtdc','markedStatus','beforeAll','error','HookStarted','keys','testUUID','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','PRE','afterEach','eGrwt','\x20for\x20hook\x20type:\x20','JcIvd','__workerDetails','vyGwS','util','format','status','22RGlyyy','qvDEk','sUFcC','EventHandler','3gRDqRa','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','isArray','EVENT','unshift','OkOup','3110432Voqlzi','oMDbU','setFrameworkDetail','TEST','IyKkw','getFileName','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','title','errors','AjfyD','failureMessage','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','isCliEnabled','length','alZOP','createIdentifierFromJestTest','agTAq','file','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','Error\x20checking\x20CLI\x20readiness:\x20','BROWSERSTACK_PUPPETEER','add','../../../helpers/test-observability/requestQueueHandler','WZwtj','run_describe_finish','jest-circus','xRmfZ','message','ugSDh','currentTest','pid','kaDkE','RpYUM','aDVpe','test_start','join','Jzuxx','../../v2/state/hookState','BWKbu','config','pCRnf','342885KEvIjw','YiepO','hook_start','addEventHandler','browserstackPlatformIndex','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','../../../helpers/test-observability/error-handler','hook_failure','isRunning','map','jest-circus/build/state.js','93753mOzwYo','initialize','FpzrW','makeSingleTestResult','current_test','started_at','failed','parse','PUPPETEER','../../v2/browserstackCLI','teardown','AFTER_EACH','../../../helpers/test-observability/utils','UPidI','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','testAnalyticsId','AFTER_ALL','QVVNB','uFcyT','42pzbqoC','udGUe','CVYxn','iOzUU','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','TEKoD','EGqfH','../test-observability/test-details','removeActiveHook','SfJBi','XVxtQ','Eldft','QDKuV','1107528CJSrma','trackEvent','asyncError','pmeNO','../../../helpers/logger','feoTm','toISOString','JSHKV','_bstackTestStatus','stack-trace','Error\x20reading\x20platformIndex\x20from\x20args:\x20','124369AZlqQW','wjUSQ','ctRQj','has','BROWSERSTACK_PLATFORM_INDEX','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','YOHZu','uuid','passed','xIAOQ','JaBPS',',\x20BROWSERSTACK_PUPPETEER=','errorsDetailed','sendTestRunEvent','JEST','xPmwg','toString','JtrGC','KDuqk','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','bootstrap','gJDPh','BhDAu','../../v2/state/testFrameworkState','setActiveHook','Error\x20routing\x20to\x20JestTestFramework:\x20','createTestFrameworkData','testStarted','POST','vKhey','../../../helpers/testhub/utils','beforeEach','../../../helpers/testhub/constants','HookRunStarted','jestConfig','shutdown','slyCQ','GqjWZ','../../v2/cliUtils','DlXfD','match','KqEMt','Fmtmk','test','hook_success','PLAYWRIGHT','retryOf','RjGFt','test_done','GBfOD','TestRunFinished','FvBGF','BEFORE_EACH','690802dosmBc','syHOG',',\x20re-registering\x20event\x20handler','type','kYCQH','removeTestUUID','gKAxk','getTestFramework','Jmknw','FcHUP','YmDAS','\x20>\x20','YanFH','state','574270YSASUs','testInfo','FOzsl','currentHook',':hookAnalyticsId','CLI\x20is\x20enabled\x20and\x20running.','TestRunStarted','yjVBN','egQJF','AdfOF','6LMjcHU','iPmlx','VwgkZ','_bstackTestName','configuration','afterAll','_bstackTestFailureReason','HookFinished','env','unhandledErrors','../../utils/constants','__jestCurrentTestIdentifier','getInstance','UDutt','browserstackTestName','HookRunFinished','../../v2/utils/jest-utils','hookData','setTestUUID','call','name','hookAnalyticsId','Handling\x20test\x20event\x20for\x20CLI:\x20','debug','jest-circus/build/jestAdapterInit.js','parent','ZfAAu','hook','unPPQ'];a17_0x30ad=function(){return _0x2bf597;};return a17_0x30ad();}
@@ -1 +1 @@
1
- const a18_0x47bb4d=a18_0x3ec1;function a18_0x3ec1(_0x1dcab6,_0x456241){const _0x59ccad=a18_0x59cc();return a18_0x3ec1=function(_0x3ec1c0,_0x217936){_0x3ec1c0=_0x3ec1c0-0x7b;let _0xf1d618=_0x59ccad[_0x3ec1c0];return _0xf1d618;},a18_0x3ec1(_0x1dcab6,_0x456241);}(function(_0x395745,_0x5dff17){const _0x4f7f08=a18_0x3ec1,_0x511d36=_0x395745();while(!![]){try{const _0x3934a1=parseInt(_0x4f7f08(0x89))/0x1*(parseInt(_0x4f7f08(0x7d))/0x2)+-parseInt(_0x4f7f08(0x7c))/0x3+parseInt(_0x4f7f08(0x7f))/0x4+parseInt(_0x4f7f08(0x88))/0x5+-parseInt(_0x4f7f08(0x7b))/0x6+-parseInt(_0x4f7f08(0x84))/0x7*(-parseInt(_0x4f7f08(0x87))/0x8)+-parseInt(_0x4f7f08(0x85))/0x9;if(_0x3934a1===_0x5dff17)break;else _0x511d36['push'](_0x511d36['shift']());}catch(_0x139d75){_0x511d36['push'](_0x511d36['shift']());}}}(a18_0x59cc,0xd5f85));const Sequencer=require(a18_0x47bb4d(0x8c))[a18_0x47bb4d(0x86)];function a18_0x59cc(){const _0x435c72=['2323725bwOTJK','11526yCGxis','path','map','@jest/test-sequencer','get','3214338qwdvxi','1669950GhLHPx','246RamMuJ','includes','3056608bBEJBB','split','filter','sort','exports','7RGfnXP','9738864cFFgLY','default','3234360eMzvTc'];a18_0x59cc=function(){return _0x435c72;};return a18_0x59cc();}class CustomSequencer extends Sequencer{[a18_0x47bb4d(0x82)](_0x2662b0){const _0x4e87c3=a18_0x47bb4d,_0x2ee28d=process['env']['JEST_TEST_ORDER'];if(!_0x2ee28d)return _0x2662b0;const _0x56aea4=_0x2ee28d[_0x4e87c3(0x80)](','),_0x2d60a1=new Map(_0x2662b0[_0x4e87c3(0x81)](_0x231ec2=>_0x56aea4[_0x4e87c3(0x7e)](_0x231ec2[_0x4e87c3(0x8a)]))[_0x4e87c3(0x8b)](_0x14a5a1=>[_0x14a5a1[_0x4e87c3(0x8a)],_0x14a5a1]));return _0x56aea4['map'](_0x58be8=>_0x2d60a1[_0x4e87c3(0x8d)](_0x58be8))['filter'](Boolean);}}module[a18_0x47bb4d(0x83)]=CustomSequencer;
1
+ const a18_0x1db1f8=a18_0x166f;(function(_0x12a748,_0x52f1be){const _0x2d43c2=a18_0x166f,_0x298b38=_0x12a748();while(!![]){try{const _0x2a21c5=-parseInt(_0x2d43c2(0x1c6))/0x1*(parseInt(_0x2d43c2(0x1d3))/0x2)+parseInt(_0x2d43c2(0x1c9))/0x3*(-parseInt(_0x2d43c2(0x1ca))/0x4)+-parseInt(_0x2d43c2(0x1c7))/0x5*(-parseInt(_0x2d43c2(0x1cd))/0x6)+parseInt(_0x2d43c2(0x1c4))/0x7+-parseInt(_0x2d43c2(0x1c5))/0x8+-parseInt(_0x2d43c2(0x1cf))/0x9+parseInt(_0x2d43c2(0x1c8))/0xa*(parseInt(_0x2d43c2(0x1cc))/0xb);if(_0x2a21c5===_0x52f1be)break;else _0x298b38['push'](_0x298b38['shift']());}catch(_0x29b225){_0x298b38['push'](_0x298b38['shift']());}}}(a18_0x2c3c,0x88fc8));function a18_0x2c3c(){const _0x111222=['sort','2081842RXvfVY','3568264UQukgP','312UFCLdK','2228120jLpZIW','4190ScKTvi','3fDFNsE','3533176jVBkqb','map','40315EuciSm','12fkhUny','JEST_TEST_ORDER','2877210OQIRal','includes','filter','split','3296RNGBgG','default','get','path'];a18_0x2c3c=function(){return _0x111222;};return a18_0x2c3c();}const Sequencer=require('@jest/test-sequencer')[a18_0x1db1f8(0x1c0)];function a18_0x166f(_0x3c97c7,_0x2923cd){const _0x2c3cf0=a18_0x2c3c();return a18_0x166f=function(_0x166fcf,_0x364638){_0x166fcf=_0x166fcf-0x1c0;let _0x4a7c5c=_0x2c3cf0[_0x166fcf];return _0x4a7c5c;},a18_0x166f(_0x3c97c7,_0x2923cd);}class CustomSequencer extends Sequencer{[a18_0x1db1f8(0x1c3)](_0x14ee54){const _0x348fcd=a18_0x1db1f8,_0x267c75=process['env'][_0x348fcd(0x1ce)];if(!_0x267c75)return _0x14ee54;const _0x49d3f6=_0x267c75[_0x348fcd(0x1d2)](','),_0x16354a=new Map(_0x14ee54[_0x348fcd(0x1d1)](_0x2a23da=>_0x49d3f6[_0x348fcd(0x1d0)](_0x2a23da[_0x348fcd(0x1c2)]))['map'](_0xf12b8f=>[_0xf12b8f[_0x348fcd(0x1c2)],_0xf12b8f]));return _0x49d3f6[_0x348fcd(0x1cb)](_0x11ef3c=>_0x16354a[_0x348fcd(0x1c1)](_0x11ef3c))[_0x348fcd(0x1d1)](Boolean);}}module['exports']=CustomSequencer;