browserstack-node-sdk 1.60.1 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/browserstack.pw.yml.sample +10 -0
- package/browserstack.yml.sample +10 -0
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120_0x5e5dc8=a120_0xa4f2;function a120_0x1afa(){const _0x282b2c=['SDK\x20run\x20started\x20with\x20id:\x20','zBOtu','measures','ogGzo','uncaughtException','ObZSv','HKDKY','eGujx','proxy','MrUdI','wmdRc','AI_INIT_FAILURE','stop','./percy/utils','BROWSERSTACK_TURBOSCALE','jnmPX','fileLogger','iEstF','HijRb','readConfig','uuid','configPath','xMcen','statusCode','MWFtD','OhkIe','SRVzK','reportProcessInterruptionSituation','iVQOM','initialize','TCG_AUTH_FAILURE','init','TaGRy','measureWrapper','uMQxx','setupKeepAlive','platform','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','setSmartTestSelectionFeatureBranchesConfig','SXVhC','SIGABRT','exitHandler','version','ObMWG','GXPDE','8620648NjIKab','getCentralUser','stringify','kAlFZ','hfNfM','handled','7594447LkqTOK','generateLocalIdentifier','killSignal','skipBinaryInitialisation','__isPlaywrightInstalled','race','../bin/v2/browserstackCLI','normalizeTestReportingEnvVars','FMxZO','HUB_MANAGEMENT','selenium-webdriver','UPGRADE_REQUIRED','Error\x20in\x20percy\x20setup\x20','isAuthenticated','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','6OgwZLp','./testhub/utils','exceptions','./performance/constants','1172KWLVXe','framework','gtEGs','setBrowserstackInfraFromConfig','join','skipSessionStatus','envConfig','../bin/v2/modules/loadTestModule','JvOQx','playwright','setupBrowserstackLocal','xDWMs','checkStopLocalBinaryOnExit','NKiiT','xGPya','jCkgk','reportFinalDetectionState','Failed\x20to\x20send\x20data\x20to\x20','completed','__isPuppeteerInstalled','preInitialize','events.json','timed-out','includes','winstonLogger','GbYaO','Signal\x20shutdown\x20timed\x20out\x20after\x20','fireFunnelTestEvent','getAccessKey','platforms','getInstance','isHealingEnabled','validateSkipAppOverride','unhandledErrors','No\x20config\x20provided.','setupTcgConfigFile','\x20with\x20error\x20','Data\x20sent\x20successfully\x20to\x20','Signal\x20shutdown\x20did\x20not\x20complete\x20cleanly:\x20','getTurboScaleGridDetails','split','toLowerCase','./logger','../../package.json','setLogLevel','url','allocateHub','startPercy','2562765OJAfeu','MJLlw','setHandlePWError','finalize','zruGY','debug','4.5.0','tBOPe','setCredentialsFromYmlConfig','jiFYy','bkFqz','../bin/utils/constants','isTrue','ZKhwM','isTrialGrid','turboScaleGridDetails','./utilities','AI_PROXY_FAILURE','SDK_CLEANUP','IftLo','beforeExit','MkDpe','AUTOLOGCAPTURE_NOTIFICATION','TCG_URL','40590uhyrqH','userName','wHEvk','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','ehQuV','BrowserstackHealingInitFailed','OtpeI','turboScaleOptions','disableAutoCaptureLogs','jzFtX','RffVT','1692poEKwD','../bin/utils/apiUtilityMethods','abHGo','status','SIGBREAK','tcg\x20config\x20setup\x20successful.','aBtBQ','true','JHpiZ','AI_INIT_SUCCESSFUL','Local\x20binary\x20stopped','then','length','useW3C','../bin/utils/clientTroubleshootingService','ats-repeater','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','BROWSERSTACK_PERCY','xLeZj','setupCaCertificate','JuRhL','config','userName\x20or\x20accessKey\x20is\x20not\x20defined','stopPercy','9723evYTdg','jATAq','Error\x20in\x20writing\x20events\x20to\x20file\x20','VIAjb','isTurboScaleSession','info','startMonitoring','getProxyConfigForTcg','pRAVP','JariD','SIGHUP','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','localOptions','proxyUrl','setupTCGAuth','setProxySettings','setLogDir','central_scanner','PjhjU','unref','bind','requireSeleniumWebdriverCheck','cancel','tKutu','isNotUndefined','writeFileSync','setUpHubUrl','isUndefined','testContextOptions','getConfigPath','hubUrl','forceLocal','close','YqjEu','intExitHandler','stopLocalBinary','./setKeepAlive','3786079NgVBuM','tHSqY','stopBrowserstackLocal','XkxlR','isRunning','?caps=','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','tcgAuthConfig','SDKTestAttempted','Error\x20occured\x20while\x20stopping\x20local\x20binary','sanitizeCaps','BQtDS','RJkKM','VXHmG','bRlYh','INVALID_INIT_RESP_WITH_USER_IMPACT','clKgv','selfHeal','env','hYWac','../hubAllocationMethods','catch','NipWr','lxstw','path','getHubUrl','message','constructor','isLTSSession','ivvdY','VHmYC','turboScale','getPackageVersion','aiHeal:tcgAuth','default','fmFaS','cliConfig','ms;\x20forcing\x20exit','ehtHr','\x20with\x20response\x20','error','setupPercy','browserStackLocalOptions','bstackConfig','isBrowserstackInfra','warn','format','558KgOhuO','integrations','FRAMEWORK','CAukZ','Error\x20in\x20sending\x20testhub\x20stop:\x20','toString','tqiHQ','skipSessionName','1748qbwvEu','Local\x20binary\x20started\x20successfully','Hlimi','setCLICaps','../ai-sdk-node/bundle','handleExceptions','./timeoutPromise','Calling\x20Build\x20Stop\x20from\x20ExitHandler','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','vlrOO','vbenN','browserstackLocal','effBG','gXbzu','XQZlN','startLocalBinary','sdkRunId','localIdentifier','percy','setEnvCaps','turboScaleUrl','QxjuV','push','Shutdown\x20triggered\x20by\x20'];a120_0x1afa=function(){return _0x282b2c;};return a120_0x1afa();}(function(_0x1b16a8,_0x268f29){const _0x42ddec=a120_0xa4f2,_0x54be17=_0x1b16a8();while(!![]){try{const _0x3756b2=-parseInt(_0x42ddec(0x20a))/0x1*(-parseInt(_0x42ddec(0x268))/0x2)+-parseInt(_0x42ddec(0x1ae))/0x3*(parseInt(_0x42ddec(0x196))/0x4)+-parseInt(_0x42ddec(0x173))/0x5+-parseInt(_0x42ddec(0x264))/0x6*(-parseInt(_0x42ddec(0x255))/0x7)+parseInt(_0x42ddec(0x24f))/0x8+-parseInt(_0x42ddec(0x202))/0x9*(parseInt(_0x42ddec(0x18b))/0xa)+-parseInt(_0x42ddec(0x1d3))/0xb;if(_0x3756b2===_0x268f29)break;else _0x54be17['push'](_0x54be17['shift']());}catch(_0x507b33){_0x54be17['push'](_0x54be17['shift']());}}}(a120_0x1afa,0xacb9f));function a120_0xa4f2(_0x5ae42c,_0x7d4a0){const _0x1afa3f=a120_0x1afa();return a120_0xa4f2=function(_0xa4f209,_0x481873){_0xa4f209=_0xa4f209-0x15b;let _0x353435=_0x1afa3f[_0xa4f209];return _0x353435;},a120_0xa4f2(_0x5ae42c,_0x7d4a0);}const util=require('util'),os=require('os'),path=require(a120_0x5e5dc8(0x1eb)),{v4:uuidv4}=require(a120_0x5e5dc8(0x236)),fs=require('fs'),constants=require(a120_0x5e5dc8(0x17e)),logger=require(a120_0x5e5dc8(0x16d))[a120_0x5e5dc8(0x15b)],fileLogger=require('./logger')[a120_0x5e5dc8(0x232)],{getLogDir}=require(a120_0x5e5dc8(0x16d)),helper=require('./helper'),utilities=require(a120_0x5e5dc8(0x183)),percyHelper=require(a120_0x5e5dc8(0x22f)),hubAllocator=require(a120_0x5e5dc8(0x1e7)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a120_0x5e5dc8(0x267)),{setPercyFlag}=require(a120_0x5e5dc8(0x265)),TestHubHandler=require('./testhub/testhubHandler'),timeoutPromise=require(a120_0x5e5dc8(0x210)),BrowserstackCLI=require(a120_0x5e5dc8(0x25b)),LoadTestModule=require(a120_0x5e5dc8(0x26f)),{getEdsInstrumentationAPIUrl}=require(a120_0x5e5dc8(0x197)),ClientTroubleShootingService=require(a120_0x5e5dc8(0x1a4));class BrowserStackSetup{constructor(_0xf60a9e,_0x486393){const _0x6db5ec=a120_0x5e5dc8,_0x462e40={'eGujx':'3|24|9|18|4|17|25|5|8|15|23|11|22|26|10|14|6|7|0|19|1|2|16|21|13|20|12','SXVhC':_0x6db5ec(0x165),'iVQOM':function(_0x237ee8){return _0x237ee8();},'uudin':function(_0x3a45b0,_0x343841){return _0x3a45b0(_0x343841);},'tqiHQ':'./caCertHelper'},_0x4e0e5e=_0x462e40[_0x6db5ec(0x229)]['split']('|');let _0x110e32=0x0;while(!![]){switch(_0x4e0e5e[_0x110e32++]){case'0':helper[_0x6db5ec(0x17b)](this[_0x6db5ec(0x1ab)]);continue;case'1':this[_0x6db5ec(0x1ab)][_0x6db5ec(0x1ca)][_0x6db5ec(0x209)]=!helper[_0x6db5ec(0x1ff)]()||helper[_0x6db5ec(0x17f)](this['config']['testContextOptions']['skipSessionName']);continue;case'2':helper['getFinalCaps'](this['config'],this[_0x6db5ec(0x1f7)],this[_0x6db5ec(0x26e)]);continue;case'3':this[_0x6db5ec(0x164)]=[];continue;case'4':this[_0x6db5ec(0x21c)]=null;continue;case'5':this['cliConfig']=helper[_0x6db5ec(0x20d)](_0xf60a9e);continue;case'6':helper[_0x6db5ec(0x163)](this[_0x6db5ec(0x1ab)],this[_0x6db5ec(0x269)]);continue;case'7':helper[_0x6db5ec(0x26b)](this[_0x6db5ec(0x1ab)],this[_0x6db5ec(0x1f7)]);continue;case'8':this[_0x6db5ec(0x1ab)][_0x6db5ec(0x160)]=this[_0x6db5ec(0x1ab)]['platforms']||[];continue;case'9':this[_0x6db5ec(0x26e)]=helper[_0x6db5ec(0x21d)]();continue;case'10':if(helper['isUndefined'](this['config']))throw new Error(_0x462e40[_0x6db5ec(0x249)]);continue;case'11':this[_0x6db5ec(0x21a)]=_0x462e40[_0x6db5ec(0x23e)](uuidv4);continue;case'12':try{_0x462e40['uudin'](require,_0x462e40[_0x6db5ec(0x208)])[_0x6db5ec(0x1a9)](this[_0x6db5ec(0x1ab)],logger);}catch(_0x1df4f7){}continue;case'13':helper[_0x6db5ec(0x16f)](this[_0x6db5ec(0x1ab)],this['cliConfig'],this[_0x6db5ec(0x26e)]);continue;case'14':if(this[_0x6db5ec(0x1ab)][_0x6db5ec(0x1fb)])throw new Error(this[_0x6db5ec(0x1ab)]['error']);continue;case'15':this[_0x6db5ec(0x1ab)][_0x6db5ec(0x1ca)]=this[_0x6db5ec(0x1ab)][_0x6db5ec(0x1ca)]||{};continue;case'16':helper[_0x6db5ec(0x248)](this[_0x6db5ec(0x1ab)],this['cliConfig'],this[_0x6db5ec(0x26e)]);continue;case'17':this[_0x6db5ec(0x237)]=helper[_0x6db5ec(0x1cb)](_0xf60a9e);continue;case'18':this['browserstackLocal']=null;continue;case'19':this['config'][_0x6db5ec(0x1ca)]['skipSessionStatus']=!helper[_0x6db5ec(0x1ff)]()||helper[_0x6db5ec(0x17f)](this[_0x6db5ec(0x1ab)][_0x6db5ec(0x1ca)][_0x6db5ec(0x26d)]);continue;case'20':PerformanceTester[_0x6db5ec(0x1b4)]();continue;case'21':helper[_0x6db5ec(0x1be)](this[_0x6db5ec(0x1ab)]);continue;case'22':this[_0x6db5ec(0x269)]=_0x486393;continue;case'23':this['errorMessage']={};continue;case'24':helper[_0x6db5ec(0x25c)]();continue;case'25':this[_0x6db5ec(0x1ab)]=helper[_0x6db5ec(0x235)](this[_0x6db5ec(0x237)]);continue;case'26':global[_0x6db5ec(0x269)]=_0x486393;continue;}break;}}[a120_0x5e5dc8(0x27c)](_0x438cd4){const _0x542d75=a120_0x5e5dc8,_0x4975a8={'aBtBQ':_0x542d75(0x1ac),'YqjEu':function(_0x3e8fee,_0x18bd07){return _0x3e8fee===_0x18bd07;},'EpERx':function(_0xf7c26,_0x55334f){return _0xf7c26===_0x55334f;},'ZdnhP':_0x542d75(0x203),'jCkgk':_0x542d75(0x1db),'ObZSv':function(_0x589540,_0x14aced){return _0x589540<_0x14aced;},'MkDpe':function(_0x36a234,_0x427dcb){return _0x36a234(_0x427dcb);},'XQZlN':_0x542d75(0x25f),'RffVT':_0x542d75(0x179),'vlrOO':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','hYWac':_0x542d75(0x18e),'ogGzo':'SIGTERM','effBG':'SIGINT','FMxZO':_0x542d75(0x1b8),'GbYaO':function(_0x2c9ab9,_0x3b57fa){return _0x2c9ab9!==_0x3b57fa;},'SGqBm':'win32','VXHmG':_0x542d75(0x24a),'jnmPX':'SIGQUIT','wmdRc':_0x542d75(0x19a),'MWFtD':_0x542d75(0x187)},_0x32d751=this[_0x542d75(0x269)];global[_0x542d75(0x1ab)]=this['config'],helper[_0x542d75(0x1dd)](this[_0x542d75(0x1ab)]),this[_0x542d75(0x257)]=null,global[_0x542d75(0x21a)]=this[_0x542d75(0x21a)],logger[_0x542d75(0x1b3)](_0x542d75(0x222)+this[_0x542d75(0x21a)]),!this[_0x542d75(0x1ab)]['browserStackLocalOptions']&&(this[_0x542d75(0x1ab)][_0x542d75(0x1fd)]=this[_0x542d75(0x1ab)][_0x542d75(0x1ba)]||{});if(helper[_0x542d75(0x1c9)](helper['getUserName'](this['config']))||helper[_0x542d75(0x1c9)](helper[_0x542d75(0x15f)](this[_0x542d75(0x1ab)])))throw new Error(_0x4975a8[_0x542d75(0x19c)]);helper['getLocalConfig'](this['config'])&&helper[_0x542d75(0x1c9)](helper['getLocalIdentifier'](this[_0x542d75(0x1ab)]))&&(!helper['isUndefined'](this[_0x542d75(0x1ab)][_0x542d75(0x1fd)])&&_0x4975a8[_0x542d75(0x1cf)](this[_0x542d75(0x1ab)]['browserStackLocalOptions'][_0x542d75(0x1ee)],Object)?!helper['isTrue'](this[_0x542d75(0x1ab)]['browserStackLocalOptions'][_0x542d75(0x258)])&&(this[_0x542d75(0x1ab)][_0x542d75(0x1fd)][_0x542d75(0x21b)]=helper[_0x542d75(0x256)]()):this[_0x542d75(0x1ab)][_0x542d75(0x1fd)]={'localIdentifier':helper[_0x542d75(0x256)]()});this['config'][_0x542d75(0x1fd)][_0x542d75(0x258)]=helper[_0x542d75(0x17f)](this[_0x542d75(0x1ab)][_0x542d75(0x1fd)][_0x542d75(0x258)]),helper[_0x542d75(0x175)](this[_0x542d75(0x1ab)]);if(_0x4975a8['EpERx'](_0x32d751,_0x4975a8['ZdnhP']))return;this[_0x542d75(0x20f)]();process[_0x542d75(0x1e5)][_0x542d75(0x230)]&&(this['config'][_0x542d75(0x1f2)]=helper['isTrue'](process[_0x542d75(0x1e5)][_0x542d75(0x230)]),this[_0x542d75(0x1ab)]['turboScaleOptions']=this[_0x542d75(0x1ab)][_0x542d75(0x192)]||{});helper[_0x542d75(0x1b2)](this[_0x542d75(0x1ab)])&&(process[_0x542d75(0x1e5)]['BROWSERSTACK_TURBOSCALE']=!![]);LoadTestModule[_0x542d75(0x1ef)](this[_0x542d75(0x1ab)])&&logger[_0x542d75(0x178)](_0x542d75(0x247)+this[_0x542d75(0x21a)]);if(!helper[_0x542d75(0x1ff)]()){try{process[_0x542d75(0x1e5)][_0x542d75(0x204)]=_0x32d751,utilities[_0x542d75(0x15e)](_0x4975a8[_0x542d75(0x277)],{},this[_0x542d75(0x1ab)],this['framework']);}catch(_0x5c39d8){logger[_0x542d75(0x178)](_0x542d75(0x263)+_0x5c39d8);}return;}if(helper[_0x542d75(0x1c3)](_0x32d751)){if(global[_0x542d75(0x259)]||global[_0x542d75(0x27b)])return;_0x4975a8[_0x542d75(0x227)](_0x4975a8[_0x542d75(0x188)](parseInt,helper['getPackageVersion'](_0x4975a8[_0x542d75(0x218)])),0x3)&&(this[_0x542d75(0x1ab)][_0x542d75(0x1a3)]=![]),_0x4975a8['YqjEu'](helper['compareVersions'](helper[_0x542d75(0x1f3)](_0x4975a8[_0x542d75(0x218)]),_0x4975a8[_0x542d75(0x195)]),0x1)&&(this[_0x542d75(0x1ab)][_0x542d75(0x1a3)]=!![]);}(helper[_0x542d75(0x1c9)](this[_0x542d75(0x1ab)][_0x542d75(0x160)])||helper[_0x542d75(0x1c9)](this[_0x542d75(0x1ab)]['platforms'][_0x542d75(0x1a2)]))&&(helper[_0x542d75(0x1c9)](this[_0x542d75(0x1ab)]['parallelsPerPlatform'])?logger['info'](_0x4975a8[_0x542d75(0x213)]):logger[_0x542d75(0x200)](_0x4975a8[_0x542d75(0x1e6)]),this[_0x542d75(0x1ab)][_0x542d75(0x160)]=[]);!this['config']['testContextOptions']&&(this[_0x542d75(0x1ab)][_0x542d75(0x1ca)]={});try{process[_0x542d75(0x1e5)][_0x542d75(0x204)]=_0x438cd4['_'][0x0],utilities[_0x542d75(0x15e)](_0x4975a8['jCkgk'],{},this[_0x542d75(0x1ab)],this[_0x542d75(0x269)]);}catch(_0x200de4){logger[_0x542d75(0x178)](_0x542d75(0x263)+_0x200de4);}!this[_0x542d75(0x1ab)][_0x542d75(0x193)]&&logger[_0x542d75(0x1b3)](constants[_0x542d75(0x189)]),this[_0x542d75(0x1d0)]=this[_0x542d75(0x1d0)][_0x542d75(0x1c2)](this),process['on'](_0x4975a8[_0x542d75(0x225)],this[_0x542d75(0x1d0)]),process['on'](_0x4975a8[_0x542d75(0x216)],this[_0x542d75(0x1d0)]),process['on'](_0x4975a8[_0x542d75(0x25d)],this['intExitHandler']),_0x4975a8[_0x542d75(0x15c)](process[_0x542d75(0x246)],_0x4975a8['SGqBm'])?(process['on'](_0x4975a8[_0x542d75(0x1e0)],this[_0x542d75(0x1d0)]),process['on'](_0x4975a8[_0x542d75(0x231)],this['intExitHandler'])):process['on'](_0x4975a8[_0x542d75(0x22c)],this[_0x542d75(0x1d0)]),process['on'](_0x4975a8[_0x542d75(0x23a)],this['exitHandler']());}async[a120_0x5e5dc8(0x23f)](_0x26d67a){const _0x102723=a120_0x5e5dc8,_0x14bbdc={'VHmYC':_0x102723(0x1a5),'IftLo':'custom-repeater','CAukZ':'true','JvOQx':function(_0x2fe677,_0x892de7){return _0x2fe677===_0x892de7;},'JHpiZ':_0x102723(0x271),'GXPDE':function(_0x2d9b5a,_0x50fdce){return _0x2d9b5a+_0x50fdce;},'HKDKY':_0x102723(0x1d8),'tjMuZ':function(_0x10bb7f,_0x4a009b){return _0x10bb7f(_0x4a009b);},'QxjuV':'codeceptjs'};this['preInitialize'](_0x26d67a);if(helper[_0x102723(0x1b2)](this[_0x102723(0x1ab)])){const _0x557221=await helper[_0x102723(0x16a)](this[_0x102723(0x1ab)]);this[_0x102723(0x1ab)][_0x102723(0x182)]=_0x557221,_0x557221[_0x102723(0x181)]&&helper[_0x102723(0x1c6)](this[_0x102723(0x1ab)]['browserstackLocal'])&&helper['isTrue'](this['config'][_0x102723(0x215)])&&(this['config'][_0x102723(0x1fd)][_0x102723(0x21b)]=_0x14bbdc[_0x102723(0x1f1)],this['config']['browserStackLocalOptions'][_0x14bbdc[_0x102723(0x186)]]=_0x557221['customRepeaters'][_0x102723(0x26c)](','),this[_0x102723(0x1ab)][_0x102723(0x1fd)][_0x102723(0x1cd)]=_0x14bbdc[_0x102723(0x205)]),this[_0x102723(0x1ab)][_0x102723(0x21e)]=_0x557221[_0x102723(0x170)],this['framework']&&_0x14bbdc[_0x102723(0x270)](this[_0x102723(0x269)][_0x102723(0x16c)](),_0x14bbdc['JHpiZ'])?this[_0x102723(0x1ab)]['turboScaleUrl']=_0x14bbdc[_0x102723(0x24e)](_0x557221['playwrightUrl'],_0x14bbdc[_0x102723(0x228)]):constants[_0x102723(0x1cc)]=helper[_0x102723(0x1ec)](this[_0x102723(0x1ab)]),logger[_0x102723(0x178)]('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants[_0x102723(0x1cc)]);}helper[_0x102723(0x1bd)](this[_0x102723(0x1ab)]),this[_0x102723(0x245)](),_0x14bbdc['tjMuZ'](setPercyFlag,this),![_0x14bbdc[_0x102723(0x21f)],_0x14bbdc[_0x102723(0x19e)]][_0x102723(0x27f)](this[_0x102723(0x269)])&&!helper[_0x102723(0x1b2)](this['config'])&&!helper[_0x102723(0x250)]()[_0x102723(0x1bf)]&&await this[_0x102723(0x1c8)]();}async[a120_0x5e5dc8(0x1fc)](){const _0x1700ca=a120_0x5e5dc8,_0x40e009={};_0x40e009[_0x1700ca(0x214)]=function(_0x5e943e,_0x27140f){return _0x5e943e===_0x27140f;},_0x40e009[_0x1700ca(0x273)]='false',_0x40e009['XurXE']=_0x1700ca(0x1a6),_0x40e009[_0x1700ca(0x177)]='Percy\x20started\x20successfully',_0x40e009[_0x1700ca(0x242)]=_0x1700ca(0x19d),_0x40e009[_0x1700ca(0x24d)]='beforeExit';const _0x20032d=_0x40e009;if(helper['isTrue'](this[_0x1700ca(0x1ab)][_0x1700ca(0x21c)])&&(!this[_0x1700ca(0x21c)]||!this[_0x1700ca(0x21c)]['isRunning']()))try{this[_0x1700ca(0x21c)]=await percyHelper[_0x1700ca(0x172)](this[_0x1700ca(0x1ab)]);if(!this[_0x1700ca(0x21c)]){process['env'][_0x1700ca(0x1a7)]=_0x20032d[_0x1700ca(0x273)];throw new Error(_0x20032d['XurXE']);}logger[_0x1700ca(0x1b3)](_0x20032d[_0x1700ca(0x177)]),process[_0x1700ca(0x1e5)]['BROWSERSTACK_PERCY']=_0x20032d[_0x1700ca(0x242)];let _0x4f4422=0x0;const _0x51d232=async()=>{const _0x212223=_0x1700ca;_0x4f4422++,_0x20032d[_0x212223(0x214)](_0x4f4422,0x1)&&await this['stopPercy']();};process['on'](_0x20032d[_0x1700ca(0x24d)],_0x51d232);}catch(_0x32dd0b){process[_0x1700ca(0x1e5)]['BROWSERSTACK_PERCY']=_0x20032d[_0x1700ca(0x273)],logger[_0x1700ca(0x178)](_0x1700ca(0x261)+_0x32dd0b);throw new Error(_0x32dd0b[_0x1700ca(0x207)]());}}async[a120_0x5e5dc8(0x1ad)](){const _0x5051b8=a120_0x5e5dc8,_0x107835={};_0x107835[_0x5051b8(0x22b)]='Percy\x20stopped',_0x107835['pRAVP']='Error\x20occured\x20while\x20stopping\x20percy';const _0x3afbff=_0x107835;if(this[_0x5051b8(0x21c)]&&this['percy'][_0x5051b8(0x1d7)]())try{await percyHelper[_0x5051b8(0x1ad)](this[_0x5051b8(0x21c)]),logger[_0x5051b8(0x1b3)](_0x3afbff[_0x5051b8(0x22b)]);}catch(_0x5276a0){logger[_0x5051b8(0x1fb)](_0x3afbff[_0x5051b8(0x1b6)],_0x5276a0['message']);}}async[a120_0x5e5dc8(0x272)](){const _0xc633b4=a120_0x5e5dc8,_0x45565c={};_0x45565c[_0xc633b4(0x17c)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x45565c['Hlimi']=_0xc633b4(0x20b);const _0x131e5b=_0x45565c;if(helper[_0xc633b4(0x1ff)]()&&helper[_0xc633b4(0x17f)](this[_0xc633b4(0x1ab)][_0xc633b4(0x215)])&&(!this[_0xc633b4(0x215)]||!this[_0xc633b4(0x215)][_0xc633b4(0x1d7)]()))try{if(this['config'][_0xc633b4(0x1fd)][_0xc633b4(0x258)]){logger[_0xc633b4(0x178)](_0x131e5b['jiFYy']);return;}this[_0xc633b4(0x215)]=await helper[_0xc633b4(0x219)](this[_0xc633b4(0x1ab)]),logger['info'](_0x131e5b[_0xc633b4(0x20c)]);}catch(_0x553719){logger['debug'](_0x553719);throw new Error(_0x553719[_0xc633b4(0x207)]());}}async[a120_0x5e5dc8(0x1d5)](){const _0x15638c=a120_0x5e5dc8,_0xdb5854={};_0xdb5854[_0x15638c(0x217)]=_0x15638c(0x1a0),_0xdb5854[_0x15638c(0x1af)]=_0x15638c(0x1dc);const _0x22ca6c=_0xdb5854;if(this[_0x15638c(0x215)]&&this[_0x15638c(0x215)]['isRunning']())try{await helper[_0x15638c(0x1d1)](this[_0x15638c(0x215)]),logger[_0x15638c(0x1b3)](_0x22ca6c[_0x15638c(0x217)]);}catch(_0x57a05a){logger[_0x15638c(0x1fb)](_0x22ca6c[_0x15638c(0x1af)],_0x57a05a[_0x15638c(0x1ed)]);}}async[a120_0x5e5dc8(0x1c8)](){const _0x58ac84=a120_0x5e5dc8;return PerformanceTester[_0x58ac84(0x243)](PerformanceAutEvents[_0x58ac84(0x25e)],async()=>{const _0x36775b=_0x58ac84;await hubAllocator[_0x36775b(0x171)](this[_0x36775b(0x1ab)]);})();}async[a120_0x5e5dc8(0x1bc)](){const _0xdf7836=a120_0x5e5dc8,_0x3d2c80={'RJkKM':function(_0x16aa99,_0x466175){return _0x16aa99(_0x466175);},'xLeZj':_0xdf7836(0x20e),'NipWr':function(_0x1a7caa,_0x317aff,_0x129a17,_0x1ca284,_0x3779d5,_0x451857,_0x15dbb7){return _0x1a7caa(_0x317aff,_0x129a17,_0x1ca284,_0x3779d5,_0x451857,_0x15dbb7);},'fmFaS':'BrowserstackHealing.init\x20method\x20timed\x20out','zBOtu':_0xdf7836(0x190),'MJLlw':function(_0x3b6081,_0xf2f300){return _0x3b6081(_0xf2f300);},'JariD':_0xdf7836(0x16e),'NKiiT':'BrowserstackHealing.init','opSZR':function(_0x583cb1,_0x481234){return _0x583cb1(_0x481234);},'ivvdY':function(_0xe19688,_0x80ebec){return _0xe19688===_0x80ebec;},'ehtHr':'true','tBOPe':function(_0x432dd0,_0x85057b){return _0x432dd0===_0x85057b;},'HijRb':function(_0x484686,_0x4ec168){return _0x484686===_0x4ec168;},'oVpTa':'Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','PjhjU':_0xdf7836(0x1d9),'OdcjL':_0xdf7836(0x1b9),'xMcen':function(_0x34645a,_0x26f73d){return _0x34645a(_0x26f73d);},'abHGo':'Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','OtpeI':function(_0x4fe3f3,_0x41ad50){return _0x4fe3f3>=_0x41ad50;},'uMQxx':function(_0x27fcc7,_0x54e8c8){return _0x27fcc7<_0x54e8c8;},'aWtVJ':_0xdf7836(0x19b),'bkFqz':_0xdf7836(0x1f4),'jzFtX':function(_0x29583f){return _0x29583f();}},_0x19e01b=PerformanceTester[_0xdf7836(0x243)](_0x3d2c80[_0xdf7836(0x17d)],async()=>{const _0x15a86a=_0xdf7836;try{const _0xcc5acb=new Date(),_0x4575ea=helper[_0x15a86a(0x1b5)](this[_0x15a86a(0x1ab)]),_0x2a753a=_0x3d2c80[_0x15a86a(0x1df)](require,path[_0x15a86a(0x26c)](__dirname,_0x3d2c80[_0x15a86a(0x1a8)])),_0xc13509=_0x3d2c80[_0x15a86a(0x1e9)](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x3d2c80[_0x15a86a(0x1f6)],_0x3d2c80[_0x15a86a(0x223)],_0xcc5acb,this['config'],this['framework']),_0x78886f={'tcgUrl':constants[_0x15a86a(0x18a)],'sdkVersion':_0x3d2c80[_0x15a86a(0x174)](require,_0x3d2c80[_0x15a86a(0x1b7)])[_0x15a86a(0x24c)],'methodUsed':_0x3d2c80[_0x15a86a(0x275)],'proxyConfig':_0x4575ea,'os':os['platform']()};if(_0x4575ea&&_0x4575ea[_0x15a86a(0x1bb)]){utilities['fireFunnelTestEvent'](constants[_0x15a86a(0x184)],_0x78886f,this[_0x15a86a(0x1ab)],this['framework']);return;}const _0x4d6294={};_0x4d6294[_0x15a86a(0x22a)]=_0x4575ea;const _0x5bdbbc=await Promise[_0x15a86a(0x25a)]([_0x2a753a[_0x15a86a(0x241)](this[_0x15a86a(0x1ab)]['accessKey'],this[_0x15a86a(0x1ab)][_0x15a86a(0x18c)],constants[_0x15a86a(0x18a)],_0x3d2c80['opSZR'](require,_0x3d2c80[_0x15a86a(0x1b7)])[_0x15a86a(0x24c)],_0x4d6294)[_0x15a86a(0x1a1)](_0x19017f=>{const _0x433a80=_0x15a86a;return _0xc13509[_0x433a80(0x1c4)](),_0x19017f;}),_0xc13509]);_0x5bdbbc['isHealingEnabled']=_0x3d2c80[_0x15a86a(0x1f0)](_0x5bdbbc[_0x15a86a(0x162)],_0x3d2c80[_0x15a86a(0x1f9)])||_0x3d2c80[_0x15a86a(0x17a)](_0x5bdbbc[_0x15a86a(0x162)],!![]);const _0x26a0af=_0x3d2c80['tBOPe'](this['config'][_0x15a86a(0x1e4)],!![])||_0x3d2c80[_0x15a86a(0x234)](this[_0x15a86a(0x1ab)][_0x15a86a(0x1e4)],_0x3d2c80[_0x15a86a(0x1f9)]);if(_0x3d2c80[_0x15a86a(0x234)](_0x5bdbbc['message'],constants[_0x15a86a(0x260)])&&_0x26a0af)logger[_0x15a86a(0x1b3)](_0x3d2c80['oVpTa']);else{if(!_0x5bdbbc['isAuthenticated']&&_0x3d2c80[_0x15a86a(0x1f0)](_0x5bdbbc[_0x15a86a(0x199)],0x1f7)&&_0x26a0af)logger[_0x15a86a(0x1b3)](_0x3d2c80[_0x15a86a(0x1c0)]),utilities[_0x15a86a(0x15e)](constants['TCG_DOWN'],_0x78886f,this[_0x15a86a(0x1ab)],this[_0x15a86a(0x269)]);else{if(!_0x5bdbbc['isAuthenticated']&&_0x26a0af){logger['info'](_0x3d2c80['OdcjL']);const _0x3f8138={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x3d2c80[_0x15a86a(0x238)](require,_0x3d2c80[_0x15a86a(0x1b7)])[_0x15a86a(0x24c)],'methodUsed':_0x3d2c80['NKiiT'],'proxyConfig':_0x4575ea,'os':os[_0x15a86a(0x246)]()};utilities[_0x15a86a(0x15e)](constants[_0x15a86a(0x240)],_0x3f8138,this[_0x15a86a(0x1ab)],this[_0x15a86a(0x269)]);}else{if(_0x5bdbbc[_0x15a86a(0x262)]&&!_0x5bdbbc[_0x15a86a(0x162)]&&_0x26a0af)logger[_0x15a86a(0x1b3)](_0x3d2c80[_0x15a86a(0x198)]);else{if(_0x3d2c80[_0x15a86a(0x191)](_0x5bdbbc[_0x15a86a(0x199)],0xc8)&&_0x3d2c80[_0x15a86a(0x244)](_0x5bdbbc[_0x15a86a(0x199)],0x12c))utilities[_0x15a86a(0x15e)](constants[_0x15a86a(0x19f)],_0x78886f,this[_0x15a86a(0x1ab)],this[_0x15a86a(0x269)]);else{if(_0x3d2c80[_0x15a86a(0x191)](_0x5bdbbc[_0x15a86a(0x199)],0x190))_0x78886f[_0x15a86a(0x199)]=_0x5bdbbc[_0x15a86a(0x199)],utilities[_0x15a86a(0x15e)](constants[_0x15a86a(0x22d)],_0x78886f,this['config'],this[_0x15a86a(0x269)]);else!_0x5bdbbc[_0x15a86a(0x199)]&&utilities[_0x15a86a(0x15e)](constants[_0x15a86a(0x1e2)],_0x78886f,this[_0x15a86a(0x1ab)],this[_0x15a86a(0x269)]);}}}}}if(_0x5bdbbc[_0x15a86a(0x262)]&&_0x5bdbbc[_0x15a86a(0x162)]){const _0x12877d={};_0x12877d[_0x15a86a(0x1da)]=_0x5bdbbc;const _0x461a88=_0x12877d;_0x4575ea&&(_0x461a88['proxyConfig']=_0x4575ea),_0x461a88['framework']=this['framework'],_0x461a88[_0x15a86a(0x1fe)]=this[_0x15a86a(0x1ab)],helper[_0x15a86a(0x166)](_0x461a88),logger[_0x15a86a(0x178)](_0x3d2c80['aWtVJ']);}}catch(_0x430a21){logger['debug'](_0x15a86a(0x212)+(_0x430a21[_0x15a86a(0x1ed)]?_0x430a21[_0x15a86a(0x1ed)]:''));}});await _0x3d2c80[_0xdf7836(0x194)](_0x19e01b);}[a120_0x5e5dc8(0x245)](){const _0x2725fc=a120_0x5e5dc8,_0x14cc4f={'ehQuV':function(_0x1b754c,_0x2aaafd){return _0x1b754c(_0x2aaafd);},'ZKhwM':_0x2725fc(0x1d2)};_0x14cc4f[_0x2725fc(0x18f)](require,_0x14cc4f[_0x2725fc(0x180)])();}[a120_0x5e5dc8(0x20f)](){const _0x57adbc=a120_0x5e5dc8,_0x35c51b={};_0x35c51b[_0x57adbc(0x1d6)]='3|2|0|1|4',_0x35c51b['wHEvk']='unhandledRejection',_0x35c51b['gtEGs']=_0x57adbc(0x226);const _0x306dac=_0x35c51b,_0x5caa66=_0x496b9c=>{const _0x5938a8=_0x57adbc,_0x48c747=_0x306dac[_0x5938a8(0x1d6)][_0x5938a8(0x16b)]('|');let _0x4b2e9d=0x0;while(!![]){switch(_0x48c747[_0x4b2e9d++]){case'0':this[_0x5938a8(0x164)][_0x5938a8(0x220)](util[_0x5938a8(0x201)]('%j',_0x496b9c));continue;case'1':PerformanceTester['captureError'](_0x496b9c);continue;case'2':logger[_0x5938a8(0x178)](util[_0x5938a8(0x201)](_0x496b9c));continue;case'3':logger[_0x5938a8(0x1fb)](_0x496b9c[_0x5938a8(0x1ed)]);continue;case'4':ClientTroubleShootingService[_0x5938a8(0x278)]();continue;}break;}};process['on'](_0x306dac[_0x57adbc(0x18d)],_0x5caa66),process['on'](_0x306dac[_0x57adbc(0x26a)],_0x5caa66);}async[a120_0x5e5dc8(0x1d0)](_0x4f92d5){const _0x3af658=a120_0x5e5dc8,_0x36d3e6={'tHSqY':function(_0x19d24d,_0x239c0b){return _0x19d24d+_0x239c0b;},'WnkhY':_0x3af658(0x169),'kAlFZ':_0x3af658(0x27a),'dmcYr':function(_0x4c80ba,_0x11c148,_0x238b2c){return _0x4c80ba(_0x11c148,_0x238b2c);},'tKutu':_0x3af658(0x254),'JuRhL':_0x3af658(0x221),'lxstw':function(_0x45388d,_0xe119e8){return _0x45388d(_0xe119e8);},'hfNfM':function(_0x347392,_0x13bb99){return _0x347392===_0x13bb99;},'bRlYh':_0x3af658(0x27e),'VIAjb':function(_0x3cdf32,_0x41bf0c){return _0x3cdf32+_0x41bf0c;},'BQtDS':_0x3af658(0x15d),'OhkIe':_0x3af658(0x1f8)};if(this[_0x36d3e6['tHSqY'](_0x36d3e6['tKutu'],_0x4f92d5)])return;this[_0x36d3e6[_0x3af658(0x1d4)](_0x36d3e6[_0x3af658(0x1c5)],_0x4f92d5)]=!![],logger[_0x3af658(0x1b3)](_0x36d3e6[_0x3af658(0x1d4)](_0x36d3e6[_0x3af658(0x1aa)],_0x4f92d5)),this[_0x3af658(0x257)]=_0x4f92d5;const _0x5ad112=0x7530;let _0x320ab6;const _0x50080c=(async()=>{const _0x585150=_0x3af658;await ClientTroubleShootingService[_0x585150(0x23d)](_0x4f92d5),await TestHubHandler[_0x585150(0x22e)](_0x4f92d5),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI[_0x585150(0x161)]()['stop']();})()['then'](()=>_0x3af658(0x27a))[_0x3af658(0x1e8)](_0x25cd0f=>{const _0x552849=_0x3af658;return logger[_0x552849(0x178)](_0x36d3e6['tHSqY'](_0x36d3e6['WnkhY'],util[_0x552849(0x201)](_0x25cd0f))),_0x36d3e6[_0x552849(0x252)];}),_0x2bdf4e=new Promise(_0x3d106c=>{const _0x9c69be=_0x3af658;_0x320ab6=_0x36d3e6['dmcYr'](setTimeout,()=>_0x3d106c(_0x9c69be(0x27e)),_0x5ad112),_0x320ab6['unref']&&_0x320ab6[_0x9c69be(0x1c1)]();}),_0x2d52d1=await Promise['race']([_0x50080c,_0x2bdf4e]);_0x36d3e6[_0x3af658(0x1ea)](clearTimeout,_0x320ab6),_0x36d3e6[_0x3af658(0x253)](_0x2d52d1,_0x36d3e6[_0x3af658(0x1e1)])&&(logger[_0x3af658(0x200)](_0x36d3e6[_0x3af658(0x1d4)](_0x36d3e6[_0x3af658(0x1b1)](_0x36d3e6[_0x3af658(0x1de)],_0x5ad112),_0x36d3e6[_0x3af658(0x23b)])),process['exit'](process['exitCode']||0x0));}[a120_0x5e5dc8(0x24b)](){const _0x249465=a120_0x5e5dc8,_0x5bada7={'XuGcD':function(_0x25f92c,_0x57fafc){return _0x25f92c===_0x57fafc;},'MEIZV':_0x249465(0x211),'clKgv':function(_0x31751e,_0x5c0858){return _0x31751e>_0x5c0858;},'iEstF':function(_0x1e06d4,_0x3c0207){return _0x1e06d4>_0x3c0207;},'bjEcN':function(_0x28627e,_0x41d0b5){return _0x28627e(_0x41d0b5);},'xGPya':function(_0x445fe8,_0x1efe03){return _0x445fe8(_0x1efe03);},'SRVzK':function(_0x185d05){return _0x185d05();},'FYpRt':_0x249465(0x27d)};let _0x3cffba=0x0;return async()=>{const _0x329d58=_0x249465;_0x3cffba++;if(_0x5bada7['XuGcD'](_0x3cffba,0x1)){helper[_0x329d58(0x274)](this[_0x329d58(0x269)])&&await this[_0x329d58(0x1d5)]();try{logger[_0x329d58(0x178)](_0x5bada7['MEIZV']),await TestHubHandler['stop'](_0x3cffba),await ClientTroubleShootingService[_0x329d58(0x278)](),await BrowserstackCLI[_0x329d58(0x161)]()[_0x329d58(0x22e)]('1');}catch(_0x5d2251){logger[_0x329d58(0x178)](_0x329d58(0x206)+util[_0x329d58(0x201)](_0x5d2251));}PerformanceTester['end'](PerformanceEvents[_0x329d58(0x185)]);if(PerformanceTester['isEnabled']()){const {measures:_0x3696b2,errors:_0x34b992}=await PerformanceTester[_0x329d58(0x176)](),_0x188712={};if(_0x3696b2&&_0x5bada7[_0x329d58(0x1e3)](_0x3696b2['length'],0x0)||_0x34b992&&_0x5bada7[_0x329d58(0x233)](_0x34b992['length'],0x0)){const _0x39fd9a={};_0x39fd9a[_0x329d58(0x224)]=_0x3696b2,_0x39fd9a[_0x329d58(0x266)]=_0x34b992,Object['assign'](_0x188712,_0x39fd9a);}try{const _0xb91267=await helper['sendToEDS'](_0x188712,this[_0x329d58(0x1ab)]);logger[_0x329d58(0x178)](_0x329d58(0x168)+_0x5bada7['bjEcN'](getEdsInstrumentationAPIUrl,'')+_0x329d58(0x1fa)+_0xb91267[_0x329d58(0x239)]);}catch(_0x5142b2){logger[_0x329d58(0x178)](_0x329d58(0x279)+_0x5bada7[_0x329d58(0x276)](getEdsInstrumentationAPIUrl,'')+_0x329d58(0x167)+util[_0x329d58(0x201)](_0x5142b2));}try{fs[_0x329d58(0x1c7)](path['join'](_0x5bada7[_0x329d58(0x23c)](getLogDir),_0x5bada7['FYpRt']),JSON[_0x329d58(0x251)](_0x188712));}catch(_0x47cf06){logger['debug'](_0x329d58(0x1b0)+_0x47cf06);}}}logger&&logger[_0x329d58(0x1ce)](),fileLogger&&fileLogger[_0x329d58(0x1ce)]();};}}exports[a120_0x5e5dc8(0x1f5)]=BrowserStackSetup;
|
|
1
|
+
const a120_0x1e9cfa=a120_0x4487;function a120_0x4487(_0x4a6b52,_0x496d95){const _0x237fc4=a120_0x237f();return a120_0x4487=function(_0x448776,_0x1fd954){_0x448776=_0x448776-0x170;let _0x2425a3=_0x237fc4[_0x448776];return _0x2425a3;},a120_0x4487(_0x4a6b52,_0x496d95);}(function(_0x364a5b,_0xd0aac8){const _0x40fac4=a120_0x4487,_0x51ee99=_0x364a5b();while(!![]){try{const _0x4549c6=-parseInt(_0x40fac4(0x18b))/0x1*(parseInt(_0x40fac4(0x1d0))/0x2)+-parseInt(_0x40fac4(0x1ec))/0x3+parseInt(_0x40fac4(0x298))/0x4+-parseInt(_0x40fac4(0x211))/0x5*(parseInt(_0x40fac4(0x190))/0x6)+-parseInt(_0x40fac4(0x23b))/0x7*(parseInt(_0x40fac4(0x294))/0x8)+-parseInt(_0x40fac4(0x1c5))/0x9*(parseInt(_0x40fac4(0x1db))/0xa)+parseInt(_0x40fac4(0x29a))/0xb*(parseInt(_0x40fac4(0x25b))/0xc);if(_0x4549c6===_0xd0aac8)break;else _0x51ee99['push'](_0x51ee99['shift']());}catch(_0x3295a4){_0x51ee99['push'](_0x51ee99['shift']());}}}(a120_0x237f,0x1f029));const util=require('util'),os=require('os'),path=require('path'),{v4:uuidv4}=require(a120_0x1e9cfa(0x25a)),fs=require('fs'),constants=require(a120_0x1e9cfa(0x1a7)),logger=require(a120_0x1e9cfa(0x1e5))[a120_0x1e9cfa(0x198)],fileLogger=require(a120_0x1e9cfa(0x1e5))[a120_0x1e9cfa(0x262)],{getLogDir}=require(a120_0x1e9cfa(0x1e5)),helper=require('./helper'),utilities=require(a120_0x1e9cfa(0x177)),percyHelper=require(a120_0x1e9cfa(0x217)),hubAllocator=require(a120_0x1e9cfa(0x23a)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a120_0x1e9cfa(0x1f8)),{setPercyFlag}=require(a120_0x1e9cfa(0x208)),TestHubHandler=require('./testhub/testhubHandler'),timeoutPromise=require(a120_0x1e9cfa(0x1e6)),BrowserstackCLI=require(a120_0x1e9cfa(0x289)),LoadTestModule=require(a120_0x1e9cfa(0x209)),{getEdsInstrumentationAPIUrl}=require('../bin/utils/apiUtilityMethods'),ClientTroubleShootingService=require(a120_0x1e9cfa(0x1a6));class BrowserStackSetup{constructor(_0x3616d8,_0x557d10){const _0x113d16=a120_0x1e9cfa,_0x42586f={'iIxMX':_0x113d16(0x278),'byMCM':function(_0x9f34ae,_0x2c9767){return _0x9f34ae(_0x2c9767);},'ZGcvo':'./caCertHelper','WpMSn':function(_0x4042f8){return _0x4042f8();},'OGbaX':_0x113d16(0x280)},_0x5d1a25=_0x42586f[_0x113d16(0x1b4)][_0x113d16(0x1fe)]('|');let _0x14543=0x0;while(!![]){switch(_0x5d1a25[_0x14543++]){case'0':helper['setCredentialsFromYmlConfig'](this[_0x113d16(0x220)]);continue;case'1':helper[_0x113d16(0x290)](this[_0x113d16(0x220)],this[_0x113d16(0x1f0)],this[_0x113d16(0x28e)]);continue;case'2':try{_0x42586f[_0x113d16(0x264)](require,_0x42586f['ZGcvo'])[_0x113d16(0x282)](this[_0x113d16(0x220)],logger);}catch(_0xdef55d){}continue;case'3':helper['setBrowserstackInfraFromConfig'](this[_0x113d16(0x220)],this[_0x113d16(0x1f0)]);continue;case'4':this[_0x113d16(0x28e)]=helper[_0x113d16(0x228)]();continue;case'5':this['browserstackLocal']=null;continue;case'6':helper[_0x113d16(0x203)](this['config'],this[_0x113d16(0x1f0)],this[_0x113d16(0x28e)]);continue;case'7':this[_0x113d16(0x240)]=_0x557d10;continue;case'8':this[_0x113d16(0x27e)]=_0x42586f['WpMSn'](uuidv4);continue;case'9':this['config'][_0x113d16(0x1c8)]=this[_0x113d16(0x220)][_0x113d16(0x1c8)]||[];continue;case'10':this[_0x113d16(0x220)]=helper[_0x113d16(0x230)](this[_0x113d16(0x179)]);continue;case'11':PerformanceTester[_0x113d16(0x235)]();continue;case'12':helper[_0x113d16(0x23f)](this[_0x113d16(0x220)],this['cliConfig'],this[_0x113d16(0x28e)]);continue;case'13':this[_0x113d16(0x277)]=[];continue;case'14':if(this[_0x113d16(0x220)][_0x113d16(0x263)])throw new Error(this[_0x113d16(0x220)]['error']);continue;case'15':global[_0x113d16(0x240)]=_0x557d10;continue;case'16':helper[_0x113d16(0x1f1)](this['config'],this[_0x113d16(0x240)]);continue;case'17':this['config'][_0x113d16(0x1ef)]=this[_0x113d16(0x220)][_0x113d16(0x1ef)]||{};continue;case'18':this[_0x113d16(0x20a)]={};continue;case'19':helper['normalizeTestReportingEnvVars']();continue;case'20':this[_0x113d16(0x1cf)]=null;continue;case'21':this['cliConfig']=helper[_0x113d16(0x20f)](_0x3616d8);continue;case'22':if(helper['isUndefined'](this[_0x113d16(0x220)]))throw new Error(_0x42586f[_0x113d16(0x250)]);continue;case'23':this[_0x113d16(0x220)][_0x113d16(0x1ef)][_0x113d16(0x171)]=!helper[_0x113d16(0x215)]()||helper[_0x113d16(0x1e8)](this[_0x113d16(0x220)][_0x113d16(0x1ef)]['skipSessionStatus']);continue;case'24':this[_0x113d16(0x220)][_0x113d16(0x1ef)]['skipSessionName']=!helper[_0x113d16(0x215)]()||helper['isTrue'](this[_0x113d16(0x220)][_0x113d16(0x1ef)][_0x113d16(0x297)]);continue;case'25':helper[_0x113d16(0x1d9)](this['config']);continue;case'26':this['configPath']=helper[_0x113d16(0x274)](_0x3616d8);continue;}break;}}[a120_0x1e9cfa(0x186)](_0x337216){const _0x48e5e6=a120_0x1e9cfa,_0x8b2761={'IQcxG':_0x48e5e6(0x194),'hHkVs':function(_0x2cf819,_0x3d7903){return _0x2cf819===_0x3d7903;},'TUlti':function(_0x2cb6b9,_0x5d4156){return _0x2cb6b9===_0x5d4156;},'bcFGL':_0x48e5e6(0x28b),'pPYVZ':_0x48e5e6(0x1c3),'KDfpF':function(_0x1b7a91,_0x22fae7){return _0x1b7a91<_0x22fae7;},'bbnDT':function(_0x52efdf,_0x5131be){return _0x52efdf(_0x5131be);},'ZEGoR':_0x48e5e6(0x192),'pFKjn':function(_0x509087,_0x3d560b){return _0x509087===_0x3d560b;},'SRBRr':'4.5.0','WPrOX':_0x48e5e6(0x1ff),'hwpfo':_0x48e5e6(0x213),'vVwbb':'SIGTERM','voBFO':_0x48e5e6(0x1ea),'qRYZy':_0x48e5e6(0x29c),'xcJCd':function(_0x3254a0,_0xe906c5){return _0x3254a0!==_0xe906c5;},'Dhxzb':_0x48e5e6(0x22f),'vhUWj':_0x48e5e6(0x197),'pVRwF':'SIGQUIT','uLsUo':_0x48e5e6(0x25d),'ohEyf':'beforeExit'},_0x450df4=this[_0x48e5e6(0x240)];global[_0x48e5e6(0x220)]=this[_0x48e5e6(0x220)],helper[_0x48e5e6(0x18a)](this[_0x48e5e6(0x220)]),this[_0x48e5e6(0x1bf)]=null,global[_0x48e5e6(0x27e)]=this[_0x48e5e6(0x27e)],logger[_0x48e5e6(0x287)]('SDK\x20run\x20started\x20with\x20id:\x20'+this[_0x48e5e6(0x27e)]),!this[_0x48e5e6(0x220)][_0x48e5e6(0x1b6)]&&(this[_0x48e5e6(0x220)][_0x48e5e6(0x1b6)]=this[_0x48e5e6(0x220)][_0x48e5e6(0x26e)]||{});if(helper[_0x48e5e6(0x234)](helper[_0x48e5e6(0x178)](this[_0x48e5e6(0x220)]))||helper[_0x48e5e6(0x234)](helper[_0x48e5e6(0x245)](this[_0x48e5e6(0x220)])))throw new Error(_0x8b2761[_0x48e5e6(0x1bd)]);helper[_0x48e5e6(0x1b3)](this['config'])&&helper[_0x48e5e6(0x234)](helper['getLocalIdentifier'](this[_0x48e5e6(0x220)]))&&(!helper[_0x48e5e6(0x234)](this[_0x48e5e6(0x220)][_0x48e5e6(0x1b6)])&&_0x8b2761[_0x48e5e6(0x184)](this[_0x48e5e6(0x220)][_0x48e5e6(0x1b6)][_0x48e5e6(0x1ee)],Object)?!helper[_0x48e5e6(0x1e8)](this[_0x48e5e6(0x220)][_0x48e5e6(0x1b6)][_0x48e5e6(0x1fc)])&&(this[_0x48e5e6(0x220)][_0x48e5e6(0x1b6)][_0x48e5e6(0x1f6)]=helper['generateLocalIdentifier']()):this[_0x48e5e6(0x220)]['browserStackLocalOptions']={'localIdentifier':helper[_0x48e5e6(0x247)]()});this['config'][_0x48e5e6(0x1b6)][_0x48e5e6(0x1fc)]=helper[_0x48e5e6(0x1e8)](this[_0x48e5e6(0x220)]['browserStackLocalOptions'][_0x48e5e6(0x1fc)]),helper[_0x48e5e6(0x269)](this[_0x48e5e6(0x220)]);if(_0x8b2761[_0x48e5e6(0x1aa)](_0x450df4,_0x8b2761[_0x48e5e6(0x1c9)]))return;this[_0x48e5e6(0x22c)]();process[_0x48e5e6(0x219)][_0x48e5e6(0x29b)]&&(this[_0x48e5e6(0x220)][_0x48e5e6(0x1be)]=helper['isTrue'](process['env'][_0x48e5e6(0x29b)]),this[_0x48e5e6(0x220)][_0x48e5e6(0x180)]=this[_0x48e5e6(0x220)]['turboScaleOptions']||{});helper['isTurboScaleSession'](this[_0x48e5e6(0x220)])&&(process['env'][_0x48e5e6(0x29b)]=!![]);LoadTestModule[_0x48e5e6(0x231)](this[_0x48e5e6(0x220)])&&logger['debug'](_0x48e5e6(0x255)+this[_0x48e5e6(0x27e)]);if(!helper[_0x48e5e6(0x215)]()){try{process['env'][_0x48e5e6(0x20e)]=_0x450df4,utilities[_0x48e5e6(0x284)](_0x8b2761[_0x48e5e6(0x1a0)],{},this[_0x48e5e6(0x220)],this['framework']);}catch(_0x210354){logger[_0x48e5e6(0x17a)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x210354);}return;}if(helper[_0x48e5e6(0x21c)](_0x450df4)){if(global[_0x48e5e6(0x1d4)]||global[_0x48e5e6(0x21b)])return;_0x8b2761['KDfpF'](_0x8b2761[_0x48e5e6(0x260)](parseInt,helper['getPackageVersion'](_0x8b2761['ZEGoR'])),0x3)&&(this[_0x48e5e6(0x220)][_0x48e5e6(0x1a3)]=![]),_0x8b2761[_0x48e5e6(0x1e0)](helper[_0x48e5e6(0x200)](helper[_0x48e5e6(0x227)](_0x8b2761[_0x48e5e6(0x279)]),_0x8b2761['SRBRr']),0x1)&&(this[_0x48e5e6(0x220)][_0x48e5e6(0x1a3)]=!![]);}(helper[_0x48e5e6(0x234)](this[_0x48e5e6(0x220)][_0x48e5e6(0x1c8)])||helper[_0x48e5e6(0x234)](this['config'][_0x48e5e6(0x1c8)][_0x48e5e6(0x221)]))&&(helper[_0x48e5e6(0x234)](this[_0x48e5e6(0x220)][_0x48e5e6(0x204)])?logger[_0x48e5e6(0x287)](_0x8b2761[_0x48e5e6(0x17f)]):logger['warn'](_0x8b2761[_0x48e5e6(0x24b)]),this[_0x48e5e6(0x220)][_0x48e5e6(0x1c8)]=[]);!this[_0x48e5e6(0x220)][_0x48e5e6(0x1ef)]&&(this[_0x48e5e6(0x220)][_0x48e5e6(0x1ef)]={});try{process[_0x48e5e6(0x219)][_0x48e5e6(0x20e)]=_0x337216['_'][0x0],utilities[_0x48e5e6(0x284)](_0x8b2761[_0x48e5e6(0x1a0)],{},this[_0x48e5e6(0x220)],this[_0x48e5e6(0x240)]);}catch(_0x5eebf1){logger['debug']('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x5eebf1);}!this['config'][_0x48e5e6(0x199)]&&logger[_0x48e5e6(0x287)](constants[_0x48e5e6(0x214)]),this[_0x48e5e6(0x236)]=this['intExitHandler']['bind'](this),process['on'](_0x8b2761[_0x48e5e6(0x291)],this['intExitHandler']),process['on'](_0x8b2761[_0x48e5e6(0x1ce)],this[_0x48e5e6(0x236)]),process['on'](_0x8b2761['qRYZy'],this[_0x48e5e6(0x236)]),_0x8b2761[_0x48e5e6(0x1ad)](process['platform'],_0x8b2761[_0x48e5e6(0x1dc)])?(process['on'](_0x8b2761['vhUWj'],this[_0x48e5e6(0x236)]),process['on'](_0x8b2761[_0x48e5e6(0x1f7)],this[_0x48e5e6(0x236)])):process['on'](_0x8b2761[_0x48e5e6(0x23c)],this['intExitHandler']),process['on'](_0x8b2761[_0x48e5e6(0x252)],this[_0x48e5e6(0x226)]());}async[a120_0x1e9cfa(0x246)](_0x3fb361){const _0x55b64f=a120_0x1e9cfa,_0x4e8396={'DYJfY':_0x55b64f(0x28d),'ornXj':_0x55b64f(0x229),'rKXLa':_0x55b64f(0x25c),'MbEoW':function(_0x5812fd,_0x29a91d){return _0x5812fd===_0x29a91d;},'osEPm':_0x55b64f(0x272),'azVeV':function(_0x585c0f,_0x43431d){return _0x585c0f+_0x43431d;},'FtLAx':_0x55b64f(0x191),'YszMy':function(_0xd24b2c,_0xddbebf){return _0xd24b2c(_0xddbebf);},'EPGSw':_0x55b64f(0x1f3)};this[_0x55b64f(0x186)](_0x3fb361);if(helper['isTurboScaleSession'](this[_0x55b64f(0x220)])){const _0x5e8405=await helper[_0x55b64f(0x26c)](this['config']);this[_0x55b64f(0x220)]['turboScaleGridDetails']=_0x5e8405,_0x5e8405[_0x55b64f(0x1ed)]&&helper[_0x55b64f(0x28c)](this[_0x55b64f(0x220)]['browserstackLocal'])&&helper[_0x55b64f(0x1e8)](this[_0x55b64f(0x220)][_0x55b64f(0x182)])&&(this[_0x55b64f(0x220)][_0x55b64f(0x1b6)]['localIdentifier']=_0x4e8396[_0x55b64f(0x26a)],this[_0x55b64f(0x220)][_0x55b64f(0x1b6)][_0x4e8396[_0x55b64f(0x172)]]=_0x5e8405[_0x55b64f(0x1e1)][_0x55b64f(0x24c)](','),this[_0x55b64f(0x220)][_0x55b64f(0x1b6)][_0x55b64f(0x25f)]=_0x4e8396['rKXLa']),this['config']['turboScaleUrl']=_0x5e8405[_0x55b64f(0x1a2)],this['framework']&&_0x4e8396[_0x55b64f(0x257)](this['framework'][_0x55b64f(0x1fd)](),_0x4e8396['osEPm'])?this[_0x55b64f(0x220)][_0x55b64f(0x253)]=_0x4e8396['azVeV'](_0x5e8405['playwrightUrl'],_0x4e8396[_0x55b64f(0x20d)]):constants[_0x55b64f(0x189)]=helper[_0x55b64f(0x286)](this[_0x55b64f(0x220)]),logger[_0x55b64f(0x17a)](_0x55b64f(0x237)+constants[_0x55b64f(0x189)]);}helper[_0x55b64f(0x24d)](this[_0x55b64f(0x220)]),this[_0x55b64f(0x28a)](),_0x4e8396['YszMy'](setPercyFlag,this),![_0x4e8396['EPGSw'],_0x4e8396[_0x55b64f(0x259)]][_0x55b64f(0x21d)](this['framework'])&&!helper[_0x55b64f(0x233)](this[_0x55b64f(0x220)])&&!helper[_0x55b64f(0x1ca)]()['central_scanner']&&await this[_0x55b64f(0x1eb)]();}async[a120_0x1e9cfa(0x1b2)](){const _0x57c583=a120_0x1e9cfa,_0xa0a0ae={};_0xa0a0ae['RXbLh']=function(_0x1c74d9,_0x538224){return _0x1c74d9===_0x538224;},_0xa0a0ae[_0x57c583(0x270)]=_0x57c583(0x18e),_0xa0a0ae[_0x57c583(0x19a)]=_0x57c583(0x173),_0xa0a0ae[_0x57c583(0x17b)]=_0x57c583(0x292),_0xa0a0ae[_0x57c583(0x224)]=_0x57c583(0x25c),_0xa0a0ae[_0x57c583(0x249)]=_0x57c583(0x19c);const _0x39fe32=_0xa0a0ae;if(helper[_0x57c583(0x1e8)](this[_0x57c583(0x220)][_0x57c583(0x1cf)])&&(!this['percy']||!this[_0x57c583(0x1cf)][_0x57c583(0x276)]()))try{this[_0x57c583(0x1cf)]=await percyHelper[_0x57c583(0x1e3)](this[_0x57c583(0x220)]);if(!this[_0x57c583(0x1cf)]){process[_0x57c583(0x219)]['BROWSERSTACK_PERCY']=_0x39fe32[_0x57c583(0x270)];throw new Error(_0x39fe32['BNRvp']);}logger[_0x57c583(0x287)](_0x39fe32[_0x57c583(0x17b)]),process[_0x57c583(0x219)]['BROWSERSTACK_PERCY']=_0x39fe32[_0x57c583(0x224)];let _0x4443cd=0x0;const _0x599313=async()=>{const _0x21d33b=_0x57c583;_0x4443cd++,_0x39fe32[_0x21d33b(0x183)](_0x4443cd,0x1)&&await this[_0x21d33b(0x1b0)]();};process['on'](_0x39fe32[_0x57c583(0x249)],_0x599313);}catch(_0x4ef5f4){process[_0x57c583(0x219)][_0x57c583(0x241)]=_0x39fe32[_0x57c583(0x270)],logger[_0x57c583(0x17a)]('Error\x20in\x20percy\x20setup\x20'+_0x4ef5f4);throw new Error(_0x4ef5f4['toString']());}}async['stopPercy'](){const _0xd9ea3=a120_0x1e9cfa,_0x31734c={};_0x31734c['JnbfC']=_0xd9ea3(0x248),_0x31734c[_0xd9ea3(0x20c)]=_0xd9ea3(0x271);const _0x2ddef9=_0x31734c;if(this[_0xd9ea3(0x1cf)]&&this[_0xd9ea3(0x1cf)]['isRunning']())try{await percyHelper['stopPercy'](this['percy']),logger[_0xd9ea3(0x287)](_0x2ddef9['JnbfC']);}catch(_0x5c53e9){logger[_0xd9ea3(0x263)](_0x2ddef9[_0xd9ea3(0x20c)],_0x5c53e9[_0xd9ea3(0x1a1)]);}}async[a120_0x1e9cfa(0x19b)](){const _0x557569=a120_0x1e9cfa,_0x19b52e={};_0x19b52e[_0x557569(0x176)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x19b52e[_0x557569(0x1dd)]=_0x557569(0x1bc);const _0x42bc7f=_0x19b52e;if(helper['isBrowserstackInfra']()&&helper[_0x557569(0x1e8)](this[_0x557569(0x220)]['browserstackLocal'])&&(!this[_0x557569(0x182)]||!this[_0x557569(0x182)][_0x557569(0x276)]()))try{if(this[_0x557569(0x220)][_0x557569(0x1b6)][_0x557569(0x1fc)]){logger[_0x557569(0x17a)](_0x42bc7f[_0x557569(0x176)]);return;}this[_0x557569(0x182)]=await helper[_0x557569(0x18d)](this[_0x557569(0x220)]),logger[_0x557569(0x287)](_0x42bc7f[_0x557569(0x1dd)]);}catch(_0x32d60a){logger[_0x557569(0x17a)](_0x32d60a);throw new Error(_0x32d60a[_0x557569(0x1ae)]());}}async[a120_0x1e9cfa(0x1d3)](){const _0x1d2b3f=a120_0x1e9cfa,_0x5acbac={};_0x5acbac[_0x1d2b3f(0x267)]='Local\x20binary\x20stopped',_0x5acbac[_0x1d2b3f(0x1a8)]=_0x1d2b3f(0x261);const _0x3aef94=_0x5acbac;if(this['browserstackLocal']&&this[_0x1d2b3f(0x182)]['isRunning']())try{await helper[_0x1d2b3f(0x273)](this[_0x1d2b3f(0x182)]),logger[_0x1d2b3f(0x287)](_0x3aef94['WfVYO']);}catch(_0x159cb7){logger[_0x1d2b3f(0x263)](_0x3aef94[_0x1d2b3f(0x1a8)],_0x159cb7[_0x1d2b3f(0x1a1)]);}}async['setUpHubUrl'](){const _0xd965f1=a120_0x1e9cfa;return PerformanceTester[_0xd965f1(0x251)](PerformanceAutEvents[_0xd965f1(0x268)],async()=>{const _0x4283e5=_0xd965f1;await hubAllocator[_0x4283e5(0x21e)](this['config']);})();}async[a120_0x1e9cfa(0x22b)](){const _0x49af49=a120_0x1e9cfa,_0x5fbf92={'InDKR':function(_0x599bd2,_0x90bacd){return _0x599bd2(_0x90bacd);},'hqdGv':_0x49af49(0x196),'qYcjo':function(_0x30f2fe,_0x49e124,_0x1434fa,_0x2f1f4b,_0x4949ef,_0x25368f,_0x52dc9a){return _0x30f2fe(_0x49e124,_0x1434fa,_0x2f1f4b,_0x4949ef,_0x25368f,_0x52dc9a);},'RqTmH':_0x49af49(0x27d),'rPwMj':'BrowserstackHealingInitFailed','AAibs':function(_0x120c7d,_0x37bc93){return _0x120c7d(_0x37bc93);},'HqkLf':_0x49af49(0x26b),'wYFxF':_0x49af49(0x1fa),'fOXDe':function(_0x469e11,_0x5c6473){return _0x469e11(_0x5c6473);},'FVGED':function(_0xf4ef6,_0x2f791d){return _0xf4ef6===_0x2f791d;},'fcrKe':_0x49af49(0x25c),'aSMGu':function(_0x9d8e6a,_0xc2b951){return _0x9d8e6a===_0xc2b951;},'CIFxi':function(_0x181149,_0x78e449){return _0x181149===_0x78e449;},'bWkbi':_0x49af49(0x24e),'EBzWL':function(_0x3232b5,_0x319bbd){return _0x3232b5===_0x319bbd;},'bdbaJ':'Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','fEPOj':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','SLCwC':function(_0x45e5ad,_0x3c61f4){return _0x45e5ad(_0x3c61f4);},'DQdbD':_0x49af49(0x243),'fzoRO':function(_0x2c37d8,_0x1133d0){return _0x2c37d8>=_0x1133d0;},'ElMgR':function(_0x57a6cb,_0x384f5a){return _0x57a6cb<_0x384f5a;},'VQuWH':function(_0x36fb7e,_0x34f537){return _0x36fb7e>=_0x34f537;},'MbCoj':_0x49af49(0x244),'bUEII':'aiHeal:tcgAuth','ZyGHj':function(_0x459000){return _0x459000();}},_0x22b318=PerformanceTester[_0x49af49(0x251)](_0x5fbf92[_0x49af49(0x28f)],async()=>{const _0x324c69=_0x49af49;try{const _0x152acf=new Date(),_0x4b4872=helper[_0x324c69(0x1b9)](this[_0x324c69(0x220)]),_0x1b783b=_0x5fbf92[_0x324c69(0x19d)](require,path[_0x324c69(0x24c)](__dirname,_0x5fbf92[_0x324c69(0x18c)])),_0x7a465d=_0x5fbf92[_0x324c69(0x254)](timeoutPromise,constants[_0x324c69(0x1b5)],_0x5fbf92[_0x324c69(0x18f)],_0x5fbf92['rPwMj'],_0x152acf,this[_0x324c69(0x220)],this[_0x324c69(0x240)]),_0x537138={'tcgUrl':constants[_0x324c69(0x281)],'sdkVersion':_0x5fbf92['AAibs'](require,_0x5fbf92[_0x324c69(0x1e2)])[_0x324c69(0x1ba)],'methodUsed':_0x5fbf92['wYFxF'],'proxyConfig':_0x4b4872,'os':os['platform']()};if(_0x4b4872&&_0x4b4872[_0x324c69(0x23d)]){utilities[_0x324c69(0x284)](constants[_0x324c69(0x170)],_0x537138,this[_0x324c69(0x220)],this[_0x324c69(0x240)]);return;}const _0x32771c={};_0x32771c[_0x324c69(0x216)]=_0x4b4872;const _0x330ffb=await Promise['race']([_0x1b783b[_0x324c69(0x188)](this[_0x324c69(0x220)][_0x324c69(0x285)],this[_0x324c69(0x220)]['userName'],constants[_0x324c69(0x281)],_0x5fbf92[_0x324c69(0x1c2)](require,_0x5fbf92[_0x324c69(0x1e2)])[_0x324c69(0x1ba)],_0x32771c)['then'](_0x3b4b13=>{const _0x5d3e9e=_0x324c69;return _0x7a465d[_0x5d3e9e(0x1c4)](),_0x3b4b13;}),_0x7a465d]);_0x330ffb[_0x324c69(0x27b)]=_0x5fbf92[_0x324c69(0x1cd)](_0x330ffb[_0x324c69(0x27b)],_0x5fbf92['fcrKe'])||_0x5fbf92[_0x324c69(0x1cd)](_0x330ffb[_0x324c69(0x27b)],!![]);const _0x4341dd=_0x5fbf92[_0x324c69(0x242)](this[_0x324c69(0x220)]['selfHeal'],!![])||_0x5fbf92[_0x324c69(0x22a)](this['config'][_0x324c69(0x256)],_0x5fbf92[_0x324c69(0x1cc)]);if(_0x5fbf92[_0x324c69(0x242)](_0x330ffb['message'],constants[_0x324c69(0x187)])&&_0x4341dd)logger[_0x324c69(0x287)](_0x5fbf92['bWkbi']);else{if(!_0x330ffb[_0x324c69(0x17e)]&&_0x5fbf92[_0x324c69(0x1f2)](_0x330ffb['status'],0x1f7)&&_0x4341dd)logger[_0x324c69(0x287)](_0x5fbf92[_0x324c69(0x239)]),utilities[_0x324c69(0x284)](constants[_0x324c69(0x1e4)],_0x537138,this[_0x324c69(0x220)],this[_0x324c69(0x240)]);else{if(!_0x330ffb[_0x324c69(0x17e)]&&_0x4341dd){logger['info'](_0x5fbf92[_0x324c69(0x1cb)]);const _0x5b63bc={'tcgUrl':constants[_0x324c69(0x281)],'sdkVersion':_0x5fbf92[_0x324c69(0x206)](require,_0x5fbf92[_0x324c69(0x1e2)])['version'],'methodUsed':_0x5fbf92[_0x324c69(0x1c1)],'proxyConfig':_0x4b4872,'os':os['platform']()};utilities[_0x324c69(0x284)](constants[_0x324c69(0x24a)],_0x5b63bc,this[_0x324c69(0x220)],this[_0x324c69(0x240)]);}else{if(_0x330ffb['isAuthenticated']&&!_0x330ffb[_0x324c69(0x27b)]&&_0x4341dd)logger[_0x324c69(0x287)](_0x5fbf92[_0x324c69(0x238)]);else{if(_0x5fbf92[_0x324c69(0x258)](_0x330ffb[_0x324c69(0x1bb)],0xc8)&&_0x5fbf92[_0x324c69(0x232)](_0x330ffb[_0x324c69(0x1bb)],0x12c))utilities['fireFunnelTestEvent'](constants[_0x324c69(0x283)],_0x537138,this[_0x324c69(0x220)],this[_0x324c69(0x240)]);else{if(_0x5fbf92[_0x324c69(0x174)](_0x330ffb[_0x324c69(0x1bb)],0x190))_0x537138['status']=_0x330ffb['status'],utilities[_0x324c69(0x284)](constants[_0x324c69(0x1c6)],_0x537138,this[_0x324c69(0x220)],this[_0x324c69(0x240)]);else!_0x330ffb[_0x324c69(0x1bb)]&&utilities[_0x324c69(0x284)](constants[_0x324c69(0x275)],_0x537138,this[_0x324c69(0x220)],this[_0x324c69(0x240)]);}}}}}if(_0x330ffb[_0x324c69(0x17e)]&&_0x330ffb[_0x324c69(0x27b)]){const _0x47964b={};_0x47964b[_0x324c69(0x23e)]=_0x330ffb;const _0x31c5fb=_0x47964b;_0x4b4872&&(_0x31c5fb['proxyConfig']=_0x4b4872),_0x31c5fb[_0x324c69(0x240)]=this[_0x324c69(0x240)],_0x31c5fb[_0x324c69(0x223)]=this[_0x324c69(0x220)],helper['setupTcgConfigFile'](_0x31c5fb),logger[_0x324c69(0x17a)](_0x5fbf92[_0x324c69(0x25e)]);}}catch(_0x1f3544){logger[_0x324c69(0x17a)](_0x324c69(0x205)+(_0x1f3544['message']?_0x1f3544['message']:''));}});await _0x5fbf92[_0x49af49(0x1b8)](_0x22b318);}[a120_0x1e9cfa(0x28a)](){const _0x1f34c4=a120_0x1e9cfa,_0xef2288={'rvAJC':function(_0x577d31,_0x468f97){return _0x577d31(_0x468f97);},'UXjNk':_0x1f34c4(0x181)};_0xef2288[_0x1f34c4(0x265)](require,_0xef2288[_0x1f34c4(0x21a)])();}[a120_0x1e9cfa(0x22c)](){const _0x2f7ad2=a120_0x1e9cfa,_0x110fba={};_0x110fba['SbCLI']=_0x2f7ad2(0x1ac),_0x110fba[_0x2f7ad2(0x1de)]=_0x2f7ad2(0x1ab),_0x110fba['Zaviv']=_0x2f7ad2(0x1b7);const _0xdf8ec2=_0x110fba,_0x33a6fb=_0x594aee=>{const _0x42d1c1=_0x2f7ad2,_0x43a03e=_0xdf8ec2[_0x42d1c1(0x1df)][_0x42d1c1(0x1fe)]('|');let _0x15f7c5=0x0;while(!![]){switch(_0x43a03e[_0x15f7c5++]){case'0':ClientTroubleShootingService[_0x42d1c1(0x24f)]();continue;case'1':logger[_0x42d1c1(0x263)](_0x594aee[_0x42d1c1(0x1a1)]);continue;case'2':PerformanceTester['captureError'](_0x594aee);continue;case'3':this[_0x42d1c1(0x277)][_0x42d1c1(0x175)](util[_0x42d1c1(0x1b1)]('%j',_0x594aee));continue;case'4':logger[_0x42d1c1(0x17a)](util[_0x42d1c1(0x1b1)](_0x594aee));continue;}break;}};process['on'](_0xdf8ec2[_0x2f7ad2(0x1de)],_0x33a6fb),process['on'](_0xdf8ec2[_0x2f7ad2(0x17d)],_0x33a6fb);}async['intExitHandler'](_0x751c43){const _0x1640fa=a120_0x1e9cfa,_0x10cdcb={'zAPIn':function(_0x3c086e,_0x41360f){return _0x3c086e+_0x41360f;},'MtGwB':'Signal\x20shutdown\x20did\x20not\x20complete\x20cleanly:\x20','YObOe':'completed','UKHhi':function(_0x3d0598,_0x48ab59,_0x2709a0){return _0x3d0598(_0x48ab59,_0x2709a0);},'YfiEI':function(_0x13e781,_0x4d8643){return _0x13e781+_0x4d8643;},'LRNGn':'handled','TbkpH':function(_0x251b35,_0x3fc4e1){return _0x251b35+_0x3fc4e1;},'JZEoc':'Shutdown\x20triggered\x20by\x20','gSwap':function(_0x3de98d,_0x5b287e){return _0x3de98d(_0x5b287e);},'SDeVJ':function(_0x10897f,_0x56b69d){return _0x10897f===_0x56b69d;},'AThvP':_0x1640fa(0x1a4),'plpdu':function(_0x460f66,_0x249288){return _0x460f66+_0x249288;},'WULOM':function(_0x59dc58,_0x4147a3){return _0x59dc58+_0x4147a3;},'YlOnn':'Signal\x20shutdown\x20timed\x20out\x20after\x20','FheXf':_0x1640fa(0x17c)};if(this[_0x10cdcb[_0x1640fa(0x20b)](_0x10cdcb[_0x1640fa(0x1fb)],_0x751c43)])return;this[_0x10cdcb[_0x1640fa(0x1e7)](_0x10cdcb[_0x1640fa(0x1fb)],_0x751c43)]=!![],logger[_0x1640fa(0x287)](_0x10cdcb[_0x1640fa(0x1d7)](_0x10cdcb[_0x1640fa(0x1d1)],_0x751c43)),this['killSignal']=_0x751c43;const _0x346ee9=0x7530;let _0x23e660;const _0x5eb456=(async()=>{const _0x3a5a84=_0x1640fa;await ClientTroubleShootingService[_0x3a5a84(0x27c)](_0x751c43),await TestHubHandler[_0x3a5a84(0x185)](_0x751c43),await ClientTroubleShootingService[_0x3a5a84(0x24f)](),await BrowserstackCLI[_0x3a5a84(0x296)]()[_0x3a5a84(0x185)]();})()[_0x1640fa(0x299)](()=>_0x1640fa(0x266))['catch'](_0x1e0b43=>{const _0x17d9bf=_0x1640fa;return logger[_0x17d9bf(0x17a)](_0x10cdcb[_0x17d9bf(0x1d7)](_0x10cdcb['MtGwB'],util[_0x17d9bf(0x1b1)](_0x1e0b43))),_0x10cdcb[_0x17d9bf(0x19e)];}),_0x1bcbc5=new Promise(_0x524451=>{const _0x4b1a64=_0x1640fa;_0x23e660=_0x10cdcb[_0x4b1a64(0x1d8)](setTimeout,()=>_0x524451(_0x4b1a64(0x1a4)),_0x346ee9),_0x23e660[_0x4b1a64(0x218)]&&_0x23e660[_0x4b1a64(0x218)]();}),_0x8a770=await Promise['race']([_0x5eb456,_0x1bcbc5]);_0x10cdcb[_0x1640fa(0x1d6)](clearTimeout,_0x23e660),_0x10cdcb[_0x1640fa(0x210)](_0x8a770,_0x10cdcb[_0x1640fa(0x288)])&&(logger[_0x1640fa(0x222)](_0x10cdcb[_0x1640fa(0x1a9)](_0x10cdcb[_0x1640fa(0x202)](_0x10cdcb[_0x1640fa(0x1f9)],_0x346ee9),_0x10cdcb[_0x1640fa(0x19f)])),process[_0x1640fa(0x293)](process[_0x1640fa(0x212)]||0x0));}[a120_0x1e9cfa(0x226)](){const _0x13d9d9=a120_0x1e9cfa,_0x3e051c={'tgWJm':function(_0x28a9b3,_0x2a77e5){return _0x28a9b3===_0x2a77e5;},'EDSHT':'Calling\x20Build\x20Stop\x20from\x20ExitHandler','DoaSL':function(_0x4f24bc,_0x24d700){return _0x4f24bc>_0x24d700;},'iKowd':function(_0x5b78a0,_0x3b94ce){return _0x5b78a0(_0x3b94ce);},'vCqCb':function(_0x12bde9){return _0x12bde9();},'lCPXy':_0x13d9d9(0x1da)};let _0x1620ad=0x0;return async()=>{const _0xd7e415=_0x13d9d9;_0x1620ad++;if(_0x3e051c[_0xd7e415(0x27f)](_0x1620ad,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0xd7e415(0x240)])&&await this[_0xd7e415(0x1d3)]();try{logger[_0xd7e415(0x17a)](_0x3e051c['EDSHT']),await TestHubHandler[_0xd7e415(0x185)](_0x1620ad),await ClientTroubleShootingService[_0xd7e415(0x24f)](),await BrowserstackCLI[_0xd7e415(0x296)]()[_0xd7e415(0x185)]('1');}catch(_0x42338b){logger[_0xd7e415(0x17a)](_0xd7e415(0x1c0)+util[_0xd7e415(0x1b1)](_0x42338b));}PerformanceTester[_0xd7e415(0x193)](PerformanceEvents[_0xd7e415(0x1af)]);if(PerformanceTester[_0xd7e415(0x26f)]()){const {measures:_0x5848e2,errors:_0x35ca10}=await PerformanceTester[_0xd7e415(0x1f4)](),_0x41e23f={};if(_0x5848e2&&_0x3e051c['DoaSL'](_0x5848e2['length'],0x0)||_0x35ca10&&_0x3e051c[_0xd7e415(0x22e)](_0x35ca10[_0xd7e415(0x221)],0x0)){const _0x364126={};_0x364126[_0xd7e415(0x195)]=_0x5848e2,_0x364126[_0xd7e415(0x26d)]=_0x35ca10,Object[_0xd7e415(0x1e9)](_0x41e23f,_0x364126);}try{const _0xcf15dc=await helper[_0xd7e415(0x1c7)](_0x41e23f,this['config']);logger[_0xd7e415(0x17a)](_0xd7e415(0x295)+_0x3e051c[_0xd7e415(0x201)](getEdsInstrumentationAPIUrl,'')+_0xd7e415(0x22d)+_0xcf15dc[_0xd7e415(0x1a5)]);}catch(_0x3871c6){logger['debug'](_0xd7e415(0x1d5)+_0x3e051c['iKowd'](getEdsInstrumentationAPIUrl,'')+_0xd7e415(0x207)+util[_0xd7e415(0x1b1)](_0x3871c6));}try{fs[_0xd7e415(0x1f5)](path[_0xd7e415(0x24c)](_0x3e051c['vCqCb'](getLogDir),_0x3e051c['lCPXy']),JSON[_0xd7e415(0x21f)](_0x41e23f));}catch(_0x447e61){logger[_0xd7e415(0x17a)](_0xd7e415(0x27a)+_0x447e61);}}}logger&&logger['close'](),fileLogger&&fileLogger[_0xd7e415(0x1d2)]();};}}function a120_0x237f(){const _0x5d0da9=['1203390CcTodW','Dhxzb','xfqjw','NswvP','SbCLI','pFKjn','customRepeaters','HqkLf','startPercy','TCG_DOWN','./logger','./timeoutPromise','TbkpH','isTrue','assign','SIGINT','setUpHubUrl','216879jxewGq','isTrialGrid','constructor','testContextOptions','cliConfig','validateSkipAppOverride','EBzWL','codeceptjs','finalize','writeFileSync','localIdentifier','pVRwF','./performance/constants','YlOnn','BrowserstackHealing.init','LRNGn','skipBinaryInitialisation','toLowerCase','split','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','compareVersions','iKowd','WULOM','setSmartTestSelectionFeatureBranchesConfig','parallelsPerPlatform','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','SLCwC','\x20with\x20error\x20','./testhub/utils','../bin/v2/modules/loadTestModule','errorMessage','YfiEI','MAfwx','FtLAx','FRAMEWORK','setCLICaps','SDeVJ','378165dWvORo','exitCode','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','AUTOLOGCAPTURE_NOTIFICATION','isBrowserstackInfra','proxy','./percy/utils','unref','env','UXjNk','__isPuppeteerInstalled','requireSeleniumWebdriverCheck','includes','allocateHub','stringify','config','length','warn','bstackConfig','LcdrG','default','exitHandler','getPackageVersion','setEnvCaps','custom-repeater','CIFxi','setupTCGAuth','handleExceptions','\x20with\x20response\x20','DoaSL','win32','readConfig','isLTSSession','ElMgR','isTurboScaleSession','isUndefined','startMonitoring','intExitHandler','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','DQdbD','bdbaJ','../hubAllocationMethods','434RSZyEF','uLsUo','proxyUrl','tcgAuthConfig','setLogLevel','framework','BROWSERSTACK_PERCY','aSMGu','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','tcg\x20config\x20setup\x20successful.','getAccessKey','initialize','generateLocalIdentifier','Percy\x20stopped','PlTFt','TCG_AUTH_FAILURE','hwpfo','join','setProxySettings','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','reportFinalDetectionState','OGbaX','measureWrapper','ohEyf','turboScaleUrl','qYcjo','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','selfHeal','MbEoW','fzoRO','osEPm','uuid','108ksFXrK','true','SIGBREAK','MbCoj','forceLocal','bbnDT','Error\x20occured\x20while\x20stopping\x20local\x20binary','fileLogger','error','byMCM','rvAJC','completed','WfVYO','HUB_MANAGEMENT','setHandlePWError','DYJfY','../../package.json','getTurboScaleGridDetails','exceptions','localOptions','isEnabled','PSctj','Error\x20occured\x20while\x20stopping\x20percy','playwright','stopLocalBinary','getConfigPath','INVALID_INIT_RESP_WITH_USER_IMPACT','isRunning','unhandledErrors','13|19|4|5|20|26|10|21|9|17|18|8|7|15|22|14|16|3|0|23|24|1|6|25|12|11|2','ZEGoR','Error\x20in\x20writing\x20events\x20to\x20file\x20','isHealingEnabled','reportProcessInterruptionSituation','BrowserstackHealing.init\x20method\x20timed\x20out','sdkRunId','tgWJm','No\x20config\x20provided.','TCG_URL','setupCaCertificate','AI_INIT_SUCCESSFUL','fireFunnelTestEvent','accessKey','getHubUrl','info','AThvP','../bin/v2/browserstackCLI','setupKeepAlive','integrations','isNotUndefined','ats-repeater','envConfig','bUEII','getFinalCaps','vVwbb','Percy\x20started\x20successfully','exit','29368AUocrn','Data\x20sent\x20successfully\x20to\x20','getInstance','skipSessionName','734084EHSemK','then','796532UYSMPy','BROWSERSTACK_TURBOSCALE','SIGHUP','AI_PROXY_FAILURE','skipSessionStatus','ornXj','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','VQuWH','push','pVgWi','./utilities','getUserName','configPath','debug','sLOuy','ms;\x20forcing\x20exit','Zaviv','isAuthenticated','WPrOX','turboScaleOptions','./setKeepAlive','browserstackLocal','RXbLh','hHkVs','stop','preInitialize','UPGRADE_REQUIRED','init','hubUrl','sanitizeCaps','6067qCQHMr','hqdGv','startLocalBinary','false','RqTmH','6Tyrbpt','?caps=','selenium-webdriver','end','userName\x20or\x20accessKey\x20is\x20not\x20defined','measures','../ai-sdk-node/bundle','SIGABRT','winstonLogger','disableAutoCaptureLogs','BNRvp','setupBrowserstackLocal','beforeExit','InDKR','YObOe','FheXf','pPYVZ','message','url','useW3C','timed-out','statusCode','../bin/utils/clientTroubleshootingService','../bin/utils/constants','Nufxx','plpdu','TUlti','unhandledRejection','1|4|3|2|0','xcJCd','toString','SDK_CLEANUP','stopPercy','format','setupPercy','getLocalConfig','iIxMX','TCG_AUTH_TIMEOUT','browserStackLocalOptions','uncaughtException','ZyGHj','getProxyConfigForTcg','version','status','Local\x20binary\x20started\x20successfully','IQcxG','turboScale','killSignal','Error\x20in\x20sending\x20testhub\x20stop:\x20','wYFxF','fOXDe','SDKTestAttempted','cancel','9NTghZA','AI_INIT_FAILURE','sendToEDS','platforms','bcFGL','getCentralUser','fEPOj','fcrKe','FVGED','voBFO','percy','70HNnkoo','JZEoc','close','stopBrowserstackLocal','__isPlaywrightInstalled','Failed\x20to\x20send\x20data\x20to\x20','gSwap','zAPIn','UKHhi','setLogDir','events.json'];a120_0x237f=function(){return _0x5d0da9;};return a120_0x237f();}exports[a120_0x1e9cfa(0x225)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121_0x228b92=a121_0x25b4;(function(_0x47225c,_0x141f68){const _0x471c51=a121_0x25b4,_0x425cbc=_0x47225c();while(!![]){try{const _0x2bfc19=parseInt(_0x471c51(0x1ba))/0x1*(parseInt(_0x471c51(0x1c2))/0x2)+parseInt(_0x471c51(0x218))/0x3*(-parseInt(_0x471c51(0x1aa))/0x4)+-parseInt(_0x471c51(0x212))/0x5+-parseInt(_0x471c51(0x236))/0x6+parseInt(_0x471c51(0x1f8))/0x7+-parseInt(_0x471c51(0x1ad))/0x8+parseInt(_0x471c51(0x209))/0x9;if(_0x2bfc19===_0x141f68)break;else _0x425cbc['push'](_0x425cbc['shift']());}catch(_0x229020){_0x425cbc['push'](_0x425cbc['shift']());}}}(a121_0x4eee,0xa09e5));const util=require('util'),logger=require(a121_0x228b92(0x1de))[a121_0x228b92(0x23d)],accessibilityHelper=require(a121_0x228b92(0x215)),globals=require(a121_0x228b92(0x21b)),scripts=require(a121_0x228b92(0x1b1)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a121_0x228b92(0x268)),BrowserstackCLI=require(a121_0x228b92(0x23c));let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a121_0x26e529){logger[a121_0x228b92(0x1b6)](a121_0x228b92(0x216));}function a121_0x25b4(_0x401d91,_0x119c00){const _0x4eeeba=a121_0x4eee();return a121_0x25b4=function(_0x25b4d3,_0x430452){_0x25b4d3=_0x25b4d3-0x1a5;let _0x1511d9=_0x4eeeba[_0x25b4d3];return _0x1511d9;},a121_0x25b4(_0x401d91,_0x119c00);}const a121_0x1791c9={};a121_0x1791c9[a121_0x228b92(0x1ea)]=0x1,a121_0x1791c9['timeoutMs']=0x7530,a121_0x1791c9[a121_0x228b92(0x217)]=0x7530;function a121_0x4eee(){const _0x218e11=['KlYgG','\x20-\x20not\x20applicable','timeoutMs','goto','xPKPr','rOOqv','scanSucceeded','nNhhQ','env','GXDvl','capabilitiesList','max','1417276bjtpBT','RYrHX','LgQsf','ViWQK','uJEYx','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','rejected','Unknown\x20driver/page\x20type:\x20','fulfilled','SATKK','resolveMobileThTestRunUuid','Page','vODWY','aaWLP','VRJmw','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','29003328TDNttl','evaluate','isMobilePlatform','manage','Operation\x20timed\x20out\x20after\x20','EHlSf','PERFORM_SCAN','error','message','3742640okUGRG','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','rDeJG','./helper','Playwright\x20accessibility\x20helper\x20not\x20available','defaultTimeoutMs','3eljdpN','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','gbHfM','../globals','driverType','name','Comprehensive\x20accessibility\x20scan\x20failed\x20(','UQOXy','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','xxOtD','LoEOJ','performComprehensiveAccessibilityScanWithRetry','RzZyr','SSDlf','performScan','AyoNu','getSession','ms\x20using\x20setTimeouts\x20API','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','ceYDE','wofwZ','vCzxc','url','\x20failed\x20(','getInstance','Unknown\x20error','bstackA11yScanOptions','getAccessibilityResultsSummaryWithRetry','isAccessibilityPlatform','FGvpK','3484146nWMlui','results','sIuDc','LLVou','TVCcd','value','../../bin/v2/browserstackCLI','winstonLogger','ywsDE','agiMo','CGgSU','mGSDC','Gmcmh','IixQB','zBawU','Skipping\x20timeout\x20setting\x20for\x20','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','JECJD','Accessibility\x20results\x20retrieval\x20attempt\x20','setDefaultTimeout','setPlaywrightScriptTimeout','accessibilityPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','ThfLz','isPlaywright','setTimeouts','zLHHY','\x20completed\x20successfully.','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','saveTestResults','HNWFQ','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','WtcSa','unknown','getAccessibilityResultsWithRetry','EniWT','ADqMN','Accessibility\x20results\x20save\x20attempt\x20',').\x20Last\x20error:\x20','getAccessibilityResults','isPlaywrightPage','is_mobile_session','timeouts','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','getCurrentUrl','zlHeL','EvhMj','updateRetryConfig','OoUsn','knVir','../performance/constants','Scan\x20attempt\x20','QtHdG','currentTest','type','status','summary','UiLyL','ZoVgo','constructor','setScriptTimeout','ms\x20using\x20setScriptTimeout\x20API','stringify','TZMSd','gSzUu','assign','3514948ktIOTf','rgTuH',',\x20cannot\x20perform\x20scan\x20with\x20retry.','4807480SxeMVK','setSeleniumScriptTimeout','TpENr','iaTIm','./scripts','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Ewwpp','pGqUK','sZiew','debug','NMbbb','KtpdI','options','61rOHqLl','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','isSeleniumDriver','bstackA11yShouldScan','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','UzjKK','browserStackEvaluate','getGlobal','1368cKSAPQ','isRunning','saveAccessibilityResultsWithRetry','):\x20','VRGxw','\x20failed\x20for\x20method:\x20','DKund',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','\x20for\x20method:\x20','yDLJs','UHhoy','BHLYS','aoAyE','qLxQi','Rkpil','isAccessibilityAutomationSession','undefined',').\x20Error:\x20','executeAsyncScript','ms\x20using\x20timeouts()\x20API','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','hqCqE','page','warn','race','reason','UtKpw','info','../logger','playwright-codecept-driver','getRetryConfig','performScanWithRetry','function','ntTAo','frNiX','dZoJr','zXAtE','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Accessibility\x20scan\x20attempt\x20','getAccessibilityResultsSummary','maxRetries','selenium-webdriver'];a121_0x4eee=function(){return _0x218e11;};return a121_0x4eee();}const RETRY_CONFIG=a121_0x1791c9,setConfigTimeout=(_0x2f69ad,_0x2b6739=null)=>{const _0x247df7=a121_0x228b92,_0x1c081b={'RzZyr':function(_0x3792cb,_0x5cfc0d){return _0x3792cb===_0x5cfc0d;},'xxOtD':'scannerProcessingTimeout','LoEOJ':function(_0x4d06c8,_0x5ea75f){return _0x4d06c8*_0x5ea75f;},'sZiew':function(_0x20afae,_0x3d64c4){return _0x20afae(_0x3d64c4);}};if(BrowserstackCLI[_0x247df7(0x230)]()[_0x247df7(0x1c3)]()&&BrowserstackCLI[_0x247df7(0x230)]()['getAccessibilityModule']()){const _0x23e453=BrowserstackCLI[_0x247df7(0x230)]()['getAccessibilityModule']()['accessibilityConfig'],_0x1d30d9=_0x23e453[_0x247df7(0x1b9)][_0x247df7(0x1f6)]||[];for(const _0x1b2630 of _0x1d30d9){_0x1c081b[_0x247df7(0x224)](_0x1b2630['name'],_0x1c081b[_0x247df7(0x221)])&&_0x1c081b[_0x247df7(0x224)](_0x2b6739,null)&&(_0x2f69ad[_0x247df7(0x1ee)]=_0x1c081b[_0x247df7(0x222)](_0x1c081b['sZiew'](parseInt,_0x1b2630[_0x247df7(0x23b)]),0x3e8));}}else process['env'][_0x247df7(0x24c)]&&(_0x2f69ad[_0x247df7(0x1ee)]=_0x1c081b[_0x247df7(0x222)](_0x1c081b[_0x247df7(0x1b5)](parseInt,process[_0x247df7(0x1f4)][_0x247df7(0x24c)]),0x3e8));},detectDriverType=_0x532a59=>{const _0x4ecf33=a121_0x228b92,_0x4f2a6f={};_0x4f2a6f[_0x4ecf33(0x263)]=_0x4ecf33(0x257),_0x4f2a6f[_0x4ecf33(0x1fa)]=function(_0x493784,_0x117955){return _0x493784===_0x117955;},_0x4f2a6f[_0x4ecf33(0x1fc)]=_0x4ecf33(0x1e2),_0x4f2a6f[_0x4ecf33(0x254)]=function(_0x5b5a1a,_0x1d454f){return _0x5b5a1a===_0x1d454f;},_0x4f2a6f['UtKpw']='playwright-page',_0x4f2a6f[_0x4ecf33(0x243)]=function(_0x4b811f,_0x3a6cc8){return _0x4b811f===_0x3a6cc8;},_0x4f2a6f[_0x4ecf33(0x266)]=_0x4ecf33(0x1eb),_0x4f2a6f[_0x4ecf33(0x1a8)]=_0x4ecf33(0x204),_0x4f2a6f[_0x4ecf33(0x26a)]=function(_0x376f26,_0x1a22f6){return _0x376f26===_0x1a22f6;},_0x4f2a6f[_0x4ecf33(0x264)]='WebDriver',_0x4f2a6f[_0x4ecf33(0x207)]=function(_0x4c2c4e,_0x108c78){return _0x4c2c4e===_0x108c78;},_0x4f2a6f[_0x4ecf33(0x250)]='Playwright',_0x4f2a6f[_0x4ecf33(0x23f)]=_0x4ecf33(0x1df),_0x4f2a6f[_0x4ecf33(0x1f3)]=function(_0xb16c84,_0x5744bf){return _0xb16c84||_0x5744bf;},_0x4f2a6f[_0x4ecf33(0x206)]=_0x4ecf33(0x1d2);const _0x34ec31=_0x4f2a6f;if(!_0x532a59){const _0x5f2e7f={};return _0x5f2e7f[_0x4ecf33(0x24e)]=![],_0x5f2e7f[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x263)],_0x5f2e7f;}if(_0x34ec31[_0x4ecf33(0x1fa)](typeof _0x532a59[_0x4ecf33(0x20a)],_0x34ec31[_0x4ecf33(0x1fc)])&&_0x34ec31['LgQsf'](typeof _0x532a59['url'],_0x34ec31[_0x4ecf33(0x1fc)])&&_0x34ec31['HNWFQ'](typeof _0x532a59[_0x4ecf33(0x1ef)],_0x34ec31[_0x4ecf33(0x1fc)])){const _0xcfc775={};return _0xcfc775[_0x4ecf33(0x24e)]=!![],_0xcfc775['type']=_0x34ec31[_0x4ecf33(0x1dc)],_0xcfc775;}if(_0x34ec31[_0x4ecf33(0x1fa)](typeof _0x532a59[_0x4ecf33(0x1d4)],_0x34ec31['uJEYx'])&&_0x34ec31[_0x4ecf33(0x243)](typeof _0x532a59['getCapabilities'],_0x34ec31[_0x4ecf33(0x1fc)])){const _0x33d4f8={};return _0x33d4f8['isPlaywright']=![],_0x33d4f8[_0x4ecf33(0x26c)]=_0x34ec31['OoUsn'],_0x33d4f8;}const _0x38695f=_0x532a59[_0x4ecf33(0x271)]?.[_0x4ecf33(0x21d)];if(_0x34ec31[_0x4ecf33(0x243)](_0x38695f,_0x34ec31[_0x4ecf33(0x1a8)])){const _0x420b07={};return _0x420b07[_0x4ecf33(0x24e)]=!![],_0x420b07[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x1dc)],_0x420b07;}if(_0x34ec31['QtHdG'](_0x38695f,_0x34ec31[_0x4ecf33(0x264)])){const _0x3ec1c2={};return _0x3ec1c2[_0x4ecf33(0x24e)]=![],_0x3ec1c2[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x266)],_0x3ec1c2;}if(_0x34ec31[_0x4ecf33(0x207)](_0x38695f,_0x34ec31[_0x4ecf33(0x250)])){const _0x15e51d={};return _0x15e51d['isPlaywright']=!![],_0x15e51d[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x23f)],_0x15e51d;}logger[_0x4ecf33(0x1d9)](_0x4ecf33(0x200)+_0x34ec31[_0x4ecf33(0x1f3)](_0x38695f,_0x34ec31[_0x4ecf33(0x206)]));const _0x59a62b={};return _0x59a62b[_0x4ecf33(0x24e)]=![],_0x59a62b[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x263)],_0x59a62b;},withTimeout=(_0x2aba20,_0x4cac1c)=>{const _0x35932=a121_0x228b92;return Promise[_0x35932(0x1da)]([_0x2aba20,new Promise((_0x245b65,_0x33d02a)=>setTimeout(()=>_0x33d02a(new Error(_0x35932(0x20d)+_0x4cac1c+'ms')),_0x4cac1c))]);};exports[a121_0x228b92(0x1e1)]=async(_0x1d0d1d,_0x2e2c35=null,_0x41fe5d=null,_0x527084=![],_0x212a05=null)=>{const _0x33bc69=a121_0x228b92,_0x41534e={'yDLJs':function(_0x57f36a,_0x2faeb7){return _0x57f36a&&_0x2faeb7;},'TpENr':function(_0x19f050,_0x56d30e,_0x4b9419){return _0x19f050(_0x56d30e,_0x4b9419);},'UiLyL':function(_0x1607ee,_0x1ac4e8){return _0x1607ee===_0x1ac4e8;},'UHhoy':'playwright-codecept-driver','ywsDE':function(_0x4e7545,_0x2962da,_0x3678fd){return _0x4e7545(_0x2962da,_0x3678fd);},'pGqUK':function(_0x2fa074,_0x19873e){return _0x2fa074(_0x19873e);},'mGSDC':function(_0x4fe398,_0x1f1a9a){return _0x4fe398||_0x1f1a9a;},'KtpdI':function(_0x1b6d42,_0x30b775){return _0x1b6d42!==_0x30b775;},'wofwZ':_0x33bc69(0x234),'Ewwpp':_0x33bc69(0x1bd),'LLVou':_0x33bc69(0x213),'knVir':'unknown_method','ViWQK':function(_0x346ec7,_0x3f92fb){return _0x346ec7===_0x3f92fb;},'EniWT':'function','iaTIm':function(_0x132036,_0x47e3de){return _0x132036<=_0x47e3de;},'cFSDb':function(_0x12db2b,_0x22162a){return _0x12db2b+_0x22162a;},'SATKK':function(_0x28d552,_0x50b0a0){return _0x28d552+_0x50b0a0;},'HukPg':_0x33bc69(0x231)},{isPlaywright:_0x4d5af5,type:_0x4fb7d6}=_0x41534e[_0x33bc69(0x1b4)](detectDriverType,_0x1d0d1d),_0x13b725=_0x527084?_0x41534e[_0x33bc69(0x241)](_0x212a05,{}):global[_0x33bc69(0x232)]||{},_0x306f08=_0x4d5af5?global['accessibilityPlatform']&&(_0x527084||_0x41534e[_0x33bc69(0x1b8)](global['bstackA11yShouldScan'],![])):accessibilityHelper[_0x33bc69(0x1d1)]()&&globals[_0x33bc69(0x1c1)](_0x41534e['wofwZ'])&&(_0x527084||_0x41534e[_0x33bc69(0x1b8)](globals['getGlobal'](_0x41534e[_0x33bc69(0x1b3)]),![]));if(!_0x306f08)return _0x4d5af5&&global[_0x33bc69(0x24b)]&&_0x41534e[_0x33bc69(0x26f)](global['bstackA11yShouldScan'],![])||!_0x4d5af5&&globals[_0x33bc69(0x1c1)](_0x41534e[_0x33bc69(0x22c)])&&_0x41534e[_0x33bc69(0x26f)](globals[_0x33bc69(0x1c1)](_0x41534e[_0x33bc69(0x1b3)]),![])?logger['debug'](_0x41534e[_0x33bc69(0x239)]):logger[_0x33bc69(0x1d9)](_0x33bc69(0x1d6)+_0x4fb7d6+_0x33bc69(0x1ac)),![];const _0x1ad06a=_0x2e2c35||global['browserstackSessionName']||_0x41534e[_0x33bc69(0x267)];let _0x3921bf=null;const _0x5406bf={'testhub_btcer_uuid':global['__workerDetails']?.[_0x33bc69(0x26b)]?.['id'],'url':_0x41534e[_0x33bc69(0x1fb)](typeof _0x1d0d1d[_0x33bc69(0x22e)],_0x41534e[_0x33bc69(0x259)])?await _0x1d0d1d['url']():_0x41534e['UiLyL'](typeof _0x1d0d1d[_0x33bc69(0x262)],_0x41534e[_0x33bc69(0x259)])?await _0x1d0d1d[_0x33bc69(0x262)]():'','automate_session_id':_0x41534e[_0x33bc69(0x1fb)](typeof _0x1d0d1d['getSession'],_0x41534e[_0x33bc69(0x259)])?(await _0x1d0d1d[_0x33bc69(0x228)]())['getId']():''};for(let _0x1141a0=0x1;_0x41534e[_0x33bc69(0x1b0)](_0x1141a0,_0x41534e['cFSDb'](RETRY_CONFIG[_0x33bc69(0x1ea)],0x1));_0x1141a0++){try{return logger[_0x33bc69(0x1b6)]('Accessibility\x20scan\x20attempt\x20'+_0x1141a0+'/'+_0x41534e[_0x33bc69(0x202)](RETRY_CONFIG[_0x33bc69(0x1ea)],0x1)+_0x33bc69(0x1ca)+_0x1ad06a+'\x20('+_0x4fb7d6+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x33bc69(0x20f)],async()=>{const _0x2d944b=_0x33bc69;let _0x5d2bc1;if(_0x41534e[_0x2d944b(0x1cb)](_0x4d5af5,playwrightA11yHelper)){_0x41534e['TpENr'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2d944b(0x24a)](_0x1d0d1d,RETRY_CONFIG[_0x2d944b(0x1ee)]);let _0x430df4=_0x1d0d1d;_0x41534e[_0x2d944b(0x26f)](_0x4fb7d6,_0x41534e[_0x2d944b(0x1cc)])&&(_0x430df4=_0x1d0d1d[_0x2d944b(0x1d8)]);const _0x885bf8=global[_0x2d944b(0x20b)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x2d944b(0x203)]()}:{};_0x5d2bc1=await _0x41534e[_0x2d944b(0x23e)](withTimeout,playwrightA11yHelper[_0x2d944b(0x226)](_0x430df4,_0x1ad06a,_0x13b725,_0x885bf8),RETRY_CONFIG[_0x2d944b(0x1ee)]),await exports[_0x2d944b(0x24a)](_0x1d0d1d,RETRY_CONFIG[_0x2d944b(0x217)]);}else await exports[_0x2d944b(0x1ae)](_0x1d0d1d,RETRY_CONFIG[_0x2d944b(0x1ee)]),_0x5d2bc1=await _0x41534e[_0x2d944b(0x1af)](withTimeout,accessibilityHelper[_0x2d944b(0x226)](_0x1d0d1d,_0x1ad06a,_0x527084,_0x13b725),RETRY_CONFIG[_0x2d944b(0x1ee)]),await exports[_0x2d944b(0x1ae)](_0x1d0d1d,RETRY_CONFIG[_0x2d944b(0x217)]);logger[_0x2d944b(0x1b6)](_0x2d944b(0x269)+_0x1141a0+_0x2d944b(0x251));},{'command':_0x1ad06a,..._0x5406bf})(),logger['info'](_0x33bc69(0x1be)+_0x1141a0+'.'),!![];}catch(_0x4ed888){_0x3921bf=_0x4ed888,logger['debug'](_0x33bc69(0x1e8)+_0x1141a0+_0x33bc69(0x1c7)+_0x1ad06a+'\x20('+_0x4fb7d6+_0x33bc69(0x1d3)+_0x4ed888['message']);}}return logger['error'](_0x33bc69(0x208)+_0x1ad06a+'\x20('+_0x4fb7d6+')\x20with\x20error:\x20'+(_0x3921bf?.[_0x33bc69(0x211)]||_0x41534e['HukPg'])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x496f31,_0x5cc5df)=>{const _0x3351d0=a121_0x228b92,_0x442164={'gbHfM':function(_0x8b3674,_0x2f3176){return _0x8b3674(_0x2f3176);},'RYrHX':_0x3351d0(0x234),'CGgSU':function(_0x463680,_0x1d99fc){return _0x463680<=_0x1d99fc;},'vODWY':function(_0x245530,_0x375394){return _0x245530+_0x375394;},'Rsbzk':function(_0x12a49f,_0x32da02){return _0x12a49f+_0x32da02;},'ntTAo':function(_0x2d0031,_0x42c021){return _0x2d0031&&_0x42c021;},'ADqMN':function(_0x4a9a60,_0xade240,_0x49b111){return _0x4a9a60(_0xade240,_0x49b111);},'hqCqE':function(_0x277a36,_0x34241e,_0x1723c7){return _0x277a36(_0x34241e,_0x1723c7);},'dZoJr':_0x3351d0(0x231)},{isPlaywright:_0x15ceb4,type:_0x5b33f4}=_0x442164[_0x3351d0(0x21a)](detectDriverType,_0x496f31),_0x57954f=_0x15ceb4?_0x5cc5df['accessibilityPlatform']:accessibilityHelper[_0x3351d0(0x1d1)]()&&globals[_0x3351d0(0x1c1)](_0x442164[_0x3351d0(0x1f9)]);if(!_0x57954f)return logger[_0x3351d0(0x1d9)](_0x3351d0(0x1d6)+_0x5b33f4+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.'),[];let _0x27fb9c=null;for(let _0x313ff6=0x1;_0x442164[_0x3351d0(0x240)](_0x313ff6,_0x442164[_0x3351d0(0x205)](RETRY_CONFIG['maxRetries'],0x1));_0x313ff6++){try{logger[_0x3351d0(0x1b6)](_0x3351d0(0x248)+_0x313ff6+'/'+_0x442164['Rsbzk'](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x5b33f4+')');let _0x1b2e64;return _0x442164[_0x3351d0(0x1e3)](_0x15ceb4,playwrightA11yHelper)?(_0x442164[_0x3351d0(0x25a)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3351d0(0x24a)](_0x496f31,RETRY_CONFIG[_0x3351d0(0x1ee)]),_0x1b2e64=await _0x442164[_0x3351d0(0x1d7)](withTimeout,playwrightA11yHelper[_0x3351d0(0x25d)](_0x496f31),RETRY_CONFIG[_0x3351d0(0x1ee)]),await exports[_0x3351d0(0x24a)](_0x496f31,RETRY_CONFIG[_0x3351d0(0x217)])):(await exports[_0x3351d0(0x1ae)](_0x496f31,RETRY_CONFIG[_0x3351d0(0x1ee)]),_0x1b2e64=await _0x442164[_0x3351d0(0x1d7)](withTimeout,accessibilityHelper[_0x3351d0(0x25d)](_0x496f31,_0x5cc5df),RETRY_CONFIG[_0x3351d0(0x1ee)]),await exports[_0x3351d0(0x1ae)](_0x496f31,RETRY_CONFIG[_0x3351d0(0x217)])),logger[_0x3351d0(0x1dd)](_0x3351d0(0x255)+_0x313ff6+'\x20('+_0x5b33f4+')'),_0x1b2e64;}catch(_0x318132){_0x27fb9c=_0x318132,logger['warn']('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x313ff6+_0x3351d0(0x22f)+_0x5b33f4+_0x3351d0(0x1d3)+_0x318132['message']);}}return logger[_0x3351d0(0x210)](_0x3351d0(0x261)+_0x5b33f4+_0x3351d0(0x25c)+(_0x27fb9c?.['message']||_0x442164[_0x3351d0(0x1e5)])),[];},exports[a121_0x228b92(0x233)]=async(_0x2e2512,_0x2b1066)=>{const _0x37f69a=a121_0x228b92,_0x242c6f={'DJEOD':function(_0x1651c2,_0x2c944d){return _0x1651c2(_0x2c944d);},'BHLYS':'isAccessibilityPlatform','Szeen':function(_0x4b85f4,_0x20f0a8){return _0x4b85f4<=_0x20f0a8;},'qLxQi':function(_0x48fb26,_0x460d5b){return _0x48fb26+_0x460d5b;},'UQOXy':function(_0x5b1f28,_0x4247aa){return _0x5b1f28+_0x4247aa;},'bmUHp':function(_0x28df58,_0x5c191b){return _0x28df58&&_0x5c191b;},'oMJKG':function(_0x3f23e6,_0x2daa1d,_0x44a233){return _0x3f23e6(_0x2daa1d,_0x44a233);},'AyoNu':function(_0x417f78,_0x452eff,_0x5dcdae){return _0x417f78(_0x452eff,_0x5dcdae);},'rgTuH':function(_0x5f205a,_0x17da63,_0x2da171){return _0x5f205a(_0x17da63,_0x2da171);},'UzjKK':'Unknown\x20error'},{isPlaywright:_0x55268b,type:_0x3176c7}=_0x242c6f['DJEOD'](detectDriverType,_0x2e2512),_0x44ce63=_0x55268b?_0x2b1066[_0x37f69a(0x24b)]:accessibilityHelper[_0x37f69a(0x1d1)]()&&globals['getGlobal'](_0x242c6f[_0x37f69a(0x1cd)]);if(!_0x44ce63)return logger[_0x37f69a(0x1d9)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x3176c7+_0x37f69a(0x1c9)),{};let _0x16b21f=null;for(let _0x178879=0x1;_0x242c6f['Szeen'](_0x178879,_0x242c6f[_0x37f69a(0x1cf)](RETRY_CONFIG[_0x37f69a(0x1ea)],0x1));_0x178879++){try{logger[_0x37f69a(0x1b6)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x178879+'/'+_0x242c6f[_0x37f69a(0x21f)](RETRY_CONFIG[_0x37f69a(0x1ea)],0x1)+'\x20('+_0x3176c7+')');let _0x18787b;return _0x242c6f['bmUHp'](_0x55268b,playwrightA11yHelper)?(_0x242c6f['oMJKG'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x2e2512,RETRY_CONFIG['timeoutMs']),_0x18787b=await _0x242c6f[_0x37f69a(0x227)](withTimeout,playwrightA11yHelper[_0x37f69a(0x1e9)](_0x2e2512),RETRY_CONFIG['timeoutMs']),await exports[_0x37f69a(0x24a)](_0x2e2512,RETRY_CONFIG['defaultTimeoutMs'])):(await exports['setSeleniumScriptTimeout'](_0x2e2512,RETRY_CONFIG[_0x37f69a(0x1ee)]),_0x18787b=await _0x242c6f[_0x37f69a(0x1ab)](withTimeout,accessibilityHelper[_0x37f69a(0x1e9)](_0x2e2512,_0x2b1066),RETRY_CONFIG['timeoutMs']),await exports[_0x37f69a(0x1ae)](_0x2e2512,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x37f69a(0x1dd)](_0x37f69a(0x246)+_0x178879+'\x20('+_0x3176c7+')'),_0x18787b;}catch(_0x474a4d){_0x16b21f=_0x474a4d,logger[_0x37f69a(0x1d9)](_0x37f69a(0x1b2)+_0x178879+_0x37f69a(0x22f)+_0x3176c7+_0x37f69a(0x1d3)+_0x474a4d['message']);}}return logger[_0x37f69a(0x210)]('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x3176c7+_0x37f69a(0x25c)+(_0x16b21f?.[_0x37f69a(0x211)]||_0x242c6f[_0x37f69a(0x1bf)])),{};},exports[a121_0x228b92(0x223)]=async(_0x3d8c50,_0x26f5ab,_0xa7a3d1=null)=>{const _0x568fc6=a121_0x228b92,_0x24a453={'frNiX':function(_0x3a6fb9,_0x37ef2f){return _0x3a6fb9(_0x37ef2f);},'zBawU':function(_0x54f17b,_0x596589){return _0x54f17b===_0x596589;},'JECJD':_0x568fc6(0x201),'xPKPr':_0x568fc6(0x1ff),'VRGxw':_0x568fc6(0x220)},{isPlaywright:_0xe4d942,type:_0x244945}=_0x24a453[_0x568fc6(0x1e4)](detectDriverType,_0x3d8c50),_0x54da9d={};_0x54da9d[_0x568fc6(0x1f2)]=![],_0x54da9d['results']=[],_0x54da9d['summary']={},_0x54da9d['error']=null,_0x54da9d[_0x568fc6(0x21c)]=_0x244945;const _0x2f40f1=_0x54da9d;try{_0x2f40f1[_0x568fc6(0x1f2)]=await exports['performScanWithRetry'](_0x3d8c50,_0xa7a3d1);if(_0x2f40f1[_0x568fc6(0x1f2)]){const [_0x329b88,_0x1d0236]=await Promise['allSettled']([exports[_0x568fc6(0x258)](_0x3d8c50,_0x26f5ab),exports['getAccessibilityResultsSummaryWithRetry'](_0x3d8c50,_0x26f5ab)]);_0x2f40f1[_0x568fc6(0x237)]=_0x24a453[_0x568fc6(0x244)](_0x329b88[_0x568fc6(0x26d)],_0x24a453[_0x568fc6(0x247)])?_0x329b88[_0x568fc6(0x23b)]:[],_0x2f40f1[_0x568fc6(0x26e)]=_0x24a453[_0x568fc6(0x244)](_0x1d0236[_0x568fc6(0x26d)],_0x24a453[_0x568fc6(0x247)])?_0x1d0236[_0x568fc6(0x23b)]:{},_0x24a453[_0x568fc6(0x244)](_0x329b88[_0x568fc6(0x26d)],_0x24a453['xPKPr'])&&logger[_0x568fc6(0x1d9)](_0x568fc6(0x1fe)+_0x244945+'):\x20'+_0x329b88[_0x568fc6(0x1db)]?.[_0x568fc6(0x211)]),_0x24a453[_0x568fc6(0x244)](_0x1d0236[_0x568fc6(0x26d)],_0x24a453[_0x568fc6(0x1f0)])&&logger['warn'](_0x568fc6(0x1e7)+_0x244945+_0x568fc6(0x1c5)+_0x1d0236[_0x568fc6(0x1db)]?.[_0x568fc6(0x211)]);}}catch(_0x446255){_0x2f40f1[_0x568fc6(0x210)]=_0x446255[_0x568fc6(0x211)]||_0x24a453[_0x568fc6(0x1c6)],logger[_0x568fc6(0x210)](_0x568fc6(0x21e)+_0x244945+'):\x20'+_0x2f40f1[_0x568fc6(0x210)]);}return _0x2f40f1;},exports[a121_0x228b92(0x265)]=_0x85080=>{const _0x3278a6=a121_0x228b92,_0x189ba1={};_0x189ba1[_0x3278a6(0x1f5)]=function(_0x3114ec,_0xaeb47a){return _0x3114ec!==_0xaeb47a;};const _0x225bf5=_0x189ba1;_0x225bf5[_0x3278a6(0x1f5)](_0x85080[_0x3278a6(0x1ea)],undefined)&&(RETRY_CONFIG[_0x3278a6(0x1ea)]=Math[_0x3278a6(0x1f7)](0x0,_0x85080[_0x3278a6(0x1ea)])),_0x225bf5['GXDvl'](_0x85080[_0x3278a6(0x1ee)],undefined)&&(RETRY_CONFIG[_0x3278a6(0x1ee)]=Math[_0x3278a6(0x1f7)](0x3e8,_0x85080['timeoutMs'])),logger[_0x3278a6(0x1b6)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x3278a6(0x1a6)](RETRY_CONFIG));},exports[a121_0x228b92(0x1e0)]=()=>{const _0x5961d2={...RETRY_CONFIG};return _0x5961d2;},exports[a121_0x228b92(0x25e)]=_0x5310c9=>{const _0x19381a={'ZindY':function(_0x3f0155,_0x1f7e7b){return _0x3f0155(_0x1f7e7b);}};return _0x19381a['ZindY'](detectDriverType,_0x5310c9)['isPlaywright'];},exports[a121_0x228b92(0x1bc)]=_0x2f7587=>{const _0x426483=a121_0x228b92,_0x8f1d72={'WtcSa':function(_0xe1e7cc,_0x26e65b){return _0xe1e7cc(_0x26e65b);},'lLUAM':function(_0x464710,_0xeee317){return _0x464710===_0xeee317;},'TVCcd':'selenium-webdriver'},{isPlaywright:_0x2f25c0,type:_0x479c43}=_0x8f1d72[_0x426483(0x256)](detectDriverType,_0x2f7587);return!_0x2f25c0&&_0x8f1d72['lLUAM'](_0x479c43,_0x8f1d72[_0x426483(0x23a)]);},exports[a121_0x228b92(0x24a)]=async(_0x55a5ac,_0x497045=null)=>{const _0x21af64=a121_0x228b92,_0x91657e={'Gmcmh':function(_0x50053d,_0x44ff91){return _0x50053d(_0x44ff91);},'rDeJG':function(_0xd6283e,_0x4f2916){return _0xd6283e===_0x4f2916;},'DKund':_0x21af64(0x1e2)},{isPlaywright:_0x30f629,type:_0x230e35}=_0x91657e[_0x21af64(0x242)](detectDriverType,_0x55a5ac);if(!_0x30f629)return logger[_0x21af64(0x1b6)](_0x21af64(0x245)+_0x230e35+_0x21af64(0x1ed)),!![];const _0x4595a0=_0x497045||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x55a5ac&&_0x91657e[_0x21af64(0x214)](typeof _0x55a5ac[_0x21af64(0x249)],_0x91657e[_0x21af64(0x1c8)])&&(await _0x55a5ac[_0x21af64(0x249)](_0x4595a0),logger['debug']('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x4595a0+'ms')),!![];}catch(_0x2e6580){return logger[_0x21af64(0x1d9)]('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x2e6580[_0x21af64(0x211)]),![];}},exports[a121_0x228b92(0x1ae)]=async(_0xa1039,_0x134283=null)=>{const _0x351018=a121_0x228b92,_0x2c0c85={};_0x2c0c85['ZoVgo']=_0x351018(0x22a),_0x2c0c85[_0x351018(0x1a7)]=function(_0xb1108b,_0x3a6bb7){return _0xb1108b===_0x3a6bb7;},_0x2c0c85[_0x351018(0x1ec)]=_0x351018(0x1e2),_0x2c0c85[_0x351018(0x1b7)]=function(_0x5ef7fd,_0x195667){return _0x5ef7fd===_0x195667;},_0x2c0c85[_0x351018(0x235)]=function(_0xdbde28,_0x5e7f44){return _0xdbde28===_0x5e7f44;},_0x2c0c85[_0x351018(0x1e6)]=_0x351018(0x219),_0x2c0c85[_0x351018(0x225)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0xd7006d=_0x2c0c85;if(!exports['isSeleniumDriver'](_0xa1039))return logger[_0x351018(0x1d9)](_0xd7006d[_0x351018(0x270)]),![];const _0x220bcd=_0x134283||RETRY_CONFIG[_0x351018(0x217)];try{if(_0xa1039&&_0xd7006d[_0x351018(0x1a7)](typeof _0xa1039[_0x351018(0x20c)],_0xd7006d[_0x351018(0x1ec)])){const _0x40fe89=_0xa1039['manage']();if(_0x40fe89&&_0xd7006d[_0x351018(0x1b7)](typeof _0x40fe89[_0x351018(0x260)],_0xd7006d[_0x351018(0x1ec)]))await _0x40fe89['timeouts']()[_0x351018(0x272)](_0x220bcd),logger[_0x351018(0x1b6)](_0x351018(0x252)+_0x220bcd+_0x351018(0x1d5));else{if(_0x40fe89&&_0xd7006d[_0x351018(0x1b7)](typeof _0x40fe89[_0x351018(0x24f)],_0xd7006d[_0x351018(0x1ec)])){const _0x5a9d9a={};_0x5a9d9a['script']=_0x220bcd,await _0x40fe89[_0x351018(0x24f)](_0x5a9d9a),logger[_0x351018(0x1b6)](_0x351018(0x252)+_0x220bcd+_0x351018(0x229));}else{if(_0x40fe89&&_0xd7006d[_0x351018(0x235)](typeof _0x40fe89[_0x351018(0x272)],_0xd7006d['KlYgG']))await _0x40fe89['setScriptTimeout'](_0x220bcd),logger[_0x351018(0x1b6)](_0x351018(0x252)+_0x220bcd+_0x351018(0x1a5));else return logger[_0x351018(0x1b6)](_0xd7006d['zXAtE']),!![];}}}else return logger['debug'](_0xd7006d[_0x351018(0x225)]),!![];return!![];}catch(_0x590a58){return logger[_0x351018(0x1d9)](_0x351018(0x1bb)+_0x590a58['message']),![];}},exports[a121_0x228b92(0x1c4)]=async(_0x312c3f,_0x5bee6c)=>{const _0x18cbcd=a121_0x228b92,_0x4bb566={'EHlSf':function(_0x151e28,_0x3734b2){return _0x151e28(_0x3734b2);},'aoAyE':_0x18cbcd(0x234),'ceYDE':function(_0x40d8b4,_0x2f556d){return _0x40d8b4<=_0x2f556d;},'sIuDc':function(_0x9fa37a,_0x4709bd){return _0x9fa37a+_0x4709bd;},'rOOqv':function(_0x8e6a5e,_0xee6e2b){return _0x8e6a5e&&_0xee6e2b;},'ThfLz':function(_0x554463,_0x5d0143,_0x3b9254){return _0x554463(_0x5d0143,_0x3b9254);},'dzhOl':function(_0x49ba2d,_0x5645d2,_0x3c4d4b){return _0x49ba2d(_0x5645d2,_0x3c4d4b);},'Rkpil':_0x18cbcd(0x20b),'vCzxc':function(_0x26fa1a,_0x322203,_0xf9a06b){return _0x26fa1a(_0x322203,_0xf9a06b);},'SPaTV':_0x18cbcd(0x231)},{isPlaywright:_0x3e5fec,type:_0x3fe004}=_0x4bb566[_0x18cbcd(0x20e)](detectDriverType,_0x312c3f),_0x5d7a4a=_0x3e5fec?global[_0x18cbcd(0x24b)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x18cbcd(0x1c1)](_0x4bb566[_0x18cbcd(0x1ce)]);if(!_0x5d7a4a)return logger[_0x18cbcd(0x1d9)](_0x18cbcd(0x1d6)+_0x3fe004+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x42b398=null;for(let _0x1063af=0x1;_0x4bb566[_0x18cbcd(0x22b)](_0x1063af,_0x4bb566[_0x18cbcd(0x238)](RETRY_CONFIG[_0x18cbcd(0x1ea)],0x1));_0x1063af++){try{logger[_0x18cbcd(0x1b6)](_0x18cbcd(0x25b)+_0x1063af+'/'+_0x4bb566[_0x18cbcd(0x238)](RETRY_CONFIG[_0x18cbcd(0x1ea)],0x1)+'\x20('+_0x3fe004+')');if(_0x4bb566[_0x18cbcd(0x1f1)](_0x3e5fec,playwrightA11yHelper)){_0x4bb566[_0x18cbcd(0x24d)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x18cbcd(0x24a)](_0x312c3f,RETRY_CONFIG['timeoutMs']);const _0x504e50={};_0x504e50[_0x18cbcd(0x25f)]=!![];const _0x3152d8=global[_0x18cbcd(0x20b)]?Object[_0x18cbcd(0x1a9)]({},_0x5bee6c,_0x504e50):_0x5bee6c;await _0x4bb566['dzhOl'](withTimeout,playwrightA11yHelper[_0x18cbcd(0x1c0)](_0x312c3f,scripts[_0x18cbcd(0x253)],_0x3152d8),RETRY_CONFIG[_0x18cbcd(0x1ee)]),await exports['setPlaywrightScriptTimeout'](_0x312c3f,RETRY_CONFIG['defaultTimeoutMs']);}else{await exports[_0x18cbcd(0x1ae)](_0x312c3f,RETRY_CONFIG[_0x18cbcd(0x1ee)]);const _0x5bc218={};_0x5bc218['is_mobile_session']=!![];const _0xb30ac2=globals[_0x18cbcd(0x1c1)](_0x4bb566[_0x18cbcd(0x1d0)])?Object[_0x18cbcd(0x1a9)]({},_0x5bee6c,_0x5bc218):_0x5bee6c;await _0x4bb566[_0x18cbcd(0x22d)](withTimeout,_0x312c3f['executeAsyncScript'](scripts[_0x18cbcd(0x253)],_0xb30ac2),RETRY_CONFIG['timeoutMs']),await exports[_0x18cbcd(0x1ae)](_0x312c3f,RETRY_CONFIG['defaultTimeoutMs']);}return logger['info']('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x1063af+'\x20('+_0x3fe004+')'),!![];}catch(_0x45a1f3){_0x42b398=_0x45a1f3,logger['warn'](_0x18cbcd(0x25b)+_0x1063af+_0x18cbcd(0x22f)+_0x3fe004+').\x20Error:\x20'+_0x45a1f3['message']);}}return logger[_0x18cbcd(0x210)](_0x18cbcd(0x1fd)+_0x3fe004+_0x18cbcd(0x25c)+(_0x42b398?.['message']||_0x4bb566['SPaTV'])),![];};
|
|
1
|
+
function a121_0x127f(){const _0x1bc838=['CMJth','660HSvspi','eZqFF','63uEBDUI','zmfun','2781605XoEskY','scannerProcessingTimeout','Playwright\x20accessibility\x20helper\x20not\x20available','setDefaultTimeout','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','reason','Skipping\x20timeout\x20setting\x20for\x20','debug','FikzA','EJQoN','twRuo','../performance/constants','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','thbfu','isMobilePlatform','tmtsn','capabilitiesList','timeouts','util','isAccessibilityAutomationSession','setTimeouts','evaluate','yOBVk','199330VFFakQ','message','GyETk','getId','info','Accessibility\x20retry\x20configuration\x20updated:\x20','aejIF','\x20-\x20not\x20applicable','bqjJr','setSeleniumScriptTimeout','getAccessibilityResultsWithRetry',')\x20with\x20error:\x20','rejected','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','accessibilityPlatform','type','driverType','getGlobal','getAccessibilityResults','xcaGx','3358404SEXhYA','selenium-webdriver','maxRetries','env','58726MCFfrb','browserstackSessionName','getAccessibilityResultsSummaryWithRetry','Unknown\x20driver/page\x20type:\x20','Ituvx','zbjkO','SneCj','function','saveTestResults','bYgnQ','performScanWithRetry','OXDnY','SziPX','LlAIt','../globals','manage','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','XScCN','iCDfa','lhGbg','pGqzp','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','../logger','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','./scripts','NUEck','ndYVB','SzKiC','getCurrentUrl','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','status','UElyl','zhrvz','name','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','Unknown\x20error','isAccessibilityPlatform','sUhRM','is_mobile_session','\x20failed\x20(','mnFcH','\x20completed\x20successfully.','playwright-codecept-driver','ySnsj','zuRLk','executeAsyncScript','CCQRu','ASXWP','summary','bstackA11yScanOptions','setPlaywrightScriptTimeout','warn','getCapabilities','4LdSpcQ','allSettled','\x20for\x20method:\x20','./helper','iPMnF',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','ms\x20using\x20setTimeouts\x20API','TNhgp','):\x20','tOEUf','Page','undefined','ms\x20using\x20timeouts()\x20API','LrlSV','PMevI','wVvKQ','../performance/performance-tester','Operation\x20timed\x20out\x20after\x20','results','xsCAc','resolveMobileThTestRunUuid','UdBdB','\x20failed\x20for\x20method:\x20','2VNmKYw','isSeleniumDriver','BtMbX','LyBPa','Accessibility\x20scan\x20attempt\x20','TGHFz','563984TCeJqm','dyKlg','timeoutMs','getRetryConfig','unknown_method','UElAy','Accessibility\x20results\x20save\x20attempt\x20','url','RFIgN','value','IyCtz','BPmwk','performComprehensiveAccessibilityScanWithRetry','kQpDM','dAoej','race','mUBsH','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','options','onidG','EUYnQ','FFDVN','updateRetryConfig','NAbjE','QeeTj','winstonLogger','hENiG','script','__workerDetails','HyHst','unknown','measureWrapper','getInstance','fulfilled','IJWrW','KaQfu','isPlaywright','gatTE','331152ivFdGh','zNMAz','MmYIo','Comprehensive\x20accessibility\x20scan\x20failed\x20(','performScan','isPlaywrightPage',').\x20Error:\x20','Playwright','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','Accessibility\x20results\x20retrieval\x20attempt\x20','Tqktl','ESnQL','defaultTimeoutMs','error','NoUmw','scanSucceeded','bstackA11yShouldScan','1587228GnhSAJ','WMxTE','max'];a121_0x127f=function(){return _0x1bc838;};return a121_0x127f();}const a121_0x1e3f8c=a121_0x1f99;(function(_0x5ab7b2,_0x102af6){const _0x344d9e=a121_0x1f99,_0x356b51=_0x5ab7b2();while(!![]){try{const _0x102bc2=parseInt(_0x344d9e(0xf1))/0x1*(parseInt(_0x344d9e(0x140))/0x2)+-parseInt(_0x344d9e(0x17f))/0x3+parseInt(_0x344d9e(0x129))/0x4*(parseInt(_0x344d9e(0x187))/0x5)+parseInt(_0x344d9e(0x16c))/0x6+-parseInt(_0x344d9e(0xed))/0x7+-parseInt(_0x344d9e(0x146))/0x8*(parseInt(_0x344d9e(0x185))/0x9)+parseInt(_0x344d9e(0x19f))/0xa*(parseInt(_0x344d9e(0x183))/0xb);if(_0x102bc2===_0x102af6)break;else _0x356b51['push'](_0x356b51['shift']());}catch(_0x5778a2){_0x356b51['push'](_0x356b51['shift']());}}}(a121_0x127f,0x58d6d));const util=require(a121_0x1e3f8c(0x19a)),logger=require(a121_0x1e3f8c(0x10a))[a121_0x1e3f8c(0x15f)],accessibilityHelper=require(a121_0x1e3f8c(0x12c)),globals=require(a121_0x1e3f8c(0xff)),scripts=require(a121_0x1e3f8c(0x10c)),PerformanceTester=require(a121_0x1e3f8c(0x139)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a121_0x1e3f8c(0x193)),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a121_0x4c15b0){logger[a121_0x1e3f8c(0x18f)](a121_0x1e3f8c(0x189));}const a121_0x29e862={};a121_0x29e862[a121_0x1e3f8c(0xef)]=0x1,a121_0x29e862[a121_0x1e3f8c(0x148)]=0x7530,a121_0x29e862[a121_0x1e3f8c(0x17a)]=0x7530;const RETRY_CONFIG=a121_0x29e862,setConfigTimeout=(_0x81c1cf,_0x548d15=null)=>{const _0x3cf557=a121_0x1e3f8c,_0x5a3f55={'xsCAc':function(_0x1f889f,_0xbbabcf){return _0x1f889f===_0xbbabcf;},'LlAIt':_0x3cf557(0x188),'SziPX':function(_0x21e329,_0x3fc9bf){return _0x21e329*_0x3fc9bf;},'kQpDM':function(_0x3fcdcf,_0x418c43){return _0x3fcdcf(_0x418c43);},'Ituvx':function(_0x594821,_0x55928d){return _0x594821(_0x55928d);}};if(BrowserstackCLI[_0x3cf557(0x166)]()['isRunning']()&&BrowserstackCLI[_0x3cf557(0x166)]()['getAccessibilityModule']()){const _0x303a12=BrowserstackCLI[_0x3cf557(0x166)]()['getAccessibilityModule']()['accessibilityConfig'],_0x4f6365=_0x303a12[_0x3cf557(0x158)][_0x3cf557(0x198)]||[];for(const _0x274857 of _0x4f6365){_0x5a3f55[_0x3cf557(0x13c)](_0x274857[_0x3cf557(0x115)],_0x5a3f55[_0x3cf557(0xfe)])&&_0x5a3f55[_0x3cf557(0x13c)](_0x548d15,null)&&(_0x81c1cf[_0x3cf557(0x148)]=_0x5a3f55[_0x3cf557(0xfd)](_0x5a3f55[_0x3cf557(0x153)](parseInt,_0x274857['value']),0x3e8));}}else process[_0x3cf557(0xf0)][_0x3cf557(0x101)]&&(_0x81c1cf['timeoutMs']=_0x5a3f55[_0x3cf557(0xfd)](_0x5a3f55[_0x3cf557(0xf5)](parseInt,process[_0x3cf557(0xf0)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x157441=>{const _0x21faed=a121_0x1e3f8c,_0x4bc85b={};_0x4bc85b[_0x21faed(0x14b)]=_0x21faed(0x164),_0x4bc85b[_0x21faed(0x178)]=function(_0xe2dc30,_0x574e38){return _0xe2dc30===_0x574e38;},_0x4bc85b['QeeTj']='function',_0x4bc85b[_0x21faed(0x15a)]=function(_0x50585e,_0x6aad12){return _0x50585e===_0x6aad12;},_0x4bc85b[_0x21faed(0x123)]='playwright-page',_0x4bc85b['wVvKQ']=function(_0x28dad3,_0x3bf4b3){return _0x28dad3===_0x3bf4b3;},_0x4bc85b['PMevI']='selenium-webdriver',_0x4bc85b['UElyl']=function(_0x36c7e5,_0x55edce){return _0x36c7e5===_0x55edce;},_0x4bc85b[_0x21faed(0x11f)]=_0x21faed(0x133),_0x4bc85b[_0x21faed(0x143)]='WebDriver',_0x4bc85b[_0x21faed(0x145)]=function(_0x556ad7,_0x46b0f8){return _0x556ad7===_0x46b0f8;},_0x4bc85b[_0x21faed(0x191)]=_0x21faed(0x173),_0x4bc85b[_0x21faed(0x10d)]=_0x21faed(0x11e),_0x4bc85b['DzODy']=function(_0xc93b,_0x33b108){return _0xc93b||_0x33b108;},_0x4bc85b[_0x21faed(0x120)]=_0x21faed(0x134);const _0x2d5bc3=_0x4bc85b;if(!_0x157441){const _0x4a7b01={};return _0x4a7b01[_0x21faed(0x16a)]=![],_0x4a7b01[_0x21faed(0xe8)]=_0x2d5bc3[_0x21faed(0x14b)],_0x4a7b01;}if(_0x2d5bc3[_0x21faed(0x178)](typeof _0x157441[_0x21faed(0x19d)],_0x2d5bc3[_0x21faed(0x15e)])&&_0x2d5bc3[_0x21faed(0x178)](typeof _0x157441[_0x21faed(0x14d)],_0x2d5bc3[_0x21faed(0x15e)])&&_0x2d5bc3[_0x21faed(0x15a)](typeof _0x157441['goto'],_0x2d5bc3[_0x21faed(0x15e)])){const _0x343550={};return _0x343550[_0x21faed(0x16a)]=!![],_0x343550[_0x21faed(0xe8)]=_0x2d5bc3[_0x21faed(0x123)],_0x343550;}if(_0x2d5bc3[_0x21faed(0x138)](typeof _0x157441[_0x21faed(0x121)],_0x2d5bc3[_0x21faed(0x15e)])&&_0x2d5bc3['EUYnQ'](typeof _0x157441[_0x21faed(0x128)],_0x2d5bc3[_0x21faed(0x15e)])){const _0x41f5c8={};return _0x41f5c8[_0x21faed(0x16a)]=![],_0x41f5c8[_0x21faed(0xe8)]=_0x2d5bc3[_0x21faed(0x137)],_0x41f5c8;}const _0x116721=_0x157441['constructor']?.[_0x21faed(0x115)];if(_0x2d5bc3[_0x21faed(0x113)](_0x116721,_0x2d5bc3[_0x21faed(0x11f)])){const _0x9d04c3={};return _0x9d04c3[_0x21faed(0x16a)]=!![],_0x9d04c3['type']=_0x2d5bc3[_0x21faed(0x123)],_0x9d04c3;}if(_0x2d5bc3[_0x21faed(0x15a)](_0x116721,_0x2d5bc3[_0x21faed(0x143)])){const _0xbe287b={};return _0xbe287b[_0x21faed(0x16a)]=![],_0xbe287b[_0x21faed(0xe8)]=_0x2d5bc3[_0x21faed(0x137)],_0xbe287b;}if(_0x2d5bc3[_0x21faed(0x145)](_0x116721,_0x2d5bc3[_0x21faed(0x191)])){const _0x44a373={};return _0x44a373[_0x21faed(0x16a)]=!![],_0x44a373['type']=_0x2d5bc3[_0x21faed(0x10d)],_0x44a373;}logger[_0x21faed(0x127)](_0x21faed(0xf4)+_0x2d5bc3['DzODy'](_0x116721,_0x2d5bc3['zuRLk']));const _0x1d6276={};return _0x1d6276['isPlaywright']=![],_0x1d6276[_0x21faed(0xe8)]=_0x2d5bc3[_0x21faed(0x14b)],_0x1d6276;},withTimeout=(_0xdb3c4a,_0x138bf1)=>{const _0x9df181=a121_0x1e3f8c;return Promise[_0x9df181(0x155)]([_0xdb3c4a,new Promise((_0x51db77,_0xc651de)=>setTimeout(()=>_0xc651de(new Error(_0x9df181(0x13a)+_0x138bf1+'ms')),_0x138bf1))]);};function a121_0x1f99(_0x23bef1,_0x445297){const _0x127feb=a121_0x127f();return a121_0x1f99=function(_0x1f99de,_0x442dd0){_0x1f99de=_0x1f99de-0xdf;let _0x659c03=_0x127feb[_0x1f99de];return _0x659c03;},a121_0x1f99(_0x23bef1,_0x445297);}exports[a121_0x1e3f8c(0xfb)]=async(_0x551ba3,_0x5054ba=null,_0x3e7834=null,_0x210d23=![],_0x2708ee=null)=>{const _0x3faa65=a121_0x1e3f8c,_0x59197c={'OXDnY':function(_0x414bef,_0x4102f9){return _0x414bef&&_0x4102f9;},'smrqf':function(_0x531729,_0xd2d00d,_0x34553d){return _0x531729(_0xd2d00d,_0x34553d);},'iPMnF':function(_0x5eef4d,_0x583043){return _0x5eef4d===_0x583043;},'iCDfa':_0x3faa65(0x11e),'RFIgN':function(_0x21dd56,_0x1d8fb2,_0x2b837d){return _0x21dd56(_0x1d8fb2,_0x2b837d);},'twRuo':function(_0x2496eb,_0x1a0a39){return _0x2496eb(_0x1a0a39);},'tqPmJ':function(_0x5577a9,_0x43b347){return _0x5577a9||_0x43b347;},'Dbwio':function(_0x5773b8,_0x1b18d6){return _0x5773b8!==_0x1b18d6;},'eZqFF':_0x3faa65(0x118),'SzKiC':function(_0x112e23,_0x1bc7a1){return _0x112e23!==_0x1bc7a1;},'ndYVB':_0x3faa65(0x17e),'BPmwk':function(_0x3bb8d9,_0x387774){return _0x3bb8d9===_0x387774;},'FikzA':function(_0x342417,_0x4df643){return _0x342417===_0x4df643;},'pGqzp':'[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','uriIB':_0x3faa65(0x14a),'lhGbg':function(_0x533e38,_0x3f2d53){return _0x533e38===_0x3f2d53;},'NAbjE':'function','kGWQG':function(_0x149119,_0x22bdbc){return _0x149119<=_0x22bdbc;},'NKZIH':function(_0x180426,_0x5608cd){return _0x180426+_0x5608cd;},'IyCtz':function(_0x3bd79e,_0x2f6004){return _0x3bd79e+_0x2f6004;},'dyKlg':_0x3faa65(0x117)},{isPlaywright:_0x4707ec,type:_0x4a485d}=_0x59197c[_0x3faa65(0x192)](detectDriverType,_0x551ba3),_0x559a4e=_0x210d23?_0x59197c['tqPmJ'](_0x2708ee,{}):global[_0x3faa65(0x125)]||{},_0x7094ef=_0x4707ec?global[_0x3faa65(0xe7)]&&(_0x210d23||_0x59197c['Dbwio'](global[_0x3faa65(0x17e)],![])):accessibilityHelper[_0x3faa65(0x19b)]()&&globals[_0x3faa65(0xea)](_0x59197c['eZqFF'])&&(_0x210d23||_0x59197c[_0x3faa65(0x10f)](globals[_0x3faa65(0xea)](_0x59197c['ndYVB']),![]));if(!_0x7094ef)return _0x4707ec&&global[_0x3faa65(0xe7)]&&_0x59197c[_0x3faa65(0x151)](global[_0x3faa65(0x17e)],![])||!_0x4707ec&&globals[_0x3faa65(0xea)](_0x59197c[_0x3faa65(0x184)])&&_0x59197c[_0x3faa65(0x190)](globals[_0x3faa65(0xea)](_0x59197c[_0x3faa65(0x10e)]),![])?logger['debug'](_0x59197c[_0x3faa65(0x108)]):logger[_0x3faa65(0x127)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x4a485d+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x271719=_0x5054ba||global[_0x3faa65(0xf2)]||_0x59197c['uriIB'];let _0x4ee45b=null;const _0x56865a={'testhub_btcer_uuid':global[_0x3faa65(0x162)]?.['currentTest']?.['id'],'url':_0x59197c[_0x3faa65(0x107)](typeof _0x551ba3[_0x3faa65(0x14d)],_0x59197c[_0x3faa65(0x15d)])?await _0x551ba3[_0x3faa65(0x14d)]():_0x59197c[_0x3faa65(0x12d)](typeof _0x551ba3[_0x3faa65(0x110)],_0x59197c[_0x3faa65(0x15d)])?await _0x551ba3['getCurrentUrl']():'','automate_session_id':_0x59197c[_0x3faa65(0x190)](typeof _0x551ba3['getSession'],_0x59197c['NAbjE'])?(await _0x551ba3['getSession']())[_0x3faa65(0x1a2)]():''};for(let _0x1f4ae6=0x1;_0x59197c['kGWQG'](_0x1f4ae6,_0x59197c['NKZIH'](RETRY_CONFIG[_0x3faa65(0xef)],0x1));_0x1f4ae6++){try{return logger[_0x3faa65(0x18f)]('Accessibility\x20scan\x20attempt\x20'+_0x1f4ae6+'/'+_0x59197c[_0x3faa65(0x150)](RETRY_CONFIG[_0x3faa65(0xef)],0x1)+_0x3faa65(0x12b)+_0x271719+'\x20('+_0x4a485d+')'),await PerformanceTester[_0x3faa65(0x165)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5135e9=_0x3faa65;let _0x3c90a0;if(_0x59197c[_0x5135e9(0xfc)](_0x4707ec,playwrightA11yHelper)){_0x59197c['smrqf'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x5135e9(0x126)](_0x551ba3,RETRY_CONFIG[_0x5135e9(0x148)]);let _0xbc6f33=_0x551ba3;_0x59197c[_0x5135e9(0x12d)](_0x4a485d,_0x59197c[_0x5135e9(0x106)])&&(_0xbc6f33=_0x551ba3['page']);const _0x286d5b=global['isMobilePlatform']?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x5135e9(0x13d)]()}:{};_0x3c90a0=await _0x59197c[_0x5135e9(0x14e)](withTimeout,playwrightA11yHelper[_0x5135e9(0x170)](_0xbc6f33,_0x271719,_0x559a4e,_0x286d5b),RETRY_CONFIG[_0x5135e9(0x148)]),await exports[_0x5135e9(0x126)](_0x551ba3,RETRY_CONFIG['defaultTimeoutMs']);}else await exports[_0x5135e9(0xe2)](_0x551ba3,RETRY_CONFIG['timeoutMs']),_0x3c90a0=await _0x59197c[_0x5135e9(0x14e)](withTimeout,accessibilityHelper[_0x5135e9(0x170)](_0x551ba3,_0x271719,_0x210d23,_0x559a4e),RETRY_CONFIG[_0x5135e9(0x148)]),await exports['setSeleniumScriptTimeout'](_0x551ba3,RETRY_CONFIG[_0x5135e9(0x17a)]);logger['debug']('Scan\x20attempt\x20'+_0x1f4ae6+_0x5135e9(0x11d));},{'command':_0x271719,..._0x56865a})(),logger[_0x3faa65(0x1a3)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x1f4ae6+'.'),!![];}catch(_0x19f9e3){_0x4ee45b=_0x19f9e3,logger['debug'](_0x3faa65(0x144)+_0x1f4ae6+_0x3faa65(0x13f)+_0x271719+'\x20('+_0x4a485d+_0x3faa65(0x172)+_0x19f9e3[_0x3faa65(0x1a0)]);}}return logger[_0x3faa65(0x17b)]('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x271719+'\x20('+_0x4a485d+_0x3faa65(0xe4)+(_0x4ee45b?.[_0x3faa65(0x1a0)]||_0x59197c[_0x3faa65(0x147)])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x3f9e19,_0x54dfae)=>{const _0x3afb17=a121_0x1e3f8c,_0x24efeb={'HyHst':function(_0x2830d3,_0x175cab){return _0x2830d3(_0x175cab);},'DwGur':_0x3afb17(0x118),'zmfun':function(_0x203bb6,_0x213b50){return _0x203bb6<=_0x213b50;},'TNhgp':function(_0x212152,_0x2cda50){return _0x212152+_0x2cda50;},'SneCj':function(_0x27b0a5,_0x1504bd){return _0x27b0a5&&_0x1504bd;},'bYgnQ':function(_0x41cb51,_0x58be20,_0x434501){return _0x41cb51(_0x58be20,_0x434501);},'bqjJr':function(_0x116dc2,_0x2ed575,_0x2a450d){return _0x116dc2(_0x2ed575,_0x2a450d);},'MmYIo':function(_0x150920,_0x2052a1,_0x24314b){return _0x150920(_0x2052a1,_0x24314b);},'pmzGJ':_0x3afb17(0x117)},{isPlaywright:_0x574a65,type:_0x2ba27e}=_0x24efeb[_0x3afb17(0x163)](detectDriverType,_0x3f9e19),_0x319ace=_0x574a65?_0x54dfae[_0x3afb17(0xe7)]:accessibilityHelper[_0x3afb17(0x19b)]()&&globals[_0x3afb17(0xea)](_0x24efeb['DwGur']);if(!_0x319ace)return logger[_0x3afb17(0x127)](_0x3afb17(0x109)+_0x2ba27e+_0x3afb17(0x175)),[];let _0x53fb9d=null;for(let _0x57021b=0x1;_0x24efeb[_0x3afb17(0x186)](_0x57021b,_0x24efeb[_0x3afb17(0x130)](RETRY_CONFIG['maxRetries'],0x1));_0x57021b++){try{logger['debug']('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x57021b+'/'+_0x24efeb[_0x3afb17(0x130)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x2ba27e+')');let _0x5bed53;return _0x24efeb[_0x3afb17(0xf7)](_0x574a65,playwrightA11yHelper)?(_0x24efeb[_0x3afb17(0xfa)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3afb17(0x126)](_0x3f9e19,RETRY_CONFIG[_0x3afb17(0x148)]),_0x5bed53=await _0x24efeb[_0x3afb17(0xe1)](withTimeout,playwrightA11yHelper[_0x3afb17(0xeb)](_0x3f9e19),RETRY_CONFIG[_0x3afb17(0x148)]),await exports[_0x3afb17(0x126)](_0x3f9e19,RETRY_CONFIG[_0x3afb17(0x17a)])):(await exports[_0x3afb17(0xe2)](_0x3f9e19,RETRY_CONFIG[_0x3afb17(0x148)]),_0x5bed53=await _0x24efeb[_0x3afb17(0x16e)](withTimeout,accessibilityHelper[_0x3afb17(0xeb)](_0x3f9e19,_0x54dfae),RETRY_CONFIG[_0x3afb17(0x148)]),await exports[_0x3afb17(0xe2)](_0x3f9e19,RETRY_CONFIG[_0x3afb17(0x17a)])),logger[_0x3afb17(0x1a3)](_0x3afb17(0x111)+_0x57021b+'\x20('+_0x2ba27e+')'),_0x5bed53;}catch(_0x540998){_0x53fb9d=_0x540998,logger[_0x3afb17(0x127)](_0x3afb17(0x177)+_0x57021b+_0x3afb17(0x11b)+_0x2ba27e+_0x3afb17(0x172)+_0x540998[_0x3afb17(0x1a0)]);}}return logger[_0x3afb17(0x17b)](_0x3afb17(0x176)+_0x2ba27e+').\x20Last\x20error:\x20'+(_0x53fb9d?.[_0x3afb17(0x1a0)]||_0x24efeb['pmzGJ'])),[];},exports[a121_0x1e3f8c(0xf3)]=async(_0x4685ab,_0x47b330)=>{const _0x236f46=a121_0x1e3f8c,_0xb0b378={'IJWrW':function(_0xd1b95f,_0x5df7e4){return _0xd1b95f(_0x5df7e4);},'tXKyy':_0x236f46(0x118),'tOEUf':function(_0x482fc5,_0x1109a7){return _0x482fc5<=_0x1109a7;},'CMJth':function(_0x18a30e,_0x49d0e5){return _0x18a30e+_0x49d0e5;},'TVizv':function(_0x25cad7,_0x3d7105){return _0x25cad7+_0x3d7105;},'gatTE':function(_0x295e34,_0x3e0734){return _0x295e34&&_0x3e0734;},'KaQfu':function(_0xec7355,_0x35444e,_0x1b0cb8){return _0xec7355(_0x35444e,_0x1b0cb8);},'rFGZM':_0x236f46(0x117)},{isPlaywright:_0x3e8546,type:_0xa2010}=_0xb0b378[_0x236f46(0x168)](detectDriverType,_0x4685ab),_0x5db5d2=_0x3e8546?_0x47b330[_0x236f46(0xe7)]:accessibilityHelper[_0x236f46(0x19b)]()&&globals[_0x236f46(0xea)](_0xb0b378['tXKyy']);if(!_0x5db5d2)return logger[_0x236f46(0x127)](_0x236f46(0x109)+_0xa2010+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.'),{};let _0x59c636=null;for(let _0x3f6d46=0x1;_0xb0b378[_0x236f46(0x132)](_0x3f6d46,_0xb0b378[_0x236f46(0x182)](RETRY_CONFIG['maxRetries'],0x1));_0x3f6d46++){try{logger[_0x236f46(0x18f)](_0x236f46(0x102)+_0x3f6d46+'/'+_0xb0b378['TVizv'](RETRY_CONFIG[_0x236f46(0xef)],0x1)+'\x20('+_0xa2010+')');let _0x1e5f89;return _0xb0b378[_0x236f46(0x16b)](_0x3e8546,playwrightA11yHelper)?(_0xb0b378[_0x236f46(0x169)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x4685ab,RETRY_CONFIG[_0x236f46(0x148)]),_0x1e5f89=await _0xb0b378[_0x236f46(0x169)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x4685ab),RETRY_CONFIG[_0x236f46(0x148)]),await exports[_0x236f46(0x126)](_0x4685ab,RETRY_CONFIG[_0x236f46(0x17a)])):(await exports['setSeleniumScriptTimeout'](_0x4685ab,RETRY_CONFIG[_0x236f46(0x148)]),_0x1e5f89=await _0xb0b378[_0x236f46(0x169)](withTimeout,accessibilityHelper['getAccessibilityResultsSummary'](_0x4685ab,_0x47b330),RETRY_CONFIG[_0x236f46(0x148)]),await exports[_0x236f46(0xe2)](_0x4685ab,RETRY_CONFIG['defaultTimeoutMs'])),logger['info'](_0x236f46(0x194)+_0x3f6d46+'\x20('+_0xa2010+')'),_0x1e5f89;}catch(_0x3062a9){_0x59c636=_0x3062a9,logger['warn'](_0x236f46(0x102)+_0x3f6d46+_0x236f46(0x11b)+_0xa2010+').\x20Error:\x20'+_0x3062a9[_0x236f46(0x1a0)]);}}return logger[_0x236f46(0x17b)]('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0xa2010+').\x20Last\x20error:\x20'+(_0x59c636?.[_0x236f46(0x1a0)]||_0xb0b378['rFGZM'])),{};},exports[a121_0x1e3f8c(0x152)]=async(_0xbde7e4,_0x3b317d,_0x4de0d7=null)=>{const _0x1fbc69=a121_0x1e3f8c,_0x5465f9={'GyETk':function(_0x44501a,_0x77c1a4){return _0x44501a(_0x77c1a4);},'mnFcH':function(_0x303821,_0x698d3c){return _0x303821===_0x698d3c;},'WMxTE':_0x1fbc69(0x167),'sUhRM':_0x1fbc69(0xe5),'XScCN':_0x1fbc69(0x116)},{isPlaywright:_0x44ba1c,type:_0x105eb4}=_0x5465f9[_0x1fbc69(0x1a1)](detectDriverType,_0xbde7e4),_0x2990b6={};_0x2990b6[_0x1fbc69(0x17d)]=![],_0x2990b6[_0x1fbc69(0x13b)]=[],_0x2990b6[_0x1fbc69(0x124)]={},_0x2990b6[_0x1fbc69(0x17b)]=null,_0x2990b6[_0x1fbc69(0xe9)]=_0x105eb4;const _0x114a9e=_0x2990b6;try{_0x114a9e[_0x1fbc69(0x17d)]=await exports['performScanWithRetry'](_0xbde7e4,_0x4de0d7);if(_0x114a9e['scanSucceeded']){const [_0x1a135b,_0x3ee53b]=await Promise[_0x1fbc69(0x12a)]([exports[_0x1fbc69(0xe3)](_0xbde7e4,_0x3b317d),exports[_0x1fbc69(0xf3)](_0xbde7e4,_0x3b317d)]);_0x114a9e[_0x1fbc69(0x13b)]=_0x5465f9['mnFcH'](_0x1a135b[_0x1fbc69(0x112)],_0x5465f9[_0x1fbc69(0x180)])?_0x1a135b[_0x1fbc69(0x14f)]:[],_0x114a9e[_0x1fbc69(0x124)]=_0x5465f9[_0x1fbc69(0x11c)](_0x3ee53b['status'],_0x5465f9['WMxTE'])?_0x3ee53b[_0x1fbc69(0x14f)]:{},_0x5465f9['mnFcH'](_0x1a135b['status'],_0x5465f9[_0x1fbc69(0x119)])&&logger[_0x1fbc69(0x127)](_0x1fbc69(0x157)+_0x105eb4+'):\x20'+_0x1a135b[_0x1fbc69(0x18d)]?.[_0x1fbc69(0x1a0)]),_0x5465f9[_0x1fbc69(0x11c)](_0x3ee53b['status'],_0x5465f9[_0x1fbc69(0x119)])&&logger[_0x1fbc69(0x127)](_0x1fbc69(0x10b)+_0x105eb4+_0x1fbc69(0x131)+_0x3ee53b[_0x1fbc69(0x18d)]?.['message']);}}catch(_0x1a72ae){_0x114a9e['error']=_0x1a72ae[_0x1fbc69(0x1a0)]||_0x5465f9[_0x1fbc69(0x105)],logger[_0x1fbc69(0x17b)](_0x1fbc69(0x16f)+_0x105eb4+_0x1fbc69(0x131)+_0x114a9e[_0x1fbc69(0x17b)]);}return _0x114a9e;},exports[a121_0x1e3f8c(0x15c)]=_0x595cb8=>{const _0x347a85=a121_0x1e3f8c,_0x1e3eb3={};_0x1e3eb3['thbfu']=function(_0x3a392e,_0x5ef2ad){return _0x3a392e!==_0x5ef2ad;};const _0x505880=_0x1e3eb3;_0x505880[_0x347a85(0x195)](_0x595cb8[_0x347a85(0xef)],undefined)&&(RETRY_CONFIG[_0x347a85(0xef)]=Math[_0x347a85(0x181)](0x0,_0x595cb8[_0x347a85(0xef)])),_0x505880['thbfu'](_0x595cb8['timeoutMs'],undefined)&&(RETRY_CONFIG[_0x347a85(0x148)]=Math[_0x347a85(0x181)](0x3e8,_0x595cb8[_0x347a85(0x148)])),logger[_0x347a85(0x18f)](_0x347a85(0x1a4)+JSON['stringify'](RETRY_CONFIG));},exports[a121_0x1e3f8c(0x149)]=()=>{const _0x49469c={...RETRY_CONFIG};return _0x49469c;},exports[a121_0x1e3f8c(0x171)]=_0x499144=>{const _0x54786e=a121_0x1e3f8c,_0xe78cc7={'xcaGx':function(_0x433ee5,_0x1854a9){return _0x433ee5(_0x1854a9);}};return _0xe78cc7[_0x54786e(0xec)](detectDriverType,_0x499144)['isPlaywright'];},exports[a121_0x1e3f8c(0x141)]=_0x33ee54=>{const _0x554a57=a121_0x1e3f8c,_0x3cbe22={'dAoej':function(_0x206677,_0x65e2a){return _0x206677(_0x65e2a);},'svZWC':function(_0x1b5408,_0x18d2f2){return _0x1b5408===_0x18d2f2;},'mUBsH':_0x554a57(0xee)},{isPlaywright:_0x1ede42,type:_0x580aaa}=_0x3cbe22[_0x554a57(0x154)](detectDriverType,_0x33ee54);return!_0x1ede42&&_0x3cbe22['svZWC'](_0x580aaa,_0x3cbe22[_0x554a57(0x156)]);},exports[a121_0x1e3f8c(0x126)]=async(_0x4fd42b,_0x56fe78=null)=>{const _0x2ac3f2=a121_0x1e3f8c,_0x2c474f={'oVYMf':function(_0x439ac3,_0xf2d553){return _0x439ac3(_0xf2d553);},'hENiG':function(_0x13c716,_0x29ce0e){return _0x13c716===_0x29ce0e;},'LrlSV':'function'},{isPlaywright:_0x2f3448,type:_0x49adb3}=_0x2c474f['oVYMf'](detectDriverType,_0x4fd42b);if(!_0x2f3448)return logger['debug'](_0x2ac3f2(0x18e)+_0x49adb3+_0x2ac3f2(0xe0)),!![];const _0x4b3cb9=_0x56fe78||RETRY_CONFIG[_0x2ac3f2(0x17a)];try{return _0x4fd42b&&_0x2c474f[_0x2ac3f2(0x160)](typeof _0x4fd42b['setDefaultTimeout'],_0x2c474f[_0x2ac3f2(0x136)])&&(await _0x4fd42b[_0x2ac3f2(0x18a)](_0x4b3cb9),logger[_0x2ac3f2(0x18f)]('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x4b3cb9+'ms')),!![];}catch(_0x2c58ab){return logger[_0x2ac3f2(0x127)]('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x2c58ab[_0x2ac3f2(0x1a0)]),![];}},exports[a121_0x1e3f8c(0xe2)]=async(_0x1443e8,_0x36cc96=null)=>{const _0x1eb0f3=a121_0x1e3f8c,_0x4356fb={};_0x4356fb['onidG']=_0x1eb0f3(0x174),_0x4356fb[_0x1eb0f3(0x16d)]=function(_0x15d540,_0x2b5a25){return _0x15d540===_0x2b5a25;},_0x4356fb[_0x1eb0f3(0xf6)]=_0x1eb0f3(0xf8),_0x4356fb['iFMes']=function(_0x5d5f5c,_0x426a57){return _0x5d5f5c===_0x426a57;},_0x4356fb[_0x1eb0f3(0x15b)]=_0x1eb0f3(0x18c),_0x4356fb[_0x1eb0f3(0x122)]=_0x1eb0f3(0x103);const _0x30f114=_0x4356fb;if(!exports[_0x1eb0f3(0x141)](_0x1443e8))return logger['warn'](_0x30f114[_0x1eb0f3(0x159)]),![];const _0x572520=_0x36cc96||RETRY_CONFIG[_0x1eb0f3(0x17a)];try{if(_0x1443e8&&_0x30f114['zNMAz'](typeof _0x1443e8[_0x1eb0f3(0x100)],_0x30f114[_0x1eb0f3(0xf6)])){const _0x142481=_0x1443e8[_0x1eb0f3(0x100)]();if(_0x142481&&_0x30f114['iFMes'](typeof _0x142481[_0x1eb0f3(0x199)],_0x30f114['zbjkO']))await _0x142481[_0x1eb0f3(0x199)]()['setScriptTimeout'](_0x572520),logger['debug'](_0x1eb0f3(0xe6)+_0x572520+_0x1eb0f3(0x135));else{if(_0x142481&&_0x30f114['zNMAz'](typeof _0x142481[_0x1eb0f3(0x19c)],_0x30f114[_0x1eb0f3(0xf6)])){const _0x421033={};_0x421033[_0x1eb0f3(0x161)]=_0x572520,await _0x142481['setTimeouts'](_0x421033),logger[_0x1eb0f3(0x18f)](_0x1eb0f3(0xe6)+_0x572520+_0x1eb0f3(0x12f));}else{if(_0x142481&&_0x30f114['zNMAz'](typeof _0x142481['setScriptTimeout'],_0x30f114['zbjkO']))await _0x142481['setScriptTimeout'](_0x572520),logger[_0x1eb0f3(0x18f)](_0x1eb0f3(0xe6)+_0x572520+'ms\x20using\x20setScriptTimeout\x20API');else return logger[_0x1eb0f3(0x18f)](_0x30f114[_0x1eb0f3(0x15b)]),!![];}}}else return logger[_0x1eb0f3(0x18f)](_0x30f114[_0x1eb0f3(0x122)]),!![];return!![];}catch(_0x36dc05){return logger['warn']('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x36dc05[_0x1eb0f3(0x1a0)]),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x479f8a,_0x585c90)=>{const _0x3de037=a121_0x1e3f8c,_0x4f9f11={'NoUmw':function(_0x1b7be4,_0x52e53e){return _0x1b7be4(_0x52e53e);},'tmtsn':_0x3de037(0x118),'ESnQL':function(_0x3b6df4,_0x3739c5){return _0x3b6df4<=_0x3739c5;},'aejIF':function(_0x64117c,_0x467ea0){return _0x64117c+_0x467ea0;},'zhrvz':function(_0x55c131,_0x56f081){return _0x55c131&&_0x56f081;},'BtMbX':function(_0x5a156f,_0x3265c3,_0x38a77d){return _0x5a156f(_0x3265c3,_0x38a77d);},'yOBVk':_0x3de037(0x196),'UdBdB':'Unknown\x20error'},{isPlaywright:_0x90754e,type:_0x46314a}=_0x4f9f11[_0x3de037(0x17c)](detectDriverType,_0x479f8a),_0x575630=_0x90754e?global[_0x3de037(0xe7)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x4f9f11[_0x3de037(0x197)]);if(!_0x575630)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x46314a+_0x3de037(0x12e)),![];let _0x926c7b=null;for(let _0x238f97=0x1;_0x4f9f11[_0x3de037(0x179)](_0x238f97,_0x4f9f11['aejIF'](RETRY_CONFIG[_0x3de037(0xef)],0x1));_0x238f97++){try{logger[_0x3de037(0x18f)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x238f97+'/'+_0x4f9f11[_0x3de037(0xdf)](RETRY_CONFIG[_0x3de037(0xef)],0x1)+'\x20('+_0x46314a+')');if(_0x4f9f11[_0x3de037(0x114)](_0x90754e,playwrightA11yHelper)){_0x4f9f11[_0x3de037(0x142)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x479f8a,RETRY_CONFIG['timeoutMs']);const _0x56a081={};_0x56a081['is_mobile_session']=!![];const _0x1be734=global[_0x3de037(0x196)]?Object['assign']({},_0x585c90,_0x56a081):_0x585c90;await _0x4f9f11[_0x3de037(0x142)](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x479f8a,scripts[_0x3de037(0xf9)],_0x1be734),RETRY_CONFIG['timeoutMs']),await exports[_0x3de037(0x126)](_0x479f8a,RETRY_CONFIG[_0x3de037(0x17a)]);}else{await exports[_0x3de037(0xe2)](_0x479f8a,RETRY_CONFIG[_0x3de037(0x148)]);const _0x17f914={};_0x17f914[_0x3de037(0x11a)]=!![];const _0x1c478d=globals['getGlobal'](_0x4f9f11[_0x3de037(0x19e)])?Object['assign']({},_0x585c90,_0x17f914):_0x585c90;await _0x4f9f11['BtMbX'](withTimeout,_0x479f8a[_0x3de037(0x121)](scripts[_0x3de037(0xf9)],_0x1c478d),RETRY_CONFIG[_0x3de037(0x148)]),await exports[_0x3de037(0xe2)](_0x479f8a,RETRY_CONFIG[_0x3de037(0x17a)]);}return logger[_0x3de037(0x1a3)](_0x3de037(0x18b)+_0x238f97+'\x20('+_0x46314a+')'),!![];}catch(_0x43c2ee){_0x926c7b=_0x43c2ee,logger[_0x3de037(0x127)](_0x3de037(0x14c)+_0x238f97+'\x20failed\x20('+_0x46314a+').\x20Error:\x20'+_0x43c2ee[_0x3de037(0x1a0)]);}}return logger[_0x3de037(0x17b)](_0x3de037(0x104)+_0x46314a+').\x20Last\x20error:\x20'+(_0x926c7b?.['message']||_0x4f9f11[_0x3de037(0x13e)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a122_0x2279(){var _0x19e09e=['Chrome','min_version_browserstack','display_name','284OfSUVl','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','100373BzEeAB','4037605yTDJGC','26242DqTVho','141','playwright-chromium','ACCESSIBILITY_SUPPORTED_BROWSERS','chromium','21955hXDyPO','126CCncFX','9267GUDoMK','2967435LawkVa','16LxzhSJ','API_URL','MINIMUM_SAFARI_VERSION','min_version_non_browserstack','safari','18.4','100','MINIMUM_CHROMEFORTESTING_VERSION','requires_chrome_options_check','5CrohbJ','2634410RxXuPZ','chrome'];a122_0x2279=function(){return _0x19e09e;};return a122_0x2279();}var a122_0x820346=a122_0x24e8;(function(_0x1e9362,_0x483371){var _0xdc9fde=a122_0x24e8,_0x1eb020=_0x1e9362();while(!![]){try{var _0x415b85=-parseInt(_0xdc9fde(0x1df))/0x1*(-parseInt(_0xdc9fde(0x1e9))/0x2)+-parseInt(_0xdc9fde(0x1d4))/0x3*(parseInt(_0xdc9fde(0x1e5))/0x4)+parseInt(_0xdc9fde(0x1d2))/0x5*(parseInt(_0xdc9fde(0x1d3))/0x6)+-parseInt(_0xdc9fde(0x1e7))/0x7*(parseInt(_0xdc9fde(0x1d6))/0x8)+-parseInt(_0xdc9fde(0x1d5))/0x9+parseInt(_0xdc9fde(0x1e0))/0xa+parseInt(_0xdc9fde(0x1e8))/0xb;if(_0x415b85===_0x483371)break;else _0x1eb020['push'](_0x1eb020['shift']());}catch(_0x39ada8){_0x1eb020['push'](_0x1eb020['shift']());}}}(a122_0x2279,0x336a8),exports[a122_0x820346(0x1d7)]='https://accessibility.browserstack.com/api',exports['MINIMUM_BROWSER_VERSION_ACCESSIBILITY']='94',exports[a122_0x820346(0x1e6)]=a122_0x820346(0x1dc),exports[a122_0x820346(0x1dd)]=a122_0x820346(0x1ea),exports[a122_0x820346(0x1d8)]=a122_0x820346(0x1db));var a122_0x347041={};a122_0x347041[a122_0x820346(0x1e4)]=a122_0x820346(0x1e2),a122_0x347041[a122_0x820346(0x1e3)]=0x5e,a122_0x347041[a122_0x820346(0x1d9)]=0x64,a122_0x347041[a122_0x820346(0x1de)]=!![];var a122_0x5d546a={};a122_0x5d546a[a122_0x820346(0x1e4)]=a122_0x820346(0x1e2),a122_0x5d546a[a122_0x820346(0x1e3)]=0x5e,a122_0x5d546a[a122_0x820346(0x1d9)]=0x64,a122_0x5d546a[a122_0x820346(0x1de)]=!![];var a122_0x15c0ff={};a122_0x15c0ff[a122_0x820346(0x1e4)]='Chrome',a122_0x15c0ff[a122_0x820346(0x1e3)]=0x5e,a122_0x15c0ff[a122_0x820346(0x1d9)]=0x64,a122_0x15c0ff[a122_0x820346(0x1de)]=!![];var a122_0x5cf6f7={};a122_0x5cf6f7['display_name']='ChromeForTesting',a122_0x5cf6f7[a122_0x820346(0x1e3)]=0x8d,a122_0x5cf6f7[a122_0x820346(0x1d9)]=0x8d,a122_0x5cf6f7[a122_0x820346(0x1de)]=!![];var a122_0x151143={};function a122_0x24e8(_0x1d8173,_0x233c30){var _0x22799b=a122_0x2279();return a122_0x24e8=function(_0x24e8a1,_0x53a85e){_0x24e8a1=_0x24e8a1-0x1d0;var _0x31a35b=_0x22799b[_0x24e8a1];return _0x31a35b;},a122_0x24e8(_0x1d8173,_0x233c30);}a122_0x151143['display_name']='Safari',a122_0x151143[a122_0x820346(0x1e3)]=18.4,a122_0x151143[a122_0x820346(0x1d9)]=18.4,a122_0x151143[a122_0x820346(0x1de)]=![];var a122_0x56f002={};a122_0x56f002[a122_0x820346(0x1e1)]=a122_0x347041,a122_0x56f002[a122_0x820346(0x1d1)]=a122_0x5d546a,a122_0x56f002[a122_0x820346(0x1eb)]=a122_0x15c0ff,a122_0x56f002['chromefortesting']=a122_0x5cf6f7,a122_0x56f002[a122_0x820346(0x1da)]=a122_0x151143,exports[a122_0x820346(0x1d0)]=a122_0x56f002;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a123_0x2fda(){const _0x38f203=['statusText','executeScript','deviceName','rMogl','JXhTd','getBrowserVersion','isTrue','AjCLI','../logger','tvKJG','script','JAmIg','options_','GJXPU','response','scannerVersion','compareVersions','isUndefined','bstackA11yShouldScan','getHostInfo','nonBstackPlatformValidation','errors','xkBWo','mJQwB','getTestFrameworkDetails','EDpNI','getPackageVersion','isMobileAccessibilitySession','projectName','UTjUu','isAccessibilityPlatform','shouldScanTestForAccessibility','split','270168kysoeA','debug','false','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','MvnqN','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','gtCNy','No\x20accessibility\x20summary\x20was\x20found.','attFa','getMobileA11yCapabilities','isBrowserstackInfra','BS_A11Y_JWT','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','zLddf','yVMNK','capabilities_','estLw','goog:chromeOptions','args','path','is_mobile_session','Owgsa','DTuif','getGlobal','mEMts','BROWSERSTACK_TEST_ACCESSIBILITY_YML','uXYAJ','DQuNu','Not\x20a\x20Accessibility\x20Session','keys','yBBNN','isArray','message','mergeDeep','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','data','irZSz','browserstack','oeRRd','format','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','return\x20document.readyState\x20===\x20\x22complete\x22','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','7238490KiysIb','android','excludeTagsInTestingScope','BROWSERSTACK_TURBOSCALE','fTgSo','info','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','selenium-webdriver','setNonBstackInfraCapabilities','user','DpnMi','some','YsmwF','../globals','Performing\x20scan\x20before\x20getting\x20results\x20summary','getCiInfo','hcyEe','toISOString','Build\x20creation\x20had\x20failed.','OrujM','--headless','wvsgR','application/json','No\x20accessibility\x20results\x20were\x20found.','JgjlF','awQZN','Bearer\x20','nCpJZ','Content-Type','body','OaKSa','chrome','headers','isMobileScanningEnabledForGroup','assign','2475416UKHAdA','resolveMobileThTestRunUuid','../performance/performance-tester','method','Invalid\x20request:\x20','set','from','bXTZf','RXXOj','MWfjv','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','sUqOf','YGclk','parse','browserVersion','GET_RESULTS_SUMMARY','PorVv','accessibilityToken','BXHdY','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','MOBILE_SCANNING_DISABLED_WARNING','cRVua','GET_RESULTS','null','toJson','accessibility','wait','nodeRequest','KkdSy','--headless=','join','javascript','eWxUA','undefined','isAccessibilityAutomationSession','getGitMetaData','performScan','getBrowserA11yConfig','browserstack_executor','json','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','getAccessibilityResultsSummary','HpJSv','dAMke','get','base64','getMinVersionForBrowser','winstonLogger','function','fetchPlatformDetails','isBrowserStackCommandExecutor','VXAKY','2039456RPTjzi','LyHUs','getAgentVersion','YKvHW','EFOdb','getPlatform','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','ChromeExtension','srRqe','uyOVG','getUserName','includeTagsInTestingScope','command','VhHIx','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','lxRxK','../helper','buildName','XXjbp','\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.','mBFJk','length','nestedKeyValue','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','ubbvX','gzHtx','kJrCe','__cloud_provider___','vwDOj','FYHUr','./constants','measureWrapper','QJUBy','getResultsSummary','string','display_name','isMobileAccessibilityPlatform','getPlatformVersion','xuAJr','trim','checkAccessibilityPlatformConfig','--headless=new','global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).','status','basename','Authorization','min_version_browserstack','zcuLC','pEUGu','ZtlBP','stringify','DRssJ','cwd','warn','PERFORM_SCAN','toLowerCase','QSFwA','yopLq','nYCoW','chromeOptions','true','stopAccessibilityTestRun','requires_chrome_options_check','1249256bgyNVV','startsWith','error','platformName','fzxXg','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','includes','getResults','CAluR','resolve','getBrowserDisplayName','ztIFK','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','211931ELhbbQ','toString','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','getCapabilities','a11y:start','getAccessKey','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','OTohJ','Performing\x20scan\x20before\x20getting\x20results','auth','dFrnt','YDnTZ','IzBbB','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','rVYGd','NpsVO','1692999kPqaVB','oPFzJ','__workerDetails','arJQD','Performed\x20scan\x20with\x20result:\x20','a11y:stop','fDBdB','95TIBYat','browserstackSessionName','YlOCn','browserName','dVCpW','parseA11yJwtPayload','executeAsyncScript','util','getBrowserName','QUhRZ','min_version_non_browserstack','env',']\x20but\x20thTestRunUuid\x20is\x20','thTestRunUuid','isVersionSupported'];a123_0x2fda=function(){return _0x38f203;};return a123_0x2fda();}const a123_0x5943fb=a123_0x296d;(function(_0x11dcac,_0x936cb1){const _0x528e1f=a123_0x296d,_0x1f523e=_0x11dcac();while(!![]){try{const _0x1c220b=parseInt(_0x528e1f(0xdf))/0x1+-parseInt(_0x528e1f(0xd1))/0x2+-parseInt(_0x528e1f(0xef))/0x3+-parseInt(_0x528e1f(0x174))/0x4+-parseInt(_0x528e1f(0xf6))/0x5*(-parseInt(_0x528e1f(0x126))/0x6)+parseInt(_0x528e1f(0x151))/0x7+parseInt(_0x528e1f(0x1a8))/0x8;if(_0x1c220b===_0x936cb1)break;else _0x1f523e['push'](_0x1f523e['shift']());}catch(_0xb83f9a){_0x1f523e['push'](_0x1f523e['shift']());}}}(a123_0x2fda,0x85f2a));function a123_0x296d(_0x4be51e,_0x5b3358){const _0x2fdaa8=a123_0x2fda();return a123_0x296d=function(_0x296d67,_0x381aa4){_0x296d67=_0x296d67-0xad;let _0x3cc5ce=_0x2fdaa8[_0x296d67];return _0x3cc5ce;},a123_0x296d(_0x4be51e,_0x5b3358);}const path=require(a123_0x5943fb(0x139)),util=require(a123_0x5943fb(0xfd)),bsSetupHelper=require(a123_0x5943fb(0x1b8)),logger=require(a123_0x5943fb(0x10d))[a123_0x5943fb(0x1a3)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a123_0x5943fb(0xb0)),PerformanceTester=require(a123_0x5943fb(0x176)),scripts=require('./scripts'),globals=require(a123_0x5943fb(0x15e)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports[a123_0x5943fb(0x1a5)]=async _0x48c1eb=>{const _0x459f71=a123_0x5943fb,_0x3b1141={};_0x3b1141[_0x459f71(0x16c)]=function(_0x4caac1,_0xb50d6e){return _0x4caac1===_0xb50d6e;},_0x3b1141[_0x459f71(0xc5)]=_0x459f71(0x14b);const _0x2f8333=_0x3b1141;let _0x4312bd={};try{const _0x4cb162=await _0x48c1eb[_0x459f71(0xe2)]();_0x4312bd={'os_name':_0x4cb162[_0x459f71(0x1ad)](),'os_version':bsSetupHelper[_0x459f71(0xb7)](_0x2f8333[_0x459f71(0x16c)](global[_0x459f71(0xad)],_0x2f8333['DRssJ'])),'browser_name':_0x4cb162[_0x459f71(0xfe)](),'browser_version':_0x4cb162[_0x459f71(0x10a)]()};}catch(_0x11179b){logger[_0x459f71(0x127)](_0x459f71(0x14e)+_0x11179b);}return _0x4312bd;},exports['isAccessibilityAutomationSession']=()=>{const _0x2b058d=a123_0x5943fb,_0x2a80bd={};_0x2a80bd['gtCNy']=function(_0x334c45,_0x470df5){return _0x334c45===_0x470df5;},_0x2a80bd[_0x2b058d(0xe9)]='string',_0x2a80bd[_0x2b058d(0xf0)]=function(_0xf27c9e,_0x5a3b07){return _0xf27c9e>_0x5a3b07;},_0x2a80bd[_0x2b058d(0x14a)]=function(_0x335097,_0x3df2ce){return _0x335097!==_0x3df2ce;},_0x2a80bd[_0x2b058d(0x14c)]=_0x2b058d(0x18b),_0x2a80bd[_0x2b058d(0x1b7)]=function(_0x53dbdf,_0xba08c1){return _0x53dbdf&&_0xba08c1;};const _0x2e6518=_0x2a80bd;try{const _0x35f877=bsSetupHelper[_0x2b058d(0x10b)](process['env'][_0x2b058d(0x13f)])||bsSetupHelper[_0x2b058d(0x10b)](process[_0x2b058d(0x101)][_0x2b058d(0xd6)]),_0x329d7a=_0x2e6518[_0x2b058d(0x12c)](typeof process[_0x2b058d(0x101)][_0x2b058d(0x131)],_0x2e6518[_0x2b058d(0xe9)])&&_0x2e6518[_0x2b058d(0xf0)](process[_0x2b058d(0x101)][_0x2b058d(0x131)]['length'],0x0)&&_0x2e6518['irZSz'](process[_0x2b058d(0x101)][_0x2b058d(0x131)],_0x2e6518['oeRRd']);return _0x2e6518[_0x2b058d(0x1b7)](_0x35f877,_0x329d7a);}catch(_0xa3c25f){logger[_0x2b058d(0x127)]('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0xa3c25f);}return![];},exports[a123_0x5943fb(0x119)]=(_0x3c5f1d,_0x1a82ef)=>{const _0x3c97aa=a123_0x5943fb,_0x1001dc={'mEMts':_0x3c97aa(0xf9),'sUqOf':function(_0x1925b0,_0x5612b3){return _0x1925b0(_0x5612b3);},'MgzKk':_0x3c97aa(0x182),'FYHUr':'version','kJrCe':'bstack:options','WCatR':_0x3c97aa(0x107),'EFOdb':'device','JXhTd':_0x3c97aa(0x150),'IzBbB':'selenium-webdriver/chrome.js','attFa':_0x3c97aa(0x158),'qoUuM':_0x3c97aa(0x111),'rVYGd':_0x3c97aa(0x138),'mJQwB':_0x3c97aa(0xcd),'gzHtx':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','YKvHW':'goog:chromeOptions','AjCLI':function(_0x1b78c4,_0x56088d){return _0x1b78c4===_0x56088d;},'JAmIg':_0x3c97aa(0x170),'RXXOj':function(_0x2e009f,_0x4e247e){return _0x2e009f>=_0x4e247e;}},_0x174b16=_0x3c5f1d['get'](_0x1001dc[_0x3c97aa(0x13e)]),_0xd47044=_0x1001dc[_0x3c97aa(0x17f)](parseFloat,_0x3c5f1d[_0x3c97aa(0x1a0)](_0x1001dc['MgzKk']))||_0x1001dc[_0x3c97aa(0x17f)](parseFloat,_0x3c5f1d[_0x3c97aa(0x1a0)](_0x1001dc[_0x3c97aa(0xaf)])),_0x40eab2=_0x3c5f1d[_0x3c97aa(0x1a0)](_0x1001dc[_0x3c97aa(0x1c2)])||{},_0x53f0ca=_0x1001dc['sUqOf'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0xe37dc5=_0x40eab2[_0x1001dc['WCatR']]||_0x3c5f1d[_0x3c97aa(0x1a0)](_0x1001dc[_0x3c97aa(0x1ac)])||![];if(_0xe37dc5)return logger[_0x3c97aa(0xc7)](_0x1001dc[_0x3c97aa(0x109)]),![];let _0x161955;try{_0x161955=bsSetupHelper['requireModule'](_0x1001dc[_0x3c97aa(0xeb)],_0x1001dc[_0x3c97aa(0x12e)]);}catch(_0x27fa9e){return![];}const _0x389505=new _0x161955['Options'](_0x1a82ef['chromeOptions_']),_0x315755=bsSetupHelper[_0x3c97aa(0x1be)](_0x389505,[_0x1001dc['qoUuM'],_0x1001dc['rVYGd']])||bsSetupHelper[_0x3c97aa(0x1be)](_0x1a82ef['capabilities_'],[_0x1001dc[_0x3c97aa(0x1c2)],_0x1001dc[_0x3c97aa(0x11c)],_0x1001dc[_0x3c97aa(0xed)]])||bsSetupHelper[_0x3c97aa(0x1be)](_0x1a82ef[_0x3c97aa(0x135)],[_0x1001dc['mJQwB'],_0x1001dc[_0x3c97aa(0xed)]])||[],_0x26ea5b=Array['isArray'](_0x315755)?_0x315755:[];if(_0x26ea5b[_0x3c97aa(0x15c)](_0x1d5c0c=>typeof _0x1d5c0c===_0x3c97aa(0xb4)&&(_0x1d5c0c===_0x3c97aa(0x165)||_0x1d5c0c[_0x3c97aa(0xd2)](_0x3c97aa(0x191))&&_0x1d5c0c!=='--headless=new')))return logger['warn'](_0x1001dc[_0x3c97aa(0x1c1)]),![];const _0x5ee89e=_0x1a82ef['capabilities_']||{},_0x5a3cb1=bsSetupHelper[_0x3c97aa(0x1be)](_0x5ee89e,[_0x1001dc[_0x3c97aa(0x1ab)]])||{},_0x14158d=bsSetupHelper[_0x3c97aa(0x1be)](_0x5a3cb1,[_0x1001dc[_0x3c97aa(0xed)]])||[],_0x457ab4=Array['isArray'](_0x14158d)?_0x14158d:[];if(_0x457ab4['some'](_0x162176=>typeof _0x162176===_0x3c97aa(0xb4)&&(_0x162176===_0x3c97aa(0x165)||_0x162176[_0x3c97aa(0xd2)](_0x3c97aa(0x191))&&_0x162176!==_0x3c97aa(0xbb))))return logger[_0x3c97aa(0xc7)](_0x1001dc['gzHtx']),![];if(_0x1001dc[_0x3c97aa(0x10c)](_0x174b16[_0x3c97aa(0xc9)](),_0x1001dc[_0x3c97aa(0x110)])&&_0x1001dc[_0x3c97aa(0x17c)](_0xd47044,_0x53f0ca))return!![];return logger[_0x3c97aa(0xc7)](_0x3c97aa(0x1bf)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a123_0x5943fb(0x159)]=_0x3346b9=>{const _0x38bd36=a123_0x5943fb,_0x50f682={};_0x50f682[_0x38bd36(0x144)]=_0x38bd36(0x137),_0x50f682[_0x38bd36(0x15b)]=function(_0x5598d9,_0x98c438){return _0x5598d9||_0x98c438;},_0x50f682[_0x38bd36(0x134)]=_0x38bd36(0x142);const _0x314595=_0x50f682,_0x75cf40=scripts[_0x38bd36(0x1af)];try{const _0x1780ed=bsSetupHelper[_0x38bd36(0x10b)](process['env'][_0x38bd36(0x13f)])||bsSetupHelper['isTrue'](process[_0x38bd36(0x101)][_0x38bd36(0xd6)]);if((!bsSetupHelper[_0x38bd36(0x130)]()||process[_0x38bd36(0x101)][_0x38bd36(0x154)])&&_0x1780ed){const _0x545733=_0x3346b9['getCapabilities'](),_0x535293=_0x545733[_0x38bd36(0x1a0)](_0x314595['yBBNN']),_0x4e88f3=_0x314595[_0x38bd36(0x15b)](_0x535293,{});bsSetupHelper[_0x38bd36(0x147)](_0x4e88f3,_0x75cf40),_0x3346b9[_0x38bd36(0xe2)]()[_0x38bd36(0x179)](_0x314595[_0x38bd36(0x144)],_0x4e88f3);}else logger[_0x38bd36(0xc7)](_0x314595[_0x38bd36(0x134)]);}catch(_0x35f293){logger['error']('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x35f293);}},exports[a123_0x5943fb(0x124)]=(_0x2f5318=null,_0x101c2b=!![],_0x2f61e3=[])=>{const _0x1ca6a0=a123_0x5943fb,_0xb1d4ba={};_0xb1d4ba['ngjTE']=function(_0x445642,_0x9e450){return _0x445642==_0x9e450;},_0xb1d4ba['DQuNu']=function(_0x56b65d,_0x579230){return _0x56b65d>_0x579230;},_0xb1d4ba[_0x1ca6a0(0x19f)]=function(_0x56ab61,_0x48b606){return _0x56ab61===_0x48b606;},_0xb1d4ba[_0x1ca6a0(0x194)]=function(_0xbd35a1,_0xcf6782){return _0xbd35a1&&_0xcf6782;};const _0x4801a4=_0xb1d4ba;if(_0x4801a4['ngjTE'](process[_0x1ca6a0(0x101)][_0x1ca6a0(0x157)],null))return!![];try{const _0x4a25aa=JSON[_0x1ca6a0(0x181)](process[_0x1ca6a0(0x101)][_0x1ca6a0(0x157)]),_0x2d77f8=Array[_0x1ca6a0(0x145)](_0x4a25aa[_0x1ca6a0(0x1b3)])?_0x4a25aa[_0x1ca6a0(0x1b3)]:[],_0x368812=Array['isArray'](_0x4a25aa[_0x1ca6a0(0x153)])?_0x4a25aa['excludeTagsInTestingScope']:[],_0x41a20c=_0x3940e2=>typeof _0x3940e2===_0x1ca6a0(0xb4)?_0x3940e2['replace'](/^@/,'')[_0x1ca6a0(0xc9)]()[_0x1ca6a0(0xb9)]():_0x3940e2;if(bsSetupHelper[_0x1ca6a0(0x116)](_0x2f5318)){if(_0x4801a4[_0x1ca6a0(0x141)](_0x2f61e3[_0x1ca6a0(0x1bd)],0x0)){const _0x5968ce=_0x2f61e3['map'](_0x41a20c),_0xc6acd4=_0x368812[_0x1ca6a0(0x15c)](_0x1e53f9=>_0x5968ce['includes'](_0x41a20c(_0x1e53f9))),_0x26cf1e=_0x4801a4[_0x1ca6a0(0x19f)](_0x2d77f8['length'],0x0)||_0x2d77f8[_0x1ca6a0(0x15c)](_0x40d9e1=>_0x5968ce['includes'](_0x41a20c(_0x40d9e1)));return _0x4801a4[_0x1ca6a0(0x194)](!_0xc6acd4,_0x26cf1e);}return!![];}let _0x3e73cc;_0x101c2b?_0x3e73cc=_0x2f5318[_0x1ca6a0(0x192)]('/'):_0x3e73cc=_0x2f5318;const _0x1d4121=_0x368812[_0x1ca6a0(0x15c)](_0x20d242=>_0x3e73cc[_0x1ca6a0(0xc9)]()[_0x1ca6a0(0xd8)](_0x41a20c(_0x20d242)['toLowerCase']())),_0x5878a0=_0x4801a4[_0x1ca6a0(0x19f)](_0x2d77f8[_0x1ca6a0(0x1bd)],0x0)||_0x2d77f8[_0x1ca6a0(0x15c)](_0x28ec52=>_0x3e73cc[_0x1ca6a0(0xc9)]()[_0x1ca6a0(0xd8)](_0x41a20c(_0x28ec52)[_0x1ca6a0(0xc9)]()));return _0x4801a4[_0x1ca6a0(0x194)](!_0x1d4121,_0x5878a0);}catch(_0x286479){logger[_0x1ca6a0(0x127)](_0x1ca6a0(0x129)+util['format'](_0x286479));}return![];},exports[a123_0x5943fb(0xba)]=_0x113e05=>{const _0x5736a5=a123_0x5943fb;let _0x3022ca=![];try{_0x113e05['platforms']['forEach'](_0x46f7dd=>{const _0x492f41=a123_0x296d;if(bsSetupHelper[_0x492f41(0x10b)](_0x46f7dd[_0x492f41(0x18d)]))return _0x3022ca=!![],!![];});}catch(_0x3cc703){logger[_0x5736a5(0x127)](_0x5736a5(0xd7)+_0x3cc703);}return _0x3022ca||bsSetupHelper['isTrue'](_0x113e05['accessibility']);},exports['createAccessibilityTestRun']=PerformanceTester[a123_0x5943fb(0xb1)](a123_0x5943fb(0xe3),async function(_0xaea935,_0x1842fc){const _0x48bfe5=a123_0x5943fb,_0x809131={};_0x809131[_0x48bfe5(0x13b)]='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x809131[_0x48bfe5(0xfa)]='playwright',_0x809131[_0x48bfe5(0x186)]=_0x48bfe5(0x193),_0x809131[_0x48bfe5(0xf8)]=_0x48bfe5(0x167),_0x809131['GJXPU']='POST',_0x809131[_0x48bfe5(0x15d)]='v2/test_runs',_0x809131['xkBWo']=function(_0x3a65e7,_0x1af946){return _0x3a65e7===_0x1af946;},_0x809131['gAIhP']='Invalid\x20configuration\x20passed.',_0x809131[_0x48bfe5(0x164)]=_0x48bfe5(0x128);const _0x37024c=_0x809131,_0x46bf40=bsSetupHelper[_0x48bfe5(0x1b2)](_0xaea935),_0xdd279d=bsSetupHelper[_0x48bfe5(0xe4)](_0xaea935);if(bsSetupHelper[_0x48bfe5(0x116)](_0x46bf40)||bsSetupHelper[_0x48bfe5(0x116)](_0xdd279d))return logger[_0x48bfe5(0xd3)](_0x37024c[_0x48bfe5(0x13b)]),[null,null];try{let _0x52b71b;bsSetupHelper[_0x48bfe5(0x116)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x52b71b={}:_0x52b71b=JSON[_0x48bfe5(0x181)](process[_0x48bfe5(0x101)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x2a6735,version:_0xca2368}=bsSetupHelper[_0x48bfe5(0x11d)](_0xaea935,_0x1842fc),_0x209684={'projectName':_0xaea935[_0x48bfe5(0x121)],'buildName':_0xaea935[_0x48bfe5(0x1b9)]||path[_0x48bfe5(0xbe)](path[_0x48bfe5(0xdb)](process[_0x48bfe5(0xc6)]())),'startTime':new Date()['toISOString'](),'description':_0xaea935['buildDescription']||'','source':{'frameworkName':_0x1842fc[_0x48bfe5(0xd8)](_0x37024c[_0x48bfe5(0xfa)])?_0x37024c[_0x48bfe5(0xfa)]:_0x1842fc,'frameworkVersion':bsSetupHelper[_0x48bfe5(0x11f)](_0x1842fc),'sdkVersion':bsSetupHelper[_0x48bfe5(0x1aa)](),'language':_0x37024c[_0x48bfe5(0x186)],'testFramework':_0x2a6735,'testFrameworkVersion':_0xca2368},'settings':_0x52b71b,'versionControl':await bsSetupHelper[_0x48bfe5(0x197)](),'ciInfo':bsSetupHelper[_0x48bfe5(0x160)](),'hostInfo':bsSetupHelper[_0x48bfe5(0x118)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x10e4ff={};_0x10e4ff[_0x48bfe5(0x15a)]=_0x46bf40,_0x10e4ff['pass']=_0xdd279d;const _0x3b703b={};_0x3b703b[_0x48bfe5(0x16d)]=_0x37024c[_0x48bfe5(0xf8)];const _0x34bfc3={};_0x34bfc3[_0x48bfe5(0xe8)]=_0x10e4ff,_0x34bfc3[_0x48bfe5(0x171)]=_0x3b703b;const _0x384915=_0x34bfc3,_0x36053f={};_0x36053f[_0x48bfe5(0x16e)]=_0x209684,_0x36053f[_0x48bfe5(0x19b)]=!![];const _0x181f7c=Object[_0x48bfe5(0x173)](_0x384915,_0x36053f),_0x5077b4=await bsSetupHelper[_0x48bfe5(0x18f)](_0x37024c[_0x48bfe5(0x112)],_0x37024c[_0x48bfe5(0x15d)],_0x181f7c,_0xaea935,API_URL);let _0x1087ec=process[_0x48bfe5(0x101)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x1087ec?_0x1087ec=JSON[_0x48bfe5(0x181)](process[_0x48bfe5(0x101)][_0x48bfe5(0x157)]):_0x1087ec={},scripts['parseFromJson'](_0x5077b4[_0x48bfe5(0x149)][_0x48bfe5(0x149)]),scripts[_0x48bfe5(0x18c)](),_0x1087ec[_0x48bfe5(0x114)]=_0x5077b4[_0x48bfe5(0x149)][_0x48bfe5(0x149)][_0x48bfe5(0x114)],process['env'][_0x48bfe5(0x157)]=JSON[_0x48bfe5(0xc4)](_0x1087ec),[_0x5077b4[_0x48bfe5(0x149)]['data'][_0x48bfe5(0x185)],_0x5077b4[_0x48bfe5(0x149)][_0x48bfe5(0x149)]['id']];}catch(_0x23e78d){if(_0x23e78d['response'])logger['error'](_0x48bfe5(0x1b6)+_0x23e78d['response']['status']+'\x20'+_0x23e78d['response']['statusText']+'\x20'+JSON['stringify'](_0x23e78d[_0x48bfe5(0x113)][_0x48bfe5(0x149)]));else{if(_0x37024c[_0x48bfe5(0x11b)](_0x23e78d[_0x48bfe5(0x146)],_0x37024c['gAIhP'])){logger[_0x48bfe5(0xd3)](_0x48bfe5(0x1b6)+(_0x23e78d['message']||_0x23e78d['stack']));for(const _0x59ad68 of _0x23e78d[_0x48bfe5(0x11a)]){logger['error'](_0x59ad68['message']);}process[_0x48bfe5(0x101)][_0x48bfe5(0x13f)]=_0x37024c['OrujM'],process['env'][_0x48bfe5(0xd6)]=_0x37024c['OrujM'];}else logger['error'](_0x48bfe5(0x1b6)+(_0x23e78d[_0x48bfe5(0x146)]||_0x23e78d['stack']));}return[null,null];}}),exports[a123_0x5943fb(0xcf)]=PerformanceTester[a123_0x5943fb(0xb1)](a123_0x5943fb(0xf4),async function(_0x560d9e){const _0x38c6c2=a123_0x5943fb,_0x4dcff3={};_0x4dcff3[_0x38c6c2(0x1b5)]=function(_0x15ceba,_0x37bc4a){return _0x15ceba!==_0x37bc4a;},_0x4dcff3[_0x38c6c2(0x17d)]=_0x38c6c2(0xb4),_0x4dcff3[_0x38c6c2(0x136)]='error',_0x4dcff3[_0x38c6c2(0xee)]=_0x38c6c2(0x163),_0x4dcff3[_0x38c6c2(0x184)]='application/json',_0x4dcff3['DTuif']='PUT',_0x4dcff3[_0x38c6c2(0xcb)]='test_runs/stop',_0x4dcff3[_0x38c6c2(0x166)]=function(_0x5d37ef,_0xa8a37){return _0x5d37ef+_0xa8a37;},_0x4dcff3[_0x38c6c2(0xf2)]=_0x38c6c2(0x178),_0x4dcff3[_0x38c6c2(0xae)]='success';const _0x314f0d=_0x4dcff3;if(bsSetupHelper[_0x38c6c2(0x116)](process[_0x38c6c2(0x101)][_0x38c6c2(0x131)])||_0x314f0d[_0x38c6c2(0x1b5)](typeof process['env'][_0x38c6c2(0x131)],_0x314f0d[_0x38c6c2(0x17d)])){const _0x374f9b={};return _0x374f9b['status']=_0x314f0d[_0x38c6c2(0x136)],_0x374f9b['message']=_0x314f0d[_0x38c6c2(0xee)],_0x374f9b;}const _0x1a1db5={'endTime':new Date()[_0x38c6c2(0x162)]()},_0x493e2a={};_0x493e2a[_0x38c6c2(0xbf)]=_0x38c6c2(0x16b)+process['env'][_0x38c6c2(0x131)],_0x493e2a['Content-Type']=_0x314f0d[_0x38c6c2(0x184)];const _0x177c47={};_0x177c47[_0x38c6c2(0x171)]=_0x493e2a;const _0x1efe48=_0x177c47,_0x48ff26={};_0x48ff26[_0x38c6c2(0x16e)]=_0x1a1db5,_0x48ff26[_0x38c6c2(0xe8)]=null,_0x48ff26['json']=!![];const _0x1c8977=Object['assign'](_0x1efe48,_0x48ff26);try{const _0x3ef8ee=await bsSetupHelper['nodeRequest'](_0x314f0d[_0x38c6c2(0x13c)],_0x314f0d[_0x38c6c2(0xcb)],_0x1c8977,_0x560d9e,API_URL);if(_0x3ef8ee[_0x38c6c2(0x149)][_0x38c6c2(0xd3)])throw new Error(_0x314f0d[_0x38c6c2(0x166)](_0x314f0d['arJQD'],_0x3ef8ee[_0x38c6c2(0x149)][_0x38c6c2(0xd3)]));else{logger[_0x38c6c2(0x156)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()['toISOString']());const _0x13f0d4={};return _0x13f0d4[_0x38c6c2(0xbd)]=_0x314f0d[_0x38c6c2(0xae)],_0x13f0d4[_0x38c6c2(0x146)]='',_0x13f0d4;}}catch(_0x2c0cd8){_0x2c0cd8[_0x38c6c2(0x113)]?logger[_0x38c6c2(0xd3)](_0x38c6c2(0xec)+_0x2c0cd8[_0x38c6c2(0x113)]['status']+'\x20'+_0x2c0cd8[_0x38c6c2(0x113)]['statusText']+'\x20'+JSON[_0x38c6c2(0xc4)](_0x2c0cd8[_0x38c6c2(0x113)][_0x38c6c2(0x149)])):logger['error'](_0x38c6c2(0xec)+(_0x2c0cd8[_0x38c6c2(0x146)]||util[_0x38c6c2(0x14d)](_0x2c0cd8)));const _0xd1d254={};return _0xd1d254['status']=_0x314f0d[_0x38c6c2(0x136)],_0xd1d254['message']=_0x2c0cd8['message']||(_0x2c0cd8[_0x38c6c2(0x113)]?_0x2c0cd8[_0x38c6c2(0x113)][_0x38c6c2(0xbd)]+':'+_0x2c0cd8[_0x38c6c2(0x113)][_0x38c6c2(0x105)]:_0x2c0cd8),_0xd1d254;}}),exports[a123_0x5943fb(0x198)]=async(_0x10716a,_0x356f0b=null,_0x12eb89=![],_0x4564e8=null)=>{const _0x7b86d1=a123_0x5943fb,_0x4dd7ac={};_0x4dd7ac['pEUGu']='isAccessibilityPlatform',_0x4dd7ac[_0x7b86d1(0xda)]=_0x7b86d1(0x117),_0x4dd7ac[_0x7b86d1(0x161)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.',_0x4dd7ac[_0x7b86d1(0xff)]=function(_0x249b66,_0x109d95){return _0x249b66||_0x109d95;},_0x4dd7ac[_0x7b86d1(0xca)]='bstackA11yScanOptions',_0x4dd7ac[_0x7b86d1(0xc3)]='performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments';const _0xb532b5=_0x4dd7ac;if(!this['isAccessibilityAutomationSession']()||!globals[_0x7b86d1(0x13d)](_0xb532b5[_0x7b86d1(0xc2)])||!_0x12eb89&&!globals[_0x7b86d1(0x13d)](_0xb532b5['CAluR'])){logger['warn'](_0xb532b5['hcyEe']);return;}const _0x2f0868=_0x12eb89?_0xb532b5[_0x7b86d1(0xff)](_0x4564e8,{}):globals[_0x7b86d1(0x13d)](_0xb532b5[_0x7b86d1(0xca)])||{},_0x3cb973={};_0x3cb973['method']=_0x356f0b||global[_0x7b86d1(0xf7)];const _0x5add6a=Object[_0x7b86d1(0x173)]({},_0x2f0868,_0x3cb973);await this[_0x7b86d1(0x120)](_0x10716a)&&(Object['assign'](_0x5add6a,this[_0x7b86d1(0x12f)](),{'thTestRunUuid':this[_0x7b86d1(0x175)]()}),logger[_0x7b86d1(0x127)](_0xb532b5[_0x7b86d1(0xc3)]));logger[_0x7b86d1(0x127)](_0x7b86d1(0xde)+util[_0x7b86d1(0x14d)]('%j',_0x5add6a));const _0x5004b7={};return _0x5004b7[_0x7b86d1(0x1b4)]=_0x356f0b,await PerformanceTester[_0x7b86d1(0xb1)](PerformanceA11yEvents[_0x7b86d1(0xc8)],async()=>{const _0x2ec97c=_0x7b86d1;try{await _0x10716a[_0x2ec97c(0x18e)](()=>_0x10716a[_0x2ec97c(0x106)](_0x2ec97c(0x14f)),0x1388);}catch(_0x23d6df){}const _0x1754b6=util[_0x2ec97c(0x14d)](await _0x10716a['executeAsyncScript'](scripts['performScan'],_0x5add6a));return logger[_0x2ec97c(0x127)](_0x2ec97c(0xf3)+_0x1754b6),_0x1754b6;},_0x5004b7)();},exports['getAccessibilityResults']=async(_0x2ab2ec,_0x558fe5)=>{const _0x259b47=a123_0x5943fb,_0x30d61d={};_0x30d61d[_0x259b47(0xea)]=_0x259b47(0xe7),_0x30d61d[_0x259b47(0x133)]=_0x259b47(0x123),_0x30d61d[_0x259b47(0xdd)]='bstackA11yShouldScan',_0x30d61d['tGTNN']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x30d61d[_0x259b47(0x190)]='getAccessibilityResults',_0x30d61d[_0x259b47(0x108)]=_0x259b47(0x168);const _0x444b6d=_0x30d61d;if(!this[_0x259b47(0x196)]()||!globals[_0x259b47(0x13d)](_0x444b6d['zLddf'])||!globals[_0x259b47(0x13d)](_0x444b6d[_0x259b47(0xdd)]))return logger['warn'](_0x444b6d['tGTNN']),[];try{const _0xb30c04=await this[_0x259b47(0x120)](_0x2ab2ec),_0x53b631=_0xb30c04?Object[_0x259b47(0x173)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x259b47(0x175)]()}):{};return _0xb30c04&&logger['debug'](_0x259b47(0x17e)+util['format']('%j',_0x53b631)),await PerformanceTester[_0x259b47(0xb1)](PerformanceA11yEvents[_0x259b47(0xc8)],async()=>{const _0x415ce9=_0x259b47;logger[_0x415ce9(0x127)](_0x444b6d[_0x415ce9(0xea)]);const _0xcc6a07={};_0xcc6a07[_0x415ce9(0x177)]=_0x558fe5['browserstackSessionName'];const _0x5e2fc4=Object[_0x415ce9(0x173)](_0xcc6a07,_0x53b631);logger[_0x415ce9(0x127)](util[_0x415ce9(0x14d)](await _0x2ab2ec['executeAsyncScript'](scripts[_0x415ce9(0x198)],_0x5e2fc4)));},{'command':_0x444b6d[_0x259b47(0x190)]})(),await PerformanceTester[_0x259b47(0xb1)](PerformanceA11yEvents[_0x259b47(0x18a)],async()=>{const _0x3ebdf6=_0x259b47,_0x44d105=_0xb30c04?await _0x2ab2ec[_0x3ebdf6(0xfc)](scripts[_0x3ebdf6(0xd9)],_0x53b631):await _0x2ab2ec[_0x3ebdf6(0xfc)](scripts['getResults']);return _0x44d105;})();}catch{return logger['error'](_0x444b6d[_0x259b47(0x108)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x3b6673,_0x4b6d62)=>{const _0x11abf0=a123_0x5943fb,_0x154f50={};_0x154f50[_0x11abf0(0xcc)]=_0x11abf0(0x15f),_0x154f50['MvnqN']=_0x11abf0(0x123),_0x154f50[_0x11abf0(0x140)]=_0x11abf0(0x117),_0x154f50['GcpUE']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x154f50[_0x11abf0(0x11e)]=_0x11abf0(0x19d),_0x154f50['fTgSo']=_0x11abf0(0x12d);const _0x41cb31=_0x154f50;if(!this[_0x11abf0(0x196)]()||!globals[_0x11abf0(0x13d)](_0x41cb31[_0x11abf0(0x12a)])||!globals[_0x11abf0(0x13d)](_0x41cb31['uXYAJ']))return logger[_0x11abf0(0xc7)](_0x41cb31['GcpUE']),{};try{const _0x3f4c64=await this[_0x11abf0(0x120)](_0x3b6673),_0xb22881=_0x3f4c64?Object[_0x11abf0(0x173)]({},this[_0x11abf0(0x12f)](),{'thTestRunUuid':this[_0x11abf0(0x175)]()}):{};return _0x3f4c64&&logger['debug'](_0x11abf0(0xe5)+util[_0x11abf0(0x14d)]('%j',_0xb22881)),await PerformanceTester[_0x11abf0(0xb1)](PerformanceA11yEvents[_0x11abf0(0xc8)],async()=>{const _0x43a104=_0x11abf0;logger[_0x43a104(0x127)](_0x41cb31[_0x43a104(0xcc)]);const _0x461c51={};_0x461c51[_0x43a104(0x177)]=_0x4b6d62[_0x43a104(0xf7)];const _0x293240=Object[_0x43a104(0x173)](_0x461c51,_0xb22881);logger[_0x43a104(0x127)](util['format'](await _0x3b6673[_0x43a104(0xfc)](scripts[_0x43a104(0x198)],_0x293240)));},{'command':_0x41cb31[_0x11abf0(0x11e)]})(),await PerformanceTester[_0x11abf0(0xb1)](PerformanceA11yEvents[_0x11abf0(0x183)],async()=>{const _0x5c7b80=_0x11abf0,_0xf705e4=_0x3f4c64?await _0x3b6673[_0x5c7b80(0xfc)](scripts[_0x5c7b80(0xb3)],_0xb22881):await _0x3b6673[_0x5c7b80(0xfc)](scripts['getResultsSummary']);return _0xf705e4;})();}catch{return logger[_0x11abf0(0xd3)](_0x41cb31[_0x11abf0(0x155)]),{};}},exports[a123_0x5943fb(0xb6)]=(_0x5473bf,_0x26508e=![])=>{const _0x9f02e1=a123_0x5943fb,_0x26ece2={'srRqe':function(_0x112cc,_0x5d01da){return _0x112cc(_0x5d01da);},'cRVua':function(_0x3e8933,_0x20e1fb){return _0x3e8933(_0x20e1fb);},'UTjUu':_0x9f02e1(0xd4),'zcuLC':function(_0x73f969,_0x30338c){return _0x73f969!==_0x30338c;},'fzxXg':_0x9f02e1(0x152),'OaKSa':function(_0x36b004,_0x4a6806){return _0x36b004(_0x4a6806);},'jJNUb':function(_0x5a8a30,_0x24c193){return _0x5a8a30(_0x24c193);},'LyHUs':_0x9f02e1(0xf9),'mePLP':'chrome','YGclk':_0x9f02e1(0x12b),'awQZN':'Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)'};try{if(!_0x5473bf)return![];const _0x1e9374=_0x3ed7c1=>typeof _0x5473bf[_0x9f02e1(0x1a0)]===_0x9f02e1(0x1a4)?_0x5473bf[_0x9f02e1(0x1a0)](_0x3ed7c1):_0x5473bf[_0x3ed7c1],_0x30541e=_0x26ece2[_0x9f02e1(0x1b0)](String,_0x26ece2[_0x9f02e1(0x189)](_0x1e9374,_0x26ece2[_0x9f02e1(0x122)])||'')[_0x9f02e1(0xc9)]();if(_0x26ece2[_0x9f02e1(0xc1)](_0x30541e,_0x26ece2[_0x9f02e1(0xd5)]))return![];const _0x13bdec=_0x26ece2[_0x9f02e1(0x16f)](String,_0x26ece2['jJNUb'](_0x1e9374,_0x26ece2[_0x9f02e1(0x1a9)])||'')[_0x9f02e1(0xc9)]();if(!_0x13bdec[_0x9f02e1(0xd8)](_0x26ece2['mePLP']))return _0x26508e&&logger[_0x9f02e1(0xc7)](_0x26ece2[_0x9f02e1(0x180)]),![];return logger['debug'](_0x26ece2[_0x9f02e1(0x16a)]),!![];}catch(_0xee108a){return logger[_0x9f02e1(0x127)](_0x9f02e1(0xe1)+_0xee108a),![];}},exports['isMobileAccessibilitySession']=async _0x49b1b2=>{const _0x42d768=a123_0x5943fb;try{const _0x46d36c=await _0x49b1b2[_0x42d768(0xe2)]();return exports['isMobileAccessibilityPlatform'](_0x46d36c);}catch(_0x3e2116){return logger[_0x42d768(0x127)](_0x42d768(0x132)+_0x3e2116),![];}},exports[a123_0x5943fb(0x12f)]=()=>{const _0x5db802=a123_0x5943fb,_0x2c83cf={};return _0x2c83cf[_0x5db802(0x13a)]=!![],_0x2c83cf;},exports[a123_0x5943fb(0x175)]=()=>{const _0x211143=a123_0x5943fb,_0xb5572f={};_0xb5572f[_0x211143(0x19e)]=function(_0x2838a0,_0x1c08b8){return _0x2838a0===_0x1c08b8;},_0xb5572f[_0x211143(0x169)]=_0x211143(0xb4),_0xb5572f['bXTZf']=function(_0x5a1659,_0x47f2eb){return _0x5a1659>_0x47f2eb;},_0xb5572f[_0x211143(0xb2)]=_0x211143(0xbc),_0xb5572f['htRZv']=_0x211143(0x187),_0xb5572f[_0x211143(0x1ba)]=_0x211143(0x195);const _0x5ba659=_0xb5572f,_0x1ed54f=global[_0x211143(0xf1)],_0x474a5c=_0x1ed54f&&_0x1ed54f['currentTest'],_0x1587c2=_0x474a5c&&_0x474a5c[_0x211143(0x103)];if(_0x5ba659['HpJSv'](typeof _0x1587c2,_0x5ba659[_0x211143(0x169)])&&_0x5ba659[_0x211143(0x17b)](_0x1587c2[_0x211143(0x1bd)],0x0))return _0x1587c2;let _0x20ba4d;if(!_0x1ed54f)_0x20ba4d=_0x5ba659[_0x211143(0xb2)];else!_0x474a5c?_0x20ba4d=_0x5ba659['htRZv']:_0x20ba4d='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object[_0x211143(0x143)](_0x474a5c)['join'](',\x20')+_0x211143(0x102)+(_0x5ba659['HpJSv'](_0x1587c2,undefined)?_0x5ba659[_0x211143(0x1ba)]:'\x22'+_0x1587c2+'\x22')+'.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.';return logger[_0x211143(0xc7)](_0x211143(0x148)+_0x20ba4d+_0x211143(0x1bb)),'';},exports[a123_0x5943fb(0x1a6)]=_0x1ff1bc=>{const _0x54d941=a123_0x5943fb,_0xec2541={};_0xec2541[_0x54d941(0xf5)]=function(_0x16f7ba,_0x153e48){return _0x16f7ba===_0x153e48;},_0xec2541[_0x54d941(0xe6)]=_0x54d941(0xb4),_0xec2541[_0x54d941(0x1c0)]=_0x54d941(0x19a);const _0x3d6230=_0xec2541;if(_0x1ff1bc&&_0x1ff1bc['script']&&_0x3d6230[_0x54d941(0xf5)](typeof _0x1ff1bc[_0x54d941(0x10f)],_0x3d6230[_0x54d941(0xe6)]))return _0x1ff1bc[_0x54d941(0x10f)]['includes'](_0x3d6230[_0x54d941(0x1c0)]);return![];},exports[a123_0x5943fb(0x188)]=a123_0x5943fb(0x1ae),exports[a123_0x5943fb(0x172)]=()=>process['env'][a123_0x5943fb(0x19c)]===a123_0x5943fb(0xce),exports['isBrowserSupportedForAccessibility']=_0x4fcd94=>{const _0x9529e4=a123_0x5943fb,_0x5696b7={};_0x5696b7[_0x9529e4(0xb8)]=function(_0x56da97,_0x555599){return _0x56da97 in _0x555599;};const _0x1bc04e=_0x5696b7;if(bsSetupHelper[_0x9529e4(0x116)](_0x4fcd94))return![];const _0x134a9c=_0x4fcd94[_0x9529e4(0xc9)]();return _0x1bc04e[_0x9529e4(0xb8)](_0x134a9c,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a123_0x5943fb(0x199)]=_0x3257cb=>{const _0x33c5e8=a123_0x5943fb;if(bsSetupHelper[_0x33c5e8(0x116)](_0x3257cb))return null;const _0x31bc4c=_0x3257cb[_0x33c5e8(0xc9)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x31bc4c]||null;},exports[a123_0x5943fb(0x1a2)]=(_0x52bd7e,_0x542701)=>{const _0x41ee38=a123_0x5943fb,_0x41c781=this[_0x41ee38(0x199)](_0x52bd7e);if(!_0x41c781)return null;if(_0x542701)return _0x41c781[_0x41ee38(0xc0)];return _0x41c781[_0x41ee38(0x100)];},exports[a123_0x5943fb(0xdc)]=_0xbfc4be=>{const _0x3c78e4=a123_0x5943fb,_0x4eb957=this[_0x3c78e4(0x199)](_0xbfc4be);return _0x4eb957?_0x4eb957[_0x3c78e4(0xb5)]:_0xbfc4be;},exports['requiresChromeOptionsValidation']=_0x195799=>{const _0x52c1e1=a123_0x5943fb,_0x3605f1=this['getBrowserA11yConfig'](_0x195799);return _0x3605f1?_0x3605f1[_0x52c1e1(0xd0)]:![];},exports[a123_0x5943fb(0x104)]=(_0x2fdb71,_0x5189cc)=>{const _0x5d8554=a123_0x5943fb,_0x40a173={'uyOVG':function(_0x4a82d7,_0x1b6abe){return _0x4a82d7(_0x1b6abe);},'xRiSw':function(_0x366d7f,_0xabfccb){return _0x366d7f(_0xabfccb);},'ioxYS':function(_0x7b22e1,_0x501710){return _0x7b22e1>=_0x501710;}};if(bsSetupHelper[_0x5d8554(0x116)](_0x2fdb71)||bsSetupHelper[_0x5d8554(0x116)](_0x5189cc))return![];const _0x3d2559=bsSetupHelper[_0x5d8554(0x115)](_0x40a173[_0x5d8554(0x1b1)](String,_0x2fdb71),_0x40a173['xRiSw'](String,_0x5189cc));return _0x40a173['ioxYS'](_0x3d2559,0x0);},exports[a123_0x5943fb(0xfb)]=_0x348b74=>{const _0x499804=a123_0x5943fb,_0x1d95fb={};_0x1d95fb[_0x499804(0x10e)]=function(_0x35d659,_0x5afcbc){return _0x35d659!==_0x5afcbc;},_0x1d95fb[_0x499804(0x1bc)]=_0x499804(0xb4),_0x1d95fb['VXAKY']=_0x499804(0x1a1);const _0x46f8ee=_0x1d95fb;if(!_0x348b74||_0x46f8ee[_0x499804(0x10e)](typeof _0x348b74,_0x46f8ee[_0x499804(0x1bc)]))return null;try{return JSON[_0x499804(0x181)](Buffer[_0x499804(0x17a)](_0x348b74[_0x499804(0x125)]('.')[0x1],_0x46f8ee[_0x499804(0x1a7)])[_0x499804(0xe0)]());}catch{return null;}};
|
|
1
|
+
function a123_0xa0e9(){const _0x238c55=['EUSBK','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','toISOString','isMobileAccessibilityPlatform','includes','mJcgG','auth','stringify','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','min_version_browserstack','Bearer\x20','BFiNm','--headless=new','VpPyW','gZNpx','MOBILE_SCANNING_DISABLED_WARNING','getCapabilities','getGitMetaData','nodeRequest','xWSJa','split','Authorization','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','BlxzA','HiidV','compareVersions','cYTRF','device','BROWSERSTACK_TEST_ACCESSIBILITY_YML','setNonBstackInfraCapabilities','wPycb','message','PUT','SsVVz','eEwbS','POST','SzThF','SwVsi','5hooxKN','function','../performance/performance-tester','display_name','byxEJ','return\x20document.readyState\x20===\x20\x22complete\x22','UlubC','v2/test_runs','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','stack','getPlatform','isTrue','vwmdt','EykVv','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','keys','startsWith','2388hYNLOL','parseA11yJwtPayload','warn','iQVjY','KpzUB','12DzZyxq','json',']\x20but\x20thTestRunUuid\x20is\x20','isMobileAccessibilitySession','EyrqQ','fetchPlatformDetails','min_version_non_browserstack','platform','PheQq','false','method','hspJn','BS_A11Y_JWT','status','CpLIZ','android','bstackA11yScanOptions','getBrowserVersion','CfKzo','hbUFf','NOjvm','fxumE','aUWiL','resolveMobileThTestRunUuid','browserName','a11y:stop','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','capabilities_','requiresChromeOptionsValidation','statusText','thTestRunUuid','QNFLk','wvHOI','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','requires_chrome_options_check','toLowerCase','platforms','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','VkqkN','136LQZnaX','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.','WTCQL','resolve','No\x20accessibility\x20results\x20were\x20found.','hGaji','measureWrapper','--headless','WmqKL','NVXLg','join','SRdpQ','parseFromJson','getBrowserName','52614wLxHjX','options_','NgVSq','--headless=','921558dXPofA','nestedKeyValue','base64','RHxsv','Performing\x20scan\x20before\x20getting\x20results','SeHnF','LMHfd','checkAccessibilityPlatformConfig','projectName','args','CSCZY','javascript','5660238yAnfFt','bstack:options','command','Performed\x20scan\x20with\x20result:\x20','gaIhX','WbuCH','replace','Ozuuk','pass','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','juzLT','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../logger','getPackageVersion','headers','../globals','isBrowserSupportedForAccessibility','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isUndefined','format','QXezf','a11y:start','No\x20accessibility\x20summary\x20was\x20found.','bstackA11yShouldScan','browserstackSessionName','getAccessibilityResultsSummary','Invalid\x20configuration\x20passed.','stopAccessibilityTestRun','Not\x20a\x20Accessibility\x20Session','AJDaU','vqXEO','__workerDetails','requireModule','vmaIT','Build\x20creation\x20had\x20failed.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','gjUeH','../performance/constants','getGlobal','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','HUwCX','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','227899irQMcf','browserVersion','YFzRY','getTestFrameworkDetails','isBrowserStackCommandExecutor','response','nniFd','version','GET_RESULTS_SUMMARY','chrome','chromeOptions','wvUmE','body','data','deviceName','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','GyneC','wLfXj','includeTagsInTestingScope','kzvUt','ChromeExtension','errors','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','script','accessibility','2320tjRKzR','97526rjkSKi','env','./scripts','kZsZY','assign','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','getResultsSummary','qtRhx','getMinVersionForBrowser','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','Content-Type','browserstack','get','createAccessibilityTestRun','CGNJf','isAccessibilityAutomationSession','166819NRCyPO','isArray','length','isVersionSupported','qifKx','mergeDeep','debug','PERFORM_SCAN','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','set','Kcoxr','undefined','cwd','error','EPOeI','NCwBl','FayrK','performScan','Options','scannerVersion','user','success','null','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','KOocY','global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).','buildName','test_runs/stop','getResults','parse','sicZz','kqMLy','getCiInfo','path','getHostInfo','xLIoc','nonBstackPlatformValidation','getAccessibilityResults','currentTest','winstonLogger','gpjNT','getBrowserA11yConfig','BROWSERSTACK_TURBOSCALE','selenium-webdriver','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','map','getBrowserDisplayName','kuhGr','eyAcm','buildDescription','executeAsyncScript','excludeTagsInTestingScope','is_mobile_session','application/json','hIKNo','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','XMogl','ZgMRA','isBrowserstackInfra','mGtXt','ZKldN','znfKL','some','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','getMobileA11yCapabilities','goog:chromeOptions','IPRXk','getAccessKey','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','isAccessibilityPlatform','mEaln','GET_RESULTS','accessibilityToken','toString','bTqBX','./constants','string','NWOSn','317260CCIpTD'];a123_0xa0e9=function(){return _0x238c55;};return a123_0xa0e9();}const a123_0x586595=a123_0x227f;(function(_0x20f9bb,_0x4e2d37){const _0x4b4340=a123_0x227f,_0x4f3344=_0x20f9bb();while(!![]){try{const _0x365446=-parseInt(_0x4b4340(0x23c))/0x1*(-parseInt(_0x4b4340(0x2c7))/0x2)+-parseInt(_0x4b4340(0x301))/0x3+parseInt(_0x4b4340(0x28a))/0x4+parseInt(_0x4b4340(0x2b1))/0x5*(parseInt(_0x4b4340(0x1e6))/0x6)+parseInt(_0x4b4340(0x211))/0x7*(-parseInt(_0x4b4340(0x2ee))/0x8)+parseInt(_0x4b4340(0x2fd))/0x9*(parseInt(_0x4b4340(0x22a))/0xa)+parseInt(_0x4b4340(0x22b))/0xb*(-parseInt(_0x4b4340(0x2c2))/0xc);if(_0x365446===_0x4e2d37)break;else _0x4f3344['push'](_0x4f3344['shift']());}catch(_0x4a7b54){_0x4f3344['push'](_0x4f3344['shift']());}}}(a123_0xa0e9,0xb84c5));function a123_0x227f(_0x45b0fb,_0x5bf844){const _0xa0e9fe=a123_0xa0e9();return a123_0x227f=function(_0x227fee,_0xa75a3d){_0x227fee=_0x227fee-0x1e0;let _0x35a01d=_0xa0e9fe[_0x227fee];return _0x35a01d;},a123_0x227f(_0x45b0fb,_0x5bf844);}const path=require(a123_0x586595(0x25d)),util=require('util'),bsSetupHelper=require('../helper'),logger=require(a123_0x586595(0x1f3))[a123_0x586595(0x263)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a123_0x586595(0x287)),PerformanceTester=require(a123_0x586595(0x2b3)),scripts=require(a123_0x586595(0x22d)),globals=require(a123_0x586595(0x1f6)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a123_0x586595(0x20c));exports[a123_0x586595(0x2cc)]=async _0x405433=>{const _0x495c41=a123_0x586595,_0x11b4af={};_0x11b4af[_0x495c41(0x2a2)]=function(_0x58b8a1,_0x2ff29c){return _0x58b8a1===_0x2ff29c;},_0x11b4af[_0x495c41(0x240)]=_0x495c41(0x237);const _0x299f12=_0x11b4af;let _0x10bbb2={};try{const _0x589b72=await _0x405433['getCapabilities']();_0x10bbb2={'os_name':_0x589b72[_0x495c41(0x2bb)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x299f12[_0x495c41(0x2a2)](global['__cloud_provider___'],_0x299f12[_0x495c41(0x240)])),'browser_name':_0x589b72[_0x495c41(0x2fc)](),'browser_version':_0x589b72[_0x495c41(0x2d8)]()};}catch(_0x369be6){logger['debug'](_0x495c41(0x20e)+_0x369be6);}return _0x10bbb2;},exports['isAccessibilityAutomationSession']=()=>{const _0x444b88=a123_0x586595,_0x40b5af={};_0x40b5af[_0x444b88(0x24c)]=function(_0x176968,_0x3cb44b){return _0x176968===_0x3cb44b;},_0x40b5af[_0x444b88(0x2af)]=_0x444b88(0x288),_0x40b5af[_0x444b88(0x2bd)]=function(_0x269e50,_0x2b12c4){return _0x269e50>_0x2b12c4;},_0x40b5af[_0x444b88(0x290)]=function(_0xe24141,_0x26cc08){return _0xe24141!==_0x26cc08;},_0x40b5af[_0x444b88(0x298)]=_0x444b88(0x252),_0x40b5af[_0x444b88(0x2db)]=function(_0x437f3f,_0x24a8ae){return _0x437f3f&&_0x24a8ae;};const _0x274270=_0x40b5af;try{const _0x34ae86=bsSetupHelper['isTrue'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x444b88(0x2bc)](process[_0x444b88(0x22c)][_0x444b88(0x1f8)]),_0x464157=_0x274270[_0x444b88(0x24c)](typeof process[_0x444b88(0x22c)][_0x444b88(0x2d3)],_0x274270[_0x444b88(0x2af)])&&_0x274270[_0x444b88(0x2bd)](process['env'][_0x444b88(0x2d3)]['length'],0x0)&&_0x274270[_0x444b88(0x290)](process['env'][_0x444b88(0x2d3)],_0x274270[_0x444b88(0x298)]);return _0x274270[_0x444b88(0x2db)](_0x34ae86,_0x464157);}catch(_0x37e10c){logger[_0x444b88(0x242)](_0x444b88(0x2ef)+_0x37e10c);}return![];},exports[a123_0x586595(0x260)]=(_0xa8ae0e,_0x585a3a)=>{const _0x512102=a123_0x586595,_0x1e81fc={'qtRhx':_0x512102(0x2df),'SsVVz':function(_0x5ecb7a,_0x2ef899){return _0x5ecb7a(_0x2ef899);},'QEGuC':_0x512102(0x212),'kuhGr':_0x512102(0x218),'VkqkN':_0x512102(0x1e7),'IPRXk':_0x512102(0x21f),'AJDaU':_0x512102(0x2a6),'hbUFf':_0x512102(0x20a),'rUNvz':'selenium-webdriver/chrome.js','nAptW':_0x512102(0x267),'hGaji':_0x512102(0x2fe),'mEaln':_0x512102(0x1e3),'KOocY':_0x512102(0x21b),'UlubC':_0x512102(0x227),'LKODj':'goog:chromeOptions','RHxsv':function(_0x2a61cc,_0x4fcd39){return _0x2a61cc===_0x4fcd39;},'TgFid':_0x512102(0x21a),'gaIhX':function(_0x49d115,_0x1612b0){return _0x49d115>=_0x1612b0;}},_0x40bc4a=_0xa8ae0e[_0x512102(0x238)](_0x1e81fc[_0x512102(0x233)]),_0x1c26c1=_0x1e81fc[_0x512102(0x2ac)](parseFloat,_0xa8ae0e[_0x512102(0x238)](_0x1e81fc['QEGuC']))||_0x1e81fc['SsVVz'](parseFloat,_0xa8ae0e[_0x512102(0x238)](_0x1e81fc[_0x512102(0x26b)])),_0x50c940=_0xa8ae0e[_0x512102(0x238)](_0x1e81fc[_0x512102(0x2ed)])||{},_0x38f561=_0x1e81fc[_0x512102(0x2ac)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x4f2887=_0x50c940[_0x1e81fc[_0x512102(0x27e)]]||_0xa8ae0e[_0x512102(0x238)](_0x1e81fc[_0x512102(0x204)])||![];if(_0x4f2887)return logger[_0x512102(0x2c4)](_0x1e81fc[_0x512102(0x2da)]),![];let _0x481188;try{_0x481188=bsSetupHelper[_0x512102(0x207)](_0x1e81fc['rUNvz'],_0x1e81fc['nAptW']);}catch(_0x539648){return![];}const _0x512ea6=new _0x481188[(_0x512102(0x24e))](_0x585a3a['chromeOptions_']),_0x118a78=bsSetupHelper[_0x512102(0x302)](_0x512ea6,[_0x1e81fc[_0x512102(0x2f4)],_0x1e81fc[_0x512102(0x282)]])||bsSetupHelper[_0x512102(0x302)](_0x585a3a['capabilities_'],[_0x1e81fc[_0x512102(0x2ed)],_0x1e81fc['KOocY'],_0x1e81fc[_0x512102(0x282)]])||bsSetupHelper[_0x512102(0x302)](_0x585a3a[_0x512102(0x2e2)],[_0x1e81fc[_0x512102(0x254)],_0x1e81fc[_0x512102(0x282)]])||[],_0x7881af=Array[_0x512102(0x23d)](_0x118a78)?_0x118a78:[];if(_0x7881af[_0x512102(0x27a)](_0x5efaf3=>typeof _0x5efaf3===_0x512102(0x288)&&(_0x5efaf3===_0x512102(0x2f6)||_0x5efaf3[_0x512102(0x2c1)]('--headless=')&&_0x5efaf3!==_0x512102(0x297))))return logger['warn'](_0x1e81fc[_0x512102(0x2b7)]),![];const _0x2ea4e3=_0x585a3a[_0x512102(0x2e2)]||{},_0x10287e=bsSetupHelper[_0x512102(0x302)](_0x2ea4e3,[_0x1e81fc['LKODj']])||{},_0x1f953f=bsSetupHelper['nestedKeyValue'](_0x10287e,[_0x1e81fc[_0x512102(0x282)]])||[],_0x3f4c4a=Array['isArray'](_0x1f953f)?_0x1f953f:[];if(_0x3f4c4a[_0x512102(0x27a)](_0x285178=>typeof _0x285178==='string'&&(_0x285178==='--headless'||_0x285178[_0x512102(0x2c1)](_0x512102(0x300))&&_0x285178!==_0x512102(0x297))))return logger[_0x512102(0x2c4)](_0x1e81fc[_0x512102(0x2b7)]),![];if(_0x1e81fc[_0x512102(0x304)](_0x40bc4a[_0x512102(0x2ea)](),_0x1e81fc['TgFid'])&&_0x1e81fc[_0x512102(0x1ea)](_0x1c26c1,_0x38f561))return!![];return logger[_0x512102(0x2c4)](_0x512102(0x235)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a123_0x586595(0x2a8)]=_0x4e22c4=>{const _0x25edae=a123_0x586595,_0x5340ea={};_0x5340ea[_0x25edae(0x1f0)]=_0x25edae(0x27d),_0x5340ea[_0x25edae(0x306)]=function(_0x57f819,_0x2eed33){return _0x57f819||_0x2eed33;},_0x5340ea[_0x25edae(0x289)]=_0x25edae(0x203);const _0x456293=_0x5340ea,_0x9f20b0=scripts[_0x25edae(0x225)];try{const _0xedf8e4=bsSetupHelper[_0x25edae(0x2bc)](process[_0x25edae(0x22c)][_0x25edae(0x2a7)])||bsSetupHelper['isTrue'](process[_0x25edae(0x22c)][_0x25edae(0x1f8)]);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x25edae(0x22c)][_0x25edae(0x266)])&&_0xedf8e4){const _0x40c941=_0x4e22c4[_0x25edae(0x29b)](),_0x18052d=_0x40c941[_0x25edae(0x238)](_0x456293[_0x25edae(0x1f0)]),_0x546f47=_0x456293[_0x25edae(0x306)](_0x18052d,{});bsSetupHelper[_0x25edae(0x241)](_0x546f47,_0x9f20b0),_0x4e22c4['getCapabilities']()[_0x25edae(0x245)](_0x456293['juzLT'],_0x546f47);}else logger['warn'](_0x456293[_0x25edae(0x289)]);}catch(_0x376ba3){logger[_0x25edae(0x249)](_0x25edae(0x253)+_0x376ba3);}},exports['shouldScanTestForAccessibility']=(_0x45f87f=null,_0xf387f9=!![],_0x589470=[])=>{const _0x44a58=a123_0x586595,_0x1aed6c={};_0x1aed6c[_0x44a58(0x25f)]=function(_0x2fb53d,_0x4ae8f9){return _0x2fb53d==_0x4ae8f9;},_0x1aed6c[_0x44a58(0x286)]=function(_0x3c6458,_0x1a7722){return _0x3c6458>_0x1a7722;},_0x1aed6c[_0x44a58(0x208)]=function(_0x87d4f4,_0x21d0b3){return _0x87d4f4===_0x21d0b3;},_0x1aed6c['xWSJa']=function(_0xda469a,_0x5f5b68){return _0xda469a&&_0x5f5b68;},_0x1aed6c[_0x44a58(0x2b0)]=function(_0x46d692,_0x53c0c0){return _0x46d692===_0x53c0c0;};const _0xa36ef1=_0x1aed6c;if(_0xa36ef1[_0x44a58(0x25f)](process[_0x44a58(0x22c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x1e1303=JSON[_0x44a58(0x259)](process[_0x44a58(0x22c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x4d6df2=Array['isArray'](_0x1e1303[_0x44a58(0x223)])?_0x1e1303[_0x44a58(0x223)]:[],_0xb0623e=Array[_0x44a58(0x23d)](_0x1e1303[_0x44a58(0x26f)])?_0x1e1303[_0x44a58(0x26f)]:[],_0x599c3d=_0x5946e6=>typeof _0x5946e6===_0x44a58(0x288)?_0x5946e6[_0x44a58(0x1ec)](/^@/,'')[_0x44a58(0x2ea)]()['trim']():_0x5946e6;if(bsSetupHelper[_0x44a58(0x1f9)](_0x45f87f)){if(_0xa36ef1[_0x44a58(0x286)](_0x589470[_0x44a58(0x23e)],0x0)){const _0x26b84d=_0x589470[_0x44a58(0x269)](_0x599c3d),_0x40a7e3=_0xb0623e[_0x44a58(0x27a)](_0x1c6cc6=>_0x26b84d['includes'](_0x599c3d(_0x1c6cc6))),_0x3ab7e0=_0xa36ef1[_0x44a58(0x208)](_0x4d6df2[_0x44a58(0x23e)],0x0)||_0x4d6df2['some'](_0x4d990a=>_0x26b84d[_0x44a58(0x28f)](_0x599c3d(_0x4d990a)));return _0xa36ef1[_0x44a58(0x29e)](!_0x40a7e3,_0x3ab7e0);}return!![];}let _0x4aed28;_0xf387f9?_0x4aed28=_0x45f87f[_0x44a58(0x2f9)]('/'):_0x4aed28=_0x45f87f;const _0x2e80d7=_0xb0623e['some'](_0x1dbad1=>_0x4aed28[_0x44a58(0x2ea)]()[_0x44a58(0x28f)](_0x599c3d(_0x1dbad1)[_0x44a58(0x2ea)]())),_0x599284=_0xa36ef1[_0x44a58(0x2b0)](_0x4d6df2[_0x44a58(0x23e)],0x0)||_0x4d6df2[_0x44a58(0x27a)](_0x8da32f=>_0x4aed28[_0x44a58(0x2ea)]()[_0x44a58(0x28f)](_0x599c3d(_0x8da32f)[_0x44a58(0x2ea)]()));return _0xa36ef1['xWSJa'](!_0x2e80d7,_0x599284);}catch(_0x44d1d0){logger['debug'](_0x44a58(0x244)+util[_0x44a58(0x1fa)](_0x44d1d0));}return![];},exports[a123_0x586595(0x1e1)]=_0x4a38d6=>{const _0x504866=a123_0x586595;let _0x342e52=![];try{_0x4a38d6[_0x504866(0x2eb)]['forEach'](_0x49a23f=>{const _0x4c58d2=_0x504866;if(bsSetupHelper[_0x4c58d2(0x2bc)](_0x49a23f[_0x4c58d2(0x229)]))return _0x342e52=!![],!![];});}catch(_0x4da100){logger['debug'](_0x504866(0x210)+_0x4da100);}return _0x342e52||bsSetupHelper[_0x504866(0x2bc)](_0x4a38d6[_0x504866(0x229)]);},exports[a123_0x586595(0x239)]=PerformanceTester[a123_0x586595(0x2f5)](a123_0x586595(0x1fc),async function(_0x12f4e4,_0x4b03b8){const _0x4484a0=a123_0x586595,_0x2335e8={};_0x2335e8[_0x4484a0(0x2ad)]=_0x4484a0(0x268),_0x2335e8['LMHfd']='playwright',_0x2335e8[_0x4484a0(0x26c)]=_0x4484a0(0x1e5),_0x2335e8[_0x4484a0(0x217)]=_0x4484a0(0x271),_0x2335e8[_0x4484a0(0x2dc)]=_0x4484a0(0x2ae),_0x2335e8[_0x4484a0(0x274)]=_0x4484a0(0x2b8),_0x2335e8[_0x4484a0(0x2fa)]=function(_0x1b57ba,_0x2c5de7){return _0x1b57ba===_0x2c5de7;},_0x2335e8[_0x4484a0(0x246)]=_0x4484a0(0x201),_0x2335e8[_0x4484a0(0x2d2)]=_0x4484a0(0x2d0);const _0x9b277e=_0x2335e8,_0x2ea97f=bsSetupHelper['getUserName'](_0x12f4e4),_0xb8900c=bsSetupHelper[_0x4484a0(0x27f)](_0x12f4e4);if(bsSetupHelper[_0x4484a0(0x1f9)](_0x2ea97f)||bsSetupHelper[_0x4484a0(0x1f9)](_0xb8900c))return logger[_0x4484a0(0x249)](_0x9b277e[_0x4484a0(0x2ad)]),[null,null];try{let _0x1f2a33;bsSetupHelper[_0x4484a0(0x1f9)](process[_0x4484a0(0x22c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x1f2a33={}:_0x1f2a33=JSON[_0x4484a0(0x259)](process['env'][_0x4484a0(0x1f2)]);const {name:_0x114a01,version:_0x316b24}=bsSetupHelper[_0x4484a0(0x214)](_0x12f4e4,_0x4b03b8),_0x1c114b={'projectName':_0x12f4e4[_0x4484a0(0x1e2)],'buildName':_0x12f4e4[_0x4484a0(0x256)]||path['basename'](path[_0x4484a0(0x2f2)](process[_0x4484a0(0x248)]())),'startTime':new Date()[_0x4484a0(0x28d)](),'description':_0x12f4e4[_0x4484a0(0x26d)]||'','source':{'frameworkName':_0x4b03b8[_0x4484a0(0x28f)](_0x9b277e[_0x4484a0(0x1e0)])?_0x9b277e['LMHfd']:_0x4b03b8,'frameworkVersion':bsSetupHelper[_0x4484a0(0x1f4)](_0x4b03b8),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x9b277e['eyAcm'],'testFramework':_0x114a01,'testFrameworkVersion':_0x316b24},'settings':_0x1f2a33,'versionControl':await bsSetupHelper[_0x4484a0(0x29c)](),'ciInfo':bsSetupHelper[_0x4484a0(0x25c)](),'hostInfo':bsSetupHelper[_0x4484a0(0x25e)](),'browserstackAutomation':bsSetupHelper[_0x4484a0(0x276)]()},_0x139c14={};_0x139c14[_0x4484a0(0x250)]=_0x2ea97f,_0x139c14[_0x4484a0(0x1ee)]=_0xb8900c;const _0x133e31={};_0x133e31[_0x4484a0(0x236)]=_0x9b277e['nniFd'];const _0x222555={};_0x222555['auth']=_0x139c14,_0x222555[_0x4484a0(0x1f5)]=_0x133e31;const _0x2cf98d=_0x222555,_0x34f517={};_0x34f517[_0x4484a0(0x21d)]=_0x1c114b,_0x34f517['json']=!![];const _0x148cf5=Object[_0x4484a0(0x22f)](_0x2cf98d,_0x34f517),_0x1a1590=await bsSetupHelper[_0x4484a0(0x29d)](_0x9b277e['fxumE'],_0x9b277e[_0x4484a0(0x274)],_0x148cf5,_0x12f4e4,API_URL);let _0x1259d9=process[_0x4484a0(0x22c)][_0x4484a0(0x1f2)];return _0x1259d9?_0x1259d9=JSON[_0x4484a0(0x259)](process[_0x4484a0(0x22c)][_0x4484a0(0x1f2)]):_0x1259d9={},scripts[_0x4484a0(0x2fb)](_0x1a1590[_0x4484a0(0x21e)][_0x4484a0(0x21e)]),scripts['toJson'](),_0x1259d9[_0x4484a0(0x24f)]=_0x1a1590['data'][_0x4484a0(0x21e)]['scannerVersion'],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x1259d9),[_0x1a1590[_0x4484a0(0x21e)]['data'][_0x4484a0(0x284)],_0x1a1590[_0x4484a0(0x21e)][_0x4484a0(0x21e)]['id']];}catch(_0x299c97){if(_0x299c97[_0x4484a0(0x216)])logger[_0x4484a0(0x249)](_0x4484a0(0x1ef)+_0x299c97[_0x4484a0(0x216)][_0x4484a0(0x2d4)]+'\x20'+_0x299c97[_0x4484a0(0x216)][_0x4484a0(0x2e4)]+'\x20'+JSON[_0x4484a0(0x292)](_0x299c97['response'][_0x4484a0(0x21e)]));else{if(_0x9b277e[_0x4484a0(0x2fa)](_0x299c97['message'],_0x9b277e[_0x4484a0(0x246)])){logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x299c97['message']||_0x299c97[_0x4484a0(0x2ba)]));for(const _0x3240ed of _0x299c97[_0x4484a0(0x226)]){logger[_0x4484a0(0x249)](_0x3240ed['message']);}process[_0x4484a0(0x22c)][_0x4484a0(0x2a7)]=_0x9b277e[_0x4484a0(0x2d2)],process[_0x4484a0(0x22c)][_0x4484a0(0x1f8)]=_0x9b277e[_0x4484a0(0x2d2)];}else logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x299c97[_0x4484a0(0x2aa)]||_0x299c97[_0x4484a0(0x2ba)]));}return[null,null];}}),exports[a123_0x586595(0x202)]=PerformanceTester[a123_0x586595(0x2f5)](a123_0x586595(0x2e0),async function(_0x3e0567){const _0x3cffe6=a123_0x586595,_0x2c600e={};_0x2c600e[_0x3cffe6(0x2cb)]=function(_0x16bc75,_0x4cab6e){return _0x16bc75!==_0x4cab6e;},_0x2c600e[_0x3cffe6(0x20b)]=_0x3cffe6(0x288),_0x2c600e[_0x3cffe6(0x2be)]=_0x3cffe6(0x249),_0x2c600e[_0x3cffe6(0x21c)]=_0x3cffe6(0x209),_0x2c600e[_0x3cffe6(0x2c6)]=_0x3cffe6(0x271),_0x2c600e[_0x3cffe6(0x296)]=_0x3cffe6(0x2ab),_0x2c600e[_0x3cffe6(0x2f1)]=_0x3cffe6(0x257),_0x2c600e[_0x3cffe6(0x224)]=function(_0x20c66c,_0x2ae211){return _0x20c66c+_0x2ae211;},_0x2c600e[_0x3cffe6(0x1ed)]='Invalid\x20request:\x20',_0x2c600e[_0x3cffe6(0x25b)]=_0x3cffe6(0x251);const _0xbef7b7=_0x2c600e;if(bsSetupHelper['isUndefined'](process[_0x3cffe6(0x22c)]['BS_A11Y_JWT'])||_0xbef7b7[_0x3cffe6(0x2cb)](typeof process[_0x3cffe6(0x22c)]['BS_A11Y_JWT'],_0xbef7b7['gjUeH'])){const _0x27484d={};return _0x27484d[_0x3cffe6(0x2d4)]=_0xbef7b7['EykVv'],_0x27484d['message']=_0xbef7b7[_0x3cffe6(0x21c)],_0x27484d;}const _0x13313d={'endTime':new Date()[_0x3cffe6(0x28d)]()},_0x53dbbf={};_0x53dbbf[_0x3cffe6(0x2a0)]=_0x3cffe6(0x295)+process['env'][_0x3cffe6(0x2d3)],_0x53dbbf[_0x3cffe6(0x236)]=_0xbef7b7[_0x3cffe6(0x2c6)];const _0x202f59={};_0x202f59[_0x3cffe6(0x1f5)]=_0x53dbbf;const _0x3865c8=_0x202f59,_0x48798d={};_0x48798d[_0x3cffe6(0x21d)]=_0x13313d,_0x48798d[_0x3cffe6(0x291)]=null,_0x48798d[_0x3cffe6(0x2c8)]=!![];const _0x11385f=Object[_0x3cffe6(0x22f)](_0x3865c8,_0x48798d);try{const _0xf0768c=await bsSetupHelper['nodeRequest'](_0xbef7b7[_0x3cffe6(0x296)],_0xbef7b7[_0x3cffe6(0x2f1)],_0x11385f,_0x3e0567,API_URL);if(_0xf0768c[_0x3cffe6(0x21e)]['error'])throw new Error(_0xbef7b7['kzvUt'](_0xbef7b7[_0x3cffe6(0x1ed)],_0xf0768c[_0x3cffe6(0x21e)][_0x3cffe6(0x249)]));else{logger['info']('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x3cffe6(0x28d)]());const _0xcbf66e={};return _0xcbf66e['status']=_0xbef7b7[_0x3cffe6(0x25b)],_0xcbf66e[_0x3cffe6(0x2aa)]='',_0xcbf66e;}}catch(_0x52466e){_0x52466e['response']?logger[_0x3cffe6(0x249)](_0x3cffe6(0x28c)+_0x52466e[_0x3cffe6(0x216)][_0x3cffe6(0x2d4)]+'\x20'+_0x52466e['response'][_0x3cffe6(0x2e4)]+'\x20'+JSON[_0x3cffe6(0x292)](_0x52466e[_0x3cffe6(0x216)][_0x3cffe6(0x21e)])):logger[_0x3cffe6(0x249)](_0x3cffe6(0x28c)+(_0x52466e[_0x3cffe6(0x2aa)]||util[_0x3cffe6(0x1fa)](_0x52466e)));const _0x38ffed={};return _0x38ffed[_0x3cffe6(0x2d4)]=_0xbef7b7[_0x3cffe6(0x2be)],_0x38ffed[_0x3cffe6(0x2aa)]=_0x52466e[_0x3cffe6(0x2aa)]||(_0x52466e[_0x3cffe6(0x216)]?_0x52466e['response']['status']+':'+_0x52466e['response'][_0x3cffe6(0x2e4)]:_0x52466e),_0x38ffed;}}),exports[a123_0x586595(0x24d)]=async(_0x5ebad7,_0x3b79bd=null,_0x36ad04=![],_0x1fba2a=null)=>{const _0x282b9e=a123_0x586595,_0x45f787={};_0x45f787[_0x282b9e(0x2a5)]=_0x282b9e(0x281),_0x45f787['KqYCY']=_0x282b9e(0x1fe),_0x45f787[_0x282b9e(0x277)]=_0x282b9e(0x2e8),_0x45f787[_0x282b9e(0x2c5)]=function(_0x3b9452,_0x2ed3b2){return _0x3b9452||_0x2ed3b2;},_0x45f787['gpjNT']=_0x282b9e(0x2d7),_0x45f787['WbuCH']=_0x282b9e(0x230);const _0x2239b8=_0x45f787;if(!this[_0x282b9e(0x23b)]()||!globals['getGlobal'](_0x2239b8[_0x282b9e(0x2a5)])||!_0x36ad04&&!globals[_0x282b9e(0x20d)](_0x2239b8['KqYCY'])){logger[_0x282b9e(0x2c4)](_0x2239b8['mGtXt']);return;}const _0x29e068=_0x36ad04?_0x2239b8[_0x282b9e(0x2c5)](_0x1fba2a,{}):globals[_0x282b9e(0x20d)](_0x2239b8[_0x282b9e(0x264)])||{},_0x40a47f={};_0x40a47f['method']=_0x3b79bd||global[_0x282b9e(0x1ff)];const _0x4598ca=Object[_0x282b9e(0x22f)]({},_0x29e068,_0x40a47f);await this['isMobileAccessibilitySession'](_0x5ebad7)&&(Object[_0x282b9e(0x22f)](_0x4598ca,this[_0x282b9e(0x27c)](),{'thTestRunUuid':this[_0x282b9e(0x2de)]()}),logger['debug'](_0x2239b8[_0x282b9e(0x1eb)]));logger[_0x282b9e(0x242)](_0x282b9e(0x2ec)+util[_0x282b9e(0x1fa)]('%j',_0x4598ca));const _0xa83961={};return _0xa83961[_0x282b9e(0x1e8)]=_0x3b79bd,await PerformanceTester[_0x282b9e(0x2f5)](PerformanceA11yEvents[_0x282b9e(0x243)],async()=>{const _0x116c55=_0x282b9e;try{await _0x5ebad7['wait'](()=>_0x5ebad7['executeScript'](_0x116c55(0x2b6)),0x1388);}catch(_0x25d9e5){}const _0x2c9dfe=util['format'](await _0x5ebad7[_0x116c55(0x26e)](scripts[_0x116c55(0x24d)],_0x4598ca));return logger[_0x116c55(0x242)](_0x116c55(0x1e9)+_0x2c9dfe),_0x2c9dfe;},_0xa83961)();},exports[a123_0x586595(0x261)]=async(_0xde3a5c,_0xb26610)=>{const _0x28be8f=a123_0x586595,_0x21ca5a={};_0x21ca5a[_0x28be8f(0x2a9)]=_0x28be8f(0x305),_0x21ca5a[_0x28be8f(0x275)]=_0x28be8f(0x281),_0x21ca5a[_0x28be8f(0x2f7)]=_0x28be8f(0x1fe),_0x21ca5a['sicZz']=_0x28be8f(0x1f1),_0x21ca5a[_0x28be8f(0x2cf)]='getAccessibilityResults',_0x21ca5a['GyneC']=_0x28be8f(0x2f3);const _0x4eebaa=_0x21ca5a;if(!this[_0x28be8f(0x23b)]()||!globals['getGlobal'](_0x4eebaa[_0x28be8f(0x275)])||!globals[_0x28be8f(0x20d)](_0x4eebaa['WmqKL']))return logger[_0x28be8f(0x2c4)](_0x4eebaa[_0x28be8f(0x25a)]),[];try{const _0x6b5cc7=await this['isMobileAccessibilitySession'](_0xde3a5c),_0x49fab4=_0x6b5cc7?Object[_0x28be8f(0x22f)]({},this[_0x28be8f(0x27c)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x6b5cc7&&logger[_0x28be8f(0x242)]('getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20'+util[_0x28be8f(0x1fa)]('%j',_0x49fab4)),await PerformanceTester[_0x28be8f(0x2f5)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4fab17=_0x28be8f;logger[_0x4fab17(0x242)](_0x4eebaa[_0x4fab17(0x2a9)]);const _0x4821e7={};_0x4821e7[_0x4fab17(0x2d1)]=_0xb26610[_0x4fab17(0x1ff)];const _0x4eab66=Object[_0x4fab17(0x22f)](_0x4821e7,_0x49fab4);logger['debug'](util[_0x4fab17(0x1fa)](await _0xde3a5c[_0x4fab17(0x26e)](scripts[_0x4fab17(0x24d)],_0x4eab66)));},{'command':_0x4eebaa['PheQq']})(),await PerformanceTester[_0x28be8f(0x2f5)](PerformanceA11yEvents[_0x28be8f(0x283)],async()=>{const _0xbee143=_0x28be8f,_0x466106=_0x6b5cc7?await _0xde3a5c[_0xbee143(0x26e)](scripts[_0xbee143(0x258)],_0x49fab4):await _0xde3a5c[_0xbee143(0x26e)](scripts[_0xbee143(0x258)]);return _0x466106;})();}catch{return logger[_0x28be8f(0x249)](_0x4eebaa[_0x28be8f(0x221)]),[];}},exports[a123_0x586595(0x200)]=async(_0x374e79,_0x4e48b5)=>{const _0x50df4e=a123_0x586595,_0x32d882={};_0x32d882[_0x50df4e(0x272)]='Performing\x20scan\x20before\x20getting\x20results\x20summary',_0x32d882['NCwBl']='isAccessibilityPlatform',_0x32d882['kZsZY']=_0x50df4e(0x1fe),_0x32d882[_0x50df4e(0x205)]=_0x50df4e(0x2b9),_0x32d882['aFiof']=_0x50df4e(0x200),_0x32d882['EPOeI']=_0x50df4e(0x1fd);const _0x2914e8=_0x32d882;if(!this[_0x50df4e(0x23b)]()||!globals[_0x50df4e(0x20d)](_0x2914e8[_0x50df4e(0x24b)])||!globals['getGlobal'](_0x2914e8[_0x50df4e(0x22e)]))return logger[_0x50df4e(0x2c4)](_0x2914e8[_0x50df4e(0x205)]),{};try{const _0x55d0d5=await this[_0x50df4e(0x2ca)](_0x374e79),_0x407650=_0x55d0d5?Object['assign']({},this[_0x50df4e(0x27c)](),{'thTestRunUuid':this[_0x50df4e(0x2de)]()}):{};return _0x55d0d5&&logger['debug'](_0x50df4e(0x2e1)+util['format']('%j',_0x407650)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x50df4e(0x243)],async()=>{const _0xebb282=_0x50df4e;logger[_0xebb282(0x242)](_0x2914e8['hIKNo']);const _0x543e68={};_0x543e68['method']=_0x4e48b5[_0xebb282(0x1ff)];const _0x261de3=Object[_0xebb282(0x22f)](_0x543e68,_0x407650);logger['debug'](util[_0xebb282(0x1fa)](await _0x374e79[_0xebb282(0x26e)](scripts[_0xebb282(0x24d)],_0x261de3)));},{'command':_0x2914e8['aFiof']})(),await PerformanceTester[_0x50df4e(0x2f5)](PerformanceA11yEvents[_0x50df4e(0x219)],async()=>{const _0x4becd4=_0x50df4e,_0x2448fb=_0x55d0d5?await _0x374e79[_0x4becd4(0x26e)](scripts['getResultsSummary'],_0x407650):await _0x374e79[_0x4becd4(0x26e)](scripts[_0x4becd4(0x232)]);return _0x2448fb;})();}catch{return logger['error'](_0x2914e8[_0x50df4e(0x24a)]),{};}},exports[a123_0x586595(0x28e)]=(_0x5e594b,_0xa64303=![])=>{const _0xc2063d=a123_0x586595,_0x2f6784={'YFzRY':function(_0x4a399c,_0x3af11e){return _0x4a399c(_0x3af11e);},'QlTuW':'platformName','NVXLg':_0xc2063d(0x2ce),'gZNpx':function(_0x30d5fb,_0xb2e41f){return _0x30d5fb!==_0xb2e41f;},'otznD':_0xc2063d(0x2d6),'GNhpc':_0xc2063d(0x2df),'wiTEZ':'chrome','TNjOr':_0xc2063d(0x2a1),'wLfXj':'Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)'};try{if(!_0x5e594b)return![];const _0x1e6d0e=_0x379db5=>typeof _0x5e594b[_0xc2063d(0x238)]===_0xc2063d(0x2b2)?_0x5e594b[_0xc2063d(0x238)](_0x379db5):_0x5e594b[_0x379db5],_0x40c749=_0x2f6784[_0xc2063d(0x213)](String,_0x2f6784['YFzRY'](_0x1e6d0e,_0x2f6784['QlTuW'])||_0x2f6784[_0xc2063d(0x213)](_0x1e6d0e,_0x2f6784[_0xc2063d(0x2f8)])||'')[_0xc2063d(0x2ea)]();if(_0x2f6784[_0xc2063d(0x299)](_0x40c749,_0x2f6784['otznD']))return![];const _0x3f4e28=_0x2f6784[_0xc2063d(0x213)](String,_0x2f6784[_0xc2063d(0x213)](_0x1e6d0e,_0x2f6784['GNhpc'])||'')['toLowerCase']();if(!_0x3f4e28[_0xc2063d(0x28f)](_0x2f6784['wiTEZ']))return _0xa64303&&logger['warn'](_0x2f6784['TNjOr']),![];return logger['debug'](_0x2f6784[_0xc2063d(0x222)]),!![];}catch(_0xd37bd8){return logger['debug'](_0xc2063d(0x280)+_0xd37bd8),![];}},exports[a123_0x586595(0x2ca)]=async _0x539b17=>{const _0x264db3=a123_0x586595;try{const _0x3fbdb2=await _0x539b17[_0x264db3(0x29b)]();return exports[_0x264db3(0x28e)](_0x3fbdb2);}catch(_0x270393){return logger[_0x264db3(0x242)](_0x264db3(0x293)+_0x270393),![];}},exports[a123_0x586595(0x27c)]=()=>{const _0x42fc0f=a123_0x586595,_0x1a8085={};return _0x1a8085[_0x42fc0f(0x270)]=!![],_0x1a8085;},exports[a123_0x586595(0x2de)]=()=>{const _0x1206df=a123_0x586595,_0x46364e={};_0x46364e[_0x1206df(0x2e7)]=function(_0x1133ec,_0x41c810){return _0x1133ec===_0x41c810;},_0x46364e[_0x1206df(0x2e6)]=_0x1206df(0x288),_0x46364e[_0x1206df(0x1e4)]=function(_0x3c6bff,_0x3c3c56){return _0x3c6bff>_0x3c3c56;},_0x46364e[_0x1206df(0x279)]=_0x1206df(0x255),_0x46364e[_0x1206df(0x2dd)]='global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).',_0x46364e[_0x1206df(0x28b)]=_0x1206df(0x247);const _0x19228e=_0x46364e,_0x5dc90a=global[_0x1206df(0x206)],_0x3b6a41=_0x5dc90a&&_0x5dc90a[_0x1206df(0x262)],_0x15a4a3=_0x3b6a41&&_0x3b6a41[_0x1206df(0x2e5)];if(_0x19228e['wvHOI'](typeof _0x15a4a3,_0x19228e['QNFLk'])&&_0x19228e[_0x1206df(0x1e4)](_0x15a4a3['length'],0x0))return _0x15a4a3;let _0x4b4a2b;if(!_0x5dc90a)_0x4b4a2b=_0x19228e[_0x1206df(0x279)];else!_0x3b6a41?_0x4b4a2b=_0x19228e[_0x1206df(0x2dd)]:_0x4b4a2b=_0x1206df(0x27b)+Object[_0x1206df(0x2c0)](_0x3b6a41)['join'](',\x20')+_0x1206df(0x2c9)+(_0x19228e[_0x1206df(0x2e7)](_0x15a4a3,undefined)?_0x19228e[_0x1206df(0x28b)]:'\x22'+_0x15a4a3+'\x22')+_0x1206df(0x273);return logger[_0x1206df(0x2c4)](_0x1206df(0x220)+_0x4b4a2b+_0x1206df(0x2f0)),'';},exports[a123_0x586595(0x215)]=_0x55f01b=>{const _0x1c229e=a123_0x586595,_0x11532a={};_0x11532a[_0x1c229e(0x2ff)]=function(_0x146d4f,_0x262990){return _0x146d4f===_0x262990;},_0x11532a['HUwCX']=_0x1c229e(0x288),_0x11532a[_0x1c229e(0x1fb)]='browserstack_executor';const _0x59b0d2=_0x11532a;if(_0x55f01b&&_0x55f01b['script']&&_0x59b0d2['NgVSq'](typeof _0x55f01b[_0x1c229e(0x228)],_0x59b0d2[_0x1c229e(0x20f)]))return _0x55f01b[_0x1c229e(0x228)][_0x1c229e(0x28f)](_0x59b0d2[_0x1c229e(0x1fb)]);return![];},exports[a123_0x586595(0x29a)]=a123_0x586595(0x2bf),exports['isMobileScanningEnabledForGroup']=()=>process['env'][a123_0x586595(0x231)]==='true',exports[a123_0x586595(0x1f7)]=_0x14f32d=>{const _0x2e3041=a123_0x586595,_0x44f06d={};_0x44f06d[_0x2e3041(0x2a3)]=function(_0x4f4ca6,_0x31e812){return _0x4f4ca6 in _0x31e812;};const _0x57c0a1=_0x44f06d;if(bsSetupHelper[_0x2e3041(0x1f9)](_0x14f32d))return![];const _0x38b1ba=_0x14f32d[_0x2e3041(0x2ea)]();return _0x57c0a1[_0x2e3041(0x2a3)](_0x38b1ba,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports['getBrowserA11yConfig']=_0x5d203e=>{const _0x474ab4=a123_0x586595;if(bsSetupHelper[_0x474ab4(0x1f9)](_0x5d203e))return null;const _0x5e73f2=_0x5d203e['toLowerCase']();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x5e73f2]||null;},exports[a123_0x586595(0x234)]=(_0x309b5a,_0x136a6f)=>{const _0x5715d5=a123_0x586595,_0x801859=this['getBrowserA11yConfig'](_0x309b5a);if(!_0x801859)return null;if(_0x136a6f)return _0x801859[_0x5715d5(0x294)];return _0x801859[_0x5715d5(0x2cd)];},exports[a123_0x586595(0x26a)]=_0x19ed62=>{const _0x36e0ae=a123_0x586595,_0x41b3f7=this[_0x36e0ae(0x265)](_0x19ed62);return _0x41b3f7?_0x41b3f7[_0x36e0ae(0x2b4)]:_0x19ed62;},exports[a123_0x586595(0x2e3)]=_0x14991e=>{const _0x5e8c96=a123_0x586595,_0x23ecbd=this[_0x5e8c96(0x265)](_0x14991e);return _0x23ecbd?_0x23ecbd[_0x5e8c96(0x2e9)]:![];},exports[a123_0x586595(0x23f)]=(_0x507fa0,_0x4ebafb)=>{const _0x149d88=a123_0x586595,_0x130463={'CGNJf':function(_0x4777f7,_0x6c53b8){return _0x4777f7(_0x6c53b8);},'byxEJ':function(_0x539507,_0x4beddf){return _0x539507>=_0x4beddf;}};if(bsSetupHelper[_0x149d88(0x1f9)](_0x507fa0)||bsSetupHelper[_0x149d88(0x1f9)](_0x4ebafb))return![];const _0x5180be=bsSetupHelper[_0x149d88(0x2a4)](_0x130463['CGNJf'](String,_0x507fa0),_0x130463[_0x149d88(0x23a)](String,_0x4ebafb));return _0x130463[_0x149d88(0x2b5)](_0x5180be,0x0);},exports[a123_0x586595(0x2c3)]=_0x1d6d12=>{const _0x4e8fb9=a123_0x586595,_0x11d327={};_0x11d327[_0x4e8fb9(0x2d9)]=function(_0x31c8c9,_0x331e00){return _0x31c8c9!==_0x331e00;},_0x11d327['ZKldN']=_0x4e8fb9(0x288),_0x11d327[_0x4e8fb9(0x2d5)]=_0x4e8fb9(0x303);const _0x4542c5=_0x11d327;if(!_0x1d6d12||_0x4542c5[_0x4e8fb9(0x2d9)](typeof _0x1d6d12,_0x4542c5[_0x4e8fb9(0x278)]))return null;try{return JSON['parse'](Buffer['from'](_0x1d6d12[_0x4e8fb9(0x29f)]('.')[0x1],_0x4542c5[_0x4e8fb9(0x2d5)])[_0x4e8fb9(0x285)]());}catch{return null;}};
|