browserstack-node-sdk 1.53.0 → 1.53.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a10_0x53d4e0=a10_0x4abc;(function(_0x3c9db3,_0x24ab85){const _0x45ac6f=a10_0x4abc,_0x3c5958=_0x3c9db3();while(!![]){try{const _0xceef0a=parseInt(_0x45ac6f(0x154))/0x1*(-parseInt(_0x45ac6f(0x182))/0x2)+parseInt(_0x45ac6f(0x181))/0x3+parseInt(_0x45ac6f(0x177))/0x4*(parseInt(_0x45ac6f(0x170))/0x5)+-parseInt(_0x45ac6f(0x183))/0x6+parseInt(_0x45ac6f(0x161))/0x7+-parseInt(_0x45ac6f(0x17b))/0x8*(parseInt(_0x45ac6f(0x15a))/0x9)+-parseInt(_0x45ac6f(0x17e))/0xa*(parseInt(_0x45ac6f(0x17a))/0xb);if(_0xceef0a===_0x24ab85)break;else _0x3c5958['push'](_0x3c5958['shift']());}catch(_0x2c5985){_0x3c5958['push'](_0x3c5958['shift']());}}}(a10_0x3e8b,0x2601e));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x53d4e0(0x186)),setKeepAlive=require(a10_0x53d4e0(0x17c)),cucumberModule=requireModule(a10_0x53d4e0(0x166),'cucumber'),logger=require(a10_0x53d4e0(0x159))['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x53d4e0(0x158)],After=cucumberModule[a10_0x53d4e0(0x178)],configuration=process[a10_0x53d4e0(0x16a)][a10_0x53d4e0(0x165)];if(configuration!==undefined){const config=JSON[a10_0x53d4e0(0x164)](configuration);isTrue(config[a10_0x53d4e0(0x15b)])&&(global[a10_0x53d4e0(0x15c)]=!![]),global[a10_0x53d4e0(0x163)]=isTrue(config['skipSessionStatus']),require(a10_0x53d4e0(0x15e))['browserstackAgentV2'](config),global[a10_0x53d4e0(0x18c)]=config[a10_0x53d4e0(0x167)]||{};}global[a10_0x53d4e0(0x160)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a10_0x53d4e0(0x156)]=_0x5c9954=>{const _0x3417c2=a10_0x53d4e0,_0x5499d7={'fzGIk':function(_0x43e05d,_0x243446){return _0x43e05d(_0x243446);}};global['__timeout']=_0x5c9954,_0x5499d7[_0x3417c2(0x173)](__setDefaultTimeout,_0x5c9954);};const a10_0x4831d4={};a10_0x4831d4['name']=a10_0x53d4e0(0x180),Before(a10_0x4831d4,function(){const _0x4de985=a10_0x53d4e0,_0x2dbc95={};_0x2dbc95[_0x4de985(0x155)]=_0x4de985(0x171);const _0x52cca8=_0x2dbc95;logger[_0x4de985(0x184)](_0x52cca8['QTKXv']),global[_0x4de985(0x175)]=[];});function a10_0x3e8b(){const _0xd90788=['platformCaps','passed','NZOQu','env','result','dudmI','UmHeX','__driver','VDHBG','119465xHqXtf','Inside\x20browserstack\x20Before','toLowerCase','fzGIk','then','__error_messages__','RyQpX','48SGntPA','After','qdGKM','485276bTgIDY','336912UpxOQg','../../helpers/setKeepAlive','\x20|\x20','10LuJOHa','pickle','bstack','296175OaCmSq','200294UUJMTh','1240008tPWjqk','debug','session_','../../helpers/helper','KhViG','ejKVY','name','join','aLWBt','__platformCaps','executeScript','2UyeuLz','QTKXv','setDefaultTimeout','Error:\x20setting\x20status\x20at\x20After:\x20','Before','../../helpers/logger','18zrhZKH','skipSessionName','__skipSessionName','failed','../../index','Inside\x20browserstack\x20After','__timeout','2138801UFVUTM','\x22}}','__skipSessionStatus','parse','CONFIG','cucumber/lib/index.js'];a10_0x3e8b=function(){return _0xd90788;};return a10_0x3e8b();}const a10_0x3fba48={};function a10_0x4abc(_0xd037cd,_0x3ef6f6){const _0x3e8b84=a10_0x3e8b();return a10_0x4abc=function(_0x4abc4a,_0x1b3107){_0x4abc4a=_0x4abc4a-0x153;let _0x346f5b=_0x3e8b84[_0x4abc4a];return _0x346f5b;},a10_0x4abc(_0xd037cd,_0x3ef6f6);}a10_0x3fba48['name']=a10_0x53d4e0(0x180),a10_0x3fba48['timeout']=0x2710,After(a10_0x3fba48,function(_0x2b27c3,_0x26e302){const _0x5c07c3=a10_0x53d4e0,_0x745c15={'ejKVY':function(_0x3f686c,_0x49d459){return _0x3f686c===_0x49d459;},'NZOQu':_0x5c07c3(0x15d),'VDHBG':function(_0x42f2db,_0x594f01,_0x3d0043,_0x15e8fe){return _0x42f2db(_0x594f01,_0x3d0043,_0x15e8fe);},'UmHeX':_0x5c07c3(0x17d),'RyQpX':function(_0x230c17,_0x1634c4,_0x4e59a2){return _0x230c17(_0x1634c4,_0x4e59a2);},'dudmI':_0x5c07c3(0x168),'aLWBt':function(_0x2dfaa5){return _0x2dfaa5();},'KhViG':function(_0x408ad0,_0x41507b){return _0x408ad0(_0x41507b);},'qdGKM':_0x5c07c3(0x15f)};logger['debug'](_0x745c15[_0x5c07c3(0x179)]),new Promise(async(_0xa98db4,_0x14d3a1)=>{const _0x367b30=_0x5c07c3;let _0xa7edfc=![];try{await global['__driver'][_0x367b30(0x185)],_0xa7edfc=!![],!global[_0x367b30(0x15c)]&&await global['__driver'][_0x367b30(0x153)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x2b27c3[_0x367b30(0x17f)][_0x367b30(0x189)]+_0x367b30(0x162)),_0x745c15[_0x367b30(0x188)](_0x2b27c3[_0x367b30(0x16b)]['status'][_0x367b30(0x172)](),_0x745c15[_0x367b30(0x169)])?await _0x745c15[_0x367b30(0x16f)](markSessionStatus,global[_0x367b30(0x16e)],_0x745c15[_0x367b30(0x169)],global[_0x367b30(0x175)][_0x367b30(0x18a)](_0x745c15[_0x367b30(0x16d)])):await _0x745c15[_0x367b30(0x176)](markSessionStatus,global[_0x367b30(0x16e)],_0x745c15[_0x367b30(0x16c)]);}catch(_0x19128c){logger['debug'](_0x367b30(0x157)+_0x19128c);}if(_0xa7edfc)try{await global[_0x367b30(0x16e)]['initQuit'](),_0x745c15['aLWBt'](_0xa98db4);}catch(_0x516c56){logger[_0x367b30(0x184)]('Error:\x20quiting\x20at\x20After:\x20'+_0x516c56),_0x745c15[_0x367b30(0x187)](_0x14d3a1,_0x516c56);}else _0x745c15[_0x367b30(0x18b)](_0x14d3a1);})[_0x5c07c3(0x174)](()=>_0x26e302());});
1
+ const a10_0x10a0d0=a10_0x56cb;(function(_0x56999f,_0x391532){const _0x33edaa=a10_0x56cb,_0x535c0e=_0x56999f();while(!![]){try{const _0x2cc6c1=-parseInt(_0x33edaa(0x97))/0x1*(parseInt(_0x33edaa(0x87))/0x2)+-parseInt(_0x33edaa(0xb9))/0x3*(-parseInt(_0x33edaa(0xa1))/0x4)+-parseInt(_0x33edaa(0xa7))/0x5+-parseInt(_0x33edaa(0x91))/0x6*(-parseInt(_0x33edaa(0x98))/0x7)+-parseInt(_0x33edaa(0xb8))/0x8*(-parseInt(_0x33edaa(0x88))/0x9)+parseInt(_0x33edaa(0xac))/0xa*(parseInt(_0x33edaa(0xb3))/0xb)+-parseInt(_0x33edaa(0x9e))/0xc;if(_0x2cc6c1===_0x391532)break;else _0x535c0e['push'](_0x535c0e['shift']());}catch(_0x2086a4){_0x535c0e['push'](_0x535c0e['shift']());}}}(a10_0x5a47,0x3bdf0));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x10a0d0(0xa4)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule('cucumber/lib/index.js','cucumber'),logger=require(a10_0x10a0d0(0x9d))['winstonLogger'];modifyCommand(),setKeepAlive();function a10_0x56cb(_0x2e0e76,_0x4a1628){const _0x5a47fb=a10_0x5a47();return a10_0x56cb=function(_0x56cb13,_0x531773){_0x56cb13=_0x56cb13-0x85;let _0x5c9a98=_0x5a47fb[_0x56cb13];return _0x5c9a98;},a10_0x56cb(_0x2e0e76,_0x4a1628);}const Before=cucumberModule[a10_0x10a0d0(0xa2)],After=cucumberModule[a10_0x10a0d0(0xa5)],configuration=process['env'][a10_0x10a0d0(0x8f)];function a10_0x5a47(){const _0x574536=['1068DEqTzq','Before','parse','../../helpers/helper','After','initQuit','428465gEGnDL','__skipSessionStatus','debug','AGKfR','\x20|\x20','141490GGKjaM','UsVrJ','setDefaultTimeout','toLowerCase','zYhyW','__driver','passed','77tDJRvR','platformCaps','Inside\x20browserstack\x20After','bstack','RjyCS','24iiPCNm','4200ARXIOc','result','Error:\x20quiting\x20at\x20After:\x20','Inside\x20browserstack\x20Before','__timeout','join','6938YjMnYS','981693ERXnmm','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','__skipSessionName','__error_messages__','\x22}}','IWAdU','ovgPG','CONFIG','browserstackAgentV2','457518rQHKlr','timeout','then','PkPXB','IbPhh','failed','96xeJvJj','7keYWyw','xgcvU','pickle','status','session_','../../helpers/logger','2548536mrlIPC','name','rDhYI'];a10_0x5a47=function(){return _0x574536;};return a10_0x5a47();}if(configuration!==undefined){const config=JSON[a10_0x10a0d0(0xa3)](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x10a0d0(0x8a)]=!![]),global[a10_0x10a0d0(0xa8)]=isTrue(config['skipSessionStatus']),require('../../index')[a10_0x10a0d0(0x90)](config),global['__platformCaps']=config[a10_0x10a0d0(0xb4)]||{};}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a10_0x10a0d0(0xae)];cucumberModule['setDefaultTimeout']=_0x3e895e=>{const _0x556e5e=a10_0x10a0d0,_0x4a5bda={'PkPXB':function(_0xf6cac,_0x42d103){return _0xf6cac(_0x42d103);}};global[_0x556e5e(0x85)]=_0x3e895e,_0x4a5bda[_0x556e5e(0x94)](__setDefaultTimeout,_0x3e895e);};const a10_0x775371={};a10_0x775371[a10_0x10a0d0(0x9f)]='bstack',Before(a10_0x775371,function(){const _0x449bb6=a10_0x10a0d0,_0x2d2659={};_0x2d2659['xgcvU']=_0x449bb6(0xbc);const _0x18b799=_0x2d2659;logger[_0x449bb6(0xa9)](_0x18b799[_0x449bb6(0x99)]),global['__error_messages__']=[];});const a10_0x5e3cf4={};a10_0x5e3cf4[a10_0x10a0d0(0x9f)]=a10_0x10a0d0(0xb6),a10_0x5e3cf4[a10_0x10a0d0(0x92)]=0x2710,After(a10_0x5e3cf4,function(_0x7662f9,_0x48fa6){const _0x5242c1=a10_0x10a0d0,_0x19435b={'rDhYI':function(_0x4d874d,_0x56e622){return _0x4d874d===_0x56e622;},'UsVrJ':_0x5242c1(0x96),'IWAdU':function(_0x5a1fb9,_0x4fed24,_0x295528,_0x22d17a){return _0x5a1fb9(_0x4fed24,_0x295528,_0x22d17a);},'ovgPG':_0x5242c1(0xab),'AGKfR':function(_0x4727e8,_0x48e456,_0xe5d8f5){return _0x4727e8(_0x48e456,_0xe5d8f5);},'zYhyW':_0x5242c1(0xb2),'RjyCS':function(_0x27988b){return _0x27988b();},'PEBEn':function(_0x71adc2,_0x1dedd9){return _0x71adc2(_0x1dedd9);},'IbPhh':_0x5242c1(0xb5)};logger['debug'](_0x19435b[_0x5242c1(0x95)]),new Promise(async(_0x3df933,_0x25bc47)=>{const _0x3f60cf=_0x5242c1;let _0x15bf5b=![];try{await global[_0x3f60cf(0xb1)][_0x3f60cf(0x9c)],_0x15bf5b=!![],!global[_0x3f60cf(0x8a)]&&await global[_0x3f60cf(0xb1)]['executeScript'](_0x3f60cf(0x89)+_0x7662f9[_0x3f60cf(0x9a)][_0x3f60cf(0x9f)]+_0x3f60cf(0x8c)),_0x19435b[_0x3f60cf(0xa0)](_0x7662f9[_0x3f60cf(0xba)][_0x3f60cf(0x9b)][_0x3f60cf(0xaf)](),_0x19435b[_0x3f60cf(0xad)])?await _0x19435b[_0x3f60cf(0x8d)](markSessionStatus,global[_0x3f60cf(0xb1)],_0x19435b[_0x3f60cf(0xad)],global[_0x3f60cf(0x8b)][_0x3f60cf(0x86)](_0x19435b[_0x3f60cf(0x8e)])):await _0x19435b[_0x3f60cf(0xaa)](markSessionStatus,global[_0x3f60cf(0xb1)],_0x19435b[_0x3f60cf(0xb0)]);}catch(_0x30a6f0){logger[_0x3f60cf(0xa9)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x30a6f0);}if(_0x15bf5b)try{await global[_0x3f60cf(0xb1)][_0x3f60cf(0xa6)](),_0x19435b[_0x3f60cf(0xb7)](_0x3df933);}catch(_0x417e62){logger[_0x3f60cf(0xa9)](_0x3f60cf(0xbb)+_0x417e62),_0x19435b['PEBEn'](_0x25bc47,_0x417e62);}else _0x19435b[_0x3f60cf(0xb7)](_0x25bc47);})[_0x5242c1(0x93)](()=>_0x48fa6());});
@@ -1 +1 @@
1
- const a11_0x271abb=a11_0x529a;function a11_0x547e(){const _0x3de815=['381994lRejbX','../utils/constants','18414930mAwHcL','3991860HBUGdk','3KUzexj','9oGyNxi','6855312TWQuar','@cucumber/cucumber/lib/index.js','cucumber','3171880mqYoyl','3558420XgmdKu','6fqrYBN','setDefaultTimeout','3822504PQKWaS'];a11_0x547e=function(){return _0x3de815;};return a11_0x547e();}function a11_0x529a(_0x4f5680,_0x2e7ed8){const _0x547e38=a11_0x547e();return a11_0x529a=function(_0x529ae0,_0x355cc6){_0x529ae0=_0x529ae0-0x153;let _0x427efe=_0x547e38[_0x529ae0];return _0x427efe;},a11_0x529a(_0x4f5680,_0x2e7ed8);}(function(_0x569c97,_0x20ff21){const _0x4daea3=a11_0x529a,_0x2ce00b=_0x569c97();while(!![]){try{const _0x172881=-parseInt(_0x4daea3(0x157))/0x1*(parseInt(_0x4daea3(0x154))/0x2)+-parseInt(_0x4daea3(0x15b))/0x3*(-parseInt(_0x4daea3(0x153))/0x4)+-parseInt(_0x4daea3(0x15a))/0x5+-parseInt(_0x4daea3(0x15d))/0x6+parseInt(_0x4daea3(0x156))/0x7+parseInt(_0x4daea3(0x160))/0x8+parseInt(_0x4daea3(0x15c))/0x9*(parseInt(_0x4daea3(0x159))/0xa);if(_0x172881===_0x20ff21)break;else _0x2ce00b['push'](_0x2ce00b['shift']());}catch(_0x36fc7d){_0x2ce00b['push'](_0x2ce00b['shift']());}}}(a11_0x547e,0x8f3fd));const {requireModule}=require('../../helpers/helper'),constants=require(a11_0x271abb(0x158));;let cucumberModule=null;try{cucumberModule=requireModule(a11_0x271abb(0x15e),'@cucumber/cucumber');}catch(a11_0x2c780e){cucumberModule=requireModule('cucumber/lib/index.js',a11_0x271abb(0x15f));}cucumberModule[a11_0x271abb(0x155)](constants['BSTACK_DELTA']+global['__timeout']*0x1);
1
+ function a11_0x1a1c(_0x2ce661,_0x1d953e){const _0x424c66=a11_0x424c();return a11_0x1a1c=function(_0x1a1ca6,_0x2c397c){_0x1a1ca6=_0x1a1ca6-0x170;let _0x152b7d=_0x424c66[_0x1a1ca6];return _0x152b7d;},a11_0x1a1c(_0x2ce661,_0x1d953e);}const a11_0x3fa817=a11_0x1a1c;(function(_0x1ec49a,_0x4e3f36){const _0x7ec14=a11_0x1a1c,_0x51fcf6=_0x1ec49a();while(!![]){try{const _0x503386=parseInt(_0x7ec14(0x180))/0x1*(parseInt(_0x7ec14(0x173))/0x2)+-parseInt(_0x7ec14(0x171))/0x3+-parseInt(_0x7ec14(0x17b))/0x4+parseInt(_0x7ec14(0x181))/0x5*(-parseInt(_0x7ec14(0x178))/0x6)+parseInt(_0x7ec14(0x176))/0x7+-parseInt(_0x7ec14(0x177))/0x8*(-parseInt(_0x7ec14(0x174))/0x9)+parseInt(_0x7ec14(0x179))/0xa;if(_0x503386===_0x4e3f36)break;else _0x51fcf6['push'](_0x51fcf6['shift']());}catch(_0x5ba608){_0x51fcf6['push'](_0x51fcf6['shift']());}}}(a11_0x424c,0x76be8));const {requireModule}=require(a11_0x3fa817(0x172)),constants=require('../utils/constants');;function a11_0x424c(){const _0x2922ad=['cucumber','setDefaultTimeout','5173miWlOM','3249615jIfZMm','BSTACK_DELTA','2178636SKUxTJ','../../helpers/helper','358clQZkx','9bxEJud','@cucumber/cucumber','2656584OmJggH','1352584ttYnFo','6PbBCig','9569840NgFKeG','__timeout','2276100mbAGEM','cucumber/lib/index.js','@cucumber/cucumber/lib/index.js'];a11_0x424c=function(){return _0x2922ad;};return a11_0x424c();}let cucumberModule=null;try{cucumberModule=requireModule(a11_0x3fa817(0x17d),a11_0x3fa817(0x175));}catch(a11_0x5a79c8){cucumberModule=requireModule(a11_0x3fa817(0x17c),a11_0x3fa817(0x17e));}cucumberModule[a11_0x3fa817(0x17f)](constants[a11_0x3fa817(0x170)]+global[a11_0x3fa817(0x17a)]*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a12_0xedd122=a12_0x4b4e;(function(_0xc994bf,_0x5efc10){const _0x4be720=a12_0x4b4e,_0x54073a=_0xc994bf();while(!![]){try{const _0x2f867e=-parseInt(_0x4be720(0xcd))/0x1+-parseInt(_0x4be720(0xa8))/0x2+-parseInt(_0x4be720(0xa5))/0x3*(parseInt(_0x4be720(0xbe))/0x4)+parseInt(_0x4be720(0xab))/0x5+-parseInt(_0x4be720(0xb6))/0x6+-parseInt(_0x4be720(0xb2))/0x7+-parseInt(_0x4be720(0xa3))/0x8*(-parseInt(_0x4be720(0x9b))/0x9);if(_0x2f867e===_0x5efc10)break;else _0x54073a['push'](_0x54073a['shift']());}catch(_0x5b5ec0){_0x54073a['push'](_0x54073a['shift']());}}}(a12_0xd241,0x286bd));function a12_0x4b4e(_0x1e1c13,_0x4e78db){const _0xd24196=a12_0xd241();return a12_0x4b4e=function(_0x4b4e90,_0x328e08){_0x4b4e90=_0x4b4e90-0x8f;let _0x2dddf1=_0xd24196[_0x4b4e90];return _0x2dddf1;},a12_0x4b4e(_0x1e1c13,_0x4e78db);}function a12_0xd241(){const _0x338021=['bstack-accesskey','aWFls','setProxySettings','split','trim','1622008kHKcqt','join','3plhweQ','HuSiy','../../helpers/logger','357524mpgTxr','iyBFZ','url','755500dVwbqV','integrations-repeater','footer','ojJQB','lyZUE','invalid','SuDXu','601909GRbxWM','XJhyP','browserStackLocalOptions','qXxNY','77052RGXqLT','qpAEs','protocol','options','usage','winstonLogger','describe','undefined','141704ZNkwiV','type','exports','error','tbjqr','config','CqHfF','string','kzwBA','bstackAccessKey','Hosts\x20not\x20valid','iYmfG','help','port','connect','78020ANYsVt','setupBrowserstackLocal','demandOption','bstackAccesskey','../../helpers/BrowserStackSetup','https:','hostname','Espmx','missing','hosts','jqVQr','BrowserStack\x20access\x20key\x20missing.','demandCommand','Connection\x20established\x20successfully.','443','command','Failed\x20to\x20establish\x20connection.','replace','MvEsE','accessKey','18BpdfOt','root','info'];a12_0xd241=function(){return _0x338021;};return a12_0xd241();}const {default:BrowserStackSetup}=require(a12_0xedd122(0xd1)),logger=require(a12_0xedd122(0xa7))[a12_0xedd122(0xbb)],{URL}=require(a12_0xedd122(0xaa)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x5bd507){const _0x169b2f=a12_0xedd122;return _0x5bd507[_0x169b2f(0xa1)](',')['every'](_0x2ca6ca=>{const _0x464210=_0x169b2f;try{new URL(_0x2ca6ca[_0x464210(0xa2)]());}catch(_0x4931a8){return![];}return!![];});},parseOnPremHosts=function(_0x34ce8b){const _0x2ca593=a12_0xedd122,_0x53c52f={};_0x53c52f[_0x2ca593(0xb1)]=function(_0x40547a,_0x44a0fd){return _0x40547a===_0x44a0fd;},_0x53c52f['MvEsE']=_0x2ca593(0xd2),_0x53c52f[_0x2ca593(0xc6)]=_0x2ca593(0x95),_0x53c52f[_0x2ca593(0xc2)]='https';const _0x500bc9=_0x53c52f;return _0x34ce8b[_0x2ca593(0xa1)](',')['map'](_0x2ddcff=>{const _0x27a3b6=_0x2ca593,_0x1d880c=new URL(_0x2ddcff['trim']()),_0x44c3e8=_0x1d880c[_0x27a3b6(0xd3)],_0x3c0ec9=_0x1d880c[_0x27a3b6(0xcb)]||(_0x500bc9['SuDXu'](_0x1d880c[_0x27a3b6(0xb8)],_0x500bc9[_0x27a3b6(0x99)])?_0x500bc9['kzwBA']:'80'),_0x3ff271=_0x1d880c['protocol'][_0x27a3b6(0x98)](':',''),_0xce36c4=_0x500bc9[_0x27a3b6(0xb1)](_0x3ff271,_0x500bc9[_0x27a3b6(0xc2)])?0x1:0x0;return _0x44c3e8+','+_0x3c0ec9+','+_0xce36c4;});},connectCommandBuilder=function(_0x36e75f){const _0x2ec661=a12_0xedd122,_0x350797={};_0x350797[_0x2ec661(0xa6)]=_0x2ec661(0xc5);const _0xde6c1=_0x350797,_0x28f581={};_0x28f581[_0x2ec661(0xbc)]=HELP_MESSAGES[_0x2ec661(0xb9)]['bstackAccessKey'],_0x28f581[_0x2ec661(0xbf)]=_0xde6c1[_0x2ec661(0xa6)];const _0x4b0960={};_0x4b0960[_0x2ec661(0xbc)]=HELP_MESSAGES[_0x2ec661(0xb9)][_0x2ec661(0x90)],_0x4b0960[_0x2ec661(0xbf)]=_0xde6c1['HuSiy'],_0x4b0960[_0x2ec661(0xcf)]=!![];const _0x11636a={};return _0x11636a[_0x2ec661(0x9e)]=_0x28f581,_0x11636a['hosts']=_0x4b0960,_0x36e75f[_0x2ec661(0xb9)](_0x11636a);},connectCommandHandler=async function(_0x12004f){const _0x18182f=a12_0xedd122,_0x5bd0bb={'qXxNY':'integrations','iYmfG':function(_0x5ac4d0,_0xe80dc9){return _0x5ac4d0===_0xe80dc9;},'lyZUE':_0x18182f(0xbd),'Espmx':_0x18182f(0x92),'jqVQr':'Integration\x20hosts\x20missing.','CqHfF':function(_0x3d3a91,_0x4105fa){return _0x3d3a91(_0x4105fa);},'aWFls':_0x18182f(0xc8),'gmAqi':function(_0x17d486,_0x3ab470){return _0x17d486(_0x3ab470);},'qpAEs':_0x18182f(0xac),'ojJQB':_0x18182f(0x94),'AiFyU':_0x18182f(0x97)};try{const _0x3bb636=new BrowserStackSetup(_0x12004f,_0x5bd0bb[_0x18182f(0xb5)]);_0x12004f[_0x18182f(0xd0)]&&(_0x3bb636['config']['accessKey']=_0x12004f[_0x18182f(0xd0)]);if(_0x5bd0bb[_0x18182f(0xc9)](typeof _0x3bb636['config'][_0x18182f(0x9a)],_0x5bd0bb['lyZUE'])){logger['error'](_0x5bd0bb[_0x18182f(0xd4)]);throw new Error(ERROR_MESSAGES[_0x18182f(0xc7)][_0x18182f(0x8f)]);}const _0x250c50=_0x12004f[_0x18182f(0x90)];if(_0x5bd0bb[_0x18182f(0xc9)](typeof _0x250c50,_0x5bd0bb[_0x18182f(0xaf)])){logger[_0x18182f(0xc1)](_0x5bd0bb[_0x18182f(0x91)]);throw new Error(ERROR_MESSAGES['hosts'][_0x18182f(0x8f)]);}if(!_0x5bd0bb[_0x18182f(0xc4)](validHosts,_0x250c50)){logger[_0x18182f(0xc1)](_0x5bd0bb[_0x18182f(0x9f)]);throw new Error(ERROR_MESSAGES[_0x18182f(0x90)][_0x18182f(0xb0)]);}const _0x40d907=_0x5bd0bb['gmAqi'](parseOnPremHosts,_0x250c50);_0x3bb636[_0x18182f(0xc3)]['browserstackLocal']=!![],_0x3bb636[_0x18182f(0xc3)][_0x18182f(0xb4)]['localIdentifier']=_0x5bd0bb[_0x18182f(0xb7)],_0x3bb636[_0x18182f(0xc3)][_0x18182f(0xb4)]['only']=_0x40d907[_0x18182f(0xa4)](','),helper[_0x18182f(0xa0)](_0x3bb636[_0x18182f(0xc3)]),await _0x3bb636[_0x18182f(0xce)](),logger[_0x18182f(0x9d)](_0x5bd0bb[_0x18182f(0xae)]);}catch(_0x584455){logger['error'](_0x5bd0bb['AiFyU']);throw new Error(_0x584455['toString']());}};function run(_0x3878b6){const _0x537d38=a12_0xedd122,_0x324c55={};_0x324c55[_0x537d38(0xb3)]=_0x537d38(0xcc),_0x324c55[_0x537d38(0xa9)]=_0x537d38(0xca);const _0x1948e6=_0x324c55;_0x3878b6[_0x537d38(0xba)](HELP_MESSAGES[_0x537d38(0x96)][_0x537d38(0x9c)])[_0x537d38(0x96)](_0x1948e6[_0x537d38(0xb3)],HELP_MESSAGES[_0x537d38(0x96)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x537d38(0x93)]()[_0x537d38(0xca)](_0x1948e6[_0x537d38(0xa9)])['epilogue'](HELP_MESSAGES[_0x537d38(0x96)][_0x537d38(0xad)]);}module[a12_0xedd122(0xc0)]=run;
2
+ 'use strict';function a12_0x1b26(){const _0x581e92=['MVmiI','error','443','describe','config','6JpyiEo','split','./constants','join','info','map','browserStackLocalOptions','3079125qmrXNi','command','localIdentifier','only','accessKey','BrowserStack\x20access\x20key\x20missing.','asIKC','3548dYgSkn','KlGDt','rrMhC','setProxySettings','2625091ZHloho','setupBrowserstackLocal','string','integrations','10MMWMCA','https','kzzVH','lGVmo','2054151vLVcyV','OagyJ','flokX','toString','10QOXYqM','JhAac','integrations-repeater','help','bstackAccesskey','sPXFe','90KPEeNT','type','usage','https:','Hosts\x20not\x20valid','hostname','Connection\x20established\x20successfully.','KgIlQ','exports','demandCommand','sOGxh','protocol','winstonLogger','root','footer','demandOption','2136750TEhtNP','undefined','bstackAccessKey','connect','trim','41843hQWnHU','RaaYE','hosts','epilogue','invalid','replace','ARHqK','../../helpers/logger','aVnSd','5728224NcOFfr','missing'];a12_0x1b26=function(){return _0x581e92;};return a12_0x1b26();}const a12_0x230c72=a12_0x1d5b;(function(_0x133f70,_0x35b175){const _0x3fffdb=a12_0x1d5b,_0x5a1c90=_0x133f70();while(!![]){try{const _0x50f87d=parseInt(_0x3fffdb(0x1d7))/0x1*(parseInt(_0x3fffdb(0x1bc))/0x2)+-parseInt(_0x3fffdb(0x1c2))/0x3*(parseInt(_0x3fffdb(0x1f5))/0x4)+parseInt(_0x3fffdb(0x1ee))/0x5+parseInt(_0x3fffdb(0x1e7))/0x6*(parseInt(_0x3fffdb(0x1f9))/0x7)+-parseInt(_0x3fffdb(0x1e0))/0x8+-parseInt(_0x3fffdb(0x201))/0x9*(parseInt(_0x3fffdb(0x1fd))/0xa)+parseInt(_0x3fffdb(0x1d2))/0xb;if(_0x50f87d===_0x35b175)break;else _0x5a1c90['push'](_0x5a1c90['shift']());}catch(_0x1132fd){_0x5a1c90['push'](_0x5a1c90['shift']());}}}(a12_0x1b26,0x67602));function a12_0x1d5b(_0x2eec75,_0x640f12){const _0x1b2653=a12_0x1b26();return a12_0x1d5b=function(_0x1d5bad,_0x13dff7){_0x1d5bad=_0x1d5bad-0x1bb;let _0x3c03f1=_0x1b2653[_0x1d5bad];return _0x3c03f1;},a12_0x1d5b(_0x2eec75,_0x640f12);}const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a12_0x230c72(0x1de))[a12_0x230c72(0x1ce)],{URL}=require('url'),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x230c72(0x1e9)),validHosts=function(_0x1711f9){const _0x6a16a=a12_0x230c72;return _0x1711f9[_0x6a16a(0x1e8)](',')['every'](_0x1878b8=>{const _0x1d55bc=_0x6a16a;try{new URL(_0x1878b8[_0x1d55bc(0x1d6)]());}catch(_0x40bc24){return![];}return!![];});},parseOnPremHosts=function(_0x31a7e2){const _0x117531=a12_0x230c72,_0x3d5424={};_0x3d5424[_0x117531(0x203)]=function(_0x4f054d,_0x512ff7){return _0x4f054d===_0x512ff7;},_0x3d5424['KlGDt']=_0x117531(0x1c5),_0x3d5424[_0x117531(0x1e2)]=_0x117531(0x1e4),_0x3d5424[_0x117531(0x1df)]=function(_0x55f41a,_0x457d43){return _0x55f41a===_0x457d43;},_0x3d5424[_0x117531(0x1f7)]=_0x117531(0x1fe);const _0x18612f=_0x3d5424;return _0x31a7e2['split'](',')[_0x117531(0x1ec)](_0xd048cb=>{const _0x1d9f7d=_0x117531,_0x45aa3a=new URL(_0xd048cb[_0x1d9f7d(0x1d6)]()),_0x4248b4=_0x45aa3a[_0x1d9f7d(0x1c7)],_0xa3a3ae=_0x45aa3a['port']||(_0x18612f[_0x1d9f7d(0x203)](_0x45aa3a[_0x1d9f7d(0x1cd)],_0x18612f[_0x1d9f7d(0x1f6)])?_0x18612f[_0x1d9f7d(0x1e2)]:'80'),_0x528309=_0x45aa3a[_0x1d9f7d(0x1cd)][_0x1d9f7d(0x1dc)](':',''),_0x25ece7=_0x18612f[_0x1d9f7d(0x1df)](_0x528309,_0x18612f[_0x1d9f7d(0x1f7)])?0x1:0x0;return _0x4248b4+','+_0xa3a3ae+','+_0x25ece7;});},connectCommandBuilder=function(_0x53dde8){const _0x3330bb=a12_0x230c72,_0x2fdbfa={};_0x2fdbfa[_0x3330bb(0x1ff)]=_0x3330bb(0x1fb);const _0x3c9746=_0x2fdbfa,_0x5609fb={};_0x5609fb[_0x3330bb(0x1e5)]=HELP_MESSAGES['options'][_0x3330bb(0x1d4)],_0x5609fb[_0x3330bb(0x1c3)]=_0x3c9746[_0x3330bb(0x1ff)];const _0xdb622={};_0xdb622['describe']=HELP_MESSAGES['options'][_0x3330bb(0x1d9)],_0xdb622[_0x3330bb(0x1c3)]=_0x3c9746[_0x3330bb(0x1ff)],_0xdb622[_0x3330bb(0x1d1)]=!![];const _0x27447b={};return _0x27447b['bstack-accesskey']=_0x5609fb,_0x27447b[_0x3330bb(0x1d9)]=_0xdb622,_0x53dde8['options'](_0x27447b);},connectCommandHandler=async function(_0x263b75){const _0x662ad2=a12_0x230c72,_0x2d1de4={'JhAac':_0x662ad2(0x1fc),'OagyJ':function(_0x27b4d2,_0x1333e4){return _0x27b4d2===_0x1333e4;},'KgIlQ':_0x662ad2(0x1d3),'WJKvS':_0x662ad2(0x1f3),'lGVmo':'Integration\x20hosts\x20missing.','oeerU':function(_0x2f8630,_0x5ab098){return _0x2f8630(_0x5ab098);},'sPXFe':_0x662ad2(0x1c6),'dspJO':function(_0x3b4e48,_0x5a7fb9){return _0x3b4e48(_0x5a7fb9);},'asIKC':_0x662ad2(0x1be),'sOGxh':_0x662ad2(0x1c8),'DLPBo':'Failed\x20to\x20establish\x20connection.'};try{const _0x3d42cd=new BrowserStackSetup(_0x263b75,_0x2d1de4[_0x662ad2(0x1bd)]);_0x263b75[_0x662ad2(0x1c0)]&&(_0x3d42cd[_0x662ad2(0x1e6)]['accessKey']=_0x263b75[_0x662ad2(0x1c0)]);if(_0x2d1de4[_0x662ad2(0x202)](typeof _0x3d42cd[_0x662ad2(0x1e6)][_0x662ad2(0x1f2)],_0x2d1de4[_0x662ad2(0x1c9)])){logger[_0x662ad2(0x1e3)](_0x2d1de4['WJKvS']);throw new Error(ERROR_MESSAGES[_0x662ad2(0x1d4)][_0x662ad2(0x1e1)]);}const _0x2a4691=_0x263b75['hosts'];if(_0x2d1de4[_0x662ad2(0x202)](typeof _0x2a4691,_0x2d1de4[_0x662ad2(0x1c9)])){logger[_0x662ad2(0x1e3)](_0x2d1de4[_0x662ad2(0x200)]);throw new Error(ERROR_MESSAGES['hosts'][_0x662ad2(0x1e1)]);}if(!_0x2d1de4['oeerU'](validHosts,_0x2a4691)){logger['error'](_0x2d1de4[_0x662ad2(0x1c1)]);throw new Error(ERROR_MESSAGES[_0x662ad2(0x1d9)][_0x662ad2(0x1db)]);}const _0xbb4599=_0x2d1de4['dspJO'](parseOnPremHosts,_0x2a4691);_0x3d42cd['config']['browserstackLocal']=!![],_0x3d42cd['config'][_0x662ad2(0x1ed)][_0x662ad2(0x1f0)]=_0x2d1de4[_0x662ad2(0x1f4)],_0x3d42cd['config']['browserStackLocalOptions'][_0x662ad2(0x1f1)]=_0xbb4599[_0x662ad2(0x1ea)](','),helper[_0x662ad2(0x1f8)](_0x3d42cd['config']),await _0x3d42cd[_0x662ad2(0x1fa)](),logger[_0x662ad2(0x1eb)](_0x2d1de4[_0x662ad2(0x1cc)]);}catch(_0x332a7d){logger[_0x662ad2(0x1e3)](_0x2d1de4['DLPBo']);throw new Error(_0x332a7d[_0x662ad2(0x1bb)]());}};function run(_0x2ab229){const _0x121eed=a12_0x230c72,_0x5ea7a0={};_0x5ea7a0[_0x121eed(0x1dd)]=_0x121eed(0x1d5),_0x5ea7a0[_0x121eed(0x1d8)]=_0x121eed(0x1bf);const _0x27db51=_0x5ea7a0;_0x2ab229[_0x121eed(0x1c4)](HELP_MESSAGES[_0x121eed(0x1ef)][_0x121eed(0x1cf)])[_0x121eed(0x1ef)](_0x27db51[_0x121eed(0x1dd)],HELP_MESSAGES[_0x121eed(0x1ef)][_0x121eed(0x1d5)],connectCommandBuilder,connectCommandHandler)[_0x121eed(0x1cb)]()[_0x121eed(0x1bf)](_0x27db51[_0x121eed(0x1d8)])[_0x121eed(0x1da)](HELP_MESSAGES['command'][_0x121eed(0x1d0)]);}module[a12_0x230c72(0x1ca)]=run;
@@ -1 +1 @@
1
- var a13_0x28a86b=a13_0x3173;(function(_0x1e9e38,_0xe8f3fe){var _0x598e7e=a13_0x3173,_0x28958a=_0x1e9e38();while(!![]){try{var _0x4d4080=-parseInt(_0x598e7e(0x177))/0x1*(parseInt(_0x598e7e(0x175))/0x2)+-parseInt(_0x598e7e(0x179))/0x3*(-parseInt(_0x598e7e(0x17f))/0x4)+parseInt(_0x598e7e(0x186))/0x5+parseInt(_0x598e7e(0x187))/0x6+parseInt(_0x598e7e(0x17e))/0x7*(-parseInt(_0x598e7e(0x18a))/0x8)+-parseInt(_0x598e7e(0x17b))/0x9+parseInt(_0x598e7e(0x18c))/0xa;if(_0x4d4080===_0xe8f3fe)break;else _0x28958a['push'](_0x28958a['shift']());}catch(_0x3732c3){_0x28958a['push'](_0x28958a['shift']());}}}(a13_0x10cc,0x7b70e));var a13_0x3f84b1={};a13_0x3f84b1['bstackAccessKey']=a13_0x28a86b(0x184),a13_0x3f84b1[a13_0x28a86b(0x185)]='This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a13_0x42d5d4={};function a13_0x3173(_0x2cbc7a,_0x3c1cdd){var _0x10cccd=a13_0x10cc();return a13_0x3173=function(_0x317313,_0x52a074){_0x317313=_0x317313-0x175;var _0x24bbc4=_0x10cccd[_0x317313];return _0x24bbc4;},a13_0x3173(_0x2cbc7a,_0x3c1cdd);}a13_0x42d5d4[a13_0x28a86b(0x180)]=a13_0x28a86b(0x188),a13_0x42d5d4[a13_0x28a86b(0x189)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a13_0x42d5d4[a13_0x28a86b(0x17a)]=a13_0x28a86b(0x17d);var a13_0x46194d={};a13_0x46194d['options']=a13_0x3f84b1,a13_0x46194d['command']=a13_0x42d5d4,exports[a13_0x28a86b(0x183)]=a13_0x46194d;var a13_0x9550a9={};a13_0x9550a9[a13_0x28a86b(0x178)]=a13_0x28a86b(0x17c);function a13_0x10cc(){var _0xa378f5=['Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','connect','482624PSjGvR','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.','21495410KMlepg','1334SoXeWQ','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','701lXCTxP','missing','3NoJteU','footer','8747910mWzjgh','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','42DfEgtH','208724NJWOhv','root','bstackAccessKey','ERROR_MESSAGES','HELP_MESSAGES','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','hosts','225735DcmFRR','361620ECCevo'];a13_0x10cc=function(){return _0xa378f5;};return a13_0x10cc();}var a13_0x13b322={};a13_0x13b322['missing']=a13_0x28a86b(0x176),a13_0x13b322['invalid']=a13_0x28a86b(0x18b);var a13_0x140994={};a13_0x140994[a13_0x28a86b(0x181)]=a13_0x9550a9,a13_0x140994['hosts']=a13_0x13b322,exports[a13_0x28a86b(0x182)]=a13_0x140994;
1
+ function a13_0x1556(_0x4e9a03,_0xc5a5bb){var _0x908a3c=a13_0x908a();return a13_0x1556=function(_0x155680,_0x28d5ec){_0x155680=_0x155680-0xea;var _0x3b86db=_0x908a3c[_0x155680];return _0x3b86db;},a13_0x1556(_0x4e9a03,_0xc5a5bb);}function a13_0x908a(){var _0x4cd538=['60fZJFXH','hosts','root','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','4445fOHOtO','invalid','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','connect','options','bstackAccessKey','9rIxRMg','264140TivOdV','9126lFQRIG','6rOLhZf','910432pkRjmF','114716ObgoYt','footer','19041033EkKNja','298403ccaYPr','HELP_MESSAGES','9445930buzHdG'];a13_0x908a=function(){return _0x4cd538;};return a13_0x908a();}var a13_0x36bea5=a13_0x1556;(function(_0x1e53b0,_0x320e0e){var _0x4bd143=a13_0x1556,_0x295cdc=_0x1e53b0();while(!![]){try{var _0xbd05e1=-parseInt(_0x4bd143(0xf9))/0x1+parseInt(_0x4bd143(0xf6))/0x2*(-parseInt(_0x4bd143(0xf4))/0x3)+-parseInt(_0x4bd143(0xfc))/0x4*(parseInt(_0x4bd143(0xf2))/0x5)+-parseInt(_0x4bd143(0xf3))/0x6*(parseInt(_0x4bd143(0xea))/0x7)+parseInt(_0x4bd143(0xf5))/0x8+-parseInt(_0x4bd143(0xf1))/0x9*(-parseInt(_0x4bd143(0xfb))/0xa)+parseInt(_0x4bd143(0xf8))/0xb;if(_0xbd05e1===_0x320e0e)break;else _0x295cdc['push'](_0x295cdc['shift']());}catch(_0x4473cb){_0x295cdc['push'](_0x295cdc['shift']());}}}(a13_0x908a,0x96e2a));var a13_0x13eaae={};a13_0x13eaae[a13_0x36bea5(0xf0)]=a13_0x36bea5(0xec),a13_0x13eaae[a13_0x36bea5(0xfd)]='This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a13_0x1a474f={};a13_0x1a474f[a13_0x36bea5(0xfe)]=a13_0x36bea5(0x100),a13_0x1a474f[a13_0x36bea5(0xee)]=a13_0x36bea5(0xed),a13_0x1a474f[a13_0x36bea5(0xf7)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a13_0x470cc9={};a13_0x470cc9[a13_0x36bea5(0xef)]=a13_0x13eaae,a13_0x470cc9['command']=a13_0x1a474f,exports[a13_0x36bea5(0xfa)]=a13_0x470cc9;var a13_0x4b242a={};a13_0x4b242a['missing']='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a13_0x233d2d={};a13_0x233d2d['missing']='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x233d2d[a13_0x36bea5(0xeb)]=a13_0x36bea5(0xff);var a13_0x2b277a={};a13_0x2b277a[a13_0x36bea5(0xf0)]=a13_0x4b242a,a13_0x2b277a[a13_0x36bea5(0xfd)]=a13_0x233d2d,exports['ERROR_MESSAGES']=a13_0x2b277a;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a14_0x3006(){const _0x16579e=['8KDkPPS','platforms','tHLPZ','parse','customImplements','error\x20removing\x20tcg\x20config\x20file','existsSync','unlinkSync','Unable\x20to\x20find\x20jest-circus,\x20','josFG','djJrK','skipSessionStatus','shouldProcessEventForTesthub','ZItfd','getTCGConfigFilePaths','mNiwY','launchBuild','299996lhcVDE','egbeL','isNotUndefined','RtqUy','3910130DgXuTV','customTestRunner.js','\x0amodule.exports\x20=\x20config;','oszuq','util','customEnvironment.js','printBuildLink','3317841abOnsM','VFYJu','accessibility','fmBgV','browserStackLogLevel','prepareCapabilities','Error\x20while\x20parsing\x20','MODULE','winstonLogger','@playwright/test','pKREW','package.json','JtKAE',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','HAdwX','platform','slice',';\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','Puppeteer\x20setup\x20error:\x20','writeFileSync','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','XYvOd','maxFailures','proxySettings','reorderTestFiles','tmSyo','nfSUi','Iuxnu','end','jest','inherit','error','../../helpers/test-observability/constants','./test-observability/test-details','startsWith','../utils/clientTroubleshootingService','mjs','BSTACK_USER_JEST_RUNNER','AOOvq','resolveModule','CnRMa','parallelsPerPlatform','donmy','isRunning','\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','--config','jest_browserstack.config.js','Getting\x20your\x20jest\x20configs\x20from\x20package.json','mvYgN','../../helpers/test-orchestration/testOrchestrationHandler','/internal/$1','recursive','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','requireSeleniumWebdriver','parseTestOrchestrationOptions','ublHI','log','filterBrowserstackArgs','jest-runner-','JtxNJ','\x0a\x20\x20\x20\x20\x20\x20','3625446VzJQGy','FKyQu','NrliN','child\x20process\x20exited\x20with\x20code\x20','turboScaleUrl','mComE','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','hEAeS','logLevel','exports','testObservability','../../helpers/performance/constants','BROWSERSTACK_TEST_OBSERVABILITY_YML','EVENTS','JmTFh','testEnvironment','Deleting\x20','debug','Creating\x20','finalExecution','path','skipSessionName','lVywn','npx','bKjpF','customCircus.js','vLMjs','puppeteer-core/package.json','browserStackPercyOptions','const\x20config=','SDK_CLEANUP','pkDyN','setupTCGAuth','getErrorMessageFromResults','__isPlaywrightInstalled','shutdown','teiin','jest-config/build/readConfigFileAndSetRootDir.js','GJmIF','push','unXIJ','splice','runner','cwd','HKvyP','config','failFast','JEST','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','1131986guQDmQ','getInstance','data-hooks.js','isCLIEnabled','./test-observability/helper','replace','Getting\x20your\x20jest\x20configs\x20from\x20','cjs','ZVEHe','OPUeB','puppeteer','zJtCI','BSTACK_JEST_TEST_ENV','customTestRunnerTemplate.js','isUndefined','21222523kJblUw','info','format','../../helpers/test-observability/utils','true','env','FRAMEWORKS','JEST_TEST_ORDER','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','message','kAAYx','RHejI','\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','force','testTimeout','NvccY','stringify','length','nkhdb','maxWorkers','../../helpers/puppeteer-helper','../../helpers/percy/utils','../../helpers/accessibility-automation/helper','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','exitCode','@jest/core/build/ReporterDispatcher.js','findIndex','workingDir','sCWdz','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','findTestFiles','pjlyx',',\x20CLI\x20running:\x20','checkAccessibilityPlatformConfig','IQGtK','requirePWModule','vLNCX','timeout__','assign','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','BROWSERSTACK_TEST_ACCESSIBILITY_YML','xJvfl','jest.config.','resolve','handleApp','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','json','../../helpers/playwright-helper','../v2/browserstackCLI','reporters','rmdirSync','failureThresholdCount','oiXGV','Preserving\x20user\x27s\x20Jest\x20runner:\x20','gbQOF','vjDjr','hUVPP','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','../../helpers/utilities',';\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','false','USER_CONFIG_DETAILS_PATH','aJKEw','moduleNameMapper','Reodered\x20Test\x20Files:\x20','StboZ','../../helpers/testhub/utils','../../helpers/testhub/testhubHandler','serial__','jest-runner','customSequencer.js','default','runInBand','hyOsA','rmSync','setupFiles','capabilities','setupFilesAfterEnv','ZXKrG','start','jest_browserstack.config.cjs','InKCM','aHMLe','stop','dirname','setup','testEnvironmentOptions','join','abortBuildOnFailure','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','readFileSync','653884NSoRwG','requireModule','\x20:\x20','^puppeteer-core/internal/(.*)','@jest/core','EJEaf','cdExp','\x20test\x20files\x20to\x20run.','testContextOptions','getPackageType','CTTII','iKlFw','ifBaZ'];a14_0x3006=function(){return _0x16579e;};return a14_0x3006();}const a14_0x2257d7=a14_0x4de8;(function(_0x3032f0,_0x557f52){const _0x2ce22d=a14_0x4de8,_0x236f77=_0x3032f0();while(!![]){try{const _0x511c2b=-parseInt(_0x2ce22d(0x190))/0x1+-parseInt(_0x2ce22d(0xf9))/0x2+-parseInt(_0x2ce22d(0x122))/0x3+-parseInt(_0x2ce22d(0x117))/0x4+parseInt(_0x2ce22d(0x11b))/0x5+-parseInt(_0x2ce22d(0x15f))/0x6+-parseInt(_0x2ce22d(0x9e))/0x7*(-parseInt(_0x2ce22d(0x106))/0x8);if(_0x511c2b===_0x557f52)break;else _0x236f77['push'](_0x236f77['shift']());}catch(_0x403baa){_0x236f77['push'](_0x236f77['shift']());}}}(a14_0x3006,0x8b164));function a14_0x4de8(_0x2f1816,_0x394ec8){const _0x3006b5=a14_0x3006();return a14_0x4de8=function(_0x4de820,_0x15a902){_0x4de820=_0x4de820-0x9a;let _0x4f834b=_0x3006b5[_0x4de820];return _0x4f834b;},a14_0x4de8(_0x2f1816,_0x394ec8);}const fs=require('fs'),path=require(a14_0x2257d7(0x173)),util=require(a14_0x2257d7(0x11f)),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a14_0x2257d7(0x12a)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a14_0x2257d7(0xd8)),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x2257d7(0xb4)),{updateTestRerunConfig}=require(a14_0x2257d7(0x194)),testOpsHelper=require(a14_0x2257d7(0xa1)),{debug}=require(a14_0x2257d7(0xa1)),TestDetails=require(a14_0x2257d7(0x143)),{getPercyOptions}=require(a14_0x2257d7(0xb3)),TestHubHandler=require(a14_0x2257d7(0xe1)),testhubUtils=require(a14_0x2257d7(0xe0)),{FRAMEWORKS}=require(a14_0x2257d7(0x142)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a14_0x2257d7(0x16a))[a14_0x2257d7(0x16c)],TestOrchestrationHandler=require(a14_0x2257d7(0x153)),BrowserstackCLI=require(a14_0x2257d7(0xce)),{checkPwandBootstrapCli}=require(a14_0x2257d7(0xcd)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x2257d7(0xb2)),ClientTroubleShootingService=require(a14_0x2257d7(0x145)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x90ab34,_0x396e7c)=>{const _0x4ece02=a14_0x2257d7,_0x2f51da={'mtgEq':_0x4ece02(0x184),'IQGtK':'jest-config','aHMLe':function(_0x329427,_0x864307){return _0x329427||_0x864307;},'vjDjr':function(_0x538b48,_0x1d87dd){return _0x538b48(_0x1d87dd);},'ZXKrG':_0x4ece02(0x12d),'aJKEw':_0x4ece02(0x151),'kAAYx':_0x4ece02(0x146),'HKvyP':_0x4ece02(0x197),'ublHI':_0x4ece02(0xcc)};let _0x217529;try{_0x217529=helper[_0x4ece02(0xfa)](_0x2f51da['mtgEq'],_0x2f51da['IQGtK']);}catch{const _0x196453=helper[_0x4ece02(0xfa)](_0x2f51da[_0x4ece02(0xc0)]);_0x217529={'default':async _0x489cc8=>{const _0x47912c=_0x4ece02,_0xfbe6b4=await _0x196453['readInitialOptions'](_0x489cc8,{});return _0xfbe6b4[_0x47912c(0x18c)];}};}const _0x541f83=_0x396e7c[_0x4ece02(0xb8)](_0x34b48d=>_0x34b48d==='--config');if(!helper['isUndefined'](_0x90ab34[_0x4ece02(0x18c)])){logger[_0x4ece02(0x9f)](_0x4ece02(0x196)+_0x90ab34[_0x4ece02(0x18c)]),process[_0x4ece02(0xa3)][_0x4ece02(0xdb)]=_0x90ab34[_0x4ece02(0x18c)];const _0x19c57a=await(0x0,_0x217529[_0x4ece02(0xe5)])(path[_0x4ece02(0xc9)](_0x90ab34['config']));return _0x396e7c[_0x4ece02(0x188)](_0x541f83,0x2),_0x2f51da[_0x4ece02(0xf0)](_0x19c57a,{});}const _0x5deddf=_0x2f51da[_0x4ece02(0xd5)](require,path[_0x4ece02(0xf5)](process[_0x4ece02(0x18a)](),_0x2f51da[_0x4ece02(0xec)]));if(_0x5deddf[_0x4ece02(0x13f)])return logger['info'](_0x2f51da[_0x4ece02(0xdc)]),_0x5deddf['jest'];const _0x48ce0e=['js',_0x2f51da[_0x4ece02(0xa8)],_0x2f51da[_0x4ece02(0x18b)],_0x2f51da[_0x4ece02(0x159)],'ts'];for(const _0x408551 of _0x48ce0e){const _0xd03f4b=path[_0x4ece02(0xf5)](process['cwd'](),_0x4ece02(0xc8)+_0x408551);if(fs[_0x4ece02(0x10c)](_0xd03f4b)){process[_0x4ece02(0xa3)][_0x4ece02(0xdb)]=_0xd03f4b;const _0x59dbc4=await(0x0,_0x217529[_0x4ece02(0xe5)])(_0xd03f4b);return _0x59dbc4;}}return{};},getSerial=(_0x2213c3,_0xa7d07d)=>{const _0x5c96d5=a14_0x2257d7,_0x1245cf={};_0x1245cf[_0x5c96d5(0xc2)]=_0x5c96d5(0xa2),_0x1245cf[_0x5c96d5(0x14a)]=function(_0x1b34bc,_0x4e3b77){return _0x1b34bc>_0x4e3b77;},_0x1245cf['egbeL']=_0x5c96d5(0xda);const _0xb5e550=_0x1245cf;let _0x6f0863=_0xb5e550['vLNCX'];return _0xb5e550[_0x5c96d5(0x14a)](_0x2213c3['length'],0x1)&&(!_0xa7d07d[_0x5c96d5(0xe6)]&&(helper[_0x5c96d5(0x9d)](_0xa7d07d[_0x5c96d5(0xb1)])||_0xb5e550['CnRMa'](_0xa7d07d[_0x5c96d5(0xb1)],0x1)))&&(_0x6f0863=_0xb5e550[_0x5c96d5(0x118)]),_0x6f0863;},getMaxWorkers=(_0x196591,_0x197e55,_0x28ce1b)=>{const _0x2fdeb7=a14_0x2257d7,_0x6adbc9={'pkDyN':function(_0x334b33,_0x54e65f){return _0x334b33(_0x54e65f);}};let _0x41ca67=0x1;if(!helper['isUndefined'](_0x197e55[_0x2fdeb7(0x14b)]))_0x41ca67=_0x6adbc9[_0x2fdeb7(0x17e)](parseInt,_0x197e55[_0x2fdeb7(0x14b)]);else{if(!helper[_0x2fdeb7(0x9d)](_0x196591[_0x2fdeb7(0xb1)]))_0x41ca67=_0x196591['maxWorkers'];else!helper[_0x2fdeb7(0x9d)](_0x28ce1b[_0x2fdeb7(0xb1)])&&(_0x41ca67=_0x28ce1b[_0x2fdeb7(0xb1)]);}return _0x41ca67;};async function run(_0x3ee261,_0x2dd59b,_0x1ca9b9){const _0x421570=a14_0x2257d7,_0x229718={'teiin':_0x421570(0x10b),'ifBaZ':'jest','Iuxnu':function(_0x5b968e,_0x1498a7){return _0x5b968e(_0x1498a7);},'hyOsA':_0x421570(0x12b),'mvYgN':function(_0x40d889){return _0x40d889();},'RtqUy':function(_0x1b3654,_0x14c109,_0x56de7f,_0x95fd0){return _0x1b3654(_0x14c109,_0x56de7f,_0x95fd0);},'nfSUi':function(_0x7ca6d0,_0x5df5d6){return _0x7ca6d0!=_0x5df5d6;},'CTTII':'true','unXIJ':function(_0x2ba317,_0x5277c6,_0x33b62c){return _0x2ba317(_0x5277c6,_0x33b62c);},'BCIDQ':_0x421570(0xd7),'djJrK':function(_0x50bb5d,_0x243604){return _0x50bb5d(_0x243604);},'oszuq':_0x421570(0xda),'DeNLv':function(_0x117e17,_0x43b152,_0xe555f3){return _0x117e17(_0x43b152,_0xe555f3);},'donmy':function(_0x49ce77,_0x458b7d,_0x4b6d91,_0x202cf3){return _0x49ce77(_0x458b7d,_0x4b6d91,_0x202cf3);},'gbQOF':function(_0x52cb05,_0x5e5938){return _0x52cb05*_0x5e5938;},'HAdwX':function(_0x46923c,_0x1f6489){return _0x46923c===_0x1f6489;},'mNiwY':_0x421570(0xee),'pKREW':_0x421570(0x150),'ZVEHe':_0x421570(0x10a),'tHLPZ':'jest_browserstack_results.json','ZItfd':_0x421570(0x11c),'GJmIF':_0x421570(0x9c),'iKlFw':_0x421570(0x120),'XYvOd':function(_0x28d857,_0x318411){return _0x28d857!==_0x318411;},'mComE':_0x421570(0xe3),'oiXGV':'jest-runner-','StboZ':'jest.setup.js','AOOvq':_0x421570(0xe4),'JmTFh':_0x421570(0xc5),'InKCM':'jest-circus','FBiFG':'jest-circus/build/runner.js','bKjpF':function(_0x4a5996,_0x526663){return _0x4a5996(_0x526663);},'FKyQu':'test-observability','pjlyx':_0x421570(0x192),'sCWdz':_0x421570(0x178),'xfDwF':'test_before.setup.js','JtKAE':_0x421570(0x18f),'hUVPP':'playwright','VFYJu':_0x421570(0xf7),'NvccY':'test.setup.js','EJEaf':_0x421570(0x136),'orkqk':function(_0x11b7c0,_0x135204){return _0x11b7c0&&_0x135204;},'OPUeB':_0x421570(0xb5),'fmBgV':_0x421570(0x19a),'cdExp':_0x421570(0x17a),'tmSyo':'default','nkhdb':function(_0x34946c,_0x1a0924,_0x2ed9e3){return _0x34946c(_0x1a0924,_0x2ed9e3);},'NrliN':_0x421570(0xb7),'lVywn':_0x421570(0xfd),'NrpdB':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','QMNfr':function(_0x46368a,_0x431411){return _0x46368a>_0x431411;},'vLMjs':_0x421570(0xbb),'JtxNJ':_0x421570(0x14f),'josFG':function(_0x5ae1c9,_0x276860,_0x31a4a3,_0x2fd296){return _0x5ae1c9(_0x276860,_0x31a4a3,_0x2fd296);},'qmOrT':_0x421570(0x176),'zJtCI':function(_0x11e104,_0x51ce4c){return _0x11e104===_0x51ce4c;},'RHejI':'win32','xJvfl':_0x421570(0x140),'hEAeS':'close'},_0xc90161=helper['getPackageVersion'](_0x229718[_0x421570(0xe7)]);global[_0x421570(0x181)]=!!_0xc90161;const _0x509c5c=_0x229718[_0x421570(0x152)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x509c5c;helper['isBrowserstackInfra']()?(await _0x1ca9b9['initialize'](_0x3ee261),await helper[_0x421570(0xca)](_0x1ca9b9[_0x421570(0x18c)])):await _0x1ca9b9[_0x421570(0x17f)]();if(_0xc90161)await _0x229718[_0x421570(0x11a)](checkPwandBootstrapCli,_0xc90161,constants[_0x421570(0xa4)]['JEST'],_0x1ca9b9);else _0x509c5c&&await _0x229718[_0x421570(0x11a)](checkPuppeteerAndBootstrapCli,_0x509c5c,constants[_0x421570(0xa4)][_0x421570(0x18e)],_0x1ca9b9);if(!_0x1ca9b9['config'])return;_0x229718[_0x421570(0x13c)](_0x1ca9b9[_0x421570(0x18c)][_0x421570(0x169)],null)?process['env'][_0x421570(0x16b)]=_0x1ca9b9[_0x421570(0x18c)][_0x421570(0x169)]:process[_0x421570(0xa3)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x229718['CTTII'];const _0x2b7373=new TestOrchestrationHandler(_0x1ca9b9[_0x421570(0x18c)]),_0xaf82ad=await _0x229718[_0x421570(0x187)](getUserJestConfigs,_0x3ee261,_0x2dd59b);logger[_0x421570(0x9f)](_0x229718['BCIDQ']);const _0x28bf69=Object[_0x421570(0xc4)]({},_0xaf82ad);_0x28bf69[_0x421570(0xf4)]=Object['assign']({},_0x28bf69[_0x421570(0xf4)],{'server':helper['getHubUrl'](_0x1ca9b9['config']),'environment':_0xaf82ad[_0x421570(0x16e)]}),_0x28bf69['testEnvironmentOptions'][_0x421570(0x17b)]=_0x229718[_0x421570(0x13d)](getPercyOptions,_0x1ca9b9['config']);const _0x50d526=helper['useW3C'](_0x1ca9b9['config']);!helper[_0x421570(0x9d)](_0x1ca9b9[_0x421570(0x18c)]['accessibilityOptions'])&&(process[_0x421570(0xa3)][_0x421570(0x165)]=JSON[_0x421570(0xae)](_0x1ca9b9['config']['accessibilityOptions']));if(!BrowserstackCLI[_0x421570(0x191)]()[_0x421570(0x14d)]()){const _0x48b7be=await TestHubHandler[_0x421570(0x116)](FRAMEWORKS['JEST'],_0x1ca9b9);}const _0x1b9dcf=helper[_0x421570(0x127)](_0x1ca9b9[_0x421570(0x18c)],_0x50d526,constants[_0x421570(0xa4)][_0x421570(0x18e)]);process[_0x421570(0xa3)]['BROWSERSTACK_CAPABILITIES']=JSON[_0x421570(0xae)](_0x1b9dcf);let _0x120d48=_0x1ca9b9[_0x421570(0x18c)][_0x421570(0x124)];_0x120d48=_0x120d48||accessibilityHelper[_0x421570(0xbf)](_0x1ca9b9[_0x421570(0x18c)]),process['env'][_0x421570(0xc6)]=_0x120d48,logger[_0x421570(0x170)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x120d48+_0x421570(0xbe)+BrowserstackCLI[_0x421570(0x191)]()['isRunning']());if(_0xc90161)try{const _0xae6661=_0x229718[_0x421570(0x110)](checkAccessibilityPlatformConfig,_0x1ca9b9[_0x421570(0x18c)]);process[_0x421570(0xa3)][_0x421570(0xcb)]=_0xae6661?_0x229718[_0x421570(0x103)]:_0x229718[_0x421570(0x11e)],logger['debug'](_0x421570(0x156)+_0xae6661+_0x421570(0x12f)+process[_0x421570(0xa3)][_0x421570(0xcb)]);}catch(_0x581630){logger[_0x421570(0x170)]('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util[_0x421570(0xa0)](_0x581630));}_0x28bf69[_0x421570(0xf4)][_0x421570(0xea)]=_0x1b9dcf,_0x28bf69[_0x421570(0xf4)][_0x421570(0xe2)]=_0x229718['DeNLv'](getSerial,_0x1b9dcf,_0x3ee261),_0x28bf69[_0x421570(0xf4)]['parallels__']=_0x229718[_0x421570(0x14c)](getMaxWorkers,_0x3ee261,_0x1ca9b9[_0x421570(0x18c)],_0xaf82ad),_0x28bf69[_0x421570(0xf4)][_0x421570(0x139)]=_0x1ca9b9[_0x421570(0x18c)][_0x421570(0x139)],_0x28bf69[_0x421570(0xf4)][_0x421570(0xc3)]=_0x229718[_0x421570(0xd4)](_0x3ee261[_0x421570(0xac)],0x1)||0x1388,_0x28bf69['testEnvironmentOptions'][_0x421570(0x174)]=_0x1ca9b9['config'][_0x421570(0x101)][_0x421570(0x174)],_0x28bf69[_0x421570(0xf4)][_0x421570(0x111)]=_0x1ca9b9['config'][_0x421570(0x101)][_0x421570(0x111)],_0x28bf69[_0x421570(0xf4)][_0x421570(0x126)]=_0x1ca9b9[_0x421570(0x18c)][_0x421570(0x167)],_0x28bf69[_0x421570(0xf4)][_0x421570(0x163)]=_0x1ca9b9['config'][_0x421570(0x163)],_0x28bf69[_0x421570(0xf4)]['platformCaps']=_0x1ca9b9[_0x421570(0x18c)][_0x421570(0x107)];const _0x277e10=helper[_0x421570(0x158)](_0x1ca9b9[_0x421570(0x18c)]);if(!helper['isEmpty'](_0x277e10)){helper[_0x421570(0x119)](_0x277e10['retryTestsOnFailure'])&&(_0x28bf69[_0x421570(0xf4)]['retries__']=_0x277e10['retryTestsOnFailure']['maxRetries']);if(helper['isNotUndefined'](_0x277e10['abortBuildOnFailure'])&&helper[_0x421570(0x119)](_0x277e10['abortBuildOnFailure'][_0x421570(0xb9)])){const _0x5b4474={};_0x5b4474[_0x421570(0xd1)]=_0x277e10[_0x421570(0xf6)][_0x421570(0x138)],_0x5b4474[_0x421570(0xb9)]=_0x277e10['abortBuildOnFailure'][_0x421570(0xb9)],_0x28bf69['testEnvironmentOptions'][_0x421570(0x18d)]=_0x5b4474;}}let _0x283f2b='';_0x229718[_0x421570(0x130)](helper[_0x421570(0x102)](),constants['PACKAGE_TYPE'][_0x421570(0x129)])?_0x283f2b=_0x229718[_0x421570(0x115)]:_0x283f2b=_0x229718[_0x421570(0x12c)];const _0x37c624=_0x283f2b,_0x29a385=path['join'](__dirname,_0x229718[_0x421570(0x198)],_0x229718[_0x421570(0x108)]),_0x582803=path[_0x421570(0xf5)](__dirname,_0x229718[_0x421570(0x198)],_0x229718[_0x421570(0x113)]),_0x5b35fa=path[_0x421570(0xf5)](__dirname,_0x229718[_0x421570(0x198)],_0x229718[_0x421570(0x185)]);_0x28bf69['testEnvironment']&&(process[_0x421570(0xa3)][_0x421570(0x9b)]=_0x28bf69[_0x421570(0x16e)]);_0x28bf69[_0x421570(0x16e)]=path[_0x421570(0xf5)](__dirname,_0x229718[_0x421570(0x198)],_0x229718[_0x421570(0x104)]);const _0x5618a7=_0xaf82ad[_0x421570(0x189)];if(_0x5618a7&&_0x229718[_0x421570(0x137)](_0x5618a7,_0x229718[_0x421570(0x164)])){const _0x4bc5f1=_0x5618a7[_0x421570(0x144)](_0x229718[_0x421570(0xd2)])?_0x5618a7:_0x421570(0x15c)+_0x5618a7;process['env'][_0x421570(0x147)]=_0x4bc5f1,logger[_0x421570(0x9f)](_0x421570(0xd3)+_0x4bc5f1);}_0x28bf69[_0x421570(0x189)]=_0x582803,_0x28bf69[_0x421570(0xeb)]=_0x28bf69['setupFilesAfterEnv']||[],_0x28bf69[_0x421570(0xeb)]['push'](path[_0x421570(0xf5)](__dirname,_0x229718[_0x421570(0xdf)]));_0x2b7373['isTestOrchestrationEnabled']()&&(_0x28bf69['testSequencer']=path[_0x421570(0xf5)](__dirname,_0x229718[_0x421570(0x198)],_0x229718[_0x421570(0x148)]));if(testhubUtils[_0x421570(0x112)]()||BrowserstackCLI[_0x421570(0x191)]()['isCliEnabled']()){let _0x1689c7=null;try{_0x1689c7=helper[_0x421570(0xfa)](_0x229718[_0x421570(0x16d)],_0x229718[_0x421570(0xef)]);}catch(_0x124f64){try{_0x1689c7=helper[_0x421570(0xfa)](_0x229718['FBiFG'],_0x229718[_0x421570(0xef)]);}catch(_0x2b2f25){_0x229718[_0x421570(0x177)](debug,_0x421570(0x10e)+_0x2b2f25);}}_0x1689c7&&(testhubUtils[_0x421570(0x112)]()&&_0x28bf69[_0x421570(0xeb)][_0x421570(0x186)](path[_0x421570(0xf5)](__dirname,_0x229718[_0x421570(0x160)],_0x229718[_0x421570(0xbd)])),_0x28bf69['testRunner']=path[_0x421570(0xf5)](__dirname,_0x229718[_0x421570(0x198)],_0x229718[_0x421570(0xba)]));}_0x28bf69[_0x421570(0xe9)]=_0x28bf69['setupFiles']||[];try{helper[_0x421570(0x157)](),_0x28bf69[_0x421570(0xe9)]['push'](path[_0x421570(0xf5)](__dirname,_0x229718['xfDwF']));}catch{logger[_0x421570(0x170)](_0x229718[_0x421570(0x12e)]);}try{helper[_0x421570(0xc1)]['apply'](null,[_0x229718[_0x421570(0xe7)],_0x229718[_0x421570(0xd6)]]),logger[_0x421570(0x170)](_0x229718[_0x421570(0x123)]),_0x28bf69[_0x421570(0xe9)][_0x421570(0x186)](path[_0x421570(0xf5)](__dirname,_0x229718[_0x421570(0xad)]));}catch(_0x439687){logger[_0x421570(0x170)](_0x229718[_0x421570(0xfe)],_0x439687);}if(_0x229718['orkqk'](!_0xc90161,_0x509c5c)){try{logger['debug'](_0x229718[_0x421570(0x199)]),_0x28bf69['setupFiles'][_0x421570(0x186)](path[_0x421570(0xf5)](__dirname,'..',_0x229718[_0x421570(0x125)],_0x229718[_0x421570(0xad)]));}catch(_0x10632f){logger['debug'](_0x421570(0x134)+_0x10632f[_0x421570(0xa7)]);}try{const _0x2bc41d=require[_0x421570(0xc9)](_0x229718[_0x421570(0xff)]),_0x42baf0=path[_0x421570(0xf2)](_0x2bc41d)[_0x421570(0x195)](/\\/g,'/'),_0x25fcba={};_0x25fcba[_0x421570(0xfc)]=_0x42baf0+_0x421570(0x154),_0x28bf69[_0x421570(0xdd)]=Object['assign']({},_0x28bf69[_0x421570(0xdd)]||{},_0x25fcba),logger[_0x421570(0x170)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x42baf0);}catch(_0x30a87b){logger['debug']('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x30a87b[_0x421570(0xa7)]);}}_0x28bf69['reporters']=_0x28bf69[_0x421570(0xcf)]||[_0x229718[_0x421570(0x13b)]],_0x229718[_0x421570(0xb0)](updateTestRerunConfig,_0x28bf69,_0x1ca9b9);const _0xc33e87=fs[_0x421570(0xf8)](_0x5b35fa),_0x437ad9=helper[_0x421570(0x149)](_0x229718[_0x421570(0x161)],_0x229718[_0x421570(0x175)]);!_0x437ad9[_0x421570(0x141)]?fs['writeFileSync'](_0x28bf69[_0x421570(0x189)],'\x0a\x20\x20\x20\x20\x20\x20'+_0xc33e87+_0x421570(0x14e)+_0x1ca9b9[_0x421570(0x18c)]['platforms'][_0x421570(0xaf)]+_0x421570(0xd9)):fs[_0x421570(0x135)](_0x28bf69[_0x421570(0x189)],_0x421570(0x15e)+_0xc33e87+_0x421570(0xaa)+_0x1ca9b9[_0x421570(0x18c)][_0x421570(0x107)]['length']+_0x421570(0x133));logger[_0x421570(0x9f)](_0x421570(0x171)+_0x37c624+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0x421570(0x135)](_0x37c624,_0x421570(0x17c)+JSON[_0x421570(0xae)](_0x28bf69)+_0x421570(0x11d));if(_0x2b7373['isTestOrchestrationEnabled']()){logger[_0x421570(0x170)](_0x229718['NrpdB']);const _0x8e1b7d=await _0x2b7373[_0x421570(0xbc)](_0x28bf69,_0x2dd59b[_0x421570(0x132)](0x1),_0x37c624);logger['debug']('Found:\x20'+JSON[_0x421570(0xae)](_0x8e1b7d)+_0x421570(0x100));const _0x3a43d8=await _0x2b7373[_0x421570(0x13a)](_0x8e1b7d);logger[_0x421570(0x170)](_0x421570(0xde)+JSON[_0x421570(0xae)](_0x3a43d8)),_0x3a43d8&&_0x229718['QMNfr'](_0x3a43d8[_0x421570(0xaf)],0x0)&&(process[_0x421570(0xa3)][_0x421570(0xa5)]=_0x3a43d8?.['join'](','));}logger[_0x421570(0x9f)](_0x229718[_0x421570(0x179)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x421570(0xf3)]();helper[_0x421570(0x15b)]({},_0x2dd59b),PerformanceTester[_0x421570(0x13e)](PerformanceEvents['SDK_SETUP']);const _0x60e3a0=[_0x229718['ifBaZ'],_0x229718[_0x421570(0x15d)],_0x37c624,..._0x2dd59b['slice'](0x1)],_0x429ee4=_0x229718[_0x421570(0x10f)](spawn,_0x229718['qmOrT'],_0x60e3a0,{'shell':_0x229718[_0x421570(0x9a)](process[_0x421570(0x131)],_0x229718[_0x421570(0xa9)]),'stdio':_0x229718[_0x421570(0xc7)],'env':Object[_0x421570(0xc4)]({},process[_0x421570(0xa3)])});_0x429ee4['on'](_0x229718[_0x421570(0x166)],async _0x19c60c=>{const _0x2e36f6=_0x421570;PerformanceTester[_0x2e36f6(0xed)](PerformanceEvents[_0x2e36f6(0x17d)]);try{const {browserstackFolderPath:_0x3ebbb5,tcgConfigPath:_0x513a9d}=helper[_0x2e36f6(0x114)]();fs[_0x2e36f6(0x10d)](_0x513a9d),fs[_0x2e36f6(0xd0)](_0x3ebbb5);}catch(_0x56394c){logger[_0x2e36f6(0x170)](_0x229718[_0x2e36f6(0x183)],_0x56394c);}process[_0x2e36f6(0xb6)]=_0x19c60c,logger[_0x2e36f6(0x170)](_0x2e36f6(0x162)+_0x19c60c),logger['info'](_0x2e36f6(0x16f)+_0x37c624);if(helper[_0x2e36f6(0x119)](_0x277e10)&&helper['isNotUndefined'](_0x277e10[_0x2e36f6(0xf6)])&&fs['existsSync'](_0x277e10['abortBuildOnFailure'][_0x2e36f6(0xb9)]))try{const _0x3130d={};_0x3130d[_0x2e36f6(0x155)]=!![],_0x3130d[_0x2e36f6(0xab)]=!![],fs[_0x2e36f6(0xe8)](_0x277e10[_0x2e36f6(0xf6)][_0x2e36f6(0xb9)],_0x3130d),logger[_0x2e36f6(0x170)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x277e10[_0x2e36f6(0xf6)]['workingDir']);}catch(_0x290283){logger['error']('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x290283);}let _0x3aed83=null;if(fs[_0x2e36f6(0x10c)](_0x29a385)){_0x3aed83=fs[_0x2e36f6(0xf8)](_0x29a385);try{_0x3aed83=JSON[_0x2e36f6(0x109)](_0x3aed83);}catch(_0x2e6b17){logger[_0x2e36f6(0x170)](_0x2e36f6(0x128)+_0x29a385+',\x20'+_0x3aed83+_0x2e36f6(0xfb)+_0x2e6b17);}fs[_0x2e36f6(0x10d)](_0x29a385);}fs['unlinkSync'](_0x37c624),fs[_0x2e36f6(0x10d)](_0x582803),_0x3aed83&&(_0x1ca9b9['errorMessage']=helper[_0x2e36f6(0x180)](_0x3aed83,_0x229718[_0x2e36f6(0x105)],_0x1ca9b9));const _0x4fa5ba=BrowserstackCLI[_0x2e36f6(0x193)]();try{await TestHubHandler[_0x2e36f6(0xf1)](),await BrowserstackCLI[_0x2e36f6(0x191)]()[_0x2e36f6(0xf1)]();}catch(_0x77bf31){console[_0x2e36f6(0x15a)](_0x77bf31),_0x229718[_0x2e36f6(0x13d)](debug,_0x2e36f6(0xa6)+util['format'](_0x77bf31));}testOpsHelper[_0x2e36f6(0x121)](),TestDetails[_0x2e36f6(0x182)](),await utilities[_0x2e36f6(0x172)](_0x1ca9b9,_0x4fa5ba);});}module[a14_0x2257d7(0x168)]=run;
2
+ 'use strict';function a14_0x5315(_0x435852,_0x3b0dd1){const _0x55a56c=a14_0x55a5();return a14_0x5315=function(_0x531568,_0x1e6e8f){_0x531568=_0x531568-0xfd;let _0x2d0011=_0x55a56c[_0x531568];return _0x2d0011;},a14_0x5315(_0x435852,_0x3b0dd1);}const a14_0x2ae03d=a14_0x5315;(function(_0x3969cf,_0x31e5ef){const _0x2b7f13=a14_0x5315,_0x4cd658=_0x3969cf();while(!![]){try{const _0x490a44=parseInt(_0x2b7f13(0x161))/0x1+parseInt(_0x2b7f13(0x200))/0x2*(-parseInt(_0x2b7f13(0x1c1))/0x3)+parseInt(_0x2b7f13(0x147))/0x4*(parseInt(_0x2b7f13(0x124))/0x5)+parseInt(_0x2b7f13(0x1c0))/0x6*(-parseInt(_0x2b7f13(0x1ee))/0x7)+parseInt(_0x2b7f13(0x196))/0x8+-parseInt(_0x2b7f13(0x11d))/0x9+parseInt(_0x2b7f13(0x1cc))/0xa;if(_0x490a44===_0x31e5ef)break;else _0x4cd658['push'](_0x4cd658['shift']());}catch(_0x2b625b){_0x4cd658['push'](_0x4cd658['shift']());}}}(a14_0x55a5,0x57d97));const fs=require('fs'),path=require(a14_0x2ae03d(0x151)),util=require(a14_0x2ae03d(0x191)),{spawn}=require(a14_0x2ae03d(0x16a)),logger=require(a14_0x2ae03d(0x110))[a14_0x2ae03d(0x1e2)],{default:BrowserStackSetup}=require(a14_0x2ae03d(0x111)),helper=require(a14_0x2ae03d(0x177)),utilities=require('../../helpers/utilities'),constants=require(a14_0x2ae03d(0x144)),accessibilityHelper=require(a14_0x2ae03d(0x1bf)),{updateTestRerunConfig}=require(a14_0x2ae03d(0x101)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x2ae03d(0x1d7)),TestDetails=require(a14_0x2ae03d(0x12c)),{getPercyOptions}=require(a14_0x2ae03d(0x11f)),TestHubHandler=require(a14_0x2ae03d(0x107)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x2ae03d(0x1c3)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],TestOrchestrationHandler=require(a14_0x2ae03d(0x17a)),BrowserstackCLI=require(a14_0x2ae03d(0x115)),{checkPwandBootstrapCli}=require(a14_0x2ae03d(0x16f)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require(a14_0x2ae03d(0x129)),{checkAccessibilityPlatformConfig}=require(a14_0x2ae03d(0x1bf)),getUserJestConfigs=async(_0x3299b6,_0x51f4d1)=>{const _0x4d1424=a14_0x2ae03d,_0x13c62e={'TTzUk':_0x4d1424(0x17f),'mVhJV':_0x4d1424(0x12e),'pEnBp':function(_0x9741f4,_0x2e8fbe){return _0x9741f4||_0x2e8fbe;},'szzZU':function(_0x53c1ee,_0x1e4569){return _0x53c1ee(_0x1e4569);},'gYexW':'package.json','OKdzh':_0x4d1424(0x1bc),'JHypy':_0x4d1424(0x126),'NiLAP':_0x4d1424(0x19e),'DeQUs':'json'};let _0x237483;try{_0x237483=helper[_0x4d1424(0x1cd)](_0x13c62e[_0x4d1424(0x127)],_0x13c62e['mVhJV']);}catch{const _0x47f2b3=helper['requireModule'](_0x13c62e[_0x4d1424(0x14d)]);_0x237483={'default':async _0x337419=>{const _0x1e80a2=_0x4d1424,_0x160db6=await _0x47f2b3[_0x1e80a2(0x1b4)](_0x337419,{});return _0x160db6['config'];}};}const _0x3c49f2=_0x51f4d1[_0x4d1424(0x17c)](_0x44e2aa=>_0x44e2aa===_0x4d1424(0x14e));if(!helper[_0x4d1424(0x169)](_0x3299b6[_0x4d1424(0x166)])){logger['info'](_0x4d1424(0x164)+_0x3299b6[_0x4d1424(0x166)]),process[_0x4d1424(0x141)][_0x4d1424(0x1df)]=_0x3299b6[_0x4d1424(0x166)];const _0x31ff6a=await(0x0,_0x237483[_0x4d1424(0x15c)])(path['resolve'](_0x3299b6['config']));return _0x51f4d1[_0x4d1424(0x136)](_0x3c49f2,0x2),_0x13c62e['pEnBp'](_0x31ff6a,{});}const _0x1bd316=_0x13c62e['szzZU'](require,path['join'](process['cwd'](),_0x13c62e[_0x4d1424(0x1f6)]));if(_0x1bd316[_0x4d1424(0x1f9)])return logger['info'](_0x13c62e[_0x4d1424(0x18e)]),_0x1bd316[_0x4d1424(0x1f9)];const _0x1e09a0=['js',_0x13c62e[_0x4d1424(0x19b)],_0x13c62e[_0x4d1424(0x1ce)],_0x13c62e[_0x4d1424(0x1e6)],'ts'];for(const _0x36fb21 of _0x1e09a0){const _0x4f103b=path[_0x4d1424(0x1aa)](process[_0x4d1424(0x1dc)](),_0x4d1424(0x18c)+_0x36fb21);if(fs[_0x4d1424(0x17b)](_0x4f103b)){process['env'][_0x4d1424(0x1df)]=_0x4f103b;const _0x368368=await(0x0,_0x237483[_0x4d1424(0x15c)])(_0x4f103b);return _0x368368;}}return{};},getSerial=(_0x3b5137,_0x1d2805)=>{const _0x2128c2=a14_0x2ae03d,_0x2275ab={};_0x2275ab[_0x2128c2(0x10c)]=_0x2128c2(0x14b),_0x2275ab[_0x2128c2(0x163)]=function(_0x46a024,_0x52ec01){return _0x46a024>_0x52ec01;},_0x2275ab['cQchS']=function(_0x5c07bb,_0x49fef6){return _0x5c07bb>_0x49fef6;},_0x2275ab[_0x2128c2(0x146)]='false';const _0x3471f7=_0x2275ab;let _0x5bd3d7=_0x3471f7[_0x2128c2(0x10c)];return _0x3471f7[_0x2128c2(0x163)](_0x3b5137[_0x2128c2(0x1a6)],0x1)&&(!_0x1d2805[_0x2128c2(0x105)]&&(helper[_0x2128c2(0x169)](_0x1d2805['maxWorkers'])||_0x3471f7[_0x2128c2(0x1e0)](_0x1d2805[_0x2128c2(0x139)],0x1)))&&(_0x5bd3d7=_0x3471f7[_0x2128c2(0x146)]),_0x5bd3d7;},getMaxWorkers=(_0x540763,_0x53022d,_0x4b1fa0)=>{const _0x4c6da5=a14_0x2ae03d,_0x20872f={'rAZBa':function(_0x4ed360,_0x437257){return _0x4ed360(_0x437257);}};let _0x1a1772=0x1;if(!helper['isUndefined'](_0x53022d['parallelsPerPlatform']))_0x1a1772=_0x20872f[_0x4c6da5(0x157)](parseInt,_0x53022d[_0x4c6da5(0x1a5)]);else{if(!helper[_0x4c6da5(0x169)](_0x540763['maxWorkers']))_0x1a1772=_0x540763[_0x4c6da5(0x139)];else!helper[_0x4c6da5(0x169)](_0x4b1fa0[_0x4c6da5(0x139)])&&(_0x1a1772=_0x4b1fa0[_0x4c6da5(0x139)]);}return _0x1a1772;};async function run(_0x23df8,_0x47bd74,_0x3ac80c){const _0x18fdc7=a14_0x2ae03d,_0x3e77a3={'NgCVM':_0x18fdc7(0x1c4),'vfnAL':_0x18fdc7(0x1f9),'NWmzp':function(_0x301c9f,_0xdb4420){return _0x301c9f(_0xdb4420);},'Lesjq':_0x18fdc7(0x18a),'PKZfH':function(_0x15bf1e){return _0x15bf1e();},'eDmPR':function(_0x5164f3,_0xbb57e1,_0x4dad4f,_0x33b18e){return _0x5164f3(_0xbb57e1,_0x4dad4f,_0x33b18e);},'GAjaC':function(_0x5679a2,_0x271f2d){return _0x5679a2!=_0x271f2d;},'BwUbw':'true','nqpfQ':function(_0x533497,_0x3a669b,_0x35a2bd){return _0x533497(_0x3a669b,_0x35a2bd);},'JRsPp':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','waYcG':function(_0x203cfd,_0x7e57cf){return _0x203cfd(_0x7e57cf);},'IvRFJ':function(_0x537394,_0x29ab00){return _0x537394(_0x29ab00);},'GTkbt':_0x18fdc7(0x1d9),'YnElF':function(_0x20d8b7,_0x766d1a,_0x5d41ae){return _0x20d8b7(_0x766d1a,_0x5d41ae);},'KWAHC':function(_0xc7fbe2,_0x328f61,_0x5861b4,_0xc493c9){return _0xc7fbe2(_0x328f61,_0x5861b4,_0xc493c9);},'FcNYh':function(_0x338c27,_0x371733){return _0x338c27*_0x371733;},'OSYSW':function(_0x34381d,_0x2c40e8){return _0x34381d===_0x2c40e8;},'VwkSX':'jest_browserstack.config.cjs','LATjx':_0x18fdc7(0x154),'mVNyw':_0x18fdc7(0x1f8),'aVMJl':_0x18fdc7(0x1f5),'QWycn':_0x18fdc7(0x113),'RiKsE':_0x18fdc7(0x158),'Vfffk':_0x18fdc7(0x1ed),'zafHZ':function(_0x567294,_0x5d1a50){return _0x567294!==_0x5d1a50;},'babJs':_0x18fdc7(0x11a),'yjrtP':_0x18fdc7(0x149),'gdDjz':'jest.setup.js','kPAIe':'customSequencer.js','cIgYB':_0x18fdc7(0x1e7),'TfeHr':_0x18fdc7(0x1e3),'MvvcI':_0x18fdc7(0x134),'zzyGU':function(_0x555c0e,_0x578f77){return _0x555c0e(_0x578f77);},'xqRDj':_0x18fdc7(0x1d0),'RcxDA':_0x18fdc7(0x1d6),'PqzPv':'customCircus.js','UlfnA':_0x18fdc7(0x1bd),'PfNLe':_0x18fdc7(0x156),'jCUrO':'playwright','cWTmG':_0x18fdc7(0x152),'hDBmn':_0x18fdc7(0x173),'FAlXB':_0x18fdc7(0x165),'QdFfJ':function(_0x20d9c7,_0x5f3d31){return _0x20d9c7&&_0x5f3d31;},'lMkgf':_0x18fdc7(0x1c7),'SDmfX':_0x18fdc7(0x192),'ASkXt':'puppeteer-core/package.json','MFbom':_0x18fdc7(0x15c),'WTMsv':function(_0x1c3196,_0x1694d,_0x2a28ea){return _0x1c3196(_0x1694d,_0x2a28ea);},'FcopO':_0x18fdc7(0x1bb),'JTKYP':_0x18fdc7(0x1a8),'xEVOC':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','dcXew':function(_0x2b0876,_0x4675e0){return _0x2b0876>_0x4675e0;},'dQpcN':_0x18fdc7(0x1ab),'yRkti':_0x18fdc7(0x14e),'PVOnA':'npx','wqlTH':function(_0x183028,_0x3a47e0){return _0x183028===_0x3a47e0;},'WhjKN':'win32','hgnsz':_0x18fdc7(0x1e8),'uLmgx':_0x18fdc7(0x184)},_0x5ad5af=helper['getPackageVersion'](_0x3e77a3[_0x18fdc7(0x1e9)]);global[_0x18fdc7(0x155)]=!!_0x5ad5af;const _0x15675e=_0x3e77a3['PKZfH'](getPuppeteerVersion);global[_0x18fdc7(0x1c6)]=!!_0x15675e;helper[_0x18fdc7(0x13c)]()?(await _0x3ac80c[_0x18fdc7(0x1a1)](_0x23df8),await helper['handleApp'](_0x3ac80c[_0x18fdc7(0x166)])):await _0x3ac80c[_0x18fdc7(0x1b0)]();if(_0x5ad5af)await _0x3e77a3[_0x18fdc7(0x15f)](checkPwandBootstrapCli,_0x5ad5af,constants[_0x18fdc7(0x1cb)][_0x18fdc7(0x140)],_0x3ac80c);else _0x15675e&&await _0x3e77a3['eDmPR'](checkPuppeteerAndBootstrapCli,_0x15675e,constants[_0x18fdc7(0x1cb)]['JEST'],_0x3ac80c);if(!_0x3ac80c[_0x18fdc7(0x166)])return;_0x3e77a3[_0x18fdc7(0x174)](_0x3ac80c[_0x18fdc7(0x166)][_0x18fdc7(0x175)],null)?process[_0x18fdc7(0x141)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3ac80c[_0x18fdc7(0x166)][_0x18fdc7(0x175)]:process[_0x18fdc7(0x141)][_0x18fdc7(0x1d5)]=_0x3e77a3[_0x18fdc7(0x1b6)];const _0x43a313=new TestOrchestrationHandler(_0x3ac80c['config']),_0x38a713=await _0x3e77a3[_0x18fdc7(0x104)](getUserJestConfigs,_0x23df8,_0x47bd74);logger['info'](_0x3e77a3[_0x18fdc7(0x189)]);const _0x160962=Object[_0x18fdc7(0x1b9)]({},_0x38a713);_0x160962[_0x18fdc7(0x19c)]=Object[_0x18fdc7(0x1b9)]({},_0x160962['testEnvironmentOptions'],{'server':helper['getHubUrl'](_0x3ac80c[_0x18fdc7(0x166)]),'environment':_0x38a713[_0x18fdc7(0x1d8)]}),_0x160962['testEnvironmentOptions'][_0x18fdc7(0x16b)]=_0x3e77a3[_0x18fdc7(0x1fb)](getPercyOptions,_0x3ac80c[_0x18fdc7(0x166)]);const _0x391dae=helper[_0x18fdc7(0x167)](_0x3ac80c['config']);!helper[_0x18fdc7(0x169)](_0x3ac80c['config']['accessibilityOptions'])&&(process[_0x18fdc7(0x141)][_0x18fdc7(0x1ef)]=JSON[_0x18fdc7(0x19f)](_0x3ac80c['config']['accessibilityOptions']));if(!BrowserstackCLI[_0x18fdc7(0x10b)]()[_0x18fdc7(0x180)]()){const _0x5c3927=await TestHubHandler[_0x18fdc7(0x10a)](FRAMEWORKS[_0x18fdc7(0x140)],_0x3ac80c);}const _0x3efb45=helper[_0x18fdc7(0x1c2)](_0x3ac80c[_0x18fdc7(0x166)],_0x391dae,constants[_0x18fdc7(0x1cb)][_0x18fdc7(0x140)]);process['env'][_0x18fdc7(0x138)]=JSON['stringify'](_0x3efb45);let _0x403442=_0x3ac80c[_0x18fdc7(0x166)][_0x18fdc7(0x1d2)];_0x403442=_0x403442||accessibilityHelper[_0x18fdc7(0x1b2)](_0x3ac80c[_0x18fdc7(0x166)]),process[_0x18fdc7(0x141)][_0x18fdc7(0x16e)]=_0x403442,logger[_0x18fdc7(0x108)](_0x18fdc7(0x18d)+_0x403442+_0x18fdc7(0x137)+BrowserstackCLI[_0x18fdc7(0x10b)]()[_0x18fdc7(0x180)]());if(_0x5ad5af)try{const _0x29507a=_0x3e77a3[_0x18fdc7(0x199)](checkAccessibilityPlatformConfig,_0x3ac80c[_0x18fdc7(0x166)]);process[_0x18fdc7(0x141)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x29507a?_0x3e77a3['BwUbw']:_0x3e77a3[_0x18fdc7(0x1eb)],logger[_0x18fdc7(0x108)](_0x18fdc7(0x132)+_0x29507a+_0x18fdc7(0x10d)+process[_0x18fdc7(0x141)][_0x18fdc7(0x1ec)]);}catch(_0x1f98d1){logger['debug'](_0x18fdc7(0x1dd)+util['format'](_0x1f98d1));}_0x160962[_0x18fdc7(0x19c)]['capabilities']=_0x3efb45,_0x160962[_0x18fdc7(0x19c)]['serial__']=_0x3e77a3['YnElF'](getSerial,_0x3efb45,_0x23df8),_0x160962[_0x18fdc7(0x19c)][_0x18fdc7(0x187)]=_0x3e77a3[_0x18fdc7(0x11e)](getMaxWorkers,_0x23df8,_0x3ac80c[_0x18fdc7(0x166)],_0x38a713),_0x160962[_0x18fdc7(0x19c)]['proxySettings']=_0x3ac80c[_0x18fdc7(0x166)][_0x18fdc7(0x153)],_0x160962[_0x18fdc7(0x19c)]['timeout__']=_0x3e77a3[_0x18fdc7(0x116)](_0x23df8[_0x18fdc7(0x13e)],0x1)||0x1388,_0x160962[_0x18fdc7(0x19c)][_0x18fdc7(0x1f4)]=_0x3ac80c[_0x18fdc7(0x166)]['testContextOptions'][_0x18fdc7(0x1f4)],_0x160962['testEnvironmentOptions'][_0x18fdc7(0x13d)]=_0x3ac80c[_0x18fdc7(0x166)][_0x18fdc7(0x18b)]['skipSessionStatus'],_0x160962['testEnvironmentOptions']['browserStackLogLevel']=_0x3ac80c['config'][_0x18fdc7(0x1c5)],_0x160962[_0x18fdc7(0x19c)][_0x18fdc7(0x1be)]=_0x3ac80c['config'][_0x18fdc7(0x1be)],_0x160962[_0x18fdc7(0x19c)]['platformCaps']=_0x3ac80c[_0x18fdc7(0x166)]['platforms'];const _0x2391ef=helper[_0x18fdc7(0x1db)](_0x3ac80c[_0x18fdc7(0x166)]);if(!helper['isEmpty'](_0x2391ef)){helper['isNotUndefined'](_0x2391ef[_0x18fdc7(0x171)])&&(_0x160962[_0x18fdc7(0x19c)][_0x18fdc7(0x1b5)]=_0x2391ef[_0x18fdc7(0x171)][_0x18fdc7(0x15a)]);if(helper[_0x18fdc7(0x148)](_0x2391ef[_0x18fdc7(0x17e)])&&helper[_0x18fdc7(0x148)](_0x2391ef[_0x18fdc7(0x17e)][_0x18fdc7(0x1c9)])){const _0x22ace9={};_0x22ace9[_0x18fdc7(0x190)]=_0x2391ef[_0x18fdc7(0x17e)][_0x18fdc7(0x123)],_0x22ace9[_0x18fdc7(0x1c9)]=_0x2391ef['abortBuildOnFailure'][_0x18fdc7(0x1c9)],_0x160962[_0x18fdc7(0x19c)][_0x18fdc7(0x1ae)]=_0x22ace9;}}let _0x2e753e='';_0x3e77a3[_0x18fdc7(0x102)](helper[_0x18fdc7(0x197)](),constants[_0x18fdc7(0x12a)]['MODULE'])?_0x2e753e=_0x3e77a3[_0x18fdc7(0x1f7)]:_0x2e753e=_0x3e77a3[_0x18fdc7(0x117)];const _0x34ae7e=_0x2e753e,_0x33dc18=path['join'](__dirname,_0x3e77a3['mVNyw'],_0x3e77a3[_0x18fdc7(0x16c)]),_0x4d7410=path[_0x18fdc7(0x1aa)](__dirname,_0x3e77a3['mVNyw'],_0x3e77a3['QWycn']),_0x4c8dc2=path[_0x18fdc7(0x1aa)](__dirname,_0x3e77a3['mVNyw'],_0x3e77a3[_0x18fdc7(0x1a2)]);_0x160962[_0x18fdc7(0x1d8)]&&(process[_0x18fdc7(0x141)][_0x18fdc7(0x19a)]=_0x160962[_0x18fdc7(0x1d8)]);_0x160962['testEnvironment']=path[_0x18fdc7(0x1aa)](__dirname,_0x3e77a3[_0x18fdc7(0x1ea)],_0x3e77a3['Vfffk']);const _0x223137=_0x38a713[_0x18fdc7(0x1b3)];if(_0x223137&&_0x3e77a3[_0x18fdc7(0x1a4)](_0x223137,_0x3e77a3[_0x18fdc7(0x122)])){const _0x515cdf=_0x223137[_0x18fdc7(0x1b1)](_0x3e77a3[_0x18fdc7(0x183)])?_0x223137:_0x18fdc7(0x149)+_0x223137;process[_0x18fdc7(0x141)][_0x18fdc7(0x176)]=_0x515cdf,logger[_0x18fdc7(0x13b)](_0x18fdc7(0x120)+_0x515cdf);}_0x160962[_0x18fdc7(0x1b3)]=_0x4d7410,_0x160962[_0x18fdc7(0x1f0)]=_0x160962[_0x18fdc7(0x1f0)]||[],_0x160962[_0x18fdc7(0x1f0)][_0x18fdc7(0x103)](path['join'](__dirname,_0x3e77a3[_0x18fdc7(0x100)]));_0x43a313[_0x18fdc7(0x1ac)]()&&(_0x160962[_0x18fdc7(0x159)]=path[_0x18fdc7(0x1aa)](__dirname,_0x3e77a3[_0x18fdc7(0x1ea)],_0x3e77a3[_0x18fdc7(0x109)]));if(testhubUtils[_0x18fdc7(0x1fa)]()||BrowserstackCLI[_0x18fdc7(0x10b)]()[_0x18fdc7(0x193)]()){let _0x55c7f8=null;try{_0x55c7f8=helper['requireModule'](_0x3e77a3['cIgYB'],_0x3e77a3[_0x18fdc7(0x119)]);}catch(_0x43a0e1){try{_0x55c7f8=helper['requireModule'](_0x3e77a3['MvvcI'],_0x3e77a3[_0x18fdc7(0x119)]);}catch(_0x238734){_0x3e77a3[_0x18fdc7(0x125)](debug,_0x18fdc7(0x12b)+_0x238734);}}_0x55c7f8&&(testhubUtils['shouldProcessEventForTesthub']()&&_0x160962[_0x18fdc7(0x1f0)]['push'](path['join'](__dirname,_0x3e77a3[_0x18fdc7(0x1da)],_0x3e77a3[_0x18fdc7(0x15d)])),_0x160962[_0x18fdc7(0x112)]=path['join'](__dirname,_0x3e77a3[_0x18fdc7(0x1ea)],_0x3e77a3['PqzPv']));}_0x160962['setupFiles']=_0x160962['setupFiles']||[];try{helper[_0x18fdc7(0x1fd)](),_0x160962[_0x18fdc7(0x10e)][_0x18fdc7(0x103)](path[_0x18fdc7(0x1aa)](__dirname,_0x3e77a3['UlfnA']));}catch{logger[_0x18fdc7(0x108)](_0x3e77a3['PfNLe']);}try{helper['requirePWModule']['apply'](null,[_0x3e77a3[_0x18fdc7(0x1e9)],_0x3e77a3[_0x18fdc7(0x131)]]),logger['debug'](_0x3e77a3[_0x18fdc7(0x1d1)]),_0x160962[_0x18fdc7(0x10e)]['push'](path[_0x18fdc7(0x1aa)](__dirname,_0x3e77a3[_0x18fdc7(0x11c)]));}catch(_0x4300d0){logger[_0x18fdc7(0x108)](_0x3e77a3[_0x18fdc7(0x145)],_0x4300d0);}if(_0x3e77a3[_0x18fdc7(0xfe)](!_0x5ad5af,_0x15675e)){try{logger['debug'](_0x3e77a3[_0x18fdc7(0x1b8)]),_0x160962[_0x18fdc7(0x10e)]['push'](path[_0x18fdc7(0x1aa)](__dirname,'..',_0x3e77a3['SDmfX'],_0x3e77a3[_0x18fdc7(0x11c)]));}catch(_0x2afc12){logger['debug'](_0x18fdc7(0x15e)+_0x2afc12['message']);}try{const _0x5e2298=require[_0x18fdc7(0xfd)](_0x3e77a3[_0x18fdc7(0x179)]),_0x41cd84=path[_0x18fdc7(0x1cf)](_0x5e2298)['replace'](/\\/g,'/'),_0x222409={};_0x222409[_0x18fdc7(0x1ff)]=_0x41cd84+_0x18fdc7(0x16d),_0x160962['moduleNameMapper']=Object[_0x18fdc7(0x1b9)]({},_0x160962[_0x18fdc7(0x1af)]||{},_0x222409),logger['debug'](_0x18fdc7(0x1fe)+_0x41cd84);}catch(_0x9dee7f){logger[_0x18fdc7(0x108)](_0x18fdc7(0x130)+_0x9dee7f[_0x18fdc7(0x1e5)]);}}_0x160962[_0x18fdc7(0x172)]=_0x160962[_0x18fdc7(0x172)]||[_0x3e77a3['MFbom']],_0x3e77a3[_0x18fdc7(0x135)](updateTestRerunConfig,_0x160962,_0x3ac80c);const _0x229acd=fs[_0x18fdc7(0x128)](_0x4c8dc2),_0x289aa1=helper[_0x18fdc7(0x133)](_0x3e77a3['FcopO'],_0x3e77a3[_0x18fdc7(0x198)]);!_0x289aa1[_0x18fdc7(0x1a9)]?fs[_0x18fdc7(0x178)](_0x160962[_0x18fdc7(0x1b3)],_0x18fdc7(0x14f)+_0x229acd+_0x18fdc7(0x1b7)+_0x3ac80c[_0x18fdc7(0x166)][_0x18fdc7(0x15b)][_0x18fdc7(0x1a6)]+_0x18fdc7(0x19d)):fs[_0x18fdc7(0x178)](_0x160962[_0x18fdc7(0x1b3)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x229acd+_0x18fdc7(0x1a0)+_0x3ac80c['config'][_0x18fdc7(0x15b)]['length']+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger['info'](_0x18fdc7(0x1a3)+_0x34ae7e+_0x18fdc7(0x1d4)),fs[_0x18fdc7(0x178)](_0x34ae7e,'const\x20config='+JSON[_0x18fdc7(0x19f)](_0x160962)+_0x18fdc7(0x118));if(_0x43a313[_0x18fdc7(0x1ac)]()){logger[_0x18fdc7(0x108)](_0x3e77a3[_0x18fdc7(0x1ca)]);const _0x78387=await _0x43a313[_0x18fdc7(0x1fc)](_0x160962,_0x47bd74['slice'](0x1),_0x34ae7e);logger[_0x18fdc7(0x108)]('Found:\x20'+JSON['stringify'](_0x78387)+_0x18fdc7(0x162));const _0x154bc0=await _0x43a313[_0x18fdc7(0x1f2)](_0x78387);logger['debug'](_0x18fdc7(0x188)+JSON[_0x18fdc7(0x19f)](_0x154bc0)),_0x154bc0&&_0x3e77a3[_0x18fdc7(0x1ba)](_0x154bc0[_0x18fdc7(0x1a6)],0x0)&&(process['env']['JEST_TEST_ORDER']=_0x154bc0?.[_0x18fdc7(0x1aa)](','));}logger['info'](_0x3e77a3[_0x18fdc7(0x142)]);testhubUtils[_0x18fdc7(0x1fa)]()&&TestDetails[_0x18fdc7(0x10f)]();helper[_0x18fdc7(0x1de)]({},_0x47bd74),PerformanceTester[_0x18fdc7(0x1c8)](PerformanceEvents[_0x18fdc7(0x150)]);const _0x2bb274=[_0x3e77a3['vfnAL'],_0x3e77a3['yRkti'],_0x34ae7e,..._0x47bd74[_0x18fdc7(0x14c)](0x1)],_0x144f99=_0x3e77a3[_0x18fdc7(0x11e)](spawn,_0x3e77a3[_0x18fdc7(0x1d3)],_0x2bb274,{'shell':_0x3e77a3[_0x18fdc7(0x168)](process[_0x18fdc7(0x160)],_0x3e77a3[_0x18fdc7(0x1f3)]),'stdio':_0x3e77a3[_0x18fdc7(0x186)],'env':Object[_0x18fdc7(0x1b9)]({},process[_0x18fdc7(0x141)])});_0x144f99['on'](_0x3e77a3[_0x18fdc7(0x182)],async _0x19b95b=>{const _0xec6031=_0x18fdc7;PerformanceTester[_0xec6031(0x13a)](PerformanceEvents[_0xec6031(0x18f)]);try{const {browserstackFolderPath:_0xac9c73,tcgConfigPath:_0x41a6de}=helper['getTCGConfigFilePaths']();fs[_0xec6031(0x17d)](_0x41a6de),fs['rmdirSync'](_0xac9c73);}catch(_0x58bb61){logger['debug'](_0x3e77a3['NgCVM'],_0x58bb61);}process[_0xec6031(0x106)]=_0x19b95b,logger[_0xec6031(0x108)](_0xec6031(0x1ad)+_0x19b95b),logger[_0xec6031(0x13b)](_0xec6031(0x1f1)+_0x34ae7e);if(helper['isNotUndefined'](_0x2391ef)&&helper[_0xec6031(0x148)](_0x2391ef['abortBuildOnFailure'])&&fs[_0xec6031(0x17b)](_0x2391ef[_0xec6031(0x17e)][_0xec6031(0x1c9)]))try{const _0x1bc761={};_0x1bc761['recursive']=!![],_0x1bc761[_0xec6031(0x194)]=!![],fs[_0xec6031(0x11b)](_0x2391ef['abortBuildOnFailure']['workingDir'],_0x1bc761),logger[_0xec6031(0x108)](_0xec6031(0x12f)+_0x2391ef[_0xec6031(0x17e)]['workingDir']);}catch(_0x2e4db1){logger[_0xec6031(0x1a9)](_0xec6031(0x195)+_0x2e4db1);}let _0x561cd0=null;if(fs[_0xec6031(0x17b)](_0x33dc18)){_0x561cd0=fs[_0xec6031(0x128)](_0x33dc18);try{_0x561cd0=JSON[_0xec6031(0x12d)](_0x561cd0);}catch(_0x326e3f){logger[_0xec6031(0x108)](_0xec6031(0x121)+_0x33dc18+',\x20'+_0x561cd0+_0xec6031(0xff)+_0x326e3f);}fs[_0xec6031(0x17d)](_0x33dc18);}fs['unlinkSync'](_0x34ae7e),fs[_0xec6031(0x17d)](_0x4d7410),_0x561cd0&&(_0x3ac80c[_0xec6031(0x170)]=helper[_0xec6031(0x114)](_0x561cd0,_0x3e77a3[_0xec6031(0x143)],_0x3ac80c));const _0x46daf2=BrowserstackCLI[_0xec6031(0x1a7)]();try{await TestHubHandler[_0xec6031(0x181)](),await BrowserstackCLI['getInstance']()[_0xec6031(0x181)]();}catch(_0x488dec){console['log'](_0x488dec),_0x3e77a3[_0xec6031(0x1e4)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0xec6031(0x14a)](_0x488dec));}testOpsHelper[_0xec6031(0x13f)](),TestDetails[_0xec6031(0x1e1)](),await utilities[_0xec6031(0x185)](_0x3ac80c,_0x46daf2);});}module['exports']=run;function a14_0x55a5(){const _0x36fb03=['WTMsv','splice',',\x20CLI\x20running:\x20','BROWSERSTACK_CAPABILITIES','maxWorkers','start','info','isBrowserstackInfra','skipSessionStatus','testTimeout','printBuildLink','JEST','env','dQpcN','vfnAL','../utils/constants','FAlXB','CCptt','212vRThgp','isNotUndefined','jest-runner-','format','true','slice','mVhJV','--config','\x0a\x20\x20\x20\x20\x20\x20','SDK_SETUP','path','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','proxySettings','jest_browserstack.config.js','__isPlaywrightInstalled','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','rAZBa','customTestRunnerTemplate.js','testSequencer','maxRetries','platforms','default','RcxDA','Puppeteer\x20setup\x20error:\x20','eDmPR','platform','537442jMWdQK','\x20test\x20files\x20to\x20run.','pPdFs','Getting\x20your\x20jest\x20configs\x20from\x20','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','config','useW3C','wqlTH','isUndefined','child_process','browserStackPercyOptions','aVMJl','/internal/$1','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/playwright-helper','errorMessage','retryTestsOnFailure','reporters','test.setup.js','GAjaC','testObservability','BSTACK_USER_JEST_RUNNER','../../helpers/helper','writeFileSync','ASkXt','../../helpers/test-orchestration/testOrchestrationHandler','existsSync','findIndex','unlinkSync','abortBuildOnFailure','jest-config/build/readConfigFileAndSetRootDir.js','isRunning','stop','uLmgx','yjrtP','close','finalExecution','hgnsz','parallels__','Reodered\x20Test\x20Files:\x20','JRsPp','@playwright/test','testContextOptions','jest.config.','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','OKdzh','SDK_CLEANUP','failureThresholdCount','util','puppeteer','isCliEnabled','force','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','2147232yLgLtJ','getPackageType','JTKYP','IvRFJ','BSTACK_JEST_TEST_ENV','JHypy','testEnvironmentOptions',';\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','cjs','stringify','\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','initialize','RiKsE','Creating\x20','zafHZ','parallelsPerPlatform','length','isCLIEnabled','@jest/core','error','join','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','isTestOrchestrationEnabled','child\x20process\x20exited\x20with\x20code\x20','failFast','moduleNameMapper','setupTCGAuth','startsWith','checkAccessibilityPlatformConfig','runner','readInitialOptions','retries__','BwUbw','\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','lMkgf','assign','dcXew','@jest/core/build/ReporterDispatcher.js','Getting\x20your\x20jest\x20configs\x20from\x20package.json','test_before.setup.js','turboScaleUrl','../../helpers/accessibility-automation/helper','6UfpikW','48OuDtnP','prepareCapabilities','../../helpers/test-observability/constants','error\x20removing\x20tcg\x20config\x20file','logLevel','__isPuppeteerInstalled','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','end','workingDir','xEVOC','FRAMEWORKS','3646450YSageQ','requireModule','NiLAP','dirname','test-observability','cWTmG','accessibility','PVOnA','\x20with\x20browserstack\x20jest\x20configs','BROWSERSTACK_TEST_OBSERVABILITY_YML','data-hooks.js','../../helpers/test-observability/utils','testEnvironment','false','xqRDj','parseTestOrchestrationOptions','cwd','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','filterBrowserstackArgs','USER_CONFIG_DETAILS_PATH','cQchS','shutdown','winstonLogger','jest-circus','NWmzp','message','DeQUs','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','inherit','Lesjq','mVNyw','GTkbt','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','customEnvironment.js','5032678dkMsQw','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','setupFilesAfterEnv','Deleting\x20','reorderTestFiles','WhjKN','skipSessionName','jest_browserstack_results.json','gYexW','VwkSX','customImplements','jest','shouldProcessEventForTesthub','waYcG','findTestFiles','requireSeleniumWebdriver','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','^puppeteer-core/internal/(.*)','65308jxzDRE','resolve','QdFfJ','\x20:\x20','gdDjz','./test-observability/helper','OSYSW','push','nqpfQ','runInBand','exitCode','../../helpers/testhub/testhubHandler','debug','kPAIe','launchBuild','getInstance','TSuYH',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','setupFiles','setup','../../helpers/logger','../../helpers/BrowserStackSetup','testRunner','customTestRunner.js','getErrorMessageFromResults','../v2/browserstackCLI','FcNYh','LATjx','\x0amodule.exports\x20=\x20config;','TfeHr','jest-runner','rmSync','hDBmn','1561455mpEKbe','KWAHC','../../helpers/percy/utils','Preserving\x20user\x27s\x20Jest\x20runner:\x20','Error\x20while\x20parsing\x20','babJs','maxFailures','57005LaZBvJ','zzyGU','mjs','TTzUk','readFileSync','../utils/clientTroubleshootingService','PACKAGE_TYPE','Unable\x20to\x20find\x20jest-circus,\x20','./test-observability/test-details','parse','jest-config','Deleted\x20fail-fast\x20state\x20folder:\x20','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','jCUrO','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','resolveModule','jest-circus/build/runner.js'];a14_0x55a5=function(){return _0x36fb03;};return a14_0x55a5();}
@@ -1 +1 @@
1
- const a15_0x15807f=a15_0x1aa7;(function(_0x1a8520,_0x5d307a){const _0x4b9383=a15_0x1aa7,_0x14f38b=_0x1a8520();while(!![]){try{const _0x487c0d=-parseInt(_0x4b9383(0xd6))/0x1+parseInt(_0x4b9383(0xc2))/0x2*(parseInt(_0x4b9383(0xc0))/0x3)+parseInt(_0x4b9383(0xd8))/0x4+parseInt(_0x4b9383(0xd3))/0x5+parseInt(_0x4b9383(0xc8))/0x6*(-parseInt(_0x4b9383(0xd2))/0x7)+-parseInt(_0x4b9383(0xce))/0x8*(parseInt(_0x4b9383(0xc3))/0x9)+-parseInt(_0x4b9383(0xd5))/0xa*(-parseInt(_0x4b9383(0xc4))/0xb);if(_0x487c0d===_0x5d307a)break;else _0x14f38b['push'](_0x14f38b['shift']());}catch(_0x3d85b5){_0x14f38b['push'](_0x14f38b['shift']());}}}(a15_0x4afe,0x6dd59));const path=require(a15_0x15807f(0xc6)),{requireModule}=require(a15_0x15807f(0xd7));let initJestAdapter;try{initJestAdapter=requireModule(a15_0x15807f(0xcb),a15_0x15807f(0xd1));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a15_0x15807f(0xd1));}function a15_0x4afe(){const _0x4a19f1=['function','fdsKY','312zvFmDX','default','fsXgK','jest-circus','55293VEUglh','837800nUQdFi','includes','20399270iqPoCr','846155gPunLY','../../../helpers/helper','995060fWEWvb','6nmAGoe','customJestAdapterInit.js','535996xVOUeN','196389EPPOte','11BfebDI','PqgOV','path','requireInternalModule','642ecsApT','exports','initRequireModule','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js'];a15_0x4afe=function(){return _0x4a19f1;};return a15_0x4afe();}initJestAdapter=typeof initJestAdapter===a15_0x15807f(0xcc)?initJestAdapter:initJestAdapter[a15_0x15807f(0xcf)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,a15_0x15807f(0xc1));function a15_0x1aa7(_0x4a7e15,_0x518750){const _0x4afe11=a15_0x4afe();return a15_0x1aa7=function(_0x1aa753,_0x12aaef){_0x1aa753=_0x1aa753-0xc0;let _0x4dc000=_0x4afe11[_0x1aa753];return _0x4dc000;},a15_0x1aa7(_0x4a7e15,_0x518750);}module[a15_0x15807f(0xc9)]=(..._0x313b0b)=>{const _0x131d52=a15_0x15807f,_0x232f91={'fsXgK':'jestAdapterInit','PqgOV':function(_0x179752,_0x115eab){return _0x179752===_0x115eab;},'fdsKY':function(_0x1dc8ce,..._0x313362){return _0x1dc8ce(..._0x313362);}};return _0x313b0b[0x3][_0x131d52(0xca)]=_0x313b0b[0x3][_0x131d52(0xc7)],_0x313b0b[0x3]['requireInternalModule']=(..._0x51210b)=>{const _0xc2aedb=_0x131d52;if(_0x51210b[0x0]&&_0x51210b[0x0][_0xc2aedb(0xd4)](_0x232f91[_0xc2aedb(0xd0)])&&_0x232f91[_0xc2aedb(0xc5)](_0x51210b[0x1],undefined))return _0x313b0b[0x3][_0xc2aedb(0xca)](FRAMEWORK_INITIALIZER);return _0x313b0b[0x3]['initRequireModule'](..._0x51210b);},_0x232f91[_0x131d52(0xcd)](initJestAdapter,..._0x313b0b);};
1
+ const a15_0x28823e=a15_0x4608;(function(_0x536ee9,_0x2799b6){const _0x14aa08=a15_0x4608,_0x422250=_0x536ee9();while(!![]){try{const _0x3d1e60=parseInt(_0x14aa08(0x152))/0x1*(parseInt(_0x14aa08(0x156))/0x2)+parseInt(_0x14aa08(0x153))/0x3+-parseInt(_0x14aa08(0x14e))/0x4+-parseInt(_0x14aa08(0x143))/0x5+parseInt(_0x14aa08(0x157))/0x6+-parseInt(_0x14aa08(0x14f))/0x7*(parseInt(_0x14aa08(0x142))/0x8)+parseInt(_0x14aa08(0x144))/0x9;if(_0x3d1e60===_0x2799b6)break;else _0x422250['push'](_0x422250['shift']());}catch(_0x51b266){_0x422250['push'](_0x422250['shift']());}}}(a15_0x860e,0x76f61));const path=require(a15_0x28823e(0x14d)),{requireModule}=require(a15_0x28823e(0x14b));function a15_0x4608(_0x35ef19,_0x80cdff){const _0x860e1b=a15_0x860e();return a15_0x4608=function(_0x46083a,_0xc8f587){_0x46083a=_0x46083a-0x142;let _0xada964=_0x860e1b[_0x46083a];return _0xada964;},a15_0x4608(_0x35ef19,_0x80cdff);}let initJestAdapter;function a15_0x860e(){const _0x553149=['path','2660868kMiEXr','790517WazGRF','default','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','107AdEXmI','2616255SdfxzO','function','customJestAdapterInit.js','16642gIDzgK','2924550saYJvB','48etveMc','2931425qIKkhL','1498464iQdMxt','jest-circus/build/runner.js','jest-circus','join','jestAdapterInit','requireInternalModule','initRequireModule','../../../helpers/helper','hNtdd'];a15_0x860e=function(){return _0x553149;};return a15_0x860e();}try{initJestAdapter=requireModule(a15_0x28823e(0x151),a15_0x28823e(0x146));}catch{initJestAdapter=requireModule(a15_0x28823e(0x145),a15_0x28823e(0x146));}initJestAdapter=typeof initJestAdapter===a15_0x28823e(0x154)?initJestAdapter:initJestAdapter[a15_0x28823e(0x150)];const FRAMEWORK_INITIALIZER=path[a15_0x28823e(0x147)](__dirname,a15_0x28823e(0x155));module['exports']=(..._0x5e0f7f)=>{const _0x5d936c=a15_0x28823e,_0x4e15c3={'hNtdd':_0x5d936c(0x148),'vstiA':function(_0x55ba4c,_0x43101c){return _0x55ba4c===_0x43101c;},'GfFPP':function(_0x458875,..._0x45e0e0){return _0x458875(..._0x45e0e0);}};return _0x5e0f7f[0x3][_0x5d936c(0x14a)]=_0x5e0f7f[0x3][_0x5d936c(0x149)],_0x5e0f7f[0x3][_0x5d936c(0x149)]=(..._0x6df5c8)=>{const _0x4dc0e1=_0x5d936c;if(_0x6df5c8[0x0]&&_0x6df5c8[0x0]['includes'](_0x4e15c3[_0x4dc0e1(0x14c)])&&_0x4e15c3['vstiA'](_0x6df5c8[0x1],undefined))return _0x5e0f7f[0x3][_0x4dc0e1(0x14a)](FRAMEWORK_INITIALIZER);return _0x5e0f7f[0x3][_0x4dc0e1(0x14a)](..._0x6df5c8);},_0x4e15c3['GfFPP'](initJestAdapter,..._0x5e0f7f);};
@@ -1 +1 @@
1
- function a16_0x323d(){const _0x3bfd89=['fWkBV','vqyBp','OFGEx','percy','oLyan','../../../helpers/helper','5734134XBzdPW','edcaQ','test','projectName','skipSessionName','VKvcJ','../test-observability/obsReporter','OQwmc','quit','BSTACK_JEST_TEST_ENV','bstack:options','node','LYSnJ','capability','BSTACK_DELTA','projectConfig','../../../helpers/testhub/utils','ZiEIB','aAalc','test_start','shouldFailFast','modifyCommand','DBjYU','25yjGcyg','14QfAopA','debug','capabilities','21662wAUVMj','__driversArray','registerListeners','global','percyCaptureMode','isArray','__platformCaps','jestConfig','../../../helpers/test-observability/requestQueueHandler','../../utils/constants','browserstackPlatformIndex','failFastActive','testEnvironmentOptions','Builder','getInstance','vfzmh','KiYNi','sessionNameProvided','lKRjf','split','rvQWn','resolveTestEnvironment','cleanupDrivers','UdYIK','shouldProcessEventForTesthub','4921440ImBNqJ','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','mode','retries__','__drivers','buildName','cleanup','framework','__esModule','11424ACavSt','48PfLrfV','driver','join','../../../helpers/logger','oAXGc','errors','isTrue','configuration','MPhrk','cwd','requireModule','hXwbs','__webdriver','TEZjX','default','RHzdZ','870984renubQ','browserStackGlobals','testPath','../../../index','onTestDone','kOAuQ','name','builder','getTestEnvironment','nestedKeyValue','5|7|3|6|4|2|0|1','jest-config','WfHHJ','teardown','isNotUndefined','11TSyian','FRAMEWORKS','info','browserStackPercyOptions','15086784qvTNhg','test_done','iQoCP','shutdown','browserstackPercyBestPlatform','JEST','vjfKk','68MeYmig','../../../helpers/test-orchestration/failfastManager','24639kjpIwF','failFastOptions','jest-environment-node','__skipSessionStatus','browserstackAgentV2','__timeout','bojcP','skip','exports','winstonLogger','platformCaps','iPdkn','failFast','timeout__'];a16_0x323d=function(){return _0x3bfd89;};return a16_0x323d();}const a16_0x13c09d=a16_0x31d9;(function(_0x368d48,_0x41f307){const _0x243b33=a16_0x31d9,_0x35cb8b=_0x368d48();while(!![]){try{const _0x648f79=-parseInt(_0x243b33(0x202))/0x1*(parseInt(_0x243b33(0x1ff))/0x2)+parseInt(_0x243b33(0x1d3))/0x3*(parseInt(_0x243b33(0x1d1))/0x4)+-parseInt(_0x243b33(0x1fe))/0x5*(parseInt(_0x243b33(0x235))/0x6)+parseInt(_0x243b33(0x224))/0x7*(parseInt(_0x243b33(0x225))/0x8)+-parseInt(_0x243b33(0x1e7))/0x9+parseInt(_0x243b33(0x21b))/0xa*(parseInt(_0x243b33(0x244))/0xb)+parseInt(_0x243b33(0x248))/0xc;if(_0x648f79===_0x41f307)break;else _0x35cb8b['push'](_0x35cb8b['shift']());}catch(_0x30a684){_0x35cb8b['push'](_0x35cb8b['shift']());}}}(a16_0x323d,0x5dcd1));const helper=require(a16_0x13c09d(0x1e6)),constants=require(a16_0x13c09d(0x20b)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a16_0x13c09d(0x20a)),ObservabilityReporter=require(a16_0x13c09d(0x1ed)),testhubUtils=require(a16_0x13c09d(0x1f7)),logger=require(a16_0x13c09d(0x228))[a16_0x13c09d(0x1dc)],getTestEnvironment=((()=>{const _0x4d93b9=a16_0x13c09d,_0x36a3ef={};_0x36a3ef[_0x4d93b9(0x1f3)]='jest-resolve',_0x36a3ef[_0x4d93b9(0x234)]=_0x4d93b9(0x240);const _0x2fd09a=_0x36a3ef;try{const _0x32e913=helper['requireModule'](_0x2fd09a[_0x4d93b9(0x1f3)]);if(_0x32e913[_0x4d93b9(0x217)])return _0x32e913[_0x4d93b9(0x217)];const _0x5bcbe0=helper[_0x4d93b9(0x22f)](_0x2fd09a[_0x4d93b9(0x234)]);if(_0x5bcbe0[_0x4d93b9(0x23d)])return _0x5bcbe0['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x373f41=a16_0x13c09d,_0x5e0cdc={'mfyXk':function(_0x13a7d0,_0x3d9df9){return _0x13a7d0(_0x3d9df9);},'OQwmc':_0x373f41(0x1f2),'vfzmh':function(_0x258700,_0x2e7f0c){return _0x258700(_0x2e7f0c);},'MPhrk':_0x373f41(0x1d5),'lKRjf':function(_0x5d94d3,_0x3a5b79){return _0x5d94d3(_0x3a5b79);}},_0x532a3f=_0x5e0cdc['mfyXk'](getTestEnvironment,{'rootDir':process[_0x373f41(0x22e)](),'testEnvironment':process['env'][_0x373f41(0x1f0)]||_0x5e0cdc[_0x373f41(0x1ee)]});if(!_0x532a3f)return _0x5e0cdc[_0x373f41(0x211)](_interopRequireDefault,helper[_0x373f41(0x22f)](_0x5e0cdc[_0x373f41(0x22d)]));return _0x5e0cdc[_0x373f41(0x214)](_interopRequireDefault,helper[_0x373f41(0x22f)](_0x532a3f));})()),_seleniumWebdriver2=((()=>{const _0x2afacb=a16_0x13c09d,_0x1783c3={'iQoCP':function(_0x4dbbf6,_0x2f1173){return _0x4dbbf6(_0x2f1173);}};try{const _0x1f037a=helper['requireSeleniumWebdriver']();return helper[_0x2afacb(0x1fc)](),_0x1783c3[_0x2afacb(0x1cc)](_interopRequireDefault,_0x1f037a);}catch{return null;}})());function _interopRequireDefault(_0x24391d){const _0x128801=a16_0x13c09d;return _0x24391d&&_0x24391d[_0x128801(0x223)]?_0x24391d:{'default':_0x24391d};}function a16_0x31d9(_0x4901af,_0xdec094){const _0x323dcd=a16_0x323d();return a16_0x31d9=function(_0x31d9e1,_0x29070c){_0x31d9e1=_0x31d9e1-0x1cb;let _0x48476f=_0x323dcd[_0x31d9e1];return _0x48476f;},a16_0x31d9(_0x4901af,_0xdec094);}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x13c09d(0x233)][a16_0x13c09d(0x20f)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x13c09d(0x233)]{constructor(_0x1a1e92){const _0x49b767=a16_0x13c09d,_0x388281={'NCAqu':_0x49b767(0x1ef),'vjfKk':function(_0x497ae2,_0x5d406c){return _0x497ae2+_0x5d406c;},'KiYNi':_0x49b767(0x1f1),'DBjYU':function(_0x3f3ac0,_0x4369e7){return _0x3f3ac0(_0x4369e7);},'fWkBV':_0x49b767(0x1d2),'rvQWn':_0x49b767(0x23f),'iPdkn':_0x49b767(0x20e),'TEZjX':_0x49b767(0x247),'UdYIK':_0x49b767(0x1ce),'NLkwm':_0x49b767(0x206),'ZiEIB':'percy','dWFQV':function(_0x564b4b,_0x4fa44a){return _0x564b4b(_0x4fa44a);},'oLyan':_0x49b767(0x238)};super(_0x1a1e92),this[_0x49b767(0x205)][_0x49b767(0x1d8)]=0x0,this[_0x49b767(0x22c)]={};!_0x1a1e92[_0x49b767(0x20e)]&&(_0x1a1e92[_0x49b767(0x20e)]={});if(helper['isBrowserstackInfra']()){_0x1a1e92[_0x49b767(0x20e)]=_0x1a1e92['projectConfig']?_0x1a1e92[_0x49b767(0x1f6)][_0x49b767(0x20e)]:_0x1a1e92[_0x49b767(0x20e)];_seleniumWebdriver2&&(this[_0x49b767(0x23c)]=new _seleniumWebdriver2['default'][(_0x49b767(0x20f))]());this[_0x49b767(0x1f4)]=_0x1a1e92[_0x49b767(0x1f6)]?_0x1a1e92[_0x49b767(0x1f6)][_0x49b767(0x1f4)]:_0x1a1e92[_0x49b767(0x1f4)],this[_0x49b767(0x205)][_0x49b767(0x1d8)]=_0x388281[_0x49b767(0x1d0)](_0x1a1e92[_0x49b767(0x20e)][_0x49b767(0x1e0)]||0x1388,constants[_0x49b767(0x1f5)]),this[_0x49b767(0x1d4)]=_0x1a1e92[_0x49b767(0x20e)]['failFast'];if(this[_0x49b767(0x1d4)]){const _0x13736d=this['capability'][_0x388281['KiYNi']]?.[_0x49b767(0x220)]||'',_0x4d16b2=this[_0x49b767(0x1f4)][_0x388281[_0x49b767(0x212)]]?.[_0x49b767(0x1ea)]||'';this[_0x49b767(0x1df)]=new(_0x388281[_0x49b767(0x1fd)](require,_0x388281[_0x49b767(0x1e1)]))(this['failFastOptions'],_0x13736d,_0x4d16b2),this['global'][_0x49b767(0x20d)]=![];}helper[_0x49b767(0x243)](_0x1a1e92[_0x49b767(0x20e)][_0x49b767(0x21e)])&&(this['global']['__jestRetries']=_0x1a1e92['testEnvironmentOptions'][_0x49b767(0x21e)]);}if(testhubUtils[_0x49b767(0x21a)]()){const _0x574d5d=new ObservabilityReporter();_0x574d5d[_0x49b767(0x204)]();}this[_0x49b767(0x205)][_0x49b767(0x236)]={},this['configuration']=_0x1a1e92[_0x49b767(0x20e)],this[_0x49b767(0x22c)][_0x49b767(0x222)]=constants[_0x49b767(0x245)][_0x49b767(0x1cf)],this['global'][_0x49b767(0x20c)]=(_0x1a1e92[_0x49b767(0x1f6)]?_0x1a1e92[_0x49b767(0x1f6)]['browserstackPlatformIndex']:_0x1a1e92['browserstackPlatformIndex'])||0x0,this[_0x49b767(0x205)][_0x49b767(0x208)]=this['configuration']&&this[_0x49b767(0x22c)]['platformCaps']&&Array['isArray'](this[_0x49b767(0x22c)][_0x49b767(0x1dd)])&&this[_0x49b767(0x22c)]['platformCaps'][this[_0x49b767(0x205)][_0x49b767(0x20c)]]||{};const _0x3d26b1=this['global'][_0x49b767(0x20c)],_0x33e8ed={...this['configuration'],'capability':this[_0x49b767(0x22c)][_0x49b767(0x201)]&&Array[_0x49b767(0x207)](this['configuration']['capabilities'])&&this[_0x49b767(0x22c)][_0x49b767(0x201)][_0x3d26b1]||{},'platformCaps':this[_0x49b767(0x22c)][_0x49b767(0x1dd)]&&Array['isArray'](this[_0x49b767(0x22c)][_0x49b767(0x1dd)])&&this[_0x49b767(0x22c)][_0x49b767(0x1dd)][_0x3d26b1]||{}};delete _0x33e8ed['capabilities'],this[_0x49b767(0x205)][_0x49b767(0x209)]=_0x33e8ed;if(_seleniumWebdriver2){const _0x4bca81=_0x388281[_0x49b767(0x216)][_0x49b767(0x215)]('|');let _0x3264bb=0x0;while(!![]){switch(_0x4bca81[_0x3264bb++]){case'0':this[_0x49b767(0x205)][_0x49b767(0x1d6)]=helper[_0x49b767(0x22b)](this[_0x49b767(0x22c)]['skipSessionStatus']);continue;case'1':this[_0x49b767(0x205)][_0x49b767(0x221)]=async()=>{const _0x52bda0=_0x49b767;await this['global'][_0x52bda0(0x226)][_0x52bda0(0x1ef)](_0x388281['NCAqu']);};continue;case'2':helper[_0x49b767(0x22b)](this[_0x49b767(0x22c)][_0x49b767(0x1eb)])?this['global']['sessionNameProvided']=!![]:this[_0x49b767(0x205)][_0x49b767(0x213)]=![];continue;case'3':this[_0x49b767(0x205)][_0x49b767(0x1ce)]=helper['nestedKeyValue'](_0x1a1e92,[_0x388281[_0x49b767(0x1de)],_0x388281[_0x49b767(0x232)],_0x388281[_0x49b767(0x219)]]);continue;case'4':this['global'][_0x49b767(0x206)]=helper[_0x49b767(0x23e)](_0x1a1e92,[_0x388281['iPdkn'],_0x388281['TEZjX'],_0x388281['NLkwm']]);continue;case'5':this[_0x49b767(0x205)][_0x49b767(0x21f)]=[];continue;case'6':this['global'][_0x49b767(0x1e4)]=helper[_0x49b767(0x23e)](_0x1a1e92,[_0x388281[_0x49b767(0x1de)],_0x388281[_0x49b767(0x232)],_0x388281[_0x49b767(0x1f8)]]);continue;case'7':this['global']['__webdriver']=_0x388281['dWFQV'](require,_0x388281[_0x49b767(0x1e5)])[_0x49b767(0x1d7)]({...this[_0x49b767(0x22c)],'capability':this['capability']||{}},this,testhubUtils[_0x49b767(0x21a)]());continue;}break;}}}async[a16_0x13c09d(0x242)](){const _0x5bbc59=a16_0x13c09d;_seleniumWebdriver2&&(await helper[_0x5bbc59(0x218)](this['global'][_0x5bbc59(0x203)]),this[_0x5bbc59(0x205)][_0x5bbc59(0x231)]['Builder']=originalBuilder),await RequestQueueHandler[_0x5bbc59(0x210)]()[_0x5bbc59(0x1cd)]();}async['setup'](){}async['handleTestEvent'](_0x2c6c9c,_0x590d0d){const _0x3e5e99=a16_0x13c09d,_0x34b302={};_0x34b302[_0x3e5e99(0x1f9)]=function(_0x5d11c2,_0x12ab4f){return _0x5d11c2===_0x12ab4f;},_0x34b302[_0x3e5e99(0x23a)]=_0x3e5e99(0x1fa),_0x34b302[_0x3e5e99(0x1d9)]=function(_0x23946b,_0x25f383){return _0x23946b===_0x25f383;},_0x34b302[_0x3e5e99(0x1ec)]=_0x3e5e99(0x1da),_0x34b302[_0x3e5e99(0x241)]=function(_0x50e924,_0x4451c7){return _0x50e924===_0x4451c7;},_0x34b302[_0x3e5e99(0x230)]=_0x3e5e99(0x1cb),_0x34b302[_0x3e5e99(0x229)]='\x20>\x20',_0x34b302[_0x3e5e99(0x1e3)]=function(_0x1a108a,_0x334c61){return _0x1a108a===_0x334c61;},_0x34b302[_0x3e5e99(0x1e8)]='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x34b302[_0x3e5e99(0x1e2)]='teardown';const _0xf10691=_0x34b302,{name:_0x3598b3}=_0x2c6c9c;if(_0xf10691[_0x3e5e99(0x1f9)](_0x3598b3,_0xf10691[_0x3e5e99(0x23a)])){this[_0x3e5e99(0x205)]['testContext']=_0x2c6c9c[_0x3e5e99(0x1e9)];if(_0xf10691[_0x3e5e99(0x1d9)](this['global']['failFastActive'],!![])){const _0x42f772=_0x2c6c9c[_0x3e5e99(0x1e9)][_0x3e5e99(0x23b)];logger[_0x3e5e99(0x246)](_0x3e5e99(0x21c)+_0x42f772),_0x2c6c9c['test'][_0x3e5e99(0x21d)]=_0xf10691['VKvcJ'];}}if(this['failFast']&&_0xf10691[_0x3e5e99(0x241)](_0x3598b3,_0xf10691[_0x3e5e99(0x230)]))try{const _0x1a5ad6=_0x2c6c9c[_0x3e5e99(0x1e9)][_0x3e5e99(0x237)][_0x3e5e99(0x227)](_0xf10691[_0x3e5e99(0x229)]),_0x3ae241=_0x2c6c9c[_0x3e5e99(0x1e9)][_0x3e5e99(0x22a)];await this['failFast'][_0x3e5e99(0x239)](_0x1a5ad6,_0x3ae241);const _0x392855=await this[_0x3e5e99(0x1df)][_0x3e5e99(0x1fb)]();_0xf10691[_0x3e5e99(0x241)](this[_0x3e5e99(0x205)][_0x3e5e99(0x20d)],![])&&_0xf10691['OFGEx'](_0x392855,!![])&&(this['global'][_0x3e5e99(0x20d)]=!![]);}catch(_0x48191a){logger[_0x3e5e99(0x200)](_0xf10691['edcaQ'],_0x48191a['message']);}_0xf10691[_0x3e5e99(0x1e3)](_0x3598b3,_0xf10691[_0x3e5e99(0x1e2)])&&(this[_0x3e5e99(0x1df)]&&this[_0x3e5e99(0x1df)][_0x3e5e99(0x221)]());}}module[a16_0x13c09d(0x1db)]=CustomEnvironment;
1
+ const a16_0x487c49=a16_0x4e7d;function a16_0x31e9(){const _0x53ef3d=['registerListeners','browserstackAgentV2','../../../helpers/test-observability/utils','quit','teardown','__drivers','jest-resolve','testEnvironmentOptions','test','2116jOkxKq','941345ErEWAD','skipSessionName','../../../helpers/test-orchestration/failfastManager','FRAMEWORKS','JEST','__jestRetries','isTrue','browserstackPercyBestPlatform','failFastOptions','1188804JdlQYM','hqMOo','trUVZ','UUsJb','percy','DfFRf','__skipSessionStatus','llSmk','browserStackPercyOptions','7KKKWhk','test_done','EkSlO','capability','projectConfig','node','global','XOXnu','WGFRR','failFastActive','2487840nDAGOn','jestConfig','9MsobXq','test_start','nKCoX','isNotUndefined','__webdriver','vOXMR','errors','capabilities','../../utils/constants','info','timeout__','percyCaptureMode','browserstackPlatformIndex','tBOgA','builder','requireModule','FYCpT','OseAb','uOkNl','shouldProcessEventForTesthub','__esModule','__driversArray','framework','handleTestEvent','getInstance','wotNj','4638tubKCv','2372epjhBQ','split','250zVlCJl','default','sessionNameProvided','cleanup','../../../helpers/test-observability/requestQueueHandler','shutdown','286UvuWDP','lrNUY','JgmrZ','modifyCommand','exports','\x20>\x20','cYNGB','__platformCaps','cleanupDrivers','../../../helpers/helper','zZxuV','isBrowserstackInfra','ZOdqI','Builder','resolveTestEnvironment','join','UokCv','onTestDone','BSTACK_DELTA','winstonLogger','browserStackGlobals','env','QFVxp','478753NFSKlY','2|3|1|0|5|7|4|6','retries__','platformCaps','testContext','failFast','isArray','Kkdaf','1194OuWjZJ','../test-observability/obsReporter','skipSessionStatus','getTestEnvironment','__timeout','projectName','nestedKeyValue','vReAt','skip','668064SyVDKF','../../../helpers/testhub/utils','debug','configuration','jest-environment-node'];a16_0x31e9=function(){return _0x53ef3d;};return a16_0x31e9();}(function(_0x3ad8c9,_0x8279a9){const _0x4d6529=a16_0x4e7d,_0x37f382=_0x3ad8c9();while(!![]){try{const _0x47d45b=parseInt(_0x4d6529(0x209))/0x1*(parseInt(_0x4d6529(0x220))/0x2)+parseInt(_0x4d6529(0x1e1))/0x3*(-parseInt(_0x4d6529(0x1e2))/0x4)+-parseInt(_0x4d6529(0x221))/0x5+parseInt(_0x4d6529(0x1c5))/0x6*(-parseInt(_0x4d6529(0x1bb))/0x7)+parseInt(_0x4d6529(0x212))/0x8*(parseInt(_0x4d6529(0x1c7))/0x9)+parseInt(_0x4d6529(0x1e4))/0xa*(-parseInt(_0x4d6529(0x201))/0xb)+-parseInt(_0x4d6529(0x22a))/0xc*(-parseInt(_0x4d6529(0x1ea))/0xd);if(_0x47d45b===_0x8279a9)break;else _0x37f382['push'](_0x37f382['shift']());}catch(_0x18996b){_0x37f382['push'](_0x37f382['shift']());}}}(a16_0x31e9,0xe03c8));const helper=require(a16_0x487c49(0x1f3)),constants=require(a16_0x487c49(0x1cf)),{isTestObservabilitySession}=require(a16_0x487c49(0x219)),RequestQueueHandler=require(a16_0x487c49(0x1e8)),ObservabilityReporter=require(a16_0x487c49(0x20a)),testhubUtils=require(a16_0x487c49(0x213)),logger=require('../../../helpers/logger')[a16_0x487c49(0x1fd)],getTestEnvironment=((()=>{const _0x354349=a16_0x487c49,_0x566659={};_0x566659['OseAb']=_0x354349(0x21d),_0x566659[_0x354349(0x1d7)]='jest-config';const _0x12f803=_0x566659;try{const _0x44d26a=helper[_0x354349(0x1d6)](_0x12f803[_0x354349(0x1d8)]);if(_0x44d26a[_0x354349(0x1f8)])return _0x44d26a['resolveTestEnvironment'];const _0xe32154=helper[_0x354349(0x1d6)](_0x12f803[_0x354349(0x1d7)]);if(_0xe32154['getTestEnvironment'])return _0xe32154[_0x354349(0x20c)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x11dc88=a16_0x487c49,_0x5eef13={'JgmrZ':function(_0x4a63a4,_0x54fc01){return _0x4a63a4(_0x54fc01);},'DfFRf':_0x11dc88(0x1c0),'llSmk':_0x11dc88(0x216)},_0x2538a6=_0x5eef13['JgmrZ'](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x11dc88(0x1ff)]['BSTACK_JEST_TEST_ENV']||_0x5eef13[_0x11dc88(0x22f)]});if(!_0x2538a6)return _0x5eef13[_0x11dc88(0x1ec)](_interopRequireDefault,helper[_0x11dc88(0x1d6)](_0x5eef13[_0x11dc88(0x231)]));return _0x5eef13[_0x11dc88(0x1ec)](_interopRequireDefault,helper[_0x11dc88(0x1d6)](_0x2538a6));})()),_seleniumWebdriver2=((()=>{const _0x5e0e37=a16_0x487c49,_0xa001c1={'cYNGB':function(_0x29d57e,_0x2dc46b){return _0x29d57e(_0x2dc46b);}};try{const _0x7d5c72=helper['requireSeleniumWebdriver']();return helper[_0x5e0e37(0x1ed)](),_0xa001c1[_0x5e0e37(0x1f0)](_interopRequireDefault,_0x7d5c72);}catch{return null;}})());function a16_0x4e7d(_0x2ca226,_0x390388){const _0x31e977=a16_0x31e9();return a16_0x4e7d=function(_0x4e7d88,_0x578b58){_0x4e7d88=_0x4e7d88-0x1bb;let _0x56f7ee=_0x31e977[_0x4e7d88];return _0x56f7ee;},a16_0x4e7d(_0x2ca226,_0x390388);}function _interopRequireDefault(_0x86f676){const _0x241132=a16_0x487c49;return _0x86f676&&_0x86f676[_0x241132(0x1db)]?_0x86f676:{'default':_0x86f676};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x487c49(0x1e5)]['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x487c49(0x1e5)]{constructor(_0x1a8102){const _0x186cf1=a16_0x487c49,_0x5d74a0={'wkBWh':'quit','WGFRR':function(_0x14717a,_0x5ed5b8){return _0x14717a+_0x5ed5b8;},'wotNj':'bstack:options','naNEy':function(_0x308b06,_0xe185a6){return _0x308b06(_0xe185a6);},'vReAt':_0x186cf1(0x223),'vOXMR':_0x186cf1(0x202),'XOXnu':'testEnvironmentOptions','hqMOo':_0x186cf1(0x232),'Kkdaf':'percy','BNfwm':'browserstackPercyBestPlatform','QFVxp':function(_0x343742,_0x46d739){return _0x343742(_0x46d739);},'EkSlO':'../../../index','zZxuV':_0x186cf1(0x1d2)};super(_0x1a8102),this[_0x186cf1(0x1c1)][_0x186cf1(0x20d)]=0x0,this[_0x186cf1(0x215)]={};!_0x1a8102[_0x186cf1(0x21e)]&&(_0x1a8102[_0x186cf1(0x21e)]={});if(helper[_0x186cf1(0x1f5)]()){_0x1a8102[_0x186cf1(0x21e)]=_0x1a8102[_0x186cf1(0x1bf)]?_0x1a8102['projectConfig'][_0x186cf1(0x21e)]:_0x1a8102['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x186cf1(0x1d5)]=new _seleniumWebdriver2[(_0x186cf1(0x1e5))]['Builder']());this['capability']=_0x1a8102[_0x186cf1(0x1bf)]?_0x1a8102[_0x186cf1(0x1bf)]['capability']:_0x1a8102['capability'],this['global'][_0x186cf1(0x20d)]=_0x5d74a0[_0x186cf1(0x1c3)](_0x1a8102['testEnvironmentOptions'][_0x186cf1(0x1d1)]||0x1388,constants[_0x186cf1(0x1fc)]),this[_0x186cf1(0x229)]=_0x1a8102[_0x186cf1(0x21e)][_0x186cf1(0x206)];if(this['failFastOptions']){const _0x379da4=this[_0x186cf1(0x1be)][_0x5d74a0[_0x186cf1(0x1e0)]]?.['buildName']||'',_0x20edd7=this[_0x186cf1(0x1be)][_0x5d74a0[_0x186cf1(0x1e0)]]?.[_0x186cf1(0x20e)]||'';this[_0x186cf1(0x206)]=new(_0x5d74a0['naNEy'](require,_0x5d74a0[_0x186cf1(0x210)]))(this['failFastOptions'],_0x379da4,_0x20edd7),this[_0x186cf1(0x1c1)][_0x186cf1(0x1c4)]=![];}helper[_0x186cf1(0x1ca)](_0x1a8102[_0x186cf1(0x21e)]['retries__'])&&(this[_0x186cf1(0x1c1)][_0x186cf1(0x226)]=_0x1a8102['testEnvironmentOptions'][_0x186cf1(0x203)]);}if(testhubUtils[_0x186cf1(0x1da)]()){const _0x50c97a=new ObservabilityReporter();_0x50c97a[_0x186cf1(0x217)]();}this[_0x186cf1(0x1c1)][_0x186cf1(0x1fe)]={},this[_0x186cf1(0x215)]=_0x1a8102[_0x186cf1(0x21e)],this[_0x186cf1(0x215)][_0x186cf1(0x1dd)]=constants[_0x186cf1(0x224)][_0x186cf1(0x225)],this[_0x186cf1(0x1c1)][_0x186cf1(0x1d3)]=(_0x1a8102[_0x186cf1(0x1bf)]?_0x1a8102[_0x186cf1(0x1bf)][_0x186cf1(0x1d3)]:_0x1a8102['browserstackPlatformIndex'])||0x0,this['global'][_0x186cf1(0x1f1)]=this[_0x186cf1(0x215)]&&this['configuration'][_0x186cf1(0x204)]&&Array['isArray'](this[_0x186cf1(0x215)]['platformCaps'])&&this['configuration'][_0x186cf1(0x204)][this['global'][_0x186cf1(0x1d3)]]||{};const _0x2ab383=this[_0x186cf1(0x1c1)][_0x186cf1(0x1d3)],_0x33c842={...this[_0x186cf1(0x215)],'capability':this[_0x186cf1(0x215)][_0x186cf1(0x1ce)]&&Array[_0x186cf1(0x207)](this[_0x186cf1(0x215)][_0x186cf1(0x1ce)])&&this[_0x186cf1(0x215)][_0x186cf1(0x1ce)][_0x2ab383]||{},'platformCaps':this[_0x186cf1(0x215)][_0x186cf1(0x204)]&&Array[_0x186cf1(0x207)](this[_0x186cf1(0x215)]['platformCaps'])&&this['configuration'][_0x186cf1(0x204)][_0x2ab383]||{}};delete _0x33c842[_0x186cf1(0x1ce)],this['global'][_0x186cf1(0x1c6)]=_0x33c842;if(_seleniumWebdriver2){const _0x47d9ab=_0x5d74a0[_0x186cf1(0x1cc)][_0x186cf1(0x1e3)]('|');let _0x3d1136=0x0;while(!![]){switch(_0x47d9ab[_0x3d1136++]){case'0':this[_0x186cf1(0x1c1)][_0x186cf1(0x22e)]=helper[_0x186cf1(0x20f)](_0x1a8102,[_0x5d74a0['XOXnu'],_0x5d74a0[_0x186cf1(0x22b)],_0x5d74a0[_0x186cf1(0x208)]]);continue;case'1':this['global'][_0x186cf1(0x228)]=helper['nestedKeyValue'](_0x1a8102,[_0x5d74a0['XOXnu'],_0x5d74a0[_0x186cf1(0x22b)],_0x5d74a0['BNfwm']]);continue;case'2':this[_0x186cf1(0x1c1)][_0x186cf1(0x21c)]=[];continue;case'3':this['global'][_0x186cf1(0x1cb)]=_0x5d74a0[_0x186cf1(0x200)](require,_0x5d74a0[_0x186cf1(0x1bd)])[_0x186cf1(0x218)]({...this['configuration'],'capability':this[_0x186cf1(0x1be)]||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;case'4':this[_0x186cf1(0x1c1)][_0x186cf1(0x230)]=helper[_0x186cf1(0x227)](this[_0x186cf1(0x215)][_0x186cf1(0x20b)]);continue;case'5':this[_0x186cf1(0x1c1)][_0x186cf1(0x1d2)]=helper[_0x186cf1(0x20f)](_0x1a8102,[_0x5d74a0[_0x186cf1(0x1c2)],_0x5d74a0[_0x186cf1(0x22b)],_0x5d74a0[_0x186cf1(0x1f4)]]);continue;case'6':this[_0x186cf1(0x1c1)][_0x186cf1(0x1e7)]=async()=>{const _0x44bb77=_0x186cf1;await this['global']['driver'][_0x44bb77(0x21a)](_0x5d74a0['wkBWh']);};continue;case'7':helper[_0x186cf1(0x227)](this[_0x186cf1(0x215)][_0x186cf1(0x222)])?this[_0x186cf1(0x1c1)][_0x186cf1(0x1e6)]=!![]:this['global'][_0x186cf1(0x1e6)]=![];continue;}break;}}}async[a16_0x487c49(0x21b)](){const _0x5638dd=a16_0x487c49;_seleniumWebdriver2&&(await helper[_0x5638dd(0x1f2)](this[_0x5638dd(0x1c1)][_0x5638dd(0x1dc)]),this[_0x5638dd(0x1c1)][_0x5638dd(0x1cb)][_0x5638dd(0x1f7)]=originalBuilder),await RequestQueueHandler[_0x5638dd(0x1df)]()[_0x5638dd(0x1e9)]();}async['setup'](){}async[a16_0x487c49(0x1de)](_0x2650a4,_0x5561fc){const _0xc7ce74=a16_0x487c49,_0x6454f3={};_0x6454f3[_0xc7ce74(0x1f6)]=function(_0x31c7de,_0x5f06a7){return _0x31c7de===_0x5f06a7;},_0x6454f3['UokCv']=_0xc7ce74(0x1c8),_0x6454f3['eGFtl']=function(_0x101b05,_0x586aff){return _0x101b05===_0x586aff;},_0x6454f3[_0xc7ce74(0x1d4)]=_0xc7ce74(0x211),_0x6454f3[_0xc7ce74(0x22d)]=_0xc7ce74(0x1bc),_0x6454f3[_0xc7ce74(0x1eb)]=_0xc7ce74(0x1ef),_0x6454f3[_0xc7ce74(0x1d9)]=function(_0x5aa8d8,_0x5ae19b){return _0x5aa8d8===_0x5ae19b;},_0x6454f3['IebHv']='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x6454f3['trUVZ']=function(_0x46f0cc,_0x489fac){return _0x46f0cc===_0x489fac;},_0x6454f3[_0xc7ce74(0x1c9)]=_0xc7ce74(0x21b);const _0x18c103=_0x6454f3,{name:_0x1c977d}=_0x2650a4;if(_0x18c103['ZOdqI'](_0x1c977d,_0x18c103[_0xc7ce74(0x1fa)])){this[_0xc7ce74(0x1c1)][_0xc7ce74(0x205)]=_0x2650a4[_0xc7ce74(0x21f)];if(_0x18c103['eGFtl'](this[_0xc7ce74(0x1c1)][_0xc7ce74(0x1c4)],!![])){const _0x49c1ec=_0x2650a4['test']['name'];logger[_0xc7ce74(0x1d0)]('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x49c1ec),_0x2650a4['test']['mode']=_0x18c103[_0xc7ce74(0x1d4)];}}if(this[_0xc7ce74(0x206)]&&_0x18c103[_0xc7ce74(0x1f6)](_0x1c977d,_0x18c103[_0xc7ce74(0x22d)]))try{const _0x257308=_0x2650a4['test']['testPath'][_0xc7ce74(0x1f9)](_0x18c103[_0xc7ce74(0x1eb)]),_0x59b2e7=_0x2650a4[_0xc7ce74(0x21f)][_0xc7ce74(0x1cd)];await this['failFast'][_0xc7ce74(0x1fb)](_0x257308,_0x59b2e7);const _0x299fcf=await this['failFast']['shouldFailFast']();_0x18c103[_0xc7ce74(0x1d9)](this[_0xc7ce74(0x1c1)][_0xc7ce74(0x1c4)],![])&&_0x18c103['uOkNl'](_0x299fcf,!![])&&(this[_0xc7ce74(0x1c1)]['failFastActive']=!![]);}catch(_0x36f7ee){logger[_0xc7ce74(0x214)](_0x18c103['IebHv'],_0x36f7ee['message']);}_0x18c103[_0xc7ce74(0x22c)](_0x1c977d,_0x18c103['nKCoX'])&&(this[_0xc7ce74(0x206)]&&this['failFast'][_0xc7ce74(0x1e7)]());}}module[a16_0x487c49(0x1ee)]=CustomEnvironment;
@@ -1 +1 @@
1
- const a17_0x2106b7=a17_0x391f;function a17_0x4bc0(){const _0x1c2f0c=['OkpoM','title','JEST','currentTest','testAnalyticsId','akkaz','test_done','asyncError','853272gtVWck','test_start','RMxml','errorsDetailed','rcowX','POST','6nXvFpl','nvcbJ','hookData','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','../../../helpers/test-observability/requestQueueHandler','isCliEnabled','JLwDB','PRE','initialize',',\x20BROWSERSTACK_PUPPETEER=','unhandledErrors','iRfKh','286ierPwo','test_skip','../../../helpers/testhub/utils','started_at','QdIgC','Error\x20routing\x20to\x20JestTestFramework:\x20','jest-circus','_bstackTestName','aOkTB','OOwyp','testUUID','MEftj','../../../helpers/helper','XgJcW','name','wrHJx','dfFhy','qKrtZ','2507913JCFgcN','cDMVQ','BHIEd','setActiveHook','ftzjo','../../v2/state/testFrameworkState','status','../../../helpers/test-observability/error-handler','MGMtb','EventHandler','hook_start','YPLlS','unshift','pid','forEach','toISOString','type','__jestCurrentTestIdentifier','BaLQt','join','beforeEach','NScfD','OAEUj','vQIJm','60162rBxjGs','BEFORE_ALL','configuration','BROWSERSTACK_PUPPETEER','currentHook','MtXWt','hook_success','jest-circus/build/utils.js','../../../helpers/test-observability/utils','toString','SUSsS','ADSXi','match','pkGhx','../../v2/cliUtils','test','qKsov','map','136dmpOgY','../../v2/state/hookState','_bstackTestFailureReason','YCvJt','vlzeA','../test-observability/test-details','bootstrap','BROWSERSTACK_CLI_BIN_SESSION_ID','fail','BEFORE_EACH','hook','sendTestRunEvent','isArray','jestConfig','ihWyk','browserstackTestName','getAutomationFrameworkDetail','veMoW','JsKCT','rBAVW','AFTER_EACH','__workerDetails','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','trackEvent','Handling\x20test\x20event\x20for\x20CLI:\x20','length','\x20for\x20hook\x20type:\x20','vvFXK','nYsuY','8WeitFH','setFrameworkDetail','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','createTestFrameworkData','EtOFj','TxsPh','../../../helpers/logger','createIdentifierFromJestTest','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','getInstance','file','91RmcfKt','ViZPF','391466DAnDgI','PLAYWRIGHT','EbzDe','TestRunSkipped','tAzhP','_currentRetry','testIdentifier','MvgPn','includes','LyFdA','149703bmsxpx','afterEach','removeTestUUID',',\x20re-registering\x20event\x20handler','WBIWO','BLTlO','CCTDu','parse','has','MyVUc','uJswR','uJejx','shutdown','testInfo','afterAll','JtDip','VvyAN','YZcXJ','__bstackPlatformIndex','teardown','287370winYvE','failureMessage','debug','IvlhJ','removeActiveHook','true','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','jest-circus/build/state.js','eaetX','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','DNLrt','AgFPy','OVJzA','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','makeSingleTestResult','markedStatus','HookRunStarted','AFTER_ALL','isRunning','TEST','sgSKh','call','ROOT_DESCRIBE_BLOCK','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','hTPhr','testStarted','HookRunFinished','hook_failure','stack-trace','current_test','mxLgk','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','failed','36095aYLrIj','Error\x20reading\x20platformIndex\x20from\x20args:\x20','TestRunFinished','TlvGG','keys','SAvKy','getFileName','beforeAll',':hookAnalyticsId','message','hookAnalyticsId','TestRunStarted','BROWSERSTACK_PLATFORM_INDEX','retryOf','getTestFramework','PTXHy','env','parent','gDvqM','browserstackPlatformIndex','setTestUUID','format','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','hookUUID','jest-circus/build/jestAdapterInit.js','HookFinished','originalTest','aXTNL','../../../helpers/testhub/constants','EVENT','sFMWC','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','registerListeners','state','TDOsN','AnOjx','uuid','_bstackTestStatus','TqnLb','error','RwhbI','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','config','KwbBA','wlCEM','kHfrv','errors','JSoRB','PUPPETEER'];a17_0x4bc0=function(){return _0x1c2f0c;};return a17_0x4bc0();}(function(_0x38fa74,_0x2a2fa4){const _0xfaad1d=a17_0x391f,_0x11b139=_0x38fa74();while(!![]){try{const _0x4849d5=parseInt(_0xfaad1d(0x25a))/0x1+parseInt(_0xfaad1d(0x250))/0x2*(-parseInt(_0xfaad1d(0x1de))/0x3)+parseInt(_0xfaad1d(0x226))/0x4*(parseInt(_0xfaad1d(0x19f))/0x5)+-parseInt(_0xfaad1d(0x214))/0x6*(-parseInt(_0xfaad1d(0x24e))/0x7)+-parseInt(_0xfaad1d(0x243))/0x8*(parseInt(_0xfaad1d(0x1fc))/0x9)+parseInt(_0xfaad1d(0x17e))/0xa*(parseInt(_0xfaad1d(0x1ea))/0xb)+-parseInt(_0xfaad1d(0x1d8))/0xc;if(_0x4849d5===_0x2a2fa4)break;else _0x11b139['push'](_0x11b139['shift']());}catch(_0x3e79b1){_0x11b139['push'](_0x11b139['shift']());}}}(a17_0x4bc0,0x81be9));function a17_0x391f(_0x2ec2f5,_0x2d8c67){const _0x4bc039=a17_0x4bc0();return a17_0x391f=function(_0x391f10,_0x12d842){_0x391f10=_0x391f10-0x17d;let _0x1adedc=_0x4bc039[_0x391f10];return _0x1adedc;},a17_0x391f(_0x2ec2f5,_0x2d8c67);}const {requireModule}=require(a17_0x2106b7(0x1f6)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x2106b7(0x1e2)),TestDetails=require(a17_0x2106b7(0x22b)),{patchConsoleLogger,debug}=require(a17_0x2106b7(0x21c)),{o11yErrorHandler}=require(a17_0x2106b7(0x203)),{shouldProcessEventForTesthub}=require(a17_0x2106b7(0x1ec)),testHubConstants=require(a17_0x2106b7(0x1bb)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a17_0x2106b7(0x201)),HookState=require(a17_0x2106b7(0x227)),JestUtils=require('../../v2/utils/jest-utils'),{v4:uuidv4}=require(a17_0x2106b7(0x1c3)),util=require('util'),logger=require(a17_0x2106b7(0x249))['winstonLogger'],{FRAMEWORKS}=require('../../utils/constants');let exportsI;try{exportsI=requireModule(a17_0x2106b7(0x1be),a17_0x2106b7(0x1f0));}catch{exportsI=requireModule(a17_0x2106b7(0x1b7),a17_0x2106b7(0x1f0));}const initInitialize=exportsI[a17_0x2106b7(0x1e6)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x2bb98d=a17_0x2106b7,_0x2f720b={'wrHJx':'CLI\x20is\x20enabled\x20and\x20running.','YPLlS':function(_0x439106,_0xc8f576){return _0x439106(_0xc8f576);},'BHIEd':_0x2bb98d(0x222),'DNLrt':function(_0x35d11e,_0x127653){return _0x35d11e===_0x127653;},'SAvKy':_0x2bb98d(0x183)};try{const _0x54b64e=BrowserstackCLI[_0x2bb98d(0x24c)]();if(_0x54b64e[_0x2bb98d(0x1e3)]()&&_0x54b64e['isRunning']())return logger[_0x2bb98d(0x180)](_0x2f720b[_0x2bb98d(0x1f9)]),!![];const _0x58f32f=process[_0x2bb98d(0x1af)][_0x2bb98d(0x22d)];if(_0x58f32f&&_0x54b64e[_0x2bb98d(0x1e3)]()){if(!_0x54b64e[_0x2bb98d(0x190)]())try{const _0x2aa0b8=_0x2f720b['YPLlS'](require,_0x2f720b[_0x2bb98d(0x1fe)]),_0x139276=_0x2aa0b8[_0x2bb98d(0x236)]();(!_0x139276||!_0x139276[_0x2bb98d(0x1f8)])&&(_0x2f720b[_0x2bb98d(0x188)](process[_0x2bb98d(0x1af)][_0x2bb98d(0x217)],_0x2f720b[_0x2bb98d(0x1a4)])?_0x2aa0b8[_0x2bb98d(0x244)](FRAMEWORKS[_0x2bb98d(0x1d2)],FRAMEWORKS[_0x2bb98d(0x1cf)]):_0x2aa0b8[_0x2bb98d(0x244)](FRAMEWORKS[_0x2bb98d(0x1d2)],FRAMEWORKS[_0x2bb98d(0x251)])),await _0x54b64e[_0x2bb98d(0x22c)]();}catch(_0x1f46c1){return _0x2f720b[_0x2bb98d(0x207)](debug,_0x2bb98d(0x195)+util[_0x2bb98d(0x1b4)](_0x1f46c1)),![];}return _0x54b64e[_0x2bb98d(0x190)]();}return![];}catch(_0x1ccedf){return _0x2f720b[_0x2bb98d(0x207)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x2bb98d(0x1b4)](_0x1ccedf)),![];}}function getTestIdentifierForHook(_0x3d3dcb){const _0x40041a=a17_0x2106b7,_0x485ab2={};_0x485ab2['uJswR']=function(_0x2a1736,_0x2e4ea0){return _0x2a1736===_0x2e4ea0;},_0x485ab2[_0x40041a(0x181)]='beforeEach',_0x485ab2[_0x40041a(0x19c)]=_0x40041a(0x1a6);const _0x2c46fd=_0x485ab2;if(_0x2c46fd[_0x40041a(0x264)](_0x3d3dcb['type'],_0x2c46fd[_0x40041a(0x181)])||_0x2c46fd[_0x40041a(0x264)](_0x3d3dcb['type'],_0x2c46fd['mxLgk'])){let _0x445112=global['__jestCurrentTestIdentifier'];if(!_0x445112&&_0x2c46fd['uJswR'](_0x3d3dcb[_0x40041a(0x20c)],_0x2c46fd[_0x40041a(0x19c)])&&_0x3d3dcb['parent']){const _0x1bd248={};_0x1bd248['name']=_0x3d3dcb[_0x40041a(0x1b0)][_0x40041a(0x1f8)],_0x1bd248[_0x40041a(0x1b0)]=_0x3d3dcb[_0x40041a(0x1b0)]['parent'],_0x1bd248[_0x40041a(0x1d7)]=_0x3d3dcb[_0x40041a(0x1d7)],_0x1bd248[_0x40041a(0x24d)]=_0x3d3dcb[_0x40041a(0x24d)];const _0x3f4c02=_0x1bd248;_0x445112=jestUtils[_0x40041a(0x24a)](_0x3f4c02);}return _0x445112;}return global['__jestCurrentTestIdentifier'];}function mapHookTypeToState(_0x35c7f0){const _0x24ce1e=a17_0x2106b7,_0x521946={};_0x521946[_0x24ce1e(0x1a6)]=TestFrameworkState[_0x24ce1e(0x215)],_0x521946[_0x24ce1e(0x268)]=TestFrameworkState[_0x24ce1e(0x18f)],_0x521946[_0x24ce1e(0x210)]=TestFrameworkState['BEFORE_EACH'],_0x521946[_0x24ce1e(0x25b)]=TestFrameworkState[_0x24ce1e(0x23a)];const _0x29e40d=_0x521946;return _0x29e40d[_0x35c7f0]||TestFrameworkState[_0x24ce1e(0x22f)];}async function handleHookEventCLI(_0x554049,_0x5789a5,_0x5cb632){const _0x441432=a17_0x2106b7,_0xf07751={'QdIgC':function(_0x2a440e,_0x4ff9de){return _0x2a440e(_0x4ff9de);},'iRfKh':'stack-trace','ftzjo':function(_0x4a3d3f,_0x526db6){return _0x4a3d3f===_0x526db6;},'JSoRB':'ROOT_DESCRIBE_BLOCK','EtOFj':function(_0x14b3b4){return _0x14b3b4();},'MGMtb':function(_0x8ee7c7,_0x3ec507){return _0x8ee7c7===_0x3ec507;},'AgFPy':_0x441432(0x18e),'TlvGG':function(_0x3b5dda,_0x14d1dc){return _0x3b5dda===_0x14d1dc;},'vkbUv':function(_0x4b9b57,_0x405a6a){return _0x4b9b57(_0x405a6a);},'kHfrv':_0x441432(0x198),'LyFdA':'hook'};logger[_0x441432(0x180)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x5789a5+_0x441432(0x240)+_0x554049['type']);try{if(_0x554049['fn']&&_0x554049['fn'][_0x441432(0x21d)]()[_0x441432(0x220)](/browserstack internal helper hook/))return;if(_0x554049['parent']&&_0xf07751[_0x441432(0x200)](_0x554049[_0x441432(0x1b0)]['name'],_0xf07751[_0x441432(0x1ce)])){const _0x335f3b=_0x554049[_0x441432(0x1d7)]&&((()=>{const _0x3774f8=_0x441432;try{const _0x33b1e6=_0xf07751[_0x3774f8(0x1ee)](require,_0xf07751[_0x3774f8(0x1e9)]),_0x526477=_0x33b1e6[_0x3774f8(0x261)][_0x3774f8(0x193)](_0x33b1e6,_0x554049[_0x3774f8(0x1d7)]);return _0x526477[0x0]&&_0x526477[0x0]['getFileName']?_0x526477[0x0]['getFileName']():null;}catch(_0x5605ba){return logger[_0x3774f8(0x180)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x5605ba[_0x3774f8(0x1a8)]),null;}})())||_0x554049[_0x441432(0x24d)]||null;if(!_0x335f3b)return;}let _0x24cde5=_0x554049['hookAnalyticsId'];if(!_0x24cde5)_0x24cde5=_0xf07751[_0x441432(0x247)](uuidv4),_0x554049['hookAnalyticsId']=_0x24cde5;else _0x554049['markedStatus']&&(_0x24cde5=_0xf07751[_0x441432(0x247)](uuidv4),_0x554049[_0x441432(0x1a9)]=_0x24cde5,delete _0x554049[_0x441432(0x18d)]);_0xf07751[_0x441432(0x204)](_0x5789a5,_0xf07751[_0x441432(0x189)])&&(_0x554049[_0x441432(0x1ed)]=new Date()[_0x441432(0x20b)]());const _0x57ec27=_0xf07751['QdIgC'](getTestIdentifierForHook,_0x554049);!global[_0x441432(0x23b)]&&(global[_0x441432(0x23b)]={});if(_0xf07751[_0x441432(0x1a2)](_0x5789a5,_0xf07751[_0x441432(0x189)])){global['__workerDetails']['currentHook']={'hookUUID':_0x24cde5,'testIdentifier':_0x57ec27,'hookType':_0x554049[_0x441432(0x20c)],'startedAt':new Date()[_0x441432(0x20b)]()};const _0x3fdc25=BrowserstackCLI['getInstance']()[_0x441432(0x1ad)]();_0x3fdc25&&_0x3fdc25[_0x441432(0x1ff)]&&_0x3fdc25['setActiveHook'](_0x57ec27,_0x24cde5,_0x554049[_0x441432(0x20c)]);}const _0x196bc2=await jestUtils['createHookData'](_0x554049,_0x24cde5,_0x5789a5,_0x57ec27);if(!_0x196bc2)return;const _0x2c8021=_0xf07751['vkbUv'](mapHookTypeToState,_0x554049[_0x441432(0x20c)]),_0xe8ad23=_0xf07751[_0x441432(0x204)](_0x5789a5,_0xf07751['AgFPy'])?HookState[_0x441432(0x1e5)]:HookState[_0x441432(0x1dd)],_0x41f2fa=BrowserstackCLI[_0x441432(0x24c)]()[_0x441432(0x1ad)]();if(_0x41f2fa){const _0x17bde3={};_0x17bde3[_0x441432(0x1e0)]=_0x196bc2,await _0x41f2fa[_0x441432(0x23d)](_0x2c8021,_0xe8ad23,_0x17bde3);if(_0xf07751[_0x441432(0x200)](_0x5789a5,_0xf07751[_0x441432(0x1cc)])){const _0xfbb4c5={};_0xfbb4c5[_0x441432(0x1f4)]=_0x57ec27,_0xfbb4c5['type']=_0xf07751[_0x441432(0x259)],await _0x41f2fa[_0x441432(0x23d)](TestFrameworkState['LOG_REPORT'],HookState[_0x441432(0x1dd)],_0xfbb4c5),global['__workerDetails']&&global[_0x441432(0x23b)][_0x441432(0x218)]&&_0xf07751['TlvGG'](global[_0x441432(0x23b)][_0x441432(0x218)][_0x441432(0x1b6)],_0x24cde5)&&delete global[_0x441432(0x23b)][_0x441432(0x218)],_0x41f2fa[_0x441432(0x182)]&&_0x41f2fa[_0x441432(0x182)](_0x57ec27,_0x24cde5);}}}catch(_0x280e63){logger[_0x441432(0x1c6)](_0x441432(0x245)+util[_0x441432(0x1b4)](_0x280e63));throw _0x280e63;}}async function handleTestEventCLI(_0x26500e,_0x5e4345,_0x41da6b){const _0x120057=a17_0x2106b7,_0x4a4ac9={};_0x4a4ac9['BLTlO']=function(_0x5957e,_0x182948){return _0x5957e===_0x182948;},_0x4a4ac9[_0x120057(0x237)]=_0x120057(0x1aa),_0x4a4ac9[_0x120057(0x1fb)]=function(_0x2b78bb,_0x3e0b67){return _0x2b78bb>_0x3e0b67;},_0x4a4ac9[_0x120057(0x221)]=function(_0x3eee5e,_0x4e30db){return _0x3eee5e===_0x4e30db;},_0x4a4ac9[_0x120057(0x265)]=function(_0x2e40c3,_0x13bfcc){return _0x2e40c3&&_0x13bfcc;},_0x4a4ac9[_0x120057(0x21f)]=_0x120057(0x19e),_0x4a4ac9[_0x120057(0x1c7)]='TestRunFinished',_0x4a4ac9['wlCEM']=function(_0x218221,_0x3739d3){return _0x218221&&_0x3739d3;},_0x4a4ac9[_0x120057(0x229)]=_0x120057(0x223);const _0x354b7e=_0x4a4ac9;logger['debug'](_0x120057(0x23e)+_0x5e4345);try{let _0x5ea009;if(_0x354b7e[_0x120057(0x25f)](_0x5e4345,_0x354b7e[_0x120057(0x237)])){_0x5ea009=jestUtils[_0x120057(0x24a)](_0x26500e),global[_0x120057(0x20d)]=_0x5ea009,_0x26500e[_0x120057(0x1d4)]=_0x5ea009,_0x26500e['id']=_0x5ea009,_0x26500e[_0x120057(0x1ed)]=new Date()[_0x120057(0x20b)]();const _0x574f93=_0x41da6b[_0x120057(0x19b)];_0x41da6b[_0x120057(0x19b)]=_0x26500e,_0x26500e[_0x120057(0x1ac)]=null;if(_0x354b7e[_0x120057(0x1fb)](_0x26500e[_0x120057(0x255)],0x0)&&_0x574f93&&_0x354b7e['pkGhx'](_0x574f93[_0x120057(0x1d1)],_0x26500e[_0x120057(0x1d1)])){_0x26500e[_0x120057(0x1ac)]=_0x574f93[_0x120057(0x1d4)];const _0x249c03=await jestUtils[_0x120057(0x246)](_0x26500e,_0x5ea009,_0x354b7e['veMoW']),_0x167043=BrowserstackCLI[_0x120057(0x24c)]()[_0x120057(0x1ad)]();if(_0x354b7e[_0x120057(0x265)](_0x249c03,_0x167043)){const _0x1bceab={};_0x1bceab[_0x120057(0x223)]=_0x249c03,await _0x167043['trackEvent'](TestFrameworkState[_0x120057(0x191)],HookState[_0x120057(0x1e5)],_0x1bceab);}_0x574f93[_0x120057(0x1c0)]=_0x354b7e[_0x120057(0x21f)];const _0x3ab08d=await jestUtils[_0x120057(0x246)](_0x574f93,_0x574f93[_0x120057(0x1d4)],_0x354b7e[_0x120057(0x1c7)]);if(_0x354b7e[_0x120057(0x265)](_0x3ab08d,_0x167043)){const _0x2ad1f2={};_0x2ad1f2[_0x120057(0x223)]=_0x3ab08d,await _0x167043[_0x120057(0x23d)](TestFrameworkState[_0x120057(0x191)],HookState['POST'],_0x2ad1f2);}}else{const _0x243083=await jestUtils[_0x120057(0x246)](_0x26500e,_0x5ea009,_0x354b7e['veMoW']),_0x327f13=BrowserstackCLI[_0x120057(0x24c)]()[_0x120057(0x1ad)]();if(_0x354b7e['uJejx'](_0x243083,_0x327f13)){const _0x333f75={};_0x333f75[_0x120057(0x223)]=_0x243083,await _0x327f13[_0x120057(0x23d)](TestFrameworkState['TEST'],HookState['PRE'],_0x333f75);}}}else{_0x5ea009=_0x26500e[_0x120057(0x1d4)]||_0x26500e['id']||global[_0x120057(0x20d)];const _0x25d582=await jestUtils[_0x120057(0x246)](_0x26500e,_0x5ea009,_0x5e4345),_0x1a1e60=BrowserstackCLI[_0x120057(0x24c)]()[_0x120057(0x1ad)]();if(_0x354b7e[_0x120057(0x1cb)](_0x25d582,_0x1a1e60)){const _0x385782={};_0x385782[_0x120057(0x223)]=_0x25d582,_0x385782[_0x120057(0x1b9)]=_0x26500e,_0x385782[_0x120057(0x256)]=_0x5ea009,await _0x1a1e60[_0x120057(0x23d)](TestFrameworkState['TEST'],HookState[_0x120057(0x1dd)],_0x385782);const _0x2ce075={};_0x2ce075[_0x120057(0x1f4)]=_0x5ea009,_0x2ce075[_0x120057(0x20c)]=_0x354b7e[_0x120057(0x229)],await _0x1a1e60[_0x120057(0x23d)](TestFrameworkState['LOG_REPORT'],HookState[_0x120057(0x1dd)],_0x2ce075);}}}catch(_0x2c1d9c){logger[_0x120057(0x1c6)](_0x120057(0x18b)+util[_0x120057(0x1b4)](_0x2c1d9c));throw _0x2c1d9c;}}exportsI[a17_0x2106b7(0x1e6)]=(..._0x4f953d)=>{const _0x2421d8=a17_0x2106b7,_0xea46be={'EbzDe':function(_0xb2d995,_0x58081e){return _0xb2d995(_0x58081e);},'xLDZM':_0x2421d8(0x19a),'OVJzA':_0x2421d8(0x206),'nvcbJ':function(_0x2bc604,_0x2a0a1d){return _0x2bc604===_0x2a0a1d;},'aXTNL':_0x2421d8(0x194),'KesrO':function(_0x158e91){return _0x158e91();},'SUSsS':function(_0x3b0817,_0x1eb471,_0x31c1d0,_0x2e21a5){return _0x3b0817(_0x1eb471,_0x31c1d0,_0x2e21a5);},'OAEUj':_0x2421d8(0x18e),'FGTlp':_0x2421d8(0x21a),'tAzhP':function(_0x4c31fb){return _0x4c31fb();},'vlzeA':'HookRunFinished','CCTDu':function(_0x4c547c,_0x1e9bf4){return _0x4c547c(_0x1e9bf4);},'TxsPh':_0x2421d8(0x199),'TqnLb':_0x2421d8(0x1a6),'hTPhr':_0x2421d8(0x210),'VvyAN':_0x2421d8(0x25b),'AnOjx':function(_0x330bd4,_0x4054e5){return _0x330bd4>_0x4054e5;},'eaetX':function(_0x4a3f06){return _0x4a3f06();},'OOwyp':function(_0x6a5f6d,_0x4d1ec3,_0x5c5efd,_0x45b858){return _0x6a5f6d(_0x4d1ec3,_0x5c5efd,_0x45b858);},'sFMWC':function(_0x472358,_0x21f834){return _0x472358(_0x21f834);},'OkpoM':function(_0x11f447,_0x5ee5fb){return _0x11f447(_0x5ee5fb);},'TDOsN':_0x2421d8(0x1d9),'MtXWt':function(_0x4c005f,_0x617f34){return _0x4c005f!==_0x617f34;},'XgJcW':'\x20>\x20','MyVUc':function(_0x302b75){return _0x302b75();},'YZcXJ':_0x2421d8(0x1aa),'JtDip':function(_0x48abdc,_0x1445f0){return _0x48abdc(_0x1445f0);},'NScfD':_0x2421d8(0x1d6),'nYsuY':_0x2421d8(0x22e),'dfFhy':'failed','MvgPn':'passed','akkaz':function(_0x680b9,_0x1e332d){return _0x680b9||_0x1e332d;},'tGtDB':_0x2421d8(0x1a1),'JLwDB':function(_0x1f6046){return _0x1f6046();},'ziOqU':_0x2421d8(0x1eb),'cDMVQ':function(_0x3bceb8,_0x57964c){return _0x3bceb8(_0x57964c);},'rcowX':function(_0x48c2d0){return _0x48c2d0();},'rBAVW':function(_0x8c2982,_0x4b698d,_0x6e0490,_0x4d4bac){return _0x8c2982(_0x4b698d,_0x6e0490,_0x4d4bac);},'qKsov':_0x2421d8(0x253),'aOkTB':'run_describe_finish','gzflx':_0x2421d8(0x17d),'ZcLqF':function(_0x3d337f){return _0x3d337f();},'KwbBA':function(_0x3e2f0e,_0x1affd6){return _0x3e2f0e===_0x1affd6;},'PTXHy':'number','JsKCT':function(_0xbb0839){return _0xbb0839();},'BaLQt':function(_0x5675f4,_0x3d052e,_0x17f1fe){return _0x5675f4(_0x3d052e,_0x17f1fe);},'ihWyk':_0x2421d8(0x185),'MEftj':_0x2421d8(0x1f0),'yPtlZ':function(_0x3621f9,_0x3140ab,_0x138acf){return _0x3621f9(_0x3140ab,_0x138acf);},'QQEdw':_0x2421d8(0x21b),'gDvqM':function(_0x37bdb9){return _0x37bdb9();},'sgSKh':function(_0x41e6ca,_0x14ddbc,_0x31c30c){return _0x41e6ca(_0x14ddbc,_0x31c30c);},'vQIJm':_0x2421d8(0x205),'ViZPF':function(_0x122fde,_0x26dda5){return _0x122fde(_0x26dda5);},'WZLvT':function(_0x1f6c28,..._0x81af94){return _0x1f6c28(..._0x81af94);}};try{logger['debug'](_0x2421d8(0x23c)+_0xea46be['ZcLqF'](shouldProcessEventForTesthub)+_0x2421d8(0x1e7)+process['env']['BROWSERSTACK_PUPPETEER']);const _0x32e941=_0x4f953d&&_0x4f953d[0x0]?_0x4f953d[0x0]:{};let _0x28d20e=0x0;try{if(_0x32e941[_0x2421d8(0x1c9)]&&_0xea46be[_0x2421d8(0x1ca)](typeof _0x32e941['config'][_0x2421d8(0x1b2)],_0xea46be[_0x2421d8(0x1ae)]))_0x28d20e=_0x32e941['config'][_0x2421d8(0x1b2)];else{if(_0x32e941[_0x2421d8(0x216)]&&_0xea46be[_0x2421d8(0x1ca)](typeof _0x32e941[_0x2421d8(0x216)]['browserstackPlatformIndex'],_0xea46be['PTXHy']))_0x28d20e=_0x32e941[_0x2421d8(0x216)][_0x2421d8(0x1b2)];else global[_0x2421d8(0x233)]&&_0xea46be[_0x2421d8(0x1df)](typeof global['jestConfig'][_0x2421d8(0x1b2)],_0xea46be[_0x2421d8(0x1ae)])&&(_0x28d20e=global[_0x2421d8(0x233)][_0x2421d8(0x1b2)]);}}catch(_0x24b492){logger['debug'](_0x2421d8(0x1a0)+util[_0x2421d8(0x1b4)](_0x24b492));}global[_0x2421d8(0x26c)]=_0x28d20e,process[_0x2421d8(0x1af)][_0x2421d8(0x1ab)]=_0xea46be[_0x2421d8(0x1fd)](String,_0x28d20e);const _0x397172=new ObservabilityReporter();!_initializedPlatformIndices[_0x2421d8(0x262)](_0x28d20e)?(logger[_0x2421d8(0x180)]('[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex='+_0x28d20e),_initializedPlatformIndices['add'](_0x28d20e),_0xea46be[_0x2421d8(0x238)](shouldProcessEventForTesthub)&&(_0xea46be['JLwDB'](patchConsoleLogger),_0x397172[_0x2421d8(0x1bf)]())):logger[_0x2421d8(0x180)]('[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex='+_0x28d20e+_0x2421d8(0x25d));let _0x8fbb5d;try{_0x8fbb5d=_0xea46be[_0x2421d8(0x20e)](requireModule,_0xea46be[_0x2421d8(0x234)],_0xea46be[_0x2421d8(0x1f5)]);}catch{_0x8fbb5d=_0xea46be[_0x2421d8(0x260)](requireModule,_0xea46be[_0x2421d8(0x1f5)]);}let _0x5caa7f;try{_0x5caa7f=_0xea46be['yPtlZ'](requireModule,_0xea46be['QQEdw'],_0xea46be[_0x2421d8(0x1f5)])[_0x2421d8(0x18c)];}catch{_0x5caa7f=_0xea46be[_0x2421d8(0x269)](requireModule,_0xea46be[_0x2421d8(0x1f5)])[_0x2421d8(0x18c)]||(()=>({}));}const _0x45c01b=BrowserstackCLI[_0x2421d8(0x24c)]()[_0x2421d8(0x1e3)]();(_0xea46be[_0x2421d8(0x1b1)](shouldProcessEventForTesthub)||_0x45c01b)&&_0x8fbb5d['addEventHandler'](_0xea46be[_0x2421d8(0x192)](o11yErrorHandler,async(_0x5a35e4,_0x5b9d6a)=>{const _0x17e01a=_0x2421d8,_0x2f7613={'WBIWO':function(_0x562b6b,_0xcc8f8a){return _0xea46be['EbzDe'](_0x562b6b,_0xcc8f8a);},'vvFXK':_0xea46be['xLDZM']};switch(_0x5a35e4['name']){case _0xea46be[_0x17e01a(0x18a)]:if(_0x5a35e4[_0x17e01a(0x230)]['fn']&&_0x5a35e4['hook']['fn'][_0x17e01a(0x21d)]()['match'](/browserstack internal helper hook/))break;if(_0x5a35e4[_0x17e01a(0x230)]['parent']&&_0xea46be['nvcbJ'](_0x5a35e4[_0x17e01a(0x230)][_0x17e01a(0x1b0)][_0x17e01a(0x1f8)],_0xea46be[_0x17e01a(0x1ba)])){const _0x70b74d=_0x5a35e4['hook'][_0x17e01a(0x1d7)]&&((()=>{const _0x5eb065=_0x17e01a;try{const _0x2d4ef6=_0x2f7613[_0x5eb065(0x25e)](require,_0x2f7613[_0x5eb065(0x241)]),_0x16e7c6=_0x2d4ef6[_0x5eb065(0x261)][_0x5eb065(0x193)](_0x2d4ef6,_0x5a35e4[_0x5eb065(0x230)][_0x5eb065(0x1d7)]);return _0x16e7c6[0x0]&&_0x16e7c6[0x0][_0x5eb065(0x1a5)]?_0x16e7c6[0x0][_0x5eb065(0x1a5)]():null;}catch(_0x3ead3f){return logger['debug']('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x3ead3f[_0x5eb065(0x1a8)]),null;}})())||_0x5a35e4[_0x17e01a(0x230)]['file']||null;if(!_0x70b74d)break;}if(BrowserstackCLI[_0x17e01a(0x24c)]()[_0x17e01a(0x1e3)]()&&await _0xea46be['KesrO'](isCLIReady)){if(_0xea46be[_0x17e01a(0x252)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookStarted']))try{await _0xea46be[_0x17e01a(0x21e)](handleHookEventCLI,_0x5a35e4[_0x17e01a(0x230)],_0xea46be['OAEUj'],_0x5b9d6a);break;}catch(_0x9991f3){_0xea46be[_0x17e01a(0x252)](debug,_0x17e01a(0x1ef)+util['format'](_0x9991f3));}}if(_0xea46be[_0x17e01a(0x252)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookStarted'])){if(!_0x5a35e4[_0x17e01a(0x230)]['hookAnalyticsId']){const _0x2ca7f6=TestDetails[_0x17e01a(0x1b3)](process[_0x17e01a(0x209)]+_0x17e01a(0x1a7));_0x5a35e4[_0x17e01a(0x230)][_0x17e01a(0x1a9)]=_0x2ca7f6;}else _0x5a35e4[_0x17e01a(0x230)][_0x17e01a(0x18d)]&&(_0x5a35e4['hook'][_0x17e01a(0x1a9)]=TestDetails[_0x17e01a(0x1b3)](process[_0x17e01a(0x209)]+':hookAnalyticsId'),delete _0x5a35e4[_0x17e01a(0x230)][_0x17e01a(0x18d)]);_0x5a35e4[_0x17e01a(0x230)][_0x17e01a(0x1ed)]=new Date()['toISOString'](),await _0x397172[_0x17e01a(0x231)](_0x5a35e4[_0x17e01a(0x230)],undefined,![],_0xea46be[_0x17e01a(0x212)]);}break;case _0xea46be['FGTlp']:if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0xea46be[_0x17e01a(0x254)](isCLIReady)){if(_0xea46be[_0x17e01a(0x252)](shouldProcessEventForTesthub,testHubConstants[_0x17e01a(0x1bc)][_0x17e01a(0x1b8)]))try{await _0xea46be['SUSsS'](handleHookEventCLI,_0x5a35e4[_0x17e01a(0x230)],_0xea46be[_0x17e01a(0x22a)],_0x5b9d6a);break;}catch(_0x397a2b){_0xea46be[_0x17e01a(0x252)](debug,_0x17e01a(0x1ef)+util[_0x17e01a(0x1b4)](_0x397a2b));}}_0xea46be['CCTDu'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x17e01a(0x1b8)])&&(await _0x397172['sendTestRunEvent'](_0x5a35e4[_0x17e01a(0x230)],undefined,![],_0xea46be[_0x17e01a(0x22a)]),TestDetails[_0x17e01a(0x25c)](process['pid']+_0x17e01a(0x1a7)));break;case _0xea46be[_0x17e01a(0x248)]:[_0xea46be[_0x17e01a(0x1c5)],_0xea46be[_0x17e01a(0x196)],_0xea46be[_0x17e01a(0x26a)]][_0x17e01a(0x258)](_0x5a35e4[_0x17e01a(0x230)]['type'])&&(_0x397172['hook_failure']=_0x5a35e4[_0x17e01a(0x230)][_0x17e01a(0x20c)]),_0x5b9d6a[_0x17e01a(0x1e8)]&&_0xea46be[_0x17e01a(0x1c2)](_0x5b9d6a[_0x17e01a(0x1e8)][_0x17e01a(0x23f)],0x0)&&(_0x5a35e4[_0x17e01a(0x230)][_0x17e01a(0x1db)]=[_0x5b9d6a[_0x17e01a(0x1e8)][0x0][0x0]]);if(BrowserstackCLI[_0x17e01a(0x24c)]()[_0x17e01a(0x1e3)]()&&await _0xea46be[_0x17e01a(0x186)](isCLIReady)){if(_0xea46be['CCTDu'](shouldProcessEventForTesthub,testHubConstants[_0x17e01a(0x1bc)][_0x17e01a(0x1b8)]))try{await _0xea46be[_0x17e01a(0x1f3)](handleHookEventCLI,_0x5a35e4[_0x17e01a(0x230)],_0xea46be['vlzeA'],_0x5b9d6a);break;}catch(_0x52020a){_0xea46be[_0x17e01a(0x1bd)](debug,_0x17e01a(0x1ef)+util[_0x17e01a(0x1b4)](_0x52020a));}}_0xea46be[_0x17e01a(0x1d0)](shouldProcessEventForTesthub,testHubConstants[_0x17e01a(0x1bc)][_0x17e01a(0x1b8)])&&(await _0x397172[_0x17e01a(0x231)](_0x5a35e4[_0x17e01a(0x230)],undefined,![],_0xea46be[_0x17e01a(0x22a)]),TestDetails[_0x17e01a(0x25c)](process['pid']+_0x17e01a(0x1a7)));break;case _0xea46be[_0x17e01a(0x1c1)]:try{let _0x14913d=_0x5a35e4[_0x17e01a(0x223)][_0x17e01a(0x1f8)]||'';try{let _0x49dc62=_0x5a35e4['test']['parent'];const _0x5b2883=[_0x14913d];while(_0x49dc62&&_0x49dc62[_0x17e01a(0x1f8)]&&_0xea46be[_0x17e01a(0x219)](_0x49dc62[_0x17e01a(0x1f8)],_0xea46be[_0x17e01a(0x1ba)])){_0x5b2883[_0x17e01a(0x208)](_0x49dc62[_0x17e01a(0x1f8)]),_0x49dc62=_0x49dc62[_0x17e01a(0x1b0)];}_0x14913d=_0x5b2883[_0x17e01a(0x20f)](_0xea46be[_0x17e01a(0x1f7)]);}catch(_0x4b6316){logger[_0x17e01a(0x180)](_0x17e01a(0x1b5)+_0x4b6316[_0x17e01a(0x1a8)]);}process[_0x17e01a(0x1f1)]=_0x14913d,process[_0x17e01a(0x1c4)]=null,process[_0x17e01a(0x228)]=null,logger[_0x17e01a(0x180)](_0x17e01a(0x1c8)+_0x14913d+'\x22');if(!global[_0x17e01a(0x23b)]){const _0x1af017={};_0x1af017['currentTest']={},global[_0x17e01a(0x23b)]=_0x1af017;}!global[_0x17e01a(0x23b)][_0x17e01a(0x1d3)]&&(global[_0x17e01a(0x23b)]['currentTest']={});const _0x4fa11e={};_0x4fa11e[_0x17e01a(0x1d1)]=_0x14913d,_0x4fa11e[_0x17e01a(0x1f8)]=_0x14913d,global[_0x17e01a(0x23b)][_0x17e01a(0x1d3)][_0x17e01a(0x267)]=_0x4fa11e,global[_0x17e01a(0x235)]=_0x14913d;}catch(_0x5ed91f){logger['debug'](_0x17e01a(0x24b)+_0x5ed91f['message']);}if(BrowserstackCLI[_0x17e01a(0x24c)]()['isCliEnabled']()&&await _0xea46be[_0x17e01a(0x263)](isCLIReady))try{await _0xea46be['OOwyp'](handleTestEventCLI,_0x5a35e4['test'],_0xea46be[_0x17e01a(0x26b)],_0x397172);break;}catch(_0x3cfc48){_0xea46be[_0x17e01a(0x269)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x17e01a(0x1b4)](_0x3cfc48));}_0xea46be['MyVUc'](shouldProcessEventForTesthub)&&await _0x397172[_0x17e01a(0x197)](_0x5a35e4[_0x17e01a(0x223)]);break;case _0xea46be[_0x17e01a(0x211)]:_0x5a35e4[_0x17e01a(0x223)]={..._0xea46be[_0x17e01a(0x1d0)](_0x5caa7f,_0x5a35e4[_0x17e01a(0x223)]),..._0x5a35e4[_0x17e01a(0x223)]};try{const _0x1f8c7d=_0x5a35e4['test'][_0x17e01a(0x1cd)]||[],_0x17c6eb=_0xea46be[_0x17e01a(0x1c2)](_0x1f8c7d[_0x17e01a(0x23f)],0x0)||_0xea46be[_0x17e01a(0x1df)](_0x5a35e4[_0x17e01a(0x223)][_0x17e01a(0x202)],_0xea46be[_0x17e01a(0x242)]),_0x4289c2=_0x17c6eb?_0xea46be[_0x17e01a(0x1fa)]:_0xea46be[_0x17e01a(0x257)];let _0x506325='';_0x17c6eb&&(_0x506325=_0x1f8c7d[_0x17e01a(0x225)](_0x57d854=>{const _0x2983f2=_0x17e01a;if(Array[_0x2983f2(0x232)](_0x57d854))return _0x57d854[_0x2983f2(0x225)](_0x2ab9cf=>_0x2ab9cf&&_0x2ab9cf['message']||String(_0x2ab9cf))['join'](';\x20');return _0x57d854&&_0x57d854[_0x2983f2(0x1a8)]||_0x2f7613[_0x2983f2(0x25e)](String,_0x57d854);})[_0x17e01a(0x20f)](';\x20')),process[_0x17e01a(0x1c4)]=_0x4289c2,process[_0x17e01a(0x228)]=_0xea46be[_0x17e01a(0x1d5)](_0x506325,''),logger[_0x17e01a(0x180)](_0x17e01a(0x184)+_0x4289c2+'\x22'),global[_0x17e01a(0x23b)]&&global[_0x17e01a(0x23b)]['currentTest']&&(!global[_0x17e01a(0x23b)][_0x17e01a(0x1d3)]['testInfo']&&(global['__workerDetails'][_0x17e01a(0x1d3)][_0x17e01a(0x267)]={}),global['__workerDetails']['currentTest']['testInfo'][_0x17e01a(0x202)]=_0x4289c2,_0x17c6eb&&(global['__workerDetails']['currentTest'][_0x17e01a(0x267)][_0x17e01a(0x17f)]=_0x506325));}catch(_0x17cffd){logger[_0x17e01a(0x180)](_0x17e01a(0x1e1)+_0x17cffd[_0x17e01a(0x1a8)]);}if(!_0x5a35e4[_0x17e01a(0x223)][_0x17e01a(0x18d)]){_0x5a35e4[_0x17e01a(0x223)][_0x17e01a(0x18d)]=!![];if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0xea46be[_0x17e01a(0x254)](isCLIReady))try{await _0xea46be[_0x17e01a(0x21e)](handleTestEventCLI,_0x5a35e4[_0x17e01a(0x223)],_0xea46be['tGtDB'],_0x397172);break;}catch(_0x3859a9){_0xea46be[_0x17e01a(0x1bd)](debug,_0x17e01a(0x1ef)+util[_0x17e01a(0x1b4)](_0x3859a9));}_0xea46be[_0x17e01a(0x1e4)](shouldProcessEventForTesthub)&&await _0x397172[_0x17e01a(0x231)](_0x5a35e4['test']);}break;case _0xea46be['ziOqU']:_0x5a35e4[_0x17e01a(0x223)]={..._0xea46be['cDMVQ'](_0x5caa7f,_0x5a35e4['test']),..._0x5a35e4[_0x17e01a(0x223)]};if(!_0x5a35e4[_0x17e01a(0x223)][_0x17e01a(0x18d)]){_0x5a35e4[_0x17e01a(0x223)][_0x17e01a(0x18d)]=!![];if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0xea46be[_0x17e01a(0x1dc)](isCLIReady))try{await _0xea46be[_0x17e01a(0x239)](handleTestEventCLI,_0x5a35e4[_0x17e01a(0x223)],_0xea46be[_0x17e01a(0x224)],_0x397172);break;}catch(_0x5c8a07){_0xea46be['JtDip'](debug,_0x17e01a(0x1ef)+util[_0x17e01a(0x1b4)](_0x5c8a07));}_0xea46be[_0x17e01a(0x1dc)](shouldProcessEventForTesthub)&&await _0x397172[_0x17e01a(0x231)](_0x5a35e4[_0x17e01a(0x223)],undefined,![],_0xea46be[_0x17e01a(0x224)]);}break;case _0xea46be[_0x17e01a(0x1f2)]:_0x397172[_0x17e01a(0x199)]=null;break;case _0xea46be['gzflx']:await RequestQueueHandler[_0x17e01a(0x24c)]()[_0x17e01a(0x266)](),process['removeAllListeners']();break;default:}},_0xea46be[_0x2421d8(0x213)]));}catch(_0x527788){_0xea46be[_0x2421d8(0x24f)](debug,_0x2421d8(0x19d)+_0x527788);}return _0xea46be['WZLvT'](initInitialize,..._0x4f953d);};try{Object[a17_0x2106b7(0x1a3)](exportsI)[a17_0x2106b7(0x20a)](_0x4e87fa=>{const _0x21cdae=a17_0x2106b7,_0x479860={'RMxml':function(_0x11d3bd,_0x47cf6d){return _0x11d3bd(_0x47cf6d);}};try{exports&&(exports[_0x4e87fa]=exportsI[_0x4e87fa]);}catch(_0x361979){_0x479860[_0x21cdae(0x1da)](debug,_0x21cdae(0x187)+_0x361979);}});}catch(a17_0x36b74d){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x36b74d);}
1
+ const a17_0x38f8fa=a17_0x4194;(function(_0x466d7a,_0x2ed3c3){const _0x2f6aa9=a17_0x4194,_0x222223=_0x466d7a();while(!![]){try{const _0x525fb2=-parseInt(_0x2f6aa9(0x164))/0x1+-parseInt(_0x2f6aa9(0x184))/0x2+-parseInt(_0x2f6aa9(0x12c))/0x3*(parseInt(_0x2f6aa9(0x12d))/0x4)+-parseInt(_0x2f6aa9(0x102))/0x5*(parseInt(_0x2f6aa9(0x183))/0x6)+parseInt(_0x2f6aa9(0xc8))/0x7*(-parseInt(_0x2f6aa9(0xd0))/0x8)+parseInt(_0x2f6aa9(0x148))/0x9+parseInt(_0x2f6aa9(0x171))/0xa;if(_0x525fb2===_0x2ed3c3)break;else _0x222223['push'](_0x222223['shift']());}catch(_0x1dd3cc){_0x222223['push'](_0x222223['shift']());}}}(a17_0x5c76,0x5cb1d));const {requireModule}=require(a17_0x38f8fa(0x13b)),ObservabilityReporter=require(a17_0x38f8fa(0x16f)),RequestQueueHandler=require(a17_0x38f8fa(0xed)),TestDetails=require(a17_0x38f8fa(0xfd)),{patchConsoleLogger,debug}=require('../../../helpers/test-observability/utils'),{o11yErrorHandler}=require(a17_0x38f8fa(0x14a)),{shouldProcessEventForTesthub}=require(a17_0x38f8fa(0x1b1)),testHubConstants=require(a17_0x38f8fa(0x153)),BrowserstackCLI=require(a17_0x38f8fa(0x1a8)),TestFrameworkState=require(a17_0x38f8fa(0xff)),HookState=require(a17_0x38f8fa(0x128)),JestUtils=require(a17_0x38f8fa(0x159)),{v4:uuidv4}=require('uuid'),util=require(a17_0x38f8fa(0xee)),logger=require('../../../helpers/logger')['winstonLogger'],{FRAMEWORKS}=require(a17_0x38f8fa(0x149));let exportsI;try{exportsI=requireModule(a17_0x38f8fa(0x19a),a17_0x38f8fa(0x188));}catch{exportsI=requireModule(a17_0x38f8fa(0x140),'jest-circus');}const initInitialize=exportsI[a17_0x38f8fa(0x167)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x3542b5=a17_0x38f8fa,_0xf0453={'XfsLy':_0x3542b5(0xf0),'laATX':function(_0x5c993e,_0x5ad456){return _0x5c993e(_0x5ad456);},'fuSnQ':_0x3542b5(0x192),'TNxMD':function(_0x3434f5,_0x19a7f8){return _0x3434f5===_0x19a7f8;},'JpWdH':_0x3542b5(0x13a),'UPHYv':function(_0x27e673,_0x33fb34){return _0x27e673(_0x33fb34);}};try{const _0x4f53b1=BrowserstackCLI[_0x3542b5(0xcf)]();if(_0x4f53b1['isCliEnabled']()&&_0x4f53b1[_0x3542b5(0x179)]())return logger[_0x3542b5(0x132)](_0xf0453[_0x3542b5(0x158)]),!![];const _0x3e0875=process['env'][_0x3542b5(0x113)];if(_0x3e0875&&_0x4f53b1[_0x3542b5(0xd9)]()){if(!_0x4f53b1['isRunning']())try{const _0x1e7e84=_0xf0453[_0x3542b5(0xe4)](require,_0xf0453[_0x3542b5(0x161)]),_0x179676=_0x1e7e84[_0x3542b5(0x143)]();(!_0x179676||!_0x179676[_0x3542b5(0x13c)])&&(_0xf0453[_0x3542b5(0xd1)](process['env'][_0x3542b5(0x1a5)],_0xf0453[_0x3542b5(0x150)])?_0x1e7e84[_0x3542b5(0x152)](FRAMEWORKS[_0x3542b5(0x123)],FRAMEWORKS[_0x3542b5(0x1ab)]):_0x1e7e84[_0x3542b5(0x152)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x3542b5(0x115)])),await _0x4f53b1['bootstrap']();}catch(_0x23782e){return _0xf0453['laATX'](debug,_0x3542b5(0x104)+util[_0x3542b5(0x177)](_0x23782e)),![];}return _0x4f53b1['isRunning']();}return![];}catch(_0x51d6ad){return _0xf0453[_0x3542b5(0xe6)](debug,_0x3542b5(0xef)+util[_0x3542b5(0x177)](_0x51d6ad)),![];}}function getTestIdentifierForHook(_0xd719cd){const _0x2bfea9=a17_0x38f8fa,_0x41d3e7={};_0x41d3e7[_0x2bfea9(0xfa)]=function(_0x4740df,_0x4985d8){return _0x4740df===_0x4985d8;},_0x41d3e7[_0x2bfea9(0x198)]=_0x2bfea9(0xd4),_0x41d3e7[_0x2bfea9(0x166)]=function(_0x4f2748,_0x568f5d){return _0x4f2748===_0x568f5d;},_0x41d3e7[_0x2bfea9(0x170)]=_0x2bfea9(0x15a),_0x41d3e7['mmNXu']=function(_0x43382c,_0x22cbbd){return _0x43382c===_0x22cbbd;};const _0x4ffeb6=_0x41d3e7;if(_0x4ffeb6[_0x2bfea9(0xfa)](_0xd719cd[_0x2bfea9(0x120)],_0x4ffeb6[_0x2bfea9(0x198)])||_0x4ffeb6['cHUqa'](_0xd719cd['type'],_0x4ffeb6[_0x2bfea9(0x170)])){let _0x1fce5a=global[_0x2bfea9(0x194)];if(!_0x1fce5a&&_0x4ffeb6[_0x2bfea9(0xd7)](_0xd719cd[_0x2bfea9(0x120)],_0x4ffeb6[_0x2bfea9(0x170)])&&_0xd719cd['parent']){const _0x2ea32f={};_0x2ea32f[_0x2bfea9(0x13c)]=_0xd719cd[_0x2bfea9(0x10d)][_0x2bfea9(0x13c)],_0x2ea32f[_0x2bfea9(0x10d)]=_0xd719cd[_0x2bfea9(0x10d)][_0x2bfea9(0x10d)],_0x2ea32f[_0x2bfea9(0x130)]=_0xd719cd[_0x2bfea9(0x130)],_0x2ea32f[_0x2bfea9(0x156)]=_0xd719cd[_0x2bfea9(0x156)];const _0x2b63bb=_0x2ea32f;_0x1fce5a=jestUtils[_0x2bfea9(0x11b)](_0x2b63bb);}return _0x1fce5a;}return global[_0x2bfea9(0x194)];}function mapHookTypeToState(_0x42f61a){const _0x298b56=a17_0x38f8fa,_0xfba000={};_0xfba000[_0x298b56(0x15a)]=TestFrameworkState['BEFORE_ALL'],_0xfba000[_0x298b56(0x157)]=TestFrameworkState[_0x298b56(0x114)],_0xfba000[_0x298b56(0xd4)]=TestFrameworkState['BEFORE_EACH'],_0xfba000[_0x298b56(0x163)]=TestFrameworkState[_0x298b56(0x16c)];const _0x287f91=_0xfba000;return _0x287f91[_0x42f61a]||TestFrameworkState[_0x298b56(0xdb)];}async function handleHookEventCLI(_0x5dcdf0,_0xde3a58,_0x5379c2){const _0x443d74=a17_0x38f8fa,_0x2c6db9={'lXzuA':function(_0x5a3211,_0x5a018b){return _0x5a3211(_0x5a018b);},'uJnmu':_0x443d74(0xfc),'eIDtq':function(_0x5d3c0b,_0x4081a6){return _0x5d3c0b===_0x4081a6;},'hUPtH':_0x443d74(0xf7),'OlSNr':function(_0xdedc9c){return _0xdedc9c();},'TjCGZ':_0x443d74(0x14d),'jOliJ':function(_0x5938c8,_0x29385f){return _0x5938c8(_0x29385f);},'xDUft':function(_0x73b1c2,_0x2c8445){return _0x73b1c2===_0x2c8445;},'MLeJv':function(_0x2486a1,_0x1121ad){return _0x2486a1===_0x1121ad;},'aTZTL':function(_0x95e1c8,_0x7b80e){return _0x95e1c8===_0x7b80e;},'HMbTN':_0x443d74(0x14b),'FPWPf':_0x443d74(0x17c)};logger[_0x443d74(0x132)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0xde3a58+'\x20for\x20hook\x20type:\x20'+_0x5dcdf0[_0x443d74(0x120)]);try{if(_0x5dcdf0['fn']&&_0x5dcdf0['fn'][_0x443d74(0xd6)]()[_0x443d74(0xcc)](/browserstack internal helper hook/))return;if(_0x5dcdf0['parent']&&_0x2c6db9[_0x443d74(0x124)](_0x5dcdf0['parent']['name'],_0x2c6db9['hUPtH'])){const _0x1bde31=_0x5dcdf0['asyncError']&&((()=>{const _0x5ee627=_0x443d74;try{const _0x3c734e=_0x2c6db9['lXzuA'](require,_0x2c6db9[_0x5ee627(0x11f)]),_0x108789=_0x3c734e[_0x5ee627(0xe0)][_0x5ee627(0x155)](_0x3c734e,_0x5dcdf0[_0x5ee627(0x130)]);return _0x108789[0x0]&&_0x108789[0x0]['getFileName']?_0x108789[0x0]['getFileName']():null;}catch(_0x336f62){return logger[_0x5ee627(0x132)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x336f62[_0x5ee627(0xce)]),null;}})())||_0x5dcdf0[_0x443d74(0x156)]||null;if(!_0x1bde31)return;}let _0x3d0aa4=_0x5dcdf0[_0x443d74(0xe9)];if(!_0x3d0aa4)_0x3d0aa4=_0x2c6db9[_0x443d74(0x100)](uuidv4),_0x5dcdf0['hookAnalyticsId']=_0x3d0aa4;else _0x5dcdf0['markedStatus']&&(_0x3d0aa4=_0x2c6db9[_0x443d74(0x100)](uuidv4),_0x5dcdf0[_0x443d74(0xe9)]=_0x3d0aa4,delete _0x5dcdf0[_0x443d74(0x112)]);_0x2c6db9['eIDtq'](_0xde3a58,_0x2c6db9['TjCGZ'])&&(_0x5dcdf0[_0x443d74(0x173)]=new Date()[_0x443d74(0x116)]());const _0x46a332=_0x2c6db9[_0x443d74(0x135)](getTestIdentifierForHook,_0x5dcdf0);!global[_0x443d74(0x15e)]&&(global[_0x443d74(0x15e)]={});if(_0x2c6db9['xDUft'](_0xde3a58,_0x2c6db9['TjCGZ'])){global[_0x443d74(0x15e)][_0x443d74(0x19b)]={'hookUUID':_0x3d0aa4,'testIdentifier':_0x46a332,'hookType':_0x5dcdf0['type'],'startedAt':new Date()['toISOString']()};const _0x35d0df=BrowserstackCLI[_0x443d74(0xcf)]()[_0x443d74(0xda)]();_0x35d0df&&_0x35d0df[_0x443d74(0x1b2)]&&_0x35d0df[_0x443d74(0x1b2)](_0x46a332,_0x3d0aa4,_0x5dcdf0[_0x443d74(0x120)]);}const _0x55d0b0=await jestUtils[_0x443d74(0x134)](_0x5dcdf0,_0x3d0aa4,_0xde3a58,_0x46a332);if(!_0x55d0b0)return;const _0x26b75e=_0x2c6db9[_0x443d74(0x135)](mapHookTypeToState,_0x5dcdf0[_0x443d74(0x120)]),_0x1fab56=_0x2c6db9[_0x443d74(0xc9)](_0xde3a58,_0x2c6db9[_0x443d74(0x10a)])?HookState[_0x443d74(0x14c)]:HookState['POST'],_0xd8b578=BrowserstackCLI[_0x443d74(0xcf)]()[_0x443d74(0xda)]();if(_0xd8b578){const _0x4bfa44={};_0x4bfa44[_0x443d74(0x144)]=_0x55d0b0,await _0xd8b578[_0x443d74(0xf6)](_0x26b75e,_0x1fab56,_0x4bfa44);if(_0x2c6db9['aTZTL'](_0xde3a58,_0x2c6db9[_0x443d74(0x168)])){const _0x173f9e={};_0x173f9e[_0x443d74(0xd3)]=_0x46a332,_0x173f9e['type']=_0x2c6db9[_0x443d74(0x172)],await _0xd8b578['trackEvent'](TestFrameworkState[_0x443d74(0xdc)],HookState['POST'],_0x173f9e),global[_0x443d74(0x15e)]&&global[_0x443d74(0x15e)][_0x443d74(0x19b)]&&_0x2c6db9[_0x443d74(0x139)](global[_0x443d74(0x15e)][_0x443d74(0x19b)][_0x443d74(0x15c)],_0x3d0aa4)&&delete global[_0x443d74(0x15e)][_0x443d74(0x19b)],_0xd8b578['removeActiveHook']&&_0xd8b578[_0x443d74(0x180)](_0x46a332,_0x3d0aa4);}}}catch(_0x254a69){logger[_0x443d74(0x16b)](_0x443d74(0xf4)+util[_0x443d74(0x177)](_0x254a69));throw _0x254a69;}}async function handleTestEventCLI(_0x4b5f54,_0x39a6e2,_0x130d26){const _0x17ee9a=a17_0x38f8fa,_0x728798={};_0x728798[_0x17ee9a(0x11d)]=function(_0x4fb2f9,_0x25993b){return _0x4fb2f9===_0x25993b;},_0x728798['PNJVP']=_0x17ee9a(0x103),_0x728798['QFnCP']=function(_0x15fb80,_0xc92394){return _0x15fb80>_0xc92394;},_0x728798[_0x17ee9a(0x160)]=function(_0x21e871,_0x2bb08b){return _0x21e871&&_0x2bb08b;},_0x728798[_0x17ee9a(0x1a6)]=_0x17ee9a(0xf2),_0x728798['XByel']=_0x17ee9a(0xea),_0x728798[_0x17ee9a(0x1a2)]=function(_0x46b9b8,_0xde8714){return _0x46b9b8&&_0xde8714;},_0x728798[_0x17ee9a(0x178)]=function(_0x1e8c2b,_0x3692a3){return _0x1e8c2b&&_0x3692a3;},_0x728798[_0x17ee9a(0x186)]=function(_0x262bfd,_0x16ef00){return _0x262bfd&&_0x16ef00;},_0x728798[_0x17ee9a(0x119)]=_0x17ee9a(0x145);const _0x128beb=_0x728798;logger[_0x17ee9a(0x132)]('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x39a6e2);try{let _0x4973da;if(_0x128beb[_0x17ee9a(0x11d)](_0x39a6e2,_0x128beb[_0x17ee9a(0x110)])){_0x4973da=jestUtils['createIdentifierFromJestTest'](_0x4b5f54),global[_0x17ee9a(0x194)]=_0x4973da,_0x4b5f54[_0x17ee9a(0x10e)]=_0x4973da,_0x4b5f54['id']=_0x4973da,_0x4b5f54[_0x17ee9a(0x173)]=new Date()['toISOString']();const _0x2b25a1=_0x130d26[_0x17ee9a(0x137)];_0x130d26[_0x17ee9a(0x137)]=_0x4b5f54,_0x4b5f54['retryOf']=null;if(_0x128beb['QFnCP'](_0x4b5f54[_0x17ee9a(0x13e)],0x0)&&_0x2b25a1&&_0x128beb['lzceB'](_0x2b25a1[_0x17ee9a(0x16d)],_0x4b5f54[_0x17ee9a(0x16d)])){_0x4b5f54[_0x17ee9a(0x11c)]=_0x2b25a1['testAnalyticsId'];const _0x396b1c=await jestUtils['createTestFrameworkData'](_0x4b5f54,_0x4973da,_0x128beb[_0x17ee9a(0x110)]),_0x2cbd00=BrowserstackCLI[_0x17ee9a(0xcf)]()[_0x17ee9a(0xda)]();if(_0x128beb['eRDUp'](_0x396b1c,_0x2cbd00)){const _0x4617e7={};_0x4617e7[_0x17ee9a(0x145)]=_0x396b1c,await _0x2cbd00[_0x17ee9a(0xf6)](TestFrameworkState['TEST'],HookState[_0x17ee9a(0x14c)],_0x4617e7);}_0x2b25a1['state']=_0x128beb[_0x17ee9a(0x1a6)];const _0x4b36e0=await jestUtils[_0x17ee9a(0x1af)](_0x2b25a1,_0x2b25a1[_0x17ee9a(0x10e)],_0x128beb[_0x17ee9a(0x175)]);if(_0x128beb['zToot'](_0x4b36e0,_0x2cbd00)){const _0x226bf7={};_0x226bf7[_0x17ee9a(0x145)]=_0x4b36e0,await _0x2cbd00[_0x17ee9a(0xf6)](TestFrameworkState[_0x17ee9a(0x195)],HookState['POST'],_0x226bf7);}}else{const _0x195524=await jestUtils[_0x17ee9a(0x1af)](_0x4b5f54,_0x4973da,_0x128beb[_0x17ee9a(0x110)]),_0x522202=BrowserstackCLI[_0x17ee9a(0xcf)]()[_0x17ee9a(0xda)]();if(_0x128beb[_0x17ee9a(0x178)](_0x195524,_0x522202)){const _0x2b4697={};_0x2b4697[_0x17ee9a(0x145)]=_0x195524,await _0x522202[_0x17ee9a(0xf6)](TestFrameworkState[_0x17ee9a(0x195)],HookState[_0x17ee9a(0x14c)],_0x2b4697);}}}else{_0x4973da=_0x4b5f54[_0x17ee9a(0x10e)]||_0x4b5f54['id']||global[_0x17ee9a(0x194)];const _0x29396b=await jestUtils[_0x17ee9a(0x1af)](_0x4b5f54,_0x4973da,_0x39a6e2),_0x39712e=BrowserstackCLI[_0x17ee9a(0xcf)]()['getTestFramework']();if(_0x128beb[_0x17ee9a(0x186)](_0x29396b,_0x39712e)){const _0x2c138c={};_0x2c138c['test']=_0x29396b,_0x2c138c[_0x17ee9a(0x105)]=_0x4b5f54,_0x2c138c[_0x17ee9a(0xf5)]=_0x4973da,await _0x39712e[_0x17ee9a(0xf6)](TestFrameworkState['TEST'],HookState['POST'],_0x2c138c);const _0xe03bab={};_0xe03bab['testUUID']=_0x4973da,_0xe03bab[_0x17ee9a(0x120)]=_0x128beb[_0x17ee9a(0x119)],await _0x39712e['trackEvent'](TestFrameworkState['LOG_REPORT'],HookState[_0x17ee9a(0x11e)],_0xe03bab);}}}catch(_0x31a440){logger[_0x17ee9a(0x16b)](_0x17ee9a(0x12f)+util['format'](_0x31a440));throw _0x31a440;}}exportsI['initialize']=(..._0x4957a5)=>{const _0x38ce2c=a17_0x38f8fa,_0x1db0d7={'QPjXW':function(_0x484768,_0x3e6bbc){return _0x484768(_0x3e6bbc);},'mbTCu':_0x38ce2c(0xfc),'mxUGc':function(_0x46f860,_0x55cb46){return _0x46f860(_0x55cb46);},'gdfXk':'hook_start','sUjFC':function(_0x47342a,_0x1989cb){return _0x47342a===_0x1989cb;},'GZcpC':_0x38ce2c(0xf7),'xJgJf':function(_0x336a5f){return _0x336a5f();},'rUqoG':function(_0x5376e3,_0x36bf76){return _0x5376e3(_0x36bf76);},'LSNol':function(_0x537b27,_0x40f0ba,_0x4479e8,_0x446586){return _0x537b27(_0x40f0ba,_0x4479e8,_0x446586);},'sFhHX':'HookRunStarted','MIxUy':'hook_success','WVysW':function(_0x669d9c,_0x5e79ee){return _0x669d9c(_0x5e79ee);},'myQow':_0x38ce2c(0x14b),'LETar':function(_0x1d0645,_0x326a2a){return _0x1d0645(_0x326a2a);},'wAuBo':_0x38ce2c(0x13f),'COpWV':_0x38ce2c(0x15a),'IpcqE':_0x38ce2c(0xd4),'Wgmtk':_0x38ce2c(0x163),'daZCf':function(_0x28df2d,_0x3fcdca){return _0x28df2d>_0x3fcdca;},'anbyB':function(_0x159eaa){return _0x159eaa();},'nyxMT':function(_0xffcc5c,_0x5886ed,_0x1269f4,_0x29b070){return _0xffcc5c(_0x5886ed,_0x1269f4,_0x29b070);},'ZxJhn':function(_0x4b398c,_0x49eb1d){return _0x4b398c(_0x49eb1d);},'FfYoT':'test_start','jWath':function(_0x2e6739,_0x15a971){return _0x2e6739!==_0x15a971;},'sFNjj':'\x20>\x20','XSBpQ':function(_0x391bd0,_0x3429e1,_0x5d2b93,_0x402911){return _0x391bd0(_0x3429e1,_0x5d2b93,_0x402911);},'GFUWs':'TestRunStarted','jtNxL':function(_0x6858e8){return _0x6858e8();},'oCFgE':'test_done','UxtEn':function(_0xddc69e,_0x4e47b4){return _0xddc69e(_0x4e47b4);},'BLNWW':function(_0x69bbe3,_0x48741b){return _0x69bbe3>_0x48741b;},'mEikJ':function(_0x246699,_0x513a95){return _0x246699===_0x513a95;},'bkBgf':_0x38ce2c(0xd2),'dTrLM':'failed','KOrJE':_0x38ce2c(0x108),'jjTBk':function(_0x16359d,_0x158107){return _0x16359d||_0x158107;},'hoHmG':function(_0xcf1cb3,_0x54e655,_0x3327c9,_0x8b7d66){return _0xcf1cb3(_0x54e655,_0x3327c9,_0x8b7d66);},'lEIYe':_0x38ce2c(0xea),'chdHL':function(_0x3663cb){return _0x3663cb();},'LlAhT':'test_skip','MCGLB':function(_0x1ecb90){return _0x1ecb90();},'awkZv':_0x38ce2c(0x19c),'RQSBV':function(_0x8587ec,_0x10773f){return _0x8587ec(_0x10773f);},'WbRBQ':_0x38ce2c(0x199),'EDtyb':_0x38ce2c(0xfe),'FgDtG':_0x38ce2c(0x15b),'tlNMD':function(_0x45a3c3){return _0x45a3c3();},'RGJmo':function(_0x1cc112,_0x6d20,_0x128058){return _0x1cc112(_0x6d20,_0x128058);},'JbszS':_0x38ce2c(0x1ac),'EfFQg':_0x38ce2c(0x188),'admul':_0x38ce2c(0x17d),'uscMz':function(_0x60ac2,_0x457b65){return _0x60ac2(_0x457b65);},'BLAex':function(_0x225e86){return _0x225e86();},'ZtewS':function(_0xed0d74,_0x3b5bc5,_0x3a6f18){return _0xed0d74(_0x3b5bc5,_0x3a6f18);},'mrJJn':_0x38ce2c(0x118),'DgJnj':function(_0x6028a5,..._0x231388){return _0x6028a5(..._0x231388);}};try{logger[_0x38ce2c(0x132)]('[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub='+_0x1db0d7[_0x38ce2c(0x174)](shouldProcessEventForTesthub)+_0x38ce2c(0x121)+process[_0x38ce2c(0x12b)]['BROWSERSTACK_PUPPETEER']);const _0x4e91f0=_0x4957a5&&_0x4957a5[0x0]?_0x4957a5[0x0]:{};let _0x5b513b=0x0;try{if(_0x4e91f0['config']&&_0x1db0d7['mEikJ'](typeof _0x4e91f0[_0x38ce2c(0x1a1)]['browserstackPlatformIndex'],_0x1db0d7[_0x38ce2c(0x18b)]))_0x5b513b=_0x4e91f0[_0x38ce2c(0x1a1)]['browserstackPlatformIndex'];else{if(_0x4e91f0[_0x38ce2c(0x18f)]&&_0x1db0d7[_0x38ce2c(0x1ae)](typeof _0x4e91f0[_0x38ce2c(0x18f)][_0x38ce2c(0x117)],_0x1db0d7['FgDtG']))_0x5b513b=_0x4e91f0[_0x38ce2c(0x18f)][_0x38ce2c(0x117)];else global['jestConfig']&&_0x1db0d7[_0x38ce2c(0x1ae)](typeof global['jestConfig'][_0x38ce2c(0x117)],_0x1db0d7['FgDtG'])&&(_0x5b513b=global['jestConfig'][_0x38ce2c(0x117)]);}}catch(_0xd8840){logger[_0x38ce2c(0x132)](_0x38ce2c(0xc7)+util['format'](_0xd8840));}global[_0x38ce2c(0xe2)]=_0x5b513b,process[_0x38ce2c(0x12b)][_0x38ce2c(0xf9)]=_0x1db0d7[_0x38ce2c(0xf3)](String,_0x5b513b);const _0x5b2140=new ObservabilityReporter();!_initializedPlatformIndices['has'](_0x5b513b)?(logger['debug'](_0x38ce2c(0xe8)+_0x5b513b),_initializedPlatformIndices[_0x38ce2c(0x17f)](_0x5b513b),_0x1db0d7[_0x38ce2c(0xde)](shouldProcessEventForTesthub)&&(_0x1db0d7[_0x38ce2c(0x141)](patchConsoleLogger),_0x5b2140[_0x38ce2c(0x1a0)]())):logger['debug'](_0x38ce2c(0x19f)+_0x5b513b+',\x20re-registering\x20event\x20handler');let _0x308b96;try{_0x308b96=_0x1db0d7[_0x38ce2c(0xec)](requireModule,_0x1db0d7[_0x38ce2c(0xfb)],_0x1db0d7['EfFQg']);}catch{_0x308b96=_0x1db0d7[_0x38ce2c(0x146)](requireModule,_0x1db0d7[_0x38ce2c(0x122)]);}let _0x18457d;try{_0x18457d=_0x1db0d7[_0x38ce2c(0xec)](requireModule,_0x1db0d7[_0x38ce2c(0xd8)],_0x1db0d7[_0x38ce2c(0x122)])['makeSingleTestResult'];}catch{_0x18457d=_0x1db0d7[_0x38ce2c(0x111)](requireModule,_0x1db0d7[_0x38ce2c(0x122)])[_0x38ce2c(0x185)]||(()=>({}));}const _0x60b7fd=BrowserstackCLI[_0x38ce2c(0xcf)]()['isCliEnabled']();(_0x1db0d7[_0x38ce2c(0x18e)](shouldProcessEventForTesthub)||_0x60b7fd)&&_0x308b96[_0x38ce2c(0x190)](_0x1db0d7[_0x38ce2c(0x1a7)](o11yErrorHandler,async(_0x523847,_0xc5f2ce)=>{const _0x39d123=_0x38ce2c;switch(_0x523847[_0x39d123(0x13c)]){case _0x1db0d7[_0x39d123(0x19e)]:if(_0x523847[_0x39d123(0x17c)]['fn']&&_0x523847['hook']['fn'][_0x39d123(0xd6)]()['match'](/browserstack internal helper hook/))break;if(_0x523847[_0x39d123(0x17c)][_0x39d123(0x10d)]&&_0x1db0d7[_0x39d123(0x1ae)](_0x523847[_0x39d123(0x17c)][_0x39d123(0x10d)]['name'],_0x1db0d7['GZcpC'])){const _0x2ce250=_0x523847[_0x39d123(0x17c)][_0x39d123(0x130)]&&((()=>{const _0x1fced4=_0x39d123;try{const _0x1674db=_0x1db0d7['QPjXW'](require,_0x1db0d7['mbTCu']),_0x413eec=_0x1674db[_0x1fced4(0xe0)][_0x1fced4(0x155)](_0x1674db,_0x523847['hook'][_0x1fced4(0x130)]);return _0x413eec[0x0]&&_0x413eec[0x0][_0x1fced4(0x1b0)]?_0x413eec[0x0][_0x1fced4(0x1b0)]():null;}catch(_0x16fd03){return logger[_0x1fced4(0x132)](_0x1fced4(0x12a)+_0x16fd03[_0x1fced4(0xce)]),null;}})())||_0x523847[_0x39d123(0x17c)][_0x39d123(0x156)]||null;if(!_0x2ce250)break;}if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x1db0d7['xJgJf'](isCLIReady)){if(_0x1db0d7[_0x39d123(0x1a9)](shouldProcessEventForTesthub,testHubConstants[_0x39d123(0x165)]['HookStarted']))try{await _0x1db0d7['LSNol'](handleHookEventCLI,_0x523847[_0x39d123(0x17c)],_0x1db0d7[_0x39d123(0xeb)],_0xc5f2ce);break;}catch(_0x3a53e3){_0x1db0d7['mxUGc'](debug,_0x39d123(0x16a)+util['format'](_0x3a53e3));}}if(_0x1db0d7[_0x39d123(0xf3)](shouldProcessEventForTesthub,testHubConstants[_0x39d123(0x165)]['HookStarted'])){if(!_0x523847['hook'][_0x39d123(0xe9)]){const _0x46eb1c=TestDetails[_0x39d123(0x182)](process[_0x39d123(0xc6)]+_0x39d123(0x107));_0x523847[_0x39d123(0x17c)][_0x39d123(0xe9)]=_0x46eb1c;}else _0x523847[_0x39d123(0x17c)][_0x39d123(0x112)]&&(_0x523847[_0x39d123(0x17c)][_0x39d123(0xe9)]=TestDetails[_0x39d123(0x182)](process[_0x39d123(0xc6)]+_0x39d123(0x107)),delete _0x523847[_0x39d123(0x17c)][_0x39d123(0x112)]);_0x523847['hook'][_0x39d123(0x173)]=new Date()[_0x39d123(0x116)](),await _0x5b2140['sendTestRunEvent'](_0x523847[_0x39d123(0x17c)],undefined,![],_0x1db0d7['sFhHX']);}break;case _0x1db0d7[_0x39d123(0x147)]:if(BrowserstackCLI[_0x39d123(0xcf)]()[_0x39d123(0xd9)]()&&await _0x1db0d7[_0x39d123(0x141)](isCLIReady)){if(_0x1db0d7[_0x39d123(0x1a4)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x39d123(0xd5)]))try{await _0x1db0d7['LSNol'](handleHookEventCLI,_0x523847['hook'],_0x1db0d7[_0x39d123(0x18c)],_0xc5f2ce);break;}catch(_0x1f43c3){_0x1db0d7[_0x39d123(0xf3)](debug,_0x39d123(0x16a)+util[_0x39d123(0x177)](_0x1f43c3));}}_0x1db0d7[_0x39d123(0x181)](shouldProcessEventForTesthub,testHubConstants[_0x39d123(0x165)][_0x39d123(0xd5)])&&(await _0x5b2140['sendTestRunEvent'](_0x523847['hook'],undefined,![],_0x1db0d7[_0x39d123(0x18c)]),TestDetails[_0x39d123(0x13d)](process[_0x39d123(0xc6)]+_0x39d123(0x107)));break;case _0x1db0d7[_0x39d123(0x18a)]:[_0x1db0d7[_0x39d123(0x15f)],_0x1db0d7[_0x39d123(0x191)],_0x1db0d7[_0x39d123(0x136)]][_0x39d123(0x138)](_0x523847['hook'][_0x39d123(0x120)])&&(_0x5b2140[_0x39d123(0x13f)]=_0x523847[_0x39d123(0x17c)]['type']),_0xc5f2ce[_0x39d123(0x129)]&&_0x1db0d7[_0x39d123(0xe3)](_0xc5f2ce[_0x39d123(0x129)][_0x39d123(0x133)],0x0)&&(_0x523847['hook'][_0x39d123(0xcb)]=[_0xc5f2ce[_0x39d123(0x129)][0x0][0x0]]);if(BrowserstackCLI[_0x39d123(0xcf)]()[_0x39d123(0xd9)]()&&await _0x1db0d7['anbyB'](isCLIReady)){if(_0x1db0d7[_0x39d123(0x1a3)](shouldProcessEventForTesthub,testHubConstants[_0x39d123(0x165)][_0x39d123(0xd5)]))try{await _0x1db0d7['nyxMT'](handleHookEventCLI,_0x523847[_0x39d123(0x17c)],_0x1db0d7[_0x39d123(0x18c)],_0xc5f2ce);break;}catch(_0x5829fa){_0x1db0d7[_0x39d123(0x14f)](debug,_0x39d123(0x16a)+util['format'](_0x5829fa));}}_0x1db0d7[_0x39d123(0x1a9)](shouldProcessEventForTesthub,testHubConstants[_0x39d123(0x165)]['HookFinished'])&&(await _0x5b2140[_0x39d123(0x187)](_0x523847[_0x39d123(0x17c)],undefined,![],_0x1db0d7['myQow']),TestDetails[_0x39d123(0x13d)](process[_0x39d123(0xc6)]+_0x39d123(0x107)));break;case _0x1db0d7[_0x39d123(0x125)]:try{let _0x53c371=_0x523847['test']['name']||'';try{let _0x41bbac=_0x523847['test'][_0x39d123(0x10d)];const _0x5a270a=[_0x53c371];while(_0x41bbac&&_0x41bbac['name']&&_0x1db0d7[_0x39d123(0x142)](_0x41bbac['name'],_0x1db0d7[_0x39d123(0xe7)])){_0x5a270a['unshift'](_0x41bbac[_0x39d123(0x13c)]),_0x41bbac=_0x41bbac[_0x39d123(0x10d)];}_0x53c371=_0x5a270a['join'](_0x1db0d7['sFNjj']);}catch(_0xe2cb70){logger['debug'](_0x39d123(0x15d)+_0xe2cb70[_0x39d123(0xce)]);}process['_bstackTestName']=_0x53c371,process[_0x39d123(0x10c)]=null,process[_0x39d123(0x169)]=null,logger[_0x39d123(0x132)](_0x39d123(0x176)+_0x53c371+'\x22');if(!global['__workerDetails']){const _0x516db7={};_0x516db7[_0x39d123(0x16e)]={},global[_0x39d123(0x15e)]=_0x516db7;}!global['__workerDetails'][_0x39d123(0x16e)]&&(global['__workerDetails'][_0x39d123(0x16e)]={});const _0x4eaca9={};_0x4eaca9[_0x39d123(0x16d)]=_0x53c371,_0x4eaca9[_0x39d123(0x13c)]=_0x53c371,global['__workerDetails'][_0x39d123(0x16e)][_0x39d123(0xe5)]=_0x4eaca9,global[_0x39d123(0xe1)]=_0x53c371;}catch(_0xfb0f90){logger[_0x39d123(0x132)](_0x39d123(0x12e)+_0xfb0f90[_0x39d123(0xce)]);}if(BrowserstackCLI[_0x39d123(0xcf)]()[_0x39d123(0xd9)]()&&await _0x1db0d7[_0x39d123(0x141)](isCLIReady))try{await _0x1db0d7[_0x39d123(0x10b)](handleTestEventCLI,_0x523847['test'],_0x1db0d7[_0x39d123(0x17e)],_0x5b2140);break;}catch(_0x27eb85){_0x1db0d7[_0x39d123(0xf3)](debug,_0x39d123(0x16a)+util[_0x39d123(0x177)](_0x27eb85));}_0x1db0d7[_0x39d123(0x174)](shouldProcessEventForTesthub)&&await _0x5b2140[_0x39d123(0x196)](_0x523847[_0x39d123(0x145)]);break;case _0x1db0d7['oCFgE']:_0x523847['test']={..._0x1db0d7[_0x39d123(0x189)](_0x18457d,_0x523847[_0x39d123(0x145)]),..._0x523847[_0x39d123(0x145)]};try{const _0x36e607=_0x523847[_0x39d123(0x145)][_0x39d123(0x127)]||[],_0x2747b0=_0x1db0d7[_0x39d123(0xdd)](_0x36e607[_0x39d123(0x133)],0x0)||_0x1db0d7['mEikJ'](_0x523847[_0x39d123(0x145)][_0x39d123(0x193)],_0x1db0d7[_0x39d123(0x126)]),_0x3e040c=_0x2747b0?_0x1db0d7[_0x39d123(0xc5)]:_0x1db0d7['KOrJE'];let _0x585c52='';_0x2747b0&&(_0x585c52=_0x36e607[_0x39d123(0xf1)](_0x139d06=>{const _0x32c272=_0x39d123;if(Array['isArray'](_0x139d06))return _0x139d06[_0x32c272(0xf1)](_0x2cfee3=>_0x2cfee3&&_0x2cfee3['message']||String(_0x2cfee3))[_0x32c272(0x131)](';\x20');return _0x139d06&&_0x139d06[_0x32c272(0xce)]||_0x1db0d7[_0x32c272(0x1a3)](String,_0x139d06);})[_0x39d123(0x131)](';\x20')),process['_bstackTestStatus']=_0x3e040c,process['_bstackTestFailureReason']=_0x1db0d7[_0x39d123(0xf8)](_0x585c52,''),logger['debug'](_0x39d123(0x162)+_0x3e040c+'\x22'),global[_0x39d123(0x15e)]&&global[_0x39d123(0x15e)][_0x39d123(0x16e)]&&(!global[_0x39d123(0x15e)][_0x39d123(0x16e)][_0x39d123(0xe5)]&&(global[_0x39d123(0x15e)][_0x39d123(0x16e)][_0x39d123(0xe5)]={}),global[_0x39d123(0x15e)][_0x39d123(0x16e)][_0x39d123(0xe5)][_0x39d123(0x193)]=_0x3e040c,_0x2747b0&&(global[_0x39d123(0x15e)][_0x39d123(0x16e)][_0x39d123(0xe5)][_0x39d123(0x14e)]=_0x585c52));}catch(_0x1b3972){logger[_0x39d123(0x132)](_0x39d123(0x1ad)+_0x1b3972[_0x39d123(0xce)]);}if(!_0x523847['test'][_0x39d123(0x112)]){_0x523847[_0x39d123(0x145)]['markedStatus']=!![];if(BrowserstackCLI[_0x39d123(0xcf)]()[_0x39d123(0xd9)]()&&await _0x1db0d7[_0x39d123(0x141)](isCLIReady))try{await _0x1db0d7['hoHmG'](handleTestEventCLI,_0x523847[_0x39d123(0x145)],_0x1db0d7[_0x39d123(0x11a)],_0x5b2140);break;}catch(_0x5bf2b6){_0x1db0d7['ZxJhn'](debug,_0x39d123(0x16a)+util['format'](_0x5bf2b6));}_0x1db0d7[_0x39d123(0xca)](shouldProcessEventForTesthub)&&await _0x5b2140[_0x39d123(0x187)](_0x523847[_0x39d123(0x145)]);}break;case _0x1db0d7[_0x39d123(0xdf)]:_0x523847[_0x39d123(0x145)]={..._0x1db0d7[_0x39d123(0x14f)](_0x18457d,_0x523847['test']),..._0x523847['test']};if(!_0x523847['test']['markedStatus']){_0x523847[_0x39d123(0x145)][_0x39d123(0x112)]=!![];if(BrowserstackCLI[_0x39d123(0xcf)]()[_0x39d123(0xd9)]()&&await _0x1db0d7[_0x39d123(0xcd)](isCLIReady))try{await _0x1db0d7['XSBpQ'](handleTestEventCLI,_0x523847[_0x39d123(0x145)],_0x1db0d7[_0x39d123(0x17a)],_0x5b2140);break;}catch(_0x29603d){_0x1db0d7[_0x39d123(0x146)](debug,_0x39d123(0x16a)+util[_0x39d123(0x177)](_0x29603d));}_0x1db0d7[_0x39d123(0x141)](shouldProcessEventForTesthub)&&await _0x5b2140[_0x39d123(0x187)](_0x523847[_0x39d123(0x145)],undefined,![],_0x1db0d7['awkZv']);}break;case _0x1db0d7[_0x39d123(0x109)]:_0x5b2140[_0x39d123(0x13f)]=null;break;case _0x1db0d7[_0x39d123(0x197)]:await RequestQueueHandler[_0x39d123(0xcf)]()[_0x39d123(0x18d)](),process[_0x39d123(0x1aa)]();break;default:}},_0x1db0d7[_0x38ce2c(0x106)]));}catch(_0x568b28){_0x1db0d7[_0x38ce2c(0x1a9)](debug,_0x38ce2c(0x19d)+_0x568b28);}return _0x1db0d7[_0x38ce2c(0x154)](initInitialize,..._0x4957a5);};function a17_0x5c76(){const _0x38dbc0=['../../utils/constants','../../../helpers/test-observability/error-handler','HookRunFinished','PRE','HookRunStarted','failureMessage','ZxJhn','JpWdH','forEach','setFrameworkDetail','../../../helpers/testhub/constants','DgJnj','call','file','afterAll','XfsLy','../../v2/utils/jest-utils','beforeAll','number','hookUUID','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','__workerDetails','COpWV','eRDUp','fuSnQ','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','afterEach','315793DSLHpb','EVENT','cHUqa','initialize','HMbTN','_bstackTestFailureReason','Error\x20routing\x20to\x20JestTestFramework:\x20','error','AFTER_EACH','title','currentTest','../test-observability/obsReporter','SMrOV','20502170tWbRSq','FPWPf','started_at','jtNxL','XByel','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','format','qQIwG','isRunning','awkZv','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','hook','jest-circus/build/utils.js','GFUWs','add','removeActiveHook','LETar','setTestUUID','3790686VmKsjc','316404SyYBcz','makeSingleTestResult','CmQGy','sendTestRunEvent','jest-circus','UxtEn','wAuBo','FgDtG','myQow','shutdown','BLAex','configuration','addEventHandler','IpcqE','../../v2/cliUtils','status','__jestCurrentTestIdentifier','TEST','testStarted','EDtyb','iehks','run_describe_finish','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','currentHook','TestRunSkipped','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','gdfXk','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','registerListeners','config','zToot','mxUGc','WVysW','BROWSERSTACK_PUPPETEER','WpzwM','ZtewS','../../v2/browserstackCLI','rUqoG','removeAllListeners','PUPPETEER','jest-circus/build/state.js','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','sUjFC','createTestFrameworkData','getFileName','../../../helpers/testhub/utils','setActiveHook','dTrLM','pid','Error\x20reading\x20platformIndex\x20from\x20args:\x20','2023pLXWYG','MLeJv','chdHL','errorsDetailed','match','MCGLB','message','getInstance','4152ZTBFgz','TNxMD','fail','testUUID','beforeEach','HookFinished','toString','mmNXu','admul','isCliEnabled','getTestFramework','BEFORE_EACH','LOG_REPORT','BLNWW','tlNMD','LlAhT','parse','browserstackTestName','__bstackPlatformIndex','daZCf','laATX','testInfo','UPHYv','GZcpC','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','hookAnalyticsId','TestRunFinished','sFhHX','RGJmo','../../../helpers/test-observability/requestQueueHandler','util','Error\x20checking\x20CLI\x20readiness:\x20','CLI\x20is\x20enabled\x20and\x20running.','map','failed','QPjXW','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','testIdentifier','trackEvent','ROOT_DESCRIBE_BLOCK','jjTBk','BROWSERSTACK_PLATFORM_INDEX','wiIlA','JbszS','stack-trace','../test-observability/test-details','teardown','../../v2/state/testFrameworkState','OlSNr','keys','5JTMuKb','TestRunStarted','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','originalTest','mrJJn',':hookAnalyticsId','passed','WbRBQ','TjCGZ','XSBpQ','_bstackTestStatus','parent','testAnalyticsId','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','PNJVP','uscMz','markedStatus','BROWSERSTACK_CLI_BIN_SESSION_ID','AFTER_ALL','PLAYWRIGHT','toISOString','browserstackPlatformIndex','EventHandler','hKxSk','lEIYe','createIdentifierFromJestTest','retryOf','lzceB','POST','uJnmu','type',',\x20BROWSERSTACK_PUPPETEER=','EfFQg','JEST','eIDtq','FfYoT','bkBgf','errors','../../v2/state/hookState','unhandledErrors','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','env','964617OaKOEQ','8LjVwVs','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','asyncError','join','debug','length','createHookData','jOliJ','Wgmtk','current_test','includes','aTZTL','true','../../../helpers/helper','name','removeTestUUID','_currentRetry','hook_failure','jest-circus/build/jestAdapterInit.js','xJgJf','jWath','getAutomationFrameworkDetail','hookData','test','RQSBV','MIxUy','2054745sldMqn'];a17_0x5c76=function(){return _0x38dbc0;};return a17_0x5c76();}function a17_0x4194(_0x253efe,_0x2eb5cf){const _0x5c76a7=a17_0x5c76();return a17_0x4194=function(_0x419413,_0x3786c2){_0x419413=_0x419413-0xc5;let _0x3363ee=_0x5c76a7[_0x419413];return _0x3363ee;},a17_0x4194(_0x253efe,_0x2eb5cf);}try{Object[a17_0x38f8fa(0x101)](exportsI)[a17_0x38f8fa(0x151)](_0x2516ff=>{const _0x8b7eb8=a17_0x38f8fa,_0x2a18fc={'OOvQw':function(_0x1b2b25,_0x524adf){return _0x1b2b25(_0x524adf);}};try{exports&&(exports[_0x2516ff]=exportsI[_0x2516ff]);}catch(_0x508ebd){_0x2a18fc['OOvQw'](debug,_0x8b7eb8(0x17b)+_0x508ebd);}});}catch(a17_0x2d0d46){debug(a17_0x38f8fa(0x10f)+a17_0x2d0d46);}
@@ -1 +1 @@
1
- const a18_0x42ed9d=a18_0x275a;(function(_0x2f51e2,_0x3971f4){const _0x2c922e=a18_0x275a,_0x12a4ec=_0x2f51e2();while(!![]){try{const _0x2d8977=-parseInt(_0x2c922e(0xec))/0x1+parseInt(_0x2c922e(0xe2))/0x2+parseInt(_0x2c922e(0xe4))/0x3+-parseInt(_0x2c922e(0xe7))/0x4*(parseInt(_0x2c922e(0xeb))/0x5)+-parseInt(_0x2c922e(0xe8))/0x6*(parseInt(_0x2c922e(0xe3))/0x7)+parseInt(_0x2c922e(0xef))/0x8*(-parseInt(_0x2c922e(0xe9))/0x9)+parseInt(_0x2c922e(0xdf))/0xa*(parseInt(_0x2c922e(0xee))/0xb);if(_0x2d8977===_0x3971f4)break;else _0x12a4ec['push'](_0x12a4ec['shift']());}catch(_0x62583c){_0x12a4ec['push'](_0x12a4ec['shift']());}}}(a18_0x43f1,0x325e8));function a18_0x275a(_0x2eb3da,_0xce6005){const _0x43f143=a18_0x43f1();return a18_0x275a=function(_0x275a37,_0x5176e8){_0x275a37=_0x275a37-0xdf;let _0xbcc987=_0x43f143[_0x275a37];return _0xbcc987;},a18_0x275a(_0x2eb3da,_0xce6005);}const Sequencer=require(a18_0x42ed9d(0xf2))[a18_0x42ed9d(0xe1)];class CustomSequencer extends Sequencer{[a18_0x42ed9d(0xf1)](_0x13e4c7){const _0x4dc0a6=a18_0x42ed9d,_0x519dc4=process[_0x4dc0a6(0xea)]['JEST_TEST_ORDER'];if(!_0x519dc4)return _0x13e4c7;const _0x327dee=_0x519dc4[_0x4dc0a6(0xe0)](','),_0x1dc55b=new Map(_0x13e4c7['filter'](_0x1ce53c=>_0x327dee[_0x4dc0a6(0xe6)](_0x1ce53c['path']))['map'](_0x3aea6a=>[_0x3aea6a[_0x4dc0a6(0xe5)],_0x3aea6a]));return _0x327dee[_0x4dc0a6(0xf0)](_0x6d8529=>_0x1dc55b['get'](_0x6d8529))['filter'](Boolean);}}module[a18_0x42ed9d(0xed)]=CustomSequencer;function a18_0x43f1(){const _0x2554fd=['map','sort','@jest/test-sequencer','336010HIruqb','split','default','777092BWfTgF','793415RtPsYP','1174305WCxnUj','path','includes','63664hycSHW','18URGeJQ','67356jTGDjU','env','80iLyjRF','347973dDaRXN','exports','209GOEnfW','288pACzJG'];a18_0x43f1=function(){return _0x2554fd;};return a18_0x43f1();}
1
+ const a18_0x157ef1=a18_0x2313;function a18_0x1b71(){const _0x5f2017=['136132YYhofw','7BzwKsQ','1363695vUkRjy','3305508tEzsYf','JEST_TEST_ORDER','1255543XMwRJA','1435488uasgln','default','get','exports','includes','3432350BkzefV','@jest/test-sequencer','env','path','2055212RqHaDf','filter','map'];a18_0x1b71=function(){return _0x5f2017;};return a18_0x1b71();}function a18_0x2313(_0x218bc6,_0x329648){const _0x1b7168=a18_0x1b71();return a18_0x2313=function(_0x2313d9,_0x1e5370){_0x2313d9=_0x2313d9-0xbc;let _0x483373=_0x1b7168[_0x2313d9];return _0x483373;},a18_0x2313(_0x218bc6,_0x329648);}(function(_0x5f6b7d,_0xa1ca3b){const _0x5d9f9a=a18_0x2313,_0x376351=_0x5f6b7d();while(!![]){try{const _0x451d3b=parseInt(_0x5d9f9a(0xbf))/0x1+parseInt(_0x5d9f9a(0xcc))/0x2+-parseInt(_0x5d9f9a(0xbc))/0x3+-parseInt(_0x5d9f9a(0xc9))/0x4+parseInt(_0x5d9f9a(0xc5))/0x5+-parseInt(_0x5d9f9a(0xbd))/0x6+parseInt(_0x5d9f9a(0xcd))/0x7*(parseInt(_0x5d9f9a(0xc0))/0x8);if(_0x451d3b===_0xa1ca3b)break;else _0x376351['push'](_0x376351['shift']());}catch(_0xf1405c){_0x376351['push'](_0x376351['shift']());}}}(a18_0x1b71,0xa3a15));const Sequencer=require(a18_0x157ef1(0xc6))[a18_0x157ef1(0xc1)];class CustomSequencer extends Sequencer{['sort'](_0x4a8ba3){const _0x574006=a18_0x157ef1,_0x4dbc67=process[_0x574006(0xc7)][_0x574006(0xbe)];if(!_0x4dbc67)return _0x4a8ba3;const _0x3729b1=_0x4dbc67['split'](','),_0x1eeac1=new Map(_0x4a8ba3[_0x574006(0xca)](_0x206873=>_0x3729b1[_0x574006(0xc4)](_0x206873[_0x574006(0xc8)]))['map'](_0x2ab685=>[_0x2ab685[_0x574006(0xc8)],_0x2ab685]));return _0x3729b1[_0x574006(0xcb)](_0x56683d=>_0x1eeac1[_0x574006(0xc2)](_0x56683d))[_0x574006(0xca)](Boolean);}}module[a18_0x157ef1(0xc3)]=CustomSequencer;