browserstack-node-sdk 1.54.2 → 1.55.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +3 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +2 -0
  79. package/src/bin/newman/helper.js +1 -0
  80. package/src/bin/newman/reporter/index.js +1 -0
  81. package/src/bin/newman/scriptRunner.js +2 -0
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -0
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/test-observability/constants.js +1 -1
  180. package/src/helpers/test-observability/error-handler.js +1 -1
  181. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  182. package/src/helpers/test-observability/sessionHandler.js +1 -1
  183. package/src/helpers/test-observability/utils.js +1 -1
  184. package/src/helpers/test-orchestration/constants.js +1 -1
  185. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  186. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  187. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  188. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  189. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  190. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  191. package/src/helpers/testhub/constants.js +1 -1
  192. package/src/helpers/testhub/testhubHandler.js +1 -1
  193. package/src/helpers/testhub/utils.js +1 -1
  194. package/src/helpers/timeoutPromise.js +1 -1
  195. package/src/helpers/utilities.js +1 -1
  196. package/src/helpers/w3cMapping.js +1 -1
  197. package/src/hubAllocationMethods.js +1 -1
  198. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a36_0x45dc2d=a36_0x1f14;(function(_0x4df1ea,_0x479663){const _0x37caf0=a36_0x1f14,_0x86bf36=_0x4df1ea();while(!![]){try{const _0x41d361=parseInt(_0x37caf0(0xaf))/0x1+parseInt(_0x37caf0(0xe3))/0x2*(parseInt(_0x37caf0(0x11d))/0x3)+parseInt(_0x37caf0(0xe9))/0x4*(parseInt(_0x37caf0(0xc6))/0x5)+-parseInt(_0x37caf0(0x136))/0x6*(parseInt(_0x37caf0(0xd7))/0x7)+parseInt(_0x37caf0(0x114))/0x8+parseInt(_0x37caf0(0xe5))/0x9+-parseInt(_0x37caf0(0xd3))/0xa*(parseInt(_0x37caf0(0x10d))/0xb);if(_0x41d361===_0x479663)break;else _0x86bf36['push'](_0x86bf36['shift']());}catch(_0x2793a7){_0x86bf36['push'](_0x86bf36['shift']());}}}(a36_0x3dbf,0x291b4));function a36_0x1f14(_0x504123,_0x40d52f){const _0x3dbf39=a36_0x3dbf();return a36_0x1f14=function(_0x1f1459,_0x22859a){_0x1f1459=_0x1f1459-0x7e;let _0x355174=_0x3dbf39[_0x1f1459];return _0x355174;},a36_0x1f14(_0x504123,_0x40d52f);}const util=require(a36_0x45dc2d(0xf8)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x45dc2d(0xdf)),accessibilityRetryHelper=require(a36_0x45dc2d(0xcb)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a36_0x45dc2d(0xb4)),{sendPlatformDetails}=require(a36_0x45dc2d(0xc4)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x45dc2d(0x132)),PerformanceTester=require(a36_0x45dc2d(0xde)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a36_0x45dc2d(0xcf)),logger=require(a36_0x45dc2d(0xa2))[a36_0x45dc2d(0xb2)],{shouldProcessEventForTesthub}=require(a36_0x45dc2d(0xfb)),testHubConstants=require('../../helpers/testhub/constants');exports['mochaHooks']={'beforeAll'(){const _0x3b6470=a36_0x45dc2d,_0x4a1301={'rYBZH':function(_0x4ea492,_0x33b76d,_0x5e8d58,_0x17e074){return _0x4ea492(_0x33b76d,_0x5e8d58,_0x17e074);},'pRlFM':_0x3b6470(0x10a),'Cmfet':_0x3b6470(0x90),'YQgVY':function(_0x42309f,_0x2f8d00,_0x59a161){return _0x42309f(_0x2f8d00,_0x59a161);},'kuIBk':'passed','eXmFB':function(_0x40f87c){return _0x40f87c();},'puhlM':function(_0x31566f,_0x69432e,_0x70c4d4){return _0x31566f(_0x69432e,_0x70c4d4);},'cudZA':_0x3b6470(0xb1),'mxbDd':_0x3b6470(0x111)};PerformanceTester[_0x3b6470(0x10f)]();const _0x4c4fef='browserstack internal helper hook';PerformanceTester[_0x3b6470(0x11f)](PerformanceSdkEvents[_0x3b6470(0x12b)],()=>{const _0x2dd78c=_0x3b6470,_0x2ad8b3={'VhMCQ':function(_0x49ba2f,_0x492f42,_0x1b683c,_0x31c85a){return _0x4a1301['rYBZH'](_0x49ba2f,_0x492f42,_0x1b683c,_0x31c85a);},'JvGCD':_0x4a1301[_0x2dd78c(0xe2)],'tnjGC':_0x4a1301['Cmfet'],'YjTfw':function(_0x21b0d3,_0x59a9d6,_0x3144b1){const _0xa00589=_0x2dd78c;return _0x4a1301[_0xa00589(0x126)](_0x21b0d3,_0x59a9d6,_0x3144b1);},'DQAIn':_0x4a1301[_0x2dd78c(0x123)],'HAnto':function(_0x23d643){return _0x4a1301['eXmFB'](_0x23d643);}};global[_0x2dd78c(0x102)]=[],global['__sessionFailed']=![],global[_0x2dd78c(0xe6)]=async()=>{const _0x2673bf=_0x2dd78c;let _0x9944d1=![];try{await global[_0x2673bf(0xa9)][0x0][_0x2673bf(0x100)],_0x9944d1=!![],global[_0x2673bf(0xa0)]?await _0x2ad8b3[_0x2673bf(0x104)](markSessionStatus,global[_0x2673bf(0xa9)][0x0],_0x2ad8b3[_0x2673bf(0xea)],global[_0x2673bf(0x102)][_0x2673bf(0x80)](_0x2ad8b3['tnjGC'])):await _0x2ad8b3[_0x2673bf(0x12d)](markSessionStatus,global[_0x2673bf(0xa9)][0x0],_0x2ad8b3[_0x2673bf(0x121)]);}catch(_0x2df302){logger[_0x2673bf(0xe1)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x2df302);}global[_0x2673bf(0x102)]=[],global[_0x2673bf(0xa0)]=![];if(_0x9944d1)try{try{_0x2ad8b3['HAnto'](shouldProcessEventForTesthub)&&(global[_0x2673bf(0xa9)][0x0]&&await _0x2ad8b3['YjTfw'](sendPlatformDetails,global[_0x2673bf(0xa9)][0x0],this[_0x2673bf(0xb9)]?this[_0x2673bf(0xb9)]['testAnalyticsId']:null));}catch(_0x47c409){logger[_0x2673bf(0xe1)](_0x2673bf(0x9f)+_0x47c409);}await global['__drivers'][0x0]['initQuit']();}catch(_0x4ff04a){logger['debug'](_0x2673bf(0x94)+_0x4ff04a);}};},{'platform':_0x4a1301[_0x3b6470(0x10b)](nestedKeyValue,global[_0x3b6470(0xbf)],[_0x4a1301[_0x3b6470(0xd6)]]),'hookType':_0x4a1301[_0x3b6470(0x12a)]})();},'beforeEach'(_0x299f69){const _0x4c3cb5=a36_0x45dc2d,_0x39b629={'kYmYM':function(_0x1c7f62,_0x466766){return _0x1c7f62>_0x466766;},'gbYdh':_0x4c3cb5(0x130),'qRvQe':function(_0x35dc97,_0x3a1f65,_0x9aefa7){return _0x35dc97(_0x3a1f65,_0x9aefa7);},'rpWDm':function(_0x221f0d,_0x3af770){return _0x221f0d===_0x3af770;},'ozkbz':_0x4c3cb5(0xf4),'ThzSI':'bstackA11yScanOptions','QgXDb':function(_0x3ca03a){return _0x3ca03a();},'KGrad':_0x4c3cb5(0xf6),'CPEBJ':_0x4c3cb5(0x120),'qQYxq':_0x4c3cb5(0xdd),'UstDh':_0x4c3cb5(0xef),'ETFlL':_0x4c3cb5(0x11e),'GLmCl':function(_0x94c7d0){return _0x94c7d0();},'RLhvf':_0x4c3cb5(0xae),'XlgQE':function(_0x1cb869,_0x1ee2c5,_0x510281){return _0x1cb869(_0x1ee2c5,_0x510281);},'IijOL':_0x4c3cb5(0xb1),'FWZXZ':_0x4c3cb5(0x113)};globals[_0x4c3cb5(0xd1)](_0x39b629[_0x4c3cb5(0x11b)],this[_0x4c3cb5(0xb9)]['titlePath']()[_0x4c3cb5(0x80)](_0x39b629[_0x4c3cb5(0x7f)])),PerformanceTester[_0x4c3cb5(0x11f)](PerformanceSdkEvents[_0x4c3cb5(0x12b)],()=>{const _0x1a234e=_0x4c3cb5,_0x701bad={'sgBHm':function(_0x15c09a,_0x2081f0){const _0x444900=a36_0x1f14;return _0x39b629[_0x444900(0x118)](_0x15c09a,_0x2081f0);},'cdkvi':_0x39b629[_0x1a234e(0x7f)],'gNLKP':function(_0x4a79f5,_0x218c80,_0x1524a8){return _0x39b629['qRvQe'](_0x4a79f5,_0x218c80,_0x1524a8);},'LkXyG':function(_0x4a3ccc,_0x1eda49){const _0x440ecc=_0x1a234e;return _0x39b629[_0x440ecc(0xb0)](_0x4a3ccc,_0x1eda49);},'sisFi':_0x39b629[_0x1a234e(0x8d)],'AisFd':_0x39b629[_0x1a234e(0x127)],'WlocR':function(_0x41a237){const _0x2c0b7a=_0x1a234e;return _0x39b629[_0x2c0b7a(0x9b)](_0x41a237);},'TZdnP':function(_0x534d8,_0x8625d6){const _0x27a11c=_0x1a234e;return _0x39b629[_0x27a11c(0x118)](_0x534d8,_0x8625d6);},'QZPQq':_0x39b629[_0x1a234e(0xb5)],'oLhyy':_0x39b629['CPEBJ'],'yvTxz':function(_0x473d5b,_0xc73ee){const _0x102ac9=_0x1a234e;return _0x39b629[_0x102ac9(0xb0)](_0x473d5b,_0xc73ee);},'ItvRL':_0x39b629[_0x1a234e(0xf9)],'oIFBP':_0x39b629[_0x1a234e(0x11a)],'lPOwp':_0x39b629[_0x1a234e(0xd2)],'bXHro':function(_0x44cd0f){const _0x834c0d=_0x1a234e;return _0x39b629[_0x834c0d(0x9b)](_0x44cd0f);},'iUafL':function(_0x503cac){return _0x39b629['GLmCl'](_0x503cac);}},_0x2e8c16='browserstack internal helper hook';new Promise(async _0x376bd7=>{const _0x2bed92=_0x1a234e;let _0x2cb320=!![];try{_0x701bad[_0x2bed92(0x95)](global[_0x2bed92(0xa9)]['length'],0x1)&&(await global[_0x2bed92(0xe6)](),global[_0x2bed92(0xa9)][_0x2bed92(0x129)]()),_0x701bad['sgBHm'](global[_0x2bed92(0xa9)][0x0]['quitCount_'],0x0)&&(_0x2cb320=![],await global['driverCleanup']());}catch(_0x290c0e){logger[_0x2bed92(0xe1)](_0x2bed92(0x94)+_0x290c0e);}try{Array['isArray'](global[_0x2bed92(0xa9)])&&global[_0x2bed92(0xa9)][0x0]&&(global[_0x2bed92(0xa9)][0x0][_0x2bed92(0x97)]=this[_0x2bed92(0xb9)]['titlePath']()[_0x2bed92(0x80)](_0x701bad[_0x2bed92(0xed)])),global[_0x2bed92(0x97)]=this[_0x2bed92(0xb9)][_0x2bed92(0xcc)]()[_0x2bed92(0x80)](_0x701bad[_0x2bed92(0xed)]);}catch(_0x19da92){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x19da92);}this['currentTest'][_0x2bed92(0x115)]=_0x701bad['gNLKP'](shouldScanTestForAccessibility,this[_0x2bed92(0xb9)][_0x2bed92(0xcc)](),!![]);let _0x405d4f=!![];try{const _0x27f365=JSON[_0x2bed92(0x119)](process['env'][_0x2bed92(0x8a)]||'{}');_0x701bad[_0x2bed92(0xd9)](_0x27f365['autoScanning'],![])&&(_0x405d4f=![]);}catch(_0x546a8e){logger[_0x2bed92(0xe1)](_0x2bed92(0xbd)+_0x546a8e['message']);}const _0x28f8e9=_0x405d4f&&this[_0x2bed92(0xb9)][_0x2bed92(0x115)];globals[_0x2bed92(0xd1)](_0x701bad[_0x2bed92(0xff)],_0x28f8e9),globals[_0x2bed92(0xd1)](_0x701bad[_0x2bed92(0x10c)],null),this[_0x2bed92(0xb9)]['accessibilityScanStarted']=this['currentTest']['shouldScanTestForAccessibility'];if(_0x701bad['WlocR'](isAccessibilityAutomationSession)&&_0x2cb320&&Array['isArray'](global['__drivers'])&&_0x701bad[_0x2bed92(0x108)](global[_0x2bed92(0xa9)][_0x2bed92(0xbe)],0x0)&&globals[_0x2bed92(0x84)](_0x701bad['QZPQq']))try{const _0x4f31fe=await global['__drivers'][0x0][_0x2bed92(0x100)];if(_0x4f31fe){let _0xabb215=!![];const _0x57d629=await global[_0x2bed92(0xa9)][0x0]['getCurrentUrl']();let _0x2abb4e;try{_0x2abb4e=new URL(_0x57d629),_0xabb215=_0x701bad['LkXyG'](_0x2abb4e[_0x2bed92(0xe7)],_0x701bad['oLhyy'])||_0x701bad[_0x2bed92(0xc1)](_0x2abb4e[_0x2bed92(0xe7)],_0x701bad[_0x2bed92(0xf7)]);}catch(_0x55ed4d){_0xabb215=![];}_0xabb215&&(this[_0x2bed92(0xb9)][_0x2bed92(0x115)]&&logger[_0x2bed92(0x124)](_0x701bad[_0x2bed92(0x9e)])),this[_0x2bed92(0xb9)][_0x2bed92(0xf0)]=this[_0x2bed92(0xb9)][_0x2bed92(0x115)],_0x28f8e9&&logger['info'](_0x701bad[_0x2bed92(0xbc)]);}}catch(_0x2c5412){logger['error'](_0x2bed92(0xd5)+util[_0x2bed92(0xbb)](_0x2c5412));}_0x701bad[_0x2bed92(0x122)](_0x376bd7);})[_0x1a234e(0x8e)](()=>{const _0x247ac1=_0x1a234e;_0x701bad[_0x247ac1(0xc5)](_0x299f69);});},{'platform':_0x39b629[_0x4c3cb5(0x96)](nestedKeyValue,global[_0x4c3cb5(0xbf)],[_0x39b629[_0x4c3cb5(0x133)]]),'hookType':_0x39b629[_0x4c3cb5(0xd0)]})();},'afterEach'(_0x45a82f){const _0x50c37a=a36_0x45dc2d,_0x2281e5={'yHFRD':function(_0x52eb1a,_0x4792f1){return _0x52eb1a>_0x4792f1;},'xhvpg':function(_0x479dec,_0x4efbf6){return _0x479dec===_0x4efbf6;},'RMDYI':_0x50c37a(0xeb),'qCvGX':_0x50c37a(0x87),'AhSWy':function(_0x5813bf,_0x17a308,_0x4f60d7,_0x5743fb){return _0x5813bf(_0x17a308,_0x4f60d7,_0x5743fb);},'rlosM':_0x50c37a(0xf6),'IZdpA':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','vLJbb':_0x50c37a(0xf4),'FUVjr':_0x50c37a(0x86),'UcJzJ':_0x50c37a(0xdc),'gFsNA':_0x50c37a(0x92),'JAbGj':_0x50c37a(0x12c),'QmYFL':_0x50c37a(0x106),'bzWLn':_0x50c37a(0xa3),'ANDpi':_0x50c37a(0xda),'jqHxB':_0x50c37a(0xc9),'JOHgk':function(_0x5a2a16){return _0x5a2a16();},'kPSVo':function(_0x3646f3,_0x3b1bfd,_0x48bdb5){return _0x3646f3(_0x3b1bfd,_0x48bdb5);},'jXKUv':_0x50c37a(0xe1),'TmuZX':function(_0x1b4460,_0x39750b){return _0x1b4460>_0x39750b;},'TeuRd':'\x20-\x20','TAiBJ':function(_0x50f79e,_0x29f8cb){return _0x50f79e!==_0x29f8cb;},'gmlMq':_0x50c37a(0x8f),'NjHtg':function(_0x3c53fb,_0x3774af,_0xd76a51){return _0x3c53fb(_0x3774af,_0xd76a51);},'xhCzq':function(_0x5ae32e,_0x46b008){return _0x5ae32e+_0x46b008;},'epjFs':'Failed:\x20','PhXIc':_0x50c37a(0x109),'Svyqy':function(_0x496d67,_0x13d910,_0x838d73){return _0x496d67(_0x13d910,_0x838d73);},'NmrMK':'Passed','eJauL':_0x50c37a(0x124),'xmEna':function(_0x5def6a){return _0x5def6a();},'zCJrC':'Mocha','wKrsm':function(_0x15ba66,_0x3e41fb,_0x34f726){return _0x15ba66(_0x3e41fb,_0x34f726);},'aHowH':_0x50c37a(0xb1),'pEMle':_0x50c37a(0xc7)},_0x38ff1b='browserstack internal helper hook';this[_0x50c37a(0x85)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x2281e5[_0x50c37a(0x105)]]),global['sessionName']=this[_0x50c37a(0xb9)][_0x50c37a(0xcc)]()[_0x50c37a(0x80)](_0x2281e5[_0x50c37a(0x125)]),PerformanceTester[_0x50c37a(0x11f)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4da7ea=_0x50c37a,_0x42b3e6={'krwMy':_0x2281e5[_0x4da7ea(0x125)],'Cukme':function(_0x471c0a,_0x11fb1c){return _0x2281e5['TAiBJ'](_0x471c0a,_0x11fb1c);},'WKXhJ':_0x2281e5['gmlMq'],'Tktkm':function(_0x1179af,_0x5afec5,_0x3d34da){const _0x3c21ce=_0x4da7ea;return _0x2281e5[_0x3c21ce(0xb7)](_0x1179af,_0x5afec5,_0x3d34da);},'ZRpIe':function(_0x5ee0c4,_0x530cf2){const _0x1f7f50=_0x4da7ea;return _0x2281e5[_0x1f7f50(0xb6)](_0x5ee0c4,_0x530cf2);},'KDSKt':_0x2281e5[_0x4da7ea(0x101)],'NLZeQ':_0x2281e5[_0x4da7ea(0x116)],'LFMHj':function(_0xf295d5,_0xc31f4b,_0x2ae08b){return _0x2281e5['Svyqy'](_0xf295d5,_0xc31f4b,_0x2ae08b);},'TJNDu':_0x2281e5[_0x4da7ea(0x103)],'jxuGS':_0x2281e5[_0x4da7ea(0xfa)],'YjHDO':function(_0x5b2a97){return _0x2281e5['xmEna'](_0x5b2a97);}},_0x56733f=async(_0x574676,_0x36833)=>{const _0x6606b2=_0x4da7ea;await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x574676+_0x6606b2(0x12e)+_0x36833+_0x6606b2(0xca));};new Promise(async _0x3b8b6b=>{const _0x3c26c8=_0x4da7ea;try{_0x2281e5[_0x3c26c8(0x135)](global['__drivers'][_0x3c26c8(0xbe)],0x1)&&(await global[_0x3c26c8(0xe6)](),global[_0x3c26c8(0xa9)][_0x3c26c8(0x129)](),global[_0x3c26c8(0x102)]=[],global[_0x3c26c8(0xa0)]=![]);try{if(global[_0x3c26c8(0x93)]&&_0x2281e5[_0x3c26c8(0x112)](global[_0x3c26c8(0xfe)],_0x2281e5[_0x3c26c8(0x117)])&&global[_0x3c26c8(0xa9)][0x0]){const _0x35d2ef=_0x2281e5['yHFRD'](global['capabilities']['length'],0x0)?!!global[_0x3c26c8(0xf5)][0x0][_0x3c26c8(0xac)]||!!global[_0x3c26c8(0xf5)][0x0][_0x2281e5['qCvGX']]:![],_0x3a8841={};_0x3a8841[_0x3c26c8(0xac)]=_0x35d2ef,await _0x2281e5[_0x3c26c8(0xe8)](percyAutoCapture,global[_0x3c26c8(0xa9)][0x0],_0x2281e5[_0x3c26c8(0x117)],_0x3a8841);}}catch(_0x4a6302){logger['debug'](_0x3c26c8(0x9a)+_0x4a6302);}!global[_0x3c26c8(0xa8)]&&(await PerformanceTester[_0x3c26c8(0x11f)](PerformanceAutEvents[_0x3c26c8(0x82)],async()=>{const _0x25a362=_0x3c26c8;await global[_0x25a362(0xa9)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON['stringify'](this[_0x25a362(0xb9)][_0x25a362(0xcc)]()[_0x25a362(0x80)](_0x42b3e6[_0x25a362(0x110)]))+'}}');})(),global['__drivers'][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x3c26c8(0x11f)](PerformanceAutEvents[_0x3c26c8(0xc2)],async()=>{const _0x44b330=_0x3c26c8,_0x30a6bd=_0x42b3e6[_0x44b330(0xfd)](this[_0x44b330(0xb9)][_0x44b330(0x98)],_0x42b3e6['WKXhJ']);_0x30a6bd?(global[_0x44b330(0xa0)]=!![],global[_0x44b330(0x102)][_0x44b330(0xd4)](this['currentTest'][_0x44b330(0xa6)][_0x44b330(0xe4)]),await _0x42b3e6['Tktkm'](_0x56733f,JSON[_0x44b330(0xdb)](_0x42b3e6[_0x44b330(0x81)](_0x42b3e6[_0x44b330(0x9c)],this[_0x44b330(0xb9)][_0x44b330(0xa6)][_0x44b330(0xe4)])),_0x42b3e6[_0x44b330(0x10e)])):await _0x42b3e6[_0x44b330(0x89)](_0x56733f,JSON['stringify'](_0x42b3e6[_0x44b330(0x131)]),_0x42b3e6['jxuGS']);})();}catch(_0x24a702){logger['debug'](_0x3c26c8(0x91)+_0x24a702);}try{if(this[_0x3c26c8(0xb9)][_0x3c26c8(0xf0)]&&globals[_0x3c26c8(0x84)](_0x2281e5['rlosM'])){logger[_0x3c26c8(0x124)](_0x2281e5[_0x3c26c8(0xa7)]);const _0xc39e54={};_0xc39e54['thTestRunUuid']=this[_0x3c26c8(0xb9)][_0x3c26c8(0xec)],_0xc39e54[_0x3c26c8(0xaa)]=process[_0x3c26c8(0xa1)][testHubConstants[_0x3c26c8(0x99)][_0x3c26c8(0x7e)]],_0xc39e54[_0x3c26c8(0xcd)]=process['env'][testHubConstants[_0x3c26c8(0x99)][_0x3c26c8(0x11c)]];const _0x5eb83d=_0xc39e54;logger[_0x3c26c8(0xe1)](_0x3c26c8(0x8b)+JSON[_0x3c26c8(0xdb)](_0x5eb83d));if(globals['getGlobal'](_0x2281e5[_0x3c26c8(0xc8)])){logger[_0x3c26c8(0xe1)](_0x2281e5[_0x3c26c8(0x88)]);const _0x25c9fd={};_0x25c9fd[_0x3c26c8(0xab)]=_0x2281e5['UcJzJ'];const _0x47bd73=await PerformanceTester[_0x3c26c8(0x11f)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xbbc62f=_0x3c26c8;return await accessibilityRetryHelper['performScanWithRetry'](global[_0xbbc62f(0xa9)][0x0],global[_0xbbc62f(0x97)]);},_0x25c9fd)();_0x47bd73?logger[_0x3c26c8(0xe1)](_0x2281e5[_0x3c26c8(0x9d)]):logger[_0x3c26c8(0xc0)](_0x2281e5[_0x3c26c8(0x12f)]);}else logger[_0x3c26c8(0xe1)](_0x2281e5['QmYFL']);const _0x2fd4bb=await PerformanceTester[_0x3c26c8(0x11f)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x399e6e=_0x3c26c8;return await accessibilityRetryHelper[_0x399e6e(0xd8)](global['__drivers'][0x0],_0x5eb83d);})();_0x2fd4bb?logger[_0x3c26c8(0xe1)](_0x2281e5['bzWLn']):logger[_0x3c26c8(0xc0)](_0x2281e5[_0x3c26c8(0xf3)]),logger[_0x3c26c8(0x124)](_0x2281e5[_0x3c26c8(0x83)]);}}catch(_0x53c4b9){logger['error'](_0x3c26c8(0xf1)+this[_0x3c26c8(0xb9)][_0x3c26c8(0xcc)]()+'.\x20Error\x20:',_0x53c4b9);}try{try{if(_0x2281e5[_0x3c26c8(0x134)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x2281e5[_0x3c26c8(0x8c)](sendPlatformDetails,global[_0x3c26c8(0xa9)][0x0],this[_0x3c26c8(0xb9)]?this[_0x3c26c8(0xb9)]['testAnalyticsId']:null);if(_0x2281e5[_0x3c26c8(0x134)](isBrowserstackInfra)){PerformanceTester[_0x3c26c8(0xce)](PerformanceO11yEvents['SYNC']);const _0x3d8935='ObservabilitySync:'+Date[_0x3c26c8(0xfc)]();await _0x2281e5[_0x3c26c8(0x8c)](_0x56733f,JSON['stringify'](_0x3d8935),_0x2281e5['jXKUv']),PerformanceTester[_0x3c26c8(0xb8)](PerformanceO11yEvents[_0x3c26c8(0xc3)]);}}}catch(_0x38a107){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x38a107),PerformanceTester[_0x3c26c8(0xb8)](PerformanceO11yEvents[_0x3c26c8(0xc3)],![],_0x38a107);}_0x2281e5['TmuZX'](global[_0x3c26c8(0xa9)][0x0]['quitCount_'],0x0)&&await global[_0x3c26c8(0xe6)]();}catch(_0x19ba99){logger[_0x3c26c8(0xe1)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x19ba99);}_0x2281e5[_0x3c26c8(0x134)](_0x3b8b6b);})[_0x4da7ea(0x8e)](()=>{const _0x2ba135=_0x4da7ea;_0x42b3e6[_0x2ba135(0xa5)](_0x45a82f);});},{'platform':_0x2281e5[_0x50c37a(0xba)](nestedKeyValue,global['__platformCaps'],[_0x2281e5[_0x50c37a(0xe0)]]),'hookType':_0x2281e5[_0x50c37a(0x107)]})();},'afterAll'(_0x493c12){const _0x547839=a36_0x45dc2d,_0x3f2299={'xtUsv':function(_0x359b61){return _0x359b61();},'xVIjO':_0x547839(0xad),'GAkPg':function(_0x507823,_0x35eacd,_0x2f397b){return _0x507823(_0x35eacd,_0x2f397b);},'ivXLn':'index','JpuDj':_0x547839(0xf2)},_0x2f1c72='browserstack internal helper hook';this[_0x547839(0x85)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3f2299[_0x547839(0xee)]]),PerformanceTester[_0x547839(0x11f)](PerformanceSdkEvents[_0x547839(0x12b)],()=>{new Promise(async _0x1ee8a8=>{const _0x112f81=a36_0x1f14;await global[_0x112f81(0xe6)](),_0x3f2299[_0x112f81(0xb3)](_0x1ee8a8);})['then']()['finally'](()=>{const _0x3d040a=a36_0x1f14;_0x3f2299[_0x3d040a(0xb3)](_0x493c12);});},{'platform':_0x3f2299['GAkPg'](nestedKeyValue,global[_0x547839(0xbf)],[_0x3f2299[_0x547839(0xa4)]]),'hookType':_0x3f2299[_0x547839(0x128)]})();}};function a36_0x3dbf(){const _0x3e5d92=['http:','DQAIn','bXHro','kuIBk','info','TeuRd','YQgVY','ThzSI','JpuDj','shift','mxbDd','SDK_HOOK','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','YjTfw',',\x22level\x22:\x20\x22','JAbGj','\x20-\x20','TJNDu','../../helpers/helper','IijOL','JOHgk','yHFRD','270LiamBL','BROWSERSTACK_TESTHUB_UUID','gbYdh','join','ZRpIe','SESSION_NAME','jqHxB','getGlobal','timeout','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','appium:app','FUVjr','LFMHj','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','kPSVo','ozkbz','then','passed','\x20|\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Accessibility\x20scan\x20completed\x20successfully','percy','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','sgBHm','XlgQE','browserstackSessionName','state','ENV_VAR','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','QgXDb','KDSKt','gFsNA','oIFBP','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','__sessionFailed','env','../../helpers/logger','Accessibility\x20results\x20saved\x20successfully','ivXLn','YjHDO','err','IZdpA','__skipSessionName','__drivers','thBuildUuid','command','app','Mocha','browserstackTestName','5979dJiUbp','rpWDm','index','winstonLogger','xtUsv','../../helpers/percy/utils','KGrad','xhCzq','NjHtg','end','currentTest','wKrsm','format','lPOwp','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','length','__platformCaps','warn','yvTxz','SESSION_STATUS','SYNC','./test-observability/mochaUtils','iUafL','7585ZEyYvZ','afterEach','vLJbb','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','\x22}}','../../helpers/accessibility-automation/accessibilityRetryHelper','titlePath','thJwtToken','start','../../helpers/globals','FWZXZ','setGlobal','ETFlL','170dowNwv','push','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','cudZA','40943TACkhD','saveAccessibilityResultsWithRetry','LkXyG','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','stringify','afterTest','https:','../../helpers/performance/performance-tester','../../helpers/accessibility-automation/helper','aHowH','debug','pRlFM','4lzerjH','message','1683999AFeTwF','driverCleanup','protocol','AhSWy','620lhwumu','JvGCD','testcase','testAnalyticsId','cdkvi','xVIjO','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','accessibilityScanStarted','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','afterAll','ANDpi','bstackA11yShouldScan','capabilities','isAccessibilityPlatform','ItvRL','util','qQYxq','eJauL','../../helpers/testhub/utils','now','Cukme','percyCaptureMode','sisFi','session_','epjFs','__error_messages__','NmrMK','VhMCQ','zCJrC','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','pEMle','TZdnP','error','failed','puhlM','AisFd','281281NxorTy','NLZeQ','startMonitoring','krwMy','beforeAll','xhvpg','beforeEach','1104296TqLotk','shouldScanTestForAccessibility','PhXIc','RMDYI','kYmYM','parse','UstDh','RLhvf','BROWSERSTACK_TESTHUB_JWT','450033XJwkRs','Automate\x20test\x20case\x20execution\x20has\x20started.','measureWrapper'];a36_0x3dbf=function(){return _0x3e5d92;};return a36_0x3dbf();}
1
+ function a36_0x5bf7(_0x5a134f,_0x59cdbf){const _0x18cdb5=a36_0x18cd();return a36_0x5bf7=function(_0x5bf774,_0xfa3d3e){_0x5bf774=_0x5bf774-0x6c;let _0x3bd7f9=_0x18cdb5[_0x5bf774];return _0x3bd7f9;},a36_0x5bf7(_0x5a134f,_0x59cdbf);}const a36_0x325ee5=a36_0x5bf7;(function(_0x262695,_0x350682){const _0x5c03f5=a36_0x5bf7,_0x50d242=_0x262695();while(!![]){try{const _0x158b7c=-parseInt(_0x5c03f5(0xdb))/0x1+parseInt(_0x5c03f5(0xaa))/0x2+-parseInt(_0x5c03f5(0x90))/0x3+parseInt(_0x5c03f5(0xe4))/0x4+-parseInt(_0x5c03f5(0xec))/0x5+-parseInt(_0x5c03f5(0x102))/0x6*(-parseInt(_0x5c03f5(0x10d))/0x7)+parseInt(_0x5c03f5(0xf9))/0x8*(-parseInt(_0x5c03f5(0xc2))/0x9);if(_0x158b7c===_0x350682)break;else _0x50d242['push'](_0x50d242['shift']());}catch(_0x184d76){_0x50d242['push'](_0x50d242['shift']());}}}(a36_0x18cd,0xf0524));const util=require(a36_0x325ee5(0x79)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x325ee5(0x11d)),accessibilityRetryHelper=require(a36_0x325ee5(0xfa)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x325ee5(0xb0)),{percyAutoCapture}=require(a36_0x325ee5(0x6f)),{sendPlatformDetails}=require(a36_0x325ee5(0xb4)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x325ee5(0x121)),PerformanceTester=require(a36_0x325ee5(0x11a)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x325ee5(0x93)),globals=require(a36_0x325ee5(0x12e)),logger=require(a36_0x325ee5(0x12f))[a36_0x325ee5(0xd6)],{shouldProcessEventForTesthub}=require(a36_0x325ee5(0x12a)),testHubConstants=require(a36_0x325ee5(0x74));exports[a36_0x325ee5(0x129)]={'beforeAll'(){const _0x270709=a36_0x325ee5,_0x2f7934={'ChSMc':function(_0x52d701,_0x53f3c5,_0x571c82,_0x20cdc4){return _0x52d701(_0x53f3c5,_0x571c82,_0x20cdc4);},'XwKev':'failed','wrIOJ':_0x270709(0xb1),'aiQNF':function(_0x270ae2,_0x583e73,_0x51f219){return _0x270ae2(_0x583e73,_0x51f219);},'XZaPY':'passed','PrzOb':function(_0x46df2f){return _0x46df2f();},'Hhlqf':'index','vlvUE':_0x270709(0x9f)};PerformanceTester['startMonitoring']();const _0x273318='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x270709(0xab)],()=>{const _0x262c02=_0x270709,_0x398b25={'SnAzj':function(_0x7962bb,_0x1d5cd3,_0x1a9bd9,_0x4e2995){return _0x2f7934['ChSMc'](_0x7962bb,_0x1d5cd3,_0x1a9bd9,_0x4e2995);},'QalHu':_0x2f7934[_0x262c02(0xe0)],'yLZyr':_0x2f7934[_0x262c02(0xc8)],'goyJr':function(_0x4442e0,_0x27a635,_0xf87a89){const _0x4f2877=_0x262c02;return _0x2f7934[_0x4f2877(0x97)](_0x4442e0,_0x27a635,_0xf87a89);},'SaxAh':_0x2f7934[_0x262c02(0x78)],'AjCuk':function(_0x2ae60b){const _0x4f2142=_0x262c02;return _0x2f7934[_0x4f2142(0xf1)](_0x2ae60b);}};global['__error_messages__']=[],global['__sessionFailed']=![],global[_0x262c02(0x8f)]=async()=>{const _0x383d5f=_0x262c02;let _0x4fd953=![];try{await global['__drivers'][0x0][_0x383d5f(0x133)],_0x4fd953=!![],global[_0x383d5f(0xa0)]?await _0x398b25[_0x383d5f(0xac)](markSessionStatus,global[_0x383d5f(0xc3)][0x0],_0x398b25[_0x383d5f(0x7a)],global[_0x383d5f(0xd7)][_0x383d5f(0xc5)](_0x398b25[_0x383d5f(0x120)])):await _0x398b25['goyJr'](markSessionStatus,global[_0x383d5f(0xc3)][0x0],_0x398b25[_0x383d5f(0xb5)]);}catch(_0x3845bb){logger[_0x383d5f(0xba)](_0x383d5f(0xc9)+_0x3845bb);}global[_0x383d5f(0xd7)]=[],global[_0x383d5f(0xa0)]=![];if(_0x4fd953)try{try{_0x398b25[_0x383d5f(0x6e)](shouldProcessEventForTesthub)&&(global[_0x383d5f(0xc3)][0x0]&&await _0x398b25['goyJr'](sendPlatformDetails,global[_0x383d5f(0xc3)][0x0],this['currentTest']?this[_0x383d5f(0xf3)][_0x383d5f(0xa3)]:null));}catch(_0x3c9f43){logger[_0x383d5f(0xba)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x3c9f43);}await global['__drivers'][0x0]['initQuit']();}catch(_0x4300af){logger[_0x383d5f(0xba)](_0x383d5f(0xa8)+_0x4300af);}};},{'platform':_0x2f7934['aiQNF'](nestedKeyValue,global[_0x270709(0xcf)],[_0x2f7934[_0x270709(0xfe)]]),'hookType':_0x2f7934[_0x270709(0x76)]})();},'beforeEach'(_0x1eed2e){const _0x170862=a36_0x325ee5,_0x3a82ad={'qPhIG':function(_0x51fd34,_0x2d5418){return _0x51fd34>_0x2d5418;},'ARfgt':_0x170862(0xa2),'dYrSz':function(_0x18bf13,_0x48c648,_0x437504){return _0x18bf13(_0x48c648,_0x437504);},'fuetl':function(_0xaae37,_0x2582ee){return _0xaae37===_0x2582ee;},'oZhAn':'bstackA11yShouldScan','ddxNc':'bstackA11yScanOptions','MWPAH':function(_0x194bb6){return _0x194bb6();},'PkJRK':function(_0x583fb3,_0x26e899){return _0x583fb3>_0x26e899;},'OReRP':'isAccessibilityPlatform','iMNTA':_0x170862(0x96),'FcaYQ':function(_0x2de6d8,_0x2d2597){return _0x2de6d8===_0x2d2597;},'liKTG':_0x170862(0x9c),'AZNpu':_0x170862(0xb6),'sJdhr':'Automate\x20test\x20case\x20execution\x20has\x20started.','EAlAG':function(_0x54a4a0){return _0x54a4a0();},'KDoeQ':'browserstackTestName','VVnoF':function(_0x4421ec,_0x4c418b,_0x271b81){return _0x4421ec(_0x4c418b,_0x271b81);},'fsIDO':_0x170862(0xd5),'GRnUl':_0x170862(0x9b)};globals[_0x170862(0x10a)](_0x3a82ad['KDoeQ'],this[_0x170862(0xf3)]['titlePath']()[_0x170862(0xc5)](_0x3a82ad[_0x170862(0x8c)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x170862(0xab)],()=>{const _0x2f68ba=_0x170862,_0x3949e5='browserstack internal helper hook';new Promise(async _0xcc1426=>{const _0x2ce4e6=a36_0x5bf7;let _0x142f89=!![];try{_0x3a82ad['qPhIG'](global[_0x2ce4e6(0xc3)][_0x2ce4e6(0x12b)],0x1)&&(await global['driverCleanup'](),global[_0x2ce4e6(0xc3)][_0x2ce4e6(0x111)]()),_0x3a82ad[_0x2ce4e6(0x109)](global[_0x2ce4e6(0xc3)][0x0][_0x2ce4e6(0x104)],0x0)&&(_0x142f89=![],await global[_0x2ce4e6(0x8f)]());}catch(_0x5002cb){logger[_0x2ce4e6(0xba)](_0x2ce4e6(0xa8)+_0x5002cb);}try{Array[_0x2ce4e6(0x89)](global['__drivers'])&&global[_0x2ce4e6(0xc3)][0x0]&&(global[_0x2ce4e6(0xc3)][0x0][_0x2ce4e6(0xd9)]=this['currentTest']['titlePath']()[_0x2ce4e6(0xc5)](_0x3a82ad[_0x2ce4e6(0x8c)])),global[_0x2ce4e6(0xd9)]=this[_0x2ce4e6(0xf3)][_0x2ce4e6(0x7e)]()[_0x2ce4e6(0xc5)](_0x3a82ad[_0x2ce4e6(0x8c)]);}catch(_0x315772){logger[_0x2ce4e6(0xba)](_0x2ce4e6(0xd1)+_0x315772);}this[_0x2ce4e6(0xf3)][_0x2ce4e6(0xc0)]=_0x3a82ad[_0x2ce4e6(0xb9)](shouldScanTestForAccessibility,this[_0x2ce4e6(0xf3)][_0x2ce4e6(0x7e)](),!![]);let _0x34888d=!![];try{const _0x49b550=JSON['parse'](process['env'][_0x2ce4e6(0x92)]||'{}');_0x3a82ad['fuetl'](_0x49b550[_0x2ce4e6(0xb7)],![])&&(_0x34888d=![]);}catch(_0x4256a6){logger[_0x2ce4e6(0xba)](_0x2ce4e6(0xde)+_0x4256a6[_0x2ce4e6(0xe3)]);}const _0x4232a4=_0x34888d&&this[_0x2ce4e6(0xf3)]['shouldScanTestForAccessibility'];globals[_0x2ce4e6(0x10a)](_0x3a82ad[_0x2ce4e6(0x7c)],_0x4232a4),globals[_0x2ce4e6(0x10a)](_0x3a82ad[_0x2ce4e6(0xdd)],null),this['currentTest'][_0x2ce4e6(0xef)]=this['currentTest'][_0x2ce4e6(0xc0)];if(_0x3a82ad[_0x2ce4e6(0xf8)](isAccessibilityAutomationSession)&&_0x142f89&&Array[_0x2ce4e6(0x89)](global[_0x2ce4e6(0xc3)])&&_0x3a82ad[_0x2ce4e6(0x101)](global['__drivers'][_0x2ce4e6(0x12b)],0x0)&&globals['getGlobal'](_0x3a82ad[_0x2ce4e6(0xd3)]))try{const _0x1bed46=await global[_0x2ce4e6(0xc3)][0x0][_0x2ce4e6(0x133)];if(_0x1bed46){let _0x5ae8ab=!![];const _0x561cb6=await global[_0x2ce4e6(0xc3)][0x0]['getCurrentUrl']();let _0x5ba616;try{_0x5ba616=new URL(_0x561cb6),_0x5ae8ab=_0x3a82ad[_0x2ce4e6(0xc6)](_0x5ba616[_0x2ce4e6(0xae)],_0x3a82ad[_0x2ce4e6(0x122)])||_0x3a82ad[_0x2ce4e6(0x7b)](_0x5ba616[_0x2ce4e6(0xae)],_0x3a82ad[_0x2ce4e6(0xfb)]);}catch(_0x5b8d8e){_0x5ae8ab=![];}_0x5ae8ab&&(this[_0x2ce4e6(0xf3)]['shouldScanTestForAccessibility']&&logger['info'](_0x3a82ad[_0x2ce4e6(0xd0)])),this[_0x2ce4e6(0xf3)]['accessibilityScanStarted']=this[_0x2ce4e6(0xf3)]['shouldScanTestForAccessibility'],_0x4232a4&&logger[_0x2ce4e6(0x7d)](_0x3a82ad['sJdhr']);}}catch(_0x16b549){logger[_0x2ce4e6(0x6c)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util['format'](_0x16b549));}_0x3a82ad['EAlAG'](_0xcc1426);})[_0x2f68ba(0x9e)](()=>{const _0x31267a=_0x2f68ba;_0x3a82ad[_0x31267a(0xf8)](_0x1eed2e);});},{'platform':_0x3a82ad[_0x170862(0xb2)](nestedKeyValue,global[_0x170862(0xcf)],[_0x3a82ad['fsIDO']]),'hookType':_0x3a82ad[_0x170862(0xf7)]})();},'afterEach'(_0x3b8354){const _0x2a0a10=a36_0x325ee5,_0x39bd98={'AxMpN':'\x20-\x20','RUHEG':function(_0x400271,_0x3ecbe1){return _0x400271!==_0x3ecbe1;},'jJVBL':'passed','GEXAd':function(_0x525462,_0x5ba4b6,_0xc39d79){return _0x525462(_0x5ba4b6,_0xc39d79);},'zqRuA':function(_0x36afa6,_0x30cd2d){return _0x36afa6+_0x30cd2d;},'VTbYa':_0x2a0a10(0x113),'kFKLw':_0x2a0a10(0x6c),'atQAf':'Passed','KTcOy':_0x2a0a10(0x7d),'uMBIr':function(_0x40e50b,_0x582302){return _0x40e50b>_0x582302;},'EsbkV':function(_0xf12a93,_0x36a2f7){return _0xf12a93===_0x36a2f7;},'dqmKS':_0x2a0a10(0xf5),'yBUcS':_0x2a0a10(0x77),'bAoCf':function(_0x4a23bb,_0x4ac60c,_0x38099d,_0x13c96b){return _0x4a23bb(_0x4ac60c,_0x38099d,_0x13c96b);},'FFlwT':'isAccessibilityPlatform','Abguc':_0x2a0a10(0x135),'ChSyn':_0x2a0a10(0x73),'GxZeI':_0x2a0a10(0x11f),'XHrAB':'afterTest','SdIAD':_0x2a0a10(0x137),'ZRQyI':_0x2a0a10(0x117),'poSYK':_0x2a0a10(0x136),'ETtaU':_0x2a0a10(0xeb),'tutcp':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','kHDVf':_0x2a0a10(0x12c),'nxgMY':function(_0x4235a3){return _0x4235a3();},'lClwj':function(_0xfe1bca,_0x1384aa,_0x3a7ce0){return _0xfe1bca(_0x1384aa,_0x3a7ce0);},'NFTAw':_0x2a0a10(0xba),'dSiVd':function(_0x257951,_0x149202){return _0x257951>_0x149202;},'jehrQ':'Mocha','xmmpa':_0x2a0a10(0xd5),'vcKcd':_0x2a0a10(0xe9)},_0x4b56bb='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x39bd98[_0x2a0a10(0x10f)]]),global[_0x2a0a10(0xbd)]=this[_0x2a0a10(0xf3)][_0x2a0a10(0x7e)]()[_0x2a0a10(0xc5)](_0x39bd98['AxMpN']),PerformanceTester[_0x2a0a10(0x70)](PerformanceSdkEvents[_0x2a0a10(0xab)],()=>{const _0xb79580=_0x2a0a10,_0x1b6865={'kPNxn':_0x39bd98[_0xb79580(0x127)],'OgfzJ':function(_0x3ece9a,_0x209456){return _0x39bd98['RUHEG'](_0x3ece9a,_0x209456);},'fCmSt':_0x39bd98[_0xb79580(0xe5)],'CJoGP':function(_0x653e69,_0x53fd6a,_0x42683a){const _0x4fea35=_0xb79580;return _0x39bd98[_0x4fea35(0xf4)](_0x653e69,_0x53fd6a,_0x42683a);},'BEqLA':function(_0x3cb937,_0x44c3a3){const _0x5adf28=_0xb79580;return _0x39bd98[_0x5adf28(0x125)](_0x3cb937,_0x44c3a3);},'KjAcC':_0x39bd98[_0xb79580(0x95)],'eTLto':_0x39bd98[_0xb79580(0x131)],'jUdDM':_0x39bd98[_0xb79580(0xdf)],'Ixytk':_0x39bd98[_0xb79580(0xa5)],'AFtzq':function(_0x59809a,_0x5ab05f){const _0x4f4f98=_0xb79580;return _0x39bd98[_0x4f4f98(0xc7)](_0x59809a,_0x5ab05f);},'gTqUC':function(_0x9bafd5,_0x3f404e){const _0x44d948=_0xb79580;return _0x39bd98[_0x44d948(0xc4)](_0x9bafd5,_0x3f404e);},'qhfCF':_0x39bd98[_0xb79580(0x8e)],'wBrUz':_0x39bd98[_0xb79580(0x81)],'HIldX':function(_0x12b3fe,_0x2f2fd3,_0x11e422,_0x1c9351){const _0x3216fc=_0xb79580;return _0x39bd98[_0x3216fc(0xc1)](_0x12b3fe,_0x2f2fd3,_0x11e422,_0x1c9351);},'bBSoB':_0x39bd98[_0xb79580(0xbc)],'lNEVb':_0x39bd98[_0xb79580(0x86)],'vwRKJ':_0x39bd98[_0xb79580(0x11b)],'QhlpX':_0x39bd98[_0xb79580(0xfc)],'hnHjZ':_0x39bd98[_0xb79580(0x8b)],'GyjSi':_0x39bd98[_0xb79580(0xbb)],'gbBfQ':_0x39bd98[_0xb79580(0xb3)],'IxiSY':_0x39bd98[_0xb79580(0x123)],'FiFqc':_0x39bd98[_0xb79580(0xcb)],'nzqNX':_0x39bd98[_0xb79580(0xe6)],'QwzKJ':_0x39bd98[_0xb79580(0xed)],'gmJdm':function(_0x43f237){const _0x45f2d5=_0xb79580;return _0x39bd98[_0x45f2d5(0x6d)](_0x43f237);},'ResFk':function(_0x369ed2,_0x241c45,_0x127ba9){return _0x39bd98['lClwj'](_0x369ed2,_0x241c45,_0x127ba9);},'cpKbO':_0x39bd98['NFTAw'],'qJWFU':function(_0x4bccff,_0x5901f6){const _0x2df05a=_0xb79580;return _0x39bd98[_0x2df05a(0x118)](_0x4bccff,_0x5901f6);}},_0x1d67ed=async(_0x14ecf7,_0x55a73e)=>{const _0x490061=_0xb79580;await global['__drivers'][0x0][_0x490061(0x119)](_0x490061(0x83)+_0x14ecf7+_0x490061(0x108)+_0x55a73e+'\x22}}');};new Promise(async _0x2cb53e=>{const _0x13aa7e=_0xb79580,_0x5ae088={'xwBFA':_0x1b6865[_0x13aa7e(0xad)],'hyYOS':function(_0x5a6c8d,_0x4ffd44){return _0x1b6865['OgfzJ'](_0x5a6c8d,_0x4ffd44);},'nnAri':_0x1b6865[_0x13aa7e(0x88)],'kmGGe':function(_0x1eeed6,_0x32b8bb,_0x16e128){const _0x476cfb=_0x13aa7e;return _0x1b6865[_0x476cfb(0xea)](_0x1eeed6,_0x32b8bb,_0x16e128);},'BMEMe':function(_0x51b7d2,_0x93bb29){const _0xedab65=_0x13aa7e;return _0x1b6865[_0xedab65(0x8d)](_0x51b7d2,_0x93bb29);},'GMdgz':_0x1b6865['KjAcC'],'NuRSd':_0x1b6865[_0x13aa7e(0xe7)],'ZwRmJ':_0x1b6865[_0x13aa7e(0x138)],'PYQQy':_0x1b6865[_0x13aa7e(0x8a)]};try{_0x1b6865[_0x13aa7e(0x124)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global[_0x13aa7e(0xc3)]['shift'](),global[_0x13aa7e(0xd7)]=[],global['__sessionFailed']=![]);try{if(global[_0x13aa7e(0xca)]&&_0x1b6865[_0x13aa7e(0x139)](global['percyCaptureMode'],_0x1b6865[_0x13aa7e(0xbe)])&&global['__drivers'][0x0]){const _0x2c397b=_0x1b6865['AFtzq'](global[_0x13aa7e(0x106)][_0x13aa7e(0x12b)],0x0)?!!global[_0x13aa7e(0x106)][0x0][_0x13aa7e(0x11c)]||!!global['capabilities'][0x0][_0x1b6865[_0x13aa7e(0xa1)]]:![],_0x24037b={};_0x24037b[_0x13aa7e(0x11c)]=_0x2c397b,await _0x1b6865[_0x13aa7e(0x107)](percyAutoCapture,global[_0x13aa7e(0xc3)][0x0],_0x1b6865[_0x13aa7e(0xbe)],_0x24037b);}}catch(_0x902944){logger[_0x13aa7e(0xba)](_0x13aa7e(0x9d)+_0x902944);}!global[_0x13aa7e(0xd4)]&&(await PerformanceTester[_0x13aa7e(0x70)](PerformanceAutEvents[_0x13aa7e(0x72)],async()=>{const _0x53d19a=_0x13aa7e;await global[_0x53d19a(0xc3)][0x0][_0x53d19a(0x119)](_0x53d19a(0x110)+JSON[_0x53d19a(0xd8)](this['currentTest']['titlePath']()[_0x53d19a(0xc5)](_0x5ae088[_0x53d19a(0xfd)]))+'}}');})(),global[_0x13aa7e(0xc3)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x13aa7e(0x70)](PerformanceAutEvents[_0x13aa7e(0x9a)],async()=>{const _0x1695ba=_0x13aa7e,_0x477ebc=_0x5ae088['hyYOS'](this[_0x1695ba(0xf3)][_0x1695ba(0xa6)],_0x5ae088['nnAri']);_0x477ebc?(global[_0x1695ba(0xa0)]=!![],global[_0x1695ba(0xd7)][_0x1695ba(0x116)](this[_0x1695ba(0xf3)]['err'][_0x1695ba(0xe3)]),await _0x5ae088[_0x1695ba(0x7f)](_0x1d67ed,JSON['stringify'](_0x5ae088[_0x1695ba(0x128)](_0x5ae088[_0x1695ba(0x80)],this[_0x1695ba(0xf3)]['err'][_0x1695ba(0xe3)])),_0x5ae088[_0x1695ba(0xee)])):await _0x5ae088['kmGGe'](_0x1d67ed,JSON[_0x1695ba(0xd8)](_0x5ae088[_0x1695ba(0xdc)]),_0x5ae088[_0x1695ba(0xa9)]);})();}catch(_0x2c33be){logger['debug'](_0x13aa7e(0xf2)+_0x2c33be);}try{if(this[_0x13aa7e(0xf3)]['accessibilityScanStarted']&&globals['getGlobal'](_0x1b6865[_0x13aa7e(0x100)])){logger[_0x13aa7e(0x7d)](_0x1b6865[_0x13aa7e(0xda)]);const _0x309a09={};_0x309a09[_0x13aa7e(0xf6)]=this[_0x13aa7e(0xf3)]['testAnalyticsId'],_0x309a09[_0x13aa7e(0xe8)]=process[_0x13aa7e(0xbf)][testHubConstants[_0x13aa7e(0x134)][_0x13aa7e(0xcd)]],_0x309a09['thJwtToken']=process[_0x13aa7e(0xbf)][testHubConstants[_0x13aa7e(0x134)]['BROWSERSTACK_TESTHUB_JWT']];const _0x3689e4=_0x309a09;logger[_0x13aa7e(0xba)](_0x13aa7e(0xff)+JSON[_0x13aa7e(0xd8)](_0x3689e4));if(globals[_0x13aa7e(0x132)](_0x1b6865[_0x13aa7e(0xaf)])){logger[_0x13aa7e(0xba)](_0x1b6865[_0x13aa7e(0x84)]);const _0xf63be0={};_0xf63be0['command']=_0x1b6865[_0x13aa7e(0x98)];const _0x2bcd76=await PerformanceTester[_0x13aa7e(0x70)](PerformanceA11yEvents[_0x13aa7e(0x126)],async()=>{const _0x2912e2=_0x13aa7e;return await accessibilityRetryHelper[_0x2912e2(0x115)](global[_0x2912e2(0xc3)][0x0],global[_0x2912e2(0xd9)]);},_0xf63be0)();_0x2bcd76?logger['debug'](_0x1b6865['GyjSi']):logger['warn'](_0x1b6865['gbBfQ']);}else logger['debug'](_0x1b6865[_0x13aa7e(0x10c)]);const _0x4dd9c5=await PerformanceTester[_0x13aa7e(0x70)](PerformanceA11yEvents[_0x13aa7e(0xa4)],async()=>{const _0x39b18c=_0x13aa7e;return await accessibilityRetryHelper[_0x39b18c(0x11e)](global[_0x39b18c(0xc3)][0x0],_0x3689e4);})();_0x4dd9c5?logger[_0x13aa7e(0xba)](_0x1b6865['FiFqc']):logger[_0x13aa7e(0x112)](_0x1b6865['nzqNX']),logger[_0x13aa7e(0x7d)](_0x1b6865[_0x13aa7e(0x12d)]);}}catch(_0x2e1755){logger[_0x13aa7e(0x6c)](_0x13aa7e(0x114)+this[_0x13aa7e(0xf3)][_0x13aa7e(0x7e)]()+_0x13aa7e(0x71),_0x2e1755);}try{try{if(_0x1b6865[_0x13aa7e(0xcc)](shouldProcessEventForTesthub)){global[_0x13aa7e(0xc3)][0x0]&&await _0x1b6865[_0x13aa7e(0x10e)](sendPlatformDetails,global[_0x13aa7e(0xc3)][0x0],this[_0x13aa7e(0xf3)]?this[_0x13aa7e(0xf3)][_0x13aa7e(0xa3)]:null);if(_0x1b6865['gmJdm'](isBrowserstackInfra)){PerformanceTester[_0x13aa7e(0xce)](PerformanceO11yEvents['SYNC']);const _0x530856='ObservabilitySync:'+Date[_0x13aa7e(0xe1)]();await _0x1b6865['ResFk'](_0x1d67ed,JSON[_0x13aa7e(0xd8)](_0x530856),_0x1b6865[_0x13aa7e(0x105)]),PerformanceTester[_0x13aa7e(0xe2)](PerformanceO11yEvents['SYNC']);}}}catch(_0x4ef38e){logger[_0x13aa7e(0xba)](_0x13aa7e(0x85)+_0x4ef38e),PerformanceTester['end'](PerformanceO11yEvents['SYNC'],![],_0x4ef38e);}_0x1b6865[_0x13aa7e(0xd2)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x13aa7e(0x8f)]();}catch(_0x4daf10){logger[_0x13aa7e(0xba)](_0x13aa7e(0xa8)+_0x4daf10);}_0x1b6865[_0x13aa7e(0xcc)](_0x2cb53e);})[_0xb79580(0x9e)](()=>{const _0x23258c=_0xb79580;_0x1b6865[_0x23258c(0xcc)](_0x3b8354);});},{'platform':_0x39bd98[_0x2a0a10(0x130)](nestedKeyValue,global[_0x2a0a10(0xcf)],[_0x39bd98[_0x2a0a10(0x94)]]),'hookType':_0x39bd98[_0x2a0a10(0x75)]})();},'afterAll'(_0x7ca2e8){const _0x1ed1e0=a36_0x325ee5,_0x318d96={'wJLjY':function(_0x5a364e){return _0x5a364e();},'wjzwZ':function(_0x11148b){return _0x11148b();},'ckEJs':_0x1ed1e0(0xb8),'DOJhS':function(_0x1770bf,_0x547d18,_0x80d6f5){return _0x1770bf(_0x547d18,_0x80d6f5);},'WFNzb':'index','mwlPo':_0x1ed1e0(0xa7)},_0x307536='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x318d96[_0x1ed1e0(0x82)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x364e69=_0x1ed1e0,_0x130ac3={'YuvZG':function(_0x184e18){const _0x26056c=a36_0x5bf7;return _0x318d96[_0x26056c(0x103)](_0x184e18);}};new Promise(async _0x327834=>{const _0xb4423=a36_0x5bf7;await global[_0xb4423(0x8f)](),_0x130ac3[_0xb4423(0x10b)](_0x327834);})[_0x364e69(0x9e)]()[_0x364e69(0x87)](()=>{const _0x370606=_0x364e69;_0x318d96[_0x370606(0xf0)](_0x7ca2e8);});},{'platform':_0x318d96[_0x1ed1e0(0x99)](nestedKeyValue,global[_0x1ed1e0(0xcf)],[_0x318d96['WFNzb']]),'hookType':_0x318d96[_0x1ed1e0(0x91)]})();}};function a36_0x18cd(){const _0x4b05f8=['Failed\x20to\x20store\x20session\x20name:\x20','qJWFU','OReRP','__skipSessionName','index','winstonLogger','__error_messages__','stringify','browserstackSessionName','lNEVb','250549koMuxh','ZwRmJ','ddxNc','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','atQAf','XwKev','now','end','message','7763288eWKMKr','jJVBL','tutcp','eTLto','thBuildUuid','afterEach','CJoGP','Accessibility\x20results\x20saved\x20successfully','2723445nvOTqL','kHDVf','NuRSd','accessibilityScanStarted','wJLjY','PrzOb','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','currentTest','GEXAd','testcase','thTestRunUuid','GRnUl','MWPAH','3280LLLjgb','../../helpers/accessibility-automation/accessibilityRetryHelper','liKTG','GxZeI','xwBFA','Hhlqf','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','bBSoB','PkJRK','18402zWCzJi','wjzwZ','quitCount_','cpKbO','capabilities','HIldX',',\x22level\x22:\x20\x22','qPhIG','setGlobal','YuvZG','IxiSY','2212psEFSV','ResFk','jehrQ','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','shift','warn','Failed:\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','performScanWithRetry','push','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','dSiVd','executeScript','../../helpers/performance/performance-tester','ChSyn','app','../../helpers/accessibility-automation/helper','saveAccessibilityResultsWithRetry','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','yLZyr','../../helpers/helper','iMNTA','poSYK','AFtzq','zqRuA','PERFORM_SCAN','AxMpN','BMEMe','mochaHooks','../../helpers/testhub/utils','length','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','QwzKJ','../../helpers/globals','../../helpers/logger','lClwj','kFKLw','getGlobal','session_','ENV_VAR','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','Accessibility\x20scan\x20completed\x20successfully','jUdDM','gTqUC','error','nxgMY','AjCuk','../../helpers/percy/utils','measureWrapper','.\x20Error\x20:','SESSION_NAME','bstackA11yShouldScan','../../helpers/testhub/constants','vcKcd','vlvUE','appium:app','XZaPY','util','QalHu','FcaYQ','oZhAn','info','titlePath','kmGGe','GMdgz','yBUcS','ckEJs','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','QhlpX','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Abguc','finally','fCmSt','isArray','Ixytk','XHrAB','ARfgt','BEqLA','dqmKS','driverCleanup','3061008joQUok','mwlPo','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/performance/constants','xmmpa','VTbYa','http:','aiQNF','hnHjZ','DOJhS','SESSION_STATUS','beforeEach','https:','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','then','beforeAll','__sessionFailed','wBrUz','\x20-\x20','testAnalyticsId','SAVE_RESULTS','KTcOy','state','afterAll','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','PYQQy','3230432igzyGj','SDK_HOOK','SnAzj','kPNxn','protocol','vwRKJ','../utils/constants','\x20|\x20','VVnoF','ZRQyI','./test-observability/mochaUtils','SaxAh','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','autoScanning','Mocha','dYrSz','debug','SdIAD','FFlwT','sessionName','qhfCF','env','shouldScanTestForAccessibility','bAoCf','37872RacaKC','__drivers','EsbkV','join','fuetl','uMBIr','wrIOJ','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','percy','ETtaU','gmJdm','BROWSERSTACK_TESTHUB_UUID','start','__platformCaps','AZNpu'];a36_0x18cd=function(){return _0x4b05f8;};return a36_0x18cd();}
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';function a37_0x3ef0(_0x3f20f1,_0x42ea8a){const _0x1fb664=a37_0x1fb6();return a37_0x3ef0=function(_0x3ef078,_0x472108){_0x3ef078=_0x3ef078-0xb4;let _0x478189=_0x1fb664[_0x3ef078];return _0x478189;},a37_0x3ef0(_0x3f20f1,_0x42ea8a);}const a37_0x2fa5c7=a37_0x3ef0;(function(_0x408170,_0x7fd64b){const _0x480629=a37_0x3ef0,_0x207457=_0x408170();while(!![]){try{const _0xee3aa0=-parseInt(_0x480629(0xd5))/0x1+parseInt(_0x480629(0x104))/0x2+-parseInt(_0x480629(0xec))/0x3*(parseInt(_0x480629(0xd9))/0x4)+-parseInt(_0x480629(0x127))/0x5+-parseInt(_0x480629(0xcb))/0x6+parseInt(_0x480629(0x116))/0x7+-parseInt(_0x480629(0x119))/0x8*(-parseInt(_0x480629(0x11f))/0x9);if(_0xee3aa0===_0x7fd64b)break;else _0x207457['push'](_0x207457['shift']());}catch(_0x31f42d){_0x207457['push'](_0x207457['shift']());}}}(a37_0x1fb6,0x24dc4));function a37_0x1fb6(){const _0x1baf1d=['oGTHj','parallelsPerPlatform','failures','GnIIH','launchBuild','mdRcx','jPbfy','null','getInstance','UuMHH','child_process','exports','EHqdy','zgpSe','BROWSERSTACK_TESTHUB_JWT','rktRw','browserstack','testObservability','endsWith','requireModule','resolve','lSRTc','BROWSERSTACK_TEST_OBSERVABILITY_YML','423632HOfkla','cli,browserstack','true','pxegl','GJDsT','pLPZT','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','eagsx','winstonLogger','package.json','error','wWQSa','index.js','Newman\x20CLI\x20not\x20found:\x20','MUqmO','BuNOo','ZjfWZ','run','1711941ewbDdg','iUJXv','cmrMK','42128kMMgio','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','cnXvn','VPlCp','cwd','../../helpers/test-observability/requestQueueHandler','441ZUcrwf','FDvYJ','module','call','MbJGC','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','ANHGY','reporter','992945vUTdEu','NVQov','inherit','../v2/browserstackCLI','BROWSERSTACK_AUTOMATION','newman','assign','EkTIp','Failed\x20to\x20launch\x20build:\x20','length','config','stop','setBrowserstackConfig','exitCode','qciAh','../../helpers/helper','ianSX','FSCfn','WxNxU','RZNOS','env','path','XCAcy','message','jErVD','oZkZd','wTIAa','FnELu','../v2/cliUtils','xiLXG','vgENX','QWISl','../../helpers/testhub/testhubHandler','960474QFKLtj','bootstrap','lIZVV','newman/bin/newman',',browserstack','IedNY','shutdown','xufWK','TeQWo','warn','202142zmITha','false','vLHAp','newman-reporter-browserstack','172ZLHEKS','isRunning','indexOf','configPath','wfjXM','Scaec','LsCRv','.js','concat','Failed\x20to\x20bootstrap\x20CLI:\x20','setFrameworkDetail','ubIiV','../../helpers/logger','slice','dnfSL','VfxqW','join','WVVDa','_resolveFilename','183lJSTPo'];a37_0x1fb6=function(){return _0x1baf1d;};return a37_0x1fb6();}const path=require(a37_0x2fa5c7(0xbf)),Module=require('module'),{fork}=require(a37_0x2fa5c7(0xf7)),logger=require(a37_0x2fa5c7(0xe5))[a37_0x2fa5c7(0x10c)],helper=require(a37_0x2fa5c7(0xb9)),TestHubHandler=require(a37_0x2fa5c7(0xca)),RequestQueueHandler=require(a37_0x2fa5c7(0x11e)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require('../../helpers/test-observability/utils'),BrowserstackCLI=require(a37_0x2fa5c7(0x12a)),CLIUtils=require(a37_0x2fa5c7(0xc6));function registerBrowserStackReporter(){const _0x35329c=a37_0x2fa5c7,_0x572c31={};_0x572c31['vgENX']=function(_0x486779,_0x273673){return _0x486779===_0x273673;},_0x572c31['beszS']=_0x35329c(0xd8),_0x572c31['LsCRv']=_0x35329c(0x126),_0x572c31[_0x35329c(0x102)]=_0x35329c(0x110);const _0x174864=_0x572c31,_0x4147ed=path[_0x35329c(0xe9)](__dirname,_0x174864[_0x35329c(0xdf)],_0x174864['lSRTc']),_0x5418dc=Module[_0x35329c(0xeb)];Module[_0x35329c(0xeb)]=function(_0x147847,_0x348bad,_0x10c6b7,_0x4c5dcd){const _0x3ccfd1=_0x35329c;if(_0x174864[_0x3ccfd1(0xc8)](_0x147847,_0x174864['beszS']))return _0x4147ed;return _0x5418dc[_0x3ccfd1(0x122)](this,_0x147847,_0x348bad,_0x10c6b7,_0x4c5dcd);};}function injectReporterIntoArgs(_0x43f586){const _0x1c2917=a37_0x2fa5c7,_0x436afa={};_0x436afa[_0x1c2917(0x11c)]=function(_0x42a531,_0x296ecc){return _0x42a531<_0x296ecc;},_0x436afa[_0x1c2917(0x12e)]=function(_0x3f5573,_0x1d9775){return _0x3f5573===_0x1d9775;},_0x436afa[_0x1c2917(0xc7)]=function(_0x4ff869,_0x3050e4){return _0x4ff869===_0x3050e4;},_0x436afa[_0x1c2917(0x113)]='--reporters',_0x436afa['XCAcy']=function(_0x2f27de,_0x2cfc86){return _0x2f27de+_0x2cfc86;},_0x436afa['zgpSe']=function(_0x3b3bb2,_0x5e6648){return _0x3b3bb2+_0x5e6648;},_0x436afa[_0x1c2917(0x10b)]=_0x1c2917(0xfd),_0x436afa['MUqmO']=_0x1c2917(0xcf),_0x436afa[_0x1c2917(0x10f)]=_0x1c2917(0x105);const _0x4fae99=_0x436afa,_0x328cf2=_0x43f586[_0x1c2917(0xe6)]();for(let _0x2e22ea=0x0;_0x4fae99['VPlCp'](_0x2e22ea,_0x328cf2[_0x1c2917(0x130)]);_0x2e22ea++){if(_0x4fae99[_0x1c2917(0x12e)](_0x328cf2[_0x2e22ea],'-r')||_0x4fae99[_0x1c2917(0xc7)](_0x328cf2[_0x2e22ea],_0x4fae99[_0x1c2917(0x113)]))return _0x328cf2[_0x4fae99[_0x1c2917(0xc0)](_0x2e22ea,0x1)]&&_0x4fae99[_0x1c2917(0xc7)](_0x328cf2[_0x4fae99[_0x1c2917(0xfa)](_0x2e22ea,0x1)][_0x1c2917(0xdb)](_0x4fae99[_0x1c2917(0x10b)]),-0x1)&&(_0x328cf2[_0x4fae99[_0x1c2917(0xfa)](_0x2e22ea,0x1)]+=_0x4fae99[_0x1c2917(0x112)]),_0x328cf2;}return _0x328cf2['push']('-r',_0x4fae99['wWQSa']),_0x328cf2;}function runNewmanCLI(_0x2dfbb7){const _0x3c13f1=a37_0x2fa5c7,_0x3c45f5={'NVQov':function(_0x3ab4f1,_0x5d155b){return _0x3ab4f1>_0x5d155b;},'rktRw':function(_0x186303,_0x47ea15){return _0x186303(_0x47ea15);},'dnfSL':function(_0x2e9f70,_0x571660,_0x155458){return _0x2e9f70(_0x571660,_0x155458);},'oZkZd':_0x3c13f1(0x12c),'ubIiV':'Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','mdRcx':function(_0x229dc8,_0x2612a0){return _0x229dc8(_0x2612a0);},'MbJGC':function(_0x54fc7b,_0x19a9be){return _0x54fc7b(_0x19a9be);},'CneCt':_0x3c13f1(0x121),'oGTHj':_0x3c13f1(0x10d),'lIZVV':_0x3c13f1(0xce),'wfjXM':'node','jErVD':function(_0x1e0a8d,_0x465220){return _0x1e0a8d+_0x465220;},'UuMHH':_0x3c13f1(0x111)};return new Promise(_0x410dec=>{const _0x3fffd3=_0x3c13f1,_0xf05805={'VfxqW':function(_0x20815f,_0x2df94f){const _0x15dc7d=a37_0x3ef0;return _0x3c45f5[_0x15dc7d(0x128)](_0x20815f,_0x2df94f);},'iUJXv':function(_0x553193,_0x12f853){return _0x3c45f5['rktRw'](_0x553193,_0x12f853);},'Scaec':function(_0x558f76,_0x28c139,_0x25b25d){const _0x18556e=a37_0x3ef0;return _0x3c45f5[_0x18556e(0xe7)](_0x558f76,_0x28c139,_0x25b25d);}};let _0x1dbd5e;try{_0x1dbd5e=helper[_0x3fffd3(0x100)](_0x3c45f5[_0x3fffd3(0xc3)],_0x3c45f5[_0x3fffd3(0xc3)]);}catch(_0x21dd5c){return logger[_0x3fffd3(0x10e)](_0x3c45f5[_0x3fffd3(0xe4)]),_0x3c45f5[_0x3fffd3(0xf2)](_0x410dec,0x1);}const _0x1af12e=_0x1dbd5e[_0x3fffd3(0x115)];_0x1dbd5e[_0x3fffd3(0x115)]=function(_0x293bc9,_0x58b004){const _0x33b4ff=_0x3fffd3;return _0x1dbd5e[_0x33b4ff(0x115)]=_0x1af12e,_0x1af12e[_0x33b4ff(0x122)](_0x1dbd5e,_0x293bc9,(_0x398b60,_0x77e72c)=>{const _0x462fe7=_0x33b4ff,_0x3ac4a2=_0x77e72c&&_0x77e72c[_0x462fe7(0x115)]&&(_0x77e72c[_0x462fe7(0x115)][_0x462fe7(0x10e)]||_0x77e72c[_0x462fe7(0x115)][_0x462fe7(0xef)]&&_0xf05805[_0x462fe7(0xe8)](_0x77e72c[_0x462fe7(0x115)][_0x462fe7(0xef)][_0x462fe7(0x130)],0x0));_0xf05805[_0x462fe7(0x117)](_0x410dec,_0x3ac4a2?0x1:0x0),_0x58b004&&_0xf05805[_0x462fe7(0xde)](_0x58b004,_0x398b60,_0x77e72c);});};try{const _0x37c1af=_0x3c45f5[_0x3fffd3(0x123)](require,_0x3c45f5['CneCt'])['createRequire'](path[_0x3fffd3(0xe9)](process[_0x3fffd3(0x11d)](),_0x3c45f5[_0x3fffd3(0xed)]));_0x3c45f5[_0x3fffd3(0xfc)](_0x37c1af,_0x3c45f5[_0x3fffd3(0xcd)])([_0x3c45f5[_0x3fffd3(0xdd)],_0x3c45f5[_0x3fffd3(0xc3)]][_0x3fffd3(0xe1)](_0x2dfbb7));}catch(_0x178c26){_0x1dbd5e[_0x3fffd3(0x115)]=_0x1af12e,logger['error'](_0x3c45f5[_0x3fffd3(0xc2)](_0x3c45f5[_0x3fffd3(0xf6)],_0x178c26[_0x3fffd3(0xc1)])),_0x3c45f5[_0x3fffd3(0xfc)](_0x410dec,0x1);}});}function runNewmanScript(_0x3fd421,_0x115aeb){const _0x40b7a3=a37_0x2fa5c7,_0x543699={'EHqdy':function(_0x5ba0b6,_0x3cc472){return _0x5ba0b6(_0x3cc472);},'pLPZT':function(_0x1cde9f,_0x2779a9){return _0x1cde9f||_0x2779a9;},'QWISl':function(_0x5e2206,_0x5ca9b3,_0x262f38,_0x438afd){return _0x5e2206(_0x5ca9b3,_0x262f38,_0x438afd);},'hBkss':'scriptRunner.js','RZNOS':_0x40b7a3(0x129),'XZunH':'close'};return new Promise(function(_0x50ff34){const _0x58c939=_0x40b7a3,_0x4c3ce4={'GJDsT':function(_0x4bba97,_0xf5e74f){const _0x324128=a37_0x3ef0;return _0x543699[_0x324128(0xf9)](_0x4bba97,_0xf5e74f);},'TeQWo':function(_0x1b599a,_0x4fea3c){const _0x13eb8=a37_0x3ef0;return _0x543699[_0x13eb8(0x109)](_0x1b599a,_0x4fea3c);}},_0x92f99b=_0x543699[_0x58c939(0xc9)](fork,path[_0x58c939(0xe9)](__dirname,_0x543699['hBkss']),[_0x3fd421,_0x543699[_0x58c939(0xf9)](String,_0x543699[_0x58c939(0x109)](_0x115aeb,0x0))],{'stdio':_0x543699[_0x58c939(0xbd)],'env':Object[_0x58c939(0x12d)]({},process['env'])});_0x92f99b['on'](_0x543699['XZunH'],function(_0x2d551b){const _0x257a26=_0x58c939;_0x4c3ce4[_0x257a26(0x108)](_0x50ff34,_0x4c3ce4[_0x257a26(0xd3)](_0x2d551b,0x0));});});}function hasO11yBuild(){const _0x22bd13=a37_0x2fa5c7,_0x38e019={};_0x38e019[_0x22bd13(0x114)]=function(_0x113896,_0x23a270){return _0x113896!==_0x23a270;},_0x38e019[_0x22bd13(0x120)]=_0x22bd13(0xf4);const _0x231168=_0x38e019;return!!(BrowserstackCLI['O11yHashedID']||process[_0x22bd13(0xbe)][_0x22bd13(0xfb)]&&_0x231168[_0x22bd13(0x114)](process[_0x22bd13(0xbe)][_0x22bd13(0xfb)],_0x231168[_0x22bd13(0x120)]));}function runWithoutObservability(_0x4b9ae4,_0x5684b8){const _0x32ea18=a37_0x2fa5c7,_0x412474={'qciAh':function(_0x194eab,_0x23c55c){return _0x194eab(_0x23c55c);}};if(_0x4b9ae4)return _0x412474[_0x32ea18(0xb8)](require,path[_0x32ea18(0x101)](_0x4b9ae4)),0x0;return _0x412474[_0x32ea18(0xb8)](runNewmanCLI,_0x5684b8);}module[a37_0x2fa5c7(0xf8)]=async function(_0x666e6b,_0x465ce7,_0x5e664e){const _0x540efa=a37_0x2fa5c7,_0x16bf86={'jPbfy':_0x540efa(0xe0),'IedNY':function(_0x4cd18b,_0x35f82f){return _0x4cd18b===_0x35f82f;},'cmrMK':_0x540efa(0xd6),'wTIAa':function(_0x2a1e43,_0x21b002,_0x14d346){return _0x2a1e43(_0x21b002,_0x14d346);},'GnIIH':function(_0x12c24e,_0x7f5a94){return _0x12c24e!=_0x7f5a94;},'KjsfL':_0x540efa(0x106),'ianSX':_0x540efa(0x12c),'ANHGY':function(_0xfd4e78,_0x44e6ba){return _0xfd4e78+_0x44e6ba;},'cnXvn':_0x540efa(0xe2),'vLHAp':_0x540efa(0x12f),'xufWK':function(_0x2a5251){return _0x2a5251();},'FnELu':_0x540efa(0x10a),'OSvyl':function(_0x76fa1b){return _0x76fa1b();},'pxegl':function(_0x1d165a,_0xc7ba22,_0x2ccf15){return _0x1d165a(_0xc7ba22,_0x2ccf15);},'WVVDa':function(_0x1ea1ad,_0x9c8536){return _0x1ea1ad(_0x9c8536);},'FSCfn':function(_0xf11c1f){return _0xf11c1f();},'WxNxU':_0x540efa(0x11a)},_0x185c37=_0x465ce7[_0x540efa(0xe6)](0x1),_0x19221b=_0x185c37[0x0]&&_0x185c37[0x0][_0x540efa(0xff)](_0x16bf86[_0x540efa(0xf3)])?_0x185c37[0x0]:null;if(!_0x5e664e[_0x540efa(0xb4)]||_0x16bf86[_0x540efa(0xd0)](_0x5e664e['config'][_0x540efa(0xfe)],![])||_0x16bf86[_0x540efa(0xd0)](_0x5e664e[_0x540efa(0xb4)][_0x540efa(0xfe)],_0x16bf86['cmrMK'])){process[_0x540efa(0xb7)]=await _0x16bf86[_0x540efa(0xc4)](runWithoutObservability,_0x19221b,_0x185c37)||0x0;return;}process[_0x540efa(0xbe)][_0x540efa(0x12b)]=_0x16bf86[_0x540efa(0x118)],process[_0x540efa(0xbe)][_0x540efa(0x124)]=_0x16bf86[_0x540efa(0x118)],process['env'][_0x540efa(0x103)]=_0x16bf86[_0x540efa(0xf0)](_0x5e664e['config'][_0x540efa(0xfe)],null)?_0x5e664e[_0x540efa(0xb4)][_0x540efa(0xfe)]:_0x16bf86['KjsfL'],CLIUtils[_0x540efa(0xe3)](_0x16bf86[_0x540efa(0xba)],_0x16bf86[_0x540efa(0xba)]),BrowserstackCLI[_0x540efa(0xf5)]()[_0x540efa(0xb6)](_0x5e664e['config'],_0x5e664e[_0x540efa(0xdc)],_0x5e664e['cliConfig']);try{await BrowserstackCLI[_0x540efa(0xf5)]()[_0x540efa(0xcc)]();}catch(_0x4e3021){logger['error'](_0x16bf86['ANHGY'](_0x16bf86[_0x540efa(0x11b)],_0x4e3021[_0x540efa(0xc1)]||_0x4e3021));}if(!BrowserstackCLI[_0x540efa(0xf5)]()[_0x540efa(0xda)]())try{await TestHubHandler[_0x540efa(0xf1)](FRAMEWORKS['NEWMAN'],_0x5e664e);}catch(_0xa22361){logger[_0x540efa(0x10e)](_0x16bf86[_0x540efa(0x125)](_0x16bf86[_0x540efa(0xd7)],_0xa22361['message']||_0xa22361));}!_0x16bf86[_0x540efa(0xd2)](hasO11yBuild)&&logger[_0x540efa(0xd4)](_0x16bf86[_0x540efa(0xc5)]);_0x16bf86['OSvyl'](registerBrowserStackReporter);let _0x51c8ba;_0x19221b?_0x51c8ba=await _0x16bf86[_0x540efa(0x107)](runNewmanScript,_0x19221b,_0x5e664e[_0x540efa(0xb4)][_0x540efa(0xee)]):_0x51c8ba=await _0x16bf86[_0x540efa(0xea)](runNewmanCLI,_0x16bf86['WVVDa'](injectReporterIntoArgs,_0x185c37));try{await TestHubHandler[_0x540efa(0xb5)]();}catch(_0x48143e){}try{await BrowserstackCLI['getInstance']()[_0x540efa(0xb5)]();}catch(_0x2e745a){}try{await RequestQueueHandler[_0x540efa(0xf5)]()[_0x540efa(0xd1)]();}catch(_0x2b171a){}if(_0x16bf86[_0x540efa(0xbb)](hasO11yBuild))try{_0x16bf86[_0x540efa(0xd2)](printBuildLink);}catch(_0x34a82b){}else logger[_0x540efa(0xd4)](_0x16bf86[_0x540efa(0xbc)]);process['exitCode']=_0x51c8ba;};
@@ -0,0 +1 @@
1
+ const a38_0x4dfc66=a38_0x4954;(function(_0xb680e3,_0x486390){const _0x3f48b2=a38_0x4954,_0x9928e7=_0xb680e3();while(!![]){try{const _0x472863=parseInt(_0x3f48b2(0x129))/0x1*(-parseInt(_0x3f48b2(0x11b))/0x2)+-parseInt(_0x3f48b2(0x11a))/0x3*(parseInt(_0x3f48b2(0x11c))/0x4)+-parseInt(_0x3f48b2(0x12a))/0x5*(-parseInt(_0x3f48b2(0x124))/0x6)+-parseInt(_0x3f48b2(0x122))/0x7*(-parseInt(_0x3f48b2(0x125))/0x8)+-parseInt(_0x3f48b2(0x11d))/0x9*(-parseInt(_0x3f48b2(0x126))/0xa)+parseInt(_0x3f48b2(0x121))/0xb*(-parseInt(_0x3f48b2(0x12c))/0xc)+parseInt(_0x3f48b2(0x11f))/0xd;if(_0x472863===_0x486390)break;else _0x9928e7['push'](_0x9928e7['shift']());}catch(_0xb4ed8f){_0x9928e7['push'](_0x9928e7['shift']());}}}(a38_0x54ff,0x95b85));function isNewman(_0x5660de){const _0x5ecde6=a38_0x4954,_0x5768d5={'sVvmx':function(_0x1990a5,_0x2b983b){return _0x1990a5===_0x2b983b;},'tjail':_0x5ecde6(0x12b),'nMSGS':function(_0x181819,_0x10f182){return _0x181819(_0x10f182);},'tTCwx':function(_0x309aae,_0x4be2bd){return _0x309aae||_0x4be2bd;}},_0x1a91bd=process['env'][_0x5ecde6(0x11e)]||'';let _0x28d826='';_0x5660de&&_0x5660de['framework']&&(_0x28d826=_0x5660de['framework']);const _0x452f2d=_0x5768d5[_0x5ecde6(0x128)](_0x1a91bd[_0x5ecde6(0x123)](),_0x5768d5['tjail']),_0xbb9d97=_0x5768d5[_0x5ecde6(0x128)](_0x5768d5['nMSGS'](String,_0x28d826)[_0x5ecde6(0x123)](),_0x5768d5[_0x5ecde6(0x127)]);return _0x5768d5['tTCwx'](_0x452f2d,_0xbb9d97);}function a38_0x54ff(){const _0x67068b=['2245024ZgFZEz','1704NgMPzE','603AGZefK','BROWSERSTACK_FRAMEWORK','8510190RUcnTD','exports','375353MiWEyb','7743974qbssZD','toLowerCase','1542SSNmIA','8eAhxWw','91850cksMLH','tjail','sVvmx','1ZRiMfS','755sUslKu','newman','204dvZkPH','699sVtlwP'];a38_0x54ff=function(){return _0x67068b;};return a38_0x54ff();};function a38_0x4954(_0x290f94,_0x366e6a){const _0x54ff01=a38_0x54ff();return a38_0x4954=function(_0x495416,_0x3970a3){_0x495416=_0x495416-0x11a;let _0x3da34a=_0x54ff01[_0x495416];return _0x3da34a;},a38_0x4954(_0x290f94,_0x366e6a);}const a38_0x37048e={};a38_0x37048e['isNewman']=isNewman,module[a38_0x4dfc66(0x120)]=a38_0x37048e;
@@ -0,0 +1 @@
1
+ 'use strict';const a39_0x1c48f6=a39_0x2184;(function(_0x596805,_0x49605d){const _0x6d9bb0=a39_0x2184,_0x31bfc1=_0x596805();while(!![]){try{const _0xb3fdb5=-parseInt(_0x6d9bb0(0x1c4))/0x1+-parseInt(_0x6d9bb0(0x294))/0x2*(-parseInt(_0x6d9bb0(0x237))/0x3)+parseInt(_0x6d9bb0(0x1d2))/0x4+parseInt(_0x6d9bb0(0x279))/0x5+parseInt(_0x6d9bb0(0x202))/0x6*(parseInt(_0x6d9bb0(0x204))/0x7)+parseInt(_0x6d9bb0(0x1b3))/0x8+-parseInt(_0x6d9bb0(0x22f))/0x9;if(_0xb3fdb5===_0x49605d)break;else _0x31bfc1['push'](_0x31bfc1['shift']());}catch(_0x3e2359){_0x31bfc1['push'](_0x31bfc1['shift']());}}}(a39_0x4f18,0xd7d30));const path=require(a39_0x1c48f6(0x1d5)),{v4:uuidv4}=require('uuid'),SessionHandler=require(a39_0x1c48f6(0x23d)),{debug}=require(a39_0x1c48f6(0x1e4)),logger=require('../../../helpers/logger')[a39_0x1c48f6(0x250)],BrowserstackCLI=require('../../v2/browserstackCLI'),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a39_0x1c48f6(0x212)),HookState=require(a39_0x1c48f6(0x281)),LOG_LEVELS=[a39_0x1c48f6(0x221),a39_0x1c48f6(0x218),a39_0x1c48f6(0x278),a39_0x1c48f6(0x276),'TRACE'];function isCLIRunning(){const _0x4a6739=a39_0x1c48f6;try{return BrowserstackCLI[_0x4a6739(0x253)]()[_0x4a6739(0x1a8)]();}catch(_0x294d9b){return![];}}function a39_0x4f18(){const _0x4cc811=['[Newman\x20Reporter]\x20emitLog\x20error:\x20','../../../helpers/test-observability/sessionHandler','POST','No\x20HTTP\x20response\x20received','erueC','err','\x20(no\x20assertions)','\x20—\x20response\x20status\x20in\x20failure\x20range','toISOString','TEST_LOG','VRJDK','maRoV','assert','kpdRU','pjtEa','dzlOS','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','durationMs','url','lZzKN','winstonLogger','push','LRZOw','getInstance','TbsIQ','duration_ms','response','test_run_uuid','apply','result','uuid','hczKR','collectionPath','failure','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','NYohi','GRyks','PeuIT','Script\x20error\x20(','AssertionError','bufferedLogs','logs','stringify','[Newman\x20Reporter]\x20emitTest\x20error:\x20','InQJP','zzLlu','UghIt','failureType','get','http://','delete','fBOKd','UsDFI','join','startedAt','LRckX','max','Assertion\x20','DEBUG','collection','ERROR','2484965iDSsmV','messages','tpiys','lastResponseCode','uYuKJ','cwd','SfVbk','rlWME','../../v2/state/hookState','ZfXup','stack','RTzib','indexOf','object','VTDjl','collectionName','wyVYD','wUPZz','FQdvM','platformIndex','failureReason','gwpXN','eQLoa','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','EhscA','kind','PCZoK','859766GnIsdx','httpLog','prZGj','logCreatedEvent','OFlwO','NTlaW','code','identifier','fCtBs','zdMeg','isRunning','bs:addLog:','jOqGt','message','console','cfpSB','lMTGE','PXCVc','ctUEZ','status_code','COPps','10988192CBkLFj','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','hAEcl','trackEvent','KmhoN','NmJYW','fxQNw','event_type','IOAtn','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','sSGHr','NBtBq','pid','Klsqp','lmUDm','MBOCL','aTjEr','690763ewpQiB','length','bQxHM','hostname','Oyvsp','newman','done','unknown','argv','relative','location','collection.json','HGYrJ','JKDuY','6276752LYcKmk','removeListener','FxgHv','path','lHcCq','cyMtx','WfioC','passed','ZQJqr','host','dtejZ','iteration','\x20(HTTP\x20','parent','xrkkF','timestamp','includes','McWtl','../../../helpers/test-observability/utils','exports','NxFSf','request','wMWmF','item','FMidT','uRKLh','ASFYz','concat','VdShf','eftoc','beforeIteration','method','startsWith','KyGBs','MsEWx','cursor','itemName','GgxCk','jBHeW','N/A','error','getTime','jdIMK','zWpiA','headers','run','Exception:\x20','uploadEventData','6xTkULs','clear','3393292KPPkjS','scopes','uJOJU','forEach','IOyEq','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','responseTime','toUpperCase','test_run','UnhandledError','ref','yzypw','HTTP','uFRRn','../../v2/state/testFrameworkState','resolve','LogCreated','now','pECix','http_response','WARN','\x20->\x20','finishedAt','utuGf','KSiRz','DVhKP','kIivM','kgjPb','backtrace','INFO','toString','info','nLACS','beforeItem','TestRunFinished','event','failure_backtrace','name','testFrameworkState','JQMNT','level','string','assertion','32753979CJQKND','pending','PRE','gHYOM','aKxEU','assertions','MXJSn','sfkLm','9FbOiXs','GET','pathname','HXekn','cqPWR'];a39_0x4f18=function(){return _0x4cc811;};return a39_0x4f18();}function getParentTitles(_0x243b1a){const _0x34ff38=a39_0x1c48f6,_0x5ab965={'TbsIQ':function(_0x4e6393,_0x38116b){return _0x4e6393(_0x38116b);},'KSiRz':function(_0x2bcb6a,_0x2c7a2c){return _0x2bcb6a(_0x2c7a2c);}},_0x37c588=[],_0x3c851b=_0x243b1a[_0x34ff38(0x1df)]();return _0x3c851b&&_0x37c588[_0x34ff38(0x251)][_0x34ff38(0x258)](_0x37c588,_0x5ab965[_0x34ff38(0x254)](getParentTitles,_0x3c851b)),_0x243b1a[_0x34ff38(0x229)]&&_0x37c588[_0x34ff38(0x251)](_0x5ab965[_0x34ff38(0x21c)](String,_0x243b1a[_0x34ff38(0x229)])),_0x37c588;}function normalizeLogLevel(_0x232ee6){const _0x4a0b83=a39_0x1c48f6,_0x373cfd={};_0x373cfd[_0x4a0b83(0x261)]=_0x4a0b83(0x221),_0x373cfd[_0x4a0b83(0x21e)]=function(_0x3c6bcc,_0x2c1090){return _0x3c6bcc!==_0x2c1090;};const _0x584f93=_0x373cfd;if(!_0x232ee6)return _0x584f93['PeuIT'];const _0x112f88=_0x232ee6[_0x4a0b83(0x20b)]();return _0x584f93[_0x4a0b83(0x21e)](LOG_LEVELS[_0x4a0b83(0x285)](_0x112f88),-0x1)?_0x112f88:_0x584f93[_0x4a0b83(0x261)];}function resolveCollectionFile(_0x555f2e,_0x305170){const _0x53ba46=a39_0x1c48f6,_0x54f7af={};_0x54f7af[_0x53ba46(0x270)]=function(_0x399bc0,_0x15aa07){return _0x399bc0===_0x15aa07;},_0x54f7af['JQMNT']=_0x53ba46(0x22d),_0x54f7af[_0x53ba46(0x28a)]=_0x53ba46(0x1ff),_0x54f7af[_0x53ba46(0x280)]=function(_0x51a4e6,_0x93bb8a){return _0x51a4e6!==_0x93bb8a;},_0x54f7af[_0x53ba46(0x246)]=function(_0x52150b,_0x44c1a3){return _0x52150b<_0x44c1a3;},_0x54f7af[_0x53ba46(0x1f7)]=function(_0x38d578,_0x485beb){return _0x38d578+_0x485beb;},_0x54f7af[_0x53ba46(0x291)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0x54f7af[_0x53ba46(0x282)]=_0x53ba46(0x1cf);const _0x49ea2c=_0x54f7af;try{if(_0x305170&&_0x305170[_0x53ba46(0x25c)])return path['relative'](process[_0x53ba46(0x27e)](),path[_0x53ba46(0x213)](_0x305170[_0x53ba46(0x25c)]));const _0x21f4fb=_0x555f2e['collection'];if(_0x49ea2c[_0x53ba46(0x270)](typeof _0x21f4fb,_0x49ea2c[_0x53ba46(0x22b)]))return path[_0x53ba46(0x1cd)](process[_0x53ba46(0x27e)](),path[_0x53ba46(0x213)](_0x21f4fb));const _0x5029e9=process[_0x53ba46(0x1cc)][_0x53ba46(0x285)](_0x49ea2c[_0x53ba46(0x28a)]);if(_0x49ea2c[_0x53ba46(0x280)](_0x5029e9,-0x1)&&_0x49ea2c[_0x53ba46(0x246)](_0x49ea2c['GgxCk'](_0x5029e9,0x1),process['argv'][_0x53ba46(0x1c5)])){const _0x32fa04=process[_0x53ba46(0x1cc)][_0x49ea2c[_0x53ba46(0x1f7)](_0x5029e9,0x1)];if(_0x32fa04&&!_0x32fa04[_0x53ba46(0x1f2)]('-'))return path[_0x53ba46(0x1cd)](process[_0x53ba46(0x27e)](),path[_0x53ba46(0x213)](_0x32fa04));}}catch(_0x355489){}return logger['info'](_0x49ea2c[_0x53ba46(0x291)]),_0x49ea2c[_0x53ba46(0x282)];}function resolveCollectionName(_0xcf87f6){const _0xf65fa=a39_0x1c48f6,_0x41aab9={};_0x41aab9['DjcGE']=function(_0x3ade02,_0x4367a9){return _0x3ade02===_0x4367a9;},_0x41aab9['eftoc']=_0xf65fa(0x286);const _0x58d2db=_0x41aab9;try{const _0x3f20c1=_0xcf87f6[_0xf65fa(0x277)];if(_0x3f20c1&&_0x58d2db['DjcGE'](typeof _0x3f20c1,_0x58d2db[_0xf65fa(0x1ef)]))return _0x3f20c1['name']||_0x3f20c1[_0xf65fa(0x223)]&&_0x3f20c1[_0xf65fa(0x223)][_0xf65fa(0x229)]||null;}catch(_0x478004){}return null;}function emitTest(_0x5f28ba,_0x5bab8c,_0x563d3b,_0x438f64,_0x520960){const _0x2989c6=a39_0x1c48f6,_0x267cd8={'MsEWx':function(_0x29f8ff){return _0x29f8ff();},'dtejZ':_0x2989c6(0x230),'lHcCq':function(_0x2fc3c8,_0x792928){return _0x2fc3c8(_0x792928);},'kpdRU':_0x2989c6(0x1c9),'xrkkF':'javascript','kgjPb':function(_0x32bfce,_0x9edec7){return _0x32bfce!=_0x9edec7;},'cfpSB':function(_0x40aac1,_0x261e29){return _0x40aac1===_0x261e29;},'uFRRn':'TestRunStarted','lmUDm':_0x2989c6(0x226)};if(_0x267cd8[_0x2989c6(0x1f4)](isCLIRunning))try{const _0x13f228=BrowserstackCLI['getInstance']()['getTestFramework']();if(!_0x13f228)return;_0x13f228[_0x2989c6(0x1b6)](TestFrameworkState['TEST'],_0x5f28ba,{'test':{'uuid':_0x5bab8c['uuid'],'name':_0x5bab8c[_0x2989c6(0x229)],'scopes':_0x563d3b[_0x2989c6(0x205)],'scope':_0x563d3b[_0x2989c6(0x205)][_0x2989c6(0x271)]('\x20'),'file_path':_0x438f64,'location':_0x563d3b[_0x2989c6(0x288)],'started_at':_0x563d3b[_0x2989c6(0x272)],'finished_at':_0x520960[_0x2989c6(0x21a)]||null,'result':_0x520960[_0x2989c6(0x259)]||_0x267cd8[_0x2989c6(0x1dc)],'failure':_0x520960[_0x2989c6(0x25d)]||[],'failure_type':_0x520960['failureType']||null,'failure_reason':_0x520960[_0x2989c6(0x28d)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x301358){_0x267cd8[_0x2989c6(0x1d6)](debug,_0x2989c6(0x267)+_0x301358);}else{const _0x510b15={'uuid':_0x5bab8c[_0x2989c6(0x25a)],'name':_0x5bab8c[_0x2989c6(0x229)],'framework':_0x267cd8[_0x2989c6(0x249)],'body':{'lang':_0x267cd8[_0x2989c6(0x1e0)],'code':null},'scope':_0x563d3b[_0x2989c6(0x205)][_0x2989c6(0x271)]('\x20'),'scopes':_0x563d3b[_0x2989c6(0x205)],'identifier':_0x5bab8c[_0x2989c6(0x1a5)],'file_name':_0x563d3b[_0x2989c6(0x288)],'vc_filepath':_0x563d3b[_0x2989c6(0x1ce)],'location':_0x563d3b[_0x2989c6(0x1ce)],'started_at':_0x563d3b[_0x2989c6(0x272)],'finished_at':_0x520960[_0x2989c6(0x21a)]||null,'duration_in_ms':_0x267cd8[_0x2989c6(0x21f)](_0x520960[_0x2989c6(0x24d)],null)?Math[_0x2989c6(0x274)](0x0,_0x520960['durationMs']):null,'result':_0x520960['result']||_0x267cd8[_0x2989c6(0x1dc)],'failure_reason':_0x520960[_0x2989c6(0x28d)]||null,'failure_type':_0x520960['failureType']||null,'failure':_0x520960['failure']||[],'retry_of':null,'hooks':[]};_0x510b15['failure'][0x0]&&(_0x510b15[_0x2989c6(0x228)]=_0x510b15[_0x2989c6(0x25d)][0x0][_0x2989c6(0x220)],_0x510b15['failure_reason_expanded']=_0x510b15['failure'][0x0]['expanded']);const _0xadd50f=_0x267cd8[_0x2989c6(0x1ad)](_0x5f28ba,HookState[_0x2989c6(0x231)])?_0x267cd8[_0x2989c6(0x211)]:_0x267cd8[_0x2989c6(0x1c1)],_0xffe447={};_0xffe447[_0x2989c6(0x1ba)]=_0xadd50f,_0xffe447[_0x2989c6(0x20c)]=_0x510b15,SessionHandler[_0x2989c6(0x201)](_0xffe447);}}function emitLog(_0x3b3793,_0x1dd0e8){const _0x1665e5=a39_0x1c48f6,_0x362b7f={'oYliG':_0x1665e5(0x245),'nuGop':function(_0x1e7170){return _0x1e7170();},'pECix':function(_0x4933d7,_0x188610){return _0x4933d7===_0x188610;},'MXJSn':_0x1665e5(0x210),'FQdvM':'newman','WfioC':'TEST','KmhoN':_0x1665e5(0x221),'pjtEa':function(_0x54ee37,_0x481c8f){return _0x54ee37(_0x481c8f);},'VTDjl':function(_0xf06d61,_0x2cc880){return _0xf06d61+_0x2cc880;},'McWtl':_0x1665e5(0x23c),'nKyXH':_0x1665e5(0x214)},_0x3aec32=_0x1dd0e8['kind']||_0x362b7f['oYliG'],_0x29ff7c=_0x1dd0e8[_0x1665e5(0x1e1)]||new Date()[_0x1665e5(0x244)]();if(_0x362b7f['nuGop'](isCLIRunning))try{const _0x21a1ed=_0x362b7f[_0x1665e5(0x216)](_0x3aec32,_0x362b7f[_0x1665e5(0x235)])?JSON[_0x1665e5(0x266)](_0x1dd0e8):_0x1dd0e8[_0x1665e5(0x1ab)]||'',_0x5b6513={};_0x5b6513[_0x1665e5(0x28c)]=0x0,_0x5b6513['testFrameworkName']=_0x362b7f[_0x1665e5(0x28b)],_0x5b6513['testFrameworkVersion']='',_0x5b6513[_0x1665e5(0x22a)]=_0x362b7f[_0x1665e5(0x1d8)],_0x5b6513['logs']=[{'uuid':_0x3b3793,'timestamp':_0x29ff7c,'kind':_0x3aec32,'level':_0x1dd0e8['level']||_0x362b7f[_0x1665e5(0x1b7)],'message':_0x21a1ed}],GrpcClient[_0x1665e5(0x253)]()[_0x1665e5(0x297)](_0x5b6513);}catch(_0xbad4b5){_0x362b7f[_0x1665e5(0x24a)](debug,_0x362b7f[_0x1665e5(0x287)](_0x362b7f[_0x1665e5(0x1e3)],_0xbad4b5));}else{const _0x1850e1={};_0x1850e1[_0x1665e5(0x257)]=_0x3b3793,_0x1850e1[_0x1665e5(0x1e1)]=_0x29ff7c,_0x1850e1['level']=_0x1dd0e8[_0x1665e5(0x22c)]||null,_0x1850e1[_0x1665e5(0x1ab)]=_0x1dd0e8['message']||null,_0x1850e1[_0x1665e5(0x292)]=_0x3aec32,_0x1850e1[_0x1665e5(0x217)]=_0x1dd0e8['http_response']||{};const _0x44ab3d={};_0x44ab3d[_0x1665e5(0x1ba)]=_0x362b7f['nKyXH'],_0x44ab3d[_0x1665e5(0x265)]=[_0x1850e1],SessionHandler['uploadEventData'](_0x44ab3d);}}function a39_0x2184(_0x46b333,_0x76ce21){const _0x4f184e=a39_0x4f18();return a39_0x2184=function(_0x2184db,_0x2e7e12){_0x2184db=_0x2184db-0x1a2;let _0x1f8105=_0x4f184e[_0x2184db];return _0x1f8105;},a39_0x2184(_0x46b333,_0x76ce21);}function BrowserStackNewmanReporter(_0x287369,_0x5a6b76,_0x20b3ac){const _0x543f05=a39_0x1c48f6,_0x2444bf={'NxFSf':function(_0x42de42,_0x5b8915,_0x232d1d){return _0x42de42(_0x5b8915,_0x232d1d);},'ahWqD':function(_0x1b0973,_0x26e285){return _0x1b0973(_0x26e285);},'jBHeW':function(_0x34f263,_0x2f54f1){return _0x34f263(_0x2f54f1);},'jdIMK':function(_0x4ba263,_0x358652){return _0x4ba263>_0x358652;},'cqPWR':function(_0x1a1267,_0x4790c4){return _0x1a1267(_0x4790c4);},'sfkLm':'http','eQLoa':function(_0xa51160,_0x544f7d){return _0xa51160+_0x544f7d;},'OFlwO':_0x543f05(0x238),'yzypw':function(_0x2ab6d6,_0x2ab30f){return _0x2ab6d6(_0x2ab30f);},'zWpiA':_0x543f05(0x245),'bQxHM':function(_0x137002){return _0x137002();},'VdShf':function(_0x4977ef,_0x36690c){return _0x4977ef||_0x36690c;},'DVhKP':function(_0x35b450,_0x288e3d,_0x17f68b,_0x290ddb,_0x468f72,_0x24d99b){return _0x35b450(_0x288e3d,_0x17f68b,_0x290ddb,_0x468f72,_0x24d99b);},'RTzib':function(_0x47ded0,_0x19adea){return _0x47ded0===_0x19adea;},'zzLlu':function(_0x50f1ee,_0x59f161){return _0x50f1ee>_0x59f161;},'hAEcl':function(_0xf9cfb7,_0x2eefc9,_0x5ec954){return _0xf9cfb7(_0x2eefc9,_0x5ec954);},'PXCVc':'HTTP','SfVbk':function(_0x3d376c,_0x2153e3){return _0x3d376c+_0x2153e3;},'InQJP':function(_0x58c919,_0x24c313){return _0x58c919+_0x24c313;},'fxQNw':function(_0x132e28,_0x1c09a2){return _0x132e28+_0x1c09a2;},'maRoV':function(_0x2612d2,_0x379bcf){return _0x2612d2+_0x379bcf;},'NYohi':_0x543f05(0x219),'hczKR':'ms)','fBOKd':function(_0x10c539,_0x326afc,_0x14b7ca){return _0x10c539(_0x326afc,_0x14b7ca);},'IOAtn':_0x543f05(0x221),'ctUEZ':function(_0x577ea9,_0x392c92){return _0x577ea9(_0x392c92);},'GRyks':function(_0x593d24,_0x5930d2){return _0x593d24-_0x5930d2;},'nLACS':function(_0x20d22d,_0x188630,_0x4ee34d){return _0x20d22d(_0x188630,_0x4ee34d);},'kOdBq':function(_0x1e65c8,_0x3db8ef){return _0x1e65c8&&_0x3db8ef;},'MBOCL':function(_0x3ff43e,_0x7c437b){return _0x3ff43e>_0x7c437b;},'UghIt':function(_0x4cc5e5,_0x511f0d){return _0x4cc5e5-_0x511f0d;},'utuGf':function(_0x430b28,_0x1ee4cb,_0x1fcb8d){return _0x430b28(_0x1ee4cb,_0x1fcb8d);},'IOyEq':_0x543f05(0x200),'tpiys':'ERROR','NTlaW':function(_0x3cdf10,_0x2f135b){return _0x3cdf10(_0x2f135b);},'NBtBq':function(_0x3fa9d6,_0xba6821){return _0x3fa9d6+_0xba6821;},'NmJYW':_0x543f05(0x290),'COPps':function(_0x39aab1,_0x39289a){return _0x39aab1-_0x39289a;},'uYuKJ':_0x543f05(0x1cb),'dzlOS':function(_0x48a9c6,_0x16bf53,_0x34edb0){return _0x48a9c6(_0x16bf53,_0x34edb0);},'Klsqp':function(_0x5eaa67,_0x4b4b9d){return _0x5eaa67+_0x4b4b9d;},'aTjEr':function(_0x1f9e5c,_0x59f7a9){return _0x1f9e5c+_0x59f7a9;},'gwpXN':_0x543f05(0x262),'YOcxN':'):\x20','LRZOw':function(_0x2cbb40,_0xddfda4){return _0x2cbb40+_0xddfda4;},'GWWqo':_0x543f05(0x1b4),'sSGHr':'failed','ASFYz':_0x543f05(0x1d9),'uJOJU':_0x543f05(0x263),'PCZoK':_0x543f05(0x248),'lMTGE':_0x543f05(0x20d),'LRckX':function(_0x1533a3,_0x4170c1,_0x40f865,_0x3f2681,_0x42789b,_0x37eadf){return _0x1533a3(_0x4170c1,_0x40f865,_0x3f2681,_0x42789b,_0x37eadf);},'JowOF':function(_0x523d67,_0x1a2d69){return _0x523d67>_0x1a2d69;},'nehrv':function(_0x356432){return _0x356432();},'uRKLh':function(_0x1b0ca8,_0x249a54){return _0x1b0ca8!=_0x249a54;},'JKXYI':function(_0x8979db,_0x4f4f2a){return _0x8979db>=_0x4f4f2a;},'vkJfv':function(_0x46997b,_0xac7667){return _0x46997b<_0xac7667;},'Oyvsp':_0x543f05(0x1f9),'ZnseW':_0x543f05(0x23f),'ZQJqr':function(_0x494063,_0x540d99,_0x5ee173,_0x342f5d,_0x509bf4,_0x3e5aff){return _0x494063(_0x540d99,_0x5ee173,_0x342f5d,_0x509bf4,_0x3e5aff);},'erueC':function(_0x4ce8e5,_0x53a1af){return _0x4ce8e5+_0x53a1af;},'HXekn':function(_0xb8f534,_0x508e9f){return _0xb8f534+_0x508e9f;},'lZzKN':function(_0x3304fe,_0x5d8d42){return _0x3304fe+_0x5d8d42;},'cyMtx':function(_0x18cef9,_0x35efa2){return _0x18cef9+_0x35efa2;},'mJgpr':function(_0x291966,_0x3484ba){return _0x291966+_0x3484ba;},'gHYOM':'HTTP\x20Status:\x20','wKcSI':_0x543f05(0x242),'FxgHv':function(_0x49fa1d,_0x320f95,_0x2da266,_0x563fad,_0x497f26,_0x2d2abf){return _0x49fa1d(_0x320f95,_0x2da266,_0x563fad,_0x497f26,_0x2d2abf);},'KVSjq':function(_0x5d0179,_0x3daa7a){return _0x5d0179(_0x3daa7a);},'iAyMp':_0x543f05(0x1ca),'pLvHf':_0x543f05(0x1f0),'prZGj':_0x543f05(0x225),'FMidT':'request','wMWmF':_0x543f05(0x22e),'aKxEU':_0x543f05(0x1ac),'fCtBs':'exception','jOqGt':'script','wyVYD':_0x543f05(0x1e9)},_0x3c4fb3=new Map();let _0x36240c=null,_0x378df9=0x0;const _0x38a3a6=_0x2444bf[_0x543f05(0x224)](resolveCollectionFile,_0x20b3ac,_0x5a6b76),_0x3adeaa=_0x2444bf[_0x543f05(0x23b)](resolveCollectionName,_0x20b3ac)||_0x38a3a6,_0x28db07=path['resolve'](_0x38a3a6),_0x57eb74=_0x543f05(0x1a9)+process[_0x543f05(0x1bf)],_0x477e62=_0x3d7ebf=>{const _0x16a3b4=_0x543f05;try{_0x36240c&&_0x2444bf[_0x16a3b4(0x1e6)](emitLog,_0x36240c,_0x3d7ebf);}catch(_0x3c23e2){_0x2444bf['ahWqD'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0x3c23e2);}};process['on'](_0x57eb74,_0x477e62),_0x287369['on'](_0x2444bf['iAyMp'],()=>{const _0x1acb30=_0x543f05;process[_0x1acb30(0x1d3)](_0x57eb74,_0x477e62),_0x3c4fb3[_0x1acb30(0x203)]();}),_0x287369['on'](_0x2444bf['pLvHf'],(_0x493819,_0x1ca2e4)=>{const _0x35c680=_0x543f05;_0x1ca2e4&&_0x1ca2e4[_0x35c680(0x1f5)]&&(_0x378df9=_0x1ca2e4[_0x35c680(0x1f5)][_0x35c680(0x1dd)]||0x0);}),_0x287369['on'](_0x2444bf[_0x543f05(0x296)],(_0x3fb19a,_0x32569)=>{const _0x43ccfd=_0x543f05;try{_0x36240c=null;const _0x12126c=_0x32569[_0x43ccfd(0x1e9)],_0x529c30=_0x12126c[_0x43ccfd(0x1df)]()?_0x2444bf[_0x43ccfd(0x1f8)](getParentTitles,_0x12126c[_0x43ccfd(0x1df)]()):[],_0x2c0944=_0x2444bf[_0x43ccfd(0x1fc)](_0x529c30['length'],0x1)?_0x529c30['slice'](0x1):_0x529c30,_0x26f264=_0x32569['cursor']&&_0x32569[_0x43ccfd(0x1f5)][_0x43ccfd(0x20e)],_0x1e6cdf={'itemName':_0x12126c[_0x43ccfd(0x229)],'scopes':_0x2c0944['concat']([_0x12126c['name']]),'location':_0x38a3a6,'collectionName':_0x3adeaa,'startedAt':new Date()[_0x43ccfd(0x244)](),'startTimestamp':Date[_0x43ccfd(0x215)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x3c4fb3['set'](_0x12126c['id']+'_'+_0x378df9,_0x1e6cdf),_0x26f264&&_0x3c4fb3['set'](_0x26f264+'_'+_0x378df9,_0x1e6cdf);}catch(_0x12163b){_0x2444bf[_0x43ccfd(0x23b)](debug,_0x43ccfd(0x1bc)+_0x12163b);}}),_0x287369['on'](_0x2444bf[_0x543f05(0x1ea)],(_0x332755,_0x5ba9a7)=>{const _0x2f78dc=_0x543f05;try{if(!_0x5ba9a7||!_0x5ba9a7['item'])return;const _0x1be57c=_0x3c4fb3[_0x2f78dc(0x26c)](_0x5ba9a7[_0x2f78dc(0x1e9)]['id']+'_'+_0x378df9);if(!_0x1be57c)return;_0x5ba9a7['response']&&(_0x1be57c[_0x2f78dc(0x27c)]=_0x5ba9a7['response'][_0x2f78dc(0x1a4)]||null);if(!_0x5ba9a7[_0x2f78dc(0x1e7)])return;let _0x2d34c3='',_0x4a2dec='';if(_0x5ba9a7[_0x2f78dc(0x1e7)][_0x2f78dc(0x24e)])try{const _0x962e62=_0x5ba9a7['request'][_0x2f78dc(0x24e)]['toString'](),_0x510064=new URL(_0x962e62[_0x2f78dc(0x1f2)](_0x2444bf[_0x2f78dc(0x236)])?_0x962e62:_0x2f78dc(0x26d)+_0x962e62);_0x2d34c3=_0x510064[_0x2f78dc(0x1c7)],_0x4a2dec=_0x2444bf[_0x2f78dc(0x28f)](_0x510064[_0x2f78dc(0x239)],_0x510064['search']);}catch(_0x44e1d8){_0x4a2dec=_0x5ba9a7[_0x2f78dc(0x1e7)][_0x2f78dc(0x24e)][_0x2f78dc(0x222)]();}const _0x35bc17={};_0x35bc17[_0x2f78dc(0x1db)]=_0x2d34c3,_0x35bc17['path']=_0x4a2dec,_0x35bc17[_0x2f78dc(0x1f1)]=_0x5ba9a7[_0x2f78dc(0x1e7)][_0x2f78dc(0x1f1)]||_0x2444bf[_0x2f78dc(0x1a2)],_0x35bc17[_0x2f78dc(0x1fe)]={},_0x35bc17[_0x2f78dc(0x1b1)]=_0x5ba9a7[_0x2f78dc(0x256)]?_0x5ba9a7[_0x2f78dc(0x256)][_0x2f78dc(0x1a4)]||0x0:0x0,_0x35bc17['duration_ms']=_0x5ba9a7[_0x2f78dc(0x256)]?_0x5ba9a7[_0x2f78dc(0x256)][_0x2f78dc(0x20a)]||0x0:0x0,_0x1be57c[_0x2f78dc(0x295)]=_0x35bc17;}catch(_0x39ff86){_0x2444bf[_0x2f78dc(0x20f)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0x39ff86);}}),_0x287369['on'](_0x2444bf[_0x543f05(0x1e8)],(_0x4cff0b,_0xcc8dad)=>{const _0x244498=_0x543f05,_0x1b70af={'JKDuY':function(_0x1c3ce1,_0x2d114e,_0x31e1b2){return _0x2444bf['NxFSf'](_0x1c3ce1,_0x2d114e,_0x31e1b2);},'KyGBs':_0x2444bf[_0x244498(0x1fd)]};try{if(!_0xcc8dad||!_0xcc8dad[_0x244498(0x1e9)])return;const _0x52032f=_0x3c4fb3[_0x244498(0x26c)](_0xcc8dad[_0x244498(0x1e9)]['id']+'_'+_0x378df9);if(!_0x52032f)return;const _0x2b9228=_0xcc8dad[_0x244498(0x22e)]||_0x244498(0x275)+_0x2444bf['eQLoa'](_0x52032f[_0x244498(0x234)][_0x244498(0x1c5)],0x1),_0x436336=_0x2444bf[_0x244498(0x1c6)](uuidv4),_0x4bbcd9=_0x52032f['scopes'][_0x244498(0x1ed)]([_0x2b9228])[_0x244498(0x271)]('\x20');_0x52032f['assertions'][_0x244498(0x251)]({'uuid':_0x436336,'name':_0x2b9228,'identifier':_0x4bbcd9,'err':_0x2444bf[_0x244498(0x1ee)](_0x4cff0b,null)});const _0x372cc6={};_0x372cc6['uuid']=_0x436336,_0x372cc6[_0x244498(0x229)]=_0x2b9228,_0x372cc6['identifier']=_0x4bbcd9,_0x2444bf[_0x244498(0x21d)](emitTest,HookState[_0x244498(0x231)],_0x372cc6,_0x52032f,_0x28db07,{});_0x2444bf[_0x244498(0x284)](_0x52032f['assertions']['length'],0x1)&&_0x2444bf[_0x244498(0x269)](_0x52032f[_0x244498(0x264)][_0x244498(0x1c5)],0x0)&&(_0x52032f[_0x244498(0x264)][_0x244498(0x207)](_0x590a2c=>{const _0x33e079=_0x244498;_0x1b70af[_0x33e079(0x1d1)](emitLog,_0x436336,{'kind':_0x1b70af[_0x33e079(0x1f3)],'message':_0x590a2c[_0x33e079(0x1ab)],'level':_0x590a2c[_0x33e079(0x22c)]});}),_0x52032f[_0x244498(0x264)]=[]);if(_0x52032f['httpLog']){_0x2444bf[_0x244498(0x1b5)](emitLog,_0x436336,{'kind':_0x2444bf['PXCVc'],'http_response':_0x52032f[_0x244498(0x295)]});const _0xdec252=_0x2444bf[_0x244498(0x27f)](_0x2444bf[_0x244498(0x268)](_0x2444bf['eQLoa'](_0x2444bf[_0x244498(0x1b9)](_0x2444bf[_0x244498(0x247)](_0x2444bf[_0x244498(0x1b9)](_0x2444bf[_0x244498(0x28f)](_0x2444bf[_0x244498(0x1b9)](_0x52032f['httpLog'][_0x244498(0x1f1)]||_0x2444bf[_0x244498(0x1a2)],'\x20'),_0x52032f[_0x244498(0x295)][_0x244498(0x1db)]),_0x52032f[_0x244498(0x295)][_0x244498(0x1d5)]),_0x2444bf[_0x244498(0x25f)]),_0x52032f[_0x244498(0x295)][_0x244498(0x1b1)]),'\x20('),_0x52032f[_0x244498(0x295)]['duration_ms']),_0x2444bf[_0x244498(0x25b)]);_0x2444bf[_0x244498(0x26f)](emitLog,_0x436336,{'kind':_0x2444bf['zWpiA'],'message':_0xdec252,'level':_0x2444bf[_0x244498(0x1bb)]});}_0x36240c=_0x436336;}catch(_0x3b5595){_0x2444bf[_0x244498(0x1b0)](debug,_0x244498(0x24c)+_0x3b5595);}}),_0x287369['on'](_0x2444bf[_0x543f05(0x233)],(_0x32e6f1,_0x5e5639)=>{const _0x7579fe=_0x543f05;try{if(!_0x5e5639)return;let _0x53dbaf=_0x36240c;if(!_0x53dbaf&&_0x5e5639[_0x7579fe(0x1f5)]&&_0x5e5639[_0x7579fe(0x1f5)]['ref']){const _0x1c917e=_0x3c4fb3['get'](_0x5e5639[_0x7579fe(0x1f5)][_0x7579fe(0x20e)]+'_'+_0x378df9);_0x1c917e&&_0x2444bf[_0x7579fe(0x1fc)](_0x1c917e[_0x7579fe(0x234)][_0x7579fe(0x1c5)],0x0)&&(_0x53dbaf=_0x1c917e[_0x7579fe(0x234)][_0x2444bf[_0x7579fe(0x260)](_0x1c917e['assertions'][_0x7579fe(0x1c5)],0x1)][_0x7579fe(0x25a)]);}const _0x2e019d=_0x5e5639[_0x7579fe(0x27a)]?_0x5e5639[_0x7579fe(0x27a)][_0x7579fe(0x271)](',\x20'):'';if(_0x53dbaf)_0x2444bf[_0x7579fe(0x224)](emitLog,_0x53dbaf,{'kind':_0x2444bf[_0x7579fe(0x1fd)],'message':_0x2e019d,'level':_0x2444bf[_0x7579fe(0x1b0)](normalizeLogLevel,_0x5e5639[_0x7579fe(0x22c)])});else{if(_0x5e5639[_0x7579fe(0x1f5)]&&_0x5e5639[_0x7579fe(0x1f5)][_0x7579fe(0x20e)]){const _0x4ffb66=_0x3c4fb3[_0x7579fe(0x26c)](_0x5e5639[_0x7579fe(0x1f5)][_0x7579fe(0x20e)]+'_'+_0x378df9);_0x4ffb66&&_0x4ffb66[_0x7579fe(0x264)][_0x7579fe(0x251)]({'timestamp':new Date()[_0x7579fe(0x244)](),'level':_0x2444bf[_0x7579fe(0x20f)](normalizeLogLevel,_0x5e5639[_0x7579fe(0x22c)]),'message':_0x2e019d});}}}catch(_0x38d7ae){_0x2444bf['ctUEZ'](debug,_0x7579fe(0x25e)+_0x38d7ae);}}),_0x287369['on'](_0x2444bf[_0x543f05(0x1a6)],(_0x30c3ef,_0x5f556a)=>{const _0x491b61=_0x543f05;try{if(!_0x30c3ef&&(!_0x5f556a||!_0x5f556a[_0x491b61(0x1fa)]))return;const _0x3e33c1=_0x30c3ef||_0x5f556a[_0x491b61(0x1fa)],_0x22260f=_0x3e33c1[_0x491b61(0x1ab)]||_0x2444bf[_0x491b61(0x23b)](String,_0x3e33c1),_0x4ccf7a=_0x3e33c1[_0x491b61(0x283)]||_0x22260f;let _0xc03e0e=_0x36240c;if(_0x2444bf['kOdBq'](!_0xc03e0e,_0x5f556a)&&_0x5f556a[_0x491b61(0x1f5)]&&_0x5f556a[_0x491b61(0x1f5)][_0x491b61(0x20e)]){const _0x39dd5a=_0x3c4fb3['get'](_0x5f556a['cursor'][_0x491b61(0x20e)]+'_'+_0x378df9);_0x39dd5a&&_0x2444bf[_0x491b61(0x1c2)](_0x39dd5a['assertions'][_0x491b61(0x1c5)],0x0)&&(_0xc03e0e=_0x39dd5a[_0x491b61(0x234)][_0x2444bf[_0x491b61(0x26a)](_0x39dd5a['assertions']['length'],0x1)]['uuid']);}_0xc03e0e&&_0x2444bf[_0x491b61(0x21b)](emitLog,_0xc03e0e,{'kind':_0x2444bf[_0x491b61(0x1fd)],'message':_0x2444bf[_0x491b61(0x247)](_0x2444bf[_0x491b61(0x208)],_0x4ccf7a),'level':_0x2444bf['tpiys']});}catch(_0xd1caf2){_0x2444bf[_0x491b61(0x1a3)](debug,_0x2444bf[_0x491b61(0x1be)](_0x2444bf[_0x491b61(0x1b8)],_0xd1caf2));}}),_0x287369['on'](_0x2444bf[_0x543f05(0x1aa)],(_0x57562a,_0x3fbc0c)=>{const _0x1b0d51=_0x543f05;try{if(!_0x3fbc0c||!_0x3fbc0c['execution'])return;let _0x36413a=_0x36240c;if(!_0x36413a&&_0x3fbc0c[_0x1b0d51(0x1f5)]&&_0x3fbc0c[_0x1b0d51(0x1f5)][_0x1b0d51(0x20e)]){const _0x4e2d03=_0x3c4fb3[_0x1b0d51(0x26c)](_0x3fbc0c['cursor'][_0x1b0d51(0x20e)]+'_'+_0x378df9);_0x4e2d03&&_0x2444bf[_0x1b0d51(0x1fc)](_0x4e2d03['assertions'][_0x1b0d51(0x1c5)],0x0)&&(_0x36413a=_0x4e2d03[_0x1b0d51(0x234)][_0x2444bf[_0x1b0d51(0x1b2)](_0x4e2d03[_0x1b0d51(0x234)][_0x1b0d51(0x1c5)],0x1)][_0x1b0d51(0x25a)]);}if(!_0x36413a)return;const _0x9f69ab=_0x3fbc0c[_0x1b0d51(0x227)]&&_0x3fbc0c['event']['listen']||_0x2444bf[_0x1b0d51(0x27d)];_0x57562a&&_0x2444bf[_0x1b0d51(0x24b)](emitLog,_0x36413a,{'kind':_0x2444bf[_0x1b0d51(0x1fd)],'message':_0x2444bf['maRoV'](_0x2444bf[_0x1b0d51(0x1c0)](_0x2444bf['aTjEr'](_0x2444bf[_0x1b0d51(0x28e)],_0x9f69ab),_0x2444bf['YOcxN']),_0x57562a[_0x1b0d51(0x1ab)]||_0x57562a),'level':_0x2444bf[_0x1b0d51(0x27b)]});}catch(_0x14a1ee){_0x2444bf[_0x1b0d51(0x1f8)](debug,_0x2444bf[_0x1b0d51(0x252)](_0x2444bf['GWWqo'],_0x14a1ee));}}),_0x287369['on'](_0x2444bf[_0x543f05(0x289)],(_0x11bd11,_0xb8b060)=>{const _0x711c22=_0x543f05,_0x490bd5={'HGYrJ':function(_0x765aae,_0xccb68e,_0x5d0b6e){const _0x26f0d2=a39_0x2184;return _0x2444bf[_0x26f0d2(0x224)](_0x765aae,_0xccb68e,_0x5d0b6e);},'zdMeg':_0x2444bf[_0x711c22(0x1fd)]};try{if(!_0xb8b060||!_0xb8b060[_0x711c22(0x1e9)])return;const _0x4ea3cd=_0xb8b060[_0x711c22(0x1e9)]['id']+'_'+_0x378df9,_0x491434=_0x3c4fb3['get'](_0x4ea3cd);if(!_0x491434)return;const _0x148701=new Date(),_0x10d438=_0x2444bf[_0x711c22(0x260)](_0x148701[_0x711c22(0x1fb)](),_0x491434['startTimestamp']);if(_0x2444bf['JowOF'](_0x491434['assertions'][_0x711c22(0x1c5)],0x0))_0x491434[_0x711c22(0x234)][_0x711c22(0x207)](_0x516387=>{const _0x4c05b0=_0x711c22,_0x253b66=!!_0x516387[_0x4c05b0(0x241)],_0x18a90d={'finishedAt':_0x148701[_0x4c05b0(0x244)](),'durationMs':_0x10d438,'result':_0x253b66?_0x2444bf[_0x4c05b0(0x1bd)]:_0x2444bf['ASFYz']};_0x253b66&&(_0x18a90d[_0x4c05b0(0x28d)]=_0x516387[_0x4c05b0(0x241)][_0x4c05b0(0x1ab)]||'',_0x18a90d[_0x4c05b0(0x26b)]=_0x2444bf[_0x4c05b0(0x284)](_0x516387[_0x4c05b0(0x241)][_0x4c05b0(0x229)],_0x2444bf[_0x4c05b0(0x206)])||_0x516387[_0x4c05b0(0x241)]['message']&&_0x516387[_0x4c05b0(0x241)][_0x4c05b0(0x1ab)][_0x4c05b0(0x1e2)](_0x2444bf[_0x4c05b0(0x293)])?_0x2444bf[_0x4c05b0(0x206)]:_0x2444bf[_0x4c05b0(0x1ae)],_0x18a90d['failure']=[{'backtrace':_0x516387[_0x4c05b0(0x241)][_0x4c05b0(0x283)]?_0x516387['err'][_0x4c05b0(0x283)]['split']('\x0a'):[_0x516387['err'][_0x4c05b0(0x1ab)]||''],'expanded':[]}]),_0x2444bf[_0x4c05b0(0x273)](emitTest,HookState[_0x4c05b0(0x23e)],_0x516387,_0x491434,_0x28db07,_0x18a90d);});else{const _0x1e7993=_0x2444bf['nehrv'](uuidv4),_0x51af0c=_0x491434[_0x711c22(0x27c)],_0x7c1630=_0x2444bf['uRKLh'](_0x51af0c,null)&&_0x2444bf['JKXYI'](_0x51af0c,0xc8)&&_0x2444bf['vkJfv'](_0x51af0c,0x190),_0x574079=_0x491434[_0x711c22(0x1f6)]+_0x711c22(0x1de)+_0x2444bf[_0x711c22(0x1ee)](_0x51af0c,_0x2444bf[_0x711c22(0x1c8)])+')',_0x468e8c={'uuid':_0x1e7993,'name':_0x574079,'identifier':_0x491434[_0x711c22(0x205)][_0x711c22(0x1ed)]([_0x574079])[_0x711c22(0x271)]('\x20')},_0x333164={'finishedAt':_0x148701[_0x711c22(0x244)](),'durationMs':_0x10d438,'result':_0x7c1630?_0x2444bf[_0x711c22(0x1ec)]:_0x2444bf[_0x711c22(0x1bd)]};!_0x7c1630&&(_0x333164[_0x711c22(0x28d)]=_0x2444bf[_0x711c22(0x1eb)](_0x51af0c,null)?'HTTP\x20'+_0x51af0c+_0x711c22(0x243):_0x2444bf['ZnseW'],_0x333164[_0x711c22(0x26b)]=_0x2444bf[_0x711c22(0x1ae)],_0x333164[_0x711c22(0x25d)]=[{'backtrace':[_0x333164[_0x711c22(0x28d)]],'expanded':[]}]);_0x2444bf[_0x711c22(0x1da)](emitTest,HookState[_0x711c22(0x231)],_0x468e8c,_0x491434,_0x28db07,{}),_0x491434[_0x711c22(0x264)][_0x711c22(0x207)](_0x5c48a1=>{const _0x389210=_0x711c22;_0x490bd5[_0x389210(0x1d0)](emitLog,_0x1e7993,{'kind':_0x490bd5[_0x389210(0x1a7)],'message':_0x5c48a1[_0x389210(0x1ab)],'level':_0x5c48a1[_0x389210(0x22c)]});});if(_0x491434[_0x711c22(0x295)]){_0x2444bf[_0x711c22(0x21b)](emitLog,_0x1e7993,{'kind':_0x2444bf[_0x711c22(0x1af)],'http_response':_0x491434[_0x711c22(0x295)]});const _0xca1f57=_0x2444bf['SfVbk'](_0x2444bf[_0x711c22(0x1c3)](_0x2444bf[_0x711c22(0x240)](_0x2444bf['NBtBq'](_0x2444bf[_0x711c22(0x1be)](_0x2444bf[_0x711c22(0x23a)](_0x2444bf[_0x711c22(0x24f)](_0x2444bf['Klsqp'](_0x491434[_0x711c22(0x295)][_0x711c22(0x1f1)]||_0x2444bf[_0x711c22(0x1a2)],'\x20'),_0x491434['httpLog']['host']),_0x491434[_0x711c22(0x295)]['path']),_0x2444bf[_0x711c22(0x25f)]),_0x491434[_0x711c22(0x295)][_0x711c22(0x1b1)]),'\x20('),_0x491434[_0x711c22(0x295)][_0x711c22(0x255)]),_0x2444bf['hczKR']);_0x2444bf[_0x711c22(0x224)](emitLog,_0x1e7993,{'kind':_0x2444bf[_0x711c22(0x1fd)],'message':_0xca1f57,'level':_0x2444bf[_0x711c22(0x1bb)]});}else _0x2444bf[_0x711c22(0x24b)](emitLog,_0x1e7993,{'kind':_0x2444bf[_0x711c22(0x1fd)],'message':_0x2444bf[_0x711c22(0x1d7)](_0x2444bf['mJgpr'](_0x2444bf[_0x711c22(0x232)],_0x2444bf['VdShf'](_0x51af0c,_0x2444bf[_0x711c22(0x1c8)])),_0x2444bf['wKcSI']),'level':_0x2444bf[_0x711c22(0x1bb)]});_0x2444bf[_0x711c22(0x1d4)](emitTest,HookState[_0x711c22(0x23e)],_0x468e8c,_0x491434,_0x28db07,_0x333164);}_0x3c4fb3[_0x711c22(0x26e)](_0x4ea3cd),_0xb8b060[_0x711c22(0x1f5)]&&_0xb8b060['cursor'][_0x711c22(0x20e)]&&_0x3c4fb3[_0x711c22(0x26e)](_0xb8b060[_0x711c22(0x1f5)]['ref']+'_'+_0x378df9);}catch(_0x56c573){_0x2444bf['KVSjq'](debug,_0x711c22(0x209)+_0x56c573);}});}module[a39_0x1c48f6(0x1e5)]=BrowserStackNewmanReporter;
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';const a40_0x421a09=a40_0xa84d;function a40_0x1a53(){const _0x3847cd=['concat','run','307271lKiVvi','vluPo','beforeExit','reporter','56428sEtvKm','cli','BEatH','newman','eGmbA','jvFEd','LGpZV','TSHLS','stderr','_load','collection','CZQVF','collectionPath','6250326gtPIVQ','7YbiGax','assign','vSOGJ','exitCode','10kialfX','resolve','length','889162IlXbXB','newman-reporter-browserstack','module','string','../v2/browserstackCLI','1192872dOufnX','dRVgX','bootstrap','indexOf','reporters','rLvAe','call','auDUh','IrEQt','write','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','tdcMz','VoxFG','p-limit','izhIR','NEvhd','DLotY','110QCCHbA','getInstance','argv','exit','browserstack','2497056ddaYBO','2794887pXVBls','path','bKVyB','JgbNb','bGynB','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','create'];a40_0x1a53=function(){return _0x3847cd;};return a40_0x1a53();}(function(_0x1a8a62,_0x292985){const _0x2b24ee=a40_0xa84d,_0x5693fd=_0x1a8a62();while(!![]){try{const _0x35df41=parseInt(_0x2b24ee(0x159))/0x1+-parseInt(_0x2b24ee(0x134))/0x2+-parseInt(_0x2b24ee(0x14f))/0x3+-parseInt(_0x2b24ee(0x11f))/0x4*(-parseInt(_0x2b24ee(0x14a))/0x5)+parseInt(_0x2b24ee(0x12c))/0x6+-parseInt(_0x2b24ee(0x12d))/0x7*(parseInt(_0x2b24ee(0x139))/0x8)+parseInt(_0x2b24ee(0x150))/0x9*(parseInt(_0x2b24ee(0x131))/0xa);if(_0x35df41===_0x292985)break;else _0x5693fd['push'](_0x5693fd['shift']());}catch(_0x12d9f7){_0x5693fd['push'](_0x5693fd['shift']());}}}(a40_0x1a53,0x84c67));const path=require(a40_0x421a09(0x151)),Module=require(a40_0x421a09(0x136)),BrowserstackCLI=require(a40_0x421a09(0x138)),scriptFile=process[a40_0x421a09(0x14c)][0x2],maxParallel=parseInt(process[a40_0x421a09(0x14c)][0x3])||0x0;!scriptFile&&(process[a40_0x421a09(0x127)][a40_0x421a09(0x142)](a40_0x421a09(0x155)),process['exit'](0x1));const reporterPath=path['join'](__dirname,a40_0x421a09(0x11e),'index.js'),originalResolveFilename=Module['_resolveFilename'];Module['_resolveFilename']=function(_0x3418cd,_0x3db36b,_0x4b7fee,_0x4b95a5){const _0x2d770=a40_0x421a09,_0x5c52aa={};_0x5c52aa[_0x2d770(0x13e)]=function(_0x5ba1ef,_0x1f2040){return _0x5ba1ef===_0x1f2040;},_0x5c52aa[_0x2d770(0x149)]=_0x2d770(0x135);const _0xa99845=_0x5c52aa;if(_0xa99845[_0x2d770(0x13e)](_0x3418cd,_0xa99845[_0x2d770(0x149)]))return reporterPath;return originalResolveFilename[_0x2d770(0x13f)](this,_0x3418cd,_0x3db36b,_0x4b7fee,_0x4b95a5);};let limit;try{const pLimit=require(a40_0x421a09(0x146)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a40_0x375ff3){limit=function(_0x4ce068){const _0x4e3b01=a40_0x421a09,_0x58d55e={'BEatH':function(_0x2cd0d4){return _0x2cd0d4();}};return _0x58d55e[_0x4e3b01(0x121)](_0x4ce068);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a40_0x421a09(0x128)];Module[a40_0x421a09(0x128)]=function(_0x16418d,_0x3cc449,_0xebe373){const _0x354bcb=a40_0x421a09,_0x39066a={'vSOGJ':function(_0x2b9ac8,_0x5d40c0){return _0x2b9ac8>_0x5d40c0;},'GcKpy':function(_0x5b75d3,_0x4e53c9){return _0x5b75d3||_0x4e53c9;},'vluPo':function(_0x2e9094,_0x45fb6b,_0x2eef59){return _0x2e9094(_0x45fb6b,_0x2eef59);},'dRVgX':function(_0x22ec94,_0x55976c){return _0x22ec94(_0x55976c);},'JgbNb':_0x354bcb(0x120),'NEvhd':function(_0x5e0977,_0x341b3e){return _0x5e0977===_0x341b3e;},'TSHLS':_0x354bcb(0x14e),'bKVyB':function(_0x1e9c5c,_0x5a45d5){return _0x1e9c5c===_0x5a45d5;},'auDUh':_0x354bcb(0x137),'eGmbA':function(_0x44cada,_0x2507a7){return _0x44cada(_0x2507a7);},'tdcMz':function(_0x37c06a,_0x2b00f8){return _0x37c06a!==_0x2b00f8;},'izhIR':_0x354bcb(0x122)},_0x144515=originalLoad[_0x354bcb(0x13f)](this,_0x16418d,_0x3cc449,_0xebe373);if(_0x39066a[_0x354bcb(0x144)](_0x16418d,_0x39066a[_0x354bcb(0x147)]))return _0x144515;if(wrappedNewman)return wrappedNewman;const _0x1d7081=_0x144515['run']['bind'](_0x144515);return wrappedNewman=Object[_0x354bcb(0x156)](_0x144515),wrappedNewman[_0x354bcb(0x158)]=function(_0x1c2ee5,_0x4b2ed7){const _0x17f3b1=_0x354bcb,_0x440b45={'jvFEd':function(_0x59d9d1,_0x1c113e,_0x572547){const _0x5ce4bd=a40_0xa84d;return _0x39066a[_0x5ce4bd(0x11c)](_0x59d9d1,_0x1c113e,_0x572547);}};let _0x371362=_0x1c2ee5[_0x17f3b1(0x13d)]||[_0x39066a[_0x17f3b1(0x153)]];_0x39066a[_0x17f3b1(0x148)](_0x371362[_0x17f3b1(0x13c)](_0x39066a[_0x17f3b1(0x126)]),-0x1)&&(_0x371362=_0x371362[_0x17f3b1(0x157)]([_0x39066a[_0x17f3b1(0x126)]]));const _0x14f1e7=_0x39066a[_0x17f3b1(0x152)](typeof _0x1c2ee5[_0x17f3b1(0x129)],_0x39066a[_0x17f3b1(0x140)])?_0x1c2ee5[_0x17f3b1(0x129)]:undefined,_0x1dd803={};_0x1dd803[_0x17f3b1(0x12b)]=_0x14f1e7;const _0x1a39f6=Object['assign']({},_0x1c2ee5['reporter'],{'browserstack':Object[_0x17f3b1(0x12e)]({},_0x1c2ee5[_0x17f3b1(0x11e)]&&_0x1c2ee5[_0x17f3b1(0x11e)][_0x17f3b1(0x14e)],_0x1dd803)}),_0x483a76={};return _0x483a76[_0x17f3b1(0x13d)]=_0x371362,_0x483a76[_0x17f3b1(0x11e)]=_0x1a39f6,_0x1c2ee5=Object[_0x17f3b1(0x12e)]({},_0x1c2ee5,_0x483a76),_0x39066a[_0x17f3b1(0x123)](limit,function(){const _0x379398={'LGpZV':function(_0x2486f2,_0x25168d){const _0x20fe59=a40_0xa84d;return _0x39066a[_0x20fe59(0x12f)](_0x2486f2,_0x25168d);},'QYGuz':function(_0x3dc3d2,_0x57aef5){return _0x39066a['GcKpy'](_0x3dc3d2,_0x57aef5);},'VoxFG':function(_0x1f859,_0x5da2ef,_0x26e7b6){const _0x2fecda=a40_0xa84d;return _0x39066a[_0x2fecda(0x11c)](_0x1f859,_0x5da2ef,_0x26e7b6);},'YCYTd':function(_0x25fa19,_0x231212){const _0x3a0316=a40_0xa84d;return _0x39066a[_0x3a0316(0x13a)](_0x25fa19,_0x231212);}};return new Promise(function(_0x639385){const _0x41b4df=a40_0xa84d;_0x440b45[_0x41b4df(0x124)](_0x1d7081,_0x1c2ee5,function(_0x4a2ed6,_0x4e3218){const _0x30d8b8=_0x41b4df,_0x542ab5=_0x4e3218&&_0x4e3218[_0x30d8b8(0x158)]&&(_0x4e3218[_0x30d8b8(0x158)]['error']||_0x4e3218[_0x30d8b8(0x158)]['failures']&&_0x379398[_0x30d8b8(0x125)](_0x4e3218[_0x30d8b8(0x158)]['failures'][_0x30d8b8(0x133)],0x0));_0x379398['QYGuz'](_0x542ab5,_0x4a2ed6)&&(hasFailure=!![]),_0x4b2ed7&&_0x379398[_0x30d8b8(0x145)](_0x4b2ed7,_0x4a2ed6,_0x4e3218),_0x379398['YCYTd'](_0x639385,_0x4e3218);});});});},wrappedNewman;};async function main(){const _0x3b6b1e=a40_0x421a09,_0x4980f4={'IrEQt':function(_0x4b17b4,_0x21c610){return _0x4b17b4(_0x21c610);},'CZQVF':function(_0x4f3189,_0xe1d7e){return _0x4f3189+_0xe1d7e;},'ffvXj':function(_0x223646,_0x4d3897){return _0x223646+_0x4d3897;},'ImTMG':_0x3b6b1e(0x143)};try{await BrowserstackCLI[_0x3b6b1e(0x14b)]()[_0x3b6b1e(0x13b)]();}catch(_0x919c6f){}try{_0x4980f4[_0x3b6b1e(0x141)](require,path[_0x3b6b1e(0x132)](scriptFile));}catch(_0x5e3aa2){process[_0x3b6b1e(0x127)]['write'](_0x4980f4[_0x3b6b1e(0x12a)](_0x4980f4['ffvXj'](_0x4980f4['ImTMG'],_0x5e3aa2['message']||_0x5e3aa2),'\x0a')),process[_0x3b6b1e(0x130)]=0x1;}}function a40_0xa84d(_0x574435,_0x2e37ee){const _0x1a53a0=a40_0x1a53();return a40_0xa84d=function(_0xa84d08,_0x19dc2a){_0xa84d08=_0xa84d08-0x11c;let _0x223c7c=_0x1a53a0[_0xa84d08];return _0x223c7c;},a40_0xa84d(_0x574435,_0x2e37ee);}main(),process['on'](a40_0x421a09(0x11d),function(){const _0x47a3b0=a40_0x421a09;hasFailure&&(process[_0x47a3b0(0x130)]=0x1);}),process['on'](a40_0x421a09(0x14d),function(){const _0x129fe4=a40_0x421a09,_0x19f59e={};_0x19f59e[_0x129fe4(0x154)]=function(_0x2580eb,_0x2976f1){return _0x2580eb===_0x2976f1;};const _0x241742=_0x19f59e;hasFailure&&_0x241742['bGynB'](process[_0x129fe4(0x130)],0x0)&&(process['exitCode']=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a37_0x4d4d(_0x4109d6,_0xa26eff){const _0x384e23=a37_0x384e();return a37_0x4d4d=function(_0x4d4d84,_0xd1cf35){_0x4d4d84=_0x4d4d84-0x101;let _0x2159d3=_0x384e23[_0x4d4d84];return _0x2159d3;},a37_0x4d4d(_0x4109d6,_0xa26eff);}const a37_0x2e9c17=a37_0x4d4d;(function(_0x516bd0,_0x34a239){const _0x2683be=a37_0x4d4d,_0x11923c=_0x516bd0();while(!![]){try{const _0xbbedf4=parseInt(_0x2683be(0x120))/0x1+-parseInt(_0x2683be(0x115))/0x2*(-parseInt(_0x2683be(0x11c))/0x3)+-parseInt(_0x2683be(0x12c))/0x4+-parseInt(_0x2683be(0x129))/0x5*(parseInt(_0x2683be(0x13f))/0x6)+-parseInt(_0x2683be(0x103))/0x7*(parseInt(_0x2683be(0x104))/0x8)+parseInt(_0x2683be(0x10e))/0x9*(-parseInt(_0x2683be(0x151))/0xa)+parseInt(_0x2683be(0x146))/0xb;if(_0xbbedf4===_0x34a239)break;else _0x11923c['push'](_0x11923c['shift']());}catch(_0x21e550){_0x11923c['push'](_0x11923c['shift']());}}}(a37_0x384e,0xf2890));const fs=require('fs'),path=require(a37_0x2e9c17(0x14b)),{spawn}=require(a37_0x2e9c17(0x102)),logger=require(a37_0x2e9c17(0x12b))[a37_0x2e9c17(0x107)],{default:BrowserStackSetup}=require(a37_0x2e9c17(0x113)),helper=require(a37_0x2e9c17(0x101)),constants=require(a37_0x2e9c17(0x142)),getUserNightwatchConfigs=(_0x2b0e22,_0xcbecd8)=>{const _0x2aa8c9=a37_0x2e9c17,_0x137661={'MavrV':_0x2aa8c9(0x13b),'kBalx':_0x2aa8c9(0x13e),'DshhK':function(_0x5bc263,_0x1fa32a){return _0x5bc263(_0x1fa32a);},'BfdgM':_0x2aa8c9(0x108)};let _0x25723d=null,_0x1b79db={};const _0x413ac8=_0xcbecd8['findIndex'](_0x201664=>_0x201664===_0x2aa8c9(0x14a));if(!helper[_0x2aa8c9(0x127)](_0x2b0e22['config'])&&fs[_0x2aa8c9(0x134)](path[_0x2aa8c9(0x13d)](process[_0x2aa8c9(0x145)](),_0x2b0e22[_0x2aa8c9(0x117)])))_0x25723d=path[_0x2aa8c9(0x13d)](process['cwd'](),_0x2b0e22[_0x2aa8c9(0x117)]),_0xcbecd8[_0x2aa8c9(0x124)](_0x413ac8,0x2);else{if(fs['existsSync'](path[_0x2aa8c9(0x13d)](process[_0x2aa8c9(0x145)](),_0x137661[_0x2aa8c9(0x10b)])))_0x25723d=path[_0x2aa8c9(0x13d)](process[_0x2aa8c9(0x145)](),_0x137661['MavrV']);else fs[_0x2aa8c9(0x134)](path['join'](process[_0x2aa8c9(0x145)](),_0x137661[_0x2aa8c9(0x122)]))&&(_0x25723d=path[_0x2aa8c9(0x13d)](process['cwd'](),_0x137661[_0x2aa8c9(0x122)]));}return _0x25723d?(logger[_0x2aa8c9(0x130)](_0x2aa8c9(0x150)+_0x25723d),_0x1b79db=_0x137661[_0x2aa8c9(0x110)](require,_0x25723d)):logger['info'](_0x137661[_0x2aa8c9(0x12a)]),_0x1b79db;},removeExistingEnvs=_0x38b229=>{const _0x45f768=a37_0x2e9c17,_0x4eb630={};_0x4eb630[_0x45f768(0x121)]=function(_0xe9c263,_0x5deb17){return _0xe9c263>_0x5deb17;},_0x4eb630['tJfNj']=function(_0x3e2a09,_0x4a84c9){return _0x3e2a09>_0x4a84c9;};const _0x1236cc=_0x4eb630;let _0xbaff07=_0x38b229[_0x45f768(0x135)](_0x50cf05=>_0x50cf05==='--env');_0x1236cc[_0x45f768(0x121)](_0xbaff07,-0x1)&&_0x38b229[_0x45f768(0x124)](_0xbaff07,0x2),_0xbaff07=_0x38b229[_0x45f768(0x135)](_0x814359=>_0x814359==='-e'),_0x1236cc[_0x45f768(0x13a)](_0xbaff07,-0x1)&&_0x38b229[_0x45f768(0x124)](_0xbaff07,0x2);};function a37_0x384e(){const _0x19f329=['child\x20process\x20exited\x20with\x20code\x20','split','../utils/constants','Deleting\x20','desiredCapabilities','cwd','59503653cnmYHD','platform','push','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','--config','path','qOagB','iOHEy','NKORO','mergeDeep','Getting\x20your\x20nightwatch\x20configs\x20from\x20','19648870pNKBNE','../../helpers/helper','child_process','7PuxDLh','11485016ZtBrTr','modifyBrowserStackW3CCaps','exports','winstonLogger','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','gOVPf','modifyBrowserStackCaps','MavrV','filter','nightwatch','9nDFzIT','iHJWY','DshhK','rsypK','CWuEl','../../helpers/BrowserStackSetup','host','5090uvsblT','trim','config','useW3C','selenium','nightwatch-browserstack.json','map','1677nATJSw','stringify','start_process','now','409530stVOVN','KLrbg','kBalx','debug','splice','fBlRz','test_settings','isUndefined','getPlatformName','5JpyYjP','BfdgM','../../helpers/logger','6605924BFMRJe','slice','length','hub.browserstack.com','info','webdriver','nightwatch.cmd','env','existsSync','findIndex','forEach','platforms','test','oPobX','tJfNj','nightwatch.conf.js','UMBYI','join','nightwatch.json','7177134udnZnJ'];a37_0x384e=function(){return _0x19f329;};return a37_0x384e();}function run(_0x4736d8,_0x5980ef,_0x514e76){const _0x44986d=a37_0x2e9c17,_0x4b176a={'fBlRz':_0x44986d(0x10d),'NKORO':function(_0x2063bd,_0x5f5c98){return _0x2063bd+_0x5f5c98;},'oPobX':'test_settings','qOagB':function(_0x98bdaf,_0x1644d5,_0x12ca0a){return _0x98bdaf(_0x1644d5,_0x12ca0a);},'aqhdf':_0x44986d(0x12f),'ypbzx':_0x44986d(0x149),'iHJWY':function(_0x58e12f,_0xb3cad6){return _0x58e12f===_0xb3cad6;},'gOVPf':_0x44986d(0x11a),'iOHEy':function(_0x10fb0d,_0x77c971){return _0x10fb0d(_0x77c971);},'ARlqZ':function(_0x20b9e0,_0x453508,_0x5b0d99,_0x125f13){return _0x20b9e0(_0x453508,_0x5b0d99,_0x125f13);},'WDUzu':_0x44986d(0x132),'rsypK':_0x44986d(0x14a),'RsLsa':'--env','UMBYI':'inherit','CWuEl':'close'};if(!_0x514e76[_0x44986d(0x117)])return;const _0x2b0a01=_0x4b176a[_0x44986d(0x14c)](getUserNightwatchConfigs,_0x4736d8,_0x5980ef),_0x58c0b8={};_0x58c0b8[_0x44986d(0x11e)]=![];const _0x19dc0a={};_0x19dc0a[_0x44986d(0x114)]=_0x4b176a['aqhdf'],_0x19dc0a['port']=0x1bb;const _0xb5a482={};_0xb5a482[_0x44986d(0x131)]=_0x58c0b8,_0xb5a482[_0x44986d(0x119)]=_0x19dc0a;const _0x4cca07=_0xb5a482;logger[_0x44986d(0x130)](_0x4b176a['ypbzx']);const _0x3003fa={..._0x2b0a01},_0x3d11db=_0x3003fa,_0x121904=helper[_0x44986d(0x118)](_0x514e76[_0x44986d(0x117)]),_0x18e2dc=[];_0x514e76['config'][_0x44986d(0x137)][_0x44986d(0x136)]((_0x34a7e2,_0x34e440)=>{const _0x39c452=_0x44986d;_0x121904?_0x18e2dc[_0x39c452(0x148)](helper[_0x39c452(0x105)](_0x514e76[_0x39c452(0x117)],_0x4b176a[_0x39c452(0x125)],_0x34e440)):_0x18e2dc[_0x39c452(0x148)](helper[_0x39c452(0x10a)](_0x514e76[_0x39c452(0x117)],_0x4b176a['fBlRz'],_0x34e440));});const _0x3cfb40={},_0x3e7d89=[];_0x4736d8['env']=_0x4736d8[_0x44986d(0x133)]||_0x4736d8['e'];const _0x2fac2f=_0x4736d8[_0x44986d(0x133)]?_0x4736d8[_0x44986d(0x133)][_0x44986d(0x116)]()[_0x44986d(0x141)](',')[_0x44986d(0x11b)](_0x13b93e=>_0x13b93e[_0x44986d(0x116)]())[_0x44986d(0x10c)](_0x3702bd=>_0x3702bd!==''):[''];_0x4b176a[_0x44986d(0x10f)](_0x2fac2f[_0x44986d(0x12e)],0x0)&&_0x2fac2f['push']('');_0x2fac2f[_0x44986d(0x136)](_0x34e2e2=>{const _0x110026=_0x44986d;_0x18e2dc[_0x110026(0x136)](_0xcf5618=>{const _0x20c5d7=_0x110026;let _0x1b4a49=_0x4b176a[_0x20c5d7(0x14e)](helper[_0x20c5d7(0x128)](_0xcf5618,'_'),'_'+Date[_0x20c5d7(0x11f)]());_0x34e2e2&&(_0x1b4a49+='_'+_0x34e2e2);if(_0x34e2e2&&(!_0x2b0a01[_0x4b176a[_0x20c5d7(0x139)]]||!_0x2b0a01[_0x4b176a[_0x20c5d7(0x139)]][_0x34e2e2]))return;const _0x5e1aaa={..._0x4cca07};_0x5e1aaa[_0x20c5d7(0x144)]=_0xcf5618;const _0x17b70e=_0x5e1aaa;_0x3cfb40[_0x1b4a49]=_0x34e2e2?helper[_0x20c5d7(0x14f)](_0x2b0a01[_0x4b176a[_0x20c5d7(0x139)]][_0x34e2e2],_0x17b70e):_0x17b70e,_0x3e7d89[_0x20c5d7(0x148)](_0x1b4a49);});});!_0x3d11db[_0x44986d(0x126)]&&(_0x3d11db['test_settings']={});_0x3d11db[_0x44986d(0x126)]={..._0x3d11db[_0x44986d(0x126)],..._0x3cfb40};const _0xb97ae5=path[_0x44986d(0x13d)](__dirname,_0x4b176a[_0x44986d(0x109)]);fs['writeFileSync'](_0xb97ae5,JSON[_0x44986d(0x11d)](_0x3d11db)),_0x4b176a[_0x44986d(0x14d)](removeExistingEnvs,_0x5980ef);const _0x38d6a0=_0x4b176a['ARlqZ'](spawn,/^win/[_0x44986d(0x138)](process[_0x44986d(0x147)])?_0x4b176a['WDUzu']:_0x4b176a[_0x44986d(0x125)],[_0x4b176a[_0x44986d(0x111)],_0xb97ae5,..._0x5980ef[_0x44986d(0x12d)](0x1),_0x4b176a['RsLsa'],_0x3e7d89[_0x44986d(0x13d)](',')],{'stdio':_0x4b176a[_0x44986d(0x13c)]});_0x38d6a0['on'](_0x4b176a[_0x44986d(0x112)],async _0x48d8a7=>{const _0xe17039=_0x44986d;logger[_0xe17039(0x123)](_0xe17039(0x140)+_0x48d8a7),logger[_0xe17039(0x130)](_0xe17039(0x143)+_0xb97ae5),fs['unlinkSync'](_0xb97ae5);});}module[a37_0x2e9c17(0x106)]=run;
2
+ 'use strict';function a41_0x4841(_0x1945cc,_0xe69a5c){const _0x39c316=a41_0x39c3();return a41_0x4841=function(_0x484145,_0x877120){_0x484145=_0x484145-0x111;let _0x471e4b=_0x39c316[_0x484145];return _0x471e4b;},a41_0x4841(_0x1945cc,_0xe69a5c);}const a41_0x45549b=a41_0x4841;(function(_0x1ef0d0,_0x44540e){const _0x19c983=a41_0x4841,_0x4c773c=_0x1ef0d0();while(!![]){try{const _0x4811aa=parseInt(_0x19c983(0x15f))/0x1*(-parseInt(_0x19c983(0x156))/0x2)+-parseInt(_0x19c983(0x129))/0x3+-parseInt(_0x19c983(0x125))/0x4+-parseInt(_0x19c983(0x113))/0x5+-parseInt(_0x19c983(0x11c))/0x6*(-parseInt(_0x19c983(0x144))/0x7)+-parseInt(_0x19c983(0x146))/0x8+parseInt(_0x19c983(0x13b))/0x9*(parseInt(_0x19c983(0x145))/0xa);if(_0x4811aa===_0x44540e)break;else _0x4c773c['push'](_0x4c773c['shift']());}catch(_0x42bf6c){_0x4c773c['push'](_0x4c773c['shift']());}}}(a41_0x39c3,0x7cccf));const fs=require('fs'),path=require(a41_0x45549b(0x15a)),{spawn}=require(a41_0x45549b(0x147)),logger=require(a41_0x45549b(0x13e))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a41_0x45549b(0x114)),getUserNightwatchConfigs=(_0x395e3b,_0xf3e19a)=>{const _0x22ab4c=a41_0x45549b,_0x19931e={'WdWcY':'nightwatch.conf.js','gCJrb':_0x22ab4c(0x155),'JMlhl':function(_0x5a3da6,_0x41e3e3){return _0x5a3da6(_0x41e3e3);},'onCgu':_0x22ab4c(0x111)};let _0x295a46=null,_0x501a71={};const _0xbb60e=_0xf3e19a[_0x22ab4c(0x126)](_0x87f117=>_0x87f117===_0x22ab4c(0x122));if(!helper[_0x22ab4c(0x140)](_0x395e3b[_0x22ab4c(0x12d)])&&fs[_0x22ab4c(0x11e)](path[_0x22ab4c(0x151)](process[_0x22ab4c(0x15c)](),_0x395e3b[_0x22ab4c(0x12d)])))_0x295a46=path[_0x22ab4c(0x151)](process[_0x22ab4c(0x15c)](),_0x395e3b[_0x22ab4c(0x12d)]),_0xf3e19a[_0x22ab4c(0x148)](_0xbb60e,0x2);else{if(fs[_0x22ab4c(0x11e)](path[_0x22ab4c(0x151)](process[_0x22ab4c(0x15c)](),_0x19931e[_0x22ab4c(0x12b)])))_0x295a46=path['join'](process[_0x22ab4c(0x15c)](),_0x19931e[_0x22ab4c(0x12b)]);else fs[_0x22ab4c(0x11e)](path['join'](process[_0x22ab4c(0x15c)](),_0x19931e[_0x22ab4c(0x14c)]))&&(_0x295a46=path['join'](process[_0x22ab4c(0x15c)](),_0x19931e[_0x22ab4c(0x14c)]));}return _0x295a46?(logger[_0x22ab4c(0x115)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x295a46),_0x501a71=_0x19931e['JMlhl'](require,_0x295a46)):logger[_0x22ab4c(0x115)](_0x19931e[_0x22ab4c(0x14b)]),_0x501a71;},removeExistingEnvs=_0x5b2028=>{const _0x4871b7=a41_0x45549b,_0x4a4d4e={};_0x4a4d4e[_0x4871b7(0x124)]=function(_0x3a8c40,_0x783ea9){return _0x3a8c40>_0x783ea9;},_0x4a4d4e['KkJzy']=function(_0x5b18c3,_0x5c8e2f){return _0x5b18c3>_0x5c8e2f;};const _0x374630=_0x4a4d4e;let _0x1cb95a=_0x5b2028[_0x4871b7(0x126)](_0x2c8a95=>_0x2c8a95===_0x4871b7(0x159));_0x374630[_0x4871b7(0x124)](_0x1cb95a,-0x1)&&_0x5b2028[_0x4871b7(0x148)](_0x1cb95a,0x2),_0x1cb95a=_0x5b2028[_0x4871b7(0x126)](_0x1b6de0=>_0x1b6de0==='-e'),_0x374630[_0x4871b7(0x154)](_0x1cb95a,-0x1)&&_0x5b2028[_0x4871b7(0x148)](_0x1cb95a,0x2);};function a41_0x39c3(){const _0x36ffb4=['15498234zuMkIj','host','stringify','../../helpers/logger','oTHix','isUndefined','HRBNs','mergeDeep','nightwatch.cmd','2384081WqlHGm','10EDmQCA','1807352owvuIN','child_process','splice','length','child\x20process\x20exited\x20with\x20code\x20','onCgu','gCJrb','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','close','port','start_process','join','inherit','VjSqX','KkJzy','nightwatch.json','6leduQq','getPlatformName','push','--env','path','bFETh','cwd','map','debug','72221MCSLyR','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','DwzcG','291500DrqMjR','../utils/constants','info','ORnJA','now','GFHbC','Deleting\x20','exports','nightwatch-browserstack.json','6VbBbIl','filter','existsSync','hub.browserstack.com','PEQQd','split','--config','useW3C','sxToS','1093692ynoRvf','findIndex','unlinkSync','platforms','2331363oVzaqB','WHFic','WdWcY','nightwatch','config','test_settings','bJnEp','webdriver','env','trim','abooU','slice','modifyBrowserStackW3CCaps','modifyBrowserStackCaps','WmgDf','forEach','desiredCapabilities','test'];a41_0x39c3=function(){return _0x36ffb4;};return a41_0x39c3();}function run(_0x4c8496,_0x1fbc2f,_0x1202f1){const _0x37513a=a41_0x45549b,_0x120b01={'oTHix':_0x37513a(0x12c),'ORnJA':function(_0x24404d,_0x3c8e17){return _0x24404d+_0x3c8e17;},'bFETh':_0x37513a(0x12e),'GFHbC':function(_0x3f64b6,_0x3d0958,_0x4585a4){return _0x3f64b6(_0x3d0958,_0x4585a4);},'DiAHb':_0x37513a(0x11f),'DwzcG':_0x37513a(0x14d),'abooU':function(_0x3ba968,_0x1b1ded){return _0x3ba968===_0x1b1ded;},'QjhMc':_0x37513a(0x11b),'VjSqX':function(_0x514eb4,_0x1d8ff9){return _0x514eb4(_0x1d8ff9);},'BdtPd':function(_0x45602c,_0x12906d,_0x169b73,_0x2bf48a){return _0x45602c(_0x12906d,_0x169b73,_0x2bf48a);},'bJnEp':_0x37513a(0x143),'WHFic':_0x37513a(0x122),'HRBNs':_0x37513a(0x159),'WmgDf':_0x37513a(0x152),'PEQQd':_0x37513a(0x14e)};if(!_0x1202f1['config'])return;const _0x279570=_0x120b01[_0x37513a(0x118)](getUserNightwatchConfigs,_0x4c8496,_0x1fbc2f),_0xe33652={};_0xe33652[_0x37513a(0x150)]=![];const _0x4cb247={};_0x4cb247[_0x37513a(0x13c)]=_0x120b01['DiAHb'],_0x4cb247[_0x37513a(0x14f)]=0x1bb;const _0x1ed232={};_0x1ed232[_0x37513a(0x130)]=_0xe33652,_0x1ed232['selenium']=_0x4cb247;const _0x5cd4d6=_0x1ed232;logger[_0x37513a(0x115)](_0x120b01[_0x37513a(0x112)]);const _0x3dab34={..._0x279570},_0x1c9a29=_0x3dab34,_0x3cd44f=helper[_0x37513a(0x123)](_0x1202f1[_0x37513a(0x12d)]),_0x5f2888=[];_0x1202f1['config'][_0x37513a(0x128)][_0x37513a(0x138)]((_0x3d959a,_0x1f7290)=>{const _0x4a8ef2=_0x37513a;_0x3cd44f?_0x5f2888['push'](helper[_0x4a8ef2(0x135)](_0x1202f1['config'],_0x120b01['oTHix'],_0x1f7290)):_0x5f2888[_0x4a8ef2(0x158)](helper[_0x4a8ef2(0x136)](_0x1202f1[_0x4a8ef2(0x12d)],_0x120b01[_0x4a8ef2(0x13f)],_0x1f7290));});const _0x5edb6e={},_0x16cb74=[];_0x4c8496['env']=_0x4c8496[_0x37513a(0x131)]||_0x4c8496['e'];const _0x5b535a=_0x4c8496[_0x37513a(0x131)]?_0x4c8496[_0x37513a(0x131)][_0x37513a(0x132)]()[_0x37513a(0x121)](',')[_0x37513a(0x15d)](_0x42095a=>_0x42095a[_0x37513a(0x132)]())[_0x37513a(0x11d)](_0x230f96=>_0x230f96!==''):[''];_0x120b01[_0x37513a(0x133)](_0x5b535a[_0x37513a(0x149)],0x0)&&_0x5b535a[_0x37513a(0x158)]('');_0x5b535a[_0x37513a(0x138)](_0x4e9b23=>{const _0x49cc3d=_0x37513a;_0x5f2888[_0x49cc3d(0x138)](_0x3323a4=>{const _0x3f1440=_0x49cc3d;let _0x3c2b7e=_0x120b01[_0x3f1440(0x116)](helper[_0x3f1440(0x157)](_0x3323a4,'_'),'_'+Date[_0x3f1440(0x117)]());_0x4e9b23&&(_0x3c2b7e+='_'+_0x4e9b23);if(_0x4e9b23&&(!_0x279570[_0x120b01['bFETh']]||!_0x279570[_0x120b01['bFETh']][_0x4e9b23]))return;const _0x2e8999={..._0x5cd4d6};_0x2e8999[_0x3f1440(0x139)]=_0x3323a4;const _0x3e0ec1=_0x2e8999;_0x5edb6e[_0x3c2b7e]=_0x4e9b23?helper[_0x3f1440(0x142)](_0x279570[_0x120b01[_0x3f1440(0x15b)]][_0x4e9b23],_0x3e0ec1):_0x3e0ec1,_0x16cb74[_0x3f1440(0x158)](_0x3c2b7e);});});!_0x1c9a29[_0x37513a(0x12e)]&&(_0x1c9a29[_0x37513a(0x12e)]={});_0x1c9a29[_0x37513a(0x12e)]={..._0x1c9a29[_0x37513a(0x12e)],..._0x5edb6e};const _0x54a6fc=path[_0x37513a(0x151)](__dirname,_0x120b01['QjhMc']);fs['writeFileSync'](_0x54a6fc,JSON[_0x37513a(0x13d)](_0x1c9a29)),_0x120b01[_0x37513a(0x153)](removeExistingEnvs,_0x1fbc2f);const _0x3e8494=_0x120b01['BdtPd'](spawn,/^win/[_0x37513a(0x13a)](process['platform'])?_0x120b01[_0x37513a(0x12f)]:_0x120b01[_0x37513a(0x13f)],[_0x120b01[_0x37513a(0x12a)],_0x54a6fc,..._0x1fbc2f[_0x37513a(0x134)](0x1),_0x120b01[_0x37513a(0x141)],_0x16cb74[_0x37513a(0x151)](',')],{'stdio':_0x120b01[_0x37513a(0x137)]});_0x3e8494['on'](_0x120b01[_0x37513a(0x120)],async _0x3ed29c=>{const _0x471132=_0x37513a;logger[_0x471132(0x15e)](_0x471132(0x14a)+_0x3ed29c),logger[_0x471132(0x115)](_0x471132(0x119)+_0x54a6fc),fs[_0x471132(0x127)](_0x54a6fc);});}module[a41_0x45549b(0x11a)]=run;
@@ -1 +1 @@
1
- const a38_0x231cc3=a38_0x2bdf;function a38_0x2bdf(_0x38506c,_0x1a1a2e){const _0x3b4a2f=a38_0x3b4a();return a38_0x2bdf=function(_0x2bdf1d,_0x3f3b72){_0x2bdf1d=_0x2bdf1d-0x1c2;let _0x3716a5=_0x3b4a2f[_0x2bdf1d];return _0x3716a5;},a38_0x2bdf(_0x38506c,_0x1a1a2e);}(function(_0x37ba89,_0x1f98c8){const _0x51f88a=a38_0x2bdf,_0x3f459d=_0x37ba89();while(!![]){try{const _0x52d2d7=parseInt(_0x51f88a(0x200))/0x1*(-parseInt(_0x51f88a(0x20c))/0x2)+-parseInt(_0x51f88a(0x1fb))/0x3+-parseInt(_0x51f88a(0x237))/0x4*(-parseInt(_0x51f88a(0x227))/0x5)+-parseInt(_0x51f88a(0x1ed))/0x6*(-parseInt(_0x51f88a(0x222))/0x7)+parseInt(_0x51f88a(0x1c9))/0x8*(-parseInt(_0x51f88a(0x23d))/0x9)+parseInt(_0x51f88a(0x225))/0xa+-parseInt(_0x51f88a(0x1d4))/0xb;if(_0x52d2d7===_0x1f98c8)break;else _0x3f459d['push'](_0x3f459d['shift']());}catch(_0x510314){_0x3f459d['push'](_0x3f459d['shift']());}}}(a38_0x3b4a,0x97839));const util=require(a38_0x231cc3(0x226)),logger=require(a38_0x231cc3(0x248))[a38_0x231cc3(0x1f8)],{automationLogger}=require(a38_0x231cc3(0x248)),{isAccessibilityAutomationSession}=require(a38_0x231cc3(0x23a)),{isUndefined,isBrowserstackInfra}=require(a38_0x231cc3(0x1c2)),scripts=require(a38_0x231cc3(0x202)),PerformanceTester=require(a38_0x231cc3(0x234)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants'),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{AUTOMATION_LOG_COMMANDS}=require(a38_0x231cc3(0x1d0));exports[a38_0x231cc3(0x233)]=async(_0x3e00b2,_0x19c2a6,_0x3731fb={})=>{const _0x3ac287=a38_0x231cc3,_0x352d98={};_0x352d98[_0x3ac287(0x21a)]=_0x3ac287(0x1cc),_0x352d98[_0x3ac287(0x1e5)]=function(_0x219e54,_0x3fdf2f){return _0x219e54===_0x3fdf2f;},_0x352d98[_0x3ac287(0x22f)]=_0x3ac287(0x1df);const _0x5d6fa1=_0x352d98,_0x1e5180=await _0x3e00b2[_0x3ac287(0x1d1)](_0x3ac287(0x1e1)+_0x19c2a6[_0x3ac287(0x23c)](/arguments/g,_0x5d6fa1[_0x3ac287(0x21a)])+_0x3ac287(0x1d8)+JSON[_0x3ac287(0x1fd)](_0x3731fb)+')');try{if(_0x19c2a6&&_0x5d6fa1[_0x3ac287(0x1e5)](typeof _0x19c2a6,_0x5d6fa1[_0x3ac287(0x22f)])){const _0x5e18c4=AUTOMATION_LOG_COMMANDS[_0x3ac287(0x1ee)](_0x250346=>_0x19c2a6[_0x3ac287(0x24d)](_0x250346));if(_0x5e18c4){const _0x117b2e={};_0x117b2e[_0x3ac287(0x21c)]=_0x5e18c4,_0x117b2e[_0x3ac287(0x1d5)]=[_0x3731fb];const _0x2a9ed3={};_0x2a9ed3[_0x3ac287(0x21e)]=_0x1e5180;const _0x4155b6={};_0x4155b6[_0x3ac287(0x238)]=_0x117b2e,_0x4155b6['response']=_0x2a9ed3,automationLogger[_0x3ac287(0x1fa)]('['+new Date()['toISOString']()+'][\x20SDK-AUTOMATION\x20]\x20'+JSON[_0x3ac287(0x1fd)](_0x4155b6));}}}catch(_0x2b46dd){logger[_0x3ac287(0x1c8)](_0x3ac287(0x205)+_0x2b46dd['message']);}return _0x1e5180;},exports[a38_0x231cc3(0x24a)]=async(_0x139543,_0xba0560,_0x2801fc={})=>{const _0x3bdb0e=a38_0x231cc3,_0x15f4fc={};_0x15f4fc[_0x3bdb0e(0x240)]=function(_0x4a14ef,_0x44f23a){return _0x4a14ef===_0x44f23a;},_0x15f4fc[_0x3bdb0e(0x207)]=_0x3bdb0e(0x1d7),_0x15f4fc[_0x3bdb0e(0x1f4)]=_0x3bdb0e(0x246),_0x15f4fc['LqPZc']=_0x3bdb0e(0x1cc);const _0x3cc46d=_0x15f4fc;if(_0x3cc46d[_0x3bdb0e(0x240)](_0x139543[_0x3bdb0e(0x24e)][_0x3bdb0e(0x1ea)],_0x3cc46d['Pcgyl']))return await _0x139543[_0x3bdb0e(0x1f2)](_0xba0560,_0x2801fc);else{if(_0x3cc46d['uQygS'](_0x139543[_0x3bdb0e(0x24e)][_0x3bdb0e(0x1ea)],_0x3cc46d[_0x3bdb0e(0x1f4)]))return await _0x139543[_0x3bdb0e(0x244)](_0x3bdb0e(0x236)+_0xba0560[_0x3bdb0e(0x23c)](/arguments/g,_0x3cc46d[_0x3bdb0e(0x211)])+_0x3bdb0e(0x219)+JSON[_0x3bdb0e(0x1fd)](_0x2801fc)+')');}},exports[a38_0x231cc3(0x228)]=async _0x4c2437=>{const _0x3c524d=a38_0x231cc3,_0xb3a1bb={};_0xb3a1bb[_0x3c524d(0x210)]='accessibilityOptions.wcagVersion',_0xb3a1bb['Jnqeb']=_0x3c524d(0x1e3),_0xb3a1bb[_0x3c524d(0x215)]=_0x3c524d(0x230),_0xb3a1bb['DnoyR']=_0x3c524d(0x231),_0xb3a1bb[_0x3c524d(0x1e8)]=_0x3c524d(0x1dc),_0xb3a1bb[_0x3c524d(0x20b)]=_0x3c524d(0x20e);const _0x4a1178=_0xb3a1bb;_0x4c2437[_0x3c524d(0x1c7)]&&(_0x4c2437[_0x3c524d(0x1c7)][_0x3c524d(0x1ff)]&&(_0x4c2437[_0x4a1178[_0x3c524d(0x210)]]=_0x4c2437[_0x3c524d(0x1c7)][_0x3c524d(0x1ff)]),_0x4c2437[_0x3c524d(0x1c7)][_0x3c524d(0x224)]&&(_0x4c2437[_0x4a1178[_0x3c524d(0x1e7)]]=_0x4c2437[_0x3c524d(0x1c7)]['scannerProcessingTimeout']),_0x4c2437[_0x3c524d(0x1c7)]['includeIssueType']&&(_0x4c2437[_0x4a1178[_0x3c524d(0x215)]]=_0x4c2437['accessibilityOptions'][_0x3c524d(0x22d)]['bestPractice'],_0x4c2437[_0x4a1178[_0x3c524d(0x201)]]=_0x4c2437['accessibilityOptions'][_0x3c524d(0x22d)][_0x3c524d(0x20d)]));const _0x519165=JSON['parse'](process[_0x3c524d(0x239)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x3c524d(0x209)];_0x4c2437[_0x4a1178[_0x3c524d(0x1e8)]]=process[_0x3c524d(0x239)][_0x3c524d(0x23f)],_0x4c2437[_0x4a1178['wJggE']]=_0x519165,delete _0x4c2437[_0x3c524d(0x1c7)];},exports[a38_0x231cc3(0x24c)]=async _0x21b137=>{const _0x39d092=a38_0x231cc3,_0x5990ea={};_0x5990ea[_0x39d092(0x1ec)]='No\x20accessibility\x20results\x20were\x20found.',_0x5990ea[_0x39d092(0x1f3)]=_0x39d092(0x212);const _0x59718b=_0x5990ea;if(global[_0x39d092(0x22e)])try{const details={'url':await _0x21b137.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x21b137,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x21b137,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x39d092(0x22c)](_0x59718b[_0x39d092(0x1ec)]),[];}else return logger['warn'](_0x59718b[_0x39d092(0x1f3)]),[];},exports['performScan']=async(_0x17c534,_0x26aa0e='',_0x3775dc={},_0x2e216c={})=>{const _0x584f55=a38_0x231cc3;logger[_0x584f55(0x1c8)]('Performing\x20scan\x20with\x20method:\x20'+_0x26aa0e+_0x584f55(0x206)+_0x17c534);const _0xa8bd15={'url':await _0x17c534[_0x584f55(0x213)](),'testhub_btcer_uuid':global[_0x584f55(0x23e)]?.[_0x584f55(0x216)]?.['id']};if(global[_0x584f55(0x22e)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x27725d=_0x584f55,_0x13760d={};_0x13760d['command']=_0x26aa0e;const _0x3abbb5=_0x13760d;_0x3775dc&&_0x3775dc[_0x27725d(0x232)]&&(_0x3abbb5['includePartOfPageScope']=_0x3775dc[_0x27725d(0x232)]);Object['assign'](_0x3abbb5,_0x2e216c);const _0x337bdc=await exports[_0x27725d(0x233)](_0x17c534,scripts[_0x27725d(0x235)],_0x3abbb5);return _0x337bdc;},{'command':_0x26aa0e,..._0xa8bd15})();},exports[a38_0x231cc3(0x24b)]=async _0xe8121=>{const _0x195b53=a38_0x231cc3,_0x175ec2={};_0x175ec2[_0x195b53(0x20a)]=_0x195b53(0x1e4),_0x175ec2[_0x195b53(0x1f7)]=_0x195b53(0x20f);const _0x3f957a=_0x175ec2;if(global['accessibilityPlatform'])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0xe8121,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0xe8121,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x195b53(0x1c8)](_0x3f957a['Ghlsj']),{};}else return logger['warn'](_0x3f957a[_0x195b53(0x1f7)]),{};},exports[a38_0x231cc3(0x217)]=_0x17bd3c=>{const _0x59a2a5=a38_0x231cc3,_0x16a7db={'TAcio':_0x59a2a5(0x1f1),'zwGij':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','ZhuLR':function(_0x10e995,_0x11eb6b){return _0x10e995!==_0x11eb6b;},'GWfsh':_0x59a2a5(0x1db),'QRicO':function(_0x51f413){return _0x51f413();},'TIofr':_0x59a2a5(0x223)};try{if(global[_0x59a2a5(0x1f5)])return logger[_0x59a2a5(0x1c8)](_0x16a7db[_0x59a2a5(0x204)]),!![];const _0x4fa073=_0x17bd3c['browser'],_0x3b0f55=_0x17bd3c[_0x59a2a5(0x208)];if(!accessibilityHelper[_0x59a2a5(0x1da)](_0x4fa073))return logger[_0x59a2a5(0x1ca)](_0x16a7db[_0x59a2a5(0x1c5)]),![];if(_0x16a7db[_0x59a2a5(0x243)](_0x3b0f55,_0x16a7db[_0x59a2a5(0x21b)])){const _0x208c84=_0x16a7db[_0x59a2a5(0x1d2)](isBrowserstackInfra),_0x373521=accessibilityHelper[_0x59a2a5(0x1cb)](_0x4fa073,_0x208c84),_0x27bd0d=accessibilityHelper[_0x59a2a5(0x1de)](_0x4fa073);if(!accessibilityHelper['isVersionSupported'](_0x3b0f55,_0x373521)){const _0x8433d3=_0x208c84?'':_0x16a7db['TIofr'];return logger[_0x59a2a5(0x1ca)](_0x59a2a5(0x1ef)+_0x27bd0d+_0x59a2a5(0x1c4)+_0x373521+_0x59a2a5(0x1e2)+_0x8433d3+'.'),![];}}}catch(_0x496739){logger[_0x59a2a5(0x1c8)](_0x59a2a5(0x1cf)+util[_0x59a2a5(0x22a)](_0x496739));}return!![];},exports[a38_0x231cc3(0x214)]=(_0x2ae511,_0x1e9232,_0x3c24b2)=>{const _0x37e27=a38_0x231cc3,_0x28794c={'JRfNI':'browserstack.accessibilityOptions','DsCFh':function(_0x35e601){return _0x35e601();},'DxUQi':_0x37e27(0x1dd),'WZGnG':_0x37e27(0x249),'JdiMy':function(_0xb362eb,_0x3aa1bc){return _0xb362eb!==_0x3aa1bc;},'JeRId':_0x37e27(0x1db),'NkQbT':function(_0x368136){return _0x368136();},'VKpGU':'on\x20non-BrowserStack\x20infrastructure\x20','wNnIG':function(_0x1e8be4,_0x613a62){return _0x1e8be4(_0x613a62);},'QHXOB':function(_0x4cc630,_0x1bdd5e){return _0x4cc630===_0x1bdd5e;},'SfTrq':_0x37e27(0x23b),'jYjEt':_0x37e27(0x241),'czNjT':'playwright-chromium','Autcu':_0x37e27(0x218),'QfHbV':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','kEDTK':function(_0x13329,_0x5087e6){return _0x13329+_0x5087e6;},'ljHNm':function(_0x269cfa,_0x33cb74){return _0x269cfa(_0x33cb74);}};try{if(_0x28794c[_0x37e27(0x1e6)](isAccessibilityAutomationSession)){global[_0x37e27(0x22e)]=!![];!_0x2ae511[_0x28794c[_0x37e27(0x1f6)]]&&(global['accessibilityPlatform']=![]);const _0x544631=_0x2ae511['browserName']||_0x2ae511[_0x37e27(0x1d9)],_0x373b32=_0x2ae511[_0x37e27(0x208)];!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x544631)&&(logger[_0x37e27(0x1ca)](_0x28794c[_0x37e27(0x1d6)]),global[_0x37e27(0x22e)]=![]);if(_0x28794c['JdiMy'](_0x373b32,_0x28794c[_0x37e27(0x1f9)])){const _0x3f8f25=_0x28794c['NkQbT'](isBrowserstackInfra),_0x599008=accessibilityHelper['getMinVersionForBrowser'](_0x544631,_0x3f8f25),_0x36597c=accessibilityHelper[_0x37e27(0x1de)](_0x544631);if(!accessibilityHelper[_0x37e27(0x220)](_0x373b32,_0x599008)){const _0x3862cf=_0x3f8f25?'':_0x28794c[_0x37e27(0x245)];logger[_0x37e27(0x1ca)](_0x37e27(0x1ef)+_0x36597c+_0x37e27(0x1c4)+_0x599008+_0x37e27(0x1e2)+_0x3862cf+'.'),global[_0x37e27(0x22e)]=![];}}if(!_0x28794c[_0x37e27(0x1fc)](isUndefined,_0x2ae511['deviceName'])){const _0x4ffbf8=(_0x2ae511['os']||'')[_0x37e27(0x21f)](),_0x43af21=(_0x2ae511[_0x37e27(0x203)]||_0x2ae511['browser']||'')[_0x37e27(0x21f)](),_0xadbb1e=_0x28794c[_0x37e27(0x221)](_0x4ffbf8,_0x28794c[_0x37e27(0x1f0)])&&[_0x28794c['jYjEt'],_0x28794c[_0x37e27(0x1e9)],_0x28794c[_0x37e27(0x229)]][_0x37e27(0x24d)](_0x43af21);if(!_0xadbb1e)logger['warn'](_0x28794c[_0x37e27(0x21d)]),global[_0x37e27(0x22e)]=![];else!accessibilityHelper[_0x37e27(0x1d3)]()&&(logger[_0x37e27(0x1ca)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),global['accessibilityPlatform']=![]);}if(!global['accessibilityPlatform']){_0x2ae511[_0x28794c[_0x37e27(0x1f6)]]=![],Object[_0x37e27(0x22b)](_0x2ae511)[_0x37e27(0x1ce)](_0x123d3b=>{const _0x71be1=_0x37e27;_0x123d3b[_0x71be1(0x242)](_0x28794c[_0x71be1(0x247)])&&delete _0x2ae511[_0x123d3b];});const _0x40cfd1=_0x28794c['kEDTK'](_0x1e9232,_0x28794c[_0x37e27(0x1fe)](encodeURIComponent,JSON[_0x37e27(0x1fd)](_0x2ae511)));_0x3c24b2&&(_0x3c24b2['currentTest'][_0x37e27(0x1eb)]['project']['use']['connectOptions'][_0x37e27(0x1c6)]=_0x40cfd1,_0x3c24b2[_0x37e27(0x1cd)][_0x37e27(0x1e0)]['use']['connectOptions'][_0x37e27(0x1c6)]=_0x40cfd1);}}else global[_0x37e27(0x22e)]=![];}catch(_0x1f94f0){logger['debug'](_0x37e27(0x1c3)+util['format'](_0x1f94f0));}};function a38_0x3b4a(){const _0x309816=['android','replace','1257264nGBAPt','__workerDetails','BS_A11Y_JWT','uQygS','chrome','startsWith','ZhuLR','executeScript','VKpGU','Playwright','JRfNI','../../helpers/logger','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','browserStackExecuteDriver','getAccessibilityResultsSummary','getAccessibilityResults','includes','constructor','../../helpers/helper','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','\x20browser\x20version\x20','zwGij','wsEndpoint','accessibilityOptions','debug','56zKoBDj','warn','getMinVersionForBrowser','bstackSdkArgs','workerInfo','forEach','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','../utils/constants','evaluate','QRicO','isMobileScanningEnabledForGroup','2705164FFZfco','parameters','WZGnG','WebDriver','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','browser','isBrowserSupportedForAccessibility','latest','accessibilityOptions.authToken','browserstack.accessibility','getBrowserDisplayName','string','project','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','\x20or\x20higher\x20','accessibilityOptions.scannerProcessingTimeout','No\x20summaryResults\x20found.','gWYJU','DsCFh','Jnqeb','zzudF','czNjT','name','testInfo','CIxqO','2778VnOkSW','find','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','SfTrq','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','executeAsyncScript','VWAXP','nQCtV','isMobilePlatform','DxUQi','RigGR','winstonLogger','JeRId','silly','1650768etGuBc','wNnIG','stringify','ljHNm','wcagVersion','2XprJcO','DnoyR','../../helpers/accessibility-automation/scripts','browserName','TAcio','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','\x20page:\x20','Pcgyl','browser_version','scannerVersion','Ghlsj','wJggE','809358XVjdJk','needsReview','accessibilityOptions.scannerVersion','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','tURjy','LqPZc','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','url','processAccessibilityCaps','FgzxB','currentTest','platformValidation','chromium','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','uesQP','GWfsh','command','QfHbV','body','toLowerCase','isVersionSupported','QHXOB','17241iHXmFD','on\x20non-BrowserStack\x20infrastructure\x20','scannerProcessingTimeout','9023400NxBugS','util','17230tmTRPf','setAccessibilityCapabilities','Autcu','format','keys','error','includeIssueType','accessibilityPlatform','uGHDQ','accessibilityOptions.includeIssueType.bestPractice','accessibilityOptions.includeIssueType.needsReview','includePartOfPageScope','browserStackEvaluate','../../helpers/performance/performance-tester','performScan','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','1348OQrpee','request','env','../../helpers/accessibility-automation/helper'];a38_0x3b4a=function(){return _0x309816;};return a38_0x3b4a();}
1
+ const a42_0xd387a7=a42_0x1543;(function(_0xa7fb40,_0x34fd58){const _0x4dc2c4=a42_0x1543,_0xd7c7e2=_0xa7fb40();while(!![]){try{const _0x43637c=-parseInt(_0x4dc2c4(0x16b))/0x1+-parseInt(_0x4dc2c4(0x134))/0x2*(parseInt(_0x4dc2c4(0x133))/0x3)+-parseInt(_0x4dc2c4(0x196))/0x4*(-parseInt(_0x4dc2c4(0x1a8))/0x5)+-parseInt(_0x4dc2c4(0x139))/0x6*(-parseInt(_0x4dc2c4(0x145))/0x7)+parseInt(_0x4dc2c4(0x135))/0x8+parseInt(_0x4dc2c4(0x1a0))/0x9+-parseInt(_0x4dc2c4(0x11e))/0xa;if(_0x43637c===_0x34fd58)break;else _0xd7c7e2['push'](_0xd7c7e2['shift']());}catch(_0xe69387){_0xd7c7e2['push'](_0xd7c7e2['shift']());}}}(a42_0x416a,0xb719b));function a42_0x1543(_0x817d57,_0x903c9e){const _0x416a34=a42_0x416a();return a42_0x1543=function(_0x1543dd,_0x489602){_0x1543dd=_0x1543dd-0x11b;let _0x2edfb7=_0x416a34[_0x1543dd];return _0x2edfb7;},a42_0x1543(_0x817d57,_0x903c9e);}const util=require(a42_0xd387a7(0x142)),logger=require(a42_0xd387a7(0x17d))[a42_0xd387a7(0x1a4)],{automationLogger}=require(a42_0xd387a7(0x17d)),{isAccessibilityAutomationSession}=require(a42_0xd387a7(0x1a2)),{isUndefined,isBrowserstackInfra}=require(a42_0xd387a7(0x17a)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a42_0xd387a7(0x18c)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants'),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{AUTOMATION_LOG_COMMANDS}=require('../utils/constants');function a42_0x416a(){const _0x29af3c=['measureWrapper','\x20browser\x20version\x20','PVkeo','BS_A11Y_JWT','bstackSdkArgs','mpyoe','name','\x20page:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','accessibilityOptions.authToken','pOSke','237597TUgBwK','browserstack.accessibilityOptions','evaluate','parameters','error','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','accessibilityOptions.scannerProcessingTimeout','isMobilePlatform','wcagVersion','includePartOfPageScope','replace','debug','diomd','dIVRm','cWvvd','../../helpers/helper','dqSPx','performScan','../../helpers/logger','\x20or\x20higher\x20','toISOString','QXzvG','toLowerCase','body','browserStackEvaluate','koYUn','][\x20SDK-AUTOMATION\x20]\x20','find','string','vvDhz','assign','WebDriver','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','../../helpers/performance/performance-tester','ofrQb','QrKQB','Performing\x20scan\x20with\x20method:\x20','deviceName','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','pnmYY','latest','forEach','executeScript','204NWxzLi','accessibilityOptions','MwbRy','wsEndpoint','command','testInfo','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','scannerVersion','on\x20non-BrowserStack\x20infrastructure\x20','browser','8293851Pttabk','aEnNF','../../helpers/accessibility-automation/helper','cSVZO','winstonLogger','getMinVersionForBrowser','includes','accessibilityPlatform','51945MKibhU','isMobileScanningEnabledForGroup','OwYXE','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','17678930bmBzUh','browser_version','rfcLt','eTDXi','eKocw','isBrowserSupportedForAccessibility','browserstack.accessibility','kMPUP','message','parse','platformValidation','DLMjt','kuBQm','ugvdW','chromium','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','OJxfU','processAccessibilityCaps','accessibilityOptions.scannerVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','1393134oQcCEQ','4rstQzM','7020528NAQZHq','stringify','currentTest','getAccessibilityResultsSummary','8131686Dslwfl','connectOptions','isVersionSupported','includeIssueType','RRjwx','wyrXc','use','setAccessibilityCapabilities','zbRVW','util','rmCSO','needsReview','7txJxxT','IlZQd','bestPractice','env','GIWiR','TumSM','Playwright','android','warn','constructor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','PERFORM_SCAN','executeAsyncScript','workerInfo','format','request','browserName','chrome','yibQH','accessibilityOptions.wcagVersion','uBNmF','getAccessibilityResults','browserStackExecuteDriver','keys','xzYmQ','project','scannerProcessingTimeout'];a42_0x416a=function(){return _0x29af3c;};return a42_0x416a();}exports[a42_0xd387a7(0x183)]=async(_0xc3778e,_0x45286d,_0x21d8d3={})=>{const _0x44f938=a42_0xd387a7,_0xc80894={};_0xc80894['QrKQB']=_0x44f938(0x164),_0xc80894['OJxfU']=function(_0x1f40b3,_0x3a9b50){return _0x1f40b3===_0x3a9b50;},_0xc80894[_0x44f938(0x159)]=_0x44f938(0x187);const _0x534a0a=_0xc80894,_0x28dcfd=await _0xc3778e[_0x44f938(0x16d)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x45286d[_0x44f938(0x175)](/arguments/g,_0x534a0a[_0x44f938(0x18e)])+_0x44f938(0x18b)+JSON[_0x44f938(0x136)](_0x21d8d3)+')');try{if(_0x45286d&&_0x534a0a[_0x44f938(0x12f)](typeof _0x45286d,_0x534a0a[_0x44f938(0x159)])){const _0x46e0fc=AUTOMATION_LOG_COMMANDS[_0x44f938(0x186)](_0x302d69=>_0x45286d['includes'](_0x302d69));if(_0x46e0fc){const _0x52e127={};_0x52e127[_0x44f938(0x19a)]=_0x46e0fc,_0x52e127[_0x44f938(0x16e)]=[_0x21d8d3];const _0x3fb557={};_0x3fb557[_0x44f938(0x182)]=_0x28dcfd;const _0x2afadb={};_0x2afadb[_0x44f938(0x154)]=_0x52e127,_0x2afadb['response']=_0x3fb557,automationLogger['silly']('['+new Date()[_0x44f938(0x17f)]()+_0x44f938(0x185)+JSON[_0x44f938(0x136)](_0x2afadb));}}}catch(_0x4ce922){logger[_0x44f938(0x176)](_0x44f938(0x191)+_0x4ce922[_0x44f938(0x126)]);}return _0x28dcfd;},exports[a42_0xd387a7(0x15b)]=async(_0x4e979c,_0x27da50,_0x551dd7={})=>{const _0x49e309=a42_0xd387a7,_0x505587={};_0x505587[_0x49e309(0x165)]=function(_0x5aafe6,_0x596c5d){return _0x5aafe6===_0x596c5d;},_0x505587[_0x49e309(0x146)]=_0x49e309(0x18a),_0x505587[_0x49e309(0x198)]=function(_0x2407ab,_0x44feb8){return _0x2407ab===_0x44feb8;},_0x505587[_0x49e309(0x143)]=_0x49e309(0x14b),_0x505587[_0x49e309(0x15d)]='bstackSdkArgs';const _0x36b3ea=_0x505587;if(_0x36b3ea['mpyoe'](_0x4e979c[_0x49e309(0x14e)][_0x49e309(0x166)],_0x36b3ea[_0x49e309(0x146)]))return await _0x4e979c[_0x49e309(0x151)](_0x27da50,_0x551dd7);else{if(_0x36b3ea[_0x49e309(0x198)](_0x4e979c['constructor'][_0x49e309(0x166)],_0x36b3ea[_0x49e309(0x143)]))return await _0x4e979c[_0x49e309(0x195)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+_0x27da50['replace'](/arguments/g,_0x36b3ea[_0x49e309(0x15d)])+_0x49e309(0x19c)+JSON[_0x49e309(0x136)](_0x551dd7)+')');}},exports[a42_0xd387a7(0x140)]=async _0x34cc32=>{const _0x41eb05=a42_0xd387a7,_0x196f53={};_0x196f53[_0x41eb05(0x180)]=_0x41eb05(0x158),_0x196f53[_0x41eb05(0x125)]=_0x41eb05(0x171),_0x196f53[_0x41eb05(0x162)]='accessibilityOptions.includeIssueType.bestPractice',_0x196f53[_0x41eb05(0x122)]='accessibilityOptions.includeIssueType.needsReview',_0x196f53[_0x41eb05(0x1a3)]=_0x41eb05(0x169),_0x196f53['oZncx']=_0x41eb05(0x131);const _0x2ff7e1=_0x196f53;_0x34cc32[_0x41eb05(0x197)]&&(_0x34cc32[_0x41eb05(0x197)][_0x41eb05(0x173)]&&(_0x34cc32[_0x2ff7e1['QXzvG']]=_0x34cc32[_0x41eb05(0x197)][_0x41eb05(0x173)]),_0x34cc32[_0x41eb05(0x197)][_0x41eb05(0x15f)]&&(_0x34cc32[_0x2ff7e1[_0x41eb05(0x125)]]=_0x34cc32['accessibilityOptions']['scannerProcessingTimeout']),_0x34cc32['accessibilityOptions'][_0x41eb05(0x13c)]&&(_0x34cc32[_0x2ff7e1[_0x41eb05(0x162)]]=_0x34cc32[_0x41eb05(0x197)][_0x41eb05(0x13c)][_0x41eb05(0x147)],_0x34cc32[_0x2ff7e1[_0x41eb05(0x122)]]=_0x34cc32[_0x41eb05(0x197)][_0x41eb05(0x13c)][_0x41eb05(0x144)]));const _0x4fc2b5=JSON[_0x41eb05(0x127)](process['env'][_0x41eb05(0x132)])[_0x41eb05(0x19d)];_0x34cc32[_0x2ff7e1[_0x41eb05(0x1a3)]]=process[_0x41eb05(0x148)][_0x41eb05(0x163)],_0x34cc32[_0x2ff7e1['oZncx']]=_0x4fc2b5,delete _0x34cc32['accessibilityOptions'];},exports[a42_0xd387a7(0x15a)]=async _0x39ce90=>{const _0x5e9e5d=a42_0xd387a7,_0x47584e={};_0x47584e[_0x5e9e5d(0x13e)]='No\x20accessibility\x20results\x20were\x20found.',_0x47584e[_0x5e9e5d(0x11c)]=_0x5e9e5d(0x168);const _0x1a113c=_0x47584e;if(global['accessibilityPlatform'])try{const details={'url':await _0x39ce90.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x39ce90,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x39ce90,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x5e9e5d(0x16f)](_0x1a113c[_0x5e9e5d(0x13e)]),[];}else return logger[_0x5e9e5d(0x14d)](_0x1a113c[_0x5e9e5d(0x11c)]),[];},exports[a42_0xd387a7(0x17c)]=async(_0x4f023f,_0x2fe7b9='',_0x23350f={},_0x2885d1={})=>{const _0x3fedb7=a42_0xd387a7;logger[_0x3fedb7(0x176)](_0x3fedb7(0x18f)+_0x2fe7b9+_0x3fedb7(0x167)+_0x4f023f);const _0x296505={'url':await _0x4f023f['url'](),'testhub_btcer_uuid':global['__workerDetails']?.['currentTest']?.['id']};if(global[_0x3fedb7(0x1a7)])return await PerformanceTester[_0x3fedb7(0x160)](PerformanceA11yEvents[_0x3fedb7(0x150)],async()=>{const _0x408a38=_0x3fedb7,_0x136725={};_0x136725['command']=_0x2fe7b9;const _0x46b855=_0x136725;_0x23350f&&_0x23350f[_0x408a38(0x174)]&&(_0x46b855[_0x408a38(0x174)]=_0x23350f[_0x408a38(0x174)]);Object[_0x408a38(0x189)](_0x46b855,_0x2885d1);const _0x10ddce=await exports['browserStackEvaluate'](_0x4f023f,scripts['performScan'],_0x46b855);return _0x10ddce;},{'command':_0x2fe7b9,..._0x296505})();},exports[a42_0xd387a7(0x138)]=async _0x394ea3=>{const _0x5def31=a42_0xd387a7,_0x12c12f={};_0x12c12f['diomd']='No\x20summaryResults\x20found.',_0x12c12f[_0x5def31(0x184)]=_0x5def31(0x12e);const _0x4c7099=_0x12c12f;if(global[_0x5def31(0x1a7)])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x394ea3,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x394ea3,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x5def31(0x176)](_0x4c7099[_0x5def31(0x177)]),{};}else return logger[_0x5def31(0x14d)](_0x4c7099[_0x5def31(0x184)]),{};},exports[a42_0xd387a7(0x128)]=_0x31764b=>{const _0x1d1742=a42_0xd387a7,_0x40dd4d={'GIWiR':'platformValidation:\x20Mobile\x20platform\x20already\x20validated.','SzcGe':_0x1d1742(0x170),'aEnNF':function(_0x37381e,_0x402a7c){return _0x37381e!==_0x402a7c;},'eTDXi':_0x1d1742(0x193),'DLMjt':function(_0x42f0b2){return _0x42f0b2();},'cWvvd':_0x1d1742(0x19e)};try{if(global[_0x1d1742(0x172)])return logger[_0x1d1742(0x176)](_0x40dd4d[_0x1d1742(0x149)]),!![];const _0x211af9=_0x31764b[_0x1d1742(0x19f)],_0x3cff36=_0x31764b[_0x1d1742(0x11f)];if(!accessibilityHelper[_0x1d1742(0x123)](_0x211af9))return logger[_0x1d1742(0x14d)](_0x40dd4d['SzcGe']),![];if(_0x40dd4d[_0x1d1742(0x1a1)](_0x3cff36,_0x40dd4d[_0x1d1742(0x121)])){const _0x45204e=_0x40dd4d[_0x1d1742(0x129)](isBrowserstackInfra),_0x518a2b=accessibilityHelper[_0x1d1742(0x1a5)](_0x211af9,_0x45204e),_0xa588e0=accessibilityHelper['getBrowserDisplayName'](_0x211af9);if(!accessibilityHelper[_0x1d1742(0x13b)](_0x3cff36,_0x518a2b)){const _0x192d3d=_0x45204e?'':_0x40dd4d[_0x1d1742(0x179)];return logger[_0x1d1742(0x14d)](_0x1d1742(0x11d)+_0xa588e0+_0x1d1742(0x161)+_0x518a2b+_0x1d1742(0x17e)+_0x192d3d+'.'),![];}}}catch(_0x2e44dc){logger[_0x1d1742(0x176)](_0x1d1742(0x12d)+util[_0x1d1742(0x153)](_0x2e44dc));}return!![];},exports[a42_0xd387a7(0x130)]=(_0x5a02ed,_0x11675c,_0x25284a)=>{const _0x35ba77=a42_0xd387a7,_0x151dcd={'pnmYY':_0x35ba77(0x16c),'RRjwx':function(_0x2afaac){return _0x2afaac();},'pOSke':_0x35ba77(0x124),'qXjjJ':_0x35ba77(0x170),'TumSM':function(_0x35b0cc,_0x41ba35){return _0x35b0cc!==_0x41ba35;},'aGBoA':_0x35ba77(0x193),'zbRVW':'on\x20non-BrowserStack\x20infrastructure\x20','yibQH':function(_0x4a0f72,_0x429614){return _0x4a0f72(_0x429614);},'kuBQm':function(_0x4b019f,_0x44a4ee){return _0x4b019f===_0x44a4ee;},'rfcLt':_0x35ba77(0x14c),'dqSPx':_0x35ba77(0x156),'ugvdW':'playwright-chromium','dIVRm':_0x35ba77(0x12c),'vvDhz':_0x35ba77(0x14f),'ofrQb':function(_0x343821,_0x42b34f){return _0x343821+_0x42b34f;}};try{if(_0x151dcd['RRjwx'](isAccessibilityAutomationSession)){global[_0x35ba77(0x1a7)]=!![];!_0x5a02ed[_0x151dcd[_0x35ba77(0x16a)]]&&(global['accessibilityPlatform']=![]);const _0x414f82=_0x5a02ed[_0x35ba77(0x155)]||_0x5a02ed[_0x35ba77(0x19f)],_0x12d75e=_0x5a02ed[_0x35ba77(0x11f)];!accessibilityHelper[_0x35ba77(0x123)](_0x414f82)&&(logger[_0x35ba77(0x14d)](_0x151dcd['qXjjJ']),global[_0x35ba77(0x1a7)]=![]);if(_0x151dcd[_0x35ba77(0x14a)](_0x12d75e,_0x151dcd['aGBoA'])){const _0x2cdaac=_0x151dcd[_0x35ba77(0x13d)](isBrowserstackInfra),_0x4fa1be=accessibilityHelper['getMinVersionForBrowser'](_0x414f82,_0x2cdaac),_0x401e7d=accessibilityHelper['getBrowserDisplayName'](_0x414f82);if(!accessibilityHelper[_0x35ba77(0x13b)](_0x12d75e,_0x4fa1be)){const _0x2da007=_0x2cdaac?'':_0x151dcd[_0x35ba77(0x141)];logger[_0x35ba77(0x14d)](_0x35ba77(0x11d)+_0x401e7d+_0x35ba77(0x161)+_0x4fa1be+_0x35ba77(0x17e)+_0x2da007+'.'),global[_0x35ba77(0x1a7)]=![];}}if(!_0x151dcd[_0x35ba77(0x157)](isUndefined,_0x5a02ed[_0x35ba77(0x190)])){const _0x27ab41=(_0x5a02ed['os']||'')['toLowerCase'](),_0x5978bc=(_0x5a02ed[_0x35ba77(0x155)]||_0x5a02ed[_0x35ba77(0x19f)]||'')[_0x35ba77(0x181)](),_0x1f120c=_0x151dcd[_0x35ba77(0x12a)](_0x27ab41,_0x151dcd[_0x35ba77(0x120)])&&[_0x151dcd[_0x35ba77(0x17b)],_0x151dcd[_0x35ba77(0x12b)],_0x151dcd[_0x35ba77(0x178)]][_0x35ba77(0x1a6)](_0x5978bc);if(!_0x1f120c)logger['warn'](_0x151dcd[_0x35ba77(0x188)]),global[_0x35ba77(0x1a7)]=![];else!accessibilityHelper[_0x35ba77(0x11b)]()&&(logger[_0x35ba77(0x14d)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),global['accessibilityPlatform']=![]);}if(!global['accessibilityPlatform']){_0x5a02ed[_0x151dcd[_0x35ba77(0x16a)]]=![],Object[_0x35ba77(0x15c)](_0x5a02ed)[_0x35ba77(0x194)](_0x29f5c6=>{const _0x10e0e6=_0x35ba77;_0x29f5c6['startsWith'](_0x151dcd[_0x10e0e6(0x192)])&&delete _0x5a02ed[_0x29f5c6];});const _0x5924c7=_0x151dcd[_0x35ba77(0x18d)](_0x11675c,_0x151dcd[_0x35ba77(0x157)](encodeURIComponent,JSON['stringify'](_0x5a02ed)));_0x25284a&&(_0x25284a[_0x35ba77(0x137)][_0x35ba77(0x19b)][_0x35ba77(0x15e)][_0x35ba77(0x13f)]['connectOptions'][_0x35ba77(0x199)]=_0x5924c7,_0x25284a[_0x35ba77(0x152)][_0x35ba77(0x15e)][_0x35ba77(0x13f)][_0x35ba77(0x13a)][_0x35ba77(0x199)]=_0x5924c7);}}else global[_0x35ba77(0x1a7)]=![];}catch(_0x20db8f){logger[_0x35ba77(0x176)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x35ba77(0x153)](_0x20db8f));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a39_0x4c4447=a39_0x3cce;function a39_0x3cce(_0x59a71e,_0x24744e){const _0x287a68=a39_0x287a();return a39_0x3cce=function(_0x3cce77,_0x4b0f34){_0x3cce77=_0x3cce77-0xae;let _0x15ecf4=_0x287a68[_0x3cce77];return _0x15ecf4;},a39_0x3cce(_0x59a71e,_0x24744e);}(function(_0xe3e2fb,_0x38bcc6){const _0x420f51=a39_0x3cce,_0xf866ba=_0xe3e2fb();while(!![]){try{const _0x22e22b=-parseInt(_0x420f51(0xfc))/0x1*(parseInt(_0x420f51(0x152))/0x2)+parseInt(_0x420f51(0x12a))/0x3+parseInt(_0x420f51(0xff))/0x4*(-parseInt(_0x420f51(0x156))/0x5)+parseInt(_0x420f51(0xd5))/0x6*(parseInt(_0x420f51(0x13a))/0x7)+parseInt(_0x420f51(0xfa))/0x8+-parseInt(_0x420f51(0x12d))/0x9+-parseInt(_0x420f51(0x11d))/0xa*(-parseInt(_0x420f51(0x169))/0xb);if(_0x22e22b===_0x38bcc6)break;else _0xf866ba['push'](_0xf866ba['shift']());}catch(_0x29c7a7){_0xf866ba['push'](_0xf866ba['shift']());}}}(a39_0x287a,0x99d4e));function a39_0x287a(){const _0x13288f=['getProxyUrl','rdeQS','Updated\x20config\x20file\x20name\x20to\x20-\x20','startsWith','automation','join','isTrue','getInstance','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','ruBUJ','TTZhj','bootstrap','SDK_CLEANUP','../../helpers/test-observability/constants','5877920cfJROv','length','3412MRSZXk','pw_result.json','UhSBe','393412udvfmK','fWHwt','fxppz','false','dRByu','agVDu','serializeToYamlString','../../helpers/test-observability/utils','cliConfig','resolve','accessibilityOptions','Error\x20in\x20getting\x20funnel\x20data\x20results','getConfigPath','path','ehoAy','--config','configPath','errorMessage','EOkTC','--config=','../../helpers/logger','EUuVz','lKTCv','browserstackSetupConfig.json','../../helpers/performance/performance-tester','YJWUB','XbEjB','splice','finalExecution','../../helpers/BrowserStackSetup','1561740uXPJLb','isFalse','true','playwright','writeFileSync','BROWSERSTACK_TEST_OBSERVABILITY','getConfig','readdirSync','cQyix','filterBrowserstackArgs','./reporter/test-details','isYarnPnP','../v2/browserstackCLI','142758UzUaKu','has','iblRJ','2824065Gusvrv','lJvPE','BrowserStack\x20config\x20file\x20not\x20found.','isRunning','BROWSERSTACK_TEST_ACCESSIBILITY_YML','TohxD','accessibility','gJWNi','IAFVX','PVihT','apply','./reporter/pwUtils','validateRerunTestList','1140314fRxsKu','test','DuITl','--disable-test-observability','util','../utils/clientTroubleshootingService','assign','env','reportDotBrowserStackFolderNotAccessibleIssue','parse','../utils/constants','ihkKl','setFrameworkDetail','lZsMM','readFileSync','mtXrp','CJMHL','R_OK','kQXbd','getNoProxy','PLAYWRIGHT','inherit','CSdfr','ERWNh','234WYhuxC','HloYd','UpDMh','shutdown','45XmnmHG','platform','RtITI','RYzhZ','measureWrapper','isUndefined','existsSync','slice','UDPtN','BROWSERSTACK_AUTOMATION','win32','requirePWModule','requireConfigLoaderYarnPnP','nestedKeyValue','npx','../v2/TestInfo','Error\x20in\x20closing\x20playwright','pTXFU','concat','33dOsaHd','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','end','homedir','push','qXKKT','reportFinalDetectionState','debug','.browserstack','error','ByrRW','stringify','accessSync','Deleting\x20','skipSessionStatus','findIndex','initialize','SDK_POST_INITIALIZE','No\x20Proxy\x20:\x20','dirname','../../helpers/testhub/testhubHandler','SDK_PRE_INITIALIZE','rOKRY','vLOEv','BROWSERSTACK_PW_CONFIG_DIR','config','BROWSERSTACK_RERUN','isCLIEnabled','testObservability','logLevel','split','yarn','IKlVZ','Proxy\x20url\x20:\x20','tzwsx','gDXlh','vvkRF','zwdEJ','constants','xdYgV','PACKAGE_TYPE','exitCode','map','AcHif','36plNeZK','forEach','ODWvN','../../helpers/helper','YlxIy','filter','close','stop','unlinkSync','trim','qwCNe','ZzDvT','nupoi','EAeNv','VpycZ','zCnJq','cwd','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','Playwright\x20process\x20exited\x20with\x20code\x20','testContextOptions','resolvedConfigFile','../../helpers/performance/constants','xpLBI'];a39_0x287a=function(){return _0x13288f;};return a39_0x287a();}const fs=require('fs'),path=require(a39_0x4c4447(0x10c)),{spawn}=require('child_process'),{format}=require(a39_0x4c4447(0x13e)),logger=require(a39_0x4c4447(0x113))['winstonLogger'],{default:BrowserStackSetup}=require(a39_0x4c4447(0x11c)),helper=require(a39_0x4c4447(0xd8)),utilities=require('../../helpers/utilities'),constants=require(a39_0x4c4447(0x144)),{FRAMEWORKS}=require(a39_0x4c4447(0xf9)),{getConfigLoaderPath}=require(a39_0x4c4447(0x138)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a39_0x4c4447(0x106)),TestDetails=require(a39_0x4c4447(0x127)),TestHubHandler=require(a39_0x4c4447(0xbd)),PerformanceTester=require(a39_0x4c4447(0x117)),BrowserstackCLI=require(a39_0x4c4447(0x129)),PerformanceEvents=require(a39_0x4c4447(0xea))['EVENTS'],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0x4c4447(0x165)),ClientTroubleShootingService=require(a39_0x4c4447(0x13f)),getUserPlaywrightConfig=async(_0x13b2f8,_0x5b71fa)=>{const _0x3af238=a39_0x4c4447,_0x34f8cf={'UDPtN':function(_0x3a6ac1){return _0x3a6ac1();},'kQXbd':function(_0x2649a2,_0x3b5578){return _0x2649a2(_0x3b5578);},'RtITI':_0x3af238(0xe9),'agVDu':_0x3af238(0x112)},_0x1ad840=!helper['isUndefined'](_0x13b2f8[_0x3af238(0xc2)]),_0x35d425=_0x1ad840?path['resolve'](process['cwd'](),_0x13b2f8[_0x3af238(0xc2)]):process[_0x3af238(0xe5)](),{resolveConfigFile:_0x249cc1,resolveConfigLocation:_0x452b1d}=helper['isYarnPnP']()?helper[_0x3af238(0x162)](..._0x34f8cf[_0x3af238(0x15e)](getConfigLoaderPath)):helper[_0x3af238(0x161)][_0x3af238(0x137)](null,_0x34f8cf['UDPtN'](getConfigLoaderPath)),_0xc72887=_0x249cc1?_0x34f8cf['kQXbd'](_0x249cc1,_0x35d425):helper[_0x3af238(0x163)](_0x34f8cf[_0x3af238(0x14c)](_0x452b1d,_0x35d425),[_0x34f8cf[_0x3af238(0x158)]]),_0x27a573={};if(_0x1ad840){const _0x1b3e51=_0x5b71fa[_0x3af238(0xb8)](_0x5818d3=>_0x5818d3===_0x3af238(0x10e)||_0x5818d3==='-c'||_0x5818d3[_0x3af238(0xef)](_0x3af238(0x112)));_0x5b71fa[_0x3af238(0x11a)](_0x1b3e51,_0x5b71fa[_0x1b3e51][_0x3af238(0xef)](_0x34f8cf[_0x3af238(0x104)])?0x1:0x2);}const _0x11d315={};return _0x11d315[_0x3af238(0x10c)]=_0xc72887,_0x11d315['config']=_0x27a573,_0x11d315;},handleO11yRerun=_0x36d191=>{const _0x137cff=a39_0x4c4447,_0x34f1fc={};_0x34f1fc['ehoAy']='--grep';const _0x3c7fa7=_0x34f1fc,_0x518b57=helper[_0x137cff(0xf2)](process[_0x137cff(0x141)][_0x137cff(0xc3)]);if(_0x518b57){const _0x5d07fd=process['env']['BROWSERSTACK_RERUN_TESTS'],_0x35d5cd=[];if(helper[_0x137cff(0x139)](_0x5d07fd)&&!helper[_0x137cff(0x15b)](_0x5d07fd)){_0x5d07fd['split'](',')[_0x137cff(0xd3)](_0xa6655f=>{const _0x4e2a30=_0x137cff;_0x35d5cd[_0x4e2a30(0x16d)]('('+_0xa6655f[_0x4e2a30(0xde)]()+')');});const _0x5e27ca='^'+_0x35d5cd[_0x137cff(0xf1)]('|')+'$';_0x36d191[_0x137cff(0x16d)](_0x3c7fa7[_0x137cff(0x10d)],_0x5e27ca);}}},spawnOriginalProcess=_0x14427b=>{const _0xe071ec=a39_0x4c4447,_0x93e5dd={'UpDMh':function(_0x59f93f,_0x2d240c,_0x2f3923,_0x285281){return _0x59f93f(_0x2d240c,_0x2f3923,_0x285281);},'XbEjB':_0xe071ec(0xc8),'dRByu':'npx','YGWBQ':'playwright','gDXlh':function(_0x553179,_0x13f144){return _0x553179===_0x13f144;},'TohxD':_0xe071ec(0x160),'ooAUO':_0xe071ec(0x14f)};_0x93e5dd[_0xe071ec(0x154)](spawn,helper[_0xe071ec(0x128)]()?_0x93e5dd[_0xe071ec(0x119)]:_0x93e5dd[_0xe071ec(0x103)],[_0x93e5dd['YGWBQ'],..._0x14427b[_0xe071ec(0x15d)](0x1)],{'shell':_0x93e5dd[_0xe071ec(0xcc)](process[_0xe071ec(0x157)],_0x93e5dd[_0xe071ec(0x132)]),'stdio':_0x93e5dd['ooAUO'],'cwd':process[_0xe071ec(0xe5)]()});},isTestCommand=(_0x83e560,_0x2344f6)=>{const _0x268cdc=a39_0x4c4447,_0x29369={};_0x29369[_0x268cdc(0x151)]=function(_0x1518a,_0x41dbb1){return _0x1518a>_0x41dbb1;},_0x29369[_0x268cdc(0x147)]=function(_0x2ea99b,_0x4aef0c){return _0x2ea99b===_0x4aef0c;},_0x29369[_0x268cdc(0x100)]='test';const _0x13ec8e=_0x29369;if(_0x13ec8e[_0x268cdc(0x151)](_0x2344f6[_0x268cdc(0xfb)],0x1)&&_0x13ec8e['lZsMM'](_0x2344f6[0x1],_0x13ec8e[_0x268cdc(0x100)]))return!![];return![];};async function run(_0x4e2151,_0x5b86a5,_0x77a862){const _0x2f0249=a39_0x4c4447,_0x1e8fb1={'ByrRW':function(_0x159193){return _0x159193();},'vvkRF':_0x2f0249(0xb1),'mtXrp':function(_0x3c4f9e,_0x2e093e){return _0x3c4f9e+_0x2e093e;},'HloYd':_0x2f0249(0x166),'CJMHL':function(_0xa2d76c,_0x7f0883){return _0xa2d76c(_0x7f0883);},'vLOEv':_0x2f0249(0xfd),'nupoi':_0x2f0249(0x10a),'jDsZH':_0x2f0249(0x12f),'TTZhj':function(_0x5d3669,_0x5402c9){return _0x5d3669<_0x5402c9;},'CSdfr':function(_0x5aa6fd,_0x2176f9){return _0x5aa6fd===_0x2176f9;},'EAeNv':_0x2f0249(0x102),'ihkKl':_0x2f0249(0x13d),'tzwsx':function(_0x2a910b,_0xe3d444){return _0x2a910b>=_0xe3d444;},'YJWUB':_0x2f0249(0xf0),'rZnVf':function(_0x997657,_0x12b60c){return _0x997657!=_0x12b60c;},'lJvPE':function(_0x35be6a,_0x8c7328,_0x20b009){return _0x35be6a(_0x8c7328,_0x20b009);},'EUuVz':_0x2f0249(0x11f),'xdYgV':function(_0x4cd896,_0x1b64b1){return _0x4cd896(_0x1b64b1);},'rOKRY':function(_0xb6ea63,_0x6d3166){return _0xb6ea63(_0x6d3166);},'cQyix':_0x2f0249(0x116),'zwdEJ':'playwright-browserstack-sdk.config.cjs','xpLBI':'playwright-browserstack-sdk.config.js','uhSbp':function(_0x152355,_0x131b15){return _0x152355-_0x131b15;},'lKTCv':_0x2f0249(0xee),'pTXFU':function(_0x1e03f2,_0x2b5352){return _0x1e03f2>_0x2b5352;},'iblRJ':function(_0x426de2,_0x3a5236,_0x5806b2,_0x4f6435){return _0x426de2(_0x3a5236,_0x5806b2,_0x4f6435);},'RYzhZ':_0x2f0249(0xc8),'ZzDvT':_0x2f0249(0x164),'AcHif':_0x2f0249(0x120),'EOkTC':_0x2f0249(0x13b),'VpycZ':_0x2f0249(0x10e),'gJWNi':_0x2f0249(0x160),'ODWvN':function(_0x4db392,_0x2d9a24){return _0x4db392===_0x2d9a24;},'fxppz':_0x2f0249(0x14f),'rdeQS':_0x2f0249(0xdb),'qXKKT':function(_0x231f93,_0x3bd3e9){return _0x231f93|_0x3bd3e9;},'zCnJq':function(_0x5a609a,_0x4fa95c){return _0x5a609a+_0x4fa95c;},'DuITl':_0x2f0249(0xe6),'ruBUJ':function(_0x3f7383,_0x2e286b){return _0x3f7383+_0x2e286b;},'YlxIy':'Error\x20in\x20deleting\x20playwright\x20results','qwCNe':function(_0x22177d,_0x1896cd,_0x9cd327){return _0x22177d(_0x1896cd,_0x9cd327);},'UhSBe':function(_0x113401,_0x2c9840){return _0x113401(_0x2c9840);}};try{const _0x1015e2=path[_0x2f0249(0xf1)](helper[_0x2f0249(0x16c)](),_0x1e8fb1['vvkRF']);try{fs[_0x2f0249(0xb5)](_0x1015e2,_0x1e8fb1[_0x2f0249(0xae)](fs[_0x2f0249(0xcf)][_0x2f0249(0x14b)],fs[_0x2f0249(0xcf)]['W_OK']));}catch(_0xb52d7e){ClientTroubleShootingService[_0x2f0249(0x142)]();}}catch(_0x4d3d81){logger[_0x2f0249(0xb0)](_0x1e8fb1[_0x2f0249(0xe4)](_0x1e8fb1[_0x2f0249(0x13c)],_0x4d3d81));}try{const _0x1be2a6=path[_0x2f0249(0xf1)](helper[_0x2f0249(0x16c)](),_0x1e8fb1[_0x2f0249(0xcd)],_0x1e8fb1[_0x2f0249(0xc0)]);fs[_0x2f0249(0x15c)](_0x1be2a6)&&fs[_0x2f0249(0xdd)](_0x1be2a6);}catch(_0x2d90e1){logger[_0x2f0249(0xb0)](_0x1e8fb1[_0x2f0249(0xf5)](_0x1e8fb1[_0x2f0249(0xd9)],_0x2d90e1));}if(!_0x1e8fb1[_0x2f0249(0xdf)](isTestCommand,_0x4e2151,_0x5b86a5)){_0x1e8fb1[_0x2f0249(0xfe)](spawnOriginalProcess,_0x5b86a5);return;}await PerformanceTester[_0x2f0249(0x15a)](PerformanceEvents[_0x2f0249(0xbe)],async()=>{const _0x47bd06=_0x2f0249,_0x167508={'IAFVX':function(_0xe3b2a9,_0x109941){const _0x5bd59d=a39_0x3cce;return _0x1e8fb1[_0x5bd59d(0x14a)](_0xe3b2a9,_0x109941);},'IKlVZ':_0x1e8fb1[_0x47bd06(0xcd)],'WQnon':_0x1e8fb1[_0x47bd06(0xc0)],'KfSdW':function(_0x52411a,_0x529300){return _0x1e8fb1['mtXrp'](_0x52411a,_0x529300);},'PVihT':_0x1e8fb1[_0x47bd06(0xe1)]};if(!_0x77a862[_0x47bd06(0xc2)]){logger[_0x47bd06(0xb2)](_0x1e8fb1['jDsZH']);return;}await _0x77a862[_0x47bd06(0xb9)](_0x4e2151),CLIUtils[_0x47bd06(0x146)](FRAMEWORKS[_0x47bd06(0x14e)],FRAMEWORKS[_0x47bd06(0x14e)]),BrowserstackCLI[_0x47bd06(0xf3)]()['setBrowserstackConfig'](_0x77a862[_0x47bd06(0xc2)],_0x77a862[_0x47bd06(0x10f)],_0x77a862[_0x47bd06(0x107)]),await BrowserstackCLI[_0x47bd06(0xf3)]()[_0x47bd06(0xf7)]();for(var _0x4e058f=0x0;_0x1e8fb1[_0x47bd06(0xf6)](_0x4e058f,constants['INTERNALLY_USED_ENV_VARS'][_0x47bd06(0xfb)]);_0x4e058f++){var _0x4484ad=constants['INTERNALLY_USED_ENV_VARS'][_0x4e058f];process['env'][_0x4484ad]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x4484ad);}const _0x11bf38=BrowserstackCLI[_0x47bd06(0xf3)]()[_0x47bd06(0x123)]();!helper[_0x47bd06(0x11e)](_0x11bf38['browserstackAutomation'])&&(process[_0x47bd06(0x141)]['BROWSERSTACK_AUTOMATION']=!![]);_0x1e8fb1['CSdfr'](_0x11bf38['browserstackAutomation'],![])&&(process[_0x47bd06(0x141)][_0x47bd06(0x15f)]=_0x1e8fb1[_0x47bd06(0xe2)],_0x5b86a5=_0x5b86a5[_0x47bd06(0xda)](_0x437f2f=>_0x437f2f!=='--disable-browserstack-automation'));const _0x105ea3=_0x5b86a5['indexOf'](_0x1e8fb1[_0x47bd06(0x145)]);(_0x1e8fb1[_0x47bd06(0xcb)](_0x105ea3,0x0)||_0x1e8fb1[_0x47bd06(0x150)](_0x11bf38[_0x47bd06(0xc5)],![]))&&(process[_0x47bd06(0x141)][_0x47bd06(0x122)]=_0x1e8fb1[_0x47bd06(0xe2)],_0x5b86a5=_0x5b86a5[_0x47bd06(0xda)](_0x56b670=>_0x56b670!==_0x47bd06(0x13d)));!helper['isUndefined'](_0x77a862[_0x47bd06(0x107)])&&_0x77a862[_0x47bd06(0x107)][_0x47bd06(0x12b)](_0x1e8fb1[_0x47bd06(0x118)])&&(process[_0x47bd06(0x141)][_0x47bd06(0x15f)]=_0x77a862['cliConfig']['get'](_0x1e8fb1[_0x47bd06(0x118)])||!![]);_0x1e8fb1['rZnVf'](_0x77a862['config'][_0x47bd06(0xc5)],null)&&!helper['isTrue'](process[_0x47bd06(0x141)][_0x47bd06(0x122)])&&(process[_0x47bd06(0x141)][_0x47bd06(0x122)]=process[_0x47bd06(0x141)][_0x47bd06(0x122)]||_0x77a862[_0x47bd06(0xc2)][_0x47bd06(0xc5)]);const _0x5518b3=!helper['isFalse'](process['env']['BROWSERSTACK_TEST_OBSERVABILITY']);_0x77a862['config'][_0x47bd06(0x109)]&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x47bd06(0xb4)](_0x77a862[_0x47bd06(0xc2)][_0x47bd06(0x109)]));let _0x5d75d9=![];_0x77a862[_0x47bd06(0xc2)][_0x47bd06(0x133)]&&(_0x5d75d9=!![],process['env'][_0x47bd06(0x131)]=_0x77a862['config']['accessibility']);const _0x48b2da=_0x5b86a5[_0x47bd06(0x168)](),_0x2b0003=await _0x1e8fb1[_0x47bd06(0x12e)](getUserPlaywrightConfig,_0x4e2151,_0x5b86a5);if(helper['isUndefined'](_0x2b0003)){_0x1e8fb1['CJMHL'](spawnOriginalProcess,_0x48b2da);return;}const _0x156b2f=_0x2b0003['path']?path[_0x47bd06(0xbc)](_0x2b0003[_0x47bd06(0x10c)]):process[_0x47bd06(0xe5)]();process[_0x47bd06(0x141)][_0x47bd06(0xc1)]=_0x156b2f,await PerformanceTester[_0x47bd06(0x15a)](PerformanceEvents[_0x47bd06(0xba)],async()=>{const _0x719e37=_0x47bd06;!BrowserstackCLI[_0x719e37(0xf3)]()[_0x719e37(0x130)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x719e37(0x14e)],_0x77a862),_0x5518b3&&_0x167508[_0x719e37(0x135)](handleO11yRerun,_0x5b86a5);})();if(!BrowserstackCLI[_0x47bd06(0xf3)]()[_0x47bd06(0x130)]()){let _0x5a5586=_0x1e8fb1[_0x47bd06(0x150)](process[_0x47bd06(0x141)][_0x47bd06(0x131)],_0x1e8fb1[_0x47bd06(0x114)]);_0x5a5586=_0x5a5586||_0x1e8fb1[_0x47bd06(0xd0)](checkAccessibilityPlatformConfig,_0x77a862[_0x47bd06(0xc2)]),process[_0x47bd06(0x141)][_0x47bd06(0x131)]=_0x5a5586,_0x5a5586&&_0x1e8fb1[_0x47bd06(0xbf)](setAccessibilityCapabilities,_0x77a862['config']);}const _0x1ebeae=path[_0x47bd06(0xf1)](_0x2b0003[_0x47bd06(0x10c)]?path[_0x47bd06(0xbc)](_0x2b0003[_0x47bd06(0x10c)]):process[_0x47bd06(0xe5)](),_0x1e8fb1[_0x47bd06(0x125)]);fs[_0x47bd06(0x121)](_0x1ebeae,helper[_0x47bd06(0x105)](_0x77a862[_0x47bd06(0xc2)])),process[_0x47bd06(0x141)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x1ebeae,helper['clearTempPWConfig']();let _0x53f326='';_0x1e8fb1[_0x47bd06(0x150)](helper['getPackageType'](),constants[_0x47bd06(0xd1)]['MODULE'])?_0x53f326=_0x1e8fb1[_0x47bd06(0xce)]:_0x53f326=_0x1e8fb1[_0x47bd06(0xeb)];let _0x15ef57='';if(helper['isTypescriptProject'](_0x2b0003[_0x47bd06(0x10c)])){_0x15ef57='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x426350=_0x53f326[_0x47bd06(0xc7)]('.');_0x426350[_0x1e8fb1['uhSbp'](_0x426350[_0x47bd06(0xfb)],0x1)]='ts',_0x53f326=_0x426350['join']('.'),logger[_0x47bd06(0xb0)](_0x1e8fb1['mtXrp'](_0x1e8fb1[_0x47bd06(0x115)],_0x53f326));}else _0x15ef57=_0x47bd06(0x16a);const _0x595684=path['join'](_0x2b0003[_0x47bd06(0x10c)]?path[_0x47bd06(0xbc)](_0x2b0003[_0x47bd06(0x10c)]):process[_0x47bd06(0xe5)](),_0x53f326);let _0x4d4b4d=_0x2b0003[_0x47bd06(0x10c)]?_0x2b0003[_0x47bd06(0x10c)]:'';_0x4d4b4d=_0x1e8fb1[_0x47bd06(0x167)](_0x4d4b4d[_0x47bd06(0xfb)],0x0)?path[_0x47bd06(0x108)](_0x4d4b4d):'',process['env']['USER_CONFIG_DETAILS_PATH']=_0x4d4b4d;const _0x3fdd0f=helper[_0x47bd06(0xec)](_0x77a862[_0x47bd06(0xc2)]),_0x3aa2f7=helper[_0x47bd06(0x14d)](_0x77a862[_0x47bd06(0xc2)]);logger[_0x47bd06(0xb0)](_0x47bd06(0xca)+_0x3fdd0f),logger['debug'](_0x47bd06(0xbb)+_0x3aa2f7);_0x3fdd0f&&(_0x15ef57=_0x1e8fb1[_0x47bd06(0x149)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x3fdd0f+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22'+_0x3aa2f7+_0x47bd06(0xf4),_0x15ef57));helper[_0x47bd06(0x126)]({},_0x5b86a5),fs[_0x47bd06(0x121)](_0x595684,_0x15ef57),PerformanceTester[_0x47bd06(0x16b)](PerformanceEvents['SDK_SETUP']);const _0x575e11=_0x1e8fb1[_0x47bd06(0x12c)](spawn,helper['isYarnPnP']()?_0x1e8fb1[_0x47bd06(0x159)]:_0x1e8fb1[_0x47bd06(0xe0)],[_0x1e8fb1[_0x47bd06(0xd4)],_0x1e8fb1[_0x47bd06(0x111)],_0x1e8fb1[_0x47bd06(0xe3)],_0x1e8fb1['CSdfr'](process[_0x47bd06(0x157)],_0x1e8fb1[_0x47bd06(0x134)])?'\x22'+_0x595684+'\x22':_0x595684,..._0x5b86a5[_0x47bd06(0x15d)](0x2)],{'shell':_0x1e8fb1[_0x47bd06(0xd7)](process['platform'],_0x1e8fb1[_0x47bd06(0x134)]),'stdio':_0x1e8fb1[_0x47bd06(0x101)],'cwd':process[_0x47bd06(0xe5)](),'env':Object[_0x47bd06(0x140)]({},process[_0x47bd06(0x141)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x47bd06(0x10b)](_0x4e2151),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x77a862[_0x47bd06(0xc2)][_0x47bd06(0xe8)][_0x47bd06(0xb7)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x77a862[_0x47bd06(0xc2)][_0x47bd06(0xe8)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x77a862[_0x47bd06(0xc2)][_0x47bd06(0xc6)]})}),_0xcbf35e=()=>{const _0x2a5b28=_0x47bd06;try{const _0x40b7cc=path['join'](helper[_0x2a5b28(0x16c)](),_0x167508[_0x2a5b28(0xc9)],_0x167508['WQnon']);if(fs[_0x2a5b28(0x15c)](_0x40b7cc)){let _0x3317b7=fs[_0x2a5b28(0x148)](_0x40b7cc);_0x3317b7=JSON[_0x2a5b28(0x143)](_0x3317b7),_0x77a862[_0x2a5b28(0x110)]=_0x3317b7,fs[_0x2a5b28(0xdd)](_0x40b7cc);}}catch(_0x4c3bf0){logger[_0x2a5b28(0xb0)](_0x167508['KfSdW'](_0x167508[_0x2a5b28(0x136)],_0x4c3bf0));}};_0x575e11['on'](_0x1e8fb1[_0x47bd06(0xed)],async _0xea86a2=>{const _0x2db5cb=_0x47bd06;try{PerformanceTester['start'](PerformanceEvents[_0x2db5cb(0xf8)]),_0x1e8fb1[_0x2db5cb(0xb3)](_0xcbf35e),await TestHubHandler[_0x2db5cb(0xdc)](),await ClientTroubleShootingService[_0x2db5cb(0xaf)]();const _0xddccc4=BrowserstackCLI[_0x2db5cb(0xc4)]();await BrowserstackCLI[_0x2db5cb(0xf3)]()[_0x2db5cb(0xdc)](),TestDetails[_0x2db5cb(0x155)](),_0x1e8fb1[_0x2db5cb(0xb3)](printBuildLink),await utilities[_0x2db5cb(0x11b)](_0x77a862,_0xddccc4),process[_0x2db5cb(0xd2)]=_0xea86a2,logger[_0x2db5cb(0xb0)](_0x2db5cb(0xe7)+_0xea86a2),logger['info'](_0x2db5cb(0xb6)+_0x595684),fs[_0x2db5cb(0xdd)](_0x595684);fs['existsSync'](_0x1ebeae)&&(logger[_0x2db5cb(0xb0)]('Deleting\x20'+_0x1ebeae),fs[_0x2db5cb(0xdd)](_0x1ebeae));const _0x434da0=fs[_0x2db5cb(0x124)](path[_0x2db5cb(0xf1)](helper[_0x2db5cb(0x16c)](),_0x1e8fb1[_0x2db5cb(0xcd)]))[_0x2db5cb(0xda)](_0x3deb10=>_0x3deb10[_0x2db5cb(0xef)]('trace_'));_0x434da0[_0x2db5cb(0xd6)](_0x4c7db1=>{const _0x3c30ca=_0x2db5cb;fs[_0x3c30ca(0xdd)](path['join'](helper[_0x3c30ca(0x16c)](),_0x167508[_0x3c30ca(0xc9)],_0x4c7db1));});}catch(_0x267b6b){logger['debug'](_0x1e8fb1[_0x2db5cb(0x149)](_0x1e8fb1[_0x2db5cb(0x153)],_0x267b6b));}});})();}module['exports']=run;
2
+ 'use strict';function a43_0x3c0d(){const _0x2736b4=['49207wIJILN','apply','../../helpers/performance/performance-tester','../../helpers/utilities','Updated\x20config\x20file\x20name\x20to\x20-\x20','emcdz','fEkRN','writeFileSync','BJQhx','MXVHE','RWxpp','5EQItRd','BROWSERSTACK_TEST_ACCESSIBILITY_YML','forEach','2woUInU','DRhCI','PuuuM','has','shutdown','child_process','test','resolve','No\x20Proxy\x20:\x20','Oqrej','isUndefined','splice','isTypescriptProject','bootstrap','initialize','getConfigPath','SDK_PRE_INITIALIZE','push','PACKAGE_TYPE','gxacz','XFJHf','isRunning','BROWSERSTACK_AUTOMATION','setFrameworkDetail','Playwright\x20process\x20exited\x20with\x20code\x20','requireConfigLoaderYarnPnP','xKrVo','rmAtY','xjrsr','constants','DbSkK','vPrlQ','indexOf','QKyzq','testObservability','wBwYt','playwright-browserstack-sdk.config.js','W_OK','220736WtTQez','USER_CONFIG_DETAILS_PATH','winstonLogger','platform','1090uZDmOe','resolvedConfigFile','setBrowserstackConfig','nHfog','Error\x20in\x20closing\x20playwright','cliConfig','zFwkC','Deleting\x20','BROWSERSTACK_SETUP_CONFIG_PATH','EVENTS','clearTempPWConfig','xBUuO','stringify','PLAYWRIGHT','inherit','isCLIEnabled','kSarV','util','mJuKL','BrowserStack\x20config\x20file\x20not\x20found.','pw_result.json','../../helpers/helper','kEOPw','get','trace_','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','../../helpers/logger','filter','--disable-test-observability','11zNTykr','MUwDn','psuZv','408499brGMad','DcZIQ','--config','Error\x20in\x20deleting\x20playwright\x20results','fmsRe','stop','browserstackAutomation','ywkvd','getPackageType','CJzLK','trim','449301BIKujC','unlinkSync','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isFalse','BROWSERSTACK_RERUN','gEbAg','fjoSt','logLevel','exports','../utils/clientTroubleshootingService','../../helpers/test-observability/constants','cPNRk','56DDrzRJ','fYXpa','assign','BROWSERSTACK_TEST_OBSERVABILITY','reportDotBrowserStackFolderNotAccessibleIssue','gVpEY','yarn','./accessibility-helper','./reporter/test-details','launchBuild','YXmUE','dirname','../v2/TestInfo','isTrue','UmeJr','config','automation','../../helpers/accessibility-automation/helper','BROWSERSTACK_PW_CONFIG_DIR','accessibilityOptions','cwd','VcsSg','../../helpers/BrowserStackSetup','skipSessionStatus','SDK_SETUP','getProxyUrl','errorMessage','path','error','npx','eRedv','reportConflictingEnvVarIssue','379518gWWCqN','slice','getNoProxy','testContextOptions','false','XAlVm','concat','accessibility','accessSync','INTERNALLY_USED_ENV_VARS','MODULE','gshbQ','RFNXY','length','measureWrapper','yeIOf','getInstance','hFKcj','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','pYrkO','serializeToYamlString','exitCode','startsWith','qZYKK','info','EuZHs','yVRSU','split','validateRerunTestList','env','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','1345632DQJyOg','debug','../../helpers/testhub/testhubHandler','nBdAx','Error\x20in\x20getting\x20funnel\x20data\x20results','eynYK','YdiXm','../utils/constants','isYarnPnP','zQPVq','join','readFileSync','./reporter/pwUtils','xezmT','MRmbV','homedir','end','nestedKeyValue','playwright-browserstack-sdk.config.cjs','reportFinalDetectionState','BROWSERSTACK_RERUN_TESTS','SDK_POST_INITIALIZE','qQYPC','.browserstack','PIJFV','playwright','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','31797IWWwQi','YxtOK','true','existsSync'];a43_0x3c0d=function(){return _0x2736b4;};return a43_0x3c0d();}const a43_0x397667=a43_0x4466;(function(_0x52ea03,_0x1607e1){const _0x31e2cd=a43_0x4466,_0x2ae2e3=_0x52ea03();while(!![]){try{const _0x12fcba=parseInt(_0x31e2cd(0x133))/0x1+-parseInt(_0x31e2cd(0x74))/0x2*(-parseInt(_0x31e2cd(0xc9))/0x3)+parseInt(_0x31e2cd(0x9a))/0x4+-parseInt(_0x31e2cd(0x71))/0x5*(-parseInt(_0x31e2cd(0xf5))/0x6)+-parseInt(_0x31e2cd(0xbe))/0x7*(-parseInt(_0x31e2cd(0xd5))/0x8)+parseInt(_0x31e2cd(0x12f))/0x9*(-parseInt(_0x31e2cd(0x9e))/0xa)+parseInt(_0x31e2cd(0xbb))/0xb*(-parseInt(_0x31e2cd(0x114))/0xc);if(_0x12fcba===_0x1607e1)break;else _0x2ae2e3['push'](_0x2ae2e3['shift']());}catch(_0x5ac9f8){_0x2ae2e3['push'](_0x2ae2e3['shift']());}}}(a43_0x3c0d,0x37d45));const fs=require('fs'),path=require(a43_0x397667(0xf0)),{spawn}=require(a43_0x397667(0x79)),{format}=require(a43_0x397667(0xaf)),logger=require(a43_0x397667(0xb8))[a43_0x397667(0x9c)],{default:BrowserStackSetup}=require(a43_0x397667(0xeb)),helper=require(a43_0x397667(0xb3)),utilities=require(a43_0x397667(0x136)),constants=require(a43_0x397667(0x11b)),{FRAMEWORKS}=require(a43_0x397667(0xd3)),{getConfigLoaderPath}=require(a43_0x397667(0x120)),{checkAccessibilityPlatformConfig}=require(a43_0x397667(0xe6)),{setAccessibilityCapabilities}=require(a43_0x397667(0xdc)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a43_0x397667(0xdd)),TestHubHandler=require(a43_0x397667(0x116)),PerformanceTester=require(a43_0x397667(0x135)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require('../../helpers/performance/constants')[a43_0x397667(0xa7)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a43_0x397667(0xe1)),ClientTroubleShootingService=require(a43_0x397667(0xd2)),getUserPlaywrightConfig=async(_0x570bac,_0x236289)=>{const _0x2838ec=a43_0x397667,_0xc51673={'yVRSU':function(_0x28976a){return _0x28976a();},'xKrVo':function(_0x2b052f){return _0x2b052f();},'YdiXm':function(_0x5919d7,_0x162198){return _0x5919d7(_0x162198);},'nBdAx':_0x2838ec(0x9f),'fjoSt':'--config='},_0x5b2f65=!helper[_0x2838ec(0x7e)](_0x570bac[_0x2838ec(0xe4)]),_0x4b5bca=_0x5b2f65?path[_0x2838ec(0x7b)](process[_0x2838ec(0xe9)](),_0x570bac['config']):process[_0x2838ec(0xe9)](),{resolveConfigFile:_0x4f3030,resolveConfigLocation:_0x4274f3}=helper[_0x2838ec(0x11c)]()?helper[_0x2838ec(0x8d)](..._0xc51673[_0x2838ec(0x10f)](getConfigLoaderPath)):helper['requirePWModule'][_0x2838ec(0x134)](null,_0xc51673[_0x2838ec(0x8e)](getConfigLoaderPath)),_0x4b3eb4=_0x4f3030?_0xc51673[_0x2838ec(0x11a)](_0x4f3030,_0x4b5bca):helper[_0x2838ec(0x125)](_0xc51673[_0x2838ec(0x11a)](_0x4274f3,_0x4b5bca),[_0xc51673[_0x2838ec(0x117)]]),_0x17531a={};if(_0x5b2f65){const _0x54e4da=_0x236289['findIndex'](_0x9025fb=>_0x9025fb===_0x2838ec(0xc0)||_0x9025fb==='-c'||_0x9025fb['startsWith']('--config='));_0x236289[_0x2838ec(0x7f)](_0x54e4da,_0x236289[_0x54e4da]['startsWith'](_0xc51673[_0x2838ec(0xcf)])?0x1:0x2);}const _0x2509e7={};return _0x2509e7[_0x2838ec(0xf0)]=_0x4b3eb4,_0x2509e7[_0x2838ec(0xe4)]=_0x17531a,_0x2509e7;},handleO11yRerun=_0x4eb358=>{const _0x355aa9=a43_0x397667,_0x1e5252={};_0x1e5252[_0x355aa9(0x100)]='--grep';const _0x38138e=_0x1e5252,_0x2f4bef=helper[_0x355aa9(0xe2)](process[_0x355aa9(0x112)][_0x355aa9(0xcd)]);if(_0x2f4bef){const _0x3392d3=process[_0x355aa9(0x112)][_0x355aa9(0x128)],_0x1eaaa7=[];if(helper[_0x355aa9(0x111)](_0x3392d3)&&!helper[_0x355aa9(0x7e)](_0x3392d3)){_0x3392d3[_0x355aa9(0x110)](',')['map'](_0x13b946=>{const _0x366f00=_0x355aa9;_0x1eaaa7[_0x366f00(0x85)]('('+_0x13b946[_0x366f00(0xc8)]()+')');});const _0x39f765='^'+_0x1eaaa7[_0x355aa9(0x11e)]('|')+'$';_0x4eb358[_0x355aa9(0x85)](_0x38138e[_0x355aa9(0x100)],_0x39f765);}}},spawnOriginalProcess=_0x11a987=>{const _0x33b8bb=a43_0x397667,_0x26466f={'eynYK':function(_0x3729d5,_0x2a3358,_0x19931d,_0x46308c){return _0x3729d5(_0x2a3358,_0x19931d,_0x46308c);},'RDhEM':_0x33b8bb(0xdb),'PuuuM':_0x33b8bb(0xf2),'QKyzq':_0x33b8bb(0x12d),'vPrlQ':function(_0x3d4fb,_0x21b3c0){return _0x3d4fb===_0x21b3c0;},'asaxc':'win32','QUEgp':_0x33b8bb(0xac)};_0x26466f[_0x33b8bb(0x119)](spawn,helper[_0x33b8bb(0x11c)]()?_0x26466f['RDhEM']:_0x26466f[_0x33b8bb(0x76)],[_0x26466f[_0x33b8bb(0x95)],..._0x11a987['slice'](0x1)],{'shell':_0x26466f[_0x33b8bb(0x93)](process[_0x33b8bb(0x9d)],_0x26466f['asaxc']),'stdio':_0x26466f['QUEgp'],'cwd':process[_0x33b8bb(0xe9)]()});},isTestCommand=(_0x4c4603,_0x5c95bd)=>{const _0x72dcfd=a43_0x397667,_0x53c369={};_0x53c369[_0x72dcfd(0x12a)]=function(_0x191ca8,_0x13ef1c){return _0x191ca8>_0x13ef1c;},_0x53c369['wBwYt']=function(_0x3a3686,_0x2c4d36){return _0x3a3686===_0x2c4d36;},_0x53c369[_0x72dcfd(0xae)]=_0x72dcfd(0x7a);const _0xeb7af4=_0x53c369;if(_0xeb7af4[_0x72dcfd(0x12a)](_0x5c95bd[_0x72dcfd(0x102)],0x1)&&_0xeb7af4[_0x72dcfd(0x97)](_0x5c95bd[0x1],_0xeb7af4[_0x72dcfd(0xae)]))return!![];return![];};async function run(_0x5d081a,_0xa35b30,_0x2eb2cd){const _0x2a12ab=a43_0x397667,_0x3060e6={'DcZIQ':function(_0x2b2b15,_0xda1862){return _0x2b2b15(_0xda1862);},'ywkvd':_0x2a12ab(0x12b),'Oqrej':_0x2a12ab(0xb2),'cPNRk':function(_0x23003d,_0x42f4a1){return _0x23003d+_0x42f4a1;},'VcsSg':_0x2a12ab(0x118),'MRmbV':function(_0x21edda){return _0x21edda();},'PIJFV':function(_0xc2c862){return _0xc2c862();},'tZsjt':_0x2a12ab(0xa2),'gVcuf':_0x2a12ab(0xb1),'rmAtY':function(_0x37e3b1,_0xc07203){return _0x37e3b1<_0xc07203;},'UmeJr':function(_0x1f8ffb,_0x30c62d){return _0x1f8ffb===_0x30c62d;},'XFJHf':_0x2a12ab(0xf9),'YXmUE':_0x2a12ab(0xba),'fOoJe':function(_0x383350,_0x5bb329){return _0x383350>=_0x5bb329;},'izfJB':function(_0x31ccab,_0x253bab){return _0x31ccab===_0x253bab;},'NwWYR':_0x2a12ab(0xe5),'EuZHs':function(_0x4c9202,_0x205ba2){return _0x4c9202!=_0x205ba2;},'CJzLK':function(_0x5cb7c7,_0x502917,_0x49fb75){return _0x5cb7c7(_0x502917,_0x49fb75);},'DRhCI':function(_0x169e06,_0x1d29bc){return _0x169e06===_0x1d29bc;},'fYXpa':_0x2a12ab(0x131),'psuZv':function(_0x1f7bf9,_0x23606c){return _0x1f7bf9(_0x23606c);},'emcdz':'browserstackSetupConfig.json','mJuKL':function(_0x24c443,_0x1e2d34){return _0x24c443===_0x1e2d34;},'ZySZN':_0x2a12ab(0x126),'YxtOK':_0x2a12ab(0x98),'BJQhx':function(_0x148fa6,_0x4435ae){return _0x148fa6-_0x4435ae;},'qZYKK':_0x2a12ab(0x137),'fEkRN':function(_0x368cbe,_0x5f2294){return _0x368cbe>_0x5f2294;},'fmsRe':function(_0x598e17,_0x2ee34c){return _0x598e17+_0x2ee34c;},'zFwkC':function(_0x29c042,_0x2f88b4,_0x38e82b,_0x36698e){return _0x29c042(_0x2f88b4,_0x38e82b,_0x36698e);},'xBUuO':'yarn','jaamP':_0x2a12ab(0xf2),'gxacz':_0x2a12ab(0x12d),'RWxpp':_0x2a12ab(0x7a),'DbSkK':_0x2a12ab(0xc0),'MUwDn':function(_0x21d907,_0x536ac8){return _0x21d907===_0x536ac8;},'nHfog':'win32','scSQt':function(_0x10fddb,_0x5ddc32){return _0x10fddb===_0x5ddc32;},'eRedv':'inherit','napaV':'close','qImCb':function(_0x2ec33f,_0xf6bce1){return _0x2ec33f|_0xf6bce1;},'hFKcj':function(_0x511bb2,_0xdf368c){return _0x511bb2+_0xdf368c;},'gVpEY':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','XAlVm':function(_0x5c1c4d,_0x22d94a){return _0x5c1c4d+_0x22d94a;},'zQPVq':_0x2a12ab(0xc1),'yeIOf':function(_0x1a352c,_0x3740e2,_0x3b2cb9){return _0x1a352c(_0x3740e2,_0x3b2cb9);}};try{const _0x2b5cd8=path[_0x2a12ab(0x11e)](helper['homedir'](),_0x3060e6[_0x2a12ab(0xc5)]);try{fs[_0x2a12ab(0xfd)](_0x2b5cd8,_0x3060e6['qImCb'](fs['constants']['R_OK'],fs[_0x2a12ab(0x91)][_0x2a12ab(0x99)]));}catch(_0x545e21){ClientTroubleShootingService[_0x2a12ab(0xd9)]();}}catch(_0x3c177f){logger['debug'](_0x3060e6[_0x2a12ab(0x106)](_0x3060e6[_0x2a12ab(0xda)],_0x3c177f));}try{const _0x3d5891=path[_0x2a12ab(0x11e)](helper[_0x2a12ab(0x123)](),_0x3060e6[_0x2a12ab(0xc5)],_0x3060e6['Oqrej']);fs['existsSync'](_0x3d5891)&&fs['unlinkSync'](_0x3d5891);}catch(_0x357394){logger[_0x2a12ab(0x115)](_0x3060e6[_0x2a12ab(0xfa)](_0x3060e6[_0x2a12ab(0x11d)],_0x357394));}if(!_0x3060e6[_0x2a12ab(0x104)](isTestCommand,_0x5d081a,_0xa35b30)){_0x3060e6[_0x2a12ab(0xbf)](spawnOriginalProcess,_0xa35b30);return;}await PerformanceTester[_0x2a12ab(0x103)](PerformanceEvents[_0x2a12ab(0x84)],async()=>{const _0xe6015d=_0x2a12ab,_0x3f76b3={'BtaUy':function(_0x1a39cf,_0x573d82){const _0x4524d3=a43_0x4466;return _0x3060e6[_0x4524d3(0xbf)](_0x1a39cf,_0x573d82);},'xjrsr':_0x3060e6[_0xe6015d(0xc5)],'RFNXY':_0x3060e6[_0xe6015d(0x7d)],'kEOPw':function(_0x4a6504,_0x1dbe29){return _0x3060e6['cPNRk'](_0x4a6504,_0x1dbe29);},'GOofP':_0x3060e6[_0xe6015d(0xea)],'FgxOD':function(_0x35f2ee){const _0x4ce972=_0xe6015d;return _0x3060e6[_0x4ce972(0x122)](_0x35f2ee);},'gEbAg':function(_0x525797){const _0x5488b0=_0xe6015d;return _0x3060e6[_0x5488b0(0x12c)](_0x525797);},'MXVHE':function(_0x2a2121,_0x4dd404){return _0x3060e6['cPNRk'](_0x2a2121,_0x4dd404);},'pYrkO':_0x3060e6['tZsjt']};if(!_0x2eb2cd['config']){logger[_0xe6015d(0xf1)](_0x3060e6['gVcuf']);return;}await _0x2eb2cd[_0xe6015d(0x82)](_0x5d081a),CLIUtils[_0xe6015d(0x8b)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0xe6015d(0xab)]),BrowserstackCLI[_0xe6015d(0x105)]()[_0xe6015d(0xa0)](_0x2eb2cd[_0xe6015d(0xe4)],_0x2eb2cd['configPath'],_0x2eb2cd['cliConfig']),await BrowserstackCLI[_0xe6015d(0x105)]()[_0xe6015d(0x81)]();for(var _0x4c84fd=0x0;_0x3060e6[_0xe6015d(0x8f)](_0x4c84fd,constants['INTERNALLY_USED_ENV_VARS'][_0xe6015d(0x102)]);_0x4c84fd++){var _0x4a6f26=constants[_0xe6015d(0xfe)][_0x4c84fd];process[_0xe6015d(0x112)][_0x4a6f26]&&await ClientTroubleShootingService[_0xe6015d(0xf4)](_0x4a6f26);}const _0x2ec8aa=BrowserstackCLI[_0xe6015d(0x105)]()['getConfig']();!helper[_0xe6015d(0xcc)](_0x2ec8aa[_0xe6015d(0xc4)])&&(process[_0xe6015d(0x112)][_0xe6015d(0x8a)]=!![]);_0x3060e6[_0xe6015d(0xe3)](_0x2ec8aa[_0xe6015d(0xc4)],![])&&(process[_0xe6015d(0x112)][_0xe6015d(0x8a)]=_0x3060e6[_0xe6015d(0x88)],_0xa35b30=_0xa35b30[_0xe6015d(0xb9)](_0x342c39=>_0x342c39!=='--disable-browserstack-automation'));const _0x5484a2=_0xa35b30[_0xe6015d(0x94)](_0x3060e6[_0xe6015d(0xdf)]);(_0x3060e6['fOoJe'](_0x5484a2,0x0)||_0x3060e6['izfJB'](_0x2ec8aa[_0xe6015d(0x96)],![]))&&(process[_0xe6015d(0x112)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x3060e6[_0xe6015d(0x88)],_0xa35b30=_0xa35b30[_0xe6015d(0xb9)](_0x587bd9=>_0x587bd9!==_0xe6015d(0xba)));!helper[_0xe6015d(0x7e)](_0x2eb2cd[_0xe6015d(0xa3)])&&_0x2eb2cd[_0xe6015d(0xa3)][_0xe6015d(0x77)](_0x3060e6['NwWYR'])&&(process['env'][_0xe6015d(0x8a)]=_0x2eb2cd[_0xe6015d(0xa3)][_0xe6015d(0xb5)](_0x3060e6['NwWYR'])||!![]);_0x3060e6[_0xe6015d(0x10e)](_0x2eb2cd[_0xe6015d(0xe4)][_0xe6015d(0x96)],null)&&!helper[_0xe6015d(0xe2)](process[_0xe6015d(0x112)][_0xe6015d(0xd8)])&&(process[_0xe6015d(0x112)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0xe6015d(0x112)][_0xe6015d(0xd8)]||_0x2eb2cd[_0xe6015d(0xe4)]['testObservability']);const _0xb3cec6=!helper['isFalse'](process['env']['BROWSERSTACK_TEST_OBSERVABILITY']);_0x2eb2cd[_0xe6015d(0xe4)][_0xe6015d(0xe8)]&&(process[_0xe6015d(0x112)][_0xe6015d(0xcb)]=JSON[_0xe6015d(0xaa)](_0x2eb2cd[_0xe6015d(0xe4)][_0xe6015d(0xe8)]));let _0x3343da=![];_0x2eb2cd['config'][_0xe6015d(0xfc)]&&(_0x3343da=!![],process[_0xe6015d(0x112)][_0xe6015d(0x72)]=_0x2eb2cd[_0xe6015d(0xe4)][_0xe6015d(0xfc)]);const _0x2ce326=_0xa35b30[_0xe6015d(0xfb)](),_0x472c64=await _0x3060e6[_0xe6015d(0xc7)](getUserPlaywrightConfig,_0x5d081a,_0xa35b30);if(helper[_0xe6015d(0x7e)](_0x472c64)){_0x3060e6[_0xe6015d(0xbf)](spawnOriginalProcess,_0x2ce326);return;}const _0x3127db=_0x472c64[_0xe6015d(0xf0)]?path['dirname'](_0x472c64[_0xe6015d(0xf0)]):process[_0xe6015d(0xe9)]();process['env'][_0xe6015d(0xe7)]=_0x3127db,await PerformanceTester[_0xe6015d(0x103)](PerformanceEvents[_0xe6015d(0x129)],async()=>{const _0x45cf97=_0xe6015d;!BrowserstackCLI['getInstance']()[_0x45cf97(0x89)]()&&await TestHubHandler[_0x45cf97(0xde)](FRAMEWORKS[_0x45cf97(0xab)],_0x2eb2cd),_0xb3cec6&&_0x3f76b3['BtaUy'](handleO11yRerun,_0xa35b30);})();if(!BrowserstackCLI[_0xe6015d(0x105)]()[_0xe6015d(0x89)]()){let _0x57a0aa=_0x3060e6[_0xe6015d(0x75)](process[_0xe6015d(0x112)][_0xe6015d(0x72)],_0x3060e6[_0xe6015d(0xd6)]);_0x57a0aa=_0x57a0aa||_0x3060e6[_0xe6015d(0xbf)](checkAccessibilityPlatformConfig,_0x2eb2cd['config']),process['env'][_0xe6015d(0x72)]=_0x57a0aa,_0x57a0aa&&_0x3060e6[_0xe6015d(0xbd)](setAccessibilityCapabilities,_0x2eb2cd['config']);}const _0x5a5c63=path[_0xe6015d(0x11e)](_0x472c64[_0xe6015d(0xf0)]?path[_0xe6015d(0xe0)](_0x472c64[_0xe6015d(0xf0)]):process['cwd'](),_0x3060e6[_0xe6015d(0x138)]);fs[_0xe6015d(0x6d)](_0x5a5c63,helper[_0xe6015d(0x109)](_0x2eb2cd[_0xe6015d(0xe4)])),process[_0xe6015d(0x112)][_0xe6015d(0xa6)]=_0x5a5c63,helper[_0xe6015d(0xa8)]();let _0x531cb3='';_0x3060e6[_0xe6015d(0xb0)](helper[_0xe6015d(0xc6)](),constants[_0xe6015d(0x86)][_0xe6015d(0xff)])?_0x531cb3=_0x3060e6['ZySZN']:_0x531cb3=_0x3060e6[_0xe6015d(0x130)];let _0xeee050='';if(helper[_0xe6015d(0x80)](_0x472c64[_0xe6015d(0xf0)])){_0xeee050='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x51c31d=_0x531cb3[_0xe6015d(0x110)]('.');_0x51c31d[_0x3060e6[_0xe6015d(0x6e)](_0x51c31d[_0xe6015d(0x102)],0x1)]='ts',_0x531cb3=_0x51c31d[_0xe6015d(0x11e)]('.'),logger[_0xe6015d(0x115)](_0x3060e6[_0xe6015d(0xd4)](_0x3060e6[_0xe6015d(0x10c)],_0x531cb3));}else _0xeee050=_0xe6015d(0x107);const _0x413607=path[_0xe6015d(0x11e)](_0x472c64['path']?path[_0xe6015d(0xe0)](_0x472c64[_0xe6015d(0xf0)]):process[_0xe6015d(0xe9)](),_0x531cb3);let _0xfb4b5f=_0x472c64['path']?_0x472c64[_0xe6015d(0xf0)]:'';_0xfb4b5f=_0x3060e6[_0xe6015d(0x6c)](_0xfb4b5f[_0xe6015d(0x102)],0x0)?path['resolve'](_0xfb4b5f):'',process[_0xe6015d(0x112)][_0xe6015d(0x9b)]=_0xfb4b5f;const _0x52ff39=helper[_0xe6015d(0xee)](_0x2eb2cd[_0xe6015d(0xe4)]),_0x408f12=helper[_0xe6015d(0xf7)](_0x2eb2cd[_0xe6015d(0xe4)]);logger[_0xe6015d(0x115)]('Proxy\x20url\x20:\x20'+_0x52ff39),logger[_0xe6015d(0x115)](_0xe6015d(0x7c)+_0x408f12);_0x52ff39&&(_0xeee050=_0x3060e6[_0xe6015d(0xc2)](_0xe6015d(0x113)+_0x52ff39+_0xe6015d(0x12e)+_0x408f12+_0xe6015d(0xb7),_0xeee050));helper['filterBrowserstackArgs']({},_0xa35b30),fs[_0xe6015d(0x6d)](_0x413607,_0xeee050),PerformanceTester[_0xe6015d(0x124)](PerformanceEvents[_0xe6015d(0xed)]);const _0x391643=_0x3060e6[_0xe6015d(0xa4)](spawn,helper['isYarnPnP']()?_0x3060e6[_0xe6015d(0xa9)]:_0x3060e6['jaamP'],[_0x3060e6[_0xe6015d(0x87)],_0x3060e6[_0xe6015d(0x70)],_0x3060e6[_0xe6015d(0x92)],_0x3060e6[_0xe6015d(0xbc)](process[_0xe6015d(0x9d)],_0x3060e6[_0xe6015d(0xa1)])?'\x22'+_0x413607+'\x22':_0x413607,..._0xa35b30[_0xe6015d(0xf6)](0x2)],{'shell':_0x3060e6['scSQt'](process[_0xe6015d(0x9d)],_0x3060e6[_0xe6015d(0xa1)]),'stdio':_0x3060e6[_0xe6015d(0xf3)],'cwd':process[_0xe6015d(0xe9)](),'env':Object[_0xe6015d(0xd7)]({},process[_0xe6015d(0x112)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0xe6015d(0x83)](_0x5d081a),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x2eb2cd[_0xe6015d(0xe4)][_0xe6015d(0xf8)][_0xe6015d(0xec)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x2eb2cd[_0xe6015d(0xe4)][_0xe6015d(0xf8)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x2eb2cd[_0xe6015d(0xe4)][_0xe6015d(0xd0)]})}),_0xc04596=()=>{const _0x189610=_0xe6015d;try{const _0x59c8af=path['join'](helper[_0x189610(0x123)](),_0x3f76b3[_0x189610(0x90)],_0x3f76b3[_0x189610(0x101)]);if(fs[_0x189610(0x132)](_0x59c8af)){let _0x2c2715=fs[_0x189610(0x11f)](_0x59c8af);_0x2c2715=JSON['parse'](_0x2c2715),_0x2eb2cd[_0x189610(0xef)]=_0x2c2715,fs[_0x189610(0xca)](_0x59c8af);}}catch(_0x5e6c5d){logger[_0x189610(0x115)](_0x3f76b3[_0x189610(0xb4)](_0x3f76b3['GOofP'],_0x5e6c5d));}};_0x391643['on'](_0x3060e6['napaV'],async _0x5a68ac=>{const _0x16730e=_0xe6015d,_0x146a62={};_0x146a62[_0x16730e(0x121)]=_0x3f76b3['xjrsr'];const _0x5288d1=_0x146a62;try{PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x3f76b3['FgxOD'](_0xc04596),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x16730e(0x127)]();const _0x3646f0=BrowserstackCLI[_0x16730e(0xad)]();await BrowserstackCLI[_0x16730e(0x105)]()[_0x16730e(0xc3)](),TestDetails[_0x16730e(0x78)](),_0x3f76b3[_0x16730e(0xce)](printBuildLink),await utilities['finalExecution'](_0x2eb2cd,_0x3646f0),process[_0x16730e(0x10a)]=_0x5a68ac,logger['debug'](_0x16730e(0x8c)+_0x5a68ac),logger[_0x16730e(0x10d)](_0x16730e(0xa5)+_0x413607),fs[_0x16730e(0xca)](_0x413607);fs['existsSync'](_0x5a5c63)&&(logger[_0x16730e(0x115)](_0x16730e(0xa5)+_0x5a5c63),fs[_0x16730e(0xca)](_0x5a5c63));const _0x24705a=fs['readdirSync'](path['join'](helper[_0x16730e(0x123)](),_0x3f76b3[_0x16730e(0x90)]))[_0x16730e(0xb9)](_0x3de346=>_0x3de346[_0x16730e(0x10b)](_0x16730e(0xb6)));_0x24705a[_0x16730e(0x73)](_0x49e58f=>{const _0x346539=_0x16730e;fs[_0x346539(0xca)](path['join'](helper[_0x346539(0x123)](),_0x5288d1[_0x346539(0x121)],_0x49e58f));});}catch(_0x1affe2){logger[_0x16730e(0x115)](_0x3f76b3[_0x16730e(0x6f)](_0x3f76b3[_0x16730e(0x108)],_0x1affe2));}});})();}function a43_0x4466(_0x3c49d3,_0x43e549){const _0x3c0db1=a43_0x3c0d();return a43_0x4466=function(_0x4466f3,_0x370c64){_0x4466f3=_0x4466f3-0x6c;let _0x25d424=_0x3c0db1[_0x4466f3];return _0x25d424;},a43_0x4466(_0x3c49d3,_0x43e549);}module[a43_0x397667(0xd1)]=run;