browserstack-node-sdk 1.55.7 → 1.56.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/generated/sdk-messages_pb.d.ts +64 -0
- package/generated/sdk-messages_pb.js +512 -0
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +2 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a106_0x1f263e=a106_0x2db0;(function(_0x4bac42,_0x19dc68){const _0xb659f0=a106_0x2db0,_0x33c684=_0x4bac42();while(!![]){try{const _0x5d6dab=parseInt(_0xb659f0(0x13b))/0x1+-parseInt(_0xb659f0(0x19d))/0x2+parseInt(_0xb659f0(0x152))/0x3+-parseInt(_0xb659f0(0x1b5))/0x4+-parseInt(_0xb659f0(0x150))/0x5*(-parseInt(_0xb659f0(0x1d4))/0x6)+-parseInt(_0xb659f0(0x171))/0x7*(-parseInt(_0xb659f0(0x1d9))/0x8)+-parseInt(_0xb659f0(0x17f))/0x9;if(_0x5d6dab===_0x19dc68)break;else _0x33c684['push'](_0x33c684['shift']());}catch(_0x4955d1){_0x33c684['push'](_0x33c684['shift']());}}}(a106_0x4425,0xa9c7c));const util=require(a106_0x1f263e(0x155)),logger=require(a106_0x1f263e(0x13a))['winstonLogger'],accessibilityHelper=require(a106_0x1f263e(0x192)),globals=require(a106_0x1f263e(0x1ac)),scripts=require(a106_0x1f263e(0x12c)),PerformanceTester=require(a106_0x1f263e(0x14f)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require(a106_0x1f263e(0x186));let playwrightA11yHelper=null;function a106_0x2db0(_0x54db9c,_0x513339){const _0x44258e=a106_0x4425();return a106_0x2db0=function(_0x2db0ca,_0x1d1d78){_0x2db0ca=_0x2db0ca-0x122;let _0x2066d8=_0x44258e[_0x2db0ca];return _0x2066d8;},a106_0x2db0(_0x54db9c,_0x513339);}function a106_0x4425(){const _0x51acb4=['playwright-codecept-driver','Accessibility\x20results\x20retrieval\x20attempt\x20','function','nfULW','ThEEe','QTFQK','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','options','LWYKd','wixcL','getRetryConfig','Page',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','8708967bgCOIU','constructor','JJDDo','rbZkZ','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','unknown','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','../../bin/v2/browserstackCLI','unknown_method','corBS','kKFEB','getAccessibilityResultsSummaryWithRetry','browserstackSessionName','getId','status','pIZnd',',\x20cannot\x20perform\x20scan\x20with\x20retry.','goto','setScriptTimeout','./helper','bstackA11yShouldScan','Playwright\x20accessibility\x20helper\x20not\x20available','saveAccessibilityResultsWithRetry','getCurrentUrl','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','hGiLQ','isAccessibilityPlatform','isAccessibilityAutomationSession','getInstance','reason','2456114pgGbzO','HuegR','isMobilePlatform','ms\x20using\x20timeouts()\x20API','SQlNm','accessibilityConfig','alNZC','YngbW','TKzna','kBUMY','hIaAB','Accessibility\x20scan\x20attempt\x20','APYiE',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','env','../globals','rCqqM','WCEul','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','setTimeouts','IwXfF','message','\x20failed\x20for\x20method:\x20','saveTestResults','2640320OYVojj','sRiTo','ZqNVE','cZhQk','hpjWQ','summary','ygtKD','isPlaywrightPage','AkwiF','eRtir','nGeLb','getSession','../../bin/playwright/accessibility-helper','WruWa','UeVsi','hizBZ','getCapabilities','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','getAccessibilityModule','yAxNG','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','EqRUJ','setPlaywrightScriptTimeout','mGPPp','url','EIepS','PERFORM_SCAN','Lilwi','timeouts','resolveMobileThTestRunUuid','yeeag','6IULERD','performScanWithRetry','USIgx','skBFK','updateRetryConfig','40VsgxFW','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','undefined','allSettled','max','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','tiLZa','VGDFp','maxRetries','rYUdm','bstackA11yScanOptions','\x20failed\x20(','Unknown\x20driver/page\x20type:\x20','selenium-webdriver','):\x20','debug','scanSucceeded','script','IHgNr','UBBwI','getGlobal','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','stringify','results','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','OcoUe','measureWrapper','setDefaultTimeout','is_mobile_session','./scripts','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','Playwright','ms\x20using\x20setScriptTimeout\x20API','KvnQo','isSeleniumDriver','race','timeoutMs','FSDDQ','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','\x20completed\x20successfully.','yjKVn','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','Comprehensive\x20accessibility\x20scan\x20failed\x20(','../logger','203540FVtLZE','xeRNT','EMdOn','info','ZIrfL','NCcwi','warn','isPlaywright','rflxo','assign','eZqgw','error','getAccessibilityResults','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','getAccessibilityResultsSummary','uSUbq','value','GfDAD','isRunning','../performance/performance-tester','4283700PLFDGv','playwright-page','3561255fRDVpK','rTkAR','ZzHQW','util','setSeleniumScriptTimeout','bTpqA','rmDAi','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20',').\x20Last\x20error:\x20','Jmipd','accessibilityPlatform','Unknown\x20error','oNgpw','Skipping\x20timeout\x20setting\x20for\x20','WjRiD','CuZTO','defaultTimeoutMs','getAccessibilityResultsWithRetry','capabilitiesList','fQafP','DFoxb','type',').\x20Error:\x20','rejected','diEPu','gumiD','Accessibility\x20results\x20save\x20attempt\x20','afFrP','\x20for\x20method:\x20','executeAsyncScript','TboqI','1825397kCqZdg'];a106_0x4425=function(){return _0x51acb4;};return a106_0x4425();}try{playwrightA11yHelper=require(a106_0x1f263e(0x1c1));}catch(a106_0x52409d){logger[a106_0x1f263e(0x1e8)](a106_0x1f263e(0x194));}const a106_0x665afb={};a106_0x665afb['maxRetries']=0x1,a106_0x665afb['timeoutMs']=0x7530,a106_0x665afb[a106_0x1f263e(0x162)]=0x7530;const RETRY_CONFIG=a106_0x665afb,setConfigTimeout=(_0x288d45,_0x197106=null)=>{const _0x4a8b5d=a106_0x1f263e,_0x222dc3={'hkmvn':function(_0x4d8fe2,_0x4b129a){return _0x4d8fe2===_0x4b129a;},'oNgpw':'scannerProcessingTimeout','IwXfF':function(_0x447922,_0x54ded7){return _0x447922*_0x54ded7;},'kBUMY':function(_0x1c55a2,_0x59937b){return _0x1c55a2(_0x59937b);}};if(BrowserstackCLI[_0x4a8b5d(0x19b)]()[_0x4a8b5d(0x14e)]()&&BrowserstackCLI[_0x4a8b5d(0x19b)]()[_0x4a8b5d(0x1c7)]()){const _0x5ca7eb=BrowserstackCLI[_0x4a8b5d(0x19b)]()[_0x4a8b5d(0x1c7)]()[_0x4a8b5d(0x1a2)],_0x20f897=_0x5ca7eb[_0x4a8b5d(0x179)][_0x4a8b5d(0x164)]||[];for(const _0x2c5091 of _0x20f897){_0x222dc3['hkmvn'](_0x2c5091['name'],_0x222dc3[_0x4a8b5d(0x15e)])&&_0x222dc3['hkmvn'](_0x197106,null)&&(_0x288d45[_0x4a8b5d(0x133)]=_0x222dc3[_0x4a8b5d(0x1b1)](_0x222dc3[_0x4a8b5d(0x1a6)](parseInt,_0x2c5091[_0x4a8b5d(0x14c)]),0x3e8));}}else process[_0x4a8b5d(0x1ab)][_0x4a8b5d(0x135)]&&(_0x288d45['timeoutMs']=_0x222dc3[_0x4a8b5d(0x1b1)](_0x222dc3['kBUMY'](parseInt,process['env'][_0x4a8b5d(0x135)]),0x3e8));},detectDriverType=_0x5957fc=>{const _0x33f095=a106_0x1f263e,_0x8593fd={};_0x8593fd['CuZTO']=_0x33f095(0x184),_0x8593fd[_0x33f095(0x137)]=function(_0xec28e0,_0x51b7af){return _0xec28e0===_0x51b7af;},_0x8593fd[_0x33f095(0x143)]=_0x33f095(0x174),_0x8593fd['DmOST']=function(_0x1e96c0,_0x42d267){return _0x1e96c0===_0x42d267;},_0x8593fd['UBBwI']=function(_0x37e97b,_0x328f78){return _0x37e97b===_0x328f78;},_0x8593fd[_0x33f095(0x19e)]=_0x33f095(0x151),_0x8593fd['AkwiF']=function(_0x33e09f,_0x61dea6){return _0x33e09f===_0x61dea6;},_0x8593fd['skBFK']=_0x33f095(0x1e6),_0x8593fd[_0x33f095(0x1c8)]=function(_0xac247c,_0x34cc10){return _0xac247c===_0x34cc10;},_0x8593fd[_0x33f095(0x177)]=_0x33f095(0x17d),_0x8593fd[_0x33f095(0x13f)]=function(_0x5e615f,_0x2361b1){return _0x5e615f===_0x2361b1;},_0x8593fd[_0x33f095(0x13d)]='WebDriver',_0x8593fd[_0x33f095(0x1ca)]=function(_0x513bb6,_0x56c9e9){return _0x513bb6===_0x56c9e9;},_0x8593fd['pRYEW']=_0x33f095(0x12e),_0x8593fd[_0x33f095(0x154)]=_0x33f095(0x172),_0x8593fd[_0x33f095(0x1ce)]=function(_0x1f37a0,_0x5053d5){return _0x1f37a0||_0x5053d5;},_0x8593fd[_0x33f095(0x1c3)]=_0x33f095(0x1db);const _0x49ecd1=_0x8593fd;if(!_0x5957fc){const _0x185b25={};return _0x185b25[_0x33f095(0x142)]=![],_0x185b25['type']=_0x49ecd1[_0x33f095(0x161)],_0x185b25;}if(_0x49ecd1[_0x33f095(0x137)](typeof _0x5957fc['evaluate'],_0x49ecd1[_0x33f095(0x143)])&&_0x49ecd1['DmOST'](typeof _0x5957fc[_0x33f095(0x1cd)],_0x49ecd1[_0x33f095(0x143)])&&_0x49ecd1[_0x33f095(0x122)](typeof _0x5957fc[_0x33f095(0x190)],_0x49ecd1[_0x33f095(0x143)])){const _0xeb483b={};return _0xeb483b['isPlaywright']=!![],_0xeb483b[_0x33f095(0x167)]=_0x49ecd1[_0x33f095(0x19e)],_0xeb483b;}if(_0x49ecd1[_0x33f095(0x122)](typeof _0x5957fc[_0x33f095(0x16f)],_0x49ecd1[_0x33f095(0x143)])&&_0x49ecd1[_0x33f095(0x1bd)](typeof _0x5957fc[_0x33f095(0x1c5)],_0x49ecd1[_0x33f095(0x143)])){const _0x548aee={};return _0x548aee['isPlaywright']=![],_0x548aee[_0x33f095(0x167)]=_0x49ecd1['skBFK'],_0x548aee;}const _0x422ca1=_0x5957fc[_0x33f095(0x180)]?.['name'];if(_0x49ecd1[_0x33f095(0x1c8)](_0x422ca1,_0x49ecd1[_0x33f095(0x177)])){const _0x15c16e={};return _0x15c16e[_0x33f095(0x142)]=!![],_0x15c16e['type']=_0x49ecd1['HuegR'],_0x15c16e;}if(_0x49ecd1[_0x33f095(0x13f)](_0x422ca1,_0x49ecd1['EMdOn'])){const _0x167ffa={};return _0x167ffa['isPlaywright']=![],_0x167ffa[_0x33f095(0x167)]=_0x49ecd1[_0x33f095(0x1d7)],_0x167ffa;}if(_0x49ecd1[_0x33f095(0x1ca)](_0x422ca1,_0x49ecd1['pRYEW'])){const _0x1c762a={};return _0x1c762a['isPlaywright']=!![],_0x1c762a[_0x33f095(0x167)]=_0x49ecd1[_0x33f095(0x154)],_0x1c762a;}logger[_0x33f095(0x141)](_0x33f095(0x1e5)+_0x49ecd1[_0x33f095(0x1ce)](_0x422ca1,_0x49ecd1[_0x33f095(0x1c3)]));const _0x4768d3={};return _0x4768d3['isPlaywright']=![],_0x4768d3[_0x33f095(0x167)]=_0x49ecd1[_0x33f095(0x161)],_0x4768d3;},withTimeout=(_0x11137b,_0x18d0af)=>{const _0x5315ff=a106_0x1f263e;return Promise[_0x5315ff(0x132)]([_0x11137b,new Promise((_0x2aed21,_0x361954)=>setTimeout(()=>_0x361954(new Error('Operation\x20timed\x20out\x20after\x20'+_0x18d0af+'ms')),_0x18d0af))]);};exports[a106_0x1f263e(0x1d5)]=async(_0x5641d7,_0x5ce888=null,_0x270bfd=null,_0x5efe13=![],_0x175ce2=null)=>{const _0x11ba5a=a106_0x1f263e,_0x18bf9a={'OcoUe':function(_0x2c0ae0,_0x5cf443){return _0x2c0ae0&&_0x5cf443;},'FSDDQ':function(_0x26c507,_0x218d16,_0x15a8a7){return _0x26c507(_0x218d16,_0x15a8a7);},'alNZC':function(_0x33eebd,_0x23cc23){return _0x33eebd===_0x23cc23;},'eSace':_0x11ba5a(0x172),'yeeag':function(_0x51fe77,_0x3f3bc0,_0xae4ec1){return _0x51fe77(_0x3f3bc0,_0xae4ec1);},'rTkAR':function(_0x13bbfb,_0x384497,_0x11c909){return _0x13bbfb(_0x384497,_0x11c909);},'Lilwi':function(_0x5e2759,_0x406807){return _0x5e2759(_0x406807);},'KvnQo':function(_0x2eee35,_0x19170c){return _0x2eee35||_0x19170c;},'xeRNT':function(_0x2c3bc5,_0x1c91eb){return _0x2c3bc5!==_0x1c91eb;},'ZqNVE':_0x11ba5a(0x199),'LWYKd':function(_0x410b8d,_0x79f3e6){return _0x410b8d!==_0x79f3e6;},'kKFEB':_0x11ba5a(0x193),'TboqI':function(_0x461eef,_0x2d0efb){return _0x461eef===_0x2d0efb;},'fQafP':_0x11ba5a(0x127),'LDHjm':_0x11ba5a(0x187),'nfULW':_0x11ba5a(0x174),'GfDAD':function(_0x2150f1,_0x2181be){return _0x2150f1===_0x2181be;},'AAEXP':function(_0x399e8d,_0x325db6){return _0x399e8d<=_0x325db6;},'MCxhD':function(_0x2b6f01,_0x1db5ab){return _0x2b6f01+_0x1db5ab;},'VGDFp':function(_0x385f60,_0x1d0925){return _0x385f60+_0x1d0925;},'nGeLb':_0x11ba5a(0x15d)},{isPlaywright:_0x4d46b7,type:_0x27cd29}=_0x18bf9a[_0x11ba5a(0x1d0)](detectDriverType,_0x5641d7),_0x582ae5=_0x5efe13?_0x18bf9a[_0x11ba5a(0x130)](_0x175ce2,{}):global[_0x11ba5a(0x1e3)]||{},_0x203644=_0x4d46b7?global[_0x11ba5a(0x15c)]&&(_0x5efe13||_0x18bf9a[_0x11ba5a(0x13c)](global[_0x11ba5a(0x193)],![])):accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x11ba5a(0x123)](_0x18bf9a['ZqNVE'])&&(_0x5efe13||_0x18bf9a[_0x11ba5a(0x17a)](globals['getGlobal'](_0x18bf9a[_0x11ba5a(0x189)]),![]));if(!_0x203644)return _0x4d46b7&&global[_0x11ba5a(0x15c)]&&_0x18bf9a['alNZC'](global[_0x11ba5a(0x193)],![])||!_0x4d46b7&&globals['getGlobal'](_0x18bf9a[_0x11ba5a(0x1b7)])&&_0x18bf9a[_0x11ba5a(0x170)](globals[_0x11ba5a(0x123)](_0x18bf9a[_0x11ba5a(0x189)]),![])?logger['debug'](_0x18bf9a[_0x11ba5a(0x165)]):logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x27cd29+_0x11ba5a(0x18f)),![];const _0x961d18=_0x5ce888||global[_0x11ba5a(0x18b)]||_0x18bf9a['LDHjm'];let _0x48ca82=null;const _0x2e0db1={'testhub_btcer_uuid':global['__workerDetails']?.['currentTest']?.['id'],'url':_0x18bf9a[_0x11ba5a(0x170)](typeof _0x5641d7[_0x11ba5a(0x1cd)],_0x18bf9a[_0x11ba5a(0x175)])?await _0x5641d7['url']():_0x18bf9a[_0x11ba5a(0x14d)](typeof _0x5641d7[_0x11ba5a(0x196)],_0x18bf9a[_0x11ba5a(0x175)])?await _0x5641d7[_0x11ba5a(0x196)]():'','automate_session_id':_0x18bf9a[_0x11ba5a(0x14d)](typeof _0x5641d7[_0x11ba5a(0x1c0)],_0x18bf9a[_0x11ba5a(0x175)])?(await _0x5641d7[_0x11ba5a(0x1c0)]())[_0x11ba5a(0x18c)]():''};for(let _0x534dfc=0x1;_0x18bf9a['AAEXP'](_0x534dfc,_0x18bf9a['MCxhD'](RETRY_CONFIG[_0x11ba5a(0x1e1)],0x1));_0x534dfc++){try{return logger['debug'](_0x11ba5a(0x1a8)+_0x534dfc+'/'+_0x18bf9a[_0x11ba5a(0x1e0)](RETRY_CONFIG['maxRetries'],0x1)+_0x11ba5a(0x16e)+_0x961d18+'\x20('+_0x27cd29+')'),await PerformanceTester[_0x11ba5a(0x129)](PerformanceA11yEvents[_0x11ba5a(0x1cf)],async()=>{const _0x21c73e=_0x11ba5a;let _0x1f9281;if(_0x18bf9a[_0x21c73e(0x128)](_0x4d46b7,playwrightA11yHelper)){_0x18bf9a[_0x21c73e(0x134)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x21c73e(0x1cb)](_0x5641d7,RETRY_CONFIG[_0x21c73e(0x133)]);let _0x1b1c15=_0x5641d7;_0x18bf9a[_0x21c73e(0x1a3)](_0x27cd29,_0x18bf9a['eSace'])&&(_0x1b1c15=_0x5641d7['page']);const _0x58ec18=global['isMobilePlatform']?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x21c73e(0x1d2)]()}:{};_0x1f9281=await _0x18bf9a[_0x21c73e(0x1d3)](withTimeout,playwrightA11yHelper['performScan'](_0x1b1c15,_0x961d18,_0x582ae5,_0x58ec18),RETRY_CONFIG[_0x21c73e(0x133)]),await exports[_0x21c73e(0x1cb)](_0x5641d7,RETRY_CONFIG[_0x21c73e(0x162)]);}else await exports[_0x21c73e(0x156)](_0x5641d7,RETRY_CONFIG[_0x21c73e(0x133)]),_0x1f9281=await _0x18bf9a[_0x21c73e(0x153)](withTimeout,accessibilityHelper['performScan'](_0x5641d7,_0x961d18,_0x5efe13,_0x582ae5),RETRY_CONFIG[_0x21c73e(0x133)]),await exports['setSeleniumScriptTimeout'](_0x5641d7,RETRY_CONFIG[_0x21c73e(0x162)]);logger[_0x21c73e(0x1e8)]('Scan\x20attempt\x20'+_0x534dfc+_0x21c73e(0x136));},{'command':_0x961d18,..._0x2e0db1})(),logger[_0x11ba5a(0x13e)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x534dfc+'.'),!![];}catch(_0x4ef5f0){_0x48ca82=_0x4ef5f0,logger[_0x11ba5a(0x1e8)](_0x11ba5a(0x1a8)+_0x534dfc+_0x11ba5a(0x1b3)+_0x961d18+'\x20('+_0x27cd29+_0x11ba5a(0x168)+_0x4ef5f0[_0x11ba5a(0x1b2)]);}}return logger[_0x11ba5a(0x146)](_0x11ba5a(0x1c6)+_0x961d18+'\x20('+_0x27cd29+')\x20with\x20error:\x20'+(_0x48ca82?.['message']||_0x18bf9a[_0x11ba5a(0x1bf)])),![];},exports[a106_0x1f263e(0x163)]=async(_0x3ebead,_0x56e278)=>{const _0xbf25f3=a106_0x1f263e,_0x4be950={'qDMEV':function(_0xa4f8c,_0x526fe9){return _0xa4f8c(_0x526fe9);},'Jmipd':_0xbf25f3(0x199),'corBS':function(_0x37a0f2,_0x2c3934){return _0x37a0f2<=_0x2c3934;},'DFoxb':function(_0x5ce00e,_0x39d378){return _0x5ce00e+_0x39d378;},'WCEul':function(_0x23da2b,_0x4a757c){return _0x23da2b&&_0x4a757c;},'uSUbq':function(_0x247df2,_0xe24368,_0x3e0ab0){return _0x247df2(_0xe24368,_0x3e0ab0);},'ygtKD':function(_0x3eb9a4,_0x20ee54,_0x38f18a){return _0x3eb9a4(_0x20ee54,_0x38f18a);},'cZhQk':_0xbf25f3(0x15d)},{isPlaywright:_0xf58949,type:_0x52744a}=_0x4be950['qDMEV'](detectDriverType,_0x3ebead),_0x3c1218=_0xf58949?_0x56e278[_0xbf25f3(0x15c)]:accessibilityHelper[_0xbf25f3(0x19a)]()&&globals['getGlobal'](_0x4be950[_0xbf25f3(0x15b)]);if(!_0x3c1218)return logger[_0xbf25f3(0x141)](_0xbf25f3(0x138)+_0x52744a+_0xbf25f3(0x17e)),[];let _0x525d4e=null;for(let _0x1ab12e=0x1;_0x4be950[_0xbf25f3(0x188)](_0x1ab12e,_0x4be950[_0xbf25f3(0x166)](RETRY_CONFIG[_0xbf25f3(0x1e1)],0x1));_0x1ab12e++){try{logger[_0xbf25f3(0x1e8)](_0xbf25f3(0x173)+_0x1ab12e+'/'+_0x4be950['DFoxb'](RETRY_CONFIG[_0xbf25f3(0x1e1)],0x1)+'\x20('+_0x52744a+')');let _0x549461;return _0x4be950[_0xbf25f3(0x1ae)](_0xf58949,playwrightA11yHelper)?(_0x4be950[_0xbf25f3(0x14b)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0xbf25f3(0x1cb)](_0x3ebead,RETRY_CONFIG['timeoutMs']),_0x549461=await _0x4be950[_0xbf25f3(0x14b)](withTimeout,playwrightA11yHelper[_0xbf25f3(0x147)](_0x3ebead),RETRY_CONFIG[_0xbf25f3(0x133)]),await exports[_0xbf25f3(0x1cb)](_0x3ebead,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0xbf25f3(0x156)](_0x3ebead,RETRY_CONFIG[_0xbf25f3(0x133)]),_0x549461=await _0x4be950[_0xbf25f3(0x1bb)](withTimeout,accessibilityHelper[_0xbf25f3(0x147)](_0x3ebead,_0x56e278),RETRY_CONFIG['timeoutMs']),await exports[_0xbf25f3(0x156)](_0x3ebead,RETRY_CONFIG['defaultTimeoutMs'])),logger['info'](_0xbf25f3(0x159)+_0x1ab12e+'\x20('+_0x52744a+')'),_0x549461;}catch(_0x3d0fb4){_0x525d4e=_0x3d0fb4,logger[_0xbf25f3(0x141)](_0xbf25f3(0x173)+_0x1ab12e+_0xbf25f3(0x1e4)+_0x52744a+_0xbf25f3(0x168)+_0x3d0fb4[_0xbf25f3(0x1b2)]);}}return logger[_0xbf25f3(0x146)]('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x52744a+_0xbf25f3(0x15a)+(_0x525d4e?.[_0xbf25f3(0x1b2)]||_0x4be950[_0xbf25f3(0x1b8)])),[];},exports[a106_0x1f263e(0x18a)]=async(_0x57fc97,_0x197047)=>{const _0x441704=a106_0x1f263e,_0x36a618={'SmlTM':function(_0x1bd953,_0x164ba9){return _0x1bd953(_0x164ba9);},'ovXEh':_0x441704(0x199),'wixcL':function(_0x4f1515,_0x34ef9e){return _0x4f1515<=_0x34ef9e;},'hGiLQ':function(_0x42c53e,_0x3f0022){return _0x42c53e+_0x3f0022;},'diEPu':function(_0x165790,_0x1a0e93){return _0x165790+_0x1a0e93;},'eZqgw':function(_0xdc86ba,_0x4ffd75){return _0xdc86ba&&_0x4ffd75;},'LFaQm':function(_0x598d8b,_0x493ac6,_0x47078c){return _0x598d8b(_0x493ac6,_0x47078c);},'SWSvP':function(_0x51c3db,_0x14f032,_0x307c90){return _0x51c3db(_0x14f032,_0x307c90);},'AyShi':function(_0x49680f,_0x4a800f,_0x3b78e9){return _0x49680f(_0x4a800f,_0x3b78e9);},'eRtir':_0x441704(0x15d)},{isPlaywright:_0x1114ef,type:_0xf81c4e}=_0x36a618['SmlTM'](detectDriverType,_0x57fc97),_0x21afc9=_0x1114ef?_0x197047[_0x441704(0x15c)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x441704(0x123)](_0x36a618['ovXEh']);if(!_0x21afc9)return logger[_0x441704(0x141)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0xf81c4e+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.'),{};let _0x4a797a=null;for(let _0x30f564=0x1;_0x36a618[_0x441704(0x17b)](_0x30f564,_0x36a618[_0x441704(0x198)](RETRY_CONFIG[_0x441704(0x1e1)],0x1));_0x30f564++){try{logger[_0x441704(0x1e8)](_0x441704(0x1c9)+_0x30f564+'/'+_0x36a618[_0x441704(0x16a)](RETRY_CONFIG[_0x441704(0x1e1)],0x1)+'\x20('+_0xf81c4e+')');let _0x4b2729;return _0x36a618[_0x441704(0x145)](_0x1114ef,playwrightA11yHelper)?(_0x36a618['LFaQm'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x57fc97,RETRY_CONFIG['timeoutMs']),_0x4b2729=await _0x36a618['SWSvP'](withTimeout,playwrightA11yHelper[_0x441704(0x14a)](_0x57fc97),RETRY_CONFIG[_0x441704(0x133)]),await exports[_0x441704(0x1cb)](_0x57fc97,RETRY_CONFIG[_0x441704(0x162)])):(await exports[_0x441704(0x156)](_0x57fc97,RETRY_CONFIG['timeoutMs']),_0x4b2729=await _0x36a618['AyShi'](withTimeout,accessibilityHelper[_0x441704(0x14a)](_0x57fc97,_0x197047),RETRY_CONFIG[_0x441704(0x133)]),await exports[_0x441704(0x156)](_0x57fc97,RETRY_CONFIG[_0x441704(0x162)])),logger[_0x441704(0x13e)](_0x441704(0x12d)+_0x30f564+'\x20('+_0xf81c4e+')'),_0x4b2729;}catch(_0x4a4506){_0x4a797a=_0x4a4506,logger[_0x441704(0x141)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x30f564+_0x441704(0x1e4)+_0xf81c4e+_0x441704(0x168)+_0x4a4506['message']);}}return logger[_0x441704(0x146)](_0x441704(0x148)+_0xf81c4e+_0x441704(0x15a)+(_0x4a797a?.['message']||_0x36a618[_0x441704(0x1be)])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x1871ec,_0x3c7fca,_0x3bd567=null)=>{const _0xe9dfcf=a106_0x1f263e,_0x3c60dc={'rbZkZ':function(_0x189ef3,_0x3af24b){return _0x189ef3(_0x3af24b);},'hizBZ':function(_0x38bde0,_0x5a66dd){return _0x38bde0===_0x5a66dd;},'hIaAB':'fulfilled','SQlNm':_0xe9dfcf(0x169),'YngbW':function(_0x209fe4,_0x280ed7){return _0x209fe4===_0x280ed7;},'gqkTp':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x19b0e4,type:_0x3d1777}=_0x3c60dc[_0xe9dfcf(0x182)](detectDriverType,_0x1871ec),_0x4fca78={};_0x4fca78['scanSucceeded']=![],_0x4fca78[_0xe9dfcf(0x126)]=[],_0x4fca78[_0xe9dfcf(0x1ba)]={},_0x4fca78['error']=null,_0x4fca78['driverType']=_0x3d1777;const _0xb71d48=_0x4fca78;try{_0xb71d48[_0xe9dfcf(0x1e9)]=await exports[_0xe9dfcf(0x1d5)](_0x1871ec,_0x3bd567);if(_0xb71d48[_0xe9dfcf(0x1e9)]){const [_0x4e8dde,_0x465118]=await Promise[_0xe9dfcf(0x1dc)]([exports['getAccessibilityResultsWithRetry'](_0x1871ec,_0x3c7fca),exports[_0xe9dfcf(0x18a)](_0x1871ec,_0x3c7fca)]);_0xb71d48[_0xe9dfcf(0x126)]=_0x3c60dc[_0xe9dfcf(0x1c4)](_0x4e8dde[_0xe9dfcf(0x18d)],_0x3c60dc['hIaAB'])?_0x4e8dde[_0xe9dfcf(0x14c)]:[],_0xb71d48[_0xe9dfcf(0x1ba)]=_0x3c60dc[_0xe9dfcf(0x1c4)](_0x465118['status'],_0x3c60dc[_0xe9dfcf(0x1a7)])?_0x465118[_0xe9dfcf(0x14c)]:{},_0x3c60dc[_0xe9dfcf(0x1c4)](_0x4e8dde[_0xe9dfcf(0x18d)],_0x3c60dc[_0xe9dfcf(0x1a1)])&&logger[_0xe9dfcf(0x141)](_0xe9dfcf(0x178)+_0x3d1777+_0xe9dfcf(0x1e7)+_0x4e8dde[_0xe9dfcf(0x19c)]?.[_0xe9dfcf(0x1b2)]),_0x3c60dc[_0xe9dfcf(0x1a4)](_0x465118[_0xe9dfcf(0x18d)],_0x3c60dc['SQlNm'])&&logger[_0xe9dfcf(0x141)](_0xe9dfcf(0x1af)+_0x3d1777+_0xe9dfcf(0x1e7)+_0x465118[_0xe9dfcf(0x19c)]?.[_0xe9dfcf(0x1b2)]);}}catch(_0xea6839){_0xb71d48['error']=_0xea6839[_0xe9dfcf(0x1b2)]||_0x3c60dc['gqkTp'],logger['error'](_0xe9dfcf(0x139)+_0x3d1777+_0xe9dfcf(0x1e7)+_0xb71d48[_0xe9dfcf(0x146)]);}return _0xb71d48;},exports[a106_0x1f263e(0x1d8)]=_0xa98382=>{const _0x27f102=a106_0x1f263e,_0x35e7a8={};_0x35e7a8[_0x27f102(0x160)]=function(_0x5cfafc,_0xefbe9b){return _0x5cfafc!==_0xefbe9b;};const _0x55f762=_0x35e7a8;_0x55f762['WjRiD'](_0xa98382[_0x27f102(0x1e1)],undefined)&&(RETRY_CONFIG[_0x27f102(0x1e1)]=Math[_0x27f102(0x1dd)](0x0,_0xa98382[_0x27f102(0x1e1)])),_0x55f762['WjRiD'](_0xa98382['timeoutMs'],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x27f102(0x1dd)](0x3e8,_0xa98382[_0x27f102(0x133)])),logger[_0x27f102(0x1e8)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x27f102(0x125)](RETRY_CONFIG));},exports[a106_0x1f263e(0x17c)]=()=>{const _0x5af69e={...RETRY_CONFIG};return _0x5af69e;},exports[a106_0x1f263e(0x1bc)]=_0x433616=>{const _0xf1d369=a106_0x1f263e,_0xe06599={'XeBHi':function(_0x26f7b8,_0x577f0e){return _0x26f7b8(_0x577f0e);}};return _0xe06599['XeBHi'](detectDriverType,_0x433616)[_0xf1d369(0x142)];},exports[a106_0x1f263e(0x131)]=_0x381c5c=>{const _0x31411e=a106_0x1f263e,_0x1196f3={'pIZnd':function(_0x3bb735,_0x7b65a0){return _0x3bb735(_0x7b65a0);},'APYiE':function(_0x51b0ba,_0xfe32c8){return _0x51b0ba===_0xfe32c8;},'mGPPp':'selenium-webdriver'},{isPlaywright:_0x3ac12b,type:_0x51ad55}=_0x1196f3[_0x31411e(0x18e)](detectDriverType,_0x381c5c);return!_0x3ac12b&&_0x1196f3[_0x31411e(0x1a9)](_0x51ad55,_0x1196f3[_0x31411e(0x1cc)]);},exports[a106_0x1f263e(0x1cb)]=async(_0x477532,_0x1b481e=null)=>{const _0x2f508c=a106_0x1f263e,_0x3045ff={'rmDAi':function(_0x461b44,_0x13772e){return _0x461b44(_0x13772e);},'TKzna':function(_0x148184,_0x370ca9){return _0x148184===_0x370ca9;},'bTpqA':_0x2f508c(0x174)},{isPlaywright:_0x5c0930,type:_0x1854fb}=_0x3045ff[_0x2f508c(0x158)](detectDriverType,_0x477532);if(!_0x5c0930)return logger['debug'](_0x2f508c(0x15f)+_0x1854fb+'\x20-\x20not\x20applicable'),!![];const _0x2c27a1=_0x1b481e||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x477532&&_0x3045ff[_0x2f508c(0x1a5)](typeof _0x477532['setDefaultTimeout'],_0x3045ff[_0x2f508c(0x157)])&&(await _0x477532[_0x2f508c(0x12a)](_0x2c27a1),logger[_0x2f508c(0x1e8)](_0x2f508c(0x149)+_0x2c27a1+'ms')),!![];}catch(_0x2008dc){return logger[_0x2f508c(0x141)](_0x2f508c(0x185)+_0x2008dc[_0x2f508c(0x1b2)]),![];}},exports[a106_0x1f263e(0x156)]=async(_0x1cd45d,_0x5a6b82=null)=>{const _0x1b83ca=a106_0x1f263e,_0x5f5cfb={};_0x5f5cfb[_0x1b83ca(0x1b6)]=_0x1b83ca(0x1de),_0x5f5cfb[_0x1b83ca(0x181)]=function(_0x59ab1d,_0x22cb39){return _0x59ab1d===_0x22cb39;},_0x5f5cfb[_0x1b83ca(0x1df)]=_0x1b83ca(0x174),_0x5f5cfb[_0x1b83ca(0x1d6)]=_0x1b83ca(0x1da),_0x5f5cfb[_0x1b83ca(0x16b)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0x213a9c=_0x5f5cfb;if(!exports[_0x1b83ca(0x131)](_0x1cd45d))return logger['warn'](_0x213a9c[_0x1b83ca(0x1b6)]),![];const _0x32a02d=_0x5a6b82||RETRY_CONFIG[_0x1b83ca(0x162)];try{if(_0x1cd45d&&_0x213a9c[_0x1b83ca(0x181)](typeof _0x1cd45d['manage'],_0x213a9c['tiLZa'])){const _0x58871e=_0x1cd45d['manage']();if(_0x58871e&&_0x213a9c[_0x1b83ca(0x181)](typeof _0x58871e[_0x1b83ca(0x1d1)],_0x213a9c[_0x1b83ca(0x1df)]))await _0x58871e['timeouts']()[_0x1b83ca(0x191)](_0x32a02d),logger[_0x1b83ca(0x1e8)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x32a02d+_0x1b83ca(0x1a0));else{if(_0x58871e&&_0x213a9c[_0x1b83ca(0x181)](typeof _0x58871e[_0x1b83ca(0x1b0)],_0x213a9c[_0x1b83ca(0x1df)])){const _0x5be206={};_0x5be206[_0x1b83ca(0x1ea)]=_0x32a02d,await _0x58871e[_0x1b83ca(0x1b0)](_0x5be206),logger[_0x1b83ca(0x1e8)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x32a02d+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x58871e&&_0x213a9c['JJDDo'](typeof _0x58871e[_0x1b83ca(0x191)],_0x213a9c['tiLZa']))await _0x58871e[_0x1b83ca(0x191)](_0x32a02d),logger[_0x1b83ca(0x1e8)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x32a02d+_0x1b83ca(0x12f));else return logger[_0x1b83ca(0x1e8)](_0x213a9c['USIgx']),!![];}}}else return logger[_0x1b83ca(0x1e8)](_0x213a9c[_0x1b83ca(0x16b)]),!![];return!![];}catch(_0x47301e){return logger[_0x1b83ca(0x141)](_0x1b83ca(0x183)+_0x47301e[_0x1b83ca(0x1b2)]),![];}},exports[a106_0x1f263e(0x195)]=async(_0x2107bd,_0x55fac2)=>{const _0x42c67f=a106_0x1f263e,_0x36a1e2={'afFrP':function(_0x1ad697,_0x51ac9d){return _0x1ad697(_0x51ac9d);},'WruWa':_0x42c67f(0x199),'GjVqm':function(_0x527c68,_0x1b7421){return _0x527c68<=_0x1b7421;},'rYUdm':function(_0x55797d,_0x30fad3){return _0x55797d+_0x30fad3;},'IHgNr':function(_0x17e4a0,_0x5c7ae7){return _0x17e4a0+_0x5c7ae7;},'hpjWQ':function(_0x3bdee0,_0x333733){return _0x3bdee0&&_0x333733;},'rCqqM':function(_0x2c3f7a,_0x19e77d,_0x1d139c){return _0x2c3f7a(_0x19e77d,_0x1d139c);},'NCcwi':_0x42c67f(0x19f),'ThEEe':'Unknown\x20error'},{isPlaywright:_0x26c56d,type:_0x4c2dd1}=_0x36a1e2[_0x42c67f(0x16d)](detectDriverType,_0x2107bd),_0x5765da=_0x26c56d?global[_0x42c67f(0x15c)]:accessibilityHelper[_0x42c67f(0x19a)]()&&globals[_0x42c67f(0x123)](_0x36a1e2[_0x42c67f(0x1c2)]);if(!_0x5765da)return logger[_0x42c67f(0x141)](_0x42c67f(0x138)+_0x4c2dd1+_0x42c67f(0x1aa)),![];let _0x213955=null;for(let _0x13db3c=0x1;_0x36a1e2['GjVqm'](_0x13db3c,_0x36a1e2[_0x42c67f(0x1e2)](RETRY_CONFIG[_0x42c67f(0x1e1)],0x1));_0x13db3c++){try{logger[_0x42c67f(0x1e8)](_0x42c67f(0x16c)+_0x13db3c+'/'+_0x36a1e2[_0x42c67f(0x1eb)](RETRY_CONFIG[_0x42c67f(0x1e1)],0x1)+'\x20('+_0x4c2dd1+')');if(_0x36a1e2[_0x42c67f(0x1b9)](_0x26c56d,playwrightA11yHelper)){_0x36a1e2[_0x42c67f(0x1ad)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x42c67f(0x1cb)](_0x2107bd,RETRY_CONFIG[_0x42c67f(0x133)]);const _0x35d484={};_0x35d484[_0x42c67f(0x12b)]=!![];const _0x1aa9a2=global[_0x42c67f(0x19f)]?Object[_0x42c67f(0x144)]({},_0x55fac2,_0x35d484):_0x55fac2;await _0x36a1e2[_0x42c67f(0x1ad)](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x2107bd,scripts[_0x42c67f(0x1b4)],_0x1aa9a2),RETRY_CONFIG[_0x42c67f(0x133)]),await exports[_0x42c67f(0x1cb)](_0x2107bd,RETRY_CONFIG[_0x42c67f(0x162)]);}else{await exports[_0x42c67f(0x156)](_0x2107bd,RETRY_CONFIG[_0x42c67f(0x133)]);const _0x39bd00={};_0x39bd00[_0x42c67f(0x12b)]=!![];const _0x2f1991=globals[_0x42c67f(0x123)](_0x36a1e2[_0x42c67f(0x140)])?Object[_0x42c67f(0x144)]({},_0x55fac2,_0x39bd00):_0x55fac2;await _0x36a1e2['rCqqM'](withTimeout,_0x2107bd[_0x42c67f(0x16f)](scripts[_0x42c67f(0x1b4)],_0x2f1991),RETRY_CONFIG[_0x42c67f(0x133)]),await exports[_0x42c67f(0x156)](_0x2107bd,RETRY_CONFIG[_0x42c67f(0x162)]);}return logger[_0x42c67f(0x13e)](_0x42c67f(0x197)+_0x13db3c+'\x20('+_0x4c2dd1+')'),!![];}catch(_0x19bf15){_0x213955=_0x19bf15,logger[_0x42c67f(0x141)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x13db3c+_0x42c67f(0x1e4)+_0x4c2dd1+').\x20Error:\x20'+_0x19bf15['message']);}}return logger[_0x42c67f(0x146)](_0x42c67f(0x124)+_0x4c2dd1+').\x20Last\x20error:\x20'+(_0x213955?.[_0x42c67f(0x1b2)]||_0x36a1e2[_0x42c67f(0x176)])),![];};
|
|
1
|
+
const a106_0xba7b6=a106_0x5198;(function(_0xc6578,_0x2568e5){const _0x1f919d=a106_0x5198,_0x4f0d9c=_0xc6578();while(!![]){try{const _0x132d46=-parseInt(_0x1f919d(0x220))/0x1*(parseInt(_0x1f919d(0x252))/0x2)+-parseInt(_0x1f919d(0x262))/0x3*(parseInt(_0x1f919d(0x241))/0x4)+-parseInt(_0x1f919d(0x1d4))/0x5+-parseInt(_0x1f919d(0x1c0))/0x6+parseInt(_0x1f919d(0x22a))/0x7+-parseInt(_0x1f919d(0x1fe))/0x8*(-parseInt(_0x1f919d(0x259))/0x9)+-parseInt(_0x1f919d(0x266))/0xa*(-parseInt(_0x1f919d(0x1d6))/0xb);if(_0x132d46===_0x2568e5)break;else _0x4f0d9c['push'](_0x4f0d9c['shift']());}catch(_0x12dd20){_0x4f0d9c['push'](_0x4f0d9c['shift']());}}}(a106_0x3a2f,0x8103b));function a106_0x3a2f(){const _0x5cf2b6=['WebDriver','LVuhE','noxVD','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','yXtHn','UPFqK','allSettled','Accessibility\x20results\x20save\x20attempt\x20','__workerDetails','options','tsSGu','scanSucceeded','fQiXA','driverType','getAccessibilityResults','isSeleniumDriver','ULUeI','../../bin/playwright/accessibility-helper','jdPmX','isPlaywright','browserstackSessionName','Playwright','tolfe','goto','VJzzj','LnXCR','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','Comprehensive\x20accessibility\x20scan\x20failed\x20(','rebAw','isMobilePlatform','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','setDefaultTimeout',',\x20cannot\x20perform\x20scan\x20with\x20retry.','mmEOB',').\x20Error:\x20','6034680zyJaQS','assign','QcapH','getAccessibilityModule','DVZdK','results','reason','defaultTimeoutMs','KmyQM','Accessibility\x20retry\x20configuration\x20updated:\x20','woriE','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','pEJXx','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','resolveMobileThTestRunUuid','oDoYs','wvlBG','getInstance','OXCDW',').\x20Last\x20error:\x20','2209080pgSFQc','../globals','4708154GqJNQI','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Operation\x20timed\x20out\x20after\x20','JvnJl','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','xVaVU','XtnFp','timeouts','../../bin/v2/browserstackCLI','fulfilled','wDtuk','TFXmw',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','yYocu','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','accessibilityPlatform','race','maxRetries','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','manage','tXSSU','max','dqMXl','pvUdD','performScan','ZgqTD','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','getCurrentUrl','AwyOK','isRunning','jcgMH','updateRetryConfig','\x20failed\x20(','Skipping\x20timeout\x20setting\x20for\x20','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','Playwright\x20accessibility\x20helper\x20not\x20available','ms\x20using\x20setScriptTimeout\x20API','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','nVIHX','executeAsyncScript','15536WLoOOT','dafRK','unknown_method','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Unknown\x20driver/page\x20type:\x20','axTPK','selenium-webdriver','isAccessibilityPlatform','YfGYp','status','qXeLu','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','ms\x20using\x20setTimeouts\x20API','\x20completed\x20successfully.','wTiwO','sJUes','kpLaS','winstonLogger','WbvTh','OxueA','setScriptTimeout','WJRKn','../performance/constants','VqQfM','getCapabilities','currentTest','nhOBG','ROFuw','message','saveTestResults','name','isAccessibilityAutomationSession','getAccessibilityResultsWithRetry','AqBaZ','1ZlQfnL','vJdie','getAccessibilityResultsSummaryWithRetry','bstackA11yShouldScan','jNOrC','debug','playwright-page','error','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','):\x20','715260DRwmLq','\x20failed\x20for\x20method:\x20','performScanWithRetry','niJNN','ydsLY','NvuXQ','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','bVdhG','script','stringify','cFwCr','value','warn','performComprehensiveAccessibilityScanWithRetry','Unknown\x20error','LwsvF','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','function','getAccessibilityResultsSummary','gxHDr','accessibilityConfig','Accessibility\x20results\x20retrieval\x20attempt\x20','VdkIL','64etcHCH','saveAccessibilityResultsWithRetry','USYbE','unknown','naJqF','Accessibility\x20scan\x20attempt\x20','wfpne','Fymrk','eXxNk','fSDEa','url','cBOiT','setTimeouts','bFEhK','rejected','evaluate','zjjaR','1296350sIigFS','xlnAi','getId','util','is_mobile_session','info','./scripts','2970cMCYmo','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','setSeleniumScriptTimeout','timeoutMs',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','env','GrjDP','QrXTt','48543XtqZfj','getGlobal','bstackA11yScanOptions','type','50fWIMaE','WErSn','setPlaywrightScriptTimeout','summary','oGSfl','SBZIy','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','ZDGsN','Scan\x20attempt\x20','KRVqh','./helper','playwright-codecept-driver','owmmw'];a106_0x3a2f=function(){return _0x5cf2b6;};return a106_0x3a2f();}const util=require(a106_0xba7b6(0x255)),logger=require('../logger')[a106_0xba7b6(0x20f)],accessibilityHelper=require(a106_0xba7b6(0x270)),globals=require(a106_0xba7b6(0x1d5)),scripts=require(a106_0xba7b6(0x258)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a106_0xba7b6(0x214)),BrowserstackCLI=require(a106_0xba7b6(0x1de));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a106_0xba7b6(0x284));}catch(a106_0x9302e7){logger[a106_0xba7b6(0x225)](a106_0xba7b6(0x1f9));}const a106_0x5a6d3d={};function a106_0x5198(_0x459fac,_0x500080){const _0x3a2fbb=a106_0x3a2f();return a106_0x5198=function(_0x519879,_0x119035){_0x519879=_0x519879-0x1bc;let _0x148a3b=_0x3a2fbb[_0x519879];return _0x148a3b;},a106_0x5198(_0x459fac,_0x500080);}a106_0x5a6d3d[a106_0xba7b6(0x1e7)]=0x1,a106_0x5a6d3d[a106_0xba7b6(0x25d)]=0x7530,a106_0x5a6d3d[a106_0xba7b6(0x1c7)]=0x7530;const RETRY_CONFIG=a106_0x5a6d3d,setConfigTimeout=(_0x360964,_0x4b7be7=null)=>{const _0x1bb879=a106_0xba7b6,_0x434e2f={'xlnAi':function(_0x5b4306,_0x47a141){return _0x5b4306===_0x47a141;},'USYbE':'scannerProcessingTimeout','Fymrk':function(_0x1c9732,_0xf30edd){return _0x1c9732*_0xf30edd;},'oGSfl':function(_0x189638,_0xd8cd73){return _0x189638(_0xd8cd73);}};if(BrowserstackCLI[_0x1bb879(0x1d1)]()[_0x1bb879(0x1f3)]()&&BrowserstackCLI[_0x1bb879(0x1d1)]()[_0x1bb879(0x1c3)]()){const _0x106258=BrowserstackCLI[_0x1bb879(0x1d1)]()[_0x1bb879(0x1c3)]()[_0x1bb879(0x23e)],_0x310eb6=_0x106258[_0x1bb879(0x27c)]['capabilitiesList']||[];for(const _0x48150f of _0x310eb6){_0x434e2f['xlnAi'](_0x48150f[_0x1bb879(0x21c)],_0x434e2f[_0x1bb879(0x243)])&&_0x434e2f[_0x1bb879(0x253)](_0x4b7be7,null)&&(_0x360964[_0x1bb879(0x25d)]=_0x434e2f['Fymrk'](_0x434e2f[_0x1bb879(0x26a)](parseInt,_0x48150f[_0x1bb879(0x235)]),0x3e8));}}else process[_0x1bb879(0x25f)][_0x1bb879(0x28d)]&&(_0x360964[_0x1bb879(0x25d)]=_0x434e2f[_0x1bb879(0x248)](_0x434e2f['oGSfl'](parseInt,process[_0x1bb879(0x25f)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x52ca91=>{const _0x12128f=a106_0xba7b6,_0x45736d={};_0x45736d[_0x12128f(0x1c8)]=_0x12128f(0x244),_0x45736d['oDoYs']=function(_0x3d21b9,_0x7e431f){return _0x3d21b9===_0x7e431f;},_0x45736d[_0x12128f(0x234)]='function',_0x45736d[_0x12128f(0x247)]=_0x12128f(0x226),_0x45736d[_0x12128f(0x22e)]=_0x12128f(0x204),_0x45736d[_0x12128f(0x240)]='Page',_0x45736d[_0x12128f(0x245)]=_0x12128f(0x273),_0x45736d[_0x12128f(0x24a)]=_0x12128f(0x288),_0x45736d[_0x12128f(0x23d)]=_0x12128f(0x271),_0x45736d['AqBaZ']=function(_0x570361,_0x1ff1a8){return _0x570361||_0x1ff1a8;},_0x45736d[_0x12128f(0x1fc)]='undefined';const _0x1f131d=_0x45736d;if(!_0x52ca91){const _0x549344={};return _0x549344[_0x12128f(0x286)]=![],_0x549344[_0x12128f(0x265)]=_0x1f131d[_0x12128f(0x1c8)],_0x549344;}if(_0x1f131d['oDoYs'](typeof _0x52ca91[_0x12128f(0x250)],_0x1f131d[_0x12128f(0x234)])&&_0x1f131d[_0x12128f(0x1cf)](typeof _0x52ca91[_0x12128f(0x24b)],_0x1f131d[_0x12128f(0x234)])&&_0x1f131d[_0x12128f(0x1cf)](typeof _0x52ca91[_0x12128f(0x28a)],_0x1f131d['cFwCr'])){const _0x4423d6={};return _0x4423d6[_0x12128f(0x286)]=!![],_0x4423d6[_0x12128f(0x265)]=_0x1f131d[_0x12128f(0x247)],_0x4423d6;}if(_0x1f131d[_0x12128f(0x1cf)](typeof _0x52ca91['executeAsyncScript'],_0x1f131d[_0x12128f(0x234)])&&_0x1f131d[_0x12128f(0x1cf)](typeof _0x52ca91[_0x12128f(0x216)],_0x1f131d[_0x12128f(0x234)])){const _0x2fa27d={};return _0x2fa27d[_0x12128f(0x286)]=![],_0x2fa27d[_0x12128f(0x265)]=_0x1f131d['ydsLY'],_0x2fa27d;}const _0x2ee858=_0x52ca91['constructor']?.[_0x12128f(0x21c)];if(_0x1f131d['oDoYs'](_0x2ee858,_0x1f131d[_0x12128f(0x240)])){const _0x4ca5ab={};return _0x4ca5ab[_0x12128f(0x286)]=!![],_0x4ca5ab[_0x12128f(0x265)]=_0x1f131d['wfpne'],_0x4ca5ab;}if(_0x1f131d[_0x12128f(0x1cf)](_0x2ee858,_0x1f131d[_0x12128f(0x245)])){const _0x201682={};return _0x201682['isPlaywright']=![],_0x201682[_0x12128f(0x265)]=_0x1f131d['ydsLY'],_0x201682;}if(_0x1f131d[_0x12128f(0x1cf)](_0x2ee858,_0x1f131d['fSDEa'])){const _0x2dd862={};return _0x2dd862['isPlaywright']=!![],_0x2dd862[_0x12128f(0x265)]=_0x1f131d['gxHDr'],_0x2dd862;}logger[_0x12128f(0x236)](_0x12128f(0x202)+_0x1f131d[_0x12128f(0x21f)](_0x2ee858,_0x1f131d[_0x12128f(0x1fc)]));const _0x378ca9={};return _0x378ca9[_0x12128f(0x286)]=![],_0x378ca9[_0x12128f(0x265)]=_0x1f131d[_0x12128f(0x1c8)],_0x378ca9;},withTimeout=(_0x56dd1d,_0x1d58b7)=>{const _0x246f43=a106_0xba7b6;return Promise[_0x246f43(0x1e6)]([_0x56dd1d,new Promise((_0x2c3450,_0xa25a85)=>setTimeout(()=>_0xa25a85(new Error(_0x246f43(0x1d8)+_0x1d58b7+'ms')),_0x1d58b7))]);};exports[a106_0xba7b6(0x22c)]=async(_0x5e1512,_0x900bb6=null,_0x24f065=null,_0x25298b=![],_0x1fe882=null)=>{const _0x2906ee=a106_0xba7b6,_0x3492a7={'xVaVU':function(_0x5f0b57,_0x570a19){return _0x5f0b57&&_0x570a19;},'EKPsM':function(_0x29c1f4,_0x535f5e,_0x26bf4f){return _0x29c1f4(_0x535f5e,_0x26bf4f);},'axTPK':function(_0x58c5b6,_0x1b494d){return _0x58c5b6===_0x1b494d;},'kpLaS':_0x2906ee(0x271),'sJUes':function(_0x1afb4a,_0x2afff8,_0x5589aa){return _0x1afb4a(_0x2afff8,_0x5589aa);},'fQiXA':function(_0x392bf9,_0x429d8a,_0x1a5bf8){return _0x392bf9(_0x429d8a,_0x1a5bf8);},'LwsvF':function(_0x3991ca,_0x5eef83){return _0x3991ca(_0x5eef83);},'WJRKn':function(_0x2188d3,_0x510b87){return _0x2188d3||_0x510b87;},'woriE':function(_0x25526b,_0x18e4db){return _0x25526b!==_0x18e4db;},'WbvTh':_0x2906ee(0x205),'GrjDP':function(_0x927e4a,_0x208bcf){return _0x927e4a!==_0x208bcf;},'UPFqK':_0x2906ee(0x223),'ZDGsN':function(_0x56600d,_0x142845){return _0x56600d===_0x142845;},'NvuXQ':_0x2906ee(0x1da),'wDtuk':_0x2906ee(0x200),'OxueA':_0x2906ee(0x23b),'qXeLu':function(_0x35607f,_0x175cb2){return _0x35607f<=_0x175cb2;},'WErSn':function(_0x4675c6,_0xc9b61d){return _0x4675c6+_0xc9b61d;},'wvlBG':function(_0x16839d,_0x23e257){return _0x16839d+_0x23e257;},'LVuhE':_0x2906ee(0x238)},{isPlaywright:_0x411f2e,type:_0x259957}=_0x3492a7[_0x2906ee(0x239)](detectDriverType,_0x5e1512),_0x363bcf=_0x25298b?_0x3492a7[_0x2906ee(0x213)](_0x1fe882,{}):global[_0x2906ee(0x264)]||{},_0x181436=_0x411f2e?global[_0x2906ee(0x1e5)]&&(_0x25298b||_0x3492a7[_0x2906ee(0x1ca)](global[_0x2906ee(0x223)],![])):accessibilityHelper[_0x2906ee(0x21d)]()&&globals[_0x2906ee(0x263)](_0x3492a7[_0x2906ee(0x210)])&&(_0x25298b||_0x3492a7[_0x2906ee(0x260)](globals[_0x2906ee(0x263)](_0x3492a7[_0x2906ee(0x278)]),![]));if(!_0x181436)return _0x411f2e&&global['accessibilityPlatform']&&_0x3492a7[_0x2906ee(0x26d)](global['bstackA11yShouldScan'],![])||!_0x411f2e&&globals[_0x2906ee(0x263)](_0x3492a7[_0x2906ee(0x210)])&&_0x3492a7[_0x2906ee(0x26d)](globals[_0x2906ee(0x263)](_0x3492a7['UPFqK']),![])?logger[_0x2906ee(0x225)](_0x3492a7[_0x2906ee(0x22f)]):logger['warn'](_0x2906ee(0x26c)+_0x259957+_0x2906ee(0x1bd)),![];const _0x1a494f=_0x900bb6||global[_0x2906ee(0x287)]||_0x3492a7[_0x2906ee(0x1e0)];let _0x4afbcf=null;const _0x467c7a={'testhub_btcer_uuid':global[_0x2906ee(0x27b)]?.[_0x2906ee(0x217)]?.['id'],'url':_0x3492a7[_0x2906ee(0x26d)](typeof _0x5e1512[_0x2906ee(0x24b)],_0x3492a7[_0x2906ee(0x211)])?await _0x5e1512['url']():_0x3492a7[_0x2906ee(0x203)](typeof _0x5e1512[_0x2906ee(0x1f1)],_0x3492a7[_0x2906ee(0x211)])?await _0x5e1512[_0x2906ee(0x1f1)]():'','automate_session_id':_0x3492a7[_0x2906ee(0x203)](typeof _0x5e1512['getSession'],_0x3492a7[_0x2906ee(0x211)])?(await _0x5e1512['getSession']())[_0x2906ee(0x254)]():''};for(let _0x4be2ab=0x1;_0x3492a7[_0x2906ee(0x208)](_0x4be2ab,_0x3492a7[_0x2906ee(0x267)](RETRY_CONFIG[_0x2906ee(0x1e7)],0x1));_0x4be2ab++){try{return logger[_0x2906ee(0x225)](_0x2906ee(0x246)+_0x4be2ab+'/'+_0x3492a7[_0x2906ee(0x1d0)](RETRY_CONFIG[_0x2906ee(0x1e7)],0x1)+'\x20for\x20method:\x20'+_0x1a494f+'\x20('+_0x259957+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5390aa=_0x2906ee;let _0x495af0;if(_0x3492a7[_0x5390aa(0x1db)](_0x411f2e,playwrightA11yHelper)){_0x3492a7['EKPsM'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x5390aa(0x268)](_0x5e1512,RETRY_CONFIG[_0x5390aa(0x25d)]);let _0x166330=_0x5e1512;_0x3492a7['axTPK'](_0x259957,_0x3492a7[_0x5390aa(0x20e)])&&(_0x166330=_0x5e1512['page']);const _0x225a6a=global['isMobilePlatform']?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x5390aa(0x1ce)]()}:{};_0x495af0=await _0x3492a7[_0x5390aa(0x20d)](withTimeout,playwrightA11yHelper[_0x5390aa(0x1ee)](_0x166330,_0x1a494f,_0x363bcf,_0x225a6a),RETRY_CONFIG[_0x5390aa(0x25d)]),await exports[_0x5390aa(0x268)](_0x5e1512,RETRY_CONFIG['defaultTimeoutMs']);}else await exports['setSeleniumScriptTimeout'](_0x5e1512,RETRY_CONFIG[_0x5390aa(0x25d)]),_0x495af0=await _0x3492a7[_0x5390aa(0x27f)](withTimeout,accessibilityHelper[_0x5390aa(0x1ee)](_0x5e1512,_0x1a494f,_0x25298b,_0x363bcf),RETRY_CONFIG[_0x5390aa(0x25d)]),await exports[_0x5390aa(0x25c)](_0x5e1512,RETRY_CONFIG[_0x5390aa(0x1c7)]);logger['debug'](_0x5390aa(0x26e)+_0x4be2ab+_0x5390aa(0x20b));},{'command':_0x1a494f,..._0x467c7a})(),logger[_0x2906ee(0x257)](_0x2906ee(0x25a)+_0x4be2ab+'.'),!![];}catch(_0x45d056){_0x4afbcf=_0x45d056,logger[_0x2906ee(0x225)](_0x2906ee(0x246)+_0x4be2ab+_0x2906ee(0x22b)+_0x1a494f+'\x20('+_0x259957+_0x2906ee(0x1bf)+_0x45d056[_0x2906ee(0x21a)]);}}return logger[_0x2906ee(0x227)](_0x2906ee(0x1f8)+_0x1a494f+'\x20('+_0x259957+')\x20with\x20error:\x20'+(_0x4afbcf?.[_0x2906ee(0x21a)]||_0x3492a7[_0x2906ee(0x274)])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x3ecb03,_0x5acef9)=>{const _0x249026=a106_0xba7b6,_0x293517={'OXCDW':function(_0x3e511d,_0x51bda2){return _0x3e511d(_0x51bda2);},'bTgpV':_0x249026(0x205),'QrXTt':function(_0x310e82,_0x1f6aee){return _0x310e82<=_0x1f6aee;},'dqMXl':function(_0x1954e1,_0x4a4514){return _0x1954e1+_0x4a4514;},'eXxNk':function(_0x556277,_0x3b4221){return _0x556277&&_0x3b4221;},'SBZIy':function(_0x4db30c,_0x214e66,_0x246408){return _0x4db30c(_0x214e66,_0x246408);},'rebAw':function(_0x455289,_0x338042,_0x4d2e19){return _0x455289(_0x338042,_0x4d2e19);},'niJNN':'Unknown\x20error'},{isPlaywright:_0x598359,type:_0x3857ec}=_0x293517[_0x249026(0x1d2)](detectDriverType,_0x3ecb03),_0x552d2d=_0x598359?_0x5acef9[_0x249026(0x1e5)]:accessibilityHelper[_0x249026(0x21d)]()&&globals['getGlobal'](_0x293517['bTgpV']);if(!_0x552d2d)return logger[_0x249026(0x236)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x3857ec+_0x249026(0x25b)),[];let _0xca8b7e=null;for(let _0x21bc7f=0x1;_0x293517[_0x249026(0x261)](_0x21bc7f,_0x293517[_0x249026(0x1ec)](RETRY_CONFIG[_0x249026(0x1e7)],0x1));_0x21bc7f++){try{logger[_0x249026(0x225)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x21bc7f+'/'+_0x293517[_0x249026(0x1ec)](RETRY_CONFIG[_0x249026(0x1e7)],0x1)+'\x20('+_0x3857ec+')');let _0x1d7b6b;return _0x293517[_0x249026(0x249)](_0x598359,playwrightA11yHelper)?(_0x293517['SBZIy'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x249026(0x268)](_0x3ecb03,RETRY_CONFIG[_0x249026(0x25d)]),_0x1d7b6b=await _0x293517[_0x249026(0x26b)](withTimeout,playwrightA11yHelper[_0x249026(0x281)](_0x3ecb03),RETRY_CONFIG['timeoutMs']),await exports[_0x249026(0x268)](_0x3ecb03,RETRY_CONFIG[_0x249026(0x1c7)])):(await exports[_0x249026(0x25c)](_0x3ecb03,RETRY_CONFIG['timeoutMs']),_0x1d7b6b=await _0x293517[_0x249026(0x28f)](withTimeout,accessibilityHelper[_0x249026(0x281)](_0x3ecb03,_0x5acef9),RETRY_CONFIG[_0x249026(0x25d)]),await exports[_0x249026(0x25c)](_0x3ecb03,RETRY_CONFIG[_0x249026(0x1c7)])),logger[_0x249026(0x257)](_0x249026(0x209)+_0x21bc7f+'\x20('+_0x3857ec+')'),_0x1d7b6b;}catch(_0x22df5b){_0xca8b7e=_0x22df5b,logger[_0x249026(0x236)](_0x249026(0x23f)+_0x21bc7f+_0x249026(0x1f6)+_0x3857ec+_0x249026(0x1bf)+_0x22df5b['message']);}}return logger[_0x249026(0x227)](_0x249026(0x230)+_0x3857ec+').\x20Last\x20error:\x20'+(_0xca8b7e?.[_0x249026(0x21a)]||_0x293517[_0x249026(0x22d)])),[];},exports[a106_0xba7b6(0x222)]=async(_0x1335ec,_0x18a03e)=>{const _0x23fc49=a106_0xba7b6,_0x4885ce={'KRVqh':function(_0x359f9e,_0x157353){return _0x359f9e(_0x157353);},'mZgio':_0x23fc49(0x205),'cBOiT':function(_0x50e026,_0x2237d6){return _0x50e026<=_0x2237d6;},'jNOrC':function(_0xea303c,_0x3da796){return _0xea303c+_0x3da796;},'owmmw':function(_0x52cf24,_0x397105){return _0x52cf24+_0x397105;},'vJdie':function(_0x48b851,_0x327e0b){return _0x48b851&&_0x327e0b;},'jdPmX':function(_0x4a753d,_0x281d75,_0x2afdb5){return _0x4a753d(_0x281d75,_0x2afdb5);},'zjjaR':function(_0x4c2db1,_0x7b12ec,_0x2cbdc1){return _0x4c2db1(_0x7b12ec,_0x2cbdc1);},'UQGKg':function(_0x3c134b,_0x3e9a71,_0x79d8f7){return _0x3c134b(_0x3e9a71,_0x79d8f7);},'VqQfM':'Unknown\x20error'},{isPlaywright:_0x46e3fd,type:_0x1f5893}=_0x4885ce[_0x23fc49(0x26f)](detectDriverType,_0x1335ec),_0x59c066=_0x46e3fd?_0x18a03e[_0x23fc49(0x1e5)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x23fc49(0x263)](_0x4885ce['mZgio']);if(!_0x59c066)return logger[_0x23fc49(0x236)](_0x23fc49(0x26c)+_0x1f5893+_0x23fc49(0x25e)),{};let _0x24f654=null;for(let _0x29e6a6=0x1;_0x4885ce[_0x23fc49(0x24c)](_0x29e6a6,_0x4885ce[_0x23fc49(0x224)](RETRY_CONFIG[_0x23fc49(0x1e7)],0x1));_0x29e6a6++){try{logger['debug'](_0x23fc49(0x1d7)+_0x29e6a6+'/'+_0x4885ce[_0x23fc49(0x272)](RETRY_CONFIG[_0x23fc49(0x1e7)],0x1)+'\x20('+_0x1f5893+')');let _0x577942;return _0x4885ce[_0x23fc49(0x221)](_0x46e3fd,playwrightA11yHelper)?(_0x4885ce[_0x23fc49(0x285)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x23fc49(0x268)](_0x1335ec,RETRY_CONFIG['timeoutMs']),_0x577942=await _0x4885ce[_0x23fc49(0x251)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x1335ec),RETRY_CONFIG[_0x23fc49(0x25d)]),await exports[_0x23fc49(0x268)](_0x1335ec,RETRY_CONFIG[_0x23fc49(0x1c7)])):(await exports[_0x23fc49(0x25c)](_0x1335ec,RETRY_CONFIG[_0x23fc49(0x25d)]),_0x577942=await _0x4885ce['UQGKg'](withTimeout,accessibilityHelper[_0x23fc49(0x23c)](_0x1335ec,_0x18a03e),RETRY_CONFIG['timeoutMs']),await exports[_0x23fc49(0x25c)](_0x1335ec,RETRY_CONFIG[_0x23fc49(0x1c7)])),logger[_0x23fc49(0x257)](_0x23fc49(0x23a)+_0x29e6a6+'\x20('+_0x1f5893+')'),_0x577942;}catch(_0x48f2a4){_0x24f654=_0x48f2a4,logger[_0x23fc49(0x236)](_0x23fc49(0x1d7)+_0x29e6a6+_0x23fc49(0x1f6)+_0x1f5893+_0x23fc49(0x1bf)+_0x48f2a4['message']);}}return logger[_0x23fc49(0x227)](_0x23fc49(0x1f0)+_0x1f5893+_0x23fc49(0x1d3)+(_0x24f654?.[_0x23fc49(0x21a)]||_0x4885ce[_0x23fc49(0x215)])),{};},exports[a106_0xba7b6(0x237)]=async(_0x495a3a,_0x2c18d0,_0x3fea6c=null)=>{const _0x6802db=a106_0xba7b6,_0x34709e={'pEJXx':function(_0x54d0b7,_0x2cad6d){return _0x54d0b7(_0x2cad6d);},'DVZdK':function(_0x511e59,_0x1e367d){return _0x511e59===_0x1e367d;},'mmEOB':_0x6802db(0x1df),'AwyOK':function(_0x2992be,_0x2abd34){return _0x2992be===_0x2abd34;},'IsZpz':function(_0xcf03ab,_0x550402){return _0xcf03ab===_0x550402;},'XtnFp':_0x6802db(0x24f),'bVdhG':_0x6802db(0x1e8)},{isPlaywright:_0x28a7f8,type:_0x232b9d}=_0x34709e[_0x6802db(0x1cc)](detectDriverType,_0x495a3a),_0x2f6e1e={};_0x2f6e1e[_0x6802db(0x27e)]=![],_0x2f6e1e['results']=[],_0x2f6e1e[_0x6802db(0x269)]={},_0x2f6e1e[_0x6802db(0x227)]=null,_0x2f6e1e[_0x6802db(0x280)]=_0x232b9d;const _0xb316c7=_0x2f6e1e;try{_0xb316c7['scanSucceeded']=await exports['performScanWithRetry'](_0x495a3a,_0x3fea6c);if(_0xb316c7[_0x6802db(0x27e)]){const [_0x4c9a24,_0x52de78]=await Promise[_0x6802db(0x279)]([exports[_0x6802db(0x21e)](_0x495a3a,_0x2c18d0),exports[_0x6802db(0x222)](_0x495a3a,_0x2c18d0)]);_0xb316c7[_0x6802db(0x1c5)]=_0x34709e['DVZdK'](_0x4c9a24[_0x6802db(0x207)],_0x34709e[_0x6802db(0x1be)])?_0x4c9a24[_0x6802db(0x235)]:[],_0xb316c7[_0x6802db(0x269)]=_0x34709e[_0x6802db(0x1f2)](_0x52de78[_0x6802db(0x207)],_0x34709e[_0x6802db(0x1be)])?_0x52de78[_0x6802db(0x235)]:{},_0x34709e['IsZpz'](_0x4c9a24['status'],_0x34709e['XtnFp'])&&logger[_0x6802db(0x236)]('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0x232b9d+_0x6802db(0x229)+_0x4c9a24[_0x6802db(0x1c6)]?.[_0x6802db(0x21a)]),_0x34709e[_0x6802db(0x1c4)](_0x52de78[_0x6802db(0x207)],_0x34709e[_0x6802db(0x1dc)])&&logger[_0x6802db(0x236)](_0x6802db(0x201)+_0x232b9d+_0x6802db(0x229)+_0x52de78[_0x6802db(0x1c6)]?.[_0x6802db(0x21a)]);}}catch(_0x240dfe){_0xb316c7['error']=_0x240dfe[_0x6802db(0x21a)]||_0x34709e[_0x6802db(0x231)],logger[_0x6802db(0x227)](_0x6802db(0x28e)+_0x232b9d+_0x6802db(0x229)+_0xb316c7[_0x6802db(0x227)]);}return _0xb316c7;},exports[a106_0xba7b6(0x1f5)]=_0x178eb6=>{const _0x138044=a106_0xba7b6,_0x4c1bff={};_0x4c1bff[_0x138044(0x206)]=function(_0x321467,_0x5964ec){return _0x321467!==_0x5964ec;},_0x4c1bff['yXtHn']=function(_0x5eb4a7,_0x10dcd2){return _0x5eb4a7!==_0x10dcd2;};const _0x1f9750=_0x4c1bff;_0x1f9750[_0x138044(0x206)](_0x178eb6[_0x138044(0x1e7)],undefined)&&(RETRY_CONFIG['maxRetries']=Math[_0x138044(0x1eb)](0x0,_0x178eb6['maxRetries'])),_0x1f9750[_0x138044(0x277)](_0x178eb6[_0x138044(0x25d)],undefined)&&(RETRY_CONFIG[_0x138044(0x25d)]=Math[_0x138044(0x1eb)](0x3e8,_0x178eb6['timeoutMs'])),logger[_0x138044(0x225)](_0x138044(0x1c9)+JSON[_0x138044(0x233)](RETRY_CONFIG));},exports['getRetryConfig']=()=>{const _0x386f91={...RETRY_CONFIG};return _0x386f91;},exports['isPlaywrightPage']=_0x1fe668=>{const _0x35a537=a106_0xba7b6,_0x1ae93f={'JvnJl':function(_0x1365e5,_0xa36863){return _0x1365e5(_0xa36863);}};return _0x1ae93f[_0x35a537(0x1d9)](detectDriverType,_0x1fe668)['isPlaywright'];},exports[a106_0xba7b6(0x282)]=_0x208f63=>{const _0x35799b=a106_0xba7b6,_0x3e3dbe={'tolfe':function(_0x5e5b43,_0x24191f){return _0x5e5b43(_0x24191f);},'vSaSC':function(_0x38cb96,_0x459d42){return _0x38cb96===_0x459d42;},'QcapH':_0x35799b(0x204)},{isPlaywright:_0x1d7937,type:_0x2ea939}=_0x3e3dbe[_0x35799b(0x289)](detectDriverType,_0x208f63);return!_0x1d7937&&_0x3e3dbe['vSaSC'](_0x2ea939,_0x3e3dbe[_0x35799b(0x1c2)]);},exports[a106_0xba7b6(0x268)]=async(_0x762638,_0x373867=null)=>{const _0x140ad8=a106_0xba7b6,_0xa89a25={'LnXCR':function(_0x453721,_0x47967a){return _0x453721(_0x47967a);},'jcgMH':function(_0x31a536,_0x34164f){return _0x31a536===_0x34164f;},'yYocu':_0x140ad8(0x23b)},{isPlaywright:_0x5a70a4,type:_0x3a5f90}=_0xa89a25[_0x140ad8(0x28c)](detectDriverType,_0x762638);if(!_0x5a70a4)return logger['debug'](_0x140ad8(0x1f7)+_0x3a5f90+'\x20-\x20not\x20applicable'),!![];const _0x307b57=_0x373867||RETRY_CONFIG[_0x140ad8(0x1c7)];try{return _0x762638&&_0xa89a25[_0x140ad8(0x1f4)](typeof _0x762638[_0x140ad8(0x1bc)],_0xa89a25[_0x140ad8(0x1e3)])&&(await _0x762638['setDefaultTimeout'](_0x307b57),logger['debug'](_0x140ad8(0x1e4)+_0x307b57+'ms')),!![];}catch(_0x513f1e){return logger[_0x140ad8(0x236)](_0x140ad8(0x1fb)+_0x513f1e['message']),![];}},exports[a106_0xba7b6(0x25c)]=async(_0x39464e,_0x518bf6=null)=>{const _0x209a56=a106_0xba7b6,_0x111960={};_0x111960[_0x209a56(0x1ed)]=_0x209a56(0x276),_0x111960[_0x209a56(0x1ea)]=function(_0x55a2e4,_0x3777e4){return _0x55a2e4===_0x3777e4;},_0x111960[_0x209a56(0x24e)]='function',_0x111960['noxVD']=function(_0x363432,_0x4ac735){return _0x363432===_0x4ac735;},_0x111960['ehHak']=function(_0x36bad6,_0x257e5f){return _0x36bad6===_0x257e5f;},_0x111960['ZgqTD']=function(_0x4ca1b1,_0x941dd8){return _0x4ca1b1===_0x941dd8;},_0x111960[_0x209a56(0x218)]=_0x209a56(0x1cd),_0x111960[_0x209a56(0x28b)]=_0x209a56(0x291);const _0x19ae11=_0x111960;if(!exports[_0x209a56(0x282)](_0x39464e))return logger[_0x209a56(0x236)](_0x19ae11[_0x209a56(0x1ed)]),![];const _0x5d3f12=_0x518bf6||RETRY_CONFIG[_0x209a56(0x1c7)];try{if(_0x39464e&&_0x19ae11['tXSSU'](typeof _0x39464e[_0x209a56(0x1e9)],_0x19ae11[_0x209a56(0x24e)])){const _0x1b9973=_0x39464e[_0x209a56(0x1e9)]();if(_0x1b9973&&_0x19ae11[_0x209a56(0x275)](typeof _0x1b9973['timeouts'],_0x19ae11[_0x209a56(0x24e)]))await _0x1b9973[_0x209a56(0x1dd)]()['setScriptTimeout'](_0x5d3f12),logger[_0x209a56(0x225)](_0x209a56(0x228)+_0x5d3f12+'ms\x20using\x20timeouts()\x20API');else{if(_0x1b9973&&_0x19ae11['ehHak'](typeof _0x1b9973[_0x209a56(0x24d)],_0x19ae11['bFEhK'])){const _0x465cf7={};_0x465cf7[_0x209a56(0x232)]=_0x5d3f12,await _0x1b9973['setTimeouts'](_0x465cf7),logger[_0x209a56(0x225)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x5d3f12+_0x209a56(0x20a));}else{if(_0x1b9973&&_0x19ae11[_0x209a56(0x1ef)](typeof _0x1b9973[_0x209a56(0x212)],_0x19ae11['bFEhK']))await _0x1b9973['setScriptTimeout'](_0x5d3f12),logger['debug'](_0x209a56(0x228)+_0x5d3f12+_0x209a56(0x1fa));else return logger[_0x209a56(0x225)](_0x19ae11['nhOBG']),!![];}}}else return logger['debug'](_0x19ae11[_0x209a56(0x28b)]),!![];return!![];}catch(_0x2edd51){return logger['warn']('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x2edd51[_0x209a56(0x21a)]),![];}},exports[a106_0xba7b6(0x242)]=async(_0x55d365,_0x12926c)=>{const _0x365fa0=a106_0xba7b6,_0x237912={'ROFuw':function(_0xe3848b,_0x55af00){return _0xe3848b(_0x55af00);},'wTiwO':_0x365fa0(0x205),'xCzdf':function(_0x5cb449,_0x2e081a){return _0x5cb449<=_0x2e081a;},'dafRK':function(_0x43382b,_0x14ae43){return _0x43382b+_0x14ae43;},'zTZDa':function(_0x4c070b,_0x40e715){return _0x4c070b&&_0x40e715;},'tsSGu':function(_0x217fd9,_0x5ce554,_0x213c23){return _0x217fd9(_0x5ce554,_0x213c23);},'demaN':function(_0x4cd406,_0x3f508f,_0x3168ea){return _0x4cd406(_0x3f508f,_0x3168ea);},'TFXmw':_0x365fa0(0x290),'ULUeI':'Unknown\x20error'},{isPlaywright:_0x5d2a5a,type:_0x28191e}=_0x237912[_0x365fa0(0x219)](detectDriverType,_0x55d365),_0x161efd=_0x5d2a5a?global[_0x365fa0(0x1e5)]:accessibilityHelper[_0x365fa0(0x21d)]()&&globals[_0x365fa0(0x263)](_0x237912[_0x365fa0(0x20c)]);if(!_0x161efd)return logger[_0x365fa0(0x236)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x28191e+_0x365fa0(0x1e2)),![];let _0x4d3b7f=null;for(let _0x543789=0x1;_0x237912['xCzdf'](_0x543789,_0x237912['dafRK'](RETRY_CONFIG[_0x365fa0(0x1e7)],0x1));_0x543789++){try{logger['debug'](_0x365fa0(0x27a)+_0x543789+'/'+_0x237912[_0x365fa0(0x1ff)](RETRY_CONFIG[_0x365fa0(0x1e7)],0x1)+'\x20('+_0x28191e+')');if(_0x237912['zTZDa'](_0x5d2a5a,playwrightA11yHelper)){_0x237912[_0x365fa0(0x27d)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x365fa0(0x268)](_0x55d365,RETRY_CONFIG['timeoutMs']);const _0x2cd13f={};_0x2cd13f[_0x365fa0(0x256)]=!![];const _0x234596=global[_0x365fa0(0x290)]?Object[_0x365fa0(0x1c1)]({},_0x12926c,_0x2cd13f):_0x12926c;await _0x237912['demaN'](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x55d365,scripts[_0x365fa0(0x21b)],_0x234596),RETRY_CONFIG[_0x365fa0(0x25d)]),await exports[_0x365fa0(0x268)](_0x55d365,RETRY_CONFIG[_0x365fa0(0x1c7)]);}else{await exports['setSeleniumScriptTimeout'](_0x55d365,RETRY_CONFIG[_0x365fa0(0x25d)]);const _0x216dd7={};_0x216dd7[_0x365fa0(0x256)]=!![];const _0x45ff88=globals[_0x365fa0(0x263)](_0x237912[_0x365fa0(0x1e1)])?Object['assign']({},_0x12926c,_0x216dd7):_0x12926c;await _0x237912['tsSGu'](withTimeout,_0x55d365[_0x365fa0(0x1fd)](scripts[_0x365fa0(0x21b)],_0x45ff88),RETRY_CONFIG['timeoutMs']),await exports[_0x365fa0(0x25c)](_0x55d365,RETRY_CONFIG[_0x365fa0(0x1c7)]);}return logger[_0x365fa0(0x257)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x543789+'\x20('+_0x28191e+')'),!![];}catch(_0x26a375){_0x4d3b7f=_0x26a375,logger['warn']('Accessibility\x20results\x20save\x20attempt\x20'+_0x543789+_0x365fa0(0x1f6)+_0x28191e+').\x20Error:\x20'+_0x26a375[_0x365fa0(0x21a)]);}}return logger['error'](_0x365fa0(0x1cb)+_0x28191e+_0x365fa0(0x1d3)+(_0x4d3b7f?.[_0x365fa0(0x21a)]||_0x237912[_0x365fa0(0x283)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a107_0x55c2f8=a107_0x2eed;(function(_0x35222f,_0x619efc){var _0x4628d6=a107_0x2eed,_0x3d3723=_0x35222f();while(!![]){try{var _0x2beb5a=-parseInt(_0x4628d6(0x1ca))/0x1*(-parseInt(_0x4628d6(0x1c5))/0x2)+-parseInt(_0x4628d6(0x1c4))/0x3*(-parseInt(_0x4628d6(0x1d0))/0x4)+-parseInt(_0x4628d6(0x1cf))/0x5*(parseInt(_0x4628d6(0x1c2))/0x6)+-parseInt(_0x4628d6(0x1c1))/0x7*(-parseInt(_0x4628d6(0x1bc))/0x8)+-parseInt(_0x4628d6(0x1be))/0x9+-parseInt(_0x4628d6(0x1bd))/0xa*(parseInt(_0x4628d6(0x1c0))/0xb)+-parseInt(_0x4628d6(0x1ce))/0xc*(-parseInt(_0x4628d6(0x1c9))/0xd);if(_0x2beb5a===_0x619efc)break;else _0x3d3723['push'](_0x3d3723['shift']());}catch(_0x3d1c22){_0x3d3723['push'](_0x3d3723['shift']());}}}(a107_0x5c32,0x5393e),exports['API_URL']='https://accessibility.browserstack.com/api',exports['MINIMUM_BROWSER_VERSION_ACCESSIBILITY']='94',exports[a107_0x55c2f8(0x1d3)]='100',exports[a107_0x55c2f8(0x1c8)]='141',exports[a107_0x55c2f8(0x1c7)]='18.4');var a107_0x2f8dfc={};a107_0x2f8dfc[a107_0x55c2f8(0x1c3)]=a107_0x55c2f8(0x1b9),a107_0x2f8dfc[a107_0x55c2f8(0x1bb)]=0x5e,a107_0x2f8dfc[a107_0x55c2f8(0x1cc)]=0x64,a107_0x2f8dfc[a107_0x55c2f8(0x1bf)]=!![];var a107_0x565a95={};a107_0x565a95[a107_0x55c2f8(0x1c3)]=a107_0x55c2f8(0x1b9),a107_0x565a95[a107_0x55c2f8(0x1bb)]=0x5e,a107_0x565a95[a107_0x55c2f8(0x1cc)]=0x64,a107_0x565a95[a107_0x55c2f8(0x1bf)]=!![];function a107_0x2eed(_0x170250,_0x2288b5){var _0x5c32dc=a107_0x5c32();return a107_0x2eed=function(_0x2eedba,_0x20852b){_0x2eedba=_0x2eedba-0x1b9;var _0xb02c2c=_0x5c32dc[_0x2eedba];return _0xb02c2c;},a107_0x2eed(_0x170250,_0x2288b5);}var a107_0x14759e={};a107_0x14759e[a107_0x55c2f8(0x1c3)]='Chrome',a107_0x14759e['min_version_browserstack']=0x5e,a107_0x14759e[a107_0x55c2f8(0x1cc)]=0x64,a107_0x14759e['requires_chrome_options_check']=!![];var a107_0x1f04fc={};a107_0x1f04fc[a107_0x55c2f8(0x1c3)]='ChromeForTesting',a107_0x1f04fc[a107_0x55c2f8(0x1bb)]=0x8d,a107_0x1f04fc[a107_0x55c2f8(0x1cc)]=0x8d,a107_0x1f04fc[a107_0x55c2f8(0x1bf)]=!![];var a107_0x555397={};a107_0x555397[a107_0x55c2f8(0x1c3)]=a107_0x55c2f8(0x1ba),a107_0x555397[a107_0x55c2f8(0x1bb)]=18.4,a107_0x555397[a107_0x55c2f8(0x1cc)]=18.4,a107_0x555397[a107_0x55c2f8(0x1bf)]=![];function a107_0x5c32(){var _0x337fba=['chromium','MINIMUM_SAFARI_VERSION','MINIMUM_CHROMEFORTESTING_VERSION','43277rXuSOQ','89qvZFTJ','chrome','min_version_non_browserstack','safari','2364UVHcGf','1207615yXzXfH','88372JbGbdZ','chromefortesting','playwright-chromium','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','Chrome','Safari','min_version_browserstack','8tdUelh','90070WnGWyP','1119663AJCfhL','requires_chrome_options_check','781UeUIBE','2942716IQRSfX','6bodfMT','display_name','3zigOpB','5606iOqwSs'];a107_0x5c32=function(){return _0x337fba;};return a107_0x5c32();}var a107_0x4916f2={};a107_0x4916f2[a107_0x55c2f8(0x1cb)]=a107_0x2f8dfc,a107_0x4916f2[a107_0x55c2f8(0x1c6)]=a107_0x565a95,a107_0x4916f2[a107_0x55c2f8(0x1d2)]=a107_0x14759e,a107_0x4916f2[a107_0x55c2f8(0x1d1)]=a107_0x1f04fc,a107_0x4916f2[a107_0x55c2f8(0x1cd)]=a107_0x555397,exports['ACCESSIBILITY_SUPPORTED_BROWSERS']=a107_0x4916f2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a108_0x5abc(){const _0x556d6b=['chromeOptions_','playwright','mpGhA','set','scannerVersion','isBrowserstackInfra','VfOwB','resolveMobileThTestRunUuid','MlpRz','startsWith','accessibilityToken','toLowerCase','goog:chromeOptions','MOBILE_SCANNING_DISABLED_WARNING','util','glbIz','bkrOA','./constants','WyGCg','BS_A11Y_JWT','success','nestedKeyValue','VEjmo','includes','CEyhb','display_name','browserstack_executor','pEIUw','accessibility','toISOString','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','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).','udFaX','GET_RESULTS_SUMMARY','PUT','Options','pass','BROWSERSTACK_TURBOSCALE','message','UXMrW','pwIyy','Build\x20creation\x20had\x20failed.','SwNCN','buildDescription','basename','eIjbN','rBFRp','gaMcr','XROAo','platforms','PkZiy','includeTagsInTestingScope','isBrowserSupportedForAccessibility','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','format','fRAHo','measureWrapper','uQIbt','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','1571640QqiOJl','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','true','getMobileA11yCapabilities','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','compareVersions','command','Performing\x20scan\x20before\x20getting\x20results\x20summary','Lmyvp','getAccessibilityResults','getResultsSummary','assign','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','from','excludeTagsInTestingScope','getCapabilities','isUndefined',']\x20but\x20thTestRunUuid\x20is\x20','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','20IDmLoJ','errors','executeAsyncScript','./scripts','currentTest','browserstackSessionName','function','vOggU','olETM','isMobileAccessibilitySession','map','hYZta','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','4644mxvreu','getHostInfo','Bearer\x20','undefined','options_','a11y:start','requires_chrome_options_check','chrome','../performance/constants','browserVersion','opYmV','MfTwe','debug','DcxfS','ChromeExtension','sVECt','buildName','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','OGEZl','SkalA','isMobileAccessibilityPlatform','replace','PLRxb','WAaJj','71411oYbBXF','v2/test_runs','bstack:options','getPlatform','requireModule','KXlxt','RzQax','gLEWi','ucwIi','zqeDC','get','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','cZpms','NxxlH','../performance/performance-tester','--headless','../globals','setNonBstackInfraCapabilities','vdzCW','application/json','method','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','fQXgZ','yqfBD','base64','wHMsv','min_version_browserstack','ghQPD','Authorization','POST','bLUEY','parseA11yJwtPayload','stringify','wVnQZ','CBopB','1888YlnWBg','cDCFy','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','dSxvf','Invalid\x20configuration\x20passed.','getAccessibilityResultsSummary','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','forEach','aOLws','a11y:stop','bVgzS','Content-Type','executeScript','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','SHVvg','jekjC','getAccessKey','nodeRequest','performScan','cXIeY','getResults','KGNXH','headers','wait','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','Performed\x20scan\x20with\x20result:\x20','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','__workerDetails','BVWWR','auth','device','GET_RESULTS','min_version_non_browserstack','return\x20document.readyState\x20===\x20\x22complete\x22','AxPDy','LuJXo','rcqdF','FrJSL','qGsKi','isAccessibilityAutomationSession','selenium-webdriver/chrome.js','getGlobal','isMobileScanningEnabledForGroup','rUiOG','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','dkVwn','stack','--headless=','capabilities_','csYfQ','AApIA','srbkV','parseFromJson','isVersionSupported','EiTcd','isAccessibilityPlatform','bjcqk','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','thTestRunUuid','createAccessibilityTestRun','RiaaD','CyzqL','parse','../logger','../helper','\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.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','nUyWG','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','keys','fetchPlatformDetails','toString','KdtWn','cwd','274341DaXtQv','zkwph','TUNZV','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','statusText','Ixnwh','427506rfhiJE','--headless=new','getBrowserA11yConfig','tlZya','Performing\x20scan\x20before\x20getting\x20results','ZlzrN','status','uiurz','string','LTwaj','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Invalid\x20request:\x20','error','nwtrc','getBrowserName','split','EksmN','is_mobile_session','info','IdTHD','4BptkdV','getMinVersionForBrowser','data','PoZQU','response','VUxWt','zsARM','RLdFU','getUserName','bstackA11yShouldScan','isArray','cmrIC','env','pKpeb','trim','XeavT','2669130jVaRdZ','length','some','script','browserstack','No\x20accessibility\x20results\x20were\x20found.','body','isBrowserStackCommandExecutor','EZSTB','GDtPZ','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','json','ISxSM','Not\x20a\x20Accessibility\x20Session','browserName','frBTX','72460MObDZF','isTrue','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','args','warn','getPlatformVersion','javascript'];a108_0x5abc=function(){return _0x556d6b;};return a108_0x5abc();}const a108_0x519cc1=a108_0x1723;function a108_0x1723(_0x2adf63,_0x392278){const _0x5abc4b=a108_0x5abc();return a108_0x1723=function(_0x172312,_0x31e4c0){_0x172312=_0x172312-0x134;let _0x464115=_0x5abc4b[_0x172312];return _0x464115;},a108_0x1723(_0x2adf63,_0x392278);}(function(_0x29fd1f,_0x5b693e){const _0x299c5a=a108_0x1723,_0x15690f=_0x29fd1f();while(!![]){try{const _0x5951b9=parseInt(_0x299c5a(0x20d))/0x1*(-parseInt(_0x299c5a(0x172))/0x2)+parseInt(_0x299c5a(0x157))/0x3+-parseInt(_0x299c5a(0x192))/0x4*(-parseInt(_0x299c5a(0x1e8))/0x5)+-parseInt(_0x299c5a(0x15e))/0x6+-parseInt(_0x299c5a(0x1d5))/0x7+parseInt(_0x299c5a(0x230))/0x8*(parseInt(_0x299c5a(0x1f5))/0x9)+parseInt(_0x299c5a(0x182))/0xa;if(_0x5951b9===_0x5b693e)break;else _0x15690f['push'](_0x15690f['shift']());}catch(_0x298f3e){_0x15690f['push'](_0x15690f['shift']());}}}(a108_0x5abc,0x1bd53));const path=require('path'),util=require(a108_0x519cc1(0x1a7)),bsSetupHelper=require(a108_0x519cc1(0x14d)),logger=require(a108_0x519cc1(0x14c))[a108_0x519cc1(0x1d3)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a108_0x519cc1(0x1aa)),PerformanceTester=require(a108_0x519cc1(0x21b)),scripts=require(a108_0x519cc1(0x1eb)),globals=require(a108_0x519cc1(0x21d)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a108_0x519cc1(0x1fd));exports[a108_0x519cc1(0x153)]=async _0x4fec80=>{const _0x1ba88d=a108_0x519cc1,_0x464654={};_0x464654[_0x1ba88d(0x21a)]=function(_0x4d5a28,_0x5b6f79){return _0x4d5a28===_0x5b6f79;},_0x464654[_0x1ba88d(0x1c3)]=_0x1ba88d(0x186);const _0x533722=_0x464654;let _0x3b3688={};try{const _0x4a54f6=await _0x4fec80['getCapabilities']();_0x3b3688={'os_name':_0x4a54f6[_0x1ba88d(0x210)](),'os_version':bsSetupHelper[_0x1ba88d(0x197)](_0x533722['NxxlH'](global['__cloud_provider___'],_0x533722['SwNCN'])),'browser_name':_0x4a54f6[_0x1ba88d(0x16c)](),'browser_version':_0x4a54f6['getBrowserVersion']()};}catch(_0x45a323){logger['debug'](_0x1ba88d(0x139)+_0x45a323);}return _0x3b3688;},exports[a108_0x519cc1(0x134)]=()=>{const _0x2bcc33=a108_0x519cc1,_0x59919b={};_0x59919b[_0x2bcc33(0x143)]=function(_0x2e3be5,_0x5de95e){return _0x2e3be5===_0x5de95e;},_0x59919b[_0x2bcc33(0x212)]='string',_0x59919b[_0x2bcc33(0x223)]=function(_0x553e29,_0x4ef117){return _0x553e29>_0x4ef117;},_0x59919b[_0x2bcc33(0x233)]=function(_0x35d318,_0x462c51){return _0x35d318!==_0x462c51;},_0x59919b[_0x2bcc33(0x149)]='null',_0x59919b[_0x2bcc33(0x16e)]=function(_0x1f1aec,_0x3729cd){return _0x1f1aec&&_0x3729cd;};const _0xc08b08=_0x59919b;try{const _0x4364a2=bsSetupHelper['isTrue'](process[_0x2bcc33(0x17e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper['isTrue'](process[_0x2bcc33(0x17e)][_0x2bcc33(0x1d4)]),_0x52a8fe=_0xc08b08[_0x2bcc33(0x143)](typeof process[_0x2bcc33(0x17e)][_0x2bcc33(0x1ac)],_0xc08b08['KXlxt'])&&_0xc08b08[_0x2bcc33(0x223)](process[_0x2bcc33(0x17e)][_0x2bcc33(0x1ac)][_0x2bcc33(0x183)],0x0)&&_0xc08b08[_0x2bcc33(0x233)](process[_0x2bcc33(0x17e)][_0x2bcc33(0x1ac)],_0xc08b08['RiaaD']);return _0xc08b08[_0x2bcc33(0x16e)](_0x4364a2,_0x52a8fe);}catch(_0x1745e4){logger[_0x2bcc33(0x201)](_0x2bcc33(0x18c)+_0x1745e4);}return![];},exports['nonBstackPlatformValidation']=(_0x3a863a,_0x5a1dff)=>{const _0x3d92c8=a108_0x519cc1,_0x11b954={'uPrCH':_0x3d92c8(0x190),'wVnQZ':function(_0x104366,_0x248f7a){return _0x104366(_0x248f7a);},'MfTwe':_0x3d92c8(0x1fe),'VEjmo':'version','gLEWi':_0x3d92c8(0x20f),'OGEZl':function(_0x2b8674,_0x1dfe7f){return _0x2b8674(_0x1dfe7f);},'SHVvg':'deviceName','yqfBD':_0x3d92c8(0x24f),'zsARM':_0x3d92c8(0x1d6),'mlZiO':_0x3d92c8(0x135),'pEIUw':'selenium-webdriver','CyzqL':_0x3d92c8(0x1f9),'udFaX':_0x3d92c8(0x195),'frBTX':'chromeOptions','XeavT':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','ZlzrN':_0x3d92c8(0x1a5),'FrJSL':function(_0x1caf60,_0x1c6d14){return _0x1caf60===_0x1c6d14;},'PoZQU':_0x3d92c8(0x1fc),'zkwph':function(_0x5c4603,_0xa32936){return _0x5c4603>=_0xa32936;}},_0x2ae14f=_0x3a863a['get'](_0x11b954['uPrCH']),_0x38df3c=_0x11b954[_0x3d92c8(0x22e)](parseFloat,_0x3a863a[_0x3d92c8(0x217)](_0x11b954[_0x3d92c8(0x200)]))||_0x11b954[_0x3d92c8(0x22e)](parseFloat,_0x3a863a[_0x3d92c8(0x217)](_0x11b954[_0x3d92c8(0x1af)])),_0x3d970f=_0x3a863a[_0x3d92c8(0x217)](_0x11b954[_0x3d92c8(0x214)])||{},_0x141863=_0x11b954[_0x3d92c8(0x207)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x50c5ce=_0x3d970f[_0x11b954[_0x3d92c8(0x23e)]]||_0x3a863a[_0x3d92c8(0x217)](_0x11b954[_0x3d92c8(0x224)])||![];if(_0x50c5ce)return logger[_0x3d92c8(0x196)](_0x11b954[_0x3d92c8(0x178)]),![];let _0x2e664d;try{_0x2e664d=bsSetupHelper[_0x3d92c8(0x211)](_0x11b954['mlZiO'],_0x11b954[_0x3d92c8(0x1b4)]);}catch(_0x2f78df){return![];}const _0x269b2f=new _0x2e664d[(_0x3d92c8(0x1bc))](_0x5a1dff[_0x3d92c8(0x199)]),_0x43555f=bsSetupHelper['nestedKeyValue'](_0x269b2f,[_0x11b954[_0x3d92c8(0x14a)],_0x11b954[_0x3d92c8(0x1b9)]])||bsSetupHelper['nestedKeyValue'](_0x5a1dff[_0x3d92c8(0x13d)],[_0x11b954[_0x3d92c8(0x214)],_0x11b954[_0x3d92c8(0x191)],_0x11b954['udFaX']])||bsSetupHelper[_0x3d92c8(0x1ae)](_0x5a1dff[_0x3d92c8(0x13d)],[_0x11b954['frBTX'],_0x11b954[_0x3d92c8(0x1b9)]])||[],_0x30222c=Array['isArray'](_0x43555f)?_0x43555f:[];if(_0x30222c[_0x3d92c8(0x184)](_0x5dde48=>typeof _0x5dde48==='string'&&(_0x5dde48===_0x3d92c8(0x21c)||_0x5dde48['startsWith'](_0x3d92c8(0x13c))&&_0x5dde48!==_0x3d92c8(0x15f))))return logger['warn'](_0x11b954[_0x3d92c8(0x181)]),![];const _0x5c479d=_0x5a1dff['capabilities_']||{},_0x297b18=bsSetupHelper['nestedKeyValue'](_0x5c479d,[_0x11b954[_0x3d92c8(0x163)]])||{},_0x2fba42=bsSetupHelper['nestedKeyValue'](_0x297b18,[_0x11b954[_0x3d92c8(0x1b9)]])||[],_0x58428b=Array[_0x3d92c8(0x17c)](_0x2fba42)?_0x2fba42:[];if(_0x58428b['some'](_0x17d2b6=>typeof _0x17d2b6===_0x3d92c8(0x166)&&(_0x17d2b6===_0x3d92c8(0x21c)||_0x17d2b6[_0x3d92c8(0x1a2)](_0x3d92c8(0x13c))&&_0x17d2b6!=='--headless=new')))return logger['warn'](_0x11b954[_0x3d92c8(0x181)]),![];if(_0x11b954[_0x3d92c8(0x256)](_0x2ae14f['toLowerCase'](),_0x11b954[_0x3d92c8(0x175)])&&_0x11b954[_0x3d92c8(0x158)](_0x38df3c,_0x141863))return!![];return logger[_0x3d92c8(0x196)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a108_0x519cc1(0x21e)]=_0x194840=>{const _0x2b4579=a108_0x519cc1,_0x3f236b={};_0x3f236b[_0x2b4579(0x213)]=_0x2b4579(0x1a5),_0x3f236b['xrqct']=function(_0x34cd7d,_0x430e36){return _0x34cd7d||_0x430e36;},_0x3f236b[_0x2b4579(0x177)]=_0x2b4579(0x18f);const _0x56ea21=_0x3f236b,_0x31913b=scripts[_0x2b4579(0x203)];try{const _0x563607=bsSetupHelper[_0x2b4579(0x193)](process[_0x2b4579(0x17e)][_0x2b4579(0x168)])||bsSetupHelper[_0x2b4579(0x193)](process[_0x2b4579(0x17e)][_0x2b4579(0x1d4)]);if((!bsSetupHelper[_0x2b4579(0x19e)]()||process[_0x2b4579(0x17e)][_0x2b4579(0x1be)])&&_0x563607){const _0x509027=_0x194840['getCapabilities'](),_0x535cc0=_0x509027[_0x2b4579(0x217)](_0x56ea21[_0x2b4579(0x213)]),_0x525291=_0x56ea21['xrqct'](_0x535cc0,{});bsSetupHelper['mergeDeep'](_0x525291,_0x31913b),_0x194840['getCapabilities']()[_0x2b4579(0x19c)](_0x56ea21[_0x2b4579(0x213)],_0x525291);}else logger[_0x2b4579(0x196)](_0x56ea21[_0x2b4579(0x177)]);}catch(_0x1dfbee){logger['error'](_0x2b4579(0x15a)+_0x1dfbee);}},exports['shouldScanTestForAccessibility']=(_0x326028=null,_0x24724e=!![],_0x3b8eaf=[])=>{const _0x5edb03=a108_0x519cc1,_0x30cbfc={};_0x30cbfc['cZpms']=function(_0x478d06,_0x43b5cc){return _0x478d06==_0x43b5cc;},_0x30cbfc[_0x5edb03(0x22b)]=function(_0x55b74b,_0x321421){return _0x55b74b>_0x321421;},_0x30cbfc['LTwaj']=function(_0x5d9e7e,_0x1928b0){return _0x5d9e7e===_0x1928b0;},_0x30cbfc[_0x5edb03(0x138)]=function(_0x372e7c,_0x58c2f1){return _0x372e7c&&_0x58c2f1;},_0x30cbfc[_0x5edb03(0x19f)]=function(_0x3bd5a8,_0x3910db){return _0x3bd5a8===_0x3910db;};const _0xf825eb=_0x30cbfc;if(_0xf825eb[_0x5edb03(0x219)](process[_0x5edb03(0x17e)][_0x5edb03(0x222)],null))return!![];try{const _0x3dc2bc=JSON[_0x5edb03(0x14b)](process[_0x5edb03(0x17e)][_0x5edb03(0x222)]),_0x516482=Array[_0x5edb03(0x17c)](_0x3dc2bc[_0x5edb03(0x1cc)])?_0x3dc2bc['includeTagsInTestingScope']:[],_0x560537=Array[_0x5edb03(0x17c)](_0x3dc2bc['excludeTagsInTestingScope'])?_0x3dc2bc[_0x5edb03(0x1e3)]:[],_0x309563=_0x35b9f1=>typeof _0x35b9f1==='string'?_0x35b9f1[_0x5edb03(0x20a)](/^@/,'')[_0x5edb03(0x1a4)]()[_0x5edb03(0x180)]():_0x35b9f1;if(bsSetupHelper[_0x5edb03(0x1e5)](_0x326028)){if(_0xf825eb[_0x5edb03(0x22b)](_0x3b8eaf[_0x5edb03(0x183)],0x0)){const _0x31d23f=_0x3b8eaf[_0x5edb03(0x1f2)](_0x309563),_0x45409e=_0x560537['some'](_0x5d9b0b=>_0x31d23f[_0x5edb03(0x1b0)](_0x309563(_0x5d9b0b))),_0x1ed648=_0xf825eb[_0x5edb03(0x167)](_0x516482[_0x5edb03(0x183)],0x0)||_0x516482[_0x5edb03(0x184)](_0x3673dc=>_0x31d23f[_0x5edb03(0x1b0)](_0x309563(_0x3673dc)));return _0xf825eb[_0x5edb03(0x138)](!_0x45409e,_0x1ed648);}return!![];}let _0x1edb2b;_0x24724e?_0x1edb2b=_0x326028['join']('/'):_0x1edb2b=_0x326028;const _0x432a9b=_0x560537[_0x5edb03(0x184)](_0x57c8aa=>_0x1edb2b['toLowerCase']()['includes'](_0x309563(_0x57c8aa)['toLowerCase']())),_0x46efdf=_0xf825eb['VfOwB'](_0x516482[_0x5edb03(0x183)],0x0)||_0x516482['some'](_0x57bcf4=>_0x1edb2b[_0x5edb03(0x1a4)]()[_0x5edb03(0x1b0)](_0x309563(_0x57bcf4)[_0x5edb03(0x1a4)]()));return _0xf825eb[_0x5edb03(0x138)](!_0x432a9b,_0x46efdf);}catch(_0x390c2b){logger[_0x5edb03(0x201)](_0x5edb03(0x146)+util[_0x5edb03(0x1cf)](_0x390c2b));}return![];},exports['checkAccessibilityPlatformConfig']=_0x2d051=>{const _0x30f0ee=a108_0x519cc1;let _0x33b804=![];try{_0x2d051[_0x30f0ee(0x1ca)][_0x30f0ee(0x237)](_0x143344=>{const _0xd65267=_0x30f0ee;if(bsSetupHelper[_0xd65267(0x193)](_0x143344[_0xd65267(0x1b5)]))return _0x33b804=!![],!![];});}catch(_0xc946db){logger['debug'](_0x30f0ee(0x232)+_0xc946db);}return _0x33b804||bsSetupHelper[_0x30f0ee(0x193)](_0x2d051[_0x30f0ee(0x1b5)]);},exports[a108_0x519cc1(0x148)]=PerformanceTester[a108_0x519cc1(0x1d1)](a108_0x519cc1(0x1fa),async function(_0xbcb2bd,_0x550ce2){const _0x32a342=a108_0x519cc1,_0x1fa710={};_0x1fa710[_0x32a342(0x257)]=_0x32a342(0x24a),_0x1fa710[_0x32a342(0x1c9)]=_0x32a342(0x19a),_0x1fa710[_0x32a342(0x22f)]=_0x32a342(0x198),_0x1fa710['bjcqk']=_0x32a342(0x220),_0x1fa710[_0x32a342(0x23f)]=_0x32a342(0x22a),_0x1fa710['WAaJj']=_0x32a342(0x20e),_0x1fa710['opYmV']=function(_0x5281b2,_0xc396db){return _0x5281b2===_0xc396db;},_0x1fa710[_0x32a342(0x231)]=_0x32a342(0x234),_0x1fa710[_0x32a342(0x155)]='false';const _0x392147=_0x1fa710,_0x776a38=bsSetupHelper[_0x32a342(0x17a)](_0xbcb2bd),_0x1be714=bsSetupHelper[_0x32a342(0x240)](_0xbcb2bd);if(bsSetupHelper['isUndefined'](_0x776a38)||bsSetupHelper[_0x32a342(0x1e5)](_0x1be714))return logger[_0x32a342(0x16a)](_0x392147[_0x32a342(0x257)]),[null,null];try{let _0x8e50be;bsSetupHelper['isUndefined'](process[_0x32a342(0x17e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x8e50be={}:_0x8e50be=JSON[_0x32a342(0x14b)](process[_0x32a342(0x17e)][_0x32a342(0x222)]);const {name:_0x62a1c2,version:_0xfdc831}=bsSetupHelper['getTestFrameworkDetails'](_0xbcb2bd,_0x550ce2),_0x2da778={'projectName':_0xbcb2bd['projectName'],'buildName':_0xbcb2bd[_0x32a342(0x205)]||path[_0x32a342(0x1c5)](path['resolve'](process[_0x32a342(0x156)]())),'startTime':new Date()[_0x32a342(0x1b6)](),'description':_0xbcb2bd[_0x32a342(0x1c4)]||'','source':{'frameworkName':_0x550ce2[_0x32a342(0x1b0)](_0x392147[_0x32a342(0x1c9)])?_0x392147[_0x32a342(0x1c9)]:_0x550ce2,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x550ce2),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x392147[_0x32a342(0x22f)],'testFramework':_0x62a1c2,'testFrameworkVersion':_0xfdc831},'settings':_0x8e50be,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper[_0x32a342(0x1f6)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x57626d={};_0x57626d['user']=_0x776a38,_0x57626d[_0x32a342(0x1bd)]=_0x1be714;const _0x3f0463={};_0x3f0463['Content-Type']=_0x392147[_0x32a342(0x145)];const _0x29a630={};_0x29a630[_0x32a342(0x24e)]=_0x57626d,_0x29a630[_0x32a342(0x246)]=_0x3f0463;const _0x425c8c=_0x29a630,_0x1837a6={};_0x1837a6[_0x32a342(0x188)]=_0x2da778,_0x1837a6[_0x32a342(0x18d)]=!![];const _0x4ed31c=Object[_0x32a342(0x1e0)](_0x425c8c,_0x1837a6),_0x1a4ac0=await bsSetupHelper[_0x32a342(0x241)](_0x392147[_0x32a342(0x23f)],_0x392147[_0x32a342(0x20c)],_0x4ed31c,_0xbcb2bd,API_URL);let _0x57e24a=process[_0x32a342(0x17e)][_0x32a342(0x222)];return _0x57e24a?_0x57e24a=JSON['parse'](process[_0x32a342(0x17e)][_0x32a342(0x222)]):_0x57e24a={},scripts[_0x32a342(0x141)](_0x1a4ac0[_0x32a342(0x174)][_0x32a342(0x174)]),scripts['toJson'](),_0x57e24a[_0x32a342(0x19d)]=_0x1a4ac0['data']['data'][_0x32a342(0x19d)],process['env'][_0x32a342(0x222)]=JSON[_0x32a342(0x22d)](_0x57e24a),[_0x1a4ac0[_0x32a342(0x174)][_0x32a342(0x174)][_0x32a342(0x1a3)],_0x1a4ac0[_0x32a342(0x174)][_0x32a342(0x174)]['id']];}catch(_0x5114f4){if(_0x5114f4[_0x32a342(0x176)])logger[_0x32a342(0x16a)](_0x32a342(0x194)+_0x5114f4[_0x32a342(0x176)][_0x32a342(0x164)]+'\x20'+_0x5114f4['response']['statusText']+'\x20'+JSON[_0x32a342(0x22d)](_0x5114f4[_0x32a342(0x176)][_0x32a342(0x174)]));else{if(_0x392147[_0x32a342(0x1ff)](_0x5114f4[_0x32a342(0x1bf)],_0x392147['cDCFy'])){logger[_0x32a342(0x16a)](_0x32a342(0x194)+(_0x5114f4[_0x32a342(0x1bf)]||_0x5114f4['stack']));for(const _0xda33b of _0x5114f4[_0x32a342(0x1e9)]){logger[_0x32a342(0x16a)](_0xda33b[_0x32a342(0x1bf)]);}process[_0x32a342(0x17e)][_0x32a342(0x168)]=_0x392147[_0x32a342(0x155)],process[_0x32a342(0x17e)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x392147[_0x32a342(0x155)];}else logger[_0x32a342(0x16a)](_0x32a342(0x194)+(_0x5114f4['message']||_0x5114f4[_0x32a342(0x13b)]));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester['measureWrapper'](a108_0x519cc1(0x239),async function(_0x2a8d02){const _0x560688=a108_0x519cc1,_0x46d068={};_0x46d068['rcqdF']=function(_0x38c7de,_0x46f33f){return _0x38c7de!==_0x46f33f;},_0x46d068[_0x560688(0x1d2)]='string',_0x46d068[_0x560688(0x253)]='error',_0x46d068[_0x560688(0x165)]=_0x560688(0x1c2),_0x46d068[_0x560688(0x13e)]=_0x560688(0x220),_0x46d068['AApIA']=_0x560688(0x1bb),_0x46d068[_0x560688(0x202)]='test_runs/stop',_0x46d068[_0x560688(0x226)]=function(_0x113cf2,_0x55dc0c){return _0x113cf2+_0x55dc0c;},_0x46d068['YShis']=_0x560688(0x169),_0x46d068[_0x560688(0x18a)]=_0x560688(0x1ad);const _0x2740c5=_0x46d068;if(bsSetupHelper[_0x560688(0x1e5)](process['env'][_0x560688(0x1ac)])||_0x2740c5[_0x560688(0x255)](typeof process[_0x560688(0x17e)][_0x560688(0x1ac)],_0x2740c5[_0x560688(0x1d2)])){const _0x4957fb={};return _0x4957fb[_0x560688(0x164)]=_0x2740c5[_0x560688(0x253)],_0x4957fb[_0x560688(0x1bf)]=_0x2740c5[_0x560688(0x165)],_0x4957fb;}const _0x47a37d={'endTime':new Date()['toISOString']()},_0x4c2a90={};_0x4c2a90[_0x560688(0x229)]=_0x560688(0x1f7)+process[_0x560688(0x17e)][_0x560688(0x1ac)],_0x4c2a90[_0x560688(0x23b)]=_0x2740c5[_0x560688(0x13e)];const _0x296e08={};_0x296e08[_0x560688(0x246)]=_0x4c2a90;const _0x116c41=_0x296e08,_0x52d9f7={};_0x52d9f7['body']=_0x47a37d,_0x52d9f7['auth']=null,_0x52d9f7['json']=!![];const _0x20496e=Object[_0x560688(0x1e0)](_0x116c41,_0x52d9f7);try{const _0x5ad843=await bsSetupHelper[_0x560688(0x241)](_0x2740c5[_0x560688(0x13f)],_0x2740c5['DcxfS'],_0x20496e,_0x2a8d02,API_URL);if(_0x5ad843[_0x560688(0x174)][_0x560688(0x16a)])throw new Error(_0x2740c5['wHMsv'](_0x2740c5['YShis'],_0x5ad843[_0x560688(0x174)][_0x560688(0x16a)]));else{logger[_0x560688(0x170)](_0x560688(0x206)+new Date()['toISOString']());const _0x1c33ad={};return _0x1c33ad[_0x560688(0x164)]=_0x2740c5[_0x560688(0x18a)],_0x1c33ad[_0x560688(0x1bf)]='',_0x1c33ad;}}catch(_0x2765e2){_0x2765e2[_0x560688(0x176)]?logger[_0x560688(0x16a)](_0x560688(0x1e7)+_0x2765e2[_0x560688(0x176)][_0x560688(0x164)]+'\x20'+_0x2765e2[_0x560688(0x176)][_0x560688(0x15c)]+'\x20'+JSON[_0x560688(0x22d)](_0x2765e2['response']['data'])):logger['error'](_0x560688(0x1e7)+(_0x2765e2[_0x560688(0x1bf)]||util[_0x560688(0x1cf)](_0x2765e2)));const _0x3ad73f={};return _0x3ad73f[_0x560688(0x164)]=_0x2740c5[_0x560688(0x253)],_0x3ad73f[_0x560688(0x1bf)]=_0x2765e2['message']||(_0x2765e2['response']?_0x2765e2[_0x560688(0x176)]['status']+':'+_0x2765e2['response'][_0x560688(0x15c)]:_0x2765e2),_0x3ad73f;}}),exports[a108_0x519cc1(0x242)]=async(_0x258b8f,_0x40a8d5=null,_0x3c5593=![],_0x3e5ff4=null)=>{const _0x33a290=a108_0x519cc1,_0x383541={};_0x383541[_0x33a290(0x204)]=_0x33a290(0x144),_0x383541[_0x33a290(0x228)]='bstackA11yShouldScan',_0x383541[_0x33a290(0x208)]=_0x33a290(0x14f),_0x383541[_0x33a290(0x1ef)]=function(_0x562ac1,_0x729a95){return _0x562ac1||_0x729a95;},_0x383541['gaMcr']='bstackA11yScanOptions',_0x383541[_0x33a290(0x16b)]=_0x33a290(0x24b);const _0x320212=_0x383541;if(!this[_0x33a290(0x134)]()||!globals[_0x33a290(0x136)](_0x320212[_0x33a290(0x204)])||!_0x3c5593&&!globals[_0x33a290(0x136)](_0x320212[_0x33a290(0x228)])){logger['warn'](_0x320212[_0x33a290(0x208)]);return;}const _0x1473e7=_0x3c5593?_0x320212['vOggU'](_0x3e5ff4,{}):globals[_0x33a290(0x136)](_0x320212[_0x33a290(0x1c8)])||{},_0x5c7210={};_0x5c7210[_0x33a290(0x221)]=_0x40a8d5||global['browserstackSessionName'];const _0x50ada3=Object[_0x33a290(0x1e0)]({},_0x1473e7,_0x5c7210);await this[_0x33a290(0x1f1)](_0x258b8f)&&(Object['assign'](_0x50ada3,this[_0x33a290(0x1d8)](),{'thTestRunUuid':this[_0x33a290(0x1a0)]()}),logger[_0x33a290(0x201)](_0x320212['nwtrc']));logger['debug'](_0x33a290(0x218)+util[_0x33a290(0x1cf)]('%j',_0x50ada3));const _0x26aedd={};return _0x26aedd[_0x33a290(0x1db)]=_0x40a8d5,await PerformanceTester[_0x33a290(0x1d1)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x28b745=_0x33a290;try{await _0x258b8f[_0x28b745(0x247)](()=>_0x258b8f[_0x28b745(0x23c)](_0x28b745(0x252)),0x1388);}catch(_0x3682a9){}const _0x29ae8e=util['format'](await _0x258b8f[_0x28b745(0x1ea)](scripts['performScan'],_0x50ada3));return logger[_0x28b745(0x201)](_0x28b745(0x249)+_0x29ae8e),_0x29ae8e;},_0x26aedd)();},exports[a108_0x519cc1(0x1de)]=async(_0xafdf83,_0x1ec26f)=>{const _0x10b38e=a108_0x519cc1,_0x4d2bd1={};_0x4d2bd1[_0x10b38e(0x15d)]=_0x10b38e(0x162),_0x4d2bd1[_0x10b38e(0x20b)]=_0x10b38e(0x144),_0x4d2bd1['BVWWR']=_0x10b38e(0x17b),_0x4d2bd1[_0x10b38e(0x254)]=_0x10b38e(0x1f4),_0x4d2bd1[_0x10b38e(0x171)]=_0x10b38e(0x1de),_0x4d2bd1[_0x10b38e(0x17f)]=_0x10b38e(0x187);const _0x4efed3=_0x4d2bd1;if(!this[_0x10b38e(0x134)]()||!globals[_0x10b38e(0x136)](_0x4efed3[_0x10b38e(0x20b)])||!globals[_0x10b38e(0x136)](_0x4efed3[_0x10b38e(0x24d)]))return logger[_0x10b38e(0x196)](_0x4efed3['LuJXo']),[];try{const _0xe5b22e=await this[_0x10b38e(0x1f1)](_0xafdf83),_0x20dd6e=_0xe5b22e?Object[_0x10b38e(0x1e0)]({},this[_0x10b38e(0x1d8)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0xe5b22e&&logger[_0x10b38e(0x201)](_0x10b38e(0x1d9)+util[_0x10b38e(0x1cf)]('%j',_0x20dd6e)),await PerformanceTester[_0x10b38e(0x1d1)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3a4f46=_0x10b38e;logger[_0x3a4f46(0x201)](_0x4efed3[_0x3a4f46(0x15d)]);const _0x4ba2d6={};_0x4ba2d6[_0x3a4f46(0x221)]=_0x1ec26f[_0x3a4f46(0x1ed)];const _0x5a1484=Object[_0x3a4f46(0x1e0)](_0x4ba2d6,_0x20dd6e);logger[_0x3a4f46(0x201)](util[_0x3a4f46(0x1cf)](await _0xafdf83['executeAsyncScript'](scripts[_0x3a4f46(0x242)],_0x5a1484)));},{'command':_0x4efed3[_0x10b38e(0x171)]})(),await PerformanceTester[_0x10b38e(0x1d1)](PerformanceA11yEvents[_0x10b38e(0x250)],async()=>{const _0x523954=_0x10b38e,_0x55a932=_0xe5b22e?await _0xafdf83[_0x523954(0x1ea)](scripts[_0x523954(0x244)],_0x20dd6e):await _0xafdf83[_0x523954(0x1ea)](scripts[_0x523954(0x244)]);return _0x55a932;})();}catch{return logger['error'](_0x4efed3[_0x10b38e(0x17f)]),[];}},exports[a108_0x519cc1(0x235)]=async(_0x17f858,_0x3ea72a)=>{const _0x25ae40=a108_0x519cc1,_0x1c4c13={};_0x1c4c13['oLvnE']=_0x25ae40(0x1dc),_0x1c4c13[_0x25ae40(0x179)]='isAccessibilityPlatform',_0x1c4c13[_0x25ae40(0x159)]=_0x25ae40(0x17b),_0x1c4c13[_0x25ae40(0x216)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x1c4c13['olETM']=_0x25ae40(0x235),_0x1c4c13[_0x25ae40(0x1c7)]='No\x20accessibility\x20summary\x20was\x20found.';const _0x1d4382=_0x1c4c13;if(!this[_0x25ae40(0x134)]()||!globals[_0x25ae40(0x136)](_0x1d4382['RLdFU'])||!globals['getGlobal'](_0x1d4382[_0x25ae40(0x159)]))return logger['warn'](_0x1d4382[_0x25ae40(0x216)]),{};try{const _0x1b93c2=await this[_0x25ae40(0x1f1)](_0x17f858),_0x4655cd=_0x1b93c2?Object[_0x25ae40(0x1e0)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x1b93c2&&logger['debug']('getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20'+util[_0x25ae40(0x1cf)]('%j',_0x4655cd)),await PerformanceTester[_0x25ae40(0x1d1)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4ee4b7=_0x25ae40;logger['debug'](_0x1d4382['oLvnE']);const _0x451f11={};_0x451f11['method']=_0x3ea72a[_0x4ee4b7(0x1ed)];const _0x4a1676=Object[_0x4ee4b7(0x1e0)](_0x451f11,_0x4655cd);logger['debug'](util[_0x4ee4b7(0x1cf)](await _0x17f858[_0x4ee4b7(0x1ea)](scripts[_0x4ee4b7(0x242)],_0x4a1676)));},{'command':_0x1d4382[_0x25ae40(0x1f0)]})(),await PerformanceTester[_0x25ae40(0x1d1)](PerformanceA11yEvents[_0x25ae40(0x1ba)],async()=>{const _0x140591=_0x25ae40,_0x53e949=_0x1b93c2?await _0x17f858['executeAsyncScript'](scripts[_0x140591(0x1df)],_0x4655cd):await _0x17f858[_0x140591(0x1ea)](scripts[_0x140591(0x1df)]);return _0x53e949;})();}catch{return logger[_0x25ae40(0x16a)](_0x1d4382[_0x25ae40(0x1c7)]),{};}},exports['isMobileAccessibilityPlatform']=(_0xf00fa7,_0x89288d=![])=>{const _0x3c9865=a108_0x519cc1,_0x4ae261={'cXIeY':function(_0x2805e0,_0x304f7b){return _0x2805e0(_0x304f7b);},'GDtPZ':function(_0x5683f7,_0x1d08a9){return _0x5683f7(_0x1d08a9);},'ucwIi':'platformName','aOLws':function(_0x3d3465,_0x5b4efc){return _0x3d3465!==_0x5b4efc;},'KGNXH':'android','vdzCW':function(_0x396b59,_0x50daca){return _0x396b59(_0x50daca);},'eIjbN':function(_0x4b1b25,_0x5a715b){return _0x4b1b25(_0x5a715b);},'cmrIC':_0x3c9865(0x190),'CEyhb':_0x3c9865(0x1fc),'bkrOA':'Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','PkZiy':_0x3c9865(0x248)};try{if(!_0xf00fa7)return![];const _0x52b223=_0x36b30f=>typeof _0xf00fa7[_0x3c9865(0x217)]===_0x3c9865(0x1ee)?_0xf00fa7[_0x3c9865(0x217)](_0x36b30f):_0xf00fa7[_0x36b30f],_0x113b16=_0x4ae261[_0x3c9865(0x243)](String,_0x4ae261[_0x3c9865(0x18b)](_0x52b223,_0x4ae261[_0x3c9865(0x215)])||'')[_0x3c9865(0x1a4)]();if(_0x4ae261[_0x3c9865(0x238)](_0x113b16,_0x4ae261[_0x3c9865(0x245)]))return![];const _0x3aecc0=_0x4ae261[_0x3c9865(0x21f)](String,_0x4ae261[_0x3c9865(0x1c6)](_0x52b223,_0x4ae261[_0x3c9865(0x17d)])||'')['toLowerCase']();if(!_0x3aecc0[_0x3c9865(0x1b0)](_0x4ae261[_0x3c9865(0x1b1)]))return _0x89288d&&logger[_0x3c9865(0x196)](_0x4ae261[_0x3c9865(0x1a9)]),![];return logger[_0x3c9865(0x201)](_0x4ae261[_0x3c9865(0x1cb)]),!![];}catch(_0x462750){return logger[_0x3c9865(0x201)](_0x3c9865(0x236)+_0x462750),![];}},exports[a108_0x519cc1(0x1f1)]=async _0x3c31f3=>{const _0x3db9a6=a108_0x519cc1;try{const _0x5a1c51=await _0x3c31f3[_0x3db9a6(0x1e4)]();return exports[_0x3db9a6(0x209)](_0x5a1c51);}catch(_0x322fa0){return logger['debug'](_0x3db9a6(0x1ce)+_0x322fa0),![];}},exports['getMobileA11yCapabilities']=()=>{const _0x47a493=a108_0x519cc1,_0x27e2fe={};return _0x27e2fe[_0x47a493(0x16f)]=!![],_0x27e2fe;},exports[a108_0x519cc1(0x1a0)]=()=>{const _0x467d5a=a108_0x519cc1,_0x7d2553={};_0x7d2553[_0x467d5a(0x1a8)]=function(_0x2a0a13,_0x137e16){return _0x2a0a13===_0x137e16;},_0x7d2553[_0x467d5a(0x1ab)]=_0x467d5a(0x166),_0x7d2553[_0x467d5a(0x1f3)]=function(_0x36d1cd,_0x127709){return _0x36d1cd>_0x127709;},_0x7d2553[_0x467d5a(0x150)]=_0x467d5a(0x1b8),_0x7d2553[_0x467d5a(0x18e)]=_0x467d5a(0x23d),_0x7d2553[_0x467d5a(0x13a)]=_0x467d5a(0x1f8);const _0x54b5c1=_0x7d2553,_0x366c5f=global[_0x467d5a(0x24c)],_0x3862ce=_0x366c5f&&_0x366c5f[_0x467d5a(0x1ec)],_0x23770a=_0x3862ce&&_0x3862ce[_0x467d5a(0x147)];if(_0x54b5c1['glbIz'](typeof _0x23770a,_0x54b5c1['WyGCg'])&&_0x54b5c1[_0x467d5a(0x1f3)](_0x23770a['length'],0x0))return _0x23770a;let _0x3d0814;if(!_0x366c5f)_0x3d0814=_0x54b5c1[_0x467d5a(0x150)];else!_0x3862ce?_0x3d0814=_0x54b5c1[_0x467d5a(0x18e)]:_0x3d0814='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object[_0x467d5a(0x152)](_0x3862ce)['join'](',\x20')+_0x467d5a(0x1e6)+(_0x54b5c1[_0x467d5a(0x1a8)](_0x23770a,undefined)?_0x54b5c1['dkVwn']:'\x22'+_0x23770a+'\x22')+_0x467d5a(0x15b);return logger[_0x467d5a(0x196)](_0x467d5a(0x1e1)+_0x3d0814+_0x467d5a(0x14e)),'';},exports[a108_0x519cc1(0x189)]=_0x340ac7=>{const _0x1a3456=a108_0x519cc1,_0x260548={};_0x260548[_0x1a3456(0x1dd)]=function(_0x4462d0,_0x5105a4){return _0x4462d0===_0x5105a4;},_0x260548[_0x1a3456(0x1c1)]=_0x1a3456(0x166),_0x260548[_0x1a3456(0x140)]=_0x1a3456(0x1b3);const _0xef7b6d=_0x260548;if(_0x340ac7&&_0x340ac7[_0x1a3456(0x185)]&&_0xef7b6d[_0x1a3456(0x1dd)](typeof _0x340ac7[_0x1a3456(0x185)],_0xef7b6d['pwIyy']))return _0x340ac7['script'][_0x1a3456(0x1b0)](_0xef7b6d[_0x1a3456(0x140)]);return![];},exports[a108_0x519cc1(0x1a6)]=a108_0x519cc1(0x151),exports[a108_0x519cc1(0x137)]=()=>process[a108_0x519cc1(0x17e)][a108_0x519cc1(0x1b7)]===a108_0x519cc1(0x1d7),exports[a108_0x519cc1(0x1cd)]=_0x197489=>{const _0x2c8bd6=a108_0x519cc1,_0x48ba14={};_0x48ba14[_0x2c8bd6(0x1a1)]=function(_0x406865,_0x1398a7){return _0x406865 in _0x1398a7;};const _0x3a56df=_0x48ba14;if(bsSetupHelper[_0x2c8bd6(0x1e5)](_0x197489))return![];const _0x1080df=_0x197489['toLowerCase']();return _0x3a56df[_0x2c8bd6(0x1a1)](_0x1080df,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a108_0x519cc1(0x160)]=_0x1f8ac5=>{const _0x13d4bb=a108_0x519cc1;if(bsSetupHelper['isUndefined'](_0x1f8ac5))return null;const _0x4dd624=_0x1f8ac5[_0x13d4bb(0x1a4)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x4dd624]||null;},exports[a108_0x519cc1(0x173)]=(_0x35f99d,_0x17f2cc)=>{const _0x5caee1=a108_0x519cc1,_0xd98737=this[_0x5caee1(0x160)](_0x35f99d);if(!_0xd98737)return null;if(_0x17f2cc)return _0xd98737[_0x5caee1(0x227)];return _0xd98737[_0x5caee1(0x251)];},exports['getBrowserDisplayName']=_0x340fd7=>{const _0x49391b=a108_0x519cc1,_0x4aacab=this[_0x49391b(0x160)](_0x340fd7);return _0x4aacab?_0x4aacab[_0x49391b(0x1b2)]:_0x340fd7;},exports['requiresChromeOptionsValidation']=_0x139e9a=>{const _0x21c2f5=a108_0x519cc1,_0x8b33b6=this[_0x21c2f5(0x160)](_0x139e9a);return _0x8b33b6?_0x8b33b6[_0x21c2f5(0x1fb)]:![];},exports[a108_0x519cc1(0x142)]=(_0x4e7a7f,_0x27454c)=>{const _0x118de6=a108_0x519cc1,_0x2dd109={'bVgzS':function(_0x242c44,_0x28d57f){return _0x242c44(_0x28d57f);},'mpGhA':function(_0x477eb3,_0x56b253){return _0x477eb3>=_0x56b253;}};if(bsSetupHelper[_0x118de6(0x1e5)](_0x4e7a7f)||bsSetupHelper[_0x118de6(0x1e5)](_0x27454c))return![];const _0x2280e2=bsSetupHelper[_0x118de6(0x1da)](_0x2dd109[_0x118de6(0x23a)](String,_0x4e7a7f),_0x2dd109[_0x118de6(0x23a)](String,_0x27454c));return _0x2dd109[_0x118de6(0x19b)](_0x2280e2,0x0);},exports[a108_0x519cc1(0x22c)]=_0x420039=>{const _0xe6b5e8=a108_0x519cc1,_0x3b17e0={};_0x3b17e0[_0xe6b5e8(0x1d0)]=function(_0x55ae9a,_0x3eb1cc){return _0x55ae9a!==_0x3eb1cc;},_0x3b17e0[_0xe6b5e8(0x161)]=_0xe6b5e8(0x166),_0x3b17e0['UXMrW']=_0xe6b5e8(0x225);const _0x5c1551=_0x3b17e0;if(!_0x420039||_0x5c1551[_0xe6b5e8(0x1d0)](typeof _0x420039,_0x5c1551[_0xe6b5e8(0x161)]))return null;try{return JSON['parse'](Buffer[_0xe6b5e8(0x1e2)](_0x420039[_0xe6b5e8(0x16d)]('.')[0x1],_0x5c1551[_0xe6b5e8(0x1c0)])[_0xe6b5e8(0x154)]());}catch{return null;}};
|
|
1
|
+
function a108_0x2c96(){const _0x26c91f=['isVersionSupported','headers','nonBstackPlatformValidation','QSYvN','getPlatformVersion','includes','data','a11y:stop','PERFORM_SCAN','script','193794baTgcC','status','selenium-webdriver/chrome.js','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','getCapabilities','chromeOptions','XtsKx','min_version_browserstack','NOoKa','fTUcY','stack','isMobileScanningEnabledForGroup','EFZNH','acOst','v2/test_runs','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','VmdLC','qvxSf','chrome','PUT','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.','mppmZ','function','nHqqq','eQALV','accessibility','Frtop','toISOString','KjEyl','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','winstonLogger','min_version_non_browserstack','ZVvHE','mauKg','Bearer\x20','global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).','bstack:options','some','isTrue','wait','pVLwr','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','BROWSERSTACK_TURBOSCALE','../helper','kNjBe','zmyMQ','baysk','measureWrapper','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','isMobileAccessibilityPlatform','WHPIN','browserstack_executor','getUserName','platformName','dqdHZ','user','debug','bstackA11yScanOptions','getCiInfo','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','YyzYC','getHostInfo','DCAaG','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','get','cWWHK','args','--headless','SlCjl','is_mobile_session','selenium-webdriver','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','nestedKeyValue','playwright','command','path','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','basename','auth','toLowerCase','trim','javascript','options_','80673vGLeED','isAccessibilityPlatform','KStnb','isMobileAccessibilitySession','JzNAf','device','Content-Type','isUndefined','124KvFClq','FPasH','forEach','scannerVersion','buildName','Zwocj','compareVersions','getBrowserVersion','IJpUq','315SVMSiG','getPlatform','deviceName','Authorization','jNnej','CKkcY','--headless=new','getResults','getAccessibilityResultsSummary','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','2438750kCWWTF','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','4068788hsREXx','XnAzy','EVTgo','performScan','executeAsyncScript','MpoRx','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','version','response','KykUQ','FHFDI','FWiMU','requiresChromeOptionsValidation','error','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','true','Performed\x20scan\x20with\x20result:\x20','json','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','getBrowserName','29743690rQVTOv','message','browserName','nodeRequest','IjbrX','map','isBrowserstackInfra','tPxXl','fxBoU','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','VKYDp','isArray','KXDQi','accessibilityToken','CNgeJ','ovByT','thTestRunUuid','requireModule','success','null','capabilities_','POST','set','assign','getGitMetaData','warn','getMobileA11yCapabilities','239312zxibFH','createAccessibilityTestRun','No\x20accessibility\x20summary\x20was\x20found.','bstackA11yShouldScan','ARcvM','browserstack','currentTest','1028764tHBPkC','a11y:start','dhhst','yVlxx','join','RjUhU','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','SfCXe','Build\x20creation\x20had\x20failed.',']\x20but\x20thTestRunUuid\x20is\x20','Not\x20a\x20Accessibility\x20Session','QIcmd','kMrYy','kWkRs','rFajP','getGlobal','21mBNcoE','gMUdW','split','hWnlu','Performing\x20scan\x20before\x20getting\x20results\x20summary','BROWSERSTACK_TEST_ACCESSIBILITY_YML','toString','sacac','pass','goog:chromeOptions','qLCwC','statusText','setNonBstackInfraCapabilities','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','length','undefined','afuiN','yZiwL','xqXqB','JJUYK','fetchPlatformDetails','ixwNH','Mejpu','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','excludeTagsInTestingScope','application/json','TQRsw','chromeOptions_','browserstackSessionName','body','requires_chrome_options_check','ABbEq','string','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','npEGK','parseA11yJwtPayload','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getAccessibilityResults','HMPOH','hElWq','from','toJson','Invalid\x20configuration\x20passed.','BS_A11Y_JWT','base64','env','Performing\x20scan\x20before\x20getting\x20results','projectName','JbhLH','resolve','./constants','cwd','yKhyK','bswMh','jSjcv','XhAqy','ihwKf','resolveMobileThTestRunUuid','checkAccessibilityPlatformConfig','wtvjS','parse','getTestFrameworkDetails','format','vIOUx','includeTagsInTestingScope','Mdsva','stringify','IjVxB','RaOWw','ChromeExtension','DSFAR','vaKZu','isBrowserStackCommandExecutor','hQvac','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','yFbxj','stopAccessibilityTestRun','GwRgz','DMOtM','WqlPY','--headless=','CGGhc','return\x20document.readyState\x20===\x20\x22complete\x22','HlLiW','fsMnT','../performance/performance-tester','isAccessibilityAutomationSession','VyQIR','method','WZxVc','Options','getBrowserA11yConfig','startsWith','parseFromJson'];a108_0x2c96=function(){return _0x26c91f;};return a108_0x2c96();}const a108_0x582bbf=a108_0x7cd2;(function(_0x123b44,_0x4f11b1){const _0x3ca0da=a108_0x7cd2,_0x2248ff=_0x123b44();while(!![]){try{const _0x1ba67f=parseInt(_0x3ca0da(0x99))/0x1+-parseInt(_0x3ca0da(0x16d))/0x2*(parseInt(_0x3ca0da(0x165))/0x3)+-parseInt(_0x3ca0da(0x182))/0x4+parseInt(_0x3ca0da(0x180))/0x5+-parseInt(_0x3ca0da(0x111))/0x6*(-parseInt(_0x3ca0da(0xa9))/0x7)+-parseInt(_0x3ca0da(0x92))/0x8*(parseInt(_0x3ca0da(0x176))/0x9)+parseInt(_0x3ca0da(0x197))/0xa;if(_0x1ba67f===_0x4f11b1)break;else _0x2248ff['push'](_0x2248ff['shift']());}catch(_0x1fb846){_0x2248ff['push'](_0x2248ff['shift']());}}}(a108_0x2c96,0xd111f));function a108_0x7cd2(_0x202322,_0x1749c8){const _0x2c9628=a108_0x2c96();return a108_0x7cd2=function(_0x7cd2b,_0xc2cab1){_0x7cd2b=_0x7cd2b-0x7b;let _0x3f6ea0=_0x2c9628[_0x7cd2b];return _0x3f6ea0;},a108_0x7cd2(_0x202322,_0x1749c8);}const path=require(a108_0x582bbf(0x15d)),util=require('util'),bsSetupHelper=require(a108_0x582bbf(0x13d)),logger=require('../logger')[a108_0x582bbf(0x130)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a108_0x582bbf(0xdb)),PerformanceTester=require(a108_0x582bbf(0xfe)),scripts=require('./scripts'),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports[a108_0x582bbf(0xbd)]=async _0x4037cb=>{const _0x27e182=a108_0x582bbf,_0x4ab25c={};_0x4ab25c['kWkRs']=function(_0x41122c,_0x22dbd3){return _0x41122c===_0x22dbd3;},_0x4ab25c['ARcvM']=_0x27e182(0x97);const _0x42da2d=_0x4ab25c;let _0x5f1b8e={};try{const _0x7f268e=await _0x4037cb[_0x27e182(0x115)]();_0x5f1b8e={'os_name':_0x7f268e[_0x27e182(0x177)](),'os_version':bsSetupHelper[_0x27e182(0x10b)](_0x42da2d[_0x27e182(0xa6)](global['__cloud_provider___'],_0x42da2d[_0x27e182(0x96)])),'browser_name':_0x7f268e[_0x27e182(0x196)](),'browser_version':_0x7f268e[_0x27e182(0x174)]()};}catch(_0x5cd88f){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x5cd88f);}return _0x5f1b8e;},exports[a108_0x582bbf(0xff)]=()=>{const _0x2c32e1=a108_0x582bbf,_0xa1d0b6={};_0xa1d0b6[_0x2c32e1(0x12e)]=function(_0x1bebbb,_0x4e1077){return _0x1bebbb===_0x4e1077;},_0xa1d0b6[_0x2c32e1(0x18c)]=_0x2c32e1(0xc9),_0xa1d0b6[_0x2c32e1(0xc8)]=function(_0x55a881,_0x5770d7){return _0x55a881>_0x5770d7;},_0xa1d0b6['jNnej']=function(_0xf01b46,_0x38bd61){return _0xf01b46!==_0x38bd61;},_0xa1d0b6[_0x2c32e1(0xb3)]=_0x2c32e1(0x8a),_0xa1d0b6[_0x2c32e1(0x175)]=function(_0x5c60e1,_0x4bab49){return _0x5c60e1&&_0x4bab49;};const _0x5089a6=_0xa1d0b6;try{const _0x165d1c=bsSetupHelper[_0x2c32e1(0x138)](process['env'][_0x2c32e1(0xae)])||bsSetupHelper['isTrue'](process['env'][_0x2c32e1(0x14d)]),_0x37c2da=_0x5089a6['KjEyl'](typeof process[_0x2c32e1(0xd6)][_0x2c32e1(0xd4)],_0x5089a6[_0x2c32e1(0x18c)])&&_0x5089a6['ABbEq'](process[_0x2c32e1(0xd6)][_0x2c32e1(0xd4)][_0x2c32e1(0xb7)],0x0)&&_0x5089a6[_0x2c32e1(0x17a)](process[_0x2c32e1(0xd6)][_0x2c32e1(0xd4)],_0x5089a6['qLCwC']);return _0x5089a6[_0x2c32e1(0x175)](_0x165d1c,_0x37c2da);}catch(_0x12dc9f){logger['debug'](_0x2c32e1(0x114)+_0x12dc9f);}return![];},exports[a108_0x582bbf(0x109)]=(_0x3c3f7c,_0x5f467a)=>{const _0x290339=a108_0x582bbf,_0x41cc71={'IjVxB':_0x290339(0x199),'KXDQi':function(_0x508dc8,_0x2bb3e6){return _0x508dc8(_0x2bb3e6);},'FPasH':'browserVersion','rYPBs':_0x290339(0x189),'CNgeJ':_0x290339(0x136),'yKhyK':_0x290339(0x178),'JbhLH':_0x290339(0x16a),'EFZNH':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','baysk':_0x290339(0x113),'Frtop':_0x290339(0x158),'ZKXcU':_0x290339(0x164),'VKYDp':_0x290339(0x154),'kMrYy':_0x290339(0x116),'SfCXe':_0x290339(0x194),'kNDrX':_0x290339(0xb2),'fxBoU':function(_0x576dd4,_0x341d27){return _0x576dd4===_0x341d27;},'fsMnT':_0x290339(0x123),'TQRsw':function(_0x1b296f,_0x1eb0ee){return _0x1b296f>=_0x1eb0ee;}},_0x84cc67=_0x3c3f7c[_0x290339(0x152)](_0x41cc71[_0x290339(0xec)]),_0x882df1=_0x41cc71[_0x290339(0x83)](parseFloat,_0x3c3f7c[_0x290339(0x152)](_0x41cc71[_0x290339(0x16e)]))||_0x41cc71[_0x290339(0x83)](parseFloat,_0x3c3f7c[_0x290339(0x152)](_0x41cc71['rYPBs'])),_0x661c44=_0x3c3f7c[_0x290339(0x152)](_0x41cc71['CNgeJ'])||{},_0x112735=_0x41cc71['KXDQi'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x46eb64=_0x661c44[_0x41cc71[_0x290339(0xdd)]]||_0x3c3f7c[_0x290339(0x152)](_0x41cc71[_0x290339(0xd9)])||![];if(_0x46eb64)return logger[_0x290339(0x90)](_0x41cc71[_0x290339(0x11d)]),![];let _0x49ab75;try{_0x49ab75=bsSetupHelper[_0x290339(0x88)](_0x41cc71[_0x290339(0x140)],_0x41cc71[_0x290339(0x12c)]);}catch(_0x5be619){return![];}const _0x1d5e05=new _0x49ab75[(_0x290339(0x103))](_0x5f467a[_0x290339(0xc4)]),_0x5a7c06=bsSetupHelper['nestedKeyValue'](_0x1d5e05,[_0x41cc71['ZKXcU'],_0x41cc71['VKYDp']])||bsSetupHelper[_0x290339(0x15a)](_0x5f467a[_0x290339(0x8b)],[_0x41cc71[_0x290339(0x85)],_0x41cc71[_0x290339(0xa5)],_0x41cc71[_0x290339(0x81)]])||bsSetupHelper[_0x290339(0x15a)](_0x5f467a[_0x290339(0x8b)],[_0x41cc71[_0x290339(0xa5)],_0x41cc71[_0x290339(0x81)]])||[],_0x8fa307=Array[_0x290339(0x82)](_0x5a7c06)?_0x5a7c06:[];if(_0x8fa307[_0x290339(0x137)](_0x2f1363=>typeof _0x2f1363===_0x290339(0xc9)&&(_0x2f1363===_0x290339(0x155)||_0x2f1363[_0x290339(0x105)](_0x290339(0xf9))&&_0x2f1363!==_0x290339(0x17c))))return logger[_0x290339(0x90)](_0x41cc71[_0x290339(0xa0)]),![];const _0x1a0efa=_0x5f467a['capabilities_']||{},_0x105b7a=bsSetupHelper[_0x290339(0x15a)](_0x1a0efa,[_0x41cc71['kNDrX']])||{},_0x433cfe=bsSetupHelper[_0x290339(0x15a)](_0x105b7a,[_0x41cc71[_0x290339(0x81)]])||[],_0x5e4f9f=Array[_0x290339(0x82)](_0x433cfe)?_0x433cfe:[];if(_0x5e4f9f[_0x290339(0x137)](_0x258c35=>typeof _0x258c35===_0x290339(0xc9)&&(_0x258c35===_0x290339(0x155)||_0x258c35[_0x290339(0x105)](_0x290339(0xf9))&&_0x258c35!=='--headless=new')))return logger[_0x290339(0x90)](_0x41cc71['SfCXe']),![];if(_0x41cc71[_0x290339(0x7e)](_0x84cc67[_0x290339(0x161)](),_0x41cc71[_0x290339(0xfd)])&&_0x41cc71[_0x290339(0xc3)](_0x882df1,_0x112735))return!![];return logger[_0x290339(0x90)](_0x290339(0x188)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a108_0x582bbf(0xb5)]=_0x4cea48=>{const _0xb431e6=a108_0x582bbf,_0x57fcc2={};_0x57fcc2[_0xb431e6(0x102)]='goog:chromeOptions',_0x57fcc2[_0xb431e6(0x144)]=function(_0x2ddaa5,_0x9283c2){return _0x2ddaa5||_0x9283c2;},_0x57fcc2[_0xb431e6(0x187)]=_0xb431e6(0xa3);const _0x5cff45=_0x57fcc2,_0x5d8289=scripts[_0xb431e6(0xee)];try{const _0x1f654e=bsSetupHelper[_0xb431e6(0x138)](process[_0xb431e6(0xd6)][_0xb431e6(0xae)])||bsSetupHelper['isTrue'](process[_0xb431e6(0xd6)][_0xb431e6(0x14d)]);if((!bsSetupHelper[_0xb431e6(0x7c)]()||process['env'][_0xb431e6(0x13c)])&&_0x1f654e){const _0x4e31bf=_0x4cea48[_0xb431e6(0x115)](),_0x2dde93=_0x4e31bf[_0xb431e6(0x152)](_0x5cff45[_0xb431e6(0x102)]),_0xa97891=_0x5cff45[_0xb431e6(0x144)](_0x2dde93,{});bsSetupHelper['mergeDeep'](_0xa97891,_0x5d8289),_0x4cea48[_0xb431e6(0x115)]()[_0xb431e6(0x8d)](_0x5cff45[_0xb431e6(0x102)],_0xa97891);}else logger[_0xb431e6(0x90)](_0x5cff45[_0xb431e6(0x187)]);}catch(_0x42599f){logger[_0xb431e6(0x18f)](_0xb431e6(0x181)+_0x42599f);}},exports['shouldScanTestForAccessibility']=(_0x307e65=null,_0x50b5f6=!![],_0x25ac80=[])=>{const _0x14bff4=a108_0x582bbf,_0x54ff06={};_0x54ff06[_0x14bff4(0x7d)]=function(_0x5652c0,_0x28d9cc){return _0x5652c0==_0x28d9cc;},_0x54ff06[_0x14bff4(0x183)]=function(_0x1b5443,_0xd7e082){return _0x1b5443>_0xd7e082;},_0x54ff06[_0x14bff4(0x9c)]=function(_0x37cf74,_0x32b7d8){return _0x37cf74===_0x32b7d8;},_0x54ff06[_0x14bff4(0xe8)]=function(_0x221707,_0x24e51e){return _0x221707&&_0x24e51e;},_0x54ff06[_0x14bff4(0xe1)]=function(_0x2eca93,_0x38b2cd){return _0x2eca93===_0x38b2cd;},_0x54ff06[_0x14bff4(0x18b)]=function(_0x1db05a,_0x211c53){return _0x1db05a&&_0x211c53;};const _0x139544=_0x54ff06;if(_0x139544[_0x14bff4(0x7d)](process[_0x14bff4(0xd6)][_0x14bff4(0xcd)],null))return!![];try{const _0x1242f6=JSON[_0x14bff4(0xe5)](process[_0x14bff4(0xd6)][_0x14bff4(0xcd)]),_0x5916a2=Array[_0x14bff4(0x82)](_0x1242f6[_0x14bff4(0xe9)])?_0x1242f6[_0x14bff4(0xe9)]:[],_0x1e7294=Array[_0x14bff4(0x82)](_0x1242f6[_0x14bff4(0xc1)])?_0x1242f6[_0x14bff4(0xc1)]:[],_0x4ecbad=_0x150323=>typeof _0x150323===_0x14bff4(0xc9)?_0x150323['replace'](/^@/,'')[_0x14bff4(0x161)]()[_0x14bff4(0x162)]():_0x150323;if(bsSetupHelper['isUndefined'](_0x307e65)){if(_0x139544[_0x14bff4(0x183)](_0x25ac80['length'],0x0)){const _0x4281c7=_0x25ac80[_0x14bff4(0x7b)](_0x4ecbad),_0x1579bd=_0x1e7294[_0x14bff4(0x137)](_0x9b2b37=>_0x4281c7[_0x14bff4(0x10c)](_0x4ecbad(_0x9b2b37))),_0x4373ae=_0x139544['yVlxx'](_0x5916a2['length'],0x0)||_0x5916a2[_0x14bff4(0x137)](_0x87ba05=>_0x4281c7[_0x14bff4(0x10c)](_0x4ecbad(_0x87ba05)));return _0x139544[_0x14bff4(0xe8)](!_0x1579bd,_0x4373ae);}return!![];}let _0x36b6a9;_0x50b5f6?_0x36b6a9=_0x307e65[_0x14bff4(0x9d)]('/'):_0x36b6a9=_0x307e65;const _0x2df42c=_0x1e7294[_0x14bff4(0x137)](_0x2eec53=>_0x36b6a9[_0x14bff4(0x161)]()[_0x14bff4(0x10c)](_0x4ecbad(_0x2eec53)['toLowerCase']())),_0x1c2b41=_0x139544[_0x14bff4(0xe1)](_0x5916a2['length'],0x0)||_0x5916a2['some'](_0x2b223b=>_0x36b6a9[_0x14bff4(0x161)]()[_0x14bff4(0x10c)](_0x4ecbad(_0x2b223b)[_0x14bff4(0x161)]()));return _0x139544[_0x14bff4(0x18b)](!_0x2df42c,_0x1c2b41);}catch(_0x4fe651){logger[_0x14bff4(0x14a)](_0x14bff4(0xca)+util[_0x14bff4(0xe7)](_0x4fe651));}return![];},exports[a108_0x582bbf(0xe3)]=_0xc12ef6=>{const _0x39febb=a108_0x582bbf;let _0x424f67=![];try{_0xc12ef6['platforms'][_0x39febb(0x16f)](_0x59b42e=>{const _0xe415f8=_0x39febb;if(bsSetupHelper[_0xe415f8(0x138)](_0x59b42e[_0xe415f8(0x12b)]))return _0x424f67=!![],!![];});}catch(_0x4fd7ce){logger[_0x39febb(0x14a)](_0x39febb(0x190)+_0x4fd7ce);}return _0x424f67||bsSetupHelper[_0x39febb(0x138)](_0xc12ef6['accessibility']);},exports[a108_0x582bbf(0x93)]=PerformanceTester[a108_0x582bbf(0x141)](a108_0x582bbf(0x9a),async function(_0x58aff1,_0x4af4d0){const _0x3be49f=a108_0x582bbf,_0x514fa1={};_0x514fa1[_0x3be49f(0x121)]=_0x3be49f(0x80),_0x514fa1['CGGhc']=_0x3be49f(0x15b),_0x514fa1['SlCjl']=_0x3be49f(0x163),_0x514fa1[_0x3be49f(0xea)]=_0x3be49f(0xc2),_0x514fa1[_0x3be49f(0xa7)]=_0x3be49f(0x8c),_0x514fa1[_0x3be49f(0x129)]=_0x3be49f(0x11f),_0x514fa1[_0x3be49f(0xcb)]=function(_0x48f0f9,_0x2d82d8){return _0x48f0f9===_0x2d82d8;},_0x514fa1[_0x3be49f(0x153)]=_0x3be49f(0xd3),_0x514fa1[_0x3be49f(0xa4)]='false';const _0x36f886=_0x514fa1,_0x1d6243=bsSetupHelper[_0x3be49f(0x146)](_0x58aff1),_0x325b63=bsSetupHelper['getAccessKey'](_0x58aff1);if(bsSetupHelper[_0x3be49f(0x16c)](_0x1d6243)||bsSetupHelper[_0x3be49f(0x16c)](_0x325b63))return logger[_0x3be49f(0x18f)](_0x36f886[_0x3be49f(0x121)]),[null,null];try{let _0x4170d2;bsSetupHelper[_0x3be49f(0x16c)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x4170d2={}:_0x4170d2=JSON[_0x3be49f(0xe5)](process[_0x3be49f(0xd6)][_0x3be49f(0xcd)]);const {name:_0x274e3a,version:_0x4cc4d5}=bsSetupHelper[_0x3be49f(0xe6)](_0x58aff1,_0x4af4d0),_0x5bb1ff={'projectName':_0x58aff1[_0x3be49f(0xd8)],'buildName':_0x58aff1[_0x3be49f(0x171)]||path[_0x3be49f(0x15f)](path[_0x3be49f(0xda)](process[_0x3be49f(0xdc)]())),'startTime':new Date()[_0x3be49f(0x12d)](),'description':_0x58aff1['buildDescription']||'','source':{'frameworkName':_0x4af4d0['includes'](_0x36f886[_0x3be49f(0xfa)])?_0x36f886[_0x3be49f(0xfa)]:_0x4af4d0,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x4af4d0),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x36f886[_0x3be49f(0x156)],'testFramework':_0x274e3a,'testFrameworkVersion':_0x4cc4d5},'settings':_0x4170d2,'versionControl':await bsSetupHelper[_0x3be49f(0x8f)](),'ciInfo':bsSetupHelper[_0x3be49f(0x14c)](),'hostInfo':bsSetupHelper[_0x3be49f(0x14f)](),'browserstackAutomation':bsSetupHelper[_0x3be49f(0x7c)]()},_0x1fbda8={};_0x1fbda8[_0x3be49f(0x149)]=_0x1d6243,_0x1fbda8[_0x3be49f(0xb1)]=_0x325b63;const _0x503051={};_0x503051[_0x3be49f(0x16b)]=_0x36f886['Mdsva'];const _0x199087={};_0x199087[_0x3be49f(0x160)]=_0x1fbda8,_0x199087['headers']=_0x503051;const _0x5897bb=_0x199087,_0x37b43a={};_0x37b43a[_0x3be49f(0xc6)]=_0x5bb1ff,_0x37b43a[_0x3be49f(0x193)]=!![];const _0x10de28=Object['assign'](_0x5897bb,_0x37b43a),_0x9bbeb3=await bsSetupHelper['nodeRequest'](_0x36f886[_0x3be49f(0xa7)],_0x36f886[_0x3be49f(0x129)],_0x10de28,_0x58aff1,API_URL);let _0x324ab9=process[_0x3be49f(0xd6)][_0x3be49f(0xcd)];return _0x324ab9?_0x324ab9=JSON[_0x3be49f(0xe5)](process[_0x3be49f(0xd6)][_0x3be49f(0xcd)]):_0x324ab9={},scripts[_0x3be49f(0x106)](_0x9bbeb3[_0x3be49f(0x10d)][_0x3be49f(0x10d)]),scripts[_0x3be49f(0xd2)](),_0x324ab9[_0x3be49f(0x170)]=_0x9bbeb3[_0x3be49f(0x10d)][_0x3be49f(0x10d)]['scannerVersion'],process[_0x3be49f(0xd6)][_0x3be49f(0xcd)]=JSON['stringify'](_0x324ab9),[_0x9bbeb3[_0x3be49f(0x10d)][_0x3be49f(0x10d)][_0x3be49f(0x84)],_0x9bbeb3[_0x3be49f(0x10d)][_0x3be49f(0x10d)]['id']];}catch(_0x3e7b47){if(_0x3e7b47[_0x3be49f(0x18a)])logger[_0x3be49f(0x18f)](_0x3be49f(0x195)+_0x3e7b47[_0x3be49f(0x18a)][_0x3be49f(0x112)]+'\x20'+_0x3e7b47[_0x3be49f(0x18a)][_0x3be49f(0xb4)]+'\x20'+JSON[_0x3be49f(0xeb)](_0x3e7b47[_0x3be49f(0x18a)]['data']));else{if(_0x36f886[_0x3be49f(0xcb)](_0x3e7b47[_0x3be49f(0x198)],_0x36f886[_0x3be49f(0x153)])){logger[_0x3be49f(0x18f)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x3e7b47[_0x3be49f(0x198)]||_0x3e7b47[_0x3be49f(0x11b)]));for(const _0x27bc18 of _0x3e7b47['errors']){logger[_0x3be49f(0x18f)](_0x27bc18[_0x3be49f(0x198)]);}process[_0x3be49f(0xd6)][_0x3be49f(0xae)]=_0x36f886[_0x3be49f(0xa4)],process[_0x3be49f(0xd6)][_0x3be49f(0x14d)]=_0x36f886[_0x3be49f(0xa4)];}else logger[_0x3be49f(0x18f)](_0x3be49f(0x195)+(_0x3e7b47[_0x3be49f(0x198)]||_0x3e7b47['stack']));}return[null,null];}}),exports[a108_0x582bbf(0xf5)]=PerformanceTester[a108_0x582bbf(0x141)](a108_0x582bbf(0x10e),async function(_0x4cd0a9){const _0x493ecd=a108_0x582bbf,_0x2ef7a3={};_0x2ef7a3['JzNAf']=function(_0x269876,_0x3b3dc8){return _0x269876!==_0x3b3dc8;},_0x2ef7a3['bswMh']=_0x493ecd(0xc9),_0x2ef7a3[_0x493ecd(0x9b)]=_0x493ecd(0x18f),_0x2ef7a3[_0x493ecd(0x10a)]=_0x493ecd(0xa1),_0x2ef7a3[_0x493ecd(0xe0)]=_0x493ecd(0xc2),_0x2ef7a3['EVTgo']=_0x493ecd(0x124),_0x2ef7a3[_0x493ecd(0xbc)]='test_runs/stop',_0x2ef7a3['jSjcv']=function(_0x39ae4a,_0x588412){return _0x39ae4a+_0x588412;},_0x2ef7a3[_0x493ecd(0x9e)]='Invalid\x20request:\x20',_0x2ef7a3[_0x493ecd(0xf2)]=_0x493ecd(0x89);const _0x240b14=_0x2ef7a3;if(bsSetupHelper[_0x493ecd(0x16c)](process[_0x493ecd(0xd6)][_0x493ecd(0xd4)])||_0x240b14[_0x493ecd(0x169)](typeof process[_0x493ecd(0xd6)][_0x493ecd(0xd4)],_0x240b14[_0x493ecd(0xde)])){const _0x1f53b9={};return _0x1f53b9[_0x493ecd(0x112)]=_0x240b14['dhhst'],_0x1f53b9['message']=_0x240b14[_0x493ecd(0x10a)],_0x1f53b9;}const _0x275004={'endTime':new Date()[_0x493ecd(0x12d)]()},_0x588a77={};_0x588a77[_0x493ecd(0x179)]=_0x493ecd(0x134)+process[_0x493ecd(0xd6)][_0x493ecd(0xd4)],_0x588a77[_0x493ecd(0x16b)]=_0x240b14[_0x493ecd(0xe0)];const _0x666d18={};_0x666d18[_0x493ecd(0x108)]=_0x588a77;const _0x63881d=_0x666d18,_0x334341={};_0x334341[_0x493ecd(0xc6)]=_0x275004,_0x334341[_0x493ecd(0x160)]=null,_0x334341['json']=!![];const _0x33bb54=Object['assign'](_0x63881d,_0x334341);try{const _0x1f750d=await bsSetupHelper[_0x493ecd(0x19a)](_0x240b14[_0x493ecd(0x184)],_0x240b14[_0x493ecd(0xbc)],_0x33bb54,_0x4cd0a9,API_URL);if(_0x1f750d['data'][_0x493ecd(0x18f)])throw new Error(_0x240b14[_0x493ecd(0xdf)](_0x240b14[_0x493ecd(0x9e)],_0x1f750d[_0x493ecd(0x10d)][_0x493ecd(0x18f)]));else{logger['info'](_0x493ecd(0x7f)+new Date()['toISOString']());const _0x3a022b={};return _0x3a022b[_0x493ecd(0x112)]=_0x240b14['hQvac'],_0x3a022b['message']='',_0x3a022b;}}catch(_0x3a3194){_0x3a3194[_0x493ecd(0x18a)]?logger['error'](_0x493ecd(0x15e)+_0x3a3194[_0x493ecd(0x18a)][_0x493ecd(0x112)]+'\x20'+_0x3a3194[_0x493ecd(0x18a)][_0x493ecd(0xb4)]+'\x20'+JSON[_0x493ecd(0xeb)](_0x3a3194['response'][_0x493ecd(0x10d)])):logger[_0x493ecd(0x18f)](_0x493ecd(0x15e)+(_0x3a3194[_0x493ecd(0x198)]||util[_0x493ecd(0xe7)](_0x3a3194)));const _0x149e41={};return _0x149e41[_0x493ecd(0x112)]=_0x240b14[_0x493ecd(0x9b)],_0x149e41[_0x493ecd(0x198)]=_0x3a3194[_0x493ecd(0x198)]||(_0x3a3194['response']?_0x3a3194[_0x493ecd(0x18a)][_0x493ecd(0x112)]+':'+_0x3a3194['response'][_0x493ecd(0xb4)]:_0x3a3194),_0x149e41;}}),exports[a108_0x582bbf(0x185)]=async(_0x473c2d,_0x387051=null,_0x261854=![],_0x55218d=null)=>{const _0x4d3dcb=a108_0x582bbf,_0x317b82={};_0x317b82['HMPOH']=_0x4d3dcb(0x166),_0x317b82[_0x4d3dcb(0x17b)]=_0x4d3dcb(0x95),_0x317b82['DSFAR']=_0x4d3dcb(0x120),_0x317b82[_0x4d3dcb(0x100)]=function(_0x32cafc,_0x156cc2){return _0x32cafc||_0x156cc2;},_0x317b82['xqXqB']=_0x4d3dcb(0x14b),_0x317b82[_0x4d3dcb(0xbf)]=_0x4d3dcb(0x13b);const _0x11a764=_0x317b82;if(!this[_0x4d3dcb(0xff)]()||!globals['getGlobal'](_0x11a764[_0x4d3dcb(0xcf)])||!_0x261854&&!globals[_0x4d3dcb(0xa8)](_0x11a764['CKkcY'])){logger['warn'](_0x11a764[_0x4d3dcb(0xef)]);return;}const _0x1a3e45=_0x261854?_0x11a764[_0x4d3dcb(0x100)](_0x55218d,{}):globals[_0x4d3dcb(0xa8)](_0x11a764[_0x4d3dcb(0xbb)])||{},_0x10fd6b={};_0x10fd6b['method']=_0x387051||global[_0x4d3dcb(0xc5)];const _0x3e07bc=Object[_0x4d3dcb(0x8e)]({},_0x1a3e45,_0x10fd6b);await this[_0x4d3dcb(0x168)](_0x473c2d)&&(Object[_0x4d3dcb(0x8e)](_0x3e07bc,this[_0x4d3dcb(0x91)](),{'thTestRunUuid':this[_0x4d3dcb(0xe2)]()}),logger[_0x4d3dcb(0x14a)](_0x11a764[_0x4d3dcb(0xbf)]));logger[_0x4d3dcb(0x14a)](_0x4d3dcb(0x159)+util['format']('%j',_0x3e07bc));const _0x47c92a={};return _0x47c92a[_0x4d3dcb(0x15c)]=_0x387051,await PerformanceTester[_0x4d3dcb(0x141)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x469245=_0x4d3dcb;try{await _0x473c2d[_0x469245(0x139)](()=>_0x473c2d['executeScript'](_0x469245(0xfb)),0x1388);}catch(_0x19a8fb){}const _0x2e7472=util['format'](await _0x473c2d[_0x469245(0x186)](scripts[_0x469245(0x185)],_0x3e07bc));return logger[_0x469245(0x14a)](_0x469245(0x192)+_0x2e7472),_0x2e7472;},_0x47c92a)();},exports[a108_0x582bbf(0xce)]=async(_0x352774,_0x47f7a2)=>{const _0x1f1e34=a108_0x582bbf,_0x3befc9={};_0x3befc9[_0x1f1e34(0x13a)]=_0x1f1e34(0xd7),_0x3befc9['DCAaG']=_0x1f1e34(0x166),_0x3befc9[_0x1f1e34(0xbe)]='bstackA11yShouldScan',_0x3befc9['ovByT']=_0x1f1e34(0x9f),_0x3befc9[_0x1f1e34(0x11e)]='getAccessibilityResults',_0x3befc9[_0x1f1e34(0x132)]='No\x20accessibility\x20results\x20were\x20found.';const _0x25ac58=_0x3befc9;if(!this['isAccessibilityAutomationSession']()||!globals['getGlobal'](_0x25ac58[_0x1f1e34(0x150)])||!globals['getGlobal'](_0x25ac58[_0x1f1e34(0xbe)]))return logger[_0x1f1e34(0x90)](_0x25ac58[_0x1f1e34(0x86)]),[];try{const _0x38d0d7=await this['isMobileAccessibilitySession'](_0x352774),_0x2bf772=_0x38d0d7?Object[_0x1f1e34(0x8e)]({},this[_0x1f1e34(0x91)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x38d0d7&&logger[_0x1f1e34(0x14a)]('getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20'+util[_0x1f1e34(0xe7)]('%j',_0x2bf772)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1f1e34(0x10f)],async()=>{const _0x170e6a=_0x1f1e34;logger['debug'](_0x25ac58[_0x170e6a(0x13a)]);const _0x4272e8={};_0x4272e8[_0x170e6a(0x101)]=_0x47f7a2['browserstackSessionName'];const _0x495084=Object[_0x170e6a(0x8e)](_0x4272e8,_0x2bf772);logger[_0x170e6a(0x14a)](util[_0x170e6a(0xe7)](await _0x352774[_0x170e6a(0x186)](scripts[_0x170e6a(0x185)],_0x495084)));},{'command':_0x25ac58[_0x1f1e34(0x11e)]})(),await PerformanceTester[_0x1f1e34(0x141)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x7c74a4=_0x1f1e34,_0x41894d=_0x38d0d7?await _0x352774['executeAsyncScript'](scripts[_0x7c74a4(0x17d)],_0x2bf772):await _0x352774[_0x7c74a4(0x186)](scripts[_0x7c74a4(0x17d)]);return _0x41894d;})();}catch{return logger[_0x1f1e34(0x18f)](_0x25ac58[_0x1f1e34(0x132)]),[];}},exports[a108_0x582bbf(0x17e)]=async(_0x462908,_0x37b47f)=>{const _0x5306c4=a108_0x582bbf,_0x26461b={};_0x26461b[_0x5306c4(0x11a)]=_0x5306c4(0xad),_0x26461b[_0x5306c4(0x13f)]=_0x5306c4(0x166),_0x26461b['gMUdW']=_0x5306c4(0x95),_0x26461b[_0x5306c4(0xf4)]=_0x5306c4(0x151),_0x26461b[_0x5306c4(0x18d)]=_0x5306c4(0x17e),_0x26461b[_0x5306c4(0xb9)]=_0x5306c4(0x94);const _0x1b31c9=_0x26461b;if(!this[_0x5306c4(0xff)]()||!globals[_0x5306c4(0xa8)](_0x1b31c9[_0x5306c4(0x13f)])||!globals[_0x5306c4(0xa8)](_0x1b31c9[_0x5306c4(0xaa)]))return logger[_0x5306c4(0x90)](_0x1b31c9[_0x5306c4(0xf4)]),{};try{const _0x1c7257=await this[_0x5306c4(0x168)](_0x462908),_0x44639c=_0x1c7257?Object[_0x5306c4(0x8e)]({},this[_0x5306c4(0x91)](),{'thTestRunUuid':this[_0x5306c4(0xe2)]()}):{};return _0x1c7257&&logger[_0x5306c4(0x14a)]('getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20'+util[_0x5306c4(0xe7)]('%j',_0x44639c)),await PerformanceTester[_0x5306c4(0x141)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x50ddc6=_0x5306c4;logger[_0x50ddc6(0x14a)](_0x1b31c9[_0x50ddc6(0x11a)]);const _0x3a2332={};_0x3a2332['method']=_0x37b47f[_0x50ddc6(0xc5)];const _0x43fbb5=Object['assign'](_0x3a2332,_0x44639c);logger['debug'](util['format'](await _0x462908['executeAsyncScript'](scripts[_0x50ddc6(0x185)],_0x43fbb5)));},{'command':_0x1b31c9[_0x5306c4(0x18d)]})(),await PerformanceTester[_0x5306c4(0x141)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x80056b=_0x5306c4,_0x3b4bba=_0x1c7257?await _0x462908[_0x80056b(0x186)](scripts['getResultsSummary'],_0x44639c):await _0x462908[_0x80056b(0x186)](scripts['getResultsSummary']);return _0x3b4bba;})();}catch{return logger[_0x5306c4(0x18f)](_0x1b31c9['afuiN']),{};}},exports[a108_0x582bbf(0x143)]=(_0x343063,_0x9087ed=![])=>{const _0x4f131a=a108_0x582bbf,_0x7012c6={'DMOtM':function(_0x32b41c,_0x454325){return _0x32b41c(_0x454325);},'vaKZu':_0x4f131a(0x147),'YyzYC':function(_0x49aee7,_0x4adf6a){return _0x49aee7!==_0x4adf6a;},'XtsKx':'android','WqlPY':function(_0x542f6d,_0x2b44d2){return _0x542f6d(_0x2b44d2);},'KStnb':_0x4f131a(0x199),'ggeaB':'chrome','hWnlu':'Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','RaOWw':_0x4f131a(0xf3)};try{if(!_0x343063)return![];const _0x5df754=_0x216190=>typeof _0x343063[_0x4f131a(0x152)]===_0x4f131a(0x128)?_0x343063[_0x4f131a(0x152)](_0x216190):_0x343063[_0x216190],_0x501d1c=_0x7012c6[_0x4f131a(0xf7)](String,_0x7012c6['DMOtM'](_0x5df754,_0x7012c6[_0x4f131a(0xf0)])||'')[_0x4f131a(0x161)]();if(_0x7012c6[_0x4f131a(0x14e)](_0x501d1c,_0x7012c6[_0x4f131a(0x117)]))return![];const _0x52a51f=_0x7012c6[_0x4f131a(0xf7)](String,_0x7012c6[_0x4f131a(0xf8)](_0x5df754,_0x7012c6[_0x4f131a(0x167)])||'')[_0x4f131a(0x161)]();if(!_0x52a51f[_0x4f131a(0x10c)](_0x7012c6['ggeaB']))return _0x9087ed&&logger['warn'](_0x7012c6[_0x4f131a(0xac)]),![];return logger[_0x4f131a(0x14a)](_0x7012c6[_0x4f131a(0xed)]),!![];}catch(_0x24e7c3){return logger[_0x4f131a(0x14a)](_0x4f131a(0x17f)+_0x24e7c3),![];}},exports[a108_0x582bbf(0x168)]=async _0x44393f=>{const _0x528fb2=a108_0x582bbf;try{const _0x5d2c18=await _0x44393f[_0x528fb2(0x115)]();return exports[_0x528fb2(0x143)](_0x5d2c18);}catch(_0x530e29){return logger[_0x528fb2(0x14a)](_0x528fb2(0x12f)+_0x530e29),![];}},exports[a108_0x582bbf(0x91)]=()=>{const _0x5f2383=a108_0x582bbf,_0x3c2f42={};return _0x3c2f42[_0x5f2383(0x157)]=!![],_0x3c2f42;},exports['resolveMobileThTestRunUuid']=()=>{const _0x165775=a108_0x582bbf,_0x3bc4cc={};_0x3bc4cc['qvxSf']=function(_0x1e739c,_0x463ea2){return _0x1e739c===_0x463ea2;},_0x3bc4cc[_0x165775(0x133)]=_0x165775(0xc9),_0x3bc4cc[_0x165775(0xd0)]=function(_0xd26d15,_0x8e8e9d){return _0xd26d15>_0x8e8e9d;},_0x3bc4cc[_0x165775(0x127)]=_0x165775(0x135),_0x3bc4cc['sacac']=_0x165775(0xc0),_0x3bc4cc[_0x165775(0x172)]=function(_0x1c9fce,_0x2168a7){return _0x1c9fce===_0x2168a7;},_0x3bc4cc[_0x165775(0xe4)]=_0x165775(0xb8);const _0x503b7f=_0x3bc4cc,_0x1c2239=global['__workerDetails'],_0x25334c=_0x1c2239&&_0x1c2239[_0x165775(0x98)],_0x14ca33=_0x25334c&&_0x25334c[_0x165775(0x87)];if(_0x503b7f[_0x165775(0x122)](typeof _0x14ca33,_0x503b7f[_0x165775(0x133)])&&_0x503b7f[_0x165775(0xd0)](_0x14ca33['length'],0x0))return _0x14ca33;let _0x2ef451;if(!_0x1c2239)_0x2ef451=_0x503b7f['mppmZ'];else!_0x25334c?_0x2ef451=_0x503b7f[_0x165775(0xb0)]:_0x2ef451='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object['keys'](_0x25334c)[_0x165775(0x9d)](',\x20')+_0x165775(0xa2)+(_0x503b7f[_0x165775(0x172)](_0x14ca33,undefined)?_0x503b7f[_0x165775(0xe4)]:'\x22'+_0x14ca33+'\x22')+_0x165775(0xb6);return logger[_0x165775(0x90)](_0x165775(0x142)+_0x2ef451+_0x165775(0x126)),'';},exports[a108_0x582bbf(0xf1)]=_0x5b9bb9=>{const _0x251ae8=a108_0x582bbf,_0xa7042c={};_0xa7042c[_0x251ae8(0x19b)]=function(_0x43bbd7,_0x3452d0){return _0x43bbd7===_0x3452d0;},_0xa7042c['yZiwL']=_0x251ae8(0xc9),_0xa7042c['Uwpwo']=_0x251ae8(0x145);const _0xe9b429=_0xa7042c;if(_0x5b9bb9&&_0x5b9bb9['script']&&_0xe9b429[_0x251ae8(0x19b)](typeof _0x5b9bb9[_0x251ae8(0x110)],_0xe9b429[_0x251ae8(0xba)]))return _0x5b9bb9[_0x251ae8(0x110)][_0x251ae8(0x10c)](_0xe9b429['Uwpwo']);return![];},exports['MOBILE_SCANNING_DISABLED_WARNING']='Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.',exports[a108_0x582bbf(0x11c)]=()=>process[a108_0x582bbf(0xd6)][a108_0x582bbf(0x125)]===a108_0x582bbf(0x191),exports['isBrowserSupportedForAccessibility']=_0x39eb9c=>{const _0x3be474=a108_0x582bbf,_0x2f2620={};_0x2f2620[_0x3be474(0x12a)]=function(_0x354aee,_0x5ed12e){return _0x354aee in _0x5ed12e;};const _0x2eb5ce=_0x2f2620;if(bsSetupHelper[_0x3be474(0x16c)](_0x39eb9c))return![];const _0x5315a7=_0x39eb9c[_0x3be474(0x161)]();return _0x2eb5ce[_0x3be474(0x12a)](_0x5315a7,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a108_0x582bbf(0x104)]=_0x1685a7=>{const _0x50a270=a108_0x582bbf;if(bsSetupHelper['isUndefined'](_0x1685a7))return null;const _0x4c8aa2=_0x1685a7[_0x50a270(0x161)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x4c8aa2]||null;},exports['getMinVersionForBrowser']=(_0x54f22b,_0x1e3cf7)=>{const _0x3793ee=a108_0x582bbf,_0x389291=this['getBrowserA11yConfig'](_0x54f22b);if(!_0x389291)return null;if(_0x1e3cf7)return _0x389291[_0x3793ee(0x118)];return _0x389291[_0x3793ee(0x131)];},exports['getBrowserDisplayName']=_0x1711a9=>{const _0x10f634=this['getBrowserA11yConfig'](_0x1711a9);return _0x10f634?_0x10f634['display_name']:_0x1711a9;},exports[a108_0x582bbf(0x18e)]=_0x2925e5=>{const _0x24eac6=a108_0x582bbf,_0x547dbe=this['getBrowserA11yConfig'](_0x2925e5);return _0x547dbe?_0x547dbe[_0x24eac6(0xc7)]:![];},exports[a108_0x582bbf(0x107)]=(_0x18be29,_0x17a918)=>{const _0x19fb06=a108_0x582bbf,_0x4ade30={'dqdHZ':function(_0x777b7b,_0x28803b){return _0x777b7b(_0x28803b);},'GwRgz':function(_0x2a0405,_0x7dc7b0){return _0x2a0405>=_0x7dc7b0;}};if(bsSetupHelper[_0x19fb06(0x16c)](_0x18be29)||bsSetupHelper[_0x19fb06(0x16c)](_0x17a918))return![];const _0x503b65=bsSetupHelper[_0x19fb06(0x173)](_0x4ade30[_0x19fb06(0x148)](String,_0x18be29),_0x4ade30[_0x19fb06(0x148)](String,_0x17a918));return _0x4ade30[_0x19fb06(0xf6)](_0x503b65,0x0);},exports[a108_0x582bbf(0xcc)]=_0xfacac4=>{const _0x2c7cf8=a108_0x582bbf,_0x592e92={};_0x592e92[_0x2c7cf8(0x119)]=function(_0x43c6df,_0x51138a){return _0x43c6df!==_0x51138a;},_0x592e92[_0x2c7cf8(0x13e)]=_0x2c7cf8(0xc9),_0x592e92[_0x2c7cf8(0xfc)]=_0x2c7cf8(0xd5);const _0xe517f5=_0x592e92;if(!_0xfacac4||_0xe517f5[_0x2c7cf8(0x119)](typeof _0xfacac4,_0xe517f5[_0x2c7cf8(0x13e)]))return null;try{return JSON[_0x2c7cf8(0xe5)](Buffer[_0x2c7cf8(0xd1)](_0xfacac4[_0x2c7cf8(0xab)]('.')[0x1],_0xe517f5[_0x2c7cf8(0xfc)])[_0x2c7cf8(0xaf)]());}catch{return null;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a109_0x6d9bd9=a109_0x34c6;function a109_0x34c6(_0x366900,_0xa4dca6){const _0x9ff000=a109_0x9ff0();return a109_0x34c6=function(_0x34c667,_0x33c6c4){_0x34c667=_0x34c667-0x67;let _0x51d0c4=_0x9ff000[_0x34c667];return _0x51d0c4;},a109_0x34c6(_0x366900,_0xa4dca6);}(function(_0x511f87,_0x1f9c2f){const _0x414b3c=a109_0x34c6,_0x184d8b=_0x511f87();while(!![]){try{const _0xb0d2a9=parseInt(_0x414b3c(0x88))/0x1+-parseInt(_0x414b3c(0x78))/0x2+parseInt(_0x414b3c(0x8c))/0x3*(parseInt(_0x414b3c(0x77))/0x4)+parseInt(_0x414b3c(0xa4))/0x5*(parseInt(_0x414b3c(0x9b))/0x6)+-parseInt(_0x414b3c(0x80))/0x7*(-parseInt(_0x414b3c(0x84))/0x8)+parseInt(_0x414b3c(0x73))/0x9+-parseInt(_0x414b3c(0x8e))/0xa;if(_0xb0d2a9===_0x1f9c2f)break;else _0x184d8b['push'](_0x184d8b['shift']());}catch(_0x110be4){_0x184d8b['push'](_0x184d8b['shift']());}}}(a109_0x9ff0,0x8acc4));const path=require(a109_0x6d9bd9(0x82)),fs=require('fs'),logger=require(a109_0x6d9bd9(0x72))[a109_0x6d9bd9(0xa0)],helper=require(a109_0x6d9bd9(0x92));class Scripts{constructor(){const _0xe94974=a109_0x6d9bd9,_0x5797b6={};_0x5797b6['tmfSa']=_0xe94974(0x9e),_0x5797b6['uUkKj']=_0xe94974(0x6b),_0x5797b6['FyEBy']=_0xe94974(0xa5);const _0x4d06f0=_0x5797b6,_0x22f2bc=_0x4d06f0[_0xe94974(0xa2)][_0xe94974(0x67)]('|');let _0x361a54=0x0;while(!![]){switch(_0x22f2bc[_0x361a54++]){case'0':this[_0xe94974(0x8d)]=null;continue;case'1':this[_0xe94974(0x7b)]=path[_0xe94974(0xa1)](helper[_0xe94974(0xa3)](),_0x4d06f0[_0xe94974(0x6f)]);continue;case'2':this[_0xe94974(0x7f)]=null;continue;case'3':this[_0xe94974(0x89)]=path[_0xe94974(0xa1)](this[_0xe94974(0x7b)],_0x4d06f0[_0xe94974(0x68)]);continue;case'4':this[_0xe94974(0x7e)]();continue;case'5':this[_0xe94974(0x7a)]=null;continue;case'6':this[_0xe94974(0x97)]=null;continue;}break;}}['parseFromJson'](_0x34e03b){const _0x360f16=a109_0x6d9bd9;_0x34e03b[_0x360f16(0x6c)]&&(this['performScan']=_0x34e03b[_0x360f16(0x6c)][_0x360f16(0x93)],this[_0x360f16(0x8d)]=_0x34e03b['scripts'][_0x360f16(0x8d)],this[_0x360f16(0x7f)]=_0x34e03b[_0x360f16(0x6c)]['getResultsSummary'],this[_0x360f16(0x97)]=_0x34e03b[_0x360f16(0x6c)][_0x360f16(0x86)]),this[_0x360f16(0x79)]=_0x34e03b['commands'],this[_0x360f16(0x99)]=_0x34e03b['nonBStackInfraA11yChromeOptions'];}[a109_0x6d9bd9(0x9c)](_0xfcc5c6,_0x178650){const _0x477172=a109_0x6d9bd9,_0x418cd5={};_0x418cd5['NOffD']=function(_0x3670c6,_0x1cee38){return _0x3670c6>_0x1cee38;},_0x418cd5['YXKKH']=function(_0x456b36,_0x51903f){return _0x456b36===_0x51903f;},_0x418cd5[_0x477172(0x6e)]='scan',_0x418cd5[_0x477172(0x90)]=_0x477172(0x8d),_0x418cd5['NXLlc']=function(_0x9a8ab,_0x55fd8d){return _0x9a8ab===_0x55fd8d;},_0x418cd5[_0x477172(0x81)]=_0x477172(0x7f),_0x418cd5[_0x477172(0x95)]=function(_0x735567,_0x4f5950){return _0x735567===_0x4f5950;},_0x418cd5['oyDqQ']='saveResults';const _0x486e84=_0x418cd5;if(_0xfcc5c6&&_0x486e84['NOffD'](_0xfcc5c6[_0x477172(0x7d)],0x0))for(const _0x3dfdd6 of _0xfcc5c6){if(_0x486e84[_0x477172(0x6d)](_0x3dfdd6['getName'](),_0x486e84['qYLnF']))this['performScan']=_0x3dfdd6[_0x477172(0x85)]();else{if(_0x486e84[_0x477172(0x6d)](_0x3dfdd6[_0x477172(0x96)](),_0x486e84[_0x477172(0x90)]))this[_0x477172(0x8d)]=_0x3dfdd6[_0x477172(0x85)]();else{if(_0x486e84[_0x477172(0x8b)](_0x3dfdd6['getName'](),_0x486e84[_0x477172(0x81)]))this[_0x477172(0x7f)]=_0x3dfdd6[_0x477172(0x85)]();else _0x486e84[_0x477172(0x95)](_0x3dfdd6[_0x477172(0x96)](),_0x486e84[_0x477172(0x83)])&&(this['saveTestResults']=_0x3dfdd6[_0x477172(0x85)]());}}}_0x178650&&_0x486e84[_0x477172(0x98)](_0x178650[_0x477172(0x7d)],0x0)&&(this[_0x477172(0x79)]=_0x178650[_0x477172(0x69)](_0x2a9f17=>{const _0x333244=_0x477172;return{'name':_0x2a9f17[_0x333244(0x96)](),'method':_0x2a9f17[_0x333244(0x8a)](),'library':_0x2a9f17[_0x333244(0x8f)](),'module':_0x2a9f17[_0x333244(0x74)](),'class':_0x2a9f17[_0x333244(0x71)]()};}));}['shouldWrapCommand'](_0x15524c){const _0x163a04=a109_0x6d9bd9,_0x1c8f04={};_0x1c8f04[_0x163a04(0x91)]=function(_0x4d94f8,_0x38d151){return _0x4d94f8!==_0x38d151;};const _0x35fcd0=_0x1c8f04;try{return _0x35fcd0[_0x163a04(0x91)](this[_0x163a04(0x79)]['findIndex'](_0x2c889f=>_0x2c889f[_0x163a04(0x7c)][_0x163a04(0x9d)]()===_0x15524c['toLowerCase']()),-0x1);}catch(_0x181466){logger[_0x163a04(0x94)](_0x163a04(0x87)+_0x181466);}return![];}[a109_0x6d9bd9(0x6a)](){const _0x4c2eeb=a109_0x6d9bd9;!fs[_0x4c2eeb(0x9f)](this['browserstackFolderPath'])&&fs[_0x4c2eeb(0x76)](this['browserstackFolderPath']),fs[_0x4c2eeb(0x75)](this[_0x4c2eeb(0x89)],JSON['stringify']({'scripts':{'scan':this[_0x4c2eeb(0x7a)],'getResults':this[_0x4c2eeb(0x8d)],'getResultsSummary':this[_0x4c2eeb(0x7f)],'saveResults':this[_0x4c2eeb(0x97)]},'commands':this['commandsToWrap'],'nonBStackInfraA11yChromeOptions':this['ChromeExtension']}));}[a109_0x6d9bd9(0x7e)](){const _0x201fb4=a109_0x6d9bd9,_0x237fef={'qOerj':function(_0xecc17a,_0x42a8ab){return _0xecc17a(_0x42a8ab);}};fs[_0x201fb4(0x9f)](this[_0x201fb4(0x89)])&&this[_0x201fb4(0x9a)](_0x237fef[_0x201fb4(0x70)](require,this[_0x201fb4(0x89)]));}}function a109_0x9ff0(){const _0x399f4b=['48KpzhWX','parseFromProto','toLowerCase','5|0|2|6|1|3|4','existsSync','winstonLogger','join','tmfSa','homedir','346445dwnAYd','commands.json','split','FyEBy','map','toJson','.browserstack','scripts','YXKKH','qYLnF','uUkKj','qOerj','getClass','../../helpers/logger','8244072hAQAbC','getModule','writeFileSync','mkdirSync','48rXbeZx','2151010HytcST','commandsToWrap','performScan','browserstackFolderPath','name','length','fromJson','getResultsSummary','1763006LAswFk','GWlWt','path','oyDqQ','16NPjnza','getCommand','saveResults','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','790660laZEGw','commandsPath','getMethod','NXLlc','227208UgSxPT','getResults','20295070dtFSmY','getLibrary','WTVNY','NJfmK','../helper','scan','debug','JAgls','getName','saveTestResults','NOffD','ChromeExtension','parseFromJson'];a109_0x9ff0=function(){return _0x399f4b;};return a109_0x9ff0();}module['exports']=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a110_0x4e01(){const _0x20d8c1=['BrowserstackHealing.healFailure\x20method\x20timed\x20out','browserName','fumyX','using','getCommands','get','HfenB','newCapabilities','840vmdLko','kWYZx','GRUyP','aiHeal_sessionToken','aiHealing','ocCjT','16664polrRb','566634GhGYsJ','\x22,\x20\x22tcgUrls\x22:\x20{\x22','getTestName','BrowserstackHealingLogDataFailed','join','firefox','path','nYMRE','parameters_','chrome','../../ai-sdk-node/bundle','1665624YOzjXz','info','microsoftedge','log','sDgqC','edgeOptions_','RVBPg','PfRAN','dRvFt','../../helpers/timeoutPromise','dXXnG','GkVGt','handleFailure','\x22:\x20{\x22endpoint\x22:\x20\x22','aiHeal_isGroupAIEnabled','map_','\x22}}}','capabilities_','UPdbQ','jaxzW','fromEntries','rOhiF','SET_TCG_TOKEN_TIMEOUT','../globals','forEach','HEALING_LOG_DATA_TIMEOUT','BrowserstackHealing.pollResult\x20method\x20timed\x20out','FnAcf','initializeCapabilities','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','firefoxOptions_','TCG_REGION','4yiRksj','toLowerCase','gZFfH','getProjectName','cancel','safariOptions_','pkXhT','BrowserstackHealing','TCG_URL','winstonLogger','MhCDi','config','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','then','split','../logger','xryUN','POLL_HEALING_RESULT_TIMEOUT','ieOptions_','getCapabilities','isSelfHealEnabled','value','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','handleSuccess','866805TpIbXN','pollResult','bPFrr','894681tIUtca','message','selector','EoBHc','lZJCT','nTyKA','getId','getSession','BrowserstackHealing.setToken\x20method\x20timed\x20out','xEORW','BrowserstackHealing.logData\x20method\x20timed\x20out','locatorType','BrowserstackHealingPollResultFailed','GBXtP','sVndp','set','locatorValue','framework','race','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','safari','initializeHealingCapabilities','36267XGjrZQ','zNrka','string','qibiq','IxilC','logData','executeScript','keys','browserstackSessionName','freeze','aiHeal_userId','\x20command','PTvxl','122777iPJQyk','yYvbs','VqItb','debug','70tWZtET','aiSdkWrapper','edge','getGlobal','replace','error','itavH','_handleEvent','BrowserstackHealingSetTcgTokenFailed','../../bin/utils/constants'];a110_0x4e01=function(){return _0x20d8c1;};return a110_0x4e01();}const a110_0x11a97a=a110_0x5277;(function(_0x112b5b,_0x12b89e){const _0x19a01e=a110_0x5277,_0x101f87=_0x112b5b();while(!![]){try{const _0x134caa=-parseInt(_0x19a01e(0x146))/0x1+parseInt(_0x19a01e(0x163))/0x2+parseInt(_0x19a01e(0x1bf))/0x3+parseInt(_0x19a01e(0x18e))/0x4*(-parseInt(_0x19a01e(0x1a6))/0x5)+-parseInt(_0x19a01e(0x16e))/0x6+parseInt(_0x19a01e(0x15c))/0x7*(-parseInt(_0x19a01e(0x162))/0x8)+-parseInt(_0x19a01e(0x1a9))/0x9*(-parseInt(_0x19a01e(0x14a))/0xa);if(_0x134caa===_0x12b89e)break;else _0x101f87['push'](_0x101f87['shift']());}catch(_0x1384f6){_0x101f87['push'](_0x101f87['shift']());}}}(a110_0x4e01,0x28e8f));const path=require(a110_0x11a97a(0x169)),{commandRepository}=require('./autoHealHelper'),constants=require(a110_0x11a97a(0x153)),logger=require(a110_0x11a97a(0x19d))[a110_0x11a97a(0x197)],globals=require(a110_0x11a97a(0x185)),timeoutPromise=require(a110_0x11a97a(0x177)),isUndefinedOrNull=_0x1828de=>_0x1828de===undefined||_0x1828de===null||_0x1828de==='',isNotUndefinedOrNull=_0x18eb21=>!isUndefinedOrNull(_0x18eb21),isString=_0x45cfcd=>isNotUndefinedOrNull(_0x45cfcd)&&typeof _0x45cfcd===a110_0x11a97a(0x1c1);function a110_0x5277(_0xcdb96d,_0x11fe98){const _0x4e0132=a110_0x4e01();return a110_0x5277=function(_0x5277ce,_0x1d7b40){_0x5277ce=_0x5277ce-0x13d;let _0x4f963e=_0x4e0132[_0x5277ce];return _0x4f963e;},a110_0x5277(_0xcdb96d,_0x11fe98);}class AiSdkWrapper{constructor(){const _0xa8ce22=a110_0x11a97a,_0x1b49c3={'bPFrr':function(_0x4b4797,_0x11dbd8){return _0x4b4797(_0x11dbd8);},'nTyKA':_0xa8ce22(0x16d)};this['BrowserstackHealing']=undefined;try{this[_0xa8ce22(0x195)]=_0x1b49c3[_0xa8ce22(0x1a8)](require,path[_0xa8ce22(0x167)](__dirname,_0x1b49c3[_0xa8ce22(0x1ae)]));}catch(_0x3d4fbc){logger['error'](_0xa8ce22(0x1bc)+(_0x3d4fbc&&_0x3d4fbc[_0xa8ce22(0x1aa)]?_0x3d4fbc[_0xa8ce22(0x1aa)]:''));}}[a110_0x11a97a(0x1be)](_0x445342){const _0x57556f=a110_0x11a97a,_0x37a2cc={};_0x37a2cc[_0x57556f(0x1c0)]=_0x57556f(0x15b),_0x37a2cc[_0x57556f(0x15d)]=function(_0x23b3e4,_0x118f5f){return _0x23b3e4===_0x118f5f;},_0x37a2cc[_0x57556f(0x150)]=_0x57556f(0x16c),_0x37a2cc['pkXhT']=function(_0x23f615,_0x502faa){return _0x23f615===_0x502faa;},_0x37a2cc[_0x57556f(0x1c2)]=_0x57556f(0x168),_0x37a2cc[_0x57556f(0x174)]=function(_0x755fcf,_0x566a0b){return _0x755fcf===_0x566a0b;},_0x37a2cc[_0x57556f(0x176)]=_0x57556f(0x1bd),_0x37a2cc[_0x57556f(0x1ac)]=_0x57556f(0x14c),_0x37a2cc[_0x57556f(0x172)]=function(_0x35534f,_0x562dff){return _0x35534f===_0x562dff;},_0x37a2cc[_0x57556f(0x156)]=_0x57556f(0x170),_0x37a2cc['HiXiG']=function(_0x53c159,_0x4ca826){return _0x53c159===_0x4ca826;};const _0x58aedf=_0x37a2cc;try{const _0x37d65d=this['BrowserstackHealing'][_0x57556f(0x18a)](Object[_0x57556f(0x182)](_0x445342[_0x57556f(0x1a1)]()[_0x57556f(0x17d)]));console[_0x57556f(0x171)](_0x58aedf[_0x57556f(0x1c0)],_0x37d65d);if(_0x58aedf[_0x57556f(0x15d)](_0x37d65d?.[_0x57556f(0x155)]?.[_0x57556f(0x18f)](),_0x58aedf[_0x57556f(0x150)]))_0x445342['chromeOptions_']=_0x37d65d;else{if(_0x58aedf[_0x57556f(0x194)](_0x37d65d?.[_0x57556f(0x155)]?.[_0x57556f(0x18f)](),_0x58aedf['qibiq']))_0x445342[_0x57556f(0x18c)]=_0x37d65d;else{if(_0x58aedf[_0x57556f(0x174)](_0x37d65d?.[_0x57556f(0x155)]?.[_0x57556f(0x18f)](),_0x58aedf[_0x57556f(0x176)]))_0x445342[_0x57556f(0x193)]=_0x37d65d;else{if(_0x58aedf[_0x57556f(0x194)](_0x37d65d?.[_0x57556f(0x155)]?.['toLowerCase'](),_0x58aedf[_0x57556f(0x1ac)])||_0x58aedf['sDgqC'](_0x37d65d?.[_0x57556f(0x155)]?.['toLowerCase'](),_0x58aedf[_0x57556f(0x156)]))_0x445342[_0x57556f(0x173)]=_0x37d65d;else _0x58aedf['HiXiG'](_0x37d65d?.[_0x57556f(0x155)]?.[_0x57556f(0x18f)](),'ie')&&(_0x445342[_0x57556f(0x1a0)]=_0x37d65d);}}}Object[_0x57556f(0x140)](_0x37d65d)[_0x57556f(0x186)](_0x5dbdec=>{const _0x31e986=_0x57556f,_0x59ad4b=_0x445342[_0x31e986(0x17f)][_0x31e986(0x159)](_0x5dbdec);_0x445342[_0x31e986(0x17f)][_0x31e986(0x1b8)](_0x5dbdec,_0x37d65d[_0x5dbdec]);});}catch(_0x47a755){logger[_0x57556f(0x14f)]('Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20'+(_0x47a755&&_0x47a755[_0x57556f(0x1aa)]?_0x47a755[_0x57556f(0x1aa)]:''));}}async['setTcgToken'](_0xaff489){const _0x36a374=a110_0x11a97a,_0x1af9fa={'dXXnG':function(_0x3e8742,_0x2137c9,_0x399c0b,_0x5ae5d4,_0xb3d0c7,_0x5777ce,_0x5d3dd0){return _0x3e8742(_0x2137c9,_0x399c0b,_0x5ae5d4,_0xb3d0c7,_0x5777ce,_0x5d3dd0);},'ocCjT':_0x36a374(0x1b1),'sVndp':_0x36a374(0x152),'rOhiF':_0x36a374(0x15f)},_0x32d5df=new Date(),_0x38c597=_0x1af9fa[_0x36a374(0x178)](timeoutPromise,constants[_0x36a374(0x184)],_0x1af9fa[_0x36a374(0x161)],_0x1af9fa[_0x36a374(0x1b7)],_0x32d5df,this[_0x36a374(0x199)],this[_0x36a374(0x1ba)]);await Promise[_0x36a374(0x1bb)]([this[_0x36a374(0x195)]['setToken'](_0xaff489,globals[_0x36a374(0x14d)](_0x1af9fa[_0x36a374(0x183)]),constants[_0x36a374(0x196)])['then'](()=>{const _0x4487c4=_0x36a374;_0x38c597[_0x4487c4(0x192)]();}),_0x38c597]);}async[a110_0x11a97a(0x151)](_0x39f163,_0x1306a2,_0x46e2e9,_0x5d9fa5){const _0x1fbc6f=a110_0x11a97a,_0x1190fc={'OfpFA':function(_0x4c14db,_0x2e90ae){return _0x4c14db===_0x2e90ae;},'PTsPC':function(_0x7dbf17,_0x412bf2){return _0x7dbf17===_0x412bf2;},'UPdbQ':function(_0xda8387,_0x2625bc){return _0xda8387(_0x2625bc);},'PTvxl':function(_0x4c5574,_0x47e2cf){return _0x4c5574(_0x47e2cf);},'xEORW':function(_0x587d90,_0x50287c){return _0x587d90(_0x50287c);},'HfenB':function(_0x2c64cc,_0x1399f4){return _0x2c64cc(_0x1399f4);},'MhCDi':function(_0x3d4410,_0x191c38){return _0x3d4410(_0x191c38);},'FnAcf':'s://','PfRAN':function(_0x3205d6,_0x8fbb91){return _0x3205d6(_0x8fbb91);},'GkVGt':_0x1fbc6f(0x143),'jaxzW':'aiHeal_groupId','IxilC':_0x1fbc6f(0x17c),'gZFfH':function(_0x5e51c4,_0x107e69,_0x364b78,_0x1a911f,_0x1a89de,_0xb4e19a,_0x1abc7e){return _0x5e51c4(_0x107e69,_0x364b78,_0x1a911f,_0x1a89de,_0xb4e19a,_0x1abc7e);},'GRUyP':_0x1fbc6f(0x1b3),'GBXtP':_0x1fbc6f(0x166),'VqItb':function(_0x591989,_0x4b8f2b,_0x59cabc,_0x203539,_0x66d1e3,_0x555512,_0x16f319){return _0x591989(_0x4b8f2b,_0x59cabc,_0x203539,_0x66d1e3,_0x555512,_0x16f319);},'lZJCT':_0x1fbc6f(0x154),'ylOxb':'BrowserstackHealingHealFailureFailed'},_0x375e50=(await _0x1306a2[_0x1fbc6f(0x1b0)]())[_0x1fbc6f(0x1af)]();let _0x52fd86='';if(commandRepository[_0x1fbc6f(0x1a2)]()&&_0x1190fc['OfpFA'](_0x5d9fa5,![])||_0x1190fc['PTsPC'](_0x5d9fa5,!![])){const _0xb6d46d=_0x1190fc['UPdbQ'](isNotUndefinedOrNull,_0x46e2e9[_0x1fbc6f(0x16b)][_0x1fbc6f(0x157)])&&_0x1190fc['UPdbQ'](isString,_0x46e2e9[_0x1fbc6f(0x16b)][_0x1fbc6f(0x157)])?_0x46e2e9[_0x1fbc6f(0x16b)]['using'][_0x1fbc6f(0x14e)](/'/g,'\x5c\x27')[_0x1fbc6f(0x14e)](/"/g,'\x5c\x22'):'',_0x5ddfc0=_0x1190fc[_0x1fbc6f(0x145)](isNotUndefinedOrNull,_0x46e2e9['parameters_'][_0x1fbc6f(0x157)])&&_0x1190fc[_0x1fbc6f(0x145)](isString,_0x46e2e9[_0x1fbc6f(0x16b)][_0x1fbc6f(0x1a3)])?_0x46e2e9[_0x1fbc6f(0x16b)]['value']['replace'](/'/g,'\x5c\x27')[_0x1fbc6f(0x14e)](/"/g,'\x5c\x22'):'',_0x2237e2=_0x1190fc[_0x1fbc6f(0x1b2)](isNotUndefinedOrNull,commandRepository[_0x1fbc6f(0x191)]())&&_0x1190fc[_0x1fbc6f(0x1b2)](isString,commandRepository[_0x1fbc6f(0x191)]())?commandRepository[_0x1fbc6f(0x191)]()[_0x1fbc6f(0x14e)](/'/g,'\x5c\x27')[_0x1fbc6f(0x14e)](/"/g,'\x5c\x22'):'';let _0x590201=_0x1190fc[_0x1fbc6f(0x15a)](isNotUndefinedOrNull,global[_0x1fbc6f(0x141)])&&_0x1190fc[_0x1fbc6f(0x180)](isString,global[_0x1fbc6f(0x141)])?global[_0x1fbc6f(0x141)]['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';!_0x590201&&(_0x590201=_0x1190fc['MhCDi'](isNotUndefinedOrNull,commandRepository[_0x1fbc6f(0x165)]())&&_0x1190fc[_0x1fbc6f(0x198)](isString,commandRepository[_0x1fbc6f(0x165)]())?commandRepository['getTestName']()[_0x1fbc6f(0x14e)](/'/g,'\x5c\x27')[_0x1fbc6f(0x14e)](/"/g,'\x5c\x22'):'');let _0x3e5ec8='{\x22region\x22:\x20\x22'+constants[_0x1fbc6f(0x18d)]+_0x1fbc6f(0x164)+constants['TCG_REGION']+_0x1fbc6f(0x17b)+constants[_0x1fbc6f(0x196)][_0x1fbc6f(0x19c)](_0x1190fc[_0x1fbc6f(0x189)])[0x1]+_0x1fbc6f(0x17e);_0x3e5ec8=_0x1190fc['PTvxl'](isNotUndefinedOrNull,_0x3e5ec8)&&_0x1190fc[_0x1fbc6f(0x175)](isString,_0x3e5ec8)?_0x3e5ec8['replace'](/'/g,'\x5c\x27')[_0x1fbc6f(0x14e)](/"/g,'\x5c\x22'):'';const _0x245f2b=commandRepository[_0x1fbc6f(0x158)](_0x375e50),_0x2e9733=globals[_0x1fbc6f(0x14d)](_0x1190fc[_0x1fbc6f(0x179)]),_0x271a16=globals[_0x1fbc6f(0x14d)](_0x1190fc[_0x1fbc6f(0x181)]),_0x12ec78=globals['getGlobal'](_0x1190fc[_0x1fbc6f(0x13d)]),_0x4b0c89=![],_0x18d825=new Date();if(_0x5d9fa5){const _0x4fec23=_0x1190fc[_0x1fbc6f(0x190)](timeoutPromise,constants[_0x1fbc6f(0x187)],_0x1190fc[_0x1fbc6f(0x15e)],_0x1190fc[_0x1fbc6f(0x1b6)],_0x18d825,this['config'],this[_0x1fbc6f(0x1ba)]);_0x52fd86=await Promise[_0x1fbc6f(0x1bb)]([this[_0x1fbc6f(0x195)][_0x1fbc6f(0x13e)](_0xb6d46d,_0x5ddfc0,_0x2237e2,_0x590201,_0x271a16,_0x375e50,_0x245f2b,_0x3e5ec8)[_0x1fbc6f(0x19b)](_0x536355=>{const _0x42908d=_0x1fbc6f;return _0x4fec23[_0x42908d(0x192)](),_0x536355;}),_0x4fec23]);}else{if(commandRepository['isSelfHealEnabled']()){const _0x21bdfc=_0x1190fc[_0x1fbc6f(0x148)](timeoutPromise,constants['HEALING_FAILURE_TIMEOUT'],_0x1190fc[_0x1fbc6f(0x1ad)],_0x1190fc['ylOxb'],_0x18d825,this['config'],this[_0x1fbc6f(0x1ba)]);_0x52fd86=await Promise[_0x1fbc6f(0x1bb)]([this['BrowserstackHealing']['healFailure'](_0xb6d46d,_0x5ddfc0,_0x2237e2,_0x590201,_0x2e9733,_0x271a16,_0x375e50,_0x245f2b,_0x4b0c89,_0x12ec78,_0x3e5ec8)[_0x1fbc6f(0x19b)](_0x3aa772=>{const _0x3c7bd9=_0x1fbc6f;return _0x21bdfc[_0x3c7bd9(0x192)](),_0x3aa772;}),_0x21bdfc]);}}_0x52fd86&&await _0x1306a2[_0x1fbc6f(0x13f)](_0x52fd86);}}async[a110_0x11a97a(0x1a5)](_0x51e2c2,_0x376f62,_0x3223fc){const _0x21f0bc=a110_0x11a97a;try{await this[_0x21f0bc(0x151)](_0x51e2c2,_0x376f62,_0x3223fc,!![]);}catch(_0x51830d){return logger['error'](_0x21f0bc(0x18b)+(_0x51830d&&_0x51830d[_0x21f0bc(0x1aa)]?_0x51830d[_0x21f0bc(0x1aa)]:'')),![];}return!![];}async[a110_0x11a97a(0x17a)](_0x40886a,_0x2a7bcd,_0x546444){const _0xa22ece=a110_0x11a97a,_0x9975cf={'yYvbs':function(_0x4a0780,_0x28c838,_0x448117,_0x36da11,_0x34d0ad,_0x70cb8a,_0x599d9e){return _0x4a0780(_0x28c838,_0x448117,_0x36da11,_0x34d0ad,_0x70cb8a,_0x599d9e);},'nYMRE':_0xa22ece(0x188),'xryUN':_0xa22ece(0x1b5),'pezjd':_0xa22ece(0x15f)};try{await this[_0xa22ece(0x151)](_0x40886a,_0x2a7bcd,_0x546444,![]);const _0x5b7871=(await _0x2a7bcd[_0xa22ece(0x1b0)]())['getId'](),_0x32cfa2=new Date(),_0x41d61a=_0x9975cf[_0xa22ece(0x147)](timeoutPromise,constants[_0xa22ece(0x19f)],_0x9975cf[_0xa22ece(0x16a)],_0x9975cf[_0xa22ece(0x19e)],_0x32cfa2,this[_0xa22ece(0x199)],this[_0xa22ece(0x1ba)]),_0x4476e2=await Promise[_0xa22ece(0x1bb)]([this[_0xa22ece(0x195)][_0xa22ece(0x1a7)](constants[_0xa22ece(0x196)],_0x5b7871,globals['getGlobal'](_0x9975cf['pezjd']))[_0xa22ece(0x19b)](_0x18aa03=>{const _0x54ccb7=_0xa22ece;return _0x41d61a[_0x54ccb7(0x192)](),_0x18aa03;}),_0x41d61a]);if(_0x4476e2&&_0x4476e2[_0xa22ece(0x1ab)]&&_0x4476e2['value']){const _0x5f4544={};return _0x5f4544[_0xa22ece(0x1b4)]=_0x4476e2[_0xa22ece(0x1ab)],_0x5f4544['locatorValue']=_0x4476e2[_0xa22ece(0x1a3)],_0x5f4544[_0xa22ece(0x160)]=!![],_0x5f4544;}const _0x5d7f6a={};return _0x5d7f6a[_0xa22ece(0x1b4)]=_0x546444['parameters_'][_0xa22ece(0x157)],_0x5d7f6a[_0xa22ece(0x1b9)]=_0x4476e2['value'],_0x5d7f6a[_0xa22ece(0x160)]=!![],_0x5d7f6a;}catch(_0x23a633){return logger[_0xa22ece(0x149)](_0xa22ece(0x1a4)+(_0x23a633&&_0x23a633['message']?_0x23a633[_0xa22ece(0x1aa)]:'')),logger[_0xa22ece(0x16f)](_0xa22ece(0x19a)+_0x546444['name_']+_0xa22ece(0x144)),_0x546444;}}}exports[a110_0x11a97a(0x14b)]=Object[a110_0x11a97a(0x142)](new AiSdkWrapper());
|
|
1
|
+
const a110_0x263d39=a110_0x480a;(function(_0x5d79f2,_0x3bd133){const _0x251e02=a110_0x480a,_0x223b02=_0x5d79f2();while(!![]){try{const _0x41ece9=-parseInt(_0x251e02(0x1de))/0x1+-parseInt(_0x251e02(0x1aa))/0x2*(-parseInt(_0x251e02(0x1e8))/0x3)+-parseInt(_0x251e02(0x1dc))/0x4*(parseInt(_0x251e02(0x178))/0x5)+parseInt(_0x251e02(0x1e6))/0x6*(-parseInt(_0x251e02(0x1e5))/0x7)+parseInt(_0x251e02(0x1c0))/0x8+parseInt(_0x251e02(0x1b3))/0x9*(parseInt(_0x251e02(0x18b))/0xa)+-parseInt(_0x251e02(0x182))/0xb*(parseInt(_0x251e02(0x190))/0xc);if(_0x41ece9===_0x3bd133)break;else _0x223b02['push'](_0x223b02['shift']());}catch(_0xf5922f){_0x223b02['push'](_0x223b02['shift']());}}}(a110_0x433a,0x5c152));function a110_0x433a(){const _0x59ec10=['Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','locatorType','fjOLv','../../bin/utils/constants','get','zwDBf','browserName','microsoftedge','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','message','path','getProjectName','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','aiHealing','../../helpers/timeoutPromise','getId','91064NnbfKR','aiHeal_userId','107851rvLlRs','firefox','GBgYd','BDTxQ','firefoxOptions_','\x22,\x20\x22tcgUrls\x22:\x20{\x22','log','189OkENcf','157218FPFqzo','TCG_REGION','1698621GMSrUC','./autoHealHelper','sZVkH','aiHeal_isGroupAIEnabled','TCG_URL','name_','VwMhc','initializeHealingCapabilities','set','getTestName','keys','pollResult','10AlfCBI','chPia','pVJvc','BrowserstackHealing.pollResult\x20method\x20timed\x20out','BrowserstackHealing','BrowserstackHealingSetTcgTokenFailed','aiSdkWrapper','error','value','OPmLT','39787FvYCto','aiHeal_sessionToken','FYmAG','../logger','using','setToken','ZKHXi','../../ai-sdk-node/bundle','framework','10buYqZh','POLL_HEALING_RESULT_TIMEOUT','iGrKP','parameters_','chrome','204ONZwFG','chromeOptions_','iImhl','winstonLogger','ieOptions_','BrowserstackHealing.logData\x20method\x20timed\x20out','../globals','split','logData','locatorValue','INyhn','BrowserstackHealing.setToken\x20method\x20timed\x20out','WPXJv','getSession','selector','mDZjC','\x20command','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','SET_TCG_TOKEN_TIMEOUT','zcnmj','then','BrowserstackHealingPollResultFailed','UjunF','config','capabilities_','handleFailure','2wWTjYU','vyEMa','map_','debug','toLowerCase','race','GIjZA','fromEntries','healFailure','1820673KzoOJn','RJMpK','_handleEvent','MunpC','getGlobal','initializeCapabilities','freeze','join','executeScript','replace','forEach','isSelfHealEnabled','ZYPGq','4248152wxrzFa','qVsfs','browserstackSessionName','XlqcJ','BrowserstackHealingLogDataFailed','HJAXM','AnaOd','DreoP','PehyI','cancel','setTcgToken','string'];a110_0x433a=function(){return _0x59ec10;};return a110_0x433a();}function a110_0x480a(_0x1f3025,_0x79e860){const _0x433ad3=a110_0x433a();return a110_0x480a=function(_0x480abf,_0x41492f){_0x480abf=_0x480abf-0x178;let _0x24a4bf=_0x433ad3[_0x480abf];return _0x24a4bf;},a110_0x480a(_0x1f3025,_0x79e860);}const path=require(a110_0x263d39(0x1d6)),{commandRepository}=require(a110_0x263d39(0x1e9)),constants=require(a110_0x263d39(0x1cf)),logger=require(a110_0x263d39(0x185))[a110_0x263d39(0x193)],globals=require(a110_0x263d39(0x196)),timeoutPromise=require(a110_0x263d39(0x1da)),isUndefinedOrNull=_0x162418=>_0x162418===undefined||_0x162418===null||_0x162418==='',isNotUndefinedOrNull=_0x278c1b=>!isUndefinedOrNull(_0x278c1b),isString=_0x5f1bfe=>isNotUndefinedOrNull(_0x5f1bfe)&&typeof _0x5f1bfe===a110_0x263d39(0x1cb);class AiSdkWrapper{constructor(){const _0x267c29=a110_0x263d39,_0x523508={'DreoP':function(_0x164156,_0x875d1a){return _0x164156(_0x875d1a);},'MunpC':_0x267c29(0x189)};this[_0x267c29(0x17c)]=undefined;try{this[_0x267c29(0x17c)]=_0x523508[_0x267c29(0x1c7)](require,path[_0x267c29(0x1ba)](__dirname,_0x523508[_0x267c29(0x1b6)]));}catch(_0x571a65){logger[_0x267c29(0x17f)]('Unable\x20to\x20load\x20healing\x20module,\x20error:\x20'+(_0x571a65&&_0x571a65[_0x267c29(0x1d5)]?_0x571a65['message']:''));}}[a110_0x263d39(0x1ef)](_0x54ba76){const _0x525af1=a110_0x263d39,_0x54c587={};_0x54c587['AnaOd']='newCapabilities',_0x54c587[_0x525af1(0x1c3)]=function(_0x34e850,_0x43df6e){return _0x34e850===_0x43df6e;},_0x54c587[_0x525af1(0x1a3)]=_0x525af1(0x18f),_0x54c587[_0x525af1(0x1d1)]=_0x525af1(0x1df),_0x54c587['GBgYd']=function(_0x206717,_0x5843ce){return _0x206717===_0x5843ce;},_0x54c587['EoYqA']='safari',_0x54c587[_0x525af1(0x1c8)]='edge',_0x54c587['qVsfs']=_0x525af1(0x1d3);const _0x3fdf3e=_0x54c587;try{const _0x58cdf4=this[_0x525af1(0x17c)][_0x525af1(0x1b8)](Object[_0x525af1(0x1b1)](_0x54ba76['getCapabilities']()[_0x525af1(0x1ac)]));console[_0x525af1(0x1e4)](_0x3fdf3e[_0x525af1(0x1c6)],_0x58cdf4);if(_0x3fdf3e[_0x525af1(0x1c3)](_0x58cdf4?.[_0x525af1(0x1d2)]?.[_0x525af1(0x1ae)](),_0x3fdf3e['zcnmj']))_0x54ba76[_0x525af1(0x191)]=_0x58cdf4;else{if(_0x3fdf3e[_0x525af1(0x1c3)](_0x58cdf4?.[_0x525af1(0x1d2)]?.[_0x525af1(0x1ae)](),_0x3fdf3e[_0x525af1(0x1d1)]))_0x54ba76[_0x525af1(0x1e2)]=_0x58cdf4;else{if(_0x3fdf3e[_0x525af1(0x1e0)](_0x58cdf4?.[_0x525af1(0x1d2)]?.[_0x525af1(0x1ae)](),_0x3fdf3e['EoYqA']))_0x54ba76['safariOptions_']=_0x58cdf4;else{if(_0x3fdf3e['GBgYd'](_0x58cdf4?.[_0x525af1(0x1d2)]?.[_0x525af1(0x1ae)](),_0x3fdf3e['PehyI'])||_0x3fdf3e[_0x525af1(0x1c3)](_0x58cdf4?.[_0x525af1(0x1d2)]?.[_0x525af1(0x1ae)](),_0x3fdf3e[_0x525af1(0x1c1)]))_0x54ba76['edgeOptions_']=_0x58cdf4;else _0x3fdf3e[_0x525af1(0x1c3)](_0x58cdf4?.[_0x525af1(0x1d2)]?.[_0x525af1(0x1ae)](),'ie')&&(_0x54ba76[_0x525af1(0x194)]=_0x58cdf4);}}}Object[_0x525af1(0x1f2)](_0x58cdf4)[_0x525af1(0x1bd)](_0x850082=>{const _0x32d1b2=_0x525af1,_0x2cc94a=_0x54ba76[_0x32d1b2(0x1a8)][_0x32d1b2(0x1d0)](_0x850082);_0x54ba76[_0x32d1b2(0x1a8)][_0x32d1b2(0x1f0)](_0x850082,_0x58cdf4[_0x850082]);});}catch(_0x3b6ecc){logger['error'](_0x525af1(0x1cc)+(_0x3b6ecc&&_0x3b6ecc[_0x525af1(0x1d5)]?_0x3b6ecc['message']:''));}}async[a110_0x263d39(0x1ca)](_0x3821a4){const _0x8a59d3=a110_0x263d39,_0x27f06b={'GIjZA':function(_0x413554,_0x2f81d6,_0x10d8ec,_0x132d33,_0x3d83de,_0x5852bc,_0x2f3165){return _0x413554(_0x2f81d6,_0x10d8ec,_0x132d33,_0x3d83de,_0x5852bc,_0x2f3165);},'OPmLT':_0x8a59d3(0x19b),'HJAXM':_0x8a59d3(0x17d),'VwMhc':'aiHeal_sessionToken'},_0x380ec1=new Date(),_0x4708b7=_0x27f06b[_0x8a59d3(0x1b0)](timeoutPromise,constants[_0x8a59d3(0x1a2)],_0x27f06b[_0x8a59d3(0x181)],_0x27f06b[_0x8a59d3(0x1c5)],_0x380ec1,this[_0x8a59d3(0x1a7)],this[_0x8a59d3(0x18a)]);await Promise[_0x8a59d3(0x1af)]([this['BrowserstackHealing'][_0x8a59d3(0x187)](_0x3821a4,globals[_0x8a59d3(0x1b7)](_0x27f06b[_0x8a59d3(0x1ee)]),constants['TCG_URL'])['then'](()=>{const _0x171792=_0x8a59d3;_0x4708b7[_0x171792(0x1c9)]();}),_0x4708b7]);}async['_handleEvent'](_0x4588a4,_0x1c9ecc,_0x11682c,_0x1e7871){const _0x1774e1=a110_0x263d39,_0x3a8059={'INyhn':function(_0xa63bcf,_0x456368){return _0xa63bcf===_0x456368;},'dBjXE':function(_0x37716c,_0x521905){return _0x37716c===_0x521905;},'RJMpK':function(_0x421018,_0x4281a0){return _0x421018(_0x4281a0);},'pVJvc':function(_0x2da804,_0x3ba3b7){return _0x2da804(_0x3ba3b7);},'FYmAG':function(_0x5f5280,_0xfea184){return _0x5f5280(_0xfea184);},'WPXJv':function(_0x3eeadf,_0x252d85){return _0x3eeadf(_0x252d85);},'QGqcw':function(_0x168939,_0x1f66e2){return _0x168939(_0x1f66e2);},'UFBJr':function(_0x4c23b7,_0x36428e){return _0x4c23b7(_0x36428e);},'chPia':function(_0x1cea5d,_0x4cdb4b){return _0x1cea5d(_0x4cdb4b);},'fjOLv':'s://','mDZjC':function(_0x3176ce,_0x4fb647){return _0x3176ce(_0x4fb647);},'vyEMa':_0x1774e1(0x1dd),'iImhl':'aiHeal_groupId','ZKHXi':_0x1774e1(0x1eb),'BDTxQ':function(_0x369229,_0x562493,_0x5e6376,_0x4e36c2,_0x14f13a,_0x5e9c71,_0x37e3ac){return _0x369229(_0x562493,_0x5e6376,_0x4e36c2,_0x14f13a,_0x5e9c71,_0x37e3ac);},'ZYPGq':_0x1774e1(0x195),'bHRGq':_0x1774e1(0x1c4),'iGrKP':'BrowserstackHealing.healFailure\x20method\x20timed\x20out','LgQoC':'BrowserstackHealingHealFailureFailed'},_0x188da4=(await _0x1c9ecc[_0x1774e1(0x19d)]())['getId']();let _0x3d2209='';if(commandRepository[_0x1774e1(0x1be)]()&&_0x3a8059[_0x1774e1(0x19a)](_0x1e7871,![])||_0x3a8059['dBjXE'](_0x1e7871,!![])){const _0x4a1ab8=_0x3a8059[_0x1774e1(0x1b4)](isNotUndefinedOrNull,_0x11682c[_0x1774e1(0x18e)]['using'])&&_0x3a8059[_0x1774e1(0x1b4)](isString,_0x11682c[_0x1774e1(0x18e)][_0x1774e1(0x186)])?_0x11682c['parameters_'][_0x1774e1(0x186)]['replace'](/'/g,'\x5c\x27')[_0x1774e1(0x1bc)](/"/g,'\x5c\x22'):'',_0x4c2861=_0x3a8059[_0x1774e1(0x17a)](isNotUndefinedOrNull,_0x11682c['parameters_'][_0x1774e1(0x186)])&&_0x3a8059[_0x1774e1(0x184)](isString,_0x11682c[_0x1774e1(0x18e)][_0x1774e1(0x180)])?_0x11682c[_0x1774e1(0x18e)][_0x1774e1(0x180)][_0x1774e1(0x1bc)](/'/g,'\x5c\x27')[_0x1774e1(0x1bc)](/"/g,'\x5c\x22'):'',_0x35fa51=_0x3a8059[_0x1774e1(0x19c)](isNotUndefinedOrNull,commandRepository[_0x1774e1(0x1d7)]())&&_0x3a8059['RJMpK'](isString,commandRepository['getProjectName']())?commandRepository[_0x1774e1(0x1d7)]()['replace'](/'/g,'\x5c\x27')[_0x1774e1(0x1bc)](/"/g,'\x5c\x22'):'';let _0x222fc4=_0x3a8059['QGqcw'](isNotUndefinedOrNull,global[_0x1774e1(0x1c2)])&&_0x3a8059['UFBJr'](isString,global['browserstackSessionName'])?global[_0x1774e1(0x1c2)][_0x1774e1(0x1bc)](/'/g,'\x5c\x27')[_0x1774e1(0x1bc)](/"/g,'\x5c\x22'):'';!_0x222fc4&&(_0x222fc4=_0x3a8059[_0x1774e1(0x179)](isNotUndefinedOrNull,commandRepository[_0x1774e1(0x1f1)]())&&_0x3a8059['UFBJr'](isString,commandRepository['getTestName']())?commandRepository[_0x1774e1(0x1f1)]()[_0x1774e1(0x1bc)](/'/g,'\x5c\x27')[_0x1774e1(0x1bc)](/"/g,'\x5c\x22'):'');let _0x2abcd8='{\x22region\x22:\x20\x22'+constants['TCG_REGION']+_0x1774e1(0x1e3)+constants[_0x1774e1(0x1e7)]+'\x22:\x20{\x22endpoint\x22:\x20\x22'+constants[_0x1774e1(0x1ec)][_0x1774e1(0x197)](_0x3a8059[_0x1774e1(0x1ce)])[0x1]+'\x22}}}';_0x2abcd8=_0x3a8059[_0x1774e1(0x19f)](isNotUndefinedOrNull,_0x2abcd8)&&_0x3a8059['RJMpK'](isString,_0x2abcd8)?_0x2abcd8['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';const _0x183301=commandRepository['getCommands'](_0x188da4),_0xf56739=globals[_0x1774e1(0x1b7)](_0x3a8059[_0x1774e1(0x1ab)]),_0x4447b7=globals[_0x1774e1(0x1b7)](_0x3a8059[_0x1774e1(0x192)]),_0x2be3c5=globals[_0x1774e1(0x1b7)](_0x3a8059[_0x1774e1(0x188)]),_0x3d865b=![],_0x436c19=new Date();if(_0x1e7871){const _0x3b8129=_0x3a8059[_0x1774e1(0x1e1)](timeoutPromise,constants['HEALING_LOG_DATA_TIMEOUT'],_0x3a8059[_0x1774e1(0x1bf)],_0x3a8059['bHRGq'],_0x436c19,this['config'],this[_0x1774e1(0x18a)]);_0x3d2209=await Promise[_0x1774e1(0x1af)]([this[_0x1774e1(0x17c)][_0x1774e1(0x198)](_0x4a1ab8,_0x4c2861,_0x35fa51,_0x222fc4,_0x4447b7,_0x188da4,_0x183301,_0x2abcd8)['then'](_0x155213=>{const _0x5f46df=_0x1774e1;return _0x3b8129[_0x5f46df(0x1c9)](),_0x155213;}),_0x3b8129]);}else{if(commandRepository[_0x1774e1(0x1be)]()){const _0x41c8d1=_0x3a8059[_0x1774e1(0x1e1)](timeoutPromise,constants['HEALING_FAILURE_TIMEOUT'],_0x3a8059[_0x1774e1(0x18d)],_0x3a8059['LgQoC'],_0x436c19,this[_0x1774e1(0x1a7)],this['framework']);_0x3d2209=await Promise[_0x1774e1(0x1af)]([this[_0x1774e1(0x17c)][_0x1774e1(0x1b2)](_0x4a1ab8,_0x4c2861,_0x35fa51,_0x222fc4,_0xf56739,_0x4447b7,_0x188da4,_0x183301,_0x3d865b,_0x2be3c5,_0x2abcd8)[_0x1774e1(0x1a4)](_0x347139=>{const _0x2bccb2=_0x1774e1;return _0x41c8d1[_0x2bccb2(0x1c9)](),_0x347139;}),_0x41c8d1]);}}_0x3d2209&&await _0x1c9ecc[_0x1774e1(0x1bb)](_0x3d2209);}}async['handleSuccess'](_0x292734,_0x103027,_0x38a400){const _0x7a28cc=a110_0x263d39;try{await this[_0x7a28cc(0x1b5)](_0x292734,_0x103027,_0x38a400,!![]);}catch(_0x39e03a){return logger[_0x7a28cc(0x17f)](_0x7a28cc(0x1a1)+(_0x39e03a&&_0x39e03a['message']?_0x39e03a['message']:'')),![];}return!![];}async[a110_0x263d39(0x1a9)](_0x410186,_0x51cf57,_0x41e241){const _0x3fefc6=a110_0x263d39,_0x26fdb6={'GGPSh':function(_0x5b00c2,_0x225123,_0x6606aa,_0x12dca3,_0x189265,_0x427c36,_0x2c1428){return _0x5b00c2(_0x225123,_0x6606aa,_0x12dca3,_0x189265,_0x427c36,_0x2c1428);},'UjunF':_0x3fefc6(0x17b),'bLoth':_0x3fefc6(0x1a5),'sZVkH':_0x3fefc6(0x183)};try{await this[_0x3fefc6(0x1b5)](_0x410186,_0x51cf57,_0x41e241,![]);const _0x41ec16=(await _0x51cf57[_0x3fefc6(0x19d)]())[_0x3fefc6(0x1db)](),_0x1442b7=new Date(),_0x229aef=_0x26fdb6['GGPSh'](timeoutPromise,constants[_0x3fefc6(0x18c)],_0x26fdb6[_0x3fefc6(0x1a6)],_0x26fdb6['bLoth'],_0x1442b7,this[_0x3fefc6(0x1a7)],this['framework']),_0x507d6c=await Promise[_0x3fefc6(0x1af)]([this[_0x3fefc6(0x17c)][_0x3fefc6(0x1f3)](constants[_0x3fefc6(0x1ec)],_0x41ec16,globals[_0x3fefc6(0x1b7)](_0x26fdb6[_0x3fefc6(0x1ea)]))[_0x3fefc6(0x1a4)](_0x1e1a46=>{const _0x22f924=_0x3fefc6;return _0x229aef[_0x22f924(0x1c9)](),_0x1e1a46;}),_0x229aef]);if(_0x507d6c&&_0x507d6c[_0x3fefc6(0x19e)]&&_0x507d6c[_0x3fefc6(0x180)]){const _0xbf0011={};return _0xbf0011[_0x3fefc6(0x1cd)]=_0x507d6c['selector'],_0xbf0011[_0x3fefc6(0x199)]=_0x507d6c[_0x3fefc6(0x180)],_0xbf0011[_0x3fefc6(0x1d9)]=!![],_0xbf0011;}const _0x27cbae={};return _0x27cbae[_0x3fefc6(0x1cd)]=_0x41e241[_0x3fefc6(0x18e)][_0x3fefc6(0x186)],_0x27cbae[_0x3fefc6(0x199)]=_0x507d6c['value'],_0x27cbae[_0x3fefc6(0x1d9)]=!![],_0x27cbae;}catch(_0x5e2265){return logger[_0x3fefc6(0x1ad)](_0x3fefc6(0x1d4)+(_0x5e2265&&_0x5e2265[_0x3fefc6(0x1d5)]?_0x5e2265['message']:'')),logger['info'](_0x3fefc6(0x1d8)+_0x41e241[_0x3fefc6(0x1ed)]+_0x3fefc6(0x1a0)),_0x41e241;}}}exports[a110_0x263d39(0x17e)]=Object[a110_0x263d39(0x1b9)](new AiSdkWrapper());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a111_0x1b0995=a111_0xdd7b;(function(_0x25f13a,_0x5d3819){const _0x50ca48=a111_0xdd7b,_0x4cb825=_0x25f13a();while(!![]){try{const _0xe53497=parseInt(_0x50ca48(0x92))/0x1+parseInt(_0x50ca48(0x87))/0x2*(parseInt(_0x50ca48(0x83))/0x3)+parseInt(_0x50ca48(0x97))/0x4+-parseInt(_0x50ca48(0x91))/0x5+parseInt(_0x50ca48(0x86))/0x6+-parseInt(_0x50ca48(0x8b))/0x7+parseInt(_0x50ca48(0x6e))/0x8;if(_0xe53497===_0x5d3819)break;else _0x4cb825['push'](_0x4cb825['shift']());}catch(_0x24c4dc){_0x4cb825['push'](_0x4cb825['shift']());}}}(a111_0x36b9,0xe7666));const calculateTimeDiff=_0x5433cb=>Date[a111_0x1b0995(0x90)]()-_0x5433cb,logger=require(a111_0x1b0995(0x7a))['winstonLogger'],globals=require('../globals');function a111_0xdd7b(_0x1c5b99,_0x55f277){const _0x36b9c3=a111_0x36b9();return a111_0xdd7b=function(_0xdd7b60,_0x37b2cf){_0xdd7b60=_0xdd7b60-0x6d;let _0x2a2510=_0x36b9c3[_0xdd7b60];return _0x2a2510;},a111_0xdd7b(_0x1c5b99,_0x55f277);}class HealingCommandRepo{constructor(){const _0x3fa119=a111_0x1b0995,_0x167e63={};_0x167e63[_0x3fa119(0x8e)]=_0x3fa119(0x6d);const _0x2101ca=_0x167e63,_0x2b1a19=_0x2101ca['emtEo'][_0x3fa119(0x93)]('|');let _0xe9620a=0x0;while(!![]){switch(_0x2b1a19[_0xe9620a++]){case'0':this['commands']={};continue;case'1':this[_0x3fa119(0x7d)]={};continue;case'2':this[_0x3fa119(0x73)]={};continue;case'3':this[_0x3fa119(0x95)]=![];continue;case'4':this[_0x3fa119(0x94)]='';continue;case'5':this[_0x3fa119(0x9a)]='';continue;}break;}}[a111_0x1b0995(0x82)](_0x144596,_0x4eb272){const _0x33138c=a111_0x1b0995,_0x53fbce={};_0x53fbce[_0x33138c(0x84)]=function(_0x7c3853,_0x522941){return _0x7c3853 in _0x522941;};const _0x4a7c3d=_0x53fbce;!_0x4a7c3d[_0x33138c(0x84)](_0x144596,this[_0x33138c(0x72)])&&(this[_0x33138c(0x72)][_0x144596]=[]),this[_0x33138c(0x72)][_0x144596]['push'](_0x4eb272);}[a111_0x1b0995(0x9b)](_0x33db9c,_0x79f243){const _0x2ba7e1=a111_0x1b0995,_0x3c01bf={'KcQRu':function(_0x15b159,_0x49b8a0){return _0x15b159(_0x49b8a0);}},_0x36b43f=_0x79f243[_0x2ba7e1(0x7e)],_0x127c70=_0x79f243['path'][_0x2ba7e1(0x93)](_0x33db9c)[0x1],_0x2cd58b=this[_0x2ba7e1(0x7d)][_0x33db9c],_0x4ecd5b={'k':_0x36b43f+':'+_0x127c70,'t':_0x3c01bf[_0x2ba7e1(0x74)](calculateTimeDiff,_0x2cd58b)};this[_0x2ba7e1(0x82)](_0x33db9c,_0x4ecd5b);}[a111_0x1b0995(0x96)](_0x38e16b){const _0x5c4e96=a111_0x1b0995;this[_0x5c4e96(0x7d)][_0x38e16b]=Date[_0x5c4e96(0x90)]();}['setAuthInfo'](_0x160973,_0x277301){const _0x6c1c40=a111_0x1b0995;this[_0x6c1c40(0x73)][_0x6c1c40(0x9d)]=_0x160973,this[_0x6c1c40(0x73)]['accessKey']=_0x277301;}['getAuthInfo'](){return this['authInfo'];}['setProjectNameForHealingContext'](_0x3f652b){const _0x3ad4bf=a111_0x1b0995;this[_0x3ad4bf(0x94)]=_0x3f652b;}['setTestNameForHealingContext'](_0x4ba93e){this['testName']=_0x4ba93e;}[a111_0x1b0995(0x9f)](_0x235738){const _0x5dae2c=a111_0x1b0995;this[_0x5dae2c(0x70)]=_0x235738,this['setProjectNameForHealingContext'](_0x235738[_0x5dae2c(0x94)]),this[_0x5dae2c(0x76)](_0x235738[_0x5dae2c(0x9d)],_0x235738[_0x5dae2c(0x8a)]);}['setFramework'](_0x57f6d5){const _0x33be6b=a111_0x1b0995;this[_0x33be6b(0x9e)]=_0x57f6d5;}[a111_0x1b0995(0x77)](_0x3b3aaf){const _0x1749e4=a111_0x1b0995;this[_0x1749e4(0x95)]=_0x3b3aaf;}[a111_0x1b0995(0x81)](){return this['config'];}[a111_0x1b0995(0x7c)](){const _0x4c3869=a111_0x1b0995;return this[_0x4c3869(0x9e)];}['getProjectName'](){const _0xbbfc88=a111_0x1b0995;return this[_0xbbfc88(0x94)];}[a111_0x1b0995(0x9c)](){return this['testName'];}['getCommands'](_0x4be329){const _0x4f3689=a111_0x1b0995,_0x11e412={};_0x11e412[_0x4f3689(0x7b)]=_0x4f3689(0x8d),_0x11e412[_0x4f3689(0x80)]='aiHeal_isHealingEnabled',_0x11e412[_0x4f3689(0x71)]=function(_0x28ad0c,_0x489958){return _0x28ad0c===_0x489958;},_0x11e412[_0x4f3689(0x78)]=function(_0x1140b8,_0x36e76a){return _0x1140b8+_0x36e76a;},_0x11e412[_0x4f3689(0x7f)]='No\x20commands\x20found\x20for\x20session:\x20';const _0xa6fa64=_0x11e412,_0x3969f0=this[_0x4f3689(0x72)][_0x4be329];this[_0x4f3689(0x72)][_0x4be329]=[];if(globals['getGlobal'](_0xa6fa64['WiifA'])&&globals[_0x4f3689(0x8f)](_0xa6fa64[_0x4f3689(0x80)])&&!_0x3969f0||_0xa6fa64['lLTsK'](_0x3969f0[_0x4f3689(0x89)],0x0))return logger[_0x4f3689(0x6f)](_0xa6fa64[_0x4f3689(0x78)](_0xa6fa64['gZriO'],_0x4be329)),'';return _0x3969f0[_0x4f3689(0x99)](_0x4c891f=>JSON[_0x4f3689(0x79)](_0x4c891f))[_0x4f3689(0x75)](',');}['isSelfHealEnabled'](){const _0x632bad=a111_0x1b0995,_0x1bae64={};_0x1bae64[_0x632bad(0x8c)]=function(_0x36a8a5,_0x150ac8){return _0x36a8a5===_0x150ac8;},_0x1bae64[_0x632bad(0x88)]='true';const _0x663326=_0x1bae64;let _0x165111=![];return this['getConfig']()&&(_0x663326['gcQBS'](this['getConfig']()[_0x632bad(0x85)],!![])||_0x663326[_0x632bad(0x8c)](this['getConfig']()[_0x632bad(0x85)],_0x663326['XcTAD']))&&(_0x165111=!![]),_0x165111;}['getTcgTokenStatus'](){const _0x5f5991=a111_0x1b0995;return this[_0x5f5991(0x95)];}}exports[a111_0x1b0995(0x98)]=new HealingCommandRepo();function a111_0x36b9(){const _0x4aeb96=['isTcgTokenSet','setAiSessionTimeStamp','5101644xzXbpn','commandRepository','map','testName','pushCommand','getTestName','userName','framework','setConfig','0|1|4|5|2|3','4955296UkgItg','debug','config','lLTsK','commands','authInfo','KcQRu','join','setAuthInfo','setTcgTokenStatus','JjDvM','stringify','../logger','WiifA','getFramework','aiSessionTimeStamp','method','gZriO','cKMWx','getConfig','_pushCommand','6750yiUOZI','Jkfyu','selfHeal','1355664ivmnnH','72jsband','XcTAD','length','accessKey','11433527ErNICX','gcQBS','aiHeal_isAuthenticated','emtEo','getGlobal','now','6667645eMwsMq','1712937pTVyot','split','projectName'];a111_0x36b9=function(){return _0x4aeb96;};return a111_0x36b9();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a112_0x2ade(_0x319144,_0x188de5){const _0x2975be=a112_0x2975();return a112_0x2ade=function(_0x2adecf,_0x7fd04b){_0x2adecf=_0x2adecf-0x184;let _0x197954=_0x2975be[_0x2adecf];return _0x197954;},a112_0x2ade(_0x319144,_0x188de5);}const a112_0x1b010b=a112_0x2ade;function a112_0x2975(){const _0x18fff3=['toLowerCase','33752140MSSUHZ','exports','5898158sHSsfj','env','8FGfYbv','https://grid-preprod.bsstag.com/dashboard/builds','pre-prod','7166HBtVPq','926559gefNWf','BUILDS_DASHBOARD_URL','240qFvoyR','4230900nJXglb','prod','BROWSERSTACK_ENV','https://grid.browserstack.com/dashboard/builds','24582NcvYrN','1140NBaMfT','stag','2347796uoPxPV'];a112_0x2975=function(){return _0x18fff3;};return a112_0x2975();}(function(_0xb23ebd,_0x19ee48){const _0x4ddb3f=a112_0x2ade,_0x36d346=_0xb23ebd();while(!![]){try{const _0x11f6ca=-parseInt(_0x4ddb3f(0x193))/0x1*(-parseInt(_0x4ddb3f(0x196))/0x2)+parseInt(_0x4ddb3f(0x194))/0x3+parseInt(_0x4ddb3f(0x18a))/0x4+parseInt(_0x4ddb3f(0x188))/0x5*(parseInt(_0x4ddb3f(0x187))/0x6)+parseInt(_0x4ddb3f(0x18e))/0x7+parseInt(_0x4ddb3f(0x190))/0x8*(parseInt(_0x4ddb3f(0x197))/0x9)+-parseInt(_0x4ddb3f(0x18c))/0xa;if(_0x11f6ca===_0x19ee48)break;else _0x36d346['push'](_0x36d346['shift']());}catch(_0x365562){_0x36d346['push'](_0x36d346['shift']());}}}(a112_0x2975,0x99276));const a112_0x126c61={};a112_0x126c61[a112_0x1b010b(0x195)]=a112_0x1b010b(0x186),a112_0x126c61['API_ENDPOINT']='automate-turboscale/v1',module[a112_0x1b010b(0x18d)]=a112_0x126c61;const _env=(process[a112_0x1b010b(0x18f)][a112_0x1b010b(0x185)]||a112_0x1b010b(0x184))[a112_0x1b010b(0x18b)]();if(_env==='staging'||_env===a112_0x1b010b(0x189))module[a112_0x1b010b(0x18d)][a112_0x1b010b(0x195)]='https://grid-devhst.bsstag.com/dashboard/builds';else(_env==='preprod'||_env===a112_0x1b010b(0x192))&&(module[a112_0x1b010b(0x18d)][a112_0x1b010b(0x195)]=a112_0x1b010b(0x191));
|