browserstack-node-sdk 1.54.0 → 1.54.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +7 -7
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a10_0x1c415f=a10_0x4aec;function a10_0x4aec(_0xe93a87,_0x4793d9){const _0x5997e6=a10_0x5997();return a10_0x4aec=function(_0x4aec42,_0x30145a){_0x4aec42=_0x4aec42-0x9e;let _0x354e72=_0x5997e6[_0x4aec42];return _0x354e72;},a10_0x4aec(_0xe93a87,_0x4793d9);}(function(_0x88246f,_0x48a0ef){const _0x3208f7=a10_0x4aec,_0x263822=_0x88246f();while(!![]){try{const _0x2c1941=parseInt(_0x3208f7(0xb3))/0x1+parseInt(_0x3208f7(0xae))/0x2*(parseInt(_0x3208f7(0xca))/0x3)+parseInt(_0x3208f7(0xa6))/0x4+parseInt(_0x3208f7(0xbd))/0x5+-parseInt(_0x3208f7(0xb4))/0x6+-parseInt(_0x3208f7(0x9e))/0x7+parseInt(_0x3208f7(0xbf))/0x8*(-parseInt(_0x3208f7(0xab))/0x9);if(_0x2c1941===_0x48a0ef)break;else _0x263822['push'](_0x263822['shift']());}catch(_0x568651){_0x263822['push'](_0x263822['shift']());}}}(a10_0x5997,0xc7c9c));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x1c415f(0xb6)),cucumberModule=requireModule(a10_0x1c415f(0xb9),a10_0x1c415f(0xad)),logger=require('../../helpers/logger')['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x1c415f(0xbc)],After=cucumberModule['After'],configuration=process[a10_0x1c415f(0xc8)][a10_0x1c415f(0xa3)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a10_0x1c415f(0xcc)])&&(global[a10_0x1c415f(0xa2)]=!![]),global[a10_0x1c415f(0xb5)]=isTrue(config[a10_0x1c415f(0xc3)]),require(a10_0x1c415f(0xc4))['browserstackAgentV2'](config),global[a10_0x1c415f(0xb7)]=config[a10_0x1c415f(0xaa)]||{};}global[a10_0x1c415f(0xc5)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x1c415f(0xaf)];function a10_0x5997(){const _0x8aa869=['name','executeScript','QeRXD','__skipSessionName','CONFIG','failed','AoYHI','4295912xQVLRQ','Error:\x20setting\x20status\x20at\x20After:\x20','SKJYM','result','platformCaps','4728177bzkIEe','LJHyR','cucumber','4uKzbkP','setDefaultTimeout','status','passed','timeout','893453YAVxhl','7089414byKnoN','__skipSessionStatus','../../helpers/setKeepAlive','__platformCaps','__error_messages__','cucumber/lib/index.js','initQuit','debug','Before','5699815xuxzZb','\x20|\x20','8wCSMJd','bzcta','join','UqMWi','skipSessionStatus','../../index','__timeout','\x22}}','__driver','env','bstack','321645DmNNnx','then','skipSessionName','HzcgH','ypVVN','session_','5575990NKIJEe'];a10_0x5997=function(){return _0x8aa869;};return a10_0x5997();}cucumberModule['setDefaultTimeout']=_0x514876=>{const _0x45bccd={'GozHO':function(_0x2361c7,_0x3ccb72){return _0x2361c7(_0x3ccb72);}};global['__timeout']=_0x514876,_0x45bccd['GozHO'](__setDefaultTimeout,_0x514876);};const a10_0x4ecad1={};a10_0x4ecad1['name']=a10_0x1c415f(0xc9),Before(a10_0x4ecad1,function(){const _0x21fde5=a10_0x1c415f,_0x8ec443={};_0x8ec443[_0x21fde5(0xcd)]='Inside\x20browserstack\x20Before';const _0x4dd7d2=_0x8ec443;logger[_0x21fde5(0xbb)](_0x4dd7d2[_0x21fde5(0xcd)]),global['__error_messages__']=[];});const a10_0x48c775={};a10_0x48c775[a10_0x1c415f(0x9f)]=a10_0x1c415f(0xc9),a10_0x48c775[a10_0x1c415f(0xb2)]=0x2710,After(a10_0x48c775,function(_0x415d4d,_0x20a724){const _0x4e32b2=a10_0x1c415f,_0x307047={'MIMWc':function(_0x10c12d,_0x49fc33){return _0x10c12d===_0x49fc33;},'SKJYM':_0x4e32b2(0xa4),'bzcta':function(_0x3d3b1f,_0x650e52,_0x463468,_0x2ec86a){return _0x3d3b1f(_0x650e52,_0x463468,_0x2ec86a);},'QeRXD':_0x4e32b2(0xbe),'KYQnC':function(_0x54d340,_0x2bcb4c,_0x38fa59){return _0x54d340(_0x2bcb4c,_0x38fa59);},'ypVVN':_0x4e32b2(0xb1),'UqMWi':function(_0x32aadc){return _0x32aadc();},'LJHyR':function(_0x5e6f1c,_0x359ac7){return _0x5e6f1c(_0x359ac7);},'AoYHI':'Inside\x20browserstack\x20After'};logger[_0x4e32b2(0xbb)](_0x307047[_0x4e32b2(0xa5)]),new Promise(async(_0x3b82c4,_0x4e63c1)=>{const _0x3dbf99=_0x4e32b2;let _0x207f84=![];try{await global[_0x3dbf99(0xc7)][_0x3dbf99(0xcf)],_0x207f84=!![],!global[_0x3dbf99(0xa2)]&&await global['__driver'][_0x3dbf99(0xa0)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x415d4d['pickle'][_0x3dbf99(0x9f)]+_0x3dbf99(0xc6)),_0x307047['MIMWc'](_0x415d4d[_0x3dbf99(0xa9)][_0x3dbf99(0xb0)]['toLowerCase'](),_0x307047[_0x3dbf99(0xa8)])?await _0x307047[_0x3dbf99(0xc0)](markSessionStatus,global[_0x3dbf99(0xc7)],_0x307047[_0x3dbf99(0xa8)],global[_0x3dbf99(0xb8)][_0x3dbf99(0xc1)](_0x307047[_0x3dbf99(0xa1)])):await _0x307047['KYQnC'](markSessionStatus,global['__driver'],_0x307047[_0x3dbf99(0xce)]);}catch(_0x55e6c8){logger[_0x3dbf99(0xbb)](_0x3dbf99(0xa7)+_0x55e6c8);}if(_0x207f84)try{await global[_0x3dbf99(0xc7)][_0x3dbf99(0xba)](),_0x307047['UqMWi'](_0x3b82c4);}catch(_0x58a024){logger[_0x3dbf99(0xbb)]('Error:\x20quiting\x20at\x20After:\x20'+_0x58a024),_0x307047[_0x3dbf99(0xac)](_0x4e63c1,_0x58a024);}else _0x307047[_0x3dbf99(0xc2)](_0x4e63c1);})[_0x4e32b2(0xcb)](()=>_0x20a724());});
1
+ const a10_0x2900fb=a10_0xe4ec;(function(_0x315fde,_0x12b06b){const _0x18c21b=a10_0xe4ec,_0x1dec34=_0x315fde();while(!![]){try{const _0x477851=parseInt(_0x18c21b(0xeb))/0x1*(-parseInt(_0x18c21b(0xcd))/0x2)+-parseInt(_0x18c21b(0xe3))/0x3+-parseInt(_0x18c21b(0xf7))/0x4+-parseInt(_0x18c21b(0xd5))/0x5+parseInt(_0x18c21b(0xdc))/0x6+-parseInt(_0x18c21b(0xde))/0x7+parseInt(_0x18c21b(0xd7))/0x8*(parseInt(_0x18c21b(0xd1))/0x9);if(_0x477851===_0x12b06b)break;else _0x1dec34['push'](_0x1dec34['shift']());}catch(_0x5ddf99){_0x1dec34['push'](_0x1dec34['shift']());}}}(a10_0x489b,0x33d6f));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x2900fb(0xd6)),cucumberModule=requireModule(a10_0x2900fb(0xf1),a10_0x2900fb(0xd4)),logger=require(a10_0x2900fb(0xc9))[a10_0x2900fb(0xe7)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x2900fb(0xe4)],After=cucumberModule[a10_0x2900fb(0xdf)],configuration=process[a10_0x2900fb(0xed)][a10_0x2900fb(0xd8)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a10_0x2900fb(0xef)])&&(global[a10_0x2900fb(0xc7)]=!![]),global[a10_0x2900fb(0xcb)]=isTrue(config['skipSessionStatus']),require(a10_0x2900fb(0xd2))['browserstackAgentV2'](config),global['__platformCaps']=config['platformCaps']||{};}global[a10_0x2900fb(0xf0)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x2900fb(0xe5)];cucumberModule[a10_0x2900fb(0xe5)]=_0x33436c=>{const _0x332297=a10_0x2900fb,_0x2ab37a={'OcmXS':function(_0x564ad2,_0xa1ba4a){return _0x564ad2(_0xa1ba4a);}};global[_0x332297(0xf0)]=_0x33436c,_0x2ab37a[_0x332297(0xf5)](__setDefaultTimeout,_0x33436c);};const a10_0x3406df={};a10_0x3406df[a10_0x2900fb(0xe8)]=a10_0x2900fb(0xce),Before(a10_0x3406df,function(){const _0x445731=a10_0x2900fb,_0x2550b0={};_0x2550b0[_0x445731(0xc8)]='Inside\x20browserstack\x20Before';const _0x5995e1=_0x2550b0;logger[_0x445731(0xf8)](_0x5995e1[_0x445731(0xc8)]),global['__error_messages__']=[];});function a10_0xe4ec(_0xe9e981,_0x3398fd){const _0x489b3a=a10_0x489b();return a10_0xe4ec=function(_0xe4ec23,_0x38a33f){_0xe4ec23=_0xe4ec23-0xc5;let _0xb50f2d=_0x489b3a[_0xe4ec23];return _0xb50f2d;},a10_0xe4ec(_0xe9e981,_0x3398fd);}const a10_0x276cc8={};a10_0x276cc8[a10_0x2900fb(0xe8)]='bstack',a10_0x276cc8[a10_0x2900fb(0xdd)]=0x2710,After(a10_0x276cc8,function(_0x4963a1,_0x286df3){const _0x40d680=a10_0x2900fb,_0x41ca0e={'nUbdj':function(_0x2e37e7,_0x244b80){return _0x2e37e7===_0x244b80;},'fhtsL':'failed','bPaLT':function(_0x164b90,_0x47b5ea,_0x410723,_0x5792ee){return _0x164b90(_0x47b5ea,_0x410723,_0x5792ee);},'xOuDU':_0x40d680(0xee),'rmiAV':function(_0x405cf2,_0x1004de,_0x1f917b){return _0x405cf2(_0x1004de,_0x1f917b);},'cBDUZ':_0x40d680(0xe9),'YQOmD':function(_0x4e0d4c){return _0x4e0d4c();},'AEdyz':function(_0x39d3b4,_0x3789ee){return _0x39d3b4(_0x3789ee);},'gXnQE':function(_0xdca671){return _0xdca671();},'rBXoT':_0x40d680(0xe6)};logger[_0x40d680(0xf8)](_0x41ca0e[_0x40d680(0xe1)]),new Promise(async(_0x48f6c0,_0x118d19)=>{const _0x25fa6f=_0x40d680;let _0x1beacb=![];try{await global[_0x25fa6f(0xd0)][_0x25fa6f(0xdb)],_0x1beacb=!![],!global['__skipSessionName']&&await global[_0x25fa6f(0xd0)][_0x25fa6f(0xda)](_0x25fa6f(0xec)+_0x4963a1[_0x25fa6f(0xd9)][_0x25fa6f(0xe8)]+_0x25fa6f(0xca)),_0x41ca0e[_0x25fa6f(0xc5)](_0x4963a1['result'][_0x25fa6f(0xf6)]['toLowerCase'](),_0x41ca0e[_0x25fa6f(0xcf)])?await _0x41ca0e['bPaLT'](markSessionStatus,global[_0x25fa6f(0xd0)],_0x41ca0e['fhtsL'],global['__error_messages__']['join'](_0x41ca0e[_0x25fa6f(0xf2)])):await _0x41ca0e[_0x25fa6f(0xcc)](markSessionStatus,global[_0x25fa6f(0xd0)],_0x41ca0e[_0x25fa6f(0xf3)]);}catch(_0x4cc7a5){logger[_0x25fa6f(0xf8)](_0x25fa6f(0xc6)+_0x4cc7a5);}if(_0x1beacb)try{await global[_0x25fa6f(0xd0)][_0x25fa6f(0xe0)](),_0x41ca0e[_0x25fa6f(0xe2)](_0x48f6c0);}catch(_0x58a52a){logger[_0x25fa6f(0xf8)]('Error:\x20quiting\x20at\x20After:\x20'+_0x58a52a),_0x41ca0e[_0x25fa6f(0xf4)](_0x118d19,_0x58a52a);}else _0x41ca0e[_0x25fa6f(0xea)](_0x118d19);})[_0x40d680(0xd3)](()=>_0x286df3());});function a10_0x489b(){const _0xd40cca=['Error:\x20setting\x20status\x20at\x20After:\x20','__skipSessionName','Rmlve','../../helpers/logger','\x22}}','__skipSessionStatus','rmiAV','525794IQBLOi','bstack','fhtsL','__driver','6920829FwErVr','../../index','then','cucumber','291860FiWOJi','../../helpers/setKeepAlive','8bEXmgQ','CONFIG','pickle','executeScript','session_','2150130xLKnMo','timeout','2298205JddIst','After','initQuit','rBXoT','YQOmD','65199XSNuDH','Before','setDefaultTimeout','Inside\x20browserstack\x20After','winstonLogger','name','passed','gXnQE','1rFKVlN','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','env','\x20|\x20','skipSessionName','__timeout','cucumber/lib/index.js','xOuDU','cBDUZ','AEdyz','OcmXS','status','974736YCsClS','debug','nUbdj'];a10_0x489b=function(){return _0xd40cca;};return a10_0x489b();}
@@ -1 +1 @@
1
- const a11_0x36249c=a11_0x1001;function a11_0x106e(){const _0x4af956=['cucumber/lib/index.js','8TgdbAn','9kFkOJK','254694NtiMSf','502kRqFxn','155HOMAob','2555870duQCsO','150796sDbkCC','@cucumber/cucumber/lib/index.js','BSTACK_DELTA','3421243rjiMOk','114829vOOBdX','@cucumber/cucumber','cucumber','2998938aVAIPM','636CyWTBq','__timeout','3618cIvRYN','../../helpers/helper'];a11_0x106e=function(){return _0x4af956;};return a11_0x106e();}(function(_0x5771b3,_0x4a7a16){const _0x4defc2=a11_0x1001,_0x1bedb2=_0x5771b3();while(!![]){try{const _0x42efa3=parseInt(_0x4defc2(0x7b))/0x1+parseInt(_0x4defc2(0x74))/0x2*(parseInt(_0x4defc2(0x6e))/0x3)+-parseInt(_0x4defc2(0x77))/0x4*(parseInt(_0x4defc2(0x75))/0x5)+-parseInt(_0x4defc2(0x7e))/0x6+-parseInt(_0x4defc2(0x7a))/0x7*(-parseInt(_0x4defc2(0x71))/0x8)+parseInt(_0x4defc2(0x72))/0x9*(parseInt(_0x4defc2(0x76))/0xa)+parseInt(_0x4defc2(0x73))/0xb*(parseInt(_0x4defc2(0x6c))/0xc);if(_0x42efa3===_0x4a7a16)break;else _0x1bedb2['push'](_0x1bedb2['shift']());}catch(_0x537407){_0x1bedb2['push'](_0x1bedb2['shift']());}}}(a11_0x106e,0xafe9d));const {requireModule}=require(a11_0x36249c(0x6f)),constants=require('../utils/constants');let cucumberModule=null;try{cucumberModule=requireModule(a11_0x36249c(0x78),a11_0x36249c(0x7c));}catch(a11_0x45079e){cucumberModule=requireModule(a11_0x36249c(0x70),a11_0x36249c(0x7d));}function a11_0x1001(_0x1a7a0a,_0x22ffa9){const _0x106e48=a11_0x106e();return a11_0x1001=function(_0x10015f,_0x5c4741){_0x10015f=_0x10015f-0x6c;let _0x3b3e33=_0x106e48[_0x10015f];return _0x3b3e33;},a11_0x1001(_0x1a7a0a,_0x22ffa9);}const userValue=global[a11_0x36249c(0x6d)]||0x0;(userValue===0x0||userValue<constants[a11_0x36249c(0x79)])&&cucumberModule['setDefaultTimeout'](constants['BSTACK_DELTA']);
1
+ function a11_0x2476(_0x3d9f28,_0x13aced){const _0x8ccbb3=a11_0x8ccb();return a11_0x2476=function(_0x247600,_0x219c77){_0x247600=_0x247600-0x1be;let _0xadddba=_0x8ccbb3[_0x247600];return _0xadddba;},a11_0x2476(_0x3d9f28,_0x13aced);}const a11_0x56ef23=a11_0x2476;(function(_0x52e484,_0x7ac3ac){const _0x1adfb7=a11_0x2476,_0x4b5d88=_0x52e484();while(!![]){try{const _0x42b64d=parseInt(_0x1adfb7(0x1c7))/0x1+-parseInt(_0x1adfb7(0x1bf))/0x2*(-parseInt(_0x1adfb7(0x1c1))/0x3)+parseInt(_0x1adfb7(0x1ca))/0x4+-parseInt(_0x1adfb7(0x1c0))/0x5+-parseInt(_0x1adfb7(0x1c9))/0x6+parseInt(_0x1adfb7(0x1be))/0x7*(parseInt(_0x1adfb7(0x1c4))/0x8)+-parseInt(_0x1adfb7(0x1c8))/0x9;if(_0x42b64d===_0x7ac3ac)break;else _0x4b5d88['push'](_0x4b5d88['shift']());}catch(_0x16e9c7){_0x4b5d88['push'](_0x4b5d88['shift']());}}}(a11_0x8ccb,0xd8bab));const {requireModule}=require('../../helpers/helper'),constants=require(a11_0x56ef23(0x1cb));let cucumberModule=null;try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js','@cucumber/cucumber');}catch(a11_0x2cb20b){cucumberModule=requireModule(a11_0x56ef23(0x1c2),a11_0x56ef23(0x1c3));}const userValue=global['__timeout']||0x0;(userValue===0x0||userValue<constants['BSTACK_DELTA'])&&cucumberModule[a11_0x56ef23(0x1c6)](constants[a11_0x56ef23(0x1c5)]);function a11_0x8ccb(){const _0x3bbd19=['7905500ZXnDUL','474WWpeLb','cucumber/lib/index.js','cucumber','16nzyPAR','BSTACK_DELTA','setDefaultTimeout','738031OexjPm','10254393rDXLZX','1548768Uzifvc','4274892BiCISF','../utils/constants','5549509XgfOeX','6000QjLfAn'];a11_0x8ccb=function(){return _0x3bbd19;};return a11_0x8ccb();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a12_0x2666bb=a12_0x3638;(function(_0x87dc0b,_0x1b927f){const _0x4714bd=a12_0x3638,_0x58e87c=_0x87dc0b();while(!![]){try{const _0xb0656f=parseInt(_0x4714bd(0x160))/0x1*(-parseInt(_0x4714bd(0x153))/0x2)+parseInt(_0x4714bd(0x172))/0x3+-parseInt(_0x4714bd(0x174))/0x4*(-parseInt(_0x4714bd(0x15e))/0x5)+parseInt(_0x4714bd(0x16a))/0x6*(parseInt(_0x4714bd(0x155))/0x7)+-parseInt(_0x4714bd(0x164))/0x8+parseInt(_0x4714bd(0x163))/0x9*(-parseInt(_0x4714bd(0x177))/0xa)+-parseInt(_0x4714bd(0x17c))/0xb*(parseInt(_0x4714bd(0x15c))/0xc);if(_0xb0656f===_0x1b927f)break;else _0x58e87c['push'](_0x58e87c['shift']());}catch(_0x2df02b){_0x58e87c['push'](_0x58e87c['shift']());}}}(a12_0x5913,0x5340b));const {default:BrowserStackSetup}=require(a12_0x2666bb(0x180)),logger=require(a12_0x2666bb(0x181))[a12_0x2666bb(0x191)],{URL}=require(a12_0x2666bb(0x18d)),helper=require(a12_0x2666bb(0x16d)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x566ade){const _0x2bf0d4=a12_0x2666bb;return _0x566ade[_0x2bf0d4(0x16c)](',')[_0x2bf0d4(0x17d)](_0x3ed7cc=>{const _0x4cd899=_0x2bf0d4;try{new URL(_0x3ed7cc[_0x4cd899(0x189)]());}catch(_0x32b5ff){return![];}return!![];});},parseOnPremHosts=function(_0x22cd26){const _0x1f183e=a12_0x2666bb,_0x149c33={};_0x149c33['YAsDP']=function(_0x62fead,_0x4137c4){return _0x62fead===_0x4137c4;},_0x149c33[_0x1f183e(0x168)]='https:',_0x149c33[_0x1f183e(0x14e)]=_0x1f183e(0x166),_0x149c33[_0x1f183e(0x158)]='https';const _0x51e53e=_0x149c33;return _0x22cd26[_0x1f183e(0x16c)](',')['map'](_0x26015e=>{const _0xacbe11=_0x1f183e,_0x1c2c92=new URL(_0x26015e['trim']()),_0xe207b7=_0x1c2c92[_0xacbe11(0x175)],_0x3e2d51=_0x1c2c92[_0xacbe11(0x152)]||(_0x51e53e[_0xacbe11(0x159)](_0x1c2c92['protocol'],_0x51e53e[_0xacbe11(0x168)])?_0x51e53e['XrxNe']:'80'),_0x4a0b06=_0x1c2c92['protocol'][_0xacbe11(0x18e)](':',''),_0x2c36cd=_0x51e53e['YAsDP'](_0x4a0b06,_0x51e53e[_0xacbe11(0x158)])?0x1:0x0;return _0xe207b7+','+_0x3e2d51+','+_0x2c36cd;});},connectCommandBuilder=function(_0x302b8f){const _0x54b791=a12_0x2666bb,_0xee9df0={};_0xee9df0[_0x54b791(0x17a)]=_0x54b791(0x183);const _0x2bd44d=_0xee9df0,_0x10d4c9={};_0x10d4c9[_0x54b791(0x185)]=HELP_MESSAGES[_0x54b791(0x179)][_0x54b791(0x16b)],_0x10d4c9['type']=_0x2bd44d[_0x54b791(0x17a)];const _0x41cb05={};_0x41cb05[_0x54b791(0x185)]=HELP_MESSAGES[_0x54b791(0x179)][_0x54b791(0x18c)],_0x41cb05[_0x54b791(0x161)]=_0x2bd44d[_0x54b791(0x17a)],_0x41cb05[_0x54b791(0x192)]=!![];const _0xeb83f9={};return _0xeb83f9[_0x54b791(0x14b)]=_0x10d4c9,_0xeb83f9[_0x54b791(0x18c)]=_0x41cb05,_0x302b8f[_0x54b791(0x179)](_0xeb83f9);},connectCommandHandler=async function(_0x56036b){const _0x428fc2=a12_0x2666bb,_0x4d55c3={'vaqbB':_0x428fc2(0x17b),'DkCjJ':function(_0x7ad86d,_0x191cc0){return _0x7ad86d===_0x191cc0;},'wivLQ':_0x428fc2(0x182),'dBIZC':_0x428fc2(0x171),'JwzHD':function(_0x21c10b,_0x14053e){return _0x21c10b===_0x14053e;},'WETXv':_0x428fc2(0x170),'avcnZ':function(_0x5e5e1a,_0x4747d0){return _0x5e5e1a(_0x4747d0);},'eDkJn':'Hosts\x20not\x20valid','ipkba':function(_0x155c88,_0x1e2049){return _0x155c88(_0x1e2049);},'Hgvop':_0x428fc2(0x14f),'fKiwh':_0x428fc2(0x188),'oELZc':_0x428fc2(0x15a)};try{const _0xbaccb0=new BrowserStackSetup(_0x56036b,_0x4d55c3['vaqbB']);_0x56036b['bstackAccesskey']&&(_0xbaccb0['config'][_0x428fc2(0x186)]=_0x56036b[_0x428fc2(0x154)]);if(_0x4d55c3[_0x428fc2(0x165)](typeof _0xbaccb0[_0x428fc2(0x173)][_0x428fc2(0x186)],_0x4d55c3['wivLQ'])){logger[_0x428fc2(0x14d)](_0x4d55c3[_0x428fc2(0x190)]);throw new Error(ERROR_MESSAGES[_0x428fc2(0x16b)][_0x428fc2(0x184)]);}const _0x4c85a3=_0x56036b['hosts'];if(_0x4d55c3[_0x428fc2(0x193)](typeof _0x4c85a3,_0x4d55c3[_0x428fc2(0x18f)])){logger[_0x428fc2(0x14d)](_0x4d55c3[_0x428fc2(0x18b)]);throw new Error(ERROR_MESSAGES[_0x428fc2(0x18c)]['missing']);}if(!_0x4d55c3[_0x428fc2(0x18a)](validHosts,_0x4c85a3)){logger[_0x428fc2(0x14d)](_0x4d55c3['eDkJn']);throw new Error(ERROR_MESSAGES[_0x428fc2(0x18c)][_0x428fc2(0x15f)]);}const _0x3144ef=_0x4d55c3[_0x428fc2(0x169)](parseOnPremHosts,_0x4c85a3);_0xbaccb0[_0x428fc2(0x173)][_0x428fc2(0x149)]=!![],_0xbaccb0[_0x428fc2(0x173)][_0x428fc2(0x17f)]['localIdentifier']=_0x4d55c3['Hgvop'],_0xbaccb0['config']['browserStackLocalOptions'][_0x428fc2(0x162)]=_0x3144ef[_0x428fc2(0x14c)](','),helper[_0x428fc2(0x15d)](_0xbaccb0[_0x428fc2(0x173)]),await _0xbaccb0[_0x428fc2(0x176)](),logger[_0x428fc2(0x14a)](_0x4d55c3[_0x428fc2(0x15b)]);}catch(_0x4e8416){logger[_0x428fc2(0x14d)](_0x4d55c3[_0x428fc2(0x151)]);throw new Error(_0x4e8416[_0x428fc2(0x150)]());}};function run(_0x22a175){const _0x2c5252=a12_0x2666bb,_0x42e976={};_0x42e976['vBAmn']=_0x2c5252(0x16e),_0x42e976['QDZxz']='help';const _0x2ee9e4=_0x42e976;_0x22a175['usage'](HELP_MESSAGES[_0x2c5252(0x167)][_0x2c5252(0x178)])[_0x2c5252(0x167)](_0x2ee9e4[_0x2c5252(0x156)],HELP_MESSAGES[_0x2c5252(0x167)][_0x2c5252(0x16e)],connectCommandBuilder,connectCommandHandler)['demandCommand']()['help'](_0x2ee9e4[_0x2c5252(0x16f)])[_0x2c5252(0x187)](HELP_MESSAGES[_0x2c5252(0x167)][_0x2c5252(0x157)]);}function a12_0x3638(_0x1f455,_0x44cb8){const _0x591395=a12_0x5913();return a12_0x3638=function(_0x3638ff,_0x2c633c){_0x3638ff=_0x3638ff-0x149;let _0x4e9b53=_0x591395[_0x3638ff];return _0x4e9b53;},a12_0x3638(_0x1f455,_0x44cb8);}function a12_0x5913(){const _0xc2d87d=['4580032kGHfnK','DkCjJ','443','command','FohQz','ipkba','1146954ovCUtU','bstackAccessKey','split','../../helpers/helper','connect','QDZxz','Integration\x20hosts\x20missing.','BrowserStack\x20access\x20key\x20missing.','1877490DQiBGD','config','43564nMccFX','hostname','setupBrowserstackLocal','20ALqoVA','root','options','ClFdP','integrations','2843203yJpILq','every','exports','browserStackLocalOptions','../../helpers/BrowserStackSetup','../../helpers/logger','undefined','string','missing','describe','accessKey','epilogue','Connection\x20established\x20successfully.','trim','avcnZ','WETXv','hosts','url','replace','wivLQ','dBIZC','winstonLogger','demandOption','JwzHD','browserstackLocal','info','bstack-accesskey','join','error','XrxNe','integrations-repeater','toString','oELZc','port','6sXhSsP','bstackAccesskey','21uyWTeQ','vBAmn','footer','HDwda','YAsDP','Failed\x20to\x20establish\x20connection.','fKiwh','12ydiZpQ','setProxySettings','215iDGyIb','invalid','246GzjImd','type','only','2227059XGHiph'];a12_0x5913=function(){return _0xc2d87d;};return a12_0x5913();}module[a12_0x2666bb(0x17e)]=run;
2
+ 'use strict';(function(_0x318b5c,_0x179d55){const _0x434f74=a12_0x519d,_0x54cd96=_0x318b5c();while(!![]){try{const _0x95f14e=-parseInt(_0x434f74(0x133))/0x1*(parseInt(_0x434f74(0x137))/0x2)+-parseInt(_0x434f74(0x16b))/0x3*(parseInt(_0x434f74(0x15c))/0x4)+parseInt(_0x434f74(0x160))/0x5+-parseInt(_0x434f74(0x13a))/0x6*(-parseInt(_0x434f74(0x16c))/0x7)+parseInt(_0x434f74(0x164))/0x8+parseInt(_0x434f74(0x153))/0x9*(-parseInt(_0x434f74(0x161))/0xa)+-parseInt(_0x434f74(0x147))/0xb*(-parseInt(_0x434f74(0x135))/0xc);if(_0x95f14e===_0x179d55)break;else _0x54cd96['push'](_0x54cd96['shift']());}catch(_0x17830b){_0x54cd96['push'](_0x54cd96['shift']());}}}(a12_0x490d,0x86863));function a12_0x519d(_0x273997,_0x1eb806){const _0x490d5e=a12_0x490d();return a12_0x519d=function(_0x519d53,_0x47900f){_0x519d53=_0x519d53-0x12f;let _0xa290a3=_0x490d5e[_0x519d53];return _0xa290a3;},a12_0x519d(_0x273997,_0x1eb806);}const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require('../../helpers/logger')['winstonLogger'],{URL}=require('url'),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x5e953d){const _0x2efdc7=a12_0x519d;return _0x5e953d['split'](',')[_0x2efdc7(0x144)](_0x2484fd=>{const _0x123a4e=_0x2efdc7;try{new URL(_0x2484fd[_0x123a4e(0x13b)]());}catch(_0x8656b1){return![];}return!![];});},parseOnPremHosts=function(_0x450fb1){const _0x35ec26=a12_0x519d,_0x11786d={};_0x11786d['qTuLi']=function(_0x43b3dc,_0x3fcd0b){return _0x43b3dc===_0x3fcd0b;},_0x11786d[_0x35ec26(0x154)]=_0x35ec26(0x15a),_0x11786d[_0x35ec26(0x16a)]=_0x35ec26(0x16d),_0x11786d['RPCze']=function(_0x5e1059,_0x5a543e){return _0x5e1059===_0x5a543e;},_0x11786d['VZqTj']=_0x35ec26(0x151);const _0x149bc3=_0x11786d;return _0x450fb1[_0x35ec26(0x140)](',')['map'](_0x591c9f=>{const _0xa83d29=_0x35ec26,_0x2fc067=new URL(_0x591c9f[_0xa83d29(0x13b)]()),_0x3e025d=_0x2fc067['hostname'],_0x179319=_0x2fc067['port']||(_0x149bc3[_0xa83d29(0x150)](_0x2fc067['protocol'],_0x149bc3[_0xa83d29(0x154)])?_0x149bc3[_0xa83d29(0x16a)]:'80'),_0x57dabc=_0x2fc067[_0xa83d29(0x163)][_0xa83d29(0x15d)](':',''),_0x2e3f8f=_0x149bc3[_0xa83d29(0x162)](_0x57dabc,_0x149bc3[_0xa83d29(0x145)])?0x1:0x0;return _0x3e025d+','+_0x179319+','+_0x2e3f8f;});},connectCommandBuilder=function(_0xb267d7){const _0x3d2f40=a12_0x519d,_0x57fb0c={};_0x57fb0c[_0x3d2f40(0x132)]=_0x3d2f40(0x14c);const _0x32b611=_0x57fb0c,_0xfdf6a1={};_0xfdf6a1[_0x3d2f40(0x139)]=HELP_MESSAGES[_0x3d2f40(0x12f)]['bstackAccessKey'],_0xfdf6a1[_0x3d2f40(0x168)]=_0x32b611[_0x3d2f40(0x132)];const _0x16feb6={};_0x16feb6[_0x3d2f40(0x139)]=HELP_MESSAGES['options'][_0x3d2f40(0x142)],_0x16feb6['type']=_0x32b611[_0x3d2f40(0x132)],_0x16feb6['demandOption']=!![];const _0x2db289={};return _0x2db289['bstack-accesskey']=_0xfdf6a1,_0x2db289[_0x3d2f40(0x142)]=_0x16feb6,_0xb267d7[_0x3d2f40(0x12f)](_0x2db289);},connectCommandHandler=async function(_0x59a7a0){const _0x15c2c6=a12_0x519d,_0x1158d8={'ljKAR':'integrations','ffTtK':function(_0x35e35f,_0x505540){return _0x35e35f===_0x505540;},'LuIzI':_0x15c2c6(0x148),'VNLem':_0x15c2c6(0x130),'xdezk':_0x15c2c6(0x14b),'PyuQq':function(_0x16a39b,_0x5df04c){return _0x16a39b(_0x5df04c);},'CnbqF':'Hosts\x20not\x20valid','Qyrce':_0x15c2c6(0x13c),'BwiZN':_0x15c2c6(0x143),'thEsE':_0x15c2c6(0x13d)};try{const _0xc4191=new BrowserStackSetup(_0x59a7a0,_0x1158d8['ljKAR']);_0x59a7a0['bstackAccesskey']&&(_0xc4191[_0x15c2c6(0x167)][_0x15c2c6(0x136)]=_0x59a7a0['bstackAccesskey']);if(_0x1158d8[_0x15c2c6(0x15f)](typeof _0xc4191[_0x15c2c6(0x167)]['accessKey'],_0x1158d8[_0x15c2c6(0x159)])){logger[_0x15c2c6(0x146)](_0x1158d8[_0x15c2c6(0x14d)]);throw new Error(ERROR_MESSAGES[_0x15c2c6(0x13e)][_0x15c2c6(0x155)]);}const _0x4fd0a4=_0x59a7a0[_0x15c2c6(0x142)];if(_0x1158d8[_0x15c2c6(0x15f)](typeof _0x4fd0a4,_0x1158d8[_0x15c2c6(0x159)])){logger['error'](_0x1158d8[_0x15c2c6(0x149)]);throw new Error(ERROR_MESSAGES[_0x15c2c6(0x142)][_0x15c2c6(0x155)]);}if(!_0x1158d8['PyuQq'](validHosts,_0x4fd0a4)){logger[_0x15c2c6(0x146)](_0x1158d8[_0x15c2c6(0x14e)]);throw new Error(ERROR_MESSAGES['hosts']['invalid']);}const _0x48017d=_0x1158d8[_0x15c2c6(0x156)](parseOnPremHosts,_0x4fd0a4);_0xc4191[_0x15c2c6(0x167)][_0x15c2c6(0x16f)]=!![],_0xc4191[_0x15c2c6(0x167)][_0x15c2c6(0x15b)][_0x15c2c6(0x165)]=_0x1158d8['Qyrce'],_0xc4191[_0x15c2c6(0x167)][_0x15c2c6(0x15b)]['only']=_0x48017d[_0x15c2c6(0x157)](','),helper['setProxySettings'](_0xc4191[_0x15c2c6(0x167)]),await _0xc4191[_0x15c2c6(0x15e)](),logger[_0x15c2c6(0x141)](_0x1158d8['BwiZN']);}catch(_0x2e5fff){logger[_0x15c2c6(0x146)](_0x1158d8[_0x15c2c6(0x152)]);throw new Error(_0x2e5fff[_0x15c2c6(0x13f)]());}};function a12_0x490d(){const _0x118d46=['CnbqF','help','qTuLi','https','thEsE','3861117RBJWla','AsomP','missing','PyuQq','join','usage','LuIzI','https:','browserStackLocalOptions','7960RQdGzH','replace','setupBrowserstackLocal','ffTtK','2572740uMejkQ','10ZnRxED','RPCze','protocol','3589952HQGZVT','localIdentifier','connect','config','type','command','hGDKL','1641ugXsWh','7TgkhGm','443','demandCommand','browserstackLocal','options','BrowserStack\x20access\x20key\x20missing.','root','lPLQj','2dAQknT','qIoLW','132NSPNXk','accessKey','615986osKBYj','epilogue','describe','3997758aRLauJ','trim','integrations-repeater','Failed\x20to\x20establish\x20connection.','bstackAccessKey','toString','split','info','hosts','Connection\x20established\x20successfully.','every','VZqTj','error','1054955nkPRBo','undefined','xdezk','lpdHs','Integration\x20hosts\x20missing.','string','VNLem'];a12_0x490d=function(){return _0x118d46;};return a12_0x490d();}function run(_0x514f7d){const _0x38205b=a12_0x519d,_0x357b4d={};_0x357b4d[_0x38205b(0x134)]=_0x38205b(0x166),_0x357b4d[_0x38205b(0x14a)]='help';const _0x5bda3d=_0x357b4d;_0x514f7d[_0x38205b(0x158)](HELP_MESSAGES[_0x38205b(0x169)][_0x38205b(0x131)])[_0x38205b(0x169)](_0x5bda3d['qIoLW'],HELP_MESSAGES[_0x38205b(0x169)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x38205b(0x16e)]()[_0x38205b(0x14f)](_0x5bda3d['lpdHs'])[_0x38205b(0x138)](HELP_MESSAGES['command']['footer']);}module['exports']=run;
@@ -1 +1 @@
1
- var a13_0x5398e2=a13_0x5dcf;(function(_0x1db778,_0x16054f){var _0x2c2c36=a13_0x5dcf,_0x4f7653=_0x1db778();while(!![]){try{var _0x5214c3=parseInt(_0x2c2c36(0xdb))/0x1+parseInt(_0x2c2c36(0xd3))/0x2*(parseInt(_0x2c2c36(0xcb))/0x3)+-parseInt(_0x2c2c36(0xc3))/0x4+parseInt(_0x2c2c36(0xce))/0x5*(parseInt(_0x2c2c36(0xd4))/0x6)+-parseInt(_0x2c2c36(0xd6))/0x7*(-parseInt(_0x2c2c36(0xca))/0x8)+-parseInt(_0x2c2c36(0xd0))/0x9+parseInt(_0x2c2c36(0xd5))/0xa*(-parseInt(_0x2c2c36(0xc9))/0xb);if(_0x5214c3===_0x16054f)break;else _0x4f7653['push'](_0x4f7653['shift']());}catch(_0x5b232a){_0x4f7653['push'](_0x4f7653['shift']());}}}(a13_0x3aca,0xefc54));var a13_0x4cec9f={};a13_0x4cec9f['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x4cec9f[a13_0x5398e2(0xcf)]=a13_0x5398e2(0xc7);var a13_0x5a22f1={};a13_0x5a22f1['root']=a13_0x5398e2(0xd7),a13_0x5a22f1[a13_0x5398e2(0xd2)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a13_0x5a22f1[a13_0x5398e2(0xc5)]=a13_0x5398e2(0xc6);var a13_0x3a4a72={};a13_0x3a4a72['options']=a13_0x4cec9f,a13_0x3a4a72[a13_0x5398e2(0xcd)]=a13_0x5a22f1,exports[a13_0x5398e2(0xcc)]=a13_0x3a4a72;var a13_0x539bb3={};a13_0x539bb3[a13_0x5398e2(0xd9)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a13_0x1c87f2={};function a13_0x5dcf(_0x4fe3c0,_0x5d1527){var _0x3aca65=a13_0x3aca();return a13_0x5dcf=function(_0x5dcfdd,_0x36e4a7){_0x5dcfdd=_0x5dcfdd-0xc3;var _0x2d3818=_0x3aca65[_0x5dcfdd];return _0x2d3818;},a13_0x5dcf(_0x4fe3c0,_0x5d1527);}a13_0x1c87f2[a13_0x5398e2(0xd9)]=a13_0x5398e2(0xc8),a13_0x1c87f2[a13_0x5398e2(0xda)]=a13_0x5398e2(0xd1);function a13_0x3aca(){var _0x4a1ad5=['395vNHGpC','hosts','8762598BTHgjd','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.','connect','1345574qhOcZK','89058dxjHma','20RQWVnW','7maQoIM','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','bstackAccessKey','missing','invalid','1460642LCQsqP','1998912iEMyiA','ERROR_MESSAGES','footer','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','11759957rfUyRK','10300784AKubVA','3vGrYsD','HELP_MESSAGES','command'];a13_0x3aca=function(){return _0x4a1ad5;};return a13_0x3aca();}var a13_0x3b864e={};a13_0x3b864e[a13_0x5398e2(0xd8)]=a13_0x539bb3,a13_0x3b864e['hosts']=a13_0x1c87f2,exports[a13_0x5398e2(0xc4)]=a13_0x3b864e;
1
+ function a13_0x55fd(_0x58ce63,_0x3f9b2f){var _0x169bfc=a13_0x169b();return a13_0x55fd=function(_0x55fdf4,_0x2a4c38){_0x55fdf4=_0x55fdf4-0xde;var _0x2aaa86=_0x169bfc[_0x55fdf4];return _0x2aaa86;},a13_0x55fd(_0x58ce63,_0x3f9b2f);}var a13_0x4be00b=a13_0x55fd;(function(_0x5460c2,_0x24689f){var _0xb31fc1=a13_0x55fd,_0x2b484d=_0x5460c2();while(!![]){try{var _0x20d133=parseInt(_0xb31fc1(0xe9))/0x1+-parseInt(_0xb31fc1(0xef))/0x2*(parseInt(_0xb31fc1(0xf6))/0x3)+parseInt(_0xb31fc1(0xe5))/0x4*(parseInt(_0xb31fc1(0xf4))/0x5)+parseInt(_0xb31fc1(0xe0))/0x6*(parseInt(_0xb31fc1(0xf3))/0x7)+parseInt(_0xb31fc1(0xf2))/0x8*(parseInt(_0xb31fc1(0xf0))/0x9)+-parseInt(_0xb31fc1(0xf9))/0xa*(parseInt(_0xb31fc1(0xeb))/0xb)+-parseInt(_0xb31fc1(0xe4))/0xc;if(_0x20d133===_0x24689f)break;else _0x2b484d['push'](_0x2b484d['shift']());}catch(_0x3afe95){_0x2b484d['push'](_0x2b484d['shift']());}}}(a13_0x169b,0xad062));var a13_0x5f2383={};a13_0x5f2383[a13_0x4be00b(0xe8)]=a13_0x4be00b(0xe3),a13_0x5f2383[a13_0x4be00b(0xf8)]=a13_0x4be00b(0xec);var a13_0x1e9fd2={};a13_0x1e9fd2['root']='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0x1e9fd2[a13_0x4be00b(0xe6)]=a13_0x4be00b(0xee),a13_0x1e9fd2[a13_0x4be00b(0xe1)]=a13_0x4be00b(0xf7);var a13_0xa818b9={};a13_0xa818b9[a13_0x4be00b(0xea)]=a13_0x5f2383,a13_0xa818b9[a13_0x4be00b(0xf1)]=a13_0x1e9fd2,exports[a13_0x4be00b(0xf5)]=a13_0xa818b9;var a13_0x345187={};a13_0x345187[a13_0x4be00b(0xdf)]=a13_0x4be00b(0xed);function a13_0x169b(){var _0x5e07e3=['BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','2932ZKKRLu','36KQDWCW','command','2039432Aqldqb','2007061ZsvMnt','4168975FApjnN','HELP_MESSAGES','2649Hkugoh','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','hosts','986220KtNXSk','invalid','missing','24FtUhXV','footer','ERROR_MESSAGES','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','23899416vykjuD','4bBRXRh','connect','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','bstackAccessKey','1388887kPsKlL','options','44QgrWwM','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.'];a13_0x169b=function(){return _0x5e07e3;};return a13_0x169b();}var a13_0x5cd235={};a13_0x5cd235[a13_0x4be00b(0xdf)]=a13_0x4be00b(0xe7),a13_0x5cd235[a13_0x4be00b(0xde)]='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_0x2faba8={};a13_0x2faba8[a13_0x4be00b(0xe8)]=a13_0x345187,a13_0x2faba8['hosts']=a13_0x5cd235,exports[a13_0x4be00b(0xe2)]=a13_0x2faba8;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x9beb67=a14_0x2e73;(function(_0x16f5ee,_0x112ec1){const _0x361fd9=a14_0x2e73,_0x411813=_0x16f5ee();while(!![]){try{const _0x2fc631=parseInt(_0x361fd9(0x25d))/0x1*(parseInt(_0x361fd9(0x224))/0x2)+parseInt(_0x361fd9(0x27b))/0x3*(-parseInt(_0x361fd9(0x204))/0x4)+-parseInt(_0x361fd9(0x242))/0x5*(-parseInt(_0x361fd9(0x22b))/0x6)+-parseInt(_0x361fd9(0x28d))/0x7+parseInt(_0x361fd9(0x251))/0x8*(parseInt(_0x361fd9(0x2b1))/0x9)+parseInt(_0x361fd9(0x2bc))/0xa*(parseInt(_0x361fd9(0x2a0))/0xb)+parseInt(_0x361fd9(0x24a))/0xc*(-parseInt(_0x361fd9(0x2f9))/0xd);if(_0x2fc631===_0x112ec1)break;else _0x411813['push'](_0x411813['shift']());}catch(_0x3dfe89){_0x411813['push'](_0x411813['shift']());}}}(a14_0x4bb9,0x7bc61));function a14_0x2e73(_0x3403d9,_0x198753){const _0x4bb91b=a14_0x4bb9();return a14_0x2e73=function(_0x2e7358,_0x5e7b34){_0x2e7358=_0x2e7358-0x1f3;let _0x249a76=_0x4bb91b[_0x2e7358];return _0x249a76;},a14_0x2e73(_0x3403d9,_0x198753);}const fs=require('fs'),path=require(a14_0x9beb67(0x2d0)),util=require('util'),{spawn}=require(a14_0x9beb67(0x26c)),logger=require(a14_0x9beb67(0x2c7))[a14_0x9beb67(0x238)],{default:BrowserStackSetup}=require(a14_0x9beb67(0x258)),helper=require(a14_0x9beb67(0x211)),utilities=require(a14_0x9beb67(0x21f)),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x9beb67(0x2c0)),{updateTestRerunConfig}=require(a14_0x9beb67(0x285)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x9beb67(0x2a6)),TestDetails=require(a14_0x9beb67(0x249)),{getPercyOptions}=require(a14_0x9beb67(0x2b0)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x9beb67(0x252)),PerformanceTester=require(a14_0x9beb67(0x2fb)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],TestOrchestrationHandler=require(a14_0x9beb67(0x23c)),BrowserstackCLI=require(a14_0x9beb67(0x2dd)),{checkPwandBootstrapCli}=require(a14_0x9beb67(0x241)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x9beb67(0x217)),ClientTroubleShootingService=require(a14_0x9beb67(0x227)),{checkAccessibilityPlatformConfig}=require(a14_0x9beb67(0x2c0)),getUserJestConfigs=async(_0x5e338c,_0x13e30b)=>{const _0x15ef0b=a14_0x9beb67,_0x568104={'sXtNK':_0x15ef0b(0x200),'lvjcT':_0x15ef0b(0x284),'MRlzU':function(_0x277a98,_0x29a6f1){return _0x277a98||_0x29a6f1;},'tOQMl':function(_0xa481e4,_0x3a998f){return _0xa481e4(_0x3a998f);},'yZDSU':_0x15ef0b(0x267),'jcKOx':_0x15ef0b(0x2f2),'jXXDY':_0x15ef0b(0x21a),'QXmPo':_0x15ef0b(0x2df),'dtMAY':_0x15ef0b(0x2ad)};let _0x53656d;try{_0x53656d=helper[_0x15ef0b(0x2d6)](_0x568104[_0x15ef0b(0x25c)],_0x568104[_0x15ef0b(0x2f3)]);}catch{const _0x19e213=helper[_0x15ef0b(0x2d6)](_0x568104[_0x15ef0b(0x2f3)]);_0x53656d={'default':async _0x4ae1d7=>{const _0x2c8ce8=_0x15ef0b,_0x2d1bb1=await _0x19e213[_0x2c8ce8(0x27f)](_0x4ae1d7,{});return _0x2d1bb1[_0x2c8ce8(0x256)];}};}const _0x28de97=_0x13e30b[_0x15ef0b(0x231)](_0x2e2bc1=>_0x2e2bc1===_0x15ef0b(0x2e3));if(!helper['isUndefined'](_0x5e338c['config'])){logger[_0x15ef0b(0x244)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x5e338c['config']),process[_0x15ef0b(0x2f4)][_0x15ef0b(0x280)]=_0x5e338c[_0x15ef0b(0x256)];const _0x484655=await(0x0,_0x53656d[_0x15ef0b(0x215)])(path[_0x15ef0b(0x2a5)](_0x5e338c[_0x15ef0b(0x256)]));return _0x13e30b[_0x15ef0b(0x21b)](_0x28de97,0x2),_0x568104[_0x15ef0b(0x2f5)](_0x484655,{});}const _0x235108=_0x568104[_0x15ef0b(0x281)](require,path['join'](process[_0x15ef0b(0x27d)](),_0x568104[_0x15ef0b(0x2a7)]));if(_0x235108['jest'])return logger[_0x15ef0b(0x244)](_0x568104[_0x15ef0b(0x2d9)]),_0x235108[_0x15ef0b(0x214)];const _0x3714f4=['js',_0x568104[_0x15ef0b(0x2e7)],_0x568104[_0x15ef0b(0x2d1)],_0x568104[_0x15ef0b(0x28f)],'ts'];for(const _0x418671 of _0x3714f4){const _0x347618=path[_0x15ef0b(0x2ca)](process['cwd'](),_0x15ef0b(0x247)+_0x418671);if(fs['existsSync'](_0x347618)){process[_0x15ef0b(0x2f4)]['USER_CONFIG_DETAILS_PATH']=_0x347618;const _0x26cd38=await(0x0,_0x53656d['default'])(_0x347618);return _0x26cd38;}}return{};},getSerial=(_0x6ff14c,_0x3d7278)=>{const _0x270670=a14_0x9beb67,_0x3b1dae={};_0x3b1dae[_0x270670(0x283)]=_0x270670(0x1fb),_0x3b1dae[_0x270670(0x1fe)]=function(_0x1bb79c,_0x10acdd){return _0x1bb79c>_0x10acdd;},_0x3b1dae[_0x270670(0x2fa)]=_0x270670(0x2bb);const _0x1cf636=_0x3b1dae;let _0x263744=_0x1cf636['Erwyp'];return _0x1cf636[_0x270670(0x1fe)](_0x6ff14c[_0x270670(0x239)],0x1)&&(!_0x3d7278[_0x270670(0x203)]&&(helper[_0x270670(0x250)](_0x3d7278[_0x270670(0x275)])||_0x1cf636[_0x270670(0x1fe)](_0x3d7278[_0x270670(0x275)],0x1)))&&(_0x263744=_0x1cf636[_0x270670(0x2fa)]),_0x263744;},getMaxWorkers=(_0x317b41,_0x4b7c72,_0x1e867a)=>{const _0x2b3571=a14_0x9beb67,_0x13841e={'LXDjF':function(_0x4f8b1e,_0x11fecd){return _0x4f8b1e(_0x11fecd);}};let _0x26ef90=0x1;if(!helper[_0x2b3571(0x250)](_0x4b7c72['parallelsPerPlatform']))_0x26ef90=_0x13841e[_0x2b3571(0x23f)](parseInt,_0x4b7c72['parallelsPerPlatform']);else{if(!helper[_0x2b3571(0x250)](_0x317b41['maxWorkers']))_0x26ef90=_0x317b41[_0x2b3571(0x275)];else!helper['isUndefined'](_0x1e867a['maxWorkers'])&&(_0x26ef90=_0x1e867a[_0x2b3571(0x275)]);}return _0x26ef90;};async function run(_0x531051,_0x3dab41,_0x8a56af){const _0x3e2893=a14_0x9beb67,_0x403e20={'WRVOB':_0x3e2893(0x2a8),'HGxzz':_0x3e2893(0x214),'lKsJp':function(_0x37fb2a,_0x35a7aa){return _0x37fb2a(_0x35a7aa);},'oLzCP':_0x3e2893(0x230),'yhcwR':function(_0x25def0){return _0x25def0();},'uDeCw':function(_0x55a6ea,_0x58f66d,_0x47608a,_0x17caef){return _0x55a6ea(_0x58f66d,_0x47608a,_0x17caef);},'IHLxF':function(_0x38b2bd,_0x2f84e6,_0x5edfd2,_0x532b24){return _0x38b2bd(_0x2f84e6,_0x5edfd2,_0x532b24);},'ntmWN':function(_0x23fea4,_0x55c06a){return _0x23fea4!=_0x55c06a;},'wtplE':_0x3e2893(0x1fb),'OxZMc':function(_0x344fe1,_0x329505,_0x94a71f){return _0x344fe1(_0x329505,_0x94a71f);},'vUofm':_0x3e2893(0x216),'UHZVg':function(_0x3ed33d,_0x42f131){return _0x3ed33d(_0x42f131);},'CBiYq':'false','eufEH':function(_0x58c5ff,_0x118404,_0x56c710,_0x28285b){return _0x58c5ff(_0x118404,_0x56c710,_0x28285b);},'zZvqw':function(_0x3ec3e6,_0x15de2f){return _0x3ec3e6*_0x15de2f;},'zwlfr':function(_0x406920,_0x521c6e){return _0x406920===_0x521c6e;},'wiUkM':'jest_browserstack.config.cjs','MIelk':'jest_browserstack.config.js','ofTlQ':_0x3e2893(0x295),'pGfER':_0x3e2893(0x21e),'gszsi':_0x3e2893(0x29b),'PxlqU':'customTestRunnerTemplate.js','UvARH':_0x3e2893(0x2e5),'VtMDe':function(_0x53a9f9,_0x18d505){return _0x53a9f9!==_0x18d505;},'BrNJO':_0x3e2893(0x290),'GywlZ':_0x3e2893(0x2b4),'ZoJfo':_0x3e2893(0x22a),'ILeiV':_0x3e2893(0x2a2),'BhzJU':_0x3e2893(0x273),'tCINd':_0x3e2893(0x2d8),'rZPBi':_0x3e2893(0x260),'OIvuk':_0x3e2893(0x28a),'tVmMp':_0x3e2893(0x255),'fEVEM':'customCircus.js','tvRwG':_0x3e2893(0x20d),'Cgvra':_0x3e2893(0x22e),'Geszv':_0x3e2893(0x287),'eqIEZ':_0x3e2893(0x2cc),'qXikU':'test.setup.js','Tprli':_0x3e2893(0x1f8),'CkXYj':function(_0x1ec92b,_0x27c277){return _0x1ec92b&&_0x27c277;},'jmWlt':_0x3e2893(0x294),'lOaXh':_0x3e2893(0x259),'KHlpX':_0x3e2893(0x288),'STygG':_0x3e2893(0x215),'TwFwB':'@jest/core/build/ReporterDispatcher.js','VVnFq':_0x3e2893(0x293),'bRdCv':_0x3e2893(0x23b),'vNMTE':function(_0x4f7541,_0x4659bb){return _0x4f7541>_0x4659bb;},'kchcp':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','oKvdm':'--config','KqhhO':function(_0x271c5a,_0x3ec169,_0x2052b6,_0x524348){return _0x271c5a(_0x3ec169,_0x2052b6,_0x524348);},'JVvQV':_0x3e2893(0x2c1),'qYbmb':function(_0x3f0542,_0x402c71){return _0x3f0542===_0x402c71;},'oSpJb':_0x3e2893(0x274),'DgNkZ':_0x3e2893(0x2b7),'nOwwv':'close'},_0x2ec7e7=helper[_0x3e2893(0x2b8)](_0x403e20[_0x3e2893(0x237)]);global[_0x3e2893(0x2d4)]=!!_0x2ec7e7;const _0x36e1a5=_0x403e20['yhcwR'](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x36e1a5;helper['isBrowserstackInfra']()?(await _0x8a56af[_0x3e2893(0x1f5)](_0x531051),await helper[_0x3e2893(0x210)](_0x8a56af[_0x3e2893(0x256)])):await _0x8a56af[_0x3e2893(0x254)]();if(_0x2ec7e7)await _0x403e20[_0x3e2893(0x2af)](checkPwandBootstrapCli,_0x2ec7e7,constants['FRAMEWORKS']['JEST'],_0x8a56af);else _0x36e1a5&&await _0x403e20[_0x3e2893(0x243)](checkPuppeteerAndBootstrapCli,_0x36e1a5,constants[_0x3e2893(0x24e)][_0x3e2893(0x2f7)],_0x8a56af);if(!_0x8a56af['config'])return;_0x403e20['ntmWN'](_0x8a56af[_0x3e2893(0x256)]['testObservability'],null)?process[_0x3e2893(0x2f4)][_0x3e2893(0x2e1)]=_0x8a56af['config'][_0x3e2893(0x20f)]:process[_0x3e2893(0x2f4)][_0x3e2893(0x2e1)]=_0x403e20[_0x3e2893(0x291)];const _0x5e16db=new TestOrchestrationHandler(_0x8a56af[_0x3e2893(0x256)]),_0x404147=await _0x403e20[_0x3e2893(0x2be)](getUserJestConfigs,_0x531051,_0x3dab41);logger[_0x3e2893(0x244)](_0x403e20[_0x3e2893(0x2ba)]);const _0x58fb96=Object[_0x3e2893(0x1fc)]({},_0x404147);_0x58fb96[_0x3e2893(0x2ac)]=Object['assign']({},_0x58fb96[_0x3e2893(0x2ac)],{'server':helper['getHubUrl'](_0x8a56af[_0x3e2893(0x256)]),'environment':_0x404147['testEnvironment']}),_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x207)]=_0x403e20[_0x3e2893(0x2da)](getPercyOptions,_0x8a56af['config']);const _0x4609ed=helper[_0x3e2893(0x2e6)](_0x8a56af[_0x3e2893(0x256)]);!helper[_0x3e2893(0x250)](_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x24c)])&&(process[_0x3e2893(0x2f4)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x3e2893(0x222)](_0x8a56af['config'][_0x3e2893(0x24c)]));if(!BrowserstackCLI[_0x3e2893(0x2b6)]()[_0x3e2893(0x1f9)]()){const _0x2f60c8=await TestHubHandler[_0x3e2893(0x2ee)](FRAMEWORKS[_0x3e2893(0x2f7)],_0x8a56af);}const _0xeedeff=helper[_0x3e2893(0x1ff)](_0x8a56af[_0x3e2893(0x256)],_0x4609ed,constants[_0x3e2893(0x24e)][_0x3e2893(0x2f7)]);process[_0x3e2893(0x2f4)][_0x3e2893(0x2f0)]=JSON['stringify'](_0xeedeff);let _0xcf250a=_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x25e)];_0xcf250a=_0xcf250a||accessibilityHelper[_0x3e2893(0x2d5)](_0x8a56af[_0x3e2893(0x256)]),process['env'][_0x3e2893(0x1fd)]=_0xcf250a,logger['debug']('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0xcf250a+_0x3e2893(0x2c2)+BrowserstackCLI['getInstance']()['isRunning']());if(_0x2ec7e7)try{const _0x3e911f=_0x403e20[_0x3e2893(0x2a4)](checkAccessibilityPlatformConfig,_0x8a56af[_0x3e2893(0x256)]);process[_0x3e2893(0x2f4)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x3e911f?_0x403e20['wtplE']:_0x403e20[_0x3e2893(0x1fa)],logger[_0x3e2893(0x2aa)](_0x3e2893(0x228)+_0x3e911f+_0x3e2893(0x2cf)+process[_0x3e2893(0x2f4)][_0x3e2893(0x2b5)]);}catch(_0x1da8f8){logger[_0x3e2893(0x2aa)](_0x3e2893(0x22c)+util[_0x3e2893(0x263)](_0x1da8f8));}_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x209)]=_0xeedeff,_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x20e)]=_0x403e20[_0x3e2893(0x2be)](getSerial,_0xeedeff,_0x531051),_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x206)]=_0x403e20['eufEH'](getMaxWorkers,_0x531051,_0x8a56af['config'],_0x404147),_0x58fb96['testEnvironmentOptions'][_0x3e2893(0x264)]=_0x8a56af[_0x3e2893(0x256)]['proxySettings'],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x26e)]=_0x403e20[_0x3e2893(0x236)](_0x531051[_0x3e2893(0x24d)],0x1)||0x1388,_0x58fb96[_0x3e2893(0x2ac)]['skipSessionName']=_0x8a56af['config'][_0x3e2893(0x286)][_0x3e2893(0x27a)],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x229)]=_0x8a56af['config']['testContextOptions'][_0x3e2893(0x229)],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x27e)]=_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x2e2)],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x29f)]=_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x29f)],_0x58fb96['testEnvironmentOptions']['platformCaps']=_0x8a56af[_0x3e2893(0x256)]['platforms'];const _0x223b7a=helper['parseTestOrchestrationOptions'](_0x8a56af[_0x3e2893(0x256)]);if(!helper[_0x3e2893(0x2f1)](_0x223b7a)){helper['isNotUndefined'](_0x223b7a[_0x3e2893(0x233)])&&(_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x221)]=_0x223b7a[_0x3e2893(0x233)][_0x3e2893(0x25f)]);if(helper[_0x3e2893(0x25b)](_0x223b7a[_0x3e2893(0x2ea)])&&helper[_0x3e2893(0x25b)](_0x223b7a['abortBuildOnFailure']['workingDir'])){const _0x279642={};_0x279642[_0x3e2893(0x223)]=_0x223b7a['abortBuildOnFailure']['maxFailures'],_0x279642[_0x3e2893(0x248)]=_0x223b7a[_0x3e2893(0x2ea)]['workingDir'],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x2e8)]=_0x279642;}}let _0x494b95='';_0x403e20[_0x3e2893(0x2bf)](helper[_0x3e2893(0x26b)](),constants[_0x3e2893(0x2b2)]['MODULE'])?_0x494b95=_0x403e20[_0x3e2893(0x2ae)]:_0x494b95=_0x403e20['MIelk'];const _0x2b7c17=_0x494b95,_0x26e266=path[_0x3e2893(0x2ca)](__dirname,_0x403e20[_0x3e2893(0x261)],_0x403e20[_0x3e2893(0x28b)]),_0x236896=path['join'](__dirname,_0x403e20['ofTlQ'],_0x403e20['gszsi']),_0x94d32c=path['join'](__dirname,_0x403e20[_0x3e2893(0x261)],_0x403e20[_0x3e2893(0x2e9)]);_0x58fb96[_0x3e2893(0x24b)]&&(process[_0x3e2893(0x2f4)]['BSTACK_JEST_TEST_ENV']=_0x58fb96[_0x3e2893(0x24b)]);_0x58fb96[_0x3e2893(0x24b)]=path[_0x3e2893(0x2ca)](__dirname,_0x403e20['ofTlQ'],_0x403e20[_0x3e2893(0x235)]);const _0xbd7995=_0x404147['runner'];if(_0xbd7995&&_0x403e20[_0x3e2893(0x2ce)](_0xbd7995,_0x403e20[_0x3e2893(0x21d)])){const _0x53e472=_0xbd7995[_0x3e2893(0x23e)](_0x403e20[_0x3e2893(0x2eb)])?_0xbd7995:'jest-runner-'+_0xbd7995;process[_0x3e2893(0x2f4)][_0x3e2893(0x282)]=_0x53e472,logger[_0x3e2893(0x244)](_0x3e2893(0x205)+_0x53e472);}_0x58fb96[_0x3e2893(0x240)]=_0x236896,_0x58fb96[_0x3e2893(0x2cd)]=_0x58fb96[_0x3e2893(0x2cd)]||[],_0x58fb96[_0x3e2893(0x2cd)][_0x3e2893(0x2c5)](path[_0x3e2893(0x2ca)](__dirname,_0x403e20['ZoJfo']));_0x5e16db[_0x3e2893(0x22d)]()&&(_0x58fb96['testSequencer']=path['join'](__dirname,_0x403e20[_0x3e2893(0x261)],_0x403e20[_0x3e2893(0x268)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x3e2893(0x2b6)]()[_0x3e2893(0x28e)]()){let _0x55549d=null;try{_0x55549d=helper[_0x3e2893(0x2d6)](_0x403e20['BhzJU'],_0x403e20[_0x3e2893(0x2f8)]);}catch(_0x23afc0){try{_0x55549d=helper[_0x3e2893(0x2d6)](_0x403e20['rZPBi'],_0x403e20['tCINd']);}catch(_0x4fbafb){_0x403e20[_0x3e2893(0x2da)](debug,_0x3e2893(0x21c)+_0x4fbafb);}}_0x55549d&&(testhubUtils[_0x3e2893(0x213)]()&&_0x58fb96[_0x3e2893(0x2cd)][_0x3e2893(0x2c5)](path['join'](__dirname,_0x403e20[_0x3e2893(0x2a3)],_0x403e20[_0x3e2893(0x257)])),_0x58fb96[_0x3e2893(0x2d2)]=path[_0x3e2893(0x2ca)](__dirname,_0x403e20[_0x3e2893(0x261)],_0x403e20[_0x3e2893(0x299)]));}_0x58fb96['setupFiles']=_0x58fb96['setupFiles']||[];try{helper[_0x3e2893(0x20c)](),_0x58fb96[_0x3e2893(0x272)]['push'](path[_0x3e2893(0x2ca)](__dirname,_0x403e20['tvRwG']));}catch{logger['debug'](_0x403e20[_0x3e2893(0x2c6)]);}try{helper[_0x3e2893(0x22f)]['apply'](null,[_0x403e20[_0x3e2893(0x237)],_0x403e20[_0x3e2893(0x296)]]),logger[_0x3e2893(0x2aa)](_0x403e20[_0x3e2893(0x29c)]),_0x58fb96[_0x3e2893(0x272)]['push'](path[_0x3e2893(0x2ca)](__dirname,_0x403e20['qXikU']));}catch(_0x5a05ff){logger[_0x3e2893(0x2aa)](_0x403e20[_0x3e2893(0x292)],_0x5a05ff);}if(_0x403e20[_0x3e2893(0x262)](!_0x2ec7e7,_0x36e1a5)){try{logger['debug'](_0x403e20[_0x3e2893(0x29d)]),_0x58fb96[_0x3e2893(0x272)][_0x3e2893(0x2c5)](path[_0x3e2893(0x2ca)](__dirname,'..',_0x403e20[_0x3e2893(0x1f7)],_0x403e20[_0x3e2893(0x297)]));}catch(_0x53e7ae){logger[_0x3e2893(0x2aa)](_0x3e2893(0x208)+_0x53e7ae['message']);}try{const _0x7ce32c=require[_0x3e2893(0x2a5)](_0x403e20[_0x3e2893(0x23a)]),_0x4f748f=path[_0x3e2893(0x2ef)](_0x7ce32c)['replace'](/\\/g,'/'),_0x5b019c={};_0x5b019c[_0x3e2893(0x2c4)]=_0x4f748f+_0x3e2893(0x279),_0x58fb96['moduleNameMapper']=Object[_0x3e2893(0x1fc)]({},_0x58fb96[_0x3e2893(0x2ec)]||{},_0x5b019c),logger[_0x3e2893(0x2aa)](_0x3e2893(0x298)+_0x4f748f);}catch(_0x1d00a5){logger[_0x3e2893(0x2aa)](_0x3e2893(0x2de)+_0x1d00a5[_0x3e2893(0x2e0)]);}}_0x58fb96[_0x3e2893(0x25a)]=_0x58fb96[_0x3e2893(0x25a)]||[_0x403e20[_0x3e2893(0x270)]],_0x403e20[_0x3e2893(0x2be)](updateTestRerunConfig,_0x58fb96,_0x8a56af);const _0x2ae2d3=fs['readFileSync'](_0x94d32c),_0x54603c=helper[_0x3e2893(0x2ab)](_0x403e20['TwFwB'],_0x403e20[_0x3e2893(0x276)]);!_0x54603c[_0x3e2893(0x277)]?fs[_0x3e2893(0x225)](_0x58fb96['runner'],'\x0a\x20\x20\x20\x20\x20\x20'+_0x2ae2d3+_0x3e2893(0x2d3)+_0x8a56af['config'][_0x3e2893(0x29e)][_0x3e2893(0x239)]+_0x3e2893(0x2a9)):fs[_0x3e2893(0x225)](_0x58fb96[_0x3e2893(0x240)],_0x3e2893(0x1f4)+_0x2ae2d3+_0x3e2893(0x253)+_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x29e)][_0x3e2893(0x239)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger['info'](_0x3e2893(0x201)+_0x2b7c17+_0x3e2893(0x220)),fs[_0x3e2893(0x225)](_0x2b7c17,_0x3e2893(0x234)+JSON[_0x3e2893(0x222)](_0x58fb96)+'\x0amodule.exports\x20=\x20config;');if(_0x5e16db[_0x3e2893(0x22d)]()){logger[_0x3e2893(0x2aa)](_0x403e20['bRdCv']);const _0x120f0d=await _0x5e16db['findTestFiles'](_0x58fb96,_0x3dab41[_0x3e2893(0x20a)](0x1),_0x2b7c17);logger[_0x3e2893(0x2aa)](_0x3e2893(0x218)+JSON['stringify'](_0x120f0d)+_0x3e2893(0x26f));const _0x34ad2a=await _0x5e16db[_0x3e2893(0x266)](_0x120f0d);logger['debug'](_0x3e2893(0x28c)+JSON['stringify'](_0x34ad2a)),_0x34ad2a&&_0x403e20[_0x3e2893(0x246)](_0x34ad2a[_0x3e2893(0x239)],0x0)&&(process[_0x3e2893(0x2f4)][_0x3e2893(0x278)]=_0x34ad2a?.[_0x3e2893(0x2ca)](','));}logger[_0x3e2893(0x244)](_0x403e20['kchcp']);testhubUtils[_0x3e2893(0x213)]()&&TestDetails[_0x3e2893(0x2ed)]();helper[_0x3e2893(0x29a)]({},_0x3dab41),PerformanceTester['end'](PerformanceEvents[_0x3e2893(0x2cb)]);const _0x2e16b0=[_0x403e20[_0x3e2893(0x2dc)],_0x403e20[_0x3e2893(0x1f6)],_0x2b7c17,..._0x3dab41[_0x3e2893(0x20a)](0x1)],_0x2ade3b=_0x403e20[_0x3e2893(0x2d7)](spawn,_0x403e20[_0x3e2893(0x2c3)],_0x2e16b0,{'shell':_0x403e20[_0x3e2893(0x26d)](process[_0x3e2893(0x20b)],_0x403e20[_0x3e2893(0x289)]),'stdio':_0x403e20[_0x3e2893(0x212)],'env':Object[_0x3e2893(0x1fc)]({},process['env'])});_0x2ade3b['on'](_0x403e20[_0x3e2893(0x269)],async _0x2f1150=>{const _0x16cab5=_0x3e2893;PerformanceTester[_0x16cab5(0x202)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x7b714,tcgConfigPath:_0x229158}=helper['getTCGConfigFilePaths']();fs[_0x16cab5(0x1f3)](_0x229158),fs[_0x16cab5(0x2db)](_0x7b714);}catch(_0x582f43){logger[_0x16cab5(0x2aa)](_0x403e20[_0x16cab5(0x26a)],_0x582f43);}process[_0x16cab5(0x27c)]=_0x2f1150,logger['debug'](_0x16cab5(0x2b9)+_0x2f1150),logger[_0x16cab5(0x244)](_0x16cab5(0x265)+_0x2b7c17);if(helper[_0x16cab5(0x25b)](_0x223b7a)&&helper[_0x16cab5(0x25b)](_0x223b7a['abortBuildOnFailure'])&&fs['existsSync'](_0x223b7a['abortBuildOnFailure']['workingDir']))try{const _0x2328a0={};_0x2328a0[_0x16cab5(0x245)]=!![],_0x2328a0['force']=!![],fs[_0x16cab5(0x2e4)](_0x223b7a[_0x16cab5(0x2ea)][_0x16cab5(0x248)],_0x2328a0),logger['debug'](_0x16cab5(0x2b3)+_0x223b7a[_0x16cab5(0x2ea)][_0x16cab5(0x248)]);}catch(_0x8fe8c8){logger[_0x16cab5(0x277)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x8fe8c8);}let _0x4310f6=null;if(fs['existsSync'](_0x26e266)){_0x4310f6=fs[_0x16cab5(0x226)](_0x26e266);try{_0x4310f6=JSON[_0x16cab5(0x232)](_0x4310f6);}catch(_0x8c7558){logger[_0x16cab5(0x2aa)](_0x16cab5(0x2c8)+_0x26e266+',\x20'+_0x4310f6+_0x16cab5(0x2f6)+_0x8c7558);}fs[_0x16cab5(0x1f3)](_0x26e266);}fs[_0x16cab5(0x1f3)](_0x2b7c17),fs[_0x16cab5(0x1f3)](_0x236896),_0x4310f6&&(_0x8a56af['errorMessage']=helper[_0x16cab5(0x2a1)](_0x4310f6,_0x403e20['HGxzz'],_0x8a56af));const _0x49f4d8=BrowserstackCLI[_0x16cab5(0x219)]();try{await TestHubHandler[_0x16cab5(0x2bd)](),await BrowserstackCLI['getInstance']()[_0x16cab5(0x2bd)]();}catch(_0x12e966){console['log'](_0x12e966),_0x403e20[_0x16cab5(0x2a4)](debug,_0x16cab5(0x271)+util[_0x16cab5(0x263)](_0x12e966));}testOpsHelper[_0x16cab5(0x2c9)](),TestDetails[_0x16cab5(0x23d)](),await utilities[_0x16cab5(0x24f)](_0x8a56af,_0x49f4d8);});}module['exports']=run;function a14_0x4bb9(){const _0x362bc5=['skipSessionName','150Atmhre','exitCode','cwd','browserStackLogLevel','readInitialOptions','USER_CONFIG_DETAILS_PATH','tOQMl','BSTACK_USER_JEST_RUNNER','Erwyp','jest-config','./test-observability/helper','testContextOptions','playwright','puppeteer-core/package.json','oSpJb','test-observability','pGfER','Reodered\x20Test\x20Files:\x20','1793036Kmzmou','isCliEnabled','dtMAY','jest-runner','wtplE','Tprli','@jest/core','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','customImplements','Geszv','qXikU','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','fEVEM','filterBrowserstackArgs','customTestRunner.js','eqIEZ','jmWlt','platforms','turboScaleUrl','124311MfiyHd','getErrorMessageFromResults','customSequencer.js','OIvuk','lKsJp','resolve','../../helpers/test-observability/utils','yZDSU','error\x20removing\x20tcg\x20config\x20file',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','debug','resolveModule','testEnvironmentOptions','json','wiUkM','uDeCw','../../helpers/percy/utils','1809HpCfzl','PACKAGE_TYPE','Deleted\x20fail-fast\x20state\x20folder:\x20','jest-runner-','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getInstance','inherit','getPackageVersion','child\x20process\x20exited\x20with\x20code\x20','vUofm','false','530FTXFDG','stop','OxZMc','zwlfr','../../helpers/accessibility-automation/helper','npx',',\x20CLI\x20running:\x20','JVvQV','^puppeteer-core/internal/(.*)','push','Cgvra','../../helpers/logger','Error\x20while\x20parsing\x20','printBuildLink','join','SDK_SETUP','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','setupFilesAfterEnv','VtMDe',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','path','QXmPo','testRunner','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','__isPlaywrightInstalled','checkAccessibilityPlatformConfig','requireModule','KqhhO','jest-circus','jcKOx','UHZVg','rmdirSync','HGxzz','../v2/browserstackCLI','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','cjs','message','BROWSERSTACK_TEST_OBSERVABILITY_YML','logLevel','--config','rmSync','customEnvironment.js','useW3C','jXXDY','failFast','PxlqU','abortBuildOnFailure','GywlZ','moduleNameMapper','setup','launchBuild','dirname','BROWSERSTACK_CAPABILITIES','isEmpty','Getting\x20your\x20jest\x20configs\x20from\x20package.json','lvjcT','env','MRlzU','\x20:\x20','JEST','tCINd','35048EKouIV','bznRm','../../helpers/performance/performance-tester','unlinkSync','\x0a\x20\x20\x20\x20\x20\x20','initialize','oKvdm','lOaXh','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','isRunning','CBiYq','true','assign','BROWSERSTACK_TEST_ACCESSIBILITY_YML','gqZYG','prepareCapabilities','jest-config/build/readConfigFileAndSetRootDir.js','Creating\x20','start','runInBand','3572XgOGEb','Preserving\x20user\x27s\x20Jest\x20runner:\x20','parallels__','browserStackPercyOptions','Puppeteer\x20setup\x20error:\x20','capabilities','slice','platform','requireSeleniumWebdriver','test_before.setup.js','serial__','testObservability','handleApp','../../helpers/helper','DgNkZ','shouldProcessEventForTesthub','jest','default','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','../../helpers/puppeteer-helper','Found:\x20','isCLIEnabled','mjs','splice','Unable\x20to\x20find\x20jest-circus,\x20','BrNJO','jest_browserstack_results.json','../../helpers/utilities','\x20with\x20browserstack\x20jest\x20configs','retries__','stringify','failureThresholdCount','14NtaawF','writeFileSync','readFileSync','../utils/clientTroubleshootingService','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','skipSessionStatus','jest.setup.js','582bQiHMt','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','isTestOrchestrationEnabled','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','requirePWModule','@playwright/test','findIndex','parse','retryTestsOnFailure','const\x20config=','UvARH','zZvqw','oLzCP','winstonLogger','length','KHlpX','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','../../helpers/test-orchestration/testOrchestrationHandler','shutdown','startsWith','LXDjF','runner','../../helpers/playwright-helper','27890iLBVBW','IHLxF','info','recursive','vNMTE','jest.config.','workingDir','./test-observability/test-details','7656ilytDp','testEnvironment','accessibilityOptions','testTimeout','FRAMEWORKS','finalExecution','isUndefined','38088hnlerm','../../helpers/test-observability/constants','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','setupTCGAuth','data-hooks.js','config','tVmMp','../../helpers/BrowserStackSetup','puppeteer','reporters','isNotUndefined','sXtNK','61549pGZNyg','accessibility','maxRetries','jest-circus/build/runner.js','ofTlQ','CkXYj','format','proxySettings','Deleting\x20','reorderTestFiles','package.json','ILeiV','nOwwv','WRVOB','getPackageType','child_process','qYbmb','timeout__','\x20test\x20files\x20to\x20run.','STygG','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','setupFiles','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','win32','maxWorkers','VVnFq','error','JEST_TEST_ORDER','/internal/$1'];a14_0x4bb9=function(){return _0x362bc5;};return a14_0x4bb9();}
2
+ 'use strict';const a14_0x451a8c=a14_0x4974;(function(_0x2e51a7,_0x51f3cd){const _0x4ec851=a14_0x4974,_0x22cfd8=_0x2e51a7();while(!![]){try{const _0xb9b5ed=-parseInt(_0x4ec851(0xe9))/0x1*(-parseInt(_0x4ec851(0x14b))/0x2)+-parseInt(_0x4ec851(0xe7))/0x3+parseInt(_0x4ec851(0x68))/0x4+-parseInt(_0x4ec851(0x81))/0x5+-parseInt(_0x4ec851(0x119))/0x6*(parseInt(_0x4ec851(0x114))/0x7)+-parseInt(_0x4ec851(0x11f))/0x8+-parseInt(_0x4ec851(0x153))/0x9*(-parseInt(_0x4ec851(0xcd))/0xa);if(_0xb9b5ed===_0x51f3cd)break;else _0x22cfd8['push'](_0x22cfd8['shift']());}catch(_0x25d1a0){_0x22cfd8['push'](_0x22cfd8['shift']());}}}(a14_0x5f10,0x57573));const fs=require('fs'),path=require('path'),util=require(a14_0x451a8c(0xf9)),{spawn}=require('child_process'),logger=require(a14_0x451a8c(0x15b))[a14_0x451a8c(0xa8)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a14_0x451a8c(0x80)),utilities=require('../../helpers/utilities'),constants=require(a14_0x451a8c(0x123)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a14_0x451a8c(0xec)),testOpsHelper=require(a14_0x451a8c(0xd6)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a14_0x451a8c(0xc2)),{getPercyOptions}=require(a14_0x451a8c(0xff)),TestHubHandler=require(a14_0x451a8c(0x78)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a14_0x451a8c(0xe4)),PerformanceEvents=require(a14_0x451a8c(0x73))[a14_0x451a8c(0x124)],TestOrchestrationHandler=require(a14_0x451a8c(0xca)),BrowserstackCLI=require(a14_0x451a8c(0x15c)),{checkPwandBootstrapCli}=require(a14_0x451a8c(0xc1)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x236f57,_0xd94f1)=>{const _0x5e7279=a14_0x451a8c,_0x147dba={'yPgZT':'jest-config/build/readConfigFileAndSetRootDir.js','DngQv':_0x5e7279(0xc9),'IRYiJ':function(_0x174426,_0x58dc4e){return _0x174426||_0x58dc4e;},'hHkBP':function(_0x751367,_0x4544d0){return _0x751367(_0x4544d0);},'donLu':'package.json','wiwCr':_0x5e7279(0xbc),'KccPy':_0x5e7279(0x75),'VwEmT':'cjs','ZSvRc':_0x5e7279(0x98)};let _0x810296;try{_0x810296=helper[_0x5e7279(0x14d)](_0x147dba[_0x5e7279(0x76)],_0x147dba[_0x5e7279(0x129)]);}catch{const _0x2b360d=helper[_0x5e7279(0x14d)](_0x147dba[_0x5e7279(0x129)]);_0x810296={'default':async _0x4e3681=>{const _0x419a53=_0x5e7279,_0x1c434e=await _0x2b360d[_0x419a53(0x7c)](_0x4e3681,{});return _0x1c434e[_0x419a53(0x12c)];}};}const _0x4da7c8=_0xd94f1[_0x5e7279(0xcb)](_0x12ffcc=>_0x12ffcc===_0x5e7279(0xc0));if(!helper[_0x5e7279(0x132)](_0x236f57[_0x5e7279(0x12c)])){logger[_0x5e7279(0x10e)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x236f57['config']),process[_0x5e7279(0x115)][_0x5e7279(0xb2)]=_0x236f57[_0x5e7279(0x12c)];const _0xceda49=await(0x0,_0x810296[_0x5e7279(0xba)])(path[_0x5e7279(0xef)](_0x236f57[_0x5e7279(0x12c)]));return _0xd94f1[_0x5e7279(0x12a)](_0x4da7c8,0x2),_0x147dba['IRYiJ'](_0xceda49,{});}const _0x41bef3=_0x147dba[_0x5e7279(0xa4)](require,path[_0x5e7279(0xc4)](process['cwd'](),_0x147dba[_0x5e7279(0x139)]));if(_0x41bef3[_0x5e7279(0x11d)])return logger[_0x5e7279(0x10e)](_0x147dba[_0x5e7279(0x144)]),_0x41bef3['jest'];const _0x43cfc6=['js',_0x147dba[_0x5e7279(0x95)],_0x147dba['VwEmT'],_0x147dba[_0x5e7279(0x91)],'ts'];for(const _0x2f61b8 of _0x43cfc6){const _0x5b3ac3=path[_0x5e7279(0xc4)](process['cwd'](),_0x5e7279(0x9c)+_0x2f61b8);if(fs[_0x5e7279(0xf4)](_0x5b3ac3)){process[_0x5e7279(0x115)][_0x5e7279(0xb2)]=_0x5b3ac3;const _0x5d61d6=await(0x0,_0x810296['default'])(_0x5b3ac3);return _0x5d61d6;}}return{};},getSerial=(_0x3720f2,_0x1222f7)=>{const _0x28f1ae=a14_0x451a8c,_0x3d1b6a={};_0x3d1b6a['wpuwq']=_0x28f1ae(0xbf),_0x3d1b6a[_0x28f1ae(0xb5)]=function(_0x457b2a,_0x309ef8){return _0x457b2a>_0x309ef8;},_0x3d1b6a['cxRzg']='false';const _0x4d3492=_0x3d1b6a;let _0x3f4ac8=_0x4d3492['wpuwq'];return _0x4d3492[_0x28f1ae(0xb5)](_0x3720f2[_0x28f1ae(0x105)],0x1)&&(!_0x1222f7['runInBand']&&(helper[_0x28f1ae(0x132)](_0x1222f7[_0x28f1ae(0x8e)])||_0x4d3492['CkZtn'](_0x1222f7[_0x28f1ae(0x8e)],0x1)))&&(_0x3f4ac8=_0x4d3492[_0x28f1ae(0xa5)]),_0x3f4ac8;},getMaxWorkers=(_0x7b7a8f,_0x10af11,_0x58bc52)=>{const _0x44d826=a14_0x451a8c,_0x3d12ac={'olHNB':function(_0x48a25f,_0xdda1a2){return _0x48a25f(_0xdda1a2);}};let _0x4ec895=0x1;if(!helper[_0x44d826(0x132)](_0x10af11['parallelsPerPlatform']))_0x4ec895=_0x3d12ac[_0x44d826(0xc8)](parseInt,_0x10af11[_0x44d826(0xf7)]);else{if(!helper[_0x44d826(0x132)](_0x7b7a8f['maxWorkers']))_0x4ec895=_0x7b7a8f[_0x44d826(0x8e)];else!helper[_0x44d826(0x132)](_0x58bc52['maxWorkers'])&&(_0x4ec895=_0x58bc52[_0x44d826(0x8e)]);}return _0x4ec895;};function a14_0x4974(_0x217c4e,_0x9665f8){const _0x5f108d=a14_0x5f10();return a14_0x4974=function(_0x49740b,_0x5149b8){_0x49740b=_0x49740b-0x68;let _0x476e74=_0x5f108d[_0x49740b];return _0x476e74;},a14_0x4974(_0x217c4e,_0x9665f8);}function a14_0x5f10(){const _0x1929be=['\x20with\x20browserstack\x20jest\x20configs','244506xdJRny','miWiu','2jdDkbI','XrMkt','kENvf','./test-observability/helper','npx','error','resolve','iBaYe','QhiqW','requireSeleniumWebdriver','rmSync','existsSync','\x0a\x20\x20\x20\x20\x20\x20','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','parallelsPerPlatform','failureThresholdCount','util','shouldProcessEventForTesthub','runner','wxoym','customSequencer.js','exitCode','../../helpers/percy/utils','/internal/$1','pZePf','getTCGConfigFilePaths','force','browserStackPercyOptions','length','serial__','Reodered\x20Test\x20Files:\x20','jest-circus','format','__isPlaywrightInstalled','testEnvironmentOptions','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','PACKAGE_TYPE','info','cussW','CDsjP','Coxyl','turboScaleUrl','PnxSJ','1393QEensH','env','getInstance','maxRetries','log','15024mSYpqe','findTestFiles','const\x20config=','capabilities','jest',',\x20CLI\x20running:\x20','3135256TcBDhZ','testEnvironment','inherit','SDK_CLEANUP','../utils/constants','EVENTS','BSTACK_USER_JEST_RUNNER','BROWSERSTACK_TEST_OBSERVABILITY_YML','sYDXn','UznDj','DngQv','splice','setupFiles','config','puppeteer-core/package.json','isRunning','jest-runner-','prepareCapabilities','vfHto','isUndefined','playwright','lKbOF','message','moduleNameMapper','Creating\x20','QLEvn','donLu','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','jest_browserstack.config.cjs','isEmpty','isNotUndefined','retryTestsOnFailure','@jest/core','jUxSP','reporters','launchBuild','ygdTe','wiwCr','AGaWf','isBrowserstackInfra','IiFVW','parallels__','psAJA','platforms','640402xfEGYO','JEST_TEST_ORDER','requireModule','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','isCliEnabled','abortBuildOnFailure','customTestRunnerTemplate.js','testSequencer','485937DLOdIJ','aEfiB','error\x20removing\x20tcg\x20config\x20file','close','failFast','JEST','checkAccessibilityPlatformConfig','DjVkE','../../helpers/logger','../v2/browserstackCLI','2521512iuoFWS','YUxbo','jest.setup.js','getErrorMessageFromResults','stringify','Found:\x20','twAYE','customEnvironment.js','VRjiy','stop','YOPFU','../../helpers/performance/constants','proxySettings','mjs','yPgZT','initialize','../../helpers/testhub/testhubHandler','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','XONKQ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','readInitialOptions','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','adNIq','shutdown','../../helpers/helper','1596395CMeavT','MODULE','BROWSERSTACK_CAPABILITIES','vRYQY','\x20:\x20','jeazR','requirePWModule','Deleting\x20','RQDyb','getHubUrl','skipSessionName','testTimeout','accessibilityOptions','maxWorkers','isTestOrchestrationEnabled','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','ZSvRc','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','rDHze','readFileSync','KccPy','filterBrowserstackArgs','KkuWb','json','getPackageType','testObservability','start','jest.config.','timeout__','resolveModule','maxFailures','emMKI',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','Error\x20while\x20parsing\x20','debug','hHkBP','cxRzg','IobUP','XJKDC','winstonLogger','getPackageVersion','@playwright/test','reorderTestFiles','apply','setupTCGAuth','finalExecution','rmdirSync','jest_browserstack_results.json','printBuildLink','USER_CONFIG_DETAILS_PATH','AQYAe','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','CkZtn','HvcVZ','unlinkSync','errorMessage','bsWUk','default','handleApp','Getting\x20your\x20jest\x20configs\x20from\x20package.json','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','true','--config','../../helpers/playwright-helper','./test-observability/test-details','assign','join','testContextOptions','writeFileSync','Unable\x20to\x20find\x20jest-circus,\x20','olHNB','jest-config','../../helpers/test-orchestration/testOrchestrationHandler','findIndex','ThDIl','70bCUSfU','customCircus.js','platformCaps','workingDir','bWNQa','glNIm','jest-runner','FRAMEWORKS','parseTestOrchestrationOptions','../../helpers/test-observability/utils','false','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','MwAXF','win32','kONMQ','OdLAn','dirname','eHdoV','setupFilesAfterEnv','customImplements','push','slice','../../helpers/performance/performance-tester','UXDhc'];a14_0x5f10=function(){return _0x1929be;};return a14_0x5f10();}async function run(_0x4a38ab,_0x25173e,_0x3c5e21){const _0xa051d4=a14_0x451a8c,_0x3b631f={'wZaSM':_0xa051d4(0x155),'ygdTe':_0xa051d4(0x11d),'kONMQ':function(_0x2b2bf5,_0x343f35){return _0x2b2bf5(_0x343f35);},'XJKDC':_0xa051d4(0xaa),'wxoym':function(_0x5a39b5){return _0x5a39b5();},'emMKI':function(_0x46297b,_0xdef9a,_0x283dfd,_0x8d54bc){return _0x46297b(_0xdef9a,_0x283dfd,_0x8d54bc);},'IxeZL':function(_0xe3f895,_0x2cb87f,_0x7c600d,_0x1ddf5d){return _0xe3f895(_0x2cb87f,_0x7c600d,_0x1ddf5d);},'adNIq':function(_0x507c06,_0x1d7106){return _0x507c06!=_0x1d7106;},'lKbOF':'true','sNnVm':function(_0x2d333b,_0x2d3829,_0x281cc4){return _0x2d333b(_0x2d3829,_0x281cc4);},'QLEvn':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','iBaYe':function(_0x5584e4,_0x42ed0f){return _0x5584e4(_0x42ed0f);},'KkuWb':function(_0x1d1841,_0x38b430){return _0x1d1841(_0x38b430);},'CDsjP':_0xa051d4(0xd7),'YUxbo':function(_0x13cf7c,_0x269a50,_0x15e195){return _0x13cf7c(_0x269a50,_0x15e195);},'AQYAe':function(_0xe2fd25,_0x155fdf){return _0xe2fd25*_0x155fdf;},'OdLAn':function(_0x981416,_0x551a83){return _0x981416===_0x551a83;},'QhiqW':_0xa051d4(0x13b),'UznDj':'jest_browserstack.config.js','vfHto':_0xa051d4(0xe1),'UXDhc':_0xa051d4(0xb0),'rDHze':'customTestRunner.js','IiFVW':_0xa051d4(0x151),'miWiu':_0xa051d4(0x6f),'XONKQ':function(_0x5ae450,_0x4e57eb){return _0x5ae450!==_0x4e57eb;},'eHdoV':_0xa051d4(0xd3),'IobUP':'jest-runner-','rToMc':_0xa051d4(0x6a),'pZePf':_0xa051d4(0xfd),'twAYE':_0xa051d4(0x92),'XrMkt':_0xa051d4(0x108),'aEfiB':'jest-circus/build/runner.js','RQDyb':function(_0x274c3d,_0x45bb07){return _0x274c3d(_0x45bb07);},'QuYWS':'test-observability','cussW':'data-hooks.js','PnxSJ':_0xa051d4(0xce),'ZwvrQ':'test_before.setup.js','bpMll':_0xa051d4(0x13a),'psAJA':_0xa051d4(0x133),'bWNQa':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','HvcVZ':'test.setup.js','YOPFU':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','VRjiy':function(_0x27354d,_0x4a8a16){return _0x27354d&&_0x4a8a16;},'QisLl':_0xa051d4(0x7d),'sYDXn':'puppeteer','DjVkE':_0xa051d4(0x12d),'KFbiU':_0xa051d4(0xba),'ThDIl':function(_0x477fdf,_0x4f80cb,_0x2d74a9){return _0x477fdf(_0x4f80cb,_0x2d74a9);},'sozMY':'@jest/core/build/ReporterDispatcher.js','Sutzn':_0xa051d4(0x13f),'glNIm':_0xa051d4(0xf6),'MwAXF':function(_0x2babb7,_0x415c97){return _0x2babb7>_0x415c97;},'jeazR':_0xa051d4(0xd8),'Coxyl':_0xa051d4(0xc0),'bsWUk':function(_0x5a9422,_0x116b25,_0x252d42,_0x29e310){return _0x5a9422(_0x116b25,_0x252d42,_0x29e310);},'jUxSP':_0xa051d4(0xed),'vRYQY':function(_0x40ed83,_0x332f2d){return _0x40ed83===_0x332f2d;},'kENvf':_0xa051d4(0xdb),'SqxgJ':_0xa051d4(0x121),'AGaWf':_0xa051d4(0x156)},_0x14951e=helper[_0xa051d4(0xa9)](_0x3b631f[_0xa051d4(0xa7)]);global[_0xa051d4(0x10a)]=!!_0x14951e;const _0x28a675=_0x3b631f[_0xa051d4(0xfc)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x28a675;helper[_0xa051d4(0x146)]()?(await _0x3c5e21[_0xa051d4(0x77)](_0x4a38ab),await helper[_0xa051d4(0xbb)](_0x3c5e21[_0xa051d4(0x12c)])):await _0x3c5e21[_0xa051d4(0xad)]();if(_0x14951e)await _0x3b631f[_0xa051d4(0xa0)](checkPwandBootstrapCli,_0x14951e,constants['FRAMEWORKS'][_0xa051d4(0x158)],_0x3c5e21);else _0x28a675&&await _0x3b631f['IxeZL'](checkPuppeteerAndBootstrapCli,_0x28a675,constants[_0xa051d4(0xd4)]['JEST'],_0x3c5e21);if(!_0x3c5e21['config'])return;_0x3b631f[_0xa051d4(0x7e)](_0x3c5e21[_0xa051d4(0x12c)]['testObservability'],null)?process[_0xa051d4(0x115)][_0xa051d4(0x126)]=_0x3c5e21[_0xa051d4(0x12c)][_0xa051d4(0x9a)]:process[_0xa051d4(0x115)][_0xa051d4(0x126)]=_0x3b631f['lKbOF'];const _0x425b3f=new TestOrchestrationHandler(_0x3c5e21[_0xa051d4(0x12c)]),_0x485247=await _0x3b631f['sNnVm'](getUserJestConfigs,_0x4a38ab,_0x25173e);logger['info'](_0x3b631f[_0xa051d4(0x138)]);const _0x4b2a63=Object[_0xa051d4(0xc3)]({},_0x485247);_0x4b2a63[_0xa051d4(0x10b)]=Object[_0xa051d4(0xc3)]({},_0x4b2a63[_0xa051d4(0x10b)],{'server':helper[_0xa051d4(0x8a)](_0x3c5e21[_0xa051d4(0x12c)]),'environment':_0x485247['testEnvironment']}),_0x4b2a63[_0xa051d4(0x10b)][_0xa051d4(0x104)]=_0x3b631f[_0xa051d4(0xf0)](getPercyOptions,_0x3c5e21[_0xa051d4(0x12c)]);const _0x4e9b75=helper['useW3C'](_0x3c5e21[_0xa051d4(0x12c)]);!helper['isUndefined'](_0x3c5e21[_0xa051d4(0x12c)][_0xa051d4(0x8d)])&&(process[_0xa051d4(0x115)][_0xa051d4(0xbe)]=JSON[_0xa051d4(0x6c)](_0x3c5e21[_0xa051d4(0x12c)][_0xa051d4(0x8d)]));if(!BrowserstackCLI[_0xa051d4(0x116)]()[_0xa051d4(0x12e)]()){const _0x2e9d2b=await TestHubHandler[_0xa051d4(0x142)](FRAMEWORKS[_0xa051d4(0x158)],_0x3c5e21);}const _0x56f0c8=helper[_0xa051d4(0x130)](_0x3c5e21[_0xa051d4(0x12c)],_0x4e9b75,constants['FRAMEWORKS'][_0xa051d4(0x158)]);process[_0xa051d4(0x115)][_0xa051d4(0x83)]=JSON[_0xa051d4(0x6c)](_0x56f0c8);let _0x367471=_0x3c5e21[_0xa051d4(0x12c)]['accessibility'];_0x367471=_0x367471||accessibilityHelper[_0xa051d4(0x159)](_0x3c5e21[_0xa051d4(0x12c)]),process[_0xa051d4(0x115)][_0xa051d4(0x7b)]=_0x367471,logger['debug'](_0xa051d4(0xbd)+_0x367471+_0xa051d4(0x11e)+BrowserstackCLI[_0xa051d4(0x116)]()[_0xa051d4(0x12e)]());if(_0x14951e)try{const _0x2eaadf=_0x3b631f[_0xa051d4(0x97)](checkAccessibilityPlatformConfig,_0x3c5e21[_0xa051d4(0x12c)]);process[_0xa051d4(0x115)][_0xa051d4(0xb4)]=_0x2eaadf?_0x3b631f[_0xa051d4(0x134)]:_0x3b631f[_0xa051d4(0x110)],logger['debug']('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x2eaadf+',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM='+process[_0xa051d4(0x115)][_0xa051d4(0xb4)]);}catch(_0x166eee){logger['debug']('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util[_0xa051d4(0x109)](_0x166eee));}_0x4b2a63['testEnvironmentOptions'][_0xa051d4(0x11c)]=_0x56f0c8,_0x4b2a63[_0xa051d4(0x10b)][_0xa051d4(0x106)]=_0x3b631f[_0xa051d4(0x69)](getSerial,_0x56f0c8,_0x4a38ab),_0x4b2a63['testEnvironmentOptions'][_0xa051d4(0x148)]=_0x3b631f[_0xa051d4(0xa0)](getMaxWorkers,_0x4a38ab,_0x3c5e21[_0xa051d4(0x12c)],_0x485247),_0x4b2a63[_0xa051d4(0x10b)][_0xa051d4(0x74)]=_0x3c5e21[_0xa051d4(0x12c)]['proxySettings'],_0x4b2a63[_0xa051d4(0x10b)][_0xa051d4(0x9d)]=_0x3b631f[_0xa051d4(0xb3)](_0x4a38ab[_0xa051d4(0x8c)],0x1)||0x1388,_0x4b2a63[_0xa051d4(0x10b)][_0xa051d4(0x8b)]=_0x3c5e21[_0xa051d4(0x12c)]['testContextOptions'][_0xa051d4(0x8b)],_0x4b2a63[_0xa051d4(0x10b)]['skipSessionStatus']=_0x3c5e21[_0xa051d4(0x12c)][_0xa051d4(0xc5)]['skipSessionStatus'],_0x4b2a63[_0xa051d4(0x10b)]['browserStackLogLevel']=_0x3c5e21[_0xa051d4(0x12c)]['logLevel'],_0x4b2a63['testEnvironmentOptions']['turboScaleUrl']=_0x3c5e21[_0xa051d4(0x12c)][_0xa051d4(0x112)],_0x4b2a63[_0xa051d4(0x10b)][_0xa051d4(0xcf)]=_0x3c5e21[_0xa051d4(0x12c)][_0xa051d4(0x14a)];const _0x38d711=helper[_0xa051d4(0xd5)](_0x3c5e21[_0xa051d4(0x12c)]);if(!helper[_0xa051d4(0x13c)](_0x38d711)){helper[_0xa051d4(0x13d)](_0x38d711[_0xa051d4(0x13e)])&&(_0x4b2a63['testEnvironmentOptions']['retries__']=_0x38d711[_0xa051d4(0x13e)][_0xa051d4(0x117)]);if(helper[_0xa051d4(0x13d)](_0x38d711[_0xa051d4(0x150)])&&helper['isNotUndefined'](_0x38d711[_0xa051d4(0x150)][_0xa051d4(0xd0)])){const _0x479b25={};_0x479b25[_0xa051d4(0xf8)]=_0x38d711[_0xa051d4(0x150)][_0xa051d4(0x9f)],_0x479b25['workingDir']=_0x38d711[_0xa051d4(0x150)][_0xa051d4(0xd0)],_0x4b2a63[_0xa051d4(0x10b)][_0xa051d4(0x157)]=_0x479b25;}}let _0x4199fc='';_0x3b631f[_0xa051d4(0xdd)](helper[_0xa051d4(0x99)](),constants[_0xa051d4(0x10d)][_0xa051d4(0x82)])?_0x4199fc=_0x3b631f[_0xa051d4(0xf1)]:_0x4199fc=_0x3b631f[_0xa051d4(0x128)];const _0x2e1be6=_0x4199fc,_0x50c64d=path[_0xa051d4(0xc4)](__dirname,_0x3b631f['vfHto'],_0x3b631f[_0xa051d4(0xe5)]),_0x3da5d7=path[_0xa051d4(0xc4)](__dirname,_0x3b631f[_0xa051d4(0x131)],_0x3b631f[_0xa051d4(0x93)]),_0x12a26e=path[_0xa051d4(0xc4)](__dirname,_0x3b631f['vfHto'],_0x3b631f[_0xa051d4(0x147)]);_0x4b2a63[_0xa051d4(0x120)]&&(process[_0xa051d4(0x115)]['BSTACK_JEST_TEST_ENV']=_0x4b2a63['testEnvironment']);_0x4b2a63[_0xa051d4(0x120)]=path[_0xa051d4(0xc4)](__dirname,_0x3b631f[_0xa051d4(0x131)],_0x3b631f[_0xa051d4(0xe8)]);const _0x149a0b=_0x485247['runner'];if(_0x149a0b&&_0x3b631f[_0xa051d4(0x7a)](_0x149a0b,_0x3b631f[_0xa051d4(0xdf)])){const _0xfe06a9=_0x149a0b['startsWith'](_0x3b631f[_0xa051d4(0xa6)])?_0x149a0b:_0xa051d4(0x12f)+_0x149a0b;process[_0xa051d4(0x115)][_0xa051d4(0x125)]=_0xfe06a9,logger[_0xa051d4(0x10e)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0xfe06a9);}_0x4b2a63[_0xa051d4(0xfb)]=_0x3da5d7,_0x4b2a63[_0xa051d4(0xe0)]=_0x4b2a63[_0xa051d4(0xe0)]||[],_0x4b2a63['setupFilesAfterEnv'][_0xa051d4(0xe2)](path[_0xa051d4(0xc4)](__dirname,_0x3b631f['rToMc']));_0x425b3f['isTestOrchestrationEnabled']()&&(_0x4b2a63[_0xa051d4(0x152)]=path[_0xa051d4(0xc4)](__dirname,_0x3b631f[_0xa051d4(0x131)],_0x3b631f[_0xa051d4(0x101)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0xa051d4(0x116)]()[_0xa051d4(0x14f)]()){let _0x3a1cbf=null;try{_0x3a1cbf=helper['requireModule'](_0x3b631f[_0xa051d4(0x6e)],_0x3b631f[_0xa051d4(0xea)]);}catch(_0x1ad042){try{_0x3a1cbf=helper['requireModule'](_0x3b631f[_0xa051d4(0x154)],_0x3b631f[_0xa051d4(0xea)]);}catch(_0x164427){_0x3b631f[_0xa051d4(0x89)](debug,_0xa051d4(0xc7)+_0x164427);}}_0x3a1cbf&&(testhubUtils[_0xa051d4(0xfa)]()&&_0x4b2a63[_0xa051d4(0xe0)]['push'](path[_0xa051d4(0xc4)](__dirname,_0x3b631f['QuYWS'],_0x3b631f[_0xa051d4(0x10f)])),_0x4b2a63['testRunner']=path['join'](__dirname,_0x3b631f[_0xa051d4(0x131)],_0x3b631f[_0xa051d4(0x113)]));}_0x4b2a63['setupFiles']=_0x4b2a63[_0xa051d4(0x12b)]||[];try{helper[_0xa051d4(0xf2)](),_0x4b2a63[_0xa051d4(0x12b)][_0xa051d4(0xe2)](path['join'](__dirname,_0x3b631f['ZwvrQ']));}catch{logger['debug'](_0x3b631f['bpMll']);}try{helper[_0xa051d4(0x87)][_0xa051d4(0xac)](null,[_0x3b631f['XJKDC'],_0x3b631f[_0xa051d4(0x149)]]),logger[_0xa051d4(0xa3)](_0x3b631f[_0xa051d4(0xd1)]),_0x4b2a63[_0xa051d4(0x12b)][_0xa051d4(0xe2)](path[_0xa051d4(0xc4)](__dirname,_0x3b631f[_0xa051d4(0xb6)]));}catch(_0x89eaa7){logger[_0xa051d4(0xa3)](_0x3b631f[_0xa051d4(0x72)],_0x89eaa7);}if(_0x3b631f[_0xa051d4(0x70)](!_0x14951e,_0x28a675)){try{logger[_0xa051d4(0xa3)](_0x3b631f['QisLl']),_0x4b2a63[_0xa051d4(0x12b)][_0xa051d4(0xe2)](path[_0xa051d4(0xc4)](__dirname,'..',_0x3b631f[_0xa051d4(0x127)],_0x3b631f[_0xa051d4(0xb6)]));}catch(_0x4091d8){logger[_0xa051d4(0xa3)]('Puppeteer\x20setup\x20error:\x20'+_0x4091d8[_0xa051d4(0x135)]);}try{const _0x3397ed=require[_0xa051d4(0xef)](_0x3b631f[_0xa051d4(0x15a)]),_0xdce676=path[_0xa051d4(0xde)](_0x3397ed)['replace'](/\\/g,'/'),_0x584b3b={};_0x584b3b['^puppeteer-core/internal/(.*)']=_0xdce676+_0xa051d4(0x100),_0x4b2a63[_0xa051d4(0x136)]=Object[_0xa051d4(0xc3)]({},_0x4b2a63[_0xa051d4(0x136)]||{},_0x584b3b),logger[_0xa051d4(0xa3)](_0xa051d4(0x79)+_0xdce676);}catch(_0x42f31f){logger['debug'](_0xa051d4(0x10c)+_0x42f31f['message']);}}_0x4b2a63[_0xa051d4(0x141)]=_0x4b2a63[_0xa051d4(0x141)]||[_0x3b631f['KFbiU']],_0x3b631f[_0xa051d4(0xcc)](updateTestRerunConfig,_0x4b2a63,_0x3c5e21);const _0x27a1ef=fs[_0xa051d4(0x94)](_0x12a26e),_0xbdac5f=helper[_0xa051d4(0x9e)](_0x3b631f['sozMY'],_0x3b631f['Sutzn']);!_0xbdac5f[_0xa051d4(0xee)]?fs[_0xa051d4(0xc6)](_0x4b2a63[_0xa051d4(0xfb)],_0xa051d4(0xf5)+_0x27a1ef+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x3c5e21['config'][_0xa051d4(0x14a)][_0xa051d4(0x105)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'):fs[_0xa051d4(0xc6)](_0x4b2a63['runner'],_0xa051d4(0xf5)+_0x27a1ef+_0xa051d4(0xd9)+_0x3c5e21[_0xa051d4(0x12c)][_0xa051d4(0x14a)][_0xa051d4(0x105)]+_0xa051d4(0xa1));logger[_0xa051d4(0x10e)](_0xa051d4(0x137)+_0x2e1be6+_0xa051d4(0xe6)),fs[_0xa051d4(0xc6)](_0x2e1be6,_0xa051d4(0x11b)+JSON[_0xa051d4(0x6c)](_0x4b2a63)+'\x0amodule.exports\x20=\x20config;');if(_0x425b3f[_0xa051d4(0x8f)]()){logger[_0xa051d4(0xa3)](_0x3b631f[_0xa051d4(0xd2)]);const _0x1d90f6=await _0x425b3f[_0xa051d4(0x11a)](_0x4b2a63,_0x25173e[_0xa051d4(0xe3)](0x1),_0x2e1be6);logger['debug'](_0xa051d4(0x6d)+JSON[_0xa051d4(0x6c)](_0x1d90f6)+'\x20test\x20files\x20to\x20run.');const _0x2fee94=await _0x425b3f[_0xa051d4(0xab)](_0x1d90f6);logger[_0xa051d4(0xa3)](_0xa051d4(0x107)+JSON[_0xa051d4(0x6c)](_0x2fee94)),_0x2fee94&&_0x3b631f[_0xa051d4(0xda)](_0x2fee94['length'],0x0)&&(process[_0xa051d4(0x115)][_0xa051d4(0x14c)]=_0x2fee94?.[_0xa051d4(0xc4)](','));}logger['info'](_0x3b631f[_0xa051d4(0x86)]);testhubUtils[_0xa051d4(0xfa)]()&&TestDetails['setup']();helper[_0xa051d4(0x96)]({},_0x25173e),PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);const _0x5753b6=[_0x3b631f[_0xa051d4(0x143)],_0x3b631f[_0xa051d4(0x111)],_0x2e1be6,..._0x25173e[_0xa051d4(0xe3)](0x1)],_0x16adfa=_0x3b631f[_0xa051d4(0xb9)](spawn,_0x3b631f[_0xa051d4(0x140)],_0x5753b6,{'shell':_0x3b631f[_0xa051d4(0x84)](process['platform'],_0x3b631f[_0xa051d4(0xeb)]),'stdio':_0x3b631f['SqxgJ'],'env':Object[_0xa051d4(0xc3)]({},process[_0xa051d4(0x115)])});_0x16adfa['on'](_0x3b631f[_0xa051d4(0x145)],async _0x2ba4e5=>{const _0x168f16=_0xa051d4;PerformanceTester[_0x168f16(0x9b)](PerformanceEvents[_0x168f16(0x122)]);try{const {browserstackFolderPath:_0x1849d3,tcgConfigPath:_0xa686eb}=helper[_0x168f16(0x102)]();fs[_0x168f16(0xb7)](_0xa686eb),fs[_0x168f16(0xaf)](_0x1849d3);}catch(_0x23c511){logger[_0x168f16(0xa3)](_0x3b631f['wZaSM'],_0x23c511);}process[_0x168f16(0xfe)]=_0x2ba4e5,logger[_0x168f16(0xa3)]('child\x20process\x20exited\x20with\x20code\x20'+_0x2ba4e5),logger[_0x168f16(0x10e)](_0x168f16(0x88)+_0x2e1be6);if(helper[_0x168f16(0x13d)](_0x38d711)&&helper['isNotUndefined'](_0x38d711[_0x168f16(0x150)])&&fs[_0x168f16(0xf4)](_0x38d711[_0x168f16(0x150)][_0x168f16(0xd0)]))try{const _0x412965={};_0x412965['recursive']=!![],_0x412965[_0x168f16(0x103)]=!![],fs[_0x168f16(0xf3)](_0x38d711[_0x168f16(0x150)][_0x168f16(0xd0)],_0x412965),logger[_0x168f16(0xa3)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x38d711['abortBuildOnFailure']['workingDir']);}catch(_0x40c9cb){logger[_0x168f16(0xee)](_0x168f16(0x90)+_0x40c9cb);}let _0x25c91e=null;if(fs['existsSync'](_0x50c64d)){_0x25c91e=fs['readFileSync'](_0x50c64d);try{_0x25c91e=JSON['parse'](_0x25c91e);}catch(_0x34d5fd){logger[_0x168f16(0xa3)](_0x168f16(0xa2)+_0x50c64d+',\x20'+_0x25c91e+_0x168f16(0x85)+_0x34d5fd);}fs['unlinkSync'](_0x50c64d);}fs[_0x168f16(0xb7)](_0x2e1be6),fs[_0x168f16(0xb7)](_0x3da5d7),_0x25c91e&&(_0x3c5e21[_0x168f16(0xb8)]=helper[_0x168f16(0x6b)](_0x25c91e,_0x3b631f['ygdTe'],_0x3c5e21));const _0x1f829e=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x168f16(0x71)](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0x563436){console[_0x168f16(0x118)](_0x563436),_0x3b631f[_0x168f16(0xdc)](debug,_0x168f16(0x14e)+util[_0x168f16(0x109)](_0x563436));}testOpsHelper[_0x168f16(0xb1)](),TestDetails[_0x168f16(0x7f)](),await utilities[_0x168f16(0xae)](_0x3c5e21,_0x1f829e);});}module['exports']=run;
@@ -1 +1 @@
1
- const a15_0x12cd91=a15_0x1dd8;function a15_0x3610(){const _0x35ff34=['22681KNhinL','jest-circus','jestAdapterInit','63MUKpfg','41458060XPvYFa','1073672MoPrXQ','initRequireModule','exports','jXNgF','join','5741508nSuHjC','116gJWFNJ','1026370yCnlqP','28vbOEQv','../../../helpers/helper','loGiO','default','customJestAdapterInit.js','function','rIsHF','path','includes','260784osTqxx','4022208cFFkBM','requireInternalModule','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js'];a15_0x3610=function(){return _0x35ff34;};return a15_0x3610();}function a15_0x1dd8(_0x1e105c,_0x14042d){const _0x36101c=a15_0x3610();return a15_0x1dd8=function(_0x1dd8f7,_0x39693f){_0x1dd8f7=_0x1dd8f7-0xc6;let _0x34e7bd=_0x36101c[_0x1dd8f7];return _0x34e7bd;},a15_0x1dd8(_0x1e105c,_0x14042d);}(function(_0xd05d2b,_0x138b59){const _0x3c37d8=a15_0x1dd8,_0x1e1dad=_0xd05d2b();while(!![]){try{const _0x3b0a19=parseInt(_0x3c37d8(0xd7))/0x1*(-parseInt(_0x3c37d8(0xc8))/0x2)+-parseInt(_0x3c37d8(0xd4))/0x3+-parseInt(_0x3c37d8(0xca))/0x4*(-parseInt(_0x3c37d8(0xc9))/0x5)+-parseInt(_0x3c37d8(0xc7))/0x6+parseInt(_0x3c37d8(0xda))/0x7*(-parseInt(_0x3c37d8(0xdc))/0x8)+-parseInt(_0x3c37d8(0xd3))/0x9+parseInt(_0x3c37d8(0xdb))/0xa;if(_0x3b0a19===_0x138b59)break;else _0x1e1dad['push'](_0x1e1dad['shift']());}catch(_0x4d9015){_0x1e1dad['push'](_0x1e1dad['shift']());}}}(a15_0x3610,0xb2e2b));const path=require(a15_0x12cd91(0xd1)),{requireModule}=require(a15_0x12cd91(0xcb));let initJestAdapter;try{initJestAdapter=requireModule(a15_0x12cd91(0xd6),a15_0x12cd91(0xd8));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a15_0x12cd91(0xd8));}initJestAdapter=typeof initJestAdapter===a15_0x12cd91(0xcf)?initJestAdapter:initJestAdapter[a15_0x12cd91(0xcd)];const FRAMEWORK_INITIALIZER=path[a15_0x12cd91(0xc6)](__dirname,a15_0x12cd91(0xce));module[a15_0x12cd91(0xde)]=(..._0x481853)=>{const _0x40922f=a15_0x12cd91,_0x3eff06={'jXNgF':_0x40922f(0xd9),'loGiO':function(_0x2bb984,_0x43fef7){return _0x2bb984===_0x43fef7;},'rIsHF':function(_0x5e8eab,..._0x111959){return _0x5e8eab(..._0x111959);}};return _0x481853[0x3]['initRequireModule']=_0x481853[0x3][_0x40922f(0xd5)],_0x481853[0x3][_0x40922f(0xd5)]=(..._0x1e60cb)=>{const _0x5c478c=_0x40922f;if(_0x1e60cb[0x0]&&_0x1e60cb[0x0][_0x5c478c(0xd2)](_0x3eff06[_0x5c478c(0xdf)])&&_0x3eff06[_0x5c478c(0xcc)](_0x1e60cb[0x1],undefined))return _0x481853[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x481853[0x3][_0x5c478c(0xdd)](..._0x1e60cb);},_0x3eff06[_0x40922f(0xd0)](initJestAdapter,..._0x481853);};
1
+ const a15_0x2e518=a15_0x3960;(function(_0x8ddcb8,_0x549d4c){const _0x33f68=a15_0x3960,_0xe0a7cb=_0x8ddcb8();while(!![]){try{const _0x51bc0b=-parseInt(_0x33f68(0x117))/0x1*(parseInt(_0x33f68(0x10d))/0x2)+parseInt(_0x33f68(0x10a))/0x3*(parseInt(_0x33f68(0x102))/0x4)+-parseInt(_0x33f68(0x114))/0x5*(-parseInt(_0x33f68(0x108))/0x6)+-parseInt(_0x33f68(0x109))/0x7+-parseInt(_0x33f68(0x115))/0x8+-parseInt(_0x33f68(0x101))/0x9*(-parseInt(_0x33f68(0x110))/0xa)+parseInt(_0x33f68(0x100))/0xb*(parseInt(_0x33f68(0x113))/0xc);if(_0x51bc0b===_0x549d4c)break;else _0xe0a7cb['push'](_0xe0a7cb['shift']());}catch(_0x20c6a6){_0xe0a7cb['push'](_0xe0a7cb['shift']());}}}(a15_0x2145,0xe5391));function a15_0x3960(_0x438408,_0x252535){const _0x214513=a15_0x2145();return a15_0x3960=function(_0x396057,_0x35b5bb){_0x396057=_0x396057-0xff;let _0x294525=_0x214513[_0x396057];return _0x294525;},a15_0x3960(_0x438408,_0x252535);}const path=require(a15_0x2e518(0x107)),{requireModule}=require(a15_0x2e518(0x111));function a15_0x2145(){const _0x2acd58=['requireInternalModule','initRequireModule','1590558XStRNa','join','includes','3120280wMSLjw','../../../helpers/helper','Bfvlm','470616TjQfLi','6351365gMaQnM','7956064bWYtKu','exports','1MrYjDG','znDRA','121lWoYwJ','36RHvtic','4DvWEfu','jestAdapterInit','jest-circus','default','jest-circus/build/runner.js','path','6wOQTwZ','2521729eYZura','417444URVcPu'];a15_0x2145=function(){return _0x2acd58;};return a15_0x2145();}let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a15_0x2e518(0x104));}catch{initJestAdapter=requireModule(a15_0x2e518(0x106),a15_0x2e518(0x104));}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a15_0x2e518(0x105)];const FRAMEWORK_INITIALIZER=path[a15_0x2e518(0x10e)](__dirname,'customJestAdapterInit.js');module[a15_0x2e518(0x116)]=(..._0x4e05eb)=>{const _0x2d01d9=a15_0x2e518,_0x88e354={'Ronkh':_0x2d01d9(0x103),'znDRA':function(_0x18c53a,_0x156969){return _0x18c53a===_0x156969;},'Bfvlm':function(_0x2a02f1,..._0x3756f4){return _0x2a02f1(..._0x3756f4);}};return _0x4e05eb[0x3]['initRequireModule']=_0x4e05eb[0x3][_0x2d01d9(0x10b)],_0x4e05eb[0x3][_0x2d01d9(0x10b)]=(..._0x5d7bb7)=>{const _0x53d001=_0x2d01d9;if(_0x5d7bb7[0x0]&&_0x5d7bb7[0x0][_0x53d001(0x10f)](_0x88e354['Ronkh'])&&_0x88e354[_0x53d001(0xff)](_0x5d7bb7[0x1],undefined))return _0x4e05eb[0x3][_0x53d001(0x10c)](FRAMEWORK_INITIALIZER);return _0x4e05eb[0x3][_0x53d001(0x10c)](..._0x5d7bb7);},_0x88e354[_0x2d01d9(0x112)](initJestAdapter,..._0x4e05eb);};
@@ -1 +1 @@
1
- const a16_0xae3271=a16_0x2434;(function(_0x5a2d52,_0x3672c5){const _0x1f22d6=a16_0x2434,_0xd77c6d=_0x5a2d52();while(!![]){try{const _0x1176fe=parseInt(_0x1f22d6(0x142))/0x1*(parseInt(_0x1f22d6(0x103))/0x2)+parseInt(_0x1f22d6(0x127))/0x3+parseInt(_0x1f22d6(0x14e))/0x4*(-parseInt(_0x1f22d6(0x153))/0x5)+-parseInt(_0x1f22d6(0x146))/0x6+parseInt(_0x1f22d6(0x12d))/0x7*(-parseInt(_0x1f22d6(0xfd))/0x8)+parseInt(_0x1f22d6(0xf0))/0x9+-parseInt(_0x1f22d6(0xfa))/0xa;if(_0x1176fe===_0x3672c5)break;else _0xd77c6d['push'](_0xd77c6d['shift']());}catch(_0x35c5bb){_0xd77c6d['push'](_0xd77c6d['shift']());}}}(a16_0xf877,0x92d95));const helper=require(a16_0xae3271(0x11d)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a16_0xae3271(0x148)),RequestQueueHandler=require(a16_0xae3271(0x14d)),ObservabilityReporter=require(a16_0xae3271(0x147)),testhubUtils=require(a16_0xae3271(0xe3)),logger=require(a16_0xae3271(0x136))[a16_0xae3271(0x14a)],getTestEnvironment=((()=>{const _0x4c93f9=a16_0xae3271,_0x1869a7={};_0x1869a7[_0x4c93f9(0x10f)]=_0x4c93f9(0x116),_0x1869a7[_0x4c93f9(0x143)]='jest-config';const _0x4e9f61=_0x1869a7;try{const _0x1130a9=helper[_0x4c93f9(0xfb)](_0x4e9f61[_0x4c93f9(0x10f)]);if(_0x1130a9[_0x4c93f9(0x117)])return _0x1130a9[_0x4c93f9(0x117)];const _0x56e45b=helper['requireModule'](_0x4e9f61[_0x4c93f9(0x143)]);if(_0x56e45b[_0x4c93f9(0x141)])return _0x56e45b[_0x4c93f9(0x141)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x5252fd=a16_0xae3271,_0x2246ed={'ZIhyo':function(_0x13d784,_0x1768c2){return _0x13d784(_0x1768c2);},'KUjQL':'node','JcvGA':function(_0x3a99b3,_0x12e5bc){return _0x3a99b3(_0x12e5bc);},'VFHON':_0x5252fd(0xfc),'KABjW':function(_0x6c0c2d,_0x2a12ea){return _0x6c0c2d(_0x2a12ea);}},_0x3dc44e=_0x2246ed['ZIhyo'](getTestEnvironment,{'rootDir':process[_0x5252fd(0xec)](),'testEnvironment':process[_0x5252fd(0x112)][_0x5252fd(0xe4)]||_0x2246ed[_0x5252fd(0x10c)]});if(!_0x3dc44e)return _0x2246ed[_0x5252fd(0x132)](_interopRequireDefault,helper['requireModule'](_0x2246ed[_0x5252fd(0xee)]));return _0x2246ed[_0x5252fd(0x126)](_interopRequireDefault,helper['requireModule'](_0x3dc44e));})()),_seleniumWebdriver2=((()=>{const _0xe2c6e9=a16_0xae3271,_0x155611={'ObALr':function(_0x3f3b3d,_0x93b86b){return _0x3f3b3d(_0x93b86b);}};try{const _0x57a1e2=helper['requireSeleniumWebdriver']();return helper[_0xe2c6e9(0x151)](),_0x155611[_0xe2c6e9(0x124)](_interopRequireDefault,_0x57a1e2);}catch{return null;}})());function _interopRequireDefault(_0x15dcd0){const _0x34b0e9=a16_0xae3271;return _0x15dcd0&&_0x15dcd0[_0x34b0e9(0x12a)]?_0x15dcd0:{'default':_0x15dcd0};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0xae3271(0x144)]['Builder']:null;function a16_0x2434(_0x2f3e40,_0xdb8ff5){const _0xf877b5=a16_0xf877();return a16_0x2434=function(_0x2434a9,_0x9a5bc0){_0x2434a9=_0x2434a9-0xe2;let _0x86649d=_0xf877b5[_0x2434a9];return _0x86649d;},a16_0x2434(_0x2f3e40,_0xdb8ff5);}class CustomEnvironment extends _jestUserEnvironment[a16_0xae3271(0x144)]{constructor(_0x36d3ef){const _0x1d26ab=a16_0xae3271,_0x384ef7={'thCYE':_0x1d26ab(0x130),'AnKUx':function(_0x5c7c84,_0x27b966){return _0x5c7c84+_0x27b966;},'UcTCR':_0x1d26ab(0xf6),'Atueh':function(_0x488361,_0x4543b5){return _0x488361(_0x4543b5);},'LUrgP':_0x1d26ab(0x12b),'DtXUg':_0x1d26ab(0x118),'SCqEi':_0x1d26ab(0x150),'waKOp':_0x1d26ab(0xe7),'rFjOB':_0x1d26ab(0xe6),'FyhSN':_0x1d26ab(0x14b),'HEBND':'browserstackPercyBestPlatform','Usiuc':_0x1d26ab(0x134)};super(_0x36d3ef),this[_0x1d26ab(0x13c)]['__timeout']=0x0,this[_0x1d26ab(0x100)]={};!_0x36d3ef[_0x1d26ab(0x150)]&&(_0x36d3ef[_0x1d26ab(0x150)]={});if(helper[_0x1d26ab(0x140)]()){_0x36d3ef[_0x1d26ab(0x150)]=_0x36d3ef[_0x1d26ab(0x135)]?_0x36d3ef[_0x1d26ab(0x135)][_0x1d26ab(0x150)]:_0x36d3ef['testEnvironmentOptions'];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0x1d26ab(0x144))]['Builder']());this[_0x1d26ab(0x131)]=_0x36d3ef[_0x1d26ab(0x135)]?_0x36d3ef[_0x1d26ab(0x135)][_0x1d26ab(0x131)]:_0x36d3ef[_0x1d26ab(0x131)],this[_0x1d26ab(0x13c)][_0x1d26ab(0xe8)]=_0x384ef7[_0x1d26ab(0xf7)](_0x36d3ef[_0x1d26ab(0x150)][_0x1d26ab(0x111)]||0x1388,constants[_0x1d26ab(0xf8)]),this[_0x1d26ab(0x129)]=_0x36d3ef['testEnvironmentOptions']['failFast'];if(this['failFastOptions']){const _0x44d06b=this[_0x1d26ab(0x131)][_0x384ef7[_0x1d26ab(0xfe)]]?.['buildName']||'',_0x7dc3de=this[_0x1d26ab(0x131)][_0x384ef7['UcTCR']]?.['projectName']||'';this[_0x1d26ab(0x13b)]=new(_0x384ef7[_0x1d26ab(0x12f)](require,_0x384ef7['LUrgP']))(this[_0x1d26ab(0x129)],_0x44d06b,_0x7dc3de),this['global'][_0x1d26ab(0x13f)]=![];}helper[_0x1d26ab(0x105)](_0x36d3ef['testEnvironmentOptions'][_0x1d26ab(0xed)])&&(this[_0x1d26ab(0x13c)]['__jestRetries']=_0x36d3ef[_0x1d26ab(0x150)][_0x1d26ab(0xed)]);}if(testhubUtils[_0x1d26ab(0x125)]()){const _0x1a3a4e=new ObservabilityReporter();_0x1a3a4e['registerListeners']();}this[_0x1d26ab(0x13c)][_0x1d26ab(0xef)]={},this[_0x1d26ab(0x100)]=_0x36d3ef['testEnvironmentOptions'],this[_0x1d26ab(0x100)][_0x1d26ab(0x11a)]=constants['FRAMEWORKS']['JEST'],this[_0x1d26ab(0x13c)][_0x1d26ab(0xf5)]=(_0x36d3ef[_0x1d26ab(0x135)]?_0x36d3ef[_0x1d26ab(0x135)][_0x1d26ab(0xf5)]:_0x36d3ef[_0x1d26ab(0xf5)])||0x0,this[_0x1d26ab(0x13c)][_0x1d26ab(0x123)]=this[_0x1d26ab(0x100)]&&this[_0x1d26ab(0x100)]['platformCaps']&&Array[_0x1d26ab(0x12e)](this[_0x1d26ab(0x100)]['platformCaps'])&&this[_0x1d26ab(0x100)][_0x1d26ab(0x120)][this[_0x1d26ab(0x13c)]['browserstackPlatformIndex']]||{};const _0x43190f=this[_0x1d26ab(0x13c)][_0x1d26ab(0xf5)],_0x4ca68a={...this[_0x1d26ab(0x100)],'capability':this[_0x1d26ab(0x100)][_0x1d26ab(0xf2)]&&Array[_0x1d26ab(0x12e)](this[_0x1d26ab(0x100)]['capabilities'])&&this[_0x1d26ab(0x100)][_0x1d26ab(0xf2)][_0x43190f]||{},'platformCaps':this['configuration'][_0x1d26ab(0x120)]&&Array[_0x1d26ab(0x12e)](this[_0x1d26ab(0x100)]['platformCaps'])&&this[_0x1d26ab(0x100)][_0x1d26ab(0x120)][_0x43190f]||{}};delete _0x4ca68a[_0x1d26ab(0xf2)],this['global'][_0x1d26ab(0x119)]=_0x4ca68a;if(_seleniumWebdriver2){const _0x358cb7=_0x384ef7['DtXUg'][_0x1d26ab(0xeb)]('|');let _0x1ff44b=0x0;while(!![]){switch(_0x358cb7[_0x1ff44b++]){case'0':this[_0x1d26ab(0x13c)]['percyCaptureMode']=helper[_0x1d26ab(0xf4)](_0x36d3ef,[_0x384ef7['SCqEi'],_0x384ef7[_0x1d26ab(0xf1)],_0x384ef7[_0x1d26ab(0x114)]]);continue;case'1':helper[_0x1d26ab(0x108)](this[_0x1d26ab(0x100)][_0x1d26ab(0x154)])?this[_0x1d26ab(0x13c)][_0x1d26ab(0x101)]=!![]:this[_0x1d26ab(0x13c)][_0x1d26ab(0x101)]=![];continue;case'2':this[_0x1d26ab(0x13c)][_0x1d26ab(0x11f)]=_0x384ef7[_0x1d26ab(0x12f)](require,_0x384ef7['FyhSN'])[_0x1d26ab(0x106)]({...this[_0x1d26ab(0x100)],'capability':this[_0x1d26ab(0x131)]||{}},this,testhubUtils[_0x1d26ab(0x125)]());continue;case'3':this[_0x1d26ab(0x13c)][_0x1d26ab(0x138)]=helper[_0x1d26ab(0xf4)](_0x36d3ef,[_0x384ef7[_0x1d26ab(0x121)],_0x384ef7[_0x1d26ab(0xf1)],_0x384ef7[_0x1d26ab(0x104)]]);continue;case'4':this['global']['percy']=helper[_0x1d26ab(0xf4)](_0x36d3ef,[_0x384ef7[_0x1d26ab(0x121)],_0x384ef7[_0x1d26ab(0xf1)],_0x384ef7[_0x1d26ab(0x14f)]]);continue;case'5':this['global'][_0x1d26ab(0x10a)]=[];continue;case'6':this[_0x1d26ab(0x13c)][_0x1d26ab(0xe9)]=helper[_0x1d26ab(0x108)](this[_0x1d26ab(0x100)][_0x1d26ab(0x145)]);continue;case'7':this['global'][_0x1d26ab(0x11b)]=async()=>{const _0x16bc06=_0x1d26ab;await this[_0x16bc06(0x13c)][_0x16bc06(0x14c)][_0x16bc06(0x130)](_0x384ef7[_0x16bc06(0x10e)]);};continue;}break;}}}async['teardown'](){const _0x42f6e3=a16_0xae3271;_seleniumWebdriver2&&(await helper[_0x42f6e3(0x113)](this['global'][_0x42f6e3(0x110)]),this['global'][_0x42f6e3(0x11f)]['Builder']=originalBuilder),await RequestQueueHandler[_0x42f6e3(0x10b)]()['shutdown']();}async[a16_0xae3271(0x13d)](){}async['handleTestEvent'](_0x4a4996,_0x54ff89){const _0x5e1185=a16_0xae3271,_0x198a84={};_0x198a84[_0x5e1185(0x11e)]=function(_0x573c08,_0x1009c6){return _0x573c08===_0x1009c6;},_0x198a84[_0x5e1185(0x10d)]=_0x5e1185(0x13a),_0x198a84[_0x5e1185(0x107)]=function(_0xb69f72,_0x33cc8c){return _0xb69f72===_0x33cc8c;},_0x198a84[_0x5e1185(0xe5)]=_0x5e1185(0x133),_0x198a84[_0x5e1185(0x13e)]=function(_0x3fabcd,_0x3848e7){return _0x3fabcd===_0x3848e7;},_0x198a84[_0x5e1185(0xea)]='test_done',_0x198a84[_0x5e1185(0x109)]=_0x5e1185(0xf9),_0x198a84[_0x5e1185(0xe2)]=function(_0x41dbd3,_0x3c978a){return _0x41dbd3===_0x3c978a;},_0x198a84[_0x5e1185(0x122)]='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x198a84[_0x5e1185(0xf3)]=function(_0x28ecf2,_0x3d48bf){return _0x28ecf2===_0x3d48bf;},_0x198a84['TVfGc']='teardown';const _0xb38ae1=_0x198a84,{name:_0x52b668}=_0x4a4996;if(_0xb38ae1['XxByH'](_0x52b668,_0xb38ae1[_0x5e1185(0x10d)])){this[_0x5e1185(0x13c)]['testContext']=_0x4a4996[_0x5e1185(0x128)];if(_0xb38ae1[_0x5e1185(0x107)](this[_0x5e1185(0x13c)][_0x5e1185(0x13f)],!![])){const _0x512b73=_0x4a4996['test'][_0x5e1185(0x139)];logger['info'](_0x5e1185(0x11c)+_0x512b73),_0x4a4996['test'][_0x5e1185(0x12c)]=_0xb38ae1[_0x5e1185(0xe5)];}}if(this['failFast']&&_0xb38ae1[_0x5e1185(0x13e)](_0x52b668,_0xb38ae1[_0x5e1185(0xea)]))try{const _0x264ee8=_0x4a4996['test']['testPath'][_0x5e1185(0x149)](_0xb38ae1[_0x5e1185(0x109)]),_0x4da764=_0x4a4996['test']['errors'];await this['failFast'][_0x5e1185(0x102)](_0x264ee8,_0x4da764);const _0x2aa7b3=await this['failFast'][_0x5e1185(0x115)]();_0xb38ae1[_0x5e1185(0xe2)](this[_0x5e1185(0x13c)][_0x5e1185(0x13f)],![])&&_0xb38ae1[_0x5e1185(0x11e)](_0x2aa7b3,!![])&&(this[_0x5e1185(0x13c)]['failFastActive']=!![]);}catch(_0x1cdcb3){logger[_0x5e1185(0xff)](_0xb38ae1[_0x5e1185(0x122)],_0x1cdcb3[_0x5e1185(0x137)]);}_0xb38ae1[_0x5e1185(0xf3)](_0x52b668,_0xb38ae1[_0x5e1185(0x152)])&&(this[_0x5e1185(0x13b)]&&this[_0x5e1185(0x13b)][_0x5e1185(0x11b)]());}}module['exports']=CustomEnvironment;function a16_0xf877(){const _0x561e84=['percy','projectConfig','../../../helpers/logger','message','browserstackPercyBestPlatform','name','test_start','failFast','global','setup','TIzla','failFastActive','isBrowserstackInfra','getTestEnvironment','39uPXRAP','zJTIL','default','skipSessionStatus','14190Pqggnn','../test-observability/obsReporter','../../../helpers/test-observability/utils','join','winstonLogger','../../../index','driver','../../../helpers/test-observability/requestQueueHandler','2992820GoydWf','Usiuc','testEnvironmentOptions','modifyCommand','TVfGc','5cdqXGR','skipSessionName','HzfkA','../../../helpers/testhub/utils','BSTACK_JEST_TEST_ENV','SIRkp','percyCaptureMode','browserStackPercyOptions','__timeout','__skipSessionStatus','FfsDf','split','cwd','retries__','VFHON','browserStackGlobals','2264229kwcfFP','waKOp','capabilities','LYWuD','nestedKeyValue','browserstackPlatformIndex','bstack:options','AnKUx','BSTACK_DELTA','\x20>\x20','1056450ZzOfyb','requireModule','jest-environment-node','1038032zXjxHm','UcTCR','debug','configuration','sessionNameProvided','onTestDone','39132KYDrHD','HEBND','isNotUndefined','browserstackAgentV2','FoQhc','isTrue','AjMfH','__drivers','getInstance','KUjQL','kAVqc','thCYE','EKiHZ','__driversArray','timeout__','env','cleanupDrivers','rFjOB','shouldFailFast','jest-resolve','resolveTestEnvironment','5|2|3|4|0|1|6|7','jestConfig','framework','cleanup','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','../../../helpers/helper','XxByH','__webdriver','platformCaps','SCqEi','sFQlP','__platformCaps','ObALr','shouldProcessEventForTesthub','KABjW','3275469FReNXv','test','failFastOptions','__esModule','../../../helpers/test-orchestration/failfastManager','mode','35nVDmJA','isArray','Atueh','quit','capability','JcvGA','skip'];a16_0xf877=function(){return _0x561e84;};return a16_0xf877();}
1
+ const a16_0xf227be=a16_0x5979;(function(_0x3de6ec,_0x15b7af){const _0x27b820=a16_0x5979,_0x4ec3cf=_0x3de6ec();while(!![]){try{const _0x4ad2d7=-parseInt(_0x27b820(0xc8))/0x1+-parseInt(_0x27b820(0xfb))/0x2+parseInt(_0x27b820(0xa0))/0x3*(parseInt(_0x27b820(0xb2))/0x4)+-parseInt(_0x27b820(0xfa))/0x5+parseInt(_0x27b820(0xa5))/0x6+-parseInt(_0x27b820(0xb7))/0x7+parseInt(_0x27b820(0xe8))/0x8;if(_0x4ad2d7===_0x15b7af)break;else _0x4ec3cf['push'](_0x4ec3cf['shift']());}catch(_0x55d372){_0x4ec3cf['push'](_0x4ec3cf['shift']());}}}(a16_0x3c5a,0xa397d));const helper=require('../../../helpers/helper'),constants=require(a16_0xf227be(0xca)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a16_0xf227be(0xd4)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a16_0xf227be(0x9e)),logger=require(a16_0xf227be(0x105))[a16_0xf227be(0xda)],getTestEnvironment=((()=>{const _0x5c25a5=a16_0xf227be,_0x5e5eaa={};_0x5e5eaa['cpYxk']=_0x5c25a5(0xaa),_0x5e5eaa[_0x5c25a5(0xa6)]=_0x5c25a5(0xfd);const _0x312aa7=_0x5e5eaa;try{const _0x30a29a=helper[_0x5c25a5(0xaf)](_0x312aa7[_0x5c25a5(0xb1)]);if(_0x30a29a[_0x5c25a5(0xb6)])return _0x30a29a[_0x5c25a5(0xb6)];const _0x257a64=helper[_0x5c25a5(0xaf)](_0x312aa7[_0x5c25a5(0xa6)]);if(_0x257a64[_0x5c25a5(0xa1)])return _0x257a64['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x2b283c=a16_0xf227be,_0x57f453={'dmvum':function(_0x52e193,_0x576a5f){return _0x52e193(_0x576a5f);},'qxxwi':'node','onegE':function(_0x3ac485,_0x51af87){return _0x3ac485(_0x51af87);},'mPOif':_0x2b283c(0xea),'fgxHB':function(_0x2bbe0d,_0x1a2479){return _0x2bbe0d(_0x1a2479);}},_0x587264=_0x57f453[_0x2b283c(0xae)](getTestEnvironment,{'rootDir':process[_0x2b283c(0xc1)](),'testEnvironment':process['env'][_0x2b283c(0x107)]||_0x57f453[_0x2b283c(0xb4)]});if(!_0x587264)return _0x57f453[_0x2b283c(0x101)](_interopRequireDefault,helper['requireModule'](_0x57f453[_0x2b283c(0xe0)]));return _0x57f453[_0x2b283c(0x10d)](_interopRequireDefault,helper[_0x2b283c(0xaf)](_0x587264));})()),_seleniumWebdriver2=((()=>{const _0xc2ac48=a16_0xf227be,_0x101260={'xeKgC':function(_0x238d86,_0x3a0bd4){return _0x238d86(_0x3a0bd4);}};try{const _0x4b0082=helper[_0xc2ac48(0xc4)]();return helper[_0xc2ac48(0xa7)](),_0x101260[_0xc2ac48(0x109)](_interopRequireDefault,_0x4b0082);}catch{return null;}})());function _interopRequireDefault(_0x3b0bfb){return _0x3b0bfb&&_0x3b0bfb['__esModule']?_0x3b0bfb:{'default':_0x3b0bfb};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0xf227be(0x10a)][a16_0xf227be(0xd6)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0xf227be(0x10a)]{constructor(_0x3e72ee){const _0x27ef58=a16_0xf227be,_0x3e2617={'dJTFl':_0x27ef58(0xf2),'bhBSd':function(_0x2e11ba,_0x28f57c){return _0x2e11ba+_0x28f57c;},'zOdOh':_0x27ef58(0xbc),'Qrrag':function(_0x2a3b96,_0x5b145d){return _0x2a3b96(_0x5b145d);},'SdIgJ':_0x27ef58(0xe4),'OJWzT':_0x27ef58(0xdb),'AjUKb':_0x27ef58(0xac),'Bhayy':_0x27ef58(0xcc),'aLIlI':_0x27ef58(0xec),'DwBkV':function(_0x52867e,_0x3877a4){return _0x52867e(_0x3877a4);},'gkatN':'../../../index','AuDOq':'percyCaptureMode','svwvN':_0x27ef58(0xdf)};super(_0x3e72ee),this['global'][_0x27ef58(0xd7)]=0x0,this[_0x27ef58(0xde)]={};!_0x3e72ee[_0x27ef58(0xac)]&&(_0x3e72ee[_0x27ef58(0xac)]={});if(helper[_0x27ef58(0xdd)]()){_0x3e72ee['testEnvironmentOptions']=_0x3e72ee[_0x27ef58(0xef)]?_0x3e72ee['projectConfig'][_0x27ef58(0xac)]:_0x3e72ee[_0x27ef58(0xac)];_seleniumWebdriver2&&(this[_0x27ef58(0xfc)]=new _seleniumWebdriver2[(_0x27ef58(0x10a))]['Builder']());this[_0x27ef58(0x108)]=_0x3e72ee['projectConfig']?_0x3e72ee[_0x27ef58(0xef)]['capability']:_0x3e72ee[_0x27ef58(0x108)],this[_0x27ef58(0x102)][_0x27ef58(0xd7)]=_0x3e2617[_0x27ef58(0xcd)](_0x3e72ee[_0x27ef58(0xac)]['timeout__']||0x1388,constants[_0x27ef58(0xbf)]),this[_0x27ef58(0x9d)]=_0x3e72ee[_0x27ef58(0xac)][_0x27ef58(0xf8)];if(this[_0x27ef58(0x9d)]){const _0x23ce36=this[_0x27ef58(0x108)][_0x3e2617[_0x27ef58(0xf9)]]?.[_0x27ef58(0xc6)]||'',_0x51f95c=this['capability'][_0x3e2617['zOdOh']]?.['projectName']||'';this[_0x27ef58(0xf8)]=new(_0x3e2617[_0x27ef58(0xd3)](require,_0x3e2617[_0x27ef58(0xa8)]))(this[_0x27ef58(0x9d)],_0x23ce36,_0x51f95c),this[_0x27ef58(0x102)][_0x27ef58(0x9a)]=![];}helper[_0x27ef58(0xc0)](_0x3e72ee['testEnvironmentOptions'][_0x27ef58(0xff)])&&(this[_0x27ef58(0x102)][_0x27ef58(0xa4)]=_0x3e72ee[_0x27ef58(0xac)][_0x27ef58(0xff)]);}if(testhubUtils[_0x27ef58(0xf6)]()){const _0x33e3d1=new ObservabilityReporter();_0x33e3d1['registerListeners']();}this[_0x27ef58(0x102)][_0x27ef58(0xe1)]={},this['configuration']=_0x3e72ee[_0x27ef58(0xac)],this[_0x27ef58(0xde)]['framework']=constants[_0x27ef58(0xbb)][_0x27ef58(0xe9)],this[_0x27ef58(0x102)][_0x27ef58(0xd9)]=(_0x3e72ee[_0x27ef58(0xef)]?_0x3e72ee[_0x27ef58(0xef)][_0x27ef58(0xd9)]:_0x3e72ee['browserstackPlatformIndex'])||0x0,this[_0x27ef58(0x102)][_0x27ef58(0xab)]=this[_0x27ef58(0xde)]&&this['configuration']['platformCaps']&&Array['isArray'](this[_0x27ef58(0xde)][_0x27ef58(0xa2)])&&this['configuration'][_0x27ef58(0xa2)][this['global']['browserstackPlatformIndex']]||{};const _0x23a8db=this[_0x27ef58(0x102)][_0x27ef58(0xd9)],_0x373ad0={...this[_0x27ef58(0xde)],'capability':this[_0x27ef58(0xde)][_0x27ef58(0xcb)]&&Array['isArray'](this['configuration'][_0x27ef58(0xcb)])&&this[_0x27ef58(0xde)]['capabilities'][_0x23a8db]||{},'platformCaps':this['configuration'][_0x27ef58(0xa2)]&&Array[_0x27ef58(0xc5)](this[_0x27ef58(0xde)][_0x27ef58(0xa2)])&&this[_0x27ef58(0xde)][_0x27ef58(0xa2)][_0x23a8db]||{}};delete _0x373ad0['capabilities'],this['global'][_0x27ef58(0xa9)]=_0x373ad0;if(_seleniumWebdriver2){const _0x56983a=_0x3e2617[_0x27ef58(0x10c)][_0x27ef58(0xeb)]('|');let _0x337a99=0x0;while(!![]){switch(_0x56983a[_0x337a99++]){case'0':this['global']['percy']=helper[_0x27ef58(0xad)](_0x3e72ee,[_0x3e2617[_0x27ef58(0x103)],_0x3e2617[_0x27ef58(0x106)],_0x3e2617['aLIlI']]);continue;case'1':this[_0x27ef58(0x102)][_0x27ef58(0xb9)]=_0x3e2617[_0x27ef58(0xd5)](require,_0x3e2617[_0x27ef58(0xf0)])[_0x27ef58(0xb3)]({...this[_0x27ef58(0xde)],'capability':this[_0x27ef58(0x108)]||{}},this,testhubUtils[_0x27ef58(0xf6)]());continue;case'2':this[_0x27ef58(0x102)][_0x27ef58(0xd2)]=async()=>{const _0x217153=_0x27ef58;await this[_0x217153(0x102)][_0x217153(0xe7)]['quit'](_0x3e2617[_0x217153(0x9b)]);};continue;case'3':this[_0x27ef58(0x102)][_0x27ef58(0xb8)]=helper[_0x27ef58(0xad)](_0x3e72ee,[_0x3e2617[_0x27ef58(0x103)],_0x3e2617[_0x27ef58(0x106)],_0x3e2617[_0x27ef58(0xed)]]);continue;case'4':this[_0x27ef58(0x102)][_0x27ef58(0xdf)]=helper[_0x27ef58(0xad)](_0x3e72ee,[_0x3e2617['AjUKb'],_0x3e2617[_0x27ef58(0x106)],_0x3e2617['svwvN']]);continue;case'5':helper[_0x27ef58(0x10e)](this['configuration'][_0x27ef58(0xdc)])?this['global'][_0x27ef58(0xd1)]=!![]:this[_0x27ef58(0x102)][_0x27ef58(0xd1)]=![];continue;case'6':this['global'][_0x27ef58(0xb5)]=[];continue;case'7':this[_0x27ef58(0x102)][_0x27ef58(0xc7)]=helper[_0x27ef58(0x10e)](this[_0x27ef58(0xde)][_0x27ef58(0xf4)]);continue;}break;}}}async[a16_0xf227be(0xf5)](){const _0x5a7fb7=a16_0xf227be;_seleniumWebdriver2&&(await helper[_0x5a7fb7(0xe3)](this['global'][_0x5a7fb7(0x9f)]),this[_0x5a7fb7(0x102)]['__webdriver'][_0x5a7fb7(0xd6)]=originalBuilder),await RequestQueueHandler[_0x5a7fb7(0xfe)]()[_0x5a7fb7(0xc2)]();}async[a16_0xf227be(0x10b)](){}async[a16_0xf227be(0xee)](_0x2f287a,_0x5a2cd9){const _0xcdd2b0=a16_0xf227be,_0x5470e6={};_0x5470e6[_0xcdd2b0(0xc9)]=function(_0x1ff678,_0x2250c3){return _0x1ff678===_0x2250c3;},_0x5470e6[_0xcdd2b0(0xd8)]='test_start',_0x5470e6[_0xcdd2b0(0xe5)]=_0xcdd2b0(0xba),_0x5470e6[_0xcdd2b0(0x104)]=_0xcdd2b0(0xce),_0x5470e6[_0xcdd2b0(0xf7)]=_0xcdd2b0(0xd0),_0x5470e6[_0xcdd2b0(0xf1)]=function(_0x2ad75d,_0x46b9a2){return _0x2ad75d===_0x46b9a2;},_0x5470e6[_0xcdd2b0(0xbe)]=_0xcdd2b0(0x100),_0x5470e6[_0xcdd2b0(0xb0)]='teardown';const _0x3bf6cc=_0x5470e6,{name:_0xca3497}=_0x2f287a;if(_0x3bf6cc['BLaAO'](_0xca3497,_0x3bf6cc['kFpyS'])){this['global'][_0xcdd2b0(0xe2)]=_0x2f287a['test'];if(_0x3bf6cc[_0xcdd2b0(0xc9)](this[_0xcdd2b0(0x102)][_0xcdd2b0(0x9a)],!![])){const _0xa2bf29=_0x2f287a[_0xcdd2b0(0xa3)]['name'];logger['info']('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0xa2bf29),_0x2f287a['test'][_0xcdd2b0(0x9c)]=_0x3bf6cc[_0xcdd2b0(0xe5)];}}if(this['failFast']&&_0x3bf6cc[_0xcdd2b0(0xc9)](_0xca3497,_0x3bf6cc['Uapmj']))try{const _0xd7e642=_0x2f287a[_0xcdd2b0(0xa3)][_0xcdd2b0(0xf3)]['join'](_0x3bf6cc['aqIrV']),_0x24b5d2=_0x2f287a[_0xcdd2b0(0xa3)][_0xcdd2b0(0xc3)];await this[_0xcdd2b0(0xf8)][_0xcdd2b0(0xbd)](_0xd7e642,_0x24b5d2);const _0x2b541f=await this['failFast'][_0xcdd2b0(0xcf)]();_0x3bf6cc[_0xcdd2b0(0xf1)](this[_0xcdd2b0(0x102)][_0xcdd2b0(0x9a)],![])&&_0x3bf6cc[_0xcdd2b0(0xf1)](_0x2b541f,!![])&&(this[_0xcdd2b0(0x102)][_0xcdd2b0(0x9a)]=!![]);}catch(_0x4ee068){logger[_0xcdd2b0(0xe6)](_0x3bf6cc[_0xcdd2b0(0xbe)],_0x4ee068['message']);}_0x3bf6cc['BLaAO'](_0xca3497,_0x3bf6cc[_0xcdd2b0(0xb0)])&&(this[_0xcdd2b0(0xf8)]&&this[_0xcdd2b0(0xf8)][_0xcdd2b0(0xd2)]());}}function a16_0x5979(_0x548ea0,_0x330a24){const _0x3c5a9f=a16_0x3c5a();return a16_0x5979=function(_0x59797a,_0x3c63ef){_0x59797a=_0x59797a-0x9a;let _0x1ef497=_0x3c5a9f[_0x59797a];return _0x1ef497;},a16_0x5979(_0x548ea0,_0x330a24);}module['exports']=CustomEnvironment;function a16_0x3c5a(){const _0x2d0eb2=['browserstackPlatformIndex','winstonLogger','6|1|4|0|3|5|7|2','skipSessionName','isBrowserstackInfra','configuration','browserstackPercyBestPlatform','mPOif','browserStackGlobals','testContext','cleanupDrivers','../../../helpers/test-orchestration/failfastManager','Zrgeq','debug','driver','21624480hgBQzQ','JEST','jest-environment-node','split','percy','AuDOq','handleTestEvent','projectConfig','gkatN','DlNHw','quit','testPath','skipSessionStatus','teardown','shouldProcessEventForTesthub','aqIrV','failFast','zOdOh','2416345ejTrvy','307502ZSqczH','builder','jest-config','getInstance','retries__','Error\x20in\x20fail-fast\x20test_done\x20handler:','onegE','global','AjUKb','Uapmj','../../../helpers/logger','Bhayy','BSTACK_JEST_TEST_ENV','capability','xeKgC','default','setup','OJWzT','fgxHB','isTrue','failFastActive','dJTFl','mode','failFastOptions','../../../helpers/testhub/utils','__driversArray','274539TkTKIu','getTestEnvironment','platformCaps','test','__jestRetries','527544kBBcYr','rRNzf','modifyCommand','SdIgJ','jestConfig','jest-resolve','__platformCaps','testEnvironmentOptions','nestedKeyValue','dmvum','requireModule','yxapV','cpYxk','4TkKIfq','browserstackAgentV2','qxxwi','__drivers','resolveTestEnvironment','9257927DzqZjS','percyCaptureMode','__webdriver','skip','FRAMEWORKS','bstack:options','onTestDone','kksVu','BSTACK_DELTA','isNotUndefined','cwd','shutdown','errors','requireSeleniumWebdriver','isArray','buildName','__skipSessionStatus','252839vxxTiT','BLaAO','../../utils/constants','capabilities','browserStackPercyOptions','bhBSd','test_done','shouldFailFast','\x20>\x20','sessionNameProvided','cleanup','Qrrag','../../../helpers/test-observability/requestQueueHandler','DwBkV','Builder','__timeout','kFpyS'];a16_0x3c5a=function(){return _0x2d0eb2;};return a16_0x3c5a();}
@@ -1 +1 @@
1
- const a17_0x4424f8=a17_0x4371;(function(_0x1ba95d,_0x2ad6c7){const _0x313025=a17_0x4371,_0x74efa5=_0x1ba95d();while(!![]){try{const _0x118de8=parseInt(_0x313025(0x18a))/0x1+parseInt(_0x313025(0x186))/0x2*(-parseInt(_0x313025(0x1c0))/0x3)+parseInt(_0x313025(0x1ed))/0x4+-parseInt(_0x313025(0x1e0))/0x5+-parseInt(_0x313025(0x131))/0x6+parseInt(_0x313025(0x17e))/0x7*(-parseInt(_0x313025(0x19c))/0x8)+parseInt(_0x313025(0x1bf))/0x9*(parseInt(_0x313025(0x183))/0xa);if(_0x118de8===_0x2ad6c7)break;else _0x74efa5['push'](_0x74efa5['shift']());}catch(_0x2e89da){_0x74efa5['push'](_0x74efa5['shift']());}}}(a17_0x3203,0x893c6));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require(a17_0x4424f8(0x16a)),RequestQueueHandler=require(a17_0x4424f8(0x1d0)),TestDetails=require(a17_0x4424f8(0x180)),{patchConsoleLogger,debug}=require(a17_0x4424f8(0x155)),{o11yErrorHandler}=require(a17_0x4424f8(0x151)),{shouldProcessEventForTesthub}=require(a17_0x4424f8(0x11e)),testHubConstants=require(a17_0x4424f8(0x1f4)),BrowserstackCLI=require(a17_0x4424f8(0x19e)),TestFrameworkState=require(a17_0x4424f8(0x185)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x4424f8(0x158)),{v4:uuidv4}=require(a17_0x4424f8(0x1f3)),util=require(a17_0x4424f8(0x1b8)),logger=require(a17_0x4424f8(0x16b))[a17_0x4424f8(0x10b)],{FRAMEWORKS}=require(a17_0x4424f8(0x1bb));let exportsI;try{exportsI=requireModule(a17_0x4424f8(0x1d4),a17_0x4424f8(0x112));}catch{exportsI=requireModule(a17_0x4424f8(0x17f),a17_0x4424f8(0x112));}function a17_0x3203(){const _0x576e7d=['AFTER_EACH',':hookAnalyticsId','hDPZL','env','winstonLogger','test_done','mJxMY','testUUID','lAuaT','Bampj','call','jest-circus','BEFORE_EACH','\x20for\x20hook\x20type:\x20','stack-trace','TEST','PRE','TestRunStarted','\x20>\x20','tetPy','kIOpJ','jest-circus/build/utils.js','WOEOh','../../../helpers/testhub/utils','Error\x20reading\x20platformIndex\x20from\x20args:\x20','DDWTC','map','testAnalyticsId','bootstrap','UQJzD','trackEvent','currentTest','agQvP','CnwAK','setFrameworkDetail','HookFinished','siOrA','BROWSERSTACK_PUPPETEER','pihvx','JEST','Error\x20routing\x20to\x20JestTestFramework:\x20','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','6115680rAFXQc','jestConfig','VXyOU','hook_failure','seLVX','ASBvO','POST','BROWSERSTACK_PLATFORM_INDEX','run_describe_finish','started_at','name','unhandledErrors','debug','huDrX','createHookData','toString','FGChe','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','file','sendTestRunEvent','Wmrik','pid','afterAll','../../v2/cliUtils','raSsS','number','iQDyQ','BROWSERSTACK_CLI_BIN_SESSION_ID','AFXWR','hSqgc','mCkhB','markedStatus','../../../helpers/test-observability/error-handler','Ojism','beforeEach','vMfzr','../../../helpers/test-observability/utils','wXGSw','YZmqv','../../v2/utils/jest-utils','createIdentifierFromJestTest','PUPPETEER','parse','hookUUID','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','vaXhl','PKXKz','SMwXZ','getFileName','isCliEnabled','state','FdBcl','browserstackPlatformIndex','PLAYWRIGHT','getTestFramework','tqqXn','currentHook','../test-observability/obsReporter','../../../helpers/logger','LOG_REPORT','ZHJNh',',\x20BROWSERSTACK_PUPPETEER=','current_test','EVENT','makeSingleTestResult','removeTestUUID','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','HookStarted','__jestCurrentTestIdentifier','status','originalTest','sizpW','_bstackTestStatus','setActiveHook','tqBYW','lKEaj','message','233821oYkXCX','jest-circus/build/jestAdapterInit.js','../test-observability/test-details','tALdC','HookRunFinished','3543430kphTMY','oOiNs','../../v2/state/testFrameworkState','136SZthkg','ROOT_DESCRIBE_BLOCK','__workerDetails','has','216798SvQfqc','initialize','hookData','title','sHCRX','createTestFrameworkData','uCCss','NYGkf','registerListeners','BEFORE_ALL','nDUzo','yzoAF','lVpcB','mqeZA','ljkgd','nRMfC','YwAcf','isArray','24oWNThe','RfaKc','../../v2/browserstackCLI','afterEach','XhRFf','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','join','test_skip','errorsDetailed','fail','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','passed','rbnFB','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','_bstackTestName','KwZhR','retryOf','mFoCj','parent','HookRunStarted',',\x20re-registering\x20event\x20handler','forEach','qTRCT','TestRunFinished','addEventHandler','isRunning','TestRunSkipped','testInfo','util','QqwWo','removeActiveHook','../../utils/constants','jest-circus/build/state.js','hook_success','VDKoX','63ALLuOR','38769cyUBuc','QpedW','hookAnalyticsId','kJDKc','test_start','CLI\x20is\x20enabled\x20and\x20running.','testIdentifier','hook','HqJzH','qajUI','configuration','teardown','Handling\x20test\x20event\x20for\x20CLI:\x20','buDdg','type','length','../../../helpers/test-observability/requestQueueHandler','pUcxn','wTfza','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','mZfaQ','asyncError','setTestUUID','FIFBe','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','test','getAutomationFrameworkDetail','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','error','true','PaEFh','4697210WwZedL','shutdown','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','add','_bstackTestFailureReason','beforeAll','Handling\x20hook\x20event\x20for\x20CLI:\x20','match','zZOjA','toISOString','browserstackTestName','removeAllListeners','getInstance','3210456izlwUf','format','OXMMI','__bstackPlatformIndex','config','failed','uuid','../../../helpers/testhub/constants','gqVtQ','cJXco'];a17_0x3203=function(){return _0x576e7d;};return a17_0x3203();}const initInitialize=exportsI['initialize'],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x6a325=a17_0x4424f8,_0x1f21c0={'RfaKc':_0x6a325(0x1c5),'tqBYW':function(_0x4dcd27,_0x522a4a){return _0x4dcd27(_0x522a4a);},'vMfzr':_0x6a325(0x148),'YZmqv':function(_0x8ece1a,_0x3f154f){return _0x8ece1a===_0x3f154f;},'raSsS':_0x6a325(0x1de),'vaXhl':function(_0x22d8c9,_0x57533a){return _0x22d8c9(_0x57533a);}};try{const _0x5ac873=BrowserstackCLI[_0x6a325(0x1ec)]();if(_0x5ac873[_0x6a325(0x162)]()&&_0x5ac873[_0x6a325(0x1b5)]())return logger[_0x6a325(0x13d)](_0x1f21c0[_0x6a325(0x19d)]),!![];const _0x195355=process[_0x6a325(0x10a)][_0x6a325(0x14c)];if(_0x195355&&_0x5ac873[_0x6a325(0x162)]()){if(!_0x5ac873[_0x6a325(0x1b5)]())try{const _0x42f587=_0x1f21c0['tqBYW'](require,_0x1f21c0[_0x6a325(0x154)]),_0x27f9fd=_0x42f587[_0x6a325(0x1db)]();(!_0x27f9fd||!_0x27f9fd['name'])&&(_0x1f21c0[_0x6a325(0x157)](process[_0x6a325(0x10a)][_0x6a325(0x12c)],_0x1f21c0[_0x6a325(0x149)])?_0x42f587['setFrameworkDetail'](FRAMEWORKS[_0x6a325(0x12e)],FRAMEWORKS[_0x6a325(0x15a)]):_0x42f587[_0x6a325(0x129)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x6a325(0x166)])),await _0x5ac873[_0x6a325(0x123)]();}catch(_0x2990ed){return _0x1f21c0[_0x6a325(0x17b)](debug,_0x6a325(0x15d)+util[_0x6a325(0x1ee)](_0x2990ed)),![];}return _0x5ac873['isRunning']();}return![];}catch(_0x46cae4){return _0x1f21c0[_0x6a325(0x15e)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x6a325(0x1ee)](_0x46cae4)),![];}}function getTestIdentifierForHook(_0x1c21aa){const _0x1837fc=a17_0x4424f8,_0x55110c={};_0x55110c[_0x1837fc(0x190)]=function(_0x42b276,_0xfb5e19){return _0x42b276===_0xfb5e19;},_0x55110c[_0x1837fc(0x1f5)]='beforeEach',_0x55110c[_0x1837fc(0x136)]=_0x1837fc(0x1e5);const _0x37a7cb=_0x55110c;if(_0x37a7cb['uCCss'](_0x1c21aa[_0x1837fc(0x1ce)],_0x37a7cb['gqVtQ'])||_0x37a7cb[_0x1837fc(0x190)](_0x1c21aa[_0x1837fc(0x1ce)],_0x37a7cb[_0x1837fc(0x136)])){let _0x238f56=global[_0x1837fc(0x175)];if(!_0x238f56&&_0x37a7cb[_0x1837fc(0x190)](_0x1c21aa['type'],_0x37a7cb[_0x1837fc(0x136)])&&_0x1c21aa[_0x1837fc(0x1ae)]){const _0x1c95d3={};_0x1c95d3[_0x1837fc(0x13b)]=_0x1c21aa['parent'][_0x1837fc(0x13b)],_0x1c95d3[_0x1837fc(0x1ae)]=_0x1c21aa[_0x1837fc(0x1ae)][_0x1837fc(0x1ae)],_0x1c95d3[_0x1837fc(0x1d6)]=_0x1c21aa[_0x1837fc(0x1d6)],_0x1c95d3['file']=_0x1c21aa[_0x1837fc(0x143)];const _0x5bd49a=_0x1c95d3;_0x238f56=jestUtils[_0x1837fc(0x159)](_0x5bd49a);}return _0x238f56;}return global[_0x1837fc(0x175)];}function mapHookTypeToState(_0xe3f7a8){const _0x214257=a17_0x4424f8,_0xd84b21={};_0xd84b21[_0x214257(0x1e5)]=TestFrameworkState[_0x214257(0x193)],_0xd84b21[_0x214257(0x147)]=TestFrameworkState['AFTER_ALL'],_0xd84b21[_0x214257(0x153)]=TestFrameworkState['BEFORE_EACH'],_0xd84b21[_0x214257(0x19f)]=TestFrameworkState[_0x214257(0x1f7)];const _0x55827f=_0xd84b21;return _0x55827f[_0xe3f7a8]||TestFrameworkState[_0x214257(0x113)];}async function handleHookEventCLI(_0x5b0fc9,_0x54611f,_0x3ed9dc){const _0x119d0e=a17_0x4424f8,_0x30c3af={'Ojism':function(_0xe9ff81,_0x59b3d2){return _0xe9ff81(_0x59b3d2);},'DIIAE':_0x119d0e(0x115),'CnwAK':function(_0x587e31,_0x4e41ae){return _0x587e31===_0x4e41ae;},'ljkgd':_0x119d0e(0x187),'SaGoG':function(_0x291327){return _0x291327();},'seLVX':function(_0x258189){return _0x258189();},'mqeZA':_0x119d0e(0x1af),'QqwWo':function(_0x3cec45,_0x41ee6){return _0x3cec45(_0x41ee6);},'FdBcl':function(_0x7aa58d,_0x54ecf3){return _0x7aa58d===_0x54ecf3;},'hDPZL':_0x119d0e(0x182),'wTfza':_0x119d0e(0x1c7)};logger[_0x119d0e(0x13d)](_0x119d0e(0x1e6)+_0x54611f+_0x119d0e(0x114)+_0x5b0fc9['type']);try{if(_0x5b0fc9['fn']&&_0x5b0fc9['fn'][_0x119d0e(0x140)]()[_0x119d0e(0x1e7)](/browserstack internal helper hook/))return;if(_0x5b0fc9[_0x119d0e(0x1ae)]&&_0x30c3af[_0x119d0e(0x128)](_0x5b0fc9[_0x119d0e(0x1ae)]['name'],_0x30c3af[_0x119d0e(0x198)])){const _0x274486=_0x5b0fc9[_0x119d0e(0x1d6)]&&((()=>{const _0x2ad212=_0x119d0e;try{const _0xe83284=_0x30c3af[_0x2ad212(0x152)](require,_0x30c3af['DIIAE']),_0xa9980b=_0xe83284[_0x2ad212(0x15b)][_0x2ad212(0x111)](_0xe83284,_0x5b0fc9[_0x2ad212(0x1d6)]);return _0xa9980b[0x0]&&_0xa9980b[0x0]['getFileName']?_0xa9980b[0x0][_0x2ad212(0x161)]():null;}catch(_0x19cd60){return logger['debug']('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x19cd60['message']),null;}})())||_0x5b0fc9[_0x119d0e(0x143)]||null;if(!_0x274486)return;}let _0xcadab3=_0x5b0fc9[_0x119d0e(0x1c2)];if(!_0xcadab3)_0xcadab3=_0x30c3af['SaGoG'](uuidv4),_0x5b0fc9['hookAnalyticsId']=_0xcadab3;else _0x5b0fc9['markedStatus']&&(_0xcadab3=_0x30c3af[_0x119d0e(0x135)](uuidv4),_0x5b0fc9['hookAnalyticsId']=_0xcadab3,delete _0x5b0fc9[_0x119d0e(0x150)]);_0x30c3af[_0x119d0e(0x128)](_0x54611f,_0x30c3af[_0x119d0e(0x197)])&&(_0x5b0fc9[_0x119d0e(0x13a)]=new Date()[_0x119d0e(0x1e9)]());const _0x486504=_0x30c3af['QqwWo'](getTestIdentifierForHook,_0x5b0fc9);!global[_0x119d0e(0x188)]&&(global[_0x119d0e(0x188)]={});if(_0x30c3af['CnwAK'](_0x54611f,_0x30c3af[_0x119d0e(0x197)])){global[_0x119d0e(0x188)]['currentHook']={'hookUUID':_0xcadab3,'testIdentifier':_0x486504,'hookType':_0x5b0fc9[_0x119d0e(0x1ce)],'startedAt':new Date()[_0x119d0e(0x1e9)]()};const _0x343a48=BrowserstackCLI[_0x119d0e(0x1ec)]()[_0x119d0e(0x167)]();_0x343a48&&_0x343a48[_0x119d0e(0x17a)]&&_0x343a48[_0x119d0e(0x17a)](_0x486504,_0xcadab3,_0x5b0fc9[_0x119d0e(0x1ce)]);}const _0x49156b=await jestUtils[_0x119d0e(0x13f)](_0x5b0fc9,_0xcadab3,_0x54611f,_0x486504);if(!_0x49156b)return;const _0x2a8cfc=_0x30c3af[_0x119d0e(0x1b9)](mapHookTypeToState,_0x5b0fc9['type']),_0x4490ad=_0x30c3af[_0x119d0e(0x128)](_0x54611f,_0x30c3af[_0x119d0e(0x197)])?HookState[_0x119d0e(0x117)]:HookState['POST'],_0x308d88=BrowserstackCLI[_0x119d0e(0x1ec)]()[_0x119d0e(0x167)]();if(_0x308d88){const _0x50e182={};_0x50e182[_0x119d0e(0x18c)]=_0x49156b,await _0x308d88[_0x119d0e(0x125)](_0x2a8cfc,_0x4490ad,_0x50e182);if(_0x30c3af[_0x119d0e(0x164)](_0x54611f,_0x30c3af[_0x119d0e(0x109)])){const _0x4d0f09={};_0x4d0f09['testUUID']=_0x486504,_0x4d0f09[_0x119d0e(0x1ce)]=_0x30c3af[_0x119d0e(0x1d2)],await _0x308d88[_0x119d0e(0x125)](TestFrameworkState['LOG_REPORT'],HookState[_0x119d0e(0x137)],_0x4d0f09),global[_0x119d0e(0x188)]&&global[_0x119d0e(0x188)][_0x119d0e(0x169)]&&_0x30c3af[_0x119d0e(0x164)](global[_0x119d0e(0x188)][_0x119d0e(0x169)][_0x119d0e(0x15c)],_0xcadab3)&&delete global[_0x119d0e(0x188)][_0x119d0e(0x169)],_0x308d88['removeActiveHook']&&_0x308d88[_0x119d0e(0x1ba)](_0x486504,_0xcadab3);}}}catch(_0x3cf302){logger[_0x119d0e(0x1dd)](_0x119d0e(0x130)+util['format'](_0x3cf302));throw _0x3cf302;}}async function handleTestEventCLI(_0x3abac9,_0x56888a,_0x779c03){const _0x335c79=a17_0x4424f8,_0x1063f9={};_0x1063f9['qGTjR']=function(_0x395b9f,_0x1e8174){return _0x395b9f===_0x1e8174;},_0x1063f9[_0x335c79(0x1b2)]=_0x335c79(0x118),_0x1063f9['cAwws']=function(_0x5dd18d,_0x12abf1){return _0x5dd18d>_0x12abf1;},_0x1063f9['uJWKx']=function(_0x4c6ef0,_0x4f7f74){return _0x4c6ef0===_0x4f7f74;},_0x1063f9['mJxMY']=function(_0x14f5d3,_0x42bf29){return _0x14f5d3&&_0x42bf29;},_0x1063f9[_0x335c79(0x11a)]=_0x335c79(0x1f2),_0x1063f9[_0x335c79(0x133)]=_0x335c79(0x1b3),_0x1063f9[_0x335c79(0x120)]=_0x335c79(0x1da);const _0x5e49d2=_0x1063f9;logger[_0x335c79(0x13d)](_0x335c79(0x1cc)+_0x56888a);try{let _0x2e22d3;if(_0x5e49d2['qGTjR'](_0x56888a,_0x5e49d2['qTRCT'])){_0x2e22d3=jestUtils[_0x335c79(0x159)](_0x3abac9),global[_0x335c79(0x175)]=_0x2e22d3,_0x3abac9[_0x335c79(0x122)]=_0x2e22d3,_0x3abac9['id']=_0x2e22d3,_0x3abac9[_0x335c79(0x13a)]=new Date()[_0x335c79(0x1e9)]();const _0x2a4aa6=_0x779c03[_0x335c79(0x16f)];_0x779c03[_0x335c79(0x16f)]=_0x3abac9,_0x3abac9[_0x335c79(0x1ac)]=null;if(_0x5e49d2['cAwws'](_0x3abac9['_currentRetry'],0x0)&&_0x2a4aa6&&_0x5e49d2['uJWKx'](_0x2a4aa6['title'],_0x3abac9[_0x335c79(0x18d)])){_0x3abac9[_0x335c79(0x1ac)]=_0x2a4aa6[_0x335c79(0x122)];const _0x5e4509=await jestUtils['createTestFrameworkData'](_0x3abac9,_0x2e22d3,_0x5e49d2[_0x335c79(0x1b2)]),_0xd6cc0d=BrowserstackCLI[_0x335c79(0x1ec)]()['getTestFramework']();if(_0x5e49d2[_0x335c79(0x10d)](_0x5e4509,_0xd6cc0d)){const _0x58cb4f={};_0x58cb4f[_0x335c79(0x1da)]=_0x5e4509,await _0xd6cc0d[_0x335c79(0x125)](TestFrameworkState['TEST'],HookState[_0x335c79(0x117)],_0x58cb4f);}_0x2a4aa6[_0x335c79(0x163)]=_0x5e49d2[_0x335c79(0x11a)];const _0x16df3c=await jestUtils[_0x335c79(0x18f)](_0x2a4aa6,_0x2a4aa6[_0x335c79(0x122)],_0x5e49d2['VXyOU']);if(_0x5e49d2[_0x335c79(0x10d)](_0x16df3c,_0xd6cc0d)){const _0x23a8d3={};_0x23a8d3[_0x335c79(0x1da)]=_0x16df3c,await _0xd6cc0d['trackEvent'](TestFrameworkState[_0x335c79(0x116)],HookState[_0x335c79(0x137)],_0x23a8d3);}}else{const _0x752ea5=await jestUtils[_0x335c79(0x18f)](_0x3abac9,_0x2e22d3,_0x5e49d2['qTRCT']),_0x4e5f91=BrowserstackCLI['getInstance']()[_0x335c79(0x167)]();if(_0x5e49d2[_0x335c79(0x10d)](_0x752ea5,_0x4e5f91)){const _0x12eb70={};_0x12eb70['test']=_0x752ea5,await _0x4e5f91[_0x335c79(0x125)](TestFrameworkState[_0x335c79(0x116)],HookState[_0x335c79(0x117)],_0x12eb70);}}}else{_0x2e22d3=_0x3abac9[_0x335c79(0x122)]||_0x3abac9['id']||global[_0x335c79(0x175)];const _0x192652=await jestUtils[_0x335c79(0x18f)](_0x3abac9,_0x2e22d3,_0x56888a),_0x32f465=BrowserstackCLI['getInstance']()[_0x335c79(0x167)]();if(_0x5e49d2[_0x335c79(0x10d)](_0x192652,_0x32f465)){const _0x5c6838={};_0x5c6838['test']=_0x192652,_0x5c6838[_0x335c79(0x177)]=_0x3abac9,_0x5c6838[_0x335c79(0x1c6)]=_0x2e22d3,await _0x32f465[_0x335c79(0x125)](TestFrameworkState[_0x335c79(0x116)],HookState[_0x335c79(0x137)],_0x5c6838);const _0xddd2ae={};_0xddd2ae[_0x335c79(0x10e)]=_0x2e22d3,_0xddd2ae['type']=_0x5e49d2[_0x335c79(0x120)],await _0x32f465[_0x335c79(0x125)](TestFrameworkState[_0x335c79(0x16c)],HookState[_0x335c79(0x137)],_0xddd2ae);}}}catch(_0x29d153){logger[_0x335c79(0x1dd)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util[_0x335c79(0x1ee)](_0x29d153));throw _0x29d153;}}function a17_0x4371(_0x51c1b1,_0x18040e){const _0x32037c=a17_0x3203();return a17_0x4371=function(_0x437125,_0x4c269e){_0x437125=_0x437125-0x109;let _0x3ee9d4=_0x32037c[_0x437125];return _0x3ee9d4;},a17_0x4371(_0x51c1b1,_0x18040e);}exportsI[a17_0x4424f8(0x18b)]=(..._0x565357)=>{const _0x3288f0=a17_0x4424f8,_0xf589f={'ZHJNh':function(_0x4f22d3,_0x369bfb){return _0x4f22d3(_0x369bfb);},'wXGSw':function(_0x1e53b8,_0x3dd088){return _0x1e53b8(_0x3dd088);},'UBmMu':_0x3288f0(0x115),'nRMfC':'hook_start','lAuaT':function(_0x54e2b7,_0x1acd54){return _0x54e2b7===_0x1acd54;},'Bampj':_0x3288f0(0x187),'siOrA':function(_0x5800e9){return _0x5800e9();},'iQDyQ':function(_0x5a3bfd,_0x50749d){return _0x5a3bfd(_0x50749d);},'pUcxn':function(_0x4dc45b,_0x276d72,_0x733606,_0x430264){return _0x4dc45b(_0x276d72,_0x733606,_0x430264);},'mCkhB':_0x3288f0(0x1af),'VYAKz':_0x3288f0(0x1bd),'kIOpJ':function(_0x349e3a,_0x1d6633){return _0x349e3a(_0x1d6633);},'UQJzD':'HookRunFinished','PaEFh':function(_0x4f1a4b,_0x24e949){return _0x4f1a4b(_0x24e949);},'pihvx':function(_0x50101f,_0x56921e){return _0x50101f(_0x56921e);},'FIFBe':_0x3288f0(0x134),'hSqgc':_0x3288f0(0x1e5),'lVpcB':_0x3288f0(0x153),'HKMBa':_0x3288f0(0x19f),'YwAcf':function(_0x5448c7,_0x5873f7){return _0x5448c7>_0x5873f7;},'OXMMI':function(_0x1c8e9d,_0x282e6c){return _0x1c8e9d(_0x282e6c);},'FGChe':function(_0x2a786d,_0x1cbdb1){return _0x2a786d(_0x1cbdb1);},'AFXWR':_0x3288f0(0x1c4),'VDKoX':function(_0x4d385a,_0xe345f6){return _0x4d385a!==_0xe345f6;},'lKEaj':_0x3288f0(0x119),'PKXKz':function(_0x49ed66){return _0x49ed66();},'xeauD':_0x3288f0(0x118),'agQvP':_0x3288f0(0x10c),'kJDKc':function(_0x1b14d3,_0xf4ed25){return _0x1b14d3>_0xf4ed25;},'oOiNs':_0x3288f0(0x1a5),'zFbRl':'failed','QpedW':_0x3288f0(0x1a7),'mFoCj':function(_0x19350e,_0x1c5fd0){return _0x19350e||_0x1c5fd0;},'sHCRX':function(_0x3fbcab){return _0x3fbcab();},'WOEOh':function(_0x1bd8f1,_0x442769,_0x56dcf5,_0x28f964){return _0x1bd8f1(_0x442769,_0x56dcf5,_0x28f964);},'SMwXZ':_0x3288f0(0x1b3),'irbbk':function(_0x22ee87,_0x2771d3){return _0x22ee87(_0x2771d3);},'XhRFf':_0x3288f0(0x1a3),'huDrX':function(_0x10ee66,_0x56fa43,_0x27061a,_0x263805){return _0x10ee66(_0x56fa43,_0x27061a,_0x263805);},'tALdC':_0x3288f0(0x1b6),'buDdg':function(_0x319af9,_0x1d5d56){return _0x319af9(_0x1d5d56);},'mZfaQ':_0x3288f0(0x139),'sizpW':_0x3288f0(0x1cb),'nDUzo':_0x3288f0(0x14a),'yzoAF':function(_0x4bad73,_0x33d68d){return _0x4bad73===_0x33d68d;},'MyFUY':function(_0x6a64fd){return _0x6a64fd();},'eaotK':function(_0xb914bc){return _0xb914bc();},'NYGkf':function(_0x162555,_0x3e58b2,_0x3a80bb){return _0x162555(_0x3e58b2,_0x3a80bb);},'rbnFB':_0x3288f0(0x1bc),'HqJzH':_0x3288f0(0x112),'hIkrQ':function(_0x5c3ecc,_0x2f9960){return _0x5c3ecc(_0x2f9960);},'qajUI':function(_0x5ee50b,_0x244b91,_0x2ee155){return _0x5ee50b(_0x244b91,_0x2ee155);},'zZOjA':_0x3288f0(0x11c),'Wmrik':function(_0x34fec4){return _0x34fec4();},'cJXco':'EventHandler','uaXQq':function(_0x1df4a8,_0x4d85c7){return _0x1df4a8(_0x4d85c7);}};try{logger['debug']('[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub='+_0xf589f[_0x3288f0(0x12b)](shouldProcessEventForTesthub)+_0x3288f0(0x16e)+process[_0x3288f0(0x10a)]['BROWSERSTACK_PUPPETEER']);const _0x21ab48=_0x565357&&_0x565357[0x0]?_0x565357[0x0]:{};let _0x2b9c50=0x0;try{if(_0x21ab48[_0x3288f0(0x1f1)]&&_0xf589f[_0x3288f0(0x10f)](typeof _0x21ab48['config'][_0x3288f0(0x165)],_0xf589f['nDUzo']))_0x2b9c50=_0x21ab48[_0x3288f0(0x1f1)]['browserstackPlatformIndex'];else{if(_0x21ab48[_0x3288f0(0x1ca)]&&_0xf589f[_0x3288f0(0x10f)](typeof _0x21ab48[_0x3288f0(0x1ca)][_0x3288f0(0x165)],_0xf589f[_0x3288f0(0x194)]))_0x2b9c50=_0x21ab48[_0x3288f0(0x1ca)]['browserstackPlatformIndex'];else global[_0x3288f0(0x132)]&&_0xf589f[_0x3288f0(0x195)](typeof global[_0x3288f0(0x132)]['browserstackPlatformIndex'],_0xf589f[_0x3288f0(0x194)])&&(_0x2b9c50=global[_0x3288f0(0x132)]['browserstackPlatformIndex']);}}catch(_0x493001){logger[_0x3288f0(0x13d)](_0x3288f0(0x11f)+util['format'](_0x493001));}global[_0x3288f0(0x1f0)]=_0x2b9c50,process[_0x3288f0(0x10a)][_0x3288f0(0x138)]=_0xf589f[_0x3288f0(0x11b)](String,_0x2b9c50);const _0x18aca5=new ObservabilityReporter();!_initializedPlatformIndices[_0x3288f0(0x189)](_0x2b9c50)?(logger[_0x3288f0(0x13d)](_0x3288f0(0x1a9)+_0x2b9c50),_initializedPlatformIndices[_0x3288f0(0x1e3)](_0x2b9c50),_0xf589f['MyFUY'](shouldProcessEventForTesthub)&&(_0xf589f['eaotK'](patchConsoleLogger),_0x18aca5[_0x3288f0(0x192)]())):logger[_0x3288f0(0x13d)](_0x3288f0(0x142)+_0x2b9c50+_0x3288f0(0x1b0));let _0x186707;try{_0x186707=_0xf589f[_0x3288f0(0x191)](requireModule,_0xf589f[_0x3288f0(0x1a8)],_0xf589f[_0x3288f0(0x1c8)]);}catch{_0x186707=_0xf589f['hIkrQ'](requireModule,_0xf589f[_0x3288f0(0x1c8)]);}let _0x25a59c;try{_0x25a59c=_0xf589f[_0x3288f0(0x1c9)](requireModule,_0xf589f[_0x3288f0(0x1e8)],_0xf589f['HqJzH'])[_0x3288f0(0x171)];}catch{_0x25a59c=_0xf589f[_0x3288f0(0x1cd)](requireModule,_0xf589f['HqJzH'])[_0x3288f0(0x171)]||(()=>({}));}const _0x3c3705=BrowserstackCLI[_0x3288f0(0x1ec)]()[_0x3288f0(0x162)]();(_0xf589f[_0x3288f0(0x145)](shouldProcessEventForTesthub)||_0x3c3705)&&_0x186707[_0x3288f0(0x1b4)](_0xf589f['NYGkf'](o11yErrorHandler,async(_0x4e23e6,_0xd9739)=>{const _0x56f9f0=_0x3288f0,_0x4c88d9={'yaBVT':function(_0x189fe5,_0x5e4f49){return _0xf589f['wXGSw'](_0x189fe5,_0x5e4f49);},'KwZhR':_0xf589f['UBmMu']};switch(_0x4e23e6['name']){case _0xf589f[_0x56f9f0(0x199)]:if(_0x4e23e6[_0x56f9f0(0x1c7)]['fn']&&_0x4e23e6[_0x56f9f0(0x1c7)]['fn'][_0x56f9f0(0x140)]()[_0x56f9f0(0x1e7)](/browserstack internal helper hook/))break;if(_0x4e23e6[_0x56f9f0(0x1c7)]['parent']&&_0xf589f['lAuaT'](_0x4e23e6[_0x56f9f0(0x1c7)]['parent']['name'],_0xf589f[_0x56f9f0(0x110)])){const _0x185c12=_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x1d6)]&&((()=>{const _0x1a4993=_0x56f9f0;try{const _0x105bb4=_0x4c88d9['yaBVT'](require,_0x4c88d9[_0x1a4993(0x1ab)]),_0x1411d6=_0x105bb4[_0x1a4993(0x15b)][_0x1a4993(0x111)](_0x105bb4,_0x4e23e6[_0x1a4993(0x1c7)][_0x1a4993(0x1d6)]);return _0x1411d6[0x0]&&_0x1411d6[0x0][_0x1a4993(0x161)]?_0x1411d6[0x0][_0x1a4993(0x161)]():null;}catch(_0x13d87b){return logger[_0x1a4993(0x13d)](_0x1a4993(0x1d9)+_0x13d87b[_0x1a4993(0x17d)]),null;}})())||_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x143)]||null;if(!_0x185c12)break;}if(BrowserstackCLI[_0x56f9f0(0x1ec)]()['isCliEnabled']()&&await _0xf589f[_0x56f9f0(0x12b)](isCLIReady)){if(_0xf589f[_0x56f9f0(0x14b)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookStarted']))try{await _0xf589f[_0x56f9f0(0x1d1)](handleHookEventCLI,_0x4e23e6['hook'],_0xf589f['mCkhB'],_0xd9739);break;}catch(_0x1cb8ba){_0xf589f['iQDyQ'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x56f9f0(0x1ee)](_0x1cb8ba));}}if(_0xf589f[_0x56f9f0(0x14b)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x56f9f0(0x174)])){if(!_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x1c2)]){const _0x5f261e=TestDetails[_0x56f9f0(0x1d7)](process['pid']+_0x56f9f0(0x1f8));_0x4e23e6['hook'][_0x56f9f0(0x1c2)]=_0x5f261e;}else _0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x150)]&&(_0x4e23e6['hook'][_0x56f9f0(0x1c2)]=TestDetails[_0x56f9f0(0x1d7)](process[_0x56f9f0(0x146)]+_0x56f9f0(0x1f8)),delete _0x4e23e6['hook'][_0x56f9f0(0x150)]);_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x13a)]=new Date()['toISOString'](),await _0x18aca5[_0x56f9f0(0x144)](_0x4e23e6[_0x56f9f0(0x1c7)],undefined,![],_0xf589f[_0x56f9f0(0x14f)]);}break;case _0xf589f['VYAKz']:if(BrowserstackCLI[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x162)]()&&await _0xf589f[_0x56f9f0(0x12b)](isCLIReady)){if(_0xf589f[_0x56f9f0(0x11b)](shouldProcessEventForTesthub,testHubConstants[_0x56f9f0(0x170)][_0x56f9f0(0x12a)]))try{await _0xf589f[_0x56f9f0(0x1d1)](handleHookEventCLI,_0x4e23e6[_0x56f9f0(0x1c7)],_0xf589f['UQJzD'],_0xd9739);break;}catch(_0x298e85){_0xf589f[_0x56f9f0(0x1df)](debug,_0x56f9f0(0x12f)+util[_0x56f9f0(0x1ee)](_0x298e85));}}_0xf589f[_0x56f9f0(0x12d)](shouldProcessEventForTesthub,testHubConstants[_0x56f9f0(0x170)][_0x56f9f0(0x12a)])&&(await _0x18aca5[_0x56f9f0(0x144)](_0x4e23e6[_0x56f9f0(0x1c7)],undefined,![],_0xf589f[_0x56f9f0(0x124)]),TestDetails[_0x56f9f0(0x172)](process['pid']+_0x56f9f0(0x1f8)));break;case _0xf589f[_0x56f9f0(0x1d8)]:[_0xf589f[_0x56f9f0(0x14e)],_0xf589f[_0x56f9f0(0x196)],_0xf589f['HKMBa']]['includes'](_0x4e23e6[_0x56f9f0(0x1c7)]['type'])&&(_0x18aca5['hook_failure']=_0x4e23e6[_0x56f9f0(0x1c7)]['type']),_0xd9739['unhandledErrors']&&_0xf589f[_0x56f9f0(0x19a)](_0xd9739[_0x56f9f0(0x13c)][_0x56f9f0(0x1cf)],0x0)&&(_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x1a4)]=[_0xd9739['unhandledErrors'][0x0][0x0]]);if(BrowserstackCLI[_0x56f9f0(0x1ec)]()['isCliEnabled']()&&await _0xf589f[_0x56f9f0(0x12b)](isCLIReady)){if(_0xf589f[_0x56f9f0(0x1ef)](shouldProcessEventForTesthub,testHubConstants[_0x56f9f0(0x170)][_0x56f9f0(0x12a)]))try{await _0xf589f[_0x56f9f0(0x1d1)](handleHookEventCLI,_0x4e23e6[_0x56f9f0(0x1c7)],_0xf589f[_0x56f9f0(0x124)],_0xd9739);break;}catch(_0x2b6878){_0xf589f[_0x56f9f0(0x12d)](debug,_0x56f9f0(0x12f)+util['format'](_0x2b6878));}}_0xf589f[_0x56f9f0(0x141)](shouldProcessEventForTesthub,testHubConstants[_0x56f9f0(0x170)][_0x56f9f0(0x12a)])&&(await _0x18aca5[_0x56f9f0(0x144)](_0x4e23e6[_0x56f9f0(0x1c7)],undefined,![],_0xf589f['UQJzD']),TestDetails[_0x56f9f0(0x172)](process[_0x56f9f0(0x146)]+_0x56f9f0(0x1f8)));break;case _0xf589f[_0x56f9f0(0x14d)]:try{let _0x37fc86=_0x4e23e6['test'][_0x56f9f0(0x13b)]||'';try{let _0x27befe=_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x1ae)];const _0x5f1b27=[_0x37fc86];while(_0x27befe&&_0x27befe['name']&&_0xf589f[_0x56f9f0(0x1be)](_0x27befe['name'],_0xf589f['Bampj'])){_0x5f1b27['unshift'](_0x27befe['name']),_0x27befe=_0x27befe[_0x56f9f0(0x1ae)];}_0x37fc86=_0x5f1b27[_0x56f9f0(0x1a2)](_0xf589f[_0x56f9f0(0x17c)]);}catch(_0x1e02f0){logger[_0x56f9f0(0x13d)](_0x56f9f0(0x1d3)+_0x1e02f0['message']);}process[_0x56f9f0(0x1aa)]=_0x37fc86,process[_0x56f9f0(0x179)]=null,process['_bstackTestFailureReason']=null,logger[_0x56f9f0(0x13d)](_0x56f9f0(0x1e2)+_0x37fc86+'\x22');if(!global[_0x56f9f0(0x188)]){const _0x34ce72={};_0x34ce72[_0x56f9f0(0x126)]={},global[_0x56f9f0(0x188)]=_0x34ce72;}!global['__workerDetails']['currentTest']&&(global[_0x56f9f0(0x188)]['currentTest']={});const _0x573fd8={};_0x573fd8[_0x56f9f0(0x18d)]=_0x37fc86,_0x573fd8[_0x56f9f0(0x13b)]=_0x37fc86,global[_0x56f9f0(0x188)]['currentTest']['testInfo']=_0x573fd8,global[_0x56f9f0(0x1ea)]=_0x37fc86;}catch(_0x28a168){logger[_0x56f9f0(0x13d)](_0x56f9f0(0x173)+_0x28a168[_0x56f9f0(0x17d)]);}if(BrowserstackCLI[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x162)]()&&await _0xf589f[_0x56f9f0(0x15f)](isCLIReady))try{await _0xf589f[_0x56f9f0(0x1d1)](handleTestEventCLI,_0x4e23e6['test'],_0xf589f['xeauD'],_0x18aca5);break;}catch(_0x262cbc){_0xf589f[_0x56f9f0(0x16d)](debug,_0x56f9f0(0x12f)+util[_0x56f9f0(0x1ee)](_0x262cbc));}_0xf589f['siOrA'](shouldProcessEventForTesthub)&&await _0x18aca5['testStarted'](_0x4e23e6[_0x56f9f0(0x1da)]);break;case _0xf589f[_0x56f9f0(0x127)]:_0x4e23e6[_0x56f9f0(0x1da)]={..._0xf589f[_0x56f9f0(0x156)](_0x25a59c,_0x4e23e6[_0x56f9f0(0x1da)]),..._0x4e23e6['test']};try{const _0x4fc66b=_0x4e23e6[_0x56f9f0(0x1da)]['errors']||[],_0x36e1ac=_0xf589f[_0x56f9f0(0x1c3)](_0x4fc66b[_0x56f9f0(0x1cf)],0x0)||_0xf589f['lAuaT'](_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x176)],_0xf589f[_0x56f9f0(0x184)]),_0x36a543=_0x36e1ac?_0xf589f['zFbRl']:_0xf589f[_0x56f9f0(0x1c1)];let _0x4d91a4='';_0x36e1ac&&(_0x4d91a4=_0x4fc66b[_0x56f9f0(0x121)](_0x27ef80=>{const _0x164192=_0x56f9f0;if(Array[_0x164192(0x19b)](_0x27ef80))return _0x27ef80[_0x164192(0x121)](_0x38869d=>_0x38869d&&_0x38869d[_0x164192(0x17d)]||String(_0x38869d))['join'](';\x20');return _0x27ef80&&_0x27ef80[_0x164192(0x17d)]||_0xf589f[_0x164192(0x16d)](String,_0x27ef80);})[_0x56f9f0(0x1a2)](';\x20')),process[_0x56f9f0(0x179)]=_0x36a543,process[_0x56f9f0(0x1e4)]=_0xf589f[_0x56f9f0(0x1ad)](_0x4d91a4,''),logger['debug'](_0x56f9f0(0x1a1)+_0x36a543+'\x22'),global[_0x56f9f0(0x188)]&&global['__workerDetails'][_0x56f9f0(0x126)]&&(!global['__workerDetails'][_0x56f9f0(0x126)]['testInfo']&&(global[_0x56f9f0(0x188)][_0x56f9f0(0x126)][_0x56f9f0(0x1b7)]={}),global['__workerDetails'][_0x56f9f0(0x126)][_0x56f9f0(0x1b7)][_0x56f9f0(0x176)]=_0x36a543,_0x36e1ac&&(global['__workerDetails']['currentTest'][_0x56f9f0(0x1b7)]['failureMessage']=_0x4d91a4));}catch(_0x59ee8c){logger['debug']('[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20'+_0x59ee8c['message']);}if(!_0x4e23e6[_0x56f9f0(0x1da)]['markedStatus']){_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x150)]=!![];if(BrowserstackCLI[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x162)]()&&await _0xf589f[_0x56f9f0(0x18e)](isCLIReady))try{await _0xf589f[_0x56f9f0(0x11d)](handleTestEventCLI,_0x4e23e6[_0x56f9f0(0x1da)],_0xf589f[_0x56f9f0(0x160)],_0x18aca5);break;}catch(_0x47c564){_0xf589f['irbbk'](debug,_0x56f9f0(0x12f)+util[_0x56f9f0(0x1ee)](_0x47c564));}_0xf589f[_0x56f9f0(0x12b)](shouldProcessEventForTesthub)&&await _0x18aca5[_0x56f9f0(0x144)](_0x4e23e6[_0x56f9f0(0x1da)]);}break;case _0xf589f[_0x56f9f0(0x1a0)]:_0x4e23e6[_0x56f9f0(0x1da)]={..._0xf589f[_0x56f9f0(0x16d)](_0x25a59c,_0x4e23e6[_0x56f9f0(0x1da)]),..._0x4e23e6[_0x56f9f0(0x1da)]};if(!_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x150)]){_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x150)]=!![];if(BrowserstackCLI[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x162)]()&&await _0xf589f[_0x56f9f0(0x15f)](isCLIReady))try{await _0xf589f[_0x56f9f0(0x13e)](handleTestEventCLI,_0x4e23e6['test'],_0xf589f[_0x56f9f0(0x181)],_0x18aca5);break;}catch(_0x2875f2){_0xf589f[_0x56f9f0(0x1cd)](debug,_0x56f9f0(0x12f)+util['format'](_0x2875f2));}_0xf589f['sHCRX'](shouldProcessEventForTesthub)&&await _0x18aca5['sendTestRunEvent'](_0x4e23e6[_0x56f9f0(0x1da)],undefined,![],_0xf589f['tALdC']);}break;case _0xf589f[_0x56f9f0(0x1d5)]:_0x18aca5['hook_failure']=null;break;case _0xf589f[_0x56f9f0(0x178)]:await RequestQueueHandler[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x1e1)](),process[_0x56f9f0(0x1eb)]();break;default:}},_0xf589f[_0x3288f0(0x1f6)]));}catch(_0x4ec864){_0xf589f['uaXQq'](debug,_0x3288f0(0x1a6)+_0x4ec864);}return _0xf589f['PaEFh'](initInitialize,..._0x565357);};try{Object['keys'](exportsI)[a17_0x4424f8(0x1b1)](_0x1e9ee7=>{const _0x582483=a17_0x4424f8,_0xe99cda={'tqqXn':function(_0x2f870b,_0x2fea33){return _0x2f870b(_0x2fea33);}};try{exports&&(exports[_0x1e9ee7]=exportsI[_0x1e9ee7]);}catch(_0x391a56){_0xe99cda[_0x582483(0x168)](debug,_0x582483(0x1dc)+_0x391a56);}});}catch(a17_0x5d8e5d){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x5d8e5d);}
1
+ const a17_0x5cff8c=a17_0x4042;(function(_0x14bdd2,_0x26ec80){const _0x13e576=a17_0x4042,_0x222418=_0x14bdd2();while(!![]){try{const _0x1577a0=-parseInt(_0x13e576(0x216))/0x1+-parseInt(_0x13e576(0x18a))/0x2*(parseInt(_0x13e576(0x1a3))/0x3)+parseInt(_0x13e576(0x158))/0x4*(-parseInt(_0x13e576(0x1c3))/0x5)+-parseInt(_0x13e576(0x215))/0x6+parseInt(_0x13e576(0x212))/0x7+-parseInt(_0x13e576(0x13a))/0x8+parseInt(_0x13e576(0x211))/0x9;if(_0x1577a0===_0x26ec80)break;else _0x222418['push'](_0x222418['shift']());}catch(_0x180d2d){_0x222418['push'](_0x222418['shift']());}}}(a17_0x2df8,0x97e51));function a17_0x2df8(){const _0x474800=['TdfqW','setTestUUID','join','name','../../v2/utils/jest-utils','__jestCurrentTestIdentifier','bootstrap','has','parse','CLI\x20is\x20enabled\x20and\x20running.','3133096YKZwGV','test_skip','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','eTFyN','ROOT_DESCRIBE_BLOCK','Handling\x20test\x20event\x20for\x20CLI:\x20','match','setActiveHook','_bstackTestFailureReason','../../v2/browserstackCLI','_currentRetry','fmdYw','kBNVp','unshift','POST','../../../helpers/test-observability/error-handler','message','DYyYc','VAKhV','vGeAx','browserstackPlatformIndex','jestConfig','includes','TestRunStarted','TXiWO','markedStatus','XPjOW','iWLVQ','nJbXb','beforeAll','9892VXWzwU','xGmJi','hook','rQbOn','removeTestUUID','sENGg','pid','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','asyncError','KqbPL','uuid','testStarted','current_test','getFileName','parent','beforeEach','tdPvM','jest-circus/build/jestAdapterInit.js','stack-trace','yHgVj','testUUID','toString','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','TQVeR','ajIIn','shutdown','status','RfueW','vqhRz','tQKOU','PLAYWRIGHT','config','configuration','map','ZYqnb','../../../helpers/testhub/constants','ANoXU','zHget','../../v2/state/hookState','makeSingleTestResult','uVqei','HookFinished','mvKVw','WefHm','originalTest','failureMessage','TestRunFinished','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','errorsDetailed','afterEach','817068TtvqXy','__workerDetails','error','length','BEFORE_ALL','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','AMKjQ','unhandledErrors','winstonLogger','initialize','EpHGf','../../v2/cliUtils','ooGMw','env','teardown','kKKwZ','jNOlf','setFrameworkDetail','format','errors','registerListeners','CCtgm','_bstackTestStatus','state','AFTER_EACH','6heNfoM','getAutomationFrameworkDetail','BklxI','currentHook','jWbbp','Error\x20checking\x20CLI\x20readiness:\x20','gyzGf','file','getInstance','sOeKj','hookUUID','igkHt','test_done','testIdentifier','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','../test-observability/test-details','\x20>\x20','testAnalyticsId','true','run_describe_finish','TEST','createHookData','trackEvent','yUebF','call','hookData','NcDHa','RHdJa','HookRunFinished','rpMmy',',\x20re-registering\x20event\x20handler','retryOf','1585JmXFBP','test_start','failed','Error\x20routing\x20to\x20JestTestFramework:\x20',':hookAnalyticsId','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','JEST','browserstackTestName','PRE','EventHandler',',\x20BROWSERSTACK_PUPPETEER=','dWiTD','isYqf','yOoAD','HookRunStarted','gSTNk','createIdentifierFromJestTest','createTestFrameworkData','dHqDw','HookStarted','type','\x20for\x20hook\x20type:\x20','passed','toISOString','PEFqy','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','kFrfd','isArray','jfwLT','hookAnalyticsId','../../../helpers/logger','keys','util','title','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','HuBba','jest-circus/build/state.js','forEach','BROWSERSTACK_CLI_BIN_SESSION_ID','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','LvXvi','flSAO','testInfo','hook_start','jest-circus/build/utils.js','OUEmW','jShwA','_bstackTestName','test','PUPPETEER','sendTestRunEvent','RfizD','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','qvAoH','isCliEnabled','BROWSERSTACK_PUPPETEER','AyACC','eDXrt','KkWId','hook_failure','fJTcF','TNoZH','../../../helpers/testhub/utils','isRunning','../../utils/constants','AymfO','AKbRH','jest-circus','getTestFramework','KPaRy','NBzzc','PNAGi','__bstackPlatformIndex','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','AFTER_ALL','currentTest','20634912IdIaHP','7056091EXwoEs','debug','roOmc','3118308fbnccL','166256xiTysh','EVENT','removeActiveHook','RhCxY','yVHVX','LOG_REPORT'];a17_0x2df8=function(){return _0x474800;};return a17_0x2df8();}const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),TestDetails=require(a17_0x5cff8c(0x1b2)),{patchConsoleLogger,debug}=require('../../../helpers/test-observability/utils'),{o11yErrorHandler}=require(a17_0x5cff8c(0x149)),{shouldProcessEventForTesthub}=require(a17_0x5cff8c(0x202)),testHubConstants=require(a17_0x5cff8c(0x17b)),BrowserstackCLI=require(a17_0x5cff8c(0x143)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a17_0x5cff8c(0x17e)),JestUtils=require(a17_0x5cff8c(0x134)),{v4:uuidv4}=require(a17_0x5cff8c(0x162)),util=require(a17_0x5cff8c(0x1e4)),logger=require(a17_0x5cff8c(0x1e2))[a17_0x5cff8c(0x192)],{FRAMEWORKS}=require(a17_0x5cff8c(0x204));let exportsI;try{exportsI=requireModule(a17_0x5cff8c(0x15f),a17_0x5cff8c(0x207));}catch{exportsI=requireModule(a17_0x5cff8c(0x169),a17_0x5cff8c(0x207));}const initInitialize=exportsI[a17_0x5cff8c(0x193)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x25b4eb=a17_0x5cff8c,_0x1e952a={'vUkBr':_0x25b4eb(0x139),'eDXrt':function(_0x599ee6,_0x7a6a32){return _0x599ee6(_0x7a6a32);},'PEFqy':_0x25b4eb(0x195),'TdfqW':function(_0x3df3dc,_0x473a68){return _0x3df3dc===_0x473a68;},'sENGg':_0x25b4eb(0x1b5)};try{const _0x384850=BrowserstackCLI[_0x25b4eb(0x1ab)]();if(_0x384850[_0x25b4eb(0x1fa)]()&&_0x384850['isRunning']())return logger[_0x25b4eb(0x213)](_0x1e952a['vUkBr']),!![];const _0x202abe=process[_0x25b4eb(0x197)][_0x25b4eb(0x1ea)];if(_0x202abe&&_0x384850[_0x25b4eb(0x1fa)]()){if(!_0x384850[_0x25b4eb(0x203)]())try{const _0x421b36=_0x1e952a['eDXrt'](require,_0x1e952a[_0x25b4eb(0x1dc)]),_0x510712=_0x421b36[_0x25b4eb(0x1a4)]();(!_0x510712||!_0x510712['name'])&&(_0x1e952a[_0x25b4eb(0x21c)](process['env']['BROWSERSTACK_PUPPETEER'],_0x1e952a[_0x25b4eb(0x15d)])?_0x421b36[_0x25b4eb(0x19b)](FRAMEWORKS[_0x25b4eb(0x1ca)],FRAMEWORKS[_0x25b4eb(0x1f5)]):_0x421b36[_0x25b4eb(0x19b)](FRAMEWORKS[_0x25b4eb(0x1ca)],FRAMEWORKS[_0x25b4eb(0x176)])),await _0x384850[_0x25b4eb(0x136)]();}catch(_0x323223){return _0x1e952a[_0x25b4eb(0x1fd)](debug,_0x25b4eb(0x1c9)+util[_0x25b4eb(0x19c)](_0x323223)),![];}return _0x384850[_0x25b4eb(0x203)]();}return![];}catch(_0x5c1bc7){return _0x1e952a[_0x25b4eb(0x1fd)](debug,_0x25b4eb(0x1a8)+util[_0x25b4eb(0x19c)](_0x5c1bc7)),![];}}function a17_0x4042(_0x4e6994,_0x54b27c){const _0x2df804=a17_0x2df8();return a17_0x4042=function(_0x4042c6,_0x3b9ece){_0x4042c6=_0x4042c6-0x132;let _0x177e11=_0x2df804[_0x4042c6];return _0x177e11;},a17_0x4042(_0x4e6994,_0x54b27c);}function getTestIdentifierForHook(_0xbdea38){const _0x5b0262=a17_0x5cff8c,_0x9e894={};_0x9e894[_0x5b0262(0x214)]=function(_0xcc1b0d,_0xc41a60){return _0xcc1b0d===_0xc41a60;},_0x9e894[_0x5b0262(0x159)]='beforeEach',_0x9e894[_0x5b0262(0x1ae)]=function(_0x38bb03,_0x425219){return _0x38bb03===_0x425219;},_0x9e894['AyACC']=_0x5b0262(0x157),_0x9e894['vGeAx']=function(_0x148e80,_0x5c45c4){return _0x148e80===_0x5c45c4;};const _0x22338c=_0x9e894;if(_0x22338c[_0x5b0262(0x214)](_0xbdea38[_0x5b0262(0x1d8)],_0x22338c[_0x5b0262(0x159)])||_0x22338c[_0x5b0262(0x1ae)](_0xbdea38[_0x5b0262(0x1d8)],_0x22338c[_0x5b0262(0x1fc)])){let _0x2c3494=global[_0x5b0262(0x135)];if(!_0x2c3494&&_0x22338c[_0x5b0262(0x14d)](_0xbdea38['type'],_0x22338c['AyACC'])&&_0xbdea38['parent']){const _0xca7e37={};_0xca7e37['name']=_0xbdea38['parent'][_0x5b0262(0x133)],_0xca7e37['parent']=_0xbdea38[_0x5b0262(0x166)]['parent'],_0xca7e37[_0x5b0262(0x160)]=_0xbdea38[_0x5b0262(0x160)],_0xca7e37[_0x5b0262(0x1aa)]=_0xbdea38[_0x5b0262(0x1aa)];const _0x52126e=_0xca7e37;_0x2c3494=jestUtils[_0x5b0262(0x1d4)](_0x52126e);}return _0x2c3494;}return global[_0x5b0262(0x135)];}function mapHookTypeToState(_0x389455){const _0x5678cf=a17_0x5cff8c,_0x493148={};_0x493148[_0x5678cf(0x157)]=TestFrameworkState[_0x5678cf(0x18e)],_0x493148['afterAll']=TestFrameworkState[_0x5678cf(0x20f)],_0x493148[_0x5678cf(0x167)]=TestFrameworkState['BEFORE_EACH'],_0x493148['afterEach']=TestFrameworkState[_0x5678cf(0x1a2)];const _0x4d68ca=_0x493148;return _0x4d68ca[_0x389455]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x47cacb,_0x1462a3,_0x158be2){const _0x2a185b=a17_0x5cff8c,_0x108df0={'rDtcW':function(_0x4c9429,_0x54e1e0){return _0x4c9429(_0x54e1e0);},'BklxI':_0x2a185b(0x16a),'NcDHa':function(_0x4e86cd,_0xfcb7f0){return _0x4e86cd===_0xfcb7f0;},'uVqei':_0x2a185b(0x13e),'yOoAD':function(_0x5ed1fd){return _0x5ed1fd();},'jfwLT':function(_0xaa31b1){return _0xaa31b1();},'tZOkV':function(_0x159eef,_0x4e178d){return _0x159eef===_0x4e178d;},'ajIIn':_0x2a185b(0x1d2),'RHdJa':function(_0x64c02c,_0x3a5bd4){return _0x64c02c(_0x3a5bd4);},'tQKOU':function(_0x5e37ae,_0x27c38a){return _0x5e37ae===_0x27c38a;},'fJTcF':function(_0x12519a,_0x23a35e){return _0x12519a===_0x23a35e;},'qvAoH':_0x2a185b(0x1bf),'vqhRz':'hook'};logger[_0x2a185b(0x213)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x1462a3+_0x2a185b(0x1d9)+_0x47cacb[_0x2a185b(0x1d8)]);try{if(_0x47cacb['fn']&&_0x47cacb['fn']['toString']()['match'](/browserstack internal helper hook/))return;if(_0x47cacb[_0x2a185b(0x166)]&&_0x108df0[_0x2a185b(0x1bd)](_0x47cacb['parent']['name'],_0x108df0[_0x2a185b(0x180)])){const _0x20b2c3=_0x47cacb[_0x2a185b(0x160)]&&((()=>{const _0x23cae6=_0x2a185b;try{const _0x455516=_0x108df0['rDtcW'](require,_0x108df0[_0x23cae6(0x1a5)]),_0x493dac=_0x455516[_0x23cae6(0x138)][_0x23cae6(0x1bb)](_0x455516,_0x47cacb['asyncError']);return _0x493dac[0x0]&&_0x493dac[0x0]['getFileName']?_0x493dac[0x0]['getFileName']():null;}catch(_0x4b5bab){return logger[_0x23cae6(0x213)](_0x23cae6(0x187)+_0x4b5bab[_0x23cae6(0x14a)]),null;}})())||_0x47cacb[_0x2a185b(0x1aa)]||null;if(!_0x20b2c3)return;}let _0x1579f3=_0x47cacb[_0x2a185b(0x1e1)];if(!_0x1579f3)_0x1579f3=_0x108df0[_0x2a185b(0x1d1)](uuidv4),_0x47cacb['hookAnalyticsId']=_0x1579f3;else _0x47cacb[_0x2a185b(0x153)]&&(_0x1579f3=_0x108df0[_0x2a185b(0x1e0)](uuidv4),_0x47cacb[_0x2a185b(0x1e1)]=_0x1579f3,delete _0x47cacb[_0x2a185b(0x153)]);_0x108df0['tZOkV'](_0x1462a3,_0x108df0['ajIIn'])&&(_0x47cacb['started_at']=new Date()[_0x2a185b(0x1db)]());const _0xb45c87=_0x108df0['RHdJa'](getTestIdentifierForHook,_0x47cacb);!global[_0x2a185b(0x18b)]&&(global[_0x2a185b(0x18b)]={});if(_0x108df0['NcDHa'](_0x1462a3,_0x108df0[_0x2a185b(0x170)])){global['__workerDetails']['currentHook']={'hookUUID':_0x1579f3,'testIdentifier':_0xb45c87,'hookType':_0x47cacb[_0x2a185b(0x1d8)],'startedAt':new Date()[_0x2a185b(0x1db)]()};const _0x166121=BrowserstackCLI['getInstance']()['getTestFramework']();_0x166121&&_0x166121[_0x2a185b(0x141)]&&_0x166121[_0x2a185b(0x141)](_0xb45c87,_0x1579f3,_0x47cacb['type']);}const _0x24a1e6=await jestUtils[_0x2a185b(0x1b8)](_0x47cacb,_0x1579f3,_0x1462a3,_0xb45c87);if(!_0x24a1e6)return;const _0x56398e=_0x108df0[_0x2a185b(0x1be)](mapHookTypeToState,_0x47cacb[_0x2a185b(0x1d8)]),_0x45a358=_0x108df0[_0x2a185b(0x175)](_0x1462a3,_0x108df0['ajIIn'])?HookState[_0x2a185b(0x1cc)]:HookState[_0x2a185b(0x148)],_0x1a477c=BrowserstackCLI[_0x2a185b(0x1ab)]()[_0x2a185b(0x208)]();if(_0x1a477c){const _0x52e495={};_0x52e495[_0x2a185b(0x1bc)]=_0x24a1e6,await _0x1a477c['trackEvent'](_0x56398e,_0x45a358,_0x52e495);if(_0x108df0[_0x2a185b(0x200)](_0x1462a3,_0x108df0[_0x2a185b(0x1f9)])){const _0x58d1d2={};_0x58d1d2[_0x2a185b(0x16c)]=_0xb45c87,_0x58d1d2[_0x2a185b(0x1d8)]=_0x108df0[_0x2a185b(0x174)],await _0x1a477c['trackEvent'](TestFrameworkState[_0x2a185b(0x21b)],HookState[_0x2a185b(0x148)],_0x58d1d2),global[_0x2a185b(0x18b)]&&global[_0x2a185b(0x18b)][_0x2a185b(0x1a6)]&&_0x108df0[_0x2a185b(0x1bd)](global['__workerDetails'][_0x2a185b(0x1a6)][_0x2a185b(0x1ad)],_0x1579f3)&&delete global['__workerDetails']['currentHook'],_0x1a477c[_0x2a185b(0x218)]&&_0x1a477c[_0x2a185b(0x218)](_0xb45c87,_0x1579f3);}}}catch(_0x55513b){logger[_0x2a185b(0x18c)](_0x2a185b(0x1f8)+util[_0x2a185b(0x19c)](_0x55513b));throw _0x55513b;}}async function handleTestEventCLI(_0x571b04,_0x436376,_0x235648){const _0x419309=a17_0x5cff8c,_0x2546ad={};_0x2546ad['jShwA']=function(_0x55c348,_0x80bac){return _0x55c348===_0x80bac;},_0x2546ad[_0x419309(0x19a)]=_0x419309(0x151),_0x2546ad[_0x419309(0x190)]=function(_0x37e11f,_0x3c785e){return _0x37e11f>_0x3c785e;},_0x2546ad[_0x419309(0x173)]=function(_0x4f6056,_0x2d5599){return _0x4f6056&&_0x2d5599;},_0x2546ad[_0x419309(0x194)]='failed',_0x2546ad['ooGMw']=_0x419309(0x186),_0x2546ad['YSmUL']=function(_0x172acc,_0x4c820b){return _0x172acc&&_0x4c820b;},_0x2546ad[_0x419309(0x152)]=function(_0x314c69,_0x3dc1c5){return _0x314c69&&_0x3dc1c5;},_0x2546ad[_0x419309(0x1a7)]=function(_0x45b293,_0x2b47f2){return _0x45b293&&_0x2b47f2;},_0x2546ad[_0x419309(0x209)]=_0x419309(0x1f4);const _0x199fc1=_0x2546ad;logger['debug'](_0x419309(0x13f)+_0x436376);try{let _0x452ee8;if(_0x199fc1[_0x419309(0x1f2)](_0x436376,_0x199fc1['jNOlf'])){_0x452ee8=jestUtils[_0x419309(0x1d4)](_0x571b04),global[_0x419309(0x135)]=_0x452ee8,_0x571b04[_0x419309(0x1b4)]=_0x452ee8,_0x571b04['id']=_0x452ee8,_0x571b04['started_at']=new Date()['toISOString']();const _0x326795=_0x235648[_0x419309(0x164)];_0x235648['current_test']=_0x571b04,_0x571b04[_0x419309(0x1c2)]=null;if(_0x199fc1[_0x419309(0x190)](_0x571b04[_0x419309(0x144)],0x0)&&_0x326795&&_0x199fc1[_0x419309(0x1f2)](_0x326795[_0x419309(0x1e5)],_0x571b04['title'])){_0x571b04['retryOf']=_0x326795[_0x419309(0x1b4)];const _0x5608f4=await jestUtils[_0x419309(0x1d5)](_0x571b04,_0x452ee8,_0x199fc1[_0x419309(0x19a)]),_0x46fa40=BrowserstackCLI[_0x419309(0x1ab)]()[_0x419309(0x208)]();if(_0x199fc1['RfueW'](_0x5608f4,_0x46fa40)){const _0xed84c1={};_0xed84c1[_0x419309(0x1f4)]=_0x5608f4,await _0x46fa40[_0x419309(0x1b9)](TestFrameworkState[_0x419309(0x1b7)],HookState['PRE'],_0xed84c1);}_0x326795[_0x419309(0x1a1)]=_0x199fc1['EpHGf'];const _0x26f52b=await jestUtils[_0x419309(0x1d5)](_0x326795,_0x326795[_0x419309(0x1b4)],_0x199fc1[_0x419309(0x196)]);if(_0x199fc1['YSmUL'](_0x26f52b,_0x46fa40)){const _0x1a899e={};_0x1a899e[_0x419309(0x1f4)]=_0x26f52b,await _0x46fa40[_0x419309(0x1b9)](TestFrameworkState[_0x419309(0x1b7)],HookState['POST'],_0x1a899e);}}else{const _0x20dba9=await jestUtils[_0x419309(0x1d5)](_0x571b04,_0x452ee8,_0x199fc1[_0x419309(0x19a)]),_0x59febd=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x199fc1['TXiWO'](_0x20dba9,_0x59febd)){const _0x57aba9={};_0x57aba9[_0x419309(0x1f4)]=_0x20dba9,await _0x59febd['trackEvent'](TestFrameworkState['TEST'],HookState['PRE'],_0x57aba9);}}}else{_0x452ee8=_0x571b04['testAnalyticsId']||_0x571b04['id']||global[_0x419309(0x135)];const _0x2698d7=await jestUtils[_0x419309(0x1d5)](_0x571b04,_0x452ee8,_0x436376),_0x14b4c1=BrowserstackCLI[_0x419309(0x1ab)]()[_0x419309(0x208)]();if(_0x199fc1[_0x419309(0x1a7)](_0x2698d7,_0x14b4c1)){const _0x125375={};_0x125375[_0x419309(0x1f4)]=_0x2698d7,_0x125375[_0x419309(0x184)]=_0x571b04,_0x125375[_0x419309(0x1b0)]=_0x452ee8,await _0x14b4c1[_0x419309(0x1b9)](TestFrameworkState[_0x419309(0x1b7)],HookState['POST'],_0x125375);const _0x305229={};_0x305229['testUUID']=_0x452ee8,_0x305229[_0x419309(0x1d8)]=_0x199fc1[_0x419309(0x209)],await _0x14b4c1[_0x419309(0x1b9)](TestFrameworkState[_0x419309(0x21b)],HookState['POST'],_0x305229);}}}catch(_0x3ea05d){logger[_0x419309(0x18c)](_0x419309(0x1eb)+util[_0x419309(0x19c)](_0x3ea05d));throw _0x3ea05d;}}exportsI[a17_0x5cff8c(0x193)]=(..._0x10ceb1)=>{const _0x2f166d=a17_0x5cff8c,_0x46a815={'dWiTD':function(_0x58339a,_0x60ff59){return _0x58339a(_0x60ff59);},'ukIId':_0x2f166d(0x16a),'CCtgm':_0x2f166d(0x1ef),'HuBba':function(_0x2e1d9c,_0x2fed94){return _0x2e1d9c===_0x2fed94;},'ANoXU':_0x2f166d(0x13e),'ZYqnb':function(_0x18c386){return _0x18c386();},'RfizD':function(_0x13b9d6,_0x43ff9d,_0x214088,_0x5a0662){return _0x13b9d6(_0x43ff9d,_0x214088,_0x5a0662);},'XPjOW':'HookRunStarted','fmdYw':function(_0x43c458,_0x1d0549){return _0x43c458(_0x1d0549);},'KkWId':'hook_success','eTFyN':'HookRunFinished','gyzGf':_0x2f166d(0x1ff),'tdPvM':_0x2f166d(0x157),'LvXvi':'beforeEach','DYyYc':_0x2f166d(0x189),'AKbRH':function(_0x3b4c4c,_0x1902e9){return _0x3b4c4c>_0x1902e9;},'PNAGi':function(_0x8f48b3){return _0x8f48b3();},'RhCxY':function(_0x358c6b,_0x3fdd82){return _0x358c6b(_0x3fdd82);},'WefHm':function(_0x5255fa,_0x3524ce,_0x205c18,_0x5ab8a2){return _0x5255fa(_0x3524ce,_0x205c18,_0x5ab8a2);},'yUebF':_0x2f166d(0x1c4),'jiapN':function(_0x256ce1,_0x2566a8){return _0x256ce1!==_0x2566a8;},'nJbXb':_0x2f166d(0x1b3),'DUfnx':_0x2f166d(0x151),'TQVeR':function(_0xd994e8,_0x4339c3){return _0xd994e8(_0x4339c3);},'prgTp':_0x2f166d(0x1af),'zHget':'fail','NBzzc':_0x2f166d(0x1c5),'iWLVQ':_0x2f166d(0x1da),'GGSOc':function(_0x3faf55,_0xc72966){return _0x3faf55||_0xc72966;},'AymfO':function(_0x3fdb3d){return _0x3fdb3d();},'yVHVX':'TestRunFinished','bHICU':function(_0xd91e30,_0x5e2bb3){return _0xd91e30(_0x5e2bb3);},'Ykxji':_0x2f166d(0x13b),'dHqDw':function(_0x1404b1){return _0x1404b1();},'kKKwZ':'TestRunSkipped','VCBom':function(_0xa1e670,_0x5b5d04){return _0xa1e670(_0x5b5d04);},'mvKVw':_0x2f166d(0x1b6),'yHgVj':_0x2f166d(0x198),'OUEmW':function(_0x5ea4f8,_0x508699){return _0x5ea4f8===_0x508699;},'kBNVp':'number','kFrfd':function(_0x239dc8,_0x799001){return _0x239dc8===_0x799001;},'bnxCH':function(_0x5cb8c4,_0x48c5a9){return _0x5cb8c4===_0x48c5a9;},'flSAO':function(_0x4b94cf,_0x4c96e8){return _0x4b94cf(_0x4c96e8);},'sOeKj':function(_0x4274af){return _0x4274af();},'rQbOn':function(_0x1b935a,_0x424fd5,_0x22f26e){return _0x1b935a(_0x424fd5,_0x22f26e);},'KqbPL':_0x2f166d(0x1e8),'TNoZH':_0x2f166d(0x207),'gbKlq':function(_0x46ba7f,_0x3ed78d){return _0x46ba7f(_0x3ed78d);},'swSfh':_0x2f166d(0x1f0),'VAKhV':function(_0x42e0be,_0x19a618,_0x2820a9){return _0x42e0be(_0x19a618,_0x2820a9);},'gSTNk':_0x2f166d(0x1cd),'jYiAb':function(_0x39017a,_0x24d1dd){return _0x39017a(_0x24d1dd);},'rpMmy':function(_0xed69b8,..._0xc8023c){return _0xed69b8(..._0xc8023c);}};try{logger['debug'](_0x2f166d(0x1dd)+_0x46a815[_0x2f166d(0x205)](shouldProcessEventForTesthub)+_0x2f166d(0x1ce)+process[_0x2f166d(0x197)][_0x2f166d(0x1fb)]);const _0x18c29b=_0x10ceb1&&_0x10ceb1[0x0]?_0x10ceb1[0x0]:{};let _0x28b984=0x0;try{if(_0x18c29b[_0x2f166d(0x177)]&&_0x46a815[_0x2f166d(0x1f1)](typeof _0x18c29b[_0x2f166d(0x177)][_0x2f166d(0x14e)],_0x46a815[_0x2f166d(0x146)]))_0x28b984=_0x18c29b[_0x2f166d(0x177)][_0x2f166d(0x14e)];else{if(_0x18c29b[_0x2f166d(0x178)]&&_0x46a815[_0x2f166d(0x1de)](typeof _0x18c29b[_0x2f166d(0x178)][_0x2f166d(0x14e)],_0x46a815[_0x2f166d(0x146)]))_0x28b984=_0x18c29b[_0x2f166d(0x178)][_0x2f166d(0x14e)];else global['jestConfig']&&_0x46a815['bnxCH'](typeof global[_0x2f166d(0x14f)][_0x2f166d(0x14e)],_0x46a815[_0x2f166d(0x146)])&&(_0x28b984=global[_0x2f166d(0x14f)]['browserstackPlatformIndex']);}}catch(_0x5e3896){logger[_0x2f166d(0x213)]('Error\x20reading\x20platformIndex\x20from\x20args:\x20'+util[_0x2f166d(0x19c)](_0x5e3896));}global[_0x2f166d(0x20c)]=_0x28b984,process[_0x2f166d(0x197)]['BROWSERSTACK_PLATFORM_INDEX']=_0x46a815['flSAO'](String,_0x28b984);const _0x261b43=new ObservabilityReporter();!_initializedPlatformIndices[_0x2f166d(0x137)](_0x28b984)?(logger[_0x2f166d(0x213)](_0x2f166d(0x1c8)+_0x28b984),_initializedPlatformIndices['add'](_0x28b984),_0x46a815[_0x2f166d(0x1ac)](shouldProcessEventForTesthub)&&(_0x46a815[_0x2f166d(0x20b)](patchConsoleLogger),_0x261b43[_0x2f166d(0x19e)]())):logger[_0x2f166d(0x213)](_0x2f166d(0x18f)+_0x28b984+_0x2f166d(0x1c1));let _0x3e9b2b;try{_0x3e9b2b=_0x46a815[_0x2f166d(0x15b)](requireModule,_0x46a815[_0x2f166d(0x161)],_0x46a815[_0x2f166d(0x201)]);}catch{_0x3e9b2b=_0x46a815['gbKlq'](requireModule,_0x46a815['TNoZH']);}let _0x3fe244;try{_0x3fe244=_0x46a815[_0x2f166d(0x15b)](requireModule,_0x46a815['swSfh'],_0x46a815['TNoZH'])[_0x2f166d(0x17f)];}catch{_0x3fe244=_0x46a815[_0x2f166d(0x1ed)](requireModule,_0x46a815[_0x2f166d(0x201)])['makeSingleTestResult']||(()=>({}));}const _0x57cbbd=BrowserstackCLI[_0x2f166d(0x1ab)]()[_0x2f166d(0x1fa)]();(_0x46a815['sOeKj'](shouldProcessEventForTesthub)||_0x57cbbd)&&_0x3e9b2b['addEventHandler'](_0x46a815[_0x2f166d(0x14c)](o11yErrorHandler,async(_0x561e2f,_0x48dfac)=>{const _0x5b6f5a=_0x2f166d,_0x419ac6={'tVhIL':function(_0x32df21,_0x1ab924){const _0x3c6180=a17_0x4042;return _0x46a815[_0x3c6180(0x1cf)](_0x32df21,_0x1ab924);}};switch(_0x561e2f['name']){case _0x46a815[_0x5b6f5a(0x19f)]:if(_0x561e2f[_0x5b6f5a(0x15a)]['fn']&&_0x561e2f['hook']['fn'][_0x5b6f5a(0x16d)]()[_0x5b6f5a(0x140)](/browserstack internal helper hook/))break;if(_0x561e2f[_0x5b6f5a(0x15a)][_0x5b6f5a(0x166)]&&_0x46a815[_0x5b6f5a(0x1e7)](_0x561e2f[_0x5b6f5a(0x15a)][_0x5b6f5a(0x166)][_0x5b6f5a(0x133)],_0x46a815[_0x5b6f5a(0x17c)])){const _0x35865b=_0x561e2f['hook']['asyncError']&&((()=>{const _0xb18537=_0x5b6f5a;try{const _0x355c57=_0x46a815[_0xb18537(0x1cf)](require,_0x46a815['ukIId']),_0x45a330=_0x355c57[_0xb18537(0x138)][_0xb18537(0x1bb)](_0x355c57,_0x561e2f['hook'][_0xb18537(0x160)]);return _0x45a330[0x0]&&_0x45a330[0x0][_0xb18537(0x165)]?_0x45a330[0x0]['getFileName']():null;}catch(_0x50392f){return logger[_0xb18537(0x213)](_0xb18537(0x187)+_0x50392f[_0xb18537(0x14a)]),null;}})())||_0x561e2f[_0x5b6f5a(0x15a)][_0x5b6f5a(0x1aa)]||null;if(!_0x35865b)break;}if(BrowserstackCLI[_0x5b6f5a(0x1ab)]()[_0x5b6f5a(0x1fa)]()&&await _0x46a815[_0x5b6f5a(0x17a)](isCLIReady)){if(_0x46a815[_0x5b6f5a(0x1cf)](shouldProcessEventForTesthub,testHubConstants[_0x5b6f5a(0x217)]['HookStarted']))try{await _0x46a815[_0x5b6f5a(0x1f7)](handleHookEventCLI,_0x561e2f[_0x5b6f5a(0x15a)],_0x46a815['XPjOW'],_0x48dfac);break;}catch(_0x1b3c63){_0x46a815[_0x5b6f5a(0x1cf)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x5b6f5a(0x19c)](_0x1b3c63));}}if(_0x46a815['fmdYw'](shouldProcessEventForTesthub,testHubConstants[_0x5b6f5a(0x217)][_0x5b6f5a(0x1d7)])){if(!_0x561e2f[_0x5b6f5a(0x15a)][_0x5b6f5a(0x1e1)]){const _0x5c29ca=TestDetails['setTestUUID'](process[_0x5b6f5a(0x15e)]+':hookAnalyticsId');_0x561e2f[_0x5b6f5a(0x15a)][_0x5b6f5a(0x1e1)]=_0x5c29ca;}else _0x561e2f[_0x5b6f5a(0x15a)]['markedStatus']&&(_0x561e2f[_0x5b6f5a(0x15a)][_0x5b6f5a(0x1e1)]=TestDetails[_0x5b6f5a(0x21d)](process[_0x5b6f5a(0x15e)]+_0x5b6f5a(0x1c7)),delete _0x561e2f['hook'][_0x5b6f5a(0x153)]);_0x561e2f[_0x5b6f5a(0x15a)]['started_at']=new Date()[_0x5b6f5a(0x1db)](),await _0x261b43['sendTestRunEvent'](_0x561e2f[_0x5b6f5a(0x15a)],undefined,![],_0x46a815[_0x5b6f5a(0x154)]);}break;case _0x46a815[_0x5b6f5a(0x1fe)]:if(BrowserstackCLI[_0x5b6f5a(0x1ab)]()[_0x5b6f5a(0x1fa)]()&&await _0x46a815[_0x5b6f5a(0x17a)](isCLIReady)){if(_0x46a815[_0x5b6f5a(0x145)](shouldProcessEventForTesthub,testHubConstants[_0x5b6f5a(0x217)][_0x5b6f5a(0x181)]))try{await _0x46a815[_0x5b6f5a(0x1f7)](handleHookEventCLI,_0x561e2f[_0x5b6f5a(0x15a)],_0x46a815['eTFyN'],_0x48dfac);break;}catch(_0x28a95c){_0x46a815[_0x5b6f5a(0x1cf)](debug,_0x5b6f5a(0x1c6)+util[_0x5b6f5a(0x19c)](_0x28a95c));}}_0x46a815[_0x5b6f5a(0x1cf)](shouldProcessEventForTesthub,testHubConstants[_0x5b6f5a(0x217)][_0x5b6f5a(0x181)])&&(await _0x261b43['sendTestRunEvent'](_0x561e2f[_0x5b6f5a(0x15a)],undefined,![],_0x46a815[_0x5b6f5a(0x13d)]),TestDetails['removeTestUUID'](process[_0x5b6f5a(0x15e)]+_0x5b6f5a(0x1c7)));break;case _0x46a815[_0x5b6f5a(0x1a9)]:[_0x46a815[_0x5b6f5a(0x168)],_0x46a815[_0x5b6f5a(0x1ec)],_0x46a815[_0x5b6f5a(0x14b)]][_0x5b6f5a(0x150)](_0x561e2f[_0x5b6f5a(0x15a)][_0x5b6f5a(0x1d8)])&&(_0x261b43[_0x5b6f5a(0x1ff)]=_0x561e2f[_0x5b6f5a(0x15a)]['type']),_0x48dfac[_0x5b6f5a(0x191)]&&_0x46a815[_0x5b6f5a(0x206)](_0x48dfac['unhandledErrors']['length'],0x0)&&(_0x561e2f[_0x5b6f5a(0x15a)][_0x5b6f5a(0x188)]=[_0x48dfac[_0x5b6f5a(0x191)][0x0][0x0]]);if(BrowserstackCLI[_0x5b6f5a(0x1ab)]()[_0x5b6f5a(0x1fa)]()&&await _0x46a815[_0x5b6f5a(0x20b)](isCLIReady)){if(_0x46a815[_0x5b6f5a(0x219)](shouldProcessEventForTesthub,testHubConstants[_0x5b6f5a(0x217)][_0x5b6f5a(0x181)]))try{await _0x46a815[_0x5b6f5a(0x183)](handleHookEventCLI,_0x561e2f[_0x5b6f5a(0x15a)],_0x46a815[_0x5b6f5a(0x13d)],_0x48dfac);break;}catch(_0x3cbb61){_0x46a815[_0x5b6f5a(0x145)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x5b6f5a(0x19c)](_0x3cbb61));}}_0x46a815[_0x5b6f5a(0x219)](shouldProcessEventForTesthub,testHubConstants[_0x5b6f5a(0x217)][_0x5b6f5a(0x181)])&&(await _0x261b43[_0x5b6f5a(0x1f6)](_0x561e2f[_0x5b6f5a(0x15a)],undefined,![],_0x46a815[_0x5b6f5a(0x13d)]),TestDetails[_0x5b6f5a(0x15c)](process[_0x5b6f5a(0x15e)]+_0x5b6f5a(0x1c7)));break;case _0x46a815[_0x5b6f5a(0x1ba)]:try{let _0x4fabab=_0x561e2f[_0x5b6f5a(0x1f4)]['name']||'';try{let _0x3914ca=_0x561e2f[_0x5b6f5a(0x1f4)][_0x5b6f5a(0x166)];const _0x4de881=[_0x4fabab];while(_0x3914ca&&_0x3914ca[_0x5b6f5a(0x133)]&&_0x46a815['jiapN'](_0x3914ca[_0x5b6f5a(0x133)],_0x46a815[_0x5b6f5a(0x17c)])){_0x4de881[_0x5b6f5a(0x147)](_0x3914ca[_0x5b6f5a(0x133)]),_0x3914ca=_0x3914ca[_0x5b6f5a(0x166)];}_0x4fabab=_0x4de881[_0x5b6f5a(0x132)](_0x46a815[_0x5b6f5a(0x156)]);}catch(_0x2abc72){logger[_0x5b6f5a(0x213)](_0x5b6f5a(0x1b1)+_0x2abc72[_0x5b6f5a(0x14a)]);}process[_0x5b6f5a(0x1f3)]=_0x4fabab,process[_0x5b6f5a(0x1a0)]=null,process[_0x5b6f5a(0x142)]=null,logger[_0x5b6f5a(0x213)](_0x5b6f5a(0x13c)+_0x4fabab+'\x22');if(!global[_0x5b6f5a(0x18b)]){const _0x4f101a={};_0x4f101a[_0x5b6f5a(0x210)]={},global[_0x5b6f5a(0x18b)]=_0x4f101a;}!global[_0x5b6f5a(0x18b)]['currentTest']&&(global[_0x5b6f5a(0x18b)]['currentTest']={});const _0x4c530b={};_0x4c530b[_0x5b6f5a(0x1e5)]=_0x4fabab,_0x4c530b[_0x5b6f5a(0x133)]=_0x4fabab,global[_0x5b6f5a(0x18b)][_0x5b6f5a(0x210)][_0x5b6f5a(0x1ee)]=_0x4c530b,global[_0x5b6f5a(0x1cb)]=_0x4fabab;}catch(_0x453be0){logger[_0x5b6f5a(0x213)]('[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20'+_0x453be0[_0x5b6f5a(0x14a)]);}if(BrowserstackCLI[_0x5b6f5a(0x1ab)]()[_0x5b6f5a(0x1fa)]()&&await _0x46a815['PNAGi'](isCLIReady))try{await _0x46a815[_0x5b6f5a(0x1f7)](handleTestEventCLI,_0x561e2f[_0x5b6f5a(0x1f4)],_0x46a815['DUfnx'],_0x261b43);break;}catch(_0x3667ac){_0x46a815[_0x5b6f5a(0x16f)](debug,_0x5b6f5a(0x1c6)+util[_0x5b6f5a(0x19c)](_0x3667ac));}_0x46a815[_0x5b6f5a(0x17a)](shouldProcessEventForTesthub)&&await _0x261b43[_0x5b6f5a(0x163)](_0x561e2f[_0x5b6f5a(0x1f4)]);break;case _0x46a815['prgTp']:_0x561e2f[_0x5b6f5a(0x1f4)]={..._0x46a815[_0x5b6f5a(0x16f)](_0x3fe244,_0x561e2f['test']),..._0x561e2f[_0x5b6f5a(0x1f4)]};try{const _0x4c3a13=_0x561e2f[_0x5b6f5a(0x1f4)][_0x5b6f5a(0x19d)]||[],_0x3d1f6b=_0x46a815[_0x5b6f5a(0x206)](_0x4c3a13[_0x5b6f5a(0x18d)],0x0)||_0x46a815[_0x5b6f5a(0x1e7)](_0x561e2f['test']['status'],_0x46a815[_0x5b6f5a(0x17d)]),_0x4d6fba=_0x3d1f6b?_0x46a815[_0x5b6f5a(0x20a)]:_0x46a815[_0x5b6f5a(0x155)];let _0x15bb26='';_0x3d1f6b&&(_0x15bb26=_0x4c3a13[_0x5b6f5a(0x179)](_0xa918=>{const _0x40a5e3=_0x5b6f5a;if(Array[_0x40a5e3(0x1df)](_0xa918))return _0xa918[_0x40a5e3(0x179)](_0x3ccc44=>_0x3ccc44&&_0x3ccc44[_0x40a5e3(0x14a)]||String(_0x3ccc44))['join'](';\x20');return _0xa918&&_0xa918[_0x40a5e3(0x14a)]||_0x419ac6['tVhIL'](String,_0xa918);})[_0x5b6f5a(0x132)](';\x20')),process[_0x5b6f5a(0x1a0)]=_0x4d6fba,process['_bstackTestFailureReason']=_0x46a815['GGSOc'](_0x15bb26,''),logger['debug'](_0x5b6f5a(0x16e)+_0x4d6fba+'\x22'),global['__workerDetails']&&global[_0x5b6f5a(0x18b)][_0x5b6f5a(0x210)]&&(!global[_0x5b6f5a(0x18b)][_0x5b6f5a(0x210)][_0x5b6f5a(0x1ee)]&&(global[_0x5b6f5a(0x18b)][_0x5b6f5a(0x210)]['testInfo']={}),global['__workerDetails'][_0x5b6f5a(0x210)]['testInfo'][_0x5b6f5a(0x172)]=_0x4d6fba,_0x3d1f6b&&(global[_0x5b6f5a(0x18b)]['currentTest'][_0x5b6f5a(0x1ee)][_0x5b6f5a(0x185)]=_0x15bb26));}catch(_0x40990d){logger[_0x5b6f5a(0x213)](_0x5b6f5a(0x1e6)+_0x40990d['message']);}if(!_0x561e2f[_0x5b6f5a(0x1f4)][_0x5b6f5a(0x153)]){_0x561e2f[_0x5b6f5a(0x1f4)][_0x5b6f5a(0x153)]=!![];if(BrowserstackCLI[_0x5b6f5a(0x1ab)]()[_0x5b6f5a(0x1fa)]()&&await _0x46a815[_0x5b6f5a(0x205)](isCLIReady))try{await _0x46a815['WefHm'](handleTestEventCLI,_0x561e2f[_0x5b6f5a(0x1f4)],_0x46a815[_0x5b6f5a(0x21a)],_0x261b43);break;}catch(_0x359ccc){_0x46a815['bHICU'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x5b6f5a(0x19c)](_0x359ccc));}_0x46a815[_0x5b6f5a(0x205)](shouldProcessEventForTesthub)&&await _0x261b43[_0x5b6f5a(0x1f6)](_0x561e2f[_0x5b6f5a(0x1f4)]);}break;case _0x46a815['Ykxji']:_0x561e2f[_0x5b6f5a(0x1f4)]={..._0x46a815[_0x5b6f5a(0x1cf)](_0x3fe244,_0x561e2f[_0x5b6f5a(0x1f4)]),..._0x561e2f[_0x5b6f5a(0x1f4)]};if(!_0x561e2f['test'][_0x5b6f5a(0x153)]){_0x561e2f['test'][_0x5b6f5a(0x153)]=!![];if(BrowserstackCLI['getInstance']()[_0x5b6f5a(0x1fa)]()&&await _0x46a815[_0x5b6f5a(0x1d6)](isCLIReady))try{await _0x46a815['RfizD'](handleTestEventCLI,_0x561e2f['test'],_0x46a815[_0x5b6f5a(0x199)],_0x261b43);break;}catch(_0x5d2a2a){_0x46a815['VCBom'](debug,_0x5b6f5a(0x1c6)+util[_0x5b6f5a(0x19c)](_0x5d2a2a));}_0x46a815[_0x5b6f5a(0x17a)](shouldProcessEventForTesthub)&&await _0x261b43['sendTestRunEvent'](_0x561e2f[_0x5b6f5a(0x1f4)],undefined,![],_0x46a815[_0x5b6f5a(0x199)]);}break;case _0x46a815[_0x5b6f5a(0x182)]:_0x261b43[_0x5b6f5a(0x1ff)]=null;break;case _0x46a815[_0x5b6f5a(0x16b)]:await RequestQueueHandler[_0x5b6f5a(0x1ab)]()[_0x5b6f5a(0x171)](),process['removeAllListeners']();break;default:}},_0x46a815[_0x2f166d(0x1d3)]));}catch(_0x170d0b){_0x46a815['jYiAb'](debug,_0x2f166d(0x20d)+_0x170d0b);}return _0x46a815[_0x2f166d(0x1c0)](initInitialize,..._0x10ceb1);};try{Object[a17_0x5cff8c(0x1e3)](exportsI)[a17_0x5cff8c(0x1e9)](_0x160431=>{const _0x124313=a17_0x5cff8c,_0x10f561={'isYqf':function(_0x95cb8a,_0x2c5b1c){return _0x95cb8a(_0x2c5b1c);}};try{exports&&(exports[_0x160431]=exportsI[_0x160431]);}catch(_0x1ea5fe){_0x10f561[_0x124313(0x1d0)](debug,'Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20'+_0x1ea5fe);}});}catch(a17_0x34c35e){debug(a17_0x5cff8c(0x20e)+a17_0x34c35e);}
@@ -1 +1 @@
1
- function a18_0x2b2c(){const _0x50613c=['filter','6VGlHQG','7656ZAskvG','env','includes','248fcBFKo','map','532372wxzEnf','sort','149824PbkKTT','JEST_TEST_ORDER','839128kgJssF','125237jfvcic','exports','1764865iyEVRT','@jest/test-sequencer','410RlmujH','9nWbNvs','default','get','8481bVFKIt','16803iyQHXg'];a18_0x2b2c=function(){return _0x50613c;};return a18_0x2b2c();}const a18_0x34076b=a18_0x5444;(function(_0x6d4b94,_0x4a7d70){const _0x3eea7c=a18_0x5444,_0x4ea47e=_0x6d4b94();while(!![]){try{const _0x2e14d4=-parseInt(_0x3eea7c(0x14c))/0x1+-parseInt(_0x3eea7c(0x14e))/0x2+-parseInt(_0x3eea7c(0x154))/0x3*(parseInt(_0x3eea7c(0x14a))/0x4)+parseInt(_0x3eea7c(0x151))/0x5*(parseInt(_0x3eea7c(0x15a))/0x6)+parseInt(_0x3eea7c(0x14f))/0x7*(parseInt(_0x3eea7c(0x148))/0x8)+parseInt(_0x3eea7c(0x158))/0x9*(-parseInt(_0x3eea7c(0x153))/0xa)+-parseInt(_0x3eea7c(0x157))/0xb*(-parseInt(_0x3eea7c(0x15b))/0xc);if(_0x2e14d4===_0x4a7d70)break;else _0x4ea47e['push'](_0x4ea47e['shift']());}catch(_0x442f95){_0x4ea47e['push'](_0x4ea47e['shift']());}}}(a18_0x2b2c,0x567e6));const Sequencer=require(a18_0x34076b(0x152))[a18_0x34076b(0x155)];class CustomSequencer extends Sequencer{[a18_0x34076b(0x14b)](_0x4d2666){const _0xcb390b=a18_0x34076b,_0xa7f523=process[_0xcb390b(0x146)][_0xcb390b(0x14d)];if(!_0xa7f523)return _0x4d2666;const _0x41412d=_0xa7f523['split'](','),_0x1f96ad=new Map(_0x4d2666[_0xcb390b(0x159)](_0x41cef7=>_0x41412d[_0xcb390b(0x147)](_0x41cef7['path']))[_0xcb390b(0x149)](_0x14deb6=>[_0x14deb6['path'],_0x14deb6]));return _0x41412d[_0xcb390b(0x149)](_0x2050c9=>_0x1f96ad[_0xcb390b(0x156)](_0x2050c9))[_0xcb390b(0x159)](Boolean);}}function a18_0x5444(_0x4d7d27,_0x368aa2){const _0x2b2c10=a18_0x2b2c();return a18_0x5444=function(_0x54444a,_0x432563){_0x54444a=_0x54444a-0x146;let _0x4b0818=_0x2b2c10[_0x54444a];return _0x4b0818;},a18_0x5444(_0x4d7d27,_0x368aa2);}module[a18_0x34076b(0x150)]=CustomSequencer;
1
+ function a18_0x19b6(){const _0x28e842=['split','784eixDZr','@jest/test-sequencer','749432syvmUW','2343SvwqZQ','sort','4488oYdgQi','1210730DDqZGf','path','6444621fRkZXJ','map','188MdmWsB','filter','15999AhBRYE','70nfxorf','4727wfuIQc','6zSXYqd','includes','JEST_TEST_ORDER','2470575gOxdzU'];a18_0x19b6=function(){return _0x28e842;};return a18_0x19b6();}function a18_0x5eb7(_0x5d9353,_0x352ecc){const _0x19b672=a18_0x19b6();return a18_0x5eb7=function(_0x5eb7c4,_0x365cab){_0x5eb7c4=_0x5eb7c4-0xa4;let _0x3bfbbe=_0x19b672[_0x5eb7c4];return _0x3bfbbe;},a18_0x5eb7(_0x5d9353,_0x352ecc);}const a18_0x5464d6=a18_0x5eb7;(function(_0x2665ef,_0x358508){const _0x14431b=a18_0x5eb7,_0x1de9cb=_0x2665ef();while(!![]){try{const _0x4167f5=-parseInt(_0x14431b(0xb2))/0x1*(parseInt(_0x14431b(0xae))/0x2)+parseInt(_0x14431b(0xb0))/0x3*(parseInt(_0x14431b(0xa4))/0x4)+-parseInt(_0x14431b(0xb6))/0x5*(parseInt(_0x14431b(0xb3))/0x6)+parseInt(_0x14431b(0xb1))/0x7*(parseInt(_0x14431b(0xa6))/0x8)+-parseInt(_0x14431b(0xac))/0x9+parseInt(_0x14431b(0xaa))/0xa+parseInt(_0x14431b(0xa7))/0xb*(parseInt(_0x14431b(0xa9))/0xc);if(_0x4167f5===_0x358508)break;else _0x1de9cb['push'](_0x1de9cb['shift']());}catch(_0x2b5620){_0x1de9cb['push'](_0x1de9cb['shift']());}}}(a18_0x19b6,0x80f8f));const Sequencer=require(a18_0x5464d6(0xa5))['default'];class CustomSequencer extends Sequencer{[a18_0x5464d6(0xa8)](_0x745858){const _0x5c6843=a18_0x5464d6,_0x1440bb=process['env'][_0x5c6843(0xb5)];if(!_0x1440bb)return _0x745858;const _0x415fef=_0x1440bb[_0x5c6843(0xb7)](','),_0x2d5e33=new Map(_0x745858[_0x5c6843(0xaf)](_0x1c70b8=>_0x415fef[_0x5c6843(0xb4)](_0x1c70b8['path']))[_0x5c6843(0xad)](_0x1ee53b=>[_0x1ee53b[_0x5c6843(0xab)],_0x1ee53b]));return _0x415fef[_0x5c6843(0xad)](_0x2592fb=>_0x2d5e33['get'](_0x2592fb))[_0x5c6843(0xaf)](Boolean);}}module['exports']=CustomSequencer;