browserstack-node-sdk 1.55.4 → 1.55.5

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 (199) 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 +3 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/stackFrameUtils.js +1 -0
  180. package/src/helpers/test-observability/constants.js +1 -1
  181. package/src/helpers/test-observability/error-handler.js +1 -1
  182. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  183. package/src/helpers/test-observability/sessionHandler.js +1 -1
  184. package/src/helpers/test-observability/utils.js +1 -1
  185. package/src/helpers/test-orchestration/constants.js +1 -1
  186. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  187. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  188. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  189. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  190. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  191. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  192. package/src/helpers/testhub/constants.js +1 -1
  193. package/src/helpers/testhub/testhubHandler.js +1 -1
  194. package/src/helpers/testhub/utils.js +1 -1
  195. package/src/helpers/timeoutPromise.js +1 -1
  196. package/src/helpers/utilities.js +1 -1
  197. package/src/helpers/w3cMapping.js +1 -1
  198. package/src/hubAllocationMethods.js +1 -1
  199. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a10_0x536290=a10_0x301b;(function(_0x476f2f,_0x322b87){const _0x16b5ea=a10_0x301b,_0x174ce6=_0x476f2f();while(!![]){try{const _0x5a717a=-parseInt(_0x16b5ea(0xeb))/0x1*(parseInt(_0x16b5ea(0xf7))/0x2)+parseInt(_0x16b5ea(0xe6))/0x3*(parseInt(_0x16b5ea(0xfc))/0x4)+parseInt(_0x16b5ea(0xf9))/0x5*(parseInt(_0x16b5ea(0xd4))/0x6)+-parseInt(_0x16b5ea(0xe5))/0x7+parseInt(_0x16b5ea(0xc9))/0x8*(parseInt(_0x16b5ea(0xd8))/0x9)+parseInt(_0x16b5ea(0xd3))/0xa*(parseInt(_0x16b5ea(0xd7))/0xb)+-parseInt(_0x16b5ea(0xd6))/0xc;if(_0x5a717a===_0x322b87)break;else _0x174ce6['push'](_0x174ce6['shift']());}catch(_0x1de102){_0x174ce6['push'](_0x174ce6['shift']());}}}(a10_0x3b9e,0x4d6ba));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x536290(0xc8)),cucumberModule=requireModule(a10_0x536290(0xc6),a10_0x536290(0xdd)),logger=require('../../helpers/logger')['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x536290(0xdc)],After=cucumberModule[a10_0x536290(0xfb)],configuration=process[a10_0x536290(0xdf)][a10_0x536290(0xe9)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x536290(0xdb)]=!![]),global[a10_0x536290(0xea)]=isTrue(config[a10_0x536290(0xed)]),require('../../index')[a10_0x536290(0xcd)](config),global[a10_0x536290(0xfd)]=config['platformCaps']||{};}function a10_0x301b(_0xf4ce4e,_0x2453f4){const _0x3b9ebf=a10_0x3b9e();return a10_0x301b=function(_0x301bb9,_0x480a01){_0x301bb9=_0x301bb9-0xc6;let _0x478473=_0x3b9ebf[_0x301bb9];return _0x478473;},a10_0x301b(_0xf4ce4e,_0x2453f4);}global[a10_0x536290(0xd0)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x536290(0xc7)];cucumberModule['setDefaultTimeout']=_0x1c9694=>{const _0x33b863=a10_0x536290,_0x271232={'CeBXZ':function(_0x317208,_0x519e53){return _0x317208(_0x519e53);}};global[_0x33b863(0xd0)]=_0x1c9694,_0x271232[_0x33b863(0xe4)](__setDefaultTimeout,_0x1c9694);};const a10_0x87aa77={};function a10_0x3b9e(){const _0x2df56b=['23238YdVUyY','Inside\x20browserstack\x20Before','WtMjU','CONFIG','__skipSessionStatus','3qDbixs','DBpkS','skipSessionStatus','name','Ljgib','YudQh','__error_messages__','passed','Error:\x20setting\x20status\x20at\x20After:\x20','timeout','\x22}}','join','168210hcLBuq','executeScript','168565OVBakm','vbAYw','After','164xGTnzB','__platformCaps','cucumber/lib/index.js','setDefaultTimeout','../../helpers/setKeepAlive','672744IwQuOQ','result','HCCqn','toLowerCase','browserstackAgentV2','initQuit','debug','__timeout','__driver','session_','13810zOGyoz','102LDHZEH','Error:\x20quiting\x20at\x20After:\x20','3423984EjkZPn','407YVTwdR','45exERkQ','dJOWS','bstack','__skipSessionName','Before','cucumber','mxpAo','env','Inside\x20browserstack\x20After','WLcNu','XBEOX','\x20|\x20','CeBXZ','3552556ZZAKQz'];a10_0x3b9e=function(){return _0x2df56b;};return a10_0x3b9e();}a10_0x87aa77[a10_0x536290(0xee)]=a10_0x536290(0xda),Before(a10_0x87aa77,function(){const _0x217bde=a10_0x536290,_0x49b7ad={};_0x49b7ad[_0x217bde(0xec)]=_0x217bde(0xe7);const _0x43c513=_0x49b7ad;logger['debug'](_0x43c513['DBpkS']),global[_0x217bde(0xf1)]=[];});const a10_0x56192e={};a10_0x56192e[a10_0x536290(0xee)]=a10_0x536290(0xda),a10_0x56192e[a10_0x536290(0xf4)]=0x2710,After(a10_0x56192e,function(_0x3ad71c,_0x1765fb){const _0x419c10=a10_0x536290,_0x533032={'Ljgib':function(_0x2dcc08,_0x421c01){return _0x2dcc08===_0x421c01;},'dJOWS':'failed','WtMjU':function(_0x4ada36,_0x5d9dc9,_0x5cb7fd,_0x3e08f8){return _0x4ada36(_0x5d9dc9,_0x5cb7fd,_0x3e08f8);},'WLcNu':_0x419c10(0xe3),'YudQh':function(_0x30ba6c,_0x34614f,_0x5098a1){return _0x30ba6c(_0x34614f,_0x5098a1);},'HCCqn':_0x419c10(0xf2),'vbAYw':function(_0x1b5bbe){return _0x1b5bbe();},'kVMpO':function(_0x109f65,_0x5b5ab2){return _0x109f65(_0x5b5ab2);},'XBEOX':function(_0x54e769){return _0x54e769();},'mxpAo':_0x419c10(0xe0)};logger['debug'](_0x533032[_0x419c10(0xde)]),new Promise(async(_0x52cf22,_0x2e8ae3)=>{const _0x27b842=_0x419c10;let _0x1afe98=![];try{await global[_0x27b842(0xd1)][_0x27b842(0xd2)],_0x1afe98=!![],!global[_0x27b842(0xdb)]&&await global[_0x27b842(0xd1)][_0x27b842(0xf8)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x3ad71c['pickle'][_0x27b842(0xee)]+_0x27b842(0xf5)),_0x533032[_0x27b842(0xef)](_0x3ad71c[_0x27b842(0xca)]['status'][_0x27b842(0xcc)](),_0x533032[_0x27b842(0xd9)])?await _0x533032[_0x27b842(0xe8)](markSessionStatus,global['__driver'],_0x533032[_0x27b842(0xd9)],global[_0x27b842(0xf1)][_0x27b842(0xf6)](_0x533032[_0x27b842(0xe1)])):await _0x533032[_0x27b842(0xf0)](markSessionStatus,global[_0x27b842(0xd1)],_0x533032[_0x27b842(0xcb)]);}catch(_0x4a75eb){logger[_0x27b842(0xcf)](_0x27b842(0xf3)+_0x4a75eb);}if(_0x1afe98)try{await global['__driver'][_0x27b842(0xce)](),_0x533032[_0x27b842(0xfa)](_0x52cf22);}catch(_0x273771){logger['debug'](_0x27b842(0xd5)+_0x273771),_0x533032['kVMpO'](_0x2e8ae3,_0x273771);}else _0x533032[_0x27b842(0xe2)](_0x2e8ae3);})['then'](()=>_0x1765fb());});
1
+ const a10_0x36eaee=a10_0x9b41;(function(_0x3f2435,_0x58d6e4){const _0x1a6991=a10_0x9b41,_0x21113a=_0x3f2435();while(!![]){try{const _0x3fda8e=parseInt(_0x1a6991(0x18d))/0x1*(parseInt(_0x1a6991(0x1ad))/0x2)+-parseInt(_0x1a6991(0x1bb))/0x3+parseInt(_0x1a6991(0x19b))/0x4+parseInt(_0x1a6991(0x183))/0x5*(-parseInt(_0x1a6991(0x197))/0x6)+-parseInt(_0x1a6991(0x1ac))/0x7+-parseInt(_0x1a6991(0x194))/0x8*(parseInt(_0x1a6991(0x1ae))/0x9)+parseInt(_0x1a6991(0x193))/0xa;if(_0x3fda8e===_0x58d6e4)break;else _0x21113a['push'](_0x21113a['shift']());}catch(_0x4efde2){_0x21113a['push'](_0x21113a['shift']());}}}(a10_0x2d07,0x55a66));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x36eaee(0x1a4)),setKeepAlive=require(a10_0x36eaee(0x1b3)),cucumberModule=requireModule(a10_0x36eaee(0x1a8),a10_0x36eaee(0x1a2)),logger=require('../../helpers/logger')[a10_0x36eaee(0x1b5)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x36eaee(0x1bc)],After=cucumberModule[a10_0x36eaee(0x1ba)],configuration=process['env'][a10_0x36eaee(0x1a6)];if(configuration!==undefined){const config=JSON[a10_0x36eaee(0x19c)](configuration);isTrue(config[a10_0x36eaee(0x1b0)])&&(global[a10_0x36eaee(0x19f)]=!![]),global[a10_0x36eaee(0x1b8)]=isTrue(config[a10_0x36eaee(0x1aa)]),require(a10_0x36eaee(0x198))[a10_0x36eaee(0x1a0)](config),global[a10_0x36eaee(0x19a)]=config['platformCaps']||{};}global[a10_0x36eaee(0x196)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x36eaee(0x1a1)];function a10_0x2d07(){const _0xe0d1d1=['5wyxCkR','failed','session_','passed','pickle','qmAoX','status','initQuit','then','Error:\x20setting\x20status\x20at\x20After:\x20','31GyfMvG','Inside\x20browserstack\x20Before','QtggW','eqjLQ','Error:\x20quiting\x20at\x20After:\x20','Inside\x20browserstack\x20After','7981300CTQIhZ','874672giKush','name','__timeout','1357386qlZXbt','../../index','bstack','__platformCaps','1539476zLgAQD','parse','\x22}}','RbpRf','__skipSessionName','browserstackAgentV2','setDefaultTimeout','cucumber','join','../../helpers/helper','debug','CONFIG','nbxuw','cucumber/lib/index.js','timeout','skipSessionStatus','lEOBv','1918889lsXhYh','11276zlutgr','18qZQgfE','GJxuG','skipSessionName','result','toLowerCase','../../helpers/setKeepAlive','\x20|\x20','winstonLogger','__error_messages__','__driver','__skipSessionStatus','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','After','863787ntYJqB','Before','pIgOG'];a10_0x2d07=function(){return _0xe0d1d1;};return a10_0x2d07();}cucumberModule[a10_0x36eaee(0x1a1)]=_0x379468=>{const _0x2fc656=a10_0x36eaee,_0x1b6c70={'qmAoX':function(_0x1ea8ba,_0x102af2){return _0x1ea8ba(_0x102af2);}};global[_0x2fc656(0x196)]=_0x379468,_0x1b6c70[_0x2fc656(0x188)](__setDefaultTimeout,_0x379468);};function a10_0x9b41(_0x48fdc0,_0x10bac4){const _0x2d0780=a10_0x2d07();return a10_0x9b41=function(_0x9b41a6,_0x527428){_0x9b41a6=_0x9b41a6-0x182;let _0x97ca4=_0x2d0780[_0x9b41a6];return _0x97ca4;},a10_0x9b41(_0x48fdc0,_0x10bac4);}const a10_0x4d9d0c={};a10_0x4d9d0c['name']=a10_0x36eaee(0x199),Before(a10_0x4d9d0c,function(){const _0x38497c=a10_0x36eaee,_0x4e5ced={};_0x4e5ced[_0x38497c(0x1ab)]=_0x38497c(0x18e);const _0x231dc6=_0x4e5ced;logger['debug'](_0x231dc6[_0x38497c(0x1ab)]),global['__error_messages__']=[];});const a10_0x1ec7ea={};a10_0x1ec7ea['name']=a10_0x36eaee(0x199),a10_0x1ec7ea[a10_0x36eaee(0x1a9)]=0x2710,After(a10_0x1ec7ea,function(_0x5c99f5,_0x33b463){const _0x151573=a10_0x36eaee,_0x4ae1fc={'EXLEZ':function(_0x2e2a16,_0x1f7bf0){return _0x2e2a16===_0x1f7bf0;},'pIgOG':_0x151573(0x184),'Kpiae':function(_0x3062ae,_0x3b76fe,_0x1bba07,_0x20b29f){return _0x3062ae(_0x3b76fe,_0x1bba07,_0x20b29f);},'GJxuG':_0x151573(0x1b4),'RbpRf':function(_0x1f4762,_0x38fe07,_0x109a90){return _0x1f4762(_0x38fe07,_0x109a90);},'YCYYQ':_0x151573(0x186),'eqjLQ':function(_0x52e71e){return _0x52e71e();},'QtggW':function(_0x582bb0,_0x32ae7c){return _0x582bb0(_0x32ae7c);},'nbxuw':_0x151573(0x192)};logger[_0x151573(0x1a5)](_0x4ae1fc[_0x151573(0x1a7)]),new Promise(async(_0x42aa90,_0x62ba00)=>{const _0x252256=_0x151573;let _0x3ad476=![];try{await global[_0x252256(0x1b7)][_0x252256(0x185)],_0x3ad476=!![],!global[_0x252256(0x19f)]&&await global[_0x252256(0x1b7)]['executeScript'](_0x252256(0x1b9)+_0x5c99f5[_0x252256(0x187)][_0x252256(0x195)]+_0x252256(0x19d)),_0x4ae1fc['EXLEZ'](_0x5c99f5[_0x252256(0x1b1)][_0x252256(0x189)][_0x252256(0x1b2)](),_0x4ae1fc['pIgOG'])?await _0x4ae1fc['Kpiae'](markSessionStatus,global['__driver'],_0x4ae1fc[_0x252256(0x182)],global[_0x252256(0x1b6)][_0x252256(0x1a3)](_0x4ae1fc[_0x252256(0x1af)])):await _0x4ae1fc[_0x252256(0x19e)](markSessionStatus,global[_0x252256(0x1b7)],_0x4ae1fc['YCYYQ']);}catch(_0x12b1e8){logger[_0x252256(0x1a5)](_0x252256(0x18c)+_0x12b1e8);}if(_0x3ad476)try{await global[_0x252256(0x1b7)][_0x252256(0x18a)](),_0x4ae1fc[_0x252256(0x190)](_0x42aa90);}catch(_0x299426){logger[_0x252256(0x1a5)](_0x252256(0x191)+_0x299426),_0x4ae1fc[_0x252256(0x18f)](_0x62ba00,_0x299426);}else _0x4ae1fc[_0x252256(0x190)](_0x62ba00);})[_0x151573(0x18b)](()=>_0x33b463());});
@@ -1 +1 @@
1
- const a11_0x3f1b80=a11_0x3e39;(function(_0x12ef2c,_0x188668){const _0x3639e3=a11_0x3e39,_0x224320=_0x12ef2c();while(!![]){try{const _0x5cb675=parseInt(_0x3639e3(0xd5))/0x1*(parseInt(_0x3639e3(0xd8))/0x2)+-parseInt(_0x3639e3(0xd9))/0x3*(parseInt(_0x3639e3(0xd3))/0x4)+parseInt(_0x3639e3(0xe3))/0x5*(parseInt(_0x3639e3(0xe2))/0x6)+-parseInt(_0x3639e3(0xda))/0x7*(parseInt(_0x3639e3(0xdd))/0x8)+parseInt(_0x3639e3(0xd6))/0x9*(-parseInt(_0x3639e3(0xd4))/0xa)+-parseInt(_0x3639e3(0xdb))/0xb*(parseInt(_0x3639e3(0xd2))/0xc)+parseInt(_0x3639e3(0xe0))/0xd*(parseInt(_0x3639e3(0xde))/0xe);if(_0x5cb675===_0x188668)break;else _0x224320['push'](_0x224320['shift']());}catch(_0x5dae45){_0x224320['push'](_0x224320['shift']());}}}(a11_0x237e,0xe65ca));const {requireModule}=require(a11_0x3f1b80(0xd7)),constants=require(a11_0x3f1b80(0xdf));let cucumberModule=null;try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a11_0x3f1b80(0xd0));}catch(a11_0x46088f){cucumberModule=requireModule('cucumber/lib/index.js',a11_0x3f1b80(0xd1));}const userValue=global['__timeout']||0x0;(userValue===0x0||userValue<constants[a11_0x3f1b80(0xe1)])&&cucumberModule[a11_0x3f1b80(0xdc)](constants[a11_0x3f1b80(0xe1)]);function a11_0x3e39(_0x3a6206,_0x3d51f5){const _0x237e57=a11_0x237e();return a11_0x3e39=function(_0x3e3980,_0x432439){_0x3e3980=_0x3e3980-0xd0;let _0x4d4c8d=_0x237e57[_0x3e3980];return _0x4d4c8d;},a11_0x3e39(_0x3a6206,_0x3d51f5);}function a11_0x237e(){const _0x127ba3=['1fHWfct','267291ZggDxh','../../helpers/helper','3711522lyAAmY','3vdBHEu','370594YBVjBl','196262jpgNpg','setDefaultTimeout','160ldRjbY','532iyeZbI','../utils/constants','919113PPZFpm','BSTACK_DELTA','6VzmePi','2445895lbEnna','@cucumber/cucumber','cucumber','756dBGrYX','2512292XOlfxG','430SojDjc'];a11_0x237e=function(){return _0x127ba3;};return a11_0x237e();}
1
+ const a11_0x706e37=a11_0x4b5c;function a11_0x4b5c(_0x354c12,_0x5ce031){const _0x33410e=a11_0x3341();return a11_0x4b5c=function(_0x4b5c98,_0x9cbf5d){_0x4b5c98=_0x4b5c98-0x1eb;let _0x416e57=_0x33410e[_0x4b5c98];return _0x416e57;},a11_0x4b5c(_0x354c12,_0x5ce031);}(function(_0x2faf46,_0x45367e){const _0x19d0a5=a11_0x4b5c,_0xb2ed99=_0x2faf46();while(!![]){try{const _0x487d32=parseInt(_0x19d0a5(0x1eb))/0x1+parseInt(_0x19d0a5(0x1f3))/0x2*(-parseInt(_0x19d0a5(0x1f0))/0x3)+parseInt(_0x19d0a5(0x1f4))/0x4*(-parseInt(_0x19d0a5(0x1ec))/0x5)+-parseInt(_0x19d0a5(0x1f8))/0x6*(-parseInt(_0x19d0a5(0x1f1))/0x7)+-parseInt(_0x19d0a5(0x1fb))/0x8+parseInt(_0x19d0a5(0x1f7))/0x9*(parseInt(_0x19d0a5(0x1f5))/0xa)+parseInt(_0x19d0a5(0x1ee))/0xb;if(_0x487d32===_0x45367e)break;else _0xb2ed99['push'](_0xb2ed99['shift']());}catch(_0x45d24e){_0xb2ed99['push'](_0xb2ed99['shift']());}}}(a11_0x3341,0x2417a));const {requireModule}=require(a11_0x706e37(0x1ed)),constants=require(a11_0x706e37(0x1f6));let cucumberModule=null;try{cucumberModule=requireModule(a11_0x706e37(0x1fa),a11_0x706e37(0x1f9));}catch(a11_0x4e2236){cucumberModule=requireModule(a11_0x706e37(0x1ef),a11_0x706e37(0x1f2));}const userValue=global[a11_0x706e37(0x1fd)]||0x0;function a11_0x3341(){const _0x45a10b=['../../helpers/helper','1652398dATLHU','cucumber/lib/index.js','15WrfLNY','91mMNCfB','cucumber','38476vjVXPV','7704dgKbuR','107290CPWZXg','../utils/constants','126CIhYZG','96162liIGko','@cucumber/cucumber','@cucumber/cucumber/lib/index.js','1343128XQsxWH','setDefaultTimeout','__timeout','39886hNagOd','355qboSIw'];a11_0x3341=function(){return _0x45a10b;};return a11_0x3341();}(userValue===0x0||userValue<constants['BSTACK_DELTA'])&&cucumberModule[a11_0x706e37(0x1fc)](constants['BSTACK_DELTA']);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a12_0x1a09c2=a12_0x36a1;(function(_0x270e6a,_0x736e1e){const _0x1f9707=a12_0x36a1,_0x2a345d=_0x270e6a();while(!![]){try{const _0x2a2042=-parseInt(_0x1f9707(0x181))/0x1*(parseInt(_0x1f9707(0x177))/0x2)+parseInt(_0x1f9707(0x172))/0x3+-parseInt(_0x1f9707(0x13c))/0x4+parseInt(_0x1f9707(0x139))/0x5*(parseInt(_0x1f9707(0x14f))/0x6)+parseInt(_0x1f9707(0x15f))/0x7*(-parseInt(_0x1f9707(0x14d))/0x8)+-parseInt(_0x1f9707(0x140))/0x9+parseInt(_0x1f9707(0x168))/0xa;if(_0x2a2042===_0x736e1e)break;else _0x2a345d['push'](_0x2a345d['shift']());}catch(_0x36bccd){_0x2a345d['push'](_0x2a345d['shift']());}}}(a12_0x412f,0x522c9));const {default:BrowserStackSetup}=require(a12_0x1a09c2(0x153)),logger=require('../../helpers/logger')[a12_0x1a09c2(0x162)],{URL}=require('url'),helper=require(a12_0x1a09c2(0x158)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x1a09c2(0x16f)),validHosts=function(_0x49a9ab){const _0x3a45da=a12_0x1a09c2;return _0x49a9ab[_0x3a45da(0x17a)](',')['every'](_0x151824=>{const _0x11ece0=_0x3a45da;try{new URL(_0x151824[_0x11ece0(0x13a)]());}catch(_0x1f1814){return![];}return!![];});},parseOnPremHosts=function(_0x1e73ec){const _0x105af5=a12_0x1a09c2,_0x8b27e7={};_0x8b27e7[_0x105af5(0x17f)]=function(_0x3fb244,_0x5565b1){return _0x3fb244===_0x5565b1;},_0x8b27e7['QaTfQ']=_0x105af5(0x166),_0x8b27e7[_0x105af5(0x16c)]='443',_0x8b27e7[_0x105af5(0x154)]=_0x105af5(0x148);const _0x29d3b7=_0x8b27e7;return _0x1e73ec[_0x105af5(0x17a)](',')[_0x105af5(0x13b)](_0x38b3cd=>{const _0x193cc1=_0x105af5,_0x4fcfa2=new URL(_0x38b3cd[_0x193cc1(0x13a)]()),_0x5395a0=_0x4fcfa2[_0x193cc1(0x173)],_0x2f1385=_0x4fcfa2[_0x193cc1(0x13f)]||(_0x29d3b7[_0x193cc1(0x17f)](_0x4fcfa2[_0x193cc1(0x160)],_0x29d3b7[_0x193cc1(0x13d)])?_0x29d3b7[_0x193cc1(0x16c)]:'80'),_0x705503=_0x4fcfa2[_0x193cc1(0x160)][_0x193cc1(0x15e)](':',''),_0x258d5c=_0x29d3b7['uPxdO'](_0x705503,_0x29d3b7[_0x193cc1(0x154)])?0x1:0x0;return _0x5395a0+','+_0x2f1385+','+_0x258d5c;});},connectCommandBuilder=function(_0x396acf){const _0x4bc59c=a12_0x1a09c2,_0x5d2f6c={};_0x5d2f6c['SZwZz']=_0x4bc59c(0x14e);const _0x4d1265=_0x5d2f6c,_0x868c54={};_0x868c54['describe']=HELP_MESSAGES[_0x4bc59c(0x145)][_0x4bc59c(0x16b)],_0x868c54[_0x4bc59c(0x175)]=_0x4d1265[_0x4bc59c(0x150)];const _0x45e1bf={};_0x45e1bf[_0x4bc59c(0x16e)]=HELP_MESSAGES[_0x4bc59c(0x145)][_0x4bc59c(0x14b)],_0x45e1bf[_0x4bc59c(0x175)]=_0x4d1265[_0x4bc59c(0x150)],_0x45e1bf['demandOption']=!![];const _0x386faf={};return _0x386faf[_0x4bc59c(0x161)]=_0x868c54,_0x386faf[_0x4bc59c(0x14b)]=_0x45e1bf,_0x396acf[_0x4bc59c(0x145)](_0x386faf);},connectCommandHandler=async function(_0x242ee7){const _0x345c3c=a12_0x1a09c2,_0x4c7c34={'OLMlk':'integrations','VoUig':function(_0x51f14d,_0x5c4d11){return _0x51f14d===_0x5c4d11;},'ttuDm':_0x345c3c(0x152),'mGhNh':'BrowserStack\x20access\x20key\x20missing.','pqpic':_0x345c3c(0x17e),'zfPrO':function(_0x154c57,_0x1b057b){return _0x154c57(_0x1b057b);},'JZUrJ':_0x345c3c(0x157),'bOvBV':function(_0x115e83,_0x41c3b7){return _0x115e83(_0x41c3b7);},'OKxkq':_0x345c3c(0x176),'PqWTx':_0x345c3c(0x159),'MwWCR':_0x345c3c(0x143)};try{const _0x58067b=new BrowserStackSetup(_0x242ee7,_0x4c7c34[_0x345c3c(0x17d)]);_0x242ee7[_0x345c3c(0x144)]&&(_0x58067b[_0x345c3c(0x155)]['accessKey']=_0x242ee7[_0x345c3c(0x144)]);if(_0x4c7c34[_0x345c3c(0x149)](typeof _0x58067b[_0x345c3c(0x155)][_0x345c3c(0x174)],_0x4c7c34['ttuDm'])){logger[_0x345c3c(0x151)](_0x4c7c34[_0x345c3c(0x15d)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x345c3c(0x14a)]);}const _0x56a5d8=_0x242ee7[_0x345c3c(0x14b)];if(_0x4c7c34[_0x345c3c(0x149)](typeof _0x56a5d8,_0x4c7c34[_0x345c3c(0x142)])){logger[_0x345c3c(0x151)](_0x4c7c34[_0x345c3c(0x141)]);throw new Error(ERROR_MESSAGES[_0x345c3c(0x14b)]['missing']);}if(!_0x4c7c34[_0x345c3c(0x171)](validHosts,_0x56a5d8)){logger[_0x345c3c(0x151)](_0x4c7c34[_0x345c3c(0x156)]);throw new Error(ERROR_MESSAGES['hosts'][_0x345c3c(0x163)]);}const _0x3a257c=_0x4c7c34[_0x345c3c(0x15b)](parseOnPremHosts,_0x56a5d8);_0x58067b[_0x345c3c(0x155)][_0x345c3c(0x147)]=!![],_0x58067b[_0x345c3c(0x155)][_0x345c3c(0x169)]['localIdentifier']=_0x4c7c34[_0x345c3c(0x170)],_0x58067b[_0x345c3c(0x155)][_0x345c3c(0x169)][_0x345c3c(0x180)]=_0x3a257c[_0x345c3c(0x17b)](','),helper[_0x345c3c(0x146)](_0x58067b[_0x345c3c(0x155)]),await _0x58067b[_0x345c3c(0x16a)](),logger[_0x345c3c(0x164)](_0x4c7c34[_0x345c3c(0x16d)]);}catch(_0x13a58b){logger['error'](_0x4c7c34[_0x345c3c(0x179)]);throw new Error(_0x13a58b['toString']());}};function a12_0x412f(){const _0x2471fc=['setProxySettings','browserstackLocal','https','VoUig','missing','hosts','root','784tkLpPR','string','36GMZung','SZwZz','error','undefined','../../helpers/BrowserStackSetup','LcQvT','config','JZUrJ','Hosts\x20not\x20valid','../../helpers/helper','Connection\x20established\x20successfully.','connect','bOvBV','footer','mGhNh','replace','27895nftvmn','protocol','bstack-accesskey','winstonLogger','invalid','info','exports','https:','usage','8167300rdpmKY','browserStackLocalOptions','setupBrowserstackLocal','bstackAccessKey','IhnrK','PqWTx','describe','./constants','OKxkq','zfPrO','1550553NwOLlb','hostname','accessKey','type','integrations-repeater','244974tbSPNW','command','MwWCR','split','join','pKfss','OLMlk','Integration\x20hosts\x20missing.','uPxdO','only','4XFNWJi','lthjr','122495yWBomK','trim','map','251300xGUuRS','QaTfQ','demandCommand','port','1806183xnitif','pqpic','ttuDm','Failed\x20to\x20establish\x20connection.','bstackAccesskey','options'];a12_0x412f=function(){return _0x2471fc;};return a12_0x412f();}function a12_0x36a1(_0x23fa93,_0x283882){const _0x412f1e=a12_0x412f();return a12_0x36a1=function(_0x36a1b2,_0x40b7b7){_0x36a1b2=_0x36a1b2-0x139;let _0x3d7e33=_0x412f1e[_0x36a1b2];return _0x3d7e33;},a12_0x36a1(_0x23fa93,_0x283882);}function run(_0x591b24){const _0x12463d=a12_0x1a09c2,_0x59c159={};_0x59c159[_0x12463d(0x17c)]=_0x12463d(0x15a),_0x59c159['lthjr']='help';const _0x158105=_0x59c159;_0x591b24[_0x12463d(0x167)](HELP_MESSAGES['command'][_0x12463d(0x14c)])[_0x12463d(0x178)](_0x158105[_0x12463d(0x17c)],HELP_MESSAGES[_0x12463d(0x178)][_0x12463d(0x15a)],connectCommandBuilder,connectCommandHandler)[_0x12463d(0x13e)]()['help'](_0x158105[_0x12463d(0x182)])['epilogue'](HELP_MESSAGES[_0x12463d(0x178)][_0x12463d(0x15c)]);}module[a12_0x1a09c2(0x165)]=run;
2
+ 'use strict';const a12_0x3992b1=a12_0x423c;(function(_0xb0c3e8,_0x237865){const _0x493087=a12_0x423c,_0x616ca9=_0xb0c3e8();while(!![]){try{const _0x4d4e30=-parseInt(_0x493087(0x87))/0x1*(parseInt(_0x493087(0xb2))/0x2)+parseInt(_0x493087(0x79))/0x3+parseInt(_0x493087(0xad))/0x4+-parseInt(_0x493087(0x77))/0x5*(parseInt(_0x493087(0xa6))/0x6)+-parseInt(_0x493087(0x78))/0x7+-parseInt(_0x493087(0x86))/0x8*(-parseInt(_0x493087(0xb0))/0x9)+-parseInt(_0x493087(0x7b))/0xa*(-parseInt(_0x493087(0xba))/0xb);if(_0x4d4e30===_0x237865)break;else _0x616ca9['push'](_0x616ca9['shift']());}catch(_0x134e46){_0x616ca9['push'](_0x616ca9['shift']());}}}(a12_0x2368,0x62f71));const {default:BrowserStackSetup}=require(a12_0x3992b1(0xa1)),logger=require(a12_0x3992b1(0xb4))[a12_0x3992b1(0x9f)],{URL}=require('url'),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x3992b1(0xb6)),validHosts=function(_0x31dcd5){const _0x27c3c2=a12_0x3992b1;return _0x31dcd5[_0x27c3c2(0x9a)](',')['every'](_0x356830=>{const _0x6f91f1=_0x27c3c2;try{new URL(_0x356830[_0x6f91f1(0xa3)]());}catch(_0x5cf8af){return![];}return!![];});},parseOnPremHosts=function(_0x41e007){const _0x1c85e6=a12_0x3992b1,_0x2b636c={};_0x2b636c['qJMob']=function(_0x4a8166,_0x9dcd0){return _0x4a8166===_0x9dcd0;},_0x2b636c[_0x1c85e6(0x89)]=_0x1c85e6(0x98),_0x2b636c[_0x1c85e6(0xae)]=_0x1c85e6(0xbc),_0x2b636c[_0x1c85e6(0x8a)]=_0x1c85e6(0xa4);const _0x317906=_0x2b636c;return _0x41e007[_0x1c85e6(0x9a)](',')[_0x1c85e6(0x9c)](_0x277052=>{const _0x307753=_0x1c85e6,_0x4e30c6=new URL(_0x277052[_0x307753(0xa3)]()),_0x89efdc=_0x4e30c6[_0x307753(0xb9)],_0x51019c=_0x4e30c6['port']||(_0x317906[_0x307753(0x7a)](_0x4e30c6['protocol'],_0x317906['NJxSa'])?_0x317906[_0x307753(0xae)]:'80'),_0x26380c=_0x4e30c6[_0x307753(0x83)]['replace'](':',''),_0x220c92=_0x317906[_0x307753(0x7a)](_0x26380c,_0x317906[_0x307753(0x8a)])?0x1:0x0;return _0x89efdc+','+_0x51019c+','+_0x220c92;});},connectCommandBuilder=function(_0x1746be){const _0x4de273=a12_0x3992b1,_0x27bdf5={};_0x27bdf5['nWtPQ']=_0x4de273(0xa7);const _0x61912c=_0x27bdf5,_0x5521f6={};_0x5521f6[_0x4de273(0x97)]=HELP_MESSAGES[_0x4de273(0xa9)][_0x4de273(0xaa)],_0x5521f6[_0x4de273(0xb5)]=_0x61912c[_0x4de273(0x82)];const _0x475e4e={};_0x475e4e['describe']=HELP_MESSAGES[_0x4de273(0xa9)]['hosts'],_0x475e4e[_0x4de273(0xb5)]=_0x61912c[_0x4de273(0x82)],_0x475e4e['demandOption']=!![];const _0x191f75={};return _0x191f75[_0x4de273(0x8c)]=_0x5521f6,_0x191f75[_0x4de273(0x80)]=_0x475e4e,_0x1746be[_0x4de273(0xa9)](_0x191f75);},connectCommandHandler=async function(_0x586cd0){const _0x3ddec7=a12_0x3992b1,_0x5e2c2a={'mzpos':_0x3ddec7(0x93),'UyPED':function(_0x315d80,_0x4dee76){return _0x315d80===_0x4dee76;},'AbjmY':_0x3ddec7(0xa0),'GuQNw':_0x3ddec7(0x9b),'XPjrk':function(_0x518bfa,_0x7cd070){return _0x518bfa===_0x7cd070;},'bsuCx':_0x3ddec7(0xa5),'hPejV':function(_0x3eb3c1,_0x1975a4){return _0x3eb3c1(_0x1975a4);},'EVGxq':'Hosts\x20not\x20valid','sGUnn':_0x3ddec7(0x8e),'wLdwl':'Connection\x20established\x20successfully.','FzHAy':_0x3ddec7(0x90)};try{const _0x51553a=new BrowserStackSetup(_0x586cd0,_0x5e2c2a[_0x3ddec7(0x9e)]);_0x586cd0[_0x3ddec7(0x7e)]&&(_0x51553a[_0x3ddec7(0x9d)][_0x3ddec7(0x91)]=_0x586cd0['bstackAccesskey']);if(_0x5e2c2a['UyPED'](typeof _0x51553a['config'][_0x3ddec7(0x91)],_0x5e2c2a[_0x3ddec7(0x8b)])){logger[_0x3ddec7(0x96)](_0x5e2c2a[_0x3ddec7(0xbb)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x3ddec7(0xa2)]);}const _0x2f8161=_0x586cd0[_0x3ddec7(0x80)];if(_0x5e2c2a[_0x3ddec7(0x7f)](typeof _0x2f8161,_0x5e2c2a[_0x3ddec7(0x8b)])){logger[_0x3ddec7(0x96)](_0x5e2c2a[_0x3ddec7(0xac)]);throw new Error(ERROR_MESSAGES['hosts'][_0x3ddec7(0xa2)]);}if(!_0x5e2c2a[_0x3ddec7(0x8d)](validHosts,_0x2f8161)){logger[_0x3ddec7(0x96)](_0x5e2c2a['EVGxq']);throw new Error(ERROR_MESSAGES[_0x3ddec7(0x80)][_0x3ddec7(0x95)]);}const _0x318cde=_0x5e2c2a[_0x3ddec7(0x8d)](parseOnPremHosts,_0x2f8161);_0x51553a[_0x3ddec7(0x9d)][_0x3ddec7(0xaf)]=!![],_0x51553a[_0x3ddec7(0x9d)][_0x3ddec7(0x85)]['localIdentifier']=_0x5e2c2a[_0x3ddec7(0xbe)],_0x51553a[_0x3ddec7(0x9d)]['browserStackLocalOptions']['only']=_0x318cde['join'](','),helper[_0x3ddec7(0x7c)](_0x51553a['config']),await _0x51553a[_0x3ddec7(0x7d)](),logger[_0x3ddec7(0xb3)](_0x5e2c2a[_0x3ddec7(0xab)]);}catch(_0x9e86bc){logger[_0x3ddec7(0x96)](_0x5e2c2a['FzHAy']);throw new Error(_0x9e86bc[_0x3ddec7(0x88)]());}};function a12_0x423c(_0x251418,_0x6a40c0){const _0x23689a=a12_0x2368();return a12_0x423c=function(_0x423cc2,_0x11fc4a){_0x423cc2=_0x423cc2-0x77;let _0x25c742=_0x23689a[_0x423cc2];return _0x25c742;},a12_0x423c(_0x251418,_0x6a40c0);}function run(_0x1dc166){const _0x50f5e1=a12_0x3992b1,_0x4cd817={};_0x4cd817[_0x50f5e1(0xbd)]=_0x50f5e1(0x99),_0x4cd817[_0x50f5e1(0x81)]=_0x50f5e1(0x8f);const _0x470732=_0x4cd817;_0x1dc166[_0x50f5e1(0xb1)](HELP_MESSAGES[_0x50f5e1(0x84)][_0x50f5e1(0xa8)])[_0x50f5e1(0x84)](_0x470732[_0x50f5e1(0xbd)],HELP_MESSAGES[_0x50f5e1(0x84)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x50f5e1(0xb8)]()[_0x50f5e1(0x8f)](_0x470732[_0x50f5e1(0x81)])[_0x50f5e1(0x92)](HELP_MESSAGES['command'][_0x50f5e1(0xb7)]);}function a12_0x2368(){const _0x15fa61=['hosts','NqfRZ','nWtPQ','protocol','command','browserStackLocalOptions','416ySRtyN','5EJiGgv','toString','NJxSa','WeqdK','AbjmY','bstack-accesskey','hPejV','integrations-repeater','help','Failed\x20to\x20establish\x20connection.','accessKey','epilogue','integrations','exports','invalid','error','describe','https:','connect','split','BrowserStack\x20access\x20key\x20missing.','map','config','mzpos','winstonLogger','undefined','../../helpers/BrowserStackSetup','missing','trim','https','Integration\x20hosts\x20missing.','1067010wmVHtc','string','root','options','bstackAccessKey','wLdwl','bsuCx','1646356SBbSKc','WdxzQ','browserstackLocal','13806VOrNol','usage','96034ZbsaEP','info','../../helpers/logger','type','./constants','footer','demandCommand','hostname','5364557EJDvsN','GuQNw','443','mcPmU','sGUnn','10rcjWbQ','4629758gTkwFO','587337BrjadQ','qJMob','20hZdCgF','setProxySettings','setupBrowserstackLocal','bstackAccesskey','XPjrk'];a12_0x2368=function(){return _0x15fa61;};return a12_0x2368();}module[a12_0x3992b1(0x94)]=run;
@@ -1 +1 @@
1
- var a13_0x2b2f0d=a13_0x4900;(function(_0x5e3d74,_0x4ab9b6){var _0x2bceef=a13_0x4900,_0x56f4f6=_0x5e3d74();while(!![]){try{var _0x672d45=-parseInt(_0x2bceef(0x17e))/0x1+parseInt(_0x2bceef(0x194))/0x2+-parseInt(_0x2bceef(0x17d))/0x3+-parseInt(_0x2bceef(0x18b))/0x4+parseInt(_0x2bceef(0x17f))/0x5*(parseInt(_0x2bceef(0x183))/0x6)+parseInt(_0x2bceef(0x18c))/0x7*(parseInt(_0x2bceef(0x18f))/0x8)+parseInt(_0x2bceef(0x18e))/0x9;if(_0x672d45===_0x4ab9b6)break;else _0x56f4f6['push'](_0x56f4f6['shift']());}catch(_0x29ce68){_0x56f4f6['push'](_0x56f4f6['shift']());}}}(a13_0x571d,0xb9ec2));var a13_0x567f6e={};a13_0x567f6e[a13_0x2b2f0d(0x189)]=a13_0x2b2f0d(0x191),a13_0x567f6e[a13_0x2b2f0d(0x180)]=a13_0x2b2f0d(0x18a);var a13_0x5ec1b1={};function a13_0x4900(_0x4f0ccc,_0x5db242){var _0x571dd1=a13_0x571d();return a13_0x4900=function(_0x490061,_0x118899){_0x490061=_0x490061-0x17c;var _0x3b2892=_0x571dd1[_0x490061];return _0x3b2892;},a13_0x4900(_0x4f0ccc,_0x5db242);}a13_0x5ec1b1[a13_0x2b2f0d(0x188)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0x5ec1b1[a13_0x2b2f0d(0x184)]=a13_0x2b2f0d(0x186),a13_0x5ec1b1[a13_0x2b2f0d(0x17c)]=a13_0x2b2f0d(0x185);var a13_0x3347c8={};a13_0x3347c8['options']=a13_0x567f6e,a13_0x3347c8[a13_0x2b2f0d(0x195)]=a13_0x5ec1b1,exports[a13_0x2b2f0d(0x190)]=a13_0x3347c8;var a13_0x54ea26={};a13_0x54ea26['missing']=a13_0x2b2f0d(0x187);var a13_0x41f114={};a13_0x41f114[a13_0x2b2f0d(0x193)]=a13_0x2b2f0d(0x182),a13_0x41f114[a13_0x2b2f0d(0x18d)]=a13_0x2b2f0d(0x181);function a13_0x571d(){var _0xfcb2b5=['connect','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','root','bstackAccessKey','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.','2376552HQYugT','14nNhJxv','invalid','17303553MeMPVC','857176WXDHAb','HELP_MESSAGES','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','ERROR_MESSAGES','missing','2730740NpCLbj','command','footer','2465061PzjWHM','1366578HrpGqc','50zaUKAK','hosts','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.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','24996eGNrUY'];a13_0x571d=function(){return _0xfcb2b5;};return a13_0x571d();}var a13_0x1ba8a0={};a13_0x1ba8a0[a13_0x2b2f0d(0x189)]=a13_0x54ea26,a13_0x1ba8a0[a13_0x2b2f0d(0x180)]=a13_0x41f114,exports[a13_0x2b2f0d(0x192)]=a13_0x1ba8a0;
1
+ var a13_0x27b645=a13_0x44ff;(function(_0x49f837,_0x2820fc){var _0x2618d4=a13_0x44ff,_0x3f5673=_0x49f837();while(!![]){try{var _0x50b13e=-parseInt(_0x2618d4(0x1be))/0x1+-parseInt(_0x2618d4(0x1b4))/0x2*(parseInt(_0x2618d4(0x1b7))/0x3)+parseInt(_0x2618d4(0x1b8))/0x4+parseInt(_0x2618d4(0x1b6))/0x5*(-parseInt(_0x2618d4(0x1b3))/0x6)+-parseInt(_0x2618d4(0x1ba))/0x7*(parseInt(_0x2618d4(0x1bf))/0x8)+-parseInt(_0x2618d4(0x1bb))/0x9+parseInt(_0x2618d4(0x1b2))/0xa;if(_0x50b13e===_0x2820fc)break;else _0x3f5673['push'](_0x3f5673['shift']());}catch(_0x12e794){_0x3f5673['push'](_0x3f5673['shift']());}}}(a13_0x5b24,0x33603));function a13_0x5b24(){var _0x278504=['options','35xfslIo','1655100Wsocmy','command','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','2919QasMyx','622616GCtmke','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.','missing','ERROR_MESSAGES','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','invalid','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','footer','HELP_MESSAGES','root','bstackAccessKey','14157890qmTWxY','1771230RXBAMg','2AtzbDi','connect','5LZnIVk','1104783OKogaX','136264FGeLhM'];a13_0x5b24=function(){return _0x278504;};return a13_0x5b24();}var a13_0x2c0b70={};a13_0x2c0b70[a13_0x27b645(0x1b1)]=a13_0x27b645(0x1bd),a13_0x2c0b70['hosts']='This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';function a13_0x44ff(_0x8ea806,_0x546582){var _0x5b2405=a13_0x5b24();return a13_0x44ff=function(_0x44ff9a,_0x320ef2){_0x44ff9a=_0x44ff9a-0x1a9;var _0x10fc96=_0x5b2405[_0x44ff9a];return _0x10fc96;},a13_0x44ff(_0x8ea806,_0x546582);}var a13_0x5838c7={};a13_0x5838c7[a13_0x27b645(0x1b0)]=a13_0x27b645(0x1ab),a13_0x5838c7[a13_0x27b645(0x1b5)]=a13_0x27b645(0x1ad),a13_0x5838c7[a13_0x27b645(0x1ae)]=a13_0x27b645(0x1c0);var a13_0x4c9d77={};a13_0x4c9d77[a13_0x27b645(0x1b9)]=a13_0x2c0b70,a13_0x4c9d77[a13_0x27b645(0x1bc)]=a13_0x5838c7,exports[a13_0x27b645(0x1af)]=a13_0x4c9d77;var a13_0x26b55c={};a13_0x26b55c[a13_0x27b645(0x1a9)]=a13_0x27b645(0x1c1);var a13_0x1f6959={};a13_0x1f6959[a13_0x27b645(0x1a9)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x1f6959[a13_0x27b645(0x1ac)]='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_0x4a17c9={};a13_0x4a17c9[a13_0x27b645(0x1b1)]=a13_0x26b55c,a13_0x4a17c9['hosts']=a13_0x1f6959,exports[a13_0x27b645(0x1aa)]=a13_0x4a17c9;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a14_0x5ae8(_0x2d441c,_0x1bc818){const _0x269020=a14_0x2690();return a14_0x5ae8=function(_0x5ae8c8,_0x5b7a6f){_0x5ae8c8=_0x5ae8c8-0x167;let _0x2e3fef=_0x269020[_0x5ae8c8];return _0x2e3fef;},a14_0x5ae8(_0x2d441c,_0x1bc818);}const a14_0x481fb3=a14_0x5ae8;(function(_0x5eba5a,_0x1dc58d){const _0x5c4b0a=a14_0x5ae8,_0x47ed6e=_0x5eba5a();while(!![]){try{const _0x359cca=-parseInt(_0x5c4b0a(0x1b8))/0x1+parseInt(_0x5c4b0a(0x1e7))/0x2*(parseInt(_0x5c4b0a(0x267))/0x3)+parseInt(_0x5c4b0a(0x203))/0x4*(-parseInt(_0x5c4b0a(0x200))/0x5)+-parseInt(_0x5c4b0a(0x1d0))/0x6+-parseInt(_0x5c4b0a(0x22b))/0x7+parseInt(_0x5c4b0a(0x167))/0x8*(-parseInt(_0x5c4b0a(0x24c))/0x9)+parseInt(_0x5c4b0a(0x18e))/0xa*(parseInt(_0x5c4b0a(0x249))/0xb);if(_0x359cca===_0x1dc58d)break;else _0x47ed6e['push'](_0x47ed6e['shift']());}catch(_0x3ebed9){_0x47ed6e['push'](_0x47ed6e['shift']());}}}(a14_0x2690,0xefc9f));const fs=require('fs'),path=require(a14_0x481fb3(0x1cf)),util=require(a14_0x481fb3(0x204)),{spawn}=require(a14_0x481fb3(0x1f4)),logger=require('../../helpers/logger')[a14_0x481fb3(0x21f)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a14_0x481fb3(0x22d)),utilities=require(a14_0x481fb3(0x184)),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x481fb3(0x216)),{updateTestRerunConfig}=require(a14_0x481fb3(0x1a0)),testOpsHelper=require(a14_0x481fb3(0x1c4)),{debug}=require(a14_0x481fb3(0x1c4)),TestDetails=require(a14_0x481fb3(0x18a)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a14_0x481fb3(0x205)),{FRAMEWORKS}=require(a14_0x481fb3(0x260)),PerformanceTester=require(a14_0x481fb3(0x19d)),PerformanceEvents=require(a14_0x481fb3(0x1fa))[a14_0x481fb3(0x1f1)],TestOrchestrationHandler=require(a14_0x481fb3(0x199)),BrowserstackCLI=require(a14_0x481fb3(0x256)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x481fb3(0x169)),ClientTroubleShootingService=require(a14_0x481fb3(0x176)),{checkAccessibilityPlatformConfig}=require(a14_0x481fb3(0x216)),getUserJestConfigs=async(_0x48eefb,_0xa75ee7)=>{const _0x47a36c=a14_0x481fb3,_0x283369={'spTMk':_0x47a36c(0x172),'SHWnV':_0x47a36c(0x212),'ceRik':function(_0xf989ec,_0x7c8a42){return _0xf989ec||_0x7c8a42;},'vpLNF':function(_0x506f95,_0x5627df){return _0x506f95(_0x5627df);},'ruDPY':_0x47a36c(0x246),'yTxrD':_0x47a36c(0x22a),'GmKNM':_0x47a36c(0x1be),'ulCzA':_0x47a36c(0x202),'XZQEx':_0x47a36c(0x1b1)};let _0x3224bc;try{_0x3224bc=helper[_0x47a36c(0x229)](_0x283369['spTMk'],_0x283369[_0x47a36c(0x253)]);}catch{const _0x5a95f1=helper['requireModule'](_0x283369[_0x47a36c(0x253)]);_0x3224bc={'default':async _0x18846e=>{const _0x53fbdc=_0x47a36c,_0x3cffc7=await _0x5a95f1[_0x53fbdc(0x17f)](_0x18846e,{});return _0x3cffc7['config'];}};}const _0x413430=_0xa75ee7[_0x47a36c(0x1e8)](_0x15e3bf=>_0x15e3bf===_0x47a36c(0x191));if(!helper[_0x47a36c(0x23a)](_0x48eefb[_0x47a36c(0x1f5)])){logger[_0x47a36c(0x210)](_0x47a36c(0x24e)+_0x48eefb[_0x47a36c(0x1f5)]),process[_0x47a36c(0x265)][_0x47a36c(0x1a9)]=_0x48eefb['config'];const _0x2fcdc6=await(0x0,_0x3224bc[_0x47a36c(0x252)])(path[_0x47a36c(0x201)](_0x48eefb[_0x47a36c(0x1f5)]));return _0xa75ee7['splice'](_0x413430,0x2),_0x283369[_0x47a36c(0x217)](_0x2fcdc6,{});}const _0x4e5f7f=_0x283369['vpLNF'](require,path[_0x47a36c(0x1cc)](process[_0x47a36c(0x230)](),_0x283369[_0x47a36c(0x269)]));if(_0x4e5f7f[_0x47a36c(0x21e)])return logger[_0x47a36c(0x210)](_0x283369[_0x47a36c(0x1ec)]),_0x4e5f7f[_0x47a36c(0x21e)];const _0x17d4c5=['js',_0x283369[_0x47a36c(0x223)],_0x283369[_0x47a36c(0x1b3)],_0x283369[_0x47a36c(0x1f2)],'ts'];for(const _0x4eb257 of _0x17d4c5){const _0x260752=path[_0x47a36c(0x1cc)](process['cwd'](),_0x47a36c(0x1fc)+_0x4eb257);if(fs[_0x47a36c(0x188)](_0x260752)){process[_0x47a36c(0x265)][_0x47a36c(0x1a9)]=_0x260752;const _0x316489=await(0x0,_0x3224bc[_0x47a36c(0x252)])(_0x260752);return _0x316489;}}return{};},getSerial=(_0x291629,_0x48f63d)=>{const _0x4fce56=a14_0x481fb3,_0x2d53d3={};_0x2d53d3['NIhNJ']='true',_0x2d53d3[_0x4fce56(0x1d4)]=function(_0x34721b,_0x51301c){return _0x34721b>_0x51301c;},_0x2d53d3[_0x4fce56(0x21b)]=function(_0x18d1e0,_0x4e0ead){return _0x18d1e0>_0x4e0ead;},_0x2d53d3[_0x4fce56(0x25d)]=_0x4fce56(0x240);const _0x1f5736=_0x2d53d3;let _0x34c012=_0x1f5736['NIhNJ'];return _0x1f5736['eXvkv'](_0x291629[_0x4fce56(0x224)],0x1)&&(!_0x48f63d[_0x4fce56(0x22e)]&&(helper[_0x4fce56(0x23a)](_0x48f63d[_0x4fce56(0x183)])||_0x1f5736[_0x4fce56(0x21b)](_0x48f63d['maxWorkers'],0x1)))&&(_0x34c012=_0x1f5736[_0x4fce56(0x25d)]),_0x34c012;},getMaxWorkers=(_0x3791b6,_0x629b31,_0x174f5f)=>{const _0x19d387=a14_0x481fb3,_0x269ca5={'wRpCC':function(_0x1d62fd,_0x5183fa){return _0x1d62fd(_0x5183fa);}};let _0x26c1bd=0x1;if(!helper[_0x19d387(0x23a)](_0x629b31[_0x19d387(0x1e9)]))_0x26c1bd=_0x269ca5[_0x19d387(0x1c3)](parseInt,_0x629b31['parallelsPerPlatform']);else{if(!helper[_0x19d387(0x23a)](_0x3791b6[_0x19d387(0x183)]))_0x26c1bd=_0x3791b6[_0x19d387(0x183)];else!helper[_0x19d387(0x23a)](_0x174f5f[_0x19d387(0x183)])&&(_0x26c1bd=_0x174f5f[_0x19d387(0x183)]);}return _0x26c1bd;};async function run(_0x584ad0,_0x2fe192,_0x1175d4){const _0x4539fc=a14_0x481fb3,_0x37b8a8={'CKEPe':_0x4539fc(0x220),'FYSln':'jest','TxJYI':function(_0x410342,_0x41935f){return _0x410342(_0x41935f);},'TpbTS':_0x4539fc(0x214),'RjlEi':function(_0x2fe5a5){return _0x2fe5a5();},'kKWFp':function(_0x388eec,_0x325504,_0xd8596d,_0x360547){return _0x388eec(_0x325504,_0xd8596d,_0x360547);},'mtZhP':function(_0x4e0e41,_0x547b77,_0x5adb09,_0x3f1170){return _0x4e0e41(_0x547b77,_0x5adb09,_0x3f1170);},'neuav':function(_0x334232,_0xbed46f){return _0x334232!=_0xbed46f;},'FMpQZ':_0x4539fc(0x259),'kyWWE':function(_0x45a21c,_0x1efed8,_0x11a8fc){return _0x45a21c(_0x1efed8,_0x11a8fc);},'jopSz':_0x4539fc(0x16e),'ymRHL':_0x4539fc(0x240),'BmHUq':function(_0x151e5f,_0x567e75,_0x10d270){return _0x151e5f(_0x567e75,_0x10d270);},'tLNnQ':function(_0x2602ee,_0x35f3b7,_0xbc8a7b,_0x3825bb){return _0x2602ee(_0x35f3b7,_0xbc8a7b,_0x3825bb);},'ijKgA':function(_0x10815b,_0x5edc97){return _0x10815b*_0x5edc97;},'ySath':function(_0x5d643d,_0x51675d){return _0x5d643d===_0x51675d;},'PUclY':_0x4539fc(0x242),'TVgzt':_0x4539fc(0x180),'kZoYD':_0x4539fc(0x190),'HrUfV':'jest_browserstack_results.json','SnoKc':_0x4539fc(0x233),'KFIWR':'customTestRunnerTemplate.js','YLjRM':_0x4539fc(0x1c1),'pMniI':function(_0x19fddf,_0x365f92){return _0x19fddf!==_0x365f92;},'niXfL':'jest-runner','GgjJY':_0x4539fc(0x187),'qUVaK':_0x4539fc(0x227),'dvnJC':'customSequencer.js','lJhSJ':_0x4539fc(0x1cd),'IHWpR':_0x4539fc(0x1d2),'cOAQT':_0x4539fc(0x219),'qpARs':_0x4539fc(0x1a4),'QmZQY':_0x4539fc(0x250),'CVNSA':'customCircus.js','JqNMs':_0x4539fc(0x181),'dkfcb':_0x4539fc(0x1de),'EsGxU':_0x4539fc(0x1b4),'vsgOg':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','bhWSa':'test.setup.js','RIDGr':_0x4539fc(0x1cb),'WvBkH':function(_0x5e8df3,_0x26ac72){return _0x5e8df3&&_0x26ac72;},'weNMt':_0x4539fc(0x1b5),'vfjKz':_0x4539fc(0x1c9),'RNdTq':_0x4539fc(0x226),'VneNF':_0x4539fc(0x252),'ButSN':'@jest/core/build/ReporterDispatcher.js','mSHiW':_0x4539fc(0x1c0),'aszqR':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','ZOhJb':function(_0x48a499,_0x1bc4bc){return _0x48a499>_0x1bc4bc;},'dycLn':_0x4539fc(0x18b),'jcLWt':'--config','djizQ':_0x4539fc(0x25e),'RawKv':function(_0x30886f,_0xa2ba34){return _0x30886f===_0xa2ba34;},'wFyJE':_0x4539fc(0x1e4),'KqncU':_0x4539fc(0x248),'pdHSW':'close'},_0x32a7a8=helper[_0x4539fc(0x208)](_0x37b8a8['TpbTS']);global[_0x4539fc(0x1ed)]=!!_0x32a7a8;const _0x40d435=_0x37b8a8[_0x4539fc(0x18c)](getPuppeteerVersion);global[_0x4539fc(0x195)]=!!_0x40d435;helper[_0x4539fc(0x1bb)]()?(await _0x1175d4[_0x4539fc(0x247)](_0x584ad0),await helper[_0x4539fc(0x215)](_0x1175d4['config'])):await _0x1175d4['setupTCGAuth']();if(_0x32a7a8)await _0x37b8a8[_0x4539fc(0x16f)](checkPwandBootstrapCli,_0x32a7a8,constants[_0x4539fc(0x225)][_0x4539fc(0x1e0)],_0x1175d4);else _0x40d435&&await _0x37b8a8[_0x4539fc(0x192)](checkPuppeteerAndBootstrapCli,_0x40d435,constants[_0x4539fc(0x225)]['JEST'],_0x1175d4);if(!_0x1175d4[_0x4539fc(0x1f5)])return;_0x37b8a8[_0x4539fc(0x1a6)](_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x24f)],null)?process[_0x4539fc(0x265)][_0x4539fc(0x258)]=_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x24f)]:process[_0x4539fc(0x265)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x37b8a8[_0x4539fc(0x1d8)];const _0x1e4d57=new TestOrchestrationHandler(_0x1175d4[_0x4539fc(0x1f5)]),_0x5eac92=await _0x37b8a8[_0x4539fc(0x251)](getUserJestConfigs,_0x584ad0,_0x2fe192);logger[_0x4539fc(0x210)](_0x37b8a8[_0x4539fc(0x1db)]);const _0x27ae9f=Object[_0x4539fc(0x1fb)]({},_0x5eac92);_0x27ae9f[_0x4539fc(0x234)]=Object[_0x4539fc(0x1fb)]({},_0x27ae9f['testEnvironmentOptions'],{'server':helper['getHubUrl'](_0x1175d4[_0x4539fc(0x1f5)]),'environment':_0x5eac92[_0x4539fc(0x179)]}),_0x27ae9f[_0x4539fc(0x234)]['browserStackPercyOptions']=_0x37b8a8[_0x4539fc(0x209)](getPercyOptions,_0x1175d4[_0x4539fc(0x1f5)]);const _0x297f23=helper[_0x4539fc(0x1b2)](_0x1175d4[_0x4539fc(0x1f5)]);!helper[_0x4539fc(0x23a)](_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x189)])&&(process[_0x4539fc(0x265)][_0x4539fc(0x24a)]=JSON[_0x4539fc(0x239)](_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x189)]));if(!BrowserstackCLI[_0x4539fc(0x218)]()[_0x4539fc(0x1e1)]()){const _0x37d3c8=await TestHubHandler[_0x4539fc(0x1e3)](FRAMEWORKS[_0x4539fc(0x1e0)],_0x1175d4);}const _0x1ad56b=helper[_0x4539fc(0x20e)](_0x1175d4[_0x4539fc(0x1f5)],_0x297f23,constants['FRAMEWORKS']['JEST']);process['env'][_0x4539fc(0x1c5)]=JSON['stringify'](_0x1ad56b);let _0x533a7b=_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x198)];_0x533a7b=_0x533a7b||accessibilityHelper[_0x4539fc(0x1e2)](_0x1175d4[_0x4539fc(0x1f5)]),process[_0x4539fc(0x265)][_0x4539fc(0x1eb)]=_0x533a7b,logger[_0x4539fc(0x20f)](_0x4539fc(0x24b)+_0x533a7b+_0x4539fc(0x178)+BrowserstackCLI[_0x4539fc(0x218)]()[_0x4539fc(0x1e1)]());if(_0x32a7a8)try{const _0x845427=_0x37b8a8[_0x4539fc(0x209)](checkAccessibilityPlatformConfig,_0x1175d4['config']);process[_0x4539fc(0x265)][_0x4539fc(0x235)]=_0x845427?_0x37b8a8[_0x4539fc(0x1d8)]:_0x37b8a8[_0x4539fc(0x1df)],logger[_0x4539fc(0x20f)](_0x4539fc(0x243)+_0x845427+',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM='+process[_0x4539fc(0x265)][_0x4539fc(0x235)]);}catch(_0x5d1872){logger[_0x4539fc(0x20f)](_0x4539fc(0x23d)+util[_0x4539fc(0x173)](_0x5d1872));}_0x27ae9f['testEnvironmentOptions'][_0x4539fc(0x1e5)]=_0x1ad56b,_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x263)]=_0x37b8a8[_0x4539fc(0x1dc)](getSerial,_0x1ad56b,_0x584ad0),_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x168)]=_0x37b8a8[_0x4539fc(0x241)](getMaxWorkers,_0x584ad0,_0x1175d4[_0x4539fc(0x1f5)],_0x5eac92),_0x27ae9f['testEnvironmentOptions'][_0x4539fc(0x1c8)]=_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x1c8)],_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x18d)]=_0x37b8a8['ijKgA'](_0x584ad0[_0x4539fc(0x19b)],0x1)||0x1388,_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x1b0)]=_0x1175d4['config'][_0x4539fc(0x186)][_0x4539fc(0x1b0)],_0x27ae9f['testEnvironmentOptions'][_0x4539fc(0x257)]=_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x186)][_0x4539fc(0x257)],_0x27ae9f['testEnvironmentOptions'][_0x4539fc(0x19e)]=_0x1175d4['config']['logLevel'],_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x19a)]=_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x19a)],_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x19f)]=_0x1175d4['config'][_0x4539fc(0x23c)];const _0x39dba9=helper[_0x4539fc(0x236)](_0x1175d4['config']);if(!helper[_0x4539fc(0x1ba)](_0x39dba9)){helper['isNotUndefined'](_0x39dba9[_0x4539fc(0x17c)])&&(_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x1f8)]=_0x39dba9[_0x4539fc(0x17c)][_0x4539fc(0x23f)]);if(helper[_0x4539fc(0x1bf)](_0x39dba9[_0x4539fc(0x25a)])&&helper['isNotUndefined'](_0x39dba9['abortBuildOnFailure']['workingDir'])){const _0x128449={};_0x128449[_0x4539fc(0x1fd)]=_0x39dba9['abortBuildOnFailure'][_0x4539fc(0x26d)],_0x128449[_0x4539fc(0x193)]=_0x39dba9[_0x4539fc(0x25a)][_0x4539fc(0x193)],_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x245)]=_0x128449;}}let _0x83f56f='';_0x37b8a8[_0x4539fc(0x1aa)](helper['getPackageType'](),constants[_0x4539fc(0x1f7)]['MODULE'])?_0x83f56f=_0x37b8a8[_0x4539fc(0x1b7)]:_0x83f56f=_0x37b8a8[_0x4539fc(0x206)];const _0x57786b=_0x83f56f,_0x5ef091=path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x213)],_0x37b8a8['HrUfV']),_0x2a22d0=path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x213)],_0x37b8a8[_0x4539fc(0x1ff)]),_0x3ce0d7=path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x213)],_0x37b8a8[_0x4539fc(0x16b)]);_0x27ae9f[_0x4539fc(0x179)]&&(process[_0x4539fc(0x265)][_0x4539fc(0x20a)]=_0x27ae9f[_0x4539fc(0x179)]);_0x27ae9f['testEnvironment']=path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x213)],_0x37b8a8[_0x4539fc(0x1ca)]);const _0x2efcea=_0x5eac92['runner'];if(_0x2efcea&&_0x37b8a8['pMniI'](_0x2efcea,_0x37b8a8['niXfL'])){const _0x3dbe01=_0x2efcea[_0x4539fc(0x244)](_0x37b8a8[_0x4539fc(0x177)])?_0x2efcea:'jest-runner-'+_0x2efcea;process[_0x4539fc(0x265)]['BSTACK_USER_JEST_RUNNER']=_0x3dbe01,logger['info'](_0x4539fc(0x1f6)+_0x3dbe01);}_0x27ae9f[_0x4539fc(0x1c7)]=_0x2a22d0,_0x27ae9f['setupFilesAfterEnv']=_0x27ae9f[_0x4539fc(0x1d1)]||[],_0x27ae9f[_0x4539fc(0x1d1)][_0x4539fc(0x182)](path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x16c)]));_0x1e4d57[_0x4539fc(0x25f)]()&&(_0x27ae9f[_0x4539fc(0x20d)]=path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x213)],_0x37b8a8[_0x4539fc(0x1e6)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI['getInstance']()['isCliEnabled']()){let _0x54207e=null;try{_0x54207e=helper[_0x4539fc(0x229)](_0x37b8a8['lJhSJ'],_0x37b8a8['IHWpR']);}catch(_0x46be31){try{_0x54207e=helper[_0x4539fc(0x229)](_0x37b8a8[_0x4539fc(0x1d5)],_0x37b8a8['IHWpR']);}catch(_0x27667d){_0x37b8a8['TxJYI'](debug,_0x4539fc(0x22c)+_0x27667d);}}_0x54207e&&(testhubUtils[_0x4539fc(0x1ee)]()&&_0x27ae9f[_0x4539fc(0x1d1)][_0x4539fc(0x182)](path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8['qpARs'],_0x37b8a8['QmZQY'])),_0x27ae9f[_0x4539fc(0x1dd)]=path['join'](__dirname,_0x37b8a8[_0x4539fc(0x213)],_0x37b8a8[_0x4539fc(0x1d3)]));}_0x27ae9f['setupFiles']=_0x27ae9f['setupFiles']||[];try{helper['requireSeleniumWebdriver'](),_0x27ae9f[_0x4539fc(0x261)][_0x4539fc(0x182)](path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x25b)]));}catch{logger[_0x4539fc(0x20f)](_0x37b8a8['dkfcb']);}try{helper['requirePWModule'][_0x4539fc(0x1ef)](null,[_0x37b8a8[_0x4539fc(0x23e)],_0x37b8a8[_0x4539fc(0x1f9)]]),logger['debug'](_0x37b8a8[_0x4539fc(0x1a2)]),_0x27ae9f[_0x4539fc(0x261)][_0x4539fc(0x182)](path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x1af)]));}catch(_0x5c25d1){logger[_0x4539fc(0x20f)](_0x37b8a8[_0x4539fc(0x238)],_0x5c25d1);}if(_0x37b8a8[_0x4539fc(0x17d)](!_0x32a7a8,_0x40d435)){try{logger[_0x4539fc(0x20f)](_0x37b8a8['weNMt']),_0x27ae9f[_0x4539fc(0x261)]['push'](path['join'](__dirname,'..',_0x37b8a8[_0x4539fc(0x171)],_0x37b8a8['bhWSa']));}catch(_0x1a521f){logger['debug']('Puppeteer\x20setup\x20error:\x20'+_0x1a521f[_0x4539fc(0x25c)]);}try{const _0x2c197f=require[_0x4539fc(0x201)](_0x37b8a8[_0x4539fc(0x21c)]),_0x20ee2e=path[_0x4539fc(0x185)](_0x2c197f)[_0x4539fc(0x26b)](/\\/g,'/'),_0x126bf4={};_0x126bf4[_0x4539fc(0x1ac)]=_0x20ee2e+'/internal/$1',_0x27ae9f[_0x4539fc(0x1a5)]=Object['assign']({},_0x27ae9f[_0x4539fc(0x1a5)]||{},_0x126bf4),logger[_0x4539fc(0x20f)](_0x4539fc(0x194)+_0x20ee2e);}catch(_0x3715ab){logger[_0x4539fc(0x20f)](_0x4539fc(0x1a8)+_0x3715ab[_0x4539fc(0x25c)]);}}_0x27ae9f[_0x4539fc(0x264)]=_0x27ae9f[_0x4539fc(0x264)]||[_0x37b8a8[_0x4539fc(0x1a3)]],_0x37b8a8[_0x4539fc(0x1dc)](updateTestRerunConfig,_0x27ae9f,_0x1175d4);const _0x269de6=fs[_0x4539fc(0x1a7)](_0x3ce0d7),_0x1407b2=helper['resolveModule'](_0x37b8a8[_0x4539fc(0x1c6)],_0x37b8a8['mSHiW']);!_0x1407b2['error']?fs[_0x4539fc(0x170)](_0x27ae9f[_0x4539fc(0x1c7)],_0x4539fc(0x1ce)+_0x269de6+_0x4539fc(0x21d)+_0x1175d4['config'][_0x4539fc(0x23c)][_0x4539fc(0x224)]+_0x4539fc(0x1bd)):fs['writeFileSync'](_0x27ae9f[_0x4539fc(0x1c7)],_0x4539fc(0x1ce)+_0x269de6+_0x4539fc(0x174)+_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x23c)][_0x4539fc(0x224)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger['info'](_0x4539fc(0x26c)+_0x57786b+_0x4539fc(0x1ae)),fs[_0x4539fc(0x170)](_0x57786b,_0x4539fc(0x22f)+JSON[_0x4539fc(0x239)](_0x27ae9f)+_0x4539fc(0x1c2));if(_0x1e4d57[_0x4539fc(0x25f)]()){logger['debug'](_0x37b8a8[_0x4539fc(0x17a)]);const _0x4efb52=await _0x1e4d57[_0x4539fc(0x175)](_0x27ae9f,_0x2fe192[_0x4539fc(0x24d)](0x1),_0x57786b);logger[_0x4539fc(0x20f)](_0x4539fc(0x16a)+JSON[_0x4539fc(0x239)](_0x4efb52)+_0x4539fc(0x266));const _0x4e1684=await _0x1e4d57[_0x4539fc(0x1a1)](_0x4efb52);logger[_0x4539fc(0x20f)](_0x4539fc(0x211)+JSON[_0x4539fc(0x239)](_0x4e1684)),_0x4e1684&&_0x37b8a8[_0x4539fc(0x254)](_0x4e1684[_0x4539fc(0x224)],0x0)&&(process[_0x4539fc(0x265)][_0x4539fc(0x197)]=_0x4e1684?.[_0x4539fc(0x1cc)](','));}logger[_0x4539fc(0x210)](_0x37b8a8[_0x4539fc(0x1d7)]);testhubUtils[_0x4539fc(0x1ee)]()&&TestDetails[_0x4539fc(0x20b)]();helper[_0x4539fc(0x19c)]({},_0x2fe192),PerformanceTester[_0x4539fc(0x1bc)](PerformanceEvents['SDK_SETUP']);const _0x183ab7=[_0x37b8a8[_0x4539fc(0x222)],_0x37b8a8[_0x4539fc(0x196)],_0x57786b,..._0x2fe192['slice'](0x1)],_0x550abf=_0x37b8a8['tLNnQ'](spawn,_0x37b8a8[_0x4539fc(0x23b)],_0x183ab7,{'shell':_0x37b8a8['RawKv'](process[_0x4539fc(0x1d9)],_0x37b8a8[_0x4539fc(0x17b)]),'stdio':_0x37b8a8[_0x4539fc(0x255)],'env':Object[_0x4539fc(0x1fb)]({},process[_0x4539fc(0x265)])});_0x550abf['on'](_0x37b8a8[_0x4539fc(0x231)],async _0x3437c8=>{const _0x543f98=_0x4539fc;PerformanceTester[_0x543f98(0x1ad)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x897fcb,tcgConfigPath:_0x5d4383}=helper[_0x543f98(0x20c)]();fs[_0x543f98(0x17e)](_0x5d4383),fs[_0x543f98(0x262)](_0x897fcb);}catch(_0x5f41a0){logger[_0x543f98(0x20f)](_0x37b8a8[_0x543f98(0x221)],_0x5f41a0);}process[_0x543f98(0x1da)]=_0x3437c8,logger[_0x543f98(0x20f)]('child\x20process\x20exited\x20with\x20code\x20'+_0x3437c8),logger['info'](_0x543f98(0x1f3)+_0x57786b);if(helper[_0x543f98(0x1bf)](_0x39dba9)&&helper[_0x543f98(0x1bf)](_0x39dba9[_0x543f98(0x25a)])&&fs[_0x543f98(0x188)](_0x39dba9[_0x543f98(0x25a)][_0x543f98(0x193)]))try{const _0x4dd558={};_0x4dd558[_0x543f98(0x18f)]=!![],_0x4dd558[_0x543f98(0x1ea)]=!![],fs[_0x543f98(0x21a)](_0x39dba9['abortBuildOnFailure'][_0x543f98(0x193)],_0x4dd558),logger[_0x543f98(0x20f)](_0x543f98(0x1ab)+_0x39dba9[_0x543f98(0x25a)][_0x543f98(0x193)]);}catch(_0x501ac9){logger[_0x543f98(0x1f0)](_0x543f98(0x26a)+_0x501ac9);}let _0x3a6659=null;if(fs[_0x543f98(0x188)](_0x5ef091)){_0x3a6659=fs[_0x543f98(0x1a7)](_0x5ef091);try{_0x3a6659=JSON[_0x543f98(0x268)](_0x3a6659);}catch(_0x5cccb2){logger[_0x543f98(0x20f)]('Error\x20while\x20parsing\x20'+_0x5ef091+',\x20'+_0x3a6659+_0x543f98(0x1b6)+_0x5cccb2);}fs['unlinkSync'](_0x5ef091);}fs[_0x543f98(0x17e)](_0x57786b),fs['unlinkSync'](_0x2a22d0),_0x3a6659&&(_0x1175d4[_0x543f98(0x207)]=helper[_0x543f98(0x1b9)](_0x3a6659,_0x37b8a8[_0x543f98(0x222)],_0x1175d4));const _0x4806ca=BrowserstackCLI[_0x543f98(0x232)]();try{await TestHubHandler[_0x543f98(0x228)](),await BrowserstackCLI['getInstance']()[_0x543f98(0x228)]();}catch(_0x194d7d){console['log'](_0x194d7d),_0x37b8a8[_0x543f98(0x209)](debug,_0x543f98(0x1fe)+util[_0x543f98(0x173)](_0x194d7d));}testOpsHelper[_0x543f98(0x16d)](),TestDetails[_0x543f98(0x1d6)](),await utilities['finalExecution'](_0x1175d4,_0x4806ca);});}module[a14_0x481fb3(0x237)]=run;function a14_0x2690(){const _0x3b848d=['accessibility','../../helpers/test-orchestration/testOrchestrationHandler','turboScaleUrl','testTimeout','filterBrowserstackArgs','../../helpers/performance/performance-tester','browserStackLogLevel','platformCaps','./test-observability/helper','reorderTestFiles','vsgOg','VneNF','test-observability','moduleNameMapper','neuav','readFileSync','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','USER_CONFIG_DETAILS_PATH','ySath','Deleted\x20fail-fast\x20state\x20folder:\x20','^puppeteer-core/internal/(.*)','start','\x20with\x20browserstack\x20jest\x20configs','bhWSa','skipSessionName','json','useW3C','ulCzA','playwright','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','\x20:\x20','PUclY','297816ZogoOR','getErrorMessageFromResults','isEmpty','isBrowserstackInfra','end',';\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','mjs','isNotUndefined','@jest/core','customEnvironment.js','\x0amodule.exports\x20=\x20config;','wRpCC','../../helpers/test-observability/utils','BROWSERSTACK_CAPABILITIES','ButSN','runner','proxySettings','puppeteer','YLjRM','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','join','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','\x0a\x20\x20\x20\x20\x20\x20','path','844176dXNncG','setupFilesAfterEnv','jest-circus','CVNSA','eXvkv','cOAQT','shutdown','dycLn','FMpQZ','platform','exitCode','jopSz','BmHUq','testRunner','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','ymRHL','JEST','isRunning','checkAccessibilityPlatformConfig','launchBuild','win32','capabilities','dvnJC','7034OwUxPj','findIndex','parallelsPerPlatform','force','BROWSERSTACK_TEST_ACCESSIBILITY_YML','yTxrD','__isPlaywrightInstalled','shouldProcessEventForTesthub','apply','error','EVENTS','XZQEx','Deleting\x20','child_process','config','Preserving\x20user\x27s\x20Jest\x20runner:\x20','PACKAGE_TYPE','retries__','EsGxU','../../helpers/performance/constants','assign','jest.config.','failureThresholdCount','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','SnoKc','5iJbZWg','resolve','cjs','493936DqOwlS','util','../../helpers/testhub/utils','TVgzt','errorMessage','getPackageVersion','TxJYI','BSTACK_JEST_TEST_ENV','setup','getTCGConfigFilePaths','testSequencer','prepareCapabilities','debug','info','Reodered\x20Test\x20Files:\x20','jest-config','kZoYD','@playwright/test','handleApp','../../helpers/accessibility-automation/helper','ceRik','getInstance','jest-circus/build/runner.js','rmSync','UYUZj','RNdTq','\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','jest','winstonLogger','error\x20removing\x20tcg\x20config\x20file','CKEPe','FYSln','GmKNM','length','FRAMEWORKS','puppeteer-core/package.json','jest.setup.js','stop','requireModule','Getting\x20your\x20jest\x20configs\x20from\x20package.json','6730409BUoISK','Unable\x20to\x20find\x20jest-circus,\x20','../../helpers/helper','runInBand','const\x20config=','cwd','pdHSW','isCLIEnabled','customTestRunner.js','testEnvironmentOptions','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','parseTestOrchestrationOptions','exports','RIDGr','stringify','isUndefined','djizQ','platforms','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','TpbTS','maxRetries','false','tLNnQ','jest_browserstack.config.cjs','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','startsWith','failFast','package.json','initialize','inherit','11yAUtcA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','36KkSQoC','slice','Getting\x20your\x20jest\x20configs\x20from\x20','testObservability','data-hooks.js','kyWWE','default','SHWnV','ZOhJb','KqncU','../v2/browserstackCLI','skipSessionStatus','BROWSERSTACK_TEST_OBSERVABILITY_YML','true','abortBuildOnFailure','JqNMs','message','oTYJs','npx','isTestOrchestrationEnabled','../../helpers/test-observability/constants','setupFiles','rmdirSync','serial__','reporters','env','\x20test\x20files\x20to\x20run.','1521DOKpjX','parse','ruDPY','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','replace','Creating\x20','maxFailures','3252568Hadpfm','parallels__','../../helpers/puppeteer-helper','Found:\x20','KFIWR','qUVaK','printBuildLink','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','kKWFp','writeFileSync','vfjKz','jest-config/build/readConfigFileAndSetRootDir.js','format','\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','findTestFiles','../utils/clientTroubleshootingService','GgjJY',',\x20CLI\x20running:\x20','testEnvironment','aszqR','wFyJE','retryTestsOnFailure','WvBkH','unlinkSync','readInitialOptions','jest_browserstack.config.js','test_before.setup.js','push','maxWorkers','../../helpers/utilities','dirname','testContextOptions','jest-runner-','existsSync','accessibilityOptions','./test-observability/test-details','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','RjlEi','timeout__','23488230smtVdQ','recursive','customImplements','--config','mtZhP','workingDir','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','__isPuppeteerInstalled','jcLWt','JEST_TEST_ORDER'];a14_0x2690=function(){return _0x3b848d;};return a14_0x2690();}
2
+ 'use strict';const a14_0x453ba6=a14_0x5224;(function(_0x4eac1e,_0x15ded7){const _0x481656=a14_0x5224,_0x2443c3=_0x4eac1e();while(!![]){try{const _0x2723fe=-parseInt(_0x481656(0x24a))/0x1*(parseInt(_0x481656(0x263))/0x2)+parseInt(_0x481656(0x1d0))/0x3*(-parseInt(_0x481656(0x27a))/0x4)+parseInt(_0x481656(0x213))/0x5*(-parseInt(_0x481656(0x1ad))/0x6)+-parseInt(_0x481656(0x1ae))/0x7+-parseInt(_0x481656(0x236))/0x8*(parseInt(_0x481656(0x1e5))/0x9)+-parseInt(_0x481656(0x25a))/0xa+parseInt(_0x481656(0x291))/0xb*(parseInt(_0x481656(0x287))/0xc);if(_0x2723fe===_0x15ded7)break;else _0x2443c3['push'](_0x2443c3['shift']());}catch(_0x19a1d4){_0x2443c3['push'](_0x2443c3['shift']());}}}(a14_0x325d,0x760a0));function a14_0x325d(){const _0x1c996b=['retryTestsOnFailure','yiPBQ','KFpep','test.setup.js','failFast','jest-config','isRunning','__isPuppeteerInstalled','ecdbE','setupTCGAuth','SDK_CLEANUP','vUHtT','checkAccessibilityPlatformConfig','SDK_SETUP','resolveModule','maxFailures','Deleting\x20','xOEEI','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','info','config','ZdNZX','\x0amodule.exports\x20=\x20config;','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','child\x20process\x20exited\x20with\x20code\x20','default','BROWSERSTACK_TEST_OBSERVABILITY_YML','ypiTN','reporters','./test-observability/test-details','browserStackLogLevel','56bGQxpU','const\x20config=','abortBuildOnFailure','customCircus.js','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','lsRQl','KugEf','customEnvironment.js','FRAMEWORKS','xXjyL','accessibility','\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','turboScaleUrl','ussYE','Preserving\x20user\x27s\x20Jest\x20runner:\x20','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','zhLmJ','jest','close','1NXtrOU','parallelsPerPlatform','retries__','QxSwg','data-hooks.js','jest_browserstack_results.json','BSTACK_JEST_TEST_ENV','--config','@jest/core','stringify','getTCGConfigFilePaths','logLevel','printBuildLink','wCuHt','Error\x20while\x20parsing\x20','setupFilesAfterEnv','7294020MJwxwK','platforms','prepareCapabilities','Wguph','existsSync','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','USER_CONFIG_DETAILS_PATH','requireModule','aEQrN','1190660CQEdqY','shouldProcessEventForTesthub','workingDir','force','ZHimv','Reodered\x20Test\x20Files:\x20','zlqHL','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','../../helpers/testhub/utils','../../helpers/logger','getPackageVersion','readFileSync','setupFiles','Npeju','failureThresholdCount','BVeOl','../utils/clientTroubleshootingService','resolve','DzFqQ','\x0a\x20\x20\x20\x20\x20\x20','testContextOptions','McgkC','writeFileSync','4396DIvpSm','wFlYd','../../helpers/BrowserStackSetup','isUndefined','../../helpers/accessibility-automation/helper','json','skipSessionName','sNbmx','setup','true','tAmdN','KUWVv','\x20:\x20','12GbNJCI','../../helpers/testhub/testhubHandler','errorMessage','push','jest.setup.js','twtue','jest-runner-','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','puppeteer-core/package.json','findIndex','27712850iSyhQf','launchBuild','debug','enaEm',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','platform','filterBrowserstackArgs','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','Getting\x20your\x20jest\x20configs\x20from\x20package.json','rmdirSync','rXRMD','../../helpers/performance/constants','slice','customTestRunnerTemplate.js','OmPBB','tcMzy','splice','../utils/constants','testEnvironment','DkYJW','../../helpers/utilities','serial__','XqZre','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','isQzv','Found:\x20','gOMIA','getErrorMessageFromResults','isBrowserstackInfra','../../helpers/performance/performance-tester','shutdown','end','moduleNameMapper','runInBand','YrzAE','2268guPied','892094YwUcfb','EVENTS','Wjjtm','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','mjs','@jest/core/build/ReporterDispatcher.js','Creating\x20','BLSna','jest.config.','winstonLogger','JEST','duZuz','message','testRunner','getInstance','maxWorkers','inherit','Qanzr','path','../../helpers/playwright-helper','useW3C','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','hBvnK','getPackageType','gNcvN','npx','stop','testEnvironmentOptions','BROWSERSTACK_CAPABILITIES','isNotUndefined','requirePWModule','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','skipSessionStatus','proxySettings','21NWwGzW','jest-runner','exitCode','uGZch','env','reorderTestFiles','MODULE','PpzkY','jest-circus','/internal/$1','djJOv','jest-config/build/readConfigFileAndSetRootDir.js','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','moYmK','../../helpers/test-observability/utils',';\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','testSequencer','length','wxYaE','testObservability','util','723555KceIKF','\x20test\x20files\x20to\x20run.',';\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','package.json','dirname','BSTACK_USER_JEST_RUNNER','Puppeteer\x20setup\x20error:\x20','runner','findTestFiles','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','Getting\x20your\x20jest\x20configs\x20from\x20','puppeteer','NPCVK','doiKn','customImplements','VpUtR','CfHeB','join','../../helpers/test-observability/constants','test-observability','assign','error','hhGeb','isTestOrchestrationEnabled','jest_browserstack.config.cjs','isEmpty','browserStackPercyOptions','unlinkSync','\x20with\x20browserstack\x20jest\x20configs','maxRetries','getHubUrl','win32','rmSync','exports','XHSkP','iPITM','cwd','jjVxx',',\x20CLI\x20running:\x20','requireSeleniumWebdriver','LQCJz','format','PACKAGE_TYPE','vVmaG','capabilities','recursive','175kYEmXo','./test-observability/helper','@playwright/test','false'];a14_0x325d=function(){return _0x1c996b;};return a14_0x325d();}function a14_0x5224(_0x58020f,_0x1d49b4){const _0x325d47=a14_0x325d();return a14_0x5224=function(_0x52245a,_0x54ea3a){_0x52245a=_0x52245a-0x1a0;let _0x3739c2=_0x325d47[_0x52245a];return _0x3739c2;},a14_0x5224(_0x58020f,_0x1d49b4);}const fs=require('fs'),path=require(a14_0x453ba6(0x1c0)),util=require(a14_0x453ba6(0x1e4)),{spawn}=require('child_process'),logger=require(a14_0x453ba6(0x26c))[a14_0x453ba6(0x1b7)],{default:BrowserStackSetup}=require(a14_0x453ba6(0x27c)),helper=require('../../helpers/helper'),utilities=require(a14_0x453ba6(0x2a5)),constants=require(a14_0x453ba6(0x2a2)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a14_0x453ba6(0x214)),testOpsHelper=require(a14_0x453ba6(0x1de)),{debug}=require(a14_0x453ba6(0x1de)),TestDetails=require(a14_0x453ba6(0x234)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a14_0x453ba6(0x288)),testhubUtils=require(a14_0x453ba6(0x26b)),{FRAMEWORKS}=require(a14_0x453ba6(0x1f7)),PerformanceTester=require(a14_0x453ba6(0x1a7)),PerformanceEvents=require(a14_0x453ba6(0x29c))[a14_0x453ba6(0x1af)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a14_0x453ba6(0x1c1)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require(a14_0x453ba6(0x273)),{checkAccessibilityPlatformConfig}=require(a14_0x453ba6(0x27e)),getUserJestConfigs=async(_0x16c32b,_0x4e0a5b)=>{const _0x5b8cf3=a14_0x453ba6,_0x23b6bf={'YrzAE':_0x5b8cf3(0x1db),'zlqHL':_0x5b8cf3(0x21c),'zhLmJ':function(_0x20500a,_0x3f2dfc){return _0x20500a||_0x3f2dfc;},'ecdbE':function(_0x5f2306,_0x63573f){return _0x5f2306(_0x63573f);},'wxYaE':_0x5b8cf3(0x1e8),'KFpep':_0x5b8cf3(0x299),'NPCVK':_0x5b8cf3(0x1b2),'tAmdN':'cjs','hBvnK':_0x5b8cf3(0x27f)};let _0x26e568;try{_0x26e568=helper[_0x5b8cf3(0x261)](_0x23b6bf[_0x5b8cf3(0x1ac)],_0x23b6bf[_0x5b8cf3(0x269)]);}catch{const _0x44240c=helper['requireModule'](_0x23b6bf[_0x5b8cf3(0x269)]);_0x26e568={'default':async _0x902240=>{const _0x3448b4=await _0x44240c['readInitialOptions'](_0x902240,{});return _0x3448b4['config'];}};}const _0x19b6e6=_0x4e0a5b[_0x5b8cf3(0x290)](_0xfd5b01=>_0xfd5b01==='--config');if(!helper[_0x5b8cf3(0x27d)](_0x16c32b[_0x5b8cf3(0x22b)])){logger[_0x5b8cf3(0x22a)](_0x5b8cf3(0x1ef)+_0x16c32b[_0x5b8cf3(0x22b)]),process[_0x5b8cf3(0x1d4)][_0x5b8cf3(0x260)]=_0x16c32b['config'];const _0x280174=await(0x0,_0x26e568[_0x5b8cf3(0x230)])(path[_0x5b8cf3(0x274)](_0x16c32b[_0x5b8cf3(0x22b)]));return _0x4e0a5b[_0x5b8cf3(0x2a1)](_0x19b6e6,0x2),_0x23b6bf[_0x5b8cf3(0x247)](_0x280174,{});}const _0x3460be=_0x23b6bf[_0x5b8cf3(0x21f)](require,path[_0x5b8cf3(0x1f6)](process[_0x5b8cf3(0x209)](),_0x23b6bf[_0x5b8cf3(0x1e2)]));if(_0x3460be[_0x5b8cf3(0x248)])return logger['info'](_0x23b6bf[_0x5b8cf3(0x219)]),_0x3460be['jest'];const _0x4953ca=['js',_0x23b6bf[_0x5b8cf3(0x1f1)],_0x23b6bf[_0x5b8cf3(0x284)],_0x23b6bf[_0x5b8cf3(0x1c4)],'ts'];for(const _0x1317c9 of _0x4953ca){const _0x20e340=path[_0x5b8cf3(0x1f6)](process[_0x5b8cf3(0x209)](),_0x5b8cf3(0x1b6)+_0x1317c9);if(fs['existsSync'](_0x20e340)){process[_0x5b8cf3(0x1d4)]['USER_CONFIG_DETAILS_PATH']=_0x20e340;const _0x54c6d7=await(0x0,_0x26e568[_0x5b8cf3(0x230)])(_0x20e340);return _0x54c6d7;}}return{};},getSerial=(_0x20e4b4,_0x279060)=>{const _0x12d470=a14_0x453ba6,_0x4a3b2d={};_0x4a3b2d[_0x12d470(0x285)]=_0x12d470(0x283),_0x4a3b2d[_0x12d470(0x20a)]=function(_0x52fb1c,_0x325a09){return _0x52fb1c>_0x325a09;},_0x4a3b2d['sNbmx']=function(_0x103565,_0xaf5976){return _0x103565>_0xaf5976;},_0x4a3b2d[_0x12d470(0x262)]=_0x12d470(0x216);const _0x4a1610=_0x4a3b2d;let _0x47e1ab=_0x4a1610['KUWVv'];return _0x4a1610[_0x12d470(0x20a)](_0x20e4b4[_0x12d470(0x1e1)],0x1)&&(!_0x279060[_0x12d470(0x1ab)]&&(helper[_0x12d470(0x27d)](_0x279060['maxWorkers'])||_0x4a1610[_0x12d470(0x281)](_0x279060[_0x12d470(0x1bd)],0x1)))&&(_0x47e1ab=_0x4a1610[_0x12d470(0x262)]),_0x47e1ab;},getMaxWorkers=(_0x26dd30,_0x5e33ce,_0x3690f9)=>{const _0x5155b6=a14_0x453ba6,_0x38ec00={'xXjyL':function(_0x430edc,_0x3c94af){return _0x430edc(_0x3c94af);}};let _0x4a88da=0x1;if(!helper[_0x5155b6(0x27d)](_0x5e33ce[_0x5155b6(0x24b)]))_0x4a88da=_0x38ec00[_0x5155b6(0x23f)](parseInt,_0x5e33ce[_0x5155b6(0x24b)]);else{if(!helper[_0x5155b6(0x27d)](_0x26dd30[_0x5155b6(0x1bd)]))_0x4a88da=_0x26dd30[_0x5155b6(0x1bd)];else!helper[_0x5155b6(0x27d)](_0x3690f9[_0x5155b6(0x1bd)])&&(_0x4a88da=_0x3690f9[_0x5155b6(0x1bd)]);}return _0x4a88da;};async function run(_0x10b701,_0x351d40,_0x591e30){const _0x190eb4=a14_0x453ba6,_0x163f00={'BLSna':'error\x20removing\x20tcg\x20config\x20file','duZuz':_0x190eb4(0x248),'Wguph':function(_0x196442,_0x19bd30){return _0x196442(_0x19bd30);},'LQCJz':_0x190eb4(0x215),'Wjjtm':function(_0x15e54b){return _0x15e54b();},'isQzv':function(_0x41fe00,_0x1bc181,_0x21f6a2,_0x2c8871){return _0x41fe00(_0x1bc181,_0x21f6a2,_0x2c8871);},'WvkOD':function(_0x2ba7a7,_0x48f33a){return _0x2ba7a7!=_0x48f33a;},'gNcvN':'true','KugEf':function(_0x1f4770,_0x51910f,_0x51e2f1){return _0x1f4770(_0x51910f,_0x51e2f1);},'PpzkY':_0x190eb4(0x26a),'CfHeB':function(_0x4f9747,_0x1c96ea){return _0x4f9747(_0x1c96ea);},'XqZre':function(_0x519e70,_0x113571){return _0x519e70(_0x113571);},'XHSkP':'false','BiInK':function(_0x34bb9c,_0x568ceb){return _0x34bb9c*_0x568ceb;},'UZGTt':function(_0x353c90,_0x132722){return _0x353c90===_0x132722;},'OmPBB':_0x190eb4(0x1fd),'GDBrs':'jest_browserstack.config.js','ZdNZX':_0x190eb4(0x1f3),'Fedht':_0x190eb4(0x24f),'Npeju':'customTestRunner.js','iPITM':_0x190eb4(0x29e),'vZoEM':_0x190eb4(0x23d),'VpUtR':function(_0xc03d25,_0x3dd956){return _0xc03d25!==_0x3dd956;},'qdGKS':_0x190eb4(0x1d1),'QxSwg':_0x190eb4(0x28d),'hhGeb':_0x190eb4(0x28b),'DzFqQ':'customSequencer.js','ussYE':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','rXRMD':_0x190eb4(0x1d8),'enaEm':'jest-circus/build/runner.js','vVmaG':function(_0x5b35a3,_0xfb7c44){return _0x5b35a3(_0xfb7c44);},'xOEEI':_0x190eb4(0x1f8),'nhkVs':_0x190eb4(0x24e),'McgkC':_0x190eb4(0x239),'obFGv':'test_before.setup.js','wFlYd':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','ypiTN':'playwright','pzElq':_0x190eb4(0x1dc),'BVeOl':_0x190eb4(0x21a),'doiKn':_0x190eb4(0x245),'wCuHt':function(_0x18d9b9,_0x4b388a){return _0x18d9b9&&_0x4b388a;},'EZgOu':_0x190eb4(0x25f),'Qanzr':_0x190eb4(0x1f0),'lsRQl':_0x190eb4(0x28f),'tcMzy':_0x190eb4(0x230),'djJOv':_0x190eb4(0x1b3),'ZHimv':_0x190eb4(0x252),'vUHtT':_0x190eb4(0x1cd),'DkYJW':function(_0x424cff,_0x2ec769){return _0x424cff>_0x2ec769;},'uGZch':_0x190eb4(0x1b1),'yiPBQ':_0x190eb4(0x251),'gOMIA':function(_0x44446b,_0x5dcdef,_0x2e0432,_0x73995e){return _0x44446b(_0x5dcdef,_0x2e0432,_0x73995e);},'psXuG':_0x190eb4(0x1c7),'oSude':_0x190eb4(0x204),'twtue':_0x190eb4(0x1be),'moYmK':_0x190eb4(0x249)},_0x3aa896=helper[_0x190eb4(0x26d)](_0x163f00[_0x190eb4(0x20d)]);global['__isPlaywrightInstalled']=!!_0x3aa896;const _0x598a64=_0x163f00[_0x190eb4(0x1b0)](getPuppeteerVersion);global[_0x190eb4(0x21e)]=!!_0x598a64;helper[_0x190eb4(0x1a6)]()?(await _0x591e30['initialize'](_0x10b701),await helper['handleApp'](_0x591e30['config'])):await _0x591e30[_0x190eb4(0x220)]();if(_0x3aa896)await _0x163f00[_0x190eb4(0x1a2)](checkPwandBootstrapCli,_0x3aa896,constants[_0x190eb4(0x23e)][_0x190eb4(0x1b8)],_0x591e30);else _0x598a64&&await _0x163f00[_0x190eb4(0x1a2)](checkPuppeteerAndBootstrapCli,_0x598a64,constants[_0x190eb4(0x23e)][_0x190eb4(0x1b8)],_0x591e30);if(!_0x591e30[_0x190eb4(0x22b)])return;_0x163f00['WvkOD'](_0x591e30['config'][_0x190eb4(0x1e3)],null)?process[_0x190eb4(0x1d4)][_0x190eb4(0x231)]=_0x591e30[_0x190eb4(0x22b)][_0x190eb4(0x1e3)]:process[_0x190eb4(0x1d4)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x163f00[_0x190eb4(0x1c6)];const _0x397edf=new TestOrchestrationHandler(_0x591e30[_0x190eb4(0x22b)]),_0x2d5859=await _0x163f00[_0x190eb4(0x23c)](getUserJestConfigs,_0x10b701,_0x351d40);logger[_0x190eb4(0x22a)](_0x163f00[_0x190eb4(0x1d7)]);const _0x22ef89=Object[_0x190eb4(0x1f9)]({},_0x2d5859);_0x22ef89[_0x190eb4(0x1c9)]=Object[_0x190eb4(0x1f9)]({},_0x22ef89[_0x190eb4(0x1c9)],{'server':helper[_0x190eb4(0x203)](_0x591e30[_0x190eb4(0x22b)]),'environment':_0x2d5859[_0x190eb4(0x2a3)]}),_0x22ef89['testEnvironmentOptions'][_0x190eb4(0x1ff)]=_0x163f00[_0x190eb4(0x1f5)](getPercyOptions,_0x591e30[_0x190eb4(0x22b)]);const _0x1d6a0a=helper[_0x190eb4(0x1c2)](_0x591e30['config']);!helper[_0x190eb4(0x27d)](_0x591e30[_0x190eb4(0x22b)]['accessibilityOptions'])&&(process[_0x190eb4(0x1d4)][_0x190eb4(0x246)]=JSON[_0x190eb4(0x253)](_0x591e30[_0x190eb4(0x22b)]['accessibilityOptions']));if(!BrowserstackCLI['getInstance']()[_0x190eb4(0x21d)]()){const _0x4a897a=await TestHubHandler[_0x190eb4(0x292)](FRAMEWORKS[_0x190eb4(0x1b8)],_0x591e30);}const _0x199206=helper[_0x190eb4(0x25c)](_0x591e30['config'],_0x1d6a0a,constants[_0x190eb4(0x23e)]['JEST']);process[_0x190eb4(0x1d4)][_0x190eb4(0x1ca)]=JSON['stringify'](_0x199206);let _0x8aeafc=_0x591e30[_0x190eb4(0x22b)][_0x190eb4(0x240)];_0x8aeafc=_0x8aeafc||accessibilityHelper[_0x190eb4(0x223)](_0x591e30['config']),process[_0x190eb4(0x1d4)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x8aeafc,logger[_0x190eb4(0x293)](_0x190eb4(0x23a)+_0x8aeafc+_0x190eb4(0x20b)+BrowserstackCLI['getInstance']()[_0x190eb4(0x21d)]());if(_0x3aa896)try{const _0x537a3b=_0x163f00[_0x190eb4(0x1a0)](checkAccessibilityPlatformConfig,_0x591e30[_0x190eb4(0x22b)]);process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x537a3b?_0x163f00[_0x190eb4(0x1c6)]:_0x163f00[_0x190eb4(0x207)],logger[_0x190eb4(0x293)](_0x190eb4(0x1ee)+_0x537a3b+_0x190eb4(0x295)+process[_0x190eb4(0x1d4)][_0x190eb4(0x28e)]);}catch(_0x4d7f60){logger[_0x190eb4(0x293)](_0x190eb4(0x1c3)+util[_0x190eb4(0x20e)](_0x4d7f60));}_0x22ef89['testEnvironmentOptions'][_0x190eb4(0x211)]=_0x199206,_0x22ef89['testEnvironmentOptions'][_0x190eb4(0x2a6)]=_0x163f00[_0x190eb4(0x23c)](getSerial,_0x199206,_0x10b701),_0x22ef89[_0x190eb4(0x1c9)]['parallels__']=_0x163f00[_0x190eb4(0x1a2)](getMaxWorkers,_0x10b701,_0x591e30[_0x190eb4(0x22b)],_0x2d5859),_0x22ef89[_0x190eb4(0x1c9)][_0x190eb4(0x1cf)]=_0x591e30[_0x190eb4(0x22b)]['proxySettings'],_0x22ef89[_0x190eb4(0x1c9)]['timeout__']=_0x163f00['BiInK'](_0x10b701['testTimeout'],0x1)||0x1388,_0x22ef89[_0x190eb4(0x1c9)][_0x190eb4(0x280)]=_0x591e30['config'][_0x190eb4(0x277)]['skipSessionName'],_0x22ef89[_0x190eb4(0x1c9)][_0x190eb4(0x1ce)]=_0x591e30[_0x190eb4(0x22b)][_0x190eb4(0x277)][_0x190eb4(0x1ce)],_0x22ef89['testEnvironmentOptions'][_0x190eb4(0x235)]=_0x591e30[_0x190eb4(0x22b)][_0x190eb4(0x255)],_0x22ef89[_0x190eb4(0x1c9)][_0x190eb4(0x242)]=_0x591e30[_0x190eb4(0x22b)]['turboScaleUrl'],_0x22ef89[_0x190eb4(0x1c9)]['platformCaps']=_0x591e30['config']['platforms'];const _0xa68510=helper['parseTestOrchestrationOptions'](_0x591e30[_0x190eb4(0x22b)]);if(!helper[_0x190eb4(0x1fe)](_0xa68510)){helper[_0x190eb4(0x1cb)](_0xa68510[_0x190eb4(0x217)])&&(_0x22ef89[_0x190eb4(0x1c9)][_0x190eb4(0x24c)]=_0xa68510[_0x190eb4(0x217)][_0x190eb4(0x202)]);if(helper[_0x190eb4(0x1cb)](_0xa68510[_0x190eb4(0x238)])&&helper[_0x190eb4(0x1cb)](_0xa68510[_0x190eb4(0x238)][_0x190eb4(0x265)])){const _0x1038cd={};_0x1038cd[_0x190eb4(0x271)]=_0xa68510['abortBuildOnFailure'][_0x190eb4(0x226)],_0x1038cd[_0x190eb4(0x265)]=_0xa68510[_0x190eb4(0x238)][_0x190eb4(0x265)],_0x22ef89[_0x190eb4(0x1c9)][_0x190eb4(0x21b)]=_0x1038cd;}}let _0x1ab728='';_0x163f00['UZGTt'](helper[_0x190eb4(0x1c5)](),constants[_0x190eb4(0x20f)][_0x190eb4(0x1d6)])?_0x1ab728=_0x163f00[_0x190eb4(0x29f)]:_0x1ab728=_0x163f00['GDBrs'];const _0x2dc66e=_0x1ab728,_0x4a9a6d=path[_0x190eb4(0x1f6)](__dirname,_0x163f00['ZdNZX'],_0x163f00['Fedht']),_0x298fe9=path[_0x190eb4(0x1f6)](__dirname,_0x163f00[_0x190eb4(0x22c)],_0x163f00[_0x190eb4(0x270)]),_0x493a45=path[_0x190eb4(0x1f6)](__dirname,_0x163f00[_0x190eb4(0x22c)],_0x163f00[_0x190eb4(0x208)]);_0x22ef89['testEnvironment']&&(process['env'][_0x190eb4(0x250)]=_0x22ef89[_0x190eb4(0x2a3)]);_0x22ef89[_0x190eb4(0x2a3)]=path[_0x190eb4(0x1f6)](__dirname,_0x163f00['ZdNZX'],_0x163f00['vZoEM']);const _0x4d7e99=_0x2d5859[_0x190eb4(0x1ec)];if(_0x4d7e99&&_0x163f00[_0x190eb4(0x1f4)](_0x4d7e99,_0x163f00['qdGKS'])){const _0x175f23=_0x4d7e99['startsWith'](_0x163f00[_0x190eb4(0x24d)])?_0x4d7e99:'jest-runner-'+_0x4d7e99;process[_0x190eb4(0x1d4)][_0x190eb4(0x1ea)]=_0x175f23,logger['info'](_0x190eb4(0x244)+_0x175f23);}_0x22ef89[_0x190eb4(0x1ec)]=_0x298fe9,_0x22ef89[_0x190eb4(0x259)]=_0x22ef89[_0x190eb4(0x259)]||[],_0x22ef89[_0x190eb4(0x259)]['push'](path['join'](__dirname,_0x163f00[_0x190eb4(0x1fb)]));_0x397edf[_0x190eb4(0x1fc)]()&&(_0x22ef89[_0x190eb4(0x1e0)]=path[_0x190eb4(0x1f6)](__dirname,_0x163f00[_0x190eb4(0x22c)],_0x163f00[_0x190eb4(0x275)]));if(testhubUtils[_0x190eb4(0x264)]()||BrowserstackCLI[_0x190eb4(0x1bc)]()['isCliEnabled']()){let _0x21016e=null;try{_0x21016e=helper[_0x190eb4(0x261)](_0x163f00[_0x190eb4(0x243)],_0x163f00[_0x190eb4(0x29b)]);}catch(_0xf183dc){try{_0x21016e=helper[_0x190eb4(0x261)](_0x163f00[_0x190eb4(0x294)],_0x163f00[_0x190eb4(0x29b)]);}catch(_0x2c897a){_0x163f00[_0x190eb4(0x210)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x2c897a);}}_0x21016e&&(testhubUtils[_0x190eb4(0x264)]()&&_0x22ef89[_0x190eb4(0x259)][_0x190eb4(0x28a)](path[_0x190eb4(0x1f6)](__dirname,_0x163f00[_0x190eb4(0x228)],_0x163f00['nhkVs'])),_0x22ef89[_0x190eb4(0x1bb)]=path[_0x190eb4(0x1f6)](__dirname,_0x163f00[_0x190eb4(0x22c)],_0x163f00[_0x190eb4(0x278)]));}_0x22ef89[_0x190eb4(0x26f)]=_0x22ef89[_0x190eb4(0x26f)]||[];try{helper[_0x190eb4(0x20c)](),_0x22ef89[_0x190eb4(0x26f)]['push'](path[_0x190eb4(0x1f6)](__dirname,_0x163f00['obFGv']));}catch{logger['debug'](_0x163f00[_0x190eb4(0x27b)]);}try{helper[_0x190eb4(0x1cc)]['apply'](null,[_0x163f00[_0x190eb4(0x20d)],_0x163f00[_0x190eb4(0x232)]]),logger['debug'](_0x163f00['pzElq']),_0x22ef89[_0x190eb4(0x26f)]['push'](path['join'](__dirname,_0x163f00['BVeOl']));}catch(_0x27677a){logger[_0x190eb4(0x293)](_0x163f00[_0x190eb4(0x1f2)],_0x27677a);}if(_0x163f00[_0x190eb4(0x257)](!_0x3aa896,_0x598a64)){try{logger['debug'](_0x163f00['EZgOu']),_0x22ef89[_0x190eb4(0x26f)]['push'](path[_0x190eb4(0x1f6)](__dirname,'..',_0x163f00[_0x190eb4(0x1bf)],_0x163f00[_0x190eb4(0x272)]));}catch(_0x7b4c2d){logger[_0x190eb4(0x293)](_0x190eb4(0x1eb)+_0x7b4c2d[_0x190eb4(0x1ba)]);}try{const _0x51da44=require[_0x190eb4(0x274)](_0x163f00[_0x190eb4(0x23b)]),_0x17a9b7=path[_0x190eb4(0x1e9)](_0x51da44)['replace'](/\\/g,'/'),_0x69de47={};_0x69de47['^puppeteer-core/internal/(.*)']=_0x17a9b7+_0x190eb4(0x1d9),_0x22ef89['moduleNameMapper']=Object['assign']({},_0x22ef89[_0x190eb4(0x1aa)]||{},_0x69de47),logger['debug'](_0x190eb4(0x229)+_0x17a9b7);}catch(_0x171ac5){logger[_0x190eb4(0x293)](_0x190eb4(0x22e)+_0x171ac5['message']);}}_0x22ef89['reporters']=_0x22ef89[_0x190eb4(0x233)]||[_0x163f00[_0x190eb4(0x2a0)]],_0x163f00[_0x190eb4(0x23c)](updateTestRerunConfig,_0x22ef89,_0x591e30);const _0x17755d=fs[_0x190eb4(0x26e)](_0x493a45),_0x94c62b=helper[_0x190eb4(0x225)](_0x163f00[_0x190eb4(0x1da)],_0x163f00[_0x190eb4(0x267)]);!_0x94c62b[_0x190eb4(0x1fa)]?fs[_0x190eb4(0x279)](_0x22ef89[_0x190eb4(0x1ec)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x17755d+'\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'+_0x591e30['config'][_0x190eb4(0x25b)][_0x190eb4(0x1e1)]+_0x190eb4(0x1df)):fs['writeFileSync'](_0x22ef89[_0x190eb4(0x1ec)],_0x190eb4(0x276)+_0x17755d+_0x190eb4(0x241)+_0x591e30[_0x190eb4(0x22b)][_0x190eb4(0x25b)][_0x190eb4(0x1e1)]+_0x190eb4(0x1e7));logger['info'](_0x190eb4(0x1b4)+_0x2dc66e+_0x190eb4(0x201)),fs[_0x190eb4(0x279)](_0x2dc66e,_0x190eb4(0x237)+JSON[_0x190eb4(0x253)](_0x22ef89)+_0x190eb4(0x22d));if(_0x397edf[_0x190eb4(0x1fc)]()){logger['debug'](_0x163f00[_0x190eb4(0x222)]);const _0x198398=await _0x397edf[_0x190eb4(0x1ed)](_0x22ef89,_0x351d40[_0x190eb4(0x29d)](0x1),_0x2dc66e);logger[_0x190eb4(0x293)](_0x190eb4(0x1a3)+JSON[_0x190eb4(0x253)](_0x198398)+_0x190eb4(0x1e6));const _0x4df733=await _0x397edf[_0x190eb4(0x1d5)](_0x198398);logger[_0x190eb4(0x293)](_0x190eb4(0x268)+JSON[_0x190eb4(0x253)](_0x4df733)),_0x4df733&&_0x163f00[_0x190eb4(0x2a4)](_0x4df733['length'],0x0)&&(process['env']['JEST_TEST_ORDER']=_0x4df733?.['join'](','));}logger[_0x190eb4(0x22a)](_0x163f00[_0x190eb4(0x1d3)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x190eb4(0x282)]();helper[_0x190eb4(0x297)]({},_0x351d40),PerformanceTester[_0x190eb4(0x1a9)](PerformanceEvents[_0x190eb4(0x224)]);const _0x33e07f=[_0x163f00['duZuz'],_0x163f00[_0x190eb4(0x218)],_0x2dc66e,..._0x351d40[_0x190eb4(0x29d)](0x1)],_0x4e46db=_0x163f00[_0x190eb4(0x1a4)](spawn,_0x163f00['psXuG'],_0x33e07f,{'shell':_0x163f00['UZGTt'](process[_0x190eb4(0x296)],_0x163f00['oSude']),'stdio':_0x163f00[_0x190eb4(0x28c)],'env':Object[_0x190eb4(0x1f9)]({},process[_0x190eb4(0x1d4)])});_0x4e46db['on'](_0x163f00[_0x190eb4(0x1dd)],async _0x114429=>{const _0x31cc0c=_0x190eb4;PerformanceTester['start'](PerformanceEvents[_0x31cc0c(0x221)]);try{const {browserstackFolderPath:_0x5ab7aa,tcgConfigPath:_0x1aa6fd}=helper[_0x31cc0c(0x254)]();fs[_0x31cc0c(0x200)](_0x1aa6fd),fs[_0x31cc0c(0x29a)](_0x5ab7aa);}catch(_0x325492){logger[_0x31cc0c(0x293)](_0x163f00[_0x31cc0c(0x1b5)],_0x325492);}process[_0x31cc0c(0x1d2)]=_0x114429,logger[_0x31cc0c(0x293)](_0x31cc0c(0x22f)+_0x114429),logger[_0x31cc0c(0x22a)](_0x31cc0c(0x227)+_0x2dc66e);if(helper['isNotUndefined'](_0xa68510)&&helper[_0x31cc0c(0x1cb)](_0xa68510[_0x31cc0c(0x238)])&&fs['existsSync'](_0xa68510[_0x31cc0c(0x238)]['workingDir']))try{const _0x46db61={};_0x46db61[_0x31cc0c(0x212)]=!![],_0x46db61[_0x31cc0c(0x266)]=!![],fs[_0x31cc0c(0x205)](_0xa68510[_0x31cc0c(0x238)][_0x31cc0c(0x265)],_0x46db61),logger['debug']('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0xa68510[_0x31cc0c(0x238)][_0x31cc0c(0x265)]);}catch(_0x2f9312){logger[_0x31cc0c(0x1fa)](_0x31cc0c(0x298)+_0x2f9312);}let _0x52beaf=null;if(fs[_0x31cc0c(0x25e)](_0x4a9a6d)){_0x52beaf=fs[_0x31cc0c(0x26e)](_0x4a9a6d);try{_0x52beaf=JSON['parse'](_0x52beaf);}catch(_0x13f99a){logger[_0x31cc0c(0x293)](_0x31cc0c(0x258)+_0x4a9a6d+',\x20'+_0x52beaf+_0x31cc0c(0x286)+_0x13f99a);}fs[_0x31cc0c(0x200)](_0x4a9a6d);}fs['unlinkSync'](_0x2dc66e),fs[_0x31cc0c(0x200)](_0x298fe9),_0x52beaf&&(_0x591e30[_0x31cc0c(0x289)]=helper[_0x31cc0c(0x1a5)](_0x52beaf,_0x163f00[_0x31cc0c(0x1b9)],_0x591e30));const _0x436a2c=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x31cc0c(0x1c8)](),await BrowserstackCLI[_0x31cc0c(0x1bc)]()[_0x31cc0c(0x1c8)]();}catch(_0x212427){console['log'](_0x212427),_0x163f00[_0x31cc0c(0x25d)](debug,_0x31cc0c(0x1a1)+util['format'](_0x212427));}testOpsHelper[_0x31cc0c(0x256)](),TestDetails[_0x31cc0c(0x1a8)](),await utilities['finalExecution'](_0x591e30,_0x436a2c);});}module[a14_0x453ba6(0x206)]=run;
@@ -1 +1 @@
1
- const a15_0xf02d1=a15_0x5483;(function(_0x24d902,_0x5d8152){const _0x3344ac=a15_0x5483,_0x3622cf=_0x24d902();while(!![]){try{const _0x27c005=parseInt(_0x3344ac(0x13f))/0x1+parseInt(_0x3344ac(0x138))/0x2+parseInt(_0x3344ac(0x141))/0x3*(parseInt(_0x3344ac(0x14a))/0x4)+-parseInt(_0x3344ac(0x14b))/0x5*(-parseInt(_0x3344ac(0x149))/0x6)+parseInt(_0x3344ac(0x13b))/0x7+-parseInt(_0x3344ac(0x13a))/0x8*(parseInt(_0x3344ac(0x13e))/0x9)+-parseInt(_0x3344ac(0x139))/0xa;if(_0x27c005===_0x5d8152)break;else _0x3622cf['push'](_0x3622cf['shift']());}catch(_0x14439d){_0x3622cf['push'](_0x3622cf['shift']());}}}(a15_0x3b7a,0x43896));const path=require(a15_0xf02d1(0x144)),{requireModule}=require(a15_0xf02d1(0x14c));function a15_0x3b7a(){const _0x4188be=['PsRvK','initRequireModule','jest-circus/build/runner.js','570YGDlFo','1769864KruqxC','4295rvnXSr','../../../helpers/helper','jest-circus','QcRig','exports','205392ZQGXSl','1742760lClbRM','1455208iCORzF','1758099fLGPBV','join','requireInternalModule','27hMjotJ','118685DUOsiT','customJestAdapterInit.js','3sHKSqH','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','function','path','includes'];a15_0x3b7a=function(){return _0x4188be;};return a15_0x3b7a();}function a15_0x5483(_0x456c50,_0x5dd0a4){const _0x3b7a17=a15_0x3b7a();return a15_0x5483=function(_0x54830c,_0x16c4e5){_0x54830c=_0x54830c-0x137;let _0x234411=_0x3b7a17[_0x54830c];return _0x234411;},a15_0x5483(_0x456c50,_0x5dd0a4);}let initJestAdapter;try{initJestAdapter=requireModule(a15_0xf02d1(0x142),a15_0xf02d1(0x14d));}catch{initJestAdapter=requireModule(a15_0xf02d1(0x148),a15_0xf02d1(0x14d));}initJestAdapter=typeof initJestAdapter===a15_0xf02d1(0x143)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a15_0xf02d1(0x13c)](__dirname,a15_0xf02d1(0x140));module[a15_0xf02d1(0x137)]=(..._0x3a62a4)=>{const _0x72dc68=a15_0xf02d1,_0x35aea1={'Kincn':'jestAdapterInit','PsRvK':function(_0x54ee05,_0x33ac7b){return _0x54ee05===_0x33ac7b;},'QcRig':function(_0x1ca2e0,..._0x4a2ace){return _0x1ca2e0(..._0x4a2ace);}};return _0x3a62a4[0x3]['initRequireModule']=_0x3a62a4[0x3][_0x72dc68(0x13d)],_0x3a62a4[0x3][_0x72dc68(0x13d)]=(..._0x10f735)=>{const _0x31734f=_0x72dc68;if(_0x10f735[0x0]&&_0x10f735[0x0][_0x31734f(0x145)](_0x35aea1['Kincn'])&&_0x35aea1[_0x31734f(0x146)](_0x10f735[0x1],undefined))return _0x3a62a4[0x3][_0x31734f(0x147)](FRAMEWORK_INITIALIZER);return _0x3a62a4[0x3]['initRequireModule'](..._0x10f735);},_0x35aea1[_0x72dc68(0x14e)](initJestAdapter,..._0x3a62a4);};
1
+ const a15_0x17ab65=a15_0x9c8d;(function(_0x376976,_0x369536){const _0x11e1a5=a15_0x9c8d,_0x4f74d3=_0x376976();while(!![]){try{const _0x37c49a=-parseInt(_0x11e1a5(0xfb))/0x1*(parseInt(_0x11e1a5(0x10a))/0x2)+parseInt(_0x11e1a5(0x109))/0x3+parseInt(_0x11e1a5(0xfe))/0x4*(-parseInt(_0x11e1a5(0xfc))/0x5)+-parseInt(_0x11e1a5(0xf7))/0x6*(-parseInt(_0x11e1a5(0x104))/0x7)+-parseInt(_0x11e1a5(0x105))/0x8*(parseInt(_0x11e1a5(0xf5))/0x9)+-parseInt(_0x11e1a5(0xf8))/0xa*(-parseInt(_0x11e1a5(0xfa))/0xb)+parseInt(_0x11e1a5(0xf4))/0xc;if(_0x37c49a===_0x369536)break;else _0x4f74d3['push'](_0x4f74d3['shift']());}catch(_0x413d52){_0x4f74d3['push'](_0x4f74d3['shift']());}}}(a15_0x2bd7,0xe4672));const path=require(a15_0x17ab65(0xf9)),{requireModule}=require(a15_0x17ab65(0x107));let initJestAdapter;try{initJestAdapter=requireModule(a15_0x17ab65(0xf3),a15_0x17ab65(0xff));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a15_0x17ab65(0xff));}initJestAdapter=typeof initJestAdapter===a15_0x17ab65(0x100)?initJestAdapter:initJestAdapter[a15_0x17ab65(0xfd)];const FRAMEWORK_INITIALIZER=path[a15_0x17ab65(0x108)](__dirname,'customJestAdapterInit.js');function a15_0x9c8d(_0x377fca,_0x5d3a36){const _0x2bd79d=a15_0x2bd7();return a15_0x9c8d=function(_0x9c8d39,_0x567676){_0x9c8d39=_0x9c8d39-0xf3;let _0x1504b1=_0x2bd79d[_0x9c8d39];return _0x1504b1;},a15_0x9c8d(_0x377fca,_0x5d3a36);}function a15_0x2bd7(){const _0x8767e5=['path','88GbxyWD','506923tJEHnj','156675mIvewv','default','36fgeYWk','jest-circus','function','clYWy','jestAdapterInit','initRequireModule','7SjyiQI','32iNVNVc','includes','../../../helpers/helper','join','3031470kaqzTc','6iVoCFt','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','10335300lwFgwF','2773053Hqxfha','requireInternalModule','6699414bugjeb','1228070zyvAcK'];a15_0x2bd7=function(){return _0x8767e5;};return a15_0x2bd7();}module['exports']=(..._0x201f8c)=>{const _0x397777=a15_0x17ab65,_0x152a56={'Xaifo':_0x397777(0x102),'avJrj':function(_0x4aff11,_0x57d65f){return _0x4aff11===_0x57d65f;},'clYWy':function(_0xea9074,..._0x508ece){return _0xea9074(..._0x508ece);}};return _0x201f8c[0x3]['initRequireModule']=_0x201f8c[0x3][_0x397777(0xf6)],_0x201f8c[0x3][_0x397777(0xf6)]=(..._0x11c5e7)=>{const _0x3b107a=_0x397777;if(_0x11c5e7[0x0]&&_0x11c5e7[0x0][_0x3b107a(0x106)](_0x152a56['Xaifo'])&&_0x152a56['avJrj'](_0x11c5e7[0x1],undefined))return _0x201f8c[0x3][_0x3b107a(0x103)](FRAMEWORK_INITIALIZER);return _0x201f8c[0x3][_0x3b107a(0x103)](..._0x11c5e7);},_0x152a56[_0x397777(0x101)](initJestAdapter,..._0x201f8c);};
@@ -1 +1 @@
1
- const a16_0xa235bb=a16_0x16e2;(function(_0x142e8e,_0x2d7ed2){const _0x321c82=a16_0x16e2,_0x8e4ce2=_0x142e8e();while(!![]){try{const _0x55c20f=parseInt(_0x321c82(0xe7))/0x1*(-parseInt(_0x321c82(0xe2))/0x2)+-parseInt(_0x321c82(0xfe))/0x3*(-parseInt(_0x321c82(0x12d))/0x4)+-parseInt(_0x321c82(0xf7))/0x5+-parseInt(_0x321c82(0x13c))/0x6*(parseInt(_0x321c82(0x142))/0x7)+parseInt(_0x321c82(0x10b))/0x8+-parseInt(_0x321c82(0x100))/0x9*(-parseInt(_0x321c82(0xf1))/0xa)+parseInt(_0x321c82(0xe9))/0xb;if(_0x55c20f===_0x2d7ed2)break;else _0x8e4ce2['push'](_0x8e4ce2['shift']());}catch(_0x1b92c2){_0x8e4ce2['push'](_0x8e4ce2['shift']());}}}(a16_0x76fd,0x488db));const helper=require('../../../helpers/helper'),constants=require(a16_0xa235bb(0xeb)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a16_0xa235bb(0x115)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require('../../../helpers/testhub/utils'),logger=require('../../../helpers/logger')['winstonLogger'],getTestEnvironment=((()=>{const _0xdcf0fc=a16_0xa235bb,_0x3f73a7={};_0x3f73a7[_0xdcf0fc(0xea)]=_0xdcf0fc(0xfc),_0x3f73a7[_0xdcf0fc(0x122)]=_0xdcf0fc(0x10e);const _0x10992f=_0x3f73a7;try{const _0x190316=helper[_0xdcf0fc(0x101)](_0x10992f['YDUJz']);if(_0x190316[_0xdcf0fc(0x108)])return _0x190316['resolveTestEnvironment'];const _0x5a71ca=helper[_0xdcf0fc(0x101)](_0x10992f[_0xdcf0fc(0x122)]);if(_0x5a71ca[_0xdcf0fc(0x10c)])return _0x5a71ca[_0xdcf0fc(0x10c)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x3fb655=a16_0xa235bb,_0x28d043={'mrrYN':function(_0x31858f,_0x297fd5){return _0x31858f(_0x297fd5);},'czNTq':'node','GjVFR':function(_0x39450d,_0x414ec4){return _0x39450d(_0x414ec4);},'OHKlE':_0x3fb655(0x12a),'wGasK':function(_0x2738b5,_0xd4e5a5){return _0x2738b5(_0xd4e5a5);}},_0x1a7ee0=_0x28d043[_0x3fb655(0xfd)](getTestEnvironment,{'rootDir':process[_0x3fb655(0x130)](),'testEnvironment':process[_0x3fb655(0xef)][_0x3fb655(0x106)]||_0x28d043['czNTq']});if(!_0x1a7ee0)return _0x28d043[_0x3fb655(0x131)](_interopRequireDefault,helper[_0x3fb655(0x101)](_0x28d043['OHKlE']));return _0x28d043[_0x3fb655(0x124)](_interopRequireDefault,helper[_0x3fb655(0x101)](_0x1a7ee0));})()),_seleniumWebdriver2=((()=>{const _0x49aa47=a16_0xa235bb,_0x2fe0c1={'fvTRz':function(_0x5dfe87,_0x2a3392){return _0x5dfe87(_0x2a3392);}};try{const _0x2c0d90=helper[_0x49aa47(0xf4)]();return helper[_0x49aa47(0x145)](),_0x2fe0c1[_0x49aa47(0x123)](_interopRequireDefault,_0x2c0d90);}catch{return null;}})());function _interopRequireDefault(_0x800cb4){return _0x800cb4&&_0x800cb4['__esModule']?_0x800cb4:{'default':_0x800cb4};}function a16_0x76fd(){const _0x3f9dd9=['jest-resolve','mrrYN','41961ewDDNT','timeout__','9IUVkPY','requireModule','shutdown','browserstackAgentV2','configuration','BCmDu','BSTACK_JEST_TEST_ENV','failFast','resolveTestEnvironment','platformCaps','default','261128OAhbWB','getTestEnvironment','nestedKeyValue','jest-config','KtJHC','test','__webdriver','vdRzc','VDfaG','name','../../../helpers/test-observability/requestQueueHandler','__timeout','setup','__driversArray','skipSessionName','hFaXO','GEfbM','../../../index','split','projectName','Builder','hRATv','handleTestEvent','SCdcV','fvTRz','wGasK','WlJIB','testContext','getInstance','retries__','buildName','jest-environment-node','browserstackPercyBestPlatform','nudJm','104OqwPax','testEnvironmentOptions','percyCaptureMode','cwd','GjVFR','wuMLu','isNotUndefined','skip','capability','AoGuk','oIhKI','projectConfig','isArray','FRAMEWORKS','BSTACK_DELTA','756EzUyrb','onTestDone','fgvfw','cleanupDrivers','skipSessionStatus','Error\x20in\x20fail-fast\x20test_done\x20handler:','7553rfAQbE','browserStackGlobals','message','modifyCommand','\x20>\x20','browserStackPercyOptions','mqEMm','failFastActive','isTrue','48HiaVOl','browserstackPlatformIndex','errors','framework','builder','9221SrmgAe','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','823141yKTMtZ','YDUJz','../../utils/constants','shouldProcessEventForTesthub','capabilities','registerListeners','env','../../../helpers/test-orchestration/failfastManager','2584950lblTlP','cleanup','debug','requireSeleniumWebdriver','global','percy','375960cakamy','7|0|1|3|6|2|4|5','sessionNameProvided','JEST','failFastOptions'];a16_0x76fd=function(){return _0x3f9dd9;};return a16_0x76fd();}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0xa235bb(0x10a)]['Builder']:null;function a16_0x16e2(_0x250005,_0x363c19){const _0x76fd9f=a16_0x76fd();return a16_0x16e2=function(_0x16e240,_0x3518c1){_0x16e240=_0x16e240-0xdd;let _0x3122b0=_0x76fd9f[_0x16e240];return _0x3122b0;},a16_0x16e2(_0x250005,_0x363c19);}class CustomEnvironment extends _jestUserEnvironment[a16_0xa235bb(0x10a)]{constructor(_0x28002c){const _0x54a5d2=a16_0xa235bb,_0x35dae5={'wuMLu':'quit','hRATv':function(_0x5a8c43,_0x23d349){return _0x5a8c43+_0x23d349;},'XRrXa':'bstack:options','AoGuk':function(_0x2556f2,_0x399ff5){return _0x2556f2(_0x399ff5);},'xFVwx':_0x54a5d2(0xf0),'GEfbM':_0x54a5d2(0xf8),'HgnpF':_0x54a5d2(0x11c),'nudJm':_0x54a5d2(0x12e),'fgvfw':_0x54a5d2(0xde),'IBjAv':'browserstackPercyBestPlatform','vdRzc':'percy','VRGJj':_0x54a5d2(0x12f)};super(_0x28002c),this[_0x54a5d2(0xf5)]['__timeout']=0x0,this[_0x54a5d2(0x104)]={};!_0x28002c['testEnvironmentOptions']&&(_0x28002c[_0x54a5d2(0x12e)]={});if(helper['isBrowserstackInfra']()){_0x28002c[_0x54a5d2(0x12e)]=_0x28002c['projectConfig']?_0x28002c[_0x54a5d2(0x138)]['testEnvironmentOptions']:_0x28002c[_0x54a5d2(0x12e)];_seleniumWebdriver2&&(this[_0x54a5d2(0xe6)]=new _seleniumWebdriver2[(_0x54a5d2(0x10a))][(_0x54a5d2(0x11f))]());this[_0x54a5d2(0x135)]=_0x28002c['projectConfig']?_0x28002c[_0x54a5d2(0x138)][_0x54a5d2(0x135)]:_0x28002c[_0x54a5d2(0x135)],this['global'][_0x54a5d2(0x116)]=_0x35dae5[_0x54a5d2(0x120)](_0x28002c[_0x54a5d2(0x12e)][_0x54a5d2(0xff)]||0x1388,constants[_0x54a5d2(0x13b)]),this[_0x54a5d2(0xfb)]=_0x28002c[_0x54a5d2(0x12e)]['failFast'];if(this['failFastOptions']){const _0x272450=this['capability'][_0x35dae5['XRrXa']]?.[_0x54a5d2(0x129)]||'',_0x16a1a9=this['capability'][_0x35dae5['XRrXa']]?.[_0x54a5d2(0x11e)]||'';this['failFast']=new(_0x35dae5[_0x54a5d2(0x136)](require,_0x35dae5['xFVwx']))(this[_0x54a5d2(0xfb)],_0x272450,_0x16a1a9),this[_0x54a5d2(0xf5)]['failFastActive']=![];}helper[_0x54a5d2(0x133)](_0x28002c[_0x54a5d2(0x12e)][_0x54a5d2(0x128)])&&(this['global']['__jestRetries']=_0x28002c[_0x54a5d2(0x12e)][_0x54a5d2(0x128)]);}if(testhubUtils[_0x54a5d2(0xec)]()){const _0x2deece=new ObservabilityReporter();_0x2deece[_0x54a5d2(0xee)]();}this[_0x54a5d2(0xf5)][_0x54a5d2(0x143)]={},this['configuration']=_0x28002c['testEnvironmentOptions'],this[_0x54a5d2(0x104)][_0x54a5d2(0xe5)]=constants[_0x54a5d2(0x13a)][_0x54a5d2(0xfa)],this['global'][_0x54a5d2(0xe3)]=(_0x28002c[_0x54a5d2(0x138)]?_0x28002c[_0x54a5d2(0x138)][_0x54a5d2(0xe3)]:_0x28002c[_0x54a5d2(0xe3)])||0x0,this[_0x54a5d2(0xf5)]['__platformCaps']=this[_0x54a5d2(0x104)]&&this[_0x54a5d2(0x104)][_0x54a5d2(0x109)]&&Array[_0x54a5d2(0x139)](this[_0x54a5d2(0x104)][_0x54a5d2(0x109)])&&this[_0x54a5d2(0x104)][_0x54a5d2(0x109)][this[_0x54a5d2(0xf5)][_0x54a5d2(0xe3)]]||{};const _0x4cf53b=this[_0x54a5d2(0xf5)][_0x54a5d2(0xe3)],_0x248ec4={...this['configuration'],'capability':this[_0x54a5d2(0x104)][_0x54a5d2(0xed)]&&Array['isArray'](this[_0x54a5d2(0x104)][_0x54a5d2(0xed)])&&this[_0x54a5d2(0x104)][_0x54a5d2(0xed)][_0x4cf53b]||{},'platformCaps':this[_0x54a5d2(0x104)][_0x54a5d2(0x109)]&&Array['isArray'](this[_0x54a5d2(0x104)][_0x54a5d2(0x109)])&&this[_0x54a5d2(0x104)]['platformCaps'][_0x4cf53b]||{}};delete _0x248ec4[_0x54a5d2(0xed)],this[_0x54a5d2(0xf5)]['jestConfig']=_0x248ec4;if(_seleniumWebdriver2){const _0x4b9980=_0x35dae5[_0x54a5d2(0x11b)][_0x54a5d2(0x11d)]('|');let _0x5ccac2=0x0;while(!![]){switch(_0x4b9980[_0x5ccac2++]){case'0':this[_0x54a5d2(0xf5)]['__webdriver']=_0x35dae5[_0x54a5d2(0x136)](require,_0x35dae5['HgnpF'])[_0x54a5d2(0x103)]({...this[_0x54a5d2(0x104)],'capability':this[_0x54a5d2(0x135)]||{}},this,testhubUtils[_0x54a5d2(0xec)]());continue;case'1':this[_0x54a5d2(0xf5)][_0x54a5d2(0x12b)]=helper[_0x54a5d2(0x10d)](_0x28002c,[_0x35dae5[_0x54a5d2(0x12c)],_0x35dae5[_0x54a5d2(0x13e)],_0x35dae5['IBjAv']]);continue;case'2':helper['isTrue'](this[_0x54a5d2(0x104)][_0x54a5d2(0x119)])?this[_0x54a5d2(0xf5)][_0x54a5d2(0xf9)]=!![]:this[_0x54a5d2(0xf5)][_0x54a5d2(0xf9)]=![];continue;case'3':this['global'][_0x54a5d2(0xf6)]=helper['nestedKeyValue'](_0x28002c,[_0x35dae5[_0x54a5d2(0x12c)],_0x35dae5[_0x54a5d2(0x13e)],_0x35dae5[_0x54a5d2(0x112)]]);continue;case'4':this[_0x54a5d2(0xf5)]['__skipSessionStatus']=helper[_0x54a5d2(0xe1)](this['configuration'][_0x54a5d2(0x140)]);continue;case'5':this[_0x54a5d2(0xf5)][_0x54a5d2(0xf2)]=async()=>{const _0xf2bd20=_0x54a5d2;await this[_0xf2bd20(0xf5)]['driver']['quit'](_0x35dae5[_0xf2bd20(0x132)]);};continue;case'6':this[_0x54a5d2(0xf5)][_0x54a5d2(0x12f)]=helper[_0x54a5d2(0x10d)](_0x28002c,[_0x35dae5[_0x54a5d2(0x12c)],_0x35dae5[_0x54a5d2(0x13e)],_0x35dae5['VRGJj']]);continue;case'7':this[_0x54a5d2(0xf5)]['__drivers']=[];continue;}break;}}}async['teardown'](){const _0x4c0f28=a16_0xa235bb;_seleniumWebdriver2&&(await helper[_0x4c0f28(0x13f)](this[_0x4c0f28(0xf5)][_0x4c0f28(0x118)]),this['global'][_0x4c0f28(0x111)][_0x4c0f28(0x11f)]=originalBuilder),await RequestQueueHandler[_0x4c0f28(0x127)]()[_0x4c0f28(0x102)]();}async[a16_0xa235bb(0x117)](){}async[a16_0xa235bb(0x121)](_0x4ff61a,_0x203997){const _0x57e831=a16_0xa235bb,_0x1282c5={};_0x1282c5['oIhKI']=function(_0x53b168,_0x377cbe){return _0x53b168===_0x377cbe;},_0x1282c5[_0x57e831(0xdf)]='test_start',_0x1282c5[_0x57e831(0x10f)]=_0x57e831(0x134),_0x1282c5[_0x57e831(0x113)]=function(_0x3c30e5,_0x2cd42c){return _0x3c30e5===_0x2cd42c;},_0x1282c5[_0x57e831(0x125)]='test_done',_0x1282c5[_0x57e831(0x105)]=_0x57e831(0xdd),_0x1282c5['aExje']=function(_0x534726,_0x1f7852){return _0x534726===_0x1f7852;},_0x1282c5['LWLcF']=_0x57e831(0x141),_0x1282c5[_0x57e831(0x11a)]='teardown';const _0x5d1af1=_0x1282c5,{name:_0x30c4b1}=_0x4ff61a;if(_0x5d1af1[_0x57e831(0x137)](_0x30c4b1,_0x5d1af1[_0x57e831(0xdf)])){this[_0x57e831(0xf5)][_0x57e831(0x126)]=_0x4ff61a[_0x57e831(0x110)];if(_0x5d1af1[_0x57e831(0x137)](this['global'][_0x57e831(0xe0)],!![])){const _0x291b97=_0x4ff61a['test'][_0x57e831(0x114)];logger['info'](_0x57e831(0xe8)+_0x291b97),_0x4ff61a['test']['mode']=_0x5d1af1[_0x57e831(0x10f)];}}if(this[_0x57e831(0x107)]&&_0x5d1af1['VDfaG'](_0x30c4b1,_0x5d1af1[_0x57e831(0x125)]))try{const _0x50fc9a=_0x4ff61a[_0x57e831(0x110)]['testPath']['join'](_0x5d1af1[_0x57e831(0x105)]),_0x2f3950=_0x4ff61a[_0x57e831(0x110)][_0x57e831(0xe4)];await this[_0x57e831(0x107)][_0x57e831(0x13d)](_0x50fc9a,_0x2f3950);const _0x311ef9=await this[_0x57e831(0x107)]['shouldFailFast']();_0x5d1af1[_0x57e831(0x137)](this[_0x57e831(0xf5)]['failFastActive'],![])&&_0x5d1af1['aExje'](_0x311ef9,!![])&&(this[_0x57e831(0xf5)][_0x57e831(0xe0)]=!![]);}catch(_0x16f156){logger[_0x57e831(0xf3)](_0x5d1af1['LWLcF'],_0x16f156[_0x57e831(0x144)]);}_0x5d1af1['aExje'](_0x30c4b1,_0x5d1af1[_0x57e831(0x11a)])&&(this[_0x57e831(0x107)]&&this['failFast'][_0x57e831(0xf2)]());}}module['exports']=CustomEnvironment;
1
+ const a16_0x5a3e5a=a16_0x31c2;function a16_0x31c2(_0x33cc80,_0x29f09d){const _0x363800=a16_0x3638();return a16_0x31c2=function(_0x31c2e3,_0x4d9c5f){_0x31c2e3=_0x31c2e3-0xd8;let _0x52d73f=_0x363800[_0x31c2e3];return _0x52d73f;},a16_0x31c2(_0x33cc80,_0x29f09d);}(function(_0x2b7ce1,_0x7bcdaf){const _0x34821b=a16_0x31c2,_0x1d8af0=_0x2b7ce1();while(!![]){try{const _0x98e8f8=parseInt(_0x34821b(0x10d))/0x1+-parseInt(_0x34821b(0xe1))/0x2+-parseInt(_0x34821b(0xf4))/0x3*(-parseInt(_0x34821b(0xef))/0x4)+parseInt(_0x34821b(0x111))/0x5*(-parseInt(_0x34821b(0x145))/0x6)+parseInt(_0x34821b(0xed))/0x7+-parseInt(_0x34821b(0x117))/0x8+-parseInt(_0x34821b(0x124))/0x9;if(_0x98e8f8===_0x7bcdaf)break;else _0x1d8af0['push'](_0x1d8af0['shift']());}catch(_0x2d5174){_0x1d8af0['push'](_0x1d8af0['shift']());}}}(a16_0x3638,0x464f7));const helper=require(a16_0x5a3e5a(0x139)),constants=require(a16_0x5a3e5a(0x12b)),{isTestObservabilitySession}=require(a16_0x5a3e5a(0x143)),RequestQueueHandler=require(a16_0x5a3e5a(0x10f)),ObservabilityReporter=require(a16_0x5a3e5a(0x148)),testhubUtils=require(a16_0x5a3e5a(0xe6)),logger=require('../../../helpers/logger')[a16_0x5a3e5a(0x136)],getTestEnvironment=((()=>{const _0x5557d1=a16_0x5a3e5a,_0x2bb371={};_0x2bb371[_0x5557d1(0xda)]='jest-resolve',_0x2bb371['yjLoZ']=_0x5557d1(0x149);const _0x335972=_0x2bb371;try{const _0xa6b6ee=helper[_0x5557d1(0x146)](_0x335972[_0x5557d1(0xda)]);if(_0xa6b6ee[_0x5557d1(0x11f)])return _0xa6b6ee[_0x5557d1(0x11f)];const _0x278d79=helper['requireModule'](_0x335972['yjLoZ']);if(_0x278d79[_0x5557d1(0x114)])return _0x278d79[_0x5557d1(0x114)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x3eb9af=a16_0x5a3e5a,_0x438d00={'yhhTA':function(_0x5e4006,_0x32c2b7){return _0x5e4006(_0x32c2b7);},'CxVhd':_0x3eb9af(0xd8),'IFMMM':_0x3eb9af(0x101)},_0x804b58=_0x438d00[_0x3eb9af(0x12c)](getTestEnvironment,{'rootDir':process[_0x3eb9af(0x123)](),'testEnvironment':process[_0x3eb9af(0x10e)][_0x3eb9af(0x13f)]||_0x438d00[_0x3eb9af(0x138)]});if(!_0x804b58)return _0x438d00[_0x3eb9af(0x12c)](_interopRequireDefault,helper[_0x3eb9af(0x146)](_0x438d00[_0x3eb9af(0xf3)]));return _0x438d00[_0x3eb9af(0x12c)](_interopRequireDefault,helper['requireModule'](_0x804b58));})()),_seleniumWebdriver2=((()=>{const _0x224008=a16_0x5a3e5a,_0x20ad97={'tPJjV':function(_0x5863d1,_0x4be692){return _0x5863d1(_0x4be692);}};try{const _0x50e40c=helper['requireSeleniumWebdriver']();return helper['modifyCommand'](),_0x20ad97[_0x224008(0xf9)](_interopRequireDefault,_0x50e40c);}catch{return null;}})());function _interopRequireDefault(_0x4e78fe){const _0x738504=a16_0x5a3e5a;return _0x4e78fe&&_0x4e78fe[_0x738504(0x13b)]?_0x4e78fe:{'default':_0x4e78fe};}function a16_0x3638(){const _0x584a93=['__esModule','buildName','test_start','pKzwH','BSTACK_JEST_TEST_ENV','percyCaptureMode','browserStackPercyOptions','default','../../../helpers/test-observability/utils','cleanupDrivers','3498YoBHsQ','requireModule','Builder','../test-observability/obsReporter','jest-config','node','percy','jrcKu','capabilities','failFastOptions','exports','__skipSessionStatus','fDpwY','getInstance','148842mDlAcp','bstack:options','bCCbl','shouldProcessEventForTesthub','\x20>\x20','../../../helpers/testhub/utils','jifvh','registerListeners','projectName','WbUrS','sessionNameProvided','xPZRG','2066309cyqsnC','browserstackPercyBestPlatform','4wMelRb','fQlnx','testContext','nBxyY','IFMMM','1584903FuVALw','hzGIz','failFast','nestedKeyValue','BSTACK_DELTA','tPJjV','configuration','browserstackAgentV2','driver','7|6|1|2|0|5|4|3','platformCaps','TlDop','projectConfig','jest-environment-node','info','__platformCaps','../../../helpers/test-orchestration/failfastManager','../../../index','testEnvironmentOptions','isArray','__timeout','WLKaJ','isNotUndefined','quit','JEST','464738qVCxzV','env','../../../helpers/test-observability/requestQueueHandler','capability','2830IhjUKi','teardown','__webdriver','getTestEnvironment','skipSessionStatus','split','555816zdWSGI','testPath','cleanup','test_done','test','retries__','failFastActive','Error\x20in\x20fail-fast\x20test_done\x20handler:','resolveTestEnvironment','skipSessionName','HNGCz','luyok','cwd','4737231hArBwD','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','shutdown','browserstackPlatformIndex','join','isTrue','yHzaS','../../utils/constants','yhhTA','vzzKz','global','mdebQ','mode','kiYXw','FRAMEWORKS','skip','gMYIK','iYqtf','winstonLogger','pNXye','CxVhd','../../../helpers/helper','shouldFailFast'];a16_0x3638=function(){return _0x584a93;};return a16_0x3638();}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default']['Builder']:null;class CustomEnvironment extends _jestUserEnvironment['default']{constructor(_0x5a881c){const _0x38fa52=a16_0x5a3e5a,_0x29a406={'cfQSP':'quit','pKzwH':function(_0x2d2396,_0x5e44fd){return _0x2d2396+_0x5e44fd;},'luyok':_0x38fa52(0xe2),'vzzKz':function(_0x2917c5,_0x8a00df){return _0x2917c5(_0x8a00df);},'jifvh':_0x38fa52(0x104),'mdebQ':_0x38fa52(0xfd),'hzGIz':'testEnvironmentOptions','kiYXw':_0x38fa52(0x141),'WLKaJ':'percyCaptureMode','QNMHl':_0x38fa52(0xee),'WbUrS':'percy','yHzaS':_0x38fa52(0x105)};super(_0x5a881c),this[_0x38fa52(0x12e)][_0x38fa52(0x108)]=0x0,this[_0x38fa52(0xfa)]={};!_0x5a881c['testEnvironmentOptions']&&(_0x5a881c[_0x38fa52(0x106)]={});if(helper['isBrowserstackInfra']()){_0x5a881c[_0x38fa52(0x106)]=_0x5a881c['projectConfig']?_0x5a881c['projectConfig'][_0x38fa52(0x106)]:_0x5a881c[_0x38fa52(0x106)];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0x38fa52(0x142))]['Builder']());this[_0x38fa52(0x110)]=_0x5a881c[_0x38fa52(0x100)]?_0x5a881c['projectConfig'][_0x38fa52(0x110)]:_0x5a881c[_0x38fa52(0x110)],this[_0x38fa52(0x12e)][_0x38fa52(0x108)]=_0x29a406[_0x38fa52(0x13e)](_0x5a881c[_0x38fa52(0x106)]['timeout__']||0x1388,constants[_0x38fa52(0xf8)]),this[_0x38fa52(0xdc)]=_0x5a881c[_0x38fa52(0x106)]['failFast'];if(this[_0x38fa52(0xdc)]){const _0x212316=this['capability'][_0x29a406[_0x38fa52(0x122)]]?.[_0x38fa52(0x13c)]||'',_0xdeac0e=this[_0x38fa52(0x110)][_0x29a406['luyok']]?.[_0x38fa52(0xe9)]||'';this['failFast']=new(_0x29a406[_0x38fa52(0x12d)](require,_0x29a406[_0x38fa52(0xe7)]))(this[_0x38fa52(0xdc)],_0x212316,_0xdeac0e),this[_0x38fa52(0x12e)][_0x38fa52(0x11d)]=![];}helper[_0x38fa52(0x10a)](_0x5a881c['testEnvironmentOptions']['retries__'])&&(this[_0x38fa52(0x12e)]['__jestRetries']=_0x5a881c[_0x38fa52(0x106)][_0x38fa52(0x11c)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x256756=new ObservabilityReporter();_0x256756[_0x38fa52(0xe8)]();}this[_0x38fa52(0x12e)]['browserStackGlobals']={},this['configuration']=_0x5a881c[_0x38fa52(0x106)],this['configuration']['framework']=constants[_0x38fa52(0x132)][_0x38fa52(0x10c)],this[_0x38fa52(0x12e)][_0x38fa52(0x127)]=(_0x5a881c[_0x38fa52(0x100)]?_0x5a881c[_0x38fa52(0x100)][_0x38fa52(0x127)]:_0x5a881c[_0x38fa52(0x127)])||0x0,this[_0x38fa52(0x12e)][_0x38fa52(0x103)]=this[_0x38fa52(0xfa)]&&this['configuration'][_0x38fa52(0xfe)]&&Array[_0x38fa52(0x107)](this[_0x38fa52(0xfa)]['platformCaps'])&&this[_0x38fa52(0xfa)][_0x38fa52(0xfe)][this[_0x38fa52(0x12e)][_0x38fa52(0x127)]]||{};const _0x46151e=this[_0x38fa52(0x12e)]['browserstackPlatformIndex'],_0x472fdd={...this[_0x38fa52(0xfa)],'capability':this[_0x38fa52(0xfa)][_0x38fa52(0xdb)]&&Array['isArray'](this[_0x38fa52(0xfa)][_0x38fa52(0xdb)])&&this[_0x38fa52(0xfa)]['capabilities'][_0x46151e]||{},'platformCaps':this['configuration'][_0x38fa52(0xfe)]&&Array['isArray'](this[_0x38fa52(0xfa)][_0x38fa52(0xfe)])&&this['configuration']['platformCaps'][_0x46151e]||{}};delete _0x472fdd[_0x38fa52(0xdb)],this[_0x38fa52(0x12e)]['jestConfig']=_0x472fdd;if(_seleniumWebdriver2){const _0x108c13=_0x29a406[_0x38fa52(0x12f)][_0x38fa52(0x116)]('|');let _0x54d42c=0x0;while(!![]){switch(_0x108c13[_0x54d42c++]){case'0':this[_0x38fa52(0x12e)][_0x38fa52(0x140)]=helper[_0x38fa52(0xf7)](_0x5a881c,[_0x29a406['hzGIz'],_0x29a406[_0x38fa52(0x131)],_0x29a406[_0x38fa52(0x109)]]);continue;case'1':this['global'][_0x38fa52(0xee)]=helper['nestedKeyValue'](_0x5a881c,[_0x29a406[_0x38fa52(0xf5)],_0x29a406['kiYXw'],_0x29a406['QNMHl']]);continue;case'2':this[_0x38fa52(0x12e)][_0x38fa52(0xd9)]=helper[_0x38fa52(0xf7)](_0x5a881c,[_0x29a406['hzGIz'],_0x29a406['kiYXw'],_0x29a406[_0x38fa52(0xea)]]);continue;case'3':this[_0x38fa52(0x12e)][_0x38fa52(0x119)]=async()=>{const _0x2c9e0b=_0x38fa52;await this['global'][_0x2c9e0b(0xfc)][_0x2c9e0b(0x10b)](_0x29a406['cfQSP']);};continue;case'4':this['global'][_0x38fa52(0xde)]=helper[_0x38fa52(0x129)](this[_0x38fa52(0xfa)][_0x38fa52(0x115)]);continue;case'5':helper[_0x38fa52(0x129)](this[_0x38fa52(0xfa)][_0x38fa52(0x120)])?this[_0x38fa52(0x12e)][_0x38fa52(0xeb)]=!![]:this[_0x38fa52(0x12e)][_0x38fa52(0xeb)]=![];continue;case'6':this[_0x38fa52(0x12e)][_0x38fa52(0x113)]=_0x29a406[_0x38fa52(0x12d)](require,_0x29a406[_0x38fa52(0x12a)])[_0x38fa52(0xfb)]({...this[_0x38fa52(0xfa)],'capability':this[_0x38fa52(0x110)]||{}},this,testhubUtils[_0x38fa52(0xe4)]());continue;case'7':this[_0x38fa52(0x12e)]['__drivers']=[];continue;}break;}}}async[a16_0x5a3e5a(0x112)](){const _0x35cf3d=a16_0x5a3e5a;_seleniumWebdriver2&&(await helper[_0x35cf3d(0x144)](this[_0x35cf3d(0x12e)]['__driversArray']),this[_0x35cf3d(0x12e)][_0x35cf3d(0x113)][_0x35cf3d(0x147)]=originalBuilder),await RequestQueueHandler[_0x35cf3d(0xe0)]()[_0x35cf3d(0x126)]();}async['setup'](){}async['handleTestEvent'](_0x27fbe2,_0x2a6629){const _0x46100f=a16_0x5a3e5a,_0x4eac3d={};_0x4eac3d[_0x46100f(0xdf)]=function(_0x988790,_0x427e38){return _0x988790===_0x427e38;},_0x4eac3d['QJUBX']=_0x46100f(0x13d),_0x4eac3d[_0x46100f(0xe3)]=function(_0x5bb5aa,_0x36e420){return _0x5bb5aa===_0x36e420;},_0x4eac3d[_0x46100f(0x137)]=_0x46100f(0x133),_0x4eac3d['xPZRG']=function(_0x242b96,_0x21ad9a){return _0x242b96===_0x21ad9a;},_0x4eac3d[_0x46100f(0x135)]=_0x46100f(0x11a),_0x4eac3d['nBxyY']=_0x46100f(0xe5),_0x4eac3d['fQlnx']=function(_0x5d2066,_0x45f04c){return _0x5d2066===_0x45f04c;},_0x4eac3d[_0x46100f(0x121)]=_0x46100f(0x11e),_0x4eac3d[_0x46100f(0x134)]=function(_0x1262f2,_0x424021){return _0x1262f2===_0x424021;},_0x4eac3d[_0x46100f(0xff)]=_0x46100f(0x112);const _0x8800d3=_0x4eac3d,{name:_0x3bd424}=_0x27fbe2;if(_0x8800d3[_0x46100f(0xdf)](_0x3bd424,_0x8800d3['QJUBX'])){this[_0x46100f(0x12e)][_0x46100f(0xf1)]=_0x27fbe2[_0x46100f(0x11b)];if(_0x8800d3[_0x46100f(0xe3)](this[_0x46100f(0x12e)][_0x46100f(0x11d)],!![])){const _0x41b47f=_0x27fbe2[_0x46100f(0x11b)]['name'];logger[_0x46100f(0x102)](_0x46100f(0x125)+_0x41b47f),_0x27fbe2[_0x46100f(0x11b)][_0x46100f(0x130)]=_0x8800d3[_0x46100f(0x137)];}}if(this[_0x46100f(0xf6)]&&_0x8800d3[_0x46100f(0xec)](_0x3bd424,_0x8800d3['iYqtf']))try{const _0x1d6345=_0x27fbe2[_0x46100f(0x11b)][_0x46100f(0x118)][_0x46100f(0x128)](_0x8800d3[_0x46100f(0xf2)]),_0x4e55c5=_0x27fbe2['test']['errors'];await this[_0x46100f(0xf6)]['onTestDone'](_0x1d6345,_0x4e55c5);const _0x2f01cd=await this[_0x46100f(0xf6)][_0x46100f(0x13a)]();_0x8800d3[_0x46100f(0xf0)](this[_0x46100f(0x12e)][_0x46100f(0x11d)],![])&&_0x8800d3[_0x46100f(0xe3)](_0x2f01cd,!![])&&(this[_0x46100f(0x12e)][_0x46100f(0x11d)]=!![]);}catch(_0x40f463){logger['debug'](_0x8800d3[_0x46100f(0x121)],_0x40f463['message']);}_0x8800d3[_0x46100f(0x134)](_0x3bd424,_0x8800d3['TlDop'])&&(this[_0x46100f(0xf6)]&&this[_0x46100f(0xf6)][_0x46100f(0x119)]());}}module[a16_0x5a3e5a(0xdd)]=CustomEnvironment;