browserstack-node-sdk 1.53.2 → 1.53.4
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 +6 -4
- 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/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/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/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/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/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 a101_0x310182=a101_0x115c;(function(_0xfadee5,_0x13efbd){const _0x2efa20=a101_0x115c,_0x1e2a26=_0xfadee5();while(!![]){try{const _0x2a2bbc=parseInt(_0x2efa20(0x1d1))/0x1+parseInt(_0x2efa20(0x1c4))/0x2+-parseInt(_0x2efa20(0x174))/0x3+-parseInt(_0x2efa20(0x14e))/0x4*(-parseInt(_0x2efa20(0x1d7))/0x5)+parseInt(_0x2efa20(0x1bb))/0x6*(-parseInt(_0x2efa20(0x1b6))/0x7)+-parseInt(_0x2efa20(0x152))/0x8*(-parseInt(_0x2efa20(0x15b))/0x9)+-parseInt(_0x2efa20(0x1a0))/0xa;if(_0x2a2bbc===_0x13efbd)break;else _0x1e2a26['push'](_0x1e2a26['shift']());}catch(_0x187da9){_0x1e2a26['push'](_0x1e2a26['shift']());}}}(a101_0x3a4d,0xca6c0));const util=require(a101_0x310182(0x1da)),logger=require('../logger')[a101_0x310182(0x125)],accessibilityHelper=require(a101_0x310182(0x1a4)),globals=require(a101_0x310182(0x1b7)),scripts=require(a101_0x310182(0x1ae)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a101_0x310182(0x19c)),BrowserstackCLI=require(a101_0x310182(0x1c3));function a101_0x3a4d(){const _0x58e22b=['script','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','\x20-\x20not\x20applicable','xEnjo','allSettled','ptpye','bstackA11yScanOptions','driverType','timeouts','getGlobal',').\x20Error:\x20','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','MCUKD','AzWxK','TaCkC',')\x20with\x20error:\x20','isSeleniumDriver','fulfilled','updateRetryConfig','1060404oluQun','env','erYaV','timeoutMs','getAccessibilityResultsSummaryWithRetry','oDwhi','\x20completed\x20successfully.','wbCtM','Yrrey','constructor','\x20failed\x20(','ujCOS','fLsqf','BSuLq','setPlaywrightScriptTimeout','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','WLfWs','summary','Playwright','NXILq','UybqY','VwwnL','PERFORM_SCAN','ZhCkW','Page','afxgK','getId','goto','url','isMobilePlatform','GlVBg','message','QLzvZ','XkBiJ','playwright-page','LKYbA','sbbig','accessibilityConfig','Operation\x20timed\x20out\x20after\x20','Accessibility\x20scan\x20attempt\x20','../performance/constants','GywpU','ms\x20using\x20setTimeouts\x20API','Wjtyf','6421620bjOOrJ','getRetryConfig','evaluate','isAccessibilityPlatform','./helper','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','mOYds','getCurrentUrl','pofhJ','SIOrf','RaiPT','performComprehensiveAccessibilityScanWithRetry','isPlaywright','dsfaC','./scripts','setScriptTimeout','currentTest','unknown_method','DGihD','undefined','Unknown\x20driver/page\x20type:\x20','GzRrA','8795255oBcvzE','../globals','):\x20','TlIty','function','6jzBSdE','assign','ms\x20using\x20timeouts()\x20API','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','status','kDfww','psmRT','WebDriver','../../bin/v2/browserstackCLI','1637702kxhaFD',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','type','getAccessibilityModule','Unknown\x20error','rVwtv','uLvBw','aUdWK','ueiEi','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','measureWrapper','name','294587bJwpUo','LtzeF','../../bin/playwright/accessibility-helper','CthiV','zVpkw','nNSyg','6785SlMyuK','LYVFF','info','util','kLTrZ','results','performScan','XiOyc','max','warn','dlvqz','getAccessibilityResults','Accessibility\x20results\x20retrieval\x20attempt\x20','scanSucceeded','debug','aMUBm','setDefaultTimeout','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20',').\x20Last\x20error:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','page','reason','getAccessibilityResultsSummary','playwright-codecept-driver','saveTestResults','is_mobile_session','TqFjg','winstonLogger','WbLDu','ACbPf','dDilg','gHmkO','setSeleniumScriptTimeout','vkCmQ','ZltmO','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Playwright\x20accessibility\x20helper\x20not\x20available','saveAccessibilityResultsWithRetry','fmaUj','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','__workerDetails','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','anzAm','maxRetries','isAccessibilityAutomationSession','isRunning','getAccessibilityResultsWithRetry','Skipping\x20timeout\x20setting\x20for\x20','zynGV','stringify','DrHnO','yAlrE','HzHYM','bstackA11yShouldScan','value','xatPW','AGigR','ZEoCL','selenium-webdriver','resolveMobileThTestRunUuid','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','getInstance','UYQAp','MxVZR','performScanWithRetry','tzouS','srNRd','getSession','4676TTDztU',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','YtlUg','executeAsyncScript','56PBPMOA','\x20for\x20method:\x20','fAZWq','browserstackSessionName','accessibilityPlatform','Comprehensive\x20accessibility\x20scan\x20failed\x20(','defaultTimeoutMs','error','setTimeouts','490428anUPeZ','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','BmiAx','qCIls','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('];a101_0x3a4d=function(){return _0x58e22b;};return a101_0x3a4d();}let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a101_0x310182(0x1d3));}catch(a101_0x23783c){logger[a101_0x310182(0x118)](a101_0x310182(0x12e));}const a101_0xad0d95={};a101_0xad0d95[a101_0x310182(0x135)]=0x1,a101_0xad0d95['timeoutMs']=0x7530,a101_0xad0d95['defaultTimeoutMs']=0x7530;function a101_0x115c(_0x5e6835,_0x560770){const _0x3a4d94=a101_0x3a4d();return a101_0x115c=function(_0x115c38,_0x991b5a){_0x115c38=_0x115c38-0x117;let _0x251c3a=_0x3a4d94[_0x115c38];return _0x251c3a;},a101_0x115c(_0x5e6835,_0x560770);}const RETRY_CONFIG=a101_0xad0d95,setConfigTimeout=(_0x3b6522,_0x1b857e=null)=>{const _0x4470e9=a101_0x310182,_0x177f43={'fmaUj':function(_0xbaf365,_0x4e059d){return _0xbaf365===_0x4e059d;},'Yrrey':'scannerProcessingTimeout','Wjtyf':function(_0x41d76e,_0x40933d){return _0x41d76e===_0x40933d;},'XkBiJ':function(_0x262266,_0xebb61){return _0x262266*_0xebb61;},'mOYds':function(_0x3af877,_0x84831a){return _0x3af877(_0x84831a);},'QLzvZ':function(_0x7deedc,_0x1ad5d4){return _0x7deedc*_0x1ad5d4;}};if(BrowserstackCLI['getInstance']()[_0x4470e9(0x137)]()&&BrowserstackCLI[_0x4470e9(0x147)]()['getAccessibilityModule']()){const _0x4c2a1b=BrowserstackCLI[_0x4470e9(0x147)]()[_0x4470e9(0x1c8)]()[_0x4470e9(0x199)],_0x1df84f=_0x4c2a1b['options']['capabilitiesList']||[];for(const _0x25dc4d of _0x1df84f){_0x177f43[_0x4470e9(0x130)](_0x25dc4d[_0x4470e9(0x1d0)],_0x177f43[_0x4470e9(0x17c)])&&_0x177f43[_0x4470e9(0x19f)](_0x1b857e,null)&&(_0x3b6522['timeoutMs']=_0x177f43[_0x4470e9(0x195)](_0x177f43[_0x4470e9(0x1a6)](parseInt,_0x25dc4d[_0x4470e9(0x140)]),0x3e8));}}else process[_0x4470e9(0x175)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x3b6522[_0x4470e9(0x177)]=_0x177f43[_0x4470e9(0x194)](_0x177f43[_0x4470e9(0x1a6)](parseInt,process[_0x4470e9(0x175)][_0x4470e9(0x11d)]),0x3e8));},detectDriverType=_0x5081bb=>{const _0x4abfe9=a101_0x310182,_0x1cc8d8={};_0x1cc8d8[_0x4abfe9(0x189)]='unknown',_0x1cc8d8[_0x4abfe9(0x17f)]=function(_0x22e89a,_0x2de826){return _0x22e89a===_0x2de826;},_0x1cc8d8[_0x4abfe9(0x129)]=_0x4abfe9(0x1ba),_0x1cc8d8[_0x4abfe9(0x180)]=_0x4abfe9(0x196),_0x1cc8d8[_0x4abfe9(0x164)]=function(_0x4d0315,_0x224a22){return _0x4d0315===_0x224a22;},_0x1cc8d8[_0x4abfe9(0x184)]=_0x4abfe9(0x144),_0x1cc8d8['nHWcT']=_0x4abfe9(0x18c),_0x1cc8d8[_0x4abfe9(0x1de)]=_0x4abfe9(0x1c2),_0x1cc8d8[_0x4abfe9(0x166)]=_0x4abfe9(0x186),_0x1cc8d8[_0x4abfe9(0x127)]=_0x4abfe9(0x121),_0x1cc8d8['vkCmQ']=function(_0x2702e7,_0x5ae6a7){return _0x2702e7||_0x5ae6a7;},_0x1cc8d8[_0x4abfe9(0x143)]=_0x4abfe9(0x1b3);const _0x4b3292=_0x1cc8d8;if(!_0x5081bb){const _0x2e64b9={};return _0x2e64b9[_0x4abfe9(0x1ac)]=![],_0x2e64b9[_0x4abfe9(0x1c7)]=_0x4b3292[_0x4abfe9(0x189)],_0x2e64b9;}if(_0x4b3292['ujCOS'](typeof _0x5081bb[_0x4abfe9(0x1a2)],_0x4b3292['gHmkO'])&&_0x4b3292[_0x4abfe9(0x17f)](typeof _0x5081bb[_0x4abfe9(0x190)],_0x4b3292[_0x4abfe9(0x129)])&&_0x4b3292[_0x4abfe9(0x17f)](typeof _0x5081bb[_0x4abfe9(0x18f)],_0x4b3292['gHmkO'])){const _0x5f04f5={};return _0x5f04f5['isPlaywright']=!![],_0x5f04f5['type']=_0x4b3292[_0x4abfe9(0x180)],_0x5f04f5;}if(_0x4b3292[_0x4abfe9(0x17f)](typeof _0x5081bb[_0x4abfe9(0x151)],_0x4b3292['gHmkO'])&&_0x4b3292[_0x4abfe9(0x164)](typeof _0x5081bb['getCapabilities'],_0x4b3292['gHmkO'])){const _0x31fa70={};return _0x31fa70['isPlaywright']=![],_0x31fa70[_0x4abfe9(0x1c7)]=_0x4b3292[_0x4abfe9(0x184)],_0x31fa70;}const _0x51bf44=_0x5081bb[_0x4abfe9(0x17d)]?.[_0x4abfe9(0x1d0)];if(_0x4b3292[_0x4abfe9(0x17f)](_0x51bf44,_0x4b3292['nHWcT'])){const _0xb689cf={};return _0xb689cf[_0x4abfe9(0x1ac)]=!![],_0xb689cf['type']=_0x4b3292[_0x4abfe9(0x180)],_0xb689cf;}if(_0x4b3292[_0x4abfe9(0x164)](_0x51bf44,_0x4b3292['XiOyc'])){const _0x454c51={};return _0x454c51[_0x4abfe9(0x1ac)]=![],_0x454c51['type']=_0x4b3292['WLfWs'],_0x454c51;}if(_0x4b3292[_0x4abfe9(0x17f)](_0x51bf44,_0x4b3292[_0x4abfe9(0x166)])){const _0x1715ce={};return _0x1715ce['isPlaywright']=!![],_0x1715ce[_0x4abfe9(0x1c7)]=_0x4b3292[_0x4abfe9(0x127)],_0x1715ce;}logger[_0x4abfe9(0x1e0)](_0x4abfe9(0x1b4)+_0x4b3292[_0x4abfe9(0x12b)](_0x51bf44,_0x4b3292[_0x4abfe9(0x143)]));const _0x46d8ba={};return _0x46d8ba[_0x4abfe9(0x1ac)]=![],_0x46d8ba['type']=_0x4b3292[_0x4abfe9(0x189)],_0x46d8ba;},withTimeout=(_0x5dd77f,_0x113acb)=>{const _0xc370=a101_0x310182;return Promise['race']([_0x5dd77f,new Promise((_0x1a1846,_0xe96fa)=>setTimeout(()=>_0xe96fa(new Error(_0xc370(0x19a)+_0x113acb+'ms')),_0x113acb))]);};exports['performScanWithRetry']=async(_0x2fc224,_0x147e1b=null,_0x2479de=null,_0x1725f6=![],_0x41270a=null)=>{const _0x1882e7=a101_0x310182,_0x22a4cd={'BSuLq':function(_0x4ac76b,_0x3d8076){return _0x4ac76b&&_0x3d8076;},'bQHOu':function(_0x334e94,_0x42b08f,_0x467241){return _0x334e94(_0x42b08f,_0x467241);},'kDfww':function(_0x8b2aaa,_0x28d97f){return _0x8b2aaa===_0x28d97f;},'YtlUg':_0x1882e7(0x121),'dsfaC':function(_0x1dfd8c,_0x5ffa9b,_0x424eba){return _0x1dfd8c(_0x5ffa9b,_0x424eba);},'GzRrA':function(_0x3b519b,_0x444af1){return _0x3b519b(_0x444af1);},'sbbig':function(_0x3a2abb,_0x3191e1){return _0x3a2abb||_0x3191e1;},'Dlqod':_0x1882e7(0x1a3),'dDilg':function(_0x178ec3,_0x572eac){return _0x178ec3!==_0x572eac;},'UybqY':'bstackA11yShouldScan','RaiPT':function(_0x5ce509,_0x3d1c96){return _0x5ce509===_0x3d1c96;},'GywpU':_0x1882e7(0x183),'MxVZR':_0x1882e7(0x1b1),'tzouS':_0x1882e7(0x1ba),'BmiAx':function(_0x4cf3ba,_0x26d15a){return _0x4cf3ba===_0x26d15a;},'anzAm':function(_0x26dde2,_0x44fe09){return _0x26dde2===_0x44fe09;},'SlvbT':function(_0x3cd5d2,_0x1310e8){return _0x3cd5d2<=_0x1310e8;},'GlVBg':function(_0x7189b,_0x524255){return _0x7189b+_0x524255;},'DrHnO':_0x1882e7(0x1c9)},{isPlaywright:_0x5cdd08,type:_0xdb0b29}=_0x22a4cd[_0x1882e7(0x1b5)](detectDriverType,_0x2fc224),_0x5d321c=_0x1725f6?_0x22a4cd[_0x1882e7(0x198)](_0x41270a,{}):global[_0x1882e7(0x167)]||{},_0x1cf506=_0x5cdd08?global[_0x1882e7(0x156)]&&(_0x1725f6||_0x22a4cd[_0x1882e7(0x1c0)](global['bstackA11yShouldScan'],!![])):accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x1882e7(0x16a)](_0x22a4cd['Dlqod'])&&(_0x1725f6||_0x22a4cd[_0x1882e7(0x128)](globals['getGlobal'](_0x22a4cd['UybqY']),![]));if(!_0x1cf506)return _0x5cdd08&&global[_0x1882e7(0x156)]&&_0x22a4cd[_0x1882e7(0x1aa)](global[_0x1882e7(0x13f)],![])||!_0x5cdd08&&globals['getGlobal'](_0x22a4cd['Dlqod'])&&_0x22a4cd['RaiPT'](globals['getGlobal'](_0x22a4cd[_0x1882e7(0x188)]),![])?logger[_0x1882e7(0x118)](_0x22a4cd[_0x1882e7(0x19d)]):logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0xdb0b29+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0xf11b12=_0x147e1b||global[_0x1882e7(0x155)]||_0x22a4cd[_0x1882e7(0x149)];let _0x1822bb=null;const _0x3735a8={'testhub_btcer_uuid':global[_0x1882e7(0x132)]?.[_0x1882e7(0x1b0)]?.['id'],'url':_0x22a4cd[_0x1882e7(0x1aa)](typeof _0x2fc224[_0x1882e7(0x190)],_0x22a4cd[_0x1882e7(0x14b)])?await _0x2fc224[_0x1882e7(0x190)]():_0x22a4cd[_0x1882e7(0x15e)](typeof _0x2fc224['getCurrentUrl'],_0x22a4cd['tzouS'])?await _0x2fc224[_0x1882e7(0x1a7)]():'','automate_session_id':_0x22a4cd[_0x1882e7(0x134)](typeof _0x2fc224[_0x1882e7(0x14d)],_0x22a4cd[_0x1882e7(0x14b)])?(await _0x2fc224[_0x1882e7(0x14d)]())[_0x1882e7(0x18e)]():''};for(let _0x5576e4=0x1;_0x22a4cd['SlvbT'](_0x5576e4,_0x22a4cd[_0x1882e7(0x192)](RETRY_CONFIG[_0x1882e7(0x135)],0x1));_0x5576e4++){try{return logger['debug']('Accessibility\x20scan\x20attempt\x20'+_0x5576e4+'/'+_0x22a4cd[_0x1882e7(0x192)](RETRY_CONFIG[_0x1882e7(0x135)],0x1)+_0x1882e7(0x153)+_0xf11b12+'\x20('+_0xdb0b29+')'),await PerformanceTester[_0x1882e7(0x1cf)](PerformanceA11yEvents[_0x1882e7(0x18a)],async()=>{const _0x4f80c8=_0x1882e7;let _0x85df17;if(_0x22a4cd[_0x4f80c8(0x181)](_0x5cdd08,playwrightA11yHelper)){_0x22a4cd['bQHOu'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4f80c8(0x182)](_0x2fc224,RETRY_CONFIG[_0x4f80c8(0x177)]);let _0x5741fa=_0x2fc224;_0x22a4cd['kDfww'](_0xdb0b29,_0x22a4cd[_0x4f80c8(0x150)])&&(_0x5741fa=_0x2fc224[_0x4f80c8(0x11e)]);const _0x25ae33=global[_0x4f80c8(0x191)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x4f80c8(0x145)]()}:{};_0x85df17=await _0x22a4cd[_0x4f80c8(0x1ad)](withTimeout,playwrightA11yHelper[_0x4f80c8(0x1dd)](_0x5741fa,_0xf11b12,_0x5d321c,_0x25ae33),RETRY_CONFIG[_0x4f80c8(0x177)]),await exports['setPlaywrightScriptTimeout'](_0x2fc224,RETRY_CONFIG[_0x4f80c8(0x158)]);}else await exports[_0x4f80c8(0x12a)](_0x2fc224,RETRY_CONFIG[_0x4f80c8(0x177)]),_0x85df17=await _0x22a4cd['dsfaC'](withTimeout,accessibilityHelper[_0x4f80c8(0x1dd)](_0x2fc224,_0xf11b12,_0x1725f6,_0x5d321c),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x2fc224,RETRY_CONFIG[_0x4f80c8(0x158)]);logger['debug']('Scan\x20attempt\x20'+_0x5576e4+_0x4f80c8(0x17a));},{'command':_0xf11b12,..._0x3735a8})(),logger[_0x1882e7(0x1d9)](_0x1882e7(0x1ce)+_0x5576e4+'.'),!![];}catch(_0x17e24d){_0x1822bb=_0x17e24d,logger[_0x1882e7(0x118)](_0x1882e7(0x19b)+_0x5576e4+'\x20failed\x20for\x20method:\x20'+_0xf11b12+'\x20('+_0xdb0b29+').\x20Error:\x20'+_0x17e24d[_0x1882e7(0x193)]);}}return logger[_0x1882e7(0x159)](_0x1882e7(0x1c6)+_0xf11b12+'\x20('+_0xdb0b29+_0x1882e7(0x170)+(_0x1822bb?.['message']||_0x22a4cd[_0x1882e7(0x13c)])),![];},exports[a101_0x310182(0x138)]=async(_0x24c8ce,_0x1b72ac)=>{const _0x1770d7=a101_0x310182,_0x5d1ad3={'psmRT':function(_0x21bb6d,_0x3d8576){return _0x21bb6d(_0x3d8576);},'qkaav':_0x1770d7(0x1a3),'ueiEi':function(_0x401270,_0x5ba397){return _0x401270<=_0x5ba397;},'DGihD':function(_0x4ffc35,_0x3d7145){return _0x4ffc35+_0x3d7145;},'wbCtM':function(_0x3620a2,_0x4d6db7){return _0x3620a2+_0x4d6db7;},'AzWxK':function(_0x1a63b5,_0x5db9e9){return _0x1a63b5&&_0x5db9e9;},'pofhJ':function(_0x34beac,_0xfc7dfc,_0x1f1be6){return _0x34beac(_0xfc7dfc,_0x1f1be6);},'nNSyg':function(_0x1b4346,_0x154253,_0x36a52b){return _0x1b4346(_0x154253,_0x36a52b);},'LYVFF':_0x1770d7(0x1c9)},{isPlaywright:_0x1acdd4,type:_0x2dace3}=_0x5d1ad3[_0x1770d7(0x1c1)](detectDriverType,_0x24c8ce),_0x4b2d98=_0x1acdd4?_0x1b72ac[_0x1770d7(0x156)]:accessibilityHelper[_0x1770d7(0x136)]()&&globals[_0x1770d7(0x16a)](_0x5d1ad3['qkaav']);if(!_0x4b2d98)return logger[_0x1770d7(0x1e0)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x2dace3+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.'),[];let _0xd74539=null;for(let _0xf5483=0x1;_0x5d1ad3[_0x1770d7(0x1cd)](_0xf5483,_0x5d1ad3[_0x1770d7(0x1b2)](RETRY_CONFIG['maxRetries'],0x1));_0xf5483++){try{logger['debug']('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0xf5483+'/'+_0x5d1ad3[_0x1770d7(0x17b)](RETRY_CONFIG[_0x1770d7(0x135)],0x1)+'\x20('+_0x2dace3+')');let _0x4897a4;return _0x5d1ad3[_0x1770d7(0x16e)](_0x1acdd4,playwrightA11yHelper)?(_0x5d1ad3[_0x1770d7(0x1a8)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1770d7(0x182)](_0x24c8ce,RETRY_CONFIG[_0x1770d7(0x177)]),_0x4897a4=await _0x5d1ad3['pofhJ'](withTimeout,playwrightA11yHelper[_0x1770d7(0x1e2)](_0x24c8ce),RETRY_CONFIG[_0x1770d7(0x177)]),await exports[_0x1770d7(0x182)](_0x24c8ce,RETRY_CONFIG[_0x1770d7(0x158)])):(await exports[_0x1770d7(0x12a)](_0x24c8ce,RETRY_CONFIG[_0x1770d7(0x177)]),_0x4897a4=await _0x5d1ad3[_0x1770d7(0x1d6)](withTimeout,accessibilityHelper[_0x1770d7(0x1e2)](_0x24c8ce,_0x1b72ac),RETRY_CONFIG[_0x1770d7(0x177)]),await exports[_0x1770d7(0x12a)](_0x24c8ce,RETRY_CONFIG['defaultTimeoutMs'])),logger['info'](_0x1770d7(0x11b)+_0xf5483+'\x20('+_0x2dace3+')'),_0x4897a4;}catch(_0x3255ce){_0xd74539=_0x3255ce,logger[_0x1770d7(0x1e0)](_0x1770d7(0x1e3)+_0xf5483+_0x1770d7(0x17e)+_0x2dace3+_0x1770d7(0x16b)+_0x3255ce[_0x1770d7(0x193)]);}}return logger[_0x1770d7(0x159)](_0x1770d7(0x1a5)+_0x2dace3+_0x1770d7(0x11c)+(_0xd74539?.[_0x1770d7(0x193)]||_0x5d1ad3[_0x1770d7(0x1d8)])),[];},exports[a101_0x310182(0x178)]=async(_0x80755d,_0x310dd7)=>{const _0x2fda8f=a101_0x310182,_0x82f8ae={'afxgK':function(_0x213f4c,_0x28fecc){return _0x213f4c(_0x28fecc);},'SIOrf':_0x2fda8f(0x1a3),'CJMPS':function(_0x12aac4,_0x4e647d){return _0x12aac4<=_0x4e647d;},'qCIls':function(_0xf39835,_0x39ee4e){return _0xf39835+_0x39ee4e;},'dlvqz':function(_0x4df560,_0x53cada){return _0x4df560&&_0x53cada;},'hqqNj':function(_0x1e17bb,_0x52f56b,_0x479881){return _0x1e17bb(_0x52f56b,_0x479881);},'oDwhi':function(_0x58de96,_0x3f4a1e,_0x57320e){return _0x58de96(_0x3f4a1e,_0x57320e);},'ZltmO':_0x2fda8f(0x1c9)},{isPlaywright:_0x359e4c,type:_0x4d6db8}=_0x82f8ae[_0x2fda8f(0x18d)](detectDriverType,_0x80755d),_0x8b5d3=_0x359e4c?_0x310dd7[_0x2fda8f(0x156)]:accessibilityHelper[_0x2fda8f(0x136)]()&&globals['getGlobal'](_0x82f8ae[_0x2fda8f(0x1a9)]);if(!_0x8b5d3)return logger['warn'](_0x2fda8f(0x162)+_0x4d6db8+_0x2fda8f(0x1c5)),{};let _0x5a31eb=null;for(let _0x1d2c3b=0x1;_0x82f8ae['CJMPS'](_0x1d2c3b,_0x82f8ae[_0x2fda8f(0x15f)](RETRY_CONFIG[_0x2fda8f(0x135)],0x1));_0x1d2c3b++){try{logger[_0x2fda8f(0x118)](_0x2fda8f(0x12d)+_0x1d2c3b+'/'+_0x82f8ae['qCIls'](RETRY_CONFIG[_0x2fda8f(0x135)],0x1)+'\x20('+_0x4d6db8+')');let _0xe49bcd;return _0x82f8ae[_0x2fda8f(0x1e1)](_0x359e4c,playwrightA11yHelper)?(_0x82f8ae['hqqNj'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2fda8f(0x182)](_0x80755d,RETRY_CONFIG['timeoutMs']),_0xe49bcd=await _0x82f8ae[_0x2fda8f(0x179)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x80755d),RETRY_CONFIG[_0x2fda8f(0x177)]),await exports[_0x2fda8f(0x182)](_0x80755d,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x2fda8f(0x12a)](_0x80755d,RETRY_CONFIG[_0x2fda8f(0x177)]),_0xe49bcd=await _0x82f8ae[_0x2fda8f(0x179)](withTimeout,accessibilityHelper[_0x2fda8f(0x120)](_0x80755d,_0x310dd7),RETRY_CONFIG[_0x2fda8f(0x177)]),await exports[_0x2fda8f(0x12a)](_0x80755d,RETRY_CONFIG[_0x2fda8f(0x158)])),logger[_0x2fda8f(0x1d9)](_0x2fda8f(0x131)+_0x1d2c3b+'\x20('+_0x4d6db8+')'),_0xe49bcd;}catch(_0x1ad382){_0x5a31eb=_0x1ad382,logger[_0x2fda8f(0x1e0)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x1d2c3b+'\x20failed\x20('+_0x4d6db8+_0x2fda8f(0x16b)+_0x1ad382[_0x2fda8f(0x193)]);}}return logger['error'](_0x2fda8f(0x160)+_0x4d6db8+_0x2fda8f(0x11c)+(_0x5a31eb?.[_0x2fda8f(0x193)]||_0x82f8ae[_0x2fda8f(0x12c)])),{};},exports[a101_0x310182(0x1ab)]=async(_0x3c0773,_0x581e10,_0x14d682=null)=>{const _0x35b762=a101_0x310182,_0x444ead={'uLvBw':function(_0x252e5f,_0x5b8bf4){return _0x252e5f(_0x5b8bf4);},'yAlrE':function(_0x59474a,_0x5c89ba){return _0x59474a===_0x5c89ba;},'aUdWK':_0x35b762(0x172),'aMUBm':function(_0x4ce009,_0x336eaf){return _0x4ce009===_0x336eaf;},'mgfMm':'rejected','zynGV':function(_0x4cbdc3,_0x44cad6){return _0x4cbdc3===_0x44cad6;},'TqFjg':_0x35b762(0x146)},{isPlaywright:_0x41f02a,type:_0x54fa79}=_0x444ead[_0x35b762(0x1cb)](detectDriverType,_0x3c0773),_0x17fe6a={};_0x17fe6a[_0x35b762(0x117)]=![],_0x17fe6a[_0x35b762(0x1dc)]=[],_0x17fe6a[_0x35b762(0x185)]={},_0x17fe6a['error']=null,_0x17fe6a[_0x35b762(0x168)]=_0x54fa79;const _0x4f14d9=_0x17fe6a;try{_0x4f14d9[_0x35b762(0x117)]=await exports[_0x35b762(0x14a)](_0x3c0773,_0x14d682);if(_0x4f14d9[_0x35b762(0x117)]){const [_0x3fd65b,_0x461fb8]=await Promise[_0x35b762(0x165)]([exports[_0x35b762(0x138)](_0x3c0773,_0x581e10),exports[_0x35b762(0x178)](_0x3c0773,_0x581e10)]);_0x4f14d9[_0x35b762(0x1dc)]=_0x444ead['yAlrE'](_0x3fd65b[_0x35b762(0x1bf)],_0x444ead[_0x35b762(0x1cc)])?_0x3fd65b[_0x35b762(0x140)]:[],_0x4f14d9[_0x35b762(0x185)]=_0x444ead[_0x35b762(0x13d)](_0x461fb8[_0x35b762(0x1bf)],_0x444ead['aUdWK'])?_0x461fb8[_0x35b762(0x140)]:{},_0x444ead[_0x35b762(0x119)](_0x3fd65b['status'],_0x444ead['mgfMm'])&&logger['warn']('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0x54fa79+_0x35b762(0x1b8)+_0x3fd65b[_0x35b762(0x11f)]?.[_0x35b762(0x193)]),_0x444ead[_0x35b762(0x13a)](_0x461fb8['status'],_0x444ead['mgfMm'])&&logger['warn'](_0x35b762(0x133)+_0x54fa79+_0x35b762(0x1b8)+_0x461fb8[_0x35b762(0x11f)]?.['message']);}}catch(_0x395250){_0x4f14d9[_0x35b762(0x159)]=_0x395250[_0x35b762(0x193)]||_0x444ead[_0x35b762(0x124)],logger['error'](_0x35b762(0x157)+_0x54fa79+'):\x20'+_0x4f14d9['error']);}return _0x4f14d9;},exports[a101_0x310182(0x173)]=_0x4bfd82=>{const _0x5cb353=a101_0x310182,_0x4744a1={};_0x4744a1[_0x5cb353(0x197)]=function(_0xa87062,_0x205130){return _0xa87062!==_0x205130;},_0x4744a1[_0x5cb353(0x148)]=function(_0x236e64,_0x4ea69f){return _0x236e64!==_0x4ea69f;};const _0x4937ef=_0x4744a1;_0x4937ef['LKYbA'](_0x4bfd82['maxRetries'],undefined)&&(RETRY_CONFIG[_0x5cb353(0x135)]=Math['max'](0x0,_0x4bfd82[_0x5cb353(0x135)])),_0x4937ef[_0x5cb353(0x148)](_0x4bfd82[_0x5cb353(0x177)],undefined)&&(RETRY_CONFIG[_0x5cb353(0x177)]=Math[_0x5cb353(0x1df)](0x3e8,_0x4bfd82[_0x5cb353(0x177)])),logger[_0x5cb353(0x118)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x5cb353(0x13b)](RETRY_CONFIG));},exports[a101_0x310182(0x1a1)]=()=>{const _0x33cafd={...RETRY_CONFIG};return _0x33cafd;},exports['isPlaywrightPage']=_0x35892c=>{const _0x41a868=a101_0x310182,_0x715688={'srNRd':function(_0x11c030,_0x27a12a){return _0x11c030(_0x27a12a);}};return _0x715688[_0x41a868(0x14c)](detectDriverType,_0x35892c)[_0x41a868(0x1ac)];},exports[a101_0x310182(0x171)]=_0x22da4a=>{const _0x276451=a101_0x310182,_0x3f0bad={'glQIx':function(_0xfbd331,_0x5b3282){return _0xfbd331(_0x5b3282);},'kLTrZ':function(_0x118878,_0x333662){return _0x118878===_0x333662;},'AGigR':_0x276451(0x144)},{isPlaywright:_0x218aad,type:_0x1ed5da}=_0x3f0bad['glQIx'](detectDriverType,_0x22da4a);return!_0x218aad&&_0x3f0bad[_0x276451(0x1db)](_0x1ed5da,_0x3f0bad[_0x276451(0x142)]);},exports[a101_0x310182(0x182)]=async(_0x18106b,_0x39384a=null)=>{const _0x4f6200=a101_0x310182,_0x1a37e7={'fAZWq':function(_0x154f3c,_0x12c8bc){return _0x154f3c(_0x12c8bc);},'WdEns':function(_0x367a60,_0x4d02b0){return _0x367a60===_0x4d02b0;},'xatPW':_0x4f6200(0x1ba)},{isPlaywright:_0x4e8420,type:_0x15ba74}=_0x1a37e7[_0x4f6200(0x154)](detectDriverType,_0x18106b);if(!_0x4e8420)return logger[_0x4f6200(0x118)](_0x4f6200(0x139)+_0x15ba74+_0x4f6200(0x163)),!![];const _0x294b6d=_0x39384a||RETRY_CONFIG[_0x4f6200(0x158)];try{return _0x18106b&&_0x1a37e7['WdEns'](typeof _0x18106b[_0x4f6200(0x11a)],_0x1a37e7[_0x4f6200(0x141)])&&(await _0x18106b[_0x4f6200(0x11a)](_0x294b6d),logger[_0x4f6200(0x118)]('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x294b6d+'ms')),!![];}catch(_0x4540c0){return logger[_0x4f6200(0x1e0)]('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x4540c0['message']),![];}},exports[a101_0x310182(0x12a)]=async(_0x1b1876,_0x3b9ec1=null)=>{const _0x3901c8=a101_0x310182,_0x364cbc={};_0x364cbc[_0x3901c8(0x1b9)]=_0x3901c8(0x15d),_0x364cbc['CthiV']=function(_0x35939b,_0x56dfe8){return _0x35939b===_0x56dfe8;},_0x364cbc[_0x3901c8(0x126)]=_0x3901c8(0x1ba),_0x364cbc[_0x3901c8(0x1d5)]=function(_0x1dd8da,_0x4503db){return _0x1dd8da===_0x4503db;},_0x364cbc[_0x3901c8(0x1ca)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x364cbc[_0x3901c8(0x16f)]=_0x3901c8(0x16c);const _0x11e1b5=_0x364cbc;if(!exports[_0x3901c8(0x171)](_0x1b1876))return logger[_0x3901c8(0x1e0)](_0x11e1b5[_0x3901c8(0x1b9)]),![];const _0x1edd9e=_0x3b9ec1||RETRY_CONFIG[_0x3901c8(0x158)];try{if(_0x1b1876&&_0x11e1b5[_0x3901c8(0x1d4)](typeof _0x1b1876['manage'],_0x11e1b5[_0x3901c8(0x126)])){const _0x2fe3fc=_0x1b1876['manage']();if(_0x2fe3fc&&_0x11e1b5[_0x3901c8(0x1d4)](typeof _0x2fe3fc[_0x3901c8(0x169)],_0x11e1b5[_0x3901c8(0x126)]))await _0x2fe3fc[_0x3901c8(0x169)]()[_0x3901c8(0x1af)](_0x1edd9e),logger[_0x3901c8(0x118)](_0x3901c8(0x15c)+_0x1edd9e+_0x3901c8(0x1bd));else{if(_0x2fe3fc&&_0x11e1b5['CthiV'](typeof _0x2fe3fc[_0x3901c8(0x15a)],_0x11e1b5[_0x3901c8(0x126)])){const _0x3f7210={};_0x3f7210[_0x3901c8(0x161)]=_0x1edd9e,await _0x2fe3fc[_0x3901c8(0x15a)](_0x3f7210),logger['debug'](_0x3901c8(0x15c)+_0x1edd9e+_0x3901c8(0x19e));}else{if(_0x2fe3fc&&_0x11e1b5[_0x3901c8(0x1d5)](typeof _0x2fe3fc[_0x3901c8(0x1af)],_0x11e1b5[_0x3901c8(0x126)]))await _0x2fe3fc[_0x3901c8(0x1af)](_0x1edd9e),logger[_0x3901c8(0x118)](_0x3901c8(0x15c)+_0x1edd9e+'ms\x20using\x20setScriptTimeout\x20API');else return logger[_0x3901c8(0x118)](_0x11e1b5[_0x3901c8(0x1ca)]),!![];}}}else return logger[_0x3901c8(0x118)](_0x11e1b5[_0x3901c8(0x16f)]),!![];return!![];}catch(_0x228ed7){return logger[_0x3901c8(0x1e0)](_0x3901c8(0x1be)+_0x228ed7[_0x3901c8(0x193)]),![];}},exports[a101_0x310182(0x12f)]=async(_0x591334,_0x7da7ef)=>{const _0x4fe18b=a101_0x310182,_0x5c4547={'MCUKD':function(_0x3e347e,_0x32faeb){return _0x3e347e(_0x32faeb);},'ZhCkW':_0x4fe18b(0x1a3),'FVtcy':function(_0x4ef9cf,_0x237ce5){return _0x4ef9cf<=_0x237ce5;},'NXILq':function(_0x11f969,_0x4c33a8){return _0x11f969+_0x4c33a8;},'VZzoj':function(_0x463a16,_0x567e1c){return _0x463a16&&_0x567e1c;},'Hxfqs':function(_0x3ab6be,_0x347748,_0x430da9){return _0x3ab6be(_0x347748,_0x430da9);},'erYaV':function(_0x90faf1,_0x279fbd,_0x3a087b){return _0x90faf1(_0x279fbd,_0x3a087b);},'LtzeF':'isMobilePlatform','HzHYM':'Unknown\x20error'},{isPlaywright:_0x2e1f58,type:_0x4e7575}=_0x5c4547[_0x4fe18b(0x16d)](detectDriverType,_0x591334),_0x5cf61b=_0x2e1f58?global[_0x4fe18b(0x156)]:accessibilityHelper[_0x4fe18b(0x136)]()&&globals[_0x4fe18b(0x16a)](_0x5c4547[_0x4fe18b(0x18b)]);if(!_0x5cf61b)return logger[_0x4fe18b(0x1e0)](_0x4fe18b(0x162)+_0x4e7575+_0x4fe18b(0x14f)),![];let _0x2be9f3=null;for(let _0x2f6e6a=0x1;_0x5c4547['FVtcy'](_0x2f6e6a,_0x5c4547['NXILq'](RETRY_CONFIG['maxRetries'],0x1));_0x2f6e6a++){try{logger[_0x4fe18b(0x118)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x2f6e6a+'/'+_0x5c4547[_0x4fe18b(0x187)](RETRY_CONFIG[_0x4fe18b(0x135)],0x1)+'\x20('+_0x4e7575+')');if(_0x5c4547['VZzoj'](_0x2e1f58,playwrightA11yHelper)){_0x5c4547['Hxfqs'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4fe18b(0x182)](_0x591334,RETRY_CONFIG[_0x4fe18b(0x177)]);const _0x13d6e9={};_0x13d6e9[_0x4fe18b(0x123)]=!![];const _0x1eb2f0=global[_0x4fe18b(0x191)]?Object['assign']({},_0x7da7ef,_0x13d6e9):_0x7da7ef;await _0x5c4547[_0x4fe18b(0x176)](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x591334,scripts[_0x4fe18b(0x122)],_0x1eb2f0),RETRY_CONFIG[_0x4fe18b(0x177)]),await exports['setPlaywrightScriptTimeout'](_0x591334,RETRY_CONFIG['defaultTimeoutMs']);}else{await exports['setSeleniumScriptTimeout'](_0x591334,RETRY_CONFIG[_0x4fe18b(0x177)]);const _0x1451cc={};_0x1451cc[_0x4fe18b(0x123)]=!![];const _0x33ef03=globals['getGlobal'](_0x5c4547[_0x4fe18b(0x1d2)])?Object[_0x4fe18b(0x1bc)]({},_0x7da7ef,_0x1451cc):_0x7da7ef;await _0x5c4547[_0x4fe18b(0x176)](withTimeout,_0x591334[_0x4fe18b(0x151)](scripts[_0x4fe18b(0x122)],_0x33ef03),RETRY_CONFIG[_0x4fe18b(0x177)]),await exports[_0x4fe18b(0x12a)](_0x591334,RETRY_CONFIG[_0x4fe18b(0x158)]);}return logger[_0x4fe18b(0x1d9)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x2f6e6a+'\x20('+_0x4e7575+')'),!![];}catch(_0x5a140b){_0x2be9f3=_0x5a140b,logger['warn']('Accessibility\x20results\x20save\x20attempt\x20'+_0x2f6e6a+'\x20failed\x20('+_0x4e7575+_0x4fe18b(0x16b)+_0x5a140b[_0x4fe18b(0x193)]);}}return logger['error']('All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20('+_0x4e7575+_0x4fe18b(0x11c)+(_0x2be9f3?.[_0x4fe18b(0x193)]||_0x5c4547[_0x4fe18b(0x13e)])),![];};
|
|
1
|
+
const a101_0x42021d=a101_0x5d24;(function(_0x4d6e3e,_0x17e893){const _0x503d2f=a101_0x5d24,_0xe6fee8=_0x4d6e3e();while(!![]){try{const _0x16e933=parseInt(_0x503d2f(0x16c))/0x1*(parseInt(_0x503d2f(0x104))/0x2)+-parseInt(_0x503d2f(0x191))/0x3*(-parseInt(_0x503d2f(0x15e))/0x4)+parseInt(_0x503d2f(0x161))/0x5*(-parseInt(_0x503d2f(0xfd))/0x6)+parseInt(_0x503d2f(0x10b))/0x7+parseInt(_0x503d2f(0x128))/0x8+-parseInt(_0x503d2f(0xfb))/0x9*(-parseInt(_0x503d2f(0xdd))/0xa)+-parseInt(_0x503d2f(0x10e))/0xb*(parseInt(_0x503d2f(0x12f))/0xc);if(_0x16e933===_0x17e893)break;else _0xe6fee8['push'](_0xe6fee8['shift']());}catch(_0x3b4344){_0xe6fee8['push'](_0xe6fee8['shift']());}}}(a101_0x4535,0x6c3c2));const util=require(a101_0x42021d(0xd1)),logger=require(a101_0x42021d(0x13e))[a101_0x42021d(0x10f)],accessibilityHelper=require(a101_0x42021d(0xe4)),globals=require(a101_0x42021d(0x150)),scripts=require(a101_0x42021d(0x15f)),PerformanceTester=require(a101_0x42021d(0xdc)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a101_0x42021d(0x110)),BrowserstackCLI=require(a101_0x42021d(0x147));let playwrightA11yHelper=null;function a101_0x4535(){const _0x3b6085=['ms\x20using\x20setScriptTimeout\x20API','max','AqpTi','isAccessibilityPlatform','WUDwx','PERFORM_SCAN','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','cnemF','gDTfG','getAccessibilityResultsSummaryWithRetry','playwright-page','AAvpT','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','5130168uagsva','saveAccessibilityResultsWithRetry','viOac','getAccessibilityResultsSummary','Operation\x20timed\x20out\x20after\x20','tJVJH','maxRetries','24OMhYjq','bstackA11yScanOptions','udqUa',').\x20Last\x20error:\x20','value','reason','\x20for\x20method:\x20','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','unknown','Playwright\x20accessibility\x20helper\x20not\x20available','XqPFo','goto','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','XJtMV','getAccessibilityResults','../logger','ZumlT','info','nIRWD','selenium-webdriver','tongR','executeAsyncScript','Playwright',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','../../bin/v2/browserstackCLI','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','getAccessibilityModule','fcoey','Accessibility\x20retry\x20configuration\x20updated:\x20','function','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','XiepI','../globals','AZwKI','page','message','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','tJndG',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','scannerProcessingTimeout','bstackA11yShouldScan','summary','evaluate','getAccessibilityResultsWithRetry','manage','SgjNU','8Zwwkpw','./scripts','setDefaultTimeout','1109585YHUJkE','wTLoW','name','DmgRh','mHhKC','race','YlXWn','):\x20','status','type','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','45lbdlsL','hvHtO','isAccessibilityAutomationSession','JpCXR','HUYHT','error','warn','anczg','WebDriver','VOSjW','\x20completed\x20successfully.','getRetryConfig','Accessibility\x20results\x20save\x20attempt\x20','driverType','aIYOD','browserStackEvaluate','TPinl','updateRetryConfig','\x20-\x20not\x20applicable','setTimeouts','results','performComprehensiveAccessibilityScanWithRetry','xQQcp','fNShN','Axjgu','CAqNy','bzLZU','xPNJi','SdZUC','options','performScanWithRetry','allSettled','xusvk','\x20failed\x20for\x20method:\x20','setSeleniumScriptTimeout','rejected','ms\x20using\x20setTimeouts\x20API','173118MCgSxj','kXGuB','pPrrU','Accessibility\x20results\x20retrieval\x20attempt\x20','scanSucceeded','saveTestResults','GOIYm','xPjZp','capabilitiesList','getGlobal','xcoFt','nuisR',').\x20Error:\x20','lcCGe','Skipping\x20timeout\x20setting\x20for\x20','util','currentTest','playwright-codecept-driver','timeouts','ncPiP','LpESS','gIwxB','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','aLMsY','TrvtC','is_mobile_session','../performance/performance-tester','12100NpXADm','getId','WeVaa','OSSkC','rBhvm','sNbfz','defaultTimeoutMs','./helper','Unknown\x20error','isSeleniumDriver','aTOdy','IPKhn','rcxyg','isPlaywright','QSvgI','../../bin/playwright/accessibility-helper','env','accessibilityPlatform','stringify','ySvXf','getInstance','performScan','setScriptTimeout','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','GGtUl','fulfilled','debug','DmFbF','DpIbC','6291yiUZlW','resolveMobileThTestRunUuid','6ZwaKGG','isPlaywrightPage','\x20failed\x20(','vxSJi','__workerDetails','isMobilePlatform','TOBsh','7818QEdZHI','Accessibility\x20scan\x20attempt\x20','HnQwc','lIiFz','gsUkA','QAKan','nRgNu','303541XypMZB','sWvWQ','getCurrentUrl','6360717kUTrdJ','winstonLogger','../performance/constants','timeoutMs','lCUXZ','XiMMp','Scan\x20attempt\x20','assign','kYEEg','url','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','setPlaywrightScriptTimeout'];a101_0x4535=function(){return _0x3b6085;};return a101_0x4535();}function a101_0x5d24(_0x32939d,_0x1ad55d){const _0x4535b3=a101_0x4535();return a101_0x5d24=function(_0x5d2474,_0x23b3bf){_0x5d2474=_0x5d2474-0xc7;let _0x29a208=_0x4535b3[_0x5d2474];return _0x29a208;},a101_0x5d24(_0x32939d,_0x1ad55d);}try{playwrightA11yHelper=require(a101_0x42021d(0xec));}catch(a101_0x53cd0a){logger[a101_0x42021d(0xf8)](a101_0x42021d(0x138));}const a101_0x21c49b={};a101_0x21c49b[a101_0x42021d(0x12e)]=0x1,a101_0x21c49b[a101_0x42021d(0x111)]=0x7530,a101_0x21c49b[a101_0x42021d(0xe3)]=0x7530;const RETRY_CONFIG=a101_0x21c49b,setConfigTimeout=(_0xd504f6,_0x2b9174=null)=>{const _0x4e0e73=a101_0x42021d,_0x5a377b={'xQQcp':function(_0x238073,_0x575f78){return _0x238073===_0x575f78;},'Axjgu':_0x4e0e73(0x157),'pasDs':function(_0x465a51,_0x3006b8){return _0x465a51===_0x3006b8;},'fKMNu':function(_0x21c2f3,_0xc381ad){return _0x21c2f3*_0xc381ad;},'mRxgO':function(_0x12afd7,_0x4f503b){return _0x12afd7(_0x4f503b);},'sNbfz':function(_0x7ee75a,_0x2bacba){return _0x7ee75a*_0x2bacba;},'rcxyg':function(_0x371080,_0x587112){return _0x371080(_0x587112);}};if(BrowserstackCLI['getInstance']()['isRunning']()&&BrowserstackCLI[_0x4e0e73(0xf1)]()[_0x4e0e73(0x14a)]()){const _0x438f36=BrowserstackCLI[_0x4e0e73(0xf1)]()[_0x4e0e73(0x14a)]()['accessibilityConfig'],_0x365ff9=_0x438f36[_0x4e0e73(0x189)][_0x4e0e73(0xca)]||[];for(const _0x8aa63a of _0x365ff9){_0x5a377b[_0x4e0e73(0x182)](_0x8aa63a[_0x4e0e73(0x163)],_0x5a377b[_0x4e0e73(0x184)])&&_0x5a377b['pasDs'](_0x2b9174,null)&&(_0xd504f6[_0x4e0e73(0x111)]=_0x5a377b['fKMNu'](_0x5a377b['mRxgO'](parseInt,_0x8aa63a['value']),0x3e8));}}else process[_0x4e0e73(0xed)][_0x4e0e73(0x16b)]&&(_0xd504f6[_0x4e0e73(0x111)]=_0x5a377b[_0x4e0e73(0xe2)](_0x5a377b[_0x4e0e73(0xe9)](parseInt,process[_0x4e0e73(0xed)][_0x4e0e73(0x16b)]),0x3e8));},detectDriverType=_0xac6ab4=>{const _0x2fc7f1=a101_0x42021d,_0x177b3d={};_0x177b3d[_0x2fc7f1(0x112)]=_0x2fc7f1(0x137),_0x177b3d[_0x2fc7f1(0x17c)]=function(_0x5c6936,_0x78497a){return _0x5c6936===_0x78497a;},_0x177b3d[_0x2fc7f1(0xe8)]=_0x2fc7f1(0x14d),_0x177b3d['QAKan']=function(_0xb8c64c,_0x6bb008){return _0xb8c64c===_0x6bb008;},_0x177b3d[_0x2fc7f1(0xf0)]=_0x2fc7f1(0x124),_0x177b3d[_0x2fc7f1(0x13f)]=function(_0x4019a3,_0x3a3d6e){return _0x4019a3===_0x3a3d6e;},_0x177b3d['xusvk']=_0x2fc7f1(0x142),_0x177b3d[_0x2fc7f1(0x186)]='Page',_0x177b3d['Vzhlq']=function(_0x45df00,_0x2e8e65){return _0x45df00===_0x2e8e65;},_0x177b3d['JkgqN']=_0x2fc7f1(0x174),_0x177b3d[_0x2fc7f1(0x121)]=_0x2fc7f1(0x145),_0x177b3d[_0x2fc7f1(0xe7)]=_0x2fc7f1(0xd3),_0x177b3d[_0x2fc7f1(0x141)]=function(_0x32583d,_0x215860){return _0x32583d||_0x215860;},_0x177b3d[_0x2fc7f1(0x113)]='undefined';const _0x2a9fda=_0x177b3d;if(!_0xac6ab4){const _0xf60360={};return _0xf60360[_0x2fc7f1(0xea)]=![],_0xf60360[_0x2fc7f1(0x16a)]=_0x2a9fda[_0x2fc7f1(0x112)],_0xf60360;}if(_0x2a9fda[_0x2fc7f1(0x17c)](typeof _0xac6ab4[_0x2fc7f1(0x15a)],_0x2a9fda[_0x2fc7f1(0xe8)])&&_0x2a9fda[_0x2fc7f1(0x109)](typeof _0xac6ab4[_0x2fc7f1(0x117)],_0x2a9fda['IPKhn'])&&_0x2a9fda['TPinl'](typeof _0xac6ab4[_0x2fc7f1(0x13a)],_0x2a9fda[_0x2fc7f1(0xe8)])){const _0x3ea29d={};return _0x3ea29d[_0x2fc7f1(0xea)]=!![],_0x3ea29d['type']=_0x2a9fda[_0x2fc7f1(0xf0)],_0x3ea29d;}if(_0x2a9fda[_0x2fc7f1(0x13f)](typeof _0xac6ab4[_0x2fc7f1(0x144)],_0x2a9fda[_0x2fc7f1(0xe8)])&&_0x2a9fda[_0x2fc7f1(0x109)](typeof _0xac6ab4['getCapabilities'],_0x2a9fda[_0x2fc7f1(0xe8)])){const _0x3a8554={};return _0x3a8554[_0x2fc7f1(0xea)]=![],_0x3a8554[_0x2fc7f1(0x16a)]=_0x2a9fda[_0x2fc7f1(0x18c)],_0x3a8554;}const _0x56ea3e=_0xac6ab4['constructor']?.[_0x2fc7f1(0x163)];if(_0x2a9fda[_0x2fc7f1(0x109)](_0x56ea3e,_0x2a9fda[_0x2fc7f1(0x186)])){const _0x515c38={};return _0x515c38['isPlaywright']=!![],_0x515c38['type']=_0x2a9fda[_0x2fc7f1(0xf0)],_0x515c38;}if(_0x2a9fda['Vzhlq'](_0x56ea3e,_0x2a9fda['JkgqN'])){const _0x297001={};return _0x297001[_0x2fc7f1(0xea)]=![],_0x297001[_0x2fc7f1(0x16a)]=_0x2a9fda[_0x2fc7f1(0x18c)],_0x297001;}if(_0x2a9fda[_0x2fc7f1(0x17c)](_0x56ea3e,_0x2a9fda['cnemF'])){const _0x136cbf={};return _0x136cbf['isPlaywright']=!![],_0x136cbf[_0x2fc7f1(0x16a)]=_0x2a9fda[_0x2fc7f1(0xe7)],_0x136cbf;}logger['warn']('Unknown\x20driver/page\x20type:\x20'+_0x2a9fda['nIRWD'](_0x56ea3e,_0x2a9fda[_0x2fc7f1(0x113)]));const _0x189b38={};return _0x189b38[_0x2fc7f1(0xea)]=![],_0x189b38[_0x2fc7f1(0x16a)]=_0x2a9fda[_0x2fc7f1(0x112)],_0x189b38;},withTimeout=(_0x718db8,_0x31d0b3)=>{const _0x2a0693=a101_0x42021d;return Promise[_0x2a0693(0x166)]([_0x718db8,new Promise((_0x42862a,_0x466e37)=>setTimeout(()=>_0x466e37(new Error(_0x2a0693(0x12c)+_0x31d0b3+'ms')),_0x31d0b3))]);};exports[a101_0x42021d(0x18a)]=async(_0x21036b,_0x44c8ca=null,_0x4b71af=null,_0x1edd18=![],_0x35d946=null)=>{const _0x389d53=a101_0x42021d,_0x3b9cac={'aIYOD':function(_0x5491b4,_0x43c582){return _0x5491b4&&_0x43c582;},'ncPiP':function(_0x32796c,_0x596cb2,_0x484070){return _0x32796c(_0x596cb2,_0x484070);},'sWvWQ':function(_0x1886fe,_0x1d2652){return _0x1886fe===_0x1d2652;},'rBhvm':_0x389d53(0xd3),'NxkJP':function(_0x43d13d,_0x3732fa){return _0x43d13d(_0x3732fa);},'IQARa':function(_0x4a7544,_0x92ab03){return _0x4a7544||_0x92ab03;},'kYEEg':function(_0x2c8f7c,_0x4c487c){return _0x2c8f7c!==_0x4c487c;},'WUDwx':_0x389d53(0x11d),'KPqLD':function(_0x183c66,_0x2df28f){return _0x183c66!==_0x2df28f;},'DpIbC':_0x389d53(0x158),'hvHtO':function(_0x2fc39a,_0x1c2c96){return _0x2fc39a===_0x1c2c96;},'HnQwc':'[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','GOIYm':'unknown_method','pPrrU':_0x389d53(0x14d),'HUYHT':function(_0x330474,_0x3a497f){return _0x330474<=_0x3a497f;},'VOSjW':function(_0x2bc4cc,_0x324d1f){return _0x2bc4cc+_0x324d1f;},'udqUa':function(_0xadfbd9,_0x303733){return _0xadfbd9+_0x303733;},'SgjNU':_0x389d53(0xe5)},{isPlaywright:_0x4d7877,type:_0x4111c1}=_0x3b9cac['NxkJP'](detectDriverType,_0x21036b),_0x3cf6e3=_0x1edd18?_0x3b9cac['IQARa'](_0x35d946,{}):global[_0x389d53(0x130)]||{},_0x239657=_0x4d7877?global[_0x389d53(0xee)]&&(_0x1edd18||_0x3b9cac[_0x389d53(0x116)](global[_0x389d53(0x158)],![])):accessibilityHelper[_0x389d53(0x16e)]()&&globals[_0x389d53(0xcb)](_0x3b9cac['WUDwx'])&&(_0x1edd18||_0x3b9cac['KPqLD'](globals[_0x389d53(0xcb)](_0x3b9cac[_0x389d53(0xfa)]),![]));if(!_0x239657)return _0x4d7877&&global[_0x389d53(0xee)]&&_0x3b9cac[_0x389d53(0x10c)](global['bstackA11yShouldScan'],![])||!_0x4d7877&&globals[_0x389d53(0xcb)](_0x3b9cac[_0x389d53(0x11e)])&&_0x3b9cac[_0x389d53(0x16d)](globals['getGlobal'](_0x3b9cac[_0x389d53(0xfa)]),![])?logger[_0x389d53(0xf8)](_0x3b9cac[_0x389d53(0x106)]):logger[_0x389d53(0x172)](_0x389d53(0x126)+_0x4111c1+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x48e361=_0x44c8ca||global['browserstackSessionName']||_0x3b9cac[_0x389d53(0xc8)];let _0xa7ec9c=null;const _0x5ea9ed={'testhub_btcer_uuid':global[_0x389d53(0x101)]?.[_0x389d53(0xd2)]?.['id'],'url':_0x3b9cac['hvHtO'](typeof _0x21036b[_0x389d53(0x117)],_0x3b9cac[_0x389d53(0x193)])?await _0x21036b[_0x389d53(0x117)]():_0x3b9cac[_0x389d53(0x10c)](typeof _0x21036b[_0x389d53(0x10d)],_0x3b9cac[_0x389d53(0x193)])?await _0x21036b[_0x389d53(0x10d)]():'','automate_session_id':_0x3b9cac['hvHtO'](typeof _0x21036b['getSession'],_0x3b9cac[_0x389d53(0x193)])?(await _0x21036b['getSession']())[_0x389d53(0xde)]():''};for(let _0x9023e5=0x1;_0x3b9cac[_0x389d53(0x170)](_0x9023e5,_0x3b9cac[_0x389d53(0x175)](RETRY_CONFIG[_0x389d53(0x12e)],0x1));_0x9023e5++){try{return logger['debug'](_0x389d53(0x105)+_0x9023e5+'/'+_0x3b9cac[_0x389d53(0x131)](RETRY_CONFIG[_0x389d53(0x12e)],0x1)+_0x389d53(0x135)+_0x48e361+'\x20('+_0x4111c1+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x389d53(0x11f)],async()=>{const _0x48f325=_0x389d53;let _0x354ae8;if(_0x3b9cac[_0x48f325(0x17a)](_0x4d7877,playwrightA11yHelper)){_0x3b9cac[_0x48f325(0xd5)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x48f325(0x119)](_0x21036b,RETRY_CONFIG[_0x48f325(0x111)]);let _0x5ec9c7=_0x21036b;_0x3b9cac['sWvWQ'](_0x4111c1,_0x3b9cac[_0x48f325(0xe1)])&&(_0x5ec9c7=_0x21036b[_0x48f325(0x152)]);const _0x4252d0=global[_0x48f325(0x102)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x48f325(0xfc)]()}:{};_0x354ae8=await _0x3b9cac[_0x48f325(0xd5)](withTimeout,playwrightA11yHelper[_0x48f325(0xf2)](_0x5ec9c7,_0x48e361,_0x3cf6e3,_0x4252d0),RETRY_CONFIG[_0x48f325(0x111)]),await exports[_0x48f325(0x119)](_0x21036b,RETRY_CONFIG['defaultTimeoutMs']);}else await exports[_0x48f325(0x18e)](_0x21036b,RETRY_CONFIG[_0x48f325(0x111)]),_0x354ae8=await _0x3b9cac[_0x48f325(0xd5)](withTimeout,accessibilityHelper[_0x48f325(0xf2)](_0x21036b,_0x48e361,_0x1edd18,_0x3cf6e3),RETRY_CONFIG[_0x48f325(0x111)]),await exports['setSeleniumScriptTimeout'](_0x21036b,RETRY_CONFIG[_0x48f325(0xe3)]);logger[_0x48f325(0xf8)](_0x48f325(0x114)+_0x9023e5+_0x48f325(0x176));},{'command':_0x48e361,..._0x5ea9ed})(),logger['info'](_0x389d53(0x154)+_0x9023e5+'.'),!![];}catch(_0x23b4b1){_0xa7ec9c=_0x23b4b1,logger[_0x389d53(0xf8)](_0x389d53(0x105)+_0x9023e5+_0x389d53(0x18d)+_0x48e361+'\x20('+_0x4111c1+').\x20Error:\x20'+_0x23b4b1['message']);}}return logger[_0x389d53(0x171)](_0x389d53(0x120)+_0x48e361+'\x20('+_0x4111c1+')\x20with\x20error:\x20'+(_0xa7ec9c?.['message']||_0x3b9cac[_0x389d53(0x15d)])),![];},exports[a101_0x42021d(0x15b)]=async(_0x6c740f,_0x14aa6a)=>{const _0x4c5064=a101_0x42021d,_0x233ded={'lcCGe':function(_0x24f20c,_0x19255b){return _0x24f20c(_0x19255b);},'dBTHW':_0x4c5064(0x11d),'QSvgI':function(_0x36e8de,_0x3a1606){return _0x36e8de<=_0x3a1606;},'VCeAw':function(_0x508556,_0x58d683){return _0x508556+_0x58d683;},'gsUkA':function(_0x3129ce,_0x16986e){return _0x3129ce&&_0x16986e;},'ywMNV':function(_0x52cc72,_0x37594c,_0x47897f){return _0x52cc72(_0x37594c,_0x47897f);},'viOac':function(_0x47ff1a,_0x122101,_0x20fac2){return _0x47ff1a(_0x122101,_0x20fac2);},'TOBsh':function(_0x567eb8,_0x1a7e5f,_0x4c4870){return _0x567eb8(_0x1a7e5f,_0x4c4870);},'AqpTi':_0x4c5064(0xe5)},{isPlaywright:_0x15b368,type:_0xec427a}=_0x233ded[_0x4c5064(0xcf)](detectDriverType,_0x6c740f),_0x26f484=_0x15b368?_0x14aa6a[_0x4c5064(0xee)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x4c5064(0xcb)](_0x233ded['dBTHW']);if(!_0x26f484)return logger[_0x4c5064(0x172)](_0x4c5064(0x126)+_0xec427a+_0x4c5064(0x146)),[];let _0x4c3116=null;for(let _0xfdbd9f=0x1;_0x233ded[_0x4c5064(0xeb)](_0xfdbd9f,_0x233ded['VCeAw'](RETRY_CONFIG[_0x4c5064(0x12e)],0x1));_0xfdbd9f++){try{logger['debug'](_0x4c5064(0x194)+_0xfdbd9f+'/'+_0x233ded['VCeAw'](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0xec427a+')');let _0x15661b;return _0x233ded[_0x4c5064(0x108)](_0x15b368,playwrightA11yHelper)?(_0x233ded['ywMNV'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x6c740f,RETRY_CONFIG['timeoutMs']),_0x15661b=await _0x233ded[_0x4c5064(0x12a)](withTimeout,playwrightA11yHelper[_0x4c5064(0x13d)](_0x6c740f),RETRY_CONFIG[_0x4c5064(0x111)]),await exports[_0x4c5064(0x119)](_0x6c740f,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x4c5064(0x18e)](_0x6c740f,RETRY_CONFIG[_0x4c5064(0x111)]),_0x15661b=await _0x233ded[_0x4c5064(0x103)](withTimeout,accessibilityHelper[_0x4c5064(0x13d)](_0x6c740f,_0x14aa6a),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x6c740f,RETRY_CONFIG[_0x4c5064(0xe3)])),logger[_0x4c5064(0x140)](_0x4c5064(0x148)+_0xfdbd9f+'\x20('+_0xec427a+')'),_0x15661b;}catch(_0x16fa8b){_0x4c3116=_0x16fa8b,logger[_0x4c5064(0x172)](_0x4c5064(0x194)+_0xfdbd9f+'\x20failed\x20('+_0xec427a+_0x4c5064(0xce)+_0x16fa8b[_0x4c5064(0x153)]);}}return logger[_0x4c5064(0x171)]('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0xec427a+_0x4c5064(0x132)+(_0x4c3116?.[_0x4c5064(0x153)]||_0x233ded[_0x4c5064(0x11c)])),[];},exports[a101_0x42021d(0x123)]=async(_0xe860fa,_0x140952)=>{const _0x236c1a=a101_0x42021d,_0x561405={'GGtUl':function(_0x5d7d87,_0x2646fc){return _0x5d7d87(_0x2646fc);},'LpESS':'isAccessibilityPlatform','OSSkC':function(_0x1ef3f3,_0x1bc9d7){return _0x1ef3f3<=_0x1bc9d7;},'XqPFo':function(_0x4c3424,_0x398b3d){return _0x4c3424+_0x398b3d;},'gIwxB':function(_0xd0c6ca,_0x112015){return _0xd0c6ca&&_0x112015;},'tJVJH':function(_0x39d566,_0x358dab,_0x5e6764){return _0x39d566(_0x358dab,_0x5e6764);},'AAvpT':_0x236c1a(0xe5)},{isPlaywright:_0xa9a8ee,type:_0x2fd526}=_0x561405[_0x236c1a(0xf6)](detectDriverType,_0xe860fa),_0x406b15=_0xa9a8ee?_0x140952[_0x236c1a(0xee)]:accessibilityHelper[_0x236c1a(0x16e)]()&&globals['getGlobal'](_0x561405[_0x236c1a(0xd6)]);if(!_0x406b15)return logger[_0x236c1a(0x172)](_0x236c1a(0x126)+_0x2fd526+_0x236c1a(0x156)),{};let _0x425e01=null;for(let _0x26976c=0x1;_0x561405[_0x236c1a(0xe0)](_0x26976c,_0x561405['XqPFo'](RETRY_CONFIG[_0x236c1a(0x12e)],0x1));_0x26976c++){try{logger[_0x236c1a(0xf8)](_0x236c1a(0x118)+_0x26976c+'/'+_0x561405[_0x236c1a(0x139)](RETRY_CONFIG[_0x236c1a(0x12e)],0x1)+'\x20('+_0x2fd526+')');let _0xc1f84c;return _0x561405[_0x236c1a(0xd7)](_0xa9a8ee,playwrightA11yHelper)?(_0x561405[_0x236c1a(0x12d)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x236c1a(0x119)](_0xe860fa,RETRY_CONFIG['timeoutMs']),_0xc1f84c=await _0x561405['tJVJH'](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0xe860fa),RETRY_CONFIG[_0x236c1a(0x111)]),await exports[_0x236c1a(0x119)](_0xe860fa,RETRY_CONFIG[_0x236c1a(0xe3)])):(await exports[_0x236c1a(0x18e)](_0xe860fa,RETRY_CONFIG[_0x236c1a(0x111)]),_0xc1f84c=await _0x561405[_0x236c1a(0x12d)](withTimeout,accessibilityHelper[_0x236c1a(0x12b)](_0xe860fa,_0x140952),RETRY_CONFIG[_0x236c1a(0x111)]),await exports[_0x236c1a(0x18e)](_0xe860fa,RETRY_CONFIG[_0x236c1a(0xe3)])),logger[_0x236c1a(0x140)](_0x236c1a(0x136)+_0x26976c+'\x20('+_0x2fd526+')'),_0xc1f84c;}catch(_0x918da){_0x425e01=_0x918da,logger['warn'](_0x236c1a(0x118)+_0x26976c+_0x236c1a(0xff)+_0x2fd526+_0x236c1a(0xce)+_0x918da['message']);}}return logger['error']('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x2fd526+').\x20Last\x20error:\x20'+(_0x425e01?.[_0x236c1a(0x153)]||_0x561405[_0x236c1a(0x125)])),{};},exports[a101_0x42021d(0x181)]=async(_0x2c5bc2,_0x2be7ad,_0x59d79a=null)=>{const _0x24d836=a101_0x42021d,_0x3f304e={'fNShN':function(_0x2c9d46,_0x345a2e){return _0x2c9d46(_0x345a2e);},'XiepI':function(_0x238a0b,_0x20ea8e){return _0x238a0b===_0x20ea8e;},'YlXWn':_0x24d836(0xf7),'wTLoW':_0x24d836(0x18f),'WeVaa':function(_0x2fe25e,_0x495a01){return _0x2fe25e===_0x495a01;},'xPNJi':_0x24d836(0x127)},{isPlaywright:_0x10e0ba,type:_0x3a2306}=_0x3f304e[_0x24d836(0x183)](detectDriverType,_0x2c5bc2),_0x1dd80e={};_0x1dd80e[_0x24d836(0x195)]=![],_0x1dd80e[_0x24d836(0x180)]=[],_0x1dd80e[_0x24d836(0x159)]={},_0x1dd80e[_0x24d836(0x171)]=null,_0x1dd80e[_0x24d836(0x179)]=_0x3a2306;const _0x96b3d8=_0x1dd80e;try{_0x96b3d8[_0x24d836(0x195)]=await exports[_0x24d836(0x18a)](_0x2c5bc2,_0x59d79a);if(_0x96b3d8[_0x24d836(0x195)]){const [_0x3f4652,_0x523a48]=await Promise[_0x24d836(0x18b)]([exports[_0x24d836(0x15b)](_0x2c5bc2,_0x2be7ad),exports[_0x24d836(0x123)](_0x2c5bc2,_0x2be7ad)]);_0x96b3d8['results']=_0x3f304e[_0x24d836(0x14f)](_0x3f4652[_0x24d836(0x169)],_0x3f304e[_0x24d836(0x167)])?_0x3f4652[_0x24d836(0x133)]:[],_0x96b3d8[_0x24d836(0x159)]=_0x3f304e[_0x24d836(0x14f)](_0x523a48[_0x24d836(0x169)],_0x3f304e['YlXWn'])?_0x523a48[_0x24d836(0x133)]:{},_0x3f304e[_0x24d836(0x14f)](_0x3f4652[_0x24d836(0x169)],_0x3f304e[_0x24d836(0x162)])&&logger[_0x24d836(0x172)]('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0x3a2306+_0x24d836(0x168)+_0x3f4652[_0x24d836(0x134)]?.['message']),_0x3f304e[_0x24d836(0xdf)](_0x523a48[_0x24d836(0x169)],_0x3f304e[_0x24d836(0x162)])&&logger[_0x24d836(0x172)]('Failed\x20to\x20retrieve\x20accessibility\x20summary\x20('+_0x3a2306+_0x24d836(0x168)+_0x523a48[_0x24d836(0x134)]?.[_0x24d836(0x153)]);}}catch(_0x43179c){_0x96b3d8['error']=_0x43179c['message']||_0x3f304e[_0x24d836(0x187)],logger[_0x24d836(0x171)]('Comprehensive\x20accessibility\x20scan\x20failed\x20('+_0x3a2306+_0x24d836(0x168)+_0x96b3d8[_0x24d836(0x171)]);}return _0x96b3d8;},exports[a101_0x42021d(0x17d)]=_0xec4976=>{const _0x1b3903=a101_0x42021d,_0x35acb1={};_0x35acb1[_0x1b3903(0xcd)]=function(_0x1f5ade,_0x1cbcb8){return _0x1f5ade!==_0x1cbcb8;};const _0x1be5ff=_0x35acb1;_0x1be5ff[_0x1b3903(0xcd)](_0xec4976[_0x1b3903(0x12e)],undefined)&&(RETRY_CONFIG[_0x1b3903(0x12e)]=Math[_0x1b3903(0x11b)](0x0,_0xec4976[_0x1b3903(0x12e)])),_0x1be5ff[_0x1b3903(0xcd)](_0xec4976[_0x1b3903(0x111)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x1b3903(0x11b)](0x3e8,_0xec4976['timeoutMs'])),logger[_0x1b3903(0xf8)](_0x1b3903(0x14c)+JSON[_0x1b3903(0xef)](RETRY_CONFIG));},exports[a101_0x42021d(0x177)]=()=>{const _0x19d439={...RETRY_CONFIG};return _0x19d439;},exports[a101_0x42021d(0xfe)]=_0x56414e=>{const _0x7bc650=a101_0x42021d,_0x5463a7={'tJndG':function(_0x202a86,_0x2ccfa3){return _0x202a86(_0x2ccfa3);}};return _0x5463a7[_0x7bc650(0x155)](detectDriverType,_0x56414e)[_0x7bc650(0xea)];},exports[a101_0x42021d(0xe6)]=_0x1efaee=>{const _0x29ead4=a101_0x42021d,_0x59b97d={'DmFbF':function(_0x198088,_0xf0b2a2){return _0x198088(_0xf0b2a2);},'fcoey':function(_0x1af3bf,_0x3e7171){return _0x1af3bf===_0x3e7171;},'rwiUs':_0x29ead4(0x142)},{isPlaywright:_0x26578c,type:_0xd2a094}=_0x59b97d[_0x29ead4(0xf9)](detectDriverType,_0x1efaee);return!_0x26578c&&_0x59b97d[_0x29ead4(0x14b)](_0xd2a094,_0x59b97d['rwiUs']);},exports['setPlaywrightScriptTimeout']=async(_0x3e8821,_0x39f3a9=null)=>{const _0x5795a6=a101_0x42021d,_0x40f002={'XJtMV':function(_0x2f6f2a,_0x3cbfd2){return _0x2f6f2a(_0x3cbfd2);},'gDTfG':function(_0x5b208e,_0x5ee7ec){return _0x5b208e===_0x5ee7ec;},'mHhKC':'function'},{isPlaywright:_0x513f5f,type:_0x1f31ca}=_0x40f002[_0x5795a6(0x13c)](detectDriverType,_0x3e8821);if(!_0x513f5f)return logger[_0x5795a6(0xf8)](_0x5795a6(0xd0)+_0x1f31ca+_0x5795a6(0x17e)),!![];const _0x32f1a9=_0x39f3a9||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x3e8821&&_0x40f002[_0x5795a6(0x122)](typeof _0x3e8821[_0x5795a6(0x160)],_0x40f002[_0x5795a6(0x165)])&&(await _0x3e8821[_0x5795a6(0x160)](_0x32f1a9),logger[_0x5795a6(0xf8)](_0x5795a6(0xf4)+_0x32f1a9+'ms')),!![];}catch(_0x50ade2){return logger['warn']('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x50ade2[_0x5795a6(0x153)]),![];}},exports[a101_0x42021d(0x18e)]=async(_0x33b345,_0x434cf1=null)=>{const _0x561c9f=a101_0x42021d,_0xdd623d={};_0xdd623d[_0x561c9f(0x173)]=_0x561c9f(0x13b),_0xdd623d[_0x561c9f(0x100)]=function(_0x3f9487,_0x178090){return _0x3f9487===_0x178090;},_0xdd623d['kXGuB']=_0x561c9f(0x14d),_0xdd623d[_0x561c9f(0x143)]=function(_0xe2a7a6,_0x34724e){return _0xe2a7a6===_0x34724e;},_0xdd623d[_0x561c9f(0x151)]=function(_0x8c90bd,_0x28c189){return _0x8c90bd===_0x28c189;},_0xdd623d[_0x561c9f(0xda)]=_0x561c9f(0x149),_0xdd623d[_0x561c9f(0xcc)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0x17e262=_0xdd623d;if(!exports[_0x561c9f(0xe6)](_0x33b345))return logger[_0x561c9f(0x172)](_0x17e262[_0x561c9f(0x173)]),![];const _0x543f7e=_0x434cf1||RETRY_CONFIG[_0x561c9f(0xe3)];try{if(_0x33b345&&_0x17e262[_0x561c9f(0x100)](typeof _0x33b345['manage'],_0x17e262[_0x561c9f(0x192)])){const _0x4393f4=_0x33b345[_0x561c9f(0x15c)]();if(_0x4393f4&&_0x17e262['vxSJi'](typeof _0x4393f4[_0x561c9f(0xd4)],_0x17e262[_0x561c9f(0x192)]))await _0x4393f4['timeouts']()['setScriptTimeout'](_0x543f7e),logger[_0x561c9f(0xf8)](_0x561c9f(0xf5)+_0x543f7e+'ms\x20using\x20timeouts()\x20API');else{if(_0x4393f4&&_0x17e262[_0x561c9f(0x143)](typeof _0x4393f4['setTimeouts'],_0x17e262[_0x561c9f(0x192)])){const _0x204b54={};_0x204b54['script']=_0x543f7e,await _0x4393f4[_0x561c9f(0x17f)](_0x204b54),logger['debug']('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x543f7e+_0x561c9f(0x190));}else{if(_0x4393f4&&_0x17e262[_0x561c9f(0x151)](typeof _0x4393f4['setScriptTimeout'],_0x17e262[_0x561c9f(0x192)]))await _0x4393f4[_0x561c9f(0xf3)](_0x543f7e),logger['debug'](_0x561c9f(0xf5)+_0x543f7e+_0x561c9f(0x11a));else return logger[_0x561c9f(0xf8)](_0x17e262['TrvtC']),!![];}}}else return logger[_0x561c9f(0xf8)](_0x17e262[_0x561c9f(0xcc)]),!![];return!![];}catch(_0x1aee9a){return logger[_0x561c9f(0x172)]('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x1aee9a[_0x561c9f(0x153)]),![];}},exports[a101_0x42021d(0x129)]=async(_0x10c73f,_0x5d0e6f)=>{const _0x140019=a101_0x42021d,_0x1212bd={'xPjZp':function(_0x2b5afa,_0x494341){return _0x2b5afa(_0x494341);},'DmgRh':_0x140019(0x11d),'CAqNy':function(_0x304cb3,_0x1c2a20){return _0x304cb3<=_0x1c2a20;},'nRgNu':function(_0x49b770,_0x5d861d){return _0x49b770+_0x5d861d;},'JpCXR':function(_0x497f1f,_0x3c395c){return _0x497f1f+_0x3c395c;},'MckPf':function(_0x14b5d7,_0x49fec3){return _0x14b5d7&&_0x49fec3;},'SdZUC':function(_0x354605,_0x25e74b,_0x2c9924){return _0x354605(_0x25e74b,_0x2c9924);},'lIiFz':'isMobilePlatform','aLMsY':_0x140019(0xe5)},{isPlaywright:_0x14322e,type:_0x4e9a9e}=_0x1212bd[_0x140019(0xc9)](detectDriverType,_0x10c73f),_0xe44421=_0x14322e?global[_0x140019(0xee)]:accessibilityHelper[_0x140019(0x16e)]()&&globals[_0x140019(0xcb)](_0x1212bd[_0x140019(0x164)]);if(!_0xe44421)return logger[_0x140019(0x172)](_0x140019(0x126)+_0x4e9a9e+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x9fc5e=null;for(let _0x4ea79c=0x1;_0x1212bd[_0x140019(0x185)](_0x4ea79c,_0x1212bd[_0x140019(0x10a)](RETRY_CONFIG[_0x140019(0x12e)],0x1));_0x4ea79c++){try{logger['debug'](_0x140019(0x178)+_0x4ea79c+'/'+_0x1212bd[_0x140019(0x16f)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x4e9a9e+')');if(_0x1212bd['MckPf'](_0x14322e,playwrightA11yHelper)){_0x1212bd[_0x140019(0x188)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x140019(0x119)](_0x10c73f,RETRY_CONFIG['timeoutMs']);const _0x5b93fd={};_0x5b93fd[_0x140019(0xdb)]=!![];const _0x2e7ca5=global[_0x140019(0x102)]?Object[_0x140019(0x115)]({},_0x5d0e6f,_0x5b93fd):_0x5d0e6f;await _0x1212bd[_0x140019(0x188)](withTimeout,playwrightA11yHelper[_0x140019(0x17b)](_0x10c73f,scripts[_0x140019(0xc7)],_0x2e7ca5),RETRY_CONFIG[_0x140019(0x111)]),await exports[_0x140019(0x119)](_0x10c73f,RETRY_CONFIG['defaultTimeoutMs']);}else{await exports['setSeleniumScriptTimeout'](_0x10c73f,RETRY_CONFIG['timeoutMs']);const _0x3c6447={};_0x3c6447[_0x140019(0xdb)]=!![];const _0x2844f0=globals[_0x140019(0xcb)](_0x1212bd[_0x140019(0x107)])?Object[_0x140019(0x115)]({},_0x5d0e6f,_0x3c6447):_0x5d0e6f;await _0x1212bd[_0x140019(0x188)](withTimeout,_0x10c73f[_0x140019(0x144)](scripts[_0x140019(0xc7)],_0x2844f0),RETRY_CONFIG[_0x140019(0x111)]),await exports[_0x140019(0x18e)](_0x10c73f,RETRY_CONFIG[_0x140019(0xe3)]);}return logger[_0x140019(0x140)](_0x140019(0x14e)+_0x4ea79c+'\x20('+_0x4e9a9e+')'),!![];}catch(_0x15b0f5){_0x9fc5e=_0x15b0f5,logger[_0x140019(0x172)](_0x140019(0x178)+_0x4ea79c+_0x140019(0xff)+_0x4e9a9e+_0x140019(0xce)+_0x15b0f5[_0x140019(0x153)]);}}return logger['error'](_0x140019(0xd8)+_0x4e9a9e+').\x20Last\x20error:\x20'+(_0x9fc5e?.[_0x140019(0x153)]||_0x1212bd[_0x140019(0xd9)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a102_0x3b7f67=a102_0x1f1a;(function(_0x3566ce,_0x5e30ae){var _0x30c51b=a102_0x1f1a,_0x2593c7=_0x3566ce();while(!![]){try{var _0x133dd9=parseInt(_0x30c51b(0x137))/0x1*(parseInt(_0x30c51b(0x123))/0x2)+parseInt(_0x30c51b(0x12e))/0x3+parseInt(_0x30c51b(0x13c))/0x4*(parseInt(_0x30c51b(0x133))/0x5)+parseInt(_0x30c51b(0x142))/0x6+-parseInt(_0x30c51b(0x132))/0x7*(parseInt(_0x30c51b(0x128))/0x8)+parseInt(_0x30c51b(0x139))/0x9*(-parseInt(_0x30c51b(0x12d))/0xa)+parseInt(_0x30c51b(0x136))/0xb;if(_0x133dd9===_0x5e30ae)break;else _0x2593c7['push'](_0x2593c7['shift']());}catch(_0x5a8c2f){_0x2593c7['push'](_0x2593c7['shift']());}}}(a102_0x4160,0x60a6f),exports[a102_0x3b7f67(0x131)]=a102_0x3b7f67(0x138),exports[a102_0x3b7f67(0x125)]='94',exports[a102_0x3b7f67(0x141)]=a102_0x3b7f67(0x13d),exports[a102_0x3b7f67(0x135)]='141',exports[a102_0x3b7f67(0x124)]=a102_0x3b7f67(0x134));var a102_0x504a32={};a102_0x504a32[a102_0x3b7f67(0x127)]='Chrome',a102_0x504a32[a102_0x3b7f67(0x12b)]=0x5e,a102_0x504a32[a102_0x3b7f67(0x12a)]=0x64,a102_0x504a32[a102_0x3b7f67(0x13a)]=!![];function a102_0x4160(){var _0x2d0ce5=['9310xxagcj','18.4','MINIMUM_CHROMEFORTESTING_VERSION','2962146mKwEhN','191uVQrkm','https://accessibility.browserstack.com/api','288oGsgfL','requires_chrome_options_check','Chrome','976UtfYRb','100','Safari','chrome','playwright-chromium','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','803184lWpwVm','3188WkSPzv','MINIMUM_SAFARI_VERSION','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','ACCESSIBILITY_SUPPORTED_BROWSERS','display_name','1132696cPKoET','chromefortesting','min_version_non_browserstack','min_version_browserstack','safari','82410QitCEc','192045rIsBSi','ChromeForTesting','chromium','API_URL','28zChQHb'];a102_0x4160=function(){return _0x2d0ce5;};return a102_0x4160();}var a102_0x87d55={};a102_0x87d55['display_name']=a102_0x3b7f67(0x13b),a102_0x87d55[a102_0x3b7f67(0x12b)]=0x5e,a102_0x87d55[a102_0x3b7f67(0x12a)]=0x64,a102_0x87d55[a102_0x3b7f67(0x13a)]=!![];var a102_0x522feb={};a102_0x522feb['display_name']=a102_0x3b7f67(0x13b),a102_0x522feb[a102_0x3b7f67(0x12b)]=0x5e,a102_0x522feb['min_version_non_browserstack']=0x64,a102_0x522feb['requires_chrome_options_check']=!![];var a102_0x1a6401={};a102_0x1a6401[a102_0x3b7f67(0x127)]=a102_0x3b7f67(0x12f),a102_0x1a6401[a102_0x3b7f67(0x12b)]=0x8d,a102_0x1a6401[a102_0x3b7f67(0x12a)]=0x8d,a102_0x1a6401[a102_0x3b7f67(0x13a)]=!![];function a102_0x1f1a(_0x284335,_0x3c9fef){var _0x416053=a102_0x4160();return a102_0x1f1a=function(_0x1f1a4a,_0x24a4a4){_0x1f1a4a=_0x1f1a4a-0x123;var _0x2d9702=_0x416053[_0x1f1a4a];return _0x2d9702;},a102_0x1f1a(_0x284335,_0x3c9fef);}var a102_0x9292c={};a102_0x9292c['display_name']=a102_0x3b7f67(0x13e),a102_0x9292c[a102_0x3b7f67(0x12b)]=18.4,a102_0x9292c[a102_0x3b7f67(0x12a)]=18.4,a102_0x9292c[a102_0x3b7f67(0x13a)]=![];var a102_0x3207c0={};a102_0x3207c0[a102_0x3b7f67(0x13f)]=a102_0x504a32,a102_0x3207c0[a102_0x3b7f67(0x130)]=a102_0x87d55,a102_0x3207c0[a102_0x3b7f67(0x140)]=a102_0x522feb,a102_0x3207c0[a102_0x3b7f67(0x129)]=a102_0x1a6401,a102_0x3207c0[a102_0x3b7f67(0x12c)]=a102_0x9292c,exports[a102_0x3b7f67(0x126)]=a102_0x3207c0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a103_0x5d9295=a103_0x17d6;(function(_0x2a6a51,_0x31cbaf){const _0x26cfb0=a103_0x17d6,_0x2fbb46=_0x2a6a51();while(!![]){try{const _0x14098d=-parseInt(_0x26cfb0(0x1f1))/0x1+-parseInt(_0x26cfb0(0x2b6))/0x2+-parseInt(_0x26cfb0(0x284))/0x3*(parseInt(_0x26cfb0(0x290))/0x4)+parseInt(_0x26cfb0(0x288))/0x5*(-parseInt(_0x26cfb0(0x256))/0x6)+parseInt(_0x26cfb0(0x1f0))/0x7+parseInt(_0x26cfb0(0x1e7))/0x8*(parseInt(_0x26cfb0(0x1b5))/0x9)+parseInt(_0x26cfb0(0x2a5))/0xa;if(_0x14098d===_0x31cbaf)break;else _0x2fbb46['push'](_0x2fbb46['shift']());}catch(_0x4f5eb3){_0x2fbb46['push'](_0x2fbb46['shift']());}}}(a103_0x2088,0xdfa29));function a103_0x17d6(_0x6565a0,_0x4ea1d8){const _0x2088b5=a103_0x2088();return a103_0x17d6=function(_0x17d6e8,_0x6e96fc){_0x17d6e8=_0x17d6e8-0x1a6;let _0x5662ca=_0x2088b5[_0x17d6e8];return _0x5662ca;},a103_0x17d6(_0x6565a0,_0x4ea1d8);}const path=require('path'),util=require(a103_0x5d9295(0x1aa)),bsSetupHelper=require(a103_0x5d9295(0x294)),logger=require(a103_0x5d9295(0x1f7))[a103_0x5d9295(0x283)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require('./constants'),PerformanceTester=require(a103_0x5d9295(0x209)),scripts=require(a103_0x5d9295(0x1e8)),globals=require(a103_0x5d9295(0x261)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a103_0x5d9295(0x21e));function a103_0x2088(){const _0xa14871=['error','XNnhO','a11y:stop','Performed\x20scan\x20with\x20result:\x20','ChromeExtension','getTestFrameworkDetails','eZYvn','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','Content-Type','keys','obThT','efwXd','evFLe','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','browserstackSessionName','RBAgY','gJCGW','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).','browserstack_executor','7484124tuKpJd','teuCP','GET_RESULTS','pLIHz','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','bwroj','--headless','playwright','from','requiresChromeOptionsValidation','isTrue','../globals','isMobileAccessibilityPlatform','version','getBrowserName','deviceName','format','hVzUt','buildName','sJeNM','getResults','uVHSi','jDAUN','gCcjy','bInbQ','string','gqFst','XPnDt','PJDNV','exZUW','toJson','requireModule','QUhxD','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getMobileA11yCapabilities','isMobileAccessibilitySession','PJCYE','rycJE','pass','isArray','Bearer\x20','kUvWE','--headless=','Performing\x20scan\x20before\x20getting\x20results','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','winstonLogger','15546ByXbfs','excludeTagsInTestingScope','selenium-webdriver','isUndefined','5OEHVVI','statusText','replace','MHtCA','browserName','isAccessibilityAutomationSession','set','aAYZI','268UKPryZ','GET_RESULTS_SUMMARY','some','test_runs/stop','../helper','browserVersion','application/json','dEcvg','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','TpcKG','accessibility','Authorization','getBrowserA11yConfig','xAzkm','debug','accessibilityToken','capabilities_','is_mobile_session','vMHhq','getMinVersionForBrowser','min_version_browserstack','25279990PYyklk','getAccessibilityResultsSummary','success','LgkMt','MTiRr','resolveMobileThTestRunUuid','Not\x20a\x20Accessibility\x20Session','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','nonBstackPlatformValidation','getHostInfo','aoYbB','isAccessibilityPlatform','nodeRequest','oEMDl','platformName','user','getResultsSummary','1725896WWSuYx','headers','UlBqp','info','executeAsyncScript','Options','includes','bstackA11yShouldScan','parseA11yJwtPayload','guouf','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','EcZDb','BJgNH','__workerDetails','util','method','stringify','errors','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','includeTagsInTestingScope','checkAccessibilityPlatformConfig','startsWith','platforms','shouldScanTestForAccessibility','270hFTFeU','Build\x20creation\x20had\x20failed.','parse','currentTest','getAccessKey','EDdwk','compareVersions','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','No\x20accessibility\x20results\x20were\x20found.','forEach','getCapabilities','json','jojsW','fetchPlatformDetails','length','Idqhj','data','POST','scannerVersion','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','getUserName','UKIov','gpnFD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BONKy','isBrowserstackInfra','yfFkw','lGDdF','MOBILE_SCANNING_DISABLED_WARNING','BROWSERSTACK_TURBOSCALE','get','thTestRunUuid','mWUMy','uLAhF','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Invalid\x20configuration\x20passed.','split','No\x20accessibility\x20summary\x20was\x20found.','buildDescription','getBrowserDisplayName','return\x20document.readyState\x20===\x20\x22complete\x22','function','null','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','LESZU','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','EDOTL','rHaZY','javascript','304376zNxsfQ','./scripts','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','display_name','assign','Performing\x20scan\x20before\x20getting\x20results\x20summary','message','JnYQe','projectName','7157318UtGBJU','1318378qefpTI',']\x20but\x20thTestRunUuid\x20is\x20','NhySS','bstack:options','env','a11y:start','../logger','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','YefRt','MrGXM','pvtSA','goog:chromeOptions','resolve','YFzRQ','true','wait','PERFORM_SCAN','mergeDeep','zcAKM','script','setNonBstackInfraCapabilities','BS_A11Y_JWT','undefined','Dkuqq','../performance/performance-tester','v2/test_runs','nestedKeyValue','warn','MhuQK','getAgentVersion','auth','VdCUw','body','args','EtQDJ','PccwE','MuZmf','FNAMx','isBrowserStackCommandExecutor','getPackageVersion','GCQYq','response','hSnKS','stopAccessibilityTestRun','biQcd','../performance/constants','performScan','CwzFv','measureWrapper','PovxS','toISOString','toLowerCase','getGlobal','vggoG','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','__cloud_provider___','XOiXT','android','requires_chrome_options_check','trim','min_version_non_browserstack','getPlatformVersion','prOsE','getCiInfo','browserstack','ICCkW','HiAqN','bwTmN','zuRIs','status','stack','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','ECIEr','qPKai','xHHjg','chrome','device','options_','false','chromeOptions','join','JpBfy'];a103_0x2088=function(){return _0xa14871;};return a103_0x2088();}exports[a103_0x5d9295(0x1c3)]=async _0x56d99a=>{const _0x4c538a=a103_0x5d9295,_0x24ea6a={};_0x24ea6a[_0x4c538a(0x2a8)]=function(_0x2beb6e,_0x2a0ba5){return _0x2beb6e===_0x2a0ba5;},_0x24ea6a[_0x4c538a(0x26b)]=_0x4c538a(0x231);const _0x2a0c84=_0x24ea6a;let _0x2cf062={};try{const _0xd6c8e4=await _0x56d99a['getCapabilities']();_0x2cf062={'os_name':_0xd6c8e4['getPlatform'](),'os_version':bsSetupHelper[_0x4c538a(0x22e)](_0x2a0c84[_0x4c538a(0x2a8)](global[_0x4c538a(0x228)],_0x2a0c84[_0x4c538a(0x26b)])),'browser_name':_0xd6c8e4[_0x4c538a(0x264)](),'browser_version':_0xd6c8e4['getBrowserVersion']()};}catch(_0x278131){logger[_0x4c538a(0x29e)](_0x4c538a(0x282)+_0x278131);}return _0x2cf062;},exports['isAccessibilityAutomationSession']=()=>{const _0x364499=a103_0x5d9295,_0x1f3e3a={};_0x1f3e3a[_0x364499(0x273)]=function(_0x2803b7,_0x482843){return _0x2803b7===_0x482843;},_0x1f3e3a[_0x364499(0x215)]=_0x364499(0x26f),_0x1f3e3a['ySjkC']=function(_0xb87a42,_0x385e5d){return _0xb87a42>_0x385e5d;},_0x1f3e3a[_0x364499(0x232)]=function(_0x17cf97,_0x74fce2){return _0x17cf97!==_0x74fce2;},_0x1f3e3a[_0x364499(0x203)]=_0x364499(0x1e0),_0x1f3e3a[_0x364499(0x299)]=function(_0x4871f7,_0x2406e8){return _0x4871f7&&_0x2406e8;};const _0x2c0fe7=_0x1f3e3a;try{const _0x49776d=bsSetupHelper['isTrue'](process[_0x364499(0x1f5)][_0x364499(0x1d8)])||bsSetupHelper[_0x364499(0x260)](process[_0x364499(0x1f5)][_0x364499(0x277)]),_0x1d3ced=_0x2c0fe7['exZUW'](typeof process[_0x364499(0x1f5)][_0x364499(0x206)],_0x2c0fe7[_0x364499(0x215)])&&_0x2c0fe7['ySjkC'](process[_0x364499(0x1f5)][_0x364499(0x206)][_0x364499(0x1c4)],0x0)&&_0x2c0fe7['ICCkW'](process[_0x364499(0x1f5)]['BS_A11Y_JWT'],_0x2c0fe7[_0x364499(0x203)]);return _0x2c0fe7[_0x364499(0x299)](_0x49776d,_0x1d3ced);}catch(_0x9c77ec){logger['debug'](_0x364499(0x1e1)+_0x9c77ec);}return![];},exports[a103_0x5d9295(0x2ad)]=(_0x8831d4,_0x3ee6ab)=>{const _0x3c8213=a103_0x5d9295,_0x1509d7={'PJDNV':_0x3c8213(0x28c),'JnYQe':function(_0x5404d3,_0x223882){return _0x5404d3(_0x223882);},'kUvWE':_0x3c8213(0x295),'QfGCp':_0x3c8213(0x263),'ufgEh':_0x3c8213(0x1f4),'MHtCA':function(_0x444e24,_0x5cd517){return _0x444e24(_0x5cd517);},'tTiCR':_0x3c8213(0x265),'EacLW':_0x3c8213(0x23d),'PccwE':_0x3c8213(0x1bd),'vMHhq':'selenium-webdriver/chrome.js','sNbTY':_0x3c8213(0x286),'EtQDJ':_0x3c8213(0x23e),'gJCGW':_0x3c8213(0x212),'YFzRQ':_0x3c8213(0x240),'xAzkm':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','DqhdT':'goog:chromeOptions','lGDdF':function(_0x21f38c,_0x4440dc){return _0x21f38c===_0x4440dc;},'DesPZ':_0x3c8213(0x23c),'jojsW':function(_0x1c1065,_0x258b67){return _0x1c1065>=_0x258b67;}},_0x10883b=_0x8831d4[_0x3c8213(0x1d4)](_0x1509d7[_0x3c8213(0x272)]),_0x20ad4e=_0x1509d7[_0x3c8213(0x1ee)](parseFloat,_0x8831d4['get'](_0x1509d7[_0x3c8213(0x27f)]))||_0x1509d7[_0x3c8213(0x1ee)](parseFloat,_0x8831d4[_0x3c8213(0x1d4)](_0x1509d7['QfGCp'])),_0x4fa9cd=_0x8831d4[_0x3c8213(0x1d4)](_0x1509d7['ufgEh'])||{},_0x5f3b06=_0x1509d7[_0x3c8213(0x28b)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x43cdfc=_0x4fa9cd[_0x1509d7['tTiCR']]||_0x8831d4[_0x3c8213(0x1d4)](_0x1509d7['EacLW'])||![];if(_0x43cdfc)return logger[_0x3c8213(0x20c)](_0x1509d7[_0x3c8213(0x214)]),![];let _0x38591a;try{_0x38591a=bsSetupHelper[_0x3c8213(0x275)](_0x1509d7[_0x3c8213(0x2a2)],_0x1509d7['sNbTY']);}catch(_0x4cf755){return![];}const _0x6e101c=new _0x38591a[(_0x3c8213(0x2bb))](_0x3ee6ab['chromeOptions_']),_0x88cd9=bsSetupHelper[_0x3c8213(0x20b)](_0x6e101c,[_0x1509d7[_0x3c8213(0x213)],_0x1509d7['gJCGW']])||bsSetupHelper['nestedKeyValue'](_0x3ee6ab[_0x3c8213(0x2a0)],[_0x1509d7['ufgEh'],_0x1509d7[_0x3c8213(0x1fe)],_0x1509d7[_0x3c8213(0x253)]])||bsSetupHelper[_0x3c8213(0x20b)](_0x3ee6ab['capabilities_'],[_0x1509d7[_0x3c8213(0x1fe)],_0x1509d7['gJCGW']])||[],_0x40456d=Array[_0x3c8213(0x27d)](_0x88cd9)?_0x88cd9:[];if(_0x40456d['some'](_0x27cdc2=>typeof _0x27cdc2===_0x3c8213(0x26f)&&(_0x27cdc2===_0x3c8213(0x25c)||_0x27cdc2[_0x3c8213(0x1b2)](_0x3c8213(0x280))&&_0x27cdc2!=='--headless=new')))return logger[_0x3c8213(0x20c)](_0x1509d7['xAzkm']),![];const _0x3f4d77=_0x3ee6ab[_0x3c8213(0x2a0)]||{},_0xa19b4a=bsSetupHelper[_0x3c8213(0x20b)](_0x3f4d77,[_0x1509d7['DqhdT']])||{},_0x27c545=bsSetupHelper[_0x3c8213(0x20b)](_0xa19b4a,[_0x1509d7[_0x3c8213(0x253)]])||[],_0x2d69c6=Array[_0x3c8213(0x27d)](_0x27c545)?_0x27c545:[];if(_0x2d69c6[_0x3c8213(0x292)](_0x39284d=>typeof _0x39284d===_0x3c8213(0x26f)&&(_0x39284d==='--headless'||_0x39284d['startsWith'](_0x3c8213(0x280))&&_0x39284d!=='--headless=new')))return logger[_0x3c8213(0x20c)](_0x1509d7[_0x3c8213(0x29d)]),![];if(_0x1509d7[_0x3c8213(0x1d1)](_0x10883b[_0x3c8213(0x224)](),_0x1509d7['DesPZ'])&&_0x1509d7[_0x3c8213(0x1c2)](_0x20ad4e,_0x5f3b06))return!![];return logger[_0x3c8213(0x20c)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a103_0x5d9295(0x205)]=_0x3fb47c=>{const _0x3fe344=a103_0x5d9295,_0x4039c6={};_0x4039c6[_0x3fe344(0x1ba)]=_0x3fe344(0x1fc),_0x4039c6[_0x3fe344(0x27b)]=function(_0x5892cf,_0x2de4ee){return _0x5892cf||_0x2de4ee;},_0x4039c6[_0x3fe344(0x252)]=_0x3fe344(0x2ab);const _0x4ca742=_0x4039c6,_0x272eab=scripts[_0x3fe344(0x247)];try{const _0x2bf845=bsSetupHelper[_0x3fe344(0x260)](process[_0x3fe344(0x1f5)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x3fe344(0x260)](process[_0x3fe344(0x1f5)][_0x3fe344(0x277)]);if((!bsSetupHelper[_0x3fe344(0x1cf)]()||process[_0x3fe344(0x1f5)][_0x3fe344(0x1d3)])&&_0x2bf845){const _0x436923=_0x3fb47c[_0x3fe344(0x1c0)](),_0x5a6ac9=_0x436923['get'](_0x4ca742[_0x3fe344(0x1ba)]),_0x2633ab=_0x4ca742['rycJE'](_0x5a6ac9,{});bsSetupHelper[_0x3fe344(0x202)](_0x2633ab,_0x272eab),_0x3fb47c[_0x3fe344(0x1c0)]()[_0x3fe344(0x28e)](_0x4ca742[_0x3fe344(0x1ba)],_0x2633ab);}else logger[_0x3fe344(0x20c)](_0x4ca742[_0x3fe344(0x252)]);}catch(_0x2bb448){logger[_0x3fe344(0x243)](_0x3fe344(0x1f8)+_0x2bb448);}},exports[a103_0x5d9295(0x1b4)]=(_0x5a1633=null,_0x322869=!![],_0x24016f=[])=>{const _0x37aab5=a103_0x5d9295,_0x491b92={};_0x491b92['WdBQB']=function(_0x331c45,_0x6389d5){return _0x331c45==_0x6389d5;},_0x491b92[_0x37aab5(0x26d)]=function(_0x24f3f9,_0x462034){return _0x24f3f9>_0x462034;},_0x491b92['aoYbB']=function(_0x473344,_0x34ad55){return _0x473344===_0x34ad55;},_0x491b92['prOsE']=function(_0x2a2691,_0xba0917){return _0x2a2691&&_0xba0917;};const _0x2a85aa=_0x491b92;if(_0x2a85aa['WdBQB'](process[_0x37aab5(0x1f5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x3b2722=JSON[_0x37aab5(0x1b7)](process[_0x37aab5(0x1f5)][_0x37aab5(0x1cd)]),_0x173986=Array[_0x37aab5(0x27d)](_0x3b2722[_0x37aab5(0x1b0)])?_0x3b2722['includeTagsInTestingScope']:[],_0x4d4735=Array[_0x37aab5(0x27d)](_0x3b2722[_0x37aab5(0x285)])?_0x3b2722[_0x37aab5(0x285)]:[],_0x35f175=_0x55a0c2=>typeof _0x55a0c2==='string'?_0x55a0c2[_0x37aab5(0x28a)](/^@/,'')[_0x37aab5(0x224)]()[_0x37aab5(0x22c)]():_0x55a0c2;if(bsSetupHelper[_0x37aab5(0x287)](_0x5a1633)){if(_0x2a85aa[_0x37aab5(0x26d)](_0x24016f[_0x37aab5(0x1c4)],0x0)){const _0x689b68=_0x24016f['map'](_0x35f175),_0x3dd7e3=_0x4d4735[_0x37aab5(0x292)](_0x177451=>_0x689b68[_0x37aab5(0x2bc)](_0x35f175(_0x177451))),_0x1856af=_0x2a85aa[_0x37aab5(0x2af)](_0x173986['length'],0x0)||_0x173986[_0x37aab5(0x292)](_0x3eba1a=>_0x689b68[_0x37aab5(0x2bc)](_0x35f175(_0x3eba1a)));return _0x2a85aa[_0x37aab5(0x22f)](!_0x3dd7e3,_0x1856af);}return!![];}let _0x45ce3f;_0x322869?_0x45ce3f=_0x5a1633[_0x37aab5(0x241)]('/'):_0x45ce3f=_0x5a1633;const _0x1a6259=_0x4d4735[_0x37aab5(0x292)](_0x1346c0=>_0x45ce3f[_0x37aab5(0x224)]()['includes'](_0x35f175(_0x1346c0)['toLowerCase']())),_0x8d6fc6=_0x2a85aa[_0x37aab5(0x2af)](_0x173986[_0x37aab5(0x1c4)],0x0)||_0x173986[_0x37aab5(0x292)](_0x145fe4=>_0x45ce3f['toLowerCase']()['includes'](_0x35f175(_0x145fe4)[_0x37aab5(0x224)]()));return _0x2a85aa[_0x37aab5(0x22f)](!_0x1a6259,_0x8d6fc6);}catch(_0xcf2089){logger[_0x37aab5(0x29e)]('Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20'+util[_0x37aab5(0x266)](_0xcf2089));}return![];},exports[a103_0x5d9295(0x1b1)]=_0x3d3355=>{const _0x42cf85=a103_0x5d9295;let _0x58d00b=![];try{_0x3d3355[_0x42cf85(0x1b3)][_0x42cf85(0x1bf)](_0x14ba1d=>{const _0xfb403e=_0x42cf85;if(bsSetupHelper[_0xfb403e(0x260)](_0x14ba1d[_0xfb403e(0x29a)]))return _0x58d00b=!![],!![];});}catch(_0x1596f){logger[_0x42cf85(0x29e)](_0x42cf85(0x1bc)+_0x1596f);}return _0x58d00b||bsSetupHelper[_0x42cf85(0x260)](_0x3d3355[_0x42cf85(0x29a)]);},exports['createAccessibilityTestRun']=PerformanceTester[a103_0x5d9295(0x221)](a103_0x5d9295(0x1f6),async function(_0x506276,_0x5b3701){const _0x21cd63=a103_0x5d9295,_0xf33bb2={};_0xf33bb2[_0x21cd63(0x234)]=_0x21cd63(0x1af),_0xf33bb2[_0x21cd63(0x26e)]=_0x21cd63(0x25d),_0xf33bb2[_0x21cd63(0x235)]=_0x21cd63(0x1e6),_0xf33bb2[_0x21cd63(0x208)]=_0x21cd63(0x296),_0xf33bb2['llDiN']=_0x21cd63(0x1c7),_0xf33bb2[_0x21cd63(0x24f)]=_0x21cd63(0x20a),_0xf33bb2[_0x21cd63(0x2b2)]=function(_0x48cd64,_0x663f2f){return _0x48cd64===_0x663f2f;},_0xf33bb2[_0x21cd63(0x1cc)]=_0x21cd63(0x1d9),_0xf33bb2[_0x21cd63(0x2a9)]=_0x21cd63(0x23f);const _0x5d2c26=_0xf33bb2,_0x4c7490=bsSetupHelper[_0x21cd63(0x1ca)](_0x506276),_0x212cbd=bsSetupHelper[_0x21cd63(0x1b9)](_0x506276);if(bsSetupHelper[_0x21cd63(0x287)](_0x4c7490)||bsSetupHelper[_0x21cd63(0x287)](_0x212cbd))return logger[_0x21cd63(0x243)](_0x5d2c26[_0x21cd63(0x234)]),[null,null];try{let _0x210003;bsSetupHelper['isUndefined'](process[_0x21cd63(0x1f5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x210003={}:_0x210003=JSON['parse'](process[_0x21cd63(0x1f5)][_0x21cd63(0x1cd)]);const {name:_0x433e08,version:_0x4419ef}=bsSetupHelper[_0x21cd63(0x248)](_0x506276,_0x5b3701),_0x5a41a1={'projectName':_0x506276[_0x21cd63(0x1ef)],'buildName':_0x506276[_0x21cd63(0x268)]||path['basename'](path[_0x21cd63(0x1fd)](process['cwd']())),'startTime':new Date()[_0x21cd63(0x223)](),'description':_0x506276[_0x21cd63(0x1dc)]||'','source':{'frameworkName':_0x5b3701[_0x21cd63(0x2bc)](_0x5d2c26[_0x21cd63(0x26e)])?_0x5d2c26[_0x21cd63(0x26e)]:_0x5b3701,'frameworkVersion':bsSetupHelper[_0x21cd63(0x218)](_0x5b3701),'sdkVersion':bsSetupHelper[_0x21cd63(0x20e)](),'language':_0x5d2c26[_0x21cd63(0x235)],'testFramework':_0x433e08,'testFrameworkVersion':_0x4419ef},'settings':_0x210003,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x21cd63(0x230)](),'hostInfo':bsSetupHelper[_0x21cd63(0x2ae)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x3e5afa={};_0x3e5afa[_0x21cd63(0x2b4)]=_0x4c7490,_0x3e5afa[_0x21cd63(0x27c)]=_0x212cbd;const _0x54351c={};_0x54351c[_0x21cd63(0x24b)]=_0x5d2c26[_0x21cd63(0x208)];const _0x30b165={};_0x30b165[_0x21cd63(0x20f)]=_0x3e5afa,_0x30b165['headers']=_0x54351c;const _0x3eac93=_0x30b165,_0x123b48={};_0x123b48[_0x21cd63(0x211)]=_0x5a41a1,_0x123b48[_0x21cd63(0x1c1)]=!![];const _0xec1e15=Object[_0x21cd63(0x1eb)](_0x3eac93,_0x123b48),_0x57bc24=await bsSetupHelper[_0x21cd63(0x2b1)](_0x5d2c26['llDiN'],_0x5d2c26[_0x21cd63(0x24f)],_0xec1e15,_0x506276,API_URL);let _0x1640f8=process[_0x21cd63(0x1f5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x1640f8?_0x1640f8=JSON['parse'](process[_0x21cd63(0x1f5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x1640f8={},scripts['parseFromJson'](_0x57bc24[_0x21cd63(0x1c6)][_0x21cd63(0x1c6)]),scripts[_0x21cd63(0x274)](),_0x1640f8[_0x21cd63(0x1c8)]=_0x57bc24[_0x21cd63(0x1c6)][_0x21cd63(0x1c6)]['scannerVersion'],process[_0x21cd63(0x1f5)][_0x21cd63(0x1cd)]=JSON[_0x21cd63(0x1ac)](_0x1640f8),[_0x57bc24[_0x21cd63(0x1c6)][_0x21cd63(0x1c6)][_0x21cd63(0x29f)],_0x57bc24[_0x21cd63(0x1c6)][_0x21cd63(0x1c6)]['id']];}catch(_0x5872ca){if(_0x5872ca[_0x21cd63(0x21a)])logger[_0x21cd63(0x243)](_0x21cd63(0x1a6)+_0x5872ca['response']['status']+'\x20'+_0x5872ca[_0x21cd63(0x21a)][_0x21cd63(0x289)]+'\x20'+JSON[_0x21cd63(0x1ac)](_0x5872ca[_0x21cd63(0x21a)][_0x21cd63(0x1c6)]));else{if(_0x5d2c26[_0x21cd63(0x2b2)](_0x5872ca[_0x21cd63(0x1ed)],_0x5d2c26[_0x21cd63(0x1cc)])){logger[_0x21cd63(0x243)](_0x21cd63(0x1a6)+(_0x5872ca[_0x21cd63(0x1ed)]||_0x5872ca[_0x21cd63(0x237)]));for(const _0x3519fd of _0x5872ca[_0x21cd63(0x1ad)]){logger['error'](_0x3519fd[_0x21cd63(0x1ed)]);}process['env'][_0x21cd63(0x1d8)]=_0x5d2c26[_0x21cd63(0x2a9)],process[_0x21cd63(0x1f5)][_0x21cd63(0x277)]=_0x5d2c26['MTiRr'];}else logger[_0x21cd63(0x243)](_0x21cd63(0x1a6)+(_0x5872ca['message']||_0x5872ca[_0x21cd63(0x237)]));}return[null,null];}}),exports[a103_0x5d9295(0x21c)]=PerformanceTester[a103_0x5d9295(0x221)](a103_0x5d9295(0x245),async function(_0xdc1fbe){const _0x768056=a103_0x5d9295,_0x1594e0={};_0x1594e0[_0x768056(0x1f3)]=function(_0x2363bb,_0x196377){return _0x2363bb!==_0x196377;},_0x1594e0['guouf']=_0x768056(0x26f),_0x1594e0['aAYZI']=_0x768056(0x243),_0x1594e0['AxgCl']=_0x768056(0x1b6),_0x1594e0[_0x768056(0x26c)]=_0x768056(0x296),_0x1594e0[_0x768056(0x2b8)]='PUT',_0x1594e0[_0x768056(0x297)]=_0x768056(0x293),_0x1594e0[_0x768056(0x249)]=function(_0x3dc25a,_0xd733a1){return _0x3dc25a+_0xd733a1;},_0x1594e0[_0x768056(0x242)]='Invalid\x20request:\x20',_0x1594e0[_0x768056(0x271)]=_0x768056(0x2a7);const _0x536141=_0x1594e0;if(bsSetupHelper['isUndefined'](process[_0x768056(0x1f5)][_0x768056(0x206)])||_0x536141[_0x768056(0x1f3)](typeof process[_0x768056(0x1f5)][_0x768056(0x206)],_0x536141[_0x768056(0x2bf)])){const _0x84f5e1={};return _0x84f5e1[_0x768056(0x236)]=_0x536141['aAYZI'],_0x84f5e1[_0x768056(0x1ed)]=_0x536141['AxgCl'],_0x84f5e1;}const _0x3ee7e9={'endTime':new Date()['toISOString']()},_0x443a45={};_0x443a45[_0x768056(0x29b)]=_0x768056(0x27e)+process[_0x768056(0x1f5)]['BS_A11Y_JWT'],_0x443a45[_0x768056(0x24b)]=_0x536141['jDAUN'];const _0x5278f8={};_0x5278f8[_0x768056(0x2b7)]=_0x443a45;const _0x3cd0fa=_0x5278f8,_0x560744={};_0x560744['body']=_0x3ee7e9,_0x560744[_0x768056(0x20f)]=null,_0x560744['json']=!![];const _0xfadf9b=Object[_0x768056(0x1eb)](_0x3cd0fa,_0x560744);try{const _0x3cd04c=await bsSetupHelper['nodeRequest'](_0x536141[_0x768056(0x2b8)],_0x536141[_0x768056(0x297)],_0xfadf9b,_0xdc1fbe,API_URL);if(_0x3cd04c[_0x768056(0x1c6)][_0x768056(0x243)])throw new Error(_0x536141['eZYvn'](_0x536141[_0x768056(0x242)],_0x3cd04c[_0x768056(0x1c6)]['error']));else{logger[_0x768056(0x2b9)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x768056(0x223)]());const _0x45b319={};return _0x45b319[_0x768056(0x236)]=_0x536141['XPnDt'],_0x45b319[_0x768056(0x1ed)]='',_0x45b319;}}catch(_0x1c5b17){_0x1c5b17[_0x768056(0x21a)]?logger[_0x768056(0x243)](_0x768056(0x298)+_0x1c5b17[_0x768056(0x21a)][_0x768056(0x236)]+'\x20'+_0x1c5b17[_0x768056(0x21a)][_0x768056(0x289)]+'\x20'+JSON[_0x768056(0x1ac)](_0x1c5b17['response'][_0x768056(0x1c6)])):logger[_0x768056(0x243)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+(_0x1c5b17[_0x768056(0x1ed)]||util[_0x768056(0x266)](_0x1c5b17)));const _0x16143f={};return _0x16143f[_0x768056(0x236)]=_0x536141[_0x768056(0x28f)],_0x16143f[_0x768056(0x1ed)]=_0x1c5b17['message']||(_0x1c5b17[_0x768056(0x21a)]?_0x1c5b17[_0x768056(0x21a)][_0x768056(0x236)]+':'+_0x1c5b17[_0x768056(0x21a)][_0x768056(0x289)]:_0x1c5b17),_0x16143f;}}),exports['performScan']=async(_0x52f026,_0x9d27ac=null,_0x5cc0a5=![],_0x5a44ed=null)=>{const _0x1ee992=a103_0x5d9295,_0x412b6b={};_0x412b6b['GCQYq']=_0x1ee992(0x2b0),_0x412b6b[_0x1ee992(0x1c5)]=_0x1ee992(0x2bd),_0x412b6b[_0x1ee992(0x276)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.',_0x412b6b[_0x1ee992(0x21d)]=function(_0x45dcd4,_0x4d7087){return _0x45dcd4||_0x4d7087;},_0x412b6b[_0x1ee992(0x210)]='bstackA11yScanOptions',_0x412b6b['EDOTL']='performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments';const _0x437fee=_0x412b6b;if(!this[_0x1ee992(0x28d)]()||!globals[_0x1ee992(0x225)](_0x437fee[_0x1ee992(0x219)])||!_0x5cc0a5&&!globals[_0x1ee992(0x225)](_0x437fee[_0x1ee992(0x1c5)])){logger[_0x1ee992(0x20c)](_0x437fee[_0x1ee992(0x276)]);return;}const _0x313462=_0x5cc0a5?_0x437fee[_0x1ee992(0x21d)](_0x5a44ed,{}):globals[_0x1ee992(0x225)](_0x437fee[_0x1ee992(0x210)])||{},_0x19561f={};_0x19561f[_0x1ee992(0x1ab)]=_0x9d27ac||global[_0x1ee992(0x251)];const _0x3c5a1e=Object[_0x1ee992(0x1eb)]({},_0x313462,_0x19561f);await this[_0x1ee992(0x279)](_0x52f026)&&(Object[_0x1ee992(0x1eb)](_0x3c5a1e,this[_0x1ee992(0x278)](),{'thTestRunUuid':this[_0x1ee992(0x2aa)]()}),logger[_0x1ee992(0x29e)](_0x437fee[_0x1ee992(0x1e4)]));logger[_0x1ee992(0x29e)]('[Accessibility]\x20Selenium\x20performScan\x20payload:\x20'+util[_0x1ee992(0x266)]('%j',_0x3c5a1e));const _0x386fca={};return _0x386fca['command']=_0x9d27ac,await PerformanceTester[_0x1ee992(0x221)](PerformanceA11yEvents[_0x1ee992(0x201)],async()=>{const _0x1ac3a4=_0x1ee992;try{await _0x52f026[_0x1ac3a4(0x200)](()=>_0x52f026['executeScript'](_0x1ac3a4(0x1de)),0x1388);}catch(_0x14d2e5){}const _0x55d286=util['format'](await _0x52f026['executeAsyncScript'](scripts[_0x1ac3a4(0x21f)],_0x3c5a1e));return logger[_0x1ac3a4(0x29e)](_0x1ac3a4(0x246)+_0x55d286),_0x55d286;},_0x386fca)();},exports['getAccessibilityResults']=async(_0x22b116,_0x58491b)=>{const _0x2fa7fa=a103_0x5d9295,_0x81eb2d={};_0x81eb2d[_0x2fa7fa(0x233)]=_0x2fa7fa(0x281),_0x81eb2d[_0x2fa7fa(0x267)]='isAccessibilityPlatform',_0x81eb2d['mWUMy']=_0x2fa7fa(0x2bd),_0x81eb2d[_0x2fa7fa(0x24d)]=_0x2fa7fa(0x227),_0x81eb2d[_0x2fa7fa(0x20d)]='getAccessibilityResults',_0x81eb2d[_0x2fa7fa(0x222)]=_0x2fa7fa(0x1be);const _0x3c4f38=_0x81eb2d;if(!this[_0x2fa7fa(0x28d)]()||!globals[_0x2fa7fa(0x225)](_0x3c4f38[_0x2fa7fa(0x267)])||!globals[_0x2fa7fa(0x225)](_0x3c4f38[_0x2fa7fa(0x1d6)]))return logger['warn'](_0x3c4f38[_0x2fa7fa(0x24d)]),[];try{const _0x773af0=await this[_0x2fa7fa(0x279)](_0x22b116),_0x5d228b=_0x773af0?Object[_0x2fa7fa(0x1eb)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x773af0&&logger[_0x2fa7fa(0x29e)](_0x2fa7fa(0x1e9)+util[_0x2fa7fa(0x266)]('%j',_0x5d228b)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2fa7fa(0x201)],async()=>{const _0x58a0ee=_0x2fa7fa;logger[_0x58a0ee(0x29e)](_0x3c4f38[_0x58a0ee(0x233)]);const _0x5bbca1={};_0x5bbca1[_0x58a0ee(0x1ab)]=_0x58491b[_0x58a0ee(0x251)];const _0x1ecdeb=Object[_0x58a0ee(0x1eb)](_0x5bbca1,_0x5d228b);logger[_0x58a0ee(0x29e)](util[_0x58a0ee(0x266)](await _0x22b116['executeAsyncScript'](scripts[_0x58a0ee(0x21f)],_0x1ecdeb)));},{'command':_0x3c4f38[_0x2fa7fa(0x20d)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2fa7fa(0x258)],async()=>{const _0x1e091d=_0x2fa7fa,_0x1016ee=_0x773af0?await _0x22b116['executeAsyncScript'](scripts[_0x1e091d(0x26a)],_0x5d228b):await _0x22b116['executeAsyncScript'](scripts[_0x1e091d(0x26a)]);return _0x1016ee;})();}catch{return logger[_0x2fa7fa(0x243)](_0x3c4f38['PovxS']),[];}},exports['getAccessibilityResultsSummary']=async(_0x2eb0d9,_0x51f21d)=>{const _0x195f1e=a103_0x5d9295,_0x2fb4b4={};_0x2fb4b4['vggoG']=_0x195f1e(0x1ec),_0x2fb4b4['xdPZs']=_0x195f1e(0x2b0),_0x2fb4b4[_0x195f1e(0x24e)]=_0x195f1e(0x2bd),_0x2fb4b4[_0x195f1e(0x27a)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x2fb4b4[_0x195f1e(0x1f9)]=_0x195f1e(0x2a6),_0x2fb4b4['cVyXD']=_0x195f1e(0x1db);const _0x2f57cd=_0x2fb4b4;if(!this['isAccessibilityAutomationSession']()||!globals[_0x195f1e(0x225)](_0x2f57cd['xdPZs'])||!globals[_0x195f1e(0x225)](_0x2f57cd[_0x195f1e(0x24e)]))return logger[_0x195f1e(0x20c)](_0x2f57cd[_0x195f1e(0x27a)]),{};try{const _0x42a216=await this[_0x195f1e(0x279)](_0x2eb0d9),_0x292d36=_0x42a216?Object['assign']({},this[_0x195f1e(0x278)](),{'thTestRunUuid':this[_0x195f1e(0x2aa)]()}):{};return _0x42a216&&logger['debug']('getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20'+util[_0x195f1e(0x266)]('%j',_0x292d36)),await PerformanceTester[_0x195f1e(0x221)](PerformanceA11yEvents[_0x195f1e(0x201)],async()=>{const _0x3c9008=_0x195f1e;logger[_0x3c9008(0x29e)](_0x2f57cd[_0x3c9008(0x226)]);const _0x191cb1={};_0x191cb1[_0x3c9008(0x1ab)]=_0x51f21d[_0x3c9008(0x251)];const _0x2f2b7f=Object[_0x3c9008(0x1eb)](_0x191cb1,_0x292d36);logger[_0x3c9008(0x29e)](util[_0x3c9008(0x266)](await _0x2eb0d9[_0x3c9008(0x2ba)](scripts[_0x3c9008(0x21f)],_0x2f2b7f)));},{'command':_0x2f57cd[_0x195f1e(0x1f9)]})(),await PerformanceTester[_0x195f1e(0x221)](PerformanceA11yEvents[_0x195f1e(0x291)],async()=>{const _0x5bc197=_0x195f1e,_0x29fdc9=_0x42a216?await _0x2eb0d9[_0x5bc197(0x2ba)](scripts[_0x5bc197(0x2b5)],_0x292d36):await _0x2eb0d9[_0x5bc197(0x2ba)](scripts[_0x5bc197(0x2b5)]);return _0x29fdc9;})();}catch{return logger[_0x195f1e(0x243)](_0x2f57cd['cVyXD']),{};}},exports[a103_0x5d9295(0x262)]=(_0x58974e,_0x3a1df4=![])=>{const _0x504c1e=a103_0x5d9295,_0x26cb28={'LESZU':function(_0xd5b47e,_0x4e5b44){return _0xd5b47e(_0x4e5b44);},'CwzFv':function(_0x26f208,_0x2bfa89){return _0x26f208(_0x2bfa89);},'MrGXM':_0x504c1e(0x2b3),'teuCP':function(_0x311c9d,_0x50cd99){return _0x311c9d!==_0x50cd99;},'sJeNM':_0x504c1e(0x22a),'XOiXT':_0x504c1e(0x28c),'xHHjg':_0x504c1e(0x23c),'JLLoK':_0x504c1e(0x238),'qPKai':_0x504c1e(0x24a)};try{if(!_0x58974e)return![];const _0x561671=_0x544b72=>typeof _0x58974e[_0x504c1e(0x1d4)]===_0x504c1e(0x1df)?_0x58974e[_0x504c1e(0x1d4)](_0x544b72):_0x58974e[_0x544b72],_0x27d0b1=_0x26cb28[_0x504c1e(0x1e2)](String,_0x26cb28[_0x504c1e(0x220)](_0x561671,_0x26cb28[_0x504c1e(0x1fa)])||'')[_0x504c1e(0x224)]();if(_0x26cb28[_0x504c1e(0x257)](_0x27d0b1,_0x26cb28[_0x504c1e(0x269)]))return![];const _0x3cd4b7=_0x26cb28[_0x504c1e(0x1e2)](String,_0x26cb28[_0x504c1e(0x220)](_0x561671,_0x26cb28[_0x504c1e(0x229)])||'')[_0x504c1e(0x224)]();if(!_0x3cd4b7[_0x504c1e(0x2bc)](_0x26cb28[_0x504c1e(0x23b)]))return _0x3a1df4&&logger[_0x504c1e(0x20c)](_0x26cb28['JLLoK']),![];return logger[_0x504c1e(0x29e)](_0x26cb28[_0x504c1e(0x23a)]),!![];}catch(_0x1af671){return logger['debug'](_0x504c1e(0x2ac)+_0x1af671),![];}},exports[a103_0x5d9295(0x279)]=async _0x15eaa8=>{const _0x44e96a=a103_0x5d9295;try{const _0x1f904c=await _0x15eaa8[_0x44e96a(0x1c0)]();return exports[_0x44e96a(0x262)](_0x1f904c);}catch(_0xa9c14e){return logger[_0x44e96a(0x29e)](_0x44e96a(0x250)+_0xa9c14e),![];}},exports[a103_0x5d9295(0x278)]=()=>{const _0x324358=a103_0x5d9295,_0x274416={};return _0x274416[_0x324358(0x2a1)]=!![],_0x274416;},exports[a103_0x5d9295(0x2aa)]=()=>{const _0x53f61b=a103_0x5d9295,_0x14e9a2={};_0x14e9a2[_0x53f61b(0x25b)]=function(_0x521eda,_0x4ff25a){return _0x521eda===_0x4ff25a;},_0x14e9a2[_0x53f61b(0x21b)]=_0x53f61b(0x26f),_0x14e9a2[_0x53f61b(0x1cb)]=function(_0x14338e,_0x2ae035){return _0x14338e>_0x2ae035;},_0x14e9a2[_0x53f61b(0x1e5)]=_0x53f61b(0x254),_0x14e9a2[_0x53f61b(0x270)]='global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).',_0x14e9a2['ECIEr']=_0x53f61b(0x207);const _0x1f7a61=_0x14e9a2,_0xaf821a=global[_0x53f61b(0x1a9)],_0xf87c5b=_0xaf821a&&_0xaf821a[_0x53f61b(0x1b8)],_0x19ee82=_0xf87c5b&&_0xf87c5b[_0x53f61b(0x1d5)];if(_0x1f7a61[_0x53f61b(0x25b)](typeof _0x19ee82,_0x1f7a61['hSnKS'])&&_0x1f7a61[_0x53f61b(0x1cb)](_0x19ee82[_0x53f61b(0x1c4)],0x0))return _0x19ee82;let _0x58417c;if(!_0xaf821a)_0x58417c=_0x1f7a61['rHaZY'];else!_0xf87c5b?_0x58417c=_0x1f7a61[_0x53f61b(0x270)]:_0x58417c=_0x53f61b(0x1c9)+Object[_0x53f61b(0x24c)](_0xf87c5b)['join'](',\x20')+_0x53f61b(0x1f2)+(_0x1f7a61['bwroj'](_0x19ee82,undefined)?_0x1f7a61[_0x53f61b(0x239)]:'\x22'+_0x19ee82+'\x22')+_0x53f61b(0x25a);return logger[_0x53f61b(0x20c)]('[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20'+_0x58417c+'\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.'),'';},exports[a103_0x5d9295(0x217)]=_0x1f501d=>{const _0x118d2b=a103_0x5d9295,_0x4e495b={};_0x4e495b[_0x118d2b(0x1d0)]=function(_0x233e83,_0x23748f){return _0x233e83===_0x23748f;},_0x4e495b[_0x118d2b(0x1a8)]=_0x118d2b(0x26f),_0x4e495b[_0x118d2b(0x244)]=_0x118d2b(0x255);const _0x11010c=_0x4e495b;if(_0x1f501d&&_0x1f501d[_0x118d2b(0x204)]&&_0x11010c[_0x118d2b(0x1d0)](typeof _0x1f501d[_0x118d2b(0x204)],_0x11010c[_0x118d2b(0x1a8)]))return _0x1f501d['script'][_0x118d2b(0x2bc)](_0x11010c[_0x118d2b(0x244)]);return![];},exports[a103_0x5d9295(0x1d2)]=a103_0x5d9295(0x1e3),exports['isMobileScanningEnabledForGroup']=()=>process[a103_0x5d9295(0x1f5)][a103_0x5d9295(0x1ae)]===a103_0x5d9295(0x1ff),exports['isBrowserSupportedForAccessibility']=_0x5f5296=>{const _0x42b412=a103_0x5d9295,_0x2e75f9={};_0x2e75f9['EcZDb']=function(_0x45be9d,_0x4af81){return _0x45be9d in _0x4af81;};const _0x16fdf7=_0x2e75f9;if(bsSetupHelper['isUndefined'](_0x5f5296))return![];const _0x5b70aa=_0x5f5296[_0x42b412(0x224)]();return _0x16fdf7[_0x42b412(0x1a7)](_0x5b70aa,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a103_0x5d9295(0x29c)]=_0x368d56=>{const _0x24d77f=a103_0x5d9295;if(bsSetupHelper[_0x24d77f(0x287)](_0x368d56))return null;const _0x4bfe37=_0x368d56[_0x24d77f(0x224)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x4bfe37]||null;},exports[a103_0x5d9295(0x2a3)]=(_0xa54cb2,_0x413d44)=>{const _0x57b5a2=a103_0x5d9295,_0x4251a5=this[_0x57b5a2(0x29c)](_0xa54cb2);if(!_0x4251a5)return null;if(_0x413d44)return _0x4251a5[_0x57b5a2(0x2a4)];return _0x4251a5[_0x57b5a2(0x22d)];},exports[a103_0x5d9295(0x1dd)]=_0x38c0d7=>{const _0x2ca02c=a103_0x5d9295,_0x20eb1c=this[_0x2ca02c(0x29c)](_0x38c0d7);return _0x20eb1c?_0x20eb1c[_0x2ca02c(0x1ea)]:_0x38c0d7;},exports[a103_0x5d9295(0x25f)]=_0x513dd7=>{const _0x360472=a103_0x5d9295,_0x1da452=this[_0x360472(0x29c)](_0x513dd7);return _0x1da452?_0x1da452[_0x360472(0x22b)]:![];},exports['isVersionSupported']=(_0x598579,_0x57819a)=>{const _0x3d6773=a103_0x5d9295,_0x23b7b8={'FNAMx':function(_0x4775d6,_0x464fad){return _0x4775d6(_0x464fad);},'uLAhF':function(_0x22433b,_0x4fcfa7){return _0x22433b>=_0x4fcfa7;}};if(bsSetupHelper[_0x3d6773(0x287)](_0x598579)||bsSetupHelper['isUndefined'](_0x57819a))return![];const _0x4247d8=bsSetupHelper[_0x3d6773(0x1bb)](_0x23b7b8[_0x3d6773(0x216)](String,_0x598579),_0x23b7b8['FNAMx'](String,_0x57819a));return _0x23b7b8[_0x3d6773(0x1d7)](_0x4247d8,0x0);},exports[a103_0x5d9295(0x2be)]=_0x4e4a65=>{const _0xf56bcd=a103_0x5d9295,_0x11eb49={};_0x11eb49[_0xf56bcd(0x1ce)]=function(_0x18d258,_0xef2465){return _0x18d258!==_0xef2465;},_0x11eb49['pvtSA']=_0xf56bcd(0x26f),_0x11eb49[_0xf56bcd(0x259)]='base64';const _0x3f40af=_0x11eb49;if(!_0x4e4a65||_0x3f40af['BONKy'](typeof _0x4e4a65,_0x3f40af[_0xf56bcd(0x1fb)]))return null;try{return JSON[_0xf56bcd(0x1b7)](Buffer[_0xf56bcd(0x25e)](_0x4e4a65[_0xf56bcd(0x1da)]('.')[0x1],_0x3f40af[_0xf56bcd(0x259)])['toString']());}catch{return null;}};
|
|
1
|
+
const a103_0x11bc67=a103_0x41f8;function a103_0x41f8(_0x4f637f,_0x4759b6){const _0x3ae4f9=a103_0x3ae4();return a103_0x41f8=function(_0x41f807,_0x1f5af1){_0x41f807=_0x41f807-0x1a2;let _0xc6af7c=_0x3ae4f9[_0x41f807];return _0xc6af7c;},a103_0x41f8(_0x4f637f,_0x4759b6);}function a103_0x3ae4(){const _0x51d76c=['--headless=new','checkAccessibilityPlatformConfig','FsRMR','afGFi','IUKFz','getResults','isBrowserstackInfra','45LQIacn','\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.','assign','dzUbm','capabilities_','stopAccessibilityTestRun','ygfWB','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','json','getHostInfo','IcwRf','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','string','warn','../performance/constants','getResultsSummary','getUserName','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','GLrzT','__cloud_provider___','YJIGT','__workerDetails','getAccessKey','scannerVersion','length','browserVersion','ChromeExtension','getCapabilities','YiFfs','browserstackSessionName','ptHxq','hZsSw','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','auth','browserstack_executor','cwd','includes','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','Content-Type','body','map','platforms','4yseDFA','format','NTNhS','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','TJZWs','dcGys','getTestFrameworkDetails','qQxIn','yykFw','rLiNG','message','isBrowserSupportedForAccessibility','TSnhw','tTPfF','errors','isAccessibilityPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','MOBILE_SCANNING_DISABLED_WARNING','10562508jLfXin','trim','selenium-webdriver/chrome.js','AswDt','accessibility','path','env','dxLiI','application/json','headers','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Bearer\x20','version','isMobileAccessibilitySession','ePyTg','user','GRpUT','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','buildName','1133361SAsTJr','stack','qVKwD','min_version_non_browserstack','true','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','egMmS','yLHoI','2022NuCszt','10nfirle','toISOString','../performance/performance-tester','currentTest','LENWI','getPackageVersion','status','zmcCt','xLIAs','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','yWPwt','playwright','asdEw','deviceName','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','a11y:stop','--headless','yHMDa','script','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','../logger','undefined','nodeRequest','fucaC','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','getMobileA11yCapabilities','display_name','437840yTHCjI','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','Ganhe','from','test_runs/stop','parseA11yJwtPayload','limBm','10180357OkWlic','is_mobile_session','getPlatform','Bxoqg','cIqHt','fltOK','OhYqa','toJson','YREly','projectName','bstack:options','QjPfF','CMpad','zmMVH','error','GSGFl','Performing\x20scan\x20before\x20getting\x20results','rjJVU','executeAsyncScript','gJabw','data','mergeDeep','replace','ZWwUX','browserName','join','isUndefined','a11y:start','--headless=','requiresChromeOptionsValidation','platformName','CyQOb','v2/test_runs','tyYYF','MNeBr','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','parse','response','toLowerCase','device','No\x20accessibility\x20results\x20were\x20found.','getBrowserDisplayName','NVfbv','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','PAPpk','Options','min_version_browserstack','setNonBstackInfraCapabilities','MymBU','buildDescription','Invalid\x20configuration\x20passed.','performScan','orYDq','204169dzlpKZ','poSku','ZEHAc','resolveMobileThTestRunUuid','info','aEgIx','GET_RESULTS_SUMMARY','PERFORM_SCAN','uaHkY','isMobileAccessibilityPlatform','czHwq','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','getGlobal','function','HbXXJ','set','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','GCowN','success','SIQiw','QEoJn','ZePBA','pass','bstackA11yScanOptions','isBrowserStackCommandExecutor','chromeOptions_','./constants','includeTagsInTestingScope','AATsy','basename','90vuqXod','Authorization','KJxLy','debug','BS_A11Y_JWT','LjHqW',']\x20but\x20thTestRunUuid\x20is\x20','parseFromJson','YvsaP','some','get','getBrowserA11yConfig','IfLKg','aVbux','statusText','BROWSERSTACK_TEST_ACCESSIBILITY_YML','accessibilityToken','trYUg','POST','null','startsWith','nestedKeyValue','nonBstackPlatformValidation','isAccessibilityAutomationSession','getGitMetaData','excludeTagsInTestingScope','SQEsR','bfGiA','javascript','isArray','chromeOptions','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).','getBrowserVersion','ycHIv','Performing\x20scan\x20before\x20getting\x20results\x20summary','util','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','bstackA11yShouldScan','GgUgN','3292915gxgAUk','BROWSERSTACK_TURBOSCALE','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','toString','android','pvwCi','isVersionSupported','goog:chromeOptions','false','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','FKTmW','osxzp','createAccessibilityTestRun','jLHgW','Performed\x20scan\x20with\x20result:\x20','IZdXt','measureWrapper','694ZoHxHI','resolve','chrome','vuqLt','../helper','kcCQj','KNFui','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','bvYuk','method','XwSfh','keys','CScrB','return\x20document.readyState\x20===\x20\x22complete\x22','forEach','options_','eedUM','requireModule','stringify','isTrue'];a103_0x3ae4=function(){return _0x51d76c;};return a103_0x3ae4();}(function(_0x3a6c3b,_0x40eb73){const _0x561817=a103_0x41f8,_0x9c20ef=_0x3a6c3b();while(!![]){try{const _0x5d8dc5=-parseInt(_0x561817(0x261))/0x1*(-parseInt(_0x561817(0x1ed))/0x2)+parseInt(_0x561817(0x258))/0x3+-parseInt(_0x561817(0x233))/0x4*(parseInt(_0x561817(0x1dc))/0x5)+parseInt(_0x561817(0x1b4))/0x6*(parseInt(_0x561817(0x2ba))/0x7)+-parseInt(_0x561817(0x27e))/0x8*(parseInt(_0x561817(0x208))/0x9)+-parseInt(_0x561817(0x262))/0xa*(parseInt(_0x561817(0x285))/0xb)+parseInt(_0x561817(0x245))/0xc;if(_0x5d8dc5===_0x40eb73)break;else _0x9c20ef['push'](_0x9c20ef['shift']());}catch(_0x57c4ee){_0x9c20ef['push'](_0x9c20ef['shift']());}}}(a103_0x3ae4,0x83b17));const path=require(a103_0x11bc67(0x24a)),util=require(a103_0x11bc67(0x1d7)),bsSetupHelper=require(a103_0x11bc67(0x1f1)),logger=require(a103_0x11bc67(0x277))['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a103_0x11bc67(0x1b0)),PerformanceTester=require(a103_0x11bc67(0x264)),scripts=require('./scripts'),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a103_0x11bc67(0x216));exports['fetchPlatformDetails']=async _0x28a9bf=>{const _0x2eb7b0=a103_0x11bc67,_0x458be3={};_0x458be3[_0x2eb7b0(0x212)]=function(_0x1c9d64,_0x48c7b2){return _0x1c9d64===_0x48c7b2;},_0x458be3[_0x2eb7b0(0x24c)]='browserstack';const _0x34ac28=_0x458be3;let _0x22085b={};try{const _0x4e7638=await _0x28a9bf[_0x2eb7b0(0x224)]();_0x22085b={'os_name':_0x4e7638[_0x2eb7b0(0x287)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x34ac28[_0x2eb7b0(0x212)](global[_0x2eb7b0(0x21c)],_0x34ac28[_0x2eb7b0(0x24c)])),'browser_name':_0x4e7638['getBrowserName'](),'browser_version':_0x4e7638[_0x2eb7b0(0x1d4)]()};}catch(_0x5f9088){logger['debug'](_0x2eb7b0(0x25d)+_0x5f9088);}return _0x22085b;},exports['isAccessibilityAutomationSession']=()=>{const _0x2e9521=a103_0x11bc67,_0xba58d3={};_0xba58d3[_0x2e9521(0x2bb)]=function(_0x5b2469,_0x410a1b){return _0x5b2469===_0x410a1b;},_0xba58d3[_0x2e9521(0x1e7)]=_0x2e9521(0x214),_0xba58d3[_0x2e9521(0x1c5)]=function(_0x28f919,_0x40baa9){return _0x28f919>_0x40baa9;},_0xba58d3['AATsy']=function(_0xe4985e,_0x2b1307){return _0xe4985e!==_0x2b1307;},_0xba58d3[_0x2e9521(0x21d)]=_0x2e9521(0x1c7),_0xba58d3[_0x2e9521(0x237)]=function(_0x123a01,_0x35468f){return _0x123a01&&_0x35468f;};const _0x409835=_0xba58d3;try{const _0x44495e=bsSetupHelper[_0x2e9521(0x200)](process[_0x2e9521(0x24b)][_0x2e9521(0x1c3)])||bsSetupHelper[_0x2e9521(0x200)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']),_0x41fc0b=_0x409835[_0x2e9521(0x2bb)](typeof process[_0x2e9521(0x24b)][_0x2e9521(0x1b8)],_0x409835[_0x2e9521(0x1e7)])&&_0x409835['trYUg'](process[_0x2e9521(0x24b)][_0x2e9521(0x1b8)][_0x2e9521(0x221)],0x0)&&_0x409835[_0x2e9521(0x1b2)](process[_0x2e9521(0x24b)][_0x2e9521(0x1b8)],_0x409835[_0x2e9521(0x21d)]);return _0x409835[_0x2e9521(0x237)](_0x44495e,_0x41fc0b);}catch(_0x302081){logger['debug'](_0x2e9521(0x26b)+_0x302081);}return![];},exports[a103_0x11bc67(0x1ca)]=(_0x333fcd,_0x295a85)=>{const _0x34762b=a103_0x11bc67,_0x132b8f={'qQxIn':_0x34762b(0x29d),'limBm':function(_0x37f0b9,_0x21f4f6){return _0x37f0b9(_0x21f4f6);},'GCowN':_0x34762b(0x222),'bvYuk':function(_0x44d278,_0xe6c9b0){return _0x44d278(_0xe6c9b0);},'aEgIx':_0x34762b(0x251),'YvsaP':_0x34762b(0x28f),'rLiNG':_0x34762b(0x270),'yHMDa':_0x34762b(0x2ac),'gJabw':_0x34762b(0x24f),'jFojN':_0x34762b(0x247),'UIPxg':'selenium-webdriver','aVbux':_0x34762b(0x1fc),'Bxoqg':'args','ygfWB':_0x34762b(0x1d2),'tTPfF':_0x34762b(0x2b0),'aLZrt':_0x34762b(0x1e3),'yykFw':function(_0x4a7209,_0x5338e4){return _0x4a7209===_0x5338e4;},'qwFNH':_0x34762b(0x1ef),'yWPwt':function(_0x18fa9e,_0xb33a8f){return _0x18fa9e>=_0xb33a8f;}},_0x13ec41=_0x333fcd['get'](_0x132b8f[_0x34762b(0x23a)]),_0x267ec3=_0x132b8f['limBm'](parseFloat,_0x333fcd[_0x34762b(0x1be)](_0x132b8f[_0x34762b(0x1a7)]))||_0x132b8f[_0x34762b(0x1f5)](parseFloat,_0x333fcd[_0x34762b(0x1be)](_0x132b8f[_0x34762b(0x2bf)])),_0x569777=_0x333fcd[_0x34762b(0x1be)](_0x132b8f[_0x34762b(0x1bc)])||{},_0x1cb258=_0x132b8f[_0x34762b(0x284)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x47166e=_0x569777[_0x132b8f[_0x34762b(0x23c)]]||_0x333fcd['get'](_0x132b8f[_0x34762b(0x274)])||![];if(_0x47166e)return logger[_0x34762b(0x215)](_0x132b8f[_0x34762b(0x298)]),![];let _0x734a1e;try{_0x734a1e=bsSetupHelper[_0x34762b(0x1fe)](_0x132b8f['jFojN'],_0x132b8f['UIPxg']);}catch(_0x3392a8){return![];}const _0x15242b=new _0x734a1e[(_0x34762b(0x2b2))](_0x295a85[_0x34762b(0x1af)]),_0x223116=bsSetupHelper[_0x34762b(0x1c9)](_0x15242b,[_0x132b8f[_0x34762b(0x1c1)],_0x132b8f[_0x34762b(0x288)]])||bsSetupHelper[_0x34762b(0x1c9)](_0x295a85[_0x34762b(0x20c)],[_0x132b8f[_0x34762b(0x1bc)],_0x132b8f[_0x34762b(0x20e)],_0x132b8f[_0x34762b(0x288)]])||bsSetupHelper['nestedKeyValue'](_0x295a85[_0x34762b(0x20c)],[_0x132b8f['ygfWB'],_0x132b8f[_0x34762b(0x288)]])||[],_0x2bcd2d=Array['isArray'](_0x223116)?_0x223116:[];if(_0x2bcd2d[_0x34762b(0x1bd)](_0x1c756c=>typeof _0x1c756c==='string'&&(_0x1c756c===_0x34762b(0x273)||_0x1c756c[_0x34762b(0x1c8)](_0x34762b(0x2a1))&&_0x1c756c!==_0x34762b(0x201))))return logger[_0x34762b(0x215)](_0x132b8f[_0x34762b(0x240)]),![];const _0x5b9370=_0x295a85['capabilities_']||{},_0x4edf30=bsSetupHelper[_0x34762b(0x1c9)](_0x5b9370,[_0x132b8f['aLZrt']])||{},_0x46dd36=bsSetupHelper[_0x34762b(0x1c9)](_0x4edf30,[_0x132b8f['Bxoqg']])||[],_0x24a8b5=Array[_0x34762b(0x1d1)](_0x46dd36)?_0x46dd36:[];if(_0x24a8b5[_0x34762b(0x1bd)](_0x2a3ecb=>typeof _0x2a3ecb===_0x34762b(0x214)&&(_0x2a3ecb===_0x34762b(0x273)||_0x2a3ecb[_0x34762b(0x1c8)](_0x34762b(0x2a1))&&_0x2a3ecb!==_0x34762b(0x201))))return logger[_0x34762b(0x215)](_0x132b8f[_0x34762b(0x240)]),![];if(_0x132b8f[_0x34762b(0x23b)](_0x13ec41[_0x34762b(0x2ab)](),_0x132b8f['qwFNH'])&&_0x132b8f[_0x34762b(0x26d)](_0x267ec3,_0x1cb258))return!![];return logger['warn'](_0x34762b(0x21a)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a103_0x11bc67(0x2b4)]=_0x4ab30b=>{const _0x4e3e29=a103_0x11bc67,_0x4d4d7c={};_0x4d4d7c['ZWwUX']=_0x4e3e29(0x1e3),_0x4d4d7c['FKTmW']=function(_0x28da6a,_0x4c3183){return _0x28da6a||_0x4c3183;},_0x4d4d7c['qNlvG']='Not\x20a\x20Accessibility\x20Session';const _0x4eff9d=_0x4d4d7c,_0x5cbe4e=scripts[_0x4e3e29(0x223)];try{const _0xc94645=bsSetupHelper[_0x4e3e29(0x200)](process[_0x4e3e29(0x24b)][_0x4e3e29(0x1c3)])||bsSetupHelper[_0x4e3e29(0x200)](process[_0x4e3e29(0x24b)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper[_0x4e3e29(0x207)]()||process['env'][_0x4e3e29(0x1dd)])&&_0xc94645){const _0x58479e=_0x4ab30b[_0x4e3e29(0x224)](),_0x49704b=_0x58479e['get'](_0x4eff9d[_0x4e3e29(0x29c)]),_0xfcbd09=_0x4eff9d[_0x4e3e29(0x1e6)](_0x49704b,{});bsSetupHelper[_0x4e3e29(0x29a)](_0xfcbd09,_0x5cbe4e),_0x4ab30b[_0x4e3e29(0x224)]()[_0x4e3e29(0x1a5)](_0x4eff9d[_0x4e3e29(0x29c)],_0xfcbd09);}else logger[_0x4e3e29(0x215)](_0x4eff9d['qNlvG']);}catch(_0x179bf3){logger[_0x4e3e29(0x293)](_0x4e3e29(0x276)+_0x179bf3);}},exports['shouldScanTestForAccessibility']=(_0x9d745a=null,_0x701c91=!![],_0x4c753a=[])=>{const _0x2c48cd=a103_0x11bc67,_0x47c7bc={};_0x47c7bc[_0x2c48cd(0x20b)]=function(_0x1e24a1,_0x4df8e7){return _0x1e24a1==_0x4df8e7;},_0x47c7bc[_0x2c48cd(0x296)]=function(_0x2e9256,_0x2f5fec){return _0x2e9256>_0x2f5fec;},_0x47c7bc[_0x2c48cd(0x1aa)]=function(_0x1c9a15,_0x2a0236){return _0x1c9a15===_0x2a0236;},_0x47c7bc[_0x2c48cd(0x26f)]=function(_0x57247d,_0x4abe03){return _0x57247d&&_0x4abe03;},_0x47c7bc[_0x2c48cd(0x238)]=function(_0x4924cd,_0x30e0a4){return _0x4924cd&&_0x30e0a4;};const _0x5ef465=_0x47c7bc;if(_0x5ef465[_0x2c48cd(0x20b)](process['env'][_0x2c48cd(0x243)],null))return!![];try{const _0x46dd73=JSON['parse'](process[_0x2c48cd(0x24b)][_0x2c48cd(0x243)]),_0x36c7c9=Array[_0x2c48cd(0x1d1)](_0x46dd73['includeTagsInTestingScope'])?_0x46dd73[_0x2c48cd(0x1b1)]:[],_0x1f5017=Array[_0x2c48cd(0x1d1)](_0x46dd73[_0x2c48cd(0x1cd)])?_0x46dd73['excludeTagsInTestingScope']:[],_0x3e63b6=_0x53f6a4=>typeof _0x53f6a4===_0x2c48cd(0x214)?_0x53f6a4[_0x2c48cd(0x29b)](/^@/,'')[_0x2c48cd(0x2ab)]()[_0x2c48cd(0x246)]():_0x53f6a4;if(bsSetupHelper[_0x2c48cd(0x29f)](_0x9d745a)){if(_0x5ef465[_0x2c48cd(0x296)](_0x4c753a[_0x2c48cd(0x221)],0x0)){const _0x18acc6=_0x4c753a[_0x2c48cd(0x231)](_0x3e63b6),_0x5b3c99=_0x1f5017[_0x2c48cd(0x1bd)](_0x29b725=>_0x18acc6[_0x2c48cd(0x22d)](_0x3e63b6(_0x29b725))),_0x4ecc1c=_0x5ef465[_0x2c48cd(0x1aa)](_0x36c7c9[_0x2c48cd(0x221)],0x0)||_0x36c7c9[_0x2c48cd(0x1bd)](_0x5ce725=>_0x18acc6[_0x2c48cd(0x22d)](_0x3e63b6(_0x5ce725)));return _0x5ef465[_0x2c48cd(0x26f)](!_0x5b3c99,_0x4ecc1c);}return!![];}let _0x3b4ed9;_0x701c91?_0x3b4ed9=_0x9d745a[_0x2c48cd(0x29e)]('/'):_0x3b4ed9=_0x9d745a;const _0x562b7e=_0x1f5017['some'](_0x24f06e=>_0x3b4ed9[_0x2c48cd(0x2ab)]()[_0x2c48cd(0x22d)](_0x3e63b6(_0x24f06e)[_0x2c48cd(0x2ab)]())),_0x242702=_0x5ef465['QEoJn'](_0x36c7c9[_0x2c48cd(0x221)],0x0)||_0x36c7c9[_0x2c48cd(0x1bd)](_0x2899bc=>_0x3b4ed9[_0x2c48cd(0x2ab)]()[_0x2c48cd(0x22d)](_0x3e63b6(_0x2899bc)[_0x2c48cd(0x2ab)]()));return _0x5ef465['dcGys'](!_0x562b7e,_0x242702);}catch(_0x51c18f){logger[_0x2c48cd(0x1b7)](_0x2c48cd(0x26c)+util['format'](_0x51c18f));}return![];},exports[a103_0x11bc67(0x202)]=_0x23380e=>{const _0x3082cf=a103_0x11bc67;let _0x1f7446=![];try{_0x23380e[_0x3082cf(0x232)][_0x3082cf(0x1fb)](_0x12091d=>{const _0x4a316e=_0x3082cf;if(bsSetupHelper[_0x4a316e(0x200)](_0x12091d[_0x4a316e(0x249)]))return _0x1f7446=!![],!![];});}catch(_0x232715){logger[_0x3082cf(0x1b7)](_0x3082cf(0x1e5)+_0x232715);}return _0x1f7446||bsSetupHelper[_0x3082cf(0x200)](_0x23380e[_0x3082cf(0x249)]);},exports[a103_0x11bc67(0x1e8)]=PerformanceTester[a103_0x11bc67(0x1ec)](a103_0x11bc67(0x2a0),async function(_0x1056b4,_0x3c22a4){const _0x159fe1=a103_0x11bc67,_0x1e9eaa={};_0x1e9eaa[_0x159fe1(0x28a)]=_0x159fe1(0x1a6),_0x1e9eaa[_0x159fe1(0x2b9)]=_0x159fe1(0x26e),_0x1e9eaa[_0x159fe1(0x253)]=_0x159fe1(0x1d0),_0x1e9eaa[_0x159fe1(0x248)]=_0x159fe1(0x24d),_0x1e9eaa['pvwCi']=_0x159fe1(0x1c6),_0x1e9eaa[_0x159fe1(0x289)]=_0x159fe1(0x2a5),_0x1e9eaa[_0x159fe1(0x1c0)]=function(_0x5ddde1,_0x50f9a5){return _0x5ddde1===_0x50f9a5;},_0x1e9eaa[_0x159fe1(0x290)]=_0x159fe1(0x2b7),_0x1e9eaa['bfGiA']=_0x159fe1(0x1e4);const _0x411809=_0x1e9eaa,_0x4ff4c5=bsSetupHelper[_0x159fe1(0x218)](_0x1056b4),_0x305c48=bsSetupHelper[_0x159fe1(0x21f)](_0x1056b4);if(bsSetupHelper[_0x159fe1(0x29f)](_0x4ff4c5)||bsSetupHelper[_0x159fe1(0x29f)](_0x305c48))return logger[_0x159fe1(0x293)](_0x411809[_0x159fe1(0x28a)]),[null,null];try{let _0x2489d1;bsSetupHelper[_0x159fe1(0x29f)](process[_0x159fe1(0x24b)][_0x159fe1(0x243)])?_0x2489d1={}:_0x2489d1=JSON[_0x159fe1(0x2a9)](process[_0x159fe1(0x24b)][_0x159fe1(0x243)]);const {name:_0x36b506,version:_0x67589c}=bsSetupHelper[_0x159fe1(0x239)](_0x1056b4,_0x3c22a4),_0x1919a0={'projectName':_0x1056b4[_0x159fe1(0x28e)],'buildName':_0x1056b4[_0x159fe1(0x257)]||path[_0x159fe1(0x1b3)](path[_0x159fe1(0x1ee)](process[_0x159fe1(0x22c)]())),'startTime':new Date()[_0x159fe1(0x263)](),'description':_0x1056b4[_0x159fe1(0x2b6)]||'','source':{'frameworkName':_0x3c22a4[_0x159fe1(0x22d)](_0x411809[_0x159fe1(0x2b9)])?_0x411809['orYDq']:_0x3c22a4,'frameworkVersion':bsSetupHelper[_0x159fe1(0x267)](_0x3c22a4),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x411809['ePyTg'],'testFramework':_0x36b506,'testFrameworkVersion':_0x67589c},'settings':_0x2489d1,'versionControl':await bsSetupHelper[_0x159fe1(0x1cc)](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper[_0x159fe1(0x211)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x3f1b04={};_0x3f1b04[_0x159fe1(0x254)]=_0x4ff4c5,_0x3f1b04[_0x159fe1(0x1ac)]=_0x305c48;const _0x2f8590={};_0x2f8590[_0x159fe1(0x22f)]=_0x411809[_0x159fe1(0x248)];const _0x5c2ddd={};_0x5c2ddd[_0x159fe1(0x22a)]=_0x3f1b04,_0x5c2ddd['headers']=_0x2f8590;const _0x43a54a=_0x5c2ddd,_0x1037b0={};_0x1037b0[_0x159fe1(0x230)]=_0x1919a0,_0x1037b0[_0x159fe1(0x210)]=!![];const _0x46640e=Object[_0x159fe1(0x20a)](_0x43a54a,_0x1037b0),_0x365c73=await bsSetupHelper[_0x159fe1(0x279)](_0x411809[_0x159fe1(0x1e1)],_0x411809[_0x159fe1(0x289)],_0x46640e,_0x1056b4,API_URL);let _0x4d46a6=process[_0x159fe1(0x24b)][_0x159fe1(0x243)];return _0x4d46a6?_0x4d46a6=JSON[_0x159fe1(0x2a9)](process['env'][_0x159fe1(0x243)]):_0x4d46a6={},scripts[_0x159fe1(0x1bb)](_0x365c73[_0x159fe1(0x299)]['data']),scripts[_0x159fe1(0x28c)](),_0x4d46a6[_0x159fe1(0x220)]=_0x365c73['data'][_0x159fe1(0x299)][_0x159fe1(0x220)],process[_0x159fe1(0x24b)][_0x159fe1(0x243)]=JSON[_0x159fe1(0x1ff)](_0x4d46a6),[_0x365c73[_0x159fe1(0x299)]['data'][_0x159fe1(0x1c4)],_0x365c73[_0x159fe1(0x299)][_0x159fe1(0x299)]['id']];}catch(_0x4acc86){if(_0x4acc86[_0x159fe1(0x2aa)])logger[_0x159fe1(0x293)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+_0x4acc86[_0x159fe1(0x2aa)][_0x159fe1(0x268)]+'\x20'+_0x4acc86['response'][_0x159fe1(0x1c2)]+'\x20'+JSON[_0x159fe1(0x1ff)](_0x4acc86[_0x159fe1(0x2aa)]['data']));else{if(_0x411809[_0x159fe1(0x1c0)](_0x4acc86['message'],_0x411809[_0x159fe1(0x290)])){logger[_0x159fe1(0x293)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x4acc86[_0x159fe1(0x23d)]||_0x4acc86[_0x159fe1(0x259)]));for(const _0x38e42e of _0x4acc86[_0x159fe1(0x241)]){logger[_0x159fe1(0x293)](_0x38e42e[_0x159fe1(0x23d)]);}process[_0x159fe1(0x24b)][_0x159fe1(0x1c3)]=_0x411809[_0x159fe1(0x1cf)],process[_0x159fe1(0x24b)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x411809[_0x159fe1(0x1cf)];}else logger[_0x159fe1(0x293)](_0x159fe1(0x1f4)+(_0x4acc86['message']||_0x4acc86[_0x159fe1(0x259)]));}return[null,null];}}),exports[a103_0x11bc67(0x20d)]=PerformanceTester[a103_0x11bc67(0x1ec)](a103_0x11bc67(0x272),async function(_0x50932f){const _0x3e3bf0=a103_0x11bc67,_0x132a15={};_0x132a15[_0x3e3bf0(0x21b)]=function(_0x1fb5c2,_0x5804ca){return _0x1fb5c2!==_0x5804ca;},_0x132a15['YiFfs']=_0x3e3bf0(0x214),_0x132a15['KNFui']=_0x3e3bf0(0x293),_0x132a15[_0x3e3bf0(0x204)]='Build\x20creation\x20had\x20failed.',_0x132a15['zmMVH']='application/json',_0x132a15[_0x3e3bf0(0x1eb)]='PUT',_0x132a15[_0x3e3bf0(0x1b9)]=_0x3e3bf0(0x282),_0x132a15[_0x3e3bf0(0x2af)]=function(_0x1b08b9,_0xa98a90){return _0x1b08b9+_0xa98a90;},_0x132a15['jLHgW']='Invalid\x20request:\x20',_0x132a15[_0x3e3bf0(0x1a4)]=_0x3e3bf0(0x1a8);const _0x3d6f16=_0x132a15;if(bsSetupHelper[_0x3e3bf0(0x29f)](process['env'][_0x3e3bf0(0x1b8)])||_0x3d6f16[_0x3e3bf0(0x21b)](typeof process[_0x3e3bf0(0x24b)]['BS_A11Y_JWT'],_0x3d6f16[_0x3e3bf0(0x225)])){const _0x16a81b={};return _0x16a81b[_0x3e3bf0(0x268)]=_0x3d6f16[_0x3e3bf0(0x1f3)],_0x16a81b['message']=_0x3d6f16[_0x3e3bf0(0x204)],_0x16a81b;}const _0x40fbf5={'endTime':new Date()[_0x3e3bf0(0x263)]()},_0x10c065={};_0x10c065[_0x3e3bf0(0x1b5)]=_0x3e3bf0(0x250)+process[_0x3e3bf0(0x24b)][_0x3e3bf0(0x1b8)],_0x10c065[_0x3e3bf0(0x22f)]=_0x3d6f16[_0x3e3bf0(0x292)];const _0xf1195e={};_0xf1195e[_0x3e3bf0(0x24e)]=_0x10c065;const _0x380ab1=_0xf1195e,_0x1cd00d={};_0x1cd00d['body']=_0x40fbf5,_0x1cd00d['auth']=null,_0x1cd00d[_0x3e3bf0(0x210)]=!![];const _0x251200=Object[_0x3e3bf0(0x20a)](_0x380ab1,_0x1cd00d);try{const _0x180602=await bsSetupHelper[_0x3e3bf0(0x279)](_0x3d6f16['IZdXt'],_0x3d6f16['LjHqW'],_0x251200,_0x50932f,API_URL);if(_0x180602[_0x3e3bf0(0x299)]['error'])throw new Error(_0x3d6f16['NVfbv'](_0x3d6f16[_0x3e3bf0(0x1e9)],_0x180602[_0x3e3bf0(0x299)]['error']));else{logger[_0x3e3bf0(0x2be)](_0x3e3bf0(0x256)+new Date()['toISOString']());const _0x36a092={};return _0x36a092['status']=_0x3d6f16[_0x3e3bf0(0x1a4)],_0x36a092[_0x3e3bf0(0x23d)]='',_0x36a092;}}catch(_0x3c85aa){_0x3c85aa[_0x3e3bf0(0x2aa)]?logger['error']('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x3c85aa[_0x3e3bf0(0x2aa)]['status']+'\x20'+_0x3c85aa[_0x3e3bf0(0x2aa)][_0x3e3bf0(0x1c2)]+'\x20'+JSON[_0x3e3bf0(0x1ff)](_0x3c85aa[_0x3e3bf0(0x2aa)][_0x3e3bf0(0x299)])):logger[_0x3e3bf0(0x293)](_0x3e3bf0(0x2c5)+(_0x3c85aa[_0x3e3bf0(0x23d)]||util[_0x3e3bf0(0x234)](_0x3c85aa)));const _0x23875b={};return _0x23875b['status']=_0x3d6f16[_0x3e3bf0(0x1f3)],_0x23875b[_0x3e3bf0(0x23d)]=_0x3c85aa['message']||(_0x3c85aa[_0x3e3bf0(0x2aa)]?_0x3c85aa[_0x3e3bf0(0x2aa)][_0x3e3bf0(0x268)]+':'+_0x3c85aa[_0x3e3bf0(0x2aa)]['statusText']:_0x3c85aa),_0x23875b;}}),exports[a103_0x11bc67(0x2b8)]=async(_0x5374df,_0x6b4fa7=null,_0x5085c1=![],_0x5d9bf6=null)=>{const _0x16bb46=a103_0x11bc67,_0x1c78ee={};_0x1c78ee[_0x16bb46(0x266)]=_0x16bb46(0x242),_0x1c78ee[_0x16bb46(0x1ab)]='bstackA11yShouldScan',_0x1c78ee[_0x16bb46(0x1a9)]=_0x16bb46(0x229),_0x1c78ee[_0x16bb46(0x25f)]=function(_0x2e7a59,_0x1ba6b1){return _0x2e7a59||_0x1ba6b1;},_0x1c78ee['CRbjR']=_0x16bb46(0x1ad),_0x1c78ee['CScrB']=_0x16bb46(0x25e);const _0x630842=_0x1c78ee;if(!this[_0x16bb46(0x1cb)]()||!globals['getGlobal'](_0x630842['LENWI'])||!_0x5085c1&&!globals[_0x16bb46(0x1a2)](_0x630842[_0x16bb46(0x1ab)])){logger[_0x16bb46(0x215)](_0x630842[_0x16bb46(0x1a9)]);return;}const _0x203490=_0x5085c1?_0x630842[_0x16bb46(0x25f)](_0x5d9bf6,{}):globals['getGlobal'](_0x630842['CRbjR'])||{},_0x495a41={};_0x495a41[_0x16bb46(0x1f6)]=_0x6b4fa7||global[_0x16bb46(0x226)];const _0x48bf97=Object[_0x16bb46(0x20a)]({},_0x203490,_0x495a41);await this['isMobileAccessibilitySession'](_0x5374df)&&(Object['assign'](_0x48bf97,this['getMobileA11yCapabilities'](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}),logger[_0x16bb46(0x1b7)](_0x630842[_0x16bb46(0x1f9)]));logger[_0x16bb46(0x1b7)](_0x16bb46(0x22e)+util[_0x16bb46(0x234)]('%j',_0x48bf97));const _0x12ac93={};return _0x12ac93['command']=_0x6b4fa7,await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x16bb46(0x2c1)],async()=>{const _0x2cc310=_0x16bb46;try{await _0x5374df['wait'](()=>_0x5374df['executeScript'](_0x2cc310(0x1fa)),0x1388);}catch(_0x2a86d8){}const _0x501544=util[_0x2cc310(0x234)](await _0x5374df['executeAsyncScript'](scripts[_0x2cc310(0x2b8)],_0x48bf97));return logger[_0x2cc310(0x1b7)](_0x2cc310(0x1ea)+_0x501544),_0x501544;},_0x12ac93)();},exports['getAccessibilityResults']=async(_0xb1c038,_0x13601e)=>{const _0x233374=a103_0x11bc67,_0x21b7f2={};_0x21b7f2[_0x233374(0x228)]=_0x233374(0x295),_0x21b7f2['KJxLy']='isAccessibilityPlatform',_0x21b7f2[_0x233374(0x28d)]=_0x233374(0x1da),_0x21b7f2[_0x233374(0x25a)]=_0x233374(0x1d8),_0x21b7f2[_0x233374(0x203)]='getAccessibilityResults',_0x21b7f2[_0x233374(0x2a6)]=_0x233374(0x2ad);const _0x596fff=_0x21b7f2;if(!this[_0x233374(0x1cb)]()||!globals[_0x233374(0x1a2)](_0x596fff[_0x233374(0x1b6)])||!globals[_0x233374(0x1a2)](_0x596fff[_0x233374(0x28d)]))return logger['warn'](_0x596fff[_0x233374(0x25a)]),[];try{const _0x36108d=await this[_0x233374(0x252)](_0xb1c038),_0x8385f0=_0x36108d?Object[_0x233374(0x20a)]({},this[_0x233374(0x27c)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x36108d&&logger[_0x233374(0x1b7)]('getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20'+util['format']('%j',_0x8385f0)),await PerformanceTester[_0x233374(0x1ec)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x6e5f6e=_0x233374;logger[_0x6e5f6e(0x1b7)](_0x596fff[_0x6e5f6e(0x228)]);const _0x4e5321={};_0x4e5321[_0x6e5f6e(0x1f6)]=_0x13601e[_0x6e5f6e(0x226)];const _0x3ffd51=Object[_0x6e5f6e(0x20a)](_0x4e5321,_0x8385f0);logger[_0x6e5f6e(0x1b7)](util[_0x6e5f6e(0x234)](await _0xb1c038[_0x6e5f6e(0x297)](scripts[_0x6e5f6e(0x2b8)],_0x3ffd51)));},{'command':_0x596fff[_0x233374(0x203)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x574e95=_0x233374,_0x153abe=_0x36108d?await _0xb1c038[_0x574e95(0x297)](scripts[_0x574e95(0x206)],_0x8385f0):await _0xb1c038[_0x574e95(0x297)](scripts[_0x574e95(0x206)]);return _0x153abe;})();}catch{return logger[_0x233374(0x293)](_0x596fff[_0x233374(0x2a6)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x38301d,_0x5323ae)=>{const _0x26b841=a103_0x11bc67,_0x2b8753={};_0x2b8753[_0x26b841(0x1d5)]=_0x26b841(0x1d6),_0x2b8753['eedUM']=_0x26b841(0x242),_0x2b8753['EMcMI']=_0x26b841(0x1da),_0x2b8753[_0x26b841(0x1db)]=_0x26b841(0x2a8),_0x2b8753[_0x26b841(0x2a4)]='getAccessibilityResultsSummary',_0x2b8753[_0x26b841(0x235)]='No\x20accessibility\x20summary\x20was\x20found.';const _0x5c2790=_0x2b8753;if(!this[_0x26b841(0x1cb)]()||!globals['getGlobal'](_0x5c2790[_0x26b841(0x1fd)])||!globals[_0x26b841(0x1a2)](_0x5c2790['EMcMI']))return logger['warn'](_0x5c2790[_0x26b841(0x1db)]),{};try{const _0x51fd87=await this[_0x26b841(0x252)](_0x38301d),_0x5dc0dc=_0x51fd87?Object[_0x26b841(0x20a)]({},this[_0x26b841(0x27c)](),{'thTestRunUuid':this[_0x26b841(0x2bd)]()}):{};return _0x51fd87&&logger[_0x26b841(0x1b7)](_0x26b841(0x219)+util[_0x26b841(0x234)]('%j',_0x5dc0dc)),await PerformanceTester[_0x26b841(0x1ec)](PerformanceA11yEvents[_0x26b841(0x2c1)],async()=>{const _0x26a011=_0x26b841;logger[_0x26a011(0x1b7)](_0x5c2790[_0x26a011(0x1d5)]);const _0x1766e4={};_0x1766e4['method']=_0x5323ae[_0x26a011(0x226)];const _0x397bbf=Object['assign'](_0x1766e4,_0x5dc0dc);logger[_0x26a011(0x1b7)](util[_0x26a011(0x234)](await _0x38301d[_0x26a011(0x297)](scripts[_0x26a011(0x2b8)],_0x397bbf)));},{'command':_0x5c2790[_0x26b841(0x2a4)]})(),await PerformanceTester[_0x26b841(0x1ec)](PerformanceA11yEvents[_0x26b841(0x2c0)],async()=>{const _0x36c0eb=_0x26b841,_0x6de1cf=_0x51fd87?await _0x38301d['executeAsyncScript'](scripts[_0x36c0eb(0x217)],_0x5dc0dc):await _0x38301d['executeAsyncScript'](scripts['getResultsSummary']);return _0x6de1cf;})();}catch{return logger['error'](_0x5c2790['NTNhS']),{};}},exports[a103_0x11bc67(0x2c3)]=(_0x505e2d,_0x18452a=![])=>{const _0xbee44d=a103_0x11bc67,_0x4397e0={'GSGFl':function(_0x5efbb2,_0x51747d){return _0x5efbb2(_0x51747d);},'ZEHAc':function(_0x2e7575,_0x5f3d30){return _0x2e7575(_0x5f3d30);},'ANVjN':_0xbee44d(0x2a3),'Ganhe':function(_0x38f934,_0x51bb19){return _0x38f934!==_0x51bb19;},'GRpUT':_0xbee44d(0x1e0),'TSnhw':'browserName','MNeBr':_0xbee44d(0x1ef),'zmcCt':_0xbee44d(0x236),'kcCQj':_0xbee44d(0x20f)};try{if(!_0x505e2d)return![];const _0x52455b=_0x3deea2=>typeof _0x505e2d[_0xbee44d(0x1be)]===_0xbee44d(0x1a3)?_0x505e2d[_0xbee44d(0x1be)](_0x3deea2):_0x505e2d[_0x3deea2],_0x25b172=_0x4397e0[_0xbee44d(0x294)](String,_0x4397e0[_0xbee44d(0x2bc)](_0x52455b,_0x4397e0['ANVjN'])||'')[_0xbee44d(0x2ab)]();if(_0x4397e0[_0xbee44d(0x280)](_0x25b172,_0x4397e0[_0xbee44d(0x255)]))return![];const _0x5c4834=_0x4397e0[_0xbee44d(0x294)](String,_0x4397e0[_0xbee44d(0x294)](_0x52455b,_0x4397e0[_0xbee44d(0x23f)])||'')[_0xbee44d(0x2ab)]();if(!_0x5c4834[_0xbee44d(0x22d)](_0x4397e0[_0xbee44d(0x2a7)]))return _0x18452a&&logger[_0xbee44d(0x215)](_0x4397e0[_0xbee44d(0x269)]),![];return logger[_0xbee44d(0x1b7)](_0x4397e0[_0xbee44d(0x1f2)]),!![];}catch(_0x5c082b){return logger[_0xbee44d(0x1b7)]('Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20'+_0x5c082b),![];}},exports['isMobileAccessibilitySession']=async _0x48fac2=>{const _0x49af9e=a103_0x11bc67;try{const _0x376edc=await _0x48fac2['getCapabilities']();return exports['isMobileAccessibilityPlatform'](_0x376edc);}catch(_0x364da1){return logger[_0x49af9e(0x1b7)](_0x49af9e(0x27f)+_0x364da1),![];}},exports[a103_0x11bc67(0x27c)]=()=>{const _0x5ad3a8=a103_0x11bc67,_0xa21562={};return _0xa21562[_0x5ad3a8(0x286)]=!![],_0xa21562;},exports[a103_0x11bc67(0x2bd)]=()=>{const _0x306868=a103_0x11bc67,_0x4105dc={};_0x4105dc[_0x306868(0x2c2)]=function(_0x2e1965,_0x568e80){return _0x2e1965===_0x568e80;},_0x4105dc[_0x306868(0x2b5)]=_0x306868(0x214),_0x4105dc[_0x306868(0x2b1)]=function(_0x5983fc,_0x531675){return _0x5983fc>_0x531675;},_0x4105dc[_0x306868(0x27a)]=_0x306868(0x1d3),_0x4105dc[_0x306868(0x26a)]=_0x306868(0x271),_0x4105dc['vuqLt']=_0x306868(0x278);const _0x5a2690=_0x4105dc,_0x35b022=global[_0x306868(0x21e)],_0x385ab9=_0x35b022&&_0x35b022[_0x306868(0x265)],_0x5151f3=_0x385ab9&&_0x385ab9['thTestRunUuid'];if(_0x5a2690[_0x306868(0x2c2)](typeof _0x5151f3,_0x5a2690[_0x306868(0x2b5)])&&_0x5a2690[_0x306868(0x2b1)](_0x5151f3['length'],0x0))return _0x5151f3;let _0x36c988;if(!_0x35b022)_0x36c988=_0x5a2690[_0x306868(0x27a)];else!_0x385ab9?_0x36c988=_0x5a2690['xLIAs']:_0x36c988=_0x306868(0x1de)+Object[_0x306868(0x1f8)](_0x385ab9)[_0x306868(0x29e)](',\x20')+_0x306868(0x1ba)+(_0x5a2690[_0x306868(0x2c2)](_0x5151f3,undefined)?_0x5a2690[_0x306868(0x1f0)]:'\x22'+_0x5151f3+'\x22')+_0x306868(0x1d9);return logger['warn'](_0x306868(0x27b)+_0x36c988+_0x306868(0x209)),'';},exports[a103_0x11bc67(0x1ae)]=_0xe8c3f5=>{const _0x6151a3=a103_0x11bc67,_0x5ccd53={};_0x5ccd53['OhYqa']=function(_0x2ea242,_0xfbbbb7){return _0x2ea242===_0xfbbbb7;},_0x5ccd53[_0x6151a3(0x260)]=_0x6151a3(0x214),_0x5ccd53[_0x6151a3(0x1ce)]=_0x6151a3(0x22b);const _0x2462a6=_0x5ccd53;if(_0xe8c3f5&&_0xe8c3f5[_0x6151a3(0x275)]&&_0x2462a6[_0x6151a3(0x28b)](typeof _0xe8c3f5['script'],_0x2462a6[_0x6151a3(0x260)]))return _0xe8c3f5['script'][_0x6151a3(0x22d)](_0x2462a6['SQEsR']);return![];},exports[a103_0x11bc67(0x244)]=a103_0x11bc67(0x213),exports['isMobileScanningEnabledForGroup']=()=>process[a103_0x11bc67(0x24b)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']===a103_0x11bc67(0x25c),exports[a103_0x11bc67(0x23e)]=_0x45ae52=>{const _0x1cc0aa=a103_0x11bc67,_0x369d5a={};_0x369d5a['ptHxq']=function(_0x2d5eb9,_0x59d5ec){return _0x2d5eb9 in _0x59d5ec;};const _0xfc3eef=_0x369d5a;if(bsSetupHelper[_0x1cc0aa(0x29f)](_0x45ae52))return![];const _0xb716be=_0x45ae52['toLowerCase']();return _0xfc3eef[_0x1cc0aa(0x227)](_0xb716be,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a103_0x11bc67(0x1bf)]=_0x50620f=>{const _0x52b46f=a103_0x11bc67;if(bsSetupHelper[_0x52b46f(0x29f)](_0x50620f))return null;const _0x4cb106=_0x50620f[_0x52b46f(0x2ab)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x4cb106]||null;},exports['getMinVersionForBrowser']=(_0x37cd88,_0x4d1cf3)=>{const _0x112fa4=a103_0x11bc67,_0x21bc7a=this[_0x112fa4(0x1bf)](_0x37cd88);if(!_0x21bc7a)return null;if(_0x4d1cf3)return _0x21bc7a[_0x112fa4(0x2b3)];return _0x21bc7a[_0x112fa4(0x25b)];},exports[a103_0x11bc67(0x2ae)]=_0x38180b=>{const _0x2371ce=a103_0x11bc67,_0xbd1e57=this['getBrowserA11yConfig'](_0x38180b);return _0xbd1e57?_0xbd1e57[_0x2371ce(0x27d)]:_0x38180b;},exports[a103_0x11bc67(0x2a2)]=_0x149246=>{const _0x9a0489=this['getBrowserA11yConfig'](_0x149246);return _0x9a0489?_0x9a0489['requires_chrome_options_check']:![];},exports[a103_0x11bc67(0x1e2)]=(_0x1b934b,_0x44750e)=>{const _0x4b46af=a103_0x11bc67,_0x2b718b={'uVwmV':function(_0x300da2,_0x50d2e5){return _0x300da2(_0x50d2e5);},'XwSfh':function(_0x5b59ac,_0x4d10e0){return _0x5b59ac>=_0x4d10e0;}};if(bsSetupHelper[_0x4b46af(0x29f)](_0x1b934b)||bsSetupHelper[_0x4b46af(0x29f)](_0x44750e))return![];const _0x1a8bef=bsSetupHelper['compareVersions'](_0x2b718b['uVwmV'](String,_0x1b934b),_0x2b718b['uVwmV'](String,_0x44750e));return _0x2b718b[_0x4b46af(0x1f7)](_0x1a8bef,0x0);},exports[a103_0x11bc67(0x283)]=_0xa0078=>{const _0x18d946=a103_0x11bc67,_0x5c46d2={};_0x5c46d2[_0x18d946(0x291)]=function(_0x3c9cdb,_0x388701){return _0x3c9cdb!==_0x388701;},_0x5c46d2[_0x18d946(0x205)]='string',_0x5c46d2[_0x18d946(0x2c4)]='base64';const _0x47c38d=_0x5c46d2;if(!_0xa0078||_0x47c38d[_0x18d946(0x291)](typeof _0xa0078,_0x47c38d[_0x18d946(0x205)]))return null;try{return JSON[_0x18d946(0x2a9)](Buffer[_0x18d946(0x281)](_0xa0078['split']('.')[0x1],_0x47c38d[_0x18d946(0x2c4)])[_0x18d946(0x1df)]());}catch{return null;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a104_0x300f(){const _0x2fb9c7=['commandsPath','homedir','3857SJAAXl','sltKk','getResults','473340uzMHAr','saveTestResults','shouldWrapCommand','../../helpers/logger','browserstackFolderPath','puwlJ','KpEBt','commands.json','31457YbNiwM','getLibrary','scan','length','winstonLogger','getClass','Lswfy','toJson','name','findIndex','commands','9aXRpnA','path','parseFromProto','JQOJc','writeFileSync','exports','4506lWRELo','.browserstack','iXKBl','1|3|2|0|5|6|4','toLowerCase','getModule','26whfckz','rjejA','getCommand','saveResults','map','ZnrVY','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','existsSync','DnCbH','commandsToWrap','performScan','ChromeExtension','Dxbiq','MGTYJ','getName','1609890sMLSDS','1349432rBCfLR','3738290YPxzFp','join','parseFromJson','getMethod','getResultsSummary','scripts','3075032UXaxVv','ZCQtz'];a104_0x300f=function(){return _0x2fb9c7;};return a104_0x300f();}function a104_0x24d2(_0x4fa97a,_0x497b24){const _0x300fad=a104_0x300f();return a104_0x24d2=function(_0x24d244,_0x4dbcc8){_0x24d244=_0x24d244-0x1d3;let _0x3b2519=_0x300fad[_0x24d244];return _0x3b2519;},a104_0x24d2(_0x4fa97a,_0x497b24);}const a104_0x35adae=a104_0x24d2;(function(_0x51e346,_0x4b2546){const _0xfaf553=a104_0x24d2,_0x36eeb3=_0x51e346();while(!![]){try{const _0x3e82bc=parseInt(_0xfaf553(0x1db))/0x1*(parseInt(_0xfaf553(0x1f2))/0x2)+-parseInt(_0xfaf553(0x1d3))/0x3+-parseInt(_0xfaf553(0x209))/0x4+parseInt(_0xfaf553(0x201))/0x5+-parseInt(_0xfaf553(0x1ec))/0x6*(-parseInt(_0xfaf553(0x20d))/0x7)+parseInt(_0xfaf553(0x202))/0x8*(-parseInt(_0xfaf553(0x1e6))/0x9)+parseInt(_0xfaf553(0x203))/0xa;if(_0x3e82bc===_0x4b2546)break;else _0x36eeb3['push'](_0x36eeb3['shift']());}catch(_0x28239f){_0x36eeb3['push'](_0x36eeb3['shift']());}}}(a104_0x300f,0x675a4));const path=require(a104_0x35adae(0x1e7)),fs=require('fs'),logger=require(a104_0x35adae(0x1d6))[a104_0x35adae(0x1df)],helper=require('../helper');class Scripts{constructor(){const _0x3e5812=a104_0x35adae,_0x3379f7={};_0x3379f7[_0x3e5812(0x1f3)]=_0x3e5812(0x1ef),_0x3379f7[_0x3e5812(0x20e)]=_0x3e5812(0x1ed),_0x3379f7[_0x3e5812(0x1d8)]=_0x3e5812(0x1da);const _0x94b1fb=_0x3379f7,_0x23e2fc=_0x94b1fb[_0x3e5812(0x1f3)]['split']('|');let _0x2f07d5=0x0;while(!![]){switch(_0x23e2fc[_0x2f07d5++]){case'0':this['saveTestResults']=null;continue;case'1':this['performScan']=null;continue;case'2':this[_0x3e5812(0x207)]=null;continue;case'3':this[_0x3e5812(0x20f)]=null;continue;case'4':this['fromJson']();continue;case'5':this[_0x3e5812(0x1d7)]=path[_0x3e5812(0x204)](helper[_0x3e5812(0x20c)](),_0x94b1fb[_0x3e5812(0x20e)]);continue;case'6':this['commandsPath']=path['join'](this[_0x3e5812(0x1d7)],_0x94b1fb['puwlJ']);continue;}break;}}[a104_0x35adae(0x205)](_0x9c2b2e){const _0x47d79c=a104_0x35adae;_0x9c2b2e[_0x47d79c(0x208)]&&(this[_0x47d79c(0x1fc)]=_0x9c2b2e['scripts']['scan'],this['getResults']=_0x9c2b2e[_0x47d79c(0x208)][_0x47d79c(0x20f)],this['getResultsSummary']=_0x9c2b2e[_0x47d79c(0x208)]['getResultsSummary'],this[_0x47d79c(0x1d4)]=_0x9c2b2e[_0x47d79c(0x208)][_0x47d79c(0x1f5)]),this[_0x47d79c(0x1fb)]=_0x9c2b2e[_0x47d79c(0x1e5)],this[_0x47d79c(0x1fd)]=_0x9c2b2e['nonBStackInfraA11yChromeOptions'];}[a104_0x35adae(0x1e8)](_0x32019b,_0x347890){const _0x23191f=a104_0x35adae,_0x2f51de={};_0x2f51de[_0x23191f(0x1d9)]=function(_0xaf870e,_0x41efaa){return _0xaf870e>_0x41efaa;},_0x2f51de[_0x23191f(0x1ff)]=function(_0x3754f7,_0x519d03){return _0x3754f7===_0x519d03;},_0x2f51de['Dxbiq']=_0x23191f(0x1dd),_0x2f51de[_0x23191f(0x1ee)]=function(_0x25db53,_0x3dcced){return _0x25db53===_0x3dcced;},_0x2f51de['lqqbJ']='getResults',_0x2f51de[_0x23191f(0x20a)]='getResultsSummary',_0x2f51de[_0x23191f(0x1e1)]=function(_0x100933,_0x104bc2){return _0x100933===_0x104bc2;},_0x2f51de[_0x23191f(0x1e9)]=_0x23191f(0x1f5);const _0x15da02=_0x2f51de;if(_0x32019b&&_0x15da02[_0x23191f(0x1d9)](_0x32019b[_0x23191f(0x1de)],0x0))for(const _0x468966 of _0x32019b){if(_0x15da02['MGTYJ'](_0x468966[_0x23191f(0x200)](),_0x15da02[_0x23191f(0x1fe)]))this[_0x23191f(0x1fc)]=_0x468966['getCommand']();else{if(_0x15da02[_0x23191f(0x1ee)](_0x468966[_0x23191f(0x200)](),_0x15da02['lqqbJ']))this[_0x23191f(0x20f)]=_0x468966[_0x23191f(0x1f4)]();else{if(_0x15da02[_0x23191f(0x1ee)](_0x468966['getName'](),_0x15da02[_0x23191f(0x20a)]))this[_0x23191f(0x207)]=_0x468966[_0x23191f(0x1f4)]();else _0x15da02['Lswfy'](_0x468966[_0x23191f(0x200)](),_0x15da02['JQOJc'])&&(this[_0x23191f(0x1d4)]=_0x468966['getCommand']());}}}_0x347890&&_0x15da02[_0x23191f(0x1d9)](_0x347890['length'],0x0)&&(this[_0x23191f(0x1fb)]=_0x347890[_0x23191f(0x1f6)](_0x4bac0b=>{const _0x36ca3b=_0x23191f;return{'name':_0x4bac0b[_0x36ca3b(0x200)](),'method':_0x4bac0b[_0x36ca3b(0x206)](),'library':_0x4bac0b[_0x36ca3b(0x1dc)](),'module':_0x4bac0b[_0x36ca3b(0x1f1)](),'class':_0x4bac0b[_0x36ca3b(0x1e0)]()};}));}[a104_0x35adae(0x1d5)](_0x2e7d80){const _0x3a99e0=a104_0x35adae,_0x14f4a2={};_0x14f4a2[_0x3a99e0(0x1fa)]=function(_0x2374b2,_0x7b825b){return _0x2374b2!==_0x7b825b;};const _0x44ef79=_0x14f4a2;try{return _0x44ef79[_0x3a99e0(0x1fa)](this[_0x3a99e0(0x1fb)][_0x3a99e0(0x1e4)](_0x2a253d=>_0x2a253d[_0x3a99e0(0x1e3)]['toLowerCase']()===_0x2e7d80[_0x3a99e0(0x1f0)]()),-0x1);}catch(_0x160bc9){logger['debug'](_0x3a99e0(0x1f8)+_0x160bc9);}return![];}[a104_0x35adae(0x1e2)](){const _0x4a0498=a104_0x35adae;!fs['existsSync'](this[_0x4a0498(0x1d7)])&&fs['mkdirSync'](this['browserstackFolderPath']),fs[_0x4a0498(0x1ea)](this[_0x4a0498(0x20b)],JSON['stringify']({'scripts':{'scan':this[_0x4a0498(0x1fc)],'getResults':this[_0x4a0498(0x20f)],'getResultsSummary':this[_0x4a0498(0x207)],'saveResults':this['saveTestResults']},'commands':this[_0x4a0498(0x1fb)],'nonBStackInfraA11yChromeOptions':this['ChromeExtension']}));}['fromJson'](){const _0x15ccd1=a104_0x35adae,_0x392224={'ZnrVY':function(_0x2d10e1,_0xe86316){return _0x2d10e1(_0xe86316);}};fs[_0x15ccd1(0x1f9)](this[_0x15ccd1(0x20b)])&&this['parseFromJson'](_0x392224[_0x15ccd1(0x1f7)](require,this['commandsPath']));}}module[a104_0x35adae(0x1eb)]=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a105_0x2c40(){const _0x2194f6=['{\x22region\x22:\x20\x22','log','TCG_REGION','ByxFb','uEtpp','bYVtO','qKtGA','join','aiHeal_sessionToken','1voOMsP','aiHealing','safari','getSession','fnLSB','WRQQn','browserName','phwRA','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','OheZs','initializeHealingCapabilities','safariOptions_','keys','forEach','firefoxOptions_','firefox','getCapabilities','BrowserstackHealingHealFailureFailed','BrowserstackHealing.logData\x20method\x20timed\x20out','\x22:\x20{\x22endpoint\x22:\x20\x22','replace','getCommands','microsoftedge','HEALING_FAILURE_TIMEOUT','setTcgToken','HUvpX','capabilities_','error','voKkW','selector','292850HkuNnu','248eFaMSu','browserstackSessionName','sGlhv','then','70ByugnP','getTestName','isSelfHealEnabled','aFekW','initializeCapabilities','value','rozrn','\x20command','198441BCZijs','winstonLogger','using','cancel','map_','\x22}}}','aiHeal_isGroupAIEnabled','hMQUR','string','HEALING_LOG_DATA_TIMEOUT','Onkob','BrowserstackHealing','INcoO','BrowserstackHealingSetTcgTokenFailed','handleFailure','config','getGlobal','BrowserstackHealing.healFailure\x20method\x20timed\x20out','TCG_URL','pollResult','message','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','3mwphXo','split','3081635YLksCA','BrowserstackHealingPollResultFailed','s://','RaavP','loWrv','getId','chrome','NkuTo','PEApi','getProjectName','info','TVjaW','toLowerCase','locatorValue','795628rQOeLe','parameters_','bFhwz','debug','mLtzg','zYzJX','edgeOptions_','3639581BKeXzM','healFailure','_handleEvent','../logger','yhKpi','fromEntries','BrowserstackHealing.setToken\x20method\x20timed\x20out','aiHeal_userId','framework','get','3313856tAaeml','kWesD','lhCLZ','2771646fPsNFC','IcLZW','SGEnR','GAGec','bvnJi','POLL_HEALING_RESULT_TIMEOUT','locatorType','race'];a105_0x2c40=function(){return _0x2194f6;};return a105_0x2c40();}const a105_0x4e695a=a105_0x4f11;(function(_0x222b93,_0x327e05){const _0x588ef6=a105_0x4f11,_0x1f3419=_0x222b93();while(!![]){try{const _0x549c60=-parseInt(_0x588ef6(0xe0))/0x1*(-parseInt(_0x588ef6(0x88))/0x2)+parseInt(_0x588ef6(0xab))/0x3*(parseInt(_0x588ef6(0xbb))/0x4)+-parseInt(_0x588ef6(0xad))/0x5+-parseInt(_0x588ef6(0xcf))/0x6+-parseInt(_0x588ef6(0xcc))/0x7+parseInt(_0x588ef6(0x89))/0x8*(-parseInt(_0x588ef6(0x95))/0x9)+-parseInt(_0x588ef6(0x8d))/0xa*(-parseInt(_0x588ef6(0xc2))/0xb);if(_0x549c60===_0x327e05)break;else _0x1f3419['push'](_0x1f3419['shift']());}catch(_0x98a613){_0x1f3419['push'](_0x1f3419['shift']());}}}(a105_0x2c40,0x680fa));function a105_0x4f11(_0x272b70,_0x24fc6c){const _0x2c4055=a105_0x2c40();return a105_0x4f11=function(_0x4f115d,_0x4e9cb2){_0x4f115d=_0x4f115d-0x72;let _0x2a6d59=_0x2c4055[_0x4f115d];return _0x2a6d59;},a105_0x4f11(_0x272b70,_0x24fc6c);}const path=require('path'),{commandRepository}=require('./autoHealHelper'),constants=require('../../bin/utils/constants'),logger=require(a105_0x4e695a(0xc5))[a105_0x4e695a(0x96)],globals=require('../globals'),timeoutPromise=require('../../helpers/timeoutPromise'),isUndefinedOrNull=_0x4a6144=>_0x4a6144===undefined||_0x4a6144===null||_0x4a6144==='',isNotUndefinedOrNull=_0x3b1b9d=>!isUndefinedOrNull(_0x3b1b9d),isString=_0x4fb11c=>isNotUndefinedOrNull(_0x4fb11c)&&typeof _0x4fb11c===a105_0x4e695a(0x9d);class AiSdkWrapper{constructor(){const _0x3d297e=a105_0x4e695a,_0x2356e8={'mbhIs':function(_0x4a1af0,_0x2c292f){return _0x4a1af0(_0x2c292f);},'OheZs':'../../ai-sdk-node/bundle'};this['BrowserstackHealing']=undefined;try{this[_0x3d297e(0xa0)]=_0x2356e8['mbhIs'](require,path[_0x3d297e(0xde)](__dirname,_0x2356e8[_0x3d297e(0x73)]));}catch(_0x352568){logger[_0x3d297e(0x85)]('Unable\x20to\x20load\x20healing\x20module,\x20error:\x20'+(_0x352568&&_0x352568[_0x3d297e(0xa9)]?_0x352568[_0x3d297e(0xa9)]:''));}}[a105_0x4e695a(0x74)](_0x9d0729){const _0x2199dd=a105_0x4e695a,_0x1827e7={};_0x1827e7[_0x2199dd(0xce)]='newCapabilities',_0x1827e7[_0x2199dd(0xb4)]=function(_0x24bee8,_0x17210f){return _0x24bee8===_0x17210f;},_0x1827e7[_0x2199dd(0xbd)]=_0x2199dd(0xb3),_0x1827e7[_0x2199dd(0xd2)]=function(_0x212888,_0x12da9f){return _0x212888===_0x12da9f;},_0x1827e7[_0x2199dd(0xdd)]=_0x2199dd(0x79),_0x1827e7['WRQQn']=_0x2199dd(0xe2),_0x1827e7[_0x2199dd(0x9f)]='edge',_0x1827e7[_0x2199dd(0xd3)]=_0x2199dd(0x80),_0x1827e7[_0x2199dd(0xc0)]=function(_0x12712d,_0x362332){return _0x12712d===_0x362332;};const _0x451c14=_0x1827e7;try{const _0x228960=this[_0x2199dd(0xa0)][_0x2199dd(0x91)](Object[_0x2199dd(0xc7)](_0x9d0729[_0x2199dd(0x7a)]()[_0x2199dd(0x99)]));console[_0x2199dd(0xd8)](_0x451c14[_0x2199dd(0xce)],_0x228960);if(_0x451c14['NkuTo'](_0x228960?.[_0x2199dd(0xe6)]?.[_0x2199dd(0xb9)](),_0x451c14['bFhwz']))_0x9d0729['chromeOptions_']=_0x228960;else{if(_0x451c14[_0x2199dd(0xd2)](_0x228960?.['browserName']?.[_0x2199dd(0xb9)](),_0x451c14[_0x2199dd(0xdd)]))_0x9d0729[_0x2199dd(0x78)]=_0x228960;else{if(_0x451c14[_0x2199dd(0xb4)](_0x228960?.['browserName']?.['toLowerCase'](),_0x451c14[_0x2199dd(0xe5)]))_0x9d0729[_0x2199dd(0x75)]=_0x228960;else{if(_0x451c14[_0x2199dd(0xb4)](_0x228960?.['browserName']?.[_0x2199dd(0xb9)](),_0x451c14[_0x2199dd(0x9f)])||_0x451c14[_0x2199dd(0xb4)](_0x228960?.['browserName']?.['toLowerCase'](),_0x451c14[_0x2199dd(0xd3)]))_0x9d0729[_0x2199dd(0xc1)]=_0x228960;else _0x451c14[_0x2199dd(0xc0)](_0x228960?.[_0x2199dd(0xe6)]?.['toLowerCase'](),'ie')&&(_0x9d0729['ieOptions_']=_0x228960);}}}Object[_0x2199dd(0x76)](_0x228960)[_0x2199dd(0x77)](_0x1831c7=>{const _0x4a5c95=_0x2199dd,_0x431294=_0x9d0729[_0x4a5c95(0x84)][_0x4a5c95(0xcb)](_0x1831c7);_0x9d0729[_0x4a5c95(0x84)]['set'](_0x1831c7,_0x228960[_0x1831c7]);});}catch(_0x46c0f2){logger['error'](_0x2199dd(0xaa)+(_0x46c0f2&&_0x46c0f2['message']?_0x46c0f2[_0x2199dd(0xa9)]:''));}}async[a105_0x4e695a(0x82)](_0xdeeca0){const _0x1d91a1=a105_0x4e695a,_0x355c69={'fnLSB':function(_0x32b3d8,_0x22aad5,_0x1d2d00,_0x58d6e5,_0x5da2aa,_0x14f4d7,_0x19fea1){return _0x32b3d8(_0x22aad5,_0x1d2d00,_0x58d6e5,_0x5da2aa,_0x14f4d7,_0x19fea1);},'phwRA':_0x1d91a1(0xc8),'mLtzg':_0x1d91a1(0xa2),'rozrn':_0x1d91a1(0xdf)},_0x1d60f3=new Date(),_0x3a8280=_0x355c69[_0x1d91a1(0xe4)](timeoutPromise,constants['SET_TCG_TOKEN_TIMEOUT'],_0x355c69[_0x1d91a1(0xe7)],_0x355c69[_0x1d91a1(0xbf)],_0x1d60f3,this[_0x1d91a1(0xa4)],this[_0x1d91a1(0xca)]);await Promise[_0x1d91a1(0xd6)]([this[_0x1d91a1(0xa0)]['setToken'](_0xdeeca0,globals[_0x1d91a1(0xa5)](_0x355c69[_0x1d91a1(0x93)]),constants['TCG_URL'])[_0x1d91a1(0x8c)](()=>{const _0x35883e=_0x1d91a1;_0x3a8280[_0x35883e(0x98)]();}),_0x3a8280]);}async[a105_0x4e695a(0xc4)](_0x5c4d5b,_0x56f9a9,_0x17747d,_0x4feaca){const _0x4a1cda=a105_0x4e695a,_0x3b38f9={'IcLZW':function(_0x41354a,_0x42d98f){return _0x41354a===_0x42d98f;},'PEApi':function(_0x2c6322,_0x33898f){return _0x2c6322===_0x33898f;},'sGlhv':function(_0xad6b5f,_0x28cef5){return _0xad6b5f(_0x28cef5);},'otGAz':function(_0x412cfe,_0x5eaa00){return _0x412cfe(_0x5eaa00);},'yhKpi':function(_0x555443,_0x2aa207){return _0x555443(_0x2aa207);},'ByxFb':function(_0x3498c3,_0x593c52){return _0x3498c3(_0x593c52);},'TVjaW':_0x4a1cda(0xaf),'RaavP':function(_0x11072e,_0x6ede5a){return _0x11072e(_0x6ede5a);},'hMQUR':_0x4a1cda(0xc9),'aFekW':'aiHeal_groupId','loWrv':_0x4a1cda(0x9b),'uEtpp':function(_0x27fab0,_0x5e90e1,_0xa93712,_0x4ae736,_0x2c0c57,_0x3ee8e5,_0x4c702a){return _0x27fab0(_0x5e90e1,_0xa93712,_0x4ae736,_0x2c0c57,_0x3ee8e5,_0x4c702a);},'iVMqL':_0x4a1cda(0x7c),'SGEnR':'BrowserstackHealingLogDataFailed','kWesD':_0x4a1cda(0xa6),'bYVtO':_0x4a1cda(0x7b)},_0x508563=(await _0x56f9a9[_0x4a1cda(0xe3)]())[_0x4a1cda(0xb2)]();let _0x11830b='';if(commandRepository[_0x4a1cda(0x8f)]()&&_0x3b38f9[_0x4a1cda(0xd0)](_0x4feaca,![])||_0x3b38f9[_0x4a1cda(0xb5)](_0x4feaca,!![])){const _0xd2c635=_0x3b38f9[_0x4a1cda(0x8b)](isNotUndefinedOrNull,_0x17747d['parameters_'][_0x4a1cda(0x97)])&&_0x3b38f9[_0x4a1cda(0x8b)](isString,_0x17747d[_0x4a1cda(0xbc)]['using'])?_0x17747d[_0x4a1cda(0xbc)][_0x4a1cda(0x97)][_0x4a1cda(0x7e)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x2a51b3=_0x3b38f9[_0x4a1cda(0x8b)](isNotUndefinedOrNull,_0x17747d['parameters_'][_0x4a1cda(0x97)])&&_0x3b38f9[_0x4a1cda(0x8b)](isString,_0x17747d[_0x4a1cda(0xbc)][_0x4a1cda(0x92)])?_0x17747d['parameters_']['value'][_0x4a1cda(0x7e)](/'/g,'\x5c\x27')[_0x4a1cda(0x7e)](/"/g,'\x5c\x22'):'',_0x37cac2=_0x3b38f9[_0x4a1cda(0x8b)](isNotUndefinedOrNull,commandRepository['getProjectName']())&&_0x3b38f9[_0x4a1cda(0x8b)](isString,commandRepository['getProjectName']())?commandRepository[_0x4a1cda(0xb6)]()[_0x4a1cda(0x7e)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';let _0x54f937=_0x3b38f9['otGAz'](isNotUndefinedOrNull,global[_0x4a1cda(0x8a)])&&_0x3b38f9[_0x4a1cda(0xc6)](isString,global[_0x4a1cda(0x8a)])?global['browserstackSessionName'][_0x4a1cda(0x7e)](/'/g,'\x5c\x27')[_0x4a1cda(0x7e)](/"/g,'\x5c\x22'):'';!_0x54f937&&(_0x54f937=_0x3b38f9['otGAz'](isNotUndefinedOrNull,commandRepository[_0x4a1cda(0x8e)]())&&_0x3b38f9[_0x4a1cda(0xda)](isString,commandRepository['getTestName']())?commandRepository[_0x4a1cda(0x8e)]()[_0x4a1cda(0x7e)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'');let _0x320bed=_0x4a1cda(0xd7)+constants[_0x4a1cda(0xd9)]+'\x22,\x20\x22tcgUrls\x22:\x20{\x22'+constants[_0x4a1cda(0xd9)]+_0x4a1cda(0x7d)+constants[_0x4a1cda(0xa7)][_0x4a1cda(0xac)](_0x3b38f9[_0x4a1cda(0xb8)])[0x1]+_0x4a1cda(0x9a);_0x320bed=_0x3b38f9[_0x4a1cda(0xb0)](isNotUndefinedOrNull,_0x320bed)&&_0x3b38f9[_0x4a1cda(0x8b)](isString,_0x320bed)?_0x320bed[_0x4a1cda(0x7e)](/'/g,'\x5c\x27')[_0x4a1cda(0x7e)](/"/g,'\x5c\x22'):'';const _0x5b0609=commandRepository[_0x4a1cda(0x7f)](_0x508563),_0x2ea3f5=globals['getGlobal'](_0x3b38f9[_0x4a1cda(0x9c)]),_0x24d0d5=globals[_0x4a1cda(0xa5)](_0x3b38f9[_0x4a1cda(0x90)]),_0x47d9d5=globals[_0x4a1cda(0xa5)](_0x3b38f9[_0x4a1cda(0xb1)]),_0xd91070=![],_0x51b6c5=new Date();if(_0x4feaca){const _0x402a1f=_0x3b38f9[_0x4a1cda(0xdb)](timeoutPromise,constants[_0x4a1cda(0x9e)],_0x3b38f9['iVMqL'],_0x3b38f9[_0x4a1cda(0xd1)],_0x51b6c5,this[_0x4a1cda(0xa4)],this[_0x4a1cda(0xca)]);_0x11830b=await Promise[_0x4a1cda(0xd6)]([this[_0x4a1cda(0xa0)]['logData'](_0xd2c635,_0x2a51b3,_0x37cac2,_0x54f937,_0x24d0d5,_0x508563,_0x5b0609,_0x320bed)[_0x4a1cda(0x8c)](_0x177571=>{const _0x593382=_0x4a1cda;return _0x402a1f[_0x593382(0x98)](),_0x177571;}),_0x402a1f]);}else{if(commandRepository['isSelfHealEnabled']()){const _0x320a91=_0x3b38f9[_0x4a1cda(0xdb)](timeoutPromise,constants[_0x4a1cda(0x81)],_0x3b38f9[_0x4a1cda(0xcd)],_0x3b38f9[_0x4a1cda(0xdc)],_0x51b6c5,this['config'],this[_0x4a1cda(0xca)]);_0x11830b=await Promise[_0x4a1cda(0xd6)]([this[_0x4a1cda(0xa0)][_0x4a1cda(0xc3)](_0xd2c635,_0x2a51b3,_0x37cac2,_0x54f937,_0x2ea3f5,_0x24d0d5,_0x508563,_0x5b0609,_0xd91070,_0x47d9d5,_0x320bed)[_0x4a1cda(0x8c)](_0x4cdb72=>{return _0x320a91['cancel'](),_0x4cdb72;}),_0x320a91]);}}_0x11830b&&await _0x56f9a9['executeScript'](_0x11830b);}}async['handleSuccess'](_0x269e06,_0x3835b4,_0x312744){const _0x58c232=a105_0x4e695a;try{await this[_0x58c232(0xc4)](_0x269e06,_0x3835b4,_0x312744,!![]);}catch(_0x299b0b){return logger[_0x58c232(0x85)]('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0x299b0b&&_0x299b0b[_0x58c232(0xa9)]?_0x299b0b[_0x58c232(0xa9)]:'')),![];}return!![];}async[a105_0x4e695a(0xa3)](_0x494e42,_0x12b87c,_0x1f77f9){const _0x2a280e=a105_0x4e695a,_0x12b818={'voKkW':function(_0xa483d2,_0x202c0d,_0x5ef794,_0x3850c7,_0x33c57a,_0x265a79,_0x39040a){return _0xa483d2(_0x202c0d,_0x5ef794,_0x3850c7,_0x33c57a,_0x265a79,_0x39040a);},'HUvpX':'BrowserstackHealing.pollResult\x20method\x20timed\x20out','INcoO':_0x2a280e(0xae),'gNvvy':'aiHeal_sessionToken'};try{await this['_handleEvent'](_0x494e42,_0x12b87c,_0x1f77f9,![]);const _0x485172=(await _0x12b87c[_0x2a280e(0xe3)]())[_0x2a280e(0xb2)](),_0x5b8a2=new Date(),_0x3f0440=_0x12b818[_0x2a280e(0x86)](timeoutPromise,constants[_0x2a280e(0xd4)],_0x12b818[_0x2a280e(0x83)],_0x12b818[_0x2a280e(0xa1)],_0x5b8a2,this[_0x2a280e(0xa4)],this[_0x2a280e(0xca)]),_0x4d31dc=await Promise['race']([this[_0x2a280e(0xa0)][_0x2a280e(0xa8)](constants[_0x2a280e(0xa7)],_0x485172,globals[_0x2a280e(0xa5)](_0x12b818['gNvvy']))[_0x2a280e(0x8c)](_0x5dc756=>{const _0x4ba390=_0x2a280e;return _0x3f0440[_0x4ba390(0x98)](),_0x5dc756;}),_0x3f0440]);if(_0x4d31dc&&_0x4d31dc[_0x2a280e(0x87)]&&_0x4d31dc[_0x2a280e(0x92)]){const _0x3318e6={};return _0x3318e6[_0x2a280e(0xd5)]=_0x4d31dc[_0x2a280e(0x87)],_0x3318e6[_0x2a280e(0xba)]=_0x4d31dc['value'],_0x3318e6[_0x2a280e(0xe1)]=!![],_0x3318e6;}const _0x29e468={};return _0x29e468[_0x2a280e(0xd5)]=_0x1f77f9[_0x2a280e(0xbc)][_0x2a280e(0x97)],_0x29e468[_0x2a280e(0xba)]=_0x4d31dc[_0x2a280e(0x92)],_0x29e468[_0x2a280e(0xe1)]=!![],_0x29e468;}catch(_0x57816f){return logger[_0x2a280e(0xbe)](_0x2a280e(0x72)+(_0x57816f&&_0x57816f[_0x2a280e(0xa9)]?_0x57816f[_0x2a280e(0xa9)]:'')),logger[_0x2a280e(0xb7)]('Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20'+_0x1f77f9['name_']+_0x2a280e(0x94)),_0x1f77f9;}}}exports['aiSdkWrapper']=Object['freeze'](new AiSdkWrapper());
|
|
1
|
+
const a105_0x8ab9c7=a105_0x23e6;(function(_0x11e267,_0x31693d){const _0x147e1e=a105_0x23e6,_0x37f2cd=_0x11e267();while(!![]){try{const _0x3db164=parseInt(_0x147e1e(0xf5))/0x1+-parseInt(_0x147e1e(0xa9))/0x2*(-parseInt(_0x147e1e(0xa6))/0x3)+-parseInt(_0x147e1e(0xea))/0x4+parseInt(_0x147e1e(0x87))/0x5+-parseInt(_0x147e1e(0xcf))/0x6*(parseInt(_0x147e1e(0xa0))/0x7)+parseInt(_0x147e1e(0x83))/0x8+-parseInt(_0x147e1e(0xd0))/0x9;if(_0x3db164===_0x31693d)break;else _0x37f2cd['push'](_0x37f2cd['shift']());}catch(_0x3854a8){_0x37f2cd['push'](_0x37f2cd['shift']());}}}(a105_0x97ff,0xd354f));const path=require(a105_0x8ab9c7(0x90)),{commandRepository}=require('./autoHealHelper'),constants=require(a105_0x8ab9c7(0xf2)),logger=require('../logger')[a105_0x8ab9c7(0xb6)],globals=require(a105_0x8ab9c7(0xb3)),timeoutPromise=require('../../helpers/timeoutPromise'),isUndefinedOrNull=_0x1784ff=>_0x1784ff===undefined||_0x1784ff===null||_0x1784ff==='',isNotUndefinedOrNull=_0x5d2fa5=>!isUndefinedOrNull(_0x5d2fa5),isString=_0x43bca4=>isNotUndefinedOrNull(_0x43bca4)&&typeof _0x43bca4==='string';class AiSdkWrapper{constructor(){const _0x5419da=a105_0x8ab9c7,_0x269374={'eLgyz':function(_0x39023c,_0x35129b){return _0x39023c(_0x35129b);},'TkdZG':_0x5419da(0xd9)};this['BrowserstackHealing']=undefined;try{this['BrowserstackHealing']=_0x269374[_0x5419da(0xbc)](require,path[_0x5419da(0xcc)](__dirname,_0x269374[_0x5419da(0xd3)]));}catch(_0x3a56d2){logger['error'](_0x5419da(0xe5)+(_0x3a56d2&&_0x3a56d2[_0x5419da(0x94)]?_0x3a56d2['message']:''));}}['initializeHealingCapabilities'](_0x558583){const _0x57daf9=a105_0x8ab9c7,_0xdfdf6a={};_0xdfdf6a[_0x57daf9(0xbd)]=_0x57daf9(0xf1),_0xdfdf6a[_0x57daf9(0xc6)]=function(_0x5c51ac,_0x4df002){return _0x5c51ac===_0x4df002;},_0xdfdf6a['oXNRr']=_0x57daf9(0xc5),_0xdfdf6a['rTrNf']=_0x57daf9(0xb5),_0xdfdf6a[_0x57daf9(0x9f)]=function(_0x1a2d6f,_0x3f5e4b){return _0x1a2d6f===_0x3f5e4b;},_0xdfdf6a[_0x57daf9(0x93)]=_0x57daf9(0x91),_0xdfdf6a[_0x57daf9(0x8c)]=_0x57daf9(0xbf),_0xdfdf6a['WWmsG']=_0x57daf9(0x8a),_0xdfdf6a[_0x57daf9(0x96)]=function(_0x1c8d32,_0x54254b){return _0x1c8d32===_0x54254b;};const _0x2f130e=_0xdfdf6a;try{const _0x171a5f=this[_0x57daf9(0x8d)][_0x57daf9(0xda)](Object[_0x57daf9(0xf4)](_0x558583[_0x57daf9(0xac)]()[_0x57daf9(0xd2)]));console[_0x57daf9(0xab)](_0x2f130e[_0x57daf9(0xbd)],_0x171a5f);if(_0x2f130e['Poauj'](_0x171a5f?.['browserName']?.[_0x57daf9(0x9c)](),_0x2f130e['oXNRr']))_0x558583[_0x57daf9(0x9d)]=_0x171a5f;else{if(_0x2f130e[_0x57daf9(0xc6)](_0x171a5f?.[_0x57daf9(0xd4)]?.[_0x57daf9(0x9c)](),_0x2f130e['rTrNf']))_0x558583[_0x57daf9(0xc1)]=_0x171a5f;else{if(_0x2f130e['PbgEz'](_0x171a5f?.[_0x57daf9(0xd4)]?.[_0x57daf9(0x9c)](),_0x2f130e[_0x57daf9(0x93)]))_0x558583[_0x57daf9(0xe1)]=_0x171a5f;else{if(_0x2f130e[_0x57daf9(0xc6)](_0x171a5f?.[_0x57daf9(0xd4)]?.[_0x57daf9(0x9c)](),_0x2f130e[_0x57daf9(0x8c)])||_0x2f130e['PbgEz'](_0x171a5f?.['browserName']?.[_0x57daf9(0x9c)](),_0x2f130e[_0x57daf9(0xe9)]))_0x558583['edgeOptions_']=_0x171a5f;else _0x2f130e[_0x57daf9(0x96)](_0x171a5f?.[_0x57daf9(0xd4)]?.[_0x57daf9(0x9c)](),'ie')&&(_0x558583[_0x57daf9(0xb0)]=_0x171a5f);}}}Object['keys'](_0x171a5f)[_0x57daf9(0xde)](_0x3bc024=>{const _0x1c850d=_0x57daf9,_0x24ea56=_0x558583[_0x1c850d(0x98)][_0x1c850d(0xbe)](_0x3bc024);_0x558583[_0x1c850d(0x98)][_0x1c850d(0xb4)](_0x3bc024,_0x171a5f[_0x3bc024]);});}catch(_0x4c2ada){logger[_0x57daf9(0x92)]('Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20'+(_0x4c2ada&&_0x4c2ada[_0x57daf9(0x94)]?_0x4c2ada[_0x57daf9(0x94)]:''));}}async[a105_0x8ab9c7(0xc4)](_0x160011){const _0x1b100d=a105_0x8ab9c7,_0x3f98aa={'MEDat':function(_0xdcbae8,_0xb8fd8c,_0x183b2d,_0x44cddd,_0x4a534a,_0x4dfdfe,_0x4eac8d){return _0xdcbae8(_0xb8fd8c,_0x183b2d,_0x44cddd,_0x4a534a,_0x4dfdfe,_0x4eac8d);},'zzMyY':_0x1b100d(0x95),'KRQnB':_0x1b100d(0x82),'YSKGA':_0x1b100d(0xc9)},_0x1997b0=new Date(),_0x247bbf=_0x3f98aa['MEDat'](timeoutPromise,constants[_0x1b100d(0xa4)],_0x3f98aa[_0x1b100d(0x7b)],_0x3f98aa[_0x1b100d(0xa3)],_0x1997b0,this[_0x1b100d(0xe0)],this[_0x1b100d(0xb8)]);await Promise['race']([this[_0x1b100d(0x8d)][_0x1b100d(0xcd)](_0x160011,globals[_0x1b100d(0xa8)](_0x3f98aa[_0x1b100d(0x80)]),constants['TCG_URL'])[_0x1b100d(0xd7)](()=>{const _0x7451ec=_0x1b100d;_0x247bbf[_0x7451ec(0x99)]();}),_0x247bbf]);}async['_handleEvent'](_0x59f91a,_0x591cf5,_0x562304,_0x20b886){const _0x57d248=a105_0x8ab9c7,_0x4dc1ca={'lFBti':function(_0x5af8a9,_0x75d00a){return _0x5af8a9===_0x75d00a;},'GLmnB':function(_0x210a2e,_0x4e311d){return _0x210a2e(_0x4e311d);},'OKnZc':function(_0x3c552d,_0x34f1b4){return _0x3c552d(_0x34f1b4);},'eDNmi':function(_0x17d92c,_0xfca65f){return _0x17d92c(_0xfca65f);},'CkBbX':function(_0x4217bf,_0x43e69f){return _0x4217bf(_0x43e69f);},'uhQlx':function(_0x4f1ab6,_0x1105c6){return _0x4f1ab6(_0x1105c6);},'iDOoA':_0x57d248(0x88),'JkrxC':function(_0x33e933,_0x31a325){return _0x33e933(_0x31a325);},'QMMrU':_0x57d248(0xdb),'bXdEZ':_0x57d248(0x8b),'TjLRp':_0x57d248(0xad),'ezYQa':function(_0x64cb7c,_0x2b77f7,_0x231b5e,_0x3995f0,_0x1f1d63,_0xe9ae35,_0x5cfbc2){return _0x64cb7c(_0x2b77f7,_0x231b5e,_0x3995f0,_0x1f1d63,_0xe9ae35,_0x5cfbc2);},'EeEad':_0x57d248(0xa5),'wcrZt':_0x57d248(0x97),'BjXxQ':function(_0x2f3f4b,_0x458f29,_0x1938aa,_0x1ecf3b,_0x5dd02a,_0x578e52,_0x33f794){return _0x2f3f4b(_0x458f29,_0x1938aa,_0x1ecf3b,_0x5dd02a,_0x578e52,_0x33f794);},'Qpoby':_0x57d248(0xca),'SGiao':_0x57d248(0xdf)},_0x1aee12=(await _0x591cf5['getSession']())[_0x57d248(0xe6)]();let _0x4d3d74='';if(commandRepository['isSelfHealEnabled']()&&_0x4dc1ca[_0x57d248(0x9b)](_0x20b886,![])||_0x4dc1ca[_0x57d248(0x9b)](_0x20b886,!![])){const _0x3f1980=_0x4dc1ca[_0x57d248(0xdd)](isNotUndefinedOrNull,_0x562304[_0x57d248(0xef)][_0x57d248(0xb9)])&&_0x4dc1ca[_0x57d248(0xdd)](isString,_0x562304[_0x57d248(0xef)][_0x57d248(0xb9)])?_0x562304[_0x57d248(0xef)][_0x57d248(0xb9)]['replace'](/'/g,'\x5c\x27')[_0x57d248(0xc2)](/"/g,'\x5c\x22'):'',_0x4dbda3=_0x4dc1ca[_0x57d248(0xf3)](isNotUndefinedOrNull,_0x562304['parameters_']['using'])&&_0x4dc1ca[_0x57d248(0xf3)](isString,_0x562304['parameters_'][_0x57d248(0x8e)])?_0x562304['parameters_'][_0x57d248(0x8e)][_0x57d248(0xc2)](/'/g,'\x5c\x27')[_0x57d248(0xc2)](/"/g,'\x5c\x22'):'',_0x4dccae=_0x4dc1ca[_0x57d248(0xdd)](isNotUndefinedOrNull,commandRepository[_0x57d248(0xba)]())&&_0x4dc1ca['OKnZc'](isString,commandRepository[_0x57d248(0xba)]())?commandRepository['getProjectName']()[_0x57d248(0xc2)](/'/g,'\x5c\x27')[_0x57d248(0xc2)](/"/g,'\x5c\x22'):'';let _0x5a88b6=_0x4dc1ca[_0x57d248(0xf3)](isNotUndefinedOrNull,global[_0x57d248(0xc3)])&&_0x4dc1ca[_0x57d248(0xa1)](isString,global[_0x57d248(0xc3)])?global['browserstackSessionName'][_0x57d248(0xc2)](/'/g,'\x5c\x27')[_0x57d248(0xc2)](/"/g,'\x5c\x22'):'';!_0x5a88b6&&(_0x5a88b6=_0x4dc1ca['CkBbX'](isNotUndefinedOrNull,commandRepository[_0x57d248(0xed)]())&&_0x4dc1ca['uhQlx'](isString,commandRepository[_0x57d248(0xed)]())?commandRepository[_0x57d248(0xed)]()['replace'](/'/g,'\x5c\x27')[_0x57d248(0xc2)](/"/g,'\x5c\x22'):'');let _0x6e99df='{\x22region\x22:\x20\x22'+constants[_0x57d248(0x81)]+_0x57d248(0x7d)+constants[_0x57d248(0x81)]+'\x22:\x20{\x22endpoint\x22:\x20\x22'+constants['TCG_URL'][_0x57d248(0x8f)](_0x4dc1ca['iDOoA'])[0x1]+_0x57d248(0xc0);_0x6e99df=_0x4dc1ca['JkrxC'](isNotUndefinedOrNull,_0x6e99df)&&_0x4dc1ca[_0x57d248(0xf0)](isString,_0x6e99df)?_0x6e99df[_0x57d248(0xc2)](/'/g,'\x5c\x27')[_0x57d248(0xc2)](/"/g,'\x5c\x22'):'';const _0x4b2425=commandRepository[_0x57d248(0x9e)](_0x1aee12),_0x5eff31=globals[_0x57d248(0xa8)](_0x4dc1ca[_0x57d248(0xcb)]),_0x441bed=globals['getGlobal'](_0x4dc1ca[_0x57d248(0xe3)]),_0x397e7f=globals[_0x57d248(0xa8)](_0x4dc1ca[_0x57d248(0xeb)]),_0x1fd6ba=![],_0x480096=new Date();if(_0x20b886){const _0x5e51b0=_0x4dc1ca[_0x57d248(0xdc)](timeoutPromise,constants[_0x57d248(0x7f)],_0x4dc1ca[_0x57d248(0x89)],_0x4dc1ca[_0x57d248(0xae)],_0x480096,this[_0x57d248(0xe0)],this[_0x57d248(0xb8)]);_0x4d3d74=await Promise[_0x57d248(0xce)]([this['BrowserstackHealing'][_0x57d248(0xe8)](_0x3f1980,_0x4dbda3,_0x4dccae,_0x5a88b6,_0x441bed,_0x1aee12,_0x4b2425,_0x6e99df)['then'](_0x3c94fc=>{const _0x529cdf=_0x57d248;return _0x5e51b0[_0x529cdf(0x99)](),_0x3c94fc;}),_0x5e51b0]);}else{if(commandRepository['isSelfHealEnabled']()){const _0x285f7d=_0x4dc1ca[_0x57d248(0xc7)](timeoutPromise,constants[_0x57d248(0xb1)],_0x4dc1ca[_0x57d248(0xaf)],_0x4dc1ca[_0x57d248(0x85)],_0x480096,this[_0x57d248(0xe0)],this[_0x57d248(0xb8)]);_0x4d3d74=await Promise['race']([this[_0x57d248(0x8d)][_0x57d248(0x7c)](_0x3f1980,_0x4dbda3,_0x4dccae,_0x5a88b6,_0x5eff31,_0x441bed,_0x1aee12,_0x4b2425,_0x1fd6ba,_0x397e7f,_0x6e99df)[_0x57d248(0xd7)](_0x45ce21=>{const _0x44ac9e=_0x57d248;return _0x285f7d[_0x44ac9e(0x99)](),_0x45ce21;}),_0x285f7d]);}}_0x4d3d74&&await _0x591cf5['executeScript'](_0x4d3d74);}}async[a105_0x8ab9c7(0xb7)](_0xcf183f,_0x3ad2cc,_0xb14d4d){const _0x224540=a105_0x8ab9c7;try{await this[_0x224540(0xc8)](_0xcf183f,_0x3ad2cc,_0xb14d4d,!![]);}catch(_0xdc258){return logger['error'](_0x224540(0xa2)+(_0xdc258&&_0xdc258['message']?_0xdc258[_0x224540(0x94)]:'')),![];}return!![];}async[a105_0x8ab9c7(0xb2)](_0x2fc50e,_0x2d3250,_0x2dda5c){const _0x30f7c9=a105_0x8ab9c7,_0x46de0c={'ARMfz':function(_0x110a50,_0x4d2053,_0x1f393b,_0x45e16f,_0x22cc31,_0x4340c5,_0x6ef84){return _0x110a50(_0x4d2053,_0x1f393b,_0x45e16f,_0x22cc31,_0x4340c5,_0x6ef84);},'eXmQv':_0x30f7c9(0xec),'dYgPH':_0x30f7c9(0xa7),'yxhVX':_0x30f7c9(0xc9)};try{await this[_0x30f7c9(0xc8)](_0x2fc50e,_0x2d3250,_0x2dda5c,![]);const _0x45f7b6=(await _0x2d3250[_0x30f7c9(0xee)]())['getId'](),_0x3e612d=new Date(),_0x54ea48=_0x46de0c[_0x30f7c9(0xd1)](timeoutPromise,constants['POLL_HEALING_RESULT_TIMEOUT'],_0x46de0c[_0x30f7c9(0xd8)],_0x46de0c['dYgPH'],_0x3e612d,this['config'],this['framework']),_0x1aa911=await Promise[_0x30f7c9(0xce)]([this['BrowserstackHealing'][_0x30f7c9(0x9a)](constants[_0x30f7c9(0xe2)],_0x45f7b6,globals[_0x30f7c9(0xa8)](_0x46de0c[_0x30f7c9(0xe7)]))[_0x30f7c9(0xd7)](_0x4255d6=>{const _0x4956d2=_0x30f7c9;return _0x54ea48[_0x4956d2(0x99)](),_0x4255d6;}),_0x54ea48]);if(_0x1aa911&&_0x1aa911[_0x30f7c9(0x84)]&&_0x1aa911['value']){const _0x4f0548={};return _0x4f0548['locatorType']=_0x1aa911[_0x30f7c9(0x84)],_0x4f0548[_0x30f7c9(0x86)]=_0x1aa911[_0x30f7c9(0x8e)],_0x4f0548[_0x30f7c9(0xe4)]=!![],_0x4f0548;}const _0x56bfe1={};return _0x56bfe1['locatorType']=_0x2dda5c[_0x30f7c9(0xef)]['using'],_0x56bfe1[_0x30f7c9(0x86)]=_0x1aa911[_0x30f7c9(0x8e)],_0x56bfe1[_0x30f7c9(0xe4)]=!![],_0x56bfe1;}catch(_0x4eeb19){return logger[_0x30f7c9(0xaa)]('Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20'+(_0x4eeb19&&_0x4eeb19[_0x30f7c9(0x94)]?_0x4eeb19['message']:'')),logger[_0x30f7c9(0xd5)](_0x30f7c9(0x7e)+_0x2dda5c[_0x30f7c9(0xbb)]+_0x30f7c9(0xd6)),_0x2dda5c;}}}function a105_0x97ff(){const _0x599093=['info','\x20command','then','eXmQv','../../ai-sdk-node/bundle','initializeCapabilities','aiHeal_userId','ezYQa','GLmnB','forEach','BrowserstackHealingHealFailureFailed','config','safariOptions_','TCG_URL','bXdEZ','aiHealing','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','getId','yxhVX','logData','WWmsG','549412SIgzbM','TjLRp','BrowserstackHealing.pollResult\x20method\x20timed\x20out','getTestName','getSession','parameters_','uhQlx','newCapabilities','../../bin/utils/constants','OKnZc','fromEntries','1315210dqQvbl','zzMyY','healFailure','\x22,\x20\x22tcgUrls\x22:\x20{\x22','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','HEALING_LOG_DATA_TIMEOUT','YSKGA','TCG_REGION','BrowserstackHealingSetTcgTokenFailed','11537496DJMfnZ','selector','SGiao','locatorValue','4118655lnWxgd','s://','EeEad','microsoftedge','aiHeal_groupId','OhXbK','BrowserstackHealing','value','split','path','safari','error','loMjS','message','BrowserstackHealing.setToken\x20method\x20timed\x20out','wAKCT','BrowserstackHealingLogDataFailed','capabilities_','cancel','pollResult','lFBti','toLowerCase','chromeOptions_','getCommands','PbgEz','105cWBmGI','eDNmi','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','KRQnB','SET_TCG_TOKEN_TIMEOUT','BrowserstackHealing.logData\x20method\x20timed\x20out','20361zsGGca','BrowserstackHealingPollResultFailed','getGlobal','32MLWvFB','debug','log','getCapabilities','aiHeal_isGroupAIEnabled','wcrZt','Qpoby','ieOptions_','HEALING_FAILURE_TIMEOUT','handleFailure','../globals','set','firefox','winstonLogger','handleSuccess','framework','using','getProjectName','name_','eLgyz','usXSH','get','edge','\x22}}}','firefoxOptions_','replace','browserstackSessionName','setTcgToken','chrome','Poauj','BjXxQ','_handleEvent','aiHeal_sessionToken','BrowserstackHealing.healFailure\x20method\x20timed\x20out','QMMrU','join','setToken','race','688134AhNUpj','8697753VrmlRS','ARMfz','map_','TkdZG','browserName'];a105_0x97ff=function(){return _0x599093;};return a105_0x97ff();}function a105_0x23e6(_0x3502df,_0x5303d0){const _0x97ff2d=a105_0x97ff();return a105_0x23e6=function(_0x23e699,_0x42cdea){_0x23e699=_0x23e699-0x7b;let _0x186e27=_0x97ff2d[_0x23e699];return _0x186e27;},a105_0x23e6(_0x3502df,_0x5303d0);}exports['aiSdkWrapper']=Object['freeze'](new AiSdkWrapper());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a106_0x312d1f=a106_0x25c3;(function(_0x477941,_0xff95e2){const _0x1db133=a106_0x25c3,_0x3d0aa8=_0x477941();while(!![]){try{const _0x1c29f4=-parseInt(_0x1db133(0x8a))/0x1+-parseInt(_0x1db133(0xae))/0x2+-parseInt(_0x1db133(0x87))/0x3*(-parseInt(_0x1db133(0x92))/0x4)+parseInt(_0x1db133(0x84))/0x5*(-parseInt(_0x1db133(0x9d))/0x6)+parseInt(_0x1db133(0x8e))/0x7+-parseInt(_0x1db133(0xa9))/0x8*(parseInt(_0x1db133(0x9b))/0x9)+parseInt(_0x1db133(0x7d))/0xa;if(_0x1c29f4===_0xff95e2)break;else _0x3d0aa8['push'](_0x3d0aa8['shift']());}catch(_0x1754aa){_0x3d0aa8['push'](_0x3d0aa8['shift']());}}}(a106_0x48d2,0x2f2c8));const calculateTimeDiff=_0x51effb=>Date[a106_0x312d1f(0xa3)]()-_0x51effb,logger=require(a106_0x312d1f(0x97))[a106_0x312d1f(0x9f)],globals=require(a106_0x312d1f(0xb6));class HealingCommandRepo{constructor(){const _0x23d42b=a106_0x312d1f,_0x30c3f0={};_0x30c3f0[_0x23d42b(0x8d)]='1|5|3|2|4|0';const _0x372f82=_0x30c3f0,_0x751590=_0x372f82[_0x23d42b(0x8d)][_0x23d42b(0x7e)]('|');let _0x599342=0x0;while(!![]){switch(_0x751590[_0x599342++]){case'0':this[_0x23d42b(0x99)]=![];continue;case'1':this[_0x23d42b(0xac)]={};continue;case'2':this[_0x23d42b(0x80)]='';continue;case'3':this['projectName']='';continue;case'4':this[_0x23d42b(0x7f)]={};continue;case'5':this['aiSessionTimeStamp']={};continue;}break;}}[a106_0x312d1f(0xa1)](_0x4bb640,_0x533c0a){const _0x4da97a=a106_0x312d1f,_0x1bbbe3={};_0x1bbbe3[_0x4da97a(0x94)]=function(_0x22eeee,_0x2334ea){return _0x22eeee in _0x2334ea;};const _0x5e1c7d=_0x1bbbe3;!_0x5e1c7d[_0x4da97a(0x94)](_0x4bb640,this['commands'])&&(this[_0x4da97a(0xac)][_0x4bb640]=[]),this['commands'][_0x4bb640][_0x4da97a(0x89)](_0x533c0a);}[a106_0x312d1f(0x98)](_0x5433a8,_0x1b3438){const _0x422dbe=a106_0x312d1f,_0x54da47={'iXVDL':function(_0x1d82b2,_0x4f29b1){return _0x1d82b2(_0x4f29b1);}},_0x4bac46=_0x1b3438[_0x422dbe(0xb3)],_0x26c4d2=_0x1b3438[_0x422dbe(0xab)]['split'](_0x5433a8)[0x1],_0x4110f2=this[_0x422dbe(0x93)][_0x5433a8],_0x3248c4={'k':_0x4bac46+':'+_0x26c4d2,'t':_0x54da47['iXVDL'](calculateTimeDiff,_0x4110f2)};this['_pushCommand'](_0x5433a8,_0x3248c4);}[a106_0x312d1f(0xaf)](_0x147c9b){const _0x6e5ede=a106_0x312d1f;this[_0x6e5ede(0x93)][_0x147c9b]=Date[_0x6e5ede(0xa3)]();}[a106_0x312d1f(0x83)](_0x20fc93,_0x113120){const _0x19a418=a106_0x312d1f;this['authInfo'][_0x19a418(0xaa)]=_0x20fc93,this[_0x19a418(0x7f)][_0x19a418(0x81)]=_0x113120;}[a106_0x312d1f(0x8c)](){const _0x3dc0f1=a106_0x312d1f;return this[_0x3dc0f1(0x7f)];}[a106_0x312d1f(0xb1)](_0xf085fd){const _0x38c4fe=a106_0x312d1f;this[_0x38c4fe(0x9e)]=_0xf085fd;}['setTestNameForHealingContext'](_0x227b88){const _0x5f203e=a106_0x312d1f;this[_0x5f203e(0x80)]=_0x227b88;}[a106_0x312d1f(0x91)](_0x3cee0d){const _0x5a63a2=a106_0x312d1f;this[_0x5a63a2(0xb5)]=_0x3cee0d,this['setProjectNameForHealingContext'](_0x3cee0d['projectName']),this[_0x5a63a2(0x83)](_0x3cee0d[_0x5a63a2(0xaa)],_0x3cee0d[_0x5a63a2(0x81)]);}[a106_0x312d1f(0x9a)](_0x43790b){const _0x343e08=a106_0x312d1f;this[_0x343e08(0x96)]=_0x43790b;}['setTcgTokenStatus'](_0x35359d){const _0x50ff1b=a106_0x312d1f;this[_0x50ff1b(0x99)]=_0x35359d;}[a106_0x312d1f(0x86)](){const _0x42f203=a106_0x312d1f;return this[_0x42f203(0xb5)];}[a106_0x312d1f(0x90)](){const _0x48f0a1=a106_0x312d1f;return this[_0x48f0a1(0x96)];}[a106_0x312d1f(0x8f)](){const _0x441e58=a106_0x312d1f;return this[_0x441e58(0x9e)];}['getTestName'](){const _0x1b44a9=a106_0x312d1f;return this[_0x1b44a9(0x80)];}[a106_0x312d1f(0xb4)](_0x37c183){const _0x48b991=a106_0x312d1f,_0x583995={};_0x583995[_0x48b991(0xa5)]='aiHeal_isAuthenticated',_0x583995[_0x48b991(0x95)]='aiHeal_isHealingEnabled',_0x583995[_0x48b991(0x88)]=function(_0x18c670,_0x1527d0){return _0x18c670===_0x1527d0;},_0x583995[_0x48b991(0x7c)]=function(_0x2f7c7a,_0x1e6b38){return _0x2f7c7a+_0x1e6b38;},_0x583995[_0x48b991(0xa2)]=_0x48b991(0xa8);const _0x2aba81=_0x583995,_0x412c16=this[_0x48b991(0xac)][_0x37c183];this[_0x48b991(0xac)][_0x37c183]=[];if(globals[_0x48b991(0x7b)](_0x2aba81[_0x48b991(0xa5)])&&globals[_0x48b991(0x7b)](_0x2aba81[_0x48b991(0x95)])&&!_0x412c16||_0x2aba81[_0x48b991(0x88)](_0x412c16[_0x48b991(0xa4)],0x0))return logger[_0x48b991(0xb0)](_0x2aba81['JCZlT'](_0x2aba81[_0x48b991(0xa2)],_0x37c183)),'';return _0x412c16[_0x48b991(0xad)](_0x27c0ed=>JSON[_0x48b991(0xa6)](_0x27c0ed))['join'](',');}['isSelfHealEnabled'](){const _0x5ede0e=a106_0x312d1f,_0x1910e0={};_0x1910e0[_0x5ede0e(0xa0)]=function(_0x3429af,_0xaffaa7){return _0x3429af===_0xaffaa7;},_0x1910e0[_0x5ede0e(0xa7)]=function(_0x34e837,_0x43ae8d){return _0x34e837===_0x43ae8d;},_0x1910e0['XYwOg']=_0x5ede0e(0xb2);const _0x859733=_0x1910e0;let _0x2651e4=![];return this[_0x5ede0e(0x86)]()&&(_0x859733['zchFL'](this['getConfig']()[_0x5ede0e(0x85)],!![])||_0x859733['LdeiQ'](this[_0x5ede0e(0x86)]()[_0x5ede0e(0x85)],_0x859733[_0x5ede0e(0x82)]))&&(_0x2651e4=!![]),_0x2651e4;}[a106_0x312d1f(0x8b)](){return this['isTcgTokenSet'];}}function a106_0x25c3(_0x55d4e3,_0x59e74c){const _0x48d24f=a106_0x48d2();return a106_0x25c3=function(_0x25c3e4,_0x139216){_0x25c3e4=_0x25c3e4-0x7b;let _0x4af14e=_0x48d24f[_0x25c3e4];return _0x4af14e;},a106_0x25c3(_0x55d4e3,_0x59e74c);}function a106_0x48d2(){const _0x1bc75a=['162927sFmJFN','commandRepository','78bUjYpp','projectName','winstonLogger','zchFL','_pushCommand','oRaba','now','length','uvcYd','stringify','LdeiQ','No\x20commands\x20found\x20for\x20session:\x20','24SPYrAO','userName','path','commands','map','655990mztlhg','setAiSessionTimeStamp','debug','setProjectNameForHealingContext','true','method','getCommands','config','../globals','getGlobal','JCZlT','4049860TWXMCs','split','authInfo','testName','accessKey','XYwOg','setAuthInfo','48725pCTUfX','selfHeal','getConfig','30GTzKxI','dlZaq','push','126938bHKGJL','getTcgTokenStatus','getAuthInfo','JAdSR','2660105xlHpHK','getProjectName','getFramework','setConfig','17660tSHYuX','aiSessionTimeStamp','SaouW','NDnrc','framework','../logger','pushCommand','isTcgTokenSet','setFramework'];a106_0x48d2=function(){return _0x1bc75a;};return a106_0x48d2();}exports[a106_0x312d1f(0x9c)]=new HealingCommandRepo();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a107_0xd3410e=a107_0x3ce8;(function(_0x50beb7,_0x308817){const _0x5b6f5d=a107_0x3ce8,_0x76cdcb=_0x50beb7();while(!![]){try{const _0x2886cc=-parseInt(_0x5b6f5d(0xd1))/0x1+parseInt(_0x5b6f5d(0xd0))/0x2*(parseInt(_0x5b6f5d(0xc2))/0x3)+-parseInt(_0x5b6f5d(0xcf))/0x4*(parseInt(_0x5b6f5d(0xc7))/0x5)+parseInt(_0x5b6f5d(0xcd))/0x6+parseInt(_0x5b6f5d(0xc0))/0x7+parseInt(_0x5b6f5d(0xc4))/0x8+parseInt(_0x5b6f5d(0xc3))/0x9*(-parseInt(_0x5b6f5d(0xc5))/0xa);if(_0x2886cc===_0x308817)break;else _0x76cdcb['push'](_0x76cdcb['shift']());}catch(_0x1a62b9){_0x76cdcb['push'](_0x76cdcb['shift']());}}}(a107_0x3a5b,0x59c35));function a107_0x3a5b(){const _0x31828e=['automate-turboscale/v1','preprod','stag','2375388WVoBJx','API_ENDPOINT','84332sDSNoa','2vpfYFE','288249erylWK','toLowerCase','BUILDS_DASHBOARD_URL','env','https://grid.browserstack.com/dashboard/builds','3615885HYPnPL','https://grid-devhst.bsstag.com/dashboard/builds','1388445KUbhPV','1656JsObBW','1330144brOxtS','32090hCdmbp','pre-prod','70LUUxig','exports','prod'];a107_0x3a5b=function(){return _0x31828e;};return a107_0x3a5b();}const a107_0x3d0fad={};a107_0x3d0fad[a107_0xd3410e(0xbd)]=a107_0xd3410e(0xbf),a107_0x3d0fad[a107_0xd3410e(0xce)]=a107_0xd3410e(0xca),module[a107_0xd3410e(0xc8)]=a107_0x3d0fad;const _env=(process[a107_0xd3410e(0xbe)]['BROWSERSTACK_ENV']||a107_0xd3410e(0xc9))[a107_0xd3410e(0xd2)]();function a107_0x3ce8(_0x4804fd,_0x18eda1){const _0x3a5b4d=a107_0x3a5b();return a107_0x3ce8=function(_0x3ce801,_0x92d12d){_0x3ce801=_0x3ce801-0xbd;let _0x50ab67=_0x3a5b4d[_0x3ce801];return _0x50ab67;},a107_0x3ce8(_0x4804fd,_0x18eda1);}if(_env==='staging'||_env===a107_0xd3410e(0xcc))module['exports'][a107_0xd3410e(0xbd)]=a107_0xd3410e(0xc1);else(_env===a107_0xd3410e(0xcb)||_env===a107_0xd3410e(0xc6))&&(module[a107_0xd3410e(0xc8)][a107_0xd3410e(0xbd)]='https://grid-preprod.bsstag.com/dashboard/builds');
|