browserstack-node-sdk 1.54.1 → 1.54.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/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
|
-
function a101_0x25d6(_0x45cfeb,_0x2c0298){const _0x2a58d2=a101_0x2a58();return a101_0x25d6=function(_0x25d6ba,_0x5e25c0){_0x25d6ba=_0x25d6ba-0x1ef;let _0x1a9ca4=_0x2a58d2[_0x25d6ba];return _0x1a9ca4;},a101_0x25d6(_0x45cfeb,_0x2c0298);}const a101_0x62a946=a101_0x25d6;(function(_0x10794c,_0x5b7418){const _0x1ea696=a101_0x25d6,_0x305c1a=_0x10794c();while(!![]){try{const _0x579a0e=parseInt(_0x1ea696(0x227))/0x1*(-parseInt(_0x1ea696(0x248))/0x2)+parseInt(_0x1ea696(0x27b))/0x3+parseInt(_0x1ea696(0x265))/0x4*(-parseInt(_0x1ea696(0x2aa))/0x5)+parseInt(_0x1ea696(0x22c))/0x6*(parseInt(_0x1ea696(0x2a7))/0x7)+-parseInt(_0x1ea696(0x219))/0x8+-parseInt(_0x1ea696(0x230))/0x9+-parseInt(_0x1ea696(0x278))/0xa*(-parseInt(_0x1ea696(0x29d))/0xb);if(_0x579a0e===_0x5b7418)break;else _0x305c1a['push'](_0x305c1a['shift']());}catch(_0x1dfbb8){_0x305c1a['push'](_0x305c1a['shift']());}}}(a101_0x2a58,0x56454));function a101_0x2a58(){const _0x3470f7=[',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','./helper','error','bNfUP','wNJJl','UrVDr','scanSucceeded','EfHiv','wnFjb','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','maxRetries','JXzrD','392556UGwETn','srPCY','performComprehensiveAccessibilityScanWithRetry','getAccessibilityModule','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','YcLcm','OYEFm','value','IkBmm','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','name','RvMbw','UkQQn','KboJo','performScanWithRetry','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','fMrdf','ms\x20using\x20setScriptTimeout\x20API','wRSgG','4700PFaZOK','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','setScriptTimeout','1168902PQDMEX','getGlobal','./scripts','setTimeouts','XWfwW','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','DbTcy','qaLSJ','message','getAccessibilityResultsWithRetry','\x20failed\x20(','QaEZo','manage','max','ZNIIT','\x20failed\x20for\x20method:\x20','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','constructor','YlBkX','getSession','summary','performScan','bstackA11yScanOptions','xssPM','capabilitiesList','):\x20','Playwright','evaluate','Unknown\x20driver/page\x20type:\x20','jarhB','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','ms\x20using\x20setTimeouts\x20API','is_mobile_session','Operation\x20timed\x20out\x20after\x20','24618EEOhuo','timeoutMs','saveTestResults','UxXKz','getCurrentUrl','IrAKW','isSeleniumDriver','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','../globals','WpqaH','491659wfaJLP','Unknown\x20error','unknown_method','15yNSHib','playwright-codecept-driver','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','fulfilled','playwright-page','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','function','Accessibility\x20results\x20retrieval\x20attempt\x20','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','allSettled','getAccessibilityResultsSummary','getInstance','LBWxW','PedRI','debug','AVyVe','YKTuv','wUzgN','scannerProcessingTimeout','Accessibility\x20results\x20save\x20attempt\x20',').\x20Last\x20error:\x20','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','xYsbE','DwrCS','isPlaywrightPage','isPlaywright','gsope','Accessibility\x20scan\x20attempt\x20','reason','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','sLlhe','SUOhS',')\x20with\x20error:\x20','status','NHwjp','vQtDj','Comprehensive\x20accessibility\x20scan\x20failed\x20(','util','../performance/performance-tester','gbGiO','results','isAccessibilityPlatform','sffUB','gHSkN','options','EUvKj','cyEsT','type','jNpPU','GnpFY','hKFlv','tItJR','MNATr','../performance/constants','KcNgh','Page','plaFG','stringify','isMobilePlatform','Igyqm','kGLOs','VIIRW','accessibilityPlatform','race','4309176tpLFTa','QOiKG','assign','aSvkM','winstonLogger','browserstackSessionName',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','setDefaultTimeout','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','getCapabilities','isRunning','setSeleniumScriptTimeout','defaultTimeoutMs','nXcvY','1407rKGAoQ','ihmvD','ynlcQ','__workerDetails','HIQUf','30GeJfLb','oSVPK','\x20for\x20method:\x20','PlFoa','4177296wcHmQr','rZNzG','setPlaywrightScriptTimeout','KUYXK','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','zylNM','currentTest','driverType','info','xcLer','isAccessibilityAutomationSession','Playwright\x20accessibility\x20helper\x20not\x20available','sUWWB','selenium-webdriver','warn','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','EDTPd','../../bin/playwright/accessibility-helper','ms\x20using\x20timeouts()\x20API','ylOue','executeAsyncScript','url',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.',').\x20Error:\x20','202lQuXRQ','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','FNkHT','zOKhm','getAccessibilityResultsSummaryWithRetry','QNUrc','Accessibility\x20retry\x20configuration\x20updated:\x20','\x20completed\x20successfully.','getAccessibilityResults','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','unknown','updateRetryConfig','undefined','bstackA11yShouldScan','NkKLU'];a101_0x2a58=function(){return _0x3470f7;};return a101_0x2a58();}const util=require(a101_0x62a946(0x1fe)),logger=require('../logger')[a101_0x62a946(0x21d)],accessibilityHelper=require(a101_0x62a946(0x259)),globals=require(a101_0x62a946(0x2a5)),scripts=require(a101_0x62a946(0x27d)),PerformanceTester=require(a101_0x62a946(0x1ff)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a101_0x62a946(0x20e)),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a101_0x62a946(0x241));}catch(a101_0xb26810){logger[a101_0x62a946(0x2b8)](a101_0x62a946(0x23b));}const a101_0x139341={};a101_0x139341[a101_0x62a946(0x263)]=0x1,a101_0x139341[a101_0x62a946(0x29e)]=0x7530,a101_0x139341[a101_0x62a946(0x225)]=0x7530;const RETRY_CONFIG=a101_0x139341,setConfigTimeout=(_0x45f27f,_0x1f05b7=null)=>{const _0x46a1c6=a101_0x62a946,_0x9475fa={'PzpAu':function(_0xd26d8,_0x2d0a0a){return _0xd26d8===_0x2d0a0a;},'PedRI':_0x46a1c6(0x2bc),'Igyqm':function(_0x505d01,_0x88eda3){return _0x505d01===_0x88eda3;},'JXzrD':function(_0x514a74,_0x319553){return _0x514a74*_0x319553;},'yrUVm':function(_0x587668,_0x39a547){return _0x587668(_0x39a547);},'nXcvY':function(_0x45db7f,_0x270372){return _0x45db7f*_0x270372;},'KboJo':function(_0x15bde6,_0x4e4b5b){return _0x15bde6(_0x4e4b5b);}};if(BrowserstackCLI['getInstance']()[_0x46a1c6(0x223)]()&&BrowserstackCLI['getInstance']()[_0x46a1c6(0x268)]()){const _0x1d7db6=BrowserstackCLI[_0x46a1c6(0x2b5)]()[_0x46a1c6(0x268)]()['accessibilityConfig'],_0x477063=_0x1d7db6[_0x46a1c6(0x205)][_0x46a1c6(0x293)]||[];for(const _0x3e9ff7 of _0x477063){_0x9475fa['PzpAu'](_0x3e9ff7[_0x46a1c6(0x26f)],_0x9475fa[_0x46a1c6(0x2b7)])&&_0x9475fa[_0x46a1c6(0x214)](_0x1f05b7,null)&&(_0x45f27f[_0x46a1c6(0x29e)]=_0x9475fa[_0x46a1c6(0x264)](_0x9475fa['yrUVm'](parseInt,_0x3e9ff7[_0x46a1c6(0x26c)]),0x3e8));}}else process['env'][_0x46a1c6(0x1f6)]&&(_0x45f27f['timeoutMs']=_0x9475fa[_0x46a1c6(0x226)](_0x9475fa[_0x46a1c6(0x272)](parseInt,process['env'][_0x46a1c6(0x1f6)]),0x3e8));},detectDriverType=_0x1885e9=>{const _0x556c09=a101_0x62a946,_0x40ab80={};_0x40ab80[_0x556c09(0x240)]=_0x556c09(0x253),_0x40ab80['zOKhm']=function(_0xadec8a,_0x47c38a){return _0xadec8a===_0x47c38a;},_0x40ab80[_0x556c09(0x1ef)]=_0x556c09(0x2b0),_0x40ab80['ihmvD']=function(_0x803c67,_0x577680){return _0x803c67===_0x577680;},_0x40ab80[_0x556c09(0x21a)]=_0x556c09(0x2ae),_0x40ab80[_0x556c09(0x257)]='selenium-webdriver',_0x40ab80[_0x556c09(0x2ba)]=_0x556c09(0x210),_0x40ab80[_0x556c09(0x298)]='WebDriver',_0x40ab80[_0x556c09(0x275)]=function(_0x146910,_0x18c4ab){return _0x146910===_0x18c4ab;},_0x40ab80[_0x556c09(0x22d)]=_0x556c09(0x295),_0x40ab80[_0x556c09(0x1f7)]='playwright-codecept-driver',_0x40ab80[_0x556c09(0x20c)]=function(_0x507399,_0x2d9b89){return _0x507399||_0x2d9b89;},_0x40ab80[_0x556c09(0x2a0)]=_0x556c09(0x255);const _0x3618e2=_0x40ab80;if(!_0x1885e9){const _0x2e1bdd={};return _0x2e1bdd['isPlaywright']=![],_0x2e1bdd['type']=_0x3618e2[_0x556c09(0x240)],_0x2e1bdd;}if(_0x3618e2[_0x556c09(0x24c)](typeof _0x1885e9[_0x556c09(0x296)],_0x3618e2[_0x556c09(0x1ef)])&&_0x3618e2[_0x556c09(0x228)](typeof _0x1885e9['url'],_0x3618e2['DwrCS'])&&_0x3618e2[_0x556c09(0x228)](typeof _0x1885e9['goto'],_0x3618e2[_0x556c09(0x1ef)])){const _0x47d7cb={};return _0x47d7cb[_0x556c09(0x1f1)]=!![],_0x47d7cb[_0x556c09(0x208)]=_0x3618e2[_0x556c09(0x21a)],_0x47d7cb;}if(_0x3618e2[_0x556c09(0x228)](typeof _0x1885e9[_0x556c09(0x244)],_0x3618e2['DwrCS'])&&_0x3618e2[_0x556c09(0x24c)](typeof _0x1885e9[_0x556c09(0x222)],_0x3618e2[_0x556c09(0x1ef)])){const _0xaf93ae={};return _0xaf93ae['isPlaywright']=![],_0xaf93ae[_0x556c09(0x208)]=_0x3618e2[_0x556c09(0x257)],_0xaf93ae;}const _0x257391=_0x1885e9[_0x556c09(0x28c)]?.[_0x556c09(0x26f)];if(_0x3618e2['zOKhm'](_0x257391,_0x3618e2[_0x556c09(0x2ba)])){const _0x2df5ee={};return _0x2df5ee[_0x556c09(0x1f1)]=!![],_0x2df5ee['type']=_0x3618e2[_0x556c09(0x21a)],_0x2df5ee;}if(_0x3618e2['ihmvD'](_0x257391,_0x3618e2[_0x556c09(0x298)])){const _0x2231b9={};return _0x2231b9[_0x556c09(0x1f1)]=![],_0x2231b9['type']=_0x3618e2['NkKLU'],_0x2231b9;}if(_0x3618e2[_0x556c09(0x275)](_0x257391,_0x3618e2[_0x556c09(0x22d)])){const _0x3e7780={};return _0x3e7780[_0x556c09(0x1f1)]=!![],_0x3e7780[_0x556c09(0x208)]=_0x3618e2[_0x556c09(0x1f7)],_0x3e7780;}logger[_0x556c09(0x23e)](_0x556c09(0x297)+_0x3618e2[_0x556c09(0x20c)](_0x257391,_0x3618e2[_0x556c09(0x2a0)]));const _0x538656={};return _0x538656[_0x556c09(0x1f1)]=![],_0x538656['type']=_0x3618e2['EDTPd'],_0x538656;},withTimeout=(_0x597962,_0x38081f)=>{const _0x24e835=a101_0x62a946;return Promise[_0x24e835(0x218)]([_0x597962,new Promise((_0x3367b6,_0x513c5a)=>setTimeout(()=>_0x513c5a(new Error(_0x24e835(0x29c)+_0x38081f+'ms')),_0x38081f))]);};exports[a101_0x62a946(0x273)]=async(_0x3b423b,_0x2bf42b=null,_0x5a1df6=null,_0x545374=![],_0x25bb5f=null)=>{const _0xcfc328=a101_0x62a946,_0x262736={'FNkHT':function(_0x523d64,_0x227a1b){return _0x523d64&&_0x227a1b;},'zMoxj':function(_0x489128,_0xd75060,_0x30096e){return _0x489128(_0xd75060,_0x30096e);},'VIIRW':function(_0x17e023,_0x2bdf97){return _0x17e023===_0x2bdf97;},'gHSkN':_0xcfc328(0x2ab),'YlBkX':function(_0x1961e0,_0x881e73,_0x16a80b){return _0x1961e0(_0x881e73,_0x16a80b);},'KUYXK':function(_0x30d823,_0x3597ef){return _0x30d823(_0x3597ef);},'lcCGj':function(_0x2c2d99,_0x141cfe){return _0x2c2d99||_0x141cfe;},'SUOhS':function(_0x3565cf,_0x3f38b4){return _0x3565cf!==_0x3f38b4;},'ynlcQ':'isAccessibilityPlatform','ZNIIT':'bstackA11yShouldScan','XWfwW':function(_0x3d7d24,_0x53b89c){return _0x3d7d24===_0x53b89c;},'Vecfj':_0xcfc328(0x2a4),'QNUrc':_0xcfc328(0x2a9),'RvMbw':function(_0x56ee15,_0x31358b){return _0x56ee15===_0x31358b;},'ylOue':_0xcfc328(0x2b0),'xssPM':function(_0x4f3b7b,_0x3967f4){return _0x4f3b7b===_0x3967f4;},'WpqaH':function(_0x5530e7,_0x42b03b){return _0x5530e7<=_0x42b03b;},'EUvKj':function(_0x2f8696,_0x24d2e2){return _0x2f8696+_0x24d2e2;},'bjKqj':_0xcfc328(0x2a8)},{isPlaywright:_0x34ca25,type:_0x20cd3b}=_0x262736[_0xcfc328(0x233)](detectDriverType,_0x3b423b),_0x462c28=_0x545374?_0x262736['lcCGj'](_0x25bb5f,{}):global[_0xcfc328(0x291)]||{},_0x5f51b6=_0x34ca25?global['accessibilityPlatform']&&(_0x545374||_0x262736[_0xcfc328(0x1f8)](global[_0xcfc328(0x256)],![])):accessibilityHelper[_0xcfc328(0x23a)]()&&globals[_0xcfc328(0x27c)](_0x262736[_0xcfc328(0x229)])&&(_0x545374||_0x262736[_0xcfc328(0x1f8)](globals[_0xcfc328(0x27c)](_0x262736[_0xcfc328(0x289)]),![]));if(!_0x5f51b6)return _0x34ca25&&global[_0xcfc328(0x217)]&&_0x262736[_0xcfc328(0x27f)](global['bstackA11yShouldScan'],![])||!_0x34ca25&&globals['getGlobal'](_0x262736[_0xcfc328(0x229)])&&_0x262736[_0xcfc328(0x216)](globals[_0xcfc328(0x27c)](_0x262736[_0xcfc328(0x289)]),![])?logger[_0xcfc328(0x2b8)](_0x262736['Vecfj']):logger['warn'](_0xcfc328(0x274)+_0x20cd3b+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x10dc18=_0x2bf42b||global[_0xcfc328(0x21e)]||_0x262736[_0xcfc328(0x24e)];let _0x5e3fc7=null;const _0x3a49d4={'testhub_btcer_uuid':global[_0xcfc328(0x22a)]?.[_0xcfc328(0x236)]?.['id'],'url':_0x262736[_0xcfc328(0x270)](typeof _0x3b423b[_0xcfc328(0x245)],_0x262736[_0xcfc328(0x243)])?await _0x3b423b[_0xcfc328(0x245)]():_0x262736[_0xcfc328(0x292)](typeof _0x3b423b[_0xcfc328(0x2a1)],_0x262736[_0xcfc328(0x243)])?await _0x3b423b[_0xcfc328(0x2a1)]():'','automate_session_id':_0x262736['RvMbw'](typeof _0x3b423b[_0xcfc328(0x28e)],_0x262736[_0xcfc328(0x243)])?(await _0x3b423b[_0xcfc328(0x28e)]())['getId']():''};for(let _0x438556=0x1;_0x262736[_0xcfc328(0x2a6)](_0x438556,_0x262736[_0xcfc328(0x206)](RETRY_CONFIG[_0xcfc328(0x263)],0x1));_0x438556++){try{return logger[_0xcfc328(0x2b8)]('Accessibility\x20scan\x20attempt\x20'+_0x438556+'/'+_0x262736[_0xcfc328(0x206)](RETRY_CONFIG[_0xcfc328(0x263)],0x1)+_0xcfc328(0x22e)+_0x10dc18+'\x20('+_0x20cd3b+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x538c4c=_0xcfc328;let _0x18e700;if(_0x262736[_0x538c4c(0x24b)](_0x34ca25,playwrightA11yHelper)){_0x262736['zMoxj'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x3b423b,RETRY_CONFIG[_0x538c4c(0x29e)]);let _0xa37950=_0x3b423b;_0x262736[_0x538c4c(0x216)](_0x20cd3b,_0x262736[_0x538c4c(0x204)])&&(_0xa37950=_0x3b423b['page']);const _0x5d1691=global[_0x538c4c(0x213)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper['resolveMobileThTestRunUuid']()}:{};_0x18e700=await _0x262736[_0x538c4c(0x28d)](withTimeout,playwrightA11yHelper[_0x538c4c(0x290)](_0xa37950,_0x10dc18,_0x462c28,_0x5d1691),RETRY_CONFIG[_0x538c4c(0x29e)]),await exports[_0x538c4c(0x232)](_0x3b423b,RETRY_CONFIG['defaultTimeoutMs']);}else await exports[_0x538c4c(0x224)](_0x3b423b,RETRY_CONFIG['timeoutMs']),_0x18e700=await _0x262736[_0x538c4c(0x28d)](withTimeout,accessibilityHelper['performScan'](_0x3b423b,_0x10dc18,_0x545374,_0x462c28),RETRY_CONFIG[_0x538c4c(0x29e)]),await exports[_0x538c4c(0x224)](_0x3b423b,RETRY_CONFIG[_0x538c4c(0x225)]);logger[_0x538c4c(0x2b8)]('Scan\x20attempt\x20'+_0x438556+_0x538c4c(0x250));},{'command':_0x10dc18,..._0x3a49d4})(),logger[_0xcfc328(0x238)](_0xcfc328(0x23f)+_0x438556+'.'),!![];}catch(_0x4db1ef){_0x5e3fc7=_0x4db1ef,logger[_0xcfc328(0x2b8)](_0xcfc328(0x1f3)+_0x438556+_0xcfc328(0x28a)+_0x10dc18+'\x20('+_0x20cd3b+_0xcfc328(0x247)+_0x4db1ef[_0xcfc328(0x283)]);}}return logger[_0xcfc328(0x25a)](_0xcfc328(0x261)+_0x10dc18+'\x20('+_0x20cd3b+_0xcfc328(0x1f9)+(_0x5e3fc7?.['message']||_0x262736['bjKqj'])),![];},exports[a101_0x62a946(0x284)]=async(_0x409caf,_0x2164f6)=>{const _0x1470de=a101_0x62a946,_0x244107={'UrVDr':function(_0x8981f5,_0x18986c){return _0x8981f5(_0x18986c);},'bNfUP':'isAccessibilityPlatform','IrAKW':function(_0x3d4b96,_0x485866){return _0x3d4b96<=_0x485866;},'QaEZo':function(_0x55bfab,_0x53190b){return _0x55bfab+_0x53190b;},'tvyfY':function(_0x256af2,_0x26d978){return _0x256af2+_0x26d978;},'CChjW':function(_0x45afe6,_0x15400c){return _0x45afe6&&_0x15400c;},'GKmhf':function(_0x4e4888,_0x10335e,_0x5b2165){return _0x4e4888(_0x10335e,_0x5b2165);},'RHCUk':function(_0x2a66ab,_0x54b707,_0x307c3e){return _0x2a66ab(_0x54b707,_0x307c3e);},'MNATr':function(_0x27c802,_0x4f0ec1,_0x4c3c8f){return _0x27c802(_0x4f0ec1,_0x4c3c8f);},'jULCC':_0x1470de(0x2a8)},{isPlaywright:_0x4157e9,type:_0x26113e}=_0x244107[_0x1470de(0x25d)](detectDriverType,_0x409caf),_0xdc1163=_0x4157e9?_0x2164f6['accessibilityPlatform']:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x1470de(0x27c)](_0x244107[_0x1470de(0x25b)]);if(!_0xdc1163)return logger['warn'](_0x1470de(0x274)+_0x26113e+_0x1470de(0x258)),[];let _0x2ef606=null;for(let _0x29c5ec=0x1;_0x244107[_0x1470de(0x2a2)](_0x29c5ec,_0x244107[_0x1470de(0x286)](RETRY_CONFIG['maxRetries'],0x1));_0x29c5ec++){try{logger[_0x1470de(0x2b8)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x29c5ec+'/'+_0x244107['tvyfY'](RETRY_CONFIG[_0x1470de(0x263)],0x1)+'\x20('+_0x26113e+')');let _0xe7dc68;return _0x244107['CChjW'](_0x4157e9,playwrightA11yHelper)?(_0x244107['GKmhf'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x409caf,RETRY_CONFIG[_0x1470de(0x29e)]),_0xe7dc68=await _0x244107['RHCUk'](withTimeout,playwrightA11yHelper[_0x1470de(0x251)](_0x409caf),RETRY_CONFIG['timeoutMs']),await exports[_0x1470de(0x232)](_0x409caf,RETRY_CONFIG[_0x1470de(0x225)])):(await exports[_0x1470de(0x224)](_0x409caf,RETRY_CONFIG[_0x1470de(0x29e)]),_0xe7dc68=await _0x244107[_0x1470de(0x20d)](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x409caf,_0x2164f6),RETRY_CONFIG[_0x1470de(0x29e)]),await exports[_0x1470de(0x224)](_0x409caf,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x1470de(0x238)](_0x1470de(0x1f5)+_0x29c5ec+'\x20('+_0x26113e+')'),_0xe7dc68;}catch(_0x10e937){_0x2ef606=_0x10e937,logger[_0x1470de(0x23e)](_0x1470de(0x2b1)+_0x29c5ec+_0x1470de(0x285)+_0x26113e+_0x1470de(0x247)+_0x10e937[_0x1470de(0x283)]);}}return logger['error'](_0x1470de(0x252)+_0x26113e+_0x1470de(0x2be)+(_0x2ef606?.['message']||_0x244107['jULCC'])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x15991a,_0xe185c0)=>{const _0xdcd821=a101_0x62a946,_0x5b4b5c={'vQtDj':function(_0x4a9b7a,_0x3e1ff5){return _0x4a9b7a(_0x3e1ff5);},'wUzgN':_0xdcd821(0x202),'HIQUf':function(_0x2a111e,_0x3eafaf){return _0x2a111e<=_0x3eafaf;},'wNJJl':function(_0x2fa413,_0x1a2bdc){return _0x2fa413+_0x1a2bdc;},'LBWxW':function(_0x5ba3a9,_0x7b71cc){return _0x5ba3a9&&_0x7b71cc;},'fDwtm':function(_0x25134a,_0x48c53a,_0x13c890){return _0x25134a(_0x48c53a,_0x13c890);},'sffUB':function(_0x5c0a7f,_0x1111bf,_0x26ddc6){return _0x5c0a7f(_0x1111bf,_0x26ddc6);},'srPCY':function(_0x15c73a,_0x3a3910,_0x16991c){return _0x15c73a(_0x3a3910,_0x16991c);},'DbTcy':_0xdcd821(0x2a8)},{isPlaywright:_0x19def1,type:_0x21785e}=_0x5b4b5c[_0xdcd821(0x1fc)](detectDriverType,_0x15991a),_0x55d93f=_0x19def1?_0xe185c0['accessibilityPlatform']:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x5b4b5c[_0xdcd821(0x2bb)]);if(!_0x55d93f)return logger['warn'](_0xdcd821(0x274)+_0x21785e+_0xdcd821(0x246)),{};let _0x4efe59=null;for(let _0x593fda=0x1;_0x5b4b5c[_0xdcd821(0x22b)](_0x593fda,_0x5b4b5c[_0xdcd821(0x25c)](RETRY_CONFIG[_0xdcd821(0x263)],0x1));_0x593fda++){try{logger[_0xdcd821(0x2b8)](_0xdcd821(0x262)+_0x593fda+'/'+_0x5b4b5c[_0xdcd821(0x25c)](RETRY_CONFIG[_0xdcd821(0x263)],0x1)+'\x20('+_0x21785e+')');let _0x3929e7;return _0x5b4b5c[_0xdcd821(0x2b6)](_0x19def1,playwrightA11yHelper)?(_0x5b4b5c['fDwtm'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0xdcd821(0x232)](_0x15991a,RETRY_CONFIG['timeoutMs']),_0x3929e7=await _0x5b4b5c[_0xdcd821(0x203)](withTimeout,playwrightA11yHelper[_0xdcd821(0x2b4)](_0x15991a),RETRY_CONFIG[_0xdcd821(0x29e)]),await exports['setPlaywrightScriptTimeout'](_0x15991a,RETRY_CONFIG[_0xdcd821(0x225)])):(await exports[_0xdcd821(0x224)](_0x15991a,RETRY_CONFIG[_0xdcd821(0x29e)]),_0x3929e7=await _0x5b4b5c[_0xdcd821(0x266)](withTimeout,accessibilityHelper[_0xdcd821(0x2b4)](_0x15991a,_0xe185c0),RETRY_CONFIG[_0xdcd821(0x29e)]),await exports[_0xdcd821(0x224)](_0x15991a,RETRY_CONFIG[_0xdcd821(0x225)])),logger[_0xdcd821(0x238)](_0xdcd821(0x28b)+_0x593fda+'\x20('+_0x21785e+')'),_0x3929e7;}catch(_0x57c9ae){_0x4efe59=_0x57c9ae,logger[_0xdcd821(0x23e)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x593fda+_0xdcd821(0x285)+_0x21785e+_0xdcd821(0x247)+_0x57c9ae[_0xdcd821(0x283)]);}}return logger['error'](_0xdcd821(0x2ac)+_0x21785e+_0xdcd821(0x2be)+(_0x4efe59?.['message']||_0x5b4b5c[_0xdcd821(0x281)])),{};},exports[a101_0x62a946(0x267)]=async(_0xc79bd9,_0x332249,_0xa09c=null)=>{const _0x36d686=a101_0x62a946,_0x46c271={'IkBmm':function(_0x268b8b,_0x21fc6f){return _0x268b8b(_0x21fc6f);},'wnFjb':function(_0x2d8b9c,_0x5d271c){return _0x2d8b9c===_0x5d271c;},'BAWbF':_0x36d686(0x2ad),'xYsbE':function(_0x25dab1,_0x11ea2e){return _0x25dab1===_0x11ea2e;},'trcjB':'rejected','QWNtO':_0x36d686(0x234)},{isPlaywright:_0x4cf526,type:_0xa69a4}=_0x46c271[_0x36d686(0x26d)](detectDriverType,_0xc79bd9),_0x3eab4b={};_0x3eab4b[_0x36d686(0x25e)]=![],_0x3eab4b[_0x36d686(0x201)]=[],_0x3eab4b[_0x36d686(0x28f)]={},_0x3eab4b['error']=null,_0x3eab4b[_0x36d686(0x237)]=_0xa69a4;const _0x78ef69=_0x3eab4b;try{_0x78ef69[_0x36d686(0x25e)]=await exports[_0x36d686(0x273)](_0xc79bd9,_0xa09c);if(_0x78ef69['scanSucceeded']){const [_0x4c0fa1,_0x4b2e12]=await Promise[_0x36d686(0x2b3)]([exports[_0x36d686(0x284)](_0xc79bd9,_0x332249),exports[_0x36d686(0x24d)](_0xc79bd9,_0x332249)]);_0x78ef69['results']=_0x46c271[_0x36d686(0x260)](_0x4c0fa1[_0x36d686(0x1fa)],_0x46c271['BAWbF'])?_0x4c0fa1[_0x36d686(0x26c)]:[],_0x78ef69[_0x36d686(0x28f)]=_0x46c271[_0x36d686(0x260)](_0x4b2e12['status'],_0x46c271['BAWbF'])?_0x4b2e12[_0x36d686(0x26c)]:{},_0x46c271[_0x36d686(0x2c0)](_0x4c0fa1[_0x36d686(0x1fa)],_0x46c271['trcjB'])&&logger[_0x36d686(0x23e)](_0x36d686(0x24a)+_0xa69a4+_0x36d686(0x294)+_0x4c0fa1['reason']?.['message']),_0x46c271[_0x36d686(0x2c0)](_0x4b2e12[_0x36d686(0x1fa)],_0x46c271['trcjB'])&&logger[_0x36d686(0x23e)](_0x36d686(0x280)+_0xa69a4+_0x36d686(0x294)+_0x4b2e12[_0x36d686(0x1f4)]?.[_0x36d686(0x283)]);}}catch(_0x55f99a){_0x78ef69[_0x36d686(0x25a)]=_0x55f99a[_0x36d686(0x283)]||_0x46c271['QWNtO'],logger[_0x36d686(0x25a)](_0x36d686(0x1fd)+_0xa69a4+_0x36d686(0x294)+_0x78ef69[_0x36d686(0x25a)]);}return _0x78ef69;},exports[a101_0x62a946(0x254)]=_0x3f7797=>{const _0x544e3a=a101_0x62a946,_0x1655c5={};_0x1655c5[_0x544e3a(0x26a)]=function(_0x11e926,_0x337fc0){return _0x11e926!==_0x337fc0;},_0x1655c5[_0x544e3a(0x23c)]=function(_0x2b35a5,_0x5b5891){return _0x2b35a5!==_0x5b5891;};const _0x45cfc2=_0x1655c5;_0x45cfc2[_0x544e3a(0x26a)](_0x3f7797[_0x544e3a(0x263)],undefined)&&(RETRY_CONFIG[_0x544e3a(0x263)]=Math[_0x544e3a(0x288)](0x0,_0x3f7797[_0x544e3a(0x263)])),_0x45cfc2[_0x544e3a(0x23c)](_0x3f7797[_0x544e3a(0x29e)],undefined)&&(RETRY_CONFIG[_0x544e3a(0x29e)]=Math[_0x544e3a(0x288)](0x3e8,_0x3f7797[_0x544e3a(0x29e)])),logger[_0x544e3a(0x2b8)](_0x544e3a(0x24f)+JSON[_0x544e3a(0x212)](RETRY_CONFIG));},exports['getRetryConfig']=()=>{const _0x5e04f9={...RETRY_CONFIG};return _0x5e04f9;},exports[a101_0x62a946(0x1f0)]=_0x810dbd=>{const _0x3a7799=a101_0x62a946,_0x300272={'KcNgh':function(_0x1fc75b,_0x459ebc){return _0x1fc75b(_0x459ebc);}};return _0x300272[_0x3a7799(0x20f)](detectDriverType,_0x810dbd)[_0x3a7799(0x1f1)];},exports[a101_0x62a946(0x2a3)]=_0x1913c9=>{const _0x1fabec=a101_0x62a946,_0x168cda={'rZNzG':function(_0x44128a,_0x379629){return _0x44128a(_0x379629);},'PtVSe':function(_0x1d703c,_0xf389fa){return _0x1d703c===_0xf389fa;},'zylNM':_0x1fabec(0x23d)},{isPlaywright:_0x37cb99,type:_0x1a44af}=_0x168cda[_0x1fabec(0x231)](detectDriverType,_0x1913c9);return!_0x37cb99&&_0x168cda['PtVSe'](_0x1a44af,_0x168cda[_0x1fabec(0x235)]);},exports[a101_0x62a946(0x232)]=async(_0x5527ee,_0x24aa68=null)=>{const _0xf9366=a101_0x62a946,_0x28a889={'NHwjp':function(_0x30efef,_0x4d9f2e){return _0x30efef(_0x4d9f2e);},'kGLOs':function(_0x475a63,_0x15186c){return _0x475a63===_0x15186c;},'CsPBz':'function'},{isPlaywright:_0x411495,type:_0x19cbbd}=_0x28a889[_0xf9366(0x1fb)](detectDriverType,_0x5527ee);if(!_0x411495)return logger[_0xf9366(0x2b8)]('Skipping\x20timeout\x20setting\x20for\x20'+_0x19cbbd+'\x20-\x20not\x20applicable'),!![];const _0x58336a=_0x24aa68||RETRY_CONFIG[_0xf9366(0x225)];try{return _0x5527ee&&_0x28a889[_0xf9366(0x215)](typeof _0x5527ee[_0xf9366(0x220)],_0x28a889['CsPBz'])&&(await _0x5527ee['setDefaultTimeout'](_0x58336a),logger[_0xf9366(0x2b8)](_0xf9366(0x269)+_0x58336a+'ms')),!![];}catch(_0x8c5b3e){return logger['warn'](_0xf9366(0x279)+_0x8c5b3e['message']),![];}},exports['setSeleniumScriptTimeout']=async(_0x5d0cff,_0x502b55=null)=>{const _0x506917=a101_0x62a946,_0x46afd6={};_0x46afd6[_0x506917(0x200)]=_0x506917(0x221),_0x46afd6[_0x506917(0x282)]=function(_0x478d3b,_0x119045){return _0x478d3b===_0x119045;},_0x46afd6[_0x506917(0x277)]=_0x506917(0x2b0),_0x46afd6[_0x506917(0x239)]=function(_0x42a4e7,_0x5a2191){return _0x42a4e7===_0x5a2191;},_0x46afd6[_0x506917(0x25f)]=function(_0x1172d4,_0xf5b2db){return _0x1172d4===_0xf5b2db;},_0x46afd6['aSvkM']=function(_0x1ce7b7,_0x354118){return _0x1ce7b7===_0x354118;},_0x46afd6[_0x506917(0x26b)]=_0x506917(0x299),_0x46afd6[_0x506917(0x211)]=_0x506917(0x26e);const _0x190d77=_0x46afd6;if(!exports[_0x506917(0x2a3)](_0x5d0cff))return logger[_0x506917(0x23e)](_0x190d77[_0x506917(0x200)]),![];const _0x2f6fac=_0x502b55||RETRY_CONFIG[_0x506917(0x225)];try{if(_0x5d0cff&&_0x190d77[_0x506917(0x282)](typeof _0x5d0cff['manage'],_0x190d77[_0x506917(0x277)])){const _0x84b123=_0x5d0cff[_0x506917(0x287)]();if(_0x84b123&&_0x190d77['xcLer'](typeof _0x84b123['timeouts'],_0x190d77['wRSgG']))await _0x84b123['timeouts']()['setScriptTimeout'](_0x2f6fac),logger[_0x506917(0x2b8)](_0x506917(0x2bf)+_0x2f6fac+_0x506917(0x242));else{if(_0x84b123&&_0x190d77[_0x506917(0x25f)](typeof _0x84b123['setTimeouts'],_0x190d77[_0x506917(0x277)])){const _0x4d8535={};_0x4d8535['script']=_0x2f6fac,await _0x84b123[_0x506917(0x27e)](_0x4d8535),logger['debug'](_0x506917(0x2bf)+_0x2f6fac+_0x506917(0x29a));}else{if(_0x84b123&&_0x190d77[_0x506917(0x21c)](typeof _0x84b123[_0x506917(0x27a)],_0x190d77[_0x506917(0x277)]))await _0x84b123[_0x506917(0x27a)](_0x2f6fac),logger['debug'](_0x506917(0x2bf)+_0x2f6fac+_0x506917(0x276));else return logger[_0x506917(0x2b8)](_0x190d77['OYEFm']),!![];}}}else return logger[_0x506917(0x2b8)](_0x190d77[_0x506917(0x211)]),!![];return!![];}catch(_0xb9aa6d){return logger[_0x506917(0x23e)](_0x506917(0x2b2)+_0xb9aa6d[_0x506917(0x283)]),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x35b580,_0xe7f02c)=>{const _0x1a56ed=a101_0x62a946,_0x4269b1={'cyEsT':function(_0x548e3,_0x42b493){return _0x548e3(_0x42b493);},'GVYHZ':_0x1a56ed(0x202),'hKFlv':function(_0x11e15e,_0x2cae25){return _0x11e15e<=_0x2cae25;},'AVyVe':function(_0x40e27b,_0x36f959){return _0x40e27b+_0x36f959;},'GnpFY':function(_0x12ec34,_0x2e8ff2){return _0x12ec34+_0x2e8ff2;},'jNpPU':function(_0x234ce0,_0x46c060){return _0x234ce0&&_0x46c060;},'xEFyt':function(_0x33da24,_0x50f498,_0x13ee15){return _0x33da24(_0x50f498,_0x13ee15);},'gsope':_0x1a56ed(0x213),'PlFoa':function(_0x2a2912,_0x5e2b3d,_0x428570){return _0x2a2912(_0x5e2b3d,_0x428570);},'UkQQn':_0x1a56ed(0x2a8)},{isPlaywright:_0x405814,type:_0x33aea4}=_0x4269b1[_0x1a56ed(0x207)](detectDriverType,_0x35b580),_0x2d8c1c=_0x405814?global[_0x1a56ed(0x217)]:accessibilityHelper[_0x1a56ed(0x23a)]()&&globals[_0x1a56ed(0x27c)](_0x4269b1['GVYHZ']);if(!_0x2d8c1c)return logger[_0x1a56ed(0x23e)](_0x1a56ed(0x274)+_0x33aea4+_0x1a56ed(0x21f)),![];let _0x33b0a6=null;for(let _0xc835f6=0x1;_0x4269b1[_0x1a56ed(0x20b)](_0xc835f6,_0x4269b1[_0x1a56ed(0x2b9)](RETRY_CONFIG[_0x1a56ed(0x263)],0x1));_0xc835f6++){try{logger[_0x1a56ed(0x2b8)](_0x1a56ed(0x2bd)+_0xc835f6+'/'+_0x4269b1[_0x1a56ed(0x20a)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x33aea4+')');if(_0x4269b1[_0x1a56ed(0x209)](_0x405814,playwrightA11yHelper)){_0x4269b1['xEFyt'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1a56ed(0x232)](_0x35b580,RETRY_CONFIG[_0x1a56ed(0x29e)]);const _0x197c86={};_0x197c86[_0x1a56ed(0x29b)]=!![];const _0x4d1cee=global['isMobilePlatform']?Object[_0x1a56ed(0x21b)]({},_0xe7f02c,_0x197c86):_0xe7f02c;await _0x4269b1['xEFyt'](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x35b580,scripts[_0x1a56ed(0x29f)],_0x4d1cee),RETRY_CONFIG['timeoutMs']),await exports[_0x1a56ed(0x232)](_0x35b580,RETRY_CONFIG[_0x1a56ed(0x225)]);}else{await exports[_0x1a56ed(0x224)](_0x35b580,RETRY_CONFIG['timeoutMs']);const _0x3c619e={};_0x3c619e[_0x1a56ed(0x29b)]=!![];const _0x34a041=globals[_0x1a56ed(0x27c)](_0x4269b1[_0x1a56ed(0x1f2)])?Object['assign']({},_0xe7f02c,_0x3c619e):_0xe7f02c;await _0x4269b1[_0x1a56ed(0x22f)](withTimeout,_0x35b580[_0x1a56ed(0x244)](scripts[_0x1a56ed(0x29f)],_0x34a041),RETRY_CONFIG[_0x1a56ed(0x29e)]),await exports[_0x1a56ed(0x224)](_0x35b580,RETRY_CONFIG['defaultTimeoutMs']);}return logger[_0x1a56ed(0x238)](_0x1a56ed(0x249)+_0xc835f6+'\x20('+_0x33aea4+')'),!![];}catch(_0x3e1c75){_0x33b0a6=_0x3e1c75,logger[_0x1a56ed(0x23e)](_0x1a56ed(0x2bd)+_0xc835f6+_0x1a56ed(0x285)+_0x33aea4+').\x20Error:\x20'+_0x3e1c75['message']);}}return logger[_0x1a56ed(0x25a)](_0x1a56ed(0x2af)+_0x33aea4+_0x1a56ed(0x2be)+(_0x33b0a6?.[_0x1a56ed(0x283)]||_0x4269b1[_0x1a56ed(0x271)])),![];};
|
|
1
|
+
const a101_0x355d9e=a101_0x57d4;(function(_0x14fb03,_0x24bc46){const _0x5be0d6=a101_0x57d4,_0x173d54=_0x14fb03();while(!![]){try{const _0x1601c8=-parseInt(_0x5be0d6(0x1d4))/0x1*(parseInt(_0x5be0d6(0x198))/0x2)+parseInt(_0x5be0d6(0x180))/0x3*(parseInt(_0x5be0d6(0x183))/0x4)+parseInt(_0x5be0d6(0x193))/0x5*(-parseInt(_0x5be0d6(0x1b7))/0x6)+parseInt(_0x5be0d6(0x1b1))/0x7*(-parseInt(_0x5be0d6(0x12c))/0x8)+-parseInt(_0x5be0d6(0x146))/0x9*(-parseInt(_0x5be0d6(0x15e))/0xa)+-parseInt(_0x5be0d6(0x1ab))/0xb*(-parseInt(_0x5be0d6(0x1b6))/0xc)+-parseInt(_0x5be0d6(0x1af))/0xd*(parseInt(_0x5be0d6(0x1b0))/0xe);if(_0x1601c8===_0x24bc46)break;else _0x173d54['push'](_0x173d54['shift']());}catch(_0x11a87e){_0x173d54['push'](_0x173d54['shift']());}}}(a101_0x39e7,0x5f363));const util=require('util'),logger=require(a101_0x355d9e(0x1db))[a101_0x355d9e(0x13d)],accessibilityHelper=require(a101_0x355d9e(0x136)),globals=require(a101_0x355d9e(0x1b5)),scripts=require(a101_0x355d9e(0x169)),PerformanceTester=require(a101_0x355d9e(0x1c0)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a101_0x355d9e(0x1d6));}catch(a101_0x1e488a){logger['debug']('Playwright\x20accessibility\x20helper\x20not\x20available');}function a101_0x57d4(_0x49136b,_0x5c83e9){const _0x39e7b9=a101_0x39e7();return a101_0x57d4=function(_0x57d4e3,_0x491d68){_0x57d4e3=_0x57d4e3-0x118;let _0x413ccc=_0x39e7b9[_0x57d4e3];return _0x413ccc;},a101_0x57d4(_0x49136b,_0x5c83e9);}const a101_0x336c67={};a101_0x336c67[a101_0x355d9e(0x1a4)]=0x1,a101_0x336c67['timeoutMs']=0x7530,a101_0x336c67['defaultTimeoutMs']=0x7530;function a101_0x39e7(){const _0x53c6aa=[',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','rejected','browserstackSessionName','40KfTnkZ','HYgEU','reason','hivUR','goto','4048CKGOQw','kOFPO','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','zXVWY','KBtjw','SGlme','isAccessibilityPlatform','driverType','browserStackEvaluate','message','wjvBw','maxRetries','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','TFKIS','LmqtD','performScan','isRunning','error','11TfsGLZ','allSettled','):\x20','setSeleniumScriptTimeout','35568CUHleL','266dClZQd','697795FEsksK','SLQkz','ms\x20using\x20timeouts()\x20API','\x20failed\x20(','../globals','6541908FLFxYA','516738NyDqNd','\x20failed\x20for\x20method:\x20','aQles','bfHoS','getRetryConfig','isMobilePlatform','Skipping\x20timeout\x20setting\x20for\x20','krHlo','rGEqw','../performance/performance-tester','zbKmh','wsTuD','Unknown\x20driver/page\x20type:\x20','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','guykD','timeoutMs','UubkN','YFLSp','wXHrL','zJAlW','getAccessibilityModule','Page','undefined','measureWrapper','KyeOY','type','selenium-webdriver','MLYzC','102uCucEo','soZWO','../../bin/playwright/accessibility-helper','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','executeAsyncScript','diksM','options','../logger','getGlobal','XAjZD','getSession','vRbSj','EJDjs','sOosO','PERFORM_SCAN','UakSm','RVwxW','zLFef','hTUIc','Accessibility\x20retry\x20configuration\x20updated:\x20','ms\x20using\x20setTimeouts\x20API','lCtcw','performScanWithRetry','pWDjv','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','getAccessibilityResultsSummaryWithRetry','saveTestResults','assign','unknown','LtUpJ','stringify',')\x20with\x20error:\x20','KTRGD','8egzZgx','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','scanSucceeded','QdOTn','tSTkY','isPlaywrightPage','Playwright','accessibilityPlatform','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','\x20-\x20not\x20applicable','./helper','playwright-page','Accessibility\x20scan\x20attempt\x20','ms\x20using\x20setScriptTimeout\x20API','page','LzxAm','OcrkK','winstonLogger','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','getAccessibilityResultsSummary','mawUn','gmsJW','setDefaultTimeout','oyjTV','url','getAccessibilityResults','5617908FzLHak',',\x20cannot\x20perform\x20scan\x20with\x20retry.','function','TSqei',').\x20Error:\x20','Accessibility\x20results\x20save\x20attempt\x20','WlaPT','capabilitiesList','eHsYa','debug','currentTest','AgNCj','unknown_method','uBsDP','timeouts','performComprehensiveAccessibilityScanWithRetry','Scan\x20attempt\x20','constructor','eCGzk','setPlaywrightScriptTimeout','PMwMU','name','manage','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','10GTDqep','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','wZeqp','value','getCurrentUrl','KBoOm',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','isPlaywright',').\x20Last\x20error:\x20','qxvQx','./scripts','WiXDB','hgbaO','getCapabilities','status','DMwSC','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','vFxJF','pQQKy','rTCfp','setTimeouts','aHWlS','setScriptTimeout','getInstance','race','isAccessibilityAutomationSession','\x20completed\x20successfully.','info','getAccessibilityResultsWithRetry','warn','neGaS','ezKkM','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','3PoqGbR','TXJZY','isSeleniumDriver','1070868khiHDY','UZyIj','results','Unknown\x20error','defaultTimeoutMs','GkhCH','env','Dgtyz','max','JgdVd','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','fulfilled','is_mobile_session'];a101_0x39e7=function(){return _0x53c6aa;};return a101_0x39e7();}const RETRY_CONFIG=a101_0x336c67,setConfigTimeout=(_0x1f5f3b,_0x10ebe5=null)=>{const _0x22118b=a101_0x355d9e,_0x4f1a56={'YFLSp':function(_0x533513,_0x5d053f){return _0x533513===_0x5d053f;},'rurNb':'scannerProcessingTimeout','vmDOQ':function(_0x16207c,_0x34728a){return _0x16207c===_0x34728a;},'TSqei':function(_0x18950a,_0x2d9028){return _0x18950a*_0x2d9028;},'UakSm':function(_0xe57cc4,_0x5163ab){return _0xe57cc4(_0x5163ab);}};if(BrowserstackCLI[_0x22118b(0x176)]()[_0x22118b(0x1a9)]()&&BrowserstackCLI[_0x22118b(0x176)]()[_0x22118b(0x1cc)]()){const _0x109ab8=BrowserstackCLI[_0x22118b(0x176)]()[_0x22118b(0x1cc)]()['accessibilityConfig'],_0x5ec923=_0x109ab8[_0x22118b(0x1da)][_0x22118b(0x14d)]||[];for(const _0x4c5e90 of _0x5ec923){_0x4f1a56[_0x22118b(0x1c9)](_0x4c5e90[_0x22118b(0x15b)],_0x4f1a56['rurNb'])&&_0x4f1a56['vmDOQ'](_0x10ebe5,null)&&(_0x1f5f3b[_0x22118b(0x1c7)]=_0x4f1a56[_0x22118b(0x149)](_0x4f1a56[_0x22118b(0x119)](parseInt,_0x4c5e90[_0x22118b(0x162)]),0x3e8));}}else process[_0x22118b(0x189)][_0x22118b(0x122)]&&(_0x1f5f3b[_0x22118b(0x1c7)]=_0x4f1a56[_0x22118b(0x149)](_0x4f1a56[_0x22118b(0x119)](parseInt,process['env'][_0x22118b(0x122)]),0x3e8));},detectDriverType=_0xa1c123=>{const _0x21b958=a101_0x355d9e,_0x16fcf8={};_0x16fcf8[_0x21b958(0x174)]=_0x21b958(0x127),_0x16fcf8[_0x21b958(0x13b)]=function(_0xd84ab9,_0x1a2c86){return _0xd84ab9===_0x1a2c86;},_0x16fcf8[_0x21b958(0x1bf)]=_0x21b958(0x148),_0x16fcf8['DMwSC']=function(_0x174383,_0x4c814f){return _0x174383===_0x4c814f;},_0x16fcf8[_0x21b958(0x171)]=_0x21b958(0x137),_0x16fcf8[_0x21b958(0x1a3)]=function(_0x58fb03,_0x23e5e1){return _0x58fb03===_0x23e5e1;},_0x16fcf8['bfHoS']=_0x21b958(0x1d2),_0x16fcf8[_0x21b958(0x164)]=_0x21b958(0x1cd),_0x16fcf8[_0x21b958(0x141)]='WebDriver',_0x16fcf8[_0x21b958(0x1df)]=_0x21b958(0x132),_0x16fcf8[_0x21b958(0x16a)]='playwright-codecept-driver',_0x16fcf8['krHlo']=function(_0x57ccf7,_0x1c214a){return _0x57ccf7||_0x1c214a;},_0x16fcf8[_0x21b958(0x16b)]=_0x21b958(0x1ce);const _0x2ce4c3=_0x16fcf8;if(!_0xa1c123){const _0x1f64b6={};return _0x1f64b6[_0x21b958(0x166)]=![],_0x1f64b6[_0x21b958(0x1d1)]=_0x2ce4c3[_0x21b958(0x174)],_0x1f64b6;}if(_0x2ce4c3[_0x21b958(0x13b)](typeof _0xa1c123['evaluate'],_0x2ce4c3[_0x21b958(0x1bf)])&&_0x2ce4c3[_0x21b958(0x16e)](typeof _0xa1c123['url'],_0x2ce4c3[_0x21b958(0x1bf)])&&_0x2ce4c3['DMwSC'](typeof _0xa1c123[_0x21b958(0x197)],_0x2ce4c3[_0x21b958(0x1bf)])){const _0x33c6e6={};return _0x33c6e6[_0x21b958(0x166)]=!![],_0x33c6e6[_0x21b958(0x1d1)]=_0x2ce4c3[_0x21b958(0x171)],_0x33c6e6;}if(_0x2ce4c3['wjvBw'](typeof _0xa1c123[_0x21b958(0x1d8)],_0x2ce4c3[_0x21b958(0x1bf)])&&_0x2ce4c3[_0x21b958(0x1a3)](typeof _0xa1c123[_0x21b958(0x16c)],_0x2ce4c3['rGEqw'])){const _0x15b9a4={};return _0x15b9a4[_0x21b958(0x166)]=![],_0x15b9a4[_0x21b958(0x1d1)]=_0x2ce4c3['bfHoS'],_0x15b9a4;}const _0x4cf0f3=_0xa1c123[_0x21b958(0x157)]?.[_0x21b958(0x15b)];if(_0x2ce4c3[_0x21b958(0x1a3)](_0x4cf0f3,_0x2ce4c3[_0x21b958(0x164)])){const _0x5b1e70={};return _0x5b1e70[_0x21b958(0x166)]=!![],_0x5b1e70['type']=_0x2ce4c3[_0x21b958(0x171)],_0x5b1e70;}if(_0x2ce4c3[_0x21b958(0x16e)](_0x4cf0f3,_0x2ce4c3[_0x21b958(0x141)])){const _0x5e716f={};return _0x5e716f[_0x21b958(0x166)]=![],_0x5e716f['type']=_0x2ce4c3[_0x21b958(0x1ba)],_0x5e716f;}if(_0x2ce4c3[_0x21b958(0x1a3)](_0x4cf0f3,_0x2ce4c3[_0x21b958(0x1df)])){const _0x546b5a={};return _0x546b5a['isPlaywright']=!![],_0x546b5a[_0x21b958(0x1d1)]=_0x2ce4c3[_0x21b958(0x16a)],_0x546b5a;}logger[_0x21b958(0x17c)](_0x21b958(0x1c3)+_0x2ce4c3[_0x21b958(0x1be)](_0x4cf0f3,_0x2ce4c3[_0x21b958(0x16b)]));const _0x5f12ab={};return _0x5f12ab['isPlaywright']=![],_0x5f12ab[_0x21b958(0x1d1)]=_0x2ce4c3[_0x21b958(0x174)],_0x5f12ab;},withTimeout=(_0x318f4d,_0x2ea1da)=>{const _0xe43fe1=a101_0x355d9e;return Promise[_0xe43fe1(0x177)]([_0x318f4d,new Promise((_0x893cd,_0x5ccb11)=>setTimeout(()=>_0x5ccb11(new Error('Operation\x20timed\x20out\x20after\x20'+_0x2ea1da+'ms')),_0x2ea1da))]);};exports[a101_0x355d9e(0x120)]=async(_0x17c78a,_0x421f3a=null,_0x34143f=null,_0x501f3d=![],_0x41b503=null)=>{const _0x5b6cd1=a101_0x355d9e,_0x3948b8={'aIjyI':function(_0xe97bfe,_0x1e3485){return _0xe97bfe&&_0x1e3485;},'soZWO':function(_0x1e18a3,_0x31a0f8,_0x352726){return _0x1e18a3(_0x31a0f8,_0x352726);},'TFKIS':function(_0x3794da,_0xc3526e){return _0x3794da===_0xc3526e;},'qEtBN':'playwright-codecept-driver','tSTkY':function(_0x15fc4c,_0x2906d8,_0x3043c8){return _0x15fc4c(_0x2906d8,_0x3043c8);},'Dgtyz':function(_0x56c53b,_0x3de1b5){return _0x56c53b(_0x3de1b5);},'zbKmh':function(_0x2f6aa7,_0x2dcb4e){return _0x2f6aa7||_0x2dcb4e;},'RVwxW':function(_0x34b850,_0x55aca6){return _0x34b850!==_0x55aca6;},'UZyIj':_0x5b6cd1(0x19f),'wZeqp':function(_0x2ecd77,_0x4d7bf4){return _0x2ecd77!==_0x4d7bf4;},'WlaPT':'bstackA11yShouldScan','neGaS':function(_0x4e240a,_0x458a3f){return _0x4e240a===_0x458a3f;},'KyeOY':'[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','QdOTn':_0x5b6cd1(0x152),'SLQkz':_0x5b6cd1(0x148),'AgNCj':function(_0x2e85b1,_0x1aa70d){return _0x2e85b1===_0x1aa70d;},'rTCfp':function(_0x176074,_0x4a1614){return _0x176074===_0x4a1614;},'OcrkK':function(_0x321bb6,_0x53de34){return _0x321bb6<=_0x53de34;},'sOosO':function(_0x5c7b37,_0x1ff1e8){return _0x5c7b37+_0x1ff1e8;},'fqHoI':_0x5b6cd1(0x186)},{isPlaywright:_0x368d0a,type:_0x28197e}=_0x3948b8[_0x5b6cd1(0x18a)](detectDriverType,_0x17c78a),_0x43cc44=_0x501f3d?_0x3948b8[_0x5b6cd1(0x1c1)](_0x41b503,{}):global['bstackA11yScanOptions']||{},_0x3a0493=_0x368d0a?global[_0x5b6cd1(0x133)]&&(_0x501f3d||_0x3948b8[_0x5b6cd1(0x11a)](global['bstackA11yShouldScan'],![])):accessibilityHelper[_0x5b6cd1(0x178)]()&&globals[_0x5b6cd1(0x1dc)](_0x3948b8[_0x5b6cd1(0x184)])&&(_0x501f3d||_0x3948b8[_0x5b6cd1(0x161)](globals[_0x5b6cd1(0x1dc)](_0x3948b8[_0x5b6cd1(0x14c)]),![]));if(!_0x3a0493)return _0x368d0a&&global[_0x5b6cd1(0x133)]&&_0x3948b8[_0x5b6cd1(0x1a6)](global['bstackA11yShouldScan'],![])||!_0x368d0a&&globals[_0x5b6cd1(0x1dc)](_0x3948b8[_0x5b6cd1(0x184)])&&_0x3948b8[_0x5b6cd1(0x17d)](globals[_0x5b6cd1(0x1dc)](_0x3948b8[_0x5b6cd1(0x14c)]),![])?logger[_0x5b6cd1(0x14f)](_0x3948b8[_0x5b6cd1(0x1d0)]):logger[_0x5b6cd1(0x17c)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x28197e+_0x5b6cd1(0x147)),![];const _0x4984bf=_0x421f3a||global[_0x5b6cd1(0x192)]||_0x3948b8[_0x5b6cd1(0x12f)];let _0x3dd412=null;const _0x25b93f={'testhub_btcer_uuid':global['__workerDetails']?.[_0x5b6cd1(0x150)]?.['id'],'url':_0x3948b8[_0x5b6cd1(0x17d)](typeof _0x17c78a[_0x5b6cd1(0x144)],_0x3948b8[_0x5b6cd1(0x1b2)])?await _0x17c78a[_0x5b6cd1(0x144)]():_0x3948b8[_0x5b6cd1(0x151)](typeof _0x17c78a[_0x5b6cd1(0x163)],_0x3948b8[_0x5b6cd1(0x1b2)])?await _0x17c78a[_0x5b6cd1(0x163)]():'','automate_session_id':_0x3948b8[_0x5b6cd1(0x172)](typeof _0x17c78a[_0x5b6cd1(0x1de)],_0x3948b8['SLQkz'])?(await _0x17c78a[_0x5b6cd1(0x1de)]())['getId']():''};for(let _0x2b7507=0x1;_0x3948b8[_0x5b6cd1(0x13c)](_0x2b7507,_0x3948b8[_0x5b6cd1(0x1e1)](RETRY_CONFIG[_0x5b6cd1(0x1a4)],0x1));_0x2b7507++){try{return logger[_0x5b6cd1(0x14f)](_0x5b6cd1(0x138)+_0x2b7507+'/'+_0x3948b8[_0x5b6cd1(0x1e1)](RETRY_CONFIG['maxRetries'],0x1)+'\x20for\x20method:\x20'+_0x4984bf+'\x20('+_0x28197e+')'),await PerformanceTester[_0x5b6cd1(0x1cf)](PerformanceA11yEvents[_0x5b6cd1(0x118)],async()=>{const _0xf0fc5a=_0x5b6cd1;let _0x12c6e9;if(_0x3948b8['aIjyI'](_0x368d0a,playwrightA11yHelper)){_0x3948b8[_0xf0fc5a(0x1d5)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0xf0fc5a(0x159)](_0x17c78a,RETRY_CONFIG[_0xf0fc5a(0x1c7)]);let _0x1fd850=_0x17c78a;_0x3948b8[_0xf0fc5a(0x1a6)](_0x28197e,_0x3948b8['qEtBN'])&&(_0x1fd850=_0x17c78a[_0xf0fc5a(0x13a)]);const _0x9d5754=global[_0xf0fc5a(0x1bc)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper['resolveMobileThTestRunUuid']()}:{};_0x12c6e9=await _0x3948b8[_0xf0fc5a(0x1d5)](withTimeout,playwrightA11yHelper[_0xf0fc5a(0x1a8)](_0x1fd850,_0x4984bf,_0x43cc44,_0x9d5754),RETRY_CONFIG[_0xf0fc5a(0x1c7)]),await exports['setPlaywrightScriptTimeout'](_0x17c78a,RETRY_CONFIG[_0xf0fc5a(0x187)]);}else await exports[_0xf0fc5a(0x1ae)](_0x17c78a,RETRY_CONFIG[_0xf0fc5a(0x1c7)]),_0x12c6e9=await _0x3948b8[_0xf0fc5a(0x130)](withTimeout,accessibilityHelper[_0xf0fc5a(0x1a8)](_0x17c78a,_0x4984bf,_0x501f3d,_0x43cc44),RETRY_CONFIG['timeoutMs']),await exports[_0xf0fc5a(0x1ae)](_0x17c78a,RETRY_CONFIG['defaultTimeoutMs']);logger['debug'](_0xf0fc5a(0x156)+_0x2b7507+_0xf0fc5a(0x179));},{'command':_0x4984bf,..._0x25b93f})(),logger[_0x5b6cd1(0x17a)](_0x5b6cd1(0x13e)+_0x2b7507+'.'),!![];}catch(_0xa78413){_0x3dd412=_0xa78413,logger['debug']('Accessibility\x20scan\x20attempt\x20'+_0x2b7507+_0x5b6cd1(0x1b8)+_0x4984bf+'\x20('+_0x28197e+_0x5b6cd1(0x14a)+_0xa78413['message']);}}return logger[_0x5b6cd1(0x1aa)](_0x5b6cd1(0x12d)+_0x4984bf+'\x20('+_0x28197e+_0x5b6cd1(0x12a)+(_0x3dd412?.['message']||_0x3948b8['fqHoI'])),![];},exports[a101_0x355d9e(0x17b)]=async(_0x54bba0,_0x254a21)=>{const _0x217e7e=a101_0x355d9e,_0xf4d1e5={'kOFPO':function(_0x3c5b24,_0x4ccec4){return _0x3c5b24(_0x4ccec4);},'guykD':'isAccessibilityPlatform','vFxJF':function(_0x10eebf,_0x3740ad){return _0x10eebf<=_0x3740ad;},'KTRGD':function(_0xef45f8,_0x18c32d){return _0xef45f8+_0x18c32d;},'MunHb':function(_0x476c2f,_0x2c2824){return _0x476c2f&&_0x2c2824;},'LmqtD':function(_0x3cacd6,_0x6eecf7,_0x738a56){return _0x3cacd6(_0x6eecf7,_0x738a56);},'qxvQx':function(_0x4a1456,_0x278a7c,_0x3bf89e){return _0x4a1456(_0x278a7c,_0x3bf89e);},'zLFef':function(_0x5aed4b,_0x540652,_0x21954a){return _0x5aed4b(_0x540652,_0x21954a);},'qqutB':_0x217e7e(0x186)},{isPlaywright:_0x45d1d4,type:_0x45efd7}=_0xf4d1e5[_0x217e7e(0x199)](detectDriverType,_0x54bba0),_0x4f2e29=_0x45d1d4?_0x254a21['accessibilityPlatform']:accessibilityHelper[_0x217e7e(0x178)]()&&globals[_0x217e7e(0x1dc)](_0xf4d1e5[_0x217e7e(0x1c6)]);if(!_0x4f2e29)return logger[_0x217e7e(0x17c)](_0x217e7e(0x15d)+_0x45efd7+_0x217e7e(0x165)),[];let _0x51365f=null;for(let _0x3b698a=0x1;_0xf4d1e5[_0x217e7e(0x170)](_0x3b698a,_0xf4d1e5[_0x217e7e(0x12b)](RETRY_CONFIG['maxRetries'],0x1));_0x3b698a++){try{logger[_0x217e7e(0x14f)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x3b698a+'/'+_0xf4d1e5['KTRGD'](RETRY_CONFIG[_0x217e7e(0x1a4)],0x1)+'\x20('+_0x45efd7+')');let _0x2afaca;return _0xf4d1e5['MunHb'](_0x45d1d4,playwrightA11yHelper)?(_0xf4d1e5[_0x217e7e(0x1a7)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x217e7e(0x159)](_0x54bba0,RETRY_CONFIG[_0x217e7e(0x1c7)]),_0x2afaca=await _0xf4d1e5[_0x217e7e(0x168)](withTimeout,playwrightA11yHelper['getAccessibilityResults'](_0x54bba0),RETRY_CONFIG[_0x217e7e(0x1c7)]),await exports[_0x217e7e(0x159)](_0x54bba0,RETRY_CONFIG[_0x217e7e(0x187)])):(await exports[_0x217e7e(0x1ae)](_0x54bba0,RETRY_CONFIG[_0x217e7e(0x1c7)]),_0x2afaca=await _0xf4d1e5[_0x217e7e(0x11b)](withTimeout,accessibilityHelper[_0x217e7e(0x145)](_0x54bba0,_0x254a21),RETRY_CONFIG[_0x217e7e(0x1c7)]),await exports['setSeleniumScriptTimeout'](_0x54bba0,RETRY_CONFIG['defaultTimeoutMs'])),logger['info'](_0x217e7e(0x1a5)+_0x3b698a+'\x20('+_0x45efd7+')'),_0x2afaca;}catch(_0x3d3c6e){_0x51365f=_0x3d3c6e,logger[_0x217e7e(0x17c)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x3b698a+_0x217e7e(0x1b4)+_0x45efd7+').\x20Error:\x20'+_0x3d3c6e[_0x217e7e(0x1a2)]);}}return logger['error'](_0x217e7e(0x17f)+_0x45efd7+_0x217e7e(0x167)+(_0x51365f?.[_0x217e7e(0x1a2)]||_0xf4d1e5['qqutB'])),[];},exports[a101_0x355d9e(0x124)]=async(_0x419e5f,_0x31a0fa)=>{const _0xc866fc=a101_0x355d9e,_0x58ef1c={'uBsDP':function(_0x1b6692,_0x2ac8bd){return _0x1b6692(_0x2ac8bd);},'XBfIp':_0xc866fc(0x19f),'LnIUY':function(_0x5957a0,_0x6d85d3){return _0x5957a0<=_0x6d85d3;},'hTUIc':function(_0x2e1f7a,_0x2e0259){return _0x2e1f7a+_0x2e0259;},'zXVWY':function(_0x410e17,_0x149855){return _0x410e17+_0x149855;},'lWXDe':function(_0x132275,_0x28241e){return _0x132275&&_0x28241e;},'wXHrL':function(_0x19b7da,_0x14f902,_0x501779){return _0x19b7da(_0x14f902,_0x501779);},'pWDjv':function(_0x2892bf,_0x3d4f54,_0x757c7b){return _0x2892bf(_0x3d4f54,_0x757c7b);},'SOiMc':function(_0x19a30b,_0x541e9b,_0x32b082){return _0x19a30b(_0x541e9b,_0x32b082);},'sftwM':_0xc866fc(0x186)},{isPlaywright:_0x53ba70,type:_0x211eca}=_0x58ef1c[_0xc866fc(0x153)](detectDriverType,_0x419e5f),_0x56395c=_0x53ba70?_0x31a0fa[_0xc866fc(0x133)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x58ef1c['XBfIp']);if(!_0x56395c)return logger['warn'](_0xc866fc(0x15d)+_0x211eca+_0xc866fc(0x190)),{};let _0x1e2fd1=null;for(let _0x1d5697=0x1;_0x58ef1c['LnIUY'](_0x1d5697,_0x58ef1c[_0xc866fc(0x11c)](RETRY_CONFIG[_0xc866fc(0x1a4)],0x1));_0x1d5697++){try{logger['debug'](_0xc866fc(0x134)+_0x1d5697+'/'+_0x58ef1c[_0xc866fc(0x19c)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x211eca+')');let _0xa3ed26;return _0x58ef1c['lWXDe'](_0x53ba70,playwrightA11yHelper)?(_0x58ef1c[_0xc866fc(0x1ca)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0xc866fc(0x159)](_0x419e5f,RETRY_CONFIG[_0xc866fc(0x1c7)]),_0xa3ed26=await _0x58ef1c[_0xc866fc(0x121)](withTimeout,playwrightA11yHelper[_0xc866fc(0x13f)](_0x419e5f),RETRY_CONFIG[_0xc866fc(0x1c7)]),await exports[_0xc866fc(0x159)](_0x419e5f,RETRY_CONFIG[_0xc866fc(0x187)])):(await exports['setSeleniumScriptTimeout'](_0x419e5f,RETRY_CONFIG[_0xc866fc(0x1c7)]),_0xa3ed26=await _0x58ef1c['SOiMc'](withTimeout,accessibilityHelper[_0xc866fc(0x13f)](_0x419e5f,_0x31a0fa),RETRY_CONFIG[_0xc866fc(0x1c7)]),await exports[_0xc866fc(0x1ae)](_0x419e5f,RETRY_CONFIG[_0xc866fc(0x187)])),logger[_0xc866fc(0x17a)](_0xc866fc(0x19b)+_0x1d5697+'\x20('+_0x211eca+')'),_0xa3ed26;}catch(_0x3e189a){_0x1e2fd1=_0x3e189a,logger['warn'](_0xc866fc(0x134)+_0x1d5697+_0xc866fc(0x1b4)+_0x211eca+_0xc866fc(0x14a)+_0x3e189a[_0xc866fc(0x1a2)]);}}return logger[_0xc866fc(0x1aa)]('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x211eca+_0xc866fc(0x167)+(_0x1e2fd1?.[_0xc866fc(0x1a2)]||_0x58ef1c['sftwM'])),{};},exports[a101_0x355d9e(0x155)]=async(_0x4f3b48,_0x55c72f,_0xcd09d0=null)=>{const _0x4cf599=a101_0x355d9e,_0x45ceb1={'HYgEU':function(_0x1e85dc,_0x14abe1){return _0x1e85dc(_0x14abe1);},'ezKkM':function(_0x5ab84a,_0x19e216){return _0x5ab84a===_0x19e216;},'XAjZD':_0x4cf599(0x18e),'GkhCH':_0x4cf599(0x191),'nBDaM':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x50e5f9,type:_0xa6f4d}=_0x45ceb1[_0x4cf599(0x194)](detectDriverType,_0x4f3b48),_0x3656d3={};_0x3656d3['scanSucceeded']=![],_0x3656d3[_0x4cf599(0x185)]=[],_0x3656d3['summary']={},_0x3656d3[_0x4cf599(0x1aa)]=null,_0x3656d3[_0x4cf599(0x1a0)]=_0xa6f4d;const _0x144ff0=_0x3656d3;try{_0x144ff0['scanSucceeded']=await exports[_0x4cf599(0x120)](_0x4f3b48,_0xcd09d0);if(_0x144ff0[_0x4cf599(0x12e)]){const [_0xb636d6,_0x3f773c]=await Promise[_0x4cf599(0x1ac)]([exports[_0x4cf599(0x17b)](_0x4f3b48,_0x55c72f),exports[_0x4cf599(0x124)](_0x4f3b48,_0x55c72f)]);_0x144ff0[_0x4cf599(0x185)]=_0x45ceb1['ezKkM'](_0xb636d6[_0x4cf599(0x16d)],_0x45ceb1[_0x4cf599(0x1dd)])?_0xb636d6['value']:[],_0x144ff0['summary']=_0x45ceb1[_0x4cf599(0x17e)](_0x3f773c[_0x4cf599(0x16d)],_0x45ceb1[_0x4cf599(0x1dd)])?_0x3f773c[_0x4cf599(0x162)]:{},_0x45ceb1[_0x4cf599(0x17e)](_0xb636d6['status'],_0x45ceb1[_0x4cf599(0x188)])&&logger[_0x4cf599(0x17c)]('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0xa6f4d+_0x4cf599(0x1ad)+_0xb636d6[_0x4cf599(0x195)]?.[_0x4cf599(0x1a2)]),_0x45ceb1[_0x4cf599(0x17e)](_0x3f773c[_0x4cf599(0x16d)],_0x45ceb1['GkhCH'])&&logger[_0x4cf599(0x17c)](_0x4cf599(0x18d)+_0xa6f4d+_0x4cf599(0x1ad)+_0x3f773c[_0x4cf599(0x195)]?.[_0x4cf599(0x1a2)]);}}catch(_0x40b30c){_0x144ff0['error']=_0x40b30c['message']||_0x45ceb1['nBDaM'],logger[_0x4cf599(0x1aa)]('Comprehensive\x20accessibility\x20scan\x20failed\x20('+_0xa6f4d+'):\x20'+_0x144ff0[_0x4cf599(0x1aa)]);}return _0x144ff0;},exports['updateRetryConfig']=_0x33258a=>{const _0x4ab69b=a101_0x355d9e,_0x1a8774={};_0x1a8774[_0x4ab69b(0x1cb)]=function(_0xf573be,_0xf222cc){return _0xf573be!==_0xf222cc;};const _0x391f1d=_0x1a8774;_0x391f1d['zJAlW'](_0x33258a['maxRetries'],undefined)&&(RETRY_CONFIG[_0x4ab69b(0x1a4)]=Math[_0x4ab69b(0x18b)](0x0,_0x33258a[_0x4ab69b(0x1a4)])),_0x391f1d[_0x4ab69b(0x1cb)](_0x33258a['timeoutMs'],undefined)&&(RETRY_CONFIG[_0x4ab69b(0x1c7)]=Math['max'](0x3e8,_0x33258a['timeoutMs'])),logger[_0x4ab69b(0x14f)](_0x4ab69b(0x11d)+JSON[_0x4ab69b(0x129)](RETRY_CONFIG));},exports[a101_0x355d9e(0x1bb)]=()=>{const _0x120e9a={...RETRY_CONFIG};return _0x120e9a;},exports[a101_0x355d9e(0x131)]=_0x13824a=>{const _0x28d36f=a101_0x355d9e,_0x1a8b54={'eCGzk':function(_0x41b803,_0x19a5e3){return _0x41b803(_0x19a5e3);}};return _0x1a8b54[_0x28d36f(0x158)](detectDriverType,_0x13824a)[_0x28d36f(0x166)];},exports[a101_0x355d9e(0x182)]=_0x3efde7=>{const _0x8db4e7=a101_0x355d9e,_0x346246={'oyjTV':function(_0x5d8733,_0x136cd5){return _0x5d8733(_0x136cd5);},'WNKBS':function(_0x3993e3,_0x43ce95){return _0x3993e3===_0x43ce95;},'aQles':_0x8db4e7(0x1d2)},{isPlaywright:_0x3ec5a0,type:_0x76cbbd}=_0x346246[_0x8db4e7(0x143)](detectDriverType,_0x3efde7);return!_0x3ec5a0&&_0x346246['WNKBS'](_0x76cbbd,_0x346246[_0x8db4e7(0x1b9)]);},exports[a101_0x355d9e(0x159)]=async(_0xd4fea9,_0x498a30=null)=>{const _0x4d4c20=a101_0x355d9e,_0xd63787={'EJDjs':function(_0x11ff11,_0x216fae){return _0x11ff11(_0x216fae);},'eHsYa':function(_0x1cdf04,_0x652b86){return _0x1cdf04===_0x652b86;},'cwKYC':_0x4d4c20(0x148)},{isPlaywright:_0x156d78,type:_0x77e2}=_0xd63787[_0x4d4c20(0x1e0)](detectDriverType,_0xd4fea9);if(!_0x156d78)return logger[_0x4d4c20(0x14f)](_0x4d4c20(0x1bd)+_0x77e2+_0x4d4c20(0x135)),!![];const _0x5a005d=_0x498a30||RETRY_CONFIG[_0x4d4c20(0x187)];try{return _0xd4fea9&&_0xd63787[_0x4d4c20(0x14e)](typeof _0xd4fea9[_0x4d4c20(0x142)],_0xd63787['cwKYC'])&&(await _0xd4fea9[_0x4d4c20(0x142)](_0x5a005d),logger[_0x4d4c20(0x14f)](_0x4d4c20(0x160)+_0x5a005d+'ms')),!![];}catch(_0x262939){return logger[_0x4d4c20(0x17c)](_0x4d4c20(0x15f)+_0x262939[_0x4d4c20(0x1a2)]),![];}},exports[a101_0x355d9e(0x1ae)]=async(_0xf15e7f,_0x177588=null)=>{const _0x2b57f4=a101_0x355d9e,_0x4abfd5={};_0x4abfd5[_0x2b57f4(0x1c8)]='Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver',_0x4abfd5[_0x2b57f4(0x140)]=function(_0x1748fc,_0x229d24){return _0x1748fc===_0x229d24;},_0x4abfd5[_0x2b57f4(0x196)]=_0x2b57f4(0x148),_0x4abfd5[_0x2b57f4(0x1d9)]=function(_0xa8d679,_0x492562){return _0xa8d679===_0x492562;},_0x4abfd5[_0x2b57f4(0x1d3)]=_0x2b57f4(0x1c4),_0x4abfd5['wsTuD']='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0x4cee9d=_0x4abfd5;if(!exports['isSeleniumDriver'](_0xf15e7f))return logger['warn'](_0x4cee9d[_0x2b57f4(0x1c8)]),![];const _0x5e2d35=_0x177588||RETRY_CONFIG[_0x2b57f4(0x187)];try{if(_0xf15e7f&&_0x4cee9d['mawUn'](typeof _0xf15e7f[_0x2b57f4(0x15c)],_0x4cee9d[_0x2b57f4(0x196)])){const _0x11086a=_0xf15e7f[_0x2b57f4(0x15c)]();if(_0x11086a&&_0x4cee9d['mawUn'](typeof _0x11086a[_0x2b57f4(0x154)],_0x4cee9d[_0x2b57f4(0x196)]))await _0x11086a[_0x2b57f4(0x154)]()[_0x2b57f4(0x175)](_0x5e2d35),logger[_0x2b57f4(0x14f)](_0x2b57f4(0x1c5)+_0x5e2d35+_0x2b57f4(0x1b3));else{if(_0x11086a&&_0x4cee9d['diksM'](typeof _0x11086a[_0x2b57f4(0x173)],_0x4cee9d['hivUR'])){const _0x434b4e={};_0x434b4e['script']=_0x5e2d35,await _0x11086a['setTimeouts'](_0x434b4e),logger[_0x2b57f4(0x14f)](_0x2b57f4(0x1c5)+_0x5e2d35+_0x2b57f4(0x11e));}else{if(_0x11086a&&_0x4cee9d[_0x2b57f4(0x1d9)](typeof _0x11086a[_0x2b57f4(0x175)],_0x4cee9d[_0x2b57f4(0x196)]))await _0x11086a['setScriptTimeout'](_0x5e2d35),logger[_0x2b57f4(0x14f)](_0x2b57f4(0x1c5)+_0x5e2d35+_0x2b57f4(0x139));else return logger[_0x2b57f4(0x14f)](_0x4cee9d[_0x2b57f4(0x1d3)]),!![];}}}else return logger[_0x2b57f4(0x14f)](_0x4cee9d[_0x2b57f4(0x1c2)]),!![];return!![];}catch(_0x1be1b9){return logger[_0x2b57f4(0x17c)](_0x2b57f4(0x16f)+_0x1be1b9[_0x2b57f4(0x1a2)]),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x250284,_0x2167e6)=>{const _0x4c1b23=a101_0x355d9e,_0x5e9a95={'TXJZY':function(_0x58764a,_0xf2db43){return _0x58764a(_0xf2db43);},'FcwfP':'isAccessibilityPlatform','lCtcw':function(_0x2c3513,_0x26d3e0){return _0x2c3513<=_0x26d3e0;},'GpIfY':function(_0x5a31df,_0x57cacd){return _0x5a31df+_0x57cacd;},'HdLOG':function(_0x31076a,_0x147cb0){return _0x31076a+_0x147cb0;},'PMwMU':function(_0x510605,_0x5d56d4){return _0x510605&&_0x5d56d4;},'SGlme':function(_0x1bc997,_0x2a4560,_0x21ca7b){return _0x1bc997(_0x2a4560,_0x21ca7b);},'JgdVd':function(_0x348b7a,_0x7d3825,_0x21814b){return _0x348b7a(_0x7d3825,_0x21814b);},'KBtjw':_0x4c1b23(0x1bc),'LtUpJ':function(_0xdd4888,_0x288d86,_0x251b4c){return _0xdd4888(_0x288d86,_0x251b4c);},'tANqY':_0x4c1b23(0x186)},{isPlaywright:_0x482220,type:_0x512cf1}=_0x5e9a95[_0x4c1b23(0x181)](detectDriverType,_0x250284),_0x59f6d3=_0x482220?global[_0x4c1b23(0x133)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x5e9a95['FcwfP']);if(!_0x59f6d3)return logger[_0x4c1b23(0x17c)](_0x4c1b23(0x15d)+_0x512cf1+_0x4c1b23(0x123)),![];let _0x2d3913=null;for(let _0x52379f=0x1;_0x5e9a95[_0x4c1b23(0x11f)](_0x52379f,_0x5e9a95['GpIfY'](RETRY_CONFIG[_0x4c1b23(0x1a4)],0x1));_0x52379f++){try{logger[_0x4c1b23(0x14f)](_0x4c1b23(0x14b)+_0x52379f+'/'+_0x5e9a95['HdLOG'](RETRY_CONFIG[_0x4c1b23(0x1a4)],0x1)+'\x20('+_0x512cf1+')');if(_0x5e9a95[_0x4c1b23(0x15a)](_0x482220,playwrightA11yHelper)){_0x5e9a95[_0x4c1b23(0x19e)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4c1b23(0x159)](_0x250284,RETRY_CONFIG[_0x4c1b23(0x1c7)]);const _0x48b386={};_0x48b386[_0x4c1b23(0x18f)]=!![];const _0x467e0f=global['isMobilePlatform']?Object['assign']({},_0x2167e6,_0x48b386):_0x2167e6;await _0x5e9a95[_0x4c1b23(0x18c)](withTimeout,playwrightA11yHelper[_0x4c1b23(0x1a1)](_0x250284,scripts[_0x4c1b23(0x125)],_0x467e0f),RETRY_CONFIG[_0x4c1b23(0x1c7)]),await exports[_0x4c1b23(0x159)](_0x250284,RETRY_CONFIG[_0x4c1b23(0x187)]);}else{await exports[_0x4c1b23(0x1ae)](_0x250284,RETRY_CONFIG['timeoutMs']);const _0x439226={};_0x439226[_0x4c1b23(0x18f)]=!![];const _0x476370=globals[_0x4c1b23(0x1dc)](_0x5e9a95[_0x4c1b23(0x19d)])?Object[_0x4c1b23(0x126)]({},_0x2167e6,_0x439226):_0x2167e6;await _0x5e9a95[_0x4c1b23(0x128)](withTimeout,_0x250284[_0x4c1b23(0x1d8)](scripts[_0x4c1b23(0x125)],_0x476370),RETRY_CONFIG[_0x4c1b23(0x1c7)]),await exports[_0x4c1b23(0x1ae)](_0x250284,RETRY_CONFIG[_0x4c1b23(0x187)]);}return logger[_0x4c1b23(0x17a)](_0x4c1b23(0x1d7)+_0x52379f+'\x20('+_0x512cf1+')'),!![];}catch(_0x75d7fa){_0x2d3913=_0x75d7fa,logger[_0x4c1b23(0x17c)](_0x4c1b23(0x14b)+_0x52379f+'\x20failed\x20('+_0x512cf1+_0x4c1b23(0x14a)+_0x75d7fa['message']);}}return logger[_0x4c1b23(0x1aa)](_0x4c1b23(0x19a)+_0x512cf1+').\x20Last\x20error:\x20'+(_0x2d3913?.[_0x4c1b23(0x1a2)]||_0x5e9a95['tANqY'])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a102_0x1375df=a102_0x40f9;(function(_0x41e6e7,_0x63c041){var _0x27f8b3=a102_0x40f9,_0x118caa=_0x41e6e7();while(!![]){try{var _0x131e21=parseInt(_0x27f8b3(0x97))/0x1+parseInt(_0x27f8b3(0x96))/0x2+-parseInt(_0x27f8b3(0x9d))/0x3+parseInt(_0x27f8b3(0x9f))/0x4+-parseInt(_0x27f8b3(0xa1))/0x5*(-parseInt(_0x27f8b3(0xa9))/0x6)+parseInt(_0x27f8b3(0xa8))/0x7+-parseInt(_0x27f8b3(0xa4))/0x8;if(_0x131e21===_0x63c041)break;else _0x118caa['push'](_0x118caa['shift']());}catch(_0xe47ef1){_0x118caa['push'](_0x118caa['shift']());}}}(a102_0x1597,0xe3524),exports['API_URL']=a102_0x1375df(0x94),exports[a102_0x1375df(0x91)]='94',exports[a102_0x1375df(0xaa)]=a102_0x1375df(0x95),exports[a102_0x1375df(0xa3)]=a102_0x1375df(0x99),exports[a102_0x1375df(0x93)]=a102_0x1375df(0x92));var a102_0x33dc52={};a102_0x33dc52[a102_0x1375df(0xa5)]=a102_0x1375df(0xa0),a102_0x33dc52['min_version_browserstack']=0x5e,a102_0x33dc52[a102_0x1375df(0x9c)]=0x64,a102_0x33dc52[a102_0x1375df(0xa6)]=!![];var a102_0x535c32={};a102_0x535c32[a102_0x1375df(0xa5)]='Chrome',a102_0x535c32[a102_0x1375df(0x9a)]=0x5e,a102_0x535c32[a102_0x1375df(0x9c)]=0x64,a102_0x535c32[a102_0x1375df(0xa6)]=!![];var a102_0x4272ee={};a102_0x4272ee['display_name']=a102_0x1375df(0xa0),a102_0x4272ee['min_version_browserstack']=0x5e,a102_0x4272ee[a102_0x1375df(0x9c)]=0x64,a102_0x4272ee[a102_0x1375df(0xa6)]=!![];var a102_0x4917e9={};function a102_0x40f9(_0x41055d,_0xd6234d){var _0x1597e2=a102_0x1597();return a102_0x40f9=function(_0x40f9f6,_0x559d8b){_0x40f9f6=_0x40f9f6-0x91;var _0x15d7b2=_0x1597e2[_0x40f9f6];return _0x15d7b2;},a102_0x40f9(_0x41055d,_0xd6234d);}a102_0x4917e9[a102_0x1375df(0xa5)]=a102_0x1375df(0x98),a102_0x4917e9['min_version_browserstack']=0x8d,a102_0x4917e9[a102_0x1375df(0x9c)]=0x8d,a102_0x4917e9[a102_0x1375df(0xa6)]=!![];var a102_0x4c0549={};a102_0x4c0549['display_name']='Safari',a102_0x4c0549[a102_0x1375df(0x9a)]=18.4,a102_0x4c0549[a102_0x1375df(0x9c)]=18.4,a102_0x4c0549[a102_0x1375df(0xa6)]=![];var a102_0x4a0b7f={};a102_0x4a0b7f[a102_0x1375df(0xa2)]=a102_0x33dc52,a102_0x4a0b7f[a102_0x1375df(0x9b)]=a102_0x535c32,a102_0x4a0b7f[a102_0x1375df(0xab)]=a102_0x4272ee,a102_0x4a0b7f['chromefortesting']=a102_0x4917e9,a102_0x4a0b7f[a102_0x1375df(0xa7)]=a102_0x4c0549,exports[a102_0x1375df(0x9e)]=a102_0x4a0b7f;function a102_0x1597(){var _0x38faf7=['Chrome','15ugKOJy','chrome','MINIMUM_CHROMEFORTESTING_VERSION','6135984sLQjqb','display_name','requires_chrome_options_check','safari','892843yItOQJ','96342rKYURM','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','playwright-chromium','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','18.4','MINIMUM_SAFARI_VERSION','https://accessibility.browserstack.com/api','100','516450kHibqc','404091AVVPdF','ChromeForTesting','141','min_version_browserstack','chromium','min_version_non_browserstack','390486fgBaOa','ACCESSIBILITY_SUPPORTED_BROWSERS','3960928dNALYs'];a102_0x1597=function(){return _0x38faf7;};return a102_0x1597();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a103_0x5afe2b=a103_0x45de;function a103_0x45de(_0xd75f34,_0x355ee7){const _0x1f2af8=a103_0x1f2a();return a103_0x45de=function(_0x45ded2,_0x1d5cff){_0x45ded2=_0x45ded2-0x18e;let _0x5751a6=_0x1f2af8[_0x45ded2];return _0x5751a6;},a103_0x45de(_0xd75f34,_0x355ee7);}(function(_0x1d4ee4,_0x40ab4c){const _0x2dbcf2=a103_0x45de,_0x4ab9b0=_0x1d4ee4();while(!![]){try{const _0x1c7845=parseInt(_0x2dbcf2(0x245))/0x1*(-parseInt(_0x2dbcf2(0x1b1))/0x2)+parseInt(_0x2dbcf2(0x265))/0x3*(-parseInt(_0x2dbcf2(0x248))/0x4)+-parseInt(_0x2dbcf2(0x2a1))/0x5*(-parseInt(_0x2dbcf2(0x241))/0x6)+parseInt(_0x2dbcf2(0x1bb))/0x7+parseInt(_0x2dbcf2(0x227))/0x8+-parseInt(_0x2dbcf2(0x223))/0x9*(parseInt(_0x2dbcf2(0x1a8))/0xa)+parseInt(_0x2dbcf2(0x190))/0xb*(parseInt(_0x2dbcf2(0x242))/0xc);if(_0x1c7845===_0x40ab4c)break;else _0x4ab9b0['push'](_0x4ab9b0['shift']());}catch(_0x422401){_0x4ab9b0['push'](_0x4ab9b0['shift']());}}}(a103_0x1f2a,0x203b1));const path=require(a103_0x5afe2b(0x1c5)),util=require(a103_0x5afe2b(0x207)),bsSetupHelper=require('../helper'),logger=require(a103_0x5afe2b(0x20e))[a103_0x5afe2b(0x21d)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a103_0x5afe2b(0x1aa)),PerformanceTester=require('../performance/performance-tester'),scripts=require(a103_0x5afe2b(0x195)),globals=require(a103_0x5afe2b(0x244)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');function a103_0x1f2a(){const _0x1eba1e=['oVnKd','isMobileScanningEnabledForGroup','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','zAAWe',']\x20but\x20thTestRunUuid\x20is\x20','stack','QjlgK','whkba','JQfsf','duBBI','nestedKeyValue','json','\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.','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','method','zylah','info','mergeDeep','6ZxttbV','552RyMeUW','join','../globals','89153mCDPsJ','CKElb','LgExf','254728ftBKSj','zJoNn','accessibilityToken','resolve','getTestFrameworkDetails','pPsPn','startsWith','auth','fBcup','HXbYy','false','PERFORM_SCAN','v2/test_runs','ppcCG','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','iHWpY','getUserName','length','message','createAccessibilityTestRun','performScan','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','data','string','pass','Invalid\x20configuration\x20passed.','DyHwQ','undefined','6SZEvyX','bstack:options','Performing\x20scan\x20before\x20getting\x20results','nodeRequest','qKyTD','getMinVersionForBrowser','oqVZR','getGitMetaData','lMJsj','success','No\x20accessibility\x20results\x20were\x20found.','Options','fetchPlatformDetails','__workerDetails','selenium-webdriver/chrome.js','mrgld','oewZW','yCIcT','executeAsyncScript','buildName','toISOString','puGRu','UJSFJ','Bddop','browserstack_executor','browserstackSessionName','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','ChromeExtension','wwmNH','warn','isMobileAccessibilitySession','OeDUH','getBrowserVersion','KYHoT','EfYeg','device','PMrNU','getMobileA11yCapabilities','Bearer\x20','wait','getPlatformVersion','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','BROWSERSTACK_TURBOSCALE','bstackA11yScanOptions','vFNjW','forEach','POST','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','eooMm','iyQFx','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Build\x20creation\x20had\x20failed.','isAccessibilityPlatform','qnJzo','thTestRunUuid','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','ECKtH','taKug','ojfiI','1096505psHdLE','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','GET_RESULTS','display_name','YnisA','platformName','--headless','excludeTagsInTestingScope','psKsl','isUndefined','android','Performing\x20scan\x20before\x20getting\x20results\x20summary','ACvpj','waTCj','44033YwOnOy','includeTagsInTestingScope','toJson','getGlobal','split','./scripts','RsGmj','RcvWw','javascript','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','base64','BS_A11Y_JWT','args','format','assign','getAgentVersion','requireModule','measureWrapper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','isTrue','cAWFW','command','gSzpk','accessibility','90kvANkM','__cloud_provider___','./constants','SWKgv','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','VLAcj','QIViy','script','body','2LnHojk','Performed\x20scan\x20with\x20result:\x20','cGwar','getBrowserName','isAccessibilityAutomationSession','isBrowserstackInfra','selenium-webdriver','toLowerCase','playwright','debug','541996JEQVWh','FQxbZ','ozNrp','get','env','HgRsB','PUT','true','QYekO','bstackA11yShouldScan','path','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Invalid\x20request:\x20','isBrowserSupportedForAccessibility','application/json','aPMLg','null','version','status','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','parseFromJson','projectName','resolveMobileThTestRunUuid','yTHcC','Iiuzw','response','getResultsSummary','requiresChromeOptionsValidation','goog:chromeOptions','capabilities_','pAqxd','parseA11yJwtPayload','chrome','JbUjb','getBrowserA11yConfig','WiahB','getCapabilities','deviceName','SRYIc','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','stringify','executeScript','YpJAr','iEIUE','set','CHonX','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','vjQqK','Umhab','Content-Type','nayQi','mRAqr','MtCFO','checkAccessibilityPlatformConfig','browserName','getCiInfo','some','buildDescription','requires_chrome_options_check','TPAnt','NDzGQ','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','QRBTq','zoQAo','RLaMI','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).','fFhPm','function','AFNwi','parse','compareVersions','error','getPlatform','XIhJL','includes','browserVersion','util','FTeUS','chromeOptions','--headless=new','--headless=','getAccessibilityResultsSummary','headers','../logger','kzIWa','currentTest','mhBzV','isArray','a11y:start','isVersionSupported','tpftQ','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','psCKO','Msmti','a11y:stop','nZEXd','pLwMe','cwd','winstonLogger','statusText','min_version_browserstack','rxLnv','nonBstackPlatformValidation','OtTae','170559cWbOJS','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','uXkYv','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','305808tvYjHQ','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','keys','BROWSERSTACK_TEST_ACCESSIBILITY_YML','setNonBstackInfraCapabilities','xyukI','GET_RESULTS_SUMMARY','browserstack'];a103_0x1f2a=function(){return _0x1eba1e;};return a103_0x1f2a();}exports[a103_0x5afe2b(0x271)]=async _0x147c88=>{const _0x56e1c7=a103_0x5afe2b,_0x5486ab={};_0x5486ab[_0x56e1c7(0x26d)]=function(_0x52a321,_0x54bb52){return _0x52a321===_0x54bb52;},_0x5486ab['zylah']=_0x56e1c7(0x22e);const _0x3bacb2=_0x5486ab;let _0x40d34c={};try{const _0x1db43c=await _0x147c88['getCapabilities']();_0x40d34c={'os_name':_0x1db43c[_0x56e1c7(0x203)](),'os_version':bsSetupHelper[_0x56e1c7(0x28d)](_0x3bacb2[_0x56e1c7(0x26d)](global[_0x56e1c7(0x1a9)],_0x3bacb2[_0x56e1c7(0x23e)])),'browser_name':_0x1db43c[_0x56e1c7(0x1b4)](),'browser_version':_0x1db43c[_0x56e1c7(0x285)]()};}catch(_0x1da7e6){logger[_0x56e1c7(0x1ba)](_0x56e1c7(0x29d)+_0x1da7e6);}return _0x40d34c;},exports[a103_0x5afe2b(0x1b5)]=()=>{const _0x2c2257=a103_0x5afe2b,_0x135098={};_0x135098[_0x2c2257(0x1e6)]=function(_0x472215,_0x18f55d){return _0x472215===_0x18f55d;},_0x135098['FUhDm']=_0x2c2257(0x260),_0x135098[_0x2c2257(0x1ed)]=function(_0x132cc1,_0x439d86){return _0x132cc1>_0x439d86;},_0x135098['FtDlH']=function(_0x555a9d,_0x5c6e48){return _0x555a9d!==_0x5c6e48;},_0x135098['OtTae']=_0x2c2257(0x1cb),_0x135098['Msmti']=function(_0x4a3316,_0x3ae911){return _0x4a3316&&_0x3ae911;};const _0x470d74=_0x135098;try{const _0x579507=bsSetupHelper['isTrue'](process['env'][_0x2c2257(0x22a)])||bsSetupHelper[_0x2c2257(0x1a3)](process['env'][_0x2c2257(0x1c6)]),_0x4e8c27=_0x470d74[_0x2c2257(0x1e6)](typeof process['env'][_0x2c2257(0x19b)],_0x470d74['FUhDm'])&&_0x470d74[_0x2c2257(0x1ed)](process[_0x2c2257(0x1bf)][_0x2c2257(0x19b)][_0x2c2257(0x259)],0x0)&&_0x470d74['FtDlH'](process[_0x2c2257(0x1bf)][_0x2c2257(0x19b)],_0x470d74[_0x2c2257(0x222)]);return _0x470d74[_0x2c2257(0x218)](_0x579507,_0x4e8c27);}catch(_0x13e133){logger['debug'](_0x2c2257(0x27f)+_0x13e133);}return![];},exports[a103_0x5afe2b(0x221)]=(_0x203150,_0x4315ac)=>{const _0x2d9dea=a103_0x5afe2b,_0xd7ffd3={'QRBTq':_0x2d9dea(0x1f1),'xyukI':function(_0x2fbc26,_0x17fba4){return _0x2fbc26(_0x17fba4);},'UJSFJ':_0x2d9dea(0x206),'QjlgK':_0x2d9dea(0x1cc),'zJoNn':_0x2d9dea(0x266),'VLAcj':function(_0x2c3bc9,_0x1e26f4){return _0x2c3bc9(_0x1e26f4);},'CKElb':_0x2d9dea(0x1e0),'vjQqK':_0x2d9dea(0x288),'tDzgf':_0x2d9dea(0x1a2),'ueKWu':_0x2d9dea(0x273),'cAWFW':_0x2d9dea(0x1b7),'whkba':'options_','oqVZR':_0x2d9dea(0x19c),'pAqxd':_0x2d9dea(0x209),'PMrNU':_0x2d9dea(0x216),'yTHcC':_0x2d9dea(0x1d7),'YpJAr':function(_0x2fdefe,_0x5a16cf){return _0x2fdefe===_0x5a16cf;},'TaZMe':'chrome','FQxbZ':function(_0x4bfe05,_0x160ccb){return _0x4bfe05>=_0x160ccb;}},_0x10e271=_0x203150[_0x2d9dea(0x1be)](_0xd7ffd3[_0x2d9dea(0x1f9)]),_0x56dde0=_0xd7ffd3[_0x2d9dea(0x22c)](parseFloat,_0x203150[_0x2d9dea(0x1be)](_0xd7ffd3[_0x2d9dea(0x27b)]))||_0xd7ffd3['xyukI'](parseFloat,_0x203150[_0x2d9dea(0x1be)](_0xd7ffd3[_0x2d9dea(0x235)])),_0x5c1370=_0x203150[_0x2d9dea(0x1be)](_0xd7ffd3[_0x2d9dea(0x249)])||{},_0x49ceef=_0xd7ffd3[_0x2d9dea(0x1ad)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x10d2e8=_0x5c1370[_0xd7ffd3[_0x2d9dea(0x246)]]||_0x203150['get'](_0xd7ffd3[_0x2d9dea(0x1ea)])||![];if(_0x10d2e8)return logger[_0x2d9dea(0x282)](_0xd7ffd3['tDzgf']),![];let _0x4b43bb;try{_0x4b43bb=bsSetupHelper[_0x2d9dea(0x1a0)](_0xd7ffd3['ueKWu'],_0xd7ffd3[_0x2d9dea(0x1a4)]);}catch(_0x11cc0f){return![];}const _0x1e919c=new _0x4b43bb[(_0x2d9dea(0x270))](_0x4315ac['chromeOptions_']),_0x209514=bsSetupHelper[_0x2d9dea(0x239)](_0x1e919c,[_0xd7ffd3[_0x2d9dea(0x236)],_0xd7ffd3['oqVZR']])||bsSetupHelper['nestedKeyValue'](_0x4315ac[_0x2d9dea(0x1d8)],[_0xd7ffd3['zJoNn'],_0xd7ffd3[_0x2d9dea(0x1d9)],_0xd7ffd3[_0x2d9dea(0x26b)]])||bsSetupHelper[_0x2d9dea(0x239)](_0x4315ac[_0x2d9dea(0x1d8)],[_0xd7ffd3[_0x2d9dea(0x1d9)],_0xd7ffd3[_0x2d9dea(0x26b)]])||[],_0x70782d=Array[_0x2d9dea(0x212)](_0x209514)?_0x209514:[];if(_0x70782d[_0x2d9dea(0x1f3)](_0x4baa1e=>typeof _0x4baa1e===_0x2d9dea(0x260)&&(_0x4baa1e===_0x2d9dea(0x2a7)||_0x4baa1e['startsWith'](_0x2d9dea(0x20b))&&_0x4baa1e!==_0x2d9dea(0x20a))))return logger[_0x2d9dea(0x282)](_0xd7ffd3[_0x2d9dea(0x289)]),![];const _0x3aa426=_0x4315ac[_0x2d9dea(0x1d8)]||{},_0x433fa0=bsSetupHelper['nestedKeyValue'](_0x3aa426,[_0xd7ffd3[_0x2d9dea(0x1d2)]])||{},_0x7c19f1=bsSetupHelper['nestedKeyValue'](_0x433fa0,[_0xd7ffd3[_0x2d9dea(0x26b)]])||[],_0x553979=Array['isArray'](_0x7c19f1)?_0x7c19f1:[];if(_0x553979[_0x2d9dea(0x1f3)](_0x102c07=>typeof _0x102c07===_0x2d9dea(0x260)&&(_0x102c07===_0x2d9dea(0x2a7)||_0x102c07[_0x2d9dea(0x24e)](_0x2d9dea(0x20b))&&_0x102c07!==_0x2d9dea(0x20a))))return logger[_0x2d9dea(0x282)](_0xd7ffd3['PMrNU']),![];if(_0xd7ffd3[_0x2d9dea(0x1e5)](_0x10e271[_0x2d9dea(0x1b8)](),_0xd7ffd3['TaZMe'])&&_0xd7ffd3[_0x2d9dea(0x1bc)](_0x56dde0,_0x49ceef))return!![];return logger['warn'](_0x2d9dea(0x1ce)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a103_0x5afe2b(0x22b)]=_0x598942=>{const _0x12f514=a103_0x5afe2b,_0x568882={};_0x568882[_0x12f514(0x2a0)]=_0x12f514(0x1d7),_0x568882[_0x12f514(0x27a)]=function(_0x5d8659,_0x3a13ea){return _0x5d8659||_0x3a13ea;},_0x568882[_0x12f514(0x1bd)]='Not\x20a\x20Accessibility\x20Session';const _0x1cfa10=_0x568882,_0x173c18=scripts[_0x12f514(0x280)];try{const _0x20215b=bsSetupHelper[_0x12f514(0x1a3)](process[_0x12f514(0x1bf)][_0x12f514(0x22a)])||bsSetupHelper[_0x12f514(0x1a3)](process['env'][_0x12f514(0x1c6)]);if((!bsSetupHelper[_0x12f514(0x1b6)]()||process[_0x12f514(0x1bf)][_0x12f514(0x290)])&&_0x20215b){const _0x29a141=_0x598942[_0x12f514(0x1df)](),_0xfeeedc=_0x29a141['get'](_0x1cfa10['ojfiI']),_0x466318=_0x1cfa10['puGRu'](_0xfeeedc,{});bsSetupHelper[_0x12f514(0x240)](_0x466318,_0x173c18),_0x598942[_0x12f514(0x1df)]()[_0x12f514(0x1e7)](_0x1cfa10[_0x12f514(0x2a0)],_0x466318);}else logger[_0x12f514(0x282)](_0x1cfa10[_0x12f514(0x1bd)]);}catch(_0x2ba595){logger[_0x12f514(0x202)]('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x2ba595);}},exports['shouldScanTestForAccessibility']=(_0x18dcc5=null,_0x1f4fe8=!![],_0x3820b4=[])=>{const _0x3ecac2=a103_0x5afe2b,_0x23feb0={};_0x23feb0[_0x3ecac2(0x217)]=function(_0x1314c1,_0x4322d8){return _0x1314c1==_0x4322d8;},_0x23feb0[_0x3ecac2(0x208)]=function(_0x1bd6c0,_0x4cc6d4){return _0x1bd6c0>_0x4cc6d4;},_0x23feb0['KQYOV']=function(_0xb1c137,_0xbd4dff){return _0xb1c137===_0xbd4dff;},_0x23feb0['OeDUH']=function(_0x2799dc,_0x16559d){return _0x2799dc&&_0x16559d;},_0x23feb0['hnQlF']=function(_0x9e6c0,_0x28a09b){return _0x9e6c0===_0x28a09b;};const _0x56bfa4=_0x23feb0;if(_0x56bfa4['psCKO'](process['env'][_0x3ecac2(0x23c)],null))return!![];try{const _0x56e42b=JSON[_0x3ecac2(0x200)](process[_0x3ecac2(0x1bf)][_0x3ecac2(0x23c)]),_0x37d58c=Array['isArray'](_0x56e42b[_0x3ecac2(0x191)])?_0x56e42b['includeTagsInTestingScope']:[],_0x1ba91b=Array[_0x3ecac2(0x212)](_0x56e42b[_0x3ecac2(0x2a8)])?_0x56e42b['excludeTagsInTestingScope']:[],_0x4171ca=_0x26d751=>typeof _0x26d751===_0x3ecac2(0x260)?_0x26d751['replace'](/^@/,'')[_0x3ecac2(0x1b8)]()['trim']():_0x26d751;if(bsSetupHelper[_0x3ecac2(0x2aa)](_0x18dcc5)){if(_0x56bfa4[_0x3ecac2(0x208)](_0x3820b4['length'],0x0)){const _0x4b58f5=_0x3820b4['map'](_0x4171ca),_0x26bf4a=_0x1ba91b[_0x3ecac2(0x1f3)](_0x2af56a=>_0x4b58f5[_0x3ecac2(0x205)](_0x4171ca(_0x2af56a))),_0x126b9d=_0x56bfa4['KQYOV'](_0x37d58c[_0x3ecac2(0x259)],0x0)||_0x37d58c[_0x3ecac2(0x1f3)](_0x52a533=>_0x4b58f5[_0x3ecac2(0x205)](_0x4171ca(_0x52a533)));return _0x56bfa4[_0x3ecac2(0x284)](!_0x26bf4a,_0x126b9d);}return!![];}let _0x568fd6;_0x1f4fe8?_0x568fd6=_0x18dcc5[_0x3ecac2(0x243)]('/'):_0x568fd6=_0x18dcc5;const _0x5afb00=_0x1ba91b[_0x3ecac2(0x1f3)](_0x4ab142=>_0x568fd6[_0x3ecac2(0x1b8)]()[_0x3ecac2(0x205)](_0x4171ca(_0x4ab142)[_0x3ecac2(0x1b8)]())),_0x1e6158=_0x56bfa4['hnQlF'](_0x37d58c[_0x3ecac2(0x259)],0x0)||_0x37d58c[_0x3ecac2(0x1f3)](_0x3cd1e3=>_0x568fd6[_0x3ecac2(0x1b8)]()[_0x3ecac2(0x205)](_0x4171ca(_0x3cd1e3)[_0x3ecac2(0x1b8)]()));return _0x56bfa4[_0x3ecac2(0x284)](!_0x5afb00,_0x1e6158);}catch(_0x21f980){logger[_0x3ecac2(0x1ba)](_0x3ecac2(0x226)+util[_0x3ecac2(0x19d)](_0x21f980));}return![];},exports[a103_0x5afe2b(0x1f0)]=_0x7c491b=>{const _0x16269e=a103_0x5afe2b;let _0x87c8fa=![];try{_0x7c491b['platforms'][_0x16269e(0x293)](_0x23b9a6=>{const _0x3419b8=_0x16269e;if(bsSetupHelper['isTrue'](_0x23b9a6[_0x3419b8(0x1a7)]))return _0x87c8fa=!![],!![];});}catch(_0x318050){logger[_0x16269e(0x1ba)](_0x16269e(0x28e)+_0x318050);}return _0x87c8fa||bsSetupHelper[_0x16269e(0x1a3)](_0x7c491b[_0x16269e(0x1a7)]);},exports[a103_0x5afe2b(0x25b)]=PerformanceTester[a103_0x5afe2b(0x1a1)](a103_0x5afe2b(0x213),async function(_0x371c9b,_0x71d84c){const _0xd36791=a103_0x5afe2b,_0x35ef06={};_0x35ef06[_0xd36791(0x18e)]=_0xd36791(0x25d),_0x35ef06[_0xd36791(0x29e)]=_0xd36791(0x1b9),_0x35ef06['nZEXd']=_0xd36791(0x198),_0x35ef06['utecR']='application/json',_0x35ef06[_0xd36791(0x1f7)]=_0xd36791(0x294),_0x35ef06[_0xd36791(0x255)]=_0xd36791(0x254),_0x35ef06[_0xd36791(0x29b)]=function(_0x33e129,_0xad1e4d){return _0x33e129===_0xad1e4d;},_0x35ef06[_0xd36791(0x196)]=_0xd36791(0x262),_0x35ef06['JbUjb']=_0xd36791(0x252);const _0x1c8444=_0x35ef06,_0x35e3f3=bsSetupHelper[_0xd36791(0x258)](_0x371c9b),_0x4732b7=bsSetupHelper['getAccessKey'](_0x371c9b);if(bsSetupHelper[_0xd36791(0x2aa)](_0x35e3f3)||bsSetupHelper[_0xd36791(0x2aa)](_0x4732b7))return logger[_0xd36791(0x202)](_0x1c8444[_0xd36791(0x18e)]),[null,null];try{let _0xfa92f5;bsSetupHelper[_0xd36791(0x2aa)](process[_0xd36791(0x1bf)][_0xd36791(0x23c)])?_0xfa92f5={}:_0xfa92f5=JSON[_0xd36791(0x200)](process[_0xd36791(0x1bf)][_0xd36791(0x23c)]);const {name:_0x5d8e79,version:_0x3fbc89}=bsSetupHelper[_0xd36791(0x24c)](_0x371c9b,_0x71d84c),_0x256a58={'projectName':_0x371c9b[_0xd36791(0x1d0)],'buildName':_0x371c9b[_0xd36791(0x278)]||path['basename'](path[_0xd36791(0x24b)](process[_0xd36791(0x21c)]())),'startTime':new Date()[_0xd36791(0x279)](),'description':_0x371c9b[_0xd36791(0x1f4)]||'','source':{'frameworkName':_0x71d84c[_0xd36791(0x205)](_0x1c8444['ECKtH'])?_0x1c8444[_0xd36791(0x29e)]:_0x71d84c,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x71d84c),'sdkVersion':bsSetupHelper[_0xd36791(0x19f)](),'language':_0x1c8444[_0xd36791(0x21a)],'testFramework':_0x5d8e79,'testFrameworkVersion':_0x3fbc89},'settings':_0xfa92f5,'versionControl':await bsSetupHelper[_0xd36791(0x26c)](),'ciInfo':bsSetupHelper[_0xd36791(0x1f2)](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0xd36791(0x1b6)]()},_0x273943={};_0x273943['user']=_0x35e3f3,_0x273943[_0xd36791(0x261)]=_0x4732b7;const _0x50c9f7={};_0x50c9f7[_0xd36791(0x1ec)]=_0x1c8444['utecR'];const _0x3db58d={};_0x3db58d[_0xd36791(0x24f)]=_0x273943,_0x3db58d[_0xd36791(0x20d)]=_0x50c9f7;const _0xf3a118=_0x3db58d,_0x58458c={};_0x58458c[_0xd36791(0x1b0)]=_0x256a58,_0x58458c[_0xd36791(0x23a)]=!![];const _0x421def=Object[_0xd36791(0x19e)](_0xf3a118,_0x58458c),_0x3f6489=await bsSetupHelper[_0xd36791(0x268)](_0x1c8444['NDzGQ'],_0x1c8444['ppcCG'],_0x421def,_0x371c9b,API_URL);let _0x35fa7f=process[_0xd36791(0x1bf)][_0xd36791(0x23c)];return _0x35fa7f?_0x35fa7f=JSON[_0xd36791(0x200)](process[_0xd36791(0x1bf)][_0xd36791(0x23c)]):_0x35fa7f={},scripts[_0xd36791(0x1cf)](_0x3f6489['data'][_0xd36791(0x25f)]),scripts[_0xd36791(0x192)](),_0x35fa7f['scannerVersion']=_0x3f6489[_0xd36791(0x25f)][_0xd36791(0x25f)]['scannerVersion'],process[_0xd36791(0x1bf)][_0xd36791(0x23c)]=JSON[_0xd36791(0x1e3)](_0x35fa7f),[_0x3f6489['data']['data'][_0xd36791(0x24a)],_0x3f6489[_0xd36791(0x25f)][_0xd36791(0x25f)]['id']];}catch(_0x262f90){if(_0x262f90['response'])logger[_0xd36791(0x202)](_0xd36791(0x25e)+_0x262f90[_0xd36791(0x1d4)]['status']+'\x20'+_0x262f90[_0xd36791(0x1d4)]['statusText']+'\x20'+JSON[_0xd36791(0x1e3)](_0x262f90[_0xd36791(0x1d4)][_0xd36791(0x25f)]));else{if(_0x1c8444['qnJzo'](_0x262f90[_0xd36791(0x25a)],_0x1c8444[_0xd36791(0x196)])){logger['error'](_0xd36791(0x25e)+(_0x262f90[_0xd36791(0x25a)]||_0x262f90['stack']));for(const _0x3765a0 of _0x262f90['errors']){logger[_0xd36791(0x202)](_0x3765a0[_0xd36791(0x25a)]);}process[_0xd36791(0x1bf)][_0xd36791(0x22a)]=_0x1c8444['JbUjb'],process['env'][_0xd36791(0x1c6)]=_0x1c8444[_0xd36791(0x1dc)];}else logger[_0xd36791(0x202)](_0xd36791(0x25e)+(_0x262f90['message']||_0x262f90[_0xd36791(0x234)]));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester[a103_0x5afe2b(0x1a1)](a103_0x5afe2b(0x219),async function(_0x2d8c85){const _0x109f8d=a103_0x5afe2b,_0x5e272e={};_0x5e272e['jjozH']=function(_0x17295c,_0x14b800){return _0x17295c!==_0x14b800;},_0x5e272e[_0x109f8d(0x204)]=_0x109f8d(0x260),_0x5e272e[_0x109f8d(0x1fb)]=_0x109f8d(0x202),_0x5e272e[_0x109f8d(0x250)]=_0x109f8d(0x299),_0x5e272e[_0x109f8d(0x197)]=_0x109f8d(0x1c9),_0x5e272e[_0x109f8d(0x20f)]=_0x109f8d(0x1c1),_0x5e272e[_0x109f8d(0x1e1)]='test_runs/stop',_0x5e272e[_0x109f8d(0x274)]=function(_0x727d9,_0x517714){return _0x727d9+_0x517714;},_0x5e272e[_0x109f8d(0x297)]=_0x109f8d(0x1c7),_0x5e272e[_0x109f8d(0x22f)]=_0x109f8d(0x26e);const _0x30f4c7=_0x5e272e;if(bsSetupHelper[_0x109f8d(0x2aa)](process[_0x109f8d(0x1bf)][_0x109f8d(0x19b)])||_0x30f4c7['jjozH'](typeof process[_0x109f8d(0x1bf)]['BS_A11Y_JWT'],_0x30f4c7['XIhJL'])){const _0x58803a={};return _0x58803a[_0x109f8d(0x1cd)]=_0x30f4c7['RLaMI'],_0x58803a['message']=_0x30f4c7[_0x109f8d(0x250)],_0x58803a;}const _0x331534={'endTime':new Date()[_0x109f8d(0x279)]()},_0xe5b861={};_0xe5b861['Authorization']=_0x109f8d(0x28b)+process[_0x109f8d(0x1bf)][_0x109f8d(0x19b)],_0xe5b861['Content-Type']=_0x30f4c7['RcvWw'];const _0x2d82bf={};_0x2d82bf[_0x109f8d(0x20d)]=_0xe5b861;const _0xdd1652=_0x2d82bf,_0x51cb31={};_0x51cb31['body']=_0x331534,_0x51cb31['auth']=null,_0x51cb31[_0x109f8d(0x23a)]=!![];const _0x1d1092=Object[_0x109f8d(0x19e)](_0xdd1652,_0x51cb31);try{const _0x539620=await bsSetupHelper[_0x109f8d(0x268)](_0x30f4c7[_0x109f8d(0x20f)],_0x30f4c7['SRYIc'],_0x1d1092,_0x2d8c85,API_URL);if(_0x539620[_0x109f8d(0x25f)]['error'])throw new Error(_0x30f4c7['mrgld'](_0x30f4c7[_0x109f8d(0x297)],_0x539620['data'][_0x109f8d(0x202)]));else{logger[_0x109f8d(0x23f)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x109f8d(0x279)]());const _0x3e438d={};return _0x3e438d[_0x109f8d(0x1cd)]=_0x30f4c7[_0x109f8d(0x22f)],_0x3e438d['message']='',_0x3e438d;}}catch(_0x2e5d01){_0x2e5d01[_0x109f8d(0x1d4)]?logger['error']('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x2e5d01['response'][_0x109f8d(0x1cd)]+'\x20'+_0x2e5d01[_0x109f8d(0x1d4)][_0x109f8d(0x21e)]+'\x20'+JSON[_0x109f8d(0x1e3)](_0x2e5d01[_0x109f8d(0x1d4)]['data'])):logger['error']('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+(_0x2e5d01['message']||util[_0x109f8d(0x19d)](_0x2e5d01)));const _0x30f915={};return _0x30f915[_0x109f8d(0x1cd)]=_0x30f4c7['RLaMI'],_0x30f915['message']=_0x2e5d01[_0x109f8d(0x25a)]||(_0x2e5d01[_0x109f8d(0x1d4)]?_0x2e5d01['response'][_0x109f8d(0x1cd)]+':'+_0x2e5d01['response'][_0x109f8d(0x21e)]:_0x2e5d01),_0x30f915;}}),exports[a103_0x5afe2b(0x25c)]=async(_0x1dcdc7,_0x36192e=null,_0x45a32d=![],_0x33cc8b=null)=>{const _0x28c182=a103_0x5afe2b,_0xde0ed2={};_0xde0ed2[_0x28c182(0x21b)]=_0x28c182(0x29a),_0xde0ed2[_0x28c182(0x215)]=_0x28c182(0x1c4),_0xde0ed2[_0x28c182(0x1de)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.',_0xde0ed2[_0x28c182(0x1ca)]=function(_0x182ee,_0x5e9e00){return _0x182ee||_0x5e9e00;},_0xde0ed2[_0x28c182(0x2a9)]=_0x28c182(0x291),_0xde0ed2[_0x28c182(0x238)]=_0x28c182(0x295);const _0x306b89=_0xde0ed2;if(!this[_0x28c182(0x1b5)]()||!globals[_0x28c182(0x193)](_0x306b89[_0x28c182(0x21b)])||!_0x45a32d&&!globals[_0x28c182(0x193)](_0x306b89[_0x28c182(0x215)])){logger[_0x28c182(0x282)](_0x306b89['WiahB']);return;}const _0x5ca030=_0x45a32d?_0x306b89['aPMLg'](_0x33cc8b,{}):globals[_0x28c182(0x193)](_0x306b89[_0x28c182(0x2a9)])||{},_0xe6a557={};_0xe6a557[_0x28c182(0x23d)]=_0x36192e||global[_0x28c182(0x27e)];const _0x2040db=Object['assign']({},_0x5ca030,_0xe6a557);await this[_0x28c182(0x283)](_0x1dcdc7)&&(Object[_0x28c182(0x19e)](_0x2040db,this[_0x28c182(0x28a)](),{'thTestRunUuid':this[_0x28c182(0x1d1)]()}),logger['debug'](_0x306b89['duBBI']));logger[_0x28c182(0x1ba)]('[Accessibility]\x20Selenium\x20performScan\x20payload:\x20'+util[_0x28c182(0x19d)]('%j',_0x2040db));const _0x485def={};return _0x485def[_0x28c182(0x1a5)]=_0x36192e,await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x28c182(0x253)],async()=>{const _0x49b357=_0x28c182;try{await _0x1dcdc7[_0x49b357(0x28c)](()=>_0x1dcdc7[_0x49b357(0x1e4)]('return\x20document.readyState\x20===\x20\x22complete\x22'),0x1388);}catch(_0x37394a){}const _0x37138b=util[_0x49b357(0x19d)](await _0x1dcdc7['executeAsyncScript'](scripts['performScan'],_0x2040db));return logger[_0x49b357(0x1ba)](_0x49b357(0x1b2)+_0x37138b),_0x37138b;},_0x485def)();},exports['getAccessibilityResults']=async(_0x59cf04,_0x25b5bb)=>{const _0x36e33f=a103_0x5afe2b,_0x10bbd1={};_0x10bbd1[_0x36e33f(0x2a5)]=_0x36e33f(0x267),_0x10bbd1[_0x36e33f(0x286)]='isAccessibilityPlatform',_0x10bbd1['oewZW']=_0x36e33f(0x1c4),_0x10bbd1[_0x36e33f(0x1b3)]=_0x36e33f(0x2a2),_0x10bbd1[_0x36e33f(0x292)]='getAccessibilityResults',_0x10bbd1[_0x36e33f(0x18f)]=_0x36e33f(0x26f);const _0x560003=_0x10bbd1;if(!this['isAccessibilityAutomationSession']()||!globals[_0x36e33f(0x193)](_0x560003[_0x36e33f(0x286)])||!globals[_0x36e33f(0x193)](_0x560003[_0x36e33f(0x275)]))return logger[_0x36e33f(0x282)](_0x560003[_0x36e33f(0x1b3)]),[];try{const _0x3088fe=await this[_0x36e33f(0x283)](_0x59cf04),_0x4fdd42=_0x3088fe?Object[_0x36e33f(0x19e)]({},this[_0x36e33f(0x28a)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x3088fe&&logger['debug'](_0x36e33f(0x1e9)+util[_0x36e33f(0x19d)]('%j',_0x4fdd42)),await PerformanceTester[_0x36e33f(0x1a1)](PerformanceA11yEvents[_0x36e33f(0x253)],async()=>{const _0x2e82ae=_0x36e33f;logger[_0x2e82ae(0x1ba)](_0x560003[_0x2e82ae(0x2a5)]);const _0x123bd8={};_0x123bd8['method']=_0x25b5bb[_0x2e82ae(0x27e)];const _0xccb278=Object[_0x2e82ae(0x19e)](_0x123bd8,_0x4fdd42);logger['debug'](util[_0x2e82ae(0x19d)](await _0x59cf04[_0x2e82ae(0x277)](scripts[_0x2e82ae(0x25c)],_0xccb278)));},{'command':_0x560003[_0x36e33f(0x292)]})(),await PerformanceTester[_0x36e33f(0x1a1)](PerformanceA11yEvents[_0x36e33f(0x2a3)],async()=>{const _0x4d1e39=_0x36e33f,_0x298d7d=_0x3088fe?await _0x59cf04[_0x4d1e39(0x277)](scripts['getResults'],_0x4fdd42):await _0x59cf04[_0x4d1e39(0x277)](scripts['getResults']);return _0x298d7d;})();}catch{return logger[_0x36e33f(0x202)](_0x560003[_0x36e33f(0x18f)]),[];}},exports[a103_0x5afe2b(0x20c)]=async(_0x1a3b9f,_0x4ffeaf)=>{const _0x33f603=a103_0x5afe2b,_0x3ff9b9={};_0x3ff9b9[_0x33f603(0x237)]=_0x33f603(0x2ac),_0x3ff9b9[_0x33f603(0x1a6)]=_0x33f603(0x29a),_0x3ff9b9['iHWpY']=_0x33f603(0x1c4),_0x3ff9b9['mhBzV']=_0x33f603(0x298),_0x3ff9b9[_0x33f603(0x1ae)]=_0x33f603(0x20c),_0x3ff9b9[_0x33f603(0x263)]='No\x20accessibility\x20summary\x20was\x20found.';const _0x36d28b=_0x3ff9b9;if(!this[_0x33f603(0x1b5)]()||!globals['getGlobal'](_0x36d28b[_0x33f603(0x1a6)])||!globals[_0x33f603(0x193)](_0x36d28b[_0x33f603(0x257)]))return logger[_0x33f603(0x282)](_0x36d28b[_0x33f603(0x211)]),{};try{const _0x379bc9=await this['isMobileAccessibilitySession'](_0x1a3b9f),_0x3412f6=_0x379bc9?Object['assign']({},this[_0x33f603(0x28a)](),{'thTestRunUuid':this[_0x33f603(0x1d1)]()}):{};return _0x379bc9&&logger['debug'](_0x33f603(0x28f)+util[_0x33f603(0x19d)]('%j',_0x3412f6)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x33f603(0x253)],async()=>{const _0x55b7fd=_0x33f603;logger['debug'](_0x36d28b[_0x55b7fd(0x237)]);const _0x2ec99a={};_0x2ec99a[_0x55b7fd(0x23d)]=_0x4ffeaf[_0x55b7fd(0x27e)];const _0x15a77a=Object['assign'](_0x2ec99a,_0x3412f6);logger[_0x55b7fd(0x1ba)](util[_0x55b7fd(0x19d)](await _0x1a3b9f['executeAsyncScript'](scripts[_0x55b7fd(0x25c)],_0x15a77a)));},{'command':_0x36d28b[_0x33f603(0x1ae)]})(),await PerformanceTester[_0x33f603(0x1a1)](PerformanceA11yEvents[_0x33f603(0x22d)],async()=>{const _0x1deb7a=_0x33f603,_0x573802=_0x379bc9?await _0x1a3b9f[_0x1deb7a(0x277)](scripts[_0x1deb7a(0x1d5)],_0x3412f6):await _0x1a3b9f[_0x1deb7a(0x277)](scripts['getResultsSummary']);return _0x573802;})();}catch{return logger[_0x33f603(0x202)](_0x36d28b[_0x33f603(0x263)]),{};}},exports['isMobileAccessibilityPlatform']=(_0x372188,_0x2f2d88=![])=>{const _0x3096fc=a103_0x5afe2b,_0xfe90e1={'CHonX':function(_0x42fc9b,_0x44b2ae){return _0x42fc9b(_0x44b2ae);},'TPAnt':function(_0x3f13b6,_0x2a4924){return _0x3f13b6(_0x2a4924);},'LgExf':_0x3096fc(0x2a6),'Slazk':function(_0x3dcc59,_0x5e2a48){return _0x3dcc59!==_0x5e2a48;},'HXbYy':_0x3096fc(0x2ab),'taKug':_0x3096fc(0x1f1),'QYekO':_0x3096fc(0x1db),'Iiuzw':'Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','wwmNH':_0x3096fc(0x231)};try{if(!_0x372188)return![];const _0x3d1b05=_0x428337=>typeof _0x372188[_0x3096fc(0x1be)]===_0x3096fc(0x1fe)?_0x372188['get'](_0x428337):_0x372188[_0x428337],_0x2c0792=_0xfe90e1['CHonX'](String,_0xfe90e1[_0x3096fc(0x1f6)](_0x3d1b05,_0xfe90e1[_0x3096fc(0x247)])||'')['toLowerCase']();if(_0xfe90e1['Slazk'](_0x2c0792,_0xfe90e1[_0x3096fc(0x251)]))return![];const _0x3a6c93=_0xfe90e1[_0x3096fc(0x1e8)](String,_0xfe90e1[_0x3096fc(0x1e8)](_0x3d1b05,_0xfe90e1[_0x3096fc(0x29f)])||'')[_0x3096fc(0x1b8)]();if(!_0x3a6c93['includes'](_0xfe90e1[_0x3096fc(0x1c3)]))return _0x2f2d88&&logger['warn'](_0xfe90e1[_0x3096fc(0x1d3)]),![];return logger['debug'](_0xfe90e1[_0x3096fc(0x281)]),!![];}catch(_0x788b0e){return logger['debug'](_0x3096fc(0x1e2)+_0x788b0e),![];}},exports[a103_0x5afe2b(0x283)]=async _0x164416=>{const _0xb002b6=a103_0x5afe2b;try{const _0x43a6e7=await _0x164416[_0xb002b6(0x1df)]();return exports['isMobileAccessibilityPlatform'](_0x43a6e7);}catch(_0x4641a1){return logger[_0xb002b6(0x1ba)](_0xb002b6(0x1ac)+_0x4641a1),![];}},exports[a103_0x5afe2b(0x28a)]=()=>{const _0x56f18d={};return _0x56f18d['is_mobile_session']=!![],_0x56f18d;},exports[a103_0x5afe2b(0x1d1)]=()=>{const _0x593245=a103_0x5afe2b,_0x2c6fd2={};_0x2c6fd2['EfYeg']=function(_0xc96ac2,_0x2c8766){return _0xc96ac2===_0x2c8766;},_0x2c6fd2[_0x593245(0x1fd)]=_0x593245(0x260),_0x2c6fd2[_0x593245(0x24d)]=function(_0x2d9a30,_0x3e0697){return _0x2d9a30>_0x3e0697;},_0x2c6fd2[_0x593245(0x296)]=_0x593245(0x1fc),_0x2c6fd2[_0x593245(0x1fa)]=_0x593245(0x224),_0x2c6fd2['uXkYv']=function(_0x332ec8,_0x1d8178){return _0x332ec8===_0x1d8178;},_0x2c6fd2['HgRsB']=_0x593245(0x264);const _0x4ac2e1=_0x2c6fd2,_0x141c87=global[_0x593245(0x272)],_0x94e85a=_0x141c87&&_0x141c87[_0x593245(0x210)],_0xc45dc6=_0x94e85a&&_0x94e85a[_0x593245(0x29c)];if(_0x4ac2e1[_0x593245(0x287)](typeof _0xc45dc6,_0x4ac2e1[_0x593245(0x1fd)])&&_0x4ac2e1['pPsPn'](_0xc45dc6[_0x593245(0x259)],0x0))return _0xc45dc6;let _0x1ec21b;if(!_0x141c87)_0x1ec21b=_0x4ac2e1['eooMm'];else!_0x94e85a?_0x1ec21b=_0x4ac2e1[_0x593245(0x1fa)]:_0x1ec21b=_0x593245(0x256)+Object[_0x593245(0x229)](_0x94e85a)[_0x593245(0x243)](',\x20')+_0x593245(0x233)+(_0x4ac2e1[_0x593245(0x225)](_0xc45dc6,undefined)?_0x4ac2e1[_0x593245(0x1c0)]:'\x22'+_0xc45dc6+'\x22')+'.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.';return logger[_0x593245(0x282)](_0x593245(0x199)+_0x1ec21b+_0x593245(0x23b)),'';},exports['isBrowserStackCommandExecutor']=_0x31f4b1=>{const _0x105af2=a103_0x5afe2b,_0x3f302d={};_0x3f302d[_0x105af2(0x1ef)]=function(_0x45261b,_0xbba53f){return _0x45261b===_0xbba53f;},_0x3f302d[_0x105af2(0x1eb)]='string',_0x3f302d[_0x105af2(0x1ee)]=_0x105af2(0x27d);const _0x251520=_0x3f302d;if(_0x31f4b1&&_0x31f4b1['script']&&_0x251520[_0x105af2(0x1ef)](typeof _0x31f4b1[_0x105af2(0x1af)],_0x251520[_0x105af2(0x1eb)]))return _0x31f4b1['script']['includes'](_0x251520[_0x105af2(0x1ee)]);return![];},exports['MOBILE_SCANNING_DISABLED_WARNING']=a103_0x5afe2b(0x1f8),exports[a103_0x5afe2b(0x230)]=()=>process['env'][a103_0x5afe2b(0x228)]===a103_0x5afe2b(0x1c2),exports[a103_0x5afe2b(0x1c8)]=_0x4a37de=>{const _0x5a00ba=a103_0x5afe2b,_0x47d2e8={};_0x47d2e8[_0x5a00ba(0x269)]=function(_0x3e3bb1,_0x121ddd){return _0x3e3bb1 in _0x121ddd;};const _0x3f7ccd=_0x47d2e8;if(bsSetupHelper['isUndefined'](_0x4a37de))return![];const _0x237e60=_0x4a37de[_0x5a00ba(0x1b8)]();return _0x3f7ccd[_0x5a00ba(0x269)](_0x237e60,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports['getBrowserA11yConfig']=_0x25fe96=>{const _0x34b408=a103_0x5afe2b;if(bsSetupHelper[_0x34b408(0x2aa)](_0x25fe96))return null;const _0x2240ae=_0x25fe96[_0x34b408(0x1b8)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x2240ae]||null;},exports[a103_0x5afe2b(0x26a)]=(_0x9e8263,_0x310120)=>{const _0x4f69df=a103_0x5afe2b,_0x11c71b=this[_0x4f69df(0x1dd)](_0x9e8263);if(!_0x11c71b)return null;if(_0x310120)return _0x11c71b[_0x4f69df(0x21f)];return _0x11c71b['min_version_non_browserstack'];},exports['getBrowserDisplayName']=_0x37d981=>{const _0x42296d=a103_0x5afe2b,_0x4b9686=this[_0x42296d(0x1dd)](_0x37d981);return _0x4b9686?_0x4b9686[_0x42296d(0x2a4)]:_0x37d981;},exports[a103_0x5afe2b(0x1d6)]=_0x237383=>{const _0x548a=a103_0x5afe2b,_0x3cc02f=this[_0x548a(0x1dd)](_0x237383);return _0x3cc02f?_0x3cc02f[_0x548a(0x1f5)]:![];},exports[a103_0x5afe2b(0x214)]=(_0x5b48fb,_0x5ea142)=>{const _0x3710ad=a103_0x5afe2b,_0xf40552={'Bddop':function(_0x56de70,_0x53a8d0){return _0x56de70(_0x53a8d0);},'SWKgv':function(_0x70dd0b,_0x440333){return _0x70dd0b(_0x440333);},'rxLnv':function(_0x37155c,_0x7bb60){return _0x37155c>=_0x7bb60;}};if(bsSetupHelper[_0x3710ad(0x2aa)](_0x5b48fb)||bsSetupHelper[_0x3710ad(0x2aa)](_0x5ea142))return![];const _0x1a3f15=bsSetupHelper[_0x3710ad(0x201)](_0xf40552[_0x3710ad(0x27c)](String,_0x5b48fb),_0xf40552[_0x3710ad(0x1ab)](String,_0x5ea142));return _0xf40552[_0x3710ad(0x220)](_0x1a3f15,0x0);},exports[a103_0x5afe2b(0x1da)]=_0x4f9c59=>{const _0x39c4c7=a103_0x5afe2b,_0x53a2bc={};_0x53a2bc[_0x39c4c7(0x1ff)]=function(_0x407cf5,_0x68ecaa){return _0x407cf5!==_0x68ecaa;},_0x53a2bc[_0x39c4c7(0x232)]=_0x39c4c7(0x260),_0x53a2bc['yCIcT']=_0x39c4c7(0x19a);const _0x20c80d=_0x53a2bc;if(!_0x4f9c59||_0x20c80d[_0x39c4c7(0x1ff)](typeof _0x4f9c59,_0x20c80d[_0x39c4c7(0x232)]))return null;try{return JSON[_0x39c4c7(0x200)](Buffer['from'](_0x4f9c59[_0x39c4c7(0x194)]('.')[0x1],_0x20c80d[_0x39c4c7(0x276)])['toString']());}catch{return null;}};
|
|
1
|
+
function a103_0x47dc(_0x2dc814,_0x4e79bf){const _0x30ed35=a103_0x30ed();return a103_0x47dc=function(_0x47dcef,_0x3769e3){_0x47dcef=_0x47dcef-0x19f;let _0x47fd0c=_0x30ed35[_0x47dcef];return _0x47fd0c;},a103_0x47dc(_0x2dc814,_0x4e79bf);}function a103_0x30ed(){const _0x5ab5b3=['undefined','parse','NwbgW','getCapabilities','getResults','createAccessibilityTestRun','debug','5010995MFfcEp','bstackA11yShouldScan','GFNTE','version','parseA11yJwtPayload','WgmVp','qHheY','json','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','ZIIyT','toLowerCase','javascript','isMobileAccessibilitySession','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','buildDescription','platformName','toISOString','Invalid\x20configuration\x20passed.','GLxbp','nwJXf','Not\x20a\x20Accessibility\x20Session','requiresChromeOptionsValidation','NPxMc','getAccessibilityResultsSummary','getPackageVersion','DeKJf','9592pguFAA','get','Performing\x20scan\x20before\x20getting\x20results','capabilities_','ChromeExtension','browserstackSessionName','display_name','min_version_browserstack','selenium-webdriver','success','error','yzACV','isBrowserStackCommandExecutor','split','getResultsSummary','true','--headless','wait','trim','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','keys','browserstack','performScan','pejts','statusText','device','map','dLWPT','MNYsU','getBrowserVersion','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Content-Type','IyVcD','fetchPlatformDetails','script','executeScript','getMinVersionForBrowser','chrome','bARtK','Performed\x20scan\x20with\x20result:\x20','FpLWo','executeAsyncScript','yPgQW','getBrowserA11yConfig','stringify','6lwelWD','getMobileA11yCapabilities','false','vvtUl','a11y:start','ftrAm','ebvmx','info','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','getBrowserDisplayName','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','ovsmr','status','DSQER','measureWrapper','--headless=new','./scripts','xwEBd','KXojs','--headless=','currentTest','BROWSERSTACK_TURBOSCALE','MoBdy','application/json','selenium-webdriver/chrome.js','No\x20accessibility\x20summary\x20was\x20found.','AxhxN','format','oENeF','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','method','browserVersion','BROWSERSTACK_TEST_ACCESSIBILITY_YML','UYfec','atRQz','phWMR','OYYDQ','playwright','CAkcU','excludeTagsInTestingScope','data','auth','getAccessKey','isBrowserstackInfra','thTestRunUuid','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','getCiInfo','HwHAy','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','pIvPz','cuGpL','includeTagsInTestingScope','message','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','MOBILE_SCANNING_DISABLED_WARNING','isArray','LEzmb','IdNcX','tzwTm','fPWPL','176VISMJP','QEdtr','requires_chrome_options_check','join','bstackA11yScanOptions','some','PUT','response','toString','user','LmvWU','forEach','getGitMetaData','chromeOptions_','getPlatform','YGloe','min_version_non_browserstack','replace','body','657gTtPra','oVdSm','miiEt','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','VHiPm','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','isUndefined','tsFPb','Options','khZvR','AkhWb','cwd','BS_A11Y_JWT','mYXVS','path','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','isMobileScanningEnabledForGroup','resolveMobileThTestRunUuid','mbInl','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','base64','xqPdh','Invalid\x20request:\x20','iGWdM','command','KNEuz','test_runs/stop','noCzK','4sClQkS','mergeDeep','getUserName','GET_RESULTS_SUMMARY','includes','resolve','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','bstack:options','nestedKeyValue','options_','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','v2/test_runs','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','XiODl','browserstack_executor','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','GET_RESULTS','winstonLogger','from','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','parseFromJson','gnycT','2530284TppDnp','browserName','XThSf','gLrAE','is_mobile_session','basename','4790982DyghcN','isMobileAccessibilityPlatform','projectName','aJGGK','isAccessibilityPlatform','HTNoR','Authorization','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','1029150HUhLIl','LUBnK','warn','shouldScanTestForAccessibility','isBrowserSupportedForAccessibility','UQoKX','string','stack','accessibilityToken','../performance/performance-tester','toJson','kLQYA','qMVaV','DwJUf','yOSUq','android','bvxAI','386892rXQhUY','nodeRequest',']\x20but\x20thTestRunUuid\x20is\x20','../performance/constants','No\x20accessibility\x20results\x20were\x20found.','FqzzD','env','util','oyeje','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','MLjGO','getBrowserName','XiGPj','assign','MPgGr','WTLXK','isTrue','ktmOb','JUDJA','292913KxBolU','hBGcQ','ZoCZz','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','HltZg','dxZxw','goog:chromeOptions','hrpkI','KVEmK','fVfhv','FKFtk','requireModule','buildName','checkAccessibilityPlatformConfig','length','CtotD','mRktF','startsWith','getGlobal','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).','null','headers','RpcLL','OFhAV','OtGLC','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','function','PERFORM_SCAN','stopAccessibilityTestRun','nonBstackPlatformValidation','args','__cloud_provider___','getAccessibilityResults','MhwWy','getHostInfo','errors','isAccessibilityAutomationSession','isVersionSupported'];a103_0x30ed=function(){return _0x5ab5b3;};return a103_0x30ed();}const a103_0x42e760=a103_0x47dc;(function(_0x397f82,_0xbe6578){const _0x51cb8b=a103_0x47dc,_0xd072d8=_0x397f82();while(!![]){try{const _0x5bd1f5=-parseInt(_0x51cb8b(0x231))/0x1*(parseInt(_0x51cb8b(0x1e9))/0x2)+-parseInt(_0x51cb8b(0x1ff))/0x3+-parseInt(_0x51cb8b(0x21e))/0x4+parseInt(_0x51cb8b(0x25e))/0x5*(parseInt(_0x51cb8b(0x2a5))/0x6)+-parseInt(_0x51cb8b(0x205))/0x7+-parseInt(_0x51cb8b(0x278))/0x8*(-parseInt(_0x51cb8b(0x1cd))/0x9)+parseInt(_0x51cb8b(0x20d))/0xa*(parseInt(_0x51cb8b(0x1ba))/0xb);if(_0x5bd1f5===_0xbe6578)break;else _0xd072d8['push'](_0xd072d8['shift']());}catch(_0x3212db){_0xd072d8['push'](_0xd072d8['shift']());}}}(a103_0x30ed,0x8068b));const path=require(a103_0x42e760(0x1db)),util=require(a103_0x42e760(0x225)),bsSetupHelper=require('../helper'),logger=require('../logger')[a103_0x42e760(0x1fa)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require('./constants'),PerformanceTester=require(a103_0x42e760(0x216)),scripts=require(a103_0x42e760(0x2b5)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a103_0x42e760(0x221));exports[a103_0x42e760(0x299)]=async _0x34ec59=>{const _0x17ef43=a103_0x42e760,_0x148cee={};_0x148cee['KNEuz']=function(_0x489419,_0x204b0c){return _0x489419===_0x204b0c;},_0x148cee[_0x17ef43(0x1a0)]=_0x17ef43(0x28d);const _0x14a936=_0x148cee;let _0x525925={};try{const _0x12feb9=await _0x34ec59[_0x17ef43(0x25a)]();_0x525925={'os_name':_0x12feb9[_0x17ef43(0x1c8)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x14a936[_0x17ef43(0x1e6)](global[_0x17ef43(0x250)],_0x14a936[_0x17ef43(0x1a0)])),'browser_name':_0x12feb9[_0x17ef43(0x229)](),'browser_version':_0x12feb9[_0x17ef43(0x295)]()};}catch(_0x5055e9){logger['debug'](_0x17ef43(0x1fc)+_0x5055e9);}return _0x525925;},exports[a103_0x42e760(0x255)]=()=>{const _0x56694e=a103_0x42e760,_0x120f74={};_0x120f74[_0x56694e(0x1a4)]=function(_0x4ac31f,_0x548dd8){return _0x4ac31f===_0x548dd8;},_0x120f74[_0x56694e(0x1d4)]=_0x56694e(0x213),_0x120f74['yOSUq']=function(_0x524f0b,_0x206de5){return _0x524f0b>_0x206de5;},_0x120f74[_0x56694e(0x238)]=function(_0x56400a,_0x4ab750){return _0x56400a!==_0x4ab750;},_0x120f74[_0x56694e(0x202)]=_0x56694e(0x245),_0x120f74[_0x56694e(0x233)]=function(_0xb908ec,_0x4d091b){return _0xb908ec&&_0x4d091b;};const _0x1b3894=_0x120f74;try{const _0x15960c=bsSetupHelper['isTrue'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper['isTrue'](process[_0x56694e(0x224)][_0x56694e(0x266)]),_0x2b44a4=_0x1b3894[_0x56694e(0x1a4)](typeof process[_0x56694e(0x224)][_0x56694e(0x1d9)],_0x1b3894[_0x56694e(0x1d4)])&&_0x1b3894[_0x56694e(0x21b)](process['env']['BS_A11Y_JWT'][_0x56694e(0x23f)],0x0)&&_0x1b3894['hrpkI'](process['env']['BS_A11Y_JWT'],_0x1b3894['gLrAE']);return _0x1b3894[_0x56694e(0x233)](_0x15960c,_0x2b44a4);}catch(_0x554271){logger[_0x56694e(0x25d)](_0x56694e(0x227)+_0x554271);}return![];},exports[a103_0x42e760(0x24e)]=(_0x1d70f6,_0x385149)=>{const _0x56ebca=a103_0x42e760,_0x10e982={'iGWdM':_0x56ebca(0x200),'vvtUl':function(_0x2521e2,_0x160eb8){return _0x2521e2(_0x160eb8);},'aJGGK':_0x56ebca(0x2c4),'dLWPT':_0x56ebca(0x261),'ebvmx':_0x56ebca(0x1f0),'mbInl':'deviceName','FKFtk':_0x56ebca(0x291),'XiGPj':_0x56ebca(0x1d2),'noCzK':_0x56ebca(0x2bd),'hIpNI':_0x56ebca(0x280),'MoBdy':_0x56ebca(0x1f2),'DwJUf':_0x56ebca(0x24f),'HTNoR':'chromeOptions','WgmVp':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','bvxAI':_0x56ebca(0x237),'yPgQW':function(_0x2c9e0e,_0x4ab244){return _0x2c9e0e===_0x4ab244;},'AkhWb':_0x56ebca(0x29d),'IuMBG':function(_0x56ddd9,_0x10c813){return _0x56ddd9>=_0x10c813;}},_0x51db1a=_0x1d70f6[_0x56ebca(0x279)](_0x10e982[_0x56ebca(0x1e4)]),_0x347a03=_0x10e982[_0x56ebca(0x2a8)](parseFloat,_0x1d70f6[_0x56ebca(0x279)](_0x10e982[_0x56ebca(0x208)]))||_0x10e982['vvtUl'](parseFloat,_0x1d70f6['get'](_0x10e982[_0x56ebca(0x293)])),_0x355d26=_0x1d70f6['get'](_0x10e982[_0x56ebca(0x2ab)])||{},_0x1a28d3=_0x10e982[_0x56ebca(0x2a8)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0xd9956d=_0x355d26[_0x10e982[_0x56ebca(0x1df)]]||_0x1d70f6[_0x56ebca(0x279)](_0x10e982[_0x56ebca(0x23b)])||![];if(_0xd9956d)return logger[_0x56ebca(0x20f)](_0x10e982[_0x56ebca(0x22a)]),![];let _0x407522;try{_0x407522=bsSetupHelper[_0x56ebca(0x23c)](_0x10e982[_0x56ebca(0x1e8)],_0x10e982['hIpNI']);}catch(_0x19ee0b){return![];}const _0x25b564=new _0x407522[(_0x56ebca(0x1d5))](_0x385149[_0x56ebca(0x1c7)]),_0xb6c168=bsSetupHelper[_0x56ebca(0x1f1)](_0x25b564,[_0x10e982[_0x56ebca(0x2bb)],_0x10e982[_0x56ebca(0x21a)]])||bsSetupHelper[_0x56ebca(0x1f1)](_0x385149[_0x56ebca(0x27b)],[_0x10e982[_0x56ebca(0x2ab)],_0x10e982[_0x56ebca(0x20a)],_0x10e982[_0x56ebca(0x21a)]])||bsSetupHelper[_0x56ebca(0x1f1)](_0x385149[_0x56ebca(0x27b)],[_0x10e982[_0x56ebca(0x20a)],_0x10e982[_0x56ebca(0x21a)]])||[],_0x4c93e6=Array[_0x56ebca(0x1b5)](_0xb6c168)?_0xb6c168:[];if(_0x4c93e6[_0x56ebca(0x1bf)](_0x49b3d2=>typeof _0x49b3d2===_0x56ebca(0x213)&&(_0x49b3d2===_0x56ebca(0x288)||_0x49b3d2[_0x56ebca(0x242)](_0x56ebca(0x2b8))&&_0x49b3d2!==_0x56ebca(0x2b4))))return logger[_0x56ebca(0x20f)](_0x10e982['WgmVp']),![];const _0x572daf=_0x385149['capabilities_']||{},_0x1a6ca3=bsSetupHelper[_0x56ebca(0x1f1)](_0x572daf,[_0x10e982[_0x56ebca(0x21d)]])||{},_0x28c5f1=bsSetupHelper[_0x56ebca(0x1f1)](_0x1a6ca3,[_0x10e982[_0x56ebca(0x21a)]])||[],_0x206c58=Array['isArray'](_0x28c5f1)?_0x28c5f1:[];if(_0x206c58['some'](_0x4b9691=>typeof _0x4b9691===_0x56ebca(0x213)&&(_0x4b9691===_0x56ebca(0x288)||_0x4b9691[_0x56ebca(0x242)](_0x56ebca(0x2b8))&&_0x4b9691!==_0x56ebca(0x2b4))))return logger[_0x56ebca(0x20f)](_0x10e982[_0x56ebca(0x263)]),![];if(_0x10e982[_0x56ebca(0x2a2)](_0x51db1a['toLowerCase'](),_0x10e982[_0x56ebca(0x1d7)])&&_0x10e982['IuMBG'](_0x347a03,_0x1a28d3))return!![];return logger[_0x56ebca(0x20f)](_0x56ebca(0x234)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0x1b416e=>{const _0x47a70b=a103_0x42e760,_0x481c12={};_0x481c12['ovsmr']=_0x47a70b(0x237),_0x481c12['oENeF']=function(_0x207cdd,_0x1cd385){return _0x207cdd||_0x1cd385;},_0x481c12[_0x47a70b(0x1e2)]=_0x47a70b(0x272);const _0x1c9b5a=_0x481c12,_0x7fceee=scripts[_0x47a70b(0x27c)];try{const _0x5c080a=bsSetupHelper[_0x47a70b(0x22e)](process[_0x47a70b(0x224)][_0x47a70b(0x2c5)])||bsSetupHelper[_0x47a70b(0x22e)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper[_0x47a70b(0x1a9)]()||process['env'][_0x47a70b(0x2ba)])&&_0x5c080a){const _0x354db7=_0x1b416e['getCapabilities'](),_0xecb953=_0x354db7[_0x47a70b(0x279)](_0x1c9b5a['ovsmr']),_0x5bb467=_0x1c9b5a[_0x47a70b(0x2c1)](_0xecb953,{});bsSetupHelper[_0x47a70b(0x1ea)](_0x5bb467,_0x7fceee),_0x1b416e['getCapabilities']()['set'](_0x1c9b5a[_0x47a70b(0x2b0)],_0x5bb467);}else logger[_0x47a70b(0x20f)](_0x1c9b5a['xqPdh']);}catch(_0xff8ef3){logger[_0x47a70b(0x282)](_0x47a70b(0x26b)+_0xff8ef3);}},exports[a103_0x42e760(0x210)]=(_0x16ee4f=null,_0x14310e=!![],_0x2408f8=[])=>{const _0x265eae=a103_0x42e760,_0x4c9b91={};_0x4c9b91[_0x265eae(0x230)]=function(_0x2ad003,_0x547150){return _0x2ad003==_0x547150;},_0x4c9b91[_0x265eae(0x271)]=function(_0x6fd11,_0x25a968){return _0x6fd11>_0x25a968;},_0x4c9b91[_0x265eae(0x260)]=function(_0x57ac7d,_0x41fdda){return _0x57ac7d===_0x41fdda;},_0x4c9b91[_0x265eae(0x19f)]=function(_0x4b1bda,_0xcb87ac){return _0x4b1bda&&_0xcb87ac;},_0x4c9b91[_0x265eae(0x22c)]=function(_0x8b0b2c,_0x248afb){return _0x8b0b2c&&_0x248afb;};const _0xe7b41e=_0x4c9b91;if(_0xe7b41e[_0x265eae(0x230)](process[_0x265eae(0x224)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x450d78=JSON[_0x265eae(0x258)](process[_0x265eae(0x224)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x565003=Array[_0x265eae(0x1b5)](_0x450d78[_0x265eae(0x1b1)])?_0x450d78[_0x265eae(0x1b1)]:[],_0x295969=Array[_0x265eae(0x1b5)](_0x450d78[_0x265eae(0x1a5)])?_0x450d78[_0x265eae(0x1a5)]:[],_0x17d5d8=_0x5541df=>typeof _0x5541df==='string'?_0x5541df[_0x265eae(0x1cb)](/^@/,'')['toLowerCase']()[_0x265eae(0x28a)]():_0x5541df;if(bsSetupHelper[_0x265eae(0x1d3)](_0x16ee4f)){if(_0xe7b41e[_0x265eae(0x271)](_0x2408f8[_0x265eae(0x23f)],0x0)){const _0x5382aa=_0x2408f8[_0x265eae(0x292)](_0x17d5d8),_0x5864a7=_0x295969[_0x265eae(0x1bf)](_0x54b758=>_0x5382aa[_0x265eae(0x1ed)](_0x17d5d8(_0x54b758))),_0x692aa9=_0xe7b41e[_0x265eae(0x260)](_0x565003[_0x265eae(0x23f)],0x0)||_0x565003[_0x265eae(0x1bf)](_0x286868=>_0x5382aa[_0x265eae(0x1ed)](_0x17d5d8(_0x286868)));return _0xe7b41e[_0x265eae(0x19f)](!_0x5864a7,_0x692aa9);}return!![];}let _0x937d95;_0x14310e?_0x937d95=_0x16ee4f[_0x265eae(0x1bd)]('/'):_0x937d95=_0x16ee4f;const _0x3b3c6f=_0x295969[_0x265eae(0x1bf)](_0x567e5c=>_0x937d95[_0x265eae(0x268)]()['includes'](_0x17d5d8(_0x567e5c)['toLowerCase']())),_0x572970=_0xe7b41e['GFNTE'](_0x565003[_0x265eae(0x23f)],0x0)||_0x565003[_0x265eae(0x1bf)](_0x1fe9ae=>_0x937d95[_0x265eae(0x268)]()['includes'](_0x17d5d8(_0x1fe9ae)['toLowerCase']()));return _0xe7b41e[_0x265eae(0x22c)](!_0x3b3c6f,_0x572970);}catch(_0x26a979){logger[_0x265eae(0x25d)](_0x265eae(0x1ae)+util['format'](_0x26a979));}return![];},exports[a103_0x42e760(0x23e)]=_0x4bc62c=>{const _0x12f30c=a103_0x42e760;let _0x1a47ea=![];try{_0x4bc62c['platforms'][_0x12f30c(0x1c5)](_0x3549fb=>{if(bsSetupHelper['isTrue'](_0x3549fb['accessibility']))return _0x1a47ea=!![],!![];});}catch(_0x306135){logger[_0x12f30c(0x25d)]('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x306135);}return _0x1a47ea||bsSetupHelper[_0x12f30c(0x22e)](_0x4bc62c['accessibility']);},exports[a103_0x42e760(0x25c)]=PerformanceTester['measureWrapper'](a103_0x42e760(0x2a9),async function(_0x366862,_0x1d0b56){const _0x4220a7=a103_0x42e760,_0x450485={};_0x450485['tgxWj']=_0x4220a7(0x1f3),_0x450485[_0x4220a7(0x264)]=_0x4220a7(0x1a3),_0x450485['IdNcX']=_0x4220a7(0x269),_0x450485[_0x4220a7(0x274)]=_0x4220a7(0x2bc),_0x450485[_0x4220a7(0x235)]='POST',_0x450485[_0x4220a7(0x1b9)]=_0x4220a7(0x1f4),_0x450485[_0x4220a7(0x1b0)]=function(_0x142592,_0x2a1e49){return _0x142592===_0x2a1e49;},_0x450485['IyVcD']=_0x4220a7(0x26f),_0x450485[_0x4220a7(0x1d6)]=_0x4220a7(0x2a7);const _0x56e232=_0x450485,_0x36a694=bsSetupHelper[_0x4220a7(0x1eb)](_0x366862),_0x5128c7=bsSetupHelper[_0x4220a7(0x1a8)](_0x366862);if(bsSetupHelper['isUndefined'](_0x36a694)||bsSetupHelper[_0x4220a7(0x1d3)](_0x5128c7))return logger['error'](_0x56e232['tgxWj']),[null,null];try{let _0x450daf;bsSetupHelper[_0x4220a7(0x1d3)](process[_0x4220a7(0x224)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x450daf={}:_0x450daf=JSON[_0x4220a7(0x258)](process[_0x4220a7(0x224)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x297f5f,version:_0x461e17}=bsSetupHelper['getTestFrameworkDetails'](_0x366862,_0x1d0b56),_0x32de27={'projectName':_0x366862[_0x4220a7(0x207)],'buildName':_0x366862[_0x4220a7(0x23d)]||path[_0x4220a7(0x204)](path[_0x4220a7(0x1ee)](process[_0x4220a7(0x1d8)]())),'startTime':new Date()[_0x4220a7(0x26e)](),'description':_0x366862[_0x4220a7(0x26c)]||'','source':{'frameworkName':_0x1d0b56[_0x4220a7(0x1ed)](_0x56e232[_0x4220a7(0x264)])?_0x56e232[_0x4220a7(0x264)]:_0x1d0b56,'frameworkVersion':bsSetupHelper[_0x4220a7(0x276)](_0x1d0b56),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x56e232[_0x4220a7(0x1b7)],'testFramework':_0x297f5f,'testFrameworkVersion':_0x461e17},'settings':_0x450daf,'versionControl':await bsSetupHelper[_0x4220a7(0x1c6)](),'ciInfo':bsSetupHelper[_0x4220a7(0x1ac)](),'hostInfo':bsSetupHelper[_0x4220a7(0x253)](),'browserstackAutomation':bsSetupHelper[_0x4220a7(0x1a9)]()},_0x3d5f6f={};_0x3d5f6f[_0x4220a7(0x1c3)]=_0x36a694,_0x3d5f6f['pass']=_0x5128c7;const _0x5b5a5e={};_0x5b5a5e[_0x4220a7(0x297)]=_0x56e232[_0x4220a7(0x274)];const _0x562412={};_0x562412[_0x4220a7(0x1a7)]=_0x3d5f6f,_0x562412['headers']=_0x5b5a5e;const _0x5139d7=_0x562412,_0xe73ce5={};_0xe73ce5[_0x4220a7(0x1cc)]=_0x32de27,_0xe73ce5[_0x4220a7(0x265)]=!![];const _0x274729=Object[_0x4220a7(0x22b)](_0x5139d7,_0xe73ce5),_0x53ac20=await bsSetupHelper['nodeRequest'](_0x56e232[_0x4220a7(0x235)],_0x56e232['fPWPL'],_0x274729,_0x366862,API_URL);let _0x495b0d=process[_0x4220a7(0x224)][_0x4220a7(0x1e0)];return _0x495b0d?_0x495b0d=JSON[_0x4220a7(0x258)](process[_0x4220a7(0x224)][_0x4220a7(0x1e0)]):_0x495b0d={},scripts[_0x4220a7(0x1fd)](_0x53ac20[_0x4220a7(0x1a6)][_0x4220a7(0x1a6)]),scripts[_0x4220a7(0x217)](),_0x495b0d['scannerVersion']=_0x53ac20[_0x4220a7(0x1a6)][_0x4220a7(0x1a6)]['scannerVersion'],process[_0x4220a7(0x224)][_0x4220a7(0x1e0)]=JSON[_0x4220a7(0x2a4)](_0x495b0d),[_0x53ac20['data'][_0x4220a7(0x1a6)][_0x4220a7(0x215)],_0x53ac20[_0x4220a7(0x1a6)]['data']['id']];}catch(_0x19513f){if(_0x19513f['response'])logger[_0x4220a7(0x282)](_0x4220a7(0x20c)+_0x19513f[_0x4220a7(0x1c1)][_0x4220a7(0x2b1)]+'\x20'+_0x19513f[_0x4220a7(0x1c1)][_0x4220a7(0x290)]+'\x20'+JSON[_0x4220a7(0x2a4)](_0x19513f[_0x4220a7(0x1c1)][_0x4220a7(0x1a6)]));else{if(_0x56e232['cuGpL'](_0x19513f[_0x4220a7(0x1b2)],_0x56e232[_0x4220a7(0x298)])){logger[_0x4220a7(0x282)](_0x4220a7(0x20c)+(_0x19513f[_0x4220a7(0x1b2)]||_0x19513f[_0x4220a7(0x214)]));for(const _0x35f508 of _0x19513f[_0x4220a7(0x254)]){logger['error'](_0x35f508[_0x4220a7(0x1b2)]);}process[_0x4220a7(0x224)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x56e232[_0x4220a7(0x1d6)],process[_0x4220a7(0x224)][_0x4220a7(0x266)]=_0x56e232[_0x4220a7(0x1d6)];}else logger[_0x4220a7(0x282)](_0x4220a7(0x20c)+(_0x19513f['message']||_0x19513f[_0x4220a7(0x214)]));}return[null,null];}}),exports[a103_0x42e760(0x24d)]=PerformanceTester[a103_0x42e760(0x2b3)]('a11y:stop',async function(_0x1265f9){const _0xdd67ac=a103_0x42e760,_0x303c3d={};_0x303c3d[_0xdd67ac(0x2bf)]=function(_0x172f0a,_0x45a701){return _0x172f0a!==_0x45a701;},_0x303c3d[_0xdd67ac(0x2a0)]=_0xdd67ac(0x213),_0x303c3d[_0xdd67ac(0x248)]=_0xdd67ac(0x282),_0x303c3d[_0xdd67ac(0x2aa)]='Build\x20creation\x20had\x20failed.',_0x303c3d['YGloe']='application/json',_0x303c3d['tzwTm']=_0xdd67ac(0x1c0),_0x303c3d[_0xdd67ac(0x1ce)]=_0xdd67ac(0x1e7),_0x303c3d[_0xdd67ac(0x267)]=function(_0x3f5c00,_0x4125cd){return _0x3f5c00+_0x4125cd;},_0x303c3d[_0xdd67ac(0x277)]=_0xdd67ac(0x1e3),_0x303c3d[_0xdd67ac(0x29e)]=_0xdd67ac(0x281);const _0x327f78=_0x303c3d;if(bsSetupHelper['isUndefined'](process[_0xdd67ac(0x224)][_0xdd67ac(0x1d9)])||_0x327f78[_0xdd67ac(0x2bf)](typeof process['env'][_0xdd67ac(0x1d9)],_0x327f78[_0xdd67ac(0x2a0)])){const _0x247112={};return _0x247112['status']=_0x327f78[_0xdd67ac(0x248)],_0x247112[_0xdd67ac(0x1b2)]=_0x327f78[_0xdd67ac(0x2aa)],_0x247112;}const _0x16a17d={'endTime':new Date()[_0xdd67ac(0x26e)]()},_0x45faf8={};_0x45faf8[_0xdd67ac(0x20b)]='Bearer\x20'+process[_0xdd67ac(0x224)][_0xdd67ac(0x1d9)],_0x45faf8[_0xdd67ac(0x297)]=_0x327f78[_0xdd67ac(0x1c9)];const _0x38a1c1={};_0x38a1c1[_0xdd67ac(0x246)]=_0x45faf8;const _0x5a4813=_0x38a1c1,_0x180a00={};_0x180a00[_0xdd67ac(0x1cc)]=_0x16a17d,_0x180a00[_0xdd67ac(0x1a7)]=null,_0x180a00['json']=!![];const _0x5ccca4=Object['assign'](_0x5a4813,_0x180a00);try{const _0x32f7d9=await bsSetupHelper[_0xdd67ac(0x21f)](_0x327f78[_0xdd67ac(0x1b8)],_0x327f78[_0xdd67ac(0x1ce)],_0x5ccca4,_0x1265f9,API_URL);if(_0x32f7d9[_0xdd67ac(0x1a6)][_0xdd67ac(0x282)])throw new Error(_0x327f78[_0xdd67ac(0x267)](_0x327f78[_0xdd67ac(0x277)],_0x32f7d9['data'][_0xdd67ac(0x282)]));else{logger[_0xdd67ac(0x2ac)](_0xdd67ac(0x1dc)+new Date()[_0xdd67ac(0x26e)]());const _0x3c064d={};return _0x3c064d['status']=_0x327f78['bARtK'],_0x3c064d[_0xdd67ac(0x1b2)]='',_0x3c064d;}}catch(_0x25a675){_0x25a675['response']?logger['error'](_0xdd67ac(0x1b3)+_0x25a675['response'][_0xdd67ac(0x2b1)]+'\x20'+_0x25a675[_0xdd67ac(0x1c1)][_0xdd67ac(0x290)]+'\x20'+JSON['stringify'](_0x25a675[_0xdd67ac(0x1c1)]['data'])):logger[_0xdd67ac(0x282)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+(_0x25a675[_0xdd67ac(0x1b2)]||util[_0xdd67ac(0x2c0)](_0x25a675)));const _0x29576f={};return _0x29576f['status']=_0x327f78[_0xdd67ac(0x248)],_0x29576f['message']=_0x25a675[_0xdd67ac(0x1b2)]||(_0x25a675[_0xdd67ac(0x1c1)]?_0x25a675[_0xdd67ac(0x1c1)][_0xdd67ac(0x2b1)]+':'+_0x25a675[_0xdd67ac(0x1c1)][_0xdd67ac(0x290)]:_0x25a675),_0x29576f;}}),exports[a103_0x42e760(0x28e)]=async(_0x55a215,_0x517f16=null,_0x464dd3=![],_0x1a2c2e=null)=>{const _0x4d8f0f=a103_0x42e760,_0x5c3b63={};_0x5c3b63[_0x4d8f0f(0x1fe)]=_0x4d8f0f(0x209),_0x5c3b63[_0x4d8f0f(0x22d)]='bstackA11yShouldScan',_0x5c3b63[_0x4d8f0f(0x294)]=_0x4d8f0f(0x24a),_0x5c3b63['zCeuC']=function(_0x2b7f79,_0xcb78c4){return _0x2b7f79||_0xcb78c4;},_0x5c3b63[_0x4d8f0f(0x23a)]=_0x4d8f0f(0x1be),_0x5c3b63[_0x4d8f0f(0x1f6)]=_0x4d8f0f(0x2af);const _0x169a75=_0x5c3b63;if(!this['isAccessibilityAutomationSession']()||!globals[_0x4d8f0f(0x243)](_0x169a75['gnycT'])||!_0x464dd3&&!globals['getGlobal'](_0x169a75['WTLXK'])){logger['warn'](_0x169a75[_0x4d8f0f(0x294)]);return;}const _0x3f064f=_0x464dd3?_0x169a75['zCeuC'](_0x1a2c2e,{}):globals[_0x4d8f0f(0x243)](_0x169a75['fVfhv'])||{},_0x22ea93={};_0x22ea93[_0x4d8f0f(0x2c3)]=_0x517f16||global[_0x4d8f0f(0x27d)];const _0x4e6da3=Object[_0x4d8f0f(0x22b)]({},_0x3f064f,_0x22ea93);await this[_0x4d8f0f(0x26a)](_0x55a215)&&(Object[_0x4d8f0f(0x22b)](_0x4e6da3,this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x4d8f0f(0x1de)]()}),logger[_0x4d8f0f(0x25d)](_0x169a75['XiODl']));logger[_0x4d8f0f(0x25d)](_0x4d8f0f(0x28b)+util[_0x4d8f0f(0x2c0)]('%j',_0x4e6da3));const _0x50560e={};return _0x50560e[_0x4d8f0f(0x1e5)]=_0x517f16,await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4d8f0f(0x24c)],async()=>{const _0x504eb3=_0x4d8f0f;try{await _0x55a215[_0x504eb3(0x289)](()=>_0x55a215[_0x504eb3(0x29b)]('return\x20document.readyState\x20===\x20\x22complete\x22'),0x1388);}catch(_0x280754){}const _0x3178a4=util[_0x504eb3(0x2c0)](await _0x55a215[_0x504eb3(0x2a1)](scripts[_0x504eb3(0x28e)],_0x4e6da3));return logger[_0x504eb3(0x25d)](_0x504eb3(0x29f)+_0x3178a4),_0x3178a4;},_0x50560e)();},exports['getAccessibilityResults']=async(_0xc87ee0,_0x1f05cf)=>{const _0x333751=a103_0x42e760,_0xaded84={};_0xaded84[_0x333751(0x212)]=_0x333751(0x27a),_0xaded84['DSQER']=_0x333751(0x209),_0xaded84[_0x333751(0x28f)]=_0x333751(0x25f),_0xaded84['XThSf']=_0x333751(0x296),_0xaded84['JgNMc']=_0x333751(0x251),_0xaded84['tSrBk']=_0x333751(0x222);const _0x245b0a=_0xaded84;if(!this[_0x333751(0x255)]()||!globals[_0x333751(0x243)](_0x245b0a[_0x333751(0x2b2)])||!globals[_0x333751(0x243)](_0x245b0a[_0x333751(0x28f)]))return logger['warn'](_0x245b0a[_0x333751(0x201)]),[];try{const _0x3933fb=await this[_0x333751(0x26a)](_0xc87ee0),_0x1709a7=_0x3933fb?Object[_0x333751(0x22b)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x3933fb&&logger['debug'](_0x333751(0x1d0)+util['format']('%j',_0x1709a7)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x333751(0x24c)],async()=>{const _0x2ed051=_0x333751;logger[_0x2ed051(0x25d)](_0x245b0a[_0x2ed051(0x212)]);const _0x2909c2={};_0x2909c2[_0x2ed051(0x2c3)]=_0x1f05cf[_0x2ed051(0x27d)];const _0x321b52=Object[_0x2ed051(0x22b)](_0x2909c2,_0x1709a7);logger['debug'](util['format'](await _0xc87ee0[_0x2ed051(0x2a1)](scripts[_0x2ed051(0x28e)],_0x321b52)));},{'command':_0x245b0a['JgNMc']})(),await PerformanceTester[_0x333751(0x2b3)](PerformanceA11yEvents[_0x333751(0x1f9)],async()=>{const _0x298114=_0x333751,_0x187d6f=_0x3933fb?await _0xc87ee0[_0x298114(0x2a1)](scripts[_0x298114(0x25b)],_0x1709a7):await _0xc87ee0['executeAsyncScript'](scripts[_0x298114(0x25b)]);return _0x187d6f;})();}catch{return logger[_0x333751(0x282)](_0x245b0a['tSrBk']),[];}},exports[a103_0x42e760(0x275)]=async(_0x49f6b4,_0x1c55f5)=>{const _0x569f9f=a103_0x42e760,_0x26a599={};_0x26a599[_0x569f9f(0x2b7)]='Performing\x20scan\x20before\x20getting\x20results\x20summary',_0x26a599[_0x569f9f(0x241)]=_0x569f9f(0x209),_0x26a599[_0x569f9f(0x239)]=_0x569f9f(0x25f),_0x26a599['OYYDQ']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x26a599[_0x569f9f(0x20e)]=_0x569f9f(0x275),_0x26a599[_0x569f9f(0x228)]=_0x569f9f(0x2be);const _0x4e0b7f=_0x26a599;if(!this[_0x569f9f(0x255)]()||!globals['getGlobal'](_0x4e0b7f['mRktF'])||!globals['getGlobal'](_0x4e0b7f[_0x569f9f(0x239)]))return logger['warn'](_0x4e0b7f[_0x569f9f(0x1a2)]),{};try{const _0xa597a7=await this[_0x569f9f(0x26a)](_0x49f6b4),_0x216591=_0xa597a7?Object[_0x569f9f(0x22b)]({},this[_0x569f9f(0x2a6)](),{'thTestRunUuid':this[_0x569f9f(0x1de)]()}):{};return _0xa597a7&&logger['debug']('getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20'+util[_0x569f9f(0x2c0)]('%j',_0x216591)),await PerformanceTester[_0x569f9f(0x2b3)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x11ca5e=_0x569f9f;logger[_0x11ca5e(0x25d)](_0x4e0b7f[_0x11ca5e(0x2b7)]);const _0x4c0e90={};_0x4c0e90[_0x11ca5e(0x2c3)]=_0x1c55f5[_0x11ca5e(0x27d)];const _0x3fa7f2=Object['assign'](_0x4c0e90,_0x216591);logger['debug'](util[_0x11ca5e(0x2c0)](await _0x49f6b4[_0x11ca5e(0x2a1)](scripts[_0x11ca5e(0x28e)],_0x3fa7f2)));},{'command':_0x4e0b7f[_0x569f9f(0x20e)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x569f9f(0x1ec)],async()=>{const _0x58aa3a=_0x569f9f,_0x406dcd=_0xa597a7?await _0x49f6b4[_0x58aa3a(0x2a1)](scripts['getResultsSummary'],_0x216591):await _0x49f6b4[_0x58aa3a(0x2a1)](scripts[_0x58aa3a(0x286)]);return _0x406dcd;})();}catch{return logger['error'](_0x4e0b7f[_0x569f9f(0x228)]),{};}},exports[a103_0x42e760(0x206)]=(_0x328379,_0x35e7f8=![])=>{const _0x28bc3c=a103_0x42e760,_0x285873={'ktmOb':function(_0x4a1635,_0x4984f3){return _0x4a1635(_0x4984f3);},'FqzzD':function(_0x5c41d4,_0x1ec915){return _0x5c41d4(_0x1ec915);},'pVEPU':_0x28bc3c(0x26d),'hXhIh':function(_0x4ba36c,_0x552eb3){return _0x4ba36c!==_0x552eb3;},'miiEt':_0x28bc3c(0x21c),'xwEBd':function(_0xb0621,_0x9f1089){return _0xb0621(_0x9f1089);},'RpcLL':function(_0x53ee63,_0x24e955){return _0x53ee63(_0x24e955);},'hBGcQ':'browserName','dxZxw':_0x28bc3c(0x29d),'oyeje':_0x28bc3c(0x1f8),'HTAhg':'Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)'};try{if(!_0x328379)return![];const _0xb38c62=_0x4ec700=>typeof _0x328379['get']===_0x28bc3c(0x24b)?_0x328379['get'](_0x4ec700):_0x328379[_0x4ec700],_0x4b4c95=_0x285873[_0x28bc3c(0x22f)](String,_0x285873[_0x28bc3c(0x223)](_0xb38c62,_0x285873['pVEPU'])||'')[_0x28bc3c(0x268)]();if(_0x285873['hXhIh'](_0x4b4c95,_0x285873[_0x28bc3c(0x1cf)]))return![];const _0x3e2a53=_0x285873[_0x28bc3c(0x2b6)](String,_0x285873[_0x28bc3c(0x247)](_0xb38c62,_0x285873[_0x28bc3c(0x232)])||'')[_0x28bc3c(0x268)]();if(!_0x3e2a53[_0x28bc3c(0x1ed)](_0x285873[_0x28bc3c(0x236)]))return _0x35e7f8&&logger[_0x28bc3c(0x20f)](_0x285873[_0x28bc3c(0x226)]),![];return logger['debug'](_0x285873['HTAhg']),!![];}catch(_0x392476){return logger[_0x28bc3c(0x25d)]('Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20'+_0x392476),![];}},exports[a103_0x42e760(0x26a)]=async _0x4459ff=>{const _0x158132=a103_0x42e760;try{const _0x1f3dfd=await _0x4459ff[_0x158132(0x25a)]();return exports['isMobileAccessibilityPlatform'](_0x1f3dfd);}catch(_0x459c7c){return logger[_0x158132(0x25d)](_0x158132(0x1ef)+_0x459c7c),![];}},exports[a103_0x42e760(0x2a6)]=()=>{const _0x36eb92=a103_0x42e760,_0x224eb3={};return _0x224eb3[_0x36eb92(0x203)]=!![],_0x224eb3;},exports[a103_0x42e760(0x1de)]=()=>{const _0x51b216=a103_0x42e760,_0x4ed0fa={};_0x4ed0fa[_0x51b216(0x1c4)]=function(_0x1c36e1,_0x18f7c3){return _0x1c36e1===_0x18f7c3;},_0x4ed0fa[_0x51b216(0x1bb)]=_0x51b216(0x213),_0x4ed0fa[_0x51b216(0x1da)]=function(_0x3140e6,_0x1fa127){return _0x3140e6>_0x1fa127;},_0x4ed0fa[_0x51b216(0x1b6)]=_0x51b216(0x244),_0x4ed0fa[_0x51b216(0x252)]=_0x51b216(0x2c2),_0x4ed0fa[_0x51b216(0x259)]=function(_0x2ba6a9,_0x3d77e1){return _0x2ba6a9===_0x3d77e1;},_0x4ed0fa[_0x51b216(0x270)]=_0x51b216(0x257);const _0x2b91ca=_0x4ed0fa,_0x50207c=global['__workerDetails'],_0x3a8200=_0x50207c&&_0x50207c[_0x51b216(0x2b9)],_0x15becb=_0x3a8200&&_0x3a8200[_0x51b216(0x1aa)];if(_0x2b91ca[_0x51b216(0x1c4)](typeof _0x15becb,_0x2b91ca[_0x51b216(0x1bb)])&&_0x2b91ca[_0x51b216(0x1da)](_0x15becb[_0x51b216(0x23f)],0x0))return _0x15becb;let _0x3df4be;if(!_0x50207c)_0x3df4be=_0x2b91ca[_0x51b216(0x1b6)];else!_0x3a8200?_0x3df4be=_0x2b91ca[_0x51b216(0x252)]:_0x3df4be='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object[_0x51b216(0x28c)](_0x3a8200)[_0x51b216(0x1bd)](',\x20')+_0x51b216(0x220)+(_0x2b91ca[_0x51b216(0x259)](_0x15becb,undefined)?_0x2b91ca['GLxbp']:'\x22'+_0x15becb+'\x22')+_0x51b216(0x1ab);return logger[_0x51b216(0x20f)]('[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20'+_0x3df4be+'\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_0x42e760(0x284)]=_0x5801ed=>{const _0x3f6477=a103_0x42e760,_0x18f4e9={};_0x18f4e9['ZsqDj']=function(_0xc3e3ae,_0x2ecb06){return _0xc3e3ae===_0x2ecb06;},_0x18f4e9['phWMR']=_0x3f6477(0x213),_0x18f4e9[_0x3f6477(0x1d1)]=_0x3f6477(0x1f7);const _0x55218f=_0x18f4e9;if(_0x5801ed&&_0x5801ed['script']&&_0x55218f['ZsqDj'](typeof _0x5801ed[_0x3f6477(0x29a)],_0x55218f[_0x3f6477(0x1a1)]))return _0x5801ed[_0x3f6477(0x29a)][_0x3f6477(0x1ed)](_0x55218f[_0x3f6477(0x1d1)]);return![];},exports[a103_0x42e760(0x1b4)]=a103_0x42e760(0x2ad),exports[a103_0x42e760(0x1dd)]=()=>process[a103_0x42e760(0x224)][a103_0x42e760(0x1f5)]===a103_0x42e760(0x287),exports[a103_0x42e760(0x211)]=_0x4981b7=>{const _0x2cb57e=a103_0x42e760,_0x4235d1={};_0x4235d1[_0x2cb57e(0x219)]=function(_0x44009c,_0x577275){return _0x44009c in _0x577275;};const _0x297a9b=_0x4235d1;if(bsSetupHelper[_0x2cb57e(0x1d3)](_0x4981b7))return![];const _0x11c5b2=_0x4981b7[_0x2cb57e(0x268)]();return _0x297a9b[_0x2cb57e(0x219)](_0x11c5b2,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a103_0x42e760(0x2a3)]=_0x59f15f=>{const _0x11a224=a103_0x42e760;if(bsSetupHelper[_0x11a224(0x1d3)](_0x59f15f))return null;const _0x4f4eb4=_0x59f15f[_0x11a224(0x268)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x4f4eb4]||null;},exports[a103_0x42e760(0x29c)]=(_0x493462,_0x5bbad3)=>{const _0x27a0be=a103_0x42e760,_0x166bf7=this[_0x27a0be(0x2a3)](_0x493462);if(!_0x166bf7)return null;if(_0x5bbad3)return _0x166bf7[_0x27a0be(0x27f)];return _0x166bf7[_0x27a0be(0x1ca)];},exports[a103_0x42e760(0x2ae)]=_0x2254a8=>{const _0x2b3611=a103_0x42e760,_0x3302de=this[_0x2b3611(0x2a3)](_0x2254a8);return _0x3302de?_0x3302de[_0x2b3611(0x27e)]:_0x2254a8;},exports[a103_0x42e760(0x273)]=_0x5811ef=>{const _0xbbb7ef=a103_0x42e760,_0x1df2c3=this[_0xbbb7ef(0x2a3)](_0x5811ef);return _0x1df2c3?_0x1df2c3[_0xbbb7ef(0x1bc)]:![];},exports[a103_0x42e760(0x256)]=(_0x48e327,_0x1a9a15)=>{const _0x43cab2=a103_0x42e760,_0xba4209={'OtGLC':function(_0x1e8dae,_0x1a644e){return _0x1e8dae(_0x1a644e);},'kLQYA':function(_0x43dc40,_0x5012f2){return _0x43dc40(_0x5012f2);},'pIvPz':function(_0x44c6c1,_0x4ae02c){return _0x44c6c1>=_0x4ae02c;}};if(bsSetupHelper['isUndefined'](_0x48e327)||bsSetupHelper['isUndefined'](_0x1a9a15))return![];const _0x346c36=bsSetupHelper['compareVersions'](_0xba4209[_0x43cab2(0x249)](String,_0x48e327),_0xba4209[_0x43cab2(0x218)](String,_0x1a9a15));return _0xba4209[_0x43cab2(0x1af)](_0x346c36,0x0);},exports[a103_0x42e760(0x262)]=_0x53e085=>{const _0x4d4560=a103_0x42e760,_0x310b5c={};_0x310b5c[_0x4d4560(0x1ad)]=function(_0x94ba33,_0x440adf){return _0x94ba33!==_0x440adf;},_0x310b5c[_0x4d4560(0x283)]=_0x4d4560(0x213),_0x310b5c[_0x4d4560(0x240)]=_0x4d4560(0x1e1);const _0xed0c2e=_0x310b5c;if(!_0x53e085||_0xed0c2e[_0x4d4560(0x1ad)](typeof _0x53e085,_0xed0c2e[_0x4d4560(0x283)]))return null;try{return JSON[_0x4d4560(0x258)](Buffer[_0x4d4560(0x1fb)](_0x53e085[_0x4d4560(0x285)]('.')[0x1],_0xed0c2e[_0x4d4560(0x240)])[_0x4d4560(0x1c2)]());}catch{return null;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a104_0x3bef40=a104_0x411c;function a104_0x103f(){const _0x1152dd=['winstonLogger','.browserstack','KZCvs','map','rTIyD','scan','eNPVH','commandsPath','sbGzC','4444370eHmTfK','2143132FxJyeQ','sMOsK','join','nRZaZ','browserstackFolderPath','toJson','performScan','toLowerCase','getMethod','getLibrary','writeFileSync','findIndex','pXylr','stringify','shouldWrapCommand','DJsPv','path','parseFromJson','homedir','0|3|6|2|5|4|1','../../helpers/logger','exports','getCommand','saveTestResults','debug','getName','getResultsSummary','GKOZk','saveResults','ChromeExtension','commandsToWrap','nonBStackInfraA11yChromeOptions','11573682EWLuUK','existsSync','fromJson','getResults','getModule','mkdirSync','1188859dIiKhE','1173180YVWUKB','5uyexvI','commands','scripts','commands.json','2183412dqnCLz','getClass','Rpyrv','length','23806520UOmvzx','YyjCf'];a104_0x103f=function(){return _0x1152dd;};return a104_0x103f();}function a104_0x411c(_0x56ba76,_0xd49cc){const _0x103f79=a104_0x103f();return a104_0x411c=function(_0x411cae,_0x4081a2){_0x411cae=_0x411cae-0x9d;let _0x3b3801=_0x103f79[_0x411cae];return _0x3b3801;},a104_0x411c(_0x56ba76,_0xd49cc);}(function(_0x3dc3af,_0x1e0096){const _0x43afee=a104_0x411c,_0x2eda5f=_0x3dc3af();while(!![]){try{const _0x10ef8e=-parseInt(_0x43afee(0xa1))/0x1+-parseInt(_0x43afee(0xb7))/0x2+-parseInt(_0x43afee(0xa7))/0x3+parseInt(_0x43afee(0xa2))/0x4*(-parseInt(_0x43afee(0xa3))/0x5)+parseInt(_0x43afee(0xd7))/0x6+-parseInt(_0x43afee(0xb6))/0x7+parseInt(_0x43afee(0xab))/0x8;if(_0x10ef8e===_0x1e0096)break;else _0x2eda5f['push'](_0x2eda5f['shift']());}catch(_0x94152e){_0x2eda5f['push'](_0x2eda5f['shift']());}}}(a104_0x103f,0xf14a8));const path=require(a104_0x3bef40(0xc7)),fs=require('fs'),logger=require(a104_0x3bef40(0xcb))[a104_0x3bef40(0xad)],helper=require('../helper');class Scripts{constructor(){const _0xaa37fc=a104_0x3bef40,_0x98ed4a={};_0x98ed4a['GKOZk']=_0xaa37fc(0xca),_0x98ed4a[_0xaa37fc(0xa9)]=_0xaa37fc(0xa6),_0x98ed4a[_0xaa37fc(0xba)]=_0xaa37fc(0xae);const _0x2680a8=_0x98ed4a,_0x12ce5a=_0x2680a8[_0xaa37fc(0xd2)]['split']('|');let _0x4a4581=0x0;while(!![]){switch(_0x12ce5a[_0x4a4581++]){case'0':this['performScan']=null;continue;case'1':this[_0xaa37fc(0x9d)]();continue;case'2':this[_0xaa37fc(0xce)]=null;continue;case'3':this[_0xaa37fc(0x9e)]=null;continue;case'4':this[_0xaa37fc(0xb4)]=path[_0xaa37fc(0xb9)](this['browserstackFolderPath'],_0x2680a8[_0xaa37fc(0xa9)]);continue;case'5':this[_0xaa37fc(0xbb)]=path[_0xaa37fc(0xb9)](helper[_0xaa37fc(0xc9)](),_0x2680a8[_0xaa37fc(0xba)]);continue;case'6':this[_0xaa37fc(0xd1)]=null;continue;}break;}}[a104_0x3bef40(0xc8)](_0x3fd095){const _0x31edee=a104_0x3bef40;_0x3fd095[_0x31edee(0xa5)]&&(this[_0x31edee(0xbd)]=_0x3fd095[_0x31edee(0xa5)][_0x31edee(0xb2)],this['getResults']=_0x3fd095[_0x31edee(0xa5)][_0x31edee(0x9e)],this[_0x31edee(0xd1)]=_0x3fd095[_0x31edee(0xa5)][_0x31edee(0xd1)],this['saveTestResults']=_0x3fd095[_0x31edee(0xa5)][_0x31edee(0xd3)]),this[_0x31edee(0xd5)]=_0x3fd095[_0x31edee(0xa4)],this[_0x31edee(0xd4)]=_0x3fd095[_0x31edee(0xd6)];}['parseFromProto'](_0x201c74,_0x17553b){const _0x5bbaca=a104_0x3bef40,_0x1cfbd3={};_0x1cfbd3[_0x5bbaca(0xb5)]=function(_0x29862f,_0x3094ea){return _0x29862f>_0x3094ea;},_0x1cfbd3[_0x5bbaca(0xb3)]=function(_0x5f290f,_0x5ae604){return _0x5f290f===_0x5ae604;},_0x1cfbd3[_0x5bbaca(0xaf)]=_0x5bbaca(0xb2),_0x1cfbd3[_0x5bbaca(0xc3)]=_0x5bbaca(0x9e),_0x1cfbd3['PVazq']=_0x5bbaca(0xd1),_0x1cfbd3[_0x5bbaca(0xb8)]=_0x5bbaca(0xd3),_0x1cfbd3[_0x5bbaca(0xc6)]=function(_0xb5fb69,_0x32185e){return _0xb5fb69>_0x32185e;};const _0x2c8a14=_0x1cfbd3;if(_0x201c74&&_0x2c8a14[_0x5bbaca(0xb5)](_0x201c74[_0x5bbaca(0xaa)],0x0))for(const _0x3ce3bf of _0x201c74){if(_0x2c8a14[_0x5bbaca(0xb3)](_0x3ce3bf[_0x5bbaca(0xd0)](),_0x2c8a14[_0x5bbaca(0xaf)]))this[_0x5bbaca(0xbd)]=_0x3ce3bf[_0x5bbaca(0xcd)]();else{if(_0x2c8a14[_0x5bbaca(0xb3)](_0x3ce3bf[_0x5bbaca(0xd0)](),_0x2c8a14[_0x5bbaca(0xc3)]))this[_0x5bbaca(0x9e)]=_0x3ce3bf[_0x5bbaca(0xcd)]();else{if(_0x2c8a14[_0x5bbaca(0xb3)](_0x3ce3bf[_0x5bbaca(0xd0)](),_0x2c8a14['PVazq']))this['getResultsSummary']=_0x3ce3bf['getCommand']();else _0x2c8a14[_0x5bbaca(0xb3)](_0x3ce3bf[_0x5bbaca(0xd0)](),_0x2c8a14['sMOsK'])&&(this[_0x5bbaca(0xce)]=_0x3ce3bf[_0x5bbaca(0xcd)]());}}}_0x17553b&&_0x2c8a14[_0x5bbaca(0xc6)](_0x17553b['length'],0x0)&&(this['commandsToWrap']=_0x17553b[_0x5bbaca(0xb0)](_0x295a66=>{const _0x3b9db4=_0x5bbaca;return{'name':_0x295a66[_0x3b9db4(0xd0)](),'method':_0x295a66[_0x3b9db4(0xbf)](),'library':_0x295a66[_0x3b9db4(0xc0)](),'module':_0x295a66[_0x3b9db4(0x9f)](),'class':_0x295a66[_0x3b9db4(0xa8)]()};}));}[a104_0x3bef40(0xc5)](_0x4d7efb){const _0x2e498c=a104_0x3bef40,_0x57ca5a={};_0x57ca5a[_0x2e498c(0xac)]=function(_0x2589dd,_0x411939){return _0x2589dd!==_0x411939;};const _0x3cd8cf=_0x57ca5a;try{return _0x3cd8cf[_0x2e498c(0xac)](this[_0x2e498c(0xd5)][_0x2e498c(0xc2)](_0x393f60=>_0x393f60['name'][_0x2e498c(0xbe)]()===_0x4d7efb[_0x2e498c(0xbe)]()),-0x1);}catch(_0xf9bc37){logger[_0x2e498c(0xcf)]('Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20'+_0xf9bc37);}return![];}[a104_0x3bef40(0xbc)](){const _0x58de29=a104_0x3bef40;!fs[_0x58de29(0xd8)](this['browserstackFolderPath'])&&fs[_0x58de29(0xa0)](this[_0x58de29(0xbb)]),fs[_0x58de29(0xc1)](this['commandsPath'],JSON[_0x58de29(0xc4)]({'scripts':{'scan':this['performScan'],'getResults':this[_0x58de29(0x9e)],'getResultsSummary':this[_0x58de29(0xd1)],'saveResults':this[_0x58de29(0xce)]},'commands':this['commandsToWrap'],'nonBStackInfraA11yChromeOptions':this[_0x58de29(0xd4)]}));}[a104_0x3bef40(0x9d)](){const _0x181a97=a104_0x3bef40,_0x564fa7={'rTIyD':function(_0x5126ac,_0x5b95a0){return _0x5126ac(_0x5b95a0);}};fs[_0x181a97(0xd8)](this['commandsPath'])&&this['parseFromJson'](_0x564fa7[_0x181a97(0xb1)](require,this[_0x181a97(0xb4)]));}}module[a104_0x3bef40(0xcc)]=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a105_0x7b3397=a105_0x2851;(function(_0x156cee,_0x308be3){const _0x3699fa=a105_0x2851,_0x158a6c=_0x156cee();while(!![]){try{const _0x35b14a=-parseInt(_0x3699fa(0xf7))/0x1+-parseInt(_0x3699fa(0x14f))/0x2*(-parseInt(_0x3699fa(0xdc))/0x3)+parseInt(_0x3699fa(0x137))/0x4+-parseInt(_0x3699fa(0x10d))/0x5*(parseInt(_0x3699fa(0xd5))/0x6)+parseInt(_0x3699fa(0xed))/0x7*(parseInt(_0x3699fa(0x107))/0x8)+parseInt(_0x3699fa(0x102))/0x9*(parseInt(_0x3699fa(0x127))/0xa)+parseInt(_0x3699fa(0xff))/0xb;if(_0x35b14a===_0x308be3)break;else _0x158a6c['push'](_0x158a6c['shift']());}catch(_0xe21797){_0x158a6c['push'](_0x158a6c['shift']());}}}(a105_0x27f2,0xb4d83));const path=require(a105_0x7b3397(0x11d)),{commandRepository}=require(a105_0x7b3397(0x11e)),constants=require(a105_0x7b3397(0x14e)),logger=require(a105_0x7b3397(0xeb))[a105_0x7b3397(0x151)],globals=require(a105_0x7b3397(0x136)),timeoutPromise=require(a105_0x7b3397(0x109)),isUndefinedOrNull=_0x4997bf=>_0x4997bf===undefined||_0x4997bf===null||_0x4997bf==='',isNotUndefinedOrNull=_0x2866ff=>!isUndefinedOrNull(_0x2866ff),isString=_0x486a31=>isNotUndefinedOrNull(_0x486a31)&&typeof _0x486a31===a105_0x7b3397(0xd8);class AiSdkWrapper{constructor(){const _0x5de6d0=a105_0x7b3397,_0x56f138={'BowXE':function(_0x28dd9f,_0x56017c){return _0x28dd9f(_0x56017c);},'ERlFO':'../../ai-sdk-node/bundle'};this[_0x5de6d0(0x11c)]=undefined;try{this[_0x5de6d0(0x11c)]=_0x56f138[_0x5de6d0(0x13e)](require,path[_0x5de6d0(0xfe)](__dirname,_0x56f138['ERlFO']));}catch(_0x7f2f44){logger[_0x5de6d0(0xfa)]('Unable\x20to\x20load\x20healing\x20module,\x20error:\x20'+(_0x7f2f44&&_0x7f2f44['message']?_0x7f2f44[_0x5de6d0(0x101)]:''));}}[a105_0x7b3397(0x14b)](_0x3a60dd){const _0x45a551=a105_0x7b3397,_0x56cedd={};_0x56cedd[_0x45a551(0x11f)]=_0x45a551(0xf9),_0x56cedd['wBRkP']=function(_0x3b5c52,_0x23a2c3){return _0x3b5c52===_0x23a2c3;},_0x56cedd['DQWwt']=_0x45a551(0x122),_0x56cedd[_0x45a551(0xe8)]=function(_0x5420e1,_0x487923){return _0x5420e1===_0x487923;},_0x56cedd['eZvAy']=_0x45a551(0xea),_0x56cedd[_0x45a551(0x139)]=_0x45a551(0x13a),_0x56cedd[_0x45a551(0x126)]=_0x45a551(0x100),_0x56cedd['tugzX']=_0x45a551(0x112);const _0x3ccd18=_0x56cedd;try{const _0x2976d8=this[_0x45a551(0x11c)][_0x45a551(0xf1)](Object[_0x45a551(0xfd)](_0x3a60dd[_0x45a551(0x153)]()['map_']));console[_0x45a551(0xec)](_0x3ccd18['emhMU'],_0x2976d8);if(_0x3ccd18[_0x45a551(0x130)](_0x2976d8?.[_0x45a551(0x149)]?.[_0x45a551(0x129)](),_0x3ccd18[_0x45a551(0x113)]))_0x3a60dd[_0x45a551(0x111)]=_0x2976d8;else{if(_0x3ccd18['RlxWt'](_0x2976d8?.[_0x45a551(0x149)]?.[_0x45a551(0x129)](),_0x3ccd18['eZvAy']))_0x3a60dd[_0x45a551(0x104)]=_0x2976d8;else{if(_0x3ccd18[_0x45a551(0xe8)](_0x2976d8?.['browserName']?.[_0x45a551(0x129)](),_0x3ccd18[_0x45a551(0x139)]))_0x3a60dd[_0x45a551(0x106)]=_0x2976d8;else{if(_0x3ccd18[_0x45a551(0x130)](_0x2976d8?.[_0x45a551(0x149)]?.[_0x45a551(0x129)](),_0x3ccd18['ghwiC'])||_0x3ccd18[_0x45a551(0xe8)](_0x2976d8?.['browserName']?.[_0x45a551(0x129)](),_0x3ccd18[_0x45a551(0xf0)]))_0x3a60dd['edgeOptions_']=_0x2976d8;else _0x3ccd18['wBRkP'](_0x2976d8?.[_0x45a551(0x149)]?.[_0x45a551(0x129)](),'ie')&&(_0x3a60dd[_0x45a551(0x135)]=_0x2976d8);}}}Object[_0x45a551(0xe3)](_0x2976d8)['forEach'](_0x1cfd58=>{const _0x5bfdb7=_0x45a551,_0x3df5c4=_0x3a60dd[_0x5bfdb7(0xf8)][_0x5bfdb7(0x12b)](_0x1cfd58);_0x3a60dd['capabilities_'][_0x5bfdb7(0xdd)](_0x1cfd58,_0x2976d8[_0x1cfd58]);});}catch(_0xc57c64){logger['error'](_0x45a551(0x13f)+(_0xc57c64&&_0xc57c64[_0x45a551(0x101)]?_0xc57c64[_0x45a551(0x101)]:''));}}async[a105_0x7b3397(0x105)](_0x156e98){const _0x5c442b=a105_0x7b3397,_0x462c39={'qXDEL':function(_0x4d21f0,_0x13067c,_0x2b5165,_0x256c72,_0x148a9d,_0x299007,_0x3298e3){return _0x4d21f0(_0x13067c,_0x2b5165,_0x256c72,_0x148a9d,_0x299007,_0x3298e3);},'BQAvZ':_0x5c442b(0x125),'CSaTL':_0x5c442b(0xe6),'ValvU':_0x5c442b(0xd6)},_0x2241db=new Date(),_0x2e1948=_0x462c39[_0x5c442b(0x10c)](timeoutPromise,constants[_0x5c442b(0xd4)],_0x462c39[_0x5c442b(0xe7)],_0x462c39['CSaTL'],_0x2241db,this['config'],this[_0x5c442b(0xe9)]);await Promise[_0x5c442b(0x13b)]([this['BrowserstackHealing'][_0x5c442b(0x145)](_0x156e98,globals['getGlobal'](_0x462c39[_0x5c442b(0x143)]),constants[_0x5c442b(0xd7)])['then'](()=>{const _0x454226=_0x5c442b;_0x2e1948[_0x454226(0x124)]();}),_0x2e1948]);}async[a105_0x7b3397(0xdf)](_0x3f2b3f,_0x3a86bc,_0x36bc98,_0x17ed3b){const _0xbe6872=a105_0x7b3397,_0x16fe9f={'CGuft':function(_0x33f26c,_0x1711da){return _0x33f26c===_0x1711da;},'WFwqr':function(_0x28502e,_0x1d9c08){return _0x28502e(_0x1d9c08);},'BleJX':function(_0x118f7f,_0x5a750f){return _0x118f7f(_0x5a750f);},'atCBX':function(_0x2e3736,_0x46ae8e){return _0x2e3736(_0x46ae8e);},'hzICO':function(_0x391e05,_0x347d10){return _0x391e05(_0x347d10);},'YfPMg':function(_0x1d8332,_0x489b69){return _0x1d8332(_0x489b69);},'zFJAj':'s://','VvilC':function(_0x5c0f90,_0x2f776a){return _0x5c0f90(_0x2f776a);},'bhZiw':function(_0x26576d,_0x22d93b){return _0x26576d(_0x22d93b);},'ortBi':_0xbe6872(0x118),'VRNHd':_0xbe6872(0x12e),'vRPSt':'aiHeal_isGroupAIEnabled','SGnJi':function(_0x339a0c,_0x27722a,_0x59babf,_0x425e44,_0x158044,_0x48f460,_0x52b843){return _0x339a0c(_0x27722a,_0x59babf,_0x425e44,_0x158044,_0x48f460,_0x52b843);},'lfAOF':_0xbe6872(0x14d),'XVyyO':_0xbe6872(0xe1),'tJrhw':function(_0x26bb1a,_0x5d6e43,_0xfc7552,_0x245e72,_0x4e3804,_0x567b30,_0x31ff6b){return _0x26bb1a(_0x5d6e43,_0xfc7552,_0x245e72,_0x4e3804,_0x567b30,_0x31ff6b);},'uLniI':'BrowserstackHealing.healFailure\x20method\x20timed\x20out','zytSx':_0xbe6872(0x147)},_0x355bba=(await _0x3a86bc['getSession']())[_0xbe6872(0x103)]();let _0x505160='';if(commandRepository[_0xbe6872(0xda)]()&&_0x16fe9f['CGuft'](_0x17ed3b,![])||_0x16fe9f['CGuft'](_0x17ed3b,!![])){const _0x442349=_0x16fe9f[_0xbe6872(0xde)](isNotUndefinedOrNull,_0x36bc98[_0xbe6872(0x12c)][_0xbe6872(0x134)])&&_0x16fe9f[_0xbe6872(0xde)](isString,_0x36bc98['parameters_'][_0xbe6872(0x134)])?_0x36bc98[_0xbe6872(0x12c)][_0xbe6872(0x134)][_0xbe6872(0xe5)](/'/g,'\x5c\x27')[_0xbe6872(0xe5)](/"/g,'\x5c\x22'):'',_0x42dea6=_0x16fe9f[_0xbe6872(0xde)](isNotUndefinedOrNull,_0x36bc98[_0xbe6872(0x12c)][_0xbe6872(0x134)])&&_0x16fe9f[_0xbe6872(0x140)](isString,_0x36bc98[_0xbe6872(0x12c)]['value'])?_0x36bc98['parameters_'][_0xbe6872(0x116)][_0xbe6872(0xe5)](/'/g,'\x5c\x27')[_0xbe6872(0xe5)](/"/g,'\x5c\x22'):'',_0xaa41a0=_0x16fe9f[_0xbe6872(0xde)](isNotUndefinedOrNull,commandRepository[_0xbe6872(0x14c)]())&&_0x16fe9f[_0xbe6872(0x131)](isString,commandRepository[_0xbe6872(0x14c)]())?commandRepository[_0xbe6872(0x14c)]()[_0xbe6872(0xe5)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';let _0x4ebd7f=_0x16fe9f[_0xbe6872(0x140)](isNotUndefinedOrNull,global[_0xbe6872(0x150)])&&_0x16fe9f[_0xbe6872(0xde)](isString,global[_0xbe6872(0x150)])?global[_0xbe6872(0x150)][_0xbe6872(0xe5)](/'/g,'\x5c\x27')[_0xbe6872(0xe5)](/"/g,'\x5c\x22'):'';!_0x4ebd7f&&(_0x4ebd7f=_0x16fe9f[_0xbe6872(0x119)](isNotUndefinedOrNull,commandRepository[_0xbe6872(0xdb)]())&&_0x16fe9f[_0xbe6872(0x13c)](isString,commandRepository[_0xbe6872(0xdb)]())?commandRepository[_0xbe6872(0xdb)]()['replace'](/'/g,'\x5c\x27')[_0xbe6872(0xe5)](/"/g,'\x5c\x22'):'');let _0x28640c=_0xbe6872(0x152)+constants[_0xbe6872(0x10f)]+_0xbe6872(0x142)+constants[_0xbe6872(0x10f)]+_0xbe6872(0xd3)+constants[_0xbe6872(0xd7)][_0xbe6872(0x123)](_0x16fe9f[_0xbe6872(0x115)])[0x1]+_0xbe6872(0x133);_0x28640c=_0x16fe9f[_0xbe6872(0xf3)](isNotUndefinedOrNull,_0x28640c)&&_0x16fe9f[_0xbe6872(0xfc)](isString,_0x28640c)?_0x28640c[_0xbe6872(0xe5)](/'/g,'\x5c\x27')[_0xbe6872(0xe5)](/"/g,'\x5c\x22'):'';const _0x151f87=commandRepository[_0xbe6872(0x12d)](_0x355bba),_0x4d8c36=globals[_0xbe6872(0xfb)](_0x16fe9f[_0xbe6872(0x138)]),_0x1cc502=globals[_0xbe6872(0xfb)](_0x16fe9f[_0xbe6872(0x14a)]),_0x41d575=globals[_0xbe6872(0xfb)](_0x16fe9f['vRPSt']),_0x4efd70=![],_0xe1bccc=new Date();if(_0x17ed3b){const _0x3452c2=_0x16fe9f[_0xbe6872(0x148)](timeoutPromise,constants[_0xbe6872(0xd9)],_0x16fe9f['lfAOF'],_0x16fe9f[_0xbe6872(0xf5)],_0xe1bccc,this[_0xbe6872(0x117)],this[_0xbe6872(0xe9)]);_0x505160=await Promise[_0xbe6872(0x13b)]([this[_0xbe6872(0x11c)][_0xbe6872(0xe2)](_0x442349,_0x42dea6,_0xaa41a0,_0x4ebd7f,_0x1cc502,_0x355bba,_0x151f87,_0x28640c)[_0xbe6872(0x10a)](_0x1130f3=>{const _0x5aff30=_0xbe6872;return _0x3452c2[_0x5aff30(0x124)](),_0x1130f3;}),_0x3452c2]);}else{if(commandRepository[_0xbe6872(0xda)]()){const _0x3c230c=_0x16fe9f[_0xbe6872(0x10b)](timeoutPromise,constants['HEALING_FAILURE_TIMEOUT'],_0x16fe9f[_0xbe6872(0x141)],_0x16fe9f[_0xbe6872(0xef)],_0xe1bccc,this[_0xbe6872(0x117)],this[_0xbe6872(0xe9)]);_0x505160=await Promise[_0xbe6872(0x13b)]([this['BrowserstackHealing'][_0xbe6872(0xe0)](_0x442349,_0x42dea6,_0xaa41a0,_0x4ebd7f,_0x4d8c36,_0x1cc502,_0x355bba,_0x151f87,_0x4efd70,_0x41d575,_0x28640c)[_0xbe6872(0x10a)](_0x3f0ec6=>{const _0xad9402=_0xbe6872;return _0x3c230c[_0xad9402(0x124)](),_0x3f0ec6;}),_0x3c230c]);}}_0x505160&&await _0x3a86bc[_0xbe6872(0x114)](_0x505160);}}async[a105_0x7b3397(0x13d)](_0x35ae1e,_0x38e86a,_0x1357dd){const _0x272285=a105_0x7b3397;try{await this[_0x272285(0xdf)](_0x35ae1e,_0x38e86a,_0x1357dd,!![]);}catch(_0xd117e2){return logger['error']('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0xd117e2&&_0xd117e2[_0x272285(0x101)]?_0xd117e2[_0x272285(0x101)]:'')),![];}return!![];}async[a105_0x7b3397(0xee)](_0x50e5e8,_0x6f86ae,_0x319c19){const _0x5ec3c1=a105_0x7b3397,_0xbb317={'nKMfs':function(_0x238736,_0x937cce,_0x56dab8,_0x409298,_0x3102f2,_0x5dbef4,_0x3a2945){return _0x238736(_0x937cce,_0x56dab8,_0x409298,_0x3102f2,_0x5dbef4,_0x3a2945);},'ZnwlW':_0x5ec3c1(0xf2),'NifrO':_0x5ec3c1(0x121),'RLkie':'aiHeal_sessionToken'};try{await this[_0x5ec3c1(0xdf)](_0x50e5e8,_0x6f86ae,_0x319c19,![]);const _0x500007=(await _0x6f86ae['getSession']())[_0x5ec3c1(0x103)](),_0x13b367=new Date(),_0x44e049=_0xbb317[_0x5ec3c1(0x12f)](timeoutPromise,constants[_0x5ec3c1(0xf6)],_0xbb317[_0x5ec3c1(0x144)],_0xbb317[_0x5ec3c1(0x10e)],_0x13b367,this[_0x5ec3c1(0x117)],this['framework']),_0x477c9a=await Promise[_0x5ec3c1(0x13b)]([this[_0x5ec3c1(0x11c)][_0x5ec3c1(0x12a)](constants[_0x5ec3c1(0xd7)],_0x500007,globals[_0x5ec3c1(0xfb)](_0xbb317['RLkie']))[_0x5ec3c1(0x10a)](_0x24fcdb=>{const _0x5f4ba0=_0x5ec3c1;return _0x44e049[_0x5f4ba0(0x124)](),_0x24fcdb;}),_0x44e049]);if(_0x477c9a&&_0x477c9a['selector']&&_0x477c9a[_0x5ec3c1(0x116)]){const _0x21e5fc={};return _0x21e5fc[_0x5ec3c1(0xe4)]=_0x477c9a[_0x5ec3c1(0x110)],_0x21e5fc[_0x5ec3c1(0x128)]=_0x477c9a[_0x5ec3c1(0x116)],_0x21e5fc['aiHealing']=!![],_0x21e5fc;}const _0x1c6cda={};return _0x1c6cda[_0x5ec3c1(0xe4)]=_0x319c19[_0x5ec3c1(0x12c)]['using'],_0x1c6cda['locatorValue']=_0x477c9a[_0x5ec3c1(0x116)],_0x1c6cda[_0x5ec3c1(0x11a)]=!![],_0x1c6cda;}catch(_0x5cdd0d){return logger[_0x5ec3c1(0x146)](_0x5ec3c1(0x11b)+(_0x5cdd0d&&_0x5cdd0d[_0x5ec3c1(0x101)]?_0x5cdd0d['message']:'')),logger[_0x5ec3c1(0x132)](_0x5ec3c1(0x120)+_0x319c19['name_']+_0x5ec3c1(0x108)),_0x319c19;}}}function a105_0x2851(_0x1a34d6,_0x406843){const _0x27f238=a105_0x27f2();return a105_0x2851=function(_0x285186,_0x257775){_0x285186=_0x285186-0xd3;let _0x1f8246=_0x27f238[_0x285186];return _0x1f8246;},a105_0x2851(_0x1a34d6,_0x406843);}function a105_0x27f2(){const _0x36f58d=['get','parameters_','getCommands','aiHeal_groupId','nKMfs','wBRkP','atCBX','info','\x22}}}','using','ieOptions_','../globals','1584240NoCUsU','ortBi','ASPIH','safari','race','YfPMg','handleSuccess','BowXE','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','BleJX','uLniI','\x22,\x20\x22tcgUrls\x22:\x20{\x22','ValvU','ZnwlW','setToken','debug','BrowserstackHealingHealFailureFailed','SGnJi','browserName','VRNHd','initializeHealingCapabilities','getProjectName','BrowserstackHealing.logData\x20method\x20timed\x20out','../../bin/utils/constants','14LocOTe','browserstackSessionName','winstonLogger','{\x22region\x22:\x20\x22','getCapabilities','\x22:\x20{\x22endpoint\x22:\x20\x22','SET_TCG_TOKEN_TIMEOUT','6hKPGYz','aiHeal_sessionToken','TCG_URL','string','HEALING_LOG_DATA_TIMEOUT','isSelfHealEnabled','getTestName','167676LfiMUM','set','WFwqr','_handleEvent','healFailure','BrowserstackHealingLogDataFailed','logData','keys','locatorType','replace','BrowserstackHealingSetTcgTokenFailed','BQAvZ','RlxWt','framework','firefox','../logger','log','1174180jMFwCT','handleFailure','zytSx','tugzX','initializeCapabilities','BrowserstackHealing.pollResult\x20method\x20timed\x20out','VvilC','aiSdkWrapper','XVyyO','POLL_HEALING_RESULT_TIMEOUT','202200yyEVEI','capabilities_','newCapabilities','error','getGlobal','bhZiw','fromEntries','join','799788NMrjKR','edge','message','54qwVqvL','getId','firefoxOptions_','setTcgToken','safariOptions_','32OEHuEn','\x20command','../../helpers/timeoutPromise','then','tJrhw','qXDEL','4515435zFPBdY','NifrO','TCG_REGION','selector','chromeOptions_','microsoftedge','DQWwt','executeScript','zFJAj','value','config','aiHeal_userId','hzICO','aiHealing','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','BrowserstackHealing','path','./autoHealHelper','emhMU','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','BrowserstackHealingPollResultFailed','chrome','split','cancel','BrowserstackHealing.setToken\x20method\x20timed\x20out','ghwiC','525090UEGeNf','locatorValue','toLowerCase','pollResult'];a105_0x27f2=function(){return _0x36f58d;};return a105_0x27f2();}exports[a105_0x7b3397(0xf4)]=Object['freeze'](new AiSdkWrapper());
|
|
1
|
+
const a105_0x1ff564=a105_0x51eb;function a105_0x5e17(){const _0x4e27bd=['729382EhIgli','BrowserstackHealing','aiHeal_sessionToken','logData','HmFbF','TCG_REGION','getGlobal','ObUEA','chromeOptions_','string','forEach','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','safariOptions_','../../bin/utils/constants','210cYmacj','aiHeal_userId','MlRTm','then','name_','../../ai-sdk-node/bundle','HEALING_LOG_DATA_TIMEOUT','157640dkrWZs','debug','uyhJI','config','oqKBY','BrowserstackHealingSetTcgTokenFailed','HEALING_FAILURE_TIMEOUT','\x22:\x20{\x22endpoint\x22:\x20\x22','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','BrowserstackHealing.setToken\x20method\x20timed\x20out','getId','1jZanAZ','POLL_HEALING_RESULT_TIMEOUT','XrKTO','iyHGy','ggOIV','aiSdkWrapper','s://','YbEhG','getCommands','executeScript','70049ZdfbBU','split','FPAbq','pIolb','YznbI','parameters_','TCG_URL','ieOptions_','toLowerCase','IEPEr','5228470lalcqU','race','Pdsko','../globals','isSelfHealEnabled','message','handleFailure','pBkhQ','browserstackSessionName','../../helpers/timeoutPromise','initializeHealingCapabilities','aiHeal_groupId','Qhfjt','11774943ReAsLv','aiHealing','error','\x22}}}','using','edgeOptions_','locatorType','getSession','setToken','hgnrh','27olXmvB','handleSuccess','log','edge','replace','cCBLY','locatorValue','pollResult','getTestName','BrowserstackHealingPollResultFailed','UWDxM','MUcmy','\x22,\x20\x22tcgUrls\x22:\x20{\x22','initializeCapabilities','_handleEvent','cancel','healFailure','safari','browserName','getCapabilities','map_','17390930HuegkN','AJqQL','chrome','BrowserstackHealing.pollResult\x20method\x20timed\x20out','getProjectName','capabilities_','byHMp','microsoftedge','787992MLhePN','BrowserstackHealingHealFailureFailed','SET_TCG_TOKEN_TIMEOUT','LHfHb','etDOb','freeze','set','framework','UudBC','./autoHealHelper','firefoxOptions_','gHBlz','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','hsxsS','get','value','firefox','bUrxV'];a105_0x5e17=function(){return _0x4e27bd;};return a105_0x5e17();}(function(_0x16b90b,_0x6a63ff){const _0x2c5b05=a105_0x51eb,_0x3a9bce=_0x16b90b();while(!![]){try{const _0xa0cff6=-parseInt(_0x2c5b05(0xe9))/0x1*(-parseInt(_0x2c5b05(0x143))/0x2)+parseInt(_0x2c5b05(0x114))/0x3*(parseInt(_0x2c5b05(0x131))/0x4)+-parseInt(_0x2c5b05(0xfd))/0x5+parseInt(_0x2c5b05(0xd7))/0x6*(parseInt(_0x2c5b05(0xf3))/0x7)+-parseInt(_0x2c5b05(0xde))/0x8+parseInt(_0x2c5b05(0x10a))/0x9+-parseInt(_0x2c5b05(0x129))/0xa;if(_0xa0cff6===_0x6a63ff)break;else _0x3a9bce['push'](_0x3a9bce['shift']());}catch(_0x4d83a1){_0x3a9bce['push'](_0x3a9bce['shift']());}}}(a105_0x5e17,0xf2209));const path=require('path'),{commandRepository}=require(a105_0x1ff564(0x13a)),constants=require(a105_0x1ff564(0x150)),logger=require('../logger')['winstonLogger'],globals=require(a105_0x1ff564(0x100)),timeoutPromise=require(a105_0x1ff564(0x106)),isUndefinedOrNull=_0x254897=>_0x254897===undefined||_0x254897===null||_0x254897==='',isNotUndefinedOrNull=_0x18f0eb=>!isUndefinedOrNull(_0x18f0eb),isString=_0x29600b=>isNotUndefinedOrNull(_0x29600b)&&typeof _0x29600b===a105_0x1ff564(0x14c);function a105_0x51eb(_0x48ac95,_0x47754d){const _0x5e175c=a105_0x5e17();return a105_0x51eb=function(_0x51ebbc,_0x4fc0ee){_0x51ebbc=_0x51ebbc-0xd7;let _0x97d184=_0x5e175c[_0x51ebbc];return _0x97d184;},a105_0x51eb(_0x48ac95,_0x47754d);}class AiSdkWrapper{constructor(){const _0x1b21cb=a105_0x1ff564,_0x243317={'oqKBY':function(_0x852d04,_0x2f96d0){return _0x852d04(_0x2f96d0);},'MUcmy':_0x1b21cb(0xdc)};this[_0x1b21cb(0x144)]=undefined;try{this[_0x1b21cb(0x144)]=_0x243317[_0x1b21cb(0xe2)](require,path['join'](__dirname,_0x243317[_0x1b21cb(0x11f)]));}catch(_0x24b93d){logger[_0x1b21cb(0x10c)](_0x1b21cb(0xe6)+(_0x24b93d&&_0x24b93d[_0x1b21cb(0x102)]?_0x24b93d[_0x1b21cb(0x102)]:''));}}[a105_0x1ff564(0x107)](_0x15f684){const _0x5dd1e4=a105_0x1ff564,_0x59097b={};_0x59097b[_0x5dd1e4(0xfc)]='newCapabilities',_0x59097b[_0x5dd1e4(0xff)]=function(_0x5d15ce,_0x28132f){return _0x5d15ce===_0x28132f;},_0x59097b['LHfHb']=_0x5dd1e4(0x12b),_0x59097b[_0x5dd1e4(0xf0)]=function(_0x1fa481,_0x242834){return _0x1fa481===_0x242834;},_0x59097b[_0x5dd1e4(0x13e)]=_0x5dd1e4(0x141),_0x59097b[_0x5dd1e4(0xeb)]=_0x5dd1e4(0x125),_0x59097b[_0x5dd1e4(0x12a)]=function(_0x5571f8,_0x5432c9){return _0x5571f8===_0x5432c9;},_0x59097b[_0x5dd1e4(0xd9)]=_0x5dd1e4(0x117),_0x59097b['UWDxM']=function(_0x17f5ae,_0x2620bb){return _0x17f5ae===_0x2620bb;},_0x59097b['Qhfjt']=_0x5dd1e4(0x130);const _0x2acd16=_0x59097b;try{const _0x14d73b=this['BrowserstackHealing'][_0x5dd1e4(0x121)](Object['fromEntries'](_0x15f684[_0x5dd1e4(0x127)]()[_0x5dd1e4(0x128)]));console[_0x5dd1e4(0x116)](_0x2acd16[_0x5dd1e4(0xfc)],_0x14d73b);if(_0x2acd16[_0x5dd1e4(0xff)](_0x14d73b?.[_0x5dd1e4(0x126)]?.[_0x5dd1e4(0xfb)](),_0x2acd16[_0x5dd1e4(0x134)]))_0x15f684[_0x5dd1e4(0x14b)]=_0x14d73b;else{if(_0x2acd16[_0x5dd1e4(0xf0)](_0x14d73b?.[_0x5dd1e4(0x126)]?.[_0x5dd1e4(0xfb)](),_0x2acd16[_0x5dd1e4(0x13e)]))_0x15f684[_0x5dd1e4(0x13b)]=_0x14d73b;else{if(_0x2acd16[_0x5dd1e4(0xf0)](_0x14d73b?.[_0x5dd1e4(0x126)]?.[_0x5dd1e4(0xfb)](),_0x2acd16[_0x5dd1e4(0xeb)]))_0x15f684[_0x5dd1e4(0x14f)]=_0x14d73b;else{if(_0x2acd16['AJqQL'](_0x14d73b?.[_0x5dd1e4(0x126)]?.['toLowerCase'](),_0x2acd16[_0x5dd1e4(0xd9)])||_0x2acd16[_0x5dd1e4(0x11e)](_0x14d73b?.[_0x5dd1e4(0x126)]?.[_0x5dd1e4(0xfb)](),_0x2acd16[_0x5dd1e4(0x109)]))_0x15f684[_0x5dd1e4(0x10f)]=_0x14d73b;else _0x2acd16[_0x5dd1e4(0xf0)](_0x14d73b?.['browserName']?.[_0x5dd1e4(0xfb)](),'ie')&&(_0x15f684[_0x5dd1e4(0xfa)]=_0x14d73b);}}}Object['keys'](_0x14d73b)[_0x5dd1e4(0x14d)](_0x5d6389=>{const _0x4fb351=_0x5dd1e4,_0x555854=_0x15f684[_0x4fb351(0x12e)][_0x4fb351(0x13f)](_0x5d6389);_0x15f684['capabilities_'][_0x4fb351(0x137)](_0x5d6389,_0x14d73b[_0x5d6389]);});}catch(_0x5947de){logger[_0x5dd1e4(0x10c)](_0x5dd1e4(0x13d)+(_0x5947de&&_0x5947de['message']?_0x5947de[_0x5dd1e4(0x102)]:''));}}async['setTcgToken'](_0x2abe30){const _0x12bd7a=a105_0x1ff564,_0x28bf81={'lEHEd':function(_0x4a1328,_0x23623d,_0x3f0094,_0x171288,_0x1dfbcd,_0x4969c2,_0x13eedc){return _0x4a1328(_0x23623d,_0x3f0094,_0x171288,_0x1dfbcd,_0x4969c2,_0x13eedc);},'cCBLY':_0x12bd7a(0xe7),'pIolb':_0x12bd7a(0xe3),'HKqZg':_0x12bd7a(0x145)},_0x36353e=new Date(),_0x2a0386=_0x28bf81['lEHEd'](timeoutPromise,constants[_0x12bd7a(0x133)],_0x28bf81[_0x12bd7a(0x119)],_0x28bf81[_0x12bd7a(0xf6)],_0x36353e,this['config'],this[_0x12bd7a(0x138)]);await Promise['race']([this[_0x12bd7a(0x144)][_0x12bd7a(0x112)](_0x2abe30,globals[_0x12bd7a(0x149)](_0x28bf81['HKqZg']),constants[_0x12bd7a(0xf9)])[_0x12bd7a(0xda)](()=>{const _0xcd6ce3=_0x12bd7a;_0x2a0386[_0xcd6ce3(0x123)]();}),_0x2a0386]);}async[a105_0x1ff564(0x122)](_0x5d8078,_0x26a061,_0x460a8a,_0x1573df){const _0x1dd7e3=a105_0x1ff564,_0xc6c57e={'etDOb':function(_0x28f850,_0x5645f4){return _0x28f850===_0x5645f4;},'uyhJI':function(_0x4454cc,_0x385242){return _0x4454cc(_0x385242);},'ObUEA':function(_0x766263,_0x197ba9){return _0x766263(_0x197ba9);},'YznbI':function(_0x4372c8,_0x2b0d98){return _0x4372c8(_0x2b0d98);},'HmFbF':function(_0x4e632f,_0xec9cd5){return _0x4e632f(_0xec9cd5);},'QMDNF':function(_0x308b12,_0x3c1b1b){return _0x308b12(_0x3c1b1b);},'bUrxV':function(_0x190ab8,_0x5187ff){return _0x190ab8(_0x5187ff);},'pBkhQ':function(_0x7b7e5c,_0x37b3f1){return _0x7b7e5c(_0x37b3f1);},'byHMp':_0x1dd7e3(0xef),'PhYBr':_0x1dd7e3(0xd8),'QdOzu':_0x1dd7e3(0x108),'iWNTb':'aiHeal_isGroupAIEnabled','lvDnJ':function(_0x58708b,_0x1d4a85,_0x51ef8a,_0xe8d561,_0x4105a8,_0x47a6d4,_0x2bba72){return _0x58708b(_0x1d4a85,_0x51ef8a,_0xe8d561,_0x4105a8,_0x47a6d4,_0x2bba72);},'iyHGy':'BrowserstackHealing.logData\x20method\x20timed\x20out','NQcTH':'BrowserstackHealingLogDataFailed','gHBlz':function(_0xe5c175,_0x2ca539,_0x30ce35,_0x5722c2,_0x248d97,_0x5a0fff,_0x47a704){return _0xe5c175(_0x2ca539,_0x30ce35,_0x5722c2,_0x248d97,_0x5a0fff,_0x47a704);},'UudBC':'BrowserstackHealing.healFailure\x20method\x20timed\x20out','ggOIV':_0x1dd7e3(0x132)},_0x1bf021=(await _0x26a061[_0x1dd7e3(0x111)]())[_0x1dd7e3(0xe8)]();let _0x1cd3fe='';if(commandRepository[_0x1dd7e3(0x101)]()&&_0xc6c57e[_0x1dd7e3(0x135)](_0x1573df,![])||_0xc6c57e[_0x1dd7e3(0x135)](_0x1573df,!![])){const _0x1cf6c3=_0xc6c57e['uyhJI'](isNotUndefinedOrNull,_0x460a8a[_0x1dd7e3(0xf8)][_0x1dd7e3(0x10e)])&&_0xc6c57e[_0x1dd7e3(0x14a)](isString,_0x460a8a[_0x1dd7e3(0xf8)][_0x1dd7e3(0x10e)])?_0x460a8a[_0x1dd7e3(0xf8)][_0x1dd7e3(0x10e)][_0x1dd7e3(0x118)](/'/g,'\x5c\x27')[_0x1dd7e3(0x118)](/"/g,'\x5c\x22'):'',_0x38311e=_0xc6c57e[_0x1dd7e3(0xf7)](isNotUndefinedOrNull,_0x460a8a[_0x1dd7e3(0xf8)][_0x1dd7e3(0x10e)])&&_0xc6c57e['YznbI'](isString,_0x460a8a[_0x1dd7e3(0xf8)][_0x1dd7e3(0x140)])?_0x460a8a[_0x1dd7e3(0xf8)]['value']['replace'](/'/g,'\x5c\x27')[_0x1dd7e3(0x118)](/"/g,'\x5c\x22'):'',_0xb0138a=_0xc6c57e[_0x1dd7e3(0x14a)](isNotUndefinedOrNull,commandRepository[_0x1dd7e3(0x12d)]())&&_0xc6c57e[_0x1dd7e3(0x147)](isString,commandRepository[_0x1dd7e3(0x12d)]())?commandRepository[_0x1dd7e3(0x12d)]()[_0x1dd7e3(0x118)](/'/g,'\x5c\x27')[_0x1dd7e3(0x118)](/"/g,'\x5c\x22'):'';let _0x230e6f=_0xc6c57e['QMDNF'](isNotUndefinedOrNull,global['browserstackSessionName'])&&_0xc6c57e[_0x1dd7e3(0x142)](isString,global[_0x1dd7e3(0x105)])?global['browserstackSessionName']['replace'](/'/g,'\x5c\x27')[_0x1dd7e3(0x118)](/"/g,'\x5c\x22'):'';!_0x230e6f&&(_0x230e6f=_0xc6c57e[_0x1dd7e3(0x104)](isNotUndefinedOrNull,commandRepository[_0x1dd7e3(0x11c)]())&&_0xc6c57e[_0x1dd7e3(0xe0)](isString,commandRepository[_0x1dd7e3(0x11c)]())?commandRepository[_0x1dd7e3(0x11c)]()[_0x1dd7e3(0x118)](/'/g,'\x5c\x27')[_0x1dd7e3(0x118)](/"/g,'\x5c\x22'):'');let _0x2f2c90='{\x22region\x22:\x20\x22'+constants[_0x1dd7e3(0x148)]+_0x1dd7e3(0x120)+constants[_0x1dd7e3(0x148)]+_0x1dd7e3(0xe5)+constants['TCG_URL'][_0x1dd7e3(0xf4)](_0xc6c57e[_0x1dd7e3(0x12f)])[0x1]+_0x1dd7e3(0x10d);_0x2f2c90=_0xc6c57e[_0x1dd7e3(0x104)](isNotUndefinedOrNull,_0x2f2c90)&&_0xc6c57e[_0x1dd7e3(0x14a)](isString,_0x2f2c90)?_0x2f2c90[_0x1dd7e3(0x118)](/'/g,'\x5c\x27')[_0x1dd7e3(0x118)](/"/g,'\x5c\x22'):'';const _0x593ef9=commandRepository[_0x1dd7e3(0xf1)](_0x1bf021),_0x14825c=globals[_0x1dd7e3(0x149)](_0xc6c57e['PhYBr']),_0x5dd917=globals[_0x1dd7e3(0x149)](_0xc6c57e['QdOzu']),_0xac829c=globals[_0x1dd7e3(0x149)](_0xc6c57e['iWNTb']),_0x3f4af1=![],_0x5b4017=new Date();if(_0x1573df){const _0x2b64fd=_0xc6c57e['lvDnJ'](timeoutPromise,constants[_0x1dd7e3(0xdd)],_0xc6c57e[_0x1dd7e3(0xec)],_0xc6c57e['NQcTH'],_0x5b4017,this[_0x1dd7e3(0xe1)],this[_0x1dd7e3(0x138)]);_0x1cd3fe=await Promise[_0x1dd7e3(0xfe)]([this[_0x1dd7e3(0x144)][_0x1dd7e3(0x146)](_0x1cf6c3,_0x38311e,_0xb0138a,_0x230e6f,_0x5dd917,_0x1bf021,_0x593ef9,_0x2f2c90)[_0x1dd7e3(0xda)](_0x2cfad3=>{return _0x2b64fd['cancel'](),_0x2cfad3;}),_0x2b64fd]);}else{if(commandRepository[_0x1dd7e3(0x101)]()){const _0x53b6e8=_0xc6c57e[_0x1dd7e3(0x13c)](timeoutPromise,constants[_0x1dd7e3(0xe4)],_0xc6c57e[_0x1dd7e3(0x139)],_0xc6c57e[_0x1dd7e3(0xed)],_0x5b4017,this[_0x1dd7e3(0xe1)],this['framework']);_0x1cd3fe=await Promise[_0x1dd7e3(0xfe)]([this[_0x1dd7e3(0x144)][_0x1dd7e3(0x124)](_0x1cf6c3,_0x38311e,_0xb0138a,_0x230e6f,_0x14825c,_0x5dd917,_0x1bf021,_0x593ef9,_0x3f4af1,_0xac829c,_0x2f2c90)['then'](_0x39f9b7=>{const _0x476f5d=_0x1dd7e3;return _0x53b6e8[_0x476f5d(0x123)](),_0x39f9b7;}),_0x53b6e8]);}}_0x1cd3fe&&await _0x26a061[_0x1dd7e3(0xf2)](_0x1cd3fe);}}async[a105_0x1ff564(0x115)](_0x506c18,_0xb9850f,_0x317a51){const _0x379e08=a105_0x1ff564;try{await this[_0x379e08(0x122)](_0x506c18,_0xb9850f,_0x317a51,!![]);}catch(_0xb3fcee){return logger[_0x379e08(0x10c)]('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0xb3fcee&&_0xb3fcee['message']?_0xb3fcee[_0x379e08(0x102)]:'')),![];}return!![];}async[a105_0x1ff564(0x103)](_0x1afa17,_0x54e494,_0x1483ec){const _0x5a7f99=a105_0x1ff564,_0x26c96b={'FPAbq':function(_0x1d5e72,_0x34ce7b,_0x2f5e6c,_0xcd16aa,_0x518438,_0xca6369,_0x49cf54){return _0x1d5e72(_0x34ce7b,_0x2f5e6c,_0xcd16aa,_0x518438,_0xca6369,_0x49cf54);},'jKpFe':_0x5a7f99(0x12c),'bxoSX':_0x5a7f99(0x11d),'hgnrh':'aiHeal_sessionToken'};try{await this[_0x5a7f99(0x122)](_0x1afa17,_0x54e494,_0x1483ec,![]);const _0x4136f1=(await _0x54e494[_0x5a7f99(0x111)]())[_0x5a7f99(0xe8)](),_0x5eccbc=new Date(),_0x4f39a2=_0x26c96b[_0x5a7f99(0xf5)](timeoutPromise,constants[_0x5a7f99(0xea)],_0x26c96b['jKpFe'],_0x26c96b['bxoSX'],_0x5eccbc,this[_0x5a7f99(0xe1)],this[_0x5a7f99(0x138)]),_0x434d45=await Promise[_0x5a7f99(0xfe)]([this[_0x5a7f99(0x144)][_0x5a7f99(0x11b)](constants[_0x5a7f99(0xf9)],_0x4136f1,globals['getGlobal'](_0x26c96b[_0x5a7f99(0x113)]))[_0x5a7f99(0xda)](_0x5123b8=>{return _0x4f39a2['cancel'](),_0x5123b8;}),_0x4f39a2]);if(_0x434d45&&_0x434d45['selector']&&_0x434d45[_0x5a7f99(0x140)]){const _0x4fdbce={};return _0x4fdbce[_0x5a7f99(0x110)]=_0x434d45['selector'],_0x4fdbce[_0x5a7f99(0x11a)]=_0x434d45[_0x5a7f99(0x140)],_0x4fdbce[_0x5a7f99(0x10b)]=!![],_0x4fdbce;}const _0x50879d={};return _0x50879d[_0x5a7f99(0x110)]=_0x1483ec[_0x5a7f99(0xf8)][_0x5a7f99(0x10e)],_0x50879d[_0x5a7f99(0x11a)]=_0x434d45[_0x5a7f99(0x140)],_0x50879d['aiHealing']=!![],_0x50879d;}catch(_0x1082e8){return logger[_0x5a7f99(0xdf)]('Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20'+(_0x1082e8&&_0x1082e8['message']?_0x1082e8[_0x5a7f99(0x102)]:'')),logger['info'](_0x5a7f99(0x14e)+_0x1483ec[_0x5a7f99(0xdb)]+'\x20command'),_0x1483ec;}}}exports[a105_0x1ff564(0xee)]=Object[a105_0x1ff564(0x136)](new AiSdkWrapper());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a106_0x25d07f=a106_0x3d98;function a106_0x3d98(_0x3ad0eb,_0x415ec5){const _0x4a46f1=a106_0x4a46();return a106_0x3d98=function(_0x3d988e,_0x2be699){_0x3d988e=_0x3d988e-0x17a;let _0xeb5fa=_0x4a46f1[_0x3d988e];return _0xeb5fa;},a106_0x3d98(_0x3ad0eb,_0x415ec5);}(function(_0x1168b7,_0x4ea934){const _0x4abc5c=a106_0x3d98,_0x162b75=_0x1168b7();while(!![]){try{const _0x2c6455=parseInt(_0x4abc5c(0x1b3))/0x1*(-parseInt(_0x4abc5c(0x19b))/0x2)+-parseInt(_0x4abc5c(0x190))/0x3*(parseInt(_0x4abc5c(0x185))/0x4)+-parseInt(_0x4abc5c(0x17b))/0x5*(parseInt(_0x4abc5c(0x188))/0x6)+-parseInt(_0x4abc5c(0x1a7))/0x7*(-parseInt(_0x4abc5c(0x1a0))/0x8)+parseInt(_0x4abc5c(0x199))/0x9*(-parseInt(_0x4abc5c(0x194))/0xa)+-parseInt(_0x4abc5c(0x18f))/0xb*(-parseInt(_0x4abc5c(0x1ab))/0xc)+parseInt(_0x4abc5c(0x191))/0xd;if(_0x2c6455===_0x4ea934)break;else _0x162b75['push'](_0x162b75['shift']());}catch(_0x3f52fb){_0x162b75['push'](_0x162b75['shift']());}}}(a106_0x4a46,0x9540d));const calculateTimeDiff=_0x20d5b0=>Date[a106_0x25d07f(0x197)]()-_0x20d5b0,logger=require(a106_0x25d07f(0x1a8))[a106_0x25d07f(0x1aa)],globals=require('../globals');function a106_0x4a46(){const _0x2d6f8a=['authInfo','setTestNameForHealingContext','userName','33EdFjsa','3lmvXsX','16596970oWzhzh','push','getConfig','2320700Twygxi','QNrrO','getCommands','now','setTcgTokenStatus','9ODcVfm','commands','2SijzEv','KSTtn','getGlobal','map','length','5473768cQBkZy','selfHeal','projectName','testName','isTcgTokenSet','kCEkD','1|5|3|0|4|2','7NGyFoh','../logger','setProjectNameForHealingContext','winstonLogger','1821192CXNzdj','setAiSessionTimeStamp','path','aiSessionTimeStamp','true','split','config','tzCJn','638161uoLAaG','getTcgTokenStatus','5xqHwdv','aiHeal_isAuthenticated','ZaeCV','QmACR','getProjectName','GDaIB','join','getAuthInfo','getFramework','mpHzN','2163808YbiYJc','_pushCommand','accessKey','2362110LnfDwB','stringify','ybSQT','No\x20commands\x20found\x20for\x20session:\x20'];a106_0x4a46=function(){return _0x2d6f8a;};return a106_0x4a46();}class HealingCommandRepo{constructor(){const _0xb9d841=a106_0x25d07f,_0x3094cc={};_0x3094cc[_0xb9d841(0x1b2)]=_0xb9d841(0x1a6);const _0x42456c=_0x3094cc,_0xd020f5=_0x42456c[_0xb9d841(0x1b2)][_0xb9d841(0x1b0)]('|');let _0x510156=0x0;while(!![]){switch(_0xd020f5[_0x510156++]){case'0':this[_0xb9d841(0x1a3)]='';continue;case'1':this[_0xb9d841(0x19a)]={};continue;case'2':this[_0xb9d841(0x1a4)]=![];continue;case'3':this[_0xb9d841(0x1a2)]='';continue;case'4':this[_0xb9d841(0x18c)]={};continue;case'5':this[_0xb9d841(0x1ae)]={};continue;}break;}}[a106_0x25d07f(0x186)](_0x37419d,_0x2e16fa){const _0x5790ac=a106_0x25d07f,_0xc77da5={};_0xc77da5[_0x5790ac(0x18a)]=function(_0x1b06a8,_0x4dc913){return _0x1b06a8 in _0x4dc913;};const _0x2999ee=_0xc77da5;!_0x2999ee[_0x5790ac(0x18a)](_0x37419d,this[_0x5790ac(0x19a)])&&(this[_0x5790ac(0x19a)][_0x37419d]=[]),this[_0x5790ac(0x19a)][_0x37419d][_0x5790ac(0x192)](_0x2e16fa);}['pushCommand'](_0x5de1ed,_0x5b5fa7){const _0x3e4055=a106_0x25d07f,_0xce02d2={'QNrrO':function(_0x3a8bcf,_0x5d10bd){return _0x3a8bcf(_0x5d10bd);}},_0x4e895c=_0x5b5fa7['method'],_0xffb83d=_0x5b5fa7[_0x3e4055(0x1ad)]['split'](_0x5de1ed)[0x1],_0x2ff14d=this[_0x3e4055(0x1ae)][_0x5de1ed],_0x242114={'k':_0x4e895c+':'+_0xffb83d,'t':_0xce02d2[_0x3e4055(0x195)](calculateTimeDiff,_0x2ff14d)};this[_0x3e4055(0x186)](_0x5de1ed,_0x242114);}[a106_0x25d07f(0x1ac)](_0xb8261a){const _0x28f7e1=a106_0x25d07f;this[_0x28f7e1(0x1ae)][_0xb8261a]=Date[_0x28f7e1(0x197)]();}['setAuthInfo'](_0x56a7a8,_0x33fbff){const _0x5d54f1=a106_0x25d07f;this[_0x5d54f1(0x18c)][_0x5d54f1(0x18e)]=_0x56a7a8,this[_0x5d54f1(0x18c)][_0x5d54f1(0x187)]=_0x33fbff;}[a106_0x25d07f(0x182)](){const _0x3f29b5=a106_0x25d07f;return this[_0x3f29b5(0x18c)];}['setProjectNameForHealingContext'](_0x4cb800){const _0x394036=a106_0x25d07f;this[_0x394036(0x1a2)]=_0x4cb800;}[a106_0x25d07f(0x18d)](_0x42f813){const _0x1c6f52=a106_0x25d07f;this[_0x1c6f52(0x1a3)]=_0x42f813;}['setConfig'](_0xa9d0e8){const _0x4794b1=a106_0x25d07f;this[_0x4794b1(0x1b1)]=_0xa9d0e8,this[_0x4794b1(0x1a9)](_0xa9d0e8[_0x4794b1(0x1a2)]),this['setAuthInfo'](_0xa9d0e8[_0x4794b1(0x18e)],_0xa9d0e8[_0x4794b1(0x187)]);}['setFramework'](_0xb2e754){this['framework']=_0xb2e754;}[a106_0x25d07f(0x198)](_0x3b89f4){const _0x5577cb=a106_0x25d07f;this[_0x5577cb(0x1a4)]=_0x3b89f4;}[a106_0x25d07f(0x193)](){const _0x319f9b=a106_0x25d07f;return this[_0x319f9b(0x1b1)];}[a106_0x25d07f(0x183)](){return this['framework'];}[a106_0x25d07f(0x17f)](){const _0x402cdd=a106_0x25d07f;return this[_0x402cdd(0x1a2)];}['getTestName'](){const _0x439216=a106_0x25d07f;return this[_0x439216(0x1a3)];}[a106_0x25d07f(0x196)](_0x5e45bb){const _0xf17ae8=a106_0x25d07f,_0x1bb42f={};_0x1bb42f[_0xf17ae8(0x17d)]=_0xf17ae8(0x17c),_0x1bb42f['voAxP']='aiHeal_isHealingEnabled',_0x1bb42f[_0xf17ae8(0x17e)]=function(_0xb79783,_0x4644ea){return _0xb79783===_0x4644ea;},_0x1bb42f['mpHzN']=function(_0x2ef146,_0x5114ba){return _0x2ef146+_0x5114ba;},_0x1bb42f[_0xf17ae8(0x1a5)]=_0xf17ae8(0x18b);const _0x4f2872=_0x1bb42f,_0x430922=this[_0xf17ae8(0x19a)][_0x5e45bb];this[_0xf17ae8(0x19a)][_0x5e45bb]=[];if(globals['getGlobal'](_0x4f2872[_0xf17ae8(0x17d)])&&globals[_0xf17ae8(0x19d)](_0x4f2872['voAxP'])&&!_0x430922||_0x4f2872[_0xf17ae8(0x17e)](_0x430922[_0xf17ae8(0x19f)],0x0))return logger['debug'](_0x4f2872[_0xf17ae8(0x184)](_0x4f2872[_0xf17ae8(0x1a5)],_0x5e45bb)),'';return _0x430922[_0xf17ae8(0x19e)](_0x4905f0=>JSON[_0xf17ae8(0x189)](_0x4905f0))[_0xf17ae8(0x181)](',');}['isSelfHealEnabled'](){const _0x451c76=a106_0x25d07f,_0x55bbf5={};_0x55bbf5[_0x451c76(0x180)]=function(_0x50b146,_0x506269){return _0x50b146===_0x506269;},_0x55bbf5[_0x451c76(0x19c)]=_0x451c76(0x1af);const _0x49b63c=_0x55bbf5;let _0x214852=![];return this[_0x451c76(0x193)]()&&(_0x49b63c[_0x451c76(0x180)](this[_0x451c76(0x193)]()[_0x451c76(0x1a1)],!![])||_0x49b63c[_0x451c76(0x180)](this['getConfig']()[_0x451c76(0x1a1)],_0x49b63c[_0x451c76(0x19c)]))&&(_0x214852=!![]),_0x214852;}[a106_0x25d07f(0x17a)](){const _0x1bd5eb=a106_0x25d07f;return this[_0x1bd5eb(0x1a4)];}}exports['commandRepository']=new HealingCommandRepo();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a107_0x3d17(_0xa6d212,_0x2deb93){const _0x229bbf=a107_0x229b();return a107_0x3d17=function(_0x3d1729,_0x417733){_0x3d1729=_0x3d1729-0x10e;let _0x383dee=_0x229bbf[_0x3d1729];return _0x383dee;},a107_0x3d17(_0xa6d212,_0x2deb93);}const a107_0x4b7182=a107_0x3d17;(function(_0x40d851,_0x44a7e9){const _0x1ea7eb=a107_0x3d17,_0x5638de=_0x40d851();while(!![]){try{const _0x2a8190=parseInt(_0x1ea7eb(0x11e))/0x1+parseInt(_0x1ea7eb(0x10f))/0x2*(parseInt(_0x1ea7eb(0x122))/0x3)+-parseInt(_0x1ea7eb(0x120))/0x4+-parseInt(_0x1ea7eb(0x116))/0x5*(-parseInt(_0x1ea7eb(0x114))/0x6)+parseInt(_0x1ea7eb(0x11b))/0x7+-parseInt(_0x1ea7eb(0x115))/0x8+parseInt(_0x1ea7eb(0x110))/0x9*(-parseInt(_0x1ea7eb(0x113))/0xa);if(_0x2a8190===_0x44a7e9)break;else _0x5638de['push'](_0x5638de['shift']());}catch(_0x150f57){_0x5638de['push'](_0x5638de['shift']());}}}(a107_0x229b,0x8fe7a));const a107_0x2d2a9b={};a107_0x2d2a9b[a107_0x4b7182(0x119)]=a107_0x4b7182(0x11f),a107_0x2d2a9b[a107_0x4b7182(0x123)]='automate-turboscale/v1',module[a107_0x4b7182(0x11c)]=a107_0x2d2a9b;function a107_0x229b(){const _0x202d9a=['2305484THfTjK','BROWSERSTACK_ENV','48IDZrbV','API_ENDPOINT','preprod','123962UnbmZP','523386qZDZYE','toLowerCase','https://grid-devhst.bsstag.com/dashboard/builds','130yRfUlX','6IWQGSo','5831272ZublZC','62305AwiWjU','staging','prod','BUILDS_DASHBOARD_URL','pre-prod','7895860PDVrTu','exports','env','518579vgJtuZ','https://grid.browserstack.com/dashboard/builds'];a107_0x229b=function(){return _0x202d9a;};return a107_0x229b();}const _env=(process[a107_0x4b7182(0x11d)][a107_0x4b7182(0x121)]||a107_0x4b7182(0x118))[a107_0x4b7182(0x111)]();if(_env===a107_0x4b7182(0x117)||_env==='stag')module['exports'][a107_0x4b7182(0x119)]=a107_0x4b7182(0x112);else(_env===a107_0x4b7182(0x10e)||_env===a107_0x4b7182(0x11a))&&(module[a107_0x4b7182(0x11c)]['BUILDS_DASHBOARD_URL']='https://grid-preprod.bsstag.com/dashboard/builds');
|