browserstack-node-sdk 1.59.0 → 1.60.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) 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 +3 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/assets/report.html +1 -1
  43. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  44. package/src/bin/codeceptjs/command.js +1 -1
  45. package/src/bin/codeceptjs/helper.js +1 -1
  46. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  47. package/src/bin/cucumber-js/command.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/test-observability.js +1 -1
  51. package/src/bin/cucumber-js/test.setup.js +1 -1
  52. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  53. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  54. package/src/bin/integrations/command.js +1 -1
  55. package/src/bin/integrations/constants.js +1 -1
  56. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  57. package/src/bin/jasmine/command.js +1 -1
  58. package/src/bin/jasmine/test.setup.js +1 -1
  59. package/src/bin/jasmine/testRunMap.js +1 -1
  60. package/src/bin/jest/command.js +1 -1
  61. package/src/bin/jest/customImplements/customCircus.js +1 -1
  62. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  63. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  64. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  65. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  66. package/src/bin/jest/jest.setup.js +1 -1
  67. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  68. package/src/bin/jest/test-observability/helper.js +1 -1
  69. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  70. package/src/bin/jest/test-observability/test-details.js +1 -1
  71. package/src/bin/jest/test.setup.js +1 -1
  72. package/src/bin/jest/test_before.setup.js +1 -1
  73. package/src/bin/launcher/launcher.js +1 -1
  74. package/src/bin/load/index.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  155. package/src/bin/v2/state/hookState.js +1 -1
  156. package/src/bin/v2/state/testFrameworkState.js +1 -1
  157. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  158. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  159. package/src/bin/v2/utils/jest-utils.js +1 -1
  160. package/src/bin/vanilla-js/command.js +1 -1
  161. package/src/browserStackSdk.js +1 -1
  162. package/src/helpers/BrowserStackSetup.js +1 -1
  163. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  164. package/src/helpers/accessibility-automation/constants.js +1 -1
  165. package/src/helpers/accessibility-automation/helper.js +1 -1
  166. package/src/helpers/accessibility-automation/scripts.js +1 -1
  167. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  168. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  169. package/src/helpers/ats/constants.js +1 -1
  170. package/src/helpers/ats/helper.js +1 -1
  171. package/src/helpers/caCertHelper.js +1 -1
  172. package/src/helpers/capsMapping.js +1 -1
  173. package/src/helpers/central-scanner/constants.js +1 -1
  174. package/src/helpers/central-scanner/helpers.js +1 -1
  175. package/src/helpers/classLogger.js +1 -1
  176. package/src/helpers/driverInitErrorReporter.js +1 -1
  177. package/src/helpers/globals.js +1 -1
  178. package/src/helpers/helper.js +1 -1
  179. package/src/helpers/logger.js +1 -1
  180. package/src/helpers/metadata.js +1 -1
  181. package/src/helpers/patchHelper.js +1 -1
  182. package/src/helpers/patchHelpers.js +1 -1
  183. package/src/helpers/percy/Percy.js +1 -1
  184. package/src/helpers/percy/PercyBinary.js +1 -1
  185. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  186. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  187. package/src/helpers/percy/PercySDK.js +1 -1
  188. package/src/helpers/percy/index.js +1 -1
  189. package/src/helpers/percy/utils.js +1 -1
  190. package/src/helpers/performance/constants.js +1 -1
  191. package/src/helpers/performance/performance-tester.js +1 -1
  192. package/src/helpers/playwright-helper.js +1 -1
  193. package/src/helpers/processHelper.js +1 -1
  194. package/src/helpers/puppeteer-helper.js +1 -1
  195. package/src/helpers/request-spy.js +1 -1
  196. package/src/helpers/setKeepAlive.js +1 -1
  197. package/src/helpers/stackFrameUtils.js +1 -1
  198. package/src/helpers/test-observability/constants.js +1 -1
  199. package/src/helpers/test-observability/error-handler.js +1 -1
  200. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  201. package/src/helpers/test-observability/sessionHandler.js +1 -1
  202. package/src/helpers/test-observability/utils.js +1 -1
  203. package/src/helpers/test-orchestration/constants.js +1 -1
  204. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  205. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  206. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  207. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  208. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  209. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  210. package/src/helpers/testhub/constants.js +1 -1
  211. package/src/helpers/testhub/testhubHandler.js +1 -1
  212. package/src/helpers/testhub/utils.js +1 -1
  213. package/src/helpers/timeoutPromise.js +1 -1
  214. package/src/helpers/utilities.js +1 -1
  215. package/src/helpers/w3cMapping.js +1 -1
  216. package/src/hubAllocationMethods.js +1 -1
  217. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a57_0x1d4123=a57_0x4e49;function a57_0x4e49(_0x5f1e52,_0xf50068){const _0x475f4c=a57_0x475f();return a57_0x4e49=function(_0x4e4989,_0x3431c7){_0x4e4989=_0x4e4989-0x1c7;let _0x32ab43=_0x475f4c[_0x4e4989];return _0x32ab43;},a57_0x4e49(_0x5f1e52,_0xf50068);}(function(_0x53996a,_0x3ae42a){const _0x35083e=a57_0x4e49,_0x462610=_0x53996a();while(!![]){try{const _0x156956=parseInt(_0x35083e(0x1e7))/0x1*(-parseInt(_0x35083e(0x202))/0x2)+-parseInt(_0x35083e(0x21c))/0x3*(-parseInt(_0x35083e(0x1ff))/0x4)+parseInt(_0x35083e(0x1f5))/0x5*(-parseInt(_0x35083e(0x1ce))/0x6)+parseInt(_0x35083e(0x208))/0x7*(parseInt(_0x35083e(0x21a))/0x8)+-parseInt(_0x35083e(0x216))/0x9*(parseInt(_0x35083e(0x1d6))/0xa)+-parseInt(_0x35083e(0x1d7))/0xb+-parseInt(_0x35083e(0x211))/0xc*(-parseInt(_0x35083e(0x221))/0xd);if(_0x156956===_0x3ae42a)break;else _0x462610['push'](_0x462610['shift']());}catch(_0x3e7b35){_0x462610['push'](_0x462610['shift']());}}}(a57_0x475f,0x44a4f));const path=require(a57_0x1d4123(0x1eb)),url=require(a57_0x1d4123(0x21b)),util=require(a57_0x1d4123(0x205)),{nestedKeyValue,isFalse}=require(a57_0x1d4123(0x1fb)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),logger=require(a57_0x1d4123(0x207))['winstonLogger'],constants=require(a57_0x1d4123(0x21d)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require('../v2/state/hookState.js'),getBrowserFromWSEndpoint=_0x5d00ee=>{const _0x297c4a=a57_0x1d4123,_0xb02174={'TEVpY':_0x297c4a(0x1e3),'QCKOk':function(_0x39d309,_0x477af2){return _0x39d309(_0x477af2);}};try{const _0x2d5da8=url[_0x297c4a(0x1f3)](_0x5d00ee),_0x1d2751=new URLSearchParams(_0x2d5da8[_0x297c4a(0x1df)]),_0x2fbf16=Object[_0x297c4a(0x1f9)](_0x1d2751[_0x297c4a(0x1cf)]()),_0x388ba7=JSON[_0x297c4a(0x1f3)](_0x2fbf16[_0x297c4a(0x1cd)]);if(_0x388ba7&&(_0x388ba7[_0x297c4a(0x1e5)]||_0x388ba7[_0x297c4a(0x1db)]))return _0x388ba7[_0x297c4a(0x1e5)]||_0x388ba7['browserName'];return _0xb02174[_0x297c4a(0x1e9)];}catch(_0x5238bc){_0xb02174[_0x297c4a(0x20f)](debug,_0x297c4a(0x213)+_0x5238bc[_0x297c4a(0x1d4)]());}},getCloudProviderFromWsEndpoint=_0x3616f3=>{const _0x5f59c0=a57_0x1d4123,_0x258c98={};_0x258c98[_0x5f59c0(0x1ca)]='browserstack',_0x258c98[_0x5f59c0(0x206)]='unknown_grid';const _0x29ef56=_0x258c98;if(_0x3616f3[_0x5f59c0(0x1f1)](constants['BSTACK_URL'])||_0x3616f3[_0x5f59c0(0x1f1)](constants['BSTACK_ATS_URL']))return _0x29ef56[_0x5f59c0(0x1ca)];return _0x29ef56[_0x5f59c0(0x206)];},a57_0x4817fc={};a57_0x4817fc[a57_0x1d4123(0x1d3)]=undefined,a57_0x4817fc[a57_0x1d4123(0x220)]=undefined,a57_0x4817fc[a57_0x1d4123(0x1e5)]=undefined,a57_0x4817fc['browser_version']=undefined,a57_0x4817fc[a57_0x1d4123(0x1f7)]=undefined,a57_0x4817fc[a57_0x1d4123(0x1f4)]=undefined,a57_0x4817fc[a57_0x1d4123(0x1cb)]=undefined,a57_0x4817fc['capabilities']={};class PuppeteerSessionDetails{static [a57_0x1d4123(0x21f)]=a57_0x4817fc;constructor(){const _0x38b849=a57_0x1d4123,_0x1a7af5={};_0x1a7af5[_0x38b849(0x1e8)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x294db3=_0x1a7af5;throw new Error(_0x294db3['ieEPw']);}static [a57_0x1d4123(0x1fd)]=null;static async[a57_0x1d4123(0x1ef)](_0x21d717,_0x2fa3f7){const _0x2ed7f4=a57_0x1d4123,_0x29ee47={'WTYOo':_0x2ed7f4(0x1e3),'RRYbS':function(_0x4e4ffb,_0x3ae861){return _0x4e4ffb===_0x3ae861;},'ULnKy':_0x2ed7f4(0x219),'XIQDN':'local_grid','EGGKa':function(_0xcfee21,_0xe6219c){return _0xcfee21(_0xe6219c);},'mEUgX':function(_0x5808c8,_0x5a6605){return _0x5808c8===_0x5a6605;},'xkMLj':_0x2ed7f4(0x1fe),'dTcGH':'turboscale','vLmwO':_0x2ed7f4(0x1e2),'VsiAd':function(_0x3fa869,_0x530f37){return _0x3fa869(_0x530f37);},'NfbYp':function(_0x198ea8){return _0x198ea8();},'pZHUS':function(_0x13b731){return _0x13b731();},'TqKMv':function(_0xae34d8,_0x5d1e9e){return _0xae34d8(_0x5d1e9e);}};try{let _0x2deefb=_0x29ee47['WTYOo'],_0x170895=null;_0x21d717&&_0x29ee47[_0x2ed7f4(0x1f6)](typeof _0x21d717[_0x2ed7f4(0x1fc)],_0x29ee47[_0x2ed7f4(0x1d1)])&&(_0x170895=await _0x21d717[_0x2ed7f4(0x1fc)]());let _0xb4fb06=null,_0x56df95=null,_0x564939=null,_0x344390=_0x29ee47['XIQDN'];if(_0x2fa3f7){_0x344390=_0x29ee47['EGGKa'](getCloudProviderFromWsEndpoint,_0x2fa3f7);if(_0x29ee47['mEUgX'](_0x344390,_0x29ee47[_0x2ed7f4(0x1ee)]))_0x564939=constants['ATS_WSS_URL_REGEX']?constants[_0x2ed7f4(0x200)]['test'](_0x2fa3f7)?_0x29ee47[_0x2ed7f4(0x1ec)]:_0x29ee47[_0x2ed7f4(0x1f8)]:_0x29ee47[_0x2ed7f4(0x1f8)],_0x2deefb=_0x29ee47[_0x2ed7f4(0x218)](getBrowserFromWSEndpoint,_0x2fa3f7)||_0x2deefb,_0xb4fb06=this[_0x2ed7f4(0x21f)][_0x2ed7f4(0x1f7)],_0x56df95=this['currentSessionDetails'][_0x2ed7f4(0x1f4)];else{const _0x1ff5c4=await _0x29ee47[_0x2ed7f4(0x1e0)](getPlatformDetails);_0xb4fb06=_0x1ff5c4[_0x2ed7f4(0x1c9)],_0x56df95=_0x1ff5c4[_0x2ed7f4(0x20d)];}}else{const _0x35627a=await _0x29ee47[_0x2ed7f4(0x1de)](getPlatformDetails);_0xb4fb06=_0x35627a[_0x2ed7f4(0x1c9)],_0x56df95=_0x35627a[_0x2ed7f4(0x20d)];}const _0x5ad6a7={};_0x5ad6a7[_0x2ed7f4(0x1e5)]=_0x2deefb,_0x5ad6a7['browser_version']=_0x170895,_0x5ad6a7['capabilities']={},_0x5ad6a7[_0x2ed7f4(0x1f7)]=_0xb4fb06,_0x5ad6a7[_0x2ed7f4(0x1f4)]=_0x56df95,_0x5ad6a7['product']=_0x564939;const _0x30b10f=_0x5ad6a7,_0x469dcd={};_0x469dcd[_0x2ed7f4(0x1d3)]=_0x344390,this[_0x2ed7f4(0x21f)]=Object[_0x2ed7f4(0x20e)]({},this[_0x2ed7f4(0x21f)],_0x469dcd,_0x30b10f);}catch(_0x253335){_0x29ee47[_0x2ed7f4(0x1fa)](debug,_0x2ed7f4(0x1da)+util[_0x2ed7f4(0x1e1)](_0x253335)),this[_0x2ed7f4(0x1fd)]=_0x253335['toString']();}}static[a57_0x1d4123(0x1dd)](_0x363e52){const _0x1decc0=a57_0x1d4123,_0xb66d44={'JmNdG':function(_0x49541c,_0xded829){return _0x49541c===_0xded829;},'DrMfO':_0x1decc0(0x210),'aYAwI':function(_0x4292c7,_0x1f410b){return _0x4292c7(_0x1f410b);},'EllvF':_0x1decc0(0x209)},_0x4a618b=this;try{const _0x2fe79f=_0x363e52[_0x1decc0(0x203)]||_0x363e52[_0x1decc0(0x1dc)];if(!_0x2fe79f||_0x2fe79f[_0x1decc0(0x1e4)])return;const _0x17e244=_0x2fe79f['onmessage'];_0x2fe79f['onmessage']=function(_0x47b641){const _0x4ff781=_0x1decc0;try{const _0x1b4ade=_0xb66d44[_0x4ff781(0x1e6)](typeof _0x47b641,_0xb66d44['DrMfO'])?JSON[_0x4ff781(0x1f3)](_0x47b641):_0x47b641,_0x566d31=_0x1b4ade?.[_0x4ff781(0x1cc)]||_0x1b4ade?.['bsParams']||_0x1b4ade?.[_0x4ff781(0x1d2)]?.[_0x4ff781(0x1c8)]||_0x1b4ade?.[_0x4ff781(0x1d2)]?.[_0x4ff781(0x1cc)]||_0x1b4ade?.[_0x4ff781(0x201)]?.['bsParams']||_0x1b4ade?.[_0x4ff781(0x201)]?.[_0x4ff781(0x1cc)];if(_0x566d31){if(BrowserstackCLI[_0x4ff781(0x1ea)]()[_0x4ff781(0x215)]()){const _0x474ae5={};_0x474ae5[_0x4ff781(0x20c)]=_0x1b4ade,BrowserstackCLI[_0x4ff781(0x1ea)]()[_0x4ff781(0x1c7)]()[_0x4ff781(0x204)](AutomationFrameworkState[_0x4ff781(0x1d5)],HookState['POST'],_0x474ae5);}else{const _0x24c467=_0x566d31[_0x4ff781(0x212)],_0x4d9caa=_0x566d31[_0x4ff781(0x1f0)];_0x4d9caa&&(_0xb66d44[_0x4ff781(0x1d8)](debug,_0x4ff781(0x214)+JSON[_0x4ff781(0x1d9)](_0x4d9caa)),_0x4a618b[_0x4ff781(0x21f)][_0x4ff781(0x1f7)]=_0x4d9caa[_0x4ff781(0x1c9)],_0x4a618b[_0x4ff781(0x21f)]['platform_version']=_0x4d9caa['platformVersion']),_0x24c467&&(_0xb66d44[_0x4ff781(0x1d8)](debug,_0x4ff781(0x20a)+_0x24c467),_0x4a618b[_0x4ff781(0x21f)][_0x4ff781(0x220)]=_0x24c467);}_0xb66d44[_0x4ff781(0x1e6)](typeof _0x47b641,_0xb66d44['DrMfO'])&&(delete _0x1b4ade[_0x4ff781(0x1cc)],delete _0x1b4ade[_0x4ff781(0x1c8)],_0x1b4ade['params']&&(delete _0x1b4ade[_0x4ff781(0x1d2)][_0x4ff781(0x1c8)],delete _0x1b4ade[_0x4ff781(0x1d2)][_0x4ff781(0x1cc)]),_0x1b4ade[_0x4ff781(0x201)]&&(delete _0x1b4ade[_0x4ff781(0x201)][_0x4ff781(0x1c8)],delete _0x1b4ade[_0x4ff781(0x201)][_0x4ff781(0x1cc)]));}}catch(_0x513091){_0xb66d44[_0x4ff781(0x1d8)](debug,_0x4ff781(0x217)+_0x513091['message']);}return _0x17e244?.[_0x4ff781(0x1f2)](this,arguments);},_0x2fe79f['_bstackPatched']=!![],logger[_0x1decc0(0x20b)](_0xb66d44[_0x1decc0(0x21e)]);}catch(_0x461c26){_0xb66d44[_0x1decc0(0x1d8)](debug,_0x1decc0(0x1ed)+util[_0x1decc0(0x1e1)](_0x461c26)),_0x4a618b[_0x1decc0(0x1fd)]=_0x461c26[_0x1decc0(0x1d4)]();}}static[a57_0x1d4123(0x1d0)](){return this['currentSessionDetails'];}}module['exports']=PuppeteerSessionDetails;function a57_0x475f(){const _0x59b166=['platformName','KlnVf','product','bStackParams','caps','12NJXEUg','entries','getDetails','ULnKy','params','cloudProvider','toString','PLAYWRIGHT_DISPATCH','32770WnlDfB','5863891UoepQM','aYAwI','stringify','Error\x20in\x20setupBrowserDetails:\x20','browserName','connection','patchConnection','pZHUS','query','NfbYp','format','automate','chrome','_bstackPatched','browser','JmNdG','17ZxLfbJ','ieEPw','TEVpY','getInstance','path','dTcGH','Error\x20in\x20patchConnection:\x20','xkMLj','setupBrowserDetails','platformDetails','includes','apply','parse','platform_version','621350fXhazq','RRYbS','platform','vLmwO','fromEntries','TqKMv','../../helpers/helper','version','sessionError','browserstack','4244TfUjOf','ATS_WSS_URL_REGEX','result','41690IxgTTU','_connection','trackEvent','util','buZjX','../../helpers/logger','1501717sALubE','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','Setting\x20session\x20id\x20received\x20from\x20BS\x20','debug','message','platformVersion','assign','QCKOk','string','992388cLXaaR','sessionId','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','isRunning','81MkqQpD','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','VsiAd','function','8BABkEq','url','444ONziBB','../utils/constants','EllvF','currentSessionDetails','bsSessionId','169uKWijF','getAutomationFramework','bsParams'];a57_0x475f=function(){return _0x59b166;};return a57_0x475f();}
1
+ function a57_0x43cf(){const _0x10dd1f=['POST','debug','../../helpers/helper','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','Setting\x20session\x20id\x20received\x20from\x20BS\x20','setupBrowserDetails','LmxKF','browserName','format','Uqroh','ERtRs','version','SPlRF','../utils/constants','Error\x20in\x20setupBrowserDetails:\x20','608155cIXcsj','onmessage','786MNFWvZ','isRunning','_connection','parse','apply','fromEntries','function','fFIZu','WDFus','giEfe','zkaBr','mWSST','unknown_grid','PLAYWRIGHT_DISPATCH','ewxAA','result','includes','local_grid','8mdTIcc','capabilities','BSTACK_URL','Error\x20in\x20patchConnection:\x20','string','message','chrome','arKdI','bsParams','platformDetails','788221FLzDXB','path','../v2/state/hookState.js','toString','getDetails','url','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','heQyo','getAutomationFramework','test','product','ZlyPb','wVRKc','platform_version','assign','bStackParams','automate','1711170pQUdVT','browserstack','platformVersion','AopzB','ATS_WSS_URL_REGEX','23464SztxxZ','connection','turboscale','query','trackEvent','../v2/browserstackCLI','currentSessionDetails','../../helpers/test-observability/utils','patchConnection','params','browser','../v2/state/automationFrameworkState.js','../../helpers/logger','platformName','2139600QFQdfc','utHko','getInstance','BSTACK_ATS_URL','browser_version','sessionError','platform','ZmTOh','2848ibEmby','exports','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','688878MSCVBS','sessionId','cloudProvider','vKWVE','_bstackPatched','winstonLogger'];a57_0x43cf=function(){return _0x10dd1f;};return a57_0x43cf();}const a57_0x1bb1bd=a57_0x56ec;(function(_0x1b025d,_0x181b0a){const _0x20f98f=a57_0x56ec,_0x166cfb=_0x1b025d();while(!![]){try{const _0x534462=-parseInt(_0x20f98f(0x8e))/0x1+-parseInt(_0x20f98f(0xa7))/0x2+parseInt(_0x20f98f(0xbe))/0x3*(parseInt(_0x20f98f(0xa4))/0x4)+parseInt(_0x20f98f(0xbc))/0x5+parseInt(_0x20f98f(0x9c))/0x6+parseInt(_0x20f98f(0x78))/0x7*(parseInt(_0x20f98f(0xd0))/0x8)+-parseInt(_0x20f98f(0x89))/0x9;if(_0x534462===_0x181b0a)break;else _0x166cfb['push'](_0x166cfb['shift']());}catch(_0x5b1e0f){_0x166cfb['push'](_0x166cfb['shift']());}}}(a57_0x43cf,0x358d1));const path=require(a57_0x1bb1bd(0x79)),url=require(a57_0x1bb1bd(0x7d)),util=require('util'),{nestedKeyValue,isFalse}=require(a57_0x1bb1bd(0xaf)),{debug,getPlatformDetails}=require(a57_0x1bb1bd(0x95)),logger=require(a57_0x1bb1bd(0x9a))[a57_0x1bb1bd(0xac)],constants=require(a57_0x1bb1bd(0xba)),BrowserstackCLI=require(a57_0x1bb1bd(0x93)),AutomationFrameworkState=require(a57_0x1bb1bd(0x99)),HookState=require(a57_0x1bb1bd(0x7a)),getBrowserFromWSEndpoint=_0x537887=>{const _0x1575f4=a57_0x1bb1bd,_0x18c934={'BllHE':_0x1575f4(0x74),'zkaBr':function(_0x4812ae,_0x151e1b){return _0x4812ae(_0x151e1b);}};try{const _0x425254=url[_0x1575f4(0xc1)](_0x537887),_0x43b57b=new URLSearchParams(_0x425254[_0x1575f4(0x91)]),_0x3e3b3d=Object[_0x1575f4(0xc3)](_0x43b57b['entries']()),_0x51bc6a=JSON[_0x1575f4(0xc1)](_0x3e3b3d['caps']);if(_0x51bc6a&&(_0x51bc6a['browser']||_0x51bc6a[_0x1575f4(0xb4)]))return _0x51bc6a[_0x1575f4(0x98)]||_0x51bc6a[_0x1575f4(0xb4)];return _0x18c934['BllHE'];}catch(_0x2d8d3f){_0x18c934[_0x1575f4(0xc8)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x2d8d3f['toString']());}},getCloudProviderFromWsEndpoint=_0x5dd100=>{const _0x327d77=a57_0x1bb1bd,_0x46e4aa={};_0x46e4aa[_0x327d77(0x84)]='browserstack',_0x46e4aa[_0x327d77(0xc9)]=_0x327d77(0xca);const _0x1327e0=_0x46e4aa;if(_0x5dd100['includes'](constants[_0x327d77(0xd2)])||_0x5dd100[_0x327d77(0xce)](constants[_0x327d77(0x9f)]))return _0x1327e0[_0x327d77(0x84)];return _0x1327e0[_0x327d77(0xc9)];},a57_0xdeff98={};a57_0xdeff98[a57_0x1bb1bd(0xa9)]=undefined,a57_0xdeff98['bsSessionId']=undefined,a57_0xdeff98[a57_0x1bb1bd(0x98)]=undefined,a57_0xdeff98[a57_0x1bb1bd(0xa0)]=undefined,a57_0xdeff98[a57_0x1bb1bd(0xa2)]=undefined,a57_0xdeff98['platform_version']=undefined,a57_0xdeff98[a57_0x1bb1bd(0x82)]=undefined,a57_0xdeff98[a57_0x1bb1bd(0xd1)]={};class PuppeteerSessionDetails{static ['currentSessionDetails']=a57_0xdeff98;constructor(){const _0x50d5bb=a57_0x1bb1bd,_0x1c8ce2={};_0x1c8ce2[_0x50d5bb(0xc7)]=_0x50d5bb(0xa6);const _0x48d1c3=_0x1c8ce2;throw new Error(_0x48d1c3['giEfe']);}static [a57_0x1bb1bd(0xa1)]=null;static async[a57_0x1bb1bd(0xb2)](_0x389117,_0x30cb85){const _0x16ead3=a57_0x1bb1bd,_0x6ab013={'SPlRF':_0x16ead3(0x74),'heQyo':function(_0x158ec0,_0x2b9d40){return _0x158ec0===_0x2b9d40;},'ddOAB':_0x16ead3(0xc4),'ZmTOh':_0x16ead3(0xcf),'arKdI':function(_0x5a7848,_0x5a7756){return _0x5a7848(_0x5a7756);},'Uqroh':_0x16ead3(0x8a),'utHko':_0x16ead3(0x90),'WDFus':_0x16ead3(0x88),'ERtRs':function(_0xe7e378,_0x3c22a1){return _0xe7e378(_0x3c22a1);},'ewxAA':function(_0x2cb592){return _0x2cb592();},'fFIZu':function(_0xb5093a){return _0xb5093a();}};try{let _0x40a679=_0x6ab013[_0x16ead3(0xb9)],_0x55ddb6=null;_0x389117&&_0x6ab013['heQyo'](typeof _0x389117[_0x16ead3(0xb8)],_0x6ab013['ddOAB'])&&(_0x55ddb6=await _0x389117[_0x16ead3(0xb8)]());let _0x45dadb=null,_0x15a3f2=null,_0x46aa4e=null,_0x3cde59=_0x6ab013[_0x16ead3(0xa3)];if(_0x30cb85){_0x3cde59=_0x6ab013['arKdI'](getCloudProviderFromWsEndpoint,_0x30cb85);if(_0x6ab013[_0x16ead3(0x7f)](_0x3cde59,_0x6ab013[_0x16ead3(0xb6)]))_0x46aa4e=constants[_0x16ead3(0x8d)]?constants[_0x16ead3(0x8d)][_0x16ead3(0x81)](_0x30cb85)?_0x6ab013[_0x16ead3(0x9d)]:_0x6ab013[_0x16ead3(0xc6)]:_0x6ab013[_0x16ead3(0xc6)],_0x40a679=_0x6ab013[_0x16ead3(0xb7)](getBrowserFromWSEndpoint,_0x30cb85)||_0x40a679,_0x45dadb=this[_0x16ead3(0x94)][_0x16ead3(0xa2)],_0x15a3f2=this['currentSessionDetails'][_0x16ead3(0x85)];else{const _0x46b05e=await _0x6ab013[_0x16ead3(0xcc)](getPlatformDetails);_0x45dadb=_0x46b05e[_0x16ead3(0x9b)],_0x15a3f2=_0x46b05e[_0x16ead3(0x8b)];}}else{const _0x56170c=await _0x6ab013[_0x16ead3(0xc5)](getPlatformDetails);_0x45dadb=_0x56170c['platformName'],_0x15a3f2=_0x56170c[_0x16ead3(0x8b)];}const _0x5b3622={};_0x5b3622[_0x16ead3(0x98)]=_0x40a679,_0x5b3622['browser_version']=_0x55ddb6,_0x5b3622[_0x16ead3(0xd1)]={},_0x5b3622[_0x16ead3(0xa2)]=_0x45dadb,_0x5b3622[_0x16ead3(0x85)]=_0x15a3f2,_0x5b3622[_0x16ead3(0x82)]=_0x46aa4e;const _0x2bb998=_0x5b3622,_0x1afdde={};_0x1afdde[_0x16ead3(0xa9)]=_0x3cde59,this[_0x16ead3(0x94)]=Object[_0x16ead3(0x86)]({},this[_0x16ead3(0x94)],_0x1afdde,_0x2bb998);}catch(_0x36aaed){_0x6ab013[_0x16ead3(0x75)](debug,_0x16ead3(0xbb)+util[_0x16ead3(0xb5)](_0x36aaed)),this['sessionError']=_0x36aaed[_0x16ead3(0x7b)]();}}static[a57_0x1bb1bd(0x96)](_0x4d0a3c){const _0x376229=a57_0x1bb1bd,_0x168cf3={'AopzB':function(_0x5413d7,_0x2842d8){return _0x5413d7===_0x2842d8;},'vKWVE':_0x376229(0xd4),'ZlyPb':function(_0x584764,_0x5418b8){return _0x584764(_0x5418b8);},'LmxKF':_0x376229(0x7e)},_0x241b63=this;try{const _0x3ff681=_0x4d0a3c[_0x376229(0xc0)]||_0x4d0a3c[_0x376229(0x8f)];if(!_0x3ff681||_0x3ff681[_0x376229(0xab)])return;const _0x29bcc0=_0x3ff681[_0x376229(0xbd)];_0x3ff681[_0x376229(0xbd)]=function(_0x39a7f0){const _0x53228f=_0x376229;try{const _0x4534a8=_0x168cf3[_0x53228f(0x8c)](typeof _0x39a7f0,_0x168cf3[_0x53228f(0xaa)])?JSON['parse'](_0x39a7f0):_0x39a7f0,_0x1a7669=_0x4534a8?.[_0x53228f(0x87)]||_0x4534a8?.[_0x53228f(0x76)]||_0x4534a8?.[_0x53228f(0x97)]?.[_0x53228f(0x76)]||_0x4534a8?.[_0x53228f(0x97)]?.['bStackParams']||_0x4534a8?.[_0x53228f(0xcd)]?.['bsParams']||_0x4534a8?.[_0x53228f(0xcd)]?.['bStackParams'];if(_0x1a7669){if(BrowserstackCLI[_0x53228f(0x9e)]()[_0x53228f(0xbf)]()){const _0x4b637c={};_0x4b637c[_0x53228f(0x73)]=_0x4534a8,BrowserstackCLI[_0x53228f(0x9e)]()[_0x53228f(0x80)]()[_0x53228f(0x92)](AutomationFrameworkState[_0x53228f(0xcb)],HookState[_0x53228f(0xad)],_0x4b637c);}else{const _0x1e847c=_0x1a7669[_0x53228f(0xa8)],_0x3a3d63=_0x1a7669[_0x53228f(0x77)];_0x3a3d63&&(_0x168cf3[_0x53228f(0x83)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+JSON['stringify'](_0x3a3d63)),_0x241b63['currentSessionDetails'][_0x53228f(0xa2)]=_0x3a3d63[_0x53228f(0x9b)],_0x241b63[_0x53228f(0x94)]['platform_version']=_0x3a3d63[_0x53228f(0x8b)]),_0x1e847c&&(_0x168cf3[_0x53228f(0x83)](debug,_0x53228f(0xb1)+_0x1e847c),_0x241b63[_0x53228f(0x94)]['bsSessionId']=_0x1e847c);}_0x168cf3[_0x53228f(0x8c)](typeof _0x39a7f0,_0x168cf3[_0x53228f(0xaa)])&&(delete _0x4534a8[_0x53228f(0x87)],delete _0x4534a8[_0x53228f(0x76)],_0x4534a8['params']&&(delete _0x4534a8[_0x53228f(0x97)][_0x53228f(0x76)],delete _0x4534a8[_0x53228f(0x97)][_0x53228f(0x87)]),_0x4534a8[_0x53228f(0xcd)]&&(delete _0x4534a8[_0x53228f(0xcd)][_0x53228f(0x76)],delete _0x4534a8[_0x53228f(0xcd)][_0x53228f(0x87)]));}}catch(_0x3f7b16){_0x168cf3[_0x53228f(0x83)](debug,_0x53228f(0xb0)+_0x3f7b16['message']);}return _0x29bcc0?.[_0x53228f(0xc2)](this,arguments);},_0x3ff681[_0x376229(0xab)]=!![],logger[_0x376229(0xae)](_0x168cf3[_0x376229(0xb3)]);}catch(_0x49169d){_0x168cf3['ZlyPb'](debug,_0x376229(0xd3)+util[_0x376229(0xb5)](_0x49169d)),_0x241b63[_0x376229(0xa1)]=_0x49169d[_0x376229(0x7b)]();}}static[a57_0x1bb1bd(0x7c)](){return this['currentSessionDetails'];}}function a57_0x56ec(_0x26de79,_0x388c43){const _0x43cf5d=a57_0x43cf();return a57_0x56ec=function(_0x56ec38,_0x276cee){_0x56ec38=_0x56ec38-0x73;let _0x399d2e=_0x43cf5d[_0x56ec38];return _0x399d2e;},a57_0x56ec(_0x26de79,_0x388c43);}module[a57_0x1bb1bd(0xa5)]=PuppeteerSessionDetails;
@@ -1 +1 @@
1
- const a58_0xa8bdc3=a58_0xce6c;(function(_0x359aca,_0x584e26){const _0x185343=a58_0xce6c,_0x2e4b58=_0x359aca();while(!![]){try{const _0x540df1=-parseInt(_0x185343(0x8c))/0x1+parseInt(_0x185343(0xac))/0x2+-parseInt(_0x185343(0x8a))/0x3*(parseInt(_0x185343(0xaf))/0x4)+parseInt(_0x185343(0xab))/0x5*(-parseInt(_0x185343(0x99))/0x6)+parseInt(_0x185343(0x96))/0x7+-parseInt(_0x185343(0x8d))/0x8+parseInt(_0x185343(0xa8))/0x9;if(_0x540df1===_0x584e26)break;else _0x2e4b58['push'](_0x2e4b58['shift']());}catch(_0x1cba1b){_0x2e4b58['push'](_0x2e4b58['shift']());}}}(a58_0x5027,0x2af28));const {isTrue,isBrowserstackInfra}=require('../../helpers/helper'),setKeepAlive=require(a58_0xa8bdc3(0x83)),util=require(a58_0xa8bdc3(0x9d)),logger=require(a58_0xa8bdc3(0x8e))[a58_0xa8bdc3(0xa3)],{shouldProcessEventForTesthub}=require(a58_0xa8bdc3(0x85)),{addRequestSpy}=require(a58_0xa8bdc3(0x87)),a58_0x509fcb={};a58_0x509fcb[a58_0xa8bdc3(0xaa)]=undefined,a58_0x509fcb[a58_0xa8bdc3(0x92)]={},a58_0x509fcb[a58_0xa8bdc3(0x9b)]=![],a58_0x509fcb[a58_0xa8bdc3(0xb2)]=null,a58_0x509fcb['isPageFixture']=![],a58_0x509fcb[a58_0xa8bdc3(0x92)]['id']=undefined,a58_0x509fcb[a58_0xa8bdc3(0x92)][a58_0xa8bdc3(0xa6)]=undefined;function a58_0x5027(){const _0xa96402=['1251936RXkSpN','../../helpers/logger','../v2/browserstackCLI','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','skipSessionName','currentTest','catch','PUPPETEER','JEST','1428826fACMOz','__skipSessionStatus','__skipSessionName','1542AvwbnZ','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','o11ySyncDone','isCliEnabled','util','../../helpers/helper','setFrameworkDetail','puppeteer-core','../utils/constants','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','winstonLogger','env','getInstance','testInfo','initializePuppeteerPatching','3727278iWoZfu','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','workerInfo','515CvnsHv','356018hJvQKh','jestConfig','puppeteer','4604sqEPMY','skipSessionStatus','format','pwPage','true','../../helpers/setKeepAlive','bootstrap','../../helpers/testhub/utils','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','../../helpers/test-observability/utils','__workerDetails','getPackageVersion','402DQhOhs','debug','283160HzYjDz'];a58_0x5027=function(){return _0xa96402;};return a58_0x5027();}function a58_0xce6c(_0x292c2e,_0x1629ef){const _0x50273c=a58_0x5027();return a58_0xce6c=function(_0xce6c9,_0x4f7957){_0xce6c9=_0xce6c9-0x83;let _0x5d4ac1=_0x50273c[_0xce6c9];return _0x5d4ac1;},a58_0xce6c(_0x292c2e,_0x1629ef);}const workerDetails=a58_0x509fcb;global[a58_0xa8bdc3(0x88)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a58_0xa8bdc3(0xad)])try{isBrowserstackInfra()?(global[a58_0xa8bdc3(0x98)]=isTrue(global[a58_0xa8bdc3(0xad)]?.[a58_0xa8bdc3(0x91)]),global[a58_0xa8bdc3(0x97)]=isTrue(global[a58_0xa8bdc3(0xad)]?.[a58_0xa8bdc3(0xb0)])):(global[a58_0xa8bdc3(0x98)]=!![],global[a58_0xa8bdc3(0x97)]=!![]);const helper=require(a58_0xa8bdc3(0x9e)),puppeteerVersion=helper[a58_0xa8bdc3(0x89)](a58_0xa8bdc3(0xae))||helper[a58_0xa8bdc3(0x89)](a58_0xa8bdc3(0xa0));if(puppeteerVersion)try{logger[a58_0xa8bdc3(0x8b)](a58_0xa8bdc3(0x86)),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher[a58_0xa8bdc3(0xa7)](global[a58_0xa8bdc3(0xad)]),logger[a58_0xa8bdc3(0x8b)](a58_0xa8bdc3(0x9a));}catch(a58_0x3a9a98){logger['debug'](a58_0xa8bdc3(0xa2)+util[a58_0xa8bdc3(0xb1)](a58_0x3a9a98));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a58_0xa8bdc3(0x8f)),CLIUtils=require('../v2/cliUtils'),{FRAMEWORKS}=require(a58_0xa8bdc3(0xa1));BrowserstackCLI[a58_0xa8bdc3(0xa5)]()[a58_0xa8bdc3(0x9c)]()&&(logger[a58_0xa8bdc3(0x8b)](a58_0xa8bdc3(0xa9)),process[a58_0xa8bdc3(0xa4)]['BROWSERSTACK_PUPPETEER']=a58_0xa8bdc3(0xb3),CLIUtils[a58_0xa8bdc3(0x9f)](FRAMEWORKS[a58_0xa8bdc3(0x95)],FRAMEWORKS[a58_0xa8bdc3(0x94)]),BrowserstackCLI['getInstance']()[a58_0xa8bdc3(0x84)]()[a58_0xa8bdc3(0x93)](_0x2e6b17=>{const _0x2c7727=a58_0xa8bdc3;logger[_0x2c7727(0x8b)](_0x2c7727(0x90)+util[_0x2c7727(0xb1)](_0x2e6b17));}));}catch(a58_0x578e38){logger[a58_0xa8bdc3(0x8b)]('[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[a58_0xa8bdc3(0xb1)](a58_0x578e38));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a58_0x2141a7){logger['debug']('[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20'+util[a58_0xa8bdc3(0xb1)](a58_0x2141a7));}logger[a58_0xa8bdc3(0x8b)]('[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed');
1
+ const a58_0xb307b9=a58_0x5da3;(function(_0x35733e,_0x2731e5){const _0x4d70e7=a58_0x5da3,_0x58c34e=_0x35733e();while(!![]){try{const _0x2c8866=parseInt(_0x4d70e7(0x1e6))/0x1+parseInt(_0x4d70e7(0x1ce))/0x2*(-parseInt(_0x4d70e7(0x1c5))/0x3)+parseInt(_0x4d70e7(0x1d1))/0x4*(parseInt(_0x4d70e7(0x1c4))/0x5)+parseInt(_0x4d70e7(0x1be))/0x6*(-parseInt(_0x4d70e7(0x1e5))/0x7)+-parseInt(_0x4d70e7(0x1d0))/0x8+parseInt(_0x4d70e7(0x1c0))/0x9+parseInt(_0x4d70e7(0x1e2))/0xa*(parseInt(_0x4d70e7(0x1d4))/0xb);if(_0x2c8866===_0x2731e5)break;else _0x58c34e['push'](_0x58c34e['shift']());}catch(_0x598a8a){_0x58c34e['push'](_0x58c34e['shift']());}}}(a58_0x13c0,0xaa687));const {isTrue,isBrowserstackInfra}=require(a58_0xb307b9(0x1c7)),setKeepAlive=require(a58_0xb307b9(0x1cd)),util=require(a58_0xb307b9(0x1c9)),logger=require(a58_0xb307b9(0x1d7))[a58_0xb307b9(0x1bd)],{shouldProcessEventForTesthub}=require(a58_0xb307b9(0x1dd)),{addRequestSpy}=require(a58_0xb307b9(0x1ca)),a58_0x3f3054={};function a58_0x13c0(){const _0x4d7489=['569020RFelGZ','catch','winstonLogger','258bRUXfn','setFrameworkDetail','7635042lhaQCf','skipSessionName','../v2/cliUtils','format','5WdhemW','51QnLKgq','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','../../helpers/helper','testInfo','util','../../helpers/test-observability/utils','initializePuppeteerPatching','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','../../helpers/setKeepAlive','45804AetMep','bootstrap','5470672nfBuob','307756HCbVyv','debug','skipSessionStatus','3059573OQtsdS','o11ySyncDone','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','../../helpers/logger','../utils/constants','__skipSessionStatus','puppeteer-core','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','currentTest','../../helpers/testhub/utils','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','env','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','getPackageVersion','60dTNpmL','__skipSessionName','jestConfig','226604VTqUaB'];a58_0x13c0=function(){return _0x4d7489;};return a58_0x13c0();}a58_0x3f3054['workerInfo']=undefined,a58_0x3f3054[a58_0xb307b9(0x1dc)]={},a58_0x3f3054[a58_0xb307b9(0x1d5)]=![],a58_0x3f3054['pwPage']=null,a58_0x3f3054['isPageFixture']=![],a58_0x3f3054[a58_0xb307b9(0x1dc)]['id']=undefined,a58_0x3f3054[a58_0xb307b9(0x1dc)][a58_0xb307b9(0x1c8)]=undefined;const workerDetails=a58_0x3f3054;function a58_0x5da3(_0x560d60,_0x4630ee){const _0x13c0f9=a58_0x13c0();return a58_0x5da3=function(_0x5da376,_0x1b5c35){_0x5da376=_0x5da376-0x1bc;let _0x4c6b10=_0x13c0f9[_0x5da376];return _0x4c6b10;},a58_0x5da3(_0x560d60,_0x4630ee);}global['__workerDetails']=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a58_0xb307b9(0x1e4)])try{isBrowserstackInfra()?(global['__skipSessionName']=isTrue(global[a58_0xb307b9(0x1e4)]?.[a58_0xb307b9(0x1c1)]),global[a58_0xb307b9(0x1d9)]=isTrue(global[a58_0xb307b9(0x1e4)]?.[a58_0xb307b9(0x1d3)])):(global[a58_0xb307b9(0x1e3)]=!![],global[a58_0xb307b9(0x1d9)]=!![]);const helper=require(a58_0xb307b9(0x1c7)),puppeteerVersion=helper[a58_0xb307b9(0x1e1)]('puppeteer')||helper[a58_0xb307b9(0x1e1)](a58_0xb307b9(0x1da));if(puppeteerVersion)try{logger[a58_0xb307b9(0x1d2)]('[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest'),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher[a58_0xb307b9(0x1cb)](global[a58_0xb307b9(0x1e4)]),logger[a58_0xb307b9(0x1d2)]('[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized');}catch(a58_0x1dcefc){logger[a58_0xb307b9(0x1d2)](a58_0xb307b9(0x1de)+util[a58_0xb307b9(0x1c3)](a58_0x1dcefc));}if(puppeteerPatcher)try{const BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a58_0xb307b9(0x1c2)),{FRAMEWORKS}=require(a58_0xb307b9(0x1d8));BrowserstackCLI['getInstance']()['isCliEnabled']()&&(logger['debug'](a58_0xb307b9(0x1e0)),process[a58_0xb307b9(0x1df)]['BROWSERSTACK_PUPPETEER']='true',CLIUtils[a58_0xb307b9(0x1bf)](FRAMEWORKS['JEST'],FRAMEWORKS['PUPPETEER']),BrowserstackCLI['getInstance']()[a58_0xb307b9(0x1cf)]()[a58_0xb307b9(0x1bc)](_0xfafd04=>{const _0xf934cb=a58_0xb307b9;logger[_0xf934cb(0x1d2)](_0xf934cb(0x1db)+util[_0xf934cb(0x1c3)](_0xfafd04));}));}catch(a58_0x48a4cd){logger[a58_0xb307b9(0x1d2)](a58_0xb307b9(0x1c6)+util[a58_0xb307b9(0x1c3)](a58_0x48a4cd));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a58_0x2fb34b){logger[a58_0xb307b9(0x1d2)](a58_0xb307b9(0x1d6)+util[a58_0xb307b9(0x1c3)](a58_0x2fb34b));}logger[a58_0xb307b9(0x1d2)](a58_0xb307b9(0x1cc));
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a59_0x5052ed=a59_0x1900;(function(_0x3e3416,_0x1adc6d){const _0x5b5e66=a59_0x1900,_0x7a407f=_0x3e3416();while(!![]){try{const _0xdb4781=parseInt(_0x5b5e66(0x140))/0x1+parseInt(_0x5b5e66(0x133))/0x2*(parseInt(_0x5b5e66(0xf4))/0x3)+parseInt(_0x5b5e66(0x12c))/0x4*(parseInt(_0x5b5e66(0x15b))/0x5)+-parseInt(_0x5b5e66(0x164))/0x6+parseInt(_0x5b5e66(0x130))/0x7+parseInt(_0x5b5e66(0xdc))/0x8+-parseInt(_0x5b5e66(0x106))/0x9*(parseInt(_0x5b5e66(0x11f))/0xa);if(_0xdb4781===_0x1adc6d)break;else _0x7a407f['push'](_0x7a407f['shift']());}catch(_0x13edd6){_0x7a407f['push'](_0x7a407f['shift']());}}}(a59_0x1669,0x50e7c));const fs=require('fs'),path=require(a59_0x5052ed(0x126)),util=require(a59_0x5052ed(0x101)),spawn=require(a59_0x5052ed(0x114))[a59_0x5052ed(0xea)],{requireModule}=require(a59_0x5052ed(0x113)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require('../helpers/performance/constants')[a59_0x5052ed(0x173)],helper=require(a59_0x5052ed(0x113)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a59_0x5052ed(0xf5)),{FRAMEWORKS}=require(a59_0x5052ed(0x154)),runIntegrations=require(a59_0x5052ed(0x16a)),yargs=require('yargs'),Constants=require(a59_0x5052ed(0x13d)),BrowserstackCLI=require(a59_0x5052ed(0x119)),{isNewman}=require(a59_0x5052ed(0x12e)),logger=require(a59_0x5052ed(0x17a))[a59_0x5052ed(0x141)],origArgs=Object['assign']([],process[a59_0x5052ed(0xee)]),captureError=async(_0x40403d,_0x1d9981,_0x579472,_0x5971af=null,_0x5dd8cf=![])=>{const _0x1656b8=a59_0x5052ed,_0x1248e8={'sEhDO':function(_0x1a816f,_0x1e1645,_0x30f802,_0x21252c){return _0x1a816f(_0x1e1645,_0x30f802,_0x21252c);},'HIQnd':'SDKTestSuccessful'};try{logger[_0x1656b8(0x16c)](_0x1656b8(0x169)+origArgs['join']('\x20')),await _0x1248e8[_0x1656b8(0xef)](_0x40403d,_0x1d9981,_0x5971af,_0x579472);}catch(_0x544c28){process[_0x1656b8(0xe7)]=0x1,logger['error'](util[_0x1656b8(0x11b)](_0x544c28));const _0x314880={'globalException':util[_0x1656b8(0x11b)]('%j',_0x544c28)};PerformanceTester['end'](PerformanceEvents[_0x1656b8(0x14d)],![],util[_0x1656b8(0x11b)](_0x544c28));if(helper[_0x1656b8(0xeb)](global[_0x1656b8(0xfa)])&&helper[_0x1656b8(0xeb)](global[_0x1656b8(0xe0)]))return;try{utilities['fireFunnelTestEvent'](_0x1248e8['HIQnd'],_0x314880,global[_0x1656b8(0xfa)],global[_0x1656b8(0xe0)]);}catch(_0x50aa04){logger['debug'](_0x1656b8(0x147)+_0x50aa04[_0x1656b8(0x172)]);}try{await helper['sendLogs'](global['config']);}catch(_0x577a60){logger[_0x1656b8(0x143)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x577a60[_0x1656b8(0x172)]);}PerformanceTester[_0x1656b8(0x12a)](PerformanceEvents['SDK_SETUP'],![],util[_0x1656b8(0x11b)](_0x544c28));}finally{!_0x5dd8cf&&await BrowserstackCLI[_0x1656b8(0x137)]()[_0x1656b8(0x150)](),PerformanceTester['start'](PerformanceEvents[_0x1656b8(0x11c)]);}};try{const browserstackFolderPath=path[a59_0x5052ed(0x138)](helper[a59_0x5052ed(0x175)](),a59_0x5052ed(0x179));if(fs[a59_0x5052ed(0x10f)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a59_0x5052ed(0x16f));fs[a59_0x5052ed(0x10f)](filePath)&&fs[a59_0x5052ed(0x17e)](filePath);}}catch(a59_0x3d3594){logger['debug'](a59_0x5052ed(0x112)+a59_0x3d3594[a59_0x5052ed(0x146)]);}function a59_0x1669(){const _0x324562=['192554Dvgccr','zcjGO','exitProcess','EyvRJ','getInstance','join','zktIh','./mocha/command','EMACE','./codeceptjs/command','./utils/constants','nPTOG','getConfigPath','86429TDYcop','winstonLogger','push','debug','CODECEPTJS','HST','message','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','newman','./testcafe/command','playwright','jWAOR','VANILLA','SDK_SETUP','--package','FGxSV','stop','CUCUMBER','pw:channel','Runs\x20the\x20binary\x20with\x20load\x20command','../helpers/test-observability/constants','./newman/command','ZonGi','pHMyB','PLAYWRIGHT','BKweE','zhxVB','10cUJhEV','some','rFBMd','INFO','nightwatch','VERSION','--no-config','Show\x20help','HywSJ','2367666vOTFhD','EWQDT','usage','GTaaA','NEWMAN','Running\x20SDK\x20with\x20args\x20','./integrations/command','pw:channel\x20auto-capture\x20seed\x20failed:\x20','info','DEBUG','showHelpOnFail','.local-not-set.json','INTEGRATIONS','TUlNZ','stack','EVENTS','VZOTi','homedir','getPwChannelLogPath','strict','wsTqF','.browserstack','../helpers/logger','parserConfiguration','jasmine','mocha','unlinkSync','URLXa','JASMINE','includes','jest','urAgV','codeceptjs','alias','demandCommand','4576520AjiWvG','./cucumber-js/command','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','CDzfm','framework','env','iVmGN','eabuj','kgHvP','mxiSf','wliBs','exitCode','trim','YytyR','spawn','isUndefined','QWKiv','--config','argv','sEhDO','error','node','PuSJh','deyKN','15TxAHLO','../helpers/BrowserStackSetup','FxQeJ','./jasmine/command','wrap','JEST','config','vanilla','--no-opts','GgDYZ','MOCHA','./jest/command','setTestObservabilityDisable','util','--opts','load\x20[subcommand]','QalYv','hqyip','58959bpbaXm','mocha/lib/cli/commands.js','YVqkv','PCUvs','-pw:channel','handler','help','cucumber-js','HELP','existsSync','findAndReplace','ZHhYq','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','../helpers/helper','child_process','ats','split','PjGCk','jNrhh','./v2/browserstackCLI','command','format','SDK_CLEANUP','mocha/lib/cli/cli.js','./playwright/command','1630CUxbno','njLPa','OTcNx','CCSUI','setBrowserStackAutomationDisable','./load/index','slice','path','integrations','oskFK','DEBUG_FILE','end','disableAutoCaptureLogs','976elxfoC','--mochaRequire','./newman/helper','filter','4574115WtkSsp','OUUzY','rRpiG'];a59_0x1669=function(){return _0x324562;};return a59_0x1669();}process[a59_0x5052ed(0xee)][a59_0x5052ed(0xd6)]('mocha')&&(!process[a59_0x5052ed(0xee)]['includes'](a59_0x5052ed(0x102))&&process[a59_0x5052ed(0xee)][a59_0x5052ed(0x142)](a59_0x5052ed(0xfc)),!process['argv']['find'](_0x54a1b1=>_0x54a1b1[a59_0x5052ed(0xd6)](a59_0x5052ed(0xed)))&&process[a59_0x5052ed(0xee)]['push'](a59_0x5052ed(0x161)),!process['argv'][a59_0x5052ed(0xd6)](a59_0x5052ed(0x14e))&&process[a59_0x5052ed(0xee)][a59_0x5052ed(0x142)]('--no-package'),helper[a59_0x5052ed(0x110)](process[a59_0x5052ed(0xee)],'--require',a59_0x5052ed(0x12d)));PerformanceTester['start'](PerformanceEvents[a59_0x5052ed(0x14d)]);const a59_0x307a5e={};function a59_0x1900(_0x416a61,_0xd9c1d3){const _0x16692f=a59_0x1669();return a59_0x1900=function(_0x190045,_0xf6480e){_0x190045=_0x190045-0xd5;let _0x30744c=_0x16692f[_0x190045];return _0x30744c;},a59_0x1900(_0x416a61,_0xd9c1d3);}a59_0x307a5e['dot-notation']=![];const argv=yargs[a59_0x5052ed(0x17b)](a59_0x307a5e)[a59_0x5052ed(0x166)]('usage:\x20$0\x20<command>\x20[args]')[a59_0x5052ed(0xda)]('v','version')['describe']('v')[a59_0x5052ed(0xda)]('h',a59_0x5052ed(0x10c))[a59_0x5052ed(0x10c)](a59_0x5052ed(0x10c))[a59_0x5052ed(0x16e)](!![],Constants[a59_0x5052ed(0x160)][a59_0x5052ed(0x10e)])[a59_0x5052ed(0x11a)](a59_0x5052ed(0xd7),Constants[a59_0x5052ed(0xf9)][a59_0x5052ed(0x15e)],function(_0x2097d4){const _0x383b19=a59_0x5052ed,_0x57d266={'tCbXj':_0x383b19(0xd7),'nzGki':function(_0x18f795,_0x56bf40,_0x4e2cc5,_0x4c3007,_0x338592,_0x598599){return _0x18f795(_0x56bf40,_0x4e2cc5,_0x4c3007,_0x338592,_0x598599);},'hOwAt':function(_0x582b1f,_0x4e2404){return _0x582b1f(_0x4e2404);},'FbaMF':_0x383b19(0xff)},_0x29436e=process[_0x383b19(0xee)][_0x383b19(0x125)](0x2);helper[_0x383b19(0x100)](),helper['setBrowserStackAutomationDisable'](),_0x2097d4[_0x383b19(0x177)](![]);const _0x30dc11=new BrowserStackSetup(_0x2097d4[_0x383b19(0xee)],_0x57d266['tCbXj']);return _0x57d266['nzGki'](captureError,_0x57d266['hOwAt'](require,_0x57d266['FbaMF']),_0x2097d4[_0x383b19(0xee)],_0x30dc11,_0x29436e,!![]);})['command']('jasmine',Constants[a59_0x5052ed(0xd5)][a59_0x5052ed(0x15e)],function(_0x934b94){const _0x43308d=a59_0x5052ed,_0x116d43={'jWAOR':_0x43308d(0x17c),'eabuj':function(_0x2b716e,_0x61c64,_0x110b1e,_0x5e5c76,_0x43219b,_0x5df669){return _0x2b716e(_0x61c64,_0x110b1e,_0x5e5c76,_0x43219b,_0x5df669);},'jNrhh':function(_0x37082e,_0x2a2984){return _0x37082e(_0x2a2984);},'pHMyB':_0x43308d(0xf7)},_0x2c17fd=process['argv'][_0x43308d(0x125)](0x2);helper[_0x43308d(0x100)](),helper['setBrowserStackAutomationDisable'](),_0x934b94['strict'](![]);const _0x366d93=new BrowserStackSetup(_0x934b94[_0x43308d(0xee)],_0x116d43[_0x43308d(0x14b)]);return _0x116d43[_0x43308d(0xe3)](captureError,_0x116d43[_0x43308d(0x118)](require,_0x116d43[_0x43308d(0x157)]),_0x934b94[_0x43308d(0xee)],_0x366d93,_0x2c17fd,!![]);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0x17d),Constants[a59_0x5052ed(0xfe)]['INFO'],_0x31b55f=>{const _0x350e3f=a59_0x5052ed,_0x2b7825={'mxiSf':function(_0x5a4942,_0xc6f00d,_0x486f97,_0x2c3619){return _0x5a4942(_0xc6f00d,_0x486f97,_0x2c3619);},'BnMMA':function(_0x455ed4,_0x14a3ac){return _0x455ed4(_0x14a3ac);},'wsTqF':_0x350e3f(0x13a),'GTaaA':'mocha','ZHhYq':'Parsing\x20command\x20line\x20arguments','PuSJh':function(_0x3e1910,_0x49e97f,_0xfe3983){return _0x3e1910(_0x49e97f,_0xfe3983);},'jncOS':'mocha/lib/cli/run.js','wliBs':function(_0x239f71,_0x354264,_0x579a45){return _0x239f71(_0x354264,_0x579a45);},'oskFK':_0x350e3f(0x107),'PCUvs':function(_0x56f4e8,_0x44436b,_0xc9fcee){return _0x56f4e8(_0x44436b,_0xc9fcee);},'QQxdG':_0x350e3f(0x11d),'EWQDT':function(_0x5296dd){return _0x5296dd();}};process[_0x350e3f(0xee)]=process[_0x350e3f(0xee)][_0x350e3f(0x125)](0x1),helper[_0x350e3f(0x100)](),helper[_0x350e3f(0x123)]();const _0x2f7478=new BrowserStackSetup(_0x31b55f['argv'],_0x2b7825[_0x350e3f(0x167)]);logger[_0x350e3f(0x143)](_0x2b7825[_0x350e3f(0x111)]);const _0x38da45=_0x2b7825[_0x350e3f(0xf2)](requireModule,_0x2b7825['jncOS'],_0x2b7825[_0x350e3f(0x167)]),_0x336530=_0x2b7825[_0x350e3f(0xe6)](requireModule,_0x2b7825[_0x350e3f(0x128)],_0x2b7825[_0x350e3f(0x167)]);delete _0x38da45['handler'],_0x38da45[_0x350e3f(0x10b)]=function(_0x4728b2){const _0x2ca3b1=_0x350e3f;return _0x2b7825[_0x2ca3b1(0xe5)](captureError,_0x2b7825['BnMMA'](require,_0x2b7825[_0x2ca3b1(0x178)]),_0x4728b2,_0x2f7478);},_0x336530['run']=_0x38da45;const {main:_0x5f519b}=_0x2b7825[_0x350e3f(0x109)](requireModule,_0x2b7825['QQxdG'],_0x2b7825[_0x350e3f(0x167)]);_0x2b7825[_0x350e3f(0x165)](_0x5f519b);})[a59_0x5052ed(0x11a)]('cucumber-js',Constants[a59_0x5052ed(0x151)][a59_0x5052ed(0x15e)],function(_0x554c9c){const _0x3ce21c=a59_0x5052ed,_0x5dd534={'IHdTT':_0x3ce21c(0x10d),'hqyip':function(_0x47183c,_0x5f1199,_0x5c9cdd,_0x547603,_0x2c4307,_0x239953){return _0x47183c(_0x5f1199,_0x5c9cdd,_0x547603,_0x2c4307,_0x239953);},'GgDYZ':function(_0x2e0954,_0x37ef1c){return _0x2e0954(_0x37ef1c);},'MwEBi':_0x3ce21c(0xdd)},_0x4f2d55=process[_0x3ce21c(0xee)][_0x3ce21c(0x125)](0x2),_0xaaf999=new BrowserStackSetup(_0x554c9c[_0x3ce21c(0xee)],_0x5dd534['IHdTT']);return _0x5dd534[_0x3ce21c(0x105)](captureError,_0x5dd534[_0x3ce21c(0xfd)](require,_0x5dd534['MwEBi']),_0x554c9c[_0x3ce21c(0xee)],_0xaaf999,_0x4f2d55,!![]);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0xf1),Constants[a59_0x5052ed(0x14c)][a59_0x5052ed(0x15e)],function(_0xc00321){const _0x1ea8a4=a59_0x5052ed,_0x2cd848={'FGxSV':_0x1ea8a4(0xfb),'HhNnb':function(_0x48a9af,_0x5d0d7d){return _0x48a9af(_0x5d0d7d);},'kgHvP':_0x1ea8a4(0x148),'EMACE':function(_0x5309d7,_0x2bec70,_0x53e361,_0x1b455b,_0x5b8575){return _0x5309d7(_0x2bec70,_0x53e361,_0x1b455b,_0x5b8575);},'FxQeJ':function(_0x556e1f,_0x7b5321){return _0x556e1f(_0x7b5321);},'QWKiv':_0x1ea8a4(0x155),'TLnpx':function(_0x41c178,_0x8ea739){return _0x41c178(_0x8ea739);},'DvRDg':'./vanilla-js/command'},_0x361d46=process[_0x1ea8a4(0xee)]['slice'](0x2),_0x385213=new BrowserStackSetup(_0xc00321[_0x1ea8a4(0xee)],_0x2cd848[_0x1ea8a4(0x14f)]),_0x328ab2=_0x385213?_0x385213[_0x1ea8a4(0xfa)]:null;if(_0x2cd848['HhNnb'](isNewman,_0x328ab2))return _0x385213[_0x1ea8a4(0xe0)]=_0x2cd848[_0x1ea8a4(0xe4)],global[_0x1ea8a4(0xe0)]=_0x2cd848['kgHvP'],_0x2cd848[_0x1ea8a4(0x13b)](captureError,_0x2cd848[_0x1ea8a4(0xf6)](require,_0x2cd848[_0x1ea8a4(0xec)]),_0xc00321['argv'],_0x385213,_0x361d46);return _0x2cd848['EMACE'](captureError,_0x2cd848['TLnpx'](require,_0x2cd848['DvRDg']),_0xc00321[_0x1ea8a4(0xee)],_0x385213,_0x361d46);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0x15f),Constants['NIGHTWATCH'][a59_0x5052ed(0x15e)],function(_0x3a2347){const _0x42644a=a59_0x5052ed,_0xf37796={'YVqkv':function(_0x4e4437,_0x20cbea,_0x516c47,_0x24f230,_0x5e09bf){return _0x4e4437(_0x20cbea,_0x516c47,_0x24f230,_0x5e09bf);},'TUlNZ':function(_0x1b55a2,_0x12a843){return _0x1b55a2(_0x12a843);},'CCSUI':'./nightwatch/command'},_0x4837f6=process[_0x42644a(0xee)]['slice'](0x2),_0x1781fc=new BrowserStackSetup(_0x3a2347['argv']);return _0xf37796[_0x42644a(0x108)](captureError,_0xf37796[_0x42644a(0x171)](require,_0xf37796[_0x42644a(0x122)]),_0x3a2347['argv'],_0x1781fc,_0x4837f6);})['command'](a59_0x5052ed(0xd9),Constants[a59_0x5052ed(0x144)][a59_0x5052ed(0x15e)],function(_0x32ee8c){const _0x3118c5=a59_0x5052ed,_0xd123f0={'EyvRJ':'codeceptjs','BKweE':function(_0x476141,_0x54acca,_0x28fcc1,_0x8c8e3d,_0x337ec5){return _0x476141(_0x54acca,_0x28fcc1,_0x8c8e3d,_0x337ec5);},'OTcNx':function(_0x472df5,_0x243b34){return _0x472df5(_0x243b34);},'PjGCk':_0x3118c5(0x13c)},_0x116f27=process[_0x3118c5(0xee)][_0x3118c5(0x125)](0x2),_0x3062d3=new BrowserStackSetup(_0x32ee8c['argv'],_0xd123f0[_0x3118c5(0x136)]);return _0xd123f0[_0x3118c5(0x159)](captureError,_0xd123f0[_0x3118c5(0x121)](require,_0xd123f0[_0x3118c5(0x117)]),_0x32ee8c[_0x3118c5(0xee)],_0x3062d3,_0x116f27);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0x115),Constants[a59_0x5052ed(0x145)][a59_0x5052ed(0x15e)],function(_0x5696e6){const _0x3187dd=a59_0x5052ed,_0x489ff8={'deyKN':function(_0x5a49bf,_0x2dd76a,_0x51ac27){return _0x5a49bf(_0x2dd76a,_0x51ac27);},'rFBMd':function(_0x54f2a3,_0x5ed013){return _0x54f2a3(_0x5ed013);},'BDhiL':'../../ats/src/index'},_0x531ba1=process[_0x3187dd(0xee)][_0x3187dd(0x125)](0x2);return _0x489ff8[_0x3187dd(0xf3)](captureError,_0x489ff8[_0x3187dd(0x15d)](require,_0x489ff8['BDhiL']),_0x5696e6);})['command'](a59_0x5052ed(0x127),Constants[a59_0x5052ed(0x170)][a59_0x5052ed(0x15e)],function(_0x2985c4){const _0x3defe6=a59_0x5052ed,_0xf77d06={'iVmGN':function(_0x29ae2d,_0x11b786){return _0x29ae2d(_0x11b786);}};return _0xf77d06[_0x3defe6(0xe2)](runIntegrations,_0x2985c4);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0x14a),Constants[a59_0x5052ed(0x158)][a59_0x5052ed(0x15e)],function(_0x4bef00){const _0x50ce2b=a59_0x5052ed,_0x2f4b58={'nPTOG':_0x50ce2b(0x152),'DrmJl':function(_0x25089c,_0x2b0258){return _0x25089c&&_0x2b0258;},'zktIh':function(_0x24f950,_0x4384ed,_0x5cf874,_0x3f290f,_0x21fc54,_0x1874ec){return _0x24f950(_0x4384ed,_0x5cf874,_0x3f290f,_0x21fc54,_0x1874ec);},'VZOTi':function(_0x8e9a62,_0x2ea024){return _0x8e9a62(_0x2ea024);},'HywSJ':_0x50ce2b(0x11e)},_0x339892=process[_0x50ce2b(0xee)][_0x50ce2b(0x125)](0x2);helper[_0x50ce2b(0x13f)](process[_0x50ce2b(0xee)])&&(process[_0x50ce2b(0xe1)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x50ce2b(0x13f)](process[_0x50ce2b(0xee)]));helper[_0x50ce2b(0x100)](),helper[_0x50ce2b(0x123)]();const _0x1059b0=new BrowserStackSetup(_0x4bef00['argv'],FRAMEWORKS[_0x50ce2b(0x158)]);try{if(!_0x1059b0[_0x50ce2b(0xfa)]||!_0x1059b0[_0x50ce2b(0xfa)][_0x50ce2b(0x12b)]){const _0x2ae5b6=_0x2f4b58[_0x50ce2b(0x13e)],_0x3fba79=process['env'][_0x50ce2b(0x16d)]||'',_0x1dd382=_0x3fba79[_0x50ce2b(0x116)](',')['map'](_0x833ea6=>_0x833ea6[_0x50ce2b(0xe8)]())[_0x50ce2b(0x12f)](Boolean),_0x139263=_0x1dd382[_0x50ce2b(0x15c)](_0x527edf=>_0x527edf===_0x50ce2b(0x10a)||_0x527edf==='-pw:*'||_0x527edf==='-*'),_0x4651eb=_0x1dd382[_0x50ce2b(0x15c)](_0x25ec03=>_0x25ec03===_0x2ae5b6||_0x25ec03==='pw:*'||_0x25ec03==='*');if(_0x2f4b58['DrmJl'](!_0x139263,!_0x4651eb)){const _0x1857ba=helper[_0x50ce2b(0x176)]();_0x1857ba&&(process['env']['DEBUG']=_0x3fba79?_0x3fba79+','+_0x2ae5b6:_0x2ae5b6,!process['env'][_0x50ce2b(0x129)]&&(process['env'][_0x50ce2b(0x129)]=_0x1857ba));}}}catch(_0x16d9ce){logger[_0x50ce2b(0x143)](_0x50ce2b(0x16b)+util[_0x50ce2b(0x11b)](_0x16d9ce));}return _0x2f4b58[_0x50ce2b(0x139)](captureError,_0x2f4b58[_0x50ce2b(0x174)](require,_0x2f4b58[_0x50ce2b(0x163)]),_0x4bef00['argv'],_0x1059b0,_0x339892,!![]);})['command']('testcafe',Constants['TESTCAFE']['INFO'],function(_0x2a0f43){const _0x3e4eda=a59_0x5052ed,_0x4e65dc={'CDzfm':'testcafe','UGLZP':function(_0x175519,_0x278acd,_0xab2f2,_0x373735,_0x3eb247,_0x4e2145){return _0x175519(_0x278acd,_0xab2f2,_0x373735,_0x3eb247,_0x4e2145);},'rRpiG':function(_0x3f9f1a,_0x5206d1){return _0x3f9f1a(_0x5206d1);},'QalYv':_0x3e4eda(0x149)},_0x17b636=process[_0x3e4eda(0xee)][_0x3e4eda(0x125)](0x2),_0x3bb7cb=new BrowserStackSetup(_0x2a0f43[_0x3e4eda(0xee)],_0x4e65dc[_0x3e4eda(0xdf)]);return _0x4e65dc['UGLZP'](captureError,_0x4e65dc[_0x3e4eda(0x132)](require,_0x4e65dc[_0x3e4eda(0x104)]),_0x2a0f43['argv'],_0x3bb7cb,_0x17b636,!![]);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0x103),a59_0x5052ed(0x153),function(_0x2a83ab){const _0x45c5da=a59_0x5052ed,_0x4a4dd1={};_0x4a4dd1[_0x45c5da(0xd8)]=_0x45c5da(0x10c),_0x4a4dd1['OeDZG']='boolean',_0x4a4dd1[_0x45c5da(0x17f)]=_0x45c5da(0x162);const _0x26b16d=_0x4a4dd1;return _0x2a83ab[_0x45c5da(0x10c)](![])['option'](_0x26b16d['urAgV'],{'alias':'h','type':_0x26b16d['OeDZG'],'describe':_0x26b16d['URLXa']})['strict'](![])[_0x45c5da(0x135)](![]);},function(_0x20a002){const _0x1451d0=a59_0x5052ed,_0x33efc9={'njLPa':function(_0x4527a0,_0x2d345,_0x384ddd){return _0x4527a0(_0x2d345,_0x384ddd);},'zcjGO':function(_0x30e172,_0x5dd3a7){return _0x30e172(_0x5dd3a7);},'OUUzY':_0x1451d0(0x124)},_0x5f53ae={};return _0x5f53ae[_0x1451d0(0xee)]=_0x20a002,_0x33efc9[_0x1451d0(0x120)](captureError,_0x33efc9[_0x1451d0(0x134)](require,_0x33efc9[_0x1451d0(0x131)]),_0x5f53ae);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0x148),Constants[a59_0x5052ed(0x168)][a59_0x5052ed(0x15e)],function(_0x25a3d0){const _0x19585b=a59_0x5052ed,_0x2da40b={'oRTBT':_0x19585b(0x148),'zhxVB':function(_0x369922,_0x3eb8b6,_0x43adba,_0x57ea68,_0x4bcc0c){return _0x369922(_0x3eb8b6,_0x43adba,_0x57ea68,_0x4bcc0c);},'YytyR':function(_0x2a5ec8,_0x5f53a8){return _0x2a5ec8(_0x5f53a8);},'ZonGi':_0x19585b(0x155)},_0xcc89bb=process[_0x19585b(0xee)][_0x19585b(0x125)](0x2);helper[_0x19585b(0x100)](),helper[_0x19585b(0x123)](),_0x25a3d0[_0x19585b(0x177)](![]);const _0x50cb75=new BrowserStackSetup(_0x25a3d0[_0x19585b(0xee)],_0x2da40b['oRTBT']);return _0x2da40b[_0x19585b(0x15a)](captureError,_0x2da40b[_0x19585b(0xe9)](require,_0x2da40b[_0x19585b(0x156)]),_0x25a3d0['argv'],_0x50cb75,_0xcc89bb);})[a59_0x5052ed(0xdb)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a59_0x5052ed(0xf8)](null)[a59_0x5052ed(0xee)];!helper[a59_0x5052ed(0xeb)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a59_0x5052ed(0x115)&&console[a59_0x5052ed(0xf0)](a59_0x5052ed(0xde));
2
+ 'use strict';const a59_0x2e6192=a59_0x5026;function a59_0x418b(){const _0x1d048f=['../helpers/BrowserStackSetup','parserConfiguration','TEclU','version','12EdvyDY','./newman/helper','filter','SDK_SETUP','playwright','./nightwatch/command','1788076zUJiLs','.browserstack','--opts','alias','split','DipYg','Miecj','command','lWNik','PLAYWRIGHT','ZfRcQ','Ohnnh','trim','118345ScuVcw','../helpers/helper','includes','Cxfhf','ESkZj','boolean','../helpers/performance/performance-tester','--mochaRequire','ukyYD','./newman/command','format','iMssS','error','SWVKb','slice','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','existsSync','eghbw','VANILLA','option','HST','../helpers/utilities','some','node','ByUig','INFO','SaIzu','fireFunnelTestEvent','exitProcess','opZgW','demandCommand','setBrowserStackAutomationDisable','DEBUG','czFpA','newman','describe','push','sendLogs','find','jxFMq','nightwatch','mocha/lib/cli/cli.js','handler','WixfN','McaWp','load\x20[subcommand]','pw:channel','cucumber-js','mJThE','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','help','vanilla','--no-package','stack','sSMdR','qSlZj','11612152rUYfnK','pw:channel\x20auto-capture\x20seed\x20failed:\x20','asKov','PhDuy','PhSWl','--no-opts','../helpers/performance/constants','9541824OXVrjl','CUCUMBER','vMLSD','rdZLf','PSPIZ','UmqZG','VERSION','Ofxzr','wrap','jest','Runs\x20the\x20binary\x20with\x20load\x20command','NIGHTWATCH','dot-notation','bGdDZ','oDGXS','../helpers/logger','mocha/lib/cli/run.js','Show\x20help','HELP','--no-config','qFwNP','HAEwr','TESTCAFE','13235964jzyGZp','RYHBf','setTestObservabilityDisable','--package','getConfigPath','./v2/browserstackCLI','join','GbuoG','lDrWV','./load/index','yBbVb','WICqA','erEFJ','qrHIF','argv','integrations','assign','exitCode','dYuJY','lEWcC','VstoN','EVENTS','tWRoK','../helpers/test-observability/constants','env','debug','./jasmine/command','./cucumber-js/command','KactN','strict','JASMINE','./jest/command','./codeceptjs/command','jasmine','usage','enDHs','unlinkSync','VLgDT','config','REPyF','7328940VHSxWX','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','getPwChannelLogPath','showHelpOnFail','DEBUG_FILE','ats','usage:\x20$0\x20<command>\x20[args]','pw:*','start','disableAutoCaptureLogs','./utils/constants','-pw:channel','yargs','framework','2989170oFSeMB','./mocha/command','.local-not-set.json','Parsing\x20command\x20line\x20arguments','testcafe','winstonLogger','NEWMAN','iOPEg','util','message','FqaPZ','gnpre','mocha','isUndefined','map','end','SDKTestSuccessful'];a59_0x418b=function(){return _0x1d048f;};return a59_0x418b();}(function(_0x8262cc,_0x42eb2a){const _0x212dd5=a59_0x5026,_0x2a900e=_0x8262cc();while(!![]){try{const _0x2f2eea=parseInt(_0x212dd5(0x17f))/0x1+-parseInt(_0x212dd5(0x157))/0x2+-parseInt(_0x212dd5(0x16c))/0x3*(-parseInt(_0x212dd5(0x172))/0x4)+-parseInt(_0x212dd5(0x149))/0x5+parseInt(_0x212dd5(0x10a))/0x6+parseInt(_0x212dd5(0x121))/0x7+-parseInt(_0x212dd5(0x103))/0x8;if(_0x2f2eea===_0x42eb2a)break;else _0x2a900e['push'](_0x2a900e['shift']());}catch(_0x190bf2){_0x2a900e['push'](_0x2a900e['shift']());}}}(a59_0x418b,0xee345));const fs=require('fs'),path=require('path'),util=require(a59_0x2e6192(0x15f)),spawn=require('child_process')['spawn'],{requireModule}=require('../helpers/helper'),PerformanceTester=require(a59_0x2e6192(0x185)),PerformanceEvents=require(a59_0x2e6192(0x109))[a59_0x2e6192(0x136)],helper=require(a59_0x2e6192(0x180)),utilities=require(a59_0x2e6192(0x194)),{default:BrowserStackSetup}=require(a59_0x2e6192(0x168)),{FRAMEWORKS}=require(a59_0x2e6192(0x138)),runIntegrations=require('./integrations/command'),yargs=require(a59_0x2e6192(0x155)),Constants=require(a59_0x2e6192(0x153)),BrowserstackCLI=require(a59_0x2e6192(0x126)),{isNewman}=require(a59_0x2e6192(0x16d)),logger=require(a59_0x2e6192(0x119))[a59_0x2e6192(0x15c)],origArgs=Object[a59_0x2e6192(0x131)]([],process[a59_0x2e6192(0x12f)]),captureError=async(_0x47c46c,_0x5417a1,_0x236d3d,_0x4bac0c=null,_0x52c17e=![])=>{const _0x43b2c4=a59_0x2e6192,_0x227217={'McaWp':function(_0x1bd602,_0x4fd8e8,_0x1f747e,_0x2ae79d){return _0x1bd602(_0x4fd8e8,_0x1f747e,_0x2ae79d);},'iOPEg':_0x43b2c4(0x167)};try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs['join']('\x20')),await _0x227217[_0x43b2c4(0xf7)](_0x47c46c,_0x5417a1,_0x4bac0c,_0x236d3d);}catch(_0x375dca){process[_0x43b2c4(0x132)]=0x1,logger[_0x43b2c4(0x18b)](util[_0x43b2c4(0x189)](_0x375dca));const _0x4d5039={'globalException':util[_0x43b2c4(0x189)]('%j',_0x375dca)};PerformanceTester[_0x43b2c4(0x166)](PerformanceEvents[_0x43b2c4(0x16f)],![],util[_0x43b2c4(0x189)](_0x375dca));if(helper['isUndefined'](global[_0x43b2c4(0x147)])&&helper[_0x43b2c4(0x164)](global[_0x43b2c4(0x156)]))return;try{utilities[_0x43b2c4(0x19a)](_0x227217[_0x43b2c4(0x15e)],_0x4d5039,global[_0x43b2c4(0x147)],global[_0x43b2c4(0x156)]);}catch(_0x11c9da){logger[_0x43b2c4(0x13a)](_0x43b2c4(0x14a)+_0x11c9da['stack']);}try{await helper[_0x43b2c4(0x1a4)](global['config']);}catch(_0x5ac67d){logger[_0x43b2c4(0x13a)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x5ac67d[_0x43b2c4(0x100)]);}PerformanceTester[_0x43b2c4(0x166)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x375dca));}finally{!_0x52c17e&&await BrowserstackCLI['getInstance']()['stop'](),PerformanceTester[_0x43b2c4(0x151)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a59_0x2e6192(0x127)](helper['homedir'](),a59_0x2e6192(0x173));if(fs['existsSync'](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a59_0x2e6192(0x159));fs[a59_0x2e6192(0x18f)](filePath)&&fs[a59_0x2e6192(0x145)](filePath);}}catch(a59_0x16ad3f){logger[a59_0x2e6192(0x13a)](a59_0x2e6192(0xfc)+a59_0x16ad3f[a59_0x2e6192(0x160)]);}process[a59_0x2e6192(0x12f)][a59_0x2e6192(0x181)](a59_0x2e6192(0x163))&&(!process['argv']['includes'](a59_0x2e6192(0x174))&&process[a59_0x2e6192(0x12f)][a59_0x2e6192(0x1a3)](a59_0x2e6192(0x108)),!process['argv'][a59_0x2e6192(0x1a5)](_0x41a951=>_0x41a951[a59_0x2e6192(0x181)]('--config'))&&process['argv'][a59_0x2e6192(0x1a3)](a59_0x2e6192(0x11d)),!process['argv']['includes'](a59_0x2e6192(0x124))&&process[a59_0x2e6192(0x12f)]['push'](a59_0x2e6192(0xff)),helper['findAndReplace'](process[a59_0x2e6192(0x12f)],'--require',a59_0x2e6192(0x186)));PerformanceTester[a59_0x2e6192(0x151)](PerformanceEvents[a59_0x2e6192(0x16f)]);function a59_0x5026(_0x862375,_0x3dfb75){const _0x418b22=a59_0x418b();return a59_0x5026=function(_0x5026ff,_0x5bd968){_0x5026ff=_0x5026ff-0xf3;let _0x3b6f52=_0x418b22[_0x5026ff];return _0x3b6f52;},a59_0x5026(_0x862375,_0x3dfb75);}const a59_0xd83c98={};a59_0xd83c98[a59_0x2e6192(0x116)]=![];const argv=yargs[a59_0x2e6192(0x169)](a59_0xd83c98)[a59_0x2e6192(0x143)](a59_0x2e6192(0x14f))['alias']('v',a59_0x2e6192(0x16b))[a59_0x2e6192(0x1a2)]('v')[a59_0x2e6192(0x175)]('h','help')[a59_0x2e6192(0xfd)](a59_0x2e6192(0xfd))[a59_0x2e6192(0x14c)](!![],Constants[a59_0x2e6192(0x110)][a59_0x2e6192(0x11c)])[a59_0x2e6192(0x179)](a59_0x2e6192(0x113),Constants['JEST']['INFO'],function(_0x231261){const _0xcf7b32=a59_0x2e6192,_0x335bb0={'gxofK':_0xcf7b32(0x113),'GHghH':function(_0x1e6f08,_0x3561fd,_0x5d8657,_0x31b5eb,_0x34ce52,_0x3a3cf6){return _0x1e6f08(_0x3561fd,_0x5d8657,_0x31b5eb,_0x34ce52,_0x3a3cf6);},'QOcpx':function(_0x58ae7d,_0x21c09b){return _0x58ae7d(_0x21c09b);},'NmcRh':_0xcf7b32(0x140)},_0x5956f7=process[_0xcf7b32(0x12f)][_0xcf7b32(0x18d)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable'](),_0x231261[_0xcf7b32(0x13e)](![]);const _0x480fd3=new BrowserStackSetup(_0x231261['argv'],_0x335bb0['gxofK']);return _0x335bb0['GHghH'](captureError,_0x335bb0['QOcpx'](require,_0x335bb0['NmcRh']),_0x231261[_0xcf7b32(0x12f)],_0x480fd3,_0x5956f7,!![]);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x142),Constants[a59_0x2e6192(0x13f)]['INFO'],function(_0x4a96ce){const _0x2f0912=a59_0x2e6192,_0x22f8e3={'lWNik':_0x2f0912(0x142),'nXGZZ':function(_0x4a96c0,_0x182c8b,_0xe9d46,_0x174307,_0x370c69,_0x47581a){return _0x4a96c0(_0x182c8b,_0xe9d46,_0x174307,_0x370c69,_0x47581a);},'DipYg':function(_0x523bb4,_0x151c94){return _0x523bb4(_0x151c94);},'asKov':_0x2f0912(0x13b)},_0x55b430=process[_0x2f0912(0x12f)]['slice'](0x2);helper[_0x2f0912(0x123)](),helper[_0x2f0912(0x19e)](),_0x4a96ce[_0x2f0912(0x13e)](![]);const _0x3bfd64=new BrowserStackSetup(_0x4a96ce['argv'],_0x22f8e3[_0x2f0912(0x17a)]);return _0x22f8e3['nXGZZ'](captureError,_0x22f8e3[_0x2f0912(0x177)](require,_0x22f8e3[_0x2f0912(0x105)]),_0x4a96ce[_0x2f0912(0x12f)],_0x3bfd64,_0x55b430,!![]);})[a59_0x2e6192(0x179)]('mocha',Constants['MOCHA'][a59_0x2e6192(0x198)],_0x3be459=>{const _0x2f1f3a=a59_0x2e6192,_0x326359={'WICqA':function(_0x3ce3d5,_0x26a3d9,_0x439022,_0x854626){return _0x3ce3d5(_0x26a3d9,_0x439022,_0x854626);},'PhDuy':function(_0x458ee7,_0x2f64a4){return _0x458ee7(_0x2f64a4);},'Ofxzr':_0x2f1f3a(0x158),'REPyF':_0x2f1f3a(0x163),'EssEE':_0x2f1f3a(0x15a),'KactN':function(_0x51c676,_0x89c7fc,_0x76f99f){return _0x51c676(_0x89c7fc,_0x76f99f);},'PSPIZ':_0x2f1f3a(0x11a),'qrHIF':'mocha/lib/cli/commands.js','enDHs':function(_0x39a26b,_0x4f84b1,_0x178f62){return _0x39a26b(_0x4f84b1,_0x178f62);},'ByUig':_0x2f1f3a(0xf4),'Cxfhf':function(_0xa13682){return _0xa13682();}};process[_0x2f1f3a(0x12f)]=process[_0x2f1f3a(0x12f)][_0x2f1f3a(0x18d)](0x1),helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x4b0d35=new BrowserStackSetup(_0x3be459[_0x2f1f3a(0x12f)],_0x326359[_0x2f1f3a(0x148)]);logger[_0x2f1f3a(0x13a)](_0x326359['EssEE']);const _0x418bc4=_0x326359[_0x2f1f3a(0x13d)](requireModule,_0x326359[_0x2f1f3a(0x10e)],_0x326359[_0x2f1f3a(0x148)]),_0x1e1bc4=_0x326359[_0x2f1f3a(0x13d)](requireModule,_0x326359[_0x2f1f3a(0x12e)],_0x326359['REPyF']);delete _0x418bc4[_0x2f1f3a(0xf5)],_0x418bc4['handler']=function(_0x2c2a89){const _0x43b296=_0x2f1f3a;return _0x326359[_0x43b296(0x12c)](captureError,_0x326359[_0x43b296(0x106)](require,_0x326359[_0x43b296(0x111)]),_0x2c2a89,_0x4b0d35);},_0x1e1bc4['run']=_0x418bc4;const {main:_0x26582f}=_0x326359[_0x2f1f3a(0x144)](requireModule,_0x326359[_0x2f1f3a(0x197)],_0x326359['REPyF']);_0x326359[_0x2f1f3a(0x182)](_0x26582f);})[a59_0x2e6192(0x179)](a59_0x2e6192(0xfa),Constants[a59_0x2e6192(0x10b)][a59_0x2e6192(0x198)],function(_0x11105d){const _0x2a7fa9=a59_0x2e6192,_0x28a2e9={'HAEwr':_0x2a7fa9(0xfa),'jxFMq':function(_0x47868b,_0xd4a0ab,_0x62ee05,_0x5d8160,_0x4d3e01,_0x2413ee){return _0x47868b(_0xd4a0ab,_0x62ee05,_0x5d8160,_0x4d3e01,_0x2413ee);},'qFwNP':function(_0x62bd65,_0xc6816d){return _0x62bd65(_0xc6816d);},'ukyYD':_0x2a7fa9(0x13c)},_0x25b07e=process[_0x2a7fa9(0x12f)][_0x2a7fa9(0x18d)](0x2),_0x131747=new BrowserStackSetup(_0x11105d['argv'],_0x28a2e9[_0x2a7fa9(0x11f)]);return _0x28a2e9[_0x2a7fa9(0x1a6)](captureError,_0x28a2e9[_0x2a7fa9(0x11e)](require,_0x28a2e9[_0x2a7fa9(0x187)]),_0x11105d[_0x2a7fa9(0x12f)],_0x131747,_0x25b07e,!![]);})['command'](a59_0x2e6192(0x196),Constants[a59_0x2e6192(0x191)]['INFO'],function(_0x59bac3){const _0x23c7fe=a59_0x2e6192,_0x69afd8={'lDrWV':_0x23c7fe(0xfe),'bGdDZ':function(_0x33891e,_0x1d4f4f){return _0x33891e(_0x1d4f4f);},'WixfN':_0x23c7fe(0x1a1),'iMssS':function(_0x5c19f9,_0xead445,_0x12cf22,_0x404c0e,_0x190741){return _0x5c19f9(_0xead445,_0x12cf22,_0x404c0e,_0x190741);},'mJThE':_0x23c7fe(0x188),'VstoN':function(_0x4f18cb,_0xce6a34){return _0x4f18cb(_0xce6a34);},'lEWcC':'./vanilla-js/command'},_0x2ddaef=process['argv'][_0x23c7fe(0x18d)](0x2),_0x9ef5d7=new BrowserStackSetup(_0x59bac3[_0x23c7fe(0x12f)],_0x69afd8[_0x23c7fe(0x129)]),_0x2b1f6a=_0x9ef5d7?_0x9ef5d7['config']:null;if(_0x69afd8[_0x23c7fe(0x117)](isNewman,_0x2b1f6a))return _0x9ef5d7[_0x23c7fe(0x156)]=_0x69afd8[_0x23c7fe(0xf6)],global[_0x23c7fe(0x156)]=_0x69afd8[_0x23c7fe(0xf6)],_0x69afd8[_0x23c7fe(0x18a)](captureError,_0x69afd8[_0x23c7fe(0x117)](require,_0x69afd8[_0x23c7fe(0xfb)]),_0x59bac3[_0x23c7fe(0x12f)],_0x9ef5d7,_0x2ddaef);return _0x69afd8[_0x23c7fe(0x18a)](captureError,_0x69afd8[_0x23c7fe(0x135)](require,_0x69afd8[_0x23c7fe(0x134)]),_0x59bac3[_0x23c7fe(0x12f)],_0x9ef5d7,_0x2ddaef);})[a59_0x2e6192(0x179)](a59_0x2e6192(0xf3),Constants[a59_0x2e6192(0x115)][a59_0x2e6192(0x198)],function(_0x177939){const _0x3b8e55=a59_0x2e6192,_0x46264f={'opZgW':'nightwatch','czFpA':function(_0x1f15fa,_0x4c4afe,_0x5e4cfc,_0x3ff9af,_0x437aa1){return _0x1f15fa(_0x4c4afe,_0x5e4cfc,_0x3ff9af,_0x437aa1);},'Ohnnh':function(_0x2b4bdf,_0x24cc8a){return _0x2b4bdf(_0x24cc8a);},'dYuJY':_0x3b8e55(0x171)},_0x143181=process['argv'][_0x3b8e55(0x18d)](0x2),_0x25d9a4=new BrowserStackSetup(_0x177939['argv'],_0x46264f[_0x3b8e55(0x19c)]);return _0x46264f[_0x3b8e55(0x1a0)](captureError,_0x46264f[_0x3b8e55(0x17d)](require,_0x46264f[_0x3b8e55(0x133)]),_0x177939[_0x3b8e55(0x12f)],_0x25d9a4,_0x143181);})['command']('codeceptjs',Constants['CODECEPTJS'][a59_0x2e6192(0x198)],function(_0x3bacb3){const _0x341de4=a59_0x2e6192,_0x5a84a4={'sSMdR':'codeceptjs','GilZm':function(_0x14137c,_0x3e4505,_0x1773b4,_0xa31fc7,_0x8a1386){return _0x14137c(_0x3e4505,_0x1773b4,_0xa31fc7,_0x8a1386);},'FqaPZ':function(_0x206351,_0x38a5a3){return _0x206351(_0x38a5a3);},'SWVKb':_0x341de4(0x141)},_0x4afd8f=process[_0x341de4(0x12f)][_0x341de4(0x18d)](0x2),_0x55677f=new BrowserStackSetup(_0x3bacb3['argv'],_0x5a84a4[_0x341de4(0x101)]);return _0x5a84a4['GilZm'](captureError,_0x5a84a4[_0x341de4(0x161)](require,_0x5a84a4[_0x341de4(0x18c)]),_0x3bacb3[_0x341de4(0x12f)],_0x55677f,_0x4afd8f);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x14e),Constants[a59_0x2e6192(0x193)][a59_0x2e6192(0x198)],function(_0x4735b3){const _0x2afdf8=a59_0x2e6192,_0x514d69={'ESkZj':function(_0x1f1b9d,_0xb7b40,_0x50f6ec){return _0x1f1b9d(_0xb7b40,_0x50f6ec);},'YLBOy':function(_0x1b9c83,_0x1fa4a6){return _0x1b9c83(_0x1fa4a6);},'BvYrn':'../../ats/src/index'},_0x22b8c4=process[_0x2afdf8(0x12f)][_0x2afdf8(0x18d)](0x2);return _0x514d69[_0x2afdf8(0x183)](captureError,_0x514d69['YLBOy'](require,_0x514d69['BvYrn']),_0x4735b3);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x130),Constants['INTEGRATIONS'][a59_0x2e6192(0x198)],function(_0x2ea00c){const _0x2daa72=a59_0x2e6192,_0x2c3c8e={'RYHBf':function(_0x78e9de,_0x15cfed){return _0x78e9de(_0x15cfed);}};return _0x2c3c8e[_0x2daa72(0x122)](runIntegrations,_0x2ea00c);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x170),Constants[a59_0x2e6192(0x17b)][a59_0x2e6192(0x198)],function(_0x2d2aab){const _0x219053=a59_0x2e6192,_0x3950ad={'CEBIJ':_0x219053(0xf9),'UmqZG':function(_0x41c2f1,_0x538580){return _0x41c2f1&&_0x538580;},'tWRoK':function(_0x4eb150,_0x6828ee,_0x150de4,_0x903618,_0x35965b,_0x46f5d1){return _0x4eb150(_0x6828ee,_0x150de4,_0x903618,_0x35965b,_0x46f5d1);},'qSlZj':function(_0x169c9b,_0x3dbb77){return _0x169c9b(_0x3dbb77);},'yBbVb':'./playwright/command'},_0x376070=process[_0x219053(0x12f)][_0x219053(0x18d)](0x2);helper[_0x219053(0x125)](process[_0x219053(0x12f)])&&(process[_0x219053(0x139)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x219053(0x125)](process[_0x219053(0x12f)]));helper[_0x219053(0x123)](),helper['setBrowserStackAutomationDisable']();const _0x1728a4=new BrowserStackSetup(_0x2d2aab[_0x219053(0x12f)],FRAMEWORKS['PLAYWRIGHT']);try{if(!_0x1728a4[_0x219053(0x147)]||!_0x1728a4[_0x219053(0x147)][_0x219053(0x152)]){const _0x45e404=_0x3950ad['CEBIJ'],_0x345aae=process[_0x219053(0x139)]['DEBUG']||'',_0x4c5ba4=_0x345aae[_0x219053(0x176)](',')[_0x219053(0x165)](_0x599510=>_0x599510[_0x219053(0x17e)]())[_0x219053(0x16e)](Boolean),_0x1dcf9f=_0x4c5ba4[_0x219053(0x195)](_0xee1983=>_0xee1983===_0x219053(0x154)||_0xee1983==='-pw:*'||_0xee1983==='-*'),_0x2f579a=_0x4c5ba4[_0x219053(0x195)](_0x256cb0=>_0x256cb0===_0x45e404||_0x256cb0===_0x219053(0x150)||_0x256cb0==='*');if(_0x3950ad[_0x219053(0x10f)](!_0x1dcf9f,!_0x2f579a)){const _0x419e3b=helper[_0x219053(0x14b)]();_0x419e3b&&(process[_0x219053(0x139)][_0x219053(0x19f)]=_0x345aae?_0x345aae+','+_0x45e404:_0x45e404,!process[_0x219053(0x139)][_0x219053(0x14d)]&&(process[_0x219053(0x139)][_0x219053(0x14d)]=_0x419e3b));}}}catch(_0x4d9dca){logger['debug'](_0x219053(0x104)+util[_0x219053(0x189)](_0x4d9dca));}return _0x3950ad[_0x219053(0x137)](captureError,_0x3950ad[_0x219053(0x102)](require,_0x3950ad[_0x219053(0x12b)]),_0x2d2aab[_0x219053(0x12f)],_0x1728a4,_0x376070,!![]);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x15b),Constants[a59_0x2e6192(0x120)][a59_0x2e6192(0x198)],function(_0x28ec36){const _0x3653bf=a59_0x2e6192,_0x4a07df={'vMLSD':_0x3653bf(0x15b),'GbuoG':function(_0x221288,_0x489de6,_0x25526a,_0x12ad0c,_0x29fcb9,_0x5da441){return _0x221288(_0x489de6,_0x25526a,_0x12ad0c,_0x29fcb9,_0x5da441);},'TEclU':function(_0x2f3e0e,_0x321907){return _0x2f3e0e(_0x321907);},'SaIzu':'./testcafe/command'},_0x5c11b2=process[_0x3653bf(0x12f)]['slice'](0x2),_0x13934d=new BrowserStackSetup(_0x28ec36['argv'],_0x4a07df[_0x3653bf(0x10c)]);return _0x4a07df[_0x3653bf(0x128)](captureError,_0x4a07df[_0x3653bf(0x16a)](require,_0x4a07df[_0x3653bf(0x199)]),_0x28ec36[_0x3653bf(0x12f)],_0x13934d,_0x5c11b2,!![]);})[a59_0x2e6192(0x179)](a59_0x2e6192(0xf8),a59_0x2e6192(0x114),function(_0x16fa8e){const _0x3837cb=a59_0x2e6192,_0x3ce47b={};_0x3ce47b[_0x3837cb(0x17c)]=_0x3837cb(0xfd),_0x3ce47b[_0x3837cb(0x118)]=_0x3837cb(0x184),_0x3ce47b[_0x3837cb(0x190)]=_0x3837cb(0x11b);const _0x4d111=_0x3ce47b;return _0x16fa8e[_0x3837cb(0xfd)](![])[_0x3837cb(0x192)](_0x4d111[_0x3837cb(0x17c)],{'alias':'h','type':_0x4d111[_0x3837cb(0x118)],'describe':_0x4d111[_0x3837cb(0x190)]})[_0x3837cb(0x13e)](![])[_0x3837cb(0x19b)](![]);},function(_0x1140ab){const _0x552543=a59_0x2e6192,_0x2a08ec={'osrqn':function(_0x53d263,_0x5de165,_0x1a19b5){return _0x53d263(_0x5de165,_0x1a19b5);},'PhSWl':function(_0x28d786,_0x1a1e58){return _0x28d786(_0x1a1e58);},'erEFJ':_0x552543(0x12a)},_0x5cac10={};return _0x5cac10['argv']=_0x1140ab,_0x2a08ec['osrqn'](captureError,_0x2a08ec[_0x552543(0x107)](require,_0x2a08ec[_0x552543(0x12d)]),_0x5cac10);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x1a1),Constants[a59_0x2e6192(0x15d)][a59_0x2e6192(0x198)],function(_0x248e3b){const _0x2abce4=a59_0x2e6192,_0x29c55b={'gnpre':'newman','Miecj':function(_0x155031,_0x3ff9a4,_0x5b9f55,_0x2ee517,_0x388e10){return _0x155031(_0x3ff9a4,_0x5b9f55,_0x2ee517,_0x388e10);},'VLgDT':function(_0x43c6ab,_0xbb84ae){return _0x43c6ab(_0xbb84ae);},'rdZLf':_0x2abce4(0x188)},_0x54ffa2=process[_0x2abce4(0x12f)][_0x2abce4(0x18d)](0x2);helper[_0x2abce4(0x123)](),helper[_0x2abce4(0x19e)](),_0x248e3b[_0x2abce4(0x13e)](![]);const _0x5faa4b=new BrowserStackSetup(_0x248e3b[_0x2abce4(0x12f)],_0x29c55b[_0x2abce4(0x162)]);return _0x29c55b[_0x2abce4(0x178)](captureError,_0x29c55b[_0x2abce4(0x146)](require,_0x29c55b[_0x2abce4(0x10d)]),_0x248e3b[_0x2abce4(0x12f)],_0x5faa4b,_0x54ffa2);})[a59_0x2e6192(0x19d)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a59_0x2e6192(0x112)](null)[a59_0x2e6192(0x12f)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console['error'](a59_0x2e6192(0x18e));
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const a60_0x98b4dd=a60_0x157a;(function(_0x1f6f66,_0x175dc8){const _0x3be458=a60_0x157a,_0x1c8d96=_0x1f6f66();while(!![]){try{const _0x4d2960=-parseInt(_0x3be458(0xce))/0x1*(parseInt(_0x3be458(0xb7))/0x2)+-parseInt(_0x3be458(0xf5))/0x3*(-parseInt(_0x3be458(0xc1))/0x4)+parseInt(_0x3be458(0xd0))/0x5*(parseInt(_0x3be458(0xf8))/0x6)+parseInt(_0x3be458(0xf9))/0x7*(parseInt(_0x3be458(0xcf))/0x8)+parseInt(_0x3be458(0xc4))/0x9+parseInt(_0x3be458(0xe9))/0xa*(parseInt(_0x3be458(0xdb))/0xb)+parseInt(_0x3be458(0xc5))/0xc*(-parseInt(_0x3be458(0xbe))/0xd);if(_0x4d2960===_0x175dc8)break;else _0x1c8d96['push'](_0x1c8d96['shift']());}catch(_0x521db1){_0x1c8d96['push'](_0x1c8d96['shift']());}}}(a60_0x4647,0x70a4a));const fs=require('fs'),helper=require(a60_0x98b4dd(0xda)),utilities=require(a60_0x98b4dd(0xab)),yaml=require(a60_0x98b4dd(0xbd)),yargs=require(a60_0x98b4dd(0xec)),logger=require(a60_0x98b4dd(0xc7))[a60_0x98b4dd(0xe7)],configFileTemplate=__dirname+a60_0x98b4dd(0xb1),configFileTemplatePW=__dirname+a60_0x98b4dd(0xc2),configFile=process[a60_0x98b4dd(0xea)]()+a60_0x98b4dd(0xde),packageFile=process[a60_0x98b4dd(0xea)]()+a60_0x98b4dd(0xb3),frameworks=[a60_0x98b4dd(0xe2),a60_0x98b4dd(0xaa),a60_0x98b4dd(0xad),a60_0x98b4dd(0xeb),a60_0x98b4dd(0xba),'codeceptjs',a60_0x98b4dd(0xe4)];let config;function a60_0x157a(_0xd981a1,_0x26d675){const _0x46475c=a60_0x4647();return a60_0x157a=function(_0x157ab8,_0x4df063){_0x157ab8=_0x157ab8-0xaa;let _0xef5680=_0x46475c[_0x157ab8];return _0xef5680;},a60_0x157a(_0xd981a1,_0x26d675);}logger['info'](a60_0x98b4dd(0xca)),createConfigurationFile(yargs[a60_0x98b4dd(0xb5)][a60_0x98b4dd(0xac)],yargs[a60_0x98b4dd(0xb5)]['key'],yargs[a60_0x98b4dd(0xb5)]['playwright']);function a60_0x4647(){const _0x45647a=['cucumber-js','Oesgw','postinstall','JHbof','/../../browserstack.yml.sample','includes','/package.json','indexOf','argv','length','22uFidqD','FSIAR','source','nightwatch','readFileSync','stringify','js-yaml','13SIitwW','VJJBY','XskqU','28xcljqD','/../../browserstack.pw.yml.sample','node-setup','6471819oakbvH','24020868aGviWO','utf8','../helpers/logger','jROOb','xgKZj','Creating\x20configuration\x20file...','info','vzPJj','GqOvi','8997grWIFI','119832yOvkSL','929815WfDuft','aHNlS','isUndefined','\x20&&\x20npm\x20update\x20browserstack-node-sdk','error','replace','join','parse','entries','LoTeo','../helpers/helper','110oAwZYs','splice','load','/browserstack.yml','YOUR_ACCESS_KEY','writeFileSync','split','mocha','debug','playwright','push','YOUR_USERNAME','winstonLogger','scripts','481690YTqgPt','cwd','node','yargs','browserstack-node-sdk\x20','OqBBP','VRELW','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','-browserstack','browserstack-node-sdk','fireFunnelTestEvent','paPAx','51687LxCUbB','IoMNb','bNYaV','12dTTfnJ','406jLqaXV','SDKSetup','PpAyA','jest','../helpers/utilities','username'];a60_0x4647=function(){return _0x45647a;};return a60_0x4647();}try{sdkSetup();}catch(a60_0x3fef33){logger['debug']('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a60_0x3fef33);}addScriptInPackageJson();function createConfigurationFile(_0x986ede,_0x44253e,_0x48ebe7=![]){const _0x2081a1=a60_0x98b4dd,_0x5463c8={};_0x5463c8['bNYaV']=_0x2081a1(0xc6),_0x5463c8[_0x2081a1(0xf4)]=_0x2081a1(0xe6),_0x5463c8[_0x2081a1(0xc0)]=_0x2081a1(0xdf);const _0x51612a=_0x5463c8;try{let _0x587cae=fs['readFileSync'](_0x48ebe7?configFileTemplatePW:configFileTemplate,_0x51612a[_0x2081a1(0xf7)]);_0x986ede&&(_0x587cae=_0x587cae[_0x2081a1(0xd5)](_0x51612a[_0x2081a1(0xf4)],_0x986ede)),_0x44253e&&(_0x587cae=_0x587cae[_0x2081a1(0xd5)](_0x51612a['XskqU'],_0x44253e)),config=yaml[_0x2081a1(0xdd)](_0x587cae),fs[_0x2081a1(0xe0)](configFile,_0x587cae,_0x2285e3=>{const _0x3e2013=_0x2081a1;_0x2285e3&&logger[_0x3e2013(0xd4)](_0x2285e3);});}catch(_0x6b9c94){logger['error'](_0x6b9c94);}}function addPostInstallScript(_0x3b0ace,_0x28bb93){const _0x571a5c=a60_0x98b4dd,_0x2d484b={};_0x2d484b[_0x571a5c(0xcd)]=_0x571a5c(0xaf),_0x2d484b[_0x571a5c(0xae)]='npm\x20update\x20browserstack-node-sdk',_0x2d484b[_0x571a5c(0xb0)]=_0x571a5c(0xd3);const _0x9803af=_0x2d484b;let _0x4f0fc7=_0x3b0ace[_0x9803af[_0x571a5c(0xcd)]];if(_0x4f0fc7&&_0x4f0fc7[_0x571a5c(0xb2)](_0x9803af[_0x571a5c(0xae)]))return;!_0x4f0fc7?_0x4f0fc7=_0x9803af[_0x571a5c(0xae)]:_0x4f0fc7+=_0x9803af['JHbof'],_0x28bb93['push']([_0x9803af[_0x571a5c(0xcd)],_0x4f0fc7]);}function addScriptInPackageJson(){const _0xa1cf64=a60_0x98b4dd,_0x2e806b={'VJJBY':_0xa1cf64(0xc6),'ZmdGQ':function(_0x43e2ea,_0x420133){return _0x43e2ea<_0x420133;},'PpAyA':function(_0x5595a1,_0x533057,_0x2f237e){return _0x5595a1(_0x533057,_0x2f237e);},'zgIky':function(_0x371ac7,_0x4d8d64,_0x15b7b6){return _0x371ac7(_0x4d8d64,_0x15b7b6);},'LoTeo':function(_0x340e51,_0x49d077){return _0x340e51<_0x49d077;},'muGzh':function(_0x33a73e,_0xf1e743){return _0x33a73e!==_0xf1e743;},'vzPJj':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x56c69a=JSON[_0xa1cf64(0xd7)](fs[_0xa1cf64(0xbb)](packageFile,_0x2e806b[_0xa1cf64(0xbf)])),_0x4d69ab=[];for(let _0x440e9b=0x0;_0x2e806b['ZmdGQ'](_0x440e9b,frameworks[_0xa1cf64(0xb6)]);_0x440e9b+=0x1){const _0x29066a=_0x2e806b[_0xa1cf64(0xfb)](findScriptsWithFramework,_0x56c69a[_0xa1cf64(0xe8)],frameworks[_0x440e9b]);for(let _0x44c73d=0x0;_0x2e806b['ZmdGQ'](_0x44c73d,_0x29066a[_0xa1cf64(0xb6)]);_0x44c73d+=0x1){_0x4d69ab['push'](_0x2e806b[_0xa1cf64(0xfb)](getUpdatedCommand,_0x56c69a[_0xa1cf64(0xe8)],_0x29066a[_0x44c73d]));}_0x2e806b['zgIky'](addPostInstallScript,_0x56c69a[_0xa1cf64(0xe8)],_0x4d69ab);}const _0x36e467={..._0x56c69a[_0xa1cf64(0xe8)]},_0xf9c410=_0x36e467;for(let _0xee4cb0=0x0;_0x2e806b[_0xa1cf64(0xd9)](_0xee4cb0,_0x4d69ab[_0xa1cf64(0xb6)]);_0xee4cb0+=0x1){_0xf9c410[_0x4d69ab[_0xee4cb0][0x0]]=_0x4d69ab[_0xee4cb0][0x1];}_0x2e806b['muGzh'](JSON[_0xa1cf64(0xbc)](_0x56c69a[_0xa1cf64(0xe8)]),JSON[_0xa1cf64(0xbc)](_0xf9c410))&&(logger[_0xa1cf64(0xcb)](_0x2e806b[_0xa1cf64(0xcc)]),_0x56c69a[_0xa1cf64(0xe8)]=_0xf9c410,fs[_0xa1cf64(0xe0)](packageFile,JSON[_0xa1cf64(0xbc)](_0x56c69a,null,0x2),_0x192860=>{const _0xc96bb9=_0xa1cf64;_0x192860&&logger[_0xc96bb9(0xd4)](_0x192860);}));};function findScriptsWithFramework(_0x40fd4e,_0x36e64d){const _0x4e5aac=a60_0x98b4dd,_0x32c78c={};_0x32c78c[_0x4e5aac(0xb8)]=function(_0x4e84cb,_0x218a67){return _0x4e84cb<_0x218a67;},_0x32c78c[_0x4e5aac(0xee)]=_0x4e5aac(0xf2);const _0x1dd8e7=_0x32c78c,_0x4ca45c=[],_0x7f2c67=Object[_0x4e5aac(0xd8)](_0x40fd4e);for(let _0x392d05=0x0;_0x1dd8e7[_0x4e5aac(0xb8)](_0x392d05,_0x7f2c67[_0x4e5aac(0xb6)]);_0x392d05+=0x1){_0x7f2c67[_0x392d05][0x1][_0x4e5aac(0xb2)](_0x36e64d)&&!_0x7f2c67[_0x392d05][0x1]['includes'](_0x1dd8e7['OqBBP'])&&_0x4ca45c[_0x4e5aac(0xe5)](_0x7f2c67[_0x392d05][0x0]);}return _0x4ca45c;}function getUpdatedCommand(_0x325720,_0x1d0ecc){const _0x5adb0b=a60_0x98b4dd,_0x25c136={};_0x25c136[_0x5adb0b(0xf6)]=function(_0x3921f5,_0x43088c){return _0x3921f5!==_0x43088c;},_0x25c136['VRELW']=_0x5adb0b(0xf2),_0x25c136[_0x5adb0b(0xc8)]=function(_0x514ed9,_0x14a66f){return _0x514ed9===_0x14a66f;};const _0x506cc4=_0x25c136,_0x364ff1=_0x1d0ecc+_0x5adb0b(0xf1),_0x5c92a1=_0x325720[_0x1d0ecc],_0xdef656=_0x5c92a1[_0x5adb0b(0xe1)]('\x20');for(const _0x258345 of frameworks){if(_0x506cc4['IoMNb'](_0xdef656[_0x5adb0b(0xb4)](_0x258345),-0x1)){_0xdef656[_0x5adb0b(0xdc)](_0xdef656[_0x5adb0b(0xb4)](_0x258345),0x0,_0x506cc4[_0x5adb0b(0xef)]);break;}}let _0x59d5d7=_0xdef656[_0x5adb0b(0xd6)]('\x20');return _0x506cc4[_0x5adb0b(0xc8)](_0x59d5d7,_0x5c92a1)&&(_0x59d5d7=_0x5adb0b(0xed)+_0x5c92a1),[_0x364ff1,_0x59d5d7];}function sdkSetup(){const _0x4b3af1=a60_0x98b4dd,_0x27dd3a={};_0x27dd3a[_0x4b3af1(0xd1)]=_0x4b3af1(0xc3),_0x27dd3a[_0x4b3af1(0xc9)]=_0x4b3af1(0xfa);const _0x179e3d=_0x27dd3a;if(helper[_0x4b3af1(0xd2)](config))return;config[_0x4b3af1(0xb9)]=_0x179e3d[_0x4b3af1(0xd1)];try{utilities[_0x4b3af1(0xf3)](_0x179e3d[_0x4b3af1(0xc9)],{},config,'');}catch(_0x588d31){logger[_0x4b3af1(0xe3)](_0x4b3af1(0xf0)+_0x588d31);}}logger[a60_0x98b4dd(0xcb)]('Setup\x20completed');
3
+ const a60_0x484d1c=a60_0x42c2;function a60_0x176e(){const _0x33b2dc=['DvlJF','entries','EgAGR','uzzEe','140uwgdbG','1015056bYwFGR','SDKSetup','stringify','559494BPDboi','TyhZw','HQhfp','isUndefined','3607902oskAtS','debug','../helpers/logger','username','246VNoRHd','node-setup','pjhTZ','HZOCm','info','izRdR','616736qDhJCJ','Ydqlz','postinstall','push','fireFunnelTestEvent','PoYVV','YOUR_ACCESS_KEY','load','npm\x20update\x20browserstack-node-sdk','readFileSync','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','browserstack-node-sdk','dlhDA','eRcDO','Creating\x20configuration\x20file...','PlRLY','utf8','Setup\x20completed','yrsHp','split','mWsJU','745552bcrDuf','NDxtU','argv','/package.json','-browserstack','nightwatch','node','511QnLhKc','winstonLogger','codeceptjs','/../../browserstack.pw.yml.sample','jest','/browserstack.yml','cwd','fWhjG','includes','js-yaml','cucumber-js','parse','playwright','splice','XbjZj','51932aAXUXv','length','indexOf','error','replace','yargs','join','cziTt','scripts'];a60_0x176e=function(){return _0x33b2dc;};return a60_0x176e();}(function(_0x4068fe,_0x2a9953){const _0x36f6d0=a60_0x42c2,_0x262dda=_0x4068fe();while(!![]){try{const _0xcd427d=-parseInt(_0x36f6d0(0x89))/0x1+-parseInt(_0x36f6d0(0x97))/0x2+parseInt(_0x36f6d0(0x86))/0x3+-parseInt(_0x36f6d0(0xc2))/0x4*(-parseInt(_0x36f6d0(0x85))/0x5)+-parseInt(_0x36f6d0(0x91))/0x6*(-parseInt(_0x36f6d0(0xb3))/0x7)+parseInt(_0x36f6d0(0xac))/0x8+parseInt(_0x36f6d0(0x8d))/0x9;if(_0xcd427d===_0x2a9953)break;else _0x262dda['push'](_0x262dda['shift']());}catch(_0x9b2279){_0x262dda['push'](_0x262dda['shift']());}}}(a60_0x176e,0x50d47));const fs=require('fs'),helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),yaml=require(a60_0x484d1c(0xbc)),yargs=require(a60_0x484d1c(0xc7)),logger=require(a60_0x484d1c(0x8f))[a60_0x484d1c(0xb4)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+a60_0x484d1c(0xb6),configFile=process[a60_0x484d1c(0xb9)]()+a60_0x484d1c(0xb8),packageFile=process[a60_0x484d1c(0xb9)]()+a60_0x484d1c(0xaf),frameworks=['mocha',a60_0x484d1c(0xb7),a60_0x484d1c(0xbd),a60_0x484d1c(0xb2),a60_0x484d1c(0xb1),a60_0x484d1c(0xb5),a60_0x484d1c(0xbf)];function a60_0x42c2(_0x30ba7e,_0x546ade){const _0x176e61=a60_0x176e();return a60_0x42c2=function(_0x42c24f,_0x22494c){_0x42c24f=_0x42c24f-0x83;let _0x4099ef=_0x176e61[_0x42c24f];return _0x4099ef;},a60_0x42c2(_0x30ba7e,_0x546ade);}let config;logger[a60_0x484d1c(0x95)](a60_0x484d1c(0xa5)),createConfigurationFile(yargs[a60_0x484d1c(0xae)][a60_0x484d1c(0x90)],yargs[a60_0x484d1c(0xae)]['key'],yargs[a60_0x484d1c(0xae)][a60_0x484d1c(0xbf)]);try{sdkSetup();}catch(a60_0x568522){logger[a60_0x484d1c(0x8e)](a60_0x484d1c(0xa1)+a60_0x568522);}addScriptInPackageJson();function createConfigurationFile(_0x5498c3,_0x5c5053,_0x16a4fd=![]){const _0x23f72f=a60_0x484d1c,_0x3a3516={};_0x3a3516[_0x23f72f(0x98)]=_0x23f72f(0xa7),_0x3a3516[_0x23f72f(0x8b)]='YOUR_USERNAME',_0x3a3516['pjhTZ']=_0x23f72f(0x9d);const _0x3e70ff=_0x3a3516;try{let _0x345031=fs[_0x23f72f(0xa0)](_0x16a4fd?configFileTemplatePW:configFileTemplate,_0x3e70ff[_0x23f72f(0x98)]);_0x5498c3&&(_0x345031=_0x345031['replace'](_0x3e70ff[_0x23f72f(0x8b)],_0x5498c3)),_0x5c5053&&(_0x345031=_0x345031[_0x23f72f(0xc6)](_0x3e70ff[_0x23f72f(0x93)],_0x5c5053)),config=yaml[_0x23f72f(0x9e)](_0x345031),fs['writeFileSync'](configFile,_0x345031,_0x2c40a8=>{const _0x3d328f=_0x23f72f;_0x2c40a8&&logger[_0x3d328f(0xc5)](_0x2c40a8);});}catch(_0xdfda7a){logger[_0x23f72f(0xc5)](_0xdfda7a);}}function addPostInstallScript(_0x432c9b,_0x2f6b10){const _0x543ed3=a60_0x484d1c,_0x21ccf0={};_0x21ccf0[_0x543ed3(0xa4)]=_0x543ed3(0x99),_0x21ccf0[_0x543ed3(0x94)]=_0x543ed3(0x9f),_0x21ccf0['EZtQZ']='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x5b91e0=_0x21ccf0;let _0x4c36ba=_0x432c9b[_0x5b91e0[_0x543ed3(0xa4)]];if(_0x4c36ba&&_0x4c36ba['includes'](_0x5b91e0['HZOCm']))return;!_0x4c36ba?_0x4c36ba=_0x5b91e0[_0x543ed3(0x94)]:_0x4c36ba+=_0x5b91e0['EZtQZ'],_0x2f6b10[_0x543ed3(0x9a)]([_0x5b91e0[_0x543ed3(0xa4)],_0x4c36ba]);}function addScriptInPackageJson(){const _0x1e6f7d=a60_0x484d1c,_0x493414={'mWsJU':_0x1e6f7d(0xa7),'cKKSJ':function(_0x3a4f38,_0x2aeb7e){return _0x3a4f38<_0x2aeb7e;},'dlhDA':function(_0x351974,_0x5cf784,_0x595717){return _0x351974(_0x5cf784,_0x595717);},'NDxtU':function(_0xd7778b,_0x1975bc){return _0xd7778b<_0x1975bc;},'izRdR':function(_0x2e6ed7,_0xe1e8bc,_0x58fb0d){return _0x2e6ed7(_0xe1e8bc,_0x58fb0d);},'uzzEe':function(_0x41f36b,_0x5569bf){return _0x41f36b<_0x5569bf;},'yrsHp':function(_0xfaeeee,_0x221dc6){return _0xfaeeee!==_0x221dc6;},'PoYVV':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x2facd8=JSON[_0x1e6f7d(0xbe)](fs[_0x1e6f7d(0xa0)](packageFile,_0x493414[_0x1e6f7d(0xab)])),_0x94cefa=[];for(let _0x3f7af3=0x0;_0x493414['cKKSJ'](_0x3f7af3,frameworks[_0x1e6f7d(0xc3)]);_0x3f7af3+=0x1){const _0x1e7091=_0x493414['dlhDA'](findScriptsWithFramework,_0x2facd8[_0x1e6f7d(0xca)],frameworks[_0x3f7af3]);for(let _0x589434=0x0;_0x493414[_0x1e6f7d(0xad)](_0x589434,_0x1e7091[_0x1e6f7d(0xc3)]);_0x589434+=0x1){_0x94cefa['push'](_0x493414[_0x1e6f7d(0xa3)](getUpdatedCommand,_0x2facd8['scripts'],_0x1e7091[_0x589434]));}_0x493414[_0x1e6f7d(0x96)](addPostInstallScript,_0x2facd8[_0x1e6f7d(0xca)],_0x94cefa);}const _0x302e14={..._0x2facd8['scripts']},_0x973124=_0x302e14;for(let _0x6d5c3b=0x0;_0x493414[_0x1e6f7d(0x84)](_0x6d5c3b,_0x94cefa[_0x1e6f7d(0xc3)]);_0x6d5c3b+=0x1){_0x973124[_0x94cefa[_0x6d5c3b][0x0]]=_0x94cefa[_0x6d5c3b][0x1];}_0x493414[_0x1e6f7d(0xa9)](JSON['stringify'](_0x2facd8[_0x1e6f7d(0xca)]),JSON[_0x1e6f7d(0x88)](_0x973124))&&(logger[_0x1e6f7d(0x95)](_0x493414[_0x1e6f7d(0x9c)]),_0x2facd8['scripts']=_0x973124,fs['writeFileSync'](packageFile,JSON['stringify'](_0x2facd8,null,0x2),_0x4d6ce2=>{_0x4d6ce2&&logger['error'](_0x4d6ce2);}));};function findScriptsWithFramework(_0x282272,_0x209aba){const _0x5fb693=a60_0x484d1c,_0xde0b43={};_0xde0b43['fWhjG']=function(_0x2d7a3c,_0x32496f){return _0x2d7a3c<_0x32496f;},_0xde0b43['cziTt']=_0x5fb693(0xa2);const _0x275ff8=_0xde0b43,_0x1ff2f1=[],_0x4674c9=Object[_0x5fb693(0xcc)](_0x282272);for(let _0x535713=0x0;_0x275ff8[_0x5fb693(0xba)](_0x535713,_0x4674c9[_0x5fb693(0xc3)]);_0x535713+=0x1){_0x4674c9[_0x535713][0x1][_0x5fb693(0xbb)](_0x209aba)&&!_0x4674c9[_0x535713][0x1]['includes'](_0x275ff8[_0x5fb693(0xc9)])&&_0x1ff2f1[_0x5fb693(0x9a)](_0x4674c9[_0x535713][0x0]);}return _0x1ff2f1;}function getUpdatedCommand(_0x32e0ab,_0xb9740d){const _0x39c112=a60_0x484d1c,_0xaec818={};_0xaec818[_0x39c112(0xcb)]=function(_0x2ab35e,_0x1fdc7e){return _0x2ab35e!==_0x1fdc7e;},_0xaec818[_0x39c112(0x83)]='browserstack-node-sdk',_0xaec818[_0x39c112(0xa6)]=function(_0x21f399,_0xa535a2){return _0x21f399===_0xa535a2;};const _0x551bf8=_0xaec818,_0x12fd11=_0xb9740d+_0x39c112(0xb0),_0x3dc901=_0x32e0ab[_0xb9740d],_0x3651f3=_0x3dc901[_0x39c112(0xaa)]('\x20');for(const _0x5db343 of frameworks){if(_0x551bf8[_0x39c112(0xcb)](_0x3651f3[_0x39c112(0xc4)](_0x5db343),-0x1)){_0x3651f3[_0x39c112(0xc0)](_0x3651f3['indexOf'](_0x5db343),0x0,_0x551bf8[_0x39c112(0x83)]);break;}}let _0x43561e=_0x3651f3[_0x39c112(0xc8)]('\x20');return _0x551bf8[_0x39c112(0xa6)](_0x43561e,_0x3dc901)&&(_0x43561e='browserstack-node-sdk\x20'+_0x3dc901),[_0x12fd11,_0x43561e];}function sdkSetup(){const _0x6fbeed=a60_0x484d1c,_0xad6ada={};_0xad6ada[_0x6fbeed(0x8a)]=_0x6fbeed(0x92),_0xad6ada[_0x6fbeed(0xc1)]=_0x6fbeed(0x87);const _0x6adde5=_0xad6ada;if(helper[_0x6fbeed(0x8c)](config))return;config['source']=_0x6adde5[_0x6fbeed(0x8a)];try{utilities[_0x6fbeed(0x9b)](_0x6adde5[_0x6fbeed(0xc1)],{},config,'');}catch(_0x5a6417){logger[_0x6fbeed(0x8e)](_0x6fbeed(0xa1)+_0x5a6417);}}logger[a60_0x484d1c(0x95)](a60_0x484d1c(0xa8));
@@ -1 +1 @@
1
- function a61_0x1e26(_0x41a3a8,_0x547ea8){const _0x4f3ead=a61_0x4f3e();return a61_0x1e26=function(_0x1e2661,_0x171937){_0x1e2661=_0x1e2661-0x1c4;let _0x29fa75=_0x4f3ead[_0x1e2661];return _0x29fa75;},a61_0x1e26(_0x41a3a8,_0x547ea8);}const a61_0x51533b=a61_0x1e26;(function(_0x45fb46,_0x3e979e){const _0x27243c=a61_0x1e26,_0x437780=_0x45fb46();while(!![]){try{const _0x1f2f11=parseInt(_0x27243c(0x1e2))/0x1+parseInt(_0x27243c(0x1d7))/0x2*(-parseInt(_0x27243c(0x1d6))/0x3)+parseInt(_0x27243c(0x223))/0x4*(parseInt(_0x27243c(0x21a))/0x5)+parseInt(_0x27243c(0x1f5))/0x6+parseInt(_0x27243c(0x1fc))/0x7+parseInt(_0x27243c(0x1cb))/0x8+parseInt(_0x27243c(0x1e1))/0x9*(-parseInt(_0x27243c(0x227))/0xa);if(_0x1f2f11===_0x3e979e)break;else _0x437780['push'](_0x437780['shift']());}catch(_0x3428ae){_0x437780['push'](_0x437780['shift']());}}}(a61_0x4f3e,0xdb544));const Worker=require(a61_0x51533b(0x205))[a61_0x51533b(0x1fd)],Emittery=require(a61_0x51533b(0x1f2)),pLimit=require(a61_0x51533b(0x228)),{parentPort}=require('worker_threads'),util=require(a61_0x51533b(0x210)),logger=require(a61_0x51533b(0x1dc))[a61_0x51533b(0x1fb)],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a61_0x51533b(0x1e8)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler');exports[a61_0x51533b(0x214)]=(_0x22df69,_0x1c84d2,_0x19abf9)=>new Promise(async _0x53ce7a=>{const _0x397a79=a61_0x51533b,_0xb6bcf0={'nMoXW':'failureCount','wrlqg':function(_0x18b8c8,_0x18e573){return _0x18b8c8+_0x18e573;},'qEbbi':_0x397a79(0x1c8),'jOOff':_0x397a79(0x225),'qPYuK':function(_0x4e4fa3,_0x1e8bad){return _0x4e4fa3(_0x1e8bad);},'TeCft':'test-file-start','TTXlX':'./testWorker.js','PMxci':_0x397a79(0x1f7),'rXBTv':'json','FxsOV':_0x397a79(0x1e3),'hurIG':function(_0x150266,_0x6e9671){return _0x150266*_0x6e9671;},'kqJay':_0x397a79(0x1e9),'qxMHI':_0x397a79(0x1d5),'bCzrp':function(_0x2f5ed5,_0x5c69cd){return _0x2f5ed5*_0x5c69cd;}},_0x19900e=_0x19abf9[_0x397a79(0x1ed)],_0x145124={},_0x45872f=new Worker(require[_0x397a79(0x1f6)](_0xb6bcf0[_0x397a79(0x20a)]),{'exposedMethods':[_0xb6bcf0[_0x397a79(0x20e)]],'forkOptions':{'serialization':_0xb6bcf0[_0x397a79(0x207)],'stdio':_0xb6bcf0[_0x397a79(0x216)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0xb6bcf0['hurIG'](_0x1c84d2,0x1),'enableWorkerThreads':!![]}),_0x1608da=new Emittery();_0x1608da['on'](_0xb6bcf0[_0x397a79(0x1e0)],_0x2cf4f5=>{const _0x34c5a1=_0x397a79;_0x145124[_0x2cf4f5[0x0]]?(_0x145124[_0x2cf4f5[0x0]][_0xb6bcf0['nMoXW']]=_0xb6bcf0[_0x34c5a1(0x1de)](_0x145124[_0x2cf4f5[0x0]][_0xb6bcf0[_0x34c5a1(0x226)]],_0x2cf4f5[0x1][_0xb6bcf0[_0x34c5a1(0x226)]]),_0x145124[_0x2cf4f5[0x0]][_0xb6bcf0[_0x34c5a1(0x1c9)]]=[..._0x145124[_0x2cf4f5[0x0]][_0xb6bcf0[_0x34c5a1(0x1c9)]],..._0x2cf4f5[0x1][_0xb6bcf0[_0x34c5a1(0x1c9)]]]):_0x145124[_0x2cf4f5[0x0]]={'failureCount':_0x2cf4f5[0x1][_0xb6bcf0[_0x34c5a1(0x226)]],'results':[..._0x2cf4f5[0x1][_0xb6bcf0[_0x34c5a1(0x1c9)]]]};}),_0x1608da['on'](_0xb6bcf0[_0x397a79(0x1db)],_0x9dde86=>console[_0x397a79(0x1ef)](_0x9dde86[0x1]));_0x45872f['getStdout']()&&_0x45872f['getStdout']()[_0x397a79(0x1e3)](process[_0x397a79(0x1df)]);_0x45872f['getStderr']()&&_0x45872f[_0x397a79(0x200)]()['pipe'](process[_0x397a79(0x213)]);const _0x4e5dd7=async()=>{const _0xda6b03=_0x397a79,{forceExited:_0x30d245}=await _0x45872f[_0xda6b03(0x218)]();_0x30d245&&console[_0xda6b03(0x1e4)](_0xb6bcf0[_0xda6b03(0x211)]);try{await TestHubHandler[_0xda6b03(0x1cc)]();}catch(_0x54eecd){_0xb6bcf0[_0xda6b03(0x1f0)](debug,_0xda6b03(0x215)+_0x54eecd);}_0xb6bcf0[_0xda6b03(0x1f0)](_0x53ce7a,_0x145124);},_0x2b2fe3=_0xb6bcf0[_0x397a79(0x1f0)](pLimit,_0xb6bcf0[_0x397a79(0x20f)](_0x1c84d2,0x1)),_0x4dce1d=_0xd4216e=>_0x2b2fe3(async()=>{const _0x1d5cb1=_0x397a79;await _0x1608da[_0x1d5cb1(0x1d0)](_0xb6bcf0['TeCft'],_0xd4216e);const _0x1a9337=_0x45872f['worker'](_0xd4216e,_0x19900e);try{parentPort&&_0x1a9337['UNSTABLE_onCustomMessage'](_0x41a85e=>{const _0x4989d2=_0x1d5cb1;try{parentPort[_0x4989d2(0x22b)](_0x41a85e);}catch(_0x59d350){logger['debug'](_0x4989d2(0x20d)+util[_0x4989d2(0x206)](_0x59d350));}});}catch(_0x300823){logger['debug'](_0x1d5cb1(0x21d)+util['format'](_0x300823));}return _0x1a9337;});PerformanceTester[_0x397a79(0x218)](PerformanceEvents[_0x397a79(0x220)]),Promise[_0x397a79(0x1ff)](_0x22df69[_0x397a79(0x201)](_0x18f2ba=>_0x4dce1d(_0x18f2ba)[_0x397a79(0x204)](_0x331391=>_0x1608da[_0x397a79(0x1d0)]('test-file-success',[_0x18f2ba[_0x397a79(0x1eb)][_0x397a79(0x1d4)],_0x331391]),_0xc3d257=>_0x1608da['emit'](_0x397a79(0x1d5),[_0x18f2ba,_0xc3d257]))))[_0x397a79(0x204)](_0x4e5dd7,_0x4e5dd7);}),exports[a61_0x51533b(0x221)]=(_0x5b7724,_0x441b98,_0x3cad0f,_0x48388c,_0x167188)=>{const _0xec5d41=a61_0x51533b,_0x4e9f9b={'pDStA':_0xec5d41(0x225),'GgzqL':function(_0x28afc1,_0x107b40){return _0x28afc1(_0x107b40);},'Fjowa':'platform-run-start','BmDRf':_0xec5d41(0x1d2),'femaU':_0xec5d41(0x1cf),'fghIo':_0xec5d41(0x1e6),'uhRTg':'pipe','CGocU':'platform-run-success','oCPDk':'platform-run-failure','HWDsq':function(_0x4f0775,_0x2b97e1){return _0x4f0775(_0x2b97e1);}};return new Promise(_0x1700ad=>{const _0x5afc26=_0xec5d41,_0x39e6c2={'yRzUd':_0x4e9f9b['pDStA'],'NQYta':function(_0x295359,_0xe4db27){const _0x585d34=a61_0x1e26;return _0x4e9f9b[_0x585d34(0x1cd)](_0x295359,_0xe4db27);},'jYTcD':_0x4e9f9b[_0x5afc26(0x1f4)]},_0x2ea57e=[],_0x507a09=new Worker(require['resolve'](_0x4e9f9b[_0x5afc26(0x1ec)]),{'exposedMethods':[_0x4e9f9b[_0x5afc26(0x203)]],'forkOptions':{'serialization':_0x4e9f9b[_0x5afc26(0x1ea)],'stdio':_0x4e9f9b[_0x5afc26(0x212)]},'numWorkers':_0x5b7724[_0x5afc26(0x20b)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x1bf482=new Emittery();_0x1bf482['on'](_0x4e9f9b[_0x5afc26(0x208)],_0x3ae14b=>{const _0x38f7d9=_0x5afc26;_0x2ea57e[_0x38f7d9(0x1d8)]([_0x3ae14b[0x0],_0x3ae14b[0x1]]);}),_0x1bf482['on'](_0x4e9f9b['oCPDk'],_0x2f846f=>console[_0x5afc26(0x1ef)](_0x2f846f[0x1]));_0x507a09[_0x5afc26(0x1d1)]()&&_0x507a09[_0x5afc26(0x1d1)]()[_0x5afc26(0x1e3)](process[_0x5afc26(0x1df)]);_0x507a09[_0x5afc26(0x200)]()&&_0x507a09[_0x5afc26(0x200)]()[_0x5afc26(0x1e3)](process[_0x5afc26(0x213)]);const _0x578132=async()=>{const _0xe6d1ed=_0x5afc26,{forceExited:_0x6f7df2}=await _0x507a09[_0xe6d1ed(0x218)]();_0x6f7df2&&console['error'](_0x39e6c2['yRzUd']),_0x39e6c2[_0xe6d1ed(0x1ee)](_0x1700ad,_0x2ea57e);},_0x167b92=_0x4e9f9b[_0x5afc26(0x1e7)](pLimit,_0x5b7724[_0x5afc26(0x20b)]||0x1),_0x2674f3=(_0x25ff8f,_0x416f75)=>_0x167b92(async()=>{const _0x4d0973=_0x5afc26;return await _0x1bf482['emit'](_0x39e6c2[_0x4d0973(0x21c)],_0x25ff8f),_0x441b98[_0x4d0973(0x1f9)]=_0x3cad0f[_0x4d0973(0x217)][_0x416f75],_0x441b98[_0x4d0973(0x1c5)]=_0x416f75,_0x507a09[_0x4d0973(0x1cf)](_0x25ff8f,_0x441b98,_0x3cad0f,_0x48388c,_0x167188);});Promise[_0x5afc26(0x1ff)](_0x5b7724[_0x5afc26(0x201)]((_0x1ad499,_0x41b2a1)=>_0x2674f3(_0x1ad499,_0x41b2a1)[_0x5afc26(0x204)](_0x235785=>_0x1bf482[_0x5afc26(0x1d0)](_0x5afc26(0x20c),[_0x1ad499,_0x235785]),_0x1da5d0=>_0x1bf482[_0x5afc26(0x1d0)](_0x5afc26(0x1d3),[_0x1ad499,_0x1da5d0]))))['then'](_0x578132,_0x578132);});},exports[a61_0x51533b(0x1dd)]=(_0x26c3c0,_0xdda2a8)=>new Promise(_0x271adb=>{const _0x83b459=a61_0x51533b,_0xef3d0={'VGFvk':function(_0x27249c,_0x4c2c20){return _0x27249c===_0x4c2c20;},'TmmId':function(_0x122a42,_0x5c57f8){return _0x122a42!==_0x5c57f8;},'jYrlE':'exit','wJmTp':_0x83b459(0x225),'gNKZm':function(_0x8f3413,_0x4009c9){return _0x8f3413(_0x4009c9);},'SFQuW':_0x83b459(0x1d2),'IYHDk':_0x83b459(0x1f1),'EuMSE':_0x83b459(0x1e6),'jyOXA':'pipe','KWmRK':'test-file-success','HZDcX':_0x83b459(0x1d5),'cBzsY':function(_0x512e39,_0x4b9d2e){return _0x512e39(_0x4b9d2e);}},_0x1d64f1={},_0x1a0dc8=new Worker(require[_0x83b459(0x1f6)](_0xef3d0[_0x83b459(0x1d9)]),{'exposedMethods':[_0xef3d0[_0x83b459(0x1fe)]],'forkOptions':{'serialization':_0xef3d0[_0x83b459(0x1da)],'stdio':_0xef3d0[_0x83b459(0x22a)]},'numWorkers':_0xdda2a8,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x3b8cc9=new Emittery();_0x3b8cc9['on'](_0xef3d0[_0x83b459(0x209)],_0x152509=>{const _0x2dd32b=_0x83b459;_0x152509[0x0]&&logger[_0x2dd32b(0x1c6)]('Running\x20'+_0x152509[0x1]+_0x2dd32b(0x224),_0x152509[0x0]);}),_0x3b8cc9['on'](_0xef3d0[_0x83b459(0x1c4)],_0x5175c5=>{const _0x36c54f=_0x83b459;process[_0x36c54f(0x21f)]=0x1;});_0x1a0dc8[_0x83b459(0x1d1)]()&&_0x1a0dc8['getStdout']()[_0x83b459(0x1e3)](process[_0x83b459(0x1df)]);_0x1a0dc8[_0x83b459(0x200)]()&&_0x1a0dc8[_0x83b459(0x200)]()[_0x83b459(0x1e3)](process['stderr']);const _0x51c310=async()=>{const _0x344673=_0x83b459,_0x17547f={'FlfSL':function(_0x53e751,_0x2f84b8){const _0x46f589=a61_0x1e26;return _0xef3d0[_0x46f589(0x1ca)](_0x53e751,_0x2f84b8);},'LggnH':function(_0x183e3d,_0x25be57){const _0x46cfa3=a61_0x1e26;return _0xef3d0[_0x46cfa3(0x21e)](_0x183e3d,_0x25be57);},'nymzT':_0xef3d0['jYrlE']};let _0x47d718=0x0;const _0x3ea8c1=_0x1a0dc8['_workerPool'][_0x344673(0x21b)](),_0x4bc7b1=()=>{},_0x92c197=_0x3ea8c1[_0x344673(0x201)](async _0x3e70d9=>{const _0x1f4f49=_0x344673;_0x3e70d9[_0x1f4f49(0x222)]([0x2,![]],_0x4bc7b1,_0x4bc7b1,_0x4bc7b1),_0x3e70d9[_0x1f4f49(0x1f8)]['on'](_0x17547f[_0x1f4f49(0x1fa)],_0x3cb4ef=>{const _0x41909e=_0x1f4f49;_0x17547f[_0x41909e(0x229)](_0x47d718,0x0)&&_0x17547f[_0x41909e(0x1f3)](_0x3cb4ef,0x0)&&(_0x47d718=_0x3cb4ef);}),await _0x3e70d9[_0x1f4f49(0x202)]();});await Promise[_0x344673(0x1ff)](_0x92c197),process[_0x344673(0x21f)]=_0x47d718;const {forceExited:_0x10fd19}=await _0x1a0dc8[_0x344673(0x218)]();_0x10fd19&&console['error'](_0xef3d0[_0x344673(0x219)]),_0xef3d0[_0x344673(0x1e5)](_0x271adb,_0x1d64f1);},_0x34309a=_0xef3d0[_0x83b459(0x1c7)](pLimit,_0xdda2a8),_0x913b03=_0x43fea1=>_0x34309a(async()=>{return _0x1a0dc8['vanillaWorker'](_0x43fea1);});Promise['all'](_0x26c3c0['map'](_0x30196d=>_0x913b03(_0x30196d)[_0x83b459(0x204)](_0x427b1e=>_0x3b8cc9['emit'](_0x83b459(0x1e9),[_0x30196d['configuration'][_0x83b459(0x1d4)],_0x30196d['configuration'][_0x83b459(0x1ce)]]),_0x2d1a3e=>_0x3b8cc9['emit'](_0x83b459(0x1d5),[_0x30196d,_0x2d1a3e]))))[_0x83b459(0x204)](_0x51c310,_0x51c310);});function a61_0x4f3e(){const _0x27fe74=['getStderr','map','waitForExit','femaU','then','jest-worker','format','rXBTv','CGocU','KWmRK','TTXlX','length','platform-run-success','Exception\x20in\x20sending\x20worker\x20message\x20','PMxci','bCzrp','util','jOOff','uhRTg','stderr','parallelTestRun','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','FxsOV','platforms','end','wJmTp','55ZpUGJb','getWorkers','jYTcD','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','TmmId','exitCode','SDK_SETUP','parallelCucumberRun','send','419264lGlzKk','\x20for','Workers\x20failed\x20to\x20exit\x20gracefully','nMoXW','6442560RhFIpb','p-limit','FlfSL','jyOXA','postMessage','HZDcX','platformIndex','info','cBzsY','results','qEbbi','VGFvk','5869288weiEbC','stop','GgzqL','file','cucumberWorker','emit','getStdout','./testWorker.js','platform-run-failure','platform','test-file-failure','6JkmTwL','893814bKlOxg','push','SFQuW','EuMSE','qxMHI','../../helpers/logger','parallelVanillaRun','wrlqg','stdout','kqJay','63twgrQt','1430494JdkYUe','pipe','error','gNKZm','json','HWDsq','EVENTS','test-file-success','fghIo','configuration','BmDRf','config','NQYta','log','qPYuK','vanillaWorker','emittery','LggnH','Fjowa','7574772MXmdik','resolve','worker','_child','platformCaps','nymzT','winstonLogger','12056695rovnUW','Worker','IYHDk','all'];a61_0x4f3e=function(){return _0x27fe74;};return a61_0x4f3e();}
1
+ const a61_0x1de1e4=a61_0x369b;(function(_0x40205e,_0x545038){const _0x377fe1=a61_0x369b,_0x3f43d1=_0x40205e();while(!![]){try{const _0x8a9fab=parseInt(_0x377fe1(0x1a8))/0x1*(-parseInt(_0x377fe1(0x19e))/0x2)+parseInt(_0x377fe1(0x1a0))/0x3+-parseInt(_0x377fe1(0x19d))/0x4*(parseInt(_0x377fe1(0x16f))/0x5)+parseInt(_0x377fe1(0x180))/0x6+parseInt(_0x377fe1(0x1a3))/0x7+parseInt(_0x377fe1(0x171))/0x8*(parseInt(_0x377fe1(0x170))/0x9)+-parseInt(_0x377fe1(0x175))/0xa;if(_0x8a9fab===_0x545038)break;else _0x3f43d1['push'](_0x3f43d1['shift']());}catch(_0x33f7cf){_0x3f43d1['push'](_0x3f43d1['shift']());}}}(a61_0x10c6,0x273ad));const Worker=require(a61_0x1de1e4(0x168))[a61_0x1de1e4(0x17d)],Emittery=require(a61_0x1de1e4(0x19c)),pLimit=require(a61_0x1de1e4(0x172)),{parentPort}=require(a61_0x1de1e4(0x184)),util=require(a61_0x1de1e4(0x193)),logger=require(a61_0x1de1e4(0x185))['winstonLogger'],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a61_0x1de1e4(0x1aa))['EVENTS'],{debug}=require(a61_0x1de1e4(0x164)),TestHubHandler=require('../../helpers/testhub/testhubHandler');exports[a61_0x1de1e4(0x190)]=(_0x456635,_0x1048c8,_0x8e9df8)=>new Promise(async _0x31a05a=>{const _0x5d0177=a61_0x1de1e4,_0x5bfa93={'zpzgk':'failureCount','jggfQ':function(_0xef3766,_0x1b4160){return _0xef3766+_0x1b4160;},'tGeZc':'results','hXjZe':_0x5d0177(0x176),'CcgPk':function(_0x18992f,_0x1370da){return _0x18992f(_0x1370da);},'snFLn':function(_0xedb912,_0x176dd4){return _0xedb912(_0x176dd4);},'oifaE':'test-file-start','CtrNR':'./testWorker.js','ePJef':_0x5d0177(0x1b4),'KUbGU':_0x5d0177(0x179),'TXzvD':_0x5d0177(0x165),'aCImO':function(_0x16d1cd,_0x3425ef){return _0x16d1cd*_0x3425ef;},'mJQKn':_0x5d0177(0x1a9),'MZZvE':_0x5d0177(0x1c3)},_0x14c3db=_0x8e9df8[_0x5d0177(0x187)],_0x45a392={},_0x175186=new Worker(require['resolve'](_0x5bfa93['CtrNR']),{'exposedMethods':[_0x5bfa93[_0x5d0177(0x16e)]],'forkOptions':{'serialization':_0x5bfa93[_0x5d0177(0x174)],'stdio':_0x5bfa93[_0x5d0177(0x17c)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x5bfa93['aCImO'](_0x1048c8,0x1),'enableWorkerThreads':!![]}),_0x2e2742=new Emittery();_0x2e2742['on'](_0x5bfa93['mJQKn'],_0x3bcf97=>{const _0x51f9a6=_0x5d0177;_0x45a392[_0x3bcf97[0x0]]?(_0x45a392[_0x3bcf97[0x0]][_0x5bfa93[_0x51f9a6(0x1b6)]]=_0x5bfa93[_0x51f9a6(0x181)](_0x45a392[_0x3bcf97[0x0]][_0x5bfa93[_0x51f9a6(0x1b6)]],_0x3bcf97[0x1][_0x5bfa93['zpzgk']]),_0x45a392[_0x3bcf97[0x0]][_0x5bfa93[_0x51f9a6(0x1ba)]]=[..._0x45a392[_0x3bcf97[0x0]][_0x5bfa93[_0x51f9a6(0x1ba)]],..._0x3bcf97[0x1][_0x5bfa93[_0x51f9a6(0x1ba)]]]):_0x45a392[_0x3bcf97[0x0]]={'failureCount':_0x3bcf97[0x1][_0x5bfa93[_0x51f9a6(0x1b6)]],'results':[..._0x3bcf97[0x1][_0x5bfa93[_0x51f9a6(0x1ba)]]]};}),_0x2e2742['on'](_0x5bfa93[_0x5d0177(0x17b)],_0x58fa0a=>console[_0x5d0177(0x169)](_0x58fa0a[0x1]));_0x175186[_0x5d0177(0x16a)]()&&_0x175186['getStdout']()[_0x5d0177(0x165)](process['stdout']);_0x175186[_0x5d0177(0x1b2)]()&&_0x175186['getStderr']()['pipe'](process[_0x5d0177(0x199)]);const _0x570ab8=async()=>{const _0x3e0320=_0x5d0177,{forceExited:_0x490dca}=await _0x175186[_0x3e0320(0x1c2)]();_0x490dca&&console[_0x3e0320(0x198)](_0x5bfa93[_0x3e0320(0x189)]);try{await TestHubHandler[_0x3e0320(0x1b3)]();}catch(_0x335b82){_0x5bfa93[_0x3e0320(0x167)](debug,_0x3e0320(0x1c1)+_0x335b82);}_0x5bfa93[_0x3e0320(0x1af)](_0x31a05a,_0x45a392);},_0x3bda3e=_0x5bfa93['CcgPk'](pLimit,_0x5bfa93[_0x5d0177(0x1bf)](_0x1048c8,0x1)),_0x33be14=_0xb09ed8=>_0x3bda3e(async()=>{const _0x3f0ef7=_0x5d0177;await _0x2e2742[_0x3f0ef7(0x183)](_0x5bfa93[_0x3f0ef7(0x1b1)],_0xb09ed8);const _0x3d0bd2=_0x175186[_0x3f0ef7(0x1b4)](_0xb09ed8,_0x14c3db);try{parentPort&&_0x3d0bd2[_0x3f0ef7(0x188)](_0x2d63a3=>{const _0x7b8cf3=_0x3f0ef7;try{parentPort[_0x7b8cf3(0x18a)](_0x2d63a3);}catch(_0x1fe543){logger['debug']('Exception\x20in\x20sending\x20worker\x20message\x20'+util[_0x7b8cf3(0x19a)](_0x1fe543));}});}catch(_0x25d2a9){logger[_0x3f0ef7(0x1ac)](_0x3f0ef7(0x18c)+util['format'](_0x25d2a9));}return _0x3d0bd2;});PerformanceTester[_0x5d0177(0x1c2)](PerformanceEvents[_0x5d0177(0x17a)]),Promise['all'](_0x456635[_0x5d0177(0x1a4)](_0x37799f=>_0x33be14(_0x37799f)[_0x5d0177(0x17f)](_0x302107=>_0x2e2742[_0x5d0177(0x183)](_0x5d0177(0x1a9),[_0x37799f[_0x5d0177(0x1b9)][_0x5d0177(0x1b0)],_0x302107]),_0x13d807=>_0x2e2742[_0x5d0177(0x183)](_0x5d0177(0x1c3),[_0x37799f,_0x13d807]))))[_0x5d0177(0x17f)](_0x570ab8,_0x570ab8);}),exports[a61_0x1de1e4(0x19f)]=(_0x577cd8,_0x12425b,_0x40e51,_0x42ec44,_0x24ab50)=>{const _0x6ca2d7=a61_0x1de1e4,_0x48d60d={'tLbMx':_0x6ca2d7(0x176),'gRDmq':function(_0x4e28b7,_0xd74ca8){return _0x4e28b7(_0xd74ca8);},'cnpIt':'platform-run-start','PyMjg':_0x6ca2d7(0x1be),'RLnpR':_0x6ca2d7(0x1ab),'BJOCB':_0x6ca2d7(0x179),'MjcQm':_0x6ca2d7(0x165),'QSZbf':_0x6ca2d7(0x1a7),'VxeeC':_0x6ca2d7(0x177)};return new Promise(_0x2f182a=>{const _0x106be6=_0x6ca2d7,_0x8463ac=[],_0x225aef=new Worker(require[_0x106be6(0x17e)](_0x48d60d[_0x106be6(0x16c)]),{'exposedMethods':[_0x48d60d['RLnpR']],'forkOptions':{'serialization':_0x48d60d[_0x106be6(0x18d)],'stdio':_0x48d60d[_0x106be6(0x1bb)]},'numWorkers':_0x577cd8['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x943fa5=new Emittery();_0x943fa5['on'](_0x48d60d[_0x106be6(0x195)],_0x31e974=>{const _0x34cbc5=_0x106be6;_0x8463ac[_0x34cbc5(0x1bc)]([_0x31e974[0x0],_0x31e974[0x1]]);}),_0x943fa5['on'](_0x48d60d[_0x106be6(0x1c0)],_0x987349=>console[_0x106be6(0x169)](_0x987349[0x1]));_0x225aef[_0x106be6(0x16a)]()&&_0x225aef[_0x106be6(0x16a)]()[_0x106be6(0x165)](process['stdout']);_0x225aef[_0x106be6(0x1b2)]()&&_0x225aef[_0x106be6(0x1b2)]()[_0x106be6(0x165)](process['stderr']);const _0x275c9d=async()=>{const _0x3a6c88=_0x106be6,{forceExited:_0x2aa838}=await _0x225aef[_0x3a6c88(0x1c2)]();_0x2aa838&&console[_0x3a6c88(0x198)](_0x48d60d[_0x3a6c88(0x1a6)]),_0x48d60d[_0x3a6c88(0x19b)](_0x2f182a,_0x8463ac);},_0x2f0255=_0x48d60d[_0x106be6(0x19b)](pLimit,_0x577cd8[_0x106be6(0x18e)]||0x1),_0x22ca7b=(_0x264035,_0x279ad8)=>_0x2f0255(async()=>{const _0x4f17af=_0x106be6;return await _0x943fa5['emit'](_0x48d60d[_0x4f17af(0x1c4)],_0x264035),_0x12425b[_0x4f17af(0x186)]=_0x40e51['platforms'][_0x279ad8],_0x12425b[_0x4f17af(0x1ad)]=_0x279ad8,_0x225aef[_0x4f17af(0x1ab)](_0x264035,_0x12425b,_0x40e51,_0x42ec44,_0x24ab50);});Promise[_0x106be6(0x1a5)](_0x577cd8[_0x106be6(0x1a4)]((_0x5c7efb,_0x265a0b)=>_0x22ca7b(_0x5c7efb,_0x265a0b)['then'](_0x3f36c8=>_0x943fa5[_0x106be6(0x183)]('platform-run-success',[_0x5c7efb,_0x3f36c8]),_0x45c357=>_0x943fa5[_0x106be6(0x183)](_0x106be6(0x177),[_0x5c7efb,_0x45c357]))))[_0x106be6(0x17f)](_0x275c9d,_0x275c9d);});},exports[a61_0x1de1e4(0x166)]=(_0x4669b4,_0x2ef276)=>new Promise(_0x34434d=>{const _0x1419cf=a61_0x1de1e4,_0x5f01eb={'hYFQX':function(_0xbc6e67,_0x16fce3){return _0xbc6e67===_0x16fce3;},'wUwrl':function(_0x531c68,_0x44d29c){return _0x531c68!==_0x44d29c;},'lfCDq':_0x1419cf(0x18f),'ivRkz':'Workers\x20failed\x20to\x20exit\x20gracefully','TWsMt':function(_0x1822be,_0x1b9493){return _0x1822be(_0x1b9493);},'npuHy':_0x1419cf(0x1be),'eDDMo':_0x1419cf(0x1bd),'iYhkW':_0x1419cf(0x179),'Lilzu':_0x1419cf(0x165),'BMfrD':_0x1419cf(0x1a9),'lvxcM':_0x1419cf(0x1c3)},_0x29922e={},_0x518a00=new Worker(require['resolve'](_0x5f01eb[_0x1419cf(0x194)]),{'exposedMethods':[_0x5f01eb['eDDMo']],'forkOptions':{'serialization':_0x5f01eb['iYhkW'],'stdio':_0x5f01eb['Lilzu']},'numWorkers':_0x2ef276,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x2f42df=new Emittery();_0x2f42df['on'](_0x5f01eb[_0x1419cf(0x197)],_0x3ebbef=>{const _0x364a3d=_0x1419cf;_0x3ebbef[0x0]&&logger[_0x364a3d(0x18b)]('Running\x20'+_0x3ebbef[0x1]+_0x364a3d(0x1b8),_0x3ebbef[0x0]);}),_0x2f42df['on'](_0x5f01eb[_0x1419cf(0x1a2)],_0x55e9c6=>{const _0x326a90=_0x1419cf;process[_0x326a90(0x1ae)]=0x1;});_0x518a00[_0x1419cf(0x16a)]()&&_0x518a00['getStdout']()[_0x1419cf(0x165)](process[_0x1419cf(0x1a1)]);_0x518a00[_0x1419cf(0x1b2)]()&&_0x518a00[_0x1419cf(0x1b2)]()[_0x1419cf(0x165)](process['stderr']);const _0x1f0bf0=async()=>{const _0x4c6595=_0x1419cf,_0x1c9cba={'IfLCS':function(_0x3ff535,_0x431206){return _0x5f01eb['hYFQX'](_0x3ff535,_0x431206);},'QZJMQ':function(_0x471afc,_0x360f9e){const _0x4f624e=a61_0x369b;return _0x5f01eb[_0x4f624e(0x1b7)](_0x471afc,_0x360f9e);},'lfoKL':_0x5f01eb[_0x4c6595(0x196)]};let _0x2bff88=0x0;const _0x51af7d=_0x518a00[_0x4c6595(0x1b5)][_0x4c6595(0x173)](),_0x3c117b=()=>{},_0x42cf39=_0x51af7d[_0x4c6595(0x1a4)](async _0x306f96=>{const _0x76a3c8=_0x4c6595;_0x306f96[_0x76a3c8(0x182)]([0x2,![]],_0x3c117b,_0x3c117b,_0x3c117b),_0x306f96[_0x76a3c8(0x192)]['on'](_0x1c9cba['lfoKL'],_0x1bbe09=>{const _0x22707c=_0x76a3c8;_0x1c9cba[_0x22707c(0x16d)](_0x2bff88,0x0)&&_0x1c9cba['QZJMQ'](_0x1bbe09,0x0)&&(_0x2bff88=_0x1bbe09);}),await _0x306f96[_0x76a3c8(0x191)]();});await Promise[_0x4c6595(0x1a5)](_0x42cf39),process[_0x4c6595(0x1ae)]=_0x2bff88;const {forceExited:_0x1f367a}=await _0x518a00[_0x4c6595(0x1c2)]();_0x1f367a&&console[_0x4c6595(0x198)](_0x5f01eb['ivRkz']),_0x5f01eb[_0x4c6595(0x178)](_0x34434d,_0x29922e);},_0x289b65=_0x5f01eb[_0x1419cf(0x178)](pLimit,_0x2ef276),_0x18928d=_0x2c995f=>_0x289b65(async()=>{return _0x518a00['vanillaWorker'](_0x2c995f);});Promise[_0x1419cf(0x1a5)](_0x4669b4[_0x1419cf(0x1a4)](_0x4b5e14=>_0x18928d(_0x4b5e14)[_0x1419cf(0x17f)](_0x3d701b=>_0x2f42df[_0x1419cf(0x183)]('test-file-success',[_0x4b5e14['configuration'][_0x1419cf(0x1b0)],_0x4b5e14[_0x1419cf(0x1b9)][_0x1419cf(0x16b)]]),_0x6df9f5=>_0x2f42df[_0x1419cf(0x183)](_0x1419cf(0x1c3),[_0x4b5e14,_0x6df9f5]))))[_0x1419cf(0x17f)](_0x1f0bf0,_0x1f0bf0);});function a61_0x369b(_0x6ccc31,_0x587ea9){const _0x10c6d2=a61_0x10c6();return a61_0x369b=function(_0x369b51,_0x4bcff8){_0x369b51=_0x369b51-0x164;let _0x54db3a=_0x10c6d2[_0x369b51];return _0x54db3a;},a61_0x369b(_0x6ccc31,_0x587ea9);}function a61_0x10c6(){const _0x26bc93=['\x20for','configuration','tGeZc','MjcQm','push','vanillaWorker','./testWorker.js','aCImO','VxeeC','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','end','test-file-failure','cnpIt','../../helpers/test-observability/utils','pipe','parallelVanillaRun','CcgPk','jest-worker','log','getStdout','file','PyMjg','IfLCS','ePJef','21485bHxftK','9wKjNvj','1532616XKGpqY','p-limit','getWorkers','KUbGU','2536710LEUpli','Workers\x20failed\x20to\x20exit\x20gracefully','platform-run-failure','TWsMt','json','SDK_SETUP','MZZvE','TXzvD','Worker','resolve','then','211350GxFFch','jggfQ','send','emit','worker_threads','../../helpers/logger','platformCaps','config','UNSTABLE_onCustomMessage','hXjZe','postMessage','info','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','BJOCB','length','exit','parallelTestRun','waitForExit','_child','util','npuHy','QSZbf','lfCDq','BMfrD','error','stderr','format','gRDmq','emittery','40VYiEOq','1538tZrWiC','parallelCucumberRun','454020hgmqNv','stdout','lvxcM','1399419DBgWsL','map','all','tLbMx','platform-run-success','157aVCqBG','test-file-success','../../helpers/performance/constants','cucumberWorker','debug','platformIndex','exitCode','snFLn','platform','oifaE','getStderr','stop','worker','_workerPool','zpzgk','wUwrl'];a61_0x10c6=function(){return _0x26bc93;};return a61_0x10c6();}
@@ -1 +1 @@
1
- const a62_0xf62704=a62_0x5098;function a62_0x5098(_0x171729,_0x316d97){const _0x12d184=a62_0x12d1();return a62_0x5098=function(_0x5098dc,_0x21cdcc){_0x5098dc=_0x5098dc-0x1cd;let _0x11ec96=_0x12d184[_0x5098dc];return _0x11ec96;},a62_0x5098(_0x171729,_0x316d97);}(function(_0x1922fb,_0x292afa){const _0x535845=a62_0x5098,_0x589a99=_0x1922fb();while(!![]){try{const _0x1d7118=-parseInt(_0x535845(0x1e6))/0x1*(-parseInt(_0x535845(0x1ce))/0x2)+parseInt(_0x535845(0x1d2))/0x3+-parseInt(_0x535845(0x1d3))/0x4*(parseInt(_0x535845(0x1da))/0x5)+parseInt(_0x535845(0x1db))/0x6*(-parseInt(_0x535845(0x1df))/0x7)+parseInt(_0x535845(0x1ea))/0x8+parseInt(_0x535845(0x1e9))/0x9+parseInt(_0x535845(0x1d1))/0xa;if(_0x1d7118===_0x292afa)break;else _0x589a99['push'](_0x589a99['shift']());}catch(_0x5a0455){_0x589a99['push'](_0x589a99['shift']());}}}(a62_0x12d1,0x19fd1));function a62_0x12d1(){const _0xe5de56=['../../helpers/performance/constants','2DLrlRD','QmtfG','kRdVP','1244600lHFEAS','541002ZGxcUq','4zTAEHq','jrRna','../launcher/launcher','CsVxX','muVoj','configuration','ZiWQR','772755ebHYoT','30zDwNGA','EVENTS','../../helpers/performance/performance-tester','run','262703uAEgQp','stopMonitoring','NgTaj','startMonitoring','runCucumberTest','ynfSJ','mocha','53241tzgtXS','runTest','../../helpers/test-observability/utils','129204qzxFLZ','610032hVGNxB','qrJJi'];a62_0x12d1=function(){return _0xe5de56;};return a62_0x12d1();}const PerformanceEvents=require(a62_0xf62704(0x1cd))[a62_0xf62704(0x1dc)],PerformanceTester=require(a62_0xf62704(0x1dd)),{sleep}=require(a62_0xf62704(0x1e8));exports[a62_0xf62704(0x1e7)]=async(_0x1445c7,_0x15aa2d)=>{const _0x46af43=a62_0xf62704,_0xdac6f2={'QmtfG':function(_0x5a00f5,_0xeb160d){return _0x5a00f5(_0xeb160d);},'GnMtP':_0x46af43(0x1d5),'jrRna':_0x46af43(0x1e5),'ZiWQR':function(_0x4f6b49,_0x29944e){return _0x4f6b49(_0x29944e);}};PerformanceTester[_0x46af43(0x1e2)]();const _0x367b16=_0xdac6f2[_0x46af43(0x1cf)](require,_0xdac6f2['GnMtP']),_0x9b1f41=new _0x367b16(_0xdac6f2[_0x46af43(0x1d4)],_0x1445c7,_0x15aa2d),_0x1cf0a7=await _0x9b1f41['run']();return PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST']),await _0xdac6f2[_0x46af43(0x1d9)](sleep,0x3e8),PerformanceTester[_0x46af43(0x1e0)](),_0x1cf0a7;},exports[a62_0xf62704(0x1e3)]=async(_0x4a6c41,_0x4b3d42,_0x4f4374,_0x384115,_0x27472f)=>{const _0xdf4902=a62_0xf62704,_0xa4f2cb={'kRdVP':function(_0x19a5d4,_0x1ce57a){return _0x19a5d4(_0x1ce57a);},'muVoj':_0xdf4902(0x1d5),'CsVxX':'cucumber-js'},_0x2c77b4={'capability':_0x4a6c41,..._0x4b3d42},_0x133411={};_0x133411[_0xdf4902(0x1d8)]=_0x2c77b4,_0x133411['formatter']=_0x27472f;const _0x3ad465=_0x133411,_0x2e48eb=_0xa4f2cb[_0xdf4902(0x1d0)](require,_0xa4f2cb[_0xdf4902(0x1d7)]),_0x28e4dc=new _0x2e48eb(_0xa4f2cb[_0xdf4902(0x1d6)],_0x3ad465,_0x4f4374,_0x384115);return await _0x28e4dc[_0xdf4902(0x1de)]();},exports['runVanillaTest']=async _0x234a26=>{const _0x2d46f9=a62_0xf62704,_0x55aa98={'qrJJi':function(_0x177dee,_0x118cfe){return _0x177dee(_0x118cfe);},'ynfSJ':_0x2d46f9(0x1d5),'NgTaj':'vanilla'},_0x2dc406=_0x55aa98[_0x2d46f9(0x1eb)](require,_0x55aa98[_0x2d46f9(0x1e4)]),_0x20d502=new _0x2dc406(_0x55aa98[_0x2d46f9(0x1e1)],_0x234a26);return await _0x20d502[_0x2d46f9(0x1de)]();};
1
+ const a62_0x1bac30=a62_0x3c0f;(function(_0x1a7120,_0x15fa2e){const _0x21bc94=a62_0x3c0f,_0x3d3818=_0x1a7120();while(!![]){try{const _0x4d71c=-parseInt(_0x21bc94(0xee))/0x1+-parseInt(_0x21bc94(0xeb))/0x2+parseInt(_0x21bc94(0xe3))/0x3+-parseInt(_0x21bc94(0xec))/0x4+-parseInt(_0x21bc94(0xf3))/0x5+-parseInt(_0x21bc94(0xfe))/0x6*(-parseInt(_0x21bc94(0xf8))/0x7)+parseInt(_0x21bc94(0xe4))/0x8*(parseInt(_0x21bc94(0xef))/0x9);if(_0x4d71c===_0x15fa2e)break;else _0x3d3818['push'](_0x3d3818['shift']());}catch(_0x5b509c){_0x3d3818['push'](_0x3d3818['shift']());}}}(a62_0x4d9c,0xcb874));const PerformanceEvents=require(a62_0x1bac30(0xe9))[a62_0x1bac30(0xf2)],PerformanceTester=require(a62_0x1bac30(0xf7)),{sleep}=require(a62_0x1bac30(0xed));function a62_0x3c0f(_0x33d3f0,_0x5b9e1d){const _0x4d9c76=a62_0x4d9c();return a62_0x3c0f=function(_0x3c0f8a,_0x38a116){_0x3c0f8a=_0x3c0f8a-0xe0;let _0x1624fc=_0x4d9c76[_0x3c0f8a];return _0x1624fc;},a62_0x3c0f(_0x33d3f0,_0x5b9e1d);}exports[a62_0x1bac30(0xe1)]=async(_0x435e92,_0x1acfac)=>{const _0x8a060d=a62_0x1bac30,_0x4b85a1={'vQqRe':function(_0x4ae407,_0x1eedaa){return _0x4ae407(_0x1eedaa);},'PUGrG':'../launcher/launcher','gDQfi':_0x8a060d(0xf6)};PerformanceTester[_0x8a060d(0xe5)]();const _0x3ec9c6=_0x4b85a1[_0x8a060d(0xe6)](require,_0x4b85a1[_0x8a060d(0xe8)]),_0x3198ac=new _0x3ec9c6(_0x4b85a1[_0x8a060d(0xe2)],_0x435e92,_0x1acfac),_0x363392=await _0x3198ac[_0x8a060d(0xf1)]();return PerformanceTester[_0x8a060d(0xf0)](PerformanceEvents[_0x8a060d(0xfb)]),await _0x4b85a1['vQqRe'](sleep,0x3e8),PerformanceTester['stopMonitoring'](),_0x363392;},exports[a62_0x1bac30(0xe7)]=async(_0x2b72ce,_0x107616,_0x47b5a3,_0x5d6c32,_0x205f2b)=>{const _0x283cbe=a62_0x1bac30,_0xe940e={'ZYUga':function(_0x1537a8,_0x589463){return _0x1537a8(_0x589463);},'KdFZS':_0x283cbe(0xf9),'QMThh':_0x283cbe(0xff)},_0x1bfb21={'capability':_0x2b72ce,..._0x107616},_0x5b760d={};_0x5b760d['configuration']=_0x1bfb21,_0x5b760d[_0x283cbe(0xfc)]=_0x205f2b;const _0x2e1816=_0x5b760d,_0x484112=_0xe940e[_0x283cbe(0xfd)](require,_0xe940e['KdFZS']),_0x7bb5be=new _0x484112(_0xe940e[_0x283cbe(0xfa)],_0x2e1816,_0x47b5a3,_0x5d6c32);return await _0x7bb5be['run']();},exports[a62_0x1bac30(0x100)]=async _0x30d514=>{const _0x4e800f=a62_0x1bac30,_0x46d8b4={'Eqbgu':function(_0x440f6c,_0x3bc672){return _0x440f6c(_0x3bc672);},'JljaL':'../launcher/launcher','SeiQo':_0x4e800f(0xf5)},_0x2e274e=_0x46d8b4[_0x4e800f(0xf4)](require,_0x46d8b4[_0x4e800f(0xea)]),_0x7cf0e2=new _0x2e274e(_0x46d8b4[_0x4e800f(0xe0)],_0x30d514);return await _0x7cf0e2[_0x4e800f(0xf1)]();};function a62_0x4d9c(){const _0x49928a=['vanilla','mocha','../../helpers/performance/performance-tester','133mTfDUg','../launcher/launcher','QMThh','SDK_POST_TEST','formatter','ZYUga','267834fLWWQo','cucumber-js','runVanillaTest','SeiQo','runTest','gDQfi','2618400OaZWUY','8GmLgjf','startMonitoring','vQqRe','runCucumberTest','PUGrG','../../helpers/performance/constants','JljaL','1259334krTQGl','1959920VnmrfW','../../helpers/test-observability/utils','899484UpHcCl','11898666NpPTWT','end','run','EVENTS','951160WLieBf','Eqbgu'];a62_0x4d9c=function(){return _0x49928a;};return a62_0x4d9c();}
@@ -1 +1 @@
1
- function a63_0x283f(_0x3dff18,_0x29398f){const _0x544921=a63_0x5449();return a63_0x283f=function(_0x283ffd,_0x8ebc75){_0x283ffd=_0x283ffd-0x65;let _0x16676a=_0x544921[_0x283ffd];return _0x16676a;},a63_0x283f(_0x3dff18,_0x29398f);}const a63_0x454d7b=a63_0x283f;(function(_0x18a8be,_0x459a27){const _0x120ae1=a63_0x283f,_0x2f2212=_0x18a8be();while(!![]){try{const _0xa9c215=-parseInt(_0x120ae1(0x6c))/0x1+parseInt(_0x120ae1(0x66))/0x2*(parseInt(_0x120ae1(0x6a))/0x3)+-parseInt(_0x120ae1(0x6d))/0x4*(parseInt(_0x120ae1(0x6e))/0x5)+-parseInt(_0x120ae1(0x6f))/0x6*(-parseInt(_0x120ae1(0x70))/0x7)+-parseInt(_0x120ae1(0x72))/0x8+parseInt(_0x120ae1(0x67))/0x9+-parseInt(_0x120ae1(0x6b))/0xa;if(_0xa9c215===_0x459a27)break;else _0x2f2212['push'](_0x2f2212['shift']());}catch(_0x4537d3){_0x2f2212['push'](_0x2f2212['shift']());}}}(a63_0x5449,0x5f367));function a63_0x5449(){const _0x403b17=['../../helpers/driverInitErrorReporter','vanillaWorker','531ZrNusZ','3415570HhUTUo','378309tLppwk','4ZgDmDb','575695TMlVMU','810696xdEGiF','35kGvich','PWSZT','436232JBCqQL','installAll','cucumberWorker','4604tBsVPj','1768419jbCANs'];a63_0x5449=function(){return _0x403b17;};return a63_0x5449();}const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');try{require(a63_0x454d7b(0x68))[a63_0x454d7b(0x73)]();}catch(a63_0x4e5d4f){}exports['worker']=async(_0x230258,_0xfb7d33)=>{const _0xf78e85={'TNNIc':function(_0x33cba5,_0x264a1f,_0xa86aca){return _0x33cba5(_0x264a1f,_0xa86aca);}};return await _0xf78e85['TNNIc'](runTest,_0x230258,_0xfb7d33);},exports[a63_0x454d7b(0x65)]=async(_0x467ad9,_0x17bd24,_0x131b42,_0x38b0cd,_0x3f2370)=>{const _0x1a8c28={'ddwQf':function(_0x5012d6,_0x1a4538,_0x23b65d,_0x26bb59,_0x4e1355,_0xf894f7){return _0x5012d6(_0x1a4538,_0x23b65d,_0x26bb59,_0x4e1355,_0xf894f7);}};return await _0x1a8c28['ddwQf'](runCucumberTest,_0x467ad9,_0x17bd24,_0x131b42,_0x38b0cd,_0x3f2370);},exports[a63_0x454d7b(0x69)]=async _0x20181a=>{const _0x44cd5f=a63_0x454d7b,_0x4f2757={'PWSZT':function(_0x352a9b,_0x40a425){return _0x352a9b(_0x40a425);}};return await _0x4f2757[_0x44cd5f(0x71)](runVanillaTest,_0x20181a);};
1
+ const a63_0x492009=a63_0x5524;function a63_0x5524(_0x5476c4,_0x46683b){const _0x4cd6f6=a63_0x4cd6();return a63_0x5524=function(_0x552430,_0x37f964){_0x552430=_0x552430-0x1f0;let _0x51bbf5=_0x4cd6f6[_0x552430];return _0x51bbf5;},a63_0x5524(_0x5476c4,_0x46683b);}(function(_0x2136ef,_0x3f4cbd){const _0x3761b9=a63_0x5524,_0x4be519=_0x2136ef();while(!![]){try{const _0x5c9567=-parseInt(_0x3761b9(0x1f6))/0x1*(parseInt(_0x3761b9(0x1f9))/0x2)+parseInt(_0x3761b9(0x1f0))/0x3*(-parseInt(_0x3761b9(0x201))/0x4)+-parseInt(_0x3761b9(0x202))/0x5+parseInt(_0x3761b9(0x1fd))/0x6+parseInt(_0x3761b9(0x1f8))/0x7*(-parseInt(_0x3761b9(0x1fc))/0x8)+parseInt(_0x3761b9(0x1fb))/0x9+parseInt(_0x3761b9(0x1f4))/0xa*(parseInt(_0x3761b9(0x1f5))/0xb);if(_0x5c9567===_0x3f4cbd)break;else _0x4be519['push'](_0x4be519['shift']());}catch(_0x409a71){_0x4be519['push'](_0x4be519['shift']());}}}(a63_0x4cd6,0x28388));const {runTest,runCucumberTest,runVanillaTest}=require(a63_0x492009(0x1f2));function a63_0x4cd6(){const _0x12b8f4=['148STvYML','1069605kPFYIx','4524OohBho','fdDYl','./runTest','installAll','190JIXOcO','175989eepRAl','19SLASkO','worker','2051jkOuZP','23626aXAMXp','cucumberWorker','1761759GfcVhw','2712lwjtYd','1551018CQBWNR','../../helpers/driverInitErrorReporter','vanillaWorker','dOCWd'];a63_0x4cd6=function(){return _0x12b8f4;};return a63_0x4cd6();}try{require(a63_0x492009(0x1fe))[a63_0x492009(0x1f3)]();}catch(a63_0x25e90b){}exports[a63_0x492009(0x1f7)]=async(_0x53b54e,_0x2982e7)=>{const _0x2d6cfd=a63_0x492009,_0x5b7f94={'dOCWd':function(_0x1064c9,_0x2b3f01,_0x35a5df){return _0x1064c9(_0x2b3f01,_0x35a5df);}};return await _0x5b7f94[_0x2d6cfd(0x200)](runTest,_0x53b54e,_0x2982e7);},exports[a63_0x492009(0x1fa)]=async(_0x1b0aaa,_0x1535bc,_0x2cded2,_0x372bf9,_0x53a81c)=>{const _0x56e9ad={'RwjAU':function(_0x430905,_0x536ab1,_0xf0da41,_0xc89524,_0x56187a,_0x3706ec){return _0x430905(_0x536ab1,_0xf0da41,_0xc89524,_0x56187a,_0x3706ec);}};return await _0x56e9ad['RwjAU'](runCucumberTest,_0x1b0aaa,_0x1535bc,_0x2cded2,_0x372bf9,_0x53a81c);},exports[a63_0x492009(0x1ff)]=async _0x48d6c4=>{const _0x1a231=a63_0x492009,_0x2b2c93={'fdDYl':function(_0x142c44,_0x3fe2de){return _0x142c44(_0x3fe2de);}};return await _0x2b2c93[_0x1a231(0x1f1)](runVanillaTest,_0x48d6c4);};
@@ -1 +1 @@
1
- 'use strict';function a64_0x3338(_0x39c031,_0x3b0045){const _0x184f61=a64_0x184f();return a64_0x3338=function(_0x33381f,_0x60b2ed){_0x33381f=_0x33381f-0x15b;let _0x1853e5=_0x184f61[_0x33381f];return _0x1853e5;},a64_0x3338(_0x39c031,_0x3b0045);}const a64_0x2940e5=a64_0x3338;(function(_0x1f5005,_0x251312){const _0x289f03=a64_0x3338,_0x5d250a=_0x1f5005();while(!![]){try{const _0x337351=-parseInt(_0x289f03(0x168))/0x1*(-parseInt(_0x289f03(0x18b))/0x2)+-parseInt(_0x289f03(0x188))/0x3*(-parseInt(_0x289f03(0x182))/0x4)+parseInt(_0x289f03(0x16e))/0x5*(-parseInt(_0x289f03(0x176))/0x6)+parseInt(_0x289f03(0x186))/0x7+parseInt(_0x289f03(0x172))/0x8+-parseInt(_0x289f03(0x183))/0x9*(-parseInt(_0x289f03(0x165))/0xa)+-parseInt(_0x289f03(0x170))/0xb*(parseInt(_0x289f03(0x16b))/0xc);if(_0x337351===_0x251312)break;else _0x5d250a['push'](_0x5d250a['shift']());}catch(_0x364423){_0x5d250a['push'](_0x5d250a['shift']());}}}(a64_0x184f,0x8466b));const util=require(a64_0x2940e5(0x18f)),logger=require('../../helpers/logger')[a64_0x2940e5(0x17c)],{automationLogger}=require('../../helpers/logger'),{AUTOMATION_LOG_COMMANDS}=require(a64_0x2940e5(0x167));async function _run(_0x46005a,_0x40af5d,_0x46b2d2,_0x4d07f8){const _0x15211a=a64_0x2940e5,_0x347804={'xNKXO':function(_0x41714b,_0x3c5593){return _0x41714b(_0x3c5593);},'kWJYX':'../v2/browserstackCLI','WMeXu':function(_0x3c437a,_0x336e13){return _0x3c437a!==_0x336e13;},'TRhxz':_0x15211a(0x164),'hurzu':function(_0x472750,_0x5d6397){return _0x472750||_0x5d6397;},'zLzBk':_0x15211a(0x184),'ZeevP':'[a11y-runner]\x20%s\x20failed:\x20%O'};try{const _0x51bc17=_0x347804[_0x15211a(0x15d)](require,_0x347804['kWJYX']),_0x46bce3=_0x51bc17[_0x15211a(0x18e)]();if(!_0x46bce3||!_0x46bce3['isRunning']())return null;const _0x5f5bca=_0x46bce3[_0x15211a(0x18d)]&&_0x46bce3['getAccessibilityModule']();if(!_0x5f5bca)return null;if(_0x347804[_0x15211a(0x15b)](typeof _0x5f5bca['getScriptByName'],_0x347804[_0x15211a(0x17a)]))return null;const _0x16d913=_0x5f5bca[_0x15211a(0x189)](_0x46005a);if(!_0x16d913||!_0x16d913['command'])return logger[_0x15211a(0x180)](_0x15211a(0x15c)+_0x46005a+_0x15211a(0x175)),null;const _0x504a9c=await _0x40af5d[_0x15211a(0x161)](_0x16d913['command'],_0x347804[_0x15211a(0x163)](_0x4d07f8,{}));logger[_0x15211a(0x180)](_0x15211a(0x190)+_0x46005a+'\x20result:\x20'+JSON[_0x15211a(0x162)](_0x504a9c));try{const _0x56eb53=AUTOMATION_LOG_COMMANDS[_0x15211a(0x181)](_0x2f9fdf=>_0x16d913[_0x15211a(0x16c)][_0x15211a(0x16a)](_0x2f9fdf));if(_0x56eb53){const _0xe28445={};_0xe28445[_0x15211a(0x17e)]=_0x504a9c,automationLogger[_0x15211a(0x177)]('['+new Date()[_0x15211a(0x173)]()+_0x15211a(0x17b)+JSON[_0x15211a(0x162)]({'request':{'command':_0x56eb53,'parameters':[_0x347804['hurzu'](_0x4d07f8,{})]},'response':_0xe28445}));}}catch(_0x2778ab){logger[_0x15211a(0x180)](util[_0x15211a(0x160)](_0x347804[_0x15211a(0x166)],_0x46005a,_0x2778ab));}return _0x504a9c;}catch(_0x5deb36){return logger['debug'](util[_0x15211a(0x160)](_0x347804[_0x15211a(0x174)],_0x46005a,_0x5deb36)),null;}}function _argsFor(_0x3aeb00,_0x557818,_0x2f6947,_0x3334bc){const _0x240f53=a64_0x2940e5,_0x5dc2a2={'eMEQR':function(_0x36d5f4,_0x4dace9){return _0x36d5f4(_0x4dace9);},'DqLGr':'../v2/browserstackCLI','FHpQN':function(_0x5d10bb,_0x531e21){return _0x5d10bb===_0x531e21;},'kqOHY':_0x240f53(0x164),'Kojfv':'testhub_build_uuid','JDOpx':function(_0x2d157a,_0x2d0505){return _0x2d157a||_0x2d0505;},'OgGCQ':function(_0x38c5dc,_0x31f662){return _0x38c5dc||_0x31f662;}},_0x3e2de1=_0x5dc2a2[_0x240f53(0x179)](require,_0x5dc2a2[_0x240f53(0x191)]),_0x545345=_0x3e2de1[_0x240f53(0x18e)](),_0x2d135e=_0x545345&&_0x545345[_0x240f53(0x18d)]&&_0x545345['getAccessibilityModule']();let _0x56ef6d='';const _0x569c71=process['env'][_0x240f53(0x192)]||'';try{_0x2d135e&&_0x5dc2a2[_0x240f53(0x16f)](typeof _0x2d135e[_0x240f53(0x15f)],_0x5dc2a2[_0x240f53(0x185)])&&(_0x56ef6d=_0x2d135e['getCapabilityValue'](_0x5dc2a2[_0x240f53(0x171)])||'');}catch(_0x354b53){}return{'thTestRunUuid':_0x5dc2a2[_0x240f53(0x187)](_0x557818,''),'thBuildUuid':_0x56ef6d,'thJwtToken':_0x569c71,'is_mobile_session':!!_0x3334bc,'commandName':_0x5dc2a2['OgGCQ'](_0x2f6947,_0x3aeb00)};}exports[a64_0x2940e5(0x15e)]=async(_0x24f786,_0x51268e,_0x13f05b,_0x58660e)=>{const _0x51168e=a64_0x2940e5,_0x5dfa5a={'mndQP':function(_0x5d6d78,_0x11b476,_0x56fae9,_0x17f2c2,_0x440f80){return _0x5d6d78(_0x11b476,_0x56fae9,_0x17f2c2,_0x440f80);},'KDkLl':_0x51168e(0x18c),'NQqRS':function(_0xca3453,_0x1eb401,_0x5310aa,_0x5a865a,_0x21f258){return _0xca3453(_0x1eb401,_0x5310aa,_0x5a865a,_0x21f258);}},_0x49721c=_0x5dfa5a[_0x51168e(0x178)](_argsFor,_0x5dfa5a[_0x51168e(0x17f)],_0x51268e,_0x13f05b,_0x58660e);return _0x5dfa5a[_0x51168e(0x16d)](_run,_0x5dfa5a[_0x51168e(0x17f)],_0x24f786,_0x51268e,_0x49721c);},exports[a64_0x2940e5(0x18a)]=async(_0x42e570,_0x38f5a1,_0x532441)=>{const _0x40eceb=a64_0x2940e5,_0x168fa6={'VmWyI':function(_0x64b6cd,_0x372da2,_0x94b80,_0x33f553,_0x43137f){return _0x64b6cd(_0x372da2,_0x94b80,_0x33f553,_0x43137f);},'yETND':'saveResults','JAhiE':function(_0x1eb005,_0x3b287a,_0x49fe5f,_0x6f3124,_0xd87b46){return _0x1eb005(_0x3b287a,_0x49fe5f,_0x6f3124,_0xd87b46);}},_0x8b6151=_0x168fa6['VmWyI'](_argsFor,_0x168fa6[_0x40eceb(0x169)],_0x38f5a1,_0x168fa6[_0x40eceb(0x169)],_0x532441);return _0x168fa6[_0x40eceb(0x17d)](_run,_0x168fa6[_0x40eceb(0x169)],_0x42e570,_0x38f5a1,_0x8b6151);};function a64_0x184f(){const _0x5cb1e7=['kqOHY','368753gROrvJ','JDOpx','651957HmsWvr','getScriptByName','runSaveResults','116TCaMQk','scan','getAccessibilityModule','getInstance','util','[a11y-runner]\x20','DqLGr','BROWSERSTACK_TESTHUB_JWT','WMeXu','[a11y-runner]\x20no\x20\x27','xNKXO','runScan','getCapabilityValue','format','executeAsyncScript','stringify','hurzu','function','8790MGlBtk','zLzBk','../utils/constants','3631evJrNB','yETND','includes','5556ujQxEi','command','NQqRS','5fEOKts','FHpQN','2453XSCmwW','Kojfv','1371472QpfvwY','toISOString','ZeevP','\x27\x20script\x20available','6457254jqnGsc','silly','mndQP','eMEQR','TRhxz','][\x20SDK-AUTOMATION\x20]\x20','winstonLogger','JAhiE','body','KDkLl','debug','find','4ZSqWdo','10953zsjGuS','[a11y-runner]\x20error\x20logging\x20SDK-AUTOMATION\x20for\x20%s:\x20%O'];a64_0x184f=function(){return _0x5cb1e7;};return a64_0x184f();}
1
+ 'use strict';const a64_0xfbfb57=a64_0x54dc;(function(_0x2405b7,_0x424fe3){const _0x5423bd=a64_0x54dc,_0xa950c3=_0x2405b7();while(!![]){try{const _0x2d2253=parseInt(_0x5423bd(0xdf))/0x1+-parseInt(_0x5423bd(0xc5))/0x2+parseInt(_0x5423bd(0xcc))/0x3+-parseInt(_0x5423bd(0xea))/0x4*(parseInt(_0x5423bd(0xed))/0x5)+parseInt(_0x5423bd(0xe2))/0x6+parseInt(_0x5423bd(0xd6))/0x7+-parseInt(_0x5423bd(0xc8))/0x8*(parseInt(_0x5423bd(0xef))/0x9);if(_0x2d2253===_0x424fe3)break;else _0xa950c3['push'](_0xa950c3['shift']());}catch(_0x17dcb2){_0xa950c3['push'](_0xa950c3['shift']());}}}(a64_0x1595,0x925ed));function a64_0x1595(){const _0x4b67a8=['GGgeL','eVNjF','ykZIh','debug','][\x20SDK-AUTOMATION\x20]\x20','[a11y-runner]\x20','env','\x27\x20script\x20available','1113440JTbfJH','getAccessibilityModule','[a11y-runner]\x20error\x20logging\x20SDK-AUTOMATION\x20for\x20%s:\x20%O','40OMVWqO','runScan','silly','../v2/browserstackCLI','2250312dyWkcE','scan','runSaveResults','util','XDUkn','getScriptByName','GhjfY','dcRaa','function','SKaMX','1931713tDHiWF','isRunning','bMUeZ','testhub_build_uuid','find','saveResults','BZwLq','tzJww','BROWSERSTACK_TESTHUB_JWT','904394YovlBV','getCapabilityValue','PmWTQ','5615262lMlofJ','kqFwH','command','stringify','nXOxy','[a11y-runner]\x20%s\x20failed:\x20%O','../../helpers/logger','format','416452ZIFWSQ','gpoqy','KSvvg','35VTYDYQ','yPyDn','1766322MZOjIL','[a11y-runner]\x20no\x20\x27','jXfiY','winstonLogger','zBgEd'];a64_0x1595=function(){return _0x4b67a8;};return a64_0x1595();}function a64_0x54dc(_0x3edb18,_0x196f80){const _0x159587=a64_0x1595();return a64_0x54dc=function(_0x54dcf5,_0x2a3ab0){_0x54dcf5=_0x54dcf5-0xbf;let _0x18242b=_0x159587[_0x54dcf5];return _0x18242b;},a64_0x54dc(_0x3edb18,_0x196f80);}const util=require(a64_0xfbfb57(0xcf)),logger=require(a64_0xfbfb57(0xe8))[a64_0xfbfb57(0xf2)],{automationLogger}=require(a64_0xfbfb57(0xe8)),{AUTOMATION_LOG_COMMANDS}=require('../utils/constants');async function _run(_0x327a81,_0x1df624,_0xb114d8,_0x13a59e){const _0x4a5a5c=a64_0xfbfb57,_0x1fb7b9={'bMUeZ':function(_0x44c01f,_0x1ac6b3){return _0x44c01f(_0x1ac6b3);},'BZwLq':_0x4a5a5c(0xcb),'PmWTQ':function(_0xad25f9,_0x2ab8da){return _0xad25f9!==_0x2ab8da;},'UPSMB':_0x4a5a5c(0xd4),'XDUkn':function(_0x1d2528,_0x517806){return _0x1d2528||_0x517806;},'jXfiY':function(_0x165ed5,_0x146fd8){return _0x165ed5||_0x146fd8;},'kqFwH':_0x4a5a5c(0xc7),'yPyDn':_0x4a5a5c(0xe7)};try{const _0x35fc5a=_0x1fb7b9[_0x4a5a5c(0xd8)](require,_0x1fb7b9[_0x4a5a5c(0xdc)]),_0x1c6b35=_0x35fc5a['getInstance']();if(!_0x1c6b35||!_0x1c6b35[_0x4a5a5c(0xd7)]())return null;const _0xc413a=_0x1c6b35['getAccessibilityModule']&&_0x1c6b35['getAccessibilityModule']();if(!_0xc413a)return null;if(_0x1fb7b9[_0x4a5a5c(0xe1)](typeof _0xc413a[_0x4a5a5c(0xd1)],_0x1fb7b9['UPSMB']))return null;const _0x48a7ba=_0xc413a[_0x4a5a5c(0xd1)](_0x327a81);if(!_0x48a7ba||!_0x48a7ba[_0x4a5a5c(0xe4)])return logger[_0x4a5a5c(0xc0)](_0x4a5a5c(0xf0)+_0x327a81+_0x4a5a5c(0xc4)),null;const _0x1dd8c4=await _0x1df624['executeAsyncScript'](_0x48a7ba[_0x4a5a5c(0xe4)],_0x1fb7b9[_0x4a5a5c(0xd0)](_0x13a59e,{}));logger[_0x4a5a5c(0xc0)](_0x4a5a5c(0xc2)+_0x327a81+'\x20result:\x20'+JSON[_0x4a5a5c(0xe5)](_0x1dd8c4));try{const _0x159973=AUTOMATION_LOG_COMMANDS[_0x4a5a5c(0xda)](_0x436d94=>_0x48a7ba[_0x4a5a5c(0xe4)]['includes'](_0x436d94));if(_0x159973){const _0x5df74a={};_0x5df74a['body']=_0x1dd8c4,automationLogger[_0x4a5a5c(0xca)]('['+new Date()['toISOString']()+_0x4a5a5c(0xc1)+JSON['stringify']({'request':{'command':_0x159973,'parameters':[_0x1fb7b9[_0x4a5a5c(0xf1)](_0x13a59e,{})]},'response':_0x5df74a}));}}catch(_0x5e4d6a){logger[_0x4a5a5c(0xc0)](util[_0x4a5a5c(0xe9)](_0x1fb7b9[_0x4a5a5c(0xe3)],_0x327a81,_0x5e4d6a));}return _0x1dd8c4;}catch(_0x52e351){return logger[_0x4a5a5c(0xc0)](util[_0x4a5a5c(0xe9)](_0x1fb7b9[_0x4a5a5c(0xee)],_0x327a81,_0x52e351)),null;}}function _argsFor(_0x578277,_0x10d63e,_0x480abd,_0x3b920b){const _0x58050a=a64_0xfbfb57,_0x23528f={'GhjfY':function(_0x1bcfb4,_0x46497a){return _0x1bcfb4(_0x46497a);},'rqFbn':_0x58050a(0xcb),'zBgEd':function(_0x1ad4ef,_0x41aad9){return _0x1ad4ef===_0x41aad9;},'ykZIh':_0x58050a(0xd4),'GGgeL':_0x58050a(0xd9),'tzJww':function(_0x1cdf4d,_0x2a0f29){return _0x1cdf4d||_0x2a0f29;}},_0x16b751=_0x23528f[_0x58050a(0xd2)](require,_0x23528f['rqFbn']),_0x26030b=_0x16b751['getInstance'](),_0x4b26cc=_0x26030b&&_0x26030b[_0x58050a(0xc6)]&&_0x26030b[_0x58050a(0xc6)]();let _0x5c6ade='';const _0x5bdd8f=process[_0x58050a(0xc3)][_0x58050a(0xde)]||'';try{_0x4b26cc&&_0x23528f[_0x58050a(0xf3)](typeof _0x4b26cc[_0x58050a(0xe0)],_0x23528f[_0x58050a(0xbf)])&&(_0x5c6ade=_0x4b26cc[_0x58050a(0xe0)](_0x23528f[_0x58050a(0xf4)])||'');}catch(_0x19a1a6){}return{'thTestRunUuid':_0x23528f[_0x58050a(0xdd)](_0x10d63e,''),'thBuildUuid':_0x5c6ade,'thJwtToken':_0x5bdd8f,'is_mobile_session':!!_0x3b920b,'commandName':_0x23528f[_0x58050a(0xdd)](_0x480abd,_0x578277)};}exports[a64_0xfbfb57(0xc9)]=async(_0x2cf84d,_0x4a56f1,_0x546f09,_0x2136c1)=>{const _0x1a63fe=a64_0xfbfb57,_0x27feb8={'SKaMX':function(_0xfe766f,_0x367f1c,_0x2a3802,_0x57e84c,_0x2b5cde){return _0xfe766f(_0x367f1c,_0x2a3802,_0x57e84c,_0x2b5cde);},'nXOxy':_0x1a63fe(0xcd),'dcRaa':function(_0x156b11,_0x431770,_0x2cb1cc,_0x1a7a4c,_0xbfeaf2){return _0x156b11(_0x431770,_0x2cb1cc,_0x1a7a4c,_0xbfeaf2);}},_0x21412d=_0x27feb8[_0x1a63fe(0xd5)](_argsFor,_0x27feb8[_0x1a63fe(0xe6)],_0x4a56f1,_0x546f09,_0x2136c1);return _0x27feb8[_0x1a63fe(0xd3)](_run,_0x27feb8[_0x1a63fe(0xe6)],_0x2cf84d,_0x4a56f1,_0x21412d);},exports[a64_0xfbfb57(0xce)]=async(_0x227241,_0xb6e001,_0x2cc34f)=>{const _0x61c236=a64_0xfbfb57,_0x3bc781={'KSvvg':function(_0x338bf3,_0x33d558,_0x2ebcb6,_0x4937d1,_0x50bc82){return _0x338bf3(_0x33d558,_0x2ebcb6,_0x4937d1,_0x50bc82);},'eVNjF':_0x61c236(0xdb),'gpoqy':function(_0x23a733,_0x49a004,_0x5e46bb,_0x27af63,_0x5cb1e1){return _0x23a733(_0x49a004,_0x5e46bb,_0x27af63,_0x5cb1e1);}},_0x5ab5eb=_0x3bc781[_0x61c236(0xec)](_argsFor,_0x3bc781[_0x61c236(0xf5)],_0xb6e001,_0x3bc781[_0x61c236(0xf5)],_0x2cc34f);return _0x3bc781[_0x61c236(0xeb)](_run,_0x3bc781[_0x61c236(0xf5)],_0x227241,_0xb6e001,_0x5ab5eb);};