browserstack-node-sdk 1.42.2 → 1.42.3

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 (176) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.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/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
package/src/index.js CHANGED
@@ -1 +1 @@
1
- function a135_0x7b04(){const _0xc61be7=['IjBCc','fvqEv','overrideGet','browserStackLogLevel','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','./hubAllocationMethods','./helpers/accessibility-automation/helper','setAdditionalCapabilities','/session','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','setFramework','2|7|1|6|0|5|4|3','newHubUrl','setLogLevel','WFNmY','bstackA11yShouldScan','CkkXK','Proxy\x20set\x20to\x20','AqjSi','GJXWs','ieOptions_','oUSZY','Izlwb','framework','util','isAccessibilityPlatform','PqAnv','MRnjs','mKjJq','BrowserStackSdk','2456OqPhVE','kQcsJ','SpwWs','selenium-webdriver','RyICe','overrideQuit','nEkyU','rEaoU','agent_','build','RJAPb','__setBrowserOptions','url_','PUjjL','split','vRCDm','patchDriverPercy','capabilities_','EaPpX','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','gBIqi','OjwwY','moz:firefoxOptions','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','FtjAf','mergeDeep','GUnKa','HKzsE','3867EMazCQ','set','winstonLogger','isUndefined','YPKrE','optimalHubUrl','browserstackAgent','zMqfR','setGlobal','Bivnm','hDvsT','session_','./helpers/ai-sdk/autoHealHelper','dSonQ','gnVse','shouldWrapCommand','AtUwX','./helpers/accessibility-automation/scripts','requireSeleniumWebdriver','path','dxaZZ','options_','./bin/mocha/accessibility-automation/helper','noRAD','JaWtY','yLZzT','xukNF','then','__driver','capability','isPacProxy','jest','xCleB','LJQPI','storeOptimalHubUrl','ukSmw','UzYOn','fmPQW','YGAdI','exports','aiSdk_framework','2336370XMGeuU','setCapabilities','se:ieOptions','CAPABILITY_KEY','object','sJXNm','./helpers/globals','DBWJD','measureWrapper','WebElement','proxy_','firefoxOptions','HttpClient','getRequestOptions','https://','./browserStackSdk','browserstack.com','TzInf','1CqnwPA','quitCount_','Modifying\x20webdriver\x20builder','safari.options','XSqRt','New\x20hub\x20url\x20set\x20to\x20','goog:chromeOptions','zdYhD','browserStackGlobals','Builder','GTNwJ','execute','JbNvF','tVMVs','aiHeal_isAuthenticated','MLScD','YCptG','Error\x20in\x20setting\x20driver\x20Session\x20ID\x20to\x20global\x20drivers\x20array:\x20','getId','OnxcD','requireModule','chromeOptions','VWhMF','AOayC','Modifying\x20webdriver\x20execute','hfRHv','getAccessibilityResults','caps_','26147330CweOEB','Disabling\x20healing\x20via\x20Browserstack\x20SDK\x20since\x20the\x20session\x20is\x20being\x20run\x20on\x20Browserstack\x20Infra','xKyks','GrAlC','setting\x20driver\x20Session\x20ID:\x20','env','ZHUBf','getHttpAgent','ms:edgeOptions','kUFeu','fhdWs','prepareCapabilities','push','1671080TbdzKo','eiYpM','PoApz','selenium-webdriver/lib/webdriver.js','WebDriver','QRALJ','__drivers','__driversArray','Session\x20ID:\x20','Setting\x20Browserstack\x20capabilities','nwYKI','updateHubUrl','getGlobal','edgeOptions_','1557156LQVkCd','ieOptions','MZGQr','get','proxyUrl','Hub\x20url\x20set\x20to\x20','performScan','SDK_POST_INITIALIZE','getHubUrl','./helpers/helper','cTtxh','safariOptions_','XEtJl','kUljp','pnTjy','oQgTu','rANUJ','arGlQ','./helpers/performance/performance-tester','isTurboScaleSession','Executor','acIXU','ZGmyz','logLevel','2|5|0|6|4|1|7|3','aiHeal_isHealingEnabled','forEach','./helpers/logger','originalBuilder','LvTPn','QLvAz','getAccessibilityResultsSummary','firefoxOptions_','capabilities','length','aiSdk_bstackConfig','debug','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','./helpers/performance/constants','hWNAn','getServerUrl','send','error','format','NBEFi','proxySettings','keys','PQOhI','DlfQp','1|5|4|3|0|2','tRRPM','zuGyF','UTjhH','XPfVT','fJtoV','pushCommand','rIbeP','Rtwid','chromeOptions_','/wd/hub','isArray','LClLF','SDK_PRE_INITIALIZE','VaLaO','CuaxH','catch','qBQeW','zcXQP','browserstackAgentV2','prototype','_modifyPlaywright','KdfkY','216944PxsaNu','readTcgAuthConfigToGlobal','rKgUS','./helpers/patchHelper','qlyGY','setServer','requireHttpClient','includes','qVJVH','isBrowserstackInfra','EZPay','182eeUeOV','global','name_','161469SOZJjk','OUvNT','TEbBy','GKznX','poZPs','sjFTG','./helpers/percy/PercySDK'];a135_0x7b04=function(){return _0xc61be7;};return a135_0x7b04();}function a135_0x25c0(_0x47aa4f,_0xca9b8a){const _0x7b04e1=a135_0x7b04();return a135_0x25c0=function(_0x25c0af,_0x5e6f99){_0x25c0af=_0x25c0af-0x94;let _0x5ed87d=_0x7b04e1[_0x25c0af];return _0x5ed87d;},a135_0x25c0(_0x47aa4f,_0xca9b8a);}const a135_0x22783c=a135_0x25c0;(function(_0x1dd96a,_0xba915f){const _0x5b485a=a135_0x25c0,_0x59a154=_0x1dd96a();while(!![]){try{const _0x4299e8=parseInt(_0x5b485a(0xa9))/0x1*(-parseInt(_0x5b485a(0xe0))/0x2)+-parseInt(_0x5b485a(0x177))/0x3*(parseInt(_0x5b485a(0x15b))/0x4)+-parseInt(_0x5b485a(0xd2))/0x5+parseInt(_0x5b485a(0x97))/0x6+-parseInt(_0x5b485a(0x133))/0x7*(parseInt(_0x5b485a(0x128))/0x8)+parseInt(_0x5b485a(0x136))/0x9+parseInt(_0x5b485a(0xc5))/0xa;if(_0x4299e8===_0xba915f)break;else _0x59a154['push'](_0x59a154['shift']());}catch(_0x14596e){_0x59a154['push'](_0x59a154['shift']());}}}(a135_0x7b04,0x64c59));const util=require(a135_0x22783c(0x155)),{overrideTakeScreenshot}=require('./helpers/patchHelpers'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults,isBrowserStackCommandExecutor,performScan}=require(a135_0x22783c(0x143)),{setAccessibilityCapabilities,setExtension}=require(a135_0x22783c(0x18d)),helper=require(a135_0x22783c(0xe9)),logger=require(a135_0x22783c(0xfb))[a135_0x22783c(0x179)],hubAllocator=require(a135_0x22783c(0x142)),percySDK=require(a135_0x22783c(0x13c)),percyHelper=require('./helpers/percy/utils'),BrowserStackSdk=require(a135_0x22783c(0xa6)),modifyPlaywrightConfig=require('./bin/playwright/modifyPlaywrightConf'),scripts=require(a135_0x22783c(0x188)),globals=require(a135_0x22783c(0x9d)),{commandRepository}=require(a135_0x22783c(0x183)),{aiSdkWrapper}=require('./helpers/ai-sdk/aiSdkWrapper'),{overrideExecute}=require(a135_0x22783c(0x12b)),PerformanceTester=require(a135_0x22783c(0xf2)),{EVENTS:PerformanceEvents,A11Y_EVENTS:PerformanceA11yEvents}=require(a135_0x22783c(0x106)),{nonBstackPlatformValidation}=require(a135_0x22783c(0x143)),modify=_0x20b0ff=>{const _0x2173ac=a135_0x22783c,_0x22a66={'ukSmw':function(_0x147693,_0x3e136a){return _0x147693!==_0x3e136a;},'mapKg':_0x2173ac(0x145),'iEGHG':function(_0x3f3f3d,_0x1d247c){return _0x3f3f3d!==_0x1d247c;},'YCptG':function(_0x1f9af1,_0x3aa05f){return _0x1f9af1+_0x3aa05f;},'ZHUBf':function(_0x42596b,_0x19d390){return _0x42596b+_0x19d390;},'FOnOo':_0x2173ac(0xa5),'hXBuP':_0x2173ac(0x11b),'hROek':_0x2173ac(0xaf),'OjwwY':_0x2173ac(0xbe),'TEbBy':_0x2173ac(0xcd),'GrAlC':'edgeOptions','BOgnE':'moz:firefoxOptions','VaLaO':_0x2173ac(0xa2),'PUjjL':_0x2173ac(0xac),'rEaoU':'se:ieOptions','YPKrE':_0x2173ac(0xe1),'dSonQ':function(_0x469a20,_0x55871a){return _0x469a20===_0x55871a;},'AOayC':_0x2173ac(0x9b),'fvqEv':_0x2173ac(0xdb),'kUFeu':_0x2173ac(0xf8),'XPfVT':function(_0x355e2b){return _0x355e2b();},'zMqfR':function(_0x2af19d,_0x177f14){return _0x2af19d(_0x177f14);},'rANUJ':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','arGlQ':_0x2173ac(0x156),'cTtxh':function(_0x24d7e2,_0xb1dfd3,_0x23390a){return _0x24d7e2(_0xb1dfd3,_0x23390a);},'UTjhH':_0x2173ac(0x17c),'Izlwb':_0x2173ac(0x146),'qlyGY':function(_0x1606b8,_0x1e726d,_0x4e4313){return _0x1606b8(_0x1e726d,_0x4e4313);},'kUljp':function(_0x37da7f,_0x2ce9c2){return _0x37da7f(_0x2ce9c2);},'WFNmY':function(_0x33f5e8,_0x4330ea,_0x442af3){return _0x33f5e8(_0x4330ea,_0x442af3);},'PcKAf':function(_0x46b8ab,_0x28e142){return _0x46b8ab(_0x28e142);},'JbNvF':_0x2173ac(0x141),'VTBTs':_0x2173ac(0xab)};logger['info'](_0x22a66[_0x2173ac(0xb5)]),logger['debug'](_0x22a66['VTBTs']);const _0x4bea17=helper[_0x2173ac(0x189)](),_0x4a0026=helper['requireHttpClient']();class _0xef7fa0 extends _0x4a0026[_0x2173ac(0xa3)]{[_0x2173ac(0x109)](_0x5c0216){const _0x555235=_0x2173ac;if(_0x22a66[_0x555235(0x19a)](_0x5c0216[_0x555235(0x18a)],_0x22a66['mapKg'])&&_0x22a66['iEGHG'](global[_0x555235(0x149)],''))try{global[_0x555235(0x149)]=_0x22a66[_0x555235(0xb9)](_0x22a66[_0x555235(0xcb)](_0x22a66['FOnOo'],global[_0x555235(0x149)]),_0x22a66['hXBuP']),this['options_']=hubAllocator[_0x555235(0xa4)](global[_0x555235(0x149)]),logger[_0x555235(0x104)](_0x555235(0xae)+global[_0x555235(0x149)]),global[_0x555235(0x149)]='';}catch(_0x623caa){logger[_0x555235(0x10a)](_0x623caa);}return super[_0x555235(0x109)](_0x5c0216);}}class _0x4c7702 extends _0x4bea17[_0x2173ac(0xb2)]{[_0x2173ac(0x166)](_0x175609){const _0x306c74=_0x2173ac;let _0x1644be={};for(const _0x38c813 in _0x175609){switch(_0x38c813){case _0x22a66['hROek']:case _0x22a66[_0x306c74(0x170)]:this['chromeOptions_']&&(_0x1644be=this['chromeOptions_'][_0x306c74(0xe3)](this['chromeOptions_'][_0x306c74(0x9a)])||{},this['chromeOptions_'][_0x306c74(0x178)](this[_0x306c74(0x11a)][_0x306c74(0x9a)],helper[_0x306c74(0x174)](_0x1644be,_0x175609[_0x38c813])));break;case _0x22a66[_0x306c74(0x138)]:case _0x22a66[_0x306c74(0xc8)]:this[_0x306c74(0xdf)]&&(_0x1644be=this[_0x306c74(0xdf)][_0x306c74(0xe3)](this['edgeOptions_'][_0x306c74(0x9a)])||{},this[_0x306c74(0xdf)][_0x306c74(0x178)](this['edgeOptions_'][_0x306c74(0x9a)],helper[_0x306c74(0x174)](_0x1644be,_0x175609[_0x38c813])));break;case _0x22a66['BOgnE']:case _0x22a66[_0x306c74(0x11f)]:this[_0x306c74(0x100)]&&(_0x1644be=this['firefoxOptions_'][_0x306c74(0xe3)](this[_0x306c74(0x100)]['CAPABILITY_KEY'])||{},this[_0x306c74(0x100)][_0x306c74(0x178)](this[_0x306c74(0x100)][_0x306c74(0x9a)],helper['mergeDeep'](_0x1644be,_0x175609[_0x38c813])));break;case _0x22a66[_0x306c74(0x168)]:this[_0x306c74(0xeb)]&&(_0x1644be=this[_0x306c74(0xeb)]['get'](this['safariOptions_']['CAPABILITY_KEY'])||{},this['safariOptions_']['set'](this[_0x306c74(0xeb)][_0x306c74(0x9a)],helper[_0x306c74(0x174)](_0x1644be,_0x175609[_0x38c813])));break;case _0x22a66[_0x306c74(0x162)]:case _0x22a66[_0x306c74(0x17b)]:this[_0x306c74(0x151)]&&(_0x1644be=this[_0x306c74(0x151)][_0x306c74(0xe3)](this['ieOptions_'][_0x306c74(0x9a)])||{},this[_0x306c74(0x151)][_0x306c74(0x178)](this[_0x306c74(0x151)][_0x306c74(0x9a)],helper[_0x306c74(0x174)](_0x1644be,_0x175609[_0x38c813])));break;}}}['setServer'](){const _0x42f677=_0x2173ac;return this['url_']=helper[_0x42f677(0xe8)](_0x20b0ff),logger['debug'](_0x42f677(0xe5)+this[_0x42f677(0x167)]),this;}[_0x2173ac(0x98)](){const _0x4470c3=_0x2173ac;return logger[_0x4470c3(0x104)](_0x22a66[_0x4470c3(0x13e)]),this['__setBrowserOptions'](_0x20b0ff[_0x4470c3(0x194)]),Object[_0x4470c3(0x10e)](_0x20b0ff[_0x4470c3(0x194)])[_0x4470c3(0xfa)](_0xbdcf84=>{const _0x14ef10=_0x4470c3,_0xef88f1=this[_0x14ef10(0x16c)][_0x14ef10(0xe3)](_0xbdcf84);_0x22a66[_0x14ef10(0x184)](typeof _0xef88f1,_0x22a66[_0x14ef10(0xc0)])?this['capabilities_'][_0x14ef10(0x178)](_0xbdcf84,helper[_0x14ef10(0x174)](_0xef88f1,_0x20b0ff[_0x14ef10(0x194)][_0xbdcf84])):this[_0x14ef10(0x16c)][_0x14ef10(0x178)](_0xbdcf84,_0x20b0ff[_0x14ef10(0x194)][_0xbdcf84]);}),this;}['build'](){const _0x50147d=_0x2173ac,_0x5c1e35={'GUnKa':_0x22a66[_0x50147d(0xce)],'qBQeW':function(_0x2dbf47){const _0x2a2a27=_0x50147d;return _0x22a66[_0x2a2a27(0x115)](_0x2dbf47);},'nEkyU':function(_0x3784bb,_0x589dce){const _0x5c11fa=_0x50147d;return _0x22a66[_0x5c11fa(0x17e)](_0x3784bb,_0x589dce);},'HKzsE':_0x22a66[_0x50147d(0xf0)],'kQcsJ':_0x22a66[_0x50147d(0xf1)],'JaWtY':function(_0x201a7b,_0x26cb0a,_0x10e161){const _0x66d6de=_0x50147d;return _0x22a66[_0x66d6de(0xea)](_0x201a7b,_0x26cb0a,_0x10e161);},'UzYOn':_0x22a66[_0x50147d(0x114)],'AqjSi':_0x22a66[_0x50147d(0x153)],'PQOhI':function(_0x4a8b0b,_0xb17c7f,_0x3d329c){const _0x378160=_0x50147d;return _0x22a66[_0x378160(0x12c)](_0x4a8b0b,_0xb17c7f,_0x3d329c);},'PqAnv':function(_0x1ac79b,_0x47f77a){const _0x11c084=_0x50147d;return _0x22a66[_0x11c084(0xed)](_0x1ac79b,_0x47f77a);},'AeLxz':function(_0x51ae79,_0x5f17bc,_0x4f3bbb){const _0x25fcf5=_0x50147d;return _0x22a66[_0x25fcf5(0x14b)](_0x51ae79,_0x5f17bc,_0x4f3bbb);},'RJAPb':function(_0x505dde,_0x337ff8){return _0x22a66['PcKAf'](_0x505dde,_0x337ff8);}};PerformanceTester[_0x50147d(0x9f)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x1cf859=_0x50147d,_0x470760=_0x5c1e35[_0x1cf859(0x175)][_0x1cf859(0x169)]('|');let _0x3c578d=0x0;while(!![]){switch(_0x470760[_0x3c578d++]){case'0':this[_0x1cf859(0x98)]();continue;case'1':(!helper[_0x1cf859(0x131)]()||helper[_0x1cf859(0xf3)](_0x20b0ff))&&helper[_0x1cf859(0xd0)](null,null,_0x20b0ff[_0x1cf859(0x154)],null,this,null);continue;case'2':_0x5c1e35[_0x1cf859(0x122)](isAccessibilityAutomationSession)&&_0x5c1e35[_0x1cf859(0x161)](setAccessibilityCapabilities,_0x20b0ff);continue;case'3':logger['debug'](_0x5c1e35[_0x1cf859(0x176)]);continue;case'4':globals[_0x1cf859(0xde)](_0x5c1e35[_0x1cf859(0x15c)])&&(!_0x5c1e35[_0x1cf859(0x18f)](setExtension,this,_0x20b0ff)&&globals[_0x1cf859(0x17f)](_0x5c1e35[_0x1cf859(0x15c)],![]));continue;case'5':this[_0x1cf859(0x12d)]();continue;case'6':if(helper[_0x1cf859(0x195)](_0x20b0ff['proxySettings'][_0x1cf859(0xe4)]))this[_0x1cf859(0x163)]=helper[_0x1cf859(0xcc)](_0x20b0ff['proxySettings']['proxyUrl']);else _0x20b0ff[_0x1cf859(0x10d)][_0x1cf859(0xe4)]&&(this[_0x1cf859(0xa1)]=_0x20b0ff[_0x1cf859(0x10d)][_0x1cf859(0xe4)],logger[_0x1cf859(0x104)](_0x1cf859(0x14e)+this['proxy_']));continue;case'7':helper[_0x1cf859(0x144)](_0x20b0ff[_0x1cf859(0x194)]);continue;}break;}})();const _0x3cafe0=super[_0x50147d(0x164)]();return PerformanceTester[_0x50147d(0x9f)](PerformanceEvents[_0x50147d(0xe7)],()=>{const _0x41ca1a=_0x50147d,_0x19f647={'tVehp':_0x5c1e35[_0x41ca1a(0x19b)],'mjSKc':_0x5c1e35[_0x41ca1a(0x14f)],'MRnjs':function(_0x22aed4,_0x2ff7fa,_0x10f62c){const _0xbcb294=_0x41ca1a;return _0x5c1e35[_0xbcb294(0x10f)](_0x22aed4,_0x2ff7fa,_0x10f62c);},'GKznX':function(_0x301625,_0x570270){const _0x43d994=_0x41ca1a;return _0x5c1e35[_0x43d994(0x157)](_0x301625,_0x570270);},'Rtwid':function(_0x309de6,_0x3627c0,_0x268dfd){return _0x5c1e35['AeLxz'](_0x309de6,_0x3627c0,_0x268dfd);},'UINTZ':function(_0x2d92f6,_0x6783a6){const _0x4ae4b4=_0x41ca1a;return _0x5c1e35[_0x4ae4b4(0x165)](_0x2d92f6,_0x6783a6);}};_0x3cafe0[_0x41ca1a(0x182)]['then'](_0x375440=>{const _0x8bb8bd=_0x41ca1a;try{const _0x37678b=_0x375440[_0x8bb8bd(0xc4)][_0x8bb8bd(0xe3)](_0x19f647['tVehp']);_0x37678b?(logger['debug'](_0x8bb8bd(0x172)+_0x37678b),hubAllocator[_0x8bb8bd(0xdd)](_0x37678b),helper[_0x8bb8bd(0x199)](_0x37678b)):logger['debug'](_0x19f647['mjSKc']);}catch(_0x18043c){logger[_0x8bb8bd(0x104)](_0x8bb8bd(0x105)+_0x18043c);}}),_0x3cafe0[_0x41ca1a(0x192)]&&_0x3cafe0['then'](_0x3a391c=>{const _0x24d0c0=_0x41ca1a,_0x34547b={'dxaZZ':function(_0x346a82,_0x3d3ddc,_0x4b6768){const _0x46ca54=a135_0x25c0;return _0x19f647[_0x46ca54(0x158)](_0x346a82,_0x3d3ddc,_0x4b6768);}};helper[_0x24d0c0(0x13f)](_0x3a391c,_0x20b0ff),_0x19f647[_0x24d0c0(0x158)](overrideExecute,_0x3a391c,_0x20b0ff),_0x3a391c[_0x24d0c0(0xff)]=async()=>{const _0x922cb3=_0x24d0c0;return await _0x34547b[_0x922cb3(0x18b)](getAccessibilityResultsSummary,_0x3a391c,global);},_0x3a391c[_0x24d0c0(0xc3)]=async()=>{const _0x492564=_0x24d0c0;return await _0x19f647[_0x492564(0x158)](getAccessibilityResults,_0x3a391c,global);},_0x3a391c[_0x24d0c0(0xe6)]=async()=>{const _0x28cfae=_0x24d0c0;return await _0x19f647[_0x28cfae(0x139)](performScan,_0x3a391c);};}),_0x3cafe0['getAccessibilityResultsSummary']=async()=>{const _0x41e616=_0x41ca1a;return await _0x5c1e35[_0x41e616(0x18f)](getAccessibilityResultsSummary,_0x3cafe0,global);},_0x3cafe0[_0x41ca1a(0xc3)]=async()=>{const _0x3a07a4=_0x41ca1a;return await _0x19f647[_0x3a07a4(0x119)](getAccessibilityResults,_0x3cafe0,global);},_0x3cafe0[_0x41ca1a(0xe6)]=async()=>{return await _0x19f647['UINTZ'](performScan,_0x3cafe0);},helper[_0x41ca1a(0x13f)](_0x3cafe0,_0x20b0ff),_0x5c1e35['PQOhI'](overrideExecute,_0x3cafe0,_0x20b0ff),helper[_0x41ca1a(0x17a)](global[_0x41ca1a(0xd9)])&&(global[_0x41ca1a(0xd9)]=[]),global[_0x41ca1a(0xd9)]['push'](_0x3cafe0);})(),_0x3cafe0;}}_0x4bea17[_0x2173ac(0xfc)]=_0x4bea17[_0x2173ac(0xb2)],_0x4bea17[_0x2173ac(0xb2)]=_0x4c7702,_0x4a0026['HttpClient']=_0xef7fa0;},modifyV2=(_0xe36477,_0x39d984=null,_0x494176=![])=>{const _0x1c64be=a135_0x22783c,_0x321eba={'OnxcD':function(_0x2e1d6e,_0x93dba5){return _0x2e1d6e!==_0x93dba5;},'ljcAX':_0x1c64be(0x145),'NmEus':function(_0x3e9343,_0x37dc49){return _0x3e9343+_0x37dc49;},'PoApz':function(_0x49af76,_0x129284){return _0x49af76+_0x129284;},'XEtJl':_0x1c64be(0xa5),'rIbeP':_0x1c64be(0x11b),'TzInf':_0x1c64be(0xb7),'rKgUS':_0x1c64be(0xf9),'mKjJq':_0x1c64be(0xaf),'hfRHv':_0x1c64be(0xbe),'zcXQP':_0x1c64be(0xcd),'Bivnm':'edgeOptions','xKyks':_0x1c64be(0x171),'hDvsT':'firefoxOptions','RyICe':_0x1c64be(0xac),'EZPay':_0x1c64be(0x99),'KdfkY':_0x1c64be(0xe1),'xCleB':function(_0x21336b,_0x1e9e82){return _0x21336b===_0x1e9e82;},'zuGyF':_0x1c64be(0x9b),'IjBCc':_0x1c64be(0xdb),'sjFTG':function(_0x456fb2,_0x4b6ee2){return _0x456fb2>_0x4b6ee2;},'DlfQp':function(_0x3cdacc,_0x421c3b){return _0x3cdacc>_0x421c3b;},'fhdWs':_0x1c64be(0x148),'EaPpX':_0x1c64be(0x16e),'OUvNT':_0x1c64be(0x156),'hWNAn':function(_0x1148e6,_0x479ac1,_0x1eb349){return _0x1148e6(_0x479ac1,_0x1eb349);},'acIXU':function(_0x1edf32){return _0x1edf32();},'DBWJD':function(_0x742a45,_0x52d28e){return _0x742a45(_0x52d28e);},'LJQPI':_0x1c64be(0x111),'LvTPn':function(_0x8d5cff,_0x1eacb7){return _0x8d5cff===_0x1eacb7;},'MZGQr':_0x1c64be(0x96),'oQgTu':_0x1c64be(0x196),'mziuu':_0x1c64be(0x103),'LClLF':'.browserstack.com','XSqRt':_0x1c64be(0xc6),'poZPs':function(_0x4e376b){return _0x4e376b();},'VWhMF':_0x1c64be(0xa7),'qVJVH':function(_0x372181,_0x575893){return _0x372181(_0x575893);},'fmPQW':_0x1c64be(0x17c),'GTNwJ':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','yhwJD':function(_0x5f057c){return _0x5f057c();},'ZGmyz':function(_0x535f8d,_0x41f0af,_0x23531b){return _0x535f8d(_0x41f0af,_0x23531b);},'YGAdI':'4|0|5|2|3|7|6|1','sJXNm':function(_0x556160,_0x283603){return _0x556160!==_0x283603;},'FtjAf':'bstackAllyScanning','noRAD':_0x1c64be(0x14c),'tVMVs':function(_0x55b39c,_0x4287f1){return _0x55b39c(_0x4287f1);},'oUSZY':_0x1c64be(0x141),'MxFXt':_0x1c64be(0xab),'CuaxH':_0x1c64be(0xd5),'AtUwX':_0x1c64be(0x15e),'pnTjy':'selenium-webdriver/lib/http.js','SpwWs':_0x1c64be(0xc1),'XQVTY':function(_0x2d1351,_0x301f9a){return _0x2d1351+_0x301f9a;},'QLvAz':'Unable\x20to\x20find\x20executor\x20class\x20'},_0x2d9b46=helper[_0x1c64be(0x12e)]();let _0x2928fe;try{_0x2928fe=helper[_0x1c64be(0x189)](),_0x2928fe[_0x1c64be(0xfc)]&&(_0x2928fe[_0x1c64be(0xb2)]=_0x2928fe[_0x1c64be(0xfc)]);}catch(_0xb9c405){return;}if(helper[_0x1c64be(0x131)]()){const _0x3b1368={};_0x3b1368[_0x1c64be(0xf7)]=_0xe36477[_0x1c64be(0x140)],helper[_0x1c64be(0x14a)](_0x3b1368,new Map(),new Map()),logger['info'](_0x321eba[_0x1c64be(0x152)]),logger[_0x1c64be(0x104)](_0x321eba['MxFXt']);}class _0x2d988a extends _0x2d9b46[_0x1c64be(0xa3)]{[_0x1c64be(0x109)](_0xc96b82){const _0x451098=_0x1c64be;if(_0x321eba['OnxcD'](_0xc96b82[_0x451098(0x18a)],_0x321eba['ljcAX'])&&_0x321eba[_0x451098(0xbc)](global[_0x451098(0x149)],''))try{global[_0x451098(0x149)]=_0x321eba['NmEus'](_0x321eba[_0x451098(0xd4)](_0x321eba[_0x451098(0xec)],global[_0x451098(0x149)]),_0x321eba[_0x451098(0x118)]),this[_0x451098(0x18c)]=hubAllocator[_0x451098(0xa4)](global[_0x451098(0x149)]),logger[_0x451098(0x104)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global['newHubUrl']='';}catch(_0xc486b){logger['error'](_0xc486b);}if(globals[_0x451098(0xde)](_0x321eba['TzInf'])&&globals[_0x451098(0xde)](_0x321eba[_0x451098(0x12a)])){const _0x1e2c18=_0xc96b82[_0x451098(0x18a)][_0x451098(0x169)]('/')[0x2];_0x1e2c18&&commandRepository[_0x451098(0x117)](_0x1e2c18,_0xc96b82);}return super[_0x451098(0x109)](_0xc96b82);}}class _0x429d18 extends _0x2928fe[_0x1c64be(0xb2)]{[_0x1c64be(0x12d)](){const _0x4d34f2=_0x1c64be;return this[_0x4d34f2(0x167)]=helper[_0x4d34f2(0xe8)](_0xe36477),logger['debug'](_0x4d34f2(0xe5)+this['url_']),this;}[_0x1c64be(0x166)](_0x3865dd){const _0x4d787f=_0x1c64be;let _0x226e5={};for(const _0x45e249 in _0x3865dd){switch(_0x45e249){case _0x321eba[_0x4d787f(0x159)]:case _0x321eba[_0x4d787f(0xc2)]:this['chromeOptions_']&&(_0x226e5=this['chromeOptions_']['get'](this[_0x4d787f(0x11a)][_0x4d787f(0x9a)])||{},this[_0x4d787f(0x11a)][_0x4d787f(0x178)](this['chromeOptions_'][_0x4d787f(0x9a)],helper[_0x4d787f(0x174)](_0x226e5,_0x3865dd[_0x45e249])));break;case _0x321eba[_0x4d787f(0x123)]:case _0x321eba[_0x4d787f(0x180)]:this[_0x4d787f(0xdf)]&&(_0x226e5=this[_0x4d787f(0xdf)][_0x4d787f(0xe3)](this[_0x4d787f(0xdf)]['CAPABILITY_KEY'])||{},this['edgeOptions_'][_0x4d787f(0x178)](this[_0x4d787f(0xdf)][_0x4d787f(0x9a)],helper[_0x4d787f(0x174)](_0x226e5,_0x3865dd[_0x45e249])));break;case _0x321eba[_0x4d787f(0xc7)]:case _0x321eba[_0x4d787f(0x181)]:this[_0x4d787f(0x100)]&&(_0x226e5=this[_0x4d787f(0x100)][_0x4d787f(0xe3)](this[_0x4d787f(0x100)][_0x4d787f(0x9a)])||{},this[_0x4d787f(0x100)][_0x4d787f(0x178)](this[_0x4d787f(0x100)]['CAPABILITY_KEY'],helper[_0x4d787f(0x174)](_0x226e5,_0x3865dd[_0x45e249])));break;case _0x321eba[_0x4d787f(0x15f)]:this[_0x4d787f(0xeb)]&&(_0x226e5=this[_0x4d787f(0xeb)][_0x4d787f(0xe3)](this['safariOptions_'][_0x4d787f(0x9a)])||{},this[_0x4d787f(0xeb)][_0x4d787f(0x178)](this[_0x4d787f(0xeb)][_0x4d787f(0x9a)],helper['mergeDeep'](_0x226e5,_0x3865dd[_0x45e249])));break;case _0x321eba[_0x4d787f(0x132)]:case _0x321eba[_0x4d787f(0x127)]:this['ieOptions_']&&(_0x226e5=this[_0x4d787f(0x151)][_0x4d787f(0xe3)](this[_0x4d787f(0x151)][_0x4d787f(0x9a)])||{},this[_0x4d787f(0x151)]['set'](this[_0x4d787f(0x151)][_0x4d787f(0x9a)],helper[_0x4d787f(0x174)](_0x226e5,_0x3865dd[_0x45e249])));break;}}}[_0x1c64be(0x98)](){const _0x1eec32=_0x1c64be;logger[_0x1eec32(0x104)](_0x321eba[_0x1eec32(0x13d)]);const _0x443337=_0xe36477[_0x1eec32(0x194)]&&_0x321eba[_0x1eec32(0x13b)](Object[_0x1eec32(0x10e)](_0xe36477[_0x1eec32(0x194)])[_0x1eec32(0x102)],0x0)?_0xe36477[_0x1eec32(0x194)]:_0xe36477[_0x1eec32(0x101)]&&Array[_0x1eec32(0x11c)](_0xe36477[_0x1eec32(0x101)])&&_0x321eba[_0x1eec32(0x110)](_0xe36477[_0x1eec32(0x101)][_0x1eec32(0x102)],0x0)?_0xe36477['capabilities'][0x0]:{};return this['__setBrowserOptions'](_0x443337),Object[_0x1eec32(0x10e)](_0x443337)[_0x1eec32(0xfa)](_0xe627f5=>{const _0x222f4b=_0x1eec32,_0x529a74=this[_0x222f4b(0x16c)]['get'](_0xe627f5);_0x321eba[_0x222f4b(0x197)](typeof _0x529a74,_0x321eba[_0x222f4b(0x113)])?this[_0x222f4b(0x16c)][_0x222f4b(0x178)](_0xe627f5,helper[_0x222f4b(0x174)](_0x529a74,_0x443337[_0xe627f5])):this['capabilities_'][_0x222f4b(0x178)](_0xe627f5,_0x443337[_0xe627f5]);}),this;}[_0x1c64be(0x164)](){const _0x1d87d9=_0x1c64be,_0x45f0fb={'eiYpM':_0x321eba[_0x1d87d9(0x19c)],'KtkCR':_0x321eba[_0x1d87d9(0xb3)],'gnVse':function(_0xcb7f3c,_0x172d2f,_0x40af9f){const _0x16a948=_0x1d87d9;return _0x321eba[_0x16a948(0x107)](_0xcb7f3c,_0x172d2f,_0x40af9f);},'CkkXK':function(_0x7d6698){return _0x321eba['yhwJD'](_0x7d6698);},'gBIqi':_0x321eba['OUvNT'],'tRRPM':function(_0x4dae63,_0x379b7d,_0x53a534){const _0x3b0b14=_0x1d87d9;return _0x321eba[_0x3b0b14(0xf6)](_0x4dae63,_0x379b7d,_0x53a534);},'nwYKI':function(_0x3fe2d6,_0x1645ed){const _0x471aa3=_0x1d87d9;return _0x321eba[_0x471aa3(0x9e)](_0x3fe2d6,_0x1645ed);},'yLZzT':_0x321eba[_0x1d87d9(0x94)],'GJXWs':function(_0x1a63f7,_0x3fd244,_0x1097b9){const _0x8258ae=_0x1d87d9;return _0x321eba[_0x8258ae(0xf6)](_0x1a63f7,_0x3fd244,_0x1097b9);},'zdYhD':function(_0x43e453,_0x39e7a8){const _0xeda147=_0x1d87d9;return _0x321eba[_0xeda147(0x9c)](_0x43e453,_0x39e7a8);}};PerformanceTester[_0x1d87d9(0x9f)](PerformanceEvents[_0x1d87d9(0x11e)],()=>{const _0x5e609a=_0x1d87d9;if(helper['isBrowserstackInfra']()){const _0x57e43b=_0x321eba[_0x5e609a(0xcf)][_0x5e609a(0x169)]('|');let _0x30c755=0x0;while(!![]){switch(_0x57e43b[_0x30c755++]){case'0':if(helper[_0x5e609a(0x195)](_0xe36477['proxySettings'][_0x5e609a(0xe4)]))this[_0x5e609a(0x163)]=helper[_0x5e609a(0xcc)](_0xe36477[_0x5e609a(0x10d)][_0x5e609a(0xe4)]);else _0xe36477[_0x5e609a(0x10d)][_0x5e609a(0xe4)]&&(this[_0x5e609a(0xa1)]=_0xe36477[_0x5e609a(0x10d)][_0x5e609a(0xe4)],logger[_0x5e609a(0x104)](_0x5e609a(0x14e)+this['proxy_']));continue;case'1':this['setServer']();continue;case'2':helper['setAdditionalCapabilities'](_0xe36477[_0x5e609a(0x194)]);continue;case'3':logger['debug'](_0x321eba[_0x5e609a(0x16d)]);continue;case'4':process[_0x5e609a(0xca)]['BROWSERSTACK_TURBOSCALE']&&(helper[_0x5e609a(0xd0)](null,null,_0xe36477[_0x5e609a(0x154)],null,this,null),helper[_0x5e609a(0x144)](_0xe36477[_0x5e609a(0x194)]),helper[_0x5e609a(0x129)]());continue;case'5':globals[_0x5e609a(0xde)](_0x321eba['OUvNT'])&&(!_0x321eba['hWNAn'](setExtension,this,_0xe36477)&&globals[_0x5e609a(0x17f)](_0x321eba[_0x5e609a(0x137)],![]));continue;case'6':this[_0x5e609a(0x98)]();continue;case'7':_0x321eba[_0x5e609a(0xf5)](isAccessibilityAutomationSession)&&_0x321eba[_0x5e609a(0x9e)](setAccessibilityCapabilities,_0xe36477);continue;}break;}}else{const _0x5ca1dc=_0x321eba[_0x5e609a(0x198)][_0x5e609a(0x169)]('|');let _0x1b866b=0x0;while(!![]){switch(_0x5ca1dc[_0x1b866b++]){case'0':_0x321eba[_0x5e609a(0xfd)](globals[_0x5e609a(0xde)](_0x321eba[_0x5e609a(0xe2)]),_0x321eba[_0x5e609a(0xef)])&&(commandRepository[_0x5e609a(0x147)](_0x321eba[_0x5e609a(0xef)]),commandRepository['setConfig'](globals[_0x5e609a(0xde)](_0x321eba['mziuu'])));continue;case'1':helper[_0x5e609a(0xd0)](null,null,_0xe36477['framework'],null,this,null);continue;case'2':if(this[_0x5e609a(0x167)]['includes'](_0x321eba[_0x5e609a(0x11d)]))logger[_0x5e609a(0x104)](_0x321eba[_0x5e609a(0xad)]),globals['setGlobal'](_0x321eba['TzInf'],![]),globals['setGlobal'](_0x321eba[_0x5e609a(0x12a)],![]);else globals['getGlobal'](_0x321eba[_0x5e609a(0xa8)])&&globals[_0x5e609a(0xde)](_0x321eba[_0x5e609a(0x12a)])&&aiSdkWrapper['initializeHealingCapabilities'](this);continue;case'3':_0x321eba[_0x5e609a(0x13a)](isAccessibilityAutomationSession)&&this[_0x5e609a(0x108)]()[_0x5e609a(0x12f)](_0x321eba[_0x5e609a(0xbf)])&&(_0x321eba[_0x5e609a(0x130)](setAccessibilityCapabilities,_0xe36477),this[_0x5e609a(0x98)]());continue;case'4':helper[_0x5e609a(0x129)]();continue;case'5':helper['setAdditionalCapabilities'](_0xe36477['capability']);continue;}break;}}})();const _0x223ff4=super[_0x1d87d9(0x164)]();return PerformanceTester['measureWrapper'](PerformanceEvents[_0x1d87d9(0xe7)],()=>{const _0x599499=_0x1d87d9,_0x40b0d3={'QRALJ':function(_0x525ea6){const _0x172630=a135_0x25c0;return _0x45f0fb[_0x172630(0x14d)](_0x525ea6);},'fJtoV':function(_0x3a91a0,_0x25d822,_0x1a33e1){const _0x73a01d=a135_0x25c0;return _0x45f0fb[_0x73a01d(0x185)](_0x3a91a0,_0x25d822,_0x1a33e1);},'MLScD':_0x45f0fb[_0x599499(0x16f)],'xukNF':function(_0x5790d4,_0x4f975f,_0x5079ca){const _0x1f220c=_0x599499;return _0x45f0fb[_0x1f220c(0x112)](_0x5790d4,_0x4f975f,_0x5079ca);},'vRCDm':function(_0x1ec252,_0x2bf36f){const _0x332302=_0x599499;return _0x45f0fb[_0x332302(0xdc)](_0x1ec252,_0x2bf36f);},'NBEFi':_0x45f0fb[_0x599499(0x190)]};_0x223ff4[_0x599499(0x182)][_0x599499(0x192)](_0x5c7dac=>{const _0x3eba2e=_0x599499,_0x519d26=_0x5c7dac[_0x3eba2e(0xc4)];if(!helper[_0x3eba2e(0x131)]()&&_0x40b0d3[_0x3eba2e(0xd7)](isAccessibilityAutomationSession)){const _0x41194b=_0x40b0d3[_0x3eba2e(0x116)](nonBstackPlatformValidation,_0x519d26,this);globals[_0x3eba2e(0x17f)](_0x40b0d3[_0x3eba2e(0xb8)],_0x41194b);}}),_0x223ff4[_0x599499(0x182)][_0x599499(0x192)](_0x27dd20=>{const _0x1e35b6=_0x599499;try{logger[_0x1e35b6(0x104)](_0x1e35b6(0xda)+_0x27dd20[_0x1e35b6(0xbb)]());const _0x4529fe=_0x27dd20[_0x1e35b6(0xc4)][_0x1e35b6(0xe3)](_0x45f0fb[_0x1e35b6(0xd3)]);_0x4529fe?(logger[_0x1e35b6(0x104)](_0x1e35b6(0x172)+_0x4529fe),hubAllocator[_0x1e35b6(0xdd)](_0x4529fe),helper['storeOptimalHubUrl'](_0x4529fe)):logger[_0x1e35b6(0x104)](_0x45f0fb['KtkCR']);}catch(_0x4891e1){logger[_0x1e35b6(0x104)](_0x1e35b6(0x105)+_0x4891e1);}}),_0x223ff4[_0x599499(0xaa)]=0x0,_0x223ff4['then']&&_0x223ff4['then'](_0x43e695=>{const _0x480332=_0x599499,_0x2bb991=_0x40b0d3[_0x480332(0x10c)][_0x480332(0x169)]('|');let _0x1e5583=0x0;while(!![]){switch(_0x2bb991[_0x1e5583++]){case'0':_0x494176&&_0x40b0d3[_0x480332(0x16a)](overrideTakeScreenshot,_0x43e695);continue;case'1':_0x43e695[_0x480332(0xe6)]=async()=>{const _0x113240=_0x480332;return await _0x40b0d3[_0x113240(0x16a)](performScan,_0x43e695);};continue;case'2':_0x40b0d3['fJtoV'](overrideExecute,_0x43e695,_0xe36477);continue;case'3':_0xe36477['capability']&&percyHelper[_0x480332(0x16b)](_0x43e695,_0x2928fe[_0x480332(0xa0)],_0xe36477);continue;case'4':helper[_0x480332(0x160)](_0x43e695,_0x223ff4);continue;case'5':helper[_0x480332(0x13f)](_0x43e695,_0xe36477);continue;case'6':_0x43e695[_0x480332(0xc3)]=async()=>{const _0x3c77ce=_0x480332;return await _0x40b0d3[_0x3c77ce(0x191)](getAccessibilityResults,_0x43e695,global);};continue;case'7':_0x43e695[_0x480332(0xff)]=async()=>{const _0x4e1179=_0x480332;return await _0x40b0d3[_0x4e1179(0x116)](getAccessibilityResultsSummary,_0x43e695,global);};continue;}break;}}),_0x223ff4['getAccessibilityResultsSummary']=async()=>{const _0x3e6631=_0x599499;return await _0x40b0d3[_0x3e6631(0x191)](getAccessibilityResultsSummary,_0x223ff4,global);},_0x223ff4[_0x599499(0xc3)]=async()=>{const _0x5ac7df=_0x599499;return await _0x45f0fb[_0x5ac7df(0x185)](getAccessibilityResults,_0x223ff4,global);},_0x223ff4[_0x599499(0xe6)]=async()=>{return await _0x40b0d3['vRCDm'](performScan,_0x223ff4);},_0x494176&&_0x45f0fb['nwYKI'](overrideTakeScreenshot,_0x223ff4),helper[_0x599499(0x160)](_0x223ff4),helper[_0x599499(0x13f)](_0x223ff4,_0xe36477),_0x45f0fb[_0x599499(0x150)](overrideExecute,_0x223ff4,_0xe36477),_0xe36477[_0x599499(0x194)]&&percyHelper[_0x599499(0x16b)](_0x223ff4,_0x2928fe[_0x599499(0xa0)],_0xe36477);helper[_0x599499(0x17a)](global[_0x599499(0xd9)])&&(global['__driversArray']=[]);helper['isUndefined'](global[_0x599499(0xd8)])&&(global[_0x599499(0xd8)]=[]);global[_0x599499(0xd9)][_0x599499(0xd1)](_0x223ff4),global[_0x599499(0x193)]=_0x223ff4,_0x39d984&&(_0x39d984['global']['__driver']=_0x223ff4);_0x45f0fb[_0x599499(0xb0)](global[_0x599499(0xd8)],undefined)&&global[_0x599499(0xd8)][_0x599499(0xd1)](_0x223ff4);_0x39d984&&helper[_0x599499(0x17a)](_0x39d984[_0x599499(0x134)]['__drivers'])&&(_0x39d984[_0x599499(0x134)][_0x599499(0xd8)]=[]);_0x39d984&&helper[_0x599499(0x17a)](_0x39d984[_0x599499(0x134)]['__driversArray'])&&(_0x39d984[_0x599499(0x134)]['__driversArray']=[]);_0x39d984&&_0x45f0fb[_0x599499(0xb0)](_0x39d984[_0x599499(0x134)]['__drivers'],undefined)&&(_0x39d984[_0x599499(0x134)][_0x599499(0xd8)]['push'](_0x223ff4),_0x39d984[_0x599499(0x134)][_0x599499(0xd9)]['push'](_0x223ff4));_0x223ff4['isAccessibilityPlatform']=globals['getGlobal'](_0x45f0fb[_0x599499(0x16f)]);try{global[_0x599499(0xd8)][0x0][_0x599499(0x182)]['then'](_0xa3039c=>{const _0x51b954=_0x599499;logger[_0x51b954(0x104)](_0x51b954(0xc9)+_0xa3039c['getId']()+'\x20to\x20global\x20drivers\x20array');})[_0x599499(0x121)](_0x37ddf5=>{const _0x33b8d6=_0x599499;logger[_0x33b8d6(0x104)](_0x33b8d6(0xba)+_0x37ddf5);});}catch(_0x368366){logger[_0x599499(0x104)](_0x599499(0xba)+_0x368366);}globals[_0x599499(0x17f)](_0x45f0fb['gBIqi'],globals[_0x599499(0xde)](_0x45f0fb[_0x599499(0x16f)]));})(),_0x223ff4;}}_0x39d984&&(globals[_0x1c64be(0xb1)]=_0x39d984[_0x1c64be(0x134)]['browserStackGlobals']);if(_0x321eba['yhwJD'](isAccessibilityAutomationSession))try{let _0x3a6219=helper[_0x1c64be(0xbd)](_0x321eba[_0x1c64be(0x120)],_0x321eba['AtUwX'])[_0x1c64be(0xd6)];(!_0x3a6219[_0x1c64be(0x125)]||!_0x3a6219['prototype'][_0x1c64be(0xb4)])&&(_0x3a6219=helper['requireModule'](_0x321eba[_0x1c64be(0xee)],_0x321eba[_0x1c64be(0x187)])[_0x1c64be(0xf4)]);if(_0x3a6219[_0x1c64be(0x125)]&&_0x3a6219[_0x1c64be(0x125)][_0x1c64be(0xb4)]){const _0x3c145f=_0x3a6219[_0x1c64be(0x125)]['execute'];logger[_0x1c64be(0x104)](_0x321eba[_0x1c64be(0x15d)]),_0x3a6219[_0x1c64be(0x125)][_0x1c64be(0xb4)]=async function(){const _0x2ee5f0=_0x1c64be;try{!globals['getGlobal'](_0x321eba[_0x2ee5f0(0x173)])&&globals[_0x2ee5f0(0xde)](_0x321eba['OUvNT'])&&globals[_0x2ee5f0(0xde)](_0x321eba[_0x2ee5f0(0x18e)])&&scripts[_0x2ee5f0(0x186)](arguments[0x0][_0x2ee5f0(0x135)])&&!_0x321eba[_0x2ee5f0(0xb6)](isBrowserStackCommandExecutor,arguments[0x0]['parameters_'])&&(globals['setGlobal'](_0x321eba['FtjAf'],!![]),logger[_0x2ee5f0(0x104)]('Performing\x20scan\x20for\x20'+arguments[0x0]['name_']),await _0x321eba[_0x2ee5f0(0x107)](performScan,global[_0x2ee5f0(0x193)],arguments[0x0][_0x2ee5f0(0x135)]));}catch(_0x17397d){logger['debug']('Failed\x20to\x20perform\x20scan\x20'+util[_0x2ee5f0(0x10b)](_0x17397d));}return globals['setGlobal'](_0x321eba[_0x2ee5f0(0x173)],![]),_0x3c145f['apply'](this,arguments);};}}catch(_0x4af5c1){logger[_0x1c64be(0x104)](_0x321eba['XQVTY'](_0x321eba[_0x1c64be(0xfe)],_0x4af5c1));}return _0x2928fe[_0x1c64be(0xfc)]=_0x2928fe[_0x1c64be(0xb2)],_0x2928fe[_0x1c64be(0xb2)]=_0x429d18,_0x2d9b46[_0x1c64be(0xa3)]=_0x2d988a,_0x2928fe;};module[a135_0x22783c(0x95)][a135_0x22783c(0x17d)]=modify,module[a135_0x22783c(0x95)][a135_0x22783c(0x124)]=modifyV2,module[a135_0x22783c(0x95)]['percy']=percySDK,module[a135_0x22783c(0x95)][a135_0x22783c(0x15a)]=BrowserStackSdk,module['exports'][a135_0x22783c(0x126)]=modifyPlaywrightConfig;
1
+ const a135_0x363a03=a135_0x45c6;function a135_0x45c6(_0x243db9,_0x19b7cd){const _0x23d24d=a135_0x23d2();return a135_0x45c6=function(_0x45c6c9,_0x25a1eb){_0x45c6c9=_0x45c6c9-0x69;let _0x3b6909=_0x23d24d[_0x45c6c9];return _0x3b6909;},a135_0x45c6(_0x243db9,_0x19b7cd);}(function(_0x20759c,_0x57b0d0){const _0x25dfd6=a135_0x45c6,_0x4cf621=_0x20759c();while(!![]){try{const _0x158eb1=parseInt(_0x25dfd6(0x102))/0x1+parseInt(_0x25dfd6(0x7c))/0x2*(-parseInt(_0x25dfd6(0xd3))/0x3)+parseInt(_0x25dfd6(0xb8))/0x4*(-parseInt(_0x25dfd6(0x6b))/0x5)+parseInt(_0x25dfd6(0xd7))/0x6+-parseInt(_0x25dfd6(0x91))/0x7*(parseInt(_0x25dfd6(0x96))/0x8)+-parseInt(_0x25dfd6(0x168))/0x9+parseInt(_0x25dfd6(0xb5))/0xa*(parseInt(_0x25dfd6(0x10c))/0xb);if(_0x158eb1===_0x57b0d0)break;else _0x4cf621['push'](_0x4cf621['shift']());}catch(_0x56c299){_0x4cf621['push'](_0x4cf621['shift']());}}}(a135_0x23d2,0xe56a5));function a135_0x23d2(){const _0x1deaf8=['2131512Ogtkvg','send','ms:edgeOptions','requireSeleniumWebdriver','getAccessibilityResults','setting\x20driver\x20Session\x20ID:\x20','.browserstack.com','UVlpU','\x20to\x20global\x20drivers\x20array','aiSdk_framework','YPBYz','TFtqD','catch','./bin/mocha/accessibility-automation/helper','pushCommand','includes','VtdEW','KQZcJ','./browserStackSdk','originalBuilder','2|0|3|1|4|5','/wd/hub','parameters_','getRequestOptions','cVjaR','browserstack.com','SDK_POST_INITIALIZE','push','New\x20hub\x20url\x20set\x20to\x20','qZjkQ','lBWyB','newHubUrl','ouwqh','XMXaC','options_','updateHubUrl','Failed\x20to\x20perform\x20scan\x20','agent_','proxy_','uQQWs','AahQe','Disabling\x20healing\x20via\x20Browserstack\x20SDK\x20since\x20the\x20session\x20is\x20being\x20run\x20on\x20Browserstack\x20Infra','getId','648114epGEcD','RriKq','browserStackGlobals','XDVgH','DNwLi','firefoxOptions_','qFmMK','se:ieOptions','./helpers/performance/constants','./helpers/ai-sdk/aiSdkWrapper','297zaQynO','browserstackAgent','error','moz:firefoxOptions','WZYYv','./helpers/ai-sdk/autoHealHelper','isUndefined','UIDbE','__driversArray','goog:chromeOptions','session_','acVAt','YWNtb','6|5|4|1|0|7|3|2','CAPABILITY_KEY','llBYG','object','_modifyPlaywright','gHAhb','WebDriver','aiHeal_isHealingEnabled','__driver','name_','nFBKG','kJYnM','exports','eunov','isBrowserstackInfra','requireModule','setAdditionalCapabilities','winstonLogger','readTcgAuthConfigToGlobal','BrowserStackSdk','Executor','TnTrr','mZOKj','length','HGnik','utVlv','getAccessibilityResultsSummary','aiSdk_bstackConfig','performScan','WBnEf','otcwH','hmehp','mctmR','getServerUrl','/session','tsijz','requireHttpClient','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','selenium-webdriver','getHubUrl','global','xNdYb','set','Modifying\x20webdriver\x20execute','setFramework','prototype','RPbzc','Error\x20in\x20setting\x20driver\x20Session\x20ID\x20to\x20global\x20drivers\x20array:\x20','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','setCapabilities','Unable\x20to\x20find\x20executor\x20class\x20','debug','framework','capabilities','bstackAllyScanning','zhIcr','ieOptions','bstackA11yShouldScan','measureWrapper','mergeDeep','IbqaE','./helpers/helper','ASwaf','selenium-webdriver/lib/webdriver.js','safariOptions_','fjKvZ','Session\x20ID:\x20','proxySettings','forEach','split','patchDriverPercy','QkvAa','Xlvkg','firefoxOptions','setConfig','Dioig','JFkpB','fxDAH','path','9345555ZstjXp','VbVJw','SMfdv','635KzTfld','NxGgo','__setBrowserOptions','giuSp','tGlqt','edgeOptions_','./helpers/performance/performance-tester','ieOptions_','RvWSB','UGooM','BROWSERSTACK_TURBOSCALE','./helpers/accessibility-automation/helper','uFDXU','./helpers/accessibility-automation/scripts','build','capabilities_','jsGGX','14pnyFNP','setServer','oNGwJ','chromeOptions_','FGTPl','selenium-webdriver/lib/http.js','FnvKL','TvYco','capability','./helpers/percy/PercySDK','LcNYz','isPacProxy','format','uqtth','cFyFL','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','percy','Hub\x20url\x20set\x20to\x20','GJILH','execute','storeOptimalHubUrl','4066993Ohqprc','safari.options','OOxwK','Modifying\x20webdriver\x20builder','OcMTT','8YhbGJh','GYFLt','iDIUX','optimalHubUrl','wOVWF','overrideGet','setLogLevel','cYZvQ','jrDKA','rjDJm','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','getGlobal','proxyUrl','overrideQuit','WtQmR','getHttpAgent','Proxy\x20set\x20to\x20','then','shouldWrapCommand','loXKZ','Builder','__drivers','efpPV','url_','KMJRQ','setGlobal','oCNNX','./bin/playwright/modifyPlaywrightConf','wnvXG','get','./helpers/percy/utils','1478600uTDYUu','keys','YYegU','40108oNUAXy','kCQyG','prepareCapabilities','jest','Performing\x20scan\x20for\x20','browserstackAgentV2','caps_','browserStackLogLevel','zsucU','quitCount_','3|1|2|4|5|7|0|6','aiHeal_isAuthenticated','SDK_PRE_INITIALIZE','https://','tHlkc','DPZzk','CSujq','./helpers/globals','ALwef','atmvr','Tuhjf','TNNRF','isAccessibilityPlatform','HttpClient','apply','svvgT','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','498462TPFobY','./hubAllocationMethods','isTurboScaleSession','initializeHealingCapabilities'];a135_0x23d2=function(){return _0x1deaf8;};return a135_0x23d2();}const util=require('util'),{overrideTakeScreenshot}=require('./helpers/patchHelpers'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults,isBrowserStackCommandExecutor,performScan}=require('./helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,setExtension}=require(a135_0x363a03(0xe4)),helper=require(a135_0x363a03(0x156)),logger=require('./helpers/logger')[a135_0x363a03(0x12a)],hubAllocator=require(a135_0x363a03(0xd4)),percySDK=require(a135_0x363a03(0x85)),percyHelper=require(a135_0x363a03(0xb4)),BrowserStackSdk=require(a135_0x363a03(0xe9)),modifyPlaywrightConfig=require(a135_0x363a03(0xb1)),scripts=require(a135_0x363a03(0x78)),globals=require(a135_0x363a03(0xc9)),{commandRepository}=require(a135_0x363a03(0x111)),{aiSdkWrapper}=require(a135_0x363a03(0x10b)),{overrideExecute}=require('./helpers/patchHelper'),PerformanceTester=require(a135_0x363a03(0x71)),{EVENTS:PerformanceEvents,A11Y_EVENTS:PerformanceA11yEvents}=require(a135_0x363a03(0x10a)),{nonBstackPlatformValidation}=require(a135_0x363a03(0x76)),modify=_0x509216=>{const _0x3b824b=a135_0x363a03,_0x4a9e1b={'svvgT':function(_0xc275e5,_0x42ef77){return _0xc275e5!==_0x42ef77;},'atmvr':_0x3b824b(0x13b),'waQRm':function(_0x1145bb,_0x13ce65){return _0x1145bb+_0x13ce65;},'XMXaC':_0x3b824b(0xc5),'YYegU':_0x3b824b(0xec),'WBnEf':_0x3b824b(0x115),'uQQWs':'chromeOptions','bdiGO':_0x3b824b(0xd9),'DPZzk':'edgeOptions','oNGwJ':_0x3b824b(0x10f),'GYFLt':_0x3b824b(0x162),'OcMTT':_0x3b824b(0x92),'nFBKG':_0x3b824b(0x109),'sqLlv':'ieOptions','cVjaR':function(_0x3f1652,_0x19a220){return _0x3f1652===_0x19a220;},'gHAhb':_0x3b824b(0x11c),'loXKZ':'Setting\x20Browserstack\x20capabilities','FnvKL':_0x3b824b(0x119),'giuSp':_0x3b824b(0xce),'xNdYb':function(_0x1a3710,_0x54238d,_0x33174f){return _0x1a3710(_0x54238d,_0x33174f);},'GaKoz':_0x3b824b(0x149),'UIDbE':function(_0x1ff25e){return _0x1ff25e();},'FGTPl':function(_0x1dc790,_0x18c111){return _0x1dc790(_0x18c111);},'kCQyG':_0x3b824b(0x99),'zsucU':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','bXakG':function(_0x39ffde,_0x3edff2,_0x4819b0){return _0x39ffde(_0x3edff2,_0x4819b0);},'XDVgH':function(_0x150013,_0x302480,_0x30f9e6){return _0x150013(_0x302480,_0x30f9e6);},'RNBQt':_0x3b824b(0xa0),'SMfdv':_0x3b824b(0x94)};logger['info'](_0x4a9e1b['RNBQt']),logger[_0x3b824b(0x14c)](_0x4a9e1b[_0x3b824b(0x6a)]);const _0x449ff2=helper[_0x3b824b(0xda)](),_0x541197=helper[_0x3b824b(0x13d)]();class _0x6a625c extends _0x541197[_0x3b824b(0xcf)]{['send'](_0x3513cd){const _0x33dba5=_0x3b824b;if(_0x4a9e1b[_0x33dba5(0xd1)](_0x3513cd['path'],_0x4a9e1b[_0x33dba5(0xcb)])&&_0x4a9e1b[_0x33dba5(0xd1)](global[_0x33dba5(0xf6)],''))try{global[_0x33dba5(0xf6)]=_0x4a9e1b['waQRm'](_0x4a9e1b['waQRm'](_0x4a9e1b[_0x33dba5(0xf8)],global['newHubUrl']),_0x4a9e1b[_0x33dba5(0xb7)]),this[_0x33dba5(0xf9)]=hubAllocator[_0x33dba5(0xee)](global[_0x33dba5(0xf6)]),logger['debug'](_0x33dba5(0xf3)+global['newHubUrl']),global[_0x33dba5(0xf6)]='';}catch(_0x393970){logger['error'](_0x393970);}return super['send'](_0x3513cd);}}class _0x2de4ba extends _0x449ff2[_0x3b824b(0xaa)]{['__setBrowserOptions'](_0x23a81c){const _0x366d3c=_0x3b824b;let _0x5dd554={};for(const _0x25acbf in _0x23a81c){switch(_0x25acbf){case _0x4a9e1b[_0x366d3c(0x136)]:case _0x4a9e1b[_0x366d3c(0xfe)]:this[_0x366d3c(0x7f)]&&(_0x5dd554=this['chromeOptions_'][_0x366d3c(0xb3)](this[_0x366d3c(0x7f)][_0x366d3c(0x11a)])||{},this[_0x366d3c(0x7f)][_0x366d3c(0x143)](this[_0x366d3c(0x7f)]['CAPABILITY_KEY'],helper[_0x366d3c(0x154)](_0x5dd554,_0x23a81c[_0x25acbf])));break;case _0x4a9e1b['bdiGO']:case _0x4a9e1b[_0x366d3c(0xc7)]:this['edgeOptions_']&&(_0x5dd554=this['edgeOptions_'][_0x366d3c(0xb3)](this[_0x366d3c(0x70)]['CAPABILITY_KEY'])||{},this[_0x366d3c(0x70)][_0x366d3c(0x143)](this['edgeOptions_'][_0x366d3c(0x11a)],helper['mergeDeep'](_0x5dd554,_0x23a81c[_0x25acbf])));break;case _0x4a9e1b[_0x366d3c(0x7e)]:case _0x4a9e1b[_0x366d3c(0x97)]:this[_0x366d3c(0x107)]&&(_0x5dd554=this[_0x366d3c(0x107)][_0x366d3c(0xb3)](this[_0x366d3c(0x107)][_0x366d3c(0x11a)])||{},this[_0x366d3c(0x107)][_0x366d3c(0x143)](this[_0x366d3c(0x107)][_0x366d3c(0x11a)],helper[_0x366d3c(0x154)](_0x5dd554,_0x23a81c[_0x25acbf])));break;case _0x4a9e1b[_0x366d3c(0x95)]:this['safariOptions_']&&(_0x5dd554=this[_0x366d3c(0x159)][_0x366d3c(0xb3)](this[_0x366d3c(0x159)][_0x366d3c(0x11a)])||{},this[_0x366d3c(0x159)][_0x366d3c(0x143)](this[_0x366d3c(0x159)][_0x366d3c(0x11a)],helper['mergeDeep'](_0x5dd554,_0x23a81c[_0x25acbf])));break;case _0x4a9e1b[_0x366d3c(0x123)]:case _0x4a9e1b['sqLlv']:this[_0x366d3c(0x72)]&&(_0x5dd554=this['ieOptions_']['get'](this[_0x366d3c(0x72)]['CAPABILITY_KEY'])||{},this[_0x366d3c(0x72)][_0x366d3c(0x143)](this[_0x366d3c(0x72)][_0x366d3c(0x11a)],helper[_0x366d3c(0x154)](_0x5dd554,_0x23a81c[_0x25acbf])));break;}}}[_0x3b824b(0x7d)](){const _0x152329=_0x3b824b;return this[_0x152329(0xad)]=helper['getHubUrl'](_0x509216),logger['debug'](_0x152329(0x8d)+this[_0x152329(0xad)]),this;}[_0x3b824b(0x14a)](){const _0xcb35b3=_0x3b824b,_0x41755e={'rCUrw':function(_0x7eb9d4,_0x20e1ba){const _0x2b722e=a135_0x45c6;return _0x4a9e1b[_0x2b722e(0xef)](_0x7eb9d4,_0x20e1ba);},'ShQdQ':_0x4a9e1b[_0xcb35b3(0x11e)]};return logger['debug'](_0x4a9e1b[_0xcb35b3(0xa9)]),this[_0xcb35b3(0x6d)](_0x509216[_0xcb35b3(0x84)]),Object[_0xcb35b3(0xb6)](_0x509216['capability'])[_0xcb35b3(0x15d)](_0x5a9c8e=>{const _0x46d7ef=_0xcb35b3,_0xda8d40=this[_0x46d7ef(0x7a)][_0x46d7ef(0xb3)](_0x5a9c8e);_0x41755e['rCUrw'](typeof _0xda8d40,_0x41755e['ShQdQ'])?this[_0x46d7ef(0x7a)][_0x46d7ef(0x143)](_0x5a9c8e,helper['mergeDeep'](_0xda8d40,_0x509216['capability'][_0x5a9c8e])):this[_0x46d7ef(0x7a)]['set'](_0x5a9c8e,_0x509216[_0x46d7ef(0x84)][_0x5a9c8e]);}),this;}[_0x3b824b(0x79)](){const _0x3c5012=_0x3b824b,_0x38a6a3={'tHlkc':function(_0x1650ac,_0x74fd6d,_0x25413b){return _0x4a9e1b['bXakG'](_0x1650ac,_0x74fd6d,_0x25413b);},'GJILH':function(_0x47c75b,_0x523c94,_0x5f46e7){const _0x33777d=a135_0x45c6;return _0x4a9e1b[_0x33777d(0x105)](_0x47c75b,_0x523c94,_0x5f46e7);},'QHiSc':function(_0x247dd6,_0x67c756,_0x53b69c){const _0x14cfd7=a135_0x45c6;return _0x4a9e1b[_0x14cfd7(0x142)](_0x247dd6,_0x67c756,_0x53b69c);}};PerformanceTester[_0x3c5012(0x153)](PerformanceEvents[_0x3c5012(0xc4)],()=>{const _0x299109=_0x3c5012,_0x3bc3ad=_0x4a9e1b[_0x299109(0x82)][_0x299109(0x15e)]('|');let _0x22cf5c=0x0;while(!![]){switch(_0x3bc3ad[_0x22cf5c++]){case'0':globals['getGlobal'](_0x4a9e1b[_0x299109(0x6e)])&&(!_0x4a9e1b[_0x299109(0x142)](setExtension,this,_0x509216)&&globals[_0x299109(0xaf)](_0x4a9e1b[_0x299109(0x6e)],![]));continue;case'1':if(helper[_0x299109(0x87)](_0x509216['proxySettings']['proxyUrl']))this[_0x299109(0xfc)]=helper['getHttpAgent'](_0x509216[_0x299109(0x15c)][_0x299109(0xa2)]);else _0x509216[_0x299109(0x15c)][_0x299109(0xa2)]&&(this[_0x299109(0xfd)]=_0x509216[_0x299109(0x15c)][_0x299109(0xa2)],logger[_0x299109(0x14c)](_0x299109(0xa6)+this['proxy_']));continue;case'2':logger[_0x299109(0x14c)](_0x4a9e1b['GaKoz']);continue;case'3':helper['setAdditionalCapabilities'](_0x509216[_0x299109(0x84)]);continue;case'4':this[_0x299109(0x14a)]();continue;case'5':this['setServer']();continue;case'6':_0x4a9e1b[_0x299109(0x113)](isAccessibilityAutomationSession)&&_0x4a9e1b[_0x299109(0x80)](setAccessibilityCapabilities,_0x509216);continue;case'7':(!helper[_0x299109(0x127)]()||helper[_0x299109(0xd5)](_0x509216))&&helper[_0x299109(0xba)](null,null,_0x509216[_0x299109(0x14d)],null,this,null);continue;}break;}})();const _0x19faa0=super[_0x3c5012(0x79)]();return PerformanceTester[_0x3c5012(0x153)](PerformanceEvents[_0x3c5012(0xf1)],()=>{const _0xea7350=_0x3c5012,_0x30531c={'iDIUX':_0x4a9e1b[_0xea7350(0xb9)],'tGlqt':_0x4a9e1b[_0xea7350(0xc0)],'IbqaE':function(_0x2678e2,_0x276a6b){const _0x56a076=_0xea7350;return _0x4a9e1b[_0x56a076(0x80)](_0x2678e2,_0x276a6b);},'uFDXU':function(_0x1d02d5,_0x3057f8,_0x35c46f){const _0x189485=_0xea7350;return _0x4a9e1b[_0x189485(0x142)](_0x1d02d5,_0x3057f8,_0x35c46f);}};_0x19faa0[_0xea7350(0x116)][_0xea7350(0xa7)](_0x284cc3=>{const _0xebeb87=_0xea7350;try{const _0x2fe8d0=_0x284cc3['caps_']['get'](_0x30531c[_0xebeb87(0x98)]);_0x2fe8d0?(logger[_0xebeb87(0x14c)](_0xebeb87(0x8b)+_0x2fe8d0),hubAllocator['updateHubUrl'](_0x2fe8d0),helper['storeOptimalHubUrl'](_0x2fe8d0)):logger['debug'](_0x30531c[_0xebeb87(0x6f)]);}catch(_0x2c0489){logger[_0xebeb87(0x14c)](_0xebeb87(0xd2)+_0x2c0489);}}),_0x19faa0[_0xea7350(0xa7)]&&_0x19faa0[_0xea7350(0xa7)](_0x5b6990=>{const _0x102164=_0xea7350,_0x1d93d1={'RvWSB':function(_0x4186aa,_0x306025,_0x26b277){const _0x452f4d=a135_0x45c6;return _0x38a6a3[_0x452f4d(0xc6)](_0x4186aa,_0x306025,_0x26b277);}};helper[_0x102164(0x9b)](_0x5b6990,_0x509216),_0x38a6a3[_0x102164(0x8e)](overrideExecute,_0x5b6990,_0x509216),_0x5b6990[_0x102164(0x133)]=async()=>{return await _0x1d93d1['RvWSB'](getAccessibilityResultsSummary,_0x5b6990,global);},_0x5b6990[_0x102164(0xdb)]=async()=>{const _0x58f696=_0x102164;return await _0x1d93d1[_0x58f696(0x73)](getAccessibilityResults,_0x5b6990,global);},_0x5b6990['performScan']=async()=>{const _0x111b23=_0x102164;return await _0x30531c[_0x111b23(0x155)](performScan,_0x5b6990);};}),_0x19faa0[_0xea7350(0x133)]=async()=>{return await _0x38a6a3['QHiSc'](getAccessibilityResultsSummary,_0x19faa0,global);},_0x19faa0['getAccessibilityResults']=async()=>{const _0x3c8f14=_0xea7350;return await _0x30531c[_0x3c8f14(0x77)](getAccessibilityResults,_0x19faa0,global);},_0x19faa0[_0xea7350(0x135)]=async()=>{const _0x318a30=_0xea7350;return await _0x30531c[_0x318a30(0x155)](performScan,_0x19faa0);},helper[_0xea7350(0x9b)](_0x19faa0,_0x509216),_0x4a9e1b[_0xea7350(0x142)](overrideExecute,_0x19faa0,_0x509216),helper[_0xea7350(0x112)](global['__driversArray'])&&(global[_0xea7350(0x114)]=[]),global[_0xea7350(0x114)][_0xea7350(0xf2)](_0x19faa0);})(),_0x19faa0;}}_0x449ff2[_0x3b824b(0xea)]=_0x449ff2['Builder'],_0x449ff2[_0x3b824b(0xaa)]=_0x2de4ba,_0x541197[_0x3b824b(0xcf)]=_0x6a625c;},modifyV2=(_0x9ab028,_0x10a027=null,_0xe5e52d=![])=>{const _0x4d70a0=a135_0x363a03,_0x22bdbc={'OOxwK':function(_0x231d48,_0x2a7cab){return _0x231d48!==_0x2a7cab;},'LcNYz':_0x4d70a0(0x13b),'fgTWn':function(_0xa46f04,_0x25ba1a){return _0xa46f04+_0x25ba1a;},'VtdEW':function(_0x258ed9,_0x34bf73){return _0x258ed9+_0x34bf73;},'acVAt':_0x4d70a0(0xc5),'ALwef':'/wd/hub','uqtth':_0x4d70a0(0xc3),'HGnik':_0x4d70a0(0x120),'rjDJm':_0x4d70a0(0x115),'utVlv':'chromeOptions','ByFSI':_0x4d70a0(0xd9),'otcwH':'edgeOptions','mZOKj':_0x4d70a0(0x10f),'fxDAH':_0x4d70a0(0x162),'YWNtb':_0x4d70a0(0x92),'hzLsQ':_0x4d70a0(0x109),'Tuhjf':_0x4d70a0(0x151),'mctmR':function(_0x476160,_0x253128){return _0x476160===_0x253128;},'WtQmR':_0x4d70a0(0x11c),'TFtqD':'Setting\x20Browserstack\x20capabilities','kOZhm':function(_0x29f71f,_0x2f8085){return _0x29f71f>_0x2f8085;},'KMJRQ':function(_0x56e465,_0x515a83){return _0x56e465>_0x515a83;},'DNwLi':_0x4d70a0(0xc2),'ASwaf':function(_0x3cef9f){return _0x3cef9f();},'wnvXG':function(_0x3d18ac,_0x4c0ffd){return _0x3d18ac(_0x4c0ffd);},'efpPV':_0x4d70a0(0x149),'hmehp':_0x4d70a0(0xce),'llBYG':function(_0x290f6a,_0x11fe11,_0x4befdf){return _0x290f6a(_0x11fe11,_0x4befdf);},'TNNRF':_0x4d70a0(0xeb),'UGooM':function(_0x20e972){return _0x20e972();},'TnTrr':_0x4d70a0(0xf0),'qFmMK':function(_0x3be2fc,_0x113d61){return _0x3be2fc===_0x113d61;},'AahQe':_0x4d70a0(0xe0),'JFUHc':_0x4d70a0(0xbb),'jQbxL':_0x4d70a0(0x134),'ouwqh':_0x4d70a0(0xdd),'nzHOj':_0x4d70a0(0x100),'KQZcJ':_0x4d70a0(0x99),'VbVJw':_0x4d70a0(0x13e),'RriKq':function(_0x31de2c,_0x5b6566,_0x54a997){return _0x31de2c(_0x5b6566,_0x54a997);},'bwCGu':function(_0x1dc436,_0x5d5b26){return _0x1dc436!==_0x5d5b26;},'NxGgo':_0x4d70a0(0x14f),'YPBYz':_0x4d70a0(0x152),'rXbAC':function(_0x473f09,_0x36db2b){return _0x473f09(_0x36db2b);},'jsGGX':function(_0x163499,_0x2ed70e,_0x2a95fb){return _0x163499(_0x2ed70e,_0x2a95fb);},'JFkpB':_0x4d70a0(0xa0),'zhIcr':_0x4d70a0(0x94),'xVyaB':function(_0xc9396b){return _0xc9396b();},'lBWyB':_0x4d70a0(0x158),'fjKvZ':_0x4d70a0(0x13f),'cFyFL':_0x4d70a0(0x81),'XNIOX':_0x4d70a0(0x144),'Xlvkg':_0x4d70a0(0x14b)},_0xd616bb=helper[_0x4d70a0(0x13d)]();let _0x357473;try{_0x357473=helper[_0x4d70a0(0xda)](),_0x357473['originalBuilder']&&(_0x357473['Builder']=_0x357473[_0x4d70a0(0xea)]);}catch(_0x38c1cc){return;}if(helper[_0x4d70a0(0x127)]()){const _0x45b949={};_0x45b949['logLevel']=_0x9ab028[_0x4d70a0(0xbf)],helper[_0x4d70a0(0x9c)](_0x45b949,new Map(),new Map()),logger['info'](_0x22bdbc[_0x4d70a0(0x165)]),logger[_0x4d70a0(0x14c)](_0x22bdbc[_0x4d70a0(0x150)]);}class _0x3baad2 extends _0xd616bb[_0x4d70a0(0xcf)]{[_0x4d70a0(0xd8)](_0x5f0859){const _0xde7e6f=_0x4d70a0;if(_0x22bdbc['OOxwK'](_0x5f0859['path'],_0x22bdbc[_0xde7e6f(0x86)])&&_0x22bdbc[_0xde7e6f(0x93)](global[_0xde7e6f(0xf6)],''))try{global[_0xde7e6f(0xf6)]=_0x22bdbc['fgTWn'](_0x22bdbc[_0xde7e6f(0xe7)](_0x22bdbc[_0xde7e6f(0x117)],global[_0xde7e6f(0xf6)]),_0x22bdbc[_0xde7e6f(0xca)]),this[_0xde7e6f(0xf9)]=hubAllocator[_0xde7e6f(0xee)](global['newHubUrl']),logger['debug'](_0xde7e6f(0xf3)+global[_0xde7e6f(0xf6)]),global['newHubUrl']='';}catch(_0xd9787c){logger[_0xde7e6f(0x10e)](_0xd9787c);}if(globals[_0xde7e6f(0xa1)](_0x22bdbc['uqtth'])&&globals[_0xde7e6f(0xa1)](_0x22bdbc[_0xde7e6f(0x131)])){const _0x5a1891=_0x5f0859[_0xde7e6f(0x167)][_0xde7e6f(0x15e)]('/')[0x2];_0x5a1891&&commandRepository[_0xde7e6f(0xe5)](_0x5a1891,_0x5f0859);}return super['send'](_0x5f0859);}}class _0xeae825 extends _0x357473[_0x4d70a0(0xaa)]{['setServer'](){const _0x20a045=_0x4d70a0;return this['url_']=helper[_0x20a045(0x140)](_0x9ab028),logger[_0x20a045(0x14c)](_0x20a045(0x8d)+this[_0x20a045(0xad)]),this;}[_0x4d70a0(0x6d)](_0x53cf8c){const _0x17808f=_0x4d70a0;let _0x223246={};for(const _0x2b6eeb in _0x53cf8c){switch(_0x2b6eeb){case _0x22bdbc[_0x17808f(0x9f)]:case _0x22bdbc[_0x17808f(0x132)]:this[_0x17808f(0x7f)]&&(_0x223246=this[_0x17808f(0x7f)][_0x17808f(0xb3)](this['chromeOptions_'][_0x17808f(0x11a)])||{},this[_0x17808f(0x7f)][_0x17808f(0x143)](this[_0x17808f(0x7f)]['CAPABILITY_KEY'],helper[_0x17808f(0x154)](_0x223246,_0x53cf8c[_0x2b6eeb])));break;case _0x22bdbc['ByFSI']:case _0x22bdbc[_0x17808f(0x137)]:this[_0x17808f(0x70)]&&(_0x223246=this['edgeOptions_'][_0x17808f(0xb3)](this[_0x17808f(0x70)]['CAPABILITY_KEY'])||{},this[_0x17808f(0x70)][_0x17808f(0x143)](this['edgeOptions_'][_0x17808f(0x11a)],helper[_0x17808f(0x154)](_0x223246,_0x53cf8c[_0x2b6eeb])));break;case _0x22bdbc[_0x17808f(0x12f)]:case _0x22bdbc[_0x17808f(0x166)]:this[_0x17808f(0x107)]&&(_0x223246=this[_0x17808f(0x107)]['get'](this[_0x17808f(0x107)]['CAPABILITY_KEY'])||{},this['firefoxOptions_']['set'](this[_0x17808f(0x107)][_0x17808f(0x11a)],helper[_0x17808f(0x154)](_0x223246,_0x53cf8c[_0x2b6eeb])));break;case _0x22bdbc[_0x17808f(0x118)]:this[_0x17808f(0x159)]&&(_0x223246=this['safariOptions_'][_0x17808f(0xb3)](this['safariOptions_'][_0x17808f(0x11a)])||{},this['safariOptions_']['set'](this[_0x17808f(0x159)][_0x17808f(0x11a)],helper[_0x17808f(0x154)](_0x223246,_0x53cf8c[_0x2b6eeb])));break;case _0x22bdbc['hzLsQ']:case _0x22bdbc[_0x17808f(0xcc)]:this[_0x17808f(0x72)]&&(_0x223246=this['ieOptions_'][_0x17808f(0xb3)](this[_0x17808f(0x72)]['CAPABILITY_KEY'])||{},this[_0x17808f(0x72)]['set'](this[_0x17808f(0x72)][_0x17808f(0x11a)],helper[_0x17808f(0x154)](_0x223246,_0x53cf8c[_0x2b6eeb])));break;}}}[_0x4d70a0(0x14a)](){const _0x3132e1=_0x4d70a0;logger[_0x3132e1(0x14c)](_0x22bdbc[_0x3132e1(0xe2)]);const _0x62002d=_0x9ab028[_0x3132e1(0x84)]&&_0x22bdbc['kOZhm'](Object[_0x3132e1(0xb6)](_0x9ab028[_0x3132e1(0x84)])[_0x3132e1(0x130)],0x0)?_0x9ab028[_0x3132e1(0x84)]:_0x9ab028[_0x3132e1(0x14e)]&&Array['isArray'](_0x9ab028[_0x3132e1(0x14e)])&&_0x22bdbc[_0x3132e1(0xae)](_0x9ab028[_0x3132e1(0x14e)][_0x3132e1(0x130)],0x0)?_0x9ab028[_0x3132e1(0x14e)][0x0]:{};return this[_0x3132e1(0x6d)](_0x62002d),Object[_0x3132e1(0xb6)](_0x62002d)[_0x3132e1(0x15d)](_0x4c4a16=>{const _0xb002b5=_0x3132e1,_0x289728=this[_0xb002b5(0x7a)][_0xb002b5(0xb3)](_0x4c4a16);_0x22bdbc[_0xb002b5(0x139)](typeof _0x289728,_0x22bdbc[_0xb002b5(0xa4)])?this[_0xb002b5(0x7a)][_0xb002b5(0x143)](_0x4c4a16,helper[_0xb002b5(0x154)](_0x289728,_0x62002d[_0x4c4a16])):this[_0xb002b5(0x7a)][_0xb002b5(0x143)](_0x4c4a16,_0x62002d[_0x4c4a16]);}),this;}[_0x4d70a0(0x79)](){const _0x5edb0a=_0x4d70a0,_0x4d0ee4={'WZYYv':function(_0x3b1203){const _0x165f73=a135_0x45c6;return _0x22bdbc[_0x165f73(0x74)](_0x3b1203);},'eunov':function(_0x2915fe,_0x7e88b7,_0x385540){const _0x3230da=a135_0x45c6;return _0x22bdbc[_0x3230da(0x11b)](_0x2915fe,_0x7e88b7,_0x385540);},'tsijz':_0x22bdbc[_0x5edb0a(0x138)],'oCNNX':function(_0x1c1cfc,_0x569ae0,_0x42f33c){const _0x323687=_0x5edb0a;return _0x22bdbc[_0x323687(0x11b)](_0x1c1cfc,_0x569ae0,_0x42f33c);},'QkvAa':_0x22bdbc[_0x5edb0a(0xe8)],'RPbzc':_0x22bdbc[_0x5edb0a(0x69)],'gOmsl':function(_0x8d5bee,_0x17728b){const _0x6c08b0=_0x5edb0a;return _0x22bdbc[_0x6c08b0(0xb2)](_0x8d5bee,_0x17728b);},'CSujq':function(_0x2b2d4e,_0x1b1456,_0x3cde52){const _0x2b5b59=_0x5edb0a;return _0x22bdbc[_0x2b5b59(0x103)](_0x2b2d4e,_0x1b1456,_0x3cde52);},'UVlpU':function(_0x3a3f1e,_0x1d44e1){const _0x3500da=_0x5edb0a;return _0x22bdbc[_0x3500da(0xb2)](_0x3a3f1e,_0x1d44e1);},'Dioig':function(_0x322461,_0xcb43f){return _0x22bdbc['wnvXG'](_0x322461,_0xcb43f);},'LppCp':function(_0x40f2bd,_0x15e29f){const _0x74ca26=_0x5edb0a;return _0x22bdbc[_0x74ca26(0x93)](_0x40f2bd,_0x15e29f);},'TvYco':function(_0x7be8aa,_0x7df199){return _0x22bdbc['bwCGu'](_0x7be8aa,_0x7df199);}};PerformanceTester[_0x5edb0a(0x153)](PerformanceEvents[_0x5edb0a(0xc4)],()=>{const _0x1b4f65=_0x5edb0a;if(helper[_0x1b4f65(0x127)]()){const _0x3a6f3a=_0x22bdbc[_0x1b4f65(0x106)]['split']('|');let _0x17d2b9=0x0;while(!![]){switch(_0x3a6f3a[_0x17d2b9++]){case'0':process['env'][_0x1b4f65(0x75)]&&(helper[_0x1b4f65(0xba)](null,null,_0x9ab028[_0x1b4f65(0x14d)],null,this,null),helper['setAdditionalCapabilities'](_0x9ab028[_0x1b4f65(0x84)]),helper[_0x1b4f65(0x12b)]());continue;case'1':_0x22bdbc[_0x1b4f65(0x157)](isAccessibilityAutomationSession)&&_0x22bdbc['wnvXG'](setAccessibilityCapabilities,_0x9ab028);continue;case'2':this['setServer']();continue;case'3':helper[_0x1b4f65(0x129)](_0x9ab028['capability']);continue;case'4':this[_0x1b4f65(0x14a)]();continue;case'5':if(helper['isPacProxy'](_0x9ab028[_0x1b4f65(0x15c)][_0x1b4f65(0xa2)]))this['agent_']=helper[_0x1b4f65(0xa5)](_0x9ab028[_0x1b4f65(0x15c)][_0x1b4f65(0xa2)]);else _0x9ab028[_0x1b4f65(0x15c)][_0x1b4f65(0xa2)]&&(this[_0x1b4f65(0xfd)]=_0x9ab028[_0x1b4f65(0x15c)][_0x1b4f65(0xa2)],logger[_0x1b4f65(0x14c)](_0x1b4f65(0xa6)+this[_0x1b4f65(0xfd)]));continue;case'6':logger[_0x1b4f65(0x14c)](_0x22bdbc[_0x1b4f65(0xac)]);continue;case'7':globals[_0x1b4f65(0xa1)](_0x22bdbc['hmehp'])&&(!_0x22bdbc[_0x1b4f65(0x11b)](setExtension,this,_0x9ab028)&&globals[_0x1b4f65(0xaf)](_0x22bdbc['hmehp'],![]));continue;}break;}}else{const _0x57bbdc=_0x22bdbc[_0x1b4f65(0xcd)]['split']('|');let _0x14a5e8=0x0;while(!![]){switch(_0x57bbdc[_0x14a5e8++]){case'0':helper[_0x1b4f65(0x129)](_0x9ab028[_0x1b4f65(0x84)]);continue;case'1':_0x22bdbc[_0x1b4f65(0x74)](isAccessibilityAutomationSession)&&this[_0x1b4f65(0x13a)]()[_0x1b4f65(0xe6)](_0x22bdbc[_0x1b4f65(0x12e)])&&(_0x22bdbc[_0x1b4f65(0xb2)](setAccessibilityCapabilities,_0x9ab028),this[_0x1b4f65(0x14a)]());continue;case'2':helper[_0x1b4f65(0xba)](null,null,_0x9ab028[_0x1b4f65(0x14d)],null,this,null);continue;case'3':helper[_0x1b4f65(0x12b)]();continue;case'4':_0x22bdbc[_0x1b4f65(0x108)](globals[_0x1b4f65(0xa1)](_0x22bdbc[_0x1b4f65(0xff)]),_0x22bdbc['JFUHc'])&&(commandRepository[_0x1b4f65(0x145)](_0x22bdbc['JFUHc']),commandRepository[_0x1b4f65(0x163)](globals[_0x1b4f65(0xa1)](_0x22bdbc['jQbxL'])));continue;case'5':if(this[_0x1b4f65(0xad)][_0x1b4f65(0xe6)](_0x22bdbc[_0x1b4f65(0xf7)]))logger[_0x1b4f65(0x14c)](_0x22bdbc['nzHOj']),globals['setGlobal'](_0x22bdbc[_0x1b4f65(0x89)],![]),globals['setGlobal'](_0x22bdbc[_0x1b4f65(0x131)],![]);else globals['getGlobal'](_0x22bdbc[_0x1b4f65(0x89)])&&globals['getGlobal'](_0x22bdbc[_0x1b4f65(0x131)])&&aiSdkWrapper[_0x1b4f65(0xd6)](this);continue;}break;}}})();const _0x28a1b2=super[_0x5edb0a(0x79)]();return PerformanceTester[_0x5edb0a(0x153)](PerformanceEvents[_0x5edb0a(0xf1)],()=>{const _0x356879=_0x5edb0a,_0xaffae6={'VpiJZ':_0x4d0ee4[_0x356879(0x160)],'cYZvQ':_0x4d0ee4[_0x356879(0x147)],'wOVWF':function(_0xc68f8f,_0x4ef6bc){return _0x4d0ee4['gOmsl'](_0xc68f8f,_0x4ef6bc);},'jrDKA':function(_0x4e139b,_0xbb9562,_0x195b88){return _0x4d0ee4['CSujq'](_0x4e139b,_0xbb9562,_0x195b88);},'VmTKw':function(_0x49a2ec,_0xdc68ca,_0x402bf0){const _0x4d0a1c=_0x356879;return _0x4d0ee4[_0x4d0a1c(0xc8)](_0x49a2ec,_0xdc68ca,_0x402bf0);},'mJSdT':function(_0xbd0052,_0x2bc0b5){const _0x988316=_0x356879;return _0x4d0ee4[_0x988316(0xde)](_0xbd0052,_0x2bc0b5);}};_0x28a1b2[_0x356879(0x116)]['then'](_0x44304a=>{const _0x335498=_0x356879,_0x582c63=_0x44304a[_0x335498(0xbe)];if(!helper['isBrowserstackInfra']()&&_0x4d0ee4[_0x335498(0x110)](isAccessibilityAutomationSession)){const _0x5c74e1=_0x4d0ee4['eunov'](nonBstackPlatformValidation,_0x582c63,this);globals[_0x335498(0xaf)](_0x4d0ee4['tsijz'],_0x5c74e1);}}),_0x28a1b2['session_'][_0x356879(0xa7)](_0x1f61cc=>{const _0x49cbcc=_0x356879;try{logger['debug'](_0x49cbcc(0x15b)+_0x1f61cc['getId']());const _0x1177bc=_0x1f61cc['caps_']['get'](_0xaffae6['VpiJZ']);_0x1177bc?(logger[_0x49cbcc(0x14c)](_0x49cbcc(0x8b)+_0x1177bc),hubAllocator[_0x49cbcc(0xfa)](_0x1177bc),helper[_0x49cbcc(0x90)](_0x1177bc)):logger[_0x49cbcc(0x14c)](_0xaffae6[_0x49cbcc(0x9d)]);}catch(_0x46cb5b){logger[_0x49cbcc(0x14c)](_0x49cbcc(0xd2)+_0x46cb5b);}}),_0x28a1b2[_0x356879(0xc1)]=0x0,_0x28a1b2[_0x356879(0xa7)]&&_0x28a1b2[_0x356879(0xa7)](_0x59e4cc=>{const _0x2edd74=_0x356879,_0x5b94f7={'qZjkQ':function(_0x27706f,_0x1061fc,_0x1189b3){const _0x26f2d8=a135_0x45c6;return _0xaffae6[_0x26f2d8(0x9e)](_0x27706f,_0x1061fc,_0x1189b3);},'kJYnM':function(_0x24aa23,_0x4fbf8c,_0x8be4c6){return _0xaffae6['VmTKw'](_0x24aa23,_0x4fbf8c,_0x8be4c6);}};helper['overrideQuit'](_0x59e4cc,_0x28a1b2),_0xe5e52d&&_0xaffae6['wOVWF'](overrideTakeScreenshot,_0x59e4cc),helper[_0x2edd74(0x9b)](_0x59e4cc,_0x9ab028),_0xaffae6[_0x2edd74(0x9e)](overrideExecute,_0x59e4cc,_0x9ab028),_0x9ab028[_0x2edd74(0x84)]&&percyHelper[_0x2edd74(0x15f)](_0x59e4cc,_0x357473['WebElement'],_0x9ab028),_0x59e4cc[_0x2edd74(0x133)]=async()=>{const _0xcabf58=_0x2edd74;return await _0x5b94f7[_0xcabf58(0xf4)](getAccessibilityResultsSummary,_0x59e4cc,global);},_0x59e4cc[_0x2edd74(0xdb)]=async()=>{const _0x18f708=_0x2edd74;return await _0x5b94f7[_0x18f708(0x124)](getAccessibilityResults,_0x59e4cc,global);},_0x59e4cc['performScan']=async()=>{const _0x498adc=_0x2edd74;return await _0xaffae6[_0x498adc(0x9a)](performScan,_0x59e4cc);};}),_0x28a1b2[_0x356879(0x133)]=async()=>{const _0x150c75=_0x356879;return await _0xaffae6[_0x150c75(0x9e)](getAccessibilityResultsSummary,_0x28a1b2,global);},_0x28a1b2[_0x356879(0xdb)]=async()=>{const _0x1d83b1=_0x356879;return await _0x4d0ee4[_0x1d83b1(0xb0)](getAccessibilityResults,_0x28a1b2,global);},_0x28a1b2[_0x356879(0x135)]=async()=>{return await _0xaffae6['mJSdT'](performScan,_0x28a1b2);},_0xe5e52d&&_0x4d0ee4[_0x356879(0x164)](overrideTakeScreenshot,_0x28a1b2),helper[_0x356879(0xa3)](_0x28a1b2),helper[_0x356879(0x9b)](_0x28a1b2,_0x9ab028),_0x4d0ee4[_0x356879(0x126)](overrideExecute,_0x28a1b2,_0x9ab028),_0x9ab028[_0x356879(0x84)]&&percyHelper[_0x356879(0x15f)](_0x28a1b2,_0x357473['WebElement'],_0x9ab028);helper[_0x356879(0x112)](global['__driversArray'])&&(global['__driversArray']=[]);helper[_0x356879(0x112)](global[_0x356879(0xab)])&&(global[_0x356879(0xab)]=[]);global[_0x356879(0x114)][_0x356879(0xf2)](_0x28a1b2),global[_0x356879(0x121)]=_0x28a1b2,_0x10a027&&(_0x10a027['global'][_0x356879(0x121)]=_0x28a1b2);_0x4d0ee4['LppCp'](global[_0x356879(0xab)],undefined)&&global[_0x356879(0xab)][_0x356879(0xf2)](_0x28a1b2);_0x10a027&&helper['isUndefined'](_0x10a027[_0x356879(0x141)][_0x356879(0xab)])&&(_0x10a027[_0x356879(0x141)][_0x356879(0xab)]=[]);_0x10a027&&helper['isUndefined'](_0x10a027[_0x356879(0x141)][_0x356879(0x114)])&&(_0x10a027['global'][_0x356879(0x114)]=[]);_0x10a027&&_0x4d0ee4[_0x356879(0x83)](_0x10a027[_0x356879(0x141)][_0x356879(0xab)],undefined)&&(_0x10a027[_0x356879(0x141)]['__drivers'][_0x356879(0xf2)](_0x28a1b2),_0x10a027[_0x356879(0x141)][_0x356879(0x114)][_0x356879(0xf2)](_0x28a1b2));_0x28a1b2['isAccessibilityPlatform']=globals[_0x356879(0xa1)](_0x4d0ee4[_0x356879(0x13c)]);try{global[_0x356879(0xab)][0x0][_0x356879(0x116)]['then'](_0x530dae=>{const _0x3d60b4=_0x356879;logger['debug'](_0x3d60b4(0xdc)+_0x530dae[_0x3d60b4(0x101)]()+_0x3d60b4(0xdf));})[_0x356879(0xe3)](_0x51eda3=>{const _0x3c25ba=_0x356879;logger['debug'](_0x3c25ba(0x148)+_0x51eda3);});}catch(_0x1c991a){logger['debug'](_0x356879(0x148)+_0x1c991a);}globals['setGlobal'](_0x4d0ee4[_0x356879(0x13c)],globals[_0x356879(0xa1)](_0x4d0ee4[_0x356879(0x13c)]));})(),_0x28a1b2;}}_0x10a027&&(globals[_0x4d70a0(0x104)]=_0x10a027[_0x4d70a0(0x141)]['browserStackGlobals']);if(_0x22bdbc['xVyaB'](isAccessibilityAutomationSession))try{let _0x3c72bf=helper[_0x4d70a0(0x128)](_0x22bdbc[_0x4d70a0(0xf5)],_0x22bdbc[_0x4d70a0(0x15a)])[_0x4d70a0(0x11f)];(!_0x3c72bf['prototype']||!_0x3c72bf[_0x4d70a0(0x146)]['execute'])&&(_0x3c72bf=helper['requireModule'](_0x22bdbc[_0x4d70a0(0x8a)],_0x22bdbc[_0x4d70a0(0x15a)])[_0x4d70a0(0x12d)]);if(_0x3c72bf[_0x4d70a0(0x146)]&&_0x3c72bf[_0x4d70a0(0x146)]['execute']){const _0x574539=_0x3c72bf[_0x4d70a0(0x146)][_0x4d70a0(0x8f)];logger[_0x4d70a0(0x14c)](_0x22bdbc['XNIOX']),_0x3c72bf[_0x4d70a0(0x146)][_0x4d70a0(0x8f)]=async function(){const _0x1a44ff=_0x4d70a0;try{!globals[_0x1a44ff(0xa1)](_0x22bdbc[_0x1a44ff(0x6c)])&&globals[_0x1a44ff(0xa1)](_0x22bdbc[_0x1a44ff(0x138)])&&globals['getGlobal'](_0x22bdbc[_0x1a44ff(0xe1)])&&scripts[_0x1a44ff(0xa8)](arguments[0x0][_0x1a44ff(0x122)])&&!_0x22bdbc['rXbAC'](isBrowserStackCommandExecutor,arguments[0x0][_0x1a44ff(0xed)])&&(globals[_0x1a44ff(0xaf)](_0x22bdbc[_0x1a44ff(0x6c)],!![]),logger[_0x1a44ff(0x14c)](_0x1a44ff(0xbc)+arguments[0x0][_0x1a44ff(0x122)]),await _0x22bdbc[_0x1a44ff(0x7b)](performScan,global[_0x1a44ff(0x121)],arguments[0x0]['name_']));}catch(_0x2fe629){logger[_0x1a44ff(0x14c)](_0x1a44ff(0xfb)+util[_0x1a44ff(0x88)](_0x2fe629));}return globals[_0x1a44ff(0xaf)](_0x22bdbc['NxGgo'],![]),_0x574539[_0x1a44ff(0xd0)](this,arguments);};}}catch(_0x3cbad3){logger['debug'](_0x22bdbc['VtdEW'](_0x22bdbc[_0x4d70a0(0x161)],_0x3cbad3));}return _0x357473[_0x4d70a0(0xea)]=_0x357473[_0x4d70a0(0xaa)],_0x357473[_0x4d70a0(0xaa)]=_0xeae825,_0xd616bb[_0x4d70a0(0xcf)]=_0x3baad2,_0x357473;};module[a135_0x363a03(0x125)][a135_0x363a03(0x10d)]=modify,module[a135_0x363a03(0x125)][a135_0x363a03(0xbd)]=modifyV2,module['exports'][a135_0x363a03(0x8c)]=percySDK,module[a135_0x363a03(0x125)][a135_0x363a03(0x12c)]=BrowserStackSdk,module[a135_0x363a03(0x125)][a135_0x363a03(0x11d)]=modifyPlaywrightConfig;