browserstack-node-sdk 1.66.3 → 1.66.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) 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/newmanTestFramework.js +1 -1
  139. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  140. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  142. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  143. package/src/bin/v2/framework/testFramework.js +1 -1
  144. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  146. package/src/bin/v2/grpcClient.js +1 -1
  147. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  148. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  149. package/src/bin/v2/instances/trackedContext.js +1 -1
  150. package/src/bin/v2/instances/trackedInstance.js +1 -1
  151. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  152. package/src/bin/v2/modules/baseModule.js +1 -1
  153. package/src/bin/v2/modules/loadTestModule.js +1 -1
  154. package/src/bin/v2/modules/observabilityModule.js +1 -1
  155. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  156. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  157. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  158. package/src/bin/v2/modules/testhubModule.js +1 -1
  159. package/src/bin/v2/sdkErrorHandler.js +1 -1
  160. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  161. package/src/bin/v2/state/hookState.js +1 -1
  162. package/src/bin/v2/state/testFrameworkState.js +1 -1
  163. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  164. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  165. package/src/bin/v2/utils/jest-utils.js +1 -1
  166. package/src/bin/vanilla-js/command.js +1 -1
  167. package/src/browserStackSdk.js +1 -1
  168. package/src/helpers/BrowserStackSetup.js +1 -1
  169. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  170. package/src/helpers/accessibility-automation/constants.js +1 -1
  171. package/src/helpers/accessibility-automation/helper.js +1 -1
  172. package/src/helpers/accessibility-automation/scripts.js +1 -1
  173. package/src/helpers/ats/constants.js +1 -1
  174. package/src/helpers/ats/helper.js +1 -1
  175. package/src/helpers/caCertHelper.js +1 -1
  176. package/src/helpers/capsMapping.js +1 -1
  177. package/src/helpers/central-scanner/constants.js +1 -1
  178. package/src/helpers/central-scanner/helpers.js +1 -1
  179. package/src/helpers/classLogger.js +1 -1
  180. package/src/helpers/driverInitErrorReporter.js +1 -1
  181. package/src/helpers/globals.js +1 -1
  182. package/src/helpers/helper.js +1 -1
  183. package/src/helpers/logger.js +1 -1
  184. package/src/helpers/metadata.js +1 -1
  185. package/src/helpers/patchHelper.js +1 -1
  186. package/src/helpers/patchHelpers.js +1 -1
  187. package/src/helpers/percy/Percy.js +1 -1
  188. package/src/helpers/percy/PercyBinary.js +1 -1
  189. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  190. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  191. package/src/helpers/percy/PercySDK.js +1 -1
  192. package/src/helpers/percy/index.js +1 -1
  193. package/src/helpers/percy/utils.js +1 -1
  194. package/src/helpers/performance/constants.js +1 -1
  195. package/src/helpers/performance/performance-tester.js +1 -1
  196. package/src/helpers/playwright-helper.js +1 -1
  197. package/src/helpers/processHelper.js +1 -1
  198. package/src/helpers/puppeteer-helper.js +1 -1
  199. package/src/helpers/request-spy.js +1 -1
  200. package/src/helpers/setKeepAlive.js +1 -1
  201. package/src/helpers/stackFrameUtils.js +1 -1
  202. package/src/helpers/test-observability/constants.js +1 -1
  203. package/src/helpers/test-observability/error-handler.js +1 -1
  204. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  205. package/src/helpers/test-observability/sessionHandler.js +1 -1
  206. package/src/helpers/test-observability/utils.js +1 -1
  207. package/src/helpers/test-orchestration/constants.js +1 -1
  208. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  209. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  210. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  211. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  212. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  213. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  214. package/src/helpers/testhub/constants.js +1 -1
  215. package/src/helpers/testhub/testhubHandler.js +1 -1
  216. package/src/helpers/testhub/utils.js +1 -1
  217. package/src/helpers/utilities.js +1 -1
  218. package/src/helpers/w3cMapping.js +1 -1
  219. package/src/hubAllocationMethods.js +1 -1
  220. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a58_0x3b00(_0x415c65,_0x5f1bac){const _0x196b41=a58_0x196b();return a58_0x3b00=function(_0x3b0043,_0x5980da){_0x3b0043=_0x3b0043-0x184;let _0x5d02c1=_0x196b41[_0x3b0043];return _0x5d02c1;},a58_0x3b00(_0x415c65,_0x5f1bac);}const a58_0x2e620c=a58_0x3b00;function a58_0x196b(){const _0x5a6545=['Gfwhm','ttpsc','../../../helpers/logger','_integrations.json','debug','traceZipPaths','readdirSync','getStoreDirName','message','52473bgXqHt','getAccessibilityPlatformValidation','rmSync','IdfSQ','318356pZbAEA','existsSync','VVkPb','jEkeD','getFilePath','hzMwc','.txt','project','stringify','JrwXX','Error\x20writing\x20trace\x20file:\x20','cbGfm','recursive','dQAwh','getDirPath','_test','parse','endsWith','48Dwamsz','Pflni','774112lcTLzk','mkdirSync','tests','JBemI','getTestDetails','isValidEnvValue','writeFileSync','441294MkhhTC','.json','string','env','addTraceFilePath','error','winstonLogger','getStoreDirSuffix','forEach','trace_','30312rXktQk','getIntegrations','UEDHE','values','some','getTraceFilePaths','62588rNpzam','getTestUUID','wobZE','BS_TESTOPS_BUILD_HASHED_ID','Dnhlj','4689LwZqaG','getTestRunIdFromTestInfo','retry','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','filePath','pCxjB','push','undefined','_traceZipPaths.json','default','../../../helpers/test-observability/constants','toString','uuid','utf8','readFileSync','shutdown','setTestDetails','gpaZv','fagSB','force','BROWSERSTACK_TESTHUB_UUID_SEED','getTestIdFromTestInfo','homedir','_platformDetails.json','Qzfhc','ieTAi','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','mtWqy','_projectId','EILnX','160yNlcAB','liIvx','8590wkjMNk','../../../helpers/test-observability/utils','join','format','pJukO','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','getStoreDirPath','getTraceZipDir','lBaeM','.browserstack','EoTRa','setup','setIntegrations'];a58_0x196b=function(){return _0x5a6545;};return a58_0x196b();}(function(_0x543d34,_0x4263d5){const _0x44d578=a58_0x3b00,_0x2a662a=_0x543d34();while(!![]){try{const _0x12fd75=parseInt(_0x44d578(0x1d8))/0x1+parseInt(_0x44d578(0x1dc))/0x2+parseInt(_0x44d578(0x184))/0x3*(-parseInt(_0x44d578(0x19d))/0x4)+-parseInt(_0x44d578(0x1c0))/0x5*(parseInt(_0x44d578(0x197))/0x6)+-parseInt(_0x44d578(0x18d))/0x7+parseInt(_0x44d578(0x186))/0x8+parseInt(_0x44d578(0x1a2))/0x9*(parseInt(_0x44d578(0x1c2))/0xa);if(_0x12fd75===_0x4263d5)break;else _0x2a662a['push'](_0x2a662a['shift']());}catch(_0x23ab4b){_0x2a662a['push'](_0x2a662a['shift']());}}}(a58_0x196b,0x44940));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a58_0x2e620c(0x1ae)),{TEMP_STORE_DIR_NAME}=require(a58_0x2e620c(0x1ac)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a58_0x2e620c(0x1d1))[a58_0x2e620c(0x193)],{getLogDir}=require('../../../helpers/logger'),util=require('util'),helper=require('../../../helpers/helper'),{deterministicTestUUID}=require(a58_0x2e620c(0x1c3));class TestDetails{static [a58_0x2e620c(0x188)]={};static[a58_0x2e620c(0x1cd)](){const _0x35e3bd=a58_0x2e620c;this[_0x35e3bd(0x1b1)]();const _0x2b2e60={};_0x2b2e60[_0x35e3bd(0x1e8)]=!![],fs[_0x35e3bd(0x187)](this[_0x35e3bd(0x1ea)](),_0x2b2e60);const _0x46ad33={};_0x46ad33[_0x35e3bd(0x1e8)]=!![],fs[_0x35e3bd(0x187)](this['getTraceZipDir'](),_0x46ad33);}static[a58_0x2e620c(0x194)](){const _0x538aef=a58_0x2e620c,_0x57d13f={};_0x57d13f[_0x538aef(0x1d0)]=function(_0x3be498,_0xadd825){return _0x3be498!==_0xadd825;},_0x57d13f[_0x538aef(0x1b4)]='null',_0x57d13f[_0x538aef(0x1df)]=_0x538aef(0x1a9),_0x57d13f['mtWqy']=function(_0x3811a9,_0x43c883){return _0x3811a9===_0x43c883;},_0x57d13f['gpaZv']=_0x538aef(0x1ab);const _0xa6cb44=_0x57d13f,_0x453d8f=process[_0x538aef(0x190)][_0x538aef(0x1b6)],_0x142c7e=_0x453d8f&&_0xa6cb44[_0x538aef(0x1d0)](_0x453d8f,_0xa6cb44[_0x538aef(0x1b4)])&&_0xa6cb44[_0x538aef(0x1d0)](_0x453d8f,_0xa6cb44[_0x538aef(0x1df)])?_0x453d8f:process['env'][_0x538aef(0x1a0)];if(!_0x142c7e||_0xa6cb44[_0x538aef(0x1bd)](_0x142c7e,_0xa6cb44[_0x538aef(0x1df)])||_0xa6cb44[_0x538aef(0x1bd)](_0x142c7e,_0xa6cb44[_0x538aef(0x1b4)]))return _0xa6cb44[_0x538aef(0x1b3)];return _0x142c7e;}static[a58_0x2e620c(0x1d6)](){const _0x67a7bb=a58_0x2e620c,_0x28db07={};_0x28db07[_0x67a7bb(0x1bb)]=function(_0x3b301f,_0x208ede){return _0x3b301f+_0x208ede;},_0x28db07['jJgNo']=function(_0x56548f,_0x43ba13){return _0x56548f+_0x43ba13;};const _0x120cc9=_0x28db07;return _0x120cc9[_0x67a7bb(0x1bb)](_0x120cc9['jJgNo'](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x67a7bb(0x194)]());}static[a58_0x2e620c(0x1c8)](){const _0x1ae188=a58_0x2e620c,_0x45304d={};_0x45304d[_0x1ae188(0x1de)]=function(_0x2db5ce,_0x4456f6){return _0x2db5ce+_0x4456f6;},_0x45304d['wobZE']=function(_0x1b38f5,_0x3986b8){return _0x1b38f5+_0x3986b8;};const _0xbfcbe7=_0x45304d;return path[_0x1ae188(0x1c4)](_0xbfcbe7['VVkPb'](_0xbfcbe7[_0x1ae188(0x19f)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']()));}static[a58_0x2e620c(0x1c9)](){const _0x461318=a58_0x2e620c,_0x206cc1={};_0x206cc1[_0x461318(0x1cf)]=_0x461318(0x1d4);const _0x485ad2=_0x206cc1;return path[_0x461318(0x1c4)](this['getStoreDirPath'](),_0x485ad2[_0x461318(0x1cf)]);}static[a58_0x2e620c(0x1ea)](){const _0x18601e=a58_0x2e620c;return TestDetails[_0x18601e(0x1d6)]();}static[a58_0x2e620c(0x1e0)](_0x3d7552){const _0x31e754=a58_0x2e620c,_0x3aff85={};_0x3aff85[_0x31e754(0x1a7)]=function(_0x4dab3b,_0x15ac80){return _0x4dab3b+_0x15ac80;},_0x3aff85[_0x31e754(0x1ba)]=_0x31e754(0x18e);const _0xdbcb0b=_0x3aff85;return path[_0x31e754(0x1c4)](this[_0x31e754(0x1ea)](),_0xdbcb0b[_0x31e754(0x1a7)](_0x3d7552,_0xdbcb0b[_0x31e754(0x1ba)]));}static[a58_0x2e620c(0x1a3)](_0x4f0570){const _0x3066e1=a58_0x2e620c,_0xa57e55={};_0xa57e55[_0x3066e1(0x185)]=function(_0x30fc56,_0xc97fc1){return _0x30fc56+_0xc97fc1;};const _0x3968e8=_0xa57e55;return _0x3968e8['Pflni'](_0x3968e8[_0x3066e1(0x185)](this[_0x3066e1(0x1b7)](_0x4f0570),'-'),_0x4f0570[_0x3066e1(0x1a4)]);}static['getProjectIdFromTestInfo'](_0x58e844){const _0x32d0ef=a58_0x2e620c,_0x5ba5e2={'dQAwh':function(_0x398cb6,_0x217ce7,_0x1697f2){return _0x398cb6(_0x217ce7,_0x1697f2);},'Dnhlj':'_test','EoTRa':_0x32d0ef(0x1be),'kDeoO':_0x32d0ef(0x1e3),'JrwXX':'__projectId'};return _0x5ba5e2[_0x32d0ef(0x1e9)](nestedKeyValue,_0x58e844,[_0x5ba5e2[_0x32d0ef(0x1a1)],_0x5ba5e2[_0x32d0ef(0x1cc)]])||_0x5ba5e2[_0x32d0ef(0x1e9)](nestedKeyValue,_0x58e844,[_0x5ba5e2['kDeoO'],_0x5ba5e2[_0x32d0ef(0x1e5)]]);}static[a58_0x2e620c(0x1b7)](_0x70d93a){const _0x1cb38a=a58_0x2e620c,_0x56f2f4={'pJukO':function(_0xceee94,_0x2f496e,_0x17e8fa){return _0xceee94(_0x2f496e,_0x17e8fa);},'lBaeM':_0x1cb38a(0x1eb)};return _0x56f2f4[_0x1cb38a(0x1c6)](nestedKeyValue,_0x70d93a,[_0x56f2f4[_0x1cb38a(0x1ca)],'id'])||_0x70d93a['testId'];}static[a58_0x2e620c(0x19e)](_0x5f0363){const _0xdf4ed9=a58_0x2e620c,_0x407511={'IdfSQ':function(_0x28c319,_0x23660c){return _0x28c319===_0x23660c;},'hzMwc':_0xdf4ed9(0x18f),'UEDHE':function(_0x14ee1d,_0x4cdc5c){return _0x14ee1d(_0x4cdc5c);},'aegYT':function(_0xed4af2){return _0xed4af2();}};if(this[_0xdf4ed9(0x188)][_0x5f0363]&&_0x407511[_0xdf4ed9(0x1db)](typeof this[_0xdf4ed9(0x188)][_0x5f0363][_0xdf4ed9(0x1ae)],_0x407511[_0xdf4ed9(0x1e1)]))return this['tests'][_0x5f0363][_0xdf4ed9(0x1ae)];const _0x48b2c1=process['env'][_0xdf4ed9(0x1b6)];if(helper[_0xdf4ed9(0x18b)](_0x48b2c1)){const _0x9e5f94=_0x407511[_0xdf4ed9(0x199)](deterministicTestUUID,_0x5f0363),_0x1192e8={};_0x1192e8[_0xdf4ed9(0x1ae)]=_0x9e5f94,this[_0xdf4ed9(0x188)][_0x5f0363]=_0x1192e8;try{const _0x30c13f={};_0x30c13f['recursive']=!![],fs[_0xdf4ed9(0x187)](this[_0xdf4ed9(0x1ea)](),_0x30c13f),fs[_0xdf4ed9(0x18c)](this[_0xdf4ed9(0x1e0)](_0x5f0363),JSON['stringify'](this[_0xdf4ed9(0x188)][_0x5f0363]));}catch(_0x51e2f0){logger[_0xdf4ed9(0x1d3)]('getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20'+_0x5f0363+':\x20'+(_0x51e2f0&&_0x51e2f0[_0xdf4ed9(0x1d7)]));}return _0x9e5f94;}const _0x4293bc=this[_0xdf4ed9(0x1e0)](_0x5f0363);if(_0x4293bc&&fs[_0xdf4ed9(0x1dd)](_0x4293bc)){const _0x5d3b27=JSON[_0xdf4ed9(0x1ec)](fs[_0xdf4ed9(0x1b0)](_0x4293bc)[_0xdf4ed9(0x1ad)]());return this['tests'][_0x5f0363]=_0x5d3b27,this[_0xdf4ed9(0x188)][_0x5f0363][_0xdf4ed9(0x1ae)];}return this[_0xdf4ed9(0x188)][_0x5f0363]={'uuid':_0x407511['aegYT'](uuidv4)},fs['writeFileSync'](_0x4293bc,JSON['stringify'](this['tests'][_0x5f0363])),this[_0xdf4ed9(0x188)][_0x5f0363][_0xdf4ed9(0x1ae)];}static[a58_0x2e620c(0x1d9)](_0x3fdadc){const _0x3d4cbe=a58_0x2e620c,_0x31d3fd=path[_0x3d4cbe(0x1c4)](this[_0x3d4cbe(0x1ea)](),_0x3fdadc+'_platformDetails.json');if(_0x31d3fd&&fs[_0x3d4cbe(0x1dd)](_0x31d3fd))return fs[_0x3d4cbe(0x1b0)](_0x31d3fd)[_0x3d4cbe(0x1ad)]();}static['setAccessibilityPlatformValidation'](_0x1a1add,_0x43c5ac){const _0x3425ea=a58_0x2e620c;try{const _0x1a98ec=this['getDirPath'](),_0x1861bc={};_0x1861bc['recursive']=!![],fs['mkdirSync'](_0x1a98ec,_0x1861bc);const _0x145fdb=path[_0x3425ea(0x1c4)](_0x1a98ec,_0x43c5ac+_0x3425ea(0x1b9));fs[_0x3425ea(0x18c)](_0x145fdb,_0x1a1add[_0x3425ea(0x1ad)]());}catch(_0xf7b456){logger[_0x3425ea(0x1d3)](_0x3425ea(0x1a5)+_0x43c5ac+':\x20'+(_0xf7b456&&_0xf7b456[_0x3425ea(0x1d7)]));}}static[a58_0x2e620c(0x198)](_0x54a6e5){const _0x4e62dc=a58_0x2e620c,_0x5ad276=path['join'](this[_0x4e62dc(0x1ea)](),_0x54a6e5+_0x4e62dc(0x1d2));if(_0x5ad276&&fs[_0x4e62dc(0x1dd)](_0x5ad276))try{return JSON[_0x4e62dc(0x1ec)](fs[_0x4e62dc(0x1b0)](_0x5ad276)[_0x4e62dc(0x1ad)]());}catch(_0x3d26b9){return logger['debug'](_0x4e62dc(0x1bc)+_0x54a6e5+':\x20'+(_0x3d26b9&&_0x3d26b9[_0x4e62dc(0x1d7)])),null;}return null;}static[a58_0x2e620c(0x1ce)](_0x4a85e7,_0x3b3089){const _0x8fec8e=a58_0x2e620c,_0x48364f={};_0x48364f['EILnX']=function(_0x301527,_0xac34fa){return _0x301527||_0xac34fa;};const _0x3a44c6=_0x48364f;if(_0x3a44c6[_0x8fec8e(0x1bf)](!_0x4a85e7,!_0x3b3089))return;try{const _0x27a376=this['getDirPath'](),_0x4edaab={};_0x4edaab[_0x8fec8e(0x1e8)]=!![],fs[_0x8fec8e(0x187)](_0x27a376,_0x4edaab);const _0xaa0b1c=path[_0x8fec8e(0x1c4)](_0x27a376,_0x4a85e7+_0x8fec8e(0x1d2));fs['writeFileSync'](_0xaa0b1c,JSON[_0x8fec8e(0x1e4)](_0x3b3089));}catch(_0xce95fa){logger[_0x8fec8e(0x1d3)](_0x8fec8e(0x1c7)+_0x4a85e7+':\x20'+(_0xce95fa&&_0xce95fa[_0x8fec8e(0x1d7)]));}}static[a58_0x2e620c(0x1b1)](){const _0x53a0fe=a58_0x2e620c,_0x40bc29={};_0x40bc29[_0x53a0fe(0x1e8)]=!![],_0x40bc29[_0x53a0fe(0x1b5)]=!![],fs[_0x53a0fe(0x1da)](this[_0x53a0fe(0x1ea)](),_0x40bc29);}static[a58_0x2e620c(0x18a)](_0xa7e288){const _0x255011=a58_0x2e620c;if(this['tests'][_0xa7e288])return this[_0x255011(0x188)][_0xa7e288];const _0x22321d=this[_0x255011(0x1e0)](_0xa7e288);if(_0x22321d&&fs[_0x255011(0x1dd)](_0x22321d)){const _0x58fb41=JSON[_0x255011(0x1ec)](fs[_0x255011(0x1b0)](_0x22321d)[_0x255011(0x1ad)]());return this[_0x255011(0x188)][_0xa7e288]=_0x58fb41,_0x58fb41;}return{};}static[a58_0x2e620c(0x1b2)](_0x2edefe,_0x452aec){const _0x2d0c75=a58_0x2e620c,_0x5f0846=this[_0x2d0c75(0x1e0)](_0x2edefe);if(_0x5f0846&&fs[_0x2d0c75(0x1dd)](_0x5f0846)){const _0x518478=JSON[_0x2d0c75(0x1ec)](fs[_0x2d0c75(0x1b0)](_0x5f0846)['toString']()),_0x906db5={..._0x518478,..._0x452aec};this[_0x2d0c75(0x188)][_0x2edefe]=_0x906db5;}else this[_0x2d0c75(0x188)][_0x2edefe]=_0x452aec;fs[_0x2d0c75(0x18c)](_0x5f0846,this['tests'][_0x2edefe]);}static[a58_0x2e620c(0x191)](_0x1ed039){const _0x228425=a58_0x2e620c,_0x1f6d5a={};_0x1f6d5a['QMGlT']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x21adbe=_0x1f6d5a;try{const _0x44f899=process['pid'],_0x1fc110=path[_0x228425(0x1c4)](TestDetails[_0x228425(0x1c9)](),_0x44f899+_0x228425(0x1aa));let _0x54a71c=[];_0x1fc110&&fs[_0x228425(0x1dd)](_0x1fc110)&&(_0x54a71c=JSON[_0x228425(0x1ec)](fs[_0x228425(0x1b0)](_0x1fc110)['toString']())),!_0x54a71c[_0x228425(0x19b)](_0x32b213=>_0x32b213[_0x228425(0x1a6)]===_0x1ed039[_0x228425(0x1a6)])&&(_0x54a71c[_0x228425(0x1a8)](_0x1ed039),fs[_0x228425(0x18c)](_0x1fc110,JSON[_0x228425(0x1e4)](_0x54a71c)));}catch(_0x2f8ab2){logger[_0x228425(0x192)](_0x21adbe['QMGlT'],_0x2f8ab2);}}static[a58_0x2e620c(0x19c)](){const _0x347e05=a58_0x2e620c,_0x881f5b={};_0x881f5b['rSfFM']=_0x347e05(0x1aa),_0x881f5b[_0x347e05(0x1c1)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x2056b5=_0x881f5b,_0x5c9a2b=[];try{const _0x48ffd3=TestDetails['getTraceZipDir']();if(_0x48ffd3&&!fs[_0x347e05(0x1dd)](_0x48ffd3))return _0x5c9a2b;const _0x92c44f=fs[_0x347e05(0x1d5)](_0x48ffd3);_0x92c44f['forEach'](_0x22df21=>{const _0x42bf73=_0x347e05;if(_0x22df21&&_0x22df21[_0x42bf73(0x1ed)](_0x2056b5['rSfFM'])){const _0x336cf4=JSON['parse'](fs['readFileSync'](path['join'](_0x48ffd3,_0x22df21))[_0x42bf73(0x1ad)]());_0x5c9a2b[_0x42bf73(0x1a8)](..._0x336cf4);}});}catch(_0x51323b){logger['error'](util[_0x347e05(0x1c5)](_0x2056b5[_0x347e05(0x1c1)],_0x51323b));}const _0x18a950={};return _0x5c9a2b[_0x347e05(0x195)](_0x44d88d=>{const _0x412854=_0x347e05;_0x18a950[_0x44d88d[_0x412854(0x1a6)]]=_0x44d88d;}),Object[_0x347e05(0x19a)](_0x18a950);}static['appendToTracePaths'](_0x169751,_0x4bbca5){const _0x26cfbd=a58_0x2e620c,_0x3b4aa9={};_0x3b4aa9[_0x26cfbd(0x189)]=_0x26cfbd(0x1cb),_0x3b4aa9[_0x26cfbd(0x1e7)]=_0x26cfbd(0x1af);const _0x2efa89=_0x3b4aa9;try{const _0x15fa82=path['join'](helper[_0x26cfbd(0x1b8)](),_0x2efa89[_0x26cfbd(0x189)]);if(!fs[_0x26cfbd(0x1dd)](_0x15fa82)){const _0x3cd7c2={};_0x3cd7c2[_0x26cfbd(0x1e8)]=!![],fs[_0x26cfbd(0x187)](_0x15fa82,_0x3cd7c2);}fs['appendFileSync'](path[_0x26cfbd(0x1c4)](_0x15fa82,_0x26cfbd(0x196)+_0x4bbca5+_0x26cfbd(0x1e2)),_0x169751+'\x0a',_0x2efa89[_0x26cfbd(0x1e7)]);}catch(_0x56d23e){console[_0x26cfbd(0x192)](_0x26cfbd(0x1e6)+_0x56d23e[_0x26cfbd(0x1d7)]);}}}module['exports']=TestDetails;
1
+ const a58_0x1ad378=a58_0x4f40;function a58_0x4f40(_0x47469c,_0xe54b35){const _0x3a29b9=a58_0x3a29();return a58_0x4f40=function(_0x4f4023,_0x37c1a0){_0x4f4023=_0x4f4023-0x1a9;let _0x14f700=_0x3a29b9[_0x4f4023];return _0x14f700;},a58_0x4f40(_0x47469c,_0xe54b35);}function a58_0x3a29(){const _0xff640=['1360209RwgWip','pztUl','aiaQP','KOTya','_traceZipPaths.json','parse','getTraceZipDir','getStoreDirName','790536goObVl','VxndK','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','setup','retry','jnwtY','108661msDWJC','../../../helpers/logger','forEach','BROWSERSTACK_TESTHUB_UUID_SEED','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','mUYoZ','dbAhy','format','Error\x20writing\x20trace\x20file:\x20','87530tzgKNj','251068QXEVTS','Apcav','string','getStoreDirPath','uuid','3411vYHcEe','_test','../../../helpers/test-observability/constants','recursive','ZFhSI','stringify','tests','576QCrdfn','null','winstonLogger','_integrations.json','getStoreDirSuffix','existsSync','voWYu','force','addTraceFilePath','LzRFN','appendFileSync','utf8','message','ejIYs','traceZipPaths','../../../helpers/helper','getFilePath','wgBBg','ecJZz','toString','path','getTestIdFromTestInfo','setIntegrations','getTestRunIdFromTestInfo','ilNDy','.txt','Error\x20handling\x20trace\x20file\x20paths:\x20','some','KXvbr','getTestUUID','writeFileSync','rmSync','mkdirSync','.json','2DBzfWK','dUPmA','wFrhR','getTraceFilePaths','join','undefined','testId','UCinl','util','../../../helpers/test-observability/utils','setTestDetails','MBHPM','FcuOM','EYIHh','homedir','getDirPath','mqfPf','filePath','readFileSync','appendToTracePaths','getTestDetails','_projectId','SpgcS','debug','HKolj','5271370PxGcmS','push','BS_TESTOPS_BUILD_HASHED_ID','yEiBc','xsaav','.browserstack','hwVKM','getProjectIdFromTestInfo','Mxkdp','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','shutdown','FqWDu','EPvRx','getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20','env','jmfFR','6054714FJIkos','_platformDetails.json','Error\x20reading\x20trace\x20file\x20paths:\x20%s','error','getIntegrations','xUGjb','endsWith'];a58_0x3a29=function(){return _0xff640;};return a58_0x3a29();}(function(_0x112d22,_0x5f176f){const _0x484d4f=a58_0x4f40,_0x550c5e=_0x112d22();while(!![]){try{const _0x486bf3=-parseInt(_0x484d4f(0x1b5))/0x1+-parseInt(_0x484d4f(0x1fb))/0x2*(parseInt(_0x484d4f(0x1bd))/0x3)+-parseInt(_0x484d4f(0x1cd))/0x4+-parseInt(_0x484d4f(0x214))/0x5+-parseInt(_0x484d4f(0x1ae))/0x6+parseInt(_0x484d4f(0x1c3))/0x7*(parseInt(_0x484d4f(0x1d9))/0x8)+parseInt(_0x484d4f(0x1d2))/0x9*(parseInt(_0x484d4f(0x1cc))/0xa);if(_0x486bf3===_0x5f176f)break;else _0x550c5e['push'](_0x550c5e['shift']());}catch(_0x1e197a){_0x550c5e['push'](_0x550c5e['shift']());}}}(a58_0x3a29,0xa746a));const fs=require('fs'),path=require(a58_0x1ad378(0x1ed)),{v4:uuidv4}=require(a58_0x1ad378(0x1d1)),{TEMP_STORE_DIR_NAME}=require(a58_0x1ad378(0x1d4)),{nestedKeyValue}=require(a58_0x1ad378(0x1e8)),logger=require(a58_0x1ad378(0x1c4))[a58_0x1ad378(0x1db)],{getLogDir}=require('../../../helpers/logger'),util=require(a58_0x1ad378(0x203)),helper=require(a58_0x1ad378(0x1e8)),{deterministicTestUUID}=require(a58_0x1ad378(0x204));class TestDetails{static [a58_0x1ad378(0x1d8)]={};static[a58_0x1ad378(0x1c0)](){const _0x3a635c=a58_0x1ad378;this[_0x3a635c(0x21e)]();const _0x1d6a2e={};_0x1d6a2e['recursive']=!![],fs[_0x3a635c(0x1f9)](this[_0x3a635c(0x20a)](),_0x1d6a2e);const _0x6023d={};_0x6023d[_0x3a635c(0x1d5)]=!![],fs[_0x3a635c(0x1f9)](this[_0x3a635c(0x1bb)](),_0x6023d);}static[a58_0x1ad378(0x1dd)](){const _0x1252e2=a58_0x1ad378,_0x38dab4={};_0x38dab4[_0x1252e2(0x1c9)]=function(_0x2f038f,_0x3acc73){return _0x2f038f!==_0x3acc73;},_0x38dab4[_0x1252e2(0x1d6)]=_0x1252e2(0x1da),_0x38dab4['pztUl']=function(_0xc5737f,_0x4e7527){return _0xc5737f!==_0x4e7527;},_0x38dab4['MBHPM']=_0x1252e2(0x200),_0x38dab4[_0x1252e2(0x1df)]=function(_0x7b6ebe,_0x52327d){return _0x7b6ebe===_0x52327d;},_0x38dab4['Apcav']=function(_0x38ed99,_0x3baa15){return _0x38ed99===_0x3baa15;},_0x38dab4[_0x1252e2(0x21a)]='default';const _0x46c9ff=_0x38dab4,_0x19c5f2=process[_0x1252e2(0x1ac)][_0x1252e2(0x1c6)],_0x45fc87=_0x19c5f2&&_0x46c9ff[_0x1252e2(0x1c9)](_0x19c5f2,_0x46c9ff['ZFhSI'])&&_0x46c9ff[_0x1252e2(0x1b6)](_0x19c5f2,_0x46c9ff[_0x1252e2(0x206)])?_0x19c5f2:process['env'][_0x1252e2(0x216)];if(!_0x45fc87||_0x46c9ff[_0x1252e2(0x1df)](_0x45fc87,_0x46c9ff['MBHPM'])||_0x46c9ff[_0x1252e2(0x1ce)](_0x45fc87,_0x46c9ff[_0x1252e2(0x1d6)]))return _0x46c9ff[_0x1252e2(0x21a)];return _0x45fc87;}static[a58_0x1ad378(0x1bc)](){const _0x521c64=a58_0x1ad378,_0x5c4c1c={};_0x5c4c1c[_0x521c64(0x1b3)]=function(_0x3ae333,_0x12df1b){return _0x3ae333+_0x12df1b;},_0x5c4c1c['Mxkdp']=function(_0x5cd66e,_0x2a12ac){return _0x5cd66e+_0x2a12ac;};const _0x1da1ff=_0x5c4c1c;return _0x1da1ff['xUGjb'](_0x1da1ff[_0x521c64(0x21c)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']());}static[a58_0x1ad378(0x1d0)](){const _0x5a3221=a58_0x1ad378,_0x2c9235={};_0x2c9235[_0x5a3221(0x1ad)]=function(_0x696dfa,_0x4265e6){return _0x696dfa+_0x4265e6;};const _0x363236=_0x2c9235;return path[_0x5a3221(0x1ff)](_0x363236[_0x5a3221(0x1ad)](_0x363236['jmfFR'](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']()));}static[a58_0x1ad378(0x1bb)](){const _0x19e001=a58_0x1ad378,_0x49f261={};_0x49f261[_0x19e001(0x1b8)]=_0x19e001(0x1e7);const _0x20f3ce=_0x49f261;return path[_0x19e001(0x1ff)](this['getStoreDirPath'](),_0x20f3ce['KOTya']);}static[a58_0x1ad378(0x20a)](){const _0x44748b=a58_0x1ad378;return TestDetails[_0x44748b(0x1bc)]();}static['getFilePath'](_0x315d17){const _0x3d6cc1=a58_0x1ad378,_0x5ea099={};_0x5ea099['dUPmA']=function(_0x46e28d,_0x20199f){return _0x46e28d+_0x20199f;},_0x5ea099[_0x3d6cc1(0x202)]=_0x3d6cc1(0x1fa);const _0x4feb6d=_0x5ea099;return path[_0x3d6cc1(0x1ff)](this[_0x3d6cc1(0x20a)](),_0x4feb6d[_0x3d6cc1(0x1fc)](_0x315d17,_0x4feb6d['UCinl']));}static[a58_0x1ad378(0x1f0)](_0xedc6cf){const _0x14668f=a58_0x1ad378,_0x32cf59={};_0x32cf59[_0x14668f(0x208)]=function(_0x11cae3,_0x4a8100){return _0x11cae3+_0x4a8100;},_0x32cf59[_0x14668f(0x1c8)]=function(_0x5a2605,_0x424a55){return _0x5a2605+_0x424a55;};const _0x199f87=_0x32cf59;return _0x199f87[_0x14668f(0x208)](_0x199f87[_0x14668f(0x1c8)](this['getTestIdFromTestInfo'](_0xedc6cf),'-'),_0xedc6cf[_0x14668f(0x1c1)]);}static[a58_0x1ad378(0x21b)](_0x6d74d4){const _0x1d8306=a58_0x1ad378,_0x15d177={'ejIYs':function(_0x2302a4,_0x54bfd4,_0x4858a5){return _0x2302a4(_0x54bfd4,_0x4858a5);},'yEiBc':_0x1d8306(0x1d3),'aiaQP':_0x1d8306(0x210),'ecJZz':function(_0x5170f0,_0xa87ecf,_0xd0251e){return _0x5170f0(_0xa87ecf,_0xd0251e);},'EPvRx':'project','mqfPf':'__projectId'};return _0x15d177[_0x1d8306(0x1e6)](nestedKeyValue,_0x6d74d4,[_0x15d177[_0x1d8306(0x217)],_0x15d177[_0x1d8306(0x1b7)]])||_0x15d177[_0x1d8306(0x1eb)](nestedKeyValue,_0x6d74d4,[_0x15d177[_0x1d8306(0x1aa)],_0x15d177[_0x1d8306(0x20b)]]);}static[a58_0x1ad378(0x1ee)](_0x5c2614){const _0x26585b=a58_0x1ad378,_0xd14d76={'KXvbr':function(_0xe0c413,_0x440bbb,_0x6d95f0){return _0xe0c413(_0x440bbb,_0x6d95f0);},'HKolj':_0x26585b(0x1d3)};return _0xd14d76[_0x26585b(0x1f5)](nestedKeyValue,_0x5c2614,[_0xd14d76[_0x26585b(0x213)],'id'])||_0x5c2614[_0x26585b(0x201)];}static[a58_0x1ad378(0x1f6)](_0x11ba78){const _0x3c05b2=a58_0x1ad378,_0x505879={'jnwtY':function(_0x501990,_0x2d8811){return _0x501990===_0x2d8811;},'VxndK':_0x3c05b2(0x1cf),'ilNDy':function(_0x32d325,_0x1c3b77){return _0x32d325(_0x1c3b77);},'wgBBg':function(_0x575bd7){return _0x575bd7();}};if(this[_0x3c05b2(0x1d8)][_0x11ba78]&&_0x505879[_0x3c05b2(0x1c2)](typeof this[_0x3c05b2(0x1d8)][_0x11ba78][_0x3c05b2(0x1d1)],_0x505879[_0x3c05b2(0x1be)]))return this[_0x3c05b2(0x1d8)][_0x11ba78][_0x3c05b2(0x1d1)];const _0x419003=process[_0x3c05b2(0x1ac)]['BROWSERSTACK_TESTHUB_UUID_SEED'];if(helper['isValidEnvValue'](_0x419003)){const _0x41c0d4=_0x505879[_0x3c05b2(0x1f1)](deterministicTestUUID,_0x11ba78),_0x490025={};_0x490025[_0x3c05b2(0x1d1)]=_0x41c0d4,this[_0x3c05b2(0x1d8)][_0x11ba78]=_0x490025;try{const _0x38f697={};_0x38f697[_0x3c05b2(0x1d5)]=!![],fs[_0x3c05b2(0x1f9)](this[_0x3c05b2(0x20a)](),_0x38f697),fs['writeFileSync'](this['getFilePath'](_0x11ba78),JSON[_0x3c05b2(0x1d7)](this[_0x3c05b2(0x1d8)][_0x11ba78]));}catch(_0x1e1c29){logger[_0x3c05b2(0x212)](_0x3c05b2(0x1ab)+_0x11ba78+':\x20'+(_0x1e1c29&&_0x1e1c29['message']));}return _0x41c0d4;}const _0x42c7b7=this[_0x3c05b2(0x1e9)](_0x11ba78);if(_0x42c7b7&&fs['existsSync'](_0x42c7b7)){const _0x4360d5=JSON[_0x3c05b2(0x1ba)](fs[_0x3c05b2(0x20d)](_0x42c7b7)[_0x3c05b2(0x1ec)]());return this[_0x3c05b2(0x1d8)][_0x11ba78]=_0x4360d5,this[_0x3c05b2(0x1d8)][_0x11ba78][_0x3c05b2(0x1d1)];}return this['tests'][_0x11ba78]={'uuid':_0x505879[_0x3c05b2(0x1ea)](uuidv4)},fs[_0x3c05b2(0x1f7)](_0x42c7b7,JSON[_0x3c05b2(0x1d7)](this['tests'][_0x11ba78])),this[_0x3c05b2(0x1d8)][_0x11ba78][_0x3c05b2(0x1d1)];}static['getAccessibilityPlatformValidation'](_0x23e255){const _0x338148=a58_0x1ad378,_0x3b4885=path[_0x338148(0x1ff)](this[_0x338148(0x20a)](),_0x23e255+_0x338148(0x1af));if(_0x3b4885&&fs[_0x338148(0x1de)](_0x3b4885))return fs[_0x338148(0x20d)](_0x3b4885)[_0x338148(0x1ec)]();}static['setAccessibilityPlatformValidation'](_0x5d94b1,_0x1107db){const _0x386bbb=a58_0x1ad378;try{const _0x5c83bb=this[_0x386bbb(0x20a)](),_0x3a068b={};_0x3a068b[_0x386bbb(0x1d5)]=!![],fs['mkdirSync'](_0x5c83bb,_0x3a068b);const _0x10c2d3=path[_0x386bbb(0x1ff)](_0x5c83bb,_0x1107db+_0x386bbb(0x1af));fs[_0x386bbb(0x1f7)](_0x10c2d3,_0x5d94b1[_0x386bbb(0x1ec)]());}catch(_0x2d494f){logger[_0x386bbb(0x212)](_0x386bbb(0x21d)+_0x1107db+':\x20'+(_0x2d494f&&_0x2d494f['message']));}}static[a58_0x1ad378(0x1b2)](_0x405074){const _0x1d72f1=a58_0x1ad378,_0x9366bb=path[_0x1d72f1(0x1ff)](this[_0x1d72f1(0x20a)](),_0x405074+'_integrations.json');if(_0x9366bb&&fs[_0x1d72f1(0x1de)](_0x9366bb))try{return JSON[_0x1d72f1(0x1ba)](fs['readFileSync'](_0x9366bb)['toString']());}catch(_0x305e1d){return logger['debug'](_0x1d72f1(0x1c7)+_0x405074+':\x20'+(_0x305e1d&&_0x305e1d['message'])),null;}return null;}static[a58_0x1ad378(0x1ef)](_0x4bc221,_0x35c2d1){const _0x328824=a58_0x1ad378,_0x248440={};_0x248440[_0x328824(0x1fd)]=function(_0x2e005f,_0x2104e8){return _0x2e005f||_0x2104e8;};const _0x4bb964=_0x248440;if(_0x4bb964[_0x328824(0x1fd)](!_0x4bc221,!_0x35c2d1))return;try{const _0x4b2721=this[_0x328824(0x20a)](),_0x2f675e={};_0x2f675e[_0x328824(0x1d5)]=!![],fs[_0x328824(0x1f9)](_0x4b2721,_0x2f675e);const _0x51774f=path[_0x328824(0x1ff)](_0x4b2721,_0x4bc221+_0x328824(0x1dc));fs[_0x328824(0x1f7)](_0x51774f,JSON[_0x328824(0x1d7)](_0x35c2d1));}catch(_0x2ebf57){logger['debug'](_0x328824(0x1bf)+_0x4bc221+':\x20'+(_0x2ebf57&&_0x2ebf57[_0x328824(0x1e5)]));}}static[a58_0x1ad378(0x21e)](){const _0x2d219e=a58_0x1ad378,_0x5beea8={};_0x5beea8[_0x2d219e(0x1d5)]=!![],_0x5beea8[_0x2d219e(0x1e0)]=!![],fs[_0x2d219e(0x1f8)](this[_0x2d219e(0x20a)](),_0x5beea8);}static[a58_0x1ad378(0x20f)](_0x4822d8){const _0x4d391f=a58_0x1ad378;if(this[_0x4d391f(0x1d8)][_0x4822d8])return this[_0x4d391f(0x1d8)][_0x4822d8];const _0x14b1d1=this['getFilePath'](_0x4822d8);if(_0x14b1d1&&fs[_0x4d391f(0x1de)](_0x14b1d1)){const _0x124acf=JSON[_0x4d391f(0x1ba)](fs['readFileSync'](_0x14b1d1)[_0x4d391f(0x1ec)]());return this[_0x4d391f(0x1d8)][_0x4822d8]=_0x124acf,_0x124acf;}return{};}static[a58_0x1ad378(0x205)](_0xfee08f,_0xff2b1c){const _0x2c8f23=a58_0x1ad378,_0x1afceb=this[_0x2c8f23(0x1e9)](_0xfee08f);if(_0x1afceb&&fs[_0x2c8f23(0x1de)](_0x1afceb)){const _0x31cc6b=JSON['parse'](fs[_0x2c8f23(0x20d)](_0x1afceb)[_0x2c8f23(0x1ec)]()),_0x351f76={..._0x31cc6b,..._0xff2b1c};this[_0x2c8f23(0x1d8)][_0xfee08f]=_0x351f76;}else this['tests'][_0xfee08f]=_0xff2b1c;fs[_0x2c8f23(0x1f7)](_0x1afceb,this[_0x2c8f23(0x1d8)][_0xfee08f]);}static[a58_0x1ad378(0x1e1)](_0x4dbb81){const _0x253382=a58_0x1ad378,_0x30c8de={};_0x30c8de[_0x253382(0x1a9)]=_0x253382(0x1f3);const _0xaf7d26=_0x30c8de;try{const _0x41f665=process['pid'],_0x5717b4=path[_0x253382(0x1ff)](TestDetails[_0x253382(0x1bb)](),_0x41f665+_0x253382(0x1b9));let _0xbcc717=[];_0x5717b4&&fs['existsSync'](_0x5717b4)&&(_0xbcc717=JSON[_0x253382(0x1ba)](fs[_0x253382(0x20d)](_0x5717b4)[_0x253382(0x1ec)]())),!_0xbcc717[_0x253382(0x1f4)](_0x338c61=>_0x338c61['filePath']===_0x4dbb81['filePath'])&&(_0xbcc717[_0x253382(0x215)](_0x4dbb81),fs['writeFileSync'](_0x5717b4,JSON['stringify'](_0xbcc717)));}catch(_0x116c1c){logger[_0x253382(0x1b1)](_0xaf7d26[_0x253382(0x1a9)],_0x116c1c);}}static[a58_0x1ad378(0x1fe)](){const _0x470b77=a58_0x1ad378,_0xf1b534={};_0xf1b534[_0x470b77(0x211)]=_0x470b77(0x1b9),_0xf1b534[_0x470b77(0x218)]=_0x470b77(0x1b0);const _0xf2e4b9=_0xf1b534,_0x4306e6=[];try{const _0x182d49=TestDetails[_0x470b77(0x1bb)]();if(_0x182d49&&!fs[_0x470b77(0x1de)](_0x182d49))return _0x4306e6;const _0x231dc0=fs['readdirSync'](_0x182d49);_0x231dc0['forEach'](_0x57f5dc=>{const _0x140f05=_0x470b77;if(_0x57f5dc&&_0x57f5dc[_0x140f05(0x1b4)](_0xf2e4b9['SpgcS'])){const _0x15e4d5=JSON['parse'](fs['readFileSync'](path['join'](_0x182d49,_0x57f5dc))['toString']());_0x4306e6[_0x140f05(0x215)](..._0x15e4d5);}});}catch(_0x2f7d20){logger[_0x470b77(0x1b1)](util[_0x470b77(0x1ca)](_0xf2e4b9[_0x470b77(0x218)],_0x2f7d20));}const _0x57f07e={};return _0x4306e6[_0x470b77(0x1c5)](_0x23f6f7=>{const _0x5383cc=_0x470b77;_0x57f07e[_0x23f6f7[_0x5383cc(0x20c)]]=_0x23f6f7;}),Object['values'](_0x57f07e);}static[a58_0x1ad378(0x20e)](_0x58ce15,_0x3d2f87){const _0x2349e3=a58_0x1ad378,_0x42d291={};_0x42d291[_0x2349e3(0x207)]=_0x2349e3(0x219),_0x42d291[_0x2349e3(0x1e2)]=_0x2349e3(0x1e4);const _0x45472a=_0x42d291;try{const _0x5bbad1=path[_0x2349e3(0x1ff)](helper[_0x2349e3(0x209)](),_0x45472a[_0x2349e3(0x207)]);if(!fs[_0x2349e3(0x1de)](_0x5bbad1)){const _0x1df00f={};_0x1df00f['recursive']=!![],fs['mkdirSync'](_0x5bbad1,_0x1df00f);}fs[_0x2349e3(0x1e3)](path[_0x2349e3(0x1ff)](_0x5bbad1,'trace_'+_0x3d2f87+_0x2349e3(0x1f2)),_0x58ce15+'\x0a',_0x45472a[_0x2349e3(0x1e2)]);}catch(_0x1150c1){console[_0x2349e3(0x1b1)](_0x2349e3(0x1cb)+_0x1150c1[_0x2349e3(0x1e5)]);}}}module['exports']=TestDetails;
@@ -1 +1 @@
1
- 'use strict';function a59_0x258d(_0x316597,_0x389da4){const _0x1991a3=a59_0x1991();return a59_0x258d=function(_0x258d4a,_0x5133e3){_0x258d4a=_0x258d4a-0x149;let _0xe41c68=_0x1991a3[_0x258d4a];return _0xe41c68;},a59_0x258d(_0x316597,_0x389da4);}const a59_0x599120=a59_0x258d;(function(_0x5ea5fb,_0x2fe14a){const _0x424615=a59_0x258d,_0x1ca154=_0x5ea5fb();while(!![]){try{const _0x20692d=-parseInt(_0x424615(0x15d))/0x1+parseInt(_0x424615(0x163))/0x2*(-parseInt(_0x424615(0x176))/0x3)+-parseInt(_0x424615(0x159))/0x4+parseInt(_0x424615(0x15a))/0x5+-parseInt(_0x424615(0x165))/0x6*(parseInt(_0x424615(0x157))/0x7)+parseInt(_0x424615(0x14f))/0x8+parseInt(_0x424615(0x177))/0x9;if(_0x20692d===_0x2fe14a)break;else _0x1ca154['push'](_0x1ca154['shift']());}catch(_0x55cd9f){_0x1ca154['push'](_0x1ca154['shift']());}}}(a59_0x1991,0x90d45));function a59_0x1991(){const _0x4afffc=['some','yzzff','XVfGt','debug','flagIdx','wjyxp','string','CqoNi','prefix','10887vCGzwf','33129864sGsoAm','UnjXL','VIwVY','push','startsWith','mergeBrowserstackReporterIntoCliReporterFlag','uSZYD','slice','trim','../../helpers/logger','GXygL','IBjDs','map','4746120AbJyRl','join','length','exports','IfOyu','QzAAn','winstonLogger','[BrowserStack]\x20A\x20--reporter\x20flag\x20was\x20passed\x20on\x20the\x20Playwright\x20CLI;\x20it\x20overrides\x20the\x20config\x20reporter.\x20Merged\x20the\x20BrowserStack\x20Observability\x20reporter\x20into\x20it\x20so\x20test\x20events\x20are\x20captured.','1789851MvgqGl','path','3167660dQvxYh','685640nomJQl','find','oDmpA','1085444tPjXTG','--reporter=','util','--reporter','iYRCh','ivIUq','506ZGKdFJ','./reporter/reporter.js','24BSYQsg','tDpUt','split','EaEhw','includes','warn','[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20','VEgFf'];a59_0x1991=function(){return _0x4afffc;};return a59_0x1991();}const path=require(a59_0x599120(0x158)),{format}=require(a59_0x599120(0x15f)),logger=require(a59_0x599120(0x14b))[a59_0x599120(0x155)],BROWSERSTACK_PW_REPORTER_PATH=path['join'](__dirname,a59_0x599120(0x164)),INLINE_PREFIXES=[a59_0x599120(0x15e)],BARE_FLAGS=[a59_0x599120(0x160)],stripQuotes=_0x22b5eb=>{const _0x34c2dc=a59_0x599120,_0x25ddf0={'FJcrt':function(_0x4a13eb,_0x3d5940){return _0x4a13eb(_0x3d5940);},'EaEhw':function(_0x11f9cc,_0x15f427){return _0x11f9cc>=_0x15f427;},'IfOyu':function(_0x3faa9d,_0x10b4c5){return _0x3faa9d-_0x10b4c5;},'XVfGt':function(_0x3e434b,_0x51de15){return _0x3e434b===_0x51de15;}},_0x536580=_0x25ddf0['FJcrt'](String,_0x22b5eb);if(_0x25ddf0[_0x34c2dc(0x168)](_0x536580[_0x34c2dc(0x151)],0x2)){const _0x675036=_0x536580[0x0],_0x2561f3=_0x536580[_0x25ddf0[_0x34c2dc(0x153)](_0x536580[_0x34c2dc(0x151)],0x1)];if(_0x25ddf0[_0x34c2dc(0x16f)](_0x675036,'\x22')&&_0x25ddf0[_0x34c2dc(0x16f)](_0x2561f3,'\x22')||_0x25ddf0[_0x34c2dc(0x16f)](_0x675036,'\x27')&&_0x25ddf0[_0x34c2dc(0x16f)](_0x2561f3,'\x27'))return _0x536580[_0x34c2dc(0x149)](0x1,-0x1);}return _0x536580;},resolveQuietly=_0x530e98=>{try{return path['resolve'](_0x530e98);}catch(_0x4bb210){return null;}},renderValue=(_0x4ba5fe,_0xf47b4e)=>{const _0xc660c3=a59_0x599120,_0xa61fc9={};_0xa61fc9[_0xc660c3(0x179)]=function(_0x396ec7,_0x190fa4){return _0x396ec7===_0x190fa4;},_0xa61fc9['ivIUq']='win32';const _0x17a960=_0xa61fc9,_0x554534=_0x4ba5fe[_0xc660c3(0x150)](',');return _0x17a960[_0xc660c3(0x179)](_0xf47b4e,_0x17a960[_0xc660c3(0x162)])?'\x22'+_0x554534+'\x22':_0x554534;},buildMergedList=(_0x4b3d7d,_0x5bf8cb)=>{const _0x3f4278=a59_0x599120,_0x354b35={'UnjXL':function(_0x337f94,_0x2ae9ef){return _0x337f94(_0x2ae9ef);},'tDpUt':function(_0x430302,_0x52ce7d){return _0x430302===_0x52ce7d;},'QzAAn':function(_0x53f4b1,_0x38862a){return _0x53f4b1(_0x38862a);}};if(_0x354b35['UnjXL'](String,_0x5bf8cb)[_0x3f4278(0x169)](','))return null;const _0x582c4a=_0x354b35[_0x3f4278(0x178)](stripQuotes,_0x4b3d7d)[_0x3f4278(0x167)](',')[_0x3f4278(0x14e)](_0x18e8b8=>_0x18e8b8[_0x3f4278(0x14a)]())['filter'](_0x56b29f=>_0x56b29f[_0x3f4278(0x151)]>0x0);if(_0x354b35[_0x3f4278(0x166)](_0x582c4a[_0x3f4278(0x151)],0x0))return null;const _0x2059ca=_0x354b35[_0x3f4278(0x154)](resolveQuietly,_0x5bf8cb),_0xae6015=_0x582c4a[_0x3f4278(0x16d)](_0x4ee990=>_0x4ee990===_0x5bf8cb||_0x2059ca!==null&&resolveQuietly(_0x4ee990)===_0x2059ca);return!_0xae6015&&_0x582c4a[_0x3f4278(0x17a)](_0x5bf8cb),_0x582c4a;},findLastReporterFlag=_0x261e46=>{const _0x4e7854=a59_0x599120,_0x13fe98={};_0x13fe98[_0x4e7854(0x16c)]=function(_0x566dd3,_0x1a2f36){return _0x566dd3-_0x1a2f36;},_0x13fe98[_0x4e7854(0x17d)]=function(_0x3b4e5a,_0x3b8777){return _0x3b4e5a>=_0x3b8777;},_0x13fe98[_0x4e7854(0x16e)]=function(_0x426699,_0x6d9bac){return _0x426699!==_0x6d9bac;},_0x13fe98[_0x4e7854(0x174)]='string';const _0x1938e1=_0x13fe98;for(let _0xd16ac5=_0x1938e1[_0x4e7854(0x16c)](_0x261e46[_0x4e7854(0x151)],0x1);_0x1938e1[_0x4e7854(0x17d)](_0xd16ac5,0x0);_0xd16ac5--){const _0x5b4949=_0x261e46[_0xd16ac5];if(_0x1938e1['yzzff'](typeof _0x5b4949,_0x1938e1['CqoNi']))continue;const _0x48e358=INLINE_PREFIXES[_0x4e7854(0x15b)](_0x35b384=>_0x5b4949[_0x4e7854(0x17b)](_0x35b384));if(_0x48e358){const _0x40165d={};return _0x40165d[_0x4e7854(0x171)]=_0xd16ac5,_0x40165d[_0x4e7854(0x175)]=_0x48e358,_0x40165d;}if(BARE_FLAGS[_0x4e7854(0x169)](_0x5b4949)){const _0x18d12e={};return _0x18d12e[_0x4e7854(0x171)]=_0xd16ac5,_0x18d12e[_0x4e7854(0x175)]=null,_0x18d12e;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x3dca8c,_0x57c4b7={})=>{const _0x280e5a=a59_0x599120,_0x1e9836={'gQJyL':function(_0x22189a,_0x4b9a28){return _0x22189a===_0x4b9a28;},'IBjDs':function(_0x53b104,_0x312a37){return _0x53b104(_0x312a37);},'Simdf':function(_0x12103a,_0x3cf229){return _0x12103a+_0x3cf229;},'emory':function(_0x4f6ebc,_0x38a06c){return _0x4f6ebc>=_0x38a06c;},'oDmpA':function(_0x4f2dbc,_0x3a138b){return _0x4f2dbc!==_0x3a138b;},'GXygL':_0x280e5a(0x173),'wjyxp':function(_0x4b2bb0,_0x1f35ff,_0x1b6612){return _0x4b2bb0(_0x1f35ff,_0x1b6612);},'iYRCh':function(_0x3e72ec,_0xf85846){return _0x3e72ec===_0xf85846;},'rSIhx':function(_0x1be9c8,_0x3fec4d,_0xc4ce41){return _0x1be9c8(_0x3fec4d,_0xc4ce41);},'KAnEC':_0x280e5a(0x156)};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process['platform']}=_0x57c4b7;if(_0x1e9836['gQJyL'](enabled,![]))return;if(!Array['isArray'](_0x3dca8c))return;const _0x46af79=_0x1e9836[_0x280e5a(0x14d)](findLastReporterFlag,_0x3dca8c);if(_0x1e9836['gQJyL'](_0x46af79,null))return;let _0x5bcf18,_0x14501b;if(_0x46af79[_0x280e5a(0x175)])_0x5bcf18=_0x46af79[_0x280e5a(0x171)],_0x14501b=_0x3dca8c[_0x46af79['flagIdx']]['slice'](_0x46af79['prefix'][_0x280e5a(0x151)]);else{_0x5bcf18=_0x1e9836['Simdf'](_0x46af79[_0x280e5a(0x171)],0x1);if(_0x1e9836['emory'](_0x5bcf18,_0x3dca8c[_0x280e5a(0x151)])||_0x1e9836[_0x280e5a(0x15c)](typeof _0x3dca8c[_0x5bcf18],_0x1e9836[_0x280e5a(0x14c)])||_0x3dca8c[_0x5bcf18][_0x280e5a(0x17b)]('-'))return;_0x14501b=_0x3dca8c[_0x5bcf18];}const _0x3febb2=_0x1e9836[_0x280e5a(0x172)](buildMergedList,_0x14501b,reporterPath);if(_0x1e9836[_0x280e5a(0x161)](_0x3febb2,null))return;const _0x25c59d=_0x1e9836['rSIhx'](renderValue,_0x3febb2,platform);_0x3dca8c[_0x5bcf18]=_0x46af79['prefix']?''+_0x46af79[_0x280e5a(0x175)]+_0x25c59d:_0x25c59d,logger[_0x280e5a(0x16a)](_0x1e9836['KAnEC']),logger[_0x280e5a(0x170)](_0x280e5a(0x16b)+_0x3dca8c[_0x5bcf18]);}catch(_0x3f3a3c){logger[_0x280e5a(0x170)]('[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20'+_0x1e9836['IBjDs'](format,_0x3f3a3c));}},a59_0x141eb7={};a59_0x141eb7[a59_0x599120(0x17c)]=mergeBrowserstackReporterIntoCliReporterFlag,a59_0x141eb7['BROWSERSTACK_PW_REPORTER_PATH']=BROWSERSTACK_PW_REPORTER_PATH,module[a59_0x599120(0x152)]=a59_0x141eb7;
1
+ 'use strict';const a59_0x3529a2=a59_0x358d;(function(_0x353b0f,_0x18e639){const _0x131cdb=a59_0x358d,_0x44d12d=_0x353b0f();while(!![]){try{const _0x42c18c=parseInt(_0x131cdb(0xe5))/0x1+-parseInt(_0x131cdb(0xe0))/0x2*(-parseInt(_0x131cdb(0xe6))/0x3)+-parseInt(_0x131cdb(0xe4))/0x4+parseInt(_0x131cdb(0xf7))/0x5+parseInt(_0x131cdb(0xf2))/0x6+parseInt(_0x131cdb(0xdc))/0x7*(-parseInt(_0x131cdb(0xf0))/0x8)+-parseInt(_0x131cdb(0xbf))/0x9*(parseInt(_0x131cdb(0xdd))/0xa);if(_0x42c18c===_0x18e639)break;else _0x44d12d['push'](_0x44d12d['shift']());}catch(_0x5114dd){_0x44d12d['push'](_0x44d12d['shift']());}}}(a59_0x19d1,0x58a3f));const path=require(a59_0x3529a2(0xe3)),{format}=require(a59_0x3529a2(0xc7)),logger=require(a59_0x3529a2(0xd9))[a59_0x3529a2(0xcb)],BROWSERSTACK_PW_REPORTER_PATH=path[a59_0x3529a2(0xc3)](__dirname,a59_0x3529a2(0xc9)),INLINE_PREFIXES=[a59_0x3529a2(0xde)],BARE_FLAGS=['--reporter'],stripQuotes=_0x5d29b4=>{const _0x11bda7=a59_0x3529a2,_0x512ca4={'kQTde':function(_0x246dbb,_0x493f0c){return _0x246dbb(_0x493f0c);},'lyVRl':function(_0x239db2,_0x174e35){return _0x239db2>=_0x174e35;},'KTEkq':function(_0x5b1803,_0x25554f){return _0x5b1803-_0x25554f;},'EIVxm':function(_0x3b1c34,_0x585cf5){return _0x3b1c34===_0x585cf5;},'uvtAD':function(_0x5589ab,_0x5fb73e){return _0x5589ab===_0x5fb73e;}},_0x422206=_0x512ca4['kQTde'](String,_0x5d29b4);if(_0x512ca4[_0x11bda7(0xe8)](_0x422206[_0x11bda7(0xd1)],0x2)){const _0x389a50=_0x422206[0x0],_0x3e2a3e=_0x422206[_0x512ca4[_0x11bda7(0xf1)](_0x422206[_0x11bda7(0xd1)],0x1)];if(_0x512ca4[_0x11bda7(0xea)](_0x389a50,'\x22')&&_0x512ca4[_0x11bda7(0xd2)](_0x3e2a3e,'\x22')||_0x512ca4['EIVxm'](_0x389a50,'\x27')&&_0x512ca4[_0x11bda7(0xea)](_0x3e2a3e,'\x27'))return _0x422206[_0x11bda7(0xec)](0x1,-0x1);}return _0x422206;},resolveQuietly=_0x4890b0=>{const _0x21aece=a59_0x3529a2;try{return path[_0x21aece(0xef)](_0x4890b0);}catch(_0x391f12){return null;}},renderValue=(_0x9b3250,_0x584433)=>{const _0x146912=a59_0x3529a2,_0x221cf3={};_0x221cf3[_0x146912(0xd5)]=function(_0x275950,_0x14c1e9){return _0x275950===_0x14c1e9;},_0x221cf3[_0x146912(0xd4)]=_0x146912(0xe2);const _0x35039d=_0x221cf3,_0x511164=_0x9b3250[_0x146912(0xc3)](',');return _0x35039d['Whzge'](_0x584433,_0x35039d[_0x146912(0xd4)])?'\x22'+_0x511164+'\x22':_0x511164;},buildMergedList=(_0x5d6ebe,_0x29736e)=>{const _0x5da450=a59_0x3529a2,_0x1d58fb={'sXxbs':function(_0xb6f2cc,_0x210e81){return _0xb6f2cc(_0x210e81);},'WxAvy':function(_0x463abb,_0x3fa7cb){return _0x463abb===_0x3fa7cb;},'flvTL':function(_0x8c0d6a,_0x5b5162){return _0x8c0d6a(_0x5b5162);}};if(_0x1d58fb['sXxbs'](String,_0x29736e)[_0x5da450(0xd3)](','))return null;const _0x48900f=_0x1d58fb[_0x5da450(0xc0)](stripQuotes,_0x5d6ebe)[_0x5da450(0xcc)](',')['map'](_0x55496e=>_0x55496e[_0x5da450(0xd7)]())[_0x5da450(0xc5)](_0x4b009e=>_0x4b009e[_0x5da450(0xd1)]>0x0);if(_0x1d58fb['WxAvy'](_0x48900f[_0x5da450(0xd1)],0x0))return null;const _0x5064ef=_0x1d58fb[_0x5da450(0xcf)](resolveQuietly,_0x29736e),_0x7e1fb8=_0x48900f['some'](_0x5d8bfd=>_0x5d8bfd===_0x29736e||_0x5064ef!==null&&resolveQuietly(_0x5d8bfd)===_0x5064ef);return!_0x7e1fb8&&_0x48900f[_0x5da450(0xf3)](_0x29736e),_0x48900f;},findLastReporterFlag=_0x31ea0d=>{const _0x43d99f=a59_0x3529a2,_0xca73e2={};_0xca73e2[_0x43d99f(0xdf)]=function(_0x11df02,_0x3d1ca3){return _0x11df02-_0x3d1ca3;},_0xca73e2[_0x43d99f(0xe1)]=function(_0x3457db,_0x4b9e3c){return _0x3457db>=_0x4b9e3c;},_0xca73e2[_0x43d99f(0xbe)]=function(_0x5b2770,_0x4f8bee){return _0x5b2770!==_0x4f8bee;},_0xca73e2[_0x43d99f(0xee)]=_0x43d99f(0xf6);const _0x1ab07e=_0xca73e2;for(let _0x582573=_0x1ab07e[_0x43d99f(0xdf)](_0x31ea0d['length'],0x1);_0x1ab07e[_0x43d99f(0xe1)](_0x582573,0x0);_0x582573--){const _0x4b642b=_0x31ea0d[_0x582573];if(_0x1ab07e[_0x43d99f(0xbe)](typeof _0x4b642b,_0x1ab07e['dZxTE']))continue;const _0x5a452b=INLINE_PREFIXES[_0x43d99f(0xc6)](_0x5a4ee6=>_0x4b642b[_0x43d99f(0xc2)](_0x5a4ee6));if(_0x5a452b){const _0x3e8af0={};return _0x3e8af0[_0x43d99f(0xf4)]=_0x582573,_0x3e8af0[_0x43d99f(0xc8)]=_0x5a452b,_0x3e8af0;}if(BARE_FLAGS[_0x43d99f(0xd3)](_0x4b642b)){const _0x450c6c={};return _0x450c6c[_0x43d99f(0xf4)]=_0x582573,_0x450c6c[_0x43d99f(0xc8)]=null,_0x450c6c;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x4f40d5,_0x5be848={})=>{const _0xc37259=a59_0x3529a2,_0x8da0e8={'ZTCBW':function(_0x22924e,_0x3638ca){return _0x22924e===_0x3638ca;},'scCfy':function(_0x4711be,_0x571d6b){return _0x4711be(_0x571d6b);},'wpUuj':function(_0x4b398b,_0x5b8768){return _0x4b398b+_0x5b8768;},'bNGWh':function(_0x489900,_0x8de451){return _0x489900>=_0x8de451;},'BYGSa':function(_0x85881d,_0x4812b2){return _0x85881d!==_0x4812b2;},'shTeN':_0xc37259(0xf6),'FqcMp':function(_0x1028e8,_0x5224f6,_0x39457b){return _0x1028e8(_0x5224f6,_0x39457b);},'leLSQ':function(_0x2ba46a,_0x29d588,_0x59ee64){return _0x2ba46a(_0x29d588,_0x59ee64);},'jwsMq':_0xc37259(0xd0)};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process[_0xc37259(0xeb)]}=_0x5be848;if(_0x8da0e8[_0xc37259(0xdb)](enabled,![]))return;if(!Array[_0xc37259(0xd6)](_0x4f40d5))return;const _0x22f05b=_0x8da0e8[_0xc37259(0xca)](findLastReporterFlag,_0x4f40d5);if(_0x8da0e8['ZTCBW'](_0x22f05b,null))return;let _0x549050,_0x52a78a;if(_0x22f05b[_0xc37259(0xc8)])_0x549050=_0x22f05b['flagIdx'],_0x52a78a=_0x4f40d5[_0x22f05b[_0xc37259(0xf4)]][_0xc37259(0xec)](_0x22f05b[_0xc37259(0xc8)]['length']);else{_0x549050=_0x8da0e8['wpUuj'](_0x22f05b[_0xc37259(0xf4)],0x1);if(_0x8da0e8[_0xc37259(0xc4)](_0x549050,_0x4f40d5['length'])||_0x8da0e8[_0xc37259(0xe7)](typeof _0x4f40d5[_0x549050],_0x8da0e8['shTeN'])||_0x4f40d5[_0x549050][_0xc37259(0xc2)]('-'))return;_0x52a78a=_0x4f40d5[_0x549050];}const _0x569543=_0x8da0e8[_0xc37259(0xd8)](buildMergedList,_0x52a78a,reporterPath);if(_0x8da0e8[_0xc37259(0xdb)](_0x569543,null))return;const _0x31d2aa=_0x8da0e8[_0xc37259(0xed)](renderValue,_0x569543,platform);_0x4f40d5[_0x549050]=_0x22f05b[_0xc37259(0xc8)]?''+_0x22f05b[_0xc37259(0xc8)]+_0x31d2aa:_0x31d2aa,logger[_0xc37259(0xda)](_0x8da0e8[_0xc37259(0xe9)]),logger[_0xc37259(0xf5)]('[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20'+_0x4f40d5[_0x549050]);}catch(_0x3af8cb){logger[_0xc37259(0xf5)](_0xc37259(0xce)+_0x8da0e8[_0xc37259(0xca)](format,_0x3af8cb));}},a59_0x453d37={};a59_0x453d37['mergeBrowserstackReporterIntoCliReporterFlag']=mergeBrowserstackReporterIntoCliReporterFlag,a59_0x453d37[a59_0x3529a2(0xcd)]=BROWSERSTACK_PW_REPORTER_PATH,module[a59_0x3529a2(0xc1)]=a59_0x453d37;function a59_0x358d(_0x4db44e,_0x576845){const _0x19d197=a59_0x19d1();return a59_0x358d=function(_0x358d22,_0x1a7650){_0x358d22=_0x358d22-0xbe;let _0x417269=_0x19d197[_0x358d22];return _0x417269;},a59_0x358d(_0x4db44e,_0x576845);}function a59_0x19d1(){const _0x5a0b9e=['includes','SQSUn','Whzge','isArray','trim','FqcMp','../../helpers/logger','warn','ZTCBW','21slrUWn','3449710ttDuKY','--reporter=','tgLKn','27418GxNLqz','thoFx','win32','path','672288AzXgow','684839ZCvbAZ','111jvQLlW','BYGSa','lyVRl','jwsMq','EIVxm','platform','slice','leLSQ','dZxTE','resolve','1468088TdrBvM','KTEkq','3754512gbKPeU','push','flagIdx','debug','string','1493825zPDoAh','oqwfp','27PoLpSN','sXxbs','exports','startsWith','join','bNGWh','filter','find','util','prefix','./reporter/reporter.js','scCfy','winstonLogger','split','BROWSERSTACK_PW_REPORTER_PATH','[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20','flvTL','[BrowserStack]\x20A\x20--reporter\x20flag\x20was\x20passed\x20on\x20the\x20Playwright\x20CLI;\x20it\x20overrides\x20the\x20config\x20reporter.\x20Merged\x20the\x20BrowserStack\x20Observability\x20reporter\x20into\x20it\x20so\x20test\x20events\x20are\x20captured.','length','uvtAD'];a59_0x19d1=function(){return _0x5a0b9e;};return a59_0x19d1();}
@@ -1 +1 @@
1
- const a60_0x3e7402=a60_0x75ff;(function(_0x1cb5d4,_0x26cf01){const _0x1eb7ad=a60_0x75ff,_0xaf31ca=_0x1cb5d4();while(!![]){try{const _0x3d803a=-parseInt(_0x1eb7ad(0x156))/0x1+parseInt(_0x1eb7ad(0x161))/0x2*(-parseInt(_0x1eb7ad(0x150))/0x3)+parseInt(_0x1eb7ad(0x1c7))/0x4*(-parseInt(_0x1eb7ad(0x1c8))/0x5)+-parseInt(_0x1eb7ad(0x139))/0x6*(-parseInt(_0x1eb7ad(0x1a1))/0x7)+-parseInt(_0x1eb7ad(0x181))/0x8+-parseInt(_0x1eb7ad(0x11a))/0x9+-parseInt(_0x1eb7ad(0x190))/0xa*(-parseInt(_0x1eb7ad(0x182))/0xb);if(_0x3d803a===_0x26cf01)break;else _0xaf31ca['push'](_0xaf31ca['shift']());}catch(_0x3a7a43){_0xaf31ca['push'](_0xaf31ca['shift']());}}}(a60_0x2afc,0x237db));const path=require(a60_0x3e7402(0x168)),url=require(a60_0x3e7402(0x185)),util=require(a60_0x3e7402(0x1d5)),helper=require('../../helpers/helper'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a60_0x3e7402(0x1ce)),{o11yErrorHandler}=require(a60_0x3e7402(0x134)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{FRAMEWORKS}=require(a60_0x3e7402(0x1b7)),logger=require(a60_0x3e7402(0x189))[a60_0x3e7402(0x124)],scripts=require(a60_0x3e7402(0x188)),{browserStackExecuteDriver}=require(a60_0x3e7402(0x18d)),AccessibilityHelper=require(a60_0x3e7402(0x1d3)),constants=require(a60_0x3e7402(0x112)),BrowserstackCLI=require(a60_0x3e7402(0x166)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a60_0x3e7402(0x11f)),{performScanWithRetry}=require(a60_0x3e7402(0x140)),ClientTroubleShootingService=require(a60_0x3e7402(0x1be)),getBrowserNameFromChannel=_0x8cd9d=>{const _0x39a471=a60_0x3e7402,_0x60aa98={};_0x60aa98[_0x39a471(0x1b5)]=_0x39a471(0x18e),_0x60aa98['sdfqY']='firefox',_0x60aa98[_0x39a471(0x133)]=_0x39a471(0x122),_0x60aa98[_0x39a471(0x152)]=_0x39a471(0x138),_0x60aa98[_0x39a471(0x1cb)]=_0x39a471(0x14c),_0x60aa98[_0x39a471(0x12a)]=function(_0x161adb,_0x1b8aa4){return _0x161adb!==_0x1b8aa4;},_0x60aa98[_0x39a471(0x183)]='string',_0x60aa98[_0x39a471(0x151)]=function(_0x2d3977,_0x1306d0){return _0x2d3977===_0x1306d0;},_0x60aa98['wRXGa']=_0x39a471(0x131),_0x60aa98[_0x39a471(0x14d)]=_0x39a471(0x114);const _0x3f567a=_0x60aa98,_0x45e2b5=_0x3f567a['YlOrL'][_0x39a471(0x17d)]('|');let _0x59ef81=0x0;while(!![]){switch(_0x45e2b5[_0x59ef81++]){case'0':if(_0x8cd9d[_0x39a471(0x13e)](_0x3f567a[_0x39a471(0x17a)]))return _0x3f567a[_0x39a471(0x17a)];continue;case'1':if(_0x8cd9d[_0x39a471(0x13e)](_0x3f567a[_0x39a471(0x133)]))return _0x3f567a[_0x39a471(0x133)];continue;case'2':if(_0x8cd9d['includes'](_0x3f567a['NuJxh']))return _0x3f567a[_0x39a471(0x152)];continue;case'3':if(_0x8cd9d['includes'](_0x3f567a[_0x39a471(0x1cb)]))return _0x3f567a[_0x39a471(0x1cb)];continue;case'4':if(!_0x8cd9d||_0x3f567a[_0x39a471(0x12a)](typeof _0x8cd9d,_0x3f567a['ElgPY']))return _0x3f567a['AUtUp'];continue;case'5':return _0x8cd9d;case'6':if(_0x3f567a[_0x39a471(0x151)](_0x8cd9d,_0x3f567a[_0x39a471(0x145)]))return _0x3f567a[_0x39a471(0x145)];continue;case'7':if(_0x8cd9d[_0x39a471(0x13e)](_0x3f567a[_0x39a471(0x14d)]))return _0x3f567a[_0x39a471(0x14d)];continue;}break;}},getBrowserFromWSEndpoint=_0x1f8e41=>{const _0x47a515=a60_0x3e7402,_0x290cdb={'jWMEo':'chrome','gFXqC':function(_0x18b660,_0x2f1057){return _0x18b660(_0x2f1057);}};try{const _0x506686=url['parse'](_0x1f8e41),_0x3b4d66=new URLSearchParams(_0x506686[_0x47a515(0x178)]),_0x2fde6b=Object[_0x47a515(0x127)](_0x3b4d66['entries']()),_0xf6461d=JSON[_0x47a515(0x129)](_0x2fde6b[_0x47a515(0x1b4)]);if(_0xf6461d&&(_0xf6461d['browser']||_0xf6461d[_0x47a515(0x14a)]))return _0xf6461d[_0x47a515(0x187)]||_0xf6461d[_0x47a515(0x14a)];return _0x290cdb['jWMEo'];}catch(_0x393987){_0x290cdb['gFXqC'](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x393987[_0x47a515(0x1d9)]());}},getCloudProviderFromWsEndpoint=_0x31b185=>{const _0x46ad2d=a60_0x3e7402,_0x5214e5={};_0x5214e5[_0x46ad2d(0x17b)]=_0x46ad2d(0x1a6),_0x5214e5[_0x46ad2d(0x1b6)]='unknown_grid';const _0x45783d=_0x5214e5;if(_0x31b185['includes'](constants['BSTACK_URL'])||_0x31b185[_0x46ad2d(0x13e)](constants['BSTACK_ATS_URL']))return _0x45783d[_0x46ad2d(0x17b)];return _0x45783d[_0x46ad2d(0x1b6)];},a60_0x449dc6={};a60_0x449dc6['cloudProvider']=undefined,a60_0x449dc6[a60_0x3e7402(0x1ab)]=undefined,a60_0x449dc6['browser']=undefined,a60_0x449dc6[a60_0x3e7402(0x191)]=undefined,a60_0x449dc6[a60_0x3e7402(0x196)]=undefined,a60_0x449dc6['platform_version']=undefined,a60_0x449dc6[a60_0x3e7402(0x1cf)]=undefined,a60_0x449dc6[a60_0x3e7402(0x171)]={};function a60_0x2afc(){const _0x6eaa92=['platformName','resolve','CRConnection','sdtxJ','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','currentSessionDetails','../utils/clientTroubleshootingService.js','QNbIM','KjrbE','getAutomationFramework','message','yFxfT','project','patch','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','28QXhPmz','197140XRMYXL','pwPage','prototype','jPSSw','qBnJr','catch','../../helpers/helper','product','jRPpd','XYsSN','setupBrowserDetails','./accessibility-helper','wsEndpoint','util','TZYZy','exports','RNiMi','toString','playwright-','../utils/constants','Page\x20Scan\x20result=','safari','_bstackDispatchPatched','trackEvent','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','test','YrXUC','583074eSdavj','playwright','testInfo','ORJkt','JoVWw','../v2/state/hookState.js','platformDetails','iytmM','chromium','mBicg','winstonLogger','reportSessionLinkingIssue','jTvLu','fromEntries','HpEwj','parse','htuAT','_onMessage','SXSWc','lcprS','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','YudlX','yEvCL','webkit','Error\x20in\x20finding\x20platform\x20details\x20','AUtUp','../../helpers/test-observability/error-handler','server','channel','defineProperty','edge','2280jLSZgf','info','IVSjr','mqKKC','__driver','includes','patchCRConnection','../../helpers/accessibility-automation/accessibilityRetryHelper.js','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','isRemote','jyRIj','apply','wRXGa','__workerDetails','RFJxw','assign','isRunning','browserName','PLAYWRIGHT_DISPATCH','chrome','GbvUA','MwCGU','EKLPS','67596NeFSHn','hxeie','NuJxh','BROWSERSTACK_TEST_OBSERVABILITY','CUlvn','toLowerCase','202354UVDbUD','UeySL','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','compareVersions','bsParams','ATS_WSS_URL_REGEX','bstackPerformA11yScan','cWTYC','aOjrX','Xrhxi','platform_version','16qbtGGI','rSSSX','model','PfufF','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','../v2/browserstackCLI','titlePath','path','_defaultConnectOptions','btSqn','Driver\x20Scan\x20result=','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','accessibilityPlatform','aKegA','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','getInstance','capabilities','CpMgc','sessionError','Error\x20in\x20importing\x20crConnection','XjwoR','_type','env','query','iXrRH','sdfqY','ODMxG','MPazx','split','OCJpJ','POST','TSJXH','1481392VoesVY','77XkvEoM','ElgPY','sWIUY','url','connectOptions','browser','../../helpers/accessibility-automation/scripts','../../helpers/logger','Connection','bEsQb','BMcIy','../../bin/playwright/accessibility-helper','4|1|3|2|0|7|6|5','_browserType','1179910jlEujQ','browser_version','_connection','kGatE','debug','RKrod','platform','YpCZj','unknown','turboscale','performScan','ITWyM','sessionId','ZoXMM','patchConnection','shouldWrapCommand','Failed\x20to\x20perform\x20scan\x20','4200VXeQlY','aXrsS','getFrameworkVersion','bdgJm','PLAYWRIGHT','browserstack','_name','getDetails','OOYno','xAQai','bsSessionId','ZOMPe','local_grid','use','format','currentTest','deviceModel','platformVersion','bStackParams','caps','YlOrL','PbqIo','../../helpers/test-observability/constants'];a60_0x2afc=function(){return _0x6eaa92;};return a60_0x2afc();}class PlaywrightSessionDetails{static [a60_0x3e7402(0x1bd)]=a60_0x449dc6;constructor(){const _0x317bcb=a60_0x3e7402,_0x554c0d={};_0x554c0d[_0x317bcb(0x19d)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x48d2b8=_0x554c0d;throw new Error(_0x48d2b8[_0x317bcb(0x19d)]);}static [a60_0x3e7402(0x173)]=null;static[a60_0x3e7402(0x1d2)](_0x3f97d9,_0x3c4fa8,_0x1030ee=null){const _0x55381b=a60_0x3e7402,_0x135af5={'bdgJm':_0x55381b(0x12e),'Xrhxi':function(_0x59d25d){return _0x59d25d();},'Tqrjb':_0x55381b(0x1a6),'MwCGU':_0x55381b(0x1ad),'RFJxw':_0x55381b(0x11b),'jTvLu':_0x55381b(0x198),'Gcwjx':function(_0x22c2bb,_0x524808){return _0x22c2bb===_0x524808;},'CpMgc':'function','CUlvn':_0x55381b(0x1c6),'QNbIM':function(_0x4238e5,_0x2288e2){return _0x4238e5===_0x2288e2;},'KTdlY':'Device\x20Model\x20is\x20not\x20available','iXrRH':function(_0x20139a,_0x347918,_0x4fbd66){return _0x20139a(_0x347918,_0x4fbd66);},'MPazx':_0x55381b(0x18f),'bEsQb':_0x55381b(0x169),'mBicg':_0x55381b(0x1c4),'YudlX':_0x55381b(0x1ae),'qMzSt':_0x55381b(0x186),'TZYZy':function(_0x362748,_0x36cd8a){return _0x362748(_0x36cd8a);},'hjJNq':_0x55381b(0x199),'KjrbE':'automate','SXSWc':function(_0x1b7088,_0x3d1b1f){return _0x1b7088(_0x3d1b1f);},'kGatE':function(_0x2045b7,_0x251fe6){return _0x2045b7&&_0x251fe6;},'RKrod':function(_0x11fac7){return _0x11fac7();},'yFxfT':function(_0x5cecae){return _0x5cecae();},'nexbr':function(_0x149109,_0x20f92d){return _0x149109+_0x20f92d;},'lcprS':_0x55381b(0x1da),'QPhHk':function(_0x277aec,_0x237f56){return _0x277aec||_0x237f56;},'YrXUC':_0x55381b(0x1d2)},_0x44bd33=this;return _0x135af5[_0x55381b(0x179)](o11yErrorHandler,async function _0x5927e6(_0x54347f,_0x44bf09,_0x47adfd=null){const _0x59f281=_0x55381b;if(!_0x54347f){logger[_0x59f281(0x194)](_0x135af5[_0x59f281(0x1a4)]),_0x44bd33[_0x59f281(0x1bd)]=Object[_0x59f281(0x148)]({},_0x44bd33[_0x59f281(0x1bd)],{'cloudProvider':_0x135af5[_0x59f281(0x15f)](isBrowserstackInfra)?_0x135af5['Tqrjb']:_0x135af5[_0x59f281(0x14e)],'browser':_0x135af5[_0x59f281(0x147)],'browser_version':_0x135af5['jTvLu']});return;}let _0x1d7b46=_0x54347f[_0x59f281(0x1a7)],_0x249ef6=null;_0x54347f&&_0x135af5['Gcwjx'](typeof _0x54347f['version'],_0x135af5['CpMgc'])?_0x249ef6=_0x54347f['version']():logger[_0x59f281(0x194)](_0x135af5[_0x59f281(0x154)]);let _0x27d069=null;_0x54347f&&_0x135af5[_0x59f281(0x1bf)](typeof _0x54347f[_0x59f281(0x163)],_0x135af5[_0x59f281(0x172)])?_0x27d069=_0x54347f['model']():logger[_0x59f281(0x194)](_0x135af5['KTdlY']);let _0x4c163f=null,_0x36275e=null,_0x5c2f1f=null,_0x20eea6=_0x135af5[_0x59f281(0x14e)];const _0x415047=_0x54347f[_0x59f281(0x192)]&&_0x135af5['QNbIM'](typeof _0x54347f[_0x59f281(0x192)][_0x59f281(0x142)],_0x135af5['CpMgc'])?_0x54347f[_0x59f281(0x192)]['isRemote']():![];if(_0x415047||global['accessibilityPlatform']&&!process['env']['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']){let _0x1da2e4=null;_0x135af5[_0x59f281(0x179)](nestedKeyValue,_0x54347f,[_0x135af5[_0x59f281(0x17c)],_0x135af5[_0x59f281(0x18b)]])?_0x1da2e4=_0x54347f[_0x59f281(0x18f)][_0x59f281(0x169)]:_0x1da2e4=_0x135af5[_0x59f281(0x179)](nestedKeyValue,_0x44bf09,[_0x135af5[_0x59f281(0x123)],_0x135af5[_0x59f281(0x12f)],_0x135af5['qMzSt']]);const _0x537734=_0x47adfd||_0x1da2e4&&_0x1da2e4[_0x59f281(0x1d4)];if(_0x537734){_0x20eea6=_0x135af5[_0x59f281(0x1d6)](getCloudProviderFromWsEndpoint,_0x537734);if(_0x135af5[_0x59f281(0x1bf)](_0x20eea6,_0x135af5['Tqrjb']))_0x5c2f1f=constants[_0x59f281(0x15b)][_0x59f281(0x118)](_0x537734)?_0x135af5['hjJNq']:_0x135af5[_0x59f281(0x1c0)],_0x1d7b46=_0x135af5[_0x59f281(0x12c)](getBrowserFromWSEndpoint,_0x537734)||_0x1d7b46,_0x4c163f=_0x44bd33['currentSessionDetails'][_0x59f281(0x196)],_0x36275e=_0x44bd33['currentSessionDetails'][_0x59f281(0x160)];else{const _0x192f79=await _0x135af5[_0x59f281(0x15f)](getPlatformDetails);_0x4c163f=_0x192f79[_0x59f281(0x1b8)],_0x36275e=_0x192f79[_0x59f281(0x1b2)];}}if(_0x135af5[_0x59f281(0x193)](!_0x4c163f,!_0x36275e)&&!_0x135af5[_0x59f281(0x195)](isBrowserstackInfra)){const _0x3cfb94=await _0x135af5[_0x59f281(0x1c3)](getPlatformDetails);_0x4c163f=_0x3cfb94[_0x59f281(0x1b8)],_0x36275e=_0x3cfb94['platformVersion'];}}else{_0x44bf09&&_0x44bf09[_0x59f281(0x1c4)]['use'][_0x59f281(0x136)]?_0x1d7b46=_0x135af5[_0x59f281(0x1d6)](getBrowserNameFromChannel,_0x44bf09[_0x59f281(0x1c4)]['use'][_0x59f281(0x136)]):_0x1d7b46=_0x135af5['nexbr'](_0x135af5[_0x59f281(0x12d)],_0x135af5['QPhHk'](_0x1d7b46,_0x135af5[_0x59f281(0x126)])[_0x59f281(0x155)]());const _0x3340c4=await _0x135af5[_0x59f281(0x195)](getPlatformDetails);_0x4c163f=_0x3340c4[_0x59f281(0x1b8)],_0x36275e=_0x3340c4['platformVersion'];}const _0x6127a6={};_0x6127a6[_0x59f281(0x187)]=_0x1d7b46,_0x6127a6[_0x59f281(0x191)]=_0x249ef6,_0x6127a6[_0x59f281(0x171)]={},_0x6127a6[_0x59f281(0x196)]=_0x4c163f,_0x6127a6['platform_version']=_0x36275e,_0x6127a6[_0x59f281(0x1cf)]=_0x5c2f1f;const _0x209d5b=_0x6127a6;_0x27d069&&(_0x209d5b['capabilities'][_0x59f281(0x1b1)]=_0x27d069);const _0x18913a={};_0x18913a['cloudProvider']=_0x20eea6,_0x44bd33[_0x59f281(0x1bd)]=Object[_0x59f281(0x148)]({},_0x44bd33[_0x59f281(0x1bd)],_0x18913a,_0x209d5b);},_0x135af5[_0x55381b(0x119)])(_0x3f97d9,_0x3c4fa8,_0x1030ee);}static[a60_0x3e7402(0x1c5)](){const _0x36ed01=a60_0x3e7402;this[_0x36ed01(0x19e)](),this[_0x36ed01(0x13f)]();}static[a60_0x3e7402(0x19e)](){const _0x242959=a60_0x3e7402,_0x28be77={'qBnJr':function(_0x4d29fa,_0x5d28b8,_0x54fc0b){return _0x4d29fa(_0x5d28b8,_0x54fc0b);},'OCJpJ':_0x242959(0x1b0),'yTFWO':'testInfo','IVSjr':_0x242959(0x167),'aKegA':function(_0x3dd725,_0x5c0bab,_0x5da883){return _0x3dd725(_0x5c0bab,_0x5da883);},'iytmM':function(_0x4f3b16,_0x5eb857,_0x4149fe){return _0x4f3b16(_0x5eb857,_0x4149fe);},'fhPPB':_0x242959(0x146),'mqKKC':_0x242959(0x1c9),'aXrsS':function(_0x361863,_0x5d3940,_0x15f15b){return _0x361863(_0x5d3940,_0x15f15b);},'MdBQy':function(_0x5da021,_0x177b15){return _0x5da021===_0x177b15;},'ORJkt':'Page','YpCZj':function(_0x3235fa,_0x436cdf,_0x1486fd,_0x29b7fd){return _0x3235fa(_0x436cdf,_0x1486fd,_0x29b7fd);},'sdtxJ':function(_0x1bfb2b,_0x1311e4){return _0x1bfb2b||_0x1311e4;},'xAQai':function(_0x187ca8,_0x79ae78){return _0x187ca8(_0x79ae78);},'jRPpd':'Not\x20able\x20to\x20resolve\x20Connection\x20class','HpEwj':function(_0x50c94b,_0x76b2ea){return _0x50c94b!=_0x76b2ea;},'EKLPS':function(_0x2cdff4,_0x1fb78a){return _0x2cdff4!=_0x1fb78a;},'jyRIj':function(_0x540519){return _0x540519();},'ITWyM':'sendMessageToServer','XjwoR':'dispatch','uAGxt':_0x242959(0x158)},_0x3e377f=this;!this[_0x242959(0x18a)]&&(this[_0x242959(0x18a)]=helper['resolveConnectionClass'](),!this[_0x242959(0x18a)]&&_0x28be77['xAQai'](debug,_0x28be77[_0x242959(0x1d0)]));const _0x2c591e=this['Connection'];if(_0x28be77[_0x242959(0x128)](_0x2c591e,null)&&_0x2c591e[_0x242959(0x1ca)][_0x242959(0x115)])return;try{if(_0x28be77[_0x242959(0x14f)](_0x2c591e,null)){const _0xb7f7ff=_0x2c591e[_0x242959(0x1ca)]['dispatch'],_0x3b49b7=_0x2c591e[_0x242959(0x1ca)]['sendMessageToServer'];_0x28be77[_0x242959(0x143)](isAccessibilityAutomationSession)&&Object[_0x242959(0x137)](_0x2c591e[_0x242959(0x1ca)],_0x28be77[_0x242959(0x19b)],{'get':function(){return async function(){const _0x31942d=a60_0x75ff;try{if(!global[_0x31942d(0x15c)]&&global[_0x31942d(0x16d)]&&_0x28be77[_0x31942d(0x1cc)](nestedKeyValue,global['__workerDetails'],[_0x28be77[_0x31942d(0x17e)],_0x28be77['yTFWO'],_0x28be77[_0x31942d(0x13b)]])&&_0x28be77[_0x31942d(0x16e)](shouldScanTestForAccessibility,global[_0x31942d(0x146)][_0x31942d(0x1b0)][_0x31942d(0x11c)]['titlePath'],!![])&&scripts[_0x31942d(0x19f)](arguments[0x1])){logger[_0x31942d(0x194)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x31942d(0x15c)]=!![];const _0x1a2dee=_0x28be77[_0x31942d(0x121)](nestedKeyValue,global,[_0x28be77['fhPPB'],_0x28be77[_0x31942d(0x13c)]]);_0x1a2dee&&logger[_0x31942d(0x13a)](_0x31942d(0x113)+util[_0x31942d(0x1af)](await _0x28be77[_0x31942d(0x1a2)](performScanWithRetry,_0x1a2dee,arguments[0x1]))),_0x28be77['MdBQy'](arguments[0x0][_0x31942d(0x176)],_0x28be77[_0x31942d(0x11d)])&&global[_0x31942d(0x13d)]&&logger[_0x31942d(0x13a)](_0x31942d(0x16b)+util[_0x31942d(0x1af)](await _0x28be77[_0x31942d(0x197)](performScanWithRetry,global[_0x31942d(0x13d)],arguments[0x1],scripts[_0x31942d(0x19a)])));}}catch(_0x4abc06){logger[_0x31942d(0x194)](_0x31942d(0x1a0)+util['format'](_0x4abc06));}return global[_0x31942d(0x15c)]=![],_0x3b49b7['apply'](this,arguments);};}}),!_0x28be77['xAQai'](isFalse,process[_0x242959(0x177)][_0x242959(0x153)])&&Object[_0x242959(0x137)](_0x2c591e[_0x242959(0x1ca)],_0x28be77[_0x242959(0x175)],{'get':function(){const _0x1805e8={'cWTYC':function(_0x45e83c,_0x42c331){const _0x26e398=a60_0x75ff;return _0x28be77[_0x26e398(0x1bb)](_0x45e83c,_0x42c331);},'TSJXH':function(_0x348df0,_0x4f3c65){const _0x36b28a=a60_0x75ff;return _0x28be77[_0x36b28a(0x1aa)](_0x348df0,_0x4f3c65);}};return function _0x20a015(_0x35f00e){const _0x3a7008=a60_0x75ff,_0x4ec111=_0xb7f7ff['apply'](this,arguments);try{if(BrowserstackCLI[_0x3a7008(0x170)]()[_0x3a7008(0x149)]()){const _0x5b4b8f={};_0x5b4b8f[_0x3a7008(0x1c2)]=_0x35f00e,Promise[_0x3a7008(0x1b9)](BrowserstackCLI[_0x3a7008(0x170)]()[_0x3a7008(0x1c1)]()['trackEvent'](AutomationFrameworkState[_0x3a7008(0x14b)],HookState[_0x3a7008(0x17f)],_0x5b4b8f))[_0x3a7008(0x1cd)](()=>{});}else{const _0x5586a8=_0x35f00e&&_0x35f00e['params']&&_0x35f00e['params'][_0x3a7008(0x15a)];if(_0x5586a8){const _0x594609=_0x5586a8[_0x3a7008(0x19c)],_0x59538d=_0x5586a8[_0x3a7008(0x120)];_0x1805e8[_0x3a7008(0x15d)](!_0x594609,!_0x59538d)&&Promise[_0x3a7008(0x1b9)](ClientTroubleShootingService[_0x3a7008(0x125)]())['catch'](()=>{}),_0x59538d&&(_0x1805e8[_0x3a7008(0x180)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x59538d['toString']()),_0x3e377f[_0x3a7008(0x1bd)][_0x3a7008(0x196)]=_0x59538d[_0x3a7008(0x1b8)],_0x3e377f[_0x3a7008(0x1bd)][_0x3a7008(0x160)]=_0x59538d['platformVersion']),_0x594609&&(_0x1805e8[_0x3a7008(0x180)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x594609),_0x3e377f[_0x3a7008(0x1bd)][_0x3a7008(0x1ab)]=_0x594609);}}}catch(_0x3db7a6){_0x1805e8[_0x3a7008(0x180)](debug,_0x3a7008(0x16c)+(_0x3db7a6&&_0x3db7a6[_0x3a7008(0x1d9)]?_0x3db7a6[_0x3a7008(0x1d9)]():_0x3db7a6));}return _0x4ec111;};}}),_0x2c591e[_0x242959(0x1ca)]['_bstackDispatchPatched']=!![],logger['debug'](_0x28be77['uAGxt']);}}catch(_0x527fa9){_0x28be77['xAQai'](debug,_0x242959(0x141)+_0x527fa9),_0x3e377f[_0x242959(0x173)]=_0x527fa9[_0x242959(0x1d9)]();}}static[a60_0x3e7402(0x13f)](){const _0x1293e2=a60_0x3e7402,_0x261b60={'UeySL':function(_0x487269,_0x11f427){return _0x487269(_0x11f427);},'lwYmF':function(_0x207714,_0xc84fc7){return _0x207714(_0xc84fc7);},'JoVWw':function(_0xfea2f0){return _0xfea2f0();},'YCZpg':function(_0x55972d,_0xcc7382){return _0x55972d>=_0xcc7382;},'CPCxD':'1.60.0','btSqn':function(_0xa0bfe5,_0x337d99){return _0xa0bfe5(_0x337d99);},'BMcIy':_0x1293e2(0x16f),'onOMw':'lib','PfufF':_0x1293e2(0x135),'fGMix':_0x1293e2(0x122),'sWIUY':'crConnection.js','ZOMPe':function(_0x46dd88,_0x16916d){return _0x46dd88(_0x16916d);},'yEvCL':function(_0x2c3191,_0x584338){return _0x2c3191(_0x584338);},'XYsSN':'Not\x20able\x20to\x20import\x20crConnection','OOYno':function(_0x555b7f,_0x24a4f5){return _0x555b7f(_0x24a4f5);},'PorUd':_0x1293e2(0x174),'Vxfef':function(_0x522980,_0x251e35){return _0x522980!=_0x251e35;},'rSSSX':_0x1293e2(0x12b)},_0xc3322=this;if(_0x261b60[_0x1293e2(0x11e)](isAccessibilityAutomationSession)){let _0x974aad=null,_0x6c27c7=![];try{const _0x2808d6=helper[_0x1293e2(0x1a3)](FRAMEWORKS[_0x1293e2(0x1a5)]);_0x6c27c7=_0x261b60['YCZpg'](helper[_0x1293e2(0x159)](_0x2808d6,_0x261b60['CPCxD']),0x0);}catch(_0x4c788f){_0x261b60[_0x1293e2(0x157)](debug,'Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20'+_0x4c788f['toString']());}if(_0x6c27c7)_0x261b60['btSqn'](debug,_0x261b60[_0x1293e2(0x18c)]);else try{const _0x431818=path['join'](_0x261b60['onOMw'],_0x261b60[_0x1293e2(0x164)],_0x261b60['fGMix'],_0x261b60[_0x1293e2(0x184)]),_0x254df7=_0x261b60[_0x1293e2(0x1ac)](importFileFromPWCore,_0x431818);!_0x254df7?_0x261b60[_0x1293e2(0x130)](debug,_0x261b60[_0x1293e2(0x1d1)]):_0x974aad=_0x254df7[_0x1293e2(0x1ba)];}catch(_0x5c461){_0x261b60[_0x1293e2(0x1a9)](debug,_0x261b60['PorUd']);}try{if(_0x261b60['Vxfef'](_0x974aad,null)){const _0x910783=_0x974aad['prototype'][_0x1293e2(0x12b)];Object[_0x1293e2(0x137)](_0x974aad[_0x1293e2(0x1ca)],_0x261b60[_0x1293e2(0x162)],{'get':function(){const _0x1e670f={'RNiMi':function(_0x1ad519,_0x40af03){const _0x54ace0=a60_0x75ff;return _0x261b60[_0x54ace0(0x157)](_0x1ad519,_0x40af03);},'RSNUJ':function(_0x5d15bd,_0xbd4b6d){const _0x2f8d00=a60_0x75ff;return _0x261b60[_0x2f8d00(0x157)](_0x5d15bd,_0xbd4b6d);},'aOjrX':function(_0xa4e0ae,_0x2078d4){return _0x261b60['lwYmF'](_0xa4e0ae,_0x2078d4);}};return async function _0x4782c3(_0x15d2fe){const _0x21a4a8=a60_0x75ff;try{if(BrowserstackCLI[_0x21a4a8(0x170)]()[_0x21a4a8(0x149)]()){const _0x4af273={};_0x4af273['message']=_0x15d2fe,await BrowserstackCLI[_0x21a4a8(0x170)]()[_0x21a4a8(0x1c1)]()[_0x21a4a8(0x116)](AutomationFrameworkState[_0x21a4a8(0x14b)],HookState['POST'],_0x4af273),delete _0x15d2fe[_0x21a4a8(0x1b3)];}else{const _0x24d9a1=_0x15d2fe['bStackParams'];if(_0x24d9a1){delete _0x15d2fe[_0x21a4a8(0x1b3)];const _0x4468e2=_0x24d9a1[_0x21a4a8(0x19c)],_0x3e83ba=_0x24d9a1[_0x21a4a8(0x120)];_0x3e83ba&&(_0x1e670f[_0x21a4a8(0x1d8)](debug,_0x21a4a8(0x165)+_0x3e83ba[_0x21a4a8(0x1d9)]()),_0xc3322[_0x21a4a8(0x1bd)]['platform']=_0x3e83ba[_0x21a4a8(0x1b8)],_0xc3322['currentSessionDetails'][_0x21a4a8(0x160)]=_0x3e83ba[_0x21a4a8(0x1b2)]),_0x4468e2&&(_0x1e670f['RSNUJ'](debug,_0x21a4a8(0x1bc)+_0x4468e2),_0xc3322['currentSessionDetails'][_0x21a4a8(0x1ab)]=_0x4468e2);}}}catch(_0x40f802){_0x1e670f[_0x21a4a8(0x15e)](debug,_0x21a4a8(0x132)+_0x40f802[_0x21a4a8(0x1d9)]());}return _0x910783[_0x21a4a8(0x144)](this,arguments);};}});}}catch(_0x5c8679){_0x261b60[_0x1293e2(0x16a)](debug,_0x1293e2(0x117)+_0x5c8679),_0xc3322[_0x1293e2(0x173)]=_0x5c8679[_0x1293e2(0x1d9)]();}}}static[a60_0x3e7402(0x1a8)](){return this['currentSessionDetails'];}}function a60_0x75ff(_0x2a5887,_0x2c48ff){const _0x2afc29=a60_0x2afc();return a60_0x75ff=function(_0x75ffc,_0x11dfce){_0x75ffc=_0x75ffc-0x112;let _0x1cdfdd=_0x2afc29[_0x75ffc];return _0x1cdfdd;},a60_0x75ff(_0x2a5887,_0x2c48ff);}module[a60_0x3e7402(0x1d7)]=PlaywrightSessionDetails;
1
+ const a60_0x5d4166=a60_0x187d;(function(_0x56692a,_0x1cb45c){const _0x377da2=a60_0x187d,_0xa93c0b=_0x56692a();while(!![]){try{const _0x2e162b=-parseInt(_0x377da2(0x14d))/0x1+-parseInt(_0x377da2(0x16b))/0x2+-parseInt(_0x377da2(0x133))/0x3*(-parseInt(_0x377da2(0x156))/0x4)+-parseInt(_0x377da2(0x104))/0x5+-parseInt(_0x377da2(0x1b7))/0x6+-parseInt(_0x377da2(0x15b))/0x7+parseInt(_0x377da2(0x13f))/0x8;if(_0x2e162b===_0x1cb45c)break;else _0xa93c0b['push'](_0xa93c0b['shift']());}catch(_0x4c14c0){_0xa93c0b['push'](_0xa93c0b['shift']());}}}(a60_0x3242,0x4db5f));const path=require(a60_0x5d4166(0x19a)),url=require(a60_0x5d4166(0x10b)),util=require('util'),helper=require(a60_0x5d4166(0x121)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a60_0x5d4166(0x121)),{o11yErrorHandler}=require(a60_0x5d4166(0x1b4)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a60_0x5d4166(0x182))[a60_0x5d4166(0x18a)],scripts=require(a60_0x5d4166(0x14a)),{browserStackExecuteDriver}=require(a60_0x5d4166(0x1b5)),AccessibilityHelper=require(a60_0x5d4166(0x19d)),constants=require(a60_0x5d4166(0x107)),BrowserstackCLI=require(a60_0x5d4166(0x11c)),AutomationFrameworkState=require(a60_0x5d4166(0x17f)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require(a60_0x5d4166(0x173)),ClientTroubleShootingService=require(a60_0x5d4166(0x1bb)),getBrowserNameFromChannel=_0x16026d=>{const _0x373dad=a60_0x5d4166,_0x2673b9={};_0x2673b9[_0x373dad(0x12f)]='7|6|5|2|1|3|4|0',_0x2673b9[_0x373dad(0x185)]=_0x373dad(0x1bc),_0x2673b9['Wacic']=_0x373dad(0x130),_0x2673b9[_0x373dad(0xef)]='safari',_0x2673b9[_0x373dad(0x115)]=function(_0x51add6,_0x3d1de0){return _0x51add6===_0x3d1de0;},_0x2673b9['kzSUj']='webkit',_0x2673b9['jDbFk']=_0x373dad(0x180),_0x2673b9['LIKbq']=_0x373dad(0x10f),_0x2673b9[_0x373dad(0x1a2)]=function(_0x2d58de,_0x593cb1){return _0x2d58de!==_0x593cb1;},_0x2673b9[_0x373dad(0xed)]='string';const _0x5e7eb1=_0x2673b9,_0x4b4bb0=_0x5e7eb1['PsIix'][_0x373dad(0x152)]('|');let _0x3f63c3=0x0;while(!![]){switch(_0x4b4bb0[_0x3f63c3++]){case'0':return _0x16026d;case'1':if(_0x16026d[_0x373dad(0x196)](_0x5e7eb1[_0x373dad(0x185)]))return _0x5e7eb1[_0x373dad(0x185)];continue;case'2':if(_0x16026d[_0x373dad(0x196)](_0x5e7eb1['Wacic']))return _0x5e7eb1[_0x373dad(0x16f)];continue;case'3':if(_0x16026d['includes'](_0x5e7eb1[_0x373dad(0xef)]))return _0x5e7eb1[_0x373dad(0xef)];continue;case'4':if(_0x5e7eb1[_0x373dad(0x115)](_0x16026d,_0x5e7eb1[_0x373dad(0x161)]))return _0x5e7eb1[_0x373dad(0x161)];continue;case'5':if(_0x16026d[_0x373dad(0x196)](_0x5e7eb1[_0x373dad(0x169)]))return _0x5e7eb1['jDbFk'];continue;case'6':if(_0x16026d[_0x373dad(0x196)](_0x5e7eb1[_0x373dad(0x1a7)]))return _0x5e7eb1[_0x373dad(0x1a7)];continue;case'7':if(!_0x16026d||_0x5e7eb1[_0x373dad(0x1a2)](typeof _0x16026d,_0x5e7eb1[_0x373dad(0xed)]))return _0x5e7eb1[_0x373dad(0x1a7)];continue;}break;}},getBrowserFromWSEndpoint=_0x1d5ef8=>{const _0xd61a63=a60_0x5d4166,_0x2a3716={'yOeuI':_0xd61a63(0x180),'iRmAx':function(_0x3c38f4,_0x4da615){return _0x3c38f4(_0x4da615);}};try{const _0x190a1=url[_0xd61a63(0x1ac)](_0x1d5ef8),_0x11cda4=new URLSearchParams(_0x190a1['query']),_0x2ff2af=Object[_0xd61a63(0xf1)](_0x11cda4[_0xd61a63(0x13b)]()),_0x33d66b=JSON[_0xd61a63(0x1ac)](_0x2ff2af['caps']);if(_0x33d66b&&(_0x33d66b['browser']||_0x33d66b['browserName']))return _0x33d66b[_0xd61a63(0x155)]||_0x33d66b[_0xd61a63(0x12a)];return _0x2a3716[_0xd61a63(0x158)];}catch(_0x51dd38){_0x2a3716[_0xd61a63(0x119)](debug,_0xd61a63(0x18b)+_0x51dd38[_0xd61a63(0x140)]());}},getCloudProviderFromWsEndpoint=_0x179e21=>{const _0x589cc4=a60_0x5d4166,_0x394410={};_0x394410[_0x589cc4(0x19e)]=_0x589cc4(0x10d),_0x394410[_0x589cc4(0xf6)]=_0x589cc4(0x162);const _0x5ed21c=_0x394410;if(_0x179e21[_0x589cc4(0x196)](constants[_0x589cc4(0x105)])||_0x179e21[_0x589cc4(0x196)](constants[_0x589cc4(0x167)]))return _0x5ed21c[_0x589cc4(0x19e)];return _0x5ed21c['YmJSI'];},a60_0x5ea601={};a60_0x5ea601[a60_0x5d4166(0x184)]=undefined,a60_0x5ea601[a60_0x5d4166(0x177)]=undefined,a60_0x5ea601[a60_0x5d4166(0x155)]=undefined,a60_0x5ea601[a60_0x5d4166(0xf8)]=undefined,a60_0x5ea601['platform']=undefined,a60_0x5ea601[a60_0x5d4166(0x186)]=undefined,a60_0x5ea601[a60_0x5d4166(0x175)]=undefined,a60_0x5ea601[a60_0x5d4166(0x126)]={};function a60_0x3242(){const _0x229296=['tOXsO','Device\x20Model\x20is\x20not\x20available','kzSUj','unknown_grid','platformDetails','dispatch','resolve','lib','BSTACK_ATS_URL','pwPage','jDbFk','setupBrowserDetails','920270FRYLkC','pRRop','KqTkw','platformName','Wacic','sessionId','testInfo','Connection','../../helpers/accessibility-automation/accessibilityRetryHelper.js','exports','product','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','bsSessionId','OArkF','currentTest','OkIPi','_defaultConnectOptions','assign','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','Cvqgn','../v2/state/automationFrameworkState.js','chrome','YWQbD','../../helpers/logger','LlgAa','cloudProvider','RuCmJ','platform_version','platformVersion','_connection','HPUBz','winstonLogger','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','IWXbP','zcTEf','Driver\x20Scan\x20result=','nNqwa','shouldWrapCommand','chaIQ','IcagB','RVxvR','itivo','cWDav','includes','_onMessage','jpdCC','XGaqG','path','local_grid','message','./accessibility-helper','WITCy','Not\x20able\x20to\x20resolve\x20Connection\x20class','QaQSP','prototype','NFatw','model','getDetails','lhhLS','patch','LIKbq','_name','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','JeIHA','playwright-','parse','PpCsJ','wnoUO','dJsIn','apply','version','compareVersions','use','../../helpers/test-observability/error-handler','../../bin/playwright/accessibility-helper','POST','1703502VIsKGl','Tslyc','Page','sessionError','../utils/clientTroubleshootingService.js','firefox','Page\x20Scan\x20result=','reportSessionLinkingIssue','sHpFS','connectOptions','fTQga','__driver','JQNGj','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','fromEntries','sinmN','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','join','format','YmJSI','performScan','browser_version','PLAYWRIGHT_DISPATCH','__workerDetails','JhEFi','amANU','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','jjqQa','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','WTszz','patchConnection','NupEb','fFKEz','2037085RZIsCF','BSTACK_URL','getFrameworkVersion','../utils/constants','turboscale','zLvBl','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','url','BROWSERSTACK_TEST_OBSERVABILITY','browserstack','isRemote','chromium','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','accessibilityPlatform','pHvXy','bStackParams','bstackPerformA11yScan','UxxPG','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','channel','ATS_WSS_URL_REGEX','iRmAx','function','project','../v2/browserstackCLI','toLowerCase','_bstackDispatchPatched','CgzKo','resolveConnectionClass','../../helpers/helper','TNsAc','Failed\x20to\x20perform\x20scan\x20','SUlSH','env','capabilities','jhHcw','Setting\x20session\x20id\x20received\x20from\x20BS\x20','kOIgz','browserName','getInstance','currentSessionDetails','rqLgu','UjhLO','PsIix','edge','test','IaDOf','18anJaNU','bSaXM','ahaqm','platform','EzmEk','DQmaY','ajIoS','debug','entries','_browserType','info','CRConnection','13356904ijnTjc','toString','unknown','catch','wmFUI','wsEndpoint','titlePath','Error\x20in\x20importing\x20crConnection','deviceModel','isRunning','trackEvent','../../helpers/accessibility-automation/scripts','automate','WJoQL','103998tivnlu','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','defineProperty','getAutomationFramework','PLAYWRIGHT','split','AVyAX','FDMxS','browser','53784Qanril','playwright','yOeuI','patchCRConnection','1.60.0','1235633SMfhMm','JZCDW','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','DZvOH'];a60_0x3242=function(){return _0x229296;};return a60_0x3242();}function a60_0x187d(_0x4657a6,_0x1426b5){const _0x3242f8=a60_0x3242();return a60_0x187d=function(_0x187d9e,_0x54c305){_0x187d9e=_0x187d9e-0xec;let _0xf83ea6=_0x3242f8[_0x187d9e];return _0xf83ea6;},a60_0x187d(_0x4657a6,_0x1426b5);}class PlaywrightSessionDetails{static ['currentSessionDetails']=a60_0x5ea601;constructor(){const _0x1c510f=a60_0x5d4166,_0x32a805={};_0x32a805[_0x1c510f(0x143)]=_0x1c510f(0x176);const _0x341be4=_0x32a805;throw new Error(_0x341be4['wmFUI']);}static [a60_0x5d4166(0x1ba)]=null;static[a60_0x5d4166(0x16a)](_0x5dfe38,_0xed2237,_0x5868cd=null){const _0x3e2364=a60_0x5d4166,_0xc99bc0={'DZvOH':'setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','JeIHA':function(_0x4ad22f){return _0x4ad22f();},'zcTEf':_0x3e2364(0x10d),'zLvBl':_0x3e2364(0x19b),'lnkNd':_0x3e2364(0x157),'lhhLS':_0x3e2364(0x141),'CgzKo':function(_0x564e25,_0x5313d8){return _0x564e25===_0x5313d8;},'YWQbD':_0x3e2364(0x11a),'bVWMo':_0x3e2364(0xf3),'QaQSP':_0x3e2364(0x160),'GpPKS':function(_0xc8fb90,_0x1e1a5f){return _0xc8fb90===_0x1e1a5f;},'nNqwa':function(_0x42703c,_0x32e4cb,_0x1cea31){return _0x42703c(_0x32e4cb,_0x1cea31);},'mzEvu':_0x3e2364(0x13c),'ajIoS':_0x3e2364(0x17b),'jhHcw':_0x3e2364(0x11b),'pHvXy':_0x3e2364(0x1b3),'LlgAa':_0x3e2364(0xec),'LWvFY':function(_0x538368,_0x4b927c){return _0x538368(_0x4b927c);},'gDYCx':_0x3e2364(0x108),'SUlSH':_0x3e2364(0x14b),'tOXsO':function(_0x4e7edc){return _0x4e7edc();},'dJsIn':function(_0xce58c1,_0x5abc88){return _0xce58c1&&_0x5abc88;},'YwDcO':function(_0x5251c3,_0x547baf){return _0x5251c3+_0x547baf;},'dDEKg':_0x3e2364(0x1ab),'Nsfww':function(_0xa075d8,_0x1f195a){return _0xa075d8||_0x1f195a;},'RVxvR':_0x3e2364(0x16a)},_0x36a425=this;return _0xc99bc0['nNqwa'](o11yErrorHandler,async function _0xda6646(_0x4f8c37,_0x9db8a6,_0x52e459=null){const _0x51fb7c=_0x3e2364;if(!_0x4f8c37){logger[_0x51fb7c(0x13a)](_0xc99bc0[_0x51fb7c(0x15e)]),_0x36a425[_0x51fb7c(0x12c)]=Object[_0x51fb7c(0x17c)]({},_0x36a425[_0x51fb7c(0x12c)],{'cloudProvider':_0xc99bc0[_0x51fb7c(0x1aa)](isBrowserstackInfra)?_0xc99bc0[_0x51fb7c(0x18d)]:_0xc99bc0[_0x51fb7c(0x109)],'browser':_0xc99bc0['lnkNd'],'browser_version':_0xc99bc0[_0x51fb7c(0x1a5)]});return;}let _0x375be7=_0x4f8c37[_0x51fb7c(0x1a8)],_0x3f9542=null;_0x4f8c37&&_0xc99bc0[_0x51fb7c(0x11f)](typeof _0x4f8c37[_0x51fb7c(0x1b1)],_0xc99bc0['YWQbD'])?_0x3f9542=_0x4f8c37[_0x51fb7c(0x1b1)]():logger[_0x51fb7c(0x13a)](_0xc99bc0['bVWMo']);let _0x298c3a=null;_0x4f8c37&&_0xc99bc0['CgzKo'](typeof _0x4f8c37[_0x51fb7c(0x1a3)],_0xc99bc0[_0x51fb7c(0x181)])?_0x298c3a=_0x4f8c37['model']():logger[_0x51fb7c(0x13a)](_0xc99bc0[_0x51fb7c(0x1a0)]);let _0x52f948=null,_0x1490d6=null,_0x5b221c=null,_0x5b34a0=_0xc99bc0[_0x51fb7c(0x109)];const _0x1c533f=_0x4f8c37[_0x51fb7c(0x188)]&&_0xc99bc0['GpPKS'](typeof _0x4f8c37[_0x51fb7c(0x188)][_0x51fb7c(0x10e)],_0xc99bc0['YWQbD'])?_0x4f8c37['_connection'][_0x51fb7c(0x10e)]():![];if(_0x1c533f||global[_0x51fb7c(0x111)]&&!process['env'][_0x51fb7c(0x1a9)]){let _0x221a8b=null;_0xc99bc0[_0x51fb7c(0x18f)](nestedKeyValue,_0x4f8c37,[_0xc99bc0['mzEvu'],_0xc99bc0[_0x51fb7c(0x139)]])?_0x221a8b=_0x4f8c37[_0x51fb7c(0x13c)][_0x51fb7c(0x17b)]:_0x221a8b=_0xc99bc0['nNqwa'](nestedKeyValue,_0x9db8a6,[_0xc99bc0[_0x51fb7c(0x127)],_0xc99bc0[_0x51fb7c(0x112)],_0xc99bc0[_0x51fb7c(0x183)]]);const _0x22c50c=_0x52e459||_0x221a8b&&_0x221a8b[_0x51fb7c(0x144)];if(_0x22c50c){_0x5b34a0=_0xc99bc0['LWvFY'](getCloudProviderFromWsEndpoint,_0x22c50c);if(_0xc99bc0[_0x51fb7c(0x11f)](_0x5b34a0,_0xc99bc0['zcTEf']))_0x5b221c=constants[_0x51fb7c(0x118)][_0x51fb7c(0x131)](_0x22c50c)?_0xc99bc0['gDYCx']:_0xc99bc0[_0x51fb7c(0x124)],_0x375be7=_0xc99bc0['LWvFY'](getBrowserFromWSEndpoint,_0x22c50c)||_0x375be7,_0x52f948=_0x36a425[_0x51fb7c(0x12c)]['platform'],_0x1490d6=_0x36a425[_0x51fb7c(0x12c)][_0x51fb7c(0x186)];else{const _0x41c511=await _0xc99bc0[_0x51fb7c(0x15f)](getPlatformDetails);_0x52f948=_0x41c511['platformName'],_0x1490d6=_0x41c511[_0x51fb7c(0x187)];}}if(_0xc99bc0[_0x51fb7c(0x1af)](!_0x52f948,!_0x1490d6)&&!_0xc99bc0[_0x51fb7c(0x1aa)](isBrowserstackInfra)){const _0x10c7c1=await _0xc99bc0[_0x51fb7c(0x15f)](getPlatformDetails);_0x52f948=_0x10c7c1[_0x51fb7c(0x16e)],_0x1490d6=_0x10c7c1[_0x51fb7c(0x187)];}}else{_0x9db8a6&&_0x9db8a6['project'][_0x51fb7c(0x1b3)][_0x51fb7c(0x117)]?_0x375be7=_0xc99bc0['LWvFY'](getBrowserNameFromChannel,_0x9db8a6[_0x51fb7c(0x11b)]['use'][_0x51fb7c(0x117)]):_0x375be7=_0xc99bc0['YwDcO'](_0xc99bc0['dDEKg'],_0xc99bc0['Nsfww'](_0x375be7,_0xc99bc0[_0x51fb7c(0x1a5)])[_0x51fb7c(0x11d)]());const _0x1fce54=await _0xc99bc0[_0x51fb7c(0x15f)](getPlatformDetails);_0x52f948=_0x1fce54[_0x51fb7c(0x16e)],_0x1490d6=_0x1fce54[_0x51fb7c(0x187)];}const _0x2ca94b={};_0x2ca94b[_0x51fb7c(0x155)]=_0x375be7,_0x2ca94b[_0x51fb7c(0xf8)]=_0x3f9542,_0x2ca94b[_0x51fb7c(0x126)]={},_0x2ca94b['platform']=_0x52f948,_0x2ca94b['platform_version']=_0x1490d6,_0x2ca94b[_0x51fb7c(0x175)]=_0x5b221c;const _0x3521e8=_0x2ca94b;_0x298c3a&&(_0x3521e8['capabilities'][_0x51fb7c(0x147)]=_0x298c3a);const _0xfe00f1={};_0xfe00f1[_0x51fb7c(0x184)]=_0x5b34a0,_0x36a425[_0x51fb7c(0x12c)]=Object[_0x51fb7c(0x17c)]({},_0x36a425[_0x51fb7c(0x12c)],_0xfe00f1,_0x3521e8);},_0xc99bc0[_0x3e2364(0x193)])(_0x5dfe38,_0xed2237,_0x5868cd);}static[a60_0x5d4166(0x1a6)](){const _0x1dc33c=a60_0x5d4166;this[_0x1dc33c(0x101)](),this[_0x1dc33c(0x159)]();}static[a60_0x5d4166(0x101)](){const _0x3866c8=a60_0x5d4166,_0x280d69={'RaLsG':function(_0x5eb0cc,_0x4e5de3,_0x3e4df8){return _0x5eb0cc(_0x4e5de3,_0x3e4df8);},'DQmaY':_0x3866c8(0x179),'Cvqgn':'testInfo','chaIQ':_0x3866c8(0x145),'OYpTy':'__workerDetails','igxgY':_0x3866c8(0x168),'YHqJH':function(_0x44aa6d,_0x7643f5,_0x269419){return _0x44aa6d(_0x7643f5,_0x269419);},'jpdCC':function(_0x1a366a,_0xb6712b){return _0x1a366a===_0xb6712b;},'TNsAc':_0x3866c8(0x1b9),'UjhLO':function(_0x2c8c18,_0x3ea364,_0x2d859a,_0x2948e5){return _0x2c8c18(_0x3ea364,_0x2d859a,_0x2948e5);},'jjqQa':function(_0x2b7bd3,_0x37ed06){return _0x2b7bd3||_0x37ed06;},'OArkF':function(_0xd1337e,_0x2b6ea7){return _0xd1337e(_0x2b6ea7);},'IcagB':_0x3866c8(0x19f),'kOIgz':function(_0x5932bd,_0x4622e9){return _0x5932bd!=_0x4622e9;},'IWXbP':function(_0x406345){return _0x406345();},'KqTkw':'sendMessageToServer','IaDOf':_0x3866c8(0x164),'bDbKI':_0x3866c8(0x17d),'pbAKP':function(_0x77508b,_0xcd9399){return _0x77508b(_0xcd9399);}},_0x316748=this;!this[_0x3866c8(0x172)]&&(this[_0x3866c8(0x172)]=helper[_0x3866c8(0x120)](),!this['Connection']&&_0x280d69[_0x3866c8(0x178)](debug,_0x280d69[_0x3866c8(0x192)]));const _0x1bc809=this[_0x3866c8(0x172)];if(_0x280d69[_0x3866c8(0x129)](_0x1bc809,null)&&_0x1bc809[_0x3866c8(0x1a1)]['_bstackDispatchPatched'])return;try{if(_0x280d69[_0x3866c8(0x129)](_0x1bc809,null)){const _0x88e3ec=_0x1bc809[_0x3866c8(0x1a1)][_0x3866c8(0x164)],_0x4b2e32=_0x1bc809[_0x3866c8(0x1a1)]['sendMessageToServer'];_0x280d69[_0x3866c8(0x18c)](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x1bc809[_0x3866c8(0x1a1)],_0x280d69[_0x3866c8(0x16d)],{'get':function(){const _0xad81d4=_0x3866c8,_0x2e6414={'EzmEk':function(_0x3cb2f5,_0x47a234,_0x88f9d){return _0x280d69['RaLsG'](_0x3cb2f5,_0x47a234,_0x88f9d);},'WTszz':_0x280d69[_0xad81d4(0x138)],'PpCsJ':_0x280d69[_0xad81d4(0x17e)],'cWDav':_0x280d69[_0xad81d4(0x191)],'NupEb':_0x280d69['OYpTy'],'wnoUO':_0x280d69['igxgY'],'sinmN':function(_0x4d2702,_0x16a52c,_0x153cc6){return _0x280d69['YHqJH'](_0x4d2702,_0x16a52c,_0x153cc6);},'bSaXM':function(_0x490b45,_0x553e11){const _0x1e50c1=_0xad81d4;return _0x280d69[_0x1e50c1(0x198)](_0x490b45,_0x553e11);},'WJoQL':_0x280d69[_0xad81d4(0x122)],'ahaqm':function(_0x201d7e,_0xf569a6,_0x2877d1,_0x319860){const _0x23183f=_0xad81d4;return _0x280d69[_0x23183f(0x12e)](_0x201d7e,_0xf569a6,_0x2877d1,_0x319860);}};return async function(){const _0x408d2d=_0xad81d4;try{if(!global[_0x408d2d(0x114)]&&global[_0x408d2d(0x111)]&&_0x2e6414[_0x408d2d(0x137)](nestedKeyValue,global['__workerDetails'],[_0x2e6414[_0x408d2d(0x100)],_0x2e6414[_0x408d2d(0x1ad)],_0x2e6414[_0x408d2d(0x195)]])&&_0x2e6414[_0x408d2d(0x137)](shouldScanTestForAccessibility,global[_0x408d2d(0xfa)][_0x408d2d(0x179)][_0x408d2d(0x171)][_0x408d2d(0x145)],!![])&&scripts[_0x408d2d(0x190)](arguments[0x1])){logger[_0x408d2d(0x13a)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x408d2d(0x114)]=!![];const _0x455ce7=_0x2e6414[_0x408d2d(0x137)](nestedKeyValue,global,[_0x2e6414[_0x408d2d(0x102)],_0x2e6414[_0x408d2d(0x1ae)]]);_0x455ce7&&logger[_0x408d2d(0x13d)](_0x408d2d(0x1bd)+util[_0x408d2d(0xf5)](await _0x2e6414[_0x408d2d(0xf2)](performScanWithRetry,_0x455ce7,arguments[0x1]))),_0x2e6414[_0x408d2d(0x134)](arguments[0x0]['_type'],_0x2e6414[_0x408d2d(0x14c)])&&global[_0x408d2d(0xee)]&&logger[_0x408d2d(0x13d)](_0x408d2d(0x18e)+util[_0x408d2d(0xf5)](await _0x2e6414[_0x408d2d(0x135)](performScanWithRetry,global[_0x408d2d(0xee)],arguments[0x1],scripts[_0x408d2d(0xf7)])));}}catch(_0xb812ee){logger[_0x408d2d(0x13a)](_0x408d2d(0x123)+util[_0x408d2d(0xf5)](_0xb812ee));}return global[_0x408d2d(0x114)]=![],_0x4b2e32[_0x408d2d(0x1b0)](this,arguments);};}}),!_0x280d69[_0x3866c8(0x178)](isFalse,process[_0x3866c8(0x125)][_0x3866c8(0x10c)])&&Object[_0x3866c8(0x14f)](_0x1bc809[_0x3866c8(0x1a1)],_0x280d69[_0x3866c8(0x132)],{'get':function(){const _0x2afe43={'amANU':function(_0x5d3597,_0x1ccac0){const _0x21a4a3=a60_0x187d;return _0x280d69[_0x21a4a3(0xfe)](_0x5d3597,_0x1ccac0);},'XGaqG':function(_0x3dcc42,_0x4bc47a){const _0x323efe=a60_0x187d;return _0x280d69[_0x323efe(0x178)](_0x3dcc42,_0x4bc47a);}};return function _0x3ce23e(_0x4f5580){const _0x1f227a=a60_0x187d,_0x1d6227=_0x88e3ec[_0x1f227a(0x1b0)](this,arguments);try{if(BrowserstackCLI[_0x1f227a(0x12b)]()[_0x1f227a(0x148)]()){const _0x4c62ab={};_0x4c62ab['message']=_0x4f5580,Promise['resolve'](BrowserstackCLI[_0x1f227a(0x12b)]()[_0x1f227a(0x150)]()['trackEvent'](AutomationFrameworkState[_0x1f227a(0xf9)],HookState['POST'],_0x4c62ab))[_0x1f227a(0x142)](()=>{});}else{const _0x2ee68b=_0x4f5580&&_0x4f5580['params']&&_0x4f5580['params']['bsParams'];if(_0x2ee68b){const _0x4a58d6=_0x2ee68b['sessionId'],_0x272965=_0x2ee68b[_0x1f227a(0x163)];_0x2afe43[_0x1f227a(0xfc)](!_0x4a58d6,!_0x272965)&&Promise[_0x1f227a(0x165)](ClientTroubleShootingService[_0x1f227a(0x1be)]())[_0x1f227a(0x142)](()=>{}),_0x272965&&(_0x2afe43['XGaqG'](debug,_0x1f227a(0x110)+_0x272965[_0x1f227a(0x140)]()),_0x316748[_0x1f227a(0x12c)][_0x1f227a(0x136)]=_0x272965[_0x1f227a(0x16e)],_0x316748[_0x1f227a(0x12c)][_0x1f227a(0x186)]=_0x272965[_0x1f227a(0x187)]),_0x4a58d6&&(_0x2afe43['XGaqG'](debug,_0x1f227a(0x128)+_0x4a58d6),_0x316748['currentSessionDetails'][_0x1f227a(0x177)]=_0x4a58d6);}}}catch(_0x5b5779){_0x2afe43[_0x1f227a(0x199)](debug,_0x1f227a(0xfd)+(_0x5b5779&&_0x5b5779[_0x1f227a(0x140)]?_0x5b5779[_0x1f227a(0x140)]():_0x5b5779));}return _0x1d6227;};}}),_0x1bc809[_0x3866c8(0x1a1)][_0x3866c8(0x11e)]=!![],logger[_0x3866c8(0x13a)](_0x280d69['bDbKI']);}}catch(_0x31b6f9){_0x280d69['pbAKP'](debug,_0x3866c8(0xff)+_0x31b6f9),_0x316748['sessionError']=_0x31b6f9[_0x3866c8(0x140)]();}}static[a60_0x5d4166(0x159)](){const _0x44e75f=a60_0x5d4166,_0x279c68={'pRRop':function(_0x257da3,_0xe1928e){return _0x257da3(_0xe1928e);},'bisPR':function(_0x12a643){return _0x12a643();},'FDMxS':function(_0x4f98ba,_0x117a6f){return _0x4f98ba>=_0x117a6f;},'JhEFi':_0x44e75f(0x15a),'rqLgu':function(_0x4cff47,_0x42afaa){return _0x4cff47(_0x42afaa);},'HPUBz':_0x44e75f(0x116),'fFKEz':_0x44e75f(0x166),'Tslyc':'server','OkIPi':_0x44e75f(0x10f),'itivo':'crConnection.js','UXZjo':'Not\x20able\x20to\x20import\x20crConnection','sHpFS':_0x44e75f(0x146),'AVyAX':function(_0x1898bb,_0x4f86b3){return _0x1898bb!=_0x4f86b3;},'JZCDW':_0x44e75f(0x197)},_0x51311b=this;if(_0x279c68['bisPR'](isAccessibilityAutomationSession)){let _0x16330e=null,_0x36a402=![];try{const _0x58e6db=helper[_0x44e75f(0x106)](FRAMEWORKS[_0x44e75f(0x151)]);_0x36a402=_0x279c68[_0x44e75f(0x154)](helper[_0x44e75f(0x1b2)](_0x58e6db,_0x279c68[_0x44e75f(0xfb)]),0x0);}catch(_0x13a9a7){_0x279c68[_0x44e75f(0x16c)](debug,_0x44e75f(0x14e)+_0x13a9a7[_0x44e75f(0x140)]());}if(_0x36a402)_0x279c68[_0x44e75f(0x12d)](debug,_0x279c68[_0x44e75f(0x189)]);else try{const _0x3f0656=path[_0x44e75f(0xf4)](_0x279c68[_0x44e75f(0x103)],_0x279c68[_0x44e75f(0x1b8)],_0x279c68[_0x44e75f(0x17a)],_0x279c68[_0x44e75f(0x194)]),_0x341943=_0x279c68[_0x44e75f(0x12d)](importFileFromPWCore,_0x3f0656);!_0x341943?_0x279c68[_0x44e75f(0x16c)](debug,_0x279c68['UXZjo']):_0x16330e=_0x341943[_0x44e75f(0x13e)];}catch(_0x5d2cb7){_0x279c68[_0x44e75f(0x16c)](debug,_0x279c68[_0x44e75f(0x1bf)]);}try{if(_0x279c68[_0x44e75f(0x153)](_0x16330e,null)){const _0x33bc05=_0x16330e[_0x44e75f(0x1a1)]['_onMessage'];Object[_0x44e75f(0x14f)](_0x16330e[_0x44e75f(0x1a1)],_0x279c68[_0x44e75f(0x15c)],{'get':function(){return async function _0x135496(_0x538e62){const _0x303f14=a60_0x187d;try{if(BrowserstackCLI[_0x303f14(0x12b)]()[_0x303f14(0x148)]()){const _0x502583={};_0x502583[_0x303f14(0x19c)]=_0x538e62,await BrowserstackCLI[_0x303f14(0x12b)]()['getAutomationFramework']()[_0x303f14(0x149)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x303f14(0x1b6)],_0x502583),delete _0x538e62[_0x303f14(0x113)];}else{const _0x3a4fd6=_0x538e62[_0x303f14(0x113)];if(_0x3a4fd6){delete _0x538e62[_0x303f14(0x113)];const _0x76d60c=_0x3a4fd6[_0x303f14(0x170)],_0x59c22f=_0x3a4fd6[_0x303f14(0x163)];_0x59c22f&&(_0x279c68[_0x303f14(0x16c)](debug,_0x303f14(0x15d)+_0x59c22f[_0x303f14(0x140)]()),_0x51311b[_0x303f14(0x12c)][_0x303f14(0x136)]=_0x59c22f[_0x303f14(0x16e)],_0x51311b[_0x303f14(0x12c)][_0x303f14(0x186)]=_0x59c22f[_0x303f14(0x187)]),_0x76d60c&&(_0x279c68[_0x303f14(0x16c)](debug,_0x303f14(0xf0)+_0x76d60c),_0x51311b[_0x303f14(0x12c)][_0x303f14(0x177)]=_0x76d60c);}}}catch(_0x4d53d8){_0x279c68[_0x303f14(0x16c)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x4d53d8['toString']());}return _0x33bc05[_0x303f14(0x1b0)](this,arguments);};}});}}catch(_0x4b0211){_0x279c68[_0x44e75f(0x12d)](debug,_0x44e75f(0x10a)+_0x4b0211),_0x51311b[_0x44e75f(0x1ba)]=_0x4b0211[_0x44e75f(0x140)]();}}}static[a60_0x5d4166(0x1a4)](){return this['currentSessionDetails'];}}module[a60_0x5d4166(0x174)]=PlaywrightSessionDetails;
@@ -1 +1 @@
1
- function a61_0x126c(){const _0xc26f9a=['2181361GgPVHm','o11ySyncDone','isRunning','402YGfEED','foXpV','setCustomTags','newPage','apply','sLOJU','226025gulkkr','evaluate','format','1933068MztIys','78606RCwtgR','fMffT','measureWrapper','../v2/uploadAttachmentsManager','env','now','SYNC','util','110hFxkpG','../../helpers/performance/constants','2961zvHUII','__workerDetails','OVupj','../v2/customTagManager','UhQRU','stringify','annotate','getInstance','17256WmYBdn','SeEXp','428318ozDmRi','debug','33235IjAxkI','zIgtk','../v2/browserstackCLI','patchBrowserNewPage','51qFEjlI','uploadAttachment','gIMIM','_bstackNewPagePatched','../../helpers/logger'];a61_0x126c=function(){return _0xc26f9a;};return a61_0x126c();}const a61_0x417308=a61_0x42fb;(function(_0x246a54,_0x131a06){const _0x1d9ce2=a61_0x42fb,_0x51c6e1=_0x246a54();while(!![]){try{const _0x258803=-parseInt(_0x1d9ce2(0x144))/0x1+parseInt(_0x1d9ce2(0x148))/0x2*(parseInt(_0x1d9ce2(0x162))/0x3)+-parseInt(_0x1d9ce2(0x147))/0x4+-parseInt(_0x1d9ce2(0x15e))/0x5*(-parseInt(_0x1d9ce2(0x13e))/0x6)+parseInt(_0x1d9ce2(0x13b))/0x7+parseInt(_0x1d9ce2(0x15a))/0x8*(-parseInt(_0x1d9ce2(0x152))/0x9)+parseInt(_0x1d9ce2(0x150))/0xa*(parseInt(_0x1d9ce2(0x15c))/0xb);if(_0x258803===_0x131a06)break;else _0x51c6e1['push'](_0x51c6e1['shift']());}catch(_0x21dc0e){_0x51c6e1['push'](_0x51c6e1['shift']());}}}(a61_0x126c,0x6a140));function a61_0x42fb(_0x4303b6,_0x17d53a){const _0x126c12=a61_0x126c();return a61_0x42fb=function(_0x42fb1f,_0x1d595e){_0x42fb1f=_0x42fb1f-0x13a;let _0x55dded=_0x126c12[_0x42fb1f];return _0x55dded;},a61_0x42fb(_0x4303b6,_0x17d53a);}const util=require(a61_0x417308(0x14f)),logger=require(a61_0x417308(0x13a)),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),PerformanceTester=require('../../helpers/performance/performance-tester'),{O11y_EVENTS:PerformanceO11yEvents}=require(a61_0x417308(0x151)),BrowserstackCLI=require(a61_0x417308(0x160)),CustomTagManager=require(a61_0x417308(0x155)),uploadAttachmentsManager=require(a61_0x417308(0x14b)),doo11ySync=PerformanceTester[a61_0x417308(0x14a)](PerformanceO11yEvents[a61_0x417308(0x14e)],o11yErrorHandler(async function doo11ySync(_0x45deb6){const _0x3c7a49=a61_0x417308,_0xfbb702={'OVupj':function(_0x11199b,_0x195e2e,_0x604b7b){return _0x11199b(_0x195e2e,_0x604b7b);},'sLOJU':_0x3c7a49(0x153),'UhQRU':'o11ySyncDone','fMffT':_0x3c7a49(0x158),'foXpV':_0x3c7a49(0x15d)};if(_0xfbb702[_0x3c7a49(0x154)](nestedKeyValue,global,[_0xfbb702[_0x3c7a49(0x143)],_0xfbb702[_0x3c7a49(0x156)]]))return;await _0x45deb6[_0x3c7a49(0x145)](_0x504c75=>{},'browserstack_executor:\x20'+JSON[_0x3c7a49(0x157)]({'action':_0xfbb702[_0x3c7a49(0x149)],'arguments':{'data':'ObservabilitySync:'+Date[_0x3c7a49(0x14d)](),'level':_0xfbb702[_0x3c7a49(0x13f)]}})),global[_0x3c7a49(0x153)][_0x3c7a49(0x13c)]=!![];},'doo11ySync'));exports[a61_0x417308(0x161)]=_0x455c89=>{const _0x256328=a61_0x417308,_0x4b18f5={'zIgtk':function(_0x4b1710,_0x229213){return _0x4b1710(_0x229213);},'gIMIM':function(_0x3a4a96,_0x4b1e1f,_0x23db10){return _0x3a4a96(_0x4b1e1f,_0x23db10);},'SeEXp':_0x256328(0x153)};if(!_0x455c89||_0x455c89['_bstackNewPagePatched'])return;const _0x16069a=_0x455c89[_0x256328(0x141)]['bind'](_0x455c89);_0x455c89[_0x256328(0x141)]=async function _0x4a88e4(){const _0x3a6b0c=_0x256328,_0x36467d=await _0x16069a[_0x3a6b0c(0x142)](_0x455c89,arguments);try{!BrowserstackCLI[_0x3a6b0c(0x159)]()['isRunning']()&&!_0x4b18f5[_0x3a6b0c(0x15f)](isFalse,process[_0x3a6b0c(0x14c)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&await _0x4b18f5[_0x3a6b0c(0x15f)](doo11ySync,_0x36467d),BrowserstackCLI[_0x3a6b0c(0x159)]()[_0x3a6b0c(0x13d)]()&&(_0x36467d[_0x3a6b0c(0x140)]=async(_0x2ca1f8,_0x386300,_0x40d9fc=![])=>{const _0x44d118=_0x3a6b0c;await CustomTagManager[_0x44d118(0x140)](_0x2ca1f8,_0x386300,_0x40d9fc);},_0x36467d[_0x3a6b0c(0x163)]=async(_0x442fe0,_0x5be746=![])=>{await uploadAttachmentsManager['uploadAttachments'](_0x442fe0,_0x5be746);});}catch(_0x23d067){logger[_0x3a6b0c(0x15d)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util[_0x3a6b0c(0x146)](_0x23d067));}return _0x4b18f5[_0x3a6b0c(0x164)](nestedKeyValue,global,[_0x4b18f5[_0x3a6b0c(0x15b)]])&&(global['__workerDetails']['pwPage']=_0x36467d),_0x36467d;},_0x455c89[_0x256328(0x165)]=!![];};
1
+ function a61_0x3e6f(){const _0x55daaf=['pwPage','4037eicPES','qlUPg','40LXHxHy','apply','../../helpers/performance/performance-tester','4fwglKI','newPage','14970lQvAcL','uploadAttachments','format','638972jweAKj','debug','stringify','81VmZRfp','evaluate','isRunning','env','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/helper','_bstackNewPagePatched','43377lSYepz','3824748Lzxrru','../v2/customTagManager','vMGqW','myvKq','990MZmRdR','bind','VQEgg','VNsQf','../v2/uploadAttachmentsManager','__workerDetails','measureWrapper','patchBrowserNewPage','../../helpers/performance/constants','aperM','213848wxZWRv','yxQOV','36491oHfDdh','jMmpg','setCustomTags','4434740xyHHSD','browserstack_executor:\x20','annotate'];a61_0x3e6f=function(){return _0x55daaf;};return a61_0x3e6f();}const a61_0x5f55ee=a61_0x77a5;(function(_0x4b15d2,_0x16b624){const _0x294f19=a61_0x77a5,_0x2998a0=_0x4b15d2();while(!![]){try{const _0xb57fb2=parseInt(_0x294f19(0xb7))/0x1+parseInt(_0x294f19(0xaf))/0x2*(parseInt(_0x294f19(0x95))/0x3)+parseInt(_0x294f19(0xb2))/0x4*(parseInt(_0x294f19(0xa9))/0x5)+-parseInt(_0x294f19(0x9a))/0x6*(parseInt(_0x294f19(0xa6))/0x7)+parseInt(_0x294f19(0xa4))/0x8*(-parseInt(_0x294f19(0xba))/0x9)+parseInt(_0x294f19(0xb4))/0xa*(-parseInt(_0x294f19(0xad))/0xb)+parseInt(_0x294f19(0x96))/0xc;if(_0xb57fb2===_0x16b624)break;else _0x2998a0['push'](_0x2998a0['shift']());}catch(_0x1c0be1){_0x2998a0['push'](_0x2998a0['shift']());}}}(a61_0x3e6f,0x7617a));const util=require('util'),logger=require('../../helpers/logger'),{nestedKeyValue,isFalse}=require(a61_0x5f55ee(0x93)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),PerformanceTester=require(a61_0x5f55ee(0xb1)),{O11y_EVENTS:PerformanceO11yEvents}=require(a61_0x5f55ee(0xa2)),BrowserstackCLI=require('../v2/browserstackCLI'),CustomTagManager=require(a61_0x5f55ee(0x97)),uploadAttachmentsManager=require(a61_0x5f55ee(0x9e)),doo11ySync=PerformanceTester[a61_0x5f55ee(0xa0)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x12cd78){const _0xca9532=a61_0x5f55ee,_0x13f5c2={'vMGqW':function(_0x1d5f2c,_0x237c07,_0x4020e5){return _0x1d5f2c(_0x237c07,_0x4020e5);},'myvKq':'__workerDetails','qlUPg':'o11ySyncDone','aperM':_0xca9532(0xab),'jMmpg':_0xca9532(0xb8)};if(_0x13f5c2[_0xca9532(0x98)](nestedKeyValue,global,[_0x13f5c2[_0xca9532(0x99)],_0x13f5c2[_0xca9532(0xae)]]))return;await _0x12cd78[_0xca9532(0xbb)](_0x2adf37=>{},_0xca9532(0xaa)+JSON[_0xca9532(0xb9)]({'action':_0x13f5c2[_0xca9532(0xa3)],'arguments':{'data':'ObservabilitySync:'+Date['now'](),'level':_0x13f5c2[_0xca9532(0xa7)]}})),global[_0xca9532(0x9f)]['o11ySyncDone']=!![];},'doo11ySync'));function a61_0x77a5(_0x232a41,_0x228c74){const _0x3e6fac=a61_0x3e6f();return a61_0x77a5=function(_0x77a54c,_0xc8dc4c){_0x77a54c=_0x77a54c-0x93;let _0xea99e0=_0x3e6fac[_0x77a54c];return _0xea99e0;},a61_0x77a5(_0x232a41,_0x228c74);}exports[a61_0x5f55ee(0xa1)]=_0x50f8d2=>{const _0x51c4e6=a61_0x5f55ee,_0x5cc855={'VQEgg':function(_0x2b5bd7,_0x2e8381){return _0x2b5bd7(_0x2e8381);},'yxQOV':function(_0x573a7a,_0x53c824,_0x297692){return _0x573a7a(_0x53c824,_0x297692);},'VNsQf':'__workerDetails'};if(!_0x50f8d2||_0x50f8d2[_0x51c4e6(0x94)])return;const _0x44ed14=_0x50f8d2[_0x51c4e6(0xb3)][_0x51c4e6(0x9b)](_0x50f8d2);_0x50f8d2['newPage']=async function _0x37e70d(){const _0x53a341=_0x51c4e6,_0x1514a8=await _0x44ed14[_0x53a341(0xb0)](_0x50f8d2,arguments);try{!BrowserstackCLI['getInstance']()[_0x53a341(0xbc)]()&&!_0x5cc855[_0x53a341(0x9c)](isFalse,process[_0x53a341(0xbd)][_0x53a341(0xbe)])&&await _0x5cc855[_0x53a341(0x9c)](doo11ySync,_0x1514a8),BrowserstackCLI['getInstance']()['isRunning']()&&(_0x1514a8[_0x53a341(0xa8)]=async(_0x30a464,_0x50edf8,_0x5880b6=![])=>{await CustomTagManager['setCustomTags'](_0x30a464,_0x50edf8,_0x5880b6);},_0x1514a8['uploadAttachment']=async(_0x151316,_0x668718=![])=>{const _0x4c01e4=_0x53a341;await uploadAttachmentsManager[_0x4c01e4(0xb5)](_0x151316,_0x668718);});}catch(_0xd7879b){logger[_0x53a341(0xb8)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util[_0x53a341(0xb6)](_0xd7879b));}return _0x5cc855[_0x53a341(0xa5)](nestedKeyValue,global,[_0x5cc855[_0x53a341(0x9d)]])&&(global[_0x53a341(0x9f)][_0x53a341(0xac)]=_0x1514a8),_0x1514a8;},_0x50f8d2[_0x51c4e6(0x94)]=!![];};
@@ -1 +1 @@
1
- function a62_0x3e8c(){const _0xaaab3e=['Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','../utils/constants','POST','96rEIDdz','yPsAk','browserstack','mwMIG','getInstance','sessionId','LQUJA','currentSessionDetails','OXoSp','turboscale','params','platformName','nrCJv','isRunning','platformVersion','bTYNx','setupBrowserDetails','3024462ickLrW','includes','function','capabilities','platformDetails','parse','getAutomationFramework','ATS_WSS_URL_REGEX','message','Setting\x20session\x20id\x20received\x20from\x20BS\x20','stringify','path','assign','xPIBU','24TmhhYj','NTIKx','string','68826UnxKXj','product','../v2/browserstackCLI','gImVK','kLowj','lTguO','../../helpers/test-observability/utils','test','rVTEN','result','HWedQ','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','5458836ofbVPj','sessionError','platform_version','query','WNvfZ','xnZAO','xIItY','BSTACK_URL','Error\x20in\x20patchConnection:\x20','201939pKayyL','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','WaNRm','bsParams','util','9147660KNbfWg','chrome','150445BdDnze','entries','format','PLAYWRIGHT_DISPATCH','toString','winstonLogger','platform','_bstackPatched','bsSessionId','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','connection','url','../../helpers/helper','36SCqXYC','dAjoy','automate','browser_version','euIXn','apply','bStackParams','ZgISu','browser','vULDa','1707651JLdoGv','version','cloudProvider','onmessage','../v2/state/automationFrameworkState.js'];a62_0x3e8c=function(){return _0xaaab3e;};return a62_0x3e8c();}function a62_0x5cc3(_0x55883b,_0x57a0c5){const _0x3e8c0d=a62_0x3e8c();return a62_0x5cc3=function(_0x5cc388,_0x2e99ee){_0x5cc388=_0x5cc388-0x1cc;let _0x252307=_0x3e8c0d[_0x5cc388];return _0x252307;},a62_0x5cc3(_0x55883b,_0x57a0c5);}const a62_0x52ebd2=a62_0x5cc3;(function(_0x5a493b,_0xae0ae9){const _0x13329b=a62_0x5cc3,_0x50014c=_0x5a493b();while(!![]){try{const _0x123f20=parseInt(_0x13329b(0x1d9))/0x1+parseInt(_0x13329b(0x221))/0x2*(-parseInt(_0x13329b(0x1ed))/0x3)+parseInt(_0x13329b(0x1ff))/0x4*(parseInt(_0x13329b(0x1e0))/0x5)+parseInt(_0x13329b(0x1d0))/0x6+-parseInt(_0x13329b(0x210))/0x7*(parseInt(_0x13329b(0x21e))/0x8)+-parseInt(_0x13329b(0x1f7))/0x9+parseInt(_0x13329b(0x1de))/0xa;if(_0x123f20===_0xae0ae9)break;else _0x50014c['push'](_0x50014c['shift']());}catch(_0x46f8e2){_0x50014c['push'](_0x50014c['shift']());}}}(a62_0x3e8c,0xcf75a));const path=require(a62_0x52ebd2(0x21b)),url=require(a62_0x52ebd2(0x1eb)),util=require(a62_0x52ebd2(0x1dd)),{nestedKeyValue,isFalse}=require(a62_0x52ebd2(0x1ec)),{debug,getPlatformDetails}=require(a62_0x52ebd2(0x227)),logger=require('../../helpers/logger')[a62_0x52ebd2(0x1e5)],constants=require(a62_0x52ebd2(0x1fd)),BrowserstackCLI=require(a62_0x52ebd2(0x223)),AutomationFrameworkState=require(a62_0x52ebd2(0x1fb)),HookState=require('../v2/state/hookState.js'),getBrowserFromWSEndpoint=_0x156f62=>{const _0x354a07=a62_0x52ebd2,_0x3f7067={'dAjoy':_0x354a07(0x1df),'NTIKx':function(_0x40f985,_0x3ac02a){return _0x40f985(_0x3ac02a);}};try{const _0x251504=url[_0x354a07(0x215)](_0x156f62),_0x470c2b=new URLSearchParams(_0x251504[_0x354a07(0x1d3)]),_0x7a8998=Object['fromEntries'](_0x470c2b[_0x354a07(0x1e1)]()),_0x3e7a36=JSON[_0x354a07(0x215)](_0x7a8998['caps']);if(_0x3e7a36&&(_0x3e7a36[_0x354a07(0x1f5)]||_0x3e7a36['browserName']))return _0x3e7a36['browser']||_0x3e7a36['browserName'];return _0x3f7067[_0x354a07(0x1ee)];}catch(_0x5b9a6e){_0x3f7067[_0x354a07(0x21f)](debug,_0x354a07(0x1da)+_0x5b9a6e[_0x354a07(0x1e4)]());}},getCloudProviderFromWsEndpoint=_0xa13b44=>{const _0x2c39e3=a62_0x52ebd2,_0x9d214b={};_0x9d214b[_0x2c39e3(0x207)]=_0x2c39e3(0x201),_0x9d214b[_0x2c39e3(0x226)]='unknown_grid';const _0x533a4e=_0x9d214b;if(_0xa13b44[_0x2c39e3(0x211)](constants[_0x2c39e3(0x1d7)])||_0xa13b44[_0x2c39e3(0x211)](constants['BSTACK_ATS_URL']))return _0x533a4e['OXoSp'];return _0x533a4e[_0x2c39e3(0x226)];},a62_0x258660={};a62_0x258660[a62_0x52ebd2(0x1f9)]=undefined,a62_0x258660[a62_0x52ebd2(0x1e8)]=undefined,a62_0x258660[a62_0x52ebd2(0x1f5)]=undefined,a62_0x258660['browser_version']=undefined,a62_0x258660[a62_0x52ebd2(0x1e6)]=undefined,a62_0x258660[a62_0x52ebd2(0x1d2)]=undefined,a62_0x258660[a62_0x52ebd2(0x222)]=undefined,a62_0x258660[a62_0x52ebd2(0x213)]={};class PuppeteerSessionDetails{static [a62_0x52ebd2(0x206)]=a62_0x258660;constructor(){const _0x4bfa8c=a62_0x52ebd2,_0x3336b3={};_0x3336b3[_0x4bfa8c(0x1f6)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x4c6671=_0x3336b3;throw new Error(_0x4c6671['vULDa']);}static ['sessionError']=null;static async[a62_0x52ebd2(0x20f)](_0x3f3122,_0x48f5bf){const _0x5a69b4=a62_0x52ebd2,_0x414060={'kLowj':_0x5a69b4(0x1df),'mWJgd':function(_0x5bae00,_0xbd3d54){return _0x5bae00===_0xbd3d54;},'WaNRm':_0x5a69b4(0x212),'jytKv':'local_grid','xnZAO':function(_0xeeb17,_0x1c0e6e){return _0xeeb17(_0x1c0e6e);},'mwMIG':function(_0x1c4f7c,_0x2294c3){return _0x1c4f7c===_0x2294c3;},'WNvfZ':_0x5a69b4(0x201),'bTYNx':_0x5a69b4(0x208),'xPIBU':_0x5a69b4(0x1ef),'nrCJv':function(_0x161255){return _0x161255();},'LQUJA':function(_0x4e6b79,_0xf665a9){return _0x4e6b79(_0xf665a9);}};try{let _0x470204=_0x414060[_0x5a69b4(0x225)],_0xd91941=null;_0x3f3122&&_0x414060['mWJgd'](typeof _0x3f3122[_0x5a69b4(0x1f8)],_0x414060[_0x5a69b4(0x1db)])&&(_0xd91941=await _0x3f3122[_0x5a69b4(0x1f8)]());let _0x1dd8dc=null,_0x290cba=null,_0x136891=null,_0x4f7dce=_0x414060['jytKv'];if(_0x48f5bf){_0x4f7dce=_0x414060['xnZAO'](getCloudProviderFromWsEndpoint,_0x48f5bf);if(_0x414060[_0x5a69b4(0x202)](_0x4f7dce,_0x414060[_0x5a69b4(0x1d4)]))_0x136891=constants[_0x5a69b4(0x217)]?constants[_0x5a69b4(0x217)][_0x5a69b4(0x228)](_0x48f5bf)?_0x414060[_0x5a69b4(0x20e)]:_0x414060[_0x5a69b4(0x21d)]:_0x414060[_0x5a69b4(0x21d)],_0x470204=_0x414060[_0x5a69b4(0x1d5)](getBrowserFromWSEndpoint,_0x48f5bf)||_0x470204,_0x1dd8dc=this[_0x5a69b4(0x206)][_0x5a69b4(0x1e6)],_0x290cba=this[_0x5a69b4(0x206)]['platform_version'];else{const _0x53ea06=await _0x414060[_0x5a69b4(0x20b)](getPlatformDetails);_0x1dd8dc=_0x53ea06['platformName'],_0x290cba=_0x53ea06[_0x5a69b4(0x20d)];}}else{const _0x289966=await _0x414060[_0x5a69b4(0x20b)](getPlatformDetails);_0x1dd8dc=_0x289966[_0x5a69b4(0x20a)],_0x290cba=_0x289966[_0x5a69b4(0x20d)];}const _0x5036b2={};_0x5036b2[_0x5a69b4(0x1f5)]=_0x470204,_0x5036b2[_0x5a69b4(0x1f0)]=_0xd91941,_0x5036b2['capabilities']={},_0x5036b2[_0x5a69b4(0x1e6)]=_0x1dd8dc,_0x5036b2['platform_version']=_0x290cba,_0x5036b2[_0x5a69b4(0x222)]=_0x136891;const _0x4b19e6=_0x5036b2,_0x425719={};_0x425719[_0x5a69b4(0x1f9)]=_0x4f7dce,this[_0x5a69b4(0x206)]=Object[_0x5a69b4(0x21c)]({},this[_0x5a69b4(0x206)],_0x425719,_0x4b19e6);}catch(_0x3f7fd7){_0x414060[_0x5a69b4(0x205)](debug,'Error\x20in\x20setupBrowserDetails:\x20'+util['format'](_0x3f7fd7)),this['sessionError']=_0x3f7fd7['toString']();}}static['patchConnection'](_0x278f4f){const _0x180905=a62_0x52ebd2,_0x2c7b51={'rVTEN':function(_0x54377b,_0x13dbea){return _0x54377b===_0x13dbea;},'gImVK':_0x180905(0x220),'HWedQ':function(_0x54dd9f,_0x595c9f){return _0x54dd9f(_0x595c9f);},'xIItY':function(_0xf71706,_0xaf603f){return _0xf71706===_0xaf603f;},'yPsAk':function(_0x27a507,_0x22ea5f){return _0x27a507(_0x22ea5f);},'ZgISu':_0x180905(0x1cf),'euIXn':function(_0x111cf7,_0x3a307c){return _0x111cf7(_0x3a307c);}},_0x378ebb=this;try{const _0x5adc76=_0x278f4f['_connection']||_0x278f4f[_0x180905(0x1ea)];if(!_0x5adc76||_0x5adc76[_0x180905(0x1e7)])return;const _0x2546a9=_0x5adc76[_0x180905(0x1fa)];_0x5adc76[_0x180905(0x1fa)]=function(_0x116d9f){const _0x5797ee=_0x180905;try{const _0x44103e=_0x2c7b51[_0x5797ee(0x1cc)](typeof _0x116d9f,_0x2c7b51[_0x5797ee(0x224)])?JSON[_0x5797ee(0x215)](_0x116d9f):_0x116d9f,_0x2546c9=_0x44103e?.['bStackParams']||_0x44103e?.[_0x5797ee(0x1dc)]||_0x44103e?.['params']?.['bsParams']||_0x44103e?.[_0x5797ee(0x209)]?.['bStackParams']||_0x44103e?.['result']?.[_0x5797ee(0x1dc)]||_0x44103e?.[_0x5797ee(0x1cd)]?.[_0x5797ee(0x1f3)];if(_0x2546c9){if(BrowserstackCLI[_0x5797ee(0x203)]()[_0x5797ee(0x20c)]()){const _0x654cb={};_0x654cb[_0x5797ee(0x218)]=_0x44103e,BrowserstackCLI[_0x5797ee(0x203)]()[_0x5797ee(0x216)]()['trackEvent'](AutomationFrameworkState[_0x5797ee(0x1e3)],HookState[_0x5797ee(0x1fe)],_0x654cb);}else{const _0x5a90b0=_0x2546c9[_0x5797ee(0x204)],_0x389138=_0x2546c9[_0x5797ee(0x214)];_0x389138&&(_0x2c7b51[_0x5797ee(0x1ce)](debug,_0x5797ee(0x1e9)+JSON[_0x5797ee(0x21a)](_0x389138)),_0x378ebb[_0x5797ee(0x206)]['platform']=_0x389138[_0x5797ee(0x20a)],_0x378ebb[_0x5797ee(0x206)][_0x5797ee(0x1d2)]=_0x389138[_0x5797ee(0x20d)]),_0x5a90b0&&(_0x2c7b51['HWedQ'](debug,_0x5797ee(0x219)+_0x5a90b0),_0x378ebb['currentSessionDetails'][_0x5797ee(0x1e8)]=_0x5a90b0);}_0x2c7b51[_0x5797ee(0x1d6)](typeof _0x116d9f,_0x2c7b51['gImVK'])&&(delete _0x44103e[_0x5797ee(0x1f3)],delete _0x44103e[_0x5797ee(0x1dc)],_0x44103e[_0x5797ee(0x209)]&&(delete _0x44103e[_0x5797ee(0x209)][_0x5797ee(0x1dc)],delete _0x44103e['params'][_0x5797ee(0x1f3)]),_0x44103e['result']&&(delete _0x44103e[_0x5797ee(0x1cd)][_0x5797ee(0x1dc)],delete _0x44103e[_0x5797ee(0x1cd)][_0x5797ee(0x1f3)]));}}catch(_0x15e759){_0x2c7b51[_0x5797ee(0x200)](debug,_0x5797ee(0x1fc)+_0x15e759['message']);}return _0x2546a9?.[_0x5797ee(0x1f2)](this,arguments);},_0x5adc76['_bstackPatched']=!![],logger['debug'](_0x2c7b51[_0x180905(0x1f4)]);}catch(_0x9a530){_0x2c7b51[_0x180905(0x1f1)](debug,_0x180905(0x1d8)+util[_0x180905(0x1e2)](_0x9a530)),_0x378ebb[_0x180905(0x1d1)]=_0x9a530[_0x180905(0x1e4)]();}}static['getDetails'](){const _0x158314=a62_0x52ebd2;return this[_0x158314(0x206)];}}module['exports']=PuppeteerSessionDetails;
1
+ function a62_0x20f4(_0x14296d,_0x44c182){const _0x4e3bf4=a62_0x4e3b();return a62_0x20f4=function(_0x20f480,_0x3fa6b9){_0x20f480=_0x20f480-0x8d;let _0xc8ebeb=_0x4e3bf4[_0x20f480];return _0xc8ebeb;},a62_0x20f4(_0x14296d,_0x44c182);}const a62_0x3223ba=a62_0x20f4;(function(_0xa50478,_0x47485a){const _0x322455=a62_0x20f4,_0x424116=_0xa50478();while(!![]){try{const _0x999786=-parseInt(_0x322455(0xaa))/0x1+-parseInt(_0x322455(0xb8))/0x2+-parseInt(_0x322455(0xed))/0x3*(parseInt(_0x322455(0xba))/0x4)+-parseInt(_0x322455(0xcb))/0x5*(-parseInt(_0x322455(0xc0))/0x6)+parseInt(_0x322455(0xa1))/0x7+parseInt(_0x322455(0x9d))/0x8+parseInt(_0x322455(0xa6))/0x9;if(_0x999786===_0x47485a)break;else _0x424116['push'](_0x424116['shift']());}catch(_0x4619d2){_0x424116['push'](_0x424116['shift']());}}}(a62_0x4e3b,0x2f935));const path=require(a62_0x3223ba(0x93)),url=require(a62_0x3223ba(0x8e)),util=require(a62_0x3223ba(0xb7)),{nestedKeyValue,isFalse}=require(a62_0x3223ba(0x9c)),{debug,getPlatformDetails}=require(a62_0x3223ba(0xd5)),logger=require(a62_0x3223ba(0xd6))[a62_0x3223ba(0x94)],constants=require(a62_0x3223ba(0x97)),BrowserstackCLI=require(a62_0x3223ba(0x9e)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a62_0x3223ba(0x8d)),getBrowserFromWSEndpoint=_0x22bf4=>{const _0x1a2643=a62_0x3223ba,_0x1c30b3={'uhaBo':_0x1a2643(0xaf),'HajqC':function(_0x441dc2,_0x7e4ec8){return _0x441dc2(_0x7e4ec8);}};try{const _0xdf66=url['parse'](_0x22bf4),_0xeb7e4d=new URLSearchParams(_0xdf66[_0x1a2643(0xa0)]),_0x14ccde=Object[_0x1a2643(0x90)](_0xeb7e4d[_0x1a2643(0xeb)]()),_0x18a06c=JSON[_0x1a2643(0xcd)](_0x14ccde[_0x1a2643(0x91)]);if(_0x18a06c&&(_0x18a06c[_0x1a2643(0xd0)]||_0x18a06c[_0x1a2643(0xb1)]))return _0x18a06c[_0x1a2643(0xd0)]||_0x18a06c[_0x1a2643(0xb1)];return _0x1c30b3[_0x1a2643(0x99)];}catch(_0x59fe65){_0x1c30b3[_0x1a2643(0xe3)](debug,_0x1a2643(0xa4)+_0x59fe65[_0x1a2643(0xe1)]());}},getCloudProviderFromWsEndpoint=_0x1e3ecb=>{const _0x202d25=a62_0x3223ba,_0x94edcc={};_0x94edcc[_0x202d25(0xc9)]=_0x202d25(0xc3),_0x94edcc['tAGZQ']=_0x202d25(0xe2);const _0x56b9d5=_0x94edcc;if(_0x1e3ecb[_0x202d25(0xe7)](constants['BSTACK_URL'])||_0x1e3ecb[_0x202d25(0xe7)](constants[_0x202d25(0xda)]))return _0x56b9d5[_0x202d25(0xc9)];return _0x56b9d5[_0x202d25(0xe0)];},a62_0x115168={};a62_0x115168[a62_0x3223ba(0xe4)]=undefined,a62_0x115168[a62_0x3223ba(0xee)]=undefined,a62_0x115168[a62_0x3223ba(0xd0)]=undefined,a62_0x115168[a62_0x3223ba(0xa2)]=undefined,a62_0x115168[a62_0x3223ba(0xcc)]=undefined,a62_0x115168[a62_0x3223ba(0xc6)]=undefined,a62_0x115168[a62_0x3223ba(0xa3)]=undefined,a62_0x115168[a62_0x3223ba(0xdb)]={};function a62_0x4e3b(){const _0x466ecf=['path','winstonLogger','LJPGk','test','../utils/constants','trackEvent','uhaBo','debug','QPJmg','../../helpers/helper','1360520hMNrLx','../v2/browserstackCLI','stringify','query','1429918AuxkiM','browser_version','product','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','_connection','2291715CYxrau','string','JYKtR','bsParams','286180WWyQXL','exports','POST','getAutomationFramework','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','chrome','connection','browserName','message','result','Error\x20in\x20setupBrowserDetails:\x20','currentSessionDetails','automate','util','720444iSIpns','Setting\x20session\x20id\x20received\x20from\x20BS\x20','348476WGgMbo','BVTCq','sessionId','bStackParams','format','Error\x20in\x20patchConnection:\x20','24tgWSCR','aHQde','function','browserstack','version','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','platform_version','ATS_WSS_URL_REGEX','apply','BLCkT','getDetails','374270rKXeuR','platform','parse','fXhJB','platformVersion','browser','FDKSd','_bstackPatched','JqGNE','onmessage','../../helpers/test-observability/utils','../../helpers/logger','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','SfDwu','AfGpg','BSTACK_ATS_URL','capabilities','params','setupBrowserDetails','getInstance','uKEAn','tAGZQ','toString','unknown_grid','HajqC','cloudProvider','tlDHl','IjOVm','includes','platformName','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','Vfkox','entries','MyZDA','3NvKzdl','bsSessionId','isRunning','../v2/state/hookState.js','url','patchConnection','fromEntries','caps','sessionError'];a62_0x4e3b=function(){return _0x466ecf;};return a62_0x4e3b();}class PuppeteerSessionDetails{static ['currentSessionDetails']=a62_0x115168;constructor(){const _0x23ea92=a62_0x3223ba,_0x51336b={};_0x51336b[_0x23ea92(0xec)]=_0x23ea92(0xc5);const _0xb90d92=_0x51336b;throw new Error(_0xb90d92[_0x23ea92(0xec)]);}static [a62_0x3223ba(0x92)]=null;static async[a62_0x3223ba(0xdd)](_0x13170a,_0x407e51){const _0x2c1876=a62_0x3223ba,_0x36eb15={'fXhJB':_0x2c1876(0xaf),'SfDwu':function(_0x5c4abd,_0x1a3a84){return _0x5c4abd===_0x1a3a84;},'Vfkox':_0x2c1876(0xc2),'IjOVm':'local_grid','JqGNE':function(_0x1dfc64,_0x967805){return _0x1dfc64(_0x967805);},'SMLZF':_0x2c1876(0xc3),'kLZsR':'turboscale','QPJmg':_0x2c1876(0xb6),'AfGpg':function(_0xb72ef6,_0x1dc724){return _0xb72ef6(_0x1dc724);},'JYKtR':function(_0x274d49){return _0x274d49();},'BVTCq':function(_0x31579b,_0x11590f){return _0x31579b(_0x11590f);}};try{let _0x1e5f42=_0x36eb15[_0x2c1876(0xce)],_0x3fd8ad=null;_0x13170a&&_0x36eb15[_0x2c1876(0xd8)](typeof _0x13170a[_0x2c1876(0xc4)],_0x36eb15[_0x2c1876(0xea)])&&(_0x3fd8ad=await _0x13170a['version']());let _0x3abff6=null,_0x2d2de6=null,_0xa0b16f=null,_0x3e3a12=_0x36eb15[_0x2c1876(0xe6)];if(_0x407e51){_0x3e3a12=_0x36eb15[_0x2c1876(0xd3)](getCloudProviderFromWsEndpoint,_0x407e51);if(_0x36eb15[_0x2c1876(0xd8)](_0x3e3a12,_0x36eb15['SMLZF']))_0xa0b16f=constants[_0x2c1876(0xc7)]?constants['ATS_WSS_URL_REGEX'][_0x2c1876(0x96)](_0x407e51)?_0x36eb15['kLZsR']:_0x36eb15['QPJmg']:_0x36eb15[_0x2c1876(0x9b)],_0x1e5f42=_0x36eb15[_0x2c1876(0xd9)](getBrowserFromWSEndpoint,_0x407e51)||_0x1e5f42,_0x3abff6=this[_0x2c1876(0xb5)][_0x2c1876(0xcc)],_0x2d2de6=this[_0x2c1876(0xb5)]['platform_version'];else{const _0x4a078a=await _0x36eb15['JYKtR'](getPlatformDetails);_0x3abff6=_0x4a078a[_0x2c1876(0xe8)],_0x2d2de6=_0x4a078a['platformVersion'];}}else{const _0x3172aa=await _0x36eb15[_0x2c1876(0xa8)](getPlatformDetails);_0x3abff6=_0x3172aa['platformName'],_0x2d2de6=_0x3172aa[_0x2c1876(0xcf)];}const _0x3eaa3a={};_0x3eaa3a['browser']=_0x1e5f42,_0x3eaa3a[_0x2c1876(0xa2)]=_0x3fd8ad,_0x3eaa3a[_0x2c1876(0xdb)]={},_0x3eaa3a[_0x2c1876(0xcc)]=_0x3abff6,_0x3eaa3a['platform_version']=_0x2d2de6,_0x3eaa3a[_0x2c1876(0xa3)]=_0xa0b16f;const _0x5663e3=_0x3eaa3a,_0x10240c={};_0x10240c[_0x2c1876(0xe4)]=_0x3e3a12,this[_0x2c1876(0xb5)]=Object['assign']({},this[_0x2c1876(0xb5)],_0x10240c,_0x5663e3);}catch(_0x357cb3){_0x36eb15[_0x2c1876(0xbb)](debug,_0x2c1876(0xb4)+util[_0x2c1876(0xbe)](_0x357cb3)),this[_0x2c1876(0x92)]=_0x357cb3['toString']();}}static[a62_0x3223ba(0x8f)](_0x53eb04){const _0x2cab52=a62_0x3223ba,_0x3d8d03={'FDKSd':function(_0x2b2970,_0x3559e3){return _0x2b2970===_0x3559e3;},'tlDHl':_0x2cab52(0xa7),'LJPGk':function(_0xf39417,_0x2fa330){return _0xf39417(_0x2fa330);},'uKEAn':function(_0x407c71,_0x44fb8b){return _0x407c71===_0x44fb8b;},'aHQde':_0x2cab52(0xd7),'sxKph':function(_0x1d1c24,_0xd4afd9){return _0x1d1c24(_0xd4afd9);}},_0x331a8e=this;try{const _0x2b9170=_0x53eb04[_0x2cab52(0xa5)]||_0x53eb04[_0x2cab52(0xb0)];if(!_0x2b9170||_0x2b9170[_0x2cab52(0xd2)])return;const _0x3fe46d=_0x2b9170[_0x2cab52(0xd4)];_0x2b9170['onmessage']=function(_0x3b3eb0){const _0x5a26d4=_0x2cab52;try{const _0x59d1cd=_0x3d8d03[_0x5a26d4(0xd1)](typeof _0x3b3eb0,_0x3d8d03[_0x5a26d4(0xe5)])?JSON[_0x5a26d4(0xcd)](_0x3b3eb0):_0x3b3eb0,_0x482f33=_0x59d1cd?.[_0x5a26d4(0xbd)]||_0x59d1cd?.[_0x5a26d4(0xa9)]||_0x59d1cd?.[_0x5a26d4(0xdc)]?.[_0x5a26d4(0xa9)]||_0x59d1cd?.[_0x5a26d4(0xdc)]?.[_0x5a26d4(0xbd)]||_0x59d1cd?.['result']?.[_0x5a26d4(0xa9)]||_0x59d1cd?.['result']?.[_0x5a26d4(0xbd)];if(_0x482f33){if(BrowserstackCLI['getInstance']()[_0x5a26d4(0xef)]()){const _0x1abec7={};_0x1abec7[_0x5a26d4(0xb2)]=_0x59d1cd,BrowserstackCLI[_0x5a26d4(0xde)]()[_0x5a26d4(0xad)]()[_0x5a26d4(0x98)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x5a26d4(0xac)],_0x1abec7);}else{const _0x94ceaa=_0x482f33[_0x5a26d4(0xbc)],_0x3ed716=_0x482f33['platformDetails'];_0x3ed716&&(_0x3d8d03[_0x5a26d4(0x95)](debug,_0x5a26d4(0xe9)+JSON[_0x5a26d4(0x9f)](_0x3ed716)),_0x331a8e[_0x5a26d4(0xb5)][_0x5a26d4(0xcc)]=_0x3ed716['platformName'],_0x331a8e[_0x5a26d4(0xb5)][_0x5a26d4(0xc6)]=_0x3ed716['platformVersion']),_0x94ceaa&&(_0x3d8d03[_0x5a26d4(0x95)](debug,_0x5a26d4(0xb9)+_0x94ceaa),_0x331a8e[_0x5a26d4(0xb5)]['bsSessionId']=_0x94ceaa);}_0x3d8d03[_0x5a26d4(0xdf)](typeof _0x3b3eb0,_0x3d8d03[_0x5a26d4(0xe5)])&&(delete _0x59d1cd[_0x5a26d4(0xbd)],delete _0x59d1cd['bsParams'],_0x59d1cd[_0x5a26d4(0xdc)]&&(delete _0x59d1cd[_0x5a26d4(0xdc)][_0x5a26d4(0xa9)],delete _0x59d1cd[_0x5a26d4(0xdc)][_0x5a26d4(0xbd)]),_0x59d1cd['result']&&(delete _0x59d1cd[_0x5a26d4(0xb3)][_0x5a26d4(0xa9)],delete _0x59d1cd[_0x5a26d4(0xb3)][_0x5a26d4(0xbd)]));}}catch(_0x5ed132){_0x3d8d03[_0x5a26d4(0x95)](debug,_0x5a26d4(0xae)+_0x5ed132[_0x5a26d4(0xb2)]);}return _0x3fe46d?.[_0x5a26d4(0xc8)](this,arguments);},_0x2b9170[_0x2cab52(0xd2)]=!![],logger[_0x2cab52(0x9a)](_0x3d8d03[_0x2cab52(0xc1)]);}catch(_0x360453){_0x3d8d03['sxKph'](debug,_0x2cab52(0xbf)+util[_0x2cab52(0xbe)](_0x360453)),_0x331a8e['sessionError']=_0x360453[_0x2cab52(0xe1)]();}}static[a62_0x3223ba(0xca)](){const _0x3f32a9=a62_0x3223ba;return this[_0x3f32a9(0xb5)];}}module[a62_0x3223ba(0xab)]=PuppeteerSessionDetails;
@@ -1 +1 @@
1
- const a63_0x37e9e2=a63_0x497e;(function(_0x7a2f23,_0x2cdf93){const _0x1f414b=a63_0x497e,_0x29e9f5=_0x7a2f23();while(!![]){try{const _0x3ddc5b=-parseInt(_0x1f414b(0x16d))/0x1+-parseInt(_0x1f414b(0x173))/0x2+-parseInt(_0x1f414b(0x180))/0x3+-parseInt(_0x1f414b(0x18f))/0x4*(parseInt(_0x1f414b(0x172))/0x5)+-parseInt(_0x1f414b(0x174))/0x6*(-parseInt(_0x1f414b(0x18d))/0x7)+-parseInt(_0x1f414b(0x190))/0x8*(-parseInt(_0x1f414b(0x18b))/0x9)+parseInt(_0x1f414b(0x17c))/0xa;if(_0x3ddc5b===_0x2cdf93)break;else _0x29e9f5['push'](_0x29e9f5['shift']());}catch(_0x5b67b5){_0x29e9f5['push'](_0x29e9f5['shift']());}}}(a63_0x1364,0xaddf5));const {isTrue,isBrowserstackInfra}=require(a63_0x37e9e2(0x181)),setKeepAlive=require(a63_0x37e9e2(0x18c)),util=require(a63_0x37e9e2(0x16e)),logger=require(a63_0x37e9e2(0x161))[a63_0x37e9e2(0x162)],{shouldProcessEventForTesthub}=require(a63_0x37e9e2(0x189)),{addRequestSpy}=require(a63_0x37e9e2(0x15d)),a63_0x50863d={};function a63_0x497e(_0x451d40,_0x133fa6){const _0x1364d0=a63_0x1364();return a63_0x497e=function(_0x497e90,_0x5377d2){_0x497e90=_0x497e90-0x15c;let _0x1dee1f=_0x1364d0[_0x497e90];return _0x1dee1f;},a63_0x497e(_0x451d40,_0x133fa6);}a63_0x50863d[a63_0x37e9e2(0x18a)]=undefined,a63_0x50863d[a63_0x37e9e2(0x160)]={},a63_0x50863d[a63_0x37e9e2(0x167)]=![],a63_0x50863d[a63_0x37e9e2(0x17f)]=null,a63_0x50863d[a63_0x37e9e2(0x166)]=![],a63_0x50863d[a63_0x37e9e2(0x160)]['id']=undefined,a63_0x50863d[a63_0x37e9e2(0x160)]['testInfo']=undefined;const workerDetails=a63_0x50863d;function a63_0x1364(){const _0x552a94=['true','isCliEnabled','puppeteer-core','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','skipSessionStatus','getPackageVersion','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','8642750fsshRV','format','../v2/cliUtils','pwPage','1838994gohcwh','../../helpers/helper','__skipSessionName','../utils/puppeteer-patcher','initializePuppeteerPatching','catch','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','../../helpers/testhub/utils','workerInfo','96606NxbBMO','../../helpers/setKeepAlive','646149qGdjQY','__skipSessionStatus','60CYtYuu','456oJzvxk','setFrameworkDetail','getInstance','../../helpers/test-observability/utils','JEST','skipSessionName','currentTest','../../helpers/logger','winstonLogger','bootstrap','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','env','isPageFixture','o11ySyncDone','debug','BROWSERSTACK_PUPPETEER','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','PUPPETEER','../utils/constants','72016ZWPDvj','util','jestConfig','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','puppeteer','125635jFlibG','1988622objVjj','84RjmDup'];a63_0x1364=function(){return _0x552a94;};return a63_0x1364();}global['__workerDetails']=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a63_0x37e9e2(0x16f)])try{isBrowserstackInfra()?(global[a63_0x37e9e2(0x182)]=isTrue(global['jestConfig']?.[a63_0x37e9e2(0x15f)]),global[a63_0x37e9e2(0x18e)]=isTrue(global['jestConfig']?.[a63_0x37e9e2(0x179)])):(global['__skipSessionName']=!![],global[a63_0x37e9e2(0x18e)]=!![]);const helper=require(a63_0x37e9e2(0x181)),puppeteerVersion=helper['getPackageVersion'](a63_0x37e9e2(0x171))||helper[a63_0x37e9e2(0x17a)](a63_0x37e9e2(0x177));if(puppeteerVersion)try{logger[a63_0x37e9e2(0x168)](a63_0x37e9e2(0x170)),puppeteerPatcher=require(a63_0x37e9e2(0x183)),puppeteerPatcher[a63_0x37e9e2(0x184)](global[a63_0x37e9e2(0x16f)]),logger['debug'](a63_0x37e9e2(0x17b));}catch(a63_0x26aada){logger[a63_0x37e9e2(0x168)](a63_0x37e9e2(0x164)+util['format'](a63_0x26aada));}if(puppeteerPatcher)try{const BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a63_0x37e9e2(0x17e)),{FRAMEWORKS}=require(a63_0x37e9e2(0x16c));BrowserstackCLI[a63_0x37e9e2(0x15c)]()[a63_0x37e9e2(0x176)]()&&(logger[a63_0x37e9e2(0x168)](a63_0x37e9e2(0x187)),process[a63_0x37e9e2(0x165)][a63_0x37e9e2(0x169)]=a63_0x37e9e2(0x175),CLIUtils[a63_0x37e9e2(0x191)](FRAMEWORKS[a63_0x37e9e2(0x15e)],FRAMEWORKS[a63_0x37e9e2(0x16b)]),BrowserstackCLI[a63_0x37e9e2(0x15c)]()[a63_0x37e9e2(0x163)]()[a63_0x37e9e2(0x185)](_0x32176d=>{const _0x5eb1cf=a63_0x37e9e2;logger[_0x5eb1cf(0x168)](_0x5eb1cf(0x16a)+util[_0x5eb1cf(0x17d)](_0x32176d));}));}catch(a63_0x4fc76d){logger[a63_0x37e9e2(0x168)](a63_0x37e9e2(0x186)+util[a63_0x37e9e2(0x17d)](a63_0x4fc76d));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a63_0x52caa2){logger[a63_0x37e9e2(0x168)](a63_0x37e9e2(0x178)+util[a63_0x37e9e2(0x17d)](a63_0x52caa2));}logger[a63_0x37e9e2(0x168)](a63_0x37e9e2(0x188));
1
+ function a63_0x36aa(_0x4ec692,_0x58583f){const _0x21ccfb=a63_0x21cc();return a63_0x36aa=function(_0x36aa93,_0x2521f5){_0x36aa93=_0x36aa93-0x64;let _0x205bab=_0x21ccfb[_0x36aa93];return _0x205bab;},a63_0x36aa(_0x4ec692,_0x58583f);}const a63_0x4e02a9=a63_0x36aa;(function(_0x5afc43,_0x37d295){const _0x47bb36=a63_0x36aa,_0x13aefc=_0x5afc43();while(!![]){try{const _0x20296c=-parseInt(_0x47bb36(0x89))/0x1+parseInt(_0x47bb36(0x6d))/0x2*(-parseInt(_0x47bb36(0x73))/0x3)+-parseInt(_0x47bb36(0x80))/0x4*(parseInt(_0x47bb36(0x82))/0x5)+-parseInt(_0x47bb36(0x76))/0x6*(parseInt(_0x47bb36(0x79))/0x7)+parseInt(_0x47bb36(0x6e))/0x8+-parseInt(_0x47bb36(0x90))/0x9+parseInt(_0x47bb36(0x92))/0xa;if(_0x20296c===_0x37d295)break;else _0x13aefc['push'](_0x13aefc['shift']());}catch(_0x5eee49){_0x13aefc['push'](_0x13aefc['shift']());}}}(a63_0x21cc,0xe73f3));const {isTrue,isBrowserstackInfra}=require(a63_0x4e02a9(0x87)),setKeepAlive=require(a63_0x4e02a9(0x8e)),util=require(a63_0x4e02a9(0x77)),logger=require(a63_0x4e02a9(0x8a))[a63_0x4e02a9(0x69)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{addRequestSpy}=require('../../helpers/test-observability/utils'),a63_0x467497={};function a63_0x21cc(){const _0x18bc06=['4108527kuLzJE','skipSessionName','65542280cBGcVx','jestConfig','env','PUPPETEER','__workerDetails','skipSessionStatus','winstonLogger','initializePuppeteerPatching','../utils/constants','bootstrap','313616DkzhIJ','463056dIoTDb','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','__skipSessionName','true','getInstance','3CcZvLF','catch','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','42jqQLBW','util','puppeteer','1705403UMcGKH','o11ySyncDone','currentTest','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','format','getPackageVersion','BROWSERSTACK_PUPPETEER','1512CUKJhv','JEST','21180BynlKM','pwPage','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','debug','testInfo','../../helpers/helper','../v2/browserstackCLI','1745001IewmIO','../../helpers/logger','isPageFixture','../v2/cliUtils','__skipSessionStatus','../../helpers/setKeepAlive','isCliEnabled'];a63_0x21cc=function(){return _0x18bc06;};return a63_0x21cc();}a63_0x467497['workerInfo']=undefined,a63_0x467497[a63_0x4e02a9(0x7b)]={},a63_0x467497[a63_0x4e02a9(0x7a)]=![],a63_0x467497[a63_0x4e02a9(0x83)]=null,a63_0x467497[a63_0x4e02a9(0x8b)]=![],a63_0x467497[a63_0x4e02a9(0x7b)]['id']=undefined,a63_0x467497[a63_0x4e02a9(0x7b)][a63_0x4e02a9(0x86)]=undefined;const workerDetails=a63_0x467497;global[a63_0x4e02a9(0x67)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global['jestConfig'])try{isBrowserstackInfra()?(global[a63_0x4e02a9(0x70)]=isTrue(global[a63_0x4e02a9(0x64)]?.[a63_0x4e02a9(0x91)]),global[a63_0x4e02a9(0x8d)]=isTrue(global[a63_0x4e02a9(0x64)]?.[a63_0x4e02a9(0x68)])):(global['__skipSessionName']=!![],global[a63_0x4e02a9(0x8d)]=!![]);const helper=require(a63_0x4e02a9(0x87)),puppeteerVersion=helper[a63_0x4e02a9(0x7e)](a63_0x4e02a9(0x78))||helper['getPackageVersion']('puppeteer-core');if(puppeteerVersion)try{logger[a63_0x4e02a9(0x85)](a63_0x4e02a9(0x7c)),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher[a63_0x4e02a9(0x6a)](global[a63_0x4e02a9(0x64)]),logger[a63_0x4e02a9(0x85)](a63_0x4e02a9(0x75));}catch(a63_0x292fae){logger[a63_0x4e02a9(0x85)]('[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20'+util[a63_0x4e02a9(0x7d)](a63_0x292fae));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a63_0x4e02a9(0x88)),CLIUtils=require(a63_0x4e02a9(0x8c)),{FRAMEWORKS}=require(a63_0x4e02a9(0x6b));BrowserstackCLI[a63_0x4e02a9(0x72)]()[a63_0x4e02a9(0x8f)]()&&(logger[a63_0x4e02a9(0x85)](a63_0x4e02a9(0x84)),process[a63_0x4e02a9(0x65)][a63_0x4e02a9(0x7f)]=a63_0x4e02a9(0x71),CLIUtils['setFrameworkDetail'](FRAMEWORKS[a63_0x4e02a9(0x81)],FRAMEWORKS[a63_0x4e02a9(0x66)]),BrowserstackCLI[a63_0x4e02a9(0x72)]()[a63_0x4e02a9(0x6c)]()[a63_0x4e02a9(0x74)](_0x157506=>{const _0x24c052=a63_0x4e02a9;logger[_0x24c052(0x85)]('[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util[_0x24c052(0x7d)](_0x157506));}));}catch(a63_0x277d58){logger[a63_0x4e02a9(0x85)]('[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[a63_0x4e02a9(0x7d)](a63_0x277d58));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a63_0x3a63b2){logger['debug']('[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20'+util[a63_0x4e02a9(0x7d)](a63_0x3a63b2));}logger['debug'](a63_0x4e02a9(0x6f));
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a64_0x3b5d80=a64_0x1646;(function(_0x241967,_0x299c14){const _0x37902d=a64_0x1646,_0x14ec64=_0x241967();while(!![]){try{const _0x3a9aa7=parseInt(_0x37902d(0xf2))/0x1+-parseInt(_0x37902d(0xc2))/0x2*(-parseInt(_0x37902d(0xc3))/0x3)+-parseInt(_0x37902d(0xc7))/0x4+parseInt(_0x37902d(0xa3))/0x5+parseInt(_0x37902d(0x10d))/0x6*(-parseInt(_0x37902d(0xcf))/0x7)+parseInt(_0x37902d(0x9c))/0x8+-parseInt(_0x37902d(0x14d))/0x9;if(_0x3a9aa7===_0x299c14)break;else _0x14ec64['push'](_0x14ec64['shift']());}catch(_0x400cfb){_0x14ec64['push'](_0x14ec64['shift']());}}}(a64_0x4728,0x9b571));function a64_0x1646(_0xd96088,_0x3a52d5){const _0x47288a=a64_0x4728();return a64_0x1646=function(_0x1646fd,_0x39c312){_0x1646fd=_0x1646fd-0x9a;let _0x456a08=_0x47288a[_0x1646fd];return _0x456a08;},a64_0x1646(_0xd96088,_0x3a52d5);}const fs=require('fs'),path=require('path'),util=require('util'),spawn=require('child_process')[a64_0x3b5d80(0x10e)],{requireModule}=require(a64_0x3b5d80(0xb0)),PerformanceTester=require(a64_0x3b5d80(0xf5)),PerformanceEvents=require(a64_0x3b5d80(0x152))[a64_0x3b5d80(0x128)],helper=require(a64_0x3b5d80(0xb0)),utilities=require(a64_0x3b5d80(0xf7)),{default:BrowserStackSetup}=require(a64_0x3b5d80(0xdb)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a64_0x3b5d80(0xce)),yargs=require('yargs'),Constants=require(a64_0x3b5d80(0xd7)),BrowserstackCLI=require(a64_0x3b5d80(0x111)),{isNewman}=require(a64_0x3b5d80(0xd9)),logger=require(a64_0x3b5d80(0xc8))[a64_0x3b5d80(0x118)],origArgs=Object['assign']([],process[a64_0x3b5d80(0x101)]),captureError=async(_0x758d62,_0x381d43,_0x3a174b,_0x6d56c8=null,_0x20fa4a=![])=>{const _0x33b2c0=a64_0x3b5d80,_0x4e4849={'AwxrB':function(_0x390252,_0x2abe46,_0x71e99,_0x4518cf){return _0x390252(_0x2abe46,_0x71e99,_0x4518cf);},'RlJKw':_0x33b2c0(0xcc),'dDSWK':function(_0x5c2bdc,_0x25df56){return _0x5c2bdc&&_0x25df56;}};let _0x3f2c5d=![];try{logger['info'](_0x33b2c0(0x113)+origArgs[_0x33b2c0(0xaf)]('\x20')),await _0x4e4849['AwxrB'](_0x758d62,_0x381d43,_0x6d56c8,_0x3a174b);}catch(_0x89c668){process[_0x33b2c0(0x12c)]=0x1,logger[_0x33b2c0(0xdd)](util['format'](_0x89c668));const _0x2f6be2={'globalException':util['format']('%j',_0x89c668)};PerformanceTester[_0x33b2c0(0x145)](PerformanceEvents[_0x33b2c0(0xcb)],![],util['format'](_0x89c668));if(helper[_0x33b2c0(0x153)](global[_0x33b2c0(0xe2)])&&helper[_0x33b2c0(0x153)](global['framework']))return;try{utilities[_0x33b2c0(0x10a)](_0x4e4849[_0x33b2c0(0x114)],_0x2f6be2,global[_0x33b2c0(0xe2)],global[_0x33b2c0(0xe8)]);}catch(_0x282b17){logger[_0x33b2c0(0x103)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x282b17[_0x33b2c0(0x122)]);}if(!_0x20fa4a)try{await BrowserstackCLI[_0x33b2c0(0x13d)]()['stop'](),_0x3f2c5d=!![];}catch(_0x52e187){logger['debug'](_0x33b2c0(0x9d)+_0x52e187[_0x33b2c0(0x122)]);}try{await helper[_0x33b2c0(0xb3)](global[_0x33b2c0(0xe2)]);}catch(_0x447019){logger[_0x33b2c0(0x103)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x447019[_0x33b2c0(0x122)]);}PerformanceTester[_0x33b2c0(0x145)](PerformanceEvents[_0x33b2c0(0xcb)],![],util[_0x33b2c0(0xd1)](_0x89c668));}finally{_0x4e4849[_0x33b2c0(0x10c)](!_0x20fa4a,!_0x3f2c5d)&&await BrowserstackCLI[_0x33b2c0(0x13d)]()[_0x33b2c0(0x135)](),PerformanceTester[_0x33b2c0(0xed)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a64_0x3b5d80(0xaf)](helper[a64_0x3b5d80(0xef)](),a64_0x3b5d80(0x109));if(fs[a64_0x3b5d80(0x156)](browserstackFolderPath)){const filePath=path[a64_0x3b5d80(0xaf)](browserstackFolderPath,a64_0x3b5d80(0xbf));fs[a64_0x3b5d80(0x156)](filePath)&&fs[a64_0x3b5d80(0x120)](filePath);}}catch(a64_0xcc127e){logger[a64_0x3b5d80(0x103)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a64_0xcc127e[a64_0x3b5d80(0xd0)]);}process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x13b)](a64_0x3b5d80(0xde))&&(!process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x13b)](a64_0x3b5d80(0xa0))&&process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x9f)](a64_0x3b5d80(0x116)),!process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x13e)](_0x4447c2=>_0x4447c2[a64_0x3b5d80(0x13b)]('--config'))&&process['argv'][a64_0x3b5d80(0x9f)](a64_0x3b5d80(0x9b)),!process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x13b)](a64_0x3b5d80(0x134))&&process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x9f)](a64_0x3b5d80(0x9e)),helper[a64_0x3b5d80(0xb5)](process[a64_0x3b5d80(0x101)],a64_0x3b5d80(0x143),a64_0x3b5d80(0x11f)));PerformanceTester['start'](PerformanceEvents[a64_0x3b5d80(0xcb)]);const a64_0x30663d={};a64_0x30663d['dot-notation']=![];const argv=yargs['parserConfiguration'](a64_0x30663d)['usage'](a64_0x3b5d80(0x12b))['alias']('v','version')[a64_0x3b5d80(0xc0)]('v')[a64_0x3b5d80(0xe0)]('h',a64_0x3b5d80(0xf1))[a64_0x3b5d80(0xf1)](a64_0x3b5d80(0xf1))[a64_0x3b5d80(0x13f)](!![],Constants[a64_0x3b5d80(0x130)][a64_0x3b5d80(0xf9)])[a64_0x3b5d80(0xd8)]('jest',Constants[a64_0x3b5d80(0x106)][a64_0x3b5d80(0x151)],function(_0x36b507){const _0x3eb3b3=a64_0x3b5d80,_0x925ee0={'HVMxY':_0x3eb3b3(0x14c),'OrfvR':function(_0x369caf,_0x52e8e1,_0x59dc53,_0x5b36f3,_0x566f4c,_0x4fbe78){return _0x369caf(_0x52e8e1,_0x59dc53,_0x5b36f3,_0x566f4c,_0x4fbe78);},'LUnyB':function(_0x13ef66,_0x194406){return _0x13ef66(_0x194406);},'IUgyh':_0x3eb3b3(0xf0)},_0x4b8812=process[_0x3eb3b3(0x101)]['slice'](0x2);helper[_0x3eb3b3(0x117)](),helper[_0x3eb3b3(0x14e)](),_0x36b507[_0x3eb3b3(0x124)](![]);const _0x35b972=new BrowserStackSetup(_0x36b507[_0x3eb3b3(0x101)],_0x925ee0[_0x3eb3b3(0x13c)]);return _0x925ee0[_0x3eb3b3(0x125)](captureError,_0x925ee0[_0x3eb3b3(0xc5)](require,_0x925ee0[_0x3eb3b3(0x11c)]),_0x36b507['argv'],_0x35b972,_0x4b8812,!![]);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0xba),Constants[a64_0x3b5d80(0xbd)][a64_0x3b5d80(0x151)],function(_0x36758c){const _0x55fee1=a64_0x3b5d80,_0x3ade23={'metRk':_0x55fee1(0xba),'UxQfc':function(_0x27037c,_0x4badc5,_0x21c11b,_0x420c05,_0x13a7e1,_0x4949f1){return _0x27037c(_0x4badc5,_0x21c11b,_0x420c05,_0x13a7e1,_0x4949f1);},'okIyj':function(_0x143e23,_0x27dd02){return _0x143e23(_0x27dd02);},'hVXEi':_0x55fee1(0xfc)},_0x5bc2b4=process['argv'][_0x55fee1(0x12e)](0x2);helper[_0x55fee1(0x117)](),helper[_0x55fee1(0x14e)](),_0x36758c['strict'](![]);const _0x10ec18=new BrowserStackSetup(_0x36758c['argv'],_0x3ade23['metRk']);return _0x3ade23[_0x55fee1(0x137)](captureError,_0x3ade23[_0x55fee1(0xda)](require,_0x3ade23[_0x55fee1(0xad)]),_0x36758c[_0x55fee1(0x101)],_0x10ec18,_0x5bc2b4,!![]);})[a64_0x3b5d80(0xd8)]('mocha',Constants['MOCHA']['INFO'],_0x1c2cf9=>{const _0xacccc7=a64_0x3b5d80,_0x5889c2={'vvSjc':function(_0x5faf07,_0x3a382c,_0x21937c,_0x35c504){return _0x5faf07(_0x3a382c,_0x21937c,_0x35c504);},'GgmZj':function(_0x457e4a,_0x46d880){return _0x457e4a(_0x46d880);},'jbbrL':_0xacccc7(0xb1),'wyyCZ':'mocha','jzOtD':_0xacccc7(0x127),'eANDj':function(_0x14142c,_0x6db7c5,_0x125840){return _0x14142c(_0x6db7c5,_0x125840);},'aGOtA':_0xacccc7(0x10b),'lfkRq':function(_0x3da07e,_0x2ab944,_0x3e058d){return _0x3da07e(_0x2ab944,_0x3e058d);},'vFLYg':_0xacccc7(0xa6),'VZHcW':function(_0x5ed887,_0x25ca19,_0x1b9efa){return _0x5ed887(_0x25ca19,_0x1b9efa);},'mqWHp':'mocha/lib/cli/cli.js','sQnLE':function(_0x4b1f28){return _0x4b1f28();}};process[_0xacccc7(0x101)]=process[_0xacccc7(0x101)]['slice'](0x1),helper[_0xacccc7(0x117)](),helper['setBrowserStackAutomationDisable']();const _0x45a66d=new BrowserStackSetup(_0x1c2cf9[_0xacccc7(0x101)],_0x5889c2[_0xacccc7(0x138)]);logger[_0xacccc7(0x103)](_0x5889c2['jzOtD']);const _0x25c41c=_0x5889c2[_0xacccc7(0xfb)](requireModule,_0x5889c2[_0xacccc7(0x140)],_0x5889c2[_0xacccc7(0x138)]),_0xcaefce=_0x5889c2[_0xacccc7(0xbe)](requireModule,_0x5889c2[_0xacccc7(0x147)],_0x5889c2[_0xacccc7(0x138)]);delete _0x25c41c['handler'],_0x25c41c[_0xacccc7(0xff)]=function(_0x5f1822){const _0x3fde77=_0xacccc7;return _0x5889c2[_0x3fde77(0xdc)](captureError,_0x5889c2[_0x3fde77(0xfa)](require,_0x5889c2[_0x3fde77(0x149)]),_0x5f1822,_0x45a66d);},_0xcaefce[_0xacccc7(0xae)]=_0x25c41c;const {main:_0x485db1}=_0x5889c2[_0xacccc7(0xc4)](requireModule,_0x5889c2['mqWHp'],_0x5889c2[_0xacccc7(0x138)]);_0x5889c2[_0xacccc7(0x154)](_0x485db1);})[a64_0x3b5d80(0xd8)]('cucumber-js',Constants[a64_0x3b5d80(0xb2)][a64_0x3b5d80(0x151)],function(_0x22e0d5){const _0x16a36a=a64_0x3b5d80,_0x7b9a9d={'KkTEY':_0x16a36a(0x11b),'zhSVq':function(_0x359d27,_0x2b29bc,_0x39dff4,_0x1f9d4b,_0x312bd5,_0x47d4fa){return _0x359d27(_0x2b29bc,_0x39dff4,_0x1f9d4b,_0x312bd5,_0x47d4fa);},'ZdSfe':function(_0x111055,_0x29b247){return _0x111055(_0x29b247);},'buPHz':'./cucumber-js/command'},_0x14aa72=process[_0x16a36a(0x101)][_0x16a36a(0x12e)](0x2),_0x21535e=new BrowserStackSetup(_0x22e0d5[_0x16a36a(0x101)],_0x7b9a9d['KkTEY']);return _0x7b9a9d[_0x16a36a(0x104)](captureError,_0x7b9a9d[_0x16a36a(0xfe)](require,_0x7b9a9d[_0x16a36a(0xe3)]),_0x22e0d5['argv'],_0x21535e,_0x14aa72,!![]);})['command'](a64_0x3b5d80(0xf4),Constants[a64_0x3b5d80(0x146)][a64_0x3b5d80(0x151)],function(_0x4adb6a){const _0x27f102=a64_0x3b5d80,_0x49f59e={'crdaq':_0x27f102(0x100),'ZMVGZ':function(_0x529567,_0x423b9e){return _0x529567(_0x423b9e);},'DbYgk':'newman','IEYDy':function(_0x261c41,_0x2e5d07,_0x1d0dd3,_0x428acd,_0x6601da){return _0x261c41(_0x2e5d07,_0x1d0dd3,_0x428acd,_0x6601da);},'GoYYr':function(_0x4e5b9a,_0x2b72b3){return _0x4e5b9a(_0x2b72b3);},'KrIRa':'./newman/command','bDDNW':function(_0x4fefb7,_0x3eb6af){return _0x4fefb7(_0x3eb6af);},'vVyrE':_0x27f102(0xb9)},_0x4ff90a=process[_0x27f102(0x101)][_0x27f102(0x12e)](0x2),_0x16fef3=new BrowserStackSetup(_0x4adb6a[_0x27f102(0x101)],_0x49f59e['crdaq']),_0x2115dc=_0x16fef3?_0x16fef3[_0x27f102(0xe2)]:null;if(_0x49f59e[_0x27f102(0xa1)](isNewman,_0x2115dc))return _0x16fef3[_0x27f102(0xe8)]=_0x49f59e['DbYgk'],global[_0x27f102(0xe8)]=_0x49f59e[_0x27f102(0x144)],_0x49f59e[_0x27f102(0x131)](captureError,_0x49f59e[_0x27f102(0x9a)](require,_0x49f59e['KrIRa']),_0x4adb6a[_0x27f102(0x101)],_0x16fef3,_0x4ff90a);return _0x49f59e[_0x27f102(0x131)](captureError,_0x49f59e[_0x27f102(0xfd)](require,_0x49f59e['vVyrE']),_0x4adb6a[_0x27f102(0x101)],_0x16fef3,_0x4ff90a);})[a64_0x3b5d80(0xd8)]('nightwatch',Constants[a64_0x3b5d80(0xc9)][a64_0x3b5d80(0x151)],function(_0x253357){const _0x43686c=a64_0x3b5d80,_0xd5a03c={'syxEc':_0x43686c(0xf8),'rrBCI':function(_0x2022d7,_0x28421d,_0x4c06c5,_0x11d004,_0x20c379){return _0x2022d7(_0x28421d,_0x4c06c5,_0x11d004,_0x20c379);},'PxArS':function(_0xba332d,_0x22a2e7){return _0xba332d(_0x22a2e7);},'EPJWs':_0x43686c(0x115)},_0x50b112=process[_0x43686c(0x101)][_0x43686c(0x12e)](0x2),_0x27938b=new BrowserStackSetup(_0x253357[_0x43686c(0x101)],_0xd5a03c[_0x43686c(0x12a)]);return _0xd5a03c[_0x43686c(0xbb)](captureError,_0xd5a03c[_0x43686c(0x119)](require,_0xd5a03c['EPJWs']),_0x253357[_0x43686c(0x101)],_0x27938b,_0x50b112);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0x123),Constants[a64_0x3b5d80(0xdf)][a64_0x3b5d80(0x151)],function(_0x3c14b6){const _0x45ea34=a64_0x3b5d80,_0x4bf2ca={'zyMrf':_0x45ea34(0x123),'OymVF':function(_0x3109b4,_0x2de7cb,_0x14387d,_0x60b568,_0xd22f0b){return _0x3109b4(_0x2de7cb,_0x14387d,_0x60b568,_0xd22f0b);},'mHFCm':function(_0x4e38fb,_0x62482a){return _0x4e38fb(_0x62482a);},'mEyUs':_0x45ea34(0x150)},_0x56ed91=process[_0x45ea34(0x101)][_0x45ea34(0x12e)](0x2),_0x2a6017=new BrowserStackSetup(_0x3c14b6[_0x45ea34(0x101)],_0x4bf2ca['zyMrf']);return _0x4bf2ca[_0x45ea34(0xca)](captureError,_0x4bf2ca['mHFCm'](require,_0x4bf2ca[_0x45ea34(0xe5)]),_0x3c14b6[_0x45ea34(0x101)],_0x2a6017,_0x56ed91);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0x121),Constants[a64_0x3b5d80(0xb8)][a64_0x3b5d80(0x151)],function(_0x1d9476){const _0x31277d=a64_0x3b5d80,_0x2df0f5={'OybEQ':_0x31277d(0x121),'XPObT':function(_0x5c2413,_0x57abe1,_0x2431a9,_0x49eb1b,_0x35735d,_0xe4c490){return _0x5c2413(_0x57abe1,_0x2431a9,_0x49eb1b,_0x35735d,_0xe4c490);},'SONSj':function(_0x47a3c3,_0x27a3c4){return _0x47a3c3(_0x27a3c4);},'OBLTX':_0x31277d(0xa5)},_0x292d2f=process[_0x31277d(0x101)][_0x31277d(0x12e)](0x2),_0x5e4e32=new BrowserStackSetup(_0x1d9476[_0x31277d(0x101)],_0x2df0f5[_0x31277d(0xd5)]);return _0x2df0f5[_0x31277d(0xe1)](captureError,_0x2df0f5[_0x31277d(0x110)](require,_0x2df0f5[_0x31277d(0x136)]),_0x1d9476[_0x31277d(0x101)],_0x5e4e32,_0x292d2f,!![]);})[a64_0x3b5d80(0xd8)]('ats',Constants[a64_0x3b5d80(0x139)]['INFO'],function(_0x10a064){const _0x59fe8f=a64_0x3b5d80,_0x20d611={'eSFbg':function(_0x45e7dd,_0x4e0ecb,_0x3847c5){return _0x45e7dd(_0x4e0ecb,_0x3847c5);},'FjjEs':function(_0x299f1a,_0x3e94c3){return _0x299f1a(_0x3e94c3);},'GfFPh':'../../ats/src/index'},_0x2d57cc=process['argv'][_0x59fe8f(0x12e)](0x2);return _0x20d611[_0x59fe8f(0x13a)](captureError,_0x20d611[_0x59fe8f(0x108)](require,_0x20d611[_0x59fe8f(0xd4)]),_0x10a064);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0x129),Constants[a64_0x3b5d80(0x148)][a64_0x3b5d80(0x151)],function(_0x4382af){const _0xf7aa76=a64_0x3b5d80,_0x2160a3={'wEeMS':function(_0x5d2a20,_0x51653f){return _0x5d2a20(_0x51653f);}};return _0x2160a3[_0xf7aa76(0xd3)](runIntegrations,_0x4382af);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0xeb),Constants[a64_0x3b5d80(0x107)][a64_0x3b5d80(0x151)],function(_0x57ae12){const _0x307446=a64_0x3b5d80,_0x2bfc8c={'gonRP':'pw:channel','FdKUP':function(_0x31883e,_0x379c8c){return _0x31883e&&_0x379c8c;},'AARoI':function(_0x15b662,_0x3038e6,_0x112ad1,_0x31e995,_0x229070,_0x5d221b){return _0x15b662(_0x3038e6,_0x112ad1,_0x31e995,_0x229070,_0x5d221b);},'ZcTuB':function(_0x32a916,_0x19301c){return _0x32a916(_0x19301c);},'lNHAS':_0x307446(0xf3)},_0x3aed73=process[_0x307446(0x101)][_0x307446(0x12e)](0x2);helper['getConfigPath'](process[_0x307446(0x101)])&&(process[_0x307446(0xe7)][_0x307446(0xa4)]=helper[_0x307446(0xe4)](process[_0x307446(0x101)]));helper['setTestObservabilityDisable'](),helper[_0x307446(0x14e)]();const _0x593115=new BrowserStackSetup(_0x57ae12[_0x307446(0x101)],FRAMEWORKS[_0x307446(0x107)]);try{if(!_0x593115[_0x307446(0xe2)]||!_0x593115[_0x307446(0xe2)][_0x307446(0x11e)]){const _0x3364eb=_0x2bfc8c[_0x307446(0xc6)],_0x2c6b32=process[_0x307446(0xe7)][_0x307446(0xd6)]||'',_0x4f635c=_0x2c6b32[_0x307446(0x142)](',')[_0x307446(0xd2)](_0x101477=>_0x101477['trim']())[_0x307446(0x10f)](Boolean),_0x12e4c2=_0x4f635c[_0x307446(0xf6)](_0x2119db=>_0x2119db===_0x307446(0xb7)||_0x2119db==='-pw:*'||_0x2119db==='-*'),_0x23726d=_0x4f635c[_0x307446(0xf6)](_0x5c7894=>_0x5c7894===_0x3364eb||_0x5c7894==='pw:*'||_0x5c7894==='*');if(_0x2bfc8c[_0x307446(0xb4)](!_0x12e4c2,!_0x23726d)){const _0x5bab24=helper[_0x307446(0x126)]();_0x5bab24&&(process['env'][_0x307446(0xd6)]=_0x2c6b32?_0x2c6b32+','+_0x3364eb:_0x3364eb,!process['env'][_0x307446(0x12d)]&&(process[_0x307446(0xe7)]['DEBUG_FILE']=_0x5bab24));}}}catch(_0x401b49){logger[_0x307446(0x103)]('pw:channel\x20auto-capture\x20seed\x20failed:\x20'+util[_0x307446(0xd1)](_0x401b49));}return _0x2bfc8c[_0x307446(0x132)](captureError,_0x2bfc8c[_0x307446(0x12f)](require,_0x2bfc8c[_0x307446(0xe6)]),_0x57ae12['argv'],_0x593115,_0x3aed73,!![]);})['command'](a64_0x3b5d80(0x155),Constants[a64_0x3b5d80(0xaa)][a64_0x3b5d80(0x151)],function(_0xdb9693){const _0x1e8bcd=a64_0x3b5d80,_0x4034d7={'qJLhv':_0x1e8bcd(0x155),'bswqx':function(_0x14d9d9,_0x186e1c,_0x6c9648,_0xfc7700,_0x3c8299,_0x50698c){return _0x14d9d9(_0x186e1c,_0x6c9648,_0xfc7700,_0x3c8299,_0x50698c);},'nLMeo':function(_0x4d058c,_0x55d0ef){return _0x4d058c(_0x55d0ef);},'Buwcg':_0x1e8bcd(0x133)},_0x12cf6b=process[_0x1e8bcd(0x101)]['slice'](0x2),_0x229832=new BrowserStackSetup(_0xdb9693['argv'],_0x4034d7[_0x1e8bcd(0xa8)]);return _0x4034d7[_0x1e8bcd(0x14b)](captureError,_0x4034d7['nLMeo'](require,_0x4034d7[_0x1e8bcd(0xee)]),_0xdb9693['argv'],_0x229832,_0x12cf6b,!![]);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0x14f),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x1c9fd2){const _0x206356=a64_0x3b5d80,_0xec4284={};_0xec4284['FWOXS']='help',_0xec4284['yQQpr']='boolean',_0xec4284[_0x206356(0xbc)]=_0x206356(0xa9);const _0x58ced0=_0xec4284;return _0x1c9fd2[_0x206356(0xf1)](![])[_0x206356(0xe9)](_0x58ced0[_0x206356(0x14a)],{'alias':'h','type':_0x58ced0[_0x206356(0xea)],'describe':_0x58ced0[_0x206356(0xbc)]})[_0x206356(0x124)](![])[_0x206356(0x141)](![]);},function(_0x3ecd9e){const _0x2bbe30=a64_0x3b5d80,_0xbb4012={'LyLaT':function(_0x34600f,_0x2d57c9,_0x20d949){return _0x34600f(_0x2d57c9,_0x20d949);},'tyCaa':function(_0x54590a,_0x2002f3){return _0x54590a(_0x2002f3);},'QAHcs':_0x2bbe30(0x105)},_0x7b1532={};return _0x7b1532[_0x2bbe30(0x101)]=_0x3ecd9e,_0xbb4012[_0x2bbe30(0xa2)](captureError,_0xbb4012[_0x2bbe30(0xa7)](require,_0xbb4012[_0x2bbe30(0xcd)]),_0x7b1532);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0xb6),Constants[a64_0x3b5d80(0x112)][a64_0x3b5d80(0x151)],function(_0x4c0b12){const _0x215b76=a64_0x3b5d80,_0x1de4b7={'qzBcf':'newman','cHNqD':function(_0x10bf84,_0x15a686,_0x31175c,_0x415a64,_0x23e671){return _0x10bf84(_0x15a686,_0x31175c,_0x415a64,_0x23e671);},'RpaOt':function(_0x5ae3f9,_0x1a455c){return _0x5ae3f9(_0x1a455c);},'dckGR':_0x215b76(0xec)},_0x330eab=process[_0x215b76(0x101)][_0x215b76(0x12e)](0x2);helper[_0x215b76(0x117)](),helper['setBrowserStackAutomationDisable'](),_0x4c0b12[_0x215b76(0x124)](![]);const _0x586514=new BrowserStackSetup(_0x4c0b12[_0x215b76(0x101)],_0x1de4b7[_0x215b76(0xac)]);return _0x1de4b7[_0x215b76(0xc1)](captureError,_0x1de4b7[_0x215b76(0x102)](require,_0x1de4b7['dckGR']),_0x4c0b12[_0x215b76(0x101)],_0x586514,_0x330eab);})[a64_0x3b5d80(0xab)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a64_0x3b5d80(0x11d)](null)[a64_0x3b5d80(0x101)];function a64_0x4728(){const _0x30a5f2=['command','./newman/helper','okIyj','../helpers/BrowserStackSetup','vvSjc','error','mocha','CODECEPTJS','alias','XPObT','config','buPHz','getConfigPath','mEyUs','lNHAS','env','framework','option','yQQpr','playwright','./newman/command','start','Buwcg','homedir','./jest/command','help','1077055MEWall','./playwright/command','node','../helpers/performance/performance-tester','some','../helpers/utilities','nightwatch','HELP','GgmZj','eANDj','./jasmine/command','bDDNW','ZdSfe','handler','vanilla','argv','RpaOt','debug','zhSVq','./load/index','JEST','PLAYWRIGHT','FjjEs','.browserstack','fireFunnelTestEvent','mocha/lib/cli/run.js','dDSWK','69576FJNEtM','spawn','filter','SONSj','./v2/browserstackCLI','NEWMAN','Running\x20SDK\x20with\x20args\x20','RlJKw','./nightwatch/command','--no-opts','setTestObservabilityDisable','winstonLogger','PxArS','ats','cucumber-js','IUgyh','wrap','disableAutoCaptureLogs','--mochaRequire','unlinkSync','detox','stack','codeceptjs','strict','OrfvR','getPwChannelLogPath','Parsing\x20command\x20line\x20arguments','EVENTS','integrations','syxEc','usage:\x20$0\x20<command>\x20[args]','exitCode','DEBUG_FILE','slice','ZcTuB','VERSION','IEYDy','AARoI','./testcafe/command','--package','stop','OBLTX','UxQfc','wyyCZ','HST','eSFbg','includes','HVMxY','getInstance','find','showHelpOnFail','aGOtA','exitProcess','split','--require','DbYgk','end','VANILLA','vFLYg','INTEGRATIONS','jbbrL','FWOXS','bswqx','jest','20761317ThyJcY','setBrowserStackAutomationDisable','load\x20[subcommand]','./codeceptjs/command','INFO','../helpers/performance/constants','isUndefined','sQnLE','testcafe','existsSync','GoYYr','--no-config','2055704bSXbBJ','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','--no-package','push','--opts','ZMVGZ','LyLaT','6024945qPGQNZ','BROWSERSTACK_CONFIG_FILE_PATH','./detox/command','mocha/lib/cli/commands.js','tyCaa','qJLhv','Show\x20help','TESTCAFE','demandCommand','qzBcf','hVXEi','run','join','../helpers/helper','./mocha/command','CUCUMBER','sendLogs','FdKUP','findAndReplace','newman','-pw:channel','DETOX','./vanilla-js/command','jasmine','rrBCI','HGOMR','JASMINE','lfkRq','.local-not-set.json','describe','cHNqD','8UajbWv','821670zaKAVZ','VZHcW','LUnyB','gonRP','2580388vmlZBS','../helpers/logger','NIGHTWATCH','OymVF','SDK_SETUP','SDKTestSuccessful','QAHcs','./integrations/command','28hBBSZu','message','format','map','wEeMS','GfFPh','OybEQ','DEBUG','./utils/constants'];a64_0x4728=function(){return _0x30a5f2;};return a64_0x4728();}!helper[a64_0x3b5d80(0x153)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a64_0x3b5d80(0x11a)&&console[a64_0x3b5d80(0xdd)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
2
+ 'use strict';const a64_0x3772a6=a64_0x125c;function a64_0xcd23(){const _0x240b34=['696uaJXtE','setBrowserStackAutomationDisable','framework','spawn','dot-notation','mKJsk','./newman/command','AahAw','gXqRM','EVENTS','command','6zLIinM','yargs','ZCJtB','unlinkSync','VANILLA','EBsjv','KWxZx','testcafe','PLAYWRIGHT','1475515mQPHoI','getConfigPath','existsSync','mocha/lib/cli/run.js','XqOGt','Zffyn','ats','mocha','config','INTEGRATIONS','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','usage:\x20$0\x20<command>\x20[args]','pNtoz','some','../helpers/BrowserStackSetup','filter','INFO','MBWxv','boolean','./utils/constants','./v2/browserstackCLI','2527sxfWcI','error','--config','includes','version','CODECEPTJS','message','NEWMAN','strict','exitCode','getInstance','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','assign','YTLim','632070crfMrE','../helpers/performance/constants','KmhxI','BROWSERSTACK_CONFIG_FILE_PATH','ZupFJ','.local-not-set.json','TGnUF','mJOio','debug','xEAWJ','--no-package','ZNtrf','end','kmnDq','describe','Runs\x20the\x20binary\x20with\x20load\x20command','DegNU','bhsDn','join','xWfma','child_process','cucumber-js','uDcfd','EeCMQ','kEToa','playwright','env','push','Show\x20help','--package','../helpers/utilities','ePWbu','winstonLogger','codeceptjs','./newman/helper','../helpers/test-observability/constants','JnkfK','--require','integrations','jasmine','fireFunnelTestEvent','TvHGq','slice','start','info','bMMqy','EGiSI','--opts','isUndefined','gXGzt','./jasmine/command','YFPRd','BMVjq','pw:*','handler','./codeceptjs/command','MOCHA','sEsdT','ZWauE','argv','SDK_SETUP','newman','alias','JASMINE','AAHWy','789788YJauRM','./load/index','rgMKq','node','split','2022688xMNGmS','--mochaRequire','setTestObservabilityDisable','getPwChannelLogPath','NIGHTWATCH','./mocha/command','-pw:channel','format','option','./testcafe/command','FTFuX','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','14888178cdHZPH','find','map','run','mocha/lib/cli/cli.js','../../ats/src/index','79596iWkAed','rNNpA','findAndReplace','pEAyN','homedir','stop','jest','demandCommand','oifPR','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','nightwatch','ZXBTd','DEBUG','detox','./nightwatch/command','usage','DEBUG_FILE','path','JEST','addMb','parserConfiguration','QzoGi','jwLDQ','CUCUMBER','Parsing\x20command\x20line\x20arguments','./detox/command','BRlCJ','--no-config','trim','./playwright/command','-pw:*','pw:channel','help','stack','auIuH','mocha/lib/cli/commands.js','sendLogs','./jest/command','.browserstack'];a64_0xcd23=function(){return _0x240b34;};return a64_0xcd23();}(function(_0x4afd38,_0x33bb10){const _0xa1a2=a64_0x125c,_0x440ce7=_0x4afd38();while(!![]){try{const _0x1e19f9=-parseInt(_0xa1a2(0x142))/0x1+-parseInt(_0xa1a2(0x1e1))/0x2*(parseInt(_0xa1a2(0x174))/0x3)+-parseInt(_0xa1a2(0x1e6))/0x4+parseInt(_0xa1a2(0x17d))/0x5+-parseInt(_0xa1a2(0x1a0))/0x6+parseInt(_0xa1a2(0x192))/0x7*(-parseInt(_0xa1a2(0x169))/0x8)+parseInt(_0xa1a2(0x13c))/0x9;if(_0x1e19f9===_0x33bb10)break;else _0x440ce7['push'](_0x440ce7['shift']());}catch(_0x475791){_0x440ce7['push'](_0x440ce7['shift']());}}}(a64_0xcd23,0x6ad21));const fs=require('fs'),path=require(a64_0x3772a6(0x153)),util=require('util'),spawn=require(a64_0x3772a6(0x1b4))[a64_0x3772a6(0x16c)],{requireModule}=require('../helpers/helper'),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a64_0x3772a6(0x1a1))[a64_0x3772a6(0x172)],helper=require('../helpers/helper'),utilities=require(a64_0x3772a6(0x1be)),{default:BrowserStackSetup}=require(a64_0x3772a6(0x18b)),{FRAMEWORKS}=require(a64_0x3772a6(0x1c3)),runIntegrations=require('./integrations/command'),yargs=require(a64_0x3772a6(0x175)),Constants=require(a64_0x3772a6(0x190)),BrowserstackCLI=require(a64_0x3772a6(0x191)),{isNewman}=require(a64_0x3772a6(0x1c2)),logger=require('../helpers/logger')[a64_0x3772a6(0x1c0)],origArgs=Object[a64_0x3772a6(0x19e)]([],process[a64_0x3772a6(0x1db)]),captureError=async(_0x4db866,_0x4c9785,_0x58bc0f,_0x266990=null,_0x5d30b5=![])=>{const _0x45b1d3=a64_0x3772a6,_0x548e60={'ycupR':function(_0x4f15cd,_0x2708f7,_0x3674b7,_0x26a2eb){return _0x4f15cd(_0x2708f7,_0x3674b7,_0x26a2eb);},'AAHWy':'SDKTestSuccessful','lRYYV':function(_0x266df5,_0x198b8e){return _0x266df5&&_0x198b8e;}};let _0x1ca32d=![];try{logger[_0x45b1d3(0x1cc)]('Running\x20SDK\x20with\x20args\x20'+origArgs['join']('\x20')),await _0x548e60['ycupR'](_0x4db866,_0x4c9785,_0x266990,_0x58bc0f);}catch(_0x5c9276){process[_0x45b1d3(0x19b)]=0x1,logger[_0x45b1d3(0x193)](util['format'](_0x5c9276));const _0x4f9166={'globalException':util[_0x45b1d3(0x1ed)]('%j',_0x5c9276)};PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x5c9276));if(helper[_0x45b1d3(0x1d0)](global['config'])&&helper['isUndefined'](global[_0x45b1d3(0x16b)]))return;try{utilities[_0x45b1d3(0x1c8)](_0x548e60[_0x45b1d3(0x1e0)],_0x4f9166,global[_0x45b1d3(0x185)],global['framework']);}catch(_0xb97ba7){logger[_0x45b1d3(0x1a8)](_0x45b1d3(0x14b)+_0xb97ba7[_0x45b1d3(0x163)]);}if(!_0x5d30b5)try{await BrowserstackCLI['getInstance']()[_0x45b1d3(0x147)](),_0x1ca32d=!![];}catch(_0x2e38d7){logger[_0x45b1d3(0x1a8)]('Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20'+_0x2e38d7['stack']);}try{await helper[_0x45b1d3(0x166)](global[_0x45b1d3(0x185)]);}catch(_0x244bdf){logger['debug']('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x244bdf['stack']);}PerformanceTester[_0x45b1d3(0x1ac)](PerformanceEvents['SDK_SETUP'],![],util[_0x45b1d3(0x1ed)](_0x5c9276));}finally{_0x548e60['lRYYV'](!_0x5d30b5,!_0x1ca32d)&&await BrowserstackCLI[_0x45b1d3(0x19c)]()[_0x45b1d3(0x147)](),PerformanceTester[_0x45b1d3(0x1cb)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path['join'](helper[a64_0x3772a6(0x146)](),a64_0x3772a6(0x168));if(fs[a64_0x3772a6(0x17f)](browserstackFolderPath)){const filePath=path[a64_0x3772a6(0x1b2)](browserstackFolderPath,a64_0x3772a6(0x1a5));fs['existsSync'](filePath)&&fs[a64_0x3772a6(0x177)](filePath);}}catch(a64_0xf10fd1){logger['debug'](a64_0x3772a6(0x187)+a64_0xf10fd1[a64_0x3772a6(0x198)]);}process[a64_0x3772a6(0x1db)]['includes'](a64_0x3772a6(0x184))&&(!process[a64_0x3772a6(0x1db)]['includes'](a64_0x3772a6(0x1cf))&&process[a64_0x3772a6(0x1db)][a64_0x3772a6(0x1bb)]('--no-opts'),!process['argv'][a64_0x3772a6(0x13d)](_0xe1745e=>_0xe1745e[a64_0x3772a6(0x195)](a64_0x3772a6(0x194)))&&process['argv'][a64_0x3772a6(0x1bb)](a64_0x3772a6(0x15d)),!process['argv'][a64_0x3772a6(0x195)](a64_0x3772a6(0x1bd))&&process[a64_0x3772a6(0x1db)][a64_0x3772a6(0x1bb)](a64_0x3772a6(0x1aa)),helper[a64_0x3772a6(0x144)](process[a64_0x3772a6(0x1db)],a64_0x3772a6(0x1c5),a64_0x3772a6(0x1e7)));PerformanceTester['start'](PerformanceEvents[a64_0x3772a6(0x1dc)]);function a64_0x125c(_0x1ab130,_0x169279){const _0xcd2358=a64_0xcd23();return a64_0x125c=function(_0x125c05,_0x452949){_0x125c05=_0x125c05-0x139;let _0x1905f2=_0xcd2358[_0x125c05];return _0x1905f2;},a64_0x125c(_0x1ab130,_0x169279);}const a64_0x120fe6={};a64_0x120fe6[a64_0x3772a6(0x16d)]=![];const argv=yargs[a64_0x3772a6(0x156)](a64_0x120fe6)[a64_0x3772a6(0x151)](a64_0x3772a6(0x188))[a64_0x3772a6(0x1de)]('v',a64_0x3772a6(0x196))[a64_0x3772a6(0x1ae)]('v')[a64_0x3772a6(0x1de)]('h','help')[a64_0x3772a6(0x162)]('help')['showHelpOnFail'](!![],Constants['VERSION']['HELP'])['command'](a64_0x3772a6(0x148),Constants[a64_0x3772a6(0x154)][a64_0x3772a6(0x18d)],function(_0x5effa7){const _0x441650=a64_0x3772a6,_0x29c9c4={'BMVjq':_0x441650(0x148),'YuZog':function(_0x165ff0,_0x2ecb72,_0x144fd2,_0x58d3f7,_0xdeeabe,_0x58d722){return _0x165ff0(_0x2ecb72,_0x144fd2,_0x58d3f7,_0xdeeabe,_0x58d722);},'rNNpA':function(_0x5563e0,_0x3b5be9){return _0x5563e0(_0x3b5be9);},'EeCMQ':_0x441650(0x167)},_0x4087c0=process[_0x441650(0x1db)][_0x441650(0x1ca)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable'](),_0x5effa7[_0x441650(0x19a)](![]);const _0x7123ab=new BrowserStackSetup(_0x5effa7[_0x441650(0x1db)],_0x29c9c4[_0x441650(0x1d4)]);return _0x29c9c4['YuZog'](captureError,_0x29c9c4[_0x441650(0x143)](require,_0x29c9c4[_0x441650(0x1b7)]),_0x5effa7[_0x441650(0x1db)],_0x7123ab,_0x4087c0,!![]);})[a64_0x3772a6(0x173)]('jasmine',Constants[a64_0x3772a6(0x1df)][a64_0x3772a6(0x18d)],function(_0x16f9db){const _0x58c4b6=a64_0x3772a6,_0x3622e6={'mKJsk':_0x58c4b6(0x1c7),'KmhxI':function(_0x84bf77,_0x18ecb4,_0x4a9914,_0xad7523,_0x5f3ddc,_0x77e9d){return _0x84bf77(_0x18ecb4,_0x4a9914,_0xad7523,_0x5f3ddc,_0x77e9d);},'nqksU':function(_0x1f12a9,_0x1cf75c){return _0x1f12a9(_0x1cf75c);},'EBsjv':_0x58c4b6(0x1d2)},_0x4e4699=process[_0x58c4b6(0x1db)][_0x58c4b6(0x1ca)](0x2);helper[_0x58c4b6(0x1e8)](),helper['setBrowserStackAutomationDisable'](),_0x16f9db[_0x58c4b6(0x19a)](![]);const _0xf0c0be=new BrowserStackSetup(_0x16f9db[_0x58c4b6(0x1db)],_0x3622e6[_0x58c4b6(0x16e)]);return _0x3622e6[_0x58c4b6(0x1a2)](captureError,_0x3622e6['nqksU'](require,_0x3622e6[_0x58c4b6(0x179)]),_0x16f9db[_0x58c4b6(0x1db)],_0xf0c0be,_0x4e4699,!![]);})[a64_0x3772a6(0x173)](a64_0x3772a6(0x184),Constants[a64_0x3772a6(0x1d8)][a64_0x3772a6(0x18d)],_0x51de26=>{const _0x43d2cb=a64_0x3772a6,_0x2d4293={'Pxqma':function(_0x4b79f3,_0x1f58bb,_0x45a885,_0x298c0b){return _0x4b79f3(_0x1f58bb,_0x45a885,_0x298c0b);},'EGiSI':function(_0x289a06,_0x7294b5){return _0x289a06(_0x7294b5);},'BRlCJ':_0x43d2cb(0x1eb),'rgMKq':_0x43d2cb(0x184),'YHqFs':_0x43d2cb(0x15a),'ePWbu':function(_0x543d5d,_0xba6434,_0x232345){return _0x543d5d(_0xba6434,_0x232345);},'sEsdT':_0x43d2cb(0x180),'ZNtrf':function(_0x3126,_0x5b8404,_0x27460a){return _0x3126(_0x5b8404,_0x27460a);},'oifPR':_0x43d2cb(0x165),'UbRcw':_0x43d2cb(0x140),'mJOio':function(_0x9a91b4){return _0x9a91b4();}};process[_0x43d2cb(0x1db)]=process[_0x43d2cb(0x1db)][_0x43d2cb(0x1ca)](0x1),helper[_0x43d2cb(0x1e8)](),helper['setBrowserStackAutomationDisable']();const _0x41eb7f=new BrowserStackSetup(_0x51de26[_0x43d2cb(0x1db)],_0x2d4293['rgMKq']);logger[_0x43d2cb(0x1a8)](_0x2d4293['YHqFs']);const _0x5de387=_0x2d4293[_0x43d2cb(0x1bf)](requireModule,_0x2d4293[_0x43d2cb(0x1d9)],_0x2d4293[_0x43d2cb(0x1e3)]),_0x2f7af1=_0x2d4293[_0x43d2cb(0x1ab)](requireModule,_0x2d4293[_0x43d2cb(0x14a)],_0x2d4293[_0x43d2cb(0x1e3)]);delete _0x5de387[_0x43d2cb(0x1d6)],_0x5de387[_0x43d2cb(0x1d6)]=function(_0x1190e7){const _0x189d92=_0x43d2cb;return _0x2d4293['Pxqma'](captureError,_0x2d4293[_0x189d92(0x1ce)](require,_0x2d4293[_0x189d92(0x15c)]),_0x1190e7,_0x41eb7f);},_0x2f7af1[_0x43d2cb(0x13f)]=_0x5de387;const {main:_0x3818d6}=_0x2d4293[_0x43d2cb(0x1ab)](requireModule,_0x2d4293['UbRcw'],_0x2d4293[_0x43d2cb(0x1e3)]);_0x2d4293[_0x43d2cb(0x1a7)](_0x3818d6);})['command'](a64_0x3772a6(0x1b5),Constants[a64_0x3772a6(0x159)][a64_0x3772a6(0x18d)],function(_0x255999){const _0x4981b4=a64_0x3772a6,_0x59a6b2={'MBWxv':_0x4981b4(0x1b5),'KWxZx':function(_0x5e69bb,_0x39f351,_0x3f3ab2,_0x5b8890,_0x59330e,_0x5a7b89){return _0x5e69bb(_0x39f351,_0x3f3ab2,_0x5b8890,_0x59330e,_0x5a7b89);},'gbtGM':function(_0x1038d3,_0x2da9ca){return _0x1038d3(_0x2da9ca);},'auIuH':'./cucumber-js/command'},_0x8c21f0=process['argv'][_0x4981b4(0x1ca)](0x2),_0x3d705b=new BrowserStackSetup(_0x255999[_0x4981b4(0x1db)],_0x59a6b2[_0x4981b4(0x18e)]);return _0x59a6b2[_0x4981b4(0x17a)](captureError,_0x59a6b2['gbtGM'](require,_0x59a6b2[_0x4981b4(0x164)]),_0x255999[_0x4981b4(0x1db)],_0x3d705b,_0x8c21f0,!![]);})[a64_0x3772a6(0x173)](a64_0x3772a6(0x1e4),Constants[a64_0x3772a6(0x178)][a64_0x3772a6(0x18d)],function(_0x576d80){const _0x18a6bd=a64_0x3772a6,_0x328199={'AahAw':'vanilla','xWfma':function(_0x41ace5,_0x4bdf26){return _0x41ace5(_0x4bdf26);},'YTLim':'newman','bMMqy':function(_0x42fdb7,_0x3afb17,_0x54dd54,_0x11c0a5,_0x4fe5ce){return _0x42fdb7(_0x3afb17,_0x54dd54,_0x11c0a5,_0x4fe5ce);},'Cizfd':_0x18a6bd(0x16f),'Zffyn':function(_0x1a3b2f,_0x361efc,_0x3329a8,_0x3bdd79,_0x471bea){return _0x1a3b2f(_0x361efc,_0x3329a8,_0x3bdd79,_0x471bea);},'NUUae':'./vanilla-js/command'},_0x51a5b7=process['argv'][_0x18a6bd(0x1ca)](0x2),_0x31446d=new BrowserStackSetup(_0x576d80[_0x18a6bd(0x1db)],_0x328199[_0x18a6bd(0x170)]),_0x11e6ce=_0x31446d?_0x31446d['config']:null;if(_0x328199[_0x18a6bd(0x1b3)](isNewman,_0x11e6ce))return _0x31446d[_0x18a6bd(0x16b)]=_0x328199[_0x18a6bd(0x19f)],global[_0x18a6bd(0x16b)]=_0x328199[_0x18a6bd(0x19f)],_0x328199[_0x18a6bd(0x1cd)](captureError,_0x328199[_0x18a6bd(0x1b3)](require,_0x328199['Cizfd']),_0x576d80[_0x18a6bd(0x1db)],_0x31446d,_0x51a5b7);return _0x328199[_0x18a6bd(0x182)](captureError,_0x328199[_0x18a6bd(0x1b3)](require,_0x328199['NUUae']),_0x576d80[_0x18a6bd(0x1db)],_0x31446d,_0x51a5b7);})[a64_0x3772a6(0x173)](a64_0x3772a6(0x14c),Constants[a64_0x3772a6(0x1ea)][a64_0x3772a6(0x18d)],function(_0x49407c){const _0x40eead=a64_0x3772a6,_0x248b64={'pNtoz':_0x40eead(0x14c),'UHOXs':function(_0x3a9618,_0x484f13,_0x2f0c27,_0x42e374,_0x1891b9){return _0x3a9618(_0x484f13,_0x2f0c27,_0x42e374,_0x1891b9);},'nSlkn':function(_0x56d485,_0x41f767){return _0x56d485(_0x41f767);},'ZXBTd':_0x40eead(0x150)},_0x4c71c3=process[_0x40eead(0x1db)]['slice'](0x2),_0x1fd829=new BrowserStackSetup(_0x49407c['argv'],_0x248b64[_0x40eead(0x189)]);return _0x248b64['UHOXs'](captureError,_0x248b64['nSlkn'](require,_0x248b64[_0x40eead(0x14d)]),_0x49407c[_0x40eead(0x1db)],_0x1fd829,_0x4c71c3);})[a64_0x3772a6(0x173)](a64_0x3772a6(0x1c1),Constants[a64_0x3772a6(0x197)][a64_0x3772a6(0x18d)],function(_0x4e27a4){const _0x32aac3=a64_0x3772a6,_0x36a896={'XqOGt':_0x32aac3(0x1c1),'DegNU':function(_0x548e24,_0x3e2a54,_0x18164c,_0x3345e6,_0x29d4e6){return _0x548e24(_0x3e2a54,_0x18164c,_0x3345e6,_0x29d4e6);},'YFPRd':function(_0x203160,_0x310245){return _0x203160(_0x310245);},'jFuua':_0x32aac3(0x1d7)},_0x22dfa3=process[_0x32aac3(0x1db)]['slice'](0x2),_0x4470e2=new BrowserStackSetup(_0x4e27a4[_0x32aac3(0x1db)],_0x36a896[_0x32aac3(0x181)]);return _0x36a896[_0x32aac3(0x1b0)](captureError,_0x36a896[_0x32aac3(0x1d3)](require,_0x36a896['jFuua']),_0x4e27a4[_0x32aac3(0x1db)],_0x4470e2,_0x22dfa3);})['command'](a64_0x3772a6(0x14f),Constants['DETOX']['INFO'],function(_0x20b955){const _0x5ed995=a64_0x3772a6,_0x456ff9={'kEToa':_0x5ed995(0x14f),'UfZVx':function(_0x67b952,_0xccaaab,_0xe13786,_0x485130,_0x40189a,_0x51b707){return _0x67b952(_0xccaaab,_0xe13786,_0x485130,_0x40189a,_0x51b707);},'TGnUF':function(_0x485f5d,_0x4e53f9){return _0x485f5d(_0x4e53f9);},'JnkfK':_0x5ed995(0x15b)},_0x12c31d=process[_0x5ed995(0x1db)]['slice'](0x2),_0x48d9a4=new BrowserStackSetup(_0x20b955[_0x5ed995(0x1db)],_0x456ff9[_0x5ed995(0x1b8)]);return _0x456ff9['UfZVx'](captureError,_0x456ff9[_0x5ed995(0x1a6)](require,_0x456ff9[_0x5ed995(0x1c4)]),_0x20b955['argv'],_0x48d9a4,_0x12c31d,!![]);})[a64_0x3772a6(0x173)](a64_0x3772a6(0x183),Constants['HST'][a64_0x3772a6(0x18d)],function(_0x65e22a){const _0x166876=a64_0x3772a6,_0x201c1a={'bhsDn':function(_0x2d0aa8,_0x558b3c,_0x2dda26){return _0x2d0aa8(_0x558b3c,_0x2dda26);},'xEAWJ':function(_0x39410a,_0x1cc639){return _0x39410a(_0x1cc639);},'NYtDa':_0x166876(0x141)},_0x467347=process['argv'][_0x166876(0x1ca)](0x2);return _0x201c1a[_0x166876(0x1b1)](captureError,_0x201c1a[_0x166876(0x1a9)](require,_0x201c1a['NYtDa']),_0x65e22a);})['command'](a64_0x3772a6(0x1c6),Constants[a64_0x3772a6(0x186)][a64_0x3772a6(0x18d)],function(_0x162b71){const _0x211d1c=a64_0x3772a6,_0x3b9f27={'gXGzt':function(_0x31e444,_0x95cd6){return _0x31e444(_0x95cd6);}};return _0x3b9f27[_0x211d1c(0x1d1)](runIntegrations,_0x162b71);})[a64_0x3772a6(0x173)](a64_0x3772a6(0x1b9),Constants[a64_0x3772a6(0x17c)][a64_0x3772a6(0x18d)],function(_0x2289f7){const _0x46dd1e=a64_0x3772a6,_0x3f4a7c={'gXqRM':_0x46dd1e(0x161),'FTFuX':function(_0x1cd7b7,_0x31fe30){return _0x1cd7b7&&_0x31fe30;},'BzVSn':function(_0x2adef7,_0x420e0d,_0x3f863f,_0x524b49,_0x51ab18,_0x2960e8){return _0x2adef7(_0x420e0d,_0x3f863f,_0x524b49,_0x51ab18,_0x2960e8);},'guFSk':function(_0x3eeca6,_0x329f23){return _0x3eeca6(_0x329f23);},'arBKC':_0x46dd1e(0x15f)},_0x19f064=process[_0x46dd1e(0x1db)]['slice'](0x2);helper[_0x46dd1e(0x17e)](process['argv'])&&(process[_0x46dd1e(0x1ba)][_0x46dd1e(0x1a3)]=helper[_0x46dd1e(0x17e)](process['argv']));helper['setTestObservabilityDisable'](),helper[_0x46dd1e(0x16a)]();const _0x4ca6dc=new BrowserStackSetup(_0x2289f7[_0x46dd1e(0x1db)],FRAMEWORKS[_0x46dd1e(0x17c)]);try{if(!_0x4ca6dc[_0x46dd1e(0x185)]||!_0x4ca6dc[_0x46dd1e(0x185)]['disableAutoCaptureLogs']){const _0x546cff=_0x3f4a7c[_0x46dd1e(0x171)],_0x3445ef=process[_0x46dd1e(0x1ba)]['DEBUG']||'',_0x140645=_0x3445ef[_0x46dd1e(0x1e5)](',')[_0x46dd1e(0x13e)](_0x196945=>_0x196945[_0x46dd1e(0x15e)]())[_0x46dd1e(0x18c)](Boolean),_0x3cee10=_0x140645[_0x46dd1e(0x18a)](_0x11602a=>_0x11602a===_0x46dd1e(0x1ec)||_0x11602a===_0x46dd1e(0x160)||_0x11602a==='-*'),_0x3365c4=_0x140645[_0x46dd1e(0x18a)](_0x2c3e63=>_0x2c3e63===_0x546cff||_0x2c3e63===_0x46dd1e(0x1d5)||_0x2c3e63==='*');if(_0x3f4a7c[_0x46dd1e(0x13a)](!_0x3cee10,!_0x3365c4)){const _0xc86f9e=helper[_0x46dd1e(0x1e9)]();_0xc86f9e&&(process[_0x46dd1e(0x1ba)][_0x46dd1e(0x14e)]=_0x3445ef?_0x3445ef+','+_0x546cff:_0x546cff,!process[_0x46dd1e(0x1ba)][_0x46dd1e(0x152)]&&(process[_0x46dd1e(0x1ba)][_0x46dd1e(0x152)]=_0xc86f9e));}}}catch(_0x142e40){logger[_0x46dd1e(0x1a8)]('pw:channel\x20auto-capture\x20seed\x20failed:\x20'+util[_0x46dd1e(0x1ed)](_0x142e40));}return _0x3f4a7c['BzVSn'](captureError,_0x3f4a7c['guFSk'](require,_0x3f4a7c['arBKC']),_0x2289f7[_0x46dd1e(0x1db)],_0x4ca6dc,_0x19f064,!![]);})[a64_0x3772a6(0x173)](a64_0x3772a6(0x17b),Constants['TESTCAFE'][a64_0x3772a6(0x18d)],function(_0x3b189d){const _0x453886=a64_0x3772a6,_0x259af5={'fTsyq':_0x453886(0x17b),'QzoGi':function(_0x5d2d68,_0x212669,_0x59bf04,_0xa0b2ba,_0x41eed6,_0x2c27aa){return _0x5d2d68(_0x212669,_0x59bf04,_0xa0b2ba,_0x41eed6,_0x2c27aa);},'kmnDq':function(_0x3733a9,_0x191f41){return _0x3733a9(_0x191f41);},'pEAyN':_0x453886(0x139)},_0x4e1630=process[_0x453886(0x1db)][_0x453886(0x1ca)](0x2),_0x2f17dd=new BrowserStackSetup(_0x3b189d[_0x453886(0x1db)],_0x259af5['fTsyq']);return _0x259af5[_0x453886(0x157)](captureError,_0x259af5[_0x453886(0x1ad)](require,_0x259af5[_0x453886(0x145)]),_0x3b189d[_0x453886(0x1db)],_0x2f17dd,_0x4e1630,!![]);})[a64_0x3772a6(0x173)]('load\x20[subcommand]',a64_0x3772a6(0x1af),function(_0x4df69f){const _0x35d626=a64_0x3772a6,_0x19c9de={};_0x19c9de[_0x35d626(0x1a4)]=_0x35d626(0x162),_0x19c9de[_0x35d626(0x1b6)]=_0x35d626(0x18f),_0x19c9de[_0x35d626(0x1c9)]=_0x35d626(0x1bc);const _0x26eb6b=_0x19c9de;return _0x4df69f[_0x35d626(0x162)](![])[_0x35d626(0x1ee)](_0x26eb6b[_0x35d626(0x1a4)],{'alias':'h','type':_0x26eb6b[_0x35d626(0x1b6)],'describe':_0x26eb6b[_0x35d626(0x1c9)]})[_0x35d626(0x19a)](![])['exitProcess'](![]);},function(_0x55bafe){const _0x59e5e0=a64_0x3772a6,_0x3228e5={'ZCJtB':function(_0x555bf5,_0x3612c6,_0x3085de){return _0x555bf5(_0x3612c6,_0x3085de);},'pyjrl':function(_0x166c46,_0x3f0669){return _0x166c46(_0x3f0669);},'oTMHb':_0x59e5e0(0x1e2)},_0x2837a8={};return _0x2837a8[_0x59e5e0(0x1db)]=_0x55bafe,_0x3228e5[_0x59e5e0(0x176)](captureError,_0x3228e5['pyjrl'](require,_0x3228e5['oTMHb']),_0x2837a8);})[a64_0x3772a6(0x173)](a64_0x3772a6(0x1dd),Constants[a64_0x3772a6(0x199)][a64_0x3772a6(0x18d)],function(_0x3e9050){const _0x509ae3=a64_0x3772a6,_0x5b72e4={'ZWauE':_0x509ae3(0x1dd),'jwLDQ':function(_0x4c4094,_0x3e9a99,_0x216e1a,_0x227e8b,_0x4c010e){return _0x4c4094(_0x3e9a99,_0x216e1a,_0x227e8b,_0x4c010e);},'zfKUR':function(_0x3268a4,_0xd23f30){return _0x3268a4(_0xd23f30);},'addMb':_0x509ae3(0x16f)},_0x23a5f7=process['argv']['slice'](0x2);helper[_0x509ae3(0x1e8)](),helper[_0x509ae3(0x16a)](),_0x3e9050[_0x509ae3(0x19a)](![]);const _0x302c36=new BrowserStackSetup(_0x3e9050['argv'],_0x5b72e4[_0x509ae3(0x1da)]);return _0x5b72e4[_0x509ae3(0x158)](captureError,_0x5b72e4['zfKUR'](require,_0x5b72e4[_0x509ae3(0x155)]),_0x3e9050[_0x509ae3(0x1db)],_0x302c36,_0x23a5f7);})[a64_0x3772a6(0x149)](0x1,a64_0x3772a6(0x19d))['wrap'](null)['argv'];!helper[a64_0x3772a6(0x1d0)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a64_0x3772a6(0x183)&&console[a64_0x3772a6(0x193)](a64_0x3772a6(0x13b));