browserstack-node-sdk 1.55.2 → 1.55.4

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 (198) 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/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/test-observability/constants.js +1 -1
  180. package/src/helpers/test-observability/error-handler.js +1 -1
  181. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  182. package/src/helpers/test-observability/sessionHandler.js +1 -1
  183. package/src/helpers/test-observability/utils.js +1 -1
  184. package/src/helpers/test-orchestration/constants.js +1 -1
  185. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  186. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  187. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  188. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  189. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  190. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  191. package/src/helpers/testhub/constants.js +1 -1
  192. package/src/helpers/testhub/testhubHandler.js +1 -1
  193. package/src/helpers/testhub/utils.js +1 -1
  194. package/src/helpers/timeoutPromise.js +1 -1
  195. package/src/helpers/utilities.js +1 -1
  196. package/src/helpers/w3cMapping.js +1 -1
  197. package/src/hubAllocationMethods.js +1 -1
  198. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a53_0x29025e=a53_0x52e4;(function(_0x876007,_0x557d41){const _0x283d49=a53_0x52e4,_0x950de0=_0x876007();while(!![]){try{const _0x251405=-parseInt(_0x283d49(0x12c))/0x1*(parseInt(_0x283d49(0x128))/0x2)+-parseInt(_0x283d49(0x148))/0x3*(-parseInt(_0x283d49(0x182))/0x4)+parseInt(_0x283d49(0x154))/0x5*(parseInt(_0x283d49(0x13b))/0x6)+-parseInt(_0x283d49(0x13c))/0x7+-parseInt(_0x283d49(0x13a))/0x8*(parseInt(_0x283d49(0x14a))/0x9)+parseInt(_0x283d49(0x15e))/0xa*(parseInt(_0x283d49(0x15d))/0xb)+parseInt(_0x283d49(0x185))/0xc;if(_0x251405===_0x557d41)break;else _0x950de0['push'](_0x950de0['shift']());}catch(_0x3bd3c2){_0x950de0['push'](_0x950de0['shift']());}}}(a53_0x5780,0xdeab0));const path=require(a53_0x29025e(0x164)),url=require(a53_0x29025e(0x16a)),util=require(a53_0x29025e(0x15b)),{nestedKeyValue,isFalse}=require(a53_0x29025e(0x184)),{debug,getPlatformDetails}=require(a53_0x29025e(0x175)),logger=require(a53_0x29025e(0x140))[a53_0x29025e(0x17d)],constants=require(a53_0x29025e(0x172)),BrowserstackCLI=require(a53_0x29025e(0x157)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a53_0x29025e(0x134)),getBrowserFromWSEndpoint=_0x34ff96=>{const _0xcd01b7=a53_0x29025e,_0x44404f={'takuK':_0xcd01b7(0x15a),'duQoQ':function(_0x2fd508,_0x408026){return _0x2fd508(_0x408026);}};try{const _0x2fc49d=url['parse'](_0x34ff96),_0x1fe00e=new URLSearchParams(_0x2fc49d[_0xcd01b7(0x151)]),_0x299ba1=Object['fromEntries'](_0x1fe00e['entries']()),_0x4a2968=JSON['parse'](_0x299ba1[_0xcd01b7(0x165)]);if(_0x4a2968&&(_0x4a2968[_0xcd01b7(0x147)]||_0x4a2968[_0xcd01b7(0x14c)]))return _0x4a2968[_0xcd01b7(0x147)]||_0x4a2968[_0xcd01b7(0x14c)];return _0x44404f['takuK'];}catch(_0x2a55ec){_0x44404f[_0xcd01b7(0x17a)](debug,_0xcd01b7(0x155)+_0x2a55ec['toString']());}},getCloudProviderFromWsEndpoint=_0x1f9037=>{const _0x92c7=a53_0x29025e,_0x1082c7={};_0x1082c7[_0x92c7(0x156)]=_0x92c7(0x162),_0x1082c7[_0x92c7(0x163)]=_0x92c7(0x12b);const _0x349d47=_0x1082c7;if(_0x1f9037[_0x92c7(0x149)](constants[_0x92c7(0x14f)])||_0x1f9037['includes'](constants[_0x92c7(0x135)]))return _0x349d47[_0x92c7(0x156)];return _0x349d47[_0x92c7(0x163)];},a53_0x365644={};function a53_0x52e4(_0x527083,_0x2ae22c){const _0x5780ad=a53_0x5780();return a53_0x52e4=function(_0x52e4ef,_0x69eb93){_0x52e4ef=_0x52e4ef-0x125;let _0xc90c74=_0x5780ad[_0x52e4ef];return _0xc90c74;},a53_0x52e4(_0x527083,_0x2ae22c);}a53_0x365644[a53_0x29025e(0x153)]=undefined,a53_0x365644[a53_0x29025e(0x137)]=undefined,a53_0x365644[a53_0x29025e(0x147)]=undefined,a53_0x365644[a53_0x29025e(0x12a)]=undefined,a53_0x365644[a53_0x29025e(0x167)]=undefined,a53_0x365644['platform_version']=undefined,a53_0x365644[a53_0x29025e(0x133)]=undefined,a53_0x365644[a53_0x29025e(0x160)]={};class PuppeteerSessionDetails{static [a53_0x29025e(0x152)]=a53_0x365644;constructor(){const _0x2373b2=a53_0x29025e,_0x48e1f0={};_0x48e1f0[_0x2373b2(0x14e)]=_0x2373b2(0x17e);const _0x52f640=_0x48e1f0;throw new Error(_0x52f640['bnLrJ']);}static [a53_0x29025e(0x15f)]=null;static async[a53_0x29025e(0x14b)](_0x41b9b5,_0x3605d7){const _0x2bd61d=a53_0x29025e,_0x2cbc39={'sQhvu':_0x2bd61d(0x15a),'pTCll':function(_0xd7539f,_0x46c123){return _0xd7539f===_0x46c123;},'gxDQs':'function','BGhbz':'local_grid','RhYwp':function(_0x4580a5,_0x5e2f7f){return _0x4580a5(_0x5e2f7f);},'jIPHo':function(_0x44d1c4,_0x565fe1){return _0x44d1c4===_0x565fe1;},'eOFvd':_0x2bd61d(0x162),'ZsZqu':_0x2bd61d(0x129),'GMZxf':_0x2bd61d(0x125),'PfHTM':function(_0x284d8c,_0x5ea738){return _0x284d8c(_0x5ea738);},'rINGy':function(_0x50f3d2){return _0x50f3d2();},'bqlxa':function(_0x5e52e9,_0x440083){return _0x5e52e9(_0x440083);}};try{let _0x4c6981=_0x2cbc39[_0x2bd61d(0x180)],_0x21d286=null;_0x41b9b5&&_0x2cbc39[_0x2bd61d(0x181)](typeof _0x41b9b5['version'],_0x2cbc39[_0x2bd61d(0x17c)])&&(_0x21d286=await _0x41b9b5[_0x2bd61d(0x16c)]());let _0x2ab0a5=null,_0x50dc65=null,_0x166aa7=null,_0x402b91=_0x2cbc39[_0x2bd61d(0x14d)];if(_0x3605d7){_0x402b91=_0x2cbc39[_0x2bd61d(0x141)](getCloudProviderFromWsEndpoint,_0x3605d7);if(_0x2cbc39[_0x2bd61d(0x145)](_0x402b91,_0x2cbc39[_0x2bd61d(0x166)]))_0x166aa7=constants[_0x2bd61d(0x142)]?constants[_0x2bd61d(0x142)]['test'](_0x3605d7)?_0x2cbc39['ZsZqu']:_0x2cbc39[_0x2bd61d(0x146)]:_0x2cbc39[_0x2bd61d(0x146)],_0x4c6981=_0x2cbc39['PfHTM'](getBrowserFromWSEndpoint,_0x3605d7)||_0x4c6981,_0x2ab0a5=this[_0x2bd61d(0x152)][_0x2bd61d(0x167)],_0x50dc65=this[_0x2bd61d(0x152)][_0x2bd61d(0x173)];else{const _0x484165=await _0x2cbc39[_0x2bd61d(0x132)](getPlatformDetails);_0x2ab0a5=_0x484165[_0x2bd61d(0x13d)],_0x50dc65=_0x484165['platformVersion'];}}else{const _0x520c1c=await _0x2cbc39[_0x2bd61d(0x132)](getPlatformDetails);_0x2ab0a5=_0x520c1c[_0x2bd61d(0x13d)],_0x50dc65=_0x520c1c[_0x2bd61d(0x143)];}const _0x5023ec={};_0x5023ec[_0x2bd61d(0x147)]=_0x4c6981,_0x5023ec[_0x2bd61d(0x12a)]=_0x21d286,_0x5023ec[_0x2bd61d(0x160)]={},_0x5023ec[_0x2bd61d(0x167)]=_0x2ab0a5,_0x5023ec['platform_version']=_0x50dc65,_0x5023ec[_0x2bd61d(0x133)]=_0x166aa7;const _0x51f0af=_0x5023ec,_0x56d908={};_0x56d908[_0x2bd61d(0x153)]=_0x402b91,this[_0x2bd61d(0x152)]=Object[_0x2bd61d(0x139)]({},this[_0x2bd61d(0x152)],_0x56d908,_0x51f0af);}catch(_0x1948cd){_0x2cbc39[_0x2bd61d(0x15c)](debug,_0x2bd61d(0x126)+util['format'](_0x1948cd)),this[_0x2bd61d(0x15f)]=_0x1948cd[_0x2bd61d(0x13f)]();}}static[a53_0x29025e(0x16b)](_0xa68838){const _0x175e0e=a53_0x29025e,_0x1c62ee={'gztng':function(_0x1cdddd,_0x233731){return _0x1cdddd===_0x233731;},'xLjxp':_0x175e0e(0x16f),'aiPXh':function(_0x1cb787,_0x4ff5ee){return _0x1cb787(_0x4ff5ee);},'gfWKr':function(_0x223203,_0x2faef1){return _0x223203(_0x2faef1);},'WGjhT':function(_0x38e30b,_0x3e0c69){return _0x38e30b===_0x3e0c69;},'rwggM':function(_0x138c66,_0x30797f){return _0x138c66(_0x30797f);},'gnogi':'[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture'},_0xa3e33f=this;try{const _0x1a7eed=_0xa68838['_connection']||_0xa68838[_0x175e0e(0x138)];if(!_0x1a7eed||_0x1a7eed[_0x175e0e(0x12e)])return;const _0x132526=_0x1a7eed['onmessage'];_0x1a7eed['onmessage']=function(_0x452852){const _0x2f78dd=_0x175e0e;try{const _0x3dc242=_0x1c62ee[_0x2f78dd(0x177)](typeof _0x452852,_0x1c62ee[_0x2f78dd(0x170)])?JSON[_0x2f78dd(0x131)](_0x452852):_0x452852,_0x349e5c=_0x3dc242?.[_0x2f78dd(0x161)]||_0x3dc242?.[_0x2f78dd(0x158)]||_0x3dc242?.[_0x2f78dd(0x176)]?.[_0x2f78dd(0x158)]||_0x3dc242?.[_0x2f78dd(0x176)]?.[_0x2f78dd(0x161)]||_0x3dc242?.['result']?.[_0x2f78dd(0x158)]||_0x3dc242?.[_0x2f78dd(0x16d)]?.[_0x2f78dd(0x161)];if(_0x349e5c){if(BrowserstackCLI['getInstance']()[_0x2f78dd(0x17b)]()){const _0x309526={};_0x309526['message']=_0x3dc242,BrowserstackCLI[_0x2f78dd(0x17f)]()['getAutomationFramework']()[_0x2f78dd(0x127)](AutomationFrameworkState[_0x2f78dd(0x183)],HookState[_0x2f78dd(0x171)],_0x309526);}else{const _0xa26ec0=_0x349e5c[_0x2f78dd(0x179)],_0xc29bfb=_0x349e5c[_0x2f78dd(0x136)];_0xc29bfb&&(_0x1c62ee['aiPXh'](debug,_0x2f78dd(0x12d)+JSON['stringify'](_0xc29bfb)),_0xa3e33f['currentSessionDetails'][_0x2f78dd(0x167)]=_0xc29bfb['platformName'],_0xa3e33f['currentSessionDetails'][_0x2f78dd(0x173)]=_0xc29bfb[_0x2f78dd(0x143)]),_0xa26ec0&&(_0x1c62ee['gfWKr'](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0xa26ec0),_0xa3e33f['currentSessionDetails'][_0x2f78dd(0x137)]=_0xa26ec0);}_0x1c62ee[_0x2f78dd(0x13e)](typeof _0x452852,_0x1c62ee['xLjxp'])&&(delete _0x3dc242[_0x2f78dd(0x161)],delete _0x3dc242[_0x2f78dd(0x158)],_0x3dc242['params']&&(delete _0x3dc242[_0x2f78dd(0x176)][_0x2f78dd(0x158)],delete _0x3dc242[_0x2f78dd(0x176)][_0x2f78dd(0x161)]),_0x3dc242[_0x2f78dd(0x16d)]&&(delete _0x3dc242[_0x2f78dd(0x16d)]['bsParams'],delete _0x3dc242[_0x2f78dd(0x16d)][_0x2f78dd(0x161)]));}}catch(_0x284d8a){_0x1c62ee[_0x2f78dd(0x168)](debug,_0x2f78dd(0x150)+_0x284d8a[_0x2f78dd(0x12f)]);}return _0x132526?.[_0x2f78dd(0x16e)](this,arguments);},_0x1a7eed[_0x175e0e(0x12e)]=!![],logger['debug'](_0x1c62ee[_0x175e0e(0x169)]);}catch(_0x23e82f){_0x1c62ee[_0x175e0e(0x174)](debug,_0x175e0e(0x144)+util[_0x175e0e(0x178)](_0x23e82f)),_0xa3e33f[_0x175e0e(0x15f)]=_0x23e82f[_0x175e0e(0x13f)]();}}static[a53_0x29025e(0x159)](){const _0x4b3cd1=a53_0x29025e;return this[_0x4b3cd1(0x152)];}}module[a53_0x29025e(0x130)]=PuppeteerSessionDetails;function a53_0x5780(){const _0x2a396c=['Invalid\x20constructor,\x20please\x20use\x20static\x20methods','getInstance','sQhvu','pTCll','4OlBjmj','PLAYWRIGHT_DISPATCH','../../helpers/helper','12458064azUWff','automate','Error\x20in\x20setupBrowserDetails:\x20','trackEvent','6EIgzeG','turboscale','browser_version','unknown_grid','287099qdbIdt','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','_bstackPatched','message','exports','parse','rINGy','product','../v2/state/hookState.js','BSTACK_ATS_URL','platformDetails','bsSessionId','connection','assign','584vwjfdR','108oTDGlQ','7638141WfxIJs','platformName','WGjhT','toString','../../helpers/logger','RhYwp','ATS_WSS_URL_REGEX','platformVersion','Error\x20in\x20patchConnection:\x20','jIPHo','GMZxf','browser','4361277SKFyQO','includes','129366aJfzhJ','setupBrowserDetails','browserName','BGhbz','bnLrJ','BSTACK_URL','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','query','currentSessionDetails','cloudProvider','38615QZMuqz','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','yJSVW','../v2/browserstackCLI','bsParams','getDetails','chrome','util','bqlxa','517vlRXcx','272950RkjUFB','sessionError','capabilities','bStackParams','browserstack','cuubM','path','caps','eOFvd','platform','rwggM','gnogi','url','patchConnection','version','result','apply','string','xLjxp','POST','../utils/constants','platform_version','gfWKr','../../helpers/test-observability/utils','params','gztng','format','sessionId','duQoQ','isRunning','gxDQs','winstonLogger'];a53_0x5780=function(){return _0x2a396c;};return a53_0x5780();}
1
+ function a53_0x4a2c(){const _0x29c01e=['currentSessionDetails','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','query','browserstack','../v2/state/hookState.js','unknown_grid','543624PCqzoo','toString','exports','1240420lvggRT','setupBrowserDetails','714EYeXnq','function','cloudProvider','fromEntries','dorty','_bstackPatched','../v2/browserstackCLI','../v2/state/automationFrameworkState.js','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','vXKap','includes','1203oEcgHo','nDMro','Error\x20in\x20setupBrowserDetails:\x20','fKDjO','result','../../helpers/logger','stringify','_connection','Hkmzq','lZljP','parse','QCFAI','test','platformName','5974032imGTSO','util','connection','IJgZk','patchConnection','QNDpn','isRunning','version','getDetails','message','winstonLogger','params','path','POST','string','apply','platform','platformVersion','browser','sessionError','../utils/constants','lalHY','mvWiN','../../helpers/test-observability/utils','product','onmessage','debug','bsSessionId','SNFDn','bStackParams','caps','BSTACK_URL','platform_version','ORcsm','PLAYWRIGHT_DISPATCH','chrome','tvzgW','1248149pWvVjW','bsParams','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','ATS_WSS_URL_REGEX','CRflF','getAutomationFramework','format','1034456vvJoRf','browser_version','175998xkZnXT','getInstance','trackEvent','DeblU','browserName','capabilities'];a53_0x4a2c=function(){return _0x29c01e;};return a53_0x4a2c();}const a53_0x2f79bb=a53_0x1cd5;(function(_0x6abe53,_0x25740a){const _0x12d584=a53_0x1cd5,_0x59a49c=_0x6abe53();while(!![]){try{const _0x205101=-parseInt(_0x12d584(0x74))/0x1+parseInt(_0x12d584(0x85))/0x2*(-parseInt(_0x12d584(0x90))/0x3)+-parseInt(_0x12d584(0x72))/0x4+-parseInt(_0x12d584(0x83))/0x5+parseInt(_0x12d584(0x80))/0x6+parseInt(_0x12d584(0xc3))/0x7+parseInt(_0x12d584(0x9e))/0x8;if(_0x205101===_0x25740a)break;else _0x59a49c['push'](_0x59a49c['shift']());}catch(_0x368781){_0x59a49c['push'](_0x59a49c['shift']());}}}(a53_0x4a2c,0x2e574));const path=require(a53_0x2f79bb(0xaa)),url=require('url'),util=require(a53_0x2f79bb(0x9f)),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{debug,getPlatformDetails}=require(a53_0x2f79bb(0xb5)),logger=require(a53_0x2f79bb(0x95))[a53_0x2f79bb(0xa8)],constants=require(a53_0x2f79bb(0xb2)),BrowserstackCLI=require(a53_0x2f79bb(0x8b)),AutomationFrameworkState=require(a53_0x2f79bb(0x8c)),HookState=require(a53_0x2f79bb(0x7e)),getBrowserFromWSEndpoint=_0x30a803=>{const _0x340e7c=a53_0x2f79bb,_0x268404={'DeblU':_0x340e7c(0xc1),'vXKap':function(_0x256059,_0x40bf27){return _0x256059(_0x40bf27);}};try{const _0x3de785=url[_0x340e7c(0x9a)](_0x30a803),_0x4155ee=new URLSearchParams(_0x3de785[_0x340e7c(0x7c)]),_0x3cc1c6=Object[_0x340e7c(0x88)](_0x4155ee['entries']()),_0x5de23c=JSON['parse'](_0x3cc1c6[_0x340e7c(0xbc)]);if(_0x5de23c&&(_0x5de23c[_0x340e7c(0xb0)]||_0x5de23c[_0x340e7c(0x78)]))return _0x5de23c[_0x340e7c(0xb0)]||_0x5de23c['browserName'];return _0x268404[_0x340e7c(0x77)];}catch(_0x109a5e){_0x268404[_0x340e7c(0x8e)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x109a5e[_0x340e7c(0x81)]());}},getCloudProviderFromWsEndpoint=_0x2f3074=>{const _0x1e6978=a53_0x2f79bb,_0x276db1={};_0x276db1[_0x1e6978(0xba)]=_0x1e6978(0x7d),_0x276db1[_0x1e6978(0xa3)]=_0x1e6978(0x7f);const _0x1203d2=_0x276db1;if(_0x2f3074['includes'](constants[_0x1e6978(0xbd)])||_0x2f3074[_0x1e6978(0x8f)](constants['BSTACK_ATS_URL']))return _0x1203d2[_0x1e6978(0xba)];return _0x1203d2[_0x1e6978(0xa3)];},a53_0x2be0d0={};function a53_0x1cd5(_0x25f469,_0x14138e){const _0x4a2cdf=a53_0x4a2c();return a53_0x1cd5=function(_0x1cd527,_0x5666bf){_0x1cd527=_0x1cd527-0x71;let _0x55f276=_0x4a2cdf[_0x1cd527];return _0x55f276;},a53_0x1cd5(_0x25f469,_0x14138e);}a53_0x2be0d0[a53_0x2f79bb(0x87)]=undefined,a53_0x2be0d0[a53_0x2f79bb(0xb9)]=undefined,a53_0x2be0d0[a53_0x2f79bb(0xb0)]=undefined,a53_0x2be0d0[a53_0x2f79bb(0x73)]=undefined,a53_0x2be0d0[a53_0x2f79bb(0xae)]=undefined,a53_0x2be0d0['platform_version']=undefined,a53_0x2be0d0[a53_0x2f79bb(0xb6)]=undefined,a53_0x2be0d0['capabilities']={};class PuppeteerSessionDetails{static [a53_0x2f79bb(0x7a)]=a53_0x2be0d0;constructor(){const _0x529e1d={};_0x529e1d['yspmY']='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x1985cb=_0x529e1d;throw new Error(_0x1985cb['yspmY']);}static [a53_0x2f79bb(0xb1)]=null;static async[a53_0x2f79bb(0x84)](_0x44c8c6,_0x4933a8){const _0x455da6=a53_0x2f79bb,_0x222cb1={'QCFAI':'chrome','ORcsm':function(_0xef4853,_0x39957a){return _0xef4853===_0x39957a;},'fKDjO':_0x455da6(0x86),'dorty':'local_grid','nDMro':function(_0x3ed716,_0xd194b3){return _0x3ed716(_0xd194b3);},'IiEBO':'browserstack','RZjGF':'turboscale','tvzgW':'automate','lZljP':function(_0x26f074,_0x4027fb){return _0x26f074(_0x4027fb);},'IJgZk':function(_0x4eea5f){return _0x4eea5f();}};try{let _0x537695=_0x222cb1[_0x455da6(0x9b)],_0x366617=null;_0x44c8c6&&_0x222cb1[_0x455da6(0xbf)](typeof _0x44c8c6[_0x455da6(0xa5)],_0x222cb1[_0x455da6(0x93)])&&(_0x366617=await _0x44c8c6[_0x455da6(0xa5)]());let _0x19da1c=null,_0x57a5ae=null,_0x19e274=null,_0x5a0332=_0x222cb1[_0x455da6(0x89)];if(_0x4933a8){_0x5a0332=_0x222cb1[_0x455da6(0x91)](getCloudProviderFromWsEndpoint,_0x4933a8);if(_0x222cb1[_0x455da6(0xbf)](_0x5a0332,_0x222cb1['IiEBO']))_0x19e274=constants['ATS_WSS_URL_REGEX']?constants[_0x455da6(0xc6)][_0x455da6(0x9c)](_0x4933a8)?_0x222cb1['RZjGF']:_0x222cb1[_0x455da6(0xc2)]:_0x222cb1[_0x455da6(0xc2)],_0x537695=_0x222cb1[_0x455da6(0x99)](getBrowserFromWSEndpoint,_0x4933a8)||_0x537695,_0x19da1c=this[_0x455da6(0x7a)][_0x455da6(0xae)],_0x57a5ae=this['currentSessionDetails']['platform_version'];else{const _0x1f1b13=await _0x222cb1['IJgZk'](getPlatformDetails);_0x19da1c=_0x1f1b13['platformName'],_0x57a5ae=_0x1f1b13[_0x455da6(0xaf)];}}else{const _0x1f046e=await _0x222cb1[_0x455da6(0xa1)](getPlatformDetails);_0x19da1c=_0x1f046e[_0x455da6(0x9d)],_0x57a5ae=_0x1f046e[_0x455da6(0xaf)];}const _0x5002fd={};_0x5002fd[_0x455da6(0xb0)]=_0x537695,_0x5002fd['browser_version']=_0x366617,_0x5002fd[_0x455da6(0x79)]={},_0x5002fd['platform']=_0x19da1c,_0x5002fd[_0x455da6(0xbe)]=_0x57a5ae,_0x5002fd[_0x455da6(0xb6)]=_0x19e274;const _0x9e8e4f=_0x5002fd,_0xb4a754={};_0xb4a754['cloudProvider']=_0x5a0332,this['currentSessionDetails']=Object['assign']({},this[_0x455da6(0x7a)],_0xb4a754,_0x9e8e4f);}catch(_0x9c5d7b){_0x222cb1['lZljP'](debug,_0x455da6(0x92)+util[_0x455da6(0x71)](_0x9c5d7b)),this['sessionError']=_0x9c5d7b['toString']();}}static[a53_0x2f79bb(0xa2)](_0x495cbf){const _0x481d31=a53_0x2f79bb,_0x2a2755={'CRflF':function(_0x53789e,_0x546cb0){return _0x53789e===_0x546cb0;},'lalHY':_0x481d31(0xac),'mvWiN':function(_0x48e796,_0x39517a){return _0x48e796(_0x39517a);},'nDvpW':_0x481d31(0x7b),'Hkmzq':function(_0x108904,_0x25d46e){return _0x108904(_0x25d46e);}},_0x1d1939=this;try{const _0x345f94=_0x495cbf[_0x481d31(0x97)]||_0x495cbf[_0x481d31(0xa0)];if(!_0x345f94||_0x345f94[_0x481d31(0x8a)])return;const _0x67dbb8=_0x345f94['onmessage'];_0x345f94[_0x481d31(0xb7)]=function(_0x2afde9){const _0x4ec227=_0x481d31;try{const _0x4ade37=_0x2a2755[_0x4ec227(0xc7)](typeof _0x2afde9,_0x2a2755[_0x4ec227(0xb3)])?JSON[_0x4ec227(0x9a)](_0x2afde9):_0x2afde9,_0x3a7be5=_0x4ade37?.['bStackParams']||_0x4ade37?.['bsParams']||_0x4ade37?.[_0x4ec227(0xa9)]?.['bsParams']||_0x4ade37?.[_0x4ec227(0xa9)]?.[_0x4ec227(0xbb)]||_0x4ade37?.[_0x4ec227(0x94)]?.[_0x4ec227(0xc4)]||_0x4ade37?.[_0x4ec227(0x94)]?.[_0x4ec227(0xbb)];if(_0x3a7be5){if(BrowserstackCLI[_0x4ec227(0x75)]()[_0x4ec227(0xa4)]()){const _0x555621={};_0x555621['message']=_0x4ade37,BrowserstackCLI['getInstance']()[_0x4ec227(0xc8)]()[_0x4ec227(0x76)](AutomationFrameworkState[_0x4ec227(0xc0)],HookState[_0x4ec227(0xab)],_0x555621);}else{const _0x239aa4=_0x3a7be5['sessionId'],_0x3c57a3=_0x3a7be5['platformDetails'];_0x3c57a3&&(_0x2a2755[_0x4ec227(0xb4)](debug,_0x4ec227(0x8d)+JSON[_0x4ec227(0x96)](_0x3c57a3)),_0x1d1939['currentSessionDetails'][_0x4ec227(0xae)]=_0x3c57a3[_0x4ec227(0x9d)],_0x1d1939['currentSessionDetails'][_0x4ec227(0xbe)]=_0x3c57a3['platformVersion']),_0x239aa4&&(_0x2a2755[_0x4ec227(0xb4)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x239aa4),_0x1d1939[_0x4ec227(0x7a)]['bsSessionId']=_0x239aa4);}_0x2a2755[_0x4ec227(0xc7)](typeof _0x2afde9,_0x2a2755['lalHY'])&&(delete _0x4ade37['bStackParams'],delete _0x4ade37[_0x4ec227(0xc4)],_0x4ade37[_0x4ec227(0xa9)]&&(delete _0x4ade37[_0x4ec227(0xa9)][_0x4ec227(0xc4)],delete _0x4ade37[_0x4ec227(0xa9)]['bStackParams']),_0x4ade37[_0x4ec227(0x94)]&&(delete _0x4ade37[_0x4ec227(0x94)][_0x4ec227(0xc4)],delete _0x4ade37[_0x4ec227(0x94)][_0x4ec227(0xbb)]));}}catch(_0x2227e1){_0x2a2755['mvWiN'](debug,_0x4ec227(0xc5)+_0x2227e1[_0x4ec227(0xa7)]);}return _0x67dbb8?.[_0x4ec227(0xad)](this,arguments);},_0x345f94[_0x481d31(0x8a)]=!![],logger[_0x481d31(0xb8)](_0x2a2755['nDvpW']);}catch(_0x1a3709){_0x2a2755[_0x481d31(0x98)](debug,'Error\x20in\x20patchConnection:\x20'+util[_0x481d31(0x71)](_0x1a3709)),_0x1d1939[_0x481d31(0xb1)]=_0x1a3709[_0x481d31(0x81)]();}}static[a53_0x2f79bb(0xa6)](){const _0x1b043e=a53_0x2f79bb;return this[_0x1b043e(0x7a)];}}module[a53_0x2f79bb(0x82)]=PuppeteerSessionDetails;
@@ -1 +1 @@
1
- const a54_0x4cde85=a54_0x2fe3;(function(_0x4315c3,_0x393bb3){const _0x5076ff=a54_0x2fe3,_0x1e773e=_0x4315c3();while(!![]){try{const _0x4577c3=parseInt(_0x5076ff(0x12d))/0x1+-parseInt(_0x5076ff(0x12c))/0x2+-parseInt(_0x5076ff(0x13c))/0x3+parseInt(_0x5076ff(0x11c))/0x4+parseInt(_0x5076ff(0x13a))/0x5+-parseInt(_0x5076ff(0x12a))/0x6*(parseInt(_0x5076ff(0x131))/0x7)+parseInt(_0x5076ff(0x112))/0x8;if(_0x4577c3===_0x393bb3)break;else _0x1e773e['push'](_0x1e773e['shift']());}catch(_0x417cf6){_0x1e773e['push'](_0x1e773e['shift']());}}}(a54_0x27a4,0xabcf5));const {isTrue,isBrowserstackInfra}=require(a54_0x4cde85(0x11a)),setKeepAlive=require(a54_0x4cde85(0x11d)),util=require(a54_0x4cde85(0x132)),logger=require(a54_0x4cde85(0x119))[a54_0x4cde85(0x117)],{shouldProcessEventForTesthub}=require(a54_0x4cde85(0x113)),{addRequestSpy}=require(a54_0x4cde85(0x120)),a54_0xa5ab26={};function a54_0x2fe3(_0x4d813d,_0x407450){const _0x27a498=a54_0x27a4();return a54_0x2fe3=function(_0x2fe3f6,_0x5a2c5f){_0x2fe3f6=_0x2fe3f6-0x111;let _0x31c9a0=_0x27a498[_0x2fe3f6];return _0x31c9a0;},a54_0x2fe3(_0x4d813d,_0x407450);}a54_0xa5ab26['workerInfo']=undefined,a54_0xa5ab26[a54_0x4cde85(0x134)]={},a54_0xa5ab26[a54_0x4cde85(0x137)]=![],a54_0xa5ab26['pwPage']=null,a54_0xa5ab26[a54_0x4cde85(0x12b)]=![],a54_0xa5ab26[a54_0x4cde85(0x134)]['id']=undefined,a54_0xa5ab26[a54_0x4cde85(0x134)][a54_0x4cde85(0x121)]=undefined;const workerDetails=a54_0xa5ab26;global[a54_0x4cde85(0x13e)]=workerDetails;function a54_0x27a4(){const _0xe7a39=['1045652KwslVs','JEST','__skipSessionStatus','env','957705nNdeCk','util','catch','currentTest','jestConfig','isCliEnabled','o11ySyncDone','format','getInstance','5407420pBuZeR','skipSessionName','3854424VZoqvP','../v2/cliUtils','__workerDetails','puppeteer','bootstrap','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','setFrameworkDetail','192472OzqknO','../../helpers/testhub/utils','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','debug','true','winstonLogger','../utils/constants','../../helpers/logger','../../helpers/helper','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','4130132UlxXFW','../../helpers/setKeepAlive','skipSessionStatus','initializePuppeteerPatching','../../helpers/test-observability/utils','testInfo','__skipSessionName','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','BROWSERSTACK_PUPPETEER','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','getPackageVersion','../utils/puppeteer-patcher','36tBOODW','isPageFixture','748594tKqDFS'];a54_0x27a4=function(){return _0xe7a39;};return a54_0x27a4();}let puppeteerPatcher=null;setKeepAlive();if(global['jestConfig'])try{isBrowserstackInfra()?(global[a54_0x4cde85(0x122)]=isTrue(global[a54_0x4cde85(0x135)]?.[a54_0x4cde85(0x13b)]),global[a54_0x4cde85(0x12f)]=isTrue(global['jestConfig']?.[a54_0x4cde85(0x11e)])):(global[a54_0x4cde85(0x122)]=!![],global['__skipSessionStatus']=!![]);const helper=require('../../helpers/helper'),puppeteerVersion=helper[a54_0x4cde85(0x128)](a54_0x4cde85(0x13f))||helper[a54_0x4cde85(0x128)]('puppeteer-core');if(puppeteerVersion)try{logger[a54_0x4cde85(0x115)](a54_0x4cde85(0x11b)),puppeteerPatcher=require(a54_0x4cde85(0x129)),puppeteerPatcher[a54_0x4cde85(0x11f)](global[a54_0x4cde85(0x135)]),logger[a54_0x4cde85(0x115)](a54_0x4cde85(0x124));}catch(a54_0x42a966){logger['debug'](a54_0x4cde85(0x114)+util['format'](a54_0x42a966));}if(puppeteerPatcher)try{const BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a54_0x4cde85(0x13d)),{FRAMEWORKS}=require(a54_0x4cde85(0x118));BrowserstackCLI[a54_0x4cde85(0x139)]()[a54_0x4cde85(0x136)]()&&(logger[a54_0x4cde85(0x115)](a54_0x4cde85(0x127)),process[a54_0x4cde85(0x130)][a54_0x4cde85(0x125)]=a54_0x4cde85(0x116),CLIUtils[a54_0x4cde85(0x111)](FRAMEWORKS[a54_0x4cde85(0x12e)],FRAMEWORKS['PUPPETEER']),BrowserstackCLI[a54_0x4cde85(0x139)]()[a54_0x4cde85(0x140)]()[a54_0x4cde85(0x133)](_0x1105c2=>{const _0x32df81=a54_0x4cde85;logger[_0x32df81(0x115)]('[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util[_0x32df81(0x138)](_0x1105c2));}));}catch(a54_0x2df34a){logger[a54_0x4cde85(0x115)](a54_0x4cde85(0x123)+util[a54_0x4cde85(0x138)](a54_0x2df34a));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a54_0x342566){logger[a54_0x4cde85(0x115)](a54_0x4cde85(0x141)+util[a54_0x4cde85(0x138)](a54_0x342566));}logger[a54_0x4cde85(0x115)](a54_0x4cde85(0x126));
1
+ const a54_0x40e851=a54_0x2b5a;(function(_0x8d1fe0,_0x368e99){const _0x5e6980=a54_0x2b5a,_0x5dc3d1=_0x8d1fe0();while(!![]){try{const _0x48ea2d=-parseInt(_0x5e6980(0x212))/0x1*(-parseInt(_0x5e6980(0x1fb))/0x2)+parseInt(_0x5e6980(0x202))/0x3*(parseInt(_0x5e6980(0x1ed))/0x4)+-parseInt(_0x5e6980(0x216))/0x5*(-parseInt(_0x5e6980(0x211))/0x6)+parseInt(_0x5e6980(0x215))/0x7*(-parseInt(_0x5e6980(0x1e6))/0x8)+parseInt(_0x5e6980(0x1f3))/0x9*(-parseInt(_0x5e6980(0x1e2))/0xa)+parseInt(_0x5e6980(0x204))/0xb+-parseInt(_0x5e6980(0x1f0))/0xc*(parseInt(_0x5e6980(0x1f8))/0xd);if(_0x48ea2d===_0x368e99)break;else _0x5dc3d1['push'](_0x5dc3d1['shift']());}catch(_0x29ee1d){_0x5dc3d1['push'](_0x5dc3d1['shift']());}}}(a54_0xe841,0xcedb8));const {isTrue,isBrowserstackInfra}=require(a54_0x40e851(0x20d)),setKeepAlive=require(a54_0x40e851(0x1e8)),util=require(a54_0x40e851(0x1e3)),logger=require('../../helpers/logger')[a54_0x40e851(0x1fe)],{shouldProcessEventForTesthub}=require(a54_0x40e851(0x203)),{addRequestSpy}=require(a54_0x40e851(0x1ff)),a54_0x589f87={};a54_0x589f87[a54_0x40e851(0x1f6)]=undefined,a54_0x589f87[a54_0x40e851(0x1e9)]={},a54_0x589f87[a54_0x40e851(0x1e5)]=![],a54_0x589f87[a54_0x40e851(0x1f9)]=null,a54_0x589f87[a54_0x40e851(0x20b)]=![],a54_0x589f87[a54_0x40e851(0x1e9)]['id']=undefined,a54_0x589f87[a54_0x40e851(0x1e9)][a54_0x40e851(0x200)]=undefined;const workerDetails=a54_0x589f87;global['__workerDetails']=workerDetails;let puppeteerPatcher=null;function a54_0x2b5a(_0x117076,_0x3c9c70){const _0xe841ab=a54_0xe841();return a54_0x2b5a=function(_0x2b5ad7,_0x4bfd44){_0x2b5ad7=_0x2b5ad7-0x1e2;let _0x3c7ed4=_0xe841ab[_0x2b5ad7];return _0x3c7ed4;},a54_0x2b5a(_0x117076,_0x3c9c70);}function a54_0xe841(){const _0xdc0a90=['testInfo','../v2/browserstackCLI','3gDUTfg','../../helpers/testhub/utils','3550778IdGWVu','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','JEST','jestConfig','PUPPETEER','getPackageVersion','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','isPageFixture','initializePuppeteerPatching','../../helpers/helper','puppeteer','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','skipSessionName','7990848UMTIFW','68131gEhuTs','catch','../utils/constants','1561QmuEnf','5PppWkc','format','1330gFnggg','util','getInstance','o11ySyncDone','39608xevjHy','env','../../helpers/setKeepAlive','currentTest','__skipSessionStatus','../utils/puppeteer-patcher','debug','5333276FckWbs','skipSessionStatus','../v2/cliUtils','12YxpUUA','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','true','75249KstoPs','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','workerInfo','bootstrap','4333381QoltTD','pwPage','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','12MsoeCc','isCliEnabled','BROWSERSTACK_PUPPETEER','winstonLogger','../../helpers/test-observability/utils'];a54_0xe841=function(){return _0xdc0a90;};return a54_0xe841();}setKeepAlive();if(global[a54_0x40e851(0x207)])try{isBrowserstackInfra()?(global['__skipSessionName']=isTrue(global[a54_0x40e851(0x207)]?.[a54_0x40e851(0x210)]),global['__skipSessionStatus']=isTrue(global['jestConfig']?.[a54_0x40e851(0x1ee)])):(global['__skipSessionName']=!![],global[a54_0x40e851(0x1ea)]=!![]);const helper=require('../../helpers/helper'),puppeteerVersion=helper[a54_0x40e851(0x209)](a54_0x40e851(0x20e))||helper['getPackageVersion']('puppeteer-core');if(puppeteerVersion)try{logger[a54_0x40e851(0x1ec)](a54_0x40e851(0x205)),puppeteerPatcher=require(a54_0x40e851(0x1eb)),puppeteerPatcher[a54_0x40e851(0x20c)](global[a54_0x40e851(0x207)]),logger['debug'](a54_0x40e851(0x1fa));}catch(a54_0x2673f1){logger[a54_0x40e851(0x1ec)](a54_0x40e851(0x20a)+util['format'](a54_0x2673f1));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a54_0x40e851(0x201)),CLIUtils=require(a54_0x40e851(0x1ef)),{FRAMEWORKS}=require(a54_0x40e851(0x214));BrowserstackCLI[a54_0x40e851(0x1e4)]()[a54_0x40e851(0x1fc)]()&&(logger[a54_0x40e851(0x1ec)](a54_0x40e851(0x1f1)),process[a54_0x40e851(0x1e7)][a54_0x40e851(0x1fd)]=a54_0x40e851(0x1f2),CLIUtils['setFrameworkDetail'](FRAMEWORKS[a54_0x40e851(0x206)],FRAMEWORKS[a54_0x40e851(0x208)]),BrowserstackCLI[a54_0x40e851(0x1e4)]()[a54_0x40e851(0x1f7)]()[a54_0x40e851(0x213)](_0x299f20=>{const _0x569738=a54_0x40e851;logger[_0x569738(0x1ec)](_0x569738(0x20f)+util[_0x569738(0x217)](_0x299f20));}));}catch(a54_0x5d52b9){logger[a54_0x40e851(0x1ec)](a54_0x40e851(0x1f4)+util[a54_0x40e851(0x217)](a54_0x5d52b9));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a54_0x267d22){logger[a54_0x40e851(0x1ec)]('[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20'+util[a54_0x40e851(0x217)](a54_0x267d22));}logger[a54_0x40e851(0x1ec)](a54_0x40e851(0x1f5));
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a55_0x2b078e=a55_0xeedc;(function(_0x288570,_0x254852){const _0x3c12dd=a55_0xeedc,_0x4755a0=_0x288570();while(!![]){try{const _0x34f22b=-parseInt(_0x3c12dd(0x21a))/0x1+-parseInt(_0x3c12dd(0x245))/0x2*(-parseInt(_0x3c12dd(0x1ed))/0x3)+-parseInt(_0x3c12dd(0x247))/0x4*(-parseInt(_0x3c12dd(0x23e))/0x5)+-parseInt(_0x3c12dd(0x1d0))/0x6*(parseInt(_0x3c12dd(0x21f))/0x7)+parseInt(_0x3c12dd(0x22e))/0x8+parseInt(_0x3c12dd(0x205))/0x9*(parseInt(_0x3c12dd(0x201))/0xa)+-parseInt(_0x3c12dd(0x1fe))/0xb*(parseInt(_0x3c12dd(0x1f6))/0xc);if(_0x34f22b===_0x254852)break;else _0x4755a0['push'](_0x4755a0['shift']());}catch(_0x406e13){_0x4755a0['push'](_0x4755a0['shift']());}}}(a55_0x19e1,0xeea12));const fs=require('fs'),path=require(a55_0x2b078e(0x215)),util=require(a55_0x2b078e(0x1fd)),spawn=require(a55_0x2b078e(0x1c4))['spawn'],{requireModule}=require(a55_0x2b078e(0x235)),PerformanceTester=require(a55_0x2b078e(0x233)),PerformanceEvents=require(a55_0x2b078e(0x1ee))['EVENTS'],helper=require(a55_0x2b078e(0x235)),utilities=require(a55_0x2b078e(0x1d4)),{default:BrowserStackSetup}=require(a55_0x2b078e(0x1dc)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a55_0x2b078e(0x1fc)),yargs=require(a55_0x2b078e(0x21c)),Constants=require('./utils/constants'),BrowserstackCLI=require(a55_0x2b078e(0x210)),{isNewman}=require(a55_0x2b078e(0x224)),logger=require(a55_0x2b078e(0x1f9))['winstonLogger'],origArgs=Object[a55_0x2b078e(0x1b7)]([],process[a55_0x2b078e(0x1e9)]),captureError=async(_0x12e7c9,_0x128180,_0x27e27f,_0x51287a=null,_0x1dbedc=![])=>{const _0x59a9d4=a55_0x2b078e,_0x1e7bfc={'GLRtG':function(_0x2316f4,_0x81fce2,_0x3077b7,_0x4c5433){return _0x2316f4(_0x81fce2,_0x3077b7,_0x4c5433);},'kueQY':_0x59a9d4(0x228)};try{logger[_0x59a9d4(0x1c5)](_0x59a9d4(0x22f)+origArgs[_0x59a9d4(0x220)]('\x20')),await _0x1e7bfc[_0x59a9d4(0x251)](_0x12e7c9,_0x128180,_0x51287a,_0x27e27f);}catch(_0x2fd8f0){process['exitCode']=0x1,logger['error'](util[_0x59a9d4(0x1d7)](_0x2fd8f0));const _0x107958={'globalException':util['format']('%j',_0x2fd8f0)};PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x59a9d4(0x1d7)](_0x2fd8f0));if(helper[_0x59a9d4(0x1fb)](global['config'])&&helper[_0x59a9d4(0x1fb)](global[_0x59a9d4(0x1b4)]))return;try{utilities['fireFunnelTestEvent'](_0x1e7bfc[_0x59a9d4(0x1e0)],_0x107958,global[_0x59a9d4(0x234)],global[_0x59a9d4(0x1b4)]);}catch(_0x4d7833){logger[_0x59a9d4(0x1f7)](_0x59a9d4(0x209)+_0x4d7833[_0x59a9d4(0x1e6)]);}try{await helper[_0x59a9d4(0x24d)](global[_0x59a9d4(0x234)]);}catch(_0xa05054){logger[_0x59a9d4(0x1f7)](_0x59a9d4(0x202)+_0xa05054[_0x59a9d4(0x1e6)]);}PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x59a9d4(0x1d7)](_0x2fd8f0));}finally{!_0x1dbedc&&await BrowserstackCLI['getInstance']()[_0x59a9d4(0x1f8)](),PerformanceTester['start'](PerformanceEvents[_0x59a9d4(0x244)]);}};try{const browserstackFolderPath=path[a55_0x2b078e(0x220)](helper['homedir'](),'.browserstack');if(fs[a55_0x2b078e(0x24a)](browserstackFolderPath)){const filePath=path[a55_0x2b078e(0x220)](browserstackFolderPath,'.local-not-set.json');fs[a55_0x2b078e(0x24a)](filePath)&&fs[a55_0x2b078e(0x1cb)](filePath);}}catch(a55_0x2f9bb9){logger[a55_0x2b078e(0x1f7)](a55_0x2b078e(0x1c3)+a55_0x2f9bb9[a55_0x2b078e(0x1fa)]);}process[a55_0x2b078e(0x1e9)][a55_0x2b078e(0x23b)](a55_0x2b078e(0x1d8))&&(!process[a55_0x2b078e(0x1e9)]['includes'](a55_0x2b078e(0x1e5))&&process['argv'][a55_0x2b078e(0x236)](a55_0x2b078e(0x24c)),!process[a55_0x2b078e(0x1e9)][a55_0x2b078e(0x1bd)](_0x7579ee=>_0x7579ee[a55_0x2b078e(0x23b)]('--config'))&&process[a55_0x2b078e(0x1e9)][a55_0x2b078e(0x236)]('--no-config'),!process[a55_0x2b078e(0x1e9)][a55_0x2b078e(0x23b)](a55_0x2b078e(0x1bb))&&process[a55_0x2b078e(0x1e9)][a55_0x2b078e(0x236)](a55_0x2b078e(0x1e4)),helper[a55_0x2b078e(0x1df)](process[a55_0x2b078e(0x1e9)],a55_0x2b078e(0x218),a55_0x2b078e(0x1d5)));function a55_0x19e1(){const _0x24398e=['./load/index','BROWSERSTACK_CONFIG_FILE_PATH','uBUst','GLRtG','Runs\x20the\x20binary\x20with\x20load\x20command','MOCHA','version','setTestObservabilityDisable','vTLyp','newman','fIgaV','framework','DEBUG','PVdSp','assign','setBrowserStackAutomationDisable','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','load\x20[subcommand]','--package','NIGHTWATCH','find','epAYr','nightwatch','VERSION','usage:\x20$0\x20<command>\x20[args]','integrations','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','child_process','info','OCAyo','csQkq','wrap','dot-notation','map','unlinkSync','mocha/lib/cli/commands.js','./nightwatch/command','qomou','slice','6IeMMVy','RaCNE','./playwright/command','codeceptjs','../helpers/utilities','--mochaRequire','PUJvf','format','mocha','hhOAa','disableAutoCaptureLogs','jest','../helpers/BrowserStackSetup','strict','mocha/lib/cli/cli.js','findAndReplace','kueQY','dxqAx','XYwaa','./codeceptjs/command','--no-package','--opts','stack','AAapr','trim','argv','iAnaL','Show\x20help','option','66351CiItQs','../helpers/performance/constants','some','vanilla','WOshy','./vanilla-js/command','pw:channel\x20auto-capture\x20seed\x20failed:\x20','node','getPwChannelLogPath','7819236qECagU','debug','stop','../helpers/logger','message','isUndefined','./integrations/command','util','33uPMMyO','command','showHelpOnFail','18536670qDBzrx','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','playwright','hZsWq','9QxOIrE','help','run','PLAYWRIGHT','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','-pw:channel','./jest/command','hgLgk','FbuAb','./mocha/command','YMwyK','./v2/browserstackCLI','start','mocha/lib/cli/run.js','env','CUCUMBER','path','FqAfQ','alias','--require','Parsing\x20command\x20line\x20arguments','112490WybSxP','boolean','yargs','XwjVP','bRrtK','12599146RCdPCm','join','yCiQB','SDK_SETUP','INTEGRATIONS','./newman/helper','../../ats/src/index','xLGwn','parserConfiguration','SDKTestSuccessful','swWLB','UWPHL','ooHks','CpiND','filter','7312800Ldoekv','Running\x20SDK\x20with\x20args\x20','XWTIt','qJQue','CODECEPTJS','../helpers/performance/performance-tester','config','../helpers/helper','push','ilcQX','zQwbI','handler','cucumber-js','includes','JEST','INFO','5ukeiWj','mOnKM','getConfigPath','GowRr','error','tOnFD','SDK_CLEANUP','38pemqVE','./newman/command','6626452mAsQVm','./cucumber-js/command','gxzwg','existsSync','ats','--no-opts','sendLogs'];a55_0x19e1=function(){return _0x24398e;};return a55_0x19e1();}PerformanceTester[a55_0x2b078e(0x211)](PerformanceEvents[a55_0x2b078e(0x222)]);function a55_0xeedc(_0x3ddcd1,_0x24bc75){const _0x19e124=a55_0x19e1();return a55_0xeedc=function(_0xeedcaa,_0x157ef2){_0xeedcaa=_0xeedcaa-0x1b4;let _0x28189e=_0x19e124[_0xeedcaa];return _0x28189e;},a55_0xeedc(_0x3ddcd1,_0x24bc75);}const a55_0x2642dc={};a55_0x2642dc[a55_0x2b078e(0x1c9)]=![];const argv=yargs[a55_0x2b078e(0x227)](a55_0x2642dc)['usage'](a55_0x2b078e(0x1c1))[a55_0x2b078e(0x217)]('v',a55_0x2b078e(0x254))['describe']('v')[a55_0x2b078e(0x217)]('h',a55_0x2b078e(0x206))['help'](a55_0x2b078e(0x206))[a55_0x2b078e(0x200)](!![],Constants[a55_0x2b078e(0x1c0)]['HELP'])['command'](a55_0x2b078e(0x1db),Constants[a55_0x2b078e(0x23c)][a55_0x2b078e(0x23d)],function(_0x2b16b7){const _0x1b9bd3=a55_0x2b078e,_0x41e05f={'XYwaa':_0x1b9bd3(0x1db),'ilcQX':function(_0x41bde8,_0x1e1763,_0x45974e,_0x25e9f2,_0x2c0c10,_0x93be80){return _0x41bde8(_0x1e1763,_0x45974e,_0x25e9f2,_0x2c0c10,_0x93be80);},'qJQue':function(_0x261d13,_0x112d72){return _0x261d13(_0x112d72);},'dxqAx':_0x1b9bd3(0x20b)},_0x598bca=process[_0x1b9bd3(0x1e9)]['slice'](0x2);helper[_0x1b9bd3(0x255)](),helper['setBrowserStackAutomationDisable'](),_0x2b16b7[_0x1b9bd3(0x1dd)](![]);const _0x396514=new BrowserStackSetup(_0x2b16b7[_0x1b9bd3(0x1e9)],_0x41e05f[_0x1b9bd3(0x1e2)]);return _0x41e05f[_0x1b9bd3(0x237)](captureError,_0x41e05f[_0x1b9bd3(0x231)](require,_0x41e05f[_0x1b9bd3(0x1e1)]),_0x2b16b7[_0x1b9bd3(0x1e9)],_0x396514,_0x598bca,!![]);})[a55_0x2b078e(0x1ff)](a55_0x2b078e(0x1d8),Constants[a55_0x2b078e(0x253)][a55_0x2b078e(0x23d)],_0x59a055=>{const _0x28c9a4=a55_0x2b078e,_0x28f16c={'npnNF':function(_0x4e4baa,_0x819bba,_0x3d4818,_0x13c4e2){return _0x4e4baa(_0x819bba,_0x3d4818,_0x13c4e2);},'gxzwg':function(_0x2aea62,_0x33f9b1){return _0x2aea62(_0x33f9b1);},'LQWdv':_0x28c9a4(0x20e),'FqAfQ':_0x28c9a4(0x1d8),'FbuAb':_0x28c9a4(0x219),'xLGwn':function(_0x159eb9,_0x1a6bd6,_0x4bf10e){return _0x159eb9(_0x1a6bd6,_0x4bf10e);},'XwjVP':_0x28c9a4(0x212),'UWPHL':function(_0x26700a,_0x33cb3b,_0x49d850){return _0x26700a(_0x33cb3b,_0x49d850);},'GowRr':_0x28c9a4(0x1cc),'vTLyp':function(_0x10f62e,_0x289788,_0x40299d){return _0x10f62e(_0x289788,_0x40299d);},'OCAyo':_0x28c9a4(0x1de),'NnWjm':function(_0x36d5b4){return _0x36d5b4();}};process[_0x28c9a4(0x1e9)]=process[_0x28c9a4(0x1e9)][_0x28c9a4(0x1cf)](0x1),helper[_0x28c9a4(0x255)](),helper[_0x28c9a4(0x1b8)]();const _0x52bc24=new BrowserStackSetup(_0x59a055[_0x28c9a4(0x1e9)],_0x28f16c[_0x28c9a4(0x216)]);logger[_0x28c9a4(0x1f7)](_0x28f16c[_0x28c9a4(0x20d)]);const _0x38e9e2=_0x28f16c[_0x28c9a4(0x226)](requireModule,_0x28f16c[_0x28c9a4(0x21d)],_0x28f16c[_0x28c9a4(0x216)]),_0x3dc95f=_0x28f16c[_0x28c9a4(0x22a)](requireModule,_0x28f16c[_0x28c9a4(0x241)],_0x28f16c[_0x28c9a4(0x216)]);delete _0x38e9e2['handler'],_0x38e9e2[_0x28c9a4(0x239)]=function(_0x3ecaba){const _0x27ce6d=_0x28c9a4;return _0x28f16c['npnNF'](captureError,_0x28f16c[_0x27ce6d(0x249)](require,_0x28f16c['LQWdv']),_0x3ecaba,_0x52bc24);},_0x3dc95f[_0x28c9a4(0x207)]=_0x38e9e2;const {main:_0x371f8d}=_0x28f16c[_0x28c9a4(0x256)](requireModule,_0x28f16c[_0x28c9a4(0x1c6)],_0x28f16c[_0x28c9a4(0x216)]);_0x28f16c['NnWjm'](_0x371f8d);})[a55_0x2b078e(0x1ff)](a55_0x2b078e(0x23a),Constants[a55_0x2b078e(0x214)][a55_0x2b078e(0x23d)],function(_0x227e53){const _0x92eff9=a55_0x2b078e,_0x4a7227={'QwnOJ':_0x92eff9(0x23a),'uqsRi':function(_0x48229e,_0x2c0991,_0x5532b0,_0x122e43,_0x240c76,_0xe2b95d){return _0x48229e(_0x2c0991,_0x5532b0,_0x122e43,_0x240c76,_0xe2b95d);},'FAyPu':function(_0x837e5f,_0x5aef6a){return _0x837e5f(_0x5aef6a);},'RaCNE':_0x92eff9(0x248)},_0x3c830a=process[_0x92eff9(0x1e9)]['slice'](0x2),_0x44fdcf=new BrowserStackSetup(_0x227e53[_0x92eff9(0x1e9)],_0x4a7227['QwnOJ']);return _0x4a7227['uqsRi'](captureError,_0x4a7227['FAyPu'](require,_0x4a7227[_0x92eff9(0x1d1)]),_0x227e53[_0x92eff9(0x1e9)],_0x44fdcf,_0x3c830a,!![]);})[a55_0x2b078e(0x1ff)](a55_0x2b078e(0x1f4),Constants['VANILLA'][a55_0x2b078e(0x23d)],function(_0x2140ef){const _0xacb4d8=a55_0x2b078e,_0x2e1da8={'cyrhq':_0xacb4d8(0x1f0),'fIgaV':function(_0x2f84a8,_0x462045){return _0x2f84a8(_0x462045);},'bRrtK':'newman','swWLB':function(_0x2c3f8b,_0x487db8,_0x2f10c6,_0x2d55a5,_0x1c00d5){return _0x2c3f8b(_0x487db8,_0x2f10c6,_0x2d55a5,_0x1c00d5);},'BGibh':function(_0x10e245,_0x28482e){return _0x10e245(_0x28482e);},'PVdSp':_0xacb4d8(0x246),'IuXZM':function(_0x531cb1,_0x232b8d){return _0x531cb1(_0x232b8d);},'hhOAa':_0xacb4d8(0x1f2)},_0xdae6f2=process[_0xacb4d8(0x1e9)][_0xacb4d8(0x1cf)](0x2),_0x99792=new BrowserStackSetup(_0x2140ef['argv'],_0x2e1da8['cyrhq']),_0x2314f0=_0x99792?_0x99792['config']:null;if(_0x2e1da8[_0xacb4d8(0x258)](isNewman,_0x2314f0))return _0x99792[_0xacb4d8(0x1b4)]=_0x2e1da8[_0xacb4d8(0x21e)],global[_0xacb4d8(0x1b4)]=_0x2e1da8['bRrtK'],_0x2e1da8[_0xacb4d8(0x229)](captureError,_0x2e1da8['BGibh'](require,_0x2e1da8[_0xacb4d8(0x1b6)]),_0x2140ef[_0xacb4d8(0x1e9)],_0x99792,_0xdae6f2);return _0x2e1da8[_0xacb4d8(0x229)](captureError,_0x2e1da8['IuXZM'](require,_0x2e1da8[_0xacb4d8(0x1d9)]),_0x2140ef[_0xacb4d8(0x1e9)],_0x99792,_0xdae6f2);})['command'](a55_0x2b078e(0x1bf),Constants[a55_0x2b078e(0x1bc)][a55_0x2b078e(0x23d)],function(_0x1c8db6){const _0x3af5fc=a55_0x2b078e,_0x3445aa={'mOnKM':function(_0x4ce0d1,_0x158835,_0x48fb9d,_0x19e3df,_0xa789fb){return _0x4ce0d1(_0x158835,_0x48fb9d,_0x19e3df,_0xa789fb);},'amISU':function(_0x1597a4,_0x11b61e){return _0x1597a4(_0x11b61e);},'WOshy':_0x3af5fc(0x1cd)},_0x515fda=process[_0x3af5fc(0x1e9)][_0x3af5fc(0x1cf)](0x2),_0x23f8aa=new BrowserStackSetup(_0x1c8db6[_0x3af5fc(0x1e9)]);return _0x3445aa[_0x3af5fc(0x23f)](captureError,_0x3445aa['amISU'](require,_0x3445aa[_0x3af5fc(0x1f1)]),_0x1c8db6[_0x3af5fc(0x1e9)],_0x23f8aa,_0x515fda);})['command'](a55_0x2b078e(0x1d3),Constants[a55_0x2b078e(0x232)][a55_0x2b078e(0x23d)],function(_0x3f4d5c){const _0x40d066=a55_0x2b078e,_0x5400b0={'CpiND':'codeceptjs','tOnFD':function(_0x43b254,_0x4396f0,_0x5918d7,_0xd0c951,_0x2df4eb){return _0x43b254(_0x4396f0,_0x5918d7,_0xd0c951,_0x2df4eb);},'iAnaL':function(_0x1bdb03,_0x2e3bae){return _0x1bdb03(_0x2e3bae);},'PUJvf':_0x40d066(0x1e3)},_0x54b77d=process[_0x40d066(0x1e9)][_0x40d066(0x1cf)](0x2),_0x19222c=new BrowserStackSetup(_0x3f4d5c['argv'],_0x5400b0[_0x40d066(0x22c)]);return _0x5400b0[_0x40d066(0x243)](captureError,_0x5400b0[_0x40d066(0x1ea)](require,_0x5400b0[_0x40d066(0x1d6)]),_0x3f4d5c[_0x40d066(0x1e9)],_0x19222c,_0x54b77d);})[a55_0x2b078e(0x1ff)](a55_0x2b078e(0x24b),Constants['HST'][a55_0x2b078e(0x23d)],function(_0x518320){const _0x1ab775=a55_0x2b078e,_0x51140e={'GLBPQ':function(_0x48e5cd,_0x56ef1f,_0x289080){return _0x48e5cd(_0x56ef1f,_0x289080);},'GDQGO':function(_0x515c01,_0x2f1179){return _0x515c01(_0x2f1179);},'XWTIt':_0x1ab775(0x225)},_0x2d76d7=process[_0x1ab775(0x1e9)][_0x1ab775(0x1cf)](0x2);return _0x51140e['GLBPQ'](captureError,_0x51140e['GDQGO'](require,_0x51140e[_0x1ab775(0x230)]),_0x518320);})[a55_0x2b078e(0x1ff)](a55_0x2b078e(0x1c2),Constants[a55_0x2b078e(0x223)][a55_0x2b078e(0x23d)],function(_0x3c9285){const _0xb0d18c={'rMEKS':function(_0x3da756,_0x4ec546){return _0x3da756(_0x4ec546);}};return _0xb0d18c['rMEKS'](runIntegrations,_0x3c9285);})[a55_0x2b078e(0x1ff)](a55_0x2b078e(0x203),Constants['PLAYWRIGHT'][a55_0x2b078e(0x23d)],function(_0x10038d){const _0x5e48ad=a55_0x2b078e,_0xddbce1={'yCiQB':'pw:channel','wXFaU':function(_0x308676,_0x57acd4){return _0x308676&&_0x57acd4;},'ooHks':function(_0x107bc2,_0x1e5d48,_0xe8e6fd,_0xd62976,_0x1bdab7,_0x1421a3){return _0x107bc2(_0x1e5d48,_0xe8e6fd,_0xd62976,_0x1bdab7,_0x1421a3);},'epAYr':function(_0x3540f5,_0xb4f45e){return _0x3540f5(_0xb4f45e);},'qomou':_0x5e48ad(0x1d2)},_0x28015e=process['argv']['slice'](0x2);helper['getConfigPath'](process[_0x5e48ad(0x1e9)])&&(process[_0x5e48ad(0x213)][_0x5e48ad(0x24f)]=helper[_0x5e48ad(0x240)](process[_0x5e48ad(0x1e9)]));helper[_0x5e48ad(0x255)](),helper[_0x5e48ad(0x1b8)]();const _0x35c24d=new BrowserStackSetup(_0x10038d[_0x5e48ad(0x1e9)],FRAMEWORKS[_0x5e48ad(0x208)]);try{if(!_0x35c24d[_0x5e48ad(0x234)]||!_0x35c24d[_0x5e48ad(0x234)][_0x5e48ad(0x1da)]){const _0x510dce=_0xddbce1[_0x5e48ad(0x221)],_0x31a8aa=process['env']['DEBUG']||'',_0xf28a7=_0x31a8aa['split'](',')[_0x5e48ad(0x1ca)](_0x29f61c=>_0x29f61c[_0x5e48ad(0x1e8)]())[_0x5e48ad(0x22d)](Boolean),_0x1a843e=_0xf28a7[_0x5e48ad(0x1ef)](_0x276679=>_0x276679===_0x5e48ad(0x20a)||_0x276679==='-pw:*'||_0x276679==='-*'),_0x532190=_0xf28a7['some'](_0x202668=>_0x202668===_0x510dce||_0x202668==='pw:*'||_0x202668==='*');if(_0xddbce1['wXFaU'](!_0x1a843e,!_0x532190)){const _0x536869=helper[_0x5e48ad(0x1f5)]();_0x536869&&(process['env'][_0x5e48ad(0x1b5)]=_0x31a8aa?_0x31a8aa+','+_0x510dce:_0x510dce,!process[_0x5e48ad(0x213)]['DEBUG_FILE']&&(process['env']['DEBUG_FILE']=_0x536869));}}}catch(_0x31b7d3){logger[_0x5e48ad(0x1f7)](_0x5e48ad(0x1f3)+util['format'](_0x31b7d3));}return _0xddbce1[_0x5e48ad(0x22b)](captureError,_0xddbce1[_0x5e48ad(0x1be)](require,_0xddbce1[_0x5e48ad(0x1ce)]),_0x10038d[_0x5e48ad(0x1e9)],_0x35c24d,_0x28015e,!![]);})['command'](a55_0x2b078e(0x1ba),a55_0x2b078e(0x252),function(_0x310b22){const _0x3bb184=a55_0x2b078e,_0x278852={};_0x278852[_0x3bb184(0x20f)]=_0x3bb184(0x206),_0x278852[_0x3bb184(0x1e7)]=_0x3bb184(0x21b),_0x278852['BsXVk']=_0x3bb184(0x1eb);const _0xa39185=_0x278852;return _0x310b22[_0x3bb184(0x206)](![])[_0x3bb184(0x1ec)](_0xa39185[_0x3bb184(0x20f)],{'alias':'h','type':_0xa39185[_0x3bb184(0x1e7)],'describe':_0xa39185['BsXVk']})['strict'](![])['exitProcess'](![]);},function(_0xaa0dee){const _0x21862f=a55_0x2b078e,_0x536bd0={'hZsWq':function(_0x17c06e,_0x3dff82,_0x58012e){return _0x17c06e(_0x3dff82,_0x58012e);},'csQkq':function(_0x28586c,_0x50a97a){return _0x28586c(_0x50a97a);},'CNnKu':_0x21862f(0x24e)},_0x5f1631={};return _0x5f1631[_0x21862f(0x1e9)]=_0xaa0dee,_0x536bd0[_0x21862f(0x204)](captureError,_0x536bd0[_0x21862f(0x1c7)](require,_0x536bd0['CNnKu']),_0x5f1631);})['command'](a55_0x2b078e(0x257),Constants['NEWMAN'][a55_0x2b078e(0x23d)],function(_0x45d545){const _0xfee06c=a55_0x2b078e,_0x17e30d={'uBUst':_0xfee06c(0x257),'PSciH':function(_0x3f9ad9,_0x2c4f17,_0x1e9c17,_0x5562d0,_0x2d13e4){return _0x3f9ad9(_0x2c4f17,_0x1e9c17,_0x5562d0,_0x2d13e4);},'zQwbI':function(_0xc6368b,_0x4b1bda){return _0xc6368b(_0x4b1bda);},'hgLgk':_0xfee06c(0x246)},_0x1e32b8=process[_0xfee06c(0x1e9)]['slice'](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable'](),_0x45d545['strict'](![]);const _0x4a49d2=new BrowserStackSetup(_0x45d545[_0xfee06c(0x1e9)],_0x17e30d[_0xfee06c(0x250)]);return _0x17e30d['PSciH'](captureError,_0x17e30d[_0xfee06c(0x238)](require,_0x17e30d[_0xfee06c(0x20c)]),_0x45d545[_0xfee06c(0x1e9)],_0x4a49d2,_0x1e32b8);})['demandCommand'](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a55_0x2b078e(0x1c8)](null)[a55_0x2b078e(0x1e9)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a55_0x2b078e(0x24b)&&console[a55_0x2b078e(0x242)](a55_0x2b078e(0x1b9));
2
+ 'use strict';const a55_0x354a51=a55_0x47e0;(function(_0x1e4625,_0x38c52c){const _0x4fd893=a55_0x47e0,_0x1789f0=_0x1e4625();while(!![]){try{const _0x474309=-parseInt(_0x4fd893(0x1dc))/0x1+-parseInt(_0x4fd893(0x1a6))/0x2*(parseInt(_0x4fd893(0x1bb))/0x3)+-parseInt(_0x4fd893(0x1bf))/0x4*(parseInt(_0x4fd893(0x1d5))/0x5)+-parseInt(_0x4fd893(0x1c0))/0x6+parseInt(_0x4fd893(0x211))/0x7*(parseInt(_0x4fd893(0x1f5))/0x8)+-parseInt(_0x4fd893(0x1a4))/0x9*(-parseInt(_0x4fd893(0x206))/0xa)+parseInt(_0x4fd893(0x22a))/0xb;if(_0x474309===_0x38c52c)break;else _0x1789f0['push'](_0x1789f0['shift']());}catch(_0x36e66a){_0x1789f0['push'](_0x1789f0['shift']());}}}(a55_0x204f,0xbc7fc));const fs=require('fs'),path=require(a55_0x354a51(0x1f1)),util=require(a55_0x354a51(0x210)),spawn=require(a55_0x354a51(0x209))[a55_0x354a51(0x1ad)],{requireModule}=require(a55_0x354a51(0x20a)),PerformanceTester=require(a55_0x354a51(0x1d3)),PerformanceEvents=require(a55_0x354a51(0x1b2))['EVENTS'],helper=require(a55_0x354a51(0x20a)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a55_0x354a51(0x214)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a55_0x354a51(0x1da)),yargs=require('yargs'),Constants=require(a55_0x354a51(0x213)),BrowserstackCLI=require(a55_0x354a51(0x1f2)),{isNewman}=require('./newman/helper'),logger=require('../helpers/logger')[a55_0x354a51(0x22c)],origArgs=Object[a55_0x354a51(0x1b6)]([],process['argv']),captureError=async(_0x4c3b69,_0x3114f3,_0x1f8480,_0xe02705=null,_0x5edf72=![])=>{const _0x5cec06=a55_0x354a51,_0x44ad8b={'gEgiv':function(_0x47a3ae,_0xc9bdda,_0x5d4580,_0x39abf2){return _0x47a3ae(_0xc9bdda,_0x5d4580,_0x39abf2);},'gYQsM':_0x5cec06(0x204)};try{logger[_0x5cec06(0x20d)]('Running\x20SDK\x20with\x20args\x20'+origArgs['join']('\x20')),await _0x44ad8b[_0x5cec06(0x1dd)](_0x4c3b69,_0x3114f3,_0xe02705,_0x1f8480);}catch(_0x2e4427){process['exitCode']=0x1,logger['error'](util[_0x5cec06(0x1e2)](_0x2e4427));const _0x3b0282={'globalException':util[_0x5cec06(0x1e2)]('%j',_0x2e4427)};PerformanceTester[_0x5cec06(0x1b0)](PerformanceEvents[_0x5cec06(0x19e)],![],util[_0x5cec06(0x1e2)](_0x2e4427));if(helper[_0x5cec06(0x21b)](global[_0x5cec06(0x1c3)])&&helper[_0x5cec06(0x21b)](global[_0x5cec06(0x1af)]))return;try{utilities['fireFunnelTestEvent'](_0x44ad8b['gYQsM'],_0x3b0282,global['config'],global[_0x5cec06(0x1af)]);}catch(_0x48132e){logger[_0x5cec06(0x1ff)](_0x5cec06(0x1c7)+_0x48132e[_0x5cec06(0x228)]);}try{await helper['sendLogs'](global['config']);}catch(_0x2eeedb){logger[_0x5cec06(0x1ff)](_0x5cec06(0x216)+_0x2eeedb[_0x5cec06(0x228)]);}PerformanceTester['end'](PerformanceEvents[_0x5cec06(0x19e)],![],util[_0x5cec06(0x1e2)](_0x2e4427));}finally{!_0x5edf72&&await BrowserstackCLI[_0x5cec06(0x227)]()[_0x5cec06(0x1e0)](),PerformanceTester[_0x5cec06(0x1ae)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a55_0x354a51(0x1c8)](helper[a55_0x354a51(0x1ab)](),a55_0x354a51(0x21f));if(fs[a55_0x354a51(0x1ac)](browserstackFolderPath)){const filePath=path[a55_0x354a51(0x1c8)](browserstackFolderPath,a55_0x354a51(0x1ec));fs[a55_0x354a51(0x1ac)](filePath)&&fs[a55_0x354a51(0x195)](filePath);}}catch(a55_0xf32661){logger[a55_0x354a51(0x1ff)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a55_0xf32661['message']);}function a55_0x204f(){const _0x382702=['child_process','../helpers/helper','slice','disableAutoCaptureLogs','info','--mochaRequire','./cucumber-js/command','util','1771ECkRfm','help','./utils/constants','../helpers/BrowserStackSetup','djNOf','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','atUaC','CODECEPTJS','XpXso','jest','isUndefined','dEqdh','some','NYsLj','.browserstack','version','KoKOm','./nightwatch/command','option','alias','JEST','NIGHTWATCH','getInstance','stack','find','12077472rETkYP','tgffo','winstonLogger','showHelpOnFail','DEBUG','--package','cucumber-js','--opts','EZKpa','unlinkSync','pZkrr','ats','mocha','strict','INTEGRATIONS','IDuLr','xKntz','Runs\x20the\x20binary\x20with\x20load\x20command','SDK_SETUP','setTestObservabilityDisable','sVVDn','includes','bKZLX','oTvLw','2598741vZdHlD','INFO','960XRhFKo','BROWSERSTACK_CONFIG_FILE_PATH','./vanilla-js/command','jlUcR','nZKJS','homedir','existsSync','spawn','start','framework','end','map','../helpers/performance/constants','VANILLA','run','./newman/command','assign','Jayzc','./mocha/command','command','playwright','1812tOUJIh','nightwatch','JnAud','GQuqZ','576988wfJiIy','2305260VBIrLZ','--no-opts','alPUk','config','newman','handler','NMUZT','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','join','DEBUG_FILE','pw:*','dot-notation','load\x20[subcommand]','../../ats/src/index','env','CASiq','gOoMu','PXzEV','pw:channel','../helpers/performance/performance-tester','enPoD','35ctclxp','Lhzyq','findAndReplace','sauan','describe','./integrations/command','wrap','249639UEDTwE','gEgiv','argv','WYvmU','stop','PVrWQ','format','YmWwM','pw:channel\x20auto-capture\x20seed\x20failed:\x20','CUCUMBER','Show\x20help','ZHkIF','PLAYWRIGHT','duXOL','VSUTV','uRJVi','.local-not-set.json','setBrowserStackAutomationDisable','vanilla','split','maPOl','path','./v2/browserstackCLI','eTWrI','PBHsr','41704qyKIVP','filter','trim','getConfigPath','usage:\x20$0\x20<command>\x20[args]','./codeceptjs/command','VERSION','getPwChannelLogPath','fuuMO','HST','debug','parserConfiguration','mpsoD','--no-package','integrations','SDKTestSuccessful','push','10PTDzOG','OWwcE','EyPKg'];a55_0x204f=function(){return _0x382702;};return a55_0x204f();}process['argv'][a55_0x354a51(0x1a1)](a55_0x354a51(0x198))&&(!process['argv'][a55_0x354a51(0x1a1)](a55_0x354a51(0x193))&&process[a55_0x354a51(0x1de)]['push'](a55_0x354a51(0x1c1)),!process[a55_0x354a51(0x1de)][a55_0x354a51(0x229)](_0x1ba60c=>_0x1ba60c[a55_0x354a51(0x1a1)]('--config'))&&process[a55_0x354a51(0x1de)]['push']('--no-config'),!process[a55_0x354a51(0x1de)][a55_0x354a51(0x1a1)](a55_0x354a51(0x191))&&process[a55_0x354a51(0x1de)][a55_0x354a51(0x205)](a55_0x354a51(0x202)),helper[a55_0x354a51(0x1d7)](process[a55_0x354a51(0x1de)],'--require',a55_0x354a51(0x20e)));function a55_0x47e0(_0x486f53,_0x1e6ca1){const _0x204f0e=a55_0x204f();return a55_0x47e0=function(_0x47e0b3,_0x205bbe){_0x47e0b3=_0x47e0b3-0x190;let _0x22f02e=_0x204f0e[_0x47e0b3];return _0x22f02e;},a55_0x47e0(_0x486f53,_0x1e6ca1);}PerformanceTester[a55_0x354a51(0x1ae)](PerformanceEvents[a55_0x354a51(0x19e)]);const a55_0x3d4803={};a55_0x3d4803[a55_0x354a51(0x1cb)]=![];const argv=yargs[a55_0x354a51(0x200)](a55_0x3d4803)['usage'](a55_0x354a51(0x1f9))[a55_0x354a51(0x224)]('v',a55_0x354a51(0x220))[a55_0x354a51(0x1d9)]('v')[a55_0x354a51(0x224)]('h',a55_0x354a51(0x212))[a55_0x354a51(0x212)](a55_0x354a51(0x212))[a55_0x354a51(0x22d)](!![],Constants[a55_0x354a51(0x1fb)]['HELP'])[a55_0x354a51(0x1b9)]('jest',Constants[a55_0x354a51(0x225)]['INFO'],function(_0x1d6a73){const _0x36e093=a55_0x354a51,_0x2f8fce={'nAEwO':_0x36e093(0x21a),'oTvLw':function(_0x3f04d0,_0xb580e7,_0x4fc30a,_0x2a7c9b,_0x52ee69,_0x30cb22){return _0x3f04d0(_0xb580e7,_0x4fc30a,_0x2a7c9b,_0x52ee69,_0x30cb22);},'pfIbG':function(_0x367f92,_0x25ddb6){return _0x367f92(_0x25ddb6);},'PXzEV':'./jest/command'},_0x30da7d=process[_0x36e093(0x1de)]['slice'](0x2);helper[_0x36e093(0x19f)](),helper[_0x36e093(0x1ed)](),_0x1d6a73['strict'](![]);const _0x27139=new BrowserStackSetup(_0x1d6a73[_0x36e093(0x1de)],_0x2f8fce['nAEwO']);return _0x2f8fce[_0x36e093(0x1a3)](captureError,_0x2f8fce['pfIbG'](require,_0x2f8fce[_0x36e093(0x1d1)]),_0x1d6a73['argv'],_0x27139,_0x30da7d,!![]);})[a55_0x354a51(0x1b9)]('mocha',Constants['MOCHA']['INFO'],_0x4f59f5=>{const _0x1f4460=a55_0x354a51,_0x9f4e5c={'nZKJS':function(_0x44f06c,_0xecb49c,_0x31cbc2,_0x372731){return _0x44f06c(_0xecb49c,_0x31cbc2,_0x372731);},'AXmNn':function(_0x244bbd,_0x47488a){return _0x244bbd(_0x47488a);},'atUaC':_0x1f4460(0x1b8),'sauan':'mocha','Lhzyq':'Parsing\x20command\x20line\x20arguments','GQuqZ':function(_0xd496aa,_0x4f1ffe,_0x2183d7){return _0xd496aa(_0x4f1ffe,_0x2183d7);},'PBHsr':'mocha/lib/cli/run.js','CASiq':function(_0x1de4fd,_0x20c2b7,_0x26b411){return _0x1de4fd(_0x20c2b7,_0x26b411);},'EyPKg':'mocha/lib/cli/commands.js','NMUZT':'mocha/lib/cli/cli.js','VNfWf':function(_0x57538e){return _0x57538e();}};process[_0x1f4460(0x1de)]=process['argv'][_0x1f4460(0x20b)](0x1),helper[_0x1f4460(0x19f)](),helper[_0x1f4460(0x1ed)]();const _0x52794a=new BrowserStackSetup(_0x4f59f5['argv'],_0x9f4e5c['sauan']);logger['debug'](_0x9f4e5c[_0x1f4460(0x1d6)]);const _0x22dc14=_0x9f4e5c[_0x1f4460(0x1be)](requireModule,_0x9f4e5c[_0x1f4460(0x1f4)],_0x9f4e5c[_0x1f4460(0x1d8)]),_0x5a9992=_0x9f4e5c[_0x1f4460(0x1cf)](requireModule,_0x9f4e5c[_0x1f4460(0x208)],_0x9f4e5c['sauan']);delete _0x22dc14[_0x1f4460(0x1c5)],_0x22dc14[_0x1f4460(0x1c5)]=function(_0x2e3ffd){const _0x6b2a82=_0x1f4460;return _0x9f4e5c[_0x6b2a82(0x1aa)](captureError,_0x9f4e5c['AXmNn'](require,_0x9f4e5c[_0x6b2a82(0x217)]),_0x2e3ffd,_0x52794a);},_0x5a9992[_0x1f4460(0x1b4)]=_0x22dc14;const {main:_0x41b07c}=_0x9f4e5c[_0x1f4460(0x1cf)](requireModule,_0x9f4e5c[_0x1f4460(0x1c6)],_0x9f4e5c[_0x1f4460(0x1d8)]);_0x9f4e5c['VNfWf'](_0x41b07c);})[a55_0x354a51(0x1b9)](a55_0x354a51(0x192),Constants[a55_0x354a51(0x1e5)]['INFO'],function(_0x50e555){const _0x3c11cb=a55_0x354a51,_0x16dac9={'Jayzc':_0x3c11cb(0x192),'PVrWQ':function(_0x54260d,_0x6487d3,_0x2a9488,_0x138bf4,_0x57ffe8,_0x34db7b){return _0x54260d(_0x6487d3,_0x2a9488,_0x138bf4,_0x57ffe8,_0x34db7b);},'sVVDn':function(_0x34790a,_0x3d0d96){return _0x34790a(_0x3d0d96);},'jlUcR':_0x3c11cb(0x20f)},_0x3980a7=process[_0x3c11cb(0x1de)][_0x3c11cb(0x20b)](0x2),_0x119e55=new BrowserStackSetup(_0x50e555['argv'],_0x16dac9[_0x3c11cb(0x1b7)]);return _0x16dac9[_0x3c11cb(0x1e1)](captureError,_0x16dac9[_0x3c11cb(0x1a0)](require,_0x16dac9[_0x3c11cb(0x1a9)]),_0x50e555['argv'],_0x119e55,_0x3980a7,!![]);})[a55_0x354a51(0x1b9)]('node',Constants[a55_0x354a51(0x1b3)][a55_0x354a51(0x1a5)],function(_0x2313c9){const _0x49f076=a55_0x354a51,_0x4ecdbd={'pZkrr':_0x49f076(0x1ee),'YmWwM':function(_0x2ad694,_0x7c6f9a){return _0x2ad694(_0x7c6f9a);},'XpXso':_0x49f076(0x1c4),'WYvmU':function(_0x2976b5,_0x507325,_0x1c2d47,_0x54b974,_0x2d2e89){return _0x2976b5(_0x507325,_0x1c2d47,_0x54b974,_0x2d2e89);},'MpFwi':function(_0x2b2746,_0x186bfa){return _0x2b2746(_0x186bfa);},'ZHkIF':_0x49f076(0x1b5),'IDuLr':_0x49f076(0x1a8)},_0x73d064=process['argv'][_0x49f076(0x20b)](0x2),_0x51bba4=new BrowserStackSetup(_0x2313c9[_0x49f076(0x1de)],_0x4ecdbd[_0x49f076(0x196)]),_0x21527a=_0x51bba4?_0x51bba4[_0x49f076(0x1c3)]:null;if(_0x4ecdbd[_0x49f076(0x1e3)](isNewman,_0x21527a))return _0x51bba4[_0x49f076(0x1af)]=_0x4ecdbd[_0x49f076(0x219)],global[_0x49f076(0x1af)]=_0x4ecdbd[_0x49f076(0x219)],_0x4ecdbd['WYvmU'](captureError,_0x4ecdbd['MpFwi'](require,_0x4ecdbd[_0x49f076(0x1e7)]),_0x2313c9['argv'],_0x51bba4,_0x73d064);return _0x4ecdbd[_0x49f076(0x1df)](captureError,_0x4ecdbd['YmWwM'](require,_0x4ecdbd[_0x49f076(0x19b)]),_0x2313c9['argv'],_0x51bba4,_0x73d064);})['command'](a55_0x354a51(0x1bc),Constants[a55_0x354a51(0x226)][a55_0x354a51(0x1a5)],function(_0x2c1022){const _0x2c697f=a55_0x354a51,_0x341d66={'OesUA':function(_0x32e77e,_0x755527,_0x27f36a,_0x349fc0,_0x25bf1b){return _0x32e77e(_0x755527,_0x27f36a,_0x349fc0,_0x25bf1b);},'maPOl':function(_0x47f1a7,_0x433326){return _0x47f1a7(_0x433326);},'uRJVi':_0x2c697f(0x222)},_0x176754=process[_0x2c697f(0x1de)][_0x2c697f(0x20b)](0x2),_0x2f7677=new BrowserStackSetup(_0x2c1022[_0x2c697f(0x1de)]);return _0x341d66['OesUA'](captureError,_0x341d66[_0x2c697f(0x1f0)](require,_0x341d66[_0x2c697f(0x1eb)]),_0x2c1022[_0x2c697f(0x1de)],_0x2f7677,_0x176754);})[a55_0x354a51(0x1b9)]('codeceptjs',Constants[a55_0x354a51(0x218)][a55_0x354a51(0x1a5)],function(_0x179063){const _0x1241f4=a55_0x354a51,_0x299cf8={'NYsLj':'codeceptjs','bKZLX':function(_0xe57a5b,_0x3c6142,_0x4d9bec,_0x482bed,_0x3b9d5f){return _0xe57a5b(_0x3c6142,_0x4d9bec,_0x482bed,_0x3b9d5f);},'kpbJE':function(_0x5c6892,_0x1a61c0){return _0x5c6892(_0x1a61c0);},'fuuMO':_0x1241f4(0x1fa)},_0x338e8b=process[_0x1241f4(0x1de)][_0x1241f4(0x20b)](0x2),_0xa8933f=new BrowserStackSetup(_0x179063[_0x1241f4(0x1de)],_0x299cf8[_0x1241f4(0x21e)]);return _0x299cf8[_0x1241f4(0x1a2)](captureError,_0x299cf8['kpbJE'](require,_0x299cf8[_0x1241f4(0x1fd)]),_0x179063['argv'],_0xa8933f,_0x338e8b);})[a55_0x354a51(0x1b9)](a55_0x354a51(0x197),Constants[a55_0x354a51(0x1fe)][a55_0x354a51(0x1a5)],function(_0x1f5d58){const _0x4256a7=a55_0x354a51,_0x1d7583={'xKntz':function(_0x5a9a3e,_0xc3cbe0,_0x342e60){return _0x5a9a3e(_0xc3cbe0,_0x342e60);},'kRYne':function(_0x39ac1f,_0x318f36){return _0x39ac1f(_0x318f36);},'HVpoZ':_0x4256a7(0x1cd)},_0x22504d=process['argv'][_0x4256a7(0x20b)](0x2);return _0x1d7583[_0x4256a7(0x19c)](captureError,_0x1d7583['kRYne'](require,_0x1d7583['HVpoZ']),_0x1f5d58);})[a55_0x354a51(0x1b9)](a55_0x354a51(0x203),Constants[a55_0x354a51(0x19a)][a55_0x354a51(0x1a5)],function(_0x1f90d5){const _0x4fea2b=a55_0x354a51,_0x4168c7={'alPUk':function(_0x450255,_0x344f53){return _0x450255(_0x344f53);}};return _0x4168c7[_0x4fea2b(0x1c2)](runIntegrations,_0x1f90d5);})[a55_0x354a51(0x1b9)](a55_0x354a51(0x1ba),Constants[a55_0x354a51(0x1e8)][a55_0x354a51(0x1a5)],function(_0x44f180){const _0x361de3=a55_0x354a51,_0x4f37e9={'eTWrI':_0x361de3(0x1d2),'dEqdh':function(_0x3c8ce8,_0x17376b){return _0x3c8ce8&&_0x17376b;},'duXOL':function(_0x59f911,_0x5e959a,_0x31dcf2,_0x37a706,_0x44a74c,_0x33a6cd){return _0x59f911(_0x5e959a,_0x31dcf2,_0x37a706,_0x44a74c,_0x33a6cd);},'VSUTV':function(_0x58e493,_0x22ca95){return _0x58e493(_0x22ca95);},'enPoD':'./playwright/command'},_0x2c1cd8=process[_0x361de3(0x1de)][_0x361de3(0x20b)](0x2);helper[_0x361de3(0x1f8)](process[_0x361de3(0x1de)])&&(process[_0x361de3(0x1ce)][_0x361de3(0x1a7)]=helper[_0x361de3(0x1f8)](process[_0x361de3(0x1de)]));helper[_0x361de3(0x19f)](),helper[_0x361de3(0x1ed)]();const _0xc5c555=new BrowserStackSetup(_0x44f180['argv'],FRAMEWORKS[_0x361de3(0x1e8)]);try{if(!_0xc5c555[_0x361de3(0x1c3)]||!_0xc5c555[_0x361de3(0x1c3)][_0x361de3(0x20c)]){const _0x44fcfa=_0x4f37e9[_0x361de3(0x1f3)],_0x976a89=process[_0x361de3(0x1ce)][_0x361de3(0x190)]||'',_0x26d277=_0x976a89[_0x361de3(0x1ef)](',')[_0x361de3(0x1b1)](_0x3a0ce6=>_0x3a0ce6[_0x361de3(0x1f7)]())[_0x361de3(0x1f6)](Boolean),_0x484676=_0x26d277[_0x361de3(0x21d)](_0xa8260a=>_0xa8260a==='-pw:channel'||_0xa8260a==='-pw:*'||_0xa8260a==='-*'),_0x5c7f78=_0x26d277[_0x361de3(0x21d)](_0x37a702=>_0x37a702===_0x44fcfa||_0x37a702===_0x361de3(0x1ca)||_0x37a702==='*');if(_0x4f37e9[_0x361de3(0x21c)](!_0x484676,!_0x5c7f78)){const _0x33033e=helper[_0x361de3(0x1fc)]();_0x33033e&&(process[_0x361de3(0x1ce)][_0x361de3(0x190)]=_0x976a89?_0x976a89+','+_0x44fcfa:_0x44fcfa,!process[_0x361de3(0x1ce)][_0x361de3(0x1c9)]&&(process[_0x361de3(0x1ce)]['DEBUG_FILE']=_0x33033e));}}}catch(_0x57aba3){logger['debug'](_0x361de3(0x1e4)+util['format'](_0x57aba3));}return _0x4f37e9[_0x361de3(0x1e9)](captureError,_0x4f37e9[_0x361de3(0x1ea)](require,_0x4f37e9[_0x361de3(0x1d4)]),_0x44f180['argv'],_0xc5c555,_0x2c1cd8,!![]);})[a55_0x354a51(0x1b9)](a55_0x354a51(0x1cc),a55_0x354a51(0x19d),function(_0x56f1f7){const _0x48d774=a55_0x354a51,_0x49b4db={};_0x49b4db['uPpll']=_0x48d774(0x212),_0x49b4db[_0x48d774(0x1bd)]='boolean',_0x49b4db[_0x48d774(0x207)]=_0x48d774(0x1e6);const _0x5849b2=_0x49b4db;return _0x56f1f7[_0x48d774(0x212)](![])[_0x48d774(0x223)](_0x5849b2['uPpll'],{'alias':'h','type':_0x5849b2[_0x48d774(0x1bd)],'describe':_0x5849b2['OWwcE']})[_0x48d774(0x199)](![])['exitProcess'](![]);},function(_0xa01947){const _0x7fe402=a55_0x354a51,_0xf8e487={'tgffo':function(_0x136ab8,_0x4bf153,_0x5d346d){return _0x136ab8(_0x4bf153,_0x5d346d);},'gOoMu':function(_0x4f916a,_0x515b78){return _0x4f916a(_0x515b78);},'mpsoD':'./load/index'},_0x180756={};return _0x180756[_0x7fe402(0x1de)]=_0xa01947,_0xf8e487[_0x7fe402(0x22b)](captureError,_0xf8e487[_0x7fe402(0x1d0)](require,_0xf8e487[_0x7fe402(0x201)]),_0x180756);})['command'](a55_0x354a51(0x1c4),Constants['NEWMAN'][a55_0x354a51(0x1a5)],function(_0x487c34){const _0x2f91b2=a55_0x354a51,_0x192e11={'LgpuC':'newman','KoKOm':function(_0x28334e,_0xdf5351,_0x420cc3,_0x2d5c59,_0x15c235){return _0x28334e(_0xdf5351,_0x420cc3,_0x2d5c59,_0x15c235);},'djNOf':function(_0x171ba2,_0x1a5f53){return _0x171ba2(_0x1a5f53);},'EZKpa':_0x2f91b2(0x1b5)},_0xd8f330=process[_0x2f91b2(0x1de)]['slice'](0x2);helper[_0x2f91b2(0x19f)](),helper[_0x2f91b2(0x1ed)](),_0x487c34['strict'](![]);const _0x58e24e=new BrowserStackSetup(_0x487c34[_0x2f91b2(0x1de)],_0x192e11['LgpuC']);return _0x192e11[_0x2f91b2(0x221)](captureError,_0x192e11[_0x2f91b2(0x215)](require,_0x192e11[_0x2f91b2(0x194)]),_0x487c34[_0x2f91b2(0x1de)],_0x58e24e,_0xd8f330);})['demandCommand'](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a55_0x354a51(0x1db)](null)[a55_0x354a51(0x1de)];!helper[a55_0x354a51(0x21b)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a55_0x354a51(0x197)&&console['error']('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const a56_0x41eb95=a56_0x45cf;function a56_0x1af7(){const _0x97beaa=['HNVMy','CIebr','winstonLogger','playwright','push','error','cwd','fireFunnelTestEvent','oGgZN','argv','username','npm\x20update\x20browserstack-node-sdk','postinstall','readFileSync','join','mocha','rFskz','zyAZY','1357038oWLvty','3736674kGcSMx','replace','includes','Setup\x20completed','uSSib','Adding\x20new\x20script(s)\x20in\x20package.json...','/../../browserstack.pw.yml.sample','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','../helpers/logger','Creating\x20configuration\x20file...','length','load','nGXfB','1289748lZpkOc','indexOf','8DzNgCT','source','148026bBBfta','FlfKX','scripts','RlTgo','parse','jHdNs','key','3665536xLWRgc','YOUR_USERNAME','splice','5CgXelw','iEkFR','writeFileSync','browserstack-node-sdk','YOUR_ACCESS_KEY','yargs','entries','node-setup','node','2ThpOYf','cucumber-js','js-yaml','/package.json','split','/../../browserstack.yml.sample','nightwatch','11298420psCdXZ','browserstack-node-sdk\x20','../helpers/helper','fHIAR','debug','codeceptjs','1559433HbaifA','tgNdQ','uUSrj','stringify','../helpers/utilities','\x20&&\x20npm\x20update\x20browserstack-node-sdk','SDKSetup','UPZMh','ClVdZ','info'];a56_0x1af7=function(){return _0x97beaa;};return a56_0x1af7();}(function(_0x46cfb8,_0x5a5494){const _0x2e5f20=a56_0x45cf,_0x2032e1=_0x46cfb8();while(!![]){try{const _0x167c75=parseInt(_0x2e5f20(0x115))/0x1+parseInt(_0x2e5f20(0x128))/0x2*(parseInt(_0x2e5f20(0x135))/0x3)+-parseInt(_0x2e5f20(0x111))/0x4*(parseInt(_0x2e5f20(0x11f))/0x5)+-parseInt(_0x2e5f20(0x103))/0x6+-parseInt(_0x2e5f20(0x11c))/0x7*(parseInt(_0x2e5f20(0x113))/0x8)+-parseInt(_0x2e5f20(0x104))/0x9+parseInt(_0x2e5f20(0x12f))/0xa;if(_0x167c75===_0x5a5494)break;else _0x2032e1['push'](_0x2032e1['shift']());}catch(_0x35d987){_0x2032e1['push'](_0x2032e1['shift']());}}}(a56_0x1af7,0x4bbdb));const fs=require('fs'),helper=require(a56_0x41eb95(0x131)),utilities=require(a56_0x41eb95(0xeb)),yaml=require(a56_0x41eb95(0x12a)),yargs=require(a56_0x41eb95(0x124)),logger=require(a56_0x41eb95(0x10c))[a56_0x41eb95(0xf3)],configFileTemplate=__dirname+a56_0x41eb95(0x12d),configFileTemplatePW=__dirname+a56_0x41eb95(0x10a),configFile=process[a56_0x41eb95(0xf7)]()+'/browserstack.yml',packageFile=process[a56_0x41eb95(0xf7)]()+a56_0x41eb95(0x12b),frameworks=[a56_0x41eb95(0x100),'jest',a56_0x41eb95(0x129),a56_0x41eb95(0x127),a56_0x41eb95(0x12e),a56_0x41eb95(0x134),'playwright'];let config;logger[a56_0x41eb95(0xf0)](a56_0x41eb95(0x10d)),createConfigurationFile(yargs[a56_0x41eb95(0xfa)][a56_0x41eb95(0xfb)],yargs[a56_0x41eb95(0xfa)][a56_0x41eb95(0x11b)],yargs[a56_0x41eb95(0xfa)][a56_0x41eb95(0xf4)]);try{sdkSetup();}catch(a56_0x3514cc){logger['debug'](a56_0x41eb95(0x10b)+a56_0x3514cc);}addScriptInPackageJson();function createConfigurationFile(_0x4154e7,_0x4c7f95,_0x27e0d0=![]){const _0x5301bc=a56_0x41eb95,_0x4bf2ec={};_0x4bf2ec[_0x5301bc(0x132)]='utf8',_0x4bf2ec[_0x5301bc(0xef)]=_0x5301bc(0x11d),_0x4bf2ec[_0x5301bc(0x116)]=_0x5301bc(0x123);const _0x3528cb=_0x4bf2ec;try{let _0x59a5c4=fs[_0x5301bc(0xfe)](_0x27e0d0?configFileTemplatePW:configFileTemplate,_0x3528cb[_0x5301bc(0x132)]);_0x4154e7&&(_0x59a5c4=_0x59a5c4['replace'](_0x3528cb['ClVdZ'],_0x4154e7)),_0x4c7f95&&(_0x59a5c4=_0x59a5c4[_0x5301bc(0x105)](_0x3528cb[_0x5301bc(0x116)],_0x4c7f95)),config=yaml[_0x5301bc(0x10f)](_0x59a5c4),fs['writeFileSync'](configFile,_0x59a5c4,_0x506148=>{const _0x121937=_0x5301bc;_0x506148&&logger[_0x121937(0xf6)](_0x506148);});}catch(_0x4b34cc){logger[_0x5301bc(0xf6)](_0x4b34cc);}}function addPostInstallScript(_0x1b7b5c,_0x38cf56){const _0x7bab5e=a56_0x41eb95,_0x2b3942={};_0x2b3942[_0x7bab5e(0x136)]=_0x7bab5e(0xfd),_0x2b3942[_0x7bab5e(0xf9)]=_0x7bab5e(0xfc),_0x2b3942['lRlqS']=_0x7bab5e(0xec);const _0x995798=_0x2b3942;let _0x28eb01=_0x1b7b5c[_0x995798[_0x7bab5e(0x136)]];if(_0x28eb01&&_0x28eb01[_0x7bab5e(0x106)](_0x995798['oGgZN']))return;!_0x28eb01?_0x28eb01=_0x995798[_0x7bab5e(0xf9)]:_0x28eb01+=_0x995798['lRlqS'],_0x38cf56[_0x7bab5e(0xf5)]([_0x995798['tgNdQ'],_0x28eb01]);}function addScriptInPackageJson(){const _0x2be01c=a56_0x41eb95,_0x12aa1e={'shuIc':'utf8','zyAZY':function(_0x4bc58d,_0x2cfa81){return _0x4bc58d<_0x2cfa81;},'rFskz':function(_0x1dcbd3,_0x104e60,_0x5b9da0){return _0x1dcbd3(_0x104e60,_0x5b9da0);},'jHdNs':function(_0x10f304,_0x5e8b38,_0x23746d){return _0x10f304(_0x5e8b38,_0x23746d);},'wuklQ':function(_0x249c19,_0x5c1c9e){return _0x249c19!==_0x5c1c9e;},'uSSib':_0x2be01c(0x109)},_0x5eb236=JSON[_0x2be01c(0x119)](fs['readFileSync'](packageFile,_0x12aa1e['shuIc'])),_0x3fa9af=[];for(let _0x5881d2=0x0;_0x12aa1e[_0x2be01c(0x102)](_0x5881d2,frameworks[_0x2be01c(0x10e)]);_0x5881d2+=0x1){const _0x26d2fa=_0x12aa1e[_0x2be01c(0x101)](findScriptsWithFramework,_0x5eb236[_0x2be01c(0x117)],frameworks[_0x5881d2]);for(let _0x45e285=0x0;_0x12aa1e['zyAZY'](_0x45e285,_0x26d2fa[_0x2be01c(0x10e)]);_0x45e285+=0x1){_0x3fa9af['push'](_0x12aa1e[_0x2be01c(0x11a)](getUpdatedCommand,_0x5eb236[_0x2be01c(0x117)],_0x26d2fa[_0x45e285]));}_0x12aa1e[_0x2be01c(0x11a)](addPostInstallScript,_0x5eb236['scripts'],_0x3fa9af);}const _0x19bca6={..._0x5eb236[_0x2be01c(0x117)]},_0x43b782=_0x19bca6;for(let _0x308c0f=0x0;_0x12aa1e[_0x2be01c(0x102)](_0x308c0f,_0x3fa9af[_0x2be01c(0x10e)]);_0x308c0f+=0x1){_0x43b782[_0x3fa9af[_0x308c0f][0x0]]=_0x3fa9af[_0x308c0f][0x1];}_0x12aa1e['wuklQ'](JSON['stringify'](_0x5eb236[_0x2be01c(0x117)]),JSON[_0x2be01c(0x138)](_0x43b782))&&(logger[_0x2be01c(0xf0)](_0x12aa1e[_0x2be01c(0x108)]),_0x5eb236[_0x2be01c(0x117)]=_0x43b782,fs[_0x2be01c(0x121)](packageFile,JSON[_0x2be01c(0x138)](_0x5eb236,null,0x2),_0x19c46f=>{const _0x148340=_0x2be01c;_0x19c46f&&logger[_0x148340(0xf6)](_0x19c46f);}));};function findScriptsWithFramework(_0x447f11,_0x510b18){const _0x2b0fda=a56_0x41eb95,_0x3d3907={};_0x3d3907[_0x2b0fda(0x118)]=function(_0x3682c0,_0x39711c){return _0x3682c0<_0x39711c;},_0x3d3907[_0x2b0fda(0xf2)]=_0x2b0fda(0x122);const _0x3ee1b7=_0x3d3907,_0x3f9bb4=[],_0x4c1e3e=Object[_0x2b0fda(0x125)](_0x447f11);for(let _0x213dec=0x0;_0x3ee1b7[_0x2b0fda(0x118)](_0x213dec,_0x4c1e3e['length']);_0x213dec+=0x1){_0x4c1e3e[_0x213dec][0x1][_0x2b0fda(0x106)](_0x510b18)&&!_0x4c1e3e[_0x213dec][0x1][_0x2b0fda(0x106)](_0x3ee1b7[_0x2b0fda(0xf2)])&&_0x3f9bb4['push'](_0x4c1e3e[_0x213dec][0x0]);}return _0x3f9bb4;}function getUpdatedCommand(_0x5a42aa,_0x2a8e49){const _0xcfb046=a56_0x41eb95,_0x2343fa={};_0x2343fa['uUSrj']=function(_0x3a53f7,_0x1b57ce){return _0x3a53f7!==_0x1b57ce;},_0x2343fa[_0xcfb046(0xf1)]=_0xcfb046(0x122),_0x2343fa[_0xcfb046(0xee)]=function(_0x675201,_0x5adc8b){return _0x675201===_0x5adc8b;};const _0x201137=_0x2343fa,_0x499618=_0x2a8e49+'-browserstack',_0x2f1aaf=_0x5a42aa[_0x2a8e49],_0xb7a034=_0x2f1aaf[_0xcfb046(0x12c)]('\x20');for(const _0x2925b7 of frameworks){if(_0x201137[_0xcfb046(0x137)](_0xb7a034[_0xcfb046(0x112)](_0x2925b7),-0x1)){_0xb7a034[_0xcfb046(0x11e)](_0xb7a034[_0xcfb046(0x112)](_0x2925b7),0x0,_0x201137[_0xcfb046(0xf1)]);break;}}let _0x41ed51=_0xb7a034[_0xcfb046(0xff)]('\x20');return _0x201137[_0xcfb046(0xee)](_0x41ed51,_0x2f1aaf)&&(_0x41ed51=_0xcfb046(0x130)+_0x2f1aaf),[_0x499618,_0x41ed51];}function a56_0x45cf(_0xa4e758,_0x1f5f5d){const _0x1af73f=a56_0x1af7();return a56_0x45cf=function(_0x45cf4b,_0x1dea4e){_0x45cf4b=_0x45cf4b-0xeb;let _0x2f6739=_0x1af73f[_0x45cf4b];return _0x2f6739;},a56_0x45cf(_0xa4e758,_0x1f5f5d);}function sdkSetup(){const _0x264375=a56_0x41eb95,_0x29e63b={};_0x29e63b[_0x264375(0x120)]=_0x264375(0x126),_0x29e63b[_0x264375(0x110)]=_0x264375(0xed);const _0x1949db=_0x29e63b;if(helper['isUndefined'](config))return;config[_0x264375(0x114)]=_0x1949db[_0x264375(0x120)];try{utilities[_0x264375(0xf8)](_0x1949db['nGXfB'],{},config,'');}catch(_0x4d0fa2){logger[_0x264375(0x133)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x4d0fa2);}}logger[a56_0x41eb95(0xf0)](a56_0x41eb95(0x107));
3
+ const a56_0x48d828=a56_0x5b7a;(function(_0x3edfa1,_0x91e329){const _0x5d5021=a56_0x5b7a,_0xc5072a=_0x3edfa1();while(!![]){try{const _0x2566da=-parseInt(_0x5d5021(0x13a))/0x1*(-parseInt(_0x5d5021(0x16e))/0x2)+-parseInt(_0x5d5021(0x13d))/0x3+-parseInt(_0x5d5021(0x161))/0x4*(-parseInt(_0x5d5021(0x153))/0x5)+-parseInt(_0x5d5021(0x14d))/0x6+-parseInt(_0x5d5021(0x139))/0x7*(-parseInt(_0x5d5021(0x142))/0x8)+-parseInt(_0x5d5021(0x14a))/0x9+-parseInt(_0x5d5021(0x13f))/0xa*(-parseInt(_0x5d5021(0x147))/0xb);if(_0x2566da===_0x91e329)break;else _0xc5072a['push'](_0xc5072a['shift']());}catch(_0x57c558){_0xc5072a['push'](_0xc5072a['shift']());}}}(a56_0x1776,0x5b847));const fs=require('fs'),helper=require('../helpers/helper'),utilities=require(a56_0x48d828(0x12e)),yaml=require('js-yaml'),yargs=require(a56_0x48d828(0x155)),logger=require('../helpers/logger')[a56_0x48d828(0x136)],configFileTemplate=__dirname+a56_0x48d828(0x159),configFileTemplatePW=__dirname+a56_0x48d828(0x143),configFile=process[a56_0x48d828(0x166)]()+'/browserstack.yml',packageFile=process[a56_0x48d828(0x166)]()+a56_0x48d828(0x168),frameworks=['mocha',a56_0x48d828(0x144),a56_0x48d828(0x14c),a56_0x48d828(0x13b),'nightwatch',a56_0x48d828(0x141),'playwright'];let config;function a56_0x5b7a(_0x286fb4,_0x3545aa){const _0x17767b=a56_0x1776();return a56_0x5b7a=function(_0x5b7a9c,_0x4e53bf){_0x5b7a9c=_0x5b7a9c-0x127;let _0x2116eb=_0x17767b[_0x5b7a9c];return _0x2116eb;},a56_0x5b7a(_0x286fb4,_0x3545aa);}logger[a56_0x48d828(0x164)]('Creating\x20configuration\x20file...'),createConfigurationFile(yargs[a56_0x48d828(0x149)]['username'],yargs['argv'][a56_0x48d828(0x13e)],yargs[a56_0x48d828(0x149)][a56_0x48d828(0x163)]);try{sdkSetup();}catch(a56_0x4b9914){logger[a56_0x48d828(0x158)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a56_0x4b9914);}addScriptInPackageJson();function a56_0x1776(){const _0x439c4=['npm\x20update\x20browserstack-node-sdk','argv','665451FTJgCr','indexOf','cucumber-js','2769474FETPav','load','tuoKB','BqlqA','join','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','11675WwAJgh','Kqqnk','yargs','SDKSetup','Yuyxj','debug','/../../browserstack.yml.sample','splice','EQAxJ','cMaEm','length','node-setup','split','readFileSync','1192Dbqtuc','YOUR_USERNAME','playwright','info','writeFileSync','cwd','tnMtD','/package.json','scripts','OrJUu','source','stringify','VCwgL','2uPZesk','parse','Jjlav','utf8','OLmXI','includes','sNQdy','sNkgA','nTzqU','Bldvv','../helpers/utilities','push','postinstall','ZyKSU','error','fbWKI','entries','fireFunnelTestEvent','winstonLogger','etDfS','\x20&&\x20npm\x20update\x20browserstack-node-sdk','4305854PaXFHg','193113ctlpNH','node','UwvOI','2149245WjKvgg','key','1227230uodcMa','browserstack-node-sdk','codeceptjs','8Zwfsxb','/../../browserstack.pw.yml.sample','jest','-browserstack','YOUR_ACCESS_KEY','11xwuGhc'];a56_0x1776=function(){return _0x439c4;};return a56_0x1776();}function createConfigurationFile(_0x3f3838,_0x32e17d,_0x79ea20=![]){const _0x2ce52d=a56_0x48d828,_0x25fd3f={};_0x25fd3f['tnMtD']=_0x2ce52d(0x127),_0x25fd3f[_0x2ce52d(0x137)]=_0x2ce52d(0x162),_0x25fd3f[_0x2ce52d(0x16d)]=_0x2ce52d(0x146);const _0x5a69fc=_0x25fd3f;try{let _0x3e8edf=fs[_0x2ce52d(0x160)](_0x79ea20?configFileTemplatePW:configFileTemplate,_0x5a69fc[_0x2ce52d(0x167)]);_0x3f3838&&(_0x3e8edf=_0x3e8edf['replace'](_0x5a69fc['etDfS'],_0x3f3838)),_0x32e17d&&(_0x3e8edf=_0x3e8edf['replace'](_0x5a69fc[_0x2ce52d(0x16d)],_0x32e17d)),config=yaml[_0x2ce52d(0x14e)](_0x3e8edf),fs[_0x2ce52d(0x165)](configFile,_0x3e8edf,_0x1923ab=>{const _0xf2ebb4=_0x2ce52d;_0x1923ab&&logger[_0xf2ebb4(0x132)](_0x1923ab);});}catch(_0x4410c9){logger[_0x2ce52d(0x132)](_0x4410c9);}}function addPostInstallScript(_0x42010b,_0x58cbb4){const _0x55f0ad=a56_0x48d828,_0x2528cd={};_0x2528cd[_0x55f0ad(0x150)]=_0x55f0ad(0x130),_0x2528cd[_0x55f0ad(0x15b)]=_0x55f0ad(0x148),_0x2528cd[_0x55f0ad(0x170)]=_0x55f0ad(0x138);const _0x43e241=_0x2528cd;let _0x1aad47=_0x42010b[_0x43e241[_0x55f0ad(0x150)]];if(_0x1aad47&&_0x1aad47[_0x55f0ad(0x129)](_0x43e241[_0x55f0ad(0x15b)]))return;!_0x1aad47?_0x1aad47=_0x43e241['EQAxJ']:_0x1aad47+=_0x43e241['Jjlav'],_0x58cbb4[_0x55f0ad(0x12f)]([_0x43e241[_0x55f0ad(0x150)],_0x1aad47]);}function addScriptInPackageJson(){const _0x2c312e=a56_0x48d828,_0x27d2fe={'OrJUu':_0x2c312e(0x127),'nTzqU':function(_0xc4533a,_0x3a2ca7){return _0xc4533a<_0x3a2ca7;},'bNRJI':function(_0x187402,_0x282b30,_0x38417a){return _0x187402(_0x282b30,_0x38417a);},'Kqqnk':function(_0x461d80,_0x5144a5){return _0x461d80<_0x5144a5;},'Bldvv':function(_0x472de4,_0x2a50ff,_0x468341){return _0x472de4(_0x2a50ff,_0x468341);},'cMaEm':function(_0x177912,_0x3f2f3b,_0x4190ba){return _0x177912(_0x3f2f3b,_0x4190ba);},'UwvOI':function(_0x1ff468,_0x495f6c){return _0x1ff468!==_0x495f6c;},'fbWKI':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x58ec64=JSON[_0x2c312e(0x16f)](fs[_0x2c312e(0x160)](packageFile,_0x27d2fe[_0x2c312e(0x16a)])),_0x1a42d7=[];for(let _0x34a190=0x0;_0x27d2fe[_0x2c312e(0x12c)](_0x34a190,frameworks[_0x2c312e(0x15d)]);_0x34a190+=0x1){const _0x3f19a9=_0x27d2fe['bNRJI'](findScriptsWithFramework,_0x58ec64['scripts'],frameworks[_0x34a190]);for(let _0x1574e8=0x0;_0x27d2fe[_0x2c312e(0x154)](_0x1574e8,_0x3f19a9[_0x2c312e(0x15d)]);_0x1574e8+=0x1){_0x1a42d7['push'](_0x27d2fe[_0x2c312e(0x12d)](getUpdatedCommand,_0x58ec64[_0x2c312e(0x169)],_0x3f19a9[_0x1574e8]));}_0x27d2fe[_0x2c312e(0x15c)](addPostInstallScript,_0x58ec64['scripts'],_0x1a42d7);}const _0x5167b6={..._0x58ec64[_0x2c312e(0x169)]},_0x517056=_0x5167b6;for(let _0x4e002e=0x0;_0x27d2fe[_0x2c312e(0x12c)](_0x4e002e,_0x1a42d7['length']);_0x4e002e+=0x1){_0x517056[_0x1a42d7[_0x4e002e][0x0]]=_0x1a42d7[_0x4e002e][0x1];}_0x27d2fe[_0x2c312e(0x13c)](JSON[_0x2c312e(0x16c)](_0x58ec64[_0x2c312e(0x169)]),JSON[_0x2c312e(0x16c)](_0x517056))&&(logger[_0x2c312e(0x164)](_0x27d2fe[_0x2c312e(0x133)]),_0x58ec64['scripts']=_0x517056,fs[_0x2c312e(0x165)](packageFile,JSON[_0x2c312e(0x16c)](_0x58ec64,null,0x2),_0x1babd4=>{const _0x292c78=_0x2c312e;_0x1babd4&&logger[_0x292c78(0x132)](_0x1babd4);}));};function findScriptsWithFramework(_0x31abe4,_0x1f9d44){const _0x51b3a5=a56_0x48d828,_0x1b7171={};_0x1b7171[_0x51b3a5(0x14f)]=function(_0x2dfa7b,_0x20c05f){return _0x2dfa7b<_0x20c05f;},_0x1b7171[_0x51b3a5(0x131)]=_0x51b3a5(0x140);const _0x33d91d=_0x1b7171,_0x2322e2=[],_0x1812cf=Object[_0x51b3a5(0x134)](_0x31abe4);for(let _0x50e518=0x0;_0x33d91d[_0x51b3a5(0x14f)](_0x50e518,_0x1812cf['length']);_0x50e518+=0x1){_0x1812cf[_0x50e518][0x1]['includes'](_0x1f9d44)&&!_0x1812cf[_0x50e518][0x1][_0x51b3a5(0x129)](_0x33d91d[_0x51b3a5(0x131)])&&_0x2322e2[_0x51b3a5(0x12f)](_0x1812cf[_0x50e518][0x0]);}return _0x2322e2;}function getUpdatedCommand(_0x410cb7,_0x5ed570){const _0x3e7210=a56_0x48d828,_0x42afe6={};_0x42afe6[_0x3e7210(0x12b)]=function(_0x3995e6,_0xff8f70){return _0x3995e6!==_0xff8f70;},_0x42afe6['UDVdv']=_0x3e7210(0x140),_0x42afe6[_0x3e7210(0x128)]=function(_0x5e4f49,_0x56f792){return _0x5e4f49===_0x56f792;};const _0x1884aa=_0x42afe6,_0xb18aba=_0x5ed570+_0x3e7210(0x145),_0x21287d=_0x410cb7[_0x5ed570],_0x18bd58=_0x21287d[_0x3e7210(0x15f)]('\x20');for(const _0x5d5a66 of frameworks){if(_0x1884aa['sNkgA'](_0x18bd58[_0x3e7210(0x14b)](_0x5d5a66),-0x1)){_0x18bd58[_0x3e7210(0x15a)](_0x18bd58[_0x3e7210(0x14b)](_0x5d5a66),0x0,_0x1884aa['UDVdv']);break;}}let _0x145729=_0x18bd58[_0x3e7210(0x151)]('\x20');return _0x1884aa['OLmXI'](_0x145729,_0x21287d)&&(_0x145729='browserstack-node-sdk\x20'+_0x21287d),[_0xb18aba,_0x145729];}function sdkSetup(){const _0x31d5fd=a56_0x48d828,_0x12d501={};_0x12d501[_0x31d5fd(0x12a)]=_0x31d5fd(0x15e),_0x12d501[_0x31d5fd(0x157)]=_0x31d5fd(0x156);const _0x20225b=_0x12d501;if(helper['isUndefined'](config))return;config[_0x31d5fd(0x16b)]=_0x20225b[_0x31d5fd(0x12a)];try{utilities[_0x31d5fd(0x135)](_0x20225b[_0x31d5fd(0x157)],{},config,'');}catch(_0x2936f9){logger[_0x31d5fd(0x158)](_0x31d5fd(0x152)+_0x2936f9);}}logger[a56_0x48d828(0x164)]('Setup\x20completed');
@@ -1 +1 @@
1
- const a57_0x5b625c=a57_0x1aa0;(function(_0x31bd15,_0x580944){const _0x2aa9ce=a57_0x1aa0,_0x56d849=_0x31bd15();while(!![]){try{const _0x509bf1=parseInt(_0x2aa9ce(0x1ac))/0x1+parseInt(_0x2aa9ce(0x1ab))/0x2*(-parseInt(_0x2aa9ce(0x1a9))/0x3)+parseInt(_0x2aa9ce(0x194))/0x4*(parseInt(_0x2aa9ce(0x17d))/0x5)+-parseInt(_0x2aa9ce(0x17f))/0x6+parseInt(_0x2aa9ce(0x16b))/0x7*(parseInt(_0x2aa9ce(0x158))/0x8)+-parseInt(_0x2aa9ce(0x15e))/0x9+parseInt(_0x2aa9ce(0x191))/0xa;if(_0x509bf1===_0x580944)break;else _0x56d849['push'](_0x56d849['shift']());}catch(_0x1dd3e6){_0x56d849['push'](_0x56d849['shift']());}}}(a57_0x57a3,0xcd474));function a57_0x57a3(){const _0x139785=['pfjJo','EVENTS','uonaF','platform-run-success','\x20for','length','stdout','stderr','hJIcL','qKgww','push','platform-run-failure','test-file-failure','_child','worker','YjTJj','diJhl','993309YfJdcw','JwOPY','4DILFiS','538098GcOiXj','test-file-success','json','zuFHn','../../helpers/test-observability/utils','platform','LJPNH','then','kbABS','BElES','platformIndex','ciGrK','configuration','SDK_SETUP','rCxTL','waitForExit','kycIr','Exception\x20in\x20sending\x20worker\x20message\x20','vPvup','826208zOPQxH','../../helpers/performance/performance-tester','jest-worker','format','emit','azWiS','14677290rDCLLX','p-limit','pipe','parallelTestRun','file','./testWorker.js','winstonLogger','BbuuU','whYze','zlFVg','all','../../helpers/testhub/testhubHandler','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','35OZJZat','QSRrd','gtYVr','xHrhZ','getStderr','parallelCucumberRun','getStdout','QNexW','enfAM','qdjVk','failureCount','ZhLuB','platforms','nQqSy','knjXD','end','emittery','_workerPool','5KjgMoy','util','5411298jilQdV','vanillaWorker','cZcmO','log','ikmyR','getWorkers','Jqgvd','exitCode','XnHBB','Workers\x20failed\x20to\x20exit\x20gracefully','UNSTABLE_onCustomMessage','GeSrK','kHmzL','error','EqCTT','debug','results','gKIEg','23457760qiVjil','map','iVbGv','2541860tRNsRa','test-file-start','resolve','cucumberWorker'];a57_0x57a3=function(){return _0x139785;};return a57_0x57a3();}const Worker=require(a57_0x5b625c(0x15a))['Worker'],Emittery=require(a57_0x5b625c(0x17b)),pLimit=require(a57_0x5b625c(0x15f)),{parentPort}=require('worker_threads'),util=require(a57_0x5b625c(0x17e)),logger=require('../../helpers/logger')[a57_0x5b625c(0x164)],PerformanceTester=require(a57_0x5b625c(0x159)),PerformanceEvents=require('../../helpers/performance/constants')[a57_0x5b625c(0x199)],{debug}=require(a57_0x5b625c(0x1b0)),TestHubHandler=require(a57_0x5b625c(0x169));function a57_0x1aa0(_0x361980,_0x196549){const _0x57a34c=a57_0x57a3();return a57_0x1aa0=function(_0x1aa048,_0x2c57e1){_0x1aa048=_0x1aa048-0x14b;let _0x1d50de=_0x57a34c[_0x1aa048];return _0x1d50de;},a57_0x1aa0(_0x361980,_0x196549);}exports[a57_0x5b625c(0x161)]=(_0x2945a6,_0x3331bf,_0x914d36)=>new Promise(async _0xb216d7=>{const _0x4e0f60=a57_0x5b625c,_0x393e8c={'ZhLuB':_0x4e0f60(0x175),'BbuuU':function(_0x56f8e5,_0x5e826c){return _0x56f8e5+_0x5e826c;},'kbABS':_0x4e0f60(0x18f),'EqCTT':'Workers\x20failed\x20to\x20exit\x20gracefully','enfAM':function(_0x2562ab,_0x5c0127){return _0x2562ab(_0x5c0127);},'ikmyR':function(_0x1b2902,_0x3d1d3d){return _0x1b2902(_0x3d1d3d);},'YjTJj':_0x4e0f60(0x195),'xHrhZ':'./testWorker.js','ciGrK':_0x4e0f60(0x1a6),'iVbGv':_0x4e0f60(0x1ae),'hJIcL':_0x4e0f60(0x160),'zuFHn':function(_0x2c434b,_0x4511a3){return _0x2c434b*_0x4511a3;},'vPvup':'test-file-success','Jqgvd':_0x4e0f60(0x1a4),'LJPNH':function(_0xc2987e,_0x301e30){return _0xc2987e(_0x301e30);},'knjXD':function(_0x53d847,_0x586669){return _0x53d847*_0x586669;}},_0x222d60=_0x914d36['config'],_0x3cda08={},_0x4cf7bc=new Worker(require[_0x4e0f60(0x196)](_0x393e8c[_0x4e0f60(0x16e)]),{'exposedMethods':[_0x393e8c[_0x4e0f60(0x150)]],'forkOptions':{'serialization':_0x393e8c[_0x4e0f60(0x193)],'stdio':_0x393e8c[_0x4e0f60(0x1a0)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x393e8c[_0x4e0f60(0x1af)](_0x3331bf,0x1),'enableWorkerThreads':!![]}),_0x50d56b=new Emittery();_0x50d56b['on'](_0x393e8c[_0x4e0f60(0x157)],_0x229a67=>{const _0x34e05e=_0x4e0f60;_0x3cda08[_0x229a67[0x0]]?(_0x3cda08[_0x229a67[0x0]][_0x393e8c[_0x34e05e(0x176)]]=_0x393e8c[_0x34e05e(0x165)](_0x3cda08[_0x229a67[0x0]][_0x393e8c[_0x34e05e(0x176)]],_0x229a67[0x1][_0x393e8c[_0x34e05e(0x176)]]),_0x3cda08[_0x229a67[0x0]][_0x393e8c[_0x34e05e(0x14d)]]=[..._0x3cda08[_0x229a67[0x0]][_0x393e8c[_0x34e05e(0x14d)]],..._0x229a67[0x1][_0x393e8c[_0x34e05e(0x14d)]]]):_0x3cda08[_0x229a67[0x0]]={'failureCount':_0x229a67[0x1][_0x393e8c['ZhLuB']],'results':[..._0x229a67[0x1][_0x393e8c[_0x34e05e(0x14d)]]]};}),_0x50d56b['on'](_0x393e8c[_0x4e0f60(0x185)],_0x14b9b1=>console[_0x4e0f60(0x182)](_0x14b9b1[0x1]));_0x4cf7bc[_0x4e0f60(0x171)]()&&_0x4cf7bc['getStdout']()['pipe'](process[_0x4e0f60(0x19e)]);_0x4cf7bc[_0x4e0f60(0x16f)]()&&_0x4cf7bc[_0x4e0f60(0x16f)]()[_0x4e0f60(0x160)](process['stderr']);const _0x21c238=async()=>{const _0x52a3c7=_0x4e0f60,{forceExited:_0x59e9a7}=await _0x4cf7bc['end']();_0x59e9a7&&console[_0x52a3c7(0x18c)](_0x393e8c[_0x52a3c7(0x18d)]);try{await TestHubHandler['stop']();}catch(_0x265a7f){_0x393e8c[_0x52a3c7(0x173)](debug,_0x52a3c7(0x16a)+_0x265a7f);}_0x393e8c[_0x52a3c7(0x183)](_0xb216d7,_0x3cda08);},_0x41eeb3=_0x393e8c[_0x4e0f60(0x14b)](pLimit,_0x393e8c[_0x4e0f60(0x179)](_0x3331bf,0x1)),_0x442e24=_0x446742=>_0x41eeb3(async()=>{const _0xb0f71e=_0x4e0f60;await _0x50d56b[_0xb0f71e(0x15c)](_0x393e8c[_0xb0f71e(0x1a7)],_0x446742);const _0x5e55c9=_0x4cf7bc[_0xb0f71e(0x1a6)](_0x446742,_0x222d60);try{parentPort&&_0x5e55c9[_0xb0f71e(0x189)](_0x105a0a=>{const _0x20a747=_0xb0f71e;try{parentPort['postMessage'](_0x105a0a);}catch(_0x461ada){logger[_0x20a747(0x18e)](_0x20a747(0x156)+util[_0x20a747(0x15b)](_0x461ada));}});}catch(_0xec2185){logger[_0xb0f71e(0x18e)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util['format'](_0xec2185));}return _0x5e55c9;});PerformanceTester[_0x4e0f60(0x17a)](PerformanceEvents[_0x4e0f60(0x152)]),Promise[_0x4e0f60(0x168)](_0x2945a6[_0x4e0f60(0x192)](_0x5e7c1d=>_0x442e24(_0x5e7c1d)['then'](_0x22d7d9=>_0x50d56b[_0x4e0f60(0x15c)](_0x4e0f60(0x1ad),[_0x5e7c1d[_0x4e0f60(0x151)]['platform'],_0x22d7d9]),_0x284d29=>_0x50d56b[_0x4e0f60(0x15c)](_0x4e0f60(0x1a4),[_0x5e7c1d,_0x284d29]))))[_0x4e0f60(0x14c)](_0x21c238,_0x21c238);}),exports[a57_0x5b625c(0x170)]=(_0x505cac,_0x1b27a9,_0x4b08ed,_0x2cb336,_0x561400)=>{const _0x167e24=a57_0x5b625c,_0x1422ae={'kHmzL':_0x167e24(0x188),'Sqgoi':function(_0x13710c,_0x266905){return _0x13710c(_0x266905);},'QNexW':'platform-run-start','xoUiL':'./testWorker.js','azWiS':'cucumberWorker','PwWOC':_0x167e24(0x1ae),'gtYVr':_0x167e24(0x160),'MfeIV':_0x167e24(0x19b),'vkbrI':'platform-run-failure','kycIr':function(_0x9a8e16,_0xa01cac){return _0x9a8e16(_0xa01cac);}};return new Promise(_0x540af8=>{const _0x479438=_0x167e24,_0x5ac2a2={};_0x5ac2a2[_0x479438(0x1a1)]=_0x1422ae[_0x479438(0x172)];const _0x5bd956=_0x5ac2a2,_0x2e6790=[],_0x3c7ce3=new Worker(require[_0x479438(0x196)](_0x1422ae['xoUiL']),{'exposedMethods':[_0x1422ae[_0x479438(0x15d)]],'forkOptions':{'serialization':_0x1422ae['PwWOC'],'stdio':_0x1422ae[_0x479438(0x16d)]},'numWorkers':_0x505cac[_0x479438(0x19d)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x5f268f=new Emittery();_0x5f268f['on'](_0x1422ae['MfeIV'],_0x4ca62a=>{const _0x2ea6ab=_0x479438;_0x2e6790[_0x2ea6ab(0x1a2)]([_0x4ca62a[0x0],_0x4ca62a[0x1]]);}),_0x5f268f['on'](_0x1422ae['vkbrI'],_0x439cf9=>console[_0x479438(0x182)](_0x439cf9[0x1]));_0x3c7ce3[_0x479438(0x171)]()&&_0x3c7ce3[_0x479438(0x171)]()[_0x479438(0x160)](process['stdout']);_0x3c7ce3['getStderr']()&&_0x3c7ce3[_0x479438(0x16f)]()[_0x479438(0x160)](process[_0x479438(0x19f)]);const _0x32131c=async()=>{const _0x215204=_0x479438,{forceExited:_0x36719a}=await _0x3c7ce3[_0x215204(0x17a)]();_0x36719a&&console[_0x215204(0x18c)](_0x1422ae[_0x215204(0x18b)]),_0x1422ae['Sqgoi'](_0x540af8,_0x2e6790);},_0x1f568b=_0x1422ae[_0x479438(0x155)](pLimit,_0x505cac[_0x479438(0x19d)]||0x1),_0x185722=(_0xe3dcef,_0x204992)=>_0x1f568b(async()=>{const _0x5d75db=_0x479438;return await _0x5f268f['emit'](_0x5bd956['qKgww'],_0xe3dcef),_0x1b27a9['platformCaps']=_0x4b08ed[_0x5d75db(0x177)][_0x204992],_0x1b27a9[_0x5d75db(0x14f)]=_0x204992,_0x3c7ce3[_0x5d75db(0x197)](_0xe3dcef,_0x1b27a9,_0x4b08ed,_0x2cb336,_0x561400);});Promise[_0x479438(0x168)](_0x505cac['map']((_0x358122,_0x1d3614)=>_0x185722(_0x358122,_0x1d3614)[_0x479438(0x14c)](_0x2815f0=>_0x5f268f[_0x479438(0x15c)]('platform-run-success',[_0x358122,_0x2815f0]),_0x470ce3=>_0x5f268f[_0x479438(0x15c)](_0x479438(0x1a3),[_0x358122,_0x470ce3]))))[_0x479438(0x14c)](_0x32131c,_0x32131c);});},exports['parallelVanillaRun']=(_0x416d52,_0xd3e4ad)=>new Promise(_0x76d5e6=>{const _0x27dedd=a57_0x5b625c,_0x53ef71={'nQqSy':function(_0xd7161d,_0x44cf5d){return _0xd7161d===_0x44cf5d;},'rCxTL':function(_0x2596a1,_0x46614a){return _0x2596a1!==_0x46614a;},'XnHBB':'exit','cZcmO':_0x27dedd(0x188),'BElES':function(_0x2d31c2,_0x1c618c){return _0x2d31c2(_0x1c618c);},'JwOPY':_0x27dedd(0x163),'qdjVk':_0x27dedd(0x180),'GeSrK':'json','QSRrd':_0x27dedd(0x160),'pfjJo':'test-file-success','gKIEg':_0x27dedd(0x1a4),'ewpuB':function(_0x206790,_0x47bbfc){return _0x206790(_0x47bbfc);}},_0x315ba7={},_0x2cf3e3=new Worker(require[_0x27dedd(0x196)](_0x53ef71[_0x27dedd(0x1aa)]),{'exposedMethods':[_0x53ef71[_0x27dedd(0x174)]],'forkOptions':{'serialization':_0x53ef71[_0x27dedd(0x18a)],'stdio':_0x53ef71[_0x27dedd(0x16c)]},'numWorkers':_0xd3e4ad,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x1dd315=new Emittery();_0x1dd315['on'](_0x53ef71[_0x27dedd(0x198)],_0x4f0f5a=>{const _0x4be30d=_0x27dedd;_0x4f0f5a[0x0]&&logger['info']('Running\x20'+_0x4f0f5a[0x1]+_0x4be30d(0x19c),_0x4f0f5a[0x0]);}),_0x1dd315['on'](_0x53ef71[_0x27dedd(0x190)],_0x15c823=>{const _0x1114cb=_0x27dedd;process[_0x1114cb(0x186)]=0x1;});_0x2cf3e3['getStdout']()&&_0x2cf3e3[_0x27dedd(0x171)]()[_0x27dedd(0x160)](process[_0x27dedd(0x19e)]);_0x2cf3e3[_0x27dedd(0x16f)]()&&_0x2cf3e3[_0x27dedd(0x16f)]()[_0x27dedd(0x160)](process[_0x27dedd(0x19f)]);const _0x1d3f02=async()=>{const _0x2ead18=_0x27dedd,_0x49f193={'zlFVg':function(_0x446316,_0x2f62bc){const _0x165cfd=a57_0x1aa0;return _0x53ef71[_0x165cfd(0x178)](_0x446316,_0x2f62bc);},'diJhl':function(_0x2f67d3,_0x32ecda){const _0x22615a=a57_0x1aa0;return _0x53ef71[_0x22615a(0x153)](_0x2f67d3,_0x32ecda);},'uonaF':_0x53ef71[_0x2ead18(0x187)]};let _0x5b0928=0x0;const _0x3f8a85=_0x2cf3e3[_0x2ead18(0x17c)][_0x2ead18(0x184)](),_0x4ed3bb=()=>{},_0x249292=_0x3f8a85['map'](async _0xe43592=>{const _0x3fecdb=_0x2ead18,_0x522de6={'PMNQj':function(_0x232609,_0x5d3572){const _0x370beb=a57_0x1aa0;return _0x49f193[_0x370beb(0x167)](_0x232609,_0x5d3572);},'whYze':function(_0x386382,_0x221273){const _0xd3a1e9=a57_0x1aa0;return _0x49f193[_0xd3a1e9(0x1a8)](_0x386382,_0x221273);}};_0xe43592['send']([0x2,![]],_0x4ed3bb,_0x4ed3bb,_0x4ed3bb),_0xe43592[_0x3fecdb(0x1a5)]['on'](_0x49f193[_0x3fecdb(0x19a)],_0x28e96b=>{const _0x5b3fc9=_0x3fecdb;_0x522de6['PMNQj'](_0x5b0928,0x0)&&_0x522de6[_0x5b3fc9(0x166)](_0x28e96b,0x0)&&(_0x5b0928=_0x28e96b);}),await _0xe43592[_0x3fecdb(0x154)]();});await Promise['all'](_0x249292),process[_0x2ead18(0x186)]=_0x5b0928;const {forceExited:_0x3237b3}=await _0x2cf3e3[_0x2ead18(0x17a)]();_0x3237b3&&console[_0x2ead18(0x18c)](_0x53ef71[_0x2ead18(0x181)]),_0x53ef71[_0x2ead18(0x14e)](_0x76d5e6,_0x315ba7);},_0x25a564=_0x53ef71['ewpuB'](pLimit,_0xd3e4ad),_0x597031=_0x301fa9=>_0x25a564(async()=>{const _0x280e9d=_0x27dedd;return _0x2cf3e3[_0x280e9d(0x180)](_0x301fa9);});Promise[_0x27dedd(0x168)](_0x416d52[_0x27dedd(0x192)](_0x5abbb9=>_0x597031(_0x5abbb9)[_0x27dedd(0x14c)](_0x56f498=>_0x1dd315[_0x27dedd(0x15c)](_0x27dedd(0x1ad),[_0x5abbb9['configuration'][_0x27dedd(0x1b1)],_0x5abbb9[_0x27dedd(0x151)][_0x27dedd(0x162)]]),_0x4d8a49=>_0x1dd315[_0x27dedd(0x15c)]('test-file-failure',[_0x5abbb9,_0x4d8a49]))))[_0x27dedd(0x14c)](_0x1d3f02,_0x1d3f02);});
1
+ function a57_0x45f8(){const _0x4e9115=['push','FBLMC','getStdout','jyEFa','GCAIW','10gntfpI','7tdKeWa','1057463EQDkhA','ohqOP','test-file-failure','_child','wnhWy','oAqeh','UNSTABLE_onCustomMessage','config','info','ozBsQ','./testWorker.js','266556JEhUbJ','JSdMC','ZPLWm','gqHwg','winstonLogger','emittery','apZaY','../../helpers/logger','../../helpers/test-observability/utils','failureCount','2277294zeqmvG','98891Kxixkv','ZLOHS','map','EVENTS','stdout','hUPNZ','then','cucumberWorker','Worker','util','exitCode','platform-run-success','json','JQoPX','platformCaps','14877gIivCO','LtkOG','sPUCT','xMbJF','pipe','stderr','bpshI','PQyiN','emit','test-file-success','getWorkers','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','../../helpers/performance/constants','platform','KSmfY','IkvmY','stop','getStderr','DWbhu','results','parallelCucumberRun','debug','pPtQW','XiFmD','gOLUi','BAOOH','Exception\x20in\x20sending\x20worker\x20message\x20','kYMvM','Ryvcr','20GNXZzk','nKCIf','resolve','worker','file','p-limit','qDKih','140515DebqYQ','end','test-file-start','74302ivnNbP','exit','error','SDK_SETUP','Running\x20','../../helpers/testhub/testhubHandler','all','platform-run-failure','configuration','log','Workers\x20failed\x20to\x20exit\x20gracefully','olUrJ','1816ABJELs','waitForExit','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'];a57_0x45f8=function(){return _0x4e9115;};return a57_0x45f8();}const a57_0x354b45=a57_0x1b11;(function(_0x27c7b9,_0x3ab145){const _0x48506a=a57_0x1b11,_0x469d33=_0x27c7b9();while(!![]){try{const _0x49da13=-parseInt(_0x48506a(0x157))/0x1+parseInt(_0x48506a(0x12b))/0x2+parseInt(_0x48506a(0x14c))/0x3+parseInt(_0x48506a(0x183))/0x4*(parseInt(_0x48506a(0x18a))/0x5)+-parseInt(_0x48506a(0x156))/0x6*(parseInt(_0x48506a(0x140))/0x7)+-parseInt(_0x48506a(0x137))/0x8*(-parseInt(_0x48506a(0x166))/0x9)+-parseInt(_0x48506a(0x13f))/0xa*(-parseInt(_0x48506a(0x141))/0xb);if(_0x49da13===_0x3ab145)break;else _0x469d33['push'](_0x469d33['shift']());}catch(_0x1113c3){_0x469d33['push'](_0x469d33['shift']());}}}(a57_0x45f8,0x3f572));const Worker=require('jest-worker')[a57_0x354b45(0x15f)],Emittery=require(a57_0x354b45(0x151)),pLimit=require(a57_0x354b45(0x188)),{parentPort}=require('worker_threads'),util=require(a57_0x354b45(0x160)),logger=require(a57_0x354b45(0x153))[a57_0x354b45(0x150)],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a57_0x354b45(0x172))[a57_0x354b45(0x15a)],{debug}=require(a57_0x354b45(0x154)),TestHubHandler=require(a57_0x354b45(0x130));function a57_0x1b11(_0x380ddb,_0x470ceb){const _0x45f827=a57_0x45f8();return a57_0x1b11=function(_0x1b11b1,_0x25bd5c){_0x1b11b1=_0x1b11b1-0x12b;let _0x110320=_0x45f827[_0x1b11b1];return _0x110320;},a57_0x1b11(_0x380ddb,_0x470ceb);}exports['parallelTestRun']=(_0x34a2ae,_0x4cd48c,_0x1d40cb)=>new Promise(async _0x4c02a0=>{const _0x229db2=a57_0x354b45,_0xa7df08={'sPUCT':_0x229db2(0x155),'nKCIf':function(_0x52c77e,_0x128f14){return _0x52c77e+_0x128f14;},'KSmfY':_0x229db2(0x179),'ohqOP':_0x229db2(0x135),'mAmWX':function(_0x36b3cf,_0x4cdf7e){return _0x36b3cf(_0x4cdf7e);},'kYMvM':function(_0x548b4f,_0x535a40){return _0x548b4f(_0x535a40);},'olUrJ':_0x229db2(0x18c),'qDKih':'./testWorker.js','ozBsQ':_0x229db2(0x186),'jkbfN':_0x229db2(0x163),'Ryvcr':_0x229db2(0x16a),'hUPNZ':function(_0x5f06e7,_0x61e69a){return _0x5f06e7*_0x61e69a;},'jyEFa':_0x229db2(0x16f),'pPtQW':_0x229db2(0x143),'dsYdc':function(_0xabc7e4,_0x30cec3){return _0xabc7e4(_0x30cec3);},'lchDh':function(_0x154e0a,_0x55f7b2){return _0x154e0a*_0x55f7b2;}},_0x3f6c6e=_0x1d40cb[_0x229db2(0x148)],_0x3a0aea={},_0x51736d=new Worker(require['resolve'](_0xa7df08[_0x229db2(0x189)]),{'exposedMethods':[_0xa7df08[_0x229db2(0x14a)]],'forkOptions':{'serialization':_0xa7df08['jkbfN'],'stdio':_0xa7df08[_0x229db2(0x182)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0xa7df08[_0x229db2(0x15c)](_0x4cd48c,0x1),'enableWorkerThreads':!![]}),_0x158771=new Emittery();_0x158771['on'](_0xa7df08[_0x229db2(0x13d)],_0x47bce4=>{const _0x155114=_0x229db2;_0x3a0aea[_0x47bce4[0x0]]?(_0x3a0aea[_0x47bce4[0x0]][_0xa7df08['sPUCT']]=_0xa7df08[_0x155114(0x184)](_0x3a0aea[_0x47bce4[0x0]][_0xa7df08['sPUCT']],_0x47bce4[0x1][_0xa7df08['sPUCT']]),_0x3a0aea[_0x47bce4[0x0]][_0xa7df08[_0x155114(0x174)]]=[..._0x3a0aea[_0x47bce4[0x0]][_0xa7df08[_0x155114(0x174)]],..._0x47bce4[0x1][_0xa7df08[_0x155114(0x174)]]]):_0x3a0aea[_0x47bce4[0x0]]={'failureCount':_0x47bce4[0x1][_0xa7df08[_0x155114(0x168)]],'results':[..._0x47bce4[0x1][_0xa7df08[_0x155114(0x174)]]]};}),_0x158771['on'](_0xa7df08[_0x229db2(0x17c)],_0x43ee0f=>console['log'](_0x43ee0f[0x1]));_0x51736d[_0x229db2(0x13c)]()&&_0x51736d[_0x229db2(0x13c)]()[_0x229db2(0x16a)](process['stdout']);_0x51736d[_0x229db2(0x177)]()&&_0x51736d['getStderr']()[_0x229db2(0x16a)](process[_0x229db2(0x16b)]);const _0x3e8458=async()=>{const _0x2152a0=_0x229db2,{forceExited:_0x4e6b50}=await _0x51736d[_0x2152a0(0x18b)]();_0x4e6b50&&console[_0x2152a0(0x12d)](_0xa7df08[_0x2152a0(0x142)]);try{await TestHubHandler[_0x2152a0(0x176)]();}catch(_0x131725){_0xa7df08['mAmWX'](debug,_0x2152a0(0x171)+_0x131725);}_0xa7df08[_0x2152a0(0x181)](_0x4c02a0,_0x3a0aea);},_0x5c94c0=_0xa7df08['dsYdc'](pLimit,_0xa7df08['lchDh'](_0x4cd48c,0x1)),_0x5f1f94=_0x26e8dc=>_0x5c94c0(async()=>{const _0x3bc508=_0x229db2;await _0x158771[_0x3bc508(0x16e)](_0xa7df08[_0x3bc508(0x136)],_0x26e8dc);const _0xd38727=_0x51736d['worker'](_0x26e8dc,_0x3f6c6e);try{parentPort&&_0xd38727[_0x3bc508(0x147)](_0x554491=>{const _0x4eb303=_0x3bc508;try{parentPort['postMessage'](_0x554491);}catch(_0x3d1f27){logger[_0x4eb303(0x17b)](_0x4eb303(0x180)+util['format'](_0x3d1f27));}});}catch(_0xef4f93){logger[_0x3bc508(0x17b)](_0x3bc508(0x139)+util['format'](_0xef4f93));}return _0xd38727;});PerformanceTester[_0x229db2(0x18b)](PerformanceEvents[_0x229db2(0x12e)]),Promise[_0x229db2(0x131)](_0x34a2ae['map'](_0x59b749=>_0x5f1f94(_0x59b749)['then'](_0x31d3e0=>_0x158771[_0x229db2(0x16e)](_0x229db2(0x16f),[_0x59b749[_0x229db2(0x133)][_0x229db2(0x173)],_0x31d3e0]),_0x288aa4=>_0x158771[_0x229db2(0x16e)](_0x229db2(0x143),[_0x59b749,_0x288aa4]))))['then'](_0x3e8458,_0x3e8458);}),exports[a57_0x354b45(0x17a)]=(_0x83203b,_0xac3829,_0x5d3ff2,_0x122fea,_0x2698cf)=>{const _0x3d45d3=a57_0x354b45,_0x3168d1={'oAqeh':_0x3d45d3(0x135),'gqHwg':function(_0x500305,_0x3c733e){return _0x500305(_0x3c733e);},'ZPLWm':'platform-run-start','PQyiN':_0x3d45d3(0x14b),'ZLOHS':_0x3d45d3(0x15e),'GCAIW':_0x3d45d3(0x163),'dHGqh':_0x3d45d3(0x16a),'IkvmY':_0x3d45d3(0x162),'DWbhu':'platform-run-failure'};return new Promise(_0x2c7e6d=>{const _0x26ef5e=_0x3d45d3,_0x3a7601={};_0x3a7601[_0x26ef5e(0x167)]=_0x3168d1[_0x26ef5e(0x14e)];const _0xe3fbaf=_0x3a7601,_0x3b0e6b=[],_0x23f3dd=new Worker(require[_0x26ef5e(0x185)](_0x3168d1[_0x26ef5e(0x16d)]),{'exposedMethods':[_0x3168d1[_0x26ef5e(0x158)]],'forkOptions':{'serialization':_0x3168d1[_0x26ef5e(0x13e)],'stdio':_0x3168d1['dHGqh']},'numWorkers':_0x83203b['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2378e1=new Emittery();_0x2378e1['on'](_0x3168d1[_0x26ef5e(0x175)],_0x4fe3ef=>{const _0x18c567=_0x26ef5e;_0x3b0e6b[_0x18c567(0x13a)]([_0x4fe3ef[0x0],_0x4fe3ef[0x1]]);}),_0x2378e1['on'](_0x3168d1[_0x26ef5e(0x178)],_0x1e730a=>console[_0x26ef5e(0x134)](_0x1e730a[0x1]));_0x23f3dd[_0x26ef5e(0x13c)]()&&_0x23f3dd[_0x26ef5e(0x13c)]()[_0x26ef5e(0x16a)](process[_0x26ef5e(0x15b)]);_0x23f3dd[_0x26ef5e(0x177)]()&&_0x23f3dd[_0x26ef5e(0x177)]()[_0x26ef5e(0x16a)](process['stderr']);const _0x58d0b8=async()=>{const _0x46d3a9=_0x26ef5e,{forceExited:_0x53b509}=await _0x23f3dd[_0x46d3a9(0x18b)]();_0x53b509&&console[_0x46d3a9(0x12d)](_0x3168d1[_0x46d3a9(0x146)]),_0x3168d1[_0x46d3a9(0x14f)](_0x2c7e6d,_0x3b0e6b);},_0x4d0d8e=_0x3168d1[_0x26ef5e(0x14f)](pLimit,_0x83203b['length']||0x1),_0x3fb3bc=(_0x20db04,_0x1b1844)=>_0x4d0d8e(async()=>{const _0x4cb626=_0x26ef5e;return await _0x2378e1[_0x4cb626(0x16e)](_0xe3fbaf[_0x4cb626(0x167)],_0x20db04),_0xac3829[_0x4cb626(0x165)]=_0x5d3ff2['platforms'][_0x1b1844],_0xac3829['platformIndex']=_0x1b1844,_0x23f3dd[_0x4cb626(0x15e)](_0x20db04,_0xac3829,_0x5d3ff2,_0x122fea,_0x2698cf);});Promise[_0x26ef5e(0x131)](_0x83203b[_0x26ef5e(0x159)]((_0x56a7a8,_0x50d9f3)=>_0x3fb3bc(_0x56a7a8,_0x50d9f3)[_0x26ef5e(0x15d)](_0x125e33=>_0x2378e1[_0x26ef5e(0x16e)]('platform-run-success',[_0x56a7a8,_0x125e33]),_0x533ce7=>_0x2378e1[_0x26ef5e(0x16e)](_0x26ef5e(0x132),[_0x56a7a8,_0x533ce7]))))[_0x26ef5e(0x15d)](_0x58d0b8,_0x58d0b8);});},exports['parallelVanillaRun']=(_0x36aed3,_0x20862b)=>new Promise(_0x2cd709=>{const _0xc423c1=a57_0x354b45,_0x18f8d8={'XiFmD':_0xc423c1(0x12c),'apZaY':function(_0x22225d,_0x199a5d){return _0x22225d===_0x199a5d;},'BAOOH':function(_0xdbb2a6,_0x1a4b4b){return _0xdbb2a6!==_0x1a4b4b;},'JSdMC':_0xc423c1(0x135),'FBLMC':function(_0x15f9d7,_0x204c8c){return _0x15f9d7(_0x204c8c);},'xMbJF':'./testWorker.js','SwHyF':'vanillaWorker','JQoPX':_0xc423c1(0x163),'Fxmez':_0xc423c1(0x16a),'bpshI':_0xc423c1(0x16f),'wnhWy':_0xc423c1(0x143)},_0x301d96={},_0x14f10a=new Worker(require[_0xc423c1(0x185)](_0x18f8d8[_0xc423c1(0x169)]),{'exposedMethods':[_0x18f8d8['SwHyF']],'forkOptions':{'serialization':_0x18f8d8[_0xc423c1(0x164)],'stdio':_0x18f8d8['Fxmez']},'numWorkers':_0x20862b,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x687670=new Emittery();_0x687670['on'](_0x18f8d8[_0xc423c1(0x16c)],_0x1554e0=>{const _0x273e92=_0xc423c1;_0x1554e0[0x0]&&logger[_0x273e92(0x149)](_0x273e92(0x12f)+_0x1554e0[0x1]+'\x20for',_0x1554e0[0x0]);}),_0x687670['on'](_0x18f8d8[_0xc423c1(0x145)],_0x4e522e=>{process['exitCode']=0x1;});_0x14f10a['getStdout']()&&_0x14f10a[_0xc423c1(0x13c)]()[_0xc423c1(0x16a)](process[_0xc423c1(0x15b)]);_0x14f10a[_0xc423c1(0x177)]()&&_0x14f10a['getStderr']()[_0xc423c1(0x16a)](process[_0xc423c1(0x16b)]);const _0x46094e=async()=>{const _0x196c3e=_0xc423c1,_0x52bb40={'gOLUi':function(_0x1f0058,_0x565f2c){const _0xb025cf=a57_0x1b11;return _0x18f8d8[_0xb025cf(0x152)](_0x1f0058,_0x565f2c);},'ZSeZA':function(_0x1357da,_0x273793){const _0x30ff96=a57_0x1b11;return _0x18f8d8[_0x30ff96(0x17f)](_0x1357da,_0x273793);}};let _0x220267=0x0;const _0x6ed58c=_0x14f10a['_workerPool'][_0x196c3e(0x170)](),_0x55cbe9=()=>{},_0x53ae2d=_0x6ed58c[_0x196c3e(0x159)](async _0x4681a6=>{const _0x2dd013=_0x196c3e;_0x4681a6['send']([0x2,![]],_0x55cbe9,_0x55cbe9,_0x55cbe9),_0x4681a6[_0x2dd013(0x144)]['on'](_0x18f8d8[_0x2dd013(0x17d)],_0x56d3c7=>{const _0x5106b2=_0x2dd013;_0x52bb40[_0x5106b2(0x17e)](_0x220267,0x0)&&_0x52bb40['ZSeZA'](_0x56d3c7,0x0)&&(_0x220267=_0x56d3c7);}),await _0x4681a6[_0x2dd013(0x138)]();});await Promise['all'](_0x53ae2d),process[_0x196c3e(0x161)]=_0x220267;const {forceExited:_0x148102}=await _0x14f10a[_0x196c3e(0x18b)]();_0x148102&&console[_0x196c3e(0x12d)](_0x18f8d8[_0x196c3e(0x14d)]),_0x18f8d8[_0x196c3e(0x13b)](_0x2cd709,_0x301d96);},_0x14e631=_0x18f8d8['FBLMC'](pLimit,_0x20862b),_0x286a71=_0x24e1a7=>_0x14e631(async()=>{return _0x14f10a['vanillaWorker'](_0x24e1a7);});Promise['all'](_0x36aed3['map'](_0xac7159=>_0x286a71(_0xac7159)[_0xc423c1(0x15d)](_0x16f240=>_0x687670[_0xc423c1(0x16e)](_0xc423c1(0x16f),[_0xac7159[_0xc423c1(0x133)][_0xc423c1(0x173)],_0xac7159[_0xc423c1(0x133)][_0xc423c1(0x187)]]),_0x38094e=>_0x687670['emit'](_0xc423c1(0x143),[_0xac7159,_0x38094e]))))['then'](_0x46094e,_0x46094e);});
@@ -1 +1 @@
1
- const a58_0x54cb7f=a58_0x436a;(function(_0x28831b,_0x2525e8){const _0x444cc0=a58_0x436a,_0x573bc5=_0x28831b();while(!![]){try{const _0x1f39c9=parseInt(_0x444cc0(0xf4))/0x1*(-parseInt(_0x444cc0(0xf5))/0x2)+-parseInt(_0x444cc0(0xe7))/0x3+-parseInt(_0x444cc0(0xeb))/0x4+parseInt(_0x444cc0(0xe2))/0x5+parseInt(_0x444cc0(0xe3))/0x6+parseInt(_0x444cc0(0xdb))/0x7*(parseInt(_0x444cc0(0xf3))/0x8)+-parseInt(_0x444cc0(0xd9))/0x9*(-parseInt(_0x444cc0(0xdc))/0xa);if(_0x1f39c9===_0x2525e8)break;else _0x573bc5['push'](_0x573bc5['shift']());}catch(_0x30396f){_0x573bc5['push'](_0x573bc5['shift']());}}}(a58_0x1646,0xa96a3));const PerformanceEvents=require(a58_0x54cb7f(0xf0))[a58_0x54cb7f(0xd8)],PerformanceTester=require(a58_0x54cb7f(0xd5)),{sleep}=require(a58_0x54cb7f(0xee));function a58_0x1646(){const _0x5e4f54=['end','formatter','SDK_POST_TEST','87080QgYxpi','2012880jjJaWv','configuration','runCucumberTest','ZccFR','820893KGPECu','stopMonitoring','runVanillaTest','startMonitoring','1263360LMOVYe','cucumber-js','nJFkU','../../helpers/test-observability/utils','../launcher/launcher','../../helpers/performance/constants','bjtLG','GUkpy','40AKBxRp','133633XQjTve','6RdtCGp','../../helpers/performance/performance-tester','mocha','nRXKH','EVENTS','148896FmXFkQ','run','520583hNIRXL','580bRGjoS','KNcDC','ubcoE'];a58_0x1646=function(){return _0x5e4f54;};return a58_0x1646();}function a58_0x436a(_0x3b9117,_0x4e7e31){const _0x1646e3=a58_0x1646();return a58_0x436a=function(_0x436add,_0x57370e){_0x436add=_0x436add-0xd5;let _0x4aa23b=_0x1646e3[_0x436add];return _0x4aa23b;},a58_0x436a(_0x3b9117,_0x4e7e31);}exports['runTest']=async(_0x10348e,_0x104df8)=>{const _0x25a0ac=a58_0x54cb7f,_0xc430bb={'eYlYQ':function(_0x1c090b,_0x129565){return _0x1c090b(_0x129565);},'GUkpy':_0x25a0ac(0xef),'nJFkU':_0x25a0ac(0xd6),'jEmGh':function(_0x25a6a6,_0x4b5e53){return _0x25a6a6(_0x4b5e53);}};PerformanceTester[_0x25a0ac(0xea)]();const _0x350b4e=_0xc430bb['eYlYQ'](require,_0xc430bb[_0x25a0ac(0xf2)]),_0x446154=new _0x350b4e(_0xc430bb[_0x25a0ac(0xed)],_0x10348e,_0x104df8),_0x230428=await _0x446154[_0x25a0ac(0xda)]();return PerformanceTester[_0x25a0ac(0xdf)](PerformanceEvents[_0x25a0ac(0xe1)]),await _0xc430bb['jEmGh'](sleep,0x3e8),PerformanceTester[_0x25a0ac(0xe8)](),_0x230428;},exports[a58_0x54cb7f(0xe5)]=async(_0x4580bc,_0x1e12ba,_0x3ce734,_0xe8c455,_0x5a428f)=>{const _0x326e6d=a58_0x54cb7f,_0x5dee05={'KNcDC':function(_0x33ef81,_0x69e0b8){return _0x33ef81(_0x69e0b8);},'ZccFR':_0x326e6d(0xef),'nRXKH':_0x326e6d(0xec)},_0x57d2da={'capability':_0x4580bc,..._0x1e12ba},_0x5b59ee={};_0x5b59ee[_0x326e6d(0xe4)]=_0x57d2da,_0x5b59ee[_0x326e6d(0xe0)]=_0x5a428f;const _0x33ef9b=_0x5b59ee,_0x11718f=_0x5dee05[_0x326e6d(0xdd)](require,_0x5dee05[_0x326e6d(0xe6)]),_0x33bf1b=new _0x11718f(_0x5dee05[_0x326e6d(0xd7)],_0x33ef9b,_0x3ce734,_0xe8c455);return await _0x33bf1b['run']();},exports[a58_0x54cb7f(0xe9)]=async _0x39164b=>{const _0x29576f=a58_0x54cb7f,_0x2e5357={'ubcoE':function(_0x24b8a5,_0x1fab93){return _0x24b8a5(_0x1fab93);},'zhIpE':'../launcher/launcher','bjtLG':'vanilla'},_0x4521b7=_0x2e5357[_0x29576f(0xde)](require,_0x2e5357['zhIpE']),_0x5be8a4=new _0x4521b7(_0x2e5357[_0x29576f(0xf1)],_0x39164b);return await _0x5be8a4['run']();};
1
+ const a58_0x309897=a58_0x3338;(function(_0x3aa3b9,_0x4eeae2){const _0x5ef1d5=a58_0x3338,_0x3b68a9=_0x3aa3b9();while(!![]){try{const _0x5852a5=-parseInt(_0x5ef1d5(0x1f2))/0x1*(-parseInt(_0x5ef1d5(0x1fa))/0x2)+parseInt(_0x5ef1d5(0x1f1))/0x3*(parseInt(_0x5ef1d5(0x204))/0x4)+-parseInt(_0x5ef1d5(0x200))/0x5*(parseInt(_0x5ef1d5(0x1ed))/0x6)+parseInt(_0x5ef1d5(0x205))/0x7+-parseInt(_0x5ef1d5(0x202))/0x8*(-parseInt(_0x5ef1d5(0x1f9))/0x9)+-parseInt(_0x5ef1d5(0x1ef))/0xa*(parseInt(_0x5ef1d5(0x1f0))/0xb)+-parseInt(_0x5ef1d5(0x1f5))/0xc;if(_0x5852a5===_0x4eeae2)break;else _0x3b68a9['push'](_0x3b68a9['shift']());}catch(_0x5e8700){_0x3b68a9['push'](_0x3b68a9['shift']());}}}(a58_0x3be1,0xe2f1d));const PerformanceEvents=require(a58_0x309897(0x1ff))['EVENTS'],PerformanceTester=require('../../helpers/performance/performance-tester'),{sleep}=require('../../helpers/test-observability/utils');exports[a58_0x309897(0x1f7)]=async(_0xd58fa,_0x463dc1)=>{const _0x4259de=a58_0x309897,_0x4eb10e={'SYnSt':function(_0x22f496,_0x2086fb){return _0x22f496(_0x2086fb);},'FqICK':_0x4259de(0x206),'MYkMM':_0x4259de(0x1fd)};PerformanceTester[_0x4259de(0x207)]();const _0x56be75=_0x4eb10e[_0x4259de(0x201)](require,_0x4eb10e[_0x4259de(0x1fb)]),_0x58ac33=new _0x56be75(_0x4eb10e[_0x4259de(0x1e9)],_0xd58fa,_0x463dc1),_0xc88c91=await _0x58ac33['run']();return PerformanceTester[_0x4259de(0x1ee)](PerformanceEvents[_0x4259de(0x1ec)]),await _0x4eb10e['SYnSt'](sleep,0x3e8),PerformanceTester['stopMonitoring'](),_0xc88c91;},exports[a58_0x309897(0x203)]=async(_0x5c2e51,_0x5dd594,_0x19b431,_0x31e08b,_0x2cd1a5)=>{const _0x10cdf5=a58_0x309897,_0x4cd813={'RWNqe':function(_0x1bf4b0,_0x117331){return _0x1bf4b0(_0x117331);},'XHbCr':_0x10cdf5(0x206),'Hslob':_0x10cdf5(0x1e6)},_0x47a882={'capability':_0x5c2e51,..._0x5dd594},_0x94829c={};_0x94829c[_0x10cdf5(0x1fe)]=_0x47a882,_0x94829c[_0x10cdf5(0x1ea)]=_0x2cd1a5;const _0x4cc673=_0x94829c,_0x36a3ee=_0x4cd813[_0x10cdf5(0x1eb)](require,_0x4cd813[_0x10cdf5(0x1f6)]),_0x4f6926=new _0x36a3ee(_0x4cd813[_0x10cdf5(0x1f8)],_0x4cc673,_0x19b431,_0x31e08b);return await _0x4f6926[_0x10cdf5(0x1e7)]();},exports[a58_0x309897(0x1f4)]=async _0x5dc894=>{const _0x10d9df=a58_0x309897,_0x487fa5={'Bvmvg':function(_0x594c89,_0x1fef1a){return _0x594c89(_0x1fef1a);},'TgKGq':_0x10d9df(0x206),'GmqbV':'vanilla'},_0x280868=_0x487fa5[_0x10d9df(0x1fc)](require,_0x487fa5[_0x10d9df(0x1e8)]),_0x429630=new _0x280868(_0x487fa5[_0x10d9df(0x1f3)],_0x5dc894);return await _0x429630[_0x10d9df(0x1e7)]();};function a58_0x3338(_0x3ddf13,_0x4f0305){const _0x3be1bd=a58_0x3be1();return a58_0x3338=function(_0x33384a,_0x59de6f){_0x33384a=_0x33384a-0x1e6;let _0x3d59e4=_0x3be1bd[_0x33384a];return _0x3d59e4;},a58_0x3338(_0x3ddf13,_0x4f0305);}function a58_0x3be1(){const _0x1515b2=['2496DlvTaC','416059oQFytM','../launcher/launcher','startMonitoring','cucumber-js','run','TgKGq','MYkMM','formatter','RWNqe','SDK_POST_TEST','163812oESlyT','end','6537180pVhQSy','11XawcnY','669dVCiwj','2GvWYvQ','GmqbV','runVanillaTest','10768716CkjeMj','XHbCr','runTest','Hslob','9YLNGmR','1609758rpfVga','FqICK','Bvmvg','mocha','configuration','../../helpers/performance/constants','60DCZIbU','SYnSt','7999624mwQhUi','runCucumberTest'];a58_0x3be1=function(){return _0x1515b2;};return a58_0x3be1();}
@@ -1 +1 @@
1
- function a59_0x468e(){const _0x4ea4e1=['11216GtGtah','lYYhK','5407376AEOxPh','375515gAyOyE','36JSHJtg','343VYsTEN','5479768uUNUxo','32749574exQUhL','11441480NnbgZE','yECku','./runTest','worker','vanillaWorker','663HyHcru','8006BUBzQV','9MjFfNP'];a59_0x468e=function(){return _0x4ea4e1;};return a59_0x468e();}function a59_0xf450(_0x38fd94,_0x2c9abf){const _0x468e5e=a59_0x468e();return a59_0xf450=function(_0xf4507b,_0x3e2757){_0xf4507b=_0xf4507b-0xd3;let _0x4f93e0=_0x468e5e[_0xf4507b];return _0x4f93e0;},a59_0xf450(_0x38fd94,_0x2c9abf);}const a59_0x43d619=a59_0xf450;(function(_0x37f46d,_0x5c9c47){const _0x570c42=a59_0xf450,_0x3518d4=_0x37f46d();while(!![]){try{const _0x5d36e0=parseInt(_0x570c42(0xdc))/0x1*(parseInt(_0x570c42(0xd5))/0x2)+parseInt(_0x570c42(0xd4))/0x3*(-parseInt(_0x570c42(0xd7))/0x4)+-parseInt(_0x570c42(0xda))/0x5*(-parseInt(_0x570c42(0xdb))/0x6)+parseInt(_0x570c42(0xdd))/0x7+-parseInt(_0x570c42(0xd9))/0x8*(-parseInt(_0x570c42(0xd6))/0x9)+parseInt(_0x570c42(0xdf))/0xa+-parseInt(_0x570c42(0xde))/0xb;if(_0x5d36e0===_0x5c9c47)break;else _0x3518d4['push'](_0x3518d4['shift']());}catch(_0x231040){_0x3518d4['push'](_0x3518d4['shift']());}}}(a59_0x468e,0xca8b7));const {runTest,runCucumberTest,runVanillaTest}=require(a59_0x43d619(0xe1));exports[a59_0x43d619(0xe2)]=async(_0x5cbbab,_0x278852)=>{const _0x3bb77f=a59_0x43d619,_0x5d7e30={'yECku':function(_0x18b29d,_0x537a46,_0x4da729){return _0x18b29d(_0x537a46,_0x4da729);}};return await _0x5d7e30[_0x3bb77f(0xe0)](runTest,_0x5cbbab,_0x278852);},exports['cucumberWorker']=async(_0x57c6a5,_0x34f2c9,_0x95219d,_0x5b3056,_0x586815)=>{const _0x304a54=a59_0x43d619,_0x3273e6={'lYYhK':function(_0x19bae5,_0x2db711,_0x27e626,_0xba30f3,_0x2ba65d,_0x3467a5){return _0x19bae5(_0x2db711,_0x27e626,_0xba30f3,_0x2ba65d,_0x3467a5);}};return await _0x3273e6[_0x304a54(0xd8)](runCucumberTest,_0x57c6a5,_0x34f2c9,_0x95219d,_0x5b3056,_0x586815);},exports[a59_0x43d619(0xd3)]=async _0x7db184=>{const _0x339897={'zoQmD':function(_0x204ef9,_0xd8de31){return _0x204ef9(_0xd8de31);}};return await _0x339897['zoQmD'](runVanillaTest,_0x7db184);};
1
+ function a59_0x6c71(){const _0x999a46=['2123640YbZNLf','2994894xzBnTR','ZwtlD','3980bOTMbM','worker','1431222RfKYad','3868925hFdjRY','1041rCBsmZ','259444KjRCqY','./runTest','4432152vJZcSH','gtNEQ','vanillaWorker','xuTss'];a59_0x6c71=function(){return _0x999a46;};return a59_0x6c71();}const a59_0xef5ca3=a59_0x5627;(function(_0x4bd697,_0x5a3b4e){const _0x4514a0=a59_0x5627,_0x250e13=_0x4bd697();while(!![]){try{const _0x572ee0=parseInt(_0x4514a0(0x8a))/0x1+-parseInt(_0x4514a0(0x93))/0x2*(-parseInt(_0x4514a0(0x97))/0x3)+-parseInt(_0x4514a0(0x90))/0x4+-parseInt(_0x4514a0(0x96))/0x5+-parseInt(_0x4514a0(0x95))/0x6+parseInt(_0x4514a0(0x91))/0x7+parseInt(_0x4514a0(0x8c))/0x8;if(_0x572ee0===_0x5a3b4e)break;else _0x250e13['push'](_0x250e13['shift']());}catch(_0x58ab7e){_0x250e13['push'](_0x250e13['shift']());}}}(a59_0x6c71,0x5edfb));const {runTest,runCucumberTest,runVanillaTest}=require(a59_0xef5ca3(0x8b));function a59_0x5627(_0xc359c4,_0x3627a1){const _0x6c714=a59_0x6c71();return a59_0x5627=function(_0x562755,_0x187b05){_0x562755=_0x562755-0x8a;let _0x55cd93=_0x6c714[_0x562755];return _0x55cd93;},a59_0x5627(_0xc359c4,_0x3627a1);}exports[a59_0xef5ca3(0x94)]=async(_0x58fe72,_0x4cb648)=>{const _0xd978b8=a59_0xef5ca3,_0x292923={'ZwtlD':function(_0x3471a7,_0x1718d2,_0x3c3c6f){return _0x3471a7(_0x1718d2,_0x3c3c6f);}};return await _0x292923[_0xd978b8(0x92)](runTest,_0x58fe72,_0x4cb648);},exports['cucumberWorker']=async(_0x20051c,_0x22fe96,_0x4fa789,_0x35bad6,_0x39884f)=>{const _0x44121e=a59_0xef5ca3,_0x5c133a={'gtNEQ':function(_0x1b34c4,_0x551f26,_0x5a9ef7,_0x19552c,_0x3bd445,_0x5c820f){return _0x1b34c4(_0x551f26,_0x5a9ef7,_0x19552c,_0x3bd445,_0x5c820f);}};return await _0x5c133a[_0x44121e(0x8d)](runCucumberTest,_0x20051c,_0x22fe96,_0x4fa789,_0x35bad6,_0x39884f);},exports[a59_0xef5ca3(0x8e)]=async _0x6629ec=>{const _0x143d81=a59_0xef5ca3,_0x327580={'xuTss':function(_0x5373db,_0x131151){return _0x5373db(_0x131151);}};return await _0x327580[_0x143d81(0x8f)](runVanillaTest,_0x6629ec);};
@@ -1 +1 @@
1
- function a60_0x1392(_0x138a8c,_0x2ba844){const _0x386ffd=a60_0x386f();return a60_0x1392=function(_0x139213,_0x48f170){_0x139213=_0x139213-0x100;let _0x55a74e=_0x386ffd[_0x139213];return _0x55a74e;},a60_0x1392(_0x138a8c,_0x2ba844);}const a60_0xd7ed34=a60_0x1392;function a60_0x386f(){const _0x4269f7=['fEDfB','FKBKt','RFjSB','lUmfF','oGfqZ','oGSWX','tnXZH','ZVxfD','HUNnt','getAutoCaptureLogsAPIUrl','xMyiZ','XJlPw','206256UvPnoi','Ctfng','getAppAutomateSessionNameAPIUrl','wUuAH','4425726lGVkVJ','cUiTP','vvjaG','24266550ggjIXw','EDS_URL','6057076NVdany','toString','ONJPv','pLbmU','UxTst','WDSCm','itlyR','YNncn','vtRsK','xZuEi','../v2/browserstackCLI','DuDrf','GGxAB','FfVEW','AwnMk','getAppAutomateSessionStatusAPIUrl','NUDiV','getPlaywrightHubUrl','kRxpM','jdEmO','TonBZ','UCIPo','ZYXUi','bLWSP','rtiab','JIutK','apis','cdp','eyClP','HjeNC','OBSERVABILITY_UPLOAD_URL','TrrUW','getEdsInstrumentationAPIUrl','124079CtMXeL','UCvuL','tgcxZ','lEvLr','10716790FSLcWb','8268579EWtpsB','dnfGH','lbKfb','xnHXB','uZHBU','oLTTw','10YBfRGL','SzkEw','MWBFD','getConfig','observability','gSyIA','xFGIf','EESQD','./constants','appAutomate','getAutomateSessionStatusAPIUrl','replace','edsInstrumentation','PLAYWRIGHT_HUB_URL','zwaUG','cZSXL','21jjFjFP','endsWith','/playwright?caps=','OTvPR','getInstance','bwzbC','uNoCq','BROWSERSTACK_API_URL','uhOpE','nEfKy','aVraS','getAppAutomateSessionsListAPIUrl','Jwhxd','wss:','exports','8cIjvRG','GPbrB','PUPPETEER_HUB_URL','automate','api','NIcgL'];a60_0x386f=function(){return _0x4269f7;};return a60_0x386f();}(function(_0x4c7317,_0x3fce02){const _0x48351c=a60_0x1392,_0x4a1e5b=_0x4c7317();while(!![]){try{const _0x7f4f22=parseInt(_0x48351c(0x15c))/0x1+-parseInt(_0x48351c(0x132))/0x2*(-parseInt(_0x48351c(0x111))/0x3)+-parseInt(_0x48351c(0x13b))/0x4+-parseInt(_0x48351c(0x101))/0x5*(-parseInt(_0x48351c(0x136))/0x6)+parseInt(_0x48351c(0x160))/0x7*(parseInt(_0x48351c(0x120))/0x8)+parseInt(_0x48351c(0x161))/0x9+-parseInt(_0x48351c(0x139))/0xa;if(_0x7f4f22===_0x3fce02)break;else _0x4a1e5b['push'](_0x4a1e5b['shift']());}catch(_0x48cb85){_0x4a1e5b['push'](_0x4a1e5b['shift']());}}}(a60_0x386f,0xcaa2a));const constants=require(a60_0xd7ed34(0x109)),{nestedKeyValue}=require('./sharedUtils'),getBrowserstackCLI=()=>{const _0x2855f5=a60_0xd7ed34,_0x1df3bc={'FfVEW':function(_0x2f411d,_0x3b27d9){return _0x2f411d(_0x3b27d9);},'GPbrB':_0x2855f5(0x145)};return _0x1df3bc[_0x2855f5(0x148)](require,_0x1df3bc[_0x2855f5(0x121)]);};class APIUtilityMethods{static['getBStackAPIUrl'](_0x593157){const _0x1abd09=a60_0xd7ed34,_0xc79239={'vtRsK':function(_0x11a086){return _0x11a086();},'FJdDk':function(_0x49f510,_0x2f87e2,_0x25a8f8){return _0x49f510(_0x2f87e2,_0x25a8f8);},'srfTa':_0x1abd09(0x155),'xMyiZ':_0x1abd09(0x123),'nEfKy':'api','TrrUW':function(_0x47fd3e,_0x13ed4a){return _0x47fd3e===_0x13ed4a;},'OTvPR':function(_0x2762ef,_0x254b9e){return _0x2762ef+_0x254b9e;}},_0x408336=_0xc79239[_0x1abd09(0x143)](getBrowserstackCLI),_0x115d4c=_0xc79239['FJdDk'](nestedKeyValue,_0x408336[_0x1abd09(0x115)]()['getConfig'](),[_0xc79239['srfTa'],_0xc79239[_0x1abd09(0x130)],_0xc79239[_0x1abd09(0x11a)]])||constants[_0x1abd09(0x118)];if(!_0x593157||_0xc79239[_0x1abd09(0x15a)](_0x593157,''))return _0x115d4c;const _0xe923f8=_0x115d4c[_0x1abd09(0x112)]('/')?_0x115d4c:_0xc79239[_0x1abd09(0x114)](_0x115d4c,'/');return new URL(_0x593157,_0xe923f8)[_0x1abd09(0x13c)]();}static[a60_0xd7ed34(0x15b)](_0xa451bd){const _0x3d1a4e=a60_0xd7ed34,_0x7217b1={'HUNnt':function(_0x3be7bf){return _0x3be7bf();},'wUuAH':function(_0x3f71dc,_0x247609,_0x5baa78){return _0x3f71dc(_0x247609,_0x5baa78);},'jdEmO':_0x3d1a4e(0x155),'udipb':_0x3d1a4e(0x10d),'kRxpM':'api','MFvVj':function(_0x2ee3d3,_0x47937f){return _0x2ee3d3===_0x47937f;},'GGxAB':function(_0x366c77,_0xaca855){return _0x366c77+_0xaca855;}},_0x200fc2=_0x7217b1[_0x3d1a4e(0x12e)](getBrowserstackCLI),_0x12053f=_0x7217b1[_0x3d1a4e(0x135)](nestedKeyValue,_0x200fc2[_0x3d1a4e(0x115)]()[_0x3d1a4e(0x104)](),[_0x7217b1[_0x3d1a4e(0x14e)],_0x7217b1['udipb'],_0x7217b1[_0x3d1a4e(0x14d)]])||constants[_0x3d1a4e(0x13a)];if(!_0xa451bd||_0x7217b1['MFvVj'](_0xa451bd,''))return _0x12053f;const _0x2570e3=_0x12053f[_0x3d1a4e(0x112)]('/')?_0x12053f:_0x7217b1[_0x3d1a4e(0x147)](_0x12053f,'/');return new URL(_0xa451bd,_0x2570e3)[_0x3d1a4e(0x13c)]();}static[a60_0xd7ed34(0x10b)](_0x22171c){const _0xf95b41=a60_0xd7ed34,_0x3ecc6f={'cZSXL':function(_0x2ab46e){return _0x2ab46e();},'Jwhxd':function(_0xbdc06d,_0xe04d96,_0x402e67){return _0xbdc06d(_0xe04d96,_0x402e67);},'uhOpE':'apis','bwzbC':_0xf95b41(0x123),'WDSCm':'api','vvjaG':function(_0x39c86e,_0x52471f){return _0x39c86e===_0x52471f;},'xnHXB':function(_0x384d1d,_0xb5b626){return _0x384d1d+_0xb5b626;}},_0x53fcb7=_0x3ecc6f[_0xf95b41(0x110)](getBrowserstackCLI),_0xe58448=_0x3ecc6f[_0xf95b41(0x11d)](nestedKeyValue,_0x53fcb7[_0xf95b41(0x115)]()[_0xf95b41(0x104)](),[_0x3ecc6f[_0xf95b41(0x119)],_0x3ecc6f[_0xf95b41(0x116)],_0x3ecc6f[_0xf95b41(0x140)]])||constants['BROWSERSTACK_API_URL'];if(!_0x22171c||_0x3ecc6f[_0xf95b41(0x138)](_0x22171c,''))return _0xe58448;const _0x13d68c=_0xe58448[_0xf95b41(0x112)]('/')?_0xe58448:_0x3ecc6f[_0xf95b41(0x164)](_0xe58448,'/');return new URL(_0x22171c,_0x13d68c)[_0xf95b41(0x13c)]();}static[a60_0xd7ed34(0x14a)](_0x98d37){const _0x4e397e=a60_0xd7ed34,_0xbbe026={'MWBFD':function(_0x1463fe){return _0x1463fe();},'xFGIf':function(_0x4c8884,_0x240832,_0x6fd65){return _0x4c8884(_0x240832,_0x6fd65);},'tnXZH':_0x4e397e(0x155),'lEvLr':_0x4e397e(0x10a),'roPNI':'api','ZYXUi':function(_0x141588,_0x431c6b){return _0x141588===_0x431c6b;},'gSyIA':function(_0x3f7ab9,_0x1ccc8b){return _0x3f7ab9+_0x1ccc8b;}},_0x1be16a=_0xbbe026[_0x4e397e(0x103)](getBrowserstackCLI),_0x3b9fba=_0xbbe026[_0x4e397e(0x107)](nestedKeyValue,_0x1be16a['getInstance']()[_0x4e397e(0x104)](),[_0xbbe026[_0x4e397e(0x12c)],_0xbbe026[_0x4e397e(0x15f)],_0xbbe026['roPNI']])||constants[_0x4e397e(0x118)];if(!_0x98d37||_0xbbe026[_0x4e397e(0x151)](_0x98d37,''))return _0x3b9fba;const _0x27b40d=_0x3b9fba['endsWith']('/')?_0x3b9fba:_0xbbe026[_0x4e397e(0x106)](_0x3b9fba,'/');return new URL(_0x98d37,_0x27b40d)[_0x4e397e(0x13c)]();}static['getAutomateSessionNameAPIUrl'](_0x2823b2){const _0x3dd3cd=a60_0xd7ed34,_0x57f1ae={'itlyR':function(_0xba6602){return _0xba6602();},'ADPIU':function(_0x24d270,_0x459ec7,_0x196511){return _0x24d270(_0x459ec7,_0x196511);},'dnfGH':_0x3dd3cd(0x155),'XJlPw':_0x3dd3cd(0x123),'fxOtI':_0x3dd3cd(0x124),'zwaUG':function(_0xd252e,_0x53a8ca){return _0xd252e===_0x53a8ca;},'UCvuL':function(_0x5d725e,_0x406267){return _0x5d725e+_0x406267;}},_0x120629=_0x57f1ae[_0x3dd3cd(0x141)](getBrowserstackCLI),_0x268c75=_0x57f1ae['ADPIU'](nestedKeyValue,_0x120629['getInstance']()[_0x3dd3cd(0x104)](),[_0x57f1ae[_0x3dd3cd(0x162)],_0x57f1ae[_0x3dd3cd(0x131)],_0x57f1ae['fxOtI']])||constants['BROWSERSTACK_API_URL'];if(!_0x2823b2||_0x57f1ae[_0x3dd3cd(0x10f)](_0x2823b2,''))return _0x268c75;const _0x2af56d=_0x268c75['endsWith']('/')?_0x268c75:_0x57f1ae[_0x3dd3cd(0x15d)](_0x268c75,'/');return new URL(_0x2823b2,_0x2af56d)[_0x3dd3cd(0x13c)]();}static[a60_0xd7ed34(0x134)](_0x4c2ff4){const _0x25824c=a60_0xd7ed34,_0x212eab={'HjeNC':function(_0xde9d65){return _0xde9d65();},'oLTTw':function(_0x48eb3c,_0x4f9e21,_0x3eb567){return _0x48eb3c(_0x4f9e21,_0x3eb567);},'omSfu':_0x25824c(0x155),'lbKfb':_0x25824c(0x10a),'AwnMk':_0x25824c(0x124),'UCIPo':function(_0x3ea2e5,_0x5b936d){return _0x3ea2e5===_0x5b936d;},'tgcxZ':function(_0x3365ed,_0x810ee8){return _0x3365ed+_0x810ee8;}},_0x327066=_0x212eab[_0x25824c(0x158)](getBrowserstackCLI),_0x111011=_0x212eab[_0x25824c(0x100)](nestedKeyValue,_0x327066['getInstance']()[_0x25824c(0x104)](),[_0x212eab['omSfu'],_0x212eab[_0x25824c(0x163)],_0x212eab[_0x25824c(0x149)]])||constants[_0x25824c(0x118)];if(!_0x4c2ff4||_0x212eab[_0x25824c(0x150)](_0x4c2ff4,''))return _0x111011;const _0x56f7ba=_0x111011[_0x25824c(0x112)]('/')?_0x111011:_0x212eab[_0x25824c(0x15e)](_0x111011,'/');return new URL(_0x4c2ff4,_0x56f7ba)[_0x25824c(0x13c)]();}static['getAutomateSessionsListAPIUrl'](_0x163c8a){const _0x3fe1f1=a60_0xd7ed34,_0xe07fdb={'tlqjO':function(_0x13da7b){return _0x13da7b();},'uDvOv':function(_0x4be3cc,_0x49d6cf,_0x232150){return _0x4be3cc(_0x49d6cf,_0x232150);},'VYyPI':_0x3fe1f1(0x155),'EESQD':'automate','ONJPv':_0x3fe1f1(0x124),'FKBKt':function(_0x2db7b3,_0x3668b1){return _0x2db7b3===_0x3668b1;},'PJzMn':function(_0x5f29df,_0x6adb87){return _0x5f29df+_0x6adb87;}},_0x30c0c8=_0xe07fdb['tlqjO'](getBrowserstackCLI),_0x2e21d8=_0xe07fdb['uDvOv'](nestedKeyValue,_0x30c0c8[_0x3fe1f1(0x115)]()[_0x3fe1f1(0x104)](),[_0xe07fdb['VYyPI'],_0xe07fdb[_0x3fe1f1(0x108)],_0xe07fdb[_0x3fe1f1(0x13d)]])||constants['BROWSERSTACK_API_URL'];if(!_0x163c8a||_0xe07fdb[_0x3fe1f1(0x127)](_0x163c8a,''))return _0x2e21d8;const _0x12abf3=_0x2e21d8[_0x3fe1f1(0x112)]('/')?_0x2e21d8:_0xe07fdb['PJzMn'](_0x2e21d8,'/');return new URL(_0x163c8a,_0x12abf3)[_0x3fe1f1(0x13c)]()['replace'](/^https?:\/\//,'');}static[a60_0xd7ed34(0x11c)](_0x54f2f7){const _0xe0b8d6=a60_0xd7ed34,_0x47b389={'cUiTP':function(_0x2568b3){return _0x2568b3();},'oGfqZ':function(_0x560fff,_0x195603,_0x1c4e7e){return _0x560fff(_0x195603,_0x1c4e7e);},'YNncn':_0xe0b8d6(0x155),'lUmfF':_0xe0b8d6(0x10a),'NUDiV':_0xe0b8d6(0x124),'KtFUl':function(_0x59a142,_0x5041a8){return _0x59a142===_0x5041a8;},'SzkEw':function(_0x3bec11,_0x356e2b){return _0x3bec11+_0x356e2b;}},_0x2f689b=_0x47b389[_0xe0b8d6(0x137)](getBrowserstackCLI),_0x2db1d9=_0x47b389[_0xe0b8d6(0x12a)](nestedKeyValue,_0x2f689b[_0xe0b8d6(0x115)]()[_0xe0b8d6(0x104)](),[_0x47b389[_0xe0b8d6(0x142)],_0x47b389[_0xe0b8d6(0x129)],_0x47b389[_0xe0b8d6(0x14b)]])||constants['APP_UPLOAD_URL'];if(!_0x54f2f7||_0x47b389['KtFUl'](_0x54f2f7,''))return _0x2db1d9;const _0x2c6473=_0x2db1d9[_0xe0b8d6(0x112)]('/')?_0x2db1d9:_0x47b389[_0xe0b8d6(0x102)](_0x2db1d9,'/');return new URL(_0x54f2f7,_0x2c6473)[_0xe0b8d6(0x13c)]()[_0xe0b8d6(0x10c)](/^https?:\/\//,'');}static[a60_0xd7ed34(0x12f)](_0x2c0218){const _0x297b67=a60_0xd7ed34,_0x50a53d={'rOILW':function(_0x8a13b0){return _0x8a13b0();},'pLbmU':function(_0x291f33,_0x3f41ff,_0x433fc4){return _0x291f33(_0x3f41ff,_0x433fc4);},'XMNLC':_0x297b67(0x155),'vmeMv':_0x297b67(0x105),'xZuEi':'upload','UxTst':function(_0x26d49f,_0x56e966){return _0x26d49f===_0x56e966;},'iTfOq':function(_0xca2e87,_0x26d479){return _0xca2e87+_0x26d479;}},_0x228d46=_0x50a53d['rOILW'](getBrowserstackCLI),_0x265875=_0x50a53d[_0x297b67(0x13e)](nestedKeyValue,_0x228d46[_0x297b67(0x115)]()[_0x297b67(0x104)](),[_0x50a53d['XMNLC'],_0x50a53d['vmeMv'],_0x50a53d[_0x297b67(0x144)]])||constants[_0x297b67(0x159)];if(!_0x2c0218||_0x50a53d[_0x297b67(0x13f)](_0x2c0218,''))return _0x265875;const _0x2c540f=_0x265875[_0x297b67(0x112)]('/')?_0x265875:_0x50a53d['iTfOq'](_0x265875,'/');return new URL(_0x2c0218,_0x2c540f)['toString']();}static[a60_0xd7ed34(0x14c)](_0x39c16e){const _0x3d0d65=a60_0xd7ed34,_0xbe2035={'TsLMK':function(_0x3b6756){return _0x3b6756();},'Ctfng':function(_0x518049,_0x1a3d36,_0x3a5dfd){return _0x518049(_0x1a3d36,_0x3a5dfd);},'rtiab':_0x3d0d65(0x155),'RFjSB':_0x3d0d65(0x123),'NIcgL':_0x3d0d65(0x156),'eyClP':'wss:','xNrtP':function(_0x1bcf07,_0x216d87){return _0x1bcf07===_0x216d87;},'DuDrf':function(_0x1d59cf,_0x1db391){return _0x1d59cf+_0x1db391;},'fEDfB':_0x3d0d65(0x113)},_0x282238=_0xbe2035['TsLMK'](getBrowserstackCLI),_0x338d20=_0xbe2035[_0x3d0d65(0x133)](nestedKeyValue,_0x282238[_0x3d0d65(0x115)]()['getConfig'](),[_0xbe2035[_0x3d0d65(0x153)],_0xbe2035[_0x3d0d65(0x128)],_0xbe2035[_0x3d0d65(0x125)]]),_0x4f98f9=(_0x338d20?_0x338d20['replace'](/^https:/,_0xbe2035[_0x3d0d65(0x157)]):null)||constants[_0x3d0d65(0x10e)];let _0x4d2e9d;if(!_0x39c16e||_0xbe2035['xNrtP'](_0x39c16e,''))_0x4d2e9d=_0x4f98f9;else{const _0x2d1bde=_0x4f98f9[_0x3d0d65(0x112)]('/')?_0x4f98f9:_0xbe2035[_0x3d0d65(0x146)](_0x4f98f9,'/');_0x4d2e9d=new URL(_0x39c16e,_0x2d1bde)[_0x3d0d65(0x13c)]();}return!_0x4d2e9d[_0x3d0d65(0x112)](_0xbe2035[_0x3d0d65(0x126)])&&(_0x4d2e9d+=_0xbe2035['fEDfB']),_0x4d2e9d;}static['getPuppeteerHubUrl'](_0x3dd201){const _0x58bbfc=a60_0xd7ed34,_0x5e799c={'uZHBU':function(_0xa9b171){return _0xa9b171();},'bLWSP':function(_0x48f322,_0x5f3df1,_0xb72240){return _0x48f322(_0x5f3df1,_0xb72240);},'hngtq':_0x58bbfc(0x155),'uNoCq':_0x58bbfc(0x123),'TonBZ':'cdp','JIutK':_0x58bbfc(0x11e),'ZVxfD':function(_0xb14be1,_0x184f35){return _0xb14be1===_0x184f35;},'aVraS':function(_0x18cba2,_0x30cfd5){return _0x18cba2+_0x30cfd5;},'oGSWX':'/puppeteer?caps='},_0x40401c=_0x5e799c[_0x58bbfc(0x165)](getBrowserstackCLI),_0x437b17=_0x5e799c[_0x58bbfc(0x152)](nestedKeyValue,_0x40401c[_0x58bbfc(0x115)]()[_0x58bbfc(0x104)](),[_0x5e799c['hngtq'],_0x5e799c[_0x58bbfc(0x117)],_0x5e799c[_0x58bbfc(0x14f)]]),_0x3d81ce=(_0x437b17?_0x437b17[_0x58bbfc(0x10c)](/^https:/,_0x5e799c[_0x58bbfc(0x154)]):null)||constants[_0x58bbfc(0x122)];let _0x11246d;if(!_0x3dd201||_0x5e799c[_0x58bbfc(0x12d)](_0x3dd201,''))_0x11246d=_0x3d81ce;else{const _0xc2ae38=_0x3d81ce[_0x58bbfc(0x112)]('/')?_0x3d81ce:_0x5e799c[_0x58bbfc(0x11b)](_0x3d81ce,'/');_0x11246d=new URL(_0x3dd201,_0xc2ae38)[_0x58bbfc(0x13c)]();}return!_0x11246d[_0x58bbfc(0x112)](_0x5e799c[_0x58bbfc(0x12b)])&&(_0x11246d+=_0x5e799c['oGSWX']),_0x11246d;}}module[a60_0xd7ed34(0x11f)]=APIUtilityMethods;
1
+ function a60_0x6853(){const _0x57ffdf=['JvQPL','80DtiTIv','cdp','appAutomate','brciI','uYAAF','getConfig','mwUZV','UvkzR','ZPcHa','VmKlZ','pXRNq','upload','getAutomateSessionNameAPIUrl','UBXhZ','sYyfU','gOlKs','endsWith','OsPah','8198046aVNZUZ','getAppAutomateSessionStatusAPIUrl','3UQUzel','lmWkq','rHHAG','PUPPETEER_HUB_URL','nCjBu','/puppeteer?caps=','2957966cnBOyQ','srvsn','tdPVJ','xBRCS','automate','mTABw','EDS_URL','APP_UPLOAD_URL','BROWSERSTACK_API_URL','yriJo','4394190qDODFb','AEEyj','EMewH','replace','WodOF','../v2/browserstackCLI','IKeHH','getBStackAPIUrl','llCHf','wss:','getAutomateSessionsListAPIUrl','gMlxQ','edsInstrumentation','ZEffq','lNdPz','nhsFs','cPSzJ','nzbpv','AbJnA','Tghap','VmsgM','/playwright?caps=','mmSza','beBmW','GNBDl','apis','XNTYL','OBSERVABILITY_UPLOAD_URL','BAiGf','qceXa','1283457unFJpV','CDtTL','getEdsInstrumentationAPIUrl','OcRDZ','observability','wnuIh','kSYoL','getAutoCaptureLogsAPIUrl','18997660ZhtXBt','115440nbABkf','UjapG','rPeOD','api','getAutomateSessionStatusAPIUrl','UPJqZ','zcHpY','toString','FRCxW','OhlfA','1020911ysYAbU','LWuAp','getPuppeteerHubUrl','ekAyJ','VPIVO','212PKNOZq','CkNPr','AuFwJ','getInstance','ZKqEU','DmXlR'];a60_0x6853=function(){return _0x57ffdf;};return a60_0x6853();}const a60_0x196bfe=a60_0xc2b4;(function(_0xe2f235,_0x125092){const _0x561ace=a60_0xc2b4,_0x56eef8=_0xe2f235();while(!![]){try{const _0x1812fa=-parseInt(_0x561ace(0xc7))/0x1+parseInt(_0x561ace(0x8c))/0x2*(parseInt(_0x561ace(0x86))/0x3)+-parseInt(_0x561ace(0xcc))/0x4*(parseInt(_0x561ace(0xbd))/0x5)+parseInt(_0x561ace(0x96))/0x6+-parseInt(_0x561ace(0xb4))/0x7*(parseInt(_0x561ace(0xd3))/0x8)+parseInt(_0x561ace(0x84))/0x9+parseInt(_0x561ace(0xbc))/0xa;if(_0x1812fa===_0x125092)break;else _0x56eef8['push'](_0x56eef8['shift']());}catch(_0x4e3f28){_0x56eef8['push'](_0x56eef8['shift']());}}}(a60_0x6853,0xe6733));function a60_0xc2b4(_0x1b3c69,_0x5d3645){const _0x6853d3=a60_0x6853();return a60_0xc2b4=function(_0xc2b419,_0x3a6d14){_0xc2b419=_0xc2b419-0x75;let _0x12136f=_0x6853d3[_0xc2b419];return _0x12136f;},a60_0xc2b4(_0x1b3c69,_0x5d3645);}const constants=require('./constants'),{nestedKeyValue}=require('./sharedUtils'),getBrowserstackCLI=()=>{const _0x5146a9=a60_0xc2b4,_0x2b3b9c={'rHHAG':function(_0x4bd9f8,_0x2b7f86){return _0x4bd9f8(_0x2b7f86);},'nzbpv':_0x5146a9(0x9b)};return _0x2b3b9c[_0x5146a9(0x88)](require,_0x2b3b9c[_0x5146a9(0xa7)]);};class APIUtilityMethods{static[a60_0x196bfe(0x9d)](_0x530cf9){const _0x3e1b4f=a60_0x196bfe,_0x1f7922={'GNBDl':function(_0x11b44f){return _0x11b44f();},'hxvXU':function(_0x4d329,_0x110be,_0x9da1d0){return _0x4d329(_0x110be,_0x9da1d0);},'kSYoL':'apis','TnSqI':_0x3e1b4f(0x90),'gOlKs':_0x3e1b4f(0xc0),'YxVcR':function(_0x197276,_0x19a3c2){return _0x197276===_0x19a3c2;},'jEQjl':function(_0x37bbf2,_0x2680c3){return _0x37bbf2+_0x2680c3;}},_0x1273d7=_0x1f7922[_0x3e1b4f(0xae)](getBrowserstackCLI),_0x27bfb4=_0x1f7922['hxvXU'](nestedKeyValue,_0x1273d7[_0x3e1b4f(0xcf)]()[_0x3e1b4f(0x77)](),[_0x1f7922[_0x3e1b4f(0xba)],_0x1f7922['TnSqI'],_0x1f7922[_0x3e1b4f(0x81)]])||constants['BROWSERSTACK_API_URL'];if(!_0x530cf9||_0x1f7922['YxVcR'](_0x530cf9,''))return _0x27bfb4;const _0x1f2e91=_0x27bfb4['endsWith']('/')?_0x27bfb4:_0x1f7922['jEQjl'](_0x27bfb4,'/');return new URL(_0x530cf9,_0x1f2e91)['toString']();}static[a60_0x196bfe(0xb6)](_0x4ec614){const _0x36d38e=a60_0x196bfe,_0x474353={'lmWkq':function(_0xc9cd6b){return _0xc9cd6b();},'OcRDZ':function(_0x29a9ff,_0x19076e,_0x1f9b80){return _0x29a9ff(_0x19076e,_0x1f9b80);},'VmKlZ':_0x36d38e(0xaf),'FRCxW':_0x36d38e(0xa2),'llCHf':_0x36d38e(0xc0),'sCqHr':function(_0x60bc1,_0x328873){return _0x60bc1===_0x328873;},'CDtTL':function(_0x5b3943,_0x226642){return _0x5b3943+_0x226642;}},_0x50bca5=_0x474353[_0x36d38e(0x87)](getBrowserstackCLI),_0x33f0a4=_0x474353[_0x36d38e(0xb7)](nestedKeyValue,_0x50bca5[_0x36d38e(0xcf)]()[_0x36d38e(0x77)](),[_0x474353[_0x36d38e(0x7b)],_0x474353[_0x36d38e(0xc5)],_0x474353[_0x36d38e(0x9e)]])||constants[_0x36d38e(0x92)];if(!_0x4ec614||_0x474353['sCqHr'](_0x4ec614,''))return _0x33f0a4;const _0x28a0bc=_0x33f0a4[_0x36d38e(0x82)]('/')?_0x33f0a4:_0x474353[_0x36d38e(0xb5)](_0x33f0a4,'/');return new URL(_0x4ec614,_0x28a0bc)['toString']();}static[a60_0x196bfe(0xc1)](_0x456a33){const _0x4fec98=a60_0x196bfe,_0x3feef2={'XVpUb':function(_0x341265){return _0x341265();},'zcHpY':function(_0x105ff2,_0xd76307,_0xb6fed1){return _0x105ff2(_0xd76307,_0xb6fed1);},'sYyfU':_0x4fec98(0xaf),'mwUZV':_0x4fec98(0x90),'brciI':_0x4fec98(0xc0),'RuBiv':function(_0x3671a3,_0x1ca540){return _0x3671a3===_0x1ca540;},'AEEyj':function(_0x590039,_0x459e6e){return _0x590039+_0x459e6e;}},_0x866d99=_0x3feef2['XVpUb'](getBrowserstackCLI),_0x1bf100=_0x3feef2[_0x4fec98(0xc3)](nestedKeyValue,_0x866d99[_0x4fec98(0xcf)]()['getConfig'](),[_0x3feef2[_0x4fec98(0x80)],_0x3feef2[_0x4fec98(0x78)],_0x3feef2[_0x4fec98(0x75)]])||constants['BROWSERSTACK_API_URL'];if(!_0x456a33||_0x3feef2['RuBiv'](_0x456a33,''))return _0x1bf100;const _0x244d60=_0x1bf100[_0x4fec98(0x82)]('/')?_0x1bf100:_0x3feef2[_0x4fec98(0x97)](_0x1bf100,'/');return new URL(_0x456a33,_0x244d60)['toString']();}static[a60_0x196bfe(0x85)](_0x3726a3){const _0x4464b7=a60_0x196bfe,_0x230586={'UvkzR':function(_0x469d9e){return _0x469d9e();},'ZKqEU':function(_0x24e0e1,_0x592875,_0x5537eb){return _0x24e0e1(_0x592875,_0x5537eb);},'BAiGf':'apis','nCjBu':_0x4464b7(0xd5),'tdPVJ':_0x4464b7(0xc0),'VmsgM':function(_0x213543,_0x44b0ed){return _0x213543===_0x44b0ed;},'rPeOD':function(_0x40be82,_0x5d7316){return _0x40be82+_0x5d7316;}},_0x16db27=_0x230586[_0x4464b7(0x79)](getBrowserstackCLI),_0x4543ad=_0x230586[_0x4464b7(0xd0)](nestedKeyValue,_0x16db27[_0x4464b7(0xcf)]()[_0x4464b7(0x77)](),[_0x230586[_0x4464b7(0xb2)],_0x230586[_0x4464b7(0x8a)],_0x230586[_0x4464b7(0x8e)]])||constants['BROWSERSTACK_API_URL'];if(!_0x3726a3||_0x230586[_0x4464b7(0xaa)](_0x3726a3,''))return _0x4543ad;const _0x1aa8e5=_0x4543ad['endsWith']('/')?_0x4543ad:_0x230586[_0x4464b7(0xbf)](_0x4543ad,'/');return new URL(_0x3726a3,_0x1aa8e5)['toString']();}static[a60_0x196bfe(0x7e)](_0x2b4f2f){const _0x43b232=a60_0x196bfe,_0x38ff1e={'uYAAF':function(_0x2d5841){return _0x2d5841();},'cPSzJ':function(_0x1fd006,_0x668873,_0x55e66c){return _0x1fd006(_0x668873,_0x55e66c);},'HmauA':_0x43b232(0xaf),'yriJo':_0x43b232(0x90),'OhlfA':_0x43b232(0xc0),'XeGGe':function(_0x478362,_0x3b5522){return _0x478362===_0x3b5522;},'srvsn':function(_0x89fed8,_0x297144){return _0x89fed8+_0x297144;}},_0xb223c2=_0x38ff1e[_0x43b232(0x76)](getBrowserstackCLI),_0x19043f=_0x38ff1e[_0x43b232(0xa6)](nestedKeyValue,_0xb223c2[_0x43b232(0xcf)]()[_0x43b232(0x77)](),[_0x38ff1e['HmauA'],_0x38ff1e[_0x43b232(0x95)],_0x38ff1e[_0x43b232(0xc6)]])||constants[_0x43b232(0x94)];if(!_0x2b4f2f||_0x38ff1e['XeGGe'](_0x2b4f2f,''))return _0x19043f;const _0x74e0ac=_0x19043f[_0x43b232(0x82)]('/')?_0x19043f:_0x38ff1e[_0x43b232(0x8d)](_0x19043f,'/');return new URL(_0x2b4f2f,_0x74e0ac)[_0x43b232(0xc4)]();}static['getAppAutomateSessionNameAPIUrl'](_0x28885c){const _0x22b349=a60_0x196bfe,_0x3f53d0={'qceXa':function(_0x3ab71f){return _0x3ab71f();},'DIeum':function(_0x44a531,_0x338c72,_0x57e314){return _0x44a531(_0x338c72,_0x57e314);},'beBmW':_0x22b349(0xaf),'vgRjf':_0x22b349(0xd5),'NCtsK':'api','ekAyJ':function(_0x527846,_0x266b36){return _0x527846===_0x266b36;},'VPIVO':function(_0x1decc1,_0x1618a2){return _0x1decc1+_0x1618a2;}},_0x4ba734=_0x3f53d0[_0x22b349(0xb3)](getBrowserstackCLI),_0xb7f408=_0x3f53d0['DIeum'](nestedKeyValue,_0x4ba734[_0x22b349(0xcf)]()[_0x22b349(0x77)](),[_0x3f53d0[_0x22b349(0xad)],_0x3f53d0['vgRjf'],_0x3f53d0['NCtsK']])||constants['BROWSERSTACK_API_URL'];if(!_0x28885c||_0x3f53d0[_0x22b349(0xca)](_0x28885c,''))return _0xb7f408;const _0x461a6c=_0xb7f408['endsWith']('/')?_0xb7f408:_0x3f53d0[_0x22b349(0xcb)](_0xb7f408,'/');return new URL(_0x28885c,_0x461a6c)['toString']();}static[a60_0x196bfe(0xa0)](_0x3dc954){const _0x5fae6c=a60_0x196bfe,_0x51d546={'VQtaZ':function(_0x306884){return _0x306884();},'UjapG':function(_0x361775,_0x27440c,_0x3fad1c){return _0x361775(_0x27440c,_0x3fad1c);},'YSLvZ':_0x5fae6c(0xaf),'DYIWp':'automate','CkNPr':'api','ZPcHa':function(_0x4e31ff,_0x362c2f){return _0x4e31ff===_0x362c2f;},'Tghap':function(_0x4d95cb,_0xf4bc9c){return _0x4d95cb+_0xf4bc9c;}},_0x4149b2=_0x51d546['VQtaZ'](getBrowserstackCLI),_0x49e3dc=_0x51d546[_0x5fae6c(0xbe)](nestedKeyValue,_0x4149b2['getInstance']()[_0x5fae6c(0x77)](),[_0x51d546['YSLvZ'],_0x51d546['DYIWp'],_0x51d546[_0x5fae6c(0xcd)]])||constants[_0x5fae6c(0x94)];if(!_0x3dc954||_0x51d546[_0x5fae6c(0x7a)](_0x3dc954,''))return _0x49e3dc;const _0x79b692=_0x49e3dc['endsWith']('/')?_0x49e3dc:_0x51d546[_0x5fae6c(0xa9)](_0x49e3dc,'/');return new URL(_0x3dc954,_0x79b692)[_0x5fae6c(0xc4)]()['replace'](/^https?:\/\//,'');}static['getAppAutomateSessionsListAPIUrl'](_0x301eba){const _0x67834=a60_0x196bfe,_0x4e1533={'AbJnA':function(_0xa0bd80){return _0xa0bd80();},'lNdPz':function(_0x5f408d,_0x2baa7a,_0x7fd1dc){return _0x5f408d(_0x2baa7a,_0x7fd1dc);},'UPJqZ':'apis','cStAh':_0x67834(0xd5),'DmXlR':_0x67834(0xc0),'jwWFx':function(_0x575226,_0x2a64a8){return _0x575226===_0x2a64a8;},'nhsFs':function(_0x25041c,_0x229774){return _0x25041c+_0x229774;}},_0x33eced=_0x4e1533[_0x67834(0xa8)](getBrowserstackCLI),_0x23bbc7=_0x4e1533[_0x67834(0xa4)](nestedKeyValue,_0x33eced['getInstance']()[_0x67834(0x77)](),[_0x4e1533[_0x67834(0xc2)],_0x4e1533['cStAh'],_0x4e1533[_0x67834(0xd1)]])||constants[_0x67834(0x93)];if(!_0x301eba||_0x4e1533['jwWFx'](_0x301eba,''))return _0x23bbc7;const _0x214db9=_0x23bbc7[_0x67834(0x82)]('/')?_0x23bbc7:_0x4e1533[_0x67834(0xa5)](_0x23bbc7,'/');return new URL(_0x301eba,_0x214db9)['toString']()[_0x67834(0x99)](/^https?:\/\//,'');}static[a60_0x196bfe(0xbb)](_0x4ef93d){const _0x19b047=a60_0x196bfe,_0xe26e87={'IKeHH':function(_0x3c1f79){return _0x3c1f79();},'mTABw':function(_0xfc4cfd,_0x45be95,_0x363216){return _0xfc4cfd(_0x45be95,_0x363216);},'XNTYL':_0x19b047(0xaf),'manKT':_0x19b047(0xb8),'wnuIh':_0x19b047(0x7d),'BIivI':function(_0x5e9b81,_0x31112e){return _0x5e9b81===_0x31112e;},'RHBVa':function(_0x44dca6,_0x24b617){return _0x44dca6+_0x24b617;}},_0x306749=_0xe26e87[_0x19b047(0x9c)](getBrowserstackCLI),_0x43866f=_0xe26e87[_0x19b047(0x91)](nestedKeyValue,_0x306749[_0x19b047(0xcf)]()[_0x19b047(0x77)](),[_0xe26e87[_0x19b047(0xb0)],_0xe26e87['manKT'],_0xe26e87[_0x19b047(0xb9)]])||constants[_0x19b047(0xb1)];if(!_0x4ef93d||_0xe26e87['BIivI'](_0x4ef93d,''))return _0x43866f;const _0x2fea56=_0x43866f[_0x19b047(0x82)]('/')?_0x43866f:_0xe26e87['RHBVa'](_0x43866f,'/');return new URL(_0x4ef93d,_0x2fea56)[_0x19b047(0xc4)]();}static['getPlaywrightHubUrl'](_0x5d13c3){const _0x13b34f=a60_0x196bfe,_0x420c03={'rmCCV':function(_0x567868){return _0x567868();},'EnUrI':function(_0x3671ee,_0x2a61cd,_0x24e41b){return _0x3671ee(_0x2a61cd,_0x24e41b);},'JvQPL':_0x13b34f(0xaf),'ZEffq':_0x13b34f(0x90),'vpvSo':'cdp','OsPah':'wss:','EMewH':function(_0x3e0c7e,_0x48aa9f){return _0x3e0c7e===_0x48aa9f;},'LWuAp':function(_0x2a4482,_0x3f21c9){return _0x2a4482+_0x3f21c9;},'pXRNq':_0x13b34f(0xab)},_0x21a07f=_0x420c03['rmCCV'](getBrowserstackCLI),_0x589db6=_0x420c03['EnUrI'](nestedKeyValue,_0x21a07f[_0x13b34f(0xcf)]()[_0x13b34f(0x77)](),[_0x420c03[_0x13b34f(0xd2)],_0x420c03[_0x13b34f(0xa3)],_0x420c03['vpvSo']]),_0x13644e=(_0x589db6?_0x589db6['replace'](/^https:/,_0x420c03[_0x13b34f(0x83)]):null)||constants['PLAYWRIGHT_HUB_URL'];let _0x14ac59;if(!_0x5d13c3||_0x420c03[_0x13b34f(0x98)](_0x5d13c3,''))_0x14ac59=_0x13644e;else{const _0x4be946=_0x13644e[_0x13b34f(0x82)]('/')?_0x13644e:_0x420c03[_0x13b34f(0xc8)](_0x13644e,'/');_0x14ac59=new URL(_0x5d13c3,_0x4be946)['toString']();}return!_0x14ac59[_0x13b34f(0x82)](_0x420c03[_0x13b34f(0x7c)])&&(_0x14ac59+=_0x420c03[_0x13b34f(0x7c)]),_0x14ac59;}static[a60_0x196bfe(0xc9)](_0x7f864f){const _0xb5b50a=a60_0x196bfe,_0xe3397e={'gMlxQ':function(_0x46b23f){return _0x46b23f();},'uQoNt':function(_0x872a29,_0x5b6818,_0x359076){return _0x872a29(_0x5b6818,_0x359076);},'WodOF':_0xb5b50a(0xaf),'mjexJ':_0xb5b50a(0x90),'mmSza':_0xb5b50a(0xd4),'AuFwJ':_0xb5b50a(0x9f),'UBXhZ':function(_0xd31bf4,_0x4ca027){return _0xd31bf4===_0x4ca027;},'AkIJY':function(_0x1fb0d5,_0x380a72){return _0x1fb0d5+_0x380a72;},'xBRCS':_0xb5b50a(0x8b)},_0x1eb5fb=_0xe3397e[_0xb5b50a(0xa1)](getBrowserstackCLI),_0x4cdb05=_0xe3397e['uQoNt'](nestedKeyValue,_0x1eb5fb[_0xb5b50a(0xcf)]()[_0xb5b50a(0x77)](),[_0xe3397e[_0xb5b50a(0x9a)],_0xe3397e['mjexJ'],_0xe3397e[_0xb5b50a(0xac)]]),_0x37f499=(_0x4cdb05?_0x4cdb05[_0xb5b50a(0x99)](/^https:/,_0xe3397e[_0xb5b50a(0xce)]):null)||constants[_0xb5b50a(0x89)];let _0x3f442b;if(!_0x7f864f||_0xe3397e[_0xb5b50a(0x7f)](_0x7f864f,''))_0x3f442b=_0x37f499;else{const _0x53dc55=_0x37f499['endsWith']('/')?_0x37f499:_0xe3397e['AkIJY'](_0x37f499,'/');_0x3f442b=new URL(_0x7f864f,_0x53dc55)[_0xb5b50a(0xc4)]();}return!_0x3f442b[_0xb5b50a(0x82)](_0xe3397e['xBRCS'])&&(_0x3f442b+=_0xe3397e[_0xb5b50a(0x8f)]),_0x3f442b;}}module['exports']=APIUtilityMethods;
@@ -1 +1 @@
1
- const a61_0x190068=a61_0x46c2;function a61_0x39ba(){const _0x1e7ac1=['add','getErrorDetails','135448cABlgJ','xmaxS','WNlEQ','errorCode','8fMwljN','object','base64','getInstance','errorCodes','402470mNnfqc','errorMessage','reportSessionLinkingIssue','error','noxZQ','ssl\x20cert\x20issue','Session\x20Linking\x20Issue\x20details\x20not\x20found','zHkws','iABJS','409339cYIsrA','xDTzw','toString','PrSyk','33DNHVMj','IoZqV','conflicting\x20env\x20var\x20detected','WpWYV','.browserstack\x20folder\x20not\x20accessible','size','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','getErrorCode','ENABN','Process\x20Interruption\x20details\x20not\x20found:','PspYg','XEIGs','vTKsF','../../helpers/logger','keys','from','reportConflictingEnvVarIssue','winstonLogger','finalErrorMessage','JHjmj','978nirNrx','stringify','reportDotBrowserStackFolderNotAccessibleIssue','EBFlf','RaomU','errorCodesOccurredWhenCLINotRunning','length','161320kvVKYX','checkForErrorsOccuredInCLI','tmkcV','fvuOG','reportClientTroubleshootingError','QcJXP','{ERROR_CODES}','getErrorCodesOccurredInCli','parse','errorCodesOccurredInCLI','reportSSLCertIssue','FNiTS','dTBid','getErrorMessage','jLqJh','{ENV_VAR}','ADEAB','wdcXb','isArray','../v2/grpcClient','./constants','warn','Session\x20Linking\x20Issue','{SIGNAL}','259410zsvqYC','Connectivity\x20Issue\x20details\x20not\x20found','getAggregatedClientTroubleshootingErrors','EWmYN','djMUw','join','getCachedErrorCodes','BCbhS','286CoDEpN','logSituation','reportFinalDetectionState','GIgxJ','SSL\x20Certificate\x20Issue\x20details\x20not\x20found.\x20To\x20pass\x20a\x20custom\x20CA\x20bundle,\x20set\x20NODE_EXTRA_CA_CERTS\x20or\x20BROWSERSTACK_EXTRA_CA_CERTS\x20env\x20var\x20to\x20the\x20certificate\x20file\x20path.','logError','1373490UKuZWi','getSuccess','isRunning','replace','spiuS','push','Error\x20in\x20getting\x20error\x20details\x20for\x20','cachedErrorCodes','OBYPP','11945ybFSvh','documentationLink','getAggregatedErrorCodes'];a61_0x39ba=function(){return _0x1e7ac1;};return a61_0x39ba();}(function(_0x56cb66,_0x700630){const _0xe9023c=a61_0x46c2,_0x4aa0e2=_0x56cb66();while(!![]){try{const _0x285ac8=parseInt(_0xe9023c(0x1e3))/0x1+-parseInt(_0xe9023c(0x1bb))/0x2+parseInt(_0xe9023c(0x1c8))/0x3*(-parseInt(_0xe9023c(0x1b2))/0x4)+-parseInt(_0xe9023c(0x212))/0x5*(-parseInt(_0xe9023c(0x1dc))/0x6)+-parseInt(_0xe9023c(0x1c4))/0x7*(-parseInt(_0xe9023c(0x1b6))/0x8)+-parseInt(_0xe9023c(0x209))/0x9+parseInt(_0xe9023c(0x1fb))/0xa*(parseInt(_0xe9023c(0x203))/0xb);if(_0x285ac8===_0x700630)break;else _0x4aa0e2['push'](_0x4aa0e2['shift']());}catch(_0x4576f7){_0x4aa0e2['push'](_0x4aa0e2['shift']());}}}(a61_0x39ba,0x8811f));const logger=require(a61_0x190068(0x1d5))[a61_0x190068(0x1d9)],BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require(a61_0x190068(0x1f6)),constants=require(a61_0x190068(0x1f7));class ClientTroubleShootingService{static [a61_0x190068(0x210)]=null;static ['errorCodesOccurredWhenCLINotRunning']=new Set();static async['getErrorDetails'](_0x133e63){const _0x1165be=a61_0x190068,_0xf8a176={};_0xf8a176[_0x1165be(0x1d3)]=function(_0x1f6684,_0x51e3a2){return _0x1f6684!==_0x51e3a2;};const _0x5527ca=_0xf8a176;try{if(BrowserstackCLI[_0x1165be(0x1b9)]()['isRunning']()){const _0x46df2f=await GrpcClient['getInstance']()[_0x1165be(0x1e7)](_0x133e63);if(_0x5527ca['XEIGs'](_0x46df2f,null)&&_0x46df2f[_0x1165be(0x20a)]())return{'errorCode':_0x46df2f[_0x1165be(0x1cf)](),'errorMessage':_0x46df2f[_0x1165be(0x1f0)]()};return{};}return{};}catch(_0xbe3159){return this[_0x1165be(0x208)](_0x1165be(0x20f)+_0x133e63+':',_0xbe3159),{};}}static async[a61_0x190068(0x214)](){const _0x434ece=a61_0x190068,_0x4c59cb={};_0x4c59cb[_0x434ece(0x1c7)]=function(_0x5019d2,_0x3e07b2){return _0x5019d2!==_0x3e07b2;},_0x4c59cb[_0x434ece(0x1e5)]=_0x434ece(0x1b8),_0x4c59cb[_0x434ece(0x1db)]='Error\x20in\x20getting\x20aggregated\x20error\x20codes:';const _0x3abc23=_0x4c59cb;try{if(BrowserstackCLI['getInstance']()[_0x434ece(0x20b)]()){const _0x502693=await GrpcClient[_0x434ece(0x1b9)]()[_0x434ece(0x1fd)]();if(_0x3abc23['PrSyk'](_0x502693,null)&&_0x502693[_0x434ece(0x20a)]()){const _0x57c0da=Buffer['from'](_0x502693['getErrorCodes'](),_0x3abc23[_0x434ece(0x1e5)])[_0x434ece(0x1c6)](),_0x5f4d61=_0x57c0da?JSON['parse'](_0x57c0da):[],_0x44f9f1=_0x502693['getDocumentationLink'](),_0x1b6b05=_0x502693['getFinalErrorMessage'](),_0x4e7ea1=Buffer[_0x434ece(0x1d7)](_0x502693[_0x434ece(0x1ea)](),_0x3abc23[_0x434ece(0x1e5)])[_0x434ece(0x1c6)](),_0x17d274=_0x4e7ea1?JSON[_0x434ece(0x1eb)](_0x4e7ea1):[],_0x37a86a={};return _0x37a86a[_0x434ece(0x1ba)]=_0x5f4d61,_0x37a86a['documentationLink']=_0x44f9f1,_0x37a86a['finalErrorMessage']=_0x1b6b05,_0x37a86a[_0x434ece(0x1ec)]=_0x17d274,_0x37a86a;}const _0x2d6873={};return _0x2d6873[_0x434ece(0x1ba)]=[],_0x2d6873[_0x434ece(0x213)]='',_0x2d6873[_0x434ece(0x1da)]='',_0x2d6873['errorCodesOccurredInCLI']=[],_0x2d6873;}const _0x375949={};return _0x375949[_0x434ece(0x1ba)]=[],_0x375949[_0x434ece(0x213)]='',_0x375949[_0x434ece(0x1da)]='',_0x375949[_0x434ece(0x1ec)]=[],_0x375949;}catch(_0x4a30de){this[_0x434ece(0x208)](_0x3abc23['JHjmj'],_0x4a30de);const _0x152f60={};return _0x152f60[_0x434ece(0x1ba)]=[],_0x152f60[_0x434ece(0x213)]='',_0x152f60['finalErrorMessage']='',_0x152f60[_0x434ece(0x1ec)]=[],_0x152f60;}}static[a61_0x190068(0x204)](_0x1d4707,_0x5d98c7){const _0x4d846b=a61_0x190068;logger[_0x4d846b(0x1f8)](_0x1d4707+':\x20'+_0x5d98c7);}static[a61_0x190068(0x1e4)](_0x4589e7){const _0x4f97de=a61_0x190068,_0x45f40e={};_0x45f40e[_0x4f97de(0x1df)]=function(_0x40d67d,_0x27396d){return _0x40d67d!=_0x27396d;},_0x45f40e[_0x4f97de(0x1c3)]=function(_0x53ad05,_0x511a7c){return _0x53ad05>_0x511a7c;};const _0x12de82=_0x45f40e,_0x4e1ef7=[];if(_0x12de82[_0x4f97de(0x1df)](_0x4589e7,null)&&_0x12de82[_0x4f97de(0x1df)](_0x4589e7[_0x4f97de(0x1ec)],null)&&_0x12de82['iABJS'](_0x4589e7[_0x4f97de(0x1ec)]['length'],0x0))for(const _0x2c31b0 of _0x4589e7[_0x4f97de(0x1ec)]){_0x12de82[_0x4f97de(0x1df)](_0x2c31b0[_0x4f97de(0x1b5)],null)&&_0x12de82['EBFlf'](_0x2c31b0[_0x4f97de(0x1bc)],null)&&(_0x4e1ef7[_0x4f97de(0x20e)](_0x2c31b0[_0x4f97de(0x1b5)]),this['logSituation'](_0x2c31b0['errorCode'],_0x2c31b0['errorMessage']));}return _0x4e1ef7;}static[a61_0x190068(0x201)](){return this['cachedErrorCodes'];}static[a61_0x190068(0x208)](_0x5aeb80,_0x498a4a){const _0x5a9e0a=a61_0x190068,_0x17ec81={};_0x17ec81[_0x5a9e0a(0x1e6)]=function(_0x3b4de6,_0x2b3281){return _0x3b4de6===_0x2b3281;},_0x17ec81['jjMWg']=_0x5a9e0a(0x1b7);const _0x598b3a=_0x17ec81;if(_0x598b3a[_0x5a9e0a(0x1e6)](typeof _0x498a4a,_0x598b3a['jjMWg']))try{logger['error']('[ClientTroubleShootingService]\x20'+_0x5aeb80+'\x20'+JSON[_0x5a9e0a(0x1dd)](_0x498a4a));}catch(_0x318251){logger[_0x5a9e0a(0x1be)]('[ClientTroubleShootingService]\x20'+_0x5aeb80+'\x20'+_0x498a4a);}else logger['error']('[ClientTroubleShootingService]\x20'+_0x5aeb80+'\x20'+_0x498a4a);}static async['reportProcessInterruptionSituation'](_0xbc377a){const _0x244dd=a61_0x190068,_0x59e18d={};_0x59e18d[_0x244dd(0x1b3)]='Process\x20Interruption',_0x59e18d[_0x244dd(0x206)]=function(_0x16f8bc,_0x225579){return _0x16f8bc===_0x225579;},_0x59e18d[_0x244dd(0x1fe)]=_0x244dd(0x1d1),_0x59e18d[_0x244dd(0x1c9)]=_0x244dd(0x1fa);const _0x12ea7c=_0x59e18d,_0x105b4a=await this['getErrorDetails'](_0x12ea7c[_0x244dd(0x1b3)]);if(!_0x105b4a||_0x12ea7c[_0x244dd(0x206)](Object[_0x244dd(0x1d6)](_0x105b4a)[_0x244dd(0x1e2)],0x0)){this[_0x244dd(0x208)](_0x12ea7c[_0x244dd(0x1fe)],_0x105b4a);return;}this[_0x244dd(0x204)](_0x105b4a[_0x244dd(0x1b5)],_0x105b4a[_0x244dd(0x1bc)]['replace'](_0x12ea7c[_0x244dd(0x1c9)],_0xbc377a));}static async[a61_0x190068(0x1bd)](){const _0x3f88d6=a61_0x190068,_0x426fb6={};_0x426fb6[_0x3f88d6(0x1cb)]=_0x3f88d6(0x1f9),_0x426fb6[_0x3f88d6(0x1d0)]=function(_0x114d09,_0x506889){return _0x114d09===_0x506889;},_0x426fb6['RaomU']=_0x3f88d6(0x1c1);const _0x5a0e84=_0x426fb6,_0x106b8a=await this[_0x3f88d6(0x1b1)](_0x5a0e84[_0x3f88d6(0x1cb)]);if(!_0x106b8a||_0x5a0e84[_0x3f88d6(0x1d0)](Object[_0x3f88d6(0x1d6)](_0x106b8a)['length'],0x0)){this[_0x3f88d6(0x208)](_0x5a0e84[_0x3f88d6(0x1e0)],_0x106b8a);return;}this[_0x3f88d6(0x204)](_0x106b8a[_0x3f88d6(0x1b5)],_0x106b8a[_0x3f88d6(0x1bc)]);}static async['reportConnectivityIssue'](){const _0x4d102a=a61_0x190068,_0xce7159={};_0xce7159[_0x4d102a(0x1bf)]='browserstack\x20cloud\x20not\x20reachable',_0xce7159[_0x4d102a(0x1ee)]=function(_0x101a9d,_0x1975ff){return _0x101a9d===_0x1975ff;},_0xce7159[_0x4d102a(0x1b4)]=_0x4d102a(0x1fc);const _0x609517=_0xce7159,_0x5061ba=await this['getErrorDetails'](_0x609517[_0x4d102a(0x1bf)]);if(!_0x5061ba||_0x609517[_0x4d102a(0x1ee)](Object['keys'](_0x5061ba)[_0x4d102a(0x1e2)],0x0)){this[_0x4d102a(0x208)](_0x609517[_0x4d102a(0x1b4)],_0x5061ba);return;}this['logSituation'](_0x5061ba[_0x4d102a(0x1b5)],_0x5061ba['errorMessage']);}static async[a61_0x190068(0x1ed)](){const _0x4316c6=a61_0x190068,_0x247672={};_0x247672[_0x4316c6(0x1ef)]=_0x4316c6(0x1c0),_0x247672[_0x4316c6(0x1e8)]=function(_0x5b2011,_0x39a631){return _0x5b2011===_0x39a631;},_0x247672[_0x4316c6(0x1d2)]=_0x4316c6(0x207);const _0x28e475=_0x247672,_0x4f9e06=await this[_0x4316c6(0x1b1)](_0x28e475[_0x4316c6(0x1ef)]);if(!_0x4f9e06||_0x28e475[_0x4316c6(0x1e8)](Object[_0x4316c6(0x1d6)](_0x4f9e06)[_0x4316c6(0x1e2)],0x0)){this[_0x4316c6(0x208)](_0x28e475[_0x4316c6(0x1d2)],_0x4f9e06);return;}this[_0x4316c6(0x204)](_0x4f9e06[_0x4316c6(0x1b5)],_0x4f9e06[_0x4316c6(0x1bc)]);}static[a61_0x190068(0x1de)](){const _0x1a823a=a61_0x190068,_0x3c98f0={};_0x3c98f0[_0x1a823a(0x1c5)]=_0x1a823a(0x1cc),_0x3c98f0['djMUw']=function(_0x3811b1,_0x3cff77){return _0x3811b1===_0x3cff77;},_0x3c98f0[_0x1a823a(0x1c2)]='.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found';const _0x26e8a8=_0x3c98f0,_0x181aee=constants['CLIENT_TROUBLESHOOTING_HASH'][_0x26e8a8[_0x1a823a(0x1c5)]];if(!_0x181aee||_0x26e8a8[_0x1a823a(0x1ff)](Object['keys'](_0x181aee)['length'],0x0)){this[_0x1a823a(0x208)](_0x26e8a8['zHkws'],_0x181aee);return;}this[_0x1a823a(0x1e1)][_0x1a823a(0x215)](_0x181aee[0x0]),this[_0x1a823a(0x204)](_0x181aee[0x0],_0x181aee[0x1]);}static async[a61_0x190068(0x1d8)](_0x2e6000){const _0x43cf80=a61_0x190068,_0xe775c4={};_0xe775c4[_0x43cf80(0x1f3)]=_0x43cf80(0x1ca),_0xe775c4[_0x43cf80(0x1f1)]=function(_0x27bda3,_0x50216e){return _0x27bda3===_0x50216e;},_0xe775c4[_0x43cf80(0x1f4)]='Conflicting\x20Env\x20Var\x20details\x20not\x20found',_0xe775c4['TGGhD']=_0x43cf80(0x1f2);const _0x5782be=_0xe775c4,_0x43fac9=await this[_0x43cf80(0x1b1)](_0x5782be[_0x43cf80(0x1f3)]);if(!_0x43fac9||_0x5782be['jLqJh'](Object[_0x43cf80(0x1d6)](_0x43fac9)[_0x43cf80(0x1e2)],0x0)){this[_0x43cf80(0x208)](_0x5782be[_0x43cf80(0x1f4)],_0x43fac9);return;}const _0x566910=_0x43fac9[_0x43cf80(0x1bc)][_0x43cf80(0x20c)](_0x5782be['TGGhD'],_0x2e6000);this[_0x43cf80(0x204)](_0x43fac9[_0x43cf80(0x1b5)],_0x566910);}static async[a61_0x190068(0x205)](){const _0x12d138=a61_0x190068,_0xd0960a={};_0xd0960a[_0x12d138(0x211)]=function(_0x53296b,_0x546d50){return _0x53296b>_0x546d50;},_0xd0960a[_0x12d138(0x202)]=function(_0x5169f9,_0x496f9c){return _0x5169f9>_0x496f9c;},_0xd0960a[_0x12d138(0x20d)]=_0x12d138(0x1e9),_0xd0960a[_0x12d138(0x1d4)]=_0x12d138(0x1ce);const _0x14a92e=_0xd0960a,_0x488ddb=await this[_0x12d138(0x214)](),_0x19c78d=this[_0x12d138(0x1e4)](_0x488ddb),_0xec81bb=Array[_0x12d138(0x1f5)](_0x488ddb[_0x12d138(0x1ba)])?_0x488ddb[_0x12d138(0x1ba)]:[],_0x298a09=_0x14a92e[_0x12d138(0x211)](this['errorCodesOccurredWhenCLINotRunning'][_0x12d138(0x1cd)],0x0)?Array[_0x12d138(0x1d7)](this[_0x12d138(0x1e1)]):[],_0x20769c=new Set([..._0xec81bb,..._0x19c78d,..._0x298a09]),_0x2df48f=Array[_0x12d138(0x1d7)](_0x20769c);if(_0x14a92e[_0x12d138(0x202)](_0x2df48f[_0x12d138(0x1e2)],0x0)){const _0x3e9b63=_0x488ddb[_0x12d138(0x1da)]['replace'](_0x14a92e[_0x12d138(0x20d)],_0x2df48f[_0x12d138(0x200)](',\x20'))[_0x12d138(0x20c)](_0x14a92e[_0x12d138(0x1d4)],_0x488ddb['documentationLink']);logger[_0x12d138(0x1f8)](_0x3e9b63),this[_0x12d138(0x210)]=_0x2df48f;}}}function a61_0x46c2(_0x20d6ed,_0x218359){const _0x39bab9=a61_0x39ba();return a61_0x46c2=function(_0x46c228,_0x14efc0){_0x46c228=_0x46c228-0x1b1;let _0x213aea=_0x39bab9[_0x46c228];return _0x213aea;},a61_0x46c2(_0x20d6ed,_0x218359);}module['exports']=ClientTroubleShootingService;
1
+ function a61_0x444e(){const _0x52cfd6=['Conflicting\x20Env\x20Var\x20details\x20not\x20found','getErrorMessage','Error\x20in\x20getting\x20error\x20details\x20for\x20','warn','tIOUp','SfloY','finalErrorMessage','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','errorCodes','.browserstack\x20folder\x20not\x20accessible','getCachedErrorCodes','5971qprEyS','lIKsQ','join','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','EyXXM','errorCodesOccurredWhenCLINotRunning','cachedErrorCodes','weowJ','Session\x20Linking\x20Issue\x20details\x20not\x20found','8474334YPinEL','../v2/grpcClient','winstonLogger','FmLJW','ssl\x20cert\x20issue','getErrorCodes','error','keys','Dmart','base64','Session\x20Linking\x20Issue','IAONk','4492nEXOJI','{ERROR_CODES}','MhgiO','getErrorCodesOccurredInCli','pyiov','pzAFS','ixRsD','replace','yWUMB','hoWqs','XibLD','Process\x20Interruption\x20details\x20not\x20found:','errorCode','1077794AJniEg','UcsDO','errorCodesOccurredInCLI','checkForErrorsOccuredInCLI','368siNXmh','logSituation','../../helpers/logger','from','../v2/browserstackCLI','efDau','nMrAC','reportConnectivityIssue','getErrorDetails','push','1124GlbezG','getAggregatedClientTroubleshootingErrors','sJgsb','10rJHquG','lEHBe','stringify','3279BAlEjY','10937592DiLkCl','[ClientTroubleShootingService]\x20','{ENV_VAR}','getFinalErrorMessage','reportConflictingEnvVarIssue','tUDNb','reportProcessInterruptionSituation','getInstance','length','logError','reportClientTroubleshootingError','isArray','uFDWq','ERnQC','rfkxi','browserstack\x20cloud\x20not\x20reachable','IxGPl','conflicting\x20env\x20var\x20detected','reportSessionLinkingIssue','getAggregatedErrorCodes','object','auJnR','parse','NIPIH','getSuccess','getErrorCode','4895xctxOf','tiTTs','CLIENT_TROUBLESHOOTING_HASH','dCcDR','toString','add','getDocumentationLink','./constants','VzVfw','IiEnk','documentationLink','errorMessage','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','876XDsBWZ','23643bUZubT','isRunning','GTHOP','Connectivity\x20Issue\x20details\x20not\x20found','SSL\x20Certificate\x20Issue\x20details\x20not\x20found.\x20To\x20pass\x20a\x20custom\x20CA\x20bundle,\x20set\x20NODE_EXTRA_CA_CERTS\x20or\x20BROWSERSTACK_EXTRA_CA_CERTS\x20env\x20var\x20to\x20the\x20certificate\x20file\x20path.'];a61_0x444e=function(){return _0x52cfd6;};return a61_0x444e();}const a61_0x5be142=a61_0x3d30;(function(_0x3ab654,_0x3ecea1){const _0xf3c64d=a61_0x3d30,_0x2b47fa=_0x3ab654();while(!![]){try{const _0x4c3b1f=-parseInt(_0xf3c64d(0x187))/0x1+parseInt(_0xf3c64d(0x195))/0x2*(parseInt(_0xf3c64d(0x19b))/0x3)+-parseInt(_0xf3c64d(0x17a))/0x4*(-parseInt(_0xf3c64d(0x1b6))/0x5)+-parseInt(_0xf3c64d(0x154))/0x6*(-parseInt(_0xf3c64d(0x165))/0x7)+parseInt(_0xf3c64d(0x18b))/0x8*(-parseInt(_0xf3c64d(0x155))/0x9)+-parseInt(_0xf3c64d(0x198))/0xa*(parseInt(_0xf3c64d(0x16e))/0xb)+parseInt(_0xf3c64d(0x19c))/0xc;if(_0x4c3b1f===_0x3ecea1)break;else _0x2b47fa['push'](_0x2b47fa['shift']());}catch(_0x5da2fc){_0x2b47fa['push'](_0x2b47fa['shift']());}}}(a61_0x444e,0xbe971));function a61_0x3d30(_0x3be9ba,_0xccfb0e){const _0x444e38=a61_0x444e();return a61_0x3d30=function(_0x3d30c1,_0x55f76a){_0x3d30c1=_0x3d30c1-0x153;let _0x501630=_0x444e38[_0x3d30c1];return _0x501630;},a61_0x3d30(_0x3be9ba,_0xccfb0e);}const logger=require(a61_0x5be142(0x18d))[a61_0x5be142(0x170)],BrowserstackCLI=require(a61_0x5be142(0x18f)),GrpcClient=require(a61_0x5be142(0x16f)),constants=require(a61_0x5be142(0x1bd));class ClientTroubleShootingService{static [a61_0x5be142(0x16b)]=null;static [a61_0x5be142(0x16a)]=new Set();static async[a61_0x5be142(0x193)](_0x519b5e){const _0x29413b=a61_0x5be142,_0x4206ea={};_0x4206ea[_0x29413b(0x1ac)]=function(_0x1496a7,_0x1743b4){return _0x1496a7!==_0x1743b4;};const _0xf951e5=_0x4206ea;try{if(BrowserstackCLI[_0x29413b(0x1a3)]()[_0x29413b(0x156)]()){const _0x1fc0ef=await GrpcClient[_0x29413b(0x1a3)]()[_0x29413b(0x1a6)](_0x519b5e);if(_0xf951e5['IxGPl'](_0x1fc0ef,null)&&_0x1fc0ef[_0x29413b(0x1b4)]())return{'errorCode':_0x1fc0ef[_0x29413b(0x1b5)](),'errorMessage':_0x1fc0ef[_0x29413b(0x15b)]()};return{};}return{};}catch(_0x5c8feb){return this['logError'](_0x29413b(0x15c)+_0x519b5e+':',_0x5c8feb),{};}}static async['getAggregatedErrorCodes'](){const _0x3dd4c7=a61_0x5be142,_0x5a7354={};_0x5a7354['uFDWq']=function(_0x1b0cbb,_0x5d50f3){return _0x1b0cbb!==_0x5d50f3;},_0x5a7354['EyXXM']=_0x3dd4c7(0x177),_0x5a7354[_0x3dd4c7(0x17c)]=_0x3dd4c7(0x153);const _0x3a00e0=_0x5a7354;try{if(BrowserstackCLI['getInstance']()[_0x3dd4c7(0x156)]()){const _0x80243c=await GrpcClient['getInstance']()[_0x3dd4c7(0x196)]();if(_0x3a00e0[_0x3dd4c7(0x1a8)](_0x80243c,null)&&_0x80243c[_0x3dd4c7(0x1b4)]()){const _0x1f7477=Buffer[_0x3dd4c7(0x18e)](_0x80243c[_0x3dd4c7(0x173)](),_0x3a00e0[_0x3dd4c7(0x169)])[_0x3dd4c7(0x1ba)](),_0x4081fd=_0x1f7477?JSON[_0x3dd4c7(0x1b2)](_0x1f7477):[],_0x55f820=_0x80243c[_0x3dd4c7(0x1bc)](),_0x5da13e=_0x80243c[_0x3dd4c7(0x19f)](),_0x238278=Buffer[_0x3dd4c7(0x18e)](_0x80243c[_0x3dd4c7(0x17d)](),_0x3a00e0[_0x3dd4c7(0x169)])[_0x3dd4c7(0x1ba)](),_0xdf096c=_0x238278?JSON[_0x3dd4c7(0x1b2)](_0x238278):[],_0x303fd4={};return _0x303fd4['errorCodes']=_0x4081fd,_0x303fd4[_0x3dd4c7(0x1c0)]=_0x55f820,_0x303fd4['finalErrorMessage']=_0x5da13e,_0x303fd4[_0x3dd4c7(0x189)]=_0xdf096c,_0x303fd4;}const _0x322c24={};return _0x322c24[_0x3dd4c7(0x162)]=[],_0x322c24['documentationLink']='',_0x322c24[_0x3dd4c7(0x160)]='',_0x322c24['errorCodesOccurredInCLI']=[],_0x322c24;}const _0x5f33ad={};return _0x5f33ad[_0x3dd4c7(0x162)]=[],_0x5f33ad[_0x3dd4c7(0x1c0)]='',_0x5f33ad[_0x3dd4c7(0x160)]='',_0x5f33ad['errorCodesOccurredInCLI']=[],_0x5f33ad;}catch(_0x1bbd20){this['logError'](_0x3a00e0[_0x3dd4c7(0x17c)],_0x1bbd20);const _0x4cf301={};return _0x4cf301[_0x3dd4c7(0x162)]=[],_0x4cf301[_0x3dd4c7(0x1c0)]='',_0x4cf301[_0x3dd4c7(0x160)]='',_0x4cf301[_0x3dd4c7(0x189)]=[],_0x4cf301;}}static['logSituation'](_0x151abb,_0x528f45){const _0x319a59=a61_0x5be142;logger[_0x319a59(0x15d)](_0x151abb+':\x20'+_0x528f45);}static[a61_0x5be142(0x18a)](_0x248185){const _0x26e4b0=a61_0x5be142,_0x16398a={};_0x16398a[_0x26e4b0(0x199)]=function(_0x4110bd,_0x3f8d02){return _0x4110bd!=_0x3f8d02;},_0x16398a[_0x26e4b0(0x183)]=function(_0x26b3d3,_0x251c38){return _0x26b3d3!=_0x251c38;},_0x16398a['tUDNb']=function(_0x4e3f10,_0x249f2f){return _0x4e3f10>_0x249f2f;},_0x16398a[_0x26e4b0(0x1b9)]=function(_0x10b82b,_0x1adb69){return _0x10b82b!=_0x1adb69;};const _0x2a15e4=_0x16398a,_0x1d8864=[];if(_0x2a15e4[_0x26e4b0(0x199)](_0x248185,null)&&_0x2a15e4[_0x26e4b0(0x183)](_0x248185[_0x26e4b0(0x189)],null)&&_0x2a15e4[_0x26e4b0(0x1a1)](_0x248185['errorCodesOccurredInCLI'][_0x26e4b0(0x1a4)],0x0))for(const _0x53f345 of _0x248185[_0x26e4b0(0x189)]){_0x2a15e4['lEHBe'](_0x53f345['errorCode'],null)&&_0x2a15e4[_0x26e4b0(0x1b9)](_0x53f345[_0x26e4b0(0x1c1)],null)&&(_0x1d8864[_0x26e4b0(0x194)](_0x53f345['errorCode']),this[_0x26e4b0(0x18c)](_0x53f345[_0x26e4b0(0x186)],_0x53f345[_0x26e4b0(0x1c1)]));}return _0x1d8864;}static[a61_0x5be142(0x164)](){const _0xe99070=a61_0x5be142;return this[_0xe99070(0x16b)];}static['logError'](_0xae1794,_0x40cbbb){const _0x2193d4=a61_0x5be142,_0x2a05f9={};_0x2a05f9['Dmart']=function(_0x2c840d,_0x2bd736){return _0x2c840d===_0x2bd736;},_0x2a05f9[_0x2193d4(0x1be)]=_0x2193d4(0x1b0);const _0x421b86=_0x2a05f9;if(_0x421b86[_0x2193d4(0x176)](typeof _0x40cbbb,_0x421b86[_0x2193d4(0x1be)]))try{logger[_0x2193d4(0x174)]('[ClientTroubleShootingService]\x20'+_0xae1794+'\x20'+JSON[_0x2193d4(0x19a)](_0x40cbbb));}catch(_0xcadfbb){logger[_0x2193d4(0x174)](_0x2193d4(0x19d)+_0xae1794+'\x20'+_0x40cbbb);}else logger[_0x2193d4(0x174)](_0x2193d4(0x19d)+_0xae1794+'\x20'+_0x40cbbb);}static async[a61_0x5be142(0x1a2)](_0x5986a7){const _0x594513=a61_0x5be142,_0x534b83={};_0x534b83[_0x594513(0x15f)]='Process\x20Interruption',_0x534b83[_0x594513(0x179)]=function(_0x41c4e9,_0x114d7f){return _0x41c4e9===_0x114d7f;},_0x534b83[_0x594513(0x191)]=_0x594513(0x185),_0x534b83['ERnQC']='{SIGNAL}';const _0x24b093=_0x534b83,_0x1c1933=await this[_0x594513(0x193)](_0x24b093['SfloY']);if(!_0x1c1933||_0x24b093['IAONk'](Object[_0x594513(0x175)](_0x1c1933)[_0x594513(0x1a4)],0x0)){this[_0x594513(0x1a5)](_0x24b093[_0x594513(0x191)],_0x1c1933);return;}this[_0x594513(0x18c)](_0x1c1933[_0x594513(0x186)],_0x1c1933['errorMessage'][_0x594513(0x181)](_0x24b093[_0x594513(0x1a9)],_0x5986a7));}static async[a61_0x5be142(0x1ae)](){const _0xde9cf0=a61_0x5be142,_0x389c4d={};_0x389c4d[_0xde9cf0(0x1bf)]=_0xde9cf0(0x178),_0x389c4d[_0xde9cf0(0x1b1)]=function(_0x2f03af,_0x1e8ac7){return _0x2f03af===_0x1e8ac7;},_0x389c4d[_0xde9cf0(0x16c)]=_0xde9cf0(0x16d);const _0x239469=_0x389c4d,_0x57e984=await this[_0xde9cf0(0x193)](_0x239469[_0xde9cf0(0x1bf)]);if(!_0x57e984||_0x239469['auJnR'](Object['keys'](_0x57e984)[_0xde9cf0(0x1a4)],0x0)){this[_0xde9cf0(0x1a5)](_0x239469['weowJ'],_0x57e984);return;}this[_0xde9cf0(0x18c)](_0x57e984[_0xde9cf0(0x186)],_0x57e984[_0xde9cf0(0x1c1)]);}static async[a61_0x5be142(0x192)](){const _0x4de7b3=a61_0x5be142,_0x24e88a={};_0x24e88a[_0x4de7b3(0x17e)]=_0x4de7b3(0x1ab),_0x24e88a['lIKsQ']=function(_0xaa1fce,_0x3e79ba){return _0xaa1fce===_0x3e79ba;},_0x24e88a['ixRsD']=_0x4de7b3(0x158);const _0x63ad4e=_0x24e88a,_0x34bbac=await this[_0x4de7b3(0x193)](_0x63ad4e['pyiov']);if(!_0x34bbac||_0x63ad4e[_0x4de7b3(0x166)](Object['keys'](_0x34bbac)['length'],0x0)){this[_0x4de7b3(0x1a5)](_0x63ad4e[_0x4de7b3(0x180)],_0x34bbac);return;}this[_0x4de7b3(0x18c)](_0x34bbac[_0x4de7b3(0x186)],_0x34bbac[_0x4de7b3(0x1c1)]);}static async['reportSSLCertIssue'](){const _0x453aae=a61_0x5be142,_0x5d07fb={};_0x5d07fb[_0x453aae(0x197)]=_0x453aae(0x172),_0x5d07fb[_0x453aae(0x1aa)]=function(_0x4329f5,_0x27cb01){return _0x4329f5===_0x27cb01;},_0x5d07fb[_0x453aae(0x188)]=_0x453aae(0x159);const _0x34e635=_0x5d07fb,_0x500295=await this[_0x453aae(0x193)](_0x34e635['sJgsb']);if(!_0x500295||_0x34e635[_0x453aae(0x1aa)](Object[_0x453aae(0x175)](_0x500295)[_0x453aae(0x1a4)],0x0)){this[_0x453aae(0x1a5)](_0x34e635[_0x453aae(0x188)],_0x500295);return;}this[_0x453aae(0x18c)](_0x500295[_0x453aae(0x186)],_0x500295[_0x453aae(0x1c1)]);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0x5f3580=a61_0x5be142,_0x36f8cc={};_0x36f8cc[_0x5f3580(0x171)]=_0x5f3580(0x163),_0x36f8cc[_0x5f3580(0x182)]=function(_0x1089f6,_0x2ca5f4){return _0x1089f6===_0x2ca5f4;},_0x36f8cc['BPfbc']=_0x5f3580(0x168);const _0x25f6a6=_0x36f8cc,_0x53ceb6=constants[_0x5f3580(0x1b8)][_0x25f6a6['FmLJW']];if(!_0x53ceb6||_0x25f6a6['yWUMB'](Object['keys'](_0x53ceb6)[_0x5f3580(0x1a4)],0x0)){this[_0x5f3580(0x1a5)](_0x25f6a6['BPfbc'],_0x53ceb6);return;}this[_0x5f3580(0x16a)][_0x5f3580(0x1bb)](_0x53ceb6[0x0]),this[_0x5f3580(0x18c)](_0x53ceb6[0x0],_0x53ceb6[0x1]);}static async[a61_0x5be142(0x1a0)](_0x4be280){const _0x6d7a7f=a61_0x5be142,_0x18a902={};_0x18a902['tIOUp']=_0x6d7a7f(0x1ad),_0x18a902[_0x6d7a7f(0x190)]=function(_0x2c1c9b,_0x44e5bb){return _0x2c1c9b===_0x44e5bb;},_0x18a902['tiTTs']=_0x6d7a7f(0x15a),_0x18a902[_0x6d7a7f(0x157)]=_0x6d7a7f(0x19e);const _0x5dc413=_0x18a902,_0x2739b2=await this['getErrorDetails'](_0x5dc413[_0x6d7a7f(0x15e)]);if(!_0x2739b2||_0x5dc413['efDau'](Object['keys'](_0x2739b2)[_0x6d7a7f(0x1a4)],0x0)){this['logError'](_0x5dc413[_0x6d7a7f(0x1b7)],_0x2739b2);return;}const _0x2d9b01=_0x2739b2[_0x6d7a7f(0x1c1)][_0x6d7a7f(0x181)](_0x5dc413[_0x6d7a7f(0x157)],_0x4be280);this[_0x6d7a7f(0x18c)](_0x2739b2[_0x6d7a7f(0x186)],_0x2d9b01);}static async['reportFinalDetectionState'](){const _0xebfa64=a61_0x5be142,_0x21de97={};_0x21de97[_0xebfa64(0x17f)]=function(_0x238a14,_0x1a1783){return _0x238a14>_0x1a1783;},_0x21de97[_0xebfa64(0x1b3)]=function(_0x20e28d,_0x3754db){return _0x20e28d>_0x3754db;},_0x21de97[_0xebfa64(0x184)]=_0xebfa64(0x17b),_0x21de97['hKxhi']=_0xebfa64(0x161);const _0x626f00=_0x21de97,_0x490f7f=await this[_0xebfa64(0x1af)](),_0x1231bf=this[_0xebfa64(0x18a)](_0x490f7f),_0x1fb498=Array[_0xebfa64(0x1a7)](_0x490f7f[_0xebfa64(0x162)])?_0x490f7f[_0xebfa64(0x162)]:[],_0x3549ca=_0x626f00[_0xebfa64(0x17f)](this[_0xebfa64(0x16a)]['size'],0x0)?Array[_0xebfa64(0x18e)](this[_0xebfa64(0x16a)]):[],_0x5c7216=new Set([..._0x1fb498,..._0x1231bf,..._0x3549ca]),_0x43683d=Array[_0xebfa64(0x18e)](_0x5c7216);if(_0x626f00[_0xebfa64(0x1b3)](_0x43683d['length'],0x0)){const _0x3b6138=_0x490f7f[_0xebfa64(0x160)][_0xebfa64(0x181)](_0x626f00[_0xebfa64(0x184)],_0x43683d[_0xebfa64(0x167)](',\x20'))[_0xebfa64(0x181)](_0x626f00['hKxhi'],_0x490f7f['documentationLink']);logger[_0xebfa64(0x15d)](_0x3b6138),this['cachedErrorCodes']=_0x43683d;}}}module['exports']=ClientTroubleShootingService;