browserstack-node-sdk 1.56.1 → 1.56.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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/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/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/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/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 -0
- 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 a106_0xba7b6=a106_0x5198;(function(_0xc6578,_0x2568e5){const _0x1f919d=a106_0x5198,_0x4f0d9c=_0xc6578();while(!![]){try{const _0x132d46=-parseInt(_0x1f919d(0x220))/0x1*(parseInt(_0x1f919d(0x252))/0x2)+-parseInt(_0x1f919d(0x262))/0x3*(parseInt(_0x1f919d(0x241))/0x4)+-parseInt(_0x1f919d(0x1d4))/0x5+-parseInt(_0x1f919d(0x1c0))/0x6+parseInt(_0x1f919d(0x22a))/0x7+-parseInt(_0x1f919d(0x1fe))/0x8*(-parseInt(_0x1f919d(0x259))/0x9)+-parseInt(_0x1f919d(0x266))/0xa*(-parseInt(_0x1f919d(0x1d6))/0xb);if(_0x132d46===_0x2568e5)break;else _0x4f0d9c['push'](_0x4f0d9c['shift']());}catch(_0x12dd20){_0x4f0d9c['push'](_0x4f0d9c['shift']());}}}(a106_0x3a2f,0x8103b));function a106_0x3a2f(){const _0x5cf2b6=['WebDriver','LVuhE','noxVD','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','yXtHn','UPFqK','allSettled','Accessibility\x20results\x20save\x20attempt\x20','__workerDetails','options','tsSGu','scanSucceeded','fQiXA','driverType','getAccessibilityResults','isSeleniumDriver','ULUeI','../../bin/playwright/accessibility-helper','jdPmX','isPlaywright','browserstackSessionName','Playwright','tolfe','goto','VJzzj','LnXCR','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','Comprehensive\x20accessibility\x20scan\x20failed\x20(','rebAw','isMobilePlatform','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','setDefaultTimeout',',\x20cannot\x20perform\x20scan\x20with\x20retry.','mmEOB',').\x20Error:\x20','6034680zyJaQS','assign','QcapH','getAccessibilityModule','DVZdK','results','reason','defaultTimeoutMs','KmyQM','Accessibility\x20retry\x20configuration\x20updated:\x20','woriE','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','pEJXx','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','resolveMobileThTestRunUuid','oDoYs','wvlBG','getInstance','OXCDW',').\x20Last\x20error:\x20','2209080pgSFQc','../globals','4708154GqJNQI','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Operation\x20timed\x20out\x20after\x20','JvnJl','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','xVaVU','XtnFp','timeouts','../../bin/v2/browserstackCLI','fulfilled','wDtuk','TFXmw',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','yYocu','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','accessibilityPlatform','race','maxRetries','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','manage','tXSSU','max','dqMXl','pvUdD','performScan','ZgqTD','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','getCurrentUrl','AwyOK','isRunning','jcgMH','updateRetryConfig','\x20failed\x20(','Skipping\x20timeout\x20setting\x20for\x20','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','Playwright\x20accessibility\x20helper\x20not\x20available','ms\x20using\x20setScriptTimeout\x20API','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','nVIHX','executeAsyncScript','15536WLoOOT','dafRK','unknown_method','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Unknown\x20driver/page\x20type:\x20','axTPK','selenium-webdriver','isAccessibilityPlatform','YfGYp','status','qXeLu','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','ms\x20using\x20setTimeouts\x20API','\x20completed\x20successfully.','wTiwO','sJUes','kpLaS','winstonLogger','WbvTh','OxueA','setScriptTimeout','WJRKn','../performance/constants','VqQfM','getCapabilities','currentTest','nhOBG','ROFuw','message','saveTestResults','name','isAccessibilityAutomationSession','getAccessibilityResultsWithRetry','AqBaZ','1ZlQfnL','vJdie','getAccessibilityResultsSummaryWithRetry','bstackA11yShouldScan','jNOrC','debug','playwright-page','error','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','):\x20','715260DRwmLq','\x20failed\x20for\x20method:\x20','performScanWithRetry','niJNN','ydsLY','NvuXQ','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','bVdhG','script','stringify','cFwCr','value','warn','performComprehensiveAccessibilityScanWithRetry','Unknown\x20error','LwsvF','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','function','getAccessibilityResultsSummary','gxHDr','accessibilityConfig','Accessibility\x20results\x20retrieval\x20attempt\x20','VdkIL','64etcHCH','saveAccessibilityResultsWithRetry','USYbE','unknown','naJqF','Accessibility\x20scan\x20attempt\x20','wfpne','Fymrk','eXxNk','fSDEa','url','cBOiT','setTimeouts','bFEhK','rejected','evaluate','zjjaR','1296350sIigFS','xlnAi','getId','util','is_mobile_session','info','./scripts','2970cMCYmo','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','setSeleniumScriptTimeout','timeoutMs',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','env','GrjDP','QrXTt','48543XtqZfj','getGlobal','bstackA11yScanOptions','type','50fWIMaE','WErSn','setPlaywrightScriptTimeout','summary','oGSfl','SBZIy','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','ZDGsN','Scan\x20attempt\x20','KRVqh','./helper','playwright-codecept-driver','owmmw'];a106_0x3a2f=function(){return _0x5cf2b6;};return a106_0x3a2f();}const util=require(a106_0xba7b6(0x255)),logger=require('../logger')[a106_0xba7b6(0x20f)],accessibilityHelper=require(a106_0xba7b6(0x270)),globals=require(a106_0xba7b6(0x1d5)),scripts=require(a106_0xba7b6(0x258)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a106_0xba7b6(0x214)),BrowserstackCLI=require(a106_0xba7b6(0x1de));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a106_0xba7b6(0x284));}catch(a106_0x9302e7){logger[a106_0xba7b6(0x225)](a106_0xba7b6(0x1f9));}const a106_0x5a6d3d={};function a106_0x5198(_0x459fac,_0x500080){const _0x3a2fbb=a106_0x3a2f();return a106_0x5198=function(_0x519879,_0x119035){_0x519879=_0x519879-0x1bc;let _0x148a3b=_0x3a2fbb[_0x519879];return _0x148a3b;},a106_0x5198(_0x459fac,_0x500080);}a106_0x5a6d3d[a106_0xba7b6(0x1e7)]=0x1,a106_0x5a6d3d[a106_0xba7b6(0x25d)]=0x7530,a106_0x5a6d3d[a106_0xba7b6(0x1c7)]=0x7530;const RETRY_CONFIG=a106_0x5a6d3d,setConfigTimeout=(_0x360964,_0x4b7be7=null)=>{const _0x1bb879=a106_0xba7b6,_0x434e2f={'xlnAi':function(_0x5b4306,_0x47a141){return _0x5b4306===_0x47a141;},'USYbE':'scannerProcessingTimeout','Fymrk':function(_0x1c9732,_0xf30edd){return _0x1c9732*_0xf30edd;},'oGSfl':function(_0x189638,_0xd8cd73){return _0x189638(_0xd8cd73);}};if(BrowserstackCLI[_0x1bb879(0x1d1)]()[_0x1bb879(0x1f3)]()&&BrowserstackCLI[_0x1bb879(0x1d1)]()[_0x1bb879(0x1c3)]()){const _0x106258=BrowserstackCLI[_0x1bb879(0x1d1)]()[_0x1bb879(0x1c3)]()[_0x1bb879(0x23e)],_0x310eb6=_0x106258[_0x1bb879(0x27c)]['capabilitiesList']||[];for(const _0x48150f of _0x310eb6){_0x434e2f['xlnAi'](_0x48150f[_0x1bb879(0x21c)],_0x434e2f[_0x1bb879(0x243)])&&_0x434e2f[_0x1bb879(0x253)](_0x4b7be7,null)&&(_0x360964[_0x1bb879(0x25d)]=_0x434e2f['Fymrk'](_0x434e2f[_0x1bb879(0x26a)](parseInt,_0x48150f[_0x1bb879(0x235)]),0x3e8));}}else process[_0x1bb879(0x25f)][_0x1bb879(0x28d)]&&(_0x360964[_0x1bb879(0x25d)]=_0x434e2f[_0x1bb879(0x248)](_0x434e2f['oGSfl'](parseInt,process[_0x1bb879(0x25f)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x52ca91=>{const _0x12128f=a106_0xba7b6,_0x45736d={};_0x45736d[_0x12128f(0x1c8)]=_0x12128f(0x244),_0x45736d['oDoYs']=function(_0x3d21b9,_0x7e431f){return _0x3d21b9===_0x7e431f;},_0x45736d[_0x12128f(0x234)]='function',_0x45736d[_0x12128f(0x247)]=_0x12128f(0x226),_0x45736d[_0x12128f(0x22e)]=_0x12128f(0x204),_0x45736d[_0x12128f(0x240)]='Page',_0x45736d[_0x12128f(0x245)]=_0x12128f(0x273),_0x45736d[_0x12128f(0x24a)]=_0x12128f(0x288),_0x45736d[_0x12128f(0x23d)]=_0x12128f(0x271),_0x45736d['AqBaZ']=function(_0x570361,_0x1ff1a8){return _0x570361||_0x1ff1a8;},_0x45736d[_0x12128f(0x1fc)]='undefined';const _0x1f131d=_0x45736d;if(!_0x52ca91){const _0x549344={};return _0x549344[_0x12128f(0x286)]=![],_0x549344[_0x12128f(0x265)]=_0x1f131d[_0x12128f(0x1c8)],_0x549344;}if(_0x1f131d['oDoYs'](typeof _0x52ca91[_0x12128f(0x250)],_0x1f131d[_0x12128f(0x234)])&&_0x1f131d[_0x12128f(0x1cf)](typeof _0x52ca91[_0x12128f(0x24b)],_0x1f131d[_0x12128f(0x234)])&&_0x1f131d[_0x12128f(0x1cf)](typeof _0x52ca91[_0x12128f(0x28a)],_0x1f131d['cFwCr'])){const _0x4423d6={};return _0x4423d6[_0x12128f(0x286)]=!![],_0x4423d6[_0x12128f(0x265)]=_0x1f131d[_0x12128f(0x247)],_0x4423d6;}if(_0x1f131d[_0x12128f(0x1cf)](typeof _0x52ca91['executeAsyncScript'],_0x1f131d[_0x12128f(0x234)])&&_0x1f131d[_0x12128f(0x1cf)](typeof _0x52ca91[_0x12128f(0x216)],_0x1f131d[_0x12128f(0x234)])){const _0x2fa27d={};return _0x2fa27d[_0x12128f(0x286)]=![],_0x2fa27d[_0x12128f(0x265)]=_0x1f131d['ydsLY'],_0x2fa27d;}const _0x2ee858=_0x52ca91['constructor']?.[_0x12128f(0x21c)];if(_0x1f131d['oDoYs'](_0x2ee858,_0x1f131d[_0x12128f(0x240)])){const _0x4ca5ab={};return _0x4ca5ab[_0x12128f(0x286)]=!![],_0x4ca5ab[_0x12128f(0x265)]=_0x1f131d['wfpne'],_0x4ca5ab;}if(_0x1f131d[_0x12128f(0x1cf)](_0x2ee858,_0x1f131d[_0x12128f(0x245)])){const _0x201682={};return _0x201682['isPlaywright']=![],_0x201682[_0x12128f(0x265)]=_0x1f131d['ydsLY'],_0x201682;}if(_0x1f131d[_0x12128f(0x1cf)](_0x2ee858,_0x1f131d['fSDEa'])){const _0x2dd862={};return _0x2dd862['isPlaywright']=!![],_0x2dd862[_0x12128f(0x265)]=_0x1f131d['gxHDr'],_0x2dd862;}logger[_0x12128f(0x236)](_0x12128f(0x202)+_0x1f131d[_0x12128f(0x21f)](_0x2ee858,_0x1f131d[_0x12128f(0x1fc)]));const _0x378ca9={};return _0x378ca9[_0x12128f(0x286)]=![],_0x378ca9[_0x12128f(0x265)]=_0x1f131d[_0x12128f(0x1c8)],_0x378ca9;},withTimeout=(_0x56dd1d,_0x1d58b7)=>{const _0x246f43=a106_0xba7b6;return Promise[_0x246f43(0x1e6)]([_0x56dd1d,new Promise((_0x2c3450,_0xa25a85)=>setTimeout(()=>_0xa25a85(new Error(_0x246f43(0x1d8)+_0x1d58b7+'ms')),_0x1d58b7))]);};exports[a106_0xba7b6(0x22c)]=async(_0x5e1512,_0x900bb6=null,_0x24f065=null,_0x25298b=![],_0x1fe882=null)=>{const _0x2906ee=a106_0xba7b6,_0x3492a7={'xVaVU':function(_0x5f0b57,_0x570a19){return _0x5f0b57&&_0x570a19;},'EKPsM':function(_0x29c1f4,_0x535f5e,_0x26bf4f){return _0x29c1f4(_0x535f5e,_0x26bf4f);},'axTPK':function(_0x58c5b6,_0x1b494d){return _0x58c5b6===_0x1b494d;},'kpLaS':_0x2906ee(0x271),'sJUes':function(_0x1afb4a,_0x2afff8,_0x5589aa){return _0x1afb4a(_0x2afff8,_0x5589aa);},'fQiXA':function(_0x392bf9,_0x429d8a,_0x1a5bf8){return _0x392bf9(_0x429d8a,_0x1a5bf8);},'LwsvF':function(_0x3991ca,_0x5eef83){return _0x3991ca(_0x5eef83);},'WJRKn':function(_0x2188d3,_0x510b87){return _0x2188d3||_0x510b87;},'woriE':function(_0x25526b,_0x18e4db){return _0x25526b!==_0x18e4db;},'WbvTh':_0x2906ee(0x205),'GrjDP':function(_0x927e4a,_0x208bcf){return _0x927e4a!==_0x208bcf;},'UPFqK':_0x2906ee(0x223),'ZDGsN':function(_0x56600d,_0x142845){return _0x56600d===_0x142845;},'NvuXQ':_0x2906ee(0x1da),'wDtuk':_0x2906ee(0x200),'OxueA':_0x2906ee(0x23b),'qXeLu':function(_0x35607f,_0x175cb2){return _0x35607f<=_0x175cb2;},'WErSn':function(_0x4675c6,_0xc9b61d){return _0x4675c6+_0xc9b61d;},'wvlBG':function(_0x16839d,_0x23e257){return _0x16839d+_0x23e257;},'LVuhE':_0x2906ee(0x238)},{isPlaywright:_0x411f2e,type:_0x259957}=_0x3492a7[_0x2906ee(0x239)](detectDriverType,_0x5e1512),_0x363bcf=_0x25298b?_0x3492a7[_0x2906ee(0x213)](_0x1fe882,{}):global[_0x2906ee(0x264)]||{},_0x181436=_0x411f2e?global[_0x2906ee(0x1e5)]&&(_0x25298b||_0x3492a7[_0x2906ee(0x1ca)](global[_0x2906ee(0x223)],![])):accessibilityHelper[_0x2906ee(0x21d)]()&&globals[_0x2906ee(0x263)](_0x3492a7[_0x2906ee(0x210)])&&(_0x25298b||_0x3492a7[_0x2906ee(0x260)](globals[_0x2906ee(0x263)](_0x3492a7[_0x2906ee(0x278)]),![]));if(!_0x181436)return _0x411f2e&&global['accessibilityPlatform']&&_0x3492a7[_0x2906ee(0x26d)](global['bstackA11yShouldScan'],![])||!_0x411f2e&&globals[_0x2906ee(0x263)](_0x3492a7[_0x2906ee(0x210)])&&_0x3492a7[_0x2906ee(0x26d)](globals[_0x2906ee(0x263)](_0x3492a7['UPFqK']),![])?logger[_0x2906ee(0x225)](_0x3492a7[_0x2906ee(0x22f)]):logger['warn'](_0x2906ee(0x26c)+_0x259957+_0x2906ee(0x1bd)),![];const _0x1a494f=_0x900bb6||global[_0x2906ee(0x287)]||_0x3492a7[_0x2906ee(0x1e0)];let _0x4afbcf=null;const _0x467c7a={'testhub_btcer_uuid':global[_0x2906ee(0x27b)]?.[_0x2906ee(0x217)]?.['id'],'url':_0x3492a7[_0x2906ee(0x26d)](typeof _0x5e1512[_0x2906ee(0x24b)],_0x3492a7[_0x2906ee(0x211)])?await _0x5e1512['url']():_0x3492a7[_0x2906ee(0x203)](typeof _0x5e1512[_0x2906ee(0x1f1)],_0x3492a7[_0x2906ee(0x211)])?await _0x5e1512[_0x2906ee(0x1f1)]():'','automate_session_id':_0x3492a7[_0x2906ee(0x203)](typeof _0x5e1512['getSession'],_0x3492a7[_0x2906ee(0x211)])?(await _0x5e1512['getSession']())[_0x2906ee(0x254)]():''};for(let _0x4be2ab=0x1;_0x3492a7[_0x2906ee(0x208)](_0x4be2ab,_0x3492a7[_0x2906ee(0x267)](RETRY_CONFIG[_0x2906ee(0x1e7)],0x1));_0x4be2ab++){try{return logger[_0x2906ee(0x225)](_0x2906ee(0x246)+_0x4be2ab+'/'+_0x3492a7[_0x2906ee(0x1d0)](RETRY_CONFIG[_0x2906ee(0x1e7)],0x1)+'\x20for\x20method:\x20'+_0x1a494f+'\x20('+_0x259957+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5390aa=_0x2906ee;let _0x495af0;if(_0x3492a7[_0x5390aa(0x1db)](_0x411f2e,playwrightA11yHelper)){_0x3492a7['EKPsM'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x5390aa(0x268)](_0x5e1512,RETRY_CONFIG[_0x5390aa(0x25d)]);let _0x166330=_0x5e1512;_0x3492a7['axTPK'](_0x259957,_0x3492a7[_0x5390aa(0x20e)])&&(_0x166330=_0x5e1512['page']);const _0x225a6a=global['isMobilePlatform']?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x5390aa(0x1ce)]()}:{};_0x495af0=await _0x3492a7[_0x5390aa(0x20d)](withTimeout,playwrightA11yHelper[_0x5390aa(0x1ee)](_0x166330,_0x1a494f,_0x363bcf,_0x225a6a),RETRY_CONFIG[_0x5390aa(0x25d)]),await exports[_0x5390aa(0x268)](_0x5e1512,RETRY_CONFIG['defaultTimeoutMs']);}else await exports['setSeleniumScriptTimeout'](_0x5e1512,RETRY_CONFIG[_0x5390aa(0x25d)]),_0x495af0=await _0x3492a7[_0x5390aa(0x27f)](withTimeout,accessibilityHelper[_0x5390aa(0x1ee)](_0x5e1512,_0x1a494f,_0x25298b,_0x363bcf),RETRY_CONFIG[_0x5390aa(0x25d)]),await exports[_0x5390aa(0x25c)](_0x5e1512,RETRY_CONFIG[_0x5390aa(0x1c7)]);logger['debug'](_0x5390aa(0x26e)+_0x4be2ab+_0x5390aa(0x20b));},{'command':_0x1a494f,..._0x467c7a})(),logger[_0x2906ee(0x257)](_0x2906ee(0x25a)+_0x4be2ab+'.'),!![];}catch(_0x45d056){_0x4afbcf=_0x45d056,logger[_0x2906ee(0x225)](_0x2906ee(0x246)+_0x4be2ab+_0x2906ee(0x22b)+_0x1a494f+'\x20('+_0x259957+_0x2906ee(0x1bf)+_0x45d056[_0x2906ee(0x21a)]);}}return logger[_0x2906ee(0x227)](_0x2906ee(0x1f8)+_0x1a494f+'\x20('+_0x259957+')\x20with\x20error:\x20'+(_0x4afbcf?.[_0x2906ee(0x21a)]||_0x3492a7[_0x2906ee(0x274)])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x3ecb03,_0x5acef9)=>{const _0x249026=a106_0xba7b6,_0x293517={'OXCDW':function(_0x3e511d,_0x51bda2){return _0x3e511d(_0x51bda2);},'bTgpV':_0x249026(0x205),'QrXTt':function(_0x310e82,_0x1f6aee){return _0x310e82<=_0x1f6aee;},'dqMXl':function(_0x1954e1,_0x4a4514){return _0x1954e1+_0x4a4514;},'eXxNk':function(_0x556277,_0x3b4221){return _0x556277&&_0x3b4221;},'SBZIy':function(_0x4db30c,_0x214e66,_0x246408){return _0x4db30c(_0x214e66,_0x246408);},'rebAw':function(_0x455289,_0x338042,_0x4d2e19){return _0x455289(_0x338042,_0x4d2e19);},'niJNN':'Unknown\x20error'},{isPlaywright:_0x598359,type:_0x3857ec}=_0x293517[_0x249026(0x1d2)](detectDriverType,_0x3ecb03),_0x552d2d=_0x598359?_0x5acef9[_0x249026(0x1e5)]:accessibilityHelper[_0x249026(0x21d)]()&&globals['getGlobal'](_0x293517['bTgpV']);if(!_0x552d2d)return logger[_0x249026(0x236)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x3857ec+_0x249026(0x25b)),[];let _0xca8b7e=null;for(let _0x21bc7f=0x1;_0x293517[_0x249026(0x261)](_0x21bc7f,_0x293517[_0x249026(0x1ec)](RETRY_CONFIG[_0x249026(0x1e7)],0x1));_0x21bc7f++){try{logger[_0x249026(0x225)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x21bc7f+'/'+_0x293517[_0x249026(0x1ec)](RETRY_CONFIG[_0x249026(0x1e7)],0x1)+'\x20('+_0x3857ec+')');let _0x1d7b6b;return _0x293517[_0x249026(0x249)](_0x598359,playwrightA11yHelper)?(_0x293517['SBZIy'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x249026(0x268)](_0x3ecb03,RETRY_CONFIG[_0x249026(0x25d)]),_0x1d7b6b=await _0x293517[_0x249026(0x26b)](withTimeout,playwrightA11yHelper[_0x249026(0x281)](_0x3ecb03),RETRY_CONFIG['timeoutMs']),await exports[_0x249026(0x268)](_0x3ecb03,RETRY_CONFIG[_0x249026(0x1c7)])):(await exports[_0x249026(0x25c)](_0x3ecb03,RETRY_CONFIG['timeoutMs']),_0x1d7b6b=await _0x293517[_0x249026(0x28f)](withTimeout,accessibilityHelper[_0x249026(0x281)](_0x3ecb03,_0x5acef9),RETRY_CONFIG[_0x249026(0x25d)]),await exports[_0x249026(0x25c)](_0x3ecb03,RETRY_CONFIG[_0x249026(0x1c7)])),logger[_0x249026(0x257)](_0x249026(0x209)+_0x21bc7f+'\x20('+_0x3857ec+')'),_0x1d7b6b;}catch(_0x22df5b){_0xca8b7e=_0x22df5b,logger[_0x249026(0x236)](_0x249026(0x23f)+_0x21bc7f+_0x249026(0x1f6)+_0x3857ec+_0x249026(0x1bf)+_0x22df5b['message']);}}return logger[_0x249026(0x227)](_0x249026(0x230)+_0x3857ec+').\x20Last\x20error:\x20'+(_0xca8b7e?.[_0x249026(0x21a)]||_0x293517[_0x249026(0x22d)])),[];},exports[a106_0xba7b6(0x222)]=async(_0x1335ec,_0x18a03e)=>{const _0x23fc49=a106_0xba7b6,_0x4885ce={'KRVqh':function(_0x359f9e,_0x157353){return _0x359f9e(_0x157353);},'mZgio':_0x23fc49(0x205),'cBOiT':function(_0x50e026,_0x2237d6){return _0x50e026<=_0x2237d6;},'jNOrC':function(_0xea303c,_0x3da796){return _0xea303c+_0x3da796;},'owmmw':function(_0x52cf24,_0x397105){return _0x52cf24+_0x397105;},'vJdie':function(_0x48b851,_0x327e0b){return _0x48b851&&_0x327e0b;},'jdPmX':function(_0x4a753d,_0x281d75,_0x2afdb5){return _0x4a753d(_0x281d75,_0x2afdb5);},'zjjaR':function(_0x4c2db1,_0x7b12ec,_0x2cbdc1){return _0x4c2db1(_0x7b12ec,_0x2cbdc1);},'UQGKg':function(_0x3c134b,_0x3e9a71,_0x79d8f7){return _0x3c134b(_0x3e9a71,_0x79d8f7);},'VqQfM':'Unknown\x20error'},{isPlaywright:_0x46e3fd,type:_0x1f5893}=_0x4885ce[_0x23fc49(0x26f)](detectDriverType,_0x1335ec),_0x59c066=_0x46e3fd?_0x18a03e[_0x23fc49(0x1e5)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x23fc49(0x263)](_0x4885ce['mZgio']);if(!_0x59c066)return logger[_0x23fc49(0x236)](_0x23fc49(0x26c)+_0x1f5893+_0x23fc49(0x25e)),{};let _0x24f654=null;for(let _0x29e6a6=0x1;_0x4885ce[_0x23fc49(0x24c)](_0x29e6a6,_0x4885ce[_0x23fc49(0x224)](RETRY_CONFIG[_0x23fc49(0x1e7)],0x1));_0x29e6a6++){try{logger['debug'](_0x23fc49(0x1d7)+_0x29e6a6+'/'+_0x4885ce[_0x23fc49(0x272)](RETRY_CONFIG[_0x23fc49(0x1e7)],0x1)+'\x20('+_0x1f5893+')');let _0x577942;return _0x4885ce[_0x23fc49(0x221)](_0x46e3fd,playwrightA11yHelper)?(_0x4885ce[_0x23fc49(0x285)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x23fc49(0x268)](_0x1335ec,RETRY_CONFIG['timeoutMs']),_0x577942=await _0x4885ce[_0x23fc49(0x251)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x1335ec),RETRY_CONFIG[_0x23fc49(0x25d)]),await exports[_0x23fc49(0x268)](_0x1335ec,RETRY_CONFIG[_0x23fc49(0x1c7)])):(await exports[_0x23fc49(0x25c)](_0x1335ec,RETRY_CONFIG[_0x23fc49(0x25d)]),_0x577942=await _0x4885ce['UQGKg'](withTimeout,accessibilityHelper[_0x23fc49(0x23c)](_0x1335ec,_0x18a03e),RETRY_CONFIG['timeoutMs']),await exports[_0x23fc49(0x25c)](_0x1335ec,RETRY_CONFIG[_0x23fc49(0x1c7)])),logger[_0x23fc49(0x257)](_0x23fc49(0x23a)+_0x29e6a6+'\x20('+_0x1f5893+')'),_0x577942;}catch(_0x48f2a4){_0x24f654=_0x48f2a4,logger[_0x23fc49(0x236)](_0x23fc49(0x1d7)+_0x29e6a6+_0x23fc49(0x1f6)+_0x1f5893+_0x23fc49(0x1bf)+_0x48f2a4['message']);}}return logger[_0x23fc49(0x227)](_0x23fc49(0x1f0)+_0x1f5893+_0x23fc49(0x1d3)+(_0x24f654?.[_0x23fc49(0x21a)]||_0x4885ce[_0x23fc49(0x215)])),{};},exports[a106_0xba7b6(0x237)]=async(_0x495a3a,_0x2c18d0,_0x3fea6c=null)=>{const _0x6802db=a106_0xba7b6,_0x34709e={'pEJXx':function(_0x54d0b7,_0x2cad6d){return _0x54d0b7(_0x2cad6d);},'DVZdK':function(_0x511e59,_0x1e367d){return _0x511e59===_0x1e367d;},'mmEOB':_0x6802db(0x1df),'AwyOK':function(_0x2992be,_0x2abd34){return _0x2992be===_0x2abd34;},'IsZpz':function(_0xcf03ab,_0x550402){return _0xcf03ab===_0x550402;},'XtnFp':_0x6802db(0x24f),'bVdhG':_0x6802db(0x1e8)},{isPlaywright:_0x28a7f8,type:_0x232b9d}=_0x34709e[_0x6802db(0x1cc)](detectDriverType,_0x495a3a),_0x2f6e1e={};_0x2f6e1e[_0x6802db(0x27e)]=![],_0x2f6e1e['results']=[],_0x2f6e1e[_0x6802db(0x269)]={},_0x2f6e1e[_0x6802db(0x227)]=null,_0x2f6e1e[_0x6802db(0x280)]=_0x232b9d;const _0xb316c7=_0x2f6e1e;try{_0xb316c7['scanSucceeded']=await exports['performScanWithRetry'](_0x495a3a,_0x3fea6c);if(_0xb316c7[_0x6802db(0x27e)]){const [_0x4c9a24,_0x52de78]=await Promise[_0x6802db(0x279)]([exports[_0x6802db(0x21e)](_0x495a3a,_0x2c18d0),exports[_0x6802db(0x222)](_0x495a3a,_0x2c18d0)]);_0xb316c7[_0x6802db(0x1c5)]=_0x34709e['DVZdK'](_0x4c9a24[_0x6802db(0x207)],_0x34709e[_0x6802db(0x1be)])?_0x4c9a24[_0x6802db(0x235)]:[],_0xb316c7[_0x6802db(0x269)]=_0x34709e[_0x6802db(0x1f2)](_0x52de78[_0x6802db(0x207)],_0x34709e[_0x6802db(0x1be)])?_0x52de78[_0x6802db(0x235)]:{},_0x34709e['IsZpz'](_0x4c9a24['status'],_0x34709e['XtnFp'])&&logger[_0x6802db(0x236)]('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0x232b9d+_0x6802db(0x229)+_0x4c9a24[_0x6802db(0x1c6)]?.[_0x6802db(0x21a)]),_0x34709e[_0x6802db(0x1c4)](_0x52de78[_0x6802db(0x207)],_0x34709e[_0x6802db(0x1dc)])&&logger[_0x6802db(0x236)](_0x6802db(0x201)+_0x232b9d+_0x6802db(0x229)+_0x52de78[_0x6802db(0x1c6)]?.[_0x6802db(0x21a)]);}}catch(_0x240dfe){_0xb316c7['error']=_0x240dfe[_0x6802db(0x21a)]||_0x34709e[_0x6802db(0x231)],logger[_0x6802db(0x227)](_0x6802db(0x28e)+_0x232b9d+_0x6802db(0x229)+_0xb316c7[_0x6802db(0x227)]);}return _0xb316c7;},exports[a106_0xba7b6(0x1f5)]=_0x178eb6=>{const _0x138044=a106_0xba7b6,_0x4c1bff={};_0x4c1bff[_0x138044(0x206)]=function(_0x321467,_0x5964ec){return _0x321467!==_0x5964ec;},_0x4c1bff['yXtHn']=function(_0x5eb4a7,_0x10dcd2){return _0x5eb4a7!==_0x10dcd2;};const _0x1f9750=_0x4c1bff;_0x1f9750[_0x138044(0x206)](_0x178eb6[_0x138044(0x1e7)],undefined)&&(RETRY_CONFIG['maxRetries']=Math[_0x138044(0x1eb)](0x0,_0x178eb6['maxRetries'])),_0x1f9750[_0x138044(0x277)](_0x178eb6[_0x138044(0x25d)],undefined)&&(RETRY_CONFIG[_0x138044(0x25d)]=Math[_0x138044(0x1eb)](0x3e8,_0x178eb6['timeoutMs'])),logger[_0x138044(0x225)](_0x138044(0x1c9)+JSON[_0x138044(0x233)](RETRY_CONFIG));},exports['getRetryConfig']=()=>{const _0x386f91={...RETRY_CONFIG};return _0x386f91;},exports['isPlaywrightPage']=_0x1fe668=>{const _0x35a537=a106_0xba7b6,_0x1ae93f={'JvnJl':function(_0x1365e5,_0xa36863){return _0x1365e5(_0xa36863);}};return _0x1ae93f[_0x35a537(0x1d9)](detectDriverType,_0x1fe668)['isPlaywright'];},exports[a106_0xba7b6(0x282)]=_0x208f63=>{const _0x35799b=a106_0xba7b6,_0x3e3dbe={'tolfe':function(_0x5e5b43,_0x24191f){return _0x5e5b43(_0x24191f);},'vSaSC':function(_0x38cb96,_0x459d42){return _0x38cb96===_0x459d42;},'QcapH':_0x35799b(0x204)},{isPlaywright:_0x1d7937,type:_0x2ea939}=_0x3e3dbe[_0x35799b(0x289)](detectDriverType,_0x208f63);return!_0x1d7937&&_0x3e3dbe['vSaSC'](_0x2ea939,_0x3e3dbe[_0x35799b(0x1c2)]);},exports[a106_0xba7b6(0x268)]=async(_0x762638,_0x373867=null)=>{const _0x140ad8=a106_0xba7b6,_0xa89a25={'LnXCR':function(_0x453721,_0x47967a){return _0x453721(_0x47967a);},'jcgMH':function(_0x31a536,_0x34164f){return _0x31a536===_0x34164f;},'yYocu':_0x140ad8(0x23b)},{isPlaywright:_0x5a70a4,type:_0x3a5f90}=_0xa89a25[_0x140ad8(0x28c)](detectDriverType,_0x762638);if(!_0x5a70a4)return logger['debug'](_0x140ad8(0x1f7)+_0x3a5f90+'\x20-\x20not\x20applicable'),!![];const _0x307b57=_0x373867||RETRY_CONFIG[_0x140ad8(0x1c7)];try{return _0x762638&&_0xa89a25[_0x140ad8(0x1f4)](typeof _0x762638[_0x140ad8(0x1bc)],_0xa89a25[_0x140ad8(0x1e3)])&&(await _0x762638['setDefaultTimeout'](_0x307b57),logger['debug'](_0x140ad8(0x1e4)+_0x307b57+'ms')),!![];}catch(_0x513f1e){return logger[_0x140ad8(0x236)](_0x140ad8(0x1fb)+_0x513f1e['message']),![];}},exports[a106_0xba7b6(0x25c)]=async(_0x39464e,_0x518bf6=null)=>{const _0x209a56=a106_0xba7b6,_0x111960={};_0x111960[_0x209a56(0x1ed)]=_0x209a56(0x276),_0x111960[_0x209a56(0x1ea)]=function(_0x55a2e4,_0x3777e4){return _0x55a2e4===_0x3777e4;},_0x111960[_0x209a56(0x24e)]='function',_0x111960['noxVD']=function(_0x363432,_0x4ac735){return _0x363432===_0x4ac735;},_0x111960['ehHak']=function(_0x36bad6,_0x257e5f){return _0x36bad6===_0x257e5f;},_0x111960['ZgqTD']=function(_0x4ca1b1,_0x941dd8){return _0x4ca1b1===_0x941dd8;},_0x111960[_0x209a56(0x218)]=_0x209a56(0x1cd),_0x111960[_0x209a56(0x28b)]=_0x209a56(0x291);const _0x19ae11=_0x111960;if(!exports[_0x209a56(0x282)](_0x39464e))return logger[_0x209a56(0x236)](_0x19ae11[_0x209a56(0x1ed)]),![];const _0x5d3f12=_0x518bf6||RETRY_CONFIG[_0x209a56(0x1c7)];try{if(_0x39464e&&_0x19ae11['tXSSU'](typeof _0x39464e[_0x209a56(0x1e9)],_0x19ae11[_0x209a56(0x24e)])){const _0x1b9973=_0x39464e[_0x209a56(0x1e9)]();if(_0x1b9973&&_0x19ae11[_0x209a56(0x275)](typeof _0x1b9973['timeouts'],_0x19ae11[_0x209a56(0x24e)]))await _0x1b9973[_0x209a56(0x1dd)]()['setScriptTimeout'](_0x5d3f12),logger[_0x209a56(0x225)](_0x209a56(0x228)+_0x5d3f12+'ms\x20using\x20timeouts()\x20API');else{if(_0x1b9973&&_0x19ae11['ehHak'](typeof _0x1b9973[_0x209a56(0x24d)],_0x19ae11['bFEhK'])){const _0x465cf7={};_0x465cf7[_0x209a56(0x232)]=_0x5d3f12,await _0x1b9973['setTimeouts'](_0x465cf7),logger[_0x209a56(0x225)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x5d3f12+_0x209a56(0x20a));}else{if(_0x1b9973&&_0x19ae11[_0x209a56(0x1ef)](typeof _0x1b9973[_0x209a56(0x212)],_0x19ae11['bFEhK']))await _0x1b9973['setScriptTimeout'](_0x5d3f12),logger['debug'](_0x209a56(0x228)+_0x5d3f12+_0x209a56(0x1fa));else return logger[_0x209a56(0x225)](_0x19ae11['nhOBG']),!![];}}}else return logger['debug'](_0x19ae11[_0x209a56(0x28b)]),!![];return!![];}catch(_0x2edd51){return logger['warn']('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x2edd51[_0x209a56(0x21a)]),![];}},exports[a106_0xba7b6(0x242)]=async(_0x55d365,_0x12926c)=>{const _0x365fa0=a106_0xba7b6,_0x237912={'ROFuw':function(_0xe3848b,_0x55af00){return _0xe3848b(_0x55af00);},'wTiwO':_0x365fa0(0x205),'xCzdf':function(_0x5cb449,_0x2e081a){return _0x5cb449<=_0x2e081a;},'dafRK':function(_0x43382b,_0x14ae43){return _0x43382b+_0x14ae43;},'zTZDa':function(_0x4c070b,_0x40e715){return _0x4c070b&&_0x40e715;},'tsSGu':function(_0x217fd9,_0x5ce554,_0x213c23){return _0x217fd9(_0x5ce554,_0x213c23);},'demaN':function(_0x4cd406,_0x3f508f,_0x3168ea){return _0x4cd406(_0x3f508f,_0x3168ea);},'TFXmw':_0x365fa0(0x290),'ULUeI':'Unknown\x20error'},{isPlaywright:_0x5d2a5a,type:_0x28191e}=_0x237912[_0x365fa0(0x219)](detectDriverType,_0x55d365),_0x161efd=_0x5d2a5a?global[_0x365fa0(0x1e5)]:accessibilityHelper[_0x365fa0(0x21d)]()&&globals[_0x365fa0(0x263)](_0x237912[_0x365fa0(0x20c)]);if(!_0x161efd)return logger[_0x365fa0(0x236)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x28191e+_0x365fa0(0x1e2)),![];let _0x4d3b7f=null;for(let _0x543789=0x1;_0x237912['xCzdf'](_0x543789,_0x237912['dafRK'](RETRY_CONFIG[_0x365fa0(0x1e7)],0x1));_0x543789++){try{logger['debug'](_0x365fa0(0x27a)+_0x543789+'/'+_0x237912[_0x365fa0(0x1ff)](RETRY_CONFIG[_0x365fa0(0x1e7)],0x1)+'\x20('+_0x28191e+')');if(_0x237912['zTZDa'](_0x5d2a5a,playwrightA11yHelper)){_0x237912[_0x365fa0(0x27d)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x365fa0(0x268)](_0x55d365,RETRY_CONFIG['timeoutMs']);const _0x2cd13f={};_0x2cd13f[_0x365fa0(0x256)]=!![];const _0x234596=global[_0x365fa0(0x290)]?Object[_0x365fa0(0x1c1)]({},_0x12926c,_0x2cd13f):_0x12926c;await _0x237912['demaN'](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x55d365,scripts[_0x365fa0(0x21b)],_0x234596),RETRY_CONFIG[_0x365fa0(0x25d)]),await exports[_0x365fa0(0x268)](_0x55d365,RETRY_CONFIG[_0x365fa0(0x1c7)]);}else{await exports['setSeleniumScriptTimeout'](_0x55d365,RETRY_CONFIG[_0x365fa0(0x25d)]);const _0x216dd7={};_0x216dd7[_0x365fa0(0x256)]=!![];const _0x45ff88=globals[_0x365fa0(0x263)](_0x237912[_0x365fa0(0x1e1)])?Object['assign']({},_0x12926c,_0x216dd7):_0x12926c;await _0x237912['tsSGu'](withTimeout,_0x55d365[_0x365fa0(0x1fd)](scripts[_0x365fa0(0x21b)],_0x45ff88),RETRY_CONFIG['timeoutMs']),await exports[_0x365fa0(0x25c)](_0x55d365,RETRY_CONFIG[_0x365fa0(0x1c7)]);}return logger[_0x365fa0(0x257)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x543789+'\x20('+_0x28191e+')'),!![];}catch(_0x26a375){_0x4d3b7f=_0x26a375,logger['warn']('Accessibility\x20results\x20save\x20attempt\x20'+_0x543789+_0x365fa0(0x1f6)+_0x28191e+').\x20Error:\x20'+_0x26a375[_0x365fa0(0x21a)]);}}return logger['error'](_0x365fa0(0x1cb)+_0x28191e+_0x365fa0(0x1d3)+(_0x4d3b7f?.[_0x365fa0(0x21a)]||_0x237912[_0x365fa0(0x283)])),![];};
|
|
1
|
+
function a106_0x5818(){const _0x5df144=['manage','capabilitiesList','getAccessibilityResults','Accessibility\x20retry\x20configuration\x20updated:\x20','Accessibility\x20results\x20save\x20attempt\x20','Accessibility\x20results\x20retrieval\x20attempt\x20','rejected','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','__workerDetails','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','CFrWB','script','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','options','isAccessibilityAutomationSession','\x20completed\x20successfully.','status','tshrw','scannerProcessingTimeout','setPlaywrightScriptTimeout','getInstance','vJDJY','env','performComprehensiveAccessibilityScanWithRetry','\x20for\x20method:\x20','10rLmXKm','7TicbXj','performScanWithRetry','isMobilePlatform','winstonLogger','results','HPNIS','HFqwp','HILyQ','aJWTo','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','bstackA11yScanOptions','../performance/constants','cGmtn','wTfZC','isPlaywrightPage','smqyh','EwYKn','performScan','getAccessibilityModule','yNcXm','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','is_mobile_session','goto','setScriptTimeout','scanSucceeded','33hmdNOD','unknown','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','waiWB','getGlobal','Issch','dUSql','cDibG','setSeleniumScriptTimeout','isRunning','8585510rRnMTV','timeouts','WeZmg','getSession','GyMwX','\x20-\x20not\x20applicable','fvoqx','maxRetries','613574xjtRPt','ms\x20using\x20timeouts()\x20API','OSCkj','GIrWP','63EwYIkU','PERFORM_SCAN','../logger','rEfdz','Jjmyg','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','hizCw','updateRetryConfig','url','./helper','gCwez','isAccessibilityPlatform','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','browserStackEvaluate','kgUjJ','measureWrapper','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','ansFz','saveAccessibilityResultsWithRetry','page','getCurrentUrl','JvSKH','value','Accessibility\x20scan\x20attempt\x20','isPlaywright','nxtXk','bstackA11yShouldScan','util','pVqHI','vZowp','Unknown\x20error','VztXu','):\x20','Wmllc','vYomI','error','uBPRr','setDefaultTimeout','warn','sRjyJ','../../bin/playwright/accessibility-helper','evaluate','dBxvp','VNwVp','rIOlN','HCbro','NYQVj','Playwright','executeAsyncScript','NHCND','tfBIX','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','7882592XoradH','kDCDf','debug','Unknown\x20driver/page\x20type:\x20','106440fLSWit',').\x20Last\x20error:\x20','bUKik','max','saveTestResults','qHCEm','nFNxV','tzIsd','unknown_method','AGCJD','driverType','stringify','LFMsE','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','getRetryConfig',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','pOrxN','function','iyGXR','playwright-codecept-driver','ms\x20using\x20setTimeouts\x20API','message','UVCnp','ljVRZ','oWJAo','summary','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','2918676Ernfeo','MitFm','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','pJKBm',').\x20Error:\x20','882495QEylcj','wPYnP','setTimeouts','HRuPG','isSeleniumDriver','crPDO','timeoutMs','playwright-page','mVMQO','dZUAa','YPhKO','NeUSK','dWCIC','VRcXa','tdCHg','DsTXo','RtCFp','getAccessibilityResultsSummaryWithRetry','NVNAz','info','assign','GTPQB','../globals','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','../performance/performance-tester','Scan\x20attempt\x20','UhjZc','BziyV','name','3745782BvSMab','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','type','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','constructor','BTmrx','ggtDe','race','\x20failed\x20(','getAccessibilityResultsSummary','defaultTimeoutMs','accessibilityPlatform'];a106_0x5818=function(){return _0x5df144;};return a106_0x5818();}const a106_0x3d7789=a106_0x5908;(function(_0x4fba06,_0x5d2140){const _0x1c7bfd=a106_0x5908,_0x3dc64b=_0x4fba06();while(!![]){try{const _0xd3800b=-parseInt(_0x1c7bfd(0x1b1))/0x1+-parseInt(_0x1c7bfd(0x1ed))/0x2*(-parseInt(_0x1c7bfd(0x1b5))/0x3)+parseInt(_0x1c7bfd(0x209))/0x4+parseInt(_0x1c7bfd(0x253))/0x5*(parseInt(_0x1c7bfd(0x22c))/0x6)+parseInt(_0x1c7bfd(0x254))/0x7*(parseInt(_0x1c7bfd(0x1e9))/0x8)+parseInt(_0x1c7bfd(0x20e))/0x9+-parseInt(_0x1c7bfd(0x1a9))/0xa*(parseInt(_0x1c7bfd(0x26d))/0xb);if(_0xd3800b===_0x5d2140)break;else _0x3dc64b['push'](_0x3dc64b['shift']());}catch(_0x172129){_0x3dc64b['push'](_0x3dc64b['shift']());}}}(a106_0x5818,0xf1b53));const util=require(a106_0x3d7789(0x1d0)),logger=require(a106_0x3d7789(0x1b7))[a106_0x3d7789(0x257)],accessibilityHelper=require(a106_0x3d7789(0x1be)),globals=require(a106_0x3d7789(0x224)),scripts=require('./scripts'),PerformanceTester=require(a106_0x3d7789(0x227)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a106_0x3d7789(0x25f)),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a106_0x3d7789(0x1dd));}catch(a106_0x412553){logger[a106_0x3d7789(0x1eb)]('Playwright\x20accessibility\x20helper\x20not\x20available');}const a106_0x571512={};a106_0x571512['maxRetries']=0x1,a106_0x571512[a106_0x3d7789(0x214)]=0x7530,a106_0x571512[a106_0x3d7789(0x237)]=0x7530;const RETRY_CONFIG=a106_0x571512,setConfigTimeout=(_0x31bb0b,_0x29f091=null)=>{const _0x3ec25a=a106_0x3d7789,_0x317e42={'dZUAa':function(_0x34bad2,_0x3f5e75){return _0x34bad2===_0x3f5e75;},'gCwez':_0x3ec25a(0x24c),'aJWTo':function(_0x47f41c,_0x140f83){return _0x47f41c*_0x140f83;},'pJKBm':function(_0x2fcd6e,_0x3b5248){return _0x2fcd6e(_0x3b5248);}};if(BrowserstackCLI[_0x3ec25a(0x24e)]()[_0x3ec25a(0x1a8)]()&&BrowserstackCLI[_0x3ec25a(0x24e)]()['getAccessibilityModule']()){const _0x111c84=BrowserstackCLI[_0x3ec25a(0x24e)]()[_0x3ec25a(0x266)]()['accessibilityConfig'],_0x30ebe9=_0x111c84[_0x3ec25a(0x247)][_0x3ec25a(0x23a)]||[];for(const _0x17d58d of _0x30ebe9){_0x317e42[_0x3ec25a(0x217)](_0x17d58d[_0x3ec25a(0x22b)],_0x317e42[_0x3ec25a(0x1bf)])&&_0x317e42[_0x3ec25a(0x217)](_0x29f091,null)&&(_0x31bb0b[_0x3ec25a(0x214)]=_0x317e42[_0x3ec25a(0x25c)](_0x317e42[_0x3ec25a(0x20c)](parseInt,_0x17d58d['value']),0x3e8));}}else process[_0x3ec25a(0x250)][_0x3ec25a(0x25d)]&&(_0x31bb0b[_0x3ec25a(0x214)]=_0x317e42[_0x3ec25a(0x25c)](_0x317e42['pJKBm'](parseInt,process['env'][_0x3ec25a(0x25d)]),0x3e8));},detectDriverType=_0x597efe=>{const _0x21fa82=a106_0x3d7789,_0x3c4825={};_0x3c4825[_0x21fa82(0x1df)]=_0x21fa82(0x26e),_0x3c4825['rIOlN']=function(_0x2e18ef,_0x379b10){return _0x2e18ef===_0x379b10;},_0x3c4825[_0x21fa82(0x213)]=_0x21fa82(0x1fe),_0x3c4825['uBPRr']=function(_0x2b8735,_0x5ab3f5){return _0x2b8735===_0x5ab3f5;},_0x3c4825[_0x21fa82(0x1bb)]=function(_0xc89b58,_0x874fbc){return _0xc89b58===_0x874fbc;},_0x3c4825[_0x21fa82(0x1d1)]=_0x21fa82(0x215),_0x3c4825['BTmrx']=function(_0x2ea3c4,_0x2c96f7){return _0x2ea3c4===_0x2c96f7;},_0x3c4825[_0x21fa82(0x25b)]=function(_0x4bc084,_0x383e82){return _0x4bc084===_0x383e82;},_0x3c4825[_0x21fa82(0x1ea)]='selenium-webdriver',_0x3c4825[_0x21fa82(0x1ff)]='Page',_0x3c4825[_0x21fa82(0x229)]='WebDriver',_0x3c4825['smqyh']=_0x21fa82(0x1e4),_0x3c4825[_0x21fa82(0x24b)]=_0x21fa82(0x200),_0x3c4825[_0x21fa82(0x1ad)]=function(_0x3aada8,_0x1d2efd){return _0x3aada8||_0x1d2efd;},_0x3c4825['UdRoc']='undefined';const _0x127c89=_0x3c4825;if(!_0x597efe){const _0x2545fd={};return _0x2545fd[_0x21fa82(0x1cd)]=![],_0x2545fd[_0x21fa82(0x22f)]=_0x127c89[_0x21fa82(0x1df)],_0x2545fd;}if(_0x127c89[_0x21fa82(0x1e1)](typeof _0x597efe[_0x21fa82(0x1de)],_0x127c89[_0x21fa82(0x213)])&&_0x127c89[_0x21fa82(0x1d9)](typeof _0x597efe['url'],_0x127c89[_0x21fa82(0x213)])&&_0x127c89[_0x21fa82(0x1bb)](typeof _0x597efe[_0x21fa82(0x26a)],_0x127c89[_0x21fa82(0x213)])){const _0x596d8e={};return _0x596d8e[_0x21fa82(0x1cd)]=!![],_0x596d8e['type']=_0x127c89[_0x21fa82(0x1d1)],_0x596d8e;}if(_0x127c89[_0x21fa82(0x232)](typeof _0x597efe[_0x21fa82(0x1e5)],_0x127c89[_0x21fa82(0x213)])&&_0x127c89['HILyQ'](typeof _0x597efe['getCapabilities'],_0x127c89['crPDO'])){const _0x3d5e6b={};return _0x3d5e6b[_0x21fa82(0x1cd)]=![],_0x3d5e6b[_0x21fa82(0x22f)]=_0x127c89[_0x21fa82(0x1ea)],_0x3d5e6b;}const _0x4228fb=_0x597efe[_0x21fa82(0x231)]?.[_0x21fa82(0x22b)];if(_0x127c89[_0x21fa82(0x1d9)](_0x4228fb,_0x127c89[_0x21fa82(0x1ff)])){const _0x195a34={};return _0x195a34[_0x21fa82(0x1cd)]=!![],_0x195a34[_0x21fa82(0x22f)]=_0x127c89[_0x21fa82(0x1d1)],_0x195a34;}if(_0x127c89['uBPRr'](_0x4228fb,_0x127c89[_0x21fa82(0x229)])){const _0x2e9ebe={};return _0x2e9ebe[_0x21fa82(0x1cd)]=![],_0x2e9ebe[_0x21fa82(0x22f)]=_0x127c89[_0x21fa82(0x1ea)],_0x2e9ebe;}if(_0x127c89[_0x21fa82(0x232)](_0x4228fb,_0x127c89[_0x21fa82(0x263)])){const _0x2f099a={};return _0x2f099a[_0x21fa82(0x1cd)]=!![],_0x2f099a[_0x21fa82(0x22f)]=_0x127c89[_0x21fa82(0x24b)],_0x2f099a;}logger[_0x21fa82(0x1db)](_0x21fa82(0x1ec)+_0x127c89['GyMwX'](_0x4228fb,_0x127c89['UdRoc']));const _0x429d00={};return _0x429d00[_0x21fa82(0x1cd)]=![],_0x429d00[_0x21fa82(0x22f)]=_0x127c89[_0x21fa82(0x1df)],_0x429d00;},withTimeout=(_0x3ad882,_0xc758ac)=>{const _0x5d961b=a106_0x3d7789;return Promise[_0x5d961b(0x234)]([_0x3ad882,new Promise((_0x196326,_0x1db6d7)=>setTimeout(()=>_0x1db6d7(new Error('Operation\x20timed\x20out\x20after\x20'+_0xc758ac+'ms')),_0xc758ac))]);};function a106_0x5908(_0x4374d8,_0x188fae){const _0x581891=a106_0x5818();return a106_0x5908=function(_0x5908a9,_0x35fde8){_0x5908a9=_0x5908a9-0x1a4;let _0x2a5565=_0x581891[_0x5908a9];return _0x2a5565;},a106_0x5908(_0x4374d8,_0x188fae);}exports['performScanWithRetry']=async(_0x4d69c1,_0x58d918=null,_0x3ce6d7=null,_0x2b9595=![],_0x41afcb=null)=>{const _0x392afa=a106_0x3d7789,_0x336f33={'Wmllc':function(_0x81602,_0x20cbe5){return _0x81602&&_0x20cbe5;},'mVMQO':function(_0x13169e,_0x1548c1,_0x2957a0){return _0x13169e(_0x1548c1,_0x2957a0);},'tfBIX':function(_0x4a5226,_0x1eb453){return _0x4a5226===_0x1eb453;},'RtCFp':'playwright-codecept-driver','ggtDe':function(_0x8ca9e2,_0x5b868b){return _0x8ca9e2(_0x5b868b);},'nFNxV':function(_0xa3f01,_0x31c969){return _0xa3f01||_0x31c969;},'vYomI':function(_0x504be2,_0x36746d){return _0x504be2!==_0x36746d;},'LFMsE':_0x392afa(0x1c0),'NeUSK':function(_0x185086,_0x39a211){return _0x185086!==_0x39a211;},'bUKik':_0x392afa(0x1cf),'HFqwp':function(_0x5e2806,_0x4fbc46){return _0x5e2806===_0x4fbc46;},'VztXu':_0x392afa(0x268),'UrZgC':_0x392afa(0x1f5),'tzIsd':_0x392afa(0x1fe),'VNnrd':function(_0x3b5ac0,_0x387e20){return _0x3b5ac0===_0x387e20;},'oWJAo':function(_0x986b78,_0x34b673){return _0x986b78<=_0x34b673;},'GbNst':function(_0x2fda08,_0x6e5563){return _0x2fda08+_0x6e5563;},'waiWB':function(_0x56b921,_0x463de7){return _0x56b921+_0x463de7;},'Jjmyg':_0x392afa(0x1d3)},{isPlaywright:_0x37a0a1,type:_0xe8de49}=_0x336f33[_0x392afa(0x233)](detectDriverType,_0x4d69c1),_0x599a81=_0x2b9595?_0x336f33[_0x392afa(0x1f3)](_0x41afcb,{}):global[_0x392afa(0x25e)]||{},_0x4c5bbe=_0x37a0a1?global[_0x392afa(0x238)]&&(_0x2b9595||_0x336f33[_0x392afa(0x1d7)](global['bstackA11yShouldScan'],![])):accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x336f33[_0x392afa(0x1f9)])&&(_0x2b9595||_0x336f33[_0x392afa(0x219)](globals[_0x392afa(0x272)](_0x336f33[_0x392afa(0x1ef)]),![]));if(!_0x4c5bbe)return _0x37a0a1&&global['accessibilityPlatform']&&_0x336f33[_0x392afa(0x25a)](global[_0x392afa(0x1cf)],![])||!_0x37a0a1&&globals[_0x392afa(0x272)](_0x336f33[_0x392afa(0x1f9)])&&_0x336f33['HFqwp'](globals[_0x392afa(0x272)](_0x336f33[_0x392afa(0x1ef)]),![])?logger[_0x392afa(0x1eb)](_0x336f33[_0x392afa(0x1d4)]):logger[_0x392afa(0x1db)](_0x392afa(0x226)+_0xe8de49+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x422776=_0x58d918||global['browserstackSessionName']||_0x336f33['UrZgC'];let _0x136bc2=null;const _0xdb05f7={'testhub_btcer_uuid':global[_0x392afa(0x242)]?.['currentTest']?.['id'],'url':_0x336f33[_0x392afa(0x25a)](typeof _0x4d69c1[_0x392afa(0x1bd)],_0x336f33['tzIsd'])?await _0x4d69c1[_0x392afa(0x1bd)]():_0x336f33[_0x392afa(0x25a)](typeof _0x4d69c1['getCurrentUrl'],_0x336f33[_0x392afa(0x1f4)])?await _0x4d69c1[_0x392afa(0x1c9)]():'','automate_session_id':_0x336f33['VNnrd'](typeof _0x4d69c1['getSession'],_0x336f33[_0x392afa(0x1f4)])?(await _0x4d69c1[_0x392afa(0x1ac)]())['getId']():''};for(let _0x42f39b=0x1;_0x336f33[_0x392afa(0x205)](_0x42f39b,_0x336f33['GbNst'](RETRY_CONFIG[_0x392afa(0x1b0)],0x1));_0x42f39b++){try{return logger[_0x392afa(0x1eb)](_0x392afa(0x1cc)+_0x42f39b+'/'+_0x336f33[_0x392afa(0x271)](RETRY_CONFIG[_0x392afa(0x1b0)],0x1)+_0x392afa(0x252)+_0x422776+'\x20('+_0xe8de49+')'),await PerformanceTester[_0x392afa(0x1c4)](PerformanceA11yEvents[_0x392afa(0x1b6)],async()=>{const _0x11e2e3=_0x392afa;let _0x331c61;if(_0x336f33[_0x11e2e3(0x1d6)](_0x37a0a1,playwrightA11yHelper)){_0x336f33['mVMQO'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x4d69c1,RETRY_CONFIG[_0x11e2e3(0x214)]);let _0x1e125f=_0x4d69c1;_0x336f33[_0x11e2e3(0x1e7)](_0xe8de49,_0x336f33[_0x11e2e3(0x21e)])&&(_0x1e125f=_0x4d69c1[_0x11e2e3(0x1c8)]);const _0x2ed250=global[_0x11e2e3(0x256)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper['resolveMobileThTestRunUuid']()}:{};_0x331c61=await _0x336f33[_0x11e2e3(0x216)](withTimeout,playwrightA11yHelper[_0x11e2e3(0x265)](_0x1e125f,_0x422776,_0x599a81,_0x2ed250),RETRY_CONFIG[_0x11e2e3(0x214)]),await exports[_0x11e2e3(0x24d)](_0x4d69c1,RETRY_CONFIG[_0x11e2e3(0x237)]);}else await exports[_0x11e2e3(0x1a7)](_0x4d69c1,RETRY_CONFIG[_0x11e2e3(0x214)]),_0x331c61=await _0x336f33[_0x11e2e3(0x216)](withTimeout,accessibilityHelper[_0x11e2e3(0x265)](_0x4d69c1,_0x422776,_0x2b9595,_0x599a81),RETRY_CONFIG[_0x11e2e3(0x214)]),await exports['setSeleniumScriptTimeout'](_0x4d69c1,RETRY_CONFIG['defaultTimeoutMs']);logger[_0x11e2e3(0x1eb)](_0x11e2e3(0x228)+_0x42f39b+_0x11e2e3(0x249));},{'command':_0x422776,..._0xdb05f7})(),logger['info'](_0x392afa(0x243)+_0x42f39b+'.'),!![];}catch(_0x3ec2f7){_0x136bc2=_0x3ec2f7,logger[_0x392afa(0x1eb)]('Accessibility\x20scan\x20attempt\x20'+_0x42f39b+'\x20failed\x20for\x20method:\x20'+_0x422776+'\x20('+_0xe8de49+_0x392afa(0x20d)+_0x3ec2f7[_0x392afa(0x202)]);}}return logger['error'](_0x392afa(0x22e)+_0x422776+'\x20('+_0xe8de49+')\x20with\x20error:\x20'+(_0x136bc2?.['message']||_0x336f33[_0x392afa(0x1b9)])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x3f4392,_0x3d48f3)=>{const _0x3fbf78=a106_0x3d7789,_0xd7f532={'tUijR':function(_0x28f6f6,_0x580255){return _0x28f6f6(_0x580255);},'nxtXk':_0x3fbf78(0x1c0),'pOrxN':function(_0x26825f,_0x191d7c){return _0x26825f<=_0x191d7c;},'poquP':function(_0x44f1da,_0x303f40){return _0x44f1da+_0x303f40;},'ansFz':function(_0x47a898,_0x5f2ab0){return _0x47a898+_0x5f2ab0;},'VRcXa':function(_0x3de194,_0x1d9e2b){return _0x3de194&&_0x1d9e2b;},'NYQVj':function(_0x202ed0,_0x2454c2,_0x475240){return _0x202ed0(_0x2454c2,_0x475240);},'dWCIC':function(_0x46f6cf,_0x58243f,_0x50d4e9){return _0x46f6cf(_0x58243f,_0x50d4e9);},'UVCnp':_0x3fbf78(0x1d3)},{isPlaywright:_0x2e60dd,type:_0x28a6d7}=_0xd7f532['tUijR'](detectDriverType,_0x3f4392),_0x5b85ec=_0x2e60dd?_0x3d48f3[_0x3fbf78(0x238)]:accessibilityHelper[_0x3fbf78(0x248)]()&&globals[_0x3fbf78(0x272)](_0xd7f532[_0x3fbf78(0x1ce)]);if(!_0x5b85ec)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x28a6d7+_0x3fbf78(0x1fc)),[];let _0x5099bb=null;for(let _0x26e8dc=0x1;_0xd7f532[_0x3fbf78(0x1fd)](_0x26e8dc,_0xd7f532['poquP'](RETRY_CONFIG[_0x3fbf78(0x1b0)],0x1));_0x26e8dc++){try{logger[_0x3fbf78(0x1eb)](_0x3fbf78(0x23e)+_0x26e8dc+'/'+_0xd7f532[_0x3fbf78(0x1c6)](RETRY_CONFIG[_0x3fbf78(0x1b0)],0x1)+'\x20('+_0x28a6d7+')');let _0x7d7a27;return _0xd7f532[_0x3fbf78(0x21b)](_0x2e60dd,playwrightA11yHelper)?(_0xd7f532[_0x3fbf78(0x1e3)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x3f4392,RETRY_CONFIG[_0x3fbf78(0x214)]),_0x7d7a27=await _0xd7f532[_0x3fbf78(0x1e3)](withTimeout,playwrightA11yHelper[_0x3fbf78(0x23b)](_0x3f4392),RETRY_CONFIG[_0x3fbf78(0x214)]),await exports['setPlaywrightScriptTimeout'](_0x3f4392,RETRY_CONFIG[_0x3fbf78(0x237)])):(await exports[_0x3fbf78(0x1a7)](_0x3f4392,RETRY_CONFIG[_0x3fbf78(0x214)]),_0x7d7a27=await _0xd7f532[_0x3fbf78(0x21a)](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x3f4392,_0x3d48f3),RETRY_CONFIG['timeoutMs']),await exports[_0x3fbf78(0x1a7)](_0x3f4392,RETRY_CONFIG[_0x3fbf78(0x237)])),logger[_0x3fbf78(0x221)]('Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x26e8dc+'\x20('+_0x28a6d7+')'),_0x7d7a27;}catch(_0x45f355){_0x5099bb=_0x45f355,logger['warn']('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x26e8dc+_0x3fbf78(0x235)+_0x28a6d7+').\x20Error:\x20'+_0x45f355['message']);}}return logger['error'](_0x3fbf78(0x225)+_0x28a6d7+_0x3fbf78(0x1ee)+(_0x5099bb?.[_0x3fbf78(0x202)]||_0xd7f532[_0x3fbf78(0x203)])),[];},exports[a106_0x3d7789(0x21f)]=async(_0x226a4e,_0x111664)=>{const _0xe7e020=a106_0x3d7789,_0x1391d3={'JvSKH':function(_0x35b74d,_0x2b6edb){return _0x35b74d(_0x2b6edb);},'tdCHg':_0xe7e020(0x1c0),'cGmtn':function(_0x1c37c9,_0x1c0ca3){return _0x1c37c9<=_0x1c0ca3;},'MitFm':function(_0xc512e7,_0x5afa5f){return _0xc512e7+_0x5afa5f;},'qHCEm':function(_0x2ab911,_0x4db4c0){return _0x2ab911&&_0x4db4c0;},'dUSql':function(_0x300c5e,_0x48201d,_0x4e5641){return _0x300c5e(_0x48201d,_0x4e5641);},'NVNAz':function(_0x55208b,_0x5cccc9,_0x5d3004){return _0x55208b(_0x5cccc9,_0x5d3004);},'DsTXo':_0xe7e020(0x1d3)},{isPlaywright:_0x4efca0,type:_0x270e43}=_0x1391d3[_0xe7e020(0x1ca)](detectDriverType,_0x226a4e),_0x226ec3=_0x4efca0?_0x111664[_0xe7e020(0x238)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0xe7e020(0x272)](_0x1391d3[_0xe7e020(0x21c)]);if(!_0x226ec3)return logger['warn'](_0xe7e020(0x226)+_0x270e43+_0xe7e020(0x241)),{};let _0x3de600=null;for(let _0xa38805=0x1;_0x1391d3[_0xe7e020(0x260)](_0xa38805,_0x1391d3[_0xe7e020(0x20a)](RETRY_CONFIG['maxRetries'],0x1));_0xa38805++){try{logger[_0xe7e020(0x1eb)](_0xe7e020(0x230)+_0xa38805+'/'+_0x1391d3[_0xe7e020(0x20a)](RETRY_CONFIG[_0xe7e020(0x1b0)],0x1)+'\x20('+_0x270e43+')');let _0x18e7cd;return _0x1391d3[_0xe7e020(0x1f2)](_0x4efca0,playwrightA11yHelper)?(_0x1391d3[_0xe7e020(0x1a5)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x226a4e,RETRY_CONFIG['timeoutMs']),_0x18e7cd=await _0x1391d3['dUSql'](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x226a4e),RETRY_CONFIG[_0xe7e020(0x214)]),await exports[_0xe7e020(0x24d)](_0x226a4e,RETRY_CONFIG[_0xe7e020(0x237)])):(await exports[_0xe7e020(0x1a7)](_0x226a4e,RETRY_CONFIG[_0xe7e020(0x214)]),_0x18e7cd=await _0x1391d3[_0xe7e020(0x220)](withTimeout,accessibilityHelper[_0xe7e020(0x236)](_0x226a4e,_0x111664),RETRY_CONFIG[_0xe7e020(0x214)]),await exports[_0xe7e020(0x1a7)](_0x226a4e,RETRY_CONFIG[_0xe7e020(0x237)])),logger[_0xe7e020(0x221)](_0xe7e020(0x22d)+_0xa38805+'\x20('+_0x270e43+')'),_0x18e7cd;}catch(_0x52571e){_0x3de600=_0x52571e,logger[_0xe7e020(0x1db)](_0xe7e020(0x230)+_0xa38805+'\x20failed\x20('+_0x270e43+_0xe7e020(0x20d)+_0x52571e[_0xe7e020(0x202)]);}}return logger[_0xe7e020(0x1d8)]('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x270e43+').\x20Last\x20error:\x20'+(_0x3de600?.['message']||_0x1391d3[_0xe7e020(0x21d)])),{};},exports[a106_0x3d7789(0x251)]=async(_0x1f7484,_0x324d7e,_0x561f4c=null)=>{const _0x32e346=a106_0x3d7789,_0x5e56f1={'yNcXm':function(_0x4b763f,_0x381682){return _0x4b763f(_0x381682);},'rEfdz':function(_0x1c5f8d,_0x1a0f00){return _0x1c5f8d===_0x1a0f00;},'vJDJY':'fulfilled','rITpt':function(_0x4e0682,_0x44b5ca){return _0x4e0682===_0x44b5ca;},'lavEb':function(_0x46fe0c,_0x2e7b0f){return _0x46fe0c===_0x2e7b0f;},'vZowp':_0x32e346(0x23f),'NHCND':function(_0x1e45c2,_0x163556){return _0x1e45c2===_0x163556;},'BJHhI':_0x32e346(0x1ba)},{isPlaywright:_0x2501c8,type:_0x3ab2e2}=_0x5e56f1[_0x32e346(0x267)](detectDriverType,_0x1f7484),_0x5c43d9={};_0x5c43d9[_0x32e346(0x26c)]=![],_0x5c43d9[_0x32e346(0x258)]=[],_0x5c43d9[_0x32e346(0x206)]={},_0x5c43d9['error']=null,_0x5c43d9[_0x32e346(0x1f7)]=_0x3ab2e2;const _0x199d43=_0x5c43d9;try{_0x199d43[_0x32e346(0x26c)]=await exports[_0x32e346(0x255)](_0x1f7484,_0x561f4c);if(_0x199d43[_0x32e346(0x26c)]){const [_0x217828,_0x4df66b]=await Promise['allSettled']([exports['getAccessibilityResultsWithRetry'](_0x1f7484,_0x324d7e),exports[_0x32e346(0x21f)](_0x1f7484,_0x324d7e)]);_0x199d43[_0x32e346(0x258)]=_0x5e56f1[_0x32e346(0x1b8)](_0x217828[_0x32e346(0x24a)],_0x5e56f1[_0x32e346(0x24f)])?_0x217828[_0x32e346(0x1cb)]:[],_0x199d43[_0x32e346(0x206)]=_0x5e56f1['rITpt'](_0x4df66b[_0x32e346(0x24a)],_0x5e56f1[_0x32e346(0x24f)])?_0x4df66b[_0x32e346(0x1cb)]:{},_0x5e56f1['lavEb'](_0x217828[_0x32e346(0x24a)],_0x5e56f1['vZowp'])&&logger['warn'](_0x32e346(0x26f)+_0x3ab2e2+_0x32e346(0x1d5)+_0x217828['reason']?.[_0x32e346(0x202)]),_0x5e56f1[_0x32e346(0x1e6)](_0x4df66b[_0x32e346(0x24a)],_0x5e56f1[_0x32e346(0x1d2)])&&logger[_0x32e346(0x1db)](_0x32e346(0x1c5)+_0x3ab2e2+_0x32e346(0x1d5)+_0x4df66b['reason']?.['message']);}}catch(_0x49ca95){_0x199d43[_0x32e346(0x1d8)]=_0x49ca95[_0x32e346(0x202)]||_0x5e56f1['BJHhI'],logger[_0x32e346(0x1d8)]('Comprehensive\x20accessibility\x20scan\x20failed\x20('+_0x3ab2e2+'):\x20'+_0x199d43['error']);}return _0x199d43;},exports[a106_0x3d7789(0x1bc)]=_0x195dd6=>{const _0x513753=a106_0x3d7789,_0x3094ed={};_0x3094ed[_0x513753(0x1af)]=function(_0x1625ef,_0x34ac1e){return _0x1625ef!==_0x34ac1e;};const _0x377e1b=_0x3094ed;_0x377e1b['fvoqx'](_0x195dd6[_0x513753(0x1b0)],undefined)&&(RETRY_CONFIG[_0x513753(0x1b0)]=Math[_0x513753(0x1f0)](0x0,_0x195dd6['maxRetries'])),_0x377e1b[_0x513753(0x1af)](_0x195dd6[_0x513753(0x214)],undefined)&&(RETRY_CONFIG[_0x513753(0x214)]=Math[_0x513753(0x1f0)](0x3e8,_0x195dd6[_0x513753(0x214)])),logger[_0x513753(0x1eb)](_0x513753(0x23c)+JSON[_0x513753(0x1f8)](RETRY_CONFIG));},exports[a106_0x3d7789(0x1fb)]=()=>{const _0x5690bc={...RETRY_CONFIG};return _0x5690bc;},exports[a106_0x3d7789(0x262)]=_0x23b6d6=>{const _0x5c39db=a106_0x3d7789,_0x439722={'jXxaO':function(_0x4af604,_0x9dcd76){return _0x4af604(_0x9dcd76);}};return _0x439722['jXxaO'](detectDriverType,_0x23b6d6)[_0x5c39db(0x1cd)];},exports[a106_0x3d7789(0x212)]=_0x1cd566=>{const _0xc6778f=a106_0x3d7789,_0x5bfd4b={'HPNIS':function(_0x37a7c8,_0x5d5ae6){return _0x37a7c8(_0x5d5ae6);},'Issch':function(_0x6f8e8c,_0x1164ff){return _0x6f8e8c===_0x1164ff;},'dfabU':'selenium-webdriver'},{isPlaywright:_0x1cdf1c,type:_0x3043aa}=_0x5bfd4b[_0xc6778f(0x259)](detectDriverType,_0x1cd566);return!_0x1cdf1c&&_0x5bfd4b[_0xc6778f(0x1a4)](_0x3043aa,_0x5bfd4b['dfabU']);},exports[a106_0x3d7789(0x24d)]=async(_0x2afae9,_0x4af0dc=null)=>{const _0x1aa2b7=a106_0x3d7789,_0x3693a6={'CFrWB':function(_0x4520ed,_0x43e77e){return _0x4520ed(_0x43e77e);},'wPYnP':function(_0x618cff,_0x430a2c){return _0x618cff===_0x430a2c;},'GTPQB':_0x1aa2b7(0x1fe)},{isPlaywright:_0x524b0f,type:_0x435031}=_0x3693a6[_0x1aa2b7(0x244)](detectDriverType,_0x2afae9);if(!_0x524b0f)return logger[_0x1aa2b7(0x1eb)]('Skipping\x20timeout\x20setting\x20for\x20'+_0x435031+_0x1aa2b7(0x1ae)),!![];const _0x1050c3=_0x4af0dc||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x2afae9&&_0x3693a6[_0x1aa2b7(0x20f)](typeof _0x2afae9[_0x1aa2b7(0x1da)],_0x3693a6[_0x1aa2b7(0x223)])&&(await _0x2afae9['setDefaultTimeout'](_0x1050c3),logger[_0x1aa2b7(0x1eb)](_0x1aa2b7(0x208)+_0x1050c3+'ms')),!![];}catch(_0x3c8db3){return logger[_0x1aa2b7(0x1db)](_0x1aa2b7(0x20b)+_0x3c8db3[_0x1aa2b7(0x202)]),![];}},exports[a106_0x3d7789(0x1a7)]=async(_0x3e75a5,_0x1bb521=null)=>{const _0x4147fd=a106_0x3d7789,_0x299872={};_0x299872[_0x4147fd(0x1dc)]=_0x4147fd(0x246),_0x299872['VNwVp']=function(_0x2a1b44,_0x25070a){return _0x2a1b44===_0x25070a;},_0x299872[_0x4147fd(0x1f6)]='function',_0x299872[_0x4147fd(0x1b3)]=function(_0x3df89f,_0x264aef){return _0x3df89f===_0x264aef;},_0x299872[_0x4147fd(0x1ab)]=_0x4147fd(0x207),_0x299872[_0x4147fd(0x204)]=_0x4147fd(0x1c1);const _0x25311d=_0x299872;if(!exports['isSeleniumDriver'](_0x3e75a5))return logger[_0x4147fd(0x1db)](_0x25311d[_0x4147fd(0x1dc)]),![];const _0x2565e4=_0x1bb521||RETRY_CONFIG[_0x4147fd(0x237)];try{if(_0x3e75a5&&_0x25311d[_0x4147fd(0x1e0)](typeof _0x3e75a5[_0x4147fd(0x239)],_0x25311d[_0x4147fd(0x1f6)])){const _0x5a31dc=_0x3e75a5[_0x4147fd(0x239)]();if(_0x5a31dc&&_0x25311d[_0x4147fd(0x1b3)](typeof _0x5a31dc[_0x4147fd(0x1aa)],_0x25311d['AGCJD']))await _0x5a31dc[_0x4147fd(0x1aa)]()[_0x4147fd(0x26b)](_0x2565e4),logger[_0x4147fd(0x1eb)](_0x4147fd(0x240)+_0x2565e4+_0x4147fd(0x1b2));else{if(_0x5a31dc&&_0x25311d['VNwVp'](typeof _0x5a31dc[_0x4147fd(0x210)],_0x25311d[_0x4147fd(0x1f6)])){const _0x44d54e={};_0x44d54e[_0x4147fd(0x245)]=_0x2565e4,await _0x5a31dc['setTimeouts'](_0x44d54e),logger[_0x4147fd(0x1eb)](_0x4147fd(0x240)+_0x2565e4+_0x4147fd(0x201));}else{if(_0x5a31dc&&_0x25311d[_0x4147fd(0x1b3)](typeof _0x5a31dc[_0x4147fd(0x26b)],_0x25311d['AGCJD']))await _0x5a31dc[_0x4147fd(0x26b)](_0x2565e4),logger[_0x4147fd(0x1eb)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x2565e4+'ms\x20using\x20setScriptTimeout\x20API');else return logger[_0x4147fd(0x1eb)](_0x25311d['WeZmg']),!![];}}}else return logger['debug'](_0x25311d[_0x4147fd(0x204)]),!![];return!![];}catch(_0x2b5b4d){return logger[_0x4147fd(0x1db)]('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x2b5b4d[_0x4147fd(0x202)]),![];}},exports[a106_0x3d7789(0x1c7)]=async(_0x30bce2,_0x48782f)=>{const _0x1a3256=a106_0x3d7789,_0x15daf6={'EwYKn':function(_0x5e39f5,_0x26cdb3){return _0x5e39f5(_0x26cdb3);},'kgUjJ':'isAccessibilityPlatform','BziyV':function(_0x2f0572,_0x11f250){return _0x2f0572<=_0x11f250;},'cDibG':function(_0x25c3de,_0x5905e1){return _0x25c3de+_0x5905e1;},'YPhKO':function(_0x59112a,_0x485faa){return _0x59112a+_0x485faa;},'GIrWP':function(_0x43b455,_0x1866ee){return _0x43b455&&_0x1866ee;},'HRuPG':function(_0x3448d5,_0x580f4c,_0x23acaf){return _0x3448d5(_0x580f4c,_0x23acaf);},'HCbro':function(_0x15ce1f,_0xb2f813,_0x525ca6){return _0x15ce1f(_0xb2f813,_0x525ca6);},'wTfZC':_0x1a3256(0x256),'RhOiC':_0x1a3256(0x1d3)},{isPlaywright:_0x1d7c21,type:_0x32ff20}=_0x15daf6[_0x1a3256(0x264)](detectDriverType,_0x30bce2),_0x38ba2c=_0x1d7c21?global[_0x1a3256(0x238)]:accessibilityHelper[_0x1a3256(0x248)]()&&globals['getGlobal'](_0x15daf6[_0x1a3256(0x1c3)]);if(!_0x38ba2c)return logger[_0x1a3256(0x1db)](_0x1a3256(0x226)+_0x32ff20+_0x1a3256(0x270)),![];let _0x3a231b=null;for(let _0x262364=0x1;_0x15daf6[_0x1a3256(0x22a)](_0x262364,_0x15daf6[_0x1a3256(0x1a6)](RETRY_CONFIG['maxRetries'],0x1));_0x262364++){try{logger['debug'](_0x1a3256(0x23d)+_0x262364+'/'+_0x15daf6[_0x1a3256(0x218)](RETRY_CONFIG[_0x1a3256(0x1b0)],0x1)+'\x20('+_0x32ff20+')');if(_0x15daf6[_0x1a3256(0x1b4)](_0x1d7c21,playwrightA11yHelper)){_0x15daf6['HRuPG'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1a3256(0x24d)](_0x30bce2,RETRY_CONFIG['timeoutMs']);const _0x1f31c5={};_0x1f31c5['is_mobile_session']=!![];const _0x20aef3=global['isMobilePlatform']?Object[_0x1a3256(0x222)]({},_0x48782f,_0x1f31c5):_0x48782f;await _0x15daf6[_0x1a3256(0x1e2)](withTimeout,playwrightA11yHelper[_0x1a3256(0x1c2)](_0x30bce2,scripts[_0x1a3256(0x1f1)],_0x20aef3),RETRY_CONFIG[_0x1a3256(0x214)]),await exports[_0x1a3256(0x24d)](_0x30bce2,RETRY_CONFIG[_0x1a3256(0x237)]);}else{await exports[_0x1a3256(0x1a7)](_0x30bce2,RETRY_CONFIG[_0x1a3256(0x214)]);const _0x1f4e02={};_0x1f4e02[_0x1a3256(0x269)]=!![];const _0x5c92f8=globals[_0x1a3256(0x272)](_0x15daf6[_0x1a3256(0x261)])?Object[_0x1a3256(0x222)]({},_0x48782f,_0x1f4e02):_0x48782f;await _0x15daf6[_0x1a3256(0x211)](withTimeout,_0x30bce2[_0x1a3256(0x1e5)](scripts[_0x1a3256(0x1f1)],_0x5c92f8),RETRY_CONFIG[_0x1a3256(0x214)]),await exports[_0x1a3256(0x1a7)](_0x30bce2,RETRY_CONFIG[_0x1a3256(0x237)]);}return logger[_0x1a3256(0x221)](_0x1a3256(0x1fa)+_0x262364+'\x20('+_0x32ff20+')'),!![];}catch(_0x5f500a){_0x3a231b=_0x5f500a,logger['warn'](_0x1a3256(0x23d)+_0x262364+'\x20failed\x20('+_0x32ff20+').\x20Error:\x20'+_0x5f500a['message']);}}return logger[_0x1a3256(0x1d8)](_0x1a3256(0x1e8)+_0x32ff20+').\x20Last\x20error:\x20'+(_0x3a231b?.[_0x1a3256(0x202)]||_0x15daf6['RhOiC'])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a107_0x5e90a0=a107_0x4a04;(function(_0x2a017d,_0x56013e){var _0x6d6003=a107_0x4a04,_0x5c32d6=_0x2a017d();while(!![]){try{var _0xce80fe=parseInt(_0x6d6003(0xb1))/0x1*(parseInt(_0x6d6003(0xc6))/0x2)+parseInt(_0x6d6003(0xc2))/0x3*(-parseInt(_0x6d6003(0xb8))/0x4)+parseInt(_0x6d6003(0xb4))/0x5+-parseInt(_0x6d6003(0xb0))/0x6+parseInt(_0x6d6003(0xc3))/0x7+parseInt(_0x6d6003(0xc1))/0x8*(-parseInt(_0x6d6003(0xbe))/0x9)+parseInt(_0x6d6003(0xc8))/0xa;if(_0xce80fe===_0x56013e)break;else _0x5c32d6['push'](_0x5c32d6['shift']());}catch(_0x59e8e9){_0x5c32d6['push'](_0x5c32d6['shift']());}}}(a107_0xb18f,0x5f4e8),exports['API_URL']=a107_0x5e90a0(0xca),exports[a107_0x5e90a0(0xc4)]='94',exports['MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY']=a107_0x5e90a0(0xc7),exports[a107_0x5e90a0(0xbf)]=a107_0x5e90a0(0xb2),exports[a107_0x5e90a0(0xc0)]=a107_0x5e90a0(0xb3));function a107_0x4a04(_0x9c7b4d,_0x515252){var _0xb18fa=a107_0xb18f();return a107_0x4a04=function(_0x4a047d,_0x324447){_0x4a047d=_0x4a047d-0xaf;var _0xea5995=_0xb18fa[_0x4a047d];return _0xea5995;},a107_0x4a04(_0x9c7b4d,_0x515252);}var a107_0x3b90ab={};a107_0x3b90ab['display_name']='Chrome',a107_0x3b90ab[a107_0x5e90a0(0xb7)]=0x5e,a107_0x3b90ab['min_version_non_browserstack']=0x64,a107_0x3b90ab[a107_0x5e90a0(0xbd)]=!![];var a107_0x38b4a9={};a107_0x38b4a9[a107_0x5e90a0(0xba)]=a107_0x5e90a0(0xbc),a107_0x38b4a9[a107_0x5e90a0(0xb7)]=0x5e,a107_0x38b4a9[a107_0x5e90a0(0xb6)]=0x64,a107_0x38b4a9[a107_0x5e90a0(0xbd)]=!![];var a107_0x36632e={};a107_0x36632e[a107_0x5e90a0(0xba)]=a107_0x5e90a0(0xbc),a107_0x36632e[a107_0x5e90a0(0xb7)]=0x5e,a107_0x36632e[a107_0x5e90a0(0xb6)]=0x64,a107_0x36632e[a107_0x5e90a0(0xbd)]=!![];var a107_0x40f320={};a107_0x40f320[a107_0x5e90a0(0xba)]='ChromeForTesting',a107_0x40f320[a107_0x5e90a0(0xb7)]=0x8d,a107_0x40f320[a107_0x5e90a0(0xb6)]=0x8d,a107_0x40f320['requires_chrome_options_check']=!![];function a107_0xb18f(){var _0xd0cd32=['chrome','display_name','safari','Chrome','requires_chrome_options_check','189pcrJnv','MINIMUM_CHROMEFORTESTING_VERSION','MINIMUM_SAFARI_VERSION','207344EIFJKX','71811zAGRlC','1096613PqcmwL','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','ACCESSIBILITY_SUPPORTED_BROWSERS','920534zBthzD','100','12703830WgajwB','chromium','https://accessibility.browserstack.com/api','playwright-chromium','4257018DJBreG','1qEjqQo','141','18.4','1896050eUBzTc','Safari','min_version_non_browserstack','min_version_browserstack','104WAGnGx'];a107_0xb18f=function(){return _0xd0cd32;};return a107_0xb18f();}var a107_0x597e61={};a107_0x597e61[a107_0x5e90a0(0xba)]=a107_0x5e90a0(0xb5),a107_0x597e61['min_version_browserstack']=18.4,a107_0x597e61[a107_0x5e90a0(0xb6)]=18.4,a107_0x597e61[a107_0x5e90a0(0xbd)]=![];var a107_0x66d743={};a107_0x66d743[a107_0x5e90a0(0xb9)]=a107_0x3b90ab,a107_0x66d743[a107_0x5e90a0(0xc9)]=a107_0x38b4a9,a107_0x66d743[a107_0x5e90a0(0xaf)]=a107_0x36632e,a107_0x66d743['chromefortesting']=a107_0x40f320,a107_0x66d743[a107_0x5e90a0(0xbb)]=a107_0x597e61,exports[a107_0x5e90a0(0xc5)]=a107_0x66d743;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a108_0x2c96(){const _0x26c91f=['isVersionSupported','headers','nonBstackPlatformValidation','QSYvN','getPlatformVersion','includes','data','a11y:stop','PERFORM_SCAN','script','193794baTgcC','status','selenium-webdriver/chrome.js','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','getCapabilities','chromeOptions','XtsKx','min_version_browserstack','NOoKa','fTUcY','stack','isMobileScanningEnabledForGroup','EFZNH','acOst','v2/test_runs','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','VmdLC','qvxSf','chrome','PUT','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','\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.','mppmZ','function','nHqqq','eQALV','accessibility','Frtop','toISOString','KjEyl','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','winstonLogger','min_version_non_browserstack','ZVvHE','mauKg','Bearer\x20','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).','bstack:options','some','isTrue','wait','pVLwr','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','BROWSERSTACK_TURBOSCALE','../helper','kNjBe','zmyMQ','baysk','measureWrapper','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','isMobileAccessibilityPlatform','WHPIN','browserstack_executor','getUserName','platformName','dqdHZ','user','debug','bstackA11yScanOptions','getCiInfo','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','YyzYC','getHostInfo','DCAaG','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','get','cWWHK','args','--headless','SlCjl','is_mobile_session','selenium-webdriver','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','nestedKeyValue','playwright','command','path','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','basename','auth','toLowerCase','trim','javascript','options_','80673vGLeED','isAccessibilityPlatform','KStnb','isMobileAccessibilitySession','JzNAf','device','Content-Type','isUndefined','124KvFClq','FPasH','forEach','scannerVersion','buildName','Zwocj','compareVersions','getBrowserVersion','IJpUq','315SVMSiG','getPlatform','deviceName','Authorization','jNnej','CKkcY','--headless=new','getResults','getAccessibilityResultsSummary','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','2438750kCWWTF','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','4068788hsREXx','XnAzy','EVTgo','performScan','executeAsyncScript','MpoRx','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','version','response','KykUQ','FHFDI','FWiMU','requiresChromeOptionsValidation','error','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','true','Performed\x20scan\x20with\x20result:\x20','json','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','getBrowserName','29743690rQVTOv','message','browserName','nodeRequest','IjbrX','map','isBrowserstackInfra','tPxXl','fxBoU','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','VKYDp','isArray','KXDQi','accessibilityToken','CNgeJ','ovByT','thTestRunUuid','requireModule','success','null','capabilities_','POST','set','assign','getGitMetaData','warn','getMobileA11yCapabilities','239312zxibFH','createAccessibilityTestRun','No\x20accessibility\x20summary\x20was\x20found.','bstackA11yShouldScan','ARcvM','browserstack','currentTest','1028764tHBPkC','a11y:start','dhhst','yVlxx','join','RjUhU','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','SfCXe','Build\x20creation\x20had\x20failed.',']\x20but\x20thTestRunUuid\x20is\x20','Not\x20a\x20Accessibility\x20Session','QIcmd','kMrYy','kWkRs','rFajP','getGlobal','21mBNcoE','gMUdW','split','hWnlu','Performing\x20scan\x20before\x20getting\x20results\x20summary','BROWSERSTACK_TEST_ACCESSIBILITY_YML','toString','sacac','pass','goog:chromeOptions','qLCwC','statusText','setNonBstackInfraCapabilities','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','length','undefined','afuiN','yZiwL','xqXqB','JJUYK','fetchPlatformDetails','ixwNH','Mejpu','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','excludeTagsInTestingScope','application/json','TQRsw','chromeOptions_','browserstackSessionName','body','requires_chrome_options_check','ABbEq','string','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','npEGK','parseA11yJwtPayload','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getAccessibilityResults','HMPOH','hElWq','from','toJson','Invalid\x20configuration\x20passed.','BS_A11Y_JWT','base64','env','Performing\x20scan\x20before\x20getting\x20results','projectName','JbhLH','resolve','./constants','cwd','yKhyK','bswMh','jSjcv','XhAqy','ihwKf','resolveMobileThTestRunUuid','checkAccessibilityPlatformConfig','wtvjS','parse','getTestFrameworkDetails','format','vIOUx','includeTagsInTestingScope','Mdsva','stringify','IjVxB','RaOWw','ChromeExtension','DSFAR','vaKZu','isBrowserStackCommandExecutor','hQvac','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','yFbxj','stopAccessibilityTestRun','GwRgz','DMOtM','WqlPY','--headless=','CGGhc','return\x20document.readyState\x20===\x20\x22complete\x22','HlLiW','fsMnT','../performance/performance-tester','isAccessibilityAutomationSession','VyQIR','method','WZxVc','Options','getBrowserA11yConfig','startsWith','parseFromJson'];a108_0x2c96=function(){return _0x26c91f;};return a108_0x2c96();}const a108_0x582bbf=a108_0x7cd2;(function(_0x123b44,_0x4f11b1){const _0x3ca0da=a108_0x7cd2,_0x2248ff=_0x123b44();while(!![]){try{const _0x1ba67f=parseInt(_0x3ca0da(0x99))/0x1+-parseInt(_0x3ca0da(0x16d))/0x2*(parseInt(_0x3ca0da(0x165))/0x3)+-parseInt(_0x3ca0da(0x182))/0x4+parseInt(_0x3ca0da(0x180))/0x5+-parseInt(_0x3ca0da(0x111))/0x6*(-parseInt(_0x3ca0da(0xa9))/0x7)+-parseInt(_0x3ca0da(0x92))/0x8*(parseInt(_0x3ca0da(0x176))/0x9)+parseInt(_0x3ca0da(0x197))/0xa;if(_0x1ba67f===_0x4f11b1)break;else _0x2248ff['push'](_0x2248ff['shift']());}catch(_0x1fb846){_0x2248ff['push'](_0x2248ff['shift']());}}}(a108_0x2c96,0xd111f));function a108_0x7cd2(_0x202322,_0x1749c8){const _0x2c9628=a108_0x2c96();return a108_0x7cd2=function(_0x7cd2b,_0xc2cab1){_0x7cd2b=_0x7cd2b-0x7b;let _0x3f6ea0=_0x2c9628[_0x7cd2b];return _0x3f6ea0;},a108_0x7cd2(_0x202322,_0x1749c8);}const path=require(a108_0x582bbf(0x15d)),util=require('util'),bsSetupHelper=require(a108_0x582bbf(0x13d)),logger=require('../logger')[a108_0x582bbf(0x130)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a108_0x582bbf(0xdb)),PerformanceTester=require(a108_0x582bbf(0xfe)),scripts=require('./scripts'),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports[a108_0x582bbf(0xbd)]=async _0x4037cb=>{const _0x27e182=a108_0x582bbf,_0x4ab25c={};_0x4ab25c['kWkRs']=function(_0x41122c,_0x22dbd3){return _0x41122c===_0x22dbd3;},_0x4ab25c['ARcvM']=_0x27e182(0x97);const _0x42da2d=_0x4ab25c;let _0x5f1b8e={};try{const _0x7f268e=await _0x4037cb[_0x27e182(0x115)]();_0x5f1b8e={'os_name':_0x7f268e[_0x27e182(0x177)](),'os_version':bsSetupHelper[_0x27e182(0x10b)](_0x42da2d[_0x27e182(0xa6)](global['__cloud_provider___'],_0x42da2d[_0x27e182(0x96)])),'browser_name':_0x7f268e[_0x27e182(0x196)](),'browser_version':_0x7f268e[_0x27e182(0x174)]()};}catch(_0x5cd88f){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x5cd88f);}return _0x5f1b8e;},exports[a108_0x582bbf(0xff)]=()=>{const _0x2c32e1=a108_0x582bbf,_0xa1d0b6={};_0xa1d0b6[_0x2c32e1(0x12e)]=function(_0x1bebbb,_0x4e1077){return _0x1bebbb===_0x4e1077;},_0xa1d0b6[_0x2c32e1(0x18c)]=_0x2c32e1(0xc9),_0xa1d0b6[_0x2c32e1(0xc8)]=function(_0x55a881,_0x5770d7){return _0x55a881>_0x5770d7;},_0xa1d0b6['jNnej']=function(_0xf01b46,_0x38bd61){return _0xf01b46!==_0x38bd61;},_0xa1d0b6[_0x2c32e1(0xb3)]=_0x2c32e1(0x8a),_0xa1d0b6[_0x2c32e1(0x175)]=function(_0x5c60e1,_0x4bab49){return _0x5c60e1&&_0x4bab49;};const _0x5089a6=_0xa1d0b6;try{const _0x165d1c=bsSetupHelper[_0x2c32e1(0x138)](process['env'][_0x2c32e1(0xae)])||bsSetupHelper['isTrue'](process['env'][_0x2c32e1(0x14d)]),_0x37c2da=_0x5089a6['KjEyl'](typeof process[_0x2c32e1(0xd6)][_0x2c32e1(0xd4)],_0x5089a6[_0x2c32e1(0x18c)])&&_0x5089a6['ABbEq'](process[_0x2c32e1(0xd6)][_0x2c32e1(0xd4)][_0x2c32e1(0xb7)],0x0)&&_0x5089a6[_0x2c32e1(0x17a)](process[_0x2c32e1(0xd6)][_0x2c32e1(0xd4)],_0x5089a6['qLCwC']);return _0x5089a6[_0x2c32e1(0x175)](_0x165d1c,_0x37c2da);}catch(_0x12dc9f){logger['debug'](_0x2c32e1(0x114)+_0x12dc9f);}return![];},exports[a108_0x582bbf(0x109)]=(_0x3c3f7c,_0x5f467a)=>{const _0x290339=a108_0x582bbf,_0x41cc71={'IjVxB':_0x290339(0x199),'KXDQi':function(_0x508dc8,_0x2bb3e6){return _0x508dc8(_0x2bb3e6);},'FPasH':'browserVersion','rYPBs':_0x290339(0x189),'CNgeJ':_0x290339(0x136),'yKhyK':_0x290339(0x178),'JbhLH':_0x290339(0x16a),'EFZNH':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','baysk':_0x290339(0x113),'Frtop':_0x290339(0x158),'ZKXcU':_0x290339(0x164),'VKYDp':_0x290339(0x154),'kMrYy':_0x290339(0x116),'SfCXe':_0x290339(0x194),'kNDrX':_0x290339(0xb2),'fxBoU':function(_0x576dd4,_0x341d27){return _0x576dd4===_0x341d27;},'fsMnT':_0x290339(0x123),'TQRsw':function(_0x1b296f,_0x1eb0ee){return _0x1b296f>=_0x1eb0ee;}},_0x84cc67=_0x3c3f7c[_0x290339(0x152)](_0x41cc71[_0x290339(0xec)]),_0x882df1=_0x41cc71[_0x290339(0x83)](parseFloat,_0x3c3f7c[_0x290339(0x152)](_0x41cc71[_0x290339(0x16e)]))||_0x41cc71[_0x290339(0x83)](parseFloat,_0x3c3f7c[_0x290339(0x152)](_0x41cc71['rYPBs'])),_0x661c44=_0x3c3f7c[_0x290339(0x152)](_0x41cc71['CNgeJ'])||{},_0x112735=_0x41cc71['KXDQi'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x46eb64=_0x661c44[_0x41cc71[_0x290339(0xdd)]]||_0x3c3f7c[_0x290339(0x152)](_0x41cc71[_0x290339(0xd9)])||![];if(_0x46eb64)return logger[_0x290339(0x90)](_0x41cc71[_0x290339(0x11d)]),![];let _0x49ab75;try{_0x49ab75=bsSetupHelper[_0x290339(0x88)](_0x41cc71[_0x290339(0x140)],_0x41cc71[_0x290339(0x12c)]);}catch(_0x5be619){return![];}const _0x1d5e05=new _0x49ab75[(_0x290339(0x103))](_0x5f467a[_0x290339(0xc4)]),_0x5a7c06=bsSetupHelper['nestedKeyValue'](_0x1d5e05,[_0x41cc71['ZKXcU'],_0x41cc71['VKYDp']])||bsSetupHelper[_0x290339(0x15a)](_0x5f467a[_0x290339(0x8b)],[_0x41cc71[_0x290339(0x85)],_0x41cc71[_0x290339(0xa5)],_0x41cc71[_0x290339(0x81)]])||bsSetupHelper[_0x290339(0x15a)](_0x5f467a[_0x290339(0x8b)],[_0x41cc71[_0x290339(0xa5)],_0x41cc71[_0x290339(0x81)]])||[],_0x8fa307=Array[_0x290339(0x82)](_0x5a7c06)?_0x5a7c06:[];if(_0x8fa307[_0x290339(0x137)](_0x2f1363=>typeof _0x2f1363===_0x290339(0xc9)&&(_0x2f1363===_0x290339(0x155)||_0x2f1363[_0x290339(0x105)](_0x290339(0xf9))&&_0x2f1363!==_0x290339(0x17c))))return logger[_0x290339(0x90)](_0x41cc71[_0x290339(0xa0)]),![];const _0x1a0efa=_0x5f467a['capabilities_']||{},_0x105b7a=bsSetupHelper[_0x290339(0x15a)](_0x1a0efa,[_0x41cc71['kNDrX']])||{},_0x433cfe=bsSetupHelper[_0x290339(0x15a)](_0x105b7a,[_0x41cc71[_0x290339(0x81)]])||[],_0x5e4f9f=Array[_0x290339(0x82)](_0x433cfe)?_0x433cfe:[];if(_0x5e4f9f[_0x290339(0x137)](_0x258c35=>typeof _0x258c35===_0x290339(0xc9)&&(_0x258c35===_0x290339(0x155)||_0x258c35[_0x290339(0x105)](_0x290339(0xf9))&&_0x258c35!=='--headless=new')))return logger[_0x290339(0x90)](_0x41cc71['SfCXe']),![];if(_0x41cc71[_0x290339(0x7e)](_0x84cc67[_0x290339(0x161)](),_0x41cc71[_0x290339(0xfd)])&&_0x41cc71[_0x290339(0xc3)](_0x882df1,_0x112735))return!![];return logger[_0x290339(0x90)](_0x290339(0x188)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a108_0x582bbf(0xb5)]=_0x4cea48=>{const _0xb431e6=a108_0x582bbf,_0x57fcc2={};_0x57fcc2[_0xb431e6(0x102)]='goog:chromeOptions',_0x57fcc2[_0xb431e6(0x144)]=function(_0x2ddaa5,_0x9283c2){return _0x2ddaa5||_0x9283c2;},_0x57fcc2[_0xb431e6(0x187)]=_0xb431e6(0xa3);const _0x5cff45=_0x57fcc2,_0x5d8289=scripts[_0xb431e6(0xee)];try{const _0x1f654e=bsSetupHelper[_0xb431e6(0x138)](process[_0xb431e6(0xd6)][_0xb431e6(0xae)])||bsSetupHelper['isTrue'](process[_0xb431e6(0xd6)][_0xb431e6(0x14d)]);if((!bsSetupHelper[_0xb431e6(0x7c)]()||process['env'][_0xb431e6(0x13c)])&&_0x1f654e){const _0x4e31bf=_0x4cea48[_0xb431e6(0x115)](),_0x2dde93=_0x4e31bf[_0xb431e6(0x152)](_0x5cff45[_0xb431e6(0x102)]),_0xa97891=_0x5cff45[_0xb431e6(0x144)](_0x2dde93,{});bsSetupHelper['mergeDeep'](_0xa97891,_0x5d8289),_0x4cea48[_0xb431e6(0x115)]()[_0xb431e6(0x8d)](_0x5cff45[_0xb431e6(0x102)],_0xa97891);}else logger[_0xb431e6(0x90)](_0x5cff45[_0xb431e6(0x187)]);}catch(_0x42599f){logger[_0xb431e6(0x18f)](_0xb431e6(0x181)+_0x42599f);}},exports['shouldScanTestForAccessibility']=(_0x307e65=null,_0x50b5f6=!![],_0x25ac80=[])=>{const _0x14bff4=a108_0x582bbf,_0x54ff06={};_0x54ff06[_0x14bff4(0x7d)]=function(_0x5652c0,_0x28d9cc){return _0x5652c0==_0x28d9cc;},_0x54ff06[_0x14bff4(0x183)]=function(_0x1b5443,_0xd7e082){return _0x1b5443>_0xd7e082;},_0x54ff06[_0x14bff4(0x9c)]=function(_0x37cf74,_0x32b7d8){return _0x37cf74===_0x32b7d8;},_0x54ff06[_0x14bff4(0xe8)]=function(_0x221707,_0x24e51e){return _0x221707&&_0x24e51e;},_0x54ff06[_0x14bff4(0xe1)]=function(_0x2eca93,_0x38b2cd){return _0x2eca93===_0x38b2cd;},_0x54ff06[_0x14bff4(0x18b)]=function(_0x1db05a,_0x211c53){return _0x1db05a&&_0x211c53;};const _0x139544=_0x54ff06;if(_0x139544[_0x14bff4(0x7d)](process[_0x14bff4(0xd6)][_0x14bff4(0xcd)],null))return!![];try{const _0x1242f6=JSON[_0x14bff4(0xe5)](process[_0x14bff4(0xd6)][_0x14bff4(0xcd)]),_0x5916a2=Array[_0x14bff4(0x82)](_0x1242f6[_0x14bff4(0xe9)])?_0x1242f6[_0x14bff4(0xe9)]:[],_0x1e7294=Array[_0x14bff4(0x82)](_0x1242f6[_0x14bff4(0xc1)])?_0x1242f6[_0x14bff4(0xc1)]:[],_0x4ecbad=_0x150323=>typeof _0x150323===_0x14bff4(0xc9)?_0x150323['replace'](/^@/,'')[_0x14bff4(0x161)]()[_0x14bff4(0x162)]():_0x150323;if(bsSetupHelper['isUndefined'](_0x307e65)){if(_0x139544[_0x14bff4(0x183)](_0x25ac80['length'],0x0)){const _0x4281c7=_0x25ac80[_0x14bff4(0x7b)](_0x4ecbad),_0x1579bd=_0x1e7294[_0x14bff4(0x137)](_0x9b2b37=>_0x4281c7[_0x14bff4(0x10c)](_0x4ecbad(_0x9b2b37))),_0x4373ae=_0x139544['yVlxx'](_0x5916a2['length'],0x0)||_0x5916a2[_0x14bff4(0x137)](_0x87ba05=>_0x4281c7[_0x14bff4(0x10c)](_0x4ecbad(_0x87ba05)));return _0x139544[_0x14bff4(0xe8)](!_0x1579bd,_0x4373ae);}return!![];}let _0x36b6a9;_0x50b5f6?_0x36b6a9=_0x307e65[_0x14bff4(0x9d)]('/'):_0x36b6a9=_0x307e65;const _0x2df42c=_0x1e7294[_0x14bff4(0x137)](_0x2eec53=>_0x36b6a9[_0x14bff4(0x161)]()[_0x14bff4(0x10c)](_0x4ecbad(_0x2eec53)['toLowerCase']())),_0x1c2b41=_0x139544[_0x14bff4(0xe1)](_0x5916a2['length'],0x0)||_0x5916a2['some'](_0x2b223b=>_0x36b6a9[_0x14bff4(0x161)]()[_0x14bff4(0x10c)](_0x4ecbad(_0x2b223b)[_0x14bff4(0x161)]()));return _0x139544[_0x14bff4(0x18b)](!_0x2df42c,_0x1c2b41);}catch(_0x4fe651){logger[_0x14bff4(0x14a)](_0x14bff4(0xca)+util[_0x14bff4(0xe7)](_0x4fe651));}return![];},exports[a108_0x582bbf(0xe3)]=_0xc12ef6=>{const _0x39febb=a108_0x582bbf;let _0x424f67=![];try{_0xc12ef6['platforms'][_0x39febb(0x16f)](_0x59b42e=>{const _0xe415f8=_0x39febb;if(bsSetupHelper[_0xe415f8(0x138)](_0x59b42e[_0xe415f8(0x12b)]))return _0x424f67=!![],!![];});}catch(_0x4fd7ce){logger[_0x39febb(0x14a)](_0x39febb(0x190)+_0x4fd7ce);}return _0x424f67||bsSetupHelper[_0x39febb(0x138)](_0xc12ef6['accessibility']);},exports[a108_0x582bbf(0x93)]=PerformanceTester[a108_0x582bbf(0x141)](a108_0x582bbf(0x9a),async function(_0x58aff1,_0x4af4d0){const _0x3be49f=a108_0x582bbf,_0x514fa1={};_0x514fa1[_0x3be49f(0x121)]=_0x3be49f(0x80),_0x514fa1['CGGhc']=_0x3be49f(0x15b),_0x514fa1['SlCjl']=_0x3be49f(0x163),_0x514fa1[_0x3be49f(0xea)]=_0x3be49f(0xc2),_0x514fa1[_0x3be49f(0xa7)]=_0x3be49f(0x8c),_0x514fa1[_0x3be49f(0x129)]=_0x3be49f(0x11f),_0x514fa1[_0x3be49f(0xcb)]=function(_0x48f0f9,_0x2d82d8){return _0x48f0f9===_0x2d82d8;},_0x514fa1[_0x3be49f(0x153)]=_0x3be49f(0xd3),_0x514fa1[_0x3be49f(0xa4)]='false';const _0x36f886=_0x514fa1,_0x1d6243=bsSetupHelper[_0x3be49f(0x146)](_0x58aff1),_0x325b63=bsSetupHelper['getAccessKey'](_0x58aff1);if(bsSetupHelper[_0x3be49f(0x16c)](_0x1d6243)||bsSetupHelper[_0x3be49f(0x16c)](_0x325b63))return logger[_0x3be49f(0x18f)](_0x36f886[_0x3be49f(0x121)]),[null,null];try{let _0x4170d2;bsSetupHelper[_0x3be49f(0x16c)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x4170d2={}:_0x4170d2=JSON[_0x3be49f(0xe5)](process[_0x3be49f(0xd6)][_0x3be49f(0xcd)]);const {name:_0x274e3a,version:_0x4cc4d5}=bsSetupHelper[_0x3be49f(0xe6)](_0x58aff1,_0x4af4d0),_0x5bb1ff={'projectName':_0x58aff1[_0x3be49f(0xd8)],'buildName':_0x58aff1[_0x3be49f(0x171)]||path[_0x3be49f(0x15f)](path[_0x3be49f(0xda)](process[_0x3be49f(0xdc)]())),'startTime':new Date()[_0x3be49f(0x12d)](),'description':_0x58aff1['buildDescription']||'','source':{'frameworkName':_0x4af4d0['includes'](_0x36f886[_0x3be49f(0xfa)])?_0x36f886[_0x3be49f(0xfa)]:_0x4af4d0,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x4af4d0),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x36f886[_0x3be49f(0x156)],'testFramework':_0x274e3a,'testFrameworkVersion':_0x4cc4d5},'settings':_0x4170d2,'versionControl':await bsSetupHelper[_0x3be49f(0x8f)](),'ciInfo':bsSetupHelper[_0x3be49f(0x14c)](),'hostInfo':bsSetupHelper[_0x3be49f(0x14f)](),'browserstackAutomation':bsSetupHelper[_0x3be49f(0x7c)]()},_0x1fbda8={};_0x1fbda8[_0x3be49f(0x149)]=_0x1d6243,_0x1fbda8[_0x3be49f(0xb1)]=_0x325b63;const _0x503051={};_0x503051[_0x3be49f(0x16b)]=_0x36f886['Mdsva'];const _0x199087={};_0x199087[_0x3be49f(0x160)]=_0x1fbda8,_0x199087['headers']=_0x503051;const _0x5897bb=_0x199087,_0x37b43a={};_0x37b43a[_0x3be49f(0xc6)]=_0x5bb1ff,_0x37b43a[_0x3be49f(0x193)]=!![];const _0x10de28=Object['assign'](_0x5897bb,_0x37b43a),_0x9bbeb3=await bsSetupHelper['nodeRequest'](_0x36f886[_0x3be49f(0xa7)],_0x36f886[_0x3be49f(0x129)],_0x10de28,_0x58aff1,API_URL);let _0x324ab9=process[_0x3be49f(0xd6)][_0x3be49f(0xcd)];return _0x324ab9?_0x324ab9=JSON[_0x3be49f(0xe5)](process[_0x3be49f(0xd6)][_0x3be49f(0xcd)]):_0x324ab9={},scripts[_0x3be49f(0x106)](_0x9bbeb3[_0x3be49f(0x10d)][_0x3be49f(0x10d)]),scripts[_0x3be49f(0xd2)](),_0x324ab9[_0x3be49f(0x170)]=_0x9bbeb3[_0x3be49f(0x10d)][_0x3be49f(0x10d)]['scannerVersion'],process[_0x3be49f(0xd6)][_0x3be49f(0xcd)]=JSON['stringify'](_0x324ab9),[_0x9bbeb3[_0x3be49f(0x10d)][_0x3be49f(0x10d)][_0x3be49f(0x84)],_0x9bbeb3[_0x3be49f(0x10d)][_0x3be49f(0x10d)]['id']];}catch(_0x3e7b47){if(_0x3e7b47[_0x3be49f(0x18a)])logger[_0x3be49f(0x18f)](_0x3be49f(0x195)+_0x3e7b47[_0x3be49f(0x18a)][_0x3be49f(0x112)]+'\x20'+_0x3e7b47[_0x3be49f(0x18a)][_0x3be49f(0xb4)]+'\x20'+JSON[_0x3be49f(0xeb)](_0x3e7b47[_0x3be49f(0x18a)]['data']));else{if(_0x36f886[_0x3be49f(0xcb)](_0x3e7b47[_0x3be49f(0x198)],_0x36f886[_0x3be49f(0x153)])){logger[_0x3be49f(0x18f)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x3e7b47[_0x3be49f(0x198)]||_0x3e7b47[_0x3be49f(0x11b)]));for(const _0x27bc18 of _0x3e7b47['errors']){logger[_0x3be49f(0x18f)](_0x27bc18[_0x3be49f(0x198)]);}process[_0x3be49f(0xd6)][_0x3be49f(0xae)]=_0x36f886[_0x3be49f(0xa4)],process[_0x3be49f(0xd6)][_0x3be49f(0x14d)]=_0x36f886[_0x3be49f(0xa4)];}else logger[_0x3be49f(0x18f)](_0x3be49f(0x195)+(_0x3e7b47[_0x3be49f(0x198)]||_0x3e7b47['stack']));}return[null,null];}}),exports[a108_0x582bbf(0xf5)]=PerformanceTester[a108_0x582bbf(0x141)](a108_0x582bbf(0x10e),async function(_0x4cd0a9){const _0x493ecd=a108_0x582bbf,_0x2ef7a3={};_0x2ef7a3['JzNAf']=function(_0x269876,_0x3b3dc8){return _0x269876!==_0x3b3dc8;},_0x2ef7a3['bswMh']=_0x493ecd(0xc9),_0x2ef7a3[_0x493ecd(0x9b)]=_0x493ecd(0x18f),_0x2ef7a3[_0x493ecd(0x10a)]=_0x493ecd(0xa1),_0x2ef7a3[_0x493ecd(0xe0)]=_0x493ecd(0xc2),_0x2ef7a3['EVTgo']=_0x493ecd(0x124),_0x2ef7a3[_0x493ecd(0xbc)]='test_runs/stop',_0x2ef7a3['jSjcv']=function(_0x39ae4a,_0x588412){return _0x39ae4a+_0x588412;},_0x2ef7a3[_0x493ecd(0x9e)]='Invalid\x20request:\x20',_0x2ef7a3[_0x493ecd(0xf2)]=_0x493ecd(0x89);const _0x240b14=_0x2ef7a3;if(bsSetupHelper[_0x493ecd(0x16c)](process[_0x493ecd(0xd6)][_0x493ecd(0xd4)])||_0x240b14[_0x493ecd(0x169)](typeof process[_0x493ecd(0xd6)][_0x493ecd(0xd4)],_0x240b14[_0x493ecd(0xde)])){const _0x1f53b9={};return _0x1f53b9[_0x493ecd(0x112)]=_0x240b14['dhhst'],_0x1f53b9['message']=_0x240b14[_0x493ecd(0x10a)],_0x1f53b9;}const _0x275004={'endTime':new Date()[_0x493ecd(0x12d)]()},_0x588a77={};_0x588a77[_0x493ecd(0x179)]=_0x493ecd(0x134)+process[_0x493ecd(0xd6)][_0x493ecd(0xd4)],_0x588a77[_0x493ecd(0x16b)]=_0x240b14[_0x493ecd(0xe0)];const _0x666d18={};_0x666d18[_0x493ecd(0x108)]=_0x588a77;const _0x63881d=_0x666d18,_0x334341={};_0x334341[_0x493ecd(0xc6)]=_0x275004,_0x334341[_0x493ecd(0x160)]=null,_0x334341['json']=!![];const _0x33bb54=Object['assign'](_0x63881d,_0x334341);try{const _0x1f750d=await bsSetupHelper[_0x493ecd(0x19a)](_0x240b14[_0x493ecd(0x184)],_0x240b14[_0x493ecd(0xbc)],_0x33bb54,_0x4cd0a9,API_URL);if(_0x1f750d['data'][_0x493ecd(0x18f)])throw new Error(_0x240b14[_0x493ecd(0xdf)](_0x240b14[_0x493ecd(0x9e)],_0x1f750d[_0x493ecd(0x10d)][_0x493ecd(0x18f)]));else{logger['info'](_0x493ecd(0x7f)+new Date()['toISOString']());const _0x3a022b={};return _0x3a022b[_0x493ecd(0x112)]=_0x240b14['hQvac'],_0x3a022b['message']='',_0x3a022b;}}catch(_0x3a3194){_0x3a3194[_0x493ecd(0x18a)]?logger['error'](_0x493ecd(0x15e)+_0x3a3194[_0x493ecd(0x18a)][_0x493ecd(0x112)]+'\x20'+_0x3a3194[_0x493ecd(0x18a)][_0x493ecd(0xb4)]+'\x20'+JSON[_0x493ecd(0xeb)](_0x3a3194['response'][_0x493ecd(0x10d)])):logger[_0x493ecd(0x18f)](_0x493ecd(0x15e)+(_0x3a3194[_0x493ecd(0x198)]||util[_0x493ecd(0xe7)](_0x3a3194)));const _0x149e41={};return _0x149e41[_0x493ecd(0x112)]=_0x240b14[_0x493ecd(0x9b)],_0x149e41[_0x493ecd(0x198)]=_0x3a3194[_0x493ecd(0x198)]||(_0x3a3194['response']?_0x3a3194[_0x493ecd(0x18a)][_0x493ecd(0x112)]+':'+_0x3a3194['response'][_0x493ecd(0xb4)]:_0x3a3194),_0x149e41;}}),exports[a108_0x582bbf(0x185)]=async(_0x473c2d,_0x387051=null,_0x261854=![],_0x55218d=null)=>{const _0x4d3dcb=a108_0x582bbf,_0x317b82={};_0x317b82['HMPOH']=_0x4d3dcb(0x166),_0x317b82[_0x4d3dcb(0x17b)]=_0x4d3dcb(0x95),_0x317b82['DSFAR']=_0x4d3dcb(0x120),_0x317b82[_0x4d3dcb(0x100)]=function(_0x32cafc,_0x156cc2){return _0x32cafc||_0x156cc2;},_0x317b82['xqXqB']=_0x4d3dcb(0x14b),_0x317b82[_0x4d3dcb(0xbf)]=_0x4d3dcb(0x13b);const _0x11a764=_0x317b82;if(!this[_0x4d3dcb(0xff)]()||!globals['getGlobal'](_0x11a764[_0x4d3dcb(0xcf)])||!_0x261854&&!globals[_0x4d3dcb(0xa8)](_0x11a764['CKkcY'])){logger['warn'](_0x11a764[_0x4d3dcb(0xef)]);return;}const _0x1a3e45=_0x261854?_0x11a764[_0x4d3dcb(0x100)](_0x55218d,{}):globals[_0x4d3dcb(0xa8)](_0x11a764[_0x4d3dcb(0xbb)])||{},_0x10fd6b={};_0x10fd6b['method']=_0x387051||global[_0x4d3dcb(0xc5)];const _0x3e07bc=Object[_0x4d3dcb(0x8e)]({},_0x1a3e45,_0x10fd6b);await this[_0x4d3dcb(0x168)](_0x473c2d)&&(Object[_0x4d3dcb(0x8e)](_0x3e07bc,this[_0x4d3dcb(0x91)](),{'thTestRunUuid':this[_0x4d3dcb(0xe2)]()}),logger[_0x4d3dcb(0x14a)](_0x11a764[_0x4d3dcb(0xbf)]));logger[_0x4d3dcb(0x14a)](_0x4d3dcb(0x159)+util['format']('%j',_0x3e07bc));const _0x47c92a={};return _0x47c92a[_0x4d3dcb(0x15c)]=_0x387051,await PerformanceTester[_0x4d3dcb(0x141)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x469245=_0x4d3dcb;try{await _0x473c2d[_0x469245(0x139)](()=>_0x473c2d['executeScript'](_0x469245(0xfb)),0x1388);}catch(_0x19a8fb){}const _0x2e7472=util['format'](await _0x473c2d[_0x469245(0x186)](scripts[_0x469245(0x185)],_0x3e07bc));return logger[_0x469245(0x14a)](_0x469245(0x192)+_0x2e7472),_0x2e7472;},_0x47c92a)();},exports[a108_0x582bbf(0xce)]=async(_0x352774,_0x47f7a2)=>{const _0x1f1e34=a108_0x582bbf,_0x3befc9={};_0x3befc9[_0x1f1e34(0x13a)]=_0x1f1e34(0xd7),_0x3befc9['DCAaG']=_0x1f1e34(0x166),_0x3befc9[_0x1f1e34(0xbe)]='bstackA11yShouldScan',_0x3befc9['ovByT']=_0x1f1e34(0x9f),_0x3befc9[_0x1f1e34(0x11e)]='getAccessibilityResults',_0x3befc9[_0x1f1e34(0x132)]='No\x20accessibility\x20results\x20were\x20found.';const _0x25ac58=_0x3befc9;if(!this['isAccessibilityAutomationSession']()||!globals['getGlobal'](_0x25ac58[_0x1f1e34(0x150)])||!globals['getGlobal'](_0x25ac58[_0x1f1e34(0xbe)]))return logger[_0x1f1e34(0x90)](_0x25ac58[_0x1f1e34(0x86)]),[];try{const _0x38d0d7=await this['isMobileAccessibilitySession'](_0x352774),_0x2bf772=_0x38d0d7?Object[_0x1f1e34(0x8e)]({},this[_0x1f1e34(0x91)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x38d0d7&&logger[_0x1f1e34(0x14a)]('getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20'+util[_0x1f1e34(0xe7)]('%j',_0x2bf772)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1f1e34(0x10f)],async()=>{const _0x170e6a=_0x1f1e34;logger['debug'](_0x25ac58[_0x170e6a(0x13a)]);const _0x4272e8={};_0x4272e8[_0x170e6a(0x101)]=_0x47f7a2['browserstackSessionName'];const _0x495084=Object[_0x170e6a(0x8e)](_0x4272e8,_0x2bf772);logger[_0x170e6a(0x14a)](util[_0x170e6a(0xe7)](await _0x352774[_0x170e6a(0x186)](scripts[_0x170e6a(0x185)],_0x495084)));},{'command':_0x25ac58[_0x1f1e34(0x11e)]})(),await PerformanceTester[_0x1f1e34(0x141)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x7c74a4=_0x1f1e34,_0x41894d=_0x38d0d7?await _0x352774['executeAsyncScript'](scripts[_0x7c74a4(0x17d)],_0x2bf772):await _0x352774[_0x7c74a4(0x186)](scripts[_0x7c74a4(0x17d)]);return _0x41894d;})();}catch{return logger[_0x1f1e34(0x18f)](_0x25ac58[_0x1f1e34(0x132)]),[];}},exports[a108_0x582bbf(0x17e)]=async(_0x462908,_0x37b47f)=>{const _0x5306c4=a108_0x582bbf,_0x26461b={};_0x26461b[_0x5306c4(0x11a)]=_0x5306c4(0xad),_0x26461b[_0x5306c4(0x13f)]=_0x5306c4(0x166),_0x26461b['gMUdW']=_0x5306c4(0x95),_0x26461b[_0x5306c4(0xf4)]=_0x5306c4(0x151),_0x26461b[_0x5306c4(0x18d)]=_0x5306c4(0x17e),_0x26461b[_0x5306c4(0xb9)]=_0x5306c4(0x94);const _0x1b31c9=_0x26461b;if(!this[_0x5306c4(0xff)]()||!globals[_0x5306c4(0xa8)](_0x1b31c9[_0x5306c4(0x13f)])||!globals[_0x5306c4(0xa8)](_0x1b31c9[_0x5306c4(0xaa)]))return logger[_0x5306c4(0x90)](_0x1b31c9[_0x5306c4(0xf4)]),{};try{const _0x1c7257=await this[_0x5306c4(0x168)](_0x462908),_0x44639c=_0x1c7257?Object[_0x5306c4(0x8e)]({},this[_0x5306c4(0x91)](),{'thTestRunUuid':this[_0x5306c4(0xe2)]()}):{};return _0x1c7257&&logger[_0x5306c4(0x14a)]('getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20'+util[_0x5306c4(0xe7)]('%j',_0x44639c)),await PerformanceTester[_0x5306c4(0x141)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x50ddc6=_0x5306c4;logger[_0x50ddc6(0x14a)](_0x1b31c9[_0x50ddc6(0x11a)]);const _0x3a2332={};_0x3a2332['method']=_0x37b47f[_0x50ddc6(0xc5)];const _0x43fbb5=Object['assign'](_0x3a2332,_0x44639c);logger['debug'](util['format'](await _0x462908['executeAsyncScript'](scripts[_0x50ddc6(0x185)],_0x43fbb5)));},{'command':_0x1b31c9[_0x5306c4(0x18d)]})(),await PerformanceTester[_0x5306c4(0x141)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x80056b=_0x5306c4,_0x3b4bba=_0x1c7257?await _0x462908[_0x80056b(0x186)](scripts['getResultsSummary'],_0x44639c):await _0x462908[_0x80056b(0x186)](scripts['getResultsSummary']);return _0x3b4bba;})();}catch{return logger[_0x5306c4(0x18f)](_0x1b31c9['afuiN']),{};}},exports[a108_0x582bbf(0x143)]=(_0x343063,_0x9087ed=![])=>{const _0x4f131a=a108_0x582bbf,_0x7012c6={'DMOtM':function(_0x32b41c,_0x454325){return _0x32b41c(_0x454325);},'vaKZu':_0x4f131a(0x147),'YyzYC':function(_0x49aee7,_0x4adf6a){return _0x49aee7!==_0x4adf6a;},'XtsKx':'android','WqlPY':function(_0x542f6d,_0x2b44d2){return _0x542f6d(_0x2b44d2);},'KStnb':_0x4f131a(0x199),'ggeaB':'chrome','hWnlu':'Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','RaOWw':_0x4f131a(0xf3)};try{if(!_0x343063)return![];const _0x5df754=_0x216190=>typeof _0x343063[_0x4f131a(0x152)]===_0x4f131a(0x128)?_0x343063[_0x4f131a(0x152)](_0x216190):_0x343063[_0x216190],_0x501d1c=_0x7012c6[_0x4f131a(0xf7)](String,_0x7012c6['DMOtM'](_0x5df754,_0x7012c6[_0x4f131a(0xf0)])||'')[_0x4f131a(0x161)]();if(_0x7012c6[_0x4f131a(0x14e)](_0x501d1c,_0x7012c6[_0x4f131a(0x117)]))return![];const _0x52a51f=_0x7012c6[_0x4f131a(0xf7)](String,_0x7012c6[_0x4f131a(0xf8)](_0x5df754,_0x7012c6[_0x4f131a(0x167)])||'')[_0x4f131a(0x161)]();if(!_0x52a51f[_0x4f131a(0x10c)](_0x7012c6['ggeaB']))return _0x9087ed&&logger['warn'](_0x7012c6[_0x4f131a(0xac)]),![];return logger[_0x4f131a(0x14a)](_0x7012c6[_0x4f131a(0xed)]),!![];}catch(_0x24e7c3){return logger[_0x4f131a(0x14a)](_0x4f131a(0x17f)+_0x24e7c3),![];}},exports[a108_0x582bbf(0x168)]=async _0x44393f=>{const _0x528fb2=a108_0x582bbf;try{const _0x5d2c18=await _0x44393f[_0x528fb2(0x115)]();return exports[_0x528fb2(0x143)](_0x5d2c18);}catch(_0x530e29){return logger[_0x528fb2(0x14a)](_0x528fb2(0x12f)+_0x530e29),![];}},exports[a108_0x582bbf(0x91)]=()=>{const _0x5f2383=a108_0x582bbf,_0x3c2f42={};return _0x3c2f42[_0x5f2383(0x157)]=!![],_0x3c2f42;},exports['resolveMobileThTestRunUuid']=()=>{const _0x165775=a108_0x582bbf,_0x3bc4cc={};_0x3bc4cc['qvxSf']=function(_0x1e739c,_0x463ea2){return _0x1e739c===_0x463ea2;},_0x3bc4cc[_0x165775(0x133)]=_0x165775(0xc9),_0x3bc4cc[_0x165775(0xd0)]=function(_0xd26d15,_0x8e8e9d){return _0xd26d15>_0x8e8e9d;},_0x3bc4cc[_0x165775(0x127)]=_0x165775(0x135),_0x3bc4cc['sacac']=_0x165775(0xc0),_0x3bc4cc[_0x165775(0x172)]=function(_0x1c9fce,_0x2168a7){return _0x1c9fce===_0x2168a7;},_0x3bc4cc[_0x165775(0xe4)]=_0x165775(0xb8);const _0x503b7f=_0x3bc4cc,_0x1c2239=global['__workerDetails'],_0x25334c=_0x1c2239&&_0x1c2239[_0x165775(0x98)],_0x14ca33=_0x25334c&&_0x25334c[_0x165775(0x87)];if(_0x503b7f[_0x165775(0x122)](typeof _0x14ca33,_0x503b7f[_0x165775(0x133)])&&_0x503b7f[_0x165775(0xd0)](_0x14ca33['length'],0x0))return _0x14ca33;let _0x2ef451;if(!_0x1c2239)_0x2ef451=_0x503b7f['mppmZ'];else!_0x25334c?_0x2ef451=_0x503b7f[_0x165775(0xb0)]:_0x2ef451='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object['keys'](_0x25334c)[_0x165775(0x9d)](',\x20')+_0x165775(0xa2)+(_0x503b7f[_0x165775(0x172)](_0x14ca33,undefined)?_0x503b7f[_0x165775(0xe4)]:'\x22'+_0x14ca33+'\x22')+_0x165775(0xb6);return logger[_0x165775(0x90)](_0x165775(0x142)+_0x2ef451+_0x165775(0x126)),'';},exports[a108_0x582bbf(0xf1)]=_0x5b9bb9=>{const _0x251ae8=a108_0x582bbf,_0xa7042c={};_0xa7042c[_0x251ae8(0x19b)]=function(_0x43bbd7,_0x3452d0){return _0x43bbd7===_0x3452d0;},_0xa7042c['yZiwL']=_0x251ae8(0xc9),_0xa7042c['Uwpwo']=_0x251ae8(0x145);const _0xe9b429=_0xa7042c;if(_0x5b9bb9&&_0x5b9bb9['script']&&_0xe9b429[_0x251ae8(0x19b)](typeof _0x5b9bb9[_0x251ae8(0x110)],_0xe9b429[_0x251ae8(0xba)]))return _0x5b9bb9[_0x251ae8(0x110)][_0x251ae8(0x10c)](_0xe9b429['Uwpwo']);return![];},exports['MOBILE_SCANNING_DISABLED_WARNING']='Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.',exports[a108_0x582bbf(0x11c)]=()=>process[a108_0x582bbf(0xd6)][a108_0x582bbf(0x125)]===a108_0x582bbf(0x191),exports['isBrowserSupportedForAccessibility']=_0x39eb9c=>{const _0x3be474=a108_0x582bbf,_0x2f2620={};_0x2f2620[_0x3be474(0x12a)]=function(_0x354aee,_0x5ed12e){return _0x354aee in _0x5ed12e;};const _0x2eb5ce=_0x2f2620;if(bsSetupHelper[_0x3be474(0x16c)](_0x39eb9c))return![];const _0x5315a7=_0x39eb9c[_0x3be474(0x161)]();return _0x2eb5ce[_0x3be474(0x12a)](_0x5315a7,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a108_0x582bbf(0x104)]=_0x1685a7=>{const _0x50a270=a108_0x582bbf;if(bsSetupHelper['isUndefined'](_0x1685a7))return null;const _0x4c8aa2=_0x1685a7[_0x50a270(0x161)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x4c8aa2]||null;},exports['getMinVersionForBrowser']=(_0x54f22b,_0x1e3cf7)=>{const _0x3793ee=a108_0x582bbf,_0x389291=this['getBrowserA11yConfig'](_0x54f22b);if(!_0x389291)return null;if(_0x1e3cf7)return _0x389291[_0x3793ee(0x118)];return _0x389291[_0x3793ee(0x131)];},exports['getBrowserDisplayName']=_0x1711a9=>{const _0x10f634=this['getBrowserA11yConfig'](_0x1711a9);return _0x10f634?_0x10f634['display_name']:_0x1711a9;},exports[a108_0x582bbf(0x18e)]=_0x2925e5=>{const _0x24eac6=a108_0x582bbf,_0x547dbe=this['getBrowserA11yConfig'](_0x2925e5);return _0x547dbe?_0x547dbe[_0x24eac6(0xc7)]:![];},exports[a108_0x582bbf(0x107)]=(_0x18be29,_0x17a918)=>{const _0x19fb06=a108_0x582bbf,_0x4ade30={'dqdHZ':function(_0x777b7b,_0x28803b){return _0x777b7b(_0x28803b);},'GwRgz':function(_0x2a0405,_0x7dc7b0){return _0x2a0405>=_0x7dc7b0;}};if(bsSetupHelper[_0x19fb06(0x16c)](_0x18be29)||bsSetupHelper[_0x19fb06(0x16c)](_0x17a918))return![];const _0x503b65=bsSetupHelper[_0x19fb06(0x173)](_0x4ade30[_0x19fb06(0x148)](String,_0x18be29),_0x4ade30[_0x19fb06(0x148)](String,_0x17a918));return _0x4ade30[_0x19fb06(0xf6)](_0x503b65,0x0);},exports[a108_0x582bbf(0xcc)]=_0xfacac4=>{const _0x2c7cf8=a108_0x582bbf,_0x592e92={};_0x592e92[_0x2c7cf8(0x119)]=function(_0x43c6df,_0x51138a){return _0x43c6df!==_0x51138a;},_0x592e92[_0x2c7cf8(0x13e)]=_0x2c7cf8(0xc9),_0x592e92[_0x2c7cf8(0xfc)]=_0x2c7cf8(0xd5);const _0xe517f5=_0x592e92;if(!_0xfacac4||_0xe517f5[_0x2c7cf8(0x119)](typeof _0xfacac4,_0xe517f5[_0x2c7cf8(0x13e)]))return null;try{return JSON[_0x2c7cf8(0xe5)](Buffer[_0x2c7cf8(0xd1)](_0xfacac4[_0x2c7cf8(0xab)]('.')[0x1],_0xe517f5[_0x2c7cf8(0xfc)])[_0x2c7cf8(0xaf)]());}catch{return null;}};
|
|
1
|
+
const a108_0x30129a=a108_0x272b;(function(_0x4e347c,_0xfe5ca2){const _0x55b8f5=a108_0x272b,_0x549679=_0x4e347c();while(!![]){try{const _0x43e553=parseInt(_0x55b8f5(0x216))/0x1*(parseInt(_0x55b8f5(0x1c4))/0x2)+parseInt(_0x55b8f5(0x2a8))/0x3*(parseInt(_0x55b8f5(0x2a1))/0x4)+parseInt(_0x55b8f5(0x25b))/0x5*(-parseInt(_0x55b8f5(0x296))/0x6)+parseInt(_0x55b8f5(0x2bf))/0x7*(-parseInt(_0x55b8f5(0x212))/0x8)+-parseInt(_0x55b8f5(0x286))/0x9*(-parseInt(_0x55b8f5(0x2b1))/0xa)+parseInt(_0x55b8f5(0x20d))/0xb+parseInt(_0x55b8f5(0x231))/0xc;if(_0x43e553===_0xfe5ca2)break;else _0x549679['push'](_0x549679['shift']());}catch(_0x26f8d2){_0x549679['push'](_0x549679['shift']());}}}(a108_0x1bd2,0x2a035));const path=require(a108_0x30129a(0x1cb)),util=require(a108_0x30129a(0x256)),bsSetupHelper=require(a108_0x30129a(0x271)),logger=require(a108_0x30129a(0x243))['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a108_0x30129a(0x221)),PerformanceTester=require(a108_0x30129a(0x1be)),scripts=require(a108_0x30129a(0x20b)),globals=require(a108_0x30129a(0x26e)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports[a108_0x30129a(0x2b6)]=async _0x49fbca=>{const _0x4cc663=a108_0x30129a,_0x4bf2a8={};_0x4bf2a8[_0x4cc663(0x268)]=function(_0xd6f9ce,_0x5e85f7){return _0xd6f9ce===_0x5e85f7;},_0x4bf2a8['uevUl']=_0x4cc663(0x233);const _0x4e8eed=_0x4bf2a8;let _0x4f5c8e={};try{const _0x274f39=await _0x49fbca[_0x4cc663(0x1f2)]();_0x4f5c8e={'os_name':_0x274f39[_0x4cc663(0x21e)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x4e8eed[_0x4cc663(0x268)](global[_0x4cc663(0x269)],_0x4e8eed[_0x4cc663(0x1d0)])),'browser_name':_0x274f39[_0x4cc663(0x201)](),'browser_version':_0x274f39[_0x4cc663(0x1e7)]()};}catch(_0x3bfafb){logger[_0x4cc663(0x2a0)](_0x4cc663(0x1c9)+_0x3bfafb);}return _0x4f5c8e;},exports[a108_0x30129a(0x1b4)]=()=>{const _0x1abe1f=a108_0x30129a,_0x153442={};_0x153442[_0x1abe1f(0x293)]=function(_0x2c37f6,_0x17eafd){return _0x2c37f6===_0x17eafd;},_0x153442[_0x1abe1f(0x279)]=_0x1abe1f(0x2b0),_0x153442['mGSSI']=function(_0xbb7230,_0x24c47e){return _0xbb7230>_0x24c47e;},_0x153442[_0x1abe1f(0x24b)]=function(_0x19b613,_0x1f3e4f){return _0x19b613!==_0x1f3e4f;},_0x153442[_0x1abe1f(0x264)]='null',_0x153442[_0x1abe1f(0x260)]=function(_0x5c5666,_0x32577a){return _0x5c5666&&_0x32577a;};const _0x28743d=_0x153442;try{const _0x3ffadd=bsSetupHelper[_0x1abe1f(0x25c)](process[_0x1abe1f(0x1da)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x1abe1f(0x25c)](process[_0x1abe1f(0x1da)][_0x1abe1f(0x2a4)]),_0x56f8ff=_0x28743d[_0x1abe1f(0x293)](typeof process['env'][_0x1abe1f(0x2b9)],_0x28743d[_0x1abe1f(0x279)])&&_0x28743d['mGSSI'](process[_0x1abe1f(0x1da)][_0x1abe1f(0x2b9)][_0x1abe1f(0x1d7)],0x0)&&_0x28743d[_0x1abe1f(0x24b)](process['env'][_0x1abe1f(0x2b9)],_0x28743d[_0x1abe1f(0x264)]);return _0x28743d[_0x1abe1f(0x260)](_0x3ffadd,_0x56f8ff);}catch(_0x572c12){logger[_0x1abe1f(0x2a0)]('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0x572c12);}return![];},exports[a108_0x30129a(0x29a)]=(_0x51fcd7,_0x2d06b3)=>{const _0x1629ef=a108_0x30129a,_0x109bf0={'fpWtJ':'browserName','yetyK':function(_0x3c9c09,_0x38e5d6){return _0x3c9c09(_0x38e5d6);},'TRSPM':_0x1629ef(0x1e9),'wfJbH':_0x1629ef(0x213),'YaOWc':'bstack:options','GHRhN':function(_0x324379,_0x599323){return _0x324379(_0x599323);},'hpoca':_0x1629ef(0x1de),'GvlgD':_0x1629ef(0x1fe),'HKjHf':_0x1629ef(0x27d),'rCOgk':_0x1629ef(0x1bd),'guQBS':_0x1629ef(0x2ae),'oGpjP':'options_','wrjAP':_0x1629ef(0x295),'SlLnY':_0x1629ef(0x297),'wKYXA':_0x1629ef(0x1cd),'ccAAH':_0x1629ef(0x1e3),'KDOZJ':function(_0x28a2b9,_0xd5c071){return _0x28a2b9===_0xd5c071;},'hPefz':_0x1629ef(0x227),'VsbJY':function(_0x3d20a7,_0xc90579){return _0x3d20a7>=_0xc90579;}},_0x5de560=_0x51fcd7[_0x1629ef(0x25a)](_0x109bf0[_0x1629ef(0x1c8)]),_0x497d51=_0x109bf0[_0x1629ef(0x27b)](parseFloat,_0x51fcd7[_0x1629ef(0x25a)](_0x109bf0['TRSPM']))||_0x109bf0[_0x1629ef(0x27b)](parseFloat,_0x51fcd7[_0x1629ef(0x25a)](_0x109bf0[_0x1629ef(0x1db)])),_0x3c0b39=_0x51fcd7['get'](_0x109bf0['YaOWc'])||{},_0x37fb87=_0x109bf0[_0x1629ef(0x1d2)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x4ab555=_0x3c0b39[_0x109bf0[_0x1629ef(0x1f3)]]||_0x51fcd7[_0x1629ef(0x25a)](_0x109bf0[_0x1629ef(0x1b2)])||![];if(_0x4ab555)return logger[_0x1629ef(0x250)](_0x109bf0['HKjHf']),![];let _0xac7c00;try{_0xac7c00=bsSetupHelper['requireModule'](_0x109bf0['rCOgk'],_0x109bf0['guQBS']);}catch(_0x52cc6b){return![];}const _0x131eaf=new _0xac7c00['Options'](_0x2d06b3[_0x1629ef(0x207)]),_0x2caddb=bsSetupHelper[_0x1629ef(0x28b)](_0x131eaf,[_0x109bf0['oGpjP'],_0x109bf0[_0x1629ef(0x292)]])||bsSetupHelper[_0x1629ef(0x28b)](_0x2d06b3[_0x1629ef(0x220)],[_0x109bf0[_0x1629ef(0x1dc)],_0x109bf0[_0x1629ef(0x1b5)],_0x109bf0['wrjAP']])||bsSetupHelper[_0x1629ef(0x28b)](_0x2d06b3[_0x1629ef(0x220)],[_0x109bf0['SlLnY'],_0x109bf0[_0x1629ef(0x292)]])||[],_0x172074=Array[_0x1629ef(0x1b1)](_0x2caddb)?_0x2caddb:[];if(_0x172074[_0x1629ef(0x29d)](_0x282e1c=>typeof _0x282e1c==='string'&&(_0x282e1c==='--headless'||_0x282e1c[_0x1629ef(0x22e)]('--headless=')&&_0x282e1c!==_0x1629ef(0x284))))return logger[_0x1629ef(0x250)](_0x109bf0[_0x1629ef(0x281)]),![];const _0x50a40a=_0x2d06b3[_0x1629ef(0x220)]||{},_0x1f33ef=bsSetupHelper[_0x1629ef(0x28b)](_0x50a40a,[_0x109bf0[_0x1629ef(0x1df)]])||{},_0x41d6de=bsSetupHelper[_0x1629ef(0x28b)](_0x1f33ef,[_0x109bf0[_0x1629ef(0x292)]])||[],_0x54d55a=Array[_0x1629ef(0x1b1)](_0x41d6de)?_0x41d6de:[];if(_0x54d55a[_0x1629ef(0x29d)](_0x3a4cfd=>typeof _0x3a4cfd===_0x1629ef(0x2b0)&&(_0x3a4cfd==='--headless'||_0x3a4cfd[_0x1629ef(0x22e)](_0x1629ef(0x1d4))&&_0x3a4cfd!==_0x1629ef(0x284))))return logger[_0x1629ef(0x250)](_0x109bf0['wKYXA']),![];if(_0x109bf0[_0x1629ef(0x1cc)](_0x5de560[_0x1629ef(0x253)](),_0x109bf0[_0x1629ef(0x277)])&&_0x109bf0['VsbJY'](_0x497d51,_0x37fb87))return!![];return logger['warn'](_0x1629ef(0x1e4)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a108_0x30129a(0x26c)]=_0x4e2708=>{const _0x42a1fc=a108_0x30129a,_0x2902e0={};_0x2902e0['pKKmG']=_0x42a1fc(0x1e3),_0x2902e0[_0x42a1fc(0x257)]=function(_0x5dfb5b,_0x2e9317){return _0x5dfb5b||_0x2e9317;},_0x2902e0[_0x42a1fc(0x2ab)]=_0x42a1fc(0x248);const _0x1d184a=_0x2902e0,_0x49277f=scripts[_0x42a1fc(0x1f9)];try{const _0x44f992=bsSetupHelper[_0x42a1fc(0x25c)](process[_0x42a1fc(0x1da)][_0x42a1fc(0x263)])||bsSetupHelper['isTrue'](process['env'][_0x42a1fc(0x2a4)]);if((!bsSetupHelper[_0x42a1fc(0x245)]()||process[_0x42a1fc(0x1da)]['BROWSERSTACK_TURBOSCALE'])&&_0x44f992){const _0x30ddc1=_0x4e2708[_0x42a1fc(0x1f2)](),_0x3e2ba3=_0x30ddc1[_0x42a1fc(0x25a)](_0x1d184a['pKKmG']),_0x377e87=_0x1d184a[_0x42a1fc(0x257)](_0x3e2ba3,{});bsSetupHelper[_0x42a1fc(0x2ad)](_0x377e87,_0x49277f),_0x4e2708[_0x42a1fc(0x1f2)]()['set'](_0x1d184a[_0x42a1fc(0x270)],_0x377e87);}else logger[_0x42a1fc(0x250)](_0x1d184a[_0x42a1fc(0x2ab)]);}catch(_0x94f359){logger['error'](_0x42a1fc(0x251)+_0x94f359);}},exports[a108_0x30129a(0x21c)]=(_0x22a5c4=null,_0x253aa5=!![],_0x9281ae=[])=>{const _0x97c089=a108_0x30129a,_0x5c5cef={};_0x5c5cef[_0x97c089(0x290)]=function(_0x3acc9a,_0x23380b){return _0x3acc9a==_0x23380b;},_0x5c5cef[_0x97c089(0x1c1)]=function(_0x3d616e,_0xc8ffb){return _0x3d616e>_0xc8ffb;},_0x5c5cef[_0x97c089(0x1b9)]=function(_0x808c35,_0x25e9ab){return _0x808c35===_0x25e9ab;},_0x5c5cef[_0x97c089(0x276)]=function(_0x42bd6e,_0x3f7001){return _0x42bd6e&&_0x3f7001;},_0x5c5cef['uTygb']=function(_0x23dc44,_0x429dd6){return _0x23dc44===_0x429dd6;};const _0x3cdf24=_0x5c5cef;if(_0x3cdf24[_0x97c089(0x290)](process['env'][_0x97c089(0x262)],null))return!![];try{const _0x26b56c=JSON['parse'](process[_0x97c089(0x1da)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x27861d=Array[_0x97c089(0x1b1)](_0x26b56c[_0x97c089(0x2b5)])?_0x26b56c[_0x97c089(0x2b5)]:[],_0x28e6d5=Array[_0x97c089(0x1b1)](_0x26b56c[_0x97c089(0x206)])?_0x26b56c[_0x97c089(0x206)]:[],_0x3b6280=_0x1b8c0c=>typeof _0x1b8c0c==='string'?_0x1b8c0c['replace'](/^@/,'')['toLowerCase']()[_0x97c089(0x1f6)]():_0x1b8c0c;if(bsSetupHelper[_0x97c089(0x20a)](_0x22a5c4)){if(_0x3cdf24[_0x97c089(0x1c1)](_0x9281ae['length'],0x0)){const _0x512d9f=_0x9281ae[_0x97c089(0x23e)](_0x3b6280),_0x2cd2a3=_0x28e6d5['some'](_0x3007fd=>_0x512d9f[_0x97c089(0x239)](_0x3b6280(_0x3007fd))),_0x2fa166=_0x3cdf24[_0x97c089(0x1b9)](_0x27861d[_0x97c089(0x1d7)],0x0)||_0x27861d['some'](_0x1b31cd=>_0x512d9f[_0x97c089(0x239)](_0x3b6280(_0x1b31cd)));return _0x3cdf24['ohxeX'](!_0x2cd2a3,_0x2fa166);}return!![];}let _0x1287f2;_0x253aa5?_0x1287f2=_0x22a5c4[_0x97c089(0x299)]('/'):_0x1287f2=_0x22a5c4;const _0x1c29e1=_0x28e6d5[_0x97c089(0x29d)](_0x377d32=>_0x1287f2[_0x97c089(0x253)]()[_0x97c089(0x239)](_0x3b6280(_0x377d32)['toLowerCase']())),_0x3bfbda=_0x3cdf24[_0x97c089(0x215)](_0x27861d['length'],0x0)||_0x27861d[_0x97c089(0x29d)](_0x2224b5=>_0x1287f2['toLowerCase']()['includes'](_0x3b6280(_0x2224b5)['toLowerCase']()));return _0x3cdf24[_0x97c089(0x276)](!_0x1c29e1,_0x3bfbda);}catch(_0x1ebbe7){logger[_0x97c089(0x2a0)](_0x97c089(0x278)+util[_0x97c089(0x2b4)](_0x1ebbe7));}return![];},exports[a108_0x30129a(0x1e6)]=_0x3d3577=>{const _0x195af7=a108_0x30129a;let _0x149eda=![];try{_0x3d3577['platforms'][_0x195af7(0x203)](_0x8e5e24=>{const _0x17046e=_0x195af7;if(bsSetupHelper[_0x17046e(0x25c)](_0x8e5e24[_0x17046e(0x22a)]))return _0x149eda=!![],!![];});}catch(_0x5e1ec0){logger[_0x195af7(0x2a0)](_0x195af7(0x24f)+_0x5e1ec0);}return _0x149eda||bsSetupHelper[_0x195af7(0x25c)](_0x3d3577[_0x195af7(0x22a)]);},exports[a108_0x30129a(0x29b)]=PerformanceTester[a108_0x30129a(0x27f)]('a11y:start',async function(_0x32ea92,_0x17b11f){const _0x4332e6=a108_0x30129a,_0x170154={};_0x170154[_0x4332e6(0x1c7)]=_0x4332e6(0x29e),_0x170154[_0x4332e6(0x25f)]=_0x4332e6(0x27a),_0x170154[_0x4332e6(0x1ce)]=_0x4332e6(0x23d),_0x170154[_0x4332e6(0x1eb)]='application/json',_0x170154[_0x4332e6(0x22b)]=_0x4332e6(0x291),_0x170154['VcLKF']=_0x4332e6(0x1ba),_0x170154[_0x4332e6(0x205)]=function(_0x3625ed,_0x975725){return _0x3625ed===_0x975725;},_0x170154['uWIrq']='Invalid\x20configuration\x20passed.',_0x170154[_0x4332e6(0x1f8)]='false';const _0x5e219e=_0x170154,_0x139bb1=bsSetupHelper[_0x4332e6(0x280)](_0x32ea92),_0x7b8b23=bsSetupHelper[_0x4332e6(0x282)](_0x32ea92);if(bsSetupHelper[_0x4332e6(0x20a)](_0x139bb1)||bsSetupHelper[_0x4332e6(0x20a)](_0x7b8b23))return logger[_0x4332e6(0x241)](_0x5e219e[_0x4332e6(0x1c7)]),[null,null];try{let _0x17b0fe;bsSetupHelper[_0x4332e6(0x20a)](process[_0x4332e6(0x1da)][_0x4332e6(0x262)])?_0x17b0fe={}:_0x17b0fe=JSON[_0x4332e6(0x1ff)](process[_0x4332e6(0x1da)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x2effb2,version:_0x481b46}=bsSetupHelper[_0x4332e6(0x246)](_0x32ea92,_0x17b11f),_0x5c49ae={'projectName':_0x32ea92['projectName'],'buildName':_0x32ea92[_0x4332e6(0x211)]||path[_0x4332e6(0x285)](path[_0x4332e6(0x237)](process[_0x4332e6(0x204)]())),'startTime':new Date()[_0x4332e6(0x1b8)](),'description':_0x32ea92['buildDescription']||'','source':{'frameworkName':_0x17b11f[_0x4332e6(0x239)](_0x5e219e[_0x4332e6(0x25f)])?_0x5e219e[_0x4332e6(0x25f)]:_0x17b11f,'frameworkVersion':bsSetupHelper[_0x4332e6(0x266)](_0x17b11f),'sdkVersion':bsSetupHelper[_0x4332e6(0x235)](),'language':_0x5e219e[_0x4332e6(0x1ce)],'testFramework':_0x2effb2,'testFrameworkVersion':_0x481b46},'settings':_0x17b0fe,'versionControl':await bsSetupHelper[_0x4332e6(0x283)](),'ciInfo':bsSetupHelper[_0x4332e6(0x1d6)](),'hostInfo':bsSetupHelper[_0x4332e6(0x274)](),'browserstackAutomation':bsSetupHelper[_0x4332e6(0x245)]()},_0x26d6e0={};_0x26d6e0['user']=_0x139bb1,_0x26d6e0[_0x4332e6(0x258)]=_0x7b8b23;const _0x5bbf21={};_0x5bbf21[_0x4332e6(0x26b)]=_0x5e219e[_0x4332e6(0x1eb)];const _0x3a8f4b={};_0x3a8f4b[_0x4332e6(0x289)]=_0x26d6e0,_0x3a8f4b[_0x4332e6(0x1c0)]=_0x5bbf21;const _0xc02202=_0x3a8f4b,_0xb91883={};_0xb91883[_0x4332e6(0x287)]=_0x5c49ae,_0xb91883[_0x4332e6(0x229)]=!![];const _0x8f973f=Object[_0x4332e6(0x294)](_0xc02202,_0xb91883),_0x1b3dd6=await bsSetupHelper['nodeRequest'](_0x5e219e[_0x4332e6(0x22b)],_0x5e219e[_0x4332e6(0x1e5)],_0x8f973f,_0x32ea92,API_URL);let _0x9d4f99=process[_0x4332e6(0x1da)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x9d4f99?_0x9d4f99=JSON[_0x4332e6(0x1ff)](process[_0x4332e6(0x1da)][_0x4332e6(0x262)]):_0x9d4f99={},scripts['parseFromJson'](_0x1b3dd6['data'][_0x4332e6(0x1ef)]),scripts[_0x4332e6(0x1c6)](),_0x9d4f99[_0x4332e6(0x1fb)]=_0x1b3dd6['data'][_0x4332e6(0x1ef)][_0x4332e6(0x1fb)],process['env'][_0x4332e6(0x262)]=JSON[_0x4332e6(0x265)](_0x9d4f99),[_0x1b3dd6[_0x4332e6(0x1ef)][_0x4332e6(0x1ef)]['accessibilityToken'],_0x1b3dd6[_0x4332e6(0x1ef)][_0x4332e6(0x1ef)]['id']];}catch(_0x5cc463){if(_0x5cc463['response'])logger[_0x4332e6(0x241)](_0x4332e6(0x254)+_0x5cc463['response']['status']+'\x20'+_0x5cc463[_0x4332e6(0x2b8)]['statusText']+'\x20'+JSON['stringify'](_0x5cc463[_0x4332e6(0x2b8)]['data']));else{if(_0x5e219e[_0x4332e6(0x205)](_0x5cc463['message'],_0x5e219e[_0x4332e6(0x200)])){logger[_0x4332e6(0x241)](_0x4332e6(0x254)+(_0x5cc463[_0x4332e6(0x236)]||_0x5cc463[_0x4332e6(0x210)]));for(const _0x3d24c9 of _0x5cc463[_0x4332e6(0x1fa)]){logger[_0x4332e6(0x241)](_0x3d24c9[_0x4332e6(0x236)]);}process[_0x4332e6(0x1da)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5e219e[_0x4332e6(0x1f8)],process[_0x4332e6(0x1da)][_0x4332e6(0x2a4)]=_0x5e219e['POaXk'];}else logger[_0x4332e6(0x241)](_0x4332e6(0x254)+(_0x5cc463[_0x4332e6(0x236)]||_0x5cc463[_0x4332e6(0x210)]));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester['measureWrapper'](a108_0x30129a(0x244),async function(_0x2818bf){const _0x4d8597=a108_0x30129a,_0x20a09e={};_0x20a09e['jZUvw']=function(_0x42b8e8,_0x28c39d){return _0x42b8e8!==_0x28c39d;},_0x20a09e[_0x4d8597(0x20f)]=_0x4d8597(0x2b0),_0x20a09e[_0x4d8597(0x1e2)]=_0x4d8597(0x241),_0x20a09e[_0x4d8597(0x2b7)]=_0x4d8597(0x209),_0x20a09e[_0x4d8597(0x232)]=_0x4d8597(0x1b7),_0x20a09e[_0x4d8597(0x2a7)]='PUT',_0x20a09e[_0x4d8597(0x249)]='test_runs/stop',_0x20a09e[_0x4d8597(0x219)]=function(_0x20e0f7,_0x3a4119){return _0x20e0f7+_0x3a4119;},_0x20a09e[_0x4d8597(0x22f)]=_0x4d8597(0x2ba),_0x20a09e[_0x4d8597(0x1f0)]=_0x4d8597(0x222);const _0x323e84=_0x20a09e;if(bsSetupHelper[_0x4d8597(0x20a)](process[_0x4d8597(0x1da)]['BS_A11Y_JWT'])||_0x323e84['jZUvw'](typeof process['env'][_0x4d8597(0x2b9)],_0x323e84['VNJBz'])){const _0x3f2301={};return _0x3f2301['status']=_0x323e84[_0x4d8597(0x1e2)],_0x3f2301[_0x4d8597(0x236)]=_0x323e84['UulkT'],_0x3f2301;}const _0x3d85d7={'endTime':new Date()[_0x4d8597(0x1b8)]()},_0x47ba55={};_0x47ba55[_0x4d8597(0x21d)]=_0x4d8597(0x2c0)+process['env'][_0x4d8597(0x2b9)],_0x47ba55[_0x4d8597(0x26b)]=_0x323e84[_0x4d8597(0x232)];const _0x25bc73={};_0x25bc73[_0x4d8597(0x1c0)]=_0x47ba55;const _0x40f27f=_0x25bc73,_0x377813={};_0x377813['body']=_0x3d85d7,_0x377813['auth']=null,_0x377813[_0x4d8597(0x229)]=!![];const _0x510e25=Object[_0x4d8597(0x294)](_0x40f27f,_0x377813);try{const _0x336fd7=await bsSetupHelper[_0x4d8597(0x20e)](_0x323e84[_0x4d8597(0x2a7)],_0x323e84[_0x4d8597(0x249)],_0x510e25,_0x2818bf,API_URL);if(_0x336fd7[_0x4d8597(0x1ef)]['error'])throw new Error(_0x323e84['WEHmy'](_0x323e84[_0x4d8597(0x22f)],_0x336fd7[_0x4d8597(0x1ef)][_0x4d8597(0x241)]));else{logger[_0x4d8597(0x20c)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()['toISOString']());const _0x386a48={};return _0x386a48['status']=_0x323e84[_0x4d8597(0x1f0)],_0x386a48[_0x4d8597(0x236)]='',_0x386a48;}}catch(_0x492e07){_0x492e07['response']?logger[_0x4d8597(0x241)](_0x4d8597(0x208)+_0x492e07[_0x4d8597(0x2b8)][_0x4d8597(0x1fd)]+'\x20'+_0x492e07['response'][_0x4d8597(0x275)]+'\x20'+JSON[_0x4d8597(0x265)](_0x492e07[_0x4d8597(0x2b8)][_0x4d8597(0x1ef)])):logger['error'](_0x4d8597(0x208)+(_0x492e07[_0x4d8597(0x236)]||util['format'](_0x492e07)));const _0x3220c5={};return _0x3220c5[_0x4d8597(0x1fd)]=_0x323e84[_0x4d8597(0x1e2)],_0x3220c5['message']=_0x492e07[_0x4d8597(0x236)]||(_0x492e07[_0x4d8597(0x2b8)]?_0x492e07[_0x4d8597(0x2b8)][_0x4d8597(0x1fd)]+':'+_0x492e07[_0x4d8597(0x2b8)][_0x4d8597(0x275)]:_0x492e07),_0x3220c5;}}),exports['performScan']=async(_0x687091,_0x59dfb3=null,_0x1d6f9a=![],_0xcf5a08=null)=>{const _0x3be8ed=a108_0x30129a,_0x278668={};_0x278668[_0x3be8ed(0x2bd)]='isAccessibilityPlatform',_0x278668[_0x3be8ed(0x225)]=_0x3be8ed(0x202),_0x278668['CRlrj']=_0x3be8ed(0x23a),_0x278668['LVgep']=function(_0x124242,_0x650753){return _0x124242||_0x650753;},_0x278668[_0x3be8ed(0x26a)]='bstackA11yScanOptions',_0x278668[_0x3be8ed(0x23c)]='performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments';const _0xf2d7e=_0x278668;if(!this[_0x3be8ed(0x1b4)]()||!globals[_0x3be8ed(0x28c)](_0xf2d7e[_0x3be8ed(0x2bd)])||!_0x1d6f9a&&!globals['getGlobal'](_0xf2d7e[_0x3be8ed(0x225)])){logger['warn'](_0xf2d7e['CRlrj']);return;}const _0x4c98d2=_0x1d6f9a?_0xf2d7e[_0x3be8ed(0x2af)](_0xcf5a08,{}):globals[_0x3be8ed(0x28c)](_0xf2d7e[_0x3be8ed(0x26a)])||{},_0x1ea3ee={};_0x1ea3ee[_0x3be8ed(0x2bc)]=_0x59dfb3||global[_0x3be8ed(0x234)];const _0x1d767f=Object[_0x3be8ed(0x294)]({},_0x4c98d2,_0x1ea3ee);await this['isMobileAccessibilitySession'](_0x687091)&&(Object['assign'](_0x1d767f,this[_0x3be8ed(0x2aa)](),{'thTestRunUuid':this[_0x3be8ed(0x2ac)]()}),logger[_0x3be8ed(0x2a0)](_0xf2d7e[_0x3be8ed(0x23c)]));logger[_0x3be8ed(0x2a0)](_0x3be8ed(0x28f)+util['format']('%j',_0x1d767f));const _0x58ccf8={};return _0x58ccf8[_0x3be8ed(0x259)]=_0x59dfb3,await PerformanceTester[_0x3be8ed(0x27f)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x27adeb=_0x3be8ed;try{await _0x687091[_0x27adeb(0x228)](()=>_0x687091['executeScript'](_0x27adeb(0x23f)),0x1388);}catch(_0x40ceaa){}const _0x587aff=util[_0x27adeb(0x2b4)](await _0x687091[_0x27adeb(0x22c)](scripts[_0x27adeb(0x223)],_0x1d767f));return logger[_0x27adeb(0x2a0)](_0x27adeb(0x1c2)+_0x587aff),_0x587aff;},_0x58ccf8)();},exports[a108_0x30129a(0x23b)]=async(_0x2c87c1,_0x1b0789)=>{const _0x4fd222=a108_0x30129a,_0x2fd051={};_0x2fd051[_0x4fd222(0x1b3)]='Performing\x20scan\x20before\x20getting\x20results',_0x2fd051[_0x4fd222(0x238)]=_0x4fd222(0x1b0),_0x2fd051['Okmpj']='bstackA11yShouldScan',_0x2fd051['SFHYi']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x2fd051['ePOlu']=_0x4fd222(0x23b),_0x2fd051[_0x4fd222(0x28e)]=_0x4fd222(0x1d1);const _0x55ce17=_0x2fd051;if(!this['isAccessibilityAutomationSession']()||!globals['getGlobal'](_0x55ce17[_0x4fd222(0x238)])||!globals[_0x4fd222(0x28c)](_0x55ce17[_0x4fd222(0x1bc)]))return logger['warn'](_0x55ce17[_0x4fd222(0x21b)]),[];try{const _0x2ad382=await this[_0x4fd222(0x1ed)](_0x2c87c1),_0x2cf1ce=_0x2ad382?Object[_0x4fd222(0x294)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x4fd222(0x2ac)]()}):{};return _0x2ad382&&logger[_0x4fd222(0x2a0)]('getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20'+util[_0x4fd222(0x2b4)]('%j',_0x2cf1ce)),await PerformanceTester[_0x4fd222(0x27f)](PerformanceA11yEvents[_0x4fd222(0x1dd)],async()=>{const _0x39cff6=_0x4fd222;logger[_0x39cff6(0x2a0)](_0x55ce17[_0x39cff6(0x1b3)]);const _0x18c8c0={};_0x18c8c0[_0x39cff6(0x2bc)]=_0x1b0789[_0x39cff6(0x234)];const _0x22e7f1=Object[_0x39cff6(0x294)](_0x18c8c0,_0x2cf1ce);logger['debug'](util[_0x39cff6(0x2b4)](await _0x2c87c1[_0x39cff6(0x22c)](scripts[_0x39cff6(0x223)],_0x22e7f1)));},{'command':_0x55ce17[_0x4fd222(0x1c3)]})(),await PerformanceTester[_0x4fd222(0x27f)](PerformanceA11yEvents[_0x4fd222(0x217)],async()=>{const _0x481f1=_0x4fd222,_0x1e83c3=_0x2ad382?await _0x2c87c1[_0x481f1(0x22c)](scripts[_0x481f1(0x2a2)],_0x2cf1ce):await _0x2c87c1[_0x481f1(0x22c)](scripts[_0x481f1(0x2a2)]);return _0x1e83c3;})();}catch{return logger[_0x4fd222(0x241)](_0x55ce17['hBWls']),[];}},exports[a108_0x30129a(0x2be)]=async(_0x365bcd,_0x53ec24)=>{const _0x32714b=a108_0x30129a,_0x408420={};_0x408420[_0x32714b(0x29c)]=_0x32714b(0x21f),_0x408420['zwZwy']=_0x32714b(0x1b0),_0x408420[_0x32714b(0x2a6)]=_0x32714b(0x202),_0x408420[_0x32714b(0x214)]=_0x32714b(0x1fc),_0x408420[_0x32714b(0x252)]=_0x32714b(0x2be),_0x408420[_0x32714b(0x273)]=_0x32714b(0x1f5);const _0x1cd36c=_0x408420;if(!this[_0x32714b(0x1b4)]()||!globals[_0x32714b(0x28c)](_0x1cd36c['zwZwy'])||!globals[_0x32714b(0x28c)](_0x1cd36c[_0x32714b(0x2a6)]))return logger['warn'](_0x1cd36c[_0x32714b(0x214)]),{};try{const _0x5699db=await this[_0x32714b(0x1ed)](_0x365bcd),_0x10dcc3=_0x5699db?Object['assign']({},this[_0x32714b(0x2aa)](),{'thTestRunUuid':this[_0x32714b(0x2ac)]()}):{};return _0x5699db&&logger[_0x32714b(0x2a0)](_0x32714b(0x21a)+util[_0x32714b(0x2b4)]('%j',_0x10dcc3)),await PerformanceTester[_0x32714b(0x27f)](PerformanceA11yEvents[_0x32714b(0x1dd)],async()=>{const _0x4b0fdb=_0x32714b;logger[_0x4b0fdb(0x2a0)](_0x1cd36c['UHxGj']);const _0x27f4f1={};_0x27f4f1['method']=_0x53ec24['browserstackSessionName'];const _0x1caea9=Object[_0x4b0fdb(0x294)](_0x27f4f1,_0x10dcc3);logger['debug'](util[_0x4b0fdb(0x2b4)](await _0x365bcd[_0x4b0fdb(0x22c)](scripts[_0x4b0fdb(0x223)],_0x1caea9)));},{'command':_0x1cd36c[_0x32714b(0x252)]})(),await PerformanceTester[_0x32714b(0x27f)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x238464=_0x32714b,_0x8a1c42=_0x5699db?await _0x365bcd[_0x238464(0x22c)](scripts[_0x238464(0x2b2)],_0x10dcc3):await _0x365bcd[_0x238464(0x22c)](scripts[_0x238464(0x2b2)]);return _0x8a1c42;})();}catch{return logger['error'](_0x1cd36c[_0x32714b(0x273)]),{};}},exports['isMobileAccessibilityPlatform']=(_0x54696a,_0xf7ea7f=![])=>{const _0x4f2812=a108_0x30129a,_0x27c86a={'pbiYB':function(_0x3d2931,_0x3c9fde){return _0x3d2931(_0x3c9fde);},'iUpBx':_0x4f2812(0x2a5),'NyBCx':function(_0x1f25a9,_0x58c667){return _0x1f25a9!==_0x58c667;},'UEKhU':'android','OFXXh':function(_0x3af242,_0x2bcfb9){return _0x3af242(_0x2bcfb9);},'GVbvk':_0x4f2812(0x22d),'WTekm':_0x4f2812(0x227),'AJURI':'Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','AFkdU':'Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)'};try{if(!_0x54696a)return![];const _0x1c16da=_0x19c83b=>typeof _0x54696a[_0x4f2812(0x25a)]===_0x4f2812(0x272)?_0x54696a[_0x4f2812(0x25a)](_0x19c83b):_0x54696a[_0x19c83b],_0x981845=_0x27c86a[_0x4f2812(0x1d9)](String,_0x27c86a[_0x4f2812(0x1d9)](_0x1c16da,_0x27c86a['iUpBx'])||'')[_0x4f2812(0x253)]();if(_0x27c86a['NyBCx'](_0x981845,_0x27c86a[_0x4f2812(0x1b6)]))return![];const _0x4cd959=_0x27c86a[_0x4f2812(0x1d9)](String,_0x27c86a[_0x4f2812(0x1bf)](_0x1c16da,_0x27c86a['GVbvk'])||'')[_0x4f2812(0x253)]();if(!_0x4cd959[_0x4f2812(0x239)](_0x27c86a['WTekm']))return _0xf7ea7f&&logger[_0x4f2812(0x250)](_0x27c86a[_0x4f2812(0x240)]),![];return logger[_0x4f2812(0x2a0)](_0x27c86a['AFkdU']),!![];}catch(_0x29b952){return logger[_0x4f2812(0x2a0)](_0x4f2812(0x2c1)+_0x29b952),![];}},exports[a108_0x30129a(0x1ed)]=async _0x4b077c=>{const _0x5148fe=a108_0x30129a;try{const _0x502ee2=await _0x4b077c[_0x5148fe(0x1f2)]();return exports[_0x5148fe(0x26d)](_0x502ee2);}catch(_0x4b5a59){return logger[_0x5148fe(0x2a0)](_0x5148fe(0x2bb)+_0x4b5a59),![];}},exports[a108_0x30129a(0x2aa)]=()=>{const _0x13baf3=a108_0x30129a,_0x1338d4={};return _0x1338d4[_0x13baf3(0x27c)]=!![],_0x1338d4;},exports[a108_0x30129a(0x2ac)]=()=>{const _0x37f1c8=a108_0x30129a,_0x1aaf46={};_0x1aaf46[_0x37f1c8(0x261)]=function(_0x559e9d,_0x10a7af){return _0x559e9d===_0x10a7af;},_0x1aaf46[_0x37f1c8(0x2a3)]='string',_0x1aaf46['dhyga']=function(_0x443050,_0x3d8927){return _0x443050>_0x3d8927;},_0x1aaf46[_0x37f1c8(0x298)]='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).',_0x1aaf46[_0x37f1c8(0x27e)]=_0x37f1c8(0x24a),_0x1aaf46[_0x37f1c8(0x28d)]='undefined';const _0x26359a=_0x1aaf46,_0x5cf707=global['__workerDetails'],_0x22fa36=_0x5cf707&&_0x5cf707[_0x37f1c8(0x1e8)],_0xe45e8b=_0x22fa36&&_0x22fa36[_0x37f1c8(0x24d)];if(_0x26359a['KxVbA'](typeof _0xe45e8b,_0x26359a[_0x37f1c8(0x2a3)])&&_0x26359a[_0x37f1c8(0x24e)](_0xe45e8b[_0x37f1c8(0x1d7)],0x0))return _0xe45e8b;let _0x2cfb1d;if(!_0x5cf707)_0x2cfb1d=_0x26359a[_0x37f1c8(0x298)];else!_0x22fa36?_0x2cfb1d=_0x26359a[_0x37f1c8(0x27e)]:_0x2cfb1d='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object[_0x37f1c8(0x247)](_0x22fa36)[_0x37f1c8(0x299)](',\x20')+_0x37f1c8(0x255)+(_0x26359a[_0x37f1c8(0x261)](_0xe45e8b,undefined)?_0x26359a['rMZxD']:'\x22'+_0xe45e8b+'\x22')+_0x37f1c8(0x28a);return logger[_0x37f1c8(0x250)](_0x37f1c8(0x218)+_0x2cfb1d+_0x37f1c8(0x29f)),'';},exports['isBrowserStackCommandExecutor']=_0x56bbc4=>{const _0x18008d=a108_0x30129a,_0x8afac0={};_0x8afac0[_0x18008d(0x1f4)]=function(_0x414192,_0x2539ea){return _0x414192===_0x2539ea;},_0x8afac0[_0x18008d(0x1ea)]=_0x18008d(0x2b0),_0x8afac0['xkGii']=_0x18008d(0x224);const _0x354bce=_0x8afac0;if(_0x56bbc4&&_0x56bbc4[_0x18008d(0x2b3)]&&_0x354bce['GwzCy'](typeof _0x56bbc4[_0x18008d(0x2b3)],_0x354bce[_0x18008d(0x1ea)]))return _0x56bbc4[_0x18008d(0x2b3)]['includes'](_0x354bce['xkGii']);return![];},exports[a108_0x30129a(0x1f1)]=a108_0x30129a(0x226),exports[a108_0x30129a(0x230)]=()=>process[a108_0x30129a(0x1da)][a108_0x30129a(0x1e0)]===a108_0x30129a(0x1d3),exports[a108_0x30129a(0x25e)]=_0x473f3b=>{const _0x55475c=a108_0x30129a,_0x249c5f={};_0x249c5f['qsJfx']=function(_0x3b2e3f,_0x3ed06){return _0x3b2e3f in _0x3ed06;};const _0x5118ee=_0x249c5f;if(bsSetupHelper[_0x55475c(0x20a)](_0x473f3b))return![];const _0x258d85=_0x473f3b[_0x55475c(0x253)]();return _0x5118ee[_0x55475c(0x2a9)](_0x258d85,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a108_0x30129a(0x1f7)]=_0x3c00c8=>{const _0x143cae=a108_0x30129a;if(bsSetupHelper[_0x143cae(0x20a)](_0x3c00c8))return null;const _0x5b96bd=_0x3c00c8[_0x143cae(0x253)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x5b96bd]||null;},exports['getMinVersionForBrowser']=(_0x331b2d,_0x33ada7)=>{const _0x363088=a108_0x30129a,_0x25f7c7=this['getBrowserA11yConfig'](_0x331b2d);if(!_0x25f7c7)return null;if(_0x33ada7)return _0x25f7c7[_0x363088(0x242)];return _0x25f7c7['min_version_non_browserstack'];},exports[a108_0x30129a(0x25d)]=_0x19d4ef=>{const _0x2ef999=a108_0x30129a,_0x5f2ea7=this[_0x2ef999(0x1f7)](_0x19d4ef);return _0x5f2ea7?_0x5f2ea7[_0x2ef999(0x1d5)]:_0x19d4ef;},exports[a108_0x30129a(0x288)]=_0x3db2fe=>{const _0x36c2e7=a108_0x30129a,_0x338916=this[_0x36c2e7(0x1f7)](_0x3db2fe);return _0x338916?_0x338916[_0x36c2e7(0x1ca)]:![];},exports[a108_0x30129a(0x1c5)]=(_0x2044be,_0x432c01)=>{const _0x396723=a108_0x30129a,_0x1ce480={'kSaiN':function(_0xa6a700,_0x47b3d3){return _0xa6a700(_0x47b3d3);},'FdccB':function(_0x24098e,_0x495a1d){return _0x24098e(_0x495a1d);},'lTLVz':function(_0x38a382,_0x159488){return _0x38a382>=_0x159488;}};if(bsSetupHelper[_0x396723(0x20a)](_0x2044be)||bsSetupHelper['isUndefined'](_0x432c01))return![];const _0x41935f=bsSetupHelper[_0x396723(0x26f)](_0x1ce480[_0x396723(0x1cf)](String,_0x2044be),_0x1ce480['FdccB'](String,_0x432c01));return _0x1ce480['lTLVz'](_0x41935f,0x0);},exports[a108_0x30129a(0x24c)]=_0x20d90c=>{const _0x5de97d=a108_0x30129a,_0x58abc9={};_0x58abc9[_0x5de97d(0x1d8)]=function(_0x5df359,_0x5a2862){return _0x5df359!==_0x5a2862;},_0x58abc9[_0x5de97d(0x1ee)]=_0x5de97d(0x2b0),_0x58abc9[_0x5de97d(0x1e1)]=_0x5de97d(0x1bb);const _0x5ba5f4=_0x58abc9;if(!_0x20d90c||_0x5ba5f4[_0x5de97d(0x1d8)](typeof _0x20d90c,_0x5ba5f4[_0x5de97d(0x1ee)]))return null;try{return JSON[_0x5de97d(0x1ff)](Buffer[_0x5de97d(0x1ec)](_0x20d90c[_0x5de97d(0x267)]('.')[0x1],_0x5ba5f4['XrhxJ'])['toString']());}catch{return null;}};function a108_0x272b(_0x137c9e,_0x1ad665){const _0x1bd2ad=a108_0x1bd2();return a108_0x272b=function(_0x272bb3,_0x3e6b71){_0x272bb3=_0x272bb3-0x1b0;let _0xa1c63e=_0x1bd2ad[_0x272bb3];return _0xa1c63e;},a108_0x272b(_0x137c9e,_0x1ad665);}function a108_0x1bd2(){const _0x3a81b7=['scannerVersion','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','status','device','parse','uWIrq','getBrowserName','bstackA11yShouldScan','forEach','cwd','qtnRJ','excludeTagsInTestingScope','chromeOptions_','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','Build\x20creation\x20had\x20failed.','isUndefined','./scripts','info','1104565eVJtAY','nodeRequest','VNJBz','stack','buildName','8WOpXoV','version','gmuuK','uTygb','5LpMOGH','GET_RESULTS','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','WEHmy','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','SFHYi','shouldScanTestForAccessibility','Authorization','getPlatform','Performing\x20scan\x20before\x20getting\x20results\x20summary','capabilities_','./constants','success','performScan','browserstack_executor','dcorc','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','chrome','wait','json','accessibility','bjQvq','executeAsyncScript','browserName','startsWith','rENXD','isMobileScanningEnabledForGroup','2362140iHNXHG','IKVhH','browserstack','browserstackSessionName','getAgentVersion','message','resolve','eUMPU','includes','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','getAccessibilityResults','HPtGz','javascript','map','return\x20document.readyState\x20===\x20\x22complete\x22','AJURI','error','min_version_browserstack','../logger','a11y:stop','isBrowserstackInfra','getTestFrameworkDetails','keys','Not\x20a\x20Accessibility\x20Session','POCDE','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','HROVr','parseA11yJwtPayload','thTestRunUuid','dhyga','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','warn','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','UnCjz','toLowerCase','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20',']\x20but\x20thTestRunUuid\x20is\x20','util','XruRN','pass','command','get','10IbULpN','isTrue','getBrowserDisplayName','isBrowserSupportedForAccessibility','VFmgp','ptUoQ','KxVbA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_TEST_ACCESSIBILITY_YML','yweIS','stringify','getPackageVersion','split','okhNy','__cloud_provider___','YrggH','Content-Type','setNonBstackInfraCapabilities','isMobileAccessibilityPlatform','../globals','compareVersions','pKKmG','../helper','function','LxRJT','getHostInfo','statusText','ohxeX','hPefz','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','CphOh','playwright','yetyK','is_mobile_session','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','zQzvg','measureWrapper','getUserName','wKYXA','getAccessKey','getGitMetaData','--headless=new','basename','52524DzDpDI','body','requiresChromeOptionsValidation','auth','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','nestedKeyValue','getGlobal','rMZxD','hBWls','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','hHxlt','POST','wrjAP','voGja','assign','args','623334AaAqPs','chromeOptions','ETJfu','join','nonBstackPlatformValidation','createAccessibilityTestRun','UHxGj','some','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','\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.','debug','4XslYii','getResults','xsWTp','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','platformName','mEszu','klEXc','196434yaXksc','qsJfx','getMobileA11yCapabilities','USgfq','resolveMobileThTestRunUuid','mergeDeep','selenium-webdriver','LVgep','string','100vpIfZE','getResultsSummary','script','format','includeTagsInTestingScope','fetchPlatformDetails','UulkT','response','BS_A11Y_JWT','Invalid\x20request:\x20','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','method','SaaoE','getAccessibilityResultsSummary','764715YPZtOl','Bearer\x20','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','isAccessibilityPlatform','isArray','GvlgD','KiDoA','isAccessibilityAutomationSession','SlLnY','UEKhU','application/json','toISOString','UiNEQ','v2/test_runs','base64','Okmpj','selenium-webdriver/chrome.js','../performance/performance-tester','OFXXh','headers','VaqNk','Performed\x20scan\x20with\x20result:\x20','ePOlu','27204ZFBDNC','isVersionSupported','toJson','EgFxV','fpWtJ','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','requires_chrome_options_check','path','KDOZJ','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','VajTH','kSaiN','uevUl','No\x20accessibility\x20results\x20were\x20found.','GHRhN','true','--headless=','display_name','getCiInfo','length','qrNzh','pbiYB','env','wfJbH','YaOWc','PERFORM_SCAN','deviceName','ccAAH','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','XrhxJ','IAFgF','goog:chromeOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','VcLKF','checkAccessibilityPlatformConfig','getBrowserVersion','currentTest','browserVersion','nWpBV','HmuFc','from','isMobileAccessibilitySession','NYBia','data','bahKo','MOBILE_SCANNING_DISABLED_WARNING','getCapabilities','hpoca','GwzCy','No\x20accessibility\x20summary\x20was\x20found.','trim','getBrowserA11yConfig','POaXk','ChromeExtension','errors'];a108_0x1bd2=function(){return _0x3a81b7;};return a108_0x1bd2();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a109_0x7adc(){const _0x1e1e4d=['getName','scan','.browserstack','debug','GzmpR','ffOMe','Ctasi','toJson','15312FPFIjv','getCommand','saveTestResults','existsSync','ChromeExtension','ESXOF','saveResults','getResultsSummary','459206bjEKIP','getMethod','KeaXi','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','performScan','winstonLogger','commands','scripts','../helper','browserstackFolderPath','WmpGl','findIndex','getResults','ntcnO','161skrakj','80Gpkydm','parseFromProto','commandsPath','4JluZlk','3490urHIaQ','parseFromJson','toLowerCase','nonBStackInfraA11yChromeOptions','54CHTWJu','split','commandsToWrap','2392235QxUcsW','mkdirSync','2817997rgLWBi','1590174GhLjbG','JDGWa','vHuEO','944811vaWpww','path','exports','length','fromJson','RrKbh','shouldWrapCommand','stringify'];a109_0x7adc=function(){return _0x1e1e4d;};return a109_0x7adc();}const a109_0x319218=a109_0x364e;(function(_0x46a703,_0x8b53e4){const _0x8528bb=a109_0x364e,_0x22b86e=_0x46a703();while(!![]){try{const _0x8e3643=-parseInt(_0x8528bb(0x1dd))/0x1*(-parseInt(_0x8528bb(0x1e2))/0x2)+parseInt(_0x8528bb(0x1ef))/0x3+parseInt(_0x8528bb(0x1e1))/0x4*(-parseInt(_0x8528bb(0x1e9))/0x5)+parseInt(_0x8528bb(0x1ec))/0x6+-parseInt(_0x8528bb(0x1eb))/0x7+-parseInt(_0x8528bb(0x1ff))/0x8*(parseInt(_0x8528bb(0x1e6))/0x9)+parseInt(_0x8528bb(0x1de))/0xa*(parseInt(_0x8528bb(0x1cf))/0xb);if(_0x8e3643===_0x8b53e4)break;else _0x22b86e['push'](_0x22b86e['shift']());}catch(_0x29c387){_0x22b86e['push'](_0x22b86e['shift']());}}}(a109_0x7adc,0x49d29));const path=require(a109_0x319218(0x1f0)),fs=require('fs'),logger=require('../../helpers/logger')[a109_0x319218(0x1d4)],helper=require(a109_0x319218(0x1d7));class Scripts{constructor(){const _0x45dad0=a109_0x319218,_0x2d46f0={};_0x2d46f0[_0x45dad0(0x1fb)]='3|4|0|6|2|5|1',_0x2d46f0[_0x45dad0(0x1fd)]=_0x45dad0(0x1f9),_0x2d46f0[_0x45dad0(0x1d1)]='commands.json';const _0x2dbc90=_0x2d46f0,_0x284dd3=_0x2dbc90['GzmpR'][_0x45dad0(0x1e7)]('|');let _0x433e1d=0x0;while(!![]){switch(_0x284dd3[_0x433e1d++]){case'0':this[_0x45dad0(0x1ce)]=null;continue;case'1':this['fromJson']();continue;case'2':this[_0x45dad0(0x1d8)]=path['join'](helper['homedir'](),_0x2dbc90[_0x45dad0(0x1fd)]);continue;case'3':this[_0x45dad0(0x1d3)]=null;continue;case'4':this[_0x45dad0(0x1db)]=null;continue;case'5':this[_0x45dad0(0x1e0)]=path['join'](this[_0x45dad0(0x1d8)],_0x2dbc90[_0x45dad0(0x1d1)]);continue;case'6':this[_0x45dad0(0x201)]=null;continue;}break;}}[a109_0x319218(0x1e3)](_0x3883fa){const _0x3d9bce=a109_0x319218;_0x3883fa['scripts']&&(this[_0x3d9bce(0x1d3)]=_0x3883fa[_0x3d9bce(0x1d6)][_0x3d9bce(0x1f8)],this['getResults']=_0x3883fa[_0x3d9bce(0x1d6)][_0x3d9bce(0x1db)],this[_0x3d9bce(0x1ce)]=_0x3883fa['scripts'][_0x3d9bce(0x1ce)],this[_0x3d9bce(0x201)]=_0x3883fa[_0x3d9bce(0x1d6)]['saveResults']),this[_0x3d9bce(0x1e8)]=_0x3883fa[_0x3d9bce(0x1d5)],this[_0x3d9bce(0x203)]=_0x3883fa[_0x3d9bce(0x1e5)];}[a109_0x319218(0x1df)](_0x186c71,_0x3e6138){const _0x4fac47=a109_0x319218,_0x483b54={};_0x483b54['WXzuS']=function(_0x1c265d,_0x512352){return _0x1c265d>_0x512352;},_0x483b54[_0x4fac47(0x1f4)]=function(_0x4a0b5b,_0x13385a){return _0x4a0b5b===_0x13385a;},_0x483b54['ntcnO']=_0x4fac47(0x1f8),_0x483b54['JDGWa']=_0x4fac47(0x1db),_0x483b54[_0x4fac47(0x1d9)]=_0x4fac47(0x1ce),_0x483b54['GQDda']=function(_0x4ccffd,_0x313b37){return _0x4ccffd===_0x313b37;},_0x483b54[_0x4fac47(0x204)]=_0x4fac47(0x1cd),_0x483b54['ffOMe']=function(_0x1d7665,_0x38647b){return _0x1d7665>_0x38647b;};const _0x5a7e87=_0x483b54;if(_0x186c71&&_0x5a7e87['WXzuS'](_0x186c71['length'],0x0))for(const _0x53451 of _0x186c71){if(_0x5a7e87[_0x4fac47(0x1f4)](_0x53451[_0x4fac47(0x1f7)](),_0x5a7e87[_0x4fac47(0x1dc)]))this[_0x4fac47(0x1d3)]=_0x53451['getCommand']();else{if(_0x5a7e87[_0x4fac47(0x1f4)](_0x53451[_0x4fac47(0x1f7)](),_0x5a7e87[_0x4fac47(0x1ed)]))this[_0x4fac47(0x1db)]=_0x53451['getCommand']();else{if(_0x5a7e87[_0x4fac47(0x1f4)](_0x53451[_0x4fac47(0x1f7)](),_0x5a7e87[_0x4fac47(0x1d9)]))this[_0x4fac47(0x1ce)]=_0x53451[_0x4fac47(0x200)]();else _0x5a7e87['GQDda'](_0x53451[_0x4fac47(0x1f7)](),_0x5a7e87[_0x4fac47(0x204)])&&(this[_0x4fac47(0x201)]=_0x53451[_0x4fac47(0x200)]());}}}_0x3e6138&&_0x5a7e87[_0x4fac47(0x1fc)](_0x3e6138[_0x4fac47(0x1f2)],0x0)&&(this[_0x4fac47(0x1e8)]=_0x3e6138['map'](_0x3a1f0c=>{const _0x56e37e=_0x4fac47;return{'name':_0x3a1f0c[_0x56e37e(0x1f7)](),'method':_0x3a1f0c[_0x56e37e(0x1d0)](),'library':_0x3a1f0c['getLibrary'](),'module':_0x3a1f0c['getModule'](),'class':_0x3a1f0c['getClass']()};}));}[a109_0x319218(0x1f5)](_0x57260f){const _0x807f71=a109_0x319218,_0x360861={};_0x360861[_0x807f71(0x1ee)]=function(_0x4fda63,_0x24f0e9){return _0x4fda63!==_0x24f0e9;};const _0x4c6ce2=_0x360861;try{return _0x4c6ce2[_0x807f71(0x1ee)](this[_0x807f71(0x1e8)][_0x807f71(0x1da)](_0x512a52=>_0x512a52['name']['toLowerCase']()===_0x57260f[_0x807f71(0x1e4)]()),-0x1);}catch(_0x13bf86){logger[_0x807f71(0x1fa)](_0x807f71(0x1d2)+_0x13bf86);}return![];}[a109_0x319218(0x1fe)](){const _0x36539a=a109_0x319218;!fs[_0x36539a(0x202)](this[_0x36539a(0x1d8)])&&fs[_0x36539a(0x1ea)](this[_0x36539a(0x1d8)]),fs['writeFileSync'](this[_0x36539a(0x1e0)],JSON[_0x36539a(0x1f6)]({'scripts':{'scan':this[_0x36539a(0x1d3)],'getResults':this[_0x36539a(0x1db)],'getResultsSummary':this[_0x36539a(0x1ce)],'saveResults':this[_0x36539a(0x201)]},'commands':this[_0x36539a(0x1e8)],'nonBStackInfraA11yChromeOptions':this[_0x36539a(0x203)]}));}[a109_0x319218(0x1f3)](){const _0x742c7a=a109_0x319218,_0x549ff4={'xPNWm':function(_0x41819b,_0x33e69a){return _0x41819b(_0x33e69a);}};fs['existsSync'](this['commandsPath'])&&this[_0x742c7a(0x1e3)](_0x549ff4['xPNWm'](require,this[_0x742c7a(0x1e0)]));}}function a109_0x364e(_0x230a98,_0x535f5e){const _0x7adc45=a109_0x7adc();return a109_0x364e=function(_0x364e54,_0x5300d1){_0x364e54=_0x364e54-0x1cd;let _0x27d9a5=_0x7adc45[_0x364e54];return _0x27d9a5;},a109_0x364e(_0x230a98,_0x535f5e);}module[a109_0x319218(0x1f1)]=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a110_0x263d39=a110_0x480a;(function(_0x5d79f2,_0x3bd133){const _0x251e02=a110_0x480a,_0x223b02=_0x5d79f2();while(!![]){try{const _0x41ece9=-parseInt(_0x251e02(0x1de))/0x1+-parseInt(_0x251e02(0x1aa))/0x2*(-parseInt(_0x251e02(0x1e8))/0x3)+-parseInt(_0x251e02(0x1dc))/0x4*(parseInt(_0x251e02(0x178))/0x5)+parseInt(_0x251e02(0x1e6))/0x6*(-parseInt(_0x251e02(0x1e5))/0x7)+parseInt(_0x251e02(0x1c0))/0x8+parseInt(_0x251e02(0x1b3))/0x9*(parseInt(_0x251e02(0x18b))/0xa)+-parseInt(_0x251e02(0x182))/0xb*(parseInt(_0x251e02(0x190))/0xc);if(_0x41ece9===_0x3bd133)break;else _0x223b02['push'](_0x223b02['shift']());}catch(_0xf5922f){_0x223b02['push'](_0x223b02['shift']());}}}(a110_0x433a,0x5c152));function a110_0x433a(){const _0x59ec10=['Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','locatorType','fjOLv','../../bin/utils/constants','get','zwDBf','browserName','microsoftedge','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','message','path','getProjectName','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','aiHealing','../../helpers/timeoutPromise','getId','91064NnbfKR','aiHeal_userId','107851rvLlRs','firefox','GBgYd','BDTxQ','firefoxOptions_','\x22,\x20\x22tcgUrls\x22:\x20{\x22','log','189OkENcf','157218FPFqzo','TCG_REGION','1698621GMSrUC','./autoHealHelper','sZVkH','aiHeal_isGroupAIEnabled','TCG_URL','name_','VwMhc','initializeHealingCapabilities','set','getTestName','keys','pollResult','10AlfCBI','chPia','pVJvc','BrowserstackHealing.pollResult\x20method\x20timed\x20out','BrowserstackHealing','BrowserstackHealingSetTcgTokenFailed','aiSdkWrapper','error','value','OPmLT','39787FvYCto','aiHeal_sessionToken','FYmAG','../logger','using','setToken','ZKHXi','../../ai-sdk-node/bundle','framework','10buYqZh','POLL_HEALING_RESULT_TIMEOUT','iGrKP','parameters_','chrome','204ONZwFG','chromeOptions_','iImhl','winstonLogger','ieOptions_','BrowserstackHealing.logData\x20method\x20timed\x20out','../globals','split','logData','locatorValue','INyhn','BrowserstackHealing.setToken\x20method\x20timed\x20out','WPXJv','getSession','selector','mDZjC','\x20command','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','SET_TCG_TOKEN_TIMEOUT','zcnmj','then','BrowserstackHealingPollResultFailed','UjunF','config','capabilities_','handleFailure','2wWTjYU','vyEMa','map_','debug','toLowerCase','race','GIjZA','fromEntries','healFailure','1820673KzoOJn','RJMpK','_handleEvent','MunpC','getGlobal','initializeCapabilities','freeze','join','executeScript','replace','forEach','isSelfHealEnabled','ZYPGq','4248152wxrzFa','qVsfs','browserstackSessionName','XlqcJ','BrowserstackHealingLogDataFailed','HJAXM','AnaOd','DreoP','PehyI','cancel','setTcgToken','string'];a110_0x433a=function(){return _0x59ec10;};return a110_0x433a();}function a110_0x480a(_0x1f3025,_0x79e860){const _0x433ad3=a110_0x433a();return a110_0x480a=function(_0x480abf,_0x41492f){_0x480abf=_0x480abf-0x178;let _0x24a4bf=_0x433ad3[_0x480abf];return _0x24a4bf;},a110_0x480a(_0x1f3025,_0x79e860);}const path=require(a110_0x263d39(0x1d6)),{commandRepository}=require(a110_0x263d39(0x1e9)),constants=require(a110_0x263d39(0x1cf)),logger=require(a110_0x263d39(0x185))[a110_0x263d39(0x193)],globals=require(a110_0x263d39(0x196)),timeoutPromise=require(a110_0x263d39(0x1da)),isUndefinedOrNull=_0x162418=>_0x162418===undefined||_0x162418===null||_0x162418==='',isNotUndefinedOrNull=_0x278c1b=>!isUndefinedOrNull(_0x278c1b),isString=_0x5f1bfe=>isNotUndefinedOrNull(_0x5f1bfe)&&typeof _0x5f1bfe===a110_0x263d39(0x1cb);class AiSdkWrapper{constructor(){const _0x267c29=a110_0x263d39,_0x523508={'DreoP':function(_0x164156,_0x875d1a){return _0x164156(_0x875d1a);},'MunpC':_0x267c29(0x189)};this[_0x267c29(0x17c)]=undefined;try{this[_0x267c29(0x17c)]=_0x523508[_0x267c29(0x1c7)](require,path[_0x267c29(0x1ba)](__dirname,_0x523508[_0x267c29(0x1b6)]));}catch(_0x571a65){logger[_0x267c29(0x17f)]('Unable\x20to\x20load\x20healing\x20module,\x20error:\x20'+(_0x571a65&&_0x571a65[_0x267c29(0x1d5)]?_0x571a65['message']:''));}}[a110_0x263d39(0x1ef)](_0x54ba76){const _0x525af1=a110_0x263d39,_0x54c587={};_0x54c587['AnaOd']='newCapabilities',_0x54c587[_0x525af1(0x1c3)]=function(_0x34e850,_0x43df6e){return _0x34e850===_0x43df6e;},_0x54c587[_0x525af1(0x1a3)]=_0x525af1(0x18f),_0x54c587[_0x525af1(0x1d1)]=_0x525af1(0x1df),_0x54c587['GBgYd']=function(_0x206717,_0x5843ce){return _0x206717===_0x5843ce;},_0x54c587['EoYqA']='safari',_0x54c587[_0x525af1(0x1c8)]='edge',_0x54c587['qVsfs']=_0x525af1(0x1d3);const _0x3fdf3e=_0x54c587;try{const _0x58cdf4=this[_0x525af1(0x17c)][_0x525af1(0x1b8)](Object[_0x525af1(0x1b1)](_0x54ba76['getCapabilities']()[_0x525af1(0x1ac)]));console[_0x525af1(0x1e4)](_0x3fdf3e[_0x525af1(0x1c6)],_0x58cdf4);if(_0x3fdf3e[_0x525af1(0x1c3)](_0x58cdf4?.[_0x525af1(0x1d2)]?.[_0x525af1(0x1ae)](),_0x3fdf3e['zcnmj']))_0x54ba76[_0x525af1(0x191)]=_0x58cdf4;else{if(_0x3fdf3e[_0x525af1(0x1c3)](_0x58cdf4?.[_0x525af1(0x1d2)]?.[_0x525af1(0x1ae)](),_0x3fdf3e[_0x525af1(0x1d1)]))_0x54ba76[_0x525af1(0x1e2)]=_0x58cdf4;else{if(_0x3fdf3e[_0x525af1(0x1e0)](_0x58cdf4?.[_0x525af1(0x1d2)]?.[_0x525af1(0x1ae)](),_0x3fdf3e['EoYqA']))_0x54ba76['safariOptions_']=_0x58cdf4;else{if(_0x3fdf3e['GBgYd'](_0x58cdf4?.[_0x525af1(0x1d2)]?.[_0x525af1(0x1ae)](),_0x3fdf3e['PehyI'])||_0x3fdf3e[_0x525af1(0x1c3)](_0x58cdf4?.[_0x525af1(0x1d2)]?.[_0x525af1(0x1ae)](),_0x3fdf3e[_0x525af1(0x1c1)]))_0x54ba76['edgeOptions_']=_0x58cdf4;else _0x3fdf3e[_0x525af1(0x1c3)](_0x58cdf4?.[_0x525af1(0x1d2)]?.[_0x525af1(0x1ae)](),'ie')&&(_0x54ba76[_0x525af1(0x194)]=_0x58cdf4);}}}Object[_0x525af1(0x1f2)](_0x58cdf4)[_0x525af1(0x1bd)](_0x850082=>{const _0x32d1b2=_0x525af1,_0x2cc94a=_0x54ba76[_0x32d1b2(0x1a8)][_0x32d1b2(0x1d0)](_0x850082);_0x54ba76[_0x32d1b2(0x1a8)][_0x32d1b2(0x1f0)](_0x850082,_0x58cdf4[_0x850082]);});}catch(_0x3b6ecc){logger['error'](_0x525af1(0x1cc)+(_0x3b6ecc&&_0x3b6ecc[_0x525af1(0x1d5)]?_0x3b6ecc['message']:''));}}async[a110_0x263d39(0x1ca)](_0x3821a4){const _0x8a59d3=a110_0x263d39,_0x27f06b={'GIjZA':function(_0x413554,_0x2f81d6,_0x10d8ec,_0x132d33,_0x3d83de,_0x5852bc,_0x2f3165){return _0x413554(_0x2f81d6,_0x10d8ec,_0x132d33,_0x3d83de,_0x5852bc,_0x2f3165);},'OPmLT':_0x8a59d3(0x19b),'HJAXM':_0x8a59d3(0x17d),'VwMhc':'aiHeal_sessionToken'},_0x380ec1=new Date(),_0x4708b7=_0x27f06b[_0x8a59d3(0x1b0)](timeoutPromise,constants[_0x8a59d3(0x1a2)],_0x27f06b[_0x8a59d3(0x181)],_0x27f06b[_0x8a59d3(0x1c5)],_0x380ec1,this[_0x8a59d3(0x1a7)],this[_0x8a59d3(0x18a)]);await Promise[_0x8a59d3(0x1af)]([this['BrowserstackHealing'][_0x8a59d3(0x187)](_0x3821a4,globals[_0x8a59d3(0x1b7)](_0x27f06b[_0x8a59d3(0x1ee)]),constants['TCG_URL'])['then'](()=>{const _0x171792=_0x8a59d3;_0x4708b7[_0x171792(0x1c9)]();}),_0x4708b7]);}async['_handleEvent'](_0x4588a4,_0x1c9ecc,_0x11682c,_0x1e7871){const _0x1774e1=a110_0x263d39,_0x3a8059={'INyhn':function(_0xa63bcf,_0x456368){return _0xa63bcf===_0x456368;},'dBjXE':function(_0x37716c,_0x521905){return _0x37716c===_0x521905;},'RJMpK':function(_0x421018,_0x4281a0){return _0x421018(_0x4281a0);},'pVJvc':function(_0x2da804,_0x3ba3b7){return _0x2da804(_0x3ba3b7);},'FYmAG':function(_0x5f5280,_0xfea184){return _0x5f5280(_0xfea184);},'WPXJv':function(_0x3eeadf,_0x252d85){return _0x3eeadf(_0x252d85);},'QGqcw':function(_0x168939,_0x1f66e2){return _0x168939(_0x1f66e2);},'UFBJr':function(_0x4c23b7,_0x36428e){return _0x4c23b7(_0x36428e);},'chPia':function(_0x1cea5d,_0x4cdb4b){return _0x1cea5d(_0x4cdb4b);},'fjOLv':'s://','mDZjC':function(_0x3176ce,_0x4fb647){return _0x3176ce(_0x4fb647);},'vyEMa':_0x1774e1(0x1dd),'iImhl':'aiHeal_groupId','ZKHXi':_0x1774e1(0x1eb),'BDTxQ':function(_0x369229,_0x562493,_0x5e6376,_0x4e36c2,_0x14f13a,_0x5e9c71,_0x37e3ac){return _0x369229(_0x562493,_0x5e6376,_0x4e36c2,_0x14f13a,_0x5e9c71,_0x37e3ac);},'ZYPGq':_0x1774e1(0x195),'bHRGq':_0x1774e1(0x1c4),'iGrKP':'BrowserstackHealing.healFailure\x20method\x20timed\x20out','LgQoC':'BrowserstackHealingHealFailureFailed'},_0x188da4=(await _0x1c9ecc[_0x1774e1(0x19d)]())['getId']();let _0x3d2209='';if(commandRepository[_0x1774e1(0x1be)]()&&_0x3a8059[_0x1774e1(0x19a)](_0x1e7871,![])||_0x3a8059['dBjXE'](_0x1e7871,!![])){const _0x4a1ab8=_0x3a8059[_0x1774e1(0x1b4)](isNotUndefinedOrNull,_0x11682c[_0x1774e1(0x18e)]['using'])&&_0x3a8059[_0x1774e1(0x1b4)](isString,_0x11682c[_0x1774e1(0x18e)][_0x1774e1(0x186)])?_0x11682c['parameters_'][_0x1774e1(0x186)]['replace'](/'/g,'\x5c\x27')[_0x1774e1(0x1bc)](/"/g,'\x5c\x22'):'',_0x4c2861=_0x3a8059[_0x1774e1(0x17a)](isNotUndefinedOrNull,_0x11682c['parameters_'][_0x1774e1(0x186)])&&_0x3a8059[_0x1774e1(0x184)](isString,_0x11682c[_0x1774e1(0x18e)][_0x1774e1(0x180)])?_0x11682c[_0x1774e1(0x18e)][_0x1774e1(0x180)][_0x1774e1(0x1bc)](/'/g,'\x5c\x27')[_0x1774e1(0x1bc)](/"/g,'\x5c\x22'):'',_0x35fa51=_0x3a8059[_0x1774e1(0x19c)](isNotUndefinedOrNull,commandRepository[_0x1774e1(0x1d7)]())&&_0x3a8059['RJMpK'](isString,commandRepository['getProjectName']())?commandRepository[_0x1774e1(0x1d7)]()['replace'](/'/g,'\x5c\x27')[_0x1774e1(0x1bc)](/"/g,'\x5c\x22'):'';let _0x222fc4=_0x3a8059['QGqcw'](isNotUndefinedOrNull,global[_0x1774e1(0x1c2)])&&_0x3a8059['UFBJr'](isString,global['browserstackSessionName'])?global[_0x1774e1(0x1c2)][_0x1774e1(0x1bc)](/'/g,'\x5c\x27')[_0x1774e1(0x1bc)](/"/g,'\x5c\x22'):'';!_0x222fc4&&(_0x222fc4=_0x3a8059[_0x1774e1(0x179)](isNotUndefinedOrNull,commandRepository[_0x1774e1(0x1f1)]())&&_0x3a8059['UFBJr'](isString,commandRepository['getTestName']())?commandRepository[_0x1774e1(0x1f1)]()[_0x1774e1(0x1bc)](/'/g,'\x5c\x27')[_0x1774e1(0x1bc)](/"/g,'\x5c\x22'):'');let _0x2abcd8='{\x22region\x22:\x20\x22'+constants['TCG_REGION']+_0x1774e1(0x1e3)+constants[_0x1774e1(0x1e7)]+'\x22:\x20{\x22endpoint\x22:\x20\x22'+constants[_0x1774e1(0x1ec)][_0x1774e1(0x197)](_0x3a8059[_0x1774e1(0x1ce)])[0x1]+'\x22}}}';_0x2abcd8=_0x3a8059[_0x1774e1(0x19f)](isNotUndefinedOrNull,_0x2abcd8)&&_0x3a8059['RJMpK'](isString,_0x2abcd8)?_0x2abcd8['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';const _0x183301=commandRepository['getCommands'](_0x188da4),_0xf56739=globals[_0x1774e1(0x1b7)](_0x3a8059[_0x1774e1(0x1ab)]),_0x4447b7=globals[_0x1774e1(0x1b7)](_0x3a8059[_0x1774e1(0x192)]),_0x2be3c5=globals[_0x1774e1(0x1b7)](_0x3a8059[_0x1774e1(0x188)]),_0x3d865b=![],_0x436c19=new Date();if(_0x1e7871){const _0x3b8129=_0x3a8059[_0x1774e1(0x1e1)](timeoutPromise,constants['HEALING_LOG_DATA_TIMEOUT'],_0x3a8059[_0x1774e1(0x1bf)],_0x3a8059['bHRGq'],_0x436c19,this['config'],this[_0x1774e1(0x18a)]);_0x3d2209=await Promise[_0x1774e1(0x1af)]([this[_0x1774e1(0x17c)][_0x1774e1(0x198)](_0x4a1ab8,_0x4c2861,_0x35fa51,_0x222fc4,_0x4447b7,_0x188da4,_0x183301,_0x2abcd8)['then'](_0x155213=>{const _0x5f46df=_0x1774e1;return _0x3b8129[_0x5f46df(0x1c9)](),_0x155213;}),_0x3b8129]);}else{if(commandRepository[_0x1774e1(0x1be)]()){const _0x41c8d1=_0x3a8059[_0x1774e1(0x1e1)](timeoutPromise,constants['HEALING_FAILURE_TIMEOUT'],_0x3a8059[_0x1774e1(0x18d)],_0x3a8059['LgQoC'],_0x436c19,this[_0x1774e1(0x1a7)],this['framework']);_0x3d2209=await Promise[_0x1774e1(0x1af)]([this[_0x1774e1(0x17c)][_0x1774e1(0x1b2)](_0x4a1ab8,_0x4c2861,_0x35fa51,_0x222fc4,_0xf56739,_0x4447b7,_0x188da4,_0x183301,_0x3d865b,_0x2be3c5,_0x2abcd8)[_0x1774e1(0x1a4)](_0x347139=>{const _0x2bccb2=_0x1774e1;return _0x41c8d1[_0x2bccb2(0x1c9)](),_0x347139;}),_0x41c8d1]);}}_0x3d2209&&await _0x1c9ecc[_0x1774e1(0x1bb)](_0x3d2209);}}async['handleSuccess'](_0x292734,_0x103027,_0x38a400){const _0x7a28cc=a110_0x263d39;try{await this[_0x7a28cc(0x1b5)](_0x292734,_0x103027,_0x38a400,!![]);}catch(_0x39e03a){return logger[_0x7a28cc(0x17f)](_0x7a28cc(0x1a1)+(_0x39e03a&&_0x39e03a['message']?_0x39e03a['message']:'')),![];}return!![];}async[a110_0x263d39(0x1a9)](_0x410186,_0x51cf57,_0x41e241){const _0x3fefc6=a110_0x263d39,_0x26fdb6={'GGPSh':function(_0x5b00c2,_0x225123,_0x6606aa,_0x12dca3,_0x189265,_0x427c36,_0x2c1428){return _0x5b00c2(_0x225123,_0x6606aa,_0x12dca3,_0x189265,_0x427c36,_0x2c1428);},'UjunF':_0x3fefc6(0x17b),'bLoth':_0x3fefc6(0x1a5),'sZVkH':_0x3fefc6(0x183)};try{await this[_0x3fefc6(0x1b5)](_0x410186,_0x51cf57,_0x41e241,![]);const _0x41ec16=(await _0x51cf57[_0x3fefc6(0x19d)]())[_0x3fefc6(0x1db)](),_0x1442b7=new Date(),_0x229aef=_0x26fdb6['GGPSh'](timeoutPromise,constants[_0x3fefc6(0x18c)],_0x26fdb6[_0x3fefc6(0x1a6)],_0x26fdb6['bLoth'],_0x1442b7,this[_0x3fefc6(0x1a7)],this['framework']),_0x507d6c=await Promise[_0x3fefc6(0x1af)]([this[_0x3fefc6(0x17c)][_0x3fefc6(0x1f3)](constants[_0x3fefc6(0x1ec)],_0x41ec16,globals[_0x3fefc6(0x1b7)](_0x26fdb6[_0x3fefc6(0x1ea)]))[_0x3fefc6(0x1a4)](_0x1e1a46=>{const _0x22f924=_0x3fefc6;return _0x229aef[_0x22f924(0x1c9)](),_0x1e1a46;}),_0x229aef]);if(_0x507d6c&&_0x507d6c[_0x3fefc6(0x19e)]&&_0x507d6c[_0x3fefc6(0x180)]){const _0xbf0011={};return _0xbf0011[_0x3fefc6(0x1cd)]=_0x507d6c['selector'],_0xbf0011[_0x3fefc6(0x199)]=_0x507d6c[_0x3fefc6(0x180)],_0xbf0011[_0x3fefc6(0x1d9)]=!![],_0xbf0011;}const _0x27cbae={};return _0x27cbae[_0x3fefc6(0x1cd)]=_0x41e241[_0x3fefc6(0x18e)][_0x3fefc6(0x186)],_0x27cbae[_0x3fefc6(0x199)]=_0x507d6c['value'],_0x27cbae[_0x3fefc6(0x1d9)]=!![],_0x27cbae;}catch(_0x5e2265){return logger[_0x3fefc6(0x1ad)](_0x3fefc6(0x1d4)+(_0x5e2265&&_0x5e2265[_0x3fefc6(0x1d5)]?_0x5e2265['message']:'')),logger['info'](_0x3fefc6(0x1d8)+_0x41e241[_0x3fefc6(0x1ed)]+_0x3fefc6(0x1a0)),_0x41e241;}}}exports[a110_0x263d39(0x17e)]=Object[a110_0x263d39(0x1b9)](new AiSdkWrapper());
|
|
1
|
+
const a110_0x257822=a110_0x21f7;function a110_0x21f7(_0xb7f807,_0x3848a4){const _0x428e19=a110_0x428e();return a110_0x21f7=function(_0x21f7a4,_0x54891a){_0x21f7a4=_0x21f7a4-0x109;let _0x351563=_0x428e19[_0x21f7a4];return _0x351563;},a110_0x21f7(_0xb7f807,_0x3848a4);}(function(_0x40471e,_0x38c9ec){const _0x125f44=a110_0x21f7,_0x5ae734=_0x40471e();while(!![]){try{const _0x3d4a28=-parseInt(_0x125f44(0x173))/0x1+-parseInt(_0x125f44(0x162))/0x2*(parseInt(_0x125f44(0x11e))/0x3)+parseInt(_0x125f44(0x12e))/0x4*(parseInt(_0x125f44(0x13a))/0x5)+-parseInt(_0x125f44(0x112))/0x6+parseInt(_0x125f44(0x146))/0x7+parseInt(_0x125f44(0x14a))/0x8*(parseInt(_0x125f44(0x142))/0x9)+parseInt(_0x125f44(0x131))/0xa*(parseInt(_0x125f44(0x153))/0xb);if(_0x3d4a28===_0x38c9ec)break;else _0x5ae734['push'](_0x5ae734['shift']());}catch(_0x258a6f){_0x5ae734['push'](_0x5ae734['shift']());}}}(a110_0x428e,0xddc23));const path=require('path'),{commandRepository}=require(a110_0x257822(0x11a)),constants=require('../../bin/utils/constants'),logger=require(a110_0x257822(0x152))['winstonLogger'],globals=require('../globals'),timeoutPromise=require(a110_0x257822(0x16e)),isUndefinedOrNull=_0x550102=>_0x550102===undefined||_0x550102===null||_0x550102==='',isNotUndefinedOrNull=_0x1ae1a9=>!isUndefinedOrNull(_0x1ae1a9),isString=_0x4cc18b=>isNotUndefinedOrNull(_0x4cc18b)&&typeof _0x4cc18b===a110_0x257822(0x178);function a110_0x428e(){const _0x505449=['QSnOp','../../helpers/timeoutPromise','vPFQq','getId','TCG_URL','info','253851oThjqs','baGIl','wdzvC','Uzmqh','debug','string','nqpwg','XNTWJ','edge','logData','then','jZnPt','wvihr','selector','../../ai-sdk-node/bundle','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','txedI','2218572JLSFqU','TCG_REGION','BrowserstackHealingPollResultFailed','POLL_HEALING_RESULT_TIMEOUT','BrowserstackHealing.logData\x20method\x20timed\x20out','NpUPR','Mhbsp','BrowserstackHealingHealFailureFailed','./autoHealHelper','aiHeal_groupId','microsoftedge','get','27YAnjCh','DCdrs','MSHMH','join','_handleEvent','BrowserstackHealingLogDataFailed','locatorType','initializeCapabilities','HFkQC','setToken','map_','newCapabilities','race','parameters_','getCommands','locatorValue','56044vzlERc','fjfgT','getProjectName','6392540VTbDIT','ieOptions_','nLyiO','browserName','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','pBgMA','message','toLowerCase','chrome','50SnkRLK','config','edgeOptions_','KkPIR','handleSuccess','kaZZr','getTestName','cancel','15973677EEnbxS','using','BrowserstackHealingSetTcgTokenFailed','HEALING_FAILURE_TIMEOUT','4072271oNNsQV','replace','isSelfHealEnabled','BrowserstackHealing','8HqQkzZ','aiSdkWrapper','\x22:\x20{\x22endpoint\x22:\x20\x22','BrowserstackHealing.setToken\x20method\x20timed\x20out','initializeHealingCapabilities','framework','forEach','IqYov','../logger','11KNxtXt','aiHealing','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','set','capabilities_','KSket','\x22,\x20\x22tcgUrls\x22:\x20{\x22','\x20command','keys','getGlobal','chromeOptions_','getCapabilities','getSession','error','safari','356452uiMbqA','gNnNG','EdeNs','BrowserstackHealing.pollResult\x20method\x20timed\x20out','nbSPl','freeze','oFAUc','firefox','pollResult','value','aiHeal_sessionToken'];a110_0x428e=function(){return _0x505449;};return a110_0x428e();}class AiSdkWrapper{constructor(){const _0x2a6118=a110_0x257822,_0x2bb4d7={'WgINs':function(_0x40c45d,_0x3ec925){return _0x40c45d(_0x3ec925);},'KkPIR':_0x2a6118(0x10e)};this['BrowserstackHealing']=undefined;try{this[_0x2a6118(0x149)]=_0x2bb4d7['WgINs'](require,path[_0x2a6118(0x121)](__dirname,_0x2bb4d7[_0x2a6118(0x13d)]));}catch(_0x2fdad0){logger[_0x2a6118(0x160)]('Unable\x20to\x20load\x20healing\x20module,\x20error:\x20'+(_0x2fdad0&&_0x2fdad0[_0x2a6118(0x137)]?_0x2fdad0[_0x2a6118(0x137)]:''));}}[a110_0x257822(0x14e)](_0x29b440){const _0x4feb6d=a110_0x257822,_0x378f5e={};_0x378f5e[_0x4feb6d(0x10b)]=_0x4feb6d(0x129),_0x378f5e[_0x4feb6d(0x179)]=function(_0x50ae16,_0x21c66b){return _0x50ae16===_0x21c66b;},_0x378f5e[_0x4feb6d(0x111)]=_0x4feb6d(0x139),_0x378f5e[_0x4feb6d(0x117)]=function(_0x50c504,_0x32612b){return _0x50c504===_0x32612b;},_0x378f5e[_0x4feb6d(0x168)]=_0x4feb6d(0x169),_0x378f5e[_0x4feb6d(0x164)]=_0x4feb6d(0x161),_0x378f5e[_0x4feb6d(0x11f)]=function(_0x3155cf,_0x557bb8){return _0x3155cf===_0x557bb8;},_0x378f5e[_0x4feb6d(0x158)]=_0x4feb6d(0x17b),_0x378f5e[_0x4feb6d(0x151)]=_0x4feb6d(0x11c);const _0x40f95b=_0x378f5e;try{const _0x161903=this[_0x4feb6d(0x149)][_0x4feb6d(0x125)](Object['fromEntries'](_0x29b440[_0x4feb6d(0x15e)]()[_0x4feb6d(0x128)]));console['log'](_0x40f95b[_0x4feb6d(0x10b)],_0x161903);if(_0x40f95b[_0x4feb6d(0x179)](_0x161903?.[_0x4feb6d(0x134)]?.[_0x4feb6d(0x138)](),_0x40f95b[_0x4feb6d(0x111)]))_0x29b440[_0x4feb6d(0x15d)]=_0x161903;else{if(_0x40f95b[_0x4feb6d(0x117)](_0x161903?.['browserName']?.['toLowerCase'](),_0x40f95b[_0x4feb6d(0x168)]))_0x29b440['firefoxOptions_']=_0x161903;else{if(_0x40f95b[_0x4feb6d(0x179)](_0x161903?.[_0x4feb6d(0x134)]?.[_0x4feb6d(0x138)](),_0x40f95b[_0x4feb6d(0x164)]))_0x29b440['safariOptions_']=_0x161903;else{if(_0x40f95b[_0x4feb6d(0x11f)](_0x161903?.[_0x4feb6d(0x134)]?.['toLowerCase'](),_0x40f95b['KSket'])||_0x40f95b[_0x4feb6d(0x179)](_0x161903?.[_0x4feb6d(0x134)]?.[_0x4feb6d(0x138)](),_0x40f95b[_0x4feb6d(0x151)]))_0x29b440[_0x4feb6d(0x13c)]=_0x161903;else _0x40f95b[_0x4feb6d(0x179)](_0x161903?.['browserName']?.[_0x4feb6d(0x138)](),'ie')&&(_0x29b440[_0x4feb6d(0x132)]=_0x161903);}}}Object[_0x4feb6d(0x15b)](_0x161903)[_0x4feb6d(0x150)](_0x5d9148=>{const _0x493218=_0x4feb6d,_0x265efe=_0x29b440[_0x493218(0x157)][_0x493218(0x11d)](_0x5d9148);_0x29b440[_0x493218(0x157)][_0x493218(0x156)](_0x5d9148,_0x161903[_0x5d9148]);});}catch(_0x21d813){logger[_0x4feb6d(0x160)](_0x4feb6d(0x110)+(_0x21d813&&_0x21d813[_0x4feb6d(0x137)]?_0x21d813[_0x4feb6d(0x137)]:''));}}async['setTcgToken'](_0x726c33){const _0x479fd8=a110_0x257822,_0x553f9b={'wvihr':function(_0x2ef89c,_0x502cc7,_0x245704,_0x92ce78,_0x42beb8,_0x99fefd,_0x315b75){return _0x2ef89c(_0x502cc7,_0x245704,_0x92ce78,_0x42beb8,_0x99fefd,_0x315b75);},'ykTTp':_0x479fd8(0x14d),'BiRdu':_0x479fd8(0x144),'vPFQq':_0x479fd8(0x16c)},_0x39481f=new Date(),_0x5cdf72=_0x553f9b[_0x479fd8(0x10c)](timeoutPromise,constants['SET_TCG_TOKEN_TIMEOUT'],_0x553f9b['ykTTp'],_0x553f9b['BiRdu'],_0x39481f,this[_0x479fd8(0x13b)],this[_0x479fd8(0x14f)]);await Promise[_0x479fd8(0x12a)]([this[_0x479fd8(0x149)][_0x479fd8(0x127)](_0x726c33,globals[_0x479fd8(0x15c)](_0x553f9b[_0x479fd8(0x16f)]),constants['TCG_URL'])[_0x479fd8(0x10a)](()=>{const _0x3d2644=_0x479fd8;_0x5cdf72[_0x3d2644(0x141)]();}),_0x5cdf72]);}async[a110_0x257822(0x122)](_0x509c4a,_0x1a3c94,_0x269082,_0x16bcb8){const _0x6ffbfb=a110_0x257822,_0x56ec94={'gNnNG':function(_0x3a8979,_0x3edd90){return _0x3a8979===_0x3edd90;},'XNTWJ':function(_0x42f94a,_0x242d21){return _0x42f94a(_0x242d21);},'pBgMA':function(_0x4fc8d8,_0x2bb5bb){return _0x4fc8d8(_0x2bb5bb);},'MrTID':function(_0x5a72cb,_0x4b888c){return _0x5a72cb(_0x4b888c);},'Mhbsp':function(_0x48b839,_0x903899){return _0x48b839(_0x903899);},'QQACS':function(_0x5655e1,_0x12a2d1){return _0x5655e1(_0x12a2d1);},'nbSPl':'s://','HFkQC':function(_0x3ad46a,_0x5fbf3){return _0x3ad46a(_0x5fbf3);},'RyeKi':function(_0x5a1a5d,_0x2b0783){return _0x5a1a5d(_0x2b0783);},'Uzmqh':'aiHeal_userId','RyYla':_0x6ffbfb(0x11b),'fjfgT':'aiHeal_isGroupAIEnabled','baGIl':function(_0x631c54,_0x4b7918,_0x5c76fd,_0x412f07,_0xdb33b8,_0x2e8e6c,_0x379ed0){return _0x631c54(_0x4b7918,_0x5c76fd,_0x412f07,_0xdb33b8,_0x2e8e6c,_0x379ed0);},'QHelY':_0x6ffbfb(0x116),'MSHMH':_0x6ffbfb(0x123),'yDafv':function(_0x5cf663,_0x2c4d26,_0x36581f,_0x440639,_0x45b461,_0x59e552,_0x52182f){return _0x5cf663(_0x2c4d26,_0x36581f,_0x440639,_0x45b461,_0x59e552,_0x52182f);},'nLyiO':'BrowserstackHealing.healFailure\x20method\x20timed\x20out','QSnOp':_0x6ffbfb(0x119)},_0x330dd5=(await _0x1a3c94[_0x6ffbfb(0x15f)]())[_0x6ffbfb(0x170)]();let _0x2a7fed='';if(commandRepository['isSelfHealEnabled']()&&_0x56ec94[_0x6ffbfb(0x163)](_0x16bcb8,![])||_0x56ec94['gNnNG'](_0x16bcb8,!![])){const _0x4ad414=_0x56ec94['XNTWJ'](isNotUndefinedOrNull,_0x269082[_0x6ffbfb(0x12b)]['using'])&&_0x56ec94[_0x6ffbfb(0x17a)](isString,_0x269082[_0x6ffbfb(0x12b)][_0x6ffbfb(0x143)])?_0x269082[_0x6ffbfb(0x12b)][_0x6ffbfb(0x143)][_0x6ffbfb(0x147)](/'/g,'\x5c\x27')[_0x6ffbfb(0x147)](/"/g,'\x5c\x22'):'',_0x144fae=_0x56ec94['XNTWJ'](isNotUndefinedOrNull,_0x269082[_0x6ffbfb(0x12b)][_0x6ffbfb(0x143)])&&_0x56ec94['XNTWJ'](isString,_0x269082[_0x6ffbfb(0x12b)][_0x6ffbfb(0x16b)])?_0x269082[_0x6ffbfb(0x12b)][_0x6ffbfb(0x16b)]['replace'](/'/g,'\x5c\x27')[_0x6ffbfb(0x147)](/"/g,'\x5c\x22'):'',_0x928a0d=_0x56ec94[_0x6ffbfb(0x136)](isNotUndefinedOrNull,commandRepository[_0x6ffbfb(0x130)]())&&_0x56ec94['MrTID'](isString,commandRepository[_0x6ffbfb(0x130)]())?commandRepository[_0x6ffbfb(0x130)]()[_0x6ffbfb(0x147)](/'/g,'\x5c\x27')[_0x6ffbfb(0x147)](/"/g,'\x5c\x22'):'';let _0x420de1=_0x56ec94[_0x6ffbfb(0x118)](isNotUndefinedOrNull,global['browserstackSessionName'])&&_0x56ec94[_0x6ffbfb(0x136)](isString,global['browserstackSessionName'])?global['browserstackSessionName'][_0x6ffbfb(0x147)](/'/g,'\x5c\x27')[_0x6ffbfb(0x147)](/"/g,'\x5c\x22'):'';!_0x420de1&&(_0x420de1=_0x56ec94['pBgMA'](isNotUndefinedOrNull,commandRepository[_0x6ffbfb(0x140)]())&&_0x56ec94['QQACS'](isString,commandRepository[_0x6ffbfb(0x140)]())?commandRepository['getTestName']()[_0x6ffbfb(0x147)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'');let _0x35080a='{\x22region\x22:\x20\x22'+constants[_0x6ffbfb(0x113)]+_0x6ffbfb(0x159)+constants[_0x6ffbfb(0x113)]+_0x6ffbfb(0x14c)+constants['TCG_URL']['split'](_0x56ec94[_0x6ffbfb(0x166)])[0x1]+'\x22}}}';_0x35080a=_0x56ec94[_0x6ffbfb(0x126)](isNotUndefinedOrNull,_0x35080a)&&_0x56ec94['RyeKi'](isString,_0x35080a)?_0x35080a[_0x6ffbfb(0x147)](/'/g,'\x5c\x27')[_0x6ffbfb(0x147)](/"/g,'\x5c\x22'):'';const _0x4560aa=commandRepository[_0x6ffbfb(0x12c)](_0x330dd5),_0x55bdab=globals[_0x6ffbfb(0x15c)](_0x56ec94[_0x6ffbfb(0x176)]),_0x2e4bb3=globals[_0x6ffbfb(0x15c)](_0x56ec94['RyYla']),_0x5a9104=globals[_0x6ffbfb(0x15c)](_0x56ec94[_0x6ffbfb(0x12f)]),_0x19612b=![],_0x346016=new Date();if(_0x16bcb8){const _0xe1ffd7=_0x56ec94[_0x6ffbfb(0x174)](timeoutPromise,constants['HEALING_LOG_DATA_TIMEOUT'],_0x56ec94['QHelY'],_0x56ec94[_0x6ffbfb(0x120)],_0x346016,this[_0x6ffbfb(0x13b)],this[_0x6ffbfb(0x14f)]);_0x2a7fed=await Promise[_0x6ffbfb(0x12a)]([this['BrowserstackHealing'][_0x6ffbfb(0x109)](_0x4ad414,_0x144fae,_0x928a0d,_0x420de1,_0x2e4bb3,_0x330dd5,_0x4560aa,_0x35080a)[_0x6ffbfb(0x10a)](_0x544997=>{const _0x341572=_0x6ffbfb;return _0xe1ffd7[_0x341572(0x141)](),_0x544997;}),_0xe1ffd7]);}else{if(commandRepository[_0x6ffbfb(0x148)]()){const _0x353718=_0x56ec94['yDafv'](timeoutPromise,constants[_0x6ffbfb(0x145)],_0x56ec94[_0x6ffbfb(0x133)],_0x56ec94[_0x6ffbfb(0x16d)],_0x346016,this['config'],this[_0x6ffbfb(0x14f)]);_0x2a7fed=await Promise[_0x6ffbfb(0x12a)]([this[_0x6ffbfb(0x149)]['healFailure'](_0x4ad414,_0x144fae,_0x928a0d,_0x420de1,_0x55bdab,_0x2e4bb3,_0x330dd5,_0x4560aa,_0x19612b,_0x5a9104,_0x35080a)[_0x6ffbfb(0x10a)](_0x44f59c=>{return _0x353718['cancel'](),_0x44f59c;}),_0x353718]);}}_0x2a7fed&&await _0x1a3c94['executeScript'](_0x2a7fed);}}async[a110_0x257822(0x13e)](_0x57b5e4,_0x20f48d,_0x250e2b){const _0xe6f12c=a110_0x257822;try{await this[_0xe6f12c(0x122)](_0x57b5e4,_0x20f48d,_0x250e2b,!![]);}catch(_0x982b4){return logger[_0xe6f12c(0x160)](_0xe6f12c(0x135)+(_0x982b4&&_0x982b4[_0xe6f12c(0x137)]?_0x982b4[_0xe6f12c(0x137)]:'')),![];}return!![];}async['handleFailure'](_0xfded7a,_0xb56478,_0x372d47){const _0x1f8813=a110_0x257822,_0x276a54={'ULkBt':function(_0x334abe,_0x7e2e2b,_0x26d74f,_0x56832a,_0x41484d,_0x522024,_0xb37fb7){return _0x334abe(_0x7e2e2b,_0x26d74f,_0x56832a,_0x41484d,_0x522024,_0xb37fb7);},'kaZZr':_0x1f8813(0x165),'CqQvK':_0x1f8813(0x114),'wdzvC':_0x1f8813(0x16c)};try{await this[_0x1f8813(0x122)](_0xfded7a,_0xb56478,_0x372d47,![]);const _0xe4dc7e=(await _0xb56478[_0x1f8813(0x15f)]())[_0x1f8813(0x170)](),_0x20fc28=new Date(),_0x399f77=_0x276a54['ULkBt'](timeoutPromise,constants[_0x1f8813(0x115)],_0x276a54[_0x1f8813(0x13f)],_0x276a54['CqQvK'],_0x20fc28,this[_0x1f8813(0x13b)],this['framework']),_0x4ee7c0=await Promise['race']([this[_0x1f8813(0x149)][_0x1f8813(0x16a)](constants[_0x1f8813(0x171)],_0xe4dc7e,globals[_0x1f8813(0x15c)](_0x276a54[_0x1f8813(0x175)]))['then'](_0x110f9e=>{const _0x23a812=_0x1f8813;return _0x399f77[_0x23a812(0x141)](),_0x110f9e;}),_0x399f77]);if(_0x4ee7c0&&_0x4ee7c0[_0x1f8813(0x10d)]&&_0x4ee7c0[_0x1f8813(0x16b)]){const _0x1efd72={};return _0x1efd72[_0x1f8813(0x124)]=_0x4ee7c0['selector'],_0x1efd72[_0x1f8813(0x12d)]=_0x4ee7c0[_0x1f8813(0x16b)],_0x1efd72[_0x1f8813(0x154)]=!![],_0x1efd72;}const _0x3b0195={};return _0x3b0195['locatorType']=_0x372d47[_0x1f8813(0x12b)][_0x1f8813(0x143)],_0x3b0195[_0x1f8813(0x12d)]=_0x4ee7c0[_0x1f8813(0x16b)],_0x3b0195[_0x1f8813(0x154)]=!![],_0x3b0195;}catch(_0x3f6305){return logger[_0x1f8813(0x177)](_0x1f8813(0x155)+(_0x3f6305&&_0x3f6305[_0x1f8813(0x137)]?_0x3f6305[_0x1f8813(0x137)]:'')),logger[_0x1f8813(0x172)](_0x1f8813(0x10f)+_0x372d47['name_']+_0x1f8813(0x15a)),_0x372d47;}}}exports[a110_0x257822(0x14b)]=Object[a110_0x257822(0x167)](new AiSdkWrapper());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a111_0x3e65(_0x470876,_0x22e976){const _0x41c23f=a111_0x41c2();return a111_0x3e65=function(_0x3e65a4,_0x1a000c){_0x3e65a4=_0x3e65a4-0xb2;let _0x422f7a=_0x41c23f[_0x3e65a4];return _0x422f7a;},a111_0x3e65(_0x470876,_0x22e976);}const a111_0x40cd7b=a111_0x3e65;(function(_0x130eae,_0x4555e0){const _0x3b9825=a111_0x3e65,_0x29a923=_0x130eae();while(!![]){try{const _0x35c143=-parseInt(_0x3b9825(0xe5))/0x1*(parseInt(_0x3b9825(0xd8))/0x2)+-parseInt(_0x3b9825(0xed))/0x3+parseInt(_0x3b9825(0xde))/0x4+-parseInt(_0x3b9825(0xd9))/0x5*(parseInt(_0x3b9825(0xe6))/0x6)+-parseInt(_0x3b9825(0xc8))/0x7*(parseInt(_0x3b9825(0xc9))/0x8)+-parseInt(_0x3b9825(0xd4))/0x9*(-parseInt(_0x3b9825(0xd5))/0xa)+parseInt(_0x3b9825(0xc7))/0xb*(parseInt(_0x3b9825(0xd3))/0xc);if(_0x35c143===_0x4555e0)break;else _0x29a923['push'](_0x29a923['shift']());}catch(_0xa8942d){_0x29a923['push'](_0x29a923['shift']());}}}(a111_0x41c2,0xb1f77));const calculateTimeDiff=_0x2713e8=>Date[a111_0x40cd7b(0xcf)]()-_0x2713e8,logger=require(a111_0x40cd7b(0xce))[a111_0x40cd7b(0xe0)],globals=require(a111_0x40cd7b(0xc5));class HealingCommandRepo{constructor(){const _0x240ac4=a111_0x40cd7b,_0x19ef2a={};_0x19ef2a[_0x240ac4(0xc4)]=_0x240ac4(0xe7);const _0x25e684=_0x19ef2a,_0x348f9f=_0x25e684[_0x240ac4(0xc4)][_0x240ac4(0xf0)]('|');let _0x211be9=0x0;while(!![]){switch(_0x348f9f[_0x211be9++]){case'0':this[_0x240ac4(0xbe)]={};continue;case'1':this['projectName']='';continue;case'2':this[_0x240ac4(0xea)]=![];continue;case'3':this[_0x240ac4(0xbf)]={};continue;case'4':this[_0x240ac4(0xdf)]={};continue;case'5':this[_0x240ac4(0xbb)]='';continue;}break;}}[a111_0x40cd7b(0xb6)](_0x490734,_0x10414d){const _0x4cd797=a111_0x40cd7b,_0xb8586d={};_0xb8586d[_0x4cd797(0xd2)]=function(_0x1ac4e0,_0x52d376){return _0x1ac4e0 in _0x52d376;};const _0x2835ca=_0xb8586d;!_0x2835ca['TWQfW'](_0x490734,this['commands'])&&(this['commands'][_0x490734]=[]),this[_0x4cd797(0xbe)][_0x490734][_0x4cd797(0xbd)](_0x10414d);}[a111_0x40cd7b(0xb9)](_0x59234a,_0x1c0865){const _0x3bae24=a111_0x40cd7b,_0x3751cf={'Dgwod':function(_0x9222bb,_0x341328){return _0x9222bb(_0x341328);}},_0x391643=_0x1c0865[_0x3bae24(0xd7)],_0xea7d9f=_0x1c0865[_0x3bae24(0xdc)]['split'](_0x59234a)[0x1],_0x21d03e=this[_0x3bae24(0xbf)][_0x59234a],_0x5a1ec9={'k':_0x391643+':'+_0xea7d9f,'t':_0x3751cf[_0x3bae24(0xd0)](calculateTimeDiff,_0x21d03e)};this['_pushCommand'](_0x59234a,_0x5a1ec9);}['setAiSessionTimeStamp'](_0x2e8647){const _0x2685f5=a111_0x40cd7b;this[_0x2685f5(0xbf)][_0x2e8647]=Date['now']();}[a111_0x40cd7b(0xcd)](_0x3ec50b,_0x4de093){const _0x45c3da=a111_0x40cd7b;this['authInfo'][_0x45c3da(0xee)]=_0x3ec50b,this[_0x45c3da(0xdf)][_0x45c3da(0xc6)]=_0x4de093;}[a111_0x40cd7b(0xc0)](){const _0x553aba=a111_0x40cd7b;return this[_0x553aba(0xdf)];}['setProjectNameForHealingContext'](_0x5abf74){const _0xbd34da=a111_0x40cd7b;this[_0xbd34da(0xb5)]=_0x5abf74;}['setTestNameForHealingContext'](_0x53e870){const _0x1e1cac=a111_0x40cd7b;this[_0x1e1cac(0xbb)]=_0x53e870;}[a111_0x40cd7b(0xcc)](_0x18d04d){const _0x5d74a4=a111_0x40cd7b;this[_0x5d74a4(0xca)]=_0x18d04d,this[_0x5d74a4(0xb2)](_0x18d04d[_0x5d74a4(0xb5)]),this[_0x5d74a4(0xcd)](_0x18d04d['userName'],_0x18d04d[_0x5d74a4(0xc6)]);}[a111_0x40cd7b(0xe1)](_0x15028b){const _0x15bbf0=a111_0x40cd7b;this[_0x15bbf0(0xda)]=_0x15028b;}[a111_0x40cd7b(0xd1)](_0x458c4b){this['isTcgTokenSet']=_0x458c4b;}[a111_0x40cd7b(0xe3)](){const _0x425c96=a111_0x40cd7b;return this[_0x425c96(0xca)];}['getFramework'](){const _0x395b44=a111_0x40cd7b;return this[_0x395b44(0xda)];}[a111_0x40cd7b(0xc3)](){return this['projectName'];}[a111_0x40cd7b(0xb8)](){return this['testName'];}[a111_0x40cd7b(0xeb)](_0x5873ad){const _0x55ae59=a111_0x40cd7b,_0x2ba0dc={};_0x2ba0dc[_0x55ae59(0xd6)]=_0x55ae59(0xba),_0x2ba0dc['RoEpD']=_0x55ae59(0xb4),_0x2ba0dc[_0x55ae59(0xc1)]=function(_0x1a2208,_0x328006){return _0x1a2208===_0x328006;},_0x2ba0dc[_0x55ae59(0xdd)]=function(_0x420d3d,_0x363880){return _0x420d3d+_0x363880;},_0x2ba0dc[_0x55ae59(0xc2)]=_0x55ae59(0xdb);const _0x8d4f6b=_0x2ba0dc,_0x2e9a73=this[_0x55ae59(0xbe)][_0x5873ad];this[_0x55ae59(0xbe)][_0x5873ad]=[];if(globals[_0x55ae59(0xe9)](_0x8d4f6b[_0x55ae59(0xd6)])&&globals[_0x55ae59(0xe9)](_0x8d4f6b['RoEpD'])&&!_0x2e9a73||_0x8d4f6b[_0x55ae59(0xc1)](_0x2e9a73[_0x55ae59(0xb7)],0x0))return logger[_0x55ae59(0xef)](_0x8d4f6b['jmSDe'](_0x8d4f6b['DtwLK'],_0x5873ad)),'';return _0x2e9a73['map'](_0x423f9b=>JSON['stringify'](_0x423f9b))['join'](',');}[a111_0x40cd7b(0xe4)](){const _0x5c5ba7=a111_0x40cd7b,_0xc7a85c={};_0xc7a85c[_0x5c5ba7(0xe2)]=function(_0x4ad0db,_0x291ba2){return _0x4ad0db===_0x291ba2;},_0xc7a85c[_0x5c5ba7(0xb3)]=_0x5c5ba7(0xec);const _0x36d381=_0xc7a85c;let _0xad6aa9=![];return this['getConfig']()&&(_0x36d381[_0x5c5ba7(0xe2)](this['getConfig']()[_0x5c5ba7(0xe8)],!![])||_0x36d381[_0x5c5ba7(0xe2)](this['getConfig']()[_0x5c5ba7(0xe8)],_0x36d381['OgQua']))&&(_0xad6aa9=!![]),_0xad6aa9;}[a111_0x40cd7b(0xbc)](){const _0x364257=a111_0x40cd7b;return this[_0x364257(0xea)];}}function a111_0x41c2(){const _0x4c736c=['setConfig','setAuthInfo','../logger','now','Dgwod','setTcgTokenStatus','TWQfW','14351916Cetuqg','25218VMTvSF','1510CVSKCJ','TsSZD','method','1783806JxZxGh','76415NBaAOO','framework','No\x20commands\x20found\x20for\x20session:\x20','path','jmSDe','2532312SxmSxn','authInfo','winstonLogger','setFramework','Mvjkm','getConfig','isSelfHealEnabled','1jfrcJf','306kxrqBB','0|3|1|5|4|2','selfHeal','getGlobal','isTcgTokenSet','getCommands','true','232815MFxBQv','userName','debug','split','setProjectNameForHealingContext','OgQua','aiHeal_isHealingEnabled','projectName','_pushCommand','length','getTestName','pushCommand','aiHeal_isAuthenticated','testName','getTcgTokenStatus','push','commands','aiSessionTimeStamp','getAuthInfo','rjDgE','DtwLK','getProjectName','qvHZQ','../globals','accessKey','22LqYtiM','3395959qvPann','16hlNXST','config','commandRepository'];a111_0x41c2=function(){return _0x4c736c;};return a111_0x41c2();}exports[a111_0x40cd7b(0xcb)]=new HealingCommandRepo();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a112_0x25adf2=a112_0x424a;(function(_0x18d896,_0x2381a0){const _0x382fcc=a112_0x424a,_0x146aea=_0x18d896();while(!![]){try{const _0x547198=parseInt(_0x382fcc(0x154))/0x1+parseInt(_0x382fcc(0x153))/0x2+parseInt(_0x382fcc(0x15d))/0x3+-parseInt(_0x382fcc(0x157))/0x4+parseInt(_0x382fcc(0x14f))/0x5+-parseInt(_0x382fcc(0x159))/0x6*(-parseInt(_0x382fcc(0x150))/0x7)+-parseInt(_0x382fcc(0x152))/0x8*(parseInt(_0x382fcc(0x14d))/0x9);if(_0x547198===_0x2381a0)break;else _0x146aea['push'](_0x146aea['shift']());}catch(_0x45e82b){_0x146aea['push'](_0x146aea['shift']());}}}(a112_0x4ebd,0x50a8f));const a112_0x429849={};a112_0x429849[a112_0x25adf2(0x151)]='https://grid.browserstack.com/dashboard/builds',a112_0x429849['API_ENDPOINT']=a112_0x25adf2(0x15c),module['exports']=a112_0x429849;const _env=(process[a112_0x25adf2(0x155)]['BROWSERSTACK_ENV']||a112_0x25adf2(0x14e))['toLowerCase']();if(_env===a112_0x25adf2(0x156)||_env==='stag')module[a112_0x25adf2(0x158)][a112_0x25adf2(0x151)]='https://grid-devhst.bsstag.com/dashboard/builds';else(_env===a112_0x25adf2(0x15a)||_env===a112_0x25adf2(0x15b))&&(module[a112_0x25adf2(0x158)][a112_0x25adf2(0x151)]='https://grid-preprod.bsstag.com/dashboard/builds');function a112_0x424a(_0x3fe90e,_0x13aae0){const _0x4ebd80=a112_0x4ebd();return a112_0x424a=function(_0x424a06,_0x58fe37){_0x424a06=_0x424a06-0x14d;let _0x113498=_0x4ebd80[_0x424a06];return _0x113498;},a112_0x424a(_0x3fe90e,_0x13aae0);}function a112_0x4ebd(){const _0x3e86e2=['310902dGKoWo','preprod','pre-prod','automate-turboscale/v1','32673VGnKHf','999cMfvWc','prod','3114980KJxbBH','21gYYnRW','BUILDS_DASHBOARD_URL','85864bHHgqs','866134JdvwuK','534857glIfCh','env','staging','942064AAsyQs','exports'];a112_0x4ebd=function(){return _0x3e86e2;};return a112_0x4ebd();}
|