browserstack-node-sdk 1.61.0 → 1.63.0

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 (222) 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/browserstack.pw.yml.sample +10 -0
  41. package/browserstack.yml.sample +10 -0
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  58. package/src/bin/jasmine/command.js +1 -1
  59. package/src/bin/jasmine/test.setup.js +1 -1
  60. package/src/bin/jasmine/testRunMap.js +1 -1
  61. package/src/bin/jest/command.js +1 -1
  62. package/src/bin/jest/customImplements/customCircus.js +1 -1
  63. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  64. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  65. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  66. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  67. package/src/bin/jest/jest.setup.js +1 -1
  68. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  69. package/src/bin/jest/test-observability/helper.js +1 -1
  70. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  71. package/src/bin/jest/test-observability/test-details.js +1 -1
  72. package/src/bin/jest/test.setup.js +1 -1
  73. package/src/bin/jest/test_before.setup.js +1 -1
  74. package/src/bin/launcher/launcher.js +1 -1
  75. package/src/bin/load/index.js +1 -1
  76. package/src/bin/load/load/index.js +193 -12
  77. package/src/bin/load/load/loadErrors.js +248 -0
  78. package/src/bin/load/loadErrors.js +1 -0
  79. package/src/bin/load/loadUtils.js +1 -1
  80. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  81. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  82. package/src/bin/mocha/command.js +1 -1
  83. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  84. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  85. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  86. package/src/bin/mocha/test.setup.js +1 -1
  87. package/src/bin/newman/command.js +1 -1
  88. package/src/bin/newman/helper.js +1 -1
  89. package/src/bin/newman/reporter/index.js +1 -1
  90. package/src/bin/newman/scriptRunner.js +1 -1
  91. package/src/bin/nightwatch/command.js +1 -1
  92. package/src/bin/playwright/accessibility-helper.js +1 -1
  93. package/src/bin/playwright/command.js +1 -1
  94. package/src/bin/playwright/globalSetup.js +1 -1
  95. package/src/bin/playwright/mock-process.js +1 -1
  96. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  97. package/src/bin/playwright/patches.js +1 -1
  98. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  99. package/src/bin/playwright/reporter/reporter.js +1 -1
  100. package/src/bin/playwright/reporter/test-details.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  139. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  141. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  142. package/src/bin/v2/framework/testFramework.js +1 -1
  143. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  144. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  145. package/src/bin/v2/grpcClient.js +1 -1
  146. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  147. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  148. package/src/bin/v2/instances/trackedContext.js +1 -1
  149. package/src/bin/v2/instances/trackedInstance.js +1 -1
  150. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  151. package/src/bin/v2/modules/baseModule.js +1 -1
  152. package/src/bin/v2/modules/loadTestModule.js +1 -1
  153. package/src/bin/v2/modules/observabilityModule.js +1 -1
  154. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  155. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  156. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  157. package/src/bin/v2/modules/testhubModule.js +1 -1
  158. package/src/bin/v2/sdkErrorHandler.js +1 -0
  159. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  160. package/src/bin/v2/state/hookState.js +1 -1
  161. package/src/bin/v2/state/testFrameworkState.js +1 -1
  162. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  163. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  164. package/src/bin/v2/utils/jest-utils.js +1 -1
  165. package/src/bin/vanilla-js/command.js +1 -1
  166. package/src/browserStackSdk.js +1 -1
  167. package/src/helpers/BrowserStackSetup.js +1 -1
  168. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  169. package/src/helpers/accessibility-automation/constants.js +1 -1
  170. package/src/helpers/accessibility-automation/helper.js +1 -1
  171. package/src/helpers/accessibility-automation/scripts.js +1 -1
  172. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  173. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  174. package/src/helpers/ats/constants.js +1 -1
  175. package/src/helpers/ats/helper.js +1 -1
  176. package/src/helpers/caCertHelper.js +1 -1
  177. package/src/helpers/capsMapping.js +1 -1
  178. package/src/helpers/central-scanner/constants.js +1 -1
  179. package/src/helpers/central-scanner/helpers.js +1 -1
  180. package/src/helpers/classLogger.js +1 -1
  181. package/src/helpers/driverInitErrorReporter.js +1 -1
  182. package/src/helpers/globals.js +1 -1
  183. package/src/helpers/helper.js +1 -1
  184. package/src/helpers/logger.js +1 -1
  185. package/src/helpers/metadata.js +1 -1
  186. package/src/helpers/patchHelper.js +1 -1
  187. package/src/helpers/patchHelpers.js +1 -1
  188. package/src/helpers/percy/Percy.js +1 -1
  189. package/src/helpers/percy/PercyBinary.js +1 -1
  190. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  191. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  192. package/src/helpers/percy/PercySDK.js +1 -1
  193. package/src/helpers/percy/index.js +1 -1
  194. package/src/helpers/percy/utils.js +1 -1
  195. package/src/helpers/performance/constants.js +1 -1
  196. package/src/helpers/performance/performance-tester.js +1 -1
  197. package/src/helpers/playwright-helper.js +1 -1
  198. package/src/helpers/processHelper.js +1 -1
  199. package/src/helpers/puppeteer-helper.js +1 -1
  200. package/src/helpers/request-spy.js +1 -1
  201. package/src/helpers/setKeepAlive.js +1 -1
  202. package/src/helpers/stackFrameUtils.js +1 -1
  203. package/src/helpers/test-observability/constants.js +1 -1
  204. package/src/helpers/test-observability/error-handler.js +1 -1
  205. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  206. package/src/helpers/test-observability/sessionHandler.js +1 -1
  207. package/src/helpers/test-observability/utils.js +1 -1
  208. package/src/helpers/test-orchestration/constants.js +1 -1
  209. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  210. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  211. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  212. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  213. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  214. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  215. package/src/helpers/testhub/constants.js +1 -1
  216. package/src/helpers/testhub/testhubHandler.js +1 -1
  217. package/src/helpers/testhub/utils.js +1 -1
  218. package/src/helpers/timeoutPromise.js +1 -1
  219. package/src/helpers/utilities.js +1 -1
  220. package/src/helpers/w3cMapping.js +1 -1
  221. package/src/hubAllocationMethods.js +1 -1
  222. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a120_0xd265(_0x5eafec,_0x3a2efb){const _0x4e387f=a120_0x4e38();return a120_0xd265=function(_0xd265be,_0x1d8644){_0xd265be=_0xd265be-0x1d2;let _0x488c87=_0x4e387f[_0xd265be];return _0x488c87;},a120_0xd265(_0x5eafec,_0x3a2efb);}const a120_0x762a1e=a120_0xd265;(function(_0x30b2a0,_0x127420){const _0x484a7a=a120_0xd265,_0x2267b4=_0x30b2a0();while(!![]){try{const _0x24f5bf=-parseInt(_0x484a7a(0x208))/0x1*(-parseInt(_0x484a7a(0x272))/0x2)+-parseInt(_0x484a7a(0x1fd))/0x3*(-parseInt(_0x484a7a(0x235))/0x4)+-parseInt(_0x484a7a(0x294))/0x5+parseInt(_0x484a7a(0x220))/0x6*(parseInt(_0x484a7a(0x2b2))/0x7)+parseInt(_0x484a7a(0x217))/0x8*(parseInt(_0x484a7a(0x263))/0x9)+-parseInt(_0x484a7a(0x293))/0xa*(parseInt(_0x484a7a(0x2b3))/0xb)+parseInt(_0x484a7a(0x2c7))/0xc*(-parseInt(_0x484a7a(0x1d2))/0xd);if(_0x24f5bf===_0x127420)break;else _0x2267b4['push'](_0x2267b4['shift']());}catch(_0x198be5){_0x2267b4['push'](_0x2267b4['shift']());}}}(a120_0x4e38,0xb885f));const util=require(a120_0x762a1e(0x2c4)),os=require('os'),path=require(a120_0x762a1e(0x230)),{v4:uuidv4}=require(a120_0x762a1e(0x2dd)),fs=require('fs'),constants=require(a120_0x762a1e(0x236)),logger=require(a120_0x762a1e(0x2ba))[a120_0x762a1e(0x1e5)],fileLogger=require('./logger')[a120_0x762a1e(0x1dc)],{getLogDir}=require(a120_0x762a1e(0x2ba)),helper=require(a120_0x762a1e(0x2d0)),utilities=require('./utilities'),percyHelper=require(a120_0x762a1e(0x1e3)),hubAllocator=require(a120_0x762a1e(0x216)),PerformanceTester=require(a120_0x762a1e(0x242)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a120_0x762a1e(0x287)),{setPercyFlag}=require(a120_0x762a1e(0x2e5)),TestHubHandler=require(a120_0x762a1e(0x2be)),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require('../bin/v2/browserstackCLI'),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require(a120_0x762a1e(0x22d)),ClientTroubleShootingService=require(a120_0x762a1e(0x269));class BrowserStackSetup{constructor(_0x2deef1,_0x581809){const _0x11e2ce=a120_0x762a1e,_0x288d30={'ApJYw':_0x11e2ce(0x2c0),'Qcgmf':function(_0xa0d85e){return _0xa0d85e();},'uIfke':function(_0x257496,_0x2ebae5){return _0x257496(_0x2ebae5);},'urNpK':'./caCertHelper','OPRzv':_0x11e2ce(0x288)},_0x5be253=_0x288d30[_0x11e2ce(0x2cb)][_0x11e2ce(0x26f)]('|');let _0x42b088=0x0;while(!![]){switch(_0x5be253[_0x42b088++]){case'0':this[_0x11e2ce(0x29c)]=null;continue;case'1':this['envConfig']=helper[_0x11e2ce(0x246)]();continue;case'2':this['config']['testContextOptions']=this[_0x11e2ce(0x215)][_0x11e2ce(0x2b8)]||{};continue;case'3':helper[_0x11e2ce(0x2d1)](this['config'],this['cliConfig'],this[_0x11e2ce(0x2ed)]);continue;case'4':helper[_0x11e2ce(0x1d9)](this[_0x11e2ce(0x215)],this[_0x11e2ce(0x2e4)]);continue;case'5':this[_0x11e2ce(0x215)][_0x11e2ce(0x240)]=this[_0x11e2ce(0x215)][_0x11e2ce(0x240)]||[];continue;case'6':helper[_0x11e2ce(0x238)](this[_0x11e2ce(0x215)],this[_0x11e2ce(0x218)]);continue;case'7':if(this[_0x11e2ce(0x215)][_0x11e2ce(0x23c)])throw new Error(this[_0x11e2ce(0x215)][_0x11e2ce(0x23c)]);continue;case'8':this[_0x11e2ce(0x265)]=_0x288d30[_0x11e2ce(0x1fe)](uuidv4);continue;case'9':this[_0x11e2ce(0x243)]=helper[_0x11e2ce(0x1d8)](_0x2deef1);continue;case'10':helper['normalizeTestReportingEnvVars']();continue;case'11':try{_0x288d30[_0x11e2ce(0x254)](require,_0x288d30[_0x11e2ce(0x2ab)])[_0x11e2ce(0x28e)](this[_0x11e2ce(0x215)],logger);}catch(_0x21084d){}continue;case'12':global['framework']=_0x581809;continue;case'13':PerformanceTester[_0x11e2ce(0x2aa)]();continue;case'14':this[_0x11e2ce(0x215)][_0x11e2ce(0x2b8)][_0x11e2ce(0x214)]=!helper['isBrowserstackInfra']()||helper['isTrue'](this[_0x11e2ce(0x215)][_0x11e2ce(0x2b8)]['skipSessionName']);continue;case'15':this['framework']=_0x581809;continue;case'16':helper['setLogLevel'](this[_0x11e2ce(0x215)],this[_0x11e2ce(0x218)],this['envConfig']);continue;case'17':helper[_0x11e2ce(0x27e)](this['config']);continue;case'18':helper['setLogDir'](this[_0x11e2ce(0x215)]);continue;case'19':if(helper[_0x11e2ce(0x22e)](this[_0x11e2ce(0x215)]))throw new Error(_0x288d30['OPRzv']);continue;case'20':helper[_0x11e2ce(0x2ef)](this[_0x11e2ce(0x215)],this[_0x11e2ce(0x218)],this[_0x11e2ce(0x2ed)]);continue;case'21':this['errorMessage']={};continue;case'22':this[_0x11e2ce(0x2ce)]=null;continue;case'23':this['config']=helper[_0x11e2ce(0x2bc)](this[_0x11e2ce(0x243)]);continue;case'24':this[_0x11e2ce(0x289)]=[];continue;case'25':this[_0x11e2ce(0x215)]['testContextOptions']['skipSessionStatus']=!helper['isBrowserstackInfra']()||helper[_0x11e2ce(0x23d)](this[_0x11e2ce(0x215)][_0x11e2ce(0x2b8)][_0x11e2ce(0x2a4)]);continue;case'26':this['cliConfig']=helper[_0x11e2ce(0x20e)](_0x2deef1);continue;}break;}}[a120_0x762a1e(0x25e)](_0x1c6c4b){const _0x4224fc=a120_0x762a1e,_0x4615be={'WueVg':_0x4224fc(0x2e8),'bXeNb':function(_0x2a66b0,_0x6e0b75){return _0x2a66b0===_0x6e0b75;},'SIQak':function(_0x22456e,_0x3a3d29){return _0x22456e===_0x3a3d29;},'nyQwz':_0x4224fc(0x2a7),'bcWsV':_0x4224fc(0x1de),'EFxzy':function(_0x4515b4,_0x58ca13){return _0x4515b4<_0x58ca13;},'POprl':function(_0x39ee3a,_0x508338){return _0x39ee3a(_0x508338);},'webFR':_0x4224fc(0x2f1),'RmQOh':function(_0x5ad7e9,_0xedea08){return _0x5ad7e9===_0xedea08;},'MUFDX':_0x4224fc(0x281),'UBmsd':_0x4224fc(0x2e1),'mTpPu':_0x4224fc(0x239),'IFujY':_0x4224fc(0x248),'NaXFk':'SIGINT','SuBPO':'SIGHUP','LQXyi':function(_0x1e5eb9,_0x146e7d){return _0x1e5eb9!==_0x146e7d;},'lgGAc':'win32','yVFHA':_0x4224fc(0x22a),'wufsk':_0x4224fc(0x280),'KieRM':_0x4224fc(0x2db),'ANaka':'beforeExit'},_0x1c9295=this[_0x4224fc(0x2e4)];global[_0x4224fc(0x215)]=this[_0x4224fc(0x215)],helper[_0x4224fc(0x2bd)](this[_0x4224fc(0x215)]),this['killSignal']=null,global['sdkRunId']=this['sdkRunId'],logger['info'](_0x4224fc(0x2e3)+this[_0x4224fc(0x265)]),!this[_0x4224fc(0x215)]['browserStackLocalOptions']&&(this[_0x4224fc(0x215)][_0x4224fc(0x2bf)]=this[_0x4224fc(0x215)][_0x4224fc(0x2a2)]||{});if(helper[_0x4224fc(0x22e)](helper[_0x4224fc(0x253)](this[_0x4224fc(0x215)]))||helper['isUndefined'](helper[_0x4224fc(0x27a)](this['config'])))throw new Error(_0x4615be[_0x4224fc(0x26d)]);helper['getLocalConfig'](this['config'])&&helper[_0x4224fc(0x22e)](helper[_0x4224fc(0x264)](this[_0x4224fc(0x215)]))&&(!helper['isUndefined'](this[_0x4224fc(0x215)][_0x4224fc(0x2bf)])&&_0x4615be[_0x4224fc(0x2e6)](this['config'][_0x4224fc(0x2bf)][_0x4224fc(0x1f4)],Object)?!helper[_0x4224fc(0x23d)](this['config']['browserStackLocalOptions'][_0x4224fc(0x266)])&&(this['config'][_0x4224fc(0x2bf)][_0x4224fc(0x23e)]=helper[_0x4224fc(0x204)]()):this['config']['browserStackLocalOptions']={'localIdentifier':helper[_0x4224fc(0x204)]()});this['config'][_0x4224fc(0x2bf)][_0x4224fc(0x266)]=helper[_0x4224fc(0x23d)](this[_0x4224fc(0x215)][_0x4224fc(0x2bf)][_0x4224fc(0x266)]),helper[_0x4224fc(0x277)](this[_0x4224fc(0x215)]);if(_0x4615be['SIQak'](_0x1c9295,_0x4615be[_0x4224fc(0x211)]))return;this[_0x4224fc(0x2d8)]();process['env']['BROWSERSTACK_TURBOSCALE']&&(this[_0x4224fc(0x215)][_0x4224fc(0x2d6)]=helper[_0x4224fc(0x23d)](process[_0x4224fc(0x1ee)][_0x4224fc(0x20f)]),this[_0x4224fc(0x215)][_0x4224fc(0x29b)]=this[_0x4224fc(0x215)][_0x4224fc(0x29b)]||{});helper[_0x4224fc(0x241)](this[_0x4224fc(0x215)])&&(process[_0x4224fc(0x1ee)][_0x4224fc(0x20f)]=!![]);LoadTestModule[_0x4224fc(0x1f1)](this['config'])&&logger[_0x4224fc(0x1d5)]('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this[_0x4224fc(0x265)]);if(!helper[_0x4224fc(0x1ff)]()){try{process[_0x4224fc(0x1ee)][_0x4224fc(0x1f5)]=_0x1c9295,utilities[_0x4224fc(0x226)](_0x4615be[_0x4224fc(0x1f8)],{},this['config'],this[_0x4224fc(0x2e4)]);}catch(_0xefb3){logger[_0x4224fc(0x1d5)](_0x4224fc(0x257)+_0xefb3);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x1c9295)){if(global[_0x4224fc(0x2bb)]||global[_0x4224fc(0x1e8)])return;_0x4615be[_0x4224fc(0x231)](_0x4615be[_0x4224fc(0x1e0)](parseInt,helper[_0x4224fc(0x203)](_0x4615be[_0x4224fc(0x27f)])),0x3)&&(this['config'][_0x4224fc(0x1d3)]=![]),_0x4615be[_0x4224fc(0x2ae)](helper[_0x4224fc(0x258)](helper[_0x4224fc(0x203)](_0x4615be['webFR']),_0x4615be[_0x4224fc(0x25b)]),0x1)&&(this['config']['useW3C']=!![]);}(helper[_0x4224fc(0x22e)](this[_0x4224fc(0x215)][_0x4224fc(0x240)])||helper[_0x4224fc(0x22e)](this[_0x4224fc(0x215)][_0x4224fc(0x240)][_0x4224fc(0x2cd)]))&&(helper[_0x4224fc(0x22e)](this[_0x4224fc(0x215)][_0x4224fc(0x206)])?logger[_0x4224fc(0x2cc)](_0x4615be['UBmsd']):logger['warn'](_0x4615be[_0x4224fc(0x297)]),this[_0x4224fc(0x215)][_0x4224fc(0x240)]=[]);!this[_0x4224fc(0x215)][_0x4224fc(0x2b8)]&&(this[_0x4224fc(0x215)][_0x4224fc(0x2b8)]={});try{process[_0x4224fc(0x1ee)][_0x4224fc(0x1f5)]=_0x1c6c4b['_'][0x0],utilities[_0x4224fc(0x226)](_0x4615be['bcWsV'],{},this[_0x4224fc(0x215)],this['framework']);}catch(_0x383832){logger[_0x4224fc(0x1d5)](_0x4224fc(0x257)+_0x383832);}!this[_0x4224fc(0x215)]['disableAutoCaptureLogs']&&logger[_0x4224fc(0x2cc)](constants[_0x4224fc(0x296)]),this['intExitHandler']=this[_0x4224fc(0x2eb)][_0x4224fc(0x2dc)](this),process['on'](_0x4615be[_0x4224fc(0x28b)],this['intExitHandler']),process['on'](_0x4615be[_0x4224fc(0x1fa)],this[_0x4224fc(0x2eb)]),process['on'](_0x4615be[_0x4224fc(0x251)],this[_0x4224fc(0x2eb)]),_0x4615be[_0x4224fc(0x223)](process['platform'],_0x4615be['lgGAc'])?(process['on'](_0x4615be['yVFHA'],this[_0x4224fc(0x2eb)]),process['on'](_0x4615be[_0x4224fc(0x23a)],this['intExitHandler'])):process['on'](_0x4615be[_0x4224fc(0x260)],this[_0x4224fc(0x2eb)]),process['on'](_0x4615be['ANaka'],this[_0x4224fc(0x292)]());}async['initialize'](_0x4eeabf){const _0xfc886b=a120_0x762a1e,_0x41ff18={'ZedfI':_0xfc886b(0x286),'eEapN':_0xfc886b(0x2e7),'jjfgn':_0xfc886b(0x1f6),'KAEBD':function(_0x87eb5f,_0x49b163){return _0x87eb5f===_0x49b163;},'DhQMQ':_0xfc886b(0x237),'yCFeK':function(_0x32b4d4,_0xd2ae44){return _0x32b4d4+_0xd2ae44;},'Kovla':'?caps=','BwXtT':function(_0x1b9bd5,_0x3632d2){return _0x1b9bd5(_0x3632d2);},'sCjPy':_0xfc886b(0x2df)};this['preInitialize'](_0x4eeabf);if(helper[_0xfc886b(0x241)](this[_0xfc886b(0x215)])){const _0x3857d8=await helper['getTurboScaleGridDetails'](this[_0xfc886b(0x215)]);this[_0xfc886b(0x215)][_0xfc886b(0x225)]=_0x3857d8,_0x3857d8[_0xfc886b(0x24f)]&&helper[_0xfc886b(0x27c)](this['config'][_0xfc886b(0x29c)])&&helper['isTrue'](this[_0xfc886b(0x215)][_0xfc886b(0x29c)])&&(this['config'][_0xfc886b(0x2bf)]['localIdentifier']=_0x41ff18[_0xfc886b(0x2d5)],this[_0xfc886b(0x215)][_0xfc886b(0x2bf)][_0x41ff18[_0xfc886b(0x1d4)]]=_0x3857d8[_0xfc886b(0x256)][_0xfc886b(0x1ed)](','),this[_0xfc886b(0x215)][_0xfc886b(0x2bf)][_0xfc886b(0x283)]=_0x41ff18[_0xfc886b(0x26b)]),this[_0xfc886b(0x215)]['turboScaleUrl']=_0x3857d8[_0xfc886b(0x2b0)],this[_0xfc886b(0x2e4)]&&_0x41ff18[_0xfc886b(0x26c)](this[_0xfc886b(0x2e4)][_0xfc886b(0x1e6)](),_0x41ff18[_0xfc886b(0x2ec)])?this[_0xfc886b(0x215)][_0xfc886b(0x1f2)]=_0x41ff18[_0xfc886b(0x24b)](_0x3857d8[_0xfc886b(0x210)],_0x41ff18['Kovla']):constants[_0xfc886b(0x1dd)]=helper['getHubUrl'](this[_0xfc886b(0x215)]),logger[_0xfc886b(0x1d5)](_0xfc886b(0x259)+constants[_0xfc886b(0x1dd)]);}helper[_0xfc886b(0x22b)](this[_0xfc886b(0x215)]),this[_0xfc886b(0x25c)](),_0x41ff18[_0xfc886b(0x229)](setPercyFlag,this),![_0x41ff18[_0xfc886b(0x20b)],_0x41ff18['DhQMQ']][_0xfc886b(0x275)](this[_0xfc886b(0x2e4)])&&!helper[_0xfc886b(0x241)](this[_0xfc886b(0x215)])&&!helper[_0xfc886b(0x2c1)]()[_0xfc886b(0x2c6)]&&await this[_0xfc886b(0x20a)]();}async[a120_0x762a1e(0x224)](){const _0x18b05a=a120_0x762a1e,_0x3aa702={};_0x3aa702[_0x18b05a(0x2c9)]=function(_0x3167bd,_0x5d9eed){return _0x3167bd===_0x5d9eed;},_0x3aa702[_0x18b05a(0x2a1)]=_0x18b05a(0x2d2),_0x3aa702[_0x18b05a(0x1f0)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x3aa702['YepRB']=_0x18b05a(0x28d),_0x3aa702['lMLIx']='true',_0x3aa702[_0x18b05a(0x201)]='beforeExit';const _0x2edea1=_0x3aa702;if(helper[_0x18b05a(0x23d)](this[_0x18b05a(0x215)][_0x18b05a(0x2ce)])&&(!this[_0x18b05a(0x2ce)]||!this[_0x18b05a(0x2ce)][_0x18b05a(0x1da)]()))try{this['percy']=await percyHelper['startPercy'](this[_0x18b05a(0x215)]);if(!this[_0x18b05a(0x2ce)]){process[_0x18b05a(0x1ee)]['BROWSERSTACK_PERCY']=_0x2edea1[_0x18b05a(0x2a1)];throw new Error(_0x2edea1[_0x18b05a(0x1f0)]);}logger[_0x18b05a(0x2cc)](_0x2edea1[_0x18b05a(0x2b7)]),process[_0x18b05a(0x1ee)][_0x18b05a(0x2c3)]=_0x2edea1[_0x18b05a(0x1e2)];let _0xd0741e=0x0;const _0x2418b6=async()=>{const _0x38b978=_0x18b05a;_0xd0741e++,_0x2edea1[_0x38b978(0x2c9)](_0xd0741e,0x1)&&await this['stopPercy']();};process['on'](_0x2edea1[_0x18b05a(0x201)],_0x2418b6);}catch(_0x51673e){process[_0x18b05a(0x1ee)][_0x18b05a(0x2c3)]=_0x2edea1[_0x18b05a(0x2a1)],logger[_0x18b05a(0x1d5)](_0x18b05a(0x21f)+_0x51673e);throw new Error(_0x51673e['toString']());}}async[a120_0x762a1e(0x2a6)](){const _0x5bd88a=a120_0x762a1e,_0x3f8a83={};_0x3f8a83[_0x5bd88a(0x1ea)]=_0x5bd88a(0x234),_0x3f8a83[_0x5bd88a(0x1ef)]=_0x5bd88a(0x279);const _0x3621d8=_0x3f8a83;if(this[_0x5bd88a(0x2ce)]&&this['percy'][_0x5bd88a(0x1da)]())try{await percyHelper[_0x5bd88a(0x2a6)](this[_0x5bd88a(0x2ce)]),logger[_0x5bd88a(0x2cc)](_0x3621d8[_0x5bd88a(0x1ea)]);}catch(_0x2fcec5){logger[_0x5bd88a(0x23c)](_0x3621d8['GgRKJ'],_0x2fcec5[_0x5bd88a(0x1df)]);}}async[a120_0x762a1e(0x291)](){const _0x3463d9=a120_0x762a1e,_0x4e8d97={};_0x4e8d97[_0x3463d9(0x21b)]=_0x3463d9(0x2d4),_0x4e8d97['tizPM']=_0x3463d9(0x2b6);const _0x3ebbac=_0x4e8d97;if(helper['isBrowserstackInfra']()&&helper[_0x3463d9(0x23d)](this[_0x3463d9(0x215)]['browserstackLocal'])&&(!this['browserstackLocal']||!this[_0x3463d9(0x29c)][_0x3463d9(0x1da)]()))try{if(this[_0x3463d9(0x215)]['browserStackLocalOptions']['skipBinaryInitialisation']){logger[_0x3463d9(0x1d5)](_0x3ebbac[_0x3463d9(0x21b)]);return;}this[_0x3463d9(0x29c)]=await helper['startLocalBinary'](this['config']),logger[_0x3463d9(0x2cc)](_0x3ebbac[_0x3463d9(0x222)]);}catch(_0x4cc02c){logger[_0x3463d9(0x1d5)](_0x4cc02c);throw new Error(_0x4cc02c[_0x3463d9(0x2c5)]());}}async[a120_0x762a1e(0x26e)](){const _0x2e301f=a120_0x762a1e,_0x375ae8={};_0x375ae8['nvJsq']='Local\x20binary\x20stopped',_0x375ae8[_0x2e301f(0x1db)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x3d89e6=_0x375ae8;if(this[_0x2e301f(0x29c)]&&this[_0x2e301f(0x29c)]['isRunning']())try{await helper[_0x2e301f(0x247)](this[_0x2e301f(0x29c)]),logger[_0x2e301f(0x2cc)](_0x3d89e6['nvJsq']);}catch(_0x1883b1){logger[_0x2e301f(0x23c)](_0x3d89e6['iIHLz'],_0x1883b1[_0x2e301f(0x1df)]);}}async['setUpHubUrl'](){return PerformanceTester['measureWrapper'](PerformanceAutEvents['HUB_MANAGEMENT'],async()=>{const _0x38389e=a120_0xd265;await hubAllocator[_0x38389e(0x298)](this[_0x38389e(0x215)]);})();}async[a120_0x762a1e(0x262)](){const _0x5c58b1=a120_0x762a1e,_0x17e1c1={'UBbzH':function(_0x35477a,_0x3d0daa){return _0x35477a(_0x3d0daa);},'TBAkT':_0x5c58b1(0x25a),'Sctbl':function(_0x445501,_0x3cab76,_0x2e8c58,_0x42c5fa,_0x2c0632,_0x5a5d8e,_0x3c2dfb){return _0x445501(_0x3cab76,_0x2e8c58,_0x42c5fa,_0x2c0632,_0x5a5d8e,_0x3c2dfb);},'ohoAU':'BrowserstackHealing.init\x20method\x20timed\x20out','rAiYP':'BrowserstackHealingInitFailed','tQAdM':function(_0x3a530c,_0x36248f){return _0x3a530c(_0x36248f);},'wivDP':_0x5c58b1(0x2c2),'kAPqn':'BrowserstackHealing.init','eBAmg':function(_0x18b6b9,_0x115c23){return _0x18b6b9===_0x115c23;},'cYUll':'true','uLUlM':function(_0x51b0bb,_0x14b590){return _0x51b0bb===_0x14b590;},'kchWH':_0x5c58b1(0x2a3),'RyvcN':function(_0x423e24,_0x8d2e67){return _0x423e24===_0x8d2e67;},'IUVDl':_0x5c58b1(0x1ec),'OlJSH':_0x5c58b1(0x2b4),'zdvku':function(_0x57cce6,_0x209fde){return _0x57cce6(_0x209fde);},'vnwhU':_0x5c58b1(0x2da),'PYEvk':function(_0x4aaff0,_0x1acc43){return _0x4aaff0>=_0x1acc43;},'dfPeF':function(_0xd2bd10,_0x5c791a){return _0xd2bd10<_0x5c791a;},'JBgBh':function(_0xf373c3,_0xc969e9){return _0xf373c3>=_0xc969e9;},'VUvWQ':'tcg\x20config\x20setup\x20successful.','nZLRM':_0x5c58b1(0x24a),'tFxWb':function(_0x1d0508){return _0x1d0508();}},_0x248a69=PerformanceTester[_0x5c58b1(0x2ea)](_0x17e1c1[_0x5c58b1(0x29f)],async()=>{const _0x263d59=_0x5c58b1;try{const _0x5dcfc0=new Date(),_0x4dc6d7=helper[_0x263d59(0x2a5)](this[_0x263d59(0x215)]),_0x3aaefe=_0x17e1c1['UBbzH'](require,path['join'](__dirname,_0x17e1c1[_0x263d59(0x27b)])),_0x386e4c=_0x17e1c1[_0x263d59(0x1d6)](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x17e1c1[_0x263d59(0x271)],_0x17e1c1[_0x263d59(0x29a)],_0x5dcfc0,this[_0x263d59(0x215)],this[_0x263d59(0x2e4)]),_0x5bd347={'tcgUrl':constants[_0x263d59(0x285)],'sdkVersion':_0x17e1c1[_0x263d59(0x200)](require,_0x17e1c1[_0x263d59(0x274)])[_0x263d59(0x233)],'methodUsed':_0x17e1c1[_0x263d59(0x205)],'proxyConfig':_0x4dc6d7,'os':os[_0x263d59(0x2d7)]()};if(_0x4dc6d7&&_0x4dc6d7[_0x263d59(0x278)]){utilities['fireFunnelTestEvent'](constants[_0x263d59(0x20c)],_0x5bd347,this[_0x263d59(0x215)],this[_0x263d59(0x2e4)]);return;}const _0x222f7f={};_0x222f7f[_0x263d59(0x1d7)]=_0x4dc6d7;const _0x3f07bc=await Promise[_0x263d59(0x252)]([_0x3aaefe['init'](this['config'][_0x263d59(0x249)],this[_0x263d59(0x215)][_0x263d59(0x1e4)],constants[_0x263d59(0x285)],_0x17e1c1['tQAdM'](require,_0x17e1c1['wivDP'])['version'],_0x222f7f)[_0x263d59(0x228)](_0x46b171=>{const _0x142249=_0x263d59;return _0x386e4c[_0x142249(0x284)](),_0x46b171;}),_0x386e4c]);_0x3f07bc['isHealingEnabled']=_0x17e1c1['eBAmg'](_0x3f07bc['isHealingEnabled'],_0x17e1c1[_0x263d59(0x2e0)])||_0x17e1c1['uLUlM'](_0x3f07bc[_0x263d59(0x27d)],!![]);const _0x4c0107=_0x17e1c1[_0x263d59(0x21d)](this[_0x263d59(0x215)]['selfHeal'],!![])||_0x17e1c1[_0x263d59(0x21d)](this['config'][_0x263d59(0x244)],_0x17e1c1[_0x263d59(0x2e0)]);if(_0x17e1c1[_0x263d59(0x207)](_0x3f07bc['message'],constants[_0x263d59(0x25d)])&&_0x4c0107)logger[_0x263d59(0x2cc)](_0x17e1c1['kchWH']);else{if(!_0x3f07bc[_0x263d59(0x299)]&&_0x17e1c1[_0x263d59(0x2b5)](_0x3f07bc[_0x263d59(0x295)],0x1f7)&&_0x4c0107)logger[_0x263d59(0x2cc)](_0x17e1c1[_0x263d59(0x1f3)]),utilities[_0x263d59(0x226)](constants[_0x263d59(0x2cf)],_0x5bd347,this['config'],this[_0x263d59(0x2e4)]);else{if(!_0x3f07bc[_0x263d59(0x299)]&&_0x4c0107){logger['info'](_0x17e1c1[_0x263d59(0x1fc)]);const _0x1d725a={'tcgUrl':constants[_0x263d59(0x285)],'sdkVersion':_0x17e1c1[_0x263d59(0x270)](require,_0x17e1c1[_0x263d59(0x274)])['version'],'methodUsed':_0x17e1c1[_0x263d59(0x205)],'proxyConfig':_0x4dc6d7,'os':os[_0x263d59(0x2d7)]()};utilities[_0x263d59(0x226)](constants[_0x263d59(0x23b)],_0x1d725a,this[_0x263d59(0x215)],this['framework']);}else{if(_0x3f07bc['isAuthenticated']&&!_0x3f07bc[_0x263d59(0x27d)]&&_0x4c0107)logger['info'](_0x17e1c1['vnwhU']);else{if(_0x17e1c1['PYEvk'](_0x3f07bc[_0x263d59(0x295)],0xc8)&&_0x17e1c1[_0x263d59(0x2d9)](_0x3f07bc[_0x263d59(0x295)],0x12c))utilities[_0x263d59(0x226)](constants['AI_INIT_SUCCESSFUL'],_0x5bd347,this[_0x263d59(0x215)],this[_0x263d59(0x2e4)]);else{if(_0x17e1c1[_0x263d59(0x219)](_0x3f07bc['status'],0x190))_0x5bd347['status']=_0x3f07bc[_0x263d59(0x295)],utilities[_0x263d59(0x226)](constants['AI_INIT_FAILURE'],_0x5bd347,this['config'],this[_0x263d59(0x2e4)]);else!_0x3f07bc[_0x263d59(0x295)]&&utilities['fireFunnelTestEvent'](constants[_0x263d59(0x2e2)],_0x5bd347,this['config'],this['framework']);}}}}}if(_0x3f07bc['isAuthenticated']&&_0x3f07bc[_0x263d59(0x27d)]){const _0x421aee={};_0x421aee['tcgAuthConfig']=_0x3f07bc;const _0x36c6ae=_0x421aee;_0x4dc6d7&&(_0x36c6ae[_0x263d59(0x2ad)]=_0x4dc6d7),_0x36c6ae['framework']=this[_0x263d59(0x2e4)],_0x36c6ae[_0x263d59(0x2f0)]=this[_0x263d59(0x215)],helper[_0x263d59(0x23f)](_0x36c6ae),logger[_0x263d59(0x1d5)](_0x17e1c1['VUvWQ']);}}catch(_0x5545c2){logger[_0x263d59(0x1d5)]('Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20'+(_0x5545c2['message']?_0x5545c2[_0x263d59(0x1df)]:''));}});await _0x17e1c1[_0x5c58b1(0x276)](_0x248a69);}[a120_0x762a1e(0x25c)](){const _0x49ce8c=a120_0x762a1e,_0x525604={'kafQQ':function(_0x4a1c89,_0xe9d403){return _0x4a1c89(_0xe9d403);},'aEUZp':_0x49ce8c(0x2e9)};_0x525604[_0x49ce8c(0x28c)](require,_0x525604[_0x49ce8c(0x221)])();}[a120_0x762a1e(0x2d8)](){const _0x4ae060=a120_0x762a1e,_0x545a02={};_0x545a02[_0x4ae060(0x282)]=_0x4ae060(0x1e7),_0x545a02[_0x4ae060(0x20d)]=_0x4ae060(0x245),_0x545a02[_0x4ae060(0x1f9)]=_0x4ae060(0x209);const _0x3baeac=_0x545a02,_0x18aa41=_0x53831e=>{const _0x1dd9fb=_0x4ae060,_0x435a0f=_0x3baeac[_0x1dd9fb(0x282)][_0x1dd9fb(0x26f)]('|');let _0x248cab=0x0;while(!![]){switch(_0x435a0f[_0x248cab++]){case'0':logger[_0x1dd9fb(0x1d5)](util[_0x1dd9fb(0x255)](_0x53831e));continue;case'1':PerformanceTester[_0x1dd9fb(0x29d)](_0x53831e);continue;case'2':ClientTroubleShootingService[_0x1dd9fb(0x2af)]();continue;case'3':this['unhandledErrors']['push'](util[_0x1dd9fb(0x255)]('%j',_0x53831e));continue;case'4':logger['error'](_0x53831e[_0x1dd9fb(0x1df)]);continue;}break;}};process['on'](_0x3baeac[_0x4ae060(0x20d)],_0x18aa41),process['on'](_0x3baeac[_0x4ae060(0x1f9)],_0x18aa41);}async[a120_0x762a1e(0x2eb)](_0x527763){const _0x3113e5=a120_0x762a1e,_0x85f377={'MTTLG':function(_0x1f31ce,_0x517ec0){return _0x1f31ce+_0x517ec0;},'JFzPf':'Signal\x20shutdown\x20did\x20not\x20complete\x20cleanly:\x20','HsTfN':_0x3113e5(0x24e),'CNWfp':function(_0xa28be5,_0x4bac34,_0x31817a){return _0xa28be5(_0x4bac34,_0x31817a);},'wadoO':function(_0x2411b1,_0x26a102){return _0x2411b1+_0x26a102;},'XEacK':_0x3113e5(0x2ca),'DjPjQ':function(_0xd47b3c,_0x236f95){return _0xd47b3c+_0x236f95;},'ivrqC':_0x3113e5(0x202),'rMDmo':function(_0x281022,_0x461836){return _0x281022(_0x461836);},'crnGI':function(_0x2cac8d,_0x1da8b8){return _0x2cac8d===_0x1da8b8;},'gZFkq':_0x3113e5(0x227),'HpDRs':_0x3113e5(0x1e1),'pqmeT':_0x3113e5(0x2a8)};if(this[_0x85f377[_0x3113e5(0x2a9)](_0x85f377[_0x3113e5(0x29e)],_0x527763)])return;this[_0x85f377[_0x3113e5(0x1eb)](_0x85f377['XEacK'],_0x527763)]=!![],logger[_0x3113e5(0x2cc)](_0x85f377[_0x3113e5(0x2a0)](_0x85f377['ivrqC'],_0x527763)),this[_0x3113e5(0x21e)]=_0x527763;const _0x3950e7=0x7530;let _0x406911;const _0xfde043=(async()=>{const _0x369e1b=_0x3113e5;await ClientTroubleShootingService[_0x369e1b(0x2de)](_0x527763),await TestHubHandler[_0x369e1b(0x261)](_0x527763),await ClientTroubleShootingService[_0x369e1b(0x2af)](),await BrowserstackCLI[_0x369e1b(0x273)]()[_0x369e1b(0x261)]();})()[_0x3113e5(0x228)](()=>'completed')['catch'](_0x5246d2=>{const _0x16a90c=_0x3113e5;return logger['debug'](_0x85f377[_0x16a90c(0x2a0)](_0x85f377[_0x16a90c(0x26a)],util['format'](_0x5246d2))),_0x85f377[_0x16a90c(0x267)];}),_0x8b9f48=new Promise(_0x64f294=>{const _0xfe8b15=_0x3113e5;_0x406911=_0x85f377['CNWfp'](setTimeout,()=>_0x64f294(_0xfe8b15(0x227)),_0x3950e7),_0x406911[_0xfe8b15(0x24c)]&&_0x406911[_0xfe8b15(0x24c)]();}),_0x13a042=await Promise['race']([_0xfde043,_0x8b9f48]);_0x85f377[_0x3113e5(0x28a)](clearTimeout,_0x406911),_0x85f377[_0x3113e5(0x2d3)](_0x13a042,_0x85f377['gZFkq'])&&(logger[_0x3113e5(0x21a)](_0x85f377[_0x3113e5(0x2a0)](_0x85f377[_0x3113e5(0x2a9)](_0x85f377[_0x3113e5(0x22f)],_0x3950e7),_0x85f377[_0x3113e5(0x250)])),process[_0x3113e5(0x28f)](process[_0x3113e5(0x213)]||0x0));}['exitHandler'](){const _0x671e71=a120_0x762a1e,_0x331fba={'ianMp':function(_0x52e6b6,_0x36f704){return _0x52e6b6===_0x36f704;},'fGLsO':_0x671e71(0x2ac),'XEDVQ':function(_0x5b3637,_0x4f72a9){return _0x5b3637>_0x4f72a9;},'hyiYF':function(_0xd14a89,_0x69e2e6){return _0xd14a89>_0x69e2e6;},'aykuW':function(_0x46694,_0x265fef){return _0x46694(_0x265fef);},'itzeM':function(_0x59a6ee){return _0x59a6ee();},'nmURw':_0x671e71(0x24d)};let _0x5a02a9=0x0;return async()=>{const _0x513401=_0x671e71;_0x5a02a9++;if(_0x331fba[_0x513401(0x25f)](_0x5a02a9,0x1)){helper['checkStopLocalBinaryOnExit'](this['framework'])&&await this[_0x513401(0x26e)]();try{logger[_0x513401(0x1d5)](_0x331fba['fGLsO']),await TestHubHandler[_0x513401(0x261)](_0x5a02a9),await ClientTroubleShootingService[_0x513401(0x2af)](),await BrowserstackCLI[_0x513401(0x273)]()[_0x513401(0x261)]('1');}catch(_0x71cf68){logger['debug']('Error\x20in\x20sending\x20testhub\x20stop:\x20'+util['format'](_0x71cf68));}PerformanceTester[_0x513401(0x232)](PerformanceEvents['SDK_CLEANUP']);if(PerformanceTester[_0x513401(0x2c8)]()){const {measures:_0x44916d,errors:_0x471cd7}=await PerformanceTester[_0x513401(0x1f7)](),_0x566a7f={};if(_0x44916d&&_0x331fba['XEDVQ'](_0x44916d['length'],0x0)||_0x471cd7&&_0x331fba['hyiYF'](_0x471cd7[_0x513401(0x2cd)],0x0)){const _0x3dae1b={};_0x3dae1b['measures']=_0x44916d,_0x3dae1b['exceptions']=_0x471cd7,Object[_0x513401(0x212)](_0x566a7f,_0x3dae1b);}try{const _0x2ef1bf=await helper[_0x513401(0x2ee)](_0x566a7f,this[_0x513401(0x215)]);logger[_0x513401(0x1d5)](_0x513401(0x1e9)+_0x331fba[_0x513401(0x21c)](getEdsInstrumentationAPIUrl,'')+_0x513401(0x290)+_0x2ef1bf['statusCode']);}catch(_0x343ab7){logger[_0x513401(0x1d5)]('Failed\x20to\x20send\x20data\x20to\x20'+_0x331fba[_0x513401(0x21c)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20error\x20'+util['format'](_0x343ab7));}try{fs[_0x513401(0x1fb)](path[_0x513401(0x1ed)](_0x331fba[_0x513401(0x2b1)](getLogDir),_0x331fba['nmURw']),JSON[_0x513401(0x2b9)](_0x566a7f));}catch(_0x3618ce){logger[_0x513401(0x1d5)](_0x513401(0x268)+_0x3618ce);}}}logger&&logger[_0x513401(0x22c)](),fileLogger&&fileLogger[_0x513401(0x22c)]();};}}function a120_0x4e38(){const _0x1da7d5=['handled','ApJYw','info','length','percy','TCG_DOWN','./helper','setSmartTestSelectionFeatureBranchesConfig','false','crnGI','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','ZedfI','turboScale','platform','handleExceptions','dfPeF','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','SIGBREAK','bind','uuid','reportProcessInterruptionSituation','codeceptjs','cYUll','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','INVALID_INIT_RESP_WITH_USER_IMPACT','SDK\x20run\x20started\x20with\x20id:\x20','framework','./testhub/utils','bXeNb','custom-repeater','userName\x20or\x20accessKey\x20is\x20not\x20defined','./setKeepAlive','measureWrapper','intExitHandler','DhQMQ','envConfig','sendToEDS','getFinalCaps','bstackConfig','selenium-webdriver','19253bMGQIC','useW3C','eEapN','debug','Sctbl','proxy','getConfigPath','validateSkipAppOverride','isRunning','iIHLz','fileLogger','hubUrl','SDKTestAttempted','message','POprl','Signal\x20shutdown\x20timed\x20out\x20after\x20','lMLIx','./percy/utils','userName','winstonLogger','toLowerCase','4|0|3|1|2','__isPuppeteerInstalled','Data\x20sent\x20successfully\x20to\x20','QmiJv','DjPjQ','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','join','env','GgRKJ','bvzth','isLTSSession','turboScaleUrl','IUVDl','constructor','FRAMEWORK','true','finalize','bcWsV','OrZfH','NaXFk','writeFileSync','OlJSH','322017XEpfvn','Qcgmf','isBrowserstackInfra','tQAdM','zTMNO','Shutdown\x20triggered\x20by\x20','getPackageVersion','generateLocalIdentifier','kAPqn','parallelsPerPlatform','uLUlM','7UvIfHQ','uncaughtException','setUpHubUrl','sCjPy','AI_PROXY_FAILURE','jcFhi','setCLICaps','BROWSERSTACK_TURBOSCALE','playwrightUrl','nyQwz','assign','exitCode','skipSessionName','config','../hubAllocationMethods','80ffyLsy','cliConfig','JBgBh','warn','ZyjNZ','aykuW','eBAmg','killSignal','Error\x20in\x20percy\x20setup\x20','264GEvyoy','aEUZp','tizPM','LQXyi','setupPercy','turboScaleGridDetails','fireFunnelTestEvent','timed-out','then','BwXtT','SIGABRT','setProxySettings','close','../bin/utils/apiUtilityMethods','isUndefined','HpDRs','path','EFxzy','end','version','Percy\x20stopped','40igLTMp','../bin/utils/constants','playwright','setBrowserstackInfraFromConfig','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','wufsk','TCG_AUTH_FAILURE','error','isTrue','localIdentifier','setupTcgConfigFile','platforms','isTurboScaleSession','./performance/performance-tester','configPath','selfHeal','unhandledRejection','setEnvCaps','stopLocalBinary','SIGTERM','accessKey','aiHeal:tcgAuth','yCFeK','unref','events.json','completed','isTrialGrid','pqmeT','SuBPO','race','getUserName','uIfke','format','customRepeaters','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','compareVersions','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','../ai-sdk-node/bundle','MUFDX','setupKeepAlive','UPGRADE_REQUIRED','preInitialize','ianMp','KieRM','stop','setupTCGAuth','79083jUJBtf','getLocalIdentifier','sdkRunId','skipBinaryInitialisation','HsTfN','Error\x20in\x20writing\x20events\x20to\x20file\x20','../bin/utils/clientTroubleshootingService','JFzPf','jjfgn','KAEBD','WueVg','stopBrowserstackLocal','split','zdvku','ohoAU','330054vVCMgb','getInstance','wivDP','includes','tFxWb','setHandlePWError','proxyUrl','Error\x20occured\x20while\x20stopping\x20percy','getAccessKey','TBAkT','isNotUndefined','isHealingEnabled','setCredentialsFromYmlConfig','webFR','SIGQUIT','4.5.0','RtVgX','forceLocal','cancel','TCG_URL','ats-repeater','./performance/constants','No\x20config\x20provided.','unhandledErrors','rMDmo','IFujY','kafQQ','Percy\x20started\x20successfully','setupCaCertificate','exit','\x20with\x20response\x20','setupBrowserstackLocal','exitHandler','260BpMEOz','5679200EyJNeX','status','AUTOLOGCAPTURE_NOTIFICATION','mTpPu','allocateHub','isAuthenticated','rAiYP','turboScaleOptions','browserstackLocal','captureError','XEacK','nZLRM','MTTLG','YWHon','localOptions','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','skipSessionStatus','getProxyConfigForTcg','stopPercy','integrations','ms;\x20forcing\x20exit','wadoO','startMonitoring','urNpK','Calling\x20Build\x20Stop\x20from\x20ExitHandler','proxyConfig','RmQOh','reportFinalDetectionState','url','itzeM','205366SEdenU','521598PzDGXA','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','RyvcN','Local\x20binary\x20started\x20successfully','YepRB','testContextOptions','stringify','./logger','__isPlaywrightInstalled','readConfig','sanitizeCaps','./testhub/testhubHandler','browserStackLocalOptions','24|10|1|0|22|9|23|26|5|2|21|8|15|12|19|7|4|6|17|25|14|20|3|18|16|13|11','getCentralUser','../../package.json','BROWSERSTACK_PERCY','util','toString','central_scanner','3912GRngNe','isEnabled','SLzDN'];a120_0x4e38=function(){return _0x1da7d5;};return a120_0x4e38();}exports['default']=BrowserStackSetup;
1
+ const a122_0x344917=a122_0x3442;(function(_0x48aeed,_0x3417f8){const _0x1330df=a122_0x3442,_0x371346=_0x48aeed();while(!![]){try{const _0x4833d2=parseInt(_0x1330df(0x10f))/0x1*(parseInt(_0x1330df(0xfe))/0x2)+parseInt(_0x1330df(0x19a))/0x3+-parseInt(_0x1330df(0x136))/0x4+parseInt(_0x1330df(0x1d7))/0x5*(-parseInt(_0x1330df(0x13c))/0x6)+-parseInt(_0x1330df(0xf2))/0x7*(-parseInt(_0x1330df(0x11a))/0x8)+-parseInt(_0x1330df(0x1d1))/0x9+parseInt(_0x1330df(0x172))/0xa;if(_0x4833d2===_0x3417f8)break;else _0x371346['push'](_0x371346['shift']());}catch(_0x33145c){_0x371346['push'](_0x371346['shift']());}}}(a122_0x2eb3,0xd9d8c));function a122_0x3442(_0x2ebd05,_0x2ed190){const _0x2eb350=a122_0x2eb3();return a122_0x3442=function(_0x344298,_0x1e4afc){_0x344298=_0x344298-0xce;let _0x1059b7=_0x2eb350[_0x344298];return _0x1059b7;},a122_0x3442(_0x2ebd05,_0x2ed190);}const util=require('util'),os=require('os'),path=require('path'),{v4:uuidv4}=require(a122_0x344917(0x1c5)),fs=require('fs'),constants=require(a122_0x344917(0x15b)),logger=require(a122_0x344917(0x161))[a122_0x344917(0x13b)],fileLogger=require(a122_0x344917(0x161))['fileLogger'],{getLogDir}=require(a122_0x344917(0x161)),helper=require('./helper'),utilities=require(a122_0x344917(0x159)),percyHelper=require(a122_0x344917(0x1bd)),hubAllocator=require(a122_0x344917(0x140)),PerformanceTester=require(a122_0x344917(0x17d)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a122_0x344917(0x1e0)),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require(a122_0x344917(0xd2)),timeoutPromise=require(a122_0x344917(0x19d)),BrowserstackCLI=require(a122_0x344917(0x19b)),LoadTestModule=require(a122_0x344917(0x12a)),{getEdsInstrumentationAPIUrl}=require(a122_0x344917(0x1d5)),ClientTroubleShootingService=require(a122_0x344917(0x1c3));class BrowserStackSetup{constructor(_0x1fe578,_0x2b0fbb){const _0x1cfd65=a122_0x344917,_0x5e479b={'kCDWE':'20|10|5|18|9|12|11|13|2|7|26|8|4|15|1|25|14|16|17|3|19|24|6|21|22|0|23','JKGOz':'No\x20config\x20provided.','pqZGT':function(_0x2af513){return _0x2af513();},'vuGUa':function(_0x35b645,_0x3fd675){return _0x35b645(_0x3fd675);},'Gfhwq':_0x1cfd65(0xd4)},_0x30a40f=_0x5e479b[_0x1cfd65(0x193)][_0x1cfd65(0x1be)]('|');let _0x37f360=0x0;while(!![]){switch(_0x30a40f[_0x37f360++]){case'0':PerformanceTester[_0x1cfd65(0x17b)]();continue;case'1':if(helper[_0x1cfd65(0x18a)](this[_0x1cfd65(0xef)]))throw new Error(_0x5e479b[_0x1cfd65(0x12f)]);continue;case'2':this[_0x1cfd65(0xef)][_0x1cfd65(0x162)]=this[_0x1cfd65(0xef)][_0x1cfd65(0x162)]||[];continue;case'3':this[_0x1cfd65(0xef)][_0x1cfd65(0x122)][_0x1cfd65(0x156)]=!helper['isBrowserstackInfra']()||helper[_0x1cfd65(0x1d6)](this[_0x1cfd65(0xef)]['testContextOptions'][_0x1cfd65(0x156)]);continue;case'4':this[_0x1cfd65(0x142)]=_0x2b0fbb;continue;case'5':this[_0x1cfd65(0x114)]=helper[_0x1cfd65(0x109)]();continue;case'6':helper[_0x1cfd65(0x102)](this[_0x1cfd65(0xef)],this[_0x1cfd65(0x177)],this['envConfig']);continue;case'7':this['config'][_0x1cfd65(0x122)]=this[_0x1cfd65(0xef)]['testContextOptions']||{};continue;case'8':this[_0x1cfd65(0xcf)]=_0x5e479b[_0x1cfd65(0x1dc)](uuidv4);continue;case'9':this['percy']=null;continue;case'10':helper[_0x1cfd65(0x11f)]();continue;case'11':this['config']=helper[_0x1cfd65(0x1d3)](this[_0x1cfd65(0x1ba)]);continue;case'12':this[_0x1cfd65(0x1ba)]=helper[_0x1cfd65(0x133)](_0x1fe578);continue;case'13':this['cliConfig']=helper['setCLICaps'](_0x1fe578);continue;case'14':helper[_0x1cfd65(0x12e)](this[_0x1cfd65(0xef)],this['framework']);continue;case'15':global['framework']=_0x2b0fbb;continue;case'16':helper[_0x1cfd65(0x1b6)](this[_0x1cfd65(0xef)],this['cliConfig']);continue;case'17':helper[_0x1cfd65(0x103)](this[_0x1cfd65(0xef)]);continue;case'18':this[_0x1cfd65(0x146)]=null;continue;case'19':this[_0x1cfd65(0xef)][_0x1cfd65(0x122)][_0x1cfd65(0x1b7)]=!helper[_0x1cfd65(0x150)]()||helper[_0x1cfd65(0x1d6)](this['config'][_0x1cfd65(0x122)]['skipSessionName']);continue;case'20':this[_0x1cfd65(0xf9)]=[];continue;case'21':helper[_0x1cfd65(0x171)](this[_0x1cfd65(0xef)]);continue;case'22':helper['setLogLevel'](this[_0x1cfd65(0xef)],this[_0x1cfd65(0x177)],this[_0x1cfd65(0x114)]);continue;case'23':try{_0x5e479b[_0x1cfd65(0x1c2)](require,_0x5e479b[_0x1cfd65(0xee)])[_0x1cfd65(0x1bf)](this['config'],logger);}catch(_0x4f0516){}continue;case'24':helper[_0x1cfd65(0x16a)](this[_0x1cfd65(0xef)],this[_0x1cfd65(0x177)],this[_0x1cfd65(0x114)]);continue;case'25':if(this[_0x1cfd65(0xef)][_0x1cfd65(0x173)])throw new Error(this[_0x1cfd65(0xef)]['error']);continue;case'26':this[_0x1cfd65(0x1b8)]={};continue;}break;}}[a122_0x344917(0x1d4)](_0x21ace9){const _0x160256=a122_0x344917,_0x3b8704={'Hyqbt':_0x160256(0x18c),'pstvl':function(_0x3ad712,_0x4e8ba0){return _0x3ad712===_0x4e8ba0;},'yYuAa':function(_0x3a496d,_0x5c7827){return _0x3a496d===_0x5c7827;},'QWCca':_0x160256(0x141),'OaGhy':'SDKTestAttempted','gNVQq':function(_0x124337,_0x3e9e61){return _0x124337<_0x3e9e61;},'HhUhZ':function(_0x55bd6a,_0x539066){return _0x55bd6a(_0x539066);},'OTwzz':_0x160256(0x124),'wWhbQ':_0x160256(0xe8),'OjkmJ':_0x160256(0x1e1),'VDwQq':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','PZdgh':_0x160256(0xf1),'SPGUm':_0x160256(0xec),'SYBGC':'SIGHUP','JeQbr':function(_0x14376a,_0x474cb3){return _0x14376a!==_0x474cb3;},'fyjQT':'win32','scUsa':_0x160256(0x181),'GXeFO':_0x160256(0x112),'miyPT':'SIGBREAK','ZEpRg':_0x160256(0xd9)},_0x43323c=this[_0x160256(0x142)];global['config']=this['config'],helper[_0x160256(0x127)](this['config']),this[_0x160256(0x1ca)]=null,global[_0x160256(0xcf)]=this['sdkRunId'],logger[_0x160256(0x18d)]('SDK\x20run\x20started\x20with\x20id:\x20'+this[_0x160256(0xcf)]),!this['config'][_0x160256(0x176)]&&(this['config'][_0x160256(0x176)]=this[_0x160256(0xef)][_0x160256(0xe1)]||{});if(helper[_0x160256(0x18a)](helper[_0x160256(0x157)](this[_0x160256(0xef)]))||helper[_0x160256(0x18a)](helper['getAccessKey'](this[_0x160256(0xef)])))throw new Error(_0x3b8704[_0x160256(0x10c)]);helper[_0x160256(0x165)](this[_0x160256(0xef)])&&helper['isUndefined'](helper['getLocalIdentifier'](this[_0x160256(0xef)]))&&(!helper[_0x160256(0x18a)](this['config'][_0x160256(0x176)])&&_0x3b8704[_0x160256(0x151)](this[_0x160256(0xef)][_0x160256(0x176)][_0x160256(0x117)],Object)?!helper[_0x160256(0x1d6)](this[_0x160256(0xef)][_0x160256(0x176)][_0x160256(0x121)])&&(this[_0x160256(0xef)][_0x160256(0x176)][_0x160256(0x1c1)]=helper[_0x160256(0x1d0)]()):this[_0x160256(0xef)][_0x160256(0x176)]={'localIdentifier':helper[_0x160256(0x1d0)]()});this['config'][_0x160256(0x176)][_0x160256(0x121)]=helper[_0x160256(0x1d6)](this[_0x160256(0xef)][_0x160256(0x176)][_0x160256(0x121)]),helper[_0x160256(0x189)](this['config']);if(_0x3b8704[_0x160256(0x1a7)](_0x43323c,_0x3b8704[_0x160256(0x186)]))return;this['handleExceptions']();process[_0x160256(0x187)][_0x160256(0x192)]&&(this[_0x160256(0xef)]['turboScale']=helper['isTrue'](process[_0x160256(0x187)][_0x160256(0x192)]),this[_0x160256(0xef)][_0x160256(0x135)]=this['config'][_0x160256(0x135)]||{});helper[_0x160256(0x16c)](this[_0x160256(0xef)])&&(process[_0x160256(0x187)]['BROWSERSTACK_TURBOSCALE']=!![]);LoadTestModule[_0x160256(0x153)](this[_0x160256(0xef)])&&logger[_0x160256(0x160)](_0x160256(0x1c0)+this[_0x160256(0xcf)]);if(!helper[_0x160256(0x150)]()){try{process['env'][_0x160256(0x185)]=_0x43323c,utilities[_0x160256(0x17e)](_0x3b8704['OaGhy'],{},this[_0x160256(0xef)],this[_0x160256(0x142)]);}catch(_0x2b35cc){logger['debug'](_0x160256(0xff)+_0x2b35cc);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x43323c)){if(global['__isPlaywrightInstalled']||global[_0x160256(0x1ce)])return;_0x3b8704[_0x160256(0x179)](_0x3b8704['HhUhZ'](parseInt,helper[_0x160256(0x106)](_0x3b8704[_0x160256(0x101)])),0x3)&&(this[_0x160256(0xef)][_0x160256(0x1cc)]=![]),_0x3b8704[_0x160256(0x151)](helper[_0x160256(0x197)](helper[_0x160256(0x106)](_0x3b8704[_0x160256(0x101)]),_0x3b8704[_0x160256(0x118)]),0x1)&&(this['config']['useW3C']=!![]);}(helper[_0x160256(0x18a)](this[_0x160256(0xef)][_0x160256(0x162)])||helper[_0x160256(0x18a)](this[_0x160256(0xef)][_0x160256(0x162)][_0x160256(0x1ad)]))&&(helper[_0x160256(0x18a)](this['config'][_0x160256(0x19e)])?logger[_0x160256(0x18d)](_0x3b8704['OjkmJ']):logger['warn'](_0x3b8704[_0x160256(0xda)]),this[_0x160256(0xef)][_0x160256(0x162)]=[]);!this[_0x160256(0xef)][_0x160256(0x122)]&&(this[_0x160256(0xef)][_0x160256(0x122)]={});try{process[_0x160256(0x187)][_0x160256(0x185)]=_0x21ace9['_'][0x0],utilities[_0x160256(0x17e)](_0x3b8704['OaGhy'],{},this[_0x160256(0xef)],this[_0x160256(0x142)]);}catch(_0x768c6d){logger[_0x160256(0x160)](_0x160256(0xff)+_0x768c6d);}!this[_0x160256(0xef)][_0x160256(0x15e)]&&logger[_0x160256(0x18d)](constants[_0x160256(0x1a0)]),this[_0x160256(0x13a)]=this[_0x160256(0x13a)][_0x160256(0xde)](this),process['on'](_0x3b8704['PZdgh'],this[_0x160256(0x13a)]),process['on'](_0x3b8704[_0x160256(0x1bc)],this[_0x160256(0x13a)]),process['on'](_0x3b8704['SYBGC'],this[_0x160256(0x13a)]),_0x3b8704[_0x160256(0x11e)](process[_0x160256(0x138)],_0x3b8704['fyjQT'])?(process['on'](_0x3b8704[_0x160256(0x14d)],this['intExitHandler']),process['on'](_0x3b8704['GXeFO'],this['intExitHandler'])):process['on'](_0x3b8704[_0x160256(0x18e)],this[_0x160256(0x13a)]),process['on'](_0x3b8704['ZEpRg'],this[_0x160256(0x1e4)]());}async[a122_0x344917(0xd6)](_0x53c28f){const _0x137f47=a122_0x344917,_0x16f67f={'ynovK':_0x137f47(0x1ac),'eJOVd':'custom-repeater','tNwdI':_0x137f47(0x1bb),'ojOXu':function(_0x1e7ea8,_0x3280d4){return _0x1e7ea8===_0x3280d4;},'Bixsv':_0x137f47(0x1cf),'FyIlq':function(_0x459352,_0x55d871){return _0x459352+_0x55d871;},'xbGYn':_0x137f47(0xd3),'wabaI':function(_0x172113,_0x16b397){return _0x172113(_0x16b397);},'ktEEE':_0x137f47(0x128)};this['preInitialize'](_0x53c28f);if(helper[_0x137f47(0x16c)](this[_0x137f47(0xef)])){const _0x12d29a=await helper[_0x137f47(0x10a)](this[_0x137f47(0xef)]);this[_0x137f47(0xef)][_0x137f47(0x131)]=_0x12d29a,_0x12d29a[_0x137f47(0xf8)]&&helper[_0x137f47(0x120)](this[_0x137f47(0xef)]['browserstackLocal'])&&helper[_0x137f47(0x1d6)](this[_0x137f47(0xef)]['browserstackLocal'])&&(this[_0x137f47(0xef)][_0x137f47(0x176)]['localIdentifier']=_0x16f67f[_0x137f47(0x17c)],this[_0x137f47(0xef)][_0x137f47(0x176)][_0x16f67f['eJOVd']]=_0x12d29a[_0x137f47(0x113)][_0x137f47(0x191)](','),this[_0x137f47(0xef)]['browserStackLocalOptions']['forceLocal']=_0x16f67f[_0x137f47(0xf5)]),this[_0x137f47(0xef)][_0x137f47(0x154)]=_0x12d29a['url'],this['framework']&&_0x16f67f['ojOXu'](this['framework'][_0x137f47(0x12c)](),_0x16f67f['Bixsv'])?this[_0x137f47(0xef)][_0x137f47(0x154)]=_0x16f67f[_0x137f47(0x1d9)](_0x12d29a[_0x137f47(0x10b)],_0x16f67f[_0x137f47(0xe7)]):constants[_0x137f47(0x1b0)]=helper[_0x137f47(0xed)](this[_0x137f47(0xef)]),logger[_0x137f47(0x160)](_0x137f47(0x14a)+constants[_0x137f47(0x1b0)]);}helper['setProxySettings'](this[_0x137f47(0xef)]),this['setupKeepAlive'](),_0x16f67f[_0x137f47(0x1c6)](setPercyFlag,this),![_0x16f67f[_0x137f47(0x1e2)],_0x16f67f[_0x137f47(0x183)]][_0x137f47(0x166)](this[_0x137f47(0x142)])&&!helper[_0x137f47(0x16c)](this[_0x137f47(0xef)])&&!helper[_0x137f47(0x125)]()[_0x137f47(0x182)]&&await this[_0x137f47(0xe0)]();}async['setupPercy'](){const _0x4829c6=a122_0x344917,_0xffe7ad={};_0xffe7ad['yBKSx']=function(_0x315cff,_0x4fa016){return _0x315cff===_0x4fa016;},_0xffe7ad[_0x4829c6(0x198)]='false',_0xffe7ad[_0x4829c6(0x1ab)]=_0x4829c6(0x134),_0xffe7ad[_0x4829c6(0x123)]='Percy\x20started\x20successfully',_0xffe7ad[_0x4829c6(0xdc)]=_0x4829c6(0x1bb),_0xffe7ad[_0x4829c6(0xe6)]=_0x4829c6(0xd9);const _0x487dd6=_0xffe7ad;if(helper['isTrue'](this['config'][_0x4829c6(0x11c)])&&(!this[_0x4829c6(0x11c)]||!this[_0x4829c6(0x11c)]['isRunning']()))try{this['percy']=await percyHelper['startPercy'](this[_0x4829c6(0xef)]);if(!this['percy']){process[_0x4829c6(0x187)][_0x4829c6(0x1c8)]=_0x487dd6[_0x4829c6(0x198)];throw new Error(_0x487dd6['wlkrX']);}logger[_0x4829c6(0x18d)](_0x487dd6[_0x4829c6(0x123)]),process[_0x4829c6(0x187)][_0x4829c6(0x1c8)]=_0x487dd6[_0x4829c6(0xdc)];let _0x729615=0x0;const _0x3ec495=async()=>{const _0x13813f=_0x4829c6;_0x729615++,_0x487dd6['yBKSx'](_0x729615,0x1)&&await this[_0x13813f(0x1aa)]();};process['on'](_0x487dd6[_0x4829c6(0xe6)],_0x3ec495);}catch(_0x27990d){process['env']['BROWSERSTACK_PERCY']=_0x487dd6['lvykl'],logger[_0x4829c6(0x160)](_0x4829c6(0xfc)+_0x27990d);throw new Error(_0x27990d[_0x4829c6(0x137)]());}}async[a122_0x344917(0x1aa)](){const _0x4adb25=a122_0x344917,_0xa8dfd1={};_0xa8dfd1['kFheh']='Percy\x20stopped',_0xa8dfd1[_0x4adb25(0x104)]='Error\x20occured\x20while\x20stopping\x20percy';const _0x1b13c8=_0xa8dfd1;if(this[_0x4adb25(0x11c)]&&this[_0x4adb25(0x11c)]['isRunning']())try{await percyHelper[_0x4adb25(0x1aa)](this[_0x4adb25(0x11c)]),logger['info'](_0x1b13c8[_0x4adb25(0x169)]);}catch(_0x55345c){logger[_0x4adb25(0x173)](_0x1b13c8[_0x4adb25(0x104)],_0x55345c['message']);}}async[a122_0x344917(0x12b)](){const _0xe0bb4f=a122_0x344917,_0x51a7af={};_0x51a7af[_0xe0bb4f(0x1c9)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x51a7af[_0xe0bb4f(0x168)]='Local\x20binary\x20started\x20successfully';const _0x84b093=_0x51a7af;if(helper[_0xe0bb4f(0x150)]()&&helper[_0xe0bb4f(0x1d6)](this[_0xe0bb4f(0xef)]['browserstackLocal'])&&(!this[_0xe0bb4f(0x146)]||!this[_0xe0bb4f(0x146)]['isRunning']()))try{if(this[_0xe0bb4f(0xef)]['browserStackLocalOptions'][_0xe0bb4f(0x121)]){logger[_0xe0bb4f(0x160)](_0x84b093['bcTuU']);return;}this[_0xe0bb4f(0x146)]=await helper[_0xe0bb4f(0x10d)](this[_0xe0bb4f(0xef)]),logger[_0xe0bb4f(0x18d)](_0x84b093[_0xe0bb4f(0x168)]);}catch(_0x8acd26){logger[_0xe0bb4f(0x160)](_0x8acd26);throw new Error(_0x8acd26['toString']());}}async[a122_0x344917(0x13d)](){const _0x4b9eb0=a122_0x344917,_0x48de44={};_0x48de44[_0x4b9eb0(0x164)]=_0x4b9eb0(0xd5),_0x48de44['CCXcY']=_0x4b9eb0(0xf6);const _0x270dd4=_0x48de44;if(this[_0x4b9eb0(0x146)]&&this[_0x4b9eb0(0x146)][_0x4b9eb0(0x17f)]())try{await helper[_0x4b9eb0(0x1e3)](this[_0x4b9eb0(0x146)]),logger[_0x4b9eb0(0x18d)](_0x270dd4['kchEd']);}catch(_0xd5f32e){logger['error'](_0x270dd4[_0x4b9eb0(0x17a)],_0xd5f32e[_0x4b9eb0(0x1b1)]);}}async['setUpHubUrl'](){const _0x21d5a7=a122_0x344917;return PerformanceTester[_0x21d5a7(0x178)](PerformanceAutEvents[_0x21d5a7(0x148)],async()=>{const _0x36199d=_0x21d5a7;await hubAllocator[_0x36199d(0x12d)](this['config']);})();}async['setupTCGAuth'](){const _0x4aabc6=a122_0x344917,_0x5e522f={'DjDse':function(_0x124a47,_0x45e0ce){return _0x124a47(_0x45e0ce);},'nrMHV':_0x4aabc6(0x1a6),'BKvQD':function(_0x50320e,_0x2c45e1,_0x1504f6,_0x5222a8,_0x1c2321,_0x59dd75,_0x1440d1){return _0x50320e(_0x2c45e1,_0x1504f6,_0x5222a8,_0x1c2321,_0x59dd75,_0x1440d1);},'fHUVb':_0x4aabc6(0x19f),'rYexE':'BrowserstackHealingInitFailed','IAklW':function(_0x32d62f,_0x2a1431){return _0x32d62f(_0x2a1431);},'cKqDo':'../../package.json','btIsa':'BrowserstackHealing.init','kXvUW':function(_0x59bfda,_0x1754e2){return _0x59bfda===_0x1754e2;},'UDlUf':'true','XKlAT':function(_0x510cdc,_0x2be127){return _0x510cdc===_0x2be127;},'OHwoK':function(_0x165ed9,_0x391f92){return _0x165ed9===_0x391f92;},'GsIEe':_0x4aabc6(0xdd),'NszyS':function(_0x2fee32,_0x41d155){return _0x2fee32===_0x41d155;},'EYHZC':_0x4aabc6(0x190),'kfTCL':_0x4aabc6(0x108),'zfIEn':_0x4aabc6(0x130),'TxmqD':function(_0x5c9e2e,_0x154b0b){return _0x5c9e2e>=_0x154b0b;},'AqNxA':function(_0xbd7a7b,_0x5cf00a){return _0xbd7a7b<_0x5cf00a;},'auGvK':_0x4aabc6(0x16f),'KkSIO':_0x4aabc6(0xd7),'KOvPr':function(_0x418edd){return _0x418edd();}},_0x3a63b1=PerformanceTester[_0x4aabc6(0x178)](_0x5e522f[_0x4aabc6(0x1a3)],async()=>{const _0x3aa5dc=_0x4aabc6;try{const _0x17fda9=new Date(),_0x4757e0=helper[_0x3aa5dc(0x194)](this[_0x3aa5dc(0xef)]),_0x4cd497=_0x5e522f[_0x3aa5dc(0x16e)](require,path[_0x3aa5dc(0x191)](__dirname,_0x5e522f[_0x3aa5dc(0x1d8)])),_0x9a360d=_0x5e522f['BKvQD'](timeoutPromise,constants[_0x3aa5dc(0x111)],_0x5e522f['fHUVb'],_0x5e522f[_0x3aa5dc(0xe5)],_0x17fda9,this[_0x3aa5dc(0xef)],this[_0x3aa5dc(0x142)]),_0x381974={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x5e522f[_0x3aa5dc(0x184)](require,_0x5e522f[_0x3aa5dc(0xce)])['version'],'methodUsed':_0x5e522f['btIsa'],'proxyConfig':_0x4757e0,'os':os['platform']()};if(_0x4757e0&&_0x4757e0[_0x3aa5dc(0x105)]){utilities[_0x3aa5dc(0x17e)](constants['AI_PROXY_FAILURE'],_0x381974,this[_0x3aa5dc(0xef)],this[_0x3aa5dc(0x142)]);return;}const _0x1f6c96={};_0x1f6c96[_0x3aa5dc(0x1a9)]=_0x4757e0;const _0x49d7d9=await Promise['race']([_0x4cd497[_0x3aa5dc(0xdf)](this[_0x3aa5dc(0xef)][_0x3aa5dc(0x155)],this['config'][_0x3aa5dc(0xdb)],constants[_0x3aa5dc(0x1b9)],_0x5e522f[_0x3aa5dc(0x184)](require,_0x5e522f[_0x3aa5dc(0xce)])[_0x3aa5dc(0x143)],_0x1f6c96)[_0x3aa5dc(0x129)](_0x2274d5=>{return _0x9a360d['cancel'](),_0x2274d5;}),_0x9a360d]);_0x49d7d9['isHealingEnabled']=_0x5e522f[_0x3aa5dc(0x19c)](_0x49d7d9['isHealingEnabled'],_0x5e522f[_0x3aa5dc(0xfd)])||_0x5e522f[_0x3aa5dc(0x19c)](_0x49d7d9[_0x3aa5dc(0x1a5)],!![]);const _0xe061be=_0x5e522f['kXvUW'](this['config']['selfHeal'],!![])||_0x5e522f[_0x3aa5dc(0x13f)](this['config'][_0x3aa5dc(0x195)],_0x5e522f[_0x3aa5dc(0xfd)]);if(_0x5e522f[_0x3aa5dc(0xe4)](_0x49d7d9[_0x3aa5dc(0x1b1)],constants['UPGRADE_REQUIRED'])&&_0xe061be)logger['info'](_0x5e522f['GsIEe']);else{if(!_0x49d7d9[_0x3aa5dc(0x1b3)]&&_0x5e522f[_0x3aa5dc(0x174)](_0x49d7d9[_0x3aa5dc(0x1d2)],0x1f7)&&_0xe061be)logger['info'](_0x5e522f[_0x3aa5dc(0x15c)]),utilities[_0x3aa5dc(0x17e)](constants[_0x3aa5dc(0x1cb)],_0x381974,this[_0x3aa5dc(0xef)],this[_0x3aa5dc(0x142)]);else{if(!_0x49d7d9[_0x3aa5dc(0x1b3)]&&_0xe061be){logger['info'](_0x5e522f[_0x3aa5dc(0xf4)]);const _0x1d0e5d={'tcgUrl':constants[_0x3aa5dc(0x1b9)],'sdkVersion':_0x5e522f['DjDse'](require,_0x5e522f['cKqDo'])['version'],'methodUsed':_0x5e522f['btIsa'],'proxyConfig':_0x4757e0,'os':os[_0x3aa5dc(0x138)]()};utilities[_0x3aa5dc(0x17e)](constants[_0x3aa5dc(0x1a1)],_0x1d0e5d,this[_0x3aa5dc(0xef)],this[_0x3aa5dc(0x142)]);}else{if(_0x49d7d9[_0x3aa5dc(0x1b3)]&&!_0x49d7d9[_0x3aa5dc(0x1a5)]&&_0xe061be)logger[_0x3aa5dc(0x18d)](_0x5e522f[_0x3aa5dc(0xd1)]);else{if(_0x5e522f[_0x3aa5dc(0x1b4)](_0x49d7d9[_0x3aa5dc(0x1d2)],0xc8)&&_0x5e522f['AqNxA'](_0x49d7d9[_0x3aa5dc(0x1d2)],0x12c))utilities[_0x3aa5dc(0x17e)](constants[_0x3aa5dc(0x15f)],_0x381974,this['config'],this[_0x3aa5dc(0x142)]);else{if(_0x5e522f[_0x3aa5dc(0x1b4)](_0x49d7d9['status'],0x190))_0x381974['status']=_0x49d7d9[_0x3aa5dc(0x1d2)],utilities['fireFunnelTestEvent'](constants['AI_INIT_FAILURE'],_0x381974,this[_0x3aa5dc(0xef)],this['framework']);else!_0x49d7d9[_0x3aa5dc(0x1d2)]&&utilities[_0x3aa5dc(0x17e)](constants['INVALID_INIT_RESP_WITH_USER_IMPACT'],_0x381974,this[_0x3aa5dc(0xef)],this[_0x3aa5dc(0x142)]);}}}}}if(_0x49d7d9['isAuthenticated']&&_0x49d7d9[_0x3aa5dc(0x1a5)]){const _0xc30fdb={};_0xc30fdb[_0x3aa5dc(0xfb)]=_0x49d7d9;const _0x29960a=_0xc30fdb;_0x4757e0&&(_0x29960a[_0x3aa5dc(0x196)]=_0x4757e0),_0x29960a['framework']=this[_0x3aa5dc(0x142)],_0x29960a[_0x3aa5dc(0xeb)]=this['config'],helper[_0x3aa5dc(0xf7)](_0x29960a),logger['debug'](_0x5e522f[_0x3aa5dc(0x1a2)]);}}catch(_0x1238bc){logger[_0x3aa5dc(0x160)]('Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20'+(_0x1238bc[_0x3aa5dc(0x1b1)]?_0x1238bc[_0x3aa5dc(0x1b1)]:''));}});await _0x5e522f[_0x4aabc6(0x1af)](_0x3a63b1);}[a122_0x344917(0x1b2)](){const _0x1849b2=a122_0x344917,_0x548ce0={'CxCKF':function(_0x514786,_0x37a75d){return _0x514786(_0x37a75d);},'dyaen':_0x1849b2(0x119)};_0x548ce0[_0x1849b2(0x110)](require,_0x548ce0[_0x1849b2(0xe9)])();}[a122_0x344917(0x1ae)](){const _0x31246a=a122_0x344917,_0x17806e={};_0x17806e[_0x31246a(0x1a8)]=_0x31246a(0x1c7),_0x17806e[_0x31246a(0x11b)]=_0x31246a(0xea),_0x17806e[_0x31246a(0x1df)]=_0x31246a(0x1da);const _0x14756d=_0x17806e,_0x3c9b33=_0x493be1=>{const _0x431e6f=_0x31246a,_0x23c23a=_0x14756d[_0x431e6f(0x1a8)][_0x431e6f(0x1be)]('|');let _0x12b974=0x0;while(!![]){switch(_0x23c23a[_0x12b974++]){case'0':logger['error'](_0x493be1['message']);continue;case'1':ClientTroubleShootingService[_0x431e6f(0x163)]();continue;case'2':PerformanceTester[_0x431e6f(0xe2)](_0x493be1);continue;case'3':logger[_0x431e6f(0x160)](util[_0x431e6f(0x144)](_0x493be1));continue;case'4':this['unhandledErrors'][_0x431e6f(0xd8)](util['format']('%j',_0x493be1));continue;}break;}};process['on'](_0x14756d[_0x31246a(0x11b)],_0x3c9b33),process['on'](_0x14756d['XTUBS'],_0x3c9b33);}async['intExitHandler'](_0x3637f6){const _0xeb694c=a122_0x344917,_0x16fec1={'KQZDU':function(_0x66e33c,_0x5c7a67){return _0x66e33c+_0x5c7a67;},'VOjfu':_0xeb694c(0x100),'FUumL':'completed','tNGuE':function(_0x3b5724,_0x575fa3,_0x5c36d8){return _0x3b5724(_0x575fa3,_0x5c36d8);},'Yiksm':'handled','MVtRv':_0xeb694c(0xe3),'LsMhQ':function(_0x26aa2d,_0x1e2e05){return _0x26aa2d(_0x1e2e05);},'ERSBJ':function(_0x3013bf,_0xb2c877){return _0x3013bf===_0xb2c877;},'KnVCX':_0xeb694c(0x18f),'eUTOz':function(_0x548469,_0x37d5a0){return _0x548469+_0x37d5a0;},'kprdt':'Signal\x20shutdown\x20timed\x20out\x20after\x20','pIXfU':_0xeb694c(0x13e)};if(this[_0x16fec1[_0xeb694c(0x14e)](_0x16fec1[_0xeb694c(0x1a4)],_0x3637f6)])return;this[_0x16fec1[_0xeb694c(0x14e)](_0x16fec1[_0xeb694c(0x1a4)],_0x3637f6)]=!![],logger[_0xeb694c(0x18d)](_0x16fec1['KQZDU'](_0x16fec1[_0xeb694c(0x14c)],_0x3637f6)),this[_0xeb694c(0x1ca)]=_0x3637f6;const _0x4919df=0x7530;let _0x90b871;const _0x135a26=(async()=>{const _0x45ebb1=_0xeb694c;await ClientTroubleShootingService[_0x45ebb1(0x1dd)](_0x3637f6),await TestHubHandler[_0x45ebb1(0xd0)](_0x3637f6),await ClientTroubleShootingService[_0x45ebb1(0x163)](),await BrowserstackCLI[_0x45ebb1(0x116)]()[_0x45ebb1(0xd0)]();})()[_0xeb694c(0x129)](()=>_0xeb694c(0x139))[_0xeb694c(0x149)](_0x2892e1=>{const _0x20e6f8=_0xeb694c;return logger[_0x20e6f8(0x160)](_0x16fec1['KQZDU'](_0x16fec1[_0x20e6f8(0x170)],util['format'](_0x2892e1))),_0x16fec1[_0x20e6f8(0x14b)];}),_0x260622=new Promise(_0x30558e=>{const _0x4717d9=_0xeb694c;_0x90b871=_0x16fec1[_0x4717d9(0xf3)](setTimeout,()=>_0x30558e(_0x4717d9(0x18f)),_0x4919df),_0x90b871[_0x4717d9(0x1b5)]&&_0x90b871[_0x4717d9(0x1b5)]();}),_0x276059=await Promise['race']([_0x135a26,_0x260622]);_0x16fec1['LsMhQ'](clearTimeout,_0x90b871),_0x16fec1[_0xeb694c(0x11d)](_0x276059,_0x16fec1['KnVCX'])&&(logger[_0xeb694c(0x10e)](_0x16fec1[_0xeb694c(0x16d)](_0x16fec1[_0xeb694c(0x14e)](_0x16fec1['kprdt'],_0x4919df),_0x16fec1[_0xeb694c(0x147)])),process[_0xeb694c(0x158)](process[_0xeb694c(0x180)]||0x0));}[a122_0x344917(0x1e4)](){const _0x5b7e8c=a122_0x344917,_0xad8dcf={'sshMq':function(_0x44ddba,_0x1f4c90){return _0x44ddba===_0x1f4c90;},'UAJNJ':_0x5b7e8c(0x126),'iEBzW':function(_0x3f1d5d,_0x3364eb){return _0x3f1d5d>_0x3364eb;},'PKsEe':function(_0x1c7e32,_0x305c0b){return _0x1c7e32>_0x305c0b;},'lCOyX':function(_0x1bfdf2,_0x11b265){return _0x1bfdf2(_0x11b265);},'tbdhl':function(_0x3e4bda){return _0x3e4bda();},'FFxoI':_0x5b7e8c(0xfa)};let _0x40c9e0=0x0;return async()=>{const _0x3e2c2a=_0x5b7e8c;_0x40c9e0++;if(_0xad8dcf[_0x3e2c2a(0x132)](_0x40c9e0,0x1)){helper[_0x3e2c2a(0x1de)](this['framework'])&&await this['stopBrowserstackLocal']();try{logger[_0x3e2c2a(0x160)](_0xad8dcf[_0x3e2c2a(0x188)]),await TestHubHandler['stop'](_0x40c9e0),await ClientTroubleShootingService[_0x3e2c2a(0x163)](),await BrowserstackCLI[_0x3e2c2a(0x116)]()[_0x3e2c2a(0xd0)]('1');}catch(_0x5f2be5){logger[_0x3e2c2a(0x160)](_0x3e2c2a(0x152)+util[_0x3e2c2a(0x144)](_0x5f2be5));}PerformanceTester[_0x3e2c2a(0x167)](PerformanceEvents[_0x3e2c2a(0x14f)]);if(PerformanceTester[_0x3e2c2a(0x107)]()){const {measures:_0x339e98,errors:_0x48d401}=await PerformanceTester['finalize'](),_0x2cc7aa={};if(_0x339e98&&_0xad8dcf[_0x3e2c2a(0x115)](_0x339e98[_0x3e2c2a(0x1ad)],0x0)||_0x48d401&&_0xad8dcf[_0x3e2c2a(0xf0)](_0x48d401[_0x3e2c2a(0x1ad)],0x0)){const _0x3031fc={};_0x3031fc[_0x3e2c2a(0x16b)]=_0x339e98,_0x3031fc[_0x3e2c2a(0x18b)]=_0x48d401,Object['assign'](_0x2cc7aa,_0x3031fc);}try{const _0x2d6428=await helper[_0x3e2c2a(0x1c4)](_0x2cc7aa,this[_0x3e2c2a(0xef)]);logger[_0x3e2c2a(0x160)]('Data\x20sent\x20successfully\x20to\x20'+_0xad8dcf[_0x3e2c2a(0x145)](getEdsInstrumentationAPIUrl,'')+_0x3e2c2a(0x1cd)+_0x2d6428['statusCode']);}catch(_0x1c6a9e){logger[_0x3e2c2a(0x160)](_0x3e2c2a(0x15d)+_0xad8dcf[_0x3e2c2a(0x145)](getEdsInstrumentationAPIUrl,'')+_0x3e2c2a(0x15a)+util[_0x3e2c2a(0x144)](_0x1c6a9e));}try{fs[_0x3e2c2a(0x1db)](path[_0x3e2c2a(0x191)](_0xad8dcf['tbdhl'](getLogDir),_0xad8dcf['FFxoI']),JSON['stringify'](_0x2cc7aa));}catch(_0x1995bb){logger[_0x3e2c2a(0x160)]('Error\x20in\x20writing\x20events\x20to\x20file\x20'+_0x1995bb);}}}logger&&logger[_0x3e2c2a(0x175)](),fileLogger&&fileLogger[_0x3e2c2a(0x175)]();};}}exports[a122_0x344917(0x199)]=BrowserStackSetup;function a122_0x2eb3(){const _0x1feeb1=['includes','end','rivaj','kFheh','getFinalCaps','measures','isTurboScaleSession','eUTOz','DjDse','tcg\x20config\x20setup\x20successful.','VOjfu','setLogDir','13416700jQMCJy','error','NszyS','close','browserStackLocalOptions','cliConfig','measureWrapper','gNVQq','CCXcY','startMonitoring','ynovK','./performance/performance-tester','fireFunnelTestEvent','isRunning','exitCode','SIGABRT','central_scanner','Bixsv','IAklW','FRAMEWORK','QWCca','env','UAJNJ','setHandlePWError','isUndefined','exceptions','userName\x20or\x20accessKey\x20is\x20not\x20defined','info','miyPT','timed-out','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','join','BROWSERSTACK_TURBOSCALE','kCDWE','getProxyConfigForTcg','selfHeal','proxyConfig','compareVersions','lvykl','default','2636712tQHtlu','../bin/v2/browserstackCLI','kXvUW','./timeoutPromise','parallelsPerPlatform','BrowserstackHealing.init\x20method\x20timed\x20out','AUTOLOGCAPTURE_NOTIFICATION','TCG_AUTH_FAILURE','auGvK','KkSIO','Yiksm','isHealingEnabled','../ai-sdk-node/bundle','yYuAa','KKmlX','proxy','stopPercy','wlkrX','ats-repeater','length','handleExceptions','KOvPr','hubUrl','message','setupKeepAlive','isAuthenticated','TxmqD','unref','setBrowserstackInfraFromConfig','skipSessionName','errorMessage','TCG_URL','configPath','true','SPGUm','./percy/utils','split','setupCaCertificate','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','localIdentifier','vuGUa','../bin/utils/clientTroubleshootingService','sendToEDS','uuid','wabaI','0|3|4|2|1','BROWSERSTACK_PERCY','bcTuU','killSignal','TCG_DOWN','useW3C','\x20with\x20response\x20','__isPuppeteerInstalled','playwright','generateLocalIdentifier','15108030yVJfZa','status','readConfig','preInitialize','../bin/utils/apiUtilityMethods','isTrue','25WoTgKN','nrMHV','FyIlq','uncaughtException','writeFileSync','pqZGT','reportProcessInterruptionSituation','checkStopLocalBinaryOnExit','XTUBS','./performance/constants','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','ktEEE','stopLocalBinary','exitHandler','cKqDo','sdkRunId','stop','zfIEn','./testhub/testhubHandler','?caps=','./caCertHelper','Local\x20binary\x20stopped','initialize','aiHeal:tcgAuth','push','beforeExit','VDwQq','userName','mfxYT','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','bind','init','setUpHubUrl','localOptions','captureError','Shutdown\x20triggered\x20by\x20','OHwoK','rYexE','AoiBB','xbGYn','4.5.0','dyaen','unhandledRejection','bstackConfig','SIGINT','getHubUrl','Gfhwq','config','PKsEe','SIGTERM','45185hedOCE','tNGuE','kfTCL','tNwdI','Error\x20occured\x20while\x20stopping\x20local\x20binary','setupTcgConfigFile','isTrialGrid','unhandledErrors','events.json','tcgAuthConfig','Error\x20in\x20percy\x20setup\x20','UDlUf','2860826FAAYNW','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','Signal\x20shutdown\x20did\x20not\x20complete\x20cleanly:\x20','OTwzz','setSmartTestSelectionFeatureBranchesConfig','setCredentialsFromYmlConfig','zZFPN','proxyUrl','getPackageVersion','isEnabled','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','setEnvCaps','getTurboScaleGridDetails','playwrightUrl','Hyqbt','startLocalBinary','warn','1gCeEUw','CxCKF','TCG_AUTH_TIMEOUT','SIGQUIT','customRepeaters','envConfig','iEBzW','getInstance','constructor','wWhbQ','./setKeepAlive','1952bHJuLz','sVphD','percy','ERSBJ','JeQbr','normalizeTestReportingEnvVars','isNotUndefined','skipBinaryInitialisation','testContextOptions','FLpnv','selenium-webdriver','getCentralUser','Calling\x20Build\x20Stop\x20from\x20ExitHandler','sanitizeCaps','codeceptjs','then','../bin/v2/modules/loadTestModule','setupBrowserstackLocal','toLowerCase','allocateHub','validateSkipAppOverride','JKGOz','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','turboScaleGridDetails','sshMq','getConfigPath','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','turboScaleOptions','5102228wvTCKZ','toString','platform','completed','intExitHandler','winstonLogger','1655376LbnHPA','stopBrowserstackLocal','ms;\x20forcing\x20exit','XKlAT','../hubAllocationMethods','integrations','framework','version','format','lCOyX','browserstackLocal','pIXfU','HUB_MANAGEMENT','catch','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','FUumL','MVtRv','scUsa','KQZDU','SDK_CLEANUP','isBrowserstackInfra','pstvl','Error\x20in\x20sending\x20testhub\x20stop:\x20','isLTSSession','turboScaleUrl','accessKey','skipSessionStatus','getUserName','exit','./utilities','\x20with\x20error\x20','../bin/utils/constants','EYHZC','Failed\x20to\x20send\x20data\x20to\x20','disableAutoCaptureLogs','AI_INIT_SUCCESSFUL','debug','./logger','platforms','reportFinalDetectionState','kchEd','getLocalConfig'];a122_0x2eb3=function(){return _0x1feeb1;};return a122_0x2eb3();}
@@ -1 +1 @@
1
- const a121_0x2fbb77=a121_0x5d35;(function(_0x29d44d,_0x201bb2){const _0x7f4c46=a121_0x5d35,_0x5d81ab=_0x29d44d();while(!![]){try{const _0x5c197b=-parseInt(_0x7f4c46(0x108))/0x1*(-parseInt(_0x7f4c46(0xe3))/0x2)+parseInt(_0x7f4c46(0xd3))/0x3*(parseInt(_0x7f4c46(0x149))/0x4)+parseInt(_0x7f4c46(0x138))/0x5*(parseInt(_0x7f4c46(0x13f))/0x6)+parseInt(_0x7f4c46(0x15c))/0x7+-parseInt(_0x7f4c46(0x137))/0x8+parseInt(_0x7f4c46(0x173))/0x9+-parseInt(_0x7f4c46(0x122))/0xa;if(_0x5c197b===_0x201bb2)break;else _0x5d81ab['push'](_0x5d81ab['shift']());}catch(_0x3c8bfb){_0x5d81ab['push'](_0x5d81ab['shift']());}}}(a121_0x2f20,0xb0b47));const util=require(a121_0x2fbb77(0x110)),logger=require(a121_0x2fbb77(0xcd))[a121_0x2fbb77(0x120)],accessibilityHelper=require(a121_0x2fbb77(0x153)),globals=require('../globals'),scripts=require(a121_0x2fbb77(0xe4)),PerformanceTester=require(a121_0x2fbb77(0x105)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a121_0x2fbb77(0xe1)),BrowserstackCLI=require(a121_0x2fbb77(0x10e));let playwrightA11yHelper=null;function a121_0x2f20(){const _0x302623=['LGqVN','function','rtVvE','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','zuncF','kemxq','Accessibility\x20scan\x20attempt\x20','getAccessibilityResultsSummaryWithRetry','summary','isSeleniumDriver','sJzEm','IuIYx','dyRNr','IByKJ','ihPFQ','assign','defaultTimeoutMs','tpBJw',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','kIMSD','LFOMf','max','WebDriver','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','RSQXB','YiBJy','Skipping\x20timeout\x20setting\x20for\x20','unknown_method','../logger','nRRpo','YmniK','aAtLD','__workerDetails','Accessibility\x20results\x20retrieval\x20attempt\x20','15297jlkrFv','setDefaultTimeout','type','accessibilityConfig','fCHSi','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','getAccessibilityResultsWithRetry','setPlaywrightScriptTimeout','timeouts','zGIEO','timeoutMs','isAccessibilityPlatform','performComprehensiveAccessibilityScanWithRetry','sZJfw','../performance/constants','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','1594330VcQfDV','./scripts','setScriptTimeout','sGwDX','maxRetries','undefined','executeAsyncScript','selenium-webdriver',')\x20with\x20error:\x20','cXmxP','playwright-codecept-driver','isRunning','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','wJUhD','allSettled','value','iAMnN','SEyBK','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','debug','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','evaluate','HzrKi','ABWFn','FlZnM','iRQXY','ahTrp','lQJtr','reason','tfzAj','isMobilePlatform','bstackA11yShouldScan','FgXeU','goto','../performance/performance-tester','GjpEt','options','1NfoLKH','hymOl','HxHai','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','rWhpE','getInstance','../../bin/v2/browserstackCLI','manage','util','\x20completed\x20successfully.','pQVby','Accessibility\x20results\x20save\x20attempt\x20','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','is_mobile_session','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','WzsoD','saveTestResults','browserStackEvaluate','stringify','accessibilityPlatform','currentTest','KQWaO','kuFzS','GCOpE','winstonLogger','getRetryConfig','21365170MhBYCa','getSession','getGlobal','fJqnQ','message','fulfilled','Playwright',').\x20Last\x20error:\x20','mxEVk','constructor','resolveMobileThTestRunUuid','results','TScJg','getAccessibilityResults','error','XvGfl','../../bin/playwright/accessibility-helper','info','gJnmE','name','xKSRy','9517432VoVbtA','1525685PobLmN','mlKyK','env','measureWrapper','uaQfi','uPGUY','Comprehensive\x20accessibility\x20scan\x20failed\x20(','24UFUYov','MoUoZ','UqLRE','url','getAccessibilityResultsSummary','isAccessibilityAutomationSession','iiecj','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','playwright-page','\x20failed\x20(','724cYZKvw','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','Operation\x20timed\x20out\x20after\x20','SGWsh','Unknown\x20driver/page\x20type:\x20','UmpfN','):\x20','isPlaywright','setSeleniumScriptTimeout','zjSNc','./helper','getId','Page','scannerProcessingTimeout','ZncwB','dfdQZ','saveAccessibilityResultsWithRetry','TeyUg','capabilitiesList','3315151aHhfVA','HgEvL','warn','wOuxT','dpNts','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','Kazou','performScanWithRetry','isPlaywrightPage','driverType','race','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','getAccessibilityModule','UoJwk','etHEq',').\x20Error:\x20','Unknown\x20error','BfNMm','HEDCc','LRuUS','EkaBY','xtPtU','ENDuy','5721786vmbmxu','ms\x20using\x20timeouts()\x20API','scanSucceeded','setTimeouts','Scan\x20attempt\x20','getCapabilities','getCurrentUrl','LyXrw','status','unknown'];a121_0x2f20=function(){return _0x302623;};return a121_0x2f20();}try{playwrightA11yHelper=require(a121_0x2fbb77(0x132));}catch(a121_0x434d35){logger[a121_0x2fbb77(0xf6)]('Playwright\x20accessibility\x20helper\x20not\x20available');}const a121_0x398789={};function a121_0x5d35(_0x178246,_0x425afb){const _0x2f204f=a121_0x2f20();return a121_0x5d35=function(_0x5d35f3,_0x231365){_0x5d35f3=_0x5d35f3-0xc5;let _0x549c75=_0x2f204f[_0x5d35f3];return _0x549c75;},a121_0x5d35(_0x178246,_0x425afb);}a121_0x398789[a121_0x2fbb77(0xe7)]=0x1,a121_0x398789[a121_0x2fbb77(0xdd)]=0x7530,a121_0x398789[a121_0x2fbb77(0x18d)]=0x7530;const RETRY_CONFIG=a121_0x398789,setConfigTimeout=(_0x4d10d7,_0x308cc8=null)=>{const _0x17c3c4=a121_0x2fbb77,_0x111398={'cXmxP':function(_0x30e36b,_0x337ce5){return _0x30e36b===_0x337ce5;},'HEDCc':_0x17c3c4(0x156),'IuIYx':function(_0x345eed,_0x4572b2){return _0x345eed*_0x4572b2;},'LFOMf':function(_0x3762be,_0x4233ed){return _0x3762be(_0x4233ed);},'UqLRE':function(_0x47b220,_0x30f003){return _0x47b220*_0x30f003;},'RSQXB':function(_0x3989b1,_0xe9ab90){return _0x3989b1(_0xe9ab90);}};if(BrowserstackCLI[_0x17c3c4(0x10d)]()[_0x17c3c4(0xee)]()&&BrowserstackCLI['getInstance']()[_0x17c3c4(0x168)]()){const _0x4a53fd=BrowserstackCLI['getInstance']()[_0x17c3c4(0x168)]()[_0x17c3c4(0xd6)],_0x435b46=_0x4a53fd[_0x17c3c4(0x107)][_0x17c3c4(0x15b)]||[];for(const _0x514b82 of _0x435b46){_0x111398[_0x17c3c4(0xec)](_0x514b82[_0x17c3c4(0x135)],_0x111398[_0x17c3c4(0x16e)])&&_0x111398[_0x17c3c4(0xec)](_0x308cc8,null)&&(_0x4d10d7[_0x17c3c4(0xdd)]=_0x111398[_0x17c3c4(0x188)](_0x111398[_0x17c3c4(0xc5)](parseInt,_0x514b82['value']),0x3e8));}}else process['env'][_0x17c3c4(0xf5)]&&(_0x4d10d7[_0x17c3c4(0xdd)]=_0x111398[_0x17c3c4(0x141)](_0x111398[_0x17c3c4(0xc9)](parseInt,process[_0x17c3c4(0x13a)][_0x17c3c4(0xf5)]),0x3e8));},detectDriverType=_0x24276d=>{const _0x7714ef=a121_0x2fbb77,_0x3580eb={};_0x3580eb[_0x7714ef(0xf4)]=_0x7714ef(0x17c),_0x3580eb[_0x7714ef(0x15f)]=function(_0x48dfc8,_0x1819cd){return _0x48dfc8===_0x1819cd;},_0x3580eb[_0x7714ef(0xfa)]=_0x7714ef(0x17e),_0x3580eb['HgEvL']=function(_0x45c9a2,_0x2f6552){return _0x45c9a2===_0x2f6552;},_0x3580eb[_0x7714ef(0x100)]=_0x7714ef(0x147),_0x3580eb[_0x7714ef(0xce)]=function(_0x3edc53,_0x4459c4){return _0x3edc53===_0x4459c4;},_0x3580eb[_0x7714ef(0x182)]=_0x7714ef(0xea),_0x3580eb[_0x7714ef(0x117)]=_0x7714ef(0x155),_0x3580eb[_0x7714ef(0x125)]=function(_0x20ad28,_0x26e407){return _0x20ad28===_0x26e407;},_0x3580eb[_0x7714ef(0x189)]=_0x7714ef(0xc7),_0x3580eb[_0x7714ef(0x134)]=_0x7714ef(0x128),_0x3580eb[_0x7714ef(0x18a)]=_0x7714ef(0xed),_0x3580eb['uHaNd']=function(_0x149ee0,_0x3621b2){return _0x149ee0||_0x3621b2;},_0x3580eb[_0x7714ef(0x18b)]=_0x7714ef(0xe8);const _0x5cdebf=_0x3580eb;if(!_0x24276d){const _0x48309f={};return _0x48309f[_0x7714ef(0x150)]=![],_0x48309f[_0x7714ef(0xd5)]=_0x5cdebf[_0x7714ef(0xf4)],_0x48309f;}if(_0x5cdebf['wOuxT'](typeof _0x24276d[_0x7714ef(0xf8)],_0x5cdebf[_0x7714ef(0xfa)])&&_0x5cdebf[_0x7714ef(0x15d)](typeof _0x24276d[_0x7714ef(0x142)],_0x5cdebf[_0x7714ef(0xfa)])&&_0x5cdebf[_0x7714ef(0x15d)](typeof _0x24276d[_0x7714ef(0x104)],_0x5cdebf[_0x7714ef(0xfa)])){const _0x5c27f1={};return _0x5c27f1[_0x7714ef(0x150)]=!![],_0x5c27f1[_0x7714ef(0xd5)]=_0x5cdebf[_0x7714ef(0x100)],_0x5c27f1;}if(_0x5cdebf[_0x7714ef(0xce)](typeof _0x24276d[_0x7714ef(0xe9)],_0x5cdebf[_0x7714ef(0xfa)])&&_0x5cdebf[_0x7714ef(0x15d)](typeof _0x24276d[_0x7714ef(0x178)],_0x5cdebf['ABWFn'])){const _0xb200d0={};return _0xb200d0['isPlaywright']=![],_0xb200d0['type']=_0x5cdebf[_0x7714ef(0x182)],_0xb200d0;}const _0x416ff2=_0x24276d[_0x7714ef(0x12b)]?.[_0x7714ef(0x135)];if(_0x5cdebf[_0x7714ef(0xce)](_0x416ff2,_0x5cdebf['WzsoD'])){const _0x2f9c0d={};return _0x2f9c0d[_0x7714ef(0x150)]=!![],_0x2f9c0d['type']=_0x5cdebf[_0x7714ef(0x100)],_0x2f9c0d;}if(_0x5cdebf[_0x7714ef(0x125)](_0x416ff2,_0x5cdebf[_0x7714ef(0x189)])){const _0x10792e={};return _0x10792e['isPlaywright']=![],_0x10792e[_0x7714ef(0xd5)]=_0x5cdebf[_0x7714ef(0x182)],_0x10792e;}if(_0x5cdebf['HgEvL'](_0x416ff2,_0x5cdebf[_0x7714ef(0x134)])){const _0x1d5b29={};return _0x1d5b29['isPlaywright']=!![],_0x1d5b29[_0x7714ef(0xd5)]=_0x5cdebf[_0x7714ef(0x18a)],_0x1d5b29;}logger['warn'](_0x7714ef(0x14d)+_0x5cdebf['uHaNd'](_0x416ff2,_0x5cdebf[_0x7714ef(0x18b)]));const _0x2e20f4={};return _0x2e20f4['isPlaywright']=![],_0x2e20f4[_0x7714ef(0xd5)]=_0x5cdebf['SEyBK'],_0x2e20f4;},withTimeout=(_0x9041fb,_0x4058ad)=>{const _0x3b5240=a121_0x2fbb77;return Promise[_0x3b5240(0x166)]([_0x9041fb,new Promise((_0x4e8cd2,_0xa2fff7)=>setTimeout(()=>_0xa2fff7(new Error(_0x3b5240(0x14b)+_0x4058ad+'ms')),_0x4058ad))]);};exports['performScanWithRetry']=async(_0x3a3b68,_0x377887=null,_0x43a192=null,_0x32db2b=![],_0x877274=null)=>{const _0x40ca59=a121_0x2fbb77,_0x1af6e8={'GCOpE':function(_0x472151,_0x390e62){return _0x472151&&_0x390e62;},'dfdQZ':function(_0x3860b1,_0x1356cd,_0x50779e){return _0x3860b1(_0x1356cd,_0x50779e);},'tpBJw':function(_0x2f3222,_0x2fb2a4){return _0x2f3222===_0x2fb2a4;},'TbycI':_0x40ca59(0xed),'KQWaO':function(_0x4ca60f,_0x2d77dc,_0x190436){return _0x4ca60f(_0x2d77dc,_0x190436);},'bfUPx':function(_0x25eed7,_0x5d857e){return _0x25eed7(_0x5d857e);},'sGwDX':function(_0x5bb25e,_0x54b4be){return _0x5bb25e||_0x54b4be;},'XvGfl':function(_0x43b01a,_0x56f95b){return _0x43b01a!==_0x56f95b;},'HzrKi':'isAccessibilityPlatform','iRQXY':function(_0x12c218,_0x409a83){return _0x12c218!==_0x409a83;},'LyXrw':_0x40ca59(0x102),'mlKyK':function(_0x3554b4,_0x58ad89){return _0x3554b4===_0x58ad89;},'dkaTj':function(_0x4faf9e,_0x3ec75a){return _0x4faf9e===_0x3ec75a;},'hymOl':_0x40ca59(0xc8),'mxEVk':_0x40ca59(0xcc),'FgXeU':_0x40ca59(0x17e),'pQrzQ':function(_0xa96622,_0x3faaab){return _0xa96622===_0x3faaab;},'MoUoZ':function(_0xe81d61,_0x56f51b){return _0xe81d61===_0x56f51b;},'pQVby':function(_0x196233,_0x3a8824){return _0x196233<=_0x3a8824;},'kuFzS':function(_0x5c7691,_0x263f21){return _0x5c7691+_0x263f21;},'NJmPo':'Unknown\x20error'},{isPlaywright:_0x3ae1da,type:_0x136dcd}=_0x1af6e8['bfUPx'](detectDriverType,_0x3a3b68),_0x4180bd=_0x32db2b?_0x1af6e8[_0x40ca59(0xe6)](_0x877274,{}):global['bstackA11yScanOptions']||{},_0x55062c=_0x3ae1da?global[_0x40ca59(0x11b)]&&(_0x32db2b||_0x1af6e8[_0x40ca59(0x131)](global['bstackA11yShouldScan'],![])):accessibilityHelper[_0x40ca59(0x144)]()&&globals[_0x40ca59(0x124)](_0x1af6e8[_0x40ca59(0xf9)])&&(_0x32db2b||_0x1af6e8[_0x40ca59(0xfc)](globals[_0x40ca59(0x124)](_0x1af6e8[_0x40ca59(0x17a)]),![]));if(!_0x55062c)return _0x3ae1da&&global['accessibilityPlatform']&&_0x1af6e8[_0x40ca59(0x139)](global['bstackA11yShouldScan'],![])||!_0x3ae1da&&globals['getGlobal'](_0x1af6e8[_0x40ca59(0xf9)])&&_0x1af6e8['dkaTj'](globals[_0x40ca59(0x124)](_0x1af6e8[_0x40ca59(0x17a)]),![])?logger[_0x40ca59(0xf6)](_0x1af6e8[_0x40ca59(0x109)]):logger['warn'](_0x40ca59(0xd8)+_0x136dcd+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x1430cc=_0x377887||global['browserstackSessionName']||_0x1af6e8[_0x40ca59(0x12a)];let _0x4311c7=null;const _0x12db01={'testhub_btcer_uuid':global[_0x40ca59(0xd1)]?.[_0x40ca59(0x11c)]?.['id'],'url':_0x1af6e8[_0x40ca59(0x18e)](typeof _0x3a3b68[_0x40ca59(0x142)],_0x1af6e8[_0x40ca59(0x103)])?await _0x3a3b68['url']():_0x1af6e8['pQrzQ'](typeof _0x3a3b68[_0x40ca59(0x179)],_0x1af6e8[_0x40ca59(0x103)])?await _0x3a3b68[_0x40ca59(0x179)]():'','automate_session_id':_0x1af6e8[_0x40ca59(0x140)](typeof _0x3a3b68[_0x40ca59(0x123)],_0x1af6e8[_0x40ca59(0x103)])?(await _0x3a3b68[_0x40ca59(0x123)]())[_0x40ca59(0x154)]():''};for(let _0x15460f=0x1;_0x1af6e8[_0x40ca59(0x112)](_0x15460f,_0x1af6e8[_0x40ca59(0x11e)](RETRY_CONFIG[_0x40ca59(0xe7)],0x1));_0x15460f++){try{return logger['debug'](_0x40ca59(0x183)+_0x15460f+'/'+_0x1af6e8[_0x40ca59(0x11e)](RETRY_CONFIG[_0x40ca59(0xe7)],0x1)+'\x20for\x20method:\x20'+_0x1430cc+'\x20('+_0x136dcd+')'),await PerformanceTester[_0x40ca59(0x13b)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x33bd16=_0x40ca59;let _0x42a828;if(_0x1af6e8[_0x33bd16(0x11f)](_0x3ae1da,playwrightA11yHelper)){_0x1af6e8[_0x33bd16(0x158)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x33bd16(0xda)](_0x3a3b68,RETRY_CONFIG[_0x33bd16(0xdd)]);let _0x1b0547=_0x3a3b68;_0x1af6e8['tpBJw'](_0x136dcd,_0x1af6e8['TbycI'])&&(_0x1b0547=_0x3a3b68['page']);const _0x35fd3b=global['isMobilePlatform']?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x33bd16(0x12c)]()}:{};_0x42a828=await _0x1af6e8[_0x33bd16(0x158)](withTimeout,playwrightA11yHelper['performScan'](_0x1b0547,_0x1430cc,_0x4180bd,_0x35fd3b),RETRY_CONFIG[_0x33bd16(0xdd)]),await exports[_0x33bd16(0xda)](_0x3a3b68,RETRY_CONFIG[_0x33bd16(0x18d)]);}else await exports[_0x33bd16(0x151)](_0x3a3b68,RETRY_CONFIG[_0x33bd16(0xdd)]),_0x42a828=await _0x1af6e8[_0x33bd16(0x11d)](withTimeout,accessibilityHelper['performScan'](_0x3a3b68,_0x1430cc,_0x32db2b,_0x4180bd),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x3a3b68,RETRY_CONFIG[_0x33bd16(0x18d)]);logger[_0x33bd16(0xf6)](_0x33bd16(0x177)+_0x15460f+_0x33bd16(0x111));},{'command':_0x1430cc,..._0x12db01})(),logger['info'](_0x40ca59(0x161)+_0x15460f+'.'),!![];}catch(_0xced45a){_0x4311c7=_0xced45a,logger['debug'](_0x40ca59(0x183)+_0x15460f+'\x20failed\x20for\x20method:\x20'+_0x1430cc+'\x20('+_0x136dcd+').\x20Error:\x20'+_0xced45a[_0x40ca59(0x126)]);}}return logger['error']('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x1430cc+'\x20('+_0x136dcd+_0x40ca59(0xeb)+(_0x4311c7?.[_0x40ca59(0x126)]||_0x1af6e8['NJmPo'])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x2d334e,_0x498770)=>{const _0x497b9b=a121_0x2fbb77,_0x4119f4={'EUJGk':function(_0x9c0af,_0x128d7a){return _0x9c0af(_0x128d7a);},'dpNts':_0x497b9b(0xde),'xtPtU':function(_0x416748,_0x309224){return _0x416748<=_0x309224;},'PeLLD':function(_0x976e9a,_0x10fa93){return _0x976e9a+_0x10fa93;},'YiBJy':function(_0x121df8,_0x501b93){return _0x121df8+_0x501b93;},'cSPzp':function(_0x523823,_0x4f8438){return _0x523823&&_0x4f8438;},'BfNMm':function(_0x10cd8d,_0x3c5561,_0x7a622b){return _0x10cd8d(_0x3c5561,_0x7a622b);},'rWhpE':function(_0x6780c8,_0x4c97de,_0x119261){return _0x6780c8(_0x4c97de,_0x119261);},'ahTrp':function(_0x505718,_0x5ac0b6,_0x4fac52){return _0x505718(_0x5ac0b6,_0x4fac52);},'LRuUS':_0x497b9b(0x16c)},{isPlaywright:_0x7ec787,type:_0x594ef2}=_0x4119f4['EUJGk'](detectDriverType,_0x2d334e),_0x25d8d1=_0x7ec787?_0x498770[_0x497b9b(0x11b)]:accessibilityHelper[_0x497b9b(0x144)]()&&globals[_0x497b9b(0x124)](_0x4119f4[_0x497b9b(0x160)]);if(!_0x25d8d1)return logger[_0x497b9b(0x15e)](_0x497b9b(0xd8)+_0x594ef2+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.'),[];let _0x2d2ef7=null;for(let _0x1187c9=0x1;_0x4119f4[_0x497b9b(0x171)](_0x1187c9,_0x4119f4['PeLLD'](RETRY_CONFIG['maxRetries'],0x1));_0x1187c9++){try{logger[_0x497b9b(0xf6)](_0x497b9b(0xd2)+_0x1187c9+'/'+_0x4119f4[_0x497b9b(0xca)](RETRY_CONFIG[_0x497b9b(0xe7)],0x1)+'\x20('+_0x594ef2+')');let _0x10eff8;return _0x4119f4['cSPzp'](_0x7ec787,playwrightA11yHelper)?(_0x4119f4[_0x497b9b(0x16d)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x497b9b(0xda)](_0x2d334e,RETRY_CONFIG[_0x497b9b(0xdd)]),_0x10eff8=await _0x4119f4[_0x497b9b(0x10c)](withTimeout,playwrightA11yHelper[_0x497b9b(0x12f)](_0x2d334e),RETRY_CONFIG['timeoutMs']),await exports[_0x497b9b(0xda)](_0x2d334e,RETRY_CONFIG[_0x497b9b(0x18d)])):(await exports[_0x497b9b(0x151)](_0x2d334e,RETRY_CONFIG[_0x497b9b(0xdd)]),_0x10eff8=await _0x4119f4[_0x497b9b(0xfd)](withTimeout,accessibilityHelper[_0x497b9b(0x12f)](_0x2d334e,_0x498770),RETRY_CONFIG[_0x497b9b(0xdd)]),await exports['setSeleniumScriptTimeout'](_0x2d334e,RETRY_CONFIG[_0x497b9b(0x18d)])),logger[_0x497b9b(0x133)]('Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x1187c9+'\x20('+_0x594ef2+')'),_0x10eff8;}catch(_0x6f79bb){_0x2d2ef7=_0x6f79bb,logger[_0x497b9b(0x15e)](_0x497b9b(0xd2)+_0x1187c9+'\x20failed\x20('+_0x594ef2+').\x20Error:\x20'+_0x6f79bb['message']);}}return logger[_0x497b9b(0x130)](_0x497b9b(0xe2)+_0x594ef2+_0x497b9b(0x129)+(_0x2d2ef7?.['message']||_0x4119f4[_0x497b9b(0x16f)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x51a330,_0x59dd29)=>{const _0x59f93f=a121_0x2fbb77,_0x39834f={'sZJfw':function(_0x43fad8,_0x86f5d9){return _0x43fad8(_0x86f5d9);},'gvkuk':_0x59f93f(0xde),'kIMSD':function(_0x36f357,_0xe08e76){return _0x36f357<=_0xe08e76;},'iAMnN':function(_0x40eff6,_0x2cb2f4){return _0x40eff6+_0x2cb2f4;},'etHEq':function(_0x3a8370,_0xf73507){return _0x3a8370&&_0xf73507;},'aAtLD':function(_0x42c276,_0x9cad99,_0x309a33){return _0x42c276(_0x9cad99,_0x309a33);},'TScJg':_0x59f93f(0x16c)},{isPlaywright:_0x40c5c4,type:_0x4d8bb0}=_0x39834f[_0x59f93f(0xe0)](detectDriverType,_0x51a330),_0x2872c5=_0x40c5c4?_0x59dd29[_0x59f93f(0x11b)]:accessibilityHelper[_0x59f93f(0x144)]()&&globals['getGlobal'](_0x39834f['gvkuk']);if(!_0x2872c5)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x4d8bb0+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.'),{};let _0x4add85=null;for(let _0x3dc434=0x1;_0x39834f[_0x59f93f(0x190)](_0x3dc434,_0x39834f[_0x59f93f(0xf3)](RETRY_CONFIG[_0x59f93f(0xe7)],0x1));_0x3dc434++){try{logger[_0x59f93f(0xf6)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x3dc434+'/'+_0x39834f[_0x59f93f(0xf3)](RETRY_CONFIG[_0x59f93f(0xe7)],0x1)+'\x20('+_0x4d8bb0+')');let _0x4ab0e8;return _0x39834f[_0x59f93f(0x16a)](_0x40c5c4,playwrightA11yHelper)?(_0x39834f[_0x59f93f(0xd0)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x59f93f(0xda)](_0x51a330,RETRY_CONFIG[_0x59f93f(0xdd)]),_0x4ab0e8=await _0x39834f[_0x59f93f(0xd0)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x51a330),RETRY_CONFIG[_0x59f93f(0xdd)]),await exports[_0x59f93f(0xda)](_0x51a330,RETRY_CONFIG[_0x59f93f(0x18d)])):(await exports['setSeleniumScriptTimeout'](_0x51a330,RETRY_CONFIG['timeoutMs']),_0x4ab0e8=await _0x39834f['aAtLD'](withTimeout,accessibilityHelper[_0x59f93f(0x143)](_0x51a330,_0x59dd29),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x51a330,RETRY_CONFIG[_0x59f93f(0x18d)])),logger[_0x59f93f(0x133)]('Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x3dc434+'\x20('+_0x4d8bb0+')'),_0x4ab0e8;}catch(_0x3873be){_0x4add85=_0x3873be,logger[_0x59f93f(0x15e)](_0x59f93f(0xef)+_0x3dc434+_0x59f93f(0x148)+_0x4d8bb0+_0x59f93f(0x16b)+_0x3873be[_0x59f93f(0x126)]);}}return logger[_0x59f93f(0x130)](_0x59f93f(0xf7)+_0x4d8bb0+_0x59f93f(0x129)+(_0x4add85?.['message']||_0x39834f[_0x59f93f(0x12e)])),{};},exports[a121_0x2fbb77(0xdf)]=async(_0x409fff,_0x59d690,_0x4cd9da=null)=>{const _0x2a711a=a121_0x2fbb77,_0x2c9ef0={'eubVW':function(_0x1e07a2,_0x44e890){return _0x1e07a2(_0x44e890);},'ZncwB':function(_0x1f55a9,_0x47fd81){return _0x1f55a9===_0x47fd81;},'EkaBY':_0x2a711a(0x127),'lQJtr':function(_0x1b7056,_0x4efe9){return _0x1b7056===_0x4efe9;},'Kazou':'rejected','HxHai':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x1821e4,type:_0xdeecb8}=_0x2c9ef0['eubVW'](detectDriverType,_0x409fff),_0x1a1f3d={};_0x1a1f3d['scanSucceeded']=![],_0x1a1f3d[_0x2a711a(0x12d)]=[],_0x1a1f3d['summary']={},_0x1a1f3d[_0x2a711a(0x130)]=null,_0x1a1f3d[_0x2a711a(0x165)]=_0xdeecb8;const _0x371deb=_0x1a1f3d;try{_0x371deb[_0x2a711a(0x175)]=await exports[_0x2a711a(0x163)](_0x409fff,_0x4cd9da);if(_0x371deb[_0x2a711a(0x175)]){const [_0x5de1fe,_0x15c2fa]=await Promise[_0x2a711a(0xf1)]([exports[_0x2a711a(0xd9)](_0x409fff,_0x59d690),exports[_0x2a711a(0x184)](_0x409fff,_0x59d690)]);_0x371deb[_0x2a711a(0x12d)]=_0x2c9ef0[_0x2a711a(0x157)](_0x5de1fe['status'],_0x2c9ef0[_0x2a711a(0x170)])?_0x5de1fe[_0x2a711a(0xf2)]:[],_0x371deb[_0x2a711a(0x185)]=_0x2c9ef0['ZncwB'](_0x15c2fa[_0x2a711a(0x17b)],_0x2c9ef0[_0x2a711a(0x170)])?_0x15c2fa['value']:{},_0x2c9ef0[_0x2a711a(0xfe)](_0x5de1fe['status'],_0x2c9ef0[_0x2a711a(0x162)])&&logger[_0x2a711a(0x15e)]('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0xdeecb8+'):\x20'+_0x5de1fe[_0x2a711a(0xff)]?.[_0x2a711a(0x126)]),_0x2c9ef0[_0x2a711a(0x157)](_0x15c2fa['status'],_0x2c9ef0[_0x2a711a(0x162)])&&logger['warn'](_0x2a711a(0x114)+_0xdeecb8+_0x2a711a(0x14f)+_0x15c2fa[_0x2a711a(0xff)]?.[_0x2a711a(0x126)]);}}catch(_0x278753){_0x371deb[_0x2a711a(0x130)]=_0x278753['message']||_0x2c9ef0[_0x2a711a(0x10a)],logger[_0x2a711a(0x130)](_0x2a711a(0x13e)+_0xdeecb8+'):\x20'+_0x371deb[_0x2a711a(0x130)]);}return _0x371deb;},exports['updateRetryConfig']=_0x4c1cb2=>{const _0x34146b=a121_0x2fbb77,_0x1f6cde={};_0x1f6cde[_0x34146b(0x15a)]=function(_0x100488,_0x1f3c82){return _0x100488!==_0x1f3c82;},_0x1f6cde[_0x34146b(0x152)]=function(_0x5a1f52,_0x3a754c){return _0x5a1f52!==_0x3a754c;};const _0x48c62a=_0x1f6cde;_0x48c62a[_0x34146b(0x15a)](_0x4c1cb2[_0x34146b(0xe7)],undefined)&&(RETRY_CONFIG[_0x34146b(0xe7)]=Math[_0x34146b(0xc6)](0x0,_0x4c1cb2[_0x34146b(0xe7)])),_0x48c62a[_0x34146b(0x152)](_0x4c1cb2['timeoutMs'],undefined)&&(RETRY_CONFIG[_0x34146b(0xdd)]=Math['max'](0x3e8,_0x4c1cb2[_0x34146b(0xdd)])),logger['debug']('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x34146b(0x11a)](RETRY_CONFIG));},exports[a121_0x2fbb77(0x121)]=()=>{const _0xd7118e={...RETRY_CONFIG};return _0xd7118e;},exports[a121_0x2fbb77(0x164)]=_0xf78e7c=>{const _0x158fe1=a121_0x2fbb77,_0x1a0e3a={'uaQfi':function(_0x18dbdd,_0x122d5a){return _0x18dbdd(_0x122d5a);}};return _0x1a0e3a[_0x158fe1(0x13c)](detectDriverType,_0xf78e7c)[_0x158fe1(0x150)];},exports[a121_0x2fbb77(0x186)]=_0x23170d=>{const _0x4c022f=a121_0x2fbb77,_0x4cc314={'zGIEO':function(_0x7c0e4a,_0xcb1ca5){return _0x7c0e4a(_0xcb1ca5);},'sJzEm':function(_0x398ae1,_0x3cb659){return _0x398ae1===_0x3cb659;},'yUptz':'selenium-webdriver'},{isPlaywright:_0x2c48e6,type:_0x150b60}=_0x4cc314[_0x4c022f(0xdc)](detectDriverType,_0x23170d);return!_0x2c48e6&&_0x4cc314[_0x4c022f(0x187)](_0x150b60,_0x4cc314['yUptz']);},exports[a121_0x2fbb77(0xda)]=async(_0x46cad4,_0x3e32f4=null)=>{const _0x29992c=a121_0x2fbb77,_0x15b52d={'iiecj':function(_0x4d401b,_0x43bd8c){return _0x4d401b(_0x43bd8c);},'UoJwk':function(_0x493d32,_0x68f6c7){return _0x493d32===_0x68f6c7;},'FlZnM':'function'},{isPlaywright:_0x1aa874,type:_0x1a29c3}=_0x15b52d[_0x29992c(0x145)](detectDriverType,_0x46cad4);if(!_0x1aa874)return logger[_0x29992c(0xf6)](_0x29992c(0xcb)+_0x1a29c3+'\x20-\x20not\x20applicable'),!![];const _0x545137=_0x3e32f4||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x46cad4&&_0x15b52d[_0x29992c(0x169)](typeof _0x46cad4[_0x29992c(0xd4)],_0x15b52d[_0x29992c(0xfb)])&&(await _0x46cad4[_0x29992c(0xd4)](_0x545137),logger[_0x29992c(0xf6)]('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x545137+'ms')),!![];}catch(_0x3e1222){return logger[_0x29992c(0x15e)](_0x29992c(0x146)+_0x3e1222[_0x29992c(0x126)]),![];}},exports[a121_0x2fbb77(0x151)]=async(_0x3ba040,_0x35cef7=null)=>{const _0x5334fd=a121_0x2fbb77,_0x242b86={};_0x242b86[_0x5334fd(0x13d)]=_0x5334fd(0x14a),_0x242b86['ENDuy']=function(_0x342684,_0x2a7520){return _0x342684===_0x2a7520;},_0x242b86['wJUhD']=_0x5334fd(0x17e),_0x242b86[_0x5334fd(0x17d)]=function(_0x30dd42,_0x3602fd){return _0x30dd42===_0x3602fd;},_0x242b86['gDVaU']=function(_0x416aab,_0x47bc46){return _0x416aab===_0x47bc46;},_0x242b86['YmniK']='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x242b86['dCHqk']=_0x5334fd(0x116);const _0x4b3f53=_0x242b86;if(!exports[_0x5334fd(0x186)](_0x3ba040))return logger[_0x5334fd(0x15e)](_0x4b3f53['uPGUY']),![];const _0x19e7ba=_0x35cef7||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x3ba040&&_0x4b3f53['ENDuy'](typeof _0x3ba040[_0x5334fd(0x10f)],_0x4b3f53[_0x5334fd(0xf0)])){const _0x44da12=_0x3ba040['manage']();if(_0x44da12&&_0x4b3f53[_0x5334fd(0x172)](typeof _0x44da12['timeouts'],_0x4b3f53[_0x5334fd(0xf0)]))await _0x44da12[_0x5334fd(0xdb)]()[_0x5334fd(0xe5)](_0x19e7ba),logger[_0x5334fd(0xf6)](_0x5334fd(0x180)+_0x19e7ba+_0x5334fd(0x174));else{if(_0x44da12&&_0x4b3f53[_0x5334fd(0x17d)](typeof _0x44da12[_0x5334fd(0x176)],_0x4b3f53['wJUhD'])){const _0x207eea={};_0x207eea['script']=_0x19e7ba,await _0x44da12[_0x5334fd(0x176)](_0x207eea),logger[_0x5334fd(0xf6)](_0x5334fd(0x180)+_0x19e7ba+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x44da12&&_0x4b3f53['gDVaU'](typeof _0x44da12[_0x5334fd(0xe5)],_0x4b3f53[_0x5334fd(0xf0)]))await _0x44da12['setScriptTimeout'](_0x19e7ba),logger[_0x5334fd(0xf6)](_0x5334fd(0x180)+_0x19e7ba+'ms\x20using\x20setScriptTimeout\x20API');else return logger['debug'](_0x4b3f53[_0x5334fd(0xcf)]),!![];}}}else return logger['debug'](_0x4b3f53['dCHqk']),!![];return!![];}catch(_0x382920){return logger[_0x5334fd(0x15e)](_0x5334fd(0x10b)+_0x382920[_0x5334fd(0x126)]),![];}},exports[a121_0x2fbb77(0x159)]=async(_0x28fd2c,_0x2a90d1)=>{const _0x115e40=a121_0x2fbb77,_0x576f07={'vrEZd':function(_0x3ac565,_0x158ff4){return _0x3ac565(_0x158ff4);},'zuncF':_0x115e40(0xde),'UmpfN':function(_0x8483e3,_0x4120cc){return _0x8483e3<=_0x4120cc;},'SGWsh':function(_0x504c16,_0x39371c){return _0x504c16+_0x39371c;},'rtVvE':function(_0x18e215,_0x519fcd){return _0x18e215&&_0x519fcd;},'fCHSi':function(_0x220d40,_0x584c91,_0x2375bf){return _0x220d40(_0x584c91,_0x2375bf);},'GjpEt':function(_0x1ee577,_0x4cee68,_0x5ac206){return _0x1ee577(_0x4cee68,_0x5ac206);},'xKSRy':'isMobilePlatform','kNDJl':function(_0xe618b3,_0x44f306,_0x563a24){return _0xe618b3(_0x44f306,_0x563a24);},'lZmdC':_0x115e40(0x16c)},{isPlaywright:_0x582fab,type:_0x135392}=_0x576f07['vrEZd'](detectDriverType,_0x28fd2c),_0x568592=_0x582fab?global[_0x115e40(0x11b)]:accessibilityHelper[_0x115e40(0x144)]()&&globals[_0x115e40(0x124)](_0x576f07[_0x115e40(0x181)]);if(!_0x568592)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x135392+_0x115e40(0x18f)),![];let _0x7a6964=null;for(let _0x18bed0=0x1;_0x576f07[_0x115e40(0x14e)](_0x18bed0,_0x576f07[_0x115e40(0x14c)](RETRY_CONFIG['maxRetries'],0x1));_0x18bed0++){try{logger[_0x115e40(0xf6)](_0x115e40(0x113)+_0x18bed0+'/'+_0x576f07[_0x115e40(0x14c)](RETRY_CONFIG[_0x115e40(0xe7)],0x1)+'\x20('+_0x135392+')');if(_0x576f07[_0x115e40(0x17f)](_0x582fab,playwrightA11yHelper)){_0x576f07[_0x115e40(0xd7)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x115e40(0xda)](_0x28fd2c,RETRY_CONFIG[_0x115e40(0xdd)]);const _0x35b60f={};_0x35b60f[_0x115e40(0x115)]=!![];const _0x165b16=global[_0x115e40(0x101)]?Object[_0x115e40(0x18c)]({},_0x2a90d1,_0x35b60f):_0x2a90d1;await _0x576f07[_0x115e40(0x106)](withTimeout,playwrightA11yHelper[_0x115e40(0x119)](_0x28fd2c,scripts[_0x115e40(0x118)],_0x165b16),RETRY_CONFIG[_0x115e40(0xdd)]),await exports[_0x115e40(0xda)](_0x28fd2c,RETRY_CONFIG[_0x115e40(0x18d)]);}else{await exports[_0x115e40(0x151)](_0x28fd2c,RETRY_CONFIG[_0x115e40(0xdd)]);const _0x34b0a7={};_0x34b0a7[_0x115e40(0x115)]=!![];const _0x235099=globals['getGlobal'](_0x576f07[_0x115e40(0x136)])?Object[_0x115e40(0x18c)]({},_0x2a90d1,_0x34b0a7):_0x2a90d1;await _0x576f07['kNDJl'](withTimeout,_0x28fd2c[_0x115e40(0xe9)](scripts[_0x115e40(0x118)],_0x235099),RETRY_CONFIG[_0x115e40(0xdd)]),await exports[_0x115e40(0x151)](_0x28fd2c,RETRY_CONFIG[_0x115e40(0x18d)]);}return logger[_0x115e40(0x133)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x18bed0+'\x20('+_0x135392+')'),!![];}catch(_0x982acf){_0x7a6964=_0x982acf,logger[_0x115e40(0x15e)](_0x115e40(0x113)+_0x18bed0+'\x20failed\x20('+_0x135392+_0x115e40(0x16b)+_0x982acf[_0x115e40(0x126)]);}}return logger[_0x115e40(0x130)](_0x115e40(0x167)+_0x135392+').\x20Last\x20error:\x20'+(_0x7a6964?.[_0x115e40(0x126)]||_0x576f07['lZmdC'])),![];};
1
+ const a123_0x29dcda=a123_0x5233;function a123_0x22cc(){const _0x499846=['fulfilled','990DPUuec','env','unknown','gsITT','browserStackEvaluate','QBCci','allSettled','getGlobal','isSeleniumDriver','xWWzq','warn','weUkY','AfqKr','PERFORM_SCAN','name','accessibilityPlatform','CjvAG','Playwright','nUvoS','eIDvB','wETbq','kpSfK','script','winstonLogger','setDefaultTimeout','ChzvN','updkA','setTimeouts','results','wRHVy','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','rejected','afSMP','getId','bstackA11yShouldScan','KpdEd','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','31791oapeBj','CftZM','message','status','rGiRT','xUMvA','105fIjeru','HXACT','RORMY','max','HbxeC','unknown_method','driverType','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','assign','tXqod','BMjrK','timeoutMs','Comprehensive\x20accessibility\x20scan\x20failed\x20(','selenium-webdriver','\x20completed\x20successfully.','Accessibility\x20results\x20retrieval\x20attempt\x20','hftlf','../performance/performance-tester','Skipping\x20timeout\x20setting\x20for\x20','getInstance','./scripts','saveTestResults','bstackA11yScanOptions','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','Page','scanSucceeded','WGpLa','setSeleniumScriptTimeout','TLElD','reason','CDZRk','tBnSD','Playwright\x20accessibility\x20helper\x20not\x20available','12liXKIt','JyntJ','uYAEn',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','AHOxP','ZDPHT','JTIEQ','PjOlH','./helper','is_mobile_session','scannerProcessingTimeout','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','playwright-codecept-driver','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','xHTCt','isPlaywrightPage','qsVAe','accessibilityConfig','WebDriver','isPlaywright','KoMpZ','\x20failed\x20for\x20method:\x20','defaultTimeoutMs','page','undefined','fJosI','summary','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','hoFFl','currentTest','isAccessibilityPlatform','yWYue','updateRetryConfig','\x20failed\x20(','capabilitiesList','jXHRY','debug','performComprehensiveAccessibilityScanWithRetry','constructor','98265QvIIiC','gcJmC','setScriptTimeout','function','YYlfC','LJEpV','setPlaywrightScriptTimeout','16lKZSaK','tiObh','saveAccessibilityResultsWithRetry','OimRx','getAccessibilityResultsSummary','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','3522402SxFVlT','ELnbN','2861989OHZLSJ','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','type','ms\x20using\x20setScriptTimeout\x20API','28KfyyMe','isMobilePlatform','vzeTz','14QqSNHU','url','../performance/constants','playwright-page','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','getAccessibilityResults','isAccessibilityAutomationSession','lQdyw','IbEzP','jVdvb','value','ms\x20using\x20setTimeouts\x20API','getAccessibilityResultsSummaryWithRetry','BIKPQ','maxRetries','getAccessibilityModule','qCpxa','SqviE','Accessibility\x20results\x20save\x20attempt\x20','Accessibility\x20scan\x20attempt\x20',').\x20Last\x20error:\x20','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','getCurrentUrl','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','zJwWV','browserstackSessionName','JIsKi','error','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','getAccessibilityResultsWithRetry','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','LWAiW','Unknown\x20error','options','UJUZU','getRetryConfig','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','znuEV','info',').\x20Error:\x20','suHbG','ms\x20using\x20timeouts()\x20API','LPlBI','):\x20','pcyud','timeouts','performScanWithRetry','LOKtB','executeAsyncScript','stringify','getSession','86300VPIWHE','manage','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','daZqa','ERYDQ','hoDOi','IubUE','5596045lpOvhN','aRplH','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','286914WKeYrB','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','performScan',',\x20cannot\x20perform\x20scan\x20with\x20retry.','RARrz'];a123_0x22cc=function(){return _0x499846;};return a123_0x22cc();}(function(_0x113671,_0x2e7224){const _0x3f2e8b=a123_0x5233,_0x4396a6=_0x113671();while(!![]){try{const _0xf065f8=parseInt(_0x3f2e8b(0x113))/0x1*(parseInt(_0x3f2e8b(0xab))/0x2)+parseInt(_0x3f2e8b(0x161))/0x3*(parseInt(_0x3f2e8b(0xa8))/0x4)+parseInt(_0x3f2e8b(0xe5))/0x5+-parseInt(_0x3f2e8b(0xe8))/0x6*(parseInt(_0x3f2e8b(0x119))/0x7)+parseInt(_0x3f2e8b(0x9c))/0x8*(parseInt(_0x3f2e8b(0xa2))/0x9)+parseInt(_0x3f2e8b(0xde))/0xa*(-parseInt(_0x3f2e8b(0xee))/0xb)+-parseInt(_0x3f2e8b(0x13a))/0xc*(parseInt(_0x3f2e8b(0xa4))/0xd);if(_0xf065f8===_0x2e7224)break;else _0x4396a6['push'](_0x4396a6['shift']());}catch(_0x4a87a3){_0x4396a6['push'](_0x4396a6['shift']());}}}(a123_0x22cc,0x9c2a1));const util=require('util'),logger=require('../logger')[a123_0x29dcda(0x105)],accessibilityHelper=require(a123_0x29dcda(0x142)),globals=require('../globals'),scripts=require(a123_0x29dcda(0x12d)),PerformanceTester=require(a123_0x29dcda(0x12a)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a123_0x29dcda(0xad)),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a123_0x3e0e85){logger['debug'](a123_0x29dcda(0x139));}const a123_0x5f0723={};function a123_0x5233(_0x10394b,_0x19e2cb){const _0x22cc66=a123_0x22cc();return a123_0x5233=function(_0x523316,_0x3e4c9f){_0x523316=_0x523316-0x9c;let _0x217c83=_0x22cc66[_0x523316];return _0x217c83;},a123_0x5233(_0x10394b,_0x19e2cb);}a123_0x5f0723[a123_0x29dcda(0xb9)]=0x1,a123_0x5f0723[a123_0x29dcda(0x124)]=0x7530,a123_0x5f0723[a123_0x29dcda(0x150)]=0x7530;const RETRY_CONFIG=a123_0x5f0723,setConfigTimeout=(_0x315265,_0x1c3e8e=null)=>{const _0x28a6be=a123_0x29dcda,_0x2436e2={'qqCGI':function(_0x12040a,_0x4a5d4e){return _0x12040a===_0x4a5d4e;},'BMjrK':_0x28a6be(0x144),'CjvAG':function(_0x15fb10,_0x4f3488){return _0x15fb10===_0x4f3488;},'wRHVy':function(_0x2a1902,_0x2bad51){return _0x2a1902*_0x2bad51;},'BIKPQ':function(_0x1fbd7b,_0x43264b){return _0x1fbd7b(_0x43264b);},'yWYue':function(_0x285e26,_0x1d1f1d){return _0x285e26(_0x1d1f1d);}};if(BrowserstackCLI[_0x28a6be(0x12c)]()['isRunning']()&&BrowserstackCLI[_0x28a6be(0x12c)]()[_0x28a6be(0xba)]()){const _0x9ea2c6=BrowserstackCLI['getInstance']()['getAccessibilityModule']()[_0x28a6be(0x14b)],_0x61ffb6=_0x9ea2c6[_0x28a6be(0xcc)][_0x28a6be(0x15c)]||[];for(const _0x129aba of _0x61ffb6){_0x2436e2['qqCGI'](_0x129aba[_0x28a6be(0xfc)],_0x2436e2[_0x28a6be(0x123)])&&_0x2436e2[_0x28a6be(0xfe)](_0x1c3e8e,null)&&(_0x315265[_0x28a6be(0x124)]=_0x2436e2[_0x28a6be(0x10b)](_0x2436e2[_0x28a6be(0xb8)](parseInt,_0x129aba[_0x28a6be(0xb5)]),0x3e8));}}else process[_0x28a6be(0xef)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x315265['timeoutMs']=_0x2436e2['wRHVy'](_0x2436e2[_0x28a6be(0x159)](parseInt,process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x152bbf=>{const _0x3598e9=a123_0x29dcda,_0x1e07c7={};_0x1e07c7[_0x3598e9(0xbb)]=_0x3598e9(0xf0),_0x1e07c7[_0x3598e9(0xe1)]=function(_0x23a408,_0x5e081c){return _0x23a408===_0x5e081c;},_0x1e07c7[_0x3598e9(0x118)]=_0x3598e9(0x164),_0x1e07c7[_0x3598e9(0xec)]=function(_0x455784,_0x3179e2){return _0x455784===_0x3179e2;},_0x1e07c7[_0x3598e9(0xc5)]=_0x3598e9(0xae),_0x1e07c7[_0x3598e9(0xf1)]=function(_0xfa56bd,_0x35a255){return _0xfa56bd===_0x35a255;},_0x1e07c7[_0x3598e9(0xda)]=_0x3598e9(0x126),_0x1e07c7[_0x3598e9(0xaa)]=_0x3598e9(0x131),_0x1e07c7[_0x3598e9(0x129)]=function(_0x40128b,_0x12015d){return _0x40128b===_0x12015d;},_0x1e07c7[_0x3598e9(0x141)]=_0x3598e9(0x14c),_0x1e07c7[_0x3598e9(0x11b)]=function(_0x2f7b3a,_0x3a1c4f){return _0x2f7b3a===_0x3a1c4f;},_0x1e07c7['KxXXd']=_0x3598e9(0xff),_0x1e07c7[_0x3598e9(0x102)]=_0x3598e9(0x146),_0x1e07c7[_0x3598e9(0x9d)]=function(_0x3800f1,_0x538a0a){return _0x3800f1||_0x538a0a;},_0x1e07c7['pcyud']=_0x3598e9(0x152);const _0x318d81=_0x1e07c7;if(!_0x152bbf){const _0xad50c6={};return _0xad50c6[_0x3598e9(0x14d)]=![],_0xad50c6[_0x3598e9(0xa6)]=_0x318d81['qCpxa'],_0xad50c6;}if(_0x318d81[_0x3598e9(0xe1)](typeof _0x152bbf['evaluate'],_0x318d81[_0x3598e9(0x118)])&&_0x318d81[_0x3598e9(0xe1)](typeof _0x152bbf[_0x3598e9(0xac)],_0x318d81[_0x3598e9(0x118)])&&_0x318d81['RARrz'](typeof _0x152bbf['goto'],_0x318d81[_0x3598e9(0x118)])){const _0x3a2bc9={};return _0x3a2bc9['isPlaywright']=!![],_0x3a2bc9['type']=_0x318d81[_0x3598e9(0xc5)],_0x3a2bc9;}if(_0x318d81['gsITT'](typeof _0x152bbf[_0x3598e9(0xdb)],_0x318d81[_0x3598e9(0x118)])&&_0x318d81[_0x3598e9(0xe1)](typeof _0x152bbf['getCapabilities'],_0x318d81[_0x3598e9(0x118)])){const _0x488bcf={};return _0x488bcf[_0x3598e9(0x14d)]=![],_0x488bcf[_0x3598e9(0xa6)]=_0x318d81[_0x3598e9(0xda)],_0x488bcf;}const _0x1fb159=_0x152bbf[_0x3598e9(0x160)]?.[_0x3598e9(0xfc)];if(_0x318d81[_0x3598e9(0xf1)](_0x1fb159,_0x318d81['vzeTz'])){const _0x27efca={};return _0x27efca[_0x3598e9(0x14d)]=!![],_0x27efca[_0x3598e9(0xa6)]=_0x318d81[_0x3598e9(0xc5)],_0x27efca;}if(_0x318d81[_0x3598e9(0x129)](_0x1fb159,_0x318d81['PjOlH'])){const _0x394de0={};return _0x394de0['isPlaywright']=![],_0x394de0[_0x3598e9(0xa6)]=_0x318d81[_0x3598e9(0xda)],_0x394de0;}if(_0x318d81['RORMY'](_0x1fb159,_0x318d81['KxXXd'])){const _0x2aa258={};return _0x2aa258['isPlaywright']=!![],_0x2aa258[_0x3598e9(0xa6)]=_0x318d81[_0x3598e9(0x102)],_0x2aa258;}logger[_0x3598e9(0xf8)]('Unknown\x20driver/page\x20type:\x20'+_0x318d81[_0x3598e9(0x9d)](_0x1fb159,_0x318d81[_0x3598e9(0xd7)]));const _0x3329d3={};return _0x3329d3[_0x3598e9(0x14d)]=![],_0x3329d3[_0x3598e9(0xa6)]=_0x318d81[_0x3598e9(0xbb)],_0x3329d3;},withTimeout=(_0x1515ba,_0x568d54)=>{return Promise['race']([_0x1515ba,new Promise((_0x25d784,_0x5c9f98)=>setTimeout(()=>_0x5c9f98(new Error('Operation\x20timed\x20out\x20after\x20'+_0x568d54+'ms')),_0x568d54))]);};exports[a123_0x29dcda(0xd9)]=async(_0xfd83c6,_0x360798=null,_0x364e03=null,_0x5b32af=![],_0x44db4e=null)=>{const _0x32ab98=a123_0x29dcda,_0x4130d2={'HXACT':function(_0x116f30,_0x23df3f){return _0x116f30&&_0x23df3f;},'CftZM':function(_0x5b60d5,_0x385c27,_0x2c3b84){return _0x5b60d5(_0x385c27,_0x2c3b84);},'UJUZU':function(_0x128b72,_0x2f40b1){return _0x128b72===_0x2f40b1;},'CtraZ':_0x32ab98(0x146),'DnHZH':function(_0x32aed2,_0x488263,_0x1b755b){return _0x32aed2(_0x488263,_0x1b755b);},'LWAiW':function(_0x3ed5d2,_0xd35a54){return _0x3ed5d2(_0xd35a54);},'KoMpZ':function(_0x4a7563,_0x22d995){return _0x4a7563||_0x22d995;},'pHCjX':function(_0x3af7b3,_0x4e9c25){return _0x3af7b3!==_0x4e9c25;},'TLElD':_0x32ab98(0x158),'AfqKr':_0x32ab98(0x110),'afSMP':function(_0x4eb92d,_0xb742e5){return _0x4eb92d===_0xb742e5;},'weUkY':_0x32ab98(0x130),'CDZRk':_0x32ab98(0x11e),'OimRx':function(_0x2d9a5f,_0x522b80){return _0x2d9a5f===_0x522b80;},'QBCci':_0x32ab98(0x164),'suHbG':function(_0x1735ff,_0x45e93f){return _0x1735ff===_0x45e93f;},'fkYgP':function(_0x5559ef,_0x319f41){return _0x5559ef<=_0x319f41;},'YYlfC':function(_0x201fd3,_0x46e507){return _0x201fd3+_0x46e507;},'zJwWV':function(_0x15deea,_0x377775){return _0x15deea+_0x377775;},'xHTCt':_0x32ab98(0xcb)},{isPlaywright:_0x1c37f3,type:_0x35cdf9}=_0x4130d2[_0x32ab98(0xca)](detectDriverType,_0xfd83c6),_0x3256ad=_0x5b32af?_0x4130d2[_0x32ab98(0x14e)](_0x44db4e,{}):global[_0x32ab98(0x12f)]||{},_0x40ff78=_0x1c37f3?global[_0x32ab98(0xfd)]&&(_0x5b32af||_0x4130d2['pHCjX'](global['bstackA11yShouldScan'],![])):accessibilityHelper[_0x32ab98(0xb1)]()&&globals[_0x32ab98(0xf5)](_0x4130d2[_0x32ab98(0x135)])&&(_0x5b32af||_0x4130d2['pHCjX'](globals[_0x32ab98(0xf5)](_0x4130d2['AfqKr']),![]));if(!_0x40ff78)return _0x1c37f3&&global['accessibilityPlatform']&&_0x4130d2[_0x32ab98(0x10e)](global[_0x32ab98(0x110)],![])||!_0x1c37f3&&globals['getGlobal'](_0x4130d2[_0x32ab98(0x135)])&&_0x4130d2[_0x32ab98(0xcd)](globals['getGlobal'](_0x4130d2[_0x32ab98(0xfa)]),![])?logger[_0x32ab98(0x15e)](_0x4130d2[_0x32ab98(0xf9)]):logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x35cdf9+_0x32ab98(0xeb)),![];const _0x22f2a4=_0x360798||global[_0x32ab98(0xc4)]||_0x4130d2[_0x32ab98(0x137)];let _0x425192=null;const _0x5df080={'testhub_btcer_uuid':global['__workerDetails']?.[_0x32ab98(0x157)]?.['id'],'url':_0x4130d2['OimRx'](typeof _0xfd83c6[_0x32ab98(0xac)],_0x4130d2['QBCci'])?await _0xfd83c6[_0x32ab98(0xac)]():_0x4130d2[_0x32ab98(0x9f)](typeof _0xfd83c6[_0x32ab98(0xc1)],_0x4130d2['QBCci'])?await _0xfd83c6['getCurrentUrl']():'','automate_session_id':_0x4130d2[_0x32ab98(0xd3)](typeof _0xfd83c6[_0x32ab98(0xdd)],_0x4130d2[_0x32ab98(0xf3)])?(await _0xfd83c6[_0x32ab98(0xdd)]())[_0x32ab98(0x10f)]():''};for(let _0x3914d2=0x1;_0x4130d2['fkYgP'](_0x3914d2,_0x4130d2[_0x32ab98(0x165)](RETRY_CONFIG['maxRetries'],0x1));_0x3914d2++){try{return logger[_0x32ab98(0x15e)](_0x32ab98(0xbe)+_0x3914d2+'/'+_0x4130d2[_0x32ab98(0xc3)](RETRY_CONFIG[_0x32ab98(0xb9)],0x1)+'\x20for\x20method:\x20'+_0x22f2a4+'\x20('+_0x35cdf9+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x32ab98(0xfb)],async()=>{const _0x5d8d19=_0x32ab98;let _0x1f968c;if(_0x4130d2[_0x5d8d19(0x11a)](_0x1c37f3,playwrightA11yHelper)){_0x4130d2['CftZM'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0xfd83c6,RETRY_CONFIG[_0x5d8d19(0x124)]);let _0x5aa7e9=_0xfd83c6;_0x4130d2[_0x5d8d19(0xcd)](_0x35cdf9,_0x4130d2['CtraZ'])&&(_0x5aa7e9=_0xfd83c6[_0x5d8d19(0x151)]);const _0x5ae6d0=global['isMobilePlatform']?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper['resolveMobileThTestRunUuid']()}:{};_0x1f968c=await _0x4130d2[_0x5d8d19(0x114)](withTimeout,playwrightA11yHelper[_0x5d8d19(0xea)](_0x5aa7e9,_0x22f2a4,_0x3256ad,_0x5ae6d0),RETRY_CONFIG['timeoutMs']),await exports[_0x5d8d19(0x167)](_0xfd83c6,RETRY_CONFIG[_0x5d8d19(0x150)]);}else await exports[_0x5d8d19(0x134)](_0xfd83c6,RETRY_CONFIG['timeoutMs']),_0x1f968c=await _0x4130d2['DnHZH'](withTimeout,accessibilityHelper['performScan'](_0xfd83c6,_0x22f2a4,_0x5b32af,_0x3256ad),RETRY_CONFIG[_0x5d8d19(0x124)]),await exports[_0x5d8d19(0x134)](_0xfd83c6,RETRY_CONFIG[_0x5d8d19(0x150)]);logger[_0x5d8d19(0x15e)]('Scan\x20attempt\x20'+_0x3914d2+_0x5d8d19(0x127));},{'command':_0x22f2a4,..._0x5df080})(),logger[_0x32ab98(0xd1)](_0x32ab98(0x147)+_0x3914d2+'.'),!![];}catch(_0x29df41){_0x425192=_0x29df41,logger[_0x32ab98(0x15e)]('Accessibility\x20scan\x20attempt\x20'+_0x3914d2+_0x32ab98(0x14f)+_0x22f2a4+'\x20('+_0x35cdf9+_0x32ab98(0xd2)+_0x29df41['message']);}}return logger[_0x32ab98(0xc6)](_0x32ab98(0xcf)+_0x22f2a4+'\x20('+_0x35cdf9+')\x20with\x20error:\x20'+(_0x425192?.[_0x32ab98(0x115)]||_0x4130d2[_0x32ab98(0x148)])),![];},exports[a123_0x29dcda(0xc8)]=async(_0x59895a,_0x2e2d18)=>{const _0x289649=a123_0x29dcda,_0x3e49d5={'TtNbU':function(_0x1e9c33,_0x324781){return _0x1e9c33(_0x324781);},'lQdyw':_0x289649(0x158),'gcJmC':function(_0x27bc69,_0x313b87){return _0x27bc69<=_0x313b87;},'LJEpV':function(_0x17052d,_0xea6dd9){return _0x17052d+_0xea6dd9;},'SqviE':function(_0x1b4aa2,_0x493218){return _0x1b4aa2&&_0x493218;},'VVmZv':function(_0x4bcfd7,_0xbe3346,_0x194cd2){return _0x4bcfd7(_0xbe3346,_0x194cd2);},'jXHRY':function(_0x21a7f2,_0x580ad0,_0xe607c3){return _0x21a7f2(_0x580ad0,_0xe607c3);},'hoDOi':'Unknown\x20error'},{isPlaywright:_0x5837b5,type:_0x3657ed}=_0x3e49d5['TtNbU'](detectDriverType,_0x59895a),_0x3b22f5=_0x5837b5?_0x2e2d18[_0x289649(0xfd)]:accessibilityHelper[_0x289649(0xb1)]()&&globals[_0x289649(0xf5)](_0x3e49d5[_0x289649(0xb2)]);if(!_0x3b22f5)return logger[_0x289649(0xf8)](_0x289649(0x155)+_0x3657ed+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.'),[];let _0x16df84=null;for(let _0x394a20=0x1;_0x3e49d5[_0x289649(0x162)](_0x394a20,_0x3e49d5['LJEpV'](RETRY_CONFIG[_0x289649(0xb9)],0x1));_0x394a20++){try{logger[_0x289649(0x15e)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x394a20+'/'+_0x3e49d5[_0x289649(0x166)](RETRY_CONFIG[_0x289649(0xb9)],0x1)+'\x20('+_0x3657ed+')');let _0x589a0;return _0x3e49d5[_0x289649(0xbc)](_0x5837b5,playwrightA11yHelper)?(_0x3e49d5['VVmZv'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x289649(0x167)](_0x59895a,RETRY_CONFIG['timeoutMs']),_0x589a0=await _0x3e49d5['VVmZv'](withTimeout,playwrightA11yHelper[_0x289649(0xb0)](_0x59895a),RETRY_CONFIG[_0x289649(0x124)]),await exports[_0x289649(0x167)](_0x59895a,RETRY_CONFIG[_0x289649(0x150)])):(await exports[_0x289649(0x134)](_0x59895a,RETRY_CONFIG[_0x289649(0x124)]),_0x589a0=await _0x3e49d5[_0x289649(0x15d)](withTimeout,accessibilityHelper[_0x289649(0xb0)](_0x59895a,_0x2e2d18),RETRY_CONFIG[_0x289649(0x124)]),await exports[_0x289649(0x134)](_0x59895a,RETRY_CONFIG[_0x289649(0x150)])),logger[_0x289649(0xd1)](_0x289649(0xc2)+_0x394a20+'\x20('+_0x3657ed+')'),_0x589a0;}catch(_0x53a4c8){_0x16df84=_0x53a4c8,logger[_0x289649(0xf8)](_0x289649(0x128)+_0x394a20+'\x20failed\x20('+_0x3657ed+_0x289649(0xd2)+_0x53a4c8[_0x289649(0x115)]);}}return logger[_0x289649(0xc6)](_0x289649(0x10c)+_0x3657ed+_0x289649(0xbf)+(_0x16df84?.[_0x289649(0x115)]||_0x3e49d5[_0x289649(0xe3)])),[];},exports[a123_0x29dcda(0xb7)]=async(_0x3c2708,_0x4f8888)=>{const _0x31f69d=a123_0x29dcda,_0xb51257={'ERYDQ':function(_0x1c8a86,_0x450bcc){return _0x1c8a86(_0x450bcc);},'KpdEd':'isAccessibilityPlatform','msFQw':function(_0x313027,_0x12f324){return _0x313027<=_0x12f324;},'WGpLa':function(_0x1a8281,_0x438d76){return _0x1a8281+_0x438d76;},'IylZe':function(_0x4641ef,_0x1ba932){return _0x4641ef&&_0x1ba932;},'rGiRT':function(_0x4b4c26,_0x3a60be,_0x5e2dd9){return _0x4b4c26(_0x3a60be,_0x5e2dd9);},'IbEzP':_0x31f69d(0xcb)},{isPlaywright:_0x4479f1,type:_0x583db7}=_0xb51257[_0x31f69d(0xe2)](detectDriverType,_0x3c2708),_0x11c426=_0x4479f1?_0x4f8888[_0x31f69d(0xfd)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x31f69d(0xf5)](_0xb51257[_0x31f69d(0x111)]);if(!_0x11c426)return logger[_0x31f69d(0xf8)](_0x31f69d(0x155)+_0x583db7+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.'),{};let _0x20d290=null;for(let _0x39b11f=0x1;_0xb51257['msFQw'](_0x39b11f,_0xb51257['WGpLa'](RETRY_CONFIG[_0x31f69d(0xb9)],0x1));_0x39b11f++){try{logger['debug'](_0x31f69d(0xc0)+_0x39b11f+'/'+_0xb51257[_0x31f69d(0x133)](RETRY_CONFIG[_0x31f69d(0xb9)],0x1)+'\x20('+_0x583db7+')');let _0x170c1b;return _0xb51257['IylZe'](_0x4479f1,playwrightA11yHelper)?(_0xb51257[_0x31f69d(0x117)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x3c2708,RETRY_CONFIG[_0x31f69d(0x124)]),_0x170c1b=await _0xb51257[_0x31f69d(0x117)](withTimeout,playwrightA11yHelper[_0x31f69d(0xa0)](_0x3c2708),RETRY_CONFIG[_0x31f69d(0x124)]),await exports['setPlaywrightScriptTimeout'](_0x3c2708,RETRY_CONFIG[_0x31f69d(0x150)])):(await exports[_0x31f69d(0x134)](_0x3c2708,RETRY_CONFIG[_0x31f69d(0x124)]),_0x170c1b=await _0xb51257[_0x31f69d(0x117)](withTimeout,accessibilityHelper[_0x31f69d(0xa0)](_0x3c2708,_0x4f8888),RETRY_CONFIG['timeoutMs']),await exports[_0x31f69d(0x134)](_0x3c2708,RETRY_CONFIG[_0x31f69d(0x150)])),logger[_0x31f69d(0xd1)](_0x31f69d(0xe7)+_0x39b11f+'\x20('+_0x583db7+')'),_0x170c1b;}catch(_0x45daf0){_0x20d290=_0x45daf0,logger['warn']('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x39b11f+'\x20failed\x20('+_0x583db7+_0x31f69d(0xd2)+_0x45daf0[_0x31f69d(0x115)]);}}return logger[_0x31f69d(0xc6)](_0x31f69d(0x120)+_0x583db7+_0x31f69d(0xbf)+(_0x20d290?.['message']||_0xb51257[_0x31f69d(0xb3)])),{};},exports[a123_0x29dcda(0x15f)]=async(_0x13c478,_0x3b0c97,_0x2ab9df=null)=>{const _0x535c6d=a123_0x29dcda,_0x3ab465={'ZDPHT':function(_0x59dcf4,_0x2aae3c){return _0x59dcf4(_0x2aae3c);},'RIhLd':function(_0x5d3800,_0x5e8969){return _0x5d3800===_0x5e8969;},'tBnSD':_0x535c6d(0xed),'kpSfK':function(_0x2529d8,_0x1c8e83){return _0x2529d8===_0x1c8e83;},'uYAEn':_0x535c6d(0x10d),'ELnbN':_0x535c6d(0xc9)},{isPlaywright:_0x122fbf,type:_0x374820}=_0x3ab465[_0x535c6d(0x13f)](detectDriverType,_0x13c478),_0x2acf4c={};_0x2acf4c[_0x535c6d(0x132)]=![],_0x2acf4c[_0x535c6d(0x10a)]=[],_0x2acf4c[_0x535c6d(0x154)]={},_0x2acf4c[_0x535c6d(0xc6)]=null,_0x2acf4c[_0x535c6d(0x11f)]=_0x374820;const _0x4ee35d=_0x2acf4c;try{_0x4ee35d[_0x535c6d(0x132)]=await exports[_0x535c6d(0xd9)](_0x13c478,_0x2ab9df);if(_0x4ee35d[_0x535c6d(0x132)]){const [_0x5b33bc,_0x8a896f]=await Promise[_0x535c6d(0xf4)]([exports[_0x535c6d(0xc8)](_0x13c478,_0x3b0c97),exports['getAccessibilityResultsSummaryWithRetry'](_0x13c478,_0x3b0c97)]);_0x4ee35d[_0x535c6d(0x10a)]=_0x3ab465['RIhLd'](_0x5b33bc[_0x535c6d(0x116)],_0x3ab465[_0x535c6d(0x138)])?_0x5b33bc['value']:[],_0x4ee35d[_0x535c6d(0x154)]=_0x3ab465[_0x535c6d(0x103)](_0x8a896f[_0x535c6d(0x116)],_0x3ab465[_0x535c6d(0x138)])?_0x8a896f[_0x535c6d(0xb5)]:{},_0x3ab465[_0x535c6d(0x103)](_0x5b33bc['status'],_0x3ab465[_0x535c6d(0x13c)])&&logger['warn']('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0x374820+_0x535c6d(0xd6)+_0x5b33bc[_0x535c6d(0x136)]?.[_0x535c6d(0x115)]),_0x3ab465['kpSfK'](_0x8a896f[_0x535c6d(0x116)],_0x3ab465[_0x535c6d(0x13c)])&&logger['warn'](_0x535c6d(0xaf)+_0x374820+'):\x20'+_0x8a896f[_0x535c6d(0x136)]?.['message']);}}catch(_0x307586){_0x4ee35d['error']=_0x307586[_0x535c6d(0x115)]||_0x3ab465[_0x535c6d(0xa3)],logger[_0x535c6d(0xc6)](_0x535c6d(0x125)+_0x374820+_0x535c6d(0xd6)+_0x4ee35d[_0x535c6d(0xc6)]);}return _0x4ee35d;},exports[a123_0x29dcda(0x15a)]=_0x1d954b=>{const _0x527564=a123_0x29dcda,_0x4ac106={};_0x4ac106['zEDAT']=function(_0x1a7670,_0x3712b7){return _0x1a7670!==_0x3712b7;},_0x4ac106['hHmQD']=function(_0x282e97,_0x163b1f){return _0x282e97!==_0x163b1f;};const _0x2581e6=_0x4ac106;_0x2581e6['zEDAT'](_0x1d954b['maxRetries'],undefined)&&(RETRY_CONFIG[_0x527564(0xb9)]=Math[_0x527564(0x11c)](0x0,_0x1d954b[_0x527564(0xb9)])),_0x2581e6['hHmQD'](_0x1d954b['timeoutMs'],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x527564(0x11c)](0x3e8,_0x1d954b[_0x527564(0x124)])),logger['debug']('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x527564(0xdc)](RETRY_CONFIG));},exports[a123_0x29dcda(0xce)]=()=>{const _0x15c118={...RETRY_CONFIG};return _0x15c118;},exports[a123_0x29dcda(0x149)]=_0x34e688=>{const _0x173df0=a123_0x29dcda,_0x165ee6={'GPPVm':function(_0x2701c7,_0x175564){return _0x2701c7(_0x175564);}};return _0x165ee6['GPPVm'](detectDriverType,_0x34e688)[_0x173df0(0x14d)];},exports[a123_0x29dcda(0xf6)]=_0x3b893a=>{const _0x42cbe1=a123_0x29dcda,_0x421268={'TAHrV':function(_0x5c9f5e,_0x5152ca){return _0x5c9f5e(_0x5152ca);},'JyntJ':function(_0x3a5c9f,_0x14bb85){return _0x3a5c9f===_0x14bb85;},'updkA':_0x42cbe1(0x126)},{isPlaywright:_0x54faf4,type:_0x2a8490}=_0x421268['TAHrV'](detectDriverType,_0x3b893a);return!_0x54faf4&&_0x421268[_0x42cbe1(0x13b)](_0x2a8490,_0x421268[_0x42cbe1(0x108)]);},exports[a123_0x29dcda(0x167)]=async(_0x233ad1,_0x28ad00=null)=>{const _0x2274e8=a123_0x29dcda,_0x23ff54={'LPlBI':function(_0x137abf,_0x51c114){return _0x137abf(_0x51c114);},'ChzvN':function(_0x12d503,_0x1a0397){return _0x12d503===_0x1a0397;},'nUvoS':_0x2274e8(0x164)},{isPlaywright:_0x1b4d64,type:_0x3a75f6}=_0x23ff54[_0x2274e8(0xd5)](detectDriverType,_0x233ad1);if(!_0x1b4d64)return logger[_0x2274e8(0x15e)](_0x2274e8(0x12b)+_0x3a75f6+'\x20-\x20not\x20applicable'),!![];const _0x314acb=_0x28ad00||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x233ad1&&_0x23ff54[_0x2274e8(0x107)](typeof _0x233ad1[_0x2274e8(0x106)],_0x23ff54[_0x2274e8(0x100)])&&(await _0x233ad1[_0x2274e8(0x106)](_0x314acb),logger[_0x2274e8(0x15e)](_0x2274e8(0x112)+_0x314acb+'ms')),!![];}catch(_0x140862){return logger[_0x2274e8(0xf8)]('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x140862[_0x2274e8(0x115)]),![];}},exports[a123_0x29dcda(0x134)]=async(_0x22f80b,_0x5512e5=null)=>{const _0x51875c=a123_0x29dcda,_0x3144a2={};_0x3144a2['tXqod']=_0x51875c(0xc7),_0x3144a2['JTIEQ']=function(_0x1a4d7c,_0x3297c4){return _0x1a4d7c===_0x3297c4;},_0x3144a2[_0x51875c(0x13e)]=_0x51875c(0x164),_0x3144a2[_0x51875c(0x101)]=function(_0x510f20,_0x449f8c){return _0x510f20===_0x449f8c;},_0x3144a2['fJosI']=function(_0x46de78,_0x22baaa){return _0x46de78===_0x22baaa;},_0x3144a2[_0x51875c(0xb4)]=_0x51875c(0x145),_0x3144a2['qiOQy']=_0x51875c(0xe9);const _0x76ab02=_0x3144a2;if(!exports[_0x51875c(0xf6)](_0x22f80b))return logger['warn'](_0x76ab02[_0x51875c(0x122)]),![];const _0x2eaf49=_0x5512e5||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x22f80b&&_0x76ab02[_0x51875c(0x140)](typeof _0x22f80b[_0x51875c(0xdf)],_0x76ab02['AHOxP'])){const _0x55dcd4=_0x22f80b[_0x51875c(0xdf)]();if(_0x55dcd4&&_0x76ab02[_0x51875c(0x140)](typeof _0x55dcd4['timeouts'],_0x76ab02[_0x51875c(0x13e)]))await _0x55dcd4[_0x51875c(0xd8)]()[_0x51875c(0x163)](_0x2eaf49),logger[_0x51875c(0x15e)](_0x51875c(0xa1)+_0x2eaf49+_0x51875c(0xd4));else{if(_0x55dcd4&&_0x76ab02[_0x51875c(0x101)](typeof _0x55dcd4[_0x51875c(0x109)],_0x76ab02[_0x51875c(0x13e)])){const _0x4b20a1={};_0x4b20a1[_0x51875c(0x104)]=_0x2eaf49,await _0x55dcd4['setTimeouts'](_0x4b20a1),logger['debug'](_0x51875c(0xa1)+_0x2eaf49+_0x51875c(0xb6));}else{if(_0x55dcd4&&_0x76ab02[_0x51875c(0x153)](typeof _0x55dcd4[_0x51875c(0x163)],_0x76ab02['AHOxP']))await _0x55dcd4[_0x51875c(0x163)](_0x2eaf49),logger[_0x51875c(0x15e)](_0x51875c(0xa1)+_0x2eaf49+_0x51875c(0xa7));else return logger['debug'](_0x76ab02[_0x51875c(0xb4)]),!![];}}}else return logger[_0x51875c(0x15e)](_0x76ab02['qiOQy']),!![];return!![];}catch(_0x2cf9d1){return logger[_0x51875c(0xf8)](_0x51875c(0xa5)+_0x2cf9d1[_0x51875c(0x115)]),![];}},exports[a123_0x29dcda(0x9e)]=async(_0x52b576,_0x4026fa)=>{const _0x2aee09=a123_0x29dcda,_0x5d9e03={'znuEV':function(_0xd7f084,_0x2c9abd){return _0xd7f084(_0x2c9abd);},'hoFFl':_0x2aee09(0x158),'xWWzq':function(_0x344a87,_0x192f55){return _0x344a87<=_0x192f55;},'HbxeC':function(_0x404901,_0x39a36e){return _0x404901+_0x39a36e;},'IubUE':function(_0x50c835,_0x5139ec){return _0x50c835&&_0x5139ec;},'ynmVI':function(_0x5d3b66,_0x2ec781,_0x2e1c5e){return _0x5d3b66(_0x2ec781,_0x2e1c5e);},'qsVAe':function(_0x473284,_0x214fe3,_0x44212a){return _0x473284(_0x214fe3,_0x44212a);},'aRplH':_0x2aee09(0xa9),'ZZryU':_0x2aee09(0xcb)},{isPlaywright:_0x508684,type:_0x408d1d}=_0x5d9e03[_0x2aee09(0xd0)](detectDriverType,_0x52b576),_0x51dc33=_0x508684?global[_0x2aee09(0xfd)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x5d9e03[_0x2aee09(0x156)]);if(!_0x51dc33)return logger[_0x2aee09(0xf8)](_0x2aee09(0x155)+_0x408d1d+_0x2aee09(0x13d)),![];let _0x131520=null;for(let _0x2b8f6d=0x1;_0x5d9e03[_0x2aee09(0xf7)](_0x2b8f6d,_0x5d9e03[_0x2aee09(0x11d)](RETRY_CONFIG['maxRetries'],0x1));_0x2b8f6d++){try{logger['debug']('Accessibility\x20results\x20save\x20attempt\x20'+_0x2b8f6d+'/'+_0x5d9e03[_0x2aee09(0x11d)](RETRY_CONFIG[_0x2aee09(0xb9)],0x1)+'\x20('+_0x408d1d+')');if(_0x5d9e03[_0x2aee09(0xe4)](_0x508684,playwrightA11yHelper)){_0x5d9e03['ynmVI'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x52b576,RETRY_CONFIG[_0x2aee09(0x124)]);const _0x552540={};_0x552540[_0x2aee09(0x143)]=!![];const _0x1e9790=global[_0x2aee09(0xa9)]?Object[_0x2aee09(0x121)]({},_0x4026fa,_0x552540):_0x4026fa;await _0x5d9e03[_0x2aee09(0x14a)](withTimeout,playwrightA11yHelper[_0x2aee09(0xf2)](_0x52b576,scripts[_0x2aee09(0x12e)],_0x1e9790),RETRY_CONFIG[_0x2aee09(0x124)]),await exports[_0x2aee09(0x167)](_0x52b576,RETRY_CONFIG[_0x2aee09(0x150)]);}else{await exports[_0x2aee09(0x134)](_0x52b576,RETRY_CONFIG['timeoutMs']);const _0x597c76={};_0x597c76[_0x2aee09(0x143)]=!![];const _0x352d3a=globals[_0x2aee09(0xf5)](_0x5d9e03[_0x2aee09(0xe6)])?Object[_0x2aee09(0x121)]({},_0x4026fa,_0x597c76):_0x4026fa;await _0x5d9e03['qsVAe'](withTimeout,_0x52b576['executeAsyncScript'](scripts[_0x2aee09(0x12e)],_0x352d3a),RETRY_CONFIG[_0x2aee09(0x124)]),await exports[_0x2aee09(0x134)](_0x52b576,RETRY_CONFIG['defaultTimeoutMs']);}return logger[_0x2aee09(0xd1)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x2b8f6d+'\x20('+_0x408d1d+')'),!![];}catch(_0x37e519){_0x131520=_0x37e519,logger[_0x2aee09(0xf8)](_0x2aee09(0xbd)+_0x2b8f6d+_0x2aee09(0x15b)+_0x408d1d+_0x2aee09(0xd2)+_0x37e519[_0x2aee09(0x115)]);}}return logger['error'](_0x2aee09(0xe0)+_0x408d1d+').\x20Last\x20error:\x20'+(_0x131520?.['message']||_0x5d9e03['ZZryU'])),![];};
@@ -1 +1 @@
1
- var a122_0x3651b1=a122_0x18bb;function a122_0x45b7(){var _0x668bf0=['141','2438712TDSFOG','586718vwDyGT','11820pkBZWX','9395udWNNM','chromium','Chrome','5067YPyenO','Safari','MINIMUM_CHROMEFORTESTING_VERSION','100','min_version_non_browserstack','requires_chrome_options_check','min_version_browserstack','MINIMUM_SAFARI_VERSION','safari','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','display_name','3VKhYpo','1584WDHcuW','286107gyLtkM','114744vybdfD','2330846aBrDfI','chromefortesting','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','API_URL'];a122_0x45b7=function(){return _0x668bf0;};return a122_0x45b7();}(function(_0x2013b0,_0x5b7cc2){var _0x3a6be2=a122_0x18bb,_0x5b073a=_0x2013b0();while(!![]){try{var _0x190bb7=-parseInt(_0x3a6be2(0x1c2))/0x1+parseInt(_0x3a6be2(0x1ca))/0x2*(-parseInt(_0x3a6be2(0x1da))/0x3)+parseInt(_0x3a6be2(0x1c3))/0x4+-parseInt(_0x3a6be2(0x1cc))/0x5*(parseInt(_0x3a6be2(0x1c1))/0x6)+parseInt(_0x3a6be2(0x1c4))/0x7+parseInt(_0x3a6be2(0x1c9))/0x8+parseInt(_0x3a6be2(0x1cf))/0x9*(parseInt(_0x3a6be2(0x1cb))/0xa);if(_0x190bb7===_0x5b7cc2)break;else _0x5b073a['push'](_0x5b073a['shift']());}catch(_0xd747c5){_0x5b073a['push'](_0x5b073a['shift']());}}}(a122_0x45b7,0x3e9bf),exports[a122_0x3651b1(0x1c7)]='https://accessibility.browserstack.com/api',exports[a122_0x3651b1(0x1d8)]='94',exports[a122_0x3651b1(0x1c6)]=a122_0x3651b1(0x1d2),exports[a122_0x3651b1(0x1d1)]=a122_0x3651b1(0x1c8),exports[a122_0x3651b1(0x1d6)]='18.4');var a122_0x5ca3ee={};a122_0x5ca3ee[a122_0x3651b1(0x1d9)]=a122_0x3651b1(0x1ce),a122_0x5ca3ee['min_version_browserstack']=0x5e,a122_0x5ca3ee[a122_0x3651b1(0x1d3)]=0x64,a122_0x5ca3ee[a122_0x3651b1(0x1d4)]=!![];var a122_0x5d9cf1={};a122_0x5d9cf1[a122_0x3651b1(0x1d9)]=a122_0x3651b1(0x1ce),a122_0x5d9cf1[a122_0x3651b1(0x1d5)]=0x5e,a122_0x5d9cf1[a122_0x3651b1(0x1d3)]=0x64,a122_0x5d9cf1['requires_chrome_options_check']=!![];var a122_0xf0832={};a122_0xf0832[a122_0x3651b1(0x1d9)]=a122_0x3651b1(0x1ce),a122_0xf0832[a122_0x3651b1(0x1d5)]=0x5e,a122_0xf0832[a122_0x3651b1(0x1d3)]=0x64,a122_0xf0832[a122_0x3651b1(0x1d4)]=!![];function a122_0x18bb(_0x4c2396,_0x1e044b){var _0x45b7e6=a122_0x45b7();return a122_0x18bb=function(_0x18bb2e,_0x574012){_0x18bb2e=_0x18bb2e-0x1c1;var _0x250098=_0x45b7e6[_0x18bb2e];return _0x250098;},a122_0x18bb(_0x4c2396,_0x1e044b);}var a122_0x181882={};a122_0x181882[a122_0x3651b1(0x1d9)]='ChromeForTesting',a122_0x181882['min_version_browserstack']=0x8d,a122_0x181882[a122_0x3651b1(0x1d3)]=0x8d,a122_0x181882[a122_0x3651b1(0x1d4)]=!![];var a122_0x444bdc={};a122_0x444bdc[a122_0x3651b1(0x1d9)]=a122_0x3651b1(0x1d0),a122_0x444bdc[a122_0x3651b1(0x1d5)]=18.4,a122_0x444bdc[a122_0x3651b1(0x1d3)]=18.4,a122_0x444bdc[a122_0x3651b1(0x1d4)]=![];var a122_0x2c603d={};a122_0x2c603d['chrome']=a122_0x5ca3ee,a122_0x2c603d[a122_0x3651b1(0x1cd)]=a122_0x5d9cf1,a122_0x2c603d['playwright-chromium']=a122_0xf0832,a122_0x2c603d[a122_0x3651b1(0x1c5)]=a122_0x181882,a122_0x2c603d[a122_0x3651b1(0x1d7)]=a122_0x444bdc,exports['ACCESSIBILITY_SUPPORTED_BROWSERS']=a122_0x2c603d;
1
+ var a124_0x4ac93d=a124_0x3710;function a124_0x3710(_0x42f8ca,_0x51aa7f){var _0x43be91=a124_0x43be();return a124_0x3710=function(_0x3710e0,_0x243a77){_0x3710e0=_0x3710e0-0x134;var _0x5b177e=_0x43be91[_0x3710e0];return _0x5b177e;},a124_0x3710(_0x42f8ca,_0x51aa7f);}(function(_0x146f9a,_0x471563){var _0x2b735c=a124_0x3710,_0x4b5d58=_0x146f9a();while(!![]){try{var _0x329a05=parseInt(_0x2b735c(0x142))/0x1+parseInt(_0x2b735c(0x139))/0x2+parseInt(_0x2b735c(0x149))/0x3*(-parseInt(_0x2b735c(0x13e))/0x4)+parseInt(_0x2b735c(0x140))/0x5*(-parseInt(_0x2b735c(0x13d))/0x6)+-parseInt(_0x2b735c(0x14c))/0x7*(-parseInt(_0x2b735c(0x136))/0x8)+-parseInt(_0x2b735c(0x137))/0x9*(-parseInt(_0x2b735c(0x143))/0xa)+parseInt(_0x2b735c(0x144))/0xb*(-parseInt(_0x2b735c(0x14d))/0xc);if(_0x329a05===_0x471563)break;else _0x4b5d58['push'](_0x4b5d58['shift']());}catch(_0x58d611){_0x4b5d58['push'](_0x4b5d58['shift']());}}}(a124_0x43be,0xb3ed1),exports[a124_0x4ac93d(0x148)]='https://accessibility.browserstack.com/api',exports[a124_0x4ac93d(0x141)]='94',exports[a124_0x4ac93d(0x138)]=a124_0x4ac93d(0x14b),exports[a124_0x4ac93d(0x13b)]=a124_0x4ac93d(0x135),exports['MINIMUM_SAFARI_VERSION']=a124_0x4ac93d(0x147));var a124_0xae7c51={};a124_0xae7c51['display_name']='Chrome',a124_0xae7c51[a124_0x4ac93d(0x14e)]=0x5e,a124_0xae7c51[a124_0x4ac93d(0x146)]=0x64,a124_0xae7c51[a124_0x4ac93d(0x13f)]=!![];var a124_0x549ca5={};a124_0x549ca5[a124_0x4ac93d(0x13a)]=a124_0x4ac93d(0x134),a124_0x549ca5[a124_0x4ac93d(0x14e)]=0x5e,a124_0x549ca5['min_version_non_browserstack']=0x64,a124_0x549ca5[a124_0x4ac93d(0x13f)]=!![];var a124_0x152536={};a124_0x152536[a124_0x4ac93d(0x13a)]='Chrome',a124_0x152536[a124_0x4ac93d(0x14e)]=0x5e,a124_0x152536['min_version_non_browserstack']=0x64,a124_0x152536[a124_0x4ac93d(0x13f)]=!![];var a124_0x7da3f1={};a124_0x7da3f1[a124_0x4ac93d(0x13a)]=a124_0x4ac93d(0x14a),a124_0x7da3f1[a124_0x4ac93d(0x14e)]=0x8d,a124_0x7da3f1[a124_0x4ac93d(0x146)]=0x8d,a124_0x7da3f1[a124_0x4ac93d(0x13f)]=!![];var a124_0x391289={};a124_0x391289[a124_0x4ac93d(0x13a)]=a124_0x4ac93d(0x14f),a124_0x391289[a124_0x4ac93d(0x14e)]=18.4,a124_0x391289[a124_0x4ac93d(0x146)]=18.4,a124_0x391289[a124_0x4ac93d(0x13f)]=![];var a124_0x3844a3={};a124_0x3844a3['chrome']=a124_0xae7c51,a124_0x3844a3['chromium']=a124_0x549ca5,a124_0x3844a3[a124_0x4ac93d(0x13c)]=a124_0x152536,a124_0x3844a3[a124_0x4ac93d(0x145)]=a124_0x7da3f1,a124_0x3844a3[a124_0x4ac93d(0x150)]=a124_0x391289,exports['ACCESSIBILITY_SUPPORTED_BROWSERS']=a124_0x3844a3;function a124_0x43be(){var _0x315b40=['safari','Chrome','141','16mvvfTz','9EQkPXZ','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','308360NfkwmP','display_name','MINIMUM_CHROMEFORTESTING_VERSION','playwright-chromium','3768woyRHi','35956JAbGbF','requires_chrome_options_check','3295nykbZC','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','477445NsOFoo','14472280RoqamN','45584jrdySE','chromefortesting','min_version_non_browserstack','18.4','API_URL','234lcpjPv','ChromeForTesting','100','3005961hcXcoY','3144xfRqEe','min_version_browserstack','Safari'];a124_0x43be=function(){return _0x315b40;};return a124_0x43be();}
@@ -1 +1 @@
1
- function a123_0x2929(_0x3fcb1f,_0x3444c0){const _0x329359=a123_0x3293();return a123_0x2929=function(_0x2929b3,_0x9825a9){_0x2929b3=_0x2929b3-0x15f;let _0xf80e03=_0x329359[_0x2929b3];return _0xf80e03;},a123_0x2929(_0x3fcb1f,_0x3444c0);}function a123_0x3293(){const _0x560f0c=['Performed\x20scan\x20with\x20result:\x20','aReBQ','wMjDC','WjCyC','Options','error','nKCrE','oiCgF','projectName','v2/test_runs','67491wSfDLm','Invalid\x20configuration\x20passed.','length','util','EsgXR',']\x20but\x20thTestRunUuid\x20is\x20','dbDdZ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','env','split','statusText','trim','1921140QEOvVN','UjPSc','SItGZ','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','device','NgJyI','BhJeQ','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','parse','getHostInfo','undefined','isBrowserstackInfra','assign','756488oxyQYs','DJdXv','getBrowserVersion','../logger','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','getMinVersionForBrowser','24384MSiVOU','map','getCapabilities','message','version','FOFfy','__workerDetails','peOZr','startsWith','LfjJI','selenium-webdriver/chrome.js','info','function','createAccessibilityTestRun','pzlbL','yjmQJ','replace','isAccessibilityAutomationSession','VUrpR','getAccessibilityResults','thTestRunUuid','browserstack','dxqHp','FxuWr','--headless=new','730InOKDv','cwd','fetchPlatformDetails','PRdff','OmTha','nonBstackPlatformValidation','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','shouldScanTestForAccessibility','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','application/json','javascript','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','Authorization','FCAMs','auth','PUT','toISOString','chromeOptions_','MAtSk','512EFsXJU','performScan','../helper','currentTest','ccuga','wCZVp','xjOeo','KfyAC','rNadK','fFaTz','some','includes','capabilities_','112362LVcMdi','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','requiresChromeOptionsValidation','YfZKc','true','requires_chrome_options_check','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','qTzOK','QGhGL','hYFel','accessibilityToken','getPlatformVersion','pass','platformName','TghvW','isTrue','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','EfdfD','getPlatform','isArray','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','toJson','format','njMHt','BbGPP','response','get','MOBILE_SCANNING_DISABLED_WARNING','deviceName','getBrowserDisplayName','GvsoQ','../performance/performance-tester','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','user','GIZGN','xXIfT','getResultsSummary','toLowerCase','PpgyJ','forEach','test_runs/stop','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','chromeOptions','options_','BS_A11Y_JWT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','getAgentVersion','YDgnz','browserstack_executor','cVWqP','return\x20document.readyState\x20===\x20\x22complete\x22','ZVbbI','hzYAi','xadWN','ChromeExtension','browserstackSessionName','qsqjQ','XGIUy','data','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','parseFromJson','executeAsyncScript','getGlobal','GET_RESULTS_SUMMARY','--headless=','OgwSt','min_version_non_browserstack','excludeTagsInTestingScope','LGoAL','57302wmbPIq','resolveMobileThTestRunUuid','keys','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','chrome','dUcJw','MVSAD','rLsvK','LzCwR','false','./constants','args','YBXGU','__cloud_provider___','bbMWy','warn','script','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','stopAccessibilityTestRun','a11y:stop','isMobileAccessibilitySession','bstackA11yScanOptions','getAccessKey','SWmFm','stringify','Gyjgx','xuRiB','wKrcI','DWSTb','PdSsF','pgcUR','isUndefined','getUserName','TSdsS','executeScript','Bearer\x20','getTestFrameworkDetails','Invalid\x20request:\x20','KUlNi','buildDescription','VSADB','is_mobile_session','isAccessibilityPlatform','path','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','min_version_browserstack','stack','string','sKNbZ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','getMobileA11yCapabilities','526120eqZVFL','checkAccessibilityPlatformConfig','--headless','isMobileAccessibilityPlatform','No\x20accessibility\x20summary\x20was\x20found.','Content-Type','nestedKeyValue','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','qHOcu','GET_RESULTS','DIjFc','status','mBGaJ','a11y:start','Nrisu','playwright','getResults','YccIE','winstonLogger','isBrowserSupportedForAccessibility','xQxFu','nodeRequest','lPhPa','display_name','507zuHerN','errors','gAXrT','FwThl','join','browserVersion','buildName','YiAGb','PERFORM_SCAN','getGitMetaData','body','NWVwe','headers','./scripts','QrrRI','json','global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).','getPackageVersion','android','parseA11yJwtPayload','rCxjk','GOmrZ','wait','command','tVFbY','Performing\x20scan\x20before\x20getting\x20results\x20summary','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','accessibility','measureWrapper','NUWHQ','isBrowserStackCommandExecutor','HvnrN','BROWSERSTACK_TEST_ACCESSIBILITY_YML','goog:chromeOptions','getBrowserName','Not\x20a\x20Accessibility\x20Session','AAKWP','includeTagsInTestingScope','No\x20accessibility\x20results\x20were\x20found.','platforms','MEiZv','HAMQH','debug','set'];a123_0x3293=function(){return _0x560f0c;};return a123_0x3293();}const a123_0x3967b3=a123_0x2929;(function(_0x41755d,_0x522559){const _0x392513=a123_0x2929,_0x3762af=_0x41755d();while(!![]){try{const _0x2a3a85=parseInt(_0x392513(0x23a))/0x1+parseInt(_0x392513(0x22d))/0x2+parseInt(_0x392513(0x1eb))/0x3*(-parseInt(_0x392513(0x240))/0x4)+-parseInt(_0x392513(0x1d3))/0x5+-parseInt(_0x392513(0x27a))/0x6+-parseInt(_0x392513(0x1a0))/0x7*(parseInt(_0x392513(0x26d))/0x8)+parseInt(_0x392513(0x221))/0x9*(parseInt(_0x392513(0x259))/0xa);if(_0x2a3a85===_0x522559)break;else _0x3762af['push'](_0x3762af['shift']());}catch(_0x4aa155){_0x3762af['push'](_0x3762af['shift']());}}}(a123_0x3293,0x8f2a6));const path=require(a123_0x3967b3(0x1cb)),util=require(a123_0x3967b3(0x224)),bsSetupHelper=require(a123_0x3967b3(0x26f)),logger=require(a123_0x3967b3(0x23d))[a123_0x3967b3(0x1e5)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a123_0x3967b3(0x1aa)),PerformanceTester=require(a123_0x3967b3(0x17a)),scripts=require(a123_0x3967b3(0x1f8)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports[a123_0x3967b3(0x25b)]=async _0x3e960c=>{const _0xac4945=a123_0x3967b3,_0x20555d={};_0x20555d[_0xac4945(0x163)]=function(_0x25e0ae,_0x2452fc){return _0x25e0ae===_0x2452fc;},_0x20555d[_0xac4945(0x17e)]=_0xac4945(0x255);const _0x2c1597=_0x20555d;let _0x3e22d0={};try{const _0x2abf27=await _0x3e960c[_0xac4945(0x242)]();_0x3e22d0={'os_name':_0x2abf27[_0xac4945(0x16d)](),'os_version':bsSetupHelper[_0xac4945(0x165)](_0x2c1597['hYFel'](global[_0xac4945(0x1ad)],_0x2c1597[_0xac4945(0x17e)])),'browser_name':_0x2abf27[_0xac4945(0x20d)](),'browser_version':_0x2abf27[_0xac4945(0x23c)]()};}catch(_0x572958){logger[_0xac4945(0x215)](_0xac4945(0x1a3)+_0x572958);}return _0x3e22d0;},exports['isAccessibilityAutomationSession']=()=>{const _0x43fe05=a123_0x3967b3,_0x3bf4cb={};_0x3bf4cb[_0x43fe05(0x25c)]=function(_0xef09bb,_0x4a9232){return _0xef09bb===_0x4a9232;},_0x3bf4cb[_0x43fe05(0x24e)]='string',_0x3bf4cb[_0x43fe05(0x1b9)]=function(_0x517fd6,_0x376df3){return _0x517fd6>_0x376df3;},_0x3bf4cb['qHOcu']=function(_0x5b3647,_0x4f25a7){return _0x5b3647!==_0x4f25a7;},_0x3bf4cb['dUcJw']='null',_0x3bf4cb[_0x43fe05(0x16c)]=function(_0x47b46a,_0xc47f96){return _0x47b46a&&_0xc47f96;};const _0x5b2a44=_0x3bf4cb;try{const _0x104680=bsSetupHelper[_0x43fe05(0x169)](process[_0x43fe05(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x43fe05(0x169)](process[_0x43fe05(0x229)][_0x43fe05(0x184)]),_0x2a369b=_0x5b2a44[_0x43fe05(0x25c)](typeof process['env']['BS_A11Y_JWT'],_0x5b2a44[_0x43fe05(0x24e)])&&_0x5b2a44[_0x43fe05(0x1b9)](process[_0x43fe05(0x229)]['BS_A11Y_JWT'][_0x43fe05(0x223)],0x0)&&_0x5b2a44[_0x43fe05(0x1db)](process[_0x43fe05(0x229)][_0x43fe05(0x187)],_0x5b2a44[_0x43fe05(0x1a5)]);return _0x5b2a44['EfdfD'](_0x104680,_0x2a369b);}catch(_0x2fcc41){logger[_0x43fe05(0x215)](_0x43fe05(0x1b1)+_0x2fcc41);}return![];},exports[a123_0x3967b3(0x25e)]=(_0x42ba3f,_0x57aa21)=>{const _0x1fb93e=a123_0x3967b3,_0x59d04f={'LGoAL':'browserName','MYjke':function(_0x2c08b6,_0x1a5017){return _0x2c08b6(_0x1a5017);},'KUlNi':_0x1fb93e(0x1f0),'sKNbZ':function(_0x4c1fe9,_0x16282c){return _0x4c1fe9(_0x16282c);},'OgwSt':_0x1fb93e(0x244),'YiAGb':'bstack:options','NgJyI':function(_0x1b1d5c,_0x2642ba){return _0x1b1d5c(_0x2642ba);},'YfZKc':_0x1fb93e(0x177),'xQxFu':_0x1fb93e(0x231),'rCxjk':_0x1fb93e(0x188),'xjOeo':_0x1fb93e(0x24a),'DWSTb':'selenium-webdriver','FOFfy':_0x1fb93e(0x186),'qTzOK':_0x1fb93e(0x1ab),'MVSAD':_0x1fb93e(0x185),'BbGPP':_0x1fb93e(0x262),'LfjJI':_0x1fb93e(0x20c),'wrSih':function(_0x3aeba6,_0x49504d){return _0x3aeba6===_0x49504d;},'XYWrn':_0x1fb93e(0x1a4),'wMjDC':function(_0x12a11e,_0x43dfd6){return _0x12a11e>=_0x43dfd6;}},_0x101f5e=_0x42ba3f['get'](_0x59d04f[_0x1fb93e(0x19f)]),_0x2b42dd=_0x59d04f['MYjke'](parseFloat,_0x42ba3f[_0x1fb93e(0x175)](_0x59d04f[_0x1fb93e(0x1c6)]))||_0x59d04f[_0x1fb93e(0x1d0)](parseFloat,_0x42ba3f[_0x1fb93e(0x175)](_0x59d04f[_0x1fb93e(0x19c)])),_0x49711d=_0x42ba3f[_0x1fb93e(0x175)](_0x59d04f[_0x1fb93e(0x1f2)])||{},_0xca215f=_0x59d04f[_0x1fb93e(0x232)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x77a70f=_0x49711d[_0x59d04f[_0x1fb93e(0x27d)]]||_0x42ba3f[_0x1fb93e(0x175)](_0x59d04f[_0x1fb93e(0x1e7)])||![];if(_0x77a70f)return logger[_0x1fb93e(0x1af)](_0x59d04f[_0x1fb93e(0x1ff)]),![];let _0x5417ac;try{_0x5417ac=bsSetupHelper['requireModule'](_0x59d04f[_0x1fb93e(0x273)],_0x59d04f[_0x1fb93e(0x1bc)]);}catch(_0xd8af6d){return![];}const _0x17e7f5=new _0x5417ac[(_0x1fb93e(0x21b))](_0x57aa21[_0x1fb93e(0x26b)]),_0x58accb=bsSetupHelper[_0x1fb93e(0x1d9)](_0x17e7f5,[_0x59d04f[_0x1fb93e(0x245)],_0x59d04f[_0x1fb93e(0x161)]])||bsSetupHelper[_0x1fb93e(0x1d9)](_0x57aa21[_0x1fb93e(0x279)],[_0x59d04f[_0x1fb93e(0x1f2)],_0x59d04f[_0x1fb93e(0x1a6)],_0x59d04f[_0x1fb93e(0x161)]])||bsSetupHelper[_0x1fb93e(0x1d9)](_0x57aa21[_0x1fb93e(0x279)],[_0x59d04f[_0x1fb93e(0x1a6)],_0x59d04f[_0x1fb93e(0x161)]])||[],_0x23d1d8=Array[_0x1fb93e(0x16e)](_0x58accb)?_0x58accb:[];if(_0x23d1d8[_0x1fb93e(0x277)](_0x7e1a11=>typeof _0x7e1a11===_0x1fb93e(0x1cf)&&(_0x7e1a11===_0x1fb93e(0x1d5)||_0x7e1a11[_0x1fb93e(0x248)](_0x1fb93e(0x19b))&&_0x7e1a11!==_0x1fb93e(0x258))))return logger[_0x1fb93e(0x1af)](_0x59d04f[_0x1fb93e(0x173)]),![];const _0x4b0723=_0x57aa21['capabilities_']||{},_0xb9c908=bsSetupHelper['nestedKeyValue'](_0x4b0723,[_0x59d04f[_0x1fb93e(0x249)]])||{},_0x2be2fc=bsSetupHelper[_0x1fb93e(0x1d9)](_0xb9c908,[_0x59d04f[_0x1fb93e(0x161)]])||[],_0xa6ac55=Array[_0x1fb93e(0x16e)](_0x2be2fc)?_0x2be2fc:[];if(_0xa6ac55[_0x1fb93e(0x277)](_0xf8052d=>typeof _0xf8052d==='string'&&(_0xf8052d==='--headless'||_0xf8052d[_0x1fb93e(0x248)](_0x1fb93e(0x19b))&&_0xf8052d!=='--headless=new')))return logger[_0x1fb93e(0x1af)](_0x59d04f['BbGPP']),![];if(_0x59d04f['wrSih'](_0x101f5e[_0x1fb93e(0x180)](),_0x59d04f['XYWrn'])&&_0x59d04f[_0x1fb93e(0x219)](_0x2b42dd,_0xca215f))return!![];return logger[_0x1fb93e(0x1af)](_0x1fb93e(0x1da)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0xa851fc=>{const _0x4839bb=a123_0x3967b3,_0x3dd5c5={};_0x3dd5c5[_0x4839bb(0x233)]=_0x4839bb(0x20c),_0x3dd5c5[_0x4839bb(0x267)]=function(_0x455c62,_0x566a59){return _0x455c62||_0x566a59;},_0x3dd5c5[_0x4839bb(0x225)]=_0x4839bb(0x20e);const _0x3296a1=_0x3dd5c5,_0xf64d78=scripts[_0x4839bb(0x191)];try{const _0x41d732=bsSetupHelper[_0x4839bb(0x169)](process[_0x4839bb(0x229)][_0x4839bb(0x20b)])||bsSetupHelper[_0x4839bb(0x169)](process[_0x4839bb(0x229)][_0x4839bb(0x184)]);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x4839bb(0x229)]['BROWSERSTACK_TURBOSCALE'])&&_0x41d732){const _0x43365a=_0xa851fc[_0x4839bb(0x242)](),_0x1e969d=_0x43365a[_0x4839bb(0x175)](_0x3296a1[_0x4839bb(0x233)]),_0x1f052b=_0x3296a1['FCAMs'](_0x1e969d,{});bsSetupHelper['mergeDeep'](_0x1f052b,_0xf64d78),_0xa851fc[_0x4839bb(0x242)]()[_0x4839bb(0x216)](_0x3296a1[_0x4839bb(0x233)],_0x1f052b);}else logger['warn'](_0x3296a1[_0x4839bb(0x225)]);}catch(_0x1ab568){logger['error'](_0x4839bb(0x205)+_0x1ab568);}},exports[a123_0x3967b3(0x261)]=(_0x387bc6=null,_0x414146=!![],_0x50e821=[])=>{const _0x383c3e=a123_0x3967b3,_0x112e54={};_0x112e54['xadWN']=function(_0x269903,_0x7dfe8e){return _0x269903==_0x7dfe8e;},_0x112e54['NWVwe']=function(_0x5a59f0,_0x20eee5){return _0x5a59f0>_0x20eee5;},_0x112e54['QMuwJ']=function(_0x1b9d61,_0x44b40a){return _0x1b9d61===_0x44b40a;},_0x112e54[_0x383c3e(0x22f)]=function(_0xb99858,_0x13e8a9){return _0xb99858&&_0x13e8a9;},_0x112e54['qsqjQ']=function(_0x3a7b5c,_0x290885){return _0x3a7b5c&&_0x290885;};const _0x2425a0=_0x112e54;if(_0x2425a0[_0x383c3e(0x190)](process[_0x383c3e(0x229)][_0x383c3e(0x228)],null))return!![];try{const _0x101922=JSON[_0x383c3e(0x235)](process['env'][_0x383c3e(0x228)]),_0xb54f1c=Array[_0x383c3e(0x16e)](_0x101922[_0x383c3e(0x210)])?_0x101922[_0x383c3e(0x210)]:[],_0x17f103=Array[_0x383c3e(0x16e)](_0x101922[_0x383c3e(0x19e)])?_0x101922['excludeTagsInTestingScope']:[],_0x224a69=_0x1a365b=>typeof _0x1a365b===_0x383c3e(0x1cf)?_0x1a365b[_0x383c3e(0x250)](/^@/,'')[_0x383c3e(0x180)]()[_0x383c3e(0x22c)]():_0x1a365b;if(bsSetupHelper['isUndefined'](_0x387bc6)){if(_0x2425a0[_0x383c3e(0x1f6)](_0x50e821[_0x383c3e(0x223)],0x0)){const _0x16d7ba=_0x50e821[_0x383c3e(0x241)](_0x224a69),_0x2ddf9f=_0x17f103['some'](_0x4bc6db=>_0x16d7ba[_0x383c3e(0x278)](_0x224a69(_0x4bc6db))),_0x4e9d08=_0x2425a0['QMuwJ'](_0xb54f1c[_0x383c3e(0x223)],0x0)||_0xb54f1c[_0x383c3e(0x277)](_0x49bd72=>_0x16d7ba[_0x383c3e(0x278)](_0x224a69(_0x49bd72)));return _0x2425a0[_0x383c3e(0x22f)](!_0x2ddf9f,_0x4e9d08);}return!![];}let _0x3b06f5;_0x414146?_0x3b06f5=_0x387bc6[_0x383c3e(0x1ef)]('/'):_0x3b06f5=_0x387bc6;const _0x4a3c02=_0x17f103[_0x383c3e(0x277)](_0x215634=>_0x3b06f5[_0x383c3e(0x180)]()[_0x383c3e(0x278)](_0x224a69(_0x215634)[_0x383c3e(0x180)]())),_0x229b3a=_0x2425a0['QMuwJ'](_0xb54f1c[_0x383c3e(0x223)],0x0)||_0xb54f1c[_0x383c3e(0x277)](_0xd5dd83=>_0x3b06f5['toLowerCase']()[_0x383c3e(0x278)](_0x224a69(_0xd5dd83)['toLowerCase']()));return _0x2425a0[_0x383c3e(0x193)](!_0x4a3c02,_0x229b3a);}catch(_0x59dcf6){logger[_0x383c3e(0x215)](_0x383c3e(0x230)+util[_0x383c3e(0x171)](_0x59dcf6));}return![];},exports[a123_0x3967b3(0x1d4)]=_0x230d5c=>{const _0x15b696=a123_0x3967b3;let _0x39584d=![];try{_0x230d5c[_0x15b696(0x212)][_0x15b696(0x182)](_0x15cf07=>{const _0x5e06a1=_0x15b696;if(bsSetupHelper[_0x5e06a1(0x169)](_0x15cf07['accessibility']))return _0x39584d=!![],!![];});}catch(_0x2d9115){logger[_0x15b696(0x215)](_0x15b696(0x16f)+_0x2d9115);}return _0x39584d||bsSetupHelper['isTrue'](_0x230d5c[_0x15b696(0x206)]);},exports[a123_0x3967b3(0x24d)]=PerformanceTester['measureWrapper'](a123_0x3967b3(0x1e0),async function(_0x5acca4,_0x2a020e){const _0x42f7ac=a123_0x3967b3,_0x3018d3={};_0x3018d3[_0x42f7ac(0x181)]=_0x42f7ac(0x160),_0x3018d3['DJdXv']=_0x42f7ac(0x1e2),_0x3018d3['VlZey']=_0x42f7ac(0x264),_0x3018d3[_0x42f7ac(0x1ed)]='application/json',_0x3018d3[_0x42f7ac(0x1be)]='POST',_0x3018d3[_0x42f7ac(0x276)]=_0x42f7ac(0x220),_0x3018d3[_0x42f7ac(0x1ee)]=function(_0x468a0d,_0x3145bd){return _0x468a0d===_0x3145bd;},_0x3018d3[_0x42f7ac(0x227)]=_0x42f7ac(0x222),_0x3018d3[_0x42f7ac(0x25d)]=_0x42f7ac(0x1a9);const _0x4e796e=_0x3018d3,_0x29e223=bsSetupHelper[_0x42f7ac(0x1c0)](_0x5acca4),_0x2cafd9=bsSetupHelper[_0x42f7ac(0x1b6)](_0x5acca4);if(bsSetupHelper[_0x42f7ac(0x1bf)](_0x29e223)||bsSetupHelper[_0x42f7ac(0x1bf)](_0x2cafd9))return logger['error'](_0x4e796e[_0x42f7ac(0x181)]),[null,null];try{let _0x47cc4e;bsSetupHelper[_0x42f7ac(0x1bf)](process[_0x42f7ac(0x229)][_0x42f7ac(0x228)])?_0x47cc4e={}:_0x47cc4e=JSON[_0x42f7ac(0x235)](process[_0x42f7ac(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0xa48b49,version:_0x55cd22}=bsSetupHelper[_0x42f7ac(0x1c4)](_0x5acca4,_0x2a020e),_0x40106f={'projectName':_0x5acca4[_0x42f7ac(0x21f)],'buildName':_0x5acca4[_0x42f7ac(0x1f1)]||path['basename'](path['resolve'](process[_0x42f7ac(0x25a)]())),'startTime':new Date()[_0x42f7ac(0x26a)](),'description':_0x5acca4[_0x42f7ac(0x1c7)]||'','source':{'frameworkName':_0x2a020e[_0x42f7ac(0x278)](_0x4e796e['DJdXv'])?_0x4e796e[_0x42f7ac(0x23b)]:_0x2a020e,'frameworkVersion':bsSetupHelper[_0x42f7ac(0x1fc)](_0x2a020e),'sdkVersion':bsSetupHelper[_0x42f7ac(0x189)](),'language':_0x4e796e['VlZey'],'testFramework':_0xa48b49,'testFrameworkVersion':_0x55cd22},'settings':_0x47cc4e,'versionControl':await bsSetupHelper[_0x42f7ac(0x1f4)](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper[_0x42f7ac(0x236)](),'browserstackAutomation':bsSetupHelper[_0x42f7ac(0x238)]()},_0x37af1b={};_0x37af1b[_0x42f7ac(0x17c)]=_0x29e223,_0x37af1b[_0x42f7ac(0x166)]=_0x2cafd9;const _0x4408dc={};_0x4408dc[_0x42f7ac(0x1d8)]=_0x4e796e[_0x42f7ac(0x1ed)];const _0x213d26={};_0x213d26[_0x42f7ac(0x268)]=_0x37af1b,_0x213d26[_0x42f7ac(0x1f7)]=_0x4408dc;const _0x20aa3d=_0x213d26,_0x5425d9={};_0x5425d9[_0x42f7ac(0x1f5)]=_0x40106f,_0x5425d9[_0x42f7ac(0x1fa)]=!![];const _0x2f2ac8=Object[_0x42f7ac(0x239)](_0x20aa3d,_0x5425d9),_0x22c583=await bsSetupHelper['nodeRequest'](_0x4e796e['pgcUR'],_0x4e796e[_0x42f7ac(0x276)],_0x2f2ac8,_0x5acca4,API_URL);let _0x2af9ff=process[_0x42f7ac(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x2af9ff?_0x2af9ff=JSON[_0x42f7ac(0x235)](process['env'][_0x42f7ac(0x228)]):_0x2af9ff={},scripts[_0x42f7ac(0x197)](_0x22c583[_0x42f7ac(0x195)][_0x42f7ac(0x195)]),scripts[_0x42f7ac(0x170)](),_0x2af9ff['scannerVersion']=_0x22c583[_0x42f7ac(0x195)][_0x42f7ac(0x195)]['scannerVersion'],process[_0x42f7ac(0x229)][_0x42f7ac(0x228)]=JSON[_0x42f7ac(0x1b8)](_0x2af9ff),[_0x22c583[_0x42f7ac(0x195)][_0x42f7ac(0x195)][_0x42f7ac(0x164)],_0x22c583[_0x42f7ac(0x195)]['data']['id']];}catch(_0x1e9523){if(_0x1e9523['response'])logger['error'](_0x42f7ac(0x234)+_0x1e9523[_0x42f7ac(0x174)][_0x42f7ac(0x1de)]+'\x20'+_0x1e9523[_0x42f7ac(0x174)][_0x42f7ac(0x22b)]+'\x20'+JSON['stringify'](_0x1e9523[_0x42f7ac(0x174)][_0x42f7ac(0x195)]));else{if(_0x4e796e[_0x42f7ac(0x1ee)](_0x1e9523[_0x42f7ac(0x243)],_0x4e796e[_0x42f7ac(0x227)])){logger[_0x42f7ac(0x21c)](_0x42f7ac(0x234)+(_0x1e9523[_0x42f7ac(0x243)]||_0x1e9523[_0x42f7ac(0x1ce)]));for(const _0xbaaf9 of _0x1e9523[_0x42f7ac(0x1ec)]){logger['error'](_0xbaaf9[_0x42f7ac(0x243)]);}process[_0x42f7ac(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4e796e['OmTha'],process['env'][_0x42f7ac(0x184)]=_0x4e796e[_0x42f7ac(0x25d)];}else logger[_0x42f7ac(0x21c)](_0x42f7ac(0x234)+(_0x1e9523['message']||_0x1e9523[_0x42f7ac(0x1ce)]));}return[null,null];}}),exports[a123_0x3967b3(0x1b2)]=PerformanceTester[a123_0x3967b3(0x207)](a123_0x3967b3(0x1b3),async function(_0x48eac9){const _0x4430e8=a123_0x3967b3,_0x2345aa={};_0x2345aa['rLsvK']=function(_0x2dc225,_0x2ddc36){return _0x2dc225!==_0x2ddc36;},_0x2345aa[_0x4430e8(0x194)]='string',_0x2345aa[_0x4430e8(0x21e)]='error',_0x2345aa[_0x4430e8(0x1ae)]='Build\x20creation\x20had\x20failed.',_0x2345aa[_0x4430e8(0x213)]=_0x4430e8(0x263),_0x2345aa[_0x4430e8(0x18f)]=_0x4430e8(0x269),_0x2345aa['UCHlV']=_0x4430e8(0x183),_0x2345aa[_0x4430e8(0x26c)]=function(_0xec78e5,_0x5b431e){return _0xec78e5+_0x5b431e;},_0x2345aa[_0x4430e8(0x1c8)]=_0x4430e8(0x1c5),_0x2345aa[_0x4430e8(0x18c)]='success';const _0x3c640d=_0x2345aa;if(bsSetupHelper['isUndefined'](process['env'][_0x4430e8(0x187)])||_0x3c640d[_0x4430e8(0x1a7)](typeof process[_0x4430e8(0x229)][_0x4430e8(0x187)],_0x3c640d[_0x4430e8(0x194)])){const _0x218124={};return _0x218124['status']=_0x3c640d['oiCgF'],_0x218124[_0x4430e8(0x243)]=_0x3c640d[_0x4430e8(0x1ae)],_0x218124;}const _0x23f719={'endTime':new Date()[_0x4430e8(0x26a)]()},_0x1c9e35={};_0x1c9e35[_0x4430e8(0x266)]=_0x4430e8(0x1c3)+process['env']['BS_A11Y_JWT'],_0x1c9e35['Content-Type']=_0x3c640d['MEiZv'];const _0x261fe2={};_0x261fe2[_0x4430e8(0x1f7)]=_0x1c9e35;const _0x4b7c47=_0x261fe2,_0x4e7851={};_0x4e7851[_0x4430e8(0x1f5)]=_0x23f719,_0x4e7851[_0x4430e8(0x268)]=null,_0x4e7851[_0x4430e8(0x1fa)]=!![];const _0x2e2f3a=Object['assign'](_0x4b7c47,_0x4e7851);try{const _0x2405c1=await bsSetupHelper[_0x4430e8(0x1e8)](_0x3c640d[_0x4430e8(0x18f)],_0x3c640d['UCHlV'],_0x2e2f3a,_0x48eac9,API_URL);if(_0x2405c1[_0x4430e8(0x195)][_0x4430e8(0x21c)])throw new Error(_0x3c640d['MAtSk'](_0x3c640d['VSADB'],_0x2405c1['data'][_0x4430e8(0x21c)]));else{logger[_0x4430e8(0x24b)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x4430e8(0x26a)]());const _0x51ff3={};return _0x51ff3[_0x4430e8(0x1de)]=_0x3c640d['cVWqP'],_0x51ff3[_0x4430e8(0x243)]='',_0x51ff3;}}catch(_0xca6ec5){_0xca6ec5[_0x4430e8(0x174)]?logger[_0x4430e8(0x21c)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0xca6ec5['response'][_0x4430e8(0x1de)]+'\x20'+_0xca6ec5[_0x4430e8(0x174)][_0x4430e8(0x22b)]+'\x20'+JSON[_0x4430e8(0x1b8)](_0xca6ec5['response']['data'])):logger[_0x4430e8(0x21c)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+(_0xca6ec5[_0x4430e8(0x243)]||util[_0x4430e8(0x171)](_0xca6ec5)));const _0x157b70={};return _0x157b70[_0x4430e8(0x1de)]=_0x3c640d[_0x4430e8(0x21e)],_0x157b70[_0x4430e8(0x243)]=_0xca6ec5['message']||(_0xca6ec5[_0x4430e8(0x174)]?_0xca6ec5[_0x4430e8(0x174)][_0x4430e8(0x1de)]+':'+_0xca6ec5[_0x4430e8(0x174)][_0x4430e8(0x22b)]:_0xca6ec5),_0x157b70;}}),exports[a123_0x3967b3(0x26e)]=async(_0xa4b71b,_0x5e752a=null,_0xe935c2=![],_0x4144c0=null)=>{const _0x45c2f2=a123_0x3967b3,_0x3331cb={};_0x3331cb[_0x45c2f2(0x20a)]=_0x45c2f2(0x1ca),_0x3331cb[_0x45c2f2(0x256)]='bstackA11yShouldScan',_0x3331cb[_0x45c2f2(0x257)]=_0x45c2f2(0x1d1),_0x3331cb[_0x45c2f2(0x1a8)]=function(_0x5dc590,_0x3a0134){return _0x5dc590||_0x3a0134;},_0x3331cb[_0x45c2f2(0x200)]=_0x45c2f2(0x1b5),_0x3331cb[_0x45c2f2(0x18a)]=_0x45c2f2(0x260);const _0x3eef7e=_0x3331cb;if(!this[_0x45c2f2(0x251)]()||!globals[_0x45c2f2(0x199)](_0x3eef7e[_0x45c2f2(0x20a)])||!_0xe935c2&&!globals['getGlobal'](_0x3eef7e['dxqHp'])){logger[_0x45c2f2(0x1af)](_0x3eef7e[_0x45c2f2(0x257)]);return;}const _0x38de2d=_0xe935c2?_0x3eef7e['LzCwR'](_0x4144c0,{}):globals[_0x45c2f2(0x199)](_0x3eef7e[_0x45c2f2(0x200)])||{},_0x1ad2ea={};_0x1ad2ea['method']=_0x5e752a||global[_0x45c2f2(0x192)];const _0x397f49=Object[_0x45c2f2(0x239)]({},_0x38de2d,_0x1ad2ea);await this[_0x45c2f2(0x1b4)](_0xa4b71b)&&(Object['assign'](_0x397f49,this[_0x45c2f2(0x1d2)](),{'thTestRunUuid':this[_0x45c2f2(0x1a1)]()}),logger[_0x45c2f2(0x215)](_0x3eef7e[_0x45c2f2(0x18a)]));logger[_0x45c2f2(0x215)]('[Accessibility]\x20Selenium\x20performScan\x20payload:\x20'+util[_0x45c2f2(0x171)]('%j',_0x397f49));const _0x3df169={};return _0x3df169[_0x45c2f2(0x202)]=_0x5e752a,await PerformanceTester[_0x45c2f2(0x207)](PerformanceA11yEvents[_0x45c2f2(0x1f3)],async()=>{const _0x551fe4=_0x45c2f2;try{await _0xa4b71b[_0x551fe4(0x201)](()=>_0xa4b71b[_0x551fe4(0x1c2)](_0x551fe4(0x18d)),0x1388);}catch(_0x1c5192){}const _0x5a79b9=util[_0x551fe4(0x171)](await _0xa4b71b['executeAsyncScript'](scripts[_0x551fe4(0x26e)],_0x397f49));return logger[_0x551fe4(0x215)](_0x551fe4(0x217)+_0x5a79b9),_0x5a79b9;},_0x3df169)();},exports[a123_0x3967b3(0x253)]=async(_0x51690d,_0x36c28d)=>{const _0x364dd4=a123_0x3967b3,_0x11aa60={};_0x11aa60[_0x364dd4(0x218)]='Performing\x20scan\x20before\x20getting\x20results',_0x11aa60[_0x364dd4(0x203)]=_0x364dd4(0x1ca),_0x11aa60[_0x364dd4(0x274)]='bstackA11yShouldScan',_0x11aa60[_0x364dd4(0x21a)]=_0x364dd4(0x16a),_0x11aa60[_0x364dd4(0x24f)]='getAccessibilityResults',_0x11aa60[_0x364dd4(0x21d)]=_0x364dd4(0x211);const _0x4ed7c6=_0x11aa60;if(!this['isAccessibilityAutomationSession']()||!globals[_0x364dd4(0x199)](_0x4ed7c6['tVFbY'])||!globals[_0x364dd4(0x199)](_0x4ed7c6[_0x364dd4(0x274)]))return logger[_0x364dd4(0x1af)](_0x4ed7c6[_0x364dd4(0x21a)]),[];try{const _0x27b44f=await this[_0x364dd4(0x1b4)](_0x51690d),_0x116060=_0x27b44f?Object['assign']({},this[_0x364dd4(0x1d2)](),{'thTestRunUuid':this[_0x364dd4(0x1a1)]()}):{};return _0x27b44f&&logger[_0x364dd4(0x215)](_0x364dd4(0x196)+util[_0x364dd4(0x171)]('%j',_0x116060)),await PerformanceTester[_0x364dd4(0x207)](PerformanceA11yEvents[_0x364dd4(0x1f3)],async()=>{const _0x2c21ca=_0x364dd4;logger[_0x2c21ca(0x215)](_0x4ed7c6['aReBQ']);const _0x5941cd={};_0x5941cd['method']=_0x36c28d[_0x2c21ca(0x192)];const _0x5e5ca3=Object[_0x2c21ca(0x239)](_0x5941cd,_0x116060);logger[_0x2c21ca(0x215)](util[_0x2c21ca(0x171)](await _0x51690d[_0x2c21ca(0x198)](scripts[_0x2c21ca(0x26e)],_0x5e5ca3)));},{'command':_0x4ed7c6['yjmQJ']})(),await PerformanceTester[_0x364dd4(0x207)](PerformanceA11yEvents[_0x364dd4(0x1dc)],async()=>{const _0x572fca=_0x364dd4,_0x56f183=_0x27b44f?await _0x51690d[_0x572fca(0x198)](scripts['getResults'],_0x116060):await _0x51690d['executeAsyncScript'](scripts[_0x572fca(0x1e3)]);return _0x56f183;})();}catch{return logger['error'](_0x4ed7c6[_0x364dd4(0x21d)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x5bb139,_0x5f08c8)=>{const _0x237388=a123_0x3967b3,_0x101a11={};_0x101a11[_0x237388(0x247)]=_0x237388(0x204),_0x101a11['lZBst']='isAccessibilityPlatform',_0x101a11['AAKWP']='bstackA11yShouldScan',_0x101a11['TSdsS']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x101a11[_0x237388(0x1dd)]='getAccessibilityResultsSummary',_0x101a11[_0x237388(0x1e9)]=_0x237388(0x1d7);const _0x428d9d=_0x101a11;if(!this[_0x237388(0x251)]()||!globals[_0x237388(0x199)](_0x428d9d['lZBst'])||!globals[_0x237388(0x199)](_0x428d9d[_0x237388(0x20f)]))return logger['warn'](_0x428d9d[_0x237388(0x1c1)]),{};try{const _0x470884=await this['isMobileAccessibilitySession'](_0x5bb139),_0x16e8fb=_0x470884?Object[_0x237388(0x239)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x237388(0x1a1)]()}):{};return _0x470884&&logger[_0x237388(0x215)](_0x237388(0x23e)+util['format']('%j',_0x16e8fb)),await PerformanceTester[_0x237388(0x207)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xe38eff=_0x237388;logger[_0xe38eff(0x215)](_0x428d9d[_0xe38eff(0x247)]);const _0x551c07={};_0x551c07['method']=_0x5f08c8[_0xe38eff(0x192)];const _0x229f8f=Object['assign'](_0x551c07,_0x16e8fb);logger[_0xe38eff(0x215)](util[_0xe38eff(0x171)](await _0x5bb139[_0xe38eff(0x198)](scripts[_0xe38eff(0x26e)],_0x229f8f)));},{'command':_0x428d9d[_0x237388(0x1dd)]})(),await PerformanceTester[_0x237388(0x207)](PerformanceA11yEvents[_0x237388(0x19a)],async()=>{const _0x3d97b6=_0x237388,_0x11039c=_0x470884?await _0x5bb139['executeAsyncScript'](scripts['getResultsSummary'],_0x16e8fb):await _0x5bb139[_0x3d97b6(0x198)](scripts[_0x3d97b6(0x17f)]);return _0x11039c;})();}catch{return logger[_0x237388(0x21c)](_0x428d9d[_0x237388(0x1e9)]),{};}},exports['isMobileAccessibilityPlatform']=(_0x3e327a,_0x26b61b=![])=>{const _0x503869=a123_0x3967b3,_0xaa4c9a={'AGySB':function(_0x1ae4ea,_0x18b4a6){return _0x1ae4ea(_0x18b4a6);},'HAMQH':_0x503869(0x167),'VfpRA':function(_0x1e65d3,_0x524221){return _0x1e65d3!==_0x524221;},'GIZGN':_0x503869(0x1fd),'bHVTW':function(_0x475442,_0xd7bff1){return _0x475442(_0xd7bff1);},'TghvW':function(_0x46e1ef,_0x2e9d72){return _0x46e1ef(_0x2e9d72);},'VUrpR':'browserName','wKrcI':_0x503869(0x1a4),'smOAX':'Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','ccuga':_0x503869(0x1cc)};try{if(!_0x3e327a)return![];const _0x402837=_0x2c1b0b=>typeof _0x3e327a[_0x503869(0x175)]===_0x503869(0x24c)?_0x3e327a['get'](_0x2c1b0b):_0x3e327a[_0x2c1b0b],_0x25891c=_0xaa4c9a['AGySB'](String,_0xaa4c9a['AGySB'](_0x402837,_0xaa4c9a[_0x503869(0x214)])||'')[_0x503869(0x180)]();if(_0xaa4c9a['VfpRA'](_0x25891c,_0xaa4c9a[_0x503869(0x17d)]))return![];const _0x505d49=_0xaa4c9a['bHVTW'](String,_0xaa4c9a[_0x503869(0x168)](_0x402837,_0xaa4c9a[_0x503869(0x252)])||'')['toLowerCase']();if(!_0x505d49[_0x503869(0x278)](_0xaa4c9a[_0x503869(0x1bb)]))return _0x26b61b&&logger[_0x503869(0x1af)](_0xaa4c9a['smOAX']),![];return logger[_0x503869(0x215)](_0xaa4c9a[_0x503869(0x271)]),!![];}catch(_0x2766b1){return logger['debug']('Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20'+_0x2766b1),![];}},exports['isMobileAccessibilitySession']=async _0xab6941=>{const _0x396d67=a123_0x3967b3;try{const _0xecd944=await _0xab6941['getCapabilities']();return exports[_0x396d67(0x1d6)](_0xecd944);}catch(_0x2e3f0c){return logger['debug'](_0x396d67(0x16b)+_0x2e3f0c),![];}},exports['getMobileA11yCapabilities']=()=>{const _0x389f20=a123_0x3967b3,_0x523630={};return _0x523630[_0x389f20(0x1c9)]=!![],_0x523630;},exports['resolveMobileThTestRunUuid']=()=>{const _0x158cd1=a123_0x3967b3,_0x4ce8f2={};_0x4ce8f2[_0x158cd1(0x18e)]=function(_0x14fc37,_0x4dbb17){return _0x14fc37===_0x4dbb17;},_0x4ce8f2[_0x158cd1(0x1f9)]=_0x158cd1(0x1cf),_0x4ce8f2[_0x158cd1(0x1df)]=function(_0x207109,_0x37bbef){return _0x207109>_0x37bbef;},_0x4ce8f2[_0x158cd1(0x275)]=_0x158cd1(0x1fb),_0x4ce8f2[_0x158cd1(0x272)]=_0x158cd1(0x25f),_0x4ce8f2[_0x158cd1(0x179)]=function(_0x3732e0,_0x2242e1){return _0x3732e0===_0x2242e1;},_0x4ce8f2[_0x158cd1(0x208)]=_0x158cd1(0x237);const _0x84606a=_0x4ce8f2,_0x37e0d3=global[_0x158cd1(0x246)],_0x4f5354=_0x37e0d3&&_0x37e0d3[_0x158cd1(0x270)],_0x14a637=_0x4f5354&&_0x4f5354[_0x158cd1(0x254)];if(_0x84606a[_0x158cd1(0x18e)](typeof _0x14a637,_0x84606a['QrrRI'])&&_0x84606a['mBGaJ'](_0x14a637[_0x158cd1(0x223)],0x0))return _0x14a637;let _0x13c316;if(!_0x37e0d3)_0x13c316=_0x84606a[_0x158cd1(0x275)];else!_0x4f5354?_0x13c316=_0x84606a[_0x158cd1(0x272)]:_0x13c316=_0x158cd1(0x17b)+Object[_0x158cd1(0x1a2)](_0x4f5354)['join'](',\x20')+_0x158cd1(0x226)+(_0x84606a[_0x158cd1(0x179)](_0x14a637,undefined)?_0x84606a[_0x158cd1(0x208)]:'\x22'+_0x14a637+'\x22')+'.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.';return logger[_0x158cd1(0x1af)](_0x158cd1(0x265)+_0x13c316+'\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.'),'';},exports[a123_0x3967b3(0x209)]=_0x3f8817=>{const _0x4d1713=a123_0x3967b3,_0xf53a02={};_0xf53a02[_0x4d1713(0x1ba)]=function(_0x204bd2,_0x458e2e){return _0x204bd2===_0x458e2e;},_0xf53a02[_0x4d1713(0x1e4)]=_0x4d1713(0x1cf),_0xf53a02[_0x4d1713(0x1ac)]=_0x4d1713(0x18b);const _0x284218=_0xf53a02;if(_0x3f8817&&_0x3f8817[_0x4d1713(0x1b0)]&&_0x284218['xuRiB'](typeof _0x3f8817['script'],_0x284218['YccIE']))return _0x3f8817[_0x4d1713(0x1b0)][_0x4d1713(0x278)](_0x284218[_0x4d1713(0x1ac)]);return![];},exports[a123_0x3967b3(0x176)]=a123_0x3967b3(0x27b),exports['isMobileScanningEnabledForGroup']=()=>process[a123_0x3967b3(0x229)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']===a123_0x3967b3(0x27e),exports[a123_0x3967b3(0x1e6)]=_0x506637=>{const _0x484fa9=a123_0x3967b3,_0x73aeec={};_0x73aeec[_0x484fa9(0x1e1)]=function(_0x4549cc,_0xfdf9f4){return _0x4549cc in _0xfdf9f4;};const _0x3b4e8a=_0x73aeec;if(bsSetupHelper[_0x484fa9(0x1bf)](_0x506637))return![];const _0x498255=_0x506637[_0x484fa9(0x180)]();return _0x3b4e8a['Nrisu'](_0x498255,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports['getBrowserA11yConfig']=_0x430b2f=>{const _0x54a39b=a123_0x3967b3;if(bsSetupHelper[_0x54a39b(0x1bf)](_0x430b2f))return null;const _0x120f94=_0x430b2f[_0x54a39b(0x180)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x120f94]||null;},exports[a123_0x3967b3(0x23f)]=(_0x3f5689,_0x19b062)=>{const _0x163c2d=a123_0x3967b3,_0x15a90c=this['getBrowserA11yConfig'](_0x3f5689);if(!_0x15a90c)return null;if(_0x19b062)return _0x15a90c[_0x163c2d(0x1cd)];return _0x15a90c[_0x163c2d(0x19d)];},exports[a123_0x3967b3(0x178)]=_0x25bf1b=>{const _0x3a7fcc=a123_0x3967b3,_0x3aeeea=this['getBrowserA11yConfig'](_0x25bf1b);return _0x3aeeea?_0x3aeeea[_0x3a7fcc(0x1ea)]:_0x25bf1b;},exports[a123_0x3967b3(0x27c)]=_0x46705f=>{const _0x5a8f60=a123_0x3967b3,_0x1267ad=this['getBrowserA11yConfig'](_0x46705f);return _0x1267ad?_0x1267ad[_0x5a8f60(0x15f)]:![];},exports['isVersionSupported']=(_0x55495c,_0x191412)=>{const _0x1575fe=a123_0x3967b3,_0x5a769d={'PdSsF':function(_0x35e5f2,_0x3ea1fc){return _0x35e5f2(_0x3ea1fc);},'SWmFm':function(_0x115d80,_0x524f46){return _0x115d80>=_0x524f46;}};if(bsSetupHelper[_0x1575fe(0x1bf)](_0x55495c)||bsSetupHelper[_0x1575fe(0x1bf)](_0x191412))return![];const _0x195ffd=bsSetupHelper['compareVersions'](_0x5a769d[_0x1575fe(0x1bd)](String,_0x55495c),_0x5a769d[_0x1575fe(0x1bd)](String,_0x191412));return _0x5a769d[_0x1575fe(0x1b7)](_0x195ffd,0x0);},exports[a123_0x3967b3(0x1fe)]=_0x35ac10=>{const _0x13116e=a123_0x3967b3,_0x28fe1d={};_0x28fe1d[_0x13116e(0x172)]=function(_0x2be035,_0x203cc7){return _0x2be035!==_0x203cc7;},_0x28fe1d[_0x13116e(0x162)]=_0x13116e(0x1cf),_0x28fe1d[_0x13116e(0x22e)]='base64';const _0x1cc1e1=_0x28fe1d;if(!_0x35ac10||_0x1cc1e1[_0x13116e(0x172)](typeof _0x35ac10,_0x1cc1e1[_0x13116e(0x162)]))return null;try{return JSON[_0x13116e(0x235)](Buffer['from'](_0x35ac10[_0x13116e(0x22a)]('.')[0x1],_0x1cc1e1[_0x13116e(0x22e)])['toString']());}catch{return null;}};
1
+ const a125_0xc7921e=a125_0x1542;function a125_0x97a7(){const _0x5e7599=['performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','isMobileAccessibilitySession','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','false','xmTYe','ZTNBR','dGDGA','stringify','length','507298zAZARc','FduoA','excludeTagsInTestingScope','vMMqE','requireModule','statusText','from','device','dygnD','getGitMetaData','nJTzX','Performed\x20scan\x20with\x20result:\x20','measureWrapper','JFATt','WONEh','iKZny','set','mkNaq','getAccessibilityResults','split','capabilities_','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','parseFromJson','return\x20document.readyState\x20===\x20\x22complete\x22','1585jedXey','jVIdE','Fcjyj','getAccessibilityResultsSummary','rgINN','90cBUaDi','CEulL','BS_A11Y_JWT','ZsDxG','compareVersions','nIlhq','getAccessKey','1039178DDjoJl','373846ePScjs','map','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','caYem','vpwbs','aNKUE','../performance/performance-tester','display_name','stack','xYznv','AlKDa','info','BHLkv','method','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','bVEtS','isBrowserstackInfra','ieTiF','bstackA11yShouldScan','join','JMaQY','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','Authorization','qMneE','parseA11yJwtPayload','error','turMM','getCiInfo','browserstack_executor','getCapabilities','dkudV','getPackageVersion','setNonBstackInfraCapabilities','is_mobile_session','chromeOptions_','accessibility','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','getTestFrameworkDetails','getBrowserVersion','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','startsWith','platformName','yMdrM','No\x20accessibility\x20summary\x20was\x20found.','basename','dcUsq','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','WIaZt','vYPIv','qYdOi','Not\x20a\x20Accessibility\x20Session','shouldScanTestForAccessibility','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','qkktw','No\x20accessibility\x20results\x20were\x20found.','2022300nUhMJh','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','parse','stopAccessibilityTestRun','selenium-webdriver/chrome.js','1002ymfOvF','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','warn','fpGvx','\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.','LZtKX','debug','hwFce','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','isTrue','checkAccessibilityPlatformConfig','getPlatformVersion','./constants','application/json','xFvQQ','MOBILE_SCANNING_DISABLED_WARNING','xZvXk','LCBQZ','javascript','executeAsyncScript','isUndefined','json','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','eBOAf','MeYrj','args','mMjLP','isMobileAccessibilityPlatform','QVGvh','./scripts','iLMBW','RAvAE','kpHcX','XpqSE','chromeOptions','body','--headless=','isBrowserSupportedForAccessibility','../globals','9dfEuXM','cJeWt','buildDescription','getMobileA11yCapabilities','POST','getBrowserA11yConfig','nestedKeyValue','true','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','trim','getUserName','YpwYx','includes','status','version','BROWSERSTACK_TURBOSCALE','Qcdey','undefined','function','isVersionSupported','response','BpqEL','xpqYo','mtACW','util','includeTagsInTestingScope','rpHMQ','Content-Type','mNPEP','script','--headless','3462128ZCXhuU','XFBjr','siCsH','browserName','JAKpK','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','get','Build\x20creation\x20had\x20failed.','NMaWC','NCnxd','nodeRequest','thTestRunUuid','currentTest','__workerDetails','Options','success','PUhWs','eCHPE','Invalid\x20configuration\x20passed.','env','assign','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','a11y:stop','eKutD','getResultsSummary','getHostInfo','android','RZabk','lQeAy','scannerVersion','BROWSERSTACK_TEST_ACCESSIBILITY_YML','auth','OaiHG','euJmo','../performance/constants','string','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','min_version_browserstack','createAccessibilityTestRun','toISOString','VKxBc','PERFORM_SCAN','VMiRV','JCjLW','nonBstackPlatformValidation','--headless=new','a11y:start','wacXP','1sFzyUV','wait','format','pass','ifwqC','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','isBrowserStackCommandExecutor','requires_chrome_options_check','Invalid\x20request:\x20','forEach','chrome','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','platforms','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','Performing\x20scan\x20before\x20getting\x20results\x20summary','getMinVersionForBrowser','browserstackSessionName','global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).','NfEuB','projectName','RfwJw','headers','rjTiY','isAccessibilityAutomationSession','getBrowserDisplayName','sWlVc','dJaNM','message','getGlobal','command','Bearer\x20','winstonLogger','YnYFt','166503fycyIM','isArray','resolve','performScan','base64','8IGlxIs','VtWAy','mergeDeep','Performing\x20scan\x20before\x20getting\x20results','some','selenium-webdriver','wKZIL','ktTgv','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','resolveMobileThTestRunUuid','min_version_non_browserstack','toLowerCase','errors','JIiVV','kkFDe','null','browserstack','data','BNTKv'];a125_0x97a7=function(){return _0x5e7599;};return a125_0x97a7();}(function(_0x19d684,_0x1bb683){const _0x5e82d9=a125_0x1542,_0x3d7d91=_0x19d684();while(!![]){try{const _0x31d1b4=parseInt(_0x5e82d9(0x174))/0x1*(parseInt(_0x5e82d9(0x1db))/0x2)+-parseInt(_0x5e82d9(0x195))/0x3*(-parseInt(_0x5e82d9(0x19a))/0x4)+parseInt(_0x5e82d9(0x1ce))/0x5*(-parseInt(_0x5e82d9(0x219))/0x6)+-parseInt(_0x5e82d9(0x1da))/0x7+-parseInt(_0x5e82d9(0x143))/0x8*(-parseInt(_0x5e82d9(0x240))/0x9)+parseInt(_0x5e82d9(0x1d3))/0xa*(-parseInt(_0x5e82d9(0x1b6))/0xb)+parseInt(_0x5e82d9(0x214))/0xc;if(_0x31d1b4===_0x1bb683)break;else _0x3d7d91['push'](_0x3d7d91['shift']());}catch(_0x1812c4){_0x3d7d91['push'](_0x3d7d91['shift']());}}}(a125_0x97a7,0x45089));const path=require('path'),util=require(a125_0xc7921e(0x13c)),bsSetupHelper=require('../helper'),logger=require('../logger')[a125_0xc7921e(0x193)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a125_0xc7921e(0x225)),PerformanceTester=require(a125_0xc7921e(0x1e1)),scripts=require(a125_0xc7921e(0x236)),globals=require(a125_0xc7921e(0x23f)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a125_0xc7921e(0x166));function a125_0x1542(_0x5b20b0,_0x329946){const _0x97a76a=a125_0x97a7();return a125_0x1542=function(_0x154240,_0x190246){_0x154240=_0x154240-0x13c;let _0x29c9f9=_0x97a76a[_0x154240];return _0x29c9f9;},a125_0x1542(_0x5b20b0,_0x329946);}exports['fetchPlatformDetails']=async _0x4a6e6c=>{const _0x2d7b0b=a125_0xc7921e,_0x5c2fd6={};_0x5c2fd6[_0x2d7b0b(0x20a)]=function(_0x4fe3a4,_0x205eee){return _0x4fe3a4===_0x205eee;},_0x5c2fd6['LCBQZ']=_0x2d7b0b(0x1aa);const _0x3e1d97=_0x5c2fd6;let _0x3a78bd={};try{const _0x166274=await _0x4a6e6c[_0x2d7b0b(0x1f8)]();_0x3a78bd={'os_name':_0x166274['getPlatform'](),'os_version':bsSetupHelper[_0x2d7b0b(0x224)](_0x3e1d97[_0x2d7b0b(0x20a)](global['__cloud_provider___'],_0x3e1d97[_0x2d7b0b(0x22a)])),'browser_name':_0x166274['getBrowserName'](),'browser_version':_0x166274[_0x2d7b0b(0x201)]()};}catch(_0x54464a){logger[_0x2d7b0b(0x21f)](_0x2d7b0b(0x181)+_0x54464a);}return _0x3a78bd;},exports[a125_0xc7921e(0x18b)]=()=>{const _0x36fa22=a125_0xc7921e,_0x8900c3={};_0x8900c3[_0x36fa22(0x1b3)]=function(_0x319ff3,_0xa2d23c){return _0x319ff3===_0xa2d23c;},_0x8900c3['EVoOv']=_0x36fa22(0x167),_0x8900c3[_0x36fa22(0x1d4)]=function(_0x34579e,_0x331123){return _0x34579e>_0x331123;},_0x8900c3[_0x36fa22(0x18d)]=function(_0x39cdd7,_0x367127){return _0x39cdd7!==_0x367127;},_0x8900c3[_0x36fa22(0x1e4)]=_0x36fa22(0x1a9),_0x8900c3['mMjLP']=function(_0x39ebab,_0x81ce7c){return _0x39ebab&&_0x81ce7c;};const _0x32eb9c=_0x8900c3;try{const _0x15f5b4=bsSetupHelper[_0x36fa22(0x222)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x36fa22(0x222)](process[_0x36fa22(0x156)][_0x36fa22(0x1e9)]),_0xba10db=_0x32eb9c[_0x36fa22(0x1b3)](typeof process[_0x36fa22(0x156)][_0x36fa22(0x1d5)],_0x32eb9c['EVoOv'])&&_0x32eb9c[_0x36fa22(0x1d4)](process[_0x36fa22(0x156)][_0x36fa22(0x1d5)][_0x36fa22(0x1b5)],0x0)&&_0x32eb9c['sWlVc'](process[_0x36fa22(0x156)]['BS_A11Y_JWT'],_0x32eb9c[_0x36fa22(0x1e4)]);return _0x32eb9c[_0x36fa22(0x233)](_0x15f5b4,_0xba10db);}catch(_0x12dd86){logger['debug'](_0x36fa22(0x168)+_0x12dd86);}return![];},exports[a125_0xc7921e(0x170)]=(_0x407069,_0x518628)=>{const _0x405335=a125_0xc7921e,_0x278def={'WKfYx':_0x405335(0x146),'rpHMQ':function(_0x230f8f,_0x4a64d5){return _0x230f8f(_0x4a64d5);},'kpHcX':'browserVersion','OaiHG':function(_0x3dad77,_0xe75b1b){return _0x3dad77(_0xe75b1b);},'mNPEP':_0x405335(0x24e),'BpqEL':'bstack:options','dkudV':function(_0x54ca95,_0x5dc1cb){return _0x54ca95(_0x5dc1cb);},'VtWAy':'deviceName','XpqSE':_0x405335(0x1bd),'ifwqC':_0x405335(0x21a),'dygnD':_0x405335(0x218),'Qiuab':_0x405335(0x19f),'vYPIv':'options_','ZTNBR':_0x405335(0x232),'wacXP':_0x405335(0x23b),'XFBjr':_0x405335(0x1f0),'rgINN':'goog:chromeOptions','NfEuB':function(_0x17c6a4,_0x4135b7){return _0x17c6a4===_0x4135b7;},'Qcdey':'chrome','NMaWC':function(_0x12ef41,_0x1dbe2f){return _0x12ef41>=_0x1dbe2f;}},_0x438dff=_0x407069['get'](_0x278def['WKfYx']),_0x5b74c7=_0x278def[_0x405335(0x13e)](parseFloat,_0x407069[_0x405335(0x149)](_0x278def[_0x405335(0x239)]))||_0x278def[_0x405335(0x164)](parseFloat,_0x407069['get'](_0x278def[_0x405335(0x140)])),_0x17c628=_0x407069[_0x405335(0x149)](_0x278def[_0x405335(0x255)])||{},_0x1119ed=_0x278def[_0x405335(0x1f9)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x2f70a1=_0x17c628[_0x278def[_0x405335(0x19b)]]||_0x407069[_0x405335(0x149)](_0x278def[_0x405335(0x23a)])||![];if(_0x2f70a1)return logger[_0x405335(0x21b)](_0x278def[_0x405335(0x178)]),![];let _0x1a3a91;try{_0x1a3a91=bsSetupHelper[_0x405335(0x1ba)](_0x278def[_0x405335(0x1be)],_0x278def['Qiuab']);}catch(_0x32ef91){return![];}const _0x268368=new _0x1a3a91[(_0x405335(0x151))](_0x518628[_0x405335(0x1fd)]),_0xfe539=bsSetupHelper[_0x405335(0x246)](_0x268368,[_0x278def[_0x405335(0x20d)],_0x278def[_0x405335(0x1b2)]])||bsSetupHelper[_0x405335(0x246)](_0x518628[_0x405335(0x1ca)],[_0x278def[_0x405335(0x255)],_0x278def[_0x405335(0x173)],_0x278def[_0x405335(0x1b2)]])||bsSetupHelper['nestedKeyValue'](_0x518628[_0x405335(0x1ca)],[_0x278def[_0x405335(0x173)],_0x278def[_0x405335(0x1b2)]])||[],_0x267e02=Array[_0x405335(0x196)](_0xfe539)?_0xfe539:[];if(_0x267e02[_0x405335(0x19e)](_0x4ce446=>typeof _0x4ce446===_0x405335(0x167)&&(_0x4ce446===_0x405335(0x142)||_0x4ce446[_0x405335(0x205)](_0x405335(0x23d))&&_0x4ce446!==_0x405335(0x171))))return logger[_0x405335(0x21b)](_0x278def[_0x405335(0x144)]),![];const _0x366e06=_0x518628['capabilities_']||{},_0x2e303d=bsSetupHelper[_0x405335(0x246)](_0x366e06,[_0x278def[_0x405335(0x1d2)]])||{},_0x3c2de0=bsSetupHelper[_0x405335(0x246)](_0x2e303d,[_0x278def[_0x405335(0x1b2)]])||[],_0x7b9b0=Array['isArray'](_0x3c2de0)?_0x3c2de0:[];if(_0x7b9b0[_0x405335(0x19e)](_0x5131ef=>typeof _0x5131ef===_0x405335(0x167)&&(_0x5131ef===_0x405335(0x142)||_0x5131ef[_0x405335(0x205)](_0x405335(0x23d))&&_0x5131ef!==_0x405335(0x171))))return logger[_0x405335(0x21b)](_0x278def[_0x405335(0x144)]),![];if(_0x278def[_0x405335(0x186)](_0x438dff['toLowerCase'](),_0x278def[_0x405335(0x250)])&&_0x278def[_0x405335(0x14b)](_0x5b74c7,_0x1119ed))return!![];return logger[_0x405335(0x21b)](_0x405335(0x203)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a125_0xc7921e(0x1fb)]=_0x1946fa=>{const _0x3347ba=a125_0xc7921e,_0x2f9917={};_0x2f9917['VKxBc']='goog:chromeOptions',_0x2f9917['eCHPE']=function(_0x26651c,_0x4c9ecc){return _0x26651c||_0x4c9ecc;},_0x2f9917[_0x3347ba(0x1a0)]=_0x3347ba(0x20f);const _0x1e81c2=_0x2f9917,_0x12712a=scripts['ChromeExtension'];try{const _0x426032=bsSetupHelper[_0x3347ba(0x222)](process['env'][_0x3347ba(0x162)])||bsSetupHelper['isTrue'](process[_0x3347ba(0x156)][_0x3347ba(0x1e9)]);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x3347ba(0x156)][_0x3347ba(0x24f)])&&_0x426032){const _0x361ac7=_0x1946fa[_0x3347ba(0x1f8)](),_0x16c8bf=_0x361ac7[_0x3347ba(0x149)](_0x1e81c2[_0x3347ba(0x16c)]),_0x906ec6=_0x1e81c2[_0x3347ba(0x154)](_0x16c8bf,{});bsSetupHelper[_0x3347ba(0x19c)](_0x906ec6,_0x12712a),_0x1946fa[_0x3347ba(0x1f8)]()[_0x3347ba(0x1c6)](_0x1e81c2['VKxBc'],_0x906ec6);}else logger['warn'](_0x1e81c2[_0x3347ba(0x1a0)]);}catch(_0x197b76){logger[_0x3347ba(0x1f4)](_0x3347ba(0x1ff)+_0x197b76);}},exports[a125_0xc7921e(0x210)]=(_0x1a5519=null,_0x458255=!![],_0x315581=[])=>{const _0x42d7e5=a125_0xc7921e,_0x199454={};_0x199454[_0x42d7e5(0x1d6)]=function(_0x41ab6c,_0x16ea82){return _0x41ab6c==_0x16ea82;},_0x199454[_0x42d7e5(0x1d8)]=function(_0x128de7,_0xa2f49c){return _0x128de7>_0xa2f49c;},_0x199454[_0x42d7e5(0x18e)]=function(_0x5d0b02,_0x240d81){return _0x5d0b02===_0x240d81;},_0x199454['YpwYx']=function(_0xffc88c,_0x198a0){return _0xffc88c&&_0x198a0;},_0x199454[_0x42d7e5(0x1c7)]=function(_0x3d9998,_0x3559c7){return _0x3d9998===_0x3559c7;};const _0x2eb446=_0x199454;if(_0x2eb446['ZsDxG'](process[_0x42d7e5(0x156)][_0x42d7e5(0x215)],null))return!![];try{const _0xc71265=JSON[_0x42d7e5(0x216)](process[_0x42d7e5(0x156)][_0x42d7e5(0x215)]),_0x450006=Array['isArray'](_0xc71265[_0x42d7e5(0x13d)])?_0xc71265['includeTagsInTestingScope']:[],_0x340625=Array[_0x42d7e5(0x196)](_0xc71265[_0x42d7e5(0x1b8)])?_0xc71265[_0x42d7e5(0x1b8)]:[],_0x4adf29=_0x5301dc=>typeof _0x5301dc===_0x42d7e5(0x167)?_0x5301dc['replace'](/^@/,'')[_0x42d7e5(0x1a5)]()[_0x42d7e5(0x249)]():_0x5301dc;if(bsSetupHelper[_0x42d7e5(0x22d)](_0x1a5519)){if(_0x2eb446['nIlhq'](_0x315581[_0x42d7e5(0x1b5)],0x0)){const _0x38c04e=_0x315581[_0x42d7e5(0x1dc)](_0x4adf29),_0x1c1b10=_0x340625[_0x42d7e5(0x19e)](_0x145901=>_0x38c04e[_0x42d7e5(0x24c)](_0x4adf29(_0x145901))),_0x25ea2c=_0x2eb446[_0x42d7e5(0x18e)](_0x450006[_0x42d7e5(0x1b5)],0x0)||_0x450006['some'](_0x2d9e89=>_0x38c04e[_0x42d7e5(0x24c)](_0x4adf29(_0x2d9e89)));return _0x2eb446[_0x42d7e5(0x24b)](!_0x1c1b10,_0x25ea2c);}return!![];}let _0x47bc3b;_0x458255?_0x47bc3b=_0x1a5519['join']('/'):_0x47bc3b=_0x1a5519;const _0xe9b02=_0x340625[_0x42d7e5(0x19e)](_0x2a553e=>_0x47bc3b[_0x42d7e5(0x1a5)]()[_0x42d7e5(0x24c)](_0x4adf29(_0x2a553e)['toLowerCase']())),_0x1fae56=_0x2eb446['mkNaq'](_0x450006[_0x42d7e5(0x1b5)],0x0)||_0x450006[_0x42d7e5(0x19e)](_0xa24127=>_0x47bc3b[_0x42d7e5(0x1a5)]()[_0x42d7e5(0x24c)](_0x4adf29(_0xa24127)['toLowerCase']()));return _0x2eb446[_0x42d7e5(0x24b)](!_0xe9b02,_0x1fae56);}catch(_0x56fda2){logger[_0x42d7e5(0x21f)](_0x42d7e5(0x1af)+util[_0x42d7e5(0x176)](_0x56fda2));}return![];},exports[a125_0xc7921e(0x223)]=_0x485bf5=>{const _0x4cccd0=a125_0xc7921e;let _0x190267=![];try{_0x485bf5[_0x4cccd0(0x180)][_0x4cccd0(0x17d)](_0x4cfd7f=>{const _0x3c9d6a=_0x4cccd0;if(bsSetupHelper[_0x3c9d6a(0x222)](_0x4cfd7f[_0x3c9d6a(0x1fe)]))return _0x190267=!![],!![];});}catch(_0x2f8996){logger[_0x4cccd0(0x21f)](_0x4cccd0(0x148)+_0x2f8996);}return _0x190267||bsSetupHelper['isTrue'](_0x485bf5['accessibility']);},exports[a125_0xc7921e(0x16a)]=PerformanceTester[a125_0xc7921e(0x1c2)](a125_0xc7921e(0x172),async function(_0x3cb3aa,_0x687686){const _0x447eee=a125_0xc7921e,_0x25dee6={};_0x25dee6[_0x447eee(0x1b9)]=_0x447eee(0x17f),_0x25dee6[_0x447eee(0x14c)]='playwright',_0x25dee6[_0x447eee(0x207)]=_0x447eee(0x22b),_0x25dee6[_0x447eee(0x1d0)]=_0x447eee(0x226),_0x25dee6[_0x447eee(0x20e)]=_0x447eee(0x244),_0x25dee6[_0x447eee(0x16e)]='v2/test_runs',_0x25dee6['WONEh']=function(_0x5c2e46,_0x3b6e55){return _0x5c2e46===_0x3b6e55;},_0x25dee6[_0x447eee(0x21c)]=_0x447eee(0x155),_0x25dee6[_0x447eee(0x1c0)]=_0x447eee(0x1b0);const _0xbfd622=_0x25dee6,_0x1c1c6f=bsSetupHelper[_0x447eee(0x24a)](_0x3cb3aa),_0x6ad7bf=bsSetupHelper[_0x447eee(0x1d9)](_0x3cb3aa);if(bsSetupHelper['isUndefined'](_0x1c1c6f)||bsSetupHelper[_0x447eee(0x22d)](_0x6ad7bf))return logger[_0x447eee(0x1f4)](_0xbfd622[_0x447eee(0x1b9)]),[null,null];try{let _0x3bbca7;bsSetupHelper[_0x447eee(0x22d)](process[_0x447eee(0x156)][_0x447eee(0x215)])?_0x3bbca7={}:_0x3bbca7=JSON[_0x447eee(0x216)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x5925b4,version:_0x1f8345}=bsSetupHelper[_0x447eee(0x200)](_0x3cb3aa,_0x687686),_0x1f9569={'projectName':_0x3cb3aa[_0x447eee(0x187)],'buildName':_0x3cb3aa['buildName']||path[_0x447eee(0x209)](path[_0x447eee(0x197)](process['cwd']())),'startTime':new Date()[_0x447eee(0x16b)](),'description':_0x3cb3aa[_0x447eee(0x242)]||'','source':{'frameworkName':_0x687686[_0x447eee(0x24c)](_0xbfd622[_0x447eee(0x14c)])?_0xbfd622['NCnxd']:_0x687686,'frameworkVersion':bsSetupHelper[_0x447eee(0x1fa)](_0x687686),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0xbfd622['yMdrM'],'testFramework':_0x5925b4,'testFrameworkVersion':_0x1f8345},'settings':_0x3bbca7,'versionControl':await bsSetupHelper[_0x447eee(0x1bf)](),'ciInfo':bsSetupHelper[_0x447eee(0x1f6)](),'hostInfo':bsSetupHelper[_0x447eee(0x15d)](),'browserstackAutomation':bsSetupHelper[_0x447eee(0x1eb)]()},_0x573084={};_0x573084['user']=_0x1c1c6f,_0x573084[_0x447eee(0x177)]=_0x6ad7bf;const _0x2fcfba={};_0x2fcfba[_0x447eee(0x13f)]=_0xbfd622[_0x447eee(0x1d0)];const _0x3aa305={};_0x3aa305[_0x447eee(0x163)]=_0x573084,_0x3aa305[_0x447eee(0x189)]=_0x2fcfba;const _0x236202=_0x3aa305,_0x3bb4c5={};_0x3bb4c5['body']=_0x1f9569,_0x3bb4c5[_0x447eee(0x22e)]=!![];const _0x460a12=Object['assign'](_0x236202,_0x3bb4c5),_0x37df9f=await bsSetupHelper[_0x447eee(0x14d)](_0xbfd622[_0x447eee(0x20e)],_0xbfd622[_0x447eee(0x16e)],_0x460a12,_0x3cb3aa,API_URL);let _0x366cbf=process['env'][_0x447eee(0x215)];return _0x366cbf?_0x366cbf=JSON[_0x447eee(0x216)](process['env'][_0x447eee(0x215)]):_0x366cbf={},scripts[_0x447eee(0x1cc)](_0x37df9f[_0x447eee(0x1ab)][_0x447eee(0x1ab)]),scripts['toJson'](),_0x366cbf[_0x447eee(0x161)]=_0x37df9f[_0x447eee(0x1ab)]['data']['scannerVersion'],process[_0x447eee(0x156)][_0x447eee(0x215)]=JSON[_0x447eee(0x1b4)](_0x366cbf),[_0x37df9f['data'][_0x447eee(0x1ab)]['accessibilityToken'],_0x37df9f['data'][_0x447eee(0x1ab)]['id']];}catch(_0x415c2){if(_0x415c2['response'])logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+_0x415c2[_0x447eee(0x254)]['status']+'\x20'+_0x415c2[_0x447eee(0x254)][_0x447eee(0x1bb)]+'\x20'+JSON[_0x447eee(0x1b4)](_0x415c2[_0x447eee(0x254)][_0x447eee(0x1ab)]));else{if(_0xbfd622[_0x447eee(0x1c4)](_0x415c2[_0x447eee(0x18f)],_0xbfd622['fpGvx'])){logger[_0x447eee(0x1f4)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x415c2[_0x447eee(0x18f)]||_0x415c2[_0x447eee(0x1e3)]));for(const _0x1cd1d2 of _0x415c2[_0x447eee(0x1a6)]){logger['error'](_0x1cd1d2['message']);}process[_0x447eee(0x156)][_0x447eee(0x162)]=_0xbfd622[_0x447eee(0x1c0)],process[_0x447eee(0x156)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0xbfd622[_0x447eee(0x1c0)];}else logger['error'](_0x447eee(0x158)+(_0x415c2[_0x447eee(0x18f)]||_0x415c2[_0x447eee(0x1e3)]));}return[null,null];}}),exports[a125_0xc7921e(0x217)]=PerformanceTester[a125_0xc7921e(0x1c2)](a125_0xc7921e(0x15a),async function(_0x1f5274){const _0x17c8aa=a125_0xc7921e,_0x164519={};_0x164519[_0x17c8aa(0x1de)]=function(_0x4444c5,_0x2eb873){return _0x4444c5!==_0x2eb873;},_0x164519[_0x17c8aa(0x241)]=_0x17c8aa(0x167),_0x164519[_0x17c8aa(0x1b1)]=_0x17c8aa(0x1f4),_0x164519[_0x17c8aa(0x1cf)]=_0x17c8aa(0x14a),_0x164519[_0x17c8aa(0x18a)]=_0x17c8aa(0x226),_0x164519['gUjNX']='PUT',_0x164519['UtipC']='test_runs/stop',_0x164519[_0x17c8aa(0x1df)]=function(_0x434f03,_0x435d91){return _0x434f03+_0x435d91;},_0x164519[_0x17c8aa(0x165)]=_0x17c8aa(0x17c),_0x164519[_0x17c8aa(0x220)]=_0x17c8aa(0x152);const _0x4ba28e=_0x164519;if(bsSetupHelper[_0x17c8aa(0x22d)](process['env'][_0x17c8aa(0x1d5)])||_0x4ba28e[_0x17c8aa(0x1de)](typeof process[_0x17c8aa(0x156)][_0x17c8aa(0x1d5)],_0x4ba28e[_0x17c8aa(0x241)])){const _0x5f0553={};return _0x5f0553[_0x17c8aa(0x24d)]=_0x4ba28e[_0x17c8aa(0x1b1)],_0x5f0553[_0x17c8aa(0x18f)]=_0x4ba28e['jVIdE'],_0x5f0553;}const _0x4624b9={'endTime':new Date()[_0x17c8aa(0x16b)]()},_0xeb29a1={};_0xeb29a1[_0x17c8aa(0x1f1)]=_0x17c8aa(0x192)+process[_0x17c8aa(0x156)]['BS_A11Y_JWT'],_0xeb29a1[_0x17c8aa(0x13f)]=_0x4ba28e[_0x17c8aa(0x18a)];const _0x5cd86f={};_0x5cd86f[_0x17c8aa(0x189)]=_0xeb29a1;const _0x452917=_0x5cd86f,_0x803771={};_0x803771[_0x17c8aa(0x23c)]=_0x4624b9,_0x803771['auth']=null,_0x803771[_0x17c8aa(0x22e)]=!![];const _0x354ded=Object[_0x17c8aa(0x157)](_0x452917,_0x803771);try{const _0x59d3fa=await bsSetupHelper[_0x17c8aa(0x14d)](_0x4ba28e['gUjNX'],_0x4ba28e['UtipC'],_0x354ded,_0x1f5274,API_URL);if(_0x59d3fa[_0x17c8aa(0x1ab)][_0x17c8aa(0x1f4)])throw new Error(_0x4ba28e['vpwbs'](_0x4ba28e[_0x17c8aa(0x165)],_0x59d3fa[_0x17c8aa(0x1ab)]['error']));else{logger[_0x17c8aa(0x1e6)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x17c8aa(0x16b)]());const _0x43e76c={};return _0x43e76c[_0x17c8aa(0x24d)]=_0x4ba28e[_0x17c8aa(0x220)],_0x43e76c[_0x17c8aa(0x18f)]='',_0x43e76c;}}catch(_0xf1e364){_0xf1e364['response']?logger[_0x17c8aa(0x1f4)](_0x17c8aa(0x1a2)+_0xf1e364[_0x17c8aa(0x254)]['status']+'\x20'+_0xf1e364[_0x17c8aa(0x254)][_0x17c8aa(0x1bb)]+'\x20'+JSON[_0x17c8aa(0x1b4)](_0xf1e364['response'][_0x17c8aa(0x1ab)])):logger[_0x17c8aa(0x1f4)](_0x17c8aa(0x1a2)+(_0xf1e364[_0x17c8aa(0x18f)]||util[_0x17c8aa(0x176)](_0xf1e364)));const _0x1641f4={};return _0x1641f4[_0x17c8aa(0x24d)]=_0x4ba28e[_0x17c8aa(0x1b1)],_0x1641f4[_0x17c8aa(0x18f)]=_0xf1e364[_0x17c8aa(0x18f)]||(_0xf1e364[_0x17c8aa(0x254)]?_0xf1e364[_0x17c8aa(0x254)][_0x17c8aa(0x24d)]+':'+_0xf1e364['response'][_0x17c8aa(0x1bb)]:_0xf1e364),_0x1641f4;}}),exports[a125_0xc7921e(0x198)]=async(_0x27526a,_0x4eb5d5=null,_0x3b4a52=![],_0x2929d5=null)=>{const _0x5de323=a125_0xc7921e,_0x133c51={};_0x133c51[_0x5de323(0x21e)]='isAccessibilityPlatform',_0x133c51['ksuet']=_0x5de323(0x1ed),_0x133c51[_0x5de323(0x1ac)]=_0x5de323(0x179),_0x133c51[_0x5de323(0x1e5)]=function(_0x4ce24b,_0x14de0f){return _0x4ce24b||_0x14de0f;},_0x133c51['aRcEH']='bstackA11yScanOptions',_0x133c51[_0x5de323(0x235)]=_0x5de323(0x1ad);const _0x3d8b31=_0x133c51;if(!this[_0x5de323(0x18b)]()||!globals[_0x5de323(0x190)](_0x3d8b31[_0x5de323(0x21e)])||!_0x3b4a52&&!globals[_0x5de323(0x190)](_0x3d8b31['ksuet'])){logger[_0x5de323(0x21b)](_0x3d8b31[_0x5de323(0x1ac)]);return;}const _0x5bd587=_0x3b4a52?_0x3d8b31[_0x5de323(0x1e5)](_0x2929d5,{}):globals[_0x5de323(0x190)](_0x3d8b31['aRcEH'])||{},_0x2469bd={};_0x2469bd['method']=_0x4eb5d5||global[_0x5de323(0x184)];const _0x2b1822=Object['assign']({},_0x5bd587,_0x2469bd);await this['isMobileAccessibilitySession'](_0x27526a)&&(Object[_0x5de323(0x157)](_0x2b1822,this[_0x5de323(0x243)](),{'thTestRunUuid':this[_0x5de323(0x1a3)]()}),logger[_0x5de323(0x21f)](_0x3d8b31['QVGvh']));logger[_0x5de323(0x21f)](_0x5de323(0x221)+util[_0x5de323(0x176)]('%j',_0x2b1822));const _0xf4ea6f={};return _0xf4ea6f[_0x5de323(0x191)]=_0x4eb5d5,await PerformanceTester[_0x5de323(0x1c2)](PerformanceA11yEvents[_0x5de323(0x16d)],async()=>{const _0x4c8ff1=_0x5de323;try{await _0x27526a[_0x4c8ff1(0x175)](()=>_0x27526a['executeScript'](_0x4c8ff1(0x1cd)),0x1388);}catch(_0x5151ef){}const _0xef2e4a=util[_0x4c8ff1(0x176)](await _0x27526a['executeAsyncScript'](scripts[_0x4c8ff1(0x198)],_0x2b1822));return logger[_0x4c8ff1(0x21f)](_0x4c8ff1(0x1c1)+_0xef2e4a),_0xef2e4a;},_0xf4ea6f)();},exports[a125_0xc7921e(0x1c8)]=async(_0x42152d,_0x10f7bb)=>{const _0x57eea6=a125_0xc7921e,_0x159783={};_0x159783[_0x57eea6(0x16f)]=_0x57eea6(0x19d),_0x159783['risbT']='isAccessibilityPlatform',_0x159783[_0x57eea6(0x257)]='bstackA11yShouldScan',_0x159783['ieTiF']=_0x57eea6(0x1dd),_0x159783[_0x57eea6(0x1a8)]=_0x57eea6(0x1c8),_0x159783['turMM']=_0x57eea6(0x213);const _0x14dfe4=_0x159783;if(!this['isAccessibilityAutomationSession']()||!globals[_0x57eea6(0x190)](_0x14dfe4['risbT'])||!globals[_0x57eea6(0x190)](_0x14dfe4[_0x57eea6(0x257)]))return logger[_0x57eea6(0x21b)](_0x14dfe4[_0x57eea6(0x1ec)]),[];try{const _0x58e0c6=await this[_0x57eea6(0x1ae)](_0x42152d),_0x563935=_0x58e0c6?Object[_0x57eea6(0x157)]({},this[_0x57eea6(0x243)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x58e0c6&&logger[_0x57eea6(0x21f)](_0x57eea6(0x211)+util[_0x57eea6(0x176)]('%j',_0x563935)),await PerformanceTester[_0x57eea6(0x1c2)](PerformanceA11yEvents[_0x57eea6(0x16d)],async()=>{const _0x44625=_0x57eea6;logger['debug'](_0x14dfe4['JCjLW']);const _0x143f08={};_0x143f08[_0x44625(0x1e8)]=_0x10f7bb[_0x44625(0x184)];const _0x387866=Object[_0x44625(0x157)](_0x143f08,_0x563935);logger[_0x44625(0x21f)](util['format'](await _0x42152d['executeAsyncScript'](scripts[_0x44625(0x198)],_0x387866)));},{'command':_0x14dfe4[_0x57eea6(0x1a8)]})(),await PerformanceTester[_0x57eea6(0x1c2)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x1da54c=_0x57eea6,_0x36b730=_0x58e0c6?await _0x42152d['executeAsyncScript'](scripts['getResults'],_0x563935):await _0x42152d[_0x1da54c(0x22c)](scripts['getResults']);return _0x36b730;})();}catch{return logger[_0x57eea6(0x1f4)](_0x14dfe4[_0x57eea6(0x1f5)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x51a88f,_0x204c54)=>{const _0x38032f=a125_0xc7921e,_0x59c597={};_0x59c597['iKZny']=_0x38032f(0x182),_0x59c597[_0x38032f(0x147)]='isAccessibilityPlatform',_0x59c597['GIOhc']='bstackA11yShouldScan',_0x59c597[_0x38032f(0x212)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x59c597[_0x38032f(0x1c3)]=_0x38032f(0x1d1),_0x59c597['lQeAy']=_0x38032f(0x208);const _0x2620af=_0x59c597;if(!this[_0x38032f(0x18b)]()||!globals[_0x38032f(0x190)](_0x2620af['JAKpK'])||!globals[_0x38032f(0x190)](_0x2620af['GIOhc']))return logger['warn'](_0x2620af['qkktw']),{};try{const _0x271591=await this[_0x38032f(0x1ae)](_0x51a88f),_0x5a52d7=_0x271591?Object[_0x38032f(0x157)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x38032f(0x1a3)]()}):{};return _0x271591&&logger[_0x38032f(0x21f)](_0x38032f(0x248)+util['format']('%j',_0x5a52d7)),await PerformanceTester[_0x38032f(0x1c2)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x54e138=_0x38032f;logger[_0x54e138(0x21f)](_0x2620af[_0x54e138(0x1c5)]);const _0x547970={};_0x547970[_0x54e138(0x1e8)]=_0x204c54['browserstackSessionName'];const _0x2c391a=Object[_0x54e138(0x157)](_0x547970,_0x5a52d7);logger['debug'](util[_0x54e138(0x176)](await _0x51a88f[_0x54e138(0x22c)](scripts[_0x54e138(0x198)],_0x2c391a)));},{'command':_0x2620af[_0x38032f(0x1c3)]})(),await PerformanceTester[_0x38032f(0x1c2)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x2256f9=_0x38032f,_0x207b13=_0x271591?await _0x51a88f[_0x2256f9(0x22c)](scripts[_0x2256f9(0x15c)],_0x5a52d7):await _0x51a88f[_0x2256f9(0x22c)](scripts['getResultsSummary']);return _0x207b13;})();}catch{return logger['error'](_0x2620af[_0x38032f(0x160)]),{};}},exports['isMobileAccessibilityPlatform']=(_0x55432b,_0x181f5a=![])=>{const _0xe2ee8b=a125_0xc7921e,_0x763092={'aNKUE':function(_0x5ea12c,_0x7f6359){return _0x5ea12c(_0x7f6359);},'gMetm':_0xe2ee8b(0x206),'RZabk':'platform','iLMBW':function(_0x7af6df,_0x57f22e){return _0x7af6df!==_0x57f22e;},'YnYFt':_0xe2ee8b(0x15e),'xZvXk':function(_0x29dba2,_0x11a85e){return _0x29dba2(_0x11a85e);},'FduoA':_0xe2ee8b(0x146),'nmIxI':_0xe2ee8b(0x17e),'JMaQY':'Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','ktTgv':'Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)'};try{if(!_0x55432b)return![];const _0x451035=_0x1937cf=>typeof _0x55432b[_0xe2ee8b(0x149)]===_0xe2ee8b(0x252)?_0x55432b[_0xe2ee8b(0x149)](_0x1937cf):_0x55432b[_0x1937cf],_0x8400f7=_0x763092[_0xe2ee8b(0x1e0)](String,_0x763092[_0xe2ee8b(0x1e0)](_0x451035,_0x763092['gMetm'])||_0x763092['aNKUE'](_0x451035,_0x763092[_0xe2ee8b(0x15f)])||'')[_0xe2ee8b(0x1a5)]();if(_0x763092[_0xe2ee8b(0x237)](_0x8400f7,_0x763092[_0xe2ee8b(0x194)]))return![];const _0x25524d=_0x763092[_0xe2ee8b(0x229)](String,_0x763092[_0xe2ee8b(0x1e0)](_0x451035,_0x763092[_0xe2ee8b(0x1b7)])||'')[_0xe2ee8b(0x1a5)]();if(!_0x25524d[_0xe2ee8b(0x24c)](_0x763092['nmIxI']))return _0x181f5a&&logger['warn'](_0x763092[_0xe2ee8b(0x1ef)]),![];return logger['debug'](_0x763092[_0xe2ee8b(0x1a1)]),!![];}catch(_0xcee9bb){return logger[_0xe2ee8b(0x21f)](_0xe2ee8b(0x20b)+_0xcee9bb),![];}},exports[a125_0xc7921e(0x1ae)]=async _0x2d4179=>{const _0x736c4a=a125_0xc7921e;try{const _0x5c9eb0=await _0x2d4179[_0x736c4a(0x1f8)]();return exports[_0x736c4a(0x234)](_0x5c9eb0);}catch(_0x95c955){return logger[_0x736c4a(0x21f)](_0x736c4a(0x159)+_0x95c955),![];}},exports[a125_0xc7921e(0x243)]=()=>{const _0x1a419f=a125_0xc7921e,_0x1882a1={};return _0x1882a1[_0x1a419f(0x1fc)]=!![],_0x1882a1;},exports['resolveMobileThTestRunUuid']=()=>{const _0x4c2e5b=a125_0xc7921e,_0xe36ca5={};_0xe36ca5[_0x4c2e5b(0x1e7)]=function(_0x4176db,_0x461ea6){return _0x4176db===_0x461ea6;},_0xe36ca5['RAvAE']='string',_0xe36ca5[_0x4c2e5b(0x188)]=function(_0x3abca9,_0x1b65f4){return _0x3abca9>_0x1b65f4;},_0xe36ca5['NPDTi']=_0x4c2e5b(0x185),_0xe36ca5['PUhWs']=_0x4c2e5b(0x22f),_0xe36ca5['WIaZt']=_0x4c2e5b(0x251);const _0x1c2615=_0xe36ca5,_0x5798c5=global[_0x4c2e5b(0x150)],_0x29a349=_0x5798c5&&_0x5798c5[_0x4c2e5b(0x14f)],_0x2a7fcb=_0x29a349&&_0x29a349[_0x4c2e5b(0x14e)];if(_0x1c2615[_0x4c2e5b(0x1e7)](typeof _0x2a7fcb,_0x1c2615[_0x4c2e5b(0x238)])&&_0x1c2615[_0x4c2e5b(0x188)](_0x2a7fcb[_0x4c2e5b(0x1b5)],0x0))return _0x2a7fcb;let _0x2d5f1c;if(!_0x5798c5)_0x2d5f1c=_0x1c2615['NPDTi'];else!_0x29a349?_0x2d5f1c=_0x1c2615[_0x4c2e5b(0x153)]:_0x2d5f1c='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object['keys'](_0x29a349)[_0x4c2e5b(0x1ee)](',\x20')+']\x20but\x20thTestRunUuid\x20is\x20'+(_0x1c2615[_0x4c2e5b(0x1e7)](_0x2a7fcb,undefined)?_0x1c2615[_0x4c2e5b(0x20c)]:'\x22'+_0x2a7fcb+'\x22')+_0x4c2e5b(0x204);return logger[_0x4c2e5b(0x21b)]('[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20'+_0x2d5f1c+_0x4c2e5b(0x21d)),'';},exports[a125_0xc7921e(0x17a)]=_0x48a751=>{const _0x42383b=a125_0xc7921e,_0x9d96c9={};_0x9d96c9[_0x42383b(0x1f2)]=function(_0x3be64c,_0x3e44de){return _0x3be64c===_0x3e44de;},_0x9d96c9['siCsH']=_0x42383b(0x167),_0x9d96c9[_0x42383b(0x1a7)]=_0x42383b(0x1f7);const _0x205814=_0x9d96c9;if(_0x48a751&&_0x48a751['script']&&_0x205814[_0x42383b(0x1f2)](typeof _0x48a751[_0x42383b(0x141)],_0x205814[_0x42383b(0x145)]))return _0x48a751[_0x42383b(0x141)][_0x42383b(0x24c)](_0x205814[_0x42383b(0x1a7)]);return![];},exports[a125_0xc7921e(0x228)]=a125_0xc7921e(0x202),exports['isMobileScanningEnabledForGroup']=()=>process[a125_0xc7921e(0x156)][a125_0xc7921e(0x1cb)]===a125_0xc7921e(0x247),exports[a125_0xc7921e(0x23e)]=_0xe5cb19=>{const _0x2e7b13=a125_0xc7921e,_0x1c1364={};_0x1c1364[_0x2e7b13(0x256)]=function(_0x3e0051,_0xae877){return _0x3e0051 in _0xae877;};const _0x188942=_0x1c1364;if(bsSetupHelper[_0x2e7b13(0x22d)](_0xe5cb19))return![];const _0x490c4a=_0xe5cb19[_0x2e7b13(0x1a5)]();return _0x188942[_0x2e7b13(0x256)](_0x490c4a,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports['getBrowserA11yConfig']=_0x2c2e5f=>{const _0x293ba3=a125_0xc7921e;if(bsSetupHelper[_0x293ba3(0x22d)](_0x2c2e5f))return null;const _0x4453d2=_0x2c2e5f['toLowerCase']();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x4453d2]||null;},exports[a125_0xc7921e(0x183)]=(_0x469594,_0x3574f1)=>{const _0x2cefbb=a125_0xc7921e,_0x8393ed=this[_0x2cefbb(0x245)](_0x469594);if(!_0x8393ed)return null;if(_0x3574f1)return _0x8393ed[_0x2cefbb(0x169)];return _0x8393ed[_0x2cefbb(0x1a4)];},exports[a125_0xc7921e(0x18c)]=_0x812617=>{const _0x17a511=a125_0xc7921e,_0x226f8d=this['getBrowserA11yConfig'](_0x812617);return _0x226f8d?_0x226f8d[_0x17a511(0x1e2)]:_0x812617;},exports['requiresChromeOptionsValidation']=_0x5a6581=>{const _0xed6df5=a125_0xc7921e,_0x5cb77e=this[_0xed6df5(0x245)](_0x5a6581);return _0x5cb77e?_0x5cb77e[_0xed6df5(0x17b)]:![];},exports[a125_0xc7921e(0x253)]=(_0x21c9a8,_0x38ecfd)=>{const _0x2ec0ed=a125_0xc7921e,_0x3b5f2d={'bVEtS':function(_0x13153e,_0x1681df){return _0x13153e(_0x1681df);},'MeYrj':function(_0x4f3d3e,_0x344cb9){return _0x4f3d3e>=_0x344cb9;}};if(bsSetupHelper[_0x2ec0ed(0x22d)](_0x21c9a8)||bsSetupHelper['isUndefined'](_0x38ecfd))return![];const _0x29c468=bsSetupHelper[_0x2ec0ed(0x1d7)](_0x3b5f2d['bVEtS'](String,_0x21c9a8),_0x3b5f2d[_0x2ec0ed(0x1ea)](String,_0x38ecfd));return _0x3b5f2d[_0x2ec0ed(0x231)](_0x29c468,0x0);},exports[a125_0xc7921e(0x1f3)]=_0x423077=>{const _0x422495=a125_0xc7921e,_0x2b2940={};_0x2b2940[_0x422495(0x230)]=function(_0x5da2f9,_0xa0023a){return _0x5da2f9!==_0xa0023a;},_0x2b2940[_0x422495(0x227)]=_0x422495(0x167),_0x2b2940[_0x422495(0x15b)]=_0x422495(0x199);const _0x1f219d=_0x2b2940;if(!_0x423077||_0x1f219d[_0x422495(0x230)](typeof _0x423077,_0x1f219d[_0x422495(0x227)]))return null;try{return JSON[_0x422495(0x216)](Buffer[_0x422495(0x1bc)](_0x423077[_0x422495(0x1c9)]('.')[0x1],_0x1f219d[_0x422495(0x15b)])['toString']());}catch{return null;}};