browserstack-node-sdk 1.48.0 → 1.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/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
- function a10_0x463a(_0x1d2e60,_0x24c251){const _0x53faaf=a10_0x53fa();return a10_0x463a=function(_0x463a45,_0x5e3674){_0x463a45=_0x463a45-0x73;let _0x24a4b6=_0x53faaf[_0x463a45];return _0x24a4b6;},a10_0x463a(_0x1d2e60,_0x24c251);}function a10_0x53fa(){const _0x80b789=['passed','\x20|\x20','__error_messages__','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','result','initQuit','status','324282wlBJiq','../../helpers/logger','parse','7608198UfZXOY','env','762053RAYCuD','uyfry','skipSessionName','Inside\x20browserstack\x20Before','17152GPfFXO','setDefaultTimeout','bstack','executeScript','Error:\x20quiting\x20at\x20After:\x20','7752qJgdAn','name','SftXj','RrIiv','then','MEwPJ','Oxvpg','rMRmW','\x22}}','CONFIG','__driver','3374eIyBVv','__timeout','__platformCaps','debug','cucumber/lib/index.js','wVwOH','session_','1705059tlqXYU','xolOm','yFjbf','wmZHv','pickle','../../index','Inside\x20browserstack\x20After','4202328uUcAhC','cucumber','../../helpers/setKeepAlive','browserstackAgentV2','failed','155TwQysA'];a10_0x53fa=function(){return _0x80b789;};return a10_0x53fa();}const a10_0x4664a0=a10_0x463a;(function(_0x4c6cb3,_0x32b6b4){const _0x8df8fe=a10_0x463a,_0x418834=_0x4c6cb3();while(!![]){try{const _0x3e0d1c=parseInt(_0x8df8fe(0x84))/0x1+-parseInt(_0x8df8fe(0x7f))/0x2+parseInt(_0x8df8fe(0xa6))/0x3+-parseInt(_0x8df8fe(0x88))/0x4*(parseInt(_0x8df8fe(0x77))/0x5)+-parseInt(_0x8df8fe(0x82))/0x6+-parseInt(_0x8df8fe(0x98))/0x7*(-parseInt(_0x8df8fe(0x8d))/0x8)+-parseInt(_0x8df8fe(0x9f))/0x9;if(_0x3e0d1c===_0x32b6b4)break;else _0x418834['push'](_0x418834['shift']());}catch(_0x564cb6){_0x418834['push'](_0x418834['shift']());}}}(a10_0x53fa,0xd6316));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x4664a0(0x74)),cucumberModule=requireModule(a10_0x4664a0(0x9c),a10_0x4664a0(0x73)),logger=require(a10_0x4664a0(0x80))['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule['After'],configuration=process[a10_0x4664a0(0x83)][a10_0x4664a0(0x96)];if(configuration!==undefined){const config=JSON[a10_0x4664a0(0x81)](configuration);isTrue(config[a10_0x4664a0(0x86)])&&(global['__skipSessionName']=!![]),global['__skipSessionStatus']=isTrue(config['skipSessionStatus']),require(a10_0x4664a0(0xa4))[a10_0x4664a0(0x75)](config),global[a10_0x4664a0(0x9a)]=config['platformCaps']||{};}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a10_0x4664a0(0x89)];cucumberModule[a10_0x4664a0(0x89)]=_0x31d035=>{const _0x2666fe=a10_0x4664a0,_0x5c7b65={'yTCOn':function(_0x2213a1,_0x65b898){return _0x2213a1(_0x65b898);}};global[_0x2666fe(0x99)]=_0x31d035,_0x5c7b65['yTCOn'](__setDefaultTimeout,_0x31d035);};const a10_0x3b8368={};a10_0x3b8368[a10_0x4664a0(0x8e)]='bstack',Before(a10_0x3b8368,function(){const _0x434972=a10_0x4664a0,_0x8c5fa3={};_0x8c5fa3[_0x434972(0x92)]=_0x434972(0x87);const _0x186d2c=_0x8c5fa3;logger[_0x434972(0x9b)](_0x186d2c['MEwPJ']),global[_0x434972(0x7a)]=[];});const a10_0x3c14c5={};a10_0x3c14c5['name']=a10_0x4664a0(0x8a),a10_0x3c14c5['timeout']=0x2710,After(a10_0x3c14c5,function(_0x36eeb3,_0xe0405c){const _0x6abc8f=a10_0x4664a0,_0x445368={'SftXj':function(_0x13c693,_0x5066c7){return _0x13c693===_0x5066c7;},'yFjbf':_0x6abc8f(0x76),'wmZHv':function(_0x210347,_0x3ce60e,_0x389bae,_0x5c575b){return _0x210347(_0x3ce60e,_0x389bae,_0x5c575b);},'uyfry':_0x6abc8f(0x79),'wVwOH':function(_0x276c00,_0x1323f7,_0x3800fb){return _0x276c00(_0x1323f7,_0x3800fb);},'eJZYF':_0x6abc8f(0x78),'Oxvpg':function(_0x4e7386){return _0x4e7386();},'RrIiv':function(_0x5cde3e,_0x201415){return _0x5cde3e(_0x201415);},'rMRmW':function(_0x2a600d){return _0x2a600d();},'xolOm':_0x6abc8f(0xa5)};logger[_0x6abc8f(0x9b)](_0x445368[_0x6abc8f(0xa0)]),new Promise(async(_0x1dfc2d,_0x1b448f)=>{const _0x4b73c6=_0x6abc8f;let _0x2f383e=![];try{await global[_0x4b73c6(0x97)][_0x4b73c6(0x9e)],_0x2f383e=!![],!global['__skipSessionName']&&await global['__driver'][_0x4b73c6(0x8b)](_0x4b73c6(0x7b)+_0x36eeb3[_0x4b73c6(0xa3)][_0x4b73c6(0x8e)]+_0x4b73c6(0x95)),_0x445368[_0x4b73c6(0x8f)](_0x36eeb3[_0x4b73c6(0x7c)][_0x4b73c6(0x7e)]['toLowerCase'](),_0x445368[_0x4b73c6(0xa1)])?await _0x445368[_0x4b73c6(0xa2)](markSessionStatus,global['__driver'],_0x445368[_0x4b73c6(0xa1)],global[_0x4b73c6(0x7a)]['join'](_0x445368[_0x4b73c6(0x85)])):await _0x445368[_0x4b73c6(0x9d)](markSessionStatus,global[_0x4b73c6(0x97)],_0x445368['eJZYF']);}catch(_0x2a69e1){logger[_0x4b73c6(0x9b)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x2a69e1);}if(_0x2f383e)try{await global[_0x4b73c6(0x97)][_0x4b73c6(0x7d)](),_0x445368[_0x4b73c6(0x93)](_0x1dfc2d);}catch(_0x45ee4a){logger[_0x4b73c6(0x9b)](_0x4b73c6(0x8c)+_0x45ee4a),_0x445368[_0x4b73c6(0x90)](_0x1b448f,_0x45ee4a);}else _0x445368[_0x4b73c6(0x94)](_0x1b448f);})[_0x6abc8f(0x91)](()=>_0xe0405c());});
1
+ const a10_0x18a17f=a10_0xea7f;(function(_0x48da2b,_0x5ab75f){const _0x5edd62=a10_0xea7f,_0x4710f0=_0x48da2b();while(!![]){try{const _0x515738=-parseInt(_0x5edd62(0x156))/0x1+parseInt(_0x5edd62(0x178))/0x2*(-parseInt(_0x5edd62(0x183))/0x3)+-parseInt(_0x5edd62(0x181))/0x4+parseInt(_0x5edd62(0x157))/0x5*(parseInt(_0x5edd62(0x171))/0x6)+parseInt(_0x5edd62(0x17f))/0x7*(-parseInt(_0x5edd62(0x17a))/0x8)+parseInt(_0x5edd62(0x16f))/0x9*(parseInt(_0x5edd62(0x187))/0xa)+parseInt(_0x5edd62(0x16b))/0xb;if(_0x515738===_0x5ab75f)break;else _0x4710f0['push'](_0x4710f0['shift']());}catch(_0x46a404){_0x4710f0['push'](_0x4710f0['shift']());}}}(a10_0x5b66,0x47fd1));function a10_0xea7f(_0x58550b,_0x55d335){const _0x5b66cd=a10_0x5b66();return a10_0xea7f=function(_0xea7f2c,_0x53b75c){_0xea7f2c=_0xea7f2c-0x156;let _0x2d340a=_0x5b66cd[_0xea7f2c];return _0x2d340a;},a10_0xea7f(_0x58550b,_0x55d335);}const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x18a17f(0x188)),setKeepAlive=require(a10_0x18a17f(0x164)),cucumberModule=requireModule(a10_0x18a17f(0x162),a10_0x18a17f(0x160)),logger=require('../../helpers/logger')[a10_0x18a17f(0x15e)];modifyCommand(),setKeepAlive();function a10_0x5b66(){const _0xdd2e2e=['KsJpt','pickle','__platformCaps','__error_messages__','passed','25350rDNoFT','__timeout','8LmscLw','__driver','debug','sDDmS','MzSVz','3731483nFyjIQ','join','2031812pXOjqM','executeScript','114yBmubm','After','__skipSessionName','CggUj','20dUfyjv','../../helpers/helper','429694mrWnxN','286635KPyUVj','platformCaps','skipSessionStatus','xyPJs','Error:\x20quiting\x20at\x20After:\x20','CONFIG','Error:\x20setting\x20status\x20at\x20After:\x20','winstonLogger','Inside\x20browserstack\x20After','cucumber','session_','cucumber/lib/index.js','bstack','../../helpers/setKeepAlive','initQuit','__skipSessionStatus','name','timeout','env','Before','20226998iflBtm','skipSessionName','parse','gMqsO','548001lfbyyo','\x20|\x20','30wgmiPF','browserstackAgentV2'];a10_0x5b66=function(){return _0xdd2e2e;};return a10_0x5b66();}const Before=cucumberModule[a10_0x18a17f(0x16a)],After=cucumberModule[a10_0x18a17f(0x184)],configuration=process[a10_0x18a17f(0x169)][a10_0x18a17f(0x15c)];if(configuration!==undefined){const config=JSON[a10_0x18a17f(0x16d)](configuration);isTrue(config[a10_0x18a17f(0x16c)])&&(global['__skipSessionName']=!![]),global[a10_0x18a17f(0x166)]=isTrue(config[a10_0x18a17f(0x159)]),require('../../index')[a10_0x18a17f(0x172)](config),global[a10_0x18a17f(0x175)]=config[a10_0x18a17f(0x158)]||{};}global[a10_0x18a17f(0x179)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule['setDefaultTimeout']=_0x26deca=>{const _0x3a7fad=a10_0x18a17f,_0x5147ef={'xyPJs':function(_0x30dd36,_0x585cc4){return _0x30dd36(_0x585cc4);}};global[_0x3a7fad(0x179)]=_0x26deca,_0x5147ef[_0x3a7fad(0x15a)](__setDefaultTimeout,_0x26deca);};const a10_0x5320fd={};a10_0x5320fd[a10_0x18a17f(0x167)]=a10_0x18a17f(0x163),Before(a10_0x5320fd,function(){const _0x45cdad=a10_0x18a17f,_0x2a3437={};_0x2a3437[_0x45cdad(0x17d)]='Inside\x20browserstack\x20Before';const _0x3835ed=_0x2a3437;logger['debug'](_0x3835ed[_0x45cdad(0x17d)]),global[_0x45cdad(0x176)]=[];});const a10_0x3eda78={};a10_0x3eda78['name']='bstack',a10_0x3eda78[a10_0x18a17f(0x168)]=0x2710,After(a10_0x3eda78,function(_0x9b6765,_0x27f819){const _0x4f8bdf=a10_0x18a17f,_0x1736a1={'QskDM':function(_0x27b58c,_0x406660){return _0x27b58c===_0x406660;},'KsJpt':'failed','cPOSy':function(_0x3bcbf6,_0x376797,_0x156ea6,_0x5d5f0c){return _0x3bcbf6(_0x376797,_0x156ea6,_0x5d5f0c);},'NJYnn':_0x4f8bdf(0x170),'CggUj':function(_0x1d29c8,_0x33bee2,_0x3a2d8f){return _0x1d29c8(_0x33bee2,_0x3a2d8f);},'bUAEa':_0x4f8bdf(0x177),'MzSVz':function(_0x43f79a){return _0x43f79a();},'qWkOr':function(_0x5d9706,_0xe2978){return _0x5d9706(_0xe2978);},'gMqsO':_0x4f8bdf(0x15f)};logger[_0x4f8bdf(0x17c)](_0x1736a1[_0x4f8bdf(0x16e)]),new Promise(async(_0x33b887,_0x55485f)=>{const _0x2b0805=_0x4f8bdf;let _0x5715cd=![];try{await global[_0x2b0805(0x17b)][_0x2b0805(0x161)],_0x5715cd=!![],!global[_0x2b0805(0x185)]&&await global[_0x2b0805(0x17b)][_0x2b0805(0x182)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x9b6765[_0x2b0805(0x174)][_0x2b0805(0x167)]+'\x22}}'),_0x1736a1['QskDM'](_0x9b6765['result']['status']['toLowerCase'](),_0x1736a1[_0x2b0805(0x173)])?await _0x1736a1['cPOSy'](markSessionStatus,global[_0x2b0805(0x17b)],_0x1736a1[_0x2b0805(0x173)],global['__error_messages__'][_0x2b0805(0x180)](_0x1736a1['NJYnn'])):await _0x1736a1[_0x2b0805(0x186)](markSessionStatus,global[_0x2b0805(0x17b)],_0x1736a1['bUAEa']);}catch(_0x4a1d94){logger[_0x2b0805(0x17c)](_0x2b0805(0x15d)+_0x4a1d94);}if(_0x5715cd)try{await global[_0x2b0805(0x17b)][_0x2b0805(0x165)](),_0x1736a1[_0x2b0805(0x17e)](_0x33b887);}catch(_0x376369){logger[_0x2b0805(0x17c)](_0x2b0805(0x15b)+_0x376369),_0x1736a1['qWkOr'](_0x55485f,_0x376369);}else _0x1736a1['MzSVz'](_0x55485f);})['then'](()=>_0x27f819());});
@@ -1 +1 @@
1
- const a11_0x245cb1=a11_0x3149;function a11_0x3149(_0x3ba35e,_0x105788){const _0x5ade37=a11_0x5ade();return a11_0x3149=function(_0x3149f3,_0x1a0aca){_0x3149f3=_0x3149f3-0x176;let _0x58fb2f=_0x5ade37[_0x3149f3];return _0x58fb2f;},a11_0x3149(_0x3ba35e,_0x105788);}(function(_0x56cf71,_0x45b409){const _0x221f1f=a11_0x3149,_0x462ea2=_0x56cf71();while(!![]){try{const _0x16482c=parseInt(_0x221f1f(0x178))/0x1*(-parseInt(_0x221f1f(0x176))/0x2)+-parseInt(_0x221f1f(0x177))/0x3*(-parseInt(_0x221f1f(0x179))/0x4)+-parseInt(_0x221f1f(0x17d))/0x5*(-parseInt(_0x221f1f(0x17f))/0x6)+parseInt(_0x221f1f(0x17b))/0x7*(parseInt(_0x221f1f(0x181))/0x8)+-parseInt(_0x221f1f(0x187))/0x9*(-parseInt(_0x221f1f(0x185))/0xa)+parseInt(_0x221f1f(0x188))/0xb+parseInt(_0x221f1f(0x186))/0xc*(-parseInt(_0x221f1f(0x17c))/0xd);if(_0x16482c===_0x45b409)break;else _0x462ea2['push'](_0x462ea2['shift']());}catch(_0x33064e){_0x462ea2['push'](_0x462ea2['shift']());}}}(a11_0x5ade,0xb87a3));const {requireModule}=require(a11_0x245cb1(0x180)),constants=require(a11_0x245cb1(0x183));;let cucumberModule=null;function a11_0x5ade(){const _0x17c17e=['257232dVVNfe','setDefaultTimeout','../utils/constants','@cucumber/cucumber','1370QfUGTS','12yKuguR','53577qgUHSm','12288529KpUZKE','304gpDAez','173823KWRUzm','1273ZJFLXC','12cRYgry','cucumber','217IwktgT','31859633DAAQxP','164755wMykWH','cucumber/lib/index.js','54zqNvuu','../../helpers/helper'];a11_0x5ade=function(){return _0x17c17e;};return a11_0x5ade();}try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a11_0x245cb1(0x184));}catch(a11_0x2e3cf3){cucumberModule=requireModule(a11_0x245cb1(0x17e),a11_0x245cb1(0x17a));}cucumberModule[a11_0x245cb1(0x182)](constants['BSTACK_DELTA']+global['__timeout']*0x1);
1
+ const a11_0x58bd44=a11_0x11d0;(function(_0x3e790c,_0x3dbe3d){const _0x2cc788=a11_0x11d0,_0x323b5d=_0x3e790c();while(!![]){try{const _0x407aaa=-parseInt(_0x2cc788(0xaa))/0x1*(parseInt(_0x2cc788(0xad))/0x2)+-parseInt(_0x2cc788(0xa9))/0x3+parseInt(_0x2cc788(0xa3))/0x4+parseInt(_0x2cc788(0xa2))/0x5*(parseInt(_0x2cc788(0xac))/0x6)+-parseInt(_0x2cc788(0xa7))/0x7+-parseInt(_0x2cc788(0x9f))/0x8+parseInt(_0x2cc788(0xa4))/0x9;if(_0x407aaa===_0x3dbe3d)break;else _0x323b5d['push'](_0x323b5d['shift']());}catch(_0xde5e15){_0x323b5d['push'](_0x323b5d['shift']());}}}(a11_0x4e8c,0x66b01));function a11_0x11d0(_0xef9537,_0x21ca15){const _0x4e8c50=a11_0x4e8c();return a11_0x11d0=function(_0x11d02c,_0x52762f){_0x11d02c=_0x11d02c-0x9f;let _0x3398e1=_0x4e8c50[_0x11d02c];return _0x3398e1;},a11_0x11d0(_0xef9537,_0x21ca15);}const {requireModule}=require(a11_0x58bd44(0xab)),constants=require('../utils/constants');;let cucumberModule=null;try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a11_0x58bd44(0xa5));}catch(a11_0x59b09c){cucumberModule=requireModule(a11_0x58bd44(0xa1),'cucumber');}function a11_0x4e8c(){const _0x38d75a=['../../helpers/helper','10446UwBKGq','314064GdKkEV','3130280Ekytko','__timeout','cucumber/lib/index.js','2395KCHVfq','2733420xXXXRI','2290302pOilhq','@cucumber/cucumber','setDefaultTimeout','1386jihfUd','BSTACK_DELTA','994656ICpOWz','4tohBTu'];a11_0x4e8c=function(){return _0x38d75a;};return a11_0x4e8c();}cucumberModule[a11_0x58bd44(0xa6)](constants[a11_0x58bd44(0xa8)]+global[a11_0x58bd44(0xa0)]*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a12_0x801a54=a12_0x1d45;function a12_0x1d45(_0x5a5fad,_0x5d9df1){const _0x39ae9f=a12_0x39ae();return a12_0x1d45=function(_0x1d45b2,_0x3559d1){_0x1d45b2=_0x1d45b2-0x1e7;let _0x41ef38=_0x39ae9f[_0x1d45b2];return _0x41ef38;},a12_0x1d45(_0x5a5fad,_0x5d9df1);}(function(_0x4a35ee,_0x301afd){const _0x5d5476=a12_0x1d45,_0xd7c286=_0x4a35ee();while(!![]){try{const _0x3bea29=-parseInt(_0x5d5476(0x200))/0x1+-parseInt(_0x5d5476(0x1ea))/0x2+-parseInt(_0x5d5476(0x205))/0x3*(-parseInt(_0x5d5476(0x1ee))/0x4)+parseInt(_0x5d5476(0x1fc))/0x5*(parseInt(_0x5d5476(0x1f9))/0x6)+-parseInt(_0x5d5476(0x1f1))/0x7+parseInt(_0x5d5476(0x1f2))/0x8*(-parseInt(_0x5d5476(0x221))/0x9)+parseInt(_0x5d5476(0x212))/0xa*(parseInt(_0x5d5476(0x22c))/0xb);if(_0x3bea29===_0x301afd)break;else _0xd7c286['push'](_0xd7c286['shift']());}catch(_0x3784e1){_0xd7c286['push'](_0xd7c286['shift']());}}}(a12_0x39ae,0xcae54));function a12_0x39ae(){const _0x468f96=['952YmlyJU','integrations','help','443','OQpyC','usage','options','18QVOchF','accessKey','browserStackLocalOptions','1837105PVZxsw','gUbaN','command','ZUVch','1090513WfAxaN','winstonLogger','https:','every','jPchG','963dmsfCr','unkfU','jncIo','bstackAccessKey','port','only','map','describe','setupBrowserstackLocal','undefined','../../helpers/logger','CAuTi','axlvY','3990tnkTIF','Connection\x20established\x20successfully.','hosts','epilogue','protocol','url','tXmfZ','split','integrations-repeater','config','connect','bstackAccesskey','demandCommand','error','aLIsY','101700SzlwOI','xTNlw','Hosts\x20not\x20valid','lnoOU','localIdentifier','browserstackLocal','string','yqblF','info','AIlJX','trim','64559fhNKSY','BrowserStack\x20access\x20key\x20missing.','../../helpers/BrowserStackSetup','demandOption','type','toString','1792318nlCMvu','nWSum','pJkOc','root','19540lzptZj','Failed\x20to\x20establish\x20connection.','Integration\x20hosts\x20missing.','5947529ekXVtl'];a12_0x39ae=function(){return _0x468f96;};return a12_0x39ae();}const {default:BrowserStackSetup}=require(a12_0x801a54(0x22e)),logger=require(a12_0x801a54(0x20f))[a12_0x801a54(0x201)],{URL}=require(a12_0x801a54(0x217)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x76b320){const _0x1def21=a12_0x801a54;return _0x76b320[_0x1def21(0x219)](',')[_0x1def21(0x203)](_0x458b4d=>{const _0x5f41b1=_0x1def21;try{new URL(_0x458b4d[_0x5f41b1(0x22b)]());}catch(_0x81e5f7){return![];}return!![];});},parseOnPremHosts=function(_0x204c2b){const _0x37b5ef=a12_0x801a54,_0x2a613a={};_0x2a613a[_0x37b5ef(0x1f6)]=function(_0x4a3863,_0x471a83){return _0x4a3863===_0x471a83;},_0x2a613a[_0x37b5ef(0x220)]=_0x37b5ef(0x202),_0x2a613a[_0x37b5ef(0x1eb)]=_0x37b5ef(0x1f5),_0x2a613a[_0x37b5ef(0x211)]=function(_0x24d9a0,_0x11d6a1){return _0x24d9a0===_0x11d6a1;},_0x2a613a['gUbaN']='https';const _0x4aa28d=_0x2a613a;return _0x204c2b['split'](',')[_0x37b5ef(0x20b)](_0x55444c=>{const _0x2975a3=_0x37b5ef,_0xa09f10=new URL(_0x55444c[_0x2975a3(0x22b)]()),_0x42a102=_0xa09f10['hostname'],_0x2b3ccb=_0xa09f10[_0x2975a3(0x209)]||(_0x4aa28d[_0x2975a3(0x1f6)](_0xa09f10['protocol'],_0x4aa28d[_0x2975a3(0x220)])?_0x4aa28d[_0x2975a3(0x1eb)]:'80'),_0x3942a5=_0xa09f10[_0x2975a3(0x216)]['replace'](':',''),_0x4573cb=_0x4aa28d['axlvY'](_0x3942a5,_0x4aa28d[_0x2975a3(0x1fd)])?0x1:0x0;return _0x42a102+','+_0x2b3ccb+','+_0x4573cb;});},connectCommandBuilder=function(_0x568faa){const _0x3d77d3=a12_0x801a54,_0x41b0f8={};_0x41b0f8['AIlJX']=_0x3d77d3(0x227);const _0x4f5574=_0x41b0f8,_0x55e7b5={};_0x55e7b5[_0x3d77d3(0x20c)]=HELP_MESSAGES['options'][_0x3d77d3(0x208)],_0x55e7b5['type']=_0x4f5574[_0x3d77d3(0x22a)];const _0x3c488d={};_0x3c488d[_0x3d77d3(0x20c)]=HELP_MESSAGES[_0x3d77d3(0x1f8)][_0x3d77d3(0x214)],_0x3c488d[_0x3d77d3(0x1e8)]=_0x4f5574[_0x3d77d3(0x22a)],_0x3c488d[_0x3d77d3(0x1e7)]=!![];const _0x3d66b6={};return _0x3d66b6['bstack-accesskey']=_0x55e7b5,_0x3d66b6['hosts']=_0x3c488d,_0x568faa[_0x3d77d3(0x1f8)](_0x3d66b6);},connectCommandHandler=async function(_0x1330f2){const _0x27bdcc=a12_0x801a54,_0x54fe22={'fwiOW':_0x27bdcc(0x1f3),'tXmfZ':function(_0x2889d3,_0xef7e51){return _0x2889d3===_0xef7e51;},'xTNlw':_0x27bdcc(0x20e),'unkfU':_0x27bdcc(0x22d),'pJkOc':_0x27bdcc(0x1f0),'CAuTi':function(_0x5ce883,_0x253327){return _0x5ce883(_0x253327);},'jncIo':_0x27bdcc(0x223),'mVbHt':function(_0x1840c9,_0x117a51){return _0x1840c9(_0x117a51);},'jPchG':_0x27bdcc(0x21a),'yqblF':_0x27bdcc(0x213),'aCTrT':_0x27bdcc(0x1ef)};try{const _0x5314b4=new BrowserStackSetup(_0x1330f2,_0x54fe22['fwiOW']);_0x1330f2[_0x27bdcc(0x21d)]&&(_0x5314b4['config'][_0x27bdcc(0x1fa)]=_0x1330f2[_0x27bdcc(0x21d)]);if(_0x54fe22[_0x27bdcc(0x218)](typeof _0x5314b4[_0x27bdcc(0x21b)][_0x27bdcc(0x1fa)],_0x54fe22[_0x27bdcc(0x222)])){logger[_0x27bdcc(0x21f)](_0x54fe22[_0x27bdcc(0x206)]);throw new Error(ERROR_MESSAGES[_0x27bdcc(0x208)]['missing']);}const _0xa5729b=_0x1330f2[_0x27bdcc(0x214)];if(_0x54fe22[_0x27bdcc(0x218)](typeof _0xa5729b,_0x54fe22[_0x27bdcc(0x222)])){logger[_0x27bdcc(0x21f)](_0x54fe22[_0x27bdcc(0x1ec)]);throw new Error(ERROR_MESSAGES['hosts']['missing']);}if(!_0x54fe22[_0x27bdcc(0x210)](validHosts,_0xa5729b)){logger[_0x27bdcc(0x21f)](_0x54fe22[_0x27bdcc(0x207)]);throw new Error(ERROR_MESSAGES[_0x27bdcc(0x214)]['invalid']);}const _0x21219d=_0x54fe22['mVbHt'](parseOnPremHosts,_0xa5729b);_0x5314b4[_0x27bdcc(0x21b)][_0x27bdcc(0x226)]=!![],_0x5314b4['config'][_0x27bdcc(0x1fb)][_0x27bdcc(0x225)]=_0x54fe22[_0x27bdcc(0x204)],_0x5314b4[_0x27bdcc(0x21b)][_0x27bdcc(0x1fb)][_0x27bdcc(0x20a)]=_0x21219d['join'](','),helper['setProxySettings'](_0x5314b4['config']),await _0x5314b4[_0x27bdcc(0x20d)](),logger[_0x27bdcc(0x229)](_0x54fe22[_0x27bdcc(0x228)]);}catch(_0x4dfb98){logger[_0x27bdcc(0x21f)](_0x54fe22['aCTrT']);throw new Error(_0x4dfb98[_0x27bdcc(0x1e9)]());}};function run(_0x537712){const _0xc7a2fc=a12_0x801a54,_0x522dd0={};_0x522dd0[_0xc7a2fc(0x1ff)]='connect',_0x522dd0['lnoOU']='help';const _0x1bc21b=_0x522dd0;_0x537712[_0xc7a2fc(0x1f7)](HELP_MESSAGES[_0xc7a2fc(0x1fe)][_0xc7a2fc(0x1ed)])[_0xc7a2fc(0x1fe)](_0x1bc21b[_0xc7a2fc(0x1ff)],HELP_MESSAGES[_0xc7a2fc(0x1fe)][_0xc7a2fc(0x21c)],connectCommandBuilder,connectCommandHandler)[_0xc7a2fc(0x21e)]()[_0xc7a2fc(0x1f4)](_0x1bc21b[_0xc7a2fc(0x224)])[_0xc7a2fc(0x215)](HELP_MESSAGES['command']['footer']);}module['exports']=run;
2
+ 'use strict';const a12_0x2ba1e0=a12_0x37c4;(function(_0xef0a1,_0x4f1737){const _0x532f7a=a12_0x37c4,_0x436955=_0xef0a1();while(!![]){try{const _0xaa1f15=-parseInt(_0x532f7a(0x147))/0x1+-parseInt(_0x532f7a(0x17e))/0x2+-parseInt(_0x532f7a(0x168))/0x3+parseInt(_0x532f7a(0x17b))/0x4*(-parseInt(_0x532f7a(0x170))/0x5)+parseInt(_0x532f7a(0x172))/0x6+parseInt(_0x532f7a(0x15b))/0x7+parseInt(_0x532f7a(0x13f))/0x8;if(_0xaa1f15===_0x4f1737)break;else _0x436955['push'](_0x436955['shift']());}catch(_0x903ae8){_0x436955['push'](_0x436955['shift']());}}}(a12_0x2fa9,0x295ef));function a12_0x37c4(_0x5dbefd,_0x3335af){const _0x2fa9ae=a12_0x2fa9();return a12_0x37c4=function(_0x37c436,_0x731360){_0x37c436=_0x37c436-0x139;let _0x137315=_0x2fa9ae[_0x37c436];return _0x137315;},a12_0x37c4(_0x5dbefd,_0x3335af);}function a12_0x2fa9(){const _0x4dcdc7=['port','../../helpers/logger','210764LZAsAP','only','demandCommand','command','uIkzV','kWgUJ','bWSBX','acVOf','describe','750880ceYWlU','KgJOo','RFYva','url','Integration\x20hosts\x20missing.','toString','replace','tUefS','171166FHjgXc','protocol','ZvhtB','split','oKTGR','help','invalid','Connection\x20established\x20successfully.','pWWbT','accessKey','browserStackLocalOptions','integrations','./constants','undefined','bstackAccesskey','footer','setProxySettings','BrowserStack\x20access\x20key\x20missing.','localIdentifier','gRhkc','1502025ixIPhx','integrations-repeater','usage','epilogue','KHmIz','hosts','iCumy','config','trim','string','root','FapSs','Hosts\x20not\x20valid','19314avyUOS','WfCPs','join','https:','options','connect','missing','../../helpers/helper','5HCmWgi','bstackAccessKey','974868wYuUhq','error','setupBrowserstackLocal','443','caEJz','map','type','every','Failed\x20to\x20establish\x20connection.','73888AyzciV'];a12_0x2fa9=function(){return _0x4dcdc7;};return a12_0x2fa9();}const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a12_0x2ba1e0(0x17d))['winstonLogger'],{URL}=require(a12_0x2ba1e0(0x142)),helper=require(a12_0x2ba1e0(0x16f)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x2ba1e0(0x153)),validHosts=function(_0x1d1e48){const _0x37ce2a=a12_0x2ba1e0;return _0x1d1e48[_0x37ce2a(0x14a)](',')[_0x37ce2a(0x179)](_0x5afe71=>{const _0x448bf9=_0x37ce2a;try{new URL(_0x5afe71[_0x448bf9(0x163)]());}catch(_0x9057c){return![];}return!![];});},parseOnPremHosts=function(_0xa86691){const _0x25d446=a12_0x2ba1e0,_0x14ce2c={};_0x14ce2c[_0x25d446(0x13d)]=function(_0x5485fd,_0x1b94eb){return _0x5485fd===_0x1b94eb;},_0x14ce2c['gRhkc']=_0x25d446(0x16b),_0x14ce2c[_0x25d446(0x166)]=_0x25d446(0x175),_0x14ce2c[_0x25d446(0x140)]=function(_0x5df239,_0x1683a7){return _0x5df239===_0x1683a7;},_0x14ce2c[_0x25d446(0x146)]='https';const _0x1b98d1=_0x14ce2c;return _0xa86691[_0x25d446(0x14a)](',')[_0x25d446(0x177)](_0x29b525=>{const _0x2c6340=_0x25d446,_0x120e01=new URL(_0x29b525[_0x2c6340(0x163)]()),_0x3988ec=_0x120e01['hostname'],_0x732f8=_0x120e01[_0x2c6340(0x17c)]||(_0x1b98d1[_0x2c6340(0x13d)](_0x120e01[_0x2c6340(0x148)],_0x1b98d1[_0x2c6340(0x15a)])?_0x1b98d1[_0x2c6340(0x166)]:'80'),_0x267a65=_0x120e01[_0x2c6340(0x148)][_0x2c6340(0x145)](':',''),_0x249e5f=_0x1b98d1[_0x2c6340(0x140)](_0x267a65,_0x1b98d1['tUefS'])?0x1:0x0;return _0x3988ec+','+_0x732f8+','+_0x249e5f;});},connectCommandBuilder=function(_0x2eb8aa){const _0x2f4ed3=a12_0x2ba1e0,_0x45c75c={};_0x45c75c[_0x2f4ed3(0x161)]=_0x2f4ed3(0x164);const _0x452991=_0x45c75c,_0x40b624={};_0x40b624[_0x2f4ed3(0x13e)]=HELP_MESSAGES[_0x2f4ed3(0x16c)]['bstackAccessKey'],_0x40b624[_0x2f4ed3(0x178)]=_0x452991[_0x2f4ed3(0x161)];const _0x4654e7={};_0x4654e7[_0x2f4ed3(0x13e)]=HELP_MESSAGES[_0x2f4ed3(0x16c)][_0x2f4ed3(0x160)],_0x4654e7[_0x2f4ed3(0x178)]=_0x452991['iCumy'],_0x4654e7['demandOption']=!![];const _0x3f9622={};return _0x3f9622['bstack-accesskey']=_0x40b624,_0x3f9622[_0x2f4ed3(0x160)]=_0x4654e7,_0x2eb8aa[_0x2f4ed3(0x16c)](_0x3f9622);},connectCommandHandler=async function(_0x714f13){const _0x7c994b=a12_0x2ba1e0,_0x2d4561={'pWWbT':_0x7c994b(0x152),'uIkzV':function(_0x124240,_0x538a6b){return _0x124240===_0x538a6b;},'kWgUJ':_0x7c994b(0x154),'pCqvi':_0x7c994b(0x158),'WfCPs':_0x7c994b(0x143),'oKTGR':function(_0x22dce6,_0x420295){return _0x22dce6(_0x420295);},'gijdn':_0x7c994b(0x167),'bWSBX':function(_0x464a62,_0x27aba8){return _0x464a62(_0x27aba8);},'kXpsv':_0x7c994b(0x15c),'ZvhtB':_0x7c994b(0x14e),'caEJz':_0x7c994b(0x17a)};try{const _0x371ca5=new BrowserStackSetup(_0x714f13,_0x2d4561[_0x7c994b(0x14f)]);_0x714f13[_0x7c994b(0x155)]&&(_0x371ca5['config']['accessKey']=_0x714f13['bstackAccesskey']);if(_0x2d4561[_0x7c994b(0x13a)](typeof _0x371ca5[_0x7c994b(0x162)][_0x7c994b(0x150)],_0x2d4561['kWgUJ'])){logger[_0x7c994b(0x173)](_0x2d4561['pCqvi']);throw new Error(ERROR_MESSAGES[_0x7c994b(0x171)][_0x7c994b(0x16e)]);}const _0x1413e4=_0x714f13[_0x7c994b(0x160)];if(_0x2d4561[_0x7c994b(0x13a)](typeof _0x1413e4,_0x2d4561[_0x7c994b(0x13b)])){logger[_0x7c994b(0x173)](_0x2d4561[_0x7c994b(0x169)]);throw new Error(ERROR_MESSAGES[_0x7c994b(0x160)][_0x7c994b(0x16e)]);}if(!_0x2d4561[_0x7c994b(0x14b)](validHosts,_0x1413e4)){logger[_0x7c994b(0x173)](_0x2d4561['gijdn']);throw new Error(ERROR_MESSAGES['hosts'][_0x7c994b(0x14d)]);}const _0x5e4f4b=_0x2d4561[_0x7c994b(0x13c)](parseOnPremHosts,_0x1413e4);_0x371ca5[_0x7c994b(0x162)]['browserstackLocal']=!![],_0x371ca5['config'][_0x7c994b(0x151)][_0x7c994b(0x159)]=_0x2d4561['kXpsv'],_0x371ca5['config'][_0x7c994b(0x151)][_0x7c994b(0x17f)]=_0x5e4f4b[_0x7c994b(0x16a)](','),helper[_0x7c994b(0x157)](_0x371ca5['config']),await _0x371ca5[_0x7c994b(0x174)](),logger['info'](_0x2d4561[_0x7c994b(0x149)]);}catch(_0x18fac3){logger['error'](_0x2d4561[_0x7c994b(0x176)]);throw new Error(_0x18fac3[_0x7c994b(0x144)]());}};function run(_0x59d132){const _0x325745=a12_0x2ba1e0,_0x25fbd8={};_0x25fbd8[_0x325745(0x141)]=_0x325745(0x16d),_0x25fbd8[_0x325745(0x15f)]='help';const _0x127963=_0x25fbd8;_0x59d132[_0x325745(0x15d)](HELP_MESSAGES[_0x325745(0x139)][_0x325745(0x165)])[_0x325745(0x139)](_0x127963[_0x325745(0x141)],HELP_MESSAGES['command'][_0x325745(0x16d)],connectCommandBuilder,connectCommandHandler)[_0x325745(0x180)]()[_0x325745(0x14c)](_0x127963[_0x325745(0x15f)])[_0x325745(0x15e)](HELP_MESSAGES[_0x325745(0x139)][_0x325745(0x156)]);}module['exports']=run;
@@ -1 +1 @@
1
- var a13_0x4c558b=a13_0x2cff;(function(_0x30d8bf,_0x29968c){var _0x5b66ce=a13_0x2cff,_0x21fa74=_0x30d8bf();while(!![]){try{var _0x15782c=-parseInt(_0x5b66ce(0xb4))/0x1+-parseInt(_0x5b66ce(0xbe))/0x2+parseInt(_0x5b66ce(0xb3))/0x3+parseInt(_0x5b66ce(0xc0))/0x4+-parseInt(_0x5b66ce(0xb8))/0x5*(-parseInt(_0x5b66ce(0xb7))/0x6)+parseInt(_0x5b66ce(0xc1))/0x7*(parseInt(_0x5b66ce(0xbd))/0x8)+-parseInt(_0x5b66ce(0xbf))/0x9*(parseInt(_0x5b66ce(0xb2))/0xa);if(_0x15782c===_0x29968c)break;else _0x21fa74['push'](_0x21fa74['shift']());}catch(_0x440599){_0x21fa74['push'](_0x21fa74['shift']());}}}(a13_0x11de,0xab93c));var a13_0x34b769={};a13_0x34b769[a13_0x4c558b(0xc4)]=a13_0x4c558b(0xbc),a13_0x34b769[a13_0x4c558b(0xc5)]=a13_0x4c558b(0xb5);function a13_0x2cff(_0x26634d,_0x164001){var _0x11dee3=a13_0x11de();return a13_0x2cff=function(_0x2cff78,_0x5ba043){_0x2cff78=_0x2cff78-0xb0;var _0x510c0a=_0x11dee3[_0x2cff78];return _0x510c0a;},a13_0x2cff(_0x26634d,_0x164001);}var a13_0x3e4312={};a13_0x3e4312[a13_0x4c558b(0xc2)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0x3e4312['connect']='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a13_0x3e4312[a13_0x4c558b(0xb9)]=a13_0x4c558b(0xba);var a13_0x48a0bd={};function a13_0x11de(){var _0x253326=['root','ERROR_MESSAGES','bstackAccessKey','hosts','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','options','10XPEvuY','2109849QQhjHZ','1259530VUzpHl','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.','invalid','1602WVwVai','21705FkkxGU','footer','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','8auLtUh','1332832ObFulq','8225505BiosEy','3133128jIglHF','6279413oFsLnP'];a13_0x11de=function(){return _0x253326;};return a13_0x11de();}a13_0x48a0bd[a13_0x4c558b(0xb1)]=a13_0x34b769,a13_0x48a0bd['command']=a13_0x3e4312,exports['HELP_MESSAGES']=a13_0x48a0bd;var a13_0x2923e5={};a13_0x2923e5['missing']=a13_0x4c558b(0xb0);var a13_0x13ebbd={};a13_0x13ebbd['missing']=a13_0x4c558b(0xbb),a13_0x13ebbd[a13_0x4c558b(0xb6)]='Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a13_0x56e9aa={};a13_0x56e9aa['bstackAccessKey']=a13_0x2923e5,a13_0x56e9aa[a13_0x4c558b(0xc5)]=a13_0x13ebbd,exports[a13_0x4c558b(0xc3)]=a13_0x56e9aa;
1
+ var a13_0x3fc4d1=a13_0x4c50;(function(_0x40c4c1,_0x18474a){var _0x3970b8=a13_0x4c50,_0x4c4c59=_0x40c4c1();while(!![]){try{var _0x4c4447=parseInt(_0x3970b8(0x178))/0x1*(-parseInt(_0x3970b8(0x172))/0x2)+parseInt(_0x3970b8(0x169))/0x3*(parseInt(_0x3970b8(0x163))/0x4)+-parseInt(_0x3970b8(0x165))/0x5+parseInt(_0x3970b8(0x173))/0x6*(-parseInt(_0x3970b8(0x164))/0x7)+-parseInt(_0x3970b8(0x16e))/0x8+parseInt(_0x3970b8(0x168))/0x9*(-parseInt(_0x3970b8(0x16f))/0xa)+parseInt(_0x3970b8(0x16a))/0xb;if(_0x4c4447===_0x18474a)break;else _0x4c4c59['push'](_0x4c4c59['shift']());}catch(_0x4884f3){_0x4c4c59['push'](_0x4c4c59['shift']());}}}(a13_0x1759,0x7870f));var a13_0x2f515b={};a13_0x2f515b[a13_0x3fc4d1(0x15f)]=a13_0x3fc4d1(0x15e),a13_0x2f515b['hosts']=a13_0x3fc4d1(0x176);function a13_0x1759(){var _0x16532d=['104Xeiiia','2764758PoKzER','HELP_MESSAGES','command','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','hosts','12077pUdkvf','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','bstackAccessKey','footer','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','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.','668ANxzmq','14IfrUla','2067260YFooYC','root','connect','738468oUIQYY','16521DJXQUp','35490873bsTFcB','missing','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','ERROR_MESSAGES','6297368UhFSOE','110jnWODp','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.'];a13_0x1759=function(){return _0x16532d;};return a13_0x1759();}var a13_0xdaf765={};a13_0xdaf765[a13_0x3fc4d1(0x166)]=a13_0x3fc4d1(0x171),a13_0xdaf765[a13_0x3fc4d1(0x167)]=a13_0x3fc4d1(0x161),a13_0xdaf765[a13_0x3fc4d1(0x160)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a13_0x11f5fb={};a13_0x11f5fb['options']=a13_0x2f515b,a13_0x11f5fb[a13_0x3fc4d1(0x175)]=a13_0xdaf765,exports[a13_0x3fc4d1(0x174)]=a13_0x11f5fb;var a13_0x4ed3c1={};a13_0x4ed3c1[a13_0x3fc4d1(0x16b)]=a13_0x3fc4d1(0x16c);var a13_0xa39012={};function a13_0x4c50(_0x3db630,_0x692773){var _0x1759b9=a13_0x1759();return a13_0x4c50=function(_0x4c5038,_0x33e95b){_0x4c5038=_0x4c5038-0x15e;var _0x3ebbd5=_0x1759b9[_0x4c5038];return _0x3ebbd5;},a13_0x4c50(_0x3db630,_0x692773);}a13_0xa39012[a13_0x3fc4d1(0x16b)]=a13_0x3fc4d1(0x170),a13_0xa39012['invalid']=a13_0x3fc4d1(0x162);var a13_0x3bb815={};a13_0x3bb815[a13_0x3fc4d1(0x15f)]=a13_0x4ed3c1,a13_0x3bb815[a13_0x3fc4d1(0x177)]=a13_0xa39012,exports[a13_0x3fc4d1(0x16d)]=a13_0x3bb815;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x4b279c=a14_0x3016;(function(_0x130f32,_0xecf6b){const _0x19cecb=a14_0x3016,_0x2549da=_0x130f32();while(!![]){try{const _0x344724=parseInt(_0x19cecb(0x1be))/0x1*(parseInt(_0x19cecb(0x10d))/0x2)+-parseInt(_0x19cecb(0x100))/0x3+parseInt(_0x19cecb(0x111))/0x4*(parseInt(_0x19cecb(0x13a))/0x5)+parseInt(_0x19cecb(0xfa))/0x6*(parseInt(_0x19cecb(0x117))/0x7)+-parseInt(_0x19cecb(0x16c))/0x8+parseInt(_0x19cecb(0x131))/0x9+parseInt(_0x19cecb(0x155))/0xa*(-parseInt(_0x19cecb(0x11b))/0xb);if(_0x344724===_0xecf6b)break;else _0x2549da['push'](_0x2549da['shift']());}catch(_0x3d75df){_0x2549da['push'](_0x2549da['shift']());}}}(a14_0x4e34,0xd9409));function a14_0x4e34(){const _0x267422=['GNhQn','iTEYL','wlrEq','prepareCapabilities','testEnvironmentOptions','capabilities',';\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','env','customEnvironment.js','MODULE','dSPxp','FRAMEWORKS','WUgxt','jest.setup.js','skipSessionStatus','wDDkj','Unable\x20to\x20find\x20jest-circus,\x20','isBrowserstackInfra','isRunning','requireSeleniumWebdriver','initialize','DoIRE','exitCode','testTimeout','stop','LlBLT','JEST_TEST_ORDER','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getInstance','\x20with\x20browserstack\x20jest\x20configs','EVENTS','UUqus','logLevel','jest_browserstack.config.cjs','flhBL','apply','false','jest-circus','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','1rPkINJ','cjs','readFileSync','setupFilesAfterEnv','Found:\x20','maxRetries','recursive','xrMII','../../helpers/testhub/testhubHandler','getErrorMessageFromResults','test-observability','MjZBx','testContextOptions','ULGms','nJQgk','join','platforms','findTestFiles','BROWSERSTACK_TEST_OBSERVABILITY_YML','616494xDvYNL','info','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','GTsXQ','jest_browserstack_results.json','test_before.setup.js','2279682qCUAYt','shouldProcessEventForTesthub','splice','stringify','Yiacs','isNotUndefined','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','\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','sEXut','PKYar','debug','\x0a\x20\x20\x20\x20','__isPlaywrightInstalled','1532264jvTkOH','parallelsPerPlatform','accessibilityOptions','nZnxC','916QEObui','isEmpty','package.json','Deleted\x20fail-fast\x20state\x20folder:\x20','../../helpers/logger','rmSync','14kYyGNc','testRunner','dPrdp','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','3623510HicGNj','filterBrowserstackArgs','npx','path','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','requirePWModule','true','../../helpers/BrowserStackSetup','bBmSg','retryTestsOnFailure','exports','abYeF','../utils/clientTroubleshootingService','raIlv','jest-config','isUndefined','KZskD','const\x20config=','setup','force','toIDB','zjPNz','9806634BFGrvh','jest.config.','maxWorkers','failFast','jest','../utils/constants','error\x20removing\x20tcg\x20config\x20file','util','iHBkn','5685SHveLH','default','esWwK','existsSync','./test-observability/test-details','--config','customImplements','reporters','KzxCh','../../helpers/utilities','bpCyD','bvVOR','qhsCQ','mLJNX','iHGBA','HdMsI','cwd','testEnvironment','Getting\x20your\x20jest\x20configs\x20from\x20','BROWSERSTACK_CAPABILITIES','findIndex','start','abortBuildOnFailure','JEST','mjs','Deleting\x20','lNWje','10qQbBKJ','push','sTpae','getHubUrl','length','setupFiles','customCircus.js','../../helpers/performance/performance-tester','../../helpers/performance/constants','../../helpers/test-observability/utils','customSequencer.js','config',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','../../helpers/accessibility-automation/helper','../../helpers/test-orchestration/testOrchestrationHandler','serial__','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','data-hooks.js','USER_CONFIG_DETAILS_PATH','ZZTcR','../../helpers/playwright-helper','error',',\x20CLI\x20running:\x20','2739680fXMlFZ','requireModule','../v2/browserstackCLI','unlinkSync','../../helpers/helper','resolve','QICmO','UfTbT','testObservability','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jest_browserstack.config.js','format','assign','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','BKktW','IpiRV','setupTCGAuth','CGXxT','skipSessionName','OwVua','../../helpers/percy/utils','printBuildLink','reorderTestFiles','UAVmH','workingDir','runInBand','close','slice','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','playwright','Creating\x20','winstonLogger','DJPyO','maxFailures','QvcRe','turboScaleUrl','isTestOrchestrationEnabled','EGgZK','Getting\x20your\x20jest\x20configs\x20from\x20package.json','YGYzE','getTCGConfigFilePaths','inherit'];a14_0x4e34=function(){return _0x267422;};return a14_0x4e34();}const fs=require('fs'),path=require(a14_0x4b279c(0x11e)),util=require(a14_0x4b279c(0x138)),{spawn}=require('child_process'),logger=require(a14_0x4b279c(0x115))[a14_0x4b279c(0x18b)],{default:BrowserStackSetup}=require(a14_0x4b279c(0x122)),helper=require(a14_0x4b279c(0x170)),utilities=require(a14_0x4b279c(0x143)),constants=require(a14_0x4b279c(0x136)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a14_0x4b279c(0x15e)),{debug}=require(a14_0x4b279c(0x15e)),TestDetails=require(a14_0x4b279c(0x13e)),{getPercyOptions}=require(a14_0x4b279c(0x180)),TestHubHandler=require(a14_0x4b279c(0x1c6)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a14_0x4b279c(0x15c)),PerformanceEvents=require(a14_0x4b279c(0x15d))[a14_0x4b279c(0x1b5)],TestOrchestrationHandler=require(a14_0x4b279c(0x163)),BrowserstackCLI=require(a14_0x4b279c(0x16e)),{checkPwandBootstrapCli}=require(a14_0x4b279c(0x169)),ClientTroubleShootingService=require(a14_0x4b279c(0x127)),{checkAccessibilityPlatformConfig}=require(a14_0x4b279c(0x162)),getUserJestConfigs=async(_0x568ce7,_0x6dac61)=>{const _0x2b7cfe=a14_0x4b279c,_0x4e5584={'UfTbT':'jest-config/build/readConfigFileAndSetRootDir.js','SfpeN':_0x2b7cfe(0x129),'MjZBx':function(_0x89eb88,_0x417f9b){return _0x89eb88||_0x417f9b;},'bpCyD':function(_0x20e840,_0x339a51){return _0x20e840(_0x339a51);},'OwVua':_0x2b7cfe(0x113),'pKbnP':_0x2b7cfe(0x192),'abYeF':_0x2b7cfe(0x152),'dPrdp':_0x2b7cfe(0x1bf),'aatBC':'json'},_0x19055e=helper[_0x2b7cfe(0x16d)](_0x4e5584[_0x2b7cfe(0x173)],_0x4e5584['SfpeN']),_0x47e6d0=_0x6dac61[_0x2b7cfe(0x14e)](_0x1a96f8=>_0x1a96f8===_0x2b7cfe(0x13f));if(!helper[_0x2b7cfe(0x12a)](_0x568ce7[_0x2b7cfe(0x160)])){logger[_0x2b7cfe(0xfb)](_0x2b7cfe(0x14c)+_0x568ce7['config']),process[_0x2b7cfe(0x19d)][_0x2b7cfe(0x167)]=_0x568ce7[_0x2b7cfe(0x160)];const _0x2e559c=await(0x0,_0x19055e[_0x2b7cfe(0x13b)])(path[_0x2b7cfe(0x171)](_0x568ce7[_0x2b7cfe(0x160)]));return _0x6dac61[_0x2b7cfe(0x102)](_0x47e6d0,0x2),_0x4e5584[_0x2b7cfe(0x1c9)](_0x2e559c,{});}const _0x2c8db7=_0x4e5584[_0x2b7cfe(0x144)](require,path[_0x2b7cfe(0x1cd)](process['cwd'](),_0x4e5584[_0x2b7cfe(0x17f)]));if(_0x2c8db7[_0x2b7cfe(0x135)])return logger[_0x2b7cfe(0xfb)](_0x4e5584['pKbnP']),_0x2c8db7['jest'];const _0xdaea14=['js',_0x4e5584[_0x2b7cfe(0x126)],_0x4e5584[_0x2b7cfe(0x119)],_0x4e5584['aatBC'],'ts'];for(const _0x1138ef of _0xdaea14){const _0x2ccf1f=path[_0x2b7cfe(0x1cd)](process[_0x2b7cfe(0x14a)](),_0x2b7cfe(0x132)+_0x1138ef);if(fs['existsSync'](_0x2ccf1f)){process['env'][_0x2b7cfe(0x167)]=_0x2ccf1f;const _0x277893=await(0x0,_0x19055e[_0x2b7cfe(0x13b)])(_0x2ccf1f);return _0x277893;}}return{};},getSerial=(_0x356d10,_0x1b897a)=>{const _0x3c0afc=a14_0x4b279c,_0xdb70e5={};_0xdb70e5[_0x3c0afc(0x1af)]='true',_0xdb70e5['esWwK']=function(_0x253281,_0x426fa6){return _0x253281>_0x426fa6;},_0xdb70e5[_0x3c0afc(0x193)]=function(_0x4055e5,_0x4ace7a){return _0x4055e5>_0x4ace7a;},_0xdb70e5[_0x3c0afc(0x146)]=_0x3c0afc(0x1bb);const _0x208650=_0xdb70e5;let _0x4295e3=_0x208650[_0x3c0afc(0x1af)];return _0x208650[_0x3c0afc(0x13c)](_0x356d10['length'],0x1)&&(!_0x1b897a[_0x3c0afc(0x185)]&&(helper['isUndefined'](_0x1b897a[_0x3c0afc(0x133)])||_0x208650[_0x3c0afc(0x193)](_0x1b897a['maxWorkers'],0x1)))&&(_0x4295e3=_0x208650[_0x3c0afc(0x146)]),_0x4295e3;},getMaxWorkers=(_0x401d32,_0x429a41,_0x439134)=>{const _0x2264c3=a14_0x4b279c,_0x54558c={'QvcRe':function(_0x5aeade,_0x488c05){return _0x5aeade(_0x488c05);}};let _0x5ec94e=0x1;if(!helper['isUndefined'](_0x429a41['parallelsPerPlatform']))_0x5ec94e=_0x54558c[_0x2264c3(0x18e)](parseInt,_0x429a41[_0x2264c3(0x10e)]);else{if(!helper[_0x2264c3(0x12a)](_0x401d32['maxWorkers']))_0x5ec94e=_0x401d32[_0x2264c3(0x133)];else!helper['isUndefined'](_0x439134[_0x2264c3(0x133)])&&(_0x5ec94e=_0x439134[_0x2264c3(0x133)]);}return _0x5ec94e;};function a14_0x3016(_0x3e1048,_0x3ee990){const _0x4e3422=a14_0x4e34();return a14_0x3016=function(_0x301649,_0x511cad){_0x301649=_0x301649-0xf9;let _0x2b9418=_0x4e3422[_0x301649];return _0x2b9418;},a14_0x3016(_0x3e1048,_0x3ee990);}async function run(_0x500e5b,_0x191706,_0x4be329){const _0x464a6a=a14_0x4b279c,_0x784214={'zjPNz':_0x464a6a(0x137),'PKYar':'jest','BKktW':function(_0x543fb3,_0x382589){return _0x543fb3(_0x382589);},'bvVOR':'@playwright/test','TsBya':function(_0x4137f2,_0x2f76cd,_0x551a06,_0xdf38b1){return _0x4137f2(_0x2f76cd,_0x551a06,_0xdf38b1);},'dSPxp':function(_0x3a3f2d,_0x30905a){return _0x3a3f2d!=_0x30905a;},'xrMII':_0x464a6a(0x121),'UAVmH':function(_0x53ca6e,_0x1ec724,_0x5358a5){return _0x53ca6e(_0x1ec724,_0x5358a5);},'WUgxt':_0x464a6a(0x1b1),'DcuVL':function(_0x3a3a67,_0x32c644){return _0x3a3a67(_0x32c644);},'bBmSg':function(_0xa45fc3,_0x3814a6){return _0xa45fc3(_0x3814a6);},'toIDB':'false','Yiacs':function(_0x897888,_0xcb8398,_0x15785a){return _0x897888(_0xcb8398,_0x15785a);},'ULGms':function(_0x13d9dd,_0x43f3fb,_0x5cf834,_0x3a4957){return _0x13d9dd(_0x43f3fb,_0x5cf834,_0x3a4957);},'iHBkn':function(_0x46e20e,_0x100c92){return _0x46e20e*_0x100c92;},'gsDZl':function(_0xfd6a3a,_0x23c0f8){return _0xfd6a3a===_0x23c0f8;},'sTpae':_0x464a6a(0x1b8),'iHGBA':_0x464a6a(0x176),'nJQgk':_0x464a6a(0x140),'uxgUs':_0x464a6a(0xfe),'lNWje':'customTestRunner.js','UUqus':'customTestRunnerTemplate.js','iTEYL':_0x464a6a(0x19e),'GTsXQ':_0x464a6a(0x1a3),'wlrEq':_0x464a6a(0x15f),'IpiRV':_0x464a6a(0x175),'sEXut':_0x464a6a(0x1bc),'PpYIh':_0x464a6a(0x1c8),'EGgZK':_0x464a6a(0x166),'BVgzC':_0x464a6a(0x15b),'YFPrO':_0x464a6a(0xff),'GNhQn':_0x464a6a(0xfc),'HdMsI':_0x464a6a(0x189),'DoIRE':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','ZZTcR':'test.setup.js','QttwS':_0x464a6a(0x188),'KzxCh':'default','QICmO':_0x464a6a(0x106),'mLJNX':function(_0x50e030,_0x184e5f){return _0x50e030>_0x184e5f;},'DJPyO':_0x464a6a(0x165),'wDDkj':function(_0x5875b2,_0x53d1e0,_0x40a9cf,_0x43bd68){return _0x5875b2(_0x53d1e0,_0x40a9cf,_0x43bd68);},'flhBL':_0x464a6a(0x11d),'iqRhP':'--config','CGXxT':function(_0x32c42e,_0xa0e682){return _0x32c42e===_0xa0e682;},'KZskD':'win32','raIlv':_0x464a6a(0x195),'nZnxC':_0x464a6a(0x186)},_0x580f10=helper['getPackageVersion'](_0x784214[_0x464a6a(0x145)]);global[_0x464a6a(0x10c)]=!!_0x580f10;helper[_0x464a6a(0x1a7)]()?(await _0x4be329[_0x464a6a(0x1aa)](_0x500e5b),await helper['handleApp'](_0x4be329[_0x464a6a(0x160)])):await _0x4be329[_0x464a6a(0x17c)]();await _0x784214['TsBya'](checkPwandBootstrapCli,_0x580f10,constants[_0x464a6a(0x1a1)]['JEST'],_0x4be329);if(!_0x4be329[_0x464a6a(0x160)])return;_0x784214[_0x464a6a(0x1a0)](_0x4be329[_0x464a6a(0x160)]['testObservability'],null)?process['env'][_0x464a6a(0xf9)]=_0x4be329[_0x464a6a(0x160)][_0x464a6a(0x174)]:process[_0x464a6a(0x19d)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x784214[_0x464a6a(0x1c5)];const _0x2549ac=new TestOrchestrationHandler(_0x4be329[_0x464a6a(0x160)]),_0x3ac328=await _0x784214[_0x464a6a(0x183)](getUserJestConfigs,_0x500e5b,_0x191706);logger[_0x464a6a(0xfb)](_0x784214[_0x464a6a(0x1a2)]);const _0x3a1d50=Object[_0x464a6a(0x178)]({},_0x3ac328);_0x3a1d50['testEnvironmentOptions']=Object[_0x464a6a(0x178)]({},_0x3a1d50['testEnvironmentOptions'],{'server':helper[_0x464a6a(0x158)](_0x4be329[_0x464a6a(0x160)]),'environment':_0x3ac328[_0x464a6a(0x14b)]}),_0x3a1d50[_0x464a6a(0x19a)]['browserStackPercyOptions']=_0x784214['DcuVL'](getPercyOptions,_0x4be329[_0x464a6a(0x160)]);const _0x1be951=helper['useW3C'](_0x4be329[_0x464a6a(0x160)]);!helper[_0x464a6a(0x12a)](_0x4be329[_0x464a6a(0x160)][_0x464a6a(0x10f)])&&(process[_0x464a6a(0x19d)][_0x464a6a(0x11f)]=JSON[_0x464a6a(0x103)](_0x4be329['config'][_0x464a6a(0x10f)]));if(!BrowserstackCLI['getInstance']()['isRunning']()){const _0x3b06a3=await TestHubHandler['launchBuild'](FRAMEWORKS['JEST'],_0x4be329);}const _0x39bf76=helper[_0x464a6a(0x199)](_0x4be329[_0x464a6a(0x160)],_0x1be951,constants[_0x464a6a(0x1a1)][_0x464a6a(0x151)]);process[_0x464a6a(0x19d)][_0x464a6a(0x14d)]=JSON[_0x464a6a(0x103)](_0x39bf76);let _0x2397b1=_0x4be329[_0x464a6a(0x160)]['accessibility'];_0x2397b1=_0x2397b1||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x4be329[_0x464a6a(0x160)]),process[_0x464a6a(0x19d)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2397b1,logger[_0x464a6a(0x10a)](_0x464a6a(0x11a)+_0x2397b1+_0x464a6a(0x16b)+BrowserstackCLI[_0x464a6a(0x1b3)]()[_0x464a6a(0x1a8)]());if(_0x580f10)try{const _0x2fc1d2=_0x784214[_0x464a6a(0x123)](checkAccessibilityPlatformConfig,_0x4be329[_0x464a6a(0x160)]);process[_0x464a6a(0x19d)][_0x464a6a(0x1b2)]=_0x2fc1d2?_0x784214[_0x464a6a(0x1c5)]:_0x784214[_0x464a6a(0x12f)],logger[_0x464a6a(0x10a)]('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x2fc1d2+_0x464a6a(0x161)+process['env'][_0x464a6a(0x1b2)]);}catch(_0x449ecf){logger[_0x464a6a(0x10a)](_0x464a6a(0x179)+util[_0x464a6a(0x177)](_0x449ecf));}_0x3a1d50['testEnvironmentOptions'][_0x464a6a(0x19b)]=_0x39bf76,_0x3a1d50[_0x464a6a(0x19a)][_0x464a6a(0x164)]=_0x784214[_0x464a6a(0x104)](getSerial,_0x39bf76,_0x500e5b),_0x3a1d50[_0x464a6a(0x19a)]['parallels__']=_0x784214[_0x464a6a(0x1cb)](getMaxWorkers,_0x500e5b,_0x4be329['config'],_0x3ac328),_0x3a1d50['testEnvironmentOptions']['proxySettings']=_0x4be329[_0x464a6a(0x160)]['proxySettings'],_0x3a1d50[_0x464a6a(0x19a)]['timeout__']=_0x784214[_0x464a6a(0x139)](_0x500e5b[_0x464a6a(0x1ad)],0x1)||0x1388,_0x3a1d50[_0x464a6a(0x19a)][_0x464a6a(0x17e)]=_0x4be329[_0x464a6a(0x160)][_0x464a6a(0x1ca)][_0x464a6a(0x17e)],_0x3a1d50[_0x464a6a(0x19a)][_0x464a6a(0x1a4)]=_0x4be329[_0x464a6a(0x160)][_0x464a6a(0x1ca)]['skipSessionStatus'],_0x3a1d50['testEnvironmentOptions']['browserStackLogLevel']=_0x4be329[_0x464a6a(0x160)][_0x464a6a(0x1b7)],_0x3a1d50['testEnvironmentOptions'][_0x464a6a(0x18f)]=_0x4be329[_0x464a6a(0x160)][_0x464a6a(0x18f)],_0x3a1d50[_0x464a6a(0x19a)]['platformCaps']=_0x4be329[_0x464a6a(0x160)]['platforms'];const _0x2a5d7f=helper['parseTestOrchestrationOptions'](_0x4be329[_0x464a6a(0x160)]);if(!helper[_0x464a6a(0x112)](_0x2a5d7f)){helper[_0x464a6a(0x105)](_0x2a5d7f['retryTestsOnFailure'])&&(_0x3a1d50['testEnvironmentOptions']['retries__']=_0x2a5d7f[_0x464a6a(0x124)][_0x464a6a(0x1c3)]);if(helper[_0x464a6a(0x105)](_0x2a5d7f['abortBuildOnFailure'])&&helper['isNotUndefined'](_0x2a5d7f['abortBuildOnFailure'][_0x464a6a(0x184)])){const _0xfe567f={};_0xfe567f['failureThresholdCount']=_0x2a5d7f[_0x464a6a(0x150)][_0x464a6a(0x18d)],_0xfe567f[_0x464a6a(0x184)]=_0x2a5d7f[_0x464a6a(0x150)][_0x464a6a(0x184)],_0x3a1d50[_0x464a6a(0x19a)][_0x464a6a(0x134)]=_0xfe567f;}}let _0x1ac1f2='';_0x784214['gsDZl'](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x464a6a(0x19f)])?_0x1ac1f2=_0x784214[_0x464a6a(0x157)]:_0x1ac1f2=_0x784214[_0x464a6a(0x148)];const _0x34f7e0=_0x1ac1f2,_0x5702d6=path['join'](__dirname,_0x784214[_0x464a6a(0x1cc)],_0x784214['uxgUs']),_0x1d7d3b=path['join'](__dirname,_0x784214[_0x464a6a(0x1cc)],_0x784214[_0x464a6a(0x154)]),_0x304e76=path['join'](__dirname,_0x784214['nJQgk'],_0x784214[_0x464a6a(0x1b6)]);_0x3a1d50[_0x464a6a(0x14b)]&&(process['env']['BSTACK_JEST_TEST_ENV']=_0x3a1d50[_0x464a6a(0x14b)]);_0x3a1d50[_0x464a6a(0x14b)]=path[_0x464a6a(0x1cd)](__dirname,_0x784214[_0x464a6a(0x1cc)],_0x784214[_0x464a6a(0x197)]),_0x3a1d50['runner']=_0x1d7d3b,_0x3a1d50['setupFilesAfterEnv']=_0x3a1d50['setupFilesAfterEnv']||[],_0x3a1d50[_0x464a6a(0x1c1)][_0x464a6a(0x156)](path[_0x464a6a(0x1cd)](__dirname,_0x784214[_0x464a6a(0xfd)]));_0x2549ac[_0x464a6a(0x190)]()&&(_0x3a1d50['testSequencer']=path[_0x464a6a(0x1cd)](__dirname,_0x784214['nJQgk'],_0x784214[_0x464a6a(0x198)]));if(testhubUtils[_0x464a6a(0x101)]()){let _0x13f6d4=null;try{_0x13f6d4=helper['requireModule'](_0x784214[_0x464a6a(0x17b)],_0x784214[_0x464a6a(0x108)]);}catch(_0x56d922){_0x784214[_0x464a6a(0x123)](debug,_0x464a6a(0x1a6)+_0x56d922);}_0x13f6d4&&(_0x3a1d50[_0x464a6a(0x1c1)]['push'](path[_0x464a6a(0x1cd)](__dirname,_0x784214['PpYIh'],_0x784214[_0x464a6a(0x191)])),_0x3a1d50[_0x464a6a(0x118)]=path['join'](__dirname,_0x784214[_0x464a6a(0x1cc)],_0x784214['BVgzC']));}_0x3a1d50['setupFiles']=_0x3a1d50['setupFiles']||[];try{helper[_0x464a6a(0x1a9)](),_0x3a1d50['setupFiles']['push'](path[_0x464a6a(0x1cd)](__dirname,_0x784214['YFPrO']));}catch{logger['debug'](_0x784214[_0x464a6a(0x196)]);}try{helper[_0x464a6a(0x120)][_0x464a6a(0x1ba)](null,[_0x784214[_0x464a6a(0x145)],_0x784214[_0x464a6a(0x149)]]),logger[_0x464a6a(0x10a)](_0x784214[_0x464a6a(0x1ab)]),_0x3a1d50[_0x464a6a(0x15a)][_0x464a6a(0x156)](path[_0x464a6a(0x1cd)](__dirname,_0x784214[_0x464a6a(0x168)]));}catch(_0x4448d2){logger[_0x464a6a(0x10a)](_0x784214['QttwS'],_0x4448d2);}_0x3a1d50[_0x464a6a(0x141)]=_0x3a1d50[_0x464a6a(0x141)]||[_0x784214[_0x464a6a(0x142)]],_0x784214[_0x464a6a(0x183)](updateTestRerunConfig,_0x3a1d50,_0x4be329);const _0x8de82f=fs[_0x464a6a(0x1c0)](_0x304e76);fs['writeFileSync'](_0x3a1d50['runner'],_0x464a6a(0x10b)+_0x8de82f+_0x464a6a(0x107)+_0x4be329[_0x464a6a(0x160)][_0x464a6a(0x1ce)]['length']+_0x464a6a(0x19c)),logger[_0x464a6a(0xfb)](_0x464a6a(0x18a)+_0x34f7e0+_0x464a6a(0x1b4)),fs['writeFileSync'](_0x34f7e0,_0x464a6a(0x12c)+JSON[_0x464a6a(0x103)](_0x3a1d50)+'\x0amodule.exports\x20=\x20config;');if(_0x2549ac[_0x464a6a(0x190)]()){logger[_0x464a6a(0x10a)](_0x784214[_0x464a6a(0x172)]);const _0x53f65e=await _0x2549ac[_0x464a6a(0x1cf)](_0x3a1d50,_0x191706[_0x464a6a(0x187)](0x1),_0x34f7e0);logger['debug'](_0x464a6a(0x1c2)+JSON[_0x464a6a(0x103)](_0x53f65e)+'\x20test\x20files\x20to\x20run.');const _0x37a65c=await _0x2549ac[_0x464a6a(0x182)](_0x53f65e);logger[_0x464a6a(0x10a)]('Reodered\x20Test\x20Files:\x20'+JSON[_0x464a6a(0x103)](_0x37a65c)),_0x37a65c&&_0x784214[_0x464a6a(0x147)](_0x37a65c[_0x464a6a(0x159)],0x0)&&(process[_0x464a6a(0x19d)][_0x464a6a(0x1b0)]=_0x37a65c?.['join'](','));}logger[_0x464a6a(0xfb)](_0x784214[_0x464a6a(0x18c)]);testhubUtils[_0x464a6a(0x101)]()&&TestDetails[_0x464a6a(0x12d)]();helper[_0x464a6a(0x11c)]({},_0x191706),PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);const _0x2d4efc=_0x784214[_0x464a6a(0x1a5)](spawn,_0x784214[_0x464a6a(0x1b9)],[_0x784214[_0x464a6a(0x109)],_0x784214['iqRhP'],_0x34f7e0,..._0x191706[_0x464a6a(0x187)](0x1)],{'shell':_0x784214[_0x464a6a(0x17d)](process['platform'],_0x784214[_0x464a6a(0x12b)]),'stdio':_0x784214[_0x464a6a(0x128)],'env':Object[_0x464a6a(0x178)]({},process['env'])});_0x2d4efc['on'](_0x784214[_0x464a6a(0x110)],async _0xbf8989=>{const _0x3ffcd3=_0x464a6a;PerformanceTester[_0x3ffcd3(0x14f)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x10b552,tcgConfigPath:_0x2a977e}=helper[_0x3ffcd3(0x194)]();fs[_0x3ffcd3(0x16f)](_0x2a977e),fs['rmdirSync'](_0x10b552);}catch(_0xf9c1de){logger[_0x3ffcd3(0x10a)](_0x784214[_0x3ffcd3(0x130)],_0xf9c1de);}process[_0x3ffcd3(0x1ac)]=_0xbf8989,logger[_0x3ffcd3(0x10a)]('child\x20process\x20exited\x20with\x20code\x20'+_0xbf8989),logger[_0x3ffcd3(0xfb)](_0x3ffcd3(0x153)+_0x34f7e0);if(helper['isNotUndefined'](_0x2a5d7f)&&helper[_0x3ffcd3(0x105)](_0x2a5d7f[_0x3ffcd3(0x150)])&&fs[_0x3ffcd3(0x13d)](_0x2a5d7f[_0x3ffcd3(0x150)][_0x3ffcd3(0x184)]))try{const _0x96b0cb={};_0x96b0cb[_0x3ffcd3(0x1c4)]=!![],_0x96b0cb[_0x3ffcd3(0x12e)]=!![],fs[_0x3ffcd3(0x116)](_0x2a5d7f['abortBuildOnFailure'][_0x3ffcd3(0x184)],_0x96b0cb),logger[_0x3ffcd3(0x10a)](_0x3ffcd3(0x114)+_0x2a5d7f[_0x3ffcd3(0x150)][_0x3ffcd3(0x184)]);}catch(_0x55d746){logger[_0x3ffcd3(0x16a)](_0x3ffcd3(0x1bd)+_0x55d746);}let _0x2adc50=null;if(fs[_0x3ffcd3(0x13d)](_0x5702d6)){_0x2adc50=fs[_0x3ffcd3(0x1c0)](_0x5702d6);try{_0x2adc50=JSON['parse'](_0x2adc50);}catch(_0x271357){logger[_0x3ffcd3(0x10a)]('Error\x20while\x20parsing\x20'+_0x5702d6+',\x20'+_0x2adc50+'\x20:\x20'+_0x271357);}fs[_0x3ffcd3(0x16f)](_0x5702d6);}fs[_0x3ffcd3(0x16f)](_0x34f7e0),fs[_0x3ffcd3(0x16f)](_0x1d7d3b),_0x2adc50&&(_0x4be329['errorMessage']=helper[_0x3ffcd3(0x1c7)](_0x2adc50,_0x784214[_0x3ffcd3(0x109)],_0x4be329));try{await TestHubHandler[_0x3ffcd3(0x1ae)](),await BrowserstackCLI['getInstance']()[_0x3ffcd3(0x1ae)]();}catch(_0x2f75dd){console['log'](_0x2f75dd),_0x784214[_0x3ffcd3(0x17a)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x3ffcd3(0x177)](_0x2f75dd));}testOpsHelper[_0x3ffcd3(0x181)](),TestDetails['shutdown'](),await utilities['finalExecution'](_0x4be329);});}module[a14_0x4b279c(0x125)]=run;
2
+ 'use strict';const a14_0x375552=a14_0xcfba;function a14_0xcfba(_0x24e346,_0x421b8a){const _0x32f82e=a14_0x32f8();return a14_0xcfba=function(_0xcfba77,_0x2bd33e){_0xcfba77=_0xcfba77-0x13e;let _0x4373e1=_0x32f82e[_0xcfba77];return _0x4373e1;},a14_0xcfba(_0x24e346,_0x421b8a);}(function(_0x2934df,_0x2de54f){const _0x770f0=a14_0xcfba,_0x10bb20=_0x2934df();while(!![]){try{const _0x191e2e=parseInt(_0x770f0(0x18c))/0x1+parseInt(_0x770f0(0x149))/0x2*(parseInt(_0x770f0(0x21d))/0x3)+-parseInt(_0x770f0(0x1a4))/0x4+parseInt(_0x770f0(0x1bb))/0x5*(parseInt(_0x770f0(0x154))/0x6)+parseInt(_0x770f0(0x14d))/0x7*(-parseInt(_0x770f0(0x1a6))/0x8)+parseInt(_0x770f0(0x161))/0x9*(parseInt(_0x770f0(0x157))/0xa)+-parseInt(_0x770f0(0x1e5))/0xb;if(_0x191e2e===_0x2de54f)break;else _0x10bb20['push'](_0x10bb20['shift']());}catch(_0x46209a){_0x10bb20['push'](_0x10bb20['shift']());}}}(a14_0x32f8,0xbab58));const fs=require('fs'),path=require(a14_0x375552(0x194)),util=require(a14_0x375552(0x198)),{spawn}=require(a14_0x375552(0x1fb)),logger=require(a14_0x375552(0x1a1))[a14_0x375552(0x1ad)],{default:BrowserStackSetup}=require(a14_0x375552(0x150)),helper=require('../../helpers/helper'),utilities=require(a14_0x375552(0x207)),constants=require(a14_0x375552(0x1ff)),accessibilityHelper=require(a14_0x375552(0x1cc)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x375552(0x1f7)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a14_0x375552(0x1eb)),testhubUtils=require(a14_0x375552(0x1a8)),{FRAMEWORKS}=require(a14_0x375552(0x16f)),PerformanceTester=require(a14_0x375552(0x148)),PerformanceEvents=require(a14_0x375552(0x1b2))['EVENTS'],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a14_0x375552(0x1f3)),{checkPwandBootstrapCli}=require(a14_0x375552(0x1ee)),ClientTroubleShootingService=require(a14_0x375552(0x1f0)),{checkAccessibilityPlatformConfig}=require(a14_0x375552(0x1cc)),getUserJestConfigs=async(_0x3b6796,_0x149d4e)=>{const _0x4a0a83=a14_0x375552,_0x3bf335={'GMFrB':_0x4a0a83(0x153),'skcyz':_0x4a0a83(0x180),'OOJye':function(_0x4144a8,_0x51f7c0){return _0x4144a8||_0x51f7c0;},'GPgyG':function(_0x2c529d,_0x62afda){return _0x2c529d(_0x62afda);},'QHXnm':_0x4a0a83(0x213),'UqxFT':_0x4a0a83(0x1aa),'WlnsM':'mjs','UhOVu':'cjs','jCetV':_0x4a0a83(0x195)},_0x5b700e=helper[_0x4a0a83(0x15f)](_0x3bf335[_0x4a0a83(0x21f)],_0x3bf335['skcyz']),_0x394be9=_0x149d4e[_0x4a0a83(0x1b5)](_0x1face8=>_0x1face8===_0x4a0a83(0x16d));if(!helper[_0x4a0a83(0x1f5)](_0x3b6796[_0x4a0a83(0x1c0)])){logger[_0x4a0a83(0x1d6)](_0x4a0a83(0x219)+_0x3b6796[_0x4a0a83(0x1c0)]),process['env'][_0x4a0a83(0x1b8)]=_0x3b6796[_0x4a0a83(0x1c0)];const _0x22ec36=await(0x0,_0x5b700e['default'])(path[_0x4a0a83(0x181)](_0x3b6796['config']));return _0x149d4e[_0x4a0a83(0x225)](_0x394be9,0x2),_0x3bf335[_0x4a0a83(0x143)](_0x22ec36,{});}const _0x52d386=_0x3bf335[_0x4a0a83(0x1c8)](require,path['join'](process['cwd'](),_0x3bf335[_0x4a0a83(0x20e)]));if(_0x52d386[_0x4a0a83(0x1d1)])return logger[_0x4a0a83(0x1d6)](_0x3bf335[_0x4a0a83(0x141)]),_0x52d386[_0x4a0a83(0x1d1)];const _0x4025a6=['js',_0x3bf335[_0x4a0a83(0x1a0)],_0x3bf335[_0x4a0a83(0x14e)],_0x3bf335[_0x4a0a83(0x211)],'ts'];for(const _0x3bacf1 of _0x4025a6){const _0x5d720e=path[_0x4a0a83(0x165)](process[_0x4a0a83(0x21c)](),'jest.config.'+_0x3bacf1);if(fs[_0x4a0a83(0x144)](_0x5d720e)){process[_0x4a0a83(0x1f6)][_0x4a0a83(0x1b8)]=_0x5d720e;const _0x1fa340=await(0x0,_0x5b700e[_0x4a0a83(0x172)])(_0x5d720e);return _0x1fa340;}}return{};},getSerial=(_0x6af84e,_0x21adbb)=>{const _0x5adccb=a14_0x375552,_0x3f2959={};_0x3f2959[_0x5adccb(0x162)]=_0x5adccb(0x14b),_0x3f2959[_0x5adccb(0x152)]=function(_0x56a686,_0x3c00e1){return _0x56a686>_0x3c00e1;},_0x3f2959[_0x5adccb(0x221)]='false';const _0x563c8f=_0x3f2959;let _0x7e7d48=_0x563c8f[_0x5adccb(0x162)];return _0x563c8f[_0x5adccb(0x152)](_0x6af84e[_0x5adccb(0x147)],0x1)&&(!_0x21adbb['runInBand']&&(helper[_0x5adccb(0x1f5)](_0x21adbb[_0x5adccb(0x20a)])||_0x563c8f[_0x5adccb(0x152)](_0x21adbb['maxWorkers'],0x1)))&&(_0x7e7d48=_0x563c8f['aIcbk']),_0x7e7d48;},getMaxWorkers=(_0x46ec06,_0x559a35,_0x3842bc)=>{const _0x4185c9=a14_0x375552,_0xf68425={'fHdxx':function(_0x4b5fe7,_0x34bded){return _0x4b5fe7(_0x34bded);}};let _0x113de2=0x1;if(!helper[_0x4185c9(0x1f5)](_0x559a35['parallelsPerPlatform']))_0x113de2=_0xf68425['fHdxx'](parseInt,_0x559a35[_0x4185c9(0x1c5)]);else{if(!helper['isUndefined'](_0x46ec06[_0x4185c9(0x20a)]))_0x113de2=_0x46ec06[_0x4185c9(0x20a)];else!helper[_0x4185c9(0x1f5)](_0x3842bc[_0x4185c9(0x20a)])&&(_0x113de2=_0x3842bc[_0x4185c9(0x20a)]);}return _0x113de2;};async function run(_0x546644,_0x28ca11,_0x467523){const _0x1f4657=a14_0x375552,_0x209de6={'rNKJT':_0x1f4657(0x163),'uPxBJ':'jest','yhfZW':function(_0x4f17e4,_0x12d4db){return _0x4f17e4(_0x12d4db);},'JNbdN':'@playwright/test','ZOZMF':function(_0x1df83c,_0x4620de,_0x99813b,_0x3e3e4c){return _0x1df83c(_0x4620de,_0x99813b,_0x3e3e4c);},'OFzFS':function(_0x1ece68,_0x3527ac){return _0x1ece68!=_0x3527ac;},'LmHAb':_0x1f4657(0x14b),'PwzaN':function(_0x50042c,_0xbe4a37,_0x2ba67a){return _0x50042c(_0xbe4a37,_0x2ba67a);},'gnksP':_0x1f4657(0x179),'gwDfq':function(_0x4d0cd2,_0x389a11){return _0x4d0cd2(_0x389a11);},'uAqwW':_0x1f4657(0x1c2),'KccMM':function(_0x2bc09d,_0x5a6eb9,_0x9e5b29){return _0x2bc09d(_0x5a6eb9,_0x9e5b29);},'tVcgt':function(_0xf515bf,_0x3820ac){return _0xf515bf*_0x3820ac;},'qRGnp':function(_0x3a1f2e,_0x3163de){return _0x3a1f2e===_0x3163de;},'PYArj':_0x1f4657(0x1e1),'ojrWe':'jest_browserstack.config.js','DGeAv':_0x1f4657(0x20c),'skMwZ':_0x1f4657(0x140),'EkxhU':_0x1f4657(0x183),'Kvviq':_0x1f4657(0x1ed),'flmIx':_0x1f4657(0x1d2),'KNFhZ':_0x1f4657(0x223),'gwFnO':_0x1f4657(0x14f),'uuXpf':_0x1f4657(0x220),'ojcri':_0x1f4657(0x18f),'TPzOa':_0x1f4657(0x208),'PUeUL':_0x1f4657(0x1b9),'FIFct':_0x1f4657(0x1ac),'qtfFZ':_0x1f4657(0x17b),'YytSw':_0x1f4657(0x1d3),'CXzDM':'playwright','zRmBv':_0x1f4657(0x200),'isiMg':_0x1f4657(0x1a9),'EkkxH':_0x1f4657(0x1fe),'MGFvO':'default','ThCJP':function(_0x2a4403,_0x513a86,_0x5afd3c){return _0x2a4403(_0x513a86,_0x5afd3c);},'xjqBY':_0x1f4657(0x170),'zZnic':function(_0xb626f6,_0x255aa2){return _0xb626f6>_0x255aa2;},'MRQat':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','wcrDz':_0x1f4657(0x1c9),'xClyc':_0x1f4657(0x16d),'IDDsR':function(_0x4c9339,_0x564e20){return _0x4c9339===_0x564e20;},'LHRzb':'win32','wBPVF':_0x1f4657(0x1e0),'XGfCp':_0x1f4657(0x192)},_0x5bc4f0=helper['getPackageVersion'](_0x209de6[_0x1f4657(0x19a)]);global['__isPlaywrightInstalled']=!!_0x5bc4f0;helper[_0x1f4657(0x1cd)]()?(await _0x467523[_0x1f4657(0x196)](_0x546644),await helper['handleApp'](_0x467523[_0x1f4657(0x1c0)])):await _0x467523[_0x1f4657(0x151)]();await _0x209de6[_0x1f4657(0x1fd)](checkPwandBootstrapCli,_0x5bc4f0,constants[_0x1f4657(0x20d)]['JEST'],_0x467523);if(!_0x467523['config'])return;_0x209de6[_0x1f4657(0x209)](_0x467523[_0x1f4657(0x1c0)]['testObservability'],null)?process[_0x1f4657(0x1f6)][_0x1f4657(0x15b)]=_0x467523[_0x1f4657(0x1c0)][_0x1f4657(0x1fa)]:process[_0x1f4657(0x1f6)][_0x1f4657(0x15b)]=_0x209de6[_0x1f4657(0x1ea)];const _0x20510d=new TestOrchestrationHandler(_0x467523[_0x1f4657(0x1c0)]),_0x4d0ee5=await _0x209de6[_0x1f4657(0x214)](getUserJestConfigs,_0x546644,_0x28ca11);logger[_0x1f4657(0x1d6)](_0x209de6[_0x1f4657(0x19f)]);const _0x26fad7=Object[_0x1f4657(0x1d8)]({},_0x4d0ee5);_0x26fad7[_0x1f4657(0x1b3)]=Object[_0x1f4657(0x1d8)]({},_0x26fad7[_0x1f4657(0x1b3)],{'server':helper[_0x1f4657(0x17a)](_0x467523['config']),'environment':_0x4d0ee5[_0x1f4657(0x1f4)]}),_0x26fad7[_0x1f4657(0x1b3)][_0x1f4657(0x1a2)]=_0x209de6[_0x1f4657(0x1b1)](getPercyOptions,_0x467523[_0x1f4657(0x1c0)]);const _0x321e1a=helper[_0x1f4657(0x1a7)](_0x467523['config']);!helper[_0x1f4657(0x1f5)](_0x467523[_0x1f4657(0x1c0)]['accessibilityOptions'])&&(process[_0x1f4657(0x1f6)][_0x1f4657(0x17d)]=JSON[_0x1f4657(0x1dc)](_0x467523['config'][_0x1f4657(0x17f)]));if(!BrowserstackCLI[_0x1f4657(0x197)]()['isRunning']()){const _0x19a8cd=await TestHubHandler[_0x1f4657(0x16a)](FRAMEWORKS['JEST'],_0x467523);}const _0x3e0abe=helper[_0x1f4657(0x1bd)](_0x467523[_0x1f4657(0x1c0)],_0x321e1a,constants[_0x1f4657(0x20d)][_0x1f4657(0x160)]);process[_0x1f4657(0x1f6)][_0x1f4657(0x169)]=JSON[_0x1f4657(0x1dc)](_0x3e0abe);let _0x47ece3=_0x467523[_0x1f4657(0x1c0)][_0x1f4657(0x1e4)];_0x47ece3=_0x47ece3||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x467523['config']),process[_0x1f4657(0x1f6)][_0x1f4657(0x203)]=_0x47ece3,logger[_0x1f4657(0x202)](_0x1f4657(0x20f)+_0x47ece3+_0x1f4657(0x21b)+BrowserstackCLI[_0x1f4657(0x197)]()[_0x1f4657(0x1de)]());if(_0x5bc4f0)try{const _0x456135=_0x209de6[_0x1f4657(0x1b1)](checkAccessibilityPlatformConfig,_0x467523[_0x1f4657(0x1c0)]);process[_0x1f4657(0x1f6)][_0x1f4657(0x1d0)]=_0x456135?_0x209de6['LmHAb']:_0x209de6[_0x1f4657(0x186)],logger[_0x1f4657(0x202)](_0x1f4657(0x1d5)+_0x456135+_0x1f4657(0x18d)+process[_0x1f4657(0x1f6)][_0x1f4657(0x1d0)]);}catch(_0x1d3ee4){logger[_0x1f4657(0x202)](_0x1f4657(0x216)+util[_0x1f4657(0x17e)](_0x1d3ee4));}_0x26fad7['testEnvironmentOptions']['capabilities']=_0x3e0abe,_0x26fad7['testEnvironmentOptions']['serial__']=_0x209de6[_0x1f4657(0x1db)](getSerial,_0x3e0abe,_0x546644),_0x26fad7[_0x1f4657(0x1b3)]['parallels__']=_0x209de6[_0x1f4657(0x1fd)](getMaxWorkers,_0x546644,_0x467523[_0x1f4657(0x1c0)],_0x4d0ee5),_0x26fad7['testEnvironmentOptions']['proxySettings']=_0x467523[_0x1f4657(0x1c0)][_0x1f4657(0x16b)],_0x26fad7[_0x1f4657(0x1b3)][_0x1f4657(0x1a5)]=_0x209de6[_0x1f4657(0x1fc)](_0x546644[_0x1f4657(0x1c4)],0x1)||0x1388,_0x26fad7[_0x1f4657(0x1b3)]['skipSessionName']=_0x467523[_0x1f4657(0x1c0)][_0x1f4657(0x1ec)][_0x1f4657(0x15e)],_0x26fad7[_0x1f4657(0x1b3)]['skipSessionStatus']=_0x467523[_0x1f4657(0x1c0)]['testContextOptions'][_0x1f4657(0x1e2)],_0x26fad7[_0x1f4657(0x1b3)][_0x1f4657(0x205)]=_0x467523[_0x1f4657(0x1c0)][_0x1f4657(0x1c7)],_0x26fad7['testEnvironmentOptions'][_0x1f4657(0x201)]=_0x467523[_0x1f4657(0x1c0)]['turboScaleUrl'],_0x26fad7[_0x1f4657(0x1b3)][_0x1f4657(0x173)]=_0x467523[_0x1f4657(0x1c0)]['platforms'];const _0x3e7311=helper[_0x1f4657(0x1b7)](_0x467523['config']);if(!helper[_0x1f4657(0x1e3)](_0x3e7311)){helper[_0x1f4657(0x1dd)](_0x3e7311['retryTestsOnFailure'])&&(_0x26fad7[_0x1f4657(0x1b3)][_0x1f4657(0x1cb)]=_0x3e7311[_0x1f4657(0x155)][_0x1f4657(0x222)]);if(helper[_0x1f4657(0x1dd)](_0x3e7311['abortBuildOnFailure'])&&helper['isNotUndefined'](_0x3e7311[_0x1f4657(0x226)][_0x1f4657(0x1da)])){const _0x36cc90={};_0x36cc90[_0x1f4657(0x177)]=_0x3e7311['abortBuildOnFailure'][_0x1f4657(0x217)],_0x36cc90['workingDir']=_0x3e7311[_0x1f4657(0x226)]['workingDir'],_0x26fad7[_0x1f4657(0x1b3)][_0x1f4657(0x15d)]=_0x36cc90;}}let _0x14f9eb='';_0x209de6[_0x1f4657(0x167)](helper[_0x1f4657(0x199)](),constants[_0x1f4657(0x1df)][_0x1f4657(0x14a)])?_0x14f9eb=_0x209de6['PYArj']:_0x14f9eb=_0x209de6[_0x1f4657(0x13f)];const _0x50be68=_0x14f9eb,_0x58c735=path[_0x1f4657(0x165)](__dirname,_0x209de6['DGeAv'],_0x209de6[_0x1f4657(0x1ce)]),_0x131a27=path[_0x1f4657(0x165)](__dirname,_0x209de6['DGeAv'],_0x209de6[_0x1f4657(0x1bf)]),_0x7e7c81=path['join'](__dirname,_0x209de6['DGeAv'],_0x209de6['Kvviq']);_0x26fad7[_0x1f4657(0x1f4)]&&(process[_0x1f4657(0x1f6)][_0x1f4657(0x178)]=_0x26fad7[_0x1f4657(0x1f4)]);_0x26fad7[_0x1f4657(0x1f4)]=path['join'](__dirname,_0x209de6[_0x1f4657(0x164)],_0x209de6[_0x1f4657(0x18b)]),_0x26fad7[_0x1f4657(0x215)]=_0x131a27,_0x26fad7[_0x1f4657(0x145)]=_0x26fad7['setupFilesAfterEnv']||[],_0x26fad7[_0x1f4657(0x145)][_0x1f4657(0x21a)](path[_0x1f4657(0x165)](__dirname,_0x209de6[_0x1f4657(0x142)]));_0x20510d['isTestOrchestrationEnabled']()&&(_0x26fad7[_0x1f4657(0x189)]=path['join'](__dirname,_0x209de6[_0x1f4657(0x164)],_0x209de6[_0x1f4657(0x19d)]));if(testhubUtils[_0x1f4657(0x218)]()){let _0x2db064=null;try{_0x2db064=helper[_0x1f4657(0x15f)](_0x209de6[_0x1f4657(0x212)],_0x209de6[_0x1f4657(0x159)]);}catch(_0x15e785){_0x209de6['yhfZW'](debug,_0x1f4657(0x1f1)+_0x15e785);}_0x2db064&&(_0x26fad7['setupFilesAfterEnv'][_0x1f4657(0x21a)](path[_0x1f4657(0x165)](__dirname,_0x209de6[_0x1f4657(0x15c)],_0x209de6[_0x1f4657(0x1f2)])),_0x26fad7[_0x1f4657(0x1bc)]=path[_0x1f4657(0x165)](__dirname,_0x209de6['DGeAv'],_0x209de6[_0x1f4657(0x1ae)]));}_0x26fad7['setupFiles']=_0x26fad7[_0x1f4657(0x190)]||[];try{helper[_0x1f4657(0x224)](),_0x26fad7[_0x1f4657(0x190)][_0x1f4657(0x21a)](path[_0x1f4657(0x165)](__dirname,_0x209de6[_0x1f4657(0x171)]));}catch{logger[_0x1f4657(0x202)](_0x209de6[_0x1f4657(0x176)]);}try{helper['requirePWModule'][_0x1f4657(0x18e)](null,[_0x209de6[_0x1f4657(0x19a)],_0x209de6[_0x1f4657(0x158)]]),logger[_0x1f4657(0x202)](_0x209de6[_0x1f4657(0x1c3)]),_0x26fad7[_0x1f4657(0x190)]['push'](path[_0x1f4657(0x165)](__dirname,_0x209de6[_0x1f4657(0x16c)]));}catch(_0xd10706){logger['debug'](_0x209de6['EkkxH'],_0xd10706);}_0x26fad7[_0x1f4657(0x18a)]=_0x26fad7[_0x1f4657(0x18a)]||[_0x209de6['MGFvO']],_0x209de6['ThCJP'](updateTestRerunConfig,_0x26fad7,_0x467523);const _0x26aca3=fs[_0x1f4657(0x185)](_0x7e7c81);fs[_0x1f4657(0x17c)](_0x26fad7['runner'],_0x1f4657(0x1e8)+_0x26aca3+_0x1f4657(0x184)+_0x467523['config']['platforms'][_0x1f4657(0x147)]+_0x1f4657(0x19c)),logger[_0x1f4657(0x1d6)](_0x1f4657(0x1c1)+_0x50be68+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0x1f4657(0x17c)](_0x50be68,_0x1f4657(0x13e)+JSON[_0x1f4657(0x1dc)](_0x26fad7)+_0x1f4657(0x1ef));if(_0x20510d[_0x1f4657(0x1d4)]()){logger['debug'](_0x209de6[_0x1f4657(0x168)]);const _0x476e08=await _0x20510d[_0x1f4657(0x182)](_0x26fad7,_0x28ca11['slice'](0x1),_0x50be68);logger[_0x1f4657(0x202)](_0x1f4657(0x19e)+JSON[_0x1f4657(0x1dc)](_0x476e08)+'\x20test\x20files\x20to\x20run.');const _0x51ac17=await _0x20510d['reorderTestFiles'](_0x476e08);logger[_0x1f4657(0x202)](_0x1f4657(0x191)+JSON[_0x1f4657(0x1dc)](_0x51ac17)),_0x51ac17&&_0x209de6[_0x1f4657(0x175)](_0x51ac17[_0x1f4657(0x147)],0x0)&&(process[_0x1f4657(0x1f6)][_0x1f4657(0x1cf)]=_0x51ac17?.['join'](','));}logger[_0x1f4657(0x1d6)](_0x209de6[_0x1f4657(0x146)]);testhubUtils[_0x1f4657(0x218)]()&&TestDetails[_0x1f4657(0x1d9)]();helper[_0x1f4657(0x1b6)]({},_0x28ca11),PerformanceTester[_0x1f4657(0x206)](PerformanceEvents[_0x1f4657(0x19b)]);const _0x4a5cf5=_0x209de6[_0x1f4657(0x1fd)](spawn,_0x209de6[_0x1f4657(0x1a3)],[_0x209de6[_0x1f4657(0x1f8)],_0x209de6[_0x1f4657(0x20b)],_0x50be68,..._0x28ca11['slice'](0x1)],{'shell':_0x209de6['IDDsR'](process[_0x1f4657(0x1ab)],_0x209de6[_0x1f4657(0x166)]),'stdio':_0x209de6['wBPVF'],'env':Object[_0x1f4657(0x1d8)]({},process[_0x1f4657(0x1f6)])});_0x4a5cf5['on'](_0x209de6['XGfCp'],async _0x412441=>{const _0x5b3baa=_0x1f4657;PerformanceTester[_0x5b3baa(0x14c)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x1ce221,tcgConfigPath:_0x397a3e}=helper[_0x5b3baa(0x1e9)]();fs[_0x5b3baa(0x1ca)](_0x397a3e),fs[_0x5b3baa(0x1c6)](_0x1ce221);}catch(_0x169fc2){logger[_0x5b3baa(0x202)](_0x209de6[_0x5b3baa(0x15a)],_0x169fc2);}process['exitCode']=_0x412441,logger['debug'](_0x5b3baa(0x156)+_0x412441),logger[_0x5b3baa(0x1d6)](_0x5b3baa(0x188)+_0x50be68);if(helper[_0x5b3baa(0x1dd)](_0x3e7311)&&helper[_0x5b3baa(0x1dd)](_0x3e7311[_0x5b3baa(0x226)])&&fs[_0x5b3baa(0x144)](_0x3e7311['abortBuildOnFailure'][_0x5b3baa(0x1da)]))try{const _0x1e298f={};_0x1e298f[_0x5b3baa(0x21e)]=!![],_0x1e298f[_0x5b3baa(0x210)]=!![],fs['rmSync'](_0x3e7311[_0x5b3baa(0x226)][_0x5b3baa(0x1da)],_0x1e298f),logger[_0x5b3baa(0x202)](_0x5b3baa(0x1b4)+_0x3e7311[_0x5b3baa(0x226)][_0x5b3baa(0x1da)]);}catch(_0x6a8ccd){logger[_0x5b3baa(0x1af)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x6a8ccd);}let _0x16490f=null;if(fs['existsSync'](_0x58c735)){_0x16490f=fs['readFileSync'](_0x58c735);try{_0x16490f=JSON[_0x5b3baa(0x16e)](_0x16490f);}catch(_0x492b60){logger['debug'](_0x5b3baa(0x1f9)+_0x58c735+',\x20'+_0x16490f+_0x5b3baa(0x193)+_0x492b60);}fs[_0x5b3baa(0x1ca)](_0x58c735);}fs[_0x5b3baa(0x1ca)](_0x50be68),fs[_0x5b3baa(0x1ca)](_0x131a27),_0x16490f&&(_0x467523[_0x5b3baa(0x174)]=helper[_0x5b3baa(0x1e7)](_0x16490f,_0x209de6['uPxBJ'],_0x467523));try{await TestHubHandler[_0x5b3baa(0x204)](),await BrowserstackCLI[_0x5b3baa(0x197)]()['stop']();}catch(_0x74805){console[_0x5b3baa(0x1d7)](_0x74805),_0x209de6[_0x5b3baa(0x1be)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x5b3baa(0x17e)](_0x74805));}testOpsHelper[_0x5b3baa(0x1b0)](),TestDetails[_0x5b3baa(0x1ba)](),await utilities[_0x5b3baa(0x187)](_0x467523);});}function a14_0x32f8(){const _0x48da14=['qtfFZ','default','platformCaps','errorMessage','zZnic','YytSw','failureThresholdCount','BSTACK_JEST_TEST_ENV','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','getHubUrl','test_before.setup.js','writeFileSync','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','format','accessibilityOptions','jest-config','resolve','findTestFiles','customTestRunner.js','\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','readFileSync','uAqwW','finalExecution','Deleting\x20','testSequencer','reporters','flmIx','1189990twBjYc',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','apply','jest-circus','setupFiles','Reodered\x20Test\x20Files:\x20','close','\x20:\x20','path','json','initialize','getInstance','util','getPackageType','JNbdN','SDK_SETUP',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','gwFnO','Found:\x20','gnksP','WlnsM','../../helpers/logger','browserStackPercyOptions','wcrDz','2545700ssxFXQ','timeout__','8zYYubH','useW3C','../../helpers/testhub/utils','test.setup.js','Getting\x20your\x20jest\x20configs\x20from\x20package.json','platform','customCircus.js','winstonLogger','FIFct','error','printBuildLink','gwDfq','../../helpers/performance/constants','testEnvironmentOptions','Deleted\x20fail-fast\x20state\x20folder:\x20','findIndex','filterBrowserstackArgs','parseTestOrchestrationOptions','USER_CONFIG_DETAILS_PATH','data-hooks.js','shutdown','10XUVtvt','testRunner','prepareCapabilities','yhfZW','EkxhU','config','Creating\x20','false','zRmBv','testTimeout','parallelsPerPlatform','rmdirSync','logLevel','GPgyG','npx','unlinkSync','retries__','../../helpers/accessibility-automation/helper','isBrowserstackInfra','skMwZ','JEST_TEST_ORDER','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','jest','customEnvironment.js','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','isTestOrchestrationEnabled','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','info','log','assign','setup','workingDir','KccMM','stringify','isNotUndefined','isRunning','PACKAGE_TYPE','inherit','jest_browserstack.config.cjs','skipSessionStatus','isEmpty','accessibility','10274781MfxzGd','exports','getErrorMessageFromResults','\x0a\x20\x20\x20\x20','getTCGConfigFilePaths','LmHAb','../../helpers/testhub/testhubHandler','testContextOptions','customTestRunnerTemplate.js','../../helpers/playwright-helper','\x0amodule.exports\x20=\x20config;','../utils/clientTroubleshootingService','Unable\x20to\x20find\x20jest-circus,\x20','PUeUL','../v2/browserstackCLI','testEnvironment','isUndefined','env','../../helpers/test-observability/utils','uPxBJ','Error\x20while\x20parsing\x20','testObservability','child_process','tVcgt','ZOZMF','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','../utils/constants','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','turboScaleUrl','debug','BROWSERSTACK_TEST_ACCESSIBILITY_YML','stop','browserStackLogLevel','end','../../helpers/utilities','test-observability','OFzFS','maxWorkers','xClyc','customImplements','FRAMEWORKS','QHXnm','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','force','jCetV','uuXpf','package.json','PwzaN','runner','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','maxFailures','shouldProcessEventForTesthub','Getting\x20your\x20jest\x20configs\x20from\x20','push',',\x20CLI\x20running:\x20','cwd','48819WDGJns','recursive','GMFrB','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','aIcbk','maxRetries','jest.setup.js','requireSeleniumWebdriver','splice','abortBuildOnFailure','const\x20config=','ojrWe','jest_browserstack_results.json','UqxFT','KNFhZ','OOJye','existsSync','setupFilesAfterEnv','MRQat','length','../../helpers/performance/performance-tester','126PIrzsP','MODULE','true','start','6001513aPvbld','UhOVu','customSequencer.js','../../helpers/BrowserStackSetup','setupTCGAuth','wuIBx','jest-config/build/readConfigFileAndSetRootDir.js','2497506paHUge','retryTestsOnFailure','child\x20process\x20exited\x20with\x20code\x20','111480gCSIog','CXzDM','ojcri','rNKJT','BROWSERSTACK_TEST_OBSERVABILITY_YML','TPzOa','failFast','skipSessionName','requireModule','JEST','117niJydz','MRLHR','error\x20removing\x20tcg\x20config\x20file','DGeAv','join','LHRzb','qRGnp','xjqBY','BROWSERSTACK_CAPABILITIES','launchBuild','proxySettings','isiMg','--config','parse','../../helpers/test-observability/constants','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler'];a14_0x32f8=function(){return _0x48da14;};return a14_0x32f8();}module[a14_0x375552(0x1e6)]=run;
@@ -1 +1 @@
1
- const a15_0x12fb14=a15_0x4bde;function a15_0x4bde(_0x555a70,_0x42fc7f){const _0xf5f771=a15_0xf5f7();return a15_0x4bde=function(_0x4bdea2,_0x2388d5){_0x4bdea2=_0x4bdea2-0x1e8;let _0x2e13c0=_0xf5f771[_0x4bdea2];return _0x2e13c0;},a15_0x4bde(_0x555a70,_0x42fc7f);}(function(_0x743501,_0x845a12){const _0x2bc59a=a15_0x4bde,_0x1e255e=_0x743501();while(!![]){try{const _0x2eee3d=parseInt(_0x2bc59a(0x1ed))/0x1*(parseInt(_0x2bc59a(0x1f9))/0x2)+parseInt(_0x2bc59a(0x1ea))/0x3+parseInt(_0x2bc59a(0x1f8))/0x4*(parseInt(_0x2bc59a(0x1fc))/0x5)+parseInt(_0x2bc59a(0x1e8))/0x6+-parseInt(_0x2bc59a(0x1f6))/0x7*(parseInt(_0x2bc59a(0x1fb))/0x8)+parseInt(_0x2bc59a(0x1f5))/0x9+-parseInt(_0x2bc59a(0x1f7))/0xa;if(_0x2eee3d===_0x845a12)break;else _0x1e255e['push'](_0x1e255e['shift']());}catch(_0x3282f0){_0x1e255e['push'](_0x1e255e['shift']());}}}(a15_0xf5f7,0xa3a4e));const path=require(a15_0x12fb14(0x1ee)),{requireModule}=require(a15_0x12fb14(0x1e9));let initJestAdapter=requireModule(a15_0x12fb14(0x1eb),'jest-circus');function a15_0xf5f7(){const _0x25f40c=['initRequireModule','includes','exports','3365019TPcKXo','21fdSdEL','11839340ZiEvRz','751988Bdcopo','4fVVaHk','requireInternalModule','1118136vfKcRs','25MdKstd','5101686CHGaqO','../../../helpers/helper','261738nKGsUf','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','KlzVe','11059oaQpup','path','default','customJestAdapterInit.js','jestAdapterInit'];a15_0xf5f7=function(){return _0x25f40c;};return a15_0xf5f7();}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a15_0x12fb14(0x1ef)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,a15_0x12fb14(0x1f0));module[a15_0x12fb14(0x1f4)]=(..._0x1df275)=>{const _0x46d311=a15_0x12fb14,_0x578c9f={'KlzVe':_0x46d311(0x1f1),'HhAlk':function(_0x534034,_0x118c48){return _0x534034===_0x118c48;},'HKtzi':function(_0x57d265,..._0xa0a8ce){return _0x57d265(..._0xa0a8ce);}};return _0x1df275[0x3]['initRequireModule']=_0x1df275[0x3][_0x46d311(0x1fa)],_0x1df275[0x3][_0x46d311(0x1fa)]=(..._0x2fdf4f)=>{const _0xe8823f=_0x46d311;if(_0x2fdf4f[0x0]&&_0x2fdf4f[0x0][_0xe8823f(0x1f3)](_0x578c9f[_0xe8823f(0x1ec)])&&_0x578c9f['HhAlk'](_0x2fdf4f[0x1],undefined))return _0x1df275[0x3][_0xe8823f(0x1f2)](FRAMEWORK_INITIALIZER);return _0x1df275[0x3][_0xe8823f(0x1f2)](..._0x2fdf4f);},_0x578c9f['HKtzi'](initJestAdapter,..._0x1df275);};
1
+ const a15_0x5ac996=a15_0x3045;function a15_0x3045(_0x435e98,_0x1bd127){const _0x5d09c3=a15_0x5d09();return a15_0x3045=function(_0x304541,_0x476e7c){_0x304541=_0x304541-0x9b;let _0x5c6940=_0x5d09c3[_0x304541];return _0x5c6940;},a15_0x3045(_0x435e98,_0x1bd127);}(function(_0x557a70,_0x2e3ddd){const _0x5077a6=a15_0x3045,_0x2feca9=_0x557a70();while(!![]){try{const _0x505905=-parseInt(_0x5077a6(0xae))/0x1+parseInt(_0x5077a6(0xa8))/0x2+-parseInt(_0x5077a6(0xa4))/0x3*(-parseInt(_0x5077a6(0xab))/0x4)+parseInt(_0x5077a6(0xa9))/0x5*(-parseInt(_0x5077a6(0x9f))/0x6)+parseInt(_0x5077a6(0x9b))/0x7+parseInt(_0x5077a6(0xac))/0x8+parseInt(_0x5077a6(0xaf))/0x9;if(_0x505905===_0x2e3ddd)break;else _0x2feca9['push'](_0x2feca9['shift']());}catch(_0x1eedc0){_0x2feca9['push'](_0x2feca9['shift']());}}}(a15_0x5d09,0xb6631));function a15_0x5d09(){const _0x3ed1c8=['cJLHM','4251100MyZTwg','path','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','requireInternalModule','2949342urgBDw','../../../helpers/helper','lOBIo','includes','AjgIr','1263pcvANz','default','exports','jestAdapterInit','759694EQOEnM','15ymhyIA','initRequireModule','2640ACMaxV','4562544cKNAKG','function','906076lYAsRB','11632311gBNRZk'];a15_0x5d09=function(){return _0x3ed1c8;};return a15_0x5d09();}const path=require(a15_0x5ac996(0x9c)),{requireModule}=require(a15_0x5ac996(0xa0));let initJestAdapter=requireModule(a15_0x5ac996(0x9d),'jest-circus');initJestAdapter=typeof initJestAdapter===a15_0x5ac996(0xad)?initJestAdapter:initJestAdapter[a15_0x5ac996(0xa5)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,'customJestAdapterInit.js');module[a15_0x5ac996(0xa6)]=(..._0x5ec614)=>{const _0x2e7a44=a15_0x5ac996,_0x555bd7={'lOBIo':_0x2e7a44(0xa7),'AjgIr':function(_0x25bc80,_0xef23ed){return _0x25bc80===_0xef23ed;},'cJLHM':function(_0x1b209a,..._0xe0a396){return _0x1b209a(..._0xe0a396);}};return _0x5ec614[0x3][_0x2e7a44(0xaa)]=_0x5ec614[0x3][_0x2e7a44(0x9e)],_0x5ec614[0x3]['requireInternalModule']=(..._0x3af959)=>{const _0x574299=_0x2e7a44;if(_0x3af959[0x0]&&_0x3af959[0x0][_0x574299(0xa2)](_0x555bd7[_0x574299(0xa1)])&&_0x555bd7[_0x574299(0xa3)](_0x3af959[0x1],undefined))return _0x5ec614[0x3][_0x574299(0xaa)](FRAMEWORK_INITIALIZER);return _0x5ec614[0x3][_0x574299(0xaa)](..._0x3af959);},_0x555bd7[_0x2e7a44(0xb0)](initJestAdapter,..._0x5ec614);};
@@ -1 +1 @@
1
- const a16_0x4ab614=a16_0x50eb;(function(_0xf18b55,_0x3b0b4c){const _0x58c8fd=a16_0x50eb,_0x33ee97=_0xf18b55();while(!![]){try{const _0x324304=parseInt(_0x58c8fd(0x104))/0x1+parseInt(_0x58c8fd(0xcb))/0x2+parseInt(_0x58c8fd(0xee))/0x3+parseInt(_0x58c8fd(0xd6))/0x4*(parseInt(_0x58c8fd(0x109))/0x5)+parseInt(_0x58c8fd(0xdb))/0x6+-parseInt(_0x58c8fd(0xe0))/0x7*(parseInt(_0x58c8fd(0xd0))/0x8)+-parseInt(_0x58c8fd(0xe1))/0x9;if(_0x324304===_0x3b0b4c)break;else _0x33ee97['push'](_0x33ee97['shift']());}catch(_0x5b5ea5){_0x33ee97['push'](_0x33ee97['shift']());}}}(a16_0x1f40,0x68174));const helper=require(a16_0x4ab614(0xcf)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a16_0x4ab614(0xa8)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require(a16_0x4ab614(0xd3)),testhubUtils=require(a16_0x4ab614(0xc1)),logger=require('../../../helpers/logger')['winstonLogger'],getTestEnvironment=((()=>{const _0x26a3cf=a16_0x4ab614,_0x5963a9={};_0x5963a9[_0x26a3cf(0xd7)]='jest-resolve',_0x5963a9[_0x26a3cf(0xef)]=_0x26a3cf(0x103);const _0x38a5a2=_0x5963a9;try{const _0x35b0eb=helper['requireModule'](_0x38a5a2[_0x26a3cf(0xd7)]);if(_0x35b0eb[_0x26a3cf(0xa4)])return _0x35b0eb[_0x26a3cf(0xa4)];const _0xbefc29=helper[_0x26a3cf(0xbd)](_0x38a5a2[_0x26a3cf(0xef)]);if(_0xbefc29[_0x26a3cf(0xba)])return _0xbefc29[_0x26a3cf(0xba)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x5d759f=a16_0x4ab614,_0x1607ce={'bLujS':function(_0x121fcb,_0x463f74){return _0x121fcb(_0x463f74);},'Oyxmy':_0x5d759f(0xac),'oOMiB':'jest-environment-node','TlTIP':function(_0x518e3e,_0x457867){return _0x518e3e(_0x457867);}},_0x4720c6=_0x1607ce[_0x5d759f(0x101)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x5d759f(0xa3)][_0x5d759f(0xc5)]||_0x1607ce['Oyxmy']});if(!_0x4720c6)return _0x1607ce[_0x5d759f(0x101)](_interopRequireDefault,helper[_0x5d759f(0xbd)](_0x1607ce[_0x5d759f(0xb5)]));return _0x1607ce['TlTIP'](_interopRequireDefault,helper[_0x5d759f(0xbd)](_0x4720c6));})()),_seleniumWebdriver2=((()=>{const _0x5f5d38=a16_0x4ab614,_0x280720={'tsYFz':function(_0x259c07,_0x53ce19){return _0x259c07(_0x53ce19);}};try{const _0x597016=helper[_0x5f5d38(0xb3)]();return helper[_0x5f5d38(0xd4)](),_0x280720['tsYFz'](_interopRequireDefault,_0x597016);}catch{return null;}})());function _interopRequireDefault(_0x574a2c){const _0x339ba6=a16_0x4ab614;return _0x574a2c&&_0x574a2c[_0x339ba6(0x10b)]?_0x574a2c:{'default':_0x574a2c};}function a16_0x50eb(_0x5ce4cc,_0x40cc0d){const _0x1f405a=a16_0x1f40();return a16_0x50eb=function(_0x50eb69,_0x53a423){_0x50eb69=_0x50eb69-0x9d;let _0x278109=_0x1f405a[_0x50eb69];return _0x278109;},a16_0x50eb(_0x5ce4cc,_0x40cc0d);}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x4ab614(0xfd)][a16_0x4ab614(0xca)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x4ab614(0xfd)]{constructor(_0x1e9cdd){const _0x43762f=a16_0x4ab614,_0x22310f={'vXrbG':_0x43762f(0xcc),'KmWLo':function(_0x2d23dd,_0x1ad125){return _0x2d23dd+_0x1ad125;},'ghmZo':'bstack:options','Sdpca':function(_0x5419f1,_0x33f4a3){return _0x5419f1(_0x33f4a3);},'ZCZNy':_0x43762f(0xf2),'SZakW':'1|5|3|6|2|4|7|0','LuPxg':_0x43762f(0x106),'SVKyM':_0x43762f(0xb8),'fNPZK':'percyCaptureMode','DljeN':_0x43762f(0xfc),'WnEKv':_0x43762f(0x105),'fHLpk':_0x43762f(0xc7)};super(_0x1e9cdd),this[_0x43762f(0xf9)][_0x43762f(0xa9)]=0x0,this['configuration']={};!_0x1e9cdd[_0x43762f(0x106)]&&(_0x1e9cdd[_0x43762f(0x106)]={});if(helper[_0x43762f(0xe7)]()){_0x1e9cdd[_0x43762f(0x106)]=_0x1e9cdd['projectConfig']?_0x1e9cdd[_0x43762f(0xf8)]['testEnvironmentOptions']:_0x1e9cdd['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x43762f(0xae)]=new _seleniumWebdriver2[(_0x43762f(0xfd))][(_0x43762f(0xca))]());this['capability']=_0x1e9cdd[_0x43762f(0xf8)]?_0x1e9cdd[_0x43762f(0xf8)][_0x43762f(0xf3)]:_0x1e9cdd[_0x43762f(0xf3)],this[_0x43762f(0xf9)][_0x43762f(0xa9)]=_0x22310f[_0x43762f(0xec)](_0x1e9cdd['testEnvironmentOptions'][_0x43762f(0x108)]||0x1388,constants[_0x43762f(0xa7)]),this[_0x43762f(0xbb)]=_0x1e9cdd[_0x43762f(0x106)][_0x43762f(0x9f)];if(this[_0x43762f(0xbb)]){const _0x51ad2d=this[_0x43762f(0xf3)][_0x22310f[_0x43762f(0x9d)]]?.[_0x43762f(0xb4)]||'',_0x11ed7e=this[_0x43762f(0xf3)][_0x22310f[_0x43762f(0x9d)]]?.[_0x43762f(0x10a)]||'';this[_0x43762f(0x9f)]=new(_0x22310f[_0x43762f(0xe2)](require,_0x22310f[_0x43762f(0xc9)]))(this[_0x43762f(0xbb)],_0x51ad2d,_0x11ed7e),this[_0x43762f(0xf9)][_0x43762f(0xf5)]=![];}helper['isNotUndefined'](_0x1e9cdd[_0x43762f(0x106)][_0x43762f(0xa6)])&&(this[_0x43762f(0xf9)][_0x43762f(0xfe)]=_0x1e9cdd['testEnvironmentOptions']['retries__']);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x1531a1=new ObservabilityReporter();_0x1531a1[_0x43762f(0xe3)]();}this[_0x43762f(0xf9)]['browserStackGlobals']={},this['configuration']=_0x1e9cdd[_0x43762f(0x106)],this[_0x43762f(0xe9)][_0x43762f(0xa1)]=constants[_0x43762f(0xc2)]['JEST'],this[_0x43762f(0xf9)][_0x43762f(0xab)]=(_0x1e9cdd[_0x43762f(0xf8)]?_0x1e9cdd[_0x43762f(0xf8)]['browserstackPlatformIndex']:_0x1e9cdd['browserstackPlatformIndex'])||0x0,this[_0x43762f(0xf9)][_0x43762f(0xe5)]=this[_0x43762f(0xe9)]&&this[_0x43762f(0xe9)]['platformCaps']&&Array[_0x43762f(0xdc)](this['configuration'][_0x43762f(0xbc)])&&this[_0x43762f(0xe9)][_0x43762f(0xbc)][this['global'][_0x43762f(0xab)]]||{};const _0x132ca0=this[_0x43762f(0xf9)][_0x43762f(0xab)],_0x25de8f={...this[_0x43762f(0xe9)],'capability':this['configuration']['capabilities']&&Array[_0x43762f(0xdc)](this[_0x43762f(0xe9)]['capabilities'])&&this['configuration'][_0x43762f(0xe4)][_0x132ca0]||{},'platformCaps':this[_0x43762f(0xe9)]['platformCaps']&&Array['isArray'](this[_0x43762f(0xe9)][_0x43762f(0xbc)])&&this[_0x43762f(0xe9)][_0x43762f(0xbc)][_0x132ca0]||{}};delete _0x25de8f['capabilities'],this[_0x43762f(0xf9)][_0x43762f(0xad)]=_0x25de8f;if(_seleniumWebdriver2){const _0x523737=_0x22310f['SZakW'][_0x43762f(0xb9)]('|');let _0x1b12e8=0x0;while(!![]){switch(_0x523737[_0x1b12e8++]){case'0':this[_0x43762f(0xf9)][_0x43762f(0xd8)]=async()=>{const _0x457af9=_0x43762f;await this['global'][_0x457af9(0xe6)][_0x457af9(0xcc)](_0x22310f['vXrbG']);};continue;case'1':this[_0x43762f(0xf9)][_0x43762f(0xf4)]=[];continue;case'2':this[_0x43762f(0xf9)][_0x43762f(0xeb)]=helper[_0x43762f(0xfa)](_0x1e9cdd,[_0x22310f['LuPxg'],_0x22310f[_0x43762f(0xea)],_0x22310f['fNPZK']]);continue;case'3':this[_0x43762f(0xf9)][_0x43762f(0xfc)]=helper['nestedKeyValue'](_0x1e9cdd,[_0x22310f['LuPxg'],_0x22310f[_0x43762f(0xea)],_0x22310f[_0x43762f(0xaa)]]);continue;case'4':helper[_0x43762f(0xcd)](this[_0x43762f(0xe9)][_0x43762f(0xb0)])?this['global'][_0x43762f(0xce)]=!![]:this[_0x43762f(0xf9)][_0x43762f(0xce)]=![];continue;case'5':this['global'][_0x43762f(0xbe)]=_0x22310f['Sdpca'](require,_0x22310f[_0x43762f(0xc4)])['browserstackAgentV2']({...this[_0x43762f(0xe9)],'capability':this[_0x43762f(0xf3)]||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;case'6':this['global'][_0x43762f(0xc7)]=helper[_0x43762f(0xfa)](_0x1e9cdd,[_0x22310f[_0x43762f(0xd1)],_0x22310f[_0x43762f(0xea)],_0x22310f['fHLpk']]);continue;case'7':this[_0x43762f(0xf9)][_0x43762f(0xa2)]=helper[_0x43762f(0xcd)](this[_0x43762f(0xe9)][_0x43762f(0xa0)]);continue;}break;}}}async[a16_0x4ab614(0xaf)](){const _0xf27613=a16_0x4ab614;_seleniumWebdriver2&&(await helper[_0xf27613(0xa5)](this[_0xf27613(0xf9)][_0xf27613(0xd5)]),this[_0xf27613(0xf9)][_0xf27613(0xbe)][_0xf27613(0xca)]=originalBuilder),await RequestQueueHandler[_0xf27613(0x9e)]()['shutdown']();}async[a16_0x4ab614(0xb6)](){}async[a16_0x4ab614(0xc0)](_0x38b11e,_0x2c0e99){const _0x12ff21=a16_0x4ab614,_0x5d071f={};_0x5d071f[_0x12ff21(0xc8)]=function(_0x3b9fdf,_0x134b4a){return _0x3b9fdf===_0x134b4a;},_0x5d071f[_0x12ff21(0xb1)]='test_start',_0x5d071f['cQFeW']='skip',_0x5d071f[_0x12ff21(0xdf)]=_0x12ff21(0xd2),_0x5d071f[_0x12ff21(0x107)]=_0x12ff21(0xc3),_0x5d071f['iWVgM']=function(_0x1b9020,_0xb22257){return _0x1b9020===_0xb22257;},_0x5d071f[_0x12ff21(0xf0)]=function(_0x5356f1,_0x2ad9b2){return _0x5356f1===_0x2ad9b2;},_0x5d071f['HbXcB']=_0x12ff21(0x102),_0x5d071f[_0x12ff21(0xb2)]=_0x12ff21(0xaf);const _0x112542=_0x5d071f,{name:_0x3d965c}=_0x38b11e;if(_0x112542[_0x12ff21(0xc8)](_0x3d965c,_0x112542[_0x12ff21(0xb1)])){this['global'][_0x12ff21(0xdd)]=_0x38b11e[_0x12ff21(0xda)];if(_0x112542[_0x12ff21(0xc8)](this[_0x12ff21(0xf9)][_0x12ff21(0xf5)],!![])){const _0x2a391e=_0x38b11e[_0x12ff21(0xda)][_0x12ff21(0xf6)];logger['info'](_0x12ff21(0xe8)+_0x2a391e),_0x38b11e[_0x12ff21(0xda)][_0x12ff21(0xde)]=_0x112542[_0x12ff21(0xed)];}}if(this[_0x12ff21(0x9f)]&&_0x112542[_0x12ff21(0xc8)](_0x3d965c,_0x112542[_0x12ff21(0xdf)]))try{const _0x240fb8=_0x38b11e[_0x12ff21(0xda)][_0x12ff21(0xfb)][_0x12ff21(0xf7)](_0x112542[_0x12ff21(0x107)]),_0x496a4c=_0x38b11e[_0x12ff21(0xda)][_0x12ff21(0x100)];await this[_0x12ff21(0x9f)][_0x12ff21(0xbf)](_0x240fb8,_0x496a4c);const _0x36d422=await this[_0x12ff21(0x9f)]['shouldFailFast']();_0x112542[_0x12ff21(0xb7)](this[_0x12ff21(0xf9)][_0x12ff21(0xf5)],![])&&_0x112542[_0x12ff21(0xf0)](_0x36d422,!![])&&(this[_0x12ff21(0xf9)]['failFastActive']=!![]);}catch(_0x4b8d56){logger[_0x12ff21(0xc6)](_0x112542[_0x12ff21(0xd9)],_0x4b8d56[_0x12ff21(0xff)]);}_0x112542[_0x12ff21(0xc8)](_0x3d965c,_0x112542[_0x12ff21(0xb2)])&&(this[_0x12ff21(0x9f)]&&this['failFast']['cleanup']());}}function a16_0x1f40(){const _0x2dfc7d=['__platformCaps','driver','isBrowserstackInfra','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','configuration','SVKyM','percyCaptureMode','KmWLo','cQFeW','111519SgjJZX','VahSN','uWFIn','exports','../../../helpers/test-orchestration/failfastManager','capability','__drivers','failFastActive','name','join','projectConfig','global','nestedKeyValue','testPath','browserstackPercyBestPlatform','default','__jestRetries','message','errors','bLujS','Error\x20in\x20fail-fast\x20test_done\x20handler:','jest-config','694638NbDxct','../../../index','testEnvironmentOptions','nAvUQ','timeout__','35uLBYta','projectName','__esModule','ghmZo','getInstance','failFast','skipSessionStatus','framework','__skipSessionStatus','env','resolveTestEnvironment','cleanupDrivers','retries__','BSTACK_DELTA','../../../helpers/test-observability/utils','__timeout','DljeN','browserstackPlatformIndex','node','jestConfig','builder','teardown','skipSessionName','hdPOd','qQQVU','requireSeleniumWebdriver','buildName','oOMiB','setup','iWVgM','browserStackPercyOptions','split','getTestEnvironment','failFastOptions','platformCaps','requireModule','__webdriver','onTestDone','handleTestEvent','../../../helpers/testhub/utils','FRAMEWORKS','\x20>\x20','WnEKv','BSTACK_JEST_TEST_ENV','debug','percy','PtHnt','ZCZNy','Builder','1673238ERFLcc','quit','isTrue','sessionNameProvided','../../../helpers/helper','8ZXqDap','LuPxg','test_done','../test-observability/obsReporter','modifyCommand','__driversArray','414100hpuTtb','OCRDo','cleanup','HbXcB','test','468720XINtTN','isArray','testContext','mode','YHmVM','4411995RHhZZj','11831256lyjLTD','Sdpca','registerListeners','capabilities'];a16_0x1f40=function(){return _0x2dfc7d;};return a16_0x1f40();}module[a16_0x4ab614(0xf1)]=CustomEnvironment;
1
+ function a16_0x5b66(){const _0x3fd65f=['debug','JRWDO','../../../helpers/logger','requireSeleniumWebdriver','__timeout','bHQps','percy','registerListeners','4249572ZNOHXg','bstack:options','__skipSessionStatus','../../../index','4609dryxFz','onTestDone','nestedKeyValue','aHEsw','QuRIC','2293484zjfnbW','JcPaF','FRAMEWORKS','capability','split','resolveTestEnvironment','isArray','insyQ','../test-observability/obsReporter','cleanup','isBrowserstackInfra','BSTACK_JEST_TEST_ENV','join','cleanupDrivers','testContext','IhDpK','Nymlz','toMGm','Phaxv','quit','capabilities','../../../helpers/test-orchestration/failfastManager','skipSessionName','configuration','browserstackAgentV2','default','\x20>\x20','../../../helpers/test-observability/requestQueueHandler','exports','7|3|1|0|2|6|4|5','isTrue','QFqwX','shutdown','../../../helpers/helper','1801506aTYfjK','../../../helpers/test-observability/utils','retries__','qUuwB','test_start','teardown','projectName','failFastActive','name','failFastOptions','framework','1EfiBuT','errors','builder','__driversArray','5iiDzlV','Builder','__platformCaps','57396FdcRYg','cwd','teknx','ieUoi','ubhMz','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','__webdriver','797116VKVAvG','browserstackPercyBestPlatform','shouldFailFast','driver','projectConfig','percyCaptureMode','timeout__','requireModule','global','jest-environment-node','../../../helpers/testhub/utils','message','2283144ZekUyo','153OwqvJY','failFast','vdoPV','oOcKn','browserstackPlatformIndex','665590hZZtde','platformCaps','isNotUndefined','buildName','node','testPath','7jCZHHv','jestConfig','zNBfT','testEnvironmentOptions','jest-resolve','shouldProcessEventForTesthub','JEST','SEcWV','test','KTSuo','skip','BSTACK_DELTA','getTestEnvironment','sessionNameProvided','test_done','__esModule','Avend','QPDfh','browserStackGlobals','mLPWG'];a16_0x5b66=function(){return _0x3fd65f;};return a16_0x5b66();}const a16_0x510fd0=a16_0x29ec;(function(_0x944dee,_0x1adef8){const _0x56bb75=a16_0x29ec,_0xa1e1a1=_0x944dee();while(!![]){try{const _0x2917a6=-parseInt(_0x56bb75(0x8e))/0x1*(-parseInt(_0x56bb75(0x9c))/0x2)+parseInt(_0x56bb75(0x83))/0x3+-parseInt(_0x56bb75(0xd9))/0x4*(parseInt(_0x56bb75(0x92))/0x5)+-parseInt(_0x56bb75(0xd0))/0x6+-parseInt(_0x56bb75(0xb4))/0x7*(-parseInt(_0x56bb75(0xa8))/0x8)+-parseInt(_0x56bb75(0xa9))/0x9*(parseInt(_0x56bb75(0xae))/0xa)+parseInt(_0x56bb75(0xd4))/0xb*(parseInt(_0x56bb75(0x95))/0xc);if(_0x2917a6===_0x1adef8)break;else _0xa1e1a1['push'](_0xa1e1a1['shift']());}catch(_0x75da3c){_0xa1e1a1['push'](_0xa1e1a1['shift']());}}}(a16_0x5b66,0xd5b82));const helper=require(a16_0x510fd0(0x82)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a16_0x510fd0(0x84)),RequestQueueHandler=require(a16_0x510fd0(0x7c)),ObservabilityReporter=require(a16_0x510fd0(0x69)),testhubUtils=require(a16_0x510fd0(0xa6)),logger=require(a16_0x510fd0(0xca))['winstonLogger'],getTestEnvironment=((()=>{const _0x25113d=a16_0x510fd0,_0x19d1be={};_0x19d1be[_0x25113d(0xab)]=_0x25113d(0xb8),_0x19d1be[_0x25113d(0x70)]='jest-config';const _0x4b8264=_0x19d1be;try{const _0x8e2e32=helper[_0x25113d(0xa3)](_0x4b8264[_0x25113d(0xab)]);if(_0x8e2e32[_0x25113d(0x66)])return _0x8e2e32[_0x25113d(0x66)];const _0x2c6cb8=helper[_0x25113d(0xa3)](_0x4b8264[_0x25113d(0x70)]);if(_0x2c6cb8[_0x25113d(0xc0)])return _0x2c6cb8[_0x25113d(0xc0)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x3717b5=a16_0x510fd0,_0x528476={'Avend':function(_0x3710fb,_0x218cb8){return _0x3710fb(_0x218cb8);},'aHEsw':_0x3717b5(0xb2),'IxjkM':_0x3717b5(0xa5),'oOcKn':function(_0x206cfa,_0xb2e1e0){return _0x206cfa(_0xb2e1e0);}},_0x3d40eb=_0x528476[_0x3717b5(0xc4)](getTestEnvironment,{'rootDir':process[_0x3717b5(0x96)](),'testEnvironment':process['env'][_0x3717b5(0x6c)]||_0x528476[_0x3717b5(0xd7)]});if(!_0x3d40eb)return _0x528476[_0x3717b5(0xc4)](_interopRequireDefault,helper['requireModule'](_0x528476['IxjkM']));return _0x528476[_0x3717b5(0xac)](_interopRequireDefault,helper[_0x3717b5(0xa3)](_0x3d40eb));})()),_seleniumWebdriver2=((()=>{const _0x1df58b=a16_0x510fd0,_0x3b5a21={'RVpBG':function(_0x4ed0d1,_0x1c5547){return _0x4ed0d1(_0x1c5547);}};try{const _0x4283f0=helper[_0x1df58b(0xcb)]();return helper['modifyCommand'](),_0x3b5a21['RVpBG'](_interopRequireDefault,_0x4283f0);}catch{return null;}})());function _interopRequireDefault(_0x350998){const _0x29a2d0=a16_0x510fd0;return _0x350998&&_0x350998[_0x29a2d0(0xc3)]?_0x350998:{'default':_0x350998};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a16_0x510fd0(0x93)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x510fd0(0x7a)]{constructor(_0x4feecc){const _0x125d0e=a16_0x510fd0,_0x171961={'Phaxv':'quit','qUuwB':function(_0xfd3bb0,_0x252eba){return _0xfd3bb0+_0x252eba;},'ieUoi':_0x125d0e(0xd1),'KSJlI':function(_0x26efd2,_0x23e237){return _0x26efd2(_0x23e237);},'exMrL':_0x125d0e(0x76),'Nymlz':_0x125d0e(0x7e),'mLPWG':_0x125d0e(0xb7),'QuRIC':'browserStackPercyOptions','QFqwX':_0x125d0e(0xce),'JRWDO':_0x125d0e(0x9d),'NEGjw':_0x125d0e(0xa1),'zyxua':_0x125d0e(0xd3)};super(_0x4feecc),this[_0x125d0e(0xa4)][_0x125d0e(0xcc)]=0x0,this[_0x125d0e(0x78)]={};!_0x4feecc[_0x125d0e(0xb7)]&&(_0x4feecc[_0x125d0e(0xb7)]={});if(helper[_0x125d0e(0x6b)]()){_0x4feecc[_0x125d0e(0xb7)]=_0x4feecc[_0x125d0e(0xa0)]?_0x4feecc[_0x125d0e(0xa0)][_0x125d0e(0xb7)]:_0x4feecc[_0x125d0e(0xb7)];_seleniumWebdriver2&&(this[_0x125d0e(0x90)]=new _seleniumWebdriver2['default'][(_0x125d0e(0x93))]());this[_0x125d0e(0x64)]=_0x4feecc[_0x125d0e(0xa0)]?_0x4feecc['projectConfig'][_0x125d0e(0x64)]:_0x4feecc[_0x125d0e(0x64)],this[_0x125d0e(0xa4)][_0x125d0e(0xcc)]=_0x171961[_0x125d0e(0x86)](_0x4feecc[_0x125d0e(0xb7)][_0x125d0e(0xa2)]||0x1388,constants[_0x125d0e(0xbf)]),this[_0x125d0e(0x8c)]=_0x4feecc[_0x125d0e(0xb7)][_0x125d0e(0xaa)];if(this[_0x125d0e(0x8c)]){const _0x560a15=this[_0x125d0e(0x64)][_0x171961[_0x125d0e(0x98)]]?.[_0x125d0e(0xb1)]||'',_0xb524fe=this[_0x125d0e(0x64)][_0x171961[_0x125d0e(0x98)]]?.[_0x125d0e(0x89)]||'';this[_0x125d0e(0xaa)]=new(_0x171961['KSJlI'](require,_0x171961['exMrL']))(this[_0x125d0e(0x8c)],_0x560a15,_0xb524fe),this['global'][_0x125d0e(0x8a)]=![];}helper[_0x125d0e(0xb0)](_0x4feecc[_0x125d0e(0xb7)][_0x125d0e(0x85)])&&(this[_0x125d0e(0xa4)]['__jestRetries']=_0x4feecc[_0x125d0e(0xb7)]['retries__']);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x5bc85d=new ObservabilityReporter();_0x5bc85d[_0x125d0e(0xcf)]();}this[_0x125d0e(0xa4)][_0x125d0e(0xc6)]={},this[_0x125d0e(0x78)]=_0x4feecc[_0x125d0e(0xb7)],this['configuration'][_0x125d0e(0x8d)]=constants[_0x125d0e(0xdb)][_0x125d0e(0xba)],this[_0x125d0e(0xa4)][_0x125d0e(0xad)]=(_0x4feecc[_0x125d0e(0xa0)]?_0x4feecc[_0x125d0e(0xa0)]['browserstackPlatformIndex']:_0x4feecc[_0x125d0e(0xad)])||0x0,this['global'][_0x125d0e(0x94)]=this[_0x125d0e(0x78)]&&this[_0x125d0e(0x78)][_0x125d0e(0xaf)]&&Array[_0x125d0e(0x67)](this[_0x125d0e(0x78)]['platformCaps'])&&this[_0x125d0e(0x78)][_0x125d0e(0xaf)][this[_0x125d0e(0xa4)][_0x125d0e(0xad)]]||{};const _0x288a51=this[_0x125d0e(0xa4)][_0x125d0e(0xad)],_0xda66a7={...this[_0x125d0e(0x78)],'capability':this[_0x125d0e(0x78)][_0x125d0e(0x75)]&&Array[_0x125d0e(0x67)](this[_0x125d0e(0x78)][_0x125d0e(0x75)])&&this['configuration']['capabilities'][_0x288a51]||{},'platformCaps':this[_0x125d0e(0x78)][_0x125d0e(0xaf)]&&Array[_0x125d0e(0x67)](this[_0x125d0e(0x78)][_0x125d0e(0xaf)])&&this[_0x125d0e(0x78)][_0x125d0e(0xaf)][_0x288a51]||{}};delete _0xda66a7['capabilities'],this['global'][_0x125d0e(0xb5)]=_0xda66a7;if(_seleniumWebdriver2){const _0x5430c3=_0x171961[_0x125d0e(0x71)][_0x125d0e(0x65)]('|');let _0x34304c=0x0;while(!![]){switch(_0x5430c3[_0x34304c++]){case'0':this[_0x125d0e(0xa4)][_0x125d0e(0xce)]=helper[_0x125d0e(0xd6)](_0x4feecc,[_0x171961[_0x125d0e(0xc7)],_0x171961[_0x125d0e(0xd8)],_0x171961[_0x125d0e(0x80)]]);continue;case'1':this['global']['browserstackPercyBestPlatform']=helper[_0x125d0e(0xd6)](_0x4feecc,[_0x171961[_0x125d0e(0xc7)],_0x171961['QuRIC'],_0x171961[_0x125d0e(0xc9)]]);continue;case'2':this['global'][_0x125d0e(0xa1)]=helper['nestedKeyValue'](_0x4feecc,[_0x171961[_0x125d0e(0xc7)],_0x171961[_0x125d0e(0xd8)],_0x171961['NEGjw']]);continue;case'3':this['global']['__webdriver']=_0x171961['KSJlI'](require,_0x171961['zyxua'])[_0x125d0e(0x79)]({...this[_0x125d0e(0x78)],'capability':this[_0x125d0e(0x64)]||{}},this,testhubUtils[_0x125d0e(0xb9)]());continue;case'4':this[_0x125d0e(0xa4)][_0x125d0e(0xd2)]=helper[_0x125d0e(0x7f)](this[_0x125d0e(0x78)]['skipSessionStatus']);continue;case'5':this['global'][_0x125d0e(0x6a)]=async()=>{const _0x3489c8=_0x125d0e;await this[_0x3489c8(0xa4)][_0x3489c8(0x9f)][_0x3489c8(0x74)](_0x171961[_0x3489c8(0x73)]);};continue;case'6':helper['isTrue'](this['configuration'][_0x125d0e(0x77)])?this[_0x125d0e(0xa4)][_0x125d0e(0xc1)]=!![]:this[_0x125d0e(0xa4)]['sessionNameProvided']=![];continue;case'7':this['global']['__drivers']=[];continue;}break;}}}async['teardown'](){const _0x24022b=a16_0x510fd0;_seleniumWebdriver2&&(await helper[_0x24022b(0x6e)](this[_0x24022b(0xa4)][_0x24022b(0x91)]),this[_0x24022b(0xa4)][_0x24022b(0x9b)][_0x24022b(0x93)]=originalBuilder),await RequestQueueHandler['getInstance']()[_0x24022b(0x81)]();}async['setup'](){}async['handleTestEvent'](_0x324a48,_0x5bf1ea){const _0x2f6e1b=a16_0x510fd0,_0x253a6e={};_0x253a6e[_0x2f6e1b(0xbd)]=function(_0x4b1be5,_0x1067bd){return _0x4b1be5===_0x1067bd;},_0x253a6e[_0x2f6e1b(0x72)]=_0x2f6e1b(0x87),_0x253a6e[_0x2f6e1b(0xc5)]=function(_0x129080,_0x141b32){return _0x129080===_0x141b32;},_0x253a6e[_0x2f6e1b(0x97)]=_0x2f6e1b(0xbe),_0x253a6e[_0x2f6e1b(0xb6)]=_0x2f6e1b(0xc2),_0x253a6e[_0x2f6e1b(0xda)]=_0x2f6e1b(0x7b),_0x253a6e[_0x2f6e1b(0x99)]=function(_0x2b133c,_0x2b2069){return _0x2b133c===_0x2b2069;},_0x253a6e[_0x2f6e1b(0xbb)]='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x253a6e[_0x2f6e1b(0xcd)]=function(_0x1bc5ca,_0x5304c2){return _0x1bc5ca===_0x5304c2;},_0x253a6e[_0x2f6e1b(0x68)]=_0x2f6e1b(0x88);const _0x2471d8=_0x253a6e,{name:_0x1ea30f}=_0x324a48;if(_0x2471d8[_0x2f6e1b(0xbd)](_0x1ea30f,_0x2471d8['toMGm'])){this['global'][_0x2f6e1b(0x6f)]=_0x324a48['test'];if(_0x2471d8[_0x2f6e1b(0xc5)](this[_0x2f6e1b(0xa4)][_0x2f6e1b(0x8a)],!![])){const _0x189911=_0x324a48[_0x2f6e1b(0xbc)][_0x2f6e1b(0x8b)];logger['info'](_0x2f6e1b(0x9a)+_0x189911),_0x324a48[_0x2f6e1b(0xbc)]['mode']=_0x2471d8[_0x2f6e1b(0x97)];}}if(this['failFast']&&_0x2471d8[_0x2f6e1b(0xbd)](_0x1ea30f,_0x2471d8['zNBfT']))try{const _0x4bea8f=_0x324a48[_0x2f6e1b(0xbc)][_0x2f6e1b(0xb3)][_0x2f6e1b(0x6d)](_0x2471d8[_0x2f6e1b(0xda)]),_0x3a90e8=_0x324a48[_0x2f6e1b(0xbc)][_0x2f6e1b(0x8f)];await this[_0x2f6e1b(0xaa)][_0x2f6e1b(0xd5)](_0x4bea8f,_0x3a90e8);const _0x4781f9=await this[_0x2f6e1b(0xaa)][_0x2f6e1b(0x9e)]();_0x2471d8[_0x2f6e1b(0x99)](this['global'][_0x2f6e1b(0x8a)],![])&&_0x2471d8['QPDfh'](_0x4781f9,!![])&&(this[_0x2f6e1b(0xa4)][_0x2f6e1b(0x8a)]=!![]);}catch(_0x5ed3b4){logger[_0x2f6e1b(0xc8)](_0x2471d8[_0x2f6e1b(0xbb)],_0x5ed3b4[_0x2f6e1b(0xa7)]);}_0x2471d8[_0x2f6e1b(0xcd)](_0x1ea30f,_0x2471d8[_0x2f6e1b(0x68)])&&(this[_0x2f6e1b(0xaa)]&&this[_0x2f6e1b(0xaa)][_0x2f6e1b(0x6a)]());}}function a16_0x29ec(_0x382894,_0x343067){const _0x5b6666=a16_0x5b66();return a16_0x29ec=function(_0x29ec71,_0x5b2baf){_0x29ec71=_0x29ec71-0x64;let _0x2670f=_0x5b6666[_0x29ec71];return _0x2670f;},a16_0x29ec(_0x382894,_0x343067);}module[a16_0x510fd0(0x7d)]=CustomEnvironment;
@@ -1 +1 @@
1
- const a17_0x145648=a17_0x289a;function a17_0x289a(_0xf4a9d2,_0x2d37eb){const _0x358673=a17_0x3586();return a17_0x289a=function(_0x289a7e,_0x2e3225){_0x289a7e=_0x289a7e-0x199;let _0x4fd5d2=_0x358673[_0x289a7e];return _0x4fd5d2;},a17_0x289a(_0xf4a9d2,_0x2d37eb);}function a17_0x3586(){const _0x25d13e=['Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','Yydoh','../../../helpers/test-observability/error-handler','HookRunFinished','../../v2/browserstackCLI','HookStarted','olPGg','eMRVt','HCvTd','fbwKH','EventHandler','GMzrq','vsrGm','LOG_REPORT','ebzHZ','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','PjabW','afterEach','beforeEach','shutdown','env','run_describe_finish','jest-circus','testStarted','TEST','hookUUID','GyCZn','isCliEnabled','NGxTF','originalTest','beforeAll','iHKsJ','registerListeners','bootstrap','HSNOu','Error\x20checking\x20CLI\x20readiness:\x20','toString','initialize','../../../helpers/test-observability/utils','Error\x20routing\x20to\x20JestTestFramework:\x20','../../v2/utils/jest-utils','PLAYWRIGHT','match','setFrameworkDetail','hookData','isRunning','../../../helpers/logger','hookAnalyticsId','../test-observability/obsReporter','soZbN','KMnCP','BEFORE_EACH','../../v2/cliUtils','jest-circus/build/state.js','1593423xCsgaJ','gsxVy','test','18292016xMKKfV','mmhDL','pid','jest-circus/build/utils.js','afterAll','removeAllListeners','CPiFf','forEach','debug','QLflx','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','setActiveHook','gyKvI','5746671VvLEPw','file','testUUID','includes','currentHook','dWjfS','test_done','sendTestRunEvent','NLTZC','SgirS','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','retryOf','../../../helpers/test-observability/requestQueueHandler','BROWSERSTACK_CLI_BIN_SESSION_ID','uuid','CDgWA','zGGJD','AFTER_ALL','_currentRetry','vPUoa','removeTestUUID','fAHNj','format','iITom','name','createTestFrameworkData','removeActiveHook','GdDEU','AQnqf','asyncError','HookFinished','2319892DQDTvT','../../../helpers/testhub/constants','pEQMV','__workerDetails','6Qxwvzf','TestRunStarted','BXauE','started_at','../../v2/state/hookState','cwAMr','SiqYG','EVENT','getTestFramework','setTestUUID','ikSqP','wylir','hook','117938EpDnil','PRE','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','length','teardown','BEFORE_ALL','../test-observability/test-details','ibdPL','type','keys','unhandledErrors','AFTER_EACH','error','8323704uVlOZE','9sVSbBQ','HookRunStarted','cPSOT','title','Handling\x20hook\x20event\x20for\x20CLI:\x20','current_test','RlPcS','atzpG','TestRunFinished','beKYp','dMuAl','CLI\x20is\x20enabled\x20and\x20running.','TOdGa','makeSingleTestResult','XUqPd','createIdentifierFromJestTest','getInstance','DCTix','MLcvx','state','../../../helpers/testhub/utils','test_skip','Daiht','toISOString','hook_failure','znIJM','4738335haSIKL','testAnalyticsId','util','QYjfe',':hookAnalyticsId','parent','trackEvent','markedStatus','__jestCurrentTestIdentifier','JEST','errorsDetailed','ZoKfX','createHookData','winstonLogger','hook_success','TestRunSkipped','hScep','HFkcd','snLIi','LhISE','zYaMR','POST'];a17_0x3586=function(){return _0x25d13e;};return a17_0x3586();}(function(_0x4acf8d,_0x41abba){const _0x54fada=a17_0x289a,_0x39349a=_0x4acf8d();while(!![]){try{const _0x47af07=-parseInt(_0x54fada(0x243))/0x1+parseInt(_0x54fada(0x1cf))/0x2+parseInt(_0x54fada(0x1c2))/0x3*(-parseInt(_0x54fada(0x1be))/0x4)+-parseInt(_0x54fada(0x1f7))/0x5+parseInt(_0x54fada(0x1dc))/0x6+parseInt(_0x54fada(0x19f))/0x7+parseInt(_0x54fada(0x246))/0x8*(parseInt(_0x54fada(0x1dd))/0x9);if(_0x47af07===_0x41abba)break;else _0x39349a['push'](_0x39349a['shift']());}catch(_0x1e658e){_0x39349a['push'](_0x39349a['shift']());}}}(a17_0x3586,0xd02c0));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require(a17_0x145648(0x23d)),RequestQueueHandler=require(a17_0x145648(0x1ab)),TestDetails=require(a17_0x145648(0x1d5)),{patchConsoleLogger,debug}=require(a17_0x145648(0x233)),{o11yErrorHandler}=require(a17_0x145648(0x20f)),{shouldProcessEventForTesthub}=require(a17_0x145648(0x1f1)),testHubConstants=require(a17_0x145648(0x1bf)),BrowserstackCLI=require(a17_0x145648(0x211)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a17_0x145648(0x1c6)),JestUtils=require(a17_0x145648(0x235)),{v4:uuidv4}=require(a17_0x145648(0x1ad)),util=require(a17_0x145648(0x1f9)),logger=require(a17_0x145648(0x23b))[a17_0x145648(0x204)],{FRAMEWORKS}=require('../../utils/constants'),exportsI=requireModule(a17_0x145648(0x1a9),a17_0x145648(0x223)),initInitialize=exportsI[a17_0x145648(0x232)],jestUtils=new JestUtils();async function isCLIReady(){const _0x3aa125=a17_0x145648,_0x4ff2af={'rDRcv':_0x3aa125(0x1e8),'dMuAl':function(_0x239bc8,_0x29a6dd){return _0x239bc8(_0x29a6dd);},'Daiht':_0x3aa125(0x241),'vsrGm':function(_0x584b5b,_0x324269){return _0x584b5b(_0x324269);}};try{const _0x3f303b=BrowserstackCLI[_0x3aa125(0x1ed)]();if(_0x3f303b[_0x3aa125(0x228)]()&&_0x3f303b[_0x3aa125(0x23a)]())return logger['debug'](_0x4ff2af['rDRcv']),!![];const _0x4571db=process[_0x3aa125(0x221)][_0x3aa125(0x1ac)];if(_0x4571db&&_0x3f303b[_0x3aa125(0x228)]()){if(!_0x3f303b[_0x3aa125(0x23a)]())try{const _0x21659c=_0x4ff2af[_0x3aa125(0x1e7)](require,_0x4ff2af[_0x3aa125(0x1f3)]);_0x21659c[_0x3aa125(0x238)](FRAMEWORKS[_0x3aa125(0x200)],FRAMEWORKS[_0x3aa125(0x236)]),await _0x3f303b[_0x3aa125(0x22e)]();}catch(_0x19b238){return _0x4ff2af['dMuAl'](debug,_0x3aa125(0x21c)+util[_0x3aa125(0x1b5)](_0x19b238)),![];}return _0x3f303b[_0x3aa125(0x23a)]();}return![];}catch(_0x40a333){return _0x4ff2af[_0x3aa125(0x219)](debug,_0x3aa125(0x230)+util[_0x3aa125(0x1b5)](_0x40a333)),![];}}function getTestIdentifierForHook(_0x13cf6a){const _0xe004b2=a17_0x145648,_0x2f8223={};_0x2f8223['QLflx']=function(_0x539ed2,_0x18c47d){return _0x539ed2===_0x18c47d;},_0x2f8223[_0xe004b2(0x21d)]=_0xe004b2(0x21f),_0x2f8223[_0xe004b2(0x1e9)]=function(_0x17d502,_0x60d893){return _0x17d502===_0x60d893;},_0x2f8223[_0xe004b2(0x1af)]=_0xe004b2(0x22b);const _0x59d62f=_0x2f8223;if(_0x59d62f[_0xe004b2(0x19b)](_0x13cf6a[_0xe004b2(0x1d7)],_0x59d62f[_0xe004b2(0x21d)])||_0x59d62f[_0xe004b2(0x1e9)](_0x13cf6a[_0xe004b2(0x1d7)],_0x59d62f[_0xe004b2(0x1af)])){let _0x557143=global['__jestCurrentTestIdentifier'];if(!_0x557143&&_0x59d62f['TOdGa'](_0x13cf6a[_0xe004b2(0x1d7)],_0x59d62f[_0xe004b2(0x1af)])&&_0x13cf6a['parent']){const _0x48c850={};_0x48c850[_0xe004b2(0x1b7)]=_0x13cf6a[_0xe004b2(0x1fc)][_0xe004b2(0x1b7)],_0x48c850[_0xe004b2(0x1fc)]=_0x13cf6a[_0xe004b2(0x1fc)][_0xe004b2(0x1fc)],_0x48c850[_0xe004b2(0x1bc)]=_0x13cf6a['asyncError'],_0x48c850[_0xe004b2(0x1a0)]=_0x13cf6a['file'];const _0x514712=_0x48c850;_0x557143=jestUtils[_0xe004b2(0x1ec)](_0x514712);}return _0x557143;}return global[_0xe004b2(0x1ff)];}function mapHookTypeToState(_0x253a0c){const _0x23a3f9=a17_0x145648,_0x44ee92={};_0x44ee92[_0x23a3f9(0x22b)]=TestFrameworkState[_0x23a3f9(0x1d4)],_0x44ee92[_0x23a3f9(0x24a)]=TestFrameworkState[_0x23a3f9(0x1b0)],_0x44ee92[_0x23a3f9(0x21f)]=TestFrameworkState[_0x23a3f9(0x240)],_0x44ee92[_0x23a3f9(0x21e)]=TestFrameworkState[_0x23a3f9(0x1da)];const _0x256701=_0x44ee92;return _0x256701[_0x253a0c]||TestFrameworkState[_0x23a3f9(0x240)];}async function handleHookEventCLI(_0x1c4c8b,_0x481d8d,_0x403819){const _0x31d0b4=a17_0x145648,_0x4119cd={'cwAMr':function(_0x52504f){return _0x52504f();},'kBfey':function(_0x3fb451,_0xa21858){return _0x3fb451===_0xa21858;},'CDgWA':_0x31d0b4(0x1de),'GMzrq':function(_0x4206c7,_0x39c087){return _0x4206c7(_0x39c087);},'HFkcd':function(_0x5ad549,_0x93c7d1){return _0x5ad549===_0x93c7d1;},'ugrDX':_0x31d0b4(0x210),'atzpG':_0x31d0b4(0x1ce)};logger[_0x31d0b4(0x19a)](_0x31d0b4(0x1e1)+_0x481d8d+'\x20for\x20hook\x20type:\x20'+_0x1c4c8b[_0x31d0b4(0x1d7)]);try{if(_0x1c4c8b['fn']&&_0x1c4c8b['fn']['toString']()[_0x31d0b4(0x237)](/browserstack internal helper hook/))return;let _0x578393=_0x1c4c8b[_0x31d0b4(0x23c)];if(!_0x578393)_0x578393=_0x4119cd[_0x31d0b4(0x1c7)](uuidv4),_0x1c4c8b[_0x31d0b4(0x23c)]=_0x578393;else _0x1c4c8b['markedStatus']&&(_0x578393=_0x4119cd[_0x31d0b4(0x1c7)](uuidv4),_0x1c4c8b[_0x31d0b4(0x23c)]=_0x578393,delete _0x1c4c8b[_0x31d0b4(0x1fe)]);_0x4119cd['kBfey'](_0x481d8d,_0x4119cd[_0x31d0b4(0x1ae)])&&(_0x1c4c8b[_0x31d0b4(0x1c5)]=new Date()[_0x31d0b4(0x1f4)]());const _0x2c3de5=_0x4119cd[_0x31d0b4(0x218)](getTestIdentifierForHook,_0x1c4c8b);!global[_0x31d0b4(0x1c1)]&&(global[_0x31d0b4(0x1c1)]={});if(_0x4119cd['kBfey'](_0x481d8d,_0x4119cd[_0x31d0b4(0x1ae)])){global[_0x31d0b4(0x1c1)][_0x31d0b4(0x1a3)]={'hookUUID':_0x578393,'testIdentifier':_0x2c3de5,'hookType':_0x1c4c8b[_0x31d0b4(0x1d7)],'startedAt':new Date()[_0x31d0b4(0x1f4)]()};const _0x11f5ff=BrowserstackCLI['getInstance']()[_0x31d0b4(0x1ca)]();_0x11f5ff&&_0x11f5ff['setActiveHook']&&_0x11f5ff[_0x31d0b4(0x19d)](_0x2c3de5,_0x578393,_0x1c4c8b[_0x31d0b4(0x1d7)]);}const _0x20aa53=await jestUtils[_0x31d0b4(0x203)](_0x1c4c8b,_0x578393,_0x481d8d,_0x2c3de5);if(!_0x20aa53)return;const _0x56212e=_0x4119cd[_0x31d0b4(0x218)](mapHookTypeToState,_0x1c4c8b[_0x31d0b4(0x1d7)]),_0x336cb8=_0x4119cd[_0x31d0b4(0x208)](_0x481d8d,_0x4119cd['CDgWA'])?HookState[_0x31d0b4(0x1d0)]:HookState[_0x31d0b4(0x20c)],_0x110d25=BrowserstackCLI[_0x31d0b4(0x1ed)]()['getTestFramework']();if(_0x110d25){const _0x3aabca={};_0x3aabca[_0x31d0b4(0x239)]=_0x20aa53,await _0x110d25['trackEvent'](_0x56212e,_0x336cb8,_0x3aabca);if(_0x4119cd[_0x31d0b4(0x208)](_0x481d8d,_0x4119cd['ugrDX'])){const _0x44a2a4={};_0x44a2a4[_0x31d0b4(0x1a1)]=_0x2c3de5,_0x44a2a4[_0x31d0b4(0x1d7)]=_0x4119cd[_0x31d0b4(0x1e4)],await _0x110d25[_0x31d0b4(0x1fd)](TestFrameworkState[_0x31d0b4(0x21a)],HookState['POST'],_0x44a2a4),global[_0x31d0b4(0x1c1)]&&global['__workerDetails']['currentHook']&&_0x4119cd['kBfey'](global[_0x31d0b4(0x1c1)]['currentHook'][_0x31d0b4(0x226)],_0x578393)&&delete global['__workerDetails'][_0x31d0b4(0x1a3)],_0x110d25[_0x31d0b4(0x1b9)]&&_0x110d25[_0x31d0b4(0x1b9)](_0x2c3de5,_0x578393);}}}catch(_0x9314f4){logger['error']('Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20'+util['format'](_0x9314f4));throw _0x9314f4;}}async function handleTestEventCLI(_0x2e59c7,_0x2d31c5,_0x5a01ed){const _0x1033b5=a17_0x145648,_0x5d0112={};_0x5d0112[_0x1033b5(0x215)]=function(_0x19138f,_0x1b66c9){return _0x19138f===_0x1b66c9;},_0x5d0112['vPUoa']=_0x1033b5(0x1c3),_0x5d0112[_0x1033b5(0x1ba)]=function(_0x5244a8,_0x38acb4){return _0x5244a8>_0x38acb4;},_0x5d0112[_0x1033b5(0x1e3)]=function(_0x391f99,_0x2b037e){return _0x391f99&&_0x2b037e;},_0x5d0112[_0x1033b5(0x247)]='failed',_0x5d0112[_0x1033b5(0x202)]=_0x1033b5(0x1e5),_0x5d0112['BXauE']=function(_0x1bce1d,_0x4ac48b){return _0x1bce1d&&_0x4ac48b;},_0x5d0112['iITom']=_0x1033b5(0x245);const _0x4baf29=_0x5d0112;logger[_0x1033b5(0x19a)]('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x2d31c5);try{let _0x1bcdab;if(_0x4baf29[_0x1033b5(0x215)](_0x2d31c5,_0x4baf29[_0x1033b5(0x1b2)])){_0x1bcdab=jestUtils[_0x1033b5(0x1ec)](_0x2e59c7),global[_0x1033b5(0x1ff)]=_0x1bcdab,_0x2e59c7['testAnalyticsId']=_0x1bcdab,_0x2e59c7['id']=_0x1bcdab,_0x2e59c7['started_at']=new Date()['toISOString']();const _0x3d208b=_0x5a01ed[_0x1033b5(0x1e2)];_0x5a01ed[_0x1033b5(0x1e2)]=_0x2e59c7,_0x2e59c7[_0x1033b5(0x1aa)]=null;if(_0x4baf29[_0x1033b5(0x1ba)](_0x2e59c7[_0x1033b5(0x1b1)],0x0)&&_0x3d208b&&_0x4baf29['HCvTd'](_0x3d208b[_0x1033b5(0x1e0)],_0x2e59c7[_0x1033b5(0x1e0)])){_0x2e59c7['retryOf']=_0x3d208b['testAnalyticsId'];const _0xd73638=await jestUtils[_0x1033b5(0x1b8)](_0x2e59c7,_0x1bcdab,_0x4baf29[_0x1033b5(0x1b2)]),_0x308a8f=BrowserstackCLI[_0x1033b5(0x1ed)]()[_0x1033b5(0x1ca)]();if(_0x4baf29[_0x1033b5(0x1e3)](_0xd73638,_0x308a8f)){const _0x4dcc62={};_0x4dcc62[_0x1033b5(0x245)]=_0xd73638,await _0x308a8f['trackEvent'](TestFrameworkState[_0x1033b5(0x225)],HookState[_0x1033b5(0x1d0)],_0x4dcc62);}_0x3d208b[_0x1033b5(0x1f0)]=_0x4baf29[_0x1033b5(0x247)];const _0x14003b=await jestUtils[_0x1033b5(0x1b8)](_0x3d208b,_0x3d208b[_0x1033b5(0x1f8)],_0x4baf29[_0x1033b5(0x202)]);if(_0x4baf29[_0x1033b5(0x1e3)](_0x14003b,_0x308a8f)){const _0x1f0058={};_0x1f0058[_0x1033b5(0x245)]=_0x14003b,await _0x308a8f[_0x1033b5(0x1fd)](TestFrameworkState[_0x1033b5(0x225)],HookState[_0x1033b5(0x20c)],_0x1f0058);}}else{const _0x1a1caa=await jestUtils[_0x1033b5(0x1b8)](_0x2e59c7,_0x1bcdab,_0x4baf29[_0x1033b5(0x1b2)]),_0x563978=BrowserstackCLI[_0x1033b5(0x1ed)]()[_0x1033b5(0x1ca)]();if(_0x4baf29['RlPcS'](_0x1a1caa,_0x563978)){const _0x3e16a9={};_0x3e16a9[_0x1033b5(0x245)]=_0x1a1caa,await _0x563978['trackEvent'](TestFrameworkState[_0x1033b5(0x225)],HookState[_0x1033b5(0x1d0)],_0x3e16a9);}}}else{_0x1bcdab=_0x2e59c7['testAnalyticsId']||_0x2e59c7['id']||global['__jestCurrentTestIdentifier'];const _0x1a0c18=await jestUtils[_0x1033b5(0x1b8)](_0x2e59c7,_0x1bcdab,_0x2d31c5),_0x96db57=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x4baf29[_0x1033b5(0x1c4)](_0x1a0c18,_0x96db57)){const _0x22f9c0={};_0x22f9c0[_0x1033b5(0x245)]=_0x1a0c18,_0x22f9c0[_0x1033b5(0x22a)]=_0x2e59c7,await _0x96db57[_0x1033b5(0x1fd)](TestFrameworkState[_0x1033b5(0x225)],HookState['POST'],_0x22f9c0);const _0x46caee={};_0x46caee[_0x1033b5(0x1a1)]=_0x1bcdab,_0x46caee[_0x1033b5(0x1d7)]=_0x4baf29[_0x1033b5(0x1b6)],await _0x96db57[_0x1033b5(0x1fd)](TestFrameworkState[_0x1033b5(0x21a)],HookState[_0x1033b5(0x20c)],_0x46caee);}}}catch(_0x3aa888){logger[_0x1033b5(0x1db)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util[_0x1033b5(0x1b5)](_0x3aa888));throw _0x3aa888;}}exportsI[a17_0x145648(0x232)]=(..._0x4c5182)=>{const _0x45e52c=a17_0x145648,_0x17276e={'XUqPd':function(_0x364ecb,_0x2f1675,_0x45205b){return _0x364ecb(_0x2f1675,_0x45205b);},'soZbN':_0x45e52c(0x249),'iHKsJ':_0x45e52c(0x223),'ebzHZ':'hook_start','NGxTF':function(_0x4d2234,_0x362380){return _0x4d2234(_0x362380);},'SiqYG':function(_0x5d7129){return _0x5d7129();},'Yydoh':function(_0x2563ff,_0xe6ab17,_0x19f180,_0x201142){return _0x2563ff(_0xe6ab17,_0x19f180,_0x201142);},'gyKvI':'HookRunStarted','HSNOu':function(_0xa8f020,_0x1a06ab){return _0xa8f020(_0x1a06ab);},'NLTZC':_0x45e52c(0x205),'GyCZn':_0x45e52c(0x210),'LhISE':function(_0x410d3e,_0x3d6bc3){return _0x410d3e(_0x3d6bc3);},'olPGg':_0x45e52c(0x1f5),'hScep':_0x45e52c(0x22b),'CPiFf':_0x45e52c(0x21f),'vUjvI':_0x45e52c(0x21e),'dWjfS':function(_0x23bfa7,_0x1fface){return _0x23bfa7>_0x1fface;},'SgirS':function(_0x4989d1,_0x5c118a){return _0x4989d1(_0x5c118a);},'ibdPL':function(_0x40ceba){return _0x40ceba();},'wylir':'test_start','ikSqP':function(_0x23ab50,_0x149acb,_0x413e6e,_0x332563){return _0x23ab50(_0x149acb,_0x413e6e,_0x332563);},'QYjfe':_0x45e52c(0x1c3),'snLIi':_0x45e52c(0x1a5),'zYaMR':function(_0x22cfd3,_0x2c1a97,_0x18da48,_0x2e8fb8){return _0x22cfd3(_0x2c1a97,_0x18da48,_0x2e8fb8);},'pEQMV':_0x45e52c(0x1e5),'DCTix':function(_0x41d878,_0x282e6c){return _0x41d878(_0x282e6c);},'eMRVt':_0x45e52c(0x1f2),'znIJM':function(_0x1aba71){return _0x1aba71();},'KMnCP':_0x45e52c(0x206),'gsxVy':_0x45e52c(0x222),'AQnqf':_0x45e52c(0x1d3),'YFaCK':function(_0x3c275a,_0x334707,_0x4cff0e){return _0x3c275a(_0x334707,_0x4cff0e);},'fAHNj':_0x45e52c(0x242),'fbwKH':function(_0x5495a6,_0x25a3d6,_0x21edec){return _0x5495a6(_0x25a3d6,_0x21edec);},'MLcvx':_0x45e52c(0x217),'beKYp':function(_0x478c61,..._0x131766){return _0x478c61(..._0x131766);}};try{const _0x3dc15d=new ObservabilityReporter();_0x17276e[_0x45e52c(0x1f6)](shouldProcessEventForTesthub)&&(_0x17276e[_0x45e52c(0x1c8)](patchConsoleLogger),_0x3dc15d[_0x45e52c(0x22d)]()),_0x17276e[_0x45e52c(0x1d6)](shouldProcessEventForTesthub)&&_0x17276e['YFaCK'](requireModule,_0x17276e[_0x45e52c(0x1b4)],_0x17276e[_0x45e52c(0x22c)])['addEventHandler'](_0x17276e[_0x45e52c(0x216)](o11yErrorHandler,async(_0x48bc18,_0x54b9ac)=>{const _0x1ac90a=_0x45e52c,_0x616442=_0x17276e[_0x1ac90a(0x1eb)](requireModule,_0x17276e[_0x1ac90a(0x23e)],_0x17276e[_0x1ac90a(0x22c)])[_0x1ac90a(0x1ea)];switch(_0x48bc18[_0x1ac90a(0x1b7)]){case _0x17276e[_0x1ac90a(0x21b)]:if(_0x17276e['NGxTF'](shouldProcessEventForTesthub,testHubConstants[_0x1ac90a(0x1c9)][_0x1ac90a(0x212)])){if(_0x48bc18['hook']['fn']&&_0x48bc18[_0x1ac90a(0x1ce)]['fn'][_0x1ac90a(0x231)]()[_0x1ac90a(0x237)](/browserstack internal helper hook/))break;if(BrowserstackCLI[_0x1ac90a(0x1ed)]()[_0x1ac90a(0x228)]()&&await _0x17276e['SiqYG'](isCLIReady))try{await _0x17276e['Yydoh'](handleHookEventCLI,_0x48bc18[_0x1ac90a(0x1ce)],_0x17276e[_0x1ac90a(0x19e)],_0x54b9ac);break;}catch(_0xda0a82){_0x17276e[_0x1ac90a(0x22f)](debug,_0x1ac90a(0x234)+util[_0x1ac90a(0x1b5)](_0xda0a82));}if(!_0x48bc18[_0x1ac90a(0x1ce)]['hookAnalyticsId']){const _0x51695d=TestDetails['setTestUUID'](process[_0x1ac90a(0x248)]+_0x1ac90a(0x1fb));_0x48bc18[_0x1ac90a(0x1ce)]['hookAnalyticsId']=_0x51695d;}else _0x48bc18[_0x1ac90a(0x1ce)][_0x1ac90a(0x1fe)]&&(_0x48bc18['hook'][_0x1ac90a(0x23c)]=TestDetails[_0x1ac90a(0x1cb)](process[_0x1ac90a(0x248)]+':hookAnalyticsId'),delete _0x48bc18['hook'][_0x1ac90a(0x1fe)]);_0x48bc18['hook'][_0x1ac90a(0x1c5)]=new Date()['toISOString'](),await _0x3dc15d[_0x1ac90a(0x1a6)](_0x48bc18[_0x1ac90a(0x1ce)],undefined,![],_0x17276e[_0x1ac90a(0x19e)]);}break;case _0x17276e[_0x1ac90a(0x1a7)]:if(_0x17276e[_0x1ac90a(0x229)](shouldProcessEventForTesthub,testHubConstants[_0x1ac90a(0x1c9)][_0x1ac90a(0x1bd)])){if(BrowserstackCLI[_0x1ac90a(0x1ed)]()[_0x1ac90a(0x228)]()&&await _0x17276e[_0x1ac90a(0x1c8)](isCLIReady))try{await _0x17276e[_0x1ac90a(0x20e)](handleHookEventCLI,_0x48bc18['hook'],_0x17276e['GyCZn'],_0x54b9ac);break;}catch(_0x234c67){_0x17276e[_0x1ac90a(0x20a)](debug,_0x1ac90a(0x234)+util[_0x1ac90a(0x1b5)](_0x234c67));}await _0x3dc15d[_0x1ac90a(0x1a6)](_0x48bc18[_0x1ac90a(0x1ce)],undefined,![],_0x17276e[_0x1ac90a(0x227)]),TestDetails[_0x1ac90a(0x1b3)](process[_0x1ac90a(0x248)]+_0x1ac90a(0x1fb));}break;case _0x17276e[_0x1ac90a(0x213)]:[_0x17276e[_0x1ac90a(0x207)],_0x17276e[_0x1ac90a(0x24c)],_0x17276e['vUjvI']][_0x1ac90a(0x1a2)](_0x48bc18[_0x1ac90a(0x1ce)][_0x1ac90a(0x1d7)])&&(_0x3dc15d['hook_failure']=_0x48bc18[_0x1ac90a(0x1ce)][_0x1ac90a(0x1d7)]),_0x54b9ac[_0x1ac90a(0x1d9)]&&_0x17276e[_0x1ac90a(0x1a4)](_0x54b9ac[_0x1ac90a(0x1d9)][_0x1ac90a(0x1d2)],0x0)&&(_0x48bc18[_0x1ac90a(0x1ce)][_0x1ac90a(0x201)]=[_0x54b9ac['unhandledErrors'][0x0][0x0]]);if(_0x17276e['SgirS'](shouldProcessEventForTesthub,testHubConstants[_0x1ac90a(0x1c9)][_0x1ac90a(0x1bd)])){if(BrowserstackCLI[_0x1ac90a(0x1ed)]()[_0x1ac90a(0x228)]()&&await _0x17276e[_0x1ac90a(0x1d6)](isCLIReady))try{await _0x17276e[_0x1ac90a(0x20e)](handleHookEventCLI,_0x48bc18[_0x1ac90a(0x1ce)],_0x17276e['GyCZn'],_0x54b9ac);break;}catch(_0x23979a){_0x17276e[_0x1ac90a(0x1a8)](debug,_0x1ac90a(0x234)+util[_0x1ac90a(0x1b5)](_0x23979a));}await _0x3dc15d[_0x1ac90a(0x1a6)](_0x48bc18[_0x1ac90a(0x1ce)],undefined,![],_0x17276e['GyCZn']),TestDetails[_0x1ac90a(0x1b3)](process[_0x1ac90a(0x248)]+_0x1ac90a(0x1fb));}break;case _0x17276e[_0x1ac90a(0x1cd)]:if(_0x17276e['ibdPL'](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x1ac90a(0x1ed)]()[_0x1ac90a(0x228)]()&&await _0x17276e[_0x1ac90a(0x1d6)](isCLIReady))try{await _0x17276e[_0x1ac90a(0x1cc)](handleTestEventCLI,_0x48bc18[_0x1ac90a(0x245)],_0x17276e[_0x1ac90a(0x1fa)],_0x3dc15d);break;}catch(_0x45a7e1){_0x17276e[_0x1ac90a(0x22f)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x1ac90a(0x1b5)](_0x45a7e1));}await _0x3dc15d[_0x1ac90a(0x224)](_0x48bc18[_0x1ac90a(0x245)]);}break;case _0x17276e[_0x1ac90a(0x209)]:_0x48bc18['test']={..._0x17276e['LhISE'](_0x616442,_0x48bc18[_0x1ac90a(0x245)]),..._0x48bc18[_0x1ac90a(0x245)]};if(_0x17276e[_0x1ac90a(0x1d6)](shouldProcessEventForTesthub)){if(!_0x48bc18[_0x1ac90a(0x245)]['markedStatus']){_0x48bc18[_0x1ac90a(0x245)]['markedStatus']=!![];if(BrowserstackCLI[_0x1ac90a(0x1ed)]()[_0x1ac90a(0x228)]()&&await _0x17276e[_0x1ac90a(0x1d6)](isCLIReady))try{await _0x17276e['zYaMR'](handleTestEventCLI,_0x48bc18[_0x1ac90a(0x245)],_0x17276e[_0x1ac90a(0x1c0)],_0x3dc15d);break;}catch(_0x288258){_0x17276e[_0x1ac90a(0x1ee)](debug,_0x1ac90a(0x234)+util['format'](_0x288258));}await _0x3dc15d['sendTestRunEvent'](_0x48bc18[_0x1ac90a(0x245)]);}}break;case _0x17276e[_0x1ac90a(0x214)]:_0x48bc18['test']={..._0x17276e[_0x1ac90a(0x1a8)](_0x616442,_0x48bc18[_0x1ac90a(0x245)]),..._0x48bc18[_0x1ac90a(0x245)]};if(_0x17276e['ibdPL'](shouldProcessEventForTesthub)){if(!_0x48bc18[_0x1ac90a(0x245)]['markedStatus']){_0x48bc18['test'][_0x1ac90a(0x1fe)]=!![];if(BrowserstackCLI['getInstance']()[_0x1ac90a(0x228)]()&&await _0x17276e[_0x1ac90a(0x1f6)](isCLIReady))try{await _0x17276e[_0x1ac90a(0x20b)](handleTestEventCLI,_0x48bc18[_0x1ac90a(0x245)],_0x17276e[_0x1ac90a(0x23f)],_0x3dc15d);break;}catch(_0x4ba7b3){_0x17276e[_0x1ac90a(0x1ee)](debug,_0x1ac90a(0x234)+util[_0x1ac90a(0x1b5)](_0x4ba7b3));}await _0x3dc15d[_0x1ac90a(0x1a6)](_0x48bc18[_0x1ac90a(0x245)],undefined,![],_0x17276e[_0x1ac90a(0x23f)]);}}break;case _0x17276e[_0x1ac90a(0x244)]:_0x3dc15d[_0x1ac90a(0x1f5)]=null;break;case _0x17276e[_0x1ac90a(0x1bb)]:await RequestQueueHandler['getInstance']()[_0x1ac90a(0x220)](),process[_0x1ac90a(0x24b)]();break;default:}},_0x17276e[_0x45e52c(0x1ef)]));}catch(_0x59b900){_0x17276e['DCTix'](debug,_0x45e52c(0x19c)+_0x59b900);}return _0x17276e[_0x45e52c(0x1e6)](initInitialize,..._0x4c5182);};try{Object[a17_0x145648(0x1d8)](exportsI)[a17_0x145648(0x199)](_0x1dc468=>{const _0x432ebf=a17_0x145648,_0x4b16f2={'cPSOT':function(_0x3c6589,_0x55de0f){return _0x3c6589(_0x55de0f);}};try{exports&&(exports[_0x1dc468]=exportsI[_0x1dc468]);}catch(_0x364ba3){_0x4b16f2[_0x432ebf(0x1df)](debug,_0x432ebf(0x1d1)+_0x364ba3);}});}catch(a17_0x30e020){debug(a17_0x145648(0x20d)+a17_0x30e020);}
1
+ const a17_0x2931c6=a17_0x1caa;(function(_0xe7d710,_0x4fd432){const _0x416495=a17_0x1caa,_0x1955ef=_0xe7d710();while(!![]){try{const _0x4a69ea=-parseInt(_0x416495(0x104))/0x1+parseInt(_0x416495(0xa1))/0x2*(-parseInt(_0x416495(0xa9))/0x3)+parseInt(_0x416495(0xd7))/0x4*(parseInt(_0x416495(0x117))/0x5)+-parseInt(_0x416495(0x140))/0x6*(parseInt(_0x416495(0x138))/0x7)+-parseInt(_0x416495(0x135))/0x8*(parseInt(_0x416495(0x115))/0x9)+parseInt(_0x416495(0xec))/0xa*(parseInt(_0x416495(0xdf))/0xb)+parseInt(_0x416495(0x130))/0xc*(parseInt(_0x416495(0x133))/0xd);if(_0x4a69ea===_0x4fd432)break;else _0x1955ef['push'](_0x1955ef['shift']());}catch(_0x449652){_0x1955ef['push'](_0x1955ef['shift']());}}}(a17_0x572a,0x5474f));const {requireModule}=require(a17_0x2931c6(0xdc)),ObservabilityReporter=require(a17_0x2931c6(0xee)),RequestQueueHandler=require(a17_0x2931c6(0xc6)),TestDetails=require('../test-observability/test-details'),{patchConsoleLogger,debug}=require(a17_0x2931c6(0xd1)),{o11yErrorHandler}=require(a17_0x2931c6(0xbf)),{shouldProcessEventForTesthub}=require(a17_0x2931c6(0xed)),testHubConstants=require(a17_0x2931c6(0xa3)),BrowserstackCLI=require(a17_0x2931c6(0x120)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a17_0x2931c6(0xd9)),JestUtils=require(a17_0x2931c6(0x108)),{v4:uuidv4}=require(a17_0x2931c6(0xa6)),util=require(a17_0x2931c6(0xd2)),logger=require('../../../helpers/logger')[a17_0x2931c6(0xdd)],{FRAMEWORKS}=require(a17_0x2931c6(0xcb)),exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js',a17_0x2931c6(0x132)),initInitialize=exportsI[a17_0x2931c6(0x12a)],jestUtils=new JestUtils();async function isCLIReady(){const _0x3cc1e5=a17_0x2931c6,_0x2d0404={'LVWUY':_0x3cc1e5(0xb8),'fnyuv':function(_0xccd6f4,_0x13735c){return _0xccd6f4(_0x13735c);},'BLEjQ':'../../v2/cliUtils','sfQfZ':function(_0x367f2a,_0x15bb25){return _0x367f2a(_0x15bb25);}};try{const _0x4f7917=BrowserstackCLI['getInstance']();if(_0x4f7917['isCliEnabled']()&&_0x4f7917['isRunning']())return logger[_0x3cc1e5(0x13a)](_0x2d0404[_0x3cc1e5(0x9c)]),!![];const _0x15050c=process[_0x3cc1e5(0x10d)][_0x3cc1e5(0xef)];if(_0x15050c&&_0x4f7917[_0x3cc1e5(0xa7)]()){if(!_0x4f7917[_0x3cc1e5(0xd8)]())try{const _0x3db9a9=_0x2d0404['fnyuv'](require,_0x2d0404['BLEjQ']);_0x3db9a9[_0x3cc1e5(0x121)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x3cc1e5(0xbe)]),await _0x4f7917[_0x3cc1e5(0xb9)]();}catch(_0x2e9d68){return _0x2d0404[_0x3cc1e5(0xaf)](debug,_0x3cc1e5(0xae)+util[_0x3cc1e5(0xfe)](_0x2e9d68)),![];}return _0x4f7917['isRunning']();}return![];}catch(_0x217e3e){return _0x2d0404[_0x3cc1e5(0xac)](debug,_0x3cc1e5(0x94)+util['format'](_0x217e3e)),![];}}function getTestIdentifierForHook(_0x383eb7){const _0x352ffc=a17_0x2931c6,_0x282e39={};_0x282e39[_0x352ffc(0x93)]=function(_0xe78e6c,_0x253463){return _0xe78e6c===_0x253463;},_0x282e39['Avrgk']='beforeEach',_0x282e39[_0x352ffc(0xe5)]=function(_0x25160e,_0x2b446e){return _0x25160e===_0x2b446e;},_0x282e39[_0x352ffc(0xb3)]=_0x352ffc(0xe9);const _0x53e1ce=_0x282e39;if(_0x53e1ce['flgvp'](_0x383eb7[_0x352ffc(0xfa)],_0x53e1ce[_0x352ffc(0x13f)])||_0x53e1ce[_0x352ffc(0xe5)](_0x383eb7[_0x352ffc(0xfa)],_0x53e1ce[_0x352ffc(0xb3)])){let _0x3fe441=global[_0x352ffc(0xb1)];if(!_0x3fe441&&_0x53e1ce[_0x352ffc(0xe5)](_0x383eb7[_0x352ffc(0xfa)],_0x53e1ce[_0x352ffc(0xb3)])&&_0x383eb7[_0x352ffc(0xd4)]){const _0xe124c1={};_0xe124c1[_0x352ffc(0xaa)]=_0x383eb7[_0x352ffc(0xd4)][_0x352ffc(0xaa)],_0xe124c1[_0x352ffc(0xd4)]=_0x383eb7['parent'][_0x352ffc(0xd4)],_0xe124c1[_0x352ffc(0x112)]=_0x383eb7[_0x352ffc(0x112)],_0xe124c1[_0x352ffc(0xe2)]=_0x383eb7['file'];const _0x5c1729=_0xe124c1;_0x3fe441=jestUtils['createIdentifierFromJestTest'](_0x5c1729);}return _0x3fe441;}return global[_0x352ffc(0xb1)];}function mapHookTypeToState(_0x54f899){const _0x2f257e=a17_0x2931c6,_0x4275e1={};_0x4275e1[_0x2f257e(0xe9)]=TestFrameworkState[_0x2f257e(0xdb)],_0x4275e1[_0x2f257e(0xd3)]=TestFrameworkState[_0x2f257e(0x98)],_0x4275e1[_0x2f257e(0xf1)]=TestFrameworkState[_0x2f257e(0x114)],_0x4275e1[_0x2f257e(0x12b)]=TestFrameworkState[_0x2f257e(0x11d)];const _0x4b7311=_0x4275e1;return _0x4b7311[_0x54f899]||TestFrameworkState['BEFORE_EACH'];}function a17_0x1caa(_0x211df4,_0x5a3806){const _0x572ab1=a17_0x572a();return a17_0x1caa=function(_0x1caa41,_0x3f3318){_0x1caa41=_0x1caa41-0x92;let _0x56bf79=_0x572ab1[_0x1caa41];return _0x56bf79;},a17_0x1caa(_0x211df4,_0x5a3806);}async function handleHookEventCLI(_0x1caf33,_0x168bdb,_0x2651fc){const _0x5d3e5e=a17_0x2931c6,_0x47ebc5={'ruTOx':function(_0x11aa7d){return _0x11aa7d();},'aKmEy':function(_0x3426d6,_0x2aef59){return _0x3426d6===_0x2aef59;},'diwhk':_0x5d3e5e(0x9f),'Mqrda':function(_0x4506a4,_0x2f9371){return _0x4506a4(_0x2f9371);},'Ddqgz':function(_0x7d6046,_0x23d4df){return _0x7d6046===_0x23d4df;},'GimIG':_0x5d3e5e(0xca),'hKYlF':_0x5d3e5e(0x11c),'gJvHQ':function(_0x1790c1,_0x3bee70){return _0x1790c1===_0x3bee70;}};logger['debug'](_0x5d3e5e(0xe1)+_0x168bdb+_0x5d3e5e(0xff)+_0x1caf33[_0x5d3e5e(0xfa)]);try{if(_0x1caf33['fn']&&_0x1caf33['fn'][_0x5d3e5e(0xa0)]()[_0x5d3e5e(0xc8)](/browserstack internal helper hook/))return;let _0x3e11b0=_0x1caf33[_0x5d3e5e(0xd6)];if(!_0x3e11b0)_0x3e11b0=_0x47ebc5[_0x5d3e5e(0xd5)](uuidv4),_0x1caf33[_0x5d3e5e(0xd6)]=_0x3e11b0;else _0x1caf33[_0x5d3e5e(0x113)]&&(_0x3e11b0=_0x47ebc5[_0x5d3e5e(0xd5)](uuidv4),_0x1caf33[_0x5d3e5e(0xd6)]=_0x3e11b0,delete _0x1caf33[_0x5d3e5e(0x113)]);_0x47ebc5[_0x5d3e5e(0xa8)](_0x168bdb,_0x47ebc5['diwhk'])&&(_0x1caf33[_0x5d3e5e(0x128)]=new Date()[_0x5d3e5e(0x9a)]());const _0xe00cb3=_0x47ebc5[_0x5d3e5e(0x143)](getTestIdentifierForHook,_0x1caf33);!global['__workerDetails']&&(global['__workerDetails']={});if(_0x47ebc5[_0x5d3e5e(0xe4)](_0x168bdb,_0x47ebc5[_0x5d3e5e(0x118)])){global[_0x5d3e5e(0x11b)][_0x5d3e5e(0xcd)]={'hookUUID':_0x3e11b0,'testIdentifier':_0xe00cb3,'hookType':_0x1caf33['type'],'startedAt':new Date()[_0x5d3e5e(0x9a)]()};const _0x4e0816=BrowserstackCLI[_0x5d3e5e(0x124)]()[_0x5d3e5e(0xa2)]();_0x4e0816&&_0x4e0816[_0x5d3e5e(0xea)]&&_0x4e0816[_0x5d3e5e(0xea)](_0xe00cb3,_0x3e11b0,_0x1caf33['type']);}const _0x1f759d=await jestUtils[_0x5d3e5e(0xfb)](_0x1caf33,_0x3e11b0,_0x168bdb,_0xe00cb3);if(!_0x1f759d)return;const _0x4df9f1=_0x47ebc5[_0x5d3e5e(0x143)](mapHookTypeToState,_0x1caf33['type']),_0x3771fb=_0x47ebc5[_0x5d3e5e(0xa8)](_0x168bdb,_0x47ebc5[_0x5d3e5e(0x118)])?HookState[_0x5d3e5e(0xc9)]:HookState['POST'],_0x4610a6=BrowserstackCLI[_0x5d3e5e(0x124)]()[_0x5d3e5e(0xa2)]();if(_0x4610a6){const _0x5c7b91={};_0x5c7b91[_0x5d3e5e(0x109)]=_0x1f759d,await _0x4610a6[_0x5d3e5e(0xce)](_0x4df9f1,_0x3771fb,_0x5c7b91);if(_0x47ebc5[_0x5d3e5e(0xa8)](_0x168bdb,_0x47ebc5[_0x5d3e5e(0x111)])){const _0x375e4b={};_0x375e4b[_0x5d3e5e(0x10f)]=_0xe00cb3,_0x375e4b[_0x5d3e5e(0xfa)]=_0x47ebc5[_0x5d3e5e(0x102)],await _0x4610a6['trackEvent'](TestFrameworkState[_0x5d3e5e(0xf8)],HookState[_0x5d3e5e(0x11a)],_0x375e4b),global['__workerDetails']&&global[_0x5d3e5e(0x11b)]['currentHook']&&_0x47ebc5[_0x5d3e5e(0x12c)](global[_0x5d3e5e(0x11b)][_0x5d3e5e(0xcd)][_0x5d3e5e(0x110)],_0x3e11b0)&&delete global[_0x5d3e5e(0x11b)][_0x5d3e5e(0xcd)],_0x4610a6[_0x5d3e5e(0x12d)]&&_0x4610a6['removeActiveHook'](_0xe00cb3,_0x3e11b0);}}}catch(_0x5589ac){logger[_0x5d3e5e(0x137)]('Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20'+util[_0x5d3e5e(0xfe)](_0x5589ac));throw _0x5589ac;}}async function handleTestEventCLI(_0x504cea,_0xa4c85d,_0x388e50){const _0x13f47e=a17_0x2931c6,_0x304b32={};_0x304b32[_0x13f47e(0xf7)]=function(_0x5bf1a0,_0x2e0bbc){return _0x5bf1a0===_0x2e0bbc;},_0x304b32['ptZmH']=_0x13f47e(0xe6),_0x304b32[_0x13f47e(0xb6)]=function(_0x5371f1,_0x288db2){return _0x5371f1>_0x288db2;},_0x304b32[_0x13f47e(0x99)]=function(_0x866b96,_0x423b40){return _0x866b96===_0x423b40;},_0x304b32[_0x13f47e(0x125)]=function(_0x51700a,_0x42cbcb){return _0x51700a&&_0x42cbcb;},_0x304b32['wrVvG']=_0x13f47e(0xd0),_0x304b32[_0x13f47e(0xab)]='TestRunFinished',_0x304b32['brrNQ']=_0x13f47e(0xde);const _0x49d358=_0x304b32;logger['debug'](_0x13f47e(0x142)+_0xa4c85d);try{let _0x1b8dd6;if(_0x49d358['Qhrfb'](_0xa4c85d,_0x49d358['ptZmH'])){_0x1b8dd6=jestUtils[_0x13f47e(0xb5)](_0x504cea),global[_0x13f47e(0xb1)]=_0x1b8dd6,_0x504cea[_0x13f47e(0x127)]=_0x1b8dd6,_0x504cea['id']=_0x1b8dd6,_0x504cea[_0x13f47e(0x128)]=new Date()[_0x13f47e(0x9a)]();const _0x34b174=_0x388e50[_0x13f47e(0x9e)];_0x388e50['current_test']=_0x504cea,_0x504cea[_0x13f47e(0x92)]=null;if(_0x49d358[_0x13f47e(0xb6)](_0x504cea[_0x13f47e(0x9b)],0x0)&&_0x34b174&&_0x49d358[_0x13f47e(0x99)](_0x34b174[_0x13f47e(0xc3)],_0x504cea['title'])){_0x504cea['retryOf']=_0x34b174[_0x13f47e(0x127)];const _0x5d1fea=await jestUtils[_0x13f47e(0x129)](_0x504cea,_0x1b8dd6,_0x49d358[_0x13f47e(0xf5)]),_0x2af918=BrowserstackCLI['getInstance']()[_0x13f47e(0xa2)]();if(_0x49d358['nzcmd'](_0x5d1fea,_0x2af918)){const _0x3a3bee={};_0x3a3bee[_0x13f47e(0xde)]=_0x5d1fea,await _0x2af918[_0x13f47e(0xce)](TestFrameworkState[_0x13f47e(0xe8)],HookState[_0x13f47e(0xc9)],_0x3a3bee);}_0x34b174[_0x13f47e(0x139)]=_0x49d358[_0x13f47e(0xf3)];const _0x40a115=await jestUtils[_0x13f47e(0x129)](_0x34b174,_0x34b174[_0x13f47e(0x127)],_0x49d358['sKwfD']);if(_0x49d358[_0x13f47e(0x125)](_0x40a115,_0x2af918)){const _0x4d0211={};_0x4d0211[_0x13f47e(0xde)]=_0x40a115,await _0x2af918['trackEvent'](TestFrameworkState[_0x13f47e(0xe8)],HookState[_0x13f47e(0x11a)],_0x4d0211);}}else{const _0x36674a=await jestUtils[_0x13f47e(0x129)](_0x504cea,_0x1b8dd6,_0x49d358[_0x13f47e(0xf5)]),_0x396ae9=BrowserstackCLI[_0x13f47e(0x124)]()[_0x13f47e(0xa2)]();if(_0x49d358[_0x13f47e(0x125)](_0x36674a,_0x396ae9)){const _0x505138={};_0x505138[_0x13f47e(0xde)]=_0x36674a,await _0x396ae9[_0x13f47e(0xce)](TestFrameworkState[_0x13f47e(0xe8)],HookState['PRE'],_0x505138);}}}else{_0x1b8dd6=_0x504cea[_0x13f47e(0x127)]||_0x504cea['id']||global['__jestCurrentTestIdentifier'];const _0x3db1ba=await jestUtils[_0x13f47e(0x129)](_0x504cea,_0x1b8dd6,_0xa4c85d),_0x18ca1c=BrowserstackCLI['getInstance']()[_0x13f47e(0xa2)]();if(_0x49d358[_0x13f47e(0x125)](_0x3db1ba,_0x18ca1c)){const _0x577a77={};_0x577a77['test']=_0x3db1ba,_0x577a77[_0x13f47e(0xcc)]=_0x504cea,await _0x18ca1c['trackEvent'](TestFrameworkState[_0x13f47e(0xe8)],HookState[_0x13f47e(0x11a)],_0x577a77);const _0x50a90b={};_0x50a90b[_0x13f47e(0x10f)]=_0x1b8dd6,_0x50a90b[_0x13f47e(0xfa)]=_0x49d358[_0x13f47e(0x134)],await _0x18ca1c[_0x13f47e(0xce)](TestFrameworkState['LOG_REPORT'],HookState['POST'],_0x50a90b);}}}catch(_0x5c63d3){logger['error'](_0x13f47e(0x122)+util[_0x13f47e(0xfe)](_0x5c63d3));throw _0x5c63d3;}}exportsI['initialize']=(..._0x44e4cc)=>{const _0x35bbd4=a17_0x2931c6,_0x2aa89a={'DUfgL':function(_0x3918f9,_0xb8fee4,_0x211aca){return _0x3918f9(_0xb8fee4,_0x211aca);},'Kmhxv':_0x35bbd4(0xb2),'iPAwr':_0x35bbd4(0x132),'UYjec':'hook_start','AYdQA':function(_0x5935bb,_0x6dba18){return _0x5935bb(_0x6dba18);},'yKZUI':function(_0x7e9e30){return _0x7e9e30();},'xbQEL':function(_0x5a0774,_0x37ebf5,_0x301ac1,_0x94a836){return _0x5a0774(_0x37ebf5,_0x301ac1,_0x94a836);},'WGJMo':_0x35bbd4(0x9f),'VQutS':function(_0x355856,_0x17490c){return _0x355856(_0x17490c);},'Fcmgk':'hook_success','RVrGM':function(_0x248ca4,_0x2893f2){return _0x248ca4(_0x2893f2);},'KZGqn':_0x35bbd4(0xca),'kzrhR':function(_0x2941b3,_0x5ea614){return _0x2941b3(_0x5ea614);},'TcokL':_0x35bbd4(0x123),'VCjvd':_0x35bbd4(0xe9),'WqSdo':_0x35bbd4(0xf1),'wlNjY':_0x35bbd4(0x12b),'Shvzq':function(_0x4331ec,_0x527daa){return _0x4331ec>_0x527daa;},'HfpMH':function(_0xe254ab,_0x369e71,_0x28c51e,_0x82f762){return _0xe254ab(_0x369e71,_0x28c51e,_0x82f762);},'WNuTC':'test_start','XmqgT':function(_0x23d8ca){return _0x23d8ca();},'aApLO':_0x35bbd4(0xe6),'XIJTv':_0x35bbd4(0xf9),'wsBeD':function(_0x12a12d,_0x15fa00){return _0x12a12d(_0x15fa00);},'XzzoC':_0x35bbd4(0x119),'RXZSQ':function(_0x396b91,_0x2aa5b3){return _0x396b91(_0x2aa5b3);},'VyOkk':_0x35bbd4(0xc1),'vtNaN':function(_0x28b1f2){return _0x28b1f2();},'LqvRw':'TestRunSkipped','xsuDk':_0x35bbd4(0xc7),'qnDSd':_0x35bbd4(0x116),'QyFDw':function(_0x15c2c4){return _0x15c2c4();},'AlXAl':_0x35bbd4(0xb7),'DeAYK':function(_0x2637c1,_0x1865d6,_0x3333e6){return _0x2637c1(_0x1865d6,_0x3333e6);},'RDANV':_0x35bbd4(0x141),'ajlFD':function(_0x92eed9,_0x327f47){return _0x92eed9(_0x327f47);}};try{const _0x289fce=new ObservabilityReporter();_0x2aa89a['XmqgT'](shouldProcessEventForTesthub)&&(_0x2aa89a[_0x35bbd4(0x105)](patchConsoleLogger),_0x289fce[_0x35bbd4(0xf0)]()),_0x2aa89a[_0x35bbd4(0x105)](shouldProcessEventForTesthub)&&_0x2aa89a[_0x35bbd4(0x13d)](requireModule,_0x2aa89a[_0x35bbd4(0xeb)],_0x2aa89a[_0x35bbd4(0xad)])[_0x35bbd4(0x10e)](_0x2aa89a['DeAYK'](o11yErrorHandler,async(_0x20e7d9,_0x263534)=>{const _0x320535=_0x35bbd4,_0x166018=_0x2aa89a[_0x320535(0x13d)](requireModule,_0x2aa89a['Kmhxv'],_0x2aa89a[_0x320535(0xad)])['makeSingleTestResult'];switch(_0x20e7d9[_0x320535(0xaa)]){case _0x2aa89a[_0x320535(0x13e)]:if(_0x2aa89a[_0x320535(0x131)](shouldProcessEventForTesthub,testHubConstants[_0x320535(0x10c)]['HookStarted'])){if(_0x20e7d9['hook']['fn']&&_0x20e7d9[_0x320535(0x11c)]['fn']['toString']()['match'](/browserstack internal helper hook/))break;if(BrowserstackCLI[_0x320535(0x124)]()[_0x320535(0xa7)]()&&await _0x2aa89a[_0x320535(0xbb)](isCLIReady))try{await _0x2aa89a[_0x320535(0x13c)](handleHookEventCLI,_0x20e7d9[_0x320535(0x11c)],_0x2aa89a['WGJMo'],_0x263534);break;}catch(_0x259657){_0x2aa89a['VQutS'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x320535(0xfe)](_0x259657));}if(!_0x20e7d9[_0x320535(0x11c)]['hookAnalyticsId']){const _0x2a442f=TestDetails['setTestUUID'](process[_0x320535(0x101)]+_0x320535(0x9d));_0x20e7d9['hook'][_0x320535(0xd6)]=_0x2a442f;}else _0x20e7d9[_0x320535(0x11c)][_0x320535(0x113)]&&(_0x20e7d9[_0x320535(0x11c)][_0x320535(0xd6)]=TestDetails[_0x320535(0xe7)](process[_0x320535(0x101)]+_0x320535(0x9d)),delete _0x20e7d9[_0x320535(0x11c)][_0x320535(0x113)]);_0x20e7d9[_0x320535(0x11c)]['started_at']=new Date()[_0x320535(0x9a)](),await _0x289fce[_0x320535(0x10b)](_0x20e7d9[_0x320535(0x11c)],undefined,![],_0x2aa89a[_0x320535(0x144)]);}break;case _0x2aa89a[_0x320535(0xcf)]:if(_0x2aa89a[_0x320535(0x103)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x320535(0x96)])){if(BrowserstackCLI['getInstance']()[_0x320535(0xa7)]()&&await _0x2aa89a[_0x320535(0xbb)](isCLIReady))try{await _0x2aa89a['xbQEL'](handleHookEventCLI,_0x20e7d9[_0x320535(0x11c)],_0x2aa89a[_0x320535(0xc5)],_0x263534);break;}catch(_0x4fc9e0){_0x2aa89a[_0x320535(0xf2)](debug,_0x320535(0x136)+util[_0x320535(0xfe)](_0x4fc9e0));}await _0x289fce[_0x320535(0x10b)](_0x20e7d9[_0x320535(0x11c)],undefined,![],_0x2aa89a['KZGqn']),TestDetails[_0x320535(0xbd)](process[_0x320535(0x101)]+':hookAnalyticsId');}break;case _0x2aa89a[_0x320535(0xfd)]:[_0x2aa89a['VCjvd'],_0x2aa89a[_0x320535(0xc2)],_0x2aa89a[_0x320535(0x10a)]]['includes'](_0x20e7d9[_0x320535(0x11c)][_0x320535(0xfa)])&&(_0x289fce[_0x320535(0x123)]=_0x20e7d9[_0x320535(0x11c)][_0x320535(0xfa)]),_0x263534[_0x320535(0x95)]&&_0x2aa89a[_0x320535(0xf6)](_0x263534[_0x320535(0x95)][_0x320535(0xc4)],0x0)&&(_0x20e7d9[_0x320535(0x11c)][_0x320535(0x12e)]=[_0x263534['unhandledErrors'][0x0][0x0]]);if(_0x2aa89a[_0x320535(0xf2)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookFinished'])){if(BrowserstackCLI[_0x320535(0x124)]()[_0x320535(0xa7)]()&&await _0x2aa89a[_0x320535(0xbb)](isCLIReady))try{await _0x2aa89a[_0x320535(0xe0)](handleHookEventCLI,_0x20e7d9[_0x320535(0x11c)],_0x2aa89a[_0x320535(0xc5)],_0x263534);break;}catch(_0x3e3f01){_0x2aa89a[_0x320535(0xf2)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x320535(0xfe)](_0x3e3f01));}await _0x289fce[_0x320535(0x10b)](_0x20e7d9[_0x320535(0x11c)],undefined,![],_0x2aa89a['KZGqn']),TestDetails[_0x320535(0xbd)](process['pid']+':hookAnalyticsId');}break;case _0x2aa89a[_0x320535(0xf4)]:if(_0x2aa89a[_0x320535(0xbb)](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x320535(0x124)]()[_0x320535(0xa7)]()&&await _0x2aa89a[_0x320535(0xa5)](isCLIReady))try{await _0x2aa89a['xbQEL'](handleTestEventCLI,_0x20e7d9[_0x320535(0xde)],_0x2aa89a[_0x320535(0x107)],_0x289fce);break;}catch(_0x36d95c){_0x2aa89a[_0x320535(0x106)](debug,_0x320535(0x136)+util['format'](_0x36d95c));}await _0x289fce[_0x320535(0xda)](_0x20e7d9[_0x320535(0xde)]);}break;case _0x2aa89a[_0x320535(0xb0)]:_0x20e7d9[_0x320535(0xde)]={..._0x2aa89a['wsBeD'](_0x166018,_0x20e7d9[_0x320535(0xde)]),..._0x20e7d9[_0x320535(0xde)]};if(_0x2aa89a[_0x320535(0xbb)](shouldProcessEventForTesthub)){if(!_0x20e7d9[_0x320535(0xde)][_0x320535(0x113)]){_0x20e7d9[_0x320535(0xde)][_0x320535(0x113)]=!![];if(BrowserstackCLI[_0x320535(0x124)]()[_0x320535(0xa7)]()&&await _0x2aa89a['yKZUI'](isCLIReady))try{await _0x2aa89a['HfpMH'](handleTestEventCLI,_0x20e7d9[_0x320535(0xde)],_0x2aa89a[_0x320535(0xfc)],_0x289fce);break;}catch(_0x2caebd){_0x2aa89a[_0x320535(0xb4)](debug,_0x320535(0x136)+util[_0x320535(0xfe)](_0x2caebd));}await _0x289fce[_0x320535(0x10b)](_0x20e7d9[_0x320535(0xde)]);}}break;case _0x2aa89a[_0x320535(0xba)]:_0x20e7d9[_0x320535(0xde)]={..._0x2aa89a[_0x320535(0x12f)](_0x166018,_0x20e7d9['test']),..._0x20e7d9[_0x320535(0xde)]};if(_0x2aa89a[_0x320535(0x11e)](shouldProcessEventForTesthub)){if(!_0x20e7d9[_0x320535(0xde)][_0x320535(0x113)]){_0x20e7d9['test'][_0x320535(0x113)]=!![];if(BrowserstackCLI[_0x320535(0x124)]()[_0x320535(0xa7)]()&&await _0x2aa89a['XmqgT'](isCLIReady))try{await _0x2aa89a[_0x320535(0x13c)](handleTestEventCLI,_0x20e7d9['test'],_0x2aa89a[_0x320535(0xa4)],_0x289fce);break;}catch(_0x43a920){_0x2aa89a[_0x320535(0xf2)](debug,_0x320535(0x136)+util['format'](_0x43a920));}await _0x289fce[_0x320535(0x10b)](_0x20e7d9[_0x320535(0xde)],undefined,![],_0x2aa89a[_0x320535(0xa4)]);}}break;case _0x2aa89a[_0x320535(0xc0)]:_0x289fce[_0x320535(0x123)]=null;break;case _0x2aa89a[_0x320535(0x126)]:await RequestQueueHandler[_0x320535(0x124)]()['shutdown'](),process[_0x320535(0xbc)]();break;default:}},_0x2aa89a[_0x35bbd4(0x100)]));}catch(_0x169980){_0x2aa89a['ajlFD'](debug,_0x35bbd4(0x13b)+_0x169980);}return _0x2aa89a['RVrGM'](initInitialize,..._0x44e4cc);};try{Object[a17_0x2931c6(0x11f)](exportsI)['forEach'](_0x2325c8=>{const _0x1530c6=a17_0x2931c6,_0x44cfc5={'DkXAJ':function(_0x395594,_0xe2ce02){return _0x395594(_0xe2ce02);}};try{exports&&(exports[_0x2325c8]=exportsI[_0x2325c8]);}catch(_0x3f7678){_0x44cfc5[_0x1530c6(0xe3)](debug,'Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20'+_0x3f7678);}});}catch(a17_0x2ea66c){debug(a17_0x2931c6(0x97)+a17_0x2ea66c);}function a17_0x572a(){const _0x419d43=['WGJMo','retryOf','flgvp','Error\x20checking\x20CLI\x20readiness:\x20','unhandledErrors','HookFinished','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','AFTER_ALL','Inyzu','toISOString','_currentRetry','LVWUY',':hookAnalyticsId','current_test','HookRunStarted','toString','4KtuRXl','getTestFramework','../../../helpers/testhub/constants','LqvRw','XmqgT','uuid','isCliEnabled','aKmEy','275343aSzxnC','name','sKwfD','sfQfZ','iPAwr','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','fnyuv','XIJTv','__jestCurrentTestIdentifier','jest-circus/build/utils.js','LGdIf','RXZSQ','createIdentifierFromJestTest','XSfxD','jest-circus/build/state.js','CLI\x20is\x20enabled\x20and\x20running.','bootstrap','VyOkk','yKZUI','removeAllListeners','removeTestUUID','PLAYWRIGHT','../../../helpers/test-observability/error-handler','xsuDk','test_skip','WqSdo','title','length','KZGqn','../../../helpers/test-observability/requestQueueHandler','run_describe_finish','match','PRE','HookRunFinished','../../utils/constants','originalTest','currentHook','trackEvent','Fcmgk','failed','../../../helpers/test-observability/utils','util','afterAll','parent','ruTOx','hookAnalyticsId','673228Ydunqq','isRunning','../../v2/state/hookState','testStarted','BEFORE_ALL','../../../helpers/helper','winstonLogger','test','1089qvOhFI','HfpMH','Handling\x20hook\x20event\x20for\x20CLI:\x20','file','DkXAJ','Ddqgz','NyqRy','TestRunStarted','setTestUUID','TEST','beforeAll','setActiveHook','AlXAl','16720ZsAoiF','../../../helpers/testhub/utils','../test-observability/obsReporter','BROWSERSTACK_CLI_BIN_SESSION_ID','registerListeners','beforeEach','kzrhR','wrVvG','WNuTC','ptZmH','Shvzq','Qhrfb','LOG_REPORT','test_done','type','createHookData','XzzoC','TcokL','format','\x20for\x20hook\x20type:\x20','RDANV','pid','hKYlF','RVrGM','33317KaywOI','QyFDw','VQutS','aApLO','../../v2/utils/jest-utils','hookData','wlNjY','sendTestRunEvent','EVENT','env','addEventHandler','testUUID','hookUUID','GimIG','asyncError','markedStatus','BEFORE_EACH','5517jWoZUw','teardown','20DIlrxw','diwhk','TestRunFinished','POST','__workerDetails','hook','AFTER_EACH','vtNaN','keys','../../v2/browserstackCLI','setFrameworkDetail','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','hook_failure','getInstance','nzcmd','qnDSd','testAnalyticsId','started_at','createTestFrameworkData','initialize','afterEach','gJvHQ','removeActiveHook','errorsDetailed','wsBeD','3502236EnqYlZ','AYdQA','jest-circus','13GnLNCj','brrNQ','2056hKGJDi','Error\x20routing\x20to\x20JestTestFramework:\x20','error','91MUdlZo','state','debug','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','xbQEL','DUfgL','UYjec','Avrgk','189348EdZThR','EventHandler','Handling\x20test\x20event\x20for\x20CLI:\x20','Mqrda'];a17_0x572a=function(){return _0x419d43;};return a17_0x572a();}
@@ -1 +1 @@
1
- const a18_0x3dc46a=a18_0x3e69;(function(_0x45e2a1,_0x2680ee){const _0x2d1674=a18_0x3e69,_0x4e3ceb=_0x45e2a1();while(!![]){try{const _0x5718f3=parseInt(_0x2d1674(0x6c))/0x1*(-parseInt(_0x2d1674(0x74))/0x2)+-parseInt(_0x2d1674(0x76))/0x3+-parseInt(_0x2d1674(0x6b))/0x4*(-parseInt(_0x2d1674(0x70))/0x5)+parseInt(_0x2d1674(0x71))/0x6+-parseInt(_0x2d1674(0x73))/0x7*(parseInt(_0x2d1674(0x78))/0x8)+parseInt(_0x2d1674(0x77))/0x9+parseInt(_0x2d1674(0x6f))/0xa*(parseInt(_0x2d1674(0x6e))/0xb);if(_0x5718f3===_0x2680ee)break;else _0x4e3ceb['push'](_0x4e3ceb['shift']());}catch(_0x38a256){_0x4e3ceb['push'](_0x4e3ceb['shift']());}}}(a18_0xb5c2,0xc48ac));function a18_0x3e69(_0xccac95,_0x3c4674){const _0xb5c278=a18_0xb5c2();return a18_0x3e69=function(_0x3e69d3,_0x33eaae){_0x3e69d3=_0x3e69d3-0x6a;let _0x28b582=_0xb5c278[_0x3e69d3];return _0x28b582;},a18_0x3e69(_0xccac95,_0x3c4674);}const Sequencer=require(a18_0x3dc46a(0x72))[a18_0x3dc46a(0x7a)];class CustomSequencer extends Sequencer{['sort'](_0x371020){const _0x73f8fc=a18_0x3dc46a,_0x1e03e1=process['env']['JEST_TEST_ORDER'];if(!_0x1e03e1)return _0x371020;const _0x182788=_0x1e03e1['split'](','),_0x4f0e11=new Map(_0x371020[_0x73f8fc(0x75)](_0x52da10=>_0x182788['includes'](_0x52da10[_0x73f8fc(0x6d)]))[_0x73f8fc(0x79)](_0x391dc5=>[_0x391dc5[_0x73f8fc(0x6d)],_0x391dc5]));return _0x182788['map'](_0x116f46=>_0x4f0e11['get'](_0x116f46))[_0x73f8fc(0x75)](Boolean);}}function a18_0xb5c2(){const _0x379b6f=['path','11acwqQR','21021370vApjIJ','3051695OeSDMW','2865126gzaRGp','@jest/test-sequencer','6383587NHXCmK','15126BBXzRx','filter','3287661rFrHUC','3888972PYAeBr','8nnzbdQ','map','default','exports','4mlDjds','107IWuEuZ'];a18_0xb5c2=function(){return _0x379b6f;};return a18_0xb5c2();}module[a18_0x3dc46a(0x6a)]=CustomSequencer;
1
+ function a18_0x1ae8(_0x2f5df3,_0x213921){const _0xb884f3=a18_0xb884();return a18_0x1ae8=function(_0x1ae852,_0x139838){_0x1ae852=_0x1ae852-0xa2;let _0x438d7d=_0xb884f3[_0x1ae852];return _0x438d7d;},a18_0x1ae8(_0x2f5df3,_0x213921);}const a18_0x78dabf=a18_0x1ae8;function a18_0xb884(){const _0x310bcb=['56lRZcin','12lXpcRB','JEST_TEST_ORDER','3976686ihuaUe','2352lDcpEf','filter','split','get','path','default','env','209934PZVlst','268065VNVpIw','sort','includes','11853182wbDEjT','map','2254136dZgZth','1179UHgkXS','7BiNWuV','42790slSfHF','exports'];a18_0xb884=function(){return _0x310bcb;};return a18_0xb884();}(function(_0xfb53d0,_0x2cd48d){const _0x13db7d=a18_0x1ae8,_0x2f673a=_0xfb53d0();while(!![]){try{const _0x18c645=parseInt(_0x13db7d(0xb3))/0x1*(parseInt(_0x13db7d(0xaf))/0x2)+-parseInt(_0x13db7d(0xa4))/0x3*(-parseInt(_0x13db7d(0xb0))/0x4)+-parseInt(_0x13db7d(0xa5))/0x5+-parseInt(_0x13db7d(0xb2))/0x6+parseInt(_0x13db7d(0xac))/0x7*(parseInt(_0x13db7d(0xaa))/0x8)+-parseInt(_0x13db7d(0xab))/0x9*(parseInt(_0x13db7d(0xad))/0xa)+parseInt(_0x13db7d(0xa8))/0xb;if(_0x18c645===_0x2cd48d)break;else _0x2f673a['push'](_0x2f673a['shift']());}catch(_0x42c6bd){_0x2f673a['push'](_0x2f673a['shift']());}}}(a18_0xb884,0x57720));const Sequencer=require('@jest/test-sequencer')[a18_0x78dabf(0xa2)];class CustomSequencer extends Sequencer{[a18_0x78dabf(0xa6)](_0x5781f3){const _0x49a1f9=a18_0x78dabf,_0x41efd9=process[_0x49a1f9(0xa3)][_0x49a1f9(0xb1)];if(!_0x41efd9)return _0x5781f3;const _0x2de485=_0x41efd9[_0x49a1f9(0xb5)](','),_0x43978d=new Map(_0x5781f3[_0x49a1f9(0xb4)](_0x4cd8db=>_0x2de485[_0x49a1f9(0xa7)](_0x4cd8db[_0x49a1f9(0xb7)]))[_0x49a1f9(0xa9)](_0x670473=>[_0x670473[_0x49a1f9(0xb7)],_0x670473]));return _0x2de485[_0x49a1f9(0xa9)](_0xe3bf8d=>_0x43978d[_0x49a1f9(0xb6)](_0xe3bf8d))['filter'](Boolean);}}module[a18_0x78dabf(0xae)]=CustomSequencer;
@@ -1 +1 @@
1
- 'use strict';const a19_0x524a7e=a19_0x9e9c;(function(_0xeb056d,_0x50d008){const _0x50488d=a19_0x9e9c,_0xb8d11f=_0xeb056d();while(!![]){try{const _0x5a81b5=parseInt(_0x50488d(0xa9))/0x1+-parseInt(_0x50488d(0xa7))/0x2+parseInt(_0x50488d(0xaa))/0x3*(parseInt(_0x50488d(0xb2))/0x4)+-parseInt(_0x50488d(0x97))/0x5*(parseInt(_0x50488d(0xad))/0x6)+parseInt(_0x50488d(0xa1))/0x7*(-parseInt(_0x50488d(0xac))/0x8)+-parseInt(_0x50488d(0xb8))/0x9+parseInt(_0x50488d(0xb4))/0xa;if(_0x5a81b5===_0x50d008)break;else _0xb8d11f['push'](_0xb8d11f['shift']());}catch(_0xbe6f52){_0xb8d11f['push'](_0xb8d11f['shift']());}}}(a19_0x2cf9,0xf224e));const {requireModule,isBrowserstackInfra}=require(a19_0x524a7e(0xb6)),a19_0x3591e5={};a19_0x3591e5[a19_0x524a7e(0xb1)]=!![],Object[a19_0x524a7e(0xa5)](exports,a19_0x524a7e(0xa3),a19_0x3591e5),exports['default']=void 0x0;function _interopRequireDefault(_0x1624b7){const _0x50d429=a19_0x524a7e;return _0x1624b7&&_0x1624b7[_0x50d429(0xa3)]?_0x1624b7:{'default':_0x1624b7};}const JestRunner=_interopRequireDefault(requireModule(a19_0x524a7e(0xab)))[a19_0x524a7e(0xaf)];class TestRunner extends JestRunner{constructor(..._0x76bc6e){super(..._0x76bc6e);}[a19_0x524a7e(0x98)](..._0x3269ef){const _0x1cac94=a19_0x524a7e,_0x3ee2aa={'WryCL':function(_0x5b49a1){return _0x5b49a1();},'nplZL':function(_0x4e3dc4,_0x4a81aa){return _0x4e3dc4-_0x4a81aa;},'bWZWd':function(_0x5ac866,_0x216640){return _0x5ac866*_0x216640;},'SNtda':function(_0x46d4be,_0x1f9f50){return _0x46d4be===_0x1f9f50;},'sqpbq':_0x1cac94(0xa0),'ToWyY':function(_0x37835f,_0x335bd5){return _0x37835f<_0x335bd5;}};if(!_0x3ee2aa[_0x1cac94(0x9b)](isBrowserstackInfra))return super['runTests'](..._0x3269ef);const _0x213073=_0x3269ef[0x0],_0x1a2e6f=_0x3269ef[_0x3ee2aa[_0x1cac94(0xa4)](_0x3269ef[_0x1cac94(0x9a)],0x1)],_0x11f27b=_0x213073[0x0][_0x1cac94(0xa2)]['config']['testEnvironmentOptions'][_0x1cac94(0x9f)],_0x84cd3f=_0x213073[0x0]['context']['config'][_0x1cac94(0x9c)][_0x1cac94(0x9d)];_0x84cd3f&&(this['_globalConfig']=Object[_0x1cac94(0xb3)]({...this[_0x1cac94(0xa6)],'maxWorkers':_0x3ee2aa[_0x1cac94(0xb5)](_0x84cd3f,_0x11f27b['length'])}));_0x3ee2aa[_0x1cac94(0xb7)](_0x213073[0x0][_0x1cac94(0xa2)][_0x1cac94(0x99)][_0x1cac94(0x9c)][_0x1cac94(0xb0)],_0x3ee2aa['sqpbq'])&&(_0x1a2e6f&&(_0x1a2e6f['serial']=![]));const _0x58a5d9=[];for(let _0x30e5aa=0x0;_0x3ee2aa['ToWyY'](_0x30e5aa,_0x213073[_0x1cac94(0x9a)]);_0x30e5aa++){const _0xa1650a=[];_0x11f27b['forEach']((_0x235c49,_0x40909c)=>{const _0x5e1535=_0x1cac94,_0xc496d0={..._0x213073[_0x30e5aa]},_0x3209a3=_0xc496d0;_0x3209a3['context']=Object[_0x5e1535(0xb3)]({..._0x3209a3[_0x5e1535(0xa2)],'config':{..._0x3209a3[_0x5e1535(0xa2)]['config'],'capability':_0x235c49,'browserstackPlatformIndex':_0x40909c}}),_0xa1650a[_0x5e1535(0x9e)](_0x3209a3);}),_0x58a5d9['push'](..._0xa1650a);}return super[_0x1cac94(0x98)](_0x58a5d9,..._0x3269ef[_0x1cac94(0xa8)](0x1));}}function a19_0x9e9c(_0x1f80a4,_0x445716){const _0x2cf97e=a19_0x2cf9();return a19_0x9e9c=function(_0x9e9cbc,_0x1f1004){_0x9e9cbc=_0x9e9cbc-0x97;let _0x1a146d=_0x2cf97e[_0x9e9cbc];return _0x1a146d;},a19_0x9e9c(_0x1f80a4,_0x445716);}module[a19_0x524a7e(0xae)]=TestRunner;function a19_0x2cf9(){const _0x32297a=['push','capabilities','false','15463ZTEWrD','context','__esModule','nplZL','defineProperty','_globalConfig','3150582jhJDUP','slice','273296pjHlfd','3RsvrKI','jest-runner','5864tXZHTQ','16602wQrwmU','exports','default','serial__','value','7797884VxGzpp','freeze','29697630lqwyJz','bWZWd','../../../helpers/helper','SNtda','8333793VvFlub','145VyIIny','runTests','config','length','WryCL','testEnvironmentOptions','parallels__'];a19_0x2cf9=function(){return _0x32297a;};return a19_0x2cf9();}
1
+ 'use strict';const a19_0x4a435f=a19_0x3504;(function(_0x477f45,_0x11f98d){const _0x5839fd=a19_0x3504,_0x39a527=_0x477f45();while(!![]){try{const _0x444fc5=-parseInt(_0x5839fd(0x1f0))/0x1+parseInt(_0x5839fd(0x1e5))/0x2+parseInt(_0x5839fd(0x1f8))/0x3*(-parseInt(_0x5839fd(0x1ef))/0x4)+-parseInt(_0x5839fd(0x1e9))/0x5*(-parseInt(_0x5839fd(0x1df))/0x6)+parseInt(_0x5839fd(0x1f7))/0x7*(parseInt(_0x5839fd(0x1f2))/0x8)+-parseInt(_0x5839fd(0x1fa))/0x9+-parseInt(_0x5839fd(0x1eb))/0xa*(parseInt(_0x5839fd(0x1f3))/0xb);if(_0x444fc5===_0x11f98d)break;else _0x39a527['push'](_0x39a527['shift']());}catch(_0x2f3ab9){_0x39a527['push'](_0x39a527['shift']());}}}(a19_0x13a7,0x2c026));function a19_0x13a7(){const _0x356171=['__esModule','_globalConfig','231780QelWLm','context','10ZHdfap','parallels__','defineProperty','forEach','4QieyEs','141710TDKsHQ','runTests','6584liQlbR','2849374nduazY','slice','testEnvironmentOptions','length','2926kYuFnu','726135zLJXRC','exports','1140750wRAExI','capabilities','value','push','false','ilExz','config','freeze','36mcwKiW','mLGYk','Lrigu','srWaK','serial__','ZFYYG','655302uufTrP','default'];a19_0x13a7=function(){return _0x356171;};return a19_0x13a7();}const {requireModule,isBrowserstackInfra}=require('../../../helpers/helper'),a19_0x36be67={};a19_0x36be67[a19_0x4a435f(0x1fc)]=!![],Object[a19_0x4a435f(0x1ed)](exports,a19_0x4a435f(0x1e7),a19_0x36be67),exports[a19_0x4a435f(0x1e6)]=void 0x0;function a19_0x3504(_0x9303f3,_0x5ae895){const _0x13a7fb=a19_0x13a7();return a19_0x3504=function(_0x35045b,_0x399ef6){_0x35045b=_0x35045b-0x1da;let _0x386951=_0x13a7fb[_0x35045b];return _0x386951;},a19_0x3504(_0x9303f3,_0x5ae895);}function _interopRequireDefault(_0x4e7806){return _0x4e7806&&_0x4e7806['__esModule']?_0x4e7806:{'default':_0x4e7806};}const JestRunner=_interopRequireDefault(requireModule('jest-runner'))['default'];class TestRunner extends JestRunner{constructor(..._0x48fe15){super(..._0x48fe15);}[a19_0x4a435f(0x1f1)](..._0x26e51a){const _0x2b4fec=a19_0x4a435f,_0x12b9d4={'BuaKf':function(_0x30b71e){return _0x30b71e();},'ZFYYG':function(_0x1e1b26,_0xbf21f7){return _0x1e1b26-_0xbf21f7;},'srWaK':function(_0x1bb4c6,_0x5a0fee){return _0x1bb4c6*_0x5a0fee;},'ilExz':function(_0x57a2d9,_0x4c5d6c){return _0x57a2d9===_0x4c5d6c;},'Lrigu':_0x2b4fec(0x1db),'mLGYk':function(_0x4e1c70,_0x3ba51e){return _0x4e1c70<_0x3ba51e;}};if(!_0x12b9d4['BuaKf'](isBrowserstackInfra))return super['runTests'](..._0x26e51a);const _0x48cd05=_0x26e51a[0x0],_0x54566c=_0x26e51a[_0x12b9d4[_0x2b4fec(0x1e4)](_0x26e51a['length'],0x1)],_0x40f6f2=_0x48cd05[0x0][_0x2b4fec(0x1ea)][_0x2b4fec(0x1dd)][_0x2b4fec(0x1f5)][_0x2b4fec(0x1fb)],_0x216fea=_0x48cd05[0x0][_0x2b4fec(0x1ea)]['config'][_0x2b4fec(0x1f5)][_0x2b4fec(0x1ec)];_0x216fea&&(this[_0x2b4fec(0x1e8)]=Object[_0x2b4fec(0x1de)]({...this[_0x2b4fec(0x1e8)],'maxWorkers':_0x12b9d4[_0x2b4fec(0x1e2)](_0x216fea,_0x40f6f2[_0x2b4fec(0x1f6)])}));_0x12b9d4[_0x2b4fec(0x1dc)](_0x48cd05[0x0][_0x2b4fec(0x1ea)]['config'][_0x2b4fec(0x1f5)][_0x2b4fec(0x1e3)],_0x12b9d4[_0x2b4fec(0x1e1)])&&(_0x54566c&&(_0x54566c['serial']=![]));const _0x268094=[];for(let _0x42bec2=0x0;_0x12b9d4[_0x2b4fec(0x1e0)](_0x42bec2,_0x48cd05['length']);_0x42bec2++){const _0x4921cc=[];_0x40f6f2[_0x2b4fec(0x1ee)]((_0x402d55,_0x21cf4a)=>{const _0x688173=_0x2b4fec,_0x3ad56c={..._0x48cd05[_0x42bec2]},_0xa2e2fa=_0x3ad56c;_0xa2e2fa[_0x688173(0x1ea)]=Object[_0x688173(0x1de)]({..._0xa2e2fa['context'],'config':{..._0xa2e2fa[_0x688173(0x1ea)]['config'],'capability':_0x402d55,'browserstackPlatformIndex':_0x21cf4a}}),_0x4921cc['push'](_0xa2e2fa);}),_0x268094[_0x2b4fec(0x1da)](..._0x4921cc);}return super[_0x2b4fec(0x1f1)](_0x268094,..._0x26e51a[_0x2b4fec(0x1f4)](0x1));}}module[a19_0x4a435f(0x1f9)]=TestRunner;