browserstack-node-sdk 1.49.12 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) 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 +2 -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/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a94_0x3cff(_0x5929e7,_0x2c73b3){const _0x3577d5=a94_0x3577();return a94_0x3cff=function(_0x3cff2e,_0x591dbf){_0x3cff2e=_0x3cff2e-0x133;let _0x439e2b=_0x3577d5[_0x3cff2e];return _0x439e2b;},a94_0x3cff(_0x5929e7,_0x2c73b3);}const a94_0x308723=a94_0x3cff;function a94_0x3577(){const _0xb76efd=['startMonitoring','ikVuW','Percy\x20started\x20successfully','LzUin','./timeoutPromise','AI_INIT_SUCCESSFUL','KpHzp','AI_PROXY_FAILURE','turboScaleUrl','INVALID_INIT_RESP_WITH_USER_IMPACT','MYxGI','TaGEe','aiHeal:tcgAuth','finalize','BrowserstackHealing.init\x20method\x20timed\x20out','AGNQL','getProxyConfigForTcg','tQlQv','default','72zJjpuK','setLogLevel','killSignal','isLTSSession','join','turboScale','ueVMa','customRepeaters','BRJRq','getLocalIdentifier','tcOGO','close','reportProcessInterruptionSituation','AI_INIT_FAILURE','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','./performance/constants','testContextOptions','isTurboScaleSession','version','getLocalConfig','nopUL','toLowerCase','checkStopLocalBinaryOnExit','setUpHubUrl','handleExceptions','IZgyc','uncaughtException','qhDlT','4|5|3|0|1|7|6|2','15|21|18|6|4|16|0|5|11|13|14|19|17|12|23|1|2|9|7|8|10|3|20|22','Failed\x20to\x20send\x20data\x20to\x20','./percy/utils','url','turboScaleOptions','TASif','xLiRB','iYjwl','omeSe','571281tCzmlP','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','measures','path','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','wjajD','OWXWL','ofWoM','isEnabled','3596980HTflOK','statusCode','TCG_AUTH_TIMEOUT','race','./performance/performance-tester','xswLP','fWTxZ','isAuthenticated','custom-repeater','isUndefined','zOJyf','FRAMEWORK','errorMessage','fireFunnelTestEvent','QVqFf','compareVersions','TCG_DOWN','\x20with\x20response\x20','env','skipSessionStatus','BROWSERSTACK_TURBOSCALE','ajUWA','4|0|1|2|3','turboScaleGridDetails','BbKUm','error','reportFinalDetectionState','message','tcg\x20config\x20setup\x20successful.','parallelsPerPlatform','SIGINT','140508IcYlPE','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','setCredentialsFromYmlConfig','./helper','writeFileSync','jyXZx','unhandledRejection','SDK_CLEANUP','useW3C','end','QbEpR','readConfig','getCentralUser','info','EDizG','ElNKx','cliConfig','toString','qKFXV','__isPlaywrightInstalled','isNotUndefined','../ai-sdk-node/bundle','cAzTE','NMlZS','haDow','selenium-webdriver','gfVWk','YWiMt','requireSeleniumWebdriverCheck','./testhub/testhubHandler','EPouz','exceptions','1400610YjbXNL','tcgAuthConfig','Error\x20in\x20sending\x20testhub\x20stop:\x20','envConfig','bstackConfig','Shutdown\x20triggered\x20by\x20','KRkCC','setupPercy','proxy','stopLocalBinary','startLocalBinary','format','pXXwb','32unqWqc','../../package.json','split','configPath','setupTCGAuth','cancel','BROWSERSTACK_PERCY','PIeTh','fileLogger','central_scanner','setCLICaps','framework','ZEzjL','33250690wRaEKw','length','localIdentifier','Local\x20binary\x20stopped','../bin/utils/clientTroubleshootingService','noLUU','Ibzkd','userName\x20or\x20accessKey\x20is\x20not\x20defined','integrations','skipSessionName','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','MsgyH','VOZwI','warn','beforeExit','ZQuGC','Error\x20in\x20percy\x20setup\x20','Error\x20in\x20writing\x20events\x20to\x20file\x20','disableAutoCaptureLogs','getUserName','setLogDir','4295vxBjhk','status','../bin/v2/browserstackCLI','inmem','BrowserstackHealingInitFailed','true','SDK\x20run\x20started\x20with\x20id:\x20','getPackageVersion','wasQK','bEpSv','JwebN','tqifh','zWrsv','measureWrapper','4.5.0','setBrowserstackInfraFromConfig','ACBHJ','setHandlePWError','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','includes','push','4iyhOjr','TCG_URL','platform','./setKeepAlive','vJIWs','tlbXd','isHealingEnabled','isRunning','platforms','uuid','getInstance','events.json','selfHeal','stop','IQvdV','preInitialize','proxyUrl','accessKey','playwrightUrl','UPGRADE_REQUIRED','./utilities','percy','exitHandler','BrowserstackHealing.init','YtDtL','sdkRunId','init','sanitizeCaps','HUB_MANAGEMENT','PZltb','skipBinaryInitialisation','generateLocalIdentifier','Error\x20occured\x20while\x20stopping\x20percy','browserstackLocal','config','blLNi','EDxLm','SDKTestAttempted','BRMiB','stopBrowserstackLocal','?caps=','debug','setupBrowserstackLocal','AUTOLOGCAPTURE_NOTIFICATION','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','hubUrl','\x20with\x20error\x20','false','jIAtb','./testhub/utils','SIGTERM','forceLocal','GBjsu','stopPercy','LrMKO','KUAZR','pBGaD','2208003hxzepv','getConfigPath','Error\x20occured\x20while\x20stopping\x20local\x20binary','constructor','normalizeTestReportingEnvVars','unhandledErrors','browserStackLocalOptions','./logger','RfYjc','isBrowserstackInfra','setProxySettings','EBCwV','isTrue','setupKeepAlive','captureError','SIGHUP','PlqMJ','ats-repeater','Data\x20sent\x20successfully\x20to\x20','getAccessKey','intExitHandler','win32'];a94_0x3577=function(){return _0xb76efd;};return a94_0x3577();}(function(_0x4ed190,_0x567058){const _0x581a22=a94_0x3cff,_0x1cc8df=_0x4ed190();while(!![]){try{const _0x3b92b3=parseInt(_0x581a22(0x230))/0x1*(-parseInt(_0x581a22(0x193))/0x2)+-parseInt(_0x581a22(0x1b9))/0x3+-parseInt(_0x581a22(0x245))/0x4*(parseInt(_0x581a22(0x1c2))/0x5)+-parseInt(_0x581a22(0x201))/0x6+-parseInt(_0x581a22(0x16a))/0x7*(parseInt(_0x581a22(0x20e))/0x8)+-parseInt(_0x581a22(0x1e1))/0x9+parseInt(_0x581a22(0x21b))/0xa;if(_0x3b92b3===_0x567058)break;else _0x1cc8df['push'](_0x1cc8df['shift']());}catch(_0x284b6a){_0x1cc8df['push'](_0x1cc8df['shift']());}}}(a94_0x3577,0xb7127));const util=require('util'),os=require('os'),path=require(a94_0x308723(0x1bc)),{v4:uuidv4}=require(a94_0x308723(0x13a)),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require(a94_0x308723(0x171))['winstonLogger'],fileLogger=require(a94_0x308723(0x171))[a94_0x308723(0x216)],{getLogDir}=require(a94_0x308723(0x171)),helper=require(a94_0x308723(0x1e4)),utilities=require(a94_0x308723(0x145)),percyHelper=require(a94_0x308723(0x1b2)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a94_0x308723(0x1c6)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x308723(0x1a2)),{setPercyFlag}=require(a94_0x308723(0x162)),TestHubHandler=require(a94_0x308723(0x1fe)),timeoutPromise=require(a94_0x308723(0x184)),BrowserstackCLI=require(a94_0x308723(0x232)),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require('../bin/utils/apiUtilityMethods'),ClientTroubleShootingService=require(a94_0x308723(0x21f));class BrowserStackSetup{constructor(_0xef1427,_0x4d00b6){const _0x140093=a94_0x308723,_0x29106={'QbEpR':_0x140093(0x1b0),'oIUCD':function(_0x2809b7){return _0x2809b7();},'wjajD':'No\x20config\x20provided.'},_0x20a600=_0x29106[_0x140093(0x1eb)]['split']('|');let _0x55b18d=0x0;while(!![]){switch(_0x20a600[_0x55b18d++]){case'0':this[_0x140093(0x153)]=helper[_0x140093(0x1ec)](this[_0x140093(0x211)]);continue;case'1':if(this[_0x140093(0x153)][_0x140093(0x1db)])throw new Error(this[_0x140093(0x153)][_0x140093(0x1db)]);continue;case'2':helper[_0x140093(0x23f)](this[_0x140093(0x153)],this[_0x140093(0x1f1)]);continue;case'3':helper[_0x140093(0x22f)](this['config']);continue;case'4':this['percy']=null;continue;case'5':this[_0x140093(0x1f1)]=helper[_0x140093(0x218)](_0xef1427);continue;case'6':this[_0x140093(0x152)]=null;continue;case'7':this[_0x140093(0x153)]['testContextOptions'][_0x140093(0x1d5)]=!helper[_0x140093(0x173)]()||helper[_0x140093(0x176)](this[_0x140093(0x153)][_0x140093(0x1a3)]['skipSessionStatus']);continue;case'8':this['config'][_0x140093(0x1a3)]['skipSessionName']=!helper[_0x140093(0x173)]()||helper[_0x140093(0x176)](this[_0x140093(0x153)][_0x140093(0x1a3)][_0x140093(0x224)]);continue;case'9':helper[_0x140093(0x1e3)](this['config']);continue;case'10':helper['getFinalCaps'](this[_0x140093(0x153)],this[_0x140093(0x1f1)],this[_0x140093(0x204)]);continue;case'11':this[_0x140093(0x153)]['platforms']=this[_0x140093(0x153)][_0x140093(0x139)]||[];continue;case'12':global[_0x140093(0x219)]=_0x4d00b6;continue;case'13':this[_0x140093(0x153)][_0x140093(0x1a3)]=this[_0x140093(0x153)][_0x140093(0x1a3)]||{};continue;case'14':this[_0x140093(0x1ce)]={};continue;case'15':this[_0x140093(0x16f)]=[];continue;case'16':this[_0x140093(0x211)]=helper[_0x140093(0x16b)](_0xef1427);continue;case'17':this['framework']=_0x4d00b6;continue;case'18':this[_0x140093(0x204)]=helper['setEnvCaps']();continue;case'19':this[_0x140093(0x14a)]=_0x29106['oIUCD'](uuidv4);continue;case'20':helper[_0x140093(0x194)](this[_0x140093(0x153)],this[_0x140093(0x1f1)],this['envConfig']);continue;case'21':helper[_0x140093(0x16e)]();continue;case'22':PerformanceTester[_0x140093(0x180)]();continue;case'23':if(helper[_0x140093(0x1cb)](this[_0x140093(0x153)]))throw new Error(_0x29106[_0x140093(0x1be)]);continue;}break;}}[a94_0x308723(0x140)](_0x1290e0){const _0x31f130=a94_0x308723,_0x3d2fce={'BbKUm':_0x31f130(0x222),'inmem':function(_0x297874,_0x4d62c9){return _0x297874===_0x4d62c9;},'TASif':_0x31f130(0x223),'ofWoM':_0x31f130(0x156),'Wcvvm':function(_0x5f1203,_0x58877d){return _0x5f1203<_0x58877d;},'zWrsv':function(_0x506dfc,_0x50131c){return _0x506dfc(_0x50131c);},'jyXZx':_0x31f130(0x1fa),'uEiRO':_0x31f130(0x23e),'xswLP':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','LzUin':_0x31f130(0x1ba),'EBCwV':_0x31f130(0x163),'qKFXV':_0x31f130(0x1e0),'MYxGI':_0x31f130(0x179),'OWXWL':function(_0xb97d9b,_0x5b82a4){return _0xb97d9b!==_0x5b82a4;},'tlbXd':_0x31f130(0x17f),'JwebN':'SIGABRT','sjpOQ':'SIGQUIT','mdCPT':'SIGBREAK','tcOGO':_0x31f130(0x229)},_0x1e1690=this['framework'];global[_0x31f130(0x153)]=this[_0x31f130(0x153)],helper[_0x31f130(0x14c)](this['config']),this['killSignal']=null,global[_0x31f130(0x14a)]=this[_0x31f130(0x14a)],logger[_0x31f130(0x1ee)](_0x31f130(0x236)+this[_0x31f130(0x14a)]),!this[_0x31f130(0x153)][_0x31f130(0x170)]&&(this[_0x31f130(0x153)][_0x31f130(0x170)]=this[_0x31f130(0x153)]['localOptions']||{});if(helper[_0x31f130(0x1cb)](helper[_0x31f130(0x22e)](this[_0x31f130(0x153)]))||helper['isUndefined'](helper[_0x31f130(0x17d)](this[_0x31f130(0x153)])))throw new Error(_0x3d2fce[_0x31f130(0x1da)]);helper[_0x31f130(0x1a6)](this['config'])&&helper['isUndefined'](helper[_0x31f130(0x19c)](this['config']))&&(!helper['isUndefined'](this[_0x31f130(0x153)][_0x31f130(0x170)])&&_0x3d2fce['inmem'](this['config']['browserStackLocalOptions'][_0x31f130(0x16d)],Object)?!helper[_0x31f130(0x176)](this[_0x31f130(0x153)][_0x31f130(0x170)][_0x31f130(0x14f)])&&(this[_0x31f130(0x153)][_0x31f130(0x170)][_0x31f130(0x21d)]=helper[_0x31f130(0x150)]()):this[_0x31f130(0x153)][_0x31f130(0x170)]={'localIdentifier':helper[_0x31f130(0x150)]()});this[_0x31f130(0x153)]['browserStackLocalOptions'][_0x31f130(0x14f)]=helper['isTrue'](this[_0x31f130(0x153)]['browserStackLocalOptions'][_0x31f130(0x14f)]),helper[_0x31f130(0x241)](this[_0x31f130(0x153)]);if(_0x3d2fce[_0x31f130(0x233)](_0x1e1690,_0x3d2fce[_0x31f130(0x1b5)]))return;this[_0x31f130(0x1ab)]();process[_0x31f130(0x1d4)][_0x31f130(0x1d6)]&&(this[_0x31f130(0x153)][_0x31f130(0x198)]=helper[_0x31f130(0x176)](process['env'][_0x31f130(0x1d6)]),this[_0x31f130(0x153)][_0x31f130(0x1b4)]=this['config'][_0x31f130(0x1b4)]||{});helper[_0x31f130(0x1a4)](this['config'])&&(process[_0x31f130(0x1d4)]['BROWSERSTACK_TURBOSCALE']=!![]);LoadTestModule[_0x31f130(0x196)](this[_0x31f130(0x153)])&&logger[_0x31f130(0x15a)]('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this[_0x31f130(0x14a)]);if(!helper[_0x31f130(0x173)]()){try{process[_0x31f130(0x1d4)][_0x31f130(0x1cd)]=_0x1e1690,utilities[_0x31f130(0x1cf)](_0x3d2fce[_0x31f130(0x1c0)],{},this[_0x31f130(0x153)],this[_0x31f130(0x219)]);}catch(_0x14c998){logger['debug'](_0x31f130(0x242)+_0x14c998);}return;}if(helper[_0x31f130(0x1fd)](_0x1e1690)){if(global[_0x31f130(0x1f4)])return;_0x3d2fce['Wcvvm'](_0x3d2fce[_0x31f130(0x23c)](parseInt,helper[_0x31f130(0x237)](_0x3d2fce[_0x31f130(0x1e6)])),0x3)&&(this[_0x31f130(0x153)][_0x31f130(0x1e9)]=![]),_0x3d2fce[_0x31f130(0x233)](helper[_0x31f130(0x1d1)](helper[_0x31f130(0x237)](_0x3d2fce[_0x31f130(0x1e6)]),_0x3d2fce['uEiRO']),0x1)&&(this[_0x31f130(0x153)][_0x31f130(0x1e9)]=!![]);}(helper['isUndefined'](this[_0x31f130(0x153)]['platforms'])||helper[_0x31f130(0x1cb)](this[_0x31f130(0x153)][_0x31f130(0x139)][_0x31f130(0x21c)]))&&(helper[_0x31f130(0x1cb)](this['config'][_0x31f130(0x1df)])?logger[_0x31f130(0x1ee)](_0x3d2fce[_0x31f130(0x1c7)]):logger[_0x31f130(0x228)](_0x3d2fce[_0x31f130(0x183)]),this[_0x31f130(0x153)][_0x31f130(0x139)]=[]);!this[_0x31f130(0x153)][_0x31f130(0x1a3)]&&(this[_0x31f130(0x153)][_0x31f130(0x1a3)]={});try{process['env'][_0x31f130(0x1cd)]=_0x1290e0['_'][0x0],utilities['fireFunnelTestEvent'](_0x3d2fce[_0x31f130(0x1c0)],{},this[_0x31f130(0x153)],this['framework']);}catch(_0x10624c){logger['debug']('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x10624c);}!this[_0x31f130(0x153)][_0x31f130(0x22d)]&&logger['info'](constants[_0x31f130(0x15c)]),this[_0x31f130(0x17e)]=this['intExitHandler']['bind'](this),process['on'](_0x3d2fce[_0x31f130(0x175)],this[_0x31f130(0x17e)]),process['on'](_0x3d2fce[_0x31f130(0x1f3)],this[_0x31f130(0x17e)]),process['on'](_0x3d2fce[_0x31f130(0x18a)],this[_0x31f130(0x17e)]),_0x3d2fce[_0x31f130(0x1bf)](process['platform'],_0x3d2fce[_0x31f130(0x136)])?(process['on'](_0x3d2fce[_0x31f130(0x23a)],this[_0x31f130(0x17e)]),process['on'](_0x3d2fce['sjpOQ'],this[_0x31f130(0x17e)])):process['on'](_0x3d2fce['mdCPT'],this['intExitHandler']),process['on'](_0x3d2fce[_0x31f130(0x19d)],this['exitHandler']());}async['initialize'](_0x202218){const _0x4537ec=a94_0x308723,_0x59e204={'QVqFf':_0x4537ec(0x17b),'TaGEe':_0x4537ec(0x1ca),'bEpSv':'true','PlqMJ':function(_0x25798d,_0x5547b6){return _0x25798d===_0x5547b6;},'haDow':'playwright','SxRoo':function(_0x1e98e1,_0x164cfa){return _0x1e98e1+_0x164cfa;},'ikVuW':_0x4537ec(0x159),'ACBHJ':function(_0x4866a8,_0x5a33ed){return _0x4866a8(_0x5a33ed);},'BRJRq':'codeceptjs'};this[_0x4537ec(0x140)](_0x202218);if(helper[_0x4537ec(0x1a4)](this[_0x4537ec(0x153)])){const _0x56b6e0=await helper['getTurboScaleGridDetails'](this['config']);this[_0x4537ec(0x153)][_0x4537ec(0x1d9)]=_0x56b6e0,_0x56b6e0['isTrialGrid']&&helper[_0x4537ec(0x1f5)](this[_0x4537ec(0x153)][_0x4537ec(0x152)])&&helper[_0x4537ec(0x176)](this['config']['browserstackLocal'])&&(this[_0x4537ec(0x153)][_0x4537ec(0x170)][_0x4537ec(0x21d)]=_0x59e204[_0x4537ec(0x1d0)],this['config']['browserStackLocalOptions'][_0x59e204[_0x4537ec(0x18b)]]=_0x56b6e0[_0x4537ec(0x19a)][_0x4537ec(0x197)](','),this[_0x4537ec(0x153)][_0x4537ec(0x170)][_0x4537ec(0x164)]=_0x59e204[_0x4537ec(0x239)]),this[_0x4537ec(0x153)][_0x4537ec(0x188)]=_0x56b6e0[_0x4537ec(0x1b3)],this[_0x4537ec(0x219)]&&_0x59e204[_0x4537ec(0x17a)](this[_0x4537ec(0x219)][_0x4537ec(0x1a8)](),_0x59e204[_0x4537ec(0x1f9)])?this[_0x4537ec(0x153)]['turboScaleUrl']=_0x59e204['SxRoo'](_0x56b6e0[_0x4537ec(0x143)],_0x59e204[_0x4537ec(0x181)]):constants[_0x4537ec(0x15e)]=helper['getHubUrl'](this[_0x4537ec(0x153)]),logger[_0x4537ec(0x15a)]('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants[_0x4537ec(0x15e)]);}helper[_0x4537ec(0x174)](this[_0x4537ec(0x153)]),this[_0x4537ec(0x177)](),_0x59e204[_0x4537ec(0x240)](setPercyFlag,this),await this[_0x4537ec(0x15b)](),![_0x59e204[_0x4537ec(0x19b)],_0x59e204[_0x4537ec(0x1f9)]][_0x4537ec(0x243)](this[_0x4537ec(0x219)])&&!helper['isTurboScaleSession'](this['config'])&&!helper[_0x4537ec(0x1ed)]()[_0x4537ec(0x217)]&&await this[_0x4537ec(0x1aa)]();}async[a94_0x308723(0x208)](){const _0x30fbee=a94_0x308723,_0x4b873c={};_0x4b873c[_0x30fbee(0x1b8)]=function(_0xa1d154,_0x12e4f1){return _0xa1d154===_0x12e4f1;},_0x4b873c[_0x30fbee(0x154)]=_0x30fbee(0x160),_0x4b873c[_0x30fbee(0x207)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x4b873c[_0x30fbee(0x1ac)]=_0x30fbee(0x182),_0x4b873c[_0x30fbee(0x186)]=_0x30fbee(0x235),_0x4b873c[_0x30fbee(0x226)]=_0x30fbee(0x229);const _0x5058a4=_0x4b873c;if(helper[_0x30fbee(0x176)](this[_0x30fbee(0x153)][_0x30fbee(0x146)])&&(!this[_0x30fbee(0x146)]||!this[_0x30fbee(0x146)][_0x30fbee(0x138)]()))try{this[_0x30fbee(0x146)]=await percyHelper['startPercy'](this[_0x30fbee(0x153)]);if(!this['percy']){process['env'][_0x30fbee(0x214)]=_0x5058a4[_0x30fbee(0x154)];throw new Error(_0x5058a4['KRkCC']);}logger[_0x30fbee(0x1ee)](_0x5058a4[_0x30fbee(0x1ac)]),process['env'][_0x30fbee(0x214)]=_0x5058a4[_0x30fbee(0x186)];let _0x3e0816=0x0;const _0x3c65d1=async()=>{const _0x1a42ee=_0x30fbee;_0x3e0816++,_0x5058a4[_0x1a42ee(0x1b8)](_0x3e0816,0x1)&&await this[_0x1a42ee(0x166)]();};process['on'](_0x5058a4[_0x30fbee(0x226)],_0x3c65d1);}catch(_0x4ff2ce){process[_0x30fbee(0x1d4)]['BROWSERSTACK_PERCY']=_0x5058a4[_0x30fbee(0x154)],logger[_0x30fbee(0x15a)](_0x30fbee(0x22b)+_0x4ff2ce);throw new Error(_0x4ff2ce['toString']());}}async[a94_0x308723(0x166)](){const _0x23bae2=a94_0x308723,_0x49f3fd={};_0x49f3fd['LrMKO']='Percy\x20stopped',_0x49f3fd[_0x23bae2(0x1ef)]=_0x23bae2(0x151);const _0x219160=_0x49f3fd;if(this[_0x23bae2(0x146)]&&this[_0x23bae2(0x146)][_0x23bae2(0x138)]())try{await percyHelper['stopPercy'](this[_0x23bae2(0x146)]),logger[_0x23bae2(0x1ee)](_0x219160[_0x23bae2(0x167)]);}catch(_0x13c1db){logger[_0x23bae2(0x1db)](_0x219160[_0x23bae2(0x1ef)],_0x13c1db[_0x23bae2(0x1dd)]);}}async[a94_0x308723(0x15b)](){const _0x401bec=a94_0x308723,_0x9aa560={};_0x9aa560[_0x401bec(0x157)]=_0x401bec(0x1e2),_0x9aa560[_0x401bec(0x1b7)]='Local\x20binary\x20started\x20successfully';const _0x4d4972=_0x9aa560;if(helper['isBrowserstackInfra']()&&helper[_0x401bec(0x176)](this[_0x401bec(0x153)][_0x401bec(0x152)])&&(!this['browserstackLocal']||!this[_0x401bec(0x152)]['isRunning']()))try{if(this[_0x401bec(0x153)][_0x401bec(0x170)][_0x401bec(0x14f)]){logger[_0x401bec(0x15a)](_0x4d4972[_0x401bec(0x157)]);return;}this[_0x401bec(0x152)]=await helper[_0x401bec(0x20b)](this[_0x401bec(0x153)]),logger[_0x401bec(0x1ee)](_0x4d4972[_0x401bec(0x1b7)]);}catch(_0x10c9dd){logger[_0x401bec(0x15a)](_0x10c9dd);throw new Error(_0x10c9dd[_0x401bec(0x1f2)]());}}async[a94_0x308723(0x158)](){const _0x18559d=a94_0x308723,_0x50ab57={};_0x50ab57[_0x18559d(0x1f8)]=_0x18559d(0x21e),_0x50ab57[_0x18559d(0x199)]=_0x18559d(0x16c);const _0x2c9560=_0x50ab57;if(this[_0x18559d(0x152)]&&this[_0x18559d(0x152)]['isRunning']())try{await helper[_0x18559d(0x20a)](this[_0x18559d(0x152)]),logger[_0x18559d(0x1ee)](_0x2c9560['NMlZS']);}catch(_0x56483d){logger[_0x18559d(0x1db)](_0x2c9560[_0x18559d(0x199)],_0x56483d[_0x18559d(0x1dd)]);}}async[a94_0x308723(0x1aa)](){const _0x2b6d41=a94_0x308723;return PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x2b6d41(0x14d)],async()=>{await hubAllocator['allocateHub'](this['config']);})();}async[a94_0x308723(0x212)](){const _0x3747ec=a94_0x308723,_0x267baa={'noLUU':function(_0x3feb07,_0xbfabcc){return _0x3feb07(_0xbfabcc);},'ajUWA':_0x3747ec(0x1f6),'jIAtb':function(_0x338fc4,_0x1e487b,_0x1c5fc7,_0x4898f6,_0x4b357d,_0x24b593,_0x3bea00){return _0x338fc4(_0x1e487b,_0x1c5fc7,_0x4898f6,_0x4b357d,_0x24b593,_0x3bea00);},'EDxLm':_0x3747ec(0x18e),'ONsWq':_0x3747ec(0x234),'OQtRS':function(_0x4e660d,_0x2e298d){return _0x4e660d(_0x2e298d);},'cAzTE':_0x3747ec(0x20f),'INlKu':_0x3747ec(0x148),'YtDtL':function(_0x52a214,_0x273a33){return _0x52a214(_0x273a33);},'gfVWk':function(_0x5ded72,_0x2e5b3d){return _0x5ded72===_0x2e5b3d;},'fWTxZ':_0x3747ec(0x235),'qhDlT':function(_0x54f1c6,_0x358ac6){return _0x54f1c6===_0x358ac6;},'xgOSO':function(_0x30f670,_0x4db10){return _0x30f670===_0x4db10;},'wasQK':'Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','vJIWs':_0x3747ec(0x15d),'pBGaD':_0x3747ec(0x1a1),'wFgYz':_0x3747ec(0x1bd),'RfYjc':function(_0x3e6871,_0xf3cb67){return _0x3e6871>=_0xf3cb67;},'PIeTh':function(_0x3e5617,_0x3c3566){return _0x3e5617<_0x3c3566;},'nopUL':_0x3747ec(0x1de),'xLiRB':_0x3747ec(0x18c),'xmRec':function(_0xef79a2){return _0xef79a2();}},_0xdfd137=PerformanceTester[_0x3747ec(0x23d)](_0x267baa[_0x3747ec(0x1b6)],async()=>{const _0x347510=_0x3747ec;try{const _0x1628ee=new Date(),_0x492eed=helper[_0x347510(0x190)](this[_0x347510(0x153)]),_0x257933=_0x267baa[_0x347510(0x220)](require,path[_0x347510(0x197)](__dirname,_0x267baa[_0x347510(0x1d7)])),_0x474937=_0x267baa[_0x347510(0x161)](timeoutPromise,constants[_0x347510(0x1c4)],_0x267baa[_0x347510(0x155)],_0x267baa['ONsWq'],_0x1628ee,this[_0x347510(0x153)],this[_0x347510(0x219)]),_0x111816={'tcgUrl':constants[_0x347510(0x246)],'sdkVersion':_0x267baa['OQtRS'](require,_0x267baa[_0x347510(0x1f7)])[_0x347510(0x1a5)],'methodUsed':_0x267baa['INlKu'],'proxyConfig':_0x492eed,'os':os[_0x347510(0x133)]()};if(_0x492eed&&_0x492eed[_0x347510(0x141)]){utilities['fireFunnelTestEvent'](constants[_0x347510(0x187)],_0x111816,this[_0x347510(0x153)],this[_0x347510(0x219)]);return;}const _0x17d79b={};_0x17d79b[_0x347510(0x209)]=_0x492eed;const _0x4f6c84=await Promise[_0x347510(0x1c5)]([_0x257933[_0x347510(0x14b)](this['config'][_0x347510(0x142)],this[_0x347510(0x153)]['userName'],constants[_0x347510(0x246)],_0x267baa[_0x347510(0x149)](require,_0x267baa[_0x347510(0x1f7)])[_0x347510(0x1a5)],_0x17d79b)['then'](_0x3b58bc=>{const _0x5c3628=_0x347510;return _0x474937[_0x5c3628(0x213)](),_0x3b58bc;}),_0x474937]);_0x4f6c84[_0x347510(0x137)]=_0x267baa[_0x347510(0x1fb)](_0x4f6c84['isHealingEnabled'],_0x267baa[_0x347510(0x1c8)])||_0x267baa[_0x347510(0x1fb)](_0x4f6c84[_0x347510(0x137)],!![]);const _0x461e3a=_0x267baa[_0x347510(0x1ae)](this['config'][_0x347510(0x13d)],!![])||_0x267baa['qhDlT'](this['config'][_0x347510(0x13d)],_0x267baa[_0x347510(0x1c8)]);if(_0x267baa['xgOSO'](_0x4f6c84['message'],constants[_0x347510(0x144)])&&_0x461e3a)logger[_0x347510(0x1ee)](_0x267baa[_0x347510(0x238)]);else{if(!_0x4f6c84[_0x347510(0x1c9)]&&_0x267baa['xgOSO'](_0x4f6c84[_0x347510(0x231)],0x1f7)&&_0x461e3a)logger[_0x347510(0x1ee)](_0x267baa[_0x347510(0x135)]),utilities[_0x347510(0x1cf)](constants[_0x347510(0x1d2)],_0x111816,this['config'],this[_0x347510(0x219)]);else{if(!_0x4f6c84['isAuthenticated']&&_0x461e3a){logger['info'](_0x267baa[_0x347510(0x169)]);const _0x2118cb={'tcgUrl':constants[_0x347510(0x246)],'sdkVersion':_0x267baa[_0x347510(0x220)](require,_0x267baa[_0x347510(0x1f7)])[_0x347510(0x1a5)],'methodUsed':_0x267baa['INlKu'],'proxyConfig':_0x492eed,'os':os[_0x347510(0x133)]()};utilities[_0x347510(0x1cf)](constants['TCG_AUTH_FAILURE'],_0x2118cb,this[_0x347510(0x153)],this[_0x347510(0x219)]);}else{if(_0x4f6c84['isAuthenticated']&&!_0x4f6c84[_0x347510(0x137)]&&_0x461e3a)logger[_0x347510(0x1ee)](_0x267baa['wFgYz']);else{if(_0x267baa[_0x347510(0x172)](_0x4f6c84[_0x347510(0x231)],0xc8)&&_0x267baa[_0x347510(0x215)](_0x4f6c84[_0x347510(0x231)],0x12c))utilities[_0x347510(0x1cf)](constants[_0x347510(0x185)],_0x111816,this['config'],this[_0x347510(0x219)]);else{if(_0x267baa[_0x347510(0x172)](_0x4f6c84[_0x347510(0x231)],0x190))_0x111816[_0x347510(0x231)]=_0x4f6c84['status'],utilities[_0x347510(0x1cf)](constants[_0x347510(0x1a0)],_0x111816,this[_0x347510(0x153)],this[_0x347510(0x219)]);else!_0x4f6c84[_0x347510(0x231)]&&utilities[_0x347510(0x1cf)](constants[_0x347510(0x189)],_0x111816,this[_0x347510(0x153)],this['framework']);}}}}}if(_0x4f6c84[_0x347510(0x1c9)]&&_0x4f6c84[_0x347510(0x137)]){const _0x2ea1a2={};_0x2ea1a2[_0x347510(0x202)]=_0x4f6c84;const _0x33edfe=_0x2ea1a2;_0x492eed&&(_0x33edfe['proxyConfig']=_0x492eed),_0x33edfe['framework']=this[_0x347510(0x219)],_0x33edfe[_0x347510(0x205)]=this[_0x347510(0x153)],helper['setupTcgConfigFile'](_0x33edfe),logger['debug'](_0x267baa[_0x347510(0x1a7)]);}}catch(_0x495535){logger[_0x347510(0x15a)](_0x347510(0x225)+(_0x495535[_0x347510(0x1dd)]?_0x495535[_0x347510(0x1dd)]:''));}});await _0x267baa['xmRec'](_0xdfd137);}[a94_0x308723(0x177)](){const _0x223008=a94_0x308723,_0x388366={'EPouz':function(_0x52241d,_0x3746d8){return _0x52241d(_0x3746d8);},'tQlQv':_0x223008(0x134)};_0x388366[_0x223008(0x1ff)](require,_0x388366[_0x223008(0x191)])();}[a94_0x308723(0x1ab)](){const _0xf30fba=a94_0x308723,_0x4557b7={};_0x4557b7[_0xf30fba(0x21a)]=_0xf30fba(0x1d8),_0x4557b7['Ibzkd']=_0xf30fba(0x1e7),_0x4557b7['IQvdV']=_0xf30fba(0x1ad);const _0x5888ce=_0x4557b7,_0x5f4453=_0x104773=>{const _0x3b22df=_0xf30fba,_0x567ee6=_0x5888ce[_0x3b22df(0x21a)]['split']('|');let _0x2697eb=0x0;while(!![]){switch(_0x567ee6[_0x2697eb++]){case'0':logger[_0x3b22df(0x15a)](util[_0x3b22df(0x20c)](_0x104773));continue;case'1':this['unhandledErrors'][_0x3b22df(0x244)](util[_0x3b22df(0x20c)]('%j',_0x104773));continue;case'2':PerformanceTester[_0x3b22df(0x178)](_0x104773);continue;case'3':ClientTroubleShootingService[_0x3b22df(0x1dc)]();continue;case'4':logger['error'](_0x104773[_0x3b22df(0x1dd)]);continue;}break;}};process['on'](_0x5888ce[_0xf30fba(0x221)],_0x5f4453),process['on'](_0x5888ce[_0xf30fba(0x13f)],_0x5f4453);}async['intExitHandler'](_0x292e87){const _0x543773=a94_0x308723,_0x41cc66={};_0x41cc66['pXXwb']=_0x543773(0x1af),_0x41cc66['tqifh']=function(_0x332036,_0x47b0b3){return _0x332036+_0x47b0b3;},_0x41cc66['PZltb']=_0x543773(0x206),_0x41cc66[_0x543773(0x165)]='handled',_0x41cc66[_0x543773(0x227)]=function(_0x2a500d,_0x578819){return _0x2a500d+_0x578819;};const _0x2c4303=_0x41cc66,_0x295eee=_0x2c4303[_0x543773(0x20d)][_0x543773(0x210)]('|');let _0x1dcbeb=0x0;while(!![]){switch(_0x295eee[_0x1dcbeb++]){case'0':this[_0x543773(0x195)]=_0x292e87;continue;case'1':await ClientTroubleShootingService[_0x543773(0x19f)](_0x292e87);continue;case'2':await BrowserstackCLI[_0x543773(0x13b)]()[_0x543773(0x13e)]();continue;case'3':logger[_0x543773(0x1ee)](_0x2c4303['tqifh'](_0x2c4303[_0x543773(0x14e)],_0x292e87));continue;case'4':if(this[_0x2c4303[_0x543773(0x23b)](_0x2c4303[_0x543773(0x165)],_0x292e87)])return;continue;case'5':this[_0x2c4303[_0x543773(0x227)](_0x2c4303['GBjsu'],_0x292e87)]=!![];continue;case'6':await ClientTroubleShootingService[_0x543773(0x1dc)]();continue;case'7':await TestHubHandler[_0x543773(0x13e)](_0x292e87);continue;}break;}}[a94_0x308723(0x147)](){const _0x42971a=a94_0x308723,_0x1c2e69={'ZQuGC':function(_0x4a6508,_0x58e3a1){return _0x4a6508===_0x58e3a1;},'YWiMt':'Calling\x20Build\x20Stop\x20from\x20ExitHandler','KUAZR':function(_0x4808e9,_0xc5edad){return _0x4808e9>_0xc5edad;},'ElNKx':function(_0x4d62d5,_0x5d0d25){return _0x4d62d5>_0x5d0d25;},'WxTOC':function(_0x1b862a,_0x27e95e){return _0x1b862a(_0x27e95e);},'AGNQL':function(_0x2e9011){return _0x2e9011();},'zOJyf':_0x42971a(0x13c)};let _0x5d59c0=0x0;return async()=>{const _0x106658=_0x42971a;_0x5d59c0++;if(_0x1c2e69[_0x106658(0x22a)](_0x5d59c0,0x1)){helper[_0x106658(0x1a9)](this['framework'])&&await this[_0x106658(0x158)]();try{logger['debug'](_0x1c2e69[_0x106658(0x1fc)]),await TestHubHandler[_0x106658(0x13e)](_0x5d59c0),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI[_0x106658(0x13b)]()[_0x106658(0x13e)]('1');}catch(_0x1df545){logger[_0x106658(0x15a)](_0x106658(0x203)+util[_0x106658(0x20c)](_0x1df545));}PerformanceTester[_0x106658(0x1ea)](PerformanceEvents[_0x106658(0x1e8)]);if(PerformanceTester[_0x106658(0x1c1)]()){const {measures:_0x3879c3,errors:_0x109cae}=await PerformanceTester[_0x106658(0x18d)](),_0x946787={};if(_0x3879c3&&_0x1c2e69[_0x106658(0x168)](_0x3879c3[_0x106658(0x21c)],0x0)||_0x109cae&&_0x1c2e69[_0x106658(0x1f0)](_0x109cae['length'],0x0)){const _0x2a2286={};_0x2a2286[_0x106658(0x1bb)]=_0x3879c3,_0x2a2286[_0x106658(0x200)]=_0x109cae,Object['assign'](_0x946787,_0x2a2286);}try{const _0x45cf28=await helper['sendToEDS'](_0x946787,this[_0x106658(0x153)]);logger[_0x106658(0x15a)](_0x106658(0x17c)+_0x1c2e69['WxTOC'](getEdsInstrumentationAPIUrl,'')+_0x106658(0x1d3)+_0x45cf28[_0x106658(0x1c3)]);}catch(_0x3cb0c0){logger[_0x106658(0x15a)](_0x106658(0x1b1)+_0x1c2e69['WxTOC'](getEdsInstrumentationAPIUrl,'')+_0x106658(0x15f)+util[_0x106658(0x20c)](_0x3cb0c0));}try{fs[_0x106658(0x1e5)](path[_0x106658(0x197)](_0x1c2e69[_0x106658(0x18f)](getLogDir),_0x1c2e69[_0x106658(0x1cc)]),JSON['stringify'](_0x946787));}catch(_0x3994d0){logger[_0x106658(0x15a)](_0x106658(0x22c)+_0x3994d0);}}}logger&&logger[_0x106658(0x19e)](),fileLogger&&fileLogger['close']();};}}exports[a94_0x308723(0x192)]=BrowserStackSetup;
1
+ function a94_0x434e(_0x3c018c,_0x16bab7){const _0xc16b80=a94_0xc16b();return a94_0x434e=function(_0x434ee6,_0x309b14){_0x434ee6=_0x434ee6-0x1c4;let _0xc3b420=_0xc16b80[_0x434ee6];return _0xc3b420;},a94_0x434e(_0x3c018c,_0x16bab7);}const a94_0xc863f9=a94_0x434e;(function(_0xba3cba,_0x24009b){const _0x27342e=a94_0x434e,_0x402397=_0xba3cba();while(!![]){try{const _0x38f3d7=parseInt(_0x27342e(0x1df))/0x1+parseInt(_0x27342e(0x25f))/0x2*(parseInt(_0x27342e(0x27f))/0x3)+-parseInt(_0x27342e(0x23c))/0x4*(parseInt(_0x27342e(0x282))/0x5)+parseInt(_0x27342e(0x230))/0x6+-parseInt(_0x27342e(0x227))/0x7+-parseInt(_0x27342e(0x20c))/0x8*(-parseInt(_0x27342e(0x28b))/0x9)+parseInt(_0x27342e(0x2ac))/0xa*(-parseInt(_0x27342e(0x217))/0xb);if(_0x38f3d7===_0x24009b)break;else _0x402397['push'](_0x402397['shift']());}catch(_0x22a5be){_0x402397['push'](_0x402397['shift']());}}}(a94_0xc16b,0x35e5a));const util=require(a94_0xc863f9(0x2b4)),os=require('os'),path=require(a94_0xc863f9(0x2c0)),{v4:uuidv4}=require(a94_0xc863f9(0x264)),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require(a94_0xc863f9(0x28c))['winstonLogger'],fileLogger=require(a94_0xc863f9(0x28c))['fileLogger'],{getLogDir}=require('./logger'),helper=require(a94_0xc863f9(0x1c4)),utilities=require(a94_0xc863f9(0x237)),percyHelper=require(a94_0xc863f9(0x20b)),hubAllocator=require(a94_0xc863f9(0x27e)),PerformanceTester=require(a94_0xc863f9(0x283)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0xc863f9(0x266)),{setPercyFlag}=require(a94_0xc863f9(0x2ca)),TestHubHandler=require(a94_0xc863f9(0x202)),timeoutPromise=require(a94_0xc863f9(0x223)),BrowserstackCLI=require(a94_0xc863f9(0x221)),LoadTestModule=require(a94_0xc863f9(0x2c5)),{getEdsInstrumentationAPIUrl}=require(a94_0xc863f9(0x29c)),ClientTroubleShootingService=require(a94_0xc863f9(0x1e2));function a94_0xc16b(){const _0x49bc00=['warn','init','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','Percy\x20stopped','22594rVoYFq','Shutdown\x20triggered\x20by\x20','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','Jomkq','XRSPQ','uuid','isTrialGrid','./performance/constants','iBhAj','pDfgu','Data\x20sent\x20successfully\x20to\x20','Zotnp','includes','mFohF','statusCode','getAccessKey','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','unhandledErrors','killSignal','luYRj','DPBoX','setLogLevel','JHruu','vfCkT','HUB_MANAGEMENT','ELRyC','win32','constructor','browserstackLocal','VCdql','vkjCM','../hubAllocationMethods','60aoDyHs','IhVrd','Failed\x20to\x20send\x20data\x20to\x20','5pvAzUu','./performance/performance-tester','central_scanner','format','setProxySettings','5|18|7|6|9|11|3|13|22|1|4|15|16|8|0|2|17|19|21|20|23|12|14|10','platforms','toString','readConfig','702234JONdEO','./logger','handleExceptions','playwrightUrl','SIGABRT','Tsomu','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','tKytr','ODHTT','then','finalize','race','stopBrowserstackLocal','writeFileSync','UPGRADE_REQUIRED','selenium-webdriver','percy','../bin/utils/apiUtilityMethods','cggdg','integrations','setCLICaps','setupBrowserstackLocal','setupKeepAlive','proxyUrl','Calling\x20Build\x20Stop\x20from\x20ExitHandler','platform','selfHeal','close','fireFunnelTestEvent','turboScaleUrl','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','JAbRE','join','90NeUrZx','__isPlaywrightInstalled','SRQsi','measures','skipSessionName','false','SIGBREAK','TCG_URL','util','ehShZ','Error\x20in\x20sending\x20testhub\x20stop:\x20','accessKey','umlHM','startMonitoring','CXdVe','hubUrl','hmVlH','No\x20config\x20provided.','split','isAuthenticated','path','proxy','SIGQUIT','NYKxw','jWdfa','../bin/v2/modules/loadTestModule','errorMessage','envConfig','version','FGVQi','./testhub/utils','status','startPercy','reportFinalDetectionState','EvIeS','startLocalBinary','KsGCm','SDK\x20run\x20started\x20with\x20id:\x20','pnZzi','./helper','SDK_CLEANUP','fNGqc','exceptions','Error\x20occured\x20while\x20stopping\x20local\x20binary','stringify','skipSessionStatus','1|0|6|5|7|3|2|4','bind','TCG_AUTH_FAILURE','playwright','preInitialize','Error\x20in\x20percy\x20setup\x20','stop','url','exitHandler','jTaAb','getPackageVersion','compareVersions','getUserName','bstackConfig','SIGINT','BROWSERSTACK_PERCY','beforeExit','GpdyB','allocateHub','cliConfig','414066IrEcIP','isNotUndefined','ipoFb','../bin/utils/clientTroubleshootingService','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','ZiggS','message','TCG_DOWN','nMmDw','getConfigPath','\x20with\x20error\x20','AI_PROXY_FAILURE','ZhlAp','error','toLowerCase','customRepeaters','setCredentialsFromYmlConfig','AI_INIT_SUCCESSFUL','default','localIdentifier','../ai-sdk-node/bundle','events.json','kSjhC','FRAMEWORK','SIGHUP','useW3C','QuUuh','userName\x20or\x20accessKey\x20is\x20not\x20defined','uncaughtException','initialize','gGtaU','testContextOptions','configPath','framework','OVRGw','./testhub/testhubHandler','lFyTF','setBrowserstackInfraFromConfig','length','vjrDG','BrowserstackHealingInitFailed','isBrowserstackInfra','isUndefined','INVALID_INIT_RESP_WITH_USER_IMPACT','./percy/utils','8cuhUAu','generateLocalIdentifier','HigkW','\x20with\x20response\x20','unhandledRejection','getInstance','sdkRunId','ernjv','stopLocalBinary','tglGu','mbmQm','250206OoFAwt','isTrue','parallelsPerPlatform','./setKeepAlive','config','info','setHandlePWError','isRunning','SBpex','VUYoz','../bin/v2/browserstackCLI','MwrqQ','./timeoutPromise','jByjG','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','isTurboScaleSession','2443819xWaaOk','aiHeal:tcgAuth','push','BROWSERSTACK_TURBOSCALE','Local\x20binary\x20started\x20successfully','jjCoG','ltmUl','TjdfO','AI_INIT_FAILURE','1961826vpHxsY','oqAsc','browserStackLocalOptions','setUpHubUrl','dhNTh','mZBpw','skipBinaryInitialisation','./utilities','4.5.0','hfXRd','intExitHandler','isHealingEnabled','1081640lfOXmF','getTurboScaleGridDetails','sendToEDS','getLocalIdentifier','BrowserstackHealing.init','nHRdE','sanitizeCaps','end','CiZwW','setupTcgConfigFile','BvwTZ','XpuAF','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','true','turboScaleOptions','setLogDir','pnJPS','forceLocal','env','getFinalCaps','tcgAuthConfig','Local\x20binary\x20stopped','isLTSSession','turboScaleGridDetails','RQxFZ','stopPercy','SDKTestAttempted','setEnvCaps','mWonC','debug','LUnjB'];a94_0xc16b=function(){return _0x49bc00;};return a94_0xc16b();}class BrowserStackSetup{constructor(_0x5320b4,_0x433d10){const _0x52e4d8=a94_0xc863f9,_0x398111={'IFHkO':_0x52e4d8(0x287),'ZhlAp':_0x52e4d8(0x2bd),'vfCkT':function(_0x1f99fe){return _0x1f99fe();}},_0x15bf50=_0x398111['IFHkO']['split']('|');let _0x14b8e6=0x0;while(!![]){switch(_0x15bf50[_0x14b8e6++]){case'0':if(helper['isUndefined'](this['config']))throw new Error(_0x398111[_0x52e4d8(0x1eb)]);continue;case'1':this[_0x52e4d8(0x21b)][_0x52e4d8(0x1fe)]=this[_0x52e4d8(0x21b)]['testContextOptions']||{};continue;case'2':if(this['config'][_0x52e4d8(0x1ec)])throw new Error(this[_0x52e4d8(0x21b)]['error']);continue;case'3':this[_0x52e4d8(0x21b)]=helper[_0x52e4d8(0x28a)](this[_0x52e4d8(0x1ff)]);continue;case'4':this[_0x52e4d8(0x2c6)]={};continue;case'5':this['unhandledErrors']=[];continue;case'6':this[_0x52e4d8(0x27b)]=null;continue;case'7':this[_0x52e4d8(0x2c7)]=helper[_0x52e4d8(0x257)]();continue;case'8':global[_0x52e4d8(0x200)]=_0x433d10;continue;case'9':this[_0x52e4d8(0x29b)]=null;continue;case'10':PerformanceTester[_0x52e4d8(0x2b9)]();continue;case'11':this[_0x52e4d8(0x1ff)]=helper[_0x52e4d8(0x1e8)](_0x5320b4);continue;case'12':helper[_0x52e4d8(0x24b)](this[_0x52e4d8(0x21b)]);continue;case'13':this[_0x52e4d8(0x1de)]=helper[_0x52e4d8(0x29f)](_0x5320b4);continue;case'14':helper[_0x52e4d8(0x274)](this[_0x52e4d8(0x21b)],this[_0x52e4d8(0x1de)],this[_0x52e4d8(0x2c7)]);continue;case'15':this[_0x52e4d8(0x212)]=_0x398111[_0x52e4d8(0x276)](uuidv4);continue;case'16':this[_0x52e4d8(0x200)]=_0x433d10;continue;case'17':helper[_0x52e4d8(0x204)](this[_0x52e4d8(0x21b)],this[_0x52e4d8(0x1de)]);continue;case'18':helper['normalizeTestReportingEnvVars']();continue;case'19':helper[_0x52e4d8(0x1ef)](this[_0x52e4d8(0x21b)]);continue;case'20':this[_0x52e4d8(0x21b)]['testContextOptions'][_0x52e4d8(0x2b0)]=!helper['isBrowserstackInfra']()||helper['isTrue'](this[_0x52e4d8(0x21b)][_0x52e4d8(0x1fe)][_0x52e4d8(0x2b0)]);continue;case'21':this[_0x52e4d8(0x21b)][_0x52e4d8(0x1fe)]['skipSessionStatus']=!helper[_0x52e4d8(0x208)]()||helper['isTrue'](this['config'][_0x52e4d8(0x1fe)][_0x52e4d8(0x1ca)]);continue;case'22':this[_0x52e4d8(0x21b)][_0x52e4d8(0x288)]=this[_0x52e4d8(0x21b)]['platforms']||[];continue;case'23':helper[_0x52e4d8(0x24f)](this['config'],this[_0x52e4d8(0x1de)],this[_0x52e4d8(0x2c7)]);continue;}break;}}[a94_0xc863f9(0x1cf)](_0x438d57){const _0x396dad=a94_0xc863f9,_0x4ef92d={'RQxFZ':_0x396dad(0x1fa),'FGVQi':function(_0x327f6c,_0x1007e1){return _0x327f6c===_0x1007e1;},'fNGqc':_0x396dad(0x29e),'LEHcv':_0x396dad(0x256),'JHruu':function(_0x1f7eeb,_0xb18acc){return _0x1f7eeb<_0xb18acc;},'mWonC':function(_0x167ed7,_0x22516d){return _0x167ed7(_0x22516d);},'vkjCM':_0x396dad(0x29a),'eraes':_0x396dad(0x238),'LUnjB':_0x396dad(0x261),'pnZzi':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','cggdg':'SIGTERM','kSjhC':_0x396dad(0x1d9),'TjdfO':_0x396dad(0x1f7),'jjCoG':function(_0xcfad31,_0x39c209){return _0xcfad31!==_0x39c209;},'DPBoX':_0x396dad(0x279),'oDWfV':_0x396dad(0x28f),'KsGCm':_0x396dad(0x2c2),'XRSPQ':_0x396dad(0x2b2),'ZiggS':_0x396dad(0x1db)},_0x202418=this[_0x396dad(0x200)];global[_0x396dad(0x21b)]=this[_0x396dad(0x21b)],helper[_0x396dad(0x242)](this[_0x396dad(0x21b)]),this[_0x396dad(0x271)]=null,global[_0x396dad(0x212)]=this[_0x396dad(0x212)],logger[_0x396dad(0x21c)](_0x396dad(0x2d1)+this[_0x396dad(0x212)]),!this[_0x396dad(0x21b)][_0x396dad(0x232)]&&(this[_0x396dad(0x21b)][_0x396dad(0x232)]=this[_0x396dad(0x21b)]['localOptions']||{});if(helper[_0x396dad(0x209)](helper[_0x396dad(0x1d7)](this[_0x396dad(0x21b)]))||helper['isUndefined'](helper[_0x396dad(0x26e)](this[_0x396dad(0x21b)])))throw new Error(_0x4ef92d[_0x396dad(0x254)]);helper['getLocalConfig'](this[_0x396dad(0x21b)])&&helper[_0x396dad(0x209)](helper[_0x396dad(0x23f)](this[_0x396dad(0x21b)]))&&(!helper[_0x396dad(0x209)](this['config'][_0x396dad(0x232)])&&_0x4ef92d['FGVQi'](this[_0x396dad(0x21b)][_0x396dad(0x232)][_0x396dad(0x27a)],Object)?!helper[_0x396dad(0x218)](this[_0x396dad(0x21b)]['browserStackLocalOptions'][_0x396dad(0x236)])&&(this[_0x396dad(0x21b)]['browserStackLocalOptions'][_0x396dad(0x1f2)]=helper[_0x396dad(0x20d)]()):this[_0x396dad(0x21b)][_0x396dad(0x232)]={'localIdentifier':helper[_0x396dad(0x20d)]()});this[_0x396dad(0x21b)][_0x396dad(0x232)][_0x396dad(0x236)]=helper['isTrue'](this['config'][_0x396dad(0x232)]['skipBinaryInitialisation']),helper[_0x396dad(0x21d)](this[_0x396dad(0x21b)]);if(_0x4ef92d['FGVQi'](_0x202418,_0x4ef92d[_0x396dad(0x1c6)]))return;this[_0x396dad(0x28d)]();process[_0x396dad(0x24e)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x396dad(0x21b)]['turboScale']=helper[_0x396dad(0x218)](process['env']['BROWSERSTACK_TURBOSCALE']),this['config'][_0x396dad(0x24a)]=this['config'][_0x396dad(0x24a)]||{});helper[_0x396dad(0x226)](this[_0x396dad(0x21b)])&&(process[_0x396dad(0x24e)][_0x396dad(0x22a)]=!![]);LoadTestModule[_0x396dad(0x252)](this[_0x396dad(0x21b)])&&logger['debug']('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this[_0x396dad(0x212)]);if(!helper[_0x396dad(0x208)]()){try{process['env'][_0x396dad(0x1f6)]=_0x202418,utilities[_0x396dad(0x2a7)](_0x4ef92d['LEHcv'],{},this[_0x396dad(0x21b)],this['framework']);}catch(_0x4b5e44){logger[_0x396dad(0x259)](_0x396dad(0x1e3)+_0x4b5e44);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x202418)){if(global[_0x396dad(0x2ad)])return;_0x4ef92d[_0x396dad(0x275)](_0x4ef92d[_0x396dad(0x258)](parseInt,helper[_0x396dad(0x1d5)](_0x4ef92d[_0x396dad(0x27d)])),0x3)&&(this['config'][_0x396dad(0x1f8)]=![]),_0x4ef92d[_0x396dad(0x2c9)](helper[_0x396dad(0x1d6)](helper[_0x396dad(0x1d5)](_0x4ef92d[_0x396dad(0x27d)]),_0x4ef92d['eraes']),0x1)&&(this['config']['useW3C']=!![]);}(helper['isUndefined'](this[_0x396dad(0x21b)][_0x396dad(0x288)])||helper[_0x396dad(0x209)](this[_0x396dad(0x21b)]['platforms'][_0x396dad(0x205)]))&&(helper[_0x396dad(0x209)](this[_0x396dad(0x21b)][_0x396dad(0x219)])?logger[_0x396dad(0x21c)](_0x4ef92d[_0x396dad(0x25a)]):logger[_0x396dad(0x25b)](_0x4ef92d[_0x396dad(0x2d2)]),this[_0x396dad(0x21b)]['platforms']=[]);!this[_0x396dad(0x21b)][_0x396dad(0x1fe)]&&(this[_0x396dad(0x21b)][_0x396dad(0x1fe)]={});try{process[_0x396dad(0x24e)][_0x396dad(0x1f6)]=_0x438d57['_'][0x0],utilities[_0x396dad(0x2a7)](_0x4ef92d['LEHcv'],{},this[_0x396dad(0x21b)],this[_0x396dad(0x200)]);}catch(_0x3f2fa8){logger[_0x396dad(0x259)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x3f2fa8);}!this[_0x396dad(0x21b)]['disableAutoCaptureLogs']&&logger['info'](constants['AUTOLOGCAPTURE_NOTIFICATION']),this[_0x396dad(0x23a)]=this[_0x396dad(0x23a)][_0x396dad(0x1cc)](this),process['on'](_0x4ef92d[_0x396dad(0x29d)],this['intExitHandler']),process['on'](_0x4ef92d[_0x396dad(0x1f5)],this['intExitHandler']),process['on'](_0x4ef92d[_0x396dad(0x22e)],this['intExitHandler']),_0x4ef92d[_0x396dad(0x22c)](process[_0x396dad(0x2a4)],_0x4ef92d[_0x396dad(0x273)])?(process['on'](_0x4ef92d['oDWfV'],this['intExitHandler']),process['on'](_0x4ef92d[_0x396dad(0x2d0)],this[_0x396dad(0x23a)])):process['on'](_0x4ef92d[_0x396dad(0x263)],this[_0x396dad(0x23a)]),process['on'](_0x4ef92d[_0x396dad(0x1e4)],this[_0x396dad(0x1d3)]());}async[a94_0xc863f9(0x1fc)](_0xae3aa1){const _0x2b10fd=a94_0xc863f9,_0x4df0a7={'EPJRp':'ats-repeater','jByjG':'custom-repeater','OVRGw':_0x2b10fd(0x249),'mFohF':function(_0x4274a0,_0x42f290){return _0x4274a0===_0x42f290;},'Jomkq':_0x2b10fd(0x1ce),'SBpex':function(_0x6bdeb3,_0x16eb7c){return _0x6bdeb3+_0x16eb7c;},'lFyTF':'?caps=','ELRyC':function(_0x25f6d6,_0x56c00){return _0x25f6d6(_0x56c00);},'mbmQm':'codeceptjs'};this[_0x2b10fd(0x1cf)](_0xae3aa1);if(helper['isTurboScaleSession'](this[_0x2b10fd(0x21b)])){const _0x402b56=await helper[_0x2b10fd(0x23d)](this[_0x2b10fd(0x21b)]);this[_0x2b10fd(0x21b)][_0x2b10fd(0x253)]=_0x402b56,_0x402b56[_0x2b10fd(0x265)]&&helper[_0x2b10fd(0x1e0)](this[_0x2b10fd(0x21b)][_0x2b10fd(0x27b)])&&helper[_0x2b10fd(0x218)](this['config'][_0x2b10fd(0x27b)])&&(this[_0x2b10fd(0x21b)][_0x2b10fd(0x232)]['localIdentifier']=_0x4df0a7['EPJRp'],this[_0x2b10fd(0x21b)][_0x2b10fd(0x232)][_0x4df0a7[_0x2b10fd(0x224)]]=_0x402b56[_0x2b10fd(0x1ee)]['join'](','),this[_0x2b10fd(0x21b)][_0x2b10fd(0x232)][_0x2b10fd(0x24d)]=_0x4df0a7[_0x2b10fd(0x201)]),this[_0x2b10fd(0x21b)][_0x2b10fd(0x2a8)]=_0x402b56[_0x2b10fd(0x1d2)],this[_0x2b10fd(0x200)]&&_0x4df0a7[_0x2b10fd(0x26c)](this[_0x2b10fd(0x200)][_0x2b10fd(0x1ed)](),_0x4df0a7['Jomkq'])?this['config'][_0x2b10fd(0x2a8)]=_0x4df0a7[_0x2b10fd(0x21f)](_0x402b56[_0x2b10fd(0x28e)],_0x4df0a7[_0x2b10fd(0x203)]):constants[_0x2b10fd(0x2bb)]=helper['getHubUrl'](this[_0x2b10fd(0x21b)]),logger[_0x2b10fd(0x259)](_0x2b10fd(0x291)+constants[_0x2b10fd(0x2bb)]);}helper[_0x2b10fd(0x286)](this['config']),this[_0x2b10fd(0x2a1)](),_0x4df0a7[_0x2b10fd(0x278)](setPercyFlag,this),await this[_0x2b10fd(0x2a0)](),![_0x4df0a7[_0x2b10fd(0x216)],_0x4df0a7[_0x2b10fd(0x262)]][_0x2b10fd(0x26b)](this[_0x2b10fd(0x200)])&&!helper[_0x2b10fd(0x226)](this['config'])&&!helper['getCentralUser']()[_0x2b10fd(0x284)]&&await this['setUpHubUrl']();}async['setupPercy'](){const _0x1148f2=a94_0xc863f9,_0x5750be={};_0x5750be[_0x1148f2(0x1f9)]=function(_0x1d3111,_0x17704c){return _0x1d3111===_0x17704c;},_0x5750be[_0x1148f2(0x222)]=_0x1148f2(0x2b1),_0x5750be[_0x1148f2(0x292)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x5750be['IbtdM']='Percy\x20started\x20successfully',_0x5750be[_0x1148f2(0x2ae)]=_0x1148f2(0x249),_0x5750be[_0x1148f2(0x267)]=_0x1148f2(0x1db);const _0x430c90=_0x5750be;if(helper['isTrue'](this[_0x1148f2(0x21b)][_0x1148f2(0x29b)])&&(!this[_0x1148f2(0x29b)]||!this[_0x1148f2(0x29b)][_0x1148f2(0x21e)]()))try{this[_0x1148f2(0x29b)]=await percyHelper[_0x1148f2(0x2cc)](this[_0x1148f2(0x21b)]);if(!this[_0x1148f2(0x29b)]){process[_0x1148f2(0x24e)][_0x1148f2(0x1da)]=_0x430c90['MwrqQ'];throw new Error(_0x430c90[_0x1148f2(0x292)]);}logger[_0x1148f2(0x21c)](_0x430c90['IbtdM']),process[_0x1148f2(0x24e)][_0x1148f2(0x1da)]=_0x430c90[_0x1148f2(0x2ae)];let _0x3135cc=0x0;const _0x378836=async()=>{const _0x3e157e=_0x1148f2;_0x3135cc++,_0x430c90[_0x3e157e(0x1f9)](_0x3135cc,0x1)&&await this['stopPercy']();};process['on'](_0x430c90[_0x1148f2(0x267)],_0x378836);}catch(_0x385412){process[_0x1148f2(0x24e)][_0x1148f2(0x1da)]=_0x430c90[_0x1148f2(0x222)],logger[_0x1148f2(0x259)](_0x1148f2(0x1d0)+_0x385412);throw new Error(_0x385412[_0x1148f2(0x289)]());}}async[a94_0xc863f9(0x255)](){const _0xb32c55=a94_0xc863f9,_0x2e53f1={};_0x2e53f1[_0xb32c55(0x234)]=_0xb32c55(0x25e),_0x2e53f1['UteyH']='Error\x20occured\x20while\x20stopping\x20percy';const _0x20d483=_0x2e53f1;if(this[_0xb32c55(0x29b)]&&this[_0xb32c55(0x29b)]['isRunning']())try{await percyHelper[_0xb32c55(0x255)](this[_0xb32c55(0x29b)]),logger[_0xb32c55(0x21c)](_0x20d483[_0xb32c55(0x234)]);}catch(_0x567dd7){logger['error'](_0x20d483['UteyH'],_0x567dd7['message']);}}async[a94_0xc863f9(0x2a0)](){const _0x3c1708=a94_0xc863f9,_0x1b6938={};_0x1b6938[_0x3c1708(0x246)]=_0x3c1708(0x26f),_0x1b6938[_0x3c1708(0x247)]=_0x3c1708(0x22b);const _0x320323=_0x1b6938;if(helper[_0x3c1708(0x208)]()&&helper[_0x3c1708(0x218)](this[_0x3c1708(0x21b)]['browserstackLocal'])&&(!this[_0x3c1708(0x27b)]||!this[_0x3c1708(0x27b)][_0x3c1708(0x21e)]()))try{if(this[_0x3c1708(0x21b)][_0x3c1708(0x232)][_0x3c1708(0x236)]){logger['debug'](_0x320323[_0x3c1708(0x246)]);return;}this[_0x3c1708(0x27b)]=await helper[_0x3c1708(0x2cf)](this[_0x3c1708(0x21b)]),logger[_0x3c1708(0x21c)](_0x320323[_0x3c1708(0x247)]);}catch(_0x5d961a){logger[_0x3c1708(0x259)](_0x5d961a);throw new Error(_0x5d961a[_0x3c1708(0x289)]());}}async[a94_0xc863f9(0x297)](){const _0x3077ef=a94_0xc863f9,_0x237d6b={};_0x237d6b[_0x3077ef(0x293)]=_0x3077ef(0x251),_0x237d6b[_0x3077ef(0x235)]=_0x3077ef(0x1c8);const _0x464e91=_0x237d6b;if(this[_0x3077ef(0x27b)]&&this[_0x3077ef(0x27b)][_0x3077ef(0x21e)]())try{await helper[_0x3077ef(0x214)](this[_0x3077ef(0x27b)]),logger['info'](_0x464e91[_0x3077ef(0x293)]);}catch(_0x1095fa){logger['error'](_0x464e91[_0x3077ef(0x235)],_0x1095fa[_0x3077ef(0x1e5)]);}}async[a94_0xc863f9(0x233)](){const _0x22ba52=a94_0xc863f9;return PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x22ba52(0x277)],async()=>{const _0x3dea93=_0x22ba52;await hubAllocator[_0x3dea93(0x1dd)](this[_0x3dea93(0x21b)]);})();}async['setupTCGAuth'](){const _0x4d6725=a94_0xc863f9,_0x82afde={'ehShZ':function(_0x574786,_0x3581eb){return _0x574786(_0x3581eb);},'HigkW':_0x4d6725(0x1f3),'SDjFi':function(_0xc31595,_0x57d4c1,_0x351779,_0x4f033f,_0x5f21c2,_0x51a1de,_0x135209){return _0xc31595(_0x57d4c1,_0x351779,_0x4f033f,_0x5f21c2,_0x51a1de,_0x135209);},'CXdVe':'BrowserstackHealing.init\x20method\x20timed\x20out','ipoFb':_0x4d6725(0x207),'nMmDw':'../../package.json','hmVlH':_0x4d6725(0x240),'tglGu':function(_0x1c27bd,_0x552490){return _0x1c27bd(_0x552490);},'ltmUl':function(_0x55b77f,_0x2a1882){return _0x55b77f===_0x2a1882;},'jWdfa':_0x4d6725(0x249),'nHRdE':function(_0x205310,_0x4ba968){return _0x205310===_0x4ba968;},'LBBIl':_0x4d6725(0x248),'aVgWA':function(_0x3d07ef,_0x3a0042){return _0x3d07ef===_0x3a0042;},'oqAsc':_0x4d6725(0x25d),'jDPJO':_0x4d6725(0x225),'bEpYl':function(_0x333229,_0x27d9cb){return _0x333229(_0x27d9cb);},'hfXRd':_0x4d6725(0x2a9),'pDfgu':function(_0x3f0c9a,_0x22e84d){return _0x3f0c9a>=_0x22e84d;},'GpdyB':function(_0x162a04,_0x149f4b){return _0x162a04<_0x149f4b;},'VUYoz':function(_0x30effd,_0x2c420f){return _0x30effd>=_0x2c420f;},'jTaAb':'tcg\x20config\x20setup\x20successful.','Zotnp':_0x4d6725(0x228),'oaMNS':function(_0x4bb8e0){return _0x4bb8e0();}},_0x58e875=PerformanceTester['measureWrapper'](_0x82afde[_0x4d6725(0x26a)],async()=>{const _0x3fd8ce=_0x4d6725;try{const _0x148711=new Date(),_0x49dbfa=helper['getProxyConfigForTcg'](this[_0x3fd8ce(0x21b)]),_0x33666d=_0x82afde[_0x3fd8ce(0x2b5)](require,path[_0x3fd8ce(0x2ab)](__dirname,_0x82afde[_0x3fd8ce(0x20e)])),_0x2fcd36=_0x82afde['SDjFi'](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x82afde[_0x3fd8ce(0x2ba)],_0x82afde[_0x3fd8ce(0x1e1)],_0x148711,this['config'],this[_0x3fd8ce(0x200)]),_0x5053ae={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x82afde[_0x3fd8ce(0x2b5)](require,_0x82afde['nMmDw'])[_0x3fd8ce(0x2c8)],'methodUsed':_0x82afde[_0x3fd8ce(0x2bc)],'proxyConfig':_0x49dbfa,'os':os['platform']()};if(_0x49dbfa&&_0x49dbfa[_0x3fd8ce(0x2a2)]){utilities['fireFunnelTestEvent'](constants[_0x3fd8ce(0x1ea)],_0x5053ae,this[_0x3fd8ce(0x21b)],this['framework']);return;}const _0x2a39d7={};_0x2a39d7[_0x3fd8ce(0x2c1)]=_0x49dbfa;const _0x297b72=await Promise[_0x3fd8ce(0x296)]([_0x33666d[_0x3fd8ce(0x25c)](this[_0x3fd8ce(0x21b)][_0x3fd8ce(0x2b7)],this[_0x3fd8ce(0x21b)]['userName'],constants[_0x3fd8ce(0x2b3)],_0x82afde[_0x3fd8ce(0x215)](require,_0x82afde[_0x3fd8ce(0x1e7)])[_0x3fd8ce(0x2c8)],_0x2a39d7)[_0x3fd8ce(0x294)](_0x2f46d4=>{return _0x2fcd36['cancel'](),_0x2f46d4;}),_0x2fcd36]);_0x297b72[_0x3fd8ce(0x23b)]=_0x82afde['ltmUl'](_0x297b72[_0x3fd8ce(0x23b)],_0x82afde['jWdfa'])||_0x82afde[_0x3fd8ce(0x241)](_0x297b72[_0x3fd8ce(0x23b)],!![]);const _0x98c09b=_0x82afde[_0x3fd8ce(0x22d)](this['config'][_0x3fd8ce(0x2a5)],!![])||_0x82afde[_0x3fd8ce(0x241)](this[_0x3fd8ce(0x21b)][_0x3fd8ce(0x2a5)],_0x82afde[_0x3fd8ce(0x2c4)]);if(_0x82afde[_0x3fd8ce(0x241)](_0x297b72[_0x3fd8ce(0x1e5)],constants[_0x3fd8ce(0x299)])&&_0x98c09b)logger['info'](_0x82afde['LBBIl']);else{if(!_0x297b72[_0x3fd8ce(0x2bf)]&&_0x82afde['aVgWA'](_0x297b72[_0x3fd8ce(0x2cb)],0x1f7)&&_0x98c09b)logger[_0x3fd8ce(0x21c)](_0x82afde[_0x3fd8ce(0x231)]),utilities['fireFunnelTestEvent'](constants[_0x3fd8ce(0x1e6)],_0x5053ae,this['config'],this[_0x3fd8ce(0x200)]);else{if(!_0x297b72[_0x3fd8ce(0x2bf)]&&_0x98c09b){logger[_0x3fd8ce(0x21c)](_0x82afde['jDPJO']);const _0x3a0b40={'tcgUrl':constants[_0x3fd8ce(0x2b3)],'sdkVersion':_0x82afde['bEpYl'](require,_0x82afde[_0x3fd8ce(0x1e7)])[_0x3fd8ce(0x2c8)],'methodUsed':_0x82afde[_0x3fd8ce(0x2bc)],'proxyConfig':_0x49dbfa,'os':os[_0x3fd8ce(0x2a4)]()};utilities[_0x3fd8ce(0x2a7)](constants[_0x3fd8ce(0x1cd)],_0x3a0b40,this[_0x3fd8ce(0x21b)],this[_0x3fd8ce(0x200)]);}else{if(_0x297b72[_0x3fd8ce(0x2bf)]&&!_0x297b72[_0x3fd8ce(0x23b)]&&_0x98c09b)logger[_0x3fd8ce(0x21c)](_0x82afde[_0x3fd8ce(0x239)]);else{if(_0x82afde[_0x3fd8ce(0x268)](_0x297b72['status'],0xc8)&&_0x82afde[_0x3fd8ce(0x1dc)](_0x297b72[_0x3fd8ce(0x2cb)],0x12c))utilities[_0x3fd8ce(0x2a7)](constants[_0x3fd8ce(0x1f0)],_0x5053ae,this[_0x3fd8ce(0x21b)],this[_0x3fd8ce(0x200)]);else{if(_0x82afde[_0x3fd8ce(0x220)](_0x297b72['status'],0x190))_0x5053ae[_0x3fd8ce(0x2cb)]=_0x297b72['status'],utilities[_0x3fd8ce(0x2a7)](constants[_0x3fd8ce(0x22f)],_0x5053ae,this[_0x3fd8ce(0x21b)],this[_0x3fd8ce(0x200)]);else!_0x297b72[_0x3fd8ce(0x2cb)]&&utilities[_0x3fd8ce(0x2a7)](constants[_0x3fd8ce(0x20a)],_0x5053ae,this['config'],this['framework']);}}}}}if(_0x297b72[_0x3fd8ce(0x2bf)]&&_0x297b72[_0x3fd8ce(0x23b)]){const _0x16e78d={};_0x16e78d[_0x3fd8ce(0x250)]=_0x297b72;const _0x1a97fc=_0x16e78d;_0x49dbfa&&(_0x1a97fc['proxyConfig']=_0x49dbfa),_0x1a97fc[_0x3fd8ce(0x200)]=this[_0x3fd8ce(0x200)],_0x1a97fc[_0x3fd8ce(0x1d8)]=this['config'],helper[_0x3fd8ce(0x245)](_0x1a97fc),logger[_0x3fd8ce(0x259)](_0x82afde[_0x3fd8ce(0x1d4)]);}}catch(_0x2e9a5c){logger[_0x3fd8ce(0x259)]('Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20'+(_0x2e9a5c[_0x3fd8ce(0x1e5)]?_0x2e9a5c[_0x3fd8ce(0x1e5)]:''));}});await _0x82afde['oaMNS'](_0x58e875);}['setupKeepAlive'](){const _0x3aa77e=a94_0xc863f9,_0x317cd7={'vjrDG':function(_0x44d6d8,_0x10e89f){return _0x44d6d8(_0x10e89f);},'lqzNb':_0x3aa77e(0x21a)};_0x317cd7[_0x3aa77e(0x206)](require,_0x317cd7['lqzNb'])();}[a94_0xc863f9(0x28d)](){const _0x4d6a85=a94_0xc863f9,_0x44365d={};_0x44365d[_0x4d6a85(0x272)]='2|3|1|0|4',_0x44365d[_0x4d6a85(0x2aa)]=_0x4d6a85(0x210),_0x44365d['CiZwW']=_0x4d6a85(0x1fb);const _0x883c23=_0x44365d,_0x422727=_0xecec63=>{const _0x4d24cb=_0x4d6a85,_0x5e6bba=_0x883c23[_0x4d24cb(0x272)][_0x4d24cb(0x2be)]('|');let _0x4a101f=0x0;while(!![]){switch(_0x5e6bba[_0x4a101f++]){case'0':PerformanceTester['captureError'](_0xecec63);continue;case'1':this[_0x4d24cb(0x270)][_0x4d24cb(0x229)](util[_0x4d24cb(0x285)]('%j',_0xecec63));continue;case'2':logger[_0x4d24cb(0x1ec)](_0xecec63['message']);continue;case'3':logger['debug'](util[_0x4d24cb(0x285)](_0xecec63));continue;case'4':ClientTroubleShootingService[_0x4d24cb(0x2cd)]();continue;}break;}};process['on'](_0x883c23[_0x4d6a85(0x2aa)],_0x422727),process['on'](_0x883c23[_0x4d6a85(0x244)],_0x422727);}async[a94_0xc863f9(0x23a)](_0x25a9e7){const _0x2bc168=a94_0xc863f9,_0x27c5e2={};_0x27c5e2[_0x2bc168(0x2c3)]=_0x2bc168(0x1cb),_0x27c5e2['xbfek']=function(_0x3c7a49,_0x5e60eb){return _0x3c7a49+_0x5e60eb;},_0x27c5e2['EvIeS']='handled',_0x27c5e2['Tsomu']=function(_0x2beb7e,_0x2c2267){return _0x2beb7e+_0x2c2267;},_0x27c5e2[_0x2bc168(0x213)]=_0x2bc168(0x260);const _0x27e795=_0x27c5e2,_0x15a8af=_0x27e795[_0x2bc168(0x2c3)]['split']('|');let _0x37be63=0x0;while(!![]){switch(_0x15a8af[_0x37be63++]){case'0':this[_0x27e795['xbfek'](_0x27e795[_0x2bc168(0x2ce)],_0x25a9e7)]=!![];continue;case'1':if(this[_0x27e795[_0x2bc168(0x290)](_0x27e795[_0x2bc168(0x2ce)],_0x25a9e7)])return;continue;case'2':await ClientTroubleShootingService[_0x2bc168(0x2cd)]();continue;case'3':await TestHubHandler[_0x2bc168(0x1d1)](_0x25a9e7);continue;case'4':await BrowserstackCLI[_0x2bc168(0x211)]()[_0x2bc168(0x1d1)]();continue;case'5':this[_0x2bc168(0x271)]=_0x25a9e7;continue;case'6':logger['info'](_0x27e795['xbfek'](_0x27e795[_0x2bc168(0x213)],_0x25a9e7));continue;case'7':await ClientTroubleShootingService['reportProcessInterruptionSituation'](_0x25a9e7);continue;}break;}}[a94_0xc863f9(0x1d3)](){const _0x457a81=a94_0xc863f9,_0x1ae947={'umlHM':function(_0x28dfa2,_0x3039ad){return _0x28dfa2===_0x3039ad;},'sOoAY':_0x457a81(0x2a3),'VCdql':function(_0x2cb8a6,_0x50ad6f){return _0x2cb8a6>_0x50ad6f;},'IhVrd':function(_0x1d2835,_0x5b9eb4){return _0x1d2835(_0x5b9eb4);},'gGtaU':function(_0x2cfda2){return _0x2cfda2();},'pnJPS':_0x457a81(0x1f4)};let _0x4a4fe8=0x0;return async()=>{const _0x3d9811=_0x457a81;_0x4a4fe8++;if(_0x1ae947[_0x3d9811(0x2b8)](_0x4a4fe8,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x3d9811(0x200)])&&await this[_0x3d9811(0x297)]();try{logger['debug'](_0x1ae947['sOoAY']),await TestHubHandler['stop'](_0x4a4fe8),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI[_0x3d9811(0x211)]()[_0x3d9811(0x1d1)]('1');}catch(_0x3eb1e0){logger['debug'](_0x3d9811(0x2b6)+util[_0x3d9811(0x285)](_0x3eb1e0));}PerformanceTester[_0x3d9811(0x243)](PerformanceEvents[_0x3d9811(0x1c5)]);if(PerformanceTester['isEnabled']()){const {measures:_0xb2467e,errors:_0x4c5b3f}=await PerformanceTester[_0x3d9811(0x295)](),_0x1b8c69={};if(_0xb2467e&&_0x1ae947[_0x3d9811(0x27c)](_0xb2467e[_0x3d9811(0x205)],0x0)||_0x4c5b3f&&_0x1ae947['VCdql'](_0x4c5b3f['length'],0x0)){const _0x332af8={};_0x332af8[_0x3d9811(0x2af)]=_0xb2467e,_0x332af8[_0x3d9811(0x1c7)]=_0x4c5b3f,Object['assign'](_0x1b8c69,_0x332af8);}try{const _0xaf75f4=await helper[_0x3d9811(0x23e)](_0x1b8c69,this['config']);logger[_0x3d9811(0x259)](_0x3d9811(0x269)+_0x1ae947[_0x3d9811(0x280)](getEdsInstrumentationAPIUrl,'')+_0x3d9811(0x20f)+_0xaf75f4[_0x3d9811(0x26d)]);}catch(_0xdae21f){logger[_0x3d9811(0x259)](_0x3d9811(0x281)+_0x1ae947[_0x3d9811(0x280)](getEdsInstrumentationAPIUrl,'')+_0x3d9811(0x1e9)+util[_0x3d9811(0x285)](_0xdae21f));}try{fs[_0x3d9811(0x298)](path[_0x3d9811(0x2ab)](_0x1ae947[_0x3d9811(0x1fd)](getLogDir),_0x1ae947[_0x3d9811(0x24c)]),JSON[_0x3d9811(0x1c9)](_0x1b8c69));}catch(_0x52b961){logger['debug']('Error\x20in\x20writing\x20events\x20to\x20file\x20'+_0x52b961);}}}logger&&logger[_0x3d9811(0x2a6)](),fileLogger&&fileLogger[_0x3d9811(0x2a6)]();};}}exports[a94_0xc863f9(0x1f1)]=BrowserStackSetup;
@@ -1 +1 @@
1
- const a95_0x5316c0=a95_0x4efd;(function(_0x42ad4b,_0x468a56){const _0x55be6c=a95_0x4efd,_0x2710da=_0x42ad4b();while(!![]){try{const _0x3ef1d6=parseInt(_0x55be6c(0x154))/0x1+-parseInt(_0x55be6c(0x1d2))/0x2*(-parseInt(_0x55be6c(0x15b))/0x3)+parseInt(_0x55be6c(0x155))/0x4+-parseInt(_0x55be6c(0x1c4))/0x5*(parseInt(_0x55be6c(0x161))/0x6)+-parseInt(_0x55be6c(0x191))/0x7*(parseInt(_0x55be6c(0x1b4))/0x8)+-parseInt(_0x55be6c(0x1de))/0x9+parseInt(_0x55be6c(0x13c))/0xa*(parseInt(_0x55be6c(0x17b))/0xb);if(_0x3ef1d6===_0x468a56)break;else _0x2710da['push'](_0x2710da['shift']());}catch(_0x548852){_0x2710da['push'](_0x2710da['shift']());}}}(a95_0x53cb,0x97179));function a95_0x53cb(){const _0x5a71e9=['LwFjX','accessibilityPlatform','98fZxbIU','xYjHr','\x20for\x20method:\x20','measureWrapper','function','updateRetryConfig','getAccessibilityModule','ms\x20using\x20setScriptTimeout\x20API','MpbEn','nzUwf','Scan\x20attempt\x20','FpLop','9326799rlvVxh','TdcKw','MtHcr','value','enyBT','getCurrentUrl','script','ZhJli','timeouts',')\x20with\x20error:\x20','lVzur','url','DKpzd','performScan','lgvyQ','yvkIY','name','setTimeouts','results','rGEcZ','scanSucceeded','wBbHa','xeGhf','uzniN','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','browserstackSessionName','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','sUJXK','Accessibility\x20results\x20retrieval\x20attempt\x20','setPlaywrightScriptTimeout','capabilitiesList','wAgOl','unknown','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','undefined','timeoutMs','../performance/performance-tester','hTNny','wmOwp','getAccessibilityResultsWithRetry','getGlobal','SMhKz','AXtod','vzGer','FGHum','Jtwig','CDmae','util','jAMHV','maxRetries','getSession','vuNVz','Uxcdf','getId','120ecsDpP','TMKnb','ADTnw','page','bJuzN','gdTnd','defaultTimeoutMs','error','info','isSeleniumDriver','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','\x20-\x20not\x20applicable','Unknown\x20error','ybInI','Skipping\x20timeout\x20setting\x20for\x20','status','performComprehensiveAccessibilityScanWithRetry','):\x20','Accessibility\x20results\x20save\x20attempt\x20','Page','\x20failed\x20(',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','YrBym','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','1173502SgCPMZ','978468uacRuL','ayVXG','getAccessibilityResultsSummary','Accessibility\x20scan\x20attempt\x20','rejected','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','6672XFdgzb','eCCXa','getRetryConfig','performScanWithRetry','setScriptTimeout','getInstance','96UUwPHF','isPlaywright','lgpxm','cfOxm','../performance/constants','debin','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','dEcwJ','browserStackEvaluate','isAccessibilityPlatform','constructor','getAccessibilityResults',',\x20cannot\x20perform\x20scan\x20with\x20retry.','stringify','warn','PERFORM_SCAN','evaluate','LhlxU','getCapabilities','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','CWJRr','env','ZexYD','saveAccessibilityResultsWithRetry','isRunning','mLGks','706541pIKAOa','IoFbT','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','summary','WebDriver','eHhEY','YJZJT','goto','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','lQqkJ','allSettled','../../bin/v2/browserstackCLI','atyRM','dyVOu','qFchE','reason','./scripts','saveTestResults','options','../globals','ZwGoY','ms\x20using\x20timeouts()\x20API','1281gGTzvc','max','type','message','manage','QaSGU','Operation\x20timed\x20out\x20after\x20','accessibilityConfig','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','TjTji','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','jmnSr','executeAsyncScript','isAccessibilityAutomationSession','Dsruh','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','unknown_method','AEtZX','kDwlG','setDefaultTimeout','selenium-webdriver','getAccessibilityResultsSummaryWithRetry',').\x20Last\x20error:\x20','fulfilled','scannerProcessingTimeout','xZeJs','HceIO','IwgNS','ms\x20using\x20setTimeouts\x20API','nhtHd','currentTest','AIIOF','sRdKg','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','11624rlUuBj','trCAC','./helper','UNKSo','HbTck','debug','BJsxp','__workerDetails','Playwright',').\x20Error:\x20','Comprehensive\x20accessibility\x20scan\x20failed\x20(','yvdyc','OdQVI',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','setSeleniumScriptTimeout','117745mHDkBl','bstackA11yShouldScan','HVBcL','isPlaywrightPage','YsHki','lmcbj','vZaQG','vklbs','race','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','eFOUf','UiTZv'];a95_0x53cb=function(){return _0x5a71e9;};return a95_0x53cb();}const util=require(a95_0x5316c0(0x20d)),logger=require('../logger')['winstonLogger'],accessibilityHelper=require(a95_0x5316c0(0x1b6)),globals=require(a95_0x5316c0(0x18e)),scripts=require(a95_0x5316c0(0x18b)),PerformanceTester=require(a95_0x5316c0(0x202)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a95_0x5316c0(0x165)),BrowserstackCLI=require(a95_0x5316c0(0x186));let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a95_0x485f28){logger['debug']('Playwright\x20accessibility\x20helper\x20not\x20available');}const a95_0x5c26e6={};a95_0x5c26e6[a95_0x5316c0(0x20f)]=0x1,a95_0x5c26e6[a95_0x5316c0(0x201)]=0x7530,a95_0x5c26e6[a95_0x5316c0(0x142)]=0x7530;function a95_0x4efd(_0x2a92c8,_0x163ed2){const _0x53cb1b=a95_0x53cb();return a95_0x4efd=function(_0x4efde8,_0x3f20fe){_0x4efde8=_0x4efde8-0x139;let _0x479186=_0x53cb1b[_0x4efde8];return _0x479186;},a95_0x4efd(_0x2a92c8,_0x163ed2);}const RETRY_CONFIG=a95_0x5c26e6,setConfigTimeout=(_0xf6ce0,_0x2f4281=null)=>{const _0x27a12a=a95_0x5316c0,_0x313091={'jAMHV':function(_0x623e6d,_0x117da4){return _0x623e6d===_0x117da4;},'HhVbk':_0x27a12a(0x1aa),'eCCXa':function(_0x1c93d,_0x37a0ab){return _0x1c93d===_0x37a0ab;},'MpbEn':function(_0x69db8c,_0x7fe4f){return _0x69db8c*_0x7fe4f;},'xYjHr':function(_0x46cef6,_0x38cb06){return _0x46cef6(_0x38cb06);},'TMKnb':function(_0x554761,_0x519116){return _0x554761*_0x519116;},'cfOxm':function(_0x1a40d7,_0x254cea){return _0x1a40d7(_0x254cea);}};if(BrowserstackCLI[_0x27a12a(0x160)]()[_0x27a12a(0x179)]()&&BrowserstackCLI[_0x27a12a(0x160)]()[_0x27a12a(0x1d8)]()){const _0x1c5c57=BrowserstackCLI[_0x27a12a(0x160)]()[_0x27a12a(0x1d8)]()[_0x27a12a(0x198)],_0x578dcb=_0x1c5c57[_0x27a12a(0x18d)][_0x27a12a(0x1fc)]||[];for(const _0x3550ac of _0x578dcb){_0x313091[_0x27a12a(0x20e)](_0x3550ac[_0x27a12a(0x1ee)],_0x313091['HhVbk'])&&_0x313091[_0x27a12a(0x15c)](_0x2f4281,null)&&(_0xf6ce0[_0x27a12a(0x201)]=_0x313091[_0x27a12a(0x1da)](_0x313091[_0x27a12a(0x1d3)](parseInt,_0x3550ac[_0x27a12a(0x1e1)]),0x3e8));}}else process['env'][_0x27a12a(0x183)]&&(_0xf6ce0['timeoutMs']=_0x313091[_0x27a12a(0x13d)](_0x313091[_0x27a12a(0x164)](parseInt,process[_0x27a12a(0x176)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x4da4a3=>{const _0x75eacd=a95_0x5316c0,_0x4a0346={};_0x4a0346[_0x75eacd(0x17a)]=_0x75eacd(0x1fe),_0x4a0346[_0x75eacd(0x1cf)]=function(_0x288a8e,_0x4fa9ea){return _0x288a8e===_0x4fa9ea;},_0x4a0346['lQqkJ']=_0x75eacd(0x1d6),_0x4a0346[_0x75eacd(0x1c6)]=function(_0xea557a,_0xd495f8){return _0xea557a===_0xd495f8;},_0x4a0346['AEtZX']='playwright-page',_0x4a0346[_0x75eacd(0x19f)]=_0x75eacd(0x1a6),_0x4a0346[_0x75eacd(0x1e2)]=function(_0x270b09,_0x54e34d){return _0x270b09===_0x54e34d;},_0x4a0346[_0x75eacd(0x1ad)]=_0x75eacd(0x14f),_0x4a0346[_0x75eacd(0x1b7)]=_0x75eacd(0x17f),_0x4a0346[_0x75eacd(0x1f9)]=function(_0x2b9a8f,_0x29c966){return _0x2b9a8f===_0x29c966;},_0x4a0346[_0x75eacd(0x1cb)]=_0x75eacd(0x1bc),_0x4a0346[_0x75eacd(0x1a4)]='playwright-codecept-driver',_0x4a0346['xeGhf']=function(_0x15d300,_0x4c72e5){return _0x15d300||_0x4c72e5;},_0x4a0346[_0x75eacd(0x1c0)]=_0x75eacd(0x200);const _0x59710e=_0x4a0346;if(!_0x4da4a3){const _0x433b16={};return _0x433b16['isPlaywright']=![],_0x433b16['type']=_0x59710e['mLGks'],_0x433b16;}if(_0x59710e['UiTZv'](typeof _0x4da4a3[_0x75eacd(0x171)],_0x59710e[_0x75eacd(0x184)])&&_0x59710e[_0x75eacd(0x1c6)](typeof _0x4da4a3[_0x75eacd(0x1e9)],_0x59710e[_0x75eacd(0x184)])&&_0x59710e[_0x75eacd(0x1c6)](typeof _0x4da4a3[_0x75eacd(0x182)],_0x59710e[_0x75eacd(0x184)])){const _0x4b6f9f={};return _0x4b6f9f['isPlaywright']=!![],_0x4b6f9f[_0x75eacd(0x193)]=_0x59710e['AEtZX'],_0x4b6f9f;}if(_0x59710e[_0x75eacd(0x1c6)](typeof _0x4da4a3[_0x75eacd(0x19d)],_0x59710e[_0x75eacd(0x184)])&&_0x59710e['HVBcL'](typeof _0x4da4a3[_0x75eacd(0x173)],_0x59710e['lQqkJ'])){const _0x5c849e={};return _0x5c849e[_0x75eacd(0x162)]=![],_0x5c849e[_0x75eacd(0x193)]=_0x59710e[_0x75eacd(0x19f)],_0x5c849e;}const _0x5528a7=_0x4da4a3[_0x75eacd(0x16b)]?.[_0x75eacd(0x1ee)];if(_0x59710e['enyBT'](_0x5528a7,_0x59710e[_0x75eacd(0x1ad)])){const _0x28bc82={};return _0x28bc82[_0x75eacd(0x162)]=!![],_0x28bc82[_0x75eacd(0x193)]=_0x59710e[_0x75eacd(0x1a3)],_0x28bc82;}if(_0x59710e[_0x75eacd(0x1c6)](_0x5528a7,_0x59710e[_0x75eacd(0x1b7)])){const _0x2c137d={};return _0x2c137d[_0x75eacd(0x162)]=![],_0x2c137d['type']=_0x59710e[_0x75eacd(0x19f)],_0x2c137d;}if(_0x59710e['sUJXK'](_0x5528a7,_0x59710e[_0x75eacd(0x1cb)])){const _0x133947={};return _0x133947[_0x75eacd(0x162)]=!![],_0x133947[_0x75eacd(0x193)]=_0x59710e[_0x75eacd(0x1a4)],_0x133947;}logger[_0x75eacd(0x16f)]('Unknown\x20driver/page\x20type:\x20'+_0x59710e[_0x75eacd(0x1f4)](_0x5528a7,_0x59710e[_0x75eacd(0x1c0)]));const _0x3d88da={};return _0x3d88da[_0x75eacd(0x162)]=![],_0x3d88da[_0x75eacd(0x193)]=_0x59710e[_0x75eacd(0x17a)],_0x3d88da;},withTimeout=(_0x90842c,_0x518664)=>{const _0x48a877=a95_0x5316c0;return Promise[_0x48a877(0x1cc)]([_0x90842c,new Promise((_0x2ebb9e,_0x1c07cd)=>setTimeout(()=>_0x1c07cd(new Error(_0x48a877(0x197)+_0x518664+'ms')),_0x518664))]);};exports[a95_0x5316c0(0x15e)]=async(_0xef43d2,_0x4379ea=null,_0x1e5dba=null)=>{const _0x3e94a8=a95_0x5316c0,_0x1b5203={'ayVXG':function(_0x24d2c6,_0x1a6fde){return _0x24d2c6&&_0x1a6fde;},'wAgOl':function(_0x212547,_0x6d9185,_0x415dc8){return _0x212547(_0x6d9185,_0x415dc8);},'Jtwig':function(_0x550340,_0x602050){return _0x550340===_0x602050;},'ZwGoY':'playwright-codecept-driver','lgvyQ':function(_0x5d08f2,_0xc76457,_0x4a8a40){return _0x5d08f2(_0xc76457,_0x4a8a40);},'lVzur':function(_0x7daea3,_0x184a18){return _0x7daea3(_0x184a18);},'dEcwJ':_0x3e94a8(0x16a),'gdTnd':_0x3e94a8(0x1c5),'BJsxp':_0x3e94a8(0x1a2),'lmcbj':_0x3e94a8(0x1d6),'AIIOF':function(_0x4706a9,_0x3e638d){return _0x4706a9<=_0x3e638d;},'yvdyc':function(_0x17a5fc,_0x19852d){return _0x17a5fc+_0x19852d;},'xZeJs':_0x3e94a8(0x148)},{isPlaywright:_0x39bc64,type:_0x33d296}=_0x1b5203[_0x3e94a8(0x1e8)](detectDriverType,_0xef43d2),_0x3fd2ee=_0x39bc64?global['accessibilityPlatform']:accessibilityHelper[_0x3e94a8(0x19e)]()&&globals['getGlobal'](_0x1b5203[_0x3e94a8(0x168)])&&globals['getGlobal'](_0x1b5203[_0x3e94a8(0x141)]);if(!_0x3fd2ee)return logger[_0x3e94a8(0x16f)](_0x3e94a8(0x167)+_0x33d296+_0x3e94a8(0x16d)),![];const _0x19d683=_0x4379ea||global[_0x3e94a8(0x1f7)]||_0x1b5203[_0x3e94a8(0x1ba)];let _0x4b01c5=null;const _0x323e0f={'testhub_btcer_uuid':global[_0x3e94a8(0x1bb)]?.[_0x3e94a8(0x1b0)]?.['id'],'url':_0x1b5203[_0x3e94a8(0x20b)](typeof _0xef43d2['url'],_0x1b5203[_0x3e94a8(0x1c9)])?await _0xef43d2[_0x3e94a8(0x1e9)]():_0x1b5203[_0x3e94a8(0x20b)](typeof _0xef43d2[_0x3e94a8(0x1e3)],_0x1b5203[_0x3e94a8(0x1c9)])?await _0xef43d2[_0x3e94a8(0x1e3)]():'','automate_session_id':_0x1b5203[_0x3e94a8(0x20b)](typeof _0xef43d2[_0x3e94a8(0x210)],_0x1b5203[_0x3e94a8(0x1c9)])?(await _0xef43d2[_0x3e94a8(0x210)]())[_0x3e94a8(0x13b)]():''};for(let _0x403972=0x1;_0x1b5203[_0x3e94a8(0x1b1)](_0x403972,_0x1b5203[_0x3e94a8(0x1bf)](RETRY_CONFIG[_0x3e94a8(0x20f)],0x1));_0x403972++){try{return logger['debug'](_0x3e94a8(0x158)+_0x403972+'/'+_0x1b5203[_0x3e94a8(0x1bf)](RETRY_CONFIG[_0x3e94a8(0x20f)],0x1)+_0x3e94a8(0x1d4)+_0x19d683+'\x20('+_0x33d296+')'),await PerformanceTester[_0x3e94a8(0x1d5)](PerformanceA11yEvents[_0x3e94a8(0x170)],async()=>{const _0x3195e7=_0x3e94a8;let _0x31c4a9;if(_0x1b5203[_0x3195e7(0x156)](_0x39bc64,playwrightA11yHelper)){_0x1b5203[_0x3195e7(0x1fd)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3195e7(0x1fb)](_0xef43d2,RETRY_CONFIG[_0x3195e7(0x201)]);let _0x1ac1c2=_0xef43d2;_0x1b5203['Jtwig'](_0x33d296,_0x1b5203[_0x3195e7(0x18f)])&&(_0x1ac1c2=_0xef43d2[_0x3195e7(0x13f)]),_0x31c4a9=await _0x1b5203[_0x3195e7(0x1fd)](withTimeout,playwrightA11yHelper[_0x3195e7(0x1eb)](_0x1ac1c2,_0x19d683),RETRY_CONFIG[_0x3195e7(0x201)]),await exports[_0x3195e7(0x1fb)](_0xef43d2,RETRY_CONFIG[_0x3195e7(0x142)]);}else await exports[_0x3195e7(0x1c3)](_0xef43d2,RETRY_CONFIG[_0x3195e7(0x201)]),_0x31c4a9=await _0x1b5203[_0x3195e7(0x1ec)](withTimeout,accessibilityHelper[_0x3195e7(0x1eb)](_0xef43d2,_0x19d683),RETRY_CONFIG['timeoutMs']),await exports[_0x3195e7(0x1c3)](_0xef43d2,RETRY_CONFIG[_0x3195e7(0x142)]);logger[_0x3195e7(0x1b9)](_0x3195e7(0x1dc)+_0x403972+'\x20completed\x20successfully.');},{'command':_0x19d683,..._0x323e0f})(),logger[_0x3e94a8(0x144)](_0x3e94a8(0x1a0)+_0x403972+'.'),!![];}catch(_0x47a778){_0x4b01c5=_0x47a778,logger['debug'](_0x3e94a8(0x158)+_0x403972+'\x20failed\x20for\x20method:\x20'+_0x19d683+'\x20('+_0x33d296+_0x3e94a8(0x1bd)+_0x47a778['message']);}}return logger[_0x3e94a8(0x143)]('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x19d683+'\x20('+_0x33d296+_0x3e94a8(0x1e7)+(_0x4b01c5?.[_0x3e94a8(0x194)]||_0x1b5203[_0x3e94a8(0x1ab)])),![];},exports[a95_0x5316c0(0x205)]=async(_0x4a89ab,_0x1e1619)=>{const _0x1a3f25=a95_0x5316c0,_0x49307e={'uzniN':function(_0x224a4b,_0xdf8cf8){return _0x224a4b(_0xdf8cf8);},'jmnSr':_0x1a3f25(0x16a),'YsHki':_0x1a3f25(0x1c5),'GGjnj':function(_0x2d8c04,_0x5bee25){return _0x2d8c04<=_0x5bee25;},'ZhJli':function(_0x1bc9e2,_0x34174f){return _0x1bc9e2+_0x34174f;},'CDmae':function(_0x35740a,_0x3ab280){return _0x35740a+_0x3ab280;},'bJuzN':function(_0x2d07f1,_0x4ecc0d){return _0x2d07f1&&_0x4ecc0d;},'ADTnw':function(_0x599591,_0x3e6e97,_0x45921a){return _0x599591(_0x3e6e97,_0x45921a);},'ZexYD':function(_0x53dfbf,_0x2892da,_0x2826c6){return _0x53dfbf(_0x2892da,_0x2826c6);},'ybInI':function(_0x20a012,_0x2bbec3,_0x2c8d71){return _0x20a012(_0x2bbec3,_0x2c8d71);},'wBbHa':'Unknown\x20error'},{isPlaywright:_0x4e0886,type:_0x244e6c}=_0x49307e[_0x1a3f25(0x1f5)](detectDriverType,_0x4a89ab),_0x1df1c9=_0x4e0886?_0x1e1619[_0x1a3f25(0x1d1)]:accessibilityHelper[_0x1a3f25(0x19e)]()&&globals[_0x1a3f25(0x206)](_0x49307e[_0x1a3f25(0x19c)])&&globals[_0x1a3f25(0x206)](_0x49307e[_0x1a3f25(0x1c8)]);if(!_0x1df1c9)return logger[_0x1a3f25(0x16f)](_0x1a3f25(0x167)+_0x244e6c+_0x1a3f25(0x1a1)),[];let _0x55cf93=null;for(let _0x25d10c=0x1;_0x49307e['GGjnj'](_0x25d10c,_0x49307e[_0x1a3f25(0x1e5)](RETRY_CONFIG[_0x1a3f25(0x20f)],0x1));_0x25d10c++){try{logger[_0x1a3f25(0x1b9)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x25d10c+'/'+_0x49307e[_0x1a3f25(0x20c)](RETRY_CONFIG[_0x1a3f25(0x20f)],0x1)+'\x20('+_0x244e6c+')');let _0x164b4b;return _0x49307e[_0x1a3f25(0x140)](_0x4e0886,playwrightA11yHelper)?(_0x49307e[_0x1a3f25(0x13e)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x4a89ab,RETRY_CONFIG[_0x1a3f25(0x201)]),_0x164b4b=await _0x49307e[_0x1a3f25(0x177)](withTimeout,playwrightA11yHelper[_0x1a3f25(0x16c)](_0x4a89ab),RETRY_CONFIG['timeoutMs']),await exports[_0x1a3f25(0x1fb)](_0x4a89ab,RETRY_CONFIG[_0x1a3f25(0x142)])):(await exports[_0x1a3f25(0x1c3)](_0x4a89ab,RETRY_CONFIG[_0x1a3f25(0x201)]),_0x164b4b=await _0x49307e[_0x1a3f25(0x149)](withTimeout,accessibilityHelper[_0x1a3f25(0x16c)](_0x4a89ab,_0x1e1619),RETRY_CONFIG[_0x1a3f25(0x201)]),await exports['setSeleniumScriptTimeout'](_0x4a89ab,RETRY_CONFIG[_0x1a3f25(0x142)])),logger[_0x1a3f25(0x144)](_0x1a3f25(0x199)+_0x25d10c+'\x20('+_0x244e6c+')'),_0x164b4b;}catch(_0x3772a7){_0x55cf93=_0x3772a7,logger['warn'](_0x1a3f25(0x1fa)+_0x25d10c+_0x1a3f25(0x150)+_0x244e6c+_0x1a3f25(0x1bd)+_0x3772a7[_0x1a3f25(0x194)]);}}return logger['error']('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x244e6c+_0x1a3f25(0x1a8)+(_0x55cf93?.[_0x1a3f25(0x194)]||_0x49307e[_0x1a3f25(0x1f3)])),[];},exports[a95_0x5316c0(0x1a7)]=async(_0x46490b,_0x376cff)=>{const _0x472bb5=a95_0x5316c0,_0x1d7f64={'Uxcdf':function(_0x25d263,_0x10295b){return _0x25d263(_0x10295b);},'vZaQG':_0x472bb5(0x16a),'QuMhm':_0x472bb5(0x1c5),'QaSGU':function(_0x9fc412,_0x7889f3){return _0x9fc412<=_0x7889f3;},'ljiYl':function(_0xb20a4f,_0x140753){return _0xb20a4f+_0x140753;},'qFchE':function(_0x4d72d8,_0x3cc8a1){return _0x4d72d8+_0x3cc8a1;},'AXtod':function(_0x17526c,_0x519990){return _0x17526c&&_0x519990;},'hTNny':function(_0x621e9,_0x594f19,_0x18a795){return _0x621e9(_0x594f19,_0x18a795);},'eHhEY':function(_0x528281,_0x407afa,_0x2cab9f){return _0x528281(_0x407afa,_0x2cab9f);},'sRdKg':'Unknown\x20error'},{isPlaywright:_0x5d4cfb,type:_0x562337}=_0x1d7f64[_0x472bb5(0x13a)](detectDriverType,_0x46490b),_0x228a92=_0x5d4cfb?_0x376cff[_0x472bb5(0x1d1)]:accessibilityHelper[_0x472bb5(0x19e)]()&&globals[_0x472bb5(0x206)](_0x1d7f64[_0x472bb5(0x1ca)])&&globals[_0x472bb5(0x206)](_0x1d7f64['QuMhm']);if(!_0x228a92)return logger[_0x472bb5(0x16f)](_0x472bb5(0x167)+_0x562337+_0x472bb5(0x1c1)),{};let _0x4f8a4d=null;for(let _0x2cbd25=0x1;_0x1d7f64[_0x472bb5(0x196)](_0x2cbd25,_0x1d7f64['ljiYl'](RETRY_CONFIG['maxRetries'],0x1));_0x2cbd25++){try{logger[_0x472bb5(0x1b9)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x2cbd25+'/'+_0x1d7f64[_0x472bb5(0x189)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x562337+')');let _0x437673;return _0x1d7f64[_0x472bb5(0x208)](_0x5d4cfb,playwrightA11yHelper)?(_0x1d7f64[_0x472bb5(0x203)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x472bb5(0x1fb)](_0x46490b,RETRY_CONFIG[_0x472bb5(0x201)]),_0x437673=await _0x1d7f64[_0x472bb5(0x203)](withTimeout,playwrightA11yHelper[_0x472bb5(0x157)](_0x46490b),RETRY_CONFIG['timeoutMs']),await exports[_0x472bb5(0x1fb)](_0x46490b,RETRY_CONFIG[_0x472bb5(0x142)])):(await exports[_0x472bb5(0x1c3)](_0x46490b,RETRY_CONFIG[_0x472bb5(0x201)]),_0x437673=await _0x1d7f64[_0x472bb5(0x180)](withTimeout,accessibilityHelper[_0x472bb5(0x157)](_0x46490b,_0x376cff),RETRY_CONFIG[_0x472bb5(0x201)]),await exports[_0x472bb5(0x1c3)](_0x46490b,RETRY_CONFIG[_0x472bb5(0x142)])),logger[_0x472bb5(0x144)](_0x472bb5(0x174)+_0x2cbd25+'\x20('+_0x562337+')'),_0x437673;}catch(_0x3585c2){_0x4f8a4d=_0x3585c2,logger[_0x472bb5(0x16f)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x2cbd25+'\x20failed\x20('+_0x562337+_0x472bb5(0x1bd)+_0x3585c2[_0x472bb5(0x194)]);}}return logger[_0x472bb5(0x143)](_0x472bb5(0x1f8)+_0x562337+').\x20Last\x20error:\x20'+(_0x4f8a4d?.[_0x472bb5(0x194)]||_0x1d7f64[_0x472bb5(0x1b2)])),{};},exports[a95_0x5316c0(0x14c)]=async(_0x3006e3,_0x5f5444,_0x32fa29=null)=>{const _0x7b28da=a95_0x5316c0,_0x414130={'HbTck':function(_0x3de44e,_0x1fac2f){return _0x3de44e(_0x1fac2f);},'MtHcr':function(_0xee8949,_0x24f8d8){return _0xee8949===_0x24f8d8;},'lgpxm':_0x7b28da(0x1a9),'dyVOu':_0x7b28da(0x159),'FpLop':function(_0x12c92b,_0x2254f7){return _0x12c92b===_0x2254f7;},'YJZJT':_0x7b28da(0x1ff)},{isPlaywright:_0x1e0774,type:_0x465f52}=_0x414130[_0x7b28da(0x1b8)](detectDriverType,_0x3006e3),_0x49e547={};_0x49e547[_0x7b28da(0x1f2)]=![],_0x49e547[_0x7b28da(0x1f0)]=[],_0x49e547[_0x7b28da(0x17e)]={},_0x49e547['error']=null,_0x49e547['driverType']=_0x465f52;const _0x1100c1=_0x49e547;try{_0x1100c1[_0x7b28da(0x1f2)]=await exports[_0x7b28da(0x15e)](_0x3006e3,_0x32fa29);if(_0x1100c1[_0x7b28da(0x1f2)]){const [_0x4f1f57,_0x1cf2ce]=await Promise[_0x7b28da(0x185)]([exports[_0x7b28da(0x205)](_0x3006e3,_0x5f5444),exports[_0x7b28da(0x1a7)](_0x3006e3,_0x5f5444)]);_0x1100c1[_0x7b28da(0x1f0)]=_0x414130[_0x7b28da(0x1e0)](_0x4f1f57['status'],_0x414130[_0x7b28da(0x163)])?_0x4f1f57[_0x7b28da(0x1e1)]:[],_0x1100c1['summary']=_0x414130[_0x7b28da(0x1e0)](_0x1cf2ce[_0x7b28da(0x14b)],_0x414130[_0x7b28da(0x163)])?_0x1cf2ce[_0x7b28da(0x1e1)]:{},_0x414130[_0x7b28da(0x1e0)](_0x4f1f57[_0x7b28da(0x14b)],_0x414130[_0x7b28da(0x188)])&&logger[_0x7b28da(0x16f)]('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0x465f52+_0x7b28da(0x14d)+_0x4f1f57[_0x7b28da(0x18a)]?.[_0x7b28da(0x194)]),_0x414130[_0x7b28da(0x1dd)](_0x1cf2ce[_0x7b28da(0x14b)],_0x414130['dyVOu'])&&logger[_0x7b28da(0x16f)](_0x7b28da(0x1c2)+_0x465f52+_0x7b28da(0x14d)+_0x1cf2ce['reason']?.[_0x7b28da(0x194)]);}}catch(_0x4411d2){_0x1100c1['error']=_0x4411d2[_0x7b28da(0x194)]||_0x414130[_0x7b28da(0x181)],logger[_0x7b28da(0x143)](_0x7b28da(0x1be)+_0x465f52+'):\x20'+_0x1100c1[_0x7b28da(0x143)]);}return _0x1100c1;},exports[a95_0x5316c0(0x1d7)]=_0x3a1283=>{const _0x436ad4=a95_0x5316c0,_0x3bed39={};_0x3bed39[_0x436ad4(0x152)]=function(_0x3728e4,_0x41ccf3){return _0x3728e4!==_0x41ccf3;};const _0x3ff2bf=_0x3bed39;_0x3ff2bf[_0x436ad4(0x152)](_0x3a1283[_0x436ad4(0x20f)],undefined)&&(RETRY_CONFIG[_0x436ad4(0x20f)]=Math['max'](0x0,_0x3a1283[_0x436ad4(0x20f)])),_0x3ff2bf[_0x436ad4(0x152)](_0x3a1283[_0x436ad4(0x201)],undefined)&&(RETRY_CONFIG[_0x436ad4(0x201)]=Math[_0x436ad4(0x192)](0x3e8,_0x3a1283[_0x436ad4(0x201)])),logger[_0x436ad4(0x1b9)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x436ad4(0x16e)](RETRY_CONFIG));},exports[a95_0x5316c0(0x15d)]=()=>{const _0x43ffe9={...RETRY_CONFIG};return _0x43ffe9;},exports[a95_0x5316c0(0x1c7)]=_0x377e98=>{const _0x24ba3e=a95_0x5316c0,_0x517f14={'wmOwp':function(_0x385083,_0x176019){return _0x385083(_0x176019);}};return _0x517f14[_0x24ba3e(0x204)](detectDriverType,_0x377e98)['isPlaywright'];},exports[a95_0x5316c0(0x145)]=_0x43976d=>{const _0x20435d=a95_0x5316c0,_0x44a7f1={'HceIO':function(_0xc6a804,_0x331696){return _0xc6a804(_0x331696);},'eFOUf':function(_0xfc72a6,_0xe873fd){return _0xfc72a6===_0xe873fd;},'nzUwf':'selenium-webdriver'},{isPlaywright:_0x55ab92,type:_0x21e2ec}=_0x44a7f1[_0x20435d(0x1ac)](detectDriverType,_0x43976d);return!_0x55ab92&&_0x44a7f1[_0x20435d(0x1ce)](_0x21e2ec,_0x44a7f1[_0x20435d(0x1db)]);},exports[a95_0x5316c0(0x1fb)]=async(_0x3ebfd8,_0x2e2bc4=null)=>{const _0x45ad83=a95_0x5316c0,_0x1d8bf8={'ziVEo':function(_0x4f061d,_0xe7226f){return _0x4f061d(_0xe7226f);},'CWJRr':function(_0x172c9a,_0x4e205d){return _0x172c9a===_0x4e205d;},'trCAC':_0x45ad83(0x1d6)},{isPlaywright:_0x307d26,type:_0x6b794e}=_0x1d8bf8['ziVEo'](detectDriverType,_0x3ebfd8);if(!_0x307d26)return logger[_0x45ad83(0x1b9)](_0x45ad83(0x14a)+_0x6b794e+_0x45ad83(0x147)),!![];const _0x45207b=_0x2e2bc4||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x3ebfd8&&_0x1d8bf8[_0x45ad83(0x175)](typeof _0x3ebfd8[_0x45ad83(0x1a5)],_0x1d8bf8[_0x45ad83(0x1b5)])&&(await _0x3ebfd8[_0x45ad83(0x1a5)](_0x45207b),logger[_0x45ad83(0x1b9)](_0x45ad83(0x1cd)+_0x45207b+'ms')),!![];}catch(_0x4fb1fa){return logger[_0x45ad83(0x16f)](_0x45ad83(0x146)+_0x4fb1fa[_0x45ad83(0x194)]),![];}},exports[a95_0x5316c0(0x1c3)]=async(_0x153ba2,_0x4c8c0c=null)=>{const _0x261cd4=a95_0x5316c0,_0x42a7a2={};_0x42a7a2['DvPqY']=_0x261cd4(0x153),_0x42a7a2['pecJl']=function(_0x1c9e08,_0x27065b){return _0x1c9e08===_0x27065b;},_0x42a7a2['vzGer']=_0x261cd4(0x1d6),_0x42a7a2['vuNVz']=function(_0x1dc371,_0x2dc4fc){return _0x1dc371===_0x2dc4fc;},_0x42a7a2[_0x261cd4(0x20a)]=function(_0x3041cf,_0x433e57){return _0x3041cf===_0x433e57;},_0x42a7a2[_0x261cd4(0x1ed)]=function(_0x56c367,_0x16886d){return _0x56c367===_0x16886d;},_0x42a7a2[_0x261cd4(0x187)]=_0x261cd4(0x19b),_0x42a7a2[_0x261cd4(0x1f1)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0x24c1e0=_0x42a7a2;if(!exports[_0x261cd4(0x145)](_0x153ba2))return logger[_0x261cd4(0x16f)](_0x24c1e0['DvPqY']),![];const _0x388656=_0x4c8c0c||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x153ba2&&_0x24c1e0['pecJl'](typeof _0x153ba2[_0x261cd4(0x195)],_0x24c1e0[_0x261cd4(0x209)])){const _0x53d485=_0x153ba2[_0x261cd4(0x195)]();if(_0x53d485&&_0x24c1e0[_0x261cd4(0x139)](typeof _0x53d485['timeouts'],_0x24c1e0[_0x261cd4(0x209)]))await _0x53d485[_0x261cd4(0x1e6)]()['setScriptTimeout'](_0x388656),logger[_0x261cd4(0x1b9)](_0x261cd4(0x1f6)+_0x388656+_0x261cd4(0x190));else{if(_0x53d485&&_0x24c1e0[_0x261cd4(0x20a)](typeof _0x53d485['setTimeouts'],_0x24c1e0[_0x261cd4(0x209)])){const _0x559071={};_0x559071[_0x261cd4(0x1e4)]=_0x388656,await _0x53d485[_0x261cd4(0x1ef)](_0x559071),logger[_0x261cd4(0x1b9)](_0x261cd4(0x1f6)+_0x388656+_0x261cd4(0x1ae));}else{if(_0x53d485&&_0x24c1e0[_0x261cd4(0x1ed)](typeof _0x53d485[_0x261cd4(0x15f)],_0x24c1e0['vzGer']))await _0x53d485[_0x261cd4(0x15f)](_0x388656),logger[_0x261cd4(0x1b9)](_0x261cd4(0x1f6)+_0x388656+_0x261cd4(0x1d9));else return logger[_0x261cd4(0x1b9)](_0x24c1e0[_0x261cd4(0x187)]),!![];}}}else return logger[_0x261cd4(0x1b9)](_0x24c1e0['rGEcZ']),!![];return!![];}catch(_0xec03f7){return logger['warn'](_0x261cd4(0x17d)+_0xec03f7[_0x261cd4(0x194)]),![];}},exports[a95_0x5316c0(0x178)]=async(_0x5e5682,_0x34d5d8)=>{const _0xf537b4=a95_0x5316c0,_0x37eded={'LhlxU':function(_0x5e97eb,_0x59e898){return _0x5e97eb(_0x59e898);},'wxgcQ':_0xf537b4(0x16a),'IoFbT':_0xf537b4(0x1c5),'TdcKw':function(_0x109d05,_0x5a5ff9){return _0x109d05<=_0x5a5ff9;},'debin':function(_0x4ceea7,_0x32801f){return _0x4ceea7+_0x32801f;},'nhtHd':function(_0x1f63fc,_0xe329ce){return _0x1f63fc+_0xe329ce;},'LwFjX':function(_0x3fd172,_0x4a8a3f){return _0x3fd172&&_0x4a8a3f;},'DKpzd':function(_0x3b6746,_0x3582ad,_0x539ca5){return _0x3b6746(_0x3582ad,_0x539ca5);},'SMhKz':function(_0x1ad53a,_0x10c2d4,_0x31dc1c){return _0x1ad53a(_0x10c2d4,_0x31dc1c);},'TjTji':_0xf537b4(0x148)},{isPlaywright:_0x4f32e7,type:_0x127296}=_0x37eded[_0xf537b4(0x172)](detectDriverType,_0x5e5682),_0x318137=_0x4f32e7?global[_0xf537b4(0x1d1)]:accessibilityHelper[_0xf537b4(0x19e)]()&&globals[_0xf537b4(0x206)](_0x37eded['wxgcQ'])&&globals['getGlobal'](_0x37eded[_0xf537b4(0x17c)]);if(!_0x318137)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x127296+_0xf537b4(0x151)),![];let _0x1758be=null;for(let _0x2dc8a1=0x1;_0x37eded[_0xf537b4(0x1df)](_0x2dc8a1,_0x37eded[_0xf537b4(0x166)](RETRY_CONFIG[_0xf537b4(0x20f)],0x1));_0x2dc8a1++){try{return logger['debug'](_0xf537b4(0x14e)+_0x2dc8a1+'/'+_0x37eded[_0xf537b4(0x1af)](RETRY_CONFIG[_0xf537b4(0x20f)],0x1)+'\x20('+_0x127296+')'),_0x37eded[_0xf537b4(0x1d0)](_0x4f32e7,playwrightA11yHelper)?(_0x37eded['DKpzd'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0xf537b4(0x1fb)](_0x5e5682,RETRY_CONFIG[_0xf537b4(0x201)]),await _0x37eded[_0xf537b4(0x207)](withTimeout,playwrightA11yHelper[_0xf537b4(0x169)](_0x5e5682,scripts[_0xf537b4(0x18c)],_0x34d5d8),RETRY_CONFIG[_0xf537b4(0x201)]),await exports['setPlaywrightScriptTimeout'](_0x5e5682,RETRY_CONFIG[_0xf537b4(0x142)])):(await exports[_0xf537b4(0x1c3)](_0x5e5682,RETRY_CONFIG[_0xf537b4(0x201)]),await _0x37eded[_0xf537b4(0x1ea)](withTimeout,_0x5e5682['executeAsyncScript'](scripts[_0xf537b4(0x18c)],_0x34d5d8),RETRY_CONFIG[_0xf537b4(0x201)]),await exports[_0xf537b4(0x1c3)](_0x5e5682,RETRY_CONFIG[_0xf537b4(0x142)])),logger[_0xf537b4(0x144)](_0xf537b4(0x1b3)+_0x2dc8a1+'\x20('+_0x127296+')'),!![];}catch(_0x2f91f9){_0x1758be=_0x2f91f9,logger['warn'](_0xf537b4(0x14e)+_0x2dc8a1+_0xf537b4(0x150)+_0x127296+_0xf537b4(0x1bd)+_0x2f91f9[_0xf537b4(0x194)]);}}return logger[_0xf537b4(0x143)](_0xf537b4(0x15a)+_0x127296+_0xf537b4(0x1a8)+(_0x1758be?.[_0xf537b4(0x194)]||_0x37eded[_0xf537b4(0x19a)])),![];};
1
+ function a95_0x45be(_0x5c1863,_0x1deec3){const _0x24dacb=a95_0x24da();return a95_0x45be=function(_0x45beb2,_0x40e84e){_0x45beb2=_0x45beb2-0x123;let _0x57ce5b=_0x24dacb[_0x45beb2];return _0x57ce5b;},a95_0x45be(_0x5c1863,_0x1deec3);}const a95_0x1729f6=a95_0x45be;(function(_0x5657fe,_0x5bf711){const _0x25a494=a95_0x45be,_0x527c62=_0x5657fe();while(!![]){try{const _0x42fba6=parseInt(_0x25a494(0x1a6))/0x1+parseInt(_0x25a494(0x13f))/0x2*(parseInt(_0x25a494(0x186))/0x3)+-parseInt(_0x25a494(0x152))/0x4*(-parseInt(_0x25a494(0x141))/0x5)+-parseInt(_0x25a494(0x142))/0x6*(parseInt(_0x25a494(0x128))/0x7)+-parseInt(_0x25a494(0x177))/0x8+-parseInt(_0x25a494(0x15a))/0x9+parseInt(_0x25a494(0x1cf))/0xa;if(_0x42fba6===_0x5bf711)break;else _0x527c62['push'](_0x527c62['shift']());}catch(_0x2d6b17){_0x527c62['push'](_0x527c62['shift']());}}}(a95_0x24da,0xd926a));const util=require(a95_0x1729f6(0x1d6)),logger=require(a95_0x1729f6(0x170))[a95_0x1729f6(0x156)],accessibilityHelper=require(a95_0x1729f6(0x164)),globals=require(a95_0x1729f6(0x1b5)),scripts=require(a95_0x1729f6(0x1d2)),PerformanceTester=require(a95_0x1729f6(0x182)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a95_0x5d6715){logger[a95_0x1729f6(0x1da)]('Playwright\x20accessibility\x20helper\x20not\x20available');}const a95_0x1feb08={};a95_0x1feb08[a95_0x1729f6(0x167)]=0x1,a95_0x1feb08[a95_0x1729f6(0x15d)]=0x7530,a95_0x1feb08[a95_0x1729f6(0x151)]=0x7530;function a95_0x24da(){const _0x5d787c=['scanSucceeded','LKxAJ','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20',').\x20Error:\x20','\x20failed\x20(','max','iWTyT','isPlaywrightPage','setPlaywrightScriptTimeout','zGwOd','executeAsyncScript','PAfwM','defaultTimeoutMs','8syjlIK','qOBOL','ms\x20using\x20setTimeouts\x20API','Comprehensive\x20accessibility\x20scan\x20failed\x20(','winstonLogger','dktCN','xPvqK','FJMIg','9557154qeGvZU','isRunning','UgUNG','timeoutMs','KVKTK','playwright-page','aufuC','fulfilled','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','ukOgv','./helper','mVzAz','WebDriver','maxRetries','setScriptTimeout','reason','setTimeouts','name','GxAqH','GwTCY','browserStackEvaluate','Page','../logger','ms\x20using\x20setScriptTimeout\x20API','uYanv','Unknown\x20error','type','ukBOt','BTESQ','4366400IXOxTv','saveAccessibilityResultsWithRetry','Accessibility\x20scan\x20attempt\x20','\x20completed\x20successfully.','goto','hEOXw','\x20-\x20not\x20applicable','hVDlZ','mKNdn','url','driverType','../performance/performance-tester','timeouts','rejected','wfaxq','21vFrBFp','PfhYl','ljZwl','info',')\x20with\x20error:\x20','Scan\x20attempt\x20','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','):\x20','Skipping\x20timeout\x20setting\x20for\x20','performComprehensiveAccessibilityScanWithRetry','Accessibility\x20results\x20save\x20attempt\x20','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','scannerProcessingTimeout','MwPpx','isAccessibilityAutomationSession','updateRetryConfig','BtNNg','yUqBJ','evaluate','value','KRKCr','saveTestResults','bstackA11yShouldScan','JXTRD','kQGgw','zdptT','Unknown\x20driver/page\x20type:\x20','performScanWithRetry','gZxZC','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Accessibility\x20results\x20retrieval\x20attempt\x20','NTxFG','1353707SOzpMl',').\x20Last\x20error:\x20','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','summary','DzUDp','isSeleniumDriver','NxIyE','gMfTu','RYAGc','constructor','sEvNJ','dRkai','YXobS',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','../globals','ihYod','stringify','unknown_method','\x20for\x20method:\x20','status','selenium-webdriver','__workerDetails','UkQqb','uamzC','getAccessibilityResultsSummaryWithRetry','getAccessibilityResultsWithRetry','AogZp',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','getSession','getGlobal','qWiKg','getCurrentUrl','getInstance','fEyCh','puMlj','ZfoWS','Ljmzk','results','vxPgD','22811950VYrlTq','manage','race','./scripts','WVjkR','capabilitiesList','isAccessibilityPlatform','util','PERFORM_SCAN','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','message','debug','error','accessibilityPlatform','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','setDefaultTimeout','env','pUtHF','getAccessibilityResults','ZmKCY','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','SXCpj','accessibilityConfig','ybrZe','pKVMw','VFYBc','warn','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','138901hAqIWu','CDKbi','script','ODJBG','options','function','wAjRW','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','OWLbi','setSeleniumScriptTimeout','GLwCo','isPlaywright','playwright-codecept-driver','getAccessibilityResultsSummary','amUpH','YVVNW','OUNKj','bKzPM','currentTest','getCapabilities','XRRUn','fuBZb','getAccessibilityModule','53654dASdkF','performScan','803585pwhJDU','498GJFPNC','MnxnJ','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20('];a95_0x24da=function(){return _0x5d787c;};return a95_0x24da();}const RETRY_CONFIG=a95_0x1feb08,setConfigTimeout=(_0x581f39,_0x1d46e9=null)=>{const _0x4c001e=a95_0x1729f6,_0x160c19={'ZNsue':function(_0x3970b7,_0x544ea6){return _0x3970b7===_0x544ea6;},'xPvqK':_0x4c001e(0x192),'ZmKCY':function(_0x334555,_0x3eaa21){return _0x334555===_0x3eaa21;},'OUNKj':function(_0x1a6327,_0x8bb184){return _0x1a6327*_0x8bb184;},'kQGgw':function(_0x1d1302,_0x4395f3){return _0x1d1302(_0x4395f3);},'aufuC':function(_0x3e9455,_0x51f14f){return _0x3e9455*_0x51f14f;}};if(BrowserstackCLI[_0x4c001e(0x1c8)]()[_0x4c001e(0x15b)]()&&BrowserstackCLI[_0x4c001e(0x1c8)]()[_0x4c001e(0x13e)]()){const _0x3bc1c3=BrowserstackCLI['getInstance']()['getAccessibilityModule']()[_0x4c001e(0x1e5)],_0x2d902f=_0x3bc1c3[_0x4c001e(0x12c)][_0x4c001e(0x1d4)]||[];for(const _0x357acd of _0x2d902f){_0x160c19['ZNsue'](_0x357acd[_0x4c001e(0x16b)],_0x160c19[_0x4c001e(0x158)])&&_0x160c19[_0x4c001e(0x1e2)](_0x1d46e9,null)&&(_0x581f39[_0x4c001e(0x15d)]=_0x160c19[_0x4c001e(0x138)](_0x160c19['kQGgw'](parseInt,_0x357acd[_0x4c001e(0x199)]),0x3e8));}}else process[_0x4c001e(0x1df)][_0x4c001e(0x162)]&&(_0x581f39[_0x4c001e(0x15d)]=_0x160c19[_0x4c001e(0x160)](_0x160c19[_0x4c001e(0x19e)](parseInt,process[_0x4c001e(0x1df)][_0x4c001e(0x162)]),0x3e8));},detectDriverType=_0x3730fc=>{const _0x39c643=a95_0x1729f6,_0xfadaf5={};_0xfadaf5[_0x39c643(0x1e4)]='unknown',_0xfadaf5['YVVNW']=function(_0x3c0164,_0xd280b4){return _0x3c0164===_0xd280b4;},_0xfadaf5[_0x39c643(0x187)]=_0x39c643(0x12d),_0xfadaf5[_0x39c643(0x125)]=function(_0x1ff9cc,_0x54964a){return _0x1ff9cc===_0x54964a;},_0xfadaf5[_0x39c643(0x1b3)]=_0x39c643(0x15f),_0xfadaf5[_0x39c643(0x1cb)]=function(_0x31cae3,_0x3afd5e){return _0x31cae3===_0x3afd5e;},_0xfadaf5[_0x39c643(0x143)]=_0x39c643(0x1bb),_0xfadaf5[_0x39c643(0x153)]=_0x39c643(0x16f),_0xfadaf5['CDKbi']=_0x39c643(0x166),_0xfadaf5[_0x39c643(0x130)]=function(_0xcbdff3,_0x41e0a8){return _0xcbdff3===_0x41e0a8;},_0xfadaf5[_0x39c643(0x17e)]='Playwright',_0xfadaf5[_0x39c643(0x1b1)]=_0x39c643(0x134),_0xfadaf5['pKVMw']=function(_0x5479e6,_0x44f878){return _0x5479e6||_0x44f878;},_0xfadaf5[_0x39c643(0x1ae)]='undefined';const _0x10d30f=_0xfadaf5;if(!_0x3730fc){const _0x34091a={};return _0x34091a[_0x39c643(0x133)]=![],_0x34091a[_0x39c643(0x174)]=_0x10d30f[_0x39c643(0x1e4)],_0x34091a;}if(_0x10d30f['YVVNW'](typeof _0x3730fc[_0x39c643(0x198)],_0x10d30f[_0x39c643(0x187)])&&_0x10d30f[_0x39c643(0x137)](typeof _0x3730fc[_0x39c643(0x180)],_0x10d30f[_0x39c643(0x187)])&&_0x10d30f['VFYBc'](typeof _0x3730fc[_0x39c643(0x17b)],_0x10d30f[_0x39c643(0x187)])){const _0x495892={};return _0x495892[_0x39c643(0x133)]=!![],_0x495892['type']=_0x10d30f[_0x39c643(0x1b3)],_0x495892;}if(_0x10d30f[_0x39c643(0x125)](typeof _0x3730fc[_0x39c643(0x14f)],_0x10d30f[_0x39c643(0x187)])&&_0x10d30f['ZfoWS'](typeof _0x3730fc[_0x39c643(0x13b)],_0x10d30f[_0x39c643(0x187)])){const _0xed78d={};return _0xed78d[_0x39c643(0x133)]=![],_0xed78d['type']=_0x10d30f['MnxnJ'],_0xed78d;}const _0x389f51=_0x3730fc[_0x39c643(0x1b0)]?.[_0x39c643(0x16b)];if(_0x10d30f[_0x39c643(0x125)](_0x389f51,_0x10d30f['qOBOL'])){const _0x1ac36f={};return _0x1ac36f[_0x39c643(0x133)]=!![],_0x1ac36f[_0x39c643(0x174)]=_0x10d30f['YXobS'],_0x1ac36f;}if(_0x10d30f[_0x39c643(0x137)](_0x389f51,_0x10d30f[_0x39c643(0x129)])){const _0x59d35a={};return _0x59d35a['isPlaywright']=![],_0x59d35a[_0x39c643(0x174)]=_0x10d30f[_0x39c643(0x143)],_0x59d35a;}if(_0x10d30f[_0x39c643(0x130)](_0x389f51,_0x10d30f[_0x39c643(0x17e)])){const _0x50ca74={};return _0x50ca74[_0x39c643(0x133)]=!![],_0x50ca74['type']=_0x10d30f[_0x39c643(0x1b1)],_0x50ca74;}logger[_0x39c643(0x126)](_0x39c643(0x1a0)+_0x10d30f[_0x39c643(0x124)](_0x389f51,_0x10d30f[_0x39c643(0x1ae)]));const _0x36e183={};return _0x36e183[_0x39c643(0x133)]=![],_0x36e183[_0x39c643(0x174)]=_0x10d30f['SXCpj'],_0x36e183;},withTimeout=(_0x2d464a,_0x56237d)=>{const _0x188e09=a95_0x1729f6;return Promise[_0x188e09(0x1d1)]([_0x2d464a,new Promise((_0x1ef5f3,_0x486934)=>setTimeout(()=>_0x486934(new Error('Operation\x20timed\x20out\x20after\x20'+_0x56237d+'ms')),_0x56237d))]);};exports['performScanWithRetry']=async(_0x339caf,_0x125b5a=null,_0x13439f=null,_0x34a4a4=![])=>{const _0x48d0c4=a95_0x1729f6,_0x490201={'uYanv':function(_0x4eb1e0,_0x33eaf6){return _0x4eb1e0&&_0x33eaf6;},'Ljmzk':function(_0x2f8d7b,_0x54a7e1,_0x384ab6){return _0x2f8d7b(_0x54a7e1,_0x384ab6);},'mVzAz':function(_0x2962b2,_0x27879c){return _0x2962b2===_0x27879c;},'iWTyT':_0x48d0c4(0x134),'WVjkR':function(_0x5d69b3,_0x41e456,_0x2f7555){return _0x5d69b3(_0x41e456,_0x2f7555);},'ukOgv':function(_0x2240eb,_0x9ceb66){return _0x2240eb(_0x9ceb66);},'yUqBJ':_0x48d0c4(0x1d5),'RYAGc':function(_0x195038,_0x1a1f08){return _0x195038!==_0x1a1f08;},'NTxFG':_0x48d0c4(0x19c),'XRRUn':function(_0x4d29d4,_0x4f156c){return _0x4d29d4===_0x4f156c;},'zdptT':'[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','BTESQ':_0x48d0c4(0x1b8),'MwPpx':_0x48d0c4(0x12d),'jNLxu':function(_0x1a0a69,_0x4aff03){return _0x1a0a69<=_0x4aff03;},'puMlj':function(_0x29605b,_0x55efc3){return _0x29605b+_0x55efc3;},'ihYod':_0x48d0c4(0x173)},{isPlaywright:_0x4a4d59,type:_0x35ee67}=_0x490201[_0x48d0c4(0x163)](detectDriverType,_0x339caf),_0x28928c=_0x4a4d59?global[_0x48d0c4(0x1dc)]&&(_0x34a4a4||_0x490201[_0x48d0c4(0x165)](global['bstackA11yShouldScan'],!![])):accessibilityHelper[_0x48d0c4(0x194)]()&&globals[_0x48d0c4(0x1c5)](_0x490201[_0x48d0c4(0x197)])&&(_0x34a4a4||_0x490201[_0x48d0c4(0x1af)](globals['getGlobal'](_0x490201[_0x48d0c4(0x1a5)]),![]));if(!_0x28928c)return _0x4a4d59&&global[_0x48d0c4(0x1dc)]&&_0x490201[_0x48d0c4(0x13c)](global[_0x48d0c4(0x19c)],![])?logger['debug'](_0x490201[_0x48d0c4(0x19f)]):logger['warn'](_0x48d0c4(0x191)+_0x35ee67+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x4a9b90=_0x125b5a||global['browserstackSessionName']||_0x490201[_0x48d0c4(0x176)];let _0x448543=null;const _0x3df51f={'testhub_btcer_uuid':global[_0x48d0c4(0x1bc)]?.[_0x48d0c4(0x13a)]?.['id'],'url':_0x490201[_0x48d0c4(0x13c)](typeof _0x339caf[_0x48d0c4(0x180)],_0x490201['MwPpx'])?await _0x339caf['url']():_0x490201['mVzAz'](typeof _0x339caf['getCurrentUrl'],_0x490201[_0x48d0c4(0x193)])?await _0x339caf[_0x48d0c4(0x1c7)]():'','automate_session_id':_0x490201[_0x48d0c4(0x13c)](typeof _0x339caf[_0x48d0c4(0x1c4)],_0x490201[_0x48d0c4(0x193)])?(await _0x339caf[_0x48d0c4(0x1c4)]())['getId']():''};for(let _0x2e4f87=0x1;_0x490201['jNLxu'](_0x2e4f87,_0x490201['puMlj'](RETRY_CONFIG[_0x48d0c4(0x167)],0x1));_0x2e4f87++){try{return logger[_0x48d0c4(0x1da)](_0x48d0c4(0x179)+_0x2e4f87+'/'+_0x490201[_0x48d0c4(0x1ca)](RETRY_CONFIG[_0x48d0c4(0x167)],0x1)+_0x48d0c4(0x1b9)+_0x4a9b90+'\x20('+_0x35ee67+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x48d0c4(0x1d7)],async()=>{const _0x18f00a=_0x48d0c4;let _0x24ad41;if(_0x490201[_0x18f00a(0x172)](_0x4a4d59,playwrightA11yHelper)){_0x490201[_0x18f00a(0x1cc)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x18f00a(0x14d)](_0x339caf,RETRY_CONFIG[_0x18f00a(0x15d)]);let _0xc3847e=_0x339caf;_0x490201['mVzAz'](_0x35ee67,_0x490201[_0x18f00a(0x14b)])&&(_0xc3847e=_0x339caf['page']),_0x24ad41=await _0x490201[_0x18f00a(0x1d3)](withTimeout,playwrightA11yHelper[_0x18f00a(0x140)](_0xc3847e,_0x4a9b90),RETRY_CONFIG[_0x18f00a(0x15d)]),await exports[_0x18f00a(0x14d)](_0x339caf,RETRY_CONFIG['defaultTimeoutMs']);}else await exports['setSeleniumScriptTimeout'](_0x339caf,RETRY_CONFIG['timeoutMs']),_0x24ad41=await _0x490201[_0x18f00a(0x1cc)](withTimeout,accessibilityHelper['performScan'](_0x339caf,_0x4a9b90),RETRY_CONFIG[_0x18f00a(0x15d)]),await exports[_0x18f00a(0x131)](_0x339caf,RETRY_CONFIG['defaultTimeoutMs']);logger[_0x18f00a(0x1da)](_0x18f00a(0x18b)+_0x2e4f87+_0x18f00a(0x17a));},{'command':_0x4a9b90,..._0x3df51f})(),logger[_0x48d0c4(0x189)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x2e4f87+'.'),!![];}catch(_0x3d960f){_0x448543=_0x3d960f,logger[_0x48d0c4(0x1da)](_0x48d0c4(0x179)+_0x2e4f87+'\x20failed\x20for\x20method:\x20'+_0x4a9b90+'\x20('+_0x35ee67+_0x48d0c4(0x148)+_0x3d960f[_0x48d0c4(0x1d9)]);}}return logger[_0x48d0c4(0x1db)]('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x4a9b90+'\x20('+_0x35ee67+_0x48d0c4(0x18a)+(_0x448543?.[_0x48d0c4(0x1d9)]||_0x490201[_0x48d0c4(0x1b6)])),![];},exports[a95_0x1729f6(0x1c0)]=async(_0x59ad62,_0x95cd91)=>{const _0x36f965=a95_0x1729f6,_0x4efe5b={'KVKTK':function(_0x404980,_0x1e3c43){return _0x404980(_0x1e3c43);},'BtNNg':_0x36f965(0x1d5),'ybrZe':_0x36f965(0x19c),'FJMIg':function(_0x23ae20,_0x562c3e){return _0x23ae20<=_0x562c3e;},'UgUNG':function(_0x49cf03,_0x599648){return _0x49cf03+_0x599648;},'wfaxq':function(_0x4305bb,_0x59eaaf){return _0x4305bb&&_0x59eaaf;},'ODJBG':function(_0x2a5473,_0x5729fa,_0x28cad5){return _0x2a5473(_0x5729fa,_0x28cad5);},'GwTCY':function(_0x417660,_0x2be13a,_0x17fcc8){return _0x417660(_0x2be13a,_0x17fcc8);},'wXRmV':_0x36f965(0x173)},{isPlaywright:_0x23c3fd,type:_0x4a8dbb}=_0x4efe5b[_0x36f965(0x15e)](detectDriverType,_0x59ad62),_0x58e84e=_0x23c3fd?_0x95cd91[_0x36f965(0x1dc)]:accessibilityHelper[_0x36f965(0x194)]()&&globals[_0x36f965(0x1c5)](_0x4efe5b[_0x36f965(0x196)])&&globals[_0x36f965(0x1c5)](_0x4efe5b[_0x36f965(0x123)]);if(!_0x58e84e)return logger[_0x36f965(0x126)](_0x36f965(0x191)+_0x4a8dbb+_0x36f965(0x1c2)),[];let _0x87c495=null;for(let _0x4ba216=0x1;_0x4efe5b[_0x36f965(0x159)](_0x4ba216,_0x4efe5b[_0x36f965(0x15c)](RETRY_CONFIG['maxRetries'],0x1));_0x4ba216++){try{logger[_0x36f965(0x1da)](_0x36f965(0x1a4)+_0x4ba216+'/'+_0x4efe5b[_0x36f965(0x15c)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x4a8dbb+')');let _0x29a336;return _0x4efe5b[_0x36f965(0x185)](_0x23c3fd,playwrightA11yHelper)?(_0x4efe5b[_0x36f965(0x12b)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x36f965(0x14d)](_0x59ad62,RETRY_CONFIG[_0x36f965(0x15d)]),_0x29a336=await _0x4efe5b['GwTCY'](withTimeout,playwrightA11yHelper[_0x36f965(0x1e1)](_0x59ad62),RETRY_CONFIG[_0x36f965(0x15d)]),await exports[_0x36f965(0x14d)](_0x59ad62,RETRY_CONFIG[_0x36f965(0x151)])):(await exports[_0x36f965(0x131)](_0x59ad62,RETRY_CONFIG[_0x36f965(0x15d)]),_0x29a336=await _0x4efe5b[_0x36f965(0x16d)](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x59ad62,_0x95cd91),RETRY_CONFIG['timeoutMs']),await exports[_0x36f965(0x131)](_0x59ad62,RETRY_CONFIG[_0x36f965(0x151)])),logger[_0x36f965(0x189)](_0x36f965(0x147)+_0x4ba216+'\x20('+_0x4a8dbb+')'),_0x29a336;}catch(_0x767a2){_0x87c495=_0x767a2,logger[_0x36f965(0x126)](_0x36f965(0x1a4)+_0x4ba216+_0x36f965(0x149)+_0x4a8dbb+_0x36f965(0x148)+_0x767a2[_0x36f965(0x1d9)]);}}return logger[_0x36f965(0x1db)](_0x36f965(0x1c3)+_0x4a8dbb+_0x36f965(0x1a7)+(_0x87c495?.[_0x36f965(0x1d9)]||_0x4efe5b['wXRmV'])),[];},exports[a95_0x1729f6(0x1bf)]=async(_0x51252d,_0x705d9)=>{const _0x75fdb6=a95_0x1729f6,_0x1d4b09={'KRKCr':function(_0x4f1035,_0x1e866d){return _0x4f1035(_0x1e866d);},'nljzg':'isAccessibilityPlatform','zGwOd':'bstackA11yShouldScan','oxhNW':function(_0x1a67cc,_0x3688e3){return _0x1a67cc<=_0x3688e3;},'dktCN':function(_0x28953f,_0x2fb1b7){return _0x28953f+_0x2fb1b7;},'PAfwM':function(_0x2944d1,_0x104d9c){return _0x2944d1&&_0x104d9c;},'DzUDp':function(_0xb1865a,_0x24cd81,_0x4efd2d){return _0xb1865a(_0x24cd81,_0x4efd2d);},'dRkai':'Unknown\x20error'},{isPlaywright:_0x28e9e5,type:_0x1a3841}=_0x1d4b09[_0x75fdb6(0x19a)](detectDriverType,_0x51252d),_0x483478=_0x28e9e5?_0x705d9[_0x75fdb6(0x1dc)]:accessibilityHelper[_0x75fdb6(0x194)]()&&globals[_0x75fdb6(0x1c5)](_0x1d4b09['nljzg'])&&globals['getGlobal'](_0x1d4b09[_0x75fdb6(0x14e)]);if(!_0x483478)return logger[_0x75fdb6(0x126)](_0x75fdb6(0x191)+_0x1a3841+_0x75fdb6(0x1b4)),{};let _0x2f0ac3=null;for(let _0x376ed2=0x1;_0x1d4b09['oxhNW'](_0x376ed2,_0x1d4b09[_0x75fdb6(0x157)](RETRY_CONFIG[_0x75fdb6(0x167)],0x1));_0x376ed2++){try{logger[_0x75fdb6(0x1da)](_0x75fdb6(0x1a3)+_0x376ed2+'/'+_0x1d4b09[_0x75fdb6(0x157)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x1a3841+')');let _0x84d15f;return _0x1d4b09[_0x75fdb6(0x150)](_0x28e9e5,playwrightA11yHelper)?(_0x1d4b09[_0x75fdb6(0x1ab)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x75fdb6(0x14d)](_0x51252d,RETRY_CONFIG[_0x75fdb6(0x15d)]),_0x84d15f=await _0x1d4b09['DzUDp'](withTimeout,playwrightA11yHelper[_0x75fdb6(0x135)](_0x51252d),RETRY_CONFIG[_0x75fdb6(0x15d)]),await exports[_0x75fdb6(0x14d)](_0x51252d,RETRY_CONFIG[_0x75fdb6(0x151)])):(await exports['setSeleniumScriptTimeout'](_0x51252d,RETRY_CONFIG[_0x75fdb6(0x15d)]),_0x84d15f=await _0x1d4b09[_0x75fdb6(0x1ab)](withTimeout,accessibilityHelper[_0x75fdb6(0x135)](_0x51252d,_0x705d9),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x51252d,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x75fdb6(0x189)](_0x75fdb6(0x1e3)+_0x376ed2+'\x20('+_0x1a3841+')'),_0x84d15f;}catch(_0x7fe22d){_0x2f0ac3=_0x7fe22d,logger['warn'](_0x75fdb6(0x1a3)+_0x376ed2+_0x75fdb6(0x149)+_0x1a3841+_0x75fdb6(0x148)+_0x7fe22d[_0x75fdb6(0x1d9)]);}}return logger[_0x75fdb6(0x1db)](_0x75fdb6(0x1a9)+_0x1a3841+_0x75fdb6(0x1a7)+(_0x2f0ac3?.[_0x75fdb6(0x1d9)]||_0x1d4b09[_0x75fdb6(0x1b2)])),{};},exports[a95_0x1729f6(0x18f)]=async(_0x4c414b,_0x57ac6b,_0x3e3a9b=null)=>{const _0x5e5a87=a95_0x1729f6,_0x5eef11={'hEOXw':function(_0x1b5452,_0x3f121c){return _0x1b5452(_0x3f121c);},'ElRPI':function(_0x39f5c2,_0x36fb51){return _0x39f5c2===_0x36fb51;},'uamzC':_0x5e5a87(0x161),'VnITS':function(_0x43c103,_0x55b062){return _0x43c103===_0x55b062;},'vxPgD':function(_0x484014,_0xfe1e9e){return _0x484014===_0xfe1e9e;},'fEyCh':_0x5e5a87(0x184),'GLwCo':_0x5e5a87(0x1dd)},{isPlaywright:_0x58a4ec,type:_0x39e15e}=_0x5eef11[_0x5e5a87(0x17c)](detectDriverType,_0x4c414b),_0x25e797={};_0x25e797[_0x5e5a87(0x145)]=![],_0x25e797[_0x5e5a87(0x1cd)]=[],_0x25e797[_0x5e5a87(0x1aa)]={},_0x25e797[_0x5e5a87(0x1db)]=null,_0x25e797[_0x5e5a87(0x181)]=_0x39e15e;const _0x5f4ad1=_0x25e797;try{_0x5f4ad1[_0x5e5a87(0x145)]=await exports[_0x5e5a87(0x1a1)](_0x4c414b,_0x3e3a9b);if(_0x5f4ad1[_0x5e5a87(0x145)]){const [_0x126db3,_0x142426]=await Promise['allSettled']([exports['getAccessibilityResultsWithRetry'](_0x4c414b,_0x57ac6b),exports[_0x5e5a87(0x1bf)](_0x4c414b,_0x57ac6b)]);_0x5f4ad1[_0x5e5a87(0x1cd)]=_0x5eef11['ElRPI'](_0x126db3[_0x5e5a87(0x1ba)],_0x5eef11[_0x5e5a87(0x1be)])?_0x126db3[_0x5e5a87(0x199)]:[],_0x5f4ad1[_0x5e5a87(0x1aa)]=_0x5eef11['VnITS'](_0x142426[_0x5e5a87(0x1ba)],_0x5eef11['uamzC'])?_0x142426[_0x5e5a87(0x199)]:{},_0x5eef11['vxPgD'](_0x126db3[_0x5e5a87(0x1ba)],_0x5eef11[_0x5e5a87(0x1c9)])&&logger[_0x5e5a87(0x126)](_0x5e5a87(0x127)+_0x39e15e+_0x5e5a87(0x18d)+_0x126db3[_0x5e5a87(0x169)]?.[_0x5e5a87(0x1d9)]),_0x5eef11[_0x5e5a87(0x1ce)](_0x142426[_0x5e5a87(0x1ba)],_0x5eef11[_0x5e5a87(0x1c9)])&&logger['warn'](_0x5e5a87(0x144)+_0x39e15e+_0x5e5a87(0x18d)+_0x142426[_0x5e5a87(0x169)]?.[_0x5e5a87(0x1d9)]);}}catch(_0x3ed43e){_0x5f4ad1['error']=_0x3ed43e[_0x5e5a87(0x1d9)]||_0x5eef11[_0x5e5a87(0x132)],logger[_0x5e5a87(0x1db)](_0x5e5a87(0x155)+_0x39e15e+_0x5e5a87(0x18d)+_0x5f4ad1[_0x5e5a87(0x1db)]);}return _0x5f4ad1;},exports[a95_0x1729f6(0x195)]=_0xd4b807=>{const _0x1e05e0=a95_0x1729f6,_0xd40fd0={};_0xd40fd0[_0x1e05e0(0x1bd)]=function(_0x259f5d,_0x1575d7){return _0x259f5d!==_0x1575d7;},_0xd40fd0[_0x1e05e0(0x13d)]=function(_0x46db69,_0x2b7942){return _0x46db69!==_0x2b7942;};const _0x45ce41=_0xd40fd0;_0x45ce41[_0x1e05e0(0x1bd)](_0xd4b807['maxRetries'],undefined)&&(RETRY_CONFIG[_0x1e05e0(0x167)]=Math[_0x1e05e0(0x14a)](0x0,_0xd4b807[_0x1e05e0(0x167)])),_0x45ce41[_0x1e05e0(0x13d)](_0xd4b807[_0x1e05e0(0x15d)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x1e05e0(0x14a)](0x3e8,_0xd4b807['timeoutMs'])),logger[_0x1e05e0(0x1da)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x1e05e0(0x1b7)](RETRY_CONFIG));},exports['getRetryConfig']=()=>{const _0xab4a6={...RETRY_CONFIG};return _0xab4a6;},exports[a95_0x1729f6(0x14c)]=_0x4d3eda=>{const _0x336b24=a95_0x1729f6,_0x3be77f={'JXTRD':function(_0x586aca,_0xa7e23b){return _0x586aca(_0xa7e23b);}};return _0x3be77f[_0x336b24(0x19d)](detectDriverType,_0x4d3eda)[_0x336b24(0x133)];},exports[a95_0x1729f6(0x1ac)]=_0x5520ad=>{const _0x5de866=a95_0x1729f6,_0x6d873f={'GxAqH':function(_0x3b5fcf,_0x325244){return _0x3b5fcf(_0x325244);},'qIDlh':function(_0x5aaf4a,_0x78b2ff){return _0x5aaf4a===_0x78b2ff;},'bKzPM':_0x5de866(0x1bb)},{isPlaywright:_0x18089e,type:_0x34b5b0}=_0x6d873f[_0x5de866(0x16c)](detectDriverType,_0x5520ad);return!_0x18089e&&_0x6d873f['qIDlh'](_0x34b5b0,_0x6d873f[_0x5de866(0x139)]);},exports[a95_0x1729f6(0x14d)]=async(_0x5237fb,_0x1ba2d3=null)=>{const _0x572eef=a95_0x1729f6,_0xb82b3a={'gZxZC':function(_0x469cd6,_0x38dd02){return _0x469cd6(_0x38dd02);},'AYtWe':function(_0x88b498,_0x1e1af6){return _0x88b498===_0x1e1af6;},'pUtHF':_0x572eef(0x12d)},{isPlaywright:_0x4eec0a,type:_0x255624}=_0xb82b3a[_0x572eef(0x1a2)](detectDriverType,_0x5237fb);if(!_0x4eec0a)return logger['debug'](_0x572eef(0x18e)+_0x255624+_0x572eef(0x17d)),!![];const _0x4ba9ee=_0x1ba2d3||RETRY_CONFIG[_0x572eef(0x151)];try{return _0x5237fb&&_0xb82b3a['AYtWe'](typeof _0x5237fb['setDefaultTimeout'],_0xb82b3a[_0x572eef(0x1e0)])&&(await _0x5237fb[_0x572eef(0x1de)](_0x4ba9ee),logger[_0x572eef(0x1da)](_0x572eef(0x1a8)+_0x4ba9ee+'ms')),!![];}catch(_0x1d906f){return logger['warn']('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x1d906f['message']),![];}},exports[a95_0x1729f6(0x131)]=async(_0x1d7bcb,_0x547627=null)=>{const _0x719e38=a95_0x1729f6,_0x49fa56={};_0x49fa56[_0x719e38(0x1c6)]='Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver',_0x49fa56['mKNdn']=function(_0x56124a,_0x3217fb){return _0x56124a===_0x3217fb;},_0x49fa56[_0x719e38(0x1ad)]='function',_0x49fa56[_0x719e38(0x12e)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x49fa56['LKxAJ']=_0x719e38(0x18c);const _0x570627=_0x49fa56;if(!exports[_0x719e38(0x1ac)](_0x1d7bcb))return logger['warn'](_0x570627['qWiKg']),![];const _0x3e43b0=_0x547627||RETRY_CONFIG[_0x719e38(0x151)];try{if(_0x1d7bcb&&_0x570627[_0x719e38(0x17f)](typeof _0x1d7bcb[_0x719e38(0x1d0)],_0x570627[_0x719e38(0x1ad)])){const _0xcd967e=_0x1d7bcb[_0x719e38(0x1d0)]();if(_0xcd967e&&_0x570627[_0x719e38(0x17f)](typeof _0xcd967e[_0x719e38(0x183)],_0x570627[_0x719e38(0x1ad)]))await _0xcd967e[_0x719e38(0x183)]()[_0x719e38(0x168)](_0x3e43b0),logger[_0x719e38(0x1da)](_0x719e38(0x1d8)+_0x3e43b0+'ms\x20using\x20timeouts()\x20API');else{if(_0xcd967e&&_0x570627[_0x719e38(0x17f)](typeof _0xcd967e[_0x719e38(0x16a)],_0x570627[_0x719e38(0x1ad)])){const _0x4832bf={};_0x4832bf[_0x719e38(0x12a)]=_0x3e43b0,await _0xcd967e[_0x719e38(0x16a)](_0x4832bf),logger[_0x719e38(0x1da)](_0x719e38(0x1d8)+_0x3e43b0+_0x719e38(0x154));}else{if(_0xcd967e&&_0x570627[_0x719e38(0x17f)](typeof _0xcd967e['setScriptTimeout'],_0x570627['NxIyE']))await _0xcd967e['setScriptTimeout'](_0x3e43b0),logger[_0x719e38(0x1da)](_0x719e38(0x1d8)+_0x3e43b0+_0x719e38(0x171));else return logger['debug'](_0x570627[_0x719e38(0x12e)]),!![];}}}else return logger[_0x719e38(0x1da)](_0x570627[_0x719e38(0x146)]),!![];return!![];}catch(_0x19469f){return logger[_0x719e38(0x126)](_0x719e38(0x12f)+_0x19469f[_0x719e38(0x1d9)]),![];}},exports[a95_0x1729f6(0x178)]=async(_0x101c66,_0x2ed1e8)=>{const _0x24a7d9=a95_0x1729f6,_0x4e8d88={'AogZp':function(_0xf876a7,_0x5bebb7){return _0xf876a7(_0x5bebb7);},'AwrQA':'isAccessibilityPlatform','ahIUo':_0x24a7d9(0x19c),'fCyGJ':function(_0x4a1326,_0x1bf3d2){return _0x4a1326<=_0x1bf3d2;},'sfydU':function(_0x4b029b,_0xf1e5a9){return _0x4b029b+_0xf1e5a9;},'amUpH':function(_0x49f4b9,_0x55cd0c){return _0x49f4b9+_0x55cd0c;},'ljZwl':function(_0x218ca1,_0x51beba){return _0x218ca1&&_0x51beba;},'ukBOt':function(_0x5c9441,_0x857e97,_0x90537b){return _0x5c9441(_0x857e97,_0x90537b);},'qrowW':function(_0x587a08,_0x28ecf9,_0x4fad05){return _0x587a08(_0x28ecf9,_0x4fad05);},'cwmNS':_0x24a7d9(0x173)},{isPlaywright:_0x4e5681,type:_0x5e3f34}=_0x4e8d88[_0x24a7d9(0x1c1)](detectDriverType,_0x101c66),_0x59ef84=_0x4e5681?global[_0x24a7d9(0x1dc)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x24a7d9(0x1c5)](_0x4e8d88['AwrQA'])&&globals[_0x24a7d9(0x1c5)](_0x4e8d88['ahIUo']);if(!_0x59ef84)return logger[_0x24a7d9(0x126)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x5e3f34+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x495863=null;for(let _0x3b78b5=0x1;_0x4e8d88['fCyGJ'](_0x3b78b5,_0x4e8d88['sfydU'](RETRY_CONFIG[_0x24a7d9(0x167)],0x1));_0x3b78b5++){try{return logger[_0x24a7d9(0x1da)](_0x24a7d9(0x190)+_0x3b78b5+'/'+_0x4e8d88[_0x24a7d9(0x136)](RETRY_CONFIG[_0x24a7d9(0x167)],0x1)+'\x20('+_0x5e3f34+')'),_0x4e8d88[_0x24a7d9(0x188)](_0x4e5681,playwrightA11yHelper)?(_0x4e8d88[_0x24a7d9(0x175)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x24a7d9(0x14d)](_0x101c66,RETRY_CONFIG['timeoutMs']),await _0x4e8d88[_0x24a7d9(0x175)](withTimeout,playwrightA11yHelper[_0x24a7d9(0x16e)](_0x101c66,scripts[_0x24a7d9(0x19b)],_0x2ed1e8),RETRY_CONFIG[_0x24a7d9(0x15d)]),await exports[_0x24a7d9(0x14d)](_0x101c66,RETRY_CONFIG[_0x24a7d9(0x151)])):(await exports[_0x24a7d9(0x131)](_0x101c66,RETRY_CONFIG[_0x24a7d9(0x15d)]),await _0x4e8d88['qrowW'](withTimeout,_0x101c66[_0x24a7d9(0x14f)](scripts[_0x24a7d9(0x19b)],_0x2ed1e8),RETRY_CONFIG[_0x24a7d9(0x15d)]),await exports[_0x24a7d9(0x131)](_0x101c66,RETRY_CONFIG[_0x24a7d9(0x151)])),logger[_0x24a7d9(0x189)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x3b78b5+'\x20('+_0x5e3f34+')'),!![];}catch(_0x441313){_0x495863=_0x441313,logger['warn'](_0x24a7d9(0x190)+_0x3b78b5+_0x24a7d9(0x149)+_0x5e3f34+').\x20Error:\x20'+_0x441313['message']);}}return logger[_0x24a7d9(0x1db)]('All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20('+_0x5e3f34+_0x24a7d9(0x1a7)+(_0x495863?.[_0x24a7d9(0x1d9)]||_0x4e8d88['cwmNS'])),![];};
@@ -1 +1 @@
1
- function a96_0x1a7e(_0x182150,_0x1af94d){var _0x233ed3=a96_0x233e();return a96_0x1a7e=function(_0x1a7ee2,_0x44cfbf){_0x1a7ee2=_0x1a7ee2-0x1f2;var _0x257fae=_0x233ed3[_0x1a7ee2];return _0x257fae;},a96_0x1a7e(_0x182150,_0x1af94d);}var a96_0x5c21eb=a96_0x1a7e;(function(_0x527479,_0x19b210){var _0xcd9a31=a96_0x1a7e,_0x69e9b=_0x527479();while(!![]){try{var _0x853b02=-parseInt(_0xcd9a31(0x1fe))/0x1*(parseInt(_0xcd9a31(0x1f8))/0x2)+-parseInt(_0xcd9a31(0x1f9))/0x3+-parseInt(_0xcd9a31(0x1fc))/0x4+-parseInt(_0xcd9a31(0x1f2))/0x5+parseInt(_0xcd9a31(0x1fd))/0x6*(-parseInt(_0xcd9a31(0x1f7))/0x7)+parseInt(_0xcd9a31(0x1f4))/0x8+parseInt(_0xcd9a31(0x1fa))/0x9;if(_0x853b02===_0x19b210)break;else _0x69e9b['push'](_0x69e9b['shift']());}catch(_0x2129e2){_0x69e9b['push'](_0x69e9b['shift']());}}}(a96_0x233e,0xa3b5e),exports[a96_0x5c21eb(0x1f5)]=a96_0x5c21eb(0x1f3),exports['MINIMUM_BROWSER_VERSION_ACCESSIBILITY']='94',exports[a96_0x5c21eb(0x1fb)]=a96_0x5c21eb(0x1f6));function a96_0x233e(){var _0x2576db=['MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','4111924hVgTAW','6zHBvHX','2iUMlVB','2220460SlaymY','https://accessibility.browserstack.com/api','9168264cuHXvr','API_URL','100','2117332GGihRj','1207492BEnwbT','3703032UCBIhf','33668190KVhmlK'];a96_0x233e=function(){return _0x2576db;};return a96_0x233e();}
1
+ var a96_0x4cdfc1=a96_0x1e0b;function a96_0x1e0b(_0x3e2c7b,_0x2d9ab1){var _0x2f2e13=a96_0x2f2e();return a96_0x1e0b=function(_0x1e0bb4,_0x2a38e0){_0x1e0bb4=_0x1e0bb4-0x1bc;var _0x7a1b2d=_0x2f2e13[_0x1e0bb4];return _0x7a1b2d;},a96_0x1e0b(_0x3e2c7b,_0x2d9ab1);}function a96_0x2f2e(){var _0x3f1cb4=['MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','12JaTGbu','https://accessibility.browserstack.com/api','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','100','280052ndKYcF','173241wkXqYo','266694ROVajf','8642290kSICnW','35VxBkjH','1312820QAmkBx','664235InujCh','15248upXZAj','927BtWnVZ'];a96_0x2f2e=function(){return _0x3f1cb4;};return a96_0x2f2e();}(function(_0x51de5a,_0x1e8727){var _0x1f073b=a96_0x1e0b,_0x402f32=_0x51de5a();while(!![]){try{var _0x2e328d=-parseInt(_0x1f073b(0x1c9))/0x1+parseInt(_0x1f073b(0x1c5))/0x2*(-parseInt(_0x1f073b(0x1bc))/0x3)+-parseInt(_0x1f073b(0x1c0))/0x4+-parseInt(_0x1f073b(0x1c1))/0x5+-parseInt(_0x1f073b(0x1bd))/0x6*(-parseInt(_0x1f073b(0x1bf))/0x7)+-parseInt(_0x1f073b(0x1c2))/0x8*(-parseInt(_0x1f073b(0x1c3))/0x9)+parseInt(_0x1f073b(0x1be))/0xa;if(_0x2e328d===_0x1e8727)break;else _0x402f32['push'](_0x402f32['shift']());}catch(_0x4c62f6){_0x402f32['push'](_0x402f32['shift']());}}}(a96_0x2f2e,0x2fa86),exports['API_URL']=a96_0x4cdfc1(0x1c6),exports[a96_0x4cdfc1(0x1c7)]='94',exports[a96_0x4cdfc1(0x1c4)]=a96_0x4cdfc1(0x1c8));
@@ -1 +1 @@
1
- function a97_0x4a55(_0x47187a,_0x538143){const _0xda0051=a97_0xda00();return a97_0x4a55=function(_0x4a5516,_0x52762c){_0x4a5516=_0x4a5516-0x70;let _0x40af44=_0xda0051[_0x4a5516];return _0x40af44;},a97_0x4a55(_0x47187a,_0x538143);}const a97_0x32b396=a97_0x4a55;(function(_0x345c36,_0x5933a9){const _0x518f65=a97_0x4a55,_0x49dbed=_0x345c36();while(!![]){try{const _0x337867=parseInt(_0x518f65(0xe7))/0x1*(-parseInt(_0x518f65(0x11a))/0x2)+parseInt(_0x518f65(0x133))/0x3+-parseInt(_0x518f65(0xd7))/0x4+-parseInt(_0x518f65(0x116))/0x5*(-parseInt(_0x518f65(0xd9))/0x6)+parseInt(_0x518f65(0x8f))/0x7+-parseInt(_0x518f65(0x99))/0x8+-parseInt(_0x518f65(0x86))/0x9*(-parseInt(_0x518f65(0x109))/0xa);if(_0x337867===_0x5933a9)break;else _0x49dbed['push'](_0x49dbed['shift']());}catch(_0x2016bf){_0x49dbed['push'](_0x49dbed['shift']());}}}(a97_0xda00,0x8ba23));function a97_0xda00(){const _0x1e9c6a=['getResultsSummary','isBrowserstackInfra','Performing\x20scan\x20before\x20getting\x20results','isBrowserStackCommandExecutor','toISOString','isAccessibilityAutomationSession','SRYFz','playwright','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','UsdQb','warn','performScan','projectName','resolve','isUndefined','../helper','accessibilityToken','browserName','ApsMh','txRYP','setNonBstackInfraCapabilities','debug','No\x20accessibility\x20summary\x20was\x20found.','toJson','response','2242536VJrqHQ','RsXCz','2173362UOwfdZ','idxKj','env','getGitMetaData','success','iXZjX','tdFXy','glySM','script','join','isTrue','dBXoV','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','PmyVK','197ZIeGdk','platforms','PJKmC','BROWSERSTACK_TURBOSCALE','mergeDeep','rPPLH','chrome','stack','test_runs/stop','cwd','vcxcH','application/json','HbcoK','options_','status','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','string','ZkbGI','auth','path','PUT','quVJP','xDAaK','HpLoi','EVOnX','GET_RESULTS','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','vHKYN','ksFFC','assign','boBEq','pHxWw','nestedKeyValue','data','10jBQaUK','checkAccessibilityPlatformConfig','getCapabilities','args','executeAsyncScript','HlEyw','reCch','getUserName','zjbpG','RlHro','shouldScanTestForAccessibility','ufGCi','browserstack_executor','5mOjFsN','LRxUB','scannerVersion','PHFoH','9998VCrZYa','length','vbgCS','kXcjU','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','headers','getPackageVersion','getPlatform','WKFys','accessibility','getResults','getTestFrameworkDetails','get','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','chromeOptions','getBrowserVersion','mcouv','v2/test_runs','./scripts','Not\x20a\x20Accessibility\x20Session','browserVersion','browserstackSessionName','getAccessibilityResults','null','getCiInfo','2132019ArBVTM','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','KtRUR','VYeKC','getHostInfo','PERFORM_SCAN','util','Options','tdmBR','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','chromeOptions_','kljVD','error','format','javascript','ChromeExtension','forEach','json','Content-Type','EBbsB','--headless','excludeTagsInTestingScope','includeTagsInTestingScope','nodeRequest','__cloud_provider___','message','getGlobal','cZcrc','nonBstackPlatformValidation','getAgentVersion','getBrowserName','bstack:options','../logger','PBkAb','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','info','pass','MBYNE','goog:chromeOptions','10302363qFrOmK','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Performing\x20scan\x20before\x20getting\x20results\x20summary','../performance/performance-tester','oamFD','qCWpL','some','toLowerCase','alBww','4316662wjnUAJ','user','fqEEA','sjCRc','qqWCQ','Authorization','LnUJD','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','buildName','BS_A11Y_JWT','5735176EJsMPG','IwMVn','BROWSERSTACK_TEST_ACCESSIBILITY_YML','ESdYO','selenium-webdriver/chrome.js','stringify','thDIa','measureWrapper','isArray','browserstack','stopAccessibilityTestRun','buildDescription','llgpV','capabilities_','keGoD','statusText','getAccessibilityResultsSummary','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','Build\x20creation\x20had\x20failed.','bYMEJ','method','qwnnw','hRLeh','POST','OABhe','MGskr','fsqEa','UomlV','bstackA11yShouldScan','gWvyi','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','GqZvA','includes','loAMm','selenium-webdriver','zxIza','errors'];a97_0xda00=function(){return _0x1e9c6a;};return a97_0xda00();}const path=require(a97_0x32b396(0xfa)),util=require(a97_0x32b396(0x139)),bsSetupHelper=require(a97_0x32b396(0xcd)),logger=require(a97_0x32b396(0x7f))['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('./constants'),PerformanceTester=require(a97_0x32b396(0x89)),scripts=require(a97_0x32b396(0x12c)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports['fetchPlatformDetails']=async _0x36ec8f=>{const _0x4a005d=a97_0x32b396,_0x2f785f={};_0x2f785f[_0x4a005d(0xb3)]=function(_0x424501,_0x15d34f){return _0x424501===_0x15d34f;},_0x2f785f[_0x4a005d(0xdf)]=_0x4a005d(0xa2);const _0x1119a5=_0x2f785f;let _0x27fae6={};try{const _0x145eec=await _0x36ec8f[_0x4a005d(0x10b)]();_0x27fae6={'os_name':_0x145eec[_0x4a005d(0x121)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x1119a5[_0x4a005d(0xb3)](global[_0x4a005d(0x77)],_0x1119a5[_0x4a005d(0xdf)])),'browser_name':_0x145eec[_0x4a005d(0x7d)](),'browser_version':_0x145eec[_0x4a005d(0x129)]()};}catch(_0x54a74f){logger[_0x4a005d(0xd3)](_0x4a005d(0x134)+_0x54a74f);}return _0x27fae6;},exports['isAccessibilityAutomationSession']=()=>{const _0x1357c2=a97_0x32b396,_0x21bf1c={};_0x21bf1c['BMUoC']=function(_0x3e92a7,_0xf10073){return _0x3e92a7===_0xf10073;},_0x21bf1c['UomlV']=_0x1357c2(0xf7),_0x21bf1c[_0x1357c2(0x9f)]=function(_0xf6927d,_0x451a55){return _0xf6927d>_0x451a55;},_0x21bf1c[_0x1357c2(0xff)]=function(_0x8c99c0,_0xea140e){return _0x8c99c0!==_0xea140e;},_0x21bf1c[_0x1357c2(0xb2)]=_0x1357c2(0x131),_0x21bf1c[_0x1357c2(0xde)]=function(_0x3c2095,_0xa860c9){return _0x3c2095&&_0xa860c9;};const _0xe5204e=_0x21bf1c;try{const _0x3161cb=bsSetupHelper['isTrue'](process[_0x1357c2(0xdb)][_0x1357c2(0x9b)])||bsSetupHelper[_0x1357c2(0xe3)](process['env'][_0x1357c2(0x96)]),_0x21e2be=_0xe5204e['BMUoC'](typeof process[_0x1357c2(0xdb)]['BS_A11Y_JWT'],_0xe5204e[_0x1357c2(0xb4)])&&_0xe5204e[_0x1357c2(0x9f)](process['env']['BS_A11Y_JWT'][_0x1357c2(0x11b)],0x0)&&_0xe5204e[_0x1357c2(0xff)](process['env'][_0x1357c2(0x98)],_0xe5204e['MGskr']);return _0xe5204e['iXZjX'](_0x3161cb,_0x21e2be);}catch(_0x229269){logger[_0x1357c2(0xd3)](_0x1357c2(0x101)+_0x229269);}return![];},exports[a97_0x32b396(0x7b)]=(_0x4eb840,_0x2c69f8)=>{const _0x4acbda=a97_0x32b396,_0x3bf95f={'LRxUB':_0x4acbda(0xcf),'loAMm':function(_0x1b76ca,_0x45d1ba){return _0x1b76ca(_0x45d1ba);},'reCch':_0x4acbda(0x12e),'oamFD':function(_0xbd8405,_0x3cd985){return _0xbd8405(_0x3cd985);},'kXcjU':'version','txRYP':_0x4acbda(0x7e),'Ujunj':'deviceName','VYeKC':'device','TLBIo':_0x4acbda(0x87),'SRYFz':_0x4acbda(0x9d),'MgekS':_0x4acbda(0xbb),'cZcrc':_0x4acbda(0xf4),'PmyVK':_0x4acbda(0x10c),'WKFys':_0x4acbda(0x128),'pHxWw':_0x4acbda(0x73),'ksFFC':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','quVJP':_0x4acbda(0x85),'vbgCS':function(_0x44aa11,_0x379fc1){return _0x44aa11===_0x379fc1;},'vcxcH':_0x4acbda(0xed),'tOyoH':function(_0x5c4800,_0x545097){return _0x5c4800>=_0x545097;}},_0x479c2a=_0x4eb840[_0x4acbda(0x126)](_0x3bf95f[_0x4acbda(0x117)]),_0xd206f3=_0x3bf95f[_0x4acbda(0xba)](parseFloat,_0x4eb840[_0x4acbda(0x126)](_0x3bf95f[_0x4acbda(0x10f)]))||_0x3bf95f[_0x4acbda(0x8a)](parseFloat,_0x4eb840[_0x4acbda(0x126)](_0x3bf95f[_0x4acbda(0x11d)])),_0x386d1d=_0x4eb840['get'](_0x3bf95f[_0x4acbda(0xd1)])||{},_0x51c8a2=_0x3bf95f[_0x4acbda(0x8a)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x4b04d7=_0x386d1d[_0x3bf95f['Ujunj']]||_0x4eb840[_0x4acbda(0x126)](_0x3bf95f[_0x4acbda(0x136)])||![];if(_0x4b04d7)return logger[_0x4acbda(0xc8)](_0x3bf95f['TLBIo']),![];let _0x58075e;try{_0x58075e=bsSetupHelper['requireModule'](_0x3bf95f[_0x4acbda(0xc4)],_0x3bf95f['MgekS']);}catch(_0x243dc7){return![];}const _0x3b4a5f=new _0x58075e[(_0x4acbda(0x13a))](_0x2c69f8[_0x4acbda(0x13d)]),_0x2cfaae=bsSetupHelper[_0x4acbda(0x107)](_0x3b4a5f,[_0x3bf95f[_0x4acbda(0x7a)],_0x3bf95f['PmyVK']])||bsSetupHelper[_0x4acbda(0x107)](_0x2c69f8[_0x4acbda(0xa6)],[_0x3bf95f[_0x4acbda(0xd1)],_0x3bf95f[_0x4acbda(0x122)],_0x3bf95f[_0x4acbda(0xe6)]])||bsSetupHelper[_0x4acbda(0x107)](_0x2c69f8[_0x4acbda(0xa6)],[_0x3bf95f[_0x4acbda(0x122)],_0x3bf95f[_0x4acbda(0xe6)]])||[];if(_0x2cfaae[_0x4acbda(0xb9)](_0x3bf95f[_0x4acbda(0x106)]))return logger[_0x4acbda(0xc8)](_0x3bf95f[_0x4acbda(0x103)]),![];const _0x2a8335=_0x2c69f8['capabilities_']||{},_0x39d1b9=bsSetupHelper[_0x4acbda(0x107)](_0x2a8335,[_0x3bf95f[_0x4acbda(0xfc)]])||{},_0x49abdc=bsSetupHelper['nestedKeyValue'](_0x39d1b9,[_0x3bf95f['PmyVK']])||[];if(_0x49abdc[_0x4acbda(0xb9)](_0x3bf95f[_0x4acbda(0x106)]))return logger[_0x4acbda(0xc8)](_0x3bf95f['ksFFC']),![];if(_0x3bf95f[_0x4acbda(0x11c)](_0x479c2a[_0x4acbda(0x8d)](),_0x3bf95f[_0x4acbda(0xf1)])&&_0x3bf95f['tOyoH'](_0xd206f3,_0x51c8a2))return!![];return logger['warn'](_0x4acbda(0xc6)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x32b396(0xd2)]=_0xa3b673=>{const _0x456a5f=a97_0x32b396,_0x25e338={};_0x25e338[_0x456a5f(0xac)]=_0x456a5f(0x85),_0x25e338[_0x456a5f(0xb1)]=function(_0x456dcb,_0x1afb96){return _0x456dcb||_0x1afb96;},_0x25e338[_0x456a5f(0xe9)]=_0x456a5f(0x12d);const _0x29c301=_0x25e338,_0x14336a=scripts[_0x456a5f(0x142)];try{const _0x32119f=bsSetupHelper[_0x456a5f(0xe3)](process[_0x456a5f(0xdb)][_0x456a5f(0x9b)])||bsSetupHelper[_0x456a5f(0xe3)](process[_0x456a5f(0xdb)][_0x456a5f(0x96)]);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x456a5f(0xdb)][_0x456a5f(0xea)])&&_0x32119f){const _0x5f340f=_0xa3b673[_0x456a5f(0x10b)](),_0x6f836d=_0x5f340f[_0x456a5f(0x126)](_0x29c301[_0x456a5f(0xac)]),_0x11fb68=_0x29c301[_0x456a5f(0xb1)](_0x6f836d,{});bsSetupHelper[_0x456a5f(0xeb)](_0x11fb68,_0x14336a),_0xa3b673[_0x456a5f(0x10b)]()['set'](_0x29c301[_0x456a5f(0xac)],_0x11fb68);}else logger[_0x456a5f(0xc8)](_0x29c301[_0x456a5f(0xe9)]);}catch(_0xee5820){logger['error'](_0x456a5f(0xf6)+_0xee5820);}},exports[a97_0x32b396(0x113)]=(_0x5c2685=null,_0x3c41f4=!![],_0x1e5b2e=[])=>{const _0x1ae79f=a97_0x32b396,_0x154dac={};_0x154dac[_0x1ae79f(0x95)]=function(_0x1f21ad,_0x1f2a6a){return _0x1f21ad==_0x1f2a6a;},_0x154dac[_0x1ae79f(0x102)]=function(_0x3b0c27,_0x55d8af){return _0x3b0c27>_0x55d8af;},_0x154dac[_0x1ae79f(0x80)]=function(_0x5c4164,_0x5b1c57){return _0x5c4164===_0x5b1c57;},_0x154dac['glySM']=function(_0x3e4c77,_0x4c2adc){return _0x3e4c77&&_0x4c2adc;},_0x154dac[_0x1ae79f(0x112)]=function(_0x5f0d55,_0x190985){return _0x5f0d55===_0x190985;};const _0x342711=_0x154dac;if(_0x342711[_0x1ae79f(0x95)](process[_0x1ae79f(0xdb)][_0x1ae79f(0x127)],null))return!![];try{const _0xa5f725=JSON['parse'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x5f3e07=Array[_0x1ae79f(0xa1)](_0xa5f725[_0x1ae79f(0x75)])?_0xa5f725[_0x1ae79f(0x75)]:[],_0x1787f0=Array[_0x1ae79f(0xa1)](_0xa5f725[_0x1ae79f(0x74)])?_0xa5f725[_0x1ae79f(0x74)]:[];if(bsSetupHelper[_0x1ae79f(0xcc)](_0x5c2685)){if(_0x342711[_0x1ae79f(0x102)](_0x1e5b2e[_0x1ae79f(0x11b)],0x0)){const _0x131f58=_0x1787f0[_0x1ae79f(0x8c)](_0x1b493d=>_0x1e5b2e[_0x1ae79f(0xb9)](_0x1b493d)),_0x44a277=_0x342711[_0x1ae79f(0x80)](_0x5f3e07[_0x1ae79f(0x11b)],0x0)||_0x5f3e07['some'](_0x2c9847=>_0x1e5b2e['includes'](_0x2c9847));return _0x342711[_0x1ae79f(0xe0)](!_0x131f58,_0x44a277);}return!![];}let _0x545cfd;_0x3c41f4?_0x545cfd=_0x5c2685[_0x1ae79f(0xe2)]('/'):_0x545cfd=_0x5c2685;const _0x2f0d50=_0x1787f0[_0x1ae79f(0x8c)](_0x12c8cf=>_0x545cfd['includes'](_0x12c8cf)),_0x2fc95c=_0x342711['RlHro'](_0x5f3e07['length'],0x0)||_0x5f3e07[_0x1ae79f(0x8c)](_0x4f011c=>_0x545cfd[_0x1ae79f(0xb9)](_0x4f011c));return _0x342711[_0x1ae79f(0xe0)](!_0x2f0d50,_0x2fc95c);}catch(_0x39c5a4){logger['debug'](_0x1ae79f(0xe5)+util[_0x1ae79f(0x140)](_0x39c5a4));}return![];},exports[a97_0x32b396(0x10a)]=_0x218ba3=>{const _0x5e3c9e=a97_0x32b396;let _0x3e0cb1=![];try{_0x218ba3[_0x5e3c9e(0xe8)][_0x5e3c9e(0x143)](_0x17c0ad=>{const _0x508ab6=_0x5e3c9e;if(bsSetupHelper['isTrue'](_0x17c0ad[_0x508ab6(0x123)]))return _0x3e0cb1=!![],!![];});}catch(_0x27f77e){logger['debug'](_0x5e3c9e(0xb7)+_0x27f77e);}return _0x3e0cb1||bsSetupHelper[_0x5e3c9e(0xe3)](_0x218ba3[_0x5e3c9e(0x123)]);},exports['createAccessibilityTestRun']=PerformanceTester[a97_0x32b396(0xa0)]('a11y:start',async function(_0x1b9b86,_0x36d898){const _0x81bc6b=a97_0x32b396,_0x429110={};_0x429110[_0x81bc6b(0xf3)]=_0x81bc6b(0x13c),_0x429110[_0x81bc6b(0x8e)]=_0x81bc6b(0xc5),_0x429110[_0x81bc6b(0xa7)]=_0x81bc6b(0x141),_0x429110[_0x81bc6b(0xa5)]=_0x81bc6b(0xf2),_0x429110[_0x81bc6b(0xd8)]=_0x81bc6b(0xb0),_0x429110[_0x81bc6b(0x119)]=_0x81bc6b(0x12b),_0x429110[_0x81bc6b(0x12a)]=function(_0x2ff93a,_0x348e77){return _0x2ff93a===_0x348e77;},_0x429110[_0x81bc6b(0x114)]='Invalid\x20configuration\x20passed.',_0x429110[_0x81bc6b(0xae)]='false';const _0x4d3dbe=_0x429110,_0x39e526=bsSetupHelper[_0x81bc6b(0x110)](_0x1b9b86),_0x194f1e=bsSetupHelper['getAccessKey'](_0x1b9b86);if(bsSetupHelper[_0x81bc6b(0xcc)](_0x39e526)||bsSetupHelper[_0x81bc6b(0xcc)](_0x194f1e))return logger['error'](_0x4d3dbe[_0x81bc6b(0xf3)]),[null,null];try{let _0x5ca8b8;bsSetupHelper[_0x81bc6b(0xcc)](process[_0x81bc6b(0xdb)][_0x81bc6b(0x127)])?_0x5ca8b8={}:_0x5ca8b8=JSON['parse'](process[_0x81bc6b(0xdb)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x4a091d,version:_0x524cc2}=bsSetupHelper[_0x81bc6b(0x125)](_0x1b9b86,_0x36d898),_0x1ed1c4={'projectName':_0x1b9b86[_0x81bc6b(0xca)],'buildName':_0x1b9b86[_0x81bc6b(0x97)]||path['basename'](path[_0x81bc6b(0xcb)](process[_0x81bc6b(0xf0)]())),'startTime':new Date()[_0x81bc6b(0xc2)](),'description':_0x1b9b86[_0x81bc6b(0xa4)]||'','source':{'frameworkName':_0x36d898[_0x81bc6b(0xb9)](_0x4d3dbe['alBww'])?_0x4d3dbe[_0x81bc6b(0x8e)]:_0x36d898,'frameworkVersion':bsSetupHelper[_0x81bc6b(0x120)](_0x36d898),'sdkVersion':bsSetupHelper[_0x81bc6b(0x7c)](),'language':_0x4d3dbe[_0x81bc6b(0xa7)],'testFramework':_0x4a091d,'testFrameworkVersion':_0x524cc2},'settings':_0x5ca8b8,'versionControl':await bsSetupHelper[_0x81bc6b(0xdc)](),'ciInfo':bsSetupHelper[_0x81bc6b(0x132)](),'hostInfo':bsSetupHelper[_0x81bc6b(0x137)](),'browserstackAutomation':bsSetupHelper[_0x81bc6b(0xbf)]()},_0x3c3fda={};_0x3c3fda[_0x81bc6b(0x90)]=_0x39e526,_0x3c3fda[_0x81bc6b(0x83)]=_0x194f1e;const _0x3bbeb1={};_0x3bbeb1[_0x81bc6b(0x71)]=_0x4d3dbe[_0x81bc6b(0xa5)];const _0x59f95a={};_0x59f95a[_0x81bc6b(0xf9)]=_0x3c3fda,_0x59f95a[_0x81bc6b(0x11f)]=_0x3bbeb1;const _0x1be5d6=_0x59f95a,_0x4e628b={};_0x4e628b['body']=_0x1ed1c4,_0x4e628b['json']=!![];const _0x1012db=Object[_0x81bc6b(0x104)](_0x1be5d6,_0x4e628b),_0x1b7831=await bsSetupHelper['nodeRequest'](_0x4d3dbe[_0x81bc6b(0xd8)],_0x4d3dbe[_0x81bc6b(0x119)],_0x1012db,_0x1b9b86,API_URL);let _0x2065eb=process[_0x81bc6b(0xdb)][_0x81bc6b(0x127)];return _0x2065eb?_0x2065eb=JSON['parse'](process[_0x81bc6b(0xdb)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x2065eb={},scripts['parseFromJson'](_0x1b7831[_0x81bc6b(0x108)][_0x81bc6b(0x108)]),scripts[_0x81bc6b(0xd5)](),_0x2065eb['scannerVersion']=_0x1b7831[_0x81bc6b(0x108)][_0x81bc6b(0x108)][_0x81bc6b(0x118)],process[_0x81bc6b(0xdb)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x81bc6b(0x9e)](_0x2065eb),[_0x1b7831['data'][_0x81bc6b(0x108)][_0x81bc6b(0xce)],_0x1b7831['data'][_0x81bc6b(0x108)]['id']];}catch(_0x1a69f5){if(_0x1a69f5['response'])logger[_0x81bc6b(0x13f)](_0x81bc6b(0x11e)+_0x1a69f5[_0x81bc6b(0xd6)][_0x81bc6b(0xf5)]+'\x20'+_0x1a69f5[_0x81bc6b(0xd6)][_0x81bc6b(0xa8)]+'\x20'+JSON['stringify'](_0x1a69f5[_0x81bc6b(0xd6)][_0x81bc6b(0x108)]));else{if(_0x4d3dbe[_0x81bc6b(0x12a)](_0x1a69f5[_0x81bc6b(0x78)],_0x4d3dbe['ufGCi'])){logger[_0x81bc6b(0x13f)](_0x81bc6b(0x11e)+(_0x1a69f5['message']||_0x1a69f5['stack']));for(const _0x28d14b of _0x1a69f5[_0x81bc6b(0xbd)]){logger['error'](_0x28d14b['message']);}process[_0x81bc6b(0xdb)][_0x81bc6b(0x9b)]=_0x4d3dbe[_0x81bc6b(0xae)],process[_0x81bc6b(0xdb)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x4d3dbe['qwnnw'];}else logger[_0x81bc6b(0x13f)](_0x81bc6b(0x11e)+(_0x1a69f5[_0x81bc6b(0x78)]||_0x1a69f5[_0x81bc6b(0xee)]));}return[null,null];}}),exports[a97_0x32b396(0xa3)]=PerformanceTester[a97_0x32b396(0xa0)]('a11y:stop',async function(_0x47c468){const _0x2fd65d=a97_0x32b396,_0x16b281={};_0x16b281['gWvyi']=function(_0x1561e5,_0x5e5b4f){return _0x1561e5!==_0x5e5b4f;},_0x16b281[_0x2fd65d(0xd0)]='string',_0x16b281[_0x2fd65d(0xe4)]=_0x2fd65d(0x13f),_0x16b281['GqZvA']=_0x2fd65d(0xab),_0x16b281['zxIza']=_0x2fd65d(0xf2),_0x16b281[_0x2fd65d(0x13e)]=_0x2fd65d(0xfb),_0x16b281[_0x2fd65d(0x72)]=_0x2fd65d(0xef),_0x16b281['HpLoi']=function(_0x1d0deb,_0x6ffc0a){return _0x1d0deb+_0x6ffc0a;},_0x16b281[_0x2fd65d(0x9c)]='Invalid\x20request:\x20',_0x16b281[_0x2fd65d(0x135)]=_0x2fd65d(0xdd);const _0x2d24d1=_0x16b281;if(bsSetupHelper['isUndefined'](process[_0x2fd65d(0xdb)][_0x2fd65d(0x98)])||_0x2d24d1[_0x2fd65d(0xb6)](typeof process[_0x2fd65d(0xdb)][_0x2fd65d(0x98)],_0x2d24d1[_0x2fd65d(0xd0)])){const _0x40a315={};return _0x40a315['status']=_0x2d24d1[_0x2fd65d(0xe4)],_0x40a315[_0x2fd65d(0x78)]=_0x2d24d1[_0x2fd65d(0xb8)],_0x40a315;}const _0x5d7a14={'endTime':new Date()[_0x2fd65d(0xc2)]()},_0x3427a3={};_0x3427a3[_0x2fd65d(0x94)]='Bearer\x20'+process['env'][_0x2fd65d(0x98)],_0x3427a3[_0x2fd65d(0x71)]=_0x2d24d1[_0x2fd65d(0xbc)];const _0x5b034b={};_0x5b034b[_0x2fd65d(0x11f)]=_0x3427a3;const _0xc163a=_0x5b034b,_0x1bd520={};_0x1bd520['body']=_0x5d7a14,_0x1bd520[_0x2fd65d(0xf9)]=null,_0x1bd520[_0x2fd65d(0x70)]=!![];const _0x5ab7a5=Object[_0x2fd65d(0x104)](_0xc163a,_0x1bd520);try{const _0x526c96=await bsSetupHelper[_0x2fd65d(0x76)](_0x2d24d1[_0x2fd65d(0x13e)],_0x2d24d1[_0x2fd65d(0x72)],_0x5ab7a5,_0x47c468,API_URL);if(_0x526c96[_0x2fd65d(0x108)]['error'])throw new Error(_0x2d24d1[_0x2fd65d(0xfe)](_0x2d24d1[_0x2fd65d(0x9c)],_0x526c96[_0x2fd65d(0x108)][_0x2fd65d(0x13f)]));else{logger[_0x2fd65d(0x82)](_0x2fd65d(0xaa)+new Date()[_0x2fd65d(0xc2)]());const _0x3e0a01={};return _0x3e0a01[_0x2fd65d(0xf5)]=_0x2d24d1[_0x2fd65d(0x135)],_0x3e0a01[_0x2fd65d(0x78)]='',_0x3e0a01;}}catch(_0x38da11){_0x38da11[_0x2fd65d(0xd6)]?logger[_0x2fd65d(0x13f)](_0x2fd65d(0x81)+_0x38da11['response'][_0x2fd65d(0xf5)]+'\x20'+_0x38da11['response'][_0x2fd65d(0xa8)]+'\x20'+JSON[_0x2fd65d(0x9e)](_0x38da11[_0x2fd65d(0xd6)]['data'])):logger[_0x2fd65d(0x13f)](_0x2fd65d(0x81)+(_0x38da11[_0x2fd65d(0x78)]||util['format'](_0x38da11)));const _0x572c2d={};return _0x572c2d[_0x2fd65d(0xf5)]=_0x2d24d1[_0x2fd65d(0xe4)],_0x572c2d[_0x2fd65d(0x78)]=_0x38da11[_0x2fd65d(0x78)]||(_0x38da11[_0x2fd65d(0xd6)]?_0x38da11['response'][_0x2fd65d(0xf5)]+':'+_0x38da11[_0x2fd65d(0xd6)]['statusText']:_0x38da11),_0x572c2d;}}),exports[a97_0x32b396(0xc9)]=async(_0x15a5ef,_0x4541f2=null)=>{const _0xc20198=a97_0x32b396,_0x1fbded={};_0x1fbded[_0xc20198(0x93)]='isAccessibilityPlatform',_0x1fbded[_0xc20198(0x92)]=_0xc20198(0xb5),_0x1fbded[_0xc20198(0xc7)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.';const _0x1b2672=_0x1fbded;if(!this[_0xc20198(0xc3)]()||!globals[_0xc20198(0x79)](_0x1b2672[_0xc20198(0x93)])||!globals[_0xc20198(0x79)](_0x1b2672[_0xc20198(0x92)])){logger[_0xc20198(0xc8)](_0x1b2672['UsdQb']);return;}return await PerformanceTester[_0xc20198(0xa0)](PerformanceA11yEvents[_0xc20198(0x138)],async()=>{const _0x4f05f0=_0xc20198,_0x4f53fb={};_0x4f53fb[_0x4f05f0(0xad)]=_0x4541f2||global[_0x4f05f0(0x12f)];const _0xaeb961=util[_0x4f05f0(0x140)](await _0x15a5ef[_0x4f05f0(0x10d)](scripts['performScan'],_0x4f53fb));return logger[_0x4f05f0(0xd3)]('Performed\x20scan\x20with\x20result:\x20'+_0xaeb961),_0xaeb961;},{'command':_0x4541f2})();},exports[a97_0x32b396(0x130)]=async(_0x58574c,_0x3b8f0f)=>{const _0xf9167a=a97_0x32b396,_0x554e49={};_0x554e49[_0xf9167a(0xaf)]=_0xf9167a(0xc0),_0x554e49[_0xf9167a(0xec)]='isAccessibilityPlatform',_0x554e49['KrEXH']=_0xf9167a(0xb5),_0x554e49[_0xf9167a(0x84)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x554e49[_0xf9167a(0xf8)]='getAccessibilityResults',_0x554e49[_0xf9167a(0xda)]='No\x20accessibility\x20results\x20were\x20found.';const _0x27c19a=_0x554e49;if(!this[_0xf9167a(0xc3)]()||!globals['getGlobal'](_0x27c19a[_0xf9167a(0xec)])||!globals[_0xf9167a(0x79)](_0x27c19a['KrEXH']))return logger['warn'](_0x27c19a[_0xf9167a(0x84)]),[];try{return await PerformanceTester[_0xf9167a(0xa0)](PerformanceA11yEvents[_0xf9167a(0x138)],async()=>{const _0x1be01e=_0xf9167a;logger[_0x1be01e(0xd3)](_0x27c19a[_0x1be01e(0xaf)]);const _0x67fe7e={};_0x67fe7e[_0x1be01e(0xad)]=_0x3b8f0f[_0x1be01e(0x12f)],logger[_0x1be01e(0xd3)](util[_0x1be01e(0x140)](await _0x58574c[_0x1be01e(0x10d)](scripts[_0x1be01e(0xc9)],_0x67fe7e)));},{'command':_0x27c19a[_0xf9167a(0xf8)]})(),await PerformanceTester[_0xf9167a(0xa0)](PerformanceA11yEvents[_0xf9167a(0x100)],async()=>{const _0x1300a0=_0xf9167a,_0x33a7bb=await _0x58574c[_0x1300a0(0x10d)](scripts[_0x1300a0(0x124)]);return _0x33a7bb;})();}catch{return logger['error'](_0x27c19a['idxKj']),[];}},exports[a97_0x32b396(0xa9)]=async(_0x14325a,_0x80532)=>{const _0x31a08f=a97_0x32b396,_0x17540f={};_0x17540f['HlEyw']=_0x31a08f(0x88),_0x17540f[_0x31a08f(0x9a)]='isAccessibilityPlatform',_0x17540f[_0x31a08f(0xfd)]=_0x31a08f(0xb5),_0x17540f[_0x31a08f(0x111)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x17540f['boBEq']='getAccessibilityResultsSummary',_0x17540f['yXKZG']=_0x31a08f(0xd4);const _0x448550=_0x17540f;if(!this['isAccessibilityAutomationSession']()||!globals[_0x31a08f(0x79)](_0x448550['IwMVn'])||!globals[_0x31a08f(0x79)](_0x448550[_0x31a08f(0xfd)]))return logger[_0x31a08f(0xc8)](_0x448550['zjbpG']),{};try{return await PerformanceTester[_0x31a08f(0xa0)](PerformanceA11yEvents[_0x31a08f(0x138)],async()=>{const _0x55db6d=_0x31a08f;logger[_0x55db6d(0xd3)](_0x448550[_0x55db6d(0x10e)]);const _0x5bdd0e={};_0x5bdd0e['method']=_0x80532[_0x55db6d(0x12f)],logger['debug'](util[_0x55db6d(0x140)](await _0x14325a['executeAsyncScript'](scripts[_0x55db6d(0xc9)],_0x5bdd0e)));},{'command':_0x448550[_0x31a08f(0x105)]})(),await PerformanceTester[_0x31a08f(0xa0)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x58b598=_0x31a08f,_0x5787d8=await _0x14325a[_0x58b598(0x10d)](scripts[_0x58b598(0xbe)]);return _0x5787d8;})();}catch{return logger['error'](_0x448550['yXKZG']),{};}},exports[a97_0x32b396(0xc1)]=_0xac839b=>{const _0x11cb5b=a97_0x32b396,_0x5887d7={};_0x5887d7[_0x11cb5b(0x8b)]=function(_0x24451c,_0x3dc7f6){return _0x24451c===_0x3dc7f6;},_0x5887d7[_0x11cb5b(0x91)]=_0x11cb5b(0xf7),_0x5887d7['tdmBR']=_0x11cb5b(0x115);const _0x364a7b=_0x5887d7;if(_0xac839b&&_0xac839b[_0x11cb5b(0xe1)]&&_0x364a7b[_0x11cb5b(0x8b)](typeof _0xac839b[_0x11cb5b(0xe1)],_0x364a7b['fqEEA']))return _0xac839b[_0x11cb5b(0xe1)][_0x11cb5b(0xb9)](_0x364a7b[_0x11cb5b(0x13b)]);return![];};
1
+ const a97_0x350bf4=a97_0x4083;function a97_0x431e(){const _0x52d59e=['cnjSg','MWHOs','omeiK','options_','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','ooUdk','get','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','./scripts','stack','VeeMl','method','getTestFrameworkDetails','browserName','getAgentVersion','playwright','yFHTb','btjuv','scannerVersion','device','javascript','Performing\x20scan\x20before\x20getting\x20results','pwMxp','spdrl','getBrowserVersion','chromeOptions_','1132500cxuueh','CJcbm','selenium-webdriver/chrome.js','NJFvB','IugKV','Zkeyy','join','mpdVA','goog:chromeOptions','Performed\x20scan\x20with\x20result:\x20','ezITF','ZBHOq','getHostInfo','null','basename','message','GET_RESULTS','parseFromJson','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','gwtlC','nodeRequest','iEAjt','Content-Type','OtLvP','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','RhYDk','browserstackSessionName','projectName','gJHkb','../helper','235086bOULPE','Authorization','817040tDeMoE','faNxN','Options','error','assign','jIYJG','IRQlp','application/json','auth','statusText','__cloud_provider___','getCiInfo','HJikM','getAccessibilityResults','a11y:stop','getResultsSummary','msudg','browserstack_executor','BS_A11Y_JWT','test_runs/stop','../globals','Bearer\x20','LoyTC','mYTTE','script','isArray','vXgas','chromeOptions','LfnKI','length','XMtRP','getGlobal','false','xOZlk','excludeTagsInTestingScope','isTrue','4497815cOPKaZ','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','uOVvX','chrome','4630962MEQbUm','HYYVK','response','790540GnxzCs','VUsQB','warn','stringify','XuDzk','--headless','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','8PKoXGG','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','headers','EBaYN','Performing\x20scan\x20before\x20getting\x20results\x20summary','toISOString','sLaDK','isBrowserstackInfra','json','debug','QClao','wZRSI','toJson','buildName','zAtLR','performScan','ddXjR','qsmJU','Invalid\x20configuration\x20passed.','mergeDeep','stopAccessibilityTestRun','a11y:start','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','isAccessibilityAutomationSession','getAccessKey','getCapabilities','body','includeTagsInTestingScope','parse','set','lZYbC','ChromeExtension','aEODu','Build\x20creation\x20had\x20failed.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','iDHZN','getAccessibilityResultsSummary','executeAsyncScript','bstackA11yShouldScan','capabilities_','No\x20accessibility\x20summary\x20was\x20found.','data','PkPsl','../performance/constants','ZFMfO','NAneQ','selenium-webdriver','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','eWzyT','status','success','CjxOK','nestedKeyValue','2913113hKSEQw','format','resolve','getBrowserName','platforms','OTFuT','checkAccessibilityPlatformConfig','getPackageVersion','args','HlrER','WdvEX','measureWrapper','PERFORM_SCAN','CltAE','PUT','errors','ZjFpF','isUndefined','BROWSERSTACK_TEST_ACCESSIBILITY_YML','some','getPlatform','string','util','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','user','env','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Invalid\x20request:\x20','getUserName','vATjj','deviceName','oPshU','gAatP','KOYuq','isAccessibilityPlatform','browserVersion','qZudl','uSWrf','getResults','fptGF','../performance/performance-tester','nonBstackPlatformValidation','includes'];a97_0x431e=function(){return _0x52d59e;};return a97_0x431e();}function a97_0x4083(_0x5c5e35,_0x46ce4f){const _0x431ec8=a97_0x431e();return a97_0x4083=function(_0x4083c8,_0x2a0287){_0x4083c8=_0x4083c8-0x7b;let _0x2c0eb3=_0x431ec8[_0x4083c8];return _0x2c0eb3;},a97_0x4083(_0x5c5e35,_0x46ce4f);}(function(_0x1850a9,_0x52defd){const _0x5d02b1=a97_0x4083,_0x35be52=_0x1850a9();while(!![]){try{const _0x26c6a4=parseInt(_0x5d02b1(0xe3))/0x1+parseInt(_0x5d02b1(0xe1))/0x2+parseInt(_0x5d02b1(0xc3))/0x3+-parseInt(_0x5d02b1(0x10e))/0x4+-parseInt(_0x5d02b1(0x107))/0x5+parseInt(_0x5d02b1(0x10b))/0x6+-parseInt(_0x5d02b1(0x7d))/0x7*(parseInt(_0x5d02b1(0x115))/0x8);if(_0x26c6a4===_0x52defd)break;else _0x35be52['push'](_0x35be52['shift']());}catch(_0x21f491){_0x35be52['push'](_0x35be52['shift']());}}}(a97_0x431e,0x8b4b9));const path=require('path'),util=require(a97_0x350bf4(0x93)),bsSetupHelper=require(a97_0x350bf4(0xe0)),logger=require('../logger')['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('./constants'),PerformanceTester=require(a97_0x350bf4(0xa5)),scripts=require(a97_0x350bf4(0xb1)),globals=require(a97_0x350bf4(0xf7)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x350bf4(0x140));exports['fetchPlatformDetails']=async _0x58fc10=>{const _0x37128f=a97_0x350bf4,_0x3df20a={};_0x3df20a[_0x37128f(0xf9)]=function(_0x445784,_0x1ae497){return _0x445784===_0x1ae497;},_0x3df20a[_0x37128f(0x9e)]='browserstack';const _0x34d738=_0x3df20a;let _0x1b0fc8={};try{const _0x366682=await _0x58fc10[_0x37128f(0x12e)]();_0x1b0fc8={'os_name':_0x366682[_0x37128f(0x91)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x34d738[_0x37128f(0xf9)](global[_0x37128f(0xed)],_0x34d738[_0x37128f(0x9e)])),'browser_name':_0x366682[_0x37128f(0x80)](),'browser_version':_0x366682[_0x37128f(0xc1)]()};}catch(_0x1a82ef){logger[_0x37128f(0x11e)](_0x37128f(0xd5)+_0x1a82ef);}return _0x1b0fc8;},exports[a97_0x350bf4(0x12c)]=()=>{const _0x345435=a97_0x350bf4,_0x3a4b33={};_0x3a4b33[_0x345435(0xda)]=function(_0x45633d,_0x1573bf){return _0x45633d===_0x1573bf;},_0x3a4b33['ZBHOq']=_0x345435(0x92),_0x3a4b33[_0x345435(0xe9)]=function(_0x4bd8c4,_0x4f8e65){return _0x4bd8c4>_0x4f8e65;},_0x3a4b33['fptGF']=function(_0x3632ae,_0x48225d){return _0x3632ae!==_0x48225d;},_0x3a4b33[_0x345435(0x112)]=_0x345435(0xd0),_0x3a4b33[_0x345435(0xff)]=function(_0x2c8e9f,_0x107345){return _0x2c8e9f&&_0x107345;};const _0x5b85c6=_0x3a4b33;try{const _0x3f0f47=bsSetupHelper['isTrue'](process[_0x345435(0x96)][_0x345435(0x8f)])||bsSetupHelper[_0x345435(0x106)](process[_0x345435(0x96)][_0x345435(0xdb)]),_0x461edb=_0x5b85c6[_0x345435(0xda)](typeof process[_0x345435(0x96)][_0x345435(0xf5)],_0x5b85c6[_0x345435(0xce)])&&_0x5b85c6[_0x345435(0xe9)](process[_0x345435(0x96)][_0x345435(0xf5)][_0x345435(0x100)],0x0)&&_0x5b85c6[_0x345435(0xa4)](process[_0x345435(0x96)]['BS_A11Y_JWT'],_0x5b85c6[_0x345435(0x112)]);return _0x5b85c6[_0x345435(0xff)](_0x3f0f47,_0x461edb);}catch(_0xa229d5){logger[_0x345435(0x11e)]('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0xa229d5);}return![];},exports[a97_0x350bf4(0xa6)]=(_0x3d37f9,_0x364546)=>{const _0x235458=a97_0x350bf4,_0x363dbb={'ezITF':_0x235458(0xb6),'CjxOK':function(_0x4d7b3f,_0x5af4e3){return _0x4d7b3f(_0x5af4e3);},'uOVvX':_0x235458(0xa0),'PkPsl':'version','vXgas':'bstack:options','vATjj':_0x235458(0x9b),'HYYVK':_0x235458(0xbc),'msudg':_0x235458(0x12b),'KmBnV':_0x235458(0xc5),'gJHkb':_0x235458(0x143),'faNxN':_0x235458(0xab),'xOZlk':_0x235458(0x85),'RhYDk':_0x235458(0xfe),'WdvEX':_0x235458(0x113),'OwVlQ':_0x235458(0x116),'LJkEb':_0x235458(0xcb),'NAneQ':function(_0x406337,_0xe0f2e6){return _0x406337===_0xe0f2e6;},'eWzyT':_0x235458(0x10a),'vSaDH':function(_0x25c596,_0x300d69){return _0x25c596>=_0x300d69;}},_0x1c7b48=_0x3d37f9['get'](_0x363dbb[_0x235458(0xcd)]),_0xcf3637=_0x363dbb[_0x235458(0x7b)](parseFloat,_0x3d37f9['get'](_0x363dbb[_0x235458(0x109)]))||_0x363dbb[_0x235458(0x7b)](parseFloat,_0x3d37f9[_0x235458(0xaf)](_0x363dbb[_0x235458(0x13f)])),_0x745ec0=_0x3d37f9['get'](_0x363dbb['vXgas'])||{},_0x153d8c=_0x363dbb[_0x235458(0x7b)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x1b9ea6=_0x745ec0[_0x363dbb[_0x235458(0x9a)]]||_0x3d37f9[_0x235458(0xaf)](_0x363dbb[_0x235458(0x10c)])||![];if(_0x1b9ea6)return logger[_0x235458(0x110)](_0x363dbb[_0x235458(0xf3)]),![];let _0x1036de;try{_0x1036de=bsSetupHelper['requireModule'](_0x363dbb['KmBnV'],_0x363dbb[_0x235458(0xdf)]);}catch(_0x3bfe2d){return![];}const _0x3e1946=new _0x1036de[(_0x235458(0xe5))](_0x364546[_0x235458(0xc2)]),_0x12aea2=bsSetupHelper['nestedKeyValue'](_0x3e1946,[_0x363dbb[_0x235458(0xe4)],_0x363dbb['xOZlk']])||bsSetupHelper[_0x235458(0x7c)](_0x364546[_0x235458(0x13c)],[_0x363dbb[_0x235458(0xfd)],_0x363dbb['RhYDk'],_0x363dbb[_0x235458(0x104)]])||bsSetupHelper[_0x235458(0x7c)](_0x364546[_0x235458(0x13c)],[_0x363dbb[_0x235458(0xdc)],_0x363dbb[_0x235458(0x104)]])||[];if(_0x12aea2[_0x235458(0xa7)](_0x363dbb[_0x235458(0x87)]))return logger[_0x235458(0x110)](_0x363dbb['OwVlQ']),![];const _0x46e1c5=_0x364546['capabilities_']||{},_0x3f99ac=bsSetupHelper[_0x235458(0x7c)](_0x46e1c5,[_0x363dbb['LJkEb']])||{},_0x56fad4=bsSetupHelper[_0x235458(0x7c)](_0x3f99ac,[_0x363dbb['xOZlk']])||[];if(_0x56fad4[_0x235458(0xa7)](_0x363dbb['WdvEX']))return logger[_0x235458(0x110)](_0x363dbb['OwVlQ']),![];if(_0x363dbb[_0x235458(0x142)](_0x1c7b48['toLowerCase'](),_0x363dbb[_0x235458(0x145)])&&_0x363dbb['vSaDH'](_0xcf3637,_0x153d8c))return!![];return logger[_0x235458(0x110)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0x2eeb95=>{const _0x582263=a97_0x350bf4,_0x2e9f68={};_0x2e9f68['qsmJU']='goog:chromeOptions',_0x2e9f68['nfihC']=function(_0x3117e3,_0x155c10){return _0x3117e3||_0x155c10;},_0x2e9f68['gwtlC']='Not\x20a\x20Accessibility\x20Session';const _0x10e5e4=_0x2e9f68,_0x556b02=scripts[_0x582263(0x134)];try{const _0x47d425=bsSetupHelper['isTrue'](process[_0x582263(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x582263(0x106)](process[_0x582263(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper['isBrowserstackInfra']()||process['env']['BROWSERSTACK_TURBOSCALE'])&&_0x47d425){const _0x7b4438=_0x2eeb95[_0x582263(0x12e)](),_0x1ffb36=_0x7b4438[_0x582263(0xaf)](_0x10e5e4['qsmJU']),_0x50ee7c=_0x10e5e4['nfihC'](_0x1ffb36,{});bsSetupHelper[_0x582263(0x128)](_0x50ee7c,_0x556b02),_0x2eeb95['getCapabilities']()[_0x582263(0x132)](_0x10e5e4[_0x582263(0x126)],_0x50ee7c);}else logger['warn'](_0x10e5e4[_0x582263(0xd6)]);}catch(_0x1e264a){logger[_0x582263(0xe6)]('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x1e264a);}},exports['shouldScanTestForAccessibility']=(_0x4882e3=null,_0x12c842=!![],_0x1cb7d6=[])=>{const _0x45ce0e=a97_0x350bf4,_0x4079aa={};_0x4079aa['cvZly']=function(_0x1c9560,_0x3c1359){return _0x1c9560==_0x3c1359;},_0x4079aa[_0x45ce0e(0x8a)]=function(_0x209335,_0x4c1d75){return _0x209335>_0x4c1d75;},_0x4079aa[_0x45ce0e(0xe8)]=function(_0x2b0ebf,_0xf0ab9f){return _0x2b0ebf===_0xf0ab9f;},_0x4079aa[_0x45ce0e(0x11b)]=function(_0x4864cb,_0x5d7939){return _0x4864cb&&_0x5d7939;},_0x4079aa[_0x45ce0e(0xa9)]=function(_0x1e8210,_0x263f27){return _0x1e8210===_0x263f27;};const _0x455e00=_0x4079aa;if(_0x455e00['cvZly'](process[_0x45ce0e(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x46e58b=JSON[_0x45ce0e(0x131)](process[_0x45ce0e(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x2cdb6c=Array[_0x45ce0e(0xfc)](_0x46e58b[_0x45ce0e(0x130)])?_0x46e58b[_0x45ce0e(0x130)]:[],_0x336dcb=Array[_0x45ce0e(0xfc)](_0x46e58b[_0x45ce0e(0x105)])?_0x46e58b[_0x45ce0e(0x105)]:[];if(bsSetupHelper[_0x45ce0e(0x8e)](_0x4882e3)){if(_0x455e00[_0x45ce0e(0x8a)](_0x1cb7d6[_0x45ce0e(0x100)],0x0)){const _0x5a903e=_0x336dcb[_0x45ce0e(0x90)](_0xfa7397=>_0x1cb7d6['includes'](_0xfa7397)),_0xbe4729=_0x455e00[_0x45ce0e(0xe8)](_0x2cdb6c[_0x45ce0e(0x100)],0x0)||_0x2cdb6c['some'](_0x29b04c=>_0x1cb7d6[_0x45ce0e(0xa7)](_0x29b04c));return _0x455e00[_0x45ce0e(0x11b)](!_0x5a903e,_0xbe4729);}return!![];}let _0x5aeb6e;_0x12c842?_0x5aeb6e=_0x4882e3[_0x45ce0e(0xc9)]('/'):_0x5aeb6e=_0x4882e3;const _0x3adb38=_0x336dcb[_0x45ce0e(0x90)](_0x2b554a=>_0x5aeb6e[_0x45ce0e(0xa7)](_0x2b554a)),_0x59ae99=_0x455e00[_0x45ce0e(0xa9)](_0x2cdb6c[_0x45ce0e(0x100)],0x0)||_0x2cdb6c[_0x45ce0e(0x90)](_0x2420f8=>_0x5aeb6e[_0x45ce0e(0xa7)](_0x2420f8));return _0x455e00['sLaDK'](!_0x3adb38,_0x59ae99);}catch(_0x576a96){logger[_0x45ce0e(0x11e)](_0x45ce0e(0x144)+util['format'](_0x576a96));}return![];},exports[a97_0x350bf4(0x83)]=_0x28f486=>{const _0xbff20b=a97_0x350bf4;let _0x3f82de=![];try{_0x28f486[_0xbff20b(0x81)]['forEach'](_0x3d8f9a=>{const _0x67e6b3=_0xbff20b;if(bsSetupHelper[_0x67e6b3(0x106)](_0x3d8f9a['accessibility']))return _0x3f82de=!![],!![];});}catch(_0x49f9f6){logger['debug'](_0xbff20b(0x114)+_0x49f9f6);}return _0x3f82de||bsSetupHelper[_0xbff20b(0x106)](_0x28f486['accessibility']);},exports['createAccessibilityTestRun']=PerformanceTester[a97_0x350bf4(0x88)](a97_0x350bf4(0x12a),async function(_0xf5e27b,_0x281fa5){const _0x57b5cc=a97_0x350bf4,_0x4dd0ef={};_0x4dd0ef['omeiK']=_0x57b5cc(0xad),_0x4dd0ef[_0x57b5cc(0x9d)]=_0x57b5cc(0xb8),_0x4dd0ef['btjuv']=_0x57b5cc(0xbd),_0x4dd0ef[_0x57b5cc(0x10f)]=_0x57b5cc(0xea),_0x4dd0ef[_0x57b5cc(0x118)]='POST',_0x4dd0ef[_0x57b5cc(0xc7)]='v2/test_runs',_0x4dd0ef['spdrl']=function(_0x597c0b,_0x1b6774){return _0x597c0b===_0x1b6774;},_0x4dd0ef['iEAjt']=_0x57b5cc(0x127),_0x4dd0ef['mpdVA']=_0x57b5cc(0x103);const _0x43087b=_0x4dd0ef,_0xa06fcc=bsSetupHelper[_0x57b5cc(0x99)](_0xf5e27b),_0x3fbf46=bsSetupHelper[_0x57b5cc(0x12d)](_0xf5e27b);if(bsSetupHelper[_0x57b5cc(0x8e)](_0xa06fcc)||bsSetupHelper[_0x57b5cc(0x8e)](_0x3fbf46))return logger[_0x57b5cc(0xe6)](_0x43087b[_0x57b5cc(0xaa)]),[null,null];try{let _0xcb35c5;bsSetupHelper[_0x57b5cc(0x8e)](process[_0x57b5cc(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0xcb35c5={}:_0xcb35c5=JSON[_0x57b5cc(0x131)](process[_0x57b5cc(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x39eb3a,version:_0x562d2e}=bsSetupHelper[_0x57b5cc(0xb5)](_0xf5e27b,_0x281fa5),_0xc7c57f={'projectName':_0xf5e27b[_0x57b5cc(0xde)],'buildName':_0xf5e27b[_0x57b5cc(0x122)]||path[_0x57b5cc(0xd1)](path[_0x57b5cc(0x7f)](process['cwd']())),'startTime':new Date()['toISOString'](),'description':_0xf5e27b['buildDescription']||'','source':{'frameworkName':_0x281fa5[_0x57b5cc(0xa7)](_0x43087b[_0x57b5cc(0x9d)])?_0x43087b[_0x57b5cc(0x9d)]:_0x281fa5,'frameworkVersion':bsSetupHelper[_0x57b5cc(0x84)](_0x281fa5),'sdkVersion':bsSetupHelper[_0x57b5cc(0xb7)](),'language':_0x43087b[_0x57b5cc(0xba)],'testFramework':_0x39eb3a,'testFrameworkVersion':_0x562d2e},'settings':_0xcb35c5,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x57b5cc(0xee)](),'hostInfo':bsSetupHelper[_0x57b5cc(0xcf)](),'browserstackAutomation':bsSetupHelper[_0x57b5cc(0x11c)]()},_0xe12f43={};_0xe12f43[_0x57b5cc(0x95)]=_0xa06fcc,_0xe12f43['pass']=_0x3fbf46;const _0x483425={};_0x483425[_0x57b5cc(0xd9)]=_0x43087b[_0x57b5cc(0x10f)];const _0x45b8de={};_0x45b8de[_0x57b5cc(0xeb)]=_0xe12f43,_0x45b8de[_0x57b5cc(0x117)]=_0x483425;const _0x5ba3c2=_0x45b8de,_0xc2c146={};_0xc2c146[_0x57b5cc(0x12f)]=_0xc7c57f,_0xc2c146['json']=!![];const _0x399805=Object[_0x57b5cc(0xe7)](_0x5ba3c2,_0xc2c146),_0x3a72a8=await bsSetupHelper['nodeRequest'](_0x43087b[_0x57b5cc(0x118)],_0x43087b[_0x57b5cc(0xc7)],_0x399805,_0xf5e27b,API_URL);let _0xf623ee=process[_0x57b5cc(0x96)][_0x57b5cc(0xac)];return _0xf623ee?_0xf623ee=JSON[_0x57b5cc(0x131)](process['env'][_0x57b5cc(0xac)]):_0xf623ee={},scripts[_0x57b5cc(0xd4)](_0x3a72a8[_0x57b5cc(0x13e)][_0x57b5cc(0x13e)]),scripts[_0x57b5cc(0x121)](),_0xf623ee[_0x57b5cc(0xbb)]=_0x3a72a8['data'][_0x57b5cc(0x13e)][_0x57b5cc(0xbb)],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x57b5cc(0x111)](_0xf623ee),[_0x3a72a8['data'][_0x57b5cc(0x13e)]['accessibilityToken'],_0x3a72a8[_0x57b5cc(0x13e)]['data']['id']];}catch(_0xa3bb21){if(_0xa3bb21[_0x57b5cc(0x10d)])logger[_0x57b5cc(0xe6)](_0x57b5cc(0x108)+_0xa3bb21[_0x57b5cc(0x10d)][_0x57b5cc(0x146)]+'\x20'+_0xa3bb21[_0x57b5cc(0x10d)][_0x57b5cc(0xec)]+'\x20'+JSON[_0x57b5cc(0x111)](_0xa3bb21[_0x57b5cc(0x10d)][_0x57b5cc(0x13e)]));else{if(_0x43087b[_0x57b5cc(0xc0)](_0xa3bb21[_0x57b5cc(0xd2)],_0x43087b[_0x57b5cc(0xd8)])){logger[_0x57b5cc(0xe6)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0xa3bb21[_0x57b5cc(0xd2)]||_0xa3bb21[_0x57b5cc(0xb2)]));for(const _0x5b21fc of _0xa3bb21[_0x57b5cc(0x8c)]){logger[_0x57b5cc(0xe6)](_0x5b21fc[_0x57b5cc(0xd2)]);}process[_0x57b5cc(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x43087b[_0x57b5cc(0xca)],process[_0x57b5cc(0x96)][_0x57b5cc(0xdb)]=_0x43087b[_0x57b5cc(0xca)];}else logger[_0x57b5cc(0xe6)](_0x57b5cc(0x108)+(_0xa3bb21[_0x57b5cc(0xd2)]||_0xa3bb21['stack']));}return[null,null];}}),exports[a97_0x350bf4(0x129)]=PerformanceTester[a97_0x350bf4(0x88)](a97_0x350bf4(0xf1),async function(_0x438efe){const _0x4dd36b=a97_0x350bf4,_0x524515={};_0x524515[_0x4dd36b(0x138)]=function(_0x2b626c,_0x43c1f8){return _0x2b626c!==_0x43c1f8;},_0x524515[_0x4dd36b(0x135)]='string',_0x524515['uSWrf']=_0x4dd36b(0xe6),_0x524515[_0x4dd36b(0xc8)]=_0x4dd36b(0x136),_0x524515[_0x4dd36b(0xa1)]=_0x4dd36b(0xea),_0x524515[_0x4dd36b(0xfa)]=_0x4dd36b(0x8b),_0x524515[_0x4dd36b(0x125)]=_0x4dd36b(0xf6),_0x524515['Tltrg']=function(_0x4c60c0,_0x72436){return _0x4c60c0+_0x72436;},_0x524515[_0x4dd36b(0xbf)]=_0x4dd36b(0x98),_0x524515['hhxqW']=_0x4dd36b(0x147);const _0x55d15e=_0x524515;if(bsSetupHelper['isUndefined'](process[_0x4dd36b(0x96)][_0x4dd36b(0xf5)])||_0x55d15e['iDHZN'](typeof process[_0x4dd36b(0x96)][_0x4dd36b(0xf5)],_0x55d15e[_0x4dd36b(0x135)])){const _0x2c4c12={};return _0x2c4c12[_0x4dd36b(0x146)]=_0x55d15e[_0x4dd36b(0xa2)],_0x2c4c12[_0x4dd36b(0xd2)]=_0x55d15e[_0x4dd36b(0xc8)],_0x2c4c12;}const _0x2b5f16={'endTime':new Date()[_0x4dd36b(0x11a)]()},_0x14f055={};_0x14f055[_0x4dd36b(0xe2)]=_0x4dd36b(0xf8)+process[_0x4dd36b(0x96)][_0x4dd36b(0xf5)],_0x14f055['Content-Type']=_0x55d15e['qZudl'];const _0x2bd66e={};_0x2bd66e[_0x4dd36b(0x117)]=_0x14f055;const _0x1cf15c=_0x2bd66e,_0x555ca1={};_0x555ca1[_0x4dd36b(0x12f)]=_0x2b5f16,_0x555ca1[_0x4dd36b(0xeb)]=null,_0x555ca1[_0x4dd36b(0x11d)]=!![];const _0x2dfc9c=Object[_0x4dd36b(0xe7)](_0x1cf15c,_0x555ca1);try{const _0x4fc941=await bsSetupHelper[_0x4dd36b(0xd7)](_0x55d15e[_0x4dd36b(0xfa)],_0x55d15e[_0x4dd36b(0x125)],_0x2dfc9c,_0x438efe,API_URL);if(_0x4fc941['data'][_0x4dd36b(0xe6)])throw new Error(_0x55d15e['Tltrg'](_0x55d15e[_0x4dd36b(0xbf)],_0x4fc941[_0x4dd36b(0x13e)][_0x4dd36b(0xe6)]));else{logger['info']('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x4dd36b(0x11a)]());const _0x2a4ada={};return _0x2a4ada[_0x4dd36b(0x146)]=_0x55d15e['hhxqW'],_0x2a4ada[_0x4dd36b(0xd2)]='',_0x2a4ada;}}catch(_0x579aab){_0x579aab[_0x4dd36b(0x10d)]?logger['error'](_0x4dd36b(0x94)+_0x579aab[_0x4dd36b(0x10d)][_0x4dd36b(0x146)]+'\x20'+_0x579aab[_0x4dd36b(0x10d)]['statusText']+'\x20'+JSON[_0x4dd36b(0x111)](_0x579aab[_0x4dd36b(0x10d)]['data'])):logger['error'](_0x4dd36b(0x94)+(_0x579aab[_0x4dd36b(0xd2)]||util[_0x4dd36b(0x7e)](_0x579aab)));const _0x337777={};return _0x337777[_0x4dd36b(0x146)]=_0x55d15e[_0x4dd36b(0xa2)],_0x337777['message']=_0x579aab[_0x4dd36b(0xd2)]||(_0x579aab[_0x4dd36b(0x10d)]?_0x579aab[_0x4dd36b(0x10d)][_0x4dd36b(0x146)]+':'+_0x579aab[_0x4dd36b(0x10d)]['statusText']:_0x579aab),_0x337777;}}),exports['performScan']=async(_0x4ea4e4,_0x158f08=null)=>{const _0x433066=a97_0x350bf4,_0xccf2d6={};_0xccf2d6[_0x433066(0xae)]='isAccessibilityPlatform',_0xccf2d6[_0x433066(0x123)]='bstackA11yShouldScan',_0xccf2d6[_0x433066(0x11f)]=_0x433066(0xb0);const _0xdc6c52=_0xccf2d6;if(!this[_0x433066(0x12c)]()||!globals[_0x433066(0x102)](_0xdc6c52[_0x433066(0xae)])||!globals[_0x433066(0x102)](_0xdc6c52[_0x433066(0x123)])){logger[_0x433066(0x110)](_0xdc6c52[_0x433066(0x11f)]);return;}return await PerformanceTester[_0x433066(0x88)](PerformanceA11yEvents[_0x433066(0x89)],async()=>{const _0x579319=_0x433066,_0x189bae={};_0x189bae[_0x579319(0xb4)]=_0x158f08||global['browserstackSessionName'];const _0x15a5b8=util[_0x579319(0x7e)](await _0x4ea4e4[_0x579319(0x13a)](scripts['performScan'],_0x189bae));return logger[_0x579319(0x11e)](_0x579319(0xcc)+_0x15a5b8),_0x15a5b8;},{'command':_0x158f08})();},exports[a97_0x350bf4(0xf0)]=async(_0x132b0f,_0x51326e)=>{const _0x6ca932=a97_0x350bf4,_0x3e6540={};_0x3e6540[_0x6ca932(0xef)]=_0x6ca932(0xbe),_0x3e6540[_0x6ca932(0x101)]=_0x6ca932(0x9f),_0x3e6540[_0x6ca932(0xb3)]=_0x6ca932(0x13b),_0x3e6540[_0x6ca932(0x8d)]=_0x6ca932(0x97),_0x3e6540[_0x6ca932(0x141)]=_0x6ca932(0xf0),_0x3e6540['yFHTb']='No\x20accessibility\x20results\x20were\x20found.';const _0x11e47a=_0x3e6540;if(!this['isAccessibilityAutomationSession']()||!globals[_0x6ca932(0x102)](_0x11e47a['XMtRP'])||!globals[_0x6ca932(0x102)](_0x11e47a[_0x6ca932(0xb3)]))return logger[_0x6ca932(0x110)](_0x11e47a[_0x6ca932(0x8d)]),[];try{return await PerformanceTester[_0x6ca932(0x88)](PerformanceA11yEvents[_0x6ca932(0x89)],async()=>{const _0x2269f3=_0x6ca932;logger[_0x2269f3(0x11e)](_0x11e47a['HJikM']);const _0x2fb133={};_0x2fb133['method']=_0x51326e[_0x2269f3(0xdd)],logger[_0x2269f3(0x11e)](util[_0x2269f3(0x7e)](await _0x132b0f[_0x2269f3(0x13a)](scripts['performScan'],_0x2fb133)));},{'command':_0x11e47a[_0x6ca932(0x141)]})(),await PerformanceTester[_0x6ca932(0x88)](PerformanceA11yEvents[_0x6ca932(0xd3)],async()=>{const _0x49861b=_0x6ca932,_0x3d3e66=await _0x132b0f[_0x49861b(0x13a)](scripts[_0x49861b(0xa3)]);return _0x3d3e66;})();}catch{return logger[_0x6ca932(0xe6)](_0x11e47a[_0x6ca932(0xb9)]),[];}},exports[a97_0x350bf4(0x139)]=async(_0x17350f,_0x431d88)=>{const _0x4afdd2=a97_0x350bf4,_0x16571f={};_0x16571f[_0x4afdd2(0xc4)]=_0x4afdd2(0x119),_0x16571f[_0x4afdd2(0xa8)]='isAccessibilityPlatform',_0x16571f[_0x4afdd2(0x86)]=_0x4afdd2(0x13b),_0x16571f['uINPd']=_0x4afdd2(0x137),_0x16571f[_0x4afdd2(0xc6)]='getAccessibilityResultsSummary',_0x16571f[_0x4afdd2(0x133)]=_0x4afdd2(0x13d);const _0x1f61cc=_0x16571f;if(!this['isAccessibilityAutomationSession']()||!globals[_0x4afdd2(0x102)](_0x1f61cc[_0x4afdd2(0xa8)])||!globals[_0x4afdd2(0x102)](_0x1f61cc[_0x4afdd2(0x86)]))return logger[_0x4afdd2(0x110)](_0x1f61cc['uINPd']),{};try{return await PerformanceTester[_0x4afdd2(0x88)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x43e525=_0x4afdd2;logger[_0x43e525(0x11e)](_0x1f61cc[_0x43e525(0xc4)]);const _0x39dae2={};_0x39dae2['method']=_0x431d88['browserstackSessionName'],logger['debug'](util[_0x43e525(0x7e)](await _0x17350f[_0x43e525(0x13a)](scripts[_0x43e525(0x124)],_0x39dae2)));},{'command':_0x1f61cc[_0x4afdd2(0xc6)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0xff60f8=_0x4afdd2,_0x10f86a=await _0x17350f[_0xff60f8(0x13a)](scripts[_0xff60f8(0xf2)]);return _0x10f86a;})();}catch{return logger['error'](_0x1f61cc[_0x4afdd2(0x133)]),{};}},exports['isBrowserStackCommandExecutor']=_0x2cc6c1=>{const _0x3b56f2=a97_0x350bf4,_0x284d6e={};_0x284d6e[_0x3b56f2(0x120)]=function(_0x270efa,_0x538ac1){return _0x270efa===_0x538ac1;},_0x284d6e[_0x3b56f2(0x82)]='string',_0x284d6e[_0x3b56f2(0x9c)]=_0x3b56f2(0xf4);const _0x26d506=_0x284d6e;if(_0x2cc6c1&&_0x2cc6c1['script']&&_0x26d506['wZRSI'](typeof _0x2cc6c1['script'],_0x26d506[_0x3b56f2(0x82)]))return _0x2cc6c1[_0x3b56f2(0xfb)][_0x3b56f2(0xa7)](_0x26d506[_0x3b56f2(0x9c)]);return![];};
@@ -1 +1 @@
1
- const a98_0x5e4484=a98_0x3bd6;function a98_0x3bd6(_0x5c9ac2,_0x2386af){const _0x2bf846=a98_0x2bf8();return a98_0x3bd6=function(_0x3bd648,_0x3b45da){_0x3bd648=_0x3bd648-0x1a2;let _0x4bb5d1=_0x2bf846[_0x3bd648];return _0x4bb5d1;},a98_0x3bd6(_0x5c9ac2,_0x2386af);}(function(_0x29f8c2,_0x1e133e){const _0xcc3e50=a98_0x3bd6,_0x56772d=_0x29f8c2();while(!![]){try{const _0x4a12ce=-parseInt(_0xcc3e50(0x1ac))/0x1*(parseInt(_0xcc3e50(0x1d5))/0x2)+parseInt(_0xcc3e50(0x1d9))/0x3*(parseInt(_0xcc3e50(0x1b3))/0x4)+parseInt(_0xcc3e50(0x1ad))/0x5*(parseInt(_0xcc3e50(0x1bc))/0x6)+parseInt(_0xcc3e50(0x1a3))/0x7*(-parseInt(_0xcc3e50(0x1d0))/0x8)+-parseInt(_0xcc3e50(0x1a5))/0x9*(parseInt(_0xcc3e50(0x1af))/0xa)+-parseInt(_0xcc3e50(0x1c0))/0xb*(parseInt(_0xcc3e50(0x1b8))/0xc)+parseInt(_0xcc3e50(0x1bd))/0xd*(parseInt(_0xcc3e50(0x1c4))/0xe);if(_0x4a12ce===_0x1e133e)break;else _0x56772d['push'](_0x56772d['shift']());}catch(_0x458776){_0x56772d['push'](_0x56772d['shift']());}}}(a98_0x2bf8,0x5fb52));const path=require(a98_0x5e4484(0x1c2)),fs=require('fs'),logger=require('../../helpers/logger')['winstonLogger'],helper=require('../helper');class Scripts{constructor(){const _0x20ee74=a98_0x5e4484,_0x3abcff={};_0x3abcff[_0x20ee74(0x1ca)]=_0x20ee74(0x1cb),_0x3abcff['TdSBz']=_0x20ee74(0x1d2),_0x3abcff['dPUBO']=_0x20ee74(0x1ae);const _0x502198=_0x3abcff,_0x4671d1=_0x502198[_0x20ee74(0x1ca)]['split']('|');let _0x49ed7d=0x0;while(!![]){switch(_0x4671d1[_0x49ed7d++]){case'0':this[_0x20ee74(0x1b5)]=null;continue;case'1':this[_0x20ee74(0x1c9)]=path['join'](helper[_0x20ee74(0x1de)](),_0x502198[_0x20ee74(0x1d6)]);continue;case'2':this['fromJson']();continue;case'3':this[_0x20ee74(0x1a8)]=null;continue;case'4':this[_0x20ee74(0x1bb)]=null;continue;case'5':this[_0x20ee74(0x1b7)]=null;continue;case'6':this[_0x20ee74(0x1bf)]=path['join'](this[_0x20ee74(0x1c9)],_0x502198[_0x20ee74(0x1b2)]);continue;}break;}}['parseFromJson'](_0x131787){const _0x3255be=a98_0x5e4484;_0x131787[_0x3255be(0x1dd)]&&(this[_0x3255be(0x1b7)]=_0x131787[_0x3255be(0x1dd)][_0x3255be(0x1b1)],this['getResults']=_0x131787[_0x3255be(0x1dd)]['getResults'],this[_0x3255be(0x1bb)]=_0x131787[_0x3255be(0x1dd)][_0x3255be(0x1bb)],this[_0x3255be(0x1a8)]=_0x131787[_0x3255be(0x1dd)]['saveResults']),this[_0x3255be(0x1aa)]=_0x131787['commands'],this[_0x3255be(0x1be)]=_0x131787[_0x3255be(0x1cf)];}[a98_0x5e4484(0x1c1)](_0x58e707,_0x20fa3c){const _0x2a271f=a98_0x5e4484,_0x185eb2={};_0x185eb2[_0x2a271f(0x1a7)]=function(_0x51ccf8,_0x6cbc92){return _0x51ccf8>_0x6cbc92;},_0x185eb2[_0x2a271f(0x1ab)]=function(_0x4a23b7,_0x5500f8){return _0x4a23b7===_0x5500f8;},_0x185eb2[_0x2a271f(0x1b9)]=_0x2a271f(0x1b1),_0x185eb2[_0x2a271f(0x1c7)]=function(_0x21c58b,_0x1edb76){return _0x21c58b===_0x1edb76;},_0x185eb2[_0x2a271f(0x1ba)]='getResults',_0x185eb2[_0x2a271f(0x1da)]=function(_0x466536,_0x21d116){return _0x466536===_0x21d116;},_0x185eb2[_0x2a271f(0x1b0)]=_0x2a271f(0x1bb),_0x185eb2[_0x2a271f(0x1df)]='saveResults',_0x185eb2[_0x2a271f(0x1a9)]=function(_0x15245c,_0x5eb79e){return _0x15245c>_0x5eb79e;};const _0x4e04cf=_0x185eb2;if(_0x58e707&&_0x4e04cf[_0x2a271f(0x1a7)](_0x58e707['length'],0x0))for(const _0x547a26 of _0x58e707){if(_0x4e04cf[_0x2a271f(0x1ab)](_0x547a26['getName'](),_0x4e04cf[_0x2a271f(0x1b9)]))this[_0x2a271f(0x1b7)]=_0x547a26[_0x2a271f(0x1a4)]();else{if(_0x4e04cf[_0x2a271f(0x1c7)](_0x547a26[_0x2a271f(0x1d1)](),_0x4e04cf[_0x2a271f(0x1ba)]))this['getResults']=_0x547a26['getCommand']();else{if(_0x4e04cf[_0x2a271f(0x1da)](_0x547a26[_0x2a271f(0x1d1)](),_0x4e04cf[_0x2a271f(0x1b0)]))this[_0x2a271f(0x1bb)]=_0x547a26['getCommand']();else _0x4e04cf[_0x2a271f(0x1da)](_0x547a26[_0x2a271f(0x1d1)](),_0x4e04cf[_0x2a271f(0x1df)])&&(this[_0x2a271f(0x1a8)]=_0x547a26[_0x2a271f(0x1a4)]());}}}_0x20fa3c&&_0x4e04cf['qijHr'](_0x20fa3c['length'],0x0)&&(this[_0x2a271f(0x1aa)]=_0x20fa3c[_0x2a271f(0x1d4)](_0x400eb6=>{const _0x3efe21=_0x2a271f;return{'name':_0x400eb6['getName'](),'method':_0x400eb6['getMethod'](),'library':_0x400eb6['getLibrary'](),'module':_0x400eb6[_0x3efe21(0x1d7)](),'class':_0x400eb6[_0x3efe21(0x1c6)]()};}));}[a98_0x5e4484(0x1ce)](_0x3af26c){const _0x4df1a8=a98_0x5e4484,_0x502755={};_0x502755[_0x4df1a8(0x1dc)]=function(_0x22a31b,_0x3651f3){return _0x22a31b!==_0x3651f3;};const _0x9a9e5d=_0x502755;try{return _0x9a9e5d[_0x4df1a8(0x1dc)](this[_0x4df1a8(0x1aa)][_0x4df1a8(0x1d3)](_0x2f6c8f=>_0x2f6c8f[_0x4df1a8(0x1db)][_0x4df1a8(0x1a6)]()===_0x3af26c[_0x4df1a8(0x1a6)]()),-0x1);}catch(_0x1278e8){logger[_0x4df1a8(0x1d8)](_0x4df1a8(0x1b6)+_0x1278e8);}return![];}[a98_0x5e4484(0x1c3)](){const _0x533852=a98_0x5e4484;!fs[_0x533852(0x1a2)](this[_0x533852(0x1c9)])&&fs[_0x533852(0x1b4)](this[_0x533852(0x1c9)]),fs[_0x533852(0x1c8)](this[_0x533852(0x1bf)],JSON[_0x533852(0x1c5)]({'scripts':{'scan':this['performScan'],'getResults':this[_0x533852(0x1b5)],'getResultsSummary':this[_0x533852(0x1bb)],'saveResults':this[_0x533852(0x1a8)]},'commands':this[_0x533852(0x1aa)],'nonBStackInfraA11yChromeOptions':this[_0x533852(0x1be)]}));}['fromJson'](){const _0x341b93=a98_0x5e4484,_0x302f66={'osEoE':function(_0x202946,_0x3fc814){return _0x202946(_0x3fc814);}};fs['existsSync'](this[_0x341b93(0x1bf)])&&this[_0x341b93(0x1cd)](_0x302f66['osEoE'](require,this[_0x341b93(0x1bf)]));}}function a98_0x2bf8(){const _0xba0243=['23027628HneIjU','ChromeExtension','commandsPath','615054eZckQP','parseFromProto','path','toJson','14liqfBT','stringify','getClass','hHTMd','writeFileSync','browserstackFolderPath','GhITo','5|0|4|3|1|6|2','exports','parseFromJson','shouldWrapCommand','nonBStackInfraA11yChromeOptions','56EAMzcf','getName','.browserstack','findIndex','map','26294bLGvGk','TdSBz','getModule','debug','3bnUvgZ','sRbUe','name','dhMyt','scripts','homedir','PxJPt','existsSync','730114CXjizU','getCommand','3761307ZElwJp','toLowerCase','vPNKM','saveTestResults','qijHr','commandsToWrap','wlQmG','36BhRreN','255005CmiuSZ','commands.json','10DMmXCq','CGczf','scan','dPUBO','210904aCJljL','mkdirSync','getResults','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','performScan','36eQOGJF','SKZvy','EWwDw','getResultsSummary','42dSDVVX'];a98_0x2bf8=function(){return _0xba0243;};return a98_0x2bf8();}module[a98_0x5e4484(0x1cc)]=new Scripts();
1
+ const a98_0x5c5e62=a98_0x1377;(function(_0x18d1f5,_0x56ba85){const _0x272de9=a98_0x1377,_0x481072=_0x18d1f5();while(!![]){try{const _0x12a46f=parseInt(_0x272de9(0x110))/0x1+parseInt(_0x272de9(0xf1))/0x2*(-parseInt(_0x272de9(0x107))/0x3)+-parseInt(_0x272de9(0xeb))/0x4+parseInt(_0x272de9(0x101))/0x5+-parseInt(_0x272de9(0x10b))/0x6*(parseInt(_0x272de9(0x111))/0x7)+parseInt(_0x272de9(0x11d))/0x8*(-parseInt(_0x272de9(0xf8))/0x9)+parseInt(_0x272de9(0x108))/0xa;if(_0x12a46f===_0x56ba85)break;else _0x481072['push'](_0x481072['shift']());}catch(_0x5dd304){_0x481072['push'](_0x481072['shift']());}}}(a98_0x4891,0x33fe8));const path=require(a98_0x5c5e62(0xf5)),fs=require('fs'),logger=require('../../helpers/logger')[a98_0x5c5e62(0xec)],helper=require(a98_0x5c5e62(0x10d));class Scripts{constructor(){const _0x372f7c=a98_0x5c5e62,_0x2c61fa={};_0x2c61fa[_0x372f7c(0xf9)]=_0x372f7c(0xf2),_0x2c61fa[_0x372f7c(0x11b)]='commands.json',_0x2c61fa[_0x372f7c(0xf3)]='.browserstack';const _0x291b6b=_0x2c61fa,_0x13c86b=_0x291b6b[_0x372f7c(0xf9)]['split']('|');let _0xe1972d=0x0;while(!![]){switch(_0x13c86b[_0xe1972d++]){case'0':this[_0x372f7c(0xfa)]=null;continue;case'1':this[_0x372f7c(0x10e)]=null;continue;case'2':this[_0x372f7c(0xed)]=path[_0x372f7c(0xef)](this[_0x372f7c(0x112)],_0x291b6b[_0x372f7c(0x11b)]);continue;case'3':this['getResults']=null;continue;case'4':this[_0x372f7c(0xfe)]();continue;case'5':this[_0x372f7c(0x112)]=path[_0x372f7c(0xef)](helper[_0x372f7c(0x100)](),_0x291b6b[_0x372f7c(0xf3)]);continue;case'6':this['performScan']=null;continue;}break;}}[a98_0x5c5e62(0xe9)](_0x436c97){const _0x2aae3c=a98_0x5c5e62;_0x436c97['scripts']&&(this[_0x2aae3c(0xff)]=_0x436c97[_0x2aae3c(0xfc)]['scan'],this['getResults']=_0x436c97[_0x2aae3c(0xfc)][_0x2aae3c(0xf7)],this[_0x2aae3c(0xfa)]=_0x436c97[_0x2aae3c(0xfc)][_0x2aae3c(0xfa)],this['saveTestResults']=_0x436c97[_0x2aae3c(0xfc)]['saveResults']),this[_0x2aae3c(0x117)]=_0x436c97['commands'],this[_0x2aae3c(0x103)]=_0x436c97[_0x2aae3c(0xf4)];}[a98_0x5c5e62(0xfd)](_0x430688,_0x39c047){const _0x4c049b=a98_0x5c5e62,_0x16138c={};_0x16138c['kpZlH']=function(_0x41faea,_0x3ca700){return _0x41faea>_0x3ca700;},_0x16138c[_0x4c049b(0xea)]=function(_0x22d3ee,_0x5db321){return _0x22d3ee===_0x5db321;},_0x16138c['FPXWz']='scan',_0x16138c['mXqKN']=_0x4c049b(0xf7),_0x16138c[_0x4c049b(0x109)]=function(_0x3c5ae9,_0x2a796b){return _0x3c5ae9===_0x2a796b;},_0x16138c[_0x4c049b(0xe6)]='getResultsSummary',_0x16138c[_0x4c049b(0x114)]=function(_0x26f7a8,_0x1e1d53){return _0x26f7a8===_0x1e1d53;},_0x16138c['nFBlM']=_0x4c049b(0x118);const _0x8db58=_0x16138c;if(_0x430688&&_0x8db58[_0x4c049b(0xfb)](_0x430688['length'],0x0))for(const _0x4ff763 of _0x430688){if(_0x8db58[_0x4c049b(0xea)](_0x4ff763[_0x4c049b(0x119)](),_0x8db58[_0x4c049b(0x116)]))this[_0x4c049b(0xff)]=_0x4ff763[_0x4c049b(0x106)]();else{if(_0x8db58[_0x4c049b(0xea)](_0x4ff763[_0x4c049b(0x119)](),_0x8db58[_0x4c049b(0x10c)]))this[_0x4c049b(0xf7)]=_0x4ff763[_0x4c049b(0x106)]();else{if(_0x8db58[_0x4c049b(0x109)](_0x4ff763[_0x4c049b(0x119)](),_0x8db58['WTlCn']))this[_0x4c049b(0xfa)]=_0x4ff763[_0x4c049b(0x106)]();else _0x8db58[_0x4c049b(0x114)](_0x4ff763[_0x4c049b(0x119)](),_0x8db58[_0x4c049b(0xf0)])&&(this['saveTestResults']=_0x4ff763[_0x4c049b(0x106)]());}}}_0x39c047&&_0x8db58[_0x4c049b(0xfb)](_0x39c047[_0x4c049b(0x104)],0x0)&&(this[_0x4c049b(0x117)]=_0x39c047['map'](_0x509d90=>{const _0x86d85b=_0x4c049b;return{'name':_0x509d90[_0x86d85b(0x119)](),'method':_0x509d90[_0x86d85b(0x105)](),'library':_0x509d90['getLibrary'](),'module':_0x509d90['getModule'](),'class':_0x509d90[_0x86d85b(0xe7)]()};}));}[a98_0x5c5e62(0x115)](_0x30d7eb){const _0x11be69=a98_0x5c5e62,_0x6410d0={};_0x6410d0['Mcpyr']=function(_0x2dc8a5,_0x13b78d){return _0x2dc8a5!==_0x13b78d;};const _0x2efd09=_0x6410d0;try{return _0x2efd09[_0x11be69(0xf6)](this[_0x11be69(0x117)][_0x11be69(0x10f)](_0x362394=>_0x362394[_0x11be69(0x11e)][_0x11be69(0x11f)]()===_0x30d7eb[_0x11be69(0x11f)]()),-0x1);}catch(_0x5e66ae){logger['debug'](_0x11be69(0x11c)+_0x5e66ae);}return![];}[a98_0x5c5e62(0x102)](){const _0xc3d78d=a98_0x5c5e62;!fs[_0xc3d78d(0xee)](this[_0xc3d78d(0x112)])&&fs[_0xc3d78d(0x113)](this[_0xc3d78d(0x112)]),fs[_0xc3d78d(0x10a)](this[_0xc3d78d(0xed)],JSON[_0xc3d78d(0xe5)]({'scripts':{'scan':this[_0xc3d78d(0xff)],'getResults':this[_0xc3d78d(0xf7)],'getResultsSummary':this[_0xc3d78d(0xfa)],'saveResults':this[_0xc3d78d(0x10e)]},'commands':this[_0xc3d78d(0x117)],'nonBStackInfraA11yChromeOptions':this[_0xc3d78d(0x103)]}));}['fromJson'](){const _0x3d31ab=a98_0x5c5e62,_0x31677e={'yTRTT':function(_0x5363eb,_0x1fbfec){return _0x5363eb(_0x1fbfec);}};fs[_0x3d31ab(0xee)](this[_0x3d31ab(0xed)])&&this[_0x3d31ab(0xe9)](_0x31677e[_0x3d31ab(0x11a)](require,this[_0x3d31ab(0xed)]));}}function a98_0x1377(_0x4da1a3,_0x553881){const _0x4891de=a98_0x4891();return a98_0x1377=function(_0x137701,_0x315e2a){_0x137701=_0x137701-0xe5;let _0x540653=_0x4891de[_0x137701];return _0x540653;},a98_0x1377(_0x4da1a3,_0x553881);}module[a98_0x5c5e62(0xe8)]=new Scripts();function a98_0x4891(){const _0x194de2=['6|3|0|1|5|2|4','VvOZv','nonBStackInfraA11yChromeOptions','path','Mcpyr','getResults','126vgeCfy','zIcaQ','getResultsSummary','kpZlH','scripts','parseFromProto','fromJson','performScan','homedir','968695WhDDcl','toJson','ChromeExtension','length','getMethod','getCommand','54039tMJluZ','732640iAmjyy','tGxvV','writeFileSync','140874PSMVUd','mXqKN','../helper','saveTestResults','findIndex','273564zPycLL','7dyUIhh','browserstackFolderPath','mkdirSync','TNfRn','shouldWrapCommand','FPXWz','commandsToWrap','saveResults','getName','yTRTT','ubbJJ','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','14728OdaaiM','name','toLowerCase','stringify','WTlCn','getClass','exports','parseFromJson','QNDbv','176708ppVZkL','winstonLogger','commandsPath','existsSync','join','nFBlM','26VQCqOP'];a98_0x4891=function(){return _0x194de2;};return a98_0x4891();}
@@ -1 +1 @@
1
- const a99_0x1a5657=a99_0x53e0;function a99_0x53e0(_0x2f07ec,_0x213122){const _0x2b6e5e=a99_0x2b6e();return a99_0x53e0=function(_0x53e063,_0x5921d7){_0x53e063=_0x53e063-0xa3;let _0x2abc8f=_0x2b6e5e[_0x53e063];return _0x2abc8f;},a99_0x53e0(_0x2f07ec,_0x213122);}(function(_0x77a303,_0x4addfb){const _0x57ec71=a99_0x53e0,_0x3fdf61=_0x77a303();while(!![]){try{const _0x43cb87=-parseInt(_0x57ec71(0xb6))/0x1+parseInt(_0x57ec71(0xf8))/0x2+-parseInt(_0x57ec71(0xce))/0x3+parseInt(_0x57ec71(0xb3))/0x4*(-parseInt(_0x57ec71(0xde))/0x5)+parseInt(_0x57ec71(0xf0))/0x6*(parseInt(_0x57ec71(0xbe))/0x7)+-parseInt(_0x57ec71(0x100))/0x8+parseInt(_0x57ec71(0xc2))/0x9;if(_0x43cb87===_0x4addfb)break;else _0x3fdf61['push'](_0x3fdf61['shift']());}catch(_0x5f19da){_0x3fdf61['push'](_0x3fdf61['shift']());}}}(a99_0x2b6e,0x78bcd));const path=require(a99_0x1a5657(0xd5)),{commandRepository}=require(a99_0x1a5657(0xac)),constants=require('../../bin/utils/constants'),logger=require('../logger')[a99_0x1a5657(0xa6)],globals=require(a99_0x1a5657(0xb0)),timeoutPromise=require(a99_0x1a5657(0x104)),isUndefinedOrNull=_0x1096df=>_0x1096df===undefined||_0x1096df===null||_0x1096df==='',isNotUndefinedOrNull=_0x58e024=>!isUndefinedOrNull(_0x58e024),isString=_0x5c1ebe=>isNotUndefinedOrNull(_0x5c1ebe)&&typeof _0x5c1ebe==='string';class AiSdkWrapper{constructor(){const _0x152dd5=a99_0x1a5657,_0x3f1015={'bTOjN':function(_0x3a4065,_0xf83959){return _0x3a4065(_0xf83959);},'AExZM':_0x152dd5(0xe6)};this[_0x152dd5(0xe2)]=undefined;try{this[_0x152dd5(0xe2)]=_0x3f1015[_0x152dd5(0xf6)](require,path[_0x152dd5(0xed)](__dirname,_0x3f1015[_0x152dd5(0xa4)]));}catch(_0x406d2b){logger['error'](_0x152dd5(0xb8)+(_0x406d2b&&_0x406d2b['message']?_0x406d2b[_0x152dd5(0x105)]:''));}}[a99_0x1a5657(0xae)](_0x12d8e1){const _0xb282ef=a99_0x1a5657,_0x5bac7b={};_0x5bac7b['ULpog']=_0xb282ef(0xad),_0x5bac7b[_0xb282ef(0xb2)]=function(_0x4e7c5b,_0x3ed7b7){return _0x4e7c5b===_0x3ed7b7;},_0x5bac7b['cDURh']='chrome',_0x5bac7b[_0xb282ef(0xdc)]='firefox',_0x5bac7b[_0xb282ef(0xfa)]=function(_0x158cd6,_0x112cf4){return _0x158cd6===_0x112cf4;},_0x5bac7b['hwmVU']=_0xb282ef(0xa7),_0x5bac7b['gxGSU']=function(_0x2b22a7,_0x514b93){return _0x2b22a7===_0x514b93;},_0x5bac7b['mjMiy']=_0xb282ef(0x110),_0x5bac7b[_0xb282ef(0x111)]=_0xb282ef(0xcb);const _0x5b975d=_0x5bac7b;try{const _0x106b8f=this['BrowserstackHealing'][_0xb282ef(0xaf)](Object[_0xb282ef(0x101)](_0x12d8e1[_0xb282ef(0xb4)]()[_0xb282ef(0x113)]));console[_0xb282ef(0xe7)](_0x5b975d[_0xb282ef(0x11a)],_0x106b8f);if(_0x5b975d[_0xb282ef(0xb2)](_0x106b8f?.[_0xb282ef(0xe1)]?.[_0xb282ef(0xd9)](),_0x5b975d[_0xb282ef(0xe0)]))_0x12d8e1[_0xb282ef(0xb5)]=_0x106b8f;else{if(_0x5b975d[_0xb282ef(0xb2)](_0x106b8f?.['browserName']?.[_0xb282ef(0xd9)](),_0x5b975d[_0xb282ef(0xdc)]))_0x12d8e1['firefoxOptions_']=_0x106b8f;else{if(_0x5b975d['jqCJQ'](_0x106b8f?.['browserName']?.[_0xb282ef(0xd9)](),_0x5b975d[_0xb282ef(0xc5)]))_0x12d8e1['safariOptions_']=_0x106b8f;else{if(_0x5b975d['gxGSU'](_0x106b8f?.[_0xb282ef(0xe1)]?.[_0xb282ef(0xd9)](),_0x5b975d['mjMiy'])||_0x5b975d[_0xb282ef(0xfa)](_0x106b8f?.[_0xb282ef(0xe1)]?.['toLowerCase'](),_0x5b975d[_0xb282ef(0x111)]))_0x12d8e1['edgeOptions_']=_0x106b8f;else _0x5b975d[_0xb282ef(0x10a)](_0x106b8f?.[_0xb282ef(0xe1)]?.[_0xb282ef(0xd9)](),'ie')&&(_0x12d8e1[_0xb282ef(0xf7)]=_0x106b8f);}}}Object['keys'](_0x106b8f)['forEach'](_0x19c25f=>{const _0x1dc591=_0xb282ef,_0x4f9be2=_0x12d8e1[_0x1dc591(0xdf)][_0x1dc591(0xab)](_0x19c25f);_0x12d8e1['capabilities_'][_0x1dc591(0xd0)](_0x19c25f,_0x106b8f[_0x19c25f]);});}catch(_0x2d309b){logger['error'](_0xb282ef(0x102)+(_0x2d309b&&_0x2d309b[_0xb282ef(0x105)]?_0x2d309b[_0xb282ef(0x105)]:''));}}async[a99_0x1a5657(0xff)](_0x4112ce){const _0x5cafbe=a99_0x1a5657,_0x4e0a29={'BYIDM':function(_0x5eeb4d,_0x1f40fa,_0x29eb40,_0x2b87ff,_0x5e6042,_0x3e16b5,_0x60bb5a){return _0x5eeb4d(_0x1f40fa,_0x29eb40,_0x2b87ff,_0x5e6042,_0x3e16b5,_0x60bb5a);},'utIiN':_0x5cafbe(0xea),'dptbf':_0x5cafbe(0xd8),'tPVMZ':_0x5cafbe(0xca)},_0x3a92bc=new Date(),_0x366ec7=_0x4e0a29[_0x5cafbe(0xd4)](timeoutPromise,constants['SET_TCG_TOKEN_TIMEOUT'],_0x4e0a29[_0x5cafbe(0xe5)],_0x4e0a29['dptbf'],_0x3a92bc,this[_0x5cafbe(0x117)],this[_0x5cafbe(0xcd)]);await Promise[_0x5cafbe(0xe3)]([this[_0x5cafbe(0xe2)][_0x5cafbe(0xdd)](_0x4112ce,globals['getGlobal'](_0x4e0a29[_0x5cafbe(0xaa)]),constants[_0x5cafbe(0xef)])['then'](()=>{_0x366ec7['cancel']();}),_0x366ec7]);}async['_handleEvent'](_0x27d087,_0x7df357,_0x4b8670,_0xb8ab8b){const _0x374710=a99_0x1a5657,_0x16b149={'ASoYH':function(_0x4d9484,_0x3ed3a){return _0x4d9484===_0x3ed3a;},'sbllE':function(_0x456b96,_0x2d9d5c){return _0x456b96===_0x2d9d5c;},'jRdSr':function(_0x135bd9,_0x5cf29b){return _0x135bd9(_0x5cf29b);},'hWxJs':function(_0x5315f6,_0x3bb694){return _0x5315f6(_0x3bb694);},'hbBqx':function(_0x28e82b,_0x627543){return _0x28e82b(_0x627543);},'buDCk':function(_0x9b7885,_0x360698){return _0x9b7885(_0x360698);},'CbZaw':function(_0x3196d5,_0xe6c6cc){return _0x3196d5(_0xe6c6cc);},'pWWcF':function(_0xa18e4,_0x26d03f){return _0xa18e4(_0x26d03f);},'PgJRe':function(_0x307038,_0x3be632){return _0x307038(_0x3be632);},'zPaMN':function(_0x16e223,_0x3636bf){return _0x16e223(_0x3636bf);},'Izhmz':_0x374710(0x107),'TLVBU':function(_0x39de01,_0x4df754){return _0x39de01(_0x4df754);},'YWMGx':_0x374710(0xf5),'VCAwQ':_0x374710(0x10e),'xFOZL':_0x374710(0xdb),'sYWeo':function(_0x5fcab0,_0x6db73c,_0x779083,_0x36028e,_0x468484,_0x491bd7,_0x2c8d02){return _0x5fcab0(_0x6db73c,_0x779083,_0x36028e,_0x468484,_0x491bd7,_0x2c8d02);},'MvMqm':'BrowserstackHealing.logData\x20method\x20timed\x20out','HJygM':'BrowserstackHealingLogDataFailed','OPQLw':function(_0x440fd1,_0x3478cf,_0x55008f,_0x276b4b,_0x4e9283,_0x51225c,_0x5afa0b){return _0x440fd1(_0x3478cf,_0x55008f,_0x276b4b,_0x4e9283,_0x51225c,_0x5afa0b);},'GOMuk':_0x374710(0xc3),'rMTAB':_0x374710(0xc6)},_0x38d94f=(await _0x7df357[_0x374710(0xb9)]())[_0x374710(0x114)]();let _0x55d491='';if(commandRepository[_0x374710(0xa9)]()&&_0x16b149[_0x374710(0xe8)](_0xb8ab8b,![])||_0x16b149[_0x374710(0x10f)](_0xb8ab8b,!![])){const _0x28860e=_0x16b149[_0x374710(0x118)](isNotUndefinedOrNull,_0x4b8670[_0x374710(0xc9)]['using'])&&_0x16b149[_0x374710(0xba)](isString,_0x4b8670['parameters_'][_0x374710(0xfd)])?_0x4b8670[_0x374710(0xc9)][_0x374710(0xfd)][_0x374710(0x115)](/'/g,'\x5c\x27')[_0x374710(0x115)](/"/g,'\x5c\x22'):'',_0x1a74ee=_0x16b149[_0x374710(0xc4)](isNotUndefinedOrNull,_0x4b8670[_0x374710(0xc9)][_0x374710(0xfd)])&&_0x16b149['buDCk'](isString,_0x4b8670[_0x374710(0xc9)][_0x374710(0xda)])?_0x4b8670[_0x374710(0xc9)][_0x374710(0xda)][_0x374710(0x115)](/'/g,'\x5c\x27')[_0x374710(0x115)](/"/g,'\x5c\x22'):'',_0x27b0e2=_0x16b149['buDCk'](isNotUndefinedOrNull,commandRepository[_0x374710(0xd6)]())&&_0x16b149['CbZaw'](isString,commandRepository[_0x374710(0xd6)]())?commandRepository[_0x374710(0xd6)]()[_0x374710(0x115)](/'/g,'\x5c\x27')[_0x374710(0x115)](/"/g,'\x5c\x22'):'';let _0x6579e1=_0x16b149[_0x374710(0xc4)](isNotUndefinedOrNull,global[_0x374710(0x10d)])&&_0x16b149[_0x374710(0xbc)](isString,global[_0x374710(0x10d)])?global[_0x374710(0x10d)]['replace'](/'/g,'\x5c\x27')[_0x374710(0x115)](/"/g,'\x5c\x22'):'';!_0x6579e1&&(_0x6579e1=_0x16b149['PgJRe'](isNotUndefinedOrNull,commandRepository[_0x374710(0xa5)]())&&_0x16b149['zPaMN'](isString,commandRepository[_0x374710(0xa5)]())?commandRepository[_0x374710(0xa5)]()[_0x374710(0x115)](/'/g,'\x5c\x27')[_0x374710(0x115)](/"/g,'\x5c\x22'):'');let _0x5d1258=_0x374710(0xb7)+constants[_0x374710(0xe4)]+_0x374710(0x109)+constants[_0x374710(0xe4)]+_0x374710(0xec)+constants[_0x374710(0xef)][_0x374710(0xc8)](_0x16b149[_0x374710(0xeb)])[0x1]+'\x22}}}';_0x5d1258=_0x16b149['TLVBU'](isNotUndefinedOrNull,_0x5d1258)&&_0x16b149['hbBqx'](isString,_0x5d1258)?_0x5d1258[_0x374710(0x115)](/'/g,'\x5c\x27')[_0x374710(0x115)](/"/g,'\x5c\x22'):'';const _0x45047f=commandRepository[_0x374710(0xc0)](_0x38d94f),_0x424a9f=globals[_0x374710(0xbb)](_0x16b149[_0x374710(0xe9)]),_0x260b83=globals[_0x374710(0xbb)](_0x16b149[_0x374710(0x119)]),_0x3292cd=globals['getGlobal'](_0x16b149['xFOZL']),_0x1f6a77=![],_0x52203a=new Date();if(_0xb8ab8b){const _0x36ebd0=_0x16b149[_0x374710(0xf1)](timeoutPromise,constants[_0x374710(0x10b)],_0x16b149['MvMqm'],_0x16b149[_0x374710(0xbd)],_0x52203a,this[_0x374710(0x117)],this['framework']);_0x55d491=await Promise['race']([this['BrowserstackHealing'][_0x374710(0xee)](_0x28860e,_0x1a74ee,_0x27b0e2,_0x6579e1,_0x260b83,_0x38d94f,_0x45047f,_0x5d1258)[_0x374710(0xb1)](_0x5eef86=>{const _0x21802c=_0x374710;return _0x36ebd0[_0x21802c(0xd3)](),_0x5eef86;}),_0x36ebd0]);}else{if(commandRepository[_0x374710(0xa9)]()){const _0x412176=_0x16b149[_0x374710(0xa8)](timeoutPromise,constants[_0x374710(0xfb)],_0x16b149['GOMuk'],_0x16b149['rMTAB'],_0x52203a,this[_0x374710(0x117)],this[_0x374710(0xcd)]);_0x55d491=await Promise['race']([this['BrowserstackHealing'][_0x374710(0x103)](_0x28860e,_0x1a74ee,_0x27b0e2,_0x6579e1,_0x424a9f,_0x260b83,_0x38d94f,_0x45047f,_0x1f6a77,_0x3292cd,_0x5d1258)[_0x374710(0xb1)](_0x1193ac=>{const _0x4f09f4=_0x374710;return _0x412176[_0x4f09f4(0xd3)](),_0x1193ac;}),_0x412176]);}}_0x55d491&&await _0x7df357[_0x374710(0xc1)](_0x55d491);}}async['handleSuccess'](_0x330103,_0x168859,_0x4faa47){const _0x146ddb=a99_0x1a5657;try{await this['_handleEvent'](_0x330103,_0x168859,_0x4faa47,!![]);}catch(_0x21d8e4){return logger['error'](_0x146ddb(0x112)+(_0x21d8e4&&_0x21d8e4[_0x146ddb(0x105)]?_0x21d8e4[_0x146ddb(0x105)]:'')),![];}return!![];}async[a99_0x1a5657(0xf3)](_0xb550d1,_0x14776c,_0xf9c90f){const _0x344478=a99_0x1a5657,_0x47ac9={'MYOpd':function(_0x42ea48,_0x492191,_0x3b8542,_0x4bafe0,_0x5d2b87,_0xc713a0,_0x11ff61){return _0x42ea48(_0x492191,_0x3b8542,_0x4bafe0,_0x5d2b87,_0xc713a0,_0x11ff61);},'GepEG':_0x344478(0xbf),'DBqvg':_0x344478(0xc7),'NvGPN':_0x344478(0xca)};try{await this[_0x344478(0xcf)](_0xb550d1,_0x14776c,_0xf9c90f,![]);const _0x54c73e=(await _0x14776c[_0x344478(0xb9)]())[_0x344478(0x114)](),_0x54c47c=new Date(),_0x1952a4=_0x47ac9['MYOpd'](timeoutPromise,constants[_0x344478(0xa3)],_0x47ac9[_0x344478(0xd2)],_0x47ac9['DBqvg'],_0x54c47c,this[_0x344478(0x117)],this[_0x344478(0xcd)]),_0xbe3df9=await Promise[_0x344478(0xe3)]([this[_0x344478(0xe2)][_0x344478(0xd1)](constants[_0x344478(0xef)],_0x54c73e,globals[_0x344478(0xbb)](_0x47ac9[_0x344478(0xf2)]))[_0x344478(0xb1)](_0x3c70c1=>{const _0x1c3d32=_0x344478;return _0x1952a4[_0x1c3d32(0xd3)](),_0x3c70c1;}),_0x1952a4]);if(_0xbe3df9&&_0xbe3df9[_0x344478(0xd7)]&&_0xbe3df9[_0x344478(0xda)]){const _0x595565={};return _0x595565[_0x344478(0xfe)]=_0xbe3df9['selector'],_0x595565[_0x344478(0xf4)]=_0xbe3df9[_0x344478(0xda)],_0x595565[_0x344478(0xf9)]=!![],_0x595565;}const _0x46ad01={};return _0x46ad01['locatorType']=_0xf9c90f[_0x344478(0xc9)]['using'],_0x46ad01[_0x344478(0xf4)]=_0xbe3df9[_0x344478(0xda)],_0x46ad01[_0x344478(0xf9)]=!![],_0x46ad01;}catch(_0x3796f1){return logger[_0x344478(0x10c)](_0x344478(0x106)+(_0x3796f1&&_0x3796f1['message']?_0x3796f1[_0x344478(0x105)]:'')),logger[_0x344478(0x116)](_0x344478(0x108)+_0xf9c90f['name_']+_0x344478(0xcc)),_0xf9c90f;}}}function a99_0x2b6e(){const _0x14c7c0=['fromEntries','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','healFailure','../../helpers/timeoutPromise','message','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','s://','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','\x22,\x20\x22tcgUrls\x22:\x20{\x22','gxGSU','HEALING_LOG_DATA_TIMEOUT','debug','browserstackSessionName','aiHeal_groupId','sbllE','edge','xiWwh','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','map_','getId','replace','info','config','jRdSr','VCAwQ','ULpog','POLL_HEALING_RESULT_TIMEOUT','AExZM','getTestName','winstonLogger','safari','OPQLw','isSelfHealEnabled','tPVMZ','get','./autoHealHelper','newCapabilities','initializeHealingCapabilities','initializeCapabilities','../globals','then','GuxUg','960QOWRtg','getCapabilities','chromeOptions_','868795NWQGZk','{\x22region\x22:\x20\x22','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','getSession','hWxJs','getGlobal','pWWcF','HJygM','11060XxQsTo','BrowserstackHealing.pollResult\x20method\x20timed\x20out','getCommands','executeScript','12168666QvUIev','BrowserstackHealing.healFailure\x20method\x20timed\x20out','hbBqx','hwmVU','BrowserstackHealingHealFailureFailed','BrowserstackHealingPollResultFailed','split','parameters_','aiHeal_sessionToken','microsoftedge','\x20command','framework','23727KgAGRz','_handleEvent','set','pollResult','GepEG','cancel','BYIDM','path','getProjectName','selector','BrowserstackHealingSetTcgTokenFailed','toLowerCase','value','aiHeal_isGroupAIEnabled','lHHKA','setToken','13370EGJDGa','capabilities_','cDURh','browserName','BrowserstackHealing','race','TCG_REGION','utIiN','../../ai-sdk-node/bundle','log','ASoYH','YWMGx','BrowserstackHealing.setToken\x20method\x20timed\x20out','Izhmz','\x22:\x20{\x22endpoint\x22:\x20\x22','join','logData','TCG_URL','3156KIUvxT','sYWeo','NvGPN','handleFailure','locatorValue','aiHeal_userId','bTOjN','ieOptions_','1457300uwLDvn','aiHealing','jqCJQ','HEALING_FAILURE_TIMEOUT','freeze','using','locatorType','setTcgToken','7190392MdghZd'];a99_0x2b6e=function(){return _0x14c7c0;};return a99_0x2b6e();}exports['aiSdkWrapper']=Object[a99_0x1a5657(0xfc)](new AiSdkWrapper());
1
+ function a99_0xa2e5(){const _0x47cb35=['getGlobal','BBMia','fromEntries','selector','handleFailure','aiHealing','HEALING_LOG_DATA_TIMEOUT','bEcMK','browserstackSessionName','aiSdkWrapper','bvzKG','edgeOptions_','BIalG','freeze','config','toLowerCase','using','join','_handleEvent','firefoxOptions_','354113EMhhWF','../globals','getTestName','debug','ZSzkp','microsoftedge','logData','chrome','aiHeal_groupId','2006265KDfKsC','BrowserstackHealing','locatorValue','zUwqr','cancel','QSmFB','ZNjzW','HbEYU','KNeqF','getSession','157328oRmVWw','parameters_','../../ai-sdk-node/bundle','VkNCL','MzCTK','BrowserstackHealingHealFailureFailed','SDtdx','SYPpE','2239856UNrbsq','capabilities_','forEach','setTcgToken','POLL_HEALING_RESULT_TIMEOUT','isSelfHealEnabled','DppWg','JHfUp','WTkSk','BrowserstackHealing.healFailure\x20method\x20timed\x20out','HEALING_FAILURE_TIMEOUT','BrowserstackHealingSetTcgTokenFailed','lOIYr','TeREM','getId','race','initializeHealingCapabilities','mFFeu','MeAqY','320420WGlksI','BrowserstackHealingPollResultFailed','tNPwy','framework','\x20command','string','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','getCommands','BrowserstackHealing.pollResult\x20method\x20timed\x20out','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','SET_TCG_TOKEN_TIMEOUT','../logger','./autoHealHelper','keys','healFailure','error','vcrcD','BrowserstackHealingLogDataFailed','274652VeoILM','value','message','info','BrowserstackHealing.logData\x20method\x20timed\x20out','safari','ieOptions_','browserName','ghJiJ','gJBtF','hLvyX','handleSuccess','YAPpt','TCG_URL','1004311bwfOis','safariOptions_','TCG_REGION','BrowserstackHealing.setToken\x20method\x20timed\x20out','log','NcslH','RNgRE','winstonLogger','42ycryoH','LpfVW','split','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','replace','then','\x22:\x20{\x22endpoint\x22:\x20\x22','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','locatorType','getCapabilities','map_','279cTyXgc','getProjectName','chromeOptions_','cvyKE','setToken','HgASB','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20'];a99_0xa2e5=function(){return _0x47cb35;};return a99_0xa2e5();}const a99_0x4a3a2b=a99_0x1152;(function(_0x3262aa,_0x3bc07e){const _0x4a0bff=a99_0x1152,_0x12d5f9=_0x3262aa();while(!![]){try{const _0x3e0be3=parseInt(_0x4a0bff(0x187))/0x1+-parseInt(_0x4a0bff(0x1c7))/0x2+-parseInt(_0x4a0bff(0x190))/0x3+parseInt(_0x4a0bff(0x1a2))/0x4+-parseInt(_0x4a0bff(0x1b5))/0x5*(parseInt(_0x4a0bff(0x1dd))/0x6)+parseInt(_0x4a0bff(0x1d5))/0x7+parseInt(_0x4a0bff(0x19a))/0x8*(parseInt(_0x4a0bff(0x16c))/0x9);if(_0x3e0be3===_0x3bc07e)break;else _0x12d5f9['push'](_0x12d5f9['shift']());}catch(_0x59fb07){_0x12d5f9['push'](_0x12d5f9['shift']());}}}(a99_0xa2e5,0x64b6f));const path=require('path'),{commandRepository}=require(a99_0x4a3a2b(0x1c1)),constants=require('../../bin/utils/constants'),logger=require(a99_0x4a3a2b(0x1c0))[a99_0x4a3a2b(0x1dc)],globals=require(a99_0x4a3a2b(0x188)),timeoutPromise=require('../../helpers/timeoutPromise'),isUndefinedOrNull=_0x1d5bd7=>_0x1d5bd7===undefined||_0x1d5bd7===null||_0x1d5bd7==='',isNotUndefinedOrNull=_0x5cf99a=>!isUndefinedOrNull(_0x5cf99a),isString=_0x3a0b17=>isNotUndefinedOrNull(_0x3a0b17)&&typeof _0x3a0b17===a99_0x4a3a2b(0x1ba);function a99_0x1152(_0x309295,_0x39fb56){const _0xa2e52e=a99_0xa2e5();return a99_0x1152=function(_0x1152bb,_0x1bddb2){_0x1152bb=_0x1152bb-0x166;let _0x2924cf=_0xa2e52e[_0x1152bb];return _0x2924cf;},a99_0x1152(_0x309295,_0x39fb56);}class AiSdkWrapper{constructor(){const _0x15d806=a99_0x4a3a2b,_0xc605cd={'nKlWh':function(_0x460d52,_0x25e89b){return _0x460d52(_0x25e89b);},'MeAqY':_0x15d806(0x19c)};this['BrowserstackHealing']=undefined;try{this['BrowserstackHealing']=_0xc605cd['nKlWh'](require,path[_0x15d806(0x184)](__dirname,_0xc605cd[_0x15d806(0x1b4)]));}catch(_0x599afb){logger[_0x15d806(0x1c4)](_0x15d806(0x168)+(_0x599afb&&_0x599afb[_0x15d806(0x1c9)]?_0x599afb['message']:''));}}[a99_0x4a3a2b(0x1b2)](_0x454eee){const _0x38b6c2=a99_0x4a3a2b,_0x5ca605={};_0x5ca605[_0x38b6c2(0x1b3)]='newCapabilities',_0x5ca605[_0x38b6c2(0x19e)]=function(_0x9e5ba6,_0x5aac96){return _0x9e5ba6===_0x5aac96;},_0x5ca605[_0x38b6c2(0x18b)]=_0x38b6c2(0x18e),_0x5ca605['TDYVV']='firefox',_0x5ca605['gJBtF']=function(_0x1fb2ea,_0x51f809){return _0x1fb2ea===_0x51f809;},_0x5ca605['FxvPE']=_0x38b6c2(0x1cc),_0x5ca605['KNeqF']='edge',_0x5ca605[_0x38b6c2(0x19d)]=_0x38b6c2(0x18c),_0x5ca605[_0x38b6c2(0x1ae)]=function(_0x3415c3,_0x51be0c){return _0x3415c3===_0x51be0c;};const _0x5e66f1=_0x5ca605;try{const _0x3a6908=this[_0x38b6c2(0x191)]['initializeCapabilities'](Object[_0x38b6c2(0x175)](_0x454eee[_0x38b6c2(0x16a)]()[_0x38b6c2(0x16b)]));console[_0x38b6c2(0x1d9)](_0x5e66f1[_0x38b6c2(0x1b3)],_0x3a6908);if(_0x5e66f1[_0x38b6c2(0x19e)](_0x3a6908?.[_0x38b6c2(0x1ce)]?.[_0x38b6c2(0x182)](),_0x5e66f1[_0x38b6c2(0x18b)]))_0x454eee[_0x38b6c2(0x16e)]=_0x3a6908;else{if(_0x5e66f1['MzCTK'](_0x3a6908?.['browserName']?.['toLowerCase'](),_0x5e66f1['TDYVV']))_0x454eee[_0x38b6c2(0x186)]=_0x3a6908;else{if(_0x5e66f1['gJBtF'](_0x3a6908?.[_0x38b6c2(0x1ce)]?.[_0x38b6c2(0x182)](),_0x5e66f1['FxvPE']))_0x454eee[_0x38b6c2(0x1d6)]=_0x3a6908;else{if(_0x5e66f1[_0x38b6c2(0x1d0)](_0x3a6908?.[_0x38b6c2(0x1ce)]?.[_0x38b6c2(0x182)](),_0x5e66f1[_0x38b6c2(0x198)])||_0x5e66f1['gJBtF'](_0x3a6908?.[_0x38b6c2(0x1ce)]?.['toLowerCase'](),_0x5e66f1[_0x38b6c2(0x19d)]))_0x454eee[_0x38b6c2(0x17e)]=_0x3a6908;else _0x5e66f1[_0x38b6c2(0x1ae)](_0x3a6908?.['browserName']?.[_0x38b6c2(0x182)](),'ie')&&(_0x454eee[_0x38b6c2(0x1cd)]=_0x3a6908);}}}Object[_0x38b6c2(0x1c2)](_0x3a6908)[_0x38b6c2(0x1a4)](_0x7b585c=>{const _0x13ad57=_0x38b6c2,_0x323700=_0x454eee[_0x13ad57(0x1a3)]['get'](_0x7b585c);_0x454eee[_0x13ad57(0x1a3)]['set'](_0x7b585c,_0x3a6908[_0x7b585c]);});}catch(_0x444b91){logger['error'](_0x38b6c2(0x1be)+(_0x444b91&&_0x444b91[_0x38b6c2(0x1c9)]?_0x444b91[_0x38b6c2(0x1c9)]:''));}}async[a99_0x4a3a2b(0x1a5)](_0x10ed63){const _0x14c162=a99_0x4a3a2b,_0x148e03={'ghJiJ':function(_0x13f58a,_0x410a3b,_0x2eaafa,_0x69e3b2,_0x4f04b3,_0xdaeecc,_0x2d578a){return _0x13f58a(_0x410a3b,_0x2eaafa,_0x69e3b2,_0x4f04b3,_0xdaeecc,_0x2d578a);},'IFoaA':_0x14c162(0x1d8),'BIalG':_0x14c162(0x1ad),'pehMX':'aiHeal_sessionToken'},_0x1cde6b=new Date(),_0x52ccf2=_0x148e03[_0x14c162(0x1cf)](timeoutPromise,constants[_0x14c162(0x1bf)],_0x148e03['IFoaA'],_0x148e03[_0x14c162(0x17f)],_0x1cde6b,this[_0x14c162(0x181)],this[_0x14c162(0x1b8)]);await Promise['race']([this['BrowserstackHealing'][_0x14c162(0x170)](_0x10ed63,globals[_0x14c162(0x173)](_0x148e03['pehMX']),constants[_0x14c162(0x1d4)])[_0x14c162(0x166)](()=>{const _0x4eb4ac=_0x14c162;_0x52ccf2[_0x4eb4ac(0x194)]();}),_0x52ccf2]);}async[a99_0x4a3a2b(0x185)](_0x376110,_0x3db576,_0x471757,_0x59a684){const _0x26b5e6=a99_0x4a3a2b,_0x13d613={'VdmQS':function(_0x5b5b58,_0x1269d3){return _0x5b5b58===_0x1269d3;},'DppWg':function(_0xb07113,_0x350570){return _0xb07113(_0x350570);},'cvyKE':function(_0xc9730,_0x541a0e){return _0xc9730(_0x541a0e);},'bvzKG':function(_0x2e170d,_0x26c910){return _0x2e170d(_0x26c910);},'bEcMK':function(_0x2cd45c,_0x365efe){return _0x2cd45c(_0x365efe);},'YAPpt':function(_0x59aed5,_0x55d3be){return _0x59aed5(_0x55d3be);},'ZNjzW':function(_0x459eff,_0x27f06f){return _0x459eff(_0x27f06f);},'vcrcD':function(_0x13a288,_0x2da4ff){return _0x13a288(_0x2da4ff);},'tNPwy':function(_0x2275af,_0x53eb0c){return _0x2275af(_0x53eb0c);},'TeREM':function(_0x5de12f,_0x197e72){return _0x5de12f(_0x197e72);},'NcslH':'s://','LpfVW':function(_0x5c25f6,_0x3165a7){return _0x5c25f6(_0x3165a7);},'SYPpE':'aiHeal_userId','HgASB':_0x26b5e6(0x18f),'hLvyX':'aiHeal_isGroupAIEnabled','HbEYU':function(_0x275e9a,_0x4bf729,_0x1874c4,_0x24eb85,_0x149939,_0x422f85,_0x816d26){return _0x275e9a(_0x4bf729,_0x1874c4,_0x24eb85,_0x149939,_0x422f85,_0x816d26);},'zUwqr':_0x26b5e6(0x1cb),'QSmFB':_0x26b5e6(0x1c6),'BBMia':function(_0xe2ad39,_0x1126c1,_0x5d49bb,_0x3c6aed,_0x3a812d,_0x4cfd1a,_0x4a3162){return _0xe2ad39(_0x1126c1,_0x5d49bb,_0x3c6aed,_0x3a812d,_0x4cfd1a,_0x4a3162);},'RNgRE':_0x26b5e6(0x1ab),'ZhcPn':_0x26b5e6(0x19f)},_0x48630a=(await _0x3db576[_0x26b5e6(0x199)]())[_0x26b5e6(0x1b0)]();let _0x1038ce='';if(commandRepository[_0x26b5e6(0x1a7)]()&&_0x13d613['VdmQS'](_0x59a684,![])||_0x13d613['VdmQS'](_0x59a684,!![])){const _0x4649c0=_0x13d613[_0x26b5e6(0x1a8)](isNotUndefinedOrNull,_0x471757['parameters_'][_0x26b5e6(0x183)])&&_0x13d613[_0x26b5e6(0x16f)](isString,_0x471757['parameters_'][_0x26b5e6(0x183)])?_0x471757[_0x26b5e6(0x19b)][_0x26b5e6(0x183)][_0x26b5e6(0x1e1)](/'/g,'\x5c\x27')[_0x26b5e6(0x1e1)](/"/g,'\x5c\x22'):'',_0x28e00d=_0x13d613[_0x26b5e6(0x17d)](isNotUndefinedOrNull,_0x471757[_0x26b5e6(0x19b)][_0x26b5e6(0x183)])&&_0x13d613[_0x26b5e6(0x17a)](isString,_0x471757[_0x26b5e6(0x19b)][_0x26b5e6(0x1c8)])?_0x471757[_0x26b5e6(0x19b)][_0x26b5e6(0x1c8)][_0x26b5e6(0x1e1)](/'/g,'\x5c\x27')[_0x26b5e6(0x1e1)](/"/g,'\x5c\x22'):'',_0x5e4724=_0x13d613[_0x26b5e6(0x1d3)](isNotUndefinedOrNull,commandRepository[_0x26b5e6(0x16d)]())&&_0x13d613[_0x26b5e6(0x196)](isString,commandRepository['getProjectName']())?commandRepository[_0x26b5e6(0x16d)]()[_0x26b5e6(0x1e1)](/'/g,'\x5c\x27')[_0x26b5e6(0x1e1)](/"/g,'\x5c\x22'):'';let _0x25b73f=_0x13d613[_0x26b5e6(0x1c5)](isNotUndefinedOrNull,global[_0x26b5e6(0x17b)])&&_0x13d613[_0x26b5e6(0x17d)](isString,global[_0x26b5e6(0x17b)])?global[_0x26b5e6(0x17b)][_0x26b5e6(0x1e1)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';!_0x25b73f&&(_0x25b73f=_0x13d613[_0x26b5e6(0x1b7)](isNotUndefinedOrNull,commandRepository[_0x26b5e6(0x189)]())&&_0x13d613[_0x26b5e6(0x1af)](isString,commandRepository[_0x26b5e6(0x189)]())?commandRepository[_0x26b5e6(0x189)]()[_0x26b5e6(0x1e1)](/'/g,'\x5c\x27')[_0x26b5e6(0x1e1)](/"/g,'\x5c\x22'):'');let _0x26437f='{\x22region\x22:\x20\x22'+constants['TCG_REGION']+'\x22,\x20\x22tcgUrls\x22:\x20{\x22'+constants[_0x26b5e6(0x1d7)]+_0x26b5e6(0x167)+constants[_0x26b5e6(0x1d4)][_0x26b5e6(0x1df)](_0x13d613[_0x26b5e6(0x1da)])[0x1]+'\x22}}}';_0x26437f=_0x13d613[_0x26b5e6(0x1b7)](isNotUndefinedOrNull,_0x26437f)&&_0x13d613[_0x26b5e6(0x1de)](isString,_0x26437f)?_0x26437f['replace'](/'/g,'\x5c\x27')[_0x26b5e6(0x1e1)](/"/g,'\x5c\x22'):'';const _0x11e0ec=commandRepository[_0x26b5e6(0x1bc)](_0x48630a),_0x5aca62=globals[_0x26b5e6(0x173)](_0x13d613[_0x26b5e6(0x1a1)]),_0x1e2db8=globals[_0x26b5e6(0x173)](_0x13d613[_0x26b5e6(0x171)]),_0x52bc7b=globals[_0x26b5e6(0x173)](_0x13d613[_0x26b5e6(0x1d1)]),_0x393567=![],_0x1b6425=new Date();if(_0x59a684){const _0x4095e2=_0x13d613[_0x26b5e6(0x197)](timeoutPromise,constants[_0x26b5e6(0x179)],_0x13d613[_0x26b5e6(0x193)],_0x13d613[_0x26b5e6(0x195)],_0x1b6425,this[_0x26b5e6(0x181)],this[_0x26b5e6(0x1b8)]);_0x1038ce=await Promise[_0x26b5e6(0x1b1)]([this['BrowserstackHealing'][_0x26b5e6(0x18d)](_0x4649c0,_0x28e00d,_0x5e4724,_0x25b73f,_0x1e2db8,_0x48630a,_0x11e0ec,_0x26437f)[_0x26b5e6(0x166)](_0x2dd870=>{const _0x2fd200=_0x26b5e6;return _0x4095e2[_0x2fd200(0x194)](),_0x2dd870;}),_0x4095e2]);}else{if(commandRepository[_0x26b5e6(0x1a7)]()){const _0x337c1e=_0x13d613[_0x26b5e6(0x174)](timeoutPromise,constants[_0x26b5e6(0x1ac)],_0x13d613[_0x26b5e6(0x1db)],_0x13d613['ZhcPn'],_0x1b6425,this['config'],this[_0x26b5e6(0x1b8)]);_0x1038ce=await Promise[_0x26b5e6(0x1b1)]([this[_0x26b5e6(0x191)][_0x26b5e6(0x1c3)](_0x4649c0,_0x28e00d,_0x5e4724,_0x25b73f,_0x5aca62,_0x1e2db8,_0x48630a,_0x11e0ec,_0x393567,_0x52bc7b,_0x26437f)[_0x26b5e6(0x166)](_0xca7f7d=>{return _0x337c1e['cancel'](),_0xca7f7d;}),_0x337c1e]);}}_0x1038ce&&await _0x3db576['executeScript'](_0x1038ce);}}async[a99_0x4a3a2b(0x1d2)](_0x38e4bf,_0x2e2fe4,_0xe536fd){const _0x2e839c=a99_0x4a3a2b;try{await this[_0x2e839c(0x185)](_0x38e4bf,_0x2e2fe4,_0xe536fd,!![]);}catch(_0x291624){return logger['error'](_0x2e839c(0x1bb)+(_0x291624&&_0x291624[_0x2e839c(0x1c9)]?_0x291624[_0x2e839c(0x1c9)]:'')),![];}return!![];}async[a99_0x4a3a2b(0x177)](_0x46aec3,_0x45e320,_0x3cd0cc){const _0x1d3999=a99_0x4a3a2b,_0x3a3476={'SDtdx':function(_0x3974ed,_0x8a8b05,_0x20eee8,_0x3465cd,_0x1e4f5c,_0x143c2b,_0x1cb2a9){return _0x3974ed(_0x8a8b05,_0x20eee8,_0x3465cd,_0x1e4f5c,_0x143c2b,_0x1cb2a9);},'GvvLU':_0x1d3999(0x1bd),'JHfUp':_0x1d3999(0x1b6),'WTkSk':'aiHeal_sessionToken'};try{await this[_0x1d3999(0x185)](_0x46aec3,_0x45e320,_0x3cd0cc,![]);const _0x233f23=(await _0x45e320[_0x1d3999(0x199)]())['getId'](),_0x5bd593=new Date(),_0x251ba2=_0x3a3476[_0x1d3999(0x1a0)](timeoutPromise,constants[_0x1d3999(0x1a6)],_0x3a3476['GvvLU'],_0x3a3476[_0x1d3999(0x1a9)],_0x5bd593,this[_0x1d3999(0x181)],this['framework']),_0x4e6a1c=await Promise[_0x1d3999(0x1b1)]([this[_0x1d3999(0x191)]['pollResult'](constants['TCG_URL'],_0x233f23,globals[_0x1d3999(0x173)](_0x3a3476[_0x1d3999(0x1aa)]))[_0x1d3999(0x166)](_0x49b6fd=>{return _0x251ba2['cancel'](),_0x49b6fd;}),_0x251ba2]);if(_0x4e6a1c&&_0x4e6a1c[_0x1d3999(0x176)]&&_0x4e6a1c[_0x1d3999(0x1c8)]){const _0x17f4e1={};return _0x17f4e1[_0x1d3999(0x169)]=_0x4e6a1c['selector'],_0x17f4e1[_0x1d3999(0x192)]=_0x4e6a1c[_0x1d3999(0x1c8)],_0x17f4e1[_0x1d3999(0x178)]=!![],_0x17f4e1;}const _0x37d21f={};return _0x37d21f[_0x1d3999(0x169)]=_0x3cd0cc[_0x1d3999(0x19b)][_0x1d3999(0x183)],_0x37d21f[_0x1d3999(0x192)]=_0x4e6a1c['value'],_0x37d21f[_0x1d3999(0x178)]=!![],_0x37d21f;}catch(_0x2b8dd0){return logger[_0x1d3999(0x18a)](_0x1d3999(0x172)+(_0x2b8dd0&&_0x2b8dd0[_0x1d3999(0x1c9)]?_0x2b8dd0[_0x1d3999(0x1c9)]:'')),logger[_0x1d3999(0x1ca)](_0x1d3999(0x1e0)+_0x3cd0cc['name_']+_0x1d3999(0x1b9)),_0x3cd0cc;}}}exports[a99_0x4a3a2b(0x17c)]=Object[a99_0x4a3a2b(0x180)](new AiSdkWrapper());