browserstack-node-sdk 1.60.0 → 1.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121_0x347c6a=a121_0x15ac;function a121_0x409e(){const _0x442805=['isRunning','jPJSZ','env','7212vOIMOc','unknown_method','getCapabilities','accessibilityConfig','timeoutMs','111720ZOtadT','winstonLogger','getId','reason','YLDQu','EMhhG','GFAvg','ms\x20using\x20setTimeouts\x20API','options','YdovM','browserStackEvaluate','Accessibility\x20results\x20save\x20attempt\x20','getCurrentUrl','../performance/performance-tester','util','voZZo','cmSbK','isPlaywrightPage','LHCom',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','assign','EafVI','manage',').\x20Error:\x20','function','lfbID','Accessibility\x20scan\x20attempt\x20','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','evaluate','Operation\x20timed\x20out\x20after\x20','../globals','oHCRZ','summary','isMobilePlatform','driverType','getGlobal','maxRetries','setPlaywrightScriptTimeout','bllPl','getAccessibilityResults','6HjLUdM','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','timeouts','error','mGanj','name','\x20failed\x20(','status','Unknown\x20driver/page\x20type:\x20','OmrxK','page','Skipping\x20timeout\x20setting\x20for\x20','fulfilled','undefined','scannerProcessingTimeout','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','1284730weWtWo','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','IoBVt','isAccessibilityPlatform','executeAsyncScript','dwXHQ','YAmaF','aapYr','Accessibility\x20retry\x20configuration\x20updated:\x20','script','ktcTB','capabilitiesList','qzSgZ','YxUfr','\x20-\x20not\x20applicable','info','../logger','is_mobile_session','type','hFfUi','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Comprehensive\x20accessibility\x20scan\x20failed\x20(','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','JxeUz','results','PERFORM_SCAN',')\x20with\x20error:\x20','zQXCZ','yweJa','HPwvR','getAccessibilityResultsSummary','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','stringify','accessibilityPlatform','osrqf','vrrIr','race','warn','SegSF','Playwright','gKunR','Hizey','VxVwe','rejected',').\x20Last\x20error:\x20','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','DrgtX','yYVmB','5951493nQKoGB','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','iWlaz','vxqnt','bAila','mHnjM','DZVFW','HtUcV','goto','139lEENMh','currentTest','luKsp','unknown','447104MULWUe','InyKU','YaGLD','getAccessibilityResultsSummaryWithRetry','wZyOh','4396850djZxEU','setScriptTimeout','Unknown\x20error','Playwright\x20accessibility\x20helper\x20not\x20available','mHfPq','bWsDc','bstackA11yShouldScan','prwVd','MAqal','performScanWithRetry','oiAoT','playwright-page','defaultTimeoutMs','mXcNF','oOFxT','OyjZK','url','isSeleniumDriver','constructor','8pwChPM','isPlaywright','gRwpj','message','scanSucceeded','CUZvw','setTimeouts','cjoHl','performScan','getInstance','getAccessibilityModule','):\x20','max','SqGDx','IjzRD','../../bin/v2/browserstackCLI','HuRbc','yFDTM','blFEN','getRetryConfig','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','setSeleniumScriptTimeout','Scan\x20attempt\x20','fiyRw','KtSwY','isAccessibilityAutomationSession','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','selenium-webdriver','playwright-codecept-driver','saveTestResults','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','JqdYY','udqiL','AVCFI','lEukg','doilD','IODcc','FEpbQ','Accessibility\x20results\x20retrieval\x20attempt\x20','eWmcK','ufhNR','resolveMobileThTestRunUuid','yjuYL','lvAkj','bstackA11yScanOptions','wsExi','getAccessibilityResultsWithRetry','browserstackSessionName','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','1094019RPYjnK','ohLAK','./helper','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','getSession','setDefaultTimeout','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','debug','value','RzeKE'];a121_0x409e=function(){return _0x442805;};return a121_0x409e();}(function(_0xacd17e,_0x29c695){const _0x2e316c=a121_0x15ac,_0x489282=_0xacd17e();while(!![]){try{const _0x196c38=-parseInt(_0x2e316c(0x6d))/0x1*(-parseInt(_0x2e316c(0xc9))/0x2)+parseInt(_0x2e316c(0xbb))/0x3+parseInt(_0x2e316c(0xce))/0x4+-parseInt(_0x2e316c(0x106))/0x5*(parseInt(_0x2e316c(0xf6))/0x6)+parseInt(_0x2e316c(0x71))/0x7+parseInt(_0x2e316c(0x89))/0x8*(-parseInt(_0x2e316c(0x137))/0x9)+parseInt(_0x2e316c(0x76))/0xa;if(_0x196c38===_0x29c695)break;else _0x489282['push'](_0x489282['shift']());}catch(_0x463256){_0x489282['push'](_0x489282['shift']());}}}(a121_0x409e,0x74fc3));const util=require(a121_0x347c6a(0xdc)),logger=require(a121_0x347c6a(0x116))[a121_0x347c6a(0xcf)],accessibilityHelper=require(a121_0x347c6a(0xbd)),globals=require(a121_0x347c6a(0xec)),scripts=require('./scripts'),PerformanceTester=require(a121_0x347c6a(0xdb)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require(a121_0x347c6a(0x98));function a121_0x15ac(_0x24151c,_0x262849){const _0x409ee1=a121_0x409e();return a121_0x15ac=function(_0x15aca0,_0x4f08b5){_0x15aca0=_0x15aca0-0x66;let _0x463652=_0x409ee1[_0x15aca0];return _0x463652;},a121_0x15ac(_0x24151c,_0x262849);}let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a121_0x192850){logger[a121_0x347c6a(0xc3)](a121_0x347c6a(0x79));}const a121_0x371c8b={};a121_0x371c8b['maxRetries']=0x1,a121_0x371c8b[a121_0x347c6a(0xcd)]=0x7530,a121_0x371c8b[a121_0x347c6a(0x82)]=0x7530;const RETRY_CONFIG=a121_0x371c8b,setConfigTimeout=(_0x57a1fe,_0x2bbd58=null)=>{const _0x383c0a=a121_0x347c6a,_0x3fd695={'OmrxK':function(_0x19d167,_0x3b8ac8){return _0x19d167===_0x3b8ac8;},'udqiL':_0x383c0a(0x104),'DrgtX':function(_0x2aa0d1,_0x99f859){return _0x2aa0d1===_0x99f859;},'yjuYL':function(_0x1e74a5,_0x2ceae1){return _0x1e74a5*_0x2ceae1;},'NmQwy':function(_0x2eb440,_0xe31ad3){return _0x2eb440(_0xe31ad3);},'prwVd':function(_0x16815c,_0x345485){return _0x16815c(_0x345485);}};if(BrowserstackCLI[_0x383c0a(0x92)]()[_0x383c0a(0xc6)]()&&BrowserstackCLI[_0x383c0a(0x92)]()[_0x383c0a(0x93)]()){const _0x4d14d0=BrowserstackCLI[_0x383c0a(0x92)]()['getAccessibilityModule']()[_0x383c0a(0xcc)],_0x5c54d9=_0x4d14d0[_0x383c0a(0xd6)][_0x383c0a(0x111)]||[];for(const _0x53a7b1 of _0x5c54d9){_0x3fd695[_0x383c0a(0xff)](_0x53a7b1[_0x383c0a(0xfb)],_0x3fd695[_0x383c0a(0xaa)])&&_0x3fd695[_0x383c0a(0x135)](_0x2bbd58,null)&&(_0x57a1fe[_0x383c0a(0xcd)]=_0x3fd695[_0x383c0a(0xb4)](_0x3fd695['NmQwy'](parseInt,_0x53a7b1['value']),0x3e8));}}else process[_0x383c0a(0xc8)][_0x383c0a(0xc2)]&&(_0x57a1fe[_0x383c0a(0xcd)]=_0x3fd695['yjuYL'](_0x3fd695[_0x383c0a(0x7d)](parseInt,process[_0x383c0a(0xc8)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0xb66cc1=>{const _0x29cb0a=a121_0x347c6a,_0x35cfc4={};_0x35cfc4['zQXCZ']=_0x29cb0a(0x70),_0x35cfc4[_0x29cb0a(0x80)]=function(_0x2631ea,_0x7f2815){return _0x2631ea===_0x7f2815;},_0x35cfc4[_0x29cb0a(0xde)]=_0x29cb0a(0xe6),_0x35cfc4[_0x29cb0a(0xd7)]=function(_0x58d98b,_0x55d4f2){return _0x58d98b===_0x55d4f2;},_0x35cfc4[_0x29cb0a(0xd3)]=function(_0x4fa29c,_0x1d2bbc){return _0x4fa29c===_0x1d2bbc;},_0x35cfc4[_0x29cb0a(0xa9)]=_0x29cb0a(0x81),_0x35cfc4[_0x29cb0a(0x9a)]=function(_0x5136fc,_0x148339){return _0x5136fc===_0x148339;},_0x35cfc4[_0x29cb0a(0xe0)]=_0x29cb0a(0xa4),_0x35cfc4[_0x29cb0a(0x69)]='Page',_0x35cfc4[_0x29cb0a(0x97)]='WebDriver',_0x35cfc4[_0x29cb0a(0x128)]=_0x29cb0a(0x12d),_0x35cfc4['PtZoD']=_0x29cb0a(0xa5),_0x35cfc4['mGanj']=function(_0xce13ca,_0x3f27f5){return _0xce13ca||_0x3f27f5;},_0x35cfc4['yweJa']=_0x29cb0a(0x103);const _0x13b030=_0x35cfc4;if(!_0xb66cc1){const _0x396cfe={};return _0x396cfe[_0x29cb0a(0x8a)]=![],_0x396cfe[_0x29cb0a(0x118)]=_0x13b030['zQXCZ'],_0x396cfe;}if(_0x13b030[_0x29cb0a(0x80)](typeof _0xb66cc1[_0x29cb0a(0xea)],_0x13b030['cmSbK'])&&_0x13b030['YdovM'](typeof _0xb66cc1[_0x29cb0a(0x86)],_0x13b030[_0x29cb0a(0xde)])&&_0x13b030[_0x29cb0a(0xd3)](typeof _0xb66cc1[_0x29cb0a(0x6c)],_0x13b030[_0x29cb0a(0xde)])){const _0x361290={};return _0x361290['isPlaywright']=!![],_0x361290['type']=_0x13b030[_0x29cb0a(0xa9)],_0x361290;}if(_0x13b030['EMhhG'](typeof _0xb66cc1[_0x29cb0a(0x10a)],_0x13b030[_0x29cb0a(0xde)])&&_0x13b030[_0x29cb0a(0x9a)](typeof _0xb66cc1[_0x29cb0a(0xcb)],_0x13b030['cmSbK'])){const _0x221aab={};return _0x221aab[_0x29cb0a(0x8a)]=![],_0x221aab[_0x29cb0a(0x118)]=_0x13b030[_0x29cb0a(0xe0)],_0x221aab;}const _0x3d7672=_0xb66cc1[_0x29cb0a(0x88)]?.[_0x29cb0a(0xfb)];if(_0x13b030['yFDTM'](_0x3d7672,_0x13b030[_0x29cb0a(0x69)])){const _0x42bc16={};return _0x42bc16['isPlaywright']=!![],_0x42bc16[_0x29cb0a(0x118)]=_0x13b030[_0x29cb0a(0xa9)],_0x42bc16;}if(_0x13b030['oiAoT'](_0x3d7672,_0x13b030['IjzRD'])){const _0x322407={};return _0x322407[_0x29cb0a(0x8a)]=![],_0x322407[_0x29cb0a(0x118)]=_0x13b030[_0x29cb0a(0xe0)],_0x322407;}if(_0x13b030['EMhhG'](_0x3d7672,_0x13b030[_0x29cb0a(0x128)])){const _0x4d645a={};return _0x4d645a[_0x29cb0a(0x8a)]=!![],_0x4d645a[_0x29cb0a(0x118)]=_0x13b030['PtZoD'],_0x4d645a;}logger[_0x29cb0a(0x12b)](_0x29cb0a(0xfe)+_0x13b030[_0x29cb0a(0xfa)](_0x3d7672,_0x13b030[_0x29cb0a(0x122)]));const _0x3fd373={};return _0x3fd373[_0x29cb0a(0x8a)]=![],_0x3fd373[_0x29cb0a(0x118)]=_0x13b030[_0x29cb0a(0x121)],_0x3fd373;},withTimeout=(_0x8fca39,_0xedc153)=>{const _0x523de4=a121_0x347c6a;return Promise[_0x523de4(0x12a)]([_0x8fca39,new Promise((_0x51772c,_0x2fa87d)=>setTimeout(()=>_0x2fa87d(new Error(_0x523de4(0xeb)+_0xedc153+'ms')),_0xedc153))]);};exports[a121_0x347c6a(0x7f)]=async(_0x39c79e,_0x4f991e=null,_0x5b9435=null,_0x8fc70a=![],_0xa3facd=null)=>{const _0x235899=a121_0x347c6a,_0x405ad2={'oHCRZ':function(_0x167684,_0x3b1a7f){return _0x167684&&_0x3b1a7f;},'fiyRw':function(_0x1ce375,_0x245fd3,_0xec7acf){return _0x1ce375(_0x245fd3,_0xec7acf);},'ohLAK':function(_0x399f44,_0xdd8d80){return _0x399f44===_0xdd8d80;},'HuRbc':_0x235899(0xa5),'voZZo':function(_0x1bfbcc,_0x82e598,_0xc3f939){return _0x1bfbcc(_0x82e598,_0xc3f939);},'oOFxT':function(_0xe2ee37,_0x19dfc6){return _0xe2ee37(_0x19dfc6);},'bWsDc':function(_0x905822,_0x368388){return _0x905822||_0x368388;},'mHfPq':function(_0x56d2d6,_0x3fb1d7){return _0x56d2d6!==_0x3fb1d7;},'blFEN':_0x235899(0x109),'EafVI':_0x235899(0x7c),'hFfUi':function(_0x527af3,_0x3b040d){return _0x527af3===_0x3b040d;},'wsExi':function(_0x575b86,_0x2bdd44){return _0x575b86===_0x2bdd44;},'dwXHQ':'[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','lvAkj':_0x235899(0xca),'RzeKE':_0x235899(0xe6),'CUZvw':function(_0x5adcae,_0x5098ee){return _0x5adcae<=_0x5098ee;},'iWlaz':function(_0x467813,_0x41b87b){return _0x467813+_0x41b87b;},'YAmaF':function(_0x14937a,_0x3abafc){return _0x14937a+_0x3abafc;},'ufhNR':_0x235899(0x78)},{isPlaywright:_0x40c17d,type:_0x138051}=_0x405ad2[_0x235899(0x84)](detectDriverType,_0x39c79e),_0x2fb43b=_0x8fc70a?_0x405ad2[_0x235899(0x7b)](_0xa3facd,{}):global[_0x235899(0xb6)]||{},_0x57d76a=_0x40c17d?global[_0x235899(0x127)]&&(_0x8fc70a||_0x405ad2['mHfPq'](global[_0x235899(0x7c)],![])):accessibilityHelper[_0x235899(0xa2)]()&&globals[_0x235899(0xf1)](_0x405ad2['blFEN'])&&(_0x8fc70a||_0x405ad2[_0x235899(0x7a)](globals[_0x235899(0xf1)](_0x405ad2[_0x235899(0xe3)]),![]));if(!_0x57d76a)return _0x40c17d&&global[_0x235899(0x127)]&&_0x405ad2[_0x235899(0x119)](global[_0x235899(0x7c)],![])||!_0x40c17d&&globals[_0x235899(0xf1)](_0x405ad2[_0x235899(0x9b)])&&_0x405ad2[_0x235899(0xb7)](globals[_0x235899(0xf1)](_0x405ad2[_0x235899(0xe3)]),![])?logger[_0x235899(0xc3)](_0x405ad2[_0x235899(0x10b)]):logger[_0x235899(0x12b)](_0x235899(0xc1)+_0x138051+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x157907=_0x4f991e||global[_0x235899(0xb9)]||_0x405ad2[_0x235899(0xb5)];let _0x505c8c=null;const _0x41fb69={'testhub_btcer_uuid':global['__workerDetails']?.[_0x235899(0x6e)]?.['id'],'url':_0x405ad2[_0x235899(0xbc)](typeof _0x39c79e['url'],_0x405ad2[_0x235899(0xc5)])?await _0x39c79e[_0x235899(0x86)]():_0x405ad2['ohLAK'](typeof _0x39c79e[_0x235899(0xda)],_0x405ad2['RzeKE'])?await _0x39c79e['getCurrentUrl']():'','automate_session_id':_0x405ad2[_0x235899(0xb7)](typeof _0x39c79e[_0x235899(0xbf)],_0x405ad2[_0x235899(0xc5)])?(await _0x39c79e['getSession']())[_0x235899(0xd0)]():''};for(let _0x50d229=0x1;_0x405ad2[_0x235899(0x8e)](_0x50d229,_0x405ad2[_0x235899(0x66)](RETRY_CONFIG[_0x235899(0xf2)],0x1));_0x50d229++){try{return logger['debug']('Accessibility\x20scan\x20attempt\x20'+_0x50d229+'/'+_0x405ad2[_0x235899(0x10c)](RETRY_CONFIG[_0x235899(0xf2)],0x1)+'\x20for\x20method:\x20'+_0x157907+'\x20('+_0x138051+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x235899(0x11f)],async()=>{const _0x3c11d=_0x235899;let _0x3705d8;if(_0x405ad2[_0x3c11d(0xed)](_0x40c17d,playwrightA11yHelper)){_0x405ad2[_0x3c11d(0xa0)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x39c79e,RETRY_CONFIG[_0x3c11d(0xcd)]);let _0x54677c=_0x39c79e;_0x405ad2[_0x3c11d(0xbc)](_0x138051,_0x405ad2[_0x3c11d(0x99)])&&(_0x54677c=_0x39c79e[_0x3c11d(0x100)]);const _0x16b64b=global[_0x3c11d(0xef)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x3c11d(0xb3)]()}:{};_0x3705d8=await _0x405ad2[_0x3c11d(0xdd)](withTimeout,playwrightA11yHelper[_0x3c11d(0x91)](_0x54677c,_0x157907,_0x2fb43b,_0x16b64b),RETRY_CONFIG[_0x3c11d(0xcd)]),await exports['setPlaywrightScriptTimeout'](_0x39c79e,RETRY_CONFIG[_0x3c11d(0x82)]);}else await exports['setSeleniumScriptTimeout'](_0x39c79e,RETRY_CONFIG[_0x3c11d(0xcd)]),_0x3705d8=await _0x405ad2['fiyRw'](withTimeout,accessibilityHelper[_0x3c11d(0x91)](_0x39c79e,_0x157907,_0x8fc70a,_0x2fb43b),RETRY_CONFIG[_0x3c11d(0xcd)]),await exports[_0x3c11d(0x9e)](_0x39c79e,RETRY_CONFIG[_0x3c11d(0x82)]);logger[_0x3c11d(0xc3)](_0x3c11d(0x9f)+_0x50d229+'\x20completed\x20successfully.');},{'command':_0x157907,..._0x41fb69})(),logger[_0x235899(0x115)](_0x235899(0xbe)+_0x50d229+'.'),!![];}catch(_0xb76dbd){_0x505c8c=_0xb76dbd,logger[_0x235899(0xc3)](_0x235899(0xe8)+_0x50d229+'\x20failed\x20for\x20method:\x20'+_0x157907+'\x20('+_0x138051+_0x235899(0xe5)+_0xb76dbd[_0x235899(0x8c)]);}}return logger[_0x235899(0xf9)](_0x235899(0xe9)+_0x157907+'\x20('+_0x138051+_0x235899(0x120)+(_0x505c8c?.['message']||_0x405ad2[_0x235899(0xb2)])),![];},exports['getAccessibilityResultsWithRetry']=async(_0xfca095,_0x216532)=>{const _0x38aaf6=a121_0x347c6a,_0x220ecc={'YxUfr':function(_0x564c45,_0x52ec59){return _0x564c45(_0x52ec59);},'zWQrx':_0x38aaf6(0x109),'ZbbOM':function(_0x1e185c,_0x1bed37){return _0x1e185c<=_0x1bed37;},'FEpbQ':function(_0x52856b,_0x39d0f9){return _0x52856b+_0x39d0f9;},'wZyOh':function(_0x3ce14e,_0x593765){return _0x3ce14e&&_0x593765;},'vxqnt':function(_0x3811e9,_0x584277,_0x291e15){return _0x3811e9(_0x584277,_0x291e15);},'Hizey':function(_0x404d5d,_0xf91720,_0x29b6b9){return _0x404d5d(_0xf91720,_0x29b6b9);},'InyKU':function(_0x1b5baf,_0x529371,_0x7eeae1){return _0x1b5baf(_0x529371,_0x7eeae1);},'MkVHw':_0x38aaf6(0x78)},{isPlaywright:_0x11d8cb,type:_0x5c1dcf}=_0x220ecc[_0x38aaf6(0x113)](detectDriverType,_0xfca095),_0x1ac6c9=_0x11d8cb?_0x216532[_0x38aaf6(0x127)]:accessibilityHelper[_0x38aaf6(0xa2)]()&&globals['getGlobal'](_0x220ecc['zWQrx']);if(!_0x1ac6c9)return logger[_0x38aaf6(0x12b)](_0x38aaf6(0xc1)+_0x5c1dcf+_0x38aaf6(0x134)),[];let _0x57dceb=null;for(let _0x18a46c=0x1;_0x220ecc['ZbbOM'](_0x18a46c,_0x220ecc['FEpbQ'](RETRY_CONFIG['maxRetries'],0x1));_0x18a46c++){try{logger[_0x38aaf6(0xc3)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x18a46c+'/'+_0x220ecc[_0x38aaf6(0xaf)](RETRY_CONFIG[_0x38aaf6(0xf2)],0x1)+'\x20('+_0x5c1dcf+')');let _0x2914a3;return _0x220ecc[_0x38aaf6(0x75)](_0x11d8cb,playwrightA11yHelper)?(_0x220ecc[_0x38aaf6(0x67)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x38aaf6(0xf3)](_0xfca095,RETRY_CONFIG[_0x38aaf6(0xcd)]),_0x2914a3=await _0x220ecc[_0x38aaf6(0x12f)](withTimeout,playwrightA11yHelper[_0x38aaf6(0xf5)](_0xfca095),RETRY_CONFIG['timeoutMs']),await exports[_0x38aaf6(0xf3)](_0xfca095,RETRY_CONFIG[_0x38aaf6(0x82)])):(await exports[_0x38aaf6(0x9e)](_0xfca095,RETRY_CONFIG[_0x38aaf6(0xcd)]),_0x2914a3=await _0x220ecc[_0x38aaf6(0x72)](withTimeout,accessibilityHelper[_0x38aaf6(0xf5)](_0xfca095,_0x216532),RETRY_CONFIG[_0x38aaf6(0xcd)]),await exports['setSeleniumScriptTimeout'](_0xfca095,RETRY_CONFIG[_0x38aaf6(0x82)])),logger[_0x38aaf6(0x115)](_0x38aaf6(0x11c)+_0x18a46c+'\x20('+_0x5c1dcf+')'),_0x2914a3;}catch(_0x1fdaea){_0x57dceb=_0x1fdaea,logger[_0x38aaf6(0x12b)](_0x38aaf6(0xb0)+_0x18a46c+'\x20failed\x20('+_0x5c1dcf+_0x38aaf6(0xe5)+_0x1fdaea[_0x38aaf6(0x8c)]);}}return logger[_0x38aaf6(0xf9)]('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x5c1dcf+_0x38aaf6(0x132)+(_0x57dceb?.[_0x38aaf6(0x8c)]||_0x220ecc['MkVHw'])),[];},exports[a121_0x347c6a(0x74)]=async(_0x489350,_0x32bca8)=>{const _0x3c2c84=a121_0x347c6a,_0x2f486a={'gRwpj':function(_0x54e6de,_0x26a484){return _0x54e6de(_0x26a484);},'OyjZK':_0x3c2c84(0x109),'JxeUz':function(_0x50747a,_0x5a100e){return _0x50747a<=_0x5a100e;},'AVCFI':function(_0x45edfc,_0x2b9708){return _0x45edfc+_0x2b9708;},'IODcc':function(_0x58696a,_0x30a346){return _0x58696a&&_0x30a346;},'HtUcV':function(_0x2aad29,_0x1889ac,_0x5ae487){return _0x2aad29(_0x1889ac,_0x5ae487);},'YaGLD':_0x3c2c84(0x78)},{isPlaywright:_0x4ca09c,type:_0x511ac8}=_0x2f486a[_0x3c2c84(0x8b)](detectDriverType,_0x489350),_0x112a47=_0x4ca09c?_0x32bca8['accessibilityPlatform']:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x2f486a[_0x3c2c84(0x85)]);if(!_0x112a47)return logger[_0x3c2c84(0x12b)](_0x3c2c84(0xc1)+_0x511ac8+_0x3c2c84(0xe1)),{};let _0x2458bb=null;for(let _0x20a28d=0x1;_0x2f486a[_0x3c2c84(0x11d)](_0x20a28d,_0x2f486a[_0x3c2c84(0xab)](RETRY_CONFIG['maxRetries'],0x1));_0x20a28d++){try{logger[_0x3c2c84(0xc3)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x20a28d+'/'+_0x2f486a[_0x3c2c84(0xab)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x511ac8+')');let _0x2d450b;return _0x2f486a[_0x3c2c84(0xae)](_0x4ca09c,playwrightA11yHelper)?(_0x2f486a[_0x3c2c84(0x6b)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x489350,RETRY_CONFIG[_0x3c2c84(0xcd)]),_0x2d450b=await _0x2f486a['HtUcV'](withTimeout,playwrightA11yHelper[_0x3c2c84(0x124)](_0x489350),RETRY_CONFIG[_0x3c2c84(0xcd)]),await exports[_0x3c2c84(0xf3)](_0x489350,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x3c2c84(0x9e)](_0x489350,RETRY_CONFIG['timeoutMs']),_0x2d450b=await _0x2f486a[_0x3c2c84(0x6b)](withTimeout,accessibilityHelper['getAccessibilityResultsSummary'](_0x489350,_0x32bca8),RETRY_CONFIG[_0x3c2c84(0xcd)]),await exports[_0x3c2c84(0x9e)](_0x489350,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x3c2c84(0x115)](_0x3c2c84(0xba)+_0x20a28d+'\x20('+_0x511ac8+')'),_0x2d450b;}catch(_0x37cae1){_0x2458bb=_0x37cae1,logger['warn'](_0x3c2c84(0xf7)+_0x20a28d+_0x3c2c84(0xfc)+_0x511ac8+_0x3c2c84(0xe5)+_0x37cae1['message']);}}return logger['error'](_0x3c2c84(0x107)+_0x511ac8+').\x20Last\x20error:\x20'+(_0x2458bb?.['message']||_0x2f486a[_0x3c2c84(0x73)])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x2ad94f,_0x504093,_0x5d4163=null)=>{const _0x2e0f3e=a121_0x347c6a,_0xd59099={'wRxnV':function(_0x27a7ab,_0x648ffa){return _0x27a7ab(_0x648ffa);},'mXcNF':function(_0x45035c,_0x447231){return _0x45035c===_0x447231;},'ktcTB':_0x2e0f3e(0x102),'gKunR':function(_0x577be8,_0x364db5){return _0x577be8===_0x364db5;},'vrrIr':_0x2e0f3e(0x131),'MAqal':_0x2e0f3e(0xa7)},{isPlaywright:_0x84d62b,type:_0x10e22c}=_0xd59099['wRxnV'](detectDriverType,_0x2ad94f),_0x18ddf3={};_0x18ddf3['scanSucceeded']=![],_0x18ddf3[_0x2e0f3e(0x11e)]=[],_0x18ddf3['summary']={},_0x18ddf3[_0x2e0f3e(0xf9)]=null,_0x18ddf3[_0x2e0f3e(0xf0)]=_0x10e22c;const _0xeb6306=_0x18ddf3;try{_0xeb6306[_0x2e0f3e(0x8d)]=await exports[_0x2e0f3e(0x7f)](_0x2ad94f,_0x5d4163);if(_0xeb6306[_0x2e0f3e(0x8d)]){const [_0xd37e1f,_0x56e2c5]=await Promise['allSettled']([exports[_0x2e0f3e(0xb8)](_0x2ad94f,_0x504093),exports[_0x2e0f3e(0x74)](_0x2ad94f,_0x504093)]);_0xeb6306[_0x2e0f3e(0x11e)]=_0xd59099[_0x2e0f3e(0x83)](_0xd37e1f['status'],_0xd59099['ktcTB'])?_0xd37e1f['value']:[],_0xeb6306[_0x2e0f3e(0xee)]=_0xd59099['mXcNF'](_0x56e2c5[_0x2e0f3e(0xfd)],_0xd59099[_0x2e0f3e(0x110)])?_0x56e2c5[_0x2e0f3e(0xc4)]:{},_0xd59099[_0x2e0f3e(0x12e)](_0xd37e1f[_0x2e0f3e(0xfd)],_0xd59099[_0x2e0f3e(0x129)])&&logger[_0x2e0f3e(0x12b)]('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0x10e22c+_0x2e0f3e(0x94)+_0xd37e1f[_0x2e0f3e(0xd1)]?.[_0x2e0f3e(0x8c)]),_0xd59099[_0x2e0f3e(0x12e)](_0x56e2c5[_0x2e0f3e(0xfd)],_0xd59099[_0x2e0f3e(0x129)])&&logger[_0x2e0f3e(0x12b)](_0x2e0f3e(0x11a)+_0x10e22c+_0x2e0f3e(0x94)+_0x56e2c5[_0x2e0f3e(0xd1)]?.[_0x2e0f3e(0x8c)]);}}catch(_0x19da03){_0xeb6306[_0x2e0f3e(0xf9)]=_0x19da03[_0x2e0f3e(0x8c)]||_0xd59099[_0x2e0f3e(0x7e)],logger['error'](_0x2e0f3e(0x11b)+_0x10e22c+_0x2e0f3e(0x94)+_0xeb6306['error']);}return _0xeb6306;},exports['updateRetryConfig']=_0x52b45a=>{const _0x42063d=a121_0x347c6a,_0x2f49fa={};_0x2f49fa[_0x42063d(0x6a)]=function(_0x93218f,_0x57a584){return _0x93218f!==_0x57a584;},_0x2f49fa[_0x42063d(0x123)]=function(_0x2578eb,_0x3f0ad0){return _0x2578eb!==_0x3f0ad0;};const _0x3ca2a2=_0x2f49fa;_0x3ca2a2['DZVFW'](_0x52b45a[_0x42063d(0xf2)],undefined)&&(RETRY_CONFIG[_0x42063d(0xf2)]=Math[_0x42063d(0x95)](0x0,_0x52b45a[_0x42063d(0xf2)])),_0x3ca2a2[_0x42063d(0x123)](_0x52b45a[_0x42063d(0xcd)],undefined)&&(RETRY_CONFIG[_0x42063d(0xcd)]=Math[_0x42063d(0x95)](0x3e8,_0x52b45a[_0x42063d(0xcd)])),logger[_0x42063d(0xc3)](_0x42063d(0x10e)+JSON[_0x42063d(0x126)](RETRY_CONFIG));},exports[a121_0x347c6a(0x9c)]=()=>{const _0x19206f={...RETRY_CONFIG};return _0x19206f;},exports[a121_0x347c6a(0xdf)]=_0x10c817=>{const _0x2817c7={'NYRXn':function(_0x49f997,_0x5e2e81){return _0x49f997(_0x5e2e81);}};return _0x2817c7['NYRXn'](detectDriverType,_0x10c817)['isPlaywright'];},exports[a121_0x347c6a(0x87)]=_0x34950d=>{const _0x36fb5f=a121_0x347c6a,_0x48a9dc={'yYVmB':function(_0x222500,_0x599816){return _0x222500(_0x599816);},'bllPl':function(_0x196de2,_0x4e67b4){return _0x196de2===_0x4e67b4;},'ZKEsu':_0x36fb5f(0xa4)},{isPlaywright:_0x5f3f13,type:_0x2e9dbe}=_0x48a9dc[_0x36fb5f(0x136)](detectDriverType,_0x34950d);return!_0x5f3f13&&_0x48a9dc[_0x36fb5f(0xf4)](_0x2e9dbe,_0x48a9dc['ZKEsu']);},exports[a121_0x347c6a(0xf3)]=async(_0x48a62f,_0x234971=null)=>{const _0x56fa8b=a121_0x347c6a,_0x45dbe8={'doilD':function(_0x231f16,_0x43c2c4){return _0x231f16(_0x43c2c4);},'KtSwY':function(_0x1cefe2,_0x290651){return _0x1cefe2===_0x290651;},'cjoHl':_0x56fa8b(0xe6)},{isPlaywright:_0x419fa1,type:_0x4c1b8f}=_0x45dbe8[_0x56fa8b(0xad)](detectDriverType,_0x48a62f);if(!_0x419fa1)return logger['debug'](_0x56fa8b(0x101)+_0x4c1b8f+_0x56fa8b(0x114)),!![];const _0x5bc251=_0x234971||RETRY_CONFIG[_0x56fa8b(0x82)];try{return _0x48a62f&&_0x45dbe8[_0x56fa8b(0xa1)](typeof _0x48a62f[_0x56fa8b(0xc0)],_0x45dbe8[_0x56fa8b(0x90)])&&(await _0x48a62f[_0x56fa8b(0xc0)](_0x5bc251),logger[_0x56fa8b(0xc3)](_0x56fa8b(0x125)+_0x5bc251+'ms')),!![];}catch(_0x338837){return logger[_0x56fa8b(0x12b)]('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x338837[_0x56fa8b(0x8c)]),![];}},exports[a121_0x347c6a(0x9e)]=async(_0x2932ff,_0xaf9728=null)=>{const _0x37d880=a121_0x347c6a,_0x3ae858={};_0x3ae858[_0x37d880(0xd2)]=_0x37d880(0x9d),_0x3ae858[_0x37d880(0x96)]=function(_0x2615e6,_0x52f6f4){return _0x2615e6===_0x52f6f4;},_0x3ae858[_0x37d880(0x130)]='function',_0x3ae858[_0x37d880(0x112)]=function(_0x38abb0,_0x19e3ca){return _0x38abb0===_0x19e3ca;},_0x3ae858[_0x37d880(0x6f)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x3ae858[_0x37d880(0xb1)]=_0x37d880(0xa3);const _0x2c1b3e=_0x3ae858;if(!exports[_0x37d880(0x87)](_0x2932ff))return logger[_0x37d880(0x12b)](_0x2c1b3e[_0x37d880(0xd2)]),![];const _0x15c985=_0xaf9728||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x2932ff&&_0x2c1b3e['SqGDx'](typeof _0x2932ff['manage'],_0x2c1b3e[_0x37d880(0x130)])){const _0x221a84=_0x2932ff[_0x37d880(0xe4)]();if(_0x221a84&&_0x2c1b3e[_0x37d880(0x112)](typeof _0x221a84[_0x37d880(0xf8)],_0x2c1b3e['VxVwe']))await _0x221a84[_0x37d880(0xf8)]()[_0x37d880(0x77)](_0x15c985),logger[_0x37d880(0xc3)](_0x37d880(0x133)+_0x15c985+'ms\x20using\x20timeouts()\x20API');else{if(_0x221a84&&_0x2c1b3e[_0x37d880(0x112)](typeof _0x221a84['setTimeouts'],_0x2c1b3e['VxVwe'])){const _0x3a53cd={};_0x3a53cd[_0x37d880(0x10f)]=_0x15c985,await _0x221a84[_0x37d880(0x8f)](_0x3a53cd),logger[_0x37d880(0xc3)](_0x37d880(0x133)+_0x15c985+_0x37d880(0xd5));}else{if(_0x221a84&&_0x2c1b3e[_0x37d880(0x96)](typeof _0x221a84[_0x37d880(0x77)],_0x2c1b3e[_0x37d880(0x130)]))await _0x221a84[_0x37d880(0x77)](_0x15c985),logger[_0x37d880(0xc3)](_0x37d880(0x133)+_0x15c985+'ms\x20using\x20setScriptTimeout\x20API');else return logger[_0x37d880(0xc3)](_0x2c1b3e['luKsp']),!![];}}}else return logger[_0x37d880(0xc3)](_0x2c1b3e[_0x37d880(0xb1)]),!![];return!![];}catch(_0x2e4a4c){return logger[_0x37d880(0x12b)](_0x37d880(0xa8)+_0x2e4a4c[_0x37d880(0x8c)]),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x9dfb3f,_0x210e47)=>{const _0x5a1bfa=a121_0x347c6a,_0x3e700b={'bAila':function(_0x5e9205,_0x569e99){return _0x5e9205(_0x569e99);},'jPJSZ':_0x5a1bfa(0x109),'aapYr':function(_0x1de0de,_0x5b323b){return _0x1de0de<=_0x5b323b;},'FUBmo':function(_0x2ed2b0,_0x2a47df){return _0x2ed2b0+_0x2a47df;},'vpqJa':function(_0x236fe0,_0x2f580b){return _0x236fe0+_0x2f580b;},'SegSF':function(_0x1082b9,_0x57a2ed){return _0x1082b9&&_0x57a2ed;},'IoBVt':function(_0x2292d8,_0x1c8abe,_0x71587){return _0x2292d8(_0x1c8abe,_0x71587);},'lEukg':function(_0x2a4ffd,_0x387676,_0x528819){return _0x2a4ffd(_0x387676,_0x528819);},'lfbID':'isMobilePlatform','GFAvg':_0x5a1bfa(0x78)},{isPlaywright:_0x1ec176,type:_0xf7551a}=_0x3e700b[_0x5a1bfa(0x68)](detectDriverType,_0x9dfb3f),_0x34360c=_0x1ec176?global[_0x5a1bfa(0x127)]:accessibilityHelper[_0x5a1bfa(0xa2)]()&&globals['getGlobal'](_0x3e700b[_0x5a1bfa(0xc7)]);if(!_0x34360c)return logger[_0x5a1bfa(0x12b)](_0x5a1bfa(0xc1)+_0xf7551a+_0x5a1bfa(0x139)),![];let _0x2a4d46=null;for(let _0x44718f=0x1;_0x3e700b[_0x5a1bfa(0x10d)](_0x44718f,_0x3e700b['FUBmo'](RETRY_CONFIG[_0x5a1bfa(0xf2)],0x1));_0x44718f++){try{logger['debug']('Accessibility\x20results\x20save\x20attempt\x20'+_0x44718f+'/'+_0x3e700b['vpqJa'](RETRY_CONFIG[_0x5a1bfa(0xf2)],0x1)+'\x20('+_0xf7551a+')');if(_0x3e700b[_0x5a1bfa(0x12c)](_0x1ec176,playwrightA11yHelper)){_0x3e700b[_0x5a1bfa(0x108)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x5a1bfa(0xf3)](_0x9dfb3f,RETRY_CONFIG[_0x5a1bfa(0xcd)]);const _0x4fcd63={};_0x4fcd63[_0x5a1bfa(0x117)]=!![];const _0x49c66e=global[_0x5a1bfa(0xef)]?Object[_0x5a1bfa(0xe2)]({},_0x210e47,_0x4fcd63):_0x210e47;await _0x3e700b[_0x5a1bfa(0xac)](withTimeout,playwrightA11yHelper[_0x5a1bfa(0xd8)](_0x9dfb3f,scripts[_0x5a1bfa(0xa6)],_0x49c66e),RETRY_CONFIG[_0x5a1bfa(0xcd)]),await exports[_0x5a1bfa(0xf3)](_0x9dfb3f,RETRY_CONFIG[_0x5a1bfa(0x82)]);}else{await exports['setSeleniumScriptTimeout'](_0x9dfb3f,RETRY_CONFIG[_0x5a1bfa(0xcd)]);const _0x61ef1b={};_0x61ef1b[_0x5a1bfa(0x117)]=!![];const _0x5dbe5c=globals[_0x5a1bfa(0xf1)](_0x3e700b[_0x5a1bfa(0xe7)])?Object[_0x5a1bfa(0xe2)]({},_0x210e47,_0x61ef1b):_0x210e47;await _0x3e700b[_0x5a1bfa(0x108)](withTimeout,_0x9dfb3f['executeAsyncScript'](scripts[_0x5a1bfa(0xa6)],_0x5dbe5c),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x9dfb3f,RETRY_CONFIG[_0x5a1bfa(0x82)]);}return logger[_0x5a1bfa(0x115)](_0x5a1bfa(0x138)+_0x44718f+'\x20('+_0xf7551a+')'),!![];}catch(_0x333998){_0x2a4d46=_0x333998,logger['warn'](_0x5a1bfa(0xd9)+_0x44718f+_0x5a1bfa(0xfc)+_0xf7551a+_0x5a1bfa(0xe5)+_0x333998[_0x5a1bfa(0x8c)]);}}return logger[_0x5a1bfa(0xf9)](_0x5a1bfa(0x105)+_0xf7551a+').\x20Last\x20error:\x20'+(_0x2a4d46?.[_0x5a1bfa(0x8c)]||_0x3e700b[_0x5a1bfa(0xd4)])),![];};
|
|
1
|
+
const a121_0x228b92=a121_0x25b4;(function(_0x47225c,_0x141f68){const _0x471c51=a121_0x25b4,_0x425cbc=_0x47225c();while(!![]){try{const _0x2bfc19=parseInt(_0x471c51(0x1ba))/0x1*(parseInt(_0x471c51(0x1c2))/0x2)+parseInt(_0x471c51(0x218))/0x3*(-parseInt(_0x471c51(0x1aa))/0x4)+-parseInt(_0x471c51(0x212))/0x5+-parseInt(_0x471c51(0x236))/0x6+parseInt(_0x471c51(0x1f8))/0x7+-parseInt(_0x471c51(0x1ad))/0x8+parseInt(_0x471c51(0x209))/0x9;if(_0x2bfc19===_0x141f68)break;else _0x425cbc['push'](_0x425cbc['shift']());}catch(_0x229020){_0x425cbc['push'](_0x425cbc['shift']());}}}(a121_0x4eee,0xa09e5));const util=require('util'),logger=require(a121_0x228b92(0x1de))[a121_0x228b92(0x23d)],accessibilityHelper=require(a121_0x228b92(0x215)),globals=require(a121_0x228b92(0x21b)),scripts=require(a121_0x228b92(0x1b1)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a121_0x228b92(0x268)),BrowserstackCLI=require(a121_0x228b92(0x23c));let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a121_0x26e529){logger[a121_0x228b92(0x1b6)](a121_0x228b92(0x216));}function a121_0x25b4(_0x401d91,_0x119c00){const _0x4eeeba=a121_0x4eee();return a121_0x25b4=function(_0x25b4d3,_0x430452){_0x25b4d3=_0x25b4d3-0x1a5;let _0x1511d9=_0x4eeeba[_0x25b4d3];return _0x1511d9;},a121_0x25b4(_0x401d91,_0x119c00);}const a121_0x1791c9={};a121_0x1791c9[a121_0x228b92(0x1ea)]=0x1,a121_0x1791c9['timeoutMs']=0x7530,a121_0x1791c9[a121_0x228b92(0x217)]=0x7530;function a121_0x4eee(){const _0x218e11=['KlYgG','\x20-\x20not\x20applicable','timeoutMs','goto','xPKPr','rOOqv','scanSucceeded','nNhhQ','env','GXDvl','capabilitiesList','max','1417276bjtpBT','RYrHX','LgQsf','ViWQK','uJEYx','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','rejected','Unknown\x20driver/page\x20type:\x20','fulfilled','SATKK','resolveMobileThTestRunUuid','Page','vODWY','aaWLP','VRJmw','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','29003328TDNttl','evaluate','isMobilePlatform','manage','Operation\x20timed\x20out\x20after\x20','EHlSf','PERFORM_SCAN','error','message','3742640okUGRG','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','rDeJG','./helper','Playwright\x20accessibility\x20helper\x20not\x20available','defaultTimeoutMs','3eljdpN','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','gbHfM','../globals','driverType','name','Comprehensive\x20accessibility\x20scan\x20failed\x20(','UQOXy','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','xxOtD','LoEOJ','performComprehensiveAccessibilityScanWithRetry','RzZyr','SSDlf','performScan','AyoNu','getSession','ms\x20using\x20setTimeouts\x20API','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','ceYDE','wofwZ','vCzxc','url','\x20failed\x20(','getInstance','Unknown\x20error','bstackA11yScanOptions','getAccessibilityResultsSummaryWithRetry','isAccessibilityPlatform','FGvpK','3484146nWMlui','results','sIuDc','LLVou','TVCcd','value','../../bin/v2/browserstackCLI','winstonLogger','ywsDE','agiMo','CGgSU','mGSDC','Gmcmh','IixQB','zBawU','Skipping\x20timeout\x20setting\x20for\x20','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','JECJD','Accessibility\x20results\x20retrieval\x20attempt\x20','setDefaultTimeout','setPlaywrightScriptTimeout','accessibilityPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','ThfLz','isPlaywright','setTimeouts','zLHHY','\x20completed\x20successfully.','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','saveTestResults','HNWFQ','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','WtcSa','unknown','getAccessibilityResultsWithRetry','EniWT','ADqMN','Accessibility\x20results\x20save\x20attempt\x20',').\x20Last\x20error:\x20','getAccessibilityResults','isPlaywrightPage','is_mobile_session','timeouts','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','getCurrentUrl','zlHeL','EvhMj','updateRetryConfig','OoUsn','knVir','../performance/constants','Scan\x20attempt\x20','QtHdG','currentTest','type','status','summary','UiLyL','ZoVgo','constructor','setScriptTimeout','ms\x20using\x20setScriptTimeout\x20API','stringify','TZMSd','gSzUu','assign','3514948ktIOTf','rgTuH',',\x20cannot\x20perform\x20scan\x20with\x20retry.','4807480SxeMVK','setSeleniumScriptTimeout','TpENr','iaTIm','./scripts','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Ewwpp','pGqUK','sZiew','debug','NMbbb','KtpdI','options','61rOHqLl','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','isSeleniumDriver','bstackA11yShouldScan','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','UzjKK','browserStackEvaluate','getGlobal','1368cKSAPQ','isRunning','saveAccessibilityResultsWithRetry','):\x20','VRGxw','\x20failed\x20for\x20method:\x20','DKund',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','\x20for\x20method:\x20','yDLJs','UHhoy','BHLYS','aoAyE','qLxQi','Rkpil','isAccessibilityAutomationSession','undefined',').\x20Error:\x20','executeAsyncScript','ms\x20using\x20timeouts()\x20API','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','hqCqE','page','warn','race','reason','UtKpw','info','../logger','playwright-codecept-driver','getRetryConfig','performScanWithRetry','function','ntTAo','frNiX','dZoJr','zXAtE','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Accessibility\x20scan\x20attempt\x20','getAccessibilityResultsSummary','maxRetries','selenium-webdriver'];a121_0x4eee=function(){return _0x218e11;};return a121_0x4eee();}const RETRY_CONFIG=a121_0x1791c9,setConfigTimeout=(_0x2f69ad,_0x2b6739=null)=>{const _0x247df7=a121_0x228b92,_0x1c081b={'RzZyr':function(_0x3792cb,_0x5cfc0d){return _0x3792cb===_0x5cfc0d;},'xxOtD':'scannerProcessingTimeout','LoEOJ':function(_0x4d06c8,_0x5ea75f){return _0x4d06c8*_0x5ea75f;},'sZiew':function(_0x20afae,_0x3d64c4){return _0x20afae(_0x3d64c4);}};if(BrowserstackCLI[_0x247df7(0x230)]()[_0x247df7(0x1c3)]()&&BrowserstackCLI[_0x247df7(0x230)]()['getAccessibilityModule']()){const _0x23e453=BrowserstackCLI[_0x247df7(0x230)]()['getAccessibilityModule']()['accessibilityConfig'],_0x1d30d9=_0x23e453[_0x247df7(0x1b9)][_0x247df7(0x1f6)]||[];for(const _0x1b2630 of _0x1d30d9){_0x1c081b[_0x247df7(0x224)](_0x1b2630['name'],_0x1c081b[_0x247df7(0x221)])&&_0x1c081b[_0x247df7(0x224)](_0x2b6739,null)&&(_0x2f69ad[_0x247df7(0x1ee)]=_0x1c081b[_0x247df7(0x222)](_0x1c081b['sZiew'](parseInt,_0x1b2630[_0x247df7(0x23b)]),0x3e8));}}else process['env'][_0x247df7(0x24c)]&&(_0x2f69ad[_0x247df7(0x1ee)]=_0x1c081b[_0x247df7(0x222)](_0x1c081b[_0x247df7(0x1b5)](parseInt,process[_0x247df7(0x1f4)][_0x247df7(0x24c)]),0x3e8));},detectDriverType=_0x532a59=>{const _0x4ecf33=a121_0x228b92,_0x4f2a6f={};_0x4f2a6f[_0x4ecf33(0x263)]=_0x4ecf33(0x257),_0x4f2a6f[_0x4ecf33(0x1fa)]=function(_0x493784,_0x117955){return _0x493784===_0x117955;},_0x4f2a6f[_0x4ecf33(0x1fc)]=_0x4ecf33(0x1e2),_0x4f2a6f[_0x4ecf33(0x254)]=function(_0x5b5a1a,_0x1d454f){return _0x5b5a1a===_0x1d454f;},_0x4f2a6f['UtKpw']='playwright-page',_0x4f2a6f[_0x4ecf33(0x243)]=function(_0x4b811f,_0x3a6cc8){return _0x4b811f===_0x3a6cc8;},_0x4f2a6f[_0x4ecf33(0x266)]=_0x4ecf33(0x1eb),_0x4f2a6f[_0x4ecf33(0x1a8)]=_0x4ecf33(0x204),_0x4f2a6f[_0x4ecf33(0x26a)]=function(_0x376f26,_0x1a22f6){return _0x376f26===_0x1a22f6;},_0x4f2a6f[_0x4ecf33(0x264)]='WebDriver',_0x4f2a6f[_0x4ecf33(0x207)]=function(_0x4c2c4e,_0x108c78){return _0x4c2c4e===_0x108c78;},_0x4f2a6f[_0x4ecf33(0x250)]='Playwright',_0x4f2a6f[_0x4ecf33(0x23f)]=_0x4ecf33(0x1df),_0x4f2a6f[_0x4ecf33(0x1f3)]=function(_0xb16c84,_0x5744bf){return _0xb16c84||_0x5744bf;},_0x4f2a6f[_0x4ecf33(0x206)]=_0x4ecf33(0x1d2);const _0x34ec31=_0x4f2a6f;if(!_0x532a59){const _0x5f2e7f={};return _0x5f2e7f[_0x4ecf33(0x24e)]=![],_0x5f2e7f[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x263)],_0x5f2e7f;}if(_0x34ec31[_0x4ecf33(0x1fa)](typeof _0x532a59[_0x4ecf33(0x20a)],_0x34ec31[_0x4ecf33(0x1fc)])&&_0x34ec31['LgQsf'](typeof _0x532a59['url'],_0x34ec31[_0x4ecf33(0x1fc)])&&_0x34ec31['HNWFQ'](typeof _0x532a59[_0x4ecf33(0x1ef)],_0x34ec31[_0x4ecf33(0x1fc)])){const _0xcfc775={};return _0xcfc775[_0x4ecf33(0x24e)]=!![],_0xcfc775['type']=_0x34ec31[_0x4ecf33(0x1dc)],_0xcfc775;}if(_0x34ec31[_0x4ecf33(0x1fa)](typeof _0x532a59[_0x4ecf33(0x1d4)],_0x34ec31['uJEYx'])&&_0x34ec31[_0x4ecf33(0x243)](typeof _0x532a59['getCapabilities'],_0x34ec31[_0x4ecf33(0x1fc)])){const _0x33d4f8={};return _0x33d4f8['isPlaywright']=![],_0x33d4f8[_0x4ecf33(0x26c)]=_0x34ec31['OoUsn'],_0x33d4f8;}const _0x38695f=_0x532a59[_0x4ecf33(0x271)]?.[_0x4ecf33(0x21d)];if(_0x34ec31[_0x4ecf33(0x243)](_0x38695f,_0x34ec31[_0x4ecf33(0x1a8)])){const _0x420b07={};return _0x420b07[_0x4ecf33(0x24e)]=!![],_0x420b07[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x1dc)],_0x420b07;}if(_0x34ec31['QtHdG'](_0x38695f,_0x34ec31[_0x4ecf33(0x264)])){const _0x3ec1c2={};return _0x3ec1c2[_0x4ecf33(0x24e)]=![],_0x3ec1c2[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x266)],_0x3ec1c2;}if(_0x34ec31[_0x4ecf33(0x207)](_0x38695f,_0x34ec31[_0x4ecf33(0x250)])){const _0x15e51d={};return _0x15e51d['isPlaywright']=!![],_0x15e51d[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x23f)],_0x15e51d;}logger[_0x4ecf33(0x1d9)](_0x4ecf33(0x200)+_0x34ec31[_0x4ecf33(0x1f3)](_0x38695f,_0x34ec31[_0x4ecf33(0x206)]));const _0x59a62b={};return _0x59a62b[_0x4ecf33(0x24e)]=![],_0x59a62b[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x263)],_0x59a62b;},withTimeout=(_0x2aba20,_0x4cac1c)=>{const _0x35932=a121_0x228b92;return Promise[_0x35932(0x1da)]([_0x2aba20,new Promise((_0x245b65,_0x33d02a)=>setTimeout(()=>_0x33d02a(new Error(_0x35932(0x20d)+_0x4cac1c+'ms')),_0x4cac1c))]);};exports[a121_0x228b92(0x1e1)]=async(_0x1d0d1d,_0x2e2c35=null,_0x41fe5d=null,_0x527084=![],_0x212a05=null)=>{const _0x33bc69=a121_0x228b92,_0x41534e={'yDLJs':function(_0x57f36a,_0x2faeb7){return _0x57f36a&&_0x2faeb7;},'TpENr':function(_0x19f050,_0x56d30e,_0x4b9419){return _0x19f050(_0x56d30e,_0x4b9419);},'UiLyL':function(_0x1607ee,_0x1ac4e8){return _0x1607ee===_0x1ac4e8;},'UHhoy':'playwright-codecept-driver','ywsDE':function(_0x4e7545,_0x2962da,_0x3678fd){return _0x4e7545(_0x2962da,_0x3678fd);},'pGqUK':function(_0x2fa074,_0x19873e){return _0x2fa074(_0x19873e);},'mGSDC':function(_0x4fe398,_0x1f1a9a){return _0x4fe398||_0x1f1a9a;},'KtpdI':function(_0x1b6d42,_0x30b775){return _0x1b6d42!==_0x30b775;},'wofwZ':_0x33bc69(0x234),'Ewwpp':_0x33bc69(0x1bd),'LLVou':_0x33bc69(0x213),'knVir':'unknown_method','ViWQK':function(_0x346ec7,_0x3f92fb){return _0x346ec7===_0x3f92fb;},'EniWT':'function','iaTIm':function(_0x132036,_0x47e3de){return _0x132036<=_0x47e3de;},'cFSDb':function(_0x12db2b,_0x22162a){return _0x12db2b+_0x22162a;},'SATKK':function(_0x28d552,_0x50b0a0){return _0x28d552+_0x50b0a0;},'HukPg':_0x33bc69(0x231)},{isPlaywright:_0x4d5af5,type:_0x4fb7d6}=_0x41534e[_0x33bc69(0x1b4)](detectDriverType,_0x1d0d1d),_0x13b725=_0x527084?_0x41534e[_0x33bc69(0x241)](_0x212a05,{}):global[_0x33bc69(0x232)]||{},_0x306f08=_0x4d5af5?global['accessibilityPlatform']&&(_0x527084||_0x41534e[_0x33bc69(0x1b8)](global['bstackA11yShouldScan'],![])):accessibilityHelper[_0x33bc69(0x1d1)]()&&globals[_0x33bc69(0x1c1)](_0x41534e['wofwZ'])&&(_0x527084||_0x41534e[_0x33bc69(0x1b8)](globals['getGlobal'](_0x41534e[_0x33bc69(0x1b3)]),![]));if(!_0x306f08)return _0x4d5af5&&global[_0x33bc69(0x24b)]&&_0x41534e[_0x33bc69(0x26f)](global['bstackA11yShouldScan'],![])||!_0x4d5af5&&globals[_0x33bc69(0x1c1)](_0x41534e[_0x33bc69(0x22c)])&&_0x41534e[_0x33bc69(0x26f)](globals[_0x33bc69(0x1c1)](_0x41534e[_0x33bc69(0x1b3)]),![])?logger['debug'](_0x41534e[_0x33bc69(0x239)]):logger[_0x33bc69(0x1d9)](_0x33bc69(0x1d6)+_0x4fb7d6+_0x33bc69(0x1ac)),![];const _0x1ad06a=_0x2e2c35||global['browserstackSessionName']||_0x41534e[_0x33bc69(0x267)];let _0x3921bf=null;const _0x5406bf={'testhub_btcer_uuid':global['__workerDetails']?.[_0x33bc69(0x26b)]?.['id'],'url':_0x41534e[_0x33bc69(0x1fb)](typeof _0x1d0d1d[_0x33bc69(0x22e)],_0x41534e[_0x33bc69(0x259)])?await _0x1d0d1d['url']():_0x41534e['UiLyL'](typeof _0x1d0d1d[_0x33bc69(0x262)],_0x41534e[_0x33bc69(0x259)])?await _0x1d0d1d[_0x33bc69(0x262)]():'','automate_session_id':_0x41534e[_0x33bc69(0x1fb)](typeof _0x1d0d1d['getSession'],_0x41534e[_0x33bc69(0x259)])?(await _0x1d0d1d[_0x33bc69(0x228)]())['getId']():''};for(let _0x1141a0=0x1;_0x41534e[_0x33bc69(0x1b0)](_0x1141a0,_0x41534e['cFSDb'](RETRY_CONFIG[_0x33bc69(0x1ea)],0x1));_0x1141a0++){try{return logger[_0x33bc69(0x1b6)]('Accessibility\x20scan\x20attempt\x20'+_0x1141a0+'/'+_0x41534e[_0x33bc69(0x202)](RETRY_CONFIG[_0x33bc69(0x1ea)],0x1)+_0x33bc69(0x1ca)+_0x1ad06a+'\x20('+_0x4fb7d6+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x33bc69(0x20f)],async()=>{const _0x2d944b=_0x33bc69;let _0x5d2bc1;if(_0x41534e[_0x2d944b(0x1cb)](_0x4d5af5,playwrightA11yHelper)){_0x41534e['TpENr'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2d944b(0x24a)](_0x1d0d1d,RETRY_CONFIG[_0x2d944b(0x1ee)]);let _0x430df4=_0x1d0d1d;_0x41534e[_0x2d944b(0x26f)](_0x4fb7d6,_0x41534e[_0x2d944b(0x1cc)])&&(_0x430df4=_0x1d0d1d[_0x2d944b(0x1d8)]);const _0x885bf8=global[_0x2d944b(0x20b)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x2d944b(0x203)]()}:{};_0x5d2bc1=await _0x41534e[_0x2d944b(0x23e)](withTimeout,playwrightA11yHelper[_0x2d944b(0x226)](_0x430df4,_0x1ad06a,_0x13b725,_0x885bf8),RETRY_CONFIG[_0x2d944b(0x1ee)]),await exports[_0x2d944b(0x24a)](_0x1d0d1d,RETRY_CONFIG[_0x2d944b(0x217)]);}else await exports[_0x2d944b(0x1ae)](_0x1d0d1d,RETRY_CONFIG[_0x2d944b(0x1ee)]),_0x5d2bc1=await _0x41534e[_0x2d944b(0x1af)](withTimeout,accessibilityHelper[_0x2d944b(0x226)](_0x1d0d1d,_0x1ad06a,_0x527084,_0x13b725),RETRY_CONFIG[_0x2d944b(0x1ee)]),await exports[_0x2d944b(0x1ae)](_0x1d0d1d,RETRY_CONFIG[_0x2d944b(0x217)]);logger[_0x2d944b(0x1b6)](_0x2d944b(0x269)+_0x1141a0+_0x2d944b(0x251));},{'command':_0x1ad06a,..._0x5406bf})(),logger['info'](_0x33bc69(0x1be)+_0x1141a0+'.'),!![];}catch(_0x4ed888){_0x3921bf=_0x4ed888,logger['debug'](_0x33bc69(0x1e8)+_0x1141a0+_0x33bc69(0x1c7)+_0x1ad06a+'\x20('+_0x4fb7d6+_0x33bc69(0x1d3)+_0x4ed888['message']);}}return logger['error'](_0x33bc69(0x208)+_0x1ad06a+'\x20('+_0x4fb7d6+')\x20with\x20error:\x20'+(_0x3921bf?.[_0x33bc69(0x211)]||_0x41534e['HukPg'])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x496f31,_0x5cc5df)=>{const _0x3351d0=a121_0x228b92,_0x442164={'gbHfM':function(_0x8b3674,_0x2f3176){return _0x8b3674(_0x2f3176);},'RYrHX':_0x3351d0(0x234),'CGgSU':function(_0x463680,_0x1d99fc){return _0x463680<=_0x1d99fc;},'vODWY':function(_0x245530,_0x375394){return _0x245530+_0x375394;},'Rsbzk':function(_0x12a49f,_0x32da02){return _0x12a49f+_0x32da02;},'ntTAo':function(_0x2d0031,_0x42c021){return _0x2d0031&&_0x42c021;},'ADqMN':function(_0x4a9a60,_0xade240,_0x49b111){return _0x4a9a60(_0xade240,_0x49b111);},'hqCqE':function(_0x277a36,_0x34241e,_0x1723c7){return _0x277a36(_0x34241e,_0x1723c7);},'dZoJr':_0x3351d0(0x231)},{isPlaywright:_0x15ceb4,type:_0x5b33f4}=_0x442164[_0x3351d0(0x21a)](detectDriverType,_0x496f31),_0x57954f=_0x15ceb4?_0x5cc5df['accessibilityPlatform']:accessibilityHelper[_0x3351d0(0x1d1)]()&&globals[_0x3351d0(0x1c1)](_0x442164[_0x3351d0(0x1f9)]);if(!_0x57954f)return logger[_0x3351d0(0x1d9)](_0x3351d0(0x1d6)+_0x5b33f4+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.'),[];let _0x27fb9c=null;for(let _0x313ff6=0x1;_0x442164[_0x3351d0(0x240)](_0x313ff6,_0x442164[_0x3351d0(0x205)](RETRY_CONFIG['maxRetries'],0x1));_0x313ff6++){try{logger[_0x3351d0(0x1b6)](_0x3351d0(0x248)+_0x313ff6+'/'+_0x442164['Rsbzk'](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x5b33f4+')');let _0x1b2e64;return _0x442164[_0x3351d0(0x1e3)](_0x15ceb4,playwrightA11yHelper)?(_0x442164[_0x3351d0(0x25a)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3351d0(0x24a)](_0x496f31,RETRY_CONFIG[_0x3351d0(0x1ee)]),_0x1b2e64=await _0x442164[_0x3351d0(0x1d7)](withTimeout,playwrightA11yHelper[_0x3351d0(0x25d)](_0x496f31),RETRY_CONFIG[_0x3351d0(0x1ee)]),await exports[_0x3351d0(0x24a)](_0x496f31,RETRY_CONFIG[_0x3351d0(0x217)])):(await exports[_0x3351d0(0x1ae)](_0x496f31,RETRY_CONFIG[_0x3351d0(0x1ee)]),_0x1b2e64=await _0x442164[_0x3351d0(0x1d7)](withTimeout,accessibilityHelper[_0x3351d0(0x25d)](_0x496f31,_0x5cc5df),RETRY_CONFIG[_0x3351d0(0x1ee)]),await exports[_0x3351d0(0x1ae)](_0x496f31,RETRY_CONFIG[_0x3351d0(0x217)])),logger[_0x3351d0(0x1dd)](_0x3351d0(0x255)+_0x313ff6+'\x20('+_0x5b33f4+')'),_0x1b2e64;}catch(_0x318132){_0x27fb9c=_0x318132,logger['warn']('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x313ff6+_0x3351d0(0x22f)+_0x5b33f4+_0x3351d0(0x1d3)+_0x318132['message']);}}return logger[_0x3351d0(0x210)](_0x3351d0(0x261)+_0x5b33f4+_0x3351d0(0x25c)+(_0x27fb9c?.['message']||_0x442164[_0x3351d0(0x1e5)])),[];},exports[a121_0x228b92(0x233)]=async(_0x2e2512,_0x2b1066)=>{const _0x37f69a=a121_0x228b92,_0x242c6f={'DJEOD':function(_0x1651c2,_0x2c944d){return _0x1651c2(_0x2c944d);},'BHLYS':'isAccessibilityPlatform','Szeen':function(_0x4b85f4,_0x20f0a8){return _0x4b85f4<=_0x20f0a8;},'qLxQi':function(_0x48fb26,_0x460d5b){return _0x48fb26+_0x460d5b;},'UQOXy':function(_0x5b1f28,_0x4247aa){return _0x5b1f28+_0x4247aa;},'bmUHp':function(_0x28df58,_0x5c191b){return _0x28df58&&_0x5c191b;},'oMJKG':function(_0x3f23e6,_0x2daa1d,_0x44a233){return _0x3f23e6(_0x2daa1d,_0x44a233);},'AyoNu':function(_0x417f78,_0x452eff,_0x5dcdae){return _0x417f78(_0x452eff,_0x5dcdae);},'rgTuH':function(_0x5f205a,_0x17da63,_0x2da171){return _0x5f205a(_0x17da63,_0x2da171);},'UzjKK':'Unknown\x20error'},{isPlaywright:_0x55268b,type:_0x3176c7}=_0x242c6f['DJEOD'](detectDriverType,_0x2e2512),_0x44ce63=_0x55268b?_0x2b1066[_0x37f69a(0x24b)]:accessibilityHelper[_0x37f69a(0x1d1)]()&&globals['getGlobal'](_0x242c6f[_0x37f69a(0x1cd)]);if(!_0x44ce63)return logger[_0x37f69a(0x1d9)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x3176c7+_0x37f69a(0x1c9)),{};let _0x16b21f=null;for(let _0x178879=0x1;_0x242c6f['Szeen'](_0x178879,_0x242c6f[_0x37f69a(0x1cf)](RETRY_CONFIG[_0x37f69a(0x1ea)],0x1));_0x178879++){try{logger[_0x37f69a(0x1b6)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x178879+'/'+_0x242c6f[_0x37f69a(0x21f)](RETRY_CONFIG[_0x37f69a(0x1ea)],0x1)+'\x20('+_0x3176c7+')');let _0x18787b;return _0x242c6f['bmUHp'](_0x55268b,playwrightA11yHelper)?(_0x242c6f['oMJKG'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x2e2512,RETRY_CONFIG['timeoutMs']),_0x18787b=await _0x242c6f[_0x37f69a(0x227)](withTimeout,playwrightA11yHelper[_0x37f69a(0x1e9)](_0x2e2512),RETRY_CONFIG['timeoutMs']),await exports[_0x37f69a(0x24a)](_0x2e2512,RETRY_CONFIG['defaultTimeoutMs'])):(await exports['setSeleniumScriptTimeout'](_0x2e2512,RETRY_CONFIG[_0x37f69a(0x1ee)]),_0x18787b=await _0x242c6f[_0x37f69a(0x1ab)](withTimeout,accessibilityHelper[_0x37f69a(0x1e9)](_0x2e2512,_0x2b1066),RETRY_CONFIG['timeoutMs']),await exports[_0x37f69a(0x1ae)](_0x2e2512,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x37f69a(0x1dd)](_0x37f69a(0x246)+_0x178879+'\x20('+_0x3176c7+')'),_0x18787b;}catch(_0x474a4d){_0x16b21f=_0x474a4d,logger[_0x37f69a(0x1d9)](_0x37f69a(0x1b2)+_0x178879+_0x37f69a(0x22f)+_0x3176c7+_0x37f69a(0x1d3)+_0x474a4d['message']);}}return logger[_0x37f69a(0x210)]('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x3176c7+_0x37f69a(0x25c)+(_0x16b21f?.[_0x37f69a(0x211)]||_0x242c6f[_0x37f69a(0x1bf)])),{};},exports[a121_0x228b92(0x223)]=async(_0x3d8c50,_0x26f5ab,_0xa7a3d1=null)=>{const _0x568fc6=a121_0x228b92,_0x24a453={'frNiX':function(_0x3a6fb9,_0x37ef2f){return _0x3a6fb9(_0x37ef2f);},'zBawU':function(_0x54f17b,_0x596589){return _0x54f17b===_0x596589;},'JECJD':_0x568fc6(0x201),'xPKPr':_0x568fc6(0x1ff),'VRGxw':_0x568fc6(0x220)},{isPlaywright:_0xe4d942,type:_0x244945}=_0x24a453[_0x568fc6(0x1e4)](detectDriverType,_0x3d8c50),_0x54da9d={};_0x54da9d[_0x568fc6(0x1f2)]=![],_0x54da9d['results']=[],_0x54da9d['summary']={},_0x54da9d['error']=null,_0x54da9d[_0x568fc6(0x21c)]=_0x244945;const _0x2f40f1=_0x54da9d;try{_0x2f40f1[_0x568fc6(0x1f2)]=await exports['performScanWithRetry'](_0x3d8c50,_0xa7a3d1);if(_0x2f40f1[_0x568fc6(0x1f2)]){const [_0x329b88,_0x1d0236]=await Promise['allSettled']([exports[_0x568fc6(0x258)](_0x3d8c50,_0x26f5ab),exports['getAccessibilityResultsSummaryWithRetry'](_0x3d8c50,_0x26f5ab)]);_0x2f40f1[_0x568fc6(0x237)]=_0x24a453[_0x568fc6(0x244)](_0x329b88[_0x568fc6(0x26d)],_0x24a453[_0x568fc6(0x247)])?_0x329b88[_0x568fc6(0x23b)]:[],_0x2f40f1[_0x568fc6(0x26e)]=_0x24a453[_0x568fc6(0x244)](_0x1d0236[_0x568fc6(0x26d)],_0x24a453[_0x568fc6(0x247)])?_0x1d0236[_0x568fc6(0x23b)]:{},_0x24a453[_0x568fc6(0x244)](_0x329b88[_0x568fc6(0x26d)],_0x24a453['xPKPr'])&&logger[_0x568fc6(0x1d9)](_0x568fc6(0x1fe)+_0x244945+'):\x20'+_0x329b88[_0x568fc6(0x1db)]?.[_0x568fc6(0x211)]),_0x24a453[_0x568fc6(0x244)](_0x1d0236[_0x568fc6(0x26d)],_0x24a453[_0x568fc6(0x1f0)])&&logger['warn'](_0x568fc6(0x1e7)+_0x244945+_0x568fc6(0x1c5)+_0x1d0236[_0x568fc6(0x1db)]?.[_0x568fc6(0x211)]);}}catch(_0x446255){_0x2f40f1[_0x568fc6(0x210)]=_0x446255[_0x568fc6(0x211)]||_0x24a453[_0x568fc6(0x1c6)],logger[_0x568fc6(0x210)](_0x568fc6(0x21e)+_0x244945+'):\x20'+_0x2f40f1[_0x568fc6(0x210)]);}return _0x2f40f1;},exports[a121_0x228b92(0x265)]=_0x85080=>{const _0x3278a6=a121_0x228b92,_0x189ba1={};_0x189ba1[_0x3278a6(0x1f5)]=function(_0x3114ec,_0xaeb47a){return _0x3114ec!==_0xaeb47a;};const _0x225bf5=_0x189ba1;_0x225bf5[_0x3278a6(0x1f5)](_0x85080[_0x3278a6(0x1ea)],undefined)&&(RETRY_CONFIG[_0x3278a6(0x1ea)]=Math[_0x3278a6(0x1f7)](0x0,_0x85080[_0x3278a6(0x1ea)])),_0x225bf5['GXDvl'](_0x85080[_0x3278a6(0x1ee)],undefined)&&(RETRY_CONFIG[_0x3278a6(0x1ee)]=Math[_0x3278a6(0x1f7)](0x3e8,_0x85080['timeoutMs'])),logger[_0x3278a6(0x1b6)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x3278a6(0x1a6)](RETRY_CONFIG));},exports[a121_0x228b92(0x1e0)]=()=>{const _0x5961d2={...RETRY_CONFIG};return _0x5961d2;},exports[a121_0x228b92(0x25e)]=_0x5310c9=>{const _0x19381a={'ZindY':function(_0x3f0155,_0x1f7e7b){return _0x3f0155(_0x1f7e7b);}};return _0x19381a['ZindY'](detectDriverType,_0x5310c9)['isPlaywright'];},exports[a121_0x228b92(0x1bc)]=_0x2f7587=>{const _0x426483=a121_0x228b92,_0x8f1d72={'WtcSa':function(_0xe1e7cc,_0x26e65b){return _0xe1e7cc(_0x26e65b);},'lLUAM':function(_0x464710,_0xeee317){return _0x464710===_0xeee317;},'TVCcd':'selenium-webdriver'},{isPlaywright:_0x2f25c0,type:_0x479c43}=_0x8f1d72[_0x426483(0x256)](detectDriverType,_0x2f7587);return!_0x2f25c0&&_0x8f1d72['lLUAM'](_0x479c43,_0x8f1d72[_0x426483(0x23a)]);},exports[a121_0x228b92(0x24a)]=async(_0x55a5ac,_0x497045=null)=>{const _0x21af64=a121_0x228b92,_0x91657e={'Gmcmh':function(_0x50053d,_0x44ff91){return _0x50053d(_0x44ff91);},'rDeJG':function(_0xd6283e,_0x4f2916){return _0xd6283e===_0x4f2916;},'DKund':_0x21af64(0x1e2)},{isPlaywright:_0x30f629,type:_0x230e35}=_0x91657e[_0x21af64(0x242)](detectDriverType,_0x55a5ac);if(!_0x30f629)return logger[_0x21af64(0x1b6)](_0x21af64(0x245)+_0x230e35+_0x21af64(0x1ed)),!![];const _0x4595a0=_0x497045||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x55a5ac&&_0x91657e[_0x21af64(0x214)](typeof _0x55a5ac[_0x21af64(0x249)],_0x91657e[_0x21af64(0x1c8)])&&(await _0x55a5ac[_0x21af64(0x249)](_0x4595a0),logger['debug']('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x4595a0+'ms')),!![];}catch(_0x2e6580){return logger[_0x21af64(0x1d9)]('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x2e6580[_0x21af64(0x211)]),![];}},exports[a121_0x228b92(0x1ae)]=async(_0xa1039,_0x134283=null)=>{const _0x351018=a121_0x228b92,_0x2c0c85={};_0x2c0c85['ZoVgo']=_0x351018(0x22a),_0x2c0c85[_0x351018(0x1a7)]=function(_0xb1108b,_0x3a6bb7){return _0xb1108b===_0x3a6bb7;},_0x2c0c85[_0x351018(0x1ec)]=_0x351018(0x1e2),_0x2c0c85[_0x351018(0x1b7)]=function(_0x5ef7fd,_0x195667){return _0x5ef7fd===_0x195667;},_0x2c0c85[_0x351018(0x235)]=function(_0xdbde28,_0x5e7f44){return _0xdbde28===_0x5e7f44;},_0x2c0c85[_0x351018(0x1e6)]=_0x351018(0x219),_0x2c0c85[_0x351018(0x225)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0xd7006d=_0x2c0c85;if(!exports['isSeleniumDriver'](_0xa1039))return logger[_0x351018(0x1d9)](_0xd7006d[_0x351018(0x270)]),![];const _0x220bcd=_0x134283||RETRY_CONFIG[_0x351018(0x217)];try{if(_0xa1039&&_0xd7006d[_0x351018(0x1a7)](typeof _0xa1039[_0x351018(0x20c)],_0xd7006d[_0x351018(0x1ec)])){const _0x40fe89=_0xa1039['manage']();if(_0x40fe89&&_0xd7006d[_0x351018(0x1b7)](typeof _0x40fe89[_0x351018(0x260)],_0xd7006d[_0x351018(0x1ec)]))await _0x40fe89['timeouts']()[_0x351018(0x272)](_0x220bcd),logger[_0x351018(0x1b6)](_0x351018(0x252)+_0x220bcd+_0x351018(0x1d5));else{if(_0x40fe89&&_0xd7006d[_0x351018(0x1b7)](typeof _0x40fe89[_0x351018(0x24f)],_0xd7006d[_0x351018(0x1ec)])){const _0x5a9d9a={};_0x5a9d9a['script']=_0x220bcd,await _0x40fe89[_0x351018(0x24f)](_0x5a9d9a),logger[_0x351018(0x1b6)](_0x351018(0x252)+_0x220bcd+_0x351018(0x229));}else{if(_0x40fe89&&_0xd7006d[_0x351018(0x235)](typeof _0x40fe89[_0x351018(0x272)],_0xd7006d['KlYgG']))await _0x40fe89['setScriptTimeout'](_0x220bcd),logger[_0x351018(0x1b6)](_0x351018(0x252)+_0x220bcd+_0x351018(0x1a5));else return logger[_0x351018(0x1b6)](_0xd7006d['zXAtE']),!![];}}}else return logger['debug'](_0xd7006d[_0x351018(0x225)]),!![];return!![];}catch(_0x590a58){return logger[_0x351018(0x1d9)](_0x351018(0x1bb)+_0x590a58['message']),![];}},exports[a121_0x228b92(0x1c4)]=async(_0x312c3f,_0x5bee6c)=>{const _0x18cbcd=a121_0x228b92,_0x4bb566={'EHlSf':function(_0x151e28,_0x3734b2){return _0x151e28(_0x3734b2);},'aoAyE':_0x18cbcd(0x234),'ceYDE':function(_0x40d8b4,_0x2f556d){return _0x40d8b4<=_0x2f556d;},'sIuDc':function(_0x9fa37a,_0x4709bd){return _0x9fa37a+_0x4709bd;},'rOOqv':function(_0x8e6a5e,_0xee6e2b){return _0x8e6a5e&&_0xee6e2b;},'ThfLz':function(_0x554463,_0x5d0143,_0x3b9254){return _0x554463(_0x5d0143,_0x3b9254);},'dzhOl':function(_0x49ba2d,_0x5645d2,_0x3c4d4b){return _0x49ba2d(_0x5645d2,_0x3c4d4b);},'Rkpil':_0x18cbcd(0x20b),'vCzxc':function(_0x26fa1a,_0x322203,_0xf9a06b){return _0x26fa1a(_0x322203,_0xf9a06b);},'SPaTV':_0x18cbcd(0x231)},{isPlaywright:_0x3e5fec,type:_0x3fe004}=_0x4bb566[_0x18cbcd(0x20e)](detectDriverType,_0x312c3f),_0x5d7a4a=_0x3e5fec?global[_0x18cbcd(0x24b)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x18cbcd(0x1c1)](_0x4bb566[_0x18cbcd(0x1ce)]);if(!_0x5d7a4a)return logger[_0x18cbcd(0x1d9)](_0x18cbcd(0x1d6)+_0x3fe004+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x42b398=null;for(let _0x1063af=0x1;_0x4bb566[_0x18cbcd(0x22b)](_0x1063af,_0x4bb566[_0x18cbcd(0x238)](RETRY_CONFIG[_0x18cbcd(0x1ea)],0x1));_0x1063af++){try{logger[_0x18cbcd(0x1b6)](_0x18cbcd(0x25b)+_0x1063af+'/'+_0x4bb566[_0x18cbcd(0x238)](RETRY_CONFIG[_0x18cbcd(0x1ea)],0x1)+'\x20('+_0x3fe004+')');if(_0x4bb566[_0x18cbcd(0x1f1)](_0x3e5fec,playwrightA11yHelper)){_0x4bb566[_0x18cbcd(0x24d)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x18cbcd(0x24a)](_0x312c3f,RETRY_CONFIG['timeoutMs']);const _0x504e50={};_0x504e50[_0x18cbcd(0x25f)]=!![];const _0x3152d8=global[_0x18cbcd(0x20b)]?Object[_0x18cbcd(0x1a9)]({},_0x5bee6c,_0x504e50):_0x5bee6c;await _0x4bb566['dzhOl'](withTimeout,playwrightA11yHelper[_0x18cbcd(0x1c0)](_0x312c3f,scripts[_0x18cbcd(0x253)],_0x3152d8),RETRY_CONFIG[_0x18cbcd(0x1ee)]),await exports['setPlaywrightScriptTimeout'](_0x312c3f,RETRY_CONFIG['defaultTimeoutMs']);}else{await exports[_0x18cbcd(0x1ae)](_0x312c3f,RETRY_CONFIG[_0x18cbcd(0x1ee)]);const _0x5bc218={};_0x5bc218['is_mobile_session']=!![];const _0xb30ac2=globals[_0x18cbcd(0x1c1)](_0x4bb566[_0x18cbcd(0x1d0)])?Object[_0x18cbcd(0x1a9)]({},_0x5bee6c,_0x5bc218):_0x5bee6c;await _0x4bb566[_0x18cbcd(0x22d)](withTimeout,_0x312c3f['executeAsyncScript'](scripts[_0x18cbcd(0x253)],_0xb30ac2),RETRY_CONFIG['timeoutMs']),await exports[_0x18cbcd(0x1ae)](_0x312c3f,RETRY_CONFIG['defaultTimeoutMs']);}return logger['info']('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x1063af+'\x20('+_0x3fe004+')'),!![];}catch(_0x45a1f3){_0x42b398=_0x45a1f3,logger['warn'](_0x18cbcd(0x25b)+_0x1063af+_0x18cbcd(0x22f)+_0x3fe004+').\x20Error:\x20'+_0x45a1f3['message']);}}return logger[_0x18cbcd(0x210)](_0x18cbcd(0x1fd)+_0x3fe004+_0x18cbcd(0x25c)+(_0x42b398?.['message']||_0x4bb566['SPaTV'])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a122_0x11604f=a122_0x1e03;(function(_0x58d4cb,_0x5bd1c0){var _0x243682=a122_0x1e03,_0xeb2cb2=_0x58d4cb();while(!![]){try{var _0x4b24d5=parseInt(_0x243682(0xae))/0x1+-parseInt(_0x243682(0xaa))/0x2*(parseInt(_0x243682(0x96))/0x3)+parseInt(_0x243682(0x91))/0x4*(-parseInt(_0x243682(0x9c))/0x5)+parseInt(_0x243682(0x97))/0x6+-parseInt(_0x243682(0xa0))/0x7+parseInt(_0x243682(0x9f))/0x8*(parseInt(_0x243682(0x94))/0x9)+-parseInt(_0x243682(0xa1))/0xa*(parseInt(_0x243682(0xa8))/0xb);if(_0x4b24d5===_0x5bd1c0)break;else _0xeb2cb2['push'](_0xeb2cb2['shift']());}catch(_0x27b1f1){_0xeb2cb2['push'](_0xeb2cb2['shift']());}}}(a122_0xf590,0xcfc43),exports[a122_0x11604f(0xa2)]=a122_0x11604f(0xa5),exports['MINIMUM_BROWSER_VERSION_ACCESSIBILITY']='94',exports[a122_0x11604f(0xaf)]=a122_0x11604f(0x9d),exports['MINIMUM_CHROMEFORTESTING_VERSION']=a122_0x11604f(0xac),exports[a122_0x11604f(0x99)]=a122_0x11604f(0xab));var a122_0x1d8faa={};a122_0x1d8faa[a122_0x11604f(0xa3)]=a122_0x11604f(0x93),a122_0x1d8faa[a122_0x11604f(0x9a)]=0x5e,a122_0x1d8faa[a122_0x11604f(0x9b)]=0x64,a122_0x1d8faa[a122_0x11604f(0x95)]=!![];var a122_0x24c407={};function a122_0x1e03(_0x208544,_0x4a3ae1){var _0xf59046=a122_0xf590();return a122_0x1e03=function(_0x1e0327,_0x32a204){_0x1e0327=_0x1e0327-0x91;var _0x417cbf=_0xf59046[_0x1e0327];return _0x417cbf;},a122_0x1e03(_0x208544,_0x4a3ae1);}a122_0x24c407[a122_0x11604f(0xa3)]=a122_0x11604f(0x93),a122_0x24c407[a122_0x11604f(0x9a)]=0x5e,a122_0x24c407[a122_0x11604f(0x9b)]=0x64,a122_0x24c407[a122_0x11604f(0x95)]=!![];var a122_0x2969e8={};a122_0x2969e8['display_name']=a122_0x11604f(0x93),a122_0x2969e8[a122_0x11604f(0x9a)]=0x5e,a122_0x2969e8[a122_0x11604f(0x9b)]=0x64,a122_0x2969e8[a122_0x11604f(0x95)]=!![];var a122_0x191422={};a122_0x191422[a122_0x11604f(0xa3)]=a122_0x11604f(0xa9),a122_0x191422['min_version_browserstack']=0x8d,a122_0x191422[a122_0x11604f(0x9b)]=0x8d,a122_0x191422['requires_chrome_options_check']=!![];var a122_0x3e3c1d={};a122_0x3e3c1d[a122_0x11604f(0xa3)]=a122_0x11604f(0x92),a122_0x3e3c1d[a122_0x11604f(0x9a)]=18.4,a122_0x3e3c1d[a122_0x11604f(0x9b)]=18.4,a122_0x3e3c1d[a122_0x11604f(0x95)]=![];var a122_0x2eb560={};a122_0x2eb560[a122_0x11604f(0x98)]=a122_0x1d8faa,a122_0x2eb560[a122_0x11604f(0xad)]=a122_0x24c407,a122_0x2eb560[a122_0x11604f(0xa6)]=a122_0x2969e8,a122_0x2eb560[a122_0x11604f(0x9e)]=a122_0x191422,a122_0x2eb560[a122_0x11604f(0xa4)]=a122_0x3e3c1d,exports[a122_0x11604f(0xa7)]=a122_0x2eb560;function a122_0xf590(){var _0x2d491f=['min_version_browserstack','min_version_non_browserstack','293315SbpSeK','100','chromefortesting','80rGgwaK','7076160LYiVEH','20ErgECz','API_URL','display_name','safari','https://accessibility.browserstack.com/api','playwright-chromium','ACCESSIBILITY_SUPPORTED_BROWSERS','1082224FNCvlf','ChromeForTesting','196084HlhASy','18.4','141','chromium','824383RjzsZL','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','8fDauwn','Safari','Chrome','1203777zKYiaK','requires_chrome_options_check','9QpcAum','1849188LTYTsW','chrome','MINIMUM_SAFARI_VERSION'];a122_0xf590=function(){return _0x2d491f;};return a122_0xf590();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123_0x454d43=a123_0x3e37;function a123_0x3e37(_0x27e5b6,_0x4f00ed){const _0x2d35b2=a123_0x2d35();return a123_0x3e37=function(_0x3e37b9,_0x5b6252){_0x3e37b9=_0x3e37b9-0x15f;let _0x333545=_0x2d35b2[_0x3e37b9];return _0x333545;},a123_0x3e37(_0x27e5b6,_0x4f00ed);}function a123_0x2d35(){const _0x3f75ec=['545815qbkzYK','mergeDeep','includes','set','version','measureWrapper','HQdBI','Udaav','gycwg','null','stack','true','QuZoo','isMobileScanningEnabledForGroup','PGDVl','device','cYTfd','getMinVersionForBrowser','GvTVO','biSoz','function','selenium-webdriver/chrome.js','stringify','isBrowserstackInfra','isBrowserStackCommandExecutor','nonBstackPlatformValidation','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','VHlfq','selenium-webdriver','Content-Type','SZrnf','from','winstonLogger','isArray','browserVersion','message','is_mobile_session','6694128GbMvmJ','getGitMetaData','isUndefined','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','onzJH','Bearer\x20','method','accessibility','QKOks','ChromeExtension','IIUOc','requireModule','ApNNU','headers','okxCF','string','XDtcx','../helper','error','DhXhf','debug','chromeOptions','browserName','getResultsSummary','map','errors','options_','command','chrome','ueRia','vhYlU','createAccessibilityTestRun','undefined','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','MHReE','isAccessibilityPlatform','lVwMz','10989vkuQnA','sJKzj','atzPG','zUqwM','warn','eldFj','qImHy','DebfY','No\x20accessibility\x20results\x20were\x20found.','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','GET_RESULTS','2902862EwlSxE','bstackA11yScanOptions','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).','includeTagsInTestingScope','uqAmi','platformName','aeqsC','browserstack_executor','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','Build\x20creation\x20had\x20failed.','YwXVp','getBrowserName','getBrowserA11yConfig','user','1220gAvTpk','android','kbsqV','capabilities_','parseA11yJwtPayload','some','nbHsY','BGRwV','bstack:options','cjeAH','performScan','FtKie','JAzJG','ZJFpA','xZvGt','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','projectName','nBGHX','data','Invalid\x20request:\x20','__workerDetails','getBrowserVersion','keys','ICEKq','ULmeI','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','resolve','HdVSV','RQQWD','Authorization','resolveMobileThTestRunUuid','sealV','buildName','bstackA11yShouldScan','join','getHostInfo','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','false','JTiZj','shouldScanTestForAccessibility','currentTest','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','jCSbw','getCapabilities','87jHFnJU','eJMqf','VlNbE','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','pass','get','parse','msNlG','getResults','getGlobal','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','ptaya','startsWith','forEach','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','XKjDY','EUiLo','1AfStya','javascript','__cloud_provider___','json','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','isAccessibilityAutomationSession','getPlatform','../logger','isTrue','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','isMobileAccessibilityPlatform','getAccessibilityResultsSummary','\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.','yzoBD','display_name','getPackageVersion','xkiSt','env','response','gbXUi','aJcJx','PERFORM_SCAN','Not\x20a\x20Accessibility\x20Session','Performing\x20scan\x20before\x20getting\x20results','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','args','thTestRunUuid','getUserName','Performed\x20scan\x20with\x20result:\x20','statusText','./scripts','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','--headless','xtEzO','goog:chromeOptions','KcFds','gKCvF','getAccessibilityResults','rvJNp','./constants','eENry','vGZDW','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Wsjkb','6584FBBIPU','fjreN','buildDescription','cbsoG','POST','executeScript','EJiBr','status','toString','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','isBrowserSupportedForAccessibility','PUT','getTestFrameworkDetails','../globals','checkAccessibilityPlatformConfig','kHCEb','toISOString','Performing\x20scan\x20before\x20getting\x20results\x20summary','return\x20document.readyState\x20===\x20\x22complete\x22','XKDDs','DiuOu','trim','parseFromJson','yFDDX','script','dcNtu','browserstackSessionName','hePEA','assign','format','bAQpS','min_version_non_browserstack','--headless=','krifR','toLowerCase','requires_chrome_options_check','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','getAgentVersion','BS_A11Y_JWT','yVYnd','getMobileA11yCapabilities','fetchPlatformDetails','stopAccessibilityTestRun','2305296ffENqF','body','auth','nestedKeyValue','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','gpjbn','NAqcC','MGqja','IlbzD','excludeTagsInTestingScope','getPlatformVersion','accessibilityToken','183436txnRLZ','Vwcto','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','a11y:stop','xNjaK','Eijnp','getAccessKey','toJson','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','length','success','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','jOPkE','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','playwright','application/json','eogHt','oalJo','fjEEs','setNonBstackInfraCapabilities','Invalid\x20configuration\x20passed.','isMobileAccessibilitySession','executeAsyncScript','RdAAn','5625ZzyGCk','BROWSERSTACK_TEST_ACCESSIBILITY_YML','info','ykwBW','replace','getCiInfo'];a123_0x2d35=function(){return _0x3f75ec;};return a123_0x2d35();}(function(_0xe70798,_0x2c0a0e){const _0x498b1e=a123_0x3e37,_0x13314d=_0xe70798();while(!![]){try{const _0x35f2d9=parseInt(_0x498b1e(0x195))/0x1*(-parseInt(_0x498b1e(0x26d))/0x2)+-parseInt(_0x498b1e(0x184))/0x3*(-parseInt(_0x498b1e(0x1f9))/0x4)+-parseInt(_0x498b1e(0x218))/0x5+-parseInt(_0x498b1e(0x1ec))/0x6+parseInt(_0x498b1e(0x23d))/0x7+-parseInt(_0x498b1e(0x1c1))/0x8*(-parseInt(_0x498b1e(0x212))/0x9)+-parseInt(_0x498b1e(0x27b))/0xa*(parseInt(_0x498b1e(0x262))/0xb);if(_0x35f2d9===_0x2c0a0e)break;else _0x13314d['push'](_0x13314d['shift']());}catch(_0xb84eea){_0x13314d['push'](_0x13314d['shift']());}}}(a123_0x2d35,0xb32ce));const path=require('path'),util=require('util'),bsSetupHelper=require(a123_0x454d43(0x24e)),logger=require(a123_0x454d43(0x19c))[a123_0x454d43(0x238)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a123_0x454d43(0x1bc)),PerformanceTester=require('../performance/performance-tester'),scripts=require(a123_0x454d43(0x1b3)),globals=require(a123_0x454d43(0x1ce)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports[a123_0x454d43(0x1ea)]=async _0x26b19b=>{const _0x4a352f=a123_0x454d43,_0x4514ce={};_0x4514ce[_0x4a352f(0x1bb)]=function(_0x18b7a5,_0x59049a){return _0x18b7a5===_0x59049a;},_0x4514ce[_0x4a352f(0x1fa)]='browserstack';const _0x4997f3=_0x4514ce;let _0x247e33={};try{const _0x34a6dd=await _0x26b19b[_0x4a352f(0x183)]();_0x247e33={'os_name':_0x34a6dd[_0x4a352f(0x19b)](),'os_version':bsSetupHelper[_0x4a352f(0x1f7)](_0x4997f3[_0x4a352f(0x1bb)](global[_0x4a352f(0x197)],_0x4997f3[_0x4a352f(0x1fa)])),'browser_name':_0x34a6dd[_0x4a352f(0x278)](),'browser_version':_0x34a6dd[_0x4a352f(0x16d)]()};}catch(_0x1047ba){logger[_0x4a352f(0x251)](_0x4a352f(0x25e)+_0x1047ba);}return _0x247e33;},exports[a123_0x454d43(0x19a)]=()=>{const _0x4257a2=a123_0x454d43,_0x25a7b1={};_0x25a7b1['oonUi']=function(_0xfe0bac,_0x1f81ce){return _0xfe0bac===_0x1f81ce;},_0x25a7b1['XKjDY']='string',_0x25a7b1[_0x4257a2(0x1a5)]=function(_0x5cc9c3,_0x1c1226){return _0x5cc9c3>_0x1c1226;},_0x25a7b1[_0x4257a2(0x247)]=function(_0x29ff20,_0x3a11a3){return _0x29ff20!==_0x3a11a3;},_0x25a7b1[_0x4257a2(0x194)]=_0x4257a2(0x221),_0x25a7b1['hePEA']=function(_0x5bdb68,_0x5f385f){return _0x5bdb68&&_0x5f385f;};const _0x881b1b=_0x25a7b1;try{const _0x175b46=bsSetupHelper[_0x4257a2(0x19d)](process[_0x4257a2(0x1a6)][_0x4257a2(0x213)])||bsSetupHelper[_0x4257a2(0x19d)](process['env'][_0x4257a2(0x1b4)]),_0x385aa2=_0x881b1b['oonUi'](typeof process[_0x4257a2(0x1a6)][_0x4257a2(0x1e7)],_0x881b1b[_0x4257a2(0x193)])&&_0x881b1b['xkiSt'](process['env']['BS_A11Y_JWT'][_0x4257a2(0x202)],0x0)&&_0x881b1b['IIUOc'](process['env'][_0x4257a2(0x1e7)],_0x881b1b[_0x4257a2(0x194)]);return _0x881b1b[_0x4257a2(0x1dc)](_0x175b46,_0x385aa2);}catch(_0x49b9a5){logger['debug'](_0x4257a2(0x1fb)+_0x49b9a5);}return![];},exports[a123_0x454d43(0x231)]=(_0x2b788d,_0x550d0e)=>{const _0x322290=a123_0x454d43,_0x872ba8={'dcNtu':_0x322290(0x253),'BGRwV':function(_0x2e71f3,_0x2b58b4){return _0x2e71f3(_0x2b58b4);},'uqAmi':_0x322290(0x23a),'gycwg':_0x322290(0x21c),'eldFj':_0x322290(0x160),'eENry':function(_0x69f860,_0x3665f7){return _0x69f860(_0x3665f7);},'nbHsY':'deviceName','eogHt':_0x322290(0x227),'SxBRE':_0x322290(0x201),'xZvGt':_0x322290(0x22d),'lVwMz':_0x322290(0x234),'aJcJx':_0x322290(0x257),'eJMqf':_0x322290(0x1ae),'krifR':_0x322290(0x252),'DhXhf':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','onzJH':_0x322290(0x1b7),'jOPkE':function(_0x320ba1,_0x4d7122){return _0x320ba1===_0x4d7122;},'jjwmX':_0x322290(0x259),'kbsqV':function(_0x3bb18c,_0x58703c){return _0x3bb18c>=_0x58703c;}},_0x33439b=_0x2b788d[_0x322290(0x189)](_0x872ba8[_0x322290(0x1da)]),_0x2cf3b2=_0x872ba8[_0x322290(0x15f)](parseFloat,_0x2b788d[_0x322290(0x189)](_0x872ba8[_0x322290(0x271)]))||_0x872ba8[_0x322290(0x15f)](parseFloat,_0x2b788d[_0x322290(0x189)](_0x872ba8[_0x322290(0x220)])),_0x1022a9=_0x2b788d[_0x322290(0x189)](_0x872ba8['eldFj'])||{},_0x20da9e=_0x872ba8[_0x322290(0x1bd)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x4ed720=_0x1022a9[_0x872ba8[_0x322290(0x281)]]||_0x2b788d[_0x322290(0x189)](_0x872ba8[_0x322290(0x20a)])||![];if(_0x4ed720)return logger[_0x322290(0x266)](_0x872ba8['SxBRE']),![];let _0x4af1ba;try{_0x4af1ba=bsSetupHelper[_0x322290(0x248)](_0x872ba8[_0x322290(0x166)],_0x872ba8[_0x322290(0x261)]);}catch(_0x5cd0c0){return![];}const _0x103761=new _0x4af1ba['Options'](_0x550d0e['chromeOptions_']),_0x24ee6a=bsSetupHelper['nestedKeyValue'](_0x103761,[_0x872ba8[_0x322290(0x1a9)],_0x872ba8['eJMqf']])||bsSetupHelper[_0x322290(0x1ef)](_0x550d0e[_0x322290(0x27e)],[_0x872ba8[_0x322290(0x267)],_0x872ba8[_0x322290(0x1e2)],_0x872ba8[_0x322290(0x185)]])||bsSetupHelper['nestedKeyValue'](_0x550d0e[_0x322290(0x27e)],[_0x872ba8[_0x322290(0x1e2)],_0x872ba8['eJMqf']])||[],_0x51df26=Array[_0x322290(0x239)](_0x24ee6a)?_0x24ee6a:[];if(_0x51df26[_0x322290(0x280)](_0x326d0e=>typeof _0x326d0e===_0x322290(0x24c)&&(_0x326d0e==='--headless'||_0x326d0e[_0x322290(0x190)]('--headless=')&&_0x326d0e!=='--headless=new')))return logger['warn'](_0x872ba8[_0x322290(0x250)]),![];const _0x37955a=_0x550d0e[_0x322290(0x27e)]||{},_0x2c5e84=bsSetupHelper[_0x322290(0x1ef)](_0x37955a,[_0x872ba8[_0x322290(0x241)]])||{},_0x21add0=bsSetupHelper[_0x322290(0x1ef)](_0x2c5e84,[_0x872ba8['eJMqf']])||[],_0x2c1fb7=Array[_0x322290(0x239)](_0x21add0)?_0x21add0:[];if(_0x2c1fb7[_0x322290(0x280)](_0x519e3e=>typeof _0x519e3e==='string'&&(_0x519e3e===_0x322290(0x1b5)||_0x519e3e['startsWith'](_0x322290(0x1e1))&&_0x519e3e!=='--headless=new')))return logger['warn'](_0x872ba8[_0x322290(0x250)]),![];if(_0x872ba8[_0x322290(0x205)](_0x33439b['toLowerCase'](),_0x872ba8['jjwmX'])&&_0x872ba8[_0x322290(0x27d)](_0x2cf3b2,_0x20da9e))return!![];return logger[_0x322290(0x266)](_0x322290(0x181)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a123_0x454d43(0x20d)]=_0x30ef94=>{const _0xb5edee=a123_0x454d43,_0x512185={};_0x512185['cjeAH']=_0xb5edee(0x1b7),_0x512185['IHLkw']=function(_0x2beba5,_0x41b3af){return _0x2beba5||_0x41b3af;},_0x512185[_0xb5edee(0x1d0)]=_0xb5edee(0x1ab);const _0x25b59b=_0x512185,_0x213ac5=scripts[_0xb5edee(0x246)];try{const _0x201995=bsSetupHelper[_0xb5edee(0x19d)](process[_0xb5edee(0x1a6)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper['isTrue'](process['env'][_0xb5edee(0x1b4)]);if((!bsSetupHelper[_0xb5edee(0x22f)]()||process[_0xb5edee(0x1a6)]['BROWSERSTACK_TURBOSCALE'])&&_0x201995){const _0x5de69d=_0x30ef94[_0xb5edee(0x183)](),_0x350e3a=_0x5de69d[_0xb5edee(0x189)](_0x25b59b[_0xb5edee(0x161)]),_0x2a8e07=_0x25b59b['IHLkw'](_0x350e3a,{});bsSetupHelper[_0xb5edee(0x219)](_0x2a8e07,_0x213ac5),_0x30ef94[_0xb5edee(0x183)]()[_0xb5edee(0x21b)](_0x25b59b[_0xb5edee(0x161)],_0x2a8e07);}else logger[_0xb5edee(0x266)](_0x25b59b[_0xb5edee(0x1d0)]);}catch(_0x45c947){logger[_0xb5edee(0x24f)](_0xb5edee(0x1f1)+_0x45c947);}},exports[a123_0x454d43(0x17f)]=(_0x4dcf1c=null,_0x3190c5=!![],_0x180b37=[])=>{const _0xe3564c=a123_0x454d43,_0x558aab={};_0x558aab[_0xe3564c(0x1a8)]=function(_0x4e0511,_0x46c655){return _0x4e0511==_0x46c655;},_0x558aab[_0xe3564c(0x1e8)]=function(_0x836ecb,_0x26dfba){return _0x836ecb>_0x26dfba;},_0x558aab[_0xe3564c(0x1b6)]=function(_0x1881b5,_0x10c8b4){return _0x1881b5===_0x10c8b4;},_0x558aab[_0xe3564c(0x1b9)]=function(_0x19b78b,_0x2b77bf){return _0x19b78b&&_0x2b77bf;},_0x558aab[_0xe3564c(0x25f)]=function(_0x584dca,_0x4a94ec){return _0x584dca===_0x4a94ec;};const _0x4a718a=_0x558aab;if(_0x4a718a[_0xe3564c(0x1a8)](process['env'][_0xe3564c(0x240)],null))return!![];try{const _0x5b5ef8=JSON[_0xe3564c(0x18a)](process[_0xe3564c(0x1a6)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x5eedfd=Array[_0xe3564c(0x239)](_0x5b5ef8[_0xe3564c(0x270)])?_0x5b5ef8['includeTagsInTestingScope']:[],_0x592f00=Array[_0xe3564c(0x239)](_0x5b5ef8[_0xe3564c(0x1f6)])?_0x5b5ef8[_0xe3564c(0x1f6)]:[],_0x402dc8=_0x1e32ce=>typeof _0x1e32ce===_0xe3564c(0x24c)?_0x1e32ce[_0xe3564c(0x216)](/^@/,'')[_0xe3564c(0x1e3)]()[_0xe3564c(0x1d6)]():_0x1e32ce;if(bsSetupHelper[_0xe3564c(0x23f)](_0x4dcf1c)){if(_0x4a718a['yVYnd'](_0x180b37['length'],0x0)){const _0x49e9fb=_0x180b37[_0xe3564c(0x255)](_0x402dc8),_0x6ef332=_0x592f00['some'](_0x45863b=>_0x49e9fb[_0xe3564c(0x21a)](_0x402dc8(_0x45863b))),_0x2ceb4b=_0x4a718a[_0xe3564c(0x1b6)](_0x5eedfd[_0xe3564c(0x202)],0x0)||_0x5eedfd[_0xe3564c(0x280)](_0x5498d6=>_0x49e9fb[_0xe3564c(0x21a)](_0x402dc8(_0x5498d6)));return _0x4a718a[_0xe3564c(0x1b9)](!_0x6ef332,_0x2ceb4b);}return!![];}let _0x38dcdd;_0x3190c5?_0x38dcdd=_0x4dcf1c[_0xe3564c(0x17a)]('/'):_0x38dcdd=_0x4dcf1c;const _0x5dd4f7=_0x592f00[_0xe3564c(0x280)](_0x42abb9=>_0x38dcdd[_0xe3564c(0x1e3)]()[_0xe3564c(0x21a)](_0x402dc8(_0x42abb9)[_0xe3564c(0x1e3)]())),_0x2573c1=_0x4a718a[_0xe3564c(0x25f)](_0x5eedfd[_0xe3564c(0x202)],0x0)||_0x5eedfd[_0xe3564c(0x280)](_0x534893=>_0x38dcdd[_0xe3564c(0x1e3)]()[_0xe3564c(0x21a)](_0x402dc8(_0x534893)[_0xe3564c(0x1e3)]()));return _0x4a718a[_0xe3564c(0x1b9)](!_0x5dd4f7,_0x2573c1);}catch(_0x49f918){logger[_0xe3564c(0x251)](_0xe3564c(0x192)+util[_0xe3564c(0x1de)](_0x49f918));}return![];},exports[a123_0x454d43(0x1cf)]=_0x2d3cd2=>{const _0xc3739=a123_0x454d43;let _0x2fde36=![];try{_0x2d3cd2['platforms'][_0xc3739(0x191)](_0xfd134c=>{const _0x1508c9=_0xc3739;if(bsSetupHelper[_0x1508c9(0x19d)](_0xfd134c[_0x1508c9(0x244)]))return _0x2fde36=!![],!![];});}catch(_0x2804e7){logger[_0xc3739(0x251)](_0xc3739(0x17c)+_0x2804e7);}return _0x2fde36||bsSetupHelper['isTrue'](_0x2d3cd2[_0xc3739(0x244)]);},exports[a123_0x454d43(0x25c)]=PerformanceTester[a123_0x454d43(0x21d)]('a11y:start',async function(_0xbfa3ef,_0xb93348){const _0x5eebdc=a123_0x454d43,_0x36ed56={};_0x36ed56[_0x5eebdc(0x268)]=_0x5eebdc(0x232),_0x36ed56['xNjaK']=_0x5eebdc(0x208),_0x36ed56['QZtTr']=_0x5eebdc(0x196),_0x36ed56['msNlG']='application/json',_0x36ed56['SZrnf']=_0x5eebdc(0x1c5),_0x36ed56[_0x5eebdc(0x1c0)]='v2/test_runs',_0x36ed56[_0x5eebdc(0x24b)]=function(_0x4083f9,_0x214d4e){return _0x4083f9===_0x214d4e;},_0x36ed56[_0x5eebdc(0x170)]=_0x5eebdc(0x20e),_0x36ed56[_0x5eebdc(0x1be)]=_0x5eebdc(0x17d);const _0x4335f8=_0x36ed56,_0x556303=bsSetupHelper[_0x5eebdc(0x1b0)](_0xbfa3ef),_0x16049a=bsSetupHelper[_0x5eebdc(0x1ff)](_0xbfa3ef);if(bsSetupHelper[_0x5eebdc(0x23f)](_0x556303)||bsSetupHelper[_0x5eebdc(0x23f)](_0x16049a))return logger['error'](_0x4335f8[_0x5eebdc(0x268)]),[null,null];try{let _0x1a4958;bsSetupHelper[_0x5eebdc(0x23f)](process[_0x5eebdc(0x1a6)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x1a4958={}:_0x1a4958=JSON['parse'](process[_0x5eebdc(0x1a6)][_0x5eebdc(0x240)]);const {name:_0x64facc,version:_0x3a0701}=bsSetupHelper[_0x5eebdc(0x1cd)](_0xbfa3ef,_0xb93348),_0x47c08b={'projectName':_0xbfa3ef[_0x5eebdc(0x168)],'buildName':_0xbfa3ef[_0x5eebdc(0x178)]||path['basename'](path[_0x5eebdc(0x172)](process['cwd']())),'startTime':new Date()[_0x5eebdc(0x1d1)](),'description':_0xbfa3ef[_0x5eebdc(0x1c3)]||'','source':{'frameworkName':_0xb93348['includes'](_0x4335f8[_0x5eebdc(0x1fd)])?_0x4335f8[_0x5eebdc(0x1fd)]:_0xb93348,'frameworkVersion':bsSetupHelper[_0x5eebdc(0x1a4)](_0xb93348),'sdkVersion':bsSetupHelper[_0x5eebdc(0x1e6)](),'language':_0x4335f8['QZtTr'],'testFramework':_0x64facc,'testFrameworkVersion':_0x3a0701},'settings':_0x1a4958,'versionControl':await bsSetupHelper[_0x5eebdc(0x23e)](),'ciInfo':bsSetupHelper[_0x5eebdc(0x217)](),'hostInfo':bsSetupHelper[_0x5eebdc(0x17b)](),'browserstackAutomation':bsSetupHelper[_0x5eebdc(0x22f)]()},_0x3f6514={};_0x3f6514[_0x5eebdc(0x27a)]=_0x556303,_0x3f6514[_0x5eebdc(0x188)]=_0x16049a;const _0x334640={};_0x334640[_0x5eebdc(0x235)]=_0x4335f8[_0x5eebdc(0x18b)];const _0x22d315={};_0x22d315[_0x5eebdc(0x1ee)]=_0x3f6514,_0x22d315[_0x5eebdc(0x24a)]=_0x334640;const _0x2f2174=_0x22d315,_0xaa5913={};_0xaa5913[_0x5eebdc(0x1ed)]=_0x47c08b,_0xaa5913['json']=!![];const _0x31dd70=Object[_0x5eebdc(0x1dd)](_0x2f2174,_0xaa5913),_0x600185=await bsSetupHelper['nodeRequest'](_0x4335f8[_0x5eebdc(0x236)],_0x4335f8[_0x5eebdc(0x1c0)],_0x31dd70,_0xbfa3ef,API_URL);let _0x541d68=process[_0x5eebdc(0x1a6)][_0x5eebdc(0x240)];return _0x541d68?_0x541d68=JSON[_0x5eebdc(0x18a)](process[_0x5eebdc(0x1a6)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x541d68={},scripts[_0x5eebdc(0x1d7)](_0x600185['data'][_0x5eebdc(0x16a)]),scripts[_0x5eebdc(0x200)](),_0x541d68['scannerVersion']=_0x600185['data']['data']['scannerVersion'],process['env'][_0x5eebdc(0x240)]=JSON[_0x5eebdc(0x22e)](_0x541d68),[_0x600185['data']['data'][_0x5eebdc(0x1f8)],_0x600185['data'][_0x5eebdc(0x16a)]['id']];}catch(_0x2a1ce5){if(_0x2a1ce5['response'])logger[_0x5eebdc(0x24f)](_0x5eebdc(0x171)+_0x2a1ce5[_0x5eebdc(0x1a7)]['status']+'\x20'+_0x2a1ce5[_0x5eebdc(0x1a7)][_0x5eebdc(0x1b2)]+'\x20'+JSON[_0x5eebdc(0x22e)](_0x2a1ce5[_0x5eebdc(0x1a7)][_0x5eebdc(0x16a)]));else{if(_0x4335f8[_0x5eebdc(0x24b)](_0x2a1ce5[_0x5eebdc(0x23b)],_0x4335f8[_0x5eebdc(0x170)])){logger[_0x5eebdc(0x24f)](_0x5eebdc(0x171)+(_0x2a1ce5[_0x5eebdc(0x23b)]||_0x2a1ce5[_0x5eebdc(0x222)]));for(const _0x42def6 of _0x2a1ce5[_0x5eebdc(0x256)]){logger['error'](_0x42def6[_0x5eebdc(0x23b)]);}process[_0x5eebdc(0x1a6)][_0x5eebdc(0x213)]=_0x4335f8[_0x5eebdc(0x1be)],process[_0x5eebdc(0x1a6)][_0x5eebdc(0x1b4)]=_0x4335f8[_0x5eebdc(0x1be)];}else logger[_0x5eebdc(0x24f)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x2a1ce5['message']||_0x2a1ce5['stack']));}return[null,null];}}),exports[a123_0x454d43(0x1eb)]=PerformanceTester[a123_0x454d43(0x21d)](a123_0x454d43(0x1fc),async function(_0x5613d3){const _0x11c4ea=a123_0x454d43,_0x5bcb00={};_0x5bcb00[_0x11c4ea(0x174)]=function(_0x776867,_0x3e5a78){return _0x776867!==_0x3e5a78;},_0x5bcb00[_0x11c4ea(0x186)]=_0x11c4ea(0x24c),_0x5bcb00['cbsoG']=_0x11c4ea(0x24f),_0x5bcb00['MGqja']=_0x11c4ea(0x276),_0x5bcb00[_0x11c4ea(0x21e)]=_0x11c4ea(0x209),_0x5bcb00['ApNNU']=_0x11c4ea(0x1cc),_0x5bcb00[_0x11c4ea(0x25a)]='test_runs/stop',_0x5bcb00['cYTfd']=function(_0x1b7a8a,_0x145b9e){return _0x1b7a8a+_0x145b9e;},_0x5bcb00[_0x11c4ea(0x1c2)]=_0x11c4ea(0x16b),_0x5bcb00[_0x11c4ea(0x1df)]=_0x11c4ea(0x203);const _0x4933ab=_0x5bcb00;if(bsSetupHelper[_0x11c4ea(0x23f)](process['env']['BS_A11Y_JWT'])||_0x4933ab[_0x11c4ea(0x174)](typeof process[_0x11c4ea(0x1a6)]['BS_A11Y_JWT'],_0x4933ab[_0x11c4ea(0x186)])){const _0x2b0313={};return _0x2b0313[_0x11c4ea(0x1c8)]=_0x4933ab[_0x11c4ea(0x1c4)],_0x2b0313['message']=_0x4933ab[_0x11c4ea(0x1f4)],_0x2b0313;}const _0x3e3f12={'endTime':new Date()[_0x11c4ea(0x1d1)]()},_0x390a84={};_0x390a84[_0x11c4ea(0x175)]=_0x11c4ea(0x242)+process[_0x11c4ea(0x1a6)][_0x11c4ea(0x1e7)],_0x390a84[_0x11c4ea(0x235)]=_0x4933ab[_0x11c4ea(0x21e)];const _0x261ce6={};_0x261ce6['headers']=_0x390a84;const _0x2afafc=_0x261ce6,_0x31db96={};_0x31db96[_0x11c4ea(0x1ed)]=_0x3e3f12,_0x31db96['auth']=null,_0x31db96[_0x11c4ea(0x198)]=!![];const _0x3ecedd=Object[_0x11c4ea(0x1dd)](_0x2afafc,_0x31db96);try{const _0xb6407c=await bsSetupHelper['nodeRequest'](_0x4933ab[_0x11c4ea(0x249)],_0x4933ab[_0x11c4ea(0x25a)],_0x3ecedd,_0x5613d3,API_URL);if(_0xb6407c[_0x11c4ea(0x16a)]['error'])throw new Error(_0x4933ab[_0x11c4ea(0x228)](_0x4933ab['fjreN'],_0xb6407c[_0x11c4ea(0x16a)]['error']));else{logger[_0x11c4ea(0x214)](_0x11c4ea(0x26b)+new Date()['toISOString']());const _0x2c32c6={};return _0x2c32c6[_0x11c4ea(0x1c8)]=_0x4933ab[_0x11c4ea(0x1df)],_0x2c32c6['message']='',_0x2c32c6;}}catch(_0x4ef1b3){_0x4ef1b3[_0x11c4ea(0x1a7)]?logger[_0x11c4ea(0x24f)](_0x11c4ea(0x19e)+_0x4ef1b3['response'][_0x11c4ea(0x1c8)]+'\x20'+_0x4ef1b3[_0x11c4ea(0x1a7)]['statusText']+'\x20'+JSON[_0x11c4ea(0x22e)](_0x4ef1b3[_0x11c4ea(0x1a7)]['data'])):logger[_0x11c4ea(0x24f)](_0x11c4ea(0x19e)+(_0x4ef1b3['message']||util[_0x11c4ea(0x1de)](_0x4ef1b3)));const _0x532774={};return _0x532774[_0x11c4ea(0x1c8)]=_0x4933ab[_0x11c4ea(0x1c4)],_0x532774[_0x11c4ea(0x23b)]=_0x4ef1b3['message']||(_0x4ef1b3[_0x11c4ea(0x1a7)]?_0x4ef1b3[_0x11c4ea(0x1a7)][_0x11c4ea(0x1c8)]+':'+_0x4ef1b3[_0x11c4ea(0x1a7)][_0x11c4ea(0x1b2)]:_0x4ef1b3),_0x532774;}}),exports['performScan']=async(_0x13e8fd,_0x31f2a4=null,_0x2428b6=![],_0x5566ec=null)=>{const _0x43142f=a123_0x454d43,_0x1ba09b={};_0x1ba09b[_0x43142f(0x1f3)]=_0x43142f(0x260),_0x1ba09b[_0x43142f(0x1d4)]='bstackA11yShouldScan',_0x1ba09b['zbEsZ']=_0x43142f(0x199),_0x1ba09b[_0x43142f(0x1f5)]=function(_0x5cbcdc,_0x34b64f){return _0x5cbcdc||_0x34b64f;},_0x1ba09b[_0x43142f(0x169)]=_0x43142f(0x26e),_0x1ba09b[_0x43142f(0x20c)]=_0x43142f(0x206);const _0x297762=_0x1ba09b;if(!this[_0x43142f(0x19a)]()||!globals['getGlobal'](_0x297762['NAqcC'])||!_0x2428b6&&!globals['getGlobal'](_0x297762[_0x43142f(0x1d4)])){logger[_0x43142f(0x266)](_0x297762['zbEsZ']);return;}const _0x313725=_0x2428b6?_0x297762[_0x43142f(0x1f5)](_0x5566ec,{}):globals[_0x43142f(0x18d)](_0x297762[_0x43142f(0x169)])||{},_0x36298f={};_0x36298f[_0x43142f(0x243)]=_0x31f2a4||global[_0x43142f(0x1db)];const _0x1e9f30=Object[_0x43142f(0x1dd)]({},_0x313725,_0x36298f);await this[_0x43142f(0x20f)](_0x13e8fd)&&(Object[_0x43142f(0x1dd)](_0x1e9f30,this['getMobileA11yCapabilities'](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}),logger['debug'](_0x297762['fjEEs']));logger[_0x43142f(0x251)]('[Accessibility]\x20Selenium\x20performScan\x20payload:\x20'+util['format']('%j',_0x1e9f30));const _0x480fef={};return _0x480fef[_0x43142f(0x258)]=_0x31f2a4,await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x43142f(0x1aa)],async()=>{const _0x30cf6f=_0x43142f;try{await _0x13e8fd['wait'](()=>_0x13e8fd[_0x30cf6f(0x1c6)](_0x30cf6f(0x1d3)),0x1388);}catch(_0x6e669a){}const _0x212786=util[_0x30cf6f(0x1de)](await _0x13e8fd[_0x30cf6f(0x210)](scripts[_0x30cf6f(0x162)],_0x1e9f30));return logger['debug'](_0x30cf6f(0x1b1)+_0x212786),_0x212786;},_0x480fef)();},exports[a123_0x454d43(0x1ba)]=async(_0x417135,_0x4a3ec8)=>{const _0x3ef058=a123_0x454d43,_0x210c7b={};_0x210c7b[_0x3ef058(0x269)]=_0x3ef058(0x1ac),_0x210c7b[_0x3ef058(0x224)]=_0x3ef058(0x260),_0x210c7b[_0x3ef058(0x1c7)]=_0x3ef058(0x179),_0x210c7b[_0x3ef058(0x1d8)]=_0x3ef058(0x18e),_0x210c7b[_0x3ef058(0x165)]=_0x3ef058(0x1ba),_0x210c7b['Udaav']=_0x3ef058(0x26a);const _0x1ca172=_0x210c7b;if(!this[_0x3ef058(0x19a)]()||!globals[_0x3ef058(0x18d)](_0x1ca172[_0x3ef058(0x224)])||!globals['getGlobal'](_0x1ca172[_0x3ef058(0x1c7)]))return logger[_0x3ef058(0x266)](_0x1ca172[_0x3ef058(0x1d8)]),[];try{const _0x53eb16=await this['isMobileAccessibilitySession'](_0x417135),_0x45b888=_0x53eb16?Object['assign']({},this[_0x3ef058(0x1e9)](),{'thTestRunUuid':this[_0x3ef058(0x176)]()}):{};return _0x53eb16&&logger[_0x3ef058(0x251)](_0x3ef058(0x167)+util[_0x3ef058(0x1de)]('%j',_0x45b888)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1d92f1=_0x3ef058;logger[_0x1d92f1(0x251)](_0x1ca172[_0x1d92f1(0x269)]);const _0x34f3d6={};_0x34f3d6[_0x1d92f1(0x243)]=_0x4a3ec8[_0x1d92f1(0x1db)];const _0x2c2b90=Object[_0x1d92f1(0x1dd)](_0x34f3d6,_0x45b888);logger[_0x1d92f1(0x251)](util[_0x1d92f1(0x1de)](await _0x417135[_0x1d92f1(0x210)](scripts[_0x1d92f1(0x162)],_0x2c2b90)));},{'command':_0x1ca172[_0x3ef058(0x165)]})(),await PerformanceTester[_0x3ef058(0x21d)](PerformanceA11yEvents[_0x3ef058(0x26c)],async()=>{const _0x57e199=_0x3ef058,_0x4f6ca8=_0x53eb16?await _0x417135[_0x57e199(0x210)](scripts[_0x57e199(0x18c)],_0x45b888):await _0x417135[_0x57e199(0x210)](scripts[_0x57e199(0x18c)]);return _0x4f6ca8;})();}catch{return logger[_0x3ef058(0x24f)](_0x1ca172[_0x3ef058(0x21f)]),[];}},exports[a123_0x454d43(0x1a0)]=async(_0x4be295,_0x36dfe6)=>{const _0x5ed60a=a123_0x454d43,_0x27d5ad={};_0x27d5ad['gpjbn']=_0x5ed60a(0x1d2),_0x27d5ad[_0x5ed60a(0x22a)]=_0x5ed60a(0x260),_0x27d5ad[_0x5ed60a(0x265)]=_0x5ed60a(0x179),_0x27d5ad[_0x5ed60a(0x1d5)]=_0x5ed60a(0x1bf),_0x27d5ad['ykwBW']='getAccessibilityResultsSummary',_0x27d5ad[_0x5ed60a(0x16f)]='No\x20accessibility\x20summary\x20was\x20found.';const _0x5611a9=_0x27d5ad;if(!this[_0x5ed60a(0x19a)]()||!globals['getGlobal'](_0x5611a9[_0x5ed60a(0x22a)])||!globals[_0x5ed60a(0x18d)](_0x5611a9[_0x5ed60a(0x265)]))return logger[_0x5ed60a(0x266)](_0x5611a9[_0x5ed60a(0x1d5)]),{};try{const _0x2ff641=await this[_0x5ed60a(0x20f)](_0x4be295),_0x12efd7=_0x2ff641?Object[_0x5ed60a(0x1dd)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x2ff641&&logger[_0x5ed60a(0x251)](_0x5ed60a(0x1e5)+util[_0x5ed60a(0x1de)]('%j',_0x12efd7)),await PerformanceTester[_0x5ed60a(0x21d)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x449548=_0x5ed60a;logger['debug'](_0x5611a9[_0x449548(0x1f2)]);const _0x36af46={};_0x36af46['method']=_0x36dfe6['browserstackSessionName'];const _0x1e1cc9=Object[_0x449548(0x1dd)](_0x36af46,_0x12efd7);logger[_0x449548(0x251)](util[_0x449548(0x1de)](await _0x4be295[_0x449548(0x210)](scripts[_0x449548(0x162)],_0x1e1cc9)));},{'command':_0x5611a9[_0x5ed60a(0x215)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x196c8a=_0x5ed60a,_0xb7b471=_0x2ff641?await _0x4be295[_0x196c8a(0x210)](scripts[_0x196c8a(0x254)],_0x12efd7):await _0x4be295[_0x196c8a(0x210)](scripts[_0x196c8a(0x254)]);return _0xb7b471;})();}catch{return logger[_0x5ed60a(0x24f)](_0x5611a9['ICEKq']),{};}},exports['isMobileAccessibilityPlatform']=(_0x50c575,_0x41b9c6=![])=>{const _0x36f3d4=a123_0x454d43,_0x54c4f4={'sealV':function(_0x1d5cc3,_0x142e20){return _0x1d5cc3(_0x142e20);},'JAzJG':_0x36f3d4(0x272),'QKOks':function(_0x4d3810,_0x52eb2f){return _0x4d3810!==_0x52eb2f;},'YwXVp':_0x36f3d4(0x27c),'MlPEq':function(_0x5e276e,_0x9b2003){return _0x5e276e(_0x9b2003);},'yzoBD':_0x36f3d4(0x253),'oalJo':_0x36f3d4(0x259),'JTiZj':_0x36f3d4(0x1ad),'XDtcx':'Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)'};try{if(!_0x50c575)return![];const _0x21eb12=_0x2b4573=>typeof _0x50c575[_0x36f3d4(0x189)]===_0x36f3d4(0x22c)?_0x50c575[_0x36f3d4(0x189)](_0x2b4573):_0x50c575[_0x2b4573],_0xe193ad=_0x54c4f4[_0x36f3d4(0x177)](String,_0x54c4f4['sealV'](_0x21eb12,_0x54c4f4[_0x36f3d4(0x164)])||'')['toLowerCase']();if(_0x54c4f4[_0x36f3d4(0x245)](_0xe193ad,_0x54c4f4[_0x36f3d4(0x277)]))return![];const _0x3aa5a7=_0x54c4f4[_0x36f3d4(0x177)](String,_0x54c4f4['MlPEq'](_0x21eb12,_0x54c4f4[_0x36f3d4(0x1a2)])||'')[_0x36f3d4(0x1e3)]();if(!_0x3aa5a7[_0x36f3d4(0x21a)](_0x54c4f4[_0x36f3d4(0x20b)]))return _0x41b9c6&&logger[_0x36f3d4(0x266)](_0x54c4f4[_0x36f3d4(0x17e)]),![];return logger[_0x36f3d4(0x251)](_0x54c4f4[_0x36f3d4(0x24d)]),!![];}catch(_0x478d0c){return logger['debug'](_0x36f3d4(0x1ca)+_0x478d0c),![];}},exports[a123_0x454d43(0x20f)]=async _0xa3696a=>{const _0x46cae8=a123_0x454d43;try{const _0x45a2b4=await _0xa3696a[_0x46cae8(0x183)]();return exports[_0x46cae8(0x19f)](_0x45a2b4);}catch(_0xd7fc45){return logger['debug'](_0x46cae8(0x187)+_0xd7fc45),![];}},exports[a123_0x454d43(0x1e9)]=()=>{const _0x1524c7=a123_0x454d43,_0x5e24b0={};return _0x5e24b0[_0x1524c7(0x23c)]=!![],_0x5e24b0;},exports[a123_0x454d43(0x176)]=()=>{const _0x2bbcb7=a123_0x454d43,_0x124402={};_0x124402['biSoz']=function(_0x1b7a08,_0x5abe76){return _0x1b7a08===_0x5abe76;},_0x124402[_0x2bbcb7(0x264)]=_0x2bbcb7(0x24c),_0x124402[_0x2bbcb7(0x263)]=function(_0x9cae0d,_0x36f5e8){return _0x9cae0d>_0x36f5e8;},_0x124402[_0x2bbcb7(0x211)]=_0x2bbcb7(0x26f),_0x124402[_0x2bbcb7(0x226)]=_0x2bbcb7(0x207),_0x124402[_0x2bbcb7(0x233)]=_0x2bbcb7(0x25d);const _0x402ce2=_0x124402,_0x5b7903=global[_0x2bbcb7(0x16c)],_0x53a26a=_0x5b7903&&_0x5b7903[_0x2bbcb7(0x180)],_0x5c3866=_0x53a26a&&_0x53a26a[_0x2bbcb7(0x1af)];if(_0x402ce2[_0x2bbcb7(0x22b)](typeof _0x5c3866,_0x402ce2[_0x2bbcb7(0x264)])&&_0x402ce2[_0x2bbcb7(0x263)](_0x5c3866['length'],0x0))return _0x5c3866;let _0x15f352;if(!_0x5b7903)_0x15f352=_0x402ce2[_0x2bbcb7(0x211)];else!_0x53a26a?_0x15f352=_0x402ce2['PGDVl']:_0x15f352=_0x2bbcb7(0x204)+Object[_0x2bbcb7(0x16e)](_0x53a26a)['join'](',\x20')+']\x20but\x20thTestRunUuid\x20is\x20'+(_0x402ce2[_0x2bbcb7(0x22b)](_0x5c3866,undefined)?_0x402ce2[_0x2bbcb7(0x233)]:'\x22'+_0x5c3866+'\x22')+_0x2bbcb7(0x275);return logger[_0x2bbcb7(0x266)]('[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20'+_0x15f352+_0x2bbcb7(0x1a1)),'';},exports[a123_0x454d43(0x230)]=_0xef69f8=>{const _0x54fd9b=a123_0x454d43,_0x678204={};_0x678204[_0x54fd9b(0x25b)]=function(_0x35b2f7,_0x481fb1){return _0x35b2f7===_0x481fb1;},_0x678204[_0x54fd9b(0x1b8)]=_0x54fd9b(0x24c),_0x678204[_0x54fd9b(0x182)]=_0x54fd9b(0x274);const _0x419588=_0x678204;if(_0xef69f8&&_0xef69f8[_0x54fd9b(0x1d9)]&&_0x419588[_0x54fd9b(0x25b)](typeof _0xef69f8[_0x54fd9b(0x1d9)],_0x419588[_0x54fd9b(0x1b8)]))return _0xef69f8[_0x54fd9b(0x1d9)][_0x54fd9b(0x21a)](_0x419588['jCSbw']);return![];},exports['MOBILE_SCANNING_DISABLED_WARNING']=a123_0x454d43(0x1f0),exports[a123_0x454d43(0x225)]=()=>process[a123_0x454d43(0x1a6)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']===a123_0x454d43(0x223),exports[a123_0x454d43(0x1cb)]=_0x30bacc=>{const _0x3cc4d1=a123_0x454d43,_0xba73e8={};_0xba73e8[_0x3cc4d1(0x163)]=function(_0x5881f0,_0x1ef629){return _0x5881f0 in _0x1ef629;};const _0x58e4f2=_0xba73e8;if(bsSetupHelper[_0x3cc4d1(0x23f)](_0x30bacc))return![];const _0x3d0f32=_0x30bacc[_0x3cc4d1(0x1e3)]();return _0x58e4f2[_0x3cc4d1(0x163)](_0x3d0f32,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a123_0x454d43(0x279)]=_0x33844d=>{const _0x5c0e6f=a123_0x454d43;if(bsSetupHelper['isUndefined'](_0x33844d))return null;const _0x4f5894=_0x33844d[_0x5c0e6f(0x1e3)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x4f5894]||null;},exports[a123_0x454d43(0x229)]=(_0x2a7181,_0x1c92a1)=>{const _0x32995a=a123_0x454d43,_0x3914b8=this[_0x32995a(0x279)](_0x2a7181);if(!_0x3914b8)return null;if(_0x1c92a1)return _0x3914b8['min_version_browserstack'];return _0x3914b8[_0x32995a(0x1e0)];},exports['getBrowserDisplayName']=_0x248243=>{const _0x29cbf2=a123_0x454d43,_0xbf21e2=this['getBrowserA11yConfig'](_0x248243);return _0xbf21e2?_0xbf21e2[_0x29cbf2(0x1a3)]:_0x248243;},exports['requiresChromeOptionsValidation']=_0x3fe086=>{const _0x5bf9bd=a123_0x454d43,_0x7fa1fe=this['getBrowserA11yConfig'](_0x3fe086);return _0x7fa1fe?_0x7fa1fe[_0x5bf9bd(0x1e4)]:![];},exports['isVersionSupported']=(_0x4d26a5,_0x8eb74b)=>{const _0x1b67e4=a123_0x454d43,_0x5e8bdc={'Eijnp':function(_0x37b677,_0x5957e1){return _0x37b677(_0x5957e1);},'ptaya':function(_0xfc56e2,_0x1e9de5){return _0xfc56e2>=_0x1e9de5;}};if(bsSetupHelper[_0x1b67e4(0x23f)](_0x4d26a5)||bsSetupHelper['isUndefined'](_0x8eb74b))return![];const _0x291efe=bsSetupHelper['compareVersions'](_0x5e8bdc[_0x1b67e4(0x1fe)](String,_0x4d26a5),_0x5e8bdc[_0x1b67e4(0x1fe)](String,_0x8eb74b));return _0x5e8bdc[_0x1b67e4(0x18f)](_0x291efe,0x0);},exports[a123_0x454d43(0x27f)]=_0x5df441=>{const _0x2b87d6=a123_0x454d43,_0x20e16b={};_0x20e16b[_0x2b87d6(0x173)]=function(_0x2d9cca,_0x3ab69c){return _0x2d9cca!==_0x3ab69c;},_0x20e16b['eRHca']=_0x2b87d6(0x24c),_0x20e16b[_0x2b87d6(0x273)]='base64';const _0x3c9c55=_0x20e16b;if(!_0x5df441||_0x3c9c55['HdVSV'](typeof _0x5df441,_0x3c9c55['eRHca']))return null;try{return JSON[_0x2b87d6(0x18a)](Buffer[_0x2b87d6(0x237)](_0x5df441['split']('.')[0x1],_0x3c9c55[_0x2b87d6(0x273)])[_0x2b87d6(0x1c9)]());}catch{return null;}};
|
|
1
|
+
function a123_0x2fda(){const _0x38f203=['statusText','executeScript','deviceName','rMogl','JXhTd','getBrowserVersion','isTrue','AjCLI','../logger','tvKJG','script','JAmIg','options_','GJXPU','response','scannerVersion','compareVersions','isUndefined','bstackA11yShouldScan','getHostInfo','nonBstackPlatformValidation','errors','xkBWo','mJQwB','getTestFrameworkDetails','EDpNI','getPackageVersion','isMobileAccessibilitySession','projectName','UTjUu','isAccessibilityPlatform','shouldScanTestForAccessibility','split','270168kysoeA','debug','false','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','MvnqN','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','gtCNy','No\x20accessibility\x20summary\x20was\x20found.','attFa','getMobileA11yCapabilities','isBrowserstackInfra','BS_A11Y_JWT','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','zLddf','yVMNK','capabilities_','estLw','goog:chromeOptions','args','path','is_mobile_session','Owgsa','DTuif','getGlobal','mEMts','BROWSERSTACK_TEST_ACCESSIBILITY_YML','uXYAJ','DQuNu','Not\x20a\x20Accessibility\x20Session','keys','yBBNN','isArray','message','mergeDeep','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','data','irZSz','browserstack','oeRRd','format','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','return\x20document.readyState\x20===\x20\x22complete\x22','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','7238490KiysIb','android','excludeTagsInTestingScope','BROWSERSTACK_TURBOSCALE','fTgSo','info','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','selenium-webdriver','setNonBstackInfraCapabilities','user','DpnMi','some','YsmwF','../globals','Performing\x20scan\x20before\x20getting\x20results\x20summary','getCiInfo','hcyEe','toISOString','Build\x20creation\x20had\x20failed.','OrujM','--headless','wvsgR','application/json','No\x20accessibility\x20results\x20were\x20found.','JgjlF','awQZN','Bearer\x20','nCpJZ','Content-Type','body','OaKSa','chrome','headers','isMobileScanningEnabledForGroup','assign','2475416UKHAdA','resolveMobileThTestRunUuid','../performance/performance-tester','method','Invalid\x20request:\x20','set','from','bXTZf','RXXOj','MWfjv','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','sUqOf','YGclk','parse','browserVersion','GET_RESULTS_SUMMARY','PorVv','accessibilityToken','BXHdY','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','MOBILE_SCANNING_DISABLED_WARNING','cRVua','GET_RESULTS','null','toJson','accessibility','wait','nodeRequest','KkdSy','--headless=','join','javascript','eWxUA','undefined','isAccessibilityAutomationSession','getGitMetaData','performScan','getBrowserA11yConfig','browserstack_executor','json','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','getAccessibilityResultsSummary','HpJSv','dAMke','get','base64','getMinVersionForBrowser','winstonLogger','function','fetchPlatformDetails','isBrowserStackCommandExecutor','VXAKY','2039456RPTjzi','LyHUs','getAgentVersion','YKvHW','EFOdb','getPlatform','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','ChromeExtension','srRqe','uyOVG','getUserName','includeTagsInTestingScope','command','VhHIx','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','lxRxK','../helper','buildName','XXjbp','\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.','mBFJk','length','nestedKeyValue','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','ubbvX','gzHtx','kJrCe','__cloud_provider___','vwDOj','FYHUr','./constants','measureWrapper','QJUBy','getResultsSummary','string','display_name','isMobileAccessibilityPlatform','getPlatformVersion','xuAJr','trim','checkAccessibilityPlatformConfig','--headless=new','global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).','status','basename','Authorization','min_version_browserstack','zcuLC','pEUGu','ZtlBP','stringify','DRssJ','cwd','warn','PERFORM_SCAN','toLowerCase','QSFwA','yopLq','nYCoW','chromeOptions','true','stopAccessibilityTestRun','requires_chrome_options_check','1249256bgyNVV','startsWith','error','platformName','fzxXg','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','includes','getResults','CAluR','resolve','getBrowserDisplayName','ztIFK','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','211931ELhbbQ','toString','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','getCapabilities','a11y:start','getAccessKey','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','OTohJ','Performing\x20scan\x20before\x20getting\x20results','auth','dFrnt','YDnTZ','IzBbB','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','rVYGd','NpsVO','1692999kPqaVB','oPFzJ','__workerDetails','arJQD','Performed\x20scan\x20with\x20result:\x20','a11y:stop','fDBdB','95TIBYat','browserstackSessionName','YlOCn','browserName','dVCpW','parseA11yJwtPayload','executeAsyncScript','util','getBrowserName','QUhRZ','min_version_non_browserstack','env',']\x20but\x20thTestRunUuid\x20is\x20','thTestRunUuid','isVersionSupported'];a123_0x2fda=function(){return _0x38f203;};return a123_0x2fda();}const a123_0x5943fb=a123_0x296d;(function(_0x11dcac,_0x936cb1){const _0x528e1f=a123_0x296d,_0x1f523e=_0x11dcac();while(!![]){try{const _0x1c220b=parseInt(_0x528e1f(0xdf))/0x1+-parseInt(_0x528e1f(0xd1))/0x2+-parseInt(_0x528e1f(0xef))/0x3+-parseInt(_0x528e1f(0x174))/0x4+-parseInt(_0x528e1f(0xf6))/0x5*(-parseInt(_0x528e1f(0x126))/0x6)+parseInt(_0x528e1f(0x151))/0x7+parseInt(_0x528e1f(0x1a8))/0x8;if(_0x1c220b===_0x936cb1)break;else _0x1f523e['push'](_0x1f523e['shift']());}catch(_0xb83f9a){_0x1f523e['push'](_0x1f523e['shift']());}}}(a123_0x2fda,0x85f2a));function a123_0x296d(_0x4be51e,_0x5b3358){const _0x2fdaa8=a123_0x2fda();return a123_0x296d=function(_0x296d67,_0x381aa4){_0x296d67=_0x296d67-0xad;let _0x3cc5ce=_0x2fdaa8[_0x296d67];return _0x3cc5ce;},a123_0x296d(_0x4be51e,_0x5b3358);}const path=require(a123_0x5943fb(0x139)),util=require(a123_0x5943fb(0xfd)),bsSetupHelper=require(a123_0x5943fb(0x1b8)),logger=require(a123_0x5943fb(0x10d))[a123_0x5943fb(0x1a3)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a123_0x5943fb(0xb0)),PerformanceTester=require(a123_0x5943fb(0x176)),scripts=require('./scripts'),globals=require(a123_0x5943fb(0x15e)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports[a123_0x5943fb(0x1a5)]=async _0x48c1eb=>{const _0x459f71=a123_0x5943fb,_0x3b1141={};_0x3b1141[_0x459f71(0x16c)]=function(_0x4caac1,_0xb50d6e){return _0x4caac1===_0xb50d6e;},_0x3b1141[_0x459f71(0xc5)]=_0x459f71(0x14b);const _0x2f8333=_0x3b1141;let _0x4312bd={};try{const _0x4cb162=await _0x48c1eb[_0x459f71(0xe2)]();_0x4312bd={'os_name':_0x4cb162[_0x459f71(0x1ad)](),'os_version':bsSetupHelper[_0x459f71(0xb7)](_0x2f8333[_0x459f71(0x16c)](global[_0x459f71(0xad)],_0x2f8333['DRssJ'])),'browser_name':_0x4cb162[_0x459f71(0xfe)](),'browser_version':_0x4cb162[_0x459f71(0x10a)]()};}catch(_0x11179b){logger[_0x459f71(0x127)](_0x459f71(0x14e)+_0x11179b);}return _0x4312bd;},exports['isAccessibilityAutomationSession']=()=>{const _0x2b058d=a123_0x5943fb,_0x2a80bd={};_0x2a80bd['gtCNy']=function(_0x334c45,_0x470df5){return _0x334c45===_0x470df5;},_0x2a80bd[_0x2b058d(0xe9)]='string',_0x2a80bd[_0x2b058d(0xf0)]=function(_0xf27c9e,_0x5a3b07){return _0xf27c9e>_0x5a3b07;},_0x2a80bd[_0x2b058d(0x14a)]=function(_0x335097,_0x3df2ce){return _0x335097!==_0x3df2ce;},_0x2a80bd[_0x2b058d(0x14c)]=_0x2b058d(0x18b),_0x2a80bd[_0x2b058d(0x1b7)]=function(_0x53dbdf,_0xba08c1){return _0x53dbdf&&_0xba08c1;};const _0x2e6518=_0x2a80bd;try{const _0x35f877=bsSetupHelper[_0x2b058d(0x10b)](process['env'][_0x2b058d(0x13f)])||bsSetupHelper[_0x2b058d(0x10b)](process[_0x2b058d(0x101)][_0x2b058d(0xd6)]),_0x329d7a=_0x2e6518[_0x2b058d(0x12c)](typeof process[_0x2b058d(0x101)][_0x2b058d(0x131)],_0x2e6518[_0x2b058d(0xe9)])&&_0x2e6518[_0x2b058d(0xf0)](process[_0x2b058d(0x101)][_0x2b058d(0x131)]['length'],0x0)&&_0x2e6518['irZSz'](process[_0x2b058d(0x101)][_0x2b058d(0x131)],_0x2e6518['oeRRd']);return _0x2e6518[_0x2b058d(0x1b7)](_0x35f877,_0x329d7a);}catch(_0xa3c25f){logger[_0x2b058d(0x127)]('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0xa3c25f);}return![];},exports[a123_0x5943fb(0x119)]=(_0x3c5f1d,_0x1a82ef)=>{const _0x3c97aa=a123_0x5943fb,_0x1001dc={'mEMts':_0x3c97aa(0xf9),'sUqOf':function(_0x1925b0,_0x5612b3){return _0x1925b0(_0x5612b3);},'MgzKk':_0x3c97aa(0x182),'FYHUr':'version','kJrCe':'bstack:options','WCatR':_0x3c97aa(0x107),'EFOdb':'device','JXhTd':_0x3c97aa(0x150),'IzBbB':'selenium-webdriver/chrome.js','attFa':_0x3c97aa(0x158),'qoUuM':_0x3c97aa(0x111),'rVYGd':_0x3c97aa(0x138),'mJQwB':_0x3c97aa(0xcd),'gzHtx':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','YKvHW':'goog:chromeOptions','AjCLI':function(_0x1b78c4,_0x56088d){return _0x1b78c4===_0x56088d;},'JAmIg':_0x3c97aa(0x170),'RXXOj':function(_0x2e009f,_0x4e247e){return _0x2e009f>=_0x4e247e;}},_0x174b16=_0x3c5f1d['get'](_0x1001dc[_0x3c97aa(0x13e)]),_0xd47044=_0x1001dc[_0x3c97aa(0x17f)](parseFloat,_0x3c5f1d[_0x3c97aa(0x1a0)](_0x1001dc['MgzKk']))||_0x1001dc[_0x3c97aa(0x17f)](parseFloat,_0x3c5f1d[_0x3c97aa(0x1a0)](_0x1001dc[_0x3c97aa(0xaf)])),_0x40eab2=_0x3c5f1d[_0x3c97aa(0x1a0)](_0x1001dc[_0x3c97aa(0x1c2)])||{},_0x53f0ca=_0x1001dc['sUqOf'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0xe37dc5=_0x40eab2[_0x1001dc['WCatR']]||_0x3c5f1d[_0x3c97aa(0x1a0)](_0x1001dc[_0x3c97aa(0x1ac)])||![];if(_0xe37dc5)return logger[_0x3c97aa(0xc7)](_0x1001dc[_0x3c97aa(0x109)]),![];let _0x161955;try{_0x161955=bsSetupHelper['requireModule'](_0x1001dc[_0x3c97aa(0xeb)],_0x1001dc[_0x3c97aa(0x12e)]);}catch(_0x27fa9e){return![];}const _0x389505=new _0x161955['Options'](_0x1a82ef['chromeOptions_']),_0x315755=bsSetupHelper[_0x3c97aa(0x1be)](_0x389505,[_0x1001dc['qoUuM'],_0x1001dc['rVYGd']])||bsSetupHelper[_0x3c97aa(0x1be)](_0x1a82ef['capabilities_'],[_0x1001dc[_0x3c97aa(0x1c2)],_0x1001dc[_0x3c97aa(0x11c)],_0x1001dc[_0x3c97aa(0xed)]])||bsSetupHelper[_0x3c97aa(0x1be)](_0x1a82ef[_0x3c97aa(0x135)],[_0x1001dc['mJQwB'],_0x1001dc[_0x3c97aa(0xed)]])||[],_0x26ea5b=Array['isArray'](_0x315755)?_0x315755:[];if(_0x26ea5b[_0x3c97aa(0x15c)](_0x1d5c0c=>typeof _0x1d5c0c===_0x3c97aa(0xb4)&&(_0x1d5c0c===_0x3c97aa(0x165)||_0x1d5c0c[_0x3c97aa(0xd2)](_0x3c97aa(0x191))&&_0x1d5c0c!=='--headless=new')))return logger['warn'](_0x1001dc[_0x3c97aa(0x1c1)]),![];const _0x5ee89e=_0x1a82ef['capabilities_']||{},_0x5a3cb1=bsSetupHelper[_0x3c97aa(0x1be)](_0x5ee89e,[_0x1001dc[_0x3c97aa(0x1ab)]])||{},_0x14158d=bsSetupHelper[_0x3c97aa(0x1be)](_0x5a3cb1,[_0x1001dc[_0x3c97aa(0xed)]])||[],_0x457ab4=Array['isArray'](_0x14158d)?_0x14158d:[];if(_0x457ab4['some'](_0x162176=>typeof _0x162176===_0x3c97aa(0xb4)&&(_0x162176===_0x3c97aa(0x165)||_0x162176[_0x3c97aa(0xd2)](_0x3c97aa(0x191))&&_0x162176!==_0x3c97aa(0xbb))))return logger[_0x3c97aa(0xc7)](_0x1001dc['gzHtx']),![];if(_0x1001dc[_0x3c97aa(0x10c)](_0x174b16[_0x3c97aa(0xc9)](),_0x1001dc[_0x3c97aa(0x110)])&&_0x1001dc[_0x3c97aa(0x17c)](_0xd47044,_0x53f0ca))return!![];return logger[_0x3c97aa(0xc7)](_0x3c97aa(0x1bf)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a123_0x5943fb(0x159)]=_0x3346b9=>{const _0x38bd36=a123_0x5943fb,_0x50f682={};_0x50f682[_0x38bd36(0x144)]=_0x38bd36(0x137),_0x50f682[_0x38bd36(0x15b)]=function(_0x5598d9,_0x98c438){return _0x5598d9||_0x98c438;},_0x50f682[_0x38bd36(0x134)]=_0x38bd36(0x142);const _0x314595=_0x50f682,_0x75cf40=scripts[_0x38bd36(0x1af)];try{const _0x1780ed=bsSetupHelper[_0x38bd36(0x10b)](process['env'][_0x38bd36(0x13f)])||bsSetupHelper['isTrue'](process[_0x38bd36(0x101)][_0x38bd36(0xd6)]);if((!bsSetupHelper[_0x38bd36(0x130)]()||process[_0x38bd36(0x101)][_0x38bd36(0x154)])&&_0x1780ed){const _0x545733=_0x3346b9['getCapabilities'](),_0x535293=_0x545733[_0x38bd36(0x1a0)](_0x314595['yBBNN']),_0x4e88f3=_0x314595[_0x38bd36(0x15b)](_0x535293,{});bsSetupHelper[_0x38bd36(0x147)](_0x4e88f3,_0x75cf40),_0x3346b9[_0x38bd36(0xe2)]()[_0x38bd36(0x179)](_0x314595[_0x38bd36(0x144)],_0x4e88f3);}else logger[_0x38bd36(0xc7)](_0x314595[_0x38bd36(0x134)]);}catch(_0x35f293){logger['error']('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x35f293);}},exports[a123_0x5943fb(0x124)]=(_0x2f5318=null,_0x101c2b=!![],_0x2f61e3=[])=>{const _0x1ca6a0=a123_0x5943fb,_0xb1d4ba={};_0xb1d4ba['ngjTE']=function(_0x445642,_0x9e450){return _0x445642==_0x9e450;},_0xb1d4ba['DQuNu']=function(_0x56b65d,_0x579230){return _0x56b65d>_0x579230;},_0xb1d4ba[_0x1ca6a0(0x19f)]=function(_0x56ab61,_0x48b606){return _0x56ab61===_0x48b606;},_0xb1d4ba[_0x1ca6a0(0x194)]=function(_0xbd35a1,_0xcf6782){return _0xbd35a1&&_0xcf6782;};const _0x4801a4=_0xb1d4ba;if(_0x4801a4['ngjTE'](process[_0x1ca6a0(0x101)][_0x1ca6a0(0x157)],null))return!![];try{const _0x4a25aa=JSON[_0x1ca6a0(0x181)](process[_0x1ca6a0(0x101)][_0x1ca6a0(0x157)]),_0x2d77f8=Array[_0x1ca6a0(0x145)](_0x4a25aa[_0x1ca6a0(0x1b3)])?_0x4a25aa[_0x1ca6a0(0x1b3)]:[],_0x368812=Array['isArray'](_0x4a25aa[_0x1ca6a0(0x153)])?_0x4a25aa['excludeTagsInTestingScope']:[],_0x41a20c=_0x3940e2=>typeof _0x3940e2===_0x1ca6a0(0xb4)?_0x3940e2['replace'](/^@/,'')[_0x1ca6a0(0xc9)]()[_0x1ca6a0(0xb9)]():_0x3940e2;if(bsSetupHelper[_0x1ca6a0(0x116)](_0x2f5318)){if(_0x4801a4[_0x1ca6a0(0x141)](_0x2f61e3[_0x1ca6a0(0x1bd)],0x0)){const _0x5968ce=_0x2f61e3['map'](_0x41a20c),_0xc6acd4=_0x368812[_0x1ca6a0(0x15c)](_0x1e53f9=>_0x5968ce['includes'](_0x41a20c(_0x1e53f9))),_0x26cf1e=_0x4801a4[_0x1ca6a0(0x19f)](_0x2d77f8['length'],0x0)||_0x2d77f8[_0x1ca6a0(0x15c)](_0x40d9e1=>_0x5968ce['includes'](_0x41a20c(_0x40d9e1)));return _0x4801a4[_0x1ca6a0(0x194)](!_0xc6acd4,_0x26cf1e);}return!![];}let _0x3e73cc;_0x101c2b?_0x3e73cc=_0x2f5318[_0x1ca6a0(0x192)]('/'):_0x3e73cc=_0x2f5318;const _0x1d4121=_0x368812[_0x1ca6a0(0x15c)](_0x20d242=>_0x3e73cc[_0x1ca6a0(0xc9)]()[_0x1ca6a0(0xd8)](_0x41a20c(_0x20d242)['toLowerCase']())),_0x5878a0=_0x4801a4[_0x1ca6a0(0x19f)](_0x2d77f8[_0x1ca6a0(0x1bd)],0x0)||_0x2d77f8[_0x1ca6a0(0x15c)](_0x28ec52=>_0x3e73cc[_0x1ca6a0(0xc9)]()[_0x1ca6a0(0xd8)](_0x41a20c(_0x28ec52)[_0x1ca6a0(0xc9)]()));return _0x4801a4[_0x1ca6a0(0x194)](!_0x1d4121,_0x5878a0);}catch(_0x286479){logger[_0x1ca6a0(0x127)](_0x1ca6a0(0x129)+util['format'](_0x286479));}return![];},exports[a123_0x5943fb(0xba)]=_0x113e05=>{const _0x5736a5=a123_0x5943fb;let _0x3022ca=![];try{_0x113e05['platforms']['forEach'](_0x46f7dd=>{const _0x492f41=a123_0x296d;if(bsSetupHelper[_0x492f41(0x10b)](_0x46f7dd[_0x492f41(0x18d)]))return _0x3022ca=!![],!![];});}catch(_0x3cc703){logger[_0x5736a5(0x127)](_0x5736a5(0xd7)+_0x3cc703);}return _0x3022ca||bsSetupHelper['isTrue'](_0x113e05['accessibility']);},exports['createAccessibilityTestRun']=PerformanceTester[a123_0x5943fb(0xb1)](a123_0x5943fb(0xe3),async function(_0xaea935,_0x1842fc){const _0x48bfe5=a123_0x5943fb,_0x809131={};_0x809131[_0x48bfe5(0x13b)]='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x809131[_0x48bfe5(0xfa)]='playwright',_0x809131[_0x48bfe5(0x186)]=_0x48bfe5(0x193),_0x809131[_0x48bfe5(0xf8)]=_0x48bfe5(0x167),_0x809131['GJXPU']='POST',_0x809131[_0x48bfe5(0x15d)]='v2/test_runs',_0x809131['xkBWo']=function(_0x3a65e7,_0x1af946){return _0x3a65e7===_0x1af946;},_0x809131['gAIhP']='Invalid\x20configuration\x20passed.',_0x809131[_0x48bfe5(0x164)]=_0x48bfe5(0x128);const _0x37024c=_0x809131,_0x46bf40=bsSetupHelper[_0x48bfe5(0x1b2)](_0xaea935),_0xdd279d=bsSetupHelper[_0x48bfe5(0xe4)](_0xaea935);if(bsSetupHelper[_0x48bfe5(0x116)](_0x46bf40)||bsSetupHelper[_0x48bfe5(0x116)](_0xdd279d))return logger[_0x48bfe5(0xd3)](_0x37024c[_0x48bfe5(0x13b)]),[null,null];try{let _0x52b71b;bsSetupHelper[_0x48bfe5(0x116)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x52b71b={}:_0x52b71b=JSON[_0x48bfe5(0x181)](process[_0x48bfe5(0x101)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x2a6735,version:_0xca2368}=bsSetupHelper[_0x48bfe5(0x11d)](_0xaea935,_0x1842fc),_0x209684={'projectName':_0xaea935[_0x48bfe5(0x121)],'buildName':_0xaea935[_0x48bfe5(0x1b9)]||path[_0x48bfe5(0xbe)](path[_0x48bfe5(0xdb)](process[_0x48bfe5(0xc6)]())),'startTime':new Date()['toISOString'](),'description':_0xaea935['buildDescription']||'','source':{'frameworkName':_0x1842fc[_0x48bfe5(0xd8)](_0x37024c[_0x48bfe5(0xfa)])?_0x37024c[_0x48bfe5(0xfa)]:_0x1842fc,'frameworkVersion':bsSetupHelper[_0x48bfe5(0x11f)](_0x1842fc),'sdkVersion':bsSetupHelper[_0x48bfe5(0x1aa)](),'language':_0x37024c[_0x48bfe5(0x186)],'testFramework':_0x2a6735,'testFrameworkVersion':_0xca2368},'settings':_0x52b71b,'versionControl':await bsSetupHelper[_0x48bfe5(0x197)](),'ciInfo':bsSetupHelper[_0x48bfe5(0x160)](),'hostInfo':bsSetupHelper[_0x48bfe5(0x118)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x10e4ff={};_0x10e4ff[_0x48bfe5(0x15a)]=_0x46bf40,_0x10e4ff['pass']=_0xdd279d;const _0x3b703b={};_0x3b703b[_0x48bfe5(0x16d)]=_0x37024c[_0x48bfe5(0xf8)];const _0x34bfc3={};_0x34bfc3[_0x48bfe5(0xe8)]=_0x10e4ff,_0x34bfc3[_0x48bfe5(0x171)]=_0x3b703b;const _0x384915=_0x34bfc3,_0x36053f={};_0x36053f[_0x48bfe5(0x16e)]=_0x209684,_0x36053f[_0x48bfe5(0x19b)]=!![];const _0x181f7c=Object[_0x48bfe5(0x173)](_0x384915,_0x36053f),_0x5077b4=await bsSetupHelper[_0x48bfe5(0x18f)](_0x37024c[_0x48bfe5(0x112)],_0x37024c[_0x48bfe5(0x15d)],_0x181f7c,_0xaea935,API_URL);let _0x1087ec=process[_0x48bfe5(0x101)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x1087ec?_0x1087ec=JSON[_0x48bfe5(0x181)](process[_0x48bfe5(0x101)][_0x48bfe5(0x157)]):_0x1087ec={},scripts['parseFromJson'](_0x5077b4[_0x48bfe5(0x149)][_0x48bfe5(0x149)]),scripts[_0x48bfe5(0x18c)](),_0x1087ec[_0x48bfe5(0x114)]=_0x5077b4[_0x48bfe5(0x149)][_0x48bfe5(0x149)][_0x48bfe5(0x114)],process['env'][_0x48bfe5(0x157)]=JSON[_0x48bfe5(0xc4)](_0x1087ec),[_0x5077b4[_0x48bfe5(0x149)]['data'][_0x48bfe5(0x185)],_0x5077b4[_0x48bfe5(0x149)][_0x48bfe5(0x149)]['id']];}catch(_0x23e78d){if(_0x23e78d['response'])logger['error'](_0x48bfe5(0x1b6)+_0x23e78d['response']['status']+'\x20'+_0x23e78d['response']['statusText']+'\x20'+JSON['stringify'](_0x23e78d[_0x48bfe5(0x113)][_0x48bfe5(0x149)]));else{if(_0x37024c[_0x48bfe5(0x11b)](_0x23e78d[_0x48bfe5(0x146)],_0x37024c['gAIhP'])){logger[_0x48bfe5(0xd3)](_0x48bfe5(0x1b6)+(_0x23e78d['message']||_0x23e78d['stack']));for(const _0x59ad68 of _0x23e78d[_0x48bfe5(0x11a)]){logger['error'](_0x59ad68['message']);}process[_0x48bfe5(0x101)][_0x48bfe5(0x13f)]=_0x37024c['OrujM'],process['env'][_0x48bfe5(0xd6)]=_0x37024c['OrujM'];}else logger['error'](_0x48bfe5(0x1b6)+(_0x23e78d[_0x48bfe5(0x146)]||_0x23e78d['stack']));}return[null,null];}}),exports[a123_0x5943fb(0xcf)]=PerformanceTester[a123_0x5943fb(0xb1)](a123_0x5943fb(0xf4),async function(_0x560d9e){const _0x38c6c2=a123_0x5943fb,_0x4dcff3={};_0x4dcff3[_0x38c6c2(0x1b5)]=function(_0x15ceba,_0x37bc4a){return _0x15ceba!==_0x37bc4a;},_0x4dcff3[_0x38c6c2(0x17d)]=_0x38c6c2(0xb4),_0x4dcff3[_0x38c6c2(0x136)]='error',_0x4dcff3[_0x38c6c2(0xee)]=_0x38c6c2(0x163),_0x4dcff3[_0x38c6c2(0x184)]='application/json',_0x4dcff3['DTuif']='PUT',_0x4dcff3[_0x38c6c2(0xcb)]='test_runs/stop',_0x4dcff3[_0x38c6c2(0x166)]=function(_0x5d37ef,_0xa8a37){return _0x5d37ef+_0xa8a37;},_0x4dcff3[_0x38c6c2(0xf2)]=_0x38c6c2(0x178),_0x4dcff3[_0x38c6c2(0xae)]='success';const _0x314f0d=_0x4dcff3;if(bsSetupHelper[_0x38c6c2(0x116)](process[_0x38c6c2(0x101)][_0x38c6c2(0x131)])||_0x314f0d[_0x38c6c2(0x1b5)](typeof process['env'][_0x38c6c2(0x131)],_0x314f0d[_0x38c6c2(0x17d)])){const _0x374f9b={};return _0x374f9b['status']=_0x314f0d[_0x38c6c2(0x136)],_0x374f9b['message']=_0x314f0d[_0x38c6c2(0xee)],_0x374f9b;}const _0x1a1db5={'endTime':new Date()[_0x38c6c2(0x162)]()},_0x493e2a={};_0x493e2a[_0x38c6c2(0xbf)]=_0x38c6c2(0x16b)+process['env'][_0x38c6c2(0x131)],_0x493e2a['Content-Type']=_0x314f0d[_0x38c6c2(0x184)];const _0x177c47={};_0x177c47[_0x38c6c2(0x171)]=_0x493e2a;const _0x1efe48=_0x177c47,_0x48ff26={};_0x48ff26[_0x38c6c2(0x16e)]=_0x1a1db5,_0x48ff26[_0x38c6c2(0xe8)]=null,_0x48ff26['json']=!![];const _0x1c8977=Object['assign'](_0x1efe48,_0x48ff26);try{const _0x3ef8ee=await bsSetupHelper['nodeRequest'](_0x314f0d[_0x38c6c2(0x13c)],_0x314f0d[_0x38c6c2(0xcb)],_0x1c8977,_0x560d9e,API_URL);if(_0x3ef8ee[_0x38c6c2(0x149)][_0x38c6c2(0xd3)])throw new Error(_0x314f0d[_0x38c6c2(0x166)](_0x314f0d['arJQD'],_0x3ef8ee[_0x38c6c2(0x149)][_0x38c6c2(0xd3)]));else{logger[_0x38c6c2(0x156)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()['toISOString']());const _0x13f0d4={};return _0x13f0d4[_0x38c6c2(0xbd)]=_0x314f0d[_0x38c6c2(0xae)],_0x13f0d4[_0x38c6c2(0x146)]='',_0x13f0d4;}}catch(_0x2c0cd8){_0x2c0cd8[_0x38c6c2(0x113)]?logger[_0x38c6c2(0xd3)](_0x38c6c2(0xec)+_0x2c0cd8[_0x38c6c2(0x113)]['status']+'\x20'+_0x2c0cd8[_0x38c6c2(0x113)]['statusText']+'\x20'+JSON[_0x38c6c2(0xc4)](_0x2c0cd8[_0x38c6c2(0x113)][_0x38c6c2(0x149)])):logger['error'](_0x38c6c2(0xec)+(_0x2c0cd8[_0x38c6c2(0x146)]||util[_0x38c6c2(0x14d)](_0x2c0cd8)));const _0xd1d254={};return _0xd1d254['status']=_0x314f0d[_0x38c6c2(0x136)],_0xd1d254['message']=_0x2c0cd8['message']||(_0x2c0cd8[_0x38c6c2(0x113)]?_0x2c0cd8[_0x38c6c2(0x113)][_0x38c6c2(0xbd)]+':'+_0x2c0cd8[_0x38c6c2(0x113)][_0x38c6c2(0x105)]:_0x2c0cd8),_0xd1d254;}}),exports[a123_0x5943fb(0x198)]=async(_0x10716a,_0x356f0b=null,_0x12eb89=![],_0x4564e8=null)=>{const _0x7b86d1=a123_0x5943fb,_0x4dd7ac={};_0x4dd7ac['pEUGu']='isAccessibilityPlatform',_0x4dd7ac[_0x7b86d1(0xda)]=_0x7b86d1(0x117),_0x4dd7ac[_0x7b86d1(0x161)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.',_0x4dd7ac[_0x7b86d1(0xff)]=function(_0x249b66,_0x109d95){return _0x249b66||_0x109d95;},_0x4dd7ac[_0x7b86d1(0xca)]='bstackA11yScanOptions',_0x4dd7ac[_0x7b86d1(0xc3)]='performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments';const _0xb532b5=_0x4dd7ac;if(!this['isAccessibilityAutomationSession']()||!globals[_0x7b86d1(0x13d)](_0xb532b5[_0x7b86d1(0xc2)])||!_0x12eb89&&!globals[_0x7b86d1(0x13d)](_0xb532b5['CAluR'])){logger['warn'](_0xb532b5['hcyEe']);return;}const _0x2f0868=_0x12eb89?_0xb532b5[_0x7b86d1(0xff)](_0x4564e8,{}):globals[_0x7b86d1(0x13d)](_0xb532b5[_0x7b86d1(0xca)])||{},_0x3cb973={};_0x3cb973['method']=_0x356f0b||global[_0x7b86d1(0xf7)];const _0x5add6a=Object[_0x7b86d1(0x173)]({},_0x2f0868,_0x3cb973);await this[_0x7b86d1(0x120)](_0x10716a)&&(Object['assign'](_0x5add6a,this[_0x7b86d1(0x12f)](),{'thTestRunUuid':this[_0x7b86d1(0x175)]()}),logger[_0x7b86d1(0x127)](_0xb532b5[_0x7b86d1(0xc3)]));logger[_0x7b86d1(0x127)](_0x7b86d1(0xde)+util[_0x7b86d1(0x14d)]('%j',_0x5add6a));const _0x5004b7={};return _0x5004b7[_0x7b86d1(0x1b4)]=_0x356f0b,await PerformanceTester[_0x7b86d1(0xb1)](PerformanceA11yEvents[_0x7b86d1(0xc8)],async()=>{const _0x2ec97c=_0x7b86d1;try{await _0x10716a[_0x2ec97c(0x18e)](()=>_0x10716a[_0x2ec97c(0x106)](_0x2ec97c(0x14f)),0x1388);}catch(_0x23d6df){}const _0x1754b6=util[_0x2ec97c(0x14d)](await _0x10716a['executeAsyncScript'](scripts['performScan'],_0x5add6a));return logger[_0x2ec97c(0x127)](_0x2ec97c(0xf3)+_0x1754b6),_0x1754b6;},_0x5004b7)();},exports['getAccessibilityResults']=async(_0x2ab2ec,_0x558fe5)=>{const _0x259b47=a123_0x5943fb,_0x30d61d={};_0x30d61d[_0x259b47(0xea)]=_0x259b47(0xe7),_0x30d61d[_0x259b47(0x133)]=_0x259b47(0x123),_0x30d61d[_0x259b47(0xdd)]='bstackA11yShouldScan',_0x30d61d['tGTNN']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x30d61d[_0x259b47(0x190)]='getAccessibilityResults',_0x30d61d[_0x259b47(0x108)]=_0x259b47(0x168);const _0x444b6d=_0x30d61d;if(!this[_0x259b47(0x196)]()||!globals[_0x259b47(0x13d)](_0x444b6d['zLddf'])||!globals[_0x259b47(0x13d)](_0x444b6d[_0x259b47(0xdd)]))return logger['warn'](_0x444b6d['tGTNN']),[];try{const _0xb30c04=await this[_0x259b47(0x120)](_0x2ab2ec),_0x53b631=_0xb30c04?Object[_0x259b47(0x173)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x259b47(0x175)]()}):{};return _0xb30c04&&logger['debug'](_0x259b47(0x17e)+util['format']('%j',_0x53b631)),await PerformanceTester[_0x259b47(0xb1)](PerformanceA11yEvents[_0x259b47(0xc8)],async()=>{const _0x415ce9=_0x259b47;logger[_0x415ce9(0x127)](_0x444b6d[_0x415ce9(0xea)]);const _0xcc6a07={};_0xcc6a07[_0x415ce9(0x177)]=_0x558fe5['browserstackSessionName'];const _0x5e2fc4=Object[_0x415ce9(0x173)](_0xcc6a07,_0x53b631);logger[_0x415ce9(0x127)](util[_0x415ce9(0x14d)](await _0x2ab2ec['executeAsyncScript'](scripts[_0x415ce9(0x198)],_0x5e2fc4)));},{'command':_0x444b6d[_0x259b47(0x190)]})(),await PerformanceTester[_0x259b47(0xb1)](PerformanceA11yEvents[_0x259b47(0x18a)],async()=>{const _0x3ebdf6=_0x259b47,_0x44d105=_0xb30c04?await _0x2ab2ec[_0x3ebdf6(0xfc)](scripts[_0x3ebdf6(0xd9)],_0x53b631):await _0x2ab2ec[_0x3ebdf6(0xfc)](scripts['getResults']);return _0x44d105;})();}catch{return logger['error'](_0x444b6d[_0x259b47(0x108)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x3b6673,_0x4b6d62)=>{const _0x11abf0=a123_0x5943fb,_0x154f50={};_0x154f50[_0x11abf0(0xcc)]=_0x11abf0(0x15f),_0x154f50['MvnqN']=_0x11abf0(0x123),_0x154f50[_0x11abf0(0x140)]=_0x11abf0(0x117),_0x154f50['GcpUE']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x154f50[_0x11abf0(0x11e)]=_0x11abf0(0x19d),_0x154f50['fTgSo']=_0x11abf0(0x12d);const _0x41cb31=_0x154f50;if(!this[_0x11abf0(0x196)]()||!globals[_0x11abf0(0x13d)](_0x41cb31[_0x11abf0(0x12a)])||!globals[_0x11abf0(0x13d)](_0x41cb31['uXYAJ']))return logger[_0x11abf0(0xc7)](_0x41cb31['GcpUE']),{};try{const _0x3f4c64=await this[_0x11abf0(0x120)](_0x3b6673),_0xb22881=_0x3f4c64?Object[_0x11abf0(0x173)]({},this[_0x11abf0(0x12f)](),{'thTestRunUuid':this[_0x11abf0(0x175)]()}):{};return _0x3f4c64&&logger['debug'](_0x11abf0(0xe5)+util[_0x11abf0(0x14d)]('%j',_0xb22881)),await PerformanceTester[_0x11abf0(0xb1)](PerformanceA11yEvents[_0x11abf0(0xc8)],async()=>{const _0x43a104=_0x11abf0;logger[_0x43a104(0x127)](_0x41cb31[_0x43a104(0xcc)]);const _0x461c51={};_0x461c51[_0x43a104(0x177)]=_0x4b6d62[_0x43a104(0xf7)];const _0x293240=Object[_0x43a104(0x173)](_0x461c51,_0xb22881);logger[_0x43a104(0x127)](util['format'](await _0x3b6673[_0x43a104(0xfc)](scripts[_0x43a104(0x198)],_0x293240)));},{'command':_0x41cb31[_0x11abf0(0x11e)]})(),await PerformanceTester[_0x11abf0(0xb1)](PerformanceA11yEvents[_0x11abf0(0x183)],async()=>{const _0x5c7b80=_0x11abf0,_0xf705e4=_0x3f4c64?await _0x3b6673[_0x5c7b80(0xfc)](scripts[_0x5c7b80(0xb3)],_0xb22881):await _0x3b6673[_0x5c7b80(0xfc)](scripts['getResultsSummary']);return _0xf705e4;})();}catch{return logger[_0x11abf0(0xd3)](_0x41cb31[_0x11abf0(0x155)]),{};}},exports[a123_0x5943fb(0xb6)]=(_0x5473bf,_0x26508e=![])=>{const _0x9f02e1=a123_0x5943fb,_0x26ece2={'srRqe':function(_0x112cc,_0x5d01da){return _0x112cc(_0x5d01da);},'cRVua':function(_0x3e8933,_0x20e1fb){return _0x3e8933(_0x20e1fb);},'UTjUu':_0x9f02e1(0xd4),'zcuLC':function(_0x73f969,_0x30338c){return _0x73f969!==_0x30338c;},'fzxXg':_0x9f02e1(0x152),'OaKSa':function(_0x36b004,_0x4a6806){return _0x36b004(_0x4a6806);},'jJNUb':function(_0x5a8a30,_0x24c193){return _0x5a8a30(_0x24c193);},'LyHUs':_0x9f02e1(0xf9),'mePLP':'chrome','YGclk':_0x9f02e1(0x12b),'awQZN':'Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)'};try{if(!_0x5473bf)return![];const _0x1e9374=_0x3ed7c1=>typeof _0x5473bf[_0x9f02e1(0x1a0)]===_0x9f02e1(0x1a4)?_0x5473bf[_0x9f02e1(0x1a0)](_0x3ed7c1):_0x5473bf[_0x3ed7c1],_0x30541e=_0x26ece2[_0x9f02e1(0x1b0)](String,_0x26ece2[_0x9f02e1(0x189)](_0x1e9374,_0x26ece2[_0x9f02e1(0x122)])||'')[_0x9f02e1(0xc9)]();if(_0x26ece2[_0x9f02e1(0xc1)](_0x30541e,_0x26ece2[_0x9f02e1(0xd5)]))return![];const _0x13bdec=_0x26ece2[_0x9f02e1(0x16f)](String,_0x26ece2['jJNUb'](_0x1e9374,_0x26ece2[_0x9f02e1(0x1a9)])||'')[_0x9f02e1(0xc9)]();if(!_0x13bdec[_0x9f02e1(0xd8)](_0x26ece2['mePLP']))return _0x26508e&&logger[_0x9f02e1(0xc7)](_0x26ece2[_0x9f02e1(0x180)]),![];return logger['debug'](_0x26ece2[_0x9f02e1(0x16a)]),!![];}catch(_0xee108a){return logger[_0x9f02e1(0x127)](_0x9f02e1(0xe1)+_0xee108a),![];}},exports['isMobileAccessibilitySession']=async _0x49b1b2=>{const _0x42d768=a123_0x5943fb;try{const _0x46d36c=await _0x49b1b2[_0x42d768(0xe2)]();return exports['isMobileAccessibilityPlatform'](_0x46d36c);}catch(_0x3e2116){return logger[_0x42d768(0x127)](_0x42d768(0x132)+_0x3e2116),![];}},exports[a123_0x5943fb(0x12f)]=()=>{const _0x5db802=a123_0x5943fb,_0x2c83cf={};return _0x2c83cf[_0x5db802(0x13a)]=!![],_0x2c83cf;},exports[a123_0x5943fb(0x175)]=()=>{const _0x211143=a123_0x5943fb,_0xb5572f={};_0xb5572f[_0x211143(0x19e)]=function(_0x2838a0,_0x1c08b8){return _0x2838a0===_0x1c08b8;},_0xb5572f[_0x211143(0x169)]=_0x211143(0xb4),_0xb5572f['bXTZf']=function(_0x5a1659,_0x47f2eb){return _0x5a1659>_0x47f2eb;},_0xb5572f[_0x211143(0xb2)]=_0x211143(0xbc),_0xb5572f['htRZv']=_0x211143(0x187),_0xb5572f[_0x211143(0x1ba)]=_0x211143(0x195);const _0x5ba659=_0xb5572f,_0x1ed54f=global[_0x211143(0xf1)],_0x474a5c=_0x1ed54f&&_0x1ed54f['currentTest'],_0x1587c2=_0x474a5c&&_0x474a5c[_0x211143(0x103)];if(_0x5ba659['HpJSv'](typeof _0x1587c2,_0x5ba659[_0x211143(0x169)])&&_0x5ba659[_0x211143(0x17b)](_0x1587c2[_0x211143(0x1bd)],0x0))return _0x1587c2;let _0x20ba4d;if(!_0x1ed54f)_0x20ba4d=_0x5ba659[_0x211143(0xb2)];else!_0x474a5c?_0x20ba4d=_0x5ba659['htRZv']:_0x20ba4d='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object[_0x211143(0x143)](_0x474a5c)['join'](',\x20')+_0x211143(0x102)+(_0x5ba659['HpJSv'](_0x1587c2,undefined)?_0x5ba659[_0x211143(0x1ba)]:'\x22'+_0x1587c2+'\x22')+'.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.';return logger[_0x211143(0xc7)](_0x211143(0x148)+_0x20ba4d+_0x211143(0x1bb)),'';},exports[a123_0x5943fb(0x1a6)]=_0x1ff1bc=>{const _0x54d941=a123_0x5943fb,_0xec2541={};_0xec2541[_0x54d941(0xf5)]=function(_0x16f7ba,_0x153e48){return _0x16f7ba===_0x153e48;},_0xec2541[_0x54d941(0xe6)]=_0x54d941(0xb4),_0xec2541[_0x54d941(0x1c0)]=_0x54d941(0x19a);const _0x3d6230=_0xec2541;if(_0x1ff1bc&&_0x1ff1bc['script']&&_0x3d6230[_0x54d941(0xf5)](typeof _0x1ff1bc[_0x54d941(0x10f)],_0x3d6230[_0x54d941(0xe6)]))return _0x1ff1bc[_0x54d941(0x10f)]['includes'](_0x3d6230[_0x54d941(0x1c0)]);return![];},exports[a123_0x5943fb(0x188)]=a123_0x5943fb(0x1ae),exports[a123_0x5943fb(0x172)]=()=>process['env'][a123_0x5943fb(0x19c)]===a123_0x5943fb(0xce),exports['isBrowserSupportedForAccessibility']=_0x4fcd94=>{const _0x9529e4=a123_0x5943fb,_0x5696b7={};_0x5696b7[_0x9529e4(0xb8)]=function(_0x56da97,_0x555599){return _0x56da97 in _0x555599;};const _0x1bc04e=_0x5696b7;if(bsSetupHelper[_0x9529e4(0x116)](_0x4fcd94))return![];const _0x134a9c=_0x4fcd94[_0x9529e4(0xc9)]();return _0x1bc04e[_0x9529e4(0xb8)](_0x134a9c,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a123_0x5943fb(0x199)]=_0x3257cb=>{const _0x33c5e8=a123_0x5943fb;if(bsSetupHelper[_0x33c5e8(0x116)](_0x3257cb))return null;const _0x31bc4c=_0x3257cb[_0x33c5e8(0xc9)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x31bc4c]||null;},exports[a123_0x5943fb(0x1a2)]=(_0x52bd7e,_0x542701)=>{const _0x41ee38=a123_0x5943fb,_0x41c781=this[_0x41ee38(0x199)](_0x52bd7e);if(!_0x41c781)return null;if(_0x542701)return _0x41c781[_0x41ee38(0xc0)];return _0x41c781[_0x41ee38(0x100)];},exports[a123_0x5943fb(0xdc)]=_0xbfc4be=>{const _0x3c78e4=a123_0x5943fb,_0x4eb957=this[_0x3c78e4(0x199)](_0xbfc4be);return _0x4eb957?_0x4eb957[_0x3c78e4(0xb5)]:_0xbfc4be;},exports['requiresChromeOptionsValidation']=_0x195799=>{const _0x52c1e1=a123_0x5943fb,_0x3605f1=this['getBrowserA11yConfig'](_0x195799);return _0x3605f1?_0x3605f1[_0x52c1e1(0xd0)]:![];},exports[a123_0x5943fb(0x104)]=(_0x2fdb71,_0x5189cc)=>{const _0x5d8554=a123_0x5943fb,_0x40a173={'uyOVG':function(_0x4a82d7,_0x1b6abe){return _0x4a82d7(_0x1b6abe);},'xRiSw':function(_0x366d7f,_0xabfccb){return _0x366d7f(_0xabfccb);},'ioxYS':function(_0x7b22e1,_0x501710){return _0x7b22e1>=_0x501710;}};if(bsSetupHelper[_0x5d8554(0x116)](_0x2fdb71)||bsSetupHelper[_0x5d8554(0x116)](_0x5189cc))return![];const _0x3d2559=bsSetupHelper[_0x5d8554(0x115)](_0x40a173[_0x5d8554(0x1b1)](String,_0x2fdb71),_0x40a173['xRiSw'](String,_0x5189cc));return _0x40a173['ioxYS'](_0x3d2559,0x0);},exports[a123_0x5943fb(0xfb)]=_0x348b74=>{const _0x499804=a123_0x5943fb,_0x1d95fb={};_0x1d95fb[_0x499804(0x10e)]=function(_0x35d659,_0x5afcbc){return _0x35d659!==_0x5afcbc;},_0x1d95fb[_0x499804(0x1bc)]=_0x499804(0xb4),_0x1d95fb['VXAKY']=_0x499804(0x1a1);const _0x46f8ee=_0x1d95fb;if(!_0x348b74||_0x46f8ee[_0x499804(0x10e)](typeof _0x348b74,_0x46f8ee[_0x499804(0x1bc)]))return null;try{return JSON[_0x499804(0x181)](Buffer[_0x499804(0x17a)](_0x348b74[_0x499804(0x125)]('.')[0x1],_0x46f8ee[_0x499804(0x1a7)])[_0x499804(0xe0)]());}catch{return null;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a124_0x3af3(){const _0x30de7a=['aSGJO','qlFMK','RpyJO','AEfJw','parseFromProto','nonBStackInfraA11yChromeOptions','fnUcV','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','name','split','getResultsSummary','LTwoL','6HzOBUc','toJson','saveTestResults','performScan','getCommand','48LTEpIF','RnzHq','commands','debug','commandsPath','stringify','KJghc','browserstackFolderPath','existsSync','2743448kdcrHz','path','2|5|1|3|0|6|4','3795291UPsnKP','commandsToWrap','83884dtYknS','parseFromJson','1912704DEeVLv','eKWnV','getName','../helper','shouldWrapCommand','5197401MizKVR','20DTFYOF','join','homedir','206525TTGTkl','IStFE','ChromeExtension','scan','writeFileSync','getModule','getClass','commands.json','.browserstack','fromJson','getResults','165151kGBuGN','saveResults','scripts','AgGIg','8KmGUNS','getMethod','getLibrary','findIndex','TrGOl','../../helpers/logger','length'];a124_0x3af3=function(){return _0x30de7a;};return a124_0x3af3();}const a124_0x13fd66=a124_0x45ff;(function(_0x48ca4e,_0xfc95a4){const _0x33fb7c=a124_0x45ff,_0x4f6cb3=_0x48ca4e();while(!![]){try{const _0x230729=-parseInt(_0x33fb7c(0x144))/0x1*(parseInt(_0x33fb7c(0x131))/0x2)+parseInt(_0x33fb7c(0x146))/0x3+-parseInt(_0x33fb7c(0x13f))/0x4+-parseInt(_0x33fb7c(0x10f))/0x5+parseInt(_0x33fb7c(0x136))/0x6*(parseInt(_0x33fb7c(0x11a))/0x7)+parseInt(_0x33fb7c(0x11e))/0x8*(-parseInt(_0x33fb7c(0x142))/0x9)+parseInt(_0x33fb7c(0x10c))/0xa*(parseInt(_0x33fb7c(0x10b))/0xb);if(_0x230729===_0xfc95a4)break;else _0x4f6cb3['push'](_0x4f6cb3['shift']());}catch(_0x984047){_0x4f6cb3['push'](_0x4f6cb3['shift']());}}}(a124_0x3af3,0x5a858));const path=require(a124_0x13fd66(0x140)),fs=require('fs'),logger=require(a124_0x13fd66(0x123))['winstonLogger'],helper=require(a124_0x13fd66(0x109));class Scripts{constructor(){const _0x295f16=a124_0x13fd66,_0x130520={};_0x130520[_0x295f16(0x13c)]=_0x295f16(0x141),_0x130520['LTwoL']=_0x295f16(0x117),_0x130520[_0x295f16(0x12b)]=_0x295f16(0x116);const _0x527d3b=_0x130520,_0x3ae8ec=_0x527d3b['KJghc'][_0x295f16(0x12e)]('|');let _0x1d6a2f=0x0;while(!![]){switch(_0x3ae8ec[_0x1d6a2f++]){case'0':this[_0x295f16(0x13d)]=path[_0x295f16(0x10d)](helper[_0x295f16(0x10e)](),_0x527d3b[_0x295f16(0x130)]);continue;case'1':this[_0x295f16(0x12f)]=null;continue;case'2':this['performScan']=null;continue;case'3':this['saveTestResults']=null;continue;case'4':this['fromJson']();continue;case'5':this[_0x295f16(0x119)]=null;continue;case'6':this[_0x295f16(0x13a)]=path['join'](this[_0x295f16(0x13d)],_0x527d3b[_0x295f16(0x12b)]);continue;}break;}}[a124_0x13fd66(0x145)](_0x4491a8){const _0x1de7fe=a124_0x13fd66;_0x4491a8[_0x1de7fe(0x11c)]&&(this[_0x1de7fe(0x134)]=_0x4491a8[_0x1de7fe(0x11c)]['scan'],this['getResults']=_0x4491a8[_0x1de7fe(0x11c)][_0x1de7fe(0x119)],this['getResultsSummary']=_0x4491a8[_0x1de7fe(0x11c)][_0x1de7fe(0x12f)],this[_0x1de7fe(0x133)]=_0x4491a8[_0x1de7fe(0x11c)]['saveResults']),this['commandsToWrap']=_0x4491a8[_0x1de7fe(0x138)],this[_0x1de7fe(0x111)]=_0x4491a8[_0x1de7fe(0x12a)];}[a124_0x13fd66(0x129)](_0x474071,_0x5b2c1d){const _0x4555cd=a124_0x13fd66,_0x1b6c33={};_0x1b6c33['SXeZm']=function(_0x223421,_0x1051e9){return _0x223421>_0x1051e9;},_0x1b6c33['TrGOl']=function(_0x3ad4a5,_0x31a8aa){return _0x3ad4a5===_0x31a8aa;},_0x1b6c33[_0x4555cd(0x137)]=_0x4555cd(0x112),_0x1b6c33[_0x4555cd(0x110)]=function(_0x199304,_0xfee238){return _0x199304===_0xfee238;},_0x1b6c33[_0x4555cd(0x147)]=_0x4555cd(0x119),_0x1b6c33[_0x4555cd(0x126)]=function(_0x2ac9d0,_0x16b008){return _0x2ac9d0===_0x16b008;},_0x1b6c33['Dblzk']=_0x4555cd(0x12f),_0x1b6c33['AgGIg']=_0x4555cd(0x11b),_0x1b6c33[_0x4555cd(0x125)]=function(_0x5b8e5e,_0x2c2cf8){return _0x5b8e5e>_0x2c2cf8;};const _0xb8e0fe=_0x1b6c33;if(_0x474071&&_0xb8e0fe['SXeZm'](_0x474071[_0x4555cd(0x124)],0x0))for(const _0x17933f of _0x474071){if(_0xb8e0fe[_0x4555cd(0x122)](_0x17933f[_0x4555cd(0x108)](),_0xb8e0fe[_0x4555cd(0x137)]))this['performScan']=_0x17933f['getCommand']();else{if(_0xb8e0fe[_0x4555cd(0x110)](_0x17933f['getName'](),_0xb8e0fe[_0x4555cd(0x147)]))this[_0x4555cd(0x119)]=_0x17933f[_0x4555cd(0x135)]();else{if(_0xb8e0fe[_0x4555cd(0x126)](_0x17933f[_0x4555cd(0x108)](),_0xb8e0fe['Dblzk']))this[_0x4555cd(0x12f)]=_0x17933f[_0x4555cd(0x135)]();else _0xb8e0fe[_0x4555cd(0x110)](_0x17933f[_0x4555cd(0x108)](),_0xb8e0fe[_0x4555cd(0x11d)])&&(this[_0x4555cd(0x133)]=_0x17933f['getCommand']());}}}_0x5b2c1d&&_0xb8e0fe[_0x4555cd(0x125)](_0x5b2c1d[_0x4555cd(0x124)],0x0)&&(this['commandsToWrap']=_0x5b2c1d['map'](_0x4a6ed0=>{const _0x576221=_0x4555cd;return{'name':_0x4a6ed0[_0x576221(0x108)](),'method':_0x4a6ed0[_0x576221(0x11f)](),'library':_0x4a6ed0[_0x576221(0x120)](),'module':_0x4a6ed0[_0x576221(0x114)](),'class':_0x4a6ed0[_0x576221(0x115)]()};}));}[a124_0x13fd66(0x10a)](_0x54dfd8){const _0x24b190=a124_0x13fd66,_0x4f0e3c={};_0x4f0e3c[_0x24b190(0x128)]=function(_0x569a95,_0x62637e){return _0x569a95!==_0x62637e;};const _0x76a730=_0x4f0e3c;try{return _0x76a730[_0x24b190(0x128)](this['commandsToWrap'][_0x24b190(0x121)](_0x58491a=>_0x58491a[_0x24b190(0x12d)]['toLowerCase']()===_0x54dfd8['toLowerCase']()),-0x1);}catch(_0x4d86be){logger[_0x24b190(0x139)](_0x24b190(0x12c)+_0x4d86be);}return![];}[a124_0x13fd66(0x132)](){const _0x4c1a27=a124_0x13fd66;!fs['existsSync'](this['browserstackFolderPath'])&&fs['mkdirSync'](this[_0x4c1a27(0x13d)]),fs[_0x4c1a27(0x113)](this['commandsPath'],JSON[_0x4c1a27(0x13b)]({'scripts':{'scan':this['performScan'],'getResults':this['getResults'],'getResultsSummary':this[_0x4c1a27(0x12f)],'saveResults':this['saveTestResults']},'commands':this[_0x4c1a27(0x143)],'nonBStackInfraA11yChromeOptions':this['ChromeExtension']}));}[a124_0x13fd66(0x118)](){const _0x26dbb9=a124_0x13fd66,_0x1865ed={'RpyJO':function(_0x3163eb,_0x26d767){return _0x3163eb(_0x26d767);}};fs[_0x26dbb9(0x13e)](this[_0x26dbb9(0x13a)])&&this[_0x26dbb9(0x145)](_0x1865ed[_0x26dbb9(0x127)](require,this[_0x26dbb9(0x13a)]));}}function a124_0x45ff(_0x4e0ebe,_0x24a221){const _0x3af317=a124_0x3af3();return a124_0x45ff=function(_0x45ff78,_0x88a538){_0x45ff78=_0x45ff78-0x108;let _0x3b306b=_0x3af317[_0x45ff78];return _0x3b306b;},a124_0x45ff(_0x4e0ebe,_0x24a221);}module['exports']=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125_0x588d33=a125_0x559d;(function(_0x4bcd76,_0x505d27){const _0x4d28b5=a125_0x559d,_0x58d9e5=_0x4bcd76();while(!![]){try{const _0x39b882=-parseInt(_0x4d28b5(0xc6))/0x1+-parseInt(_0x4d28b5(0xf8))/0x2+-parseInt(_0x4d28b5(0x12a))/0x3*(parseInt(_0x4d28b5(0x106))/0x4)+-parseInt(_0x4d28b5(0xfe))/0x5*(parseInt(_0x4d28b5(0x101))/0x6)+parseInt(_0x4d28b5(0xeb))/0x7+-parseInt(_0x4d28b5(0xdb))/0x8*(parseInt(_0x4d28b5(0xf3))/0x9)+parseInt(_0x4d28b5(0xca))/0xa*(parseInt(_0x4d28b5(0x103))/0xb);if(_0x39b882===_0x505d27)break;else _0x58d9e5['push'](_0x58d9e5['shift']());}catch(_0xfc7ab2){_0x58d9e5['push'](_0x58d9e5['shift']());}}}(a125_0x152d,0x6ecf3));const path=require(a125_0x588d33(0xbd)),{commandRepository}=require(a125_0x588d33(0x11f)),constants=require(a125_0x588d33(0xd7)),logger=require(a125_0x588d33(0x104))[a125_0x588d33(0xe7)],globals=require(a125_0x588d33(0x119)),timeoutPromise=require(a125_0x588d33(0xe2)),isUndefinedOrNull=_0x461047=>_0x461047===undefined||_0x461047===null||_0x461047==='',isNotUndefinedOrNull=_0x2f0280=>!isUndefinedOrNull(_0x2f0280),isString=_0x584a5e=>isNotUndefinedOrNull(_0x584a5e)&&typeof _0x584a5e===a125_0x588d33(0x10b);function a125_0x559d(_0x8a4ab8,_0x1d41a0){const _0x152d55=a125_0x152d();return a125_0x559d=function(_0x559d18,_0x4ad3a9){_0x559d18=_0x559d18-0xb8;let _0x495f77=_0x152d55[_0x559d18];return _0x495f77;},a125_0x559d(_0x8a4ab8,_0x1d41a0);}class AiSdkWrapper{constructor(){const _0x482037=a125_0x588d33,_0xf5cf94={'tGmmX':function(_0xb10764,_0xb8492e){return _0xb10764(_0xb8492e);},'dSbej':_0x482037(0xf1)};this[_0x482037(0xe9)]=undefined;try{this[_0x482037(0xe9)]=_0xf5cf94[_0x482037(0xcb)](require,path[_0x482037(0x12b)](__dirname,_0xf5cf94[_0x482037(0xe8)]));}catch(_0x557478){logger[_0x482037(0xf4)](_0x482037(0xfb)+(_0x557478&&_0x557478[_0x482037(0xed)]?_0x557478[_0x482037(0xed)]:''));}}[a125_0x588d33(0xec)](_0x3fb1c6){const _0x3dd1db=a125_0x588d33,_0xb3f3dd={};_0xb3f3dd['pImdG']=_0x3dd1db(0xd4),_0xb3f3dd[_0x3dd1db(0x10f)]=function(_0xa45b1b,_0x3701ca){return _0xa45b1b===_0x3701ca;},_0xb3f3dd[_0x3dd1db(0x102)]=_0x3dd1db(0xc2),_0xb3f3dd[_0x3dd1db(0x118)]=function(_0x188271,_0x35ffcb){return _0x188271===_0x35ffcb;},_0xb3f3dd[_0x3dd1db(0x110)]=_0x3dd1db(0x11c),_0xb3f3dd[_0x3dd1db(0xfd)]=_0x3dd1db(0x109),_0xb3f3dd[_0x3dd1db(0xbc)]=function(_0x35ffc6,_0x59bc49){return _0x35ffc6===_0x59bc49;},_0xb3f3dd[_0x3dd1db(0x112)]=_0x3dd1db(0xe6),_0xb3f3dd['PfQcB']=_0x3dd1db(0xc7),_0xb3f3dd['KpDJO']=function(_0x275e5f,_0x3a771f){return _0x275e5f===_0x3a771f;};const _0x1ab9e9=_0xb3f3dd;try{const _0x2af45e=this[_0x3dd1db(0xe9)][_0x3dd1db(0x12e)](Object[_0x3dd1db(0x107)](_0x3fb1c6[_0x3dd1db(0x120)]()[_0x3dd1db(0x11a)]));console[_0x3dd1db(0x105)](_0x1ab9e9['pImdG'],_0x2af45e);if(_0x1ab9e9['aXWdq'](_0x2af45e?.[_0x3dd1db(0xba)]?.[_0x3dd1db(0x10a)](),_0x1ab9e9[_0x3dd1db(0x102)]))_0x3fb1c6[_0x3dd1db(0xd1)]=_0x2af45e;else{if(_0x1ab9e9['wKFWr'](_0x2af45e?.[_0x3dd1db(0xba)]?.['toLowerCase'](),_0x1ab9e9[_0x3dd1db(0x110)]))_0x3fb1c6[_0x3dd1db(0xbe)]=_0x2af45e;else{if(_0x1ab9e9[_0x3dd1db(0x118)](_0x2af45e?.[_0x3dd1db(0xba)]?.[_0x3dd1db(0x10a)](),_0x1ab9e9[_0x3dd1db(0xfd)]))_0x3fb1c6[_0x3dd1db(0xf5)]=_0x2af45e;else{if(_0x1ab9e9['eBwWR'](_0x2af45e?.['browserName']?.[_0x3dd1db(0x10a)](),_0x1ab9e9[_0x3dd1db(0x112)])||_0x1ab9e9[_0x3dd1db(0xbc)](_0x2af45e?.[_0x3dd1db(0xba)]?.[_0x3dd1db(0x10a)](),_0x1ab9e9['PfQcB']))_0x3fb1c6['edgeOptions_']=_0x2af45e;else _0x1ab9e9['KpDJO'](_0x2af45e?.[_0x3dd1db(0xba)]?.['toLowerCase'](),'ie')&&(_0x3fb1c6[_0x3dd1db(0xff)]=_0x2af45e);}}}Object[_0x3dd1db(0x132)](_0x2af45e)[_0x3dd1db(0xea)](_0x29283a=>{const _0x31a93d=_0x3dd1db,_0x33b694=_0x3fb1c6[_0x31a93d(0x12c)][_0x31a93d(0x111)](_0x29283a);_0x3fb1c6[_0x31a93d(0x12c)][_0x31a93d(0xf6)](_0x29283a,_0x2af45e[_0x29283a]);});}catch(_0x59b6c3){logger['error'](_0x3dd1db(0x100)+(_0x59b6c3&&_0x59b6c3[_0x3dd1db(0xed)]?_0x59b6c3['message']:''));}}async[a125_0x588d33(0x115)](_0x511d52){const _0x471515=a125_0x588d33,_0x43fd97={'Vjziw':function(_0xed24bb,_0x4c9cb0,_0x4c5e89,_0x416928,_0xc130ba,_0x5c28ac,_0xb15d47){return _0xed24bb(_0x4c9cb0,_0x4c5e89,_0x416928,_0xc130ba,_0x5c28ac,_0xb15d47);},'iqnbV':_0x471515(0x123),'hTUGU':'BrowserstackHealingSetTcgTokenFailed','XvThX':_0x471515(0x114)},_0x54ab59=new Date(),_0x5cf6c3=_0x43fd97[_0x471515(0xdd)](timeoutPromise,constants[_0x471515(0xef)],_0x43fd97['iqnbV'],_0x43fd97['hTUGU'],_0x54ab59,this[_0x471515(0xe0)],this['framework']);await Promise[_0x471515(0x117)]([this['BrowserstackHealing'][_0x471515(0x128)](_0x511d52,globals[_0x471515(0xc9)](_0x43fd97['XvThX']),constants['TCG_URL'])[_0x471515(0xee)](()=>{const _0x4f1654=_0x471515;_0x5cf6c3[_0x4f1654(0x12f)]();}),_0x5cf6c3]);}async[a125_0x588d33(0xc4)](_0x4edc75,_0x30f4d4,_0x183cfa,_0x36da6a){const _0x2ce2f2=a125_0x588d33,_0x238dbe={'aHXpA':function(_0x5549e4,_0x32f20d){return _0x5549e4===_0x32f20d;},'ReKpl':function(_0x3581b8,_0x2c26b5){return _0x3581b8(_0x2c26b5);},'XOKSd':function(_0x4a381a,_0x1ddb6e){return _0x4a381a(_0x1ddb6e);},'sQTJZ':function(_0x5f2ee2,_0x5de16b){return _0x5f2ee2(_0x5de16b);},'bWxaN':'s://','qrmRz':function(_0x55a08f,_0x2d72bd){return _0x55a08f(_0x2d72bd);},'tSEit':function(_0x2c03d3,_0x514f1f){return _0x2c03d3(_0x514f1f);},'rnanI':_0x2ce2f2(0x131),'LBIGX':_0x2ce2f2(0xd5),'DeUOS':_0x2ce2f2(0xd0),'mXZiD':function(_0x3d8077,_0x1619b6,_0x3e5124,_0x4aa3a4,_0x2595f2,_0x4fd93b,_0x30a23){return _0x3d8077(_0x1619b6,_0x3e5124,_0x4aa3a4,_0x2595f2,_0x4fd93b,_0x30a23);},'YbRFh':_0x2ce2f2(0x122),'MrjBi':'BrowserstackHealingLogDataFailed','imlUd':_0x2ce2f2(0x11d),'joatC':_0x2ce2f2(0xd3)},_0x5125d2=(await _0x30f4d4[_0x2ce2f2(0xcc)]())[_0x2ce2f2(0xb9)]();let _0x199290='';if(commandRepository['isSelfHealEnabled']()&&_0x238dbe[_0x2ce2f2(0x126)](_0x36da6a,![])||_0x238dbe[_0x2ce2f2(0x126)](_0x36da6a,!![])){const _0x48c8a5=_0x238dbe['ReKpl'](isNotUndefinedOrNull,_0x183cfa[_0x2ce2f2(0xf0)][_0x2ce2f2(0xe4)])&&_0x238dbe[_0x2ce2f2(0x10e)](isString,_0x183cfa[_0x2ce2f2(0xf0)][_0x2ce2f2(0xe4)])?_0x183cfa[_0x2ce2f2(0xf0)][_0x2ce2f2(0xe4)][_0x2ce2f2(0x134)](/'/g,'\x5c\x27')[_0x2ce2f2(0x134)](/"/g,'\x5c\x22'):'',_0x3941c3=_0x238dbe[_0x2ce2f2(0x10e)](isNotUndefinedOrNull,_0x183cfa['parameters_']['using'])&&_0x238dbe['ReKpl'](isString,_0x183cfa[_0x2ce2f2(0xf0)][_0x2ce2f2(0x121)])?_0x183cfa[_0x2ce2f2(0xf0)][_0x2ce2f2(0x121)]['replace'](/'/g,'\x5c\x27')[_0x2ce2f2(0x134)](/"/g,'\x5c\x22'):'',_0x11211c=_0x238dbe[_0x2ce2f2(0x10e)](isNotUndefinedOrNull,commandRepository[_0x2ce2f2(0xe5)]())&&_0x238dbe[_0x2ce2f2(0x10e)](isString,commandRepository['getProjectName']())?commandRepository['getProjectName']()[_0x2ce2f2(0x134)](/'/g,'\x5c\x27')[_0x2ce2f2(0x134)](/"/g,'\x5c\x22'):'';let _0x27afc1=_0x238dbe[_0x2ce2f2(0x10e)](isNotUndefinedOrNull,global[_0x2ce2f2(0x11b)])&&_0x238dbe[_0x2ce2f2(0x127)](isString,global[_0x2ce2f2(0x11b)])?global[_0x2ce2f2(0x11b)][_0x2ce2f2(0x134)](/'/g,'\x5c\x27')[_0x2ce2f2(0x134)](/"/g,'\x5c\x22'):'';!_0x27afc1&&(_0x27afc1=_0x238dbe['sQTJZ'](isNotUndefinedOrNull,commandRepository[_0x2ce2f2(0xc1)]())&&_0x238dbe['sQTJZ'](isString,commandRepository[_0x2ce2f2(0xc1)]())?commandRepository['getTestName']()[_0x2ce2f2(0x134)](/'/g,'\x5c\x27')[_0x2ce2f2(0x134)](/"/g,'\x5c\x22'):'');let _0x98790a=_0x2ce2f2(0xf7)+constants['TCG_REGION']+_0x2ce2f2(0xb8)+constants['TCG_REGION']+_0x2ce2f2(0x11e)+constants['TCG_URL'][_0x2ce2f2(0xce)](_0x238dbe[_0x2ce2f2(0x125)])[0x1]+'\x22}}}';_0x98790a=_0x238dbe[_0x2ce2f2(0xc0)](isNotUndefinedOrNull,_0x98790a)&&_0x238dbe['tSEit'](isString,_0x98790a)?_0x98790a[_0x2ce2f2(0x134)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';const _0x2f167f=commandRepository[_0x2ce2f2(0x130)](_0x5125d2),_0x26116b=globals[_0x2ce2f2(0xc9)](_0x238dbe[_0x2ce2f2(0xf9)]),_0x5414f4=globals[_0x2ce2f2(0xc9)](_0x238dbe[_0x2ce2f2(0xd6)]),_0x52b32e=globals[_0x2ce2f2(0xc9)](_0x238dbe['DeUOS']),_0xe6e23=![],_0x42de69=new Date();if(_0x36da6a){const _0x5f3b32=_0x238dbe[_0x2ce2f2(0xd8)](timeoutPromise,constants['HEALING_LOG_DATA_TIMEOUT'],_0x238dbe[_0x2ce2f2(0xd2)],_0x238dbe[_0x2ce2f2(0xcd)],_0x42de69,this[_0x2ce2f2(0xe0)],this[_0x2ce2f2(0xfa)]);_0x199290=await Promise[_0x2ce2f2(0x117)]([this['BrowserstackHealing'][_0x2ce2f2(0xe3)](_0x48c8a5,_0x3941c3,_0x11211c,_0x27afc1,_0x5414f4,_0x5125d2,_0x2f167f,_0x98790a)[_0x2ce2f2(0xee)](_0x25a5fb=>{const _0x422abf=_0x2ce2f2;return _0x5f3b32[_0x422abf(0x12f)](),_0x25a5fb;}),_0x5f3b32]);}else{if(commandRepository[_0x2ce2f2(0x10c)]()){const _0x5451f9=_0x238dbe[_0x2ce2f2(0xd8)](timeoutPromise,constants[_0x2ce2f2(0x116)],_0x238dbe['imlUd'],_0x238dbe[_0x2ce2f2(0xc8)],_0x42de69,this[_0x2ce2f2(0xe0)],this[_0x2ce2f2(0xfa)]);_0x199290=await Promise[_0x2ce2f2(0x117)]([this[_0x2ce2f2(0xe9)][_0x2ce2f2(0xd9)](_0x48c8a5,_0x3941c3,_0x11211c,_0x27afc1,_0x26116b,_0x5414f4,_0x5125d2,_0x2f167f,_0xe6e23,_0x52b32e,_0x98790a)['then'](_0x32b548=>{return _0x5451f9['cancel'](),_0x32b548;}),_0x5451f9]);}}_0x199290&&await _0x30f4d4[_0x2ce2f2(0xcf)](_0x199290);}}async['handleSuccess'](_0x2c09b4,_0x5bd76c,_0x8cc682){const _0x296e75=a125_0x588d33;try{await this[_0x296e75(0xc4)](_0x2c09b4,_0x5bd76c,_0x8cc682,!![]);}catch(_0x197aab){return logger[_0x296e75(0xf4)](_0x296e75(0x129)+(_0x197aab&&_0x197aab[_0x296e75(0xed)]?_0x197aab[_0x296e75(0xed)]:'')),![];}return!![];}async['handleFailure'](_0x133f2d,_0x2e6bfd,_0x4ffe34){const _0x22c2fb=a125_0x588d33,_0x38d509={'BIOOi':function(_0x44f71b,_0x7e36da,_0x4a55ae,_0x3a5290,_0xa839f6,_0x28eb99,_0x3334a0){return _0x44f71b(_0x7e36da,_0x4a55ae,_0x3a5290,_0xa839f6,_0x28eb99,_0x3334a0);},'XDyBn':_0x22c2fb(0x113),'qovQY':_0x22c2fb(0xbb),'jMoVa':_0x22c2fb(0x114)};try{await this[_0x22c2fb(0xc4)](_0x133f2d,_0x2e6bfd,_0x4ffe34,![]);const _0x3db01d=(await _0x2e6bfd[_0x22c2fb(0xcc)]())[_0x22c2fb(0xb9)](),_0x1f0b3b=new Date(),_0x167658=_0x38d509[_0x22c2fb(0x12d)](timeoutPromise,constants[_0x22c2fb(0xbf)],_0x38d509[_0x22c2fb(0xc5)],_0x38d509[_0x22c2fb(0xfc)],_0x1f0b3b,this['config'],this['framework']),_0x8032d2=await Promise['race']([this[_0x22c2fb(0xe9)][_0x22c2fb(0xda)](constants[_0x22c2fb(0xde)],_0x3db01d,globals[_0x22c2fb(0xc9)](_0x38d509[_0x22c2fb(0xf2)]))[_0x22c2fb(0xee)](_0xc203cd=>{const _0x50190e=_0x22c2fb;return _0x167658[_0x50190e(0x12f)](),_0xc203cd;}),_0x167658]);if(_0x8032d2&&_0x8032d2['selector']&&_0x8032d2[_0x22c2fb(0x121)]){const _0x21e34c={};return _0x21e34c[_0x22c2fb(0xc3)]=_0x8032d2[_0x22c2fb(0x124)],_0x21e34c[_0x22c2fb(0xdc)]=_0x8032d2[_0x22c2fb(0x121)],_0x21e34c[_0x22c2fb(0xe1)]=!![],_0x21e34c;}const _0x9369={};return _0x9369[_0x22c2fb(0xc3)]=_0x4ffe34['parameters_'][_0x22c2fb(0xe4)],_0x9369[_0x22c2fb(0xdc)]=_0x8032d2['value'],_0x9369[_0x22c2fb(0xe1)]=!![],_0x9369;}catch(_0x4e0547){return logger[_0x22c2fb(0x133)](_0x22c2fb(0xdf)+(_0x4e0547&&_0x4e0547['message']?_0x4e0547[_0x22c2fb(0xed)]:'')),logger['info']('Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20'+_0x4ffe34[_0x22c2fb(0x10d)]+_0x22c2fb(0x108)),_0x4ffe34;}}}function a125_0x152d(){const _0x2a6a1c=['joatC','getGlobal','20iJDpjL','tGmmX','getSession','MrjBi','split','executeScript','aiHeal_isGroupAIEnabled','chromeOptions_','YbRFh','BrowserstackHealingHealFailureFailed','newCapabilities','aiHeal_groupId','LBIGX','../../bin/utils/constants','mXZiD','healFailure','pollResult','383512QCnplh','locatorValue','Vjziw','TCG_URL','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','config','aiHealing','../../helpers/timeoutPromise','logData','using','getProjectName','edge','winstonLogger','dSbej','BrowserstackHealing','forEach','4028234uSaiBD','initializeHealingCapabilities','message','then','SET_TCG_TOKEN_TIMEOUT','parameters_','../../ai-sdk-node/bundle','jMoVa','108CdIXNv','error','safariOptions_','set','{\x22region\x22:\x20\x22','416036RjhUiy','rnanI','framework','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','qovQY','ehxcw','2727125yYFWFK','ieOptions_','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','6wjfMoV','fNreY','11254463XbtaVf','../logger','log','329884UIlluP','fromEntries','\x20command','safari','toLowerCase','string','isSelfHealEnabled','name_','ReKpl','aXWdq','XsIcY','get','ydzmw','BrowserstackHealing.pollResult\x20method\x20timed\x20out','aiHeal_sessionToken','setTcgToken','HEALING_FAILURE_TIMEOUT','race','wKFWr','../globals','map_','browserstackSessionName','firefox','BrowserstackHealing.healFailure\x20method\x20timed\x20out','\x22:\x20{\x22endpoint\x22:\x20\x22','./autoHealHelper','getCapabilities','value','BrowserstackHealing.logData\x20method\x20timed\x20out','BrowserstackHealing.setToken\x20method\x20timed\x20out','selector','bWxaN','aHXpA','XOKSd','setToken','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','6EnVQDh','join','capabilities_','BIOOi','initializeCapabilities','cancel','getCommands','aiHeal_userId','keys','debug','replace','\x22,\x20\x22tcgUrls\x22:\x20{\x22','getId','browserName','BrowserstackHealingPollResultFailed','eBwWR','path','firefoxOptions_','POLL_HEALING_RESULT_TIMEOUT','qrmRz','getTestName','chrome','locatorType','_handleEvent','XDyBn','674200KlLfSh','microsoftedge'];a125_0x152d=function(){return _0x2a6a1c;};return a125_0x152d();}exports['aiSdkWrapper']=Object['freeze'](new AiSdkWrapper());
|
|
1
|
+
function a125_0x2496(_0x42364f,_0x318e82){const _0x3c6ce0=a125_0x3c6c();return a125_0x2496=function(_0x249641,_0x2a92ec){_0x249641=_0x249641-0x1e8;let _0x12ccf8=_0x3c6ce0[_0x249641];return _0x12ccf8;},a125_0x2496(_0x42364f,_0x318e82);}function a125_0x3c6c(){const _0x59c3bc=['microsoftedge','voxSY','getSession','6459800XFmwKt','OFhyO','keys','logData','getProjectName','bpTGA','s://','value','{\x22region\x22:\x20\x22','locatorType','name_','AsKRl','nJDoQ','Uqkmh','SET_TCG_TOKEN_TIMEOUT','browserName','iruMc','locatorValue','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','chromeOptions_','newCapabilities','iaWQl','freeze','BrowserstackHealingHealFailureFailed','jVlRA','YeIcq','\x22:\x20{\x22endpoint\x22:\x20\x22','capabilities_','safari','40RlPqjz','join','WrJgb','then','BrowserstackHealing.healFailure\x20method\x20timed\x20out','aiSdkWrapper','pCcrJ','10438494KRZATG','../../helpers/timeoutPromise','map_','message','WWZtS','TCG_REGION','replace','BrowserstackHealing','28gvhiTf','mzvYG','VuMha','QXzmp','initializeHealingCapabilities','BrowserstackHealingLogDataFailed','210537ZCdfvL','../../bin/utils/constants','nwNjj','10ldbPuH','jcwKt','driWZ','using','_handleEvent','1MzXMHU','framework','fromEntries','DlpmR','getTestName','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','toLowerCase','getCommands','../../ai-sdk-node/bundle','ScmiM','split','AGJZt','string','config','TCG_URL','race','dxIcG','../logger','healFailure','forEach','LIijn','parameters_','idmDQ','BrowserstackHealingSetTcgTokenFailed','upJPW','browserstackSessionName','log','handleFailure','ncsIl','7527375BIRmTo','aiHeal_userId','HBlOB','path','BrowserstackHealing.pollResult\x20method\x20timed\x20out','firefoxOptions_','cancel','HYjnh','\x22}}}','aiHeal_sessionToken','BrowserstackHealing.setToken\x20method\x20timed\x20out','../globals','\x22,\x20\x22tcgUrls\x22:\x20{\x22','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','LgGdt','initializeCapabilities','bjCGH','HEALING_LOG_DATA_TIMEOUT','getGlobal','aiHealing','1819804fPigdg','16289559dGPaED','error','isSelfHealEnabled','get','./autoHealHelper','bQoxh','\x20command','BrowserstackHealingPollResultFailed','1631632ivHgWG','HEALING_FAILURE_TIMEOUT','info','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','getId','pollResult','selector','debug','winstonLogger'];a125_0x3c6c=function(){return _0x59c3bc;};return a125_0x3c6c();}const a125_0x1d9012=a125_0x2496;(function(_0x73cc6d,_0xdc7073){const _0x54bc52=a125_0x2496,_0x19feef=_0x73cc6d();while(!![]){try{const _0x9ed955=parseInt(_0x54bc52(0x1f4))/0x1*(parseInt(_0x54bc52(0x22e))/0x2)+parseInt(_0x54bc52(0x1ec))/0x3*(-parseInt(_0x54bc52(0x266))/0x4)+-parseInt(_0x54bc52(0x23a))/0x5+-parseInt(_0x54bc52(0x25e))/0x6+-parseInt(_0x54bc52(0x225))/0x7*(-parseInt(_0x54bc52(0x257))/0x8)+-parseInt(_0x54bc52(0x211))/0x9*(-parseInt(_0x54bc52(0x1ef))/0xa)+parseInt(_0x54bc52(0x226))/0xb;if(_0x9ed955===_0xdc7073)break;else _0x19feef['push'](_0x19feef['shift']());}catch(_0x2ef2ae){_0x19feef['push'](_0x19feef['shift']());}}}(a125_0x3c6c,0xde286));const path=require(a125_0x1d9012(0x214)),{commandRepository}=require(a125_0x1d9012(0x22a)),constants=require(a125_0x1d9012(0x1ed)),logger=require(a125_0x1d9012(0x205))[a125_0x1d9012(0x236)],globals=require(a125_0x1d9012(0x21c)),timeoutPromise=require(a125_0x1d9012(0x25f)),isUndefinedOrNull=_0x487137=>_0x487137===undefined||_0x487137===null||_0x487137==='',isNotUndefinedOrNull=_0x3bfb78=>!isUndefinedOrNull(_0x3bfb78),isString=_0x5c2ace=>isNotUndefinedOrNull(_0x5c2ace)&&typeof _0x5c2ace===a125_0x1d9012(0x200);class AiSdkWrapper{constructor(){const _0x182a95=a125_0x1d9012,_0x3d7ef8={'HBlOB':function(_0x1c1e18,_0x4f29f5){return _0x1c1e18(_0x4f29f5);},'ciMMw':_0x182a95(0x1fc)};this[_0x182a95(0x265)]=undefined;try{this['BrowserstackHealing']=_0x3d7ef8[_0x182a95(0x213)](require,path[_0x182a95(0x258)](__dirname,_0x3d7ef8['ciMMw']));}catch(_0x19ddd1){logger[_0x182a95(0x227)]('Unable\x20to\x20load\x20healing\x20module,\x20error:\x20'+(_0x19ddd1&&_0x19ddd1[_0x182a95(0x261)]?_0x19ddd1[_0x182a95(0x261)]:''));}}[a125_0x1d9012(0x1ea)](_0x41bc88){const _0x2136ef=a125_0x1d9012,_0x5901df={};_0x5901df[_0x2136ef(0x1e9)]=_0x2136ef(0x24e),_0x5901df[_0x2136ef(0x267)]=function(_0x46a099,_0x3bb8f9){return _0x46a099===_0x3bb8f9;},_0x5901df[_0x2136ef(0x238)]='chrome',_0x5901df[_0x2136ef(0x262)]='firefox',_0x5901df[_0x2136ef(0x24f)]=function(_0xfa91cd,_0x5e0123){return _0xfa91cd===_0x5e0123;},_0x5901df['ncsIl']=_0x2136ef(0x256),_0x5901df[_0x2136ef(0x208)]=function(_0x3d9748,_0x2da1f8){return _0x3d9748===_0x2da1f8;},_0x5901df[_0x2136ef(0x1f7)]='edge',_0x5901df[_0x2136ef(0x1f0)]=_0x2136ef(0x237);const _0x5784ba=_0x5901df;try{const _0x215c5a=this[_0x2136ef(0x265)][_0x2136ef(0x220)](Object[_0x2136ef(0x1f6)](_0x41bc88['getCapabilities']()[_0x2136ef(0x260)]));console[_0x2136ef(0x20e)](_0x5784ba[_0x2136ef(0x1e9)],_0x215c5a);if(_0x5784ba[_0x2136ef(0x267)](_0x215c5a?.['browserName']?.[_0x2136ef(0x1fa)](),_0x5784ba[_0x2136ef(0x238)]))_0x41bc88[_0x2136ef(0x24d)]=_0x215c5a;else{if(_0x5784ba[_0x2136ef(0x267)](_0x215c5a?.[_0x2136ef(0x249)]?.[_0x2136ef(0x1fa)](),_0x5784ba[_0x2136ef(0x262)]))_0x41bc88[_0x2136ef(0x216)]=_0x215c5a;else{if(_0x5784ba['iaWQl'](_0x215c5a?.['browserName']?.[_0x2136ef(0x1fa)](),_0x5784ba[_0x2136ef(0x210)]))_0x41bc88['safariOptions_']=_0x215c5a;else{if(_0x5784ba[_0x2136ef(0x208)](_0x215c5a?.[_0x2136ef(0x249)]?.[_0x2136ef(0x1fa)](),_0x5784ba[_0x2136ef(0x1f7)])||_0x5784ba[_0x2136ef(0x208)](_0x215c5a?.[_0x2136ef(0x249)]?.[_0x2136ef(0x1fa)](),_0x5784ba['jcwKt']))_0x41bc88['edgeOptions_']=_0x215c5a;else _0x5784ba['mzvYG'](_0x215c5a?.[_0x2136ef(0x249)]?.[_0x2136ef(0x1fa)](),'ie')&&(_0x41bc88['ieOptions_']=_0x215c5a);}}}Object[_0x2136ef(0x23c)](_0x215c5a)[_0x2136ef(0x207)](_0x3484f2=>{const _0x55bc77=_0x2136ef,_0x468216=_0x41bc88[_0x55bc77(0x255)][_0x55bc77(0x229)](_0x3484f2);_0x41bc88['capabilities_']['set'](_0x3484f2,_0x215c5a[_0x3484f2]);});}catch(_0x591e96){logger[_0x2136ef(0x227)](_0x2136ef(0x24c)+(_0x591e96&&_0x591e96[_0x2136ef(0x261)]?_0x591e96[_0x2136ef(0x261)]:''));}}async['setTcgToken'](_0x46bf80){const _0x20397d=a125_0x1d9012,_0x5687f6={'nJDoQ':function(_0x38a014,_0x314f02,_0x3a8943,_0x3ba821,_0x13fbc4,_0x58f2c8,_0x2d11b7){return _0x38a014(_0x314f02,_0x3a8943,_0x3ba821,_0x13fbc4,_0x58f2c8,_0x2d11b7);},'HYjnh':_0x20397d(0x21b),'YeIcq':_0x20397d(0x20b),'LgGdt':_0x20397d(0x21a)},_0x2901bc=new Date(),_0x11e4f5=_0x5687f6[_0x20397d(0x246)](timeoutPromise,constants[_0x20397d(0x248)],_0x5687f6[_0x20397d(0x218)],_0x5687f6[_0x20397d(0x253)],_0x2901bc,this[_0x20397d(0x201)],this[_0x20397d(0x1f5)]);await Promise[_0x20397d(0x203)]([this['BrowserstackHealing']['setToken'](_0x46bf80,globals[_0x20397d(0x223)](_0x5687f6[_0x20397d(0x21f)]),constants['TCG_URL'])[_0x20397d(0x25a)](()=>{const _0x11a542=_0x20397d;_0x11e4f5[_0x11a542(0x217)]();}),_0x11e4f5]);}async['_handleEvent'](_0x14f460,_0x502675,_0x26b872,_0xe7fece){const _0x4400be=a125_0x1d9012,_0x47fbe8={'VuMha':function(_0x294576,_0x2d5715){return _0x294576===_0x2d5715;},'Uqkmh':function(_0x3adf77,_0x3db5cd){return _0x3adf77===_0x3db5cd;},'AsKRl':function(_0x552cae,_0x38b8f1){return _0x552cae(_0x38b8f1);},'AGJZt':function(_0x385242,_0x3104e2){return _0x385242(_0x3104e2);},'jVlRA':function(_0x17a80e,_0x1f70b5){return _0x17a80e(_0x1f70b5);},'iruMc':function(_0x49cc31,_0x178313){return _0x49cc31(_0x178313);},'tsBpv':_0x4400be(0x240),'PVAWU':function(_0x2f8071,_0x9c2e93){return _0x2f8071(_0x9c2e93);},'WrJgb':_0x4400be(0x212),'upJPW':'aiHeal_groupId','OFhyO':'aiHeal_isGroupAIEnabled','ScmiM':function(_0x376b9b,_0x2e8d10,_0x1ebc6e,_0x4b1637,_0x4627fb,_0x79c426,_0x4dcb1f){return _0x376b9b(_0x2e8d10,_0x1ebc6e,_0x4b1637,_0x4627fb,_0x79c426,_0x4dcb1f);},'dxIcG':'BrowserstackHealing.logData\x20method\x20timed\x20out','pCcrJ':_0x4400be(0x1eb),'bjCGH':function(_0x13ded8,_0x5dfb43,_0x508e76,_0x2d45d0,_0x44fd9b,_0x172c1f,_0x5852af){return _0x13ded8(_0x5dfb43,_0x508e76,_0x2d45d0,_0x44fd9b,_0x172c1f,_0x5852af);},'idmDQ':_0x4400be(0x25b),'bpTGA':_0x4400be(0x251)},_0x48b39c=(await _0x502675[_0x4400be(0x239)]())[_0x4400be(0x232)]();let _0x528de3='';if(commandRepository[_0x4400be(0x228)]()&&_0x47fbe8[_0x4400be(0x1e8)](_0xe7fece,![])||_0x47fbe8[_0x4400be(0x247)](_0xe7fece,!![])){const _0x18183a=_0x47fbe8['AsKRl'](isNotUndefinedOrNull,_0x26b872[_0x4400be(0x209)][_0x4400be(0x1f2)])&&_0x47fbe8[_0x4400be(0x1ff)](isString,_0x26b872[_0x4400be(0x209)][_0x4400be(0x1f2)])?_0x26b872['parameters_'][_0x4400be(0x1f2)][_0x4400be(0x264)](/'/g,'\x5c\x27')[_0x4400be(0x264)](/"/g,'\x5c\x22'):'',_0x4db750=_0x47fbe8[_0x4400be(0x1ff)](isNotUndefinedOrNull,_0x26b872[_0x4400be(0x209)][_0x4400be(0x1f2)])&&_0x47fbe8[_0x4400be(0x245)](isString,_0x26b872[_0x4400be(0x209)]['value'])?_0x26b872[_0x4400be(0x209)][_0x4400be(0x241)]['replace'](/'/g,'\x5c\x27')[_0x4400be(0x264)](/"/g,'\x5c\x22'):'',_0x59c156=_0x47fbe8[_0x4400be(0x245)](isNotUndefinedOrNull,commandRepository[_0x4400be(0x23e)]())&&_0x47fbe8[_0x4400be(0x1ff)](isString,commandRepository[_0x4400be(0x23e)]())?commandRepository[_0x4400be(0x23e)]()['replace'](/'/g,'\x5c\x27')[_0x4400be(0x264)](/"/g,'\x5c\x22'):'';let _0x425e9c=_0x47fbe8['jVlRA'](isNotUndefinedOrNull,global[_0x4400be(0x20d)])&&_0x47fbe8['jVlRA'](isString,global[_0x4400be(0x20d)])?global['browserstackSessionName'][_0x4400be(0x264)](/'/g,'\x5c\x27')[_0x4400be(0x264)](/"/g,'\x5c\x22'):'';!_0x425e9c&&(_0x425e9c=_0x47fbe8[_0x4400be(0x24a)](isNotUndefinedOrNull,commandRepository[_0x4400be(0x1f8)]())&&_0x47fbe8['AsKRl'](isString,commandRepository[_0x4400be(0x1f8)]())?commandRepository[_0x4400be(0x1f8)]()[_0x4400be(0x264)](/'/g,'\x5c\x27')[_0x4400be(0x264)](/"/g,'\x5c\x22'):'');let _0x4801fe=_0x4400be(0x242)+constants[_0x4400be(0x263)]+_0x4400be(0x21d)+constants[_0x4400be(0x263)]+_0x4400be(0x254)+constants[_0x4400be(0x202)][_0x4400be(0x1fe)](_0x47fbe8['tsBpv'])[0x1]+_0x4400be(0x219);_0x4801fe=_0x47fbe8[_0x4400be(0x252)](isNotUndefinedOrNull,_0x4801fe)&&_0x47fbe8['PVAWU'](isString,_0x4801fe)?_0x4801fe[_0x4400be(0x264)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';const _0x355311=commandRepository[_0x4400be(0x1fb)](_0x48b39c),_0x5001f6=globals[_0x4400be(0x223)](_0x47fbe8[_0x4400be(0x259)]),_0x1dfe70=globals[_0x4400be(0x223)](_0x47fbe8[_0x4400be(0x20c)]),_0x13938c=globals[_0x4400be(0x223)](_0x47fbe8[_0x4400be(0x23b)]),_0x4ac630=![],_0x138752=new Date();if(_0xe7fece){const _0x3e4cb5=_0x47fbe8[_0x4400be(0x1fd)](timeoutPromise,constants[_0x4400be(0x222)],_0x47fbe8[_0x4400be(0x204)],_0x47fbe8[_0x4400be(0x25d)],_0x138752,this[_0x4400be(0x201)],this[_0x4400be(0x1f5)]);_0x528de3=await Promise[_0x4400be(0x203)]([this[_0x4400be(0x265)][_0x4400be(0x23d)](_0x18183a,_0x4db750,_0x59c156,_0x425e9c,_0x1dfe70,_0x48b39c,_0x355311,_0x4801fe)[_0x4400be(0x25a)](_0x49d4eb=>{return _0x3e4cb5['cancel'](),_0x49d4eb;}),_0x3e4cb5]);}else{if(commandRepository[_0x4400be(0x228)]()){const _0x720d6d=_0x47fbe8[_0x4400be(0x221)](timeoutPromise,constants[_0x4400be(0x22f)],_0x47fbe8[_0x4400be(0x20a)],_0x47fbe8[_0x4400be(0x23f)],_0x138752,this[_0x4400be(0x201)],this[_0x4400be(0x1f5)]);_0x528de3=await Promise[_0x4400be(0x203)]([this[_0x4400be(0x265)][_0x4400be(0x206)](_0x18183a,_0x4db750,_0x59c156,_0x425e9c,_0x5001f6,_0x1dfe70,_0x48b39c,_0x355311,_0x4ac630,_0x13938c,_0x4801fe)['then'](_0x5cd02a=>{const _0x300684=_0x4400be;return _0x720d6d[_0x300684(0x217)](),_0x5cd02a;}),_0x720d6d]);}}_0x528de3&&await _0x502675['executeScript'](_0x528de3);}}async['handleSuccess'](_0x3c55ec,_0x41faaa,_0x361d07){const _0x46fd24=a125_0x1d9012;try{await this[_0x46fd24(0x1f3)](_0x3c55ec,_0x41faaa,_0x361d07,!![]);}catch(_0x2810a1){return logger[_0x46fd24(0x227)](_0x46fd24(0x231)+(_0x2810a1&&_0x2810a1['message']?_0x2810a1[_0x46fd24(0x261)]:'')),![];}return!![];}async[a125_0x1d9012(0x20f)](_0x2a8933,_0x107919,_0xcca72e){const _0x5a9535=a125_0x1d9012,_0x410de6={'driWZ':function(_0x55edb3,_0x5192fc,_0x298687,_0x443d6f,_0x166ebf,_0x13301c,_0x3dcaf7){return _0x55edb3(_0x5192fc,_0x298687,_0x443d6f,_0x166ebf,_0x13301c,_0x3dcaf7);},'bQoxh':_0x5a9535(0x215),'nwNjj':_0x5a9535(0x22d),'LjOJN':_0x5a9535(0x21a)};try{await this[_0x5a9535(0x1f3)](_0x2a8933,_0x107919,_0xcca72e,![]);const _0x1a40b8=(await _0x107919['getSession']())[_0x5a9535(0x232)](),_0x53a8ad=new Date(),_0x3cda2f=_0x410de6[_0x5a9535(0x1f1)](timeoutPromise,constants['POLL_HEALING_RESULT_TIMEOUT'],_0x410de6[_0x5a9535(0x22b)],_0x410de6[_0x5a9535(0x1ee)],_0x53a8ad,this['config'],this[_0x5a9535(0x1f5)]),_0x1d51ab=await Promise[_0x5a9535(0x203)]([this[_0x5a9535(0x265)][_0x5a9535(0x233)](constants[_0x5a9535(0x202)],_0x1a40b8,globals[_0x5a9535(0x223)](_0x410de6['LjOJN']))['then'](_0x532c75=>{const _0x48ecc6=_0x5a9535;return _0x3cda2f[_0x48ecc6(0x217)](),_0x532c75;}),_0x3cda2f]);if(_0x1d51ab&&_0x1d51ab[_0x5a9535(0x234)]&&_0x1d51ab['value']){const _0x34e239={};return _0x34e239[_0x5a9535(0x243)]=_0x1d51ab[_0x5a9535(0x234)],_0x34e239['locatorValue']=_0x1d51ab[_0x5a9535(0x241)],_0x34e239[_0x5a9535(0x224)]=!![],_0x34e239;}const _0x6cba3f={};return _0x6cba3f[_0x5a9535(0x243)]=_0xcca72e['parameters_'][_0x5a9535(0x1f2)],_0x6cba3f[_0x5a9535(0x24b)]=_0x1d51ab[_0x5a9535(0x241)],_0x6cba3f[_0x5a9535(0x224)]=!![],_0x6cba3f;}catch(_0x42c384){return logger[_0x5a9535(0x235)](_0x5a9535(0x1f9)+(_0x42c384&&_0x42c384[_0x5a9535(0x261)]?_0x42c384['message']:'')),logger[_0x5a9535(0x230)](_0x5a9535(0x21e)+_0xcca72e[_0x5a9535(0x244)]+_0x5a9535(0x22c)),_0xcca72e;}}}exports[a125_0x1d9012(0x25c)]=Object[a125_0x1d9012(0x250)](new AiSdkWrapper());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a126_0x542e(){const _0x1ee895=['now','winstonLogger','ZzPmS','mlxQZ','isSelfHealEnabled','projectName','getConfig','No\x20commands\x20found\x20for\x20session:\x20','fuoID','isTcgTokenSet','1050918sclREh','91ltrwBG','1977918qnWfcG','_pushCommand','userName','gWDXQ','length','../logger','aiHeal_isAuthenticated','pushCommand','commandRepository','split','setAuthInfo','29975vboCox','setProjectNameForHealingContext','../globals','getTcgTokenStatus','4000581uRnCqi','push','accessKey','KvvwC','292483cRmsSZ','setTestNameForHealingContext','debug','config','selfHeal','path','getGlobal','testName','map','uxCNI','setFramework','831736UoVohF','getAuthInfo','10FENJRZ','getFramework','aiSessionTimeStamp','authInfo','0|5|2|1|3|4','AbApj','VrYJU','commands','method','getProjectName','964VavxzC','aiHeal_isHealingEnabled','3358617kyZyZW','NAjaO'];a126_0x542e=function(){return _0x1ee895;};return a126_0x542e();}const a126_0x3b83d1=a126_0x38d2;(function(_0x2fa4cf,_0x5b18fd){const _0x3f580f=a126_0x38d2,_0x116160=_0x2fa4cf();while(!![]){try{const _0x146b80=parseInt(_0x3f580f(0x126))/0x1+-parseInt(_0x3f580f(0x113))/0x2+parseInt(_0x3f580f(0x105))/0x3+-parseInt(_0x3f580f(0x103))/0x4*(-parseInt(_0x3f580f(0x11e))/0x5)+-parseInt(_0x3f580f(0x111))/0x6+parseInt(_0x3f580f(0x112))/0x7*(-parseInt(_0x3f580f(0x131))/0x8)+-parseInt(_0x3f580f(0x122))/0x9*(-parseInt(_0x3f580f(0x133))/0xa);if(_0x146b80===_0x5b18fd)break;else _0x116160['push'](_0x116160['shift']());}catch(_0x3b36a0){_0x116160['push'](_0x116160['shift']());}}}(a126_0x542e,0xbfceb));function a126_0x38d2(_0x3eb863,_0x1a58e5){const _0x542eaf=a126_0x542e();return a126_0x38d2=function(_0x38d26d,_0x288b04){_0x38d26d=_0x38d26d-0xfe;let _0x15d1bc=_0x542eaf[_0x38d26d];return _0x15d1bc;},a126_0x38d2(_0x3eb863,_0x1a58e5);}const calculateTimeDiff=_0x22e35a=>Date[a126_0x3b83d1(0x107)]()-_0x22e35a,logger=require(a126_0x3b83d1(0x118))[a126_0x3b83d1(0x108)],globals=require(a126_0x3b83d1(0x120));class HealingCommandRepo{constructor(){const _0x44e644=a126_0x3b83d1,_0x3726e9={};_0x3726e9[_0x44e644(0x10f)]=_0x44e644(0x137);const _0x49fa18=_0x3726e9,_0x593a2c=_0x49fa18[_0x44e644(0x10f)]['split']('|');let _0x4c087f=0x0;while(!![]){switch(_0x593a2c[_0x4c087f++]){case'0':this[_0x44e644(0x100)]={};continue;case'1':this[_0x44e644(0x12d)]='';continue;case'2':this[_0x44e644(0x10c)]='';continue;case'3':this[_0x44e644(0x136)]={};continue;case'4':this[_0x44e644(0x110)]=![];continue;case'5':this[_0x44e644(0x135)]={};continue;}break;}}[a126_0x3b83d1(0x114)](_0x12afcf,_0x2a457e){const _0x56d7e7=a126_0x3b83d1,_0x35a6fa={};_0x35a6fa['AbApj']=function(_0x2d2a26,_0x57722c){return _0x2d2a26 in _0x57722c;};const _0x48e034=_0x35a6fa;!_0x48e034[_0x56d7e7(0xfe)](_0x12afcf,this['commands'])&&(this[_0x56d7e7(0x100)][_0x12afcf]=[]),this['commands'][_0x12afcf][_0x56d7e7(0x123)](_0x2a457e);}[a126_0x3b83d1(0x11a)](_0x45ad8b,_0x223fe5){const _0x598037=a126_0x3b83d1,_0x2fce32={'NAjaO':function(_0x51cc2a,_0x352843){return _0x51cc2a(_0x352843);}},_0x5c9df8=_0x223fe5[_0x598037(0x101)],_0x3dc5e8=_0x223fe5[_0x598037(0x12b)][_0x598037(0x11c)](_0x45ad8b)[0x1],_0x4b0ea9=this[_0x598037(0x135)][_0x45ad8b],_0x40febd={'k':_0x5c9df8+':'+_0x3dc5e8,'t':_0x2fce32[_0x598037(0x106)](calculateTimeDiff,_0x4b0ea9)};this[_0x598037(0x114)](_0x45ad8b,_0x40febd);}['setAiSessionTimeStamp'](_0x2b8df7){this['aiSessionTimeStamp'][_0x2b8df7]=Date['now']();}[a126_0x3b83d1(0x11d)](_0x5dbc2d,_0x1ecca7){const _0x11f777=a126_0x3b83d1;this[_0x11f777(0x136)][_0x11f777(0x115)]=_0x5dbc2d,this[_0x11f777(0x136)][_0x11f777(0x124)]=_0x1ecca7;}[a126_0x3b83d1(0x132)](){return this['authInfo'];}[a126_0x3b83d1(0x11f)](_0x253795){this['projectName']=_0x253795;}[a126_0x3b83d1(0x127)](_0x553dbb){this['testName']=_0x553dbb;}['setConfig'](_0xaf8054){const _0x8d44f0=a126_0x3b83d1;this[_0x8d44f0(0x129)]=_0xaf8054,this[_0x8d44f0(0x11f)](_0xaf8054['projectName']),this[_0x8d44f0(0x11d)](_0xaf8054['userName'],_0xaf8054['accessKey']);}[a126_0x3b83d1(0x130)](_0x136cb7){this['framework']=_0x136cb7;}['setTcgTokenStatus'](_0x406ba1){const _0x1b3c76=a126_0x3b83d1;this[_0x1b3c76(0x110)]=_0x406ba1;}[a126_0x3b83d1(0x10d)](){const _0x3ad72c=a126_0x3b83d1;return this[_0x3ad72c(0x129)];}[a126_0x3b83d1(0x134)](){return this['framework'];}[a126_0x3b83d1(0x102)](){return this['projectName'];}['getTestName'](){const _0x2e3804=a126_0x3b83d1;return this[_0x2e3804(0x12d)];}['getCommands'](_0x132ffa){const _0x54edeb=a126_0x3b83d1,_0x4905a8={};_0x4905a8['eBitY']=_0x54edeb(0x119),_0x4905a8[_0x54edeb(0x125)]=_0x54edeb(0x104),_0x4905a8[_0x54edeb(0x10a)]=function(_0x1442a5,_0x78e654){return _0x1442a5===_0x78e654;},_0x4905a8[_0x54edeb(0x116)]=function(_0x4fab82,_0x2dfd15){return _0x4fab82+_0x2dfd15;},_0x4905a8['VrYJU']=_0x54edeb(0x10e);const _0x41c883=_0x4905a8,_0x30b8bb=this['commands'][_0x132ffa];this[_0x54edeb(0x100)][_0x132ffa]=[];if(globals[_0x54edeb(0x12c)](_0x41c883['eBitY'])&&globals['getGlobal'](_0x41c883[_0x54edeb(0x125)])&&!_0x30b8bb||_0x41c883[_0x54edeb(0x10a)](_0x30b8bb[_0x54edeb(0x117)],0x0))return logger[_0x54edeb(0x128)](_0x41c883['gWDXQ'](_0x41c883[_0x54edeb(0xff)],_0x132ffa)),'';return _0x30b8bb[_0x54edeb(0x12e)](_0x3b5a28=>JSON['stringify'](_0x3b5a28))['join'](',');}[a126_0x3b83d1(0x10b)](){const _0x522637=a126_0x3b83d1,_0x2803b9={};_0x2803b9['ZzPmS']=function(_0x22d3ef,_0x2a68ca){return _0x22d3ef===_0x2a68ca;},_0x2803b9['pFAnF']=function(_0x22956b,_0x2b5b94){return _0x22956b===_0x2b5b94;},_0x2803b9[_0x522637(0x12f)]='true';const _0x45cda9=_0x2803b9;let _0x15aaed=![];return this[_0x522637(0x10d)]()&&(_0x45cda9[_0x522637(0x109)](this[_0x522637(0x10d)]()['selfHeal'],!![])||_0x45cda9['pFAnF'](this[_0x522637(0x10d)]()[_0x522637(0x12a)],_0x45cda9[_0x522637(0x12f)]))&&(_0x15aaed=!![]),_0x15aaed;}[a126_0x3b83d1(0x121)](){const _0x334511=a126_0x3b83d1;return this[_0x334511(0x110)];}}exports[a126_0x3b83d1(0x11b)]=new HealingCommandRepo();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a127_0x251e73=a127_0x3fb7;(function(_0x43d05a,_0x48d744){const _0x1754ef=a127_0x3fb7,_0x532068=_0x43d05a();while(!![]){try{const _0x559f48=-parseInt(_0x1754ef(0x83))/0x1*(parseInt(_0x1754ef(0x85))/0x2)+-parseInt(_0x1754ef(0x8f))/0x3*(parseInt(_0x1754ef(0x99))/0x4)+-parseInt(_0x1754ef(0x8c))/0x5+parseInt(_0x1754ef(0x97))/0x6*(parseInt(_0x1754ef(0x92))/0x7)+parseInt(_0x1754ef(0x82))/0x8*(parseInt(_0x1754ef(0x86))/0x9)+parseInt(_0x1754ef(0x8e))/0xa*(parseInt(_0x1754ef(0x94))/0xb)+parseInt(_0x1754ef(0x96))/0xc;if(_0x559f48===_0x48d744)break;else _0x532068['push'](_0x532068['shift']());}catch(_0x39373d){_0x532068['push'](_0x532068['shift']());}}}(a127_0x409d,0x498a5));const a127_0x4e7c37={};function a127_0x409d(){const _0x2f5688=['1684890MVJlVY','exports','env','API_ENDPOINT','https://grid-devhst.bsstag.com/dashboard/builds','toLowerCase','489215cRekCC','https://grid-preprod.bsstag.com/dashboard/builds','20zyuVla','4197PWIRNk','stag','prod','468111wtFuNz','BROWSERSTACK_ENV','1581767gdsxzJ','BUILDS_DASHBOARD_URL','2960124RduPLy','18lYFGJj','https://grid.browserstack.com/dashboard/builds','1168UDPZSt','pre-prod','8XYqGWb','96pXjqHr','staging','2386Zurvvw'];a127_0x409d=function(){return _0x2f5688;};return a127_0x409d();}function a127_0x3fb7(_0x501b96,_0x4f7905){const _0x409d19=a127_0x409d();return a127_0x3fb7=function(_0x3fb7dc,_0x9f16e1){_0x3fb7dc=_0x3fb7dc-0x82;let _0x28b6fc=_0x409d19[_0x3fb7dc];return _0x28b6fc;},a127_0x3fb7(_0x501b96,_0x4f7905);}a127_0x4e7c37[a127_0x251e73(0x95)]=a127_0x251e73(0x98),a127_0x4e7c37[a127_0x251e73(0x89)]='automate-turboscale/v1',module[a127_0x251e73(0x87)]=a127_0x4e7c37;const _env=(process[a127_0x251e73(0x88)][a127_0x251e73(0x93)]||a127_0x251e73(0x91))[a127_0x251e73(0x8b)]();if(_env===a127_0x251e73(0x84)||_env===a127_0x251e73(0x90))module[a127_0x251e73(0x87)][a127_0x251e73(0x95)]=a127_0x251e73(0x8a);else(_env==='preprod'||_env===a127_0x251e73(0x9a))&&(module[a127_0x251e73(0x87)][a127_0x251e73(0x95)]=a127_0x251e73(0x8d));
|