browserstack-node-sdk 1.70.1 → 1.70.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/mochaTestFramework.js +1 -1
  139. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  140. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  142. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  143. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  144. package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testFramework.js +1 -1
  146. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  147. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  148. package/src/bin/v2/grpcClient.js +1 -1
  149. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  150. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  151. package/src/bin/v2/instances/trackedContext.js +1 -1
  152. package/src/bin/v2/instances/trackedInstance.js +1 -1
  153. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  154. package/src/bin/v2/modules/baseModule.js +1 -1
  155. package/src/bin/v2/modules/loadTestModule.js +1 -1
  156. package/src/bin/v2/modules/observabilityModule.js +1 -1
  157. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  158. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  159. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  160. package/src/bin/v2/modules/testhubModule.js +1 -1
  161. package/src/bin/v2/runStateStore.js +1 -1
  162. package/src/bin/v2/sdkErrorHandler.js +1 -1
  163. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  164. package/src/bin/v2/state/hookState.js +1 -1
  165. package/src/bin/v2/state/testFrameworkState.js +1 -1
  166. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  167. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  168. package/src/bin/v2/utils/jest-utils.js +1 -1
  169. package/src/bin/vanilla-js/command.js +1 -1
  170. package/src/browserStackSdk.js +1 -1
  171. package/src/helpers/BrowserStackSetup.js +1 -1
  172. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  173. package/src/helpers/accessibility-automation/constants.js +1 -1
  174. package/src/helpers/accessibility-automation/helper.js +1 -1
  175. package/src/helpers/accessibility-automation/scripts.js +1 -1
  176. package/src/helpers/ats/constants.js +1 -1
  177. package/src/helpers/ats/helper.js +1 -1
  178. package/src/helpers/caCertHelper.js +1 -1
  179. package/src/helpers/capsMapping.js +1 -1
  180. package/src/helpers/central-scanner/constants.js +1 -1
  181. package/src/helpers/central-scanner/helpers.js +1 -1
  182. package/src/helpers/classLogger.js +1 -1
  183. package/src/helpers/driverInitErrorReporter.js +1 -1
  184. package/src/helpers/globals.js +1 -1
  185. package/src/helpers/helper.js +1 -1
  186. package/src/helpers/logger.js +1 -1
  187. package/src/helpers/metadata.js +1 -1
  188. package/src/helpers/patchHelper.js +1 -1
  189. package/src/helpers/patchHelpers.js +1 -1
  190. package/src/helpers/percy/Percy.js +1 -1
  191. package/src/helpers/percy/PercyBinary.js +1 -1
  192. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  193. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  194. package/src/helpers/percy/PercySDK.js +1 -1
  195. package/src/helpers/percy/index.js +1 -1
  196. package/src/helpers/percy/utils.js +1 -1
  197. package/src/helpers/performance/constants.js +1 -1
  198. package/src/helpers/performance/performance-tester.js +1 -1
  199. package/src/helpers/playwright-helper.js +1 -1
  200. package/src/helpers/processHelper.js +1 -1
  201. package/src/helpers/puppeteer-helper.js +1 -1
  202. package/src/helpers/request-spy.js +1 -1
  203. package/src/helpers/setKeepAlive.js +1 -1
  204. package/src/helpers/stackFrameUtils.js +1 -1
  205. package/src/helpers/test-observability/constants.js +1 -1
  206. package/src/helpers/test-observability/error-handler.js +1 -1
  207. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  208. package/src/helpers/test-observability/sessionHandler.js +1 -1
  209. package/src/helpers/test-observability/utils.js +1 -1
  210. package/src/helpers/test-orchestration/constants.js +1 -1
  211. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  212. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  213. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  214. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  215. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  216. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  217. package/src/helpers/testhub/constants.js +1 -1
  218. package/src/helpers/testhub/testhubHandler.js +1 -1
  219. package/src/helpers/testhub/utils.js +1 -1
  220. package/src/helpers/utilities.js +1 -1
  221. package/src/helpers/w3cMapping.js +1 -1
  222. package/src/hubAllocationMethods.js +1 -1
  223. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';const a71_0x70726c=a71_0x16f6;function a71_0x16f6(_0xdbd2b5,_0x250852){const _0x29d2ab=a71_0x29d2();return a71_0x16f6=function(_0x16f6dc,_0x5bc127){_0x16f6dc=_0x16f6dc-0x8b;let _0x476ea4=_0x29d2ab[_0x16f6dc];return _0x476ea4;},a71_0x16f6(_0xdbd2b5,_0x250852);}(function(_0x5ca124,_0x40383c){const _0x4d4531=a71_0x16f6,_0x43cf0d=_0x5ca124();while(!![]){try{const _0x42fe2a=parseInt(_0x4d4531(0xa2))/0x1*(parseInt(_0x4d4531(0x8d))/0x2)+-parseInt(_0x4d4531(0xa6))/0x3+parseInt(_0x4d4531(0xf2))/0x4*(parseInt(_0x4d4531(0xe7))/0x5)+-parseInt(_0x4d4531(0xd1))/0x6+parseInt(_0x4d4531(0xdd))/0x7*(parseInt(_0x4d4531(0xee))/0x8)+-parseInt(_0x4d4531(0xba))/0x9*(-parseInt(_0x4d4531(0xd6))/0xa)+-parseInt(_0x4d4531(0xe4))/0xb*(parseInt(_0x4d4531(0xd3))/0xc);if(_0x42fe2a===_0x40383c)break;else _0x43cf0d['push'](_0x43cf0d['shift']());}catch(_0x4f9820){_0x43cf0d['push'](_0x43cf0d['shift']());}}}(a71_0x29d2,0xa32c7));const path=require(a71_0x70726c(0xd5)),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require(a71_0x70726c(0x9e)),logger=require(a71_0x70726c(0xf5))['winstonLogger'],BrowserstackCLI=require(a71_0x70726c(0xaa)),TestFrameworkState=require(a71_0x70726c(0xaf)),AutomationFrameworkState=require('../../v2/state/automationFrameworkState'),HookState=require(a71_0x70726c(0xb4)),TestInfo=require(a71_0x70726c(0xa5)),AutomationFramework=require(a71_0x70726c(0xf0)),TestCafeAutomationFramework=require('../../v2/framework/testcafeAutomationFramework'),sessionRegistry=require(a71_0x70726c(0xa0));function a71_0x29d2(){const _0x9b324c=['zmtwS','../../v2/framework/automationFramework','POST','2358284GJSMPZ','function','listEntries','../../../helpers/logger','properties','fixtureName','debug','errs','BEFORE_EACH','28TLgKrs','error','meta','vTkRX','push','startTime','fixtureStack','taTvh','[testcafe-reporter]\x20reportTestStart:\x20','testCount','platformIndex','endTime','passedCount','CREATE','instance','EkJmS','tjXNS','./tcUtils','currentTaskInfo','../session-registry','BEFORE_ALL','78410aKWaMG','ICkpv','unstable','../../v2/TestInfo','3265029xGunhJ','userAgents','erdWn','xAJkP','../../v2/browserstackCLI','\x20(errs=','driver','RAuMn','Fjtbg','../../v2/state/testFrameworkState','skipped','AphkQ','[testcafe-reporter]\x20reportFixtureStart:\x20','FCoUA','../../v2/state/hookState','quarantine',',\x20skipped=','testName','skippedCount','[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','46107hbtwYd','getInstance','failedCount','pop','[testcafe-reporter]\x20swallowed\x20error\x20in\x20','vnwSm','hubUrl','xCWZL','ESTnN','test','info','filter','GzosT','fixturePath','uLPcd','map','removeInstance','\x20tests\x20across\x20','AFTER_EACH','\x20browsers','CShSO','taskStructure','[testcafe-reporter]\x20reportTestDone:\x20','176112GYRFwt','trackEvent','22029132qKDZWM','message','path','1630RhukSK','PRE','QUIT','getTestFramework','isRunning','fzwdG','setup','1813YofFiZ','name','[testcafe-reporter]\x20reportTaskStart:\x20','unknown','testRunInfo','length','PVuPF','11ISpQda','ZGdaB','INIT_TEST','5fcrrCn','isInteger','getAutomationFramework','sessionId','[testcafe-reporter]\x20reportTaskDone:\x20passed=','\x20totalDuration=','AFTER_ALL','33960LUulXO'];a71_0x29d2=function(){return _0x9b324c;};return a71_0x29d2();}module['exports']=function(_0x55e565){const _0x5b3156=a71_0x70726c,_0x6bd556={'xAJkP':function(_0x3b1fb1,..._0x8e2f3e){return _0x3b1fb1(..._0x8e2f3e);},'AphkQ':'handler','mWLnh':'testcafe','PVuPF':function(_0x46c34d,_0x308754){return _0x46c34d===_0x308754;},'taTvh':_0x5b3156(0xf3),'RAuMn':function(_0x2de6ea,_0x3c333d){return _0x2de6ea===_0x3c333d;},'EkJmS':function(_0x523e91,_0x12f0b6){return _0x523e91<_0x12f0b6;},'vTkRX':function(_0x1d9511,_0x33d032){return _0x1d9511||_0x33d032;},'CShSO':function(_0x29b311,_0x52e7d9){return _0x29b311-_0x52e7d9;},'xCWZL':_0x5b3156(0xe0),'zmtwS':function(_0x423179,_0x2d0e85){return _0x423179(_0x2d0e85);},'ICkpv':function(_0x342684,_0x2f37e1,_0xbae838){return _0x342684(_0x2f37e1,_0xbae838);},'uLPcd':function(_0x3f6760,_0x316a46){return _0x3f6760===_0x316a46;},'ESTnN':function(_0x60a189,_0x37783d){return _0x60a189-_0x37783d;},'FCoUA':function(_0x7fcc2a,_0x4eeb1d){return _0x7fcc2a(_0x4eeb1d);},'GzosT':function(_0x15f447,_0x4d8b7e){return _0x15f447===_0x4d8b7e;},'VjpHo':function(_0x39632b,_0x54289b){return _0x39632b(_0x54289b);},'Fjtbg':function(_0x194a41,_0x31e324){return _0x194a41===_0x31e324;},'vnwSm':function(_0x5ad67f,_0x454f8d){return _0x5ad67f+_0x454f8d;},'fzwdG':function(_0x5137e8,_0x8396c9){return _0x5137e8+_0x8396c9;},'erdWn':function(_0x1d2569,_0xa64367){return _0x1d2569(_0xa64367);},'ZGdaB':function(_0x48141d,_0x11d8e6){return _0x48141d(_0x11d8e6);},'tjXNS':function(_0x208d65,_0x3ba11d){return _0x208d65(_0x3ba11d);}},_0x4f85a3={'options':_0x6bd556[_0x5b3156(0x90)](_0x55e565,{}),'fixtureStack':[],'currentTaskInfo':null},_0x30c8c5=_0x186275=>async(..._0x31ea61)=>{const _0x4a3c91=_0x5b3156;try{return await _0x6bd556[_0x4a3c91(0xa9)](_0x186275,..._0x31ea61);}catch(_0x12cf04){logger['error'](_0x4a3c91(0xbe)+(_0x186275[_0x4a3c91(0xde)]||_0x6bd556[_0x4a3c91(0xb1)])+':\x20'+(_0x12cf04['stack']||_0x12cf04));}};return{'reportTaskStart':_0x6bd556[_0x5b3156(0xa9)](_0x30c8c5,async function _0x1bdd9b(_0x4f8074,_0x1c690f,_0x10ac69,_0x22505e,_0x89f756){const _0x6f8b06=_0x5b3156,_0x1df1e3={};_0x1df1e3[_0x6f8b06(0x92)]=_0x4f8074,_0x1df1e3['userAgents']=_0x1c690f,_0x1df1e3[_0x6f8b06(0x96)]=_0x10ac69,_0x1df1e3[_0x6f8b06(0xcf)]=_0x22505e,_0x1df1e3[_0x6f8b06(0xf6)]=_0x89f756,_0x4f85a3[_0x6f8b06(0x9f)]=_0x1df1e3,logger[_0x6f8b06(0xc4)](_0x6f8b06(0xdf)+_0x10ac69+_0x6f8b06(0xcb)+_0x1c690f['length']+_0x6f8b06(0xcd)),TestInfo[_0x6f8b06(0xdc)]&&TestInfo[_0x6f8b06(0xdc)](_0x6bd556['mWLnh']);if(!BrowserstackCLI[_0x6f8b06(0xbb)]()||!BrowserstackCLI[_0x6f8b06(0xbb)]()[_0x6f8b06(0xda)]())return;const _0x5145dc=BrowserstackCLI[_0x6f8b06(0xbb)](),_0x2f4e4d=_0x5145dc[_0x6f8b06(0xd9)]();if(_0x2f4e4d&&_0x6bd556[_0x6f8b06(0xe3)](typeof _0x2f4e4d[_0x6f8b06(0xd2)],_0x6bd556['taTvh'])){const _0x613bac={};_0x613bac[_0x6f8b06(0x92)]=_0x4f8074,_0x613bac[_0x6f8b06(0xa7)]=_0x1c690f,_0x613bac[_0x6f8b06(0x96)]=_0x10ac69,_0x613bac[_0x6f8b06(0xcf)]=_0x22505e,await _0x2f4e4d[_0x6f8b06(0xd2)](TestFrameworkState[_0x6f8b06(0xe6)],HookState[_0x6f8b06(0xd7)],_0x613bac);}const _0x1f72b9=_0x5145dc[_0x6f8b06(0xe9)](),_0x482d86=sessionRegistry[_0x6f8b06(0xf4)]();if(_0x1f72b9&&_0x6bd556[_0x6f8b06(0xad)](typeof _0x1f72b9[_0x6f8b06(0xd2)],_0x6bd556['taTvh']))for(let _0x1fe706=0x0;_0x6bd556[_0x6f8b06(0x9c)](_0x1fe706,(_0x1c690f||[])[_0x6f8b06(0xe2)]);_0x1fe706++){const _0x23a621=_0x1c690f[_0x1fe706],_0x3aedfe=_0x482d86[_0x1fe706]||{};await _0x1f72b9['trackEvent'](AutomationFrameworkState[_0x6f8b06(0x9a)],HookState[_0x6f8b06(0xf1)],{'userAgent':_0x23a621,'startTime':_0x4f8074,'driver':_0x3aedfe[_0x6f8b06(0xac)],'sessionId':_0x3aedfe[_0x6f8b06(0xea)],'platformIndex':Number[_0x6f8b06(0xe8)](_0x3aedfe[_0x6f8b06(0x97)])?_0x3aedfe[_0x6f8b06(0x97)]:_0x1fe706,'capabilities':_0x3aedfe['capabilities']||{},'hubUrl':_0x3aedfe[_0x6f8b06(0xc0)]||''});}}),'reportFixtureStart':_0x6bd556[_0x5b3156(0xa8)](_0x30c8c5,async function _0x4d0d80(_0xd29cb7,_0x24d8ec,_0x20a06f){const _0x57552e=_0x5b3156,_0x186d84={'name':_0xd29cb7,'path':_0x24d8ec,'meta':_0x6bd556['vTkRX'](_0x20a06f,{})};_0x4f85a3[_0x57552e(0x93)][_0x57552e(0x91)](_0x186d84),logger[_0x57552e(0xf8)](_0x57552e(0xb2)+_0xd29cb7+'\x20@\x20'+_0x24d8ec);if(BrowserstackCLI[_0x57552e(0xbb)]()&&BrowserstackCLI[_0x57552e(0xbb)]()[_0x57552e(0xda)]()){const _0x24d956=BrowserstackCLI[_0x57552e(0xbb)](),_0xa13e2c=_0x24d956[_0x57552e(0xd9)]();if(_0xa13e2c&&_0x6bd556[_0x57552e(0xe3)](typeof _0xa13e2c[_0x57552e(0xd2)],_0x6bd556[_0x57552e(0x94)])){const _0x3265dc=_0x4f85a3[_0x57552e(0x9f)]&&_0x4f85a3[_0x57552e(0x9f)][_0x57552e(0xa7)]||[],_0x3aa102={'fixture':_0x186d84,'fixtureIdentifier':_0x6bd556['xAJkP'](getFixtureIdentifier,_0x186d84),'userAgents':_0x3265dc};await _0xa13e2c[_0x57552e(0xd2)](TestFrameworkState[_0x57552e(0xa1)],HookState[_0x57552e(0xd7)],_0x3aa102),await _0xa13e2c[_0x57552e(0xd2)](TestFrameworkState[_0x57552e(0xa1)],HookState[_0x57552e(0xf1)],_0x3aa102);}}}),'reportTestStart':_0x6bd556['erdWn'](_0x30c8c5,async function _0x5b122f(_0x5d1477,_0x5d55a3,_0x421ffb){const _0x472001=_0x5b3156,_0x46ee47=_0x4f85a3[_0x472001(0x93)][_0x6bd556[_0x472001(0xce)](_0x4f85a3['fixtureStack']['length'],0x1)]||{'name':_0x6bd556[_0x472001(0xc1)],'path':_0x6bd556[_0x472001(0xc1)]},_0x58c8bc={};_0x58c8bc[_0x472001(0xf7)]=_0x46ee47[_0x472001(0xde)],_0x58c8bc[_0x472001(0xc7)]=_0x46ee47['path'],_0x58c8bc[_0x472001(0xb7)]=_0x5d1477,_0x58c8bc[_0x472001(0x8f)]=_0x5d55a3;const _0x3f2855=_0x6bd556[_0x472001(0xef)](synthesizeTestObject,_0x58c8bc);logger[_0x472001(0xf8)](_0x472001(0x95)+_0x6bd556[_0x472001(0xa3)](getTestIdentifier,_0x3f2855,0x0));const _0x38ccf7=_0x4f85a3['currentTaskInfo']&&_0x4f85a3[_0x472001(0x9f)][_0x472001(0xa7)]||[];if(BrowserstackCLI[_0x472001(0xbb)]()&&BrowserstackCLI[_0x472001(0xbb)]()[_0x472001(0xda)]()){const _0x1212a6=BrowserstackCLI[_0x472001(0xbb)](),_0x567533=_0x1212a6[_0x472001(0xd9)]();if(_0x567533&&_0x6bd556[_0x472001(0xc8)](typeof _0x567533[_0x472001(0xd2)],_0x6bd556[_0x472001(0x94)])){const _0xc88e8b={'fixture':_0x46ee47,'test':_0x3f2855,'fixtureIdentifier':_0x6bd556[_0x472001(0xef)](getFixtureIdentifier,_0x46ee47),'userAgents':_0x38ccf7};await _0x567533[_0x472001(0xd2)](TestFrameworkState[_0x472001(0x8c)],HookState[_0x472001(0xd7)],_0xc88e8b),await _0x567533[_0x472001(0xd2)](TestFrameworkState[_0x472001(0x8c)],HookState[_0x472001(0xf1)],_0xc88e8b);const _0x150120={};_0x150120['test']=_0x3f2855,_0x150120['testStartInfo']=_0x421ffb,_0x150120[_0x472001(0x8f)]=_0x5d55a3,_0x150120[_0x472001(0xa7)]=_0x38ccf7,await _0x567533[_0x472001(0xd2)](TestFrameworkState['TEST'],HookState[_0x472001(0xd7)],_0x150120);}}}),'reportTestDone':_0x6bd556[_0x5b3156(0xe5)](_0x30c8c5,async function _0x7c1d8c(_0x348461,_0x220fee,_0x1dc761){const _0xcc3ec8=_0x5b3156,_0x46cfd8=_0x4f85a3[_0xcc3ec8(0x93)][_0x6bd556[_0xcc3ec8(0xc2)](_0x4f85a3['fixtureStack']['length'],0x1)]||{'name':_0x6bd556[_0xcc3ec8(0xc1)],'path':_0x6bd556[_0xcc3ec8(0xc1)]},_0x83b40a={};_0x83b40a[_0xcc3ec8(0xf7)]=_0x46cfd8['name'],_0x83b40a['fixturePath']=_0x46cfd8[_0xcc3ec8(0xd5)],_0x83b40a[_0xcc3ec8(0xb7)]=_0x348461,_0x83b40a['meta']=_0x1dc761;const _0x421c20=_0x6bd556[_0xcc3ec8(0xa9)](synthesizeTestObject,_0x83b40a),_0x4ad286=Array['isArray'](_0x220fee&&_0x220fee[_0xcc3ec8(0x8b)])?_0x220fee['errs']['map'](formatError)[_0xcc3ec8(0xc5)](Boolean):[],_0x474371=_0x6bd556[_0xcc3ec8(0xb3)](getScreenshotPaths,_0x220fee)[_0xcc3ec8(0xc9)](_0x49aa3b=>({'screenshotPath':_0x49aa3b})),_0x421010={};_0x421010['durationMs']=_0x220fee&&_0x220fee['durationMs']||0x0,_0x421010[_0xcc3ec8(0xb0)]=!!(_0x220fee&&_0x220fee[_0xcc3ec8(0xb0)]),_0x421010[_0xcc3ec8(0x8b)]=_0x4ad286,_0x421010['screenshots']=_0x474371,_0x421010[_0xcc3ec8(0xa4)]=!!(_0x220fee&&_0x220fee['unstable']),_0x421010['quarantine']=_0x220fee&&_0x220fee[_0xcc3ec8(0xb5)];const _0x13ac10=_0x421010;logger[_0xcc3ec8(0xf8)](_0xcc3ec8(0xd0)+_0x6bd556[_0xcc3ec8(0xa3)](getTestIdentifier,_0x421c20,0x0)+_0xcc3ec8(0xab)+_0x4ad286[_0xcc3ec8(0xe2)]+_0xcc3ec8(0xb6)+_0x13ac10['skipped']+')');const _0x32d54d=_0x4f85a3[_0xcc3ec8(0x9f)]&&_0x4f85a3['currentTaskInfo'][_0xcc3ec8(0xa7)]||[];if(BrowserstackCLI[_0xcc3ec8(0xbb)]()&&BrowserstackCLI[_0xcc3ec8(0xbb)]()[_0xcc3ec8(0xda)]()){const _0x463e11=BrowserstackCLI[_0xcc3ec8(0xbb)](),_0x2e9703=_0x463e11[_0xcc3ec8(0xd9)]();if(_0x2e9703&&_0x6bd556[_0xcc3ec8(0xc6)](typeof _0x2e9703[_0xcc3ec8(0xd2)],_0x6bd556[_0xcc3ec8(0x94)])){const _0x147eab={};_0x147eab[_0xcc3ec8(0xc3)]=_0x421c20,_0x147eab[_0xcc3ec8(0xe1)]=_0x13ac10,_0x147eab['meta']=_0x1dc761,_0x147eab['userAgents']=_0x32d54d,await _0x2e9703[_0xcc3ec8(0xd2)](TestFrameworkState['TEST'],HookState[_0xcc3ec8(0xf1)],_0x147eab);const _0x3ea24a={'fixture':_0x46cfd8,'test':_0x421c20,'fixtureIdentifier':_0x6bd556[_0xcc3ec8(0xa9)](getFixtureIdentifier,_0x46cfd8),'userAgents':_0x32d54d};await _0x2e9703[_0xcc3ec8(0xd2)](TestFrameworkState['AFTER_EACH'],HookState[_0xcc3ec8(0xd7)],_0x3ea24a),await _0x2e9703[_0xcc3ec8(0xd2)](TestFrameworkState[_0xcc3ec8(0xcc)],HookState[_0xcc3ec8(0xf1)],_0x3ea24a);}}}),'reportTaskDone':_0x6bd556[_0x5b3156(0x9d)](_0x30c8c5,async function _0x178104(_0x295375,_0x3a85b6,_0x4c8192,_0x3712d8){const _0x56357c=_0x5b3156;while(_0x4f85a3[_0x56357c(0x93)][_0x56357c(0xe2)]){const _0x3dd318=_0x4f85a3[_0x56357c(0x93)][_0x56357c(0xbd)]();if(BrowserstackCLI[_0x56357c(0xbb)]()&&BrowserstackCLI[_0x56357c(0xbb)]()[_0x56357c(0xda)]()){const _0x604c40=BrowserstackCLI[_0x56357c(0xbb)](),_0x57b157=_0x604c40[_0x56357c(0xd9)]();if(_0x57b157&&_0x6bd556['uLPcd'](typeof _0x57b157[_0x56357c(0xd2)],_0x6bd556[_0x56357c(0x94)])){const _0x315c75=_0x4f85a3[_0x56357c(0x9f)]&&_0x4f85a3['currentTaskInfo']['userAgents']||[],_0x390dfa={'fixture':_0x3dd318,'fixtureIdentifier':_0x6bd556['VjpHo'](getFixtureIdentifier,_0x3dd318),'userAgents':_0x315c75};await _0x57b157['trackEvent'](TestFrameworkState['AFTER_ALL'],HookState[_0x56357c(0xd7)],_0x390dfa),await _0x57b157[_0x56357c(0xd2)](TestFrameworkState[_0x56357c(0xed)],HookState[_0x56357c(0xf1)],_0x390dfa);}}}if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x56357c(0xbb)]()['isRunning']()){const _0x4d87bb=BrowserstackCLI[_0x56357c(0xbb)](),_0x478d4d=_0x4d87bb[_0x56357c(0xe9)]();if(_0x478d4d&&_0x6bd556[_0x56357c(0xae)](typeof _0x478d4d[_0x56357c(0xd2)],_0x6bd556[_0x56357c(0x94)]))for(const {userAgent:_0x4392c4,platformIndex:_0x12d97d,instance:_0x25b4f8}of TestCafeAutomationFramework['iterAllInstances']()){try{const _0x9c456f={};_0x9c456f['userAgent']=_0x4392c4,_0x9c456f[_0x56357c(0x97)]=_0x12d97d,_0x9c456f[_0x56357c(0x98)]=_0x295375,_0x9c456f[_0x56357c(0x9b)]=_0x25b4f8,await _0x478d4d[_0x56357c(0xd2)](AutomationFrameworkState[_0x56357c(0xd8)],HookState[_0x56357c(0xf1)],_0x9c456f);}catch(_0x3c79e4){logger[_0x56357c(0x8e)](_0x56357c(0xb9)+_0x4392c4+'#'+_0x12d97d+':\x20'+_0x3c79e4[_0x56357c(0xd4)]);}TestCafeAutomationFramework[_0x56357c(0xca)](_0x4392c4,_0x12d97d);}}logger[_0x56357c(0xc4)](_0x56357c(0xeb)+_0x3a85b6+'\x20warnings='+(_0x4c8192&&_0x4c8192[_0x56357c(0xe2)])+_0x56357c(0xec)+(_0x3712d8&&_0x6bd556[_0x56357c(0xbf)](_0x6bd556[_0x56357c(0xdb)](_0x3712d8[_0x56357c(0xbc)],_0x3712d8[_0x56357c(0x99)]),_0x3712d8[_0x56357c(0xb8)])));})};};
1
+ 'use strict';const a71_0x4eb8e1=a71_0x47a2;function a71_0x3bed(){const _0x4160ee=['TBYpD','pop','errs','pKjMP','listEntries','dEUJh','function','unknown','BEFORE_ALL','18OajsrS','AFTER_EACH','isArray','filter','error','isRunning','../../../helpers/logger','uIMwm','passedCount','testStartInfo','testCount','info','platformIndex','fixtureStack','fixtureName','hubUrl','[testcafe-reporter]\x20reportTestDone:\x20','8759136jkrwvH','handler','../../v2/TestInfo','1038NgNNPG','setup','startTime','803oDfVcd','testName','userAgents','2725528rPLier','TEST','CREATE','map','\x20warnings=','xmaOe','apCDy','BiOnt','bMCso','path','POST','skipped','../../v2/state/testFrameworkState','./tcUtils','debug','\x20tests\x20across\x20','driver','[testcafe-reporter]\x20swallowed\x20error\x20in\x20','[testcafe-reporter]\x20reportTestStart:\x20','trackEvent','name','../../v2/browserstackCLI','PRE','2913130ewGmXP','12EYFIDM','instance','getTestFramework','165704HZljfD','testRunInfo','stack','yZogt','capabilities','uDmGH','test','push','120dEKXmk','WRFxo','BEFORE_EACH','userAgent','[testcafe-reporter]\x20reportFixtureStart:\x20','meta',',\x20skipped=','[testcafe-reporter]\x20reportTaskDone:\x20passed=','length','ddsld','INIT_TEST','zMqjS','winstonLogger','iterAllInstances','\x20@\x20','fixturePath','62228ZhbVnN','StYPU','rZoJt','\x20browsers','AFTER_ALL','inVQT','../../v2/framework/testcafeAutomationFramework','taskStructure','exports','unstable','currentTaskInfo','failedCount','message','removeInstance','../../v2/state/automationFrameworkState','242295SOmiWe','[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','getInstance','11knbawr','IJYPM','testcafe','QUIT','../../v2/framework/automationFramework','getAutomationFramework'];a71_0x3bed=function(){return _0x4160ee;};return a71_0x3bed();}(function(_0x57a976,_0x239e88){const _0x5cbad6=a71_0x47a2,_0x5cac45=_0x57a976();while(!![]){try{const _0x24446e=-parseInt(_0x5cbad6(0x166))/0x1*(parseInt(_0x5cbad6(0x163))/0x2)+parseInt(_0x5cbad6(0x181))/0x3*(parseInt(_0x5cbad6(0x12e))/0x4)+-parseInt(_0x5cbad6(0x13d))/0x5+parseInt(_0x5cbad6(0x18c))/0x6*(parseInt(_0x5cbad6(0x184))/0x7)+parseInt(_0x5cbad6(0x169))/0x8*(-parseInt(_0x5cbad6(0x14f))/0x9)+parseInt(_0x5cbad6(0x180))/0xa*(parseInt(_0x5cbad6(0x140))/0xb)+parseInt(_0x5cbad6(0x160))/0xc;if(_0x24446e===_0x239e88)break;else _0x5cac45['push'](_0x5cac45['shift']());}catch(_0x5473ce){_0x5cac45['push'](_0x5cac45['shift']());}}}(a71_0x3bed,0x642c7));const path=require(a71_0x4eb8e1(0x172)),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require(a71_0x4eb8e1(0x176)),logger=require(a71_0x4eb8e1(0x155))[a71_0x4eb8e1(0x12a)],BrowserstackCLI=require(a71_0x4eb8e1(0x17e)),TestFrameworkState=require(a71_0x4eb8e1(0x175)),AutomationFrameworkState=require(a71_0x4eb8e1(0x13c)),HookState=require('../../v2/state/hookState'),TestInfo=require(a71_0x4eb8e1(0x162)),AutomationFramework=require(a71_0x4eb8e1(0x144)),TestCafeAutomationFramework=require(a71_0x4eb8e1(0x134)),sessionRegistry=require('../session-registry');function a71_0x47a2(_0x2f8035,_0x55be3e){const _0x3bedb3=a71_0x3bed();return a71_0x47a2=function(_0x47a2cd,_0x4256a0){_0x47a2cd=_0x47a2cd-0x129;let _0x297bbd=_0x3bedb3[_0x47a2cd];return _0x297bbd;},a71_0x47a2(_0x2f8035,_0x55be3e);}module[a71_0x4eb8e1(0x136)]=function(_0x1d4168){const _0x15354e=a71_0x4eb8e1,_0x479c0a={'IJYPM':function(_0x1d9a33,..._0x3ae701){return _0x1d9a33(..._0x3ae701);},'mYaxa':_0x15354e(0x161),'voqja':_0x15354e(0x142),'WRFxo':function(_0x46d330,_0x4ea36d){return _0x46d330===_0x4ea36d;},'uIMwm':_0x15354e(0x14c),'rZoJt':function(_0x3e9772,_0x5b09ca){return _0x3e9772===_0x5b09ca;},'BjTqF':function(_0xc20434,_0x490ee1){return _0xc20434<_0x490ee1;},'zMqjS':function(_0x503f7c,_0xb6e541){return _0x503f7c||_0xb6e541;},'BiOnt':function(_0xc284b4,_0x51f997){return _0xc284b4(_0x51f997);},'OtBEK':function(_0x34ccd4,_0xf42548){return _0x34ccd4-_0xf42548;},'StYPU':_0x15354e(0x14d),'inVQT':function(_0x314cb2,_0x22a3c3){return _0x314cb2(_0x22a3c3);},'xmaOe':function(_0x52805d,_0x17b204,_0x162e9a){return _0x52805d(_0x17b204,_0x162e9a);},'yZogt':function(_0x14178b,_0x5c1c4e){return _0x14178b===_0x5c1c4e;},'TBYpD':function(_0x146d8a,_0x24aaac){return _0x146d8a(_0x24aaac);},'pKjMP':function(_0x2b0b73,_0x4ce7a3){return _0x2b0b73(_0x4ce7a3);},'KAQnI':function(_0x79b26,_0x3d1b04,_0xcbaf48){return _0x79b26(_0x3d1b04,_0xcbaf48);},'apCDy':function(_0x19de4c,_0x35c4ee){return _0x19de4c===_0x35c4ee;},'rqZTl':function(_0x1bf641,_0x1c85cd){return _0x1bf641(_0x1c85cd);},'Gqfki':function(_0x2d9102,_0x3c00b5){return _0x2d9102===_0x3c00b5;},'bMCso':function(_0x192848,_0x5307b2){return _0x192848+_0x5307b2;},'dEUJh':function(_0x3af4e0,_0x2477ab){return _0x3af4e0+_0x2477ab;},'uDmGH':function(_0xefb57e,_0x316b28){return _0xefb57e(_0x316b28);},'ddsld':function(_0x28aa21,_0x24a66b){return _0x28aa21(_0x24a66b);}},_0x39e7c7={'options':_0x479c0a[_0x15354e(0x129)](_0x1d4168,{}),'fixtureStack':[],'currentTaskInfo':null},_0x59d96f=_0x36404c=>async(..._0x68fe9)=>{const _0x183630=_0x15354e;try{return await _0x479c0a[_0x183630(0x141)](_0x36404c,..._0x68fe9);}catch(_0x357005){logger[_0x183630(0x153)](_0x183630(0x17a)+(_0x36404c['name']||_0x479c0a['mYaxa'])+':\x20'+(_0x357005[_0x183630(0x186)]||_0x357005));}};return{'reportTaskStart':_0x479c0a[_0x15354e(0x189)](_0x59d96f,async function _0x294a8b(_0x35fe2e,_0x33fbf6,_0x14b829,_0x4a9374,_0x3fdb78){const _0x43bb15=_0x15354e,_0x4ad821={};_0x4ad821[_0x43bb15(0x165)]=_0x35fe2e,_0x4ad821[_0x43bb15(0x168)]=_0x33fbf6,_0x4ad821['testCount']=_0x14b829,_0x4ad821[_0x43bb15(0x135)]=_0x4a9374,_0x4ad821['properties']=_0x3fdb78,_0x39e7c7[_0x43bb15(0x138)]=_0x4ad821,logger[_0x43bb15(0x15a)]('[testcafe-reporter]\x20reportTaskStart:\x20'+_0x14b829+_0x43bb15(0x178)+_0x33fbf6[_0x43bb15(0x194)]+_0x43bb15(0x131)),TestInfo[_0x43bb15(0x164)]&&TestInfo[_0x43bb15(0x164)](_0x479c0a['voqja']);if(!BrowserstackCLI['getInstance']()||!BrowserstackCLI[_0x43bb15(0x13f)]()[_0x43bb15(0x154)]())return;const _0x286432=BrowserstackCLI['getInstance'](),_0x248e71=_0x286432[_0x43bb15(0x183)]();if(_0x248e71&&_0x479c0a[_0x43bb15(0x18d)](typeof _0x248e71[_0x43bb15(0x17c)],_0x479c0a[_0x43bb15(0x156)])){const _0x5897ef={};_0x5897ef[_0x43bb15(0x165)]=_0x35fe2e,_0x5897ef['userAgents']=_0x33fbf6,_0x5897ef[_0x43bb15(0x159)]=_0x14b829,_0x5897ef[_0x43bb15(0x135)]=_0x4a9374,await _0x248e71['trackEvent'](TestFrameworkState[_0x43bb15(0x196)],HookState[_0x43bb15(0x17f)],_0x5897ef);}const _0x5a5de7=_0x286432[_0x43bb15(0x145)](),_0x2ae293=sessionRegistry[_0x43bb15(0x14a)]();if(_0x5a5de7&&_0x479c0a[_0x43bb15(0x130)](typeof _0x5a5de7['trackEvent'],_0x479c0a[_0x43bb15(0x156)]))for(let _0x239af6=0x0;_0x479c0a['BjTqF'](_0x239af6,(_0x33fbf6||[])['length']);_0x239af6++){const _0x30ccf2=_0x33fbf6[_0x239af6],_0x2b85fb=_0x2ae293[_0x239af6]||{};await _0x5a5de7[_0x43bb15(0x17c)](AutomationFrameworkState[_0x43bb15(0x16b)],HookState['POST'],{'userAgent':_0x30ccf2,'startTime':_0x35fe2e,'driver':_0x2b85fb[_0x43bb15(0x179)],'sessionId':_0x2b85fb['sessionId'],'platformIndex':Number['isInteger'](_0x2b85fb[_0x43bb15(0x15b)])?_0x2b85fb[_0x43bb15(0x15b)]:_0x239af6,'capabilities':_0x2b85fb[_0x43bb15(0x188)]||{},'hubUrl':_0x2b85fb[_0x43bb15(0x15e)]||''});}}),'reportFixtureStart':_0x479c0a[_0x15354e(0x133)](_0x59d96f,async function _0xe49e74(_0x38b647,_0x2b6b35,_0x4cf168){const _0x4edda9=_0x15354e,_0x51eea5={'name':_0x38b647,'path':_0x2b6b35,'meta':_0x479c0a[_0x4edda9(0x129)](_0x4cf168,{})};_0x39e7c7[_0x4edda9(0x15c)][_0x4edda9(0x18b)](_0x51eea5),logger[_0x4edda9(0x177)](_0x4edda9(0x190)+_0x38b647+_0x4edda9(0x12c)+_0x2b6b35);if(BrowserstackCLI[_0x4edda9(0x13f)]()&&BrowserstackCLI[_0x4edda9(0x13f)]()[_0x4edda9(0x154)]()){const _0x3187bf=BrowserstackCLI[_0x4edda9(0x13f)](),_0x51615b=_0x3187bf[_0x4edda9(0x183)]();if(_0x51615b&&_0x479c0a['WRFxo'](typeof _0x51615b[_0x4edda9(0x17c)],_0x479c0a[_0x4edda9(0x156)])){const _0x2a53ca=_0x39e7c7[_0x4edda9(0x138)]&&_0x39e7c7['currentTaskInfo'][_0x4edda9(0x168)]||[],_0x4c2aa2={'fixture':_0x51eea5,'fixtureIdentifier':_0x479c0a[_0x4edda9(0x170)](getFixtureIdentifier,_0x51eea5),'userAgents':_0x2a53ca};await _0x51615b[_0x4edda9(0x17c)](TestFrameworkState['BEFORE_ALL'],HookState[_0x4edda9(0x17f)],_0x4c2aa2),await _0x51615b['trackEvent'](TestFrameworkState[_0x4edda9(0x14e)],HookState['POST'],_0x4c2aa2);}}}),'reportTestStart':_0x479c0a[_0x15354e(0x189)](_0x59d96f,async function _0x55e9ec(_0x2da429,_0x28f6a5,_0x327a83){const _0x2f99ea=_0x15354e,_0x18445b=_0x39e7c7['fixtureStack'][_0x479c0a['OtBEK'](_0x39e7c7[_0x2f99ea(0x15c)]['length'],0x1)]||{'name':_0x479c0a[_0x2f99ea(0x12f)],'path':_0x479c0a['StYPU']},_0x26fd48={};_0x26fd48[_0x2f99ea(0x15d)]=_0x18445b[_0x2f99ea(0x17d)],_0x26fd48[_0x2f99ea(0x12d)]=_0x18445b[_0x2f99ea(0x172)],_0x26fd48[_0x2f99ea(0x167)]=_0x2da429,_0x26fd48['meta']=_0x28f6a5;const _0xc7f7c3=_0x479c0a[_0x2f99ea(0x133)](synthesizeTestObject,_0x26fd48);logger['debug'](_0x2f99ea(0x17b)+_0x479c0a[_0x2f99ea(0x16e)](getTestIdentifier,_0xc7f7c3,0x0));const _0x55f82a=_0x39e7c7[_0x2f99ea(0x138)]&&_0x39e7c7[_0x2f99ea(0x138)][_0x2f99ea(0x168)]||[];if(BrowserstackCLI[_0x2f99ea(0x13f)]()&&BrowserstackCLI[_0x2f99ea(0x13f)]()[_0x2f99ea(0x154)]()){const _0x481c19=BrowserstackCLI[_0x2f99ea(0x13f)](),_0x5ec80b=_0x481c19[_0x2f99ea(0x183)]();if(_0x5ec80b&&_0x479c0a[_0x2f99ea(0x187)](typeof _0x5ec80b[_0x2f99ea(0x17c)],_0x479c0a[_0x2f99ea(0x156)])){const _0x4d0f1d={'fixture':_0x18445b,'test':_0xc7f7c3,'fixtureIdentifier':_0x479c0a[_0x2f99ea(0x146)](getFixtureIdentifier,_0x18445b),'userAgents':_0x55f82a};await _0x5ec80b[_0x2f99ea(0x17c)](TestFrameworkState[_0x2f99ea(0x18e)],HookState[_0x2f99ea(0x17f)],_0x4d0f1d),await _0x5ec80b[_0x2f99ea(0x17c)](TestFrameworkState['BEFORE_EACH'],HookState['POST'],_0x4d0f1d);const _0xbb7068={};_0xbb7068[_0x2f99ea(0x18a)]=_0xc7f7c3,_0xbb7068[_0x2f99ea(0x158)]=_0x327a83,_0xbb7068['meta']=_0x28f6a5,_0xbb7068['userAgents']=_0x55f82a,await _0x5ec80b[_0x2f99ea(0x17c)](TestFrameworkState[_0x2f99ea(0x16a)],HookState[_0x2f99ea(0x17f)],_0xbb7068);}}}),'reportTestDone':_0x479c0a['TBYpD'](_0x59d96f,async function _0x102757(_0x1c6962,_0x16f1b3,_0x23240d){const _0x2696f7=_0x15354e,_0x44d3fb=_0x39e7c7['fixtureStack'][_0x479c0a['OtBEK'](_0x39e7c7[_0x2696f7(0x15c)][_0x2696f7(0x194)],0x1)]||{'name':_0x479c0a[_0x2696f7(0x12f)],'path':_0x479c0a[_0x2696f7(0x12f)]},_0x4eb977={};_0x4eb977[_0x2696f7(0x15d)]=_0x44d3fb['name'],_0x4eb977[_0x2696f7(0x12d)]=_0x44d3fb[_0x2696f7(0x172)],_0x4eb977['testName']=_0x1c6962,_0x4eb977[_0x2696f7(0x191)]=_0x23240d;const _0x5d807e=_0x479c0a['IJYPM'](synthesizeTestObject,_0x4eb977),_0x13d408=Array[_0x2696f7(0x151)](_0x16f1b3&&_0x16f1b3[_0x2696f7(0x148)])?_0x16f1b3[_0x2696f7(0x148)][_0x2696f7(0x16c)](formatError)[_0x2696f7(0x152)](Boolean):[],_0x4b21bd=_0x479c0a[_0x2696f7(0x149)](getScreenshotPaths,_0x16f1b3)[_0x2696f7(0x16c)](_0x36f480=>({'screenshotPath':_0x36f480})),_0x37aefc={};_0x37aefc['durationMs']=_0x16f1b3&&_0x16f1b3['durationMs']||0x0,_0x37aefc['skipped']=!!(_0x16f1b3&&_0x16f1b3[_0x2696f7(0x174)]),_0x37aefc[_0x2696f7(0x148)]=_0x13d408,_0x37aefc['screenshots']=_0x4b21bd,_0x37aefc[_0x2696f7(0x137)]=!!(_0x16f1b3&&_0x16f1b3[_0x2696f7(0x137)]),_0x37aefc['quarantine']=_0x16f1b3&&_0x16f1b3['quarantine'];const _0x16900b=_0x37aefc;logger['debug'](_0x2696f7(0x15f)+_0x479c0a['KAQnI'](getTestIdentifier,_0x5d807e,0x0)+'\x20(errs='+_0x13d408[_0x2696f7(0x194)]+_0x2696f7(0x192)+_0x16900b[_0x2696f7(0x174)]+')');const _0x3fd22b=_0x39e7c7[_0x2696f7(0x138)]&&_0x39e7c7[_0x2696f7(0x138)]['userAgents']||[];if(BrowserstackCLI[_0x2696f7(0x13f)]()&&BrowserstackCLI[_0x2696f7(0x13f)]()['isRunning']()){const _0xa36713=BrowserstackCLI[_0x2696f7(0x13f)](),_0x560b08=_0xa36713[_0x2696f7(0x183)]();if(_0x560b08&&_0x479c0a[_0x2696f7(0x16f)](typeof _0x560b08[_0x2696f7(0x17c)],_0x479c0a[_0x2696f7(0x156)])){const _0x4ad382={};_0x4ad382[_0x2696f7(0x18a)]=_0x5d807e,_0x4ad382[_0x2696f7(0x185)]=_0x16900b,_0x4ad382[_0x2696f7(0x191)]=_0x23240d,_0x4ad382[_0x2696f7(0x168)]=_0x3fd22b,await _0x560b08['trackEvent'](TestFrameworkState[_0x2696f7(0x16a)],HookState[_0x2696f7(0x173)],_0x4ad382);const _0x1b832e={'fixture':_0x44d3fb,'test':_0x5d807e,'fixtureIdentifier':_0x479c0a['pKjMP'](getFixtureIdentifier,_0x44d3fb),'userAgents':_0x3fd22b};await _0x560b08[_0x2696f7(0x17c)](TestFrameworkState[_0x2696f7(0x150)],HookState['PRE'],_0x1b832e),await _0x560b08[_0x2696f7(0x17c)](TestFrameworkState[_0x2696f7(0x150)],HookState['POST'],_0x1b832e);}}}),'reportTaskDone':_0x479c0a[_0x15354e(0x195)](_0x59d96f,async function _0x4fc9d2(_0xe8fd5b,_0x35cc0e,_0x51ff93,_0x2194d8){const _0x3afa57=_0x15354e;while(_0x39e7c7[_0x3afa57(0x15c)]['length']){const _0x260391=_0x39e7c7['fixtureStack'][_0x3afa57(0x147)]();if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x3afa57(0x13f)]()[_0x3afa57(0x154)]()){const _0x49ebe1=BrowserstackCLI['getInstance'](),_0x573f0f=_0x49ebe1[_0x3afa57(0x183)]();if(_0x573f0f&&_0x479c0a[_0x3afa57(0x16f)](typeof _0x573f0f[_0x3afa57(0x17c)],_0x479c0a['uIMwm'])){const _0x259d2e=_0x39e7c7[_0x3afa57(0x138)]&&_0x39e7c7[_0x3afa57(0x138)][_0x3afa57(0x168)]||[],_0x2e9fc7={'fixture':_0x260391,'fixtureIdentifier':_0x479c0a['rqZTl'](getFixtureIdentifier,_0x260391),'userAgents':_0x259d2e};await _0x573f0f[_0x3afa57(0x17c)](TestFrameworkState[_0x3afa57(0x132)],HookState[_0x3afa57(0x17f)],_0x2e9fc7),await _0x573f0f[_0x3afa57(0x17c)](TestFrameworkState[_0x3afa57(0x132)],HookState[_0x3afa57(0x173)],_0x2e9fc7);}}}if(BrowserstackCLI[_0x3afa57(0x13f)]()&&BrowserstackCLI[_0x3afa57(0x13f)]()[_0x3afa57(0x154)]()){const _0x31fc2b=BrowserstackCLI[_0x3afa57(0x13f)](),_0x187058=_0x31fc2b['getAutomationFramework']();if(_0x187058&&_0x479c0a['Gqfki'](typeof _0x187058['trackEvent'],_0x479c0a[_0x3afa57(0x156)]))for(const {userAgent:_0x2384b4,platformIndex:_0x33806d,instance:_0x4f1200}of TestCafeAutomationFramework[_0x3afa57(0x12b)]()){try{const _0x49e77b={};_0x49e77b[_0x3afa57(0x18f)]=_0x2384b4,_0x49e77b[_0x3afa57(0x15b)]=_0x33806d,_0x49e77b['endTime']=_0xe8fd5b,_0x49e77b[_0x3afa57(0x182)]=_0x4f1200,await _0x187058[_0x3afa57(0x17c)](AutomationFrameworkState[_0x3afa57(0x143)],HookState['POST'],_0x49e77b);}catch(_0x3b8769){logger[_0x3afa57(0x153)](_0x3afa57(0x13e)+_0x2384b4+'#'+_0x33806d+':\x20'+_0x3b8769[_0x3afa57(0x13a)]);}TestCafeAutomationFramework[_0x3afa57(0x13b)](_0x2384b4,_0x33806d);}}logger[_0x3afa57(0x15a)](_0x3afa57(0x193)+_0x35cc0e+_0x3afa57(0x16d)+(_0x51ff93&&_0x51ff93[_0x3afa57(0x194)])+'\x20totalDuration='+(_0x2194d8&&_0x479c0a[_0x3afa57(0x171)](_0x479c0a[_0x3afa57(0x14b)](_0x2194d8[_0x3afa57(0x139)],_0x2194d8[_0x3afa57(0x157)]),_0x2194d8['skippedCount'])));})};};
@@ -1 +1 @@
1
- 'use strict';const a72_0x5dd175=a72_0x5ce4;(function(_0x3670ce,_0x5c8e1d){const _0x1cb5f9=a72_0x5ce4,_0x4d00fa=_0x3670ce();while(!![]){try{const _0x588edc=parseInt(_0x1cb5f9(0x147))/0x1*(parseInt(_0x1cb5f9(0x12d))/0x2)+-parseInt(_0x1cb5f9(0x138))/0x3*(parseInt(_0x1cb5f9(0x14d))/0x4)+parseInt(_0x1cb5f9(0x136))/0x5+parseInt(_0x1cb5f9(0x14a))/0x6+-parseInt(_0x1cb5f9(0x140))/0x7+parseInt(_0x1cb5f9(0x14e))/0x8*(parseInt(_0x1cb5f9(0x13b))/0x9)+-parseInt(_0x1cb5f9(0x13d))/0xa;if(_0x588edc===_0x5c8e1d)break;else _0x4d00fa['push'](_0x4d00fa['shift']());}catch(_0x11a86a){_0x4d00fa['push'](_0x4d00fa['shift']());}}}(a72_0xe5b9,0x4f761));function a72_0x5ce4(_0x561d48,_0x46cee2){const _0xe5b96=a72_0xe5b9();return a72_0x5ce4=function(_0x5ce4ef,_0x211ef9){_0x5ce4ef=_0x5ce4ef-0x129;let _0x5ca359=_0xe5b96[_0x5ce4ef];return _0x5ca359;},a72_0x5ce4(_0x561d48,_0x46cee2);}function getTestIdentifier(_0x354d00,_0x2012bf){const _0x9fcbd2=a72_0x5ce4,_0x1b0e64={};_0x1b0e64[_0x9fcbd2(0x133)]=_0x9fcbd2(0x143);const _0x115f19=_0x1b0e64,_0x367011=_0x354d00&&_0x354d00[_0x9fcbd2(0x149)]&&_0x354d00[_0x9fcbd2(0x149)]['path']||_0x115f19[_0x9fcbd2(0x133)],_0x10c506=_0x354d00&&_0x354d00[_0x9fcbd2(0x149)]&&_0x354d00[_0x9fcbd2(0x149)][_0x9fcbd2(0x146)]||_0x115f19[_0x9fcbd2(0x133)],_0xc1a872=_0x354d00&&_0x354d00[_0x9fcbd2(0x146)]||_0x115f19[_0x9fcbd2(0x133)],_0x3d553a=_0x367011+'::'+_0x10c506+'::'+_0xc1a872;return _0x2012bf?_0x3d553a+'::retry'+_0x2012bf:_0x3d553a;}function getFixtureIdentifier(_0x4ea7fc){const _0x2f650c=a72_0x5ce4,_0x4509ef={};_0x4509ef['HSNtC']=_0x2f650c(0x143);const _0x31283b=_0x4509ef,_0x519fc9=_0x4ea7fc&&_0x4ea7fc[_0x2f650c(0x131)]||_0x31283b['HSNtC'],_0x18423f=_0x4ea7fc&&_0x4ea7fc[_0x2f650c(0x146)]||_0x31283b[_0x2f650c(0x13a)];return _0x519fc9+'::'+_0x18423f;}function synthesizeTestObject({fixtureName:_0x314845,fixturePath:_0x17021f,testName:_0x10ed1b,meta:_0x542f6a}){const _0x12b7fa=a72_0x5ce4,_0x3c75e5={};_0x3c75e5[_0x12b7fa(0x142)]=function(_0x1d92d0,_0x27c09e){return _0x1d92d0||_0x27c09e;};const _0x359e96=_0x3c75e5,_0x3f48d5={};return _0x3f48d5[_0x12b7fa(0x146)]=_0x314845,_0x3f48d5[_0x12b7fa(0x131)]=_0x17021f,{'name':_0x10ed1b,'meta':_0x359e96[_0x12b7fa(0x142)](_0x542f6a,{}),'fixture':_0x3f48d5};}function getScreenshotPaths(_0x2b6e07){const _0x4d8254=a72_0x5ce4;if(!_0x2b6e07||!Array[_0x4d8254(0x145)](_0x2b6e07[_0x4d8254(0x137)]))return[];return _0x2b6e07[_0x4d8254(0x137)][_0x4d8254(0x12b)](_0x17db1d=>_0x17db1d&&(_0x17db1d[_0x4d8254(0x132)]||_0x17db1d[_0x4d8254(0x135)])||null)['filter'](Boolean);}function formatError(_0x438c86){const _0x5e0d7a=a72_0x5ce4,_0x12f2a4={'pEgDF':_0x5e0d7a(0x139),'xrRyq':function(_0x3fe895,_0xb53ab7){return _0x3fe895(_0xb53ab7);},'AUVdZ':function(_0x414a48,_0x1e3652){return _0x414a48(_0x1e3652);}};if(!_0x438c86)return null;return{'type':_0x438c86[_0x5e0d7a(0x13f)]||_0x12f2a4['pEgDF'],'message':_0x438c86[_0x5e0d7a(0x13e)]||_0x438c86[_0x5e0d7a(0x148)]||_0x12f2a4['xrRyq'](String,_0x438c86),'stack':_0x12f2a4[_0x5e0d7a(0x141)](_tryRenderCallsite,_0x438c86)};}function _tryRenderCallsite(_0xfa37bb){const _0xf8e87e=a72_0x5ce4,_0xf4ab25={};_0xf4ab25['IPjex']=function(_0xe1c021,_0x36596c){return _0xe1c021===_0x36596c;},_0xf4ab25[_0xf8e87e(0x12e)]=_0xf8e87e(0x144);const _0x44e750=_0xf4ab25;try{if(_0xfa37bb&&_0xfa37bb[_0xf8e87e(0x129)]&&_0x44e750['IPjex'](typeof _0xfa37bb[_0xf8e87e(0x129)][_0xf8e87e(0x12c)],_0x44e750[_0xf8e87e(0x12e)])){const _0x5ab271={};return _0x5ab271[_0xf8e87e(0x14c)]=()=>!![],_0xfa37bb[_0xf8e87e(0x129)][_0xf8e87e(0x12c)](_0x5ab271);}}catch(_0x28f3a9){}return'';}const a72_0x456741={};a72_0x456741[a72_0x5dd175(0x13c)]=getTestIdentifier,a72_0x456741[a72_0x5dd175(0x134)]=getFixtureIdentifier,a72_0x456741[a72_0x5dd175(0x12f)]=synthesizeTestObject,a72_0x456741[a72_0x5dd175(0x130)]=getScreenshotPaths,a72_0x456741[a72_0x5dd175(0x14b)]=formatError,module[a72_0x5dd175(0x12a)]=a72_0x456741;function a72_0xe5b9(){const _0x371817=['9420640CgZAvJ','formattedMessage','code','438550xYYFAL','AUVdZ','itaHA','unknown','function','isArray','name','113xqQCnl','errMsg','fixture','2854446QONZMP','formatError','stackFilter','8oCXfZh','16xzgwkv','callsite','exports','map','renderSync','7356rgaAaq','mNXzS','synthesizeTestObject','getScreenshotPaths','path','screenshotPath','KLEkK','getFixtureIdentifier','screenshotPathForPDF','2430000TQZSYP','screenshots','842043uTDdJR','TestCafeError','HSNtC','2313873TMAigh','getTestIdentifier'];a72_0xe5b9=function(){return _0x371817;};return a72_0xe5b9();}
1
+ 'use strict';const a72_0x520266=a72_0x3e7e;(function(_0x27fb7e,_0x58eee7){const _0x4ebff1=a72_0x3e7e,_0x5e8ea1=_0x27fb7e();while(!![]){try{const _0x56006d=-parseInt(_0x4ebff1(0xa6))/0x1+-parseInt(_0x4ebff1(0xa4))/0x2*(parseInt(_0x4ebff1(0x9f))/0x3)+-parseInt(_0x4ebff1(0xa0))/0x4*(-parseInt(_0x4ebff1(0x8c))/0x5)+parseInt(_0x4ebff1(0x83))/0x6+-parseInt(_0x4ebff1(0x92))/0x7+parseInt(_0x4ebff1(0xa7))/0x8*(parseInt(_0x4ebff1(0x82))/0x9)+parseInt(_0x4ebff1(0x87))/0xa;if(_0x56006d===_0x58eee7)break;else _0x5e8ea1['push'](_0x5e8ea1['shift']());}catch(_0x5b923c){_0x5e8ea1['push'](_0x5e8ea1['shift']());}}}(a72_0x3e09,0x921e3));function getTestIdentifier(_0x22f030,_0x11b771){const _0x1e8be3=a72_0x3e7e,_0x4122cf={};_0x4122cf['HVUDs']=_0x1e8be3(0x9c);const _0x4e1640=_0x4122cf,_0x39420e=_0x22f030&&_0x22f030['fixture']&&_0x22f030[_0x1e8be3(0x97)]['path']||_0x4e1640[_0x1e8be3(0x98)],_0x4794bd=_0x22f030&&_0x22f030['fixture']&&_0x22f030[_0x1e8be3(0x97)][_0x1e8be3(0xa1)]||_0x4e1640[_0x1e8be3(0x98)],_0x20b530=_0x22f030&&_0x22f030[_0x1e8be3(0xa1)]||_0x4e1640['HVUDs'],_0x3920ec=_0x39420e+'::'+_0x4794bd+'::'+_0x20b530;return _0x11b771?_0x3920ec+_0x1e8be3(0x8d)+_0x11b771:_0x3920ec;}function getFixtureIdentifier(_0x603db8){const _0x17dc98=a72_0x3e7e,_0x41fa2c={};_0x41fa2c[_0x17dc98(0x99)]='unknown';const _0x59c2c7=_0x41fa2c,_0x2850e2=_0x603db8&&_0x603db8[_0x17dc98(0x9a)]||_0x59c2c7[_0x17dc98(0x99)],_0x41ab05=_0x603db8&&_0x603db8[_0x17dc98(0xa1)]||_0x59c2c7[_0x17dc98(0x99)];return _0x2850e2+'::'+_0x41ab05;}function synthesizeTestObject({fixtureName:_0x206ed6,fixturePath:_0x2765dd,testName:_0x30edb1,meta:_0x3d643d}){const _0x3b76e5=a72_0x3e7e,_0x1345ca={};_0x1345ca['bUcOe']=function(_0x317d50,_0x42c7bb){return _0x317d50||_0x42c7bb;};const _0x187a9d=_0x1345ca,_0x55c194={};return _0x55c194['name']=_0x206ed6,_0x55c194[_0x3b76e5(0x9a)]=_0x2765dd,{'name':_0x30edb1,'meta':_0x187a9d['bUcOe'](_0x3d643d,{}),'fixture':_0x55c194};}function getScreenshotPaths(_0x3f91be){const _0x29df6a=a72_0x3e7e;if(!_0x3f91be||!Array[_0x29df6a(0x89)](_0x3f91be[_0x29df6a(0x8b)]))return[];return _0x3f91be['screenshots'][_0x29df6a(0x9d)](_0x410c75=>_0x410c75&&(_0x410c75[_0x29df6a(0x86)]||_0x410c75[_0x29df6a(0xa3)])||null)['filter'](Boolean);}function a72_0x3e09(){const _0x221b75=['name','hDxWY','screenshotPathForPDF','102lMDfwA','errMsg','852781ILSrmm','8BfVzZe','9139059VvpDwz','7168890FzwIvC','OjoMS','renderSync','screenshotPath','2771260CyUtRD','mvkpJ','isArray','function','screenshots','5kXeUAU','::retry','getScreenshotPaths','TestCafeError','getFixtureIdentifier','exports','8284073TipeFb','getTestIdentifier','stackFilter','formatError','callsite','fixture','HVUDs','gyGFX','path','synthesizeTestObject','unknown','map','nLXpv','14238fTadMy','1557492yFkHZb'];a72_0x3e09=function(){return _0x221b75;};return a72_0x3e09();}function formatError(_0x22764c){const _0x3398e1=a72_0x3e7e,_0x602866={'dzfhz':_0x3398e1(0x8f),'nLXpv':function(_0x5e2ec8,_0x3d8ff5){return _0x5e2ec8(_0x3d8ff5);},'mvkpJ':function(_0x4c0ba8,_0x40e200){return _0x4c0ba8(_0x40e200);}};if(!_0x22764c)return null;return{'type':_0x22764c['code']||_0x602866['dzfhz'],'message':_0x22764c['formattedMessage']||_0x22764c[_0x3398e1(0xa5)]||_0x602866[_0x3398e1(0x9e)](String,_0x22764c),'stack':_0x602866[_0x3398e1(0x88)](_tryRenderCallsite,_0x22764c)};}function a72_0x3e7e(_0x107955,_0x39c250){const _0x3e09a1=a72_0x3e09();return a72_0x3e7e=function(_0x3e7e17,_0x4ba3c8){_0x3e7e17=_0x3e7e17-0x82;let _0x55b607=_0x3e09a1[_0x3e7e17];return _0x55b607;},a72_0x3e7e(_0x107955,_0x39c250);}function _tryRenderCallsite(_0x2445a2){const _0x2a4dc7=a72_0x3e7e,_0x27833d={};_0x27833d[_0x2a4dc7(0x84)]=function(_0x53b391,_0x10f440){return _0x53b391===_0x10f440;},_0x27833d[_0x2a4dc7(0xa2)]=_0x2a4dc7(0x8a);const _0xe71ea1=_0x27833d;try{if(_0x2445a2&&_0x2445a2[_0x2a4dc7(0x96)]&&_0xe71ea1['OjoMS'](typeof _0x2445a2[_0x2a4dc7(0x96)][_0x2a4dc7(0x85)],_0xe71ea1[_0x2a4dc7(0xa2)])){const _0x33be0b={};return _0x33be0b[_0x2a4dc7(0x94)]=()=>!![],_0x2445a2['callsite']['renderSync'](_0x33be0b);}}catch(_0x1f6fdd){}return'';}const a72_0x4b647c={};a72_0x4b647c[a72_0x520266(0x93)]=getTestIdentifier,a72_0x4b647c[a72_0x520266(0x90)]=getFixtureIdentifier,a72_0x4b647c[a72_0x520266(0x9b)]=synthesizeTestObject,a72_0x4b647c[a72_0x520266(0x8e)]=getScreenshotPaths,a72_0x4b647c[a72_0x520266(0x95)]=formatError,module[a72_0x520266(0x91)]=a72_0x4b647c;
@@ -1 +1 @@
1
- 'use strict';const a73_0x564e1b=a73_0x1f20;(function(_0x32f7c9,_0x5c7277){const _0x305542=a73_0x1f20,_0x7097f6=_0x32f7c9();while(!![]){try{const _0x108405=-parseInt(_0x305542(0x14b))/0x1*(-parseInt(_0x305542(0x107))/0x2)+-parseInt(_0x305542(0x13f))/0x3+-parseInt(_0x305542(0x106))/0x4*(-parseInt(_0x305542(0x14e))/0x5)+-parseInt(_0x305542(0x148))/0x6*(-parseInt(_0x305542(0x150))/0x7)+parseInt(_0x305542(0x11d))/0x8+-parseInt(_0x305542(0x11e))/0x9*(-parseInt(_0x305542(0x122))/0xa)+parseInt(_0x305542(0x10f))/0xb*(-parseInt(_0x305542(0x132))/0xc);if(_0x108405===_0x5c7277)break;else _0x7097f6['push'](_0x7097f6['shift']());}catch(_0x5d291f){_0x7097f6['push'](_0x7097f6['shift']());}}}(a73_0x463d,0x1de2e));const got=require(a73_0x564e1b(0x13d)),logger=require(a73_0x564e1b(0x149))[a73_0x564e1b(0x125)],{BROWSERSTACK_API_URL}=require(a73_0x564e1b(0x118)),_entries=[];function register(_0x526c53){const _0x1275f8=a73_0x564e1b,_0x5b8545={};_0x5b8545[_0x1275f8(0x130)]=_0x1275f8(0x140),_0x5b8545[_0x1275f8(0x134)]=_0x1275f8(0x115);const _0x51d235=_0x5b8545,_0x450371={'status':_0x51d235[_0x1275f8(0x130)],'reason':_0x51d235['YJkYp'],..._0x526c53};_entries[_0x1275f8(0x138)](_0x450371);}function listEntries(){const _0x17fd51=a73_0x564e1b;return _entries[_0x17fd51(0x143)]();}function markStatus(_0x1d7a48,_0x464651,_0x4a5631){const _0x2d7fa9=a73_0x564e1b,_0x14bbfe={};_0x14bbfe[_0x2d7fa9(0x14a)]=function(_0x494aca,_0x3a6e63){return _0x494aca===_0x3a6e63;};const _0x254570=_0x14bbfe;for(const _0x33f389 of _entries){if(_0x254570['PaOAo'](_0x33f389[_0x2d7fa9(0x152)],_0x1d7a48))return _0x33f389[_0x2d7fa9(0x14c)]=_0x464651,_0x4a5631&&(_0x33f389[_0x2d7fa9(0x129)]=_0x4a5631),!![];}return![];}function _resolveCreds(_0x421c31){const _0xc8afb2=a73_0x564e1b,_0x30139b={'CVJWW':function(_0x27aee7,_0x49cc1d){return _0x27aee7(_0x49cc1d);},'YAJpp':function(_0x2b476b,_0x41b0ff){return _0x2b476b(_0x41b0ff);},'QyMAe':function(_0x47ea94,_0xf0ea4c){return _0x47ea94(_0xf0ea4c);}};try{if(_0x421c31){const _0x1400f6=_0x30139b[_0xc8afb2(0x136)](String,_0x421c31)[_0xc8afb2(0x141)](),_0x102efa=/^https?:\/\//i[_0xc8afb2(0x13e)](_0x1400f6)?_0x1400f6:'https://'+_0x1400f6[_0xc8afb2(0x108)](/^\/+/,''),_0x2518d2=new URL(_0x102efa);if(_0x2518d2[_0xc8afb2(0x131)]||_0x2518d2[_0xc8afb2(0x113)])return{'username':_0x30139b['YAJpp'](decodeURIComponent,_0x2518d2['username']||''),'password':_0x30139b[_0xc8afb2(0x116)](decodeURIComponent,_0x2518d2[_0xc8afb2(0x113)]||'')};}}catch(_0x3fbec7){}const _0x28c639={};return _0x28c639[_0xc8afb2(0x131)]=process[_0xc8afb2(0x10b)][_0xc8afb2(0x11c)]||'',_0x28c639[_0xc8afb2(0x113)]=process[_0xc8afb2(0x10b)]['BROWSERSTACK_ACCESS_KEY']||'',_0x28c639;}function a73_0x1f20(_0x3f3c8e,_0x24167f){const _0x463db9=a73_0x463d();return a73_0x1f20=function(_0x1f2070,_0x4c6797){_0x1f2070=_0x1f2070-0x105;let _0x4d45b0=_0x463db9[_0x1f2070];return _0x4d45b0;},a73_0x1f20(_0x3f3c8e,_0x24167f);}async function _markViaRestApi(_0x335fdf){const _0x3cc029=a73_0x564e1b,_0x4c5c4c={'bOMEO':function(_0x1c0b1b,_0x369556){return _0x1c0b1b(_0x369556);},'nsaqk':function(_0x5e35a5,_0xdce6f0){return _0x5e35a5||_0xdce6f0;},'DlOEg':'failed','wFsnB':'json','nAqwV':function(_0xb39e66,_0x32c232){return _0xb39e66>=_0x32c232;},'ZIFJt':function(_0x8f722b,_0xd6067b){return _0x8f722b<_0xd6067b;}},{username:_0x16cb95,password:_0x3e4d03}=_0x4c5c4c[_0x3cc029(0x14d)](_resolveCreds,_0x335fdf[_0x3cc029(0x135)]);if(_0x4c5c4c[_0x3cc029(0x137)](!_0x16cb95,!_0x3e4d03))return logger[_0x3cc029(0x133)](_0x3cc029(0x112)+_0x335fdf[_0x3cc029(0x119)]+_0x3cc029(0x139)),![];const _0x2c3b83=BROWSERSTACK_API_URL+_0x3cc029(0x110)+_0x335fdf['sessionId']+_0x3cc029(0x11f);try{const _0x48305f={};_0x48305f[_0x3cc029(0x14c)]=_0x335fdf[_0x3cc029(0x14c)]||_0x4c5c4c[_0x3cc029(0x154)],_0x48305f['reason']=_0x335fdf['reason']||'';const _0x3b6946={};_0x3b6946[_0x3cc029(0x151)]=0x7530;const _0x120488={};_0x120488['username']=_0x16cb95,_0x120488[_0x3cc029(0x113)]=_0x3e4d03,_0x120488[_0x3cc029(0x126)]=_0x48305f,_0x120488[_0x3cc029(0x117)]=_0x4c5c4c[_0x3cc029(0x114)],_0x120488[_0x3cc029(0x121)]=![],_0x120488[_0x3cc029(0x12e)]=_0x3b6946;const _0x51a3a7=await got[_0x3cc029(0x14f)](_0x2c3b83,_0x120488);if(_0x4c5c4c[_0x3cc029(0x145)](_0x51a3a7[_0x3cc029(0x153)],0xc8)&&_0x4c5c4c[_0x3cc029(0x12c)](_0x51a3a7[_0x3cc029(0x153)],0x12c))return logger['info'](_0x3cc029(0x111)+_0x335fdf[_0x3cc029(0x14c)]+')\x20OK\x20for\x20'+_0x335fdf[_0x3cc029(0x119)]),!![];return logger['warn'](_0x3cc029(0x12d)+_0x51a3a7['statusCode']+_0x3cc029(0x123)+_0x335fdf[_0x3cc029(0x119)]+':\x20'+JSON[_0x3cc029(0x144)](_0x51a3a7[_0x3cc029(0x105)])['slice'](0x0,0xc8)),![];}catch(_0x3610fd){return logger[_0x3cc029(0x133)]('[session-registry]\x20REST\x20mark\x20failed\x20for\x20'+_0x335fdf[_0x3cc029(0x119)]+':\x20'+_0x3610fd[_0x3cc029(0x124)]),![];}}async function quitAll(){const _0x25d198=a73_0x564e1b,_0x5d082b={'uKgjH':function(_0x5cccc6,_0x5b7f92){return _0x5cccc6===_0x5b7f92;},'splwP':'function','tTBhR':'setSessionStatus','rutaf':'failed','crQGd':function(_0x26a4d1,_0x1b7813){return _0x26a4d1(_0x1b7813);}};try{for(const _0xd2a378 of _entries){let _0x352ba2=![];try{if(_0xd2a378[_0x25d198(0x146)]&&_0x5d082b[_0x25d198(0x12a)](typeof _0xd2a378[_0x25d198(0x146)]['executeScript'],_0x5d082b[_0x25d198(0x127)])){const _0x5a7079={};_0x5a7079[_0x25d198(0x11b)]=_0x5d082b[_0x25d198(0x10e)],_0x5a7079[_0x25d198(0x120)]={},_0x5a7079[_0x25d198(0x120)][_0x25d198(0x14c)]=_0xd2a378[_0x25d198(0x14c)]||_0x5d082b['rutaf'],_0x5a7079[_0x25d198(0x120)][_0x25d198(0x129)]=_0xd2a378['reason']||'';const _0x15a904=_0x25d198(0x13b)+JSON['stringify'](_0x5a7079);await _0xd2a378[_0x25d198(0x146)][_0x25d198(0x147)](_0x15a904),_0x352ba2=!![],logger[_0x25d198(0x109)](_0x25d198(0x12b)+_0xd2a378[_0x25d198(0x14c)]+_0x25d198(0x11a)+_0xd2a378[_0x25d198(0x119)]);}}catch(_0x1467b8){logger[_0x25d198(0x133)](_0x25d198(0x10d)+_0xd2a378[_0x25d198(0x119)]+_0x25d198(0x12f)+_0x1467b8['message']);}!_0x352ba2&&await _0x5d082b[_0x25d198(0x128)](_markViaRestApi,_0xd2a378);try{_0xd2a378['driver']&&_0x5d082b[_0x25d198(0x12a)](typeof _0xd2a378[_0x25d198(0x146)][_0x25d198(0x13c)],_0x5d082b[_0x25d198(0x127)])&&await _0xd2a378[_0x25d198(0x146)][_0x25d198(0x13c)]();}catch(_0x48ab02){logger[_0x25d198(0x133)]('[session-registry]\x20driver.quit\x20failed\x20for\x20'+_0xd2a378[_0x25d198(0x119)]+':\x20'+_0x48ab02[_0x25d198(0x124)]);}}}finally{_entries['length']=0x0;}}const a73_0x5367d6={};function a73_0x463d(){const _0x57deac=['tTBhR','2739tPkodn','/automate/sessions/','[session-registry]\x20REST\x20setSessionStatus(','[session-registry]\x20REST\x20mark\x20skipped\x20for\x20','password','wFsnB','TestCafe\x20session\x20ended\x20without\x20an\x20explicit\x20pass/fail\x20marker','QyMAe','responseType','../utils/constants','sessionId',')\x20OK\x20for\x20','action','BROWSERSTACK_USERNAME','1457952WlaeUZ','36SmhaYf','.json','arguments','throwHttpErrors','594880qKBMEw','\x20for\x20','message','winstonLogger','json','splwP','crQGd','reason','uKgjH','[session-registry]\x20executeScript\x20setSessionStatus(','ZIFJt','[session-registry]\x20REST\x20mark\x20HTTP\x20','timeout','\x20(will\x20retry\x20via\x20REST):\x20','QoxVt','username','24852JGFgOR','warn','YJkYp','hubUrl','CVJWW','nsaqk','push',':\x20no\x20BROWSERSTACK_USERNAME/ACCESS_KEY','listEntries','browserstack_executor:\x20','quit','got','test','617742OgtxMV','failed','trim','markStatus','slice','stringify','nAqwV','driver','executeScript','47262gfLeEa','../../helpers/logger','PaOAo','2062gfYFoQ','status','bOMEO','15ttknZA','put','203ybpCSO','request','platformIndex','statusCode','DlOEg','body','153280BjJHzv','78BqRrXI','replace','info','quitAll','env','register','[session-registry]\x20executeScript\x20setSessionStatus\x20failed\x20for\x20'];a73_0x463d=function(){return _0x57deac;};return a73_0x463d();}a73_0x5367d6[a73_0x564e1b(0x10c)]=register,a73_0x5367d6[a73_0x564e1b(0x13a)]=listEntries,a73_0x5367d6[a73_0x564e1b(0x142)]=markStatus,a73_0x5367d6[a73_0x564e1b(0x10a)]=quitAll,module['exports']=a73_0x5367d6;
1
+ 'use strict';const a73_0x63ca98=a73_0x125f;(function(_0x174861,_0xa825c7){const _0x3e1554=a73_0x125f,_0x1f291e=_0x174861();while(!![]){try{const _0x3bc20b=parseInt(_0x3e1554(0xb3))/0x1*(parseInt(_0x3e1554(0x84))/0x2)+parseInt(_0x3e1554(0xb9))/0x3+-parseInt(_0x3e1554(0x95))/0x4+-parseInt(_0x3e1554(0xae))/0x5+-parseInt(_0x3e1554(0xad))/0x6+-parseInt(_0x3e1554(0xa5))/0x7*(-parseInt(_0x3e1554(0xb5))/0x8)+parseInt(_0x3e1554(0x89))/0x9;if(_0x3bc20b===_0xa825c7)break;else _0x1f291e['push'](_0x1f291e['shift']());}catch(_0x46e932){_0x1f291e['push'](_0x1f291e['shift']());}}}(a73_0x8eee,0x1b03c));const got=require(a73_0x63ca98(0xb4)),logger=require(a73_0x63ca98(0x8f))[a73_0x63ca98(0x9c)],{BROWSERSTACK_API_URL}=require('../utils/constants'),_entries=[];function register(_0x1165d4){const _0x5f469=a73_0x63ca98,_0x33a285={};_0x33a285[_0x5f469(0x7e)]='failed',_0x33a285['OCaVV']='TestCafe\x20session\x20ended\x20without\x20an\x20explicit\x20pass/fail\x20marker';const _0x4a8905=_0x33a285,_0x5c1dae={'status':_0x4a8905['epAJc'],'reason':_0x4a8905[_0x5f469(0xbe)],..._0x1165d4};_entries['push'](_0x5c1dae);}function a73_0x125f(_0x352b7d,_0x5e9cd8){const _0x8eeec1=a73_0x8eee();return a73_0x125f=function(_0x125feb,_0x35783a){_0x125feb=_0x125feb-0x7c;let _0x3f5152=_0x8eeec1[_0x125feb];return _0x3f5152;},a73_0x125f(_0x352b7d,_0x5e9cd8);}function a73_0x8eee(){const _0x38baed=['72WbQJtq','got','8qmvesI','executeScript','status','failed','385848Gggrty','test','quitAll','cYKlN','hubUrl','OCaVV','put','MVRib','sessionId','epAJc','timeout','QqBAs','register','\x20for\x20','\x20(will\x20retry\x20via\x20REST):\x20','2326kYHoOJ','message','setSessionStatus','throwHttpErrors','bAOzv','1027998acRthH','env','function','password','UpitH','responseType','../../helpers/logger','bfpSu','[session-registry]\x20executeScript\x20setSessionStatus\x20failed\x20for\x20','rJhyA',')\x20OK\x20for\x20','acphf','574412IRzBOM','reason','PVAoD','arguments','body','[session-registry]\x20executeScript\x20setSessionStatus(','[session-registry]\x20REST\x20mark\x20HTTP\x20','winstonLogger','iRLhO','BROWSERSTACK_USERNAME','info','quit','[session-registry]\x20REST\x20mark\x20failed\x20for\x20',':\x20no\x20BROWSERSTACK_USERNAME/ACCESS_KEY','action','username','1156351AXoyBR','https://','listEntries','driver','length','[session-registry]\x20REST\x20mark\x20skipped\x20for\x20','[session-registry]\x20REST\x20setSessionStatus(','/automate/sessions/','831186pESdNG','494905BRODof','warn','stringify','markStatus','slice'];a73_0x8eee=function(){return _0x38baed;};return a73_0x8eee();}function listEntries(){const _0x1140c8=a73_0x63ca98;return _entries[_0x1140c8(0xb2)]();}function markStatus(_0x5dbb2f,_0x31cb99,_0x5e6f19){const _0x41d0f7=a73_0x63ca98,_0x2685ec={};_0x2685ec['QqBAs']=function(_0x35f98c,_0x110bea){return _0x35f98c===_0x110bea;};const _0x4a9d1c=_0x2685ec;for(const _0x57ace4 of _entries){if(_0x4a9d1c[_0x41d0f7(0x80)](_0x57ace4['platformIndex'],_0x5dbb2f))return _0x57ace4[_0x41d0f7(0xb7)]=_0x31cb99,_0x5e6f19&&(_0x57ace4['reason']=_0x5e6f19),!![];}return![];}function _resolveCreds(_0x370fba){const _0x21e2d4=a73_0x63ca98,_0x53f217={'WnLTC':function(_0x311b0d,_0x532716){return _0x311b0d(_0x532716);},'MVRib':function(_0x3fa1d2,_0x2110ca){return _0x3fa1d2(_0x2110ca);},'acphf':function(_0x3aec7e,_0x15c4da){return _0x3aec7e(_0x15c4da);}};try{if(_0x370fba){const _0x5e24d=_0x53f217['WnLTC'](String,_0x370fba)['trim'](),_0x1ed2f9=/^https?:\/\//i[_0x21e2d4(0xba)](_0x5e24d)?_0x5e24d:_0x21e2d4(0xa6)+_0x5e24d['replace'](/^\/+/,''),_0x1516cd=new URL(_0x1ed2f9);if(_0x1516cd[_0x21e2d4(0xa4)]||_0x1516cd[_0x21e2d4(0x8c)])return{'username':_0x53f217[_0x21e2d4(0x7c)](decodeURIComponent,_0x1516cd['username']||''),'password':_0x53f217[_0x21e2d4(0x94)](decodeURIComponent,_0x1516cd[_0x21e2d4(0x8c)]||'')};}}catch(_0x246cc4){}const _0x2d497e={};return _0x2d497e[_0x21e2d4(0xa4)]=process['env'][_0x21e2d4(0x9e)]||'',_0x2d497e[_0x21e2d4(0x8c)]=process[_0x21e2d4(0x8a)]['BROWSERSTACK_ACCESS_KEY']||'',_0x2d497e;}async function _markViaRestApi(_0x1970b5){const _0x33f998=a73_0x63ca98,_0x25b01d={'cYKlN':function(_0x2b46de,_0x357594){return _0x2b46de(_0x357594);},'LZkIz':function(_0x204da3,_0x33a505){return _0x204da3||_0x33a505;},'UpitH':'failed','PVAoD':'json','bAOzv':function(_0x4810b3,_0x4fc922){return _0x4810b3>=_0x4fc922;},'ciCLU':function(_0x3407dd,_0x2eec0e){return _0x3407dd<_0x2eec0e;}},{username:_0x1ec8f0,password:_0xd37c5b}=_0x25b01d[_0x33f998(0xbc)](_resolveCreds,_0x1970b5[_0x33f998(0xbd)]);if(_0x25b01d['LZkIz'](!_0x1ec8f0,!_0xd37c5b))return logger['warn'](_0x33f998(0xaa)+_0x1970b5[_0x33f998(0x7d)]+_0x33f998(0xa2)),![];const _0x283cd0=BROWSERSTACK_API_URL+_0x33f998(0xac)+_0x1970b5[_0x33f998(0x7d)]+'.json';try{const _0x50d627={};_0x50d627[_0x33f998(0xb7)]=_0x1970b5[_0x33f998(0xb7)]||_0x25b01d[_0x33f998(0x8d)],_0x50d627['reason']=_0x1970b5[_0x33f998(0x96)]||'';const _0x403cbb={};_0x403cbb['request']=0x7530;const _0x282fe5={};_0x282fe5[_0x33f998(0xa4)]=_0x1ec8f0,_0x282fe5['password']=_0xd37c5b,_0x282fe5['json']=_0x50d627,_0x282fe5[_0x33f998(0x8e)]=_0x25b01d[_0x33f998(0x97)],_0x282fe5[_0x33f998(0x87)]=![],_0x282fe5[_0x33f998(0x7f)]=_0x403cbb;const _0x4cff51=await got[_0x33f998(0xbf)](_0x283cd0,_0x282fe5);if(_0x25b01d[_0x33f998(0x88)](_0x4cff51['statusCode'],0xc8)&&_0x25b01d['ciCLU'](_0x4cff51['statusCode'],0x12c))return logger[_0x33f998(0x9f)](_0x33f998(0xab)+_0x1970b5[_0x33f998(0xb7)]+_0x33f998(0x93)+_0x1970b5[_0x33f998(0x7d)]),!![];return logger[_0x33f998(0xaf)](_0x33f998(0x9b)+_0x4cff51['statusCode']+_0x33f998(0x82)+_0x1970b5[_0x33f998(0x7d)]+':\x20'+JSON[_0x33f998(0xb0)](_0x4cff51[_0x33f998(0x99)])[_0x33f998(0xb2)](0x0,0xc8)),![];}catch(_0x98d4a){return logger[_0x33f998(0xaf)](_0x33f998(0xa1)+_0x1970b5[_0x33f998(0x7d)]+':\x20'+_0x98d4a[_0x33f998(0x85)]),![];}}async function quitAll(){const _0x584c2a=a73_0x63ca98,_0x2a731a={'pPQsC':function(_0x554b20,_0x29120c){return _0x554b20===_0x29120c;},'rJhyA':_0x584c2a(0x8b),'bfpSu':_0x584c2a(0x86),'NZDDf':_0x584c2a(0xb8),'iRLhO':function(_0x2a0a5b,_0x1bd05e){return _0x2a0a5b(_0x1bd05e);},'vvIPL':function(_0x38bebf,_0x56fe71){return _0x38bebf===_0x56fe71;}};try{for(const _0x8069d2 of _entries){let _0x4066be=![];try{if(_0x8069d2[_0x584c2a(0xa8)]&&_0x2a731a['pPQsC'](typeof _0x8069d2[_0x584c2a(0xa8)][_0x584c2a(0xb6)],_0x2a731a[_0x584c2a(0x92)])){const _0x505c1a={};_0x505c1a[_0x584c2a(0xa3)]=_0x2a731a[_0x584c2a(0x90)],_0x505c1a[_0x584c2a(0x98)]={},_0x505c1a[_0x584c2a(0x98)][_0x584c2a(0xb7)]=_0x8069d2[_0x584c2a(0xb7)]||_0x2a731a['NZDDf'],_0x505c1a[_0x584c2a(0x98)][_0x584c2a(0x96)]=_0x8069d2['reason']||'';const _0x295ccb='browserstack_executor:\x20'+JSON[_0x584c2a(0xb0)](_0x505c1a);await _0x8069d2['driver'][_0x584c2a(0xb6)](_0x295ccb),_0x4066be=!![],logger[_0x584c2a(0x9f)](_0x584c2a(0x9a)+_0x8069d2[_0x584c2a(0xb7)]+')\x20OK\x20for\x20'+_0x8069d2['sessionId']);}}catch(_0xf3063a){logger[_0x584c2a(0xaf)](_0x584c2a(0x91)+_0x8069d2[_0x584c2a(0x7d)]+_0x584c2a(0x83)+_0xf3063a[_0x584c2a(0x85)]);}!_0x4066be&&await _0x2a731a[_0x584c2a(0x9d)](_markViaRestApi,_0x8069d2);try{_0x8069d2['driver']&&_0x2a731a['vvIPL'](typeof _0x8069d2[_0x584c2a(0xa8)][_0x584c2a(0xa0)],_0x2a731a[_0x584c2a(0x92)])&&await _0x8069d2[_0x584c2a(0xa8)]['quit']();}catch(_0x36af4d){logger[_0x584c2a(0xaf)]('[session-registry]\x20driver.quit\x20failed\x20for\x20'+_0x8069d2[_0x584c2a(0x7d)]+':\x20'+_0x36af4d[_0x584c2a(0x85)]);}}}finally{_entries[_0x584c2a(0xa9)]=0x0;}}const a73_0x59fcac={};a73_0x59fcac[a73_0x63ca98(0x81)]=register,a73_0x59fcac[a73_0x63ca98(0xa7)]=listEntries,a73_0x59fcac[a73_0x63ca98(0xb1)]=markStatus,a73_0x59fcac[a73_0x63ca98(0xbb)]=quitAll,module['exports']=a73_0x59fcac;
@@ -1 +1 @@
1
- 'use strict';const a74_0x47e446=a74_0x54fa;(function(_0x2b3a78,_0x4b1a23){const _0x26eb01=a74_0x54fa,_0xf7514f=_0x2b3a78();while(!![]){try{const _0x251b3f=-parseInt(_0x26eb01(0x1b8))/0x1+-parseInt(_0x26eb01(0x1e2))/0x2*(-parseInt(_0x26eb01(0x1a8))/0x3)+parseInt(_0x26eb01(0x1a2))/0x4*(-parseInt(_0x26eb01(0x1b9))/0x5)+-parseInt(_0x26eb01(0x1d8))/0x6+-parseInt(_0x26eb01(0x1b5))/0x7*(parseInt(_0x26eb01(0x1ae))/0x8)+parseInt(_0x26eb01(0x1bf))/0x9*(-parseInt(_0x26eb01(0x1d6))/0xa)+parseInt(_0x26eb01(0x1b3))/0xb;if(_0x251b3f===_0x4b1a23)break;else _0xf7514f['push'](_0xf7514f['shift']());}catch(_0x49b673){_0xf7514f['push'](_0xf7514f['shift']());}}}(a74_0x24bd,0xe68be));const {v4:uuidv4}=require('uuid'),logger=require('../../helpers/logger')[a74_0x47e446(0x185)];function a74_0x24bd(){const _0x1767ef=['../v2/grpcClient','bQbRS','WHxYb','clear','|Connecting\x20to\x20.*://','sMyWh','trim','kind','toISOString','TEST','split','testFrameworkVersion','52rPtbJw','test_run_uuid','arfAZ','yWWWL','uuid','aUokT','9MIwYrL','WTjAn','get','SuBuL','rmMBC','DBljw','15224nsnwTh','HHzDf','set','timestamp','|\x5cd+\x5cs+skipped','57856502gQGeCL','[✓✔✗✘×]\x5cs','6580YbLtnT','CbDaA','../v2/framework/testFramework','853347ylNHSi','249695EkHJnM','bind','length','delete','|\x5cd+\x5cs+passed','testFrameworkState','36441RAOtcj','yJeRP','IpzWb','size','ZfWtv','function','test','message','WKLUG','platformIndex','JlzBk','IukdW','toString','getTestFrameworks','isRunning','KIND_LOG','isBuffer','../v2/browserstackCLI','getTestFramework','getData','logCreatedEvent','string','2|5|3|4|0|1|6','2720TBBIYE','|\x5cd+\x5cs+failed','9835698YkWTId','testFrameworkName','getTrackedInstance','debug','stdout','0|4|2|1|3|6|5|7','YEwLJ','stderr','isArray','utf8','1144414SuBpwG','replace','|Running\x20tests\x20in','winstonLogger','|Waiting\x20for','dhOBy','Mnisf','write','[stdout-interceptor]\x20uninstalled','wyGZW','../v2/framework/constants/testFrameworkConstants','logs','lzlIX','getInstance','|Test\x20\x5cd+\x20of\x20\x5cd+','getTestFrameworksVersions','xpxCp','ASFEz','info','__currentPlatformUuids'];a74_0x24bd=function(){return _0x1767ef;};return a74_0x24bd();}let _origStdoutWrite=null,_origStderrWrite=null,_installed=![];const INTERNAL_LOG_RE=/^\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}:\d{2}/,ANSI_RE=/\x1b\[[0-9;]*[a-zA-Z]/g,SPEC_REPORTER_RE=new RegExp('^(\x5cs*)'+'('+a74_0x47e446(0x1b4)+a74_0x47e446(0x1bd)+a74_0x47e446(0x1d7)+a74_0x47e446(0x1b2)+a74_0x47e446(0x184)+'|Hostname:'+a74_0x47e446(0x190)+a74_0x47e446(0x19a)+a74_0x47e446(0x186)+')');function a74_0x54fa(_0xa93d64,_0x101708){const _0x24bdf9=a74_0x24bd();return a74_0x54fa=function(_0x54faf6,_0xd5fb77){_0x54faf6=_0x54faf6-0x183;let _0x16e019=_0x24bdf9[_0x54faf6];return _0x16e019;},a74_0x54fa(_0xa93d64,_0x101708);}function _stripAnsi(_0x4c569b){const _0x1797a5=a74_0x47e446,_0x426351={};_0x426351['yWWWL']=function(_0x3cb59a,_0x4aca78){return _0x3cb59a!==_0x4aca78;},_0x426351['BsIkJ']='string';const _0x2dc23a=_0x426351;if(_0x2dc23a[_0x1797a5(0x1a5)](typeof _0x4c569b,_0x2dc23a['BsIkJ']))return _0x4c569b;return _0x4c569b[_0x1797a5(0x183)](ANSI_RE,'');}function _shouldForward(_0x2603f8){const _0x186a20=a74_0x47e446,_0xcf208a={'ilRaj':function(_0xcb3344,_0x12e07b){return _0xcb3344(_0x12e07b);}};if(!_0x2603f8||!_0x2603f8['trim']())return![];if(INTERNAL_LOG_RE[_0x186a20(0x1c5)](_0x2603f8))return![];const _0x281f5b=_0xcf208a['ilRaj'](_stripAnsi,_0x2603f8)[_0x186a20(0x19c)]();if(!_0x281f5b)return![];if(SPEC_REPORTER_RE[_0x186a20(0x1c5)](_0x281f5b))return![];return!![];}const DEDUP_WINDOW_MS=0xbb8,_recent=new Map();function _isDuplicate(_0x4d84fa){const _0x293a3c=a74_0x47e446,_0x241007={};_0x241007['JlzBk']=function(_0x58543d,_0x37c32d){return _0x58543d>_0x37c32d;},_0x241007[_0x293a3c(0x1c1)]=function(_0x174c00,_0x305a9a){return _0x174c00-_0x305a9a;},_0x241007[_0x293a3c(0x188)]=function(_0x52172a,_0x15868b){return _0x52172a!==_0x15868b;},_0x241007[_0x293a3c(0x18b)]=function(_0x3a8881,_0x18bc40){return _0x3a8881<_0x18bc40;},_0x241007[_0x293a3c(0x19b)]=function(_0x3e57f5,_0x5006f0){return _0x3e57f5-_0x5006f0;};const _0xea3989=_0x241007,_0x3b7087=Date['now']();if(_0xea3989[_0x293a3c(0x1c9)](_recent[_0x293a3c(0x1c2)],0xc8))for(const [_0x287dc2,_0x5b6611]of _recent){_0xea3989['JlzBk'](_0xea3989[_0x293a3c(0x1c1)](_0x3b7087,_0x5b6611),DEDUP_WINDOW_MS)&&_recent[_0x293a3c(0x1bc)](_0x287dc2);}const _0xbfa9d=_recent[_0x293a3c(0x1aa)](_0x4d84fa);if(_0xea3989[_0x293a3c(0x188)](_0xbfa9d,undefined)&&_0xea3989[_0x293a3c(0x18b)](_0xea3989[_0x293a3c(0x19b)](_0x3b7087,_0xbfa9d),DEDUP_WINDOW_MS))return!![];return _recent[_0x293a3c(0x1b0)](_0x4d84fa,_0x3b7087),![];}function _emitLog(_0x816c18){const _0x4b669d=a74_0x47e446,_0x1ecdf7={'YEwLJ':function(_0x4ba198,_0x152880){return _0x4ba198(_0x152880);},'ZJDPg':_0x4b669d(0x1d0),'lzlIX':_0x4b669d(0x196),'SNNwS':function(_0x4071c4,_0x6f26b1){return _0x4071c4(_0x6f26b1);},'rmMBC':_0x4b669d(0x1b7),'WHxYb':function(_0x5acb13,_0x3a4d74){return _0x5acb13(_0x3a4d74);},'MVxqX':_0x4b669d(0x18c),'arfAZ':_0x4b669d(0x195),'DBljw':function(_0x519ed9,_0x35cf88){return _0x519ed9===_0x35cf88;},'bQbRS':_0x4b669d(0x1c4),'IukdW':function(_0x3581f8,_0x5cf298){return _0x3581f8(_0x5cf298);},'ZfWtv':function(_0x3bf3a8,_0x45f6fc){return _0x3bf3a8<_0x45f6fc;},'HBjPo':_0x4b669d(0x194),'ASFEz':'testcafe','yJeRP':_0x4b669d(0x19f)};try{const _0x453557=_0x1ecdf7['YEwLJ'](require,_0x1ecdf7['ZJDPg']),_0x13756c=_0x1ecdf7[_0x4b669d(0x1de)](require,_0x1ecdf7[_0x4b669d(0x18e)]),_0x10e11a=_0x1ecdf7['SNNwS'](require,_0x1ecdf7[_0x4b669d(0x1ac)]),_0x4a557b=_0x1ecdf7[_0x4b669d(0x198)](require,_0x1ecdf7['MVxqX']),_0x382faf=_0x453557[_0x4b669d(0x18f)]&&_0x453557['getInstance']();if(!_0x382faf||!_0x382faf[_0x4b669d(0x1cd)]())return;const _0x12666a=_0x382faf[_0x4b669d(0x1d1)]&&_0x382faf[_0x4b669d(0x1d1)](),_0x2c9d86=_0x10e11a[_0x4b669d(0x1da)]&&_0x10e11a[_0x4b669d(0x1da)]();if(!_0x2c9d86)return;const _0x20e117=Array[_0x4b669d(0x1e0)](_0x2c9d86[_0x4b669d(0x1d2)](_0x1ecdf7[_0x4b669d(0x1a4)]))?_0x2c9d86[_0x4b669d(0x1d2)](_0x1ecdf7[_0x4b669d(0x1a4)]):[];if(_0x1ecdf7[_0x4b669d(0x1ad)](_0x20e117[_0x4b669d(0x1bb)],0x0))return;const _0x40995f=_0x12666a&&_0x1ecdf7[_0x4b669d(0x1ad)](typeof _0x12666a[_0x4b669d(0x191)],_0x1ecdf7[_0x4b669d(0x197)])?_0x12666a['getTestFrameworksVersions']():{},_0x5ce491=_0x12666a&&_0x1ecdf7[_0x4b669d(0x1ad)](typeof _0x12666a[_0x4b669d(0x1cc)],_0x1ecdf7['bQbRS'])?_0x12666a[_0x4b669d(0x1cc)]():[],_0x127aef=_0x5ce491&&_0x5ce491[0x0]&&_0x40995f&&_0x40995f[_0x5ce491[0x0]]||'',_0x3763a9=_0x1ecdf7[_0x4b669d(0x1de)](_stripAnsi,_0x816c18)[_0x4b669d(0x19c)]();if(_0x1ecdf7[_0x4b669d(0x1ca)](_isDuplicate,_0x3763a9))return;const _0x4051e8=new Date()[_0x4b669d(0x19e)]();for(let _0x2863ca=0x0;_0x1ecdf7[_0x4b669d(0x1c3)](_0x2863ca,_0x20e117[_0x4b669d(0x1bb)]);_0x2863ca++){const _0x1f3d77=_0x20e117[_0x2863ca];if(!_0x1f3d77)continue;const _0x6bbe93={};_0x6bbe93[_0x4b669d(0x1a6)]=_0x1f3d77,_0x6bbe93[_0x4b669d(0x1a3)]=_0x1f3d77,_0x6bbe93[_0x4b669d(0x1b1)]=_0x4051e8,_0x6bbe93[_0x4b669d(0x1c6)]=_0x3763a9,_0x6bbe93[_0x4b669d(0x19d)]=_0x4a557b[_0x4b669d(0x1ce)],_0x6bbe93['level']=_0x1ecdf7['HBjPo'];const _0x2fee01=_0x6bbe93,_0x1da143={};_0x1da143[_0x4b669d(0x1c8)]=_0x2863ca,_0x1da143[_0x4b669d(0x18d)]=[_0x2fee01],_0x1da143[_0x4b669d(0x1d9)]=_0x1ecdf7[_0x4b669d(0x193)],_0x1da143[_0x4b669d(0x1a1)]=_0x127aef,_0x1da143[_0x4b669d(0x1be)]=_0x1ecdf7[_0x4b669d(0x1c0)];const _0x24fde7=_0x1da143;_0x13756c['getInstance']()[_0x4b669d(0x1d3)](_0x24fde7)['catch'](()=>{});}}catch(_0x2dd976){}}function _wrap(_0xc1f12){const _0x392f41=a74_0x47e446,_0x3cf353={'aUokT':function(_0x36b111,_0x38dd2f,_0x4e6715,_0x50095b){return _0x36b111(_0x38dd2f,_0x4e6715,_0x50095b);},'RQkBQ':function(_0x5a6047,_0x21f701){return _0x5a6047===_0x21f701;},'CbDaA':_0x392f41(0x1d4),'dhOBy':_0x392f41(0x1e1),'KcuAY':function(_0x2a7659,_0x4dde62){return _0x2a7659(_0x4dde62);},'SuBuL':function(_0x28f096,_0x1efb9a){return _0x28f096(_0x1efb9a);}};return function(_0x107c19,_0x119672,_0x534439){const _0x49ceac=_0x392f41,_0x25f3b1=_0x3cf353[_0x49ceac(0x1a7)](_0xc1f12,_0x107c19,_0x119672,_0x534439);try{const _0x18c654=_0x3cf353['RQkBQ'](typeof _0x107c19,_0x3cf353[_0x49ceac(0x1b6)])?_0x107c19:Buffer[_0x49ceac(0x1cf)](_0x107c19)?_0x107c19[_0x49ceac(0x1cb)](_0x3cf353[_0x49ceac(0x187)]):_0x3cf353['KcuAY'](String,_0x107c19),_0x411baa=_0x18c654[_0x49ceac(0x1a0)](/\r?\n/);for(const _0x6c8acc of _0x411baa){_0x3cf353['KcuAY'](_shouldForward,_0x6c8acc)&&_0x3cf353[_0x49ceac(0x1ab)](_emitLog,_0x6c8acc);}}catch(_0x54a88e){}return _0x25f3b1;};}exports['install']=()=>{const _0x106343=a74_0x47e446,_0x585ca0={'AGoex':_0x106343(0x1d5),'WTjAn':function(_0x15565e,_0x257294){return _0x15565e(_0x257294);},'WKLUG':'[stdout-interceptor]\x20installed'},_0x2f1238=_0x585ca0['AGoex']['split']('|');let _0x2093f1=0x0;while(!![]){switch(_0x2f1238[_0x2093f1++]){case'0':process['stderr'][_0x106343(0x189)]=_0x585ca0[_0x106343(0x1a9)](_wrap,_origStderrWrite);continue;case'1':_installed=!![];continue;case'2':if(_installed)return;continue;case'3':_origStderrWrite=process[_0x106343(0x1df)]['write'][_0x106343(0x1ba)](process['stderr']);continue;case'4':process[_0x106343(0x1dc)]['write']=_0x585ca0['WTjAn'](_wrap,_origStdoutWrite);continue;case'5':_origStdoutWrite=process[_0x106343(0x1dc)][_0x106343(0x189)]['bind'](process[_0x106343(0x1dc)]);continue;case'6':logger[_0x106343(0x1db)](_0x585ca0[_0x106343(0x1c7)]);continue;}break;}},exports['uninstall']=()=>{const _0x590a3f=a74_0x47e446,_0x354255={};_0x354255[_0x590a3f(0x192)]=_0x590a3f(0x1dd),_0x354255[_0x590a3f(0x1af)]=_0x590a3f(0x18a);const _0x508fe3=_0x354255,_0x34fb65=_0x508fe3[_0x590a3f(0x192)][_0x590a3f(0x1a0)]('|');let _0x7243d2=0x0;while(!![]){switch(_0x34fb65[_0x7243d2++]){case'0':if(!_installed)return;continue;case'1':_origStdoutWrite=null;continue;case'2':_origStderrWrite&&(process[_0x590a3f(0x1df)][_0x590a3f(0x189)]=_origStderrWrite);continue;case'3':_origStderrWrite=null;continue;case'4':_origStdoutWrite&&(process[_0x590a3f(0x1dc)][_0x590a3f(0x189)]=_origStdoutWrite);continue;case'5':_recent[_0x590a3f(0x199)]();continue;case'6':_installed=![];continue;case'7':logger['debug'](_0x508fe3['HHzDf']);continue;}break;}};
1
+ 'use strict';const a74_0x5d58f0=a74_0x905b;(function(_0x3098c6,_0x537f00){const _0x45ad99=a74_0x905b,_0x4ac355=_0x3098c6();while(!![]){try{const _0x2e217a=-parseInt(_0x45ad99(0x14b))/0x1*(-parseInt(_0x45ad99(0x173))/0x2)+-parseInt(_0x45ad99(0x157))/0x3+-parseInt(_0x45ad99(0x148))/0x4+-parseInt(_0x45ad99(0x154))/0x5+parseInt(_0x45ad99(0x170))/0x6*(parseInt(_0x45ad99(0x19f))/0x7)+-parseInt(_0x45ad99(0x165))/0x8*(-parseInt(_0x45ad99(0x197))/0x9)+-parseInt(_0x45ad99(0x192))/0xa*(-parseInt(_0x45ad99(0x16d))/0xb);if(_0x2e217a===_0x537f00)break;else _0x4ac355['push'](_0x4ac355['shift']());}catch(_0xd057ee){_0x4ac355['push'](_0x4ac355['shift']());}}}(a74_0x40f6,0x80617));function a74_0x905b(_0x1fef7f,_0x557c49){const _0x40f691=a74_0x40f6();return a74_0x905b=function(_0x905b3,_0xed3ecb){_0x905b3=_0x905b3-0x144;let _0x3f2a99=_0x40f691[_0x905b3];return _0x3f2a99;},a74_0x905b(_0x1fef7f,_0x557c49);}const {v4:uuidv4}=require(a74_0x5d58f0(0x171)),logger=require(a74_0x5d58f0(0x17a))[a74_0x5d58f0(0x19a)];let _origStdoutWrite=null,_origStderrWrite=null,_installed=![];const INTERNAL_LOG_RE=/^\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}:\d{2}/,ANSI_RE=/\x1b\[[0-9;]*[a-zA-Z]/g,SPEC_REPORTER_RE=new RegExp(a74_0x5d58f0(0x184)+'('+'[✓✔✗✘×]\x5cs'+a74_0x5d58f0(0x1a0)+a74_0x5d58f0(0x186)+a74_0x5d58f0(0x196)+'|Running\x20tests\x20in'+a74_0x5d58f0(0x174)+'|Test\x20\x5cd+\x20of\x20\x5cd+'+a74_0x5d58f0(0x199)+'|Waiting\x20for'+')');function _stripAnsi(_0x104cd0){const _0x157706=a74_0x5d58f0,_0x553b5f={};_0x553b5f[_0x157706(0x149)]=function(_0x4da330,_0x5761e2){return _0x4da330!==_0x5761e2;},_0x553b5f[_0x157706(0x16a)]=_0x157706(0x161);const _0x33f09d=_0x553b5f;if(_0x33f09d['PTaDq'](typeof _0x104cd0,_0x33f09d[_0x157706(0x16a)]))return _0x104cd0;return _0x104cd0['replace'](ANSI_RE,'');}function _shouldForward(_0x5e0904){const _0x1b1462=a74_0x5d58f0,_0x3858dd={'nnoxv':function(_0x484842,_0x279a17){return _0x484842(_0x279a17);}};if(!_0x5e0904||!_0x5e0904[_0x1b1462(0x181)]())return![];if(INTERNAL_LOG_RE[_0x1b1462(0x144)](_0x5e0904))return![];const _0xe6249e=_0x3858dd['nnoxv'](_stripAnsi,_0x5e0904)[_0x1b1462(0x181)]();if(!_0xe6249e)return![];if(SPEC_REPORTER_RE[_0x1b1462(0x144)](_0xe6249e))return![];return!![];}const DEDUP_WINDOW_MS=0xbb8,_recent=new Map();function _isDuplicate(_0x31fd27){const _0x2367e6=a74_0x5d58f0,_0x4229df={};_0x4229df[_0x2367e6(0x17d)]=function(_0x34505b,_0x462011){return _0x34505b>_0x462011;},_0x4229df['gSZAx']=function(_0x2e576c,_0x47f6b0){return _0x2e576c-_0x47f6b0;},_0x4229df['pXiEW']=function(_0x1a50c8,_0x304ae7){return _0x1a50c8!==_0x304ae7;},_0x4229df[_0x2367e6(0x16b)]=function(_0x591e3e,_0x25b3c5){return _0x591e3e<_0x25b3c5;},_0x4229df[_0x2367e6(0x198)]=function(_0x297d51,_0xe505fd){return _0x297d51-_0xe505fd;};const _0x1f1809=_0x4229df,_0x1090ea=Date[_0x2367e6(0x182)]();if(_0x1f1809[_0x2367e6(0x17d)](_recent[_0x2367e6(0x183)],0xc8))for(const [_0x7aebd,_0x359b37]of _recent){_0x1f1809[_0x2367e6(0x17d)](_0x1f1809['gSZAx'](_0x1090ea,_0x359b37),DEDUP_WINDOW_MS)&&_recent[_0x2367e6(0x158)](_0x7aebd);}const _0x4a1441=_recent[_0x2367e6(0x14d)](_0x31fd27);if(_0x1f1809[_0x2367e6(0x191)](_0x4a1441,undefined)&&_0x1f1809['dQjQR'](_0x1f1809[_0x2367e6(0x198)](_0x1090ea,_0x4a1441),DEDUP_WINDOW_MS))return!![];return _recent[_0x2367e6(0x162)](_0x31fd27,_0x1090ea),![];}function _emitLog(_0x1021e9){const _0x3319a7=a74_0x5d58f0,_0x115920={'KGLCE':function(_0x18ac6c,_0x1281af){return _0x18ac6c(_0x1281af);},'tDfpM':_0x3319a7(0x167),'bbrUA':function(_0x4fbe0f,_0x3c9164){return _0x4fbe0f(_0x3c9164);},'jmpRa':_0x3319a7(0x168),'Qsczw':function(_0x1d79da,_0x1b9a50){return _0x1d79da(_0x1b9a50);},'TGKwh':_0x3319a7(0x15e),'sqsFK':_0x3319a7(0x177),'OmVEu':_0x3319a7(0x164),'gTLiP':function(_0x43e632,_0x2d0a45){return _0x43e632===_0x2d0a45;},'tLiUo':'function','WLzTK':function(_0x304ced,_0x3f420c){return _0x304ced===_0x3f420c;},'huHFo':function(_0x454094,_0x3cf530){return _0x454094(_0x3cf530);},'yMaed':function(_0x41e3f3,_0x1efff3){return _0x41e3f3<_0x1efff3;},'wulCH':_0x3319a7(0x156),'ZwAzp':'testcafe','zcClo':_0x3319a7(0x194)};try{const _0x3d3eef=_0x115920[_0x3319a7(0x159)](require,_0x115920['tDfpM']),_0x3a6eeb=_0x115920[_0x3319a7(0x145)](require,_0x115920[_0x3319a7(0x160)]),_0x3ead87=_0x115920[_0x3319a7(0x178)](require,_0x115920[_0x3319a7(0x152)]),_0xa9bfb=_0x115920[_0x3319a7(0x145)](require,_0x115920[_0x3319a7(0x195)]),_0x477588=_0x3d3eef[_0x3319a7(0x176)]&&_0x3d3eef[_0x3319a7(0x176)]();if(!_0x477588||!_0x477588[_0x3319a7(0x151)]())return;const _0x3c0bd3=_0x477588['getTestFramework']&&_0x477588['getTestFramework'](),_0x50f296=_0x3ead87[_0x3319a7(0x18c)]&&_0x3ead87[_0x3319a7(0x18c)]();if(!_0x50f296)return;const _0x49c7b5=Array[_0x3319a7(0x1a2)](_0x50f296['getData'](_0x115920['OmVEu']))?_0x50f296[_0x3319a7(0x169)](_0x115920['OmVEu']):[];if(_0x115920[_0x3319a7(0x16f)](_0x49c7b5[_0x3319a7(0x172)],0x0))return;const _0x4d01a3=_0x3c0bd3&&_0x115920[_0x3319a7(0x16f)](typeof _0x3c0bd3['getTestFrameworksVersions'],_0x115920[_0x3319a7(0x185)])?_0x3c0bd3[_0x3319a7(0x17b)]():{},_0xd0efb=_0x3c0bd3&&_0x115920['WLzTK'](typeof _0x3c0bd3[_0x3319a7(0x18a)],_0x115920[_0x3319a7(0x185)])?_0x3c0bd3['getTestFrameworks']():[],_0x29b7ba=_0xd0efb&&_0xd0efb[0x0]&&_0x4d01a3&&_0x4d01a3[_0xd0efb[0x0]]||'',_0x14ad99=_0x115920[_0x3319a7(0x1a3)](_stripAnsi,_0x1021e9)[_0x3319a7(0x181)]();if(_0x115920['bbrUA'](_isDuplicate,_0x14ad99))return;const _0x467d56=new Date()[_0x3319a7(0x1a1)]();for(let _0x2f5289=0x0;_0x115920[_0x3319a7(0x179)](_0x2f5289,_0x49c7b5[_0x3319a7(0x172)]);_0x2f5289++){const _0x1c64d7=_0x49c7b5[_0x2f5289];if(!_0x1c64d7)continue;const _0x33c547={};_0x33c547[_0x3319a7(0x171)]=_0x1c64d7,_0x33c547[_0x3319a7(0x19c)]=_0x1c64d7,_0x33c547[_0x3319a7(0x18d)]=_0x467d56,_0x33c547[_0x3319a7(0x14a)]=_0x14ad99,_0x33c547[_0x3319a7(0x16e)]=_0xa9bfb[_0x3319a7(0x19e)],_0x33c547[_0x3319a7(0x16c)]=_0x115920[_0x3319a7(0x147)];const _0x57054e=_0x33c547,_0x3ea48a={};_0x3ea48a[_0x3319a7(0x153)]=_0x2f5289,_0x3ea48a['logs']=[_0x57054e],_0x3ea48a['testFrameworkName']=_0x115920[_0x3319a7(0x146)],_0x3ea48a[_0x3319a7(0x17f)]=_0x29b7ba,_0x3ea48a[_0x3319a7(0x189)]=_0x115920[_0x3319a7(0x175)];const _0xecbaf0=_0x3ea48a;_0x3a6eeb['getInstance']()[_0x3319a7(0x15f)](_0xecbaf0)['catch'](()=>{});}}catch(_0x2793d7){}}function _wrap(_0x27b308){const _0xb8dfeb=a74_0x5d58f0,_0x43ec84={'sqmjh':function(_0x58697f,_0x4f9064,_0x59ceab,_0x11edb8){return _0x58697f(_0x4f9064,_0x59ceab,_0x11edb8);},'JnRbw':function(_0x2a733a,_0x567947){return _0x2a733a===_0x567947;},'lBVCx':_0xb8dfeb(0x161),'yElAK':_0xb8dfeb(0x15b),'NMBgu':function(_0x2ee2ec,_0x137bdb){return _0x2ee2ec(_0x137bdb);}};return function(_0x438416,_0x1f1a7b,_0x5a653d){const _0x100397=_0xb8dfeb,_0x442dd9=_0x43ec84[_0x100397(0x163)](_0x27b308,_0x438416,_0x1f1a7b,_0x5a653d);try{const _0x497371=_0x43ec84[_0x100397(0x17c)](typeof _0x438416,_0x43ec84['lBVCx'])?_0x438416:Buffer[_0x100397(0x180)](_0x438416)?_0x438416['toString'](_0x43ec84[_0x100397(0x15a)]):_0x43ec84['NMBgu'](String,_0x438416),_0x6aa6ed=_0x497371[_0x100397(0x19d)](/\r?\n/);for(const _0xe2b7ab of _0x6aa6ed){_0x43ec84[_0x100397(0x15c)](_shouldForward,_0xe2b7ab)&&_0x43ec84[_0x100397(0x15c)](_emitLog,_0xe2b7ab);}}catch(_0x3f5ae7){}return _0x442dd9;};}function a74_0x40f6(){const _0x5c9a43=['2|0|6|3|4|1|5','isRunning','TGKwh','platformIndex','4484340zkylaU','debug','info','788307phJsyG','delete','KGLCE','yElAK','utf8','NMBgu','clear','../v2/framework/testFramework','logCreatedEvent','jmpRa','string','set','sqmjh','__currentPlatformUuids','28136GRbtpJ','GQAWz','../v2/browserstackCLI','../v2/grpcClient','getData','ZKxqq','dQjQR','level','8559903uEPijl','kind','gTLiP','834oyloEP','uuid','length','42wBqahy','|Hostname:','zcClo','getInstance','../v2/framework/constants/testFrameworkConstants','Qsczw','yMaed','../../helpers/logger','getTestFrameworksVersions','JnRbw','igsZt','1|0|2|5|3|6|4|7','testFrameworkVersion','isBuffer','trim','now','size','^(\x5cs*)','tLiUo','|\x5cd+\x5cs+failed','install','stderr','testFrameworkState','getTestFrameworks','[stdout-interceptor]\x20uninstalled','getTrackedInstance','timestamp','bind','stdout','oGrRe','pXiEW','30TDjXAC','kKvqe','TEST','sqsFK','|\x5cd+\x5cs+skipped','207LErXfW','kUSNv','|Connecting\x20to\x20.*://','winstonLogger','uninstall','test_run_uuid','split','KIND_LOG','4837LIntRh','|\x5cd+\x5cs+passed','toISOString','isArray','huHFo','test','bbrUA','ZwAzp','wulCH','4035456dxCHfC','PTaDq','message','8709WGlbrc','fPXzy','get','write','[stdout-interceptor]\x20installed'];a74_0x40f6=function(){return _0x5c9a43;};return a74_0x40f6();}exports[a74_0x5d58f0(0x187)]=()=>{const _0x5000f4=a74_0x5d58f0,_0x4da53a={'oWNZd':_0x5000f4(0x150),'GQAWz':function(_0x4bf984,_0x109aa6){return _0x4bf984(_0x109aa6);},'oGrRe':_0x5000f4(0x14f)},_0x5b2e45=_0x4da53a['oWNZd'][_0x5000f4(0x19d)]('|');let _0x55073a=0x0;while(!![]){switch(_0x5b2e45[_0x55073a++]){case'0':_origStdoutWrite=process[_0x5000f4(0x18f)][_0x5000f4(0x14e)]['bind'](process[_0x5000f4(0x18f)]);continue;case'1':_installed=!![];continue;case'2':if(_installed)return;continue;case'3':process['stdout'][_0x5000f4(0x14e)]=_0x4da53a[_0x5000f4(0x166)](_wrap,_origStdoutWrite);continue;case'4':process[_0x5000f4(0x188)][_0x5000f4(0x14e)]=_0x4da53a[_0x5000f4(0x166)](_wrap,_origStderrWrite);continue;case'5':logger[_0x5000f4(0x155)](_0x4da53a[_0x5000f4(0x190)]);continue;case'6':_origStderrWrite=process[_0x5000f4(0x188)][_0x5000f4(0x14e)][_0x5000f4(0x18e)](process[_0x5000f4(0x188)]);continue;}break;}},exports[a74_0x5d58f0(0x19b)]=()=>{const _0x4aead2=a74_0x5d58f0,_0x3b8aff={};_0x3b8aff[_0x4aead2(0x14c)]=_0x4aead2(0x17e),_0x3b8aff[_0x4aead2(0x193)]=_0x4aead2(0x18b);const _0x540739=_0x3b8aff,_0x40510d=_0x540739[_0x4aead2(0x14c)][_0x4aead2(0x19d)]('|');let _0x4b7306=0x0;while(!![]){switch(_0x40510d[_0x4b7306++]){case'0':_origStdoutWrite&&(process['stdout'][_0x4aead2(0x14e)]=_origStdoutWrite);continue;case'1':if(!_installed)return;continue;case'2':_origStderrWrite&&(process[_0x4aead2(0x188)][_0x4aead2(0x14e)]=_origStderrWrite);continue;case'3':_origStderrWrite=null;continue;case'4':_recent[_0x4aead2(0x15d)]();continue;case'5':_origStdoutWrite=null;continue;case'6':_installed=![];continue;case'7':logger[_0x4aead2(0x155)](_0x540739[_0x4aead2(0x193)]);continue;}break;}};
@@ -1 +1 @@
1
- 'use strict';const a75_0x3e5e9f=a75_0x5826;(function(_0x5c75d6,_0x29f630){const _0x55bb8a=a75_0x5826,_0x414616=_0x5c75d6();while(!![]){try{const _0x19652e=parseInt(_0x55bb8a(0x131))/0x1+parseInt(_0x55bb8a(0x14d))/0x2+-parseInt(_0x55bb8a(0xeb))/0x3+parseInt(_0x55bb8a(0x14a))/0x4*(parseInt(_0x55bb8a(0x138))/0x5)+-parseInt(_0x55bb8a(0x12f))/0x6*(-parseInt(_0x55bb8a(0xfa))/0x7)+parseInt(_0x55bb8a(0x132))/0x8+parseInt(_0x55bb8a(0x123))/0x9*(-parseInt(_0x55bb8a(0x11e))/0xa);if(_0x19652e===_0x29f630)break;else _0x414616['push'](_0x414616['shift']());}catch(_0xb19c31){_0x414616['push'](_0x414616['shift']());}}}(a75_0x3327,0x25a91));const logger=require(a75_0x3e5e9f(0xf7))['winstonLogger'];let _installed=![];const _patchedDescriptors=new Map();function _requireTestController(){const _0x4ec4b9=a75_0x3e5e9f,_0x5463e8={'WFKni':function(_0x594330,_0x206a6b){return _0x594330(_0x206a6b);},'CYSse':_0x4ec4b9(0x158),'LFgMx':'testcafe/package.json','HWOwY':_0x4ec4b9(0x13f),'UUtnU':_0x4ec4b9(0x144),'otZqC':_0x4ec4b9(0x15b),'AAygw':function(_0x173eba,_0xab4710){return _0x173eba(_0xab4710);}},_0x29f997=_0x5463e8[_0x4ec4b9(0x128)](require,_0x5463e8[_0x4ec4b9(0x15a)]),_0xbf2b04=_0x29f997[_0x4ec4b9(0x14c)](require[_0x4ec4b9(0x127)](_0x5463e8['LFgMx'],{'paths':[process[_0x4ec4b9(0x135)]()]})),_0x273594=_0x29f997[_0x4ec4b9(0x10e)](_0xbf2b04,_0x5463e8[_0x4ec4b9(0xf8)],_0x5463e8[_0x4ec4b9(0x126)],_0x5463e8[_0x4ec4b9(0x12d)]),_0x36001a=_0x5463e8['AAygw'](require,_0x273594);return _0x36001a&&(_0x36001a[_0x4ec4b9(0x142)]||_0x36001a);}function a75_0x5826(_0x14edc0,_0x29773b){const _0x332761=a75_0x3327();return a75_0x5826=function(_0x582681,_0x537578){_0x582681=_0x582681-0xeb;let _0x530f74=_0x332761[_0x582681];return _0x530f74;},a75_0x5826(_0x14edc0,_0x29773b);}async function _performScanForAllDrivers(_0x48e191){const _0x51e484=a75_0x3e5e9f,_0x103aa4={'mIlXY':function(_0x1a001d,_0x39bff8){return _0x1a001d(_0x39bff8);},'RHzCZ':_0x51e484(0x13d),'WChdd':function(_0x65d497,_0x4c93f4){return _0x65d497(_0x4c93f4);},'UlHBm':_0x51e484(0x114),'HZLYk':function(_0xc30e89,_0x19ce1f){return _0xc30e89(_0x19ce1f);},'XCblI':_0x51e484(0x104),'IfFIf':_0x51e484(0x11f),'gxVIU':function(_0x4a0c99,_0x37a485){return _0x4a0c99(_0x37a485);},'efirI':'../v2/framework/testFramework','RJadi':function(_0x3616bf,_0x12e496){return _0x3616bf===_0x12e496;},'uTppA':_0x51e484(0x147),'WzPTV':_0x51e484(0x102),'bdIzW':function(_0x16fd32,_0x3aa438){return _0x16fd32===_0x3aa438;},'THvtr':_0x51e484(0x10b),'QDGUR':function(_0x39adab,_0x320b65){return _0x39adab===_0x320b65;},'zjgpm':function(_0x22be23,_0x2ec078){return _0x22be23===_0x2ec078;},'oOwjE':function(_0x92a704,_0x49c8d3){return _0x92a704===_0x49c8d3;},'HTDME':function(_0x1fd89e,_0xa7d862){return _0x1fd89e===_0xa7d862;},'pzjGl':_0x51e484(0x124),'xrdjK':function(_0x71529e,_0x59f495){return _0x71529e>_0x59f495;},'hHxom':_0x51e484(0x145),'ywStV':_0x51e484(0x153),'QzuMl':_0x51e484(0x101)};try{const _0x37acdb=_0x103aa4[_0x51e484(0xff)](require,_0x103aa4[_0x51e484(0x148)]),_0x5e95ee=_0x103aa4[_0x51e484(0x103)](require,_0x103aa4[_0x51e484(0xf1)]),_0x36e447=_0x103aa4['HZLYk'](require,_0x103aa4[_0x51e484(0x117)]),_0x500e1d=_0x103aa4[_0x51e484(0xff)](require,_0x103aa4['IfFIf']),_0x401c15=_0x103aa4[_0x51e484(0xf3)](require,_0x103aa4[_0x51e484(0xed)]),_0x43c920=_0x37acdb['getInstance']();if(!_0x43c920||!_0x43c920[_0x51e484(0x137)]())return;const _0x46afbd=_0x43c920['getAccessibilityModule']&&_0x43c920[_0x51e484(0x125)]();if(!_0x46afbd)return;if(_0x103aa4[_0x51e484(0x134)](typeof _0x46afbd[_0x51e484(0x110)],_0x103aa4[_0x51e484(0xf0)])&&!_0x46afbd['shouldScanForCommand'](_0x48e191))return;const _0x35f32e=_0x401c15[_0x51e484(0xee)]&&_0x401c15[_0x51e484(0xee)]();if(!_0x35f32e)return;const _0x56f92e=Array[_0x51e484(0x118)](_0x35f32e[_0x51e484(0x156)](_0x103aa4[_0x51e484(0x133)]))?_0x35f32e[_0x51e484(0x156)](_0x103aa4[_0x51e484(0x133)]):[];if(_0x103aa4[_0x51e484(0xfb)](_0x56f92e[_0x51e484(0x116)],0x0))return;try{const _0x558106=_0x103aa4[_0x51e484(0xff)](require,_0x103aa4[_0x51e484(0x12b)]),_0x3a49a9=_0x103aa4[_0x51e484(0x11b)](typeof _0x35f32e['getAllData'],_0x103aa4[_0x51e484(0xf0)])?_0x35f32e['getAllData']():null;if(_0x3a49a9&&_0x103aa4['zjgpm'](typeof _0x3a49a9[_0x51e484(0x115)],_0x103aa4[_0x51e484(0xf0)])&&_0x103aa4[_0x51e484(0x139)](typeof _0x46afbd[_0x51e484(0xfe)],_0x103aa4[_0x51e484(0xf0)])){let _0x11c883=null,_0x46cbc5='';for(const _0x4f296c of _0x3a49a9['values']()){if(!_0x4f296c)continue;const _0x4ce56d=_0x4f296c[_0x558106['KEY_TEST_STARTED_AT']],_0x4d1f10=_0x4f296c[_0x558106[_0x51e484(0xf5)]];_0x4ce56d&&(_0x103aa4['HTDME'](_0x4d1f10,_0x103aa4['pzjGl'])||_0x103aa4[_0x51e484(0xfb)](_0x4d1f10,_0x558106[_0x51e484(0x150)]))&&(_0x103aa4[_0x51e484(0xec)](_0x4ce56d,_0x46cbc5)&&(_0x46cbc5=_0x4ce56d,_0x11c883=_0x4f296c));}if(_0x11c883){const _0x477678=_0x11c883[_0x558106[_0x51e484(0x159)]]||[],_0x349812=_0x11c883[_0x558106[_0x51e484(0x12e)]]||_0x103aa4['hHxom'],_0x4401d1=_0x46afbd[_0x51e484(0xfe)](_0x477678,null,_0x103aa4[_0x51e484(0x105)]);if(!_0x4401d1){logger[_0x51e484(0x14f)]('[testcafe-action-patcher]\x20scope-filter\x20skipped\x20scan\x20for\x20cmd='+_0x48e191+'\x20testName='+_0x349812+_0x51e484(0x11d)+JSON[_0x51e484(0xf4)](_0x477678)+'\x20(test\x20is\x20excluded\x20by\x20includeTagsInTestingScope\x20/\x20excludeTagsInTestingScope)');return;}}}}catch(_0x1a569c){logger[_0x51e484(0x14f)](_0x51e484(0x106)+(_0x1a569c['message']||_0x1a569c));}const _0x5fe386=_0x103aa4[_0x51e484(0x10d)](require,_0x103aa4[_0x51e484(0x12a)]);for(const {platformIndex:_0x5527ab,instance:_0x47167b}of _0x5e95ee[_0x51e484(0xef)]()){const _0x4581ca=_0x36e447[_0x51e484(0x112)](_0x47167b,_0x500e1d['KEY_DRIVER'],null);if(!_0x4581ca)continue;const _0x27717c=_0x56f92e[_0x5527ab]||_0x56f92e[0x0]||'';try{await _0x5fe386[_0x51e484(0x121)](_0x4581ca,_0x27717c,_0x48e191,![]);}catch(_0x44b1d4){logger[_0x51e484(0x14f)](_0x51e484(0x14b)+_0x5527ab+_0x51e484(0x10c)+_0x48e191+'\x20failed:\x20'+(_0x44b1d4[_0x51e484(0x13e)]||_0x44b1d4));}}}catch(_0x7f9cb1){logger['debug'](_0x51e484(0xf6)+(_0x7f9cb1['message']||_0x7f9cb1));}}function install(_0x5d119e){const _0x5c9dc5=a75_0x3e5e9f,_0xe5389f={'fUdSZ':function(_0x1fcfa1,_0x45b118){return _0x1fcfa1(_0x45b118);},'mgbRe':function(_0x2fb9a3,_0x572e22){return _0x2fb9a3(_0x572e22);},'WrNCx':function(_0x367843,_0x302bcd){return _0x367843!==_0x302bcd;},'WQSSu':'function','OEQwI':function(_0x163ba1,_0x23d2ff){return _0x163ba1===_0x23d2ff;},'EhvXO':_0x5c9dc5(0x108),'EJGuP':function(_0x3f17c9){return _0x3f17c9();},'IROiE':_0x5c9dc5(0x13c),'dWXUD':_0x5c9dc5(0x130)};if(_installed)return;if(!Array[_0x5c9dc5(0x118)](_0x5d119e)||_0xe5389f[_0x5c9dc5(0x141)](_0x5d119e[_0x5c9dc5(0x116)],0x0)){logger['debug'](_0xe5389f[_0x5c9dc5(0x14e)]);return;}let _0x34d149;try{_0x34d149=_0xe5389f[_0x5c9dc5(0x111)](_requireTestController);}catch(_0x110d2c){logger['debug']('[testcafe-action-patcher]\x20could\x20not\x20load\x20TestController:\x20'+(_0x110d2c[_0x5c9dc5(0x13e)]||_0x110d2c));return;}if(!_0x34d149||!_0x34d149['prototype']){logger['debug'](_0xe5389f[_0x5c9dc5(0x15c)]);return;}const _0x3465c9=_0x34d149['prototype'];let _0x38e6a6=0x0;function _0x595721(_0x4b4fa9){const _0x4777c2=_0x5c9dc5;let _0x1d4f5a=_0x3465c9;while(_0x1d4f5a){const _0x181096=Object[_0x4777c2(0x13b)](_0x1d4f5a,_0x4b4fa9);if(_0x181096){const _0xb19bfb={};return _0xb19bfb[_0x4777c2(0x13a)]=_0x181096,_0xb19bfb[_0x4777c2(0x155)]=_0x1d4f5a,_0xb19bfb;}_0x1d4f5a=Object['getPrototypeOf'](_0x1d4f5a);}return null;}for(const _0x5523da of _0x5d119e){if(!_0x5523da||_0xe5389f['WrNCx'](_0x5523da[_0x5c9dc5(0x154)],_0xe5389f[_0x5c9dc5(0x140)]))continue;const _0x165a1f=_0x5523da[_0x5c9dc5(0xfc)],_0x369f56=_0xe5389f[_0x5c9dc5(0x129)](_0x595721,_0x165a1f);if(!_0x369f56)continue;const {descriptor:_0x18f887,owner:_0x1d5461}=_0x369f56;if(_0x18f887[_0x5c9dc5(0x109)])continue;let _0x5b5904;if(_0xe5389f[_0x5c9dc5(0x141)](typeof _0x18f887[_0x5c9dc5(0x122)],_0xe5389f['WQSSu'])){const _0x121d02=_0x18f887[_0x5c9dc5(0x122)];_0x5b5904={'configurable':!![],'writable':!![],'enumerable':_0x18f887['enumerable'],'value':function(..._0x184557){const _0x1a9230=_0x5c9dc5;return _0xe5389f[_0x1a9230(0x129)](_performScanForAllDrivers,_0x165a1f)[_0x1a9230(0x119)](()=>{}),_0x121d02[_0x1a9230(0x157)](this,_0x184557);}};}else{if(_0xe5389f[_0x5c9dc5(0x141)](typeof _0x18f887[_0x5c9dc5(0x120)],_0xe5389f[_0x5c9dc5(0x136)])){const _0x5fbe01=_0x18f887[_0x5c9dc5(0x120)];_0x5b5904={'configurable':!![],'enumerable':_0x18f887[_0x5c9dc5(0x146)],'get'(){const _0x4e67fd=_0x5c9dc5,_0x7a6803={'KxXmO':function(_0x45cf24,_0x5afd0a){const _0x45ac04=a75_0x5826;return _0xe5389f[_0x45ac04(0x10a)](_0x45cf24,_0x5afd0a);}},_0x2e2aaa=_0x5fbe01[_0x4e67fd(0x11a)](this);if(_0xe5389f[_0x4e67fd(0x10f)](typeof _0x2e2aaa,_0xe5389f[_0x4e67fd(0x136)]))return _0x2e2aaa;return function(..._0x753903){const _0x2bb851=_0x4e67fd;return _0x7a6803[_0x2bb851(0x107)](_performScanForAllDrivers,_0x165a1f)['catch'](()=>{}),_0x2e2aaa[_0x2bb851(0x157)](this,_0x753903);};},'set':_0x18f887[_0x5c9dc5(0xf9)]||function(){}};}else continue;}_0x5b5904['__bstack_a11y_wrapped']=!![];try{Object[_0x5c9dc5(0x149)](_0x1d5461,_0x165a1f,_0x5b5904);const _0x1d18f0={};_0x1d18f0[_0x5c9dc5(0x155)]=_0x1d5461,_0x1d18f0[_0x5c9dc5(0xf2)]=_0x18f887,_patchedDescriptors[_0x5c9dc5(0xf9)](_0x165a1f,_0x1d18f0),_0x38e6a6+=0x1;}catch(_0x593437){logger[_0x5c9dc5(0x14f)](_0x5c9dc5(0x151)+_0x165a1f+':\x20'+(_0x593437[_0x5c9dc5(0x13e)]||_0x593437));}}_installed=!![],logger['info'](_0x5c9dc5(0x143)+_0x38e6a6+'/'+_0x5d119e[_0x5c9dc5(0x116)]+_0x5c9dc5(0x100));}function a75_0x3327(){const _0x13dcc4=['defineProperty','10432oQyLwN','[testcafe-action-patcher]\x20performScan\x20pi=','dirname','269416KfXeju','EhvXO','debug','DEFAULT_TEST_RESULT','[testcafe-action-patcher]\x20could\x20not\x20patch\x20','[testcafe-action-patcher]\x20could\x20not\x20restore\x20','cucumber','module','owner','getData','apply','path','KEY_TEST_TAGS','CYSse','test-controller','IROiE','780963qMxlZI','xrdjK','efirI','getTrackedInstance','iterAllInstances','uTppA','UlHBm','originalDescriptor','gxVIU','stringify','KEY_TEST_RESULT','[testcafe-action-patcher]\x20_performScanForAllDrivers\x20failed:\x20','../../helpers/logger','HWOwY','set','121366njgRck','bdIzW','name','clear','isEnabledTestcase','mIlXY','\x20TestController\x20methods\x20for\x20accessibility\x20scanning','./a11y-runner','__currentPlatformUuids','WChdd','../v2/framework/automationFramework','ywStV','[testcafe-action-patcher]\x20tag-scope\x20filter\x20error\x20(continuing\x20scan):\x20','KxXmO','[testcafe-action-patcher]\x20no\x20commands\x20to\x20wrap,\x20skipping','__bstack_a11y_wrapped','mgbRe','../v2/framework/constants/testFrameworkConstants','\x20cmd=','HZLYk','join','WrNCx','shouldScanForCommand','EJGuP','getState','lRBdd','../v2/framework/testcafeAutomationFramework','values','length','XCblI','isArray','catch','call','QDGUR','uninstall','\x20tags=','3052720WsYHxe','../v2/modules/testcafeDriverModule','get','runScan','value','9CLZhbf','pending','getAccessibilityModule','UUtnU','resolve','WFKni','fUdSZ','QzuMl','THvtr','[testcafe-action-patcher]\x20uninstalled','otZqC','KEY_TEST_NAME','48xVjnoq','testController','132078zXGqpK','657984vJKXHM','WzPTV','RJadi','cwd','WQSSu','isRunning','445jivSbD','oOwjE','descriptor','getOwnPropertyDescriptor','[testcafe-action-patcher]\x20TestController.prototype\x20missing,\x20skipping','../v2/browserstackCLI','message','lib','dWXUD','OEQwI','default','[testcafe-action-patcher]\x20wrapped\x20','api','<unnamed>','enumerable','function','RHzCZ'];a75_0x3327=function(){return _0x13dcc4;};return a75_0x3327();}function uninstall(){const _0x36b360=a75_0x3e5e9f,_0x298dbe={};_0x298dbe['lRBdd']=_0x36b360(0x12c);const _0x5ec22d=_0x298dbe;if(!_installed)return;for(const [_0x5570bc,{owner:_0x5a3a07,originalDescriptor:_0x4ffcec}]of _patchedDescriptors){try{Object[_0x36b360(0x149)](_0x5a3a07,_0x5570bc,_0x4ffcec);}catch(_0x3e1ce8){logger[_0x36b360(0x14f)](_0x36b360(0x152)+_0x5570bc+':\x20'+(_0x3e1ce8[_0x36b360(0x13e)]||_0x3e1ce8));}}_patchedDescriptors[_0x36b360(0xfd)](),_installed=![],logger[_0x36b360(0x14f)](_0x5ec22d[_0x36b360(0x113)]);}const a75_0x22feb7={};a75_0x22feb7['install']=install,a75_0x22feb7[a75_0x3e5e9f(0x11c)]=uninstall,module['exports']=a75_0x22feb7;
1
+ 'use strict';const a75_0x345773=a75_0x59c1;(function(_0x396bf9,_0x385a3f){const _0x9b9343=a75_0x59c1,_0x44b37d=_0x396bf9();while(!![]){try{const _0x41c876=parseInt(_0x9b9343(0x1f8))/0x1+-parseInt(_0x9b9343(0x212))/0x2+-parseInt(_0x9b9343(0x1d9))/0x3+-parseInt(_0x9b9343(0x1af))/0x4*(parseInt(_0x9b9343(0x1bc))/0x5)+parseInt(_0x9b9343(0x1eb))/0x6+-parseInt(_0x9b9343(0x1fb))/0x7+parseInt(_0x9b9343(0x1df))/0x8;if(_0x41c876===_0x385a3f)break;else _0x44b37d['push'](_0x44b37d['shift']());}catch(_0x15bdee){_0x44b37d['push'](_0x44b37d['shift']());}}}(a75_0x6ed7,0x8e335));const logger=require(a75_0x345773(0x1e4))[a75_0x345773(0x1b9)];let _installed=![];const _patchedDescriptors=new Map();function _requireTestController(){const _0x2318f8=a75_0x345773,_0x13ee0f={'AeloN':function(_0x43820f,_0x346aeb){return _0x43820f(_0x346aeb);},'XCENR':'path','SOCio':_0x2318f8(0x1cc),'NdWXp':'lib','FyAqT':_0x2318f8(0x1c6),'HBuSv':_0x2318f8(0x200)},_0x307d17=_0x13ee0f[_0x2318f8(0x1c2)](require,_0x13ee0f['XCENR']),_0x42dba5=_0x307d17[_0x2318f8(0x214)](require[_0x2318f8(0x1f2)](_0x13ee0f[_0x2318f8(0x1fd)],{'paths':[process[_0x2318f8(0x1b6)]()]})),_0x16165b=_0x307d17['join'](_0x42dba5,_0x13ee0f['NdWXp'],_0x13ee0f[_0x2318f8(0x1d5)],_0x13ee0f['HBuSv']),_0x3b7aad=_0x13ee0f[_0x2318f8(0x1c2)](require,_0x16165b);return _0x3b7aad&&(_0x3b7aad[_0x2318f8(0x1e7)]||_0x3b7aad);}async function _performScanForAllDrivers(_0xd9fb14){const _0xacd15f=a75_0x345773,_0x5befc1={'BCRHs':function(_0x5045cb,_0x57c6a4){return _0x5045cb(_0x57c6a4);},'sBuzK':_0xacd15f(0x1dd),'zsMCW':_0xacd15f(0x20d),'jNnJy':_0xacd15f(0x1f3),'ZTjXG':'../v2/modules/testcafeDriverModule','LcWCd':function(_0x33ace6,_0x1834c4){return _0x33ace6(_0x1834c4);},'HUXyr':_0xacd15f(0x1dc),'NCLyV':function(_0x7cb831,_0x568cd1){return _0x7cb831===_0x568cd1;},'qOfKd':_0xacd15f(0x1bb),'eiIDa':_0xacd15f(0x1d7),'JBBos':function(_0x3ef6ef,_0x51e17e){return _0x3ef6ef===_0x51e17e;},'uWgpc':'../v2/framework/constants/testFrameworkConstants','VezQX':function(_0x4db0d7,_0x5e50dd){return _0x4db0d7===_0x5e50dd;},'XrWfE':'pending','Iepta':function(_0x2f1067,_0x260b47){return _0x2f1067===_0x260b47;},'pnFCM':function(_0x5952c9,_0x4e43a4){return _0x5952c9>_0x4e43a4;},'vRYXr':_0xacd15f(0x1ff),'AZYvZ':_0xacd15f(0x203),'wXZug':_0xacd15f(0x1d6)};try{const _0x54f5ed=_0x5befc1[_0xacd15f(0x1e5)](require,_0x5befc1[_0xacd15f(0x1da)]),_0x3607bc=_0x5befc1[_0xacd15f(0x1e5)](require,_0x5befc1[_0xacd15f(0x1ee)]),_0x5510ed=_0x5befc1[_0xacd15f(0x1e5)](require,_0x5befc1['jNnJy']),_0x2c5f1a=_0x5befc1[_0xacd15f(0x1e5)](require,_0x5befc1['ZTjXG']),_0x122bb5=_0x5befc1[_0xacd15f(0x20e)](require,_0x5befc1[_0xacd15f(0x1ed)]),_0x4f0c81=_0x54f5ed[_0xacd15f(0x1bd)]();if(!_0x4f0c81||!_0x4f0c81[_0xacd15f(0x1b4)]())return;const _0x41594b=_0x4f0c81[_0xacd15f(0x1cf)]&&_0x4f0c81['getAccessibilityModule']();if(!_0x41594b)return;if(_0x5befc1[_0xacd15f(0x1f4)](typeof _0x41594b[_0xacd15f(0x1e1)],_0x5befc1[_0xacd15f(0x1d2)])&&!_0x41594b['shouldScanForCommand'](_0xd9fb14))return;const _0xaf49d8=_0x122bb5[_0xacd15f(0x1de)]&&_0x122bb5[_0xacd15f(0x1de)]();if(!_0xaf49d8)return;const _0x1d5e69=Array['isArray'](_0xaf49d8[_0xacd15f(0x20f)](_0x5befc1[_0xacd15f(0x204)]))?_0xaf49d8[_0xacd15f(0x20f)](_0x5befc1[_0xacd15f(0x204)]):[];if(_0x5befc1[_0xacd15f(0x1b5)](_0x1d5e69[_0xacd15f(0x208)],0x0))return;try{const _0x1e045e=_0x5befc1[_0xacd15f(0x1e5)](require,_0x5befc1[_0xacd15f(0x1c5)]),_0x541151=_0x5befc1[_0xacd15f(0x1b5)](typeof _0xaf49d8[_0xacd15f(0x1db)],_0x5befc1[_0xacd15f(0x1d2)])?_0xaf49d8[_0xacd15f(0x1db)]():null;if(_0x541151&&_0x5befc1['VezQX'](typeof _0x541151[_0xacd15f(0x1e0)],_0x5befc1[_0xacd15f(0x1d2)])&&_0x5befc1['JBBos'](typeof _0x41594b[_0xacd15f(0x1ad)],_0x5befc1[_0xacd15f(0x1d2)])){let _0xc8e3ab=null,_0x17e7c4='';for(const _0x58df03 of _0x541151[_0xacd15f(0x1e0)]()){if(!_0x58df03)continue;const _0x4265ef=_0x58df03[_0x1e045e['KEY_TEST_STARTED_AT']],_0x2bee94=_0x58df03[_0x1e045e[_0xacd15f(0x1d4)]];_0x4265ef&&(_0x5befc1['NCLyV'](_0x2bee94,_0x5befc1[_0xacd15f(0x1c9)])||_0x5befc1[_0xacd15f(0x1e3)](_0x2bee94,_0x1e045e[_0xacd15f(0x1b3)]))&&(_0x5befc1[_0xacd15f(0x1b8)](_0x4265ef,_0x17e7c4)&&(_0x17e7c4=_0x4265ef,_0xc8e3ab=_0x58df03));}if(_0xc8e3ab){const _0x3561c3=_0xc8e3ab[_0x1e045e['KEY_TEST_TAGS']]||[],_0x2e7c05=_0xc8e3ab[_0x1e045e['KEY_TEST_NAME']]||_0x5befc1['vRYXr'],_0x3fb048=_0x41594b[_0xacd15f(0x1ad)](_0x3561c3,null,_0x5befc1['AZYvZ']);if(!_0x3fb048){logger[_0xacd15f(0x1bf)](_0xacd15f(0x1b2)+_0xd9fb14+'\x20testName='+_0x2e7c05+_0xacd15f(0x1c7)+JSON[_0xacd15f(0x206)](_0x3561c3)+_0xacd15f(0x1be));return;}}}}catch(_0x380264){logger[_0xacd15f(0x1bf)](_0xacd15f(0x1e8)+(_0x380264['message']||_0x380264));}const _0x11f44a=_0x5befc1['BCRHs'](require,_0x5befc1[_0xacd15f(0x20a)]);for(const {platformIndex:_0x274a56,instance:_0x3ca365}of _0x3607bc['iterAllInstances']()){const _0x2c2c5f=_0x5510ed['getState'](_0x3ca365,_0x2c5f1a[_0xacd15f(0x1c0)],null);if(!_0x2c2c5f)continue;const _0xe621f0=_0x1d5e69[_0x274a56]||_0x1d5e69[0x0]||'';try{await _0x11f44a[_0xacd15f(0x1f1)](_0x2c2c5f,_0xe621f0,_0xd9fb14,![]);}catch(_0x3ed698){logger[_0xacd15f(0x1bf)](_0xacd15f(0x1cb)+_0x274a56+_0xacd15f(0x1d3)+_0xd9fb14+_0xacd15f(0x20c)+(_0x3ed698['message']||_0x3ed698));}}}catch(_0x43b4f8){logger[_0xacd15f(0x1bf)](_0xacd15f(0x1ea)+(_0x43b4f8[_0xacd15f(0x1b7)]||_0x43b4f8));}}function a75_0x59c1(_0x18a73d,_0x5eef99){const _0x6ed793=a75_0x6ed7();return a75_0x59c1=function(_0x59c199,_0x47e40d){_0x59c199=_0x59c199-0x1ad;let _0x19b573=_0x6ed793[_0x59c199];return _0x19b573;},a75_0x59c1(_0x18a73d,_0x5eef99);}function install(_0x357849){const _0x2f8db7=a75_0x345773,_0xfa157b={'eQmeh':function(_0x410f7f,_0x4f864a){return _0x410f7f(_0x4f864a);},'mpXJC':function(_0x26acef,_0xac55b){return _0x26acef!==_0xac55b;},'AujVL':_0x2f8db7(0x1bb),'LMaiN':function(_0x510f48,_0x1094d5){return _0x510f48===_0x1094d5;},'ChQyK':_0x2f8db7(0x1d1),'cAzNy':function(_0xc7da49){return _0xc7da49();},'RysoR':_0x2f8db7(0x1d8),'PLbNz':function(_0x109b34,_0x36a08c){return _0x109b34!==_0x36a08c;},'qFIPh':_0x2f8db7(0x209),'ABhYR':function(_0x2ccc9,_0x153db8){return _0x2ccc9(_0x153db8);},'MZXDI':function(_0x57dd76,_0xfca66e){return _0x57dd76===_0xfca66e;},'bWuZB':function(_0x40c4e4,_0x804430){return _0x40c4e4===_0x804430;}};if(_installed)return;if(!Array['isArray'](_0x357849)||_0xfa157b[_0x2f8db7(0x1f6)](_0x357849[_0x2f8db7(0x208)],0x0)){logger[_0x2f8db7(0x1bf)](_0xfa157b[_0x2f8db7(0x20b)]);return;}let _0x1702ed;try{_0x1702ed=_0xfa157b[_0x2f8db7(0x1fc)](_requireTestController);}catch(_0x2591e9){logger[_0x2f8db7(0x1bf)](_0x2f8db7(0x1f7)+(_0x2591e9[_0x2f8db7(0x1b7)]||_0x2591e9));return;}if(!_0x1702ed||!_0x1702ed[_0x2f8db7(0x1c4)]){logger[_0x2f8db7(0x1bf)](_0xfa157b[_0x2f8db7(0x1d0)]);return;}const _0x1d639d=_0x1702ed[_0x2f8db7(0x1c4)];let _0x4eb9cb=0x0;function _0x358a96(_0xc9b710){const _0x481e90=_0x2f8db7;let _0x5448c2=_0x1d639d;while(_0x5448c2){const _0x492a47=Object['getOwnPropertyDescriptor'](_0x5448c2,_0xc9b710);if(_0x492a47){const _0x2d3511={};return _0x2d3511[_0x481e90(0x1ae)]=_0x492a47,_0x2d3511[_0x481e90(0x1f9)]=_0x5448c2,_0x2d3511;}_0x5448c2=Object[_0x481e90(0x213)](_0x5448c2);}return null;}for(const _0x569c38 of _0x357849){if(!_0x569c38||_0xfa157b[_0x2f8db7(0x1ef)](_0x569c38[_0x2f8db7(0x207)],_0xfa157b['qFIPh']))continue;const _0x1485c8=_0x569c38[_0x2f8db7(0x1ca)],_0x54747c=_0xfa157b[_0x2f8db7(0x1b1)](_0x358a96,_0x1485c8);if(!_0x54747c)continue;const {descriptor:_0x35e864,owner:_0x2c8819}=_0x54747c;if(_0x35e864['__bstack_a11y_wrapped'])continue;let _0x2626c5;if(_0xfa157b[_0x2f8db7(0x210)](typeof _0x35e864[_0x2f8db7(0x216)],_0xfa157b[_0x2f8db7(0x1e9)])){const _0x338c31=_0x35e864[_0x2f8db7(0x216)];_0x2626c5={'configurable':!![],'writable':!![],'enumerable':_0x35e864[_0x2f8db7(0x205)],'value':function(..._0xe07b4d){const _0x11edb3=_0x2f8db7;return _0xfa157b['eQmeh'](_performScanForAllDrivers,_0x1485c8)[_0x11edb3(0x202)](()=>{}),_0x338c31['apply'](this,_0xe07b4d);}};}else{if(_0xfa157b['bWuZB'](typeof _0x35e864['get'],_0xfa157b[_0x2f8db7(0x1e9)])){const _0x5d24c8=_0x35e864['get'];_0x2626c5={'configurable':!![],'enumerable':_0x35e864[_0x2f8db7(0x205)],'get'(){const _0x3d5765=_0x2f8db7,_0x15dbfc={'LXQKl':function(_0x54ce48,_0x1b554e){const _0x4b6aa1=a75_0x59c1;return _0xfa157b[_0x4b6aa1(0x1ba)](_0x54ce48,_0x1b554e);}},_0x3ece03=_0x5d24c8[_0x3d5765(0x211)](this);if(_0xfa157b[_0x3d5765(0x1ce)](typeof _0x3ece03,_0xfa157b[_0x3d5765(0x1e9)]))return _0x3ece03;return function(..._0x4d9f5c){const _0x3f2d7e=_0x3d5765;return _0x15dbfc[_0x3f2d7e(0x1fa)](_performScanForAllDrivers,_0x1485c8)[_0x3f2d7e(0x202)](()=>{}),_0x3ece03[_0x3f2d7e(0x1fe)](this,_0x4d9f5c);};},'set':_0x35e864[_0x2f8db7(0x1f5)]||function(){}};}else continue;}_0x2626c5[_0x2f8db7(0x201)]=!![];try{Object[_0x2f8db7(0x1ec)](_0x2c8819,_0x1485c8,_0x2626c5);const _0x2bb2a7={};_0x2bb2a7['owner']=_0x2c8819,_0x2bb2a7[_0x2f8db7(0x1c8)]=_0x35e864,_patchedDescriptors[_0x2f8db7(0x1f5)](_0x1485c8,_0x2bb2a7),_0x4eb9cb+=0x1;}catch(_0x12b49c){logger[_0x2f8db7(0x1bf)]('[testcafe-action-patcher]\x20could\x20not\x20patch\x20'+_0x1485c8+':\x20'+(_0x12b49c[_0x2f8db7(0x1b7)]||_0x12b49c));}}_installed=!![],logger[_0x2f8db7(0x1f0)](_0x2f8db7(0x1c3)+_0x4eb9cb+'/'+_0x357849[_0x2f8db7(0x208)]+_0x2f8db7(0x1e2));}function uninstall(){const _0x58c7d4=a75_0x345773,_0x3d2595={};_0x3d2595[_0x58c7d4(0x1e6)]=_0x58c7d4(0x1b0);const _0x25684e=_0x3d2595;if(!_installed)return;for(const [_0xd0ae25,{owner:_0x32b3fd,originalDescriptor:_0x566db2}]of _patchedDescriptors){try{Object[_0x58c7d4(0x1ec)](_0x32b3fd,_0xd0ae25,_0x566db2);}catch(_0x4db898){logger['debug'](_0x58c7d4(0x1c1)+_0xd0ae25+':\x20'+(_0x4db898[_0x58c7d4(0x1b7)]||_0x4db898));}}_patchedDescriptors[_0x58c7d4(0x215)](),_installed=![],logger[_0x58c7d4(0x1bf)](_0x25684e['OVaqW']);}const a75_0x3ad4eb={};a75_0x3ad4eb[a75_0x345773(0x1cd)]=install,a75_0x3ad4eb['uninstall']=uninstall,module['exports']=a75_0x3ad4eb;function a75_0x6ed7(){const _0x3b9be8=['getPrototypeOf','dirname','clear','value','isEnabledTestcase','descriptor','2308jckdNH','[testcafe-action-patcher]\x20uninstalled','ABhYR','[testcafe-action-patcher]\x20scope-filter\x20skipped\x20scan\x20for\x20cmd=','DEFAULT_TEST_RESULT','isRunning','JBBos','cwd','message','pnFCM','winstonLogger','eQmeh','function','1020TWLoEH','getInstance','\x20(test\x20is\x20excluded\x20by\x20includeTagsInTestingScope\x20/\x20excludeTagsInTestingScope)','debug','KEY_DRIVER','[testcafe-action-patcher]\x20could\x20not\x20restore\x20','AeloN','[testcafe-action-patcher]\x20wrapped\x20','prototype','uWgpc','api','\x20tags=','originalDescriptor','XrWfE','name','[testcafe-action-patcher]\x20performScan\x20pi=','testcafe/package.json','install','mpXJC','getAccessibilityModule','RysoR','[testcafe-action-patcher]\x20no\x20commands\x20to\x20wrap,\x20skipping','qOfKd','\x20cmd=','KEY_TEST_RESULT','FyAqT','./a11y-runner','__currentPlatformUuids','[testcafe-action-patcher]\x20TestController.prototype\x20missing,\x20skipping','2631732qVHOfc','sBuzK','getAllData','../v2/framework/testFramework','../v2/browserstackCLI','getTrackedInstance','9453696ipYPWm','values','shouldScanForCommand','\x20TestController\x20methods\x20for\x20accessibility\x20scanning','Iepta','../../helpers/logger','BCRHs','OVaqW','default','[testcafe-action-patcher]\x20tag-scope\x20filter\x20error\x20(continuing\x20scan):\x20','AujVL','[testcafe-action-patcher]\x20_performScanForAllDrivers\x20failed:\x20','5879640LkxmfR','defineProperty','HUXyr','zsMCW','PLbNz','info','runScan','resolve','../v2/framework/automationFramework','NCLyV','set','LMaiN','[testcafe-action-patcher]\x20could\x20not\x20load\x20TestController:\x20','448167wdfIKR','owner','LXQKl','7054600cJhgpt','cAzNy','SOCio','apply','<unnamed>','test-controller','__bstack_a11y_wrapped','catch','cucumber','eiIDa','enumerable','stringify','module','length','testController','wXZug','ChQyK','\x20failed:\x20','../v2/framework/testcafeAutomationFramework','LcWCd','getData','MZXDI','call','49228gOMtzR'];a75_0x6ed7=function(){return _0x3b9be8;};return a75_0x6ed7();}
@@ -1 +1 @@
1
- 'use strict';const a76_0x132388=a76_0x4da9;(function(_0x5bcd62,_0x31d57e){const _0x306d89=a76_0x4da9,_0x57906f=_0x5bcd62();while(!![]){try{const _0x5f37d0=-parseInt(_0x306d89(0x140))/0x1*(-parseInt(_0x306d89(0x138))/0x2)+parseInt(_0x306d89(0x15f))/0x3+parseInt(_0x306d89(0x121))/0x4+parseInt(_0x306d89(0x135))/0x5*(parseInt(_0x306d89(0x125))/0x6)+parseInt(_0x306d89(0x11f))/0x7+-parseInt(_0x306d89(0x15c))/0x8+-parseInt(_0x306d89(0x127))/0x9;if(_0x5f37d0===_0x31d57e)break;else _0x57906f['push'](_0x57906f['shift']());}catch(_0xf806df){_0x57906f['push'](_0x57906f['shift']());}}}(a76_0x3bda,0xa3f18));function a76_0x3bda(){const _0xc7d228=['env','delete','https://','9871640FtAqGY','body','user-agent','315102AoTUzX','alwaysMatch','openSession','[w3c-driver]\x20POST\x20/session\x20failed:\x20HTTP\x20','_password','args','_username','url','timeout','script','post','9167655JSNuDu','BROWSERSTACK_ACCESS_KEY','1732468iwIwBX','NkBYC','message','quit','47448ZdiKhr','kweKC','4059036EplHqz','username','[w3c-driver]\x20POST\x20/url\x20failed\x20for\x20','debug','/execute/async','_sessionId','slice','winstonLogger','uOZxv','_hubUrl','../../helpers/logger','HjJgw','capabilities','json','60DPoUvy','NsCBV','FKETA','2cGrwMX','sessionId','BROWSERSTACK_USERNAME','iMqRu','/session','got','GtfMb','hubUrl','413759gtMSIl','request','aYNnP',':\x20HTTP\x20','headers','stringify','executeAsyncScript','test','tsZYQ','/url','statusCode','trim','toString','kuArt','_opts','/session/','getCurrentUrl','browserstack-node-sdk-testcafe','get','[w3c-driver]\x20BROWSERSTACK_USERNAME\x20/\x20BROWSERSTACK_ACCESS_KEY\x20not\x20set\x20—\x20cannot\x20authenticate\x20to\x20hub','sAhfD','ryute','replace','value','password'];a76_0x3bda=function(){return _0xc7d228;};return a76_0x3bda();}const got=require(a76_0x132388(0x13d)),logger=require(a76_0x132388(0x131))[a76_0x132388(0x12e)],_trim=_0x54fa0c=>(_0x54fa0c||'')['replace'](/\/+$/,'');function _normalizeScheme(_0x364b39){const _0x103f9e=a76_0x132388,_0x453f42={};_0x453f42[_0x103f9e(0x14d)]=function(_0x3e8390,_0x750afe){return _0x3e8390||_0x750afe;};const _0x4fe177=_0x453f42,_0x51553b=_0x4fe177[_0x103f9e(0x14d)](_0x364b39,'')[_0x103f9e(0x14b)]();if(!_0x51553b)return _0x51553b;if(/^https?:\/\//i[_0x103f9e(0x147)](_0x51553b))return _0x51553b;return _0x103f9e(0x15b)+_0x51553b[_0x103f9e(0x156)](/^\/+/,'');}function _resolveAuth(_0x1bec20){const _0x1e963a=a76_0x132388,_0x583c09={'FKETA':function(_0x1ddce7,_0x51361c){return _0x1ddce7(_0x51361c);},'aYNnP':function(_0x41747a,_0x29f176){return _0x41747a(_0x29f176);},'vueGQ':function(_0x2a8724,_0x4fee15){return _0x2a8724(_0x4fee15);}},_0x376198=_0x583c09['FKETA'](_normalizeScheme,_0x1bec20);try{const _0x4fc0ec=new URL(_0x376198);if(_0x4fc0ec['username']||_0x4fc0ec[_0x1e963a(0x158)]){const _0x17235d=_0x583c09[_0x1e963a(0x137)](decodeURIComponent,_0x4fc0ec[_0x1e963a(0x128)]||''),_0x1ef6c1=_0x583c09[_0x1e963a(0x142)](decodeURIComponent,_0x4fc0ec['password']||'');return _0x4fc0ec['username']='',_0x4fc0ec[_0x1e963a(0x158)]='',{'username':_0x17235d,'password':_0x1ef6c1,'url':_0x583c09['vueGQ'](_trim,_0x4fc0ec[_0x1e963a(0x14c)]())};}}catch(_0x391b80){}return{'username':process['env'][_0x1e963a(0x13a)]||'','password':process[_0x1e963a(0x159)][_0x1e963a(0x120)]||'','url':_0x583c09['FKETA'](_trim,_0x376198)};}class W3CDriver{constructor({hubUrl:_0x5001f1,sessionId:_0x3c1f67,username:_0x4de1eb,password:_0xfed2c0}){const _0x2a1f86=a76_0x132388,_0x5f44c7={'NsCBV':function(_0xd949df,_0x2af957){return _0xd949df(_0x2af957);}};this[_0x2a1f86(0x130)]=_0x5f44c7[_0x2a1f86(0x136)](_trim,_0x5001f1),this['_sessionId']=_0x3c1f67,this[_0x2a1f86(0x165)]=_0x4de1eb,this[_0x2a1f86(0x163)]=_0xfed2c0;}get['sessionId'](){const _0x684551=a76_0x132388;return this[_0x684551(0x12c)];}['_opts'](_0x332792={}){const _0x32e4af=a76_0x132388,_0x40251c={};_0x40251c['fwMBw']=_0x32e4af(0x134),_0x40251c[_0x32e4af(0x155)]=_0x32e4af(0x151);const _0x3743b7=_0x40251c,_0x11e16f={'username':this['_username'],'password':this[_0x32e4af(0x163)],'responseType':_0x3743b7['fwMBw'],'headers':{'user-agent':_0x3743b7[_0x32e4af(0x155)]},'throwHttpErrors':![],..._0x332792};return _0x11e16f;}async['navigateTo'](_0x3f2804){const _0x3344e4=a76_0x132388,_0x4489a3={};_0x4489a3[_0x3344e4(0x122)]=function(_0x513af7,_0x2e33d4){return _0x513af7>=_0x2e33d4;};const _0x3ef170=_0x4489a3,_0x3aea86={};_0x3aea86[_0x3344e4(0x166)]=_0x3f2804;const _0x1634f5={};_0x1634f5[_0x3344e4(0x141)]=0xea60;const _0x5d86d6={};_0x5d86d6[_0x3344e4(0x134)]=_0x3aea86,_0x5d86d6[_0x3344e4(0x167)]=_0x1634f5;const _0x2a859b=await got[_0x3344e4(0x11e)](this[_0x3344e4(0x130)]+'/session/'+this['_sessionId']+_0x3344e4(0x149),this[_0x3344e4(0x14e)](_0x5d86d6));if(_0x3ef170[_0x3344e4(0x122)](_0x2a859b['statusCode'],0x190))throw new Error(_0x3344e4(0x129)+this['_sessionId']+_0x3344e4(0x143)+_0x2a859b[_0x3344e4(0x14a)]+'\x20'+JSON[_0x3344e4(0x145)](_0x2a859b[_0x3344e4(0x15d)])[_0x3344e4(0x12d)](0x0,0x12c));}async[a76_0x132388(0x150)](){const _0x45102a=a76_0x132388,_0x3cefc4={};_0x3cefc4[_0x45102a(0x141)]=0x7530;const _0x2bf5e7={};_0x2bf5e7[_0x45102a(0x167)]=_0x3cefc4;const _0x33d8dd=await got[_0x45102a(0x152)](this['_hubUrl']+_0x45102a(0x14f)+this[_0x45102a(0x12c)]+_0x45102a(0x149),this[_0x45102a(0x14e)](_0x2bf5e7));return _0x33d8dd[_0x45102a(0x15d)]&&_0x33d8dd['body'][_0x45102a(0x157)]||'';}async['executeScript'](_0x1854a3,..._0x12d038){const _0x4f562f=a76_0x132388,_0x3eeb82={};_0x3eeb82['script']=_0x1854a3,_0x3eeb82[_0x4f562f(0x164)]=_0x12d038;const _0x5c783f={};_0x5c783f[_0x4f562f(0x141)]=0xea60;const _0x9b0274={};_0x9b0274[_0x4f562f(0x134)]=_0x3eeb82,_0x9b0274['timeout']=_0x5c783f;const _0x256ad6=await got[_0x4f562f(0x11e)](this['_hubUrl']+_0x4f562f(0x14f)+this['_sessionId']+'/execute/sync',this[_0x4f562f(0x14e)](_0x9b0274));return _0x256ad6[_0x4f562f(0x15d)]&&_0x256ad6[_0x4f562f(0x15d)][_0x4f562f(0x157)];}async[a76_0x132388(0x146)](_0x57eef5,..._0x243fa7){const _0x438b3a=a76_0x132388,_0x46f9e9={};_0x46f9e9[_0x438b3a(0x11d)]=_0x57eef5,_0x46f9e9[_0x438b3a(0x164)]=_0x243fa7;const _0x433694={};_0x433694['request']=0x1d4c0;const _0x4d4b4f={};_0x4d4b4f[_0x438b3a(0x134)]=_0x46f9e9,_0x4d4b4f[_0x438b3a(0x167)]=_0x433694;const _0x638ceb=await got[_0x438b3a(0x11e)](this[_0x438b3a(0x130)]+_0x438b3a(0x14f)+this[_0x438b3a(0x12c)]+_0x438b3a(0x12b),this['_opts'](_0x4d4b4f));return _0x638ceb[_0x438b3a(0x15d)]&&_0x638ceb[_0x438b3a(0x15d)]['value'];}async[a76_0x132388(0x124)](){const _0x1d3c76=a76_0x132388;try{const _0x3e6dae={};_0x3e6dae['request']=0x7530;const _0xf87810={};_0xf87810[_0x1d3c76(0x167)]=_0x3e6dae,await got[_0x1d3c76(0x15a)](this[_0x1d3c76(0x130)]+_0x1d3c76(0x14f)+this[_0x1d3c76(0x12c)],this[_0x1d3c76(0x14e)](_0xf87810));}catch(_0x5b07f0){logger[_0x1d3c76(0x12a)]('[w3c-driver]\x20DELETE\x20/session\x20'+this[_0x1d3c76(0x12c)]+'\x20failed\x20(likely\x20already\x20closed):\x20'+_0x5b07f0[_0x1d3c76(0x123)]);}}}async function openSession({hubUrl:_0x503b26,capabilities:_0x6b8541}){const _0x54234e=a76_0x132388,_0x3de15e={'kweKC':function(_0x2d206e,_0x4208c2){return _0x2d206e(_0x4208c2);},'sAhfD':function(_0x449234,_0x3c5ce0){return _0x449234||_0x3c5ce0;},'uOZxv':_0x54234e(0x153),'tsZYQ':_0x54234e(0x134),'MMinf':_0x54234e(0x151),'GtfMb':function(_0x140a4d,_0x5e87a1){return _0x140a4d>=_0x5e87a1;},'HjJgw':'webdriver.remote.sessionid','iMqRu':function(_0x54a2ab,_0x4093e7){return _0x54a2ab>_0x4093e7;}},{username:_0x19c3bf,password:_0x394527,url:_0x5d7aac}=_0x3de15e[_0x54234e(0x126)](_resolveAuth,_0x503b26);if(_0x3de15e[_0x54234e(0x154)](!_0x19c3bf,!_0x394527))throw new Error(_0x3de15e[_0x54234e(0x12f)]);const _0x52bdc2={};_0x52bdc2[_0x54234e(0x160)]=_0x6b8541,_0x52bdc2['firstMatch']=[{}];const _0x31276a={};_0x31276a[_0x54234e(0x133)]=_0x52bdc2,_0x31276a['desiredCapabilities']=_0x6b8541;const _0x1da0f7=_0x31276a,_0x3bd7e1={};_0x3bd7e1[_0x54234e(0x141)]=0x1d4c0;const _0x5db8fb={};_0x5db8fb['json']=_0x1da0f7,_0x5db8fb[_0x54234e(0x128)]=_0x19c3bf,_0x5db8fb['password']=_0x394527,_0x5db8fb['responseType']=_0x3de15e[_0x54234e(0x148)],_0x5db8fb[_0x54234e(0x144)]={},_0x5db8fb['throwHttpErrors']=![],_0x5db8fb[_0x54234e(0x167)]=_0x3bd7e1,_0x5db8fb[_0x54234e(0x144)][_0x54234e(0x15e)]=_0x3de15e['MMinf'];const _0x41efe5=await got[_0x54234e(0x11e)](_0x5d7aac+_0x54234e(0x13c),_0x5db8fb);if(_0x3de15e[_0x54234e(0x13e)](_0x41efe5[_0x54234e(0x14a)],0x190))throw new Error(_0x54234e(0x162)+_0x41efe5[_0x54234e(0x14a)]+'\x20'+JSON['stringify'](_0x41efe5[_0x54234e(0x15d)])[_0x54234e(0x12d)](0x0,0x190));const _0x169df3=_0x41efe5['body']||{},_0x2fec67=_0x169df3['value']||{},_0x3b5937=_0x2fec67[_0x54234e(0x133)]||{},_0xd0836a=_0x169df3['sessionId']||_0x2fec67[_0x54234e(0x139)]||_0x2fec67[_0x3de15e['HjJgw']]||_0x3b5937[_0x3de15e[_0x54234e(0x132)]];if(!_0xd0836a)throw new Error('[w3c-driver]\x20hub\x20returned\x20no\x20sessionId:\x20'+JSON['stringify'](_0x169df3)[_0x54234e(0x12d)](0x0,0x190));const _0x46f681={};return _0x46f681[_0x54234e(0x13f)]=_0x5d7aac,_0x46f681[_0x54234e(0x139)]=_0xd0836a,_0x46f681[_0x54234e(0x128)]=_0x19c3bf,_0x46f681[_0x54234e(0x158)]=_0x394527,{'driver':new W3CDriver(_0x46f681),'sessionId':_0xd0836a,'capabilities':_0x3de15e[_0x54234e(0x13b)](Object['keys'](_0x3b5937)['length'],0x0)?_0x3b5937:_0x6b8541};}const a76_0x2fafdf={};function a76_0x4da9(_0x5d0326,_0xbab9b6){const _0x3bda6=a76_0x3bda();return a76_0x4da9=function(_0x4da9e1,_0x39c9ac){_0x4da9e1=_0x4da9e1-0x11d;let _0x180760=_0x3bda6[_0x4da9e1];return _0x180760;},a76_0x4da9(_0x5d0326,_0xbab9b6);}a76_0x2fafdf[a76_0x132388(0x161)]=openSession,a76_0x2fafdf['W3CDriver']=W3CDriver,module['exports']=a76_0x2fafdf;
1
+ 'use strict';const a76_0x13618c=a76_0xb854;(function(_0x1da572,_0x50e369){const _0x57c24d=a76_0xb854,_0x36210a=_0x1da572();while(!![]){try{const _0x3551f3=parseInt(_0x57c24d(0x1e0))/0x1*(parseInt(_0x57c24d(0x1f7))/0x2)+-parseInt(_0x57c24d(0x21d))/0x3*(parseInt(_0x57c24d(0x219))/0x4)+-parseInt(_0x57c24d(0x201))/0x5*(parseInt(_0x57c24d(0x21a))/0x6)+parseInt(_0x57c24d(0x1f3))/0x7+-parseInt(_0x57c24d(0x220))/0x8*(parseInt(_0x57c24d(0x1f6))/0x9)+-parseInt(_0x57c24d(0x1ec))/0xa+parseInt(_0x57c24d(0x1e3))/0xb;if(_0x3551f3===_0x50e369)break;else _0x36210a['push'](_0x36210a['shift']());}catch(_0xbbafac){_0x36210a['push'](_0x36210a['shift']());}}}(a76_0x51d7,0xe62f7));const got=require(a76_0x13618c(0x1f2)),logger=require(a76_0x13618c(0x213))['winstonLogger'],_trim=_0x30de43=>(_0x30de43||'')['replace'](/\/+$/,'');function _normalizeScheme(_0xd0edaf){const _0x1af02a=a76_0x13618c,_0x25016f={};_0x25016f[_0x1af02a(0x207)]=function(_0x30bcdb,_0x3efd2d){return _0x30bcdb||_0x3efd2d;};const _0x58e106=_0x25016f,_0x522915=_0x58e106[_0x1af02a(0x207)](_0xd0edaf,'')[_0x1af02a(0x20a)]();if(!_0x522915)return _0x522915;if(/^https?:\/\//i['test'](_0x522915))return _0x522915;return _0x1af02a(0x1e7)+_0x522915['replace'](/^\/+/,'');}function _resolveAuth(_0x3f7f9f){const _0x4979f8=a76_0x13618c,_0x1d7ab3={'sUJAI':function(_0x326698,_0x5407bb){return _0x326698(_0x5407bb);},'fPaIw':function(_0x16ac5e,_0x59e592){return _0x16ac5e(_0x59e592);},'IDxAV':function(_0xb99a62,_0xa3b6be){return _0xb99a62(_0xa3b6be);},'sLcLa':function(_0x22e09d,_0x2e5682){return _0x22e09d(_0x2e5682);}},_0x162714=_0x1d7ab3[_0x4979f8(0x1d8)](_normalizeScheme,_0x3f7f9f);try{const _0x512490=new URL(_0x162714);if(_0x512490[_0x4979f8(0x226)]||_0x512490[_0x4979f8(0x1d7)]){const _0x27487e=_0x1d7ab3['fPaIw'](decodeURIComponent,_0x512490[_0x4979f8(0x226)]||''),_0xac091=_0x1d7ab3[_0x4979f8(0x1d8)](decodeURIComponent,_0x512490['password']||'');return _0x512490[_0x4979f8(0x226)]='',_0x512490[_0x4979f8(0x1d7)]='',{'username':_0x27487e,'password':_0xac091,'url':_0x1d7ab3[_0x4979f8(0x1dd)](_trim,_0x512490[_0x4979f8(0x215)]())};}}catch(_0x52c9ba){}return{'username':process[_0x4979f8(0x211)]['BROWSERSTACK_USERNAME']||'','password':process['env'][_0x4979f8(0x218)]||'','url':_0x1d7ab3[_0x4979f8(0x20c)](_trim,_0x162714)};}function a76_0xb854(_0x274c22,_0x1adb81){const _0x51d729=a76_0x51d7();return a76_0xb854=function(_0xb85444,_0x59863c){_0xb85444=_0xb85444-0x1d7;let _0x469e08=_0x51d729[_0xb85444];return _0x469e08;},a76_0xb854(_0x274c22,_0x1adb81);}class W3CDriver{constructor({hubUrl:_0x52873a,sessionId:_0x53abb2,username:_0x299bd8,password:_0x359fcd}){const _0x21a453=a76_0x13618c,_0x589035={'KzCau':function(_0x363569,_0x6b0f9b){return _0x363569(_0x6b0f9b);}};this[_0x21a453(0x21f)]=_0x589035[_0x21a453(0x1fd)](_trim,_0x52873a),this[_0x21a453(0x1e9)]=_0x53abb2,this[_0x21a453(0x1df)]=_0x299bd8,this['_password']=_0x359fcd;}get[a76_0x13618c(0x200)](){const _0x17e211=a76_0x13618c;return this[_0x17e211(0x1e9)];}[a76_0x13618c(0x1e8)](_0x563d0f={}){const _0x403046=a76_0x13618c,_0x1508cb={};_0x1508cb['rqiWr']=_0x403046(0x208),_0x1508cb[_0x403046(0x1fc)]=_0x403046(0x20f);const _0x1307e7=_0x1508cb,_0x2bd9df={'username':this[_0x403046(0x1df)],'password':this['_password'],'responseType':_0x1307e7['rqiWr'],'headers':{'user-agent':_0x1307e7['MrCTx']},'throwHttpErrors':![],..._0x563d0f};return _0x2bd9df;}async[a76_0x13618c(0x1f4)](_0xadc020){const _0x3fa2e7=a76_0x13618c,_0x5a0182={};_0x5a0182[_0x3fa2e7(0x1ed)]=function(_0x340547,_0xfabd8){return _0x340547>=_0xfabd8;};const _0x2a69dd=_0x5a0182,_0x184137={};_0x184137['url']=_0xadc020;const _0x49382e={};_0x49382e[_0x3fa2e7(0x1de)]=0xea60;const _0x253219={};_0x253219[_0x3fa2e7(0x208)]=_0x184137,_0x253219[_0x3fa2e7(0x1e5)]=_0x49382e;const _0x1af3ab=await got[_0x3fa2e7(0x1d9)](this[_0x3fa2e7(0x21f)]+_0x3fa2e7(0x227)+this[_0x3fa2e7(0x1e9)]+_0x3fa2e7(0x1da),this[_0x3fa2e7(0x1e8)](_0x253219));if(_0x2a69dd[_0x3fa2e7(0x1ed)](_0x1af3ab[_0x3fa2e7(0x1f0)],0x190))throw new Error(_0x3fa2e7(0x20d)+this[_0x3fa2e7(0x1e9)]+':\x20HTTP\x20'+_0x1af3ab[_0x3fa2e7(0x1f0)]+'\x20'+JSON['stringify'](_0x1af3ab['body'])[_0x3fa2e7(0x1f5)](0x0,0x12c));}async[a76_0x13618c(0x202)](){const _0x113d79=a76_0x13618c,_0x2a696d={};_0x2a696d[_0x113d79(0x1de)]=0x7530;const _0x228aad={};_0x228aad[_0x113d79(0x1e5)]=_0x2a696d;const _0x52745e=await got[_0x113d79(0x1f8)](this['_hubUrl']+_0x113d79(0x227)+this[_0x113d79(0x1e9)]+_0x113d79(0x1da),this[_0x113d79(0x1e8)](_0x228aad));return _0x52745e[_0x113d79(0x1dc)]&&_0x52745e['body'][_0x113d79(0x1f1)]||'';}async['executeScript'](_0x10b373,..._0x33e996){const _0x465840=a76_0x13618c,_0x54f944={};_0x54f944['script']=_0x10b373,_0x54f944['args']=_0x33e996;const _0x4a86a4={};_0x4a86a4['request']=0xea60;const _0x46b047={};_0x46b047[_0x465840(0x208)]=_0x54f944,_0x46b047[_0x465840(0x1e5)]=_0x4a86a4;const _0x1d60bf=await got[_0x465840(0x1d9)](this[_0x465840(0x21f)]+_0x465840(0x227)+this[_0x465840(0x1e9)]+'/execute/sync',this['_opts'](_0x46b047));return _0x1d60bf[_0x465840(0x1dc)]&&_0x1d60bf['body'][_0x465840(0x1f1)];}async['executeAsyncScript'](_0xb64956,..._0x13923e){const _0x1c3ea3=a76_0x13618c,_0x381c4d={};_0x381c4d[_0x1c3ea3(0x1ee)]=_0xb64956,_0x381c4d[_0x1c3ea3(0x21e)]=_0x13923e;const _0x4511bd={};_0x4511bd['request']=0x1d4c0;const _0x22f7e6={};_0x22f7e6[_0x1c3ea3(0x208)]=_0x381c4d,_0x22f7e6[_0x1c3ea3(0x1e5)]=_0x4511bd;const _0x91bbb5=await got[_0x1c3ea3(0x1d9)](this[_0x1c3ea3(0x21f)]+_0x1c3ea3(0x227)+this[_0x1c3ea3(0x1e9)]+_0x1c3ea3(0x1fb),this['_opts'](_0x22f7e6));return _0x91bbb5[_0x1c3ea3(0x1dc)]&&_0x91bbb5[_0x1c3ea3(0x1dc)][_0x1c3ea3(0x1f1)];}async[a76_0x13618c(0x212)](){const _0x3c3c8c=a76_0x13618c;try{const _0x247a34={};_0x247a34[_0x3c3c8c(0x1de)]=0x7530;const _0x3d605f={};_0x3d605f['timeout']=_0x247a34,await got[_0x3c3c8c(0x209)](this['_hubUrl']+_0x3c3c8c(0x227)+this[_0x3c3c8c(0x1e9)],this[_0x3c3c8c(0x1e8)](_0x3d605f));}catch(_0x58549b){logger[_0x3c3c8c(0x205)](_0x3c3c8c(0x21c)+this['_sessionId']+_0x3c3c8c(0x1e1)+_0x58549b[_0x3c3c8c(0x210)]);}}}function a76_0x51d7(){const _0x3839e5=['username','/session/','password','sUJAI','post','/url','responseType','body','IDxAV','request','_username','251483VGuCES','\x20failed\x20(likely\x20already\x20closed):\x20','[w3c-driver]\x20hub\x20returned\x20no\x20sessionId:\x20','9954802hWUtim','wQKNn','timeout','stringify','https://','_opts','_sessionId','user-agent','throwHttpErrors','4465850BquowO','KMHPp','script','headers','statusCode','value','got','9533209GAkvRt','navigateTo','slice','180cDbVYe','10YRmRpq','get','exports','DEBFL','/execute/async','MrCTx','KzCau','[w3c-driver]\x20BROWSERSTACK_USERNAME\x20/\x20BROWSERSTACK_ACCESS_KEY\x20not\x20set\x20—\x20cannot\x20authenticate\x20to\x20hub','capabilities','sessionId','10BhVVge','getCurrentUrl','cpKtg','/session','debug','swWmw','DcCBh','json','delete','trim','desiredCapabilities','sLcLa','[w3c-driver]\x20POST\x20/url\x20failed\x20for\x20','length','browserstack-node-sdk-testcafe','message','env','quit','../../helpers/logger','VdgmT','toString','hhnEC','webdriver.remote.sessionid','BROWSERSTACK_ACCESS_KEY','492iZChSY','1498542khDtci','tWXZP','[w3c-driver]\x20DELETE\x20/session\x20','31986BWQzpE','args','_hubUrl','129568EKPRIz','openSession','W3CDriver','[w3c-driver]\x20POST\x20/session\x20failed:\x20HTTP\x20','JWFWO','alwaysMatch'];a76_0x51d7=function(){return _0x3839e5;};return a76_0x51d7();}async function openSession({hubUrl:_0x202b1a,capabilities:_0x1704f7}){const _0x246c1e=a76_0x13618c,_0x3aecb3={'wQKNn':function(_0xffe655,_0x5a8a52){return _0xffe655(_0x5a8a52);},'cpKtg':function(_0xe1b24f,_0x596733){return _0xe1b24f||_0x596733;},'DEBFL':_0x246c1e(0x1fe),'hhnEC':_0x246c1e(0x208),'tWXZP':_0x246c1e(0x20f),'VdgmT':function(_0x39bbd1,_0x277678){return _0x39bbd1>=_0x277678;},'JWFWO':_0x246c1e(0x217),'swWmw':function(_0x41cc18,_0x49dd1e){return _0x41cc18>_0x49dd1e;}},{username:_0x24916f,password:_0x2f0007,url:_0xb60b02}=_0x3aecb3[_0x246c1e(0x1e4)](_resolveAuth,_0x202b1a);if(_0x3aecb3[_0x246c1e(0x203)](!_0x24916f,!_0x2f0007))throw new Error(_0x3aecb3[_0x246c1e(0x1fa)]);const _0x403867={};_0x403867[_0x246c1e(0x225)]=_0x1704f7,_0x403867['firstMatch']=[{}];const _0x52461b={};_0x52461b['capabilities']=_0x403867,_0x52461b[_0x246c1e(0x20b)]=_0x1704f7;const _0x548a1e=_0x52461b,_0x10ac70={};_0x10ac70[_0x246c1e(0x1de)]=0x1d4c0;const _0x2b3730={};_0x2b3730[_0x246c1e(0x208)]=_0x548a1e,_0x2b3730[_0x246c1e(0x226)]=_0x24916f,_0x2b3730[_0x246c1e(0x1d7)]=_0x2f0007,_0x2b3730[_0x246c1e(0x1db)]=_0x3aecb3[_0x246c1e(0x216)],_0x2b3730[_0x246c1e(0x1ef)]={},_0x2b3730[_0x246c1e(0x1eb)]=![],_0x2b3730[_0x246c1e(0x1e5)]=_0x10ac70,_0x2b3730[_0x246c1e(0x1ef)][_0x246c1e(0x1ea)]=_0x3aecb3[_0x246c1e(0x21b)];const _0x2184d4=await got[_0x246c1e(0x1d9)](_0xb60b02+_0x246c1e(0x204),_0x2b3730);if(_0x3aecb3[_0x246c1e(0x214)](_0x2184d4[_0x246c1e(0x1f0)],0x190))throw new Error(_0x246c1e(0x223)+_0x2184d4[_0x246c1e(0x1f0)]+'\x20'+JSON[_0x246c1e(0x1e6)](_0x2184d4['body'])[_0x246c1e(0x1f5)](0x0,0x190));const _0x444a8f=_0x2184d4[_0x246c1e(0x1dc)]||{},_0x407ebf=_0x444a8f['value']||{},_0x26ff86=_0x407ebf[_0x246c1e(0x1ff)]||{},_0x5e2bba=_0x444a8f[_0x246c1e(0x200)]||_0x407ebf[_0x246c1e(0x200)]||_0x407ebf[_0x3aecb3[_0x246c1e(0x224)]]||_0x26ff86[_0x3aecb3[_0x246c1e(0x224)]];if(!_0x5e2bba)throw new Error(_0x246c1e(0x1e2)+JSON[_0x246c1e(0x1e6)](_0x444a8f)[_0x246c1e(0x1f5)](0x0,0x190));const _0x5eb9d2={};return _0x5eb9d2['hubUrl']=_0xb60b02,_0x5eb9d2[_0x246c1e(0x200)]=_0x5e2bba,_0x5eb9d2['username']=_0x24916f,_0x5eb9d2[_0x246c1e(0x1d7)]=_0x2f0007,{'driver':new W3CDriver(_0x5eb9d2),'sessionId':_0x5e2bba,'capabilities':_0x3aecb3[_0x246c1e(0x206)](Object['keys'](_0x26ff86)[_0x246c1e(0x20e)],0x0)?_0x26ff86:_0x1704f7};}const a76_0x199916={};a76_0x199916[a76_0x13618c(0x221)]=openSession,a76_0x199916[a76_0x13618c(0x222)]=W3CDriver,module[a76_0x13618c(0x1f9)]=a76_0x199916;
@@ -1 +1 @@
1
- function a77_0x3779(_0x1597fc,_0x258d76){const _0x4a8920=a77_0x4a89();return a77_0x3779=function(_0x3779cd,_0x35da39){_0x3779cd=_0x3779cd-0x150;let _0x55bc16=_0x4a8920[_0x3779cd];return _0x55bc16;},a77_0x3779(_0x1597fc,_0x258d76);}const a77_0xa3e7af=a77_0x3779;(function(_0x3942ab,_0x534d3f){const _0x57cf66=a77_0x3779,_0x28bac8=_0x3942ab();while(!![]){try{const _0x3f4633=parseInt(_0x57cf66(0x194))/0x1*(parseInt(_0x57cf66(0x16e))/0x2)+parseInt(_0x57cf66(0x1c5))/0x3+parseInt(_0x57cf66(0x192))/0x4+-parseInt(_0x57cf66(0x1c9))/0x5+parseInt(_0x57cf66(0x164))/0x6*(-parseInt(_0x57cf66(0x1af))/0x7)+parseInt(_0x57cf66(0x188))/0x8+-parseInt(_0x57cf66(0x1a2))/0x9*(parseInt(_0x57cf66(0x1b1))/0xa);if(_0x3f4633===_0x534d3f)break;else _0x28bac8['push'](_0x28bac8['shift']());}catch(_0x37f681){_0x28bac8['push'](_0x28bac8['shift']());}}}(a77_0x4a89,0x67d02));const constants=require(a77_0xa3e7af(0x183)),{nestedKeyValue}=require(a77_0xa3e7af(0x16c)),getBrowserstackCLI=()=>{const _0x51a07b=a77_0xa3e7af,_0x3fd892={'rzhzg':function(_0x5c8715,_0x5b6901){return _0x5c8715(_0x5b6901);},'PalgF':_0x51a07b(0x1c7)};return _0x3fd892[_0x51a07b(0x155)](require,_0x3fd892[_0x51a07b(0x16d)]);},ALLOWED_API_HOST_SUFFIXES=[a77_0xa3e7af(0x1ab),'bsstag.com'],isAllowedApiHost=_0xd44cbe=>{const _0x2f7742=a77_0xa3e7af;try{const {hostname:_0x3f08f4}=new URL(_0xd44cbe);return ALLOWED_API_HOST_SUFFIXES[_0x2f7742(0x1a4)](_0x38f93b=>_0x3f08f4===_0x38f93b||_0x3f08f4[_0x2f7742(0x1b0)]('.'+_0x38f93b));}catch{return![];}},safeApiHost=(_0x151584,_0x10b76f)=>{const _0x3aec82=a77_0xa3e7af,_0x31d43e={'VnALn':function(_0x7c33bc,_0x59ca1c){return _0x7c33bc(_0x59ca1c);}};if(_0x151584&&_0x31d43e[_0x3aec82(0x1a7)](isAllowedApiHost,_0x151584))return _0x151584;return _0x10b76f;};function a77_0x4a89(){const _0x3b4fd3=['exports','./sharedUtils','PalgF','2zGaSFI','qKoqv','LFnUQ','Drefq','ZLZOz','LMyZG','appAutomate','TlfEO','tXeHM','klKxh','uOSbJ','YsaOO','zCLQV','golSw','FGsuh','getAppAutomateSessionStatusAPIUrl','NNnTg','oJkue','wnoQu','WLoiK','ryAkM','./constants','uDdXL','AoBQN','giIFW','yXubX','15984iMLoLM','fTBdw','ijVqt','YRDuA','IRBIA','LWokT','wss:','OOGZg','MFfvW','replace','2040508gLJWME','mHWfk','809724pXgTuS','JwhSL','BROWSERSTACK_API_URL','getAppAutomateUploadAPIUrl','iHBvA','toString','WLiol','getAutoCaptureLogsAPIUrl','getConfig','YRNMs','yqpZZ','PLAYWRIGHT_HUB_URL','getAutomateSessionStatusAPIUrl','xeXJb','1614519cIjnKq','xrDme','some','api','AIjRI','VnALn','PUPPETEER_HUB_URL','EDS_URL','apis','browserstack.com','upload','qzGJN','CGFTY','34517MsdyVS','endsWith','40gxWxVX','sPxDZ','AnzfR','SbKoF','XlklI','KMtEe','vzAqx','edsInstrumentation','shsUf','GdqUB','oqUbX','observability','wvnJT','sLMIl','qDJlV','getInstance','EUxUy','NdaRK','automate','WESDF','1884870MVXVQK','TiDqx','../v2/browserstackCLI','pJNPw','3099895soFaNa','upRJz','IWRoT','getDetoxHubUrl','getEdsInstrumentationAPIUrl','/puppeteer?caps=','DETOX_HUB_URL','Alpfx','WQHck','lGuvZ','IZqwZ','reylr','getAppAutomateSessionNameAPIUrl','rzhzg','getAppAutomateSessionsListAPIUrl','OBSERVABILITY_UPLOAD_URL','SPRYz','sljzG','GiBWx','getAutomateSessionNameAPIUrl','getBStackAPIUrl','cdp','iRSCY','uxioG','jSTRC','bOBTo','nONAj','JIniN','228pvsLls','VkYYB','getAutomateSessionsListAPIUrl','dSsXh','VyvsL','GagZZ','ZRJWc'];a77_0x4a89=function(){return _0x3b4fd3;};return a77_0x4a89();}class APIUtilityMethods{static[a77_0xa3e7af(0x15c)](_0x30401f){const _0x36b794=a77_0xa3e7af,_0x1bcf19={'sLMIl':function(_0x2c2984){return _0x2c2984();},'fTBdw':function(_0x53ebae,_0x4a2870,_0x36bccc){return _0x53ebae(_0x4a2870,_0x36bccc);},'PEtwO':_0x36b794(0x1aa),'YRNMs':'automate','vvldn':_0x36b794(0x1a5),'dSsXh':function(_0x1a2063,_0x591b69,_0x145cb6){return _0x1a2063(_0x591b69,_0x145cb6);},'TlfEO':function(_0x574deb,_0x5885f5){return _0x574deb===_0x5885f5;},'ijVqt':function(_0x3a29a7,_0x4c6d3a){return _0x3a29a7+_0x4c6d3a;}},_0x3916d5=_0x1bcf19[_0x36b794(0x1be)](getBrowserstackCLI),_0xcf217d=_0x1bcf19[_0x36b794(0x189)](nestedKeyValue,_0x3916d5[_0x36b794(0x1c0)]()['getConfig'](),[_0x1bcf19['PEtwO'],_0x1bcf19[_0x36b794(0x19d)],_0x1bcf19['vvldn']]),_0x59a95a=_0x1bcf19[_0x36b794(0x167)](safeApiHost,_0xcf217d,constants['BROWSERSTACK_API_URL']);if(!_0x30401f||_0x1bcf19[_0x36b794(0x175)](_0x30401f,''))return _0x59a95a;const _0x82059c=_0x59a95a[_0x36b794(0x1b0)]('/')?_0x59a95a:_0x1bcf19[_0x36b794(0x18a)](_0x59a95a,'/');return new URL(_0x30401f,_0x82059c)[_0x36b794(0x199)]();}static[a77_0xa3e7af(0x1cd)](_0xc6f173){const _0xf9971=a77_0xa3e7af,_0x59f4f0={'jSTRC':function(_0x330379){return _0x330379();},'rwfDP':function(_0x51a7f2,_0x217c47,_0x105d39){return _0x51a7f2(_0x217c47,_0x105d39);},'OOGZg':_0xf9971(0x1aa),'IWRoT':_0xf9971(0x1b8),'JwhSL':_0xf9971(0x1a5),'YRDuA':function(_0x37ca7e,_0x4178d6){return _0x37ca7e===_0x4178d6;},'UYcVg':function(_0x1a84d2,_0x347dc0){return _0x1a84d2+_0x347dc0;}},_0x52863e=_0x59f4f0[_0xf9971(0x160)](getBrowserstackCLI),_0xc9dd00=_0x59f4f0['rwfDP'](nestedKeyValue,_0x52863e[_0xf9971(0x1c0)]()['getConfig'](),[_0x59f4f0[_0xf9971(0x18f)],_0x59f4f0[_0xf9971(0x1cb)],_0x59f4f0[_0xf9971(0x195)]])||constants[_0xf9971(0x1a9)];if(!_0xc6f173||_0x59f4f0[_0xf9971(0x18b)](_0xc6f173,''))return _0xc9dd00;const _0x2fc63c=_0xc9dd00[_0xf9971(0x1b0)]('/')?_0xc9dd00:_0x59f4f0['UYcVg'](_0xc9dd00,'/');return new URL(_0xc6f173,_0x2fc63c)[_0xf9971(0x199)]();}static[a77_0xa3e7af(0x1a0)](_0x534d4e){const _0x15d353=a77_0xa3e7af,_0xe64824={'qzGJN':function(_0xca6467){return _0xca6467();},'sljzG':function(_0x2c1163,_0x132c67,_0x2d9646){return _0x2c1163(_0x132c67,_0x2d9646);},'NNnTg':'apis','oIsJg':_0x15d353(0x1c3),'MFfvW':_0x15d353(0x1a5),'iHBvA':function(_0x19520a,_0x15aeda){return _0x19520a===_0x15aeda;},'tXeHM':function(_0x2e3004,_0x4b989b){return _0x2e3004+_0x4b989b;}},_0x5cc891=_0xe64824[_0x15d353(0x1ad)](getBrowserstackCLI),_0x5660de=_0xe64824[_0x15d353(0x159)](nestedKeyValue,_0x5cc891[_0x15d353(0x1c0)]()[_0x15d353(0x19c)](),[_0xe64824[_0x15d353(0x17e)],_0xe64824['oIsJg'],_0xe64824[_0x15d353(0x190)]])||constants[_0x15d353(0x196)];if(!_0x534d4e||_0xe64824[_0x15d353(0x198)](_0x534d4e,''))return _0x5660de;const _0x475ab4=_0x5660de[_0x15d353(0x1b0)]('/')?_0x5660de:_0xe64824[_0x15d353(0x176)](_0x5660de,'/');return new URL(_0x534d4e,_0x475ab4)[_0x15d353(0x199)]();}static[a77_0xa3e7af(0x17d)](_0x3919ff){const _0x520dd8=a77_0xa3e7af,_0x36f2a8={'QfEFg':function(_0x1d9019){return _0x1d9019();},'qDJlV':function(_0x5111d9,_0x344174,_0x1c2686){return _0x5111d9(_0x344174,_0x1c2686);},'XlklI':_0x520dd8(0x1aa),'golSw':_0x520dd8(0x174),'LMyZG':_0x520dd8(0x1a5),'Drefq':function(_0x540970,_0x86536c){return _0x540970===_0x86536c;},'KMtEe':function(_0x2162c8,_0x5584ba){return _0x2162c8+_0x5584ba;}},_0x176591=_0x36f2a8['QfEFg'](getBrowserstackCLI),_0x51154b=_0x36f2a8[_0x520dd8(0x1bf)](nestedKeyValue,_0x176591[_0x520dd8(0x1c0)]()[_0x520dd8(0x19c)](),[_0x36f2a8[_0x520dd8(0x1b5)],_0x36f2a8[_0x520dd8(0x17b)],_0x36f2a8[_0x520dd8(0x173)]])||constants[_0x520dd8(0x196)];if(!_0x3919ff||_0x36f2a8[_0x520dd8(0x171)](_0x3919ff,''))return _0x51154b;const _0x359064=_0x51154b[_0x520dd8(0x1b0)]('/')?_0x51154b:_0x36f2a8[_0x520dd8(0x1b6)](_0x51154b,'/');return new URL(_0x3919ff,_0x359064)[_0x520dd8(0x199)]();}static[a77_0xa3e7af(0x15b)](_0x2cb613){const _0xce15ae=a77_0xa3e7af,_0x7b9d81={'YdVXK':function(_0x3a24be){return _0x3a24be();},'yTnfN':function(_0x2114fc,_0x42fb52,_0xd2deb4){return _0x2114fc(_0x42fb52,_0xd2deb4);},'LFnUQ':'apis','Alpfx':_0xce15ae(0x1c3),'vzAqx':'api','bOBTo':function(_0x407329,_0x2fd6ac){return _0x407329===_0x2fd6ac;},'FKuOq':function(_0x524dbb,_0xda1a78){return _0x524dbb+_0xda1a78;}},_0x54c38b=_0x7b9d81['YdVXK'](getBrowserstackCLI),_0x8027fd=_0x7b9d81['yTnfN'](nestedKeyValue,_0x54c38b['getInstance']()[_0xce15ae(0x19c)](),[_0x7b9d81[_0xce15ae(0x170)],_0x7b9d81[_0xce15ae(0x1d0)],_0x7b9d81[_0xce15ae(0x1b7)]])||constants[_0xce15ae(0x196)];if(!_0x2cb613||_0x7b9d81[_0xce15ae(0x161)](_0x2cb613,''))return _0x8027fd;const _0x571dcc=_0x8027fd[_0xce15ae(0x1b0)]('/')?_0x8027fd:_0x7b9d81['FKuOq'](_0x8027fd,'/');return new URL(_0x2cb613,_0x571dcc)[_0xce15ae(0x199)]();}static[a77_0xa3e7af(0x154)](_0x4635e8){const _0x769f4b=a77_0xa3e7af,_0x3b7772={'GiBWx':function(_0x149c67){return _0x149c67();},'yqpZZ':function(_0x4bbf81,_0x771c30,_0x390e8a){return _0x4bbf81(_0x771c30,_0x390e8a);},'wvnJT':_0x769f4b(0x1aa),'xrDme':_0x769f4b(0x174),'iRSCY':_0x769f4b(0x1a5),'IZqwZ':function(_0x19c6a9,_0x200f4f){return _0x19c6a9===_0x200f4f;},'NdaRK':function(_0x3b93bf,_0x4ded14){return _0x3b93bf+_0x4ded14;}},_0x19f56e=_0x3b7772[_0x769f4b(0x15a)](getBrowserstackCLI),_0x1a4f9c=_0x3b7772[_0x769f4b(0x19e)](nestedKeyValue,_0x19f56e['getInstance']()[_0x769f4b(0x19c)](),[_0x3b7772[_0x769f4b(0x1bd)],_0x3b7772[_0x769f4b(0x1a3)],_0x3b7772[_0x769f4b(0x15e)]])||constants[_0x769f4b(0x196)];if(!_0x4635e8||_0x3b7772[_0x769f4b(0x152)](_0x4635e8,''))return _0x1a4f9c;const _0x1b19f5=_0x1a4f9c['endsWith']('/')?_0x1a4f9c:_0x3b7772[_0x769f4b(0x1c2)](_0x1a4f9c,'/');return new URL(_0x4635e8,_0x1b19f5)[_0x769f4b(0x199)]();}static[a77_0xa3e7af(0x166)](_0xf52732){const _0x2c8622=a77_0xa3e7af,_0xfced78={'Oevjh':function(_0xc7f513){return _0xc7f513();},'GagZZ':function(_0x184809,_0x4f7ce5,_0x2bd28){return _0x184809(_0x4f7ce5,_0x2bd28);},'coDTb':_0x2c8622(0x1aa),'ZLZOz':_0x2c8622(0x1c3),'qKoqv':'api','WQHck':function(_0xba7601,_0x2a89a9){return _0xba7601===_0x2a89a9;},'SPRYz':function(_0xa23fe8,_0x47b7cb){return _0xa23fe8+_0x47b7cb;}},_0x43226e=_0xfced78['Oevjh'](getBrowserstackCLI),_0x269523=_0xfced78[_0x2c8622(0x169)](nestedKeyValue,_0x43226e[_0x2c8622(0x1c0)]()[_0x2c8622(0x19c)](),[_0xfced78['coDTb'],_0xfced78[_0x2c8622(0x172)],_0xfced78[_0x2c8622(0x16f)]])||constants[_0x2c8622(0x196)];if(!_0xf52732||_0xfced78[_0x2c8622(0x150)](_0xf52732,''))return _0x269523;const _0x50e5b9=_0x269523[_0x2c8622(0x1b0)]('/')?_0x269523:_0xfced78[_0x2c8622(0x158)](_0x269523,'/');return new URL(_0xf52732,_0x50e5b9)[_0x2c8622(0x199)]()[_0x2c8622(0x191)](/^https?:\/\//,'');}static[a77_0xa3e7af(0x156)](_0x6672c4){const _0x5ab8de=a77_0xa3e7af,_0x4fd519={'nONAj':function(_0x277887){return _0x277887();},'sPxDZ':function(_0x8c3d3,_0x28de2d,_0x6f00ca){return _0x8c3d3(_0x28de2d,_0x6f00ca);},'giIFW':_0x5ab8de(0x1aa),'uxioG':_0x5ab8de(0x174),'yXubX':_0x5ab8de(0x1a5),'YsaOO':function(_0x53c948,_0x47d9c6){return _0x53c948===_0x47d9c6;},'WESDF':function(_0x5bcca3,_0x56dcb7){return _0x5bcca3+_0x56dcb7;}},_0xff8526=_0x4fd519[_0x5ab8de(0x162)](getBrowserstackCLI),_0x538ead=_0x4fd519[_0x5ab8de(0x1b2)](nestedKeyValue,_0xff8526[_0x5ab8de(0x1c0)]()['getConfig'](),[_0x4fd519[_0x5ab8de(0x186)],_0x4fd519[_0x5ab8de(0x15f)],_0x4fd519[_0x5ab8de(0x187)]])||constants['APP_UPLOAD_URL'];if(!_0x6672c4||_0x4fd519[_0x5ab8de(0x179)](_0x6672c4,''))return _0x538ead;const _0x31077c=_0x538ead['endsWith']('/')?_0x538ead:_0x4fd519[_0x5ab8de(0x1c4)](_0x538ead,'/');return new URL(_0x6672c4,_0x31077c)[_0x5ab8de(0x199)]()['replace'](/^https?:\/\//,'');}static[a77_0xa3e7af(0x197)](_0x2ed775){const _0x54e430=a77_0xa3e7af,_0x384256={'ZRJWc':function(_0x372976){return _0x372976();},'FGsuh':function(_0x28f93c,_0x282b30,_0x380be5){return _0x28f93c(_0x282b30,_0x380be5);},'AoBQN':_0x54e430(0x1aa),'xeXJb':_0x54e430(0x174),'uOSbJ':_0x54e430(0x1ac),'oJkue':function(_0x4f3041,_0xe51190,_0xb7de6d){return _0x4f3041(_0xe51190,_0xb7de6d);},'CGFTY':_0x54e430(0x1a5),'QjDaw':function(_0x4c95d5,_0x292352){return _0x4c95d5===_0x292352;},'VyvsL':function(_0x4a4b47,_0x14e354){return _0x4a4b47+_0x14e354;}},_0x4053f9=_0x384256[_0x54e430(0x16a)](getBrowserstackCLI),_0x26da6b=_0x384256[_0x54e430(0x17c)](nestedKeyValue,_0x4053f9[_0x54e430(0x1c0)]()[_0x54e430(0x19c)](),[_0x384256[_0x54e430(0x185)],_0x384256[_0x54e430(0x1a1)],_0x384256[_0x54e430(0x178)]])||_0x384256[_0x54e430(0x17f)](nestedKeyValue,_0x4053f9[_0x54e430(0x1c0)]()[_0x54e430(0x19c)](),[_0x384256['AoBQN'],_0x384256[_0x54e430(0x1a1)],_0x384256[_0x54e430(0x1ae)]])||constants['APP_UPLOAD_URL'];if(!_0x2ed775||_0x384256['QjDaw'](_0x2ed775,''))return _0x26da6b;const _0x3d9c50=_0x26da6b[_0x54e430(0x1b0)]('/')?_0x26da6b:_0x384256[_0x54e430(0x168)](_0x26da6b,'/');return new URL(_0x2ed775,_0x3d9c50)['toString']();}static[a77_0xa3e7af(0x19b)](_0x526271){const _0x5c18f8=a77_0xa3e7af,_0x896f5a={'IRBIA':function(_0x1b97bc){return _0x1b97bc();},'zCLQV':function(_0x561093,_0x5f4b5c,_0x144665){return _0x561093(_0x5f4b5c,_0x144665);},'AnzfR':_0x5c18f8(0x1aa),'WLoiK':_0x5c18f8(0x1bc),'yIzIL':_0x5c18f8(0x1ac),'SbKoF':function(_0x4fb028,_0x270d3a){return _0x4fb028===_0x270d3a;},'HVMaH':function(_0x894ba0,_0x46d78c){return _0x894ba0+_0x46d78c;}},_0x48400e=_0x896f5a[_0x5c18f8(0x18c)](getBrowserstackCLI),_0x13b1f5=_0x896f5a[_0x5c18f8(0x17a)](nestedKeyValue,_0x48400e[_0x5c18f8(0x1c0)]()[_0x5c18f8(0x19c)](),[_0x896f5a[_0x5c18f8(0x1b3)],_0x896f5a[_0x5c18f8(0x181)],_0x896f5a['yIzIL']])||constants[_0x5c18f8(0x157)];if(!_0x526271||_0x896f5a[_0x5c18f8(0x1b4)](_0x526271,''))return _0x13b1f5;const _0x3a8df8=_0x13b1f5[_0x5c18f8(0x1b0)]('/')?_0x13b1f5:_0x896f5a['HVMaH'](_0x13b1f5,'/');return new URL(_0x526271,_0x3a8df8)[_0x5c18f8(0x199)]();}static['getPlaywrightHubUrl'](_0x1e5f14){const _0x5ebb66=a77_0xa3e7af,_0x5d94dc={'oqUbX':function(_0x12f1a5){return _0x12f1a5();},'gBgmM':function(_0x5176d4,_0x24b829,_0x2368e2){return _0x5176d4(_0x24b829,_0x2368e2);},'GdqUB':_0x5ebb66(0x1aa),'TgKaF':_0x5ebb66(0x1c3),'mHWfk':_0x5ebb66(0x15d),'VkYYB':_0x5ebb66(0x18e),'eSdDp':function(_0x53bc22,_0x1a776f){return _0x53bc22===_0x1a776f;},'LWokT':function(_0x4bf33c,_0x1e4e0b){return _0x4bf33c+_0x1e4e0b;},'WLiol':'/playwright?caps='},_0x3b25b0=_0x5d94dc[_0x5ebb66(0x1bb)](getBrowserstackCLI),_0x276397=_0x5d94dc['gBgmM'](nestedKeyValue,_0x3b25b0[_0x5ebb66(0x1c0)]()[_0x5ebb66(0x19c)](),[_0x5d94dc[_0x5ebb66(0x1ba)],_0x5d94dc['TgKaF'],_0x5d94dc[_0x5ebb66(0x193)]]),_0x58f0ec=(_0x276397?_0x276397['replace'](/^https:/,_0x5d94dc[_0x5ebb66(0x165)]):null)||constants[_0x5ebb66(0x19f)];let _0x1764ab;if(!_0x1e5f14||_0x5d94dc['eSdDp'](_0x1e5f14,''))_0x1764ab=_0x58f0ec;else{const _0x13059e=_0x58f0ec[_0x5ebb66(0x1b0)]('/')?_0x58f0ec:_0x5d94dc[_0x5ebb66(0x18d)](_0x58f0ec,'/');_0x1764ab=new URL(_0x1e5f14,_0x13059e)[_0x5ebb66(0x199)]();}return!_0x1764ab['endsWith'](_0x5d94dc[_0x5ebb66(0x19a)])&&(_0x1764ab+=_0x5d94dc[_0x5ebb66(0x19a)]),_0x1764ab;}static['getPuppeteerHubUrl'](_0x203b6a){const _0x57b71a=a77_0xa3e7af,_0x30106f={'EUxUy':function(_0x44b8ce){return _0x44b8ce();},'pJNPw':function(_0x50b603,_0x28ca36,_0x313c9c){return _0x50b603(_0x28ca36,_0x313c9c);},'AIjRI':_0x57b71a(0x1aa),'wnoQu':_0x57b71a(0x1c3),'lGuvZ':_0x57b71a(0x15d),'TiDqx':_0x57b71a(0x18e),'shsUf':function(_0x362335,_0x4cac17){return _0x362335===_0x4cac17;},'upRJz':function(_0x116330,_0x19213d){return _0x116330+_0x19213d;},'SJJQh':_0x57b71a(0x1ce)},_0x574fb6=_0x30106f[_0x57b71a(0x1c1)](getBrowserstackCLI),_0x53463c=_0x30106f[_0x57b71a(0x1c8)](nestedKeyValue,_0x574fb6[_0x57b71a(0x1c0)]()[_0x57b71a(0x19c)](),[_0x30106f[_0x57b71a(0x1a6)],_0x30106f[_0x57b71a(0x180)],_0x30106f[_0x57b71a(0x151)]]),_0x1a6afb=(_0x53463c?_0x53463c['replace'](/^https:/,_0x30106f[_0x57b71a(0x1c6)]):null)||constants[_0x57b71a(0x1a8)];let _0x5923d6;if(!_0x203b6a||_0x30106f[_0x57b71a(0x1b9)](_0x203b6a,''))_0x5923d6=_0x1a6afb;else{const _0x30a85b=_0x1a6afb[_0x57b71a(0x1b0)]('/')?_0x1a6afb:_0x30106f[_0x57b71a(0x1ca)](_0x1a6afb,'/');_0x5923d6=new URL(_0x203b6a,_0x30a85b)['toString']();}return!_0x5923d6['endsWith'](_0x30106f['SJJQh'])&&(_0x5923d6+=_0x30106f['SJJQh']),_0x5923d6;}static[a77_0xa3e7af(0x1cc)](_0x20dcf0){const _0x5a6a41=a77_0xa3e7af,_0x2aae55={'ryAkM':function(_0x309315){return _0x309315();},'uSWFd':function(_0x3e4ed7,_0x4b0361,_0x5c3dde){return _0x3e4ed7(_0x4b0361,_0x5c3dde);},'TEGrf':_0x5a6a41(0x1aa),'JIniN':_0x5a6a41(0x174),'uDdXL':'detox','jDtee':_0x5a6a41(0x18e),'reylr':function(_0x49dcc5,_0x240eb0){return _0x49dcc5===_0x240eb0;},'klKxh':function(_0x4cdf4c,_0x2cd5ad){return _0x4cdf4c+_0x2cd5ad;}},_0x38b7be=_0x2aae55[_0x5a6a41(0x182)](getBrowserstackCLI),_0x59303a=_0x38b7be?_0x38b7be[_0x5a6a41(0x1c0)]():null,_0x3abc88=_0x59303a?_0x2aae55['uSWFd'](nestedKeyValue,_0x59303a[_0x5a6a41(0x19c)](),[_0x2aae55['TEGrf'],_0x2aae55[_0x5a6a41(0x163)],_0x2aae55[_0x5a6a41(0x184)]]):null,_0x85a11b=(_0x3abc88?_0x3abc88[_0x5a6a41(0x191)](/^https:/,_0x2aae55['jDtee']):null)||constants[_0x5a6a41(0x1cf)];if(!_0x20dcf0||_0x2aae55[_0x5a6a41(0x153)](_0x20dcf0,''))return _0x85a11b;const _0x11c5e2=_0x85a11b['endsWith']('/')?_0x85a11b:_0x2aae55[_0x5a6a41(0x177)](_0x85a11b,'/');return new URL(_0x20dcf0,_0x11c5e2)[_0x5a6a41(0x199)]();}}module[a77_0xa3e7af(0x16b)]=APIUtilityMethods;
1
+ const a77_0x591095=a77_0x359f;function a77_0x359f(_0xc32086,_0x1bbc33){const _0xcdbcdf=a77_0xcdbc();return a77_0x359f=function(_0x359fa9,_0x57add1){_0x359fa9=_0x359fa9-0x146;let _0x4ce443=_0xcdbcdf[_0x359fa9];return _0x4ce443;},a77_0x359f(_0xc32086,_0x1bbc33);}(function(_0x5471c3,_0xbaa2a5){const _0x26312d=a77_0x359f,_0x1c39fa=_0x5471c3();while(!![]){try{const _0x29765e=parseInt(_0x26312d(0x170))/0x1+-parseInt(_0x26312d(0x185))/0x2+parseInt(_0x26312d(0x1bc))/0x3+-parseInt(_0x26312d(0x1a0))/0x4+-parseInt(_0x26312d(0x17b))/0x5+-parseInt(_0x26312d(0x168))/0x6+parseInt(_0x26312d(0x198))/0x7*(parseInt(_0x26312d(0x1a7))/0x8);if(_0x29765e===_0xbaa2a5)break;else _0x1c39fa['push'](_0x1c39fa['shift']());}catch(_0x2d9d46){_0x1c39fa['push'](_0x1c39fa['shift']());}}}(a77_0xcdbc,0xa6e79));const constants=require('./constants'),{nestedKeyValue}=require(a77_0x591095(0x156)),getBrowserstackCLI=()=>{const _0x4b1e89=a77_0x591095,_0x532946={'sfIgW':function(_0x5558ea,_0x481c75){return _0x5558ea(_0x481c75);},'dkIuA':'../v2/browserstackCLI'};return _0x532946[_0x4b1e89(0x14c)](require,_0x532946[_0x4b1e89(0x152)]);},ALLOWED_API_HOST_SUFFIXES=[a77_0x591095(0x1bb),a77_0x591095(0x1b7)],isAllowedApiHost=_0x538767=>{const _0x5956ed=a77_0x591095;try{const {hostname:_0x8da07b}=new URL(_0x538767);return ALLOWED_API_HOST_SUFFIXES['some'](_0x1a7ded=>_0x8da07b===_0x1a7ded||_0x8da07b[_0x5956ed(0x14f)]('.'+_0x1a7ded));}catch{return![];}},safeApiHost=(_0x536df0,_0x889bf6)=>{const _0x2866d9={'ufZon':function(_0xc2b4ef,_0x27e4c1){return _0xc2b4ef(_0x27e4c1);}};if(_0x536df0&&_0x2866d9['ufZon'](isAllowedApiHost,_0x536df0))return _0x536df0;return _0x889bf6;};class APIUtilityMethods{static['getBStackAPIUrl'](_0x5ca23c){const _0x2bf9a9=a77_0x591095,_0x5f52a1={'tLCTP':function(_0xa06b49){return _0xa06b49();},'VyUAc':function(_0x228596,_0x147e29,_0x248500){return _0x228596(_0x147e29,_0x248500);},'UpUOs':_0x2bf9a9(0x1a5),'OWjjz':_0x2bf9a9(0x163),'qWBLL':_0x2bf9a9(0x147),'hdXEu':function(_0x39b9e8,_0x334da3,_0x227f13){return _0x39b9e8(_0x334da3,_0x227f13);},'KnrQM':function(_0x293645,_0x49ca22){return _0x293645===_0x49ca22;},'cUtAL':function(_0x378936,_0x9f4a2d){return _0x378936+_0x9f4a2d;}},_0x32eb26=_0x5f52a1[_0x2bf9a9(0x193)](getBrowserstackCLI),_0x3a3511=_0x5f52a1[_0x2bf9a9(0x172)](nestedKeyValue,_0x32eb26[_0x2bf9a9(0x192)]()['getConfig'](),[_0x5f52a1[_0x2bf9a9(0x178)],_0x5f52a1[_0x2bf9a9(0x1a4)],_0x5f52a1[_0x2bf9a9(0x19c)]]),_0x316d55=_0x5f52a1[_0x2bf9a9(0x162)](safeApiHost,_0x3a3511,constants[_0x2bf9a9(0x1b5)]);if(!_0x5ca23c||_0x5f52a1['KnrQM'](_0x5ca23c,''))return _0x316d55;const _0xa913af=_0x316d55[_0x2bf9a9(0x14f)]('/')?_0x316d55:_0x5f52a1[_0x2bf9a9(0x16e)](_0x316d55,'/');return new URL(_0x5ca23c,_0xa913af)[_0x2bf9a9(0x15d)]();}static['getEdsInstrumentationAPIUrl'](_0x3ed778){const _0x34e5ce=a77_0x591095,_0x561afd={'rJpMx':function(_0xce7bbc){return _0xce7bbc();},'gptxm':function(_0x334641,_0x5c25ce,_0xfe0f15){return _0x334641(_0x5c25ce,_0xfe0f15);},'mplUM':_0x34e5ce(0x1a5),'gFGks':_0x34e5ce(0x165),'mXwQL':_0x34e5ce(0x147),'DcQjD':function(_0x1f5acb,_0x447a31){return _0x1f5acb===_0x447a31;},'tbylg':function(_0x54e2ca,_0x5da149){return _0x54e2ca+_0x5da149;}},_0x246e7f=_0x561afd['rJpMx'](getBrowserstackCLI),_0x466442=_0x561afd[_0x34e5ce(0x161)](nestedKeyValue,_0x246e7f[_0x34e5ce(0x192)]()['getConfig'](),[_0x561afd[_0x34e5ce(0x1ac)],_0x561afd[_0x34e5ce(0x171)],_0x561afd['mXwQL']])||constants[_0x34e5ce(0x17d)];if(!_0x3ed778||_0x561afd['DcQjD'](_0x3ed778,''))return _0x466442;const _0xe21bf4=_0x466442['endsWith']('/')?_0x466442:_0x561afd[_0x34e5ce(0x167)](_0x466442,'/');return new URL(_0x3ed778,_0xe21bf4)['toString']();}static[a77_0x591095(0x175)](_0x30629a){const _0x1f5bea=a77_0x591095,_0x53a64b={'jXiWF':function(_0x1541b0){return _0x1541b0();},'qMbVT':function(_0x23c8e4,_0x2f2ea0,_0x4830f6){return _0x23c8e4(_0x2f2ea0,_0x4830f6);},'oOOXo':'apis','CbIXh':_0x1f5bea(0x163),'eUqhD':_0x1f5bea(0x147),'wCPaV':function(_0x20f89d,_0x4f780e){return _0x20f89d===_0x4f780e;},'kQLGZ':function(_0x12daf1,_0x288faf){return _0x12daf1+_0x288faf;}},_0x3a2c8c=_0x53a64b[_0x1f5bea(0x16d)](getBrowserstackCLI),_0x14436a=_0x53a64b['qMbVT'](nestedKeyValue,_0x3a2c8c['getInstance']()[_0x1f5bea(0x19e)](),[_0x53a64b[_0x1f5bea(0x159)],_0x53a64b['CbIXh'],_0x53a64b[_0x1f5bea(0x15a)]])||constants[_0x1f5bea(0x1b5)];if(!_0x30629a||_0x53a64b[_0x1f5bea(0x1af)](_0x30629a,''))return _0x14436a;const _0x54710b=_0x14436a[_0x1f5bea(0x14f)]('/')?_0x14436a:_0x53a64b[_0x1f5bea(0x1ae)](_0x14436a,'/');return new URL(_0x30629a,_0x54710b)['toString']();}static[a77_0x591095(0x14e)](_0x49dd6f){const _0x40c983=a77_0x591095,_0x44182d={'cxujZ':function(_0x5e78fa){return _0x5e78fa();},'MpcWl':function(_0x38948e,_0x174e79,_0x4a9194){return _0x38948e(_0x174e79,_0x4a9194);},'dijDU':_0x40c983(0x1a5),'JRqgw':_0x40c983(0x17a),'auXRi':_0x40c983(0x147),'hkChs':function(_0x2b5c3d,_0x5f3674){return _0x2b5c3d===_0x5f3674;},'Hdazi':function(_0x36254f,_0x71ef16){return _0x36254f+_0x71ef16;}},_0x18169b=_0x44182d['cxujZ'](getBrowserstackCLI),_0x1eb7d0=_0x44182d['MpcWl'](nestedKeyValue,_0x18169b[_0x40c983(0x192)]()['getConfig'](),[_0x44182d['dijDU'],_0x44182d[_0x40c983(0x194)],_0x44182d['auXRi']])||constants[_0x40c983(0x1b5)];if(!_0x49dd6f||_0x44182d[_0x40c983(0x18d)](_0x49dd6f,''))return _0x1eb7d0;const _0x45fcd3=_0x1eb7d0[_0x40c983(0x14f)]('/')?_0x1eb7d0:_0x44182d[_0x40c983(0x1b0)](_0x1eb7d0,'/');return new URL(_0x49dd6f,_0x45fcd3)['toString']();}static[a77_0x591095(0x19f)](_0x393685){const _0x2481b8=a77_0x591095,_0x28feed={'aJciV':function(_0x5da8af){return _0x5da8af();},'PsDWR':function(_0x459f6e,_0x3631af,_0x63e96e){return _0x459f6e(_0x3631af,_0x63e96e);},'bcoTV':'apis','gfSwq':_0x2481b8(0x163),'gljJk':_0x2481b8(0x147),'aHeVo':function(_0x249c34,_0x47830){return _0x249c34===_0x47830;},'UhwnS':function(_0x201a01,_0x3ac813){return _0x201a01+_0x3ac813;}},_0x29ff1b=_0x28feed[_0x2481b8(0x15f)](getBrowserstackCLI),_0x1daad8=_0x28feed[_0x2481b8(0x1b9)](nestedKeyValue,_0x29ff1b[_0x2481b8(0x192)]()[_0x2481b8(0x19e)](),[_0x28feed[_0x2481b8(0x19d)],_0x28feed[_0x2481b8(0x158)],_0x28feed[_0x2481b8(0x18f)]])||constants[_0x2481b8(0x1b5)];if(!_0x393685||_0x28feed['aHeVo'](_0x393685,''))return _0x1daad8;const _0x3c6109=_0x1daad8['endsWith']('/')?_0x1daad8:_0x28feed[_0x2481b8(0x149)](_0x1daad8,'/');return new URL(_0x393685,_0x3c6109)[_0x2481b8(0x15d)]();}static['getAppAutomateSessionNameAPIUrl'](_0x1b2e91){const _0x3c12f7=a77_0x591095,_0x4a5236={'EVauP':function(_0x64c301){return _0x64c301();},'njrhk':function(_0x3c679f,_0x505fd3,_0x34afde){return _0x3c679f(_0x505fd3,_0x34afde);},'cyzrO':_0x3c12f7(0x1a5),'kHTrg':_0x3c12f7(0x17a),'Ogukk':_0x3c12f7(0x147),'dHZTG':function(_0x5d483f,_0x5dbacf){return _0x5d483f===_0x5dbacf;},'sOXkp':function(_0x8c5a4c,_0x414d6e){return _0x8c5a4c+_0x414d6e;}},_0x386a92=_0x4a5236[_0x3c12f7(0x187)](getBrowserstackCLI),_0x549359=_0x4a5236[_0x3c12f7(0x1a9)](nestedKeyValue,_0x386a92[_0x3c12f7(0x192)]()['getConfig'](),[_0x4a5236['cyzrO'],_0x4a5236[_0x3c12f7(0x18e)],_0x4a5236['Ogukk']])||constants[_0x3c12f7(0x1b5)];if(!_0x1b2e91||_0x4a5236['dHZTG'](_0x1b2e91,''))return _0x549359;const _0x238006=_0x549359[_0x3c12f7(0x14f)]('/')?_0x549359:_0x4a5236[_0x3c12f7(0x1a8)](_0x549359,'/');return new URL(_0x1b2e91,_0x238006)[_0x3c12f7(0x15d)]();}static['getAutomateSessionsListAPIUrl'](_0x4508ad){const _0x30bf34=a77_0x591095,_0x123c8a={'ybFKu':function(_0xc7dba5){return _0xc7dba5();},'uitNX':function(_0x2ac980,_0x2e30b1,_0xe4f559){return _0x2ac980(_0x2e30b1,_0xe4f559);},'MSTQm':_0x30bf34(0x1a5),'ODaPV':_0x30bf34(0x163),'HuENF':'api','YagVJ':function(_0x4005ad,_0x2f42f8){return _0x4005ad===_0x2f42f8;},'gYGTc':function(_0x39aa56,_0x599c56){return _0x39aa56+_0x599c56;}},_0x221035=_0x123c8a[_0x30bf34(0x17f)](getBrowserstackCLI),_0x148b5d=_0x123c8a[_0x30bf34(0x183)](nestedKeyValue,_0x221035[_0x30bf34(0x192)]()['getConfig'](),[_0x123c8a[_0x30bf34(0x157)],_0x123c8a[_0x30bf34(0x186)],_0x123c8a['HuENF']])||constants[_0x30bf34(0x1b5)];if(!_0x4508ad||_0x123c8a['YagVJ'](_0x4508ad,''))return _0x148b5d;const _0x3b5ba6=_0x148b5d[_0x30bf34(0x14f)]('/')?_0x148b5d:_0x123c8a['gYGTc'](_0x148b5d,'/');return new URL(_0x4508ad,_0x3b5ba6)[_0x30bf34(0x15d)]()[_0x30bf34(0x182)](/^https?:\/\//,'');}static[a77_0x591095(0x16c)](_0x1b7071){const _0x227fb3=a77_0x591095,_0x5d1276={'yTXlh':function(_0x320e5b){return _0x320e5b();},'IbVju':function(_0x247bb8,_0x5e83e8,_0xef95f4){return _0x247bb8(_0x5e83e8,_0xef95f4);},'tYvbZ':_0x227fb3(0x1a5),'fmleB':'appAutomate','vwBfc':_0x227fb3(0x147),'TVuip':function(_0x59c6e5,_0x2b8f3c){return _0x59c6e5===_0x2b8f3c;},'dJQgT':function(_0x3729e7,_0x478613){return _0x3729e7+_0x478613;}},_0x54c997=_0x5d1276['yTXlh'](getBrowserstackCLI),_0x4718ba=_0x5d1276[_0x227fb3(0x1ad)](nestedKeyValue,_0x54c997['getInstance']()[_0x227fb3(0x19e)](),[_0x5d1276['tYvbZ'],_0x5d1276[_0x227fb3(0x15e)],_0x5d1276[_0x227fb3(0x1ba)]])||constants[_0x227fb3(0x188)];if(!_0x1b7071||_0x5d1276[_0x227fb3(0x1b4)](_0x1b7071,''))return _0x4718ba;const _0x247cb8=_0x4718ba['endsWith']('/')?_0x4718ba:_0x5d1276[_0x227fb3(0x16b)](_0x4718ba,'/');return new URL(_0x1b7071,_0x247cb8)[_0x227fb3(0x15d)]()['replace'](/^https?:\/\//,'');}static[a77_0x591095(0x1b3)](_0x34de30){const _0x5a65e2=a77_0x591095,_0xe04235={'VsDvM':function(_0x2fbec4){return _0x2fbec4();},'PwbEG':function(_0xec8ff1,_0xf5b7d8,_0x3af20d){return _0xec8ff1(_0xf5b7d8,_0x3af20d);},'oFUuO':_0x5a65e2(0x1a5),'AZpkZ':'appAutomate','rDkEp':_0x5a65e2(0x191),'LHbmA':_0x5a65e2(0x147),'nPFKx':function(_0x629197,_0x107f9b){return _0x629197===_0x107f9b;},'dzLzz':function(_0x1be547,_0x10a6bd){return _0x1be547+_0x10a6bd;}},_0x1de1fd=_0xe04235[_0x5a65e2(0x176)](getBrowserstackCLI),_0x2f959d=_0xe04235[_0x5a65e2(0x155)](nestedKeyValue,_0x1de1fd[_0x5a65e2(0x192)]()[_0x5a65e2(0x19e)](),[_0xe04235[_0x5a65e2(0x160)],_0xe04235[_0x5a65e2(0x169)],_0xe04235[_0x5a65e2(0x16a)]])||_0xe04235[_0x5a65e2(0x155)](nestedKeyValue,_0x1de1fd[_0x5a65e2(0x192)]()[_0x5a65e2(0x19e)](),[_0xe04235[_0x5a65e2(0x160)],_0xe04235[_0x5a65e2(0x169)],_0xe04235[_0x5a65e2(0x153)]])||constants[_0x5a65e2(0x188)];if(!_0x34de30||_0xe04235[_0x5a65e2(0x1a1)](_0x34de30,''))return _0x2f959d;const _0x841f77=_0x2f959d['endsWith']('/')?_0x2f959d:_0xe04235['dzLzz'](_0x2f959d,'/');return new URL(_0x34de30,_0x841f77)[_0x5a65e2(0x15d)]();}static[a77_0x591095(0x15c)](_0x15a4c8){const _0x2e74f8=a77_0x591095,_0x2917de={'SAKsE':function(_0xa9c7b9){return _0xa9c7b9();},'LgwUr':function(_0x5d88f5,_0x32f634,_0x53d59b){return _0x5d88f5(_0x32f634,_0x53d59b);},'QrFCy':'apis','qcUSU':'observability','JiIiD':_0x2e74f8(0x191),'mPIti':function(_0x530242,_0x23c381){return _0x530242===_0x23c381;},'qlups':function(_0x68d481,_0x38efe8){return _0x68d481+_0x38efe8;}},_0x5d138d=_0x2917de[_0x2e74f8(0x17c)](getBrowserstackCLI),_0x152570=_0x2917de[_0x2e74f8(0x184)](nestedKeyValue,_0x5d138d['getInstance']()['getConfig'](),[_0x2917de[_0x2e74f8(0x14a)],_0x2917de[_0x2e74f8(0x177)],_0x2917de[_0x2e74f8(0x14d)]])||constants[_0x2e74f8(0x18b)];if(!_0x15a4c8||_0x2917de[_0x2e74f8(0x1ab)](_0x15a4c8,''))return _0x152570;const _0x39c7ee=_0x152570[_0x2e74f8(0x14f)]('/')?_0x152570:_0x2917de[_0x2e74f8(0x164)](_0x152570,'/');return new URL(_0x15a4c8,_0x39c7ee)[_0x2e74f8(0x15d)]();}static['getPlaywrightHubUrl'](_0x47e269){const _0x3277f7=a77_0x591095,_0x1df0b8={'JHosJ':function(_0x2a91a6){return _0x2a91a6();},'UeaMU':function(_0x3aaa4c,_0x5de058,_0x403db0){return _0x3aaa4c(_0x5de058,_0x403db0);},'vWYrS':_0x3277f7(0x1a5),'TRnjv':'automate','STfrM':_0x3277f7(0x18a),'uyVWP':'wss:','WljLG':function(_0xaf9422,_0x526557){return _0xaf9422===_0x526557;},'iYioE':function(_0x1e68d0,_0x5612bc){return _0x1e68d0+_0x5612bc;},'wjLIX':_0x3277f7(0x180)},_0x1264b5=_0x1df0b8['JHosJ'](getBrowserstackCLI),_0x3ee4fd=_0x1df0b8[_0x3277f7(0x195)](nestedKeyValue,_0x1264b5[_0x3277f7(0x192)]()[_0x3277f7(0x19e)](),[_0x1df0b8[_0x3277f7(0x1a2)],_0x1df0b8[_0x3277f7(0x189)],_0x1df0b8[_0x3277f7(0x15b)]]),_0x39feec=(_0x3ee4fd?_0x3ee4fd[_0x3277f7(0x182)](/^https:/,_0x1df0b8[_0x3277f7(0x179)]):null)||constants[_0x3277f7(0x17e)];let _0x510a97;if(!_0x47e269||_0x1df0b8[_0x3277f7(0x14b)](_0x47e269,''))_0x510a97=_0x39feec;else{const _0x4975f5=_0x39feec[_0x3277f7(0x14f)]('/')?_0x39feec:_0x1df0b8['iYioE'](_0x39feec,'/');_0x510a97=new URL(_0x47e269,_0x4975f5)[_0x3277f7(0x15d)]();}return!_0x510a97[_0x3277f7(0x14f)](_0x1df0b8[_0x3277f7(0x154)])&&(_0x510a97+=_0x1df0b8[_0x3277f7(0x154)]),_0x510a97;}static[a77_0x591095(0x18c)](_0x2109b6){const _0xe317b8=a77_0x591095,_0x16d3af={'WxTzP':function(_0x41170c){return _0x41170c();},'zsCjC':function(_0x3b230f,_0xcfcbfa,_0x3f9a1b){return _0x3b230f(_0xcfcbfa,_0x3f9a1b);},'rcNoc':_0xe317b8(0x1a5),'koOYE':_0xe317b8(0x163),'HMkYj':'cdp','WeWfL':_0xe317b8(0x151),'PZXlF':function(_0x148e01,_0x44b1bc){return _0x148e01===_0x44b1bc;},'IDhMj':function(_0x3b32a0,_0x156d61){return _0x3b32a0+_0x156d61;},'GioCV':_0xe317b8(0x1a3)},_0x4d951b=_0x16d3af['WxTzP'](getBrowserstackCLI),_0x1651d0=_0x16d3af[_0xe317b8(0x174)](nestedKeyValue,_0x4d951b[_0xe317b8(0x192)]()[_0xe317b8(0x19e)](),[_0x16d3af[_0xe317b8(0x148)],_0x16d3af['koOYE'],_0x16d3af[_0xe317b8(0x19a)]]),_0x202066=(_0x1651d0?_0x1651d0[_0xe317b8(0x182)](/^https:/,_0x16d3af[_0xe317b8(0x146)]):null)||constants[_0xe317b8(0x190)];let _0x101aa2;if(!_0x2109b6||_0x16d3af[_0xe317b8(0x197)](_0x2109b6,''))_0x101aa2=_0x202066;else{const _0x3490c0=_0x202066[_0xe317b8(0x14f)]('/')?_0x202066:_0x16d3af[_0xe317b8(0x1a6)](_0x202066,'/');_0x101aa2=new URL(_0x2109b6,_0x3490c0)['toString']();}return!_0x101aa2[_0xe317b8(0x14f)](_0x16d3af[_0xe317b8(0x1aa)])&&(_0x101aa2+=_0x16d3af['GioCV']),_0x101aa2;}static[a77_0x591095(0x1b1)](_0x47bfc3){const _0x25bcc2=a77_0x591095,_0x446340={'bdZSt':function(_0x1fe271){return _0x1fe271();},'vtdLM':function(_0x26d095,_0x142b20,_0x489184){return _0x26d095(_0x142b20,_0x489184);},'IBIld':_0x25bcc2(0x1a5),'FypAn':'appAutomate','hpDGu':_0x25bcc2(0x1b8),'gBKkk':_0x25bcc2(0x151),'EVSsZ':function(_0x518ca4,_0x468e37){return _0x518ca4===_0x468e37;},'MCIOQ':function(_0x5329b8,_0x3c9869){return _0x5329b8+_0x3c9869;}},_0x4d730e=_0x446340[_0x25bcc2(0x150)](getBrowserstackCLI),_0x3a1c8b=_0x4d730e?_0x4d730e[_0x25bcc2(0x192)]():null,_0x21d5ca=_0x3a1c8b?_0x446340[_0x25bcc2(0x199)](nestedKeyValue,_0x3a1c8b['getConfig'](),[_0x446340[_0x25bcc2(0x1b2)],_0x446340[_0x25bcc2(0x196)],_0x446340[_0x25bcc2(0x16f)]]):null,_0x171d97=(_0x21d5ca?_0x21d5ca['replace'](/^https:/,_0x446340[_0x25bcc2(0x166)]):null)||constants[_0x25bcc2(0x1b6)];if(!_0x47bfc3||_0x446340[_0x25bcc2(0x173)](_0x47bfc3,''))return _0x171d97;const _0x1298f2=_0x171d97['endsWith']('/')?_0x171d97:_0x446340[_0x25bcc2(0x19b)](_0x171d97,'/');return new URL(_0x47bfc3,_0x1298f2)[_0x25bcc2(0x15d)]();}}function a77_0xcdbc(){const _0x36e8ca=['browserstack.com','1363722MRVfUj','WeWfL','api','rcNoc','UhwnS','QrFCy','WljLG','sfIgW','JiIiD','getAppAutomateSessionStatusAPIUrl','endsWith','bdZSt','wss:','dkIuA','LHbmA','wjLIX','PwbEG','./sharedUtils','MSTQm','gfSwq','oOOXo','eUqhD','STfrM','getAutoCaptureLogsAPIUrl','toString','fmleB','aJciV','oFUuO','gptxm','hdXEu','automate','qlups','edsInstrumentation','gBKkk','tbylg','813522sxHPYI','AZpkZ','rDkEp','dJQgT','getAppAutomateSessionsListAPIUrl','jXiWF','cUtAL','hpDGu','214811pxiGBG','gFGks','VyUAc','EVSsZ','zsCjC','getAutomateSessionStatusAPIUrl','VsDvM','qcUSU','UpUOs','uyVWP','appAutomate','4347330cgJxqE','SAKsE','EDS_URL','PLAYWRIGHT_HUB_URL','ybFKu','/playwright?caps=','exports','replace','uitNX','LgwUr','2478264AIYmTS','ODaPV','EVauP','APP_UPLOAD_URL','TRnjv','cdp','OBSERVABILITY_UPLOAD_URL','getPuppeteerHubUrl','hkChs','kHTrg','gljJk','PUPPETEER_HUB_URL','upload','getInstance','tLCTP','JRqgw','UeaMU','FypAn','PZXlF','1876483ozDYxH','vtdLM','HMkYj','MCIOQ','qWBLL','bcoTV','getConfig','getAutomateSessionNameAPIUrl','4905824tkvqhg','nPFKx','vWYrS','/puppeteer?caps=','OWjjz','apis','IDhMj','104WHCIgi','sOXkp','njrhk','GioCV','mPIti','mplUM','IbVju','kQLGZ','wCPaV','Hdazi','getDetoxHubUrl','IBIld','getAppAutomateUploadAPIUrl','TVuip','BROWSERSTACK_API_URL','DETOX_HUB_URL','bsstag.com','detox','PsDWR','vwBfc'];a77_0xcdbc=function(){return _0x36e8ca;};return a77_0xcdbc();}module[a77_0x591095(0x181)]=APIUtilityMethods;
@@ -1 +1 @@
1
- const a78_0x5a96a5=a78_0x2468;function a78_0x8012(){const _0x4a32f6=['11qClCEX','fBLUr','{ENV_VAR}','OnPAZ','base64','vVSaU','xIlKv','getAggregatedErrorCodes','push','Session\x20Linking\x20Issue','6NRhQlQ','2956290YphIbl','3032515cKcwpA','isRunning','getFinalErrorMessage','logError','errorCodesOccurredInCLI','replace','getAggregatedClientTroubleshootingErrors','reportSSLCertIssue','Process\x20Interruption','getErrorMessage','error','dCpQX','FJxid','pgvpE','getErrorDetails','FvekV','9XgdmMw','dhsXJ','winstonLogger','1232504XkISXV','length','reportDotBrowserStackFolderNotAccessibleIssue','64710ozmqYf','getSuccess','reportConnectivityIssue','{ERROR_CODES}','size','PJpiP','../v2/browserstackCLI','TAAtj','getErrorCodesOccurredInCli','reportFinalDetectionState','EIPKt','logSituation','RwlBv','errorMessage','uwQbL','CQuXl','9501736OfPeZB','finalErrorMessage','keys','add','Connectivity\x20Issue\x20details\x20not\x20found','parse','zPtvt','getDocumentationLink','CKsgs','Process\x20Interruption\x20details\x20not\x20found:','getInstance','./constants','SSL\x20Certificate\x20Issue\x20details\x20not\x20found.\x20To\x20pass\x20a\x20custom\x20CA\x20bundle,\x20set\x20NODE_EXTRA_CA_CERTS\x20or\x20BROWSERSTACK_EXTRA_CA_CERTS\x20env\x20var\x20to\x20the\x20certificate\x20file\x20path.','NxZKc','{SIGNAL}','browserstack\x20cloud\x20not\x20reachable','sglTL','reportProcessInterruptionSituation','errorCode','qEVkN','toString','tdmnE','[ClientTroubleShootingService]\x20','1752196PSvYeP','FPHfn','1379668TBVDUQ','.browserstack\x20folder\x20not\x20accessible','conflicting\x20env\x20var\x20detected','exports','Conflicting\x20Env\x20Var\x20details\x20not\x20found','naRGn','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','TGJyu','cachedErrorCodes','HmSmc','cvKvd','checkForErrorsOccuredInCLI','YQXvU','documentationLink','112jSpVHw','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','from','errorCodes','stringify','getErrorCodes','join','XsDrz','NevOx','getErrorCode','reportConflictingEnvVarIssue','errorCodesOccurredWhenCLINotRunning','warn','reportClientTroubleshootingError','BZDZX','OrcYP'];a78_0x8012=function(){return _0x4a32f6;};return a78_0x8012();}function a78_0x2468(_0x8c050b,_0x1aa65a){const _0x8012c7=a78_0x8012();return a78_0x2468=function(_0x2468ca,_0x227fc8){_0x2468ca=_0x2468ca-0x17e;let _0x2beb18=_0x8012c7[_0x2468ca];return _0x2beb18;},a78_0x2468(_0x8c050b,_0x1aa65a);}(function(_0x5593c5,_0xfa57d1){const _0x27e6c3=a78_0x2468,_0x7669c4=_0x5593c5();while(!![]){try{const _0x27eb30=parseInt(_0x27e6c3(0x1d5))/0x1+-parseInt(_0x27e6c3(0x1e3))/0x2*(parseInt(_0x27e6c3(0x1ac))/0x3)+parseInt(_0x27e6c3(0x1d3))/0x4+parseInt(_0x27e6c3(0x196))/0x5*(-parseInt(_0x27e6c3(0x194))/0x6)+-parseInt(_0x27e6c3(0x1a9))/0x7+parseInt(_0x27e6c3(0x1bc))/0x8*(parseInt(_0x27e6c3(0x1a6))/0x9)+parseInt(_0x27e6c3(0x195))/0xa*(-parseInt(_0x27e6c3(0x18a))/0xb);if(_0x27eb30===_0xfa57d1)break;else _0x7669c4['push'](_0x7669c4['shift']());}catch(_0x3c9266){_0x7669c4['push'](_0x7669c4['shift']());}}}(a78_0x8012,0xaf9ce));const logger=require('../../helpers/logger')[a78_0x5a96a5(0x1a8)],BrowserstackCLI=require(a78_0x5a96a5(0x1b2)),GrpcClient=require('../v2/grpcClient'),constants=require(a78_0x5a96a5(0x1c7));class ClientTroubleShootingService{static [a78_0x5a96a5(0x1dd)]=null;static [a78_0x5a96a5(0x185)]=new Set();static async[a78_0x5a96a5(0x1a4)](_0x19f4c9){const _0x2991c3=a78_0x5a96a5,_0xd8e49d={};_0xd8e49d[_0x2991c3(0x1d4)]=function(_0xc88fde,_0x27415e){return _0xc88fde!==_0x27415e;};const _0x23c12c=_0xd8e49d;try{if(BrowserstackCLI[_0x2991c3(0x1c6)]()['isRunning']()){const _0x4d6579=await GrpcClient[_0x2991c3(0x1c6)]()[_0x2991c3(0x187)](_0x19f4c9);if(_0x23c12c[_0x2991c3(0x1d4)](_0x4d6579,null)&&_0x4d6579[_0x2991c3(0x1ad)]())return{'errorCode':_0x4d6579[_0x2991c3(0x183)](),'errorMessage':_0x4d6579[_0x2991c3(0x19f)]()};return{};}return{};}catch(_0x185fde){return this[_0x2991c3(0x199)]('Error\x20in\x20getting\x20error\x20details\x20for\x20'+_0x19f4c9+':',_0x185fde),{};}}static async['getAggregatedErrorCodes'](){const _0x26583f=a78_0x5a96a5,_0x331525={};_0x331525[_0x26583f(0x1a1)]=function(_0x11555d,_0x3985d4){return _0x11555d!==_0x3985d4;},_0x331525[_0x26583f(0x1de)]=_0x26583f(0x18e),_0x331525[_0x26583f(0x1b8)]=_0x26583f(0x1e4);const _0x1ca4d8=_0x331525;try{if(BrowserstackCLI['getInstance']()[_0x26583f(0x197)]()){const _0x46e00d=await GrpcClient['getInstance']()[_0x26583f(0x19c)]();if(_0x1ca4d8[_0x26583f(0x1a1)](_0x46e00d,null)&&_0x46e00d[_0x26583f(0x1ad)]()){const _0x2045d3=Buffer[_0x26583f(0x1e5)](_0x46e00d[_0x26583f(0x17f)](),_0x1ca4d8['HmSmc'])[_0x26583f(0x1d0)](),_0x22497b=_0x2045d3?JSON[_0x26583f(0x1c1)](_0x2045d3):[],_0x1a87f2=_0x46e00d[_0x26583f(0x1c3)](),_0x1fbbb3=_0x46e00d[_0x26583f(0x198)](),_0x3e0d8a=Buffer[_0x26583f(0x1e5)](_0x46e00d[_0x26583f(0x1b4)](),_0x1ca4d8[_0x26583f(0x1de)])[_0x26583f(0x1d0)](),_0x252c47=_0x3e0d8a?JSON['parse'](_0x3e0d8a):[],_0x21465b={};return _0x21465b[_0x26583f(0x1e6)]=_0x22497b,_0x21465b[_0x26583f(0x1e2)]=_0x1a87f2,_0x21465b[_0x26583f(0x1bd)]=_0x1fbbb3,_0x21465b[_0x26583f(0x19a)]=_0x252c47,_0x21465b;}const _0xdec84={};return _0xdec84[_0x26583f(0x1e6)]=[],_0xdec84['documentationLink']='',_0xdec84[_0x26583f(0x1bd)]='',_0xdec84[_0x26583f(0x19a)]=[],_0xdec84;}const _0x605010={};return _0x605010[_0x26583f(0x1e6)]=[],_0x605010[_0x26583f(0x1e2)]='',_0x605010['finalErrorMessage']='',_0x605010[_0x26583f(0x19a)]=[],_0x605010;}catch(_0x1d7471){this['logError'](_0x1ca4d8[_0x26583f(0x1b8)],_0x1d7471);const _0x5d860b={};return _0x5d860b[_0x26583f(0x1e6)]=[],_0x5d860b[_0x26583f(0x1e2)]='',_0x5d860b['finalErrorMessage']='',_0x5d860b[_0x26583f(0x19a)]=[],_0x5d860b;}}static[a78_0x5a96a5(0x1b7)](_0x59dd3d,_0x45d7ab){const _0x128703=a78_0x5a96a5;logger[_0x128703(0x186)](_0x59dd3d+':\x20'+_0x45d7ab);}static['checkForErrorsOccuredInCLI'](_0x5644a0){const _0x4555b7=a78_0x5a96a5,_0x3434d0={};_0x3434d0['NevOx']=function(_0x270272,_0x4abb17){return _0x270272!=_0x4abb17;},_0x3434d0[_0x4555b7(0x189)]=function(_0x5d28fd,_0x180506){return _0x5d28fd>_0x180506;},_0x3434d0[_0x4555b7(0x1e1)]=function(_0x2f3c35,_0x18e21e){return _0x2f3c35!=_0x18e21e;};const _0x5c1509=_0x3434d0,_0x4bfec4=[];if(_0x5c1509[_0x4555b7(0x182)](_0x5644a0,null)&&_0x5c1509[_0x4555b7(0x182)](_0x5644a0['errorCodesOccurredInCLI'],null)&&_0x5c1509[_0x4555b7(0x189)](_0x5644a0[_0x4555b7(0x19a)][_0x4555b7(0x1aa)],0x0))for(const _0x37b072 of _0x5644a0[_0x4555b7(0x19a)]){_0x5c1509['YQXvU'](_0x37b072[_0x4555b7(0x1ce)],null)&&_0x5c1509[_0x4555b7(0x1e1)](_0x37b072[_0x4555b7(0x1b9)],null)&&(_0x4bfec4[_0x4555b7(0x192)](_0x37b072[_0x4555b7(0x1ce)]),this[_0x4555b7(0x1b7)](_0x37b072[_0x4555b7(0x1ce)],_0x37b072[_0x4555b7(0x1b9)]));}return _0x4bfec4;}static['getCachedErrorCodes'](){const _0x2c3a32=a78_0x5a96a5;return this[_0x2c3a32(0x1dd)];}static[a78_0x5a96a5(0x199)](_0x2890b9,_0x37ab85){const _0x8eb6c7=a78_0x5a96a5,_0x2fcc88={};_0x2fcc88['FJxid']=function(_0x17900a,_0x268f2b){return _0x17900a===_0x268f2b;},_0x2fcc88[_0x8eb6c7(0x18b)]='object';const _0x328232=_0x2fcc88;if(_0x328232[_0x8eb6c7(0x1a2)](typeof _0x37ab85,_0x328232[_0x8eb6c7(0x18b)]))try{logger[_0x8eb6c7(0x1a0)](_0x8eb6c7(0x1d2)+_0x2890b9+'\x20'+JSON[_0x8eb6c7(0x17e)](_0x37ab85));}catch(_0x99a6df){logger[_0x8eb6c7(0x1a0)](_0x8eb6c7(0x1d2)+_0x2890b9+'\x20'+_0x37ab85);}else logger[_0x8eb6c7(0x1a0)](_0x8eb6c7(0x1d2)+_0x2890b9+'\x20'+_0x37ab85);}static async[a78_0x5a96a5(0x1cd)](_0x13fc9d){const _0x42dd73=a78_0x5a96a5,_0x466f17={};_0x466f17[_0x42dd73(0x1b6)]=_0x42dd73(0x19e),_0x466f17[_0x42dd73(0x1a5)]=function(_0x437e7e,_0x26eea4){return _0x437e7e===_0x26eea4;},_0x466f17[_0x42dd73(0x1da)]=_0x42dd73(0x1c5),_0x466f17[_0x42dd73(0x18f)]=_0x42dd73(0x1ca);const _0x48589a=_0x466f17,_0x3e122b=await this[_0x42dd73(0x1a4)](_0x48589a['EIPKt']);if(!_0x3e122b||_0x48589a[_0x42dd73(0x1a5)](Object['keys'](_0x3e122b)['length'],0x0)){this[_0x42dd73(0x199)](_0x48589a['naRGn'],_0x3e122b);return;}this[_0x42dd73(0x1b7)](_0x3e122b['errorCode'],_0x3e122b[_0x42dd73(0x1b9)][_0x42dd73(0x19b)](_0x48589a[_0x42dd73(0x18f)],_0x13fc9d));}static async['reportSessionLinkingIssue'](){const _0xe860a=a78_0x5a96a5,_0x310afc={};_0x310afc[_0xe860a(0x181)]=_0xe860a(0x193),_0x310afc[_0xe860a(0x1dc)]=function(_0x47c87f,_0x4a728f){return _0x47c87f===_0x4a728f;},_0x310afc['qEVkN']='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0x402073=_0x310afc,_0x2d4460=await this['getErrorDetails'](_0x402073[_0xe860a(0x181)]);if(!_0x2d4460||_0x402073[_0xe860a(0x1dc)](Object[_0xe860a(0x1be)](_0x2d4460)[_0xe860a(0x1aa)],0x0)){this[_0xe860a(0x199)](_0x402073[_0xe860a(0x1cf)],_0x2d4460);return;}this[_0xe860a(0x1b7)](_0x2d4460[_0xe860a(0x1ce)],_0x2d4460[_0xe860a(0x1b9)]);}static async[a78_0x5a96a5(0x1ae)](){const _0x3eaea3=a78_0x5a96a5,_0x304509={};_0x304509['iKZXj']=_0x3eaea3(0x1cb),_0x304509['PJpiP']=function(_0x389939,_0x17116b){return _0x389939===_0x17116b;},_0x304509[_0x3eaea3(0x1bb)]=_0x3eaea3(0x1c0);const _0x3b11fc=_0x304509,_0x43e402=await this[_0x3eaea3(0x1a4)](_0x3b11fc['iKZXj']);if(!_0x43e402||_0x3b11fc[_0x3eaea3(0x1b1)](Object[_0x3eaea3(0x1be)](_0x43e402)[_0x3eaea3(0x1aa)],0x0)){this[_0x3eaea3(0x199)](_0x3b11fc[_0x3eaea3(0x1bb)],_0x43e402);return;}this[_0x3eaea3(0x1b7)](_0x43e402['errorCode'],_0x43e402[_0x3eaea3(0x1b9)]);}static async[a78_0x5a96a5(0x19d)](){const _0x5780f8=a78_0x5a96a5,_0x40daab={};_0x40daab['xIlKv']='ssl\x20cert\x20issue',_0x40daab['NxZKc']=function(_0x4dcf60,_0x31a5ba){return _0x4dcf60===_0x31a5ba;},_0x40daab['TAAtj']=_0x5780f8(0x1c8);const _0x41fd61=_0x40daab,_0x103b7a=await this['getErrorDetails'](_0x41fd61[_0x5780f8(0x190)]);if(!_0x103b7a||_0x41fd61[_0x5780f8(0x1c9)](Object[_0x5780f8(0x1be)](_0x103b7a)[_0x5780f8(0x1aa)],0x0)){this[_0x5780f8(0x199)](_0x41fd61[_0x5780f8(0x1b3)],_0x103b7a);return;}this[_0x5780f8(0x1b7)](_0x103b7a[_0x5780f8(0x1ce)],_0x103b7a['errorMessage']);}static[a78_0x5a96a5(0x1ab)](){const _0xd1c96f=a78_0x5a96a5,_0x2c7e15={};_0x2c7e15[_0xd1c96f(0x1c4)]=_0xd1c96f(0x1d6),_0x2c7e15[_0xd1c96f(0x1a7)]=function(_0xf3bdcb,_0x6eb723){return _0xf3bdcb===_0x6eb723;},_0x2c7e15[_0xd1c96f(0x188)]=_0xd1c96f(0x1db);const _0x1c899c=_0x2c7e15,_0x1b38d8=constants['CLIENT_TROUBLESHOOTING_HASH'][_0x1c899c[_0xd1c96f(0x1c4)]];if(!_0x1b38d8||_0x1c899c[_0xd1c96f(0x1a7)](Object[_0xd1c96f(0x1be)](_0x1b38d8)['length'],0x0)){this[_0xd1c96f(0x199)](_0x1c899c[_0xd1c96f(0x188)],_0x1b38d8);return;}this[_0xd1c96f(0x185)][_0xd1c96f(0x1bf)](_0x1b38d8[0x0]),this[_0xd1c96f(0x1b7)](_0x1b38d8[0x0],_0x1b38d8[0x1]);}static async[a78_0x5a96a5(0x184)](_0x147fec){const _0x34237f=a78_0x5a96a5,_0x267775={};_0x267775[_0x34237f(0x1d1)]=_0x34237f(0x1d7),_0x267775[_0x34237f(0x1cc)]=function(_0x2f5182,_0x2d5a94){return _0x2f5182===_0x2d5a94;},_0x267775[_0x34237f(0x1ba)]=_0x34237f(0x1d9),_0x267775['zPtvt']=_0x34237f(0x18c);const _0x12d190=_0x267775,_0x27b4c6=await this['getErrorDetails'](_0x12d190[_0x34237f(0x1d1)]);if(!_0x27b4c6||_0x12d190[_0x34237f(0x1cc)](Object[_0x34237f(0x1be)](_0x27b4c6)[_0x34237f(0x1aa)],0x0)){this['logError'](_0x12d190['uwQbL'],_0x27b4c6);return;}const _0x1e8039=_0x27b4c6[_0x34237f(0x1b9)]['replace'](_0x12d190[_0x34237f(0x1c2)],_0x147fec);this['logSituation'](_0x27b4c6[_0x34237f(0x1ce)],_0x1e8039);}static async[a78_0x5a96a5(0x1b5)](){const _0x51ad21=a78_0x5a96a5,_0x260eab={};_0x260eab['SDCKG']=function(_0x1ad73c,_0x3ba710){return _0x1ad73c>_0x3ba710;},_0x260eab[_0x51ad21(0x1df)]=function(_0x239d29,_0x332053){return _0x239d29>_0x332053;},_0x260eab[_0x51ad21(0x18d)]=_0x51ad21(0x1af),_0x260eab['pgvpE']='{CLIENT_TROUBLESHOOTING_DOCUMENTATION}';const _0x164d77=_0x260eab,_0xa2aabb=await this[_0x51ad21(0x191)](),_0x110241=this[_0x51ad21(0x1e0)](_0xa2aabb),_0x2cf2fa=Array['isArray'](_0xa2aabb['errorCodes'])?_0xa2aabb[_0x51ad21(0x1e6)]:[],_0x174982=_0x164d77['SDCKG'](this['errorCodesOccurredWhenCLINotRunning'][_0x51ad21(0x1b0)],0x0)?Array[_0x51ad21(0x1e5)](this[_0x51ad21(0x185)]):[],_0x4bbab1=new Set([..._0x2cf2fa,..._0x110241,..._0x174982]),_0x2feda5=Array[_0x51ad21(0x1e5)](_0x4bbab1);if(_0x164d77['cvKvd'](_0x2feda5[_0x51ad21(0x1aa)],0x0)){const _0x138c77=_0xa2aabb[_0x51ad21(0x1bd)][_0x51ad21(0x19b)](_0x164d77[_0x51ad21(0x18d)],_0x2feda5[_0x51ad21(0x180)](',\x20'))[_0x51ad21(0x19b)](_0x164d77[_0x51ad21(0x1a3)],_0xa2aabb[_0x51ad21(0x1e2)]);logger['warn'](_0x138c77),this['cachedErrorCodes']=_0x2feda5;}}}module[a78_0x5a96a5(0x1d8)]=ClientTroubleShootingService;
1
+ const a78_0x383a90=a78_0x1ff7;(function(_0x2887d9,_0x721fb8){const _0xb2081e=a78_0x1ff7,_0x338ba7=_0x2887d9();while(!![]){try{const _0x8b438a=parseInt(_0xb2081e(0x1cc))/0x1+-parseInt(_0xb2081e(0x188))/0x2+-parseInt(_0xb2081e(0x191))/0x3+-parseInt(_0xb2081e(0x1cd))/0x4+parseInt(_0xb2081e(0x16a))/0x5*(parseInt(_0xb2081e(0x1a8))/0x6)+parseInt(_0xb2081e(0x19d))/0x7*(-parseInt(_0xb2081e(0x16f))/0x8)+parseInt(_0xb2081e(0x186))/0x9;if(_0x8b438a===_0x721fb8)break;else _0x338ba7['push'](_0x338ba7['shift']());}catch(_0x557be9){_0x338ba7['push'](_0x338ba7['shift']());}}}(a78_0x4466,0x2add9));const logger=require(a78_0x383a90(0x1ca))[a78_0x383a90(0x17b)],BrowserstackCLI=require(a78_0x383a90(0x1ab)),GrpcClient=require(a78_0x383a90(0x1c2)),constants=require('./constants');function a78_0x4466(){const _0x1803e7=['HwdIS','winstonLogger','gpNSD','YrxSW','toString','errorCodes','bxasB','browserstack\x20cloud\x20not\x20reachable','cachedErrorCodes','reportClientTroubleshootingError','conflicting\x20env\x20var\x20detected','isRunning','670365bXSUdD','checkForErrorsOccuredInCLI','217212lUHPjj','Connectivity\x20Issue\x20details\x20not\x20found','{ERROR_CODES}','ssl\x20cert\x20issue','Session\x20Linking\x20Issue\x20details\x20not\x20found','keys','getCachedErrorCodes','baEBk','errorMessage','433974AFunBv','add','nYkpB','ncIKY','reportSSLCertIssue','logError','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','tHSBG','npoSM','bQdxh','reportConflictingEnvVarIssue','push','161lmxTJl','exports','Sqmsp','getFinalErrorMessage','error','RLSOh','Session\x20Linking\x20Issue','finalErrorMessage','documentationLink','GSgWi','ZtzdD','89802wGHHev','ZsrDV','getErrorCodesOccurredInCli','../v2/browserstackCLI','errorCodesOccurredWhenCLINotRunning','wENUN','stringify','cPcTd','loAPb','{SIGNAL}','ihRxH','VAksT','errorCode','logSituation','from','getAggregatedClientTroubleshootingErrors','join','parse','getErrorDetails','getErrorMessage','getDocumentationLink','[ClientTroubleShootingService]\x20','.browserstack\x20folder\x20not\x20accessible','errorCodesOccurredInCLI','Error\x20in\x20getting\x20error\x20details\x20for\x20','getSuccess','../v2/grpcClient','getInstance','tpYYz','cWJvy','LIPeg','SfpPk','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','getAggregatedErrorCodes','../../helpers/logger','vHHOQ','216746AaUqWl','1928iSnaPR','object','Process\x20Interruption','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','eBrvR','QSagz','115XAqFMh','lxcwU','isArray','PEchu','reportProcessInterruptionSituation','71704WKukHm','rEJsd','reportSessionLinkingIssue','reportFinalDetectionState','getErrorCode','YsHXP','size','reportConnectivityIssue','replace','warn','length'];a78_0x4466=function(){return _0x1803e7;};return a78_0x4466();}class ClientTroubleShootingService{static [a78_0x383a90(0x182)]=null;static [a78_0x383a90(0x1ac)]=new Set();static async[a78_0x383a90(0x1ba)](_0x1ea1da){const _0x338b5c=a78_0x383a90,_0x1bdf3e={};_0x1bdf3e[_0x338b5c(0x199)]=function(_0x1fe2c5,_0x478218){return _0x1fe2c5!==_0x478218;};const _0x225ace=_0x1bdf3e;try{if(BrowserstackCLI[_0x338b5c(0x1c3)]()[_0x338b5c(0x185)]()){const _0x2abf73=await GrpcClient[_0x338b5c(0x1c3)]()[_0x338b5c(0x183)](_0x1ea1da);if(_0x225ace[_0x338b5c(0x199)](_0x2abf73,null)&&_0x2abf73[_0x338b5c(0x1c1)]())return{'errorCode':_0x2abf73[_0x338b5c(0x173)](),'errorMessage':_0x2abf73[_0x338b5c(0x1bb)]()};return{};}return{};}catch(_0x5e4664){return this['logError'](_0x338b5c(0x1c0)+_0x1ea1da+':',_0x5e4664),{};}}static async['getAggregatedErrorCodes'](){const _0x51ae2b=a78_0x383a90,_0x498c22={};_0x498c22[_0x51ae2b(0x1a6)]=function(_0x93fb2f,_0x22df9c){return _0x93fb2f!==_0x22df9c;},_0x498c22[_0x51ae2b(0x1a9)]='base64',_0x498c22[_0x51ae2b(0x17c)]=_0x51ae2b(0x1c8);const _0x590c2c=_0x498c22;try{if(BrowserstackCLI[_0x51ae2b(0x1c3)]()[_0x51ae2b(0x185)]()){const _0x599876=await GrpcClient[_0x51ae2b(0x1c3)]()[_0x51ae2b(0x1b7)]();if(_0x590c2c['GSgWi'](_0x599876,null)&&_0x599876['getSuccess']()){const _0x1ce338=Buffer['from'](_0x599876['getErrorCodes'](),_0x590c2c[_0x51ae2b(0x1a9)])[_0x51ae2b(0x17e)](),_0x3e96e7=_0x1ce338?JSON['parse'](_0x1ce338):[],_0x39a7e6=_0x599876[_0x51ae2b(0x1bc)](),_0x13b263=_0x599876[_0x51ae2b(0x1a0)](),_0x137aaa=Buffer[_0x51ae2b(0x1b6)](_0x599876[_0x51ae2b(0x1aa)](),_0x590c2c[_0x51ae2b(0x1a9)])[_0x51ae2b(0x17e)](),_0x278017=_0x137aaa?JSON[_0x51ae2b(0x1b9)](_0x137aaa):[],_0x47f977={};return _0x47f977['errorCodes']=_0x3e96e7,_0x47f977[_0x51ae2b(0x1a5)]=_0x39a7e6,_0x47f977[_0x51ae2b(0x1a4)]=_0x13b263,_0x47f977[_0x51ae2b(0x1bf)]=_0x278017,_0x47f977;}const _0x2b0d1a={};return _0x2b0d1a[_0x51ae2b(0x17f)]=[],_0x2b0d1a[_0x51ae2b(0x1a5)]='',_0x2b0d1a['finalErrorMessage']='',_0x2b0d1a[_0x51ae2b(0x1bf)]=[],_0x2b0d1a;}const _0x4f0c7b={};return _0x4f0c7b[_0x51ae2b(0x17f)]=[],_0x4f0c7b[_0x51ae2b(0x1a5)]='',_0x4f0c7b[_0x51ae2b(0x1a4)]='',_0x4f0c7b['errorCodesOccurredInCLI']=[],_0x4f0c7b;}catch(_0x3e1498){this[_0x51ae2b(0x196)](_0x590c2c[_0x51ae2b(0x17c)],_0x3e1498);const _0x58b465={};return _0x58b465[_0x51ae2b(0x17f)]=[],_0x58b465['documentationLink']='',_0x58b465[_0x51ae2b(0x1a4)]='',_0x58b465['errorCodesOccurredInCLI']=[],_0x58b465;}}static[a78_0x383a90(0x1b5)](_0x46a7e1,_0x1b98e4){const _0x56a682=a78_0x383a90;logger[_0x56a682(0x178)](_0x46a7e1+':\x20'+_0x1b98e4);}static[a78_0x383a90(0x187)](_0x157a65){const _0xc24afa=a78_0x383a90,_0x13f758={};_0x13f758['loAPb']=function(_0xb0b1f5,_0x2256ac){return _0xb0b1f5!=_0x2256ac;},_0x13f758['hwZQd']=function(_0x43e509,_0x22ff4e){return _0x43e509>_0x22ff4e;},_0x13f758[_0xc24afa(0x1c4)]=function(_0x1294c8,_0x247901){return _0x1294c8!=_0x247901;};const _0x38411d=_0x13f758,_0x40ad0a=[];if(_0x38411d[_0xc24afa(0x1b0)](_0x157a65,null)&&_0x38411d['loAPb'](_0x157a65[_0xc24afa(0x1bf)],null)&&_0x38411d['hwZQd'](_0x157a65[_0xc24afa(0x1bf)][_0xc24afa(0x179)],0x0))for(const _0x14c545 of _0x157a65[_0xc24afa(0x1bf)]){_0x38411d[_0xc24afa(0x1b0)](_0x14c545[_0xc24afa(0x1b4)],null)&&_0x38411d[_0xc24afa(0x1c4)](_0x14c545[_0xc24afa(0x190)],null)&&(_0x40ad0a[_0xc24afa(0x19c)](_0x14c545[_0xc24afa(0x1b4)]),this[_0xc24afa(0x1b5)](_0x14c545[_0xc24afa(0x1b4)],_0x14c545[_0xc24afa(0x190)]));}return _0x40ad0a;}static[a78_0x383a90(0x18e)](){const _0x16c6e7=a78_0x383a90;return this[_0x16c6e7(0x182)];}static[a78_0x383a90(0x196)](_0x1a0b28,_0x2b31c5){const _0xf88d1e=a78_0x383a90,_0x13534c={};_0x13534c[_0xf88d1e(0x19a)]=function(_0x318e33,_0x124b60){return _0x318e33===_0x124b60;},_0x13534c[_0xf88d1e(0x1a7)]=_0xf88d1e(0x1ce);const _0x371fa5=_0x13534c;if(_0x371fa5[_0xf88d1e(0x19a)](typeof _0x2b31c5,_0x371fa5[_0xf88d1e(0x1a7)]))try{logger[_0xf88d1e(0x1a1)](_0xf88d1e(0x1bd)+_0x1a0b28+'\x20'+JSON[_0xf88d1e(0x1ae)](_0x2b31c5));}catch(_0x439d9f){logger[_0xf88d1e(0x1a1)]('[ClientTroubleShootingService]\x20'+_0x1a0b28+'\x20'+_0x2b31c5);}else logger['error'](_0xf88d1e(0x1bd)+_0x1a0b28+'\x20'+_0x2b31c5);}static async[a78_0x383a90(0x16e)](_0x28ee25){const _0x118f53=a78_0x383a90,_0xf8971f={};_0xf8971f['Sqmsp']=_0x118f53(0x1cf),_0xf8971f[_0x118f53(0x174)]=function(_0x197ccb,_0x1f6a54){return _0x197ccb===_0x1f6a54;},_0xf8971f['SfpPk']='Process\x20Interruption\x20details\x20not\x20found:',_0xf8971f[_0x118f53(0x168)]=_0x118f53(0x1b1);const _0x3d74c2=_0xf8971f,_0x18d759=await this[_0x118f53(0x1ba)](_0x3d74c2[_0x118f53(0x19f)]);if(!_0x18d759||_0x3d74c2[_0x118f53(0x174)](Object['keys'](_0x18d759)[_0x118f53(0x179)],0x0)){this['logError'](_0x3d74c2[_0x118f53(0x1c7)],_0x18d759);return;}this[_0x118f53(0x1b5)](_0x18d759[_0x118f53(0x1b4)],_0x18d759['errorMessage'][_0x118f53(0x177)](_0x3d74c2[_0x118f53(0x168)],_0x28ee25));}static async[a78_0x383a90(0x171)](){const _0xbf4183=a78_0x383a90,_0x23890c={};_0x23890c[_0xbf4183(0x16d)]=_0xbf4183(0x1a3),_0x23890c[_0xbf4183(0x170)]=function(_0x428894,_0x2aae6c){return _0x428894===_0x2aae6c;},_0x23890c[_0xbf4183(0x1c6)]=_0xbf4183(0x18c);const _0x88c707=_0x23890c,_0x5aeaff=await this[_0xbf4183(0x1ba)](_0x88c707[_0xbf4183(0x16d)]);if(!_0x5aeaff||_0x88c707['rEJsd'](Object[_0xbf4183(0x18d)](_0x5aeaff)[_0xbf4183(0x179)],0x0)){this[_0xbf4183(0x196)](_0x88c707[_0xbf4183(0x1c6)],_0x5aeaff);return;}this[_0xbf4183(0x1b5)](_0x5aeaff[_0xbf4183(0x1b4)],_0x5aeaff[_0xbf4183(0x190)]);}static async[a78_0x383a90(0x176)](){const _0x269613=a78_0x383a90,_0x34d750={};_0x34d750[_0x269613(0x1af)]=_0x269613(0x181),_0x34d750[_0x269613(0x16b)]=function(_0xedfeb,_0xa32a0e){return _0xedfeb===_0xa32a0e;},_0x34d750[_0x269613(0x169)]=_0x269613(0x189);const _0x378238=_0x34d750,_0x35450f=await this['getErrorDetails'](_0x378238[_0x269613(0x1af)]);if(!_0x35450f||_0x378238[_0x269613(0x16b)](Object['keys'](_0x35450f)[_0x269613(0x179)],0x0)){this[_0x269613(0x196)](_0x378238[_0x269613(0x169)],_0x35450f);return;}this[_0x269613(0x1b5)](_0x35450f[_0x269613(0x1b4)],_0x35450f[_0x269613(0x190)]);}static async[a78_0x383a90(0x195)](){const _0x46611c=a78_0x383a90,_0x7dc758={};_0x7dc758[_0x46611c(0x1ad)]=_0x46611c(0x18b),_0x7dc758['RLSOh']=function(_0x196db6,_0x304f6c){return _0x196db6===_0x304f6c;},_0x7dc758['HwdIS']='SSL\x20Certificate\x20Issue\x20details\x20not\x20found.\x20To\x20pass\x20a\x20custom\x20CA\x20bundle,\x20set\x20NODE_EXTRA_CA_CERTS\x20or\x20BROWSERSTACK_EXTRA_CA_CERTS\x20env\x20var\x20to\x20the\x20certificate\x20file\x20path.';const _0x429a5f=_0x7dc758,_0x3bae70=await this[_0x46611c(0x1ba)](_0x429a5f['wENUN']);if(!_0x3bae70||_0x429a5f[_0x46611c(0x1a2)](Object[_0x46611c(0x18d)](_0x3bae70)[_0x46611c(0x179)],0x0)){this[_0x46611c(0x196)](_0x429a5f[_0x46611c(0x17a)],_0x3bae70);return;}this[_0x46611c(0x1b5)](_0x3bae70['errorCode'],_0x3bae70[_0x46611c(0x190)]);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0x8a3ce3=a78_0x383a90,_0x4dd426={};_0x4dd426[_0x8a3ce3(0x1c5)]=_0x8a3ce3(0x1be),_0x4dd426['ihRxH']=function(_0x179c25,_0x16bdac){return _0x179c25===_0x16bdac;},_0x4dd426[_0x8a3ce3(0x17d)]=_0x8a3ce3(0x197);const _0x4eda02=_0x4dd426,_0x210af9=constants['CLIENT_TROUBLESHOOTING_HASH'][_0x4eda02[_0x8a3ce3(0x1c5)]];if(!_0x210af9||_0x4eda02[_0x8a3ce3(0x1b2)](Object['keys'](_0x210af9)[_0x8a3ce3(0x179)],0x0)){this[_0x8a3ce3(0x196)](_0x4eda02['YrxSW'],_0x210af9);return;}this[_0x8a3ce3(0x1ac)][_0x8a3ce3(0x192)](_0x210af9[0x0]),this[_0x8a3ce3(0x1b5)](_0x210af9[0x0],_0x210af9[0x1]);}static async[a78_0x383a90(0x19b)](_0x2931f6){const _0x42aa23=a78_0x383a90,_0x538b5b={};_0x538b5b[_0x42aa23(0x1cb)]=_0x42aa23(0x184),_0x538b5b[_0x42aa23(0x18f)]=function(_0x2ce867,_0x6554da){return _0x2ce867===_0x6554da;},_0x538b5b[_0x42aa23(0x180)]='Conflicting\x20Env\x20Var\x20details\x20not\x20found',_0x538b5b[_0x42aa23(0x1b3)]='{ENV_VAR}';const _0x53eeaf=_0x538b5b,_0x5307bc=await this[_0x42aa23(0x1ba)](_0x53eeaf[_0x42aa23(0x1cb)]);if(!_0x5307bc||_0x53eeaf[_0x42aa23(0x18f)](Object['keys'](_0x5307bc)['length'],0x0)){this[_0x42aa23(0x196)](_0x53eeaf[_0x42aa23(0x180)],_0x5307bc);return;}const _0x4b9707=_0x5307bc[_0x42aa23(0x190)][_0x42aa23(0x177)](_0x53eeaf['VAksT'],_0x2931f6);this[_0x42aa23(0x1b5)](_0x5307bc[_0x42aa23(0x1b4)],_0x4b9707);}static async[a78_0x383a90(0x172)](){const _0x681bbc=a78_0x383a90,_0xc07ece={};_0xc07ece['sLVcH']=function(_0x23a121,_0xf1ef0c){return _0x23a121>_0xf1ef0c;},_0xc07ece[_0x681bbc(0x198)]=function(_0x227e02,_0x5bf876){return _0x227e02>_0x5bf876;},_0xc07ece['ncIKY']=_0x681bbc(0x18a),_0xc07ece[_0x681bbc(0x193)]=_0x681bbc(0x167);const _0x35692b=_0xc07ece,_0x22c2b1=await this[_0x681bbc(0x1c9)](),_0x339f88=this[_0x681bbc(0x187)](_0x22c2b1),_0x567f99=Array[_0x681bbc(0x16c)](_0x22c2b1[_0x681bbc(0x17f)])?_0x22c2b1[_0x681bbc(0x17f)]:[],_0x54653f=_0x35692b['sLVcH'](this['errorCodesOccurredWhenCLINotRunning'][_0x681bbc(0x175)],0x0)?Array[_0x681bbc(0x1b6)](this[_0x681bbc(0x1ac)]):[],_0x9e2b4=new Set([..._0x567f99,..._0x339f88,..._0x54653f]),_0x3bf7ed=Array[_0x681bbc(0x1b6)](_0x9e2b4);if(_0x35692b['tHSBG'](_0x3bf7ed[_0x681bbc(0x179)],0x0)){const _0x51261d=_0x22c2b1[_0x681bbc(0x1a4)]['replace'](_0x35692b[_0x681bbc(0x194)],_0x3bf7ed[_0x681bbc(0x1b8)](',\x20'))[_0x681bbc(0x177)](_0x35692b[_0x681bbc(0x193)],_0x22c2b1[_0x681bbc(0x1a5)]);logger[_0x681bbc(0x178)](_0x51261d),this[_0x681bbc(0x182)]=_0x3bf7ed;}}}function a78_0x1ff7(_0x771ff5,_0x32db40){const _0x446606=a78_0x4466();return a78_0x1ff7=function(_0x1ff708,_0x2eca8b){_0x1ff708=_0x1ff708-0x167;let _0x3bbebc=_0x446606[_0x1ff708];return _0x3bbebc;},a78_0x1ff7(_0x771ff5,_0x32db40);}module[a78_0x383a90(0x19e)]=ClientTroubleShootingService;