browserstack-node-sdk 1.50.0 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a10_0x490ac2=a10_0x1e0b;function a10_0x2fba(){const _0x54a41=['6024xblYNy','510ZaZpqm','CONFIG','672147JacZEc','3QkfyYN','704798ttcPSd','MiuYW','env','Error:\x20quiting\x20at\x20After:\x20','__error_messages__','skipSessionStatus','\x20|\x20','status','initQuit','../../helpers/setKeepAlive','YoRIE','passed','33069707sKROqQ','__skipSessionName','XKmEr','__driver','14315HQgDPi','parse','debug','timeout','Inside\x20browserstack\x20After','Inside\x20browserstack\x20Before','2016aAqEVN','session_','../../helpers/logger','__platformCaps','ydOXo','skipSessionName','result','failed','pickle','After','then','55750xwkNXZ','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','59330cYGvcx','name','__timeout','1841072uShvoW','fwdKU','BaIhW','__skipSessionStatus','QAoMq','WrybD','\x22}}','../../index','Error:\x20setting\x20status\x20at\x20After:\x20'];a10_0x2fba=function(){return _0x54a41;};return a10_0x2fba();}(function(_0x3b3218,_0x1a938d){const _0x3a1eb0=a10_0x1e0b,_0x5d314e=_0x3b3218();while(!![]){try{const _0x1b3829=-parseInt(_0x3a1eb0(0x153))/0x1+-parseInt(_0x3a1eb0(0x155))/0x2*(-parseInt(_0x3a1eb0(0x154))/0x3)+parseInt(_0x3a1eb0(0x147))/0x4+-parseInt(_0x3a1eb0(0x144))/0x5*(-parseInt(_0x3a1eb0(0x151))/0x6)+parseInt(_0x3a1eb0(0x165))/0x7*(parseInt(_0x3a1eb0(0x150))/0x8)+parseInt(_0x3a1eb0(0x16b))/0x9*(parseInt(_0x3a1eb0(0x142))/0xa)+-parseInt(_0x3a1eb0(0x161))/0xb;if(_0x1b3829===_0x1a938d)break;else _0x5d314e['push'](_0x5d314e['shift']());}catch(_0x1233af){_0x5d314e['push'](_0x5d314e['shift']());}}}(a10_0x2fba,0xe3696));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x490ac2(0x15e)),cucumberModule=requireModule('cucumber/lib/index.js','cucumber'),logger=require(a10_0x490ac2(0x16d))['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a10_0x490ac2(0x174)],configuration=process[a10_0x490ac2(0x157)][a10_0x490ac2(0x152)];if(configuration!==undefined){const config=JSON[a10_0x490ac2(0x166)](configuration);isTrue(config[a10_0x490ac2(0x170)])&&(global[a10_0x490ac2(0x162)]=!![]),global[a10_0x490ac2(0x14a)]=isTrue(config[a10_0x490ac2(0x15a)]),require(a10_0x490ac2(0x14e))['browserstackAgentV2'](config),global[a10_0x490ac2(0x16e)]=config['platformCaps']||{};}global[a10_0x490ac2(0x146)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule['setDefaultTimeout']=_0x3bcb11=>{const _0x3948f8=a10_0x490ac2,_0x3d55dd={'MiuYW':function(_0x302e3d,_0x16bb33){return _0x302e3d(_0x16bb33);}};global[_0x3948f8(0x146)]=_0x3bcb11,_0x3d55dd[_0x3948f8(0x156)](__setDefaultTimeout,_0x3bcb11);};const a10_0x46c9fb={};a10_0x46c9fb[a10_0x490ac2(0x145)]='bstack',Before(a10_0x46c9fb,function(){const _0x316c7a=a10_0x490ac2,_0x1ab985={};_0x1ab985[_0x316c7a(0x16f)]=_0x316c7a(0x16a);const _0x1526f8=_0x1ab985;logger[_0x316c7a(0x167)](_0x1526f8[_0x316c7a(0x16f)]),global[_0x316c7a(0x159)]=[];});function a10_0x1e0b(_0x4b0a73,_0x3ba776){const _0x2fbae0=a10_0x2fba();return a10_0x1e0b=function(_0x1e0b4d,_0x58737e){_0x1e0b4d=_0x1e0b4d-0x141;let _0x236c09=_0x2fbae0[_0x1e0b4d];return _0x236c09;},a10_0x1e0b(_0x4b0a73,_0x3ba776);}const a10_0x2b500b={};a10_0x2b500b[a10_0x490ac2(0x145)]='bstack',a10_0x2b500b[a10_0x490ac2(0x168)]=0x2710,After(a10_0x2b500b,function(_0x2ad4d6,_0x639045){const _0xe98190=a10_0x490ac2,_0x132eba={'bbrnC':function(_0x106401,_0x5777a0){return _0x106401===_0x5777a0;},'WrybD':_0xe98190(0x172),'fwdKU':function(_0xde2b71,_0x5a5b88,_0x31a8e9,_0x3d22e2){return _0xde2b71(_0x5a5b88,_0x31a8e9,_0x3d22e2);},'QAoMq':_0xe98190(0x15b),'BaIhW':function(_0x3e53e9,_0x5c68a3,_0x41b9e4){return _0x3e53e9(_0x5c68a3,_0x41b9e4);},'nGRtS':_0xe98190(0x160),'XKmEr':function(_0x5926ca){return _0x5926ca();},'YKSxM':function(_0x1c9a22,_0x4f14a3){return _0x1c9a22(_0x4f14a3);},'YoRIE':_0xe98190(0x169)};logger[_0xe98190(0x167)](_0x132eba[_0xe98190(0x15f)]),new Promise(async(_0x26f8cc,_0x4c1971)=>{const _0x1f3077=_0xe98190;let _0x37bdcd=![];try{await global['__driver'][_0x1f3077(0x16c)],_0x37bdcd=!![],!global[_0x1f3077(0x162)]&&await global[_0x1f3077(0x164)]['executeScript'](_0x1f3077(0x143)+_0x2ad4d6[_0x1f3077(0x173)][_0x1f3077(0x145)]+_0x1f3077(0x14d)),_0x132eba['bbrnC'](_0x2ad4d6[_0x1f3077(0x171)][_0x1f3077(0x15c)]['toLowerCase'](),_0x132eba[_0x1f3077(0x14c)])?await _0x132eba[_0x1f3077(0x148)](markSessionStatus,global[_0x1f3077(0x164)],_0x132eba[_0x1f3077(0x14c)],global[_0x1f3077(0x159)]['join'](_0x132eba[_0x1f3077(0x14b)])):await _0x132eba[_0x1f3077(0x149)](markSessionStatus,global['__driver'],_0x132eba['nGRtS']);}catch(_0x1c5150){logger[_0x1f3077(0x167)](_0x1f3077(0x14f)+_0x1c5150);}if(_0x37bdcd)try{await global[_0x1f3077(0x164)][_0x1f3077(0x15d)](),_0x132eba[_0x1f3077(0x163)](_0x26f8cc);}catch(_0x3fd961){logger['debug'](_0x1f3077(0x158)+_0x3fd961),_0x132eba['YKSxM'](_0x4c1971,_0x3fd961);}else _0x132eba[_0x1f3077(0x163)](_0x4c1971);})[_0xe98190(0x141)](()=>_0x639045());});
1
+ const a10_0x45281b=a10_0x239c;(function(_0x298609,_0x185f56){const _0x3827ec=a10_0x239c,_0x5c54c8=_0x298609();while(!![]){try{const _0x539f4c=parseInt(_0x3827ec(0x1a5))/0x1*(-parseInt(_0x3827ec(0x1a0))/0x2)+parseInt(_0x3827ec(0x1a1))/0x3+-parseInt(_0x3827ec(0x17e))/0x4+-parseInt(_0x3827ec(0x179))/0x5*(-parseInt(_0x3827ec(0x185))/0x6)+parseInt(_0x3827ec(0x196))/0x7+-parseInt(_0x3827ec(0x18a))/0x8*(parseInt(_0x3827ec(0x19d))/0x9)+-parseInt(_0x3827ec(0x190))/0xa*(-parseInt(_0x3827ec(0x195))/0xb);if(_0x539f4c===_0x185f56)break;else _0x5c54c8['push'](_0x5c54c8['shift']());}catch(_0x3fe9e8){_0x5c54c8['push'](_0x5c54c8['shift']());}}}(a10_0x1ef7,0x19edc));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x45281b(0x18d)),setKeepAlive=require(a10_0x45281b(0x19c)),cucumberModule=requireModule(a10_0x45281b(0x197),a10_0x45281b(0x199)),logger=require('../../helpers/logger')[a10_0x45281b(0x1a7)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x45281b(0x1ab)],After=cucumberModule[a10_0x45281b(0x17c)],configuration=process[a10_0x45281b(0x1aa)][a10_0x45281b(0x198)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a10_0x45281b(0x1a3)])&&(global[a10_0x45281b(0x177)]=!![]),global[a10_0x45281b(0x191)]=isTrue(config[a10_0x45281b(0x1a4)]),require('../../index')[a10_0x45281b(0x18f)](config),global[a10_0x45281b(0x189)]=config[a10_0x45281b(0x193)]||{};}global[a10_0x45281b(0x18e)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a10_0x45281b(0x1a6)]=_0x2cf4a9=>{const _0x31e671=a10_0x45281b,_0x5d4e57={'weCgk':function(_0x32769c,_0x4d4f44){return _0x32769c(_0x4d4f44);}};global[_0x31e671(0x18e)]=_0x2cf4a9,_0x5d4e57[_0x31e671(0x19e)](__setDefaultTimeout,_0x2cf4a9);};const a10_0x1f2fbd={};function a10_0x239c(_0xfd55af,_0x4a9a81){const _0x1ef7a9=a10_0x1ef7();return a10_0x239c=function(_0x239c89,_0x544dd9){_0x239c89=_0x239c89-0x177;let _0x334471=_0x1ef7a9[_0x239c89];return _0x334471;},a10_0x239c(_0xfd55af,_0x4a9a81);}a10_0x1f2fbd[a10_0x45281b(0x17a)]=a10_0x45281b(0x1a9),Before(a10_0x1f2fbd,function(){const _0xa65f93=a10_0x45281b,_0x5a3e73={};_0x5a3e73['wsZrT']=_0xa65f93(0x194);const _0x38a7b3=_0x5a3e73;logger[_0xa65f93(0x188)](_0x38a7b3['wsZrT']),global['__error_messages__']=[];});function a10_0x1ef7(){const _0x4641c1=['cucumber','join','executeScript','../../helpers/setKeepAlive','813573PVlVqZ','weCgk','initQuit','518tDWynb','227352gpBKNN','ffmsR','skipSessionName','skipSessionStatus','115sylmJV','setDefaultTimeout','winstonLogger','__error_messages__','bstack','env','Before','onTpg','result','__skipSessionName','then','140JDcOLE','name','Inside\x20browserstack\x20After','After','QxPTZ','726088VPKdNU','failed','__driver','KwRti','status','fWNdf','Error:\x20setting\x20status\x20at\x20After:\x20','33996FULyOX','olMHj','Error:\x20quiting\x20at\x20After:\x20','debug','__platformCaps','16yGDIvn','\x20|\x20','pickle','../../helpers/helper','__timeout','browserstackAgentV2','10DkBJpw','__skipSessionStatus','koFlM','platformCaps','Inside\x20browserstack\x20Before','1813581mAlxEz','693014NVvwgr','cucumber/lib/index.js','CONFIG'];a10_0x1ef7=function(){return _0x4641c1;};return a10_0x1ef7();}const a10_0x30dd22={};a10_0x30dd22[a10_0x45281b(0x17a)]=a10_0x45281b(0x1a9),a10_0x30dd22['timeout']=0x2710,After(a10_0x30dd22,function(_0x148e8d,_0x223d7b){const _0x2bfce0=a10_0x45281b,_0x1bc353={'tCyUD':function(_0x4d47b1,_0x25d330){return _0x4d47b1===_0x25d330;},'olMHj':_0x2bfce0(0x17f),'KwRti':function(_0x26c792,_0x33f714,_0x407418,_0x13124b){return _0x26c792(_0x33f714,_0x407418,_0x13124b);},'ffmsR':_0x2bfce0(0x18b),'BZzXc':function(_0x1b3203,_0x8ccbf3,_0x32d3a3){return _0x1b3203(_0x8ccbf3,_0x32d3a3);},'koFlM':'passed','QxPTZ':function(_0x453687){return _0x453687();},'onTpg':function(_0xbdfae8,_0x5df3be){return _0xbdfae8(_0x5df3be);},'fWNdf':function(_0x4a7e67){return _0x4a7e67();},'TMTJK':_0x2bfce0(0x17b)};logger[_0x2bfce0(0x188)](_0x1bc353['TMTJK']),new Promise(async(_0x1646c6,_0x3c2ed9)=>{const _0x35b84d=_0x2bfce0;let _0x5c8b7d=![];try{await global[_0x35b84d(0x180)]['session_'],_0x5c8b7d=!![],!global[_0x35b84d(0x177)]&&await global[_0x35b84d(0x180)][_0x35b84d(0x19b)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x148e8d[_0x35b84d(0x18c)]['name']+'\x22}}'),_0x1bc353['tCyUD'](_0x148e8d[_0x35b84d(0x1ad)][_0x35b84d(0x182)]['toLowerCase'](),_0x1bc353[_0x35b84d(0x186)])?await _0x1bc353[_0x35b84d(0x181)](markSessionStatus,global[_0x35b84d(0x180)],_0x1bc353[_0x35b84d(0x186)],global[_0x35b84d(0x1a8)][_0x35b84d(0x19a)](_0x1bc353[_0x35b84d(0x1a2)])):await _0x1bc353['BZzXc'](markSessionStatus,global[_0x35b84d(0x180)],_0x1bc353[_0x35b84d(0x192)]);}catch(_0x5c1eea){logger[_0x35b84d(0x188)](_0x35b84d(0x184)+_0x5c1eea);}if(_0x5c8b7d)try{await global[_0x35b84d(0x180)][_0x35b84d(0x19f)](),_0x1bc353[_0x35b84d(0x17d)](_0x1646c6);}catch(_0x3dd524){logger[_0x35b84d(0x188)](_0x35b84d(0x187)+_0x3dd524),_0x1bc353[_0x35b84d(0x1ac)](_0x3c2ed9,_0x3dd524);}else _0x1bc353[_0x35b84d(0x183)](_0x3c2ed9);})[_0x2bfce0(0x178)](()=>_0x223d7b());});
@@ -1 +1 @@
1
- const a11_0x3e7f02=a11_0x609d;function a11_0x49a2(){const _0x1a3268=['600218JtMZlw','2980791zZHNJU','150iLebip','@cucumber/cucumber','__timeout','../../helpers/helper','2794984KklHzv','6324716zaPjvX','135iGgxVB','@cucumber/cucumber/lib/index.js','862326YHSzJI','cucumber','243462YOFxkm','../utils/constants','setDefaultTimeout','cucumber/lib/index.js','59080OMvVoy','28kLUArx'];a11_0x49a2=function(){return _0x1a3268;};return a11_0x49a2();}(function(_0x1127ba,_0x2e1abc){const _0x2bb6f5=a11_0x609d,_0x2cbde8=_0x1127ba();while(!![]){try{const _0xce24b4=parseInt(_0x2bb6f5(0x171))/0x1+parseInt(_0x2bb6f5(0x173))/0x2+-parseInt(_0x2bb6f5(0x16b))/0x3+-parseInt(_0x2bb6f5(0x168))/0x4+-parseInt(_0x2bb6f5(0x169))/0x5*(parseInt(_0x2bb6f5(0x16d))/0x6)+parseInt(_0x2bb6f5(0x172))/0x7*(-parseInt(_0x2bb6f5(0x167))/0x8)+parseInt(_0x2bb6f5(0x174))/0x9*(parseInt(_0x2bb6f5(0x175))/0xa);if(_0xce24b4===_0x2e1abc)break;else _0x2cbde8['push'](_0x2cbde8['shift']());}catch(_0x22dc99){_0x2cbde8['push'](_0x2cbde8['shift']());}}}(a11_0x49a2,0xebb6a));const {requireModule}=require(a11_0x3e7f02(0x166)),constants=require(a11_0x3e7f02(0x16e));function a11_0x609d(_0x21f911,_0x5a3dd9){const _0x49a205=a11_0x49a2();return a11_0x609d=function(_0x609dac,_0x47cb9f){_0x609dac=_0x609dac-0x166;let _0x20136e=_0x49a205[_0x609dac];return _0x20136e;},a11_0x609d(_0x21f911,_0x5a3dd9);};let cucumberModule=null;try{cucumberModule=requireModule(a11_0x3e7f02(0x16a),a11_0x3e7f02(0x176));}catch(a11_0x14fcb5){cucumberModule=requireModule(a11_0x3e7f02(0x170),a11_0x3e7f02(0x16c));}cucumberModule[a11_0x3e7f02(0x16f)](constants['BSTACK_DELTA']+global[a11_0x3e7f02(0x177)]*0x1);
1
+ function a11_0x1e23(_0x545af0,_0x4b5a69){const _0x67337b=a11_0x6733();return a11_0x1e23=function(_0x1e2335,_0x5ec73b){_0x1e2335=_0x1e2335-0xe4;let _0x2df668=_0x67337b[_0x1e2335];return _0x2df668;},a11_0x1e23(_0x545af0,_0x4b5a69);}const a11_0x2343d8=a11_0x1e23;function a11_0x6733(){const _0x10a1b4=['5316FvHdWa','32ckqxHw','24513CJjtKM','18xmUmiJ','../utils/constants','2nqtGAG','798842VhPfxC','652bXgHdg','1087015QMTjbD','setDefaultTimeout','10UwUksQ','4183881XTpIPz','102361aZSKnj','@cucumber/cucumber','12FxdPwz','../../helpers/helper','cucumber/lib/index.js','cucumber','BSTACK_DELTA','1940778jvTxuG'];a11_0x6733=function(){return _0x10a1b4;};return a11_0x6733();}(function(_0x2fa666,_0x3b2037){const _0x37e878=a11_0x1e23,_0x3049f2=_0x2fa666();while(!![]){try{const _0x4d900f=-parseInt(_0x37e878(0xf3))/0x1*(parseInt(_0x37e878(0xf6))/0x2)+-parseInt(_0x37e878(0xf1))/0x3*(parseInt(_0x37e878(0xe4))/0x4)+-parseInt(_0x37e878(0xe5))/0x5*(-parseInt(_0x37e878(0xf4))/0x6)+-parseInt(_0x37e878(0xe9))/0x7*(-parseInt(_0x37e878(0xf2))/0x8)+-parseInt(_0x37e878(0xf0))/0x9+-parseInt(_0x37e878(0xe7))/0xa*(parseInt(_0x37e878(0xf7))/0xb)+-parseInt(_0x37e878(0xeb))/0xc*(-parseInt(_0x37e878(0xe8))/0xd);if(_0x4d900f===_0x3b2037)break;else _0x3049f2['push'](_0x3049f2['shift']());}catch(_0x2846d6){_0x3049f2['push'](_0x3049f2['shift']());}}}(a11_0x6733,0x6934d));const {requireModule}=require(a11_0x2343d8(0xec)),constants=require(a11_0x2343d8(0xf5));;let cucumberModule=null;try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a11_0x2343d8(0xea));}catch(a11_0x7cc555){cucumberModule=requireModule(a11_0x2343d8(0xed),a11_0x2343d8(0xee));}cucumberModule[a11_0x2343d8(0xe6)](constants[a11_0x2343d8(0xef)]+global['__timeout']*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a12_0x53e8(_0x436150,_0x2b6a5c){const _0x2a1b66=a12_0x2a1b();return a12_0x53e8=function(_0x53e854,_0x5c4d8b){_0x53e854=_0x53e854-0x8c;let _0x334d45=_0x2a1b66[_0x53e854];return _0x334d45;},a12_0x53e8(_0x436150,_0x2b6a5c);}const a12_0x2547ca=a12_0x53e8;(function(_0x3521c5,_0x445e36){const _0x185429=a12_0x53e8,_0x23cd3e=_0x3521c5();while(!![]){try{const _0x3336a2=-parseInt(_0x185429(0xcb))/0x1*(-parseInt(_0x185429(0x9f))/0x2)+-parseInt(_0x185429(0x9e))/0x3+-parseInt(_0x185429(0x97))/0x4+-parseInt(_0x185429(0xbb))/0x5+parseInt(_0x185429(0xd2))/0x6+parseInt(_0x185429(0x9a))/0x7+parseInt(_0x185429(0x8c))/0x8*(parseInt(_0x185429(0xc5))/0x9);if(_0x3336a2===_0x445e36)break;else _0x23cd3e['push'](_0x23cd3e['shift']());}catch(_0x541224){_0x23cd3e['push'](_0x23cd3e['shift']());}}}(a12_0x2a1b,0x84afd));const {default:BrowserStackSetup}=require(a12_0x2547ca(0xa5)),logger=require(a12_0x2547ca(0xa6))[a12_0x2547ca(0x9c)],{URL}=require(a12_0x2547ca(0xad)),helper=require(a12_0x2547ca(0xb1)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x2547ca(0xb0)),validHosts=function(_0x46d91f){return _0x46d91f['split'](',')['every'](_0x5cb8a4=>{const _0x70bb99=a12_0x53e8;try{new URL(_0x5cb8a4[_0x70bb99(0xc1)]());}catch(_0x3c0c48){return![];}return!![];});},parseOnPremHosts=function(_0x10e474){const _0x31fd8d=a12_0x2547ca,_0x7adadf={};_0x7adadf[_0x31fd8d(0x9d)]=function(_0x5c9bf6,_0x15cd0d){return _0x5c9bf6===_0x15cd0d;},_0x7adadf['fpgXS']=_0x31fd8d(0xa2),_0x7adadf['uyrxw']=_0x31fd8d(0xce),_0x7adadf['jIpkF']=function(_0x5935a4,_0x509e1c){return _0x5935a4===_0x509e1c;},_0x7adadf[_0x31fd8d(0x96)]='https';const _0x32b62f=_0x7adadf;return _0x10e474[_0x31fd8d(0xb7)](',')['map'](_0x53b378=>{const _0x19a3cb=_0x31fd8d,_0x2147ad=new URL(_0x53b378['trim']()),_0x5cb648=_0x2147ad[_0x19a3cb(0xbe)],_0x4c33ac=_0x2147ad[_0x19a3cb(0xb5)]||(_0x32b62f[_0x19a3cb(0x9d)](_0x2147ad[_0x19a3cb(0xc2)],_0x32b62f[_0x19a3cb(0xaf)])?_0x32b62f[_0x19a3cb(0xb8)]:'80'),_0x304274=_0x2147ad[_0x19a3cb(0xc2)][_0x19a3cb(0x99)](':',''),_0x37fba9=_0x32b62f['jIpkF'](_0x304274,_0x32b62f[_0x19a3cb(0x96)])?0x1:0x0;return _0x5cb648+','+_0x4c33ac+','+_0x37fba9;});},connectCommandBuilder=function(_0x1061b1){const _0x24a20f=a12_0x2547ca,_0x514ed5={};_0x514ed5[_0x24a20f(0xca)]=_0x24a20f(0xc3);const _0x212128=_0x514ed5,_0x527e58={};_0x527e58[_0x24a20f(0xae)]=HELP_MESSAGES[_0x24a20f(0xbc)][_0x24a20f(0xd3)],_0x527e58[_0x24a20f(0x92)]=_0x212128[_0x24a20f(0xca)];const _0xbac637={};_0xbac637[_0x24a20f(0xae)]=HELP_MESSAGES[_0x24a20f(0xbc)]['hosts'],_0xbac637[_0x24a20f(0x92)]=_0x212128[_0x24a20f(0xca)],_0xbac637[_0x24a20f(0xb4)]=!![];const _0x284e70={};return _0x284e70[_0x24a20f(0xcc)]=_0x527e58,_0x284e70[_0x24a20f(0xb9)]=_0xbac637,_0x1061b1['options'](_0x284e70);},connectCommandHandler=async function(_0x30667c){const _0x1d1a07=a12_0x2547ca,_0x5e2df1={'SWGDY':_0x1d1a07(0x93),'KHLFV':function(_0x283c78,_0x2ec994){return _0x283c78===_0x2ec994;},'kNDCB':_0x1d1a07(0x9b),'zhHII':_0x1d1a07(0xba),'WSEqi':_0x1d1a07(0xb6),'qAJyo':function(_0x42218e,_0x84283f){return _0x42218e(_0x84283f);},'gPJwo':_0x1d1a07(0x91),'cpnLb':function(_0x4cbc83,_0x1a79a7){return _0x4cbc83(_0x1a79a7);},'udvfF':_0x1d1a07(0xa0),'xWRdI':_0x1d1a07(0xc0),'qjkMY':_0x1d1a07(0xc8)};try{const _0x1e36de=new BrowserStackSetup(_0x30667c,_0x5e2df1[_0x1d1a07(0x90)]);_0x30667c[_0x1d1a07(0xaa)]&&(_0x1e36de[_0x1d1a07(0xa1)][_0x1d1a07(0xbf)]=_0x30667c[_0x1d1a07(0xaa)]);if(_0x5e2df1['KHLFV'](typeof _0x1e36de['config'][_0x1d1a07(0xbf)],_0x5e2df1['kNDCB'])){logger[_0x1d1a07(0xc9)](_0x5e2df1[_0x1d1a07(0x94)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x1d1a07(0x8d)]);}const _0x4126c9=_0x30667c[_0x1d1a07(0xb9)];if(_0x5e2df1['KHLFV'](typeof _0x4126c9,_0x5e2df1[_0x1d1a07(0xd0)])){logger[_0x1d1a07(0xc9)](_0x5e2df1[_0x1d1a07(0xb3)]);throw new Error(ERROR_MESSAGES[_0x1d1a07(0xb9)][_0x1d1a07(0x8d)]);}if(!_0x5e2df1[_0x1d1a07(0xac)](validHosts,_0x4126c9)){logger[_0x1d1a07(0xc9)](_0x5e2df1[_0x1d1a07(0xb2)]);throw new Error(ERROR_MESSAGES[_0x1d1a07(0xb9)][_0x1d1a07(0x95)]);}const _0x4de9b2=_0x5e2df1[_0x1d1a07(0xa9)](parseOnPremHosts,_0x4126c9);_0x1e36de[_0x1d1a07(0xa1)]['browserstackLocal']=!![],_0x1e36de[_0x1d1a07(0xa1)]['browserStackLocalOptions'][_0x1d1a07(0xa4)]=_0x5e2df1[_0x1d1a07(0xcd)],_0x1e36de[_0x1d1a07(0xa1)][_0x1d1a07(0xcf)][_0x1d1a07(0x8e)]=_0x4de9b2['join'](','),helper['setProxySettings'](_0x1e36de[_0x1d1a07(0xa1)]),await _0x1e36de[_0x1d1a07(0xbd)](),logger[_0x1d1a07(0xa3)](_0x5e2df1[_0x1d1a07(0x98)]);}catch(_0x8ca5f){logger[_0x1d1a07(0xc9)](_0x5e2df1['qjkMY']);throw new Error(_0x8ca5f['toString']());}};function run(_0x1f40c1){const _0x473170=a12_0x2547ca,_0x41603a={};_0x41603a[_0x473170(0x8f)]=_0x473170(0xc6),_0x41603a[_0x473170(0xab)]=_0x473170(0xa8);const _0x37d5b3=_0x41603a;_0x1f40c1[_0x473170(0xa7)](HELP_MESSAGES[_0x473170(0xc4)]['root'])[_0x473170(0xc4)](_0x37d5b3['qAoVr'],HELP_MESSAGES[_0x473170(0xc4)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x473170(0xd1)]()[_0x473170(0xa8)](_0x37d5b3['SQmYz'])['epilogue'](HELP_MESSAGES[_0x473170(0xc4)]['footer']);}module[a12_0x2547ca(0xc7)]=run;function a12_0x2a1b(){const _0x28db1a=['hostname','accessKey','Connection\x20established\x20successfully.','trim','protocol','string','command','54LmbGyl','connect','exports','Failed\x20to\x20establish\x20connection.','error','fkJud','97sMlEdi','bstack-accesskey','udvfF','443','browserStackLocalOptions','kNDCB','demandCommand','4847040hNyRYF','bstackAccessKey','2148832fgJlrF','missing','only','qAoVr','SWGDY','Hosts\x20not\x20valid','type','integrations','zhHII','invalid','mbibq','2865780jQDIUg','xWRdI','replace','2277667uDWPVs','undefined','winstonLogger','VPoBT','2200365VErzIT','5596VsaRRL','integrations-repeater','config','https:','info','localIdentifier','../../helpers/BrowserStackSetup','../../helpers/logger','usage','help','cpnLb','bstackAccesskey','SQmYz','qAJyo','url','describe','fpgXS','./constants','../../helpers/helper','gPJwo','WSEqi','demandOption','port','Integration\x20hosts\x20missing.','split','uyrxw','hosts','BrowserStack\x20access\x20key\x20missing.','5114330estwWf','options','setupBrowserstackLocal'];a12_0x2a1b=function(){return _0x28db1a;};return a12_0x2a1b();}
2
+ 'use strict';const a12_0x213581=a12_0x4096;(function(_0x1ff68,_0x5efeb1){const _0x44edbe=a12_0x4096,_0x7c807d=_0x1ff68();while(!![]){try{const _0x8596b4=parseInt(_0x44edbe(0x1f2))/0x1+-parseInt(_0x44edbe(0x1f3))/0x2*(parseInt(_0x44edbe(0x1e6))/0x3)+-parseInt(_0x44edbe(0x200))/0x4*(parseInt(_0x44edbe(0x1de))/0x5)+parseInt(_0x44edbe(0x208))/0x6+parseInt(_0x44edbe(0x1e5))/0x7*(parseInt(_0x44edbe(0x1cf))/0x8)+parseInt(_0x44edbe(0x209))/0x9*(-parseInt(_0x44edbe(0x1ea))/0xa)+-parseInt(_0x44edbe(0x1ca))/0xb*(-parseInt(_0x44edbe(0x1f8))/0xc);if(_0x8596b4===_0x5efeb1)break;else _0x7c807d['push'](_0x7c807d['shift']());}catch(_0x30d3ae){_0x7c807d['push'](_0x7c807d['shift']());}}}(a12_0x244a,0x9dc24));function a12_0x4096(_0x1dcc17,_0x457d48){const _0x244a99=a12_0x244a();return a12_0x4096=function(_0x409656,_0x12fb58){_0x409656=_0x409656-0x1c6;let _0x4b3181=_0x244a99[_0x409656];return _0x4b3181;},a12_0x4096(_0x1dcc17,_0x457d48);}function a12_0x244a(){const _0x16a5c3=['ddkag','YaVMN','CPtfm','931972ZTXPMh','9374JInpNy','ocuqZ','BJXNh','Integration\x20hosts\x20missing.','trim','2492652RKEgca','443','options','PxeyZ','ZPJtp','kSQDe','ZGSVu','url','4pQxtxw','setProxySettings','map','browserstackLocal','bstack-accesskey','integrations-repeater','error','info','7559898ZpbBwd','9VpoaCM','integrations','type','uKcRd','../../helpers/helper','bstackAccessKey','only','11ClprPZ','iPVUP','epilogue','DBOmJ','demandCommand','4453928FCMCXq','missing','usage','BrowserStack\x20access\x20key\x20missing.','exports','describe','localIdentifier','https:','gMZCm','port','command','protocol','oJwzK','YJgbH','setupBrowserstackLocal','6148405MsOyWj','RrCTu','footer','toString','accessKey','connect','help','7wzfMqu','555qEWeUU','split','./constants','demandOption','2134610IrrAbJ','config','hosts','Failed\x20to\x20establish\x20connection.','../../helpers/BrowserStackSetup'];a12_0x244a=function(){return _0x16a5c3;};return a12_0x244a();}const {default:BrowserStackSetup}=require(a12_0x213581(0x1ee)),logger=require('../../helpers/logger')['winstonLogger'],{URL}=require(a12_0x213581(0x1ff)),helper=require(a12_0x213581(0x1c7)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x213581(0x1e8)),validHosts=function(_0x2f58c1){const _0x1479ab=a12_0x213581;return _0x2f58c1[_0x1479ab(0x1e7)](',')['every'](_0x10ec1a=>{const _0x41323c=_0x1479ab;try{new URL(_0x10ec1a[_0x41323c(0x1f7)]());}catch(_0x337414){return![];}return!![];});},parseOnPremHosts=function(_0x560d4c){const _0x179bb3=a12_0x213581,_0x593096={};_0x593096[_0x179bb3(0x1f4)]=function(_0x2aef6e,_0x2b6db4){return _0x2aef6e===_0x2b6db4;},_0x593096[_0x179bb3(0x1fd)]=_0x179bb3(0x1d6),_0x593096[_0x179bb3(0x1db)]=_0x179bb3(0x1f9),_0x593096['iPVUP']='https';const _0x9985f0=_0x593096;return _0x560d4c[_0x179bb3(0x1e7)](',')[_0x179bb3(0x202)](_0x1899f5=>{const _0x4a90d2=_0x179bb3,_0x498ad9=new URL(_0x1899f5[_0x4a90d2(0x1f7)]()),_0x36e175=_0x498ad9['hostname'],_0x112fd5=_0x498ad9[_0x4a90d2(0x1d8)]||(_0x9985f0[_0x4a90d2(0x1f4)](_0x498ad9[_0x4a90d2(0x1da)],_0x9985f0[_0x4a90d2(0x1fd)])?_0x9985f0[_0x4a90d2(0x1db)]:'80'),_0xa7f223=_0x498ad9[_0x4a90d2(0x1da)]['replace'](':',''),_0xed4adb=_0x9985f0[_0x4a90d2(0x1f4)](_0xa7f223,_0x9985f0[_0x4a90d2(0x1cb)])?0x1:0x0;return _0x36e175+','+_0x112fd5+','+_0xed4adb;});},connectCommandBuilder=function(_0xd04405){const _0x393505=a12_0x213581,_0x239fb0={};_0x239fb0[_0x393505(0x1fe)]='string';const _0x47ec30=_0x239fb0,_0x1e9c41={};_0x1e9c41[_0x393505(0x1d4)]=HELP_MESSAGES['options'][_0x393505(0x1c8)],_0x1e9c41[_0x393505(0x20b)]=_0x47ec30['ZGSVu'];const _0x2b912a={};_0x2b912a[_0x393505(0x1d4)]=HELP_MESSAGES[_0x393505(0x1fa)][_0x393505(0x1ec)],_0x2b912a[_0x393505(0x20b)]=_0x47ec30[_0x393505(0x1fe)],_0x2b912a[_0x393505(0x1e9)]=!![];const _0x1ee775={};return _0x1ee775[_0x393505(0x204)]=_0x1e9c41,_0x1ee775[_0x393505(0x1ec)]=_0x2b912a,_0xd04405[_0x393505(0x1fa)](_0x1ee775);},connectCommandHandler=async function(_0x4074ee){const _0xfb59e=a12_0x213581,_0x4fc427={'YJgbH':_0xfb59e(0x20a),'DBOmJ':function(_0x303d34,_0x3f121){return _0x303d34===_0x3f121;},'ZPJtp':'undefined','PxeyZ':_0xfb59e(0x1d2),'YaVMN':_0xfb59e(0x1f6),'RrCTu':function(_0x294b61,_0x3c14a9){return _0x294b61(_0x3c14a9);},'CPtfm':'Hosts\x20not\x20valid','ntgIx':_0xfb59e(0x205),'gMZCm':'Connection\x20established\x20successfully.','uKcRd':_0xfb59e(0x1ed)};try{const _0x45ea02=new BrowserStackSetup(_0x4074ee,_0x4fc427[_0xfb59e(0x1dc)]);_0x4074ee['bstackAccesskey']&&(_0x45ea02[_0xfb59e(0x1eb)][_0xfb59e(0x1e2)]=_0x4074ee['bstackAccesskey']);if(_0x4fc427[_0xfb59e(0x1cd)](typeof _0x45ea02['config']['accessKey'],_0x4fc427[_0xfb59e(0x1fc)])){logger[_0xfb59e(0x206)](_0x4fc427[_0xfb59e(0x1fb)]);throw new Error(ERROR_MESSAGES['bstackAccessKey']['missing']);}const _0x4b1eed=_0x4074ee[_0xfb59e(0x1ec)];if(_0x4fc427['DBOmJ'](typeof _0x4b1eed,_0x4fc427[_0xfb59e(0x1fc)])){logger[_0xfb59e(0x206)](_0x4fc427[_0xfb59e(0x1f0)]);throw new Error(ERROR_MESSAGES[_0xfb59e(0x1ec)][_0xfb59e(0x1d0)]);}if(!_0x4fc427[_0xfb59e(0x1df)](validHosts,_0x4b1eed)){logger[_0xfb59e(0x206)](_0x4fc427[_0xfb59e(0x1f1)]);throw new Error(ERROR_MESSAGES[_0xfb59e(0x1ec)]['invalid']);}const _0x3f0e49=_0x4fc427[_0xfb59e(0x1df)](parseOnPremHosts,_0x4b1eed);_0x45ea02['config'][_0xfb59e(0x203)]=!![],_0x45ea02[_0xfb59e(0x1eb)]['browserStackLocalOptions'][_0xfb59e(0x1d5)]=_0x4fc427['ntgIx'],_0x45ea02['config']['browserStackLocalOptions'][_0xfb59e(0x1c9)]=_0x3f0e49['join'](','),helper[_0xfb59e(0x201)](_0x45ea02[_0xfb59e(0x1eb)]),await _0x45ea02[_0xfb59e(0x1dd)](),logger[_0xfb59e(0x207)](_0x4fc427[_0xfb59e(0x1d7)]);}catch(_0x3ccdc7){logger[_0xfb59e(0x206)](_0x4fc427[_0xfb59e(0x1c6)]);throw new Error(_0x3ccdc7[_0xfb59e(0x1e1)]());}};function run(_0x52b93b){const _0x51446c=a12_0x213581,_0xa07dd8={};_0xa07dd8[_0x51446c(0x1f5)]=_0x51446c(0x1e3),_0xa07dd8['ddkag']=_0x51446c(0x1e4);const _0x45863a=_0xa07dd8;_0x52b93b[_0x51446c(0x1d1)](HELP_MESSAGES[_0x51446c(0x1d9)]['root'])['command'](_0x45863a['BJXNh'],HELP_MESSAGES['command'][_0x51446c(0x1e3)],connectCommandBuilder,connectCommandHandler)[_0x51446c(0x1ce)]()['help'](_0x45863a[_0x51446c(0x1ef)])[_0x51446c(0x1cc)](HELP_MESSAGES['command'][_0x51446c(0x1e0)]);}module[a12_0x213581(0x1d3)]=run;
@@ -1 +1 @@
1
- var a13_0x515b3b=a13_0x4ade;function a13_0x4ade(_0x589b64,_0x3c4324){var _0xaa1399=a13_0xaa13();return a13_0x4ade=function(_0x4ade86,_0x266f39){_0x4ade86=_0x4ade86-0xfc;var _0x2f110d=_0xaa1399[_0x4ade86];return _0x2f110d;},a13_0x4ade(_0x589b64,_0x3c4324);}(function(_0x59ca2e,_0x136dfd){var _0x48e7fe=a13_0x4ade,_0x594fb9=_0x59ca2e();while(!![]){try{var _0x120096=-parseInt(_0x48e7fe(0x102))/0x1+parseInt(_0x48e7fe(0x110))/0x2*(parseInt(_0x48e7fe(0x10e))/0x3)+-parseInt(_0x48e7fe(0x108))/0x4+-parseInt(_0x48e7fe(0x114))/0x5+-parseInt(_0x48e7fe(0x103))/0x6*(parseInt(_0x48e7fe(0xfc))/0x7)+parseInt(_0x48e7fe(0x10b))/0x8*(-parseInt(_0x48e7fe(0x10d))/0x9)+-parseInt(_0x48e7fe(0xff))/0xa*(-parseInt(_0x48e7fe(0xfd))/0xb);if(_0x120096===_0x136dfd)break;else _0x594fb9['push'](_0x594fb9['shift']());}catch(_0x5a6add){_0x594fb9['push'](_0x594fb9['shift']());}}}(a13_0xaa13,0x53b4a));var a13_0x3159a8={};a13_0x3159a8[a13_0x515b3b(0x10f)]=a13_0x515b3b(0x107),a13_0x3159a8[a13_0x515b3b(0x100)]='This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a13_0x4badd9={};a13_0x4badd9[a13_0x515b3b(0x106)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0x4badd9[a13_0x515b3b(0x101)]=a13_0x515b3b(0x10a),a13_0x4badd9[a13_0x515b3b(0xfe)]=a13_0x515b3b(0x105);var a13_0x117276={};a13_0x117276['options']=a13_0x3159a8,a13_0x117276[a13_0x515b3b(0x111)]=a13_0x4badd9,exports[a13_0x515b3b(0x104)]=a13_0x117276;var a13_0x36aef9={};a13_0x36aef9[a13_0x515b3b(0x10c)]=a13_0x515b3b(0x109);var a13_0x17901f={};a13_0x17901f['missing']=a13_0x515b3b(0x113),a13_0x17901f[a13_0x515b3b(0x112)]='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_0x4253d1={};function a13_0xaa13(){var _0x4e1231=['2167816SdNwQK','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','84984HTqkdJ','missing','369oKZHhd','1524VJERCH','bstackAccessKey','1678oXzllb','command','invalid','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','1820595NXbOYr','63875JNlIjn','286MxmDbz','footer','553390cKgGji','hosts','connect','171427cqqSAh','6ZXrOne','HELP_MESSAGES','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','root','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.'];a13_0xaa13=function(){return _0x4e1231;};return a13_0xaa13();}a13_0x4253d1[a13_0x515b3b(0x10f)]=a13_0x36aef9,a13_0x4253d1[a13_0x515b3b(0x100)]=a13_0x17901f,exports['ERROR_MESSAGES']=a13_0x4253d1;
1
+ var a13_0x4b7fba=a13_0x1a82;(function(_0x20ecc2,_0xebd6d6){var _0x442917=a13_0x1a82,_0x458419=_0x20ecc2();while(!![]){try{var _0x2ef3ab=-parseInt(_0x442917(0x18d))/0x1+-parseInt(_0x442917(0x18f))/0x2*(parseInt(_0x442917(0x181))/0x3)+parseInt(_0x442917(0x192))/0x4+-parseInt(_0x442917(0x191))/0x5*(parseInt(_0x442917(0x194))/0x6)+parseInt(_0x442917(0x18a))/0x7*(parseInt(_0x442917(0x198))/0x8)+parseInt(_0x442917(0x188))/0x9*(parseInt(_0x442917(0x189))/0xa)+-parseInt(_0x442917(0x182))/0xb;if(_0x2ef3ab===_0xebd6d6)break;else _0x458419['push'](_0x458419['shift']());}catch(_0x3a9cb6){_0x458419['push'](_0x458419['shift']());}}}(a13_0x511d,0x46e38));var a13_0x14d177={};function a13_0x1a82(_0xc5e89b,_0x467922){var _0x511d58=a13_0x511d();return a13_0x1a82=function(_0x1a82db,_0x4b230d){_0x1a82db=_0x1a82db-0x181;var _0x2b1c61=_0x511d58[_0x1a82db];return _0x2b1c61;},a13_0x1a82(_0xc5e89b,_0x467922);}a13_0x14d177[a13_0x4b7fba(0x18e)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x14d177[a13_0x4b7fba(0x187)]=a13_0x4b7fba(0x18b);var a13_0xd56907={};a13_0xd56907[a13_0x4b7fba(0x196)]=a13_0x4b7fba(0x195),a13_0xd56907[a13_0x4b7fba(0x186)]=a13_0x4b7fba(0x18c),a13_0xd56907[a13_0x4b7fba(0x183)]=a13_0x4b7fba(0x193);var a13_0x582aab={};a13_0x582aab['options']=a13_0x14d177,a13_0x582aab[a13_0x4b7fba(0x190)]=a13_0xd56907,exports['HELP_MESSAGES']=a13_0x582aab;var a13_0xfd2567={};a13_0xfd2567[a13_0x4b7fba(0x184)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a13_0x40e319={};a13_0x40e319['missing']=a13_0x4b7fba(0x199),a13_0x40e319['invalid']=a13_0x4b7fba(0x197);var a13_0x40c56b={};function a13_0x511d(){var _0x5c6a4d=['connect','hosts','3078lEMSWs','3940OgpIzI','1274791GheqEG','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.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','92713vvXwzC','bstackAccessKey','59992OfeiJj','command','4825pTDBLv','695756DGanMT','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','1044yLyBgg','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','root','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','24qwjKIo','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','3OiZifE','3014517dxAUCy','footer','missing','ERROR_MESSAGES'];a13_0x511d=function(){return _0x5c6a4d;};return a13_0x511d();}a13_0x40c56b[a13_0x4b7fba(0x18e)]=a13_0xfd2567,a13_0x40c56b[a13_0x4b7fba(0x187)]=a13_0x40e319,exports[a13_0x4b7fba(0x185)]=a13_0x40c56b;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a14_0x111e(_0x422ea2,_0x27feae){const _0x371642=a14_0x3716();return a14_0x111e=function(_0x111e21,_0x2ade17){_0x111e21=_0x111e21-0x133;let _0x41d71c=_0x371642[_0x111e21];return _0x41d71c;},a14_0x111e(_0x422ea2,_0x27feae);}const a14_0x35136a=a14_0x111e;(function(_0x38aa02,_0x272f6f){const _0x455610=a14_0x111e,_0x22fa69=_0x38aa02();while(!![]){try{const _0x36023c=-parseInt(_0x455610(0x136))/0x1*(parseInt(_0x455610(0x1de))/0x2)+parseInt(_0x455610(0x1f9))/0x3+-parseInt(_0x455610(0x14a))/0x4*(parseInt(_0x455610(0x135))/0x5)+parseInt(_0x455610(0x13c))/0x6+parseInt(_0x455610(0x1a6))/0x7+parseInt(_0x455610(0x1f2))/0x8*(parseInt(_0x455610(0x1d4))/0x9)+-parseInt(_0x455610(0x178))/0xa*(parseInt(_0x455610(0x1ef))/0xb);if(_0x36023c===_0x272f6f)break;else _0x22fa69['push'](_0x22fa69['shift']());}catch(_0x3dcbab){_0x22fa69['push'](_0x22fa69['shift']());}}}(a14_0x3716,0x2bf83));const fs=require('fs'),path=require(a14_0x35136a(0x216)),util=require(a14_0x35136a(0x182)),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a14_0x35136a(0x20b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x35136a(0x1c4)),{updateTestRerunConfig}=require(a14_0x35136a(0x190)),testOpsHelper=require(a14_0x35136a(0x198)),{debug}=require(a14_0x35136a(0x198)),TestDetails=require(a14_0x35136a(0x196)),{getPercyOptions}=require(a14_0x35136a(0x14e)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a14_0x35136a(0x15b)),{FRAMEWORKS}=require(a14_0x35136a(0x1a1)),PerformanceTester=require(a14_0x35136a(0x183)),PerformanceEvents=require('../../helpers/performance/constants')[a14_0x35136a(0x1b1)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a14_0x35136a(0x174)),{checkPwandBootstrapCli}=require(a14_0x35136a(0x213)),ClientTroubleShootingService=require(a14_0x35136a(0x167)),{checkAccessibilityPlatformConfig}=require(a14_0x35136a(0x1c4)),getUserJestConfigs=async(_0x350d23,_0x42632e)=>{const _0x3152c1=a14_0x35136a,_0x2b0491={'yQrmo':_0x3152c1(0x197),'BWCuo':_0x3152c1(0x154),'BLDQh':function(_0x59bfb6,_0x5da6d4){return _0x59bfb6||_0x5da6d4;},'mHoOW':function(_0x57d2fb,_0x58184c){return _0x57d2fb(_0x58184c);},'hNFCA':_0x3152c1(0x201),'kvNKx':_0x3152c1(0x1c1),'KKDdW':_0x3152c1(0x160),'LvpOg':_0x3152c1(0x1fa),'KKJLk':_0x3152c1(0x20f)},_0x75b14f=helper[_0x3152c1(0x14f)](_0x2b0491[_0x3152c1(0x189)],_0x2b0491[_0x3152c1(0x180)]),_0x1bacfa=_0x42632e['findIndex'](_0x33c227=>_0x33c227===_0x3152c1(0x13d));if(!helper[_0x3152c1(0x157)](_0x350d23[_0x3152c1(0x18d)])){logger[_0x3152c1(0x193)](_0x3152c1(0x153)+_0x350d23[_0x3152c1(0x18d)]),process[_0x3152c1(0x171)][_0x3152c1(0x1ce)]=_0x350d23[_0x3152c1(0x18d)];const _0x2079bb=await(0x0,_0x75b14f[_0x3152c1(0x1bf)])(path['resolve'](_0x350d23[_0x3152c1(0x18d)]));return _0x42632e[_0x3152c1(0x17c)](_0x1bacfa,0x2),_0x2b0491[_0x3152c1(0x164)](_0x2079bb,{});}const _0x489008=_0x2b0491['mHoOW'](require,path[_0x3152c1(0x150)](process[_0x3152c1(0x1ec)](),_0x2b0491['hNFCA']));if(_0x489008['jest'])return logger[_0x3152c1(0x193)](_0x2b0491[_0x3152c1(0x18e)]),_0x489008[_0x3152c1(0x1ed)];const _0x1b0b3f=['js',_0x2b0491[_0x3152c1(0x184)],_0x2b0491[_0x3152c1(0x1c9)],_0x2b0491[_0x3152c1(0x140)],'ts'];for(const _0x564edc of _0x1b0b3f){const _0x2d3649=path[_0x3152c1(0x150)](process[_0x3152c1(0x1ec)](),_0x3152c1(0x18b)+_0x564edc);if(fs[_0x3152c1(0x185)](_0x2d3649)){process[_0x3152c1(0x171)][_0x3152c1(0x1ce)]=_0x2d3649;const _0x4df0dc=await(0x0,_0x75b14f[_0x3152c1(0x1bf)])(_0x2d3649);return _0x4df0dc;}}return{};},getSerial=(_0x2644c4,_0x3e7eb6)=>{const _0x338516=a14_0x35136a,_0x49978a={};_0x49978a['xIlfo']=_0x338516(0x163),_0x49978a[_0x338516(0x138)]=function(_0x4937b0,_0x263c4b){return _0x4937b0>_0x263c4b;},_0x49978a[_0x338516(0x19e)]=_0x338516(0x162);const _0x455d96=_0x49978a;let _0x2da342=_0x455d96['xIlfo'];return _0x455d96[_0x338516(0x138)](_0x2644c4[_0x338516(0x1ae)],0x1)&&(!_0x3e7eb6[_0x338516(0x1e0)]&&(helper[_0x338516(0x157)](_0x3e7eb6['maxWorkers'])||_0x455d96['EnOyw'](_0x3e7eb6[_0x338516(0x1a4)],0x1)))&&(_0x2da342=_0x455d96['IwoOw']),_0x2da342;},getMaxWorkers=(_0x2bab16,_0x56a43c,_0x53fad4)=>{const _0x2c28d6=a14_0x35136a,_0x5da57f={'kCDRp':function(_0x5177fc,_0x31b2db){return _0x5177fc(_0x31b2db);}};let _0x2a6e6d=0x1;if(!helper[_0x2c28d6(0x157)](_0x56a43c[_0x2c28d6(0x1c3)]))_0x2a6e6d=_0x5da57f[_0x2c28d6(0x1eb)](parseInt,_0x56a43c[_0x2c28d6(0x1c3)]);else{if(!helper[_0x2c28d6(0x157)](_0x2bab16[_0x2c28d6(0x1a4)]))_0x2a6e6d=_0x2bab16['maxWorkers'];else!helper[_0x2c28d6(0x157)](_0x53fad4[_0x2c28d6(0x1a4)])&&(_0x2a6e6d=_0x53fad4[_0x2c28d6(0x1a4)]);}return _0x2a6e6d;};function a14_0x3716(){const _0xb1af1c=['26gulxZQ','exports','runInBand','LaRwY','PSwAY','finalExecution','platformCaps','reorderTestFiles','turboScaleUrl','stop','test-observability','isRunning','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','kCDRp','cwd','jest','customSequencer.js','341mgnKzz','shouldProcessEventForTesthub','customImplements','96808SyAgqJ','bvXQK','HibvL','browserStackPercyOptions','JTLGW','launchBuild','gsmVo','574797RFkjOD','cjs','end','assign','ZPOYq','testContextOptions','failFast','testEnvironment','package.json','Qtldu','readFileSync','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','SDK_CLEANUP','DbRqm','Error\x20while\x20parsing\x20','jSLfO','Creating\x20','\x20test\x20files\x20to\x20run.','winstonLogger','ryeaE','filterBrowserstackArgs',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','json','unlinkSync','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','customTestRunnerTemplate.js','../../helpers/playwright-helper','proxySettings','tCTgn','path','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','child\x20process\x20exited\x20with\x20code\x20','failureThresholdCount','151995RUsQrI','14171OnLIPT','jest_browserstack_results.json','EnOyw','accessibility','SDK_SETUP','playwright','1631022EiJSPU','--config','findTestFiles','inherit','KKJLk','isBrowserstackInfra','Unable\x20to\x20find\x20jest-circus,\x20','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','accessibilityOptions','push','Reodered\x20Test\x20Files:\x20','isCLIEnabled','requireSeleniumWebdriver','parse','16KXVNCy','bdxOW','isEmpty','runner','../../helpers/percy/utils','requireModule','join','recursive','serial__','Getting\x20your\x20jest\x20configs\x20from\x20','jest-config','Deleted\x20fail-fast\x20state\x20folder:\x20','JEST_TEST_ORDER','isUndefined','useW3C','zTJoz','testRunner','../../helpers/testhub/utils','force','UOXzB','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','debug','mjs','close','false','true','BLDQh','YVOGF','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','../utils/clientTroubleshootingService','setupFilesAfterEnv','aYMYK','reporters','\x0amodule.exports\x20=\x20config;','BROWSERSTACK_CAPABILITIES','MODULE','BBWZP','parallels__','\x20:\x20','env','quoty','jest.setup.js','../v2/browserstackCLI','requirePWModule','lRNrT','setup','94830OjgZyl','checkAccessibilityPlatformConfig','printBuildLink','isTestOrchestrationEnabled','splice','getInstance','JEST','timeout__','BWCuo','TyFie','util','../../helpers/performance/performance-tester','KKDdW','existsSync','zZWxv','start',',\x20CLI\x20running:\x20','yQrmo','getTCGConfigFilePaths','jest.config.','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','config','kvNKx','log','./test-observability/helper','slice','XrZTY','info','getHubUrl','retryTestsOnFailure','./test-observability/test-details','jest-config/build/readConfigFileAndSetRootDir.js','../../helpers/test-observability/utils','skipSessionName','test.setup.js','retries__','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','testEnvironmentOptions','IwoOw','isNotUndefined','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','../../helpers/test-observability/constants','win32','platforms','maxWorkers','CyQsq','775166MPvtIs','error','jQdbF','testSequencer','writeFileSync','YthTf','setupFiles','getPackageType','length','PACKAGE_TYPE','test_before.setup.js','EVENTS','msEii','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','getErrorMessageFromResults','errorMessage','customEnvironment.js','error\x20removing\x20tcg\x20config\x20file','rmdirSync','DHoLV','jest_browserstack.config.cjs','lHrAd','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','BIkmo','stringify','default','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','Getting\x20your\x20jest\x20configs\x20from\x20package.json','cpakt','parallelsPerPlatform','../../helpers/accessibility-automation/helper','abortBuildOnFailure','data-hooks.js','const\x20config=','workingDir','LvpOg','ippZy','skipSessionStatus','BYfSJ','maxRetries','USER_CONFIG_DETAILS_PATH','format','FRAMEWORKS','shutdown','xUwCE','cLOyJ','153GMEtAW','jest_browserstack.config.js','iRCYp','irzmg','TZbcq','testObservability','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','exitCode','BSTACK_JEST_TEST_ENV','\x20with\x20browserstack\x20jest\x20configs'];a14_0x3716=function(){return _0xb1af1c;};return a14_0x3716();}async function run(_0x513f3c,_0x5c1c69,_0xea64a2){const _0x23e4b5=a14_0x35136a,_0x2c784b={'YthTf':_0x23e4b5(0x1b7),'cLOyJ':'jest','zZWxv':function(_0x16cf61,_0x19d467){return _0x16cf61(_0x19d467);},'PpMoa':'@playwright/test','lHrAd':function(_0x4bee89,_0x178128,_0x40c85e,_0x49b12e){return _0x4bee89(_0x178128,_0x40c85e,_0x49b12e);},'OehbF':function(_0x30100f,_0x1e9296){return _0x30100f!=_0x1e9296;},'lRNrT':_0x23e4b5(0x163),'quoty':function(_0xeff2e8,_0x5ea6e6,_0x51641b){return _0xeff2e8(_0x5ea6e6,_0x51641b);},'xUwCE':_0x23e4b5(0x19c),'CyQsq':function(_0x27d2c6,_0x59ebb7){return _0x27d2c6(_0x59ebb7);},'mrPhO':function(_0x16d096,_0x15e6ee){return _0x16d096(_0x15e6ee);},'ippZy':'false','aYMYK':function(_0x365dba,_0x2b6b3e,_0x4f19f8){return _0x365dba(_0x2b6b3e,_0x4f19f8);},'bdxOW':function(_0x4d5fba,_0x12df21,_0xd0c96d,_0x16a678){return _0x4d5fba(_0x12df21,_0xd0c96d,_0x16a678);},'jSLfO':function(_0x446dc2,_0x58746b){return _0x446dc2*_0x58746b;},'jQdbF':function(_0x28f645,_0x303c9c){return _0x28f645===_0x303c9c;},'tCTgn':_0x23e4b5(0x1ba),'OyDoU':_0x23e4b5(0x1d5),'irzmg':_0x23e4b5(0x1f1),'YVOGF':_0x23e4b5(0x137),'TFYZi':'customTestRunner.js','zTJoz':_0x23e4b5(0x212),'UOXzB':_0x23e4b5(0x1b6),'BBWZP':_0x23e4b5(0x173),'bxMBK':_0x23e4b5(0x1ee),'DHoLV':_0x23e4b5(0x143),'SDgUM':'jest-circus','gsmVo':function(_0x2d2f80,_0x30280a){return _0x2d2f80(_0x30280a);},'Qtldu':_0x23e4b5(0x1e8),'cpakt':_0x23e4b5(0x1c6),'bvXQK':'customCircus.js','SvKoM':_0x23e4b5(0x1b0),'gMxqu':_0x23e4b5(0x1da),'BIkmo':_0x23e4b5(0x13b),'iRCYp':_0x23e4b5(0x1bc),'msEii':_0x23e4b5(0x19a),'LaRwY':_0x23e4b5(0x1c0),'TyFie':_0x23e4b5(0x1bf),'iuzxl':_0x23e4b5(0x1a0),'DbRqm':function(_0x3f5097,_0x4fbe75){return _0x3f5097>_0x4fbe75;},'JTLGW':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','ryeaE':function(_0x5cdf7a,_0x28a1f9,_0x199356,_0x25f113){return _0x5cdf7a(_0x28a1f9,_0x199356,_0x25f113);},'XrZTY':'npx','PSwAY':'--config','TZbcq':function(_0x491b17,_0x12ca8b){return _0x491b17===_0x12ca8b;},'HibvL':_0x23e4b5(0x1a2),'ZPOYq':_0x23e4b5(0x13f),'BYfSJ':_0x23e4b5(0x161)},_0x92b4df=helper['getPackageVersion'](_0x2c784b['PpMoa']);global['__isPlaywrightInstalled']=!!_0x92b4df;helper[_0x23e4b5(0x141)]()?(await _0xea64a2['initialize'](_0x513f3c),await helper['handleApp'](_0xea64a2[_0x23e4b5(0x18d)])):await _0xea64a2['setupTCGAuth']();await _0x2c784b[_0x23e4b5(0x1bb)](checkPwandBootstrapCli,_0x92b4df,constants[_0x23e4b5(0x1d0)][_0x23e4b5(0x17e)],_0xea64a2);if(!_0xea64a2[_0x23e4b5(0x18d)])return;_0x2c784b['OehbF'](_0xea64a2[_0x23e4b5(0x18d)]['testObservability'],null)?process[_0x23e4b5(0x171)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xea64a2[_0x23e4b5(0x18d)][_0x23e4b5(0x1d9)]:process[_0x23e4b5(0x171)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2c784b[_0x23e4b5(0x176)];const _0x268946=new TestOrchestrationHandler(_0xea64a2['config']),_0x32bfa8=await _0x2c784b[_0x23e4b5(0x172)](getUserJestConfigs,_0x513f3c,_0x5c1c69);logger[_0x23e4b5(0x193)](_0x2c784b[_0x23e4b5(0x1d2)]);const _0xb99e1d=Object[_0x23e4b5(0x1fc)]({},_0x32bfa8);_0xb99e1d[_0x23e4b5(0x19d)]=Object[_0x23e4b5(0x1fc)]({},_0xb99e1d[_0x23e4b5(0x19d)],{'server':helper[_0x23e4b5(0x194)](_0xea64a2[_0x23e4b5(0x18d)]),'environment':_0x32bfa8[_0x23e4b5(0x200)]}),_0xb99e1d[_0x23e4b5(0x19d)][_0x23e4b5(0x1f5)]=_0x2c784b[_0x23e4b5(0x1a5)](getPercyOptions,_0xea64a2['config']);const _0x1a854f=helper[_0x23e4b5(0x158)](_0xea64a2[_0x23e4b5(0x18d)]);!helper[_0x23e4b5(0x157)](_0xea64a2[_0x23e4b5(0x18d)][_0x23e4b5(0x144)])&&(process[_0x23e4b5(0x171)][_0x23e4b5(0x1ea)]=JSON[_0x23e4b5(0x1be)](_0xea64a2['config']['accessibilityOptions']));if(!BrowserstackCLI[_0x23e4b5(0x17d)]()[_0x23e4b5(0x1e9)]()){const _0x5c7352=await TestHubHandler[_0x23e4b5(0x1f7)](FRAMEWORKS[_0x23e4b5(0x17e)],_0xea64a2);}const _0x120ec5=helper['prepareCapabilities'](_0xea64a2[_0x23e4b5(0x18d)],_0x1a854f,constants[_0x23e4b5(0x1d0)][_0x23e4b5(0x17e)]);process[_0x23e4b5(0x171)][_0x23e4b5(0x16c)]=JSON[_0x23e4b5(0x1be)](_0x120ec5);let _0x130415=_0xea64a2[_0x23e4b5(0x18d)][_0x23e4b5(0x139)];_0x130415=_0x130415||accessibilityHelper[_0x23e4b5(0x179)](_0xea64a2[_0x23e4b5(0x18d)]),process[_0x23e4b5(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x130415,logger['debug'](_0x23e4b5(0x217)+_0x130415+_0x23e4b5(0x188)+BrowserstackCLI[_0x23e4b5(0x17d)]()[_0x23e4b5(0x1e9)]());if(_0x92b4df)try{const _0x1b197b=_0x2c784b['mrPhO'](checkAccessibilityPlatformConfig,_0xea64a2[_0x23e4b5(0x18d)]);process[_0x23e4b5(0x171)][_0x23e4b5(0x18c)]=_0x1b197b?_0x2c784b[_0x23e4b5(0x176)]:_0x2c784b[_0x23e4b5(0x1ca)],logger[_0x23e4b5(0x15f)](_0x23e4b5(0x15e)+_0x1b197b+_0x23e4b5(0x20e)+process[_0x23e4b5(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);}catch(_0x2e4b27){logger[_0x23e4b5(0x15f)](_0x23e4b5(0x211)+util[_0x23e4b5(0x1cf)](_0x2e4b27));}_0xb99e1d['testEnvironmentOptions']['capabilities']=_0x120ec5,_0xb99e1d[_0x23e4b5(0x19d)][_0x23e4b5(0x152)]=_0x2c784b[_0x23e4b5(0x169)](getSerial,_0x120ec5,_0x513f3c),_0xb99e1d[_0x23e4b5(0x19d)][_0x23e4b5(0x16f)]=_0x2c784b[_0x23e4b5(0x14b)](getMaxWorkers,_0x513f3c,_0xea64a2[_0x23e4b5(0x18d)],_0x32bfa8),_0xb99e1d[_0x23e4b5(0x19d)][_0x23e4b5(0x214)]=_0xea64a2[_0x23e4b5(0x18d)]['proxySettings'],_0xb99e1d['testEnvironmentOptions'][_0x23e4b5(0x17f)]=_0x2c784b[_0x23e4b5(0x208)](_0x513f3c['testTimeout'],0x1)||0x1388,_0xb99e1d[_0x23e4b5(0x19d)][_0x23e4b5(0x199)]=_0xea64a2[_0x23e4b5(0x18d)]['testContextOptions'][_0x23e4b5(0x199)],_0xb99e1d['testEnvironmentOptions']['skipSessionStatus']=_0xea64a2[_0x23e4b5(0x18d)][_0x23e4b5(0x1fe)][_0x23e4b5(0x1cb)],_0xb99e1d[_0x23e4b5(0x19d)]['browserStackLogLevel']=_0xea64a2[_0x23e4b5(0x18d)]['logLevel'],_0xb99e1d['testEnvironmentOptions'][_0x23e4b5(0x1e6)]=_0xea64a2[_0x23e4b5(0x18d)][_0x23e4b5(0x1e6)],_0xb99e1d[_0x23e4b5(0x19d)][_0x23e4b5(0x1e4)]=_0xea64a2['config']['platforms'];const _0x37ac5a=helper['parseTestOrchestrationOptions'](_0xea64a2['config']);if(!helper[_0x23e4b5(0x14c)](_0x37ac5a)){helper['isNotUndefined'](_0x37ac5a[_0x23e4b5(0x195)])&&(_0xb99e1d['testEnvironmentOptions'][_0x23e4b5(0x19b)]=_0x37ac5a[_0x23e4b5(0x195)][_0x23e4b5(0x1cd)]);if(helper[_0x23e4b5(0x19f)](_0x37ac5a[_0x23e4b5(0x1c5)])&&helper[_0x23e4b5(0x19f)](_0x37ac5a[_0x23e4b5(0x1c5)][_0x23e4b5(0x1c8)])){const _0xc9e8da={};_0xc9e8da[_0x23e4b5(0x134)]=_0x37ac5a[_0x23e4b5(0x1c5)]['maxFailures'],_0xc9e8da[_0x23e4b5(0x1c8)]=_0x37ac5a[_0x23e4b5(0x1c5)][_0x23e4b5(0x1c8)],_0xb99e1d[_0x23e4b5(0x19d)][_0x23e4b5(0x1ff)]=_0xc9e8da;}}let _0x3965dc='';_0x2c784b[_0x23e4b5(0x1a8)](helper[_0x23e4b5(0x1ad)](),constants[_0x23e4b5(0x1af)][_0x23e4b5(0x16d)])?_0x3965dc=_0x2c784b[_0x23e4b5(0x215)]:_0x3965dc=_0x2c784b['OyDoU'];const _0x1f0f35=_0x3965dc,_0xd4829d=path[_0x23e4b5(0x150)](__dirname,_0x2c784b[_0x23e4b5(0x1d7)],_0x2c784b[_0x23e4b5(0x165)]),_0x1711c8=path[_0x23e4b5(0x150)](__dirname,_0x2c784b[_0x23e4b5(0x1d7)],_0x2c784b['TFYZi']),_0x514e8f=path[_0x23e4b5(0x150)](__dirname,_0x2c784b['irzmg'],_0x2c784b[_0x23e4b5(0x159)]);_0xb99e1d['testEnvironment']&&(process[_0x23e4b5(0x171)][_0x23e4b5(0x1dc)]=_0xb99e1d[_0x23e4b5(0x200)]);_0xb99e1d['testEnvironment']=path[_0x23e4b5(0x150)](__dirname,_0x2c784b[_0x23e4b5(0x1d7)],_0x2c784b[_0x23e4b5(0x15d)]),_0xb99e1d['runner']=_0x1711c8,_0xb99e1d[_0x23e4b5(0x168)]=_0xb99e1d[_0x23e4b5(0x168)]||[],_0xb99e1d[_0x23e4b5(0x168)][_0x23e4b5(0x145)](path[_0x23e4b5(0x150)](__dirname,_0x2c784b[_0x23e4b5(0x16e)]));_0x268946[_0x23e4b5(0x17b)]()&&(_0xb99e1d[_0x23e4b5(0x1a9)]=path[_0x23e4b5(0x150)](__dirname,_0x2c784b['irzmg'],_0x2c784b['bxMBK']));if(testhubUtils[_0x23e4b5(0x1f0)]()){let _0x27be83=null;try{_0x27be83=helper[_0x23e4b5(0x14f)](_0x2c784b[_0x23e4b5(0x1b9)],_0x2c784b['SDgUM']);}catch(_0x37d25a){_0x2c784b[_0x23e4b5(0x1f8)](debug,_0x23e4b5(0x142)+_0x37d25a);}_0x27be83&&(_0xb99e1d[_0x23e4b5(0x168)][_0x23e4b5(0x145)](path[_0x23e4b5(0x150)](__dirname,_0x2c784b[_0x23e4b5(0x202)],_0x2c784b[_0x23e4b5(0x1c2)])),_0xb99e1d[_0x23e4b5(0x15a)]=path[_0x23e4b5(0x150)](__dirname,_0x2c784b['irzmg'],_0x2c784b[_0x23e4b5(0x1f3)]));}_0xb99e1d[_0x23e4b5(0x1ac)]=_0xb99e1d[_0x23e4b5(0x1ac)]||[];try{helper[_0x23e4b5(0x148)](),_0xb99e1d[_0x23e4b5(0x1ac)][_0x23e4b5(0x145)](path['join'](__dirname,_0x2c784b['SvKoM']));}catch{logger[_0x23e4b5(0x15f)](_0x2c784b['gMxqu']);}try{helper[_0x23e4b5(0x175)]['apply'](null,[_0x2c784b['PpMoa'],_0x2c784b[_0x23e4b5(0x1bd)]]),logger[_0x23e4b5(0x15f)](_0x2c784b[_0x23e4b5(0x1d6)]),_0xb99e1d['setupFiles']['push'](path[_0x23e4b5(0x150)](__dirname,_0x2c784b[_0x23e4b5(0x1b2)]));}catch(_0x1fb709){logger[_0x23e4b5(0x15f)](_0x2c784b[_0x23e4b5(0x1e1)],_0x1fb709);}_0xb99e1d[_0x23e4b5(0x16a)]=_0xb99e1d[_0x23e4b5(0x16a)]||[_0x2c784b[_0x23e4b5(0x181)]],_0x2c784b[_0x23e4b5(0x169)](updateTestRerunConfig,_0xb99e1d,_0xea64a2);const _0x3c908f=fs[_0x23e4b5(0x203)](_0x514e8f);fs[_0x23e4b5(0x1aa)](_0xb99e1d[_0x23e4b5(0x14d)],'\x0a\x20\x20\x20\x20'+_0x3c908f+_0x23e4b5(0x204)+_0xea64a2[_0x23e4b5(0x18d)][_0x23e4b5(0x1a3)][_0x23e4b5(0x1ae)]+';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20'),logger[_0x23e4b5(0x193)](_0x23e4b5(0x209)+_0x1f0f35+_0x23e4b5(0x1dd)),fs[_0x23e4b5(0x1aa)](_0x1f0f35,_0x23e4b5(0x1c7)+JSON['stringify'](_0xb99e1d)+_0x23e4b5(0x16b));if(_0x268946[_0x23e4b5(0x17b)]()){logger[_0x23e4b5(0x15f)](_0x2c784b['iuzxl']);const _0x2fd0f4=await _0x268946[_0x23e4b5(0x13e)](_0xb99e1d,_0x5c1c69[_0x23e4b5(0x191)](0x1),_0x1f0f35);logger['debug']('Found:\x20'+JSON['stringify'](_0x2fd0f4)+_0x23e4b5(0x20a));const _0x522811=await _0x268946[_0x23e4b5(0x1e5)](_0x2fd0f4);logger[_0x23e4b5(0x15f)](_0x23e4b5(0x146)+JSON[_0x23e4b5(0x1be)](_0x522811)),_0x522811&&_0x2c784b[_0x23e4b5(0x206)](_0x522811[_0x23e4b5(0x1ae)],0x0)&&(process[_0x23e4b5(0x171)][_0x23e4b5(0x156)]=_0x522811?.[_0x23e4b5(0x150)](','));}logger['info'](_0x2c784b[_0x23e4b5(0x1f6)]);testhubUtils[_0x23e4b5(0x1f0)]()&&TestDetails[_0x23e4b5(0x177)]();helper[_0x23e4b5(0x20d)]({},_0x5c1c69),PerformanceTester[_0x23e4b5(0x1fb)](PerformanceEvents[_0x23e4b5(0x13a)]);const _0x1b4c17=_0x2c784b[_0x23e4b5(0x20c)](spawn,_0x2c784b[_0x23e4b5(0x192)],[_0x2c784b[_0x23e4b5(0x1d3)],_0x2c784b[_0x23e4b5(0x1e2)],_0x1f0f35,..._0x5c1c69[_0x23e4b5(0x191)](0x1)],{'shell':_0x2c784b[_0x23e4b5(0x1d8)](process['platform'],_0x2c784b[_0x23e4b5(0x1f4)]),'stdio':_0x2c784b[_0x23e4b5(0x1fd)],'env':Object['assign']({},process[_0x23e4b5(0x171)])});_0x1b4c17['on'](_0x2c784b[_0x23e4b5(0x1cc)],async _0x581a22=>{const _0x4737e1=_0x23e4b5;PerformanceTester[_0x4737e1(0x187)](PerformanceEvents[_0x4737e1(0x205)]);try{const {browserstackFolderPath:_0x203951,tcgConfigPath:_0x21c441}=helper[_0x4737e1(0x18a)]();fs['unlinkSync'](_0x21c441),fs[_0x4737e1(0x1b8)](_0x203951);}catch(_0x348cf3){logger[_0x4737e1(0x15f)](_0x2c784b[_0x4737e1(0x1ab)],_0x348cf3);}process[_0x4737e1(0x1db)]=_0x581a22,logger[_0x4737e1(0x15f)](_0x4737e1(0x133)+_0x581a22),logger[_0x4737e1(0x193)]('Deleting\x20'+_0x1f0f35);if(helper[_0x4737e1(0x19f)](_0x37ac5a)&&helper[_0x4737e1(0x19f)](_0x37ac5a[_0x4737e1(0x1c5)])&&fs[_0x4737e1(0x185)](_0x37ac5a[_0x4737e1(0x1c5)][_0x4737e1(0x1c8)]))try{const _0x5ed323={};_0x5ed323[_0x4737e1(0x151)]=!![],_0x5ed323[_0x4737e1(0x15c)]=!![],fs['rmSync'](_0x37ac5a[_0x4737e1(0x1c5)][_0x4737e1(0x1c8)],_0x5ed323),logger[_0x4737e1(0x15f)](_0x4737e1(0x155)+_0x37ac5a[_0x4737e1(0x1c5)]['workingDir']);}catch(_0x5ccafd){logger[_0x4737e1(0x1a7)](_0x4737e1(0x166)+_0x5ccafd);}let _0x406279=null;if(fs[_0x4737e1(0x185)](_0xd4829d)){_0x406279=fs[_0x4737e1(0x203)](_0xd4829d);try{_0x406279=JSON[_0x4737e1(0x149)](_0x406279);}catch(_0x48d8e6){logger['debug'](_0x4737e1(0x207)+_0xd4829d+',\x20'+_0x406279+_0x4737e1(0x170)+_0x48d8e6);}fs[_0x4737e1(0x210)](_0xd4829d);}fs[_0x4737e1(0x210)](_0x1f0f35),fs[_0x4737e1(0x210)](_0x1711c8),_0x406279&&(_0xea64a2[_0x4737e1(0x1b5)]=helper[_0x4737e1(0x1b4)](_0x406279,_0x2c784b[_0x4737e1(0x1d3)],_0xea64a2));const _0x2093ee=BrowserstackCLI[_0x4737e1(0x147)]();try{await TestHubHandler[_0x4737e1(0x1e7)](),await BrowserstackCLI[_0x4737e1(0x17d)]()[_0x4737e1(0x1e7)]();}catch(_0x713eeb){console[_0x4737e1(0x18f)](_0x713eeb),_0x2c784b[_0x4737e1(0x186)](debug,_0x4737e1(0x1b3)+util[_0x4737e1(0x1cf)](_0x713eeb));}testOpsHelper[_0x4737e1(0x17a)](),TestDetails[_0x4737e1(0x1d1)](),await utilities[_0x4737e1(0x1e3)](_0xea64a2,_0x2093ee);});}module[a14_0x35136a(0x1df)]=run;
2
+ 'use strict';const a14_0x54d04c=a14_0x48a5;(function(_0x3a131c,_0x4812a4){const _0x1b668a=a14_0x48a5,_0x349bfd=_0x3a131c();while(!![]){try{const _0x85c6e=-parseInt(_0x1b668a(0x214))/0x1+-parseInt(_0x1b668a(0x205))/0x2+-parseInt(_0x1b668a(0x221))/0x3+-parseInt(_0x1b668a(0x204))/0x4+parseInt(_0x1b668a(0x1fe))/0x5+parseInt(_0x1b668a(0x1e9))/0x6+-parseInt(_0x1b668a(0x190))/0x7*(-parseInt(_0x1b668a(0x16b))/0x8);if(_0x85c6e===_0x4812a4)break;else _0x349bfd['push'](_0x349bfd['shift']());}catch(_0xaadd65){_0x349bfd['push'](_0x349bfd['shift']());}}}(a14_0x1b7c,0x2c331));function a14_0x1b7c(){const _0x49011c=['../v2/browserstackCLI','exports','rLwYi','join','14wrEjmC','isNotUndefined','default','OXWEk','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','./test-observability/helper','jest_browserstack.config.cjs','Deleting\x20','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','TVMxZ','QrbKC','parseTestOrchestrationOptions','platformCaps','stringify',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','info','qSDvC','customTestRunnerTemplate.js','prepareCapabilities','winstonLogger','close','\x20with\x20browserstack\x20jest\x20configs','Found:\x20','LsNMx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','maxWorkers','\x20:\x20','getPackageType','JEST','MHsJf','push','length','BROWSERSTACK_TEST_ACCESSIBILITY_YML','SDK_SETUP','initialize','parse','isBrowserstackInfra','vyMwb','../../helpers/test-orchestration/testOrchestrationHandler','setup','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','launchBuild','failFast','test_before.setup.js','MADzr','setupFiles','../../helpers/playwright-helper','browserStackLogLevel','mjs','RUAWF','\x0a\x20\x20\x20\x20','MODULE','QlyEx','getHubUrl','./test-observability/test-details','path','VlFfQ','maxRetries','util','jest_browserstack_results.json','useW3C','PACKAGE_TYPE','FRAMEWORKS','config','false','runner','testSequencer','UAHif','writeFileSync','rPlMm','runInBand','Aluxn','checkAccessibilityPlatformConfig','Unable\x20to\x20find\x20jest-circus,\x20','printBuildLink','accessibilityOptions','aCwOU','log','requireSeleniumWebdriver','CfMKA','BhElc','findTestFiles','parallelsPerPlatform','BROWSERSTACK_CAPABILITIES','../../helpers/BrowserStackSetup','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','skipSessionName','recursive','../../helpers/percy/utils','1528032EQoYHU','yhvqa',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','slice','EVENTS','customImplements','nmBoB','retries__','testTimeout','true','jest.config.','assign','readFileSync','wexls','Getting\x20your\x20jest\x20configs\x20from\x20','cwd','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','VhwED','splice','ortia','testEnvironment','1075970zqEJuh','oVjVS','../../helpers/performance/constants','JNXzh','reporters','exitCode','1021764KCLlaZ','114668YAqJEm','force','../../helpers/test-observability/constants','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','wPckd','skipSessionStatus','getPackageVersion','browserStackPercyOptions','isTestOrchestrationEnabled','yCCDm','workingDir','getTCGConfigFilePaths','fjANo','gAGde','HJgRc','283516tRtfuX','isEmpty','jest_browserstack.config.js','customSequencer.js','shouldProcessEventForTesthub','rHWJG','BSTACK_JEST_TEST_ENV','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','findIndex','mvYyO','Creating\x20','playwright','Getting\x20your\x20jest\x20configs\x20from\x20package.json','985806PEAgYE','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','qaRkP','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','testContextOptions','SpVee','child\x20process\x20exited\x20with\x20code\x20','../../helpers/testhub/utils','getInstance','mXqOS','qKunG','package.json','../utils/constants','env','../../helpers/test-observability/utils','jest-circus','child_process','filterBrowserstackArgs','accessibility','platforms','test-observability','unlinkSync','customCircus.js','errorMessage','existsSync','setupTCGAuth','data-hooks.js','@playwright/test','VlbxY','BROWSERSTACK_TEST_OBSERVABILITY_YML','proxySettings','elXTZ',',\x20CLI\x20running:\x20','../../helpers/accessibility-automation/helper','jest','platform','rmSync','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','getErrorMessageFromResults','atdES','Deleted\x20fail-fast\x20state\x20folder:\x20','DZthy','cjs','serial__','error','2544272jOzCGv','failureThresholdCount','error\x20removing\x20tcg\x20config\x20file','stop','ALqck','format','\x0amodule.exports\x20=\x20config;','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isRunning','end','testEnvironmentOptions','Gceag','setupFilesAfterEnv','isUndefined','jest.setup.js','debug','json','--config','ZAylW','testObservability','requireModule','const\x20config=','../utils/clientTroubleshootingService','USER_CONFIG_DETAILS_PATH','isCLIEnabled','abortBuildOnFailure','vZSpR','requirePWModule','guEwr','turboScaleUrl','customEnvironment.js','handleApp','cZHtm'];a14_0x1b7c=function(){return _0x49011c;};return a14_0x1b7c();}function a14_0x48a5(_0xa62d18,_0x2b3759){const _0x1b7c34=a14_0x1b7c();return a14_0x48a5=function(_0x48a5ac,_0x226211){_0x48a5ac=_0x48a5ac-0x143;let _0x51db88=_0x1b7c34[_0x48a5ac];return _0x51db88;},a14_0x48a5(_0xa62d18,_0x2b3759);}const fs=require('fs'),path=require(a14_0x54d04c(0x1c7)),util=require(a14_0x54d04c(0x1ca)),{spawn}=require(a14_0x54d04c(0x14e)),logger=require('../../helpers/logger')[a14_0x54d04c(0x1a3)],{default:BrowserStackSetup}=require(a14_0x54d04c(0x1e4)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require(a14_0x54d04c(0x14a)),accessibilityHelper=require(a14_0x54d04c(0x15f)),{updateTestRerunConfig}=require(a14_0x54d04c(0x195)),testOpsHelper=require(a14_0x54d04c(0x14c)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a14_0x54d04c(0x1c6)),{getPercyOptions}=require(a14_0x54d04c(0x1e8)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a14_0x54d04c(0x145)),{FRAMEWORKS}=require(a14_0x54d04c(0x207)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a14_0x54d04c(0x200))[a14_0x54d04c(0x1ed)],TestOrchestrationHandler=require(a14_0x54d04c(0x1b6)),BrowserstackCLI=require(a14_0x54d04c(0x18c)),{checkPwandBootstrapCli}=require(a14_0x54d04c(0x1be)),ClientTroubleShootingService=require(a14_0x54d04c(0x181)),{checkAccessibilityPlatformConfig}=require(a14_0x54d04c(0x15f)),getUserJestConfigs=async(_0x212c98,_0x534a53)=>{const _0x48615a=a14_0x54d04c,_0x51b0b9={'kyDmc':'jest-config/build/readConfigFileAndSetRootDir.js','VhGea':'jest-config','qKunG':function(_0x223047,_0x574891){return _0x223047||_0x574891;},'HJgRc':function(_0x3b2dbb,_0x21a573){return _0x3b2dbb(_0x21a573);},'ortia':_0x48615a(0x149),'yhvqa':_0x48615a(0x220),'Aluxn':_0x48615a(0x1c0),'wexls':_0x48615a(0x168),'ALqck':_0x48615a(0x17b)},_0xae0c94=helper[_0x48615a(0x17f)](_0x51b0b9['kyDmc'],_0x51b0b9['VhGea']),_0xe2ef57=_0x534a53[_0x48615a(0x21c)](_0x59f76f=>_0x59f76f===_0x48615a(0x17c));if(!helper[_0x48615a(0x178)](_0x212c98[_0x48615a(0x1cf)])){logger[_0x48615a(0x19f)](_0x48615a(0x1f7)+_0x212c98[_0x48615a(0x1cf)]),process[_0x48615a(0x14b)][_0x48615a(0x182)]=_0x212c98[_0x48615a(0x1cf)];const _0x500efe=await(0x0,_0xae0c94[_0x48615a(0x192)])(path['resolve'](_0x212c98['config']));return _0x534a53[_0x48615a(0x1fb)](_0xe2ef57,0x2),_0x51b0b9[_0x48615a(0x148)](_0x500efe,{});}const _0x10d04a=_0x51b0b9[_0x48615a(0x213)](require,path[_0x48615a(0x18f)](process[_0x48615a(0x1f8)](),_0x51b0b9[_0x48615a(0x1fc)]));if(_0x10d04a[_0x48615a(0x160)])return logger[_0x48615a(0x19f)](_0x51b0b9[_0x48615a(0x1ea)]),_0x10d04a[_0x48615a(0x160)];const _0x3a4dbf=['js',_0x51b0b9[_0x48615a(0x1d7)],_0x51b0b9[_0x48615a(0x1f6)],_0x51b0b9[_0x48615a(0x16f)],'ts'];for(const _0x128ae5 of _0x3a4dbf){const _0x106d39=path[_0x48615a(0x18f)](process[_0x48615a(0x1f8)](),_0x48615a(0x1f3)+_0x128ae5);if(fs[_0x48615a(0x156)](_0x106d39)){process[_0x48615a(0x14b)]['USER_CONFIG_DETAILS_PATH']=_0x106d39;const _0x4f9e1c=await(0x0,_0xae0c94[_0x48615a(0x192)])(_0x106d39);return _0x4f9e1c;}}return{};},getSerial=(_0x457ca5,_0x2bad58)=>{const _0x3c4d91=a14_0x54d04c,_0x2340f5={};_0x2340f5[_0x3c4d91(0x1dc)]=_0x3c4d91(0x1f2),_0x2340f5[_0x3c4d91(0x167)]=function(_0xf37586,_0x272a8a){return _0xf37586>_0x272a8a;},_0x2340f5[_0x3c4d91(0x143)]=function(_0x7ffa41,_0x3058b3){return _0x7ffa41>_0x3058b3;},_0x2340f5[_0x3c4d91(0x1ad)]=_0x3c4d91(0x1d0);const _0x3959b2=_0x2340f5;let _0x9ba05e=_0x3959b2[_0x3c4d91(0x1dc)];return _0x3959b2['DZthy'](_0x457ca5[_0x3c4d91(0x1af)],0x1)&&(!_0x2bad58[_0x3c4d91(0x1d6)]&&(helper[_0x3c4d91(0x178)](_0x2bad58['maxWorkers'])||_0x3959b2[_0x3c4d91(0x143)](_0x2bad58[_0x3c4d91(0x1a9)],0x1)))&&(_0x9ba05e=_0x3959b2[_0x3c4d91(0x1ad)]),_0x9ba05e;},getMaxWorkers=(_0x105519,_0x3ba30d,_0x312892)=>{const _0x3f6a90=a14_0x54d04c,_0x326146={'lycvV':function(_0x457de8,_0x42c95c){return _0x457de8(_0x42c95c);}};let _0x3265cc=0x1;if(!helper[_0x3f6a90(0x178)](_0x3ba30d[_0x3f6a90(0x1e2)]))_0x3265cc=_0x326146['lycvV'](parseInt,_0x3ba30d['parallelsPerPlatform']);else{if(!helper[_0x3f6a90(0x178)](_0x105519['maxWorkers']))_0x3265cc=_0x105519['maxWorkers'];else!helper['isUndefined'](_0x312892[_0x3f6a90(0x1a9)])&&(_0x3265cc=_0x312892[_0x3f6a90(0x1a9)]);}return _0x3265cc;};async function run(_0x259441,_0x2e42f2,_0x6d15e2){const _0x2cfee4=a14_0x54d04c,_0x1417cd={'guEwr':_0x2cfee4(0x16d),'LsNMx':_0x2cfee4(0x160),'ZAylW':function(_0x4f4cc6,_0x466b56){return _0x4f4cc6(_0x466b56);},'yCCDm':_0x2cfee4(0x159),'RUAWF':function(_0x516802,_0x822692,_0x9c9f73,_0x1f944e){return _0x516802(_0x822692,_0x9c9f73,_0x1f944e);},'QrbKC':function(_0x4558b3,_0x607044){return _0x4558b3!=_0x607044;},'rHWJG':'true','mXqOS':function(_0x5dc4b8,_0x499336,_0x37adcd){return _0x5dc4b8(_0x499336,_0x37adcd);},'QZIUX':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Gceag':function(_0x4e0bf7,_0x21b27f){return _0x4e0bf7(_0x21b27f);},'vqvQz':_0x2cfee4(0x1d0),'qSDvC':function(_0x440cb2,_0x5496c1,_0x3bda7b){return _0x440cb2(_0x5496c1,_0x3bda7b);},'UAHif':function(_0x552959,_0x47e7eb,_0x401358,_0x571edd){return _0x552959(_0x47e7eb,_0x401358,_0x571edd);},'wPckd':function(_0x309e62,_0x7fd663){return _0x309e62*_0x7fd663;},'elXTZ':function(_0x418a95,_0x8452af){return _0x418a95===_0x8452af;},'oVjVS':_0x2cfee4(0x196),'xguou':_0x2cfee4(0x216),'QlyEx':_0x2cfee4(0x1ee),'mvYyO':_0x2cfee4(0x1cb),'Xyudw':'customTestRunner.js','rPlMm':_0x2cfee4(0x1a1),'CfMKA':_0x2cfee4(0x189),'EaRhQ':_0x2cfee4(0x179),'nmBoB':_0x2cfee4(0x217),'hfNkl':_0x2cfee4(0x163),'gAGde':_0x2cfee4(0x14d),'VlbxY':_0x2cfee4(0x152),'oxBal':_0x2cfee4(0x158),'BhElc':_0x2cfee4(0x154),'ljUUR':_0x2cfee4(0x1bb),'fjANo':_0x2cfee4(0x224),'bVxZK':_0x2cfee4(0x21f),'OXWEk':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','TVMxZ':'test.setup.js','UbcHb':_0x2cfee4(0x1f9),'JNXzh':_0x2cfee4(0x192),'rLwYi':function(_0x50739a,_0x269d91,_0x2a7981){return _0x50739a(_0x269d91,_0x2a7981);},'VhwED':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','wLdZJ':function(_0x1428da,_0xc6f1be){return _0x1428da>_0xc6f1be;},'atdES':_0x2cfee4(0x222),'vZSpR':'npx','VlFfQ':_0x2cfee4(0x17c),'vyMwb':function(_0x4d6d14,_0xe6fc89){return _0x4d6d14===_0xe6fc89;},'qaRkP':'win32','MADzr':'inherit','cZHtm':_0x2cfee4(0x1a4)},_0x34d6f9=helper[_0x2cfee4(0x20b)](_0x1417cd[_0x2cfee4(0x20e)]);global['__isPlaywrightInstalled']=!!_0x34d6f9;helper[_0x2cfee4(0x1b4)]()?(await _0x6d15e2[_0x2cfee4(0x1b2)](_0x259441),await helper[_0x2cfee4(0x18a)](_0x6d15e2[_0x2cfee4(0x1cf)])):await _0x6d15e2[_0x2cfee4(0x157)]();await _0x1417cd[_0x2cfee4(0x1c1)](checkPwandBootstrapCli,_0x34d6f9,constants[_0x2cfee4(0x1ce)][_0x2cfee4(0x1ac)],_0x6d15e2);if(!_0x6d15e2[_0x2cfee4(0x1cf)])return;_0x1417cd[_0x2cfee4(0x19a)](_0x6d15e2[_0x2cfee4(0x1cf)]['testObservability'],null)?process[_0x2cfee4(0x14b)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x17e)]:process[_0x2cfee4(0x14b)][_0x2cfee4(0x15b)]=_0x1417cd[_0x2cfee4(0x219)];const _0x251ca4=new TestOrchestrationHandler(_0x6d15e2[_0x2cfee4(0x1cf)]),_0x482078=await _0x1417cd[_0x2cfee4(0x147)](getUserJestConfigs,_0x259441,_0x2e42f2);logger['info'](_0x1417cd['QZIUX']);const _0x4c1f83=Object['assign']({},_0x482078);_0x4c1f83[_0x2cfee4(0x175)]=Object[_0x2cfee4(0x1f4)]({},_0x4c1f83[_0x2cfee4(0x175)],{'server':helper[_0x2cfee4(0x1c5)](_0x6d15e2['config']),'environment':_0x482078[_0x2cfee4(0x1fd)]}),_0x4c1f83['testEnvironmentOptions'][_0x2cfee4(0x20c)]=_0x1417cd[_0x2cfee4(0x17d)](getPercyOptions,_0x6d15e2['config']);const _0x3400b4=helper[_0x2cfee4(0x1cc)](_0x6d15e2[_0x2cfee4(0x1cf)]);!helper[_0x2cfee4(0x178)](_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x1db)])&&(process[_0x2cfee4(0x14b)][_0x2cfee4(0x1a8)]=JSON['stringify'](_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x1db)]));if(!BrowserstackCLI[_0x2cfee4(0x146)]()[_0x2cfee4(0x173)]()){const _0xe56ccf=await TestHubHandler[_0x2cfee4(0x1b9)](FRAMEWORKS[_0x2cfee4(0x1ac)],_0x6d15e2);}const _0x358f5c=helper[_0x2cfee4(0x1a2)](_0x6d15e2[_0x2cfee4(0x1cf)],_0x3400b4,constants[_0x2cfee4(0x1ce)][_0x2cfee4(0x1ac)]);process[_0x2cfee4(0x14b)][_0x2cfee4(0x1e3)]=JSON['stringify'](_0x358f5c);let _0x49376e=_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x150)];_0x49376e=_0x49376e||accessibilityHelper[_0x2cfee4(0x1d8)](_0x6d15e2[_0x2cfee4(0x1cf)]),process[_0x2cfee4(0x14b)][_0x2cfee4(0x1b0)]=_0x49376e,logger[_0x2cfee4(0x17a)](_0x2cfee4(0x1b8)+_0x49376e+_0x2cfee4(0x15e)+BrowserstackCLI[_0x2cfee4(0x146)]()['isRunning']());if(_0x34d6f9)try{const _0x3ce66a=_0x1417cd[_0x2cfee4(0x176)](checkAccessibilityPlatformConfig,_0x6d15e2[_0x2cfee4(0x1cf)]);process[_0x2cfee4(0x14b)][_0x2cfee4(0x172)]=_0x3ce66a?_0x1417cd['rHWJG']:_0x1417cd['vqvQz'],logger['debug'](_0x2cfee4(0x208)+_0x3ce66a+_0x2cfee4(0x1eb)+process[_0x2cfee4(0x14b)][_0x2cfee4(0x172)]);}catch(_0x54b104){logger[_0x2cfee4(0x17a)](_0x2cfee4(0x21b)+util[_0x2cfee4(0x170)](_0x54b104));}_0x4c1f83['testEnvironmentOptions']['capabilities']=_0x358f5c,_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x169)]=_0x1417cd[_0x2cfee4(0x1a0)](getSerial,_0x358f5c,_0x259441),_0x4c1f83[_0x2cfee4(0x175)]['parallels__']=_0x1417cd[_0x2cfee4(0x1d3)](getMaxWorkers,_0x259441,_0x6d15e2['config'],_0x482078),_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x15c)]=_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x15c)],_0x4c1f83[_0x2cfee4(0x175)]['timeout__']=_0x1417cd[_0x2cfee4(0x209)](_0x259441[_0x2cfee4(0x1f1)],0x1)||0x1388,_0x4c1f83['testEnvironmentOptions'][_0x2cfee4(0x1e6)]=_0x6d15e2['config'][_0x2cfee4(0x225)]['skipSessionName'],_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x20a)]=_0x6d15e2['config'][_0x2cfee4(0x225)][_0x2cfee4(0x20a)],_0x4c1f83['testEnvironmentOptions'][_0x2cfee4(0x1bf)]=_0x6d15e2[_0x2cfee4(0x1cf)]['logLevel'],_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x188)]=_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x188)],_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x19c)]=_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x151)];const _0x52c0c6=helper[_0x2cfee4(0x19b)](_0x6d15e2[_0x2cfee4(0x1cf)]);if(!helper[_0x2cfee4(0x215)](_0x52c0c6)){helper['isNotUndefined'](_0x52c0c6['retryTestsOnFailure'])&&(_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x1f0)]=_0x52c0c6['retryTestsOnFailure'][_0x2cfee4(0x1c9)]);if(helper['isNotUndefined'](_0x52c0c6[_0x2cfee4(0x184)])&&helper[_0x2cfee4(0x191)](_0x52c0c6[_0x2cfee4(0x184)][_0x2cfee4(0x20f)])){const _0x109d42={};_0x109d42[_0x2cfee4(0x16c)]=_0x52c0c6['abortBuildOnFailure']['maxFailures'],_0x109d42[_0x2cfee4(0x20f)]=_0x52c0c6['abortBuildOnFailure'][_0x2cfee4(0x20f)],_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x1ba)]=_0x109d42;}}let _0x3aa934='';_0x1417cd[_0x2cfee4(0x15d)](helper[_0x2cfee4(0x1ab)](),constants[_0x2cfee4(0x1cd)][_0x2cfee4(0x1c3)])?_0x3aa934=_0x1417cd[_0x2cfee4(0x1ff)]:_0x3aa934=_0x1417cd['xguou'];const _0xeb873e=_0x3aa934,_0x13bed9=path[_0x2cfee4(0x18f)](__dirname,_0x1417cd[_0x2cfee4(0x1c4)],_0x1417cd[_0x2cfee4(0x21d)]),_0x73f3a5=path['join'](__dirname,_0x1417cd['QlyEx'],_0x1417cd['Xyudw']),_0x5855d7=path['join'](__dirname,_0x1417cd[_0x2cfee4(0x1c4)],_0x1417cd[_0x2cfee4(0x1d5)]);_0x4c1f83[_0x2cfee4(0x1fd)]&&(process[_0x2cfee4(0x14b)][_0x2cfee4(0x21a)]=_0x4c1f83[_0x2cfee4(0x1fd)]);_0x4c1f83[_0x2cfee4(0x1fd)]=path[_0x2cfee4(0x18f)](__dirname,_0x1417cd['QlyEx'],_0x1417cd[_0x2cfee4(0x1df)]),_0x4c1f83[_0x2cfee4(0x1d1)]=_0x73f3a5,_0x4c1f83[_0x2cfee4(0x177)]=_0x4c1f83[_0x2cfee4(0x177)]||[],_0x4c1f83['setupFilesAfterEnv'][_0x2cfee4(0x1ae)](path[_0x2cfee4(0x18f)](__dirname,_0x1417cd['EaRhQ']));_0x251ca4['isTestOrchestrationEnabled']()&&(_0x4c1f83[_0x2cfee4(0x1d2)]=path['join'](__dirname,_0x1417cd[_0x2cfee4(0x1c4)],_0x1417cd[_0x2cfee4(0x1ef)]));if(testhubUtils[_0x2cfee4(0x218)]()){let _0x1b2d81=null;try{_0x1b2d81=helper[_0x2cfee4(0x17f)](_0x1417cd['hfNkl'],_0x1417cd[_0x2cfee4(0x212)]);}catch(_0x4dc026){_0x1417cd[_0x2cfee4(0x17d)](debug,_0x2cfee4(0x1d9)+_0x4dc026);}_0x1b2d81&&(_0x4c1f83[_0x2cfee4(0x177)][_0x2cfee4(0x1ae)](path[_0x2cfee4(0x18f)](__dirname,_0x1417cd[_0x2cfee4(0x15a)],_0x1417cd['oxBal'])),_0x4c1f83['testRunner']=path['join'](__dirname,_0x1417cd[_0x2cfee4(0x1c4)],_0x1417cd[_0x2cfee4(0x1e0)]));}_0x4c1f83['setupFiles']=_0x4c1f83[_0x2cfee4(0x1bd)]||[];try{helper[_0x2cfee4(0x1de)](),_0x4c1f83[_0x2cfee4(0x1bd)][_0x2cfee4(0x1ae)](path[_0x2cfee4(0x18f)](__dirname,_0x1417cd['ljUUR']));}catch{logger[_0x2cfee4(0x17a)](_0x1417cd[_0x2cfee4(0x211)]);}try{helper[_0x2cfee4(0x186)]['apply'](null,[_0x1417cd['yCCDm'],_0x1417cd['bVxZK']]),logger[_0x2cfee4(0x17a)](_0x1417cd[_0x2cfee4(0x193)]),_0x4c1f83[_0x2cfee4(0x1bd)]['push'](path[_0x2cfee4(0x18f)](__dirname,_0x1417cd[_0x2cfee4(0x199)]));}catch(_0x25bd0a){logger[_0x2cfee4(0x17a)](_0x1417cd['UbcHb'],_0x25bd0a);}_0x4c1f83[_0x2cfee4(0x202)]=_0x4c1f83[_0x2cfee4(0x202)]||[_0x1417cd[_0x2cfee4(0x201)]],_0x1417cd[_0x2cfee4(0x18e)](updateTestRerunConfig,_0x4c1f83,_0x6d15e2);const _0x450042=fs['readFileSync'](_0x5855d7);fs[_0x2cfee4(0x1d4)](_0x4c1f83[_0x2cfee4(0x1d1)],_0x2cfee4(0x1c2)+_0x450042+_0x2cfee4(0x198)+_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x151)][_0x2cfee4(0x1af)]+_0x2cfee4(0x19e)),logger['info'](_0x2cfee4(0x21e)+_0xeb873e+_0x2cfee4(0x1a5)),fs[_0x2cfee4(0x1d4)](_0xeb873e,_0x2cfee4(0x180)+JSON['stringify'](_0x4c1f83)+_0x2cfee4(0x171));if(_0x251ca4[_0x2cfee4(0x20d)]()){logger['debug'](_0x1417cd[_0x2cfee4(0x1fa)]);const _0xd3b8a3=await _0x251ca4[_0x2cfee4(0x1e1)](_0x4c1f83,_0x2e42f2[_0x2cfee4(0x1ec)](0x1),_0xeb873e);logger[_0x2cfee4(0x17a)](_0x2cfee4(0x1a6)+JSON[_0x2cfee4(0x19d)](_0xd3b8a3)+'\x20test\x20files\x20to\x20run.');const _0x3c27fc=await _0x251ca4['reorderTestFiles'](_0xd3b8a3);logger[_0x2cfee4(0x17a)]('Reodered\x20Test\x20Files:\x20'+JSON[_0x2cfee4(0x19d)](_0x3c27fc)),_0x3c27fc&&_0x1417cd['wLdZJ'](_0x3c27fc['length'],0x0)&&(process[_0x2cfee4(0x14b)]['JEST_TEST_ORDER']=_0x3c27fc?.[_0x2cfee4(0x18f)](','));}logger[_0x2cfee4(0x19f)](_0x1417cd[_0x2cfee4(0x165)]);testhubUtils[_0x2cfee4(0x218)]()&&TestDetails[_0x2cfee4(0x1b7)]();helper[_0x2cfee4(0x14f)]({},_0x2e42f2),PerformanceTester[_0x2cfee4(0x174)](PerformanceEvents[_0x2cfee4(0x1b1)]);const _0x21e627=_0x1417cd[_0x2cfee4(0x1c1)](spawn,_0x1417cd[_0x2cfee4(0x185)],[_0x1417cd[_0x2cfee4(0x1a7)],_0x1417cd[_0x2cfee4(0x1c8)],_0xeb873e,..._0x2e42f2[_0x2cfee4(0x1ec)](0x1)],{'shell':_0x1417cd[_0x2cfee4(0x1b5)](process[_0x2cfee4(0x161)],_0x1417cd[_0x2cfee4(0x223)]),'stdio':_0x1417cd[_0x2cfee4(0x1bc)],'env':Object['assign']({},process['env'])});_0x21e627['on'](_0x1417cd[_0x2cfee4(0x18b)],async _0x51470a=>{const _0x5c6735=_0x2cfee4;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x896503,tcgConfigPath:_0x101518}=helper[_0x5c6735(0x210)]();fs[_0x5c6735(0x153)](_0x101518),fs['rmdirSync'](_0x896503);}catch(_0xd3ccad){logger[_0x5c6735(0x17a)](_0x1417cd[_0x5c6735(0x187)],_0xd3ccad);}process[_0x5c6735(0x203)]=_0x51470a,logger[_0x5c6735(0x17a)](_0x5c6735(0x144)+_0x51470a),logger[_0x5c6735(0x19f)](_0x5c6735(0x197)+_0xeb873e);if(helper[_0x5c6735(0x191)](_0x52c0c6)&&helper[_0x5c6735(0x191)](_0x52c0c6['abortBuildOnFailure'])&&fs[_0x5c6735(0x156)](_0x52c0c6[_0x5c6735(0x184)][_0x5c6735(0x20f)]))try{const _0x5e1556={};_0x5e1556[_0x5c6735(0x1e7)]=!![],_0x5e1556[_0x5c6735(0x206)]=!![],fs[_0x5c6735(0x162)](_0x52c0c6['abortBuildOnFailure'][_0x5c6735(0x20f)],_0x5e1556),logger[_0x5c6735(0x17a)](_0x5c6735(0x166)+_0x52c0c6[_0x5c6735(0x184)][_0x5c6735(0x20f)]);}catch(_0x2f23d4){logger[_0x5c6735(0x16a)](_0x5c6735(0x194)+_0x2f23d4);}let _0x4f4dc9=null;if(fs[_0x5c6735(0x156)](_0x13bed9)){_0x4f4dc9=fs[_0x5c6735(0x1f5)](_0x13bed9);try{_0x4f4dc9=JSON[_0x5c6735(0x1b3)](_0x4f4dc9);}catch(_0x316296){logger[_0x5c6735(0x17a)]('Error\x20while\x20parsing\x20'+_0x13bed9+',\x20'+_0x4f4dc9+_0x5c6735(0x1aa)+_0x316296);}fs[_0x5c6735(0x153)](_0x13bed9);}fs[_0x5c6735(0x153)](_0xeb873e),fs[_0x5c6735(0x153)](_0x73f3a5),_0x4f4dc9&&(_0x6d15e2[_0x5c6735(0x155)]=helper[_0x5c6735(0x164)](_0x4f4dc9,_0x1417cd[_0x5c6735(0x1a7)],_0x6d15e2));const _0x16ccea=BrowserstackCLI[_0x5c6735(0x183)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0x5c6735(0x16e)]();}catch(_0x5c51c0){console[_0x5c6735(0x1dd)](_0x5c51c0),_0x1417cd[_0x5c6735(0x17d)](debug,_0x5c6735(0x1e5)+util[_0x5c6735(0x170)](_0x5c51c0));}testOpsHelper[_0x5c6735(0x1da)](),TestDetails['shutdown'](),await utilities['finalExecution'](_0x6d15e2,_0x16ccea);});}module[a14_0x54d04c(0x18d)]=run;
@@ -1 +1 @@
1
- const a15_0x1737be=a15_0x41e8;(function(_0xc78044,_0x1d5e17){const _0x113ccb=a15_0x41e8,_0x11c397=_0xc78044();while(!![]){try{const _0x3f896f=parseInt(_0x113ccb(0xc2))/0x1*(-parseInt(_0x113ccb(0xbe))/0x2)+-parseInt(_0x113ccb(0xc4))/0x3*(-parseInt(_0x113ccb(0xb9))/0x4)+-parseInt(_0x113ccb(0xc1))/0x5*(-parseInt(_0x113ccb(0xc6))/0x6)+-parseInt(_0x113ccb(0xb5))/0x7*(parseInt(_0x113ccb(0xbf))/0x8)+-parseInt(_0x113ccb(0xbc))/0x9+-parseInt(_0x113ccb(0xc3))/0xa*(-parseInt(_0x113ccb(0xb6))/0xb)+parseInt(_0x113ccb(0xc5))/0xc*(parseInt(_0x113ccb(0xb7))/0xd);if(_0x3f896f===_0x1d5e17)break;else _0x11c397['push'](_0x11c397['shift']());}catch(_0x187a97){_0x11c397['push'](_0x11c397['shift']());}}}(a15_0x299e,0xc1a5f));const path=require(a15_0x1737be(0xb1)),{requireModule}=require('../../../helpers/helper');let initJestAdapter=requireModule(a15_0x1737be(0xb3),a15_0x1737be(0xba));function a15_0x299e(){const _0x1efd71=['initRequireModule','path','MuLDx','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','customJestAdapterInit.js','23597lGheGm','11JYhGbO','13jTeMbt','join','12524anBJgU','jest-circus','includes','5365764FpEuRr','requireInternalModule','298foViYf','872gtUFnW','jestAdapterInit','205vdPJcJ','8683qFkeFj','5023340oHREXe','477mSLYat','21888732ekklIp','33126xjzHHV','default'];a15_0x299e=function(){return _0x1efd71;};return a15_0x299e();}function a15_0x41e8(_0x16c7e1,_0x14dfea){const _0x299ec6=a15_0x299e();return a15_0x41e8=function(_0x41e844,_0x4a4dc7){_0x41e844=_0x41e844-0xb1;let _0x3ec74e=_0x299ec6[_0x41e844];return _0x3ec74e;},a15_0x41e8(_0x16c7e1,_0x14dfea);}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a15_0x1737be(0xc7)];const FRAMEWORK_INITIALIZER=path[a15_0x1737be(0xb8)](__dirname,a15_0x1737be(0xb4));module['exports']=(..._0x48d922)=>{const _0x5d1102=a15_0x1737be,_0x846ee7={'MuLDx':_0x5d1102(0xc0),'TMbkE':function(_0x4fdcb9,_0xd76ebb){return _0x4fdcb9===_0xd76ebb;},'JJlBG':function(_0x1653bc,..._0x15fc70){return _0x1653bc(..._0x15fc70);}};return _0x48d922[0x3][_0x5d1102(0xc8)]=_0x48d922[0x3]['requireInternalModule'],_0x48d922[0x3][_0x5d1102(0xbd)]=(..._0x37a6c8)=>{const _0x1e5f1b=_0x5d1102;if(_0x37a6c8[0x0]&&_0x37a6c8[0x0][_0x1e5f1b(0xbb)](_0x846ee7[_0x1e5f1b(0xb2)])&&_0x846ee7['TMbkE'](_0x37a6c8[0x1],undefined))return _0x48d922[0x3][_0x1e5f1b(0xc8)](FRAMEWORK_INITIALIZER);return _0x48d922[0x3][_0x1e5f1b(0xc8)](..._0x37a6c8);},_0x846ee7['JJlBG'](initJestAdapter,..._0x48d922);};
1
+ function a15_0x3aca(){const _0x115d42=['initRequireModule','includes','7MFYbFD','1342DKGOOI','505464FrlTWV','25qZJHXB','1nvMkId','193383aEaKtc','6907408Xyrnyx','QFNTo','2284tEhMnQ','requireInternalModule','function','97728twhhDv','path','3090945NBAnuj','1724454tTKwVh','exports','240WZjvuR','yrcUJ','jest-circus','default','../../../helpers/helper','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','join'];a15_0x3aca=function(){return _0x115d42;};return a15_0x3aca();}const a15_0x519fec=a15_0x297b;(function(_0x192af2,_0x29f794){const _0x7bd713=a15_0x297b,_0x5befb4=_0x192af2();while(!![]){try{const _0x35ad0e=parseInt(_0x7bd713(0x95))/0x1*(parseInt(_0x7bd713(0x80))/0x2)+parseInt(_0x7bd713(0x85))/0x3+-parseInt(_0x7bd713(0x93))/0x4*(-parseInt(_0x7bd713(0x94))/0x5)+parseInt(_0x7bd713(0x86))/0x6*(parseInt(_0x7bd713(0x91))/0x7)+-parseInt(_0x7bd713(0x97))/0x8+parseInt(_0x7bd713(0x96))/0x9*(parseInt(_0x7bd713(0x88))/0xa)+-parseInt(_0x7bd713(0x92))/0xb*(parseInt(_0x7bd713(0x83))/0xc);if(_0x35ad0e===_0x29f794)break;else _0x5befb4['push'](_0x5befb4['shift']());}catch(_0x5df44d){_0x5befb4['push'](_0x5befb4['shift']());}}}(a15_0x3aca,0x94c6e));const path=require(a15_0x519fec(0x84)),{requireModule}=require(a15_0x519fec(0x8c));let initJestAdapter=requireModule(a15_0x519fec(0x8d),a15_0x519fec(0x8a));function a15_0x297b(_0x361f2f,_0x25c7ac){const _0x3acad5=a15_0x3aca();return a15_0x297b=function(_0x297b20,_0x272b04){_0x297b20=_0x297b20-0x7f;let _0xeba9f8=_0x3acad5[_0x297b20];return _0xeba9f8;},a15_0x297b(_0x361f2f,_0x25c7ac);}initJestAdapter=typeof initJestAdapter===a15_0x519fec(0x82)?initJestAdapter:initJestAdapter[a15_0x519fec(0x8b)];const FRAMEWORK_INITIALIZER=path[a15_0x519fec(0x8e)](__dirname,'customJestAdapterInit.js');module[a15_0x519fec(0x87)]=(..._0x134cf4)=>{const _0x1d607d=a15_0x519fec,_0x2d7397={'YUiAQ':'jestAdapterInit','QFNTo':function(_0x498237,_0x1a3ac3){return _0x498237===_0x1a3ac3;},'yrcUJ':function(_0x544528,..._0x4fea2b){return _0x544528(..._0x4fea2b);}};return _0x134cf4[0x3]['initRequireModule']=_0x134cf4[0x3][_0x1d607d(0x81)],_0x134cf4[0x3][_0x1d607d(0x81)]=(..._0x3c9e30)=>{const _0x345faf=_0x1d607d;if(_0x3c9e30[0x0]&&_0x3c9e30[0x0][_0x345faf(0x90)](_0x2d7397['YUiAQ'])&&_0x2d7397[_0x345faf(0x7f)](_0x3c9e30[0x1],undefined))return _0x134cf4[0x3][_0x345faf(0x8f)](FRAMEWORK_INITIALIZER);return _0x134cf4[0x3]['initRequireModule'](..._0x3c9e30);},_0x2d7397[_0x1d607d(0x89)](initJestAdapter,..._0x134cf4);};
@@ -1 +1 @@
1
- const a16_0x40fadb=a16_0x2440;(function(_0x3e4014,_0x1c7bf8){const _0x1e5485=a16_0x2440,_0x54efa5=_0x3e4014();while(!![]){try{const _0x407a88=parseInt(_0x1e5485(0x212))/0x1+-parseInt(_0x1e5485(0x207))/0x2+parseInt(_0x1e5485(0x238))/0x3+parseInt(_0x1e5485(0x239))/0x4*(-parseInt(_0x1e5485(0x240))/0x5)+parseInt(_0x1e5485(0x228))/0x6+parseInt(_0x1e5485(0x21b))/0x7*(parseInt(_0x1e5485(0x205))/0x8)+-parseInt(_0x1e5485(0x24b))/0x9*(-parseInt(_0x1e5485(0x219))/0xa);if(_0x407a88===_0x1c7bf8)break;else _0x54efa5['push'](_0x54efa5['shift']());}catch(_0x336f36){_0x54efa5['push'](_0x54efa5['shift']());}}}(a16_0x340a,0x885a7));const helper=require('../../../helpers/helper'),constants=require(a16_0x40fadb(0x22a)),{isTestObservabilitySession}=require(a16_0x40fadb(0x22c)),RequestQueueHandler=require(a16_0x40fadb(0x23e)),ObservabilityReporter=require(a16_0x40fadb(0x211)),testhubUtils=require(a16_0x40fadb(0x200)),logger=require(a16_0x40fadb(0x216))[a16_0x40fadb(0x20e)],getTestEnvironment=((()=>{const _0x4af055=a16_0x40fadb,_0x1f8310={};_0x1f8310[_0x4af055(0x226)]='jest-resolve',_0x1f8310[_0x4af055(0x1fd)]=_0x4af055(0x22f);const _0x404f6e=_0x1f8310;try{const _0x32a752=helper[_0x4af055(0x232)](_0x404f6e[_0x4af055(0x226)]);if(_0x32a752[_0x4af055(0x245)])return _0x32a752['resolveTestEnvironment'];const _0x1a8c58=helper[_0x4af055(0x232)](_0x404f6e[_0x4af055(0x1fd)]);if(_0x1a8c58[_0x4af055(0x236)])return _0x1a8c58[_0x4af055(0x236)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x1e06bd=a16_0x40fadb,_0xff41a7={'rCRnY':function(_0x36453c,_0x26ddeb){return _0x36453c(_0x26ddeb);},'hljEH':_0x1e06bd(0x220),'VnXxs':_0x1e06bd(0x215),'KnMVf':function(_0x52aeee,_0x108e1d){return _0x52aeee(_0x108e1d);}},_0x3f1e63=_0xff41a7[_0x1e06bd(0x242)](getTestEnvironment,{'rootDir':process[_0x1e06bd(0x225)](),'testEnvironment':process['env']['BSTACK_JEST_TEST_ENV']||_0xff41a7[_0x1e06bd(0x214)]});if(!_0x3f1e63)return _0xff41a7['rCRnY'](_interopRequireDefault,helper['requireModule'](_0xff41a7[_0x1e06bd(0x1e9)]));return _0xff41a7[_0x1e06bd(0x251)](_interopRequireDefault,helper[_0x1e06bd(0x232)](_0x3f1e63));})()),_seleniumWebdriver2=((()=>{const _0x29311c=a16_0x40fadb,_0xe4ed29={'UMsFH':function(_0x1dc76e,_0x3e8715){return _0x1dc76e(_0x3e8715);}};try{const _0x13031d=helper[_0x29311c(0x249)]();return helper[_0x29311c(0x231)](),_0xe4ed29[_0x29311c(0x201)](_interopRequireDefault,_0x13031d);}catch{return null;}})());function _interopRequireDefault(_0x19b0a8){const _0x10621d=a16_0x40fadb;return _0x19b0a8&&_0x19b0a8[_0x10621d(0x248)]?_0x19b0a8:{'default':_0x19b0a8};}function a16_0x2440(_0x237b72,_0xde4da8){const _0x340a6e=a16_0x340a();return a16_0x2440=function(_0x244074,_0x1f4d53){_0x244074=_0x244074-0x1e2;let _0x31e35b=_0x340a6e[_0x244074];return _0x31e35b;},a16_0x2440(_0x237b72,_0xde4da8);}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x40fadb(0x1f6)][a16_0x40fadb(0x1f2)]:null;class CustomEnvironment extends _jestUserEnvironment['default']{constructor(_0x2518c8){const _0x1f98c3=a16_0x40fadb,_0x5c9f5d={'KTTQS':_0x1f98c3(0x20a),'LLpFc':function(_0x527954,_0x3400eb){return _0x527954+_0x3400eb;},'hhzqw':'bstack:options','vlUfO':function(_0x946d80,_0x241c00){return _0x946d80(_0x241c00);},'UFuNM':'../../../helpers/test-orchestration/failfastManager','OseUJ':_0x1f98c3(0x21a),'ZTXLs':'testEnvironmentOptions','XxgRw':_0x1f98c3(0x1fb),'taMDS':_0x1f98c3(0x218),'twqwC':_0x1f98c3(0x24a),'NDXoo':_0x1f98c3(0x20f),'DWOBC':_0x1f98c3(0x1e2)};super(_0x2518c8),this[_0x1f98c3(0x1ff)][_0x1f98c3(0x1ee)]=0x0,this[_0x1f98c3(0x20d)]={};!_0x2518c8['testEnvironmentOptions']&&(_0x2518c8['testEnvironmentOptions']={});if(helper[_0x1f98c3(0x24c)]()){_0x2518c8['testEnvironmentOptions']=_0x2518c8[_0x1f98c3(0x252)]?_0x2518c8[_0x1f98c3(0x252)][_0x1f98c3(0x204)]:_0x2518c8[_0x1f98c3(0x204)];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0x1f98c3(0x1f6))][(_0x1f98c3(0x1f2))]());this[_0x1f98c3(0x1e3)]=_0x2518c8[_0x1f98c3(0x252)]?_0x2518c8[_0x1f98c3(0x252)][_0x1f98c3(0x1e3)]:_0x2518c8['capability'],this[_0x1f98c3(0x1ff)][_0x1f98c3(0x1ee)]=_0x5c9f5d[_0x1f98c3(0x244)](_0x2518c8[_0x1f98c3(0x204)]['timeout__']||0x1388,constants['BSTACK_DELTA']),this[_0x1f98c3(0x1f1)]=_0x2518c8['testEnvironmentOptions'][_0x1f98c3(0x234)];if(this[_0x1f98c3(0x1f1)]){const _0x1bd0d4=this[_0x1f98c3(0x1e3)][_0x5c9f5d['hhzqw']]?.[_0x1f98c3(0x1e8)]||'',_0x56ae32=this[_0x1f98c3(0x1e3)][_0x5c9f5d[_0x1f98c3(0x203)]]?.[_0x1f98c3(0x22b)]||'';this['failFast']=new(_0x5c9f5d[_0x1f98c3(0x237)](require,_0x5c9f5d[_0x1f98c3(0x1e6)]))(this[_0x1f98c3(0x1f1)],_0x1bd0d4,_0x56ae32),this[_0x1f98c3(0x1ff)][_0x1f98c3(0x206)]=![];}helper[_0x1f98c3(0x1ed)](_0x2518c8[_0x1f98c3(0x204)]['retries__'])&&(this['global']['__jestRetries']=_0x2518c8[_0x1f98c3(0x204)]['retries__']);}if(testhubUtils[_0x1f98c3(0x210)]()){const _0x1fefcc=new ObservabilityReporter();_0x1fefcc[_0x1f98c3(0x24e)]();}this[_0x1f98c3(0x1ff)][_0x1f98c3(0x229)]={},this[_0x1f98c3(0x20d)]=_0x2518c8[_0x1f98c3(0x204)],this[_0x1f98c3(0x20d)]['framework']=constants[_0x1f98c3(0x202)]['JEST'],this[_0x1f98c3(0x1ff)][_0x1f98c3(0x1ea)]=(_0x2518c8['projectConfig']?_0x2518c8[_0x1f98c3(0x252)][_0x1f98c3(0x1ea)]:_0x2518c8[_0x1f98c3(0x1ea)])||0x0,this['global'][_0x1f98c3(0x217)]=this[_0x1f98c3(0x20d)]&&this[_0x1f98c3(0x20d)][_0x1f98c3(0x1e7)]&&Array['isArray'](this['configuration']['platformCaps'])&&this[_0x1f98c3(0x20d)]['platformCaps'][this[_0x1f98c3(0x1ff)][_0x1f98c3(0x1ea)]]||{};const _0x5df30e=this['global'][_0x1f98c3(0x1ea)],_0x4a5632={...this[_0x1f98c3(0x20d)],'capability':this[_0x1f98c3(0x20d)][_0x1f98c3(0x247)]&&Array[_0x1f98c3(0x20b)](this[_0x1f98c3(0x20d)][_0x1f98c3(0x247)])&&this['configuration'][_0x1f98c3(0x247)][_0x5df30e]||{},'platformCaps':this['configuration']['platformCaps']&&Array[_0x1f98c3(0x20b)](this[_0x1f98c3(0x20d)][_0x1f98c3(0x1e7)])&&this[_0x1f98c3(0x20d)][_0x1f98c3(0x1e7)][_0x5df30e]||{}};delete _0x4a5632['capabilities'],this[_0x1f98c3(0x1ff)][_0x1f98c3(0x21c)]=_0x4a5632;if(_seleniumWebdriver2){const _0x23873a=_0x5c9f5d['OseUJ'][_0x1f98c3(0x1fa)]('|');let _0x4ae899=0x0;while(!![]){switch(_0x23873a[_0x4ae899++]){case'0':helper[_0x1f98c3(0x1f3)](this[_0x1f98c3(0x20d)][_0x1f98c3(0x1ec)])?this['global'][_0x1f98c3(0x1fe)]=!![]:this['global'][_0x1f98c3(0x1fe)]=![];continue;case'1':this['global'][_0x1f98c3(0x218)]=helper[_0x1f98c3(0x222)](_0x2518c8,[_0x5c9f5d[_0x1f98c3(0x1eb)],_0x5c9f5d[_0x1f98c3(0x1e4)],_0x5c9f5d[_0x1f98c3(0x23d)]]);continue;case'2':this[_0x1f98c3(0x1ff)]['__skipSessionStatus']=helper[_0x1f98c3(0x1f3)](this[_0x1f98c3(0x20d)][_0x1f98c3(0x221)]);continue;case'3':this[_0x1f98c3(0x1ff)][_0x1f98c3(0x227)]=_0x5c9f5d[_0x1f98c3(0x237)](require,_0x5c9f5d[_0x1f98c3(0x23b)])[_0x1f98c3(0x1f5)]({...this[_0x1f98c3(0x20d)],'capability':this['capability']||{}},this,testhubUtils[_0x1f98c3(0x210)]());continue;case'4':this['global'][_0x1f98c3(0x20f)]=helper[_0x1f98c3(0x222)](_0x2518c8,[_0x5c9f5d[_0x1f98c3(0x1eb)],_0x5c9f5d[_0x1f98c3(0x1e4)],_0x5c9f5d[_0x1f98c3(0x241)]]);continue;case'5':this[_0x1f98c3(0x1ff)][_0x1f98c3(0x243)]=[];continue;case'6':this[_0x1f98c3(0x1ff)][_0x1f98c3(0x23c)]=async()=>{const _0x523193=_0x1f98c3;await this[_0x523193(0x1ff)][_0x523193(0x230)][_0x523193(0x20a)](_0x5c9f5d[_0x523193(0x1f7)]);};continue;case'7':this[_0x1f98c3(0x1ff)][_0x1f98c3(0x1e2)]=helper[_0x1f98c3(0x222)](_0x2518c8,[_0x5c9f5d[_0x1f98c3(0x1eb)],_0x5c9f5d[_0x1f98c3(0x1e4)],_0x5c9f5d[_0x1f98c3(0x250)]]);continue;}break;}}}async['teardown'](){const _0x432d54=a16_0x40fadb;_seleniumWebdriver2&&(await helper[_0x432d54(0x21d)](this['global'][_0x432d54(0x1e5)]),this[_0x432d54(0x1ff)][_0x432d54(0x227)][_0x432d54(0x1f2)]=originalBuilder),await RequestQueueHandler[_0x432d54(0x1ef)]()[_0x432d54(0x23a)]();}async[a16_0x40fadb(0x20c)](){}async[a16_0x40fadb(0x1f9)](_0x430954,_0x5e8c84){const _0x3410d4=a16_0x40fadb,_0xe7eb6c={};_0xe7eb6c[_0x3410d4(0x233)]=function(_0x2465ce,_0x2db416){return _0x2465ce===_0x2db416;},_0xe7eb6c[_0x3410d4(0x246)]='test_start',_0xe7eb6c[_0x3410d4(0x1fc)]=_0x3410d4(0x24f),_0xe7eb6c[_0x3410d4(0x21e)]=_0x3410d4(0x22d),_0xe7eb6c[_0x3410d4(0x21f)]='\x20>\x20',_0xe7eb6c[_0x3410d4(0x235)]=function(_0x51933b,_0x2a3b69){return _0x51933b===_0x2a3b69;},_0xe7eb6c['kXycz']=_0x3410d4(0x208),_0xe7eb6c[_0x3410d4(0x209)]=_0x3410d4(0x22e);const _0x381ce1=_0xe7eb6c,{name:_0x3926dc}=_0x430954;if(_0x381ce1[_0x3410d4(0x233)](_0x3926dc,_0x381ce1['tTFNf'])){this[_0x3410d4(0x1ff)][_0x3410d4(0x1f0)]=_0x430954[_0x3410d4(0x213)];if(_0x381ce1[_0x3410d4(0x233)](this[_0x3410d4(0x1ff)][_0x3410d4(0x206)],!![])){const _0x1a9ff9=_0x430954[_0x3410d4(0x213)][_0x3410d4(0x223)];logger['info'](_0x3410d4(0x1f4)+_0x1a9ff9),_0x430954[_0x3410d4(0x213)]['mode']=_0x381ce1['MVjkU'];}}if(this[_0x3410d4(0x234)]&&_0x381ce1[_0x3410d4(0x233)](_0x3926dc,_0x381ce1['XLKWf']))try{const _0x3b4c1b=_0x430954[_0x3410d4(0x213)][_0x3410d4(0x23f)]['join'](_0x381ce1[_0x3410d4(0x21f)]),_0x4f10bf=_0x430954[_0x3410d4(0x213)][_0x3410d4(0x1f8)];await this[_0x3410d4(0x234)][_0x3410d4(0x24d)](_0x3b4c1b,_0x4f10bf);const _0x43ba4a=await this[_0x3410d4(0x234)]['shouldFailFast']();_0x381ce1[_0x3410d4(0x235)](this[_0x3410d4(0x1ff)][_0x3410d4(0x206)],![])&&_0x381ce1['OCPbl'](_0x43ba4a,!![])&&(this[_0x3410d4(0x1ff)][_0x3410d4(0x206)]=!![]);}catch(_0x3d8a14){logger['debug'](_0x381ce1[_0x3410d4(0x224)],_0x3d8a14['message']);}_0x381ce1[_0x3410d4(0x235)](_0x3926dc,_0x381ce1[_0x3410d4(0x209)])&&(this[_0x3410d4(0x234)]&&this[_0x3410d4(0x234)][_0x3410d4(0x23c)]());}}function a16_0x340a(){const _0x582fbd=['skipSessionStatus','nestedKeyValue','name','kXycz','cwd','pXkSR','__webdriver','2571690ttBtkU','browserStackGlobals','../../utils/constants','projectName','../../../helpers/test-observability/utils','test_done','teardown','jest-config','driver','modifyCommand','requireModule','OCPbl','failFast','BsuxJ','getTestEnvironment','vlUfO','732861ksgcZP','4yihRsq','shutdown','twqwC','cleanup','taMDS','../../../helpers/test-observability/requestQueueHandler','testPath','3784630yBuTLC','NDXoo','rCRnY','__drivers','LLpFc','resolveTestEnvironment','tTFNf','capabilities','__esModule','requireSeleniumWebdriver','../../../index','31041zLekUn','isBrowserstackInfra','onTestDone','registerListeners','skip','DWOBC','KnMVf','projectConfig','percyCaptureMode','capability','XxgRw','__driversArray','UFuNM','platformCaps','buildName','VnXxs','browserstackPlatformIndex','ZTXLs','skipSessionName','isNotUndefined','__timeout','getInstance','testContext','failFastOptions','Builder','isTrue','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','browserstackAgentV2','default','KTTQS','errors','handleTestEvent','split','browserStackPercyOptions','MVjkU','IRkKl','sessionNameProvided','global','../../../helpers/testhub/utils','UMsFH','FRAMEWORKS','hhzqw','testEnvironmentOptions','40QlnneB','failFastActive','2038098CSWkuQ','Error\x20in\x20fail-fast\x20test_done\x20handler:','McdEJ','quit','isArray','setup','configuration','winstonLogger','percy','shouldProcessEventForTesthub','../test-observability/obsReporter','702975eevxYv','test','hljEH','jest-environment-node','../../../helpers/logger','__platformCaps','browserstackPercyBestPlatform','2140yOOdQr','5|3|1|4|7|0|2|6','308721MJpIVJ','jestConfig','cleanupDrivers','XLKWf','yGqfB','node'];a16_0x340a=function(){return _0x582fbd;};return a16_0x340a();}module['exports']=CustomEnvironment;
1
+ const a16_0xf92b72=a16_0x2e86;(function(_0x540d67,_0x4aa091){const _0x4ae575=a16_0x2e86,_0x44b5ff=_0x540d67();while(!![]){try{const _0x43cabf=parseInt(_0x4ae575(0x156))/0x1+-parseInt(_0x4ae575(0x15b))/0x2+-parseInt(_0x4ae575(0x154))/0x3*(-parseInt(_0x4ae575(0x142))/0x4)+-parseInt(_0x4ae575(0x173))/0x5*(-parseInt(_0x4ae575(0x148))/0x6)+parseInt(_0x4ae575(0x198))/0x7*(parseInt(_0x4ae575(0x163))/0x8)+parseInt(_0x4ae575(0x18a))/0x9+-parseInt(_0x4ae575(0x199))/0xa;if(_0x43cabf===_0x4aa091)break;else _0x44b5ff['push'](_0x44b5ff['shift']());}catch(_0x304821){_0x44b5ff['push'](_0x44b5ff['shift']());}}}(a16_0x1e31,0xd9444));const helper=require(a16_0xf92b72(0x19b)),constants=require(a16_0xf92b72(0x17d)),{isTestObservabilitySession}=require(a16_0xf92b72(0x17f)),RequestQueueHandler=require(a16_0xf92b72(0x14c)),ObservabilityReporter=require(a16_0xf92b72(0x16b)),testhubUtils=require(a16_0xf92b72(0x15a)),logger=require(a16_0xf92b72(0x186))[a16_0xf92b72(0x184)],getTestEnvironment=((()=>{const _0x3f1cf7=a16_0xf92b72,_0x545196={};_0x545196[_0x3f1cf7(0x19d)]='jest-resolve',_0x545196[_0x3f1cf7(0x181)]=_0x3f1cf7(0x175);const _0x44f520=_0x545196;try{const _0x1d9f25=helper[_0x3f1cf7(0x17a)](_0x44f520[_0x3f1cf7(0x19d)]);if(_0x1d9f25[_0x3f1cf7(0x18e)])return _0x1d9f25[_0x3f1cf7(0x18e)];const _0x194057=helper['requireModule'](_0x44f520['bjqsu']);if(_0x194057[_0x3f1cf7(0x14b)])return _0x194057['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x481953=a16_0xf92b72,_0x171b04={'xuBxe':function(_0x20ecba,_0x5a57de){return _0x20ecba(_0x5a57de);},'NkMjR':_0x481953(0x16a),'HJOhn':function(_0xa3b2ae,_0x4b1032){return _0xa3b2ae(_0x4b1032);},'oCutt':_0x481953(0x197)},_0x2d858c=_0x171b04['xuBxe'](getTestEnvironment,{'rootDir':process[_0x481953(0x16c)](),'testEnvironment':process[_0x481953(0x166)][_0x481953(0x13d)]||_0x171b04['NkMjR']});if(!_0x2d858c)return _0x171b04['HJOhn'](_interopRequireDefault,helper[_0x481953(0x17a)](_0x171b04[_0x481953(0x162)]));return _0x171b04[_0x481953(0x149)](_interopRequireDefault,helper['requireModule'](_0x2d858c));})()),_seleniumWebdriver2=((()=>{const _0x3f940e=a16_0xf92b72,_0x3acaa2={'rfGcq':function(_0x542340,_0xd42123){return _0x542340(_0xd42123);}};try{const _0x5bb6ca=helper[_0x3f940e(0x176)]();return helper[_0x3f940e(0x13a)](),_0x3acaa2[_0x3f940e(0x193)](_interopRequireDefault,_0x5bb6ca);}catch{return null;}})());function _interopRequireDefault(_0x4b1f17){const _0x538f98=a16_0xf92b72;return _0x4b1f17&&_0x4b1f17[_0x538f98(0x169)]?_0x4b1f17:{'default':_0x4b1f17};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0xf92b72(0x138)][a16_0xf92b72(0x13c)]:null;function a16_0x2e86(_0x3286c3,_0x828b52){const _0x1e314b=a16_0x1e31();return a16_0x2e86=function(_0x2e86fa,_0x439633){_0x2e86fa=_0x2e86fa-0x12e;let _0x2f2923=_0x1e314b[_0x2e86fa];return _0x2f2923;},a16_0x2e86(_0x3286c3,_0x828b52);}class CustomEnvironment extends _jestUserEnvironment[a16_0xf92b72(0x138)]{constructor(_0x4e041b){const _0x18cfbc=a16_0xf92b72,_0x2dc6fe={'qXqKD':_0x18cfbc(0x15d),'dowLi':function(_0x37cc75,_0x1a8213){return _0x37cc75+_0x1a8213;},'kzIjO':'bstack:options','oaoep':function(_0x5f36ed,_0x23def1){return _0x5f36ed(_0x23def1);},'xvAnt':_0x18cfbc(0x131),'gDVik':_0x18cfbc(0x141),'psJKf':_0x18cfbc(0x150),'VEugz':'browserStackPercyOptions','DwKPa':_0x18cfbc(0x192),'MoaoK':_0x18cfbc(0x139),'WuseB':_0x18cfbc(0x130),'gsJeE':function(_0x13c6f2,_0x3060bd){return _0x13c6f2(_0x3060bd);},'nGQEL':_0x18cfbc(0x190)};super(_0x4e041b),this[_0x18cfbc(0x187)][_0x18cfbc(0x191)]=0x0,this[_0x18cfbc(0x16f)]={};!_0x4e041b['testEnvironmentOptions']&&(_0x4e041b[_0x18cfbc(0x150)]={});if(helper[_0x18cfbc(0x137)]()){_0x4e041b[_0x18cfbc(0x150)]=_0x4e041b[_0x18cfbc(0x145)]?_0x4e041b[_0x18cfbc(0x145)][_0x18cfbc(0x150)]:_0x4e041b[_0x18cfbc(0x150)];_seleniumWebdriver2&&(this[_0x18cfbc(0x1a2)]=new _seleniumWebdriver2[(_0x18cfbc(0x138))][(_0x18cfbc(0x13c))]());this['capability']=_0x4e041b[_0x18cfbc(0x145)]?_0x4e041b['projectConfig']['capability']:_0x4e041b[_0x18cfbc(0x179)],this[_0x18cfbc(0x187)][_0x18cfbc(0x191)]=_0x2dc6fe[_0x18cfbc(0x185)](_0x4e041b[_0x18cfbc(0x150)][_0x18cfbc(0x194)]||0x1388,constants[_0x18cfbc(0x195)]),this[_0x18cfbc(0x182)]=_0x4e041b[_0x18cfbc(0x150)][_0x18cfbc(0x18d)];if(this['failFastOptions']){const _0x3b73dc=this[_0x18cfbc(0x179)][_0x2dc6fe[_0x18cfbc(0x144)]]?.[_0x18cfbc(0x16e)]||'',_0x3ad2ea=this[_0x18cfbc(0x179)][_0x2dc6fe['kzIjO']]?.[_0x18cfbc(0x146)]||'';this[_0x18cfbc(0x18d)]=new(_0x2dc6fe['oaoep'](require,_0x2dc6fe['xvAnt']))(this[_0x18cfbc(0x182)],_0x3b73dc,_0x3ad2ea),this[_0x18cfbc(0x187)][_0x18cfbc(0x1a7)]=![];}helper[_0x18cfbc(0x1a1)](_0x4e041b[_0x18cfbc(0x150)]['retries__'])&&(this[_0x18cfbc(0x187)][_0x18cfbc(0x167)]=_0x4e041b['testEnvironmentOptions'][_0x18cfbc(0x13f)]);}if(testhubUtils[_0x18cfbc(0x164)]()){const _0xde25f2=new ObservabilityReporter();_0xde25f2[_0x18cfbc(0x15e)]();}this[_0x18cfbc(0x187)][_0x18cfbc(0x14d)]={},this[_0x18cfbc(0x16f)]=_0x4e041b['testEnvironmentOptions'],this[_0x18cfbc(0x16f)][_0x18cfbc(0x19e)]=constants[_0x18cfbc(0x13e)]['JEST'],this[_0x18cfbc(0x187)]['browserstackPlatformIndex']=(_0x4e041b['projectConfig']?_0x4e041b['projectConfig'][_0x18cfbc(0x1a3)]:_0x4e041b[_0x18cfbc(0x1a3)])||0x0,this[_0x18cfbc(0x187)][_0x18cfbc(0x168)]=this[_0x18cfbc(0x16f)]&&this[_0x18cfbc(0x16f)][_0x18cfbc(0x19f)]&&Array[_0x18cfbc(0x157)](this[_0x18cfbc(0x16f)][_0x18cfbc(0x19f)])&&this[_0x18cfbc(0x16f)][_0x18cfbc(0x19f)][this[_0x18cfbc(0x187)]['browserstackPlatformIndex']]||{};const _0x379fcb=this['global'][_0x18cfbc(0x1a3)],_0x26455f={...this[_0x18cfbc(0x16f)],'capability':this[_0x18cfbc(0x16f)][_0x18cfbc(0x1a6)]&&Array[_0x18cfbc(0x157)](this[_0x18cfbc(0x16f)]['capabilities'])&&this[_0x18cfbc(0x16f)][_0x18cfbc(0x1a6)][_0x379fcb]||{},'platformCaps':this[_0x18cfbc(0x16f)][_0x18cfbc(0x19f)]&&Array[_0x18cfbc(0x157)](this[_0x18cfbc(0x16f)][_0x18cfbc(0x19f)])&&this['configuration'][_0x18cfbc(0x19f)][_0x379fcb]||{}};delete _0x26455f[_0x18cfbc(0x1a6)],this[_0x18cfbc(0x187)][_0x18cfbc(0x12f)]=_0x26455f;if(_seleniumWebdriver2){const _0x27bcc5=_0x2dc6fe[_0x18cfbc(0x136)][_0x18cfbc(0x1a5)]('|');let _0x3978e6=0x0;while(!![]){switch(_0x27bcc5[_0x3978e6++]){case'0':this['global'][_0x18cfbc(0x192)]=helper[_0x18cfbc(0x18c)](_0x4e041b,[_0x2dc6fe[_0x18cfbc(0x174)],_0x2dc6fe['VEugz'],_0x2dc6fe['DwKPa']]);continue;case'1':helper[_0x18cfbc(0x17b)](this[_0x18cfbc(0x16f)][_0x18cfbc(0x196)])?this[_0x18cfbc(0x187)]['sessionNameProvided']=!![]:this[_0x18cfbc(0x187)][_0x18cfbc(0x140)]=![];continue;case'2':this[_0x18cfbc(0x187)]['percyCaptureMode']=helper[_0x18cfbc(0x18c)](_0x4e041b,[_0x2dc6fe[_0x18cfbc(0x174)],_0x2dc6fe[_0x18cfbc(0x14e)],_0x2dc6fe[_0x18cfbc(0x143)]]);continue;case'3':this['global'][_0x18cfbc(0x14a)]=helper['isTrue'](this[_0x18cfbc(0x16f)][_0x18cfbc(0x135)]);continue;case'4':this['global'][_0x18cfbc(0x13b)]=[];continue;case'5':this[_0x18cfbc(0x187)][_0x18cfbc(0x178)]=async()=>{const _0x13074e=_0x18cfbc;await this[_0x13074e(0x187)][_0x13074e(0x188)][_0x13074e(0x15d)](_0x2dc6fe[_0x13074e(0x159)]);};continue;case'6':this[_0x18cfbc(0x187)][_0x18cfbc(0x130)]=helper['nestedKeyValue'](_0x4e041b,[_0x2dc6fe['psJKf'],_0x2dc6fe[_0x18cfbc(0x14e)],_0x2dc6fe[_0x18cfbc(0x133)]]);continue;case'7':this['global'][_0x18cfbc(0x15c)]=_0x2dc6fe['gsJeE'](require,_0x2dc6fe[_0x18cfbc(0x189)])[_0x18cfbc(0x151)]({...this[_0x18cfbc(0x16f)],'capability':this[_0x18cfbc(0x179)]||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;}break;}}}async[a16_0xf92b72(0x18b)](){const _0x5b536b=a16_0xf92b72;_seleniumWebdriver2&&(await helper[_0x5b536b(0x158)](this[_0x5b536b(0x187)][_0x5b536b(0x18f)]),this[_0x5b536b(0x187)][_0x5b536b(0x15c)][_0x5b536b(0x13c)]=originalBuilder),await RequestQueueHandler['getInstance']()[_0x5b536b(0x19a)]();}async[a16_0xf92b72(0x152)](){}async[a16_0xf92b72(0x134)](_0x48981d,_0x4fddd1){const _0x327b02=a16_0xf92b72,_0x5c5842={};_0x5c5842[_0x327b02(0x170)]=function(_0x2e6d48,_0x3b5507){return _0x2e6d48===_0x3b5507;},_0x5c5842[_0x327b02(0x1a8)]='test_start',_0x5c5842[_0x327b02(0x161)]=function(_0x49fa1b,_0x5a7097){return _0x49fa1b===_0x5a7097;},_0x5c5842['rVBRm']=_0x327b02(0x15f),_0x5c5842[_0x327b02(0x177)]=_0x327b02(0x147),_0x5c5842[_0x327b02(0x1a0)]=_0x327b02(0x17c),_0x5c5842[_0x327b02(0x14f)]=function(_0x1de915,_0x1b2990){return _0x1de915===_0x1b2990;},_0x5c5842[_0x327b02(0x153)]=_0x327b02(0x12e),_0x5c5842[_0x327b02(0x19c)]=_0x327b02(0x18b);const _0x27d29c=_0x5c5842,{name:_0x12ec07}=_0x48981d;if(_0x27d29c[_0x327b02(0x170)](_0x12ec07,_0x27d29c['CVhIg'])){this[_0x327b02(0x187)][_0x327b02(0x16d)]=_0x48981d[_0x327b02(0x17e)];if(_0x27d29c[_0x327b02(0x161)](this['global'][_0x327b02(0x1a7)],!![])){const _0x5a0159=_0x48981d['test'][_0x327b02(0x165)];logger['info'](_0x327b02(0x132)+_0x5a0159),_0x48981d[_0x327b02(0x17e)]['mode']=_0x27d29c['rVBRm'];}}if(this[_0x327b02(0x18d)]&&_0x27d29c[_0x327b02(0x161)](_0x12ec07,_0x27d29c['SrYTw']))try{const _0x68f01e=_0x48981d[_0x327b02(0x17e)][_0x327b02(0x160)][_0x327b02(0x155)](_0x27d29c['dUElH']),_0x5c4aa5=_0x48981d[_0x327b02(0x17e)]['errors'];await this[_0x327b02(0x18d)][_0x327b02(0x180)](_0x68f01e,_0x5c4aa5);const _0x518393=await this['failFast'][_0x327b02(0x183)]();_0x27d29c[_0x327b02(0x170)](this[_0x327b02(0x187)][_0x327b02(0x1a7)],![])&&_0x27d29c['wuAsX'](_0x518393,!![])&&(this[_0x327b02(0x187)][_0x327b02(0x1a7)]=!![]);}catch(_0x1160b8){logger[_0x327b02(0x172)](_0x27d29c[_0x327b02(0x153)],_0x1160b8[_0x327b02(0x1a4)]);}_0x27d29c[_0x327b02(0x170)](_0x12ec07,_0x27d29c[_0x327b02(0x19c)])&&(this[_0x327b02(0x18d)]&&this[_0x327b02(0x18d)]['cleanup']());}}module[a16_0xf92b72(0x171)]=CustomEnvironment;function a16_0x1e31(){const _0x46b871=['capability','requireModule','isTrue','\x20>\x20','../../utils/constants','test','../../../helpers/test-observability/utils','onTestDone','bjqsu','failFastOptions','shouldFailFast','winstonLogger','dowLi','../../../helpers/logger','global','driver','nGQEL','4662387omVUGa','teardown','nestedKeyValue','failFast','resolveTestEnvironment','__driversArray','../../../index','__timeout','browserstackPercyBestPlatform','rfGcq','timeout__','BSTACK_DELTA','skipSessionName','jest-environment-node','2125697OpERsj','31993700TypscR','shutdown','../../../helpers/helper','YGlRF','aJZLi','framework','platformCaps','dUElH','isNotUndefined','builder','browserstackPlatformIndex','message','split','capabilities','failFastActive','CVhIg','Error\x20in\x20fail-fast\x20test_done\x20handler:','jestConfig','percy','../../../helpers/test-orchestration/failfastManager','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','WuseB','handleTestEvent','skipSessionStatus','gDVik','isBrowserstackInfra','default','percyCaptureMode','modifyCommand','__drivers','Builder','BSTACK_JEST_TEST_ENV','FRAMEWORKS','retries__','sessionNameProvided','4|7|0|6|2|1|3|5','722212Dztmji','MoaoK','kzIjO','projectConfig','projectName','test_done','131508cqDxqk','HJOhn','__skipSessionStatus','getTestEnvironment','../../../helpers/test-observability/requestQueueHandler','browserStackGlobals','VEugz','wuAsX','testEnvironmentOptions','browserstackAgentV2','setup','fPilw','9JHKfqf','join','1392821xRtkeU','isArray','cleanupDrivers','qXqKD','../../../helpers/testhub/utils','1078248TdfiWk','__webdriver','quit','registerListeners','skip','testPath','xlbyH','oCutt','40TMpUTE','shouldProcessEventForTesthub','name','env','__jestRetries','__platformCaps','__esModule','node','../test-observability/obsReporter','cwd','testContext','buildName','configuration','DMyap','exports','debug','150pvpevt','psJKf','jest-config','requireSeleniumWebdriver','SrYTw','cleanup'];a16_0x1e31=function(){return _0x46b871;};return a16_0x1e31();}
@@ -1 +1 @@
1
- const a17_0x58a2a6=a17_0x3f04;(function(_0xb7313f,_0x525682){const _0x22a3ec=a17_0x3f04,_0x26aaf9=_0xb7313f();while(!![]){try{const _0x50349e=-parseInt(_0x22a3ec(0x170))/0x1+parseInt(_0x22a3ec(0x174))/0x2+parseInt(_0x22a3ec(0x146))/0x3*(parseInt(_0x22a3ec(0x127))/0x4)+-parseInt(_0x22a3ec(0x191))/0x5*(-parseInt(_0x22a3ec(0x177))/0x6)+-parseInt(_0x22a3ec(0x1a6))/0x7+-parseInt(_0x22a3ec(0x15c))/0x8*(parseInt(_0x22a3ec(0x125))/0x9)+parseInt(_0x22a3ec(0x13b))/0xa;if(_0x50349e===_0x525682)break;else _0x26aaf9['push'](_0x26aaf9['shift']());}catch(_0x24434b){_0x26aaf9['push'](_0x26aaf9['shift']());}}}(a17_0x163a,0xb471a));function a17_0x163a(){const _0x4b48e3=['file','aEczx','isRunning','test_done','afterAll','../../../helpers/logger','jest-circus/build/state.js','SBTcZ','Handling\x20test\x20event\x20for\x20CLI:\x20','4276791mwczoO','setTestUUID','596ItIoNm','removeActiveHook','shutdown','addEventHandler','pgOOL','current_test','../test-observability/test-details','../../v2/browserstackCLI','../../utils/constants','TgEbU','xhlym','markedStatus','setActiveHook','HookRunFinished','tjHEg','nmfYN','length','toString','RHZxK','initialize','4002420yyEgOb','CLI\x20is\x20enabled\x20and\x20running.','ImbfH','winstonLogger','currentHook','tjSLU','state','xKjyq','BEFORE_EACH','AFTER_ALL','keys','3435DIYtvC','PRE','originalTest','testAnalyticsId','afterEach','isCliEnabled','../../../helpers/helper','title','run_describe_finish','hookAnalyticsId','parent','makeSingleTestResult','error','AAPGb','PLAYWRIGHT','bKKQV','Error\x20checking\x20CLI\x20readiness:\x20','CfXcA','HookRunStarted','BIGTy','pid','testStarted','16vLTIJh','beforeEach','NqWha','getTestFramework','getInstance','setFrameworkDetail','TestRunFinished','teardown','BKAcV','jest-circus/build/utils.js','XbksY','wpwni','ndKrg','env','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','createHookData','mDKho','vfIAr','name','sendTestRunEvent','138932tVBBmS','gtHAa','pXAFn','xrysg','2385650NfTWxZ','../../../helpers/testhub/utils','test_skip','1991982zFqgzQ','util','EventHandler','TxqmO','SoNtv','tQdVl','mojiL','RNsQu','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','Handling\x20hook\x20event\x20for\x20CLI:\x20','hook_success','_currentRetry','TEST','trackEvent','__workerDetails','errorsDetailed','\x20for\x20hook\x20type:\x20','hook_failure','Error\x20routing\x20to\x20JestTestFramework:\x20','AFTER_EACH','test','XcUTs','toISOString','duOho','format','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','20HHrpcq','hookUUID','unhandledErrors','hookData','type','cKPoK','GVPKO','zdwOw','BJZDP','createTestFrameworkData','TestRunStarted','jest-circus','PgzsF','uuid','YQfjv','../../v2/cliUtils','iQrsq','HXCgf','MYvZd','vjVXE','EVENT','8842624UbJFiJ','retryOf','removeTestUUID','BEFORE_ALL','nNMwM','failed','HookStarted',':hookAnalyticsId','miyBA','../../../helpers/test-observability/requestQueueHandler','MlkRV','started_at','Hfria','../test-observability/obsReporter','pEzqv','beforeAll','debug','hook','UkxTZ','SRFYJ','../../v2/utils/jest-utils','LOG_REPORT','qrklh','UdNMB','../../v2/state/testFrameworkState','createIdentifierFromJestTest','OGLoQ','forEach','__jestCurrentTestIdentifier','hNpnN','POST','registerListeners','UIkem','peGRm'];a17_0x163a=function(){return _0x4b48e3;};return a17_0x163a();}const {requireModule}=require(a17_0x58a2a6(0x14c)),ObservabilityReporter=require(a17_0x58a2a6(0x1b3)),RequestQueueHandler=require(a17_0x58a2a6(0x1af)),TestDetails=require(a17_0x58a2a6(0x12d)),{patchConsoleLogger,debug}=require('../../../helpers/test-observability/utils'),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require(a17_0x58a2a6(0x175)),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require(a17_0x58a2a6(0x12e)),TestFrameworkState=require(a17_0x58a2a6(0x1be)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x58a2a6(0x1ba)),{v4:uuidv4}=require(a17_0x58a2a6(0x19e)),util=require(a17_0x58a2a6(0x178)),logger=require(a17_0x58a2a6(0x121))[a17_0x58a2a6(0x13e)],{FRAMEWORKS}=require(a17_0x58a2a6(0x12f)),exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js',a17_0x58a2a6(0x19c)),initInitialize=exportsI[a17_0x58a2a6(0x13a)],jestUtils=new JestUtils();async function isCLIReady(){const _0x3c168e=a17_0x58a2a6,_0x9d800d={'BJZDP':_0x3c168e(0x13c),'UkxTZ':function(_0x3a94b5,_0x31d353){return _0x3a94b5(_0x31d353);},'vYpWQ':_0x3c168e(0x1a0)};try{const _0x12cbec=BrowserstackCLI[_0x3c168e(0x160)]();if(_0x12cbec[_0x3c168e(0x14b)]()&&_0x12cbec[_0x3c168e(0x1ca)]())return logger[_0x3c168e(0x1b6)](_0x9d800d[_0x3c168e(0x199)]),!![];const _0x4f41e9=process[_0x3c168e(0x169)]['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x4f41e9&&_0x12cbec[_0x3c168e(0x14b)]()){if(!_0x12cbec['isRunning']())try{const _0x4aaddc=_0x9d800d['UkxTZ'](require,_0x9d800d['vYpWQ']);_0x4aaddc[_0x3c168e(0x161)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x3c168e(0x154)]),await _0x12cbec['bootstrap']();}catch(_0x5b2401){return _0x9d800d[_0x3c168e(0x1b8)](debug,_0x3c168e(0x17f)+util['format'](_0x5b2401)),![];}return _0x12cbec[_0x3c168e(0x1ca)]();}return![];}catch(_0x2f2784){return _0x9d800d[_0x3c168e(0x1b8)](debug,_0x3c168e(0x156)+util[_0x3c168e(0x18f)](_0x2f2784)),![];}}function getTestIdentifierForHook(_0x498f1c){const _0x1c1220=a17_0x58a2a6,_0x5c4d6f={};_0x5c4d6f['RHZxK']=function(_0x2fc33f,_0x5e4da7){return _0x2fc33f===_0x5e4da7;},_0x5c4d6f[_0x1c1220(0x19d)]='beforeEach',_0x5c4d6f['GVPKO']=function(_0x15160a,_0x533760){return _0x15160a===_0x533760;},_0x5c4d6f['zdwOw']='beforeAll';const _0x1863bc=_0x5c4d6f;if(_0x1863bc[_0x1c1220(0x139)](_0x498f1c[_0x1c1220(0x195)],_0x1863bc[_0x1c1220(0x19d)])||_0x1863bc[_0x1c1220(0x197)](_0x498f1c[_0x1c1220(0x195)],_0x1863bc[_0x1c1220(0x198)])){let _0x2f096b=global['__jestCurrentTestIdentifier'];if(!_0x2f096b&&_0x1863bc[_0x1c1220(0x139)](_0x498f1c[_0x1c1220(0x195)],_0x1863bc[_0x1c1220(0x198)])&&_0x498f1c[_0x1c1220(0x150)]){const _0x48e9cc={};_0x48e9cc[_0x1c1220(0x16e)]=_0x498f1c[_0x1c1220(0x150)][_0x1c1220(0x16e)],_0x48e9cc[_0x1c1220(0x150)]=_0x498f1c[_0x1c1220(0x150)][_0x1c1220(0x150)],_0x48e9cc['asyncError']=_0x498f1c['asyncError'],_0x48e9cc[_0x1c1220(0x1c8)]=_0x498f1c['file'];const _0x4f238f=_0x48e9cc;_0x2f096b=jestUtils['createIdentifierFromJestTest'](_0x4f238f);}return _0x2f096b;}return global[_0x1c1220(0x1c2)];}function mapHookTypeToState(_0x5da7f6){const _0x363eee=a17_0x58a2a6,_0x46fecd={};_0x46fecd[_0x363eee(0x1b5)]=TestFrameworkState[_0x363eee(0x1a9)],_0x46fecd[_0x363eee(0x120)]=TestFrameworkState[_0x363eee(0x144)],_0x46fecd[_0x363eee(0x15d)]=TestFrameworkState[_0x363eee(0x143)],_0x46fecd['afterEach']=TestFrameworkState[_0x363eee(0x18a)];const _0x1bc4bc=_0x46fecd;return _0x1bc4bc[_0x5da7f6]||TestFrameworkState[_0x363eee(0x143)];}async function handleHookEventCLI(_0x196370,_0xbd7a8,_0x2346a4){const _0x3e542c=a17_0x58a2a6,_0x55d56a={'miyBA':function(_0x1ecc9f){return _0x1ecc9f();},'wpwni':function(_0x1835ee){return _0x1835ee();},'hNpnN':function(_0xafaf33,_0x51c94a){return _0xafaf33===_0x51c94a;},'mDKho':_0x3e542c(0x158),'SoNtv':function(_0x4b16de,_0xd3c7a6){return _0x4b16de(_0xd3c7a6);},'UdNMB':function(_0x398729,_0x17b173){return _0x398729===_0x17b173;},'HdePB':_0x3e542c(0x134),'IXSjj':_0x3e542c(0x1b7),'vfIAr':function(_0x48e4b1,_0x3c2ef1){return _0x48e4b1===_0x3c2ef1;}};logger[_0x3e542c(0x1b6)](_0x3e542c(0x180)+_0xbd7a8+_0x3e542c(0x187)+_0x196370['type']);try{if(_0x196370['fn']&&_0x196370['fn'][_0x3e542c(0x138)]()['match'](/browserstack internal helper hook/))return;let _0xdc467=_0x196370[_0x3e542c(0x14f)];if(!_0xdc467)_0xdc467=_0x55d56a[_0x3e542c(0x1ae)](uuidv4),_0x196370[_0x3e542c(0x14f)]=_0xdc467;else _0x196370[_0x3e542c(0x132)]&&(_0xdc467=_0x55d56a[_0x3e542c(0x167)](uuidv4),_0x196370[_0x3e542c(0x14f)]=_0xdc467,delete _0x196370[_0x3e542c(0x132)]);_0x55d56a[_0x3e542c(0x1c3)](_0xbd7a8,_0x55d56a[_0x3e542c(0x16c)])&&(_0x196370[_0x3e542c(0x1b1)]=new Date()[_0x3e542c(0x18d)]());const _0x49aaed=_0x55d56a[_0x3e542c(0x17b)](getTestIdentifierForHook,_0x196370);!global[_0x3e542c(0x185)]&&(global[_0x3e542c(0x185)]={});if(_0x55d56a[_0x3e542c(0x1c3)](_0xbd7a8,_0x55d56a[_0x3e542c(0x16c)])){global[_0x3e542c(0x185)][_0x3e542c(0x13f)]={'hookUUID':_0xdc467,'testIdentifier':_0x49aaed,'hookType':_0x196370[_0x3e542c(0x195)],'startedAt':new Date()[_0x3e542c(0x18d)]()};const _0x1f1f0a=BrowserstackCLI['getInstance']()[_0x3e542c(0x15f)]();_0x1f1f0a&&_0x1f1f0a['setActiveHook']&&_0x1f1f0a[_0x3e542c(0x133)](_0x49aaed,_0xdc467,_0x196370[_0x3e542c(0x195)]);}const _0x7237e0=await jestUtils[_0x3e542c(0x16b)](_0x196370,_0xdc467,_0xbd7a8,_0x49aaed);if(!_0x7237e0)return;const _0x39486b=_0x55d56a[_0x3e542c(0x17b)](mapHookTypeToState,_0x196370[_0x3e542c(0x195)]),_0x24e27e=_0x55d56a[_0x3e542c(0x1bd)](_0xbd7a8,_0x55d56a[_0x3e542c(0x16c)])?HookState[_0x3e542c(0x147)]:HookState[_0x3e542c(0x1c4)],_0x4f469d=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x4f469d){const _0x3ab020={};_0x3ab020[_0x3e542c(0x194)]=_0x7237e0,await _0x4f469d[_0x3e542c(0x184)](_0x39486b,_0x24e27e,_0x3ab020);if(_0x55d56a[_0x3e542c(0x1bd)](_0xbd7a8,_0x55d56a['HdePB'])){const _0x3084a9={};_0x3084a9['testUUID']=_0x49aaed,_0x3084a9[_0x3e542c(0x195)]=_0x55d56a['IXSjj'],await _0x4f469d[_0x3e542c(0x184)](TestFrameworkState[_0x3e542c(0x1bb)],HookState[_0x3e542c(0x1c4)],_0x3084a9),global[_0x3e542c(0x185)]&&global['__workerDetails']['currentHook']&&_0x55d56a[_0x3e542c(0x16d)](global[_0x3e542c(0x185)][_0x3e542c(0x13f)][_0x3e542c(0x192)],_0xdc467)&&delete global[_0x3e542c(0x185)][_0x3e542c(0x13f)],_0x4f469d[_0x3e542c(0x128)]&&_0x4f469d[_0x3e542c(0x128)](_0x49aaed,_0xdc467);}}}catch(_0xf9a2e7){logger[_0x3e542c(0x152)]('Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20'+util['format'](_0xf9a2e7));throw _0xf9a2e7;}}function a17_0x3f04(_0x2de5bb,_0x2c3a81){const _0x163af5=a17_0x163a();return a17_0x3f04=function(_0x3f0400,_0x1e6f0d){_0x3f0400=_0x3f0400-0x120;let _0x411ddc=_0x163af5[_0x3f0400];return _0x411ddc;},a17_0x3f04(_0x2de5bb,_0x2c3a81);}async function handleTestEventCLI(_0xa13388,_0x1adb7d,_0x436d18){const _0x237026=a17_0x58a2a6,_0x2582a0={};_0x2582a0[_0x237026(0x12b)]=function(_0x1aed86,_0x3c658b){return _0x1aed86===_0x3c658b;},_0x2582a0[_0x237026(0x17c)]=_0x237026(0x19b),_0x2582a0[_0x237026(0x18e)]=function(_0x4a9dab,_0x43d683){return _0x4a9dab>_0x43d683;},_0x2582a0[_0x237026(0x171)]=function(_0x5a16cc,_0x1f48ae){return _0x5a16cc===_0x1f48ae;},_0x2582a0['nNMwM']=function(_0xf5f0b0,_0x1ac7d0){return _0xf5f0b0&&_0x1ac7d0;},_0x2582a0[_0x237026(0x1b2)]=_0x237026(0x1ab),_0x2582a0['SFWzY']='TestRunFinished',_0x2582a0[_0x237026(0x131)]=function(_0x3436a0,_0x4c8c55){return _0x3436a0&&_0x4c8c55;},_0x2582a0[_0x237026(0x136)]=_0x237026(0x18b);const _0x3b37be=_0x2582a0;logger[_0x237026(0x1b6)](_0x237026(0x124)+_0x1adb7d);try{let _0x138fe8;if(_0x3b37be[_0x237026(0x12b)](_0x1adb7d,_0x3b37be[_0x237026(0x17c)])){_0x138fe8=jestUtils[_0x237026(0x1bf)](_0xa13388),global[_0x237026(0x1c2)]=_0x138fe8,_0xa13388[_0x237026(0x149)]=_0x138fe8,_0xa13388['id']=_0x138fe8,_0xa13388[_0x237026(0x1b1)]=new Date()[_0x237026(0x18d)]();const _0x942268=_0x436d18['current_test'];_0x436d18[_0x237026(0x12c)]=_0xa13388,_0xa13388[_0x237026(0x1a7)]=null;if(_0x3b37be[_0x237026(0x18e)](_0xa13388[_0x237026(0x182)],0x0)&&_0x942268&&_0x3b37be[_0x237026(0x171)](_0x942268[_0x237026(0x14d)],_0xa13388[_0x237026(0x14d)])){_0xa13388[_0x237026(0x1a7)]=_0x942268[_0x237026(0x149)];const _0x2491e=await jestUtils[_0x237026(0x19a)](_0xa13388,_0x138fe8,_0x3b37be[_0x237026(0x17c)]),_0x3ff9b3=BrowserstackCLI[_0x237026(0x160)]()[_0x237026(0x15f)]();if(_0x3b37be['nNMwM'](_0x2491e,_0x3ff9b3)){const _0x58d728={};_0x58d728[_0x237026(0x18b)]=_0x2491e,await _0x3ff9b3['trackEvent'](TestFrameworkState[_0x237026(0x183)],HookState[_0x237026(0x147)],_0x58d728);}_0x942268[_0x237026(0x141)]=_0x3b37be[_0x237026(0x1b2)];const _0x52aaa5=await jestUtils['createTestFrameworkData'](_0x942268,_0x942268[_0x237026(0x149)],_0x3b37be['SFWzY']);if(_0x3b37be[_0x237026(0x1aa)](_0x52aaa5,_0x3ff9b3)){const _0x5d04f6={};_0x5d04f6[_0x237026(0x18b)]=_0x52aaa5,await _0x3ff9b3[_0x237026(0x184)](TestFrameworkState['TEST'],HookState[_0x237026(0x1c4)],_0x5d04f6);}}else{const _0x515f7d=await jestUtils[_0x237026(0x19a)](_0xa13388,_0x138fe8,_0x3b37be['tQdVl']),_0x142f3a=BrowserstackCLI[_0x237026(0x160)]()[_0x237026(0x15f)]();if(_0x3b37be[_0x237026(0x131)](_0x515f7d,_0x142f3a)){const _0x3bb01b={};_0x3bb01b[_0x237026(0x18b)]=_0x515f7d,await _0x142f3a['trackEvent'](TestFrameworkState[_0x237026(0x183)],HookState[_0x237026(0x147)],_0x3bb01b);}}}else{_0x138fe8=_0xa13388[_0x237026(0x149)]||_0xa13388['id']||global[_0x237026(0x1c2)];const _0x142f33=await jestUtils[_0x237026(0x19a)](_0xa13388,_0x138fe8,_0x1adb7d),_0x3a1d95=BrowserstackCLI[_0x237026(0x160)]()[_0x237026(0x15f)]();if(_0x3b37be[_0x237026(0x1aa)](_0x142f33,_0x3a1d95)){const _0x3074a1={};_0x3074a1['test']=_0x142f33,_0x3074a1[_0x237026(0x148)]=_0xa13388,await _0x3a1d95['trackEvent'](TestFrameworkState[_0x237026(0x183)],HookState[_0x237026(0x1c4)],_0x3074a1);const _0x4eb289={};_0x4eb289['testUUID']=_0x138fe8,_0x4eb289[_0x237026(0x195)]=_0x3b37be[_0x237026(0x136)],await _0x3a1d95['trackEvent'](TestFrameworkState[_0x237026(0x1bb)],HookState[_0x237026(0x1c4)],_0x4eb289);}}}catch(_0x31e79e){logger[_0x237026(0x152)](_0x237026(0x190)+util[_0x237026(0x18f)](_0x31e79e));throw _0x31e79e;}}exportsI[a17_0x58a2a6(0x13a)]=(..._0x3fd20d)=>{const _0x1f65cc=a17_0x58a2a6,_0x5c1147={'xrysg':function(_0x3bc30b,_0x5648c2,_0x34ff9b){return _0x3bc30b(_0x5648c2,_0x34ff9b);},'CfXcA':_0x1f65cc(0x165),'TgEbU':_0x1f65cc(0x19c),'fyLvq':'hook_start','AAPGb':function(_0x4175e3,_0x5bcbe8){return _0x4175e3(_0x5bcbe8);},'YQfjv':function(_0x2c3577){return _0x2c3577();},'HXCgf':function(_0x343e83,_0x4f6d88,_0x242596,_0x25e9ac){return _0x343e83(_0x4f6d88,_0x242596,_0x25e9ac);},'bKKQV':_0x1f65cc(0x158),'MlkRV':function(_0x582210,_0x489674){return _0x582210(_0x489674);},'Avkmd':_0x1f65cc(0x181),'SRFYJ':function(_0x519568,_0x1bb60e,_0x2f4002,_0xfe69ed){return _0x519568(_0x1bb60e,_0x2f4002,_0xfe69ed);},'UIkem':_0x1f65cc(0x134),'kucAK':function(_0x5e904a,_0x32f687){return _0x5e904a(_0x32f687);},'pEzqv':'hook_failure','ndKrg':_0x1f65cc(0x1b5),'ApDga':_0x1f65cc(0x15d),'XbksY':_0x1f65cc(0x14a),'BKAcV':function(_0x2fe693,_0x33e0aa){return _0x2fe693>_0x33e0aa;},'MYvZd':function(_0x43dcff){return _0x43dcff();},'OGLoQ':function(_0x45f66a,_0xc57379){return _0x45f66a(_0xc57379);},'ImbfH':'test_start','XcUTs':function(_0x40005a){return _0x40005a();},'SDAXi':'TestRunStarted','tjHEg':function(_0x2515a9,_0x145918){return _0x2515a9(_0x145918);},'dNULw':_0x1f65cc(0x1cb),'RNsQu':function(_0x45afb0,_0xfb14c6){return _0x45afb0(_0xfb14c6);},'iQrsq':function(_0x4fdd41){return _0x4fdd41();},'mojiL':function(_0x4def8c){return _0x4def8c();},'TxqmO':_0x1f65cc(0x162),'vjVXE':_0x1f65cc(0x176),'DBglh':function(_0x1306bf){return _0x1306bf();},'BIGTy':function(_0x30172a){return _0x30172a();},'CfmWE':function(_0x3daba5,_0x1ff802,_0x434c90,_0x3cb4bf){return _0x3daba5(_0x1ff802,_0x434c90,_0x3cb4bf);},'aEczx':'TestRunSkipped','pXAFn':_0x1f65cc(0x14e),'peGRm':_0x1f65cc(0x163),'cKPoK':function(_0x17b50f){return _0x17b50f();},'jVIxA':function(_0x1c8d89){return _0x1c8d89();},'qrklh':_0x1f65cc(0x122),'NqWha':function(_0x25de5b,_0x405f96,_0x2f73b8){return _0x25de5b(_0x405f96,_0x2f73b8);},'xKjyq':_0x1f65cc(0x179),'tjSLU':function(_0x5c3e06,_0x3fdaa3){return _0x5c3e06(_0x3fdaa3);}};try{const _0x55dd05=new ObservabilityReporter();_0x5c1147[_0x1f65cc(0x196)](shouldProcessEventForTesthub)&&(_0x5c1147['jVIxA'](patchConsoleLogger),_0x55dd05[_0x1f65cc(0x1c5)]()),_0x5c1147[_0x1f65cc(0x1a3)](shouldProcessEventForTesthub)&&_0x5c1147[_0x1f65cc(0x173)](requireModule,_0x5c1147[_0x1f65cc(0x1bc)],_0x5c1147['TgEbU'])[_0x1f65cc(0x12a)](_0x5c1147[_0x1f65cc(0x15e)](o11yErrorHandler,async(_0x1cf780,_0x367446)=>{const _0x267071=_0x1f65cc,_0x4e6ddf=_0x5c1147[_0x267071(0x173)](requireModule,_0x5c1147[_0x267071(0x157)],_0x5c1147[_0x267071(0x130)])[_0x267071(0x151)];switch(_0x1cf780[_0x267071(0x16e)]){case _0x5c1147['fyLvq']:if(_0x5c1147[_0x267071(0x153)](shouldProcessEventForTesthub,testHubConstants[_0x267071(0x1a5)][_0x267071(0x1ac)])){if(_0x1cf780[_0x267071(0x1b7)]['fn']&&_0x1cf780[_0x267071(0x1b7)]['fn']['toString']()['match'](/browserstack internal helper hook/))break;if(BrowserstackCLI[_0x267071(0x160)]()[_0x267071(0x14b)]()&&await _0x5c1147[_0x267071(0x19f)](isCLIReady))try{await _0x5c1147[_0x267071(0x1a2)](handleHookEventCLI,_0x1cf780[_0x267071(0x1b7)],_0x5c1147[_0x267071(0x155)],_0x367446);break;}catch(_0x1dc0b4){_0x5c1147[_0x267071(0x1b0)](debug,_0x267071(0x189)+util['format'](_0x1dc0b4));}if(!_0x1cf780[_0x267071(0x1b7)][_0x267071(0x14f)]){const _0x2f2776=TestDetails[_0x267071(0x126)](process[_0x267071(0x15a)]+':hookAnalyticsId');_0x1cf780[_0x267071(0x1b7)]['hookAnalyticsId']=_0x2f2776;}else _0x1cf780[_0x267071(0x1b7)][_0x267071(0x132)]&&(_0x1cf780[_0x267071(0x1b7)]['hookAnalyticsId']=TestDetails['setTestUUID'](process['pid']+':hookAnalyticsId'),delete _0x1cf780[_0x267071(0x1b7)][_0x267071(0x132)]);_0x1cf780[_0x267071(0x1b7)][_0x267071(0x1b1)]=new Date()[_0x267071(0x18d)](),await _0x55dd05[_0x267071(0x16f)](_0x1cf780[_0x267071(0x1b7)],undefined,![],_0x5c1147[_0x267071(0x155)]);}break;case _0x5c1147['Avkmd']:if(_0x5c1147[_0x267071(0x1b0)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookFinished'])){if(BrowserstackCLI[_0x267071(0x160)]()['isCliEnabled']()&&await _0x5c1147[_0x267071(0x19f)](isCLIReady))try{await _0x5c1147[_0x267071(0x1b9)](handleHookEventCLI,_0x1cf780['hook'],_0x5c1147[_0x267071(0x1c6)],_0x367446);break;}catch(_0x58ce93){_0x5c1147['kucAK'](debug,_0x267071(0x189)+util[_0x267071(0x18f)](_0x58ce93));}await _0x55dd05[_0x267071(0x16f)](_0x1cf780[_0x267071(0x1b7)],undefined,![],_0x5c1147[_0x267071(0x1c6)]),TestDetails[_0x267071(0x1a8)](process[_0x267071(0x15a)]+_0x267071(0x1ad));}break;case _0x5c1147[_0x267071(0x1b4)]:[_0x5c1147[_0x267071(0x168)],_0x5c1147['ApDga'],_0x5c1147[_0x267071(0x166)]]['includes'](_0x1cf780[_0x267071(0x1b7)][_0x267071(0x195)])&&(_0x55dd05[_0x267071(0x188)]=_0x1cf780[_0x267071(0x1b7)]['type']),_0x367446['unhandledErrors']&&_0x5c1147[_0x267071(0x164)](_0x367446[_0x267071(0x193)][_0x267071(0x137)],0x0)&&(_0x1cf780[_0x267071(0x1b7)][_0x267071(0x186)]=[_0x367446[_0x267071(0x193)][0x0][0x0]]);if(_0x5c1147[_0x267071(0x1b0)](shouldProcessEventForTesthub,testHubConstants[_0x267071(0x1a5)]['HookFinished'])){if(BrowserstackCLI[_0x267071(0x160)]()['isCliEnabled']()&&await _0x5c1147[_0x267071(0x1a3)](isCLIReady))try{await _0x5c1147[_0x267071(0x1b9)](handleHookEventCLI,_0x1cf780[_0x267071(0x1b7)],_0x5c1147[_0x267071(0x1c6)],_0x367446);break;}catch(_0x4f816f){_0x5c1147[_0x267071(0x1c0)](debug,_0x267071(0x189)+util[_0x267071(0x18f)](_0x4f816f));}await _0x55dd05[_0x267071(0x16f)](_0x1cf780['hook'],undefined,![],_0x5c1147['UIkem']),TestDetails['removeTestUUID'](process['pid']+':hookAnalyticsId');}break;case _0x5c1147[_0x267071(0x13d)]:if(_0x5c1147[_0x267071(0x18c)](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x267071(0x160)]()[_0x267071(0x14b)]()&&await _0x5c1147[_0x267071(0x1a3)](isCLIReady))try{await _0x5c1147[_0x267071(0x1b9)](handleTestEventCLI,_0x1cf780[_0x267071(0x18b)],_0x5c1147['SDAXi'],_0x55dd05);break;}catch(_0x28d2be){_0x5c1147[_0x267071(0x135)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x28d2be));}await _0x55dd05[_0x267071(0x15b)](_0x1cf780[_0x267071(0x18b)]);}break;case _0x5c1147['dNULw']:_0x1cf780[_0x267071(0x18b)]={..._0x5c1147[_0x267071(0x17e)](_0x4e6ddf,_0x1cf780[_0x267071(0x18b)]),..._0x1cf780[_0x267071(0x18b)]};if(_0x5c1147[_0x267071(0x1a1)](shouldProcessEventForTesthub)){if(!_0x1cf780[_0x267071(0x18b)][_0x267071(0x132)]){_0x1cf780[_0x267071(0x18b)][_0x267071(0x132)]=!![];if(BrowserstackCLI[_0x267071(0x160)]()[_0x267071(0x14b)]()&&await _0x5c1147[_0x267071(0x17d)](isCLIReady))try{await _0x5c1147[_0x267071(0x1b9)](handleTestEventCLI,_0x1cf780['test'],_0x5c1147[_0x267071(0x17a)],_0x55dd05);break;}catch(_0x53510a){_0x5c1147[_0x267071(0x17e)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x267071(0x18f)](_0x53510a));}await _0x55dd05['sendTestRunEvent'](_0x1cf780[_0x267071(0x18b)]);}}break;case _0x5c1147[_0x267071(0x1a4)]:_0x1cf780[_0x267071(0x18b)]={..._0x5c1147['MlkRV'](_0x4e6ddf,_0x1cf780['test']),..._0x1cf780[_0x267071(0x18b)]};if(_0x5c1147['DBglh'](shouldProcessEventForTesthub)){if(!_0x1cf780[_0x267071(0x18b)][_0x267071(0x132)]){_0x1cf780[_0x267071(0x18b)]['markedStatus']=!![];if(BrowserstackCLI['getInstance']()[_0x267071(0x14b)]()&&await _0x5c1147[_0x267071(0x159)](isCLIReady))try{await _0x5c1147['CfmWE'](handleTestEventCLI,_0x1cf780[_0x267071(0x18b)],_0x5c1147[_0x267071(0x1c9)],_0x55dd05);break;}catch(_0x5cc826){_0x5c1147['RNsQu'](debug,_0x267071(0x189)+util['format'](_0x5cc826));}await _0x55dd05['sendTestRunEvent'](_0x1cf780['test'],undefined,![],_0x5c1147[_0x267071(0x1c9)]);}}break;case _0x5c1147[_0x267071(0x172)]:_0x55dd05['hook_failure']=null;break;case _0x5c1147[_0x267071(0x1c7)]:await RequestQueueHandler[_0x267071(0x160)]()[_0x267071(0x129)](),process['removeAllListeners']();break;default:}},_0x5c1147[_0x1f65cc(0x142)]));}catch(_0x1fd413){_0x5c1147[_0x1f65cc(0x140)](debug,_0x1f65cc(0x16a)+_0x1fd413);}return _0x5c1147[_0x1f65cc(0x153)](initInitialize,..._0x3fd20d);};try{Object[a17_0x58a2a6(0x145)](exportsI)[a17_0x58a2a6(0x1c1)](_0xe67dec=>{const _0x46f84c=a17_0x58a2a6,_0x1b639a={'SBTcZ':function(_0x583545,_0x7bbb5c){return _0x583545(_0x7bbb5c);}};try{exports&&(exports[_0xe67dec]=exportsI[_0xe67dec]);}catch(_0x5f1e45){_0x1b639a[_0x46f84c(0x123)](debug,'Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20'+_0x5f1e45);}});}catch(a17_0x5e0cd5){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x5e0cd5);}
1
+ const a17_0xffd5ab=a17_0x2e38;(function(_0x710c7d,_0x1880ab){const _0x574237=a17_0x2e38,_0x314095=_0x710c7d();while(!![]){try{const _0x1fa195=parseInt(_0x574237(0x15c))/0x1+parseInt(_0x574237(0xf5))/0x2+-parseInt(_0x574237(0x15a))/0x3+parseInt(_0x574237(0xc7))/0x4*(parseInt(_0x574237(0xd0))/0x5)+parseInt(_0x574237(0xf8))/0x6*(parseInt(_0x574237(0x11b))/0x7)+-parseInt(_0x574237(0xe5))/0x8*(parseInt(_0x574237(0x117))/0x9)+-parseInt(_0x574237(0x109))/0xa;if(_0x1fa195===_0x1880ab)break;else _0x314095['push'](_0x314095['shift']());}catch(_0x59943c){_0x314095['push'](_0x314095['shift']());}}}(a17_0x4285,0x59397));function a17_0x2e38(_0x2d025f,_0x3edde1){const _0x4285ba=a17_0x4285();return a17_0x2e38=function(_0x2e384c,_0x48181a){_0x2e384c=_0x2e384c-0xb8;let _0x2cfc05=_0x4285ba[_0x2e384c];return _0x2cfc05;},a17_0x2e38(_0x2d025f,_0x3edde1);}const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require(a17_0xffd5ab(0x11d)),RequestQueueHandler=require(a17_0xffd5ab(0xdb)),TestDetails=require('../test-observability/test-details'),{patchConsoleLogger,debug}=require(a17_0xffd5ab(0xc3)),{o11yErrorHandler}=require(a17_0xffd5ab(0x10b)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a17_0xffd5ab(0xca)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0xffd5ab(0x11f)),{v4:uuidv4}=require(a17_0xffd5ab(0xef)),util=require(a17_0xffd5ab(0x122)),logger=require('../../../helpers/logger')['winstonLogger'],{FRAMEWORKS}=require(a17_0xffd5ab(0xec)),exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js',a17_0xffd5ab(0xdc)),initInitialize=exportsI[a17_0xffd5ab(0xc5)],jestUtils=new JestUtils();async function isCLIReady(){const _0xcbee23=a17_0xffd5ab,_0x4ebd87={'Ceiro':_0xcbee23(0xfa),'jdVzr':function(_0x14d1b4,_0x1e40ec){return _0x14d1b4(_0x1e40ec);},'IHfGF':_0xcbee23(0xf9),'QBUuh':function(_0x5ac435,_0x2d5511){return _0x5ac435(_0x2d5511);},'dbAhZ':function(_0x1ecd1b,_0xd0fee7){return _0x1ecd1b(_0xd0fee7);}};try{const _0x382bd8=BrowserstackCLI[_0xcbee23(0xf0)]();if(_0x382bd8['isCliEnabled']()&&_0x382bd8[_0xcbee23(0x104)]())return logger[_0xcbee23(0x142)](_0x4ebd87[_0xcbee23(0x127)]),!![];const _0x37f6ad=process[_0xcbee23(0xbc)][_0xcbee23(0xe0)];if(_0x37f6ad&&_0x382bd8[_0xcbee23(0x161)]()){if(!_0x382bd8[_0xcbee23(0x104)]())try{const _0x2f0d40=_0x4ebd87[_0xcbee23(0x121)](require,_0x4ebd87[_0xcbee23(0x100)]);_0x2f0d40[_0xcbee23(0x143)](FRAMEWORKS[_0xcbee23(0x126)],FRAMEWORKS[_0xcbee23(0xfc)]),await _0x382bd8['bootstrap']();}catch(_0x3bc134){return _0x4ebd87[_0xcbee23(0xba)](debug,_0xcbee23(0x116)+util[_0xcbee23(0xbd)](_0x3bc134)),![];}return _0x382bd8[_0xcbee23(0x104)]();}return![];}catch(_0x4330c9){return _0x4ebd87['dbAhZ'](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0xcbee23(0xbd)](_0x4330c9)),![];}}function a17_0x4285(){const _0x1fa6a2=['603iDrqeE','hVMdQ','afterAll','wuMod','7CVzocj','currentHook','../test-observability/obsReporter','title','../../v2/utils/jest-utils','Ctjhj','jdVzr','util','hookAnalyticsId','removeTestUUID','removeAllListeners','JEST','Ceiro','TestRunSkipped','HDPqj','started_at','hookUUID','LUmnN','HookRunStarted','retryOf','UXSVf','tUDBp','sendTestRunEvent','hook_failure','hook_start','YeuQj','makeSingleTestResult','error','ebleC','__jestCurrentTestIdentifier','MCVNj','unhandledErrors','originalTest','HookFinished','beforeEach','iJXIX','jest-circus/build/utils.js','TestRunFinished','tVAZT','debug','setFrameworkDetail','keys','test','hook','Handling\x20test\x20event\x20for\x20CLI:\x20','__workerDetails','ruceU','teardown','jfFVi','UxAXQ','HookRunFinished','type','WmtgN','testAnalyticsId','TEST','trackEvent','toString','uWNtJ','yXavy','MIGQg','VfVly','hvBwc','utUqW','28158Hjtsnf','YuKFt','349016DZqIhS','toISOString','bYgBi','nvqbD','setTestUUID','isCliEnabled','\x20for\x20hook\x20type:\x20','POST','QRLaF','QBUuh','EVENT','env','format','LRURq','testStarted','Error\x20routing\x20to\x20JestTestFramework:\x20','UdChS','TestRunStarted','../../../helpers/test-observability/utils','flsPv','initialize','pid','1718964wjLRMk','AbXoy','Iqvsm','../../v2/state/testFrameworkState','xfElJ','createIdentifierFromJestTest','testUUID','EventHandler','removeActiveHook','5EuQDHs','createTestFrameworkData','OdOQp','WNVDH','current_test','file','test_done','setActiveHook','forEach','ZspZZ','bPqvs','../../../helpers/test-observability/requestQueueHandler','jest-circus','registerListeners','BEFORE_ALL','jest-circus/build/state.js','BROWSERSTACK_CLI_BIN_SESSION_ID','includes','errorsDetailed','AFTER_EACH','afterEach','21608vXuOps','parent','LOG_REPORT','FxaaK','jriAJ','xhPSv','EBJmN','../../utils/constants','name','RnSIr','uuid','getInstance','QErLd','orJIF','NKWvM','YpdRM','623516dunveq','test_start','run_describe_finish','3640566CEVlKZ','../../v2/cliUtils','CLI\x20is\x20enabled\x20and\x20running.','asyncError','PLAYWRIGHT','BEFORE_EACH','ZGxML','getTestFramework','IHfGF','failed','SdAgz','hFExU','isRunning','markedStatus','YivoB','nTwyt','SskpC','11414600rYuIrL','PRE','../../../helpers/test-observability/error-handler','AFTER_ALL','NaOuD','createHookData','RiZvi','length','_currentRetry','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','hJJgd',':hookAnalyticsId','addEventHandler','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'];a17_0x4285=function(){return _0x1fa6a2;};return a17_0x4285();}function getTestIdentifierForHook(_0xb9743f){const _0x282413=a17_0xffd5ab,_0x3f9442={};_0x3f9442[_0x282413(0x118)]=function(_0x1a845d,_0x2895f0){return _0x1a845d===_0x2895f0;},_0x3f9442[_0x282413(0x14c)]='beforeEach',_0x3f9442['QRLaF']=function(_0x5bd8fc,_0x13f448){return _0x5bd8fc===_0x13f448;},_0x3f9442['MCVNj']='beforeAll';const _0x58cafc=_0x3f9442;if(_0x58cafc[_0x282413(0x118)](_0xb9743f[_0x282413(0x14e)],_0x58cafc[_0x282413(0x14c)])||_0x58cafc['QRLaF'](_0xb9743f['type'],_0x58cafc[_0x282413(0x139)])){let _0x116b9e=global['__jestCurrentTestIdentifier'];if(!_0x116b9e&&_0x58cafc[_0x282413(0xb9)](_0xb9743f['type'],_0x58cafc[_0x282413(0x139)])&&_0xb9743f[_0x282413(0xe6)]){const _0x5d39a4={};_0x5d39a4[_0x282413(0xed)]=_0xb9743f[_0x282413(0xe6)]['name'],_0x5d39a4['parent']=_0xb9743f[_0x282413(0xe6)][_0x282413(0xe6)],_0x5d39a4[_0x282413(0xfb)]=_0xb9743f[_0x282413(0xfb)],_0x5d39a4[_0x282413(0xd5)]=_0xb9743f[_0x282413(0xd5)];const _0x21022f=_0x5d39a4;_0x116b9e=jestUtils[_0x282413(0xcc)](_0x21022f);}return _0x116b9e;}return global[_0x282413(0x138)];}function mapHookTypeToState(_0x572819){const _0x67c722=a17_0xffd5ab,_0x1358de={};_0x1358de['beforeAll']=TestFrameworkState[_0x67c722(0xde)],_0x1358de[_0x67c722(0x119)]=TestFrameworkState[_0x67c722(0x10c)],_0x1358de[_0x67c722(0x13d)]=TestFrameworkState[_0x67c722(0xfd)],_0x1358de[_0x67c722(0xe4)]=TestFrameworkState[_0x67c722(0xe3)];const _0x288d90=_0x1358de;return _0x288d90[_0x572819]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x6a8eff,_0x5cf11d,_0x321687){const _0x2f3a78=a17_0xffd5ab,_0x3055bc={'utUqW':function(_0x52a330){return _0x52a330();},'bYgBi':function(_0xbec92e,_0x121d42){return _0xbec92e===_0x121d42;},'YuKFt':'HookRunStarted','UdChS':function(_0x4b78df,_0x287d15){return _0x4b78df(_0x287d15);},'gLWrI':function(_0x35f52b,_0x2ea99f){return _0x35f52b(_0x2ea99f);},'pCShc':'HookRunFinished','AbXoy':_0x2f3a78(0x146),'nvqbD':function(_0x165368,_0x11702d){return _0x165368===_0x11702d;}};logger[_0x2f3a78(0x142)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x5cf11d+_0x2f3a78(0x162)+_0x6a8eff['type']);try{if(_0x6a8eff['fn']&&_0x6a8eff['fn'][_0x2f3a78(0x153)]()['match'](/browserstack internal helper hook/))return;let _0x3425b9=_0x6a8eff['hookAnalyticsId'];if(!_0x3425b9)_0x3425b9=_0x3055bc[_0x2f3a78(0x159)](uuidv4),_0x6a8eff[_0x2f3a78(0x123)]=_0x3425b9;else _0x6a8eff[_0x2f3a78(0x105)]&&(_0x3425b9=_0x3055bc['utUqW'](uuidv4),_0x6a8eff[_0x2f3a78(0x123)]=_0x3425b9,delete _0x6a8eff[_0x2f3a78(0x105)]);_0x3055bc['bYgBi'](_0x5cf11d,_0x3055bc[_0x2f3a78(0x15b)])&&(_0x6a8eff['started_at']=new Date()[_0x2f3a78(0x15d)]());const _0x443481=_0x3055bc[_0x2f3a78(0xc1)](getTestIdentifierForHook,_0x6a8eff);!global[_0x2f3a78(0x148)]&&(global[_0x2f3a78(0x148)]={});if(_0x3055bc['bYgBi'](_0x5cf11d,_0x3055bc['YuKFt'])){global[_0x2f3a78(0x148)][_0x2f3a78(0x11c)]={'hookUUID':_0x3425b9,'testIdentifier':_0x443481,'hookType':_0x6a8eff[_0x2f3a78(0x14e)],'startedAt':new Date()[_0x2f3a78(0x15d)]()};const _0x5da064=BrowserstackCLI['getInstance']()['getTestFramework']();_0x5da064&&_0x5da064[_0x2f3a78(0xd7)]&&_0x5da064['setActiveHook'](_0x443481,_0x3425b9,_0x6a8eff[_0x2f3a78(0x14e)]);}const _0xd00aea=await jestUtils[_0x2f3a78(0x10e)](_0x6a8eff,_0x3425b9,_0x5cf11d,_0x443481);if(!_0xd00aea)return;const _0x1448de=_0x3055bc['gLWrI'](mapHookTypeToState,_0x6a8eff[_0x2f3a78(0x14e)]),_0x37cc82=_0x3055bc[_0x2f3a78(0x15e)](_0x5cf11d,_0x3055bc[_0x2f3a78(0x15b)])?HookState[_0x2f3a78(0x10a)]:HookState[_0x2f3a78(0xb8)],_0x115f4c=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x115f4c){const _0x15e36c={};_0x15e36c['hookData']=_0xd00aea,await _0x115f4c[_0x2f3a78(0x152)](_0x1448de,_0x37cc82,_0x15e36c);if(_0x3055bc[_0x2f3a78(0x15e)](_0x5cf11d,_0x3055bc['pCShc'])){const _0x5d314f={};_0x5d314f['testUUID']=_0x443481,_0x5d314f['type']=_0x3055bc[_0x2f3a78(0xc8)],await _0x115f4c[_0x2f3a78(0x152)](TestFrameworkState[_0x2f3a78(0xe7)],HookState['POST'],_0x5d314f),global[_0x2f3a78(0x148)]&&global[_0x2f3a78(0x148)][_0x2f3a78(0x11c)]&&_0x3055bc[_0x2f3a78(0x15f)](global[_0x2f3a78(0x148)][_0x2f3a78(0x11c)][_0x2f3a78(0x12b)],_0x3425b9)&&delete global['__workerDetails'][_0x2f3a78(0x11c)],_0x115f4c[_0x2f3a78(0xcf)]&&_0x115f4c[_0x2f3a78(0xcf)](_0x443481,_0x3425b9);}}}catch(_0x93d773){logger[_0x2f3a78(0x136)]('Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20'+util[_0x2f3a78(0xbd)](_0x93d773));throw _0x93d773;}}async function handleTestEventCLI(_0x35ce2b,_0x38c9ea,_0x11bdd8){const _0x5b1fa0=a17_0xffd5ab,_0x2fbf76={};_0x2fbf76['AYnLc']=function(_0x4e424d,_0x44792e){return _0x4e424d===_0x44792e;},_0x2fbf76[_0x5b1fa0(0xf1)]=_0x5b1fa0(0xc2),_0x2fbf76[_0x5b1fa0(0xbe)]=function(_0x457554,_0x263c52){return _0x457554>_0x263c52;},_0x2fbf76[_0x5b1fa0(0x107)]=function(_0x37a3a8,_0x56d6ea){return _0x37a3a8===_0x56d6ea;},_0x2fbf76[_0x5b1fa0(0xf3)]=function(_0x340e3b,_0x552739){return _0x340e3b&&_0x552739;},_0x2fbf76[_0x5b1fa0(0x149)]=_0x5b1fa0(0x101),_0x2fbf76[_0x5b1fa0(0x14f)]=_0x5b1fa0(0x140),_0x2fbf76['EBJmN']=function(_0x37d23f,_0x5816f0){return _0x37d23f&&_0x5816f0;},_0x2fbf76[_0x5b1fa0(0xea)]=function(_0x179f07,_0x1b938a){return _0x179f07&&_0x1b938a;},_0x2fbf76[_0x5b1fa0(0xe8)]='test';const _0x5ed30f=_0x2fbf76;logger[_0x5b1fa0(0x142)](_0x5b1fa0(0x147)+_0x38c9ea);try{let _0x23142f;if(_0x5ed30f['AYnLc'](_0x38c9ea,_0x5ed30f[_0x5b1fa0(0xf1)])){_0x23142f=jestUtils[_0x5b1fa0(0xcc)](_0x35ce2b),global[_0x5b1fa0(0x138)]=_0x23142f,_0x35ce2b[_0x5b1fa0(0x150)]=_0x23142f,_0x35ce2b['id']=_0x23142f,_0x35ce2b[_0x5b1fa0(0x12a)]=new Date()['toISOString']();const _0x2c8607=_0x11bdd8[_0x5b1fa0(0xd4)];_0x11bdd8[_0x5b1fa0(0xd4)]=_0x35ce2b,_0x35ce2b[_0x5b1fa0(0x12e)]=null;if(_0x5ed30f[_0x5b1fa0(0xbe)](_0x35ce2b[_0x5b1fa0(0x111)],0x0)&&_0x2c8607&&_0x5ed30f[_0x5b1fa0(0x107)](_0x2c8607[_0x5b1fa0(0x11e)],_0x35ce2b['title'])){_0x35ce2b[_0x5b1fa0(0x12e)]=_0x2c8607[_0x5b1fa0(0x150)];const _0x16f5b8=await jestUtils['createTestFrameworkData'](_0x35ce2b,_0x23142f,_0x5ed30f['QErLd']),_0x1092fd=BrowserstackCLI['getInstance']()[_0x5b1fa0(0xff)]();if(_0x5ed30f['NKWvM'](_0x16f5b8,_0x1092fd)){const _0x1a7fe6={};_0x1a7fe6[_0x5b1fa0(0x145)]=_0x16f5b8,await _0x1092fd['trackEvent'](TestFrameworkState['TEST'],HookState['PRE'],_0x1a7fe6);}_0x2c8607['state']=_0x5ed30f[_0x5b1fa0(0x149)];const _0x52d138=await jestUtils['createTestFrameworkData'](_0x2c8607,_0x2c8607[_0x5b1fa0(0x150)],_0x5ed30f[_0x5b1fa0(0x14f)]);if(_0x5ed30f[_0x5b1fa0(0xeb)](_0x52d138,_0x1092fd)){const _0x5bd02d={};_0x5bd02d[_0x5b1fa0(0x145)]=_0x52d138,await _0x1092fd[_0x5b1fa0(0x152)](TestFrameworkState[_0x5b1fa0(0x151)],HookState[_0x5b1fa0(0xb8)],_0x5bd02d);}}else{const _0x5c1d69=await jestUtils[_0x5b1fa0(0xd1)](_0x35ce2b,_0x23142f,_0x5ed30f[_0x5b1fa0(0xf1)]),_0x4d286e=BrowserstackCLI['getInstance']()[_0x5b1fa0(0xff)]();if(_0x5ed30f['xhPSv'](_0x5c1d69,_0x4d286e)){const _0x2305ac={};_0x2305ac['test']=_0x5c1d69,await _0x4d286e['trackEvent'](TestFrameworkState[_0x5b1fa0(0x151)],HookState[_0x5b1fa0(0x10a)],_0x2305ac);}}}else{_0x23142f=_0x35ce2b[_0x5b1fa0(0x150)]||_0x35ce2b['id']||global['__jestCurrentTestIdentifier'];const _0x5583e1=await jestUtils[_0x5b1fa0(0xd1)](_0x35ce2b,_0x23142f,_0x38c9ea),_0x420444=BrowserstackCLI['getInstance']()[_0x5b1fa0(0xff)]();if(_0x5ed30f[_0x5b1fa0(0xea)](_0x5583e1,_0x420444)){const _0x5ed2dd={};_0x5ed2dd[_0x5b1fa0(0x145)]=_0x5583e1,_0x5ed2dd[_0x5b1fa0(0x13b)]=_0x35ce2b,await _0x420444[_0x5b1fa0(0x152)](TestFrameworkState[_0x5b1fa0(0x151)],HookState[_0x5b1fa0(0xb8)],_0x5ed2dd);const _0x24e376={};_0x24e376[_0x5b1fa0(0xcd)]=_0x23142f,_0x24e376[_0x5b1fa0(0x14e)]=_0x5ed30f['FxaaK'],await _0x420444[_0x5b1fa0(0x152)](TestFrameworkState[_0x5b1fa0(0xe7)],HookState[_0x5b1fa0(0xb8)],_0x24e376);}}}catch(_0x4ae5e4){logger['error']('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util[_0x5b1fa0(0xbd)](_0x4ae5e4));throw _0x4ae5e4;}}exportsI[a17_0xffd5ab(0xc5)]=(..._0x436904)=>{const _0x446179=a17_0xffd5ab,_0x1c4575={'tlsaX':function(_0x5a5a2d,_0x31f34e,_0x4092f9){return _0x5a5a2d(_0x31f34e,_0x4092f9);},'tVAZT':_0x446179(0x13f),'Ctjhj':_0x446179(0xdc),'xfElJ':_0x446179(0x133),'wuMod':function(_0x4cdb11,_0xff3fd7){return _0x4cdb11(_0xff3fd7);},'hJJgd':function(_0x5ab44b){return _0x5ab44b();},'flsPv':function(_0x452d26,_0x568cd9,_0x1a28a7,_0x1ca8f4){return _0x452d26(_0x568cd9,_0x1a28a7,_0x1ca8f4);},'ZspZZ':_0x446179(0x12d),'bPqvs':'hook_success','ebleC':function(_0x141cc8,_0x533628){return _0x141cc8(_0x533628);},'jfFVi':function(_0x5df504){return _0x5df504();},'OdOQp':function(_0x526e41,_0x37225f,_0x36a136,_0x320142){return _0x526e41(_0x37225f,_0x36a136,_0x320142);},'orJIF':_0x446179(0x14d),'RnSIr':function(_0x212ef1,_0x26122d){return _0x212ef1(_0x26122d);},'Iqvsm':_0x446179(0x132),'NaOuD':'beforeAll','LUmnN':_0x446179(0x13d),'yXavy':'afterEach','SskpC':function(_0x4c4ef3,_0x4c661a){return _0x4c4ef3>_0x4c661a;},'UXSVf':function(_0x5aef34,_0x16a93b){return _0x5aef34(_0x16a93b);},'YpdRM':_0x446179(0xf6),'jriAJ':function(_0x253bb2){return _0x253bb2();},'YeuQj':function(_0xf8551f,_0x3f9db1,_0x359293,_0x2a7294){return _0xf8551f(_0x3f9db1,_0x359293,_0x2a7294);},'MIGQg':_0x446179(0xc2),'HDPqj':function(_0x32b5f8,_0x2fab7a){return _0x32b5f8(_0x2fab7a);},'hvBwc':_0x446179(0xd6),'RiZvi':function(_0x4c3b14){return _0x4c3b14();},'uWNtJ':function(_0x32389f){return _0x32389f();},'ySLUw':_0x446179(0x140),'tUDBp':function(_0x1f36a0,_0x2e7a6e){return _0x1f36a0(_0x2e7a6e);},'YivoB':'test_skip','iqBya':function(_0x2ef251){return _0x2ef251();},'SdAgz':function(_0x22e6b7,_0x989fb0,_0x3ad270,_0x53de7b){return _0x22e6b7(_0x989fb0,_0x3ad270,_0x53de7b);},'VfVly':_0x446179(0x128),'ThWwi':function(_0x5ed730,_0x440338){return _0x5ed730(_0x440338);},'hFExU':_0x446179(0xf7),'ErbwZ':_0x446179(0x14a),'iJXIX':function(_0x29523a){return _0x29523a();},'ZGxML':function(_0x365ec2){return _0x365ec2();},'iuxMh':function(_0x28b221){return _0x28b221();},'epslf':_0x446179(0xdf),'WNVDH':function(_0x13db6f,_0x4abfd4,_0x227ac5){return _0x13db6f(_0x4abfd4,_0x227ac5);},'nTLvr':_0x446179(0xce),'RBzvE':function(_0x37cb93,_0x4c48b5){return _0x37cb93(_0x4c48b5);}};try{const _0x3221d4=new ObservabilityReporter();_0x1c4575[_0x446179(0x13e)](shouldProcessEventForTesthub)&&(_0x1c4575[_0x446179(0xfe)](patchConsoleLogger),_0x3221d4[_0x446179(0xdd)]()),_0x1c4575['iuxMh'](shouldProcessEventForTesthub)&&_0x1c4575['tlsaX'](requireModule,_0x1c4575['epslf'],_0x1c4575[_0x446179(0x120)])[_0x446179(0x115)](_0x1c4575[_0x446179(0xd3)](o11yErrorHandler,async(_0x1ccf96,_0x1737cd)=>{const _0x20cbb9=_0x446179,_0x494f3c=_0x1c4575['tlsaX'](requireModule,_0x1c4575[_0x20cbb9(0x141)],_0x1c4575['Ctjhj'])[_0x20cbb9(0x135)];switch(_0x1ccf96[_0x20cbb9(0xed)]){case _0x1c4575[_0x20cbb9(0xcb)]:if(_0x1c4575[_0x20cbb9(0x11a)](shouldProcessEventForTesthub,testHubConstants[_0x20cbb9(0xbb)]['HookStarted'])){if(_0x1ccf96['hook']['fn']&&_0x1ccf96[_0x20cbb9(0x146)]['fn'][_0x20cbb9(0x153)]()['match'](/browserstack internal helper hook/))break;if(BrowserstackCLI[_0x20cbb9(0xf0)]()[_0x20cbb9(0x161)]()&&await _0x1c4575[_0x20cbb9(0x113)](isCLIReady))try{await _0x1c4575[_0x20cbb9(0xc4)](handleHookEventCLI,_0x1ccf96[_0x20cbb9(0x146)],_0x1c4575[_0x20cbb9(0xd9)],_0x1737cd);break;}catch(_0xf06237){_0x1c4575['wuMod'](debug,_0x20cbb9(0xc0)+util['format'](_0xf06237));}if(!_0x1ccf96['hook'][_0x20cbb9(0x123)]){const _0x5ac718=TestDetails[_0x20cbb9(0x160)](process[_0x20cbb9(0xc6)]+_0x20cbb9(0x114));_0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0x123)]=_0x5ac718;}else _0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0x105)]&&(_0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0x123)]=TestDetails[_0x20cbb9(0x160)](process[_0x20cbb9(0xc6)]+_0x20cbb9(0x114)),delete _0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0x105)]);_0x1ccf96[_0x20cbb9(0x146)]['started_at']=new Date()[_0x20cbb9(0x15d)](),await _0x3221d4['sendTestRunEvent'](_0x1ccf96[_0x20cbb9(0x146)],undefined,![],_0x1c4575[_0x20cbb9(0xd9)]);}break;case _0x1c4575[_0x20cbb9(0xda)]:if(_0x1c4575[_0x20cbb9(0x137)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x20cbb9(0x13c)])){if(BrowserstackCLI[_0x20cbb9(0xf0)]()[_0x20cbb9(0x161)]()&&await _0x1c4575['jfFVi'](isCLIReady))try{await _0x1c4575[_0x20cbb9(0xd2)](handleHookEventCLI,_0x1ccf96[_0x20cbb9(0x146)],_0x1c4575[_0x20cbb9(0xf2)],_0x1737cd);break;}catch(_0x11074d){_0x1c4575['RnSIr'](debug,_0x20cbb9(0xc0)+util[_0x20cbb9(0xbd)](_0x11074d));}await _0x3221d4['sendTestRunEvent'](_0x1ccf96[_0x20cbb9(0x146)],undefined,![],_0x1c4575[_0x20cbb9(0xf2)]),TestDetails['removeTestUUID'](process[_0x20cbb9(0xc6)]+_0x20cbb9(0x114));}break;case _0x1c4575[_0x20cbb9(0xc9)]:[_0x1c4575[_0x20cbb9(0x10d)],_0x1c4575[_0x20cbb9(0x12c)],_0x1c4575[_0x20cbb9(0x155)]][_0x20cbb9(0xe1)](_0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0x14e)])&&(_0x3221d4['hook_failure']=_0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0x14e)]),_0x1737cd[_0x20cbb9(0x13a)]&&_0x1c4575[_0x20cbb9(0x108)](_0x1737cd[_0x20cbb9(0x13a)][_0x20cbb9(0x110)],0x0)&&(_0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0xe2)]=[_0x1737cd['unhandledErrors'][0x0][0x0]]);if(_0x1c4575[_0x20cbb9(0x12f)](shouldProcessEventForTesthub,testHubConstants[_0x20cbb9(0xbb)][_0x20cbb9(0x13c)])){if(BrowserstackCLI[_0x20cbb9(0xf0)]()[_0x20cbb9(0x161)]()&&await _0x1c4575[_0x20cbb9(0x14b)](isCLIReady))try{await _0x1c4575[_0x20cbb9(0xc4)](handleHookEventCLI,_0x1ccf96[_0x20cbb9(0x146)],_0x1c4575[_0x20cbb9(0xf2)],_0x1737cd);break;}catch(_0x1f1305){_0x1c4575[_0x20cbb9(0xee)](debug,_0x20cbb9(0xc0)+util['format'](_0x1f1305));}await _0x3221d4['sendTestRunEvent'](_0x1ccf96['hook'],undefined,![],_0x1c4575['orJIF']),TestDetails[_0x20cbb9(0x124)](process['pid']+':hookAnalyticsId');}break;case _0x1c4575[_0x20cbb9(0xf4)]:if(_0x1c4575[_0x20cbb9(0x113)](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x20cbb9(0xf0)]()['isCliEnabled']()&&await _0x1c4575[_0x20cbb9(0xe9)](isCLIReady))try{await _0x1c4575[_0x20cbb9(0x134)](handleTestEventCLI,_0x1ccf96[_0x20cbb9(0x145)],_0x1c4575[_0x20cbb9(0x156)],_0x3221d4);break;}catch(_0x3ddac4){_0x1c4575[_0x20cbb9(0x129)](debug,_0x20cbb9(0xc0)+util['format'](_0x3ddac4));}await _0x3221d4[_0x20cbb9(0xbf)](_0x1ccf96[_0x20cbb9(0x145)]);}break;case _0x1c4575[_0x20cbb9(0x158)]:_0x1ccf96[_0x20cbb9(0x145)]={..._0x1c4575['wuMod'](_0x494f3c,_0x1ccf96['test']),..._0x1ccf96[_0x20cbb9(0x145)]};if(_0x1c4575[_0x20cbb9(0x10f)](shouldProcessEventForTesthub)){if(!_0x1ccf96[_0x20cbb9(0x145)][_0x20cbb9(0x105)]){_0x1ccf96[_0x20cbb9(0x145)][_0x20cbb9(0x105)]=!![];if(BrowserstackCLI[_0x20cbb9(0xf0)]()[_0x20cbb9(0x161)]()&&await _0x1c4575[_0x20cbb9(0x154)](isCLIReady))try{await _0x1c4575[_0x20cbb9(0xd2)](handleTestEventCLI,_0x1ccf96['test'],_0x1c4575['ySLUw'],_0x3221d4);break;}catch(_0x55e725){_0x1c4575[_0x20cbb9(0x130)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x20cbb9(0xbd)](_0x55e725));}await _0x3221d4[_0x20cbb9(0x131)](_0x1ccf96[_0x20cbb9(0x145)]);}}break;case _0x1c4575[_0x20cbb9(0x106)]:_0x1ccf96['test']={..._0x1c4575[_0x20cbb9(0xee)](_0x494f3c,_0x1ccf96[_0x20cbb9(0x145)]),..._0x1ccf96[_0x20cbb9(0x145)]};if(_0x1c4575['iqBya'](shouldProcessEventForTesthub)){if(!_0x1ccf96[_0x20cbb9(0x145)][_0x20cbb9(0x105)]){_0x1ccf96[_0x20cbb9(0x145)][_0x20cbb9(0x105)]=!![];if(BrowserstackCLI['getInstance']()[_0x20cbb9(0x161)]()&&await _0x1c4575['RiZvi'](isCLIReady))try{await _0x1c4575[_0x20cbb9(0x102)](handleTestEventCLI,_0x1ccf96[_0x20cbb9(0x145)],_0x1c4575[_0x20cbb9(0x157)],_0x3221d4);break;}catch(_0x452159){_0x1c4575['ThWwi'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x20cbb9(0xbd)](_0x452159));}await _0x3221d4['sendTestRunEvent'](_0x1ccf96['test'],undefined,![],_0x1c4575[_0x20cbb9(0x157)]);}}break;case _0x1c4575[_0x20cbb9(0x103)]:_0x3221d4['hook_failure']=null;break;case _0x1c4575['ErbwZ']:await RequestQueueHandler['getInstance']()['shutdown'](),process[_0x20cbb9(0x125)]();break;default:}},_0x1c4575['nTLvr']));}catch(_0x3a5325){_0x1c4575['RBzvE'](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0x3a5325);}return _0x1c4575['RnSIr'](initInitialize,..._0x436904);};try{Object[a17_0xffd5ab(0x144)](exportsI)[a17_0xffd5ab(0xd8)](_0xa48533=>{const _0xd179fc=a17_0xffd5ab,_0x273aab={'eHUnz':function(_0x11a0e2,_0x13ced5){return _0x11a0e2(_0x13ced5);}};try{exports&&(exports[_0xa48533]=exportsI[_0xa48533]);}catch(_0xefa159){_0x273aab['eHUnz'](debug,_0xd179fc(0x112)+_0xefa159);}});}catch(a17_0x2db5e1){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x2db5e1);}
@@ -1 +1 @@
1
- const a18_0x4e8024=a18_0x1357;(function(_0xea6160,_0x269940){const _0x2fd96b=a18_0x1357,_0x5d1e90=_0xea6160();while(!![]){try{const _0x276ce6=parseInt(_0x2fd96b(0xee))/0x1+parseInt(_0x2fd96b(0xe9))/0x2*(-parseInt(_0x2fd96b(0xf0))/0x3)+parseInt(_0x2fd96b(0xf7))/0x4+-parseInt(_0x2fd96b(0xf6))/0x5*(parseInt(_0x2fd96b(0xeb))/0x6)+parseInt(_0x2fd96b(0xec))/0x7+-parseInt(_0x2fd96b(0xf4))/0x8+-parseInt(_0x2fd96b(0xf3))/0x9*(-parseInt(_0x2fd96b(0xe8))/0xa);if(_0x276ce6===_0x269940)break;else _0x5d1e90['push'](_0x5d1e90['shift']());}catch(_0x558d12){_0x5d1e90['push'](_0x5d1e90['shift']());}}}(a18_0x1211,0x5de81));function a18_0x1357(_0x50fa4c,_0x475811){const _0x121123=a18_0x1211();return a18_0x1357=function(_0x135707,_0x5b941c){_0x135707=_0x135707-0xe4;let _0x1032fe=_0x121123[_0x135707];return _0x1032fe;},a18_0x1357(_0x50fa4c,_0x475811);}function a18_0x1211(){const _0x28bb93=['exports','env','default','6531130wzyRVE','1796obSwvk','split','428862DsEpgm','1204819pJiCkZ','sort','242597zQZBPP','map','2211ooMDor','@jest/test-sequencer','path','9MMlUEn','3395440eidjps','get','5cQhgLX','1898188cTvcbJ','JEST_TEST_ORDER','filter'];a18_0x1211=function(){return _0x28bb93;};return a18_0x1211();}const Sequencer=require(a18_0x4e8024(0xf1))[a18_0x4e8024(0xe7)];class CustomSequencer extends Sequencer{[a18_0x4e8024(0xed)](_0xcb7d07){const _0x5ccc0e=a18_0x4e8024,_0x254a90=process[_0x5ccc0e(0xe6)][_0x5ccc0e(0xf8)];if(!_0x254a90)return _0xcb7d07;const _0x5e824a=_0x254a90[_0x5ccc0e(0xea)](','),_0x32714a=new Map(_0xcb7d07[_0x5ccc0e(0xe4)](_0x160cf6=>_0x5e824a['includes'](_0x160cf6['path']))[_0x5ccc0e(0xef)](_0x4f6802=>[_0x4f6802[_0x5ccc0e(0xf2)],_0x4f6802]));return _0x5e824a['map'](_0x56362e=>_0x32714a[_0x5ccc0e(0xf5)](_0x56362e))['filter'](Boolean);}}module[a18_0x4e8024(0xe5)]=CustomSequencer;
1
+ const a18_0x41ed76=a18_0x2150;function a18_0x2150(_0x3d3781,_0x4b1bed){const _0x3545a4=a18_0x3545();return a18_0x2150=function(_0x2150a2,_0x16b244){_0x2150a2=_0x2150a2-0x13b;let _0x52aa16=_0x3545a4[_0x2150a2];return _0x52aa16;},a18_0x2150(_0x3d3781,_0x4b1bed);}(function(_0x39677f,_0x3f3277){const _0x30bf61=a18_0x2150,_0x316e87=_0x39677f();while(!![]){try{const _0x24d963=parseInt(_0x30bf61(0x143))/0x1*(-parseInt(_0x30bf61(0x145))/0x2)+-parseInt(_0x30bf61(0x146))/0x3+-parseInt(_0x30bf61(0x14c))/0x4*(parseInt(_0x30bf61(0x13c))/0x5)+parseInt(_0x30bf61(0x142))/0x6*(-parseInt(_0x30bf61(0x14e))/0x7)+parseInt(_0x30bf61(0x149))/0x8+-parseInt(_0x30bf61(0x140))/0x9+parseInt(_0x30bf61(0x13f))/0xa*(parseInt(_0x30bf61(0x141))/0xb);if(_0x24d963===_0x3f3277)break;else _0x316e87['push'](_0x316e87['shift']());}catch(_0x399845){_0x316e87['push'](_0x316e87['shift']());}}}(a18_0x3545,0x2bd69));const Sequencer=require(a18_0x41ed76(0x148))[a18_0x41ed76(0x147)];class CustomSequencer extends Sequencer{['sort'](_0x5ab7cd){const _0x3de1f2=a18_0x41ed76,_0x1dd437=process[_0x3de1f2(0x14d)]['JEST_TEST_ORDER'];if(!_0x1dd437)return _0x5ab7cd;const _0x2698dc=_0x1dd437['split'](','),_0x2782e9=new Map(_0x5ab7cd[_0x3de1f2(0x13b)](_0x5d2475=>_0x2698dc[_0x3de1f2(0x13d)](_0x5d2475[_0x3de1f2(0x13e)]))[_0x3de1f2(0x144)](_0x3187f2=>[_0x3187f2[_0x3de1f2(0x13e)],_0x3187f2]));return _0x2698dc[_0x3de1f2(0x144)](_0x3e1bfe=>_0x2782e9[_0x3de1f2(0x14b)](_0x3e1bfe))[_0x3de1f2(0x13b)](Boolean);}}module[a18_0x41ed76(0x14a)]=CustomSequencer;function a18_0x3545(){const _0x4998b8=['default','@jest/test-sequencer','870472nfdLVp','exports','get','242184VLkFHX','env','7lrcYYr','filter','15WsRDxU','includes','path','2994130ouUymH','355680sEEfYj','22oVCkmE','747384eqKcQK','23197VNOfRr','map','12YTrytg','129510zXFzeQ'];a18_0x3545=function(){return _0x4998b8;};return a18_0x3545();}
@@ -1 +1 @@
1
- 'use strict';const a19_0x8407a7=a19_0x2f03;(function(_0x1ca009,_0x511a32){const _0x55377c=a19_0x2f03,_0xc9d729=_0x1ca009();while(!![]){try{const _0x79f8c6=-parseInt(_0x55377c(0xad))/0x1+parseInt(_0x55377c(0x8d))/0x2*(parseInt(_0x55377c(0x98))/0x3)+parseInt(_0x55377c(0xa8))/0x4*(parseInt(_0x55377c(0xa7))/0x5)+parseInt(_0x55377c(0xa6))/0x6+-parseInt(_0x55377c(0xaa))/0x7+parseInt(_0x55377c(0x99))/0x8*(-parseInt(_0x55377c(0xa4))/0x9)+parseInt(_0x55377c(0x95))/0xa*(parseInt(_0x55377c(0x9e))/0xb);if(_0x79f8c6===_0x511a32)break;else _0xc9d729['push'](_0xc9d729['shift']());}catch(_0x4c8e6a){_0xc9d729['push'](_0xc9d729['shift']());}}}(a19_0x111d,0x8a4b7));const {requireModule,isBrowserstackInfra}=require(a19_0x8407a7(0x89)),a19_0x26512b={};function a19_0x111d(){const _0x14c4e4=['hsPgi','RUnNE','dfeAt','serial__','7085353bZVBPR','forEach','_globalConfig','ZAgMG','freeze','false','5706KmxQQJ','testEnvironmentOptions','4161114GHyXjO','1370lVwPaf','2016raqptq','ijbUO','3508988GdKIit','push','runTests','898333siqmGx','qrNHX','../../../helpers/helper','slice','parallels__','length','2aTBXzq','default','exports','value','defineProperty','context','config','serial','10pgrEOj','jest-runner','__esModule','3253176iEaTjj','7496vJeAdp'];a19_0x111d=function(){return _0x14c4e4;};return a19_0x111d();}function a19_0x2f03(_0x5beefd,_0x2026a9){const _0x111ded=a19_0x111d();return a19_0x2f03=function(_0x2f033,_0x273af7){_0x2f033=_0x2f033-0x89;let _0x54c9e1=_0x111ded[_0x2f033];return _0x54c9e1;},a19_0x2f03(_0x5beefd,_0x2026a9);}a19_0x26512b[a19_0x8407a7(0x90)]=!![],Object[a19_0x8407a7(0x91)](exports,a19_0x8407a7(0x97),a19_0x26512b),exports[a19_0x8407a7(0x8e)]=void 0x0;function _interopRequireDefault(_0x3e1ea7){return _0x3e1ea7&&_0x3e1ea7['__esModule']?_0x3e1ea7:{'default':_0x3e1ea7};}const JestRunner=_interopRequireDefault(requireModule(a19_0x8407a7(0x96)))[a19_0x8407a7(0x8e)];class TestRunner extends JestRunner{constructor(..._0x24345f){super(..._0x24345f);}[a19_0x8407a7(0xac)](..._0x16bd1c){const _0x408a60=a19_0x8407a7,_0x4df022={'dfeAt':function(_0x3f77e3){return _0x3f77e3();},'ZAgMG':function(_0x1676e1,_0x3dfe1f){return _0x1676e1-_0x3dfe1f;},'hsPgi':function(_0x25a469,_0x538bae){return _0x25a469*_0x538bae;},'qrNHX':function(_0x5bba9c,_0x46797a){return _0x5bba9c===_0x46797a;},'RUnNE':_0x408a60(0xa3),'ijbUO':function(_0x23181e,_0x239d5f){return _0x23181e<_0x239d5f;}};if(!_0x4df022[_0x408a60(0x9c)](isBrowserstackInfra))return super[_0x408a60(0xac)](..._0x16bd1c);const _0x52b8b8=_0x16bd1c[0x0],_0x46887e=_0x16bd1c[_0x4df022[_0x408a60(0xa1)](_0x16bd1c[_0x408a60(0x8c)],0x1)],_0x40a341=_0x52b8b8[0x0][_0x408a60(0x92)][_0x408a60(0x93)]['testEnvironmentOptions']['capabilities'],_0x2cb121=_0x52b8b8[0x0]['context'][_0x408a60(0x93)]['testEnvironmentOptions'][_0x408a60(0x8b)];_0x2cb121&&(this[_0x408a60(0xa0)]=Object[_0x408a60(0xa2)]({...this[_0x408a60(0xa0)],'maxWorkers':_0x4df022[_0x408a60(0x9a)](_0x2cb121,_0x40a341[_0x408a60(0x8c)])}));_0x4df022[_0x408a60(0xae)](_0x52b8b8[0x0][_0x408a60(0x92)]['config'][_0x408a60(0xa5)][_0x408a60(0x9d)],_0x4df022[_0x408a60(0x9b)])&&(_0x46887e&&(_0x46887e[_0x408a60(0x94)]=![]));const _0xf3e391=[];for(let _0x389f63=0x0;_0x4df022[_0x408a60(0xa9)](_0x389f63,_0x52b8b8[_0x408a60(0x8c)]);_0x389f63++){const _0x45b2c9=[];_0x40a341[_0x408a60(0x9f)]((_0x253fc4,_0x29eaa9)=>{const _0xfae7ce=_0x408a60,_0x2ad75c={..._0x52b8b8[_0x389f63]},_0x70e60a=_0x2ad75c;_0x70e60a['context']=Object[_0xfae7ce(0xa2)]({..._0x70e60a[_0xfae7ce(0x92)],'config':{..._0x70e60a['context'][_0xfae7ce(0x93)],'capability':_0x253fc4,'browserstackPlatformIndex':_0x29eaa9}}),_0x45b2c9[_0xfae7ce(0xab)](_0x70e60a);}),_0xf3e391[_0x408a60(0xab)](..._0x45b2c9);}return super[_0x408a60(0xac)](_0xf3e391,..._0x16bd1c[_0x408a60(0x8a)](0x1));}}module[a19_0x8407a7(0x8f)]=TestRunner;
1
+ 'use strict';const a19_0x147d40=a19_0x1fe3;(function(_0x5087f1,_0x18c46a){const _0x32d938=a19_0x1fe3,_0x169770=_0x5087f1();while(!![]){try{const _0x5948c6=-parseInt(_0x32d938(0x107))/0x1*(parseInt(_0x32d938(0x111))/0x2)+parseInt(_0x32d938(0x115))/0x3+-parseInt(_0x32d938(0xfc))/0x4+parseInt(_0x32d938(0xfe))/0x5*(parseInt(_0x32d938(0x117))/0x6)+parseInt(_0x32d938(0x11c))/0x7*(-parseInt(_0x32d938(0x101))/0x8)+parseInt(_0x32d938(0x102))/0x9*(parseInt(_0x32d938(0x104))/0xa)+-parseInt(_0x32d938(0x105))/0xb*(-parseInt(_0x32d938(0x10b))/0xc);if(_0x5948c6===_0x18c46a)break;else _0x169770['push'](_0x169770['shift']());}catch(_0x38df4c){_0x169770['push'](_0x169770['shift']());}}}(a19_0x2ad0,0xd22ef));const {requireModule,isBrowserstackInfra}=require(a19_0x147d40(0x10c)),a19_0x579112={};a19_0x579112[a19_0x147d40(0x110)]=!![],Object[a19_0x147d40(0x113)](exports,a19_0x147d40(0x112),a19_0x579112),exports[a19_0x147d40(0x106)]=void 0x0;function _interopRequireDefault(_0x4fe0af){return _0x4fe0af&&_0x4fe0af['__esModule']?_0x4fe0af:{'default':_0x4fe0af};}const JestRunner=_interopRequireDefault(requireModule(a19_0x147d40(0x114)))['default'];function a19_0x1fe3(_0x49f22c,_0x12799b){const _0x2ad038=a19_0x2ad0();return a19_0x1fe3=function(_0x1fe340,_0x3ad841){_0x1fe340=_0x1fe340-0xf9;let _0x4efee7=_0x2ad038[_0x1fe340];return _0x4efee7;},a19_0x1fe3(_0x49f22c,_0x12799b);}class TestRunner extends JestRunner{constructor(..._0x34e5df){super(..._0x34e5df);}[a19_0x147d40(0xfa)](..._0xea8477){const _0x3cf927=a19_0x147d40,_0x2326db={'AqvoK':function(_0x433236){return _0x433236();},'RGdGn':function(_0x1367e7,_0x5e211d){return _0x1367e7-_0x5e211d;},'CRdeO':function(_0x23e1de,_0x37e566){return _0x23e1de*_0x37e566;},'HJKoQ':function(_0xc30a38,_0x1a1c7b){return _0xc30a38===_0x1a1c7b;},'cuWRy':_0x3cf927(0x100),'yOHHD':function(_0x300e6c,_0x59f4ea){return _0x300e6c<_0x59f4ea;}};if(!_0x2326db[_0x3cf927(0x10d)](isBrowserstackInfra))return super['runTests'](..._0xea8477);const _0x2fe2f8=_0xea8477[0x0],_0x12fecb=_0xea8477[_0x2326db[_0x3cf927(0x119)](_0xea8477[_0x3cf927(0xff)],0x1)],_0x4bae59=_0x2fe2f8[0x0][_0x3cf927(0x108)][_0x3cf927(0x11a)]['testEnvironmentOptions'][_0x3cf927(0x118)],_0x20a637=_0x2fe2f8[0x0][_0x3cf927(0x108)][_0x3cf927(0x11a)]['testEnvironmentOptions'][_0x3cf927(0x10a)];_0x20a637&&(this[_0x3cf927(0x10f)]=Object[_0x3cf927(0x109)]({...this[_0x3cf927(0x10f)],'maxWorkers':_0x2326db['CRdeO'](_0x20a637,_0x4bae59['length'])}));_0x2326db[_0x3cf927(0x103)](_0x2fe2f8[0x0][_0x3cf927(0x108)]['config'][_0x3cf927(0xfb)][_0x3cf927(0xf9)],_0x2326db[_0x3cf927(0x10e)])&&(_0x12fecb&&(_0x12fecb['serial']=![]));const _0x3e054e=[];for(let _0x14d2fe=0x0;_0x2326db[_0x3cf927(0x116)](_0x14d2fe,_0x2fe2f8[_0x3cf927(0xff)]);_0x14d2fe++){const _0x5e03cd=[];_0x4bae59[_0x3cf927(0x11b)]((_0x2abe79,_0x7b0847)=>{const _0x14262f=_0x3cf927,_0x26d8d5={..._0x2fe2f8[_0x14d2fe]},_0x1b15b6=_0x26d8d5;_0x1b15b6[_0x14262f(0x108)]=Object[_0x14262f(0x109)]({..._0x1b15b6[_0x14262f(0x108)],'config':{..._0x1b15b6['context'][_0x14262f(0x11a)],'capability':_0x2abe79,'browserstackPlatformIndex':_0x7b0847}}),_0x5e03cd[_0x14262f(0xfd)](_0x1b15b6);}),_0x3e054e['push'](..._0x5e03cd);}return super[_0x3cf927(0xfa)](_0x3e054e,..._0xea8477['slice'](0x1));}}module['exports']=TestRunner;function a19_0x2ad0(){const _0x3670e1=['30294SaghKx','default','36565CxOsMr','context','freeze','parallels__','10728eCDCAU','../../../helpers/helper','AqvoK','cuWRy','_globalConfig','value','78iMRsLn','__esModule','defineProperty','jest-runner','929652mojoQT','yOHHD','1404JqxxKi','capabilities','RGdGn','config','forEach','1336748aQUUYJ','serial__','runTests','testEnvironmentOptions','3622392AlNYPN','push','16690QVMoNX','length','false','24TwZjzS','18LUGSax','HJKoQ','1061920ZAcMuP'];a19_0x2ad0=function(){return _0x3670e1;};return a19_0x2ad0();}