browserstack-node-sdk 1.49.9 → 1.49.11

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_0x16a473=a10_0x1642;(function(_0x3eaab5,_0x4bd438){const _0x5ca6cd=a10_0x1642,_0x47d819=_0x3eaab5();while(!![]){try{const _0x1eaacb=parseInt(_0x5ca6cd(0x119))/0x1*(-parseInt(_0x5ca6cd(0x138))/0x2)+-parseInt(_0x5ca6cd(0x129))/0x3+-parseInt(_0x5ca6cd(0x10c))/0x4+-parseInt(_0x5ca6cd(0x118))/0x5+parseInt(_0x5ca6cd(0x101))/0x6*(parseInt(_0x5ca6cd(0x128))/0x7)+parseInt(_0x5ca6cd(0x107))/0x8+-parseInt(_0x5ca6cd(0x10e))/0x9*(-parseInt(_0x5ca6cd(0x102))/0xa);if(_0x1eaacb===_0x4bd438)break;else _0x47d819['push'](_0x47d819['shift']());}catch(_0x49c698){_0x47d819['push'](_0x47d819['shift']());}}}(a10_0x1c5b,0x8779e));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x16a473(0x12d)),setKeepAlive=require(a10_0x16a473(0x11f)),cucumberModule=requireModule(a10_0x16a473(0x10b),a10_0x16a473(0x109)),logger=require(a10_0x16a473(0x11b))[a10_0x16a473(0x123)];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a10_0x16a473(0x116)],configuration=process[a10_0x16a473(0x11a)][a10_0x16a473(0x113)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a10_0x16a473(0x11c)])&&(global[a10_0x16a473(0x126)]=!![]),global['__skipSessionStatus']=isTrue(config[a10_0x16a473(0x106)]),require('../../index')[a10_0x16a473(0x137)](config),global[a10_0x16a473(0x135)]=config[a10_0x16a473(0x110)]||{};}global[a10_0x16a473(0x125)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x16a473(0x112)];cucumberModule[a10_0x16a473(0x112)]=_0x11799b=>{const _0x2b7b5a=a10_0x16a473,_0x29fd9e={'LEeKg':function(_0x4b9949,_0x388a1a){return _0x4b9949(_0x388a1a);}};global[_0x2b7b5a(0x125)]=_0x11799b,_0x29fd9e[_0x2b7b5a(0x105)](__setDefaultTimeout,_0x11799b);};const a10_0x13b9b5={};function a10_0x1642(_0x1e78cc,_0x192e08){const _0x1c5b9e=a10_0x1c5b();return a10_0x1642=function(_0x16427f,_0x292674){_0x16427f=_0x16427f-0x101;let _0x362111=_0x1c5b9e[_0x16427f];return _0x362111;},a10_0x1642(_0x1e78cc,_0x192e08);}a10_0x13b9b5[a10_0x16a473(0x104)]=a10_0x16a473(0x124),Before(a10_0x13b9b5,function(){const _0x5edeab=a10_0x16a473,_0x4b3782={};_0x4b3782[_0x5edeab(0x12e)]=_0x5edeab(0x136);const _0x1c1fe3=_0x4b3782;logger[_0x5edeab(0x103)](_0x1c1fe3['lrxPl']),global['__error_messages__']=[];});const a10_0x5879d9={};a10_0x5879d9[a10_0x16a473(0x104)]='bstack',a10_0x5879d9['timeout']=0x2710,After(a10_0x5879d9,function(_0x206f0b,_0x2388c0){const _0x59235b=a10_0x16a473,_0x585414={'mRcxZ':function(_0x4e84c7,_0x4be602){return _0x4e84c7===_0x4be602;},'cSPyH':_0x59235b(0x11d),'WDBny':function(_0x182350,_0x4b0701,_0x100b6a,_0x5bbbea){return _0x182350(_0x4b0701,_0x100b6a,_0x5bbbea);},'qZilg':_0x59235b(0x133),'bIbIm':function(_0x314d59,_0x216608,_0x4f53aa){return _0x314d59(_0x216608,_0x4f53aa);},'WMfNl':'passed','lyXsU':function(_0x2cab78){return _0x2cab78();},'UOLkb':function(_0x21342b,_0x167d81){return _0x21342b(_0x167d81);},'ezPVO':_0x59235b(0x12f)};logger['debug'](_0x585414['ezPVO']),new Promise(async(_0x4c3f53,_0x46e876)=>{const _0x58ec47=_0x59235b;let _0x2f60f8=![];try{await global[_0x58ec47(0x134)][_0x58ec47(0x114)],_0x2f60f8=!![],!global[_0x58ec47(0x126)]&&await global[_0x58ec47(0x134)][_0x58ec47(0x122)](_0x58ec47(0x117)+_0x206f0b[_0x58ec47(0x131)]['name']+'\x22}}'),_0x585414[_0x58ec47(0x127)](_0x206f0b[_0x58ec47(0x10d)][_0x58ec47(0x10a)][_0x58ec47(0x139)](),_0x585414[_0x58ec47(0x121)])?await _0x585414[_0x58ec47(0x12b)](markSessionStatus,global[_0x58ec47(0x134)],_0x585414[_0x58ec47(0x121)],global[_0x58ec47(0x12c)][_0x58ec47(0x10f)](_0x585414[_0x58ec47(0x12a)])):await _0x585414[_0x58ec47(0x111)](markSessionStatus,global[_0x58ec47(0x134)],_0x585414[_0x58ec47(0x108)]);}catch(_0x55003b){logger['debug']('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x55003b);}if(_0x2f60f8)try{await global['__driver'][_0x58ec47(0x130)](),_0x585414[_0x58ec47(0x120)](_0x4c3f53);}catch(_0x3a6e01){logger[_0x58ec47(0x103)](_0x58ec47(0x11e)+_0x3a6e01),_0x585414[_0x58ec47(0x132)](_0x46e876,_0x3a6e01);}else _0x585414[_0x58ec47(0x120)](_0x46e876);})[_0x59235b(0x115)](()=>_0x2388c0());});function a10_0x1c5b(){const _0x305392=['10gggHQy','debug','name','LEeKg','skipSessionStatus','2255072fWQZyD','WMfNl','cucumber','status','cucumber/lib/index.js','4216756MiUMMX','result','20577933dDbeVa','join','platformCaps','bIbIm','setDefaultTimeout','CONFIG','session_','then','After','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','3335105EMQDFr','65ArGjPt','env','../../helpers/logger','skipSessionName','failed','Error:\x20quiting\x20at\x20After:\x20','../../helpers/setKeepAlive','lyXsU','cSPyH','executeScript','winstonLogger','bstack','__timeout','__skipSessionName','mRcxZ','7aQTRTi','1895853OsDFFi','qZilg','WDBny','__error_messages__','../../helpers/helper','lrxPl','Inside\x20browserstack\x20After','initQuit','pickle','UOLkb','\x20|\x20','__driver','__platformCaps','Inside\x20browserstack\x20Before','browserstackAgentV2','4982xtSsUM','toLowerCase','3009990tocYWu'];a10_0x1c5b=function(){return _0x305392;};return a10_0x1c5b();}
@@ -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
+ const a11_0x420a50=a11_0x4a99;(function(_0xc9f53a,_0x148208){const _0x215ad4=a11_0x4a99,_0x4c4b26=_0xc9f53a();while(!![]){try{const _0x38e53d=-parseInt(_0x215ad4(0x199))/0x1*(parseInt(_0x215ad4(0x190))/0x2)+-parseInt(_0x215ad4(0x192))/0x3*(parseInt(_0x215ad4(0x19e))/0x4)+parseInt(_0x215ad4(0x19f))/0x5+-parseInt(_0x215ad4(0x19d))/0x6+parseInt(_0x215ad4(0x195))/0x7*(-parseInt(_0x215ad4(0x196))/0x8)+-parseInt(_0x215ad4(0x19b))/0x9*(parseInt(_0x215ad4(0x197))/0xa)+parseInt(_0x215ad4(0x1a0))/0xb;if(_0x38e53d===_0x148208)break;else _0x4c4b26['push'](_0x4c4b26['shift']());}catch(_0x41fa0a){_0x4c4b26['push'](_0x4c4b26['shift']());}}}(a11_0x2d0b,0x88f94));function a11_0x2d0b(){const _0x410338=['cucumber/lib/index.js','BSTACK_DELTA','333823ZFjSIm','24lwvSTH','8947010LNoLUE','setDefaultTimeout','3dRFsOL','@cucumber/cucumber/lib/index.js','9AsYDiW','__timeout','2411538LgLMpT','1184028sBOyhy','4329225ZSHWlz','28059724LVUjZw','@cucumber/cucumber','351982unUWox','../../helpers/helper','9QOEZcq'];a11_0x2d0b=function(){return _0x410338;};return a11_0x2d0b();}const {requireModule}=require(a11_0x420a50(0x191)),constants=require('../utils/constants');;function a11_0x4a99(_0x29400c,_0x7eb6af){const _0x2d0b35=a11_0x2d0b();return a11_0x4a99=function(_0x4a998f,_0x301f88){_0x4a998f=_0x4a998f-0x190;let _0x5c24ee=_0x2d0b35[_0x4a998f];return _0x5c24ee;},a11_0x4a99(_0x29400c,_0x7eb6af);}let cucumberModule=null;try{cucumberModule=requireModule(a11_0x420a50(0x19a),a11_0x420a50(0x1a1));}catch(a11_0x4dfa41){cucumberModule=requireModule(a11_0x420a50(0x193),'cucumber');}cucumberModule[a11_0x420a50(0x198)](constants[a11_0x420a50(0x194)]+global[a11_0x420a50(0x19c)]*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_0x4a7cb7=a12_0x5c35;function a12_0x5c35(_0x2c44aa,_0x30df97){const _0x36e465=a12_0x36e4();return a12_0x5c35=function(_0x5c3590,_0x4696c0){_0x5c3590=_0x5c3590-0x114;let _0x585bc6=_0x36e465[_0x5c3590];return _0x585bc6;},a12_0x5c35(_0x2c44aa,_0x30df97);}(function(_0x1590b1,_0x4dac4c){const _0x3730f6=a12_0x5c35,_0x3c80ea=_0x1590b1();while(!![]){try{const _0x161e73=-parseInt(_0x3730f6(0x11a))/0x1+-parseInt(_0x3730f6(0x120))/0x2+-parseInt(_0x3730f6(0x146))/0x3*(-parseInt(_0x3730f6(0x124))/0x4)+parseInt(_0x3730f6(0x114))/0x5*(-parseInt(_0x3730f6(0x144))/0x6)+parseInt(_0x3730f6(0x141))/0x7+parseInt(_0x3730f6(0x148))/0x8+parseInt(_0x3730f6(0x132))/0x9;if(_0x161e73===_0x4dac4c)break;else _0x3c80ea['push'](_0x3c80ea['shift']());}catch(_0x3bf537){_0x3c80ea['push'](_0x3c80ea['shift']());}}}(a12_0x36e4,0x6b75e));function a12_0x36e4(){const _0x1c7c2d=['../../helpers/helper','EpObM','Integration\x20hosts\x20missing.','hostname','integrations-repeater','config','bstackAccesskey','demandOption','../../helpers/logger','undefined','5tvzmLM','exports','epilogue','eLzVi','map','ibpGe','547259GmATjI','HEgPO','string','hosts','missing','options','491354smWRcq','type','info','fkjcE','208696MuUeGP','toString','UcAED','uJunw','trim','help','invalid','protocol','XMuAw','browserstackLocal','WutQR','footer','JLQXd','command','12400740HniHhy','BrowserStack\x20access\x20key\x20missing.','yOCoD','usage','browserStackLocalOptions','describe','https:','url','only','split','winstonLogger','upDVt','every','accessKey','bstackAccessKey','522795CTINGe','demandCommand','port','4515144qPydvm','GxLCl','30oRSEUh','dptZg','90664usUijL','localIdentifier','../../helpers/BrowserStackSetup','XOggb','error','./constants','https','setupBrowserstackLocal','root','443','eeGMD'];a12_0x36e4=function(){return _0x1c7c2d;};return a12_0x36e4();}const {default:BrowserStackSetup}=require(a12_0x4a7cb7(0x14a)),logger=require(a12_0x4a7cb7(0x15b))[a12_0x4a7cb7(0x13c)],{URL}=require(a12_0x4a7cb7(0x139)),helper=require(a12_0x4a7cb7(0x153)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x4a7cb7(0x14d)),validHosts=function(_0x2bab8f){const _0x1b83aa=a12_0x4a7cb7;return _0x2bab8f[_0x1b83aa(0x13b)](',')[_0x1b83aa(0x13e)](_0xef92c=>{try{new URL(_0xef92c['trim']());}catch(_0x2e90e7){return![];}return!![];});},parseOnPremHosts=function(_0x4f451a){const _0x38d8de=a12_0x4a7cb7,_0x470847={};_0x470847['ibpGe']=function(_0x1b4869,_0x1416c0){return _0x1b4869===_0x1416c0;},_0x470847[_0x38d8de(0x145)]=_0x38d8de(0x138),_0x470847[_0x38d8de(0x11b)]=_0x38d8de(0x151),_0x470847['UcAED']=_0x38d8de(0x14e);const _0x406c22=_0x470847;return _0x4f451a['split'](',')[_0x38d8de(0x118)](_0x4e408d=>{const _0x408e14=_0x38d8de,_0xf13316=new URL(_0x4e408d[_0x408e14(0x128)]()),_0x17a6a4=_0xf13316[_0x408e14(0x156)],_0x40f10a=_0xf13316[_0x408e14(0x143)]||(_0x406c22[_0x408e14(0x119)](_0xf13316['protocol'],_0x406c22[_0x408e14(0x145)])?_0x406c22[_0x408e14(0x11b)]:'80'),_0x4363b3=_0xf13316[_0x408e14(0x12b)]['replace'](':',''),_0x1e2ef5=_0x406c22[_0x408e14(0x119)](_0x4363b3,_0x406c22[_0x408e14(0x126)])?0x1:0x0;return _0x17a6a4+','+_0x40f10a+','+_0x1e2ef5;});},connectCommandBuilder=function(_0x1a838b){const _0x1efccf=a12_0x4a7cb7,_0x44e887={};_0x44e887[_0x1efccf(0x130)]=_0x1efccf(0x11c);const _0x136866=_0x44e887,_0x1a42d2={};_0x1a42d2[_0x1efccf(0x137)]=HELP_MESSAGES[_0x1efccf(0x11f)]['bstackAccessKey'],_0x1a42d2[_0x1efccf(0x121)]=_0x136866[_0x1efccf(0x130)];const _0x178c85={};_0x178c85[_0x1efccf(0x137)]=HELP_MESSAGES[_0x1efccf(0x11f)][_0x1efccf(0x11d)],_0x178c85[_0x1efccf(0x121)]=_0x136866['JLQXd'],_0x178c85[_0x1efccf(0x15a)]=!![];const _0xde098d={};return _0xde098d['bstack-accesskey']=_0x1a42d2,_0xde098d[_0x1efccf(0x11d)]=_0x178c85,_0x1a838b[_0x1efccf(0x11f)](_0xde098d);},connectCommandHandler=async function(_0x3324f7){const _0x40ccc4=a12_0x4a7cb7,_0x4c83fa={'yOCoD':'integrations','XMuAw':function(_0x466ceb,_0x49e6a8){return _0x466ceb===_0x49e6a8;},'XOggb':_0x40ccc4(0x15c),'fkjcE':_0x40ccc4(0x133),'dptZg':_0x40ccc4(0x155),'upDVt':function(_0x47acdd,_0x41f17a){return _0x47acdd(_0x41f17a);},'uJunw':'Hosts\x20not\x20valid','eLzVi':_0x40ccc4(0x157),'eeGMD':'Connection\x20established\x20successfully.','Erbdg':'Failed\x20to\x20establish\x20connection.'};try{const _0x2bd994=new BrowserStackSetup(_0x3324f7,_0x4c83fa[_0x40ccc4(0x134)]);_0x3324f7[_0x40ccc4(0x159)]&&(_0x2bd994[_0x40ccc4(0x158)]['accessKey']=_0x3324f7[_0x40ccc4(0x159)]);if(_0x4c83fa[_0x40ccc4(0x12c)](typeof _0x2bd994['config'][_0x40ccc4(0x13f)],_0x4c83fa[_0x40ccc4(0x14b)])){logger[_0x40ccc4(0x14c)](_0x4c83fa[_0x40ccc4(0x123)]);throw new Error(ERROR_MESSAGES[_0x40ccc4(0x140)][_0x40ccc4(0x11e)]);}const _0x198d22=_0x3324f7[_0x40ccc4(0x11d)];if(_0x4c83fa[_0x40ccc4(0x12c)](typeof _0x198d22,_0x4c83fa[_0x40ccc4(0x14b)])){logger[_0x40ccc4(0x14c)](_0x4c83fa[_0x40ccc4(0x147)]);throw new Error(ERROR_MESSAGES[_0x40ccc4(0x11d)][_0x40ccc4(0x11e)]);}if(!_0x4c83fa[_0x40ccc4(0x13d)](validHosts,_0x198d22)){logger[_0x40ccc4(0x14c)](_0x4c83fa[_0x40ccc4(0x127)]);throw new Error(ERROR_MESSAGES[_0x40ccc4(0x11d)][_0x40ccc4(0x12a)]);}const _0x5d760e=_0x4c83fa['upDVt'](parseOnPremHosts,_0x198d22);_0x2bd994[_0x40ccc4(0x158)][_0x40ccc4(0x12d)]=!![],_0x2bd994['config'][_0x40ccc4(0x136)][_0x40ccc4(0x149)]=_0x4c83fa[_0x40ccc4(0x117)],_0x2bd994['config'][_0x40ccc4(0x136)][_0x40ccc4(0x13a)]=_0x5d760e['join'](','),helper['setProxySettings'](_0x2bd994[_0x40ccc4(0x158)]),await _0x2bd994[_0x40ccc4(0x14f)](),logger[_0x40ccc4(0x122)](_0x4c83fa[_0x40ccc4(0x152)]);}catch(_0x1d814e){logger['error'](_0x4c83fa['Erbdg']);throw new Error(_0x1d814e[_0x40ccc4(0x125)]());}};function run(_0x7dc80e){const _0x3d32ca=a12_0x4a7cb7,_0x1a2956={};_0x1a2956[_0x3d32ca(0x154)]='connect',_0x1a2956[_0x3d32ca(0x12e)]='help';const _0x5a5501=_0x1a2956;_0x7dc80e[_0x3d32ca(0x135)](HELP_MESSAGES[_0x3d32ca(0x131)][_0x3d32ca(0x150)])[_0x3d32ca(0x131)](_0x5a5501[_0x3d32ca(0x154)],HELP_MESSAGES[_0x3d32ca(0x131)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x3d32ca(0x142)]()[_0x3d32ca(0x129)](_0x5a5501[_0x3d32ca(0x12e)])[_0x3d32ca(0x116)](HELP_MESSAGES[_0x3d32ca(0x131)][_0x3d32ca(0x12f)]);}module[a12_0x4a7cb7(0x115)]=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_0x5ba382=a13_0x4fca;(function(_0x253468,_0x5a5ce4){var _0x2be17b=a13_0x4fca,_0x2e3ace=_0x253468();while(!![]){try{var _0x39c693=-parseInt(_0x2be17b(0x1f2))/0x1*(-parseInt(_0x2be17b(0x1e4))/0x2)+parseInt(_0x2be17b(0x1f7))/0x3*(-parseInt(_0x2be17b(0x1f0))/0x4)+-parseInt(_0x2be17b(0x1e6))/0x5+parseInt(_0x2be17b(0x1ea))/0x6*(-parseInt(_0x2be17b(0x1e5))/0x7)+parseInt(_0x2be17b(0x1ec))/0x8+-parseInt(_0x2be17b(0x1fc))/0x9*(parseInt(_0x2be17b(0x1f4))/0xa)+parseInt(_0x2be17b(0x1e9))/0xb*(parseInt(_0x2be17b(0x1fb))/0xc);if(_0x39c693===_0x5a5ce4)break;else _0x2e3ace['push'](_0x2e3ace['shift']());}catch(_0x2e6402){_0x2e3ace['push'](_0x2e3ace['shift']());}}}(a13_0x137d,0xc860d));var a13_0x20d248={};a13_0x20d248['bstackAccessKey']=a13_0x5ba382(0x1fe),a13_0x20d248['hosts']=a13_0x5ba382(0x1f3);var a13_0x50cef0={};a13_0x50cef0['root']=a13_0x5ba382(0x1ee),a13_0x50cef0[a13_0x5ba382(0x1f5)]=a13_0x5ba382(0x1ed),a13_0x50cef0[a13_0x5ba382(0x1fa)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a13_0x401827={};a13_0x401827[a13_0x5ba382(0x1e8)]=a13_0x20d248,a13_0x401827['command']=a13_0x50cef0,exports[a13_0x5ba382(0x1f6)]=a13_0x401827;function a13_0x137d(){var _0x230b8b=['hosts','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','213878caGUSA','250922dkgRma','259020agWido','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.','options','4604347aaoJjn','84kvImDd','missing','2653912zpxoGA','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','109244bSMrsT','bstackAccessKey','2EqFHsd','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.','127790zvoQyO','connect','HELP_MESSAGES','42GJxSTs','invalid','ERROR_MESSAGES','footer','60IZxIID','621XoaAFV'];a13_0x137d=function(){return _0x230b8b;};return a13_0x137d();}var a13_0x271eea={};function a13_0x4fca(_0x3ed17c,_0x2ec89f){var _0x137d49=a13_0x137d();return a13_0x4fca=function(_0x4fca8b,_0x2371d5){_0x4fca8b=_0x4fca8b-0x1e4;var _0x247579=_0x137d49[_0x4fca8b];return _0x247579;},a13_0x4fca(_0x3ed17c,_0x2ec89f);}a13_0x271eea[a13_0x5ba382(0x1eb)]=a13_0x5ba382(0x1ff);var a13_0x32f94c={};a13_0x32f94c[a13_0x5ba382(0x1eb)]=a13_0x5ba382(0x1ef),a13_0x32f94c[a13_0x5ba382(0x1f8)]=a13_0x5ba382(0x1e7);var a13_0x18c9d0={};a13_0x18c9d0[a13_0x5ba382(0x1f1)]=a13_0x271eea,a13_0x18c9d0[a13_0x5ba382(0x1fd)]=a13_0x32f94c,exports[a13_0x5ba382(0x1f9)]=a13_0x18c9d0;
@@ -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_0x3fa1(){const _0x5a3871=['getPackageType','DZxGM','WAZjI','capabilities','force','env','launchBuild','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','@playwright/test','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','TAgGx','Yolqn','jest-config','testObservability','Creating\x20','ZHIsd','3BOFZIP','SDK_SETUP','package.json','KeqmH','iGuqD','jest-config/build/readConfigFileAndSetRootDir.js','EPJdU','getHubUrl','omkYp','1584855aglnMP','finalExecution','timeout__','kdroL','false','AHntt','parallelsPerPlatform','egLPl','jest-circus','\x20:\x20','readFileSync','../utils/clientTroubleshootingService','customImplements','customEnvironment.js','unlinkSync','FmvDn','abortBuildOnFailure','setupFilesAfterEnv','JEST','close','length','wMkXe','info','reporters','test-observability','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','assign','ygCpB','../../helpers/performance/constants','stringify','uhfRb','parse','jest_browserstack.config.cjs','../../helpers/accessibility-automation/helper','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','testContextOptions','isTestOrchestrationEnabled','BROWSERSTACK_CAPABILITIES','aLuho','slice','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','reorderTestFiles','EVENTS','config','child_process','testEnvironment','parseTestOrchestrationOptions','maxFailures','skipSessionName','Ghsuu','setupFiles','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Unable\x20to\x20find\x20jest-circus,\x20','IpZuK','wAWGZ','retries__','isNotUndefined','982712fQbLCy','setup','kwFPx','win32','debug','cwd','serial__','json','1140170GyxuvM','\x0a\x20\x20\x20\x20','cjs','./test-observability/test-details','MODULE','mjs','ApDVc','jest.setup.js','checkAccessibilityPlatformConfig','nwHap','KBYaI','../../helpers/helper','resolve','../../helpers/test-observability/utils','accessibilityOptions','AmUJZ','RdTZI','platforms','rmdirSync','skipSessionStatus','isRunning','winstonLogger','isUndefined','logLevel','inherit','Found:\x20','xdGIF','isBrowserstackInfra','jGzBE','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','ZUNGU','Deleting\x20','default','requireSeleniumWebdriver','XDsPu','requirePWModule','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','turboScaleUrl','test_before.setup.js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','shouldProcessEventForTesthub','../../helpers/BrowserStackSetup','1134455CIuPKl','jest.config.','JEST_TEST_ORDER','Dtvxh','push','data-hooks.js','TnPEA','existsSync','FRAMEWORKS','browserStackPercyOptions','retryTestsOnFailure','BROWSERSTACK_TEST_OBSERVABILITY_YML','Getting\x20your\x20jest\x20configs\x20from\x20','findIndex','testTimeout','../../helpers/playwright-helper','getPackageVersion','HymoB','../../helpers/test-orchestration/testOrchestrationHandler','apply','testRunner','customTestRunner.js','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','runner','../../helpers/logger','exports','209qrCfZj','__isPlaywrightInstalled','\x20test\x20files\x20to\x20run.','customTestRunnerTemplate.js','recursive','USER_CONFIG_DETAILS_PATH','jest','XYakP','../../helpers/performance/performance-tester','accessibility','Reodered\x20Test\x20Files:\x20','stop','jfJrx','xBHTR','../../helpers/test-observability/constants','platform','exitCode','requireModule','jest_browserstack.config.js','FEoOo','errorMessage','PACKAGE_TYPE','format','WabJR','join','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','\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','testEnvironmentOptions','error','Deleted\x20fail-fast\x20state\x20folder:\x20','testSequencer','error\x20removing\x20tcg\x20config\x20file','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','../../helpers/utilities','playwright','printBuildLink','--config','BSTACK_JEST_TEST_ENV','QkDeu','rmSync','ELRyn','mrTel','parallels__','shutdown','Mgyvt','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','path','util','workingDir','wxeIo','27zHlJlw','useW3C','filterBrowserstackArgs','../v2/browserstackCLI','maxWorkers','true','semHU','12hvhxkB','getInstance','wZOcl',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','SDK_CLEANUP','end','getTCGConfigFilePaths','104820OSTkUm','log','QThOD','browserStackLogLevel','customCircus.js','platformCaps','findTestFiles','567938xwOiAx','UmZaR','926308CZnuvu'];a14_0x3fa1=function(){return _0x5a3871;};return a14_0x3fa1();}const a14_0x1052de=a14_0x44d9;(function(_0x13f5d8,_0x496c51){const _0x11e813=a14_0x44d9,_0x17ea4c=_0x13f5d8();while(!![]){try{const _0xfb7b8c=-parseInt(_0x11e813(0x174))/0x1+parseInt(_0x11e813(0xe9))/0x2+parseInt(_0x11e813(0x187))/0x3*(-parseInt(_0x11e813(0x176))/0x4)+parseInt(_0x11e813(0x190))/0x5+-parseInt(_0x11e813(0x166))/0x6*(parseInt(_0x11e813(0x113))/0x7)+-parseInt(_0x11e813(0x1c9))/0x8*(-parseInt(_0x11e813(0x15f))/0x9)+-parseInt(_0x11e813(0x16d))/0xa*(-parseInt(_0x11e813(0x12d))/0xb);if(_0xfb7b8c===_0x496c51)break;else _0x17ea4c['push'](_0x17ea4c['shift']());}catch(_0x544dec){_0x17ea4c['push'](_0x17ea4c['shift']());}}}(a14_0x3fa1,0x50d4e));const fs=require('fs'),path=require(a14_0x1052de(0x15b)),util=require(a14_0x1052de(0x15c)),{spawn}=require(a14_0x1052de(0x1bc)),logger=require(a14_0x1052de(0x12b))[a14_0x1052de(0xfe)],{default:BrowserStackSetup}=require(a14_0x1052de(0x112)),helper=require(a14_0x1052de(0xf4)),utilities=require(a14_0x1052de(0x14e)),constants=require('../utils/constants'),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a14_0x1052de(0xf6)),{debug}=require(a14_0x1052de(0xf6)),TestDetails=require(a14_0x1052de(0xec)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x1052de(0x13b)),PerformanceTester=require(a14_0x1052de(0x135)),PerformanceEvents=require(a14_0x1052de(0x1ac))[a14_0x1052de(0x1ba)],TestOrchestrationHandler=require(a14_0x1052de(0x125)),BrowserstackCLI=require(a14_0x1052de(0x162)),{checkPwandBootstrapCli}=require(a14_0x1052de(0x122)),ClientTroubleShootingService=require(a14_0x1052de(0x19b)),{checkAccessibilityPlatformConfig}=require(a14_0x1052de(0x1b1)),getUserJestConfigs=async(_0x3e2916,_0x582bb1)=>{const _0x4276b9=a14_0x1052de,_0x231d34={'shZDD':_0x4276b9(0x18c),'sQrYB':_0x4276b9(0x183),'jGzBE':function(_0x567b57,_0x4dd8a1){return _0x567b57||_0x4dd8a1;},'omkYp':function(_0x5a6699,_0x49088e){return _0x5a6699(_0x49088e);},'Dtvxh':_0x4276b9(0x189),'qkGKF':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','WAZjI':_0x4276b9(0xee),'jfJrx':_0x4276b9(0xeb),'QkDeu':_0x4276b9(0xe8)},_0x1df11c=helper[_0x4276b9(0x13e)](_0x231d34['shZDD'],_0x231d34['sQrYB']),_0x27a148=_0x582bb1[_0x4276b9(0x120)](_0x5c2ed0=>_0x5c2ed0==='--config');if(!helper[_0x4276b9(0xff)](_0x3e2916[_0x4276b9(0x1bb)])){logger['info'](_0x4276b9(0x11f)+_0x3e2916[_0x4276b9(0x1bb)]),process['env'][_0x4276b9(0x132)]=_0x3e2916[_0x4276b9(0x1bb)];const _0x4970d4=await(0x0,_0x1df11c[_0x4276b9(0x109)])(path[_0x4276b9(0xf5)](_0x3e2916[_0x4276b9(0x1bb)]));return _0x582bb1['splice'](_0x27a148,0x2),_0x231d34[_0x4276b9(0x105)](_0x4970d4,{});}const _0x4d32b5=_0x231d34[_0x4276b9(0x18f)](require,path[_0x4276b9(0x145)](process[_0x4276b9(0xe6)](),_0x231d34[_0x4276b9(0x116)]));if(_0x4d32b5[_0x4276b9(0x133)])return logger[_0x4276b9(0x1a6)](_0x231d34['qkGKF']),_0x4d32b5['jest'];const _0xfec727=['js',_0x231d34[_0x4276b9(0x179)],_0x231d34[_0x4276b9(0x139)],_0x231d34[_0x4276b9(0x153)],'ts'];for(const _0x5a4c5b of _0xfec727){const _0x11e904=path[_0x4276b9(0x145)](process[_0x4276b9(0xe6)](),_0x4276b9(0x114)+_0x5a4c5b);if(fs['existsSync'](_0x11e904)){process[_0x4276b9(0x17c)][_0x4276b9(0x132)]=_0x11e904;const _0x3f9d3b=await(0x0,_0x1df11c['default'])(_0x11e904);return _0x3f9d3b;}}return{};},getSerial=(_0x258b31,_0x1d6c32)=>{const _0x4ddf86=a14_0x1052de,_0xbb7cb6={};_0xbb7cb6[_0x4ddf86(0x1ab)]=_0x4ddf86(0x164),_0xbb7cb6['ZHIsd']=function(_0x29c268,_0x185aa1){return _0x29c268>_0x185aa1;},_0xbb7cb6[_0x4ddf86(0x134)]=function(_0x3b02cf,_0x210224){return _0x3b02cf>_0x210224;},_0xbb7cb6[_0x4ddf86(0x15e)]=_0x4ddf86(0x194);const _0x54a3e7=_0xbb7cb6;let _0x25353e=_0x54a3e7['ygCpB'];return _0x54a3e7[_0x4ddf86(0x186)](_0x258b31[_0x4ddf86(0x1a4)],0x1)&&(!_0x1d6c32['runInBand']&&(helper[_0x4ddf86(0xff)](_0x1d6c32[_0x4ddf86(0x163)])||_0x54a3e7[_0x4ddf86(0x134)](_0x1d6c32[_0x4ddf86(0x163)],0x1)))&&(_0x25353e=_0x54a3e7[_0x4ddf86(0x15e)]),_0x25353e;},getMaxWorkers=(_0x14423a,_0x2e8783,_0x4d5610)=>{const _0x31c5a7=a14_0x1052de,_0x2443a5={'Yolqn':function(_0x2cc82b,_0x4cea68){return _0x2cc82b(_0x4cea68);}};let _0xfe6607=0x1;if(!helper[_0x31c5a7(0xff)](_0x2e8783[_0x31c5a7(0x196)]))_0xfe6607=_0x2443a5[_0x31c5a7(0x182)](parseInt,_0x2e8783[_0x31c5a7(0x196)]);else{if(!helper['isUndefined'](_0x14423a['maxWorkers']))_0xfe6607=_0x14423a[_0x31c5a7(0x163)];else!helper[_0x31c5a7(0xff)](_0x4d5610['maxWorkers'])&&(_0xfe6607=_0x4d5610[_0x31c5a7(0x163)]);}return _0xfe6607;};function a14_0x44d9(_0x2b6b7f,_0x499ccf){const _0x3fa1c1=a14_0x3fa1();return a14_0x44d9=function(_0x44d900,_0x3e3e64){_0x44d900=_0x44d900-0xe6;let _0x2be0d6=_0x3fa1c1[_0x44d900];return _0x2be0d6;},a14_0x44d9(_0x2b6b7f,_0x499ccf);}async function run(_0x102329,_0x196090,_0x1b2ecf){const _0x13531f=a14_0x1052de,_0x499e20={'xBHTR':_0x13531f(0x14c),'KeqmH':_0x13531f(0x133),'KBYaI':function(_0x23b200,_0x5dc7a4){return _0x23b200(_0x5dc7a4);},'IpZuK':_0x13531f(0x17f),'QThOD':function(_0x51255a,_0x21e55a,_0xb93236,_0x21ca70){return _0x51255a(_0x21e55a,_0xb93236,_0x21ca70);},'PTXne':function(_0x56fc66,_0x14396a){return _0x56fc66!=_0x14396a;},'AHntt':_0x13531f(0x164),'DZxGM':function(_0x618ddb,_0x2e0c1d,_0x4ef36e){return _0x618ddb(_0x2e0c1d,_0x4ef36e);},'ZUNGU':_0x13531f(0x180),'PLdMK':function(_0x1fa17c,_0x2f97ac){return _0x1fa17c(_0x2f97ac);},'ELRyn':_0x13531f(0x194),'EPJdU':function(_0x3e2b7a,_0x781ed6,_0x28b1fe){return _0x3e2b7a(_0x781ed6,_0x28b1fe);},'wZOcl':function(_0xcee704,_0x485c85){return _0xcee704*_0x485c85;},'WabJR':function(_0x45e1db,_0x35c6f9){return _0x45e1db===_0x35c6f9;},'CDccW':_0x13531f(0x1b0),'iGuqD':_0x13531f(0x13f),'XDsPu':_0x13531f(0x19c),'PittW':'jest_browserstack_results.json','WATsU':_0x13531f(0x128),'Ghsuu':_0x13531f(0x130),'tidMI':_0x13531f(0x19d),'egLPl':_0x13531f(0xf0),'nwHap':'customSequencer.js','RdTZI':_0x13531f(0x1b8),'ApDVc':_0x13531f(0x198),'TnPEA':_0x13531f(0x1a8),'wMkXe':_0x13531f(0x118),'kdroL':_0x13531f(0x171),'UhNak':_0x13531f(0x10f),'YNSdT':_0x13531f(0x146),'kwFPx':_0x13531f(0x14f),'semHU':_0x13531f(0x15a),'UmZaR':'test.setup.js','AmUJZ':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','xdGIF':_0x13531f(0x109),'TAgGx':function(_0x27dd0d,_0x35cc49,_0x44ba36){return _0x27dd0d(_0x35cc49,_0x44ba36);},'HymoB':_0x13531f(0x1b2),'mrTel':function(_0x94af27,_0x3f5435){return _0x94af27>_0x3f5435;},'Mgyvt':_0x13531f(0x1a9),'FEoOo':'npx','FmvDn':_0x13531f(0x151),'aLuho':_0x13531f(0x1cc),'wAWGZ':_0x13531f(0x101),'uhfRb':_0x13531f(0x1a3)},_0x4be54a=helper[_0x13531f(0x123)](_0x499e20[_0x13531f(0x1c5)]);global[_0x13531f(0x12e)]=!!_0x4be54a;helper[_0x13531f(0x104)]()?(await _0x1b2ecf['initialize'](_0x102329),await helper['handleApp'](_0x1b2ecf[_0x13531f(0x1bb)])):await _0x1b2ecf['setupTCGAuth']();await _0x499e20[_0x13531f(0x16f)](checkPwandBootstrapCli,_0x4be54a,constants[_0x13531f(0x11b)][_0x13531f(0x1a2)],_0x1b2ecf);if(!_0x1b2ecf['config'])return;_0x499e20['PTXne'](_0x1b2ecf[_0x13531f(0x1bb)][_0x13531f(0x184)],null)?process['env'][_0x13531f(0x11e)]=_0x1b2ecf[_0x13531f(0x1bb)]['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x499e20[_0x13531f(0x195)];const _0xed6d20=new TestOrchestrationHandler(_0x1b2ecf[_0x13531f(0x1bb)]),_0x417e25=await _0x499e20[_0x13531f(0x178)](getUserJestConfigs,_0x102329,_0x196090);logger['info'](_0x499e20[_0x13531f(0x107)]);const _0x1641c9=Object[_0x13531f(0x1aa)]({},_0x417e25);_0x1641c9['testEnvironmentOptions']=Object['assign']({},_0x1641c9[_0x13531f(0x148)],{'server':helper[_0x13531f(0x18e)](_0x1b2ecf['config']),'environment':_0x417e25[_0x13531f(0x1bd)]}),_0x1641c9[_0x13531f(0x148)][_0x13531f(0x11c)]=_0x499e20['PLdMK'](getPercyOptions,_0x1b2ecf['config']);const _0x464bc4=helper[_0x13531f(0x160)](_0x1b2ecf[_0x13531f(0x1bb)]);!helper['isUndefined'](_0x1b2ecf[_0x13531f(0x1bb)]['accessibilityOptions'])&&(process[_0x13531f(0x17c)][_0x13531f(0x110)]=JSON['stringify'](_0x1b2ecf[_0x13531f(0x1bb)][_0x13531f(0xf7)]));if(!BrowserstackCLI['getInstance']()[_0x13531f(0xfd)]()){const _0xbd4f6c=await TestHubHandler[_0x13531f(0x17d)](FRAMEWORKS[_0x13531f(0x1a2)],_0x1b2ecf);}const _0x430295=helper['prepareCapabilities'](_0x1b2ecf[_0x13531f(0x1bb)],_0x464bc4,constants['FRAMEWORKS']['JEST']);process[_0x13531f(0x17c)][_0x13531f(0x1b5)]=JSON[_0x13531f(0x1ad)](_0x430295);let _0x358077=_0x1b2ecf[_0x13531f(0x1bb)][_0x13531f(0x136)];_0x358077=_0x358077||accessibilityHelper[_0x13531f(0xf1)](_0x1b2ecf['config']),process['env'][_0x13531f(0x1c3)]=_0x358077,logger[_0x13531f(0x1cd)](_0x13531f(0x17e)+_0x358077+',\x20CLI\x20running:\x20'+BrowserstackCLI[_0x13531f(0x167)]()[_0x13531f(0xfd)]());if(_0x4be54a)try{const _0x14023a=_0x499e20[_0x13531f(0xf3)](checkAccessibilityPlatformConfig,_0x1b2ecf[_0x13531f(0x1bb)]);process[_0x13531f(0x17c)][_0x13531f(0x10d)]=_0x14023a?_0x499e20[_0x13531f(0x195)]:_0x499e20[_0x13531f(0x155)],logger[_0x13531f(0x1cd)](_0x13531f(0x106)+_0x14023a+_0x13531f(0x169)+process[_0x13531f(0x17c)][_0x13531f(0x10d)]);}catch(_0x248712){logger[_0x13531f(0x1cd)](_0x13531f(0x129)+util['format'](_0x248712));}_0x1641c9[_0x13531f(0x148)][_0x13531f(0x17a)]=_0x430295,_0x1641c9['testEnvironmentOptions'][_0x13531f(0xe7)]=_0x499e20[_0x13531f(0x18d)](getSerial,_0x430295,_0x102329),_0x1641c9[_0x13531f(0x148)][_0x13531f(0x157)]=_0x499e20[_0x13531f(0x16f)](getMaxWorkers,_0x102329,_0x1b2ecf[_0x13531f(0x1bb)],_0x417e25),_0x1641c9[_0x13531f(0x148)]['proxySettings']=_0x1b2ecf['config']['proxySettings'],_0x1641c9[_0x13531f(0x148)][_0x13531f(0x192)]=_0x499e20[_0x13531f(0x168)](_0x102329[_0x13531f(0x121)],0x1)||0x1388,_0x1641c9[_0x13531f(0x148)][_0x13531f(0x1c0)]=_0x1b2ecf[_0x13531f(0x1bb)][_0x13531f(0x1b3)][_0x13531f(0x1c0)],_0x1641c9[_0x13531f(0x148)][_0x13531f(0xfc)]=_0x1b2ecf['config'][_0x13531f(0x1b3)][_0x13531f(0xfc)],_0x1641c9[_0x13531f(0x148)][_0x13531f(0x170)]=_0x1b2ecf[_0x13531f(0x1bb)][_0x13531f(0x100)],_0x1641c9[_0x13531f(0x148)][_0x13531f(0x10e)]=_0x1b2ecf[_0x13531f(0x1bb)][_0x13531f(0x10e)],_0x1641c9[_0x13531f(0x148)][_0x13531f(0x172)]=_0x1b2ecf['config'][_0x13531f(0xfa)];const _0x326692=helper[_0x13531f(0x1be)](_0x1b2ecf[_0x13531f(0x1bb)]);if(!helper['isEmpty'](_0x326692)){helper[_0x13531f(0x1c8)](_0x326692[_0x13531f(0x11d)])&&(_0x1641c9[_0x13531f(0x148)][_0x13531f(0x1c7)]=_0x326692[_0x13531f(0x11d)]['maxRetries']);if(helper[_0x13531f(0x1c8)](_0x326692['abortBuildOnFailure'])&&helper[_0x13531f(0x1c8)](_0x326692['abortBuildOnFailure']['workingDir'])){const _0x1126f8={};_0x1126f8['failureThresholdCount']=_0x326692[_0x13531f(0x1a0)][_0x13531f(0x1bf)],_0x1126f8['workingDir']=_0x326692[_0x13531f(0x1a0)]['workingDir'],_0x1641c9[_0x13531f(0x148)]['failFast']=_0x1126f8;}}let _0x2d42da='';_0x499e20[_0x13531f(0x144)](helper[_0x13531f(0x177)](),constants[_0x13531f(0x142)][_0x13531f(0xed)])?_0x2d42da=_0x499e20['CDccW']:_0x2d42da=_0x499e20[_0x13531f(0x18b)];const _0x30f2d1=_0x2d42da,_0x38c30a=path[_0x13531f(0x145)](__dirname,_0x499e20['XDsPu'],_0x499e20['PittW']),_0x21d134=path[_0x13531f(0x145)](__dirname,_0x499e20[_0x13531f(0x10b)],_0x499e20['WATsU']),_0x201b32=path[_0x13531f(0x145)](__dirname,_0x499e20[_0x13531f(0x10b)],_0x499e20[_0x13531f(0x1c1)]);_0x1641c9[_0x13531f(0x1bd)]&&(process[_0x13531f(0x17c)][_0x13531f(0x152)]=_0x1641c9[_0x13531f(0x1bd)]);_0x1641c9[_0x13531f(0x1bd)]=path['join'](__dirname,_0x499e20[_0x13531f(0x10b)],_0x499e20['tidMI']),_0x1641c9[_0x13531f(0x12a)]=_0x21d134,_0x1641c9[_0x13531f(0x1a1)]=_0x1641c9[_0x13531f(0x1a1)]||[],_0x1641c9[_0x13531f(0x1a1)][_0x13531f(0x117)](path[_0x13531f(0x145)](__dirname,_0x499e20[_0x13531f(0x197)]));_0xed6d20[_0x13531f(0x1b4)]()&&(_0x1641c9[_0x13531f(0x14b)]=path['join'](__dirname,_0x499e20[_0x13531f(0x10b)],_0x499e20[_0x13531f(0xf2)]));if(testhubUtils[_0x13531f(0x111)]()){let _0x476897=null;try{_0x476897=helper[_0x13531f(0x13e)](_0x499e20[_0x13531f(0xf9)],_0x499e20[_0x13531f(0xef)]);}catch(_0x2bbc5a){_0x499e20[_0x13531f(0xf3)](debug,_0x13531f(0x1c4)+_0x2bbc5a);}_0x476897&&(_0x1641c9[_0x13531f(0x1a1)][_0x13531f(0x117)](path[_0x13531f(0x145)](__dirname,_0x499e20[_0x13531f(0x119)],_0x499e20[_0x13531f(0x1a5)])),_0x1641c9[_0x13531f(0x127)]=path[_0x13531f(0x145)](__dirname,_0x499e20[_0x13531f(0x10b)],_0x499e20[_0x13531f(0x193)]));}_0x1641c9[_0x13531f(0x1c2)]=_0x1641c9[_0x13531f(0x1c2)]||[];try{helper[_0x13531f(0x10a)](),_0x1641c9[_0x13531f(0x1c2)][_0x13531f(0x117)](path['join'](__dirname,_0x499e20['UhNak']));}catch{logger[_0x13531f(0x1cd)](_0x499e20['YNSdT']);}try{helper[_0x13531f(0x10c)][_0x13531f(0x126)](null,[_0x499e20[_0x13531f(0x1c5)],_0x499e20[_0x13531f(0x1cb)]]),logger[_0x13531f(0x1cd)](_0x499e20[_0x13531f(0x165)]),_0x1641c9['setupFiles'][_0x13531f(0x117)](path[_0x13531f(0x145)](__dirname,_0x499e20[_0x13531f(0x175)]));}catch(_0x3c5e2f){logger[_0x13531f(0x1cd)](_0x499e20[_0x13531f(0xf8)],_0x3c5e2f);}_0x1641c9[_0x13531f(0x1a7)]=_0x1641c9['reporters']||[_0x499e20[_0x13531f(0x103)]],_0x499e20[_0x13531f(0x181)](updateTestRerunConfig,_0x1641c9,_0x1b2ecf);const _0x6a086b=fs[_0x13531f(0x19a)](_0x201b32);fs['writeFileSync'](_0x1641c9['runner'],_0x13531f(0xea)+_0x6a086b+_0x13531f(0x147)+_0x1b2ecf[_0x13531f(0x1bb)]['platforms'][_0x13531f(0x1a4)]+';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20'),logger['info'](_0x13531f(0x185)+_0x30f2d1+'\x20with\x20browserstack\x20jest\x20configs'),fs['writeFileSync'](_0x30f2d1,'const\x20config='+JSON[_0x13531f(0x1ad)](_0x1641c9)+'\x0amodule.exports\x20=\x20config;');if(_0xed6d20[_0x13531f(0x1b4)]()){logger[_0x13531f(0x1cd)](_0x499e20[_0x13531f(0x124)]);const _0x60343a=await _0xed6d20[_0x13531f(0x173)](_0x1641c9,_0x196090['slice'](0x1),_0x30f2d1);logger['debug'](_0x13531f(0x102)+JSON['stringify'](_0x60343a)+_0x13531f(0x12f));const _0x3f0edb=await _0xed6d20[_0x13531f(0x1b9)](_0x60343a);logger[_0x13531f(0x1cd)](_0x13531f(0x137)+JSON[_0x13531f(0x1ad)](_0x3f0edb)),_0x3f0edb&&_0x499e20[_0x13531f(0x156)](_0x3f0edb[_0x13531f(0x1a4)],0x0)&&(process[_0x13531f(0x17c)][_0x13531f(0x115)]=_0x3f0edb?.[_0x13531f(0x145)](','));}logger[_0x13531f(0x1a6)](_0x499e20[_0x13531f(0x159)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x13531f(0x1ca)]();helper[_0x13531f(0x161)]({},_0x196090),PerformanceTester[_0x13531f(0x16b)](PerformanceEvents[_0x13531f(0x188)]);const _0x241703=_0x499e20['QThOD'](spawn,_0x499e20[_0x13531f(0x140)],[_0x499e20[_0x13531f(0x18a)],_0x499e20[_0x13531f(0x19f)],_0x30f2d1,..._0x196090[_0x13531f(0x1b7)](0x1)],{'shell':_0x499e20['WabJR'](process[_0x13531f(0x13c)],_0x499e20[_0x13531f(0x1b6)]),'stdio':_0x499e20[_0x13531f(0x1c6)],'env':Object[_0x13531f(0x1aa)]({},process['env'])});_0x241703['on'](_0x499e20[_0x13531f(0x1ae)],async _0x8961a3=>{const _0x4a6dfd=_0x13531f;PerformanceTester['start'](PerformanceEvents[_0x4a6dfd(0x16a)]);try{const {browserstackFolderPath:_0x4f0ec7,tcgConfigPath:_0x244433}=helper[_0x4a6dfd(0x16c)]();fs[_0x4a6dfd(0x19e)](_0x244433),fs[_0x4a6dfd(0xfb)](_0x4f0ec7);}catch(_0x2d84d7){logger[_0x4a6dfd(0x1cd)](_0x499e20[_0x4a6dfd(0x13a)],_0x2d84d7);}process[_0x4a6dfd(0x13d)]=_0x8961a3,logger[_0x4a6dfd(0x1cd)]('child\x20process\x20exited\x20with\x20code\x20'+_0x8961a3),logger[_0x4a6dfd(0x1a6)](_0x4a6dfd(0x108)+_0x30f2d1);if(helper[_0x4a6dfd(0x1c8)](_0x326692)&&helper[_0x4a6dfd(0x1c8)](_0x326692[_0x4a6dfd(0x1a0)])&&fs[_0x4a6dfd(0x11a)](_0x326692[_0x4a6dfd(0x1a0)][_0x4a6dfd(0x15d)]))try{const _0x556f99={};_0x556f99[_0x4a6dfd(0x131)]=!![],_0x556f99[_0x4a6dfd(0x17b)]=!![],fs[_0x4a6dfd(0x154)](_0x326692[_0x4a6dfd(0x1a0)][_0x4a6dfd(0x15d)],_0x556f99),logger[_0x4a6dfd(0x1cd)](_0x4a6dfd(0x14a)+_0x326692[_0x4a6dfd(0x1a0)][_0x4a6dfd(0x15d)]);}catch(_0x39e03f){logger[_0x4a6dfd(0x149)](_0x4a6dfd(0x14d)+_0x39e03f);}let _0x557b34=null;if(fs[_0x4a6dfd(0x11a)](_0x38c30a)){_0x557b34=fs['readFileSync'](_0x38c30a);try{_0x557b34=JSON[_0x4a6dfd(0x1af)](_0x557b34);}catch(_0x109f4e){logger['debug']('Error\x20while\x20parsing\x20'+_0x38c30a+',\x20'+_0x557b34+_0x4a6dfd(0x199)+_0x109f4e);}fs[_0x4a6dfd(0x19e)](_0x38c30a);}fs[_0x4a6dfd(0x19e)](_0x30f2d1),fs[_0x4a6dfd(0x19e)](_0x21d134),_0x557b34&&(_0x1b2ecf[_0x4a6dfd(0x141)]=helper['getErrorMessageFromResults'](_0x557b34,_0x499e20[_0x4a6dfd(0x18a)],_0x1b2ecf));try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x4a6dfd(0x167)]()[_0x4a6dfd(0x138)]();}catch(_0x5ee6d2){console[_0x4a6dfd(0x16e)](_0x5ee6d2),_0x499e20[_0x4a6dfd(0xf3)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x4a6dfd(0x143)](_0x5ee6d2));}testOpsHelper[_0x4a6dfd(0x150)](),TestDetails[_0x4a6dfd(0x158)](),await utilities[_0x4a6dfd(0x191)](_0x1b2ecf);});}module[a14_0x1052de(0x12c)]=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
+ const a15_0x506415=a15_0x1af0;(function(_0x5cf887,_0x4eae90){const _0x496425=a15_0x1af0,_0x465cf3=_0x5cf887();while(!![]){try{const _0x26e9ee=parseInt(_0x496425(0xe7))/0x1*(parseInt(_0x496425(0xfd))/0x2)+-parseInt(_0x496425(0xea))/0x3+-parseInt(_0x496425(0xf6))/0x4*(-parseInt(_0x496425(0xf8))/0x5)+parseInt(_0x496425(0xfe))/0x6+parseInt(_0x496425(0xec))/0x7*(-parseInt(_0x496425(0xe8))/0x8)+parseInt(_0x496425(0xee))/0x9*(parseInt(_0x496425(0xf2))/0xa)+parseInt(_0x496425(0xe6))/0xb*(-parseInt(_0x496425(0xfb))/0xc);if(_0x26e9ee===_0x4eae90)break;else _0x465cf3['push'](_0x465cf3['shift']());}catch(_0xbbadcf){_0x465cf3['push'](_0x465cf3['shift']());}}}(a15_0x3459,0x69fdc));const path=require(a15_0x506415(0xf4)),{requireModule}=require(a15_0x506415(0xed));function a15_0x1af0(_0x5bce77,_0x229260){const _0x3459b2=a15_0x3459();return a15_0x1af0=function(_0x1af03e,_0x5c8c79){_0x1af03e=_0x1af03e-0xe6;let _0x5b0c59=_0x3459b2[_0x1af03e];return _0x5b0c59;},a15_0x1af0(_0x5bce77,_0x229260);}let initJestAdapter=requireModule(a15_0x506415(0xf0),a15_0x506415(0xe9));initJestAdapter=typeof initJestAdapter===a15_0x506415(0xf9)?initJestAdapter:initJestAdapter[a15_0x506415(0xf5)];const FRAMEWORK_INITIALIZER=path[a15_0x506415(0xfc)](__dirname,a15_0x506415(0xfa));module['exports']=(..._0x1bab9b)=>{const _0x4011ba=a15_0x506415,_0x3f76b8={'UzqAY':'jestAdapterInit','cToQx':function(_0x271ce6,_0x528648){return _0x271ce6===_0x528648;},'oXfWG':function(_0x4994d5,..._0x26dcd7){return _0x4994d5(..._0x26dcd7);}};return _0x1bab9b[0x3][_0x4011ba(0xef)]=_0x1bab9b[0x3][_0x4011ba(0xf7)],_0x1bab9b[0x3][_0x4011ba(0xf7)]=(..._0xde8d5d)=>{const _0x18045e=_0x4011ba;if(_0xde8d5d[0x0]&&_0xde8d5d[0x0][_0x18045e(0xf1)](_0x3f76b8[_0x18045e(0xeb)])&&_0x3f76b8[_0x18045e(0xf3)](_0xde8d5d[0x1],undefined))return _0x1bab9b[0x3][_0x18045e(0xef)](FRAMEWORK_INITIALIZER);return _0x1bab9b[0x3][_0x18045e(0xef)](..._0xde8d5d);},_0x3f76b8['oXfWG'](initJestAdapter,..._0x1bab9b);};function a15_0x3459(){const _0x506c2e=['711486sjfzQl','33cJMXWj','9saVcnv','1356728HNclNG','jest-circus','1138011qocckK','UzqAY','7CkYvTb','../../../helpers/helper','9EKNRcP','initRequireModule','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','includes','4248290mkERXg','cToQx','path','default','4BxpKRp','requireInternalModule','2407945BVWhKd','function','customJestAdapterInit.js','1673424zbMfcK','join','83650bSPrzn'];a15_0x3459=function(){return _0x506c2e;};return a15_0x3459();}
@@ -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
+ const a16_0x4323ea=a16_0x36ef;(function(_0x52fe14,_0xda4372){const _0x2fd539=a16_0x36ef,_0x1b20ed=_0x52fe14();while(!![]){try{const _0x228c5f=parseInt(_0x2fd539(0x1e2))/0x1+-parseInt(_0x2fd539(0x1bc))/0x2*(parseInt(_0x2fd539(0x1d5))/0x3)+-parseInt(_0x2fd539(0x190))/0x4*(-parseInt(_0x2fd539(0x1d8))/0x5)+parseInt(_0x2fd539(0x1e8))/0x6*(parseInt(_0x2fd539(0x1f5))/0x7)+parseInt(_0x2fd539(0x1ef))/0x8+parseInt(_0x2fd539(0x1a1))/0x9*(parseInt(_0x2fd539(0x1cd))/0xa)+-parseInt(_0x2fd539(0x1e7))/0xb;if(_0x228c5f===_0xda4372)break;else _0x1b20ed['push'](_0x1b20ed['shift']());}catch(_0x186537){_0x1b20ed['push'](_0x1b20ed['shift']());}}}(a16_0xb96d,0xf399b));function a16_0x36ef(_0x283549,_0xf558c7){const _0xb96d11=a16_0xb96d();return a16_0x36ef=function(_0x36efe1,_0x312fcd){_0x36efe1=_0x36efe1-0x18f;let _0x558b72=_0xb96d11[_0x36efe1];return _0x558b72;},a16_0x36ef(_0x283549,_0xf558c7);}const helper=require('../../../helpers/helper'),constants=require(a16_0x4323ea(0x1c9)),{isTestObservabilitySession}=require(a16_0x4323ea(0x1bf)),RequestQueueHandler=require(a16_0x4323ea(0x1da)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a16_0x4323ea(0x1e5)),logger=require(a16_0x4323ea(0x1f8))[a16_0x4323ea(0x1a9)],getTestEnvironment=((()=>{const _0x4edda4=a16_0x4323ea,_0x5400d1={};_0x5400d1[_0x4edda4(0x1fa)]=_0x4edda4(0x1b8),_0x5400d1[_0x4edda4(0x1ed)]='jest-config';const _0x4f5d25=_0x5400d1;try{const _0x4b49f5=helper[_0x4edda4(0x1ea)](_0x4f5d25[_0x4edda4(0x1fa)]);if(_0x4b49f5[_0x4edda4(0x1c0)])return _0x4b49f5['resolveTestEnvironment'];const _0x1238c3=helper[_0x4edda4(0x1ea)](_0x4f5d25[_0x4edda4(0x1ed)]);if(_0x1238c3[_0x4edda4(0x1fb)])return _0x1238c3[_0x4edda4(0x1fb)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x454a29=a16_0x4323ea,_0x11176e={'zemYl':function(_0x1fc440,_0x9aa33e){return _0x1fc440(_0x9aa33e);},'qPvCD':'node','YIucu':'jest-environment-node'},_0x2d3686=_0x11176e[_0x454a29(0x1f4)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x454a29(0x195)]['BSTACK_JEST_TEST_ENV']||_0x11176e[_0x454a29(0x1c7)]});if(!_0x2d3686)return _0x11176e[_0x454a29(0x1f4)](_interopRequireDefault,helper[_0x454a29(0x1ea)](_0x11176e[_0x454a29(0x1be)]));return _0x11176e[_0x454a29(0x1f4)](_interopRequireDefault,helper[_0x454a29(0x1ea)](_0x2d3686));})()),_seleniumWebdriver2=((()=>{const _0xc4eb73=a16_0x4323ea,_0x5a78ac={'OFlRz':function(_0x44f065,_0x29245b){return _0x44f065(_0x29245b);}};try{const _0x352298=helper['requireSeleniumWebdriver']();return helper[_0xc4eb73(0x19f)](),_0x5a78ac[_0xc4eb73(0x1b0)](_interopRequireDefault,_0x352298);}catch{return null;}})());function _interopRequireDefault(_0x312a0c){return _0x312a0c&&_0x312a0c['__esModule']?_0x312a0c:{'default':_0x312a0c};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x4323ea(0x1aa)]['Builder']:null;function a16_0xb96d(){const _0x450449=['builder','../../../helpers/testhub/utils','BSTACK_DELTA','30080908librOS','3635568wGdMiV','nestedKeyValue','requireModule','browserStackPercyOptions','quit','bRfde','qhRIn','15554352QUDPKd','failFastOptions','4|5|7|2|0|6|1|3','cVkwZ','platformCaps','zemYl','7JJmQWN','browserStackGlobals','browserstackPlatformIndex','../../../helpers/logger','test_start','yQIbc','getTestEnvironment','../../../helpers/test-orchestration/failfastManager','uwyJc','138596wCXxPq','retries__','vdhbM','mRVQn','iErEx','env','cleanup','handleTestEvent','JlJXH','YpnrI','debug','isTrue','__webdriver','percy','join','modifyCommand','browserstackAgentV2','5751342jYmuwv','shouldFailFast','NLIJT','configuration','bstack:options','shouldProcessEventForTesthub','sessionNameProvided','lbqjA','winstonLogger','default','bgMaN','uQGoe','shutdown','eQxGT','skip','OFlRz','failFastActive','setup','Builder','__driversArray','__skipSessionStatus','failFast','name','jest-resolve','testEnvironmentOptions','testPath','percyCaptureMode','6jjokuV','JEST','YIucu','../../../helpers/test-observability/utils','resolveTestEnvironment','global','split','skipSessionName','driver','isNotUndefined','tPgYR','qPvCD','YAxzV','../../utils/constants','\x20>\x20','onTestDone','jestConfig','10bcESRc','FRAMEWORKS','isBrowserstackInfra','isArray','__platformCaps','testContext','vhSGD','__drivers','941646QtQedq','projectConfig','framework','35ZKwCwY','__timeout','../../../helpers/test-observability/requestQueueHandler','capabilities','browserstackPercyBestPlatform','Qctae','HTOWf','test','KQfeJ','capability','1242258bahcIm','teardown'];a16_0xb96d=function(){return _0x450449;};return a16_0xb96d();}class CustomEnvironment extends _jestUserEnvironment[a16_0x4323ea(0x1aa)]{constructor(_0x3f0ec8){const _0x38547a=a16_0x4323ea,_0x6f98da={'tPgYR':_0x38547a(0x1ec),'vdhbM':function(_0x4f8ece,_0x77054e){return _0x4f8ece+_0x77054e;},'KQfeJ':_0x38547a(0x1a5),'mRVQn':function(_0x451e26,_0xb2ce45){return _0x451e26(_0xb2ce45);},'NLIJT':_0x38547a(0x1fc),'JlJXH':_0x38547a(0x1f1),'uQGoe':'testEnvironmentOptions','qhRIn':_0x38547a(0x1eb),'Qctae':_0x38547a(0x1bb),'YtgaY':'percy','uDBJA':'../../../index','BQFUc':_0x38547a(0x1dc)};super(_0x3f0ec8),this[_0x38547a(0x1c1)][_0x38547a(0x1d9)]=0x0,this[_0x38547a(0x1a4)]={};!_0x3f0ec8[_0x38547a(0x1b9)]&&(_0x3f0ec8[_0x38547a(0x1b9)]={});if(helper[_0x38547a(0x1cf)]()){_0x3f0ec8[_0x38547a(0x1b9)]=_0x3f0ec8[_0x38547a(0x1d6)]?_0x3f0ec8[_0x38547a(0x1d6)][_0x38547a(0x1b9)]:_0x3f0ec8[_0x38547a(0x1b9)];_seleniumWebdriver2&&(this[_0x38547a(0x1e4)]=new _seleniumWebdriver2['default'][(_0x38547a(0x1b3))]());this[_0x38547a(0x1e1)]=_0x3f0ec8['projectConfig']?_0x3f0ec8[_0x38547a(0x1d6)][_0x38547a(0x1e1)]:_0x3f0ec8[_0x38547a(0x1e1)],this[_0x38547a(0x1c1)][_0x38547a(0x1d9)]=_0x6f98da[_0x38547a(0x192)](_0x3f0ec8['testEnvironmentOptions']['timeout__']||0x1388,constants[_0x38547a(0x1e6)]),this[_0x38547a(0x1f0)]=_0x3f0ec8[_0x38547a(0x1b9)][_0x38547a(0x1b6)];if(this[_0x38547a(0x1f0)]){const _0x45d17f=this[_0x38547a(0x1e1)][_0x6f98da[_0x38547a(0x1e0)]]?.['buildName']||'',_0x215947=this[_0x38547a(0x1e1)][_0x6f98da[_0x38547a(0x1e0)]]?.['projectName']||'';this['failFast']=new(_0x6f98da[_0x38547a(0x193)](require,_0x6f98da[_0x38547a(0x1a3)]))(this['failFastOptions'],_0x45d17f,_0x215947),this['global']['failFastActive']=![];}helper[_0x38547a(0x1c5)](_0x3f0ec8[_0x38547a(0x1b9)][_0x38547a(0x191)])&&(this['global']['__jestRetries']=_0x3f0ec8[_0x38547a(0x1b9)][_0x38547a(0x191)]);}if(testhubUtils[_0x38547a(0x1a6)]()){const _0x3be87a=new ObservabilityReporter();_0x3be87a['registerListeners']();}this[_0x38547a(0x1c1)][_0x38547a(0x1f6)]={},this['configuration']=_0x3f0ec8['testEnvironmentOptions'],this[_0x38547a(0x1a4)][_0x38547a(0x1d7)]=constants[_0x38547a(0x1ce)][_0x38547a(0x1bd)],this[_0x38547a(0x1c1)][_0x38547a(0x1f7)]=(_0x3f0ec8[_0x38547a(0x1d6)]?_0x3f0ec8['projectConfig'][_0x38547a(0x1f7)]:_0x3f0ec8[_0x38547a(0x1f7)])||0x0,this[_0x38547a(0x1c1)][_0x38547a(0x1d1)]=this[_0x38547a(0x1a4)]&&this[_0x38547a(0x1a4)][_0x38547a(0x1f3)]&&Array[_0x38547a(0x1d0)](this['configuration']['platformCaps'])&&this['configuration']['platformCaps'][this[_0x38547a(0x1c1)][_0x38547a(0x1f7)]]||{};const _0x2bc8a0=this[_0x38547a(0x1c1)][_0x38547a(0x1f7)],_0x50e8de={...this['configuration'],'capability':this[_0x38547a(0x1a4)]['capabilities']&&Array[_0x38547a(0x1d0)](this['configuration'][_0x38547a(0x1db)])&&this['configuration'][_0x38547a(0x1db)][_0x2bc8a0]||{},'platformCaps':this[_0x38547a(0x1a4)][_0x38547a(0x1f3)]&&Array[_0x38547a(0x1d0)](this['configuration'][_0x38547a(0x1f3)])&&this[_0x38547a(0x1a4)][_0x38547a(0x1f3)][_0x2bc8a0]||{}};delete _0x50e8de[_0x38547a(0x1db)],this['global'][_0x38547a(0x1cc)]=_0x50e8de;if(_seleniumWebdriver2){const _0x2d1da8=_0x6f98da[_0x38547a(0x198)][_0x38547a(0x1c2)]('|');let _0x1ac4e9=0x0;while(!![]){switch(_0x2d1da8[_0x1ac4e9++]){case'0':this['global'][_0x38547a(0x1bb)]=helper['nestedKeyValue'](_0x3f0ec8,[_0x6f98da[_0x38547a(0x1ac)],_0x6f98da[_0x38547a(0x1ee)],_0x6f98da[_0x38547a(0x1dd)]]);continue;case'1':this['global'][_0x38547a(0x1b5)]=helper['isTrue'](this['configuration']['skipSessionStatus']);continue;case'2':this['global'][_0x38547a(0x19d)]=helper[_0x38547a(0x1e9)](_0x3f0ec8,[_0x6f98da[_0x38547a(0x1ac)],_0x6f98da['qhRIn'],_0x6f98da['YtgaY']]);continue;case'3':this[_0x38547a(0x1c1)][_0x38547a(0x196)]=async()=>{const _0x49ef29=_0x38547a;await this[_0x49ef29(0x1c1)][_0x49ef29(0x1c4)][_0x49ef29(0x1ec)](_0x6f98da[_0x49ef29(0x1c6)]);};continue;case'4':this[_0x38547a(0x1c1)][_0x38547a(0x1d4)]=[];continue;case'5':this['global'][_0x38547a(0x19c)]=_0x6f98da[_0x38547a(0x193)](require,_0x6f98da['uDBJA'])[_0x38547a(0x1a0)]({...this[_0x38547a(0x1a4)],'capability':this[_0x38547a(0x1e1)]||{}},this,testhubUtils[_0x38547a(0x1a6)]());continue;case'6':helper[_0x38547a(0x19b)](this[_0x38547a(0x1a4)][_0x38547a(0x1c3)])?this[_0x38547a(0x1c1)][_0x38547a(0x1a7)]=!![]:this[_0x38547a(0x1c1)]['sessionNameProvided']=![];continue;case'7':this['global'][_0x38547a(0x1dc)]=helper[_0x38547a(0x1e9)](_0x3f0ec8,[_0x6f98da[_0x38547a(0x1ac)],_0x6f98da[_0x38547a(0x1ee)],_0x6f98da['BQFUc']]);continue;}break;}}}async[a16_0x4323ea(0x1e3)](){const _0x573025=a16_0x4323ea;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x573025(0x1c1)][_0x573025(0x1b4)]),this[_0x573025(0x1c1)][_0x573025(0x19c)][_0x573025(0x1b3)]=originalBuilder),await RequestQueueHandler['getInstance']()[_0x573025(0x1ad)]();}async[a16_0x4323ea(0x1b2)](){}async[a16_0x4323ea(0x197)](_0x54e398,_0x23445d){const _0xbf59af=a16_0x4323ea,_0x52e70a={};_0x52e70a[_0xbf59af(0x199)]=function(_0x5e4325,_0x57631a){return _0x5e4325===_0x57631a;},_0x52e70a['uwyJc']=_0xbf59af(0x1f9),_0x52e70a['iErEx']=function(_0x1f1b83,_0x2d8b51){return _0x1f1b83===_0x2d8b51;},_0x52e70a[_0xbf59af(0x1ae)]=_0xbf59af(0x1af),_0x52e70a[_0xbf59af(0x1f2)]='test_done',_0x52e70a[_0xbf59af(0x1c8)]=_0xbf59af(0x1ca),_0x52e70a[_0xbf59af(0x1a8)]=function(_0xf1c4dd,_0x163def){return _0xf1c4dd===_0x163def;},_0x52e70a['bgMaN']='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x52e70a[_0xbf59af(0x1d3)]=function(_0x2f7880,_0x513f1f){return _0x2f7880===_0x513f1f;},_0x52e70a[_0xbf59af(0x1de)]='teardown';const _0x5818c3=_0x52e70a,{name:_0x3d07ed}=_0x54e398;if(_0x5818c3['YpnrI'](_0x3d07ed,_0x5818c3[_0xbf59af(0x18f)])){this[_0xbf59af(0x1c1)][_0xbf59af(0x1d2)]=_0x54e398[_0xbf59af(0x1df)];if(_0x5818c3[_0xbf59af(0x194)](this['global'][_0xbf59af(0x1b1)],!![])){const _0x7e8204=_0x54e398['test'][_0xbf59af(0x1b7)];logger['info']('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x7e8204),_0x54e398[_0xbf59af(0x1df)]['mode']=_0x5818c3[_0xbf59af(0x1ae)];}}if(this[_0xbf59af(0x1b6)]&&_0x5818c3[_0xbf59af(0x194)](_0x3d07ed,_0x5818c3[_0xbf59af(0x1f2)]))try{const _0x514525=_0x54e398[_0xbf59af(0x1df)][_0xbf59af(0x1ba)][_0xbf59af(0x19e)](_0x5818c3['YAxzV']),_0xbe091d=_0x54e398[_0xbf59af(0x1df)]['errors'];await this[_0xbf59af(0x1b6)][_0xbf59af(0x1cb)](_0x514525,_0xbe091d);const _0x1d9d48=await this[_0xbf59af(0x1b6)][_0xbf59af(0x1a2)]();_0x5818c3[_0xbf59af(0x199)](this[_0xbf59af(0x1c1)][_0xbf59af(0x1b1)],![])&&_0x5818c3['lbqjA'](_0x1d9d48,!![])&&(this['global'][_0xbf59af(0x1b1)]=!![]);}catch(_0x3b9db4){logger[_0xbf59af(0x19a)](_0x5818c3[_0xbf59af(0x1ab)],_0x3b9db4['message']);}_0x5818c3[_0xbf59af(0x1d3)](_0x3d07ed,_0x5818c3['HTOWf'])&&(this[_0xbf59af(0x1b6)]&&this[_0xbf59af(0x1b6)][_0xbf59af(0x196)]());}}module['exports']=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
+ const a17_0x204695=a17_0x51c1;function a17_0x51c1(_0x14b756,_0x571a78){const _0x1b09f9=a17_0x1b09();return a17_0x51c1=function(_0x51c183,_0x5a0039){_0x51c183=_0x51c183-0x186;let _0x5bf36c=_0x1b09f9[_0x51c183];return _0x5bf36c;},a17_0x51c1(_0x14b756,_0x571a78);}(function(_0x5e3887,_0x4103c4){const _0x4ff90e=a17_0x51c1,_0x4b6a91=_0x5e3887();while(!![]){try{const _0x7dbbd4=parseInt(_0x4ff90e(0x1ac))/0x1+-parseInt(_0x4ff90e(0x1c7))/0x2+-parseInt(_0x4ff90e(0x1d3))/0x3*(-parseInt(_0x4ff90e(0x229))/0x4)+-parseInt(_0x4ff90e(0x1b3))/0x5+parseInt(_0x4ff90e(0x1c5))/0x6*(-parseInt(_0x4ff90e(0x1a9))/0x7)+-parseInt(_0x4ff90e(0x1ed))/0x8*(parseInt(_0x4ff90e(0x21e))/0x9)+-parseInt(_0x4ff90e(0x1d7))/0xa*(-parseInt(_0x4ff90e(0x200))/0xb);if(_0x7dbbd4===_0x4103c4)break;else _0x4b6a91['push'](_0x4b6a91['shift']());}catch(_0xc5f160){_0x4b6a91['push'](_0x4b6a91['shift']());}}}(a17_0x1b09,0x8484b));const {requireModule}=require(a17_0x204695(0x1ea)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x204695(0x1f6)),TestDetails=require(a17_0x204695(0x1f7)),{patchConsoleLogger,debug}=require(a17_0x204695(0x215)),{o11yErrorHandler}=require(a17_0x204695(0x209)),{shouldProcessEventForTesthub}=require(a17_0x204695(0x1ff)),testHubConstants=require(a17_0x204695(0x18b)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a17_0x204695(0x219)),HookState=require(a17_0x204695(0x218)),JestUtils=require('../../v2/utils/jest-utils'),{v4:uuidv4}=require(a17_0x204695(0x1a6)),util=require(a17_0x204695(0x188)),logger=require(a17_0x204695(0x1be))['winstonLogger'],{FRAMEWORKS}=require('../../utils/constants'),exportsI=requireModule(a17_0x204695(0x1a5),a17_0x204695(0x22b)),initInitialize=exportsI['initialize'],jestUtils=new JestUtils();async function isCLIReady(){const _0x2ff877=a17_0x204695,_0x4a6a29={'ndypD':_0x2ff877(0x1a7),'qoqZP':function(_0x36d4f3,_0x415be8){return _0x36d4f3(_0x415be8);},'RHWxx':'../../v2/cliUtils','WQzBN':function(_0x46c968,_0x4b2c1b){return _0x46c968(_0x4b2c1b);}};try{const _0x10ca93=BrowserstackCLI['getInstance']();if(_0x10ca93['isCliEnabled']()&&_0x10ca93[_0x2ff877(0x20a)]())return logger[_0x2ff877(0x227)](_0x4a6a29[_0x2ff877(0x228)]),!![];const _0x205dba=process['env'][_0x2ff877(0x197)];if(_0x205dba&&_0x10ca93[_0x2ff877(0x1a3)]()){if(!_0x10ca93[_0x2ff877(0x20a)]())try{const _0x41f410=_0x4a6a29['qoqZP'](require,_0x4a6a29['RHWxx']);_0x41f410[_0x2ff877(0x214)](FRAMEWORKS[_0x2ff877(0x1fc)],FRAMEWORKS[_0x2ff877(0x195)]),await _0x10ca93[_0x2ff877(0x1b7)]();}catch(_0x3f9a53){return _0x4a6a29[_0x2ff877(0x1f1)](debug,_0x2ff877(0x224)+util[_0x2ff877(0x201)](_0x3f9a53)),![];}return _0x10ca93['isRunning']();}return![];}catch(_0x11e5c7){return _0x4a6a29[_0x2ff877(0x1fb)](debug,_0x2ff877(0x1c9)+util[_0x2ff877(0x201)](_0x11e5c7)),![];}}function getTestIdentifierForHook(_0x285aa3){const _0x162b2e=a17_0x204695,_0x5015b0={};_0x5015b0[_0x162b2e(0x1ce)]=function(_0x2881b5,_0x1e72a3){return _0x2881b5===_0x1e72a3;},_0x5015b0['STUiW']=_0x162b2e(0x231),_0x5015b0[_0x162b2e(0x1ab)]='beforeAll',_0x5015b0['SbOwF']=function(_0x45e1d5,_0x48e5fe){return _0x45e1d5===_0x48e5fe;};const _0x421b36=_0x5015b0;if(_0x421b36[_0x162b2e(0x1ce)](_0x285aa3['type'],_0x421b36[_0x162b2e(0x18c)])||_0x421b36['wcdUI'](_0x285aa3['type'],_0x421b36[_0x162b2e(0x1ab)])){let _0x43ae3b=global['__jestCurrentTestIdentifier'];if(!_0x43ae3b&&_0x421b36[_0x162b2e(0x22c)](_0x285aa3['type'],_0x421b36['ZCHHc'])&&_0x285aa3[_0x162b2e(0x213)]){const _0x5268f6={};_0x5268f6['name']=_0x285aa3[_0x162b2e(0x213)][_0x162b2e(0x194)],_0x5268f6[_0x162b2e(0x213)]=_0x285aa3[_0x162b2e(0x213)][_0x162b2e(0x213)],_0x5268f6['asyncError']=_0x285aa3[_0x162b2e(0x19d)],_0x5268f6[_0x162b2e(0x226)]=_0x285aa3[_0x162b2e(0x226)];const _0x335679=_0x5268f6;_0x43ae3b=jestUtils[_0x162b2e(0x20b)](_0x335679);}return _0x43ae3b;}return global[_0x162b2e(0x223)];}function a17_0x1b09(){const _0x472f34=['forEach','LqNbf','../../../helpers/test-observability/requestQueueHandler','../test-observability/test-details','getTestFramework','LLLqO','testAnalyticsId','WQzBN','JEST','AECRt','teardown','../../../helpers/testhub/utils','5401EWCitG','format','setTestUUID','\x20for\x20hook\x20type:\x20','afterAll','BEFORE_EACH','hookUUID','Error\x20routing\x20to\x20JestTestFramework:\x20','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','../../../helpers/test-observability/error-handler','isRunning','createIdentifierFromJestTest','fbbyi','qyUOu','votHM','AFTER_ALL','initialize','beforeAll','CCQPF','parent','setFrameworkDetail','../../../helpers/test-observability/utils','TcGrO','test_skip','../../v2/state/hookState','../../v2/state/testFrameworkState','evxGp','HookRunFinished','kqUyc','keys','64737ULwMjl','getInstance','testUUID','vjeqz','removeActiveHook','__jestCurrentTestIdentifier','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','HookFinished','file','debug','ndypD','1352SGPyZt','sRWec','jest-circus','SbOwF','mFAhr','EventHandler','_currentRetry','includes','beforeEach','YkXVe','current_test','util','TEST','SUskm','../../../helpers/testhub/constants','STUiW','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','createHookData','noygH','JWrCH','ClrHW','registerListeners','WmIQo','name','PLAYWRIGHT','hookAnalyticsId','BROWSERSTACK_CLI_BIN_SESSION_ID','retryOf','yWIgV','originalTest','jest-circus/build/utils.js','JUAzv','asyncError','toString','state','MaQxa','setActiveHook','toISOString','isCliEnabled','hook','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','uuid','CLI\x20is\x20enabled\x20and\x20running.','fIdJr','7427kANpmF','length','ZCHHc','274951UssxWK','dytAb',':hookAnalyticsId','failed','EXaFW','unhandledErrors','EVENT','4912635nrhSid','MLBFW','xhgUX','jest-circus/build/state.js','bootstrap','__workerDetails','sendTestRunEvent','akUmI','qNhQM','trackEvent','started_at','../../../helpers/logger','EzJXd','hook_failure','LOG_REPORT','addEventHandler','ZwlfF','BEFORE_ALL','4020VBvswG','error','553520fjvVgI','markedStatus','Error\x20checking\x20CLI\x20readiness:\x20','hook_success','eKOyW','createTestFrameworkData','HookRunStarted','wcdUI','TestRunFinished','TestRunStarted','match','run_describe_finish','3669etJNZW','pid','POST','YYjKd','58550GuGaMv','tpeIF','jlPtf','aVhqV','AFTER_EACH','currentHook','afterEach','type','removeTestUUID','HookStarted','Xwmuq','errorsDetailed','ZokbA','DyUdO','SywBO','ByXvt','test','PRE','XEPhI','../../../helpers/helper','dEkQe','sxKFq','1168lHyDUi','shutdown','test_done','rdNVi','qoqZP','bnlsI','title'];a17_0x1b09=function(){return _0x472f34;};return a17_0x1b09();}function mapHookTypeToState(_0xb77168){const _0x2d29ab=a17_0x204695,_0x3a1d6d={};_0x3a1d6d[_0x2d29ab(0x211)]=TestFrameworkState[_0x2d29ab(0x1c4)],_0x3a1d6d[_0x2d29ab(0x204)]=TestFrameworkState[_0x2d29ab(0x20f)],_0x3a1d6d[_0x2d29ab(0x231)]=TestFrameworkState['BEFORE_EACH'],_0x3a1d6d[_0x2d29ab(0x1dd)]=TestFrameworkState[_0x2d29ab(0x1db)];const _0x1f0157=_0x3a1d6d;return _0x1f0157[_0xb77168]||TestFrameworkState[_0x2d29ab(0x205)];}async function handleHookEventCLI(_0x59a24f,_0x3dabb4,_0x5532e6){const _0x24bf29=a17_0x204695,_0x33762d={'YCXwA':function(_0x172593){return _0x172593();},'DyUdO':function(_0x414a19,_0x27934f){return _0x414a19===_0x27934f;},'votHM':_0x24bf29(0x1cd),'dytAb':function(_0x431e3a,_0x1a01b8){return _0x431e3a(_0x1a01b8);},'bnlsI':function(_0x2ee1d2,_0x55b4d1){return _0x2ee1d2===_0x55b4d1;},'Xwmuq':function(_0x22d2d9,_0x36642b){return _0x22d2d9===_0x36642b;},'fRQgq':_0x24bf29(0x21b),'WmIQo':_0x24bf29(0x1a4)};logger[_0x24bf29(0x227)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x3dabb4+_0x24bf29(0x203)+_0x59a24f[_0x24bf29(0x1de)]);try{if(_0x59a24f['fn']&&_0x59a24f['fn'][_0x24bf29(0x19e)]()[_0x24bf29(0x1d1)](/browserstack internal helper hook/))return;let _0x2ef8a3=_0x59a24f[_0x24bf29(0x196)];if(!_0x2ef8a3)_0x2ef8a3=_0x33762d['YCXwA'](uuidv4),_0x59a24f[_0x24bf29(0x196)]=_0x2ef8a3;else _0x59a24f['markedStatus']&&(_0x2ef8a3=_0x33762d['YCXwA'](uuidv4),_0x59a24f[_0x24bf29(0x196)]=_0x2ef8a3,delete _0x59a24f[_0x24bf29(0x1c8)]);_0x33762d[_0x24bf29(0x1e4)](_0x3dabb4,_0x33762d[_0x24bf29(0x20e)])&&(_0x59a24f[_0x24bf29(0x1bd)]=new Date()[_0x24bf29(0x1a2)]());const _0x121883=_0x33762d[_0x24bf29(0x1ad)](getTestIdentifierForHook,_0x59a24f);!global['__workerDetails']&&(global[_0x24bf29(0x1b8)]={});if(_0x33762d[_0x24bf29(0x1f2)](_0x3dabb4,_0x33762d['votHM'])){global[_0x24bf29(0x1b8)][_0x24bf29(0x1dc)]={'hookUUID':_0x2ef8a3,'testIdentifier':_0x121883,'hookType':_0x59a24f[_0x24bf29(0x1de)],'startedAt':new Date()[_0x24bf29(0x1a2)]()};const _0x3d0cb1=BrowserstackCLI[_0x24bf29(0x21f)]()[_0x24bf29(0x1f8)]();_0x3d0cb1&&_0x3d0cb1['setActiveHook']&&_0x3d0cb1[_0x24bf29(0x1a1)](_0x121883,_0x2ef8a3,_0x59a24f[_0x24bf29(0x1de)]);}const _0x25fe73=await jestUtils[_0x24bf29(0x18e)](_0x59a24f,_0x2ef8a3,_0x3dabb4,_0x121883);if(!_0x25fe73)return;const _0x3869e9=_0x33762d['dytAb'](mapHookTypeToState,_0x59a24f[_0x24bf29(0x1de)]),_0x673138=_0x33762d[_0x24bf29(0x1f2)](_0x3dabb4,_0x33762d[_0x24bf29(0x20e)])?HookState[_0x24bf29(0x1e8)]:HookState[_0x24bf29(0x1d5)],_0x516514=BrowserstackCLI['getInstance']()[_0x24bf29(0x1f8)]();if(_0x516514){const _0x4cd2ac={};_0x4cd2ac['hookData']=_0x25fe73,await _0x516514[_0x24bf29(0x1bc)](_0x3869e9,_0x673138,_0x4cd2ac);if(_0x33762d[_0x24bf29(0x1e1)](_0x3dabb4,_0x33762d['fRQgq'])){const _0x21b2e8={};_0x21b2e8[_0x24bf29(0x220)]=_0x121883,_0x21b2e8[_0x24bf29(0x1de)]=_0x33762d[_0x24bf29(0x193)],await _0x516514[_0x24bf29(0x1bc)](TestFrameworkState[_0x24bf29(0x1c1)],HookState[_0x24bf29(0x1d5)],_0x21b2e8),global[_0x24bf29(0x1b8)]&&global[_0x24bf29(0x1b8)][_0x24bf29(0x1dc)]&&_0x33762d[_0x24bf29(0x1f2)](global[_0x24bf29(0x1b8)][_0x24bf29(0x1dc)][_0x24bf29(0x206)],_0x2ef8a3)&&delete global[_0x24bf29(0x1b8)][_0x24bf29(0x1dc)],_0x516514[_0x24bf29(0x222)]&&_0x516514['removeActiveHook'](_0x121883,_0x2ef8a3);}}}catch(_0x37eada){logger[_0x24bf29(0x1c6)](_0x24bf29(0x18d)+util['format'](_0x37eada));throw _0x37eada;}}async function handleTestEventCLI(_0xde96f7,_0x1acf8c,_0x53132a){const _0x49c50b=a17_0x204695,_0x4c3ae8={};_0x4c3ae8[_0x49c50b(0x221)]=function(_0x22207d,_0x2973b5){return _0x22207d===_0x2973b5;},_0x4c3ae8[_0x49c50b(0x22a)]=_0x49c50b(0x1d0),_0x4c3ae8[_0x49c50b(0x191)]=function(_0x136172,_0x5af64e){return _0x136172>_0x5af64e;},_0x4c3ae8['mFAhr']=function(_0x31cf45,_0x126224){return _0x31cf45===_0x126224;},_0x4c3ae8[_0x49c50b(0x20d)]=function(_0x3812dc,_0xe5b609){return _0x3812dc&&_0xe5b609;},_0x4c3ae8[_0x49c50b(0x1da)]=_0x49c50b(0x1af),_0x4c3ae8[_0x49c50b(0x1e5)]=_0x49c50b(0x1cf),_0x4c3ae8[_0x49c50b(0x18f)]=function(_0xd1d801,_0x2053df){return _0xd1d801&&_0x2053df;},_0x4c3ae8[_0x49c50b(0x1cb)]=function(_0xf7014f,_0x49f297){return _0xf7014f&&_0x49f297;},_0x4c3ae8[_0x49c50b(0x199)]=_0x49c50b(0x1e7);const _0x5ba97b=_0x4c3ae8;logger[_0x49c50b(0x227)]('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x1acf8c);try{let _0x158747;if(_0x5ba97b[_0x49c50b(0x221)](_0x1acf8c,_0x5ba97b['sRWec'])){_0x158747=jestUtils[_0x49c50b(0x20b)](_0xde96f7),global[_0x49c50b(0x223)]=_0x158747,_0xde96f7[_0x49c50b(0x1fa)]=_0x158747,_0xde96f7['id']=_0x158747,_0xde96f7[_0x49c50b(0x1bd)]=new Date()[_0x49c50b(0x1a2)]();const _0x1c5669=_0x53132a[_0x49c50b(0x187)];_0x53132a[_0x49c50b(0x187)]=_0xde96f7,_0xde96f7[_0x49c50b(0x198)]=null;if(_0x5ba97b[_0x49c50b(0x191)](_0xde96f7[_0x49c50b(0x22f)],0x0)&&_0x1c5669&&_0x5ba97b[_0x49c50b(0x22d)](_0x1c5669[_0x49c50b(0x1f3)],_0xde96f7['title'])){_0xde96f7[_0x49c50b(0x198)]=_0x1c5669[_0x49c50b(0x1fa)];const _0x572890=await jestUtils[_0x49c50b(0x1cc)](_0xde96f7,_0x158747,_0x5ba97b[_0x49c50b(0x22a)]),_0xf9c684=BrowserstackCLI[_0x49c50b(0x21f)]()[_0x49c50b(0x1f8)]();if(_0x5ba97b[_0x49c50b(0x20d)](_0x572890,_0xf9c684)){const _0xef9270={};_0xef9270[_0x49c50b(0x1e7)]=_0x572890,await _0xf9c684['trackEvent'](TestFrameworkState['TEST'],HookState[_0x49c50b(0x1e8)],_0xef9270);}_0x1c5669[_0x49c50b(0x19f)]=_0x5ba97b[_0x49c50b(0x1da)];const _0x57ced0=await jestUtils[_0x49c50b(0x1cc)](_0x1c5669,_0x1c5669[_0x49c50b(0x1fa)],_0x5ba97b[_0x49c50b(0x1e5)]);if(_0x5ba97b[_0x49c50b(0x18f)](_0x57ced0,_0xf9c684)){const _0x2680bc={};_0x2680bc[_0x49c50b(0x1e7)]=_0x57ced0,await _0xf9c684[_0x49c50b(0x1bc)](TestFrameworkState[_0x49c50b(0x189)],HookState[_0x49c50b(0x1d5)],_0x2680bc);}}else{const _0x5beb85=await jestUtils[_0x49c50b(0x1cc)](_0xde96f7,_0x158747,_0x5ba97b[_0x49c50b(0x22a)]),_0x3b6334=BrowserstackCLI[_0x49c50b(0x21f)]()['getTestFramework']();if(_0x5ba97b[_0x49c50b(0x1cb)](_0x5beb85,_0x3b6334)){const _0x1309e6={};_0x1309e6['test']=_0x5beb85,await _0x3b6334['trackEvent'](TestFrameworkState[_0x49c50b(0x189)],HookState[_0x49c50b(0x1e8)],_0x1309e6);}}}else{_0x158747=_0xde96f7[_0x49c50b(0x1fa)]||_0xde96f7['id']||global[_0x49c50b(0x223)];const _0x261b70=await jestUtils[_0x49c50b(0x1cc)](_0xde96f7,_0x158747,_0x1acf8c),_0x3c5a97=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x5ba97b[_0x49c50b(0x20d)](_0x261b70,_0x3c5a97)){const _0x226928={};_0x226928[_0x49c50b(0x1e7)]=_0x261b70,_0x226928[_0x49c50b(0x19a)]=_0xde96f7,await _0x3c5a97[_0x49c50b(0x1bc)](TestFrameworkState[_0x49c50b(0x189)],HookState['POST'],_0x226928);const _0x4a9c3e={};_0x4a9c3e['testUUID']=_0x158747,_0x4a9c3e[_0x49c50b(0x1de)]=_0x5ba97b[_0x49c50b(0x199)],await _0x3c5a97[_0x49c50b(0x1bc)](TestFrameworkState[_0x49c50b(0x1c1)],HookState[_0x49c50b(0x1d5)],_0x4a9c3e);}}}catch(_0x4365f4){logger[_0x49c50b(0x1c6)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util[_0x49c50b(0x201)](_0x4365f4));throw _0x4365f4;}}exportsI[a17_0x204695(0x210)]=(..._0x1698d7)=>{const _0x1fe876=a17_0x204695,_0x4f8d49={'ZwlfF':function(_0x232f0a,_0x4eb65f,_0x19d29b){return _0x232f0a(_0x4eb65f,_0x19d29b);},'kDSvC':_0x1fe876(0x19b),'fIdJr':'jest-circus','dEkQe':'hook_start','LPBww':function(_0xd8fe2a,_0x3937fc){return _0xd8fe2a(_0x3937fc);},'JWrCH':function(_0x1205ef){return _0x1205ef();},'LqNbf':function(_0x2ea267,_0xc08d16,_0x181693,_0x49f179){return _0x2ea267(_0xc08d16,_0x181693,_0x49f179);},'MLBFW':_0x1fe876(0x1cd),'CCQPF':function(_0x4a98e0,_0x51d743){return _0x4a98e0(_0x51d743);},'ByXvt':_0x1fe876(0x1ca),'MaQxa':function(_0x523e51,_0x453609){return _0x523e51(_0x453609);},'qNhQM':function(_0x382264,_0x46b87b,_0x3c31cf,_0x2a99ba){return _0x382264(_0x46b87b,_0x3c31cf,_0x2a99ba);},'evxGp':'HookRunFinished','jlPtf':_0x1fe876(0x1c0),'kqUyc':'beforeAll','xhgUX':_0x1fe876(0x231),'nYgOM':_0x1fe876(0x1dd),'akUmI':function(_0x253c7f,_0x31d48b){return _0x253c7f>_0x31d48b;},'ZokbA':function(_0x3c1e7c,_0xde9277){return _0x3c1e7c(_0xde9277);},'YYjKd':'test_start','YkXVe':'TestRunStarted','AECRt':_0x1fe876(0x1ef),'XEPhI':function(_0x1c6e2d,_0xa1bcf8){return _0x1c6e2d(_0xa1bcf8);},'LLLqO':_0x1fe876(0x1cf),'JUAzv':_0x1fe876(0x217),'SUskm':function(_0x2074e7){return _0x2074e7();},'sxKFq':function(_0x3fde2e,_0x45197c,_0x38a170,_0x546adb){return _0x3fde2e(_0x45197c,_0x38a170,_0x546adb);},'rdNVi':'TestRunSkipped','tpeIF':function(_0x37c44f,_0x516e3c){return _0x37c44f(_0x516e3c);},'DYphf':_0x1fe876(0x1d2),'EzJXd':_0x1fe876(0x1fe),'VZAmi':function(_0x5c460d){return _0x5c460d();},'EXaFW':_0x1fe876(0x1b6),'TcGrO':function(_0x4fa817,_0xbcf048,_0x5e56a0){return _0x4fa817(_0xbcf048,_0x5e56a0);},'GasvK':_0x1fe876(0x22e),'amBOf':function(_0x464b7a,..._0x5b59a8){return _0x464b7a(..._0x5b59a8);}};try{const _0x4c4e68=new ObservabilityReporter();_0x4f8d49[_0x1fe876(0x18a)](shouldProcessEventForTesthub)&&(_0x4f8d49[_0x1fe876(0x190)](patchConsoleLogger),_0x4c4e68[_0x1fe876(0x192)]()),_0x4f8d49['VZAmi'](shouldProcessEventForTesthub)&&_0x4f8d49[_0x1fe876(0x1c3)](requireModule,_0x4f8d49[_0x1fe876(0x1b0)],_0x4f8d49[_0x1fe876(0x1a8)])[_0x1fe876(0x1c2)](_0x4f8d49[_0x1fe876(0x216)](o11yErrorHandler,async(_0x90adfb,_0x159382)=>{const _0x1504cd=_0x1fe876,_0x5ede9b=_0x4f8d49[_0x1504cd(0x1c3)](requireModule,_0x4f8d49['kDSvC'],_0x4f8d49[_0x1504cd(0x1a8)])['makeSingleTestResult'];switch(_0x90adfb[_0x1504cd(0x194)]){case _0x4f8d49[_0x1504cd(0x1eb)]:if(_0x4f8d49['LPBww'](shouldProcessEventForTesthub,testHubConstants[_0x1504cd(0x1b2)][_0x1504cd(0x1e0)])){if(_0x90adfb[_0x1504cd(0x1a4)]['fn']&&_0x90adfb[_0x1504cd(0x1a4)]['fn'][_0x1504cd(0x19e)]()['match'](/browserstack internal helper hook/))break;if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x4f8d49[_0x1504cd(0x190)](isCLIReady))try{await _0x4f8d49[_0x1504cd(0x1f5)](handleHookEventCLI,_0x90adfb[_0x1504cd(0x1a4)],_0x4f8d49[_0x1504cd(0x1b4)],_0x159382);break;}catch(_0x25ed53){_0x4f8d49[_0x1504cd(0x212)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x25ed53));}if(!_0x90adfb[_0x1504cd(0x1a4)][_0x1504cd(0x196)]){const _0x5474e7=TestDetails[_0x1504cd(0x202)](process[_0x1504cd(0x1d4)]+_0x1504cd(0x1ae));_0x90adfb[_0x1504cd(0x1a4)][_0x1504cd(0x196)]=_0x5474e7;}else _0x90adfb[_0x1504cd(0x1a4)][_0x1504cd(0x1c8)]&&(_0x90adfb[_0x1504cd(0x1a4)][_0x1504cd(0x196)]=TestDetails['setTestUUID'](process[_0x1504cd(0x1d4)]+_0x1504cd(0x1ae)),delete _0x90adfb[_0x1504cd(0x1a4)][_0x1504cd(0x1c8)]);_0x90adfb[_0x1504cd(0x1a4)][_0x1504cd(0x1bd)]=new Date()[_0x1504cd(0x1a2)](),await _0x4c4e68[_0x1504cd(0x1b9)](_0x90adfb[_0x1504cd(0x1a4)],undefined,![],_0x4f8d49[_0x1504cd(0x1b4)]);}break;case _0x4f8d49[_0x1504cd(0x1e6)]:if(_0x4f8d49['MaQxa'](shouldProcessEventForTesthub,testHubConstants[_0x1504cd(0x1b2)][_0x1504cd(0x225)])){if(BrowserstackCLI[_0x1504cd(0x21f)]()[_0x1504cd(0x1a3)]()&&await _0x4f8d49['JWrCH'](isCLIReady))try{await _0x4f8d49[_0x1504cd(0x1bb)](handleHookEventCLI,_0x90adfb[_0x1504cd(0x1a4)],_0x4f8d49['evxGp'],_0x159382);break;}catch(_0x940fb0){_0x4f8d49[_0x1504cd(0x212)](debug,_0x1504cd(0x207)+util[_0x1504cd(0x201)](_0x940fb0));}await _0x4c4e68[_0x1504cd(0x1b9)](_0x90adfb[_0x1504cd(0x1a4)],undefined,![],_0x4f8d49['evxGp']),TestDetails[_0x1504cd(0x1df)](process[_0x1504cd(0x1d4)]+':hookAnalyticsId');}break;case _0x4f8d49[_0x1504cd(0x1d9)]:[_0x4f8d49[_0x1504cd(0x21c)],_0x4f8d49[_0x1504cd(0x1b5)],_0x4f8d49['nYgOM']][_0x1504cd(0x230)](_0x90adfb[_0x1504cd(0x1a4)][_0x1504cd(0x1de)])&&(_0x4c4e68[_0x1504cd(0x1c0)]=_0x90adfb[_0x1504cd(0x1a4)][_0x1504cd(0x1de)]),_0x159382[_0x1504cd(0x1b1)]&&_0x4f8d49[_0x1504cd(0x1ba)](_0x159382[_0x1504cd(0x1b1)][_0x1504cd(0x1aa)],0x0)&&(_0x90adfb[_0x1504cd(0x1a4)][_0x1504cd(0x1e2)]=[_0x159382[_0x1504cd(0x1b1)][0x0][0x0]]);if(_0x4f8d49[_0x1504cd(0x1a0)](shouldProcessEventForTesthub,testHubConstants[_0x1504cd(0x1b2)][_0x1504cd(0x225)])){if(BrowserstackCLI[_0x1504cd(0x21f)]()[_0x1504cd(0x1a3)]()&&await _0x4f8d49[_0x1504cd(0x190)](isCLIReady))try{await _0x4f8d49[_0x1504cd(0x1f5)](handleHookEventCLI,_0x90adfb['hook'],_0x4f8d49[_0x1504cd(0x21a)],_0x159382);break;}catch(_0x5e77ae){_0x4f8d49['ZokbA'](debug,_0x1504cd(0x207)+util[_0x1504cd(0x201)](_0x5e77ae));}await _0x4c4e68['sendTestRunEvent'](_0x90adfb[_0x1504cd(0x1a4)],undefined,![],_0x4f8d49['evxGp']),TestDetails[_0x1504cd(0x1df)](process['pid']+_0x1504cd(0x1ae));}break;case _0x4f8d49[_0x1504cd(0x1d6)]:if(_0x4f8d49[_0x1504cd(0x190)](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x1504cd(0x21f)]()[_0x1504cd(0x1a3)]()&&await _0x4f8d49[_0x1504cd(0x190)](isCLIReady))try{await _0x4f8d49['qNhQM'](handleTestEventCLI,_0x90adfb[_0x1504cd(0x1e7)],_0x4f8d49[_0x1504cd(0x186)],_0x4c4e68);break;}catch(_0x55488a){_0x4f8d49['MaQxa'](debug,_0x1504cd(0x207)+util[_0x1504cd(0x201)](_0x55488a));}await _0x4c4e68['testStarted'](_0x90adfb[_0x1504cd(0x1e7)]);}break;case _0x4f8d49[_0x1504cd(0x1fd)]:_0x90adfb[_0x1504cd(0x1e7)]={..._0x4f8d49[_0x1504cd(0x1e9)](_0x5ede9b,_0x90adfb[_0x1504cd(0x1e7)]),..._0x90adfb[_0x1504cd(0x1e7)]};if(_0x4f8d49[_0x1504cd(0x190)](shouldProcessEventForTesthub)){if(!_0x90adfb[_0x1504cd(0x1e7)][_0x1504cd(0x1c8)]){_0x90adfb['test'][_0x1504cd(0x1c8)]=!![];if(BrowserstackCLI[_0x1504cd(0x21f)]()[_0x1504cd(0x1a3)]()&&await _0x4f8d49[_0x1504cd(0x190)](isCLIReady))try{await _0x4f8d49['qNhQM'](handleTestEventCLI,_0x90adfb[_0x1504cd(0x1e7)],_0x4f8d49[_0x1504cd(0x1f9)],_0x4c4e68);break;}catch(_0x3649a4){_0x4f8d49['MaQxa'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x3649a4));}await _0x4c4e68[_0x1504cd(0x1b9)](_0x90adfb[_0x1504cd(0x1e7)]);}}break;case _0x4f8d49[_0x1504cd(0x19c)]:_0x90adfb[_0x1504cd(0x1e7)]={..._0x4f8d49[_0x1504cd(0x1e3)](_0x5ede9b,_0x90adfb[_0x1504cd(0x1e7)]),..._0x90adfb[_0x1504cd(0x1e7)]};if(_0x4f8d49[_0x1504cd(0x190)](shouldProcessEventForTesthub)){if(!_0x90adfb[_0x1504cd(0x1e7)][_0x1504cd(0x1c8)]){_0x90adfb[_0x1504cd(0x1e7)][_0x1504cd(0x1c8)]=!![];if(BrowserstackCLI[_0x1504cd(0x21f)]()[_0x1504cd(0x1a3)]()&&await _0x4f8d49[_0x1504cd(0x18a)](isCLIReady))try{await _0x4f8d49[_0x1504cd(0x1ec)](handleTestEventCLI,_0x90adfb[_0x1504cd(0x1e7)],_0x4f8d49[_0x1504cd(0x1f0)],_0x4c4e68);break;}catch(_0x3745e5){_0x4f8d49[_0x1504cd(0x1d8)](debug,_0x1504cd(0x207)+util[_0x1504cd(0x201)](_0x3745e5));}await _0x4c4e68[_0x1504cd(0x1b9)](_0x90adfb['test'],undefined,![],_0x4f8d49[_0x1504cd(0x1f0)]);}}break;case _0x4f8d49['DYphf']:_0x4c4e68[_0x1504cd(0x1c0)]=null;break;case _0x4f8d49[_0x1504cd(0x1bf)]:await RequestQueueHandler['getInstance']()[_0x1504cd(0x1ee)](),process['removeAllListeners']();break;default:}},_0x4f8d49['GasvK']));}catch(_0x4da6c0){_0x4f8d49[_0x1fe876(0x1e9)](debug,_0x1fe876(0x208)+_0x4da6c0);}return _0x4f8d49['amBOf'](initInitialize,..._0x1698d7);};try{Object[a17_0x204695(0x21d)](exportsI)[a17_0x204695(0x1f4)](_0xd7aac2=>{const _0x4b8b05=a17_0x204695,_0x4ca93d={'fbbyi':function(_0x1dbedd,_0x5ed91e){return _0x1dbedd(_0x5ed91e);}};try{exports&&(exports[_0xd7aac2]=exportsI[_0xd7aac2]);}catch(_0x42b15c){_0x4ca93d[_0x4b8b05(0x20c)](debug,'Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20'+_0x42b15c);}});}catch(a17_0x45a385){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x45a385);}
@@ -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_0x28bf9c=a18_0x2f96;(function(_0x17bd2b,_0x53e333){const _0x4a64d8=a18_0x2f96,_0xc2b467=_0x17bd2b();while(!![]){try{const _0xc4843c=parseInt(_0x4a64d8(0x93))/0x1+parseInt(_0x4a64d8(0x91))/0x2*(parseInt(_0x4a64d8(0x96))/0x3)+parseInt(_0x4a64d8(0x92))/0x4*(parseInt(_0x4a64d8(0x94))/0x5)+-parseInt(_0x4a64d8(0x98))/0x6*(-parseInt(_0x4a64d8(0x9b))/0x7)+parseInt(_0x4a64d8(0xa1))/0x8*(parseInt(_0x4a64d8(0x9c))/0x9)+parseInt(_0x4a64d8(0x8d))/0xa+parseInt(_0x4a64d8(0x8f))/0xb*(-parseInt(_0x4a64d8(0xa0))/0xc);if(_0xc4843c===_0x53e333)break;else _0xc2b467['push'](_0xc2b467['shift']());}catch(_0x122639){_0xc2b467['push'](_0xc2b467['shift']());}}}(a18_0x2e0e,0xa7223));const Sequencer=require('@jest/test-sequencer')[a18_0x28bf9c(0x9e)];class CustomSequencer extends Sequencer{[a18_0x28bf9c(0x9d)](_0x5d2ec8){const _0x1be97d=a18_0x28bf9c,_0x5ee04d=process[_0x1be97d(0x90)][_0x1be97d(0x9f)];if(!_0x5ee04d)return _0x5d2ec8;const _0x11b346=_0x5ee04d['split'](','),_0x4edc2d=new Map(_0x5d2ec8[_0x1be97d(0x99)](_0x5c5b83=>_0x11b346[_0x1be97d(0x9a)](_0x5c5b83[_0x1be97d(0x95)]))['map'](_0x13ff93=>[_0x13ff93[_0x1be97d(0x95)],_0x13ff93]));return _0x11b346['map'](_0x45e2d6=>_0x4edc2d[_0x1be97d(0x8e)](_0x45e2d6))[_0x1be97d(0x99)](Boolean);}}function a18_0x2f96(_0x480b87,_0x2fa23b){const _0x2e0efb=a18_0x2e0e();return a18_0x2f96=function(_0x2f962a,_0x328c91){_0x2f962a=_0x2f962a-0x8d;let _0x523c22=_0x2e0efb[_0x2f962a];return _0x523c22;},a18_0x2f96(_0x480b87,_0x2fa23b);}module[a18_0x28bf9c(0x97)]=CustomSequencer;function a18_0x2e0e(){const _0x22c909=['850156Zluauz','360epitOL','path','132FzZJVE','exports','7647396XOKBoL','filter','includes','7IZzZuT','18nRMROc','sort','default','JEST_TEST_ORDER','49540188tSoDUC','4468656uIfxyC','8874180LMRDTL','get','11VREEZo','env','29120BSlPuv','2388RESXoC'];a18_0x2e0e=function(){return _0x22c909;};return a18_0x2e0e();}
@@ -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_0x420db2=a19_0x2b4a;function a19_0x2b4a(_0x293c26,_0x4c6289){const _0x43eb6b=a19_0x43eb();return a19_0x2b4a=function(_0x2b4a50,_0x11ed72){_0x2b4a50=_0x2b4a50-0x6f;let _0x548420=_0x43eb6b[_0x2b4a50];return _0x548420;},a19_0x2b4a(_0x293c26,_0x4c6289);}(function(_0x576efe,_0x6ba4f3){const _0x3f9be5=a19_0x2b4a,_0x39cba0=_0x576efe();while(!![]){try{const _0x2ea4f6=parseInt(_0x3f9be5(0x76))/0x1+parseInt(_0x3f9be5(0x79))/0x2+parseInt(_0x3f9be5(0x7f))/0x3*(-parseInt(_0x3f9be5(0x72))/0x4)+parseInt(_0x3f9be5(0x7a))/0x5+parseInt(_0x3f9be5(0x82))/0x6*(parseInt(_0x3f9be5(0x88))/0x7)+-parseInt(_0x3f9be5(0x91))/0x8*(parseInt(_0x3f9be5(0x86))/0x9)+-parseInt(_0x3f9be5(0x8f))/0xa*(parseInt(_0x3f9be5(0x85))/0xb);if(_0x2ea4f6===_0x6ba4f3)break;else _0x39cba0['push'](_0x39cba0['shift']());}catch(_0x3e23a5){_0x39cba0['push'](_0x39cba0['shift']());}}}(a19_0x43eb,0x5d49a));function a19_0x43eb(){const _0x20944b=['push','jest-runner','value','2276lWROxP','context','_globalConfig','__esModule','470321zQsAUC','mnOGh','serial__','881856wZjHZr','1269455kIuOig','runTests','config','../../../helpers/helper','capabilities','1167PPpTkb','UmVoV','ZBRVU','22164OLoPJQ','gaiTY','tWumT','69982FBeRyr','9zkrxFw','yAgvg','413uSlGkP','default','testEnvironmentOptions','length','forEach','freeze','serial','440zXzYRP','defineProperty','3997688DJvBZH','exports'];a19_0x43eb=function(){return _0x20944b;};return a19_0x43eb();}const {requireModule,isBrowserstackInfra}=require(a19_0x420db2(0x7d)),a19_0x185b5c={};a19_0x185b5c[a19_0x420db2(0x71)]=!![],Object[a19_0x420db2(0x90)](exports,'__esModule',a19_0x185b5c),exports['default']=void 0x0;function _interopRequireDefault(_0x35d187){const _0x16b474=a19_0x420db2;return _0x35d187&&_0x35d187[_0x16b474(0x75)]?_0x35d187:{'default':_0x35d187};}const JestRunner=_interopRequireDefault(requireModule(a19_0x420db2(0x70)))[a19_0x420db2(0x89)];class TestRunner extends JestRunner{constructor(..._0x42dd83){super(..._0x42dd83);}['runTests'](..._0x1de962){const _0x355c4e=a19_0x420db2,_0x33d67e={'yAgvg':function(_0x21f956){return _0x21f956();},'mnOGh':function(_0x64322b,_0x203468){return _0x64322b-_0x203468;},'UmVoV':function(_0x51188a,_0x20508f){return _0x51188a*_0x20508f;},'tWumT':function(_0x5de7e7,_0x209031){return _0x5de7e7===_0x209031;},'gaiTY':'false','ZBRVU':function(_0x3c204d,_0x12e4f3){return _0x3c204d<_0x12e4f3;}};if(!_0x33d67e[_0x355c4e(0x87)](isBrowserstackInfra))return super['runTests'](..._0x1de962);const _0x97d941=_0x1de962[0x0],_0x307e2d=_0x1de962[_0x33d67e[_0x355c4e(0x77)](_0x1de962['length'],0x1)],_0x28937a=_0x97d941[0x0][_0x355c4e(0x73)][_0x355c4e(0x7c)][_0x355c4e(0x8a)][_0x355c4e(0x7e)],_0x396e37=_0x97d941[0x0][_0x355c4e(0x73)][_0x355c4e(0x7c)][_0x355c4e(0x8a)]['parallels__'];_0x396e37&&(this['_globalConfig']=Object[_0x355c4e(0x8d)]({...this[_0x355c4e(0x74)],'maxWorkers':_0x33d67e[_0x355c4e(0x80)](_0x396e37,_0x28937a['length'])}));_0x33d67e[_0x355c4e(0x84)](_0x97d941[0x0]['context']['config'][_0x355c4e(0x8a)][_0x355c4e(0x78)],_0x33d67e[_0x355c4e(0x83)])&&(_0x307e2d&&(_0x307e2d[_0x355c4e(0x8e)]=![]));const _0x4d22f1=[];for(let _0x3fb204=0x0;_0x33d67e[_0x355c4e(0x81)](_0x3fb204,_0x97d941[_0x355c4e(0x8b)]);_0x3fb204++){const _0x454488=[];_0x28937a[_0x355c4e(0x8c)]((_0x2781b4,_0x49fc22)=>{const _0x5c64e5=_0x355c4e,_0xb73492={..._0x97d941[_0x3fb204]},_0x2c4f49=_0xb73492;_0x2c4f49[_0x5c64e5(0x73)]=Object[_0x5c64e5(0x8d)]({..._0x2c4f49[_0x5c64e5(0x73)],'config':{..._0x2c4f49[_0x5c64e5(0x73)][_0x5c64e5(0x7c)],'capability':_0x2781b4,'browserstackPlatformIndex':_0x49fc22}}),_0x454488[_0x5c64e5(0x6f)](_0x2c4f49);}),_0x4d22f1['push'](..._0x454488);}return super[_0x355c4e(0x7b)](_0x4d22f1,..._0x1de962['slice'](0x1));}}module[a19_0x420db2(0x92)]=TestRunner;