browserstack-node-sdk 1.49.9 → 1.49.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +5 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a10_0x27ad45=a10_0x1aa0;(function(_0x4ac50d,_0x31e0a2){const _0x5276c6=a10_0x1aa0,_0x550e69=_0x4ac50d();while(!![]){try{const _0x2d282e=parseInt(_0x5276c6(0x9f))/0x1+-parseInt(_0x5276c6(0xa1))/0x2+parseInt(_0x5276c6(0xb8))/0x3*(-parseInt(_0x5276c6(0xc4))/0x4)+-parseInt(_0x5276c6(0xac))/0x5+-parseInt(_0x5276c6(0xa7))/0x6+-parseInt(_0x5276c6(0xa5))/0x7+parseInt(_0x5276c6(0x9d))/0x8;if(_0x2d282e===_0x31e0a2)break;else _0x550e69['push'](_0x550e69['shift']());}catch(_0x55ca86){_0x550e69['push'](_0x550e69['shift']());}}}(a10_0x29b6,0x1bf21));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x27ad45(0xbf)),setKeepAlive=require(a10_0x27ad45(0x9c)),cucumberModule=requireModule(a10_0x27ad45(0xc7),a10_0x27ad45(0xb5)),logger=require('../../helpers/logger')[a10_0x27ad45(0xc3)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x27ad45(0xb7)],After=cucumberModule[a10_0x27ad45(0xaf)],configuration=process[a10_0x27ad45(0xb4)]['CONFIG'];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a10_0x27ad45(0xa4)])&&(global[a10_0x27ad45(0xcb)]=!![]),global[a10_0x27ad45(0xa3)]=isTrue(config['skipSessionStatus']),require(a10_0x27ad45(0xc8))['browserstackAgentV2'](config),global[a10_0x27ad45(0xb1)]=config[a10_0x27ad45(0xc9)]||{};}global[a10_0x27ad45(0x9e)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x27ad45(0xcd)];cucumberModule['setDefaultTimeout']=_0x11ef6b=>{const _0x32c72f=a10_0x27ad45,_0x56717e={'sHDDb':function(_0x2c76aa,_0x36d0cb){return _0x2c76aa(_0x36d0cb);}};global[_0x32c72f(0x9e)]=_0x11ef6b,_0x56717e[_0x32c72f(0xbe)](__setDefaultTimeout,_0x11ef6b);};const a10_0xd4a36={};a10_0xd4a36['name']=a10_0x27ad45(0xa9),Before(a10_0xd4a36,function(){const _0x487163=a10_0x27ad45,_0x19f32d={};_0x19f32d[_0x487163(0xae)]='Inside\x20browserstack\x20Before';const _0xcec7e4=_0x19f32d;logger[_0x487163(0xd0)](_0xcec7e4['JZQDx']),global[_0x487163(0xbc)]=[];});function a10_0x29b6(){const _0x28ec38=['join','__error_messages__','dBSlO','sHDDb','../../helpers/helper','failed','initQuit','jzTuQ','winstonLogger','48illwgG','toLowerCase','status','cucumber/lib/index.js','../../index','platformCaps','result','__skipSessionName','Error:\x20setting\x20status\x20at\x20After:\x20','setDefaultTimeout','MLRqC','__driver','debug','../../helpers/setKeepAlive','3749856AECMlC','__timeout','30665ynQqJY','Error:\x20quiting\x20at\x20After:\x20','277912ACrQLv','timeout','__skipSessionStatus','skipSessionName','532735pnEPQE','nudhX','353484aVkaRn','BXjBM','bstack','Inside\x20browserstack\x20After','pickle','425665YmSyaY','\x20|\x20','JZQDx','After','session_','__platformCaps','QHkuJ','executeScript','env','cucumber','FpNbD','Before','6456IEbOnW','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','name'];a10_0x29b6=function(){return _0x28ec38;};return a10_0x29b6();}const a10_0x3fa5f0={};function a10_0x1aa0(_0xb0be3c,_0x11efaf){const _0x29b601=a10_0x29b6();return a10_0x1aa0=function(_0x1aa06d,_0x269009){_0x1aa06d=_0x1aa06d-0x9c;let _0x4424bf=_0x29b601[_0x1aa06d];return _0x4424bf;},a10_0x1aa0(_0xb0be3c,_0x11efaf);}a10_0x3fa5f0[a10_0x27ad45(0xba)]='bstack',a10_0x3fa5f0[a10_0x27ad45(0xa2)]=0x2710,After(a10_0x3fa5f0,function(_0x435600,_0x10383e){const _0x4eda33=a10_0x27ad45,_0x32d819={'dBSlO':function(_0x407718,_0x2da891){return _0x407718===_0x2da891;},'nudhX':_0x4eda33(0xc0),'QHkuJ':function(_0x33cacc,_0xb60a72,_0x242cdc,_0x37e590){return _0x33cacc(_0xb60a72,_0x242cdc,_0x37e590);},'EJcNx':_0x4eda33(0xad),'FpNbD':function(_0x400c21,_0x4ce16a,_0x52083e){return _0x400c21(_0x4ce16a,_0x52083e);},'jzTuQ':'passed','jfDVr':function(_0x30d231){return _0x30d231();},'jBpJV':function(_0x14fe32,_0xdbba1b){return _0x14fe32(_0xdbba1b);},'BXjBM':function(_0x59e920){return _0x59e920();},'MLRqC':_0x4eda33(0xaa)};logger['debug'](_0x32d819[_0x4eda33(0xce)]),new Promise(async(_0xd47bd4,_0x58a7bb)=>{const _0x4ddfd9=_0x4eda33;let _0x5437d1=![];try{await global[_0x4ddfd9(0xcf)][_0x4ddfd9(0xb0)],_0x5437d1=!![],!global['__skipSessionName']&&await global[_0x4ddfd9(0xcf)][_0x4ddfd9(0xb3)](_0x4ddfd9(0xb9)+_0x435600[_0x4ddfd9(0xab)]['name']+'\x22}}'),_0x32d819[_0x4ddfd9(0xbd)](_0x435600[_0x4ddfd9(0xca)][_0x4ddfd9(0xc6)][_0x4ddfd9(0xc5)](),_0x32d819['nudhX'])?await _0x32d819[_0x4ddfd9(0xb2)](markSessionStatus,global[_0x4ddfd9(0xcf)],_0x32d819[_0x4ddfd9(0xa6)],global[_0x4ddfd9(0xbc)][_0x4ddfd9(0xbb)](_0x32d819['EJcNx'])):await _0x32d819[_0x4ddfd9(0xb6)](markSessionStatus,global[_0x4ddfd9(0xcf)],_0x32d819[_0x4ddfd9(0xc2)]);}catch(_0x5a4dc7){logger[_0x4ddfd9(0xd0)](_0x4ddfd9(0xcc)+_0x5a4dc7);}if(_0x5437d1)try{await global[_0x4ddfd9(0xcf)][_0x4ddfd9(0xc1)](),_0x32d819['jfDVr'](_0xd47bd4);}catch(_0x23e9f6){logger[_0x4ddfd9(0xd0)](_0x4ddfd9(0xa0)+_0x23e9f6),_0x32d819['jBpJV'](_0x58a7bb,_0x23e9f6);}else _0x32d819[_0x4ddfd9(0xa8)](_0x58a7bb);})['then'](()=>_0x10383e());});
1
+ const a10_0x584d3a=a10_0x172c;(function(_0x2aefff,_0x407950){const _0x539354=a10_0x172c,_0x119107=_0x2aefff();while(!![]){try{const _0x169971=parseInt(_0x539354(0x17b))/0x1+-parseInt(_0x539354(0x166))/0x2*(-parseInt(_0x539354(0x178))/0x3)+-parseInt(_0x539354(0x191))/0x4*(-parseInt(_0x539354(0x197))/0x5)+-parseInt(_0x539354(0x16a))/0x6+-parseInt(_0x539354(0x18a))/0x7*(-parseInt(_0x539354(0x189))/0x8)+parseInt(_0x539354(0x167))/0x9+-parseInt(_0x539354(0x180))/0xa;if(_0x169971===_0x407950)break;else _0x119107['push'](_0x119107['shift']());}catch(_0x57103c){_0x119107['push'](_0x119107['shift']());}}}(a10_0x25af,0x2c051));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x584d3a(0x175)),cucumberModule=requireModule(a10_0x584d3a(0x17f),a10_0x584d3a(0x16d)),logger=require(a10_0x584d3a(0x16f))[a10_0x584d3a(0x19a)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x584d3a(0x18f)],After=cucumberModule[a10_0x584d3a(0x168)],configuration=process[a10_0x584d3a(0x187)][a10_0x584d3a(0x169)];function a10_0x172c(_0xa85c51,_0x276a66){const _0x25af65=a10_0x25af();return a10_0x172c=function(_0x172c73,_0x1c9260){_0x172c73=_0x172c73-0x162;let _0x1ecc43=_0x25af65[_0x172c73];return _0x1ecc43;},a10_0x172c(_0xa85c51,_0x276a66);}if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x584d3a(0x193)]=!![]),global[a10_0x584d3a(0x163)]=isTrue(config[a10_0x584d3a(0x181)]),require(a10_0x584d3a(0x195))[a10_0x584d3a(0x194)](config),global[a10_0x584d3a(0x196)]=config[a10_0x584d3a(0x179)]||{};}global[a10_0x584d3a(0x17c)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a10_0x584d3a(0x183)]=_0x4d336b=>{const _0x19d23a=a10_0x584d3a,_0xf6a266={'vWMEw':function(_0x6882e4,_0x14203d){return _0x6882e4(_0x14203d);}};global[_0x19d23a(0x17c)]=_0x4d336b,_0xf6a266[_0x19d23a(0x174)](__setDefaultTimeout,_0x4d336b);};const a10_0x41e3ba={};a10_0x41e3ba[a10_0x584d3a(0x190)]='bstack',Before(a10_0x41e3ba,function(){const _0x5ca048=a10_0x584d3a,_0xba1f49={};_0xba1f49[_0x5ca048(0x186)]=_0x5ca048(0x17e);const _0x5cd06d=_0xba1f49;logger['debug'](_0x5cd06d['DHpKg']),global[_0x5ca048(0x18e)]=[];});function a10_0x25af(){const _0x2336de=['arqpt','54150XdenfU','931824XEpRWc','After','CONFIG','800340AirHTL','join','BuHJU','cucumber','failed','../../helpers/logger','\x22}}','then','debug','DwYuB','vWMEw','../../helpers/setKeepAlive','pickle','toLowerCase','27tQWsRt','platformCaps','session_','223061LKoyxn','__timeout','executeScript','Inside\x20browserstack\x20Before','cucumber/lib/index.js','4148360dyCIBB','skipSessionStatus','DJtGj','setDefaultTimeout','__driver','Inside\x20browserstack\x20After','DHpKg','env','Error:\x20quiting\x20at\x20After:\x20','8ZmwVHd','881335GRlkmM','jPNmM','iEuPx','timeout','__error_messages__','Before','name','8NEzAZW','initQuit','__skipSessionName','browserstackAgentV2','../../index','__platformCaps','80885tmitfe','Zsjwr','result','winstonLogger','Error:\x20setting\x20status\x20at\x20After:\x20','__skipSessionStatus','Bdmze'];a10_0x25af=function(){return _0x2336de;};return a10_0x25af();}const a10_0x4e592c={};a10_0x4e592c['name']='bstack',a10_0x4e592c[a10_0x584d3a(0x18d)]=0x2710,After(a10_0x4e592c,function(_0x3e6dbd,_0x1005c2){const _0x335a35=a10_0x584d3a,_0x2b6e2b={'Bdmze':function(_0x555a5d,_0x702f9e){return _0x555a5d===_0x702f9e;},'jPNmM':_0x335a35(0x16e),'DJtGj':function(_0x1883ba,_0x339b6c,_0x18b128,_0x27ec53){return _0x1883ba(_0x339b6c,_0x18b128,_0x27ec53);},'arqpt':'\x20|\x20','DwYuB':function(_0x39d3c1,_0x3998df,_0x1bed50){return _0x39d3c1(_0x3998df,_0x1bed50);},'RHysD':'passed','BuHJU':function(_0x5bf9ea){return _0x5bf9ea();},'iEuPx':function(_0x5ef8a8,_0x2a8df0){return _0x5ef8a8(_0x2a8df0);},'Zsjwr':_0x335a35(0x185)};logger['debug'](_0x2b6e2b[_0x335a35(0x198)]),new Promise(async(_0x2c4a03,_0x29ce2c)=>{const _0x329cd6=_0x335a35;let _0x20f8f1=![];try{await global['__driver'][_0x329cd6(0x17a)],_0x20f8f1=!![],!global[_0x329cd6(0x193)]&&await global[_0x329cd6(0x184)][_0x329cd6(0x17d)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x3e6dbd[_0x329cd6(0x176)][_0x329cd6(0x190)]+_0x329cd6(0x170)),_0x2b6e2b[_0x329cd6(0x164)](_0x3e6dbd[_0x329cd6(0x199)]['status'][_0x329cd6(0x177)](),_0x2b6e2b[_0x329cd6(0x18b)])?await _0x2b6e2b[_0x329cd6(0x182)](markSessionStatus,global[_0x329cd6(0x184)],_0x2b6e2b[_0x329cd6(0x18b)],global[_0x329cd6(0x18e)][_0x329cd6(0x16b)](_0x2b6e2b[_0x329cd6(0x165)])):await _0x2b6e2b[_0x329cd6(0x173)](markSessionStatus,global[_0x329cd6(0x184)],_0x2b6e2b['RHysD']);}catch(_0x9f26a5){logger[_0x329cd6(0x172)](_0x329cd6(0x162)+_0x9f26a5);}if(_0x20f8f1)try{await global[_0x329cd6(0x184)][_0x329cd6(0x192)](),_0x2b6e2b[_0x329cd6(0x16c)](_0x2c4a03);}catch(_0x325ab8){logger['debug'](_0x329cd6(0x188)+_0x325ab8),_0x2b6e2b[_0x329cd6(0x18c)](_0x29ce2c,_0x325ab8);}else _0x2b6e2b[_0x329cd6(0x16c)](_0x29ce2c);})[_0x335a35(0x171)](()=>_0x1005c2());});
@@ -1 +1 @@
1
- function a11_0x21f9(_0x4cd417,_0x57c251){const _0x484715=a11_0x4847();return a11_0x21f9=function(_0x21f9ab,_0x4b5430){_0x21f9ab=_0x21f9ab-0xc3;let _0x66769b=_0x484715[_0x21f9ab];return _0x66769b;},a11_0x21f9(_0x4cd417,_0x57c251);}const a11_0x5839f2=a11_0x21f9;(function(_0x3879c6,_0x841aa0){const _0x12a181=a11_0x21f9,_0x369498=_0x3879c6();while(!![]){try{const _0x3b9699=parseInt(_0x12a181(0xd2))/0x1*(parseInt(_0x12a181(0xcc))/0x2)+-parseInt(_0x12a181(0xce))/0x3+-parseInt(_0x12a181(0xcf))/0x4*(parseInt(_0x12a181(0xd0))/0x5)+parseInt(_0x12a181(0xd3))/0x6+-parseInt(_0x12a181(0xcb))/0x7*(-parseInt(_0x12a181(0xc8))/0x8)+-parseInt(_0x12a181(0xc5))/0x9+parseInt(_0x12a181(0xd1))/0xa*(parseInt(_0x12a181(0xd4))/0xb);if(_0x3b9699===_0x841aa0)break;else _0x369498['push'](_0x369498['shift']());}catch(_0x15d9f9){_0x369498['push'](_0x369498['shift']());}}}(a11_0x4847,0x7c746));const {requireModule}=require(a11_0x5839f2(0xc9)),constants=require(a11_0x5839f2(0xc7));;function a11_0x4847(){const _0x2ca70a=['BSTACK_DELTA','setDefaultTimeout','cucumber','6185628aOTKHi','cucumber/lib/index.js','../utils/constants','536etWvqY','../../helpers/helper','@cucumber/cucumber/lib/index.js','27867SDUgrj','1003082QAVzqx','__timeout','513234KzEKAJ','2127748QygeMZ','5jWqeHd','10QyIFWF','1HqzbBL','1206840LwQATB','10237315ZHpKSU'];a11_0x4847=function(){return _0x2ca70a;};return a11_0x4847();}let cucumberModule=null;try{cucumberModule=requireModule(a11_0x5839f2(0xca),'@cucumber/cucumber');}catch(a11_0x314aff){cucumberModule=requireModule(a11_0x5839f2(0xc6),a11_0x5839f2(0xc4));}cucumberModule[a11_0x5839f2(0xc3)](constants[a11_0x5839f2(0xd5)]+global[a11_0x5839f2(0xcd)]*0x1);
1
+ function a11_0x417f(_0x47da01,_0x50c6b2){const _0x2ce7fe=a11_0x2ce7();return a11_0x417f=function(_0x417fbe,_0x1e7187){_0x417fbe=_0x417fbe-0x1a8;let _0x5610a6=_0x2ce7fe[_0x417fbe];return _0x5610a6;},a11_0x417f(_0x47da01,_0x50c6b2);}const a11_0x4e24d5=a11_0x417f;(function(_0x3519fc,_0x251e68){const _0x387f0a=a11_0x417f,_0x530fda=_0x3519fc();while(!![]){try{const _0x3924d9=-parseInt(_0x387f0a(0x1b1))/0x1*(-parseInt(_0x387f0a(0x1ad))/0x2)+parseInt(_0x387f0a(0x1ac))/0x3+parseInt(_0x387f0a(0x1b3))/0x4*(-parseInt(_0x387f0a(0x1b6))/0x5)+-parseInt(_0x387f0a(0x1b5))/0x6*(-parseInt(_0x387f0a(0x1b9))/0x7)+parseInt(_0x387f0a(0x1ba))/0x8*(parseInt(_0x387f0a(0x1a9))/0x9)+parseInt(_0x387f0a(0x1b0))/0xa+-parseInt(_0x387f0a(0x1b4))/0xb;if(_0x3924d9===_0x251e68)break;else _0x530fda['push'](_0x530fda['shift']());}catch(_0x3fa9f0){_0x530fda['push'](_0x530fda['shift']());}}}(a11_0x2ce7,0x8c6f3));const {requireModule}=require(a11_0x4e24d5(0x1ab)),constants=require(a11_0x4e24d5(0x1b7));;function a11_0x2ce7(){const _0x4db58b=['@cucumber/cucumber/lib/index.js','7uLAzxx','16XkvnJF','@cucumber/cucumber','507726sVyxlw','setDefaultTimeout','../../helpers/helper','2730891uLLCmD','520792HghSVY','cucumber','cucumber/lib/index.js','7235800sPcdzv','4uZEYna','BSTACK_DELTA','11916dmfWNE','33395164KYpZqX','6134682nFnSMt','335secHqh','../utils/constants'];a11_0x2ce7=function(){return _0x4db58b;};return a11_0x2ce7();}let cucumberModule=null;try{cucumberModule=requireModule(a11_0x4e24d5(0x1b8),a11_0x4e24d5(0x1a8));}catch(a11_0x191a64){cucumberModule=requireModule(a11_0x4e24d5(0x1af),a11_0x4e24d5(0x1ae));}cucumberModule[a11_0x4e24d5(0x1aa)](constants[a11_0x4e24d5(0x1b2)]+global['__timeout']*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a12_0x48ec46=a12_0x5071;function a12_0x5071(_0x53fb3f,_0x3dbdcb){const _0x9a90ff=a12_0x9a90();return a12_0x5071=function(_0x5071ae,_0x2e641e){_0x5071ae=_0x5071ae-0xaf;let _0x2a6532=_0x9a90ff[_0x5071ae];return _0x2a6532;},a12_0x5071(_0x53fb3f,_0x3dbdcb);}(function(_0x557e63,_0x1b1dbf){const _0x505448=a12_0x5071,_0x2fc8a2=_0x557e63();while(!![]){try{const _0x452a84=-parseInt(_0x505448(0xc6))/0x1+parseInt(_0x505448(0xd9))/0x2+parseInt(_0x505448(0xd5))/0x3+parseInt(_0x505448(0xc7))/0x4*(-parseInt(_0x505448(0xed))/0x5)+parseInt(_0x505448(0xc3))/0x6+-parseInt(_0x505448(0xd4))/0x7+-parseInt(_0x505448(0xe5))/0x8*(-parseInt(_0x505448(0xdb))/0x9);if(_0x452a84===_0x1b1dbf)break;else _0x2fc8a2['push'](_0x2fc8a2['shift']());}catch(_0x462f9a){_0x2fc8a2['push'](_0x2fc8a2['shift']());}}}(a12_0x9a90,0xab335));function a12_0x9a90(){const _0x4f6853=['bstackAccesskey','browserstackLocal','../../helpers/helper','tHGHz','winstonLogger','epilogue','5oGSxlz','only','443','accessKey','BrowserStack\x20access\x20key\x20missing.','info','demandCommand','https:','type','Hosts\x20not\x20valid','setupBrowserstackLocal','toString','eTlji','bstack-accesskey','join','exports','hosts','TPMEv','invalid','map','bstackAccessKey','https','Integration\x20hosts\x20missing.','root','trim','Failed\x20to\x20establish\x20connection.','integrations','IYOMJ','footer','toPdW','localIdentifier','907782FWoUnV','url','config','1206490ekbxQj','4189516XubGFa','port','setProxySettings','hostname','replace','split','WAPXv','connect','command','integrations-repeater','help','./constants','QbPoX','4178216OuZUUj','2438013LkmUvA','every','describe','ETIHz','1581590ikZUFT','options','1773mPjhne','uHROY','ZJRcN','string','error','fjQLR','protocol','GPcSs','missing','browserStackLocalOptions','72984rKBSFj','demandOption'];a12_0x9a90=function(){return _0x4f6853;};return a12_0x9a90();}const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require('../../helpers/logger')[a12_0x48ec46(0xeb)],{URL}=require(a12_0x48ec46(0xc4)),helper=require(a12_0x48ec46(0xe9)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x48ec46(0xd2)),validHosts=function(_0x1729a9){const _0x41dcc0=a12_0x48ec46;return _0x1729a9[_0x41dcc0(0xcc)](',')[_0x41dcc0(0xd6)](_0x30880b=>{const _0x2acd36=_0x41dcc0;try{new URL(_0x30880b[_0x2acd36(0xbc)]());}catch(_0x525955){return![];}return!![];});},parseOnPremHosts=function(_0x108d1e){const _0x239bdc=a12_0x48ec46,_0x555e62={};_0x555e62[_0x239bdc(0xb5)]=function(_0x4e07b7,_0x17a935){return _0x4e07b7===_0x17a935;},_0x555e62[_0x239bdc(0xcd)]=_0x239bdc(0xf4),_0x555e62[_0x239bdc(0xe0)]=_0x239bdc(0xef),_0x555e62['tlnFe']=_0x239bdc(0xb9);const _0x4dbcc2=_0x555e62;return _0x108d1e[_0x239bdc(0xcc)](',')[_0x239bdc(0xb7)](_0x2d8f77=>{const _0x1d838b=_0x239bdc,_0x24c9d2=new URL(_0x2d8f77[_0x1d838b(0xbc)]()),_0x395499=_0x24c9d2[_0x1d838b(0xca)],_0x2b4c27=_0x24c9d2[_0x1d838b(0xc8)]||(_0x4dbcc2[_0x1d838b(0xb5)](_0x24c9d2[_0x1d838b(0xe1)],_0x4dbcc2['WAPXv'])?_0x4dbcc2[_0x1d838b(0xe0)]:'80'),_0x3348d0=_0x24c9d2[_0x1d838b(0xe1)][_0x1d838b(0xcb)](':',''),_0x2cf67d=_0x4dbcc2['TPMEv'](_0x3348d0,_0x4dbcc2['tlnFe'])?0x1:0x0;return _0x395499+','+_0x2b4c27+','+_0x2cf67d;});},connectCommandBuilder=function(_0x59dace){const _0x4d160a=a12_0x48ec46,_0x39c129={};_0x39c129[_0x4d160a(0xea)]=_0x4d160a(0xde);const _0x3257ee=_0x39c129,_0x392aa6={};_0x392aa6[_0x4d160a(0xd7)]=HELP_MESSAGES[_0x4d160a(0xda)][_0x4d160a(0xb8)],_0x392aa6[_0x4d160a(0xf5)]=_0x3257ee['tHGHz'];const _0x29581b={};_0x29581b[_0x4d160a(0xd7)]=HELP_MESSAGES['options'][_0x4d160a(0xb4)],_0x29581b[_0x4d160a(0xf5)]=_0x3257ee[_0x4d160a(0xea)],_0x29581b[_0x4d160a(0xe6)]=!![];const _0x104441={};return _0x104441[_0x4d160a(0xb1)]=_0x392aa6,_0x104441['hosts']=_0x29581b,_0x59dace[_0x4d160a(0xda)](_0x104441);},connectCommandHandler=async function(_0x2605a7){const _0x5e87fd=a12_0x48ec46,_0x3fb183={'ogISj':_0x5e87fd(0xbe),'FsOvl':function(_0x57c8ef,_0xd5c371){return _0x57c8ef===_0xd5c371;},'GPcSs':'undefined','BabCH':_0x5e87fd(0xf1),'QbPoX':_0x5e87fd(0xba),'uHROY':function(_0x33e9c0,_0x2e0696){return _0x33e9c0(_0x2e0696);},'toPdW':_0x5e87fd(0xf6),'ETIHz':function(_0x365249,_0x3b8485){return _0x365249(_0x3b8485);},'DLYQK':_0x5e87fd(0xd0),'IYOMJ':'Connection\x20established\x20successfully.','ZJRcN':_0x5e87fd(0xbd)};try{const _0x17abdd=new BrowserStackSetup(_0x2605a7,_0x3fb183['ogISj']);_0x2605a7[_0x5e87fd(0xe7)]&&(_0x17abdd[_0x5e87fd(0xc5)][_0x5e87fd(0xf0)]=_0x2605a7[_0x5e87fd(0xe7)]);if(_0x3fb183['FsOvl'](typeof _0x17abdd[_0x5e87fd(0xc5)][_0x5e87fd(0xf0)],_0x3fb183[_0x5e87fd(0xe2)])){logger[_0x5e87fd(0xdf)](_0x3fb183['BabCH']);throw new Error(ERROR_MESSAGES['bstackAccessKey']['missing']);}const _0xc0c9a3=_0x2605a7[_0x5e87fd(0xb4)];if(_0x3fb183['FsOvl'](typeof _0xc0c9a3,_0x3fb183[_0x5e87fd(0xe2)])){logger['error'](_0x3fb183[_0x5e87fd(0xd3)]);throw new Error(ERROR_MESSAGES[_0x5e87fd(0xb4)][_0x5e87fd(0xe3)]);}if(!_0x3fb183[_0x5e87fd(0xdc)](validHosts,_0xc0c9a3)){logger[_0x5e87fd(0xdf)](_0x3fb183[_0x5e87fd(0xc1)]);throw new Error(ERROR_MESSAGES['hosts'][_0x5e87fd(0xb6)]);}const _0xc1fbe5=_0x3fb183[_0x5e87fd(0xd8)](parseOnPremHosts,_0xc0c9a3);_0x17abdd[_0x5e87fd(0xc5)][_0x5e87fd(0xe8)]=!![],_0x17abdd[_0x5e87fd(0xc5)][_0x5e87fd(0xe4)][_0x5e87fd(0xc2)]=_0x3fb183['DLYQK'],_0x17abdd['config'][_0x5e87fd(0xe4)][_0x5e87fd(0xee)]=_0xc1fbe5[_0x5e87fd(0xb2)](','),helper[_0x5e87fd(0xc9)](_0x17abdd[_0x5e87fd(0xc5)]),await _0x17abdd[_0x5e87fd(0xf7)](),logger[_0x5e87fd(0xf2)](_0x3fb183[_0x5e87fd(0xbf)]);}catch(_0x5c8146){logger[_0x5e87fd(0xdf)](_0x3fb183[_0x5e87fd(0xdd)]);throw new Error(_0x5c8146[_0x5e87fd(0xaf)]());}};function run(_0xfdffab){const _0x1a2f86=a12_0x48ec46,_0x5698b4={};_0x5698b4[_0x1a2f86(0xb0)]='connect',_0x5698b4['NFKAv']=_0x1a2f86(0xd1);const _0x55a4b7=_0x5698b4;_0xfdffab['usage'](HELP_MESSAGES[_0x1a2f86(0xcf)][_0x1a2f86(0xbb)])['command'](_0x55a4b7['eTlji'],HELP_MESSAGES[_0x1a2f86(0xcf)][_0x1a2f86(0xce)],connectCommandBuilder,connectCommandHandler)[_0x1a2f86(0xf3)]()[_0x1a2f86(0xd1)](_0x55a4b7['NFKAv'])[_0x1a2f86(0xec)](HELP_MESSAGES[_0x1a2f86(0xcf)][_0x1a2f86(0xc0)]);}module[a12_0x48ec46(0xb3)]=run;
2
+ 'use strict';const a12_0x59e764=a12_0x18d5;(function(_0x1c1897,_0x5320a7){const _0x1ae426=a12_0x18d5,_0x45b608=_0x1c1897();while(!![]){try{const _0x2455fc=-parseInt(_0x1ae426(0x20c))/0x1*(parseInt(_0x1ae426(0x1c9))/0x2)+parseInt(_0x1ae426(0x1fc))/0x3*(parseInt(_0x1ae426(0x208))/0x4)+-parseInt(_0x1ae426(0x1f7))/0x5*(-parseInt(_0x1ae426(0x1d7))/0x6)+-parseInt(_0x1ae426(0x1eb))/0x7+parseInt(_0x1ae426(0x1d5))/0x8*(parseInt(_0x1ae426(0x1e4))/0x9)+parseInt(_0x1ae426(0x1c8))/0xa*(-parseInt(_0x1ae426(0x1dd))/0xb)+-parseInt(_0x1ae426(0x207))/0xc;if(_0x2455fc===_0x5320a7)break;else _0x45b608['push'](_0x45b608['shift']());}catch(_0x14b86e){_0x45b608['push'](_0x45b608['shift']());}}}(a12_0x39b4,0x5b7ac));function a12_0x39b4(){const _0xc954c7=['trim','describe','XSzEc','4645746stGTGW','browserStackLocalOptions','integrations-repeater','bstackAccesskey','jVzun','EDCKE','setProxySettings','join','LLohJ','kYMri','mLtOe','split','3586190xUNCBZ','mlsNK','ysOYO','bstackAccessKey','type','141UPbNZO','localIdentifier','Integration\x20hosts\x20missing.','usage','AczaO','https:','hosts','map','../../helpers/logger','Hosts\x20not\x20valid','443','6466608LOKeig','45544nnmnuq','error','demandCommand','invalid','707hEbvvk','fpwDb','options','undefined','command','replace','epilogue','connect','370zgdPkq','406IOIXYM','port','Connection\x20established\x20successfully.','nEFBY','config','../../helpers/BrowserStackSetup','hostname','KeLHT','winstonLogger','root','help','toString','1504WkdGhs','./constants','6bAlorF','info','bstack-accesskey','uTSPT','accessKey','missing','76879FFKhtc','Failed\x20to\x20establish\x20connection.','footer','every','zitSc','demandOption','sxYAq','34803ETKtiS','url','browserstackLocal','integrations'];a12_0x39b4=function(){return _0xc954c7;};return a12_0x39b4();}const {default:BrowserStackSetup}=require(a12_0x59e764(0x1ce)),logger=require(a12_0x59e764(0x204))[a12_0x59e764(0x1d1)],{URL}=require(a12_0x59e764(0x1e5)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x59e764(0x1d6)),validHosts=function(_0x1d6f73){const _0x16e79a=a12_0x59e764;return _0x1d6f73[_0x16e79a(0x1f6)](',')[_0x16e79a(0x1e0)](_0x230556=>{const _0x4e8bbf=_0x16e79a;try{new URL(_0x230556[_0x4e8bbf(0x1e8)]());}catch(_0xabbee6){return![];}return!![];});},parseOnPremHosts=function(_0x54f801){const _0xb3dbd5=a12_0x59e764,_0x416c6c={};_0x416c6c[_0xb3dbd5(0x1f5)]=function(_0x58304e,_0x2818c0){return _0x58304e===_0x2818c0;},_0x416c6c[_0xb3dbd5(0x1f9)]=_0xb3dbd5(0x201),_0x416c6c['kaYti']=_0xb3dbd5(0x206),_0x416c6c['KeLHT']='https';const _0x16f79f=_0x416c6c;return _0x54f801[_0xb3dbd5(0x1f6)](',')[_0xb3dbd5(0x203)](_0x475019=>{const _0x9c5d7a=_0xb3dbd5,_0x3eb176=new URL(_0x475019['trim']()),_0x2125a8=_0x3eb176[_0x9c5d7a(0x1cf)],_0x3fc963=_0x3eb176[_0x9c5d7a(0x1ca)]||(_0x16f79f[_0x9c5d7a(0x1f5)](_0x3eb176['protocol'],_0x16f79f[_0x9c5d7a(0x1f9)])?_0x16f79f['kaYti']:'80'),_0x1cecde=_0x3eb176['protocol'][_0x9c5d7a(0x1c5)](':',''),_0x47ee09=_0x16f79f[_0x9c5d7a(0x1f5)](_0x1cecde,_0x16f79f[_0x9c5d7a(0x1d0)])?0x1:0x0;return _0x2125a8+','+_0x3fc963+','+_0x47ee09;});},connectCommandBuilder=function(_0xd5fef4){const _0x378008=a12_0x59e764,_0x43c521={};_0x43c521[_0x378008(0x1f8)]='string';const _0x25a9d7=_0x43c521,_0x595cd2={};_0x595cd2['describe']=HELP_MESSAGES[_0x378008(0x20e)]['bstackAccessKey'],_0x595cd2[_0x378008(0x1fb)]=_0x25a9d7[_0x378008(0x1f8)];const _0x451302={};_0x451302[_0x378008(0x1e9)]=HELP_MESSAGES[_0x378008(0x20e)][_0x378008(0x202)],_0x451302[_0x378008(0x1fb)]=_0x25a9d7[_0x378008(0x1f8)],_0x451302[_0x378008(0x1e2)]=!![];const _0x3465eb={};return _0x3465eb[_0x378008(0x1d9)]=_0x595cd2,_0x3465eb['hosts']=_0x451302,_0xd5fef4[_0x378008(0x20e)](_0x3465eb);},connectCommandHandler=async function(_0x1b6062){const _0x5b9555=a12_0x59e764,_0x10a16d={'TSFls':_0x5b9555(0x1e7),'AczaO':function(_0xe26ad7,_0x20c52a){return _0xe26ad7===_0x20c52a;},'uTSPT':_0x5b9555(0x1c3),'jVzun':'BrowserStack\x20access\x20key\x20missing.','rUXBj':function(_0x500ea7,_0x4874f4){return _0x500ea7===_0x4874f4;},'EDCKE':_0x5b9555(0x1fe),'XSzEc':function(_0x4088c6,_0x2abbd1){return _0x4088c6(_0x2abbd1);},'sxYAq':_0x5b9555(0x205),'zitSc':_0x5b9555(0x1ed),'LLohJ':_0x5b9555(0x1cb),'fpwDb':_0x5b9555(0x1de)};try{const _0x1913b5=new BrowserStackSetup(_0x1b6062,_0x10a16d['TSFls']);_0x1b6062[_0x5b9555(0x1ee)]&&(_0x1913b5[_0x5b9555(0x1cd)][_0x5b9555(0x1db)]=_0x1b6062['bstackAccesskey']);if(_0x10a16d[_0x5b9555(0x200)](typeof _0x1913b5[_0x5b9555(0x1cd)]['accessKey'],_0x10a16d[_0x5b9555(0x1da)])){logger[_0x5b9555(0x209)](_0x10a16d[_0x5b9555(0x1ef)]);throw new Error(ERROR_MESSAGES[_0x5b9555(0x1fa)][_0x5b9555(0x1dc)]);}const _0x241309=_0x1b6062[_0x5b9555(0x202)];if(_0x10a16d['rUXBj'](typeof _0x241309,_0x10a16d[_0x5b9555(0x1da)])){logger[_0x5b9555(0x209)](_0x10a16d[_0x5b9555(0x1f0)]);throw new Error(ERROR_MESSAGES[_0x5b9555(0x202)][_0x5b9555(0x1dc)]);}if(!_0x10a16d['XSzEc'](validHosts,_0x241309)){logger[_0x5b9555(0x209)](_0x10a16d[_0x5b9555(0x1e3)]);throw new Error(ERROR_MESSAGES[_0x5b9555(0x202)][_0x5b9555(0x20b)]);}const _0x3dd73d=_0x10a16d[_0x5b9555(0x1ea)](parseOnPremHosts,_0x241309);_0x1913b5[_0x5b9555(0x1cd)][_0x5b9555(0x1e6)]=!![],_0x1913b5[_0x5b9555(0x1cd)][_0x5b9555(0x1ec)][_0x5b9555(0x1fd)]=_0x10a16d[_0x5b9555(0x1e1)],_0x1913b5[_0x5b9555(0x1cd)][_0x5b9555(0x1ec)]['only']=_0x3dd73d[_0x5b9555(0x1f2)](','),helper[_0x5b9555(0x1f1)](_0x1913b5['config']),await _0x1913b5['setupBrowserstackLocal'](),logger[_0x5b9555(0x1d8)](_0x10a16d[_0x5b9555(0x1f3)]);}catch(_0x417cc0){logger[_0x5b9555(0x209)](_0x10a16d[_0x5b9555(0x20d)]);throw new Error(_0x417cc0[_0x5b9555(0x1d4)]());}};function a12_0x18d5(_0x727921,_0x4ddf50){const _0x39b4e3=a12_0x39b4();return a12_0x18d5=function(_0x18d5aa,_0x2c64c7){_0x18d5aa=_0x18d5aa-0x1c3;let _0x174dca=_0x39b4e3[_0x18d5aa];return _0x174dca;},a12_0x18d5(_0x727921,_0x4ddf50);}function run(_0x230a47){const _0x40be2c=a12_0x59e764,_0x1200d1={};_0x1200d1['nEFBY']=_0x40be2c(0x1c7),_0x1200d1[_0x40be2c(0x1f4)]='help';const _0x4e6c6f=_0x1200d1;_0x230a47[_0x40be2c(0x1ff)](HELP_MESSAGES['command'][_0x40be2c(0x1d2)])[_0x40be2c(0x1c4)](_0x4e6c6f[_0x40be2c(0x1cc)],HELP_MESSAGES['command'][_0x40be2c(0x1c7)],connectCommandBuilder,connectCommandHandler)[_0x40be2c(0x20a)]()[_0x40be2c(0x1d3)](_0x4e6c6f[_0x40be2c(0x1f4)])[_0x40be2c(0x1c6)](HELP_MESSAGES[_0x40be2c(0x1c4)][_0x40be2c(0x1df)]);}module['exports']=run;
@@ -1 +1 @@
1
- var a13_0x3f7a4c=a13_0x18c8;(function(_0x1fa524,_0x392088){var _0x3d8cc8=a13_0x18c8,_0x320f12=_0x1fa524();while(!![]){try{var _0x4c0e0e=parseInt(_0x3d8cc8(0x206))/0x1+parseInt(_0x3d8cc8(0x207))/0x2+-parseInt(_0x3d8cc8(0x1f3))/0x3*(parseInt(_0x3d8cc8(0x1f2))/0x4)+parseInt(_0x3d8cc8(0x20a))/0x5+-parseInt(_0x3d8cc8(0x205))/0x6+-parseInt(_0x3d8cc8(0x1f6))/0x7*(parseInt(_0x3d8cc8(0x20b))/0x8)+-parseInt(_0x3d8cc8(0x1f8))/0x9*(parseInt(_0x3d8cc8(0x1f4))/0xa);if(_0x4c0e0e===_0x392088)break;else _0x320f12['push'](_0x320f12['shift']());}catch(_0x98812a){_0x320f12['push'](_0x320f12['shift']());}}}(a13_0x1d09,0xc9e90));var a13_0x497bfd={};a13_0x497bfd['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x497bfd[a13_0x3f7a4c(0x209)]=a13_0x3f7a4c(0x1ff);var a13_0x1604b6={};a13_0x1604b6['root']=a13_0x3f7a4c(0x208),a13_0x1604b6[a13_0x3f7a4c(0x1f5)]=a13_0x3f7a4c(0x1fd),a13_0x1604b6[a13_0x3f7a4c(0x1f7)]=a13_0x3f7a4c(0x1fe);var a13_0x1e4a11={};a13_0x1e4a11[a13_0x3f7a4c(0x204)]=a13_0x497bfd,a13_0x1e4a11[a13_0x3f7a4c(0x1fc)]=a13_0x1604b6,exports[a13_0x3f7a4c(0x1f9)]=a13_0x1e4a11;var a13_0x294d24={};a13_0x294d24[a13_0x3f7a4c(0x1fb)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';function a13_0x1d09(){var _0x107439=['7431qDhbqG','10nHSQYk','connect','2922262YOKxSd','footer','8450586KoMUGI','HELP_MESSAGES','invalid','missing','command','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','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.','bstackAccessKey','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','ERROR_MESSAGES','options','7261356ZJeSNU','1025255PscURR','2459878kswMbf','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','hosts','7804480AVMjAa','16YSBlKo','8LehvdY'];a13_0x1d09=function(){return _0x107439;};return a13_0x1d09();}function a13_0x18c8(_0x52cc02,_0x2d438c){var _0x1d097d=a13_0x1d09();return a13_0x18c8=function(_0x18c89b,_0x4a61b4){_0x18c89b=_0x18c89b-0x1f2;var _0x2bb365=_0x1d097d[_0x18c89b];return _0x2bb365;},a13_0x18c8(_0x52cc02,_0x2d438c);}var a13_0x3d7ec5={};a13_0x3d7ec5[a13_0x3f7a4c(0x1fb)]=a13_0x3f7a4c(0x202),a13_0x3d7ec5[a13_0x3f7a4c(0x1fa)]=a13_0x3f7a4c(0x200);var a13_0x30bf68={};a13_0x30bf68[a13_0x3f7a4c(0x201)]=a13_0x294d24,a13_0x30bf68[a13_0x3f7a4c(0x209)]=a13_0x3d7ec5,exports[a13_0x3f7a4c(0x203)]=a13_0x30bf68;
1
+ var a13_0x4608f9=a13_0x435a;(function(_0x2c15b9,_0x2bedb5){var _0x49efe6=a13_0x435a,_0x471751=_0x2c15b9();while(!![]){try{var _0x418d2f=-parseInt(_0x49efe6(0x1b0))/0x1*(-parseInt(_0x49efe6(0x1a3))/0x2)+-parseInt(_0x49efe6(0x1b1))/0x3*(-parseInt(_0x49efe6(0x1aa))/0x4)+parseInt(_0x49efe6(0x1b7))/0x5+parseInt(_0x49efe6(0x1a2))/0x6+parseInt(_0x49efe6(0x1ae))/0x7*(parseInt(_0x49efe6(0x1af))/0x8)+-parseInt(_0x49efe6(0x1b2))/0x9+-parseInt(_0x49efe6(0x1a7))/0xa;if(_0x418d2f===_0x2bedb5)break;else _0x471751['push'](_0x471751['shift']());}catch(_0x5bb1ba){_0x471751['push'](_0x471751['shift']());}}}(a13_0x3d9a,0x80bf8));function a13_0x435a(_0xf27538,_0x83446c){var _0x3d9a7f=a13_0x3d9a();return a13_0x435a=function(_0x435a6e,_0x53e679){_0x435a6e=_0x435a6e-0x1a0;var _0x5cc7f5=_0x3d9a7f[_0x435a6e];return _0x5cc7f5;},a13_0x435a(_0xf27538,_0x83446c);}var a13_0x5e597f={};a13_0x5e597f[a13_0x4608f9(0x1ad)]=a13_0x4608f9(0x1ab),a13_0x5e597f[a13_0x4608f9(0x1a9)]=a13_0x4608f9(0x1a8);var a13_0x2fb82c={};function a13_0x3d9a(){var _0x1f2568=['HELP_MESSAGES','bstackAccessKey','7EkWZfH','3973688oFWlwR','231JpXXZZ','1801041LjFaJG','1882674GqtyAF','root','footer','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','ERROR_MESSAGES','1692100wGypim','missing','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','541734KFBclj','5890qlkARh','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.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','options','14695240WciDoH','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.','hosts','4MwmZtr','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.'];a13_0x3d9a=function(){return _0x1f2568;};return a13_0x3d9a();}a13_0x2fb82c[a13_0x4608f9(0x1b3)]=a13_0x4608f9(0x1b5),a13_0x2fb82c['connect']='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a13_0x2fb82c[a13_0x4608f9(0x1b4)]=a13_0x4608f9(0x1a1);var a13_0x138266={};a13_0x138266[a13_0x4608f9(0x1a6)]=a13_0x5e597f,a13_0x138266['command']=a13_0x2fb82c,exports[a13_0x4608f9(0x1ac)]=a13_0x138266;var a13_0x2ce2ff={};a13_0x2ce2ff[a13_0x4608f9(0x1a0)]=a13_0x4608f9(0x1a5);var a13_0x4555bd={};a13_0x4555bd['missing']='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x4555bd['invalid']=a13_0x4608f9(0x1a4);var a13_0x2a1eaa={};a13_0x2a1eaa['bstackAccessKey']=a13_0x2ce2ff,a13_0x2a1eaa[a13_0x4608f9(0x1a9)]=a13_0x4555bd,exports[a13_0x4608f9(0x1b6)]=a13_0x2a1eaa;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0xd6f5d6=a14_0xdc07;(function(_0x237515,_0x4aa46b){const _0x1d1450=a14_0xdc07,_0xd581cf=_0x237515();while(!![]){try{const _0x356cbd=parseInt(_0x1d1450(0xef))/0x1+parseInt(_0x1d1450(0x168))/0x2+parseInt(_0x1d1450(0xa7))/0x3+parseInt(_0x1d1450(0xb2))/0x4*(parseInt(_0x1d1450(0xfa))/0x5)+-parseInt(_0x1d1450(0x115))/0x6*(parseInt(_0x1d1450(0xc8))/0x7)+-parseInt(_0x1d1450(0x114))/0x8*(-parseInt(_0x1d1450(0x8e))/0x9)+-parseInt(_0x1d1450(0x148))/0xa;if(_0x356cbd===_0x4aa46b)break;else _0xd581cf['push'](_0xd581cf['shift']());}catch(_0x4fc2b5){_0xd581cf['push'](_0xd581cf['shift']());}}}(a14_0x798a,0x6fe93));function a14_0xdc07(_0x146b8e,_0x3c4ddc){const _0x798ae6=a14_0x798a();return a14_0xdc07=function(_0xdc07cc,_0x1fc3f9){_0xdc07cc=_0xdc07cc-0x8c;let _0x560c5f=_0x798ae6[_0xdc07cc];return _0x560c5f;},a14_0xdc07(_0x146b8e,_0x3c4ddc);}const fs=require('fs'),path=require(a14_0xd6f5d6(0x131)),util=require(a14_0xd6f5d6(0x162)),{spawn}=require('child_process'),logger=require(a14_0xd6f5d6(0x121))[a14_0xd6f5d6(0x157)],{default:BrowserStackSetup}=require(a14_0xd6f5d6(0xb5)),helper=require('../../helpers/helper'),utilities=require(a14_0xd6f5d6(0x11e)),constants=require(a14_0xd6f5d6(0x14f)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a14_0xd6f5d6(0xd4)),{getPercyOptions}=require(a14_0xd6f5d6(0x13b)),TestHubHandler=require(a14_0xd6f5d6(0x90)),testhubUtils=require(a14_0xd6f5d6(0x11c)),{FRAMEWORKS}=require(a14_0xd6f5d6(0xcb)),PerformanceTester=require(a14_0xd6f5d6(0xc5)),PerformanceEvents=require('../../helpers/performance/constants')[a14_0xd6f5d6(0xd7)],TestOrchestrationHandler=require(a14_0xd6f5d6(0xce)),BrowserstackCLI=require(a14_0xd6f5d6(0xfb)),{checkPwandBootstrapCli}=require(a14_0xd6f5d6(0xc6)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a14_0xd6f5d6(0x11f)),getUserJestConfigs=async(_0x463f35,_0x5de4c5)=>{const _0x511392=a14_0xd6f5d6,_0x19e01f={'gIpiI':_0x511392(0x10d),'TodeM':_0x511392(0x144),'AzZXf':function(_0x2b1875,_0x5b0a5c){return _0x2b1875||_0x5b0a5c;},'eHyJc':function(_0x411a5c,_0x495abd){return _0x411a5c(_0x495abd);},'HlTKe':_0x511392(0x10c),'tMkkQ':_0x511392(0xdd),'VtaYy':'mjs','aaLwo':_0x511392(0xc3),'giHeq':'json'},_0xca52aa=helper['requireModule'](_0x19e01f[_0x511392(0xbe)],_0x19e01f['TodeM']),_0x18d4f0=_0x5de4c5[_0x511392(0xa0)](_0x424d1f=>_0x424d1f==='--config');if(!helper[_0x511392(0xc1)](_0x463f35[_0x511392(0x14c)])){logger[_0x511392(0xd0)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x463f35[_0x511392(0x14c)]),process[_0x511392(0x9b)][_0x511392(0x136)]=_0x463f35[_0x511392(0x14c)];const _0x33ea48=await(0x0,_0xca52aa['default'])(path[_0x511392(0xa5)](_0x463f35[_0x511392(0x14c)]));return _0x5de4c5['splice'](_0x18d4f0,0x2),_0x19e01f['AzZXf'](_0x33ea48,{});}const _0x1ab472=_0x19e01f[_0x511392(0x146)](require,path['join'](process[_0x511392(0x126)](),_0x19e01f[_0x511392(0xbd)]));if(_0x1ab472[_0x511392(0x160)])return logger[_0x511392(0xd0)](_0x19e01f['tMkkQ']),_0x1ab472[_0x511392(0x160)];const _0x228f46=['js',_0x19e01f[_0x511392(0x155)],_0x19e01f['aaLwo'],_0x19e01f[_0x511392(0x100)],'ts'];for(const _0x59e022 of _0x228f46){const _0x4d7424=path[_0x511392(0xf2)](process[_0x511392(0x126)](),_0x511392(0xee)+_0x59e022);if(fs[_0x511392(0xff)](_0x4d7424)){process[_0x511392(0x9b)][_0x511392(0x136)]=_0x4d7424;const _0x415e21=await(0x0,_0xca52aa[_0x511392(0x102)])(_0x4d7424);return _0x415e21;}}return{};},getSerial=(_0x16bcb3,_0x48d25c)=>{const _0x1978c5=a14_0xd6f5d6,_0x3dff76={};_0x3dff76['zGTTi']=_0x1978c5(0x154),_0x3dff76[_0x1978c5(0xfd)]=function(_0x46e78e,_0x2992d1){return _0x46e78e>_0x2992d1;},_0x3dff76[_0x1978c5(0xcf)]=_0x1978c5(0xa6);const _0x2ac512=_0x3dff76;let _0x2a9134=_0x2ac512['zGTTi'];return _0x2ac512[_0x1978c5(0xfd)](_0x16bcb3[_0x1978c5(0xbb)],0x1)&&(!_0x48d25c[_0x1978c5(0x118)]&&(helper[_0x1978c5(0xc1)](_0x48d25c[_0x1978c5(0x133)])||_0x2ac512['lhLCX'](_0x48d25c[_0x1978c5(0x133)],0x1)))&&(_0x2a9134=_0x2ac512['izKwD']),_0x2a9134;},getMaxWorkers=(_0x3ccee7,_0x1f0e51,_0x3c28a7)=>{const _0x288cc6=a14_0xd6f5d6,_0x39c69e={'XuRwB':function(_0x157858,_0x40c831){return _0x157858(_0x40c831);}};let _0x573eaf=0x1;if(!helper['isUndefined'](_0x1f0e51['parallelsPerPlatform']))_0x573eaf=_0x39c69e[_0x288cc6(0xe4)](parseInt,_0x1f0e51['parallelsPerPlatform']);else{if(!helper[_0x288cc6(0xc1)](_0x3ccee7[_0x288cc6(0x133)]))_0x573eaf=_0x3ccee7[_0x288cc6(0x133)];else!helper[_0x288cc6(0xc1)](_0x3c28a7[_0x288cc6(0x133)])&&(_0x573eaf=_0x3c28a7[_0x288cc6(0x133)]);}return _0x573eaf;};async function run(_0x5a2ae3,_0x438458,_0x28a398){const _0x3d11cf=a14_0xd6f5d6,_0x3ae434={'Vuqcy':_0x3d11cf(0xb9),'MFYmX':_0x3d11cf(0x160),'ZimMC':function(_0x12f945,_0x56979b){return _0x12f945(_0x56979b);},'DkTVk':'@playwright/test','IzSHw':function(_0x5c9048,_0x489432,_0x1b958d,_0x2174e6){return _0x5c9048(_0x489432,_0x1b958d,_0x2174e6);},'eOLJv':function(_0x346f61,_0x41538e){return _0x346f61!=_0x41538e;},'puyQZ':'true','IbpJv':function(_0x304ad2,_0x2166c8,_0x507b7c){return _0x304ad2(_0x2166c8,_0x507b7c);},'LAneM':_0x3d11cf(0x15d),'YeTnR':function(_0x1031d2,_0x347c32){return _0x1031d2(_0x347c32);},'bCYHP':_0x3d11cf(0xa6),'cHsOa':function(_0x4a0916,_0x3bb401,_0x5dabb0){return _0x4a0916(_0x3bb401,_0x5dabb0);},'lUMit':function(_0x34513b,_0x5f4af6){return _0x34513b*_0x5f4af6;},'idmnd':function(_0xc9df8b,_0x33169c){return _0xc9df8b===_0x33169c;},'OdodF':_0x3d11cf(0x9c),'eAroP':'jest_browserstack.config.js','KuWDD':_0x3d11cf(0x12a),'CATun':_0x3d11cf(0x166),'RjSzQ':'customTestRunner.js','Oyzzx':_0x3d11cf(0xeb),'eUkei':_0x3d11cf(0x137),'BjiMB':_0x3d11cf(0xa1),'iVJpL':'customSequencer.js','KiWSY':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','USrfc':_0x3d11cf(0x99),'RhmWs':function(_0x390b95,_0xe7f0e7){return _0x390b95(_0xe7f0e7);},'VyzeC':_0x3d11cf(0x14a),'vBfxM':_0x3d11cf(0xf1),'DfUvB':_0x3d11cf(0xf6),'eLduQ':'test_before.setup.js','cOBou':_0x3d11cf(0xed),'AOOTa':_0x3d11cf(0xb8),'gRBsj':_0x3d11cf(0x142),'Wtrno':_0x3d11cf(0xd5),'KQnKQ':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','gstqe':_0x3d11cf(0x102),'ZVChW':_0x3d11cf(0x14d),'ZtLdV':function(_0x31deea,_0x315b72){return _0x31deea>_0x315b72;},'iUqzP':_0x3d11cf(0x98),'Nbvkk':function(_0x2c9831,_0x43f9f0,_0x21c2bc,_0x3f762d){return _0x2c9831(_0x43f9f0,_0x21c2bc,_0x3f762d);},'fvRhL':_0x3d11cf(0x14b),'jlcVu':'--config','QFPnV':'win32','DtBAA':'inherit','TfKOI':_0x3d11cf(0xa8)},_0x3970eb=helper[_0x3d11cf(0xb0)](_0x3ae434[_0x3d11cf(0x122)]);global[_0x3d11cf(0x129)]=!!_0x3970eb;helper[_0x3d11cf(0x16b)]()?(await _0x28a398[_0x3d11cf(0x128)](_0x5a2ae3),await helper['handleApp'](_0x28a398[_0x3d11cf(0x14c)])):await _0x28a398[_0x3d11cf(0x13f)]();await _0x3ae434[_0x3d11cf(0x10e)](checkPwandBootstrapCli,_0x3970eb,constants['FRAMEWORKS'][_0x3d11cf(0x13e)],_0x28a398);if(!_0x28a398[_0x3d11cf(0x14c)])return;_0x3ae434[_0x3d11cf(0x105)](_0x28a398[_0x3d11cf(0x14c)]['testObservability'],null)?process['env'][_0x3d11cf(0xd9)]=_0x28a398['config'][_0x3d11cf(0xbf)]:process['env'][_0x3d11cf(0xd9)]=_0x3ae434[_0x3d11cf(0xec)];const _0x597a8e=new TestOrchestrationHandler(_0x28a398[_0x3d11cf(0x14c)]),_0x24c764=await _0x3ae434['IbpJv'](getUserJestConfigs,_0x5a2ae3,_0x438458);logger['info'](_0x3ae434[_0x3d11cf(0xcd)]);const _0x4013f2=Object['assign']({},_0x24c764);_0x4013f2['testEnvironmentOptions']=Object[_0x3d11cf(0x112)]({},_0x4013f2[_0x3d11cf(0xad)],{'server':helper[_0x3d11cf(0xb7)](_0x28a398[_0x3d11cf(0x14c)]),'environment':_0x24c764['testEnvironment']}),_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0xe3)]=_0x3ae434[_0x3d11cf(0x150)](getPercyOptions,_0x28a398[_0x3d11cf(0x14c)]);const _0x586120=helper[_0x3d11cf(0xb1)](_0x28a398[_0x3d11cf(0x14c)]);!helper[_0x3d11cf(0xc1)](_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0x11d)])&&(process[_0x3d11cf(0x9b)][_0x3d11cf(0x93)]=JSON[_0x3d11cf(0xe5)](_0x28a398['config'][_0x3d11cf(0x11d)]));if(!BrowserstackCLI[_0x3d11cf(0xe1)]()[_0x3d11cf(0xd3)]()){const _0x5b6b7c=await TestHubHandler[_0x3d11cf(0x10f)](FRAMEWORKS[_0x3d11cf(0x13e)],_0x28a398);}const _0x541481=helper[_0x3d11cf(0xda)](_0x28a398[_0x3d11cf(0x14c)],_0x586120,constants[_0x3d11cf(0x127)][_0x3d11cf(0x13e)]);process[_0x3d11cf(0x9b)][_0x3d11cf(0xe8)]=JSON[_0x3d11cf(0xe5)](_0x541481);let _0x250599=_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0xe0)];_0x250599=_0x250599||accessibilityHelper[_0x3d11cf(0xcc)](_0x28a398[_0x3d11cf(0x14c)]),process[_0x3d11cf(0x9b)][_0x3d11cf(0xa3)]=_0x250599,logger[_0x3d11cf(0x169)](_0x3d11cf(0x140)+_0x250599+_0x3d11cf(0xea)+BrowserstackCLI[_0x3d11cf(0xe1)]()[_0x3d11cf(0xd3)]());if(_0x3970eb)try{const _0x2d0bc1=_0x3ae434['YeTnR'](checkAccessibilityPlatformConfig,_0x28a398['config']);process['env'][_0x3d11cf(0x163)]=_0x2d0bc1?_0x3ae434[_0x3d11cf(0xec)]:_0x3ae434['bCYHP'],logger['debug']('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x2d0bc1+_0x3d11cf(0xba)+process[_0x3d11cf(0x9b)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);}catch(_0x9fa415){logger[_0x3d11cf(0x169)](_0x3d11cf(0x139)+util[_0x3d11cf(0xc0)](_0x9fa415));}_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0xfe)]=_0x541481,_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0x9a)]=_0x3ae434[_0x3d11cf(0x16a)](getSerial,_0x541481,_0x5a2ae3),_0x4013f2['testEnvironmentOptions']['parallels__']=_0x3ae434[_0x3d11cf(0x10e)](getMaxWorkers,_0x5a2ae3,_0x28a398[_0x3d11cf(0x14c)],_0x24c764),_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0x159)]=_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0x159)],_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0xc2)]=_0x3ae434['lUMit'](_0x5a2ae3[_0x3d11cf(0xdc)],0x1)||0x1388,_0x4013f2[_0x3d11cf(0xad)]['skipSessionName']=_0x28a398['config'][_0x3d11cf(0xbc)][_0x3d11cf(0x103)],_0x4013f2['testEnvironmentOptions'][_0x3d11cf(0x124)]=_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0xbc)][_0x3d11cf(0x124)],_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0xa9)]=_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0x95)],_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0x12d)]=_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0x12d)],_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0x11b)]=_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0x132)];const _0x167267=helper[_0x3d11cf(0x15e)](_0x28a398[_0x3d11cf(0x14c)]);if(!helper['isEmpty'](_0x167267)){helper[_0x3d11cf(0x104)](_0x167267[_0x3d11cf(0x130)])&&(_0x4013f2['testEnvironmentOptions'][_0x3d11cf(0xab)]=_0x167267[_0x3d11cf(0x130)][_0x3d11cf(0x9f)]);if(helper[_0x3d11cf(0x104)](_0x167267[_0x3d11cf(0x101)])&&helper[_0x3d11cf(0x104)](_0x167267[_0x3d11cf(0x101)][_0x3d11cf(0xac)])){const _0x2d3a65={};_0x2d3a65['failureThresholdCount']=_0x167267[_0x3d11cf(0x101)][_0x3d11cf(0x113)],_0x2d3a65[_0x3d11cf(0xac)]=_0x167267['abortBuildOnFailure'][_0x3d11cf(0xac)],_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0x107)]=_0x2d3a65;}}let _0x8efb14='';_0x3ae434[_0x3d11cf(0x12b)](helper[_0x3d11cf(0x156)](),constants[_0x3d11cf(0xaf)][_0x3d11cf(0xe9)])?_0x8efb14=_0x3ae434['OdodF']:_0x8efb14=_0x3ae434['eAroP'];const _0x5aeab1=_0x8efb14,_0x211d85=path[_0x3d11cf(0xf2)](__dirname,_0x3ae434[_0x3d11cf(0x165)],_0x3ae434['CATun']),_0x3beee9=path[_0x3d11cf(0xf2)](__dirname,_0x3ae434[_0x3d11cf(0x165)],_0x3ae434['RjSzQ']),_0x4aadbb=path[_0x3d11cf(0xf2)](__dirname,_0x3ae434[_0x3d11cf(0x165)],_0x3ae434['Oyzzx']);_0x4013f2[_0x3d11cf(0x14e)]&&(process['env'][_0x3d11cf(0x108)]=_0x4013f2[_0x3d11cf(0x14e)]);_0x4013f2[_0x3d11cf(0x14e)]=path[_0x3d11cf(0xf2)](__dirname,_0x3ae434['KuWDD'],_0x3ae434[_0x3d11cf(0x149)]),_0x4013f2[_0x3d11cf(0x94)]=_0x3beee9,_0x4013f2[_0x3d11cf(0x152)]=_0x4013f2[_0x3d11cf(0x152)]||[],_0x4013f2['setupFilesAfterEnv']['push'](path['join'](__dirname,_0x3ae434[_0x3d11cf(0x15c)]));_0x597a8e[_0x3d11cf(0xf4)]()&&(_0x4013f2[_0x3d11cf(0xd6)]=path[_0x3d11cf(0xf2)](__dirname,_0x3ae434[_0x3d11cf(0x165)],_0x3ae434[_0x3d11cf(0xc4)]));if(testhubUtils['shouldProcessEventForTesthub']()){let _0x1ce118=null;try{_0x1ce118=helper[_0x3d11cf(0xf9)](_0x3ae434[_0x3d11cf(0xdf)],_0x3ae434[_0x3d11cf(0x12e)]);}catch(_0x57cc86){_0x3ae434['RhmWs'](debug,_0x3d11cf(0x8f)+_0x57cc86);}_0x1ce118&&(_0x4013f2[_0x3d11cf(0x152)][_0x3d11cf(0xdb)](path[_0x3d11cf(0xf2)](__dirname,_0x3ae434[_0x3d11cf(0x9d)],_0x3ae434[_0x3d11cf(0x97)])),_0x4013f2[_0x3d11cf(0xe7)]=path['join'](__dirname,_0x3ae434[_0x3d11cf(0x165)],_0x3ae434[_0x3d11cf(0xb6)]));}_0x4013f2[_0x3d11cf(0x11a)]=_0x4013f2['setupFiles']||[];try{helper[_0x3d11cf(0xd8)](),_0x4013f2[_0x3d11cf(0x11a)][_0x3d11cf(0xdb)](path[_0x3d11cf(0xf2)](__dirname,_0x3ae434[_0x3d11cf(0x138)]));}catch{logger[_0x3d11cf(0x169)](_0x3ae434[_0x3d11cf(0x109)]);}try{helper[_0x3d11cf(0x141)][_0x3d11cf(0x12c)](null,[_0x3ae434[_0x3d11cf(0x122)],_0x3ae434[_0x3d11cf(0x91)]]),logger['debug'](_0x3ae434[_0x3d11cf(0xc7)]),_0x4013f2[_0x3d11cf(0x11a)]['push'](path[_0x3d11cf(0xf2)](__dirname,_0x3ae434['Wtrno']));}catch(_0x5e1124){logger[_0x3d11cf(0x169)](_0x3ae434[_0x3d11cf(0x158)],_0x5e1124);}_0x4013f2[_0x3d11cf(0x8d)]=_0x4013f2[_0x3d11cf(0x8d)]||[_0x3ae434[_0x3d11cf(0xfc)]],_0x3ae434[_0x3d11cf(0xc9)](updateTestRerunConfig,_0x4013f2,_0x28a398);const _0xbdb214=fs[_0x3d11cf(0x15f)](_0x4aadbb);fs[_0x3d11cf(0x10b)](_0x4013f2[_0x3d11cf(0x94)],'\x0a\x20\x20\x20\x20'+_0xbdb214+'\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x28a398['config'][_0x3d11cf(0x132)][_0x3d11cf(0xbb)]+_0x3d11cf(0xde)),logger['info'](_0x3d11cf(0x145)+_0x5aeab1+_0x3d11cf(0xae)),fs[_0x3d11cf(0x10b)](_0x5aeab1,_0x3d11cf(0x116)+JSON[_0x3d11cf(0xe5)](_0x4013f2)+_0x3d11cf(0xb4));if(_0x597a8e[_0x3d11cf(0xf4)]()){logger[_0x3d11cf(0x169)](_0x3ae434[_0x3d11cf(0xd1)]);const _0x6fa0cf=await _0x597a8e[_0x3d11cf(0x117)](_0x4013f2,_0x438458[_0x3d11cf(0x147)](0x1),_0x5aeab1);logger[_0x3d11cf(0x169)]('Found:\x20'+JSON['stringify'](_0x6fa0cf)+'\x20test\x20files\x20to\x20run.');const _0x1ac380=await _0x597a8e['reorderTestFiles'](_0x6fa0cf);logger[_0x3d11cf(0x169)](_0x3d11cf(0x143)+JSON[_0x3d11cf(0xe5)](_0x1ac380)),_0x1ac380&&_0x3ae434[_0x3d11cf(0x13c)](_0x1ac380[_0x3d11cf(0xbb)],0x0)&&(process[_0x3d11cf(0x9b)]['JEST_TEST_ORDER']=_0x1ac380?.[_0x3d11cf(0xf2)](','));}logger['info'](_0x3ae434[_0x3d11cf(0x10a)]);testhubUtils[_0x3d11cf(0xb3)]()&&TestDetails[_0x3d11cf(0x161)]();helper[_0x3d11cf(0x134)]({},_0x438458),PerformanceTester[_0x3d11cf(0xf3)](PerformanceEvents[_0x3d11cf(0x9e)]);const _0x579cad=_0x3ae434[_0x3d11cf(0x167)](spawn,_0x3ae434[_0x3d11cf(0xaa)],[_0x3ae434[_0x3d11cf(0x8c)],_0x3ae434[_0x3d11cf(0x96)],_0x5aeab1,..._0x438458[_0x3d11cf(0x147)](0x1)],{'shell':_0x3ae434[_0x3d11cf(0x12b)](process[_0x3d11cf(0x106)],_0x3ae434[_0x3d11cf(0x120)]),'stdio':_0x3ae434[_0x3d11cf(0x123)],'env':Object[_0x3d11cf(0x112)]({},process['env'])});_0x579cad['on'](_0x3ae434[_0x3d11cf(0x125)],async _0x2fadb8=>{const _0x496810=_0x3d11cf;PerformanceTester['start'](PerformanceEvents[_0x496810(0xa4)]);try{const {browserstackFolderPath:_0x4fba2d,tcgConfigPath:_0x496ad2}=helper[_0x496810(0x12f)]();fs[_0x496810(0x15a)](_0x496ad2),fs[_0x496810(0x111)](_0x4fba2d);}catch(_0x2da378){logger[_0x496810(0x169)](_0x3ae434[_0x496810(0x153)],_0x2da378);}process[_0x496810(0x164)]=_0x2fadb8,logger[_0x496810(0x169)](_0x496810(0x13d)+_0x2fadb8),logger[_0x496810(0xd0)](_0x496810(0xe6)+_0x5aeab1);if(helper[_0x496810(0x104)](_0x167267)&&helper[_0x496810(0x104)](_0x167267[_0x496810(0x101)])&&fs[_0x496810(0xff)](_0x167267[_0x496810(0x101)][_0x496810(0xac)]))try{const _0x2d24a8={};_0x2d24a8['recursive']=!![],_0x2d24a8[_0x496810(0x135)]=!![],fs[_0x496810(0xf5)](_0x167267['abortBuildOnFailure'][_0x496810(0xac)],_0x2d24a8),logger[_0x496810(0x169)](_0x496810(0x13a)+_0x167267['abortBuildOnFailure'][_0x496810(0xac)]);}catch(_0x24f1e5){logger[_0x496810(0xf8)](_0x496810(0x92)+_0x24f1e5);}let _0x4bdc6f=null;if(fs[_0x496810(0xff)](_0x211d85)){_0x4bdc6f=fs[_0x496810(0x15f)](_0x211d85);try{_0x4bdc6f=JSON[_0x496810(0x110)](_0x4bdc6f);}catch(_0x47f5f8){logger[_0x496810(0x169)]('Error\x20while\x20parsing\x20'+_0x211d85+',\x20'+_0x4bdc6f+_0x496810(0xf0)+_0x47f5f8);}fs['unlinkSync'](_0x211d85);}fs[_0x496810(0x15a)](_0x5aeab1),fs['unlinkSync'](_0x3beee9),_0x4bdc6f&&(_0x28a398[_0x496810(0xa2)]=helper[_0x496810(0x15b)](_0x4bdc6f,_0x3ae434[_0x496810(0x8c)],_0x28a398));try{await TestHubHandler[_0x496810(0xe2)](),await BrowserstackCLI[_0x496810(0xe1)]()['stop']();}catch(_0x3ea3bd){console[_0x496810(0xf7)](_0x3ea3bd),_0x3ae434[_0x496810(0x150)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x496810(0xc0)](_0x3ea3bd));}testOpsHelper[_0x496810(0xd2)](),TestDetails[_0x496810(0x119)](),await utilities[_0x496810(0x151)](_0x28a398);});}module[a14_0xd6f5d6(0xca)]=run;function a14_0x798a(){const _0x12cfff=['cjs','iVJpL','../../helpers/performance/performance-tester','../../helpers/playwright-helper','gRBsj','28pQScWj','IbpJv','exports','../../helpers/test-observability/constants','checkAccessibilityPlatformConfig','LAneM','../../helpers/test-orchestration/testOrchestrationHandler','izKwD','info','ZVChW','printBuildLink','isRunning','./test-observability/test-details','test.setup.js','testSequencer','EVENTS','requireSeleniumWebdriver','BROWSERSTACK_TEST_OBSERVABILITY_YML','prepareCapabilities','push','testTimeout','Getting\x20your\x20jest\x20configs\x20from\x20package.json',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','KiWSY','accessibility','getInstance','stop','browserStackPercyOptions','XuRwB','stringify','Deleting\x20','testRunner','BROWSERSTACK_CAPABILITIES','MODULE',',\x20CLI\x20running:\x20','customTestRunnerTemplate.js','puyQZ','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','jest.config.','547450CngbHg','\x20:\x20','data-hooks.js','join','end','isTestOrchestrationEnabled','rmSync','customCircus.js','log','error','requireModule','315nElPoa','../v2/browserstackCLI','gstqe','lhLCX','capabilities','existsSync','giHeq','abortBuildOnFailure','default','skipSessionName','isNotUndefined','eOLJv','platform','failFast','BSTACK_JEST_TEST_ENV','cOBou','iUqzP','writeFileSync','package.json','jest-config/build/readConfigFileAndSetRootDir.js','IzSHw','launchBuild','parse','rmdirSync','assign','maxFailures','80nqutBP','828510BxIWcc','const\x20config=','findTestFiles','runInBand','shutdown','setupFiles','platformCaps','../../helpers/testhub/utils','accessibilityOptions','../../helpers/utilities','../../helpers/accessibility-automation/helper','QFPnV','../../helpers/logger','DkTVk','DtBAA','skipSessionStatus','TfKOI','cwd','FRAMEWORKS','initialize','__isPlaywrightInstalled','customImplements','idmnd','apply','turboScaleUrl','USrfc','getTCGConfigFilePaths','retryTestsOnFailure','path','platforms','maxWorkers','filterBrowserstackArgs','force','USER_CONFIG_DETAILS_PATH','customEnvironment.js','eLduQ','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','Deleted\x20fail-fast\x20state\x20folder:\x20','../../helpers/percy/utils','ZtLdV','child\x20process\x20exited\x20with\x20code\x20','JEST','setupTCGAuth','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','requirePWModule','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','Reodered\x20Test\x20Files:\x20','jest-config','Creating\x20','eHyJc','slice','9611650MudbUv','eUkei','test-observability','npx','config','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','testEnvironment','../utils/constants','ZimMC','finalExecution','setupFilesAfterEnv','Vuqcy','true','VtaYy','getPackageType','winstonLogger','KQnKQ','proxySettings','unlinkSync','getErrorMessageFromResults','BjiMB','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','parseTestOrchestrationOptions','readFileSync','jest','setup','util','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','exitCode','KuWDD','jest_browserstack_results.json','Nbvkk','1639350lckONC','debug','cHsOa','isBrowserstackInfra','MFYmX','reporters','353151xBYIli','Unable\x20to\x20find\x20jest-circus,\x20','../../helpers/testhub/testhubHandler','AOOTa','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','runner','logLevel','jlcVu','vBfxM','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','jest-circus','serial__','env','jest_browserstack.config.cjs','VyzeC','SDK_SETUP','maxRetries','findIndex','jest.setup.js','errorMessage','BROWSERSTACK_TEST_ACCESSIBILITY_YML','SDK_CLEANUP','resolve','false','194304RhQfau','close','browserStackLogLevel','fvRhL','retries__','workingDir','testEnvironmentOptions','\x20with\x20browserstack\x20jest\x20configs','PACKAGE_TYPE','getPackageVersion','useW3C','9372iwZXLu','shouldProcessEventForTesthub','\x0amodule.exports\x20=\x20config;','../../helpers/BrowserStackSetup','DfUvB','getHubUrl','playwright','error\x20removing\x20tcg\x20config\x20file',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','length','testContextOptions','HlTKe','gIpiI','testObservability','format','isUndefined','timeout__'];a14_0x798a=function(){return _0x12cfff;};return a14_0x798a();}
2
+ 'use strict';function a14_0x39fd(){const _0x33e19e=['writeFileSync','rmalO','unlinkSync','testEnvironment','40GbsHvU','error\x20removing\x20tcg\x20config\x20file','playwright','initialize','package.json','4103529fOPHqi','join','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','ACCcE','vWbvH','force','vjuTR','../../helpers/performance/constants','ybFUl','../../helpers/test-observability/utils','push','info','abortBuildOnFailure','979295QqICqm','ZvUcI','BROWSERSTACK_TEST_OBSERVABILITY_YML','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getTCGConfigFilePaths','\x20:\x20','testRunner','customTestRunnerTemplate.js','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','close','isRunning','setupFiles','Yuvlm','requirePWModule','true','kXOKX','requireModule','usqBf','NmJpW','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','filterBrowserstackArgs','../../helpers/testhub/testhubHandler','yPKRy','../../helpers/performance/performance-tester','112FLujYU','format','failureThresholdCount',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','rmdirSync','39295730pWKbwH','turboScaleUrl','prepareCapabilities','hJqSo','--config','../../helpers/playwright-helper','setup','getErrorMessageFromResults','MODULE','Getting\x20your\x20jest\x20configs\x20from\x20package.json','customImplements','assign','LmflR','Unable\x20to\x20find\x20jest-circus,\x20','./test-observability/test-details','BBxpu','576863BxTeuv','json','retryTestsOnFailure','WWrsY','EygfW','Found:\x20','readFileSync','LJbwb','recursive','workingDir','wBBlU','exitCode','debug','serial__','../v2/browserstackCLI','EVENTS','test.setup.js','isNotUndefined','RynTN','jest-config/build/readConfigFileAndSetRootDir.js',',\x20CLI\x20running:\x20','util','false','browserStackPercyOptions','SIerm','\x0amodule.exports\x20=\x20config;','YHuWA','kmXWf','testTimeout','const\x20config=','jest_browserstack_results.json','rmSync','timeout__','XJcUn','testEnvironmentOptions','soHaN','setupFilesAfterEnv','\x20test\x20files\x20to\x20run.','UWWej','../../helpers/testhub/utils','../../helpers/test-orchestration/testOrchestrationHandler','logLevel','launchBuild','WEHKP','SDK_SETUP',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','requireSeleniumWebdriver','Rthpm','../../helpers/accessibility-automation/helper','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','../../helpers/BrowserStackSetup','EZGwS','parseTestOrchestrationOptions','proxySettings','jest_browserstack.config.js','printBuildLink','getPackageType','isEmpty','BROWSERSTACK_CAPABILITIES','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','useW3C','BROWSERSTACK_TEST_ACCESSIBILITY_YML','testContextOptions','test-observability','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','platforms','AGMBO','2940516bUrcTz','accessibilityOptions','Reodered\x20Test\x20Files:\x20','jest-config','__isPlaywrightInstalled','JEST','reporters','SBaLQ','jest-circus','148383loQSWF','runner','getHubUrl','PACKAGE_TYPE','stop','LjGNQ','existsSync','parallels__','48MYDDVh','jest.config.','findTestFiles','getInstance','win32','jest.setup.js','isUndefined','apply','Creating\x20','capabilities','USER_CONFIG_DETAILS_PATH','errorMessage','log','stringify','customEnvironment.js','FRAMEWORKS','skipSessionName','xtRjw','config','isTestOrchestrationEnabled','vVKkO','child\x20process\x20exited\x20with\x20code\x20','slice','jGjTZ','setupTCGAuth','vUjPj','NqiFV','SDK_CLEANUP','end','Error\x20while\x20parsing\x20','shouldProcessEventForTesthub','length','../../helpers/helper','@playwright/test','KGajV','../../helpers/test-observability/constants','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','../../helpers/utilities','jest','./test-observability/helper','../../helpers/percy/utils','testObservability','\x0a\x20\x20\x20\x20','runInBand','TmkCD','resolve','JEST_TEST_ORDER','aYKIm','../utils/clientTroubleshootingService','customSequencer.js','WihVG','YDRAq','checkAccessibilityPlatformConfig','709508QVgWja','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','HGYLy','mHdRu','maxWorkers','customCircus.js','env','test_before.setup.js','npx','\x20with\x20browserstack\x20jest\x20configs','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'];a14_0x39fd=function(){return _0x33e19e;};return a14_0x39fd();}function a14_0x5e11(_0x223dcb,_0x3dc89a){const _0x39fdea=a14_0x39fd();return a14_0x5e11=function(_0x5e117a,_0x6aa764){_0x5e117a=_0x5e117a-0x13e;let _0x27f95d=_0x39fdea[_0x5e117a];return _0x27f95d;},a14_0x5e11(_0x223dcb,_0x3dc89a);}const a14_0x57d45c=a14_0x5e11;(function(_0x305ba7,_0x3c973e){const _0x4a848e=a14_0x5e11,_0x5e7b0e=_0x305ba7();while(!![]){try{const _0x1970db=-parseInt(_0x4a848e(0x17d))/0x1+parseInt(_0x4a848e(0x1ed))/0x2+-parseInt(_0x4a848e(0x170))/0x3+parseInt(_0x4a848e(0x15c))/0x4*(-parseInt(_0x4a848e(0x16b))/0x5)+parseInt(_0x4a848e(0x1fe))/0x6*(-parseInt(_0x4a848e(0x1aa))/0x7)+parseInt(_0x4a848e(0x195))/0x8*(-parseInt(_0x4a848e(0x1f6))/0x9)+parseInt(_0x4a848e(0x19a))/0xa;if(_0x1970db===_0x3c973e)break;else _0x5e7b0e['push'](_0x5e7b0e['shift']());}catch(_0x1e37cc){_0x5e7b0e['push'](_0x5e7b0e['shift']());}}}(a14_0x39fd,0xb58a3));const fs=require('fs'),path=require('path'),util=require(a14_0x57d45c(0x1bf)),{spawn}=require('child_process'),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a14_0x57d45c(0x1dc)),helper=require(a14_0x57d45c(0x147)),utilities=require(a14_0x57d45c(0x14c)),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x57d45c(0x1da)),{updateTestRerunConfig}=require(a14_0x57d45c(0x14e)),testOpsHelper=require(a14_0x57d45c(0x179)),{debug}=require(a14_0x57d45c(0x179)),TestDetails=require(a14_0x57d45c(0x1a8)),{getPercyOptions}=require(a14_0x57d45c(0x14f)),TestHubHandler=require(a14_0x57d45c(0x192)),testhubUtils=require(a14_0x57d45c(0x1d1)),{FRAMEWORKS}=require(a14_0x57d45c(0x14a)),PerformanceTester=require(a14_0x57d45c(0x194)),PerformanceEvents=require(a14_0x57d45c(0x177))[a14_0x57d45c(0x1b9)],TestOrchestrationHandler=require(a14_0x57d45c(0x1d2)),BrowserstackCLI=require(a14_0x57d45c(0x1b8)),{checkPwandBootstrapCli}=require(a14_0x57d45c(0x19f)),ClientTroubleShootingService=require(a14_0x57d45c(0x157)),{checkAccessibilityPlatformConfig}=require(a14_0x57d45c(0x1da)),getUserJestConfigs=async(_0xeafce7,_0x98e86c)=>{const _0x32ed15=a14_0x57d45c,_0x485c05={'aypPb':_0x32ed15(0x1bd),'LjGNQ':_0x32ed15(0x1f0),'OgHyX':function(_0x19bd24,_0x1abb5b){return _0x19bd24||_0x1abb5b;},'aYKIm':function(_0x577902,_0x1c4503){return _0x577902(_0x1c4503);},'xtRjw':_0x32ed15(0x16f),'WEHKP':_0x32ed15(0x1a3),'vVKkO':'mjs','NmJpW':'cjs','XJcUn':_0x32ed15(0x1ab)},_0x511ddc=helper[_0x32ed15(0x18d)](_0x485c05['aypPb'],_0x485c05[_0x32ed15(0x1fb)]),_0x1f8ca9=_0x98e86c['findIndex'](_0x1e9eb2=>_0x1e9eb2===_0x32ed15(0x19e));if(!helper[_0x32ed15(0x204)](_0xeafce7[_0x32ed15(0x210)])){logger[_0x32ed15(0x17b)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0xeafce7[_0x32ed15(0x210)]),process[_0x32ed15(0x162)][_0x32ed15(0x208)]=_0xeafce7[_0x32ed15(0x210)];const _0x579415=await(0x0,_0x511ddc['default'])(path[_0x32ed15(0x154)](_0xeafce7['config']));return _0x98e86c['splice'](_0x1f8ca9,0x2),_0x485c05['OgHyX'](_0x579415,{});}const _0x234d01=_0x485c05[_0x32ed15(0x156)](require,path[_0x32ed15(0x171)](process['cwd'](),_0x485c05[_0x32ed15(0x20f)]));if(_0x234d01['jest'])return logger[_0x32ed15(0x17b)](_0x485c05[_0x32ed15(0x1d5)]),_0x234d01[_0x32ed15(0x14d)];const _0xa5fa6d=['js',_0x485c05[_0x32ed15(0x212)],_0x485c05[_0x32ed15(0x18f)],_0x485c05[_0x32ed15(0x1cb)],'ts'];for(const _0x5043b1 of _0xa5fa6d){const _0x505464=path[_0x32ed15(0x171)](process['cwd'](),_0x32ed15(0x1ff)+_0x5043b1);if(fs['existsSync'](_0x505464)){process[_0x32ed15(0x162)][_0x32ed15(0x208)]=_0x505464;const _0x244956=await(0x0,_0x511ddc['default'])(_0x505464);return _0x244956;}}return{};},getSerial=(_0x265581,_0x2e2c63)=>{const _0x11de00=a14_0x57d45c,_0x4fb417={};_0x4fb417[_0x11de00(0x18e)]=_0x11de00(0x18b),_0x4fb417[_0x11de00(0x1dd)]=function(_0x1a0d47,_0x56e827){return _0x1a0d47>_0x56e827;},_0x4fb417['ACCcE']=_0x11de00(0x1c0);const _0x5208ec=_0x4fb417;let _0x222372=_0x5208ec['usqBf'];return _0x5208ec['EZGwS'](_0x265581[_0x11de00(0x146)],0x1)&&(!_0x2e2c63[_0x11de00(0x152)]&&(helper[_0x11de00(0x204)](_0x2e2c63[_0x11de00(0x160)])||_0x5208ec[_0x11de00(0x1dd)](_0x2e2c63[_0x11de00(0x160)],0x1)))&&(_0x222372=_0x5208ec[_0x11de00(0x173)]),_0x222372;},getMaxWorkers=(_0x4a5997,_0x2ee3c2,_0x2e8305)=>{const _0x31e156=a14_0x57d45c,_0x786311={'SHocz':function(_0x407221,_0x26f82e){return _0x407221(_0x26f82e);}};let _0x52f53a=0x1;if(!helper[_0x31e156(0x204)](_0x2ee3c2['parallelsPerPlatform']))_0x52f53a=_0x786311['SHocz'](parseInt,_0x2ee3c2['parallelsPerPlatform']);else{if(!helper['isUndefined'](_0x4a5997[_0x31e156(0x160)]))_0x52f53a=_0x4a5997[_0x31e156(0x160)];else!helper['isUndefined'](_0x2e8305[_0x31e156(0x160)])&&(_0x52f53a=_0x2e8305['maxWorkers']);}return _0x52f53a;};async function run(_0x14863e,_0x10c1ab,_0x307ce1){const _0x18777c=a14_0x57d45c,_0x536e61={'YHuWA':_0x18777c(0x16c),'vUjPj':_0x18777c(0x14d),'NqiFV':function(_0x2b3243,_0x5ec18b){return _0x2b3243(_0x5ec18b);},'Yuvlm':_0x18777c(0x148),'BpLfX':function(_0x156d9e,_0x59ac54,_0x2b8ad8,_0x31dc8f){return _0x156d9e(_0x59ac54,_0x2b8ad8,_0x31dc8f);},'ZvUcI':function(_0x5751ae,_0x397fbc){return _0x5751ae!=_0x397fbc;},'WWrsY':'true','LmflR':function(_0x3ffff5,_0x1e73c3,_0x1e5775){return _0x3ffff5(_0x1e73c3,_0x1e5775);},'kmXWf':_0x18777c(0x190),'YDRAq':_0x18777c(0x1c0),'ybFUl':function(_0x181197,_0x4a6153,_0x323528,_0x1edf43){return _0x181197(_0x4a6153,_0x323528,_0x1edf43);},'RynTN':function(_0x7070e9,_0x11ba01){return _0x7070e9*_0x11ba01;},'WihVG':function(_0x3c5985,_0x59c2d6){return _0x3c5985===_0x59c2d6;},'BBxpu':'jest_browserstack.config.cjs','wBBlU':_0x18777c(0x1e0),'TmkCD':_0x18777c(0x1a4),'yPKRy':_0x18777c(0x1c8),'mHdRu':'customTestRunner.js','LJbwb':_0x18777c(0x184),'HGYLy':_0x18777c(0x20c),'vjuTR':_0x18777c(0x203),'KGajV':_0x18777c(0x158),'UWWej':_0x18777c(0x1ea),'rLZbp':_0x18777c(0x1f5),'MlGnd':_0x18777c(0x1e9),'EygfW':'data-hooks.js','SBaLQ':_0x18777c(0x161),'kXOKX':_0x18777c(0x163),'AGMBO':_0x18777c(0x185),'iZFRZ':_0x18777c(0x16d),'hJqSo':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','jGjTZ':_0x18777c(0x1ba),'soHaN':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','SIerm':'default','vWbvH':_0x18777c(0x14b),'oTuCr':function(_0x3f3882,_0xcc2ef3){return _0x3f3882>_0xcc2ef3;},'eYpdq':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','RYgLr':_0x18777c(0x164),'Rthpm':_0x18777c(0x19e),'mAvnr':_0x18777c(0x202),'LEnkA':'inherit','rmalO':_0x18777c(0x186)},_0xafe8d8=helper['getPackageVersion'](_0x536e61[_0x18777c(0x189)]);global[_0x18777c(0x1f1)]=!!_0xafe8d8;helper['isBrowserstackInfra']()?(await _0x307ce1[_0x18777c(0x16e)](_0x14863e),await helper['handleApp'](_0x307ce1[_0x18777c(0x210)])):await _0x307ce1[_0x18777c(0x13f)]();await _0x536e61['BpLfX'](checkPwandBootstrapCli,_0xafe8d8,constants[_0x18777c(0x20d)]['JEST'],_0x307ce1);if(!_0x307ce1['config'])return;_0x536e61[_0x18777c(0x17e)](_0x307ce1[_0x18777c(0x210)][_0x18777c(0x150)],null)?process[_0x18777c(0x162)][_0x18777c(0x17f)]=_0x307ce1[_0x18777c(0x210)]['testObservability']:process[_0x18777c(0x162)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x536e61[_0x18777c(0x1ad)];const _0x35bcac=new TestOrchestrationHandler(_0x307ce1[_0x18777c(0x210)]),_0x1f65ac=await _0x536e61[_0x18777c(0x1a6)](getUserJestConfigs,_0x14863e,_0x10c1ab);logger[_0x18777c(0x17b)](_0x536e61[_0x18777c(0x1c5)]);const _0x5d0c24=Object[_0x18777c(0x1a5)]({},_0x1f65ac);_0x5d0c24[_0x18777c(0x1cc)]=Object[_0x18777c(0x1a5)]({},_0x5d0c24['testEnvironmentOptions'],{'server':helper[_0x18777c(0x1f8)](_0x307ce1[_0x18777c(0x210)]),'environment':_0x1f65ac[_0x18777c(0x16a)]}),_0x5d0c24[_0x18777c(0x1cc)][_0x18777c(0x1c1)]=_0x536e61[_0x18777c(0x141)](getPercyOptions,_0x307ce1[_0x18777c(0x210)]);const _0x154bb2=helper[_0x18777c(0x1e6)](_0x307ce1['config']);!helper[_0x18777c(0x204)](_0x307ce1[_0x18777c(0x210)][_0x18777c(0x1ee)])&&(process[_0x18777c(0x162)][_0x18777c(0x180)]=JSON['stringify'](_0x307ce1[_0x18777c(0x210)][_0x18777c(0x1ee)]));if(!BrowserstackCLI['getInstance']()[_0x18777c(0x187)]()){const _0x74d1b1=await TestHubHandler[_0x18777c(0x1d4)](FRAMEWORKS[_0x18777c(0x1f2)],_0x307ce1);}const _0x3b5d2e=helper[_0x18777c(0x19c)](_0x307ce1['config'],_0x154bb2,constants[_0x18777c(0x20d)]['JEST']);process[_0x18777c(0x162)][_0x18777c(0x1e4)]=JSON[_0x18777c(0x20b)](_0x3b5d2e);let _0x4f0b25=_0x307ce1[_0x18777c(0x210)]['accessibility'];_0x4f0b25=_0x4f0b25||accessibilityHelper[_0x18777c(0x15b)](_0x307ce1[_0x18777c(0x210)]),process['env'][_0x18777c(0x1e7)]=_0x4f0b25,logger[_0x18777c(0x1b6)](_0x18777c(0x1e5)+_0x4f0b25+_0x18777c(0x1be)+BrowserstackCLI[_0x18777c(0x201)]()[_0x18777c(0x187)]());if(_0xafe8d8)try{const _0x3db4c9=_0x536e61[_0x18777c(0x141)](checkAccessibilityPlatformConfig,_0x307ce1[_0x18777c(0x210)]);process[_0x18777c(0x162)][_0x18777c(0x1db)]=_0x3db4c9?_0x536e61[_0x18777c(0x1ad)]:_0x536e61[_0x18777c(0x15a)],logger[_0x18777c(0x1b6)](_0x18777c(0x172)+_0x3db4c9+_0x18777c(0x198)+process[_0x18777c(0x162)][_0x18777c(0x1db)]);}catch(_0x458f89){logger[_0x18777c(0x1b6)](_0x18777c(0x15d)+util[_0x18777c(0x196)](_0x458f89));}_0x5d0c24[_0x18777c(0x1cc)][_0x18777c(0x207)]=_0x3b5d2e,_0x5d0c24[_0x18777c(0x1cc)][_0x18777c(0x1b7)]=_0x536e61[_0x18777c(0x1a6)](getSerial,_0x3b5d2e,_0x14863e),_0x5d0c24[_0x18777c(0x1cc)][_0x18777c(0x1fd)]=_0x536e61[_0x18777c(0x178)](getMaxWorkers,_0x14863e,_0x307ce1[_0x18777c(0x210)],_0x1f65ac),_0x5d0c24[_0x18777c(0x1cc)][_0x18777c(0x1df)]=_0x307ce1['config'][_0x18777c(0x1df)],_0x5d0c24['testEnvironmentOptions'][_0x18777c(0x1ca)]=_0x536e61[_0x18777c(0x1bc)](_0x14863e[_0x18777c(0x1c6)],0x1)||0x1388,_0x5d0c24[_0x18777c(0x1cc)][_0x18777c(0x20e)]=_0x307ce1['config'][_0x18777c(0x1e8)][_0x18777c(0x20e)],_0x5d0c24[_0x18777c(0x1cc)]['skipSessionStatus']=_0x307ce1['config'][_0x18777c(0x1e8)]['skipSessionStatus'],_0x5d0c24[_0x18777c(0x1cc)]['browserStackLogLevel']=_0x307ce1[_0x18777c(0x210)][_0x18777c(0x1d3)],_0x5d0c24['testEnvironmentOptions'][_0x18777c(0x19b)]=_0x307ce1['config'][_0x18777c(0x19b)],_0x5d0c24[_0x18777c(0x1cc)]['platformCaps']=_0x307ce1[_0x18777c(0x210)][_0x18777c(0x1eb)];const _0x11e7df=helper[_0x18777c(0x1de)](_0x307ce1[_0x18777c(0x210)]);if(!helper[_0x18777c(0x1e3)](_0x11e7df)){helper['isNotUndefined'](_0x11e7df['retryTestsOnFailure'])&&(_0x5d0c24['testEnvironmentOptions']['retries__']=_0x11e7df[_0x18777c(0x1ac)]['maxRetries']);if(helper[_0x18777c(0x1bb)](_0x11e7df[_0x18777c(0x17c)])&&helper[_0x18777c(0x1bb)](_0x11e7df[_0x18777c(0x17c)]['workingDir'])){const _0x2c0cec={};_0x2c0cec[_0x18777c(0x197)]=_0x11e7df['abortBuildOnFailure']['maxFailures'],_0x2c0cec[_0x18777c(0x1b3)]=_0x11e7df[_0x18777c(0x17c)]['workingDir'],_0x5d0c24[_0x18777c(0x1cc)]['failFast']=_0x2c0cec;}}let _0x1dceba='';_0x536e61['WihVG'](helper[_0x18777c(0x1e2)](),constants[_0x18777c(0x1f9)][_0x18777c(0x1a2)])?_0x1dceba=_0x536e61[_0x18777c(0x1a9)]:_0x1dceba=_0x536e61[_0x18777c(0x1b4)];const _0xccf552=_0x1dceba,_0x332b3d=path[_0x18777c(0x171)](__dirname,_0x536e61['TmkCD'],_0x536e61[_0x18777c(0x193)]),_0xf30b21=path[_0x18777c(0x171)](__dirname,_0x536e61[_0x18777c(0x153)],_0x536e61[_0x18777c(0x15f)]),_0x396084=path[_0x18777c(0x171)](__dirname,_0x536e61['TmkCD'],_0x536e61[_0x18777c(0x1b1)]);_0x5d0c24[_0x18777c(0x16a)]&&(process[_0x18777c(0x162)]['BSTACK_JEST_TEST_ENV']=_0x5d0c24[_0x18777c(0x16a)]);_0x5d0c24[_0x18777c(0x16a)]=path[_0x18777c(0x171)](__dirname,_0x536e61[_0x18777c(0x153)],_0x536e61[_0x18777c(0x15e)]),_0x5d0c24[_0x18777c(0x1f7)]=_0xf30b21,_0x5d0c24[_0x18777c(0x1ce)]=_0x5d0c24[_0x18777c(0x1ce)]||[],_0x5d0c24[_0x18777c(0x1ce)][_0x18777c(0x17a)](path[_0x18777c(0x171)](__dirname,_0x536e61[_0x18777c(0x176)]));_0x35bcac[_0x18777c(0x211)]()&&(_0x5d0c24['testSequencer']=path['join'](__dirname,_0x536e61['TmkCD'],_0x536e61[_0x18777c(0x149)]));if(testhubUtils[_0x18777c(0x145)]()){let _0x2beb75=null;try{_0x2beb75=helper[_0x18777c(0x18d)](_0x536e61[_0x18777c(0x1d0)],_0x536e61['rLZbp']);}catch(_0x3127ff){_0x536e61[_0x18777c(0x141)](debug,_0x18777c(0x1a7)+_0x3127ff);}_0x2beb75&&(_0x5d0c24[_0x18777c(0x1ce)]['push'](path['join'](__dirname,_0x536e61['MlGnd'],_0x536e61[_0x18777c(0x1ae)])),_0x5d0c24[_0x18777c(0x183)]=path[_0x18777c(0x171)](__dirname,_0x536e61[_0x18777c(0x153)],_0x536e61[_0x18777c(0x1f4)]));}_0x5d0c24[_0x18777c(0x188)]=_0x5d0c24[_0x18777c(0x188)]||[];try{helper[_0x18777c(0x1d8)](),_0x5d0c24[_0x18777c(0x188)]['push'](path[_0x18777c(0x171)](__dirname,_0x536e61[_0x18777c(0x18c)]));}catch{logger[_0x18777c(0x1b6)](_0x536e61[_0x18777c(0x1ec)]);}try{helper[_0x18777c(0x18a)][_0x18777c(0x205)](null,[_0x536e61[_0x18777c(0x189)],_0x536e61['iZFRZ']]),logger[_0x18777c(0x1b6)](_0x536e61[_0x18777c(0x19d)]),_0x5d0c24[_0x18777c(0x188)]['push'](path['join'](__dirname,_0x536e61[_0x18777c(0x13e)]));}catch(_0x36bb9a){logger[_0x18777c(0x1b6)](_0x536e61[_0x18777c(0x1cd)],_0x36bb9a);}_0x5d0c24['reporters']=_0x5d0c24[_0x18777c(0x1f3)]||[_0x536e61[_0x18777c(0x1c2)]],_0x536e61[_0x18777c(0x1a6)](updateTestRerunConfig,_0x5d0c24,_0x307ce1);const _0x5318a5=fs['readFileSync'](_0x396084);fs[_0x18777c(0x167)](_0x5d0c24[_0x18777c(0x1f7)],_0x18777c(0x151)+_0x5318a5+_0x18777c(0x166)+_0x307ce1[_0x18777c(0x210)][_0x18777c(0x1eb)][_0x18777c(0x146)]+_0x18777c(0x1d7)),logger[_0x18777c(0x17b)](_0x18777c(0x206)+_0xccf552+_0x18777c(0x165)),fs['writeFileSync'](_0xccf552,_0x18777c(0x1c7)+JSON[_0x18777c(0x20b)](_0x5d0c24)+_0x18777c(0x1c3));if(_0x35bcac[_0x18777c(0x211)]()){logger[_0x18777c(0x1b6)](_0x536e61[_0x18777c(0x174)]);const _0x1a05e5=await _0x35bcac[_0x18777c(0x200)](_0x5d0c24,_0x10c1ab['slice'](0x1),_0xccf552);logger[_0x18777c(0x1b6)](_0x18777c(0x1af)+JSON['stringify'](_0x1a05e5)+_0x18777c(0x1cf));const _0x45ec8b=await _0x35bcac['reorderTestFiles'](_0x1a05e5);logger['debug'](_0x18777c(0x1ef)+JSON['stringify'](_0x45ec8b)),_0x45ec8b&&_0x536e61['oTuCr'](_0x45ec8b[_0x18777c(0x146)],0x0)&&(process['env'][_0x18777c(0x155)]=_0x45ec8b?.[_0x18777c(0x171)](','));}logger['info'](_0x536e61['eYpdq']);testhubUtils[_0x18777c(0x145)]()&&TestDetails[_0x18777c(0x1a0)]();helper[_0x18777c(0x191)]({},_0x10c1ab),PerformanceTester[_0x18777c(0x143)](PerformanceEvents[_0x18777c(0x1d6)]);const _0x34ee32=_0x536e61['BpLfX'](spawn,_0x536e61['RYgLr'],[_0x536e61[_0x18777c(0x140)],_0x536e61[_0x18777c(0x1d9)],_0xccf552,..._0x10c1ab[_0x18777c(0x214)](0x1)],{'shell':_0x536e61[_0x18777c(0x159)](process['platform'],_0x536e61['mAvnr']),'stdio':_0x536e61['LEnkA'],'env':Object[_0x18777c(0x1a5)]({},process[_0x18777c(0x162)])});_0x34ee32['on'](_0x536e61[_0x18777c(0x168)],async _0x1c6926=>{const _0x20a213=_0x18777c;PerformanceTester['start'](PerformanceEvents[_0x20a213(0x142)]);try{const {browserstackFolderPath:_0x101ebf,tcgConfigPath:_0x5533ea}=helper[_0x20a213(0x181)]();fs['unlinkSync'](_0x5533ea),fs[_0x20a213(0x199)](_0x101ebf);}catch(_0x34d9ef){logger[_0x20a213(0x1b6)](_0x536e61[_0x20a213(0x1c4)],_0x34d9ef);}process[_0x20a213(0x1b5)]=_0x1c6926,logger[_0x20a213(0x1b6)](_0x20a213(0x213)+_0x1c6926),logger[_0x20a213(0x17b)]('Deleting\x20'+_0xccf552);if(helper[_0x20a213(0x1bb)](_0x11e7df)&&helper[_0x20a213(0x1bb)](_0x11e7df[_0x20a213(0x17c)])&&fs[_0x20a213(0x1fc)](_0x11e7df[_0x20a213(0x17c)]['workingDir']))try{const _0x4bdc06={};_0x4bdc06[_0x20a213(0x1b2)]=!![],_0x4bdc06[_0x20a213(0x175)]=!![],fs[_0x20a213(0x1c9)](_0x11e7df[_0x20a213(0x17c)][_0x20a213(0x1b3)],_0x4bdc06),logger[_0x20a213(0x1b6)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x11e7df[_0x20a213(0x17c)]['workingDir']);}catch(_0xf47555){logger['error']('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0xf47555);}let _0x18a001=null;if(fs[_0x20a213(0x1fc)](_0x332b3d)){_0x18a001=fs[_0x20a213(0x1b0)](_0x332b3d);try{_0x18a001=JSON['parse'](_0x18a001);}catch(_0xf86a5c){logger[_0x20a213(0x1b6)](_0x20a213(0x144)+_0x332b3d+',\x20'+_0x18a001+_0x20a213(0x182)+_0xf86a5c);}fs['unlinkSync'](_0x332b3d);}fs[_0x20a213(0x169)](_0xccf552),fs[_0x20a213(0x169)](_0xf30b21),_0x18a001&&(_0x307ce1[_0x20a213(0x209)]=helper[_0x20a213(0x1a1)](_0x18a001,_0x536e61['vUjPj'],_0x307ce1));try{await TestHubHandler[_0x20a213(0x1fa)](),await BrowserstackCLI[_0x20a213(0x201)]()[_0x20a213(0x1fa)]();}catch(_0x157f8b){console[_0x20a213(0x20a)](_0x157f8b),_0x536e61[_0x20a213(0x141)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util['format'](_0x157f8b));}testOpsHelper[_0x20a213(0x1e1)](),TestDetails['shutdown'](),await utilities['finalExecution'](_0x307ce1);});}module['exports']=run;
@@ -1 +1 @@
1
- function a15_0x18a5(_0x416f49,_0x575cfb){const _0xbd389a=a15_0xbd38();return a15_0x18a5=function(_0x18a5f8,_0x43c94c){_0x18a5f8=_0x18a5f8-0x1b0;let _0x57c546=_0xbd389a[_0x18a5f8];return _0x57c546;},a15_0x18a5(_0x416f49,_0x575cfb);}const a15_0x20f7be=a15_0x18a5;(function(_0x5495b7,_0x1d4ca4){const _0x4fc6aa=a15_0x18a5,_0x3e0808=_0x5495b7();while(!![]){try{const _0x3181f2=parseInt(_0x4fc6aa(0x1b3))/0x1+-parseInt(_0x4fc6aa(0x1b7))/0x2+parseInt(_0x4fc6aa(0x1b8))/0x3+-parseInt(_0x4fc6aa(0x1c1))/0x4*(-parseInt(_0x4fc6aa(0x1bc))/0x5)+parseInt(_0x4fc6aa(0x1bf))/0x6*(parseInt(_0x4fc6aa(0x1b9))/0x7)+-parseInt(_0x4fc6aa(0x1c0))/0x8+-parseInt(_0x4fc6aa(0x1b2))/0x9;if(_0x3181f2===_0x1d4ca4)break;else _0x3e0808['push'](_0x3e0808['shift']());}catch(_0x570b49){_0x3e0808['push'](_0x3e0808['shift']());}}}(a15_0xbd38,0xc8e6d));const path=require('path'),{requireModule}=require(a15_0x20f7be(0x1c2));function a15_0xbd38(){const _0x10c548=['../../../helpers/helper','includes','Hbksl','6233490wCeSOI','616904CQhWLB','initRequireModule','NvXsC','ceuDC','1821416TOOvPJ','26874hGhyMT','5341qBotrI','jestAdapterInit','requireInternalModule','17780phBWfV','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','default','10914xdRZLe','9473536vZFnnI','1796VFBACa'];a15_0xbd38=function(){return _0x10c548;};return a15_0xbd38();}let initJestAdapter=requireModule(a15_0x20f7be(0x1bd),'jest-circus');initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a15_0x20f7be(0x1be)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,'customJestAdapterInit.js');module['exports']=(..._0x3ef461)=>{const _0x55cbe6=a15_0x20f7be,_0x278082={'Hbksl':_0x55cbe6(0x1ba),'ceuDC':function(_0x4c328b,_0x330279){return _0x4c328b===_0x330279;},'NvXsC':function(_0x1d0d00,..._0x43365e){return _0x1d0d00(..._0x43365e);}};return _0x3ef461[0x3][_0x55cbe6(0x1b4)]=_0x3ef461[0x3][_0x55cbe6(0x1bb)],_0x3ef461[0x3][_0x55cbe6(0x1bb)]=(..._0x1f380b)=>{const _0x4e043d=_0x55cbe6;if(_0x1f380b[0x0]&&_0x1f380b[0x0][_0x4e043d(0x1b0)](_0x278082[_0x4e043d(0x1b1)])&&_0x278082[_0x4e043d(0x1b6)](_0x1f380b[0x1],undefined))return _0x3ef461[0x3][_0x4e043d(0x1b4)](FRAMEWORK_INITIALIZER);return _0x3ef461[0x3]['initRequireModule'](..._0x1f380b);},_0x278082[_0x55cbe6(0x1b5)](initJestAdapter,..._0x3ef461);};
1
+ function a15_0x126c(){const _0x388d85=['50740MTxzJz','IZDla','jzvuy','1835MuoyZp','9708552QPgdsu','536wqFWGf','exports','initRequireModule','fiKvt','requireInternalModule','default','4990059ocoRBo','130162sIrDDi','8816129ekFeXX','jest-circus','370VXVOZY','3bauJyx','6deCvzQ','function','includes','359469RwKyzS'];a15_0x126c=function(){return _0x388d85;};return a15_0x126c();}const a15_0x24c323=a15_0xe1c7;function a15_0xe1c7(_0x2dbc43,_0x4d8eac){const _0x126cb3=a15_0x126c();return a15_0xe1c7=function(_0xe1c727,_0x2d6df8){_0xe1c727=_0xe1c727-0xae;let _0x5c8c8c=_0x126cb3[_0xe1c727];return _0x5c8c8c;},a15_0xe1c7(_0x2dbc43,_0x4d8eac);}(function(_0x45886a,_0x184cd5){const _0x5e8c69=a15_0xe1c7,_0x446a07=_0x45886a();while(!![]){try{const _0x4d6cae=-parseInt(_0x5e8c69(0xb9))/0x1+-parseInt(_0x5e8c69(0xb0))/0x2*(-parseInt(_0x5e8c69(0xb4))/0x3)+parseInt(_0x5e8c69(0xbe))/0x4*(parseInt(_0x5e8c69(0xbc))/0x5)+parseInt(_0x5e8c69(0xb5))/0x6*(parseInt(_0x5e8c69(0xb1))/0x7)+-parseInt(_0x5e8c69(0xbd))/0x8+-parseInt(_0x5e8c69(0xaf))/0x9+parseInt(_0x5e8c69(0xb3))/0xa*(parseInt(_0x5e8c69(0xb8))/0xb);if(_0x4d6cae===_0x184cd5)break;else _0x446a07['push'](_0x446a07['shift']());}catch(_0x2ccd9f){_0x446a07['push'](_0x446a07['shift']());}}}(a15_0x126c,0xba8a5));const path=require('path'),{requireModule}=require('../../../helpers/helper');let initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a15_0x24c323(0xb2));initJestAdapter=typeof initJestAdapter===a15_0x24c323(0xb6)?initJestAdapter:initJestAdapter[a15_0x24c323(0xae)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,'customJestAdapterInit.js');module[a15_0x24c323(0xbf)]=(..._0x4ba000)=>{const _0x5d9304=a15_0x24c323,_0x5c5a85={'IZDla':'jestAdapterInit','jzvuy':function(_0x1288a8,_0x558e98){return _0x1288a8===_0x558e98;},'fiKvt':function(_0x2fca17,..._0x19c0e1){return _0x2fca17(..._0x19c0e1);}};return _0x4ba000[0x3][_0x5d9304(0xc0)]=_0x4ba000[0x3][_0x5d9304(0xc2)],_0x4ba000[0x3][_0x5d9304(0xc2)]=(..._0x26dae8)=>{const _0x38bd18=_0x5d9304;if(_0x26dae8[0x0]&&_0x26dae8[0x0][_0x38bd18(0xb7)](_0x5c5a85[_0x38bd18(0xba)])&&_0x5c5a85[_0x38bd18(0xbb)](_0x26dae8[0x1],undefined))return _0x4ba000[0x3][_0x38bd18(0xc0)](FRAMEWORK_INITIALIZER);return _0x4ba000[0x3][_0x38bd18(0xc0)](..._0x26dae8);},_0x5c5a85[_0x5d9304(0xc1)](initJestAdapter,..._0x4ba000);};
@@ -1 +1 @@
1
- function a16_0x6a27(_0x1b2b92,_0x5e0001){const _0x150ba6=a16_0x150b();return a16_0x6a27=function(_0x6a27a8,_0xc66e7f){_0x6a27a8=_0x6a27a8-0xea;let _0xe5964f=_0x150ba6[_0x6a27a8];return _0xe5964f;},a16_0x6a27(_0x1b2b92,_0x5e0001);}const a16_0x1bc5ee=a16_0x6a27;(function(_0x349094,_0x5ee977){const _0x476ad3=a16_0x6a27,_0x3f0509=_0x349094();while(!![]){try{const _0x29d46b=-parseInt(_0x476ad3(0x107))/0x1*(-parseInt(_0x476ad3(0x150))/0x2)+-parseInt(_0x476ad3(0xed))/0x3+-parseInt(_0x476ad3(0x117))/0x4+-parseInt(_0x476ad3(0x124))/0x5*(-parseInt(_0x476ad3(0x154))/0x6)+-parseInt(_0x476ad3(0x15b))/0x7+parseInt(_0x476ad3(0xf7))/0x8*(-parseInt(_0x476ad3(0xfc))/0x9)+-parseInt(_0x476ad3(0x13b))/0xa*(-parseInt(_0x476ad3(0xff))/0xb);if(_0x29d46b===_0x5ee977)break;else _0x3f0509['push'](_0x3f0509['shift']());}catch(_0x3eed1c){_0x3f0509['push'](_0x3f0509['shift']());}}}(a16_0x150b,0xf2659));const helper=require('../../../helpers/helper'),constants=require(a16_0x1bc5ee(0xf2)),{isTestObservabilitySession}=require(a16_0x1bc5ee(0x159)),RequestQueueHandler=require(a16_0x1bc5ee(0xf0)),ObservabilityReporter=require(a16_0x1bc5ee(0x110)),testhubUtils=require(a16_0x1bc5ee(0x12c)),logger=require('../../../helpers/logger')[a16_0x1bc5ee(0xec)],getTestEnvironment=((()=>{const _0x1eafce=a16_0x1bc5ee,_0x21cc43={};_0x21cc43['ZAVen']=_0x1eafce(0x114),_0x21cc43['dhfCK']=_0x1eafce(0x132);const _0x2d979d=_0x21cc43;try{const _0x147acd=helper[_0x1eafce(0xfb)](_0x2d979d[_0x1eafce(0x138)]);if(_0x147acd[_0x1eafce(0x15c)])return _0x147acd['resolveTestEnvironment'];const _0x1ac392=helper[_0x1eafce(0xfb)](_0x2d979d['dhfCK']);if(_0x1ac392['getTestEnvironment'])return _0x1ac392[_0x1eafce(0x151)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x122769=a16_0x1bc5ee,_0x48e870={'GFHCD':function(_0x5ae126,_0x26a054){return _0x5ae126(_0x26a054);},'RrSsd':_0x122769(0x14b),'shykK':function(_0x747f67,_0x14024c){return _0x747f67(_0x14024c);},'YoQVG':_0x122769(0xf3)},_0x4e2447=_0x48e870[_0x122769(0x12d)](getTestEnvironment,{'rootDir':process[_0x122769(0x126)](),'testEnvironment':process[_0x122769(0x118)][_0x122769(0x155)]||_0x48e870[_0x122769(0x108)]});if(!_0x4e2447)return _0x48e870[_0x122769(0x160)](_interopRequireDefault,helper[_0x122769(0xfb)](_0x48e870[_0x122769(0x12e)]));return _0x48e870['GFHCD'](_interopRequireDefault,helper[_0x122769(0xfb)](_0x4e2447));})()),_seleniumWebdriver2=((()=>{const _0x3a3dde=a16_0x1bc5ee,_0x4ee15f={'ZxLKu':function(_0x10e57e,_0x2423d8){return _0x10e57e(_0x2423d8);}};try{const _0x1c8fd4=helper[_0x3a3dde(0x11b)]();return helper[_0x3a3dde(0xeb)](),_0x4ee15f[_0x3a3dde(0x112)](_interopRequireDefault,_0x1c8fd4);}catch{return null;}})());function _interopRequireDefault(_0x28ba2f){return _0x28ba2f&&_0x28ba2f['__esModule']?_0x28ba2f:{'default':_0x28ba2f};}function a16_0x150b(){const _0x25b74d=['failFast','setup','name','oRMth','ZAVen','errors','shouldProcessEventForTesthub','170IMRode','buildName','__skipSessionStatus','__timeout','retries__','browserstackPlatformIndex','xlkGb','debug','skip','browserStackPercyOptions','skipSessionStatus','browserstackPercyBestPlatform','__platformCaps','onTestDone','Cshjb','\x20>\x20','node','info','7|4|0|5|6|3|1|2','AzEHj','failFastOptions','1309902PUaFvc','getTestEnvironment','__drivers','eCaxS','1028964NJvtHo','BSTACK_JEST_TEST_ENV','NrasP','timeout__','testPath','../../../helpers/test-observability/utils','skipSessionName','2593080YgkgzW','resolveTestEnvironment','sessionNameProvided','teardown','builder','shykK','mode','capability','modifyCommand','winstonLogger','5712147psRzdQ','Vfsuv','Builder','../../../helpers/test-observability/requestQueueHandler','capabilities','../../utils/constants','jest-environment-node','jestConfig','__jestRetries','isArray','22984eOsLpe','saWIO','percy','driver','requireModule','3699UXgNLD','configuration','BSTACK_DELTA','2058683xDzpks','Error\x20in\x20fail-fast\x20test_done\x20handler:','test_done','isBrowserstackInfra','nCPOv','getInstance','testEnvironmentOptions','WmVpe','1RULNyR','RrSsd','global','hWWhM','../../../index','bhOpp','fqagh','shutdown','framework','../test-observability/obsReporter','default','ZxLKu','__driversArray','jest-resolve','eYfGY','CTJVM','5099348PgwswG','env','ZMrKb','nestedKeyValue','requireSeleniumWebdriver','__webdriver','shouldFailFast','projectConfig','htoxH','test','cleanup','registerListeners','platformCaps','55nmugya','split','cwd','handleTestEvent','FRAMEWORKS','wTfbP','quit','projectName','../../../helpers/testhub/utils','GFHCD','YoQVG','WFtsz','../../../helpers/test-orchestration/failfastManager','failFastActive','jest-config','isTrue'];a16_0x150b=function(){return _0x25b74d;};return a16_0x150b();}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x1bc5ee(0x111)][a16_0x1bc5ee(0xef)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x1bc5ee(0x111)]{constructor(_0x390de9){const _0x5ecec8=a16_0x1bc5ee,_0x1bf69c={'eCaxS':_0x5ecec8(0x12a),'Cshjb':function(_0x2fa5d7,_0x4b1d25){return _0x2fa5d7+_0x4b1d25;},'bhOpp':'bstack:options','xlkGb':function(_0x257d87,_0x5b4adc){return _0x257d87(_0x5b4adc);},'Vfsuv':_0x5ecec8(0x130),'eYfGY':_0x5ecec8(0x14d),'oRMth':'testEnvironmentOptions','htoxH':_0x5ecec8(0x144),'POkUf':'browserstackPercyBestPlatform','WmVpe':_0x5ecec8(0x10b),'CTJVM':'percy','ZMrKb':'percyCaptureMode'};super(_0x390de9),this[_0x5ecec8(0x109)][_0x5ecec8(0x13e)]=0x0,this[_0x5ecec8(0xfd)]={};!_0x390de9[_0x5ecec8(0x105)]&&(_0x390de9[_0x5ecec8(0x105)]={});if(helper[_0x5ecec8(0x102)]()){_0x390de9['testEnvironmentOptions']=_0x390de9[_0x5ecec8(0x11e)]?_0x390de9['projectConfig']['testEnvironmentOptions']:_0x390de9['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x5ecec8(0x15f)]=new _seleniumWebdriver2['default'][(_0x5ecec8(0xef))]());this[_0x5ecec8(0xea)]=_0x390de9[_0x5ecec8(0x11e)]?_0x390de9[_0x5ecec8(0x11e)][_0x5ecec8(0xea)]:_0x390de9[_0x5ecec8(0xea)],this[_0x5ecec8(0x109)][_0x5ecec8(0x13e)]=_0x1bf69c[_0x5ecec8(0x149)](_0x390de9[_0x5ecec8(0x105)][_0x5ecec8(0x157)]||0x1388,constants[_0x5ecec8(0xfe)]),this[_0x5ecec8(0x14f)]=_0x390de9[_0x5ecec8(0x105)][_0x5ecec8(0x134)];if(this[_0x5ecec8(0x14f)]){const _0x4d6d62=this[_0x5ecec8(0xea)][_0x1bf69c['bhOpp']]?.[_0x5ecec8(0x13c)]||'',_0x5bf1de=this['capability'][_0x1bf69c[_0x5ecec8(0x10c)]]?.[_0x5ecec8(0x12b)]||'';this[_0x5ecec8(0x134)]=new(_0x1bf69c['xlkGb'](require,_0x1bf69c[_0x5ecec8(0xee)]))(this['failFastOptions'],_0x4d6d62,_0x5bf1de),this[_0x5ecec8(0x109)][_0x5ecec8(0x131)]=![];}helper['isNotUndefined'](_0x390de9[_0x5ecec8(0x105)][_0x5ecec8(0x13f)])&&(this[_0x5ecec8(0x109)][_0x5ecec8(0xf5)]=_0x390de9[_0x5ecec8(0x105)][_0x5ecec8(0x13f)]);}if(testhubUtils[_0x5ecec8(0x13a)]()){const _0x43f0cc=new ObservabilityReporter();_0x43f0cc[_0x5ecec8(0x122)]();}this[_0x5ecec8(0x109)]['browserStackGlobals']={},this[_0x5ecec8(0xfd)]=_0x390de9['testEnvironmentOptions'],this['configuration'][_0x5ecec8(0x10f)]=constants[_0x5ecec8(0x128)]['JEST'],this[_0x5ecec8(0x109)][_0x5ecec8(0x140)]=(_0x390de9[_0x5ecec8(0x11e)]?_0x390de9['projectConfig'][_0x5ecec8(0x140)]:_0x390de9[_0x5ecec8(0x140)])||0x0,this[_0x5ecec8(0x109)][_0x5ecec8(0x147)]=this[_0x5ecec8(0xfd)]&&this[_0x5ecec8(0xfd)][_0x5ecec8(0x123)]&&Array['isArray'](this[_0x5ecec8(0xfd)][_0x5ecec8(0x123)])&&this[_0x5ecec8(0xfd)][_0x5ecec8(0x123)][this[_0x5ecec8(0x109)][_0x5ecec8(0x140)]]||{};const _0x45e1a8=this['global']['browserstackPlatformIndex'],_0x5cf0d5={...this[_0x5ecec8(0xfd)],'capability':this[_0x5ecec8(0xfd)][_0x5ecec8(0xf1)]&&Array[_0x5ecec8(0xf6)](this[_0x5ecec8(0xfd)]['capabilities'])&&this['configuration']['capabilities'][_0x45e1a8]||{},'platformCaps':this[_0x5ecec8(0xfd)][_0x5ecec8(0x123)]&&Array['isArray'](this[_0x5ecec8(0xfd)][_0x5ecec8(0x123)])&&this[_0x5ecec8(0xfd)][_0x5ecec8(0x123)][_0x45e1a8]||{}};delete _0x5cf0d5[_0x5ecec8(0xf1)],this[_0x5ecec8(0x109)][_0x5ecec8(0xf4)]=_0x5cf0d5;if(_seleniumWebdriver2){const _0x23f4a7=_0x1bf69c[_0x5ecec8(0x115)][_0x5ecec8(0x125)]('|');let _0x10d7b6=0x0;while(!![]){switch(_0x23f4a7[_0x10d7b6++]){case'0':this['global'][_0x5ecec8(0x146)]=helper['nestedKeyValue'](_0x390de9,[_0x1bf69c[_0x5ecec8(0x137)],_0x1bf69c[_0x5ecec8(0x11f)],_0x1bf69c['POkUf']]);continue;case'1':this['global'][_0x5ecec8(0x13d)]=helper[_0x5ecec8(0x133)](this[_0x5ecec8(0xfd)][_0x5ecec8(0x145)]);continue;case'2':this[_0x5ecec8(0x109)][_0x5ecec8(0x121)]=async()=>{const _0x49b79b=_0x5ecec8;await this['global'][_0x49b79b(0xfa)][_0x49b79b(0x12a)](_0x1bf69c[_0x49b79b(0x153)]);};continue;case'3':helper[_0x5ecec8(0x133)](this[_0x5ecec8(0xfd)][_0x5ecec8(0x15a)])?this[_0x5ecec8(0x109)][_0x5ecec8(0x15d)]=!![]:this[_0x5ecec8(0x109)]['sessionNameProvided']=![];continue;case'4':this[_0x5ecec8(0x109)][_0x5ecec8(0x11c)]=_0x1bf69c[_0x5ecec8(0x141)](require,_0x1bf69c[_0x5ecec8(0x106)])['browserstackAgentV2']({...this[_0x5ecec8(0xfd)],'capability':this[_0x5ecec8(0xea)]||{}},this,testhubUtils[_0x5ecec8(0x13a)]());continue;case'5':this['global'][_0x5ecec8(0xf9)]=helper[_0x5ecec8(0x11a)](_0x390de9,[_0x1bf69c[_0x5ecec8(0x137)],_0x1bf69c[_0x5ecec8(0x11f)],_0x1bf69c[_0x5ecec8(0x116)]]);continue;case'6':this[_0x5ecec8(0x109)]['percyCaptureMode']=helper[_0x5ecec8(0x11a)](_0x390de9,[_0x1bf69c[_0x5ecec8(0x137)],_0x1bf69c[_0x5ecec8(0x11f)],_0x1bf69c[_0x5ecec8(0x119)]]);continue;case'7':this[_0x5ecec8(0x109)][_0x5ecec8(0x152)]=[];continue;}break;}}}async[a16_0x1bc5ee(0x15e)](){const _0x3f6021=a16_0x1bc5ee;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x3f6021(0x109)][_0x3f6021(0x113)]),this['global'][_0x3f6021(0x11c)][_0x3f6021(0xef)]=originalBuilder),await RequestQueueHandler[_0x3f6021(0x104)]()[_0x3f6021(0x10e)]();}async[a16_0x1bc5ee(0x135)](){}async[a16_0x1bc5ee(0x127)](_0x2a6769,_0x314895){const _0x4bea03=a16_0x1bc5ee,_0x272b1d={};_0x272b1d[_0x4bea03(0x10a)]=function(_0x5eaa06,_0x1a1b42){return _0x5eaa06===_0x1a1b42;},_0x272b1d[_0x4bea03(0x10d)]='test_start',_0x272b1d[_0x4bea03(0x14e)]=_0x4bea03(0x143),_0x272b1d['NrasP']=function(_0x4af10b,_0x15236f){return _0x4af10b===_0x15236f;},_0x272b1d[_0x4bea03(0x129)]=_0x4bea03(0x101),_0x272b1d[_0x4bea03(0x103)]=_0x4bea03(0x14a),_0x272b1d[_0x4bea03(0xf8)]=_0x4bea03(0x100),_0x272b1d[_0x4bea03(0x12f)]=_0x4bea03(0x15e);const _0x49c07b=_0x272b1d,{name:_0x27b7a8}=_0x2a6769;if(_0x49c07b[_0x4bea03(0x10a)](_0x27b7a8,_0x49c07b[_0x4bea03(0x10d)])){this[_0x4bea03(0x109)]['testContext']=_0x2a6769[_0x4bea03(0x120)];if(_0x49c07b['hWWhM'](this[_0x4bea03(0x109)]['failFastActive'],!![])){const _0x65cd9c=_0x2a6769['test'][_0x4bea03(0x136)];logger[_0x4bea03(0x14c)]('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x65cd9c),_0x2a6769[_0x4bea03(0x120)][_0x4bea03(0x161)]=_0x49c07b[_0x4bea03(0x14e)];}}if(this['failFast']&&_0x49c07b[_0x4bea03(0x156)](_0x27b7a8,_0x49c07b[_0x4bea03(0x129)]))try{const _0x4a7072=_0x2a6769['test'][_0x4bea03(0x158)]['join'](_0x49c07b['nCPOv']),_0x2626e3=_0x2a6769[_0x4bea03(0x120)][_0x4bea03(0x139)];await this[_0x4bea03(0x134)][_0x4bea03(0x148)](_0x4a7072,_0x2626e3);const _0x4f8b89=await this['failFast'][_0x4bea03(0x11d)]();_0x49c07b[_0x4bea03(0x156)](this[_0x4bea03(0x109)]['failFastActive'],![])&&_0x49c07b[_0x4bea03(0x10a)](_0x4f8b89,!![])&&(this['global'][_0x4bea03(0x131)]=!![]);}catch(_0xddbf8){logger[_0x4bea03(0x142)](_0x49c07b[_0x4bea03(0xf8)],_0xddbf8['message']);}_0x49c07b[_0x4bea03(0x156)](_0x27b7a8,_0x49c07b[_0x4bea03(0x12f)])&&(this[_0x4bea03(0x134)]&&this['failFast']['cleanup']());}}module['exports']=CustomEnvironment;
1
+ function a16_0x195d(){const _0x16e69f=['../../../helpers/testhub/utils','buildName','UyZmX','capabilities','jest-environment-node','isTrue','Error\x20in\x20fail-fast\x20test_done\x20handler:','jestConfig','name','testContext','browserStackGlobals','handleTestEvent','PHlQA','aXYXN','1815795JmymMy','isArray','KAsZV','__timeout','6789936PJyUGO','ZKPnj','ZWyfq','skipSessionStatus','mNEdn','setup','shouldProcessEventForTesthub','BSTACK_JEST_TEST_ENV','message','teardown','projectConfig','XmTsP','__drivers','getTestEnvironment','cleanup','__driversArray','debug','failFastOptions','configuration','bstack:options','5317092fAUszd','../test-observability/obsReporter','rsdCv','../../../index','TSzWK','retries__','efGAE','EVvOF','yptdD','framework','winstonLogger','__webdriver','node','epIwq','cwd','onTestDone','JEST','shutdown','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','default','sAixT','testEnvironmentOptions','mode','failFast','DEBEW','percyCaptureMode','wUWhp','browserstackPlatformIndex','browserstackPercyBestPlatform','1825233CicIPg','GTema','resolveTestEnvironment','percy','__jestRetries','modifyCommand','4305420vFGjpN','Builder','../../../helpers/test-observability/utils','nestedKeyValue','uxFUj','failFastActive','testPath','9928ijiwbL','MjoCG','timeout__','GgwVI','4264724XMnvoQ','requireModule','test','7|3|2|6|1|0|5|4','233KbKNjg','quit','sessionNameProvided','FkKwi','global','BSTACK_DELTA','EzLAl','jest-resolve','capability','exports','test_start','XArAb','test_done','platformCaps','__esModule','jest-config','projectName','shouldFailFast','CnQQE','ZlGbS'];a16_0x195d=function(){return _0x16e69f;};return a16_0x195d();}const a16_0x3bf70a=a16_0x4eaa;function a16_0x4eaa(_0x3eef2d,_0x53602f){const _0x195db5=a16_0x195d();return a16_0x4eaa=function(_0x4eaaf5,_0x3d83c0){_0x4eaaf5=_0x4eaaf5-0x95;let _0x5cfa1d=_0x195db5[_0x4eaaf5];return _0x5cfa1d;},a16_0x4eaa(_0x3eef2d,_0x53602f);}(function(_0x5c2144,_0x41efb0){const _0x15f3a8=a16_0x4eaa,_0xc69892=_0x5c2144();while(!![]){try{const _0x1bf713=-parseInt(_0x15f3a8(0xa3))/0x1*(-parseInt(_0x15f3a8(0x9b))/0x2)+-parseInt(_0x15f3a8(0xfa))/0x3+parseInt(_0x15f3a8(0x9f))/0x4+-parseInt(_0x15f3a8(0xc5))/0x5+-parseInt(_0x15f3a8(0xdd))/0x6+-parseInt(_0x15f3a8(0x100))/0x7+parseInt(_0x15f3a8(0xc9))/0x8;if(_0x1bf713===_0x41efb0)break;else _0xc69892['push'](_0xc69892['shift']());}catch(_0x354716){_0xc69892['push'](_0xc69892['shift']());}}}(a16_0x195d,0x922c3));const helper=require('../../../helpers/helper'),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a16_0x3bf70a(0x96)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require(a16_0x3bf70a(0xde)),testhubUtils=require(a16_0x3bf70a(0xb7)),logger=require('../../../helpers/logger')[a16_0x3bf70a(0xe7)],getTestEnvironment=((()=>{const _0x3bff8a=a16_0x3bf70a,_0x3b6549={};_0x3b6549[_0x3bff8a(0xd4)]=_0x3bff8a(0xaa),_0x3b6549[_0x3bff8a(0xe5)]=_0x3bff8a(0xb2);const _0x45c42f=_0x3b6549;try{const _0x5172f0=helper['requireModule'](_0x45c42f[_0x3bff8a(0xd4)]);if(_0x5172f0['resolveTestEnvironment'])return _0x5172f0[_0x3bff8a(0xfc)];const _0x2290a7=helper[_0x3bff8a(0xa0)](_0x45c42f['yptdD']);if(_0x2290a7[_0x3bff8a(0xd6)])return _0x2290a7[_0x3bff8a(0xd6)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x1618a9=a16_0x3bf70a,_0xef2665={'DEBEW':function(_0x52a072,_0x471641){return _0x52a072(_0x471641);},'EzLAl':_0x1618a9(0xe9),'CnQQE':_0x1618a9(0xbb),'epIwq':function(_0x3f8906,_0xd6eff1){return _0x3f8906(_0xd6eff1);}},_0x123aa3=_0xef2665[_0x1618a9(0xf5)](getTestEnvironment,{'rootDir':process[_0x1618a9(0xeb)](),'testEnvironment':process['env'][_0x1618a9(0xd0)]||_0xef2665[_0x1618a9(0xa9)]});if(!_0x123aa3)return _0xef2665[_0x1618a9(0xf5)](_interopRequireDefault,helper['requireModule'](_0xef2665[_0x1618a9(0xb5)]));return _0xef2665[_0x1618a9(0xea)](_interopRequireDefault,helper[_0x1618a9(0xa0)](_0x123aa3));})()),_seleniumWebdriver2=((()=>{const _0x23853f=a16_0x3bf70a,_0x190673={'PHECI':function(_0x58b926,_0x5e3c3e){return _0x58b926(_0x5e3c3e);}};try{const _0x5560d5=helper['requireSeleniumWebdriver']();return helper[_0x23853f(0xff)](),_0x190673['PHECI'](_interopRequireDefault,_0x5560d5);}catch{return null;}})());function _interopRequireDefault(_0x3f960c){const _0x20322a=a16_0x3bf70a;return _0x3f960c&&_0x3f960c[_0x20322a(0xb1)]?_0x3f960c:{'default':_0x3f960c};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x3bf70a(0xf0)][a16_0x3bf70a(0x95)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x3bf70a(0xf0)]{constructor(_0x4a3608){const _0x4cb534=a16_0x3bf70a,_0x4dc460={'jlmTG':_0x4cb534(0xa4),'TSzWK':function(_0xfb7edc,_0x52ded0){return _0xfb7edc+_0x52ded0;},'bFAoB':_0x4cb534(0xdc),'PHlQA':function(_0x27a1e1,_0x2b7ab0){return _0x27a1e1(_0x2b7ab0);},'GgwVI':'../../../helpers/test-orchestration/failfastManager','mNEdn':_0x4cb534(0xa2),'ZlGbS':_0x4cb534(0xf2),'sAixT':'browserStackPercyOptions','MjoCG':_0x4cb534(0xf6),'FkKwi':_0x4cb534(0xf9),'EVvOF':_0x4cb534(0xe0),'aXYXN':_0x4cb534(0xfd)};super(_0x4a3608),this['global'][_0x4cb534(0xc8)]=0x0,this[_0x4cb534(0xdb)]={};!_0x4a3608[_0x4cb534(0xf2)]&&(_0x4a3608[_0x4cb534(0xf2)]={});if(helper['isBrowserstackInfra']()){_0x4a3608[_0x4cb534(0xf2)]=_0x4a3608[_0x4cb534(0xd3)]?_0x4a3608[_0x4cb534(0xd3)][_0x4cb534(0xf2)]:_0x4a3608['testEnvironmentOptions'];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0x4cb534(0xf0))]['Builder']());this[_0x4cb534(0xab)]=_0x4a3608[_0x4cb534(0xd3)]?_0x4a3608[_0x4cb534(0xd3)][_0x4cb534(0xab)]:_0x4a3608[_0x4cb534(0xab)],this[_0x4cb534(0xa7)][_0x4cb534(0xc8)]=_0x4dc460[_0x4cb534(0xe1)](_0x4a3608[_0x4cb534(0xf2)][_0x4cb534(0x9d)]||0x1388,constants[_0x4cb534(0xa8)]),this['failFastOptions']=_0x4a3608['testEnvironmentOptions'][_0x4cb534(0xf4)];if(this[_0x4cb534(0xda)]){const _0x3b9f54=this[_0x4cb534(0xab)][_0x4dc460['bFAoB']]?.[_0x4cb534(0xb8)]||'',_0x4a35ee=this[_0x4cb534(0xab)][_0x4dc460['bFAoB']]?.[_0x4cb534(0xb3)]||'';this[_0x4cb534(0xf4)]=new(_0x4dc460['PHlQA'](require,_0x4dc460[_0x4cb534(0x9e)]))(this[_0x4cb534(0xda)],_0x3b9f54,_0x4a35ee),this['global'][_0x4cb534(0x99)]=![];}helper['isNotUndefined'](_0x4a3608[_0x4cb534(0xf2)][_0x4cb534(0xe2)])&&(this[_0x4cb534(0xa7)][_0x4cb534(0xfe)]=_0x4a3608[_0x4cb534(0xf2)][_0x4cb534(0xe2)]);}if(testhubUtils[_0x4cb534(0xcf)]()){const _0x24646f=new ObservabilityReporter();_0x24646f['registerListeners']();}this['global'][_0x4cb534(0xc1)]={},this[_0x4cb534(0xdb)]=_0x4a3608['testEnvironmentOptions'],this[_0x4cb534(0xdb)][_0x4cb534(0xe6)]=constants['FRAMEWORKS'][_0x4cb534(0xed)],this[_0x4cb534(0xa7)][_0x4cb534(0xf8)]=(_0x4a3608['projectConfig']?_0x4a3608[_0x4cb534(0xd3)][_0x4cb534(0xf8)]:_0x4a3608[_0x4cb534(0xf8)])||0x0,this['global']['__platformCaps']=this['configuration']&&this[_0x4cb534(0xdb)][_0x4cb534(0xb0)]&&Array[_0x4cb534(0xc6)](this['configuration']['platformCaps'])&&this[_0x4cb534(0xdb)][_0x4cb534(0xb0)][this[_0x4cb534(0xa7)][_0x4cb534(0xf8)]]||{};const _0x3f3807=this[_0x4cb534(0xa7)]['browserstackPlatformIndex'],_0x186f79={...this[_0x4cb534(0xdb)],'capability':this[_0x4cb534(0xdb)]['capabilities']&&Array[_0x4cb534(0xc6)](this[_0x4cb534(0xdb)][_0x4cb534(0xba)])&&this['configuration'][_0x4cb534(0xba)][_0x3f3807]||{},'platformCaps':this['configuration'][_0x4cb534(0xb0)]&&Array['isArray'](this[_0x4cb534(0xdb)][_0x4cb534(0xb0)])&&this['configuration'][_0x4cb534(0xb0)][_0x3f3807]||{}};delete _0x186f79[_0x4cb534(0xba)],this[_0x4cb534(0xa7)][_0x4cb534(0xbe)]=_0x186f79;if(_seleniumWebdriver2){const _0xe2cb6d=_0x4dc460[_0x4cb534(0xcd)]['split']('|');let _0xa14da3=0x0;while(!![]){switch(_0xe2cb6d[_0xa14da3++]){case'0':helper[_0x4cb534(0xbc)](this['configuration']['skipSessionName'])?this[_0x4cb534(0xa7)][_0x4cb534(0xa5)]=!![]:this[_0x4cb534(0xa7)]['sessionNameProvided']=![];continue;case'1':this[_0x4cb534(0xa7)]['percyCaptureMode']=helper[_0x4cb534(0x97)](_0x4a3608,[_0x4dc460['ZlGbS'],_0x4dc460['sAixT'],_0x4dc460[_0x4cb534(0x9c)]]);continue;case'2':this[_0x4cb534(0xa7)][_0x4cb534(0xf9)]=helper[_0x4cb534(0x97)](_0x4a3608,[_0x4dc460[_0x4cb534(0xb6)],_0x4dc460['sAixT'],_0x4dc460[_0x4cb534(0xa6)]]);continue;case'3':this[_0x4cb534(0xa7)][_0x4cb534(0xe8)]=_0x4dc460[_0x4cb534(0xc3)](require,_0x4dc460[_0x4cb534(0xe4)])['browserstackAgentV2']({...this[_0x4cb534(0xdb)],'capability':this[_0x4cb534(0xab)]||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;case'4':this[_0x4cb534(0xa7)]['cleanup']=async()=>{const _0x2c5ac5=_0x4cb534;await this[_0x2c5ac5(0xa7)]['driver']['quit'](_0x4dc460['jlmTG']);};continue;case'5':this[_0x4cb534(0xa7)]['__skipSessionStatus']=helper[_0x4cb534(0xbc)](this[_0x4cb534(0xdb)][_0x4cb534(0xcc)]);continue;case'6':this[_0x4cb534(0xa7)][_0x4cb534(0xfd)]=helper[_0x4cb534(0x97)](_0x4a3608,[_0x4dc460[_0x4cb534(0xb6)],_0x4dc460[_0x4cb534(0xf1)],_0x4dc460[_0x4cb534(0xc4)]]);continue;case'7':this[_0x4cb534(0xa7)][_0x4cb534(0xd5)]=[];continue;}break;}}}async[a16_0x3bf70a(0xd2)](){const _0x39dedc=a16_0x3bf70a;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x39dedc(0xa7)][_0x39dedc(0xd8)]),this[_0x39dedc(0xa7)][_0x39dedc(0xe8)]['Builder']=originalBuilder),await RequestQueueHandler['getInstance']()[_0x39dedc(0xee)]();}async[a16_0x3bf70a(0xce)](){}async[a16_0x3bf70a(0xc2)](_0x5d69e1,_0x175648){const _0x16fad3=a16_0x3bf70a,_0x54177e={};_0x54177e['XArAb']=function(_0xd102a7,_0x2ec3a3){return _0xd102a7===_0x2ec3a3;},_0x54177e['fkJHo']=_0x16fad3(0xad),_0x54177e[_0x16fad3(0xb9)]='skip',_0x54177e[_0x16fad3(0x98)]=function(_0x21bfb5,_0x49b424){return _0x21bfb5===_0x49b424;},_0x54177e[_0x16fad3(0xcb)]=_0x16fad3(0xaf),_0x54177e[_0x16fad3(0xf7)]='\x20>\x20',_0x54177e['rsdCv']=function(_0x180a65,_0x21c8a1){return _0x180a65===_0x21c8a1;},_0x54177e[_0x16fad3(0xca)]=function(_0x9fedce,_0x22149d){return _0x9fedce===_0x22149d;},_0x54177e[_0x16fad3(0xe3)]=_0x16fad3(0xbd),_0x54177e[_0x16fad3(0xfb)]=function(_0x45fda6,_0x192569){return _0x45fda6===_0x192569;},_0x54177e[_0x16fad3(0xc7)]=_0x16fad3(0xd2);const _0x29568c=_0x54177e,{name:_0x1c9976}=_0x5d69e1;if(_0x29568c[_0x16fad3(0xae)](_0x1c9976,_0x29568c['fkJHo'])){this['global'][_0x16fad3(0xc0)]=_0x5d69e1[_0x16fad3(0xa1)];if(_0x29568c[_0x16fad3(0xae)](this[_0x16fad3(0xa7)][_0x16fad3(0x99)],!![])){const _0x2ccfee=_0x5d69e1['test'][_0x16fad3(0xbf)];logger['info'](_0x16fad3(0xef)+_0x2ccfee),_0x5d69e1[_0x16fad3(0xa1)][_0x16fad3(0xf3)]=_0x29568c[_0x16fad3(0xb9)];}}if(this['failFast']&&_0x29568c['uxFUj'](_0x1c9976,_0x29568c[_0x16fad3(0xcb)]))try{const _0x1f676e=_0x5d69e1['test'][_0x16fad3(0x9a)]['join'](_0x29568c[_0x16fad3(0xf7)]),_0x5f270d=_0x5d69e1[_0x16fad3(0xa1)]['errors'];await this[_0x16fad3(0xf4)][_0x16fad3(0xec)](_0x1f676e,_0x5f270d);const _0x4b8c40=await this['failFast'][_0x16fad3(0xb4)]();_0x29568c[_0x16fad3(0xdf)](this[_0x16fad3(0xa7)][_0x16fad3(0x99)],![])&&_0x29568c[_0x16fad3(0xca)](_0x4b8c40,!![])&&(this['global'][_0x16fad3(0x99)]=!![]);}catch(_0x3da586){logger[_0x16fad3(0xd9)](_0x29568c['efGAE'],_0x3da586[_0x16fad3(0xd1)]);}_0x29568c[_0x16fad3(0xfb)](_0x1c9976,_0x29568c['KAsZV'])&&(this[_0x16fad3(0xf4)]&&this[_0x16fad3(0xf4)][_0x16fad3(0xd7)]());}}module[a16_0x3bf70a(0xac)]=CustomEnvironment;
@@ -1 +1 @@
1
- const a17_0x28ace8=a17_0xb1fa;(function(_0x17588d,_0x57a606){const _0x4c2cf4=a17_0xb1fa,_0x4a19b0=_0x17588d();while(!![]){try{const _0x50fb82=-parseInt(_0x4c2cf4(0x104))/0x1+parseInt(_0x4c2cf4(0xc1))/0x2*(-parseInt(_0x4c2cf4(0x106))/0x3)+-parseInt(_0x4c2cf4(0x100))/0x4+parseInt(_0x4c2cf4(0xcc))/0x5+parseInt(_0x4c2cf4(0x138))/0x6*(parseInt(_0x4c2cf4(0x131))/0x7)+parseInt(_0x4c2cf4(0x13e))/0x8*(-parseInt(_0x4c2cf4(0xea))/0x9)+parseInt(_0x4c2cf4(0x140))/0xa;if(_0x50fb82===_0x57a606)break;else _0x4a19b0['push'](_0x4a19b0['shift']());}catch(_0x5a1767){_0x4a19b0['push'](_0x4a19b0['shift']());}}}(a17_0x2fcb,0x81bf5));const {requireModule}=require(a17_0x28ace8(0xc0)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x28ace8(0x142)),TestDetails=require(a17_0x28ace8(0xe1)),{patchConsoleLogger,debug}=require(a17_0x28ace8(0xd4)),{o11yErrorHandler}=require(a17_0x28ace8(0x13b)),{shouldProcessEventForTesthub}=require(a17_0x28ace8(0xfe)),testHubConstants=require(a17_0x28ace8(0xc7)),BrowserstackCLI=require(a17_0x28ace8(0xe0)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x28ace8(0xb2)),{v4:uuidv4}=require(a17_0x28ace8(0xd9)),util=require(a17_0x28ace8(0xe2)),logger=require(a17_0x28ace8(0xf2))[a17_0x28ace8(0xfc)],{FRAMEWORKS}=require(a17_0x28ace8(0xa6)),exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js',a17_0x28ace8(0x10e)),initInitialize=exportsI[a17_0x28ace8(0x110)],jestUtils=new JestUtils();function a17_0x2fcb(){const _0x4353d2=['trackEvent','BEFORE_EACH','setActiveHook','hookAnalyticsId','qwDys','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','jest-circus/build/state.js','HbznC','isCliEnabled','147auEFrr','shutdown','toISOString','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','started_at','createTestFrameworkData','currentHook','266004ourFGM','format','pid','../../../helpers/test-observability/error-handler','VniVS','qABGp','152OidqvG','setTestUUID','15126200nhgPOH','state','../../../helpers/test-observability/requestQueueHandler','gvNve','OMTJJ','GRSxX','POST','Error\x20routing\x20to\x20JestTestFramework:\x20','TestRunStarted','gvXEo','MJKtN','rrcvc','IYqhF','name','__jestCurrentTestIdentifier','TestRunFinished','makeSingleTestResult','hookData','PpXHC','../../utils/constants','afterAll','afterEach','DpDGj','getInstance','__workerDetails','run_describe_finish','WvWHp','TyUFJ','TEST','pnboO','hook_start','../../v2/utils/jest-utils','iygCV','hook_success','type','length','BEFORE_ALL','getTestFramework','file','wMaUh','VCqcU','DFsrZ','errorsDetailed','match','iXjSl','../../../helpers/helper','2KGETjB','AFTER_EACH','uvMuB','beforeAll','HookRunFinished','title','../../../helpers/testhub/constants','removeAllListeners','qkQhf','hook_failure','YnoMR','3056785gAVhHG','isRunning','jest-circus/build/utils.js','test_start','EVENT','LOG_REPORT','sendTestRunEvent','GrDgc','../../../helpers/test-observability/utils','testAnalyticsId','unhandledErrors','TReXQ','registerListeners','uuid','ZEzFL','asyncError','WBDuK','testStarted','pFHrY','nlTWA','../../v2/browserstackCLI','../test-observability/test-details','util','removeActiveHook','AFTER_ALL','KOgCt','TzZMD','xqWRz','MHHDv','test','325233YPOBBe','debug','_currentRetry','PRE','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','wnGZK','vnFVJ','upUEQ','../../../helpers/logger','jKidk','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','testUUID','BuhWX','aWyrc','Error\x20checking\x20CLI\x20readiness:\x20','FsqVY','\x20for\x20hook\x20type:\x20','failed','winstonLogger','HookRunStarted','../../../helpers/testhub/utils','HookFinished','2746048kBSfOy','PHKLw','hook','aEHpv','596990CAMWRc','InPJS','1660323YNNSDd','Handling\x20test\x20event\x20for\x20CLI:\x20','../../v2/cliUtils','bootstrap','NbVHA','eIVHG','toString','setFrameworkDetail','jest-circus',':hookAnalyticsId','initialize','markedStatus','IgDxB','removeTestUUID','current_test','wrGxZ','JEST','HookStarted','test_skip','addEventHandler','test_done','cMKTv','LByoH','beforeEach','parent','PTovY','Wogst','olXJh','Yjlvd','keKuD','createIdentifierFromJestTest','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','error','forEach'];a17_0x2fcb=function(){return _0x4353d2;};return a17_0x2fcb();}async function isCLIReady(){const _0x373147=a17_0x28ace8,_0x16f97d={'MJKtN':'CLI\x20is\x20enabled\x20and\x20running.','WvWHp':function(_0x2ab51b,_0x22e833){return _0x2ab51b(_0x22e833);},'qkQhf':_0x373147(0x108)};try{const _0x3e887c=BrowserstackCLI[_0x373147(0xaa)]();if(_0x3e887c[_0x373147(0x130)]()&&_0x3e887c[_0x373147(0xcd)]())return logger[_0x373147(0xeb)](_0x16f97d[_0x373147(0x14a)]),!![];const _0x38a8b7=process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x38a8b7&&_0x3e887c[_0x373147(0x130)]()){if(!_0x3e887c[_0x373147(0xcd)]())try{const _0x12f847=_0x16f97d[_0x373147(0xad)](require,_0x16f97d[_0x373147(0xc9)]);_0x12f847[_0x373147(0x10d)](FRAMEWORKS[_0x373147(0x116)],FRAMEWORKS['PLAYWRIGHT']),await _0x3e887c[_0x373147(0x109)]();}catch(_0x320e91){return _0x16f97d['WvWHp'](debug,_0x373147(0x125)+util[_0x373147(0x139)](_0x320e91)),![];}return _0x3e887c[_0x373147(0xcd)]();}return![];}catch(_0x817b78){return _0x16f97d[_0x373147(0xad)](debug,_0x373147(0xf8)+util[_0x373147(0x139)](_0x817b78)),![];}}function getTestIdentifierForHook(_0x4712ae){const _0x4c87f8=a17_0x28ace8,_0x25b383={};_0x25b383[_0x4c87f8(0xa9)]=function(_0xd77ce3,_0x3a271e){return _0xd77ce3===_0x3a271e;},_0x25b383[_0x4c87f8(0x123)]=_0x4c87f8(0x11d),_0x25b383[_0x4c87f8(0xbb)]=function(_0x5d4a3e,_0x272adf){return _0x5d4a3e===_0x272adf;},_0x25b383[_0x4c87f8(0x13c)]=_0x4c87f8(0xc4),_0x25b383['LByoH']=function(_0x131a5f,_0x5c0bfe){return _0x131a5f===_0x5c0bfe;};const _0x3dc79f=_0x25b383;if(_0x3dc79f['DpDGj'](_0x4712ae['type'],_0x3dc79f[_0x4c87f8(0x123)])||_0x3dc79f[_0x4c87f8(0xbb)](_0x4712ae[_0x4c87f8(0xb5)],_0x3dc79f[_0x4c87f8(0x13c)])){let _0x4b6bec=global[_0x4c87f8(0xa1)];if(!_0x4b6bec&&_0x3dc79f[_0x4c87f8(0x11c)](_0x4712ae['type'],_0x3dc79f[_0x4c87f8(0x13c)])&&_0x4712ae[_0x4c87f8(0x11e)]){const _0x3718e4={};_0x3718e4[_0x4c87f8(0x14d)]=_0x4712ae[_0x4c87f8(0x11e)][_0x4c87f8(0x14d)],_0x3718e4['parent']=_0x4712ae['parent'][_0x4c87f8(0x11e)],_0x3718e4[_0x4c87f8(0xdb)]=_0x4712ae[_0x4c87f8(0xdb)],_0x3718e4['file']=_0x4712ae[_0x4c87f8(0xb9)];const _0x31af58=_0x3718e4;_0x4b6bec=jestUtils['createIdentifierFromJestTest'](_0x31af58);}return _0x4b6bec;}return global[_0x4c87f8(0xa1)];}function mapHookTypeToState(_0x34f312){const _0x3dde1f=a17_0x28ace8,_0x49cc27={};_0x49cc27[_0x3dde1f(0xc4)]=TestFrameworkState[_0x3dde1f(0xb7)],_0x49cc27[_0x3dde1f(0xa7)]=TestFrameworkState[_0x3dde1f(0xe4)],_0x49cc27[_0x3dde1f(0x11d)]=TestFrameworkState[_0x3dde1f(0x129)],_0x49cc27[_0x3dde1f(0xa8)]=TestFrameworkState[_0x3dde1f(0xc2)];const _0x3b39bf=_0x49cc27;return _0x3b39bf[_0x34f312]||TestFrameworkState[_0x3dde1f(0x129)];}function a17_0xb1fa(_0x4b8901,_0x350b84){const _0x2fcbf1=a17_0x2fcb();return a17_0xb1fa=function(_0xb1facd,_0x1362ad){_0xb1facd=_0xb1facd-0xa1;let _0xcf7b5=_0x2fcbf1[_0xb1facd];return _0xcf7b5;},a17_0xb1fa(_0x4b8901,_0x350b84);}async function handleHookEventCLI(_0x13f122,_0x9a4279,_0x567361){const _0x44715a=a17_0x28ace8,_0x4caa95={'jMPNK':function(_0x2ff3e5){return _0x2ff3e5();},'TReXQ':function(_0x228c46,_0x4ade92){return _0x228c46===_0x4ade92;},'nlTWA':_0x44715a(0xfd),'GRSxX':function(_0x4f0614,_0x1433ad){return _0x4f0614(_0x1433ad);},'ESSTN':function(_0x340a65,_0x244d68){return _0x340a65===_0x244d68;},'Shzhr':function(_0x2afd99,_0x4c4c6c){return _0x2afd99(_0x4c4c6c);},'jgqHS':function(_0x51d437,_0x47370c){return _0x51d437===_0x47370c;},'pnboO':_0x44715a(0xc5),'NbVHA':'hook','GrDgc':function(_0x174643,_0x34bacb){return _0x174643===_0x34bacb;}};logger[_0x44715a(0xeb)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x9a4279+_0x44715a(0xfa)+_0x13f122[_0x44715a(0xb5)]);try{if(_0x13f122['fn']&&_0x13f122['fn'][_0x44715a(0x10c)]()[_0x44715a(0xbe)](/browserstack internal helper hook/))return;let _0x5b39f4=_0x13f122[_0x44715a(0x12b)];if(!_0x5b39f4)_0x5b39f4=_0x4caa95['jMPNK'](uuidv4),_0x13f122[_0x44715a(0x12b)]=_0x5b39f4;else _0x13f122[_0x44715a(0x111)]&&(_0x5b39f4=_0x4caa95['jMPNK'](uuidv4),_0x13f122['hookAnalyticsId']=_0x5b39f4,delete _0x13f122[_0x44715a(0x111)]);_0x4caa95[_0x44715a(0xd7)](_0x9a4279,_0x4caa95[_0x44715a(0xdf)])&&(_0x13f122[_0x44715a(0x135)]=new Date()['toISOString']());const _0x417c67=_0x4caa95[_0x44715a(0x145)](getTestIdentifierForHook,_0x13f122);!global[_0x44715a(0xab)]&&(global[_0x44715a(0xab)]={});if(_0x4caa95['ESSTN'](_0x9a4279,_0x4caa95[_0x44715a(0xdf)])){global[_0x44715a(0xab)]['currentHook']={'hookUUID':_0x5b39f4,'testIdentifier':_0x417c67,'hookType':_0x13f122[_0x44715a(0xb5)],'startedAt':new Date()[_0x44715a(0x133)]()};const _0x2f514f=BrowserstackCLI[_0x44715a(0xaa)]()[_0x44715a(0xb8)]();_0x2f514f&&_0x2f514f['setActiveHook']&&_0x2f514f[_0x44715a(0x12a)](_0x417c67,_0x5b39f4,_0x13f122[_0x44715a(0xb5)]);}const _0x25fde2=await jestUtils['createHookData'](_0x13f122,_0x5b39f4,_0x9a4279,_0x417c67);if(!_0x25fde2)return;const _0x4ca15f=_0x4caa95['Shzhr'](mapHookTypeToState,_0x13f122[_0x44715a(0xb5)]),_0xc3be98=_0x4caa95['ESSTN'](_0x9a4279,_0x4caa95[_0x44715a(0xdf)])?HookState[_0x44715a(0xed)]:HookState[_0x44715a(0x146)],_0x2868fc=BrowserstackCLI['getInstance']()[_0x44715a(0xb8)]();if(_0x2868fc){const _0x2ef327={};_0x2ef327[_0x44715a(0xa4)]=_0x25fde2,await _0x2868fc[_0x44715a(0x128)](_0x4ca15f,_0xc3be98,_0x2ef327);if(_0x4caa95['jgqHS'](_0x9a4279,_0x4caa95[_0x44715a(0xb0)])){const _0xfd6e28={};_0xfd6e28[_0x44715a(0xf5)]=_0x417c67,_0xfd6e28['type']=_0x4caa95[_0x44715a(0x10a)],await _0x2868fc[_0x44715a(0x128)](TestFrameworkState[_0x44715a(0xd1)],HookState['POST'],_0xfd6e28),global[_0x44715a(0xab)]&&global['__workerDetails'][_0x44715a(0x137)]&&_0x4caa95[_0x44715a(0xd3)](global[_0x44715a(0xab)][_0x44715a(0x137)]['hookUUID'],_0x5b39f4)&&delete global[_0x44715a(0xab)][_0x44715a(0x137)],_0x2868fc['removeActiveHook']&&_0x2868fc[_0x44715a(0xe3)](_0x417c67,_0x5b39f4);}}}catch(_0x2c8aaa){logger[_0x44715a(0x126)](_0x44715a(0x134)+util[_0x44715a(0x139)](_0x2c8aaa));throw _0x2c8aaa;}}async function handleTestEventCLI(_0x2a51fe,_0xf2c644,_0x16fa90){const _0x554f55=a17_0x28ace8,_0x239863={};_0x239863[_0x554f55(0x122)]=function(_0x446d94,_0xe0dc84){return _0x446d94===_0xe0dc84;},_0x239863[_0x554f55(0x144)]=_0x554f55(0x148),_0x239863['uvMuB']=function(_0x3fc350,_0x199a20){return _0x3fc350>_0x199a20;},_0x239863['IgDxB']=function(_0x214cb7,_0x3a7e7c){return _0x214cb7===_0x3a7e7c;},_0x239863['KOgCt']=function(_0x557f22,_0xda442d){return _0x557f22&&_0xda442d;},_0x239863[_0x554f55(0x11f)]=_0x554f55(0xfb),_0x239863[_0x554f55(0xcb)]='TestRunFinished',_0x239863[_0x554f55(0xf1)]=function(_0x23bb02,_0x262dbe){return _0x23bb02&&_0x262dbe;},_0x239863[_0x554f55(0x101)]=function(_0x4f7770,_0x425531){return _0x4f7770&&_0x425531;},_0x239863[_0x554f55(0x11b)]=_0x554f55(0xe9);const _0x209c65=_0x239863;logger[_0x554f55(0xeb)](_0x554f55(0x107)+_0xf2c644);try{let _0x162483;if(_0x209c65[_0x554f55(0x122)](_0xf2c644,_0x209c65[_0x554f55(0x144)])){_0x162483=jestUtils[_0x554f55(0x124)](_0x2a51fe),global[_0x554f55(0xa1)]=_0x162483,_0x2a51fe[_0x554f55(0xd5)]=_0x162483,_0x2a51fe['id']=_0x162483,_0x2a51fe[_0x554f55(0x135)]=new Date()[_0x554f55(0x133)]();const _0x142c1a=_0x16fa90['current_test'];_0x16fa90[_0x554f55(0x114)]=_0x2a51fe,_0x2a51fe['retryOf']=null;if(_0x209c65[_0x554f55(0xc3)](_0x2a51fe[_0x554f55(0xec)],0x0)&&_0x142c1a&&_0x209c65[_0x554f55(0x112)](_0x142c1a[_0x554f55(0xc6)],_0x2a51fe[_0x554f55(0xc6)])){_0x2a51fe['retryOf']=_0x142c1a[_0x554f55(0xd5)];const _0x580dab=await jestUtils[_0x554f55(0x136)](_0x2a51fe,_0x162483,_0x209c65[_0x554f55(0x144)]),_0x577622=BrowserstackCLI['getInstance']()[_0x554f55(0xb8)]();if(_0x209c65['KOgCt'](_0x580dab,_0x577622)){const _0x49e890={};_0x49e890['test']=_0x580dab,await _0x577622[_0x554f55(0x128)](TestFrameworkState['TEST'],HookState[_0x554f55(0xed)],_0x49e890);}_0x142c1a[_0x554f55(0x141)]=_0x209c65[_0x554f55(0x11f)];const _0x4552e6=await jestUtils[_0x554f55(0x136)](_0x142c1a,_0x142c1a['testAnalyticsId'],_0x209c65['YnoMR']);if(_0x209c65['upUEQ'](_0x4552e6,_0x577622)){const _0x1d05f8={};_0x1d05f8[_0x554f55(0xe9)]=_0x4552e6,await _0x577622[_0x554f55(0x128)](TestFrameworkState[_0x554f55(0xaf)],HookState[_0x554f55(0x146)],_0x1d05f8);}}else{const _0x575137=await jestUtils[_0x554f55(0x136)](_0x2a51fe,_0x162483,_0x209c65[_0x554f55(0x144)]),_0x190b92=BrowserstackCLI[_0x554f55(0xaa)]()['getTestFramework']();if(_0x209c65[_0x554f55(0xe5)](_0x575137,_0x190b92)){const _0x3fb762={};_0x3fb762['test']=_0x575137,await _0x190b92['trackEvent'](TestFrameworkState[_0x554f55(0xaf)],HookState[_0x554f55(0xed)],_0x3fb762);}}}else{_0x162483=_0x2a51fe[_0x554f55(0xd5)]||_0x2a51fe['id']||global['__jestCurrentTestIdentifier'];const _0x5c9aaa=await jestUtils[_0x554f55(0x136)](_0x2a51fe,_0x162483,_0xf2c644),_0x2432bf=BrowserstackCLI[_0x554f55(0xaa)]()[_0x554f55(0xb8)]();if(_0x209c65['PHKLw'](_0x5c9aaa,_0x2432bf)){const _0x3fbbfa={};_0x3fbbfa['test']=_0x5c9aaa,_0x3fbbfa['originalTest']=_0x2a51fe,await _0x2432bf[_0x554f55(0x128)](TestFrameworkState[_0x554f55(0xaf)],HookState['POST'],_0x3fbbfa);const _0x32112d={};_0x32112d[_0x554f55(0xf5)]=_0x162483,_0x32112d[_0x554f55(0xb5)]=_0x209c65[_0x554f55(0x11b)],await _0x2432bf[_0x554f55(0x128)](TestFrameworkState[_0x554f55(0xd1)],HookState['POST'],_0x32112d);}}}catch(_0x270393){logger['error'](_0x554f55(0xee)+util['format'](_0x270393));throw _0x270393;}}exportsI[a17_0x28ace8(0x110)]=(..._0x467cb6)=>{const _0x37b59a=a17_0x28ace8,_0x5573ec={'ZEzFL':function(_0x35a787,_0x514465,_0x545247){return _0x35a787(_0x514465,_0x545247);},'PpXHC':_0x37b59a(0xce),'MHHDv':_0x37b59a(0x10e),'WBDuK':_0x37b59a(0xb1),'jKidk':function(_0x560df2,_0x1167e7){return _0x560df2(_0x1167e7);},'wMaUh':function(_0x4526f9){return _0x4526f9();},'wrGxZ':function(_0x41e42c,_0x29e1a7,_0x3aba71,_0x3a6a3b){return _0x41e42c(_0x29e1a7,_0x3aba71,_0x3a6a3b);},'Wogst':_0x37b59a(0xfd),'ZKPtj':_0x37b59a(0xb4),'hDNfu':function(_0x20a956,_0x2041ab,_0x1cd39d,_0x291914){return _0x20a956(_0x2041ab,_0x1cd39d,_0x291914);},'eIVHG':_0x37b59a(0xc5),'iXjSl':_0x37b59a(0xca),'olXJh':_0x37b59a(0xc4),'qylQr':_0x37b59a(0x11d),'qwDys':_0x37b59a(0xa8),'hKYXw':function(_0x14ffdf,_0x31acbc){return _0x14ffdf>_0x31acbc;},'iygCV':function(_0x5485fd,_0x41db8c,_0x1e20f1,_0x7342db){return _0x5485fd(_0x41db8c,_0x1e20f1,_0x7342db);},'aEHpv':function(_0x442426,_0x5ef5cf){return _0x442426(_0x5ef5cf);},'TyUFJ':_0x37b59a(0xcf),'InPJS':function(_0x180051,_0x14e74f,_0x268196,_0x15e7dd){return _0x180051(_0x14e74f,_0x268196,_0x15e7dd);},'pFHrY':_0x37b59a(0x148),'aWyrc':function(_0x5c2397,_0x270743){return _0x5c2397(_0x270743);},'psfwO':_0x37b59a(0x11a),'nZuoi':function(_0x353a09,_0x327286){return _0x353a09(_0x327286);},'FsqVY':function(_0x25cdf3){return _0x25cdf3();},'gvXEo':_0x37b59a(0xa2),'rrcvc':_0x37b59a(0x118),'TzZMD':function(_0x3b9831,_0x2a2d71){return _0x3b9831(_0x2a2d71);},'HbznC':function(_0xd8c5ef,_0x4e6274,_0x3307f6,_0x5147d4){return _0xd8c5ef(_0x4e6274,_0x3307f6,_0x5147d4);},'IYqhF':'TestRunSkipped','vnFVJ':function(_0x14c063,_0x41fb46){return _0x14c063(_0x41fb46);},'VIKEZ':_0x37b59a(0xac),'wnGZK':'teardown','gvNve':function(_0x25e65d){return _0x25e65d();},'qABGp':function(_0x335785){return _0x335785();},'nEzhf':_0x37b59a(0x12e),'BuhWX':function(_0x77c18c,_0x3cd20e,_0x321057){return _0x77c18c(_0x3cd20e,_0x321057);},'DFsrZ':'EventHandler'};try{const _0x3317bd=new ObservabilityReporter();_0x5573ec[_0x37b59a(0x143)](shouldProcessEventForTesthub)&&(_0x5573ec[_0x37b59a(0x13d)](patchConsoleLogger),_0x3317bd[_0x37b59a(0xd8)]()),_0x5573ec[_0x37b59a(0xba)](shouldProcessEventForTesthub)&&_0x5573ec[_0x37b59a(0xda)](requireModule,_0x5573ec['nEzhf'],_0x5573ec[_0x37b59a(0xe8)])[_0x37b59a(0x119)](_0x5573ec[_0x37b59a(0xf6)](o11yErrorHandler,async(_0x103904,_0x27129d)=>{const _0x2b55c7=_0x37b59a,_0x8c2fbf=_0x5573ec[_0x2b55c7(0xda)](requireModule,_0x5573ec[_0x2b55c7(0xa5)],_0x5573ec[_0x2b55c7(0xe8)])[_0x2b55c7(0xa3)];switch(_0x103904[_0x2b55c7(0x14d)]){case _0x5573ec[_0x2b55c7(0xdc)]:if(_0x5573ec[_0x2b55c7(0xf3)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x2b55c7(0x117)])){if(_0x103904[_0x2b55c7(0x102)]['fn']&&_0x103904[_0x2b55c7(0x102)]['fn']['toString']()['match'](/browserstack internal helper hook/))break;if(BrowserstackCLI['getInstance']()[_0x2b55c7(0x130)]()&&await _0x5573ec['wMaUh'](isCLIReady))try{await _0x5573ec['wrGxZ'](handleHookEventCLI,_0x103904[_0x2b55c7(0x102)],_0x5573ec[_0x2b55c7(0x120)],_0x27129d);break;}catch(_0x1a6e73){_0x5573ec[_0x2b55c7(0xf3)](debug,_0x2b55c7(0x147)+util[_0x2b55c7(0x139)](_0x1a6e73));}if(!_0x103904[_0x2b55c7(0x102)][_0x2b55c7(0x12b)]){const _0x914504=TestDetails[_0x2b55c7(0x13f)](process[_0x2b55c7(0x13a)]+':hookAnalyticsId');_0x103904[_0x2b55c7(0x102)][_0x2b55c7(0x12b)]=_0x914504;}else _0x103904[_0x2b55c7(0x102)][_0x2b55c7(0x111)]&&(_0x103904['hook'][_0x2b55c7(0x12b)]=TestDetails['setTestUUID'](process[_0x2b55c7(0x13a)]+':hookAnalyticsId'),delete _0x103904[_0x2b55c7(0x102)][_0x2b55c7(0x111)]);_0x103904[_0x2b55c7(0x102)][_0x2b55c7(0x135)]=new Date()[_0x2b55c7(0x133)](),await _0x3317bd[_0x2b55c7(0xd2)](_0x103904[_0x2b55c7(0x102)],undefined,![],_0x5573ec[_0x2b55c7(0x120)]);}break;case _0x5573ec['ZKPtj']:if(_0x5573ec[_0x2b55c7(0xf3)](shouldProcessEventForTesthub,testHubConstants[_0x2b55c7(0xd0)][_0x2b55c7(0xff)])){if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x5573ec[_0x2b55c7(0xba)](isCLIReady))try{await _0x5573ec['hDNfu'](handleHookEventCLI,_0x103904[_0x2b55c7(0x102)],_0x5573ec['eIVHG'],_0x27129d);break;}catch(_0x14a37a){_0x5573ec[_0x2b55c7(0xf3)](debug,_0x2b55c7(0x147)+util[_0x2b55c7(0x139)](_0x14a37a));}await _0x3317bd[_0x2b55c7(0xd2)](_0x103904[_0x2b55c7(0x102)],undefined,![],_0x5573ec[_0x2b55c7(0x10b)]),TestDetails[_0x2b55c7(0x113)](process[_0x2b55c7(0x13a)]+_0x2b55c7(0x10f));}break;case _0x5573ec[_0x2b55c7(0xbf)]:[_0x5573ec[_0x2b55c7(0x121)],_0x5573ec['qylQr'],_0x5573ec[_0x2b55c7(0x12c)]]['includes'](_0x103904[_0x2b55c7(0x102)]['type'])&&(_0x3317bd['hook_failure']=_0x103904[_0x2b55c7(0x102)][_0x2b55c7(0xb5)]),_0x27129d['unhandledErrors']&&_0x5573ec['hKYXw'](_0x27129d[_0x2b55c7(0xd6)][_0x2b55c7(0xb6)],0x0)&&(_0x103904[_0x2b55c7(0x102)][_0x2b55c7(0xbd)]=[_0x27129d[_0x2b55c7(0xd6)][0x0][0x0]]);if(_0x5573ec[_0x2b55c7(0xf3)](shouldProcessEventForTesthub,testHubConstants[_0x2b55c7(0xd0)][_0x2b55c7(0xff)])){if(BrowserstackCLI[_0x2b55c7(0xaa)]()[_0x2b55c7(0x130)]()&&await _0x5573ec[_0x2b55c7(0xba)](isCLIReady))try{await _0x5573ec[_0x2b55c7(0xb3)](handleHookEventCLI,_0x103904[_0x2b55c7(0x102)],_0x5573ec[_0x2b55c7(0x10b)],_0x27129d);break;}catch(_0x3cf75f){_0x5573ec[_0x2b55c7(0x103)](debug,_0x2b55c7(0x147)+util[_0x2b55c7(0x139)](_0x3cf75f));}await _0x3317bd[_0x2b55c7(0xd2)](_0x103904[_0x2b55c7(0x102)],undefined,![],_0x5573ec[_0x2b55c7(0x10b)]),TestDetails[_0x2b55c7(0x113)](process[_0x2b55c7(0x13a)]+':hookAnalyticsId');}break;case _0x5573ec[_0x2b55c7(0xae)]:if(_0x5573ec[_0x2b55c7(0xba)](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x2b55c7(0xaa)]()['isCliEnabled']()&&await _0x5573ec[_0x2b55c7(0xba)](isCLIReady))try{await _0x5573ec[_0x2b55c7(0x105)](handleTestEventCLI,_0x103904[_0x2b55c7(0xe9)],_0x5573ec[_0x2b55c7(0xde)],_0x3317bd);break;}catch(_0x3dcdfa){_0x5573ec[_0x2b55c7(0xf7)](debug,_0x2b55c7(0x147)+util[_0x2b55c7(0x139)](_0x3dcdfa));}await _0x3317bd[_0x2b55c7(0xdd)](_0x103904[_0x2b55c7(0xe9)]);}break;case _0x5573ec['psfwO']:_0x103904[_0x2b55c7(0xe9)]={..._0x5573ec['nZuoi'](_0x8c2fbf,_0x103904[_0x2b55c7(0xe9)]),..._0x103904[_0x2b55c7(0xe9)]};if(_0x5573ec[_0x2b55c7(0xba)](shouldProcessEventForTesthub)){if(!_0x103904[_0x2b55c7(0xe9)]['markedStatus']){_0x103904[_0x2b55c7(0xe9)][_0x2b55c7(0x111)]=!![];if(BrowserstackCLI[_0x2b55c7(0xaa)]()[_0x2b55c7(0x130)]()&&await _0x5573ec[_0x2b55c7(0xf9)](isCLIReady))try{await _0x5573ec[_0x2b55c7(0x115)](handleTestEventCLI,_0x103904[_0x2b55c7(0xe9)],_0x5573ec[_0x2b55c7(0x149)],_0x3317bd);break;}catch(_0x6873f8){_0x5573ec[_0x2b55c7(0xf3)](debug,_0x2b55c7(0x147)+util[_0x2b55c7(0x139)](_0x6873f8));}await _0x3317bd['sendTestRunEvent'](_0x103904['test']);}}break;case _0x5573ec[_0x2b55c7(0x14b)]:_0x103904['test']={..._0x5573ec[_0x2b55c7(0xe6)](_0x8c2fbf,_0x103904['test']),..._0x103904[_0x2b55c7(0xe9)]};if(_0x5573ec[_0x2b55c7(0xba)](shouldProcessEventForTesthub)){if(!_0x103904[_0x2b55c7(0xe9)][_0x2b55c7(0x111)]){_0x103904[_0x2b55c7(0xe9)][_0x2b55c7(0x111)]=!![];if(BrowserstackCLI[_0x2b55c7(0xaa)]()[_0x2b55c7(0x130)]()&&await _0x5573ec[_0x2b55c7(0xf9)](isCLIReady))try{await _0x5573ec[_0x2b55c7(0x12f)](handleTestEventCLI,_0x103904[_0x2b55c7(0xe9)],_0x5573ec[_0x2b55c7(0x14c)],_0x3317bd);break;}catch(_0x44f899){_0x5573ec[_0x2b55c7(0xf0)](debug,_0x2b55c7(0x147)+util['format'](_0x44f899));}await _0x3317bd[_0x2b55c7(0xd2)](_0x103904[_0x2b55c7(0xe9)],undefined,![],_0x5573ec[_0x2b55c7(0x14c)]);}}break;case _0x5573ec['VIKEZ']:_0x3317bd[_0x2b55c7(0xca)]=null;break;case _0x5573ec[_0x2b55c7(0xef)]:await RequestQueueHandler[_0x2b55c7(0xaa)]()[_0x2b55c7(0x132)](),process[_0x2b55c7(0xc8)]();break;default:}},_0x5573ec[_0x37b59a(0xbc)]));}catch(_0x3d6cd7){_0x5573ec[_0x37b59a(0xf0)](debug,_0x37b59a(0x12d)+_0x3d6cd7);}return _0x5573ec['nZuoi'](initInitialize,..._0x467cb6);};try{Object['keys'](exportsI)[a17_0x28ace8(0x127)](_0x12b641=>{const _0x49958e=a17_0x28ace8,_0x3f25d8={'xqWRz':function(_0xc6d154,_0x382c4d){return _0xc6d154(_0x382c4d);}};try{exports&&(exports[_0x12b641]=exportsI[_0x12b641]);}catch(_0x59d931){_0x3f25d8[_0x49958e(0xe7)](debug,_0x49958e(0xf4)+_0x59d931);}});}catch(a17_0x1f6f09){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x1f6f09);}
1
+ function a17_0x424f(){const _0x1680f6=['5GawsXP','nIXfk','AFTER_ALL','../../../helpers/helper','getTestFramework','qBTKq','aLeSL','hook_start','QQwgw','uuid','jest-circus/build/state.js','createTestFrameworkData','357518WZvBpk','retryOf','BJxnP','3333351mqCxrG','testUUID','test_skip','hookData','TEST','testStarted','WDhhO','toString','LOG_REPORT','IyViN','cBBai','IPCVK','HqOUH','toISOString','test','asyncError','gBkte','length','removeTestUUID','isRunning','unhandledErrors','afterEach','\x20for\x20hook\x20type:\x20','state','wUuDO','912606eCPdrU','TestRunStarted','testAnalyticsId','../../v2/cliUtils','match','type','forEach','honcm','env','XOvJQ','HookStarted','__workerDetails','bootstrap','debug','TestRunFinished','__jestCurrentTestIdentifier','PRE','title','test_done','sendTestRunEvent','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','getInstance',':hookAnalyticsId','AFTER_EACH','lbomt','../test-observability/obsReporter','1760572IZORox','originalTest','hookAnalyticsId','failed','aGyXe','XnBWh','EVENT','RFOnD','beforeAll','OnjEe','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','eVIOc','EventHandler','pUlim','../../../helpers/test-observability/error-handler','../../v2/browserstackCLI','Tdeyy','isCliEnabled','file','oqbeX','_currentRetry','../../../helpers/testhub/utils','Error\x20checking\x20CLI\x20readiness:\x20','MBiGX','6KEryyS','pid','currentHook','jest-circus','10YEHNsh','JEST','keys','iEdRe','trackEvent','yvLhC','removeActiveHook','fYczw','bMNtD','../../utils/constants','format','BEFORE_EACH','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','HookRunStarted','HookFinished','Error\x20routing\x20to\x20JestTestFramework:\x20','EdXcf','setTestUUID','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','../../v2/state/hookState','EHpkg','setFrameworkDetail','../test-observability/test-details','addEventHandler','../../../helpers/test-observability/utils','hook_failure','310172xBuMRi','hook','NwDZY','../../../helpers/logger','MDmOz','VqpOr','HfCIp','current_test','../../v2/utils/jest-utils','BEFORE_ALL','yZAcB','OICqk','beforeEach','13315445SqlDpX','ElrGt','wAyTW','ObgXe','gfpQh','bCimF','eXXaS','cCgPu','EgInR','ugLYT','CLI\x20is\x20enabled\x20and\x20running.','markedStatus','BAcoi','initialize','run_describe_finish','CbSRe','HookRunFinished','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','../../../helpers/test-observability/requestQueueHandler','dPViX','POST','XEbAR','parent','Handling\x20hook\x20event\x20for\x20CLI:\x20','KgLuu','MBrju','createHookData','8UFVJJH','XMpTA','registerListeners','util','setActiveHook','makeSingleTestResult','MVGzM','TRFVG','started_at','name','teardown','3518685BvWKiy'];a17_0x424f=function(){return _0x1680f6;};return a17_0x424f();}const a17_0x439077=a17_0x191a;(function(_0x47a344,_0x14ea06){const _0x204af6=a17_0x191a,_0x37a9b9=_0x47a344();while(!![]){try{const _0x21c9c8=-parseInt(_0x204af6(0x199))/0x1+-parseInt(_0x204af6(0x123))/0x2+-parseInt(_0x204af6(0x13b))/0x3*(parseInt(_0x204af6(0x159))/0x4)+-parseInt(_0x204af6(0x18d))/0x5*(parseInt(_0x204af6(0x1b5))/0x6)+-parseInt(_0x204af6(0x19c))/0x7*(-parseInt(_0x204af6(0x181))/0x8)+-parseInt(_0x204af6(0x18c))/0x9*(-parseInt(_0x204af6(0x13f))/0xa)+parseInt(_0x204af6(0x166))/0xb;if(_0x21c9c8===_0x14ea06)break;else _0x37a9b9['push'](_0x37a9b9['shift']());}catch(_0x1fb66f){_0x37a9b9['push'](_0x37a9b9['shift']());}}}(a17_0x424f,0x820b6));const {requireModule}=require(a17_0x439077(0x190)),ObservabilityReporter=require(a17_0x439077(0x122)),RequestQueueHandler=require(a17_0x439077(0x178)),TestDetails=require(a17_0x439077(0x155)),{patchConsoleLogger,debug}=require(a17_0x439077(0x157)),{o11yErrorHandler}=require(a17_0x439077(0x131)),{shouldProcessEventForTesthub}=require(a17_0x439077(0x138)),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require(a17_0x439077(0x132)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a17_0x439077(0x152)),JestUtils=require(a17_0x439077(0x161)),{v4:uuidv4}=require(a17_0x439077(0x196)),util=require(a17_0x439077(0x184)),logger=require(a17_0x439077(0x15c))['winstonLogger'],{FRAMEWORKS}=require(a17_0x439077(0x148)),exportsI=requireModule(a17_0x439077(0x12d),a17_0x439077(0x13e)),initInitialize=exportsI[a17_0x439077(0x173)],jestUtils=new JestUtils();function a17_0x191a(_0xac7368,_0x3e3d1d){const _0x424f35=a17_0x424f();return a17_0x191a=function(_0x191a3b,_0x23368a){_0x191a3b=_0x191a3b-0x11a;let _0xea6365=_0x424f35[_0x191a3b];return _0xea6365;},a17_0x191a(_0xac7368,_0x3e3d1d);}async function isCLIReady(){const _0x8dc0ba=a17_0x439077,_0x57fc9c={'NwDZY':_0x8dc0ba(0x170),'BJxnP':function(_0x2c0963,_0x3eac2f){return _0x2c0963(_0x3eac2f);},'DYxAO':_0x8dc0ba(0x1b8),'MAeZD':function(_0x307fc8,_0xa0f0f1){return _0x307fc8(_0xa0f0f1);}};try{const _0x214ace=BrowserstackCLI[_0x8dc0ba(0x11e)]();if(_0x214ace[_0x8dc0ba(0x134)]()&&_0x214ace[_0x8dc0ba(0x1af)]())return logger[_0x8dc0ba(0x1c2)](_0x57fc9c[_0x8dc0ba(0x15b)]),!![];const _0x1c98b3=process[_0x8dc0ba(0x1bd)]['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x1c98b3&&_0x214ace[_0x8dc0ba(0x134)]()){if(!_0x214ace['isRunning']())try{const _0x5062e2=_0x57fc9c[_0x8dc0ba(0x19b)](require,_0x57fc9c['DYxAO']);_0x5062e2[_0x8dc0ba(0x154)](FRAMEWORKS[_0x8dc0ba(0x140)],FRAMEWORKS['PLAYWRIGHT']),await _0x214ace[_0x8dc0ba(0x1c1)]();}catch(_0xeecac6){return _0x57fc9c['MAeZD'](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util[_0x8dc0ba(0x149)](_0xeecac6)),![];}return _0x214ace['isRunning']();}return![];}catch(_0x53c3ca){return _0x57fc9c[_0x8dc0ba(0x19b)](debug,_0x8dc0ba(0x139)+util[_0x8dc0ba(0x149)](_0x53c3ca)),![];}}function getTestIdentifierForHook(_0x5f5c2b){const _0x4bec5a=a17_0x439077,_0x46c863={};_0x46c863[_0x4bec5a(0x16f)]=function(_0x41d759,_0x47eb62){return _0x41d759===_0x47eb62;},_0x46c863[_0x4bec5a(0x142)]=_0x4bec5a(0x165),_0x46c863[_0x4bec5a(0x15e)]=function(_0x1d8444,_0x58bd87){return _0x1d8444===_0x58bd87;},_0x46c863[_0x4bec5a(0x167)]=_0x4bec5a(0x12b);const _0x4d56a3=_0x46c863;if(_0x4d56a3[_0x4bec5a(0x16f)](_0x5f5c2b[_0x4bec5a(0x1ba)],_0x4d56a3[_0x4bec5a(0x142)])||_0x4d56a3['VqpOr'](_0x5f5c2b[_0x4bec5a(0x1ba)],_0x4d56a3[_0x4bec5a(0x167)])){let _0x1ae4d3=global[_0x4bec5a(0x1c4)];if(!_0x1ae4d3&&_0x4d56a3[_0x4bec5a(0x15e)](_0x5f5c2b[_0x4bec5a(0x1ba)],_0x4d56a3['ElrGt'])&&_0x5f5c2b['parent']){const _0x14df82={};_0x14df82[_0x4bec5a(0x18a)]=_0x5f5c2b[_0x4bec5a(0x17c)][_0x4bec5a(0x18a)],_0x14df82[_0x4bec5a(0x17c)]=_0x5f5c2b['parent'][_0x4bec5a(0x17c)],_0x14df82[_0x4bec5a(0x1ab)]=_0x5f5c2b[_0x4bec5a(0x1ab)],_0x14df82[_0x4bec5a(0x135)]=_0x5f5c2b[_0x4bec5a(0x135)];const _0xbebd1e=_0x14df82;_0x1ae4d3=jestUtils['createIdentifierFromJestTest'](_0xbebd1e);}return _0x1ae4d3;}return global[_0x4bec5a(0x1c4)];}function mapHookTypeToState(_0x34490e){const _0x5696ee=a17_0x439077,_0x14d28a={};_0x14d28a[_0x5696ee(0x12b)]=TestFrameworkState[_0x5696ee(0x162)],_0x14d28a['afterAll']=TestFrameworkState[_0x5696ee(0x18f)],_0x14d28a[_0x5696ee(0x165)]=TestFrameworkState[_0x5696ee(0x14a)],_0x14d28a[_0x5696ee(0x1b1)]=TestFrameworkState[_0x5696ee(0x120)];const _0x5d1027=_0x14d28a;return _0x5d1027[_0x34490e]||TestFrameworkState[_0x5696ee(0x14a)];}async function handleHookEventCLI(_0x30c9e6,_0x21c1e5,_0x3a4640){const _0x388062=a17_0x439077,_0xade763={'XnBWh':function(_0x360c6b){return _0x360c6b();},'KgLuu':function(_0x4a2a1b){return _0x4a2a1b();},'mippK':function(_0x2fd2a9,_0x402b34){return _0x2fd2a9===_0x402b34;},'wAyTW':_0x388062(0x14c),'qOtvy':function(_0xa48fcd,_0x52e482){return _0xa48fcd(_0x52e482);},'gfpQh':function(_0x4b8a53,_0x35ec0b){return _0x4b8a53===_0x35ec0b;},'aLeSL':function(_0x330dbd,_0x229140){return _0x330dbd===_0x229140;},'eSrdF':_0x388062(0x176),'yvLhC':_0x388062(0x15a),'gBkte':function(_0x3670b1,_0xba4aea){return _0x3670b1===_0xba4aea;}};logger['debug'](_0x388062(0x17d)+_0x21c1e5+_0x388062(0x1b2)+_0x30c9e6[_0x388062(0x1ba)]);try{if(_0x30c9e6['fn']&&_0x30c9e6['fn'][_0x388062(0x1a3)]()[_0x388062(0x1b9)](/browserstack internal helper hook/))return;let _0x51c9a6=_0x30c9e6['hookAnalyticsId'];if(!_0x51c9a6)_0x51c9a6=_0xade763[_0x388062(0x128)](uuidv4),_0x30c9e6['hookAnalyticsId']=_0x51c9a6;else _0x30c9e6['markedStatus']&&(_0x51c9a6=_0xade763[_0x388062(0x17e)](uuidv4),_0x30c9e6['hookAnalyticsId']=_0x51c9a6,delete _0x30c9e6['markedStatus']);_0xade763['mippK'](_0x21c1e5,_0xade763[_0x388062(0x168)])&&(_0x30c9e6[_0x388062(0x189)]=new Date()[_0x388062(0x1a9)]());const _0x34a530=_0xade763['qOtvy'](getTestIdentifierForHook,_0x30c9e6);!global[_0x388062(0x1c0)]&&(global[_0x388062(0x1c0)]={});if(_0xade763[_0x388062(0x16a)](_0x21c1e5,_0xade763['wAyTW'])){global[_0x388062(0x1c0)][_0x388062(0x13d)]={'hookUUID':_0x51c9a6,'testIdentifier':_0x34a530,'hookType':_0x30c9e6[_0x388062(0x1ba)],'startedAt':new Date()['toISOString']()};const _0x39d882=BrowserstackCLI['getInstance']()['getTestFramework']();_0x39d882&&_0x39d882[_0x388062(0x185)]&&_0x39d882[_0x388062(0x185)](_0x34a530,_0x51c9a6,_0x30c9e6['type']);}const _0x19507b=await jestUtils[_0x388062(0x180)](_0x30c9e6,_0x51c9a6,_0x21c1e5,_0x34a530);if(!_0x19507b)return;const _0x549acc=_0xade763['qOtvy'](mapHookTypeToState,_0x30c9e6[_0x388062(0x1ba)]),_0x33d4ab=_0xade763[_0x388062(0x193)](_0x21c1e5,_0xade763['wAyTW'])?HookState[_0x388062(0x1c5)]:HookState[_0x388062(0x17a)],_0x54591d=BrowserstackCLI[_0x388062(0x11e)]()[_0x388062(0x191)]();if(_0x54591d){const _0x10bade={};_0x10bade[_0x388062(0x19f)]=_0x19507b,await _0x54591d[_0x388062(0x143)](_0x549acc,_0x33d4ab,_0x10bade);if(_0xade763[_0x388062(0x16a)](_0x21c1e5,_0xade763['eSrdF'])){const _0x1bba86={};_0x1bba86[_0x388062(0x19d)]=_0x34a530,_0x1bba86[_0x388062(0x1ba)]=_0xade763[_0x388062(0x144)],await _0x54591d[_0x388062(0x143)](TestFrameworkState[_0x388062(0x1a4)],HookState[_0x388062(0x17a)],_0x1bba86),global['__workerDetails']&&global[_0x388062(0x1c0)][_0x388062(0x13d)]&&_0xade763[_0x388062(0x1ac)](global[_0x388062(0x1c0)][_0x388062(0x13d)]['hookUUID'],_0x51c9a6)&&delete global[_0x388062(0x1c0)][_0x388062(0x13d)],_0x54591d[_0x388062(0x145)]&&_0x54591d[_0x388062(0x145)](_0x34a530,_0x51c9a6);}}}catch(_0x4cd873){logger['error'](_0x388062(0x177)+util[_0x388062(0x149)](_0x4cd873));throw _0x4cd873;}}async function handleTestEventCLI(_0x28846d,_0xae2c40,_0x55313e){const _0x5906e=a17_0x439077,_0x47be10={};_0x47be10['yZAcB']=function(_0x3a782a,_0x4480d8){return _0x3a782a===_0x4480d8;},_0x47be10['OICqk']=_0x5906e(0x1b6),_0x47be10[_0x5906e(0x1a6)]=function(_0x19d688,_0x5830de){return _0x19d688>_0x5830de;},_0x47be10[_0x5906e(0x136)]=function(_0x11974a,_0x2d97fb){return _0x11974a===_0x2d97fb;},_0x47be10[_0x5906e(0x16b)]=function(_0x5d38cf,_0x71b010){return _0x5d38cf&&_0x71b010;},_0x47be10['IyViN']=_0x5906e(0x126),_0x47be10['bMNtD']=_0x5906e(0x1c3),_0x47be10[_0x5906e(0x127)]=function(_0xe993f6,_0x56ae4f){return _0xe993f6&&_0x56ae4f;},_0x47be10[_0x5906e(0x1b4)]=function(_0x3f8c67,_0x411aa9){return _0x3f8c67&&_0x411aa9;},_0x47be10[_0x5906e(0x17b)]=_0x5906e(0x1aa);const _0x3c62ac=_0x47be10;logger[_0x5906e(0x1c2)]('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0xae2c40);try{let _0x491848;if(_0x3c62ac[_0x5906e(0x163)](_0xae2c40,_0x3c62ac[_0x5906e(0x164)])){_0x491848=jestUtils['createIdentifierFromJestTest'](_0x28846d),global[_0x5906e(0x1c4)]=_0x491848,_0x28846d[_0x5906e(0x1b7)]=_0x491848,_0x28846d['id']=_0x491848,_0x28846d[_0x5906e(0x189)]=new Date()['toISOString']();const _0x3e37be=_0x55313e[_0x5906e(0x160)];_0x55313e[_0x5906e(0x160)]=_0x28846d,_0x28846d['retryOf']=null;if(_0x3c62ac[_0x5906e(0x1a6)](_0x28846d[_0x5906e(0x137)],0x0)&&_0x3e37be&&_0x3c62ac['oqbeX'](_0x3e37be[_0x5906e(0x11a)],_0x28846d[_0x5906e(0x11a)])){_0x28846d[_0x5906e(0x19a)]=_0x3e37be[_0x5906e(0x1b7)];const _0x35b844=await jestUtils[_0x5906e(0x198)](_0x28846d,_0x491848,_0x3c62ac[_0x5906e(0x164)]),_0x33540c=BrowserstackCLI[_0x5906e(0x11e)]()['getTestFramework']();if(_0x3c62ac[_0x5906e(0x16b)](_0x35b844,_0x33540c)){const _0x601fbf={};_0x601fbf['test']=_0x35b844,await _0x33540c['trackEvent'](TestFrameworkState['TEST'],HookState[_0x5906e(0x1c5)],_0x601fbf);}_0x3e37be[_0x5906e(0x1b3)]=_0x3c62ac[_0x5906e(0x1a5)];const _0x4533c4=await jestUtils[_0x5906e(0x198)](_0x3e37be,_0x3e37be[_0x5906e(0x1b7)],_0x3c62ac[_0x5906e(0x147)]);if(_0x3c62ac[_0x5906e(0x127)](_0x4533c4,_0x33540c)){const _0xcb8c28={};_0xcb8c28[_0x5906e(0x1aa)]=_0x4533c4,await _0x33540c[_0x5906e(0x143)](TestFrameworkState[_0x5906e(0x1a0)],HookState['POST'],_0xcb8c28);}}else{const _0x494c42=await jestUtils[_0x5906e(0x198)](_0x28846d,_0x491848,_0x3c62ac[_0x5906e(0x164)]),_0x27575a=BrowserstackCLI[_0x5906e(0x11e)]()[_0x5906e(0x191)]();if(_0x3c62ac[_0x5906e(0x1b4)](_0x494c42,_0x27575a)){const _0xb36d9f={};_0xb36d9f[_0x5906e(0x1aa)]=_0x494c42,await _0x27575a[_0x5906e(0x143)](TestFrameworkState[_0x5906e(0x1a0)],HookState[_0x5906e(0x1c5)],_0xb36d9f);}}}else{_0x491848=_0x28846d['testAnalyticsId']||_0x28846d['id']||global[_0x5906e(0x1c4)];const _0x322161=await jestUtils[_0x5906e(0x198)](_0x28846d,_0x491848,_0xae2c40),_0x1468be=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x3c62ac[_0x5906e(0x127)](_0x322161,_0x1468be)){const _0x3d59f9={};_0x3d59f9['test']=_0x322161,_0x3d59f9[_0x5906e(0x124)]=_0x28846d,await _0x1468be[_0x5906e(0x143)](TestFrameworkState[_0x5906e(0x1a0)],HookState[_0x5906e(0x17a)],_0x3d59f9);const _0x175bbe={};_0x175bbe[_0x5906e(0x19d)]=_0x491848,_0x175bbe[_0x5906e(0x1ba)]=_0x3c62ac[_0x5906e(0x17b)],await _0x1468be['trackEvent'](TestFrameworkState[_0x5906e(0x1a4)],HookState['POST'],_0x175bbe);}}}catch(_0x718ca1){logger['error'](_0x5906e(0x14b)+util[_0x5906e(0x149)](_0x718ca1));throw _0x718ca1;}}exportsI[a17_0x439077(0x173)]=(..._0x1b62d1)=>{const _0x18071a=a17_0x439077,_0x5eada0={'lbomt':function(_0x29a06b,_0x4edb21,_0x1e8db7){return _0x29a06b(_0x4edb21,_0x1e8db7);},'qBTKq':'jest-circus/build/utils.js','honcm':'jest-circus','fYczw':_0x18071a(0x194),'eXXaS':function(_0x497457,_0x9b4c4d){return _0x497457(_0x9b4c4d);},'HqOUH':function(_0x3caabc){return _0x3caabc();},'cCgPu':function(_0xcd9016,_0x1b125c,_0x4f815d,_0x31d842){return _0xcd9016(_0x1b125c,_0x4f815d,_0x31d842);},'XXCJT':_0x18071a(0x14c),'Tdeyy':function(_0x3888e1,_0x1aae2e){return _0x3888e1(_0x1aae2e);},'dPViX':'hook_success','EgInR':function(_0x2bfb94,_0x381822){return _0x2bfb94(_0x381822);},'MBrju':_0x18071a(0x176),'MVGzM':function(_0x352076,_0x2f92f4){return _0x352076(_0x2f92f4);},'fOGVW':_0x18071a(0x158),'WivOt':'beforeAll','nIXfk':_0x18071a(0x165),'BAcoi':_0x18071a(0x1b1),'eVIOc':function(_0x3aebe5,_0x1e3a01){return _0x3aebe5>_0x1e3a01;},'ObgXe':function(_0xe63909,_0x3288ec){return _0xe63909(_0x3288ec);},'EdXcf':function(_0x47721c){return _0x47721c();},'TRFVG':function(_0x536aac,_0x34cfb4){return _0x536aac(_0x34cfb4);},'EHpkg':'test_start','YDfVs':_0x18071a(0x1b6),'VKyni':_0x18071a(0x11b),'HfCIp':function(_0x26c3e4,_0x16eb78){return _0x26c3e4(_0x16eb78);},'XMpTA':function(_0x3d1bd8){return _0x3d1bd8();},'XOvJQ':function(_0xba38c4){return _0xba38c4();},'MBiGX':_0x18071a(0x1c3),'CbSRe':_0x18071a(0x19e),'WDhhO':function(_0x12de61){return _0x12de61();},'BXoxy':function(_0x12f68d){return _0x12f68d();},'QQwgw':function(_0x45e9c6,_0x2f9ca8,_0x1842d8,_0x1680f7){return _0x45e9c6(_0x2f9ca8,_0x1842d8,_0x1680f7);},'RFOnD':'TestRunSkipped','qnRkB':function(_0x3db233,_0xfdb790){return _0x3db233(_0xfdb790);},'KeVbE':_0x18071a(0x174),'OnjEe':_0x18071a(0x18b),'pUlim':function(_0x370b06){return _0x370b06();},'dfDoF':function(_0x189d2b){return _0x189d2b();},'TuBro':function(_0x3c7a4c){return _0x3c7a4c();},'tEujw':_0x18071a(0x197),'AwRhM':_0x18071a(0x12f),'MDmOz':function(_0x2f2c61,_0x2f0bac){return _0x2f2c61(_0x2f0bac);},'KKqny':function(_0x21d404,..._0x85a7ce){return _0x21d404(..._0x85a7ce);}};try{const _0x1d475b=new ObservabilityReporter();_0x5eada0[_0x18071a(0x130)](shouldProcessEventForTesthub)&&(_0x5eada0['dfDoF'](patchConsoleLogger),_0x1d475b[_0x18071a(0x183)]()),_0x5eada0['TuBro'](shouldProcessEventForTesthub)&&_0x5eada0['lbomt'](requireModule,_0x5eada0['tEujw'],_0x5eada0['honcm'])[_0x18071a(0x156)](_0x5eada0[_0x18071a(0x121)](o11yErrorHandler,async(_0x5e7d03,_0x49f7cb)=>{const _0x788c08=_0x18071a,_0x45469a=_0x5eada0['lbomt'](requireModule,_0x5eada0[_0x788c08(0x192)],_0x5eada0[_0x788c08(0x1bc)])[_0x788c08(0x186)];switch(_0x5e7d03['name']){case _0x5eada0[_0x788c08(0x146)]:if(_0x5eada0[_0x788c08(0x16c)](shouldProcessEventForTesthub,testHubConstants[_0x788c08(0x129)][_0x788c08(0x1bf)])){if(_0x5e7d03[_0x788c08(0x15a)]['fn']&&_0x5e7d03[_0x788c08(0x15a)]['fn']['toString']()[_0x788c08(0x1b9)](/browserstack internal helper hook/))break;if(BrowserstackCLI[_0x788c08(0x11e)]()[_0x788c08(0x134)]()&&await _0x5eada0[_0x788c08(0x1a8)](isCLIReady))try{await _0x5eada0[_0x788c08(0x16d)](handleHookEventCLI,_0x5e7d03['hook'],_0x5eada0['XXCJT'],_0x49f7cb);break;}catch(_0x3815a9){_0x5eada0['Tdeyy'](debug,_0x788c08(0x14e)+util[_0x788c08(0x149)](_0x3815a9));}if(!_0x5e7d03[_0x788c08(0x15a)][_0x788c08(0x125)]){const _0x2f5ca1=TestDetails[_0x788c08(0x150)](process[_0x788c08(0x13c)]+':hookAnalyticsId');_0x5e7d03[_0x788c08(0x15a)][_0x788c08(0x125)]=_0x2f5ca1;}else _0x5e7d03[_0x788c08(0x15a)][_0x788c08(0x171)]&&(_0x5e7d03[_0x788c08(0x15a)][_0x788c08(0x125)]=TestDetails[_0x788c08(0x150)](process[_0x788c08(0x13c)]+':hookAnalyticsId'),delete _0x5e7d03['hook'][_0x788c08(0x171)]);_0x5e7d03[_0x788c08(0x15a)][_0x788c08(0x189)]=new Date()[_0x788c08(0x1a9)](),await _0x1d475b['sendTestRunEvent'](_0x5e7d03[_0x788c08(0x15a)],undefined,![],_0x5eada0['XXCJT']);}break;case _0x5eada0[_0x788c08(0x179)]:if(_0x5eada0[_0x788c08(0x16e)](shouldProcessEventForTesthub,testHubConstants[_0x788c08(0x129)]['HookFinished'])){if(BrowserstackCLI[_0x788c08(0x11e)]()[_0x788c08(0x134)]()&&await _0x5eada0[_0x788c08(0x1a8)](isCLIReady))try{await _0x5eada0[_0x788c08(0x16d)](handleHookEventCLI,_0x5e7d03['hook'],_0x5eada0[_0x788c08(0x17f)],_0x49f7cb);break;}catch(_0x11adb9){_0x5eada0[_0x788c08(0x187)](debug,_0x788c08(0x14e)+util[_0x788c08(0x149)](_0x11adb9));}await _0x1d475b['sendTestRunEvent'](_0x5e7d03[_0x788c08(0x15a)],undefined,![],_0x5eada0[_0x788c08(0x17f)]),TestDetails[_0x788c08(0x1ae)](process[_0x788c08(0x13c)]+_0x788c08(0x11f));}break;case _0x5eada0['fOGVW']:[_0x5eada0['WivOt'],_0x5eada0[_0x788c08(0x18e)],_0x5eada0[_0x788c08(0x172)]]['includes'](_0x5e7d03['hook']['type'])&&(_0x1d475b[_0x788c08(0x158)]=_0x5e7d03[_0x788c08(0x15a)]['type']),_0x49f7cb[_0x788c08(0x1b0)]&&_0x5eada0[_0x788c08(0x12e)](_0x49f7cb[_0x788c08(0x1b0)][_0x788c08(0x1ad)],0x0)&&(_0x5e7d03[_0x788c08(0x15a)]['errorsDetailed']=[_0x49f7cb[_0x788c08(0x1b0)][0x0][0x0]]);if(_0x5eada0[_0x788c08(0x169)](shouldProcessEventForTesthub,testHubConstants[_0x788c08(0x129)][_0x788c08(0x14d)])){if(BrowserstackCLI['getInstance']()[_0x788c08(0x134)]()&&await _0x5eada0[_0x788c08(0x14f)](isCLIReady))try{await _0x5eada0[_0x788c08(0x16d)](handleHookEventCLI,_0x5e7d03[_0x788c08(0x15a)],_0x5eada0[_0x788c08(0x17f)],_0x49f7cb);break;}catch(_0x6d4a18){_0x5eada0[_0x788c08(0x188)](debug,_0x788c08(0x14e)+util[_0x788c08(0x149)](_0x6d4a18));}await _0x1d475b[_0x788c08(0x11c)](_0x5e7d03['hook'],undefined,![],_0x5eada0['MBrju']),TestDetails[_0x788c08(0x1ae)](process['pid']+':hookAnalyticsId');}break;case _0x5eada0[_0x788c08(0x153)]:if(_0x5eada0['EdXcf'](shouldProcessEventForTesthub)){if(BrowserstackCLI['getInstance']()[_0x788c08(0x134)]()&&await _0x5eada0[_0x788c08(0x1a8)](isCLIReady))try{await _0x5eada0[_0x788c08(0x16d)](handleTestEventCLI,_0x5e7d03[_0x788c08(0x1aa)],_0x5eada0['YDfVs'],_0x1d475b);break;}catch(_0x3ba4af){_0x5eada0[_0x788c08(0x169)](debug,_0x788c08(0x14e)+util[_0x788c08(0x149)](_0x3ba4af));}await _0x1d475b[_0x788c08(0x1a1)](_0x5e7d03[_0x788c08(0x1aa)]);}break;case _0x5eada0['VKyni']:_0x5e7d03[_0x788c08(0x1aa)]={..._0x5eada0[_0x788c08(0x15f)](_0x45469a,_0x5e7d03[_0x788c08(0x1aa)]),..._0x5e7d03['test']};if(_0x5eada0[_0x788c08(0x182)](shouldProcessEventForTesthub)){if(!_0x5e7d03[_0x788c08(0x1aa)]['markedStatus']){_0x5e7d03[_0x788c08(0x1aa)][_0x788c08(0x171)]=!![];if(BrowserstackCLI[_0x788c08(0x11e)]()[_0x788c08(0x134)]()&&await _0x5eada0[_0x788c08(0x1be)](isCLIReady))try{await _0x5eada0[_0x788c08(0x16d)](handleTestEventCLI,_0x5e7d03[_0x788c08(0x1aa)],_0x5eada0[_0x788c08(0x13a)],_0x1d475b);break;}catch(_0x47e5f6){_0x5eada0[_0x788c08(0x133)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x788c08(0x149)](_0x47e5f6));}await _0x1d475b['sendTestRunEvent'](_0x5e7d03[_0x788c08(0x1aa)]);}}break;case _0x5eada0[_0x788c08(0x175)]:_0x5e7d03[_0x788c08(0x1aa)]={..._0x5eada0['HfCIp'](_0x45469a,_0x5e7d03[_0x788c08(0x1aa)]),..._0x5e7d03[_0x788c08(0x1aa)]};if(_0x5eada0[_0x788c08(0x1a2)](shouldProcessEventForTesthub)){if(!_0x5e7d03[_0x788c08(0x1aa)][_0x788c08(0x171)]){_0x5e7d03[_0x788c08(0x1aa)][_0x788c08(0x171)]=!![];if(BrowserstackCLI[_0x788c08(0x11e)]()[_0x788c08(0x134)]()&&await _0x5eada0['BXoxy'](isCLIReady))try{await _0x5eada0[_0x788c08(0x195)](handleTestEventCLI,_0x5e7d03[_0x788c08(0x1aa)],_0x5eada0[_0x788c08(0x12a)],_0x1d475b);break;}catch(_0x236f31){_0x5eada0['qnRkB'](debug,_0x788c08(0x14e)+util['format'](_0x236f31));}await _0x1d475b[_0x788c08(0x11c)](_0x5e7d03[_0x788c08(0x1aa)],undefined,![],_0x5eada0[_0x788c08(0x12a)]);}}break;case _0x5eada0['KeVbE']:_0x1d475b[_0x788c08(0x158)]=null;break;case _0x5eada0[_0x788c08(0x12c)]:await RequestQueueHandler[_0x788c08(0x11e)]()['shutdown'](),process['removeAllListeners']();break;default:}},_0x5eada0['AwRhM']));}catch(_0x4c3898){_0x5eada0[_0x18071a(0x15d)](debug,_0x18071a(0x151)+_0x4c3898);}return _0x5eada0['KKqny'](initInitialize,..._0x1b62d1);};try{Object[a17_0x439077(0x141)](exportsI)[a17_0x439077(0x1bb)](_0x42b0a5=>{const _0x3dbcf3=a17_0x439077,_0x40a87b={'IPCVK':function(_0x9a2975,_0x2e3c02){return _0x9a2975(_0x2e3c02);}};try{exports&&(exports[_0x42b0a5]=exportsI[_0x42b0a5]);}catch(_0x41142e){_0x40a87b[_0x3dbcf3(0x1a7)](debug,'Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20'+_0x41142e);}});}catch(a17_0x3e1023){debug(a17_0x439077(0x11d)+a17_0x3e1023);}
@@ -1 +1 @@
1
- const a18_0x4534d6=a18_0x4b19;function a18_0x43a3(){const _0x5e7a2d=['26232nxUFaV','9sEYkjw','includes','27912iVJhcl','env','4392160rMNJWD','path','869bJHfOB','map','2sTplMv','2210275kZDAtZ','default','483467VFYmhn','300CrCUUe','7851ANRuEw','@jest/test-sequencer','868uevUNh','split','sort','exports','filter','4827168YgpOoS'];a18_0x43a3=function(){return _0x5e7a2d;};return a18_0x43a3();}(function(_0x12a4cd,_0x3a5050){const _0x29a232=a18_0x4b19,_0x5dd954=_0x12a4cd();while(!![]){try{const _0x46d95f=parseInt(_0x29a232(0x7e))/0x1*(-parseInt(_0x29a232(0x7b))/0x2)+-parseInt(_0x29a232(0x80))/0x3*(parseInt(_0x29a232(0x7f))/0x4)+parseInt(_0x29a232(0x7c))/0x5+parseInt(_0x29a232(0x75))/0x6*(parseInt(_0x29a232(0x82))/0x7)+parseInt(_0x29a232(0x87))/0x8+-parseInt(_0x29a232(0x73))/0x9*(parseInt(_0x29a232(0x77))/0xa)+-parseInt(_0x29a232(0x79))/0xb*(parseInt(_0x29a232(0x72))/0xc);if(_0x46d95f===_0x3a5050)break;else _0x5dd954['push'](_0x5dd954['shift']());}catch(_0x5a1249){_0x5dd954['push'](_0x5dd954['shift']());}}}(a18_0x43a3,0x50b97));function a18_0x4b19(_0x2e7e89,_0x2c09c5){const _0x43a3cc=a18_0x43a3();return a18_0x4b19=function(_0x4b1990,_0x4afc41){_0x4b1990=_0x4b1990-0x72;let _0x2f37ed=_0x43a3cc[_0x4b1990];return _0x2f37ed;},a18_0x4b19(_0x2e7e89,_0x2c09c5);}const Sequencer=require(a18_0x4534d6(0x81))[a18_0x4534d6(0x7d)];class CustomSequencer extends Sequencer{[a18_0x4534d6(0x84)](_0x45c523){const _0x571423=a18_0x4534d6,_0x5972a9=process[_0x571423(0x76)]['JEST_TEST_ORDER'];if(!_0x5972a9)return _0x45c523;const _0x5ae280=_0x5972a9[_0x571423(0x83)](','),_0x181a44=new Map(_0x45c523[_0x571423(0x86)](_0x4da785=>_0x5ae280[_0x571423(0x74)](_0x4da785['path']))[_0x571423(0x7a)](_0x5d0ba8=>[_0x5d0ba8[_0x571423(0x78)],_0x5d0ba8]));return _0x5ae280[_0x571423(0x7a)](_0x5cf946=>_0x181a44['get'](_0x5cf946))[_0x571423(0x86)](Boolean);}}module[a18_0x4534d6(0x85)]=CustomSequencer;
1
+ const a18_0x120424=a18_0x173a;(function(_0x4da0d4,_0x156b45){const _0x54c7b8=a18_0x173a,_0x1f047=_0x4da0d4();while(!![]){try{const _0x533b95=parseInt(_0x54c7b8(0x1d2))/0x1*(-parseInt(_0x54c7b8(0x1cd))/0x2)+-parseInt(_0x54c7b8(0x1d7))/0x3+-parseInt(_0x54c7b8(0x1d8))/0x4*(parseInt(_0x54c7b8(0x1d3))/0x5)+parseInt(_0x54c7b8(0x1da))/0x6+parseInt(_0x54c7b8(0x1cc))/0x7+parseInt(_0x54c7b8(0x1ce))/0x8+-parseInt(_0x54c7b8(0x1d6))/0x9*(-parseInt(_0x54c7b8(0x1d5))/0xa);if(_0x533b95===_0x156b45)break;else _0x1f047['push'](_0x1f047['shift']());}catch(_0x5350ec){_0x1f047['push'](_0x1f047['shift']());}}}(a18_0x49c5,0x385be));const Sequencer=require('@jest/test-sequencer')[a18_0x120424(0x1dd)];function a18_0x173a(_0x420ea5,_0x56d582){const _0x49c55b=a18_0x49c5();return a18_0x173a=function(_0x173ae6,_0x178040){_0x173ae6=_0x173ae6-0x1cc;let _0x38315e=_0x49c55b[_0x173ae6];return _0x38315e;},a18_0x173a(_0x420ea5,_0x56d582);}class CustomSequencer extends Sequencer{[a18_0x120424(0x1dc)](_0x3ed4b9){const _0x827d75=a18_0x120424,_0x1247df=process[_0x827d75(0x1db)]['JEST_TEST_ORDER'];if(!_0x1247df)return _0x3ed4b9;const _0x56c6bd=_0x1247df[_0x827d75(0x1d9)](','),_0x1a35c6=new Map(_0x3ed4b9[_0x827d75(0x1d1)](_0x4a349a=>_0x56c6bd[_0x827d75(0x1df)](_0x4a349a[_0x827d75(0x1cf)]))['map'](_0x453c68=>[_0x453c68['path'],_0x453c68]));return _0x56c6bd[_0x827d75(0x1d4)](_0xecf7f7=>_0x1a35c6[_0x827d75(0x1d0)](_0xecf7f7))['filter'](Boolean);}}function a18_0x49c5(){const _0x2603ef=['env','sort','default','exports','includes','2010470gNxOun','214oUCVVL','2329216rAkCim','path','get','filter','1356BiHZTC','1645fEvbsb','map','3875050UUaSTC','9uMCvvf','668721FtEtGk','5596nqHagY','split','559494MLoQPE'];a18_0x49c5=function(){return _0x2603ef;};return a18_0x49c5();}module[a18_0x120424(0x1de)]=CustomSequencer;
@@ -1 +1 @@
1
- 'use strict';const a19_0x2a90c1=a19_0x4fa6;function a19_0x4fa6(_0x2deaca,_0x5ba0af){const _0x1b0ca9=a19_0x1b0c();return a19_0x4fa6=function(_0x4fa67d,_0xf9650a){_0x4fa67d=_0x4fa67d-0xac;let _0x5b20d5=_0x1b0ca9[_0x4fa67d];return _0x5b20d5;},a19_0x4fa6(_0x2deaca,_0x5ba0af);}(function(_0x219b31,_0x5bfeeb){const _0x146aac=a19_0x4fa6,_0x2f1f25=_0x219b31();while(!![]){try{const _0x4a1c31=parseInt(_0x146aac(0xba))/0x1*(parseInt(_0x146aac(0xae))/0x2)+-parseInt(_0x146aac(0xc7))/0x3*(-parseInt(_0x146aac(0xb9))/0x4)+parseInt(_0x146aac(0xb8))/0x5*(parseInt(_0x146aac(0xc1))/0x6)+-parseInt(_0x146aac(0xc8))/0x7*(parseInt(_0x146aac(0xbc))/0x8)+parseInt(_0x146aac(0xac))/0x9*(-parseInt(_0x146aac(0xb4))/0xa)+parseInt(_0x146aac(0xc3))/0xb+-parseInt(_0x146aac(0xcb))/0xc*(-parseInt(_0x146aac(0xc0))/0xd);if(_0x4a1c31===_0x5bfeeb)break;else _0x2f1f25['push'](_0x2f1f25['shift']());}catch(_0x3bcfca){_0x2f1f25['push'](_0x2f1f25['shift']());}}}(a19_0x1b0c,0xeff5f));const {requireModule,isBrowserstackInfra}=require('../../../helpers/helper'),a19_0xf7dd56={};function a19_0x1b0c(){const _0x5d0b9f=['2wFBfte','runTests','testEnvironmentOptions','default','value','context','350osIyjr','serial__','parallels__','LNfIq','317465LHnBvl','328tVNHWL','1701043YcGIia','serial','145384IZEZDe','_globalConfig','forEach','jest-runner','1677039xlmpzN','6psDkWL','length','315755vFuacn','defineProperty','bfSIr','__esModule','13899EjNJSR','553wkawgh','oDocr','push','156DWrDks','slice','freeze','config','Kxtxb','false','368136ZToJLG','exports'];a19_0x1b0c=function(){return _0x5d0b9f;};return a19_0x1b0c();}a19_0xf7dd56[a19_0x2a90c1(0xb2)]=!![],Object[a19_0x2a90c1(0xc4)](exports,a19_0x2a90c1(0xc6),a19_0xf7dd56),exports[a19_0x2a90c1(0xb1)]=void 0x0;function _interopRequireDefault(_0x547cd5){const _0xf4f365=a19_0x2a90c1;return _0x547cd5&&_0x547cd5[_0xf4f365(0xc6)]?_0x547cd5:{'default':_0x547cd5};}const JestRunner=_interopRequireDefault(requireModule(a19_0x2a90c1(0xbf)))[a19_0x2a90c1(0xb1)];class TestRunner extends JestRunner{constructor(..._0x1cfc79){super(..._0x1cfc79);}[a19_0x2a90c1(0xaf)](..._0x3477cf){const _0x10e2aa=a19_0x2a90c1,_0x525b48={'oDocr':function(_0x56d5ef){return _0x56d5ef();},'bfSIr':function(_0x32b59e,_0x20ca2f){return _0x32b59e-_0x20ca2f;},'Kxtxb':function(_0x57cf06,_0x37a989){return _0x57cf06*_0x37a989;},'YtKmX':function(_0x2b7d8d,_0x6cb39e){return _0x2b7d8d===_0x6cb39e;},'xBcfK':_0x10e2aa(0xd0),'LNfIq':function(_0x551003,_0xe09912){return _0x551003<_0xe09912;}};if(!_0x525b48[_0x10e2aa(0xc9)](isBrowserstackInfra))return super['runTests'](..._0x3477cf);const _0x4281bd=_0x3477cf[0x0],_0x2adcc9=_0x3477cf[_0x525b48[_0x10e2aa(0xc5)](_0x3477cf[_0x10e2aa(0xc2)],0x1)],_0x209576=_0x4281bd[0x0][_0x10e2aa(0xb3)][_0x10e2aa(0xce)]['testEnvironmentOptions']['capabilities'],_0x8c2243=_0x4281bd[0x0][_0x10e2aa(0xb3)][_0x10e2aa(0xce)][_0x10e2aa(0xb0)][_0x10e2aa(0xb6)];_0x8c2243&&(this[_0x10e2aa(0xbd)]=Object[_0x10e2aa(0xcd)]({...this[_0x10e2aa(0xbd)],'maxWorkers':_0x525b48[_0x10e2aa(0xcf)](_0x8c2243,_0x209576['length'])}));_0x525b48['YtKmX'](_0x4281bd[0x0][_0x10e2aa(0xb3)]['config'][_0x10e2aa(0xb0)][_0x10e2aa(0xb5)],_0x525b48['xBcfK'])&&(_0x2adcc9&&(_0x2adcc9[_0x10e2aa(0xbb)]=![]));const _0x51d7ae=[];for(let _0x94afb9=0x0;_0x525b48[_0x10e2aa(0xb7)](_0x94afb9,_0x4281bd['length']);_0x94afb9++){const _0x17816f=[];_0x209576[_0x10e2aa(0xbe)]((_0x56e45b,_0xfe03c5)=>{const _0x229cd3=_0x10e2aa,_0x357eb7={..._0x4281bd[_0x94afb9]},_0x5f4895=_0x357eb7;_0x5f4895[_0x229cd3(0xb3)]=Object[_0x229cd3(0xcd)]({..._0x5f4895[_0x229cd3(0xb3)],'config':{..._0x5f4895[_0x229cd3(0xb3)][_0x229cd3(0xce)],'capability':_0x56e45b,'browserstackPlatformIndex':_0xfe03c5}}),_0x17816f[_0x229cd3(0xca)](_0x5f4895);}),_0x51d7ae[_0x10e2aa(0xca)](..._0x17816f);}return super[_0x10e2aa(0xaf)](_0x51d7ae,..._0x3477cf[_0x10e2aa(0xcc)](0x1));}}module[a19_0x2a90c1(0xad)]=TestRunner;
1
+ 'use strict';const a19_0x251386=a19_0x30bb;function a19_0x5a09(){const _0x47c462=['false','_globalConfig','serial','3187775ZFpqjl','forEach','defineProperty','push','runTests','994252luFKpN','capabilities','OOQJK','config','length','1SUppDO','__esModule','context','24PlWOTO','471832FQYEFI','jest-runner','986949TeFtaL','parallels__','slice','freeze','default','value','testEnvironmentOptions','../../../helpers/helper','2242936BaCbIG','rfjEE','exports','rcwpS','379786TxvUkf','3045861ZJrQsp'];a19_0x5a09=function(){return _0x47c462;};return a19_0x5a09();}(function(_0x33601a,_0x28e27e){const _0x4b8ab7=a19_0x30bb,_0x4338b6=_0x33601a();while(!![]){try{const _0x56e506=-parseInt(_0x4b8ab7(0xbf))/0x1*(parseInt(_0x4b8ab7(0xb0))/0x2)+parseInt(_0x4b8ab7(0xc5))/0x3+parseInt(_0x4b8ab7(0xcd))/0x4+-parseInt(_0x4b8ab7(0xb5))/0x5+-parseInt(_0x4b8ab7(0xc2))/0x6*(-parseInt(_0x4b8ab7(0xba))/0x7)+parseInt(_0x4b8ab7(0xc3))/0x8+-parseInt(_0x4b8ab7(0xb1))/0x9;if(_0x56e506===_0x28e27e)break;else _0x4338b6['push'](_0x4338b6['shift']());}catch(_0x11899f){_0x4338b6['push'](_0x4338b6['shift']());}}}(a19_0x5a09,0x55af3));const {requireModule,isBrowserstackInfra}=require(a19_0x251386(0xcc)),a19_0x180804={};a19_0x180804[a19_0x251386(0xca)]=!![],Object[a19_0x251386(0xb7)](exports,a19_0x251386(0xc0),a19_0x180804),exports[a19_0x251386(0xc9)]=void 0x0;function _interopRequireDefault(_0x441d9a){const _0x921f47=a19_0x251386;return _0x441d9a&&_0x441d9a[_0x921f47(0xc0)]?_0x441d9a:{'default':_0x441d9a};}function a19_0x30bb(_0x9ebddd,_0x4666d5){const _0x5a09b2=a19_0x5a09();return a19_0x30bb=function(_0x30bb14,_0x323826){_0x30bb14=_0x30bb14-0xaf;let _0x3ccf9e=_0x5a09b2[_0x30bb14];return _0x3ccf9e;},a19_0x30bb(_0x9ebddd,_0x4666d5);}const JestRunner=_interopRequireDefault(requireModule(a19_0x251386(0xc4)))[a19_0x251386(0xc9)];class TestRunner extends JestRunner{constructor(..._0x359848){super(..._0x359848);}['runTests'](..._0x1fa218){const _0x564751=a19_0x251386,_0x3f0e4b={'rcwpS':function(_0x27d9b0){return _0x27d9b0();},'rfjEE':function(_0x5c49da,_0x1516bb){return _0x5c49da-_0x1516bb;},'GkVZI':function(_0x5344aa,_0x5ef72d){return _0x5344aa*_0x5ef72d;},'CPdPK':function(_0x126287,_0xd6365b){return _0x126287===_0xd6365b;},'OOQJK':_0x564751(0xb2),'rTTqW':function(_0x18a76c,_0x4cd1b1){return _0x18a76c<_0x4cd1b1;}};if(!_0x3f0e4b[_0x564751(0xaf)](isBrowserstackInfra))return super[_0x564751(0xb9)](..._0x1fa218);const _0x1ebf14=_0x1fa218[0x0],_0x4ba479=_0x1fa218[_0x3f0e4b[_0x564751(0xce)](_0x1fa218['length'],0x1)],_0x53e321=_0x1ebf14[0x0]['context']['config'][_0x564751(0xcb)][_0x564751(0xbb)],_0x485fc7=_0x1ebf14[0x0]['context'][_0x564751(0xbd)]['testEnvironmentOptions'][_0x564751(0xc6)];_0x485fc7&&(this[_0x564751(0xb3)]=Object[_0x564751(0xc8)]({...this[_0x564751(0xb3)],'maxWorkers':_0x3f0e4b['GkVZI'](_0x485fc7,_0x53e321[_0x564751(0xbe)])}));_0x3f0e4b['CPdPK'](_0x1ebf14[0x0][_0x564751(0xc1)]['config']['testEnvironmentOptions']['serial__'],_0x3f0e4b[_0x564751(0xbc)])&&(_0x4ba479&&(_0x4ba479[_0x564751(0xb4)]=![]));const _0x99cd7f=[];for(let _0x31d146=0x0;_0x3f0e4b['rTTqW'](_0x31d146,_0x1ebf14['length']);_0x31d146++){const _0x5005ad=[];_0x53e321[_0x564751(0xb6)]((_0x53b9b7,_0x1f11f2)=>{const _0x204e98=_0x564751,_0x384175={..._0x1ebf14[_0x31d146]},_0x34c4c7=_0x384175;_0x34c4c7[_0x204e98(0xc1)]=Object[_0x204e98(0xc8)]({..._0x34c4c7['context'],'config':{..._0x34c4c7[_0x204e98(0xc1)]['config'],'capability':_0x53b9b7,'browserstackPlatformIndex':_0x1f11f2}}),_0x5005ad[_0x204e98(0xb8)](_0x34c4c7);}),_0x99cd7f[_0x564751(0xb8)](..._0x5005ad);}return super[_0x564751(0xb9)](_0x99cd7f,..._0x1fa218[_0x564751(0xc7)](0x1));}}module[a19_0x251386(0xcf)]=TestRunner;