browserstack-node-sdk 1.58.0 → 1.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a103_0xe8a5a5=a103_0x16e9;function a103_0x4d36(){const _0x1faddc=['918WyxCTW','exports','getId','./trackedContext','context','entries','createContext','1897273BxVpfl','hex','1606404cKwmIX','sha256','8nqRnoM','data','1931635ZUcpcu','get','33691DuGiVx','10172LEdBAt','pid','DHSWJ','getAllData','crypto','TSHTV','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','getData','set','2356902VtZrbt','6WkDkBZ','updateData','digest','createHash','JLUmV','8348820ocwybR','isBrowserstackAutomationSession','updateMultipleEntries'];a103_0x4d36=function(){return _0x1faddc;};return a103_0x4d36();}(function(_0x6b36c,_0xe8293){const _0x299c0b=a103_0x16e9,_0x4259eb=_0x6b36c();while(!![]){try{const _0x2ff094=parseInt(_0x299c0b(0x1f0))/0x1+parseInt(_0x299c0b(0x1ea))/0x2+-parseInt(_0x299c0b(0x1e1))/0x3*(-parseInt(_0x299c0b(0x1f1))/0x4)+-parseInt(_0x299c0b(0x1ee))/0x5*(parseInt(_0x299c0b(0x1d9))/0x6)+parseInt(_0x299c0b(0x1e8))/0x7+parseInt(_0x299c0b(0x1ec))/0x8*(-parseInt(_0x299c0b(0x1d8))/0x9)+-parseInt(_0x299c0b(0x1de))/0xa;if(_0x2ff094===_0xe8293)break;else _0x4259eb['push'](_0x4259eb['shift']());}catch(_0xa945fc){_0x4259eb['push'](_0x4259eb['shift']());}}}(a103_0x4d36,0x6263b));const TrackedContext=require(a103_0xe8a5a5(0x1e4)),crypto=require(a103_0xe8a5a5(0x1d3)),{threadId}=require('worker_threads');class TrackedInstance{static [a103_0xe8a5a5(0x1d5)]=a103_0xe8a5a5(0x1df);constructor(_0x50b343){const _0xed6fd8=a103_0xe8a5a5;this[_0xed6fd8(0x1e5)]=_0x50b343,this[_0xed6fd8(0x1ed)]=new Map();}['getRef'](){const _0x5702c6=a103_0xe8a5a5;return this[_0x5702c6(0x1e5)][_0x5702c6(0x1e3)]();}['getContext'](){const _0x59a93e=a103_0xe8a5a5;return this[_0x59a93e(0x1e5)];}[a103_0xe8a5a5(0x1d2)](){return this['data'];}[a103_0xe8a5a5(0x1e0)](_0x4bfddf){Object['keys'](_0x4bfddf)['forEach'](_0x2a509c=>{const _0x3131b8=a103_0x16e9;this['data'][_0x3131b8(0x1d7)](_0x2a509c,_0x4bfddf[_0x2a509c]);});}['addMultipleEntries'](_0x365031){const _0x575804=a103_0xe8a5a5;Object[_0x575804(0x1e6)](_0x365031)['forEach'](([_0x7f03f2,_0x202ab7])=>{const _0x42ecdd=_0x575804,_0x10b638=this['data'][_0x42ecdd(0x1ef)](_0x7f03f2)||{},_0x265b9b={..._0x10b638,..._0x202ab7},_0x3947f6=_0x265b9b;this[_0x42ecdd(0x1ed)][_0x42ecdd(0x1d7)](_0x7f03f2,_0x3947f6);});}[a103_0xe8a5a5(0x1d6)](_0x20a5a9){const _0x4e473d=a103_0xe8a5a5;return this[_0x4e473d(0x1ed)][_0x4e473d(0x1ef)](_0x20a5a9);}[a103_0xe8a5a5(0x1da)](_0x4c7c8b,_0x59aa2f){const _0x163a51=a103_0xe8a5a5;this[_0x163a51(0x1ed)]['set'](_0x4c7c8b,_0x59aa2f);}static[a103_0xe8a5a5(0x1e7)](_0x2fe9cb){const _0x30daf2=a103_0xe8a5a5,_0x3de512={};_0x3de512[_0x30daf2(0x1dd)]=_0x30daf2(0x1eb),_0x3de512[_0x30daf2(0x1d4)]=_0x30daf2(0x1e9),_0x3de512[_0x30daf2(0x1f3)]=function(_0x1c313b,_0x32b00e){return _0x1c313b||_0x32b00e;};const _0x51702b=_0x3de512;return new TrackedContext(crypto[_0x30daf2(0x1dc)](_0x51702b[_0x30daf2(0x1dd)])['update'](_0x2fe9cb)[_0x30daf2(0x1db)](_0x51702b['TSHTV']),_0x51702b['DHSWJ'](threadId,0x0),process[_0x30daf2(0x1f2)],typeof _0x2fe9cb);}}function a103_0x16e9(_0x39c0b5,_0x3f60d8){const _0x4d3675=a103_0x4d36();return a103_0x16e9=function(_0x16e9bd,_0x53b892){_0x16e9bd=_0x16e9bd-0x1d2;let _0x246184=_0x4d3675[_0x16e9bd];return _0x246184;},a103_0x16e9(_0x39c0b5,_0x3f60d8);}module[a103_0xe8a5a5(0x1e2)]=TrackedInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a104_0x539fdf=a104_0x4101;(function(_0x36c325,_0x365adc){const _0x572f30=a104_0x4101,_0x8e2551=_0x36c325();while(!![]){try{const _0x429fce=parseInt(_0x572f30(0x1a1))/0x1+-parseInt(_0x572f30(0x1e8))/0x2+-parseInt(_0x572f30(0x2ba))/0x3*(parseInt(_0x572f30(0x21c))/0x4)+parseInt(_0x572f30(0x187))/0x5*(-parseInt(_0x572f30(0x161))/0x6)+parseInt(_0x572f30(0x280))/0x7*(parseInt(_0x572f30(0x227))/0x8)+parseInt(_0x572f30(0x1a6))/0x9*(parseInt(_0x572f30(0x1cf))/0xa)+-parseInt(_0x572f30(0x2e8))/0xb;if(_0x429fce===_0x365adc)break;else _0x8e2551['push'](_0x8e2551['shift']());}catch(_0xfe52fa){_0x8e2551['push'](_0x8e2551['shift']());}}}(a104_0x3ee3,0x67a72));function a104_0x3ee3(){const _0x5d561f=['pkJHE','Osmqu','Performing\x20scan\x20before\x20from\x20cli','Error\x20getting\x20script\x20by\x20name\x20','applySendMessageToServerPatch','NON_BROWSERSTACK_AUTOMATION_SESSIONS','\x22browserstack.user\x22:\x22[REDACTED]\x22','185486JYnnYJ','BmiAG','getCapabilities','EXECUTE','1|12|8|6|7|14|0|16|4|11|5|9|3|2|13|10|15','pMtPt',',\x20available\x20commands:\x20','IvxRG','test_run_id','measureWrapper','finishScanningForCli','error','faskG',']\x20isEnabledTestcase\x20(jest)\x20result=','GkJfz','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','../../../helpers/performance/constants.js','trim','./baseModule','patchSendMessageToServer','zFOPZ','Performing\x20scan\x20before\x20getting\x20results\x20summary','executeScriptByName',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','fWoPw','onBeforeExecute','parse','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework\x20(got:\x20','getParamsForScanForCli:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','testhub_build_uuid','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','BROWSERSTACK_TESTHUB_JWT','sMUJY','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework\x20(got:\x20','../framework/testFramework','get','TEST_INIT',',\x20includeTags=','SkjSb','_centralAuthConfigFetched','cTPGx','isPlatformSupported:\x20caps\x20are\x20null','getAccessibilityResultsSummary','\x20accessibility\x20script\x20on\x20page','Scan\x20result:\x20','PERFORM_SCAN','version','Error\x20in\x20performPageScan:\x20','testFramework','browser_version','TSMZr','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','4YnWljx','instance','shouldScanCurrentTest','Error\x20in\x20stopTestCapture:\x20','resolveMobileThTestRunUuid','BEKyz','mergeObject','onBeforeTest','yfQSA','ZxauT','has','40872wIWrlY','NNJpD',',\x20excludeTags=','capabilitiesList','kWzSH','wjivX','SfpgP','xGQIY','PFyzo','end','PmRjo','_centralAuthA11yConfig','jest','BnaIO','ZKWvk','getTestId','LDYmZ','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','scannerProcessingTimeout','performScanForCli','browserVersion','YZhnN','AUTOMATION_SESSIONS','ZFaVz','getLogDisabledShown','bmYtz','delete','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','getTrackedInstance','ascii','getPlatformCaps','accessibility','warn','includeTagsInTestingScope','setShouldScan','browser','KEY_INIT','format','onBeforeExecute:\x20No\x20command\x20name\x20provided','WJABI','kkgkF','testAnalyticsId','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','ZwGcw','null','evLSM','getCurrentAccessibilityStatus','FNWnR','TrackedInstance','Unknown\x20Test','Error\x20in\x20shouldScanForCommand:\x20','IAhSZ','toJson','amfSv','gaHWe','getTestDetails','Processed\x20accessibility\x20caps\x20','MergedScanArgs:\x20','QcjJY','uAUss','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher',']\x20onAfterTest\x20should\x20scan=','../../../helpers/accessibility-automation/constants','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','../../../helpers/classLogger','KciSL','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isMobileWebSession','SAVE_RESULTS','getMinVersionForBrowser','../grpcClient','browserstack.accessibilityOptions.scannerProcessingTimeout','Page\x20','sNxOs','replace','exports','map','browserStackEvaluate','tNcDq','name:\x20','join','Error\x20applying\x20sendMessageToServer\x20patch:\x20','on\x20non-BrowserStack\x20infrastructure\x20','dmfsV','getGoogleChromeOptions','currentTest','onBeforeExecute:\x20Command\x20','938RWVWTD','size','[AccessibilityModule]\x20isMobileScanningEnabledForGroup\x20cap\x20received:\x20raw=','HRXAj','WVhmL','nFHjf','Context','PRE','dGYkT','keys','some','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','isMobileWebSession:\x20error\x20checking\x20driver\x20caps:\x20','suERW','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',',\x20testName=','Error\x20in\x20processAccessibilityCaps:\x20','requiresChromeOptionsValidation','browserstack.accessibilityOptions.wcagVersion','hkSdJ','find','bkChw','name','qRlyF','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','__jestCurrentTestIdentifier','__workerDetails','wfWav','capabilities','LjekV','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','DaQCM','browserstack.accessibilityOptions.scannerVersion','command','isBrowserSupportedForAccessibility','QDczu','xWLtp',']\x20isEnabledTestcase\x20(cucumber)\x20result=','isAccessibilityAutomationSession','HNLyw','initAccessibilityConfig','getCurrentInstanceName','toObject','--headless=','JbFok','_sendMessageServerPatchApplied','nydaK','eYVET','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','validatePlatformForAccessibility','owzcg','test_tags','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','parseFromProto','length','Ticwu','bind','../cliUtils','679350lWZcdj','rfIuj','getScriptByName','\x20browser\x20version\x20greater\x20than\x20','yAhkM','env','getResults','yXJRz','wpKsP','ZWyfD','split','RsTEq','../../../helpers/accessibility-automation/helper','kDrFV','onAfterTest','saveResults','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','../../../helpers/performance/performance-tester.js','page','scan','tmAaH','thTestRunUuid','afterTestHook','bxyjw','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','uGdxh','registerObserver','QUIT','getParamsForScanForCli','shouldScanForCommand:\x20','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','../framework/constants/testFrameworkConstants.js','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','getAccessibilityConfig','options','updateData','DxjGB','getAccessibility','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','VObxT','CnjeQ','getValue','dzLKi','stopTestCapture:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','OMxdQ','2061862hqRgpx','QykEW','message','oSSJJ','ofYoV','Lkmoi','getTestUUID',',\x20\x0a\x20','MOBILE_SCANNING_DISABLED_WARNING','onBeforeExecute:\x20command=','platformName','\x20->\x20','commandName','\x20testHubUuid=','platformCaps','MtXdw','KEY_TEST_NAME','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','BROWSERSTACK_CLI_BIN_SESSION_ID','getCapabilitiesList','function','fNIbS','ZotCX','VElbx','mjNzA','isEnabledTestcase','dbTGw','hGiIO','YTjlj','dFXLI','xdOgK','getResultsSummary','stack','nZroI','lldvJ','NkroC','excludeTagsInTestingScope','gCJgX','dpUUX','Error\x20in\x20getAccessibilityResults:\x20','toISOString','includes','cBSKn','assign','unknown','uYeTv','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','zQBOB','isVersionSupported','wgDbq','getTesthub','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20',',\x20tags=','GZxmG','YQWUz','\x20env=','Error\x20getting\x20capability\x20value\x20for\x20','evaluate','getData','DWCNz','nYIvy','titlePath','setLogDisabledShown',']\x20clear\x20','ccHvb','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','isAccessibilityScriptCommand','_mobileScanningDisabledLogged','getScriptsList','XaPBD',',\x20isAppAccessibility=','oSkrH','\x20from\x20testIdentifier=','util','loadDriverExecuteParams','TyaiJ','RBDzI','performPageScan:\x20Script\x20is\x20null','Exception\x20in\x20isPlatformSupported:\x20','nBPEp','IWoxy','KEY_TESTHUB_BUILD_ID','eSWte','fetchCentralAuthA11yConfig','CREATE','LOG_DISABLED_SHOWN','getContext','toLowerCase','fYgPz','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','KEY_DRIVER_HAS_URL','obPyq','scriptsList','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','cNFGJ','EpbOr','hmVqe','cucumber','\x20a11yToken=','BlHYC','TdxzP','isBrowserstackScriptCommand','getCapabilityValue','__accessibilityOptions','getAccessibilityExecuteParams','getScript','true','shouldScanForCommand','XYsvW','No\x20summaryResults\x20found.','../TestInfo.js',']\x20should\x20run\x20accessibility\x20value=','commandsList','1364394PDYOpy','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','getSuccess','[AccessibilityModule]\x20onBeforeTest:\x20testcafe\x20path\x20—\x20platformSupported=','goog:chromeOptions','cZJbq','rYWdm','getState','azkvE','CgfTH','CZdOa','browserstack.accessibilityOptions.authToken','yYJHS','executeScriptByName:\x20No\x20','kcubp','aHtiR','chromeOptions','XAJSt','isMobilePlatform','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','[AccessibilityModule]\x20onAfterTest:\x20framework=','accessibilityPlatform','zxiaF','stopTestCapture','launchCaps','HbEJm','DMYOK','LkYTu','isEnabled','FBZMh','isMobileScanningEnabledForGroup','ixHQZ','hhcWp','botHz','getTestFrameworkDetail','wbTVY','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','nMiZI','15YMwZhE','onDST','BS_A11Y_JWT','setAccessibilityToken','\x20result\x20for\x20','value','browserName','klCnI','AFukw','../../utils/playwright-patcher','toString','scannerVersion','qaFEB','lYqGe','dNLAF','getOptions','../../playwright/accessibility-helper','getAccessibilityResults','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','Error\x20executing\x20script\x20','xQRQe','processAccessibilityCaps','accessibilityConfig','getName','WnEGc','dbGTw','401293yasGkx','testcafe','performScanForCli:\x20No\x20','accessibilityToken','skipCDPConnectOverride','949491YSfqji','xDWgh','MSITH','AWdjg','info','PGXQY','set','fetchDriverExecuteParamsEvent','getInstance','SDK_ACCESSIBILITY_CONFIG','pwPage','isAppAccessibility','lrWwo','HmLiu','string','args','WxVJy','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','ZySyP','present','oFGHT','debug','TausY','[platform\x20-\x20','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','getPlatformIndex','PxvXJ','UWSxO','Error\x20checking\x20headless\x20capability:\x20','IRXuG','setAccessibilityConfig','isArray','AWPVi','vGJsV','getBuildId','--headless=new','stringify','android','isPlatformSupported','DIqqc','Error\x20in\x20getAccessibilityResultsSummary:\x20','50TAvEFh','../../../helpers/helper','WnpHt','Accessibility\x20data\x20for\x20extension:\x20','performScan','a11y:save-results',',\x20framework=','PzfPc',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','CeJDz','HaXut','MODULE_NAME','OONcs','getModuleName','testInfo','jbmWn','Executing\x20accessibility\x20script\x20on\x20page','rnlSe'];a104_0x3ee3=function(){return _0x5d561f;};return a104_0x3ee3();}function a104_0x4101(_0x3c853d,_0x4ec481){const _0x3ee330=a104_0x3ee3();return a104_0x4101=function(_0x41012b,_0x8cd133){_0x41012b=_0x41012b-0x132;let _0x17c181=_0x3ee330[_0x41012b];return _0x17c181;},a104_0x4101(_0x3c853d,_0x4ec481);}const BaseModule=require(a104_0x539fdf(0x1fa)),{createClassLogger}=require(a104_0x539fdf(0x269)),CLIUtils=require(a104_0x539fdf(0x2b9)),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a104_0x539fdf(0x20a)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require('../state/hookState'),GrpcClient=require(a104_0x539fdf(0x26f)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a104_0x539fdf(0x257)),PerformanceTester=require(a104_0x539fdf(0x2cb)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a104_0x539fdf(0x1f8)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a104_0x539fdf(0x265)),{nestedKeyValue,isUndefined}=require(a104_0x539fdf(0x1d0)),util=require(a104_0x539fdf(0x139)),TestInfo=require(a104_0x539fdf(0x15e)),TestFrameworkConstants=require(a104_0x539fdf(0x2da)),accessibilityHelper=require(a104_0x539fdf(0x2c6));class AccessibilityModule extends BaseModule{static [a104_0x539fdf(0x1da)]=AccessibilityModule[a104_0x539fdf(0x296)];static [a104_0x539fdf(0x20f)]=![];static [a104_0x539fdf(0x232)]={};constructor(_0x1d695b){const _0x1024f1=a104_0x539fdf,_0x918dbd={};_0x918dbd[_0x1024f1(0x186)]=_0x1024f1(0x1ec),_0x918dbd[_0x1024f1(0x323)]=_0x1024f1(0x2d9),_0x918dbd['oSSJJ']='DRIVER_HAS_URL',_0x918dbd[_0x1024f1(0x2d4)]='ACCESSIBILITY_INITIALIZED',_0x918dbd[_0x1024f1(0x2fd)]=_0x1024f1(0x205);const _0xd9b271=_0x918dbd,_0x55ae98=_0xd9b271['nMiZI'][_0x1024f1(0x2c4)]('|');let _0x25c3b3=0x0;while(!![]){switch(_0x55ae98[_0x25c3b3++]){case'0':this[_0x1024f1(0x246)]=new Map();continue;case'1':super();continue;case'2':logger[_0x1024f1(0x1bb)](_0xd9b271[_0x1024f1(0x323)]);continue;case'3':this[_0x1024f1(0x18a)](_0x1d695b[_0x1024f1(0x196)]()[_0x1024f1(0x2fb)]());continue;case'4':this['isAppAccessibility']=![];continue;case'5':this[_0x1024f1(0x2ad)]=![];continue;case'6':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x1024f1(0x2d6)],HookState[_0x1024f1(0x287)],this[_0x1024f1(0x2c8)][_0x1024f1(0x2b8)](this));continue;case'7':this[_0x1024f1(0x17d)]=!![];continue;case'8':AutomationFramework[_0x1024f1(0x2d5)](AutomationFrameworkState[_0x1024f1(0x144)],HookState['POST'],this['onBeforeTest']['bind'](this));continue;case'9':this[_0x1024f1(0x133)]=![];continue;case'10':this[_0x1024f1(0x14a)]=_0xd9b271[_0x1024f1(0x2eb)];continue;case'11':this[_0x1024f1(0x29c)]=[];continue;case'12':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x1024f1(0x1eb)],HookState[_0x1024f1(0x287)],this['onBeforeExecute'][_0x1024f1(0x2b8)](this));continue;case'13':this[_0x1024f1(0x24b)]=_0xd9b271[_0x1024f1(0x2d4)];continue;case'14':this[_0x1024f1(0x19d)]=_0x1d695b[_0x1024f1(0x2aa)]();continue;case'15':this[_0x1024f1(0x141)]=_0xd9b271['fNIbS'];continue;case'16':this[_0x1024f1(0x145)]=new Map();continue;}break;}}['isEnabled'](){const _0x323997=a104_0x539fdf;return this[_0x323997(0x17d)];}[a104_0x539fdf(0x1dc)](){const _0x732f98=a104_0x539fdf;return AccessibilityModule[_0x732f98(0x1da)];}[a104_0x539fdf(0x255)](){const _0x235cc6=a104_0x539fdf;return this[_0x235cc6(0x246)]['get'](CLIUtils[_0x235cc6(0x2a9)](),![]);}[a104_0x539fdf(0x23f)](){const _0xa78066=a104_0x539fdf;return this[_0xa78066(0x145)]['get'](CLIUtils[_0xa78066(0x2a9)](),![]);}[a104_0x539fdf(0x326)](_0x2cae65){const _0x5a0dd3=a104_0x539fdf;this[_0x5a0dd3(0x145)]['set'](CLIUtils[_0x5a0dd3(0x2a9)](),_0x2cae65);}['applySendMessageToServerPatch'](){const _0x262245=a104_0x539fdf,_0xe2b1c7={'zxiaF':_0x262245(0x268),'xdOgK':function(_0x3a9737,_0x5f0b0a){return _0x3a9737(_0x5f0b0a);},'fYgPz':_0x262245(0x190),'zHYkY':_0x262245(0x1be),'DaQCM':_0x262245(0x263)};if(this['_sendMessageServerPatchApplied']){logger[_0x262245(0x1bb)](_0xe2b1c7[_0x262245(0x177)]);return;}try{const _0x21c357=_0xe2b1c7[_0x262245(0x306)](require,_0xe2b1c7[_0x262245(0x148)]);_0x21c357&&_0x21c357['patchSendMessageToServer']?(_0x21c357[_0x262245(0x1fb)](),this[_0x262245(0x2ad)]=!![],logger[_0x262245(0x1bb)](_0xe2b1c7['zHYkY'])):logger[_0x262245(0x1bb)](_0xe2b1c7[_0x262245(0x29f)]);}catch(_0x279317){logger[_0x262245(0x1bb)](_0x262245(0x27a)+util[_0x262245(0x24c)](_0x279317));}}[a104_0x539fdf(0x1cc)](_0xefad41=null,_0x2e59ec=null,_0x1d7e1b=null){const _0x15cefa=a104_0x539fdf,_0x16f98e={'sUwNf':function(_0x501188,_0x590d28){return _0x501188&&_0x590d28;},'fWoPw':_0x15cefa(0x211),'cNFGJ':function(_0x574d14,_0x258b9a){return _0x574d14(_0x258b9a);},'WVhmL':_0x15cefa(0x1d0),'YcjSg':_0x15cefa(0x2ca),'YgSXM':_0x15cefa(0x251),'kcubp':function(_0x10615d,_0x46eed9){return _0x10615d===_0x46eed9;},'LkYTu':'true','dipol':_0x15cefa(0x1b4),'oSkrH':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','lrWwo':_0x15cefa(0x165),'bxyjw':function(_0x5449ca,_0x200460){return _0x5449ca!==_0x200460;},'FNWnR':'latest','NkroC':function(_0x1e845a){return _0x1e845a();},'CeJDz':_0x15cefa(0x27b),'hhcWp':function(_0x46ce41,_0x5e4610){return _0x46ce41-_0x5e4610;},'CnjeQ':function(_0x58ce1f,_0xad243e){return _0x58ce1f!==_0xad243e;},'zFOPZ':function(_0x302b92,_0x51e2f5){return _0x302b92>_0x51e2f5;},'xQRQe':function(_0x1abc45,_0x27622d){return _0x1abc45(_0x27622d);},'TausY':_0x15cefa(0x2f9)};try{if(_0x16f98e['sUwNf'](!_0x2e59ec,!_0x1d7e1b))return logger[_0x15cefa(0x1bb)](_0x16f98e[_0x15cefa(0x200)]),![];const {isUndefined:_0x20d232,isBrowserstackInfra:_0x431003}=_0x16f98e[_0x15cefa(0x14e)](require,_0x16f98e[_0x15cefa(0x284)]);if(!accessibilityHelper[_0x15cefa(0x2a6)]())return logger['debug'](_0x16f98e['YcjSg']),![];const _0x518b3b=_0x2e59ec[_0x15cefa(0x18d)]||_0x2e59ec[_0x15cefa(0x24a)],_0x4e8d1f=_0x2e59ec[_0x15cefa(0x23b)]||_0x2e59ec[_0x15cefa(0x219)];if(!accessibilityHelper[_0x15cefa(0x2a2)](_0x518b3b))return logger[_0x15cefa(0x247)](_0x16f98e['YgSXM']),![];if(accessibilityHelper[_0x15cefa(0x291)](_0x518b3b))try{const _0xef66a3=_0x2e59ec['headless'],_0x3f9422=_0x16f98e[_0x15cefa(0x16f)](_0xef66a3,!![])||_0x16f98e[_0x15cefa(0x16f)](_0xef66a3,_0x16f98e['LkYTu'])||_0x16f98e[_0x15cefa(0x16f)](typeof _0xef66a3,_0x16f98e['dipol'])&&_0x16f98e[_0x15cefa(0x16f)](_0xef66a3[_0x15cefa(0x147)](),_0x16f98e[_0x15cefa(0x17c)]);if(_0x3f9422)return logger[_0x15cefa(0x247)](_0x16f98e[_0x15cefa(0x137)]),![];const _0x184e0b=_0x2e59ec?.[_0x15cefa(0x171)]?.['args']||_0x2e59ec?.[_0x16f98e[_0x15cefa(0x1b2)]]?.[_0x15cefa(0x1b5)]||[];if(Array[_0x15cefa(0x1c5)](_0x184e0b)&&_0x184e0b[_0x15cefa(0x28a)](_0x406c51=>typeof _0x406c51===_0x15cefa(0x1b4)&&(_0x406c51==='--headless'||_0x406c51['startsWith'](_0x15cefa(0x2ab))&&_0x406c51!==_0x15cefa(0x1c9))))return logger[_0x15cefa(0x247)](_0x16f98e[_0x15cefa(0x137)]),![];}catch(_0xe44d75){logger['debug'](_0x15cefa(0x1c2)+util['format'](_0xe44d75));}if(_0x16f98e[_0x15cefa(0x2d1)](_0x4e8d1f,_0x16f98e[_0x15cefa(0x256)])){const _0x3e52d8=_0x16f98e[_0x15cefa(0x30b)](_0x431003),_0x479a5c=accessibilityHelper[_0x15cefa(0x26e)](_0x518b3b,_0x3e52d8),_0x3d9fef=accessibilityHelper['getBrowserDisplayName'](_0x518b3b);if(!accessibilityHelper[_0x15cefa(0x318)](_0x4e8d1f,_0x479a5c)){const _0xd8d145=_0x3e52d8?'':_0x16f98e[_0x15cefa(0x1d8)],_0x150075=Number['isFinite'](_0x16f98e[_0x15cefa(0x14e)](parseFloat,_0x479a5c))?_0x16f98e[_0x15cefa(0x181)](_0x16f98e['cNFGJ'](parseFloat,_0x479a5c),0x1):_0x479a5c;return logger['warn'](_0x15cefa(0x2db)+_0x3d9fef+_0x15cefa(0x2bd)+_0x150075+'\x20'+_0xd8d145+'.'),![];}}else{const _0x3f66d1=_0x2e59ec[_0x15cefa(0x23b)]||_0x2e59ec[_0x15cefa(0x219)]||_0x2e59ec[_0x15cefa(0x216)];if(_0x3f66d1&&_0x16f98e[_0x15cefa(0x2e3)](_0x3f66d1,_0x16f98e['FNWnR'])&&!_0x16f98e[_0x15cefa(0x1fc)](_0x16f98e[_0x15cefa(0x14e)](parseFloat,_0x3f66d1),_0x16f98e[_0x15cefa(0x19b)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger['warn'](_0x16f98e[_0x15cefa(0x1bc)]),![];}return!![];}catch(_0x395e65){return logger['debug'](_0x15cefa(0x13e)+_0x395e65['message']),![];}}['isEnabledTestcase'](_0x124584=[],_0x4d9d06,_0x403c94=a104_0x539fdf(0x151)){const _0x5d5176=a104_0x539fdf,_0x1e29bf={'SkjSb':function(_0x17f418,_0x4e2efd){return _0x17f418===_0x4e2efd;},'suERW':'jest','letsz':function(_0x590a0a,_0x327d5f){return _0x590a0a||_0x327d5f;},'dbGTw':function(_0x2e1966,_0x4861ec){return _0x2e1966===_0x4861ec;},'jbmWn':function(_0x2af333,_0x3d214f){return _0x2af333&&_0x3d214f;},'ccHvb':_0x5d5176(0x314),'ZKWvk':function(_0x1270b6,_0x3f458){return _0x1270b6===_0x3f458;},'cZJbq':function(_0x4ae37e,_0xcd9395){return _0x4ae37e(_0xcd9395);},'pMtPt':function(_0x4da2b3,_0x457352){return _0x4da2b3>_0x457352;},'joQBx':function(_0x413545,_0xec740e){return _0x413545&&_0xec740e;}};try{const _0x2451f0=process[_0x5d5176(0x2bf)][_0x5d5176(0x2d2)]?JSON[_0x5d5176(0x202)](process[_0x5d5176(0x2bf)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):null;if(!_0x2451f0)return!![];const _0x360652=Array[_0x5d5176(0x1c5)](_0x2451f0[_0x5d5176(0x248)])?_0x2451f0['includeTagsInTestingScope']:[],_0x59d845=Array[_0x5d5176(0x1c5)](_0x2451f0[_0x5d5176(0x30c)])?_0x2451f0[_0x5d5176(0x30c)]:[];if(_0x1e29bf[_0x5d5176(0x20e)](_0x403c94,_0x1e29bf[_0x5d5176(0x28d)])){let _0x4e9811;Array['isArray'](_0x124584)?_0x4e9811=_0x124584[_0x5d5176(0x279)]('\x20'):_0x4e9811=_0x1e29bf['letsz'](_0x124584,'');const _0x47f100=_0x59d845['some'](_0x382b06=>_0x4e9811[_0x5d5176(0x311)](_0x382b06)),_0x5ab9fc=_0x1e29bf[_0x5d5176(0x1a0)](_0x360652[_0x5d5176(0x2b6)],0x0)||_0x360652[_0x5d5176(0x28a)](_0x244117=>_0x4e9811[_0x5d5176(0x311)](_0x244117)),_0x3989bf=_0x1e29bf[_0x5d5176(0x1de)](!_0x47f100,_0x5ab9fc);return logger[_0x5d5176(0x1bb)](_0x5d5176(0x1bd)+(_0x4d9d06?.[_0x5d5176(0x1bf)]?.()||_0x1e29bf[_0x5d5176(0x328)])+_0x5d5176(0x1f5)+_0x3989bf+_0x5d5176(0x28f)+_0x4e9811+_0x5d5176(0x20d)+JSON[_0x5d5176(0x1ca)](_0x360652)+_0x5d5176(0x229)+JSON[_0x5d5176(0x1ca)](_0x59d845)),_0x3989bf;}const _0x45d89c=Array[_0x5d5176(0x1c5)](_0x124584)?_0x124584:[];let _0x423767=![],_0x1bcec8=_0x1e29bf[_0x5d5176(0x235)](_0x360652[_0x5d5176(0x2b6)],0x0);const _0x406306=_0x3e9ed8=>typeof _0x3e9ed8===_0x5d5176(0x1b4)?_0x3e9ed8[_0x5d5176(0x273)](/^@/,'')[_0x5d5176(0x147)]()[_0x5d5176(0x1f9)]():_0x3e9ed8,_0x1fb7a9=new Set(_0x360652[_0x5d5176(0x275)](_0x406306)),_0x4d7018=new Set(_0x59d845[_0x5d5176(0x275)](_0x406306));for(const _0x2aec2f of _0x45d89c){const _0x30a932=_0x1e29bf[_0x5d5176(0x166)](_0x406306,_0x2aec2f);_0x4d7018[_0x5d5176(0x226)](_0x30a932)&&(_0x423767=!![]),_0x1e29bf[_0x5d5176(0x1ed)](_0x1fb7a9[_0x5d5176(0x281)],0x0)&&_0x1fb7a9[_0x5d5176(0x226)](_0x30a932)&&(_0x1bcec8=!![]);}const _0x33adae=_0x1e29bf['joQBx'](_0x1bcec8,!_0x423767);return logger[_0x5d5176(0x1bb)](_0x5d5176(0x1bd)+(_0x4d9d06?.[_0x5d5176(0x1bf)]?.()||_0x1e29bf[_0x5d5176(0x328)])+_0x5d5176(0x2a5)+_0x33adae+_0x5d5176(0x31c)+JSON[_0x5d5176(0x1ca)](_0x45d89c)+_0x5d5176(0x20d)+JSON[_0x5d5176(0x1ca)](_0x360652)+_0x5d5176(0x229)+JSON[_0x5d5176(0x1ca)](_0x59d845)),_0x33adae;}catch(_0x55725c){return logger[_0x5d5176(0x1bb)](_0x5d5176(0x1bd)+(_0x4d9d06?.[_0x5d5176(0x1bf)]?.()||_0x1e29bf[_0x5d5176(0x328)])+_0x5d5176(0x1d7)+_0x55725c[_0x5d5176(0x2ea)]),![];}}async[a104_0x539fdf(0x223)](_0x3a87ac){const _0x765c34=a104_0x539fdf,_0xf806ca={};_0xf806ca[_0x765c34(0x1c1)]=function(_0x3deb3b,_0xa7c3ac){return _0x3deb3b!==_0xa7c3ac;},_0xf806ca[_0x765c34(0x194)]=_0x765c34(0x151),_0xf806ca[_0x765c34(0x25c)]='jest',_0xf806ca['hkSdJ']=function(_0x3cace7,_0x475629){return _0x3cace7!==_0x475629;},_0xf806ca[_0x765c34(0x2af)]=_0x765c34(0x1a2),_0xf806ca[_0x765c34(0x2c1)]=function(_0x3b6dcd,_0x18cd64){return _0x3b6dcd===_0x18cd64;},_0xf806ca[_0x765c34(0x319)]=_0x765c34(0x15a),_0xf806ca['HaXut']=_0x765c34(0x20c),_0xf806ca[_0x765c34(0x27c)]=_0x765c34(0x162),_0xf806ca[_0x765c34(0x1a9)]='onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation',_0xf806ca[_0x765c34(0x1d6)]='DRIVER_INIT',_0xf806ca[_0x765c34(0x1b8)]=function(_0x18fe23,_0xd643fb){return _0x18fe23===_0xd643fb;},_0xf806ca[_0x765c34(0x170)]='onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true',_0xf806ca[_0x765c34(0x2e2)]=function(_0x4a6ba7,_0x15ae98){return _0x4a6ba7===_0x15ae98;},_0xf806ca[_0x765c34(0x1ef)]=_0x765c34(0x258),_0xf806ca[_0x765c34(0x180)]=function(_0x16a358,_0x3e5414){return _0x16a358>_0x3e5414;},_0xf806ca[_0x765c34(0x1f4)]=function(_0x19e381,_0x1f6c5c){return _0x19e381===_0x1f6c5c;},_0xf806ca[_0x765c34(0x30e)]=_0x765c34(0x2fc),_0xf806ca[_0x765c34(0x2fe)]=_0x765c34(0x2b3),_0xf806ca[_0x765c34(0x2ec)]=function(_0x43e5a1,_0x901304){return _0x43e5a1&&_0x901304;},_0xf806ca[_0x765c34(0x1a7)]=_0x765c34(0x314);const _0x850acd=_0xf806ca;if(_0x850acd[_0x765c34(0x1c1)](_0x3a87ac[_0x765c34(0x218)],_0x850acd[_0x765c34(0x194)])&&_0x850acd['UWSxO'](_0x3a87ac[_0x765c34(0x218)],_0x850acd[_0x765c34(0x25c)])&&_0x850acd[_0x765c34(0x293)](_0x3a87ac['testFramework'],_0x850acd[_0x765c34(0x2af)])){logger[_0x765c34(0x1bb)](_0x765c34(0x209)+_0x3a87ac[_0x765c34(0x218)]+')');return;}try{const _0xc7319b=AutomationFramework[_0x765c34(0x243)](),_0x40d6b4=TestFramework[_0x765c34(0x243)](),_0x585f60=_0x3a87ac[_0x765c34(0x2cc)]||global['__workerDetails']?.[_0x765c34(0x1b0)]||null;if(_0x850acd[_0x765c34(0x2c1)](_0x3a87ac[_0x765c34(0x218)],_0x850acd['eYVET'])){const _0x3308b7=_0x3a87ac[_0x765c34(0x2f6)]||_0xc7319b&&_0xc7319b[_0x765c34(0x245)]&&_0xc7319b[_0x765c34(0x245)]()||_0xc7319b&&_0xc7319b[_0x765c34(0x1ea)]&&_0xc7319b[_0x765c34(0x1ea)]()||{},_0x2cf1be=_0x3a87ac[_0x765c34(0x179)]||null,_0x573981=this[_0x765c34(0x1cc)](_0xc7319b,_0x3308b7,_0x2cf1be),_0x2b87b3=CLIUtils['getCurrentInstanceName']();this['accessibility'][_0x765c34(0x1ac)](_0x2b87b3,_0x573981);global[_0x765c34(0x286)]?.[_0x765c34(0x146)]&&global[_0x765c34(0x286)][_0x765c34(0x146)]()['setShouldScan'](_0x573981);_0x573981?(global[_0x765c34(0x176)]=!![],process[_0x765c34(0x2bf)][_0x765c34(0x26b)]=_0x850acd['wgDbq']):global[_0x765c34(0x176)]=![];logger[_0x765c34(0x1bb)](_0x765c34(0x164)+_0x573981);return;}if(!_0x585f60){_0x40d6b4&&_0x40d6b4[_0x765c34(0x2de)](_0x850acd[_0x765c34(0x1d9)],!![]);logger[_0x765c34(0x1bb)](_0x850acd[_0x765c34(0x27c)]);return;}logger['debug'](_0x850acd[_0x765c34(0x1a9)]);const _0x241a59=_0x40d6b4?.[_0x765c34(0x322)](_0x850acd[_0x765c34(0x1d6)],![]),_0x1c4281=_0x40d6b4?.[_0x765c34(0x322)](_0x850acd[_0x765c34(0x1d9)],![]);if(_0x850acd[_0x765c34(0x1b8)](_0x241a59,![])&&_0x850acd['ZySyP'](_0x1c4281,![])){_0x40d6b4&&_0x40d6b4[_0x765c34(0x2de)](_0x850acd[_0x765c34(0x1d6)],!![]);logger[_0x765c34(0x1bb)](_0x850acd[_0x765c34(0x170)]);return;}_0x40d6b4&&_0x40d6b4[_0x765c34(0x2de)](_0x850acd[_0x765c34(0x1d9)],!![]);let _0x319b4d,_0x4ee767;const _0x2a243f=_0x3a87ac['testFramework']||_0x850acd[_0x765c34(0x194)];if(_0x850acd[_0x765c34(0x2e2)](_0x2a243f,_0x850acd[_0x765c34(0x25c)])){_0x4ee767=_0x3a87ac['testInfo']?.[_0x765c34(0x250)]||_0x3a87ac[_0x765c34(0x1dd)]?.['id']||global[_0x765c34(0x299)]||global[_0x765c34(0x29a)]?.[_0x765c34(0x27e)]?.[_0x765c34(0x250)]||global[_0x765c34(0x29a)]?.[_0x765c34(0x27e)]?.['id'];const _0x34dbd5=_0x40d6b4?.['getAllData']()?.['get'](_0x4ee767);if(_0x34dbd5&&_0x34dbd5[TestFrameworkConstants['KEY_TEST_NAME']])_0x319b4d=_0x34dbd5[TestFrameworkConstants[_0x765c34(0x2f8)]];else{if(_0x3a87ac[_0x765c34(0x1dd)]?.['titlePath'])_0x319b4d=_0x3a87ac[_0x765c34(0x1dd)][_0x765c34(0x325)];else global[_0x765c34(0x29a)]?.[_0x765c34(0x27e)]?.['testInfo']?.['titlePath']?_0x319b4d=global[_0x765c34(0x29a)][_0x765c34(0x27e)][_0x765c34(0x1dd)][_0x765c34(0x325)]:_0x319b4d=_0x850acd[_0x765c34(0x1ef)];}logger[_0x765c34(0x1bb)]('[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier='+_0x4ee767+_0x765c34(0x28f)+JSON[_0x765c34(0x1ca)](_0x319b4d));}else{_0x4ee767=this[_0x765c34(0x236)](_0x3a87ac);const _0x3c7e5d=TestInfo[_0x765c34(0x25e)](_0x4ee767);let _0x5b60c9=[];if(_0x3c7e5d&&Array[_0x765c34(0x1c5)](_0x3c7e5d['test_tags'])&&_0x850acd[_0x765c34(0x180)](_0x3c7e5d[_0x765c34(0x2b3)][_0x765c34(0x2b6)],0x0))_0x5b60c9=_0x3c7e5d[_0x765c34(0x2b3)];else{if(_0x40d6b4){const _0x2aa83d=_0x850acd['faskG'](typeof _0x40d6b4[_0x765c34(0x322)],_0x850acd[_0x765c34(0x30e)])?_0x40d6b4[_0x765c34(0x322)](_0x850acd[_0x765c34(0x2fe)],[]):_0x40d6b4[_0x765c34(0x2b3)]||[];Array[_0x765c34(0x1c5)](_0x2aa83d)&&(_0x5b60c9=_0x2aa83d);}}_0x319b4d=_0x5b60c9;}logger['info']('test-tags-->\x20'+JSON[_0x765c34(0x1ca)](_0x319b4d));const _0x304635=this['isPlatformSupported'](_0xc7319b,_0x3a87ac[_0x765c34(0x2f6)],_0x3a87ac[_0x765c34(0x179)]);logger[_0x765c34(0x1bb)](_0x765c34(0x28b)+_0x304635+',\x20isAppAccessibility='+this[_0x765c34(0x1b1)]);const _0x2a98e5=this[_0x765c34(0x301)](_0x319b4d,_0xc7319b,_0x2a243f),_0x7c082a=_0x850acd[_0x765c34(0x2ec)](_0x304635,_0x2a98e5),_0x67dbf2=CLIUtils[_0x765c34(0x2a9)]();this[_0x765c34(0x246)][_0x765c34(0x1ac)](_0x67dbf2,_0x7c082a),global['Context']?.[_0x765c34(0x146)]&&global['Context'][_0x765c34(0x146)]()[_0x765c34(0x249)](_0x7c082a),logger[_0x765c34(0x1bb)](_0x765c34(0x1bd)+(_0xc7319b?.[_0x765c34(0x1bf)]?.()||_0x850acd['xDWgh'])+_0x765c34(0x15f)+_0x7c082a),_0x7c082a?(global['accessibilityPlatform']=!![],process[_0x765c34(0x2bf)][_0x765c34(0x26b)]=_0x850acd[_0x765c34(0x319)],this[_0x765c34(0x1e5)]()):global['accessibilityPlatform']=![];}catch(_0x5815c7){logger['error'](_0x765c34(0x2e1)+(_0x5815c7[_0x765c34(0x308)]||_0x5815c7[_0x765c34(0x2ea)]));const _0x104c87=CLIUtils['getCurrentInstanceName']();this['accessibility'][_0x765c34(0x1ac)](_0x104c87,![]),global[_0x765c34(0x176)]=![];}}[a104_0x539fdf(0x27d)](){const _0x201fbe=a104_0x539fdf;return this[_0x201fbe(0x29c)][_0x201fbe(0x294)](_0x5500f6=>_0x5500f6[_0x201fbe(0x19e)]()===_0x201fbe(0x165))?.[_0x201fbe(0x2e4)]()||'';}['getCapabilityValue'](_0x7ad00d){const _0x450bbe=a104_0x539fdf;try{const _0x21482d=this[_0x450bbe(0x19d)]?.[_0x450bbe(0x2dd)]?.[_0x450bbe(0x22a)]||[],_0xdd09de=_0x21482d[_0x450bbe(0x294)](_0x38eb66=>_0x38eb66['name']===_0x7ad00d);return _0xdd09de?_0xdd09de[_0x450bbe(0x18c)]:null;}catch(_0x299d05){return logger[_0x450bbe(0x1bb)](_0x450bbe(0x320)+_0x7ad00d+':\x20'+_0x299d05[_0x450bbe(0x2ea)]),null;}}async[a104_0x539fdf(0x1c4)](_0xc47ce0,_0x2e9999){const _0x89e4f6=a104_0x539fdf,_0x1e77bd=_0xc47ce0['getAccessibility']()[_0x89e4f6(0x196)](),_0x233b9e=_0x1e77bd[_0x89e4f6(0x134)](),_0x58f8bc=_0x1e77bd['getCommandsToWrap']()?.['getCommandsList']();scripts[_0x89e4f6(0x2b5)](_0x233b9e,_0x58f8bc),scripts[_0x89e4f6(0x25b)]();const _0x2ed770=_0x1e77bd[_0x89e4f6(0x2fb)]();this[_0x89e4f6(0x29c)]=_0x1e77bd[_0x89e4f6(0x2fb)](),await this[_0x89e4f6(0x18a)](_0x2ed770,_0x2e9999['launchCaps']);}async[a104_0x539fdf(0x18a)](_0x4e201f,_0x4ec5d0={}){const _0x39347b=a104_0x539fdf,_0x4fb966={'RBDzI':function(_0x378605,_0x248d98){return _0x378605===_0x248d98;},'HmLiu':_0x39347b(0x1a4),'AFukw':_0x39347b(0x16c),'pkJHE':function(_0x421a5a,_0x10ecb9){return _0x421a5a(_0x10ecb9);},'QcjJY':'../../../helpers/accessibility-automation/helper','bmYtz':_0x39347b(0x1d0),'bIXGl':function(_0x191304,_0x29380c){return _0x191304(_0x29380c);},'xGQIY':function(_0xd15e66,_0x1bb12a){return _0xd15e66===_0x1bb12a;},'bvmAH':'wcagVersion','PGXQY':_0x39347b(0x292),'BmiAG':function(_0x499063,_0x21d21c){return _0x499063===_0x21d21c;},'EnCfn':_0x39347b(0x192),'YfiHr':_0x39347b(0x2a0),'EpbOr':_0x39347b(0x239),'QuSTa':_0x39347b(0x270),'DMYOK':function(_0x4ed586,_0x2d7827){return _0x4ed586===_0x2d7827;},'obPyq':_0x39347b(0x17f),'yYJHS':_0x39347b(0x15a)};global[_0x39347b(0x157)]=global['__accessibilityOptions']||{};for(const _0x2d0d0f of _0x4e201f){logger[_0x39347b(0x1aa)](_0x39347b(0x278)+_0x2d0d0f['getName']()+'\x20value='+_0x2d0d0f['getValue']());if(_0x4fb966[_0x39347b(0x13c)](_0x2d0d0f[_0x39347b(0x19e)](),_0x4fb966[_0x39347b(0x1b3)])){const _0x56a2e=_0x2d0d0f[_0x39347b(0x2e4)]();process['env'][_0x39347b(0x189)]=_0x56a2e,global[_0x39347b(0x157)][_0x4fb966[_0x39347b(0x18f)]]=_0x56a2e;const _0x3a4961=_0x4fb966[_0x39347b(0x1e1)](require,_0x4fb966[_0x39347b(0x261)]),{isTrue:_0x51cdcb}=_0x4fb966['pkJHE'](require,_0x4fb966[_0x39347b(0x240)]),_0x47d2ba=_0x3a4961['parseA11yJwtPayload'](_0x56a2e);_0x47d2ba&&_0x4fb966['bIXGl'](_0x51cdcb,_0x47d2ba[_0x39347b(0x1a5)])&&(process[_0x39347b(0x2bf)][_0x39347b(0x2b0)]=!![]);}else{if(_0x4fb966['xGQIY'](_0x2d0d0f[_0x39347b(0x19e)](),_0x4fb966['bvmAH']))global[_0x39347b(0x157)][_0x4fb966[_0x39347b(0x1ab)]]=_0x2d0d0f[_0x39347b(0x2e4)]();else{if(_0x4fb966[_0x39347b(0x1e9)](_0x2d0d0f[_0x39347b(0x19e)](),_0x4fb966['EnCfn']))global[_0x39347b(0x157)][_0x4fb966['YfiHr']]=_0x2d0d0f[_0x39347b(0x2e4)]();else{if(_0x4fb966[_0x39347b(0x22e)](_0x2d0d0f['getName'](),_0x4fb966[_0x39347b(0x14f)]))global[_0x39347b(0x157)][_0x4fb966['QuSTa']]=_0x2d0d0f[_0x39347b(0x2e4)]();else{if(_0x4fb966[_0x39347b(0x17b)](_0x2d0d0f[_0x39347b(0x19e)](),_0x4fb966[_0x39347b(0x14b)])){const _0x26ba37=_0x2d0d0f['getValue']();process[_0x39347b(0x2bf)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x4fb966[_0x39347b(0x1e1)](String,_0x4fb966[_0x39347b(0x22e)](_0x26ba37,!![])||_0x4fb966[_0x39347b(0x13c)](_0x26ba37,_0x4fb966[_0x39347b(0x16d)])),logger[_0x39347b(0x1bb)](_0x39347b(0x282)+_0x26ba37+_0x39347b(0x31f)+process[_0x39347b(0x2bf)][_0x39347b(0x2d3)]);}}}}}}}async[a104_0x539fdf(0x2c8)](_0x52249d){const _0x17b0be=a104_0x539fdf,_0x140e0a={};_0x140e0a[_0x17b0be(0x252)]=function(_0x5b93cf,_0x2007cd){return _0x5b93cf!==_0x2007cd;},_0x140e0a[_0x17b0be(0x315)]=_0x17b0be(0x151),_0x140e0a[_0x17b0be(0x1e0)]=function(_0x3ea310,_0x1cc143){return _0x3ea310!==_0x1cc143;},_0x140e0a[_0x17b0be(0x304)]='jest',_0x140e0a[_0x17b0be(0x283)]=function(_0x38c430,_0xdcfbf3){return _0x38c430!==_0xdcfbf3;},_0x140e0a['azkvE']=_0x17b0be(0x1a2),_0x140e0a['hEzNx']=_0x17b0be(0x314);const _0x1ef638=_0x140e0a;if(_0x1ef638[_0x17b0be(0x252)](_0x52249d['testFramework'],_0x1ef638[_0x17b0be(0x315)])&&_0x1ef638[_0x17b0be(0x1e0)](_0x52249d[_0x17b0be(0x218)],_0x1ef638[_0x17b0be(0x304)])&&_0x1ef638['HRXAj'](_0x52249d[_0x17b0be(0x218)],_0x1ef638[_0x17b0be(0x169)])){logger[_0x17b0be(0x1bb)]('onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework\x20(got:\x20'+_0x52249d[_0x17b0be(0x218)]+')');return;}const _0x336e85=_0x52249d[_0x17b0be(0x1dd)]?.[_0x17b0be(0x250)]||_0x52249d['testInfo']?.['id']||global['__jestCurrentTestIdentifier'];logger[_0x17b0be(0x1aa)](_0x17b0be(0x175)+_0x52249d[_0x17b0be(0x218)]+',\x20testIdentifier='+_0x336e85);try{const _0x3ac808=_0x52249d['instance']||AutomationFramework[_0x17b0be(0x243)](),_0x12a1bd=CLIUtils['getCurrentInstanceName'](),_0x576f56=this[_0x17b0be(0x255)]();logger[_0x17b0be(0x1bb)](_0x17b0be(0x1bd)+(_0x3ac808?.[_0x17b0be(0x1bf)]?.()||_0x1ef638['hEzNx'])+_0x17b0be(0x264)+_0x576f56),_0x576f56&&await this['stopTestCapture'](_0x3ac808,_0x52249d),this['accessibility'][_0x17b0be(0x241)](_0x12a1bd),this[_0x17b0be(0x145)][_0x17b0be(0x241)](_0x12a1bd);}catch(_0x14cd61){logger[_0x17b0be(0x1f3)](_0x17b0be(0x199)+(_0x14cd61[_0x17b0be(0x308)]||_0x14cd61[_0x17b0be(0x2ea)]));}}async[a104_0x539fdf(0x178)](_0x2f3bfc,_0x15fb12){const _0x62efd5=a104_0x539fdf,_0x2225fa={};_0x2225fa['ZWyfD']=function(_0x4cf8a8,_0x28418a){return _0x4cf8a8===_0x28418a;},_0x2225fa[_0x62efd5(0x234)]=_0x62efd5(0x2fc),_0x2225fa[_0x62efd5(0x150)]=function(_0x23efc1,_0x5850b9){return _0x23efc1===_0x5850b9;},_0x2225fa['qaFEB']=_0x62efd5(0x233),_0x2225fa[_0x62efd5(0x17a)]=_0x62efd5(0x151),_0x2225fa[_0x62efd5(0x208)]=_0x62efd5(0x242),_0x2225fa['uAUss']=_0x62efd5(0x246),_0x2225fa[_0x62efd5(0x13f)]='saveResults',_0x2225fa[_0x62efd5(0x1a8)]=_0x62efd5(0x314),_0x2225fa['VElbx']=_0x62efd5(0x1b9),_0x2225fa['MmpMj']=_0x62efd5(0x253),_0x2225fa['ZxauT']=function(_0x2fa3b3,_0x21535b){return _0x2fa3b3===_0x21535b;},_0x2225fa[_0x62efd5(0x172)]=function(_0x17cfca,_0x485f87){return _0x17cfca||_0x485f87;},_0x2225fa['dbTGw']=function(_0x24e7ad,_0x26858a){return _0x24e7ad||_0x26858a;},_0x2225fa['DxjGB']=_0x62efd5(0x2e6),_0x2225fa[_0x62efd5(0x1cd)]=_0x62efd5(0x23d),_0x2225fa['SfpgP']=_0x62efd5(0x1e6);const _0x111160=_0x2225fa;try{const _0x285c9b=_0x15fb12[_0x62efd5(0x218)]||(_0x111160[_0x62efd5(0x150)](this['testFrameworkData']?.[_0x62efd5(0x296)]?.[_0x62efd5(0x147)](),_0x111160[_0x62efd5(0x193)])?_0x111160[_0x62efd5(0x193)]:_0x111160[_0x62efd5(0x17a)]);let _0x2c2491='',_0x16c986=null,_0x2e7b2d=null;if(_0x111160[_0x62efd5(0x2c3)](_0x285c9b,_0x111160[_0x62efd5(0x193)])){_0x16c986=_0x15fb12['testInfo']?.['testAnalyticsId']||_0x15fb12[_0x62efd5(0x1dd)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x16c986){logger['warn'](_0x111160[_0x62efd5(0x208)]);return;}try{const _0x52fc58=await GrpcClient[_0x62efd5(0x1ae)]()[_0x62efd5(0x1ad)](process[_0x62efd5(0x2bf)][_0x62efd5(0x2fa)],_0x111160[_0x62efd5(0x262)],_0x111160[_0x62efd5(0x13f)],_0x16c986),_0x2c8835=AccessibilityModule[_0x62efd5(0x13a)](null,_0x52fc58);_0x2c2491=_0x2c8835?.[_0x62efd5(0x2cf)]||'',logger[_0x62efd5(0x1bb)]('[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x2c2491+_0x62efd5(0x138)+_0x16c986),_0x2e7b2d=_0x52fc58;}catch(_0x1f4952){logger[_0x62efd5(0x1f3)](_0x62efd5(0x31b)+_0x1f4952[_0x62efd5(0x2ea)]);return;}}else{const _0x72e45=this[_0x62efd5(0x236)](_0x15fb12);_0x2c2491=TestInfo[_0x62efd5(0x2ee)](_0x72e45);}const _0x12cb60=((()=>{const _0x4dbef0=_0x62efd5,_0x433f7a=(this['accessibilityConfig']?.['options']?.['capabilitiesList']||[])[_0x4dbef0(0x294)](_0x2103c8=>(typeof _0x2103c8[_0x4dbef0(0x19e)]===_0x4dbef0(0x2fc)?_0x2103c8[_0x4dbef0(0x19e)]():_0x2103c8['name'])===this[_0x4dbef0(0x141)]);return _0x433f7a?_0x111160[_0x4dbef0(0x2c3)](typeof _0x433f7a[_0x4dbef0(0x2e4)],_0x111160[_0x4dbef0(0x234)])?_0x433f7a[_0x4dbef0(0x2e4)]():_0x433f7a[_0x4dbef0(0x18c)]:'';})()),_0x20b6c9=process[_0x62efd5(0x2bf)][_0x62efd5(0x207)]||'';logger[_0x62efd5(0x1bb)]('[platform\x20-\x20'+(_0x2f3bfc?.['getPlatformIndex']?.()||_0x111160[_0x62efd5(0x1a8)])+_0x62efd5(0x327)+_0x2c2491+_0x62efd5(0x2f5)+_0x12cb60+_0x62efd5(0x152)+(_0x20b6c9?_0x111160[_0x62efd5(0x2ff)]:_0x111160['MmpMj']));let _0x4e60c3;if(_0x111160[_0x62efd5(0x225)](_0x285c9b,_0x111160[_0x62efd5(0x193)]))_0x4e60c3=AccessibilityModule[_0x62efd5(0x13a)](_0x2c2491,_0x2e7b2d);else{const _0x273bf7=await GrpcClient['getInstance']()[_0x62efd5(0x1ad)](process[_0x62efd5(0x2bf)][_0x62efd5(0x2fa)],_0x111160['uAUss'],_0x111160[_0x62efd5(0x13f)]);_0x4e60c3=AccessibilityModule[_0x62efd5(0x13a)](_0x2c2491,_0x273bf7);}logger[_0x62efd5(0x1bb)](_0x62efd5(0x1d2)+JSON[_0x62efd5(0x1ca)](_0x4e60c3));const _0x39cf50=Object[_0x62efd5(0x313)]({},{'thTestRunUuid':_0x111160[_0x62efd5(0x172)](_0x2c2491,''),'thBuildUuid':_0x111160[_0x62efd5(0x172)](_0x12cb60,''),'thJwtToken':_0x111160[_0x62efd5(0x302)](_0x20b6c9,'')},_0x4e60c3);!this[_0x62efd5(0x1b1)]&&this[_0x62efd5(0x26c)]()&&(_0x39cf50['is_mobile_session']=!![],logger['debug'](_0x111160[_0x62efd5(0x2df)]));logger[_0x62efd5(0x1bb)](_0x62efd5(0x1f7)+_0x2c2491+_0x62efd5(0x136)+this[_0x62efd5(0x1b1)]);let _0xa92b18=global[_0x62efd5(0x29a)]?.['pwPage']||null;!_0xa92b18&&(_0xa92b18=AutomationFramework['getState'](_0x2f3bfc,_0x111160['DIqqc'],null)),!_0xa92b18&&(_0xa92b18=AutomationFramework[_0x62efd5(0x168)](_0x2f3bfc,_0x111160[_0x62efd5(0x22d)],null)),await this['finishScanningForCli'](this[_0x62efd5(0x255)](),_0x2c2491,_0xa92b18,_0x39cf50,this[_0x62efd5(0x1b1)]);}catch(_0x355964){logger[_0x62efd5(0x1f3)](_0x62efd5(0x21f)+(_0x355964['stack']||_0x355964['message']));}}async[a104_0x539fdf(0x1f2)](_0x269950,_0x8ee5df,_0x3ce2c9,_0x9ef4bd,_0x5208fc){const _0x390f88=a104_0x539fdf,_0x5c6d34={};_0x5c6d34[_0x390f88(0x2bb)]=_0x390f88(0x2c9),_0x5c6d34[_0x390f88(0x2ae)]=function(_0x533823,_0x526ede){return _0x533823&&_0x526ede;},_0x5c6d34['GlGGL']=_0x390f88(0x28e),_0x5c6d34[_0x390f88(0x1c3)]=function(_0x1b3282,_0x140d63){return _0x1b3282===_0x140d63;},_0x5c6d34[_0x390f88(0x25a)]=_0x390f88(0x253),_0x5c6d34[_0x390f88(0x1d1)]=_0x390f88(0x316),_0x5c6d34[_0x390f88(0x182)]=_0x390f88(0x1e3),_0x5c6d34[_0x390f88(0x153)]=_0x390f88(0x2d0),_0x5c6d34['kkgkF']=_0x390f88(0x2cd),_0x5c6d34['dNLAF']=function(_0x1228d1,_0x42d8cf){return _0x1228d1&&_0x42d8cf;},_0x5c6d34['NgiwL']=_0x390f88(0x14d),_0x5c6d34[_0x390f88(0x1e2)]=_0x390f88(0x1d4),_0x5c6d34[_0x390f88(0x1f6)]=_0x390f88(0x1b7);const _0x32c919=_0x5c6d34;try{const _0x92a626=this[_0x390f88(0x2bc)](_0x32c919[_0x390f88(0x2bb)]);if(_0x32c919[_0x390f88(0x2ae)](!_0x5208fc,!_0x92a626)){logger[_0x390f88(0x1bb)](_0x32c919['GlGGL']);return;}if(!_0x8ee5df||_0x32c919[_0x390f88(0x1c3)](_0x8ee5df,_0x32c919[_0x390f88(0x25a)])||_0x32c919['IRXuG'](_0x8ee5df,'')){logger[_0x390f88(0x1bb)](_0x32c919[_0x390f88(0x1d1)]);return;}logger[_0x390f88(0x1bb)](_0x390f88(0x29e)+JSON[_0x390f88(0x1ca)](_0x9ef4bd)),_0x269950&&(logger[_0x390f88(0x1bb)](_0x32c919[_0x390f88(0x182)]),await this[_0x390f88(0x23a)](_0x3ce2c9,_0x8ee5df,_0x32c919['BlHYC'],_0x9ef4bd,_0x5208fc,_0x32c919[_0x390f88(0x24f)]),_0x32c919[_0x390f88(0x195)](!_0x5208fc,_0x92a626)&&(logger['debug'](_0x32c919['NgiwL']),await PerformanceTester[_0x390f88(0x1f1)](_0x32c919['Osmqu'],async()=>{const _0x189193=_0x390f88;await this[_0x189193(0x23a)](_0x3ce2c9,_0x8ee5df,_0x32c919[_0x189193(0x2bb)],_0x9ef4bd,_0x5208fc,_0x32c919[_0x189193(0x2bb)]);})()),logger['info'](_0x32c919[_0x390f88(0x1f6)]));}catch(_0x2c73b0){logger[_0x390f88(0x1f3)]('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x2c73b0[_0x390f88(0x308)]||_0x2c73b0['message']));}}async[a104_0x539fdf(0x201)](_0x21554d){const _0x654197=a104_0x539fdf,_0x445c38={};_0x445c38[_0x654197(0x1c0)]=function(_0x32fb9f,_0x25034f){return _0x32fb9f!==_0x25034f;},_0x445c38[_0x654197(0x31e)]=_0x654197(0x151),_0x445c38['nYIvy']=_0x654197(0x233),_0x445c38[_0x654197(0x297)]=_0x654197(0x1a2),_0x445c38[_0x654197(0x309)]=_0x654197(0x314),_0x445c38[_0x654197(0x2ed)]=_0x654197(0x24d),_0x445c38[_0x654197(0x2b2)]=function(_0x2f7f48,_0x4ece24){return _0x2f7f48===_0x4ece24;},_0x445c38[_0x654197(0x23e)]='onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan',_0x445c38[_0x654197(0x231)]=_0x654197(0x246),_0x445c38[_0x654197(0x188)]='performScan',_0x445c38[_0x654197(0x1c7)]=_0x654197(0x1f0),_0x445c38[_0x654197(0x254)]=_0x654197(0x205),_0x445c38[_0x654197(0x31d)]=function(_0x5f03ed,_0x107227){return _0x5f03ed===_0x107227;},_0x445c38[_0x654197(0x237)]=_0x654197(0x2cd),_0x445c38[_0x654197(0x300)]=_0x654197(0x253);const _0x33322e=_0x445c38;if(_0x33322e['PxvXJ'](_0x21554d[_0x654197(0x218)],_0x33322e[_0x654197(0x31e)])&&_0x33322e[_0x654197(0x1c0)](_0x21554d[_0x654197(0x218)],_0x33322e[_0x654197(0x324)])&&_0x33322e[_0x654197(0x1c0)](_0x21554d[_0x654197(0x218)],_0x33322e[_0x654197(0x297)])){logger[_0x654197(0x1bb)](_0x654197(0x203)+_0x21554d['testFramework']+')');return;}logger[_0x654197(0x1bb)](_0x654197(0x2f1)+(_0x21554d['commandName']||_0x33322e[_0x654197(0x309)])+_0x654197(0x1d5)+_0x21554d['testFramework']);try{const _0x209a11=_0x21554d[_0x654197(0x21d)]||AutomationFramework[_0x654197(0x243)](),_0x11f76a=TestFramework['getTrackedInstance'](),_0xccda06=_0x21554d[_0x654197(0x2f4)]||_0x21554d[_0x654197(0x2a1)]?.[_0x654197(0x19e)]();if(!_0xccda06){logger[_0x654197(0x1bb)](_0x33322e['Lkmoi']);return;}if(!this[_0x654197(0x255)]()){logger['debug'](_0x654197(0x174)+_0xccda06);return;}if(!this[_0x654197(0x15b)](_0xccda06)){logger[_0x654197(0x1bb)](_0x654197(0x27f)+_0xccda06+_0x654197(0x298));return;}const _0x11d613=_0x21554d['page']||global[_0x654197(0x29a)]?.[_0x654197(0x1b0)];if(!_0x11d613){logger['debug']('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0xccda06);return;}let _0x2b8a59='',_0x45d52e=null;if(_0x33322e['owzcg'](_0x21554d[_0x654197(0x218)],_0x33322e[_0x654197(0x324)])){_0x45d52e=_0x21554d[_0x654197(0x1dd)]?.[_0x654197(0x250)]||_0x21554d[_0x654197(0x1dd)]?.['id']||global[_0x654197(0x299)];if(!_0x45d52e){logger[_0x654197(0x247)](_0x33322e['ZFaVz']);return;}try{const _0x35c66d=await GrpcClient[_0x654197(0x1ae)]()[_0x654197(0x1ad)](process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x33322e[_0x654197(0x231)],_0x33322e[_0x654197(0x188)],_0x45d52e),_0x48d89f=AccessibilityModule[_0x654197(0x13a)](null,_0x35c66d);_0x2b8a59=_0x48d89f?.[_0x654197(0x2cf)]||'',logger[_0x654197(0x1bb)](_0x654197(0x266)+_0x2b8a59+_0x654197(0x138)+_0x45d52e);}catch(_0x20db1f){logger[_0x654197(0x1f3)]('onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x20db1f[_0x654197(0x2ea)]);return;}}else _0x2b8a59=this[_0x654197(0x156)](_0x33322e[_0x654197(0x1c7)])||'',!_0x2b8a59&&this[_0x654197(0x26c)]()&&(_0x2b8a59=accessibilityHelper['resolveMobileThTestRunUuid']());const _0x359e43=this[_0x654197(0x156)](_0x33322e[_0x654197(0x254)])||this['accessibilityConfig'][this[_0x654197(0x141)]]||null,_0x11cd52=process['env'][_0x654197(0x207)]||'',_0x48e020=this['getParamsForScanForCli'](_0xccda06,_0x2b8a59,_0x359e43,_0x11cd52),_0x10771f=_0x33322e[_0x654197(0x31d)](_0x21554d[_0x654197(0x218)],_0x33322e[_0x654197(0x324)])?await AccessibilityModule[_0x654197(0x143)](_0x33322e[_0x654197(0x237)],_0x2b8a59,_0x45d52e):await AccessibilityModule[_0x654197(0x143)](_0x33322e[_0x654197(0x237)],_0x2b8a59);logger[_0x654197(0x1aa)]('ScanArgs:\x20'+(_0x48e020?JSON[_0x654197(0x1ca)](_0x48e020):_0x33322e[_0x654197(0x300)]));const _0x2cacc2=CLIUtils[_0x654197(0x222)](_0x48e020,_0x10771f);logger[_0x654197(0x1aa)](_0x654197(0x260)+(_0x2cacc2?JSON[_0x654197(0x1ca)](_0x2cacc2):_0x33322e[_0x654197(0x300)])),logger[_0x654197(0x1bb)](_0x654197(0x238)+_0xccda06);const _0x36d45e=await this[_0x654197(0x23a)](_0x11d613,_0x2b8a59,_0xccda06,_0x2cacc2,this[_0x654197(0x1b1)]);logger[_0x654197(0x1bb)](_0x654197(0x185)+_0xccda06+_0x654197(0x2ef)+JSON[_0x654197(0x1ca)](_0x36d45e));}catch(_0x8f485){logger[_0x654197(0x1f3)](_0x654197(0x21b)+(_0x8f485[_0x654197(0x308)]||_0x8f485[_0x654197(0x2ea)]));}}[a104_0x539fdf(0x21e)](){const _0x46482e=a104_0x539fdf;return this[_0x46482e(0x255)]();}['setShouldScanCurrentTest'](_0x23f775){const _0x49af2d=CLIUtils['getCurrentInstanceName']();this['accessibility']['set'](_0x49af2d,_0x23f775);}async[a104_0x539fdf(0x2a8)](_0x434115){const _0x3ccfb0=a104_0x539fdf,_0x34cb76={};_0x34cb76[_0x3ccfb0(0x285)]=_0x3ccfb0(0x314);const _0x2afb34=_0x34cb76;try{const _0x122350=_0x434115[_0x3ccfb0(0x21d)]||AutomationFramework[_0x3ccfb0(0x243)](),_0x4234e7=_0x122350?.[_0x3ccfb0(0x322)]?.()?.[_0x3ccfb0(0x20b)]?.(this['KEY_INIT'])||![];if(_0x4234e7)return;PerformanceTester['start'](EVENTS[_0x3ccfb0(0x1af)]);const _0x4438fa=await GrpcClient[_0x3ccfb0(0x1ae)]()[_0x3ccfb0(0x2dc)](_0x434115);_0x4438fa&&_0x4438fa[_0x3ccfb0(0x2e0)]&&_0x4438fa['getAccessibility']()&&_0x4438fa[_0x3ccfb0(0x2e0)]()[_0x3ccfb0(0x163)]()?(await this['loadAccessibilityConfig'](_0x4438fa,_0x434115),_0x122350?.['getData']&&_0x122350[_0x3ccfb0(0x322)]()[_0x3ccfb0(0x1ac)](this[_0x3ccfb0(0x24b)],!![]),logger[_0x3ccfb0(0x1bb)](_0x3ccfb0(0x1bd)+(_0x122350?.['getPlatformIndex']?.()||_0x2afb34['nFHjf'])+']\x20Accessibility\x20configuration\x20initialized\x20successfully')):logger[_0x3ccfb0(0x1bb)](_0x3ccfb0(0x1bd)+(_0x122350?.[_0x3ccfb0(0x1bf)]?.()||_0x2afb34[_0x3ccfb0(0x285)])+_0x3ccfb0(0x1ff)),PerformanceTester[_0x3ccfb0(0x230)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x2dc6b0){PerformanceTester[_0x3ccfb0(0x230)](EVENTS[_0x3ccfb0(0x1af)],![],_0x2dc6b0['message']),logger[_0x3ccfb0(0x1f3)]('Error\x20in\x20initAccessibilityConfig:\x20'+(_0x2dc6b0['stack']||_0x2dc6b0[_0x3ccfb0(0x2ea)]));}}async['loadAccessibilityConfig'](_0x53bb4c,_0x395e44){const _0x1d169f=a104_0x539fdf;await this['setAccessibilityConfig'](_0x53bb4c,_0x395e44);const _0xbcdb5e=_0x53bb4c['getAccessibility']()['getOptions']();if(_0xbcdb5e){const _0x1f8e16=_0x53bb4c[_0x1d169f(0x31a)]&&_0x53bb4c[_0x1d169f(0x31a)]();_0x1f8e16&&(this[_0x1d169f(0x19d)][this[_0x1d169f(0x141)]]=_0x1f8e16[_0x1d169f(0x1c8)]&&_0x1f8e16[_0x1d169f(0x1c8)]());}}['shouldScanForCommand'](_0x11eb23){const _0x3d7f63=a104_0x539fdf,_0x2aa1ad={};_0x2aa1ad[_0x3d7f63(0x303)]=function(_0x54295f,_0x45f1e1){return _0x54295f===_0x45f1e1;};const _0x532e7c=_0x2aa1ad;try{if(!_0x11eb23)return![];const _0x28e792=this[_0x3d7f63(0x19d)]?.[_0x3d7f63(0x2dd)]?.['commandsToWrap']?.[_0x3d7f63(0x160)]||[],_0x19e3ed=_0x28e792[_0x3d7f63(0x28a)](_0x1bf3b3=>{const _0xe47133=_0x3d7f63;return _0x1bf3b3[_0xe47133(0x296)]&&_0x532e7c[_0xe47133(0x303)](_0x1bf3b3[_0xe47133(0x296)]['toLowerCase'](),_0x11eb23[_0xe47133(0x147)]());});return logger[_0x3d7f63(0x1bb)](_0x3d7f63(0x2d8)+_0x11eb23+_0x3d7f63(0x2f3)+_0x19e3ed+_0x3d7f63(0x1ee)+JSON[_0x3d7f63(0x1ca)](_0x28e792['map'](_0x477750=>_0x477750['name']))),_0x19e3ed;}catch(_0xc0784d){return logger['debug'](_0x3d7f63(0x259)+_0xc0784d[_0x3d7f63(0x2ea)]),![];}}[a104_0x539fdf(0x155)](_0xafa292){const _0x13a516=a104_0x539fdf,_0x3b9765={};_0x3b9765[_0x13a516(0x154)]=function(_0x5005a3,_0x5d208d){return _0x5005a3===_0x5d208d;},_0x3b9765[_0x13a516(0x1b6)]=_0x13a516(0x1b4),_0x3b9765[_0x13a516(0x16b)]='browserstack_executor';const _0x184aa4=_0x3b9765,_0x42a6da=_0xafa292[_0x13a516(0x159)]&&_0xafa292[_0x13a516(0x159)]();return _0x42a6da&&_0x184aa4[_0x13a516(0x154)](typeof _0x42a6da,_0x184aa4['WxVJy'])&&_0x42a6da[_0x13a516(0x311)](_0x184aa4[_0x13a516(0x16b)]);}[a104_0x539fdf(0x132)](_0x1a2ac4){const _0x53718c=a104_0x539fdf,_0x2d8603={};_0x2d8603['VlMEl']=function(_0x356da7,_0x2b8364){return _0x356da7!==_0x2b8364;},_0x2d8603['gCJgX']=_0x53718c(0x1b4),_0x2d8603[_0x53718c(0x221)]=_0x53718c(0x246),_0x2d8603[_0x53718c(0x2f7)]=_0x53718c(0x1d3),_0x2d8603[_0x53718c(0x1ba)]=_0x53718c(0x2c0),_0x2d8603[_0x53718c(0x22f)]='saveTestResults';const _0x2c0bd9=_0x2d8603,_0x2b03dd=_0x1a2ac4['getScript']&&_0x1a2ac4[_0x53718c(0x159)]();if(!_0x2b03dd||_0x2c0bd9['VlMEl'](typeof _0x2b03dd,_0x2c0bd9[_0x53718c(0x30d)]))return![];return _0x2b03dd[_0x53718c(0x311)](_0x2c0bd9[_0x53718c(0x221)])||_0x2b03dd['includes'](_0x2c0bd9[_0x53718c(0x2f7)])||_0x2b03dd[_0x53718c(0x311)](_0x2c0bd9[_0x53718c(0x1ba)])||_0x2b03dd[_0x53718c(0x311)](_0x2c0bd9['PFyzo']);}['isMobileWebSession'](){const _0x2cc679=a104_0x539fdf,_0x3c512f={'FBZMh':function(_0x23f5e3,_0x1efd2b){return _0x23f5e3===_0x1efd2b;},'zQBOB':'function','lldvJ':function(_0x236d17,_0x3483fa){return _0x236d17(_0x3483fa);},'kpGPX':_0x2cc679(0x2f2),'dzLKi':function(_0x5d6fde,_0x28e79a){return _0x5d6fde(_0x28e79a);},'yAhkM':_0x2cc679(0x18d),'vVyGO':function(_0x325530,_0x5e8154){return _0x325530===_0x5e8154;},'KciSL':function(_0x2972d0,_0x1d909e){return _0x2972d0(_0x1d909e);},'AWPVi':_0x2cc679(0x1cb),'sNxOs':'chrome'};try{const _0x2ce6ae=this[_0x2cc679(0x19d)]?.['options']?.[_0x2cc679(0x22a)]||[],_0x455ae1=_0x1c27e1=>{const _0x331c6a=_0x2cc679,_0x54685c=_0x2ce6ae[_0x331c6a(0x294)](_0x1ebd57=>(typeof _0x1ebd57[_0x331c6a(0x19e)]===_0x331c6a(0x2fc)?_0x1ebd57[_0x331c6a(0x19e)]():_0x1ebd57[_0x331c6a(0x296)])===_0x1c27e1);return _0x54685c?_0x3c512f[_0x331c6a(0x17e)](typeof _0x54685c[_0x331c6a(0x2e4)],_0x3c512f[_0x331c6a(0x317)])?_0x54685c[_0x331c6a(0x2e4)]():_0x54685c[_0x331c6a(0x18c)]:null;},_0x213ca9=_0x3c512f[_0x2cc679(0x30a)](_0x455ae1,_0x3c512f['kpGPX']),_0x575d03=_0x3c512f[_0x2cc679(0x2e5)](_0x455ae1,_0x3c512f[_0x2cc679(0x2be)]),_0x1aec4f=global[_0x2cc679(0x173)]||_0x213ca9&&_0x3c512f['vVyGO'](_0x3c512f[_0x2cc679(0x26a)](String,_0x213ca9)[_0x2cc679(0x147)](),_0x3c512f[_0x2cc679(0x1c6)])&&_0x575d03&&_0x3c512f[_0x2cc679(0x26a)](String,_0x575d03)[_0x2cc679(0x147)]()[_0x2cc679(0x311)](_0x3c512f[_0x2cc679(0x272)]);if(!_0x1aec4f)return![];if(!accessibilityHelper[_0x2cc679(0x17f)]())return!this[_0x2cc679(0x133)]&&(logger[_0x2cc679(0x247)](accessibilityHelper[_0x2cc679(0x2f0)]),this[_0x2cc679(0x133)]=!![]),![];return!![];}catch(_0x28f634){return logger[_0x2cc679(0x1bb)](_0x2cc679(0x28c)+_0x28f634[_0x2cc679(0x2ea)]),![];}}[a104_0x539fdf(0x2d7)](_0xe58cf8,_0x2c9d33,_0x4952b1,_0x3997df){const _0x3cb06c=a104_0x539fdf,_0x1f8ab6={};_0x1f8ab6[_0x3cb06c(0x2e9)]=function(_0x3c02b1,_0x1e97f1){return _0x3c02b1||_0x1e97f1;},_0x1f8ab6[_0x3cb06c(0x224)]=function(_0x456cbb,_0x198cb6){return _0x456cbb&&_0x198cb6;},_0x1f8ab6[_0x3cb06c(0x2c7)]=function(_0x337b1c,_0x2ae9bc){return _0x337b1c||_0x2ae9bc;},_0x1f8ab6[_0x3cb06c(0x1db)]=function(_0x337262,_0x3b2025){return _0x337262||_0x3b2025;},_0x1f8ab6['IWoxy']=_0x3cb06c(0x204);const _0x420b6c=_0x1f8ab6;let _0x20de89=_0x420b6c['QykEW'](_0x2c9d33,'');const _0x7f124b=!this[_0x3cb06c(0x1b1)]&&this[_0x3cb06c(0x26c)]();_0x420b6c[_0x3cb06c(0x224)](_0x7f124b,!_0x20de89)&&(_0x20de89=accessibilityHelper[_0x3cb06c(0x220)]());const _0x5b621d={'command':_0xe58cf8,'thTestRunUuid':_0x20de89,'thBuildUuid':_0x420b6c[_0x3cb06c(0x2c7)](_0x4952b1,''),'thJwtToken':_0x420b6c['OONcs'](_0x3997df,''),'timestamp':new Date()[_0x3cb06c(0x310)]()};return _0x7f124b&&(_0x5b621d['is_mobile_session']=!![],logger['debug'](_0x420b6c[_0x3cb06c(0x140)])),_0x5b621d;}[a104_0x539fdf(0x2bc)](_0x3b55c7){const _0xca0f89=a104_0x539fdf,_0xfd3223={};_0xfd3223['qESQT']=function(_0x377583,_0x4acec9){return _0x377583||_0x4acec9;};const _0x58c277=_0xfd3223;try{const _0x291368=this[_0xca0f89(0x19d)]?.[_0xca0f89(0x2dd)]?.[_0xca0f89(0x14c)]||[],_0xacadbe=_0x291368['find'](_0x320231=>_0x320231[_0xca0f89(0x296)]===_0x3b55c7);return _0x58c277['qESQT'](_0xacadbe,null);}catch(_0x2c630d){return logger[_0xca0f89(0x1bb)](_0xca0f89(0x1e4)+_0x3b55c7+':\x20'+_0x2c630d['message']),null;}}async['executeScriptByName'](_0x33aa6f,_0x1244bc,_0x135ef1=null){const _0x3e6487=a104_0x539fdf,_0x5e4a78={'Ticwu':function(_0x11cfc5,_0x9b05ae){return _0x11cfc5(_0x9b05ae);},'kWzSH':_0x3e6487(0x197)};try{if(!_0x33aa6f)return logger['debug']('executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20'+_0x1244bc),null;const _0x2ce392=this[_0x3e6487(0x2bc)](_0x1244bc);if(!_0x2ce392||!_0x2ce392['command'])return logger[_0x3e6487(0x1bb)](_0x3e6487(0x16e)+_0x1244bc+'\x20script\x20available'),null;logger[_0x3e6487(0x1bb)]('Executing\x20'+_0x1244bc+_0x3e6487(0x213));const _0x3f052b=_0x5e4a78[_0x3e6487(0x2b7)](require,_0x5e4a78[_0x3e6487(0x22b)]),_0x5c50d0=_0x135ef1?await _0x3f052b[_0x3e6487(0x276)](_0x33aa6f,_0x2ce392[_0x3e6487(0x2a1)],_0x135ef1):await _0x3f052b[_0x3e6487(0x276)](_0x33aa6f,_0x2ce392[_0x3e6487(0x2a1)]);return _0x5c50d0;}catch(_0x126074){return logger['error'](_0x3e6487(0x19a)+_0x1244bc+':\x20'+(_0x126074[_0x3e6487(0x308)]||_0x126074['message'])),null;}}async[a104_0x539fdf(0x23a)](_0x5dc96c,_0x4659d2,_0x1af765,_0x532429,_0x1042f7,_0x27fe87=a104_0x539fdf(0x2cd)){const _0x4a45c5=a104_0x539fdf,_0x48956f={'JbFok':function(_0x291b67,_0x4e3f9){return _0x291b67===_0x4e3f9;},'dDPNT':_0x4a45c5(0x2cd),'eSWte':function(_0x218a53,_0x12041d){return _0x218a53(_0x12041d);},'xWLtp':'../../playwright/accessibility-helper','WnEGc':function(_0x304878,_0x1c086d){return _0x304878(_0x1c086d);}};try{logger['debug'](_0x4a45c5(0x329)+_0x1af765+'\x20using\x20script:\x20'+_0x27fe87);const _0x32b072=this[_0x4a45c5(0x2bc)](_0x27fe87);if(!_0x32b072||!_0x32b072[_0x4a45c5(0x2a1)]){logger[_0x4a45c5(0x1bb)](_0x4a45c5(0x1a3)+_0x27fe87+'\x20script\x20available\x20in\x20scriptsList');return;}if(_0x48956f[_0x4a45c5(0x2ac)](_0x27fe87,_0x48956f['dDPNT'])){const _0x499784=_0x48956f[_0x4a45c5(0x142)](require,_0x48956f['xWLtp']),_0x22f7a2={};_0x22f7a2['command']=_0x1af765;const _0x748bb9=await PerformanceTester[_0x4a45c5(0x1f1)](PerformanceA11yEvents[_0x4a45c5(0x215)],async()=>{const _0x4ac2a7=_0x4a45c5;return await _0x499784['browserStackEvaluate'](_0x5dc96c,_0x32b072[_0x4ac2a7(0x2a1)],_0x532429);},_0x22f7a2)();return logger[_0x4a45c5(0x1aa)](_0x4a45c5(0x271)+_0x27fe87+_0x4a45c5(0x18b)+_0x1af765+':\x20'+util[_0x4a45c5(0x24c)](_0x748bb9)),_0x748bb9;}const _0x543e2d=_0x48956f[_0x4a45c5(0x19f)](require,_0x48956f[_0x4a45c5(0x2a4)]),_0x160ead=await PerformanceTester[_0x4a45c5(0x1f1)](PerformanceA11yEvents[_0x4a45c5(0x26d)],async()=>{const _0x47374c=_0x4a45c5;return await _0x543e2d[_0x47374c(0x276)](_0x5dc96c,_0x32b072[_0x47374c(0x2a1)],_0x532429);})();return logger[_0x4a45c5(0x1aa)](_0x4a45c5(0x271)+_0x27fe87+'\x20result\x20for\x20'+_0x1af765+':\x20'+util[_0x4a45c5(0x24c)](_0x160ead)),_0x160ead;}catch(_0x2edfe3){logger[_0x4a45c5(0x1f3)]('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0x27fe87+':\x20'+(_0x2edfe3[_0x4a45c5(0x308)]||_0x2edfe3[_0x4a45c5(0x2ea)]));}}async[a104_0x539fdf(0x2b1)](_0x352e55){const _0x7ba9f8=a104_0x539fdf,_0x5b42b4={'dFXLI':function(_0x1f23d1,_0x757a01){return _0x1f23d1(_0x757a01);},'dGYkT':_0x7ba9f8(0x2c6)};try{const _0x4ff310=_0x5b42b4[_0x7ba9f8(0x305)](require,_0x5b42b4[_0x7ba9f8(0x288)]);return await _0x4ff310['platformValidation'](_0x352e55);}catch(_0x1517c2){return logger[_0x7ba9f8(0x1f3)]('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x1517c2[_0x7ba9f8(0x308)]||_0x1517c2[_0x7ba9f8(0x2ea)])),![];}}[a104_0x539fdf(0x19c)](_0x3e361c,_0x58a135,_0x2c1d2d){const _0x10c5d7=a104_0x539fdf,_0x5e18e8={'UzJLL':function(_0x16b217,_0x1db7f9){return _0x16b217(_0x1db7f9);},'WJABI':_0x10c5d7(0x197),'tmAaH':_0x10c5d7(0x1e7),'OMxdQ':'\x22browserstack.key\x22:\x22[REDACTED]\x22'};try{const _0x39440d=_0x5e18e8['UzJLL'](require,_0x5e18e8[_0x10c5d7(0x24e)]);_0x39440d[_0x10c5d7(0x19c)](_0x3e361c,_0x58a135,_0x2c1d2d);const _0x4d2f01=JSON[_0x10c5d7(0x1ca)](_0x3e361c)[_0x10c5d7(0x273)](/"browserstack\.user":"[^"]*"/g,_0x5e18e8[_0x10c5d7(0x2ce)])[_0x10c5d7(0x273)](/"browserstack\.key":"[^"]*"/g,_0x5e18e8[_0x10c5d7(0x2e7)]);logger[_0x10c5d7(0x1bb)](_0x10c5d7(0x25f)+global['accessibilityPlatform']+'\x20'+_0x4d2f01);}catch(_0x33069c){logger[_0x10c5d7(0x1f3)](_0x10c5d7(0x290)+(_0x33069c[_0x10c5d7(0x308)]||_0x33069c['message']));}}async[a104_0x539fdf(0x198)](_0x49813a){const _0x4522be=a104_0x539fdf,_0x1a6d56={};_0x1a6d56[_0x4522be(0x2a3)]=_0x4522be(0x206),_0x1a6d56['wjivX']=function(_0x447d21,_0x451c8a){return _0x447d21>_0x451c8a;},_0x1a6d56[_0x4522be(0x2a7)]=function(_0x482d66,_0x3bb9c2){return _0x482d66>_0x3bb9c2;},_0x1a6d56['cBSKn']=_0x4522be(0x2c0);const _0x28b9c9=_0x1a6d56;try{if(!this[_0x4522be(0x255)]())return logger[_0x4522be(0x247)](_0x28b9c9[_0x4522be(0x2a3)]),[];const _0xfd09be=this[_0x4522be(0x26c)]()?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x4522be(0x220)]()}:{};_0x28b9c9[_0x4522be(0x22c)](Object[_0x4522be(0x289)](_0xfd09be)[_0x4522be(0x2b6)],0x0)&&logger[_0x4522be(0x1bb)]('getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20'+JSON['stringify'](_0xfd09be));const _0x4ebf64=_0x28b9c9[_0x4522be(0x2a7)](Object[_0x4522be(0x289)](_0xfd09be)['length'],0x0)?await this[_0x4522be(0x1fe)](_0x49813a,_0x28b9c9[_0x4522be(0x312)],_0xfd09be):await this[_0x4522be(0x1fe)](_0x49813a,_0x28b9c9[_0x4522be(0x312)]);return _0x4ebf64||[];}catch(_0x484bc6){return logger['error'](_0x4522be(0x30f)+(_0x484bc6[_0x4522be(0x308)]||_0x484bc6[_0x4522be(0x2ea)])),[];}}async['getAccessibilityResultsSummary'](_0x3d4c2a){const _0x41e8ec=a104_0x539fdf,_0x57075a={'CgfTH':_0x41e8ec(0x2cd),'wbTVY':_0x41e8ec(0x307),'RsTEq':'Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','LjekV':function(_0x2ee969,_0x208ce2){return _0x2ee969(_0x208ce2);},'TSMZr':_0x41e8ec(0x2b9),'wfWav':function(_0xc07523,_0x491438){return _0xc07523===_0x491438;},'wpKsP':'jest','HUhXD':_0x41e8ec(0x2b4),'zzSkE':'accessibility','klCnI':_0x41e8ec(0x205),'gaHWe':_0x41e8ec(0x212),'XYsvW':_0x41e8ec(0x1f0),'XaPBD':_0x41e8ec(0x1fd),'cTPGx':_0x41e8ec(0x15d)};try{if(!this[_0x41e8ec(0x255)]())return logger['warn'](_0x57075a[_0x41e8ec(0x2c5)]),{};const _0x2e8724=_0x57075a[_0x41e8ec(0x29d)](require,_0x57075a[_0x41e8ec(0x21a)]),_0x2a4d90=_0x2e8724[_0x41e8ec(0x183)](),_0x5b2911=_0x57075a[_0x41e8ec(0x29b)](_0x2a4d90?.[_0x41e8ec(0x296)]?.[_0x41e8ec(0x147)](),_0x57075a[_0x41e8ec(0x2c2)]);let _0x440e71='',_0x50f81c=null,_0x408fb4=null;if(_0x5b2911){_0x50f81c=global['__jestCurrentTestIdentifier']||global[_0x41e8ec(0x29a)]?.[_0x41e8ec(0x27e)]?.[_0x41e8ec(0x250)]||global[_0x41e8ec(0x29a)]?.[_0x41e8ec(0x27e)]?.['id'];if(!_0x50f81c)return logger[_0x41e8ec(0x247)](_0x57075a['HUhXD']),{};try{const _0x2f47c2=await GrpcClient[_0x41e8ec(0x1ae)]()['fetchDriverExecuteParamsEvent'](process[_0x41e8ec(0x2bf)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x57075a['zzSkE'],_0x57075a['wbTVY'],_0x50f81c),_0x20c742=AccessibilityModule[_0x41e8ec(0x13a)](null,_0x2f47c2);_0x440e71=_0x20c742?.['thTestRunUuid']||'',logger[_0x41e8ec(0x1bb)](_0x41e8ec(0x267)+_0x440e71+_0x41e8ec(0x138)+_0x50f81c);const _0x1aeeea=await AccessibilityModule[_0x41e8ec(0x143)](_0x57075a[_0x41e8ec(0x184)],_0x440e71,_0x50f81c),_0x483b49=this[_0x41e8ec(0x156)](_0x57075a['klCnI'])||this[_0x41e8ec(0x19d)][this[_0x41e8ec(0x141)]]||null,_0x4fc5a2=process[_0x41e8ec(0x2bf)][_0x41e8ec(0x207)]||'',_0x101ad0=this[_0x41e8ec(0x2d7)](_0x57075a[_0x41e8ec(0x25d)],_0x440e71,_0x483b49,_0x4fc5a2);_0x408fb4=_0x2e8724[_0x41e8ec(0x222)](_0x101ad0,_0x1aeeea),logger[_0x41e8ec(0x1bb)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs='+JSON[_0x41e8ec(0x1ca)](_0x408fb4));}catch(_0x705163){return logger['error']('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x705163['message']),{};}}else{_0x440e71=this[_0x41e8ec(0x156)](_0x57075a[_0x41e8ec(0x15c)])||'';!_0x440e71&&this[_0x41e8ec(0x26c)]()&&(_0x440e71=accessibilityHelper['resolveMobileThTestRunUuid']());const _0x152c3a=this[_0x41e8ec(0x156)](_0x57075a[_0x41e8ec(0x18e)])||this[_0x41e8ec(0x19d)][this[_0x41e8ec(0x141)]]||null,_0x15fb52=process[_0x41e8ec(0x2bf)]['BROWSERSTACK_TESTHUB_JWT']||'';_0x408fb4=this[_0x41e8ec(0x2d7)](_0x57075a['gaHWe'],_0x440e71,_0x152c3a,_0x15fb52);}logger[_0x41e8ec(0x1bb)](_0x57075a[_0x41e8ec(0x135)]),await PerformanceTester[_0x41e8ec(0x1f1)](PerformanceA11yEvents[_0x41e8ec(0x215)],async()=>{const _0x6492=_0x41e8ec,_0x2fd8fe=await this[_0x6492(0x1fe)](_0x3d4c2a,_0x57075a[_0x6492(0x16a)],_0x408fb4);logger['debug'](_0x6492(0x214)+util[_0x6492(0x24c)](_0x2fd8fe));},{'command':_0x57075a[_0x41e8ec(0x25d)]})();const _0x27886c=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x3faef3=_0x41e8ec;return await this[_0x3faef3(0x1fe)](_0x3d4c2a,_0x57075a['wbTVY'],_0x408fb4);})();if(!_0x27886c)return logger[_0x41e8ec(0x1bb)](_0x57075a[_0x41e8ec(0x210)]),{};return _0x27886c;}catch(_0x1c2f68){return logger[_0x41e8ec(0x1f3)](_0x41e8ec(0x1ce)+(_0x1c2f68[_0x41e8ec(0x308)]||_0x1c2f68[_0x41e8ec(0x2ea)])),{};}}async['performPageScan'](_0x10bdf6,_0x39bd3d,_0x2fa43d=null){const _0x5191a8=a104_0x539fdf,_0x231493={};_0x231493[_0x5191a8(0x23c)]='performPageScan:\x20Page\x20is\x20null',_0x231493[_0x5191a8(0x228)]=_0x5191a8(0x13d),_0x231493[_0x5191a8(0x295)]=_0x5191a8(0x1df);const _0x27793e=_0x231493;try{if(!_0x10bdf6)return logger[_0x5191a8(0x1bb)](_0x27793e['YZhnN']),null;if(!_0x39bd3d)return logger[_0x5191a8(0x1bb)](_0x27793e[_0x5191a8(0x228)]),null;logger[_0x5191a8(0x1bb)](_0x27793e[_0x5191a8(0x295)]);const _0x1cc590=_0x2fa43d?await _0x10bdf6[_0x5191a8(0x321)](_0x39bd3d,_0x2fa43d):await _0x10bdf6[_0x5191a8(0x321)](_0x39bd3d);return _0x1cc590;}catch(_0x317dfe){return logger[_0x5191a8(0x1f3)](_0x5191a8(0x217)+(_0x317dfe[_0x5191a8(0x308)]||_0x317dfe[_0x5191a8(0x2ea)])),null;}}static[a104_0x539fdf(0x13a)](_0x33f4b0,_0x3d09df){const _0x3ce5dc=a104_0x539fdf,_0x1f8359={};_0x1f8359[_0x3ce5dc(0x167)]=_0x3ce5dc(0x244);const _0xe58337=_0x1f8359,_0x304282={};_0x304282[_0x3ce5dc(0x2cf)]=_0x33f4b0;const _0x26e1a7=_0x304282;let _0x474812={};if(_0x3d09df[_0x3ce5dc(0x163)]()&&_0x3d09df['hasAccessibilityExecuteParams']())try{_0x474812=JSON['parse'](new Buffer(_0x3d09df[_0x3ce5dc(0x158)]())[_0x3ce5dc(0x191)](_0xe58337[_0x3ce5dc(0x167)]));}catch(_0x16b687){logger[_0x3ce5dc(0x1f3)](_0x3ce5dc(0x149)+_0x16b687[_0x3ce5dc(0x2ea)]),_0x474812={};}return CLIUtils['mergeObject'](_0x26e1a7,_0x474812);}static async[a104_0x539fdf(0x143)](_0x270eeb,_0x4e48ce='',_0x15b1ae=null){const _0xb6eb29=a104_0x539fdf,_0x10acfb={};_0x10acfb[_0xb6eb29(0x13b)]='fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available',_0x10acfb[_0xb6eb29(0x277)]=_0xb6eb29(0x246);const _0x3776e7=_0x10acfb;try{if(!_0x15b1ae&&AccessibilityModule[_0xb6eb29(0x20f)])return AccessibilityModule[_0xb6eb29(0x232)];if(!process[_0xb6eb29(0x2bf)]['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger['error'](_0x3776e7[_0xb6eb29(0x13b)]),{};const _0x1305c5=await GrpcClient['getInstance']()[_0xb6eb29(0x1ad)](process[_0xb6eb29(0x2bf)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x3776e7[_0xb6eb29(0x277)],_0x270eeb,_0x15b1ae),_0x371f7a=_0x15b1ae?AccessibilityModule[_0xb6eb29(0x13a)](null,_0x1305c5)?.['thTestRunUuid']||_0x4e48ce:_0x4e48ce,_0x27e3d2=AccessibilityModule['loadDriverExecuteParams'](_0x371f7a,_0x1305c5);return!_0x15b1ae&&(AccessibilityModule[_0xb6eb29(0x232)]=_0x27e3d2,AccessibilityModule[_0xb6eb29(0x20f)]=!![]),_0x27e3d2;}catch(_0x406309){return logger[_0xb6eb29(0x1f3)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x270eeb+':\x20'+(_0x406309['stack']||_0x406309[_0xb6eb29(0x2ea)])),{};}}};module[a104_0x539fdf(0x274)]=AccessibilityModule;
|
|
1
|
+
const a104_0x5c7aa4=a104_0x5668;(function(_0x5878c4,_0x1c80d7){const _0x37cd45=a104_0x5668,_0x2c108c=_0x5878c4();while(!![]){try{const _0x4af735=parseInt(_0x37cd45(0x380))/0x1*(parseInt(_0x37cd45(0x2ac))/0x2)+-parseInt(_0x37cd45(0x375))/0x3+-parseInt(_0x37cd45(0x202))/0x4*(-parseInt(_0x37cd45(0x1c4))/0x5)+parseInt(_0x37cd45(0x262))/0x6*(-parseInt(_0x37cd45(0x303))/0x7)+-parseInt(_0x37cd45(0x28f))/0x8+parseInt(_0x37cd45(0x28e))/0x9+-parseInt(_0x37cd45(0x1c6))/0xa*(-parseInt(_0x37cd45(0x333))/0xb);if(_0x4af735===_0x1c80d7)break;else _0x2c108c['push'](_0x2c108c['shift']());}catch(_0x316b3c){_0x2c108c['push'](_0x2c108c['shift']());}}}(a104_0x1231,0xd3d5d));const BaseModule=require(a104_0x5c7aa4(0x35c)),{createClassLogger}=require(a104_0x5c7aa4(0x21d)),CLIUtils=require(a104_0x5c7aa4(0x28d)),AutomationFramework=require(a104_0x5c7aa4(0x367)),TestFramework=require(a104_0x5c7aa4(0x27b)),AutomationFrameworkState=require(a104_0x5c7aa4(0x2d4)),HookState=require(a104_0x5c7aa4(0x1f4)),GrpcClient=require(a104_0x5c7aa4(0x2b7)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a104_0x5c7aa4(0x332)),PerformanceTester=require(a104_0x5c7aa4(0x1da)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('../../../helpers/accessibility-automation/constants'),{nestedKeyValue,isUndefined}=require('../../../helpers/helper'),util=require('util'),TestInfo=require(a104_0x5c7aa4(0x389)),TestFrameworkConstants=require(a104_0x5c7aa4(0x274)),accessibilityHelper=require(a104_0x5c7aa4(0x1d7));function a104_0x5668(_0x458860,_0x3cc2da){const _0x123124=a104_0x1231();return a104_0x5668=function(_0x5668f1,_0x39e905){_0x5668f1=_0x5668f1-0x1b7;let _0x4f2848=_0x123124[_0x5668f1];return _0x4f2848;},a104_0x5668(_0x458860,_0x3cc2da);}class AccessibilityModule extends BaseModule{static [a104_0x5c7aa4(0x2a3)]=AccessibilityModule[a104_0x5c7aa4(0x388)];static [a104_0x5c7aa4(0x345)]=![];static ['_centralAuthA11yConfig']={};constructor(_0x1d018f){const _0x5eeabf=a104_0x5c7aa4,_0x8bc016={};_0x8bc016[_0x5eeabf(0x222)]='9|16|5|15|14|13|4|1|2|3|7|8|6|0|11|12|10',_0x8bc016[_0x5eeabf(0x1ce)]='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x8bc016['PUgVB']='testhub_build_uuid',_0x8bc016[_0x5eeabf(0x2bb)]=_0x5eeabf(0x322),_0x8bc016[_0x5eeabf(0x37e)]=_0x5eeabf(0x2ea);const _0x317da7=_0x8bc016,_0x4f116c=_0x317da7[_0x5eeabf(0x222)]['split']('|');let _0x500ab9=0x0;while(!![]){switch(_0x4f116c[_0x500ab9++]){case'0':logger[_0x5eeabf(0x1e6)](_0x317da7[_0x5eeabf(0x1ce)]);continue;case'1':this[_0x5eeabf(0x2e2)]=new Map();continue;case'2':this[_0x5eeabf(0x37a)]=![];continue;case'3':this[_0x5eeabf(0x21f)]=[];continue;case'4':this[_0x5eeabf(0x1fb)]=new Map();continue;case'5':AutomationFramework[_0x5eeabf(0x1f0)](AutomationFrameworkState[_0x5eeabf(0x2d7)],HookState[_0x5eeabf(0x1e4)],this[_0x5eeabf(0x249)][_0x5eeabf(0x32a)](this));continue;case'6':this[_0x5eeabf(0x2cc)](_0x1d018f[_0x5eeabf(0x23c)]()['getCapabilitiesList']());continue;case'7':this[_0x5eeabf(0x37c)]=![];continue;case'8':this[_0x5eeabf(0x23d)]=![];continue;case'9':super();continue;case'10':this[_0x5eeabf(0x281)]=_0x317da7[_0x5eeabf(0x1c8)];continue;case'11':this[_0x5eeabf(0x324)]=_0x317da7[_0x5eeabf(0x2bb)];continue;case'12':this[_0x5eeabf(0x255)]=_0x317da7[_0x5eeabf(0x37e)];continue;case'13':this[_0x5eeabf(0x27e)]=_0x1d018f['toObject']();continue;case'14':this[_0x5eeabf(0x2f7)]=!![];continue;case'15':AutomationFramework[_0x5eeabf(0x1f0)](AutomationFrameworkState[_0x5eeabf(0x3a3)],HookState['PRE'],this[_0x5eeabf(0x301)][_0x5eeabf(0x32a)](this));continue;case'16':AutomationFramework[_0x5eeabf(0x1f0)](AutomationFrameworkState[_0x5eeabf(0x1e1)],HookState['PRE'],this[_0x5eeabf(0x2a6)][_0x5eeabf(0x32a)](this));continue;}break;}}[a104_0x5c7aa4(0x2f7)](){return this['isEnabled'];}[a104_0x5c7aa4(0x1e7)](){const _0x1eda73=a104_0x5c7aa4;return AccessibilityModule[_0x1eda73(0x2a3)];}['getCurrentAccessibilityStatus'](){const _0x43e911=a104_0x5c7aa4;return this[_0x43e911(0x1fb)][_0x43e911(0x28b)](CLIUtils[_0x43e911(0x374)](),![]);}[a104_0x5c7aa4(0x236)](){const _0x387fe4=a104_0x5c7aa4;return this[_0x387fe4(0x2e2)][_0x387fe4(0x28b)](CLIUtils[_0x387fe4(0x374)](),![]);}[a104_0x5c7aa4(0x30b)](_0x463a88){const _0x48d559=a104_0x5c7aa4;this[_0x48d559(0x2e2)]['set'](CLIUtils['getCurrentInstanceName'](),_0x463a88);}['applySendMessageToServerPatch'](){const _0x1ba2b8=a104_0x5c7aa4,_0x5dc6d5={'lYswG':'sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','gBGkb':function(_0x2fbb1c,_0x5eda2a){return _0x2fbb1c(_0x5eda2a);},'MGNqq':'../../utils/playwright-patcher','EVbvd':_0x1ba2b8(0x22a),'Yvott':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this['_sendMessageServerPatchApplied']){logger[_0x1ba2b8(0x1e6)](_0x5dc6d5['lYswG']);return;}try{const _0x328405=_0x5dc6d5[_0x1ba2b8(0x2aa)](require,_0x5dc6d5[_0x1ba2b8(0x36e)]);_0x328405&&_0x328405['patchSendMessageToServer']?(_0x328405['patchSendMessageToServer'](),this[_0x1ba2b8(0x37c)]=!![],logger[_0x1ba2b8(0x1e6)](_0x5dc6d5[_0x1ba2b8(0x2b8)])):logger[_0x1ba2b8(0x1e6)](_0x5dc6d5['Yvott']);}catch(_0x293595){logger[_0x1ba2b8(0x1e6)](_0x1ba2b8(0x38b)+util[_0x1ba2b8(0x28c)](_0x293595));}}['isPlatformSupported'](_0x2068f4=null,_0x3edbdd=null,_0x3aaaa4=null){const _0x17f260=a104_0x5c7aa4,_0x372ca0={'ACbYl':function(_0x5397f7,_0x49ef57){return _0x5397f7&&_0x49ef57;},'UXeMo':_0x17f260(0x277),'JlCky':function(_0x2c50db,_0x40a6d3){return _0x2c50db(_0x40a6d3);},'dMYiR':_0x17f260(0x1bf),'CUdEd':_0x17f260(0x35a),'ZZzve':_0x17f260(0x1ba),'PHAtS':function(_0x18e15b,_0x6c0701){return _0x18e15b===_0x6c0701;},'DRbAm':function(_0x29f32a,_0x579731){return _0x29f32a===_0x579731;},'zIOaT':_0x17f260(0x2d6),'Aunhl':'string','qCubL':function(_0x5a2da8,_0x7f979e){return _0x5a2da8===_0x7f979e;},'WWKCU':_0x17f260(0x1c2),'ChDiZ':'goog:chromeOptions','XQnSB':function(_0x25273a,_0x5b0e32){return _0x25273a!==_0x5b0e32;},'tGqkr':_0x17f260(0x2f9),'GiVhB':function(_0x3bb99e){return _0x3bb99e();},'zvJDT':_0x17f260(0x240),'gixjE':function(_0xcfb4a6,_0x22aaff){return _0xcfb4a6-_0x22aaff;},'UdIck':function(_0x303f75,_0x11ca7b){return _0x303f75!==_0x11ca7b;},'xIove':function(_0x82f949,_0x4055b7){return _0x82f949>_0x4055b7;},'cQhEz':function(_0x5ad9f4,_0x4a61c6){return _0x5ad9f4(_0x4a61c6);},'sdZHi':_0x17f260(0x251)};try{if(_0x372ca0['ACbYl'](!_0x3edbdd,!_0x3aaaa4))return logger[_0x17f260(0x1e6)](_0x372ca0['UXeMo']),![];const {isUndefined:_0x48a03e,isBrowserstackInfra:_0x59bf56}=_0x372ca0[_0x17f260(0x2b3)](require,_0x372ca0['dMYiR']);if(!accessibilityHelper[_0x17f260(0x1ef)]())return logger[_0x17f260(0x1e6)](_0x372ca0[_0x17f260(0x2f3)]),![];const _0x3b97f7=_0x3edbdd[_0x17f260(0x1fa)]||_0x3edbdd[_0x17f260(0x228)],_0x323a7d=_0x3edbdd[_0x17f260(0x29c)]||_0x3edbdd[_0x17f260(0x2dc)];if(!accessibilityHelper[_0x17f260(0x3a8)](_0x3b97f7))return logger[_0x17f260(0x220)](_0x372ca0[_0x17f260(0x362)]),![];if(accessibilityHelper[_0x17f260(0x337)](_0x3b97f7))try{const _0x2933bd=_0x3edbdd[_0x17f260(0x343)],_0x381135=_0x372ca0[_0x17f260(0x2eb)](_0x2933bd,!![])||_0x372ca0[_0x17f260(0x2a1)](_0x2933bd,_0x372ca0[_0x17f260(0x358)])||_0x372ca0[_0x17f260(0x2eb)](typeof _0x2933bd,_0x372ca0[_0x17f260(0x2e7)])&&_0x372ca0[_0x17f260(0x2ce)](_0x2933bd[_0x17f260(0x213)](),_0x372ca0[_0x17f260(0x358)]);if(_0x381135)return logger[_0x17f260(0x220)](_0x372ca0[_0x17f260(0x27a)]),![];const _0x19d533=_0x3edbdd?.[_0x17f260(0x309)]?.['args']||_0x3edbdd?.[_0x372ca0[_0x17f260(0x24a)]]?.[_0x17f260(0x353)]||[];if(Array[_0x17f260(0x242)](_0x19d533)&&_0x19d533[_0x17f260(0x224)](_0x49a135=>typeof _0x49a135==='string'&&(_0x49a135===_0x17f260(0x355)||_0x49a135[_0x17f260(0x340)](_0x17f260(0x300))&&_0x49a135!==_0x17f260(0x279))))return logger[_0x17f260(0x220)](_0x372ca0[_0x17f260(0x27a)]),![];}catch(_0x1e7e4d){logger[_0x17f260(0x1e6)]('Error\x20checking\x20headless\x20capability:\x20'+util[_0x17f260(0x28c)](_0x1e7e4d));}if(_0x372ca0['XQnSB'](_0x323a7d,_0x372ca0[_0x17f260(0x21b)])){const _0x505f74=_0x372ca0[_0x17f260(0x260)](_0x59bf56),_0x12d5b9=accessibilityHelper[_0x17f260(0x36f)](_0x3b97f7,_0x505f74),_0x35ef7e=accessibilityHelper[_0x17f260(0x334)](_0x3b97f7);if(!accessibilityHelper[_0x17f260(0x38d)](_0x323a7d,_0x12d5b9)){const _0x42d515=_0x505f74?'':_0x372ca0['zvJDT'],_0x57d33a=Number[_0x17f260(0x378)](_0x372ca0[_0x17f260(0x2b3)](parseFloat,_0x12d5b9))?_0x372ca0[_0x17f260(0x1e5)](_0x372ca0[_0x17f260(0x2b3)](parseFloat,_0x12d5b9),0x1):_0x12d5b9;return logger[_0x17f260(0x220)](_0x17f260(0x36a)+_0x35ef7e+_0x17f260(0x2ee)+_0x57d33a+'\x20'+_0x42d515+'.'),![];}}else{const _0x5701c1=_0x3edbdd[_0x17f260(0x29c)]||_0x3edbdd[_0x17f260(0x2dc)]||_0x3edbdd[_0x17f260(0x377)];if(_0x5701c1&&_0x372ca0[_0x17f260(0x3a4)](_0x5701c1,_0x372ca0['tGqkr'])&&!_0x372ca0[_0x17f260(0x201)](_0x372ca0[_0x17f260(0x25d)](parseFloat,_0x5701c1),_0x372ca0['JlCky'](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x17f260(0x220)](_0x372ca0[_0x17f260(0x216)]),![];}return!![];}catch(_0x24c4a4){return logger[_0x17f260(0x1e6)](_0x17f260(0x1d2)+_0x24c4a4['message']),![];}}['isEnabledTestcase'](_0x4a1fe8=[],_0x5b0aea,_0x25459a='cucumber'){const _0x18530a=a104_0x5c7aa4,_0x284419={'VhPiZ':function(_0x357c5d,_0x1ad6f9){return _0x357c5d===_0x1ad6f9;},'CMjHY':_0x18530a(0x265),'sGETu':function(_0xb242af,_0x1fd400){return _0xb242af||_0x1fd400;},'GLhvq':function(_0x21a437,_0x25d7e4){return _0x21a437&&_0x25d7e4;},'AnOXZ':_0x18530a(0x1d5),'EPsvj':function(_0x1bfaf7,_0x1a1619){return _0x1bfaf7===_0x1a1619;},'rodoh':function(_0xc01b72,_0x28c54d){return _0xc01b72(_0x28c54d);},'kVnJw':function(_0x5a320c,_0x103e09){return _0x5a320c>_0x103e09;}};try{const _0x56246d=process[_0x18530a(0x1ee)][_0x18530a(0x3a0)]?JSON[_0x18530a(0x319)](process[_0x18530a(0x1ee)][_0x18530a(0x3a0)]):null;if(!_0x56246d)return!![];const _0xdde41c=Array[_0x18530a(0x242)](_0x56246d['includeTagsInTestingScope'])?_0x56246d[_0x18530a(0x25b)]:[],_0x26d9bf=Array[_0x18530a(0x242)](_0x56246d[_0x18530a(0x2ff)])?_0x56246d['excludeTagsInTestingScope']:[];if(_0x284419[_0x18530a(0x387)](_0x25459a,_0x284419[_0x18530a(0x209)])){let _0x5495e2;Array['isArray'](_0x4a1fe8)?_0x5495e2=_0x4a1fe8['join']('\x20'):_0x5495e2=_0x284419[_0x18530a(0x288)](_0x4a1fe8,'');const _0x462345=_0x26d9bf[_0x18530a(0x224)](_0x1a556f=>_0x5495e2['includes'](_0x1a556f)),_0x11489d=_0x284419[_0x18530a(0x387)](_0xdde41c[_0x18530a(0x256)],0x0)||_0xdde41c[_0x18530a(0x224)](_0x122271=>_0x5495e2[_0x18530a(0x21a)](_0x122271)),_0x8bf8e1=_0x284419[_0x18530a(0x26e)](!_0x462345,_0x11489d);return logger[_0x18530a(0x1e6)](_0x18530a(0x366)+(_0x5b0aea?.[_0x18530a(0x23a)]?.()||_0x284419[_0x18530a(0x219)])+_0x18530a(0x365)+_0x8bf8e1+_0x18530a(0x2af)+_0x5495e2+_0x18530a(0x372)+JSON[_0x18530a(0x233)](_0xdde41c)+_0x18530a(0x282)+JSON['stringify'](_0x26d9bf)),_0x8bf8e1;}const _0x315672=Array['isArray'](_0x4a1fe8)?_0x4a1fe8:[];let _0x892273=![],_0x2703e2=_0x284419[_0x18530a(0x325)](_0xdde41c[_0x18530a(0x256)],0x0);const _0x16e216=_0x352478=>typeof _0x352478===_0x18530a(0x1fc)?_0x352478[_0x18530a(0x2f4)](/^@/,'')['toLowerCase']()['trim']():_0x352478,_0x1ad4c3=new Set(_0xdde41c['map'](_0x16e216)),_0x36751a=new Set(_0x26d9bf[_0x18530a(0x363)](_0x16e216));for(const _0x5f24d0 of _0x315672){const _0x5da056=_0x284419[_0x18530a(0x2c5)](_0x16e216,_0x5f24d0);_0x36751a[_0x18530a(0x269)](_0x5da056)&&(_0x892273=!![]),_0x284419[_0x18530a(0x290)](_0x1ad4c3['size'],0x0)&&_0x1ad4c3[_0x18530a(0x269)](_0x5da056)&&(_0x2703e2=!![]);}const _0x214ae1=_0x284419[_0x18530a(0x26e)](_0x2703e2,!_0x892273);return logger[_0x18530a(0x1e6)]('[platform\x20-\x20'+(_0x5b0aea?.[_0x18530a(0x23a)]?.()||_0x284419['AnOXZ'])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x214ae1+_0x18530a(0x3a5)+JSON[_0x18530a(0x233)](_0x315672)+_0x18530a(0x372)+JSON[_0x18530a(0x233)](_0xdde41c)+_0x18530a(0x282)+JSON[_0x18530a(0x233)](_0x26d9bf)),_0x214ae1;}catch(_0x48164f){return logger['debug']('[platform\x20-\x20'+(_0x5b0aea?.[_0x18530a(0x23a)]?.()||_0x284419['AnOXZ'])+_0x18530a(0x244)+_0x48164f['message']),![];}}async['onBeforeTest'](_0x25a569){const _0xda439f=a104_0x5c7aa4,_0x2149d0={};_0x2149d0['mCVyB']=function(_0x1a50b7,_0x9efe7c){return _0x1a50b7!==_0x9efe7c;},_0x2149d0['VEGAB']='cucumber',_0x2149d0[_0xda439f(0x2e6)]=_0xda439f(0x265),_0x2149d0['LMYBh']=function(_0x514f85,_0x177b09){return _0x514f85!==_0x177b09;},_0x2149d0['YYnYP']=_0xda439f(0x278),_0x2149d0[_0xda439f(0x320)]=function(_0x490454,_0x5db6ee){return _0x490454===_0x5db6ee;},_0x2149d0[_0xda439f(0x2f8)]=_0xda439f(0x2d6),_0x2149d0['snBDL']='TEST_INIT',_0x2149d0[_0xda439f(0x2f2)]=_0xda439f(0x351),_0x2149d0[_0xda439f(0x34b)]='onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation',_0x2149d0[_0xda439f(0x2e1)]=_0xda439f(0x286),_0x2149d0['kILIs']='onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true',_0x2149d0[_0xda439f(0x364)]=_0xda439f(0x27d),_0x2149d0[_0xda439f(0x218)]=function(_0x193ba3,_0x35a38d){return _0x193ba3>_0x35a38d;},_0x2149d0[_0xda439f(0x296)]='function',_0x2149d0[_0xda439f(0x3a6)]=_0xda439f(0x22d),_0x2149d0[_0xda439f(0x23b)]=function(_0x3ea13c,_0x5ae7ee){return _0x3ea13c&&_0x5ae7ee;},_0x2149d0[_0xda439f(0x2dd)]=_0xda439f(0x1d5);const _0x2c4cf5=_0x2149d0;if(_0x2c4cf5[_0xda439f(0x1e2)](_0x25a569[_0xda439f(0x2d9)],_0x2c4cf5[_0xda439f(0x226)])&&_0x2c4cf5['mCVyB'](_0x25a569[_0xda439f(0x2d9)],_0x2c4cf5[_0xda439f(0x2e6)])&&_0x2c4cf5[_0xda439f(0x373)](_0x25a569['testFramework'],_0x2c4cf5[_0xda439f(0x1c1)])){logger[_0xda439f(0x1e6)](_0xda439f(0x352)+_0x25a569['testFramework']+')');return;}try{const _0x130a48=AutomationFramework[_0xda439f(0x349)](),_0x4e97fe=TestFramework[_0xda439f(0x349)](),_0x3f4b06=_0x25a569[_0xda439f(0x280)]||global[_0xda439f(0x2d3)]?.[_0xda439f(0x1b9)]||null;if(_0x2c4cf5[_0xda439f(0x320)](_0x25a569[_0xda439f(0x2d9)],_0x2c4cf5['YYnYP'])){const _0x213f50=_0x25a569[_0xda439f(0x1cd)]||_0x130a48&&_0x130a48[_0xda439f(0x229)]&&_0x130a48[_0xda439f(0x229)]()||_0x130a48&&_0x130a48[_0xda439f(0x22f)]&&_0x130a48[_0xda439f(0x22f)]()||{},_0x1abc6c=_0x25a569[_0xda439f(0x215)]||null,_0x55fc1c=this['isPlatformSupported'](_0x130a48,_0x213f50,_0x1abc6c),_0x598fdc=CLIUtils[_0xda439f(0x374)]();this['accessibility'][_0xda439f(0x1bd)](_0x598fdc,_0x55fc1c);global[_0xda439f(0x306)]?.['getContext']&&global[_0xda439f(0x306)][_0xda439f(0x360)]()[_0xda439f(0x37f)](_0x55fc1c);_0x55fc1c?(global[_0xda439f(0x267)]=!![],process[_0xda439f(0x1ee)][_0xda439f(0x276)]=_0x2c4cf5[_0xda439f(0x2f8)]):global[_0xda439f(0x267)]=![];logger['debug']('[AccessibilityModule]\x20onBeforeTest:\x20testcafe\x20path\x20—\x20platformSupported='+_0x55fc1c);return;}if(!_0x3f4b06){_0x4e97fe&&_0x4e97fe[_0xda439f(0x382)](_0x2c4cf5['snBDL'],!![]);logger[_0xda439f(0x1e6)](_0x2c4cf5[_0xda439f(0x2f2)]);return;}logger[_0xda439f(0x1e6)](_0x2c4cf5[_0xda439f(0x34b)]);const _0x26c111=_0x4e97fe?.[_0xda439f(0x234)](_0x2c4cf5[_0xda439f(0x2e1)],![]),_0x2dad0f=_0x4e97fe?.[_0xda439f(0x234)](_0x2c4cf5[_0xda439f(0x263)],![]);if(_0x2c4cf5[_0xda439f(0x320)](_0x26c111,![])&&_0x2c4cf5[_0xda439f(0x320)](_0x2dad0f,![])){_0x4e97fe&&_0x4e97fe[_0xda439f(0x382)](_0x2c4cf5[_0xda439f(0x2e1)],!![]);logger['debug'](_0x2c4cf5[_0xda439f(0x24f)]);return;}_0x4e97fe&&_0x4e97fe['updateData'](_0x2c4cf5[_0xda439f(0x263)],!![]);let _0x349f96,_0x1c222c;const _0x12a965=_0x25a569['testFramework']||_0x2c4cf5[_0xda439f(0x226)];if(_0x2c4cf5[_0xda439f(0x320)](_0x12a965,_0x2c4cf5[_0xda439f(0x2e6)])){_0x1c222c=_0x25a569[_0xda439f(0x24d)]?.[_0xda439f(0x329)]||_0x25a569[_0xda439f(0x24d)]?.['id']||global[_0xda439f(0x2a8)]||global['__workerDetails']?.['currentTest']?.[_0xda439f(0x329)]||global['__workerDetails']?.[_0xda439f(0x385)]?.['id'];const _0x6aeda8=_0x4e97fe?.['getAllData']()?.[_0xda439f(0x28b)](_0x1c222c);if(_0x6aeda8&&_0x6aeda8[TestFrameworkConstants['KEY_TEST_NAME']])_0x349f96=_0x6aeda8[TestFrameworkConstants['KEY_TEST_NAME']];else{if(_0x25a569['testInfo']?.[_0xda439f(0x344)])_0x349f96=_0x25a569[_0xda439f(0x24d)][_0xda439f(0x344)];else global[_0xda439f(0x2d3)]?.[_0xda439f(0x385)]?.[_0xda439f(0x24d)]?.[_0xda439f(0x344)]?_0x349f96=global['__workerDetails'][_0xda439f(0x385)]['testInfo'][_0xda439f(0x344)]:_0x349f96=_0x2c4cf5[_0xda439f(0x364)];}logger[_0xda439f(0x1e6)](_0xda439f(0x2c6)+_0x1c222c+_0xda439f(0x2af)+JSON[_0xda439f(0x233)](_0x349f96));}else{_0x1c222c=this[_0xda439f(0x383)](_0x25a569);const _0x3795e7=TestInfo[_0xda439f(0x258)](_0x1c222c);let _0x8ca338=[];if(_0x3795e7&&Array[_0xda439f(0x242)](_0x3795e7[_0xda439f(0x22d)])&&_0x2c4cf5['SCAXy'](_0x3795e7[_0xda439f(0x22d)][_0xda439f(0x256)],0x0))_0x8ca338=_0x3795e7[_0xda439f(0x22d)];else{if(_0x4e97fe){const _0x22ffa9=_0x2c4cf5[_0xda439f(0x320)](typeof _0x4e97fe[_0xda439f(0x234)],_0x2c4cf5[_0xda439f(0x296)])?_0x4e97fe['getData'](_0x2c4cf5['YTbRA'],[]):_0x4e97fe[_0xda439f(0x22d)]||[];Array[_0xda439f(0x242)](_0x22ffa9)&&(_0x8ca338=_0x22ffa9);}}_0x349f96=_0x8ca338;}logger[_0xda439f(0x399)](_0xda439f(0x2fb)+JSON['stringify'](_0x349f96));const _0x5e3427=this[_0xda439f(0x361)](_0x130a48,_0x25a569[_0xda439f(0x1cd)],_0x25a569[_0xda439f(0x215)]);logger['debug'](_0xda439f(0x35d)+_0x5e3427+_0xda439f(0x1ff)+this[_0xda439f(0x37a)]);const _0x552479=this[_0xda439f(0x20f)](_0x349f96,_0x130a48,_0x12a965),_0x4bc601=_0x2c4cf5[_0xda439f(0x23b)](_0x5e3427,_0x552479),_0x5a47d3=CLIUtils['getCurrentInstanceName']();this[_0xda439f(0x1fb)][_0xda439f(0x1bd)](_0x5a47d3,_0x4bc601),global[_0xda439f(0x306)]?.[_0xda439f(0x360)]&&global['Context'][_0xda439f(0x360)]()[_0xda439f(0x37f)](_0x4bc601),logger[_0xda439f(0x1e6)](_0xda439f(0x366)+(_0x130a48?.['getPlatformIndex']?.()||_0x2c4cf5[_0xda439f(0x2dd)])+_0xda439f(0x350)+_0x4bc601),_0x4bc601?(global['accessibilityPlatform']=!![],process[_0xda439f(0x1ee)][_0xda439f(0x276)]=_0x2c4cf5[_0xda439f(0x2f8)],this[_0xda439f(0x397)]()):global[_0xda439f(0x267)]=![];}catch(_0x45743b){logger[_0xda439f(0x342)](_0xda439f(0x1cf)+(_0x45743b[_0xda439f(0x33e)]||_0x45743b[_0xda439f(0x1eb)]));const _0x342d04=CLIUtils[_0xda439f(0x374)]();this[_0xda439f(0x1fb)]['set'](_0x342d04,![]),global[_0xda439f(0x267)]=![];}}[a104_0x5c7aa4(0x25f)](){const _0x2765a8=a104_0x5c7aa4;return this[_0x2765a8(0x21f)][_0x2765a8(0x2f1)](_0x42a20e=>_0x42a20e[_0x2765a8(0x1ea)]()===_0x2765a8(0x211))?.[_0x2765a8(0x1b8)]()||'';}[a104_0x5c7aa4(0x3a7)](_0x596c0f){const _0x2a0bc3=a104_0x5c7aa4;try{const _0x7afef8=this[_0x2a0bc3(0x27e)]?.['options']?.[_0x2a0bc3(0x2e4)]||[],_0x166706=_0x7afef8['find'](_0x2af4c3=>_0x2af4c3[_0x2a0bc3(0x388)]===_0x596c0f);return _0x166706?_0x166706[_0x2a0bc3(0x1dd)]:null;}catch(_0x120726){return logger[_0x2a0bc3(0x1e6)](_0x2a0bc3(0x253)+_0x596c0f+':\x20'+_0x120726[_0x2a0bc3(0x1eb)]),null;}}async[a104_0x5c7aa4(0x35b)](_0x5512e2,_0x542765){const _0x1831d8=a104_0x5c7aa4,_0x460cad=_0x5512e2[_0x1831d8(0x33f)]()[_0x1831d8(0x23c)](),_0x258d82=_0x460cad[_0x1831d8(0x2e3)](),_0x3310cf=_0x460cad[_0x1831d8(0x200)]()?.[_0x1831d8(0x396)]();scripts[_0x1831d8(0x347)](_0x258d82,_0x3310cf),scripts[_0x1831d8(0x394)]();const _0x1dd027=_0x460cad[_0x1831d8(0x314)]();this[_0x1831d8(0x21f)]=_0x460cad['getCapabilitiesList'](),await this[_0x1831d8(0x2cc)](_0x1dd027,_0x542765[_0x1831d8(0x215)]);}async['setAccessibilityToken'](_0x192300,_0x53801d={}){const _0x34c553=a104_0x5c7aa4,_0x44895d={'mRxEJ':function(_0x1786b2,_0x5ebf96){return _0x1786b2===_0x5ebf96;},'GPzZi':'accessibilityToken','DbUfR':_0x34c553(0x338),'tLRaS':function(_0xfb3ce,_0x45dc0e){return _0xfb3ce(_0x45dc0e);},'NGQZS':_0x34c553(0x1d7),'QbbqM':'../../../helpers/helper','xWTnE':function(_0x290e68,_0x5d58ae){return _0x290e68(_0x5d58ae);},'PYRuz':function(_0x1c655c,_0x145157){return _0x1c655c===_0x145157;},'BWwjH':_0x34c553(0x29d),'fesEY':_0x34c553(0x27f),'nifBH':_0x34c553(0x33a),'YktuH':_0x34c553(0x34c),'dOWAB':_0x34c553(0x1d6),'thkkX':_0x34c553(0x2d8),'mfeJr':_0x34c553(0x227),'ygJdC':function(_0x1820d6,_0x51268b){return _0x1820d6===_0x51268b;},'Ibjew':function(_0x49c52c,_0x222991){return _0x49c52c===_0x222991;},'MWbyj':_0x34c553(0x2d6)};global['__accessibilityOptions']=global[_0x34c553(0x371)]||{};for(const _0x53ff99 of _0x192300){logger[_0x34c553(0x399)](_0x34c553(0x2a9)+_0x53ff99[_0x34c553(0x1ea)]()+'\x20value='+_0x53ff99[_0x34c553(0x1b8)]());if(_0x44895d[_0x34c553(0x2b9)](_0x53ff99[_0x34c553(0x1ea)](),_0x44895d[_0x34c553(0x2cf)])){const _0x4d2d05=_0x53ff99[_0x34c553(0x1b8)]();process[_0x34c553(0x1ee)][_0x34c553(0x271)]=_0x4d2d05,global[_0x34c553(0x371)][_0x44895d[_0x34c553(0x22e)]]=_0x4d2d05;const _0x5ef391=_0x44895d[_0x34c553(0x29b)](require,_0x44895d[_0x34c553(0x20e)]),{isTrue:_0x5adb08}=_0x44895d[_0x34c553(0x29b)](require,_0x44895d[_0x34c553(0x346)]),_0x45545a=_0x5ef391[_0x34c553(0x214)](_0x4d2d05);_0x45545a&&_0x44895d['xWTnE'](_0x5adb08,_0x45545a[_0x34c553(0x30d)])&&(process[_0x34c553(0x1ee)][_0x34c553(0x2c4)]=!![]);}else{if(_0x44895d['PYRuz'](_0x53ff99[_0x34c553(0x1ea)](),_0x44895d[_0x34c553(0x246)]))global[_0x34c553(0x371)][_0x44895d[_0x34c553(0x1e9)]]=_0x53ff99[_0x34c553(0x1b8)]();else{if(_0x44895d[_0x34c553(0x2e8)](_0x53ff99[_0x34c553(0x1ea)](),_0x44895d[_0x34c553(0x268)]))global[_0x34c553(0x371)][_0x44895d[_0x34c553(0x1e0)]]=_0x53ff99[_0x34c553(0x1b8)]();else{if(_0x44895d[_0x34c553(0x2b9)](_0x53ff99['getName'](),_0x44895d['dOWAB']))global[_0x34c553(0x371)][_0x44895d[_0x34c553(0x30a)]]=_0x53ff99[_0x34c553(0x1b8)]();else{if(_0x44895d[_0x34c553(0x2e8)](_0x53ff99[_0x34c553(0x1ea)](),_0x44895d['mfeJr'])){const _0x218ceb=_0x53ff99[_0x34c553(0x1b8)]();process[_0x34c553(0x1ee)][_0x34c553(0x1e8)]=_0x44895d[_0x34c553(0x29b)](String,_0x44895d[_0x34c553(0x393)](_0x218ceb,!![])||_0x44895d['Ibjew'](_0x218ceb,_0x44895d[_0x34c553(0x368)])),logger['debug'](_0x34c553(0x232)+_0x218ceb+_0x34c553(0x299)+process[_0x34c553(0x1ee)][_0x34c553(0x1e8)]);}}}}}}}async['onAfterTest'](_0x5a67ee){const _0x253f28=a104_0x5c7aa4,_0x1ca374={};_0x1ca374[_0x253f28(0x2ae)]=function(_0x24f3e0,_0xe42c45){return _0x24f3e0!==_0xe42c45;},_0x1ca374['lmNyL']=_0x253f28(0x2ba),_0x1ca374[_0x253f28(0x2f6)]=function(_0x54e959,_0x3b65a4){return _0x54e959!==_0x3b65a4;},_0x1ca374['NDMVQ']='jest',_0x1ca374['XIkFY']='testcafe',_0x1ca374['LgZuA']=_0x253f28(0x1d5);const _0x1fe540=_0x1ca374;if(_0x1fe540[_0x253f28(0x2ae)](_0x5a67ee[_0x253f28(0x2d9)],_0x1fe540[_0x253f28(0x3a9)])&&_0x1fe540[_0x253f28(0x2f6)](_0x5a67ee[_0x253f28(0x2d9)],_0x1fe540[_0x253f28(0x22b)])&&_0x1fe540['VWEBn'](_0x5a67ee[_0x253f28(0x2d9)],_0x1fe540['XIkFY'])){logger[_0x253f28(0x1e6)](_0x253f28(0x2fd)+_0x5a67ee[_0x253f28(0x2d9)]+')');return;}const _0x41135c=_0x5a67ee['testInfo']?.[_0x253f28(0x329)]||_0x5a67ee[_0x253f28(0x24d)]?.['id']||global[_0x253f28(0x2a8)];logger[_0x253f28(0x399)](_0x253f28(0x264)+_0x5a67ee['testFramework']+',\x20testIdentifier='+_0x41135c);try{const _0x3f5d42=_0x5a67ee[_0x253f28(0x2df)]||AutomationFramework[_0x253f28(0x349)](),_0x42932c=CLIUtils[_0x253f28(0x374)](),_0x3a4187=this[_0x253f28(0x25c)]();logger[_0x253f28(0x1e6)](_0x253f28(0x366)+(_0x3f5d42?.[_0x253f28(0x23a)]?.()||_0x1fe540[_0x253f28(0x2d2)])+']\x20onAfterTest\x20should\x20scan='+_0x3a4187),_0x3a4187&&await this['stopTestCapture'](_0x3f5d42,_0x5a67ee),this[_0x253f28(0x1fb)][_0x253f28(0x26b)](_0x42932c),this[_0x253f28(0x2e2)][_0x253f28(0x26b)](_0x42932c);}catch(_0x1b5783){logger[_0x253f28(0x342)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x1b5783['stack']||_0x1b5783[_0x253f28(0x1eb)]));}}async['stopTestCapture'](_0x398436,_0x197746){const _0x485870=a104_0x5c7aa4,_0xf434ee={};_0xf434ee['ZDImZ']=function(_0x584fbd,_0x3d52ce){return _0x584fbd===_0x3d52ce;},_0xf434ee['IeDTn']='function',_0xf434ee['yoGkr']=_0x485870(0x265),_0xf434ee[_0x485870(0x2a2)]='cucumber',_0xf434ee[_0x485870(0x323)]=function(_0x57f62a,_0x136094){return _0x57f62a===_0x136094;},_0xf434ee['Eufcm']='stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save',_0xf434ee[_0x485870(0x369)]=_0x485870(0x1fb),_0xf434ee[_0x485870(0x331)]='saveResults',_0xf434ee['zyZAW']=_0x485870(0x1d5),_0xf434ee[_0x485870(0x38e)]=_0x485870(0x390),_0xf434ee[_0x485870(0x1bc)]='null',_0xf434ee[_0x485870(0x348)]=function(_0xaa80a,_0x35e01b){return _0xaa80a||_0x35e01b;},_0xf434ee['ZwHSe']=function(_0x2f5be7,_0x257498){return _0x2f5be7||_0x257498;},_0xf434ee['MRstT']=_0x485870(0x2c1),_0xf434ee[_0x485870(0x316)]='AUTOMATION_SESSIONS',_0xf434ee[_0x485870(0x20b)]=_0x485870(0x302);const _0x182f72=_0xf434ee;try{const _0x2815e4=_0x197746['testFramework']||(_0x182f72[_0x485870(0x2fe)](this['testFrameworkData']?.[_0x485870(0x388)]?.[_0x485870(0x213)](),_0x182f72['yoGkr'])?_0x182f72[_0x485870(0x1fd)]:_0x182f72[_0x485870(0x2a2)]);let _0x3c0f78='',_0x1429a5=null,_0x47797a=null;if(_0x182f72['qGpmb'](_0x2815e4,_0x182f72['yoGkr'])){_0x1429a5=_0x197746[_0x485870(0x24d)]?.[_0x485870(0x329)]||_0x197746[_0x485870(0x24d)]?.['id']||global[_0x485870(0x2a8)];if(!_0x1429a5){logger[_0x485870(0x220)](_0x182f72[_0x485870(0x35f)]);return;}try{const _0x16a3b2=await GrpcClient[_0x485870(0x1db)]()[_0x485870(0x1d3)](process['env'][_0x485870(0x21c)],_0x182f72[_0x485870(0x369)],_0x182f72[_0x485870(0x331)],_0x1429a5),_0x5f1a0e=AccessibilityModule[_0x485870(0x210)](null,_0x16a3b2);_0x3c0f78=_0x5f1a0e?.['thTestRunUuid']||'',logger[_0x485870(0x1e6)](_0x485870(0x28a)+_0x3c0f78+_0x485870(0x327)+_0x1429a5),_0x47797a=_0x16a3b2;}catch(_0x11b542){logger[_0x485870(0x342)](_0x485870(0x1f2)+_0x11b542['message']);return;}}else{const _0x9ac798=this[_0x485870(0x383)](_0x197746);_0x3c0f78=TestInfo[_0x485870(0x315)](_0x9ac798);}const _0x5f4184=((()=>{const _0x332045=_0x485870,_0x5ff9ab=(this[_0x332045(0x27e)]?.[_0x332045(0x270)]?.[_0x332045(0x2e4)]||[])[_0x332045(0x2f1)](_0x3b65c5=>(typeof _0x3b65c5[_0x332045(0x1ea)]===_0x332045(0x293)?_0x3b65c5[_0x332045(0x1ea)]():_0x3b65c5[_0x332045(0x388)])===this[_0x332045(0x281)]);return _0x5ff9ab?_0x182f72[_0x332045(0x2fe)](typeof _0x5ff9ab[_0x332045(0x1b8)],_0x182f72[_0x332045(0x3a2)])?_0x5ff9ab['getValue']():_0x5ff9ab[_0x332045(0x1dd)]:'';})()),_0x2b963d=process[_0x485870(0x1ee)]['BROWSERSTACK_TESTHUB_JWT']||'';logger['debug'](_0x485870(0x366)+(_0x398436?.['getPlatformIndex']?.()||_0x182f72['zyZAW'])+_0x485870(0x254)+_0x3c0f78+_0x485870(0x223)+_0x5f4184+_0x485870(0x1dc)+(_0x2b963d?_0x182f72[_0x485870(0x38e)]:_0x182f72['SebRW']));let _0x170609;if(_0x182f72[_0x485870(0x323)](_0x2815e4,_0x182f72[_0x485870(0x1fd)]))_0x170609=AccessibilityModule[_0x485870(0x210)](_0x3c0f78,_0x47797a);else{const _0x2e9569=await GrpcClient[_0x485870(0x1db)]()[_0x485870(0x1d3)](process[_0x485870(0x1ee)][_0x485870(0x21c)],_0x182f72['dOZKa'],_0x182f72[_0x485870(0x331)]);_0x170609=AccessibilityModule[_0x485870(0x210)](_0x3c0f78,_0x2e9569);}logger[_0x485870(0x1e6)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0x485870(0x233)](_0x170609));const _0x552224=Object[_0x485870(0x33c)]({},{'thTestRunUuid':_0x182f72['inYPz'](_0x3c0f78,''),'thBuildUuid':_0x182f72[_0x485870(0x348)](_0x5f4184,''),'thJwtToken':_0x182f72[_0x485870(0x208)](_0x2b963d,'')},_0x170609);!this[_0x485870(0x37a)]&&this[_0x485870(0x1d0)]()&&(_0x552224[_0x485870(0x1cc)]=!![],logger[_0x485870(0x1e6)](_0x182f72[_0x485870(0x39b)]));logger[_0x485870(0x1e6)](_0x485870(0x307)+_0x3c0f78+',\x20isAppAccessibility='+this[_0x485870(0x37a)]);let _0x5053b0=global[_0x485870(0x2d3)]?.['pwPage']||null;!_0x5053b0&&(_0x5053b0=AutomationFramework[_0x485870(0x1f9)](_0x398436,_0x182f72[_0x485870(0x316)],null)),!_0x5053b0&&(_0x5053b0=AutomationFramework[_0x485870(0x1f9)](_0x398436,_0x182f72[_0x485870(0x20b)],null)),await this[_0x485870(0x295)](this[_0x485870(0x25c)](),_0x3c0f78,_0x5053b0,_0x552224,this[_0x485870(0x37a)]);}catch(_0x568661){logger[_0x485870(0x342)](_0x485870(0x1ec)+(_0x568661[_0x485870(0x33e)]||_0x568661[_0x485870(0x1eb)]));}}async[a104_0x5c7aa4(0x295)](_0x8d838e,_0x3e97e9,_0x47a895,_0xcbd2c4,_0x878986){const _0x14abed=a104_0x5c7aa4,_0x4cb5ab={};_0x4cb5ab[_0x14abed(0x231)]=_0x14abed(0x225),_0x4cb5ab[_0x14abed(0x34f)]=function(_0x3b65b3,_0x5ae50f){return _0x3b65b3&&_0x5ae50f;},_0x4cb5ab['CFRJS']=_0x14abed(0x26c),_0x4cb5ab[_0x14abed(0x330)]=function(_0x20d1ea,_0x72fa39){return _0x20d1ea===_0x72fa39;},_0x4cb5ab[_0x14abed(0x25a)]=_0x14abed(0x204),_0x4cb5ab[_0x14abed(0x2c8)]=function(_0x5c5e9c,_0x15bd2f){return _0x5c5e9c===_0x15bd2f;},_0x4cb5ab[_0x14abed(0x379)]=_0x14abed(0x2db),_0x4cb5ab[_0x14abed(0x32e)]=_0x14abed(0x266),_0x4cb5ab[_0x14abed(0x376)]=_0x14abed(0x230),_0x4cb5ab[_0x14abed(0x21e)]=_0x14abed(0x1f8),_0x4cb5ab[_0x14abed(0x2a5)]=function(_0x2327cb,_0x5f03b2){return _0x2327cb&&_0x5f03b2;},_0x4cb5ab[_0x14abed(0x359)]=_0x14abed(0x317),_0x4cb5ab[_0x14abed(0x31e)]=_0x14abed(0x31d),_0x4cb5ab[_0x14abed(0x2de)]=_0x14abed(0x29a);const _0x1d6a80=_0x4cb5ab;try{const _0x199997=this[_0x14abed(0x336)](_0x1d6a80[_0x14abed(0x231)]);if(_0x1d6a80[_0x14abed(0x34f)](!_0x878986,!_0x199997)){logger[_0x14abed(0x1e6)](_0x1d6a80['CFRJS']);return;}if(!_0x3e97e9||_0x1d6a80[_0x14abed(0x330)](_0x3e97e9,_0x1d6a80[_0x14abed(0x25a)])||_0x1d6a80[_0x14abed(0x2c8)](_0x3e97e9,'')){logger[_0x14abed(0x1e6)](_0x1d6a80[_0x14abed(0x379)]);return;}logger[_0x14abed(0x1e6)](_0x14abed(0x1d8)+JSON[_0x14abed(0x233)](_0xcbd2c4)),_0x8d838e&&(logger[_0x14abed(0x1e6)](_0x1d6a80[_0x14abed(0x32e)]),await this[_0x14abed(0x285)](_0x47a895,_0x3e97e9,_0x1d6a80['EGmEC'],_0xcbd2c4,_0x878986,_0x1d6a80[_0x14abed(0x21e)]),_0x1d6a80[_0x14abed(0x2a5)](!_0x878986,_0x199997)&&(logger[_0x14abed(0x1e6)](_0x1d6a80[_0x14abed(0x359)]),await PerformanceTester[_0x14abed(0x1d1)](_0x1d6a80['xUxQp'],async()=>{const _0x5c8272=_0x14abed;await this['performScanForCli'](_0x47a895,_0x3e97e9,_0x1d6a80[_0x5c8272(0x231)],_0xcbd2c4,_0x878986,_0x1d6a80[_0x5c8272(0x231)]);})()),logger[_0x14abed(0x399)](_0x1d6a80[_0x14abed(0x2de)]));}catch(_0x33b0e5){logger['error']('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x33b0e5[_0x14abed(0x33e)]||_0x33b0e5[_0x14abed(0x1eb)]));}}async['onBeforeExecute'](_0x4b1400){const _0x466782=a104_0x5c7aa4,_0x2acf94={};_0x2acf94['MqPUp']=function(_0x15a6fb,_0x3c27f6){return _0x15a6fb!==_0x3c27f6;},_0x2acf94[_0x466782(0x2fa)]=_0x466782(0x2ba),_0x2acf94[_0x466782(0x1df)]=function(_0x4eb29e,_0x374b54){return _0x4eb29e!==_0x374b54;},_0x2acf94[_0x466782(0x39c)]=_0x466782(0x265),_0x2acf94[_0x466782(0x398)]=function(_0x3357f0,_0x537344){return _0x3357f0!==_0x537344;},_0x2acf94[_0x466782(0x2a0)]=_0x466782(0x278),_0x2acf94[_0x466782(0x297)]='unknown',_0x2acf94[_0x466782(0x2e5)]=_0x466782(0x212),_0x2acf94[_0x466782(0x310)]=function(_0x43c0aa,_0x36a684){return _0x43c0aa===_0x36a684;},_0x2acf94[_0x466782(0x2b6)]=_0x466782(0x26f),_0x2acf94[_0x466782(0x291)]='accessibility',_0x2acf94[_0x466782(0x2bd)]=_0x466782(0x2cd),_0x2acf94[_0x466782(0x304)]='test_run_id',_0x2acf94[_0x466782(0x2f5)]='testhub_build_uuid',_0x2acf94[_0x466782(0x247)]=function(_0x1c4811,_0x4b2175){return _0x1c4811===_0x4b2175;},_0x2acf94[_0x466782(0x354)]='scan',_0x2acf94[_0x466782(0x392)]='null';const _0x552c8c=_0x2acf94;if(_0x552c8c[_0x466782(0x1de)](_0x4b1400['testFramework'],_0x552c8c[_0x466782(0x2fa)])&&_0x552c8c[_0x466782(0x1df)](_0x4b1400[_0x466782(0x2d9)],_0x552c8c[_0x466782(0x39c)])&&_0x552c8c[_0x466782(0x398)](_0x4b1400[_0x466782(0x2d9)],_0x552c8c[_0x466782(0x2a0)])){logger[_0x466782(0x1e6)](_0x466782(0x245)+_0x4b1400[_0x466782(0x2d9)]+')');return;}logger[_0x466782(0x1e6)](_0x466782(0x36d)+(_0x4b1400[_0x466782(0x3ab)]||_0x552c8c[_0x466782(0x297)])+_0x466782(0x2be)+_0x4b1400[_0x466782(0x2d9)]);try{const _0x378b7e=_0x4b1400[_0x466782(0x2df)]||AutomationFramework[_0x466782(0x349)](),_0x527fef=TestFramework[_0x466782(0x349)](),_0x5e2f69=_0x4b1400[_0x466782(0x3ab)]||_0x4b1400[_0x466782(0x2c7)]?.[_0x466782(0x1ea)]();if(!_0x5e2f69){logger[_0x466782(0x1e6)](_0x552c8c[_0x466782(0x2e5)]);return;}if(!this[_0x466782(0x25c)]()){logger['debug']('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x5e2f69);return;}if(!this['shouldScanForCommand'](_0x5e2f69)){logger[_0x466782(0x1e6)](_0x466782(0x37b)+_0x5e2f69+'\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned');return;}const _0x189cff=_0x4b1400[_0x466782(0x280)]||global['__workerDetails']?.['pwPage'];if(!_0x189cff){logger[_0x466782(0x1e6)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x5e2f69);return;}let _0x16a8ca='',_0x56aec7=null;if(_0x552c8c[_0x466782(0x310)](_0x4b1400[_0x466782(0x2d9)],_0x552c8c[_0x466782(0x39c)])){_0x56aec7=_0x4b1400['testInfo']?.[_0x466782(0x329)]||_0x4b1400[_0x466782(0x24d)]?.['id']||global[_0x466782(0x2a8)];if(!_0x56aec7){logger[_0x466782(0x220)](_0x552c8c[_0x466782(0x2b6)]);return;}try{const _0xfce0d6=await GrpcClient['getInstance']()[_0x466782(0x1d3)](process[_0x466782(0x1ee)][_0x466782(0x21c)],_0x552c8c['Opjlp'],_0x552c8c[_0x466782(0x2bd)],_0x56aec7),_0x15b6f2=AccessibilityModule[_0x466782(0x210)](null,_0xfce0d6);_0x16a8ca=_0x15b6f2?.[_0x466782(0x2e9)]||'',logger[_0x466782(0x1e6)](_0x466782(0x2c0)+_0x16a8ca+_0x466782(0x327)+_0x56aec7);}catch(_0x54c0a8){logger['error'](_0x466782(0x2b0)+_0x54c0a8[_0x466782(0x1eb)]);return;}}else _0x16a8ca=this[_0x466782(0x3a7)](_0x552c8c[_0x466782(0x304)])||'',!_0x16a8ca&&this[_0x466782(0x1d0)]()&&(_0x16a8ca=accessibilityHelper[_0x466782(0x312)]());const _0x19c238=this[_0x466782(0x3a7)](_0x552c8c[_0x466782(0x2f5)])||this['accessibilityConfig'][this[_0x466782(0x281)]]||null,_0x9a7c85=process[_0x466782(0x1ee)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x22af88=this[_0x466782(0x1d4)](_0x5e2f69,_0x16a8ca,_0x19c238,_0x9a7c85),_0x12112e=_0x552c8c[_0x466782(0x247)](_0x4b1400[_0x466782(0x2d9)],_0x552c8c[_0x466782(0x39c)])?await AccessibilityModule[_0x466782(0x2b2)](_0x552c8c[_0x466782(0x354)],_0x16a8ca,_0x56aec7):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x552c8c[_0x466782(0x354)],_0x16a8ca);logger[_0x466782(0x399)](_0x466782(0x1c9)+(_0x22af88?JSON['stringify'](_0x22af88):_0x552c8c[_0x466782(0x392)]));const _0x4ff502=CLIUtils[_0x466782(0x250)](_0x22af88,_0x12112e);logger[_0x466782(0x399)]('MergedScanArgs:\x20'+(_0x4ff502?JSON[_0x466782(0x233)](_0x4ff502):_0x552c8c[_0x466782(0x392)])),logger[_0x466782(0x1e6)](_0x466782(0x1c0)+_0x5e2f69);const _0x3778cd=await this['performScanForCli'](_0x189cff,_0x16a8ca,_0x5e2f69,_0x4ff502,this[_0x466782(0x37a)]);logger[_0x466782(0x1e6)](_0x466782(0x1b7)+_0x5e2f69+',\x20\x0a\x20'+JSON[_0x466782(0x233)](_0x3778cd));}catch(_0x2ffbc9){logger[_0x466782(0x342)]('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0x2ffbc9[_0x466782(0x33e)]||_0x2ffbc9[_0x466782(0x1eb)]));}}[a104_0x5c7aa4(0x2ec)](){const _0x44e7b2=a104_0x5c7aa4;return this[_0x44e7b2(0x25c)]();}['setShouldScanCurrentTest'](_0x23d0bd){const _0x40d478=a104_0x5c7aa4,_0x4aa60a=CLIUtils[_0x40d478(0x374)]();this[_0x40d478(0x1fb)][_0x40d478(0x1bd)](_0x4aa60a,_0x23d0bd);}async[a104_0x5c7aa4(0x298)](_0x1375e1){const _0x2a87b1=a104_0x5c7aa4,_0x5a9d89={};_0x5a9d89[_0x2a87b1(0x2b5)]=_0x2a87b1(0x1d5);const _0x4a7a2a=_0x5a9d89;try{const _0x11edcc=_0x1375e1[_0x2a87b1(0x2df)]||AutomationFramework['getTrackedInstance'](),_0x59c4f=_0x11edcc?.['getData']?.()?.[_0x2a87b1(0x28b)]?.(this['KEY_INIT'])||![];if(_0x59c4f)return;PerformanceTester[_0x2a87b1(0x275)](EVENTS[_0x2a87b1(0x283)]);const _0x103b05=await GrpcClient[_0x2a87b1(0x1db)]()[_0x2a87b1(0x294)](_0x1375e1);_0x103b05&&_0x103b05[_0x2a87b1(0x33f)]&&_0x103b05[_0x2a87b1(0x33f)]()&&_0x103b05[_0x2a87b1(0x33f)]()['getSuccess']()?(await this[_0x2a87b1(0x32b)](_0x103b05,_0x1375e1),_0x11edcc?.['getData']&&_0x11edcc['getData']()[_0x2a87b1(0x1bd)](this['KEY_INIT'],!![]),logger[_0x2a87b1(0x1e6)]('[platform\x20-\x20'+(_0x11edcc?.[_0x2a87b1(0x23a)]?.()||_0x4a7a2a['chCPK'])+_0x2a87b1(0x273))):logger[_0x2a87b1(0x1e6)](_0x2a87b1(0x366)+(_0x11edcc?.[_0x2a87b1(0x23a)]?.()||_0x4a7a2a[_0x2a87b1(0x2b5)])+_0x2a87b1(0x2ef)),PerformanceTester[_0x2a87b1(0x217)](EVENTS[_0x2a87b1(0x283)]);}catch(_0x3c51e2){PerformanceTester[_0x2a87b1(0x217)](EVENTS[_0x2a87b1(0x283)],![],_0x3c51e2['message']),logger[_0x2a87b1(0x342)]('Error\x20in\x20initAccessibilityConfig:\x20'+(_0x3c51e2[_0x2a87b1(0x33e)]||_0x3c51e2[_0x2a87b1(0x1eb)]));}}async['loadAccessibilityConfig'](_0x4313a6,_0x2cc27d){const _0x51a1e5=a104_0x5c7aa4;await this[_0x51a1e5(0x35b)](_0x4313a6,_0x2cc27d);const _0x5e0164=_0x4313a6[_0x51a1e5(0x33f)]()['getOptions']();if(_0x5e0164){const _0x6893ab=_0x4313a6[_0x51a1e5(0x2c3)]&&_0x4313a6[_0x51a1e5(0x2c3)]();_0x6893ab&&(this[_0x51a1e5(0x27e)][this['KEY_TESTHUB_BUILD_ID']]=_0x6893ab[_0x51a1e5(0x2d5)]&&_0x6893ab[_0x51a1e5(0x2d5)]());}}[a104_0x5c7aa4(0x2b4)](_0x6259f2){const _0x1cb685=a104_0x5c7aa4,_0x4cad0b={};_0x4cad0b[_0x1cb685(0x2ca)]=function(_0x340f11,_0x27406d){return _0x340f11===_0x27406d;};const _0x2da5e1=_0x4cad0b;try{if(!_0x6259f2)return![];const _0xc56183=this['accessibilityConfig']?.[_0x1cb685(0x270)]?.[_0x1cb685(0x39f)]?.['commandsList']||[],_0x443994=_0xc56183[_0x1cb685(0x224)](_0x427421=>{const _0x377e0f=_0x1cb685;return _0x427421[_0x377e0f(0x388)]&&_0x2da5e1[_0x377e0f(0x2ca)](_0x427421['name'][_0x377e0f(0x213)](),_0x6259f2[_0x377e0f(0x213)]());});return logger[_0x1cb685(0x1e6)](_0x1cb685(0x2fc)+_0x6259f2+_0x1cb685(0x2e0)+_0x443994+',\x20available\x20commands:\x20'+JSON[_0x1cb685(0x233)](_0xc56183[_0x1cb685(0x363)](_0x4ad536=>_0x4ad536[_0x1cb685(0x388)]))),_0x443994;}catch(_0x56890e){return logger[_0x1cb685(0x1e6)](_0x1cb685(0x2bf)+_0x56890e[_0x1cb685(0x1eb)]),![];}}[a104_0x5c7aa4(0x31b)](_0x1fac56){const _0x17f829=a104_0x5c7aa4,_0x9138fe={};_0x9138fe['AgaZF']=function(_0x1a190c,_0x462fa4){return _0x1a190c===_0x462fa4;},_0x9138fe[_0x17f829(0x3a1)]=_0x17f829(0x1fc),_0x9138fe['GXCmD']=_0x17f829(0x33b);const _0x495e0c=_0x9138fe,_0x3d4b70=_0x1fac56[_0x17f829(0x386)]&&_0x1fac56[_0x17f829(0x386)]();return _0x3d4b70&&_0x495e0c[_0x17f829(0x326)](typeof _0x3d4b70,_0x495e0c[_0x17f829(0x3a1)])&&_0x3d4b70[_0x17f829(0x21a)](_0x495e0c[_0x17f829(0x308)]);}[a104_0x5c7aa4(0x1f3)](_0x3ef1a8){const _0xa7b04c=a104_0x5c7aa4,_0x516385={};_0x516385['cbecb']=function(_0x25bfbb,_0x4d5069){return _0x25bfbb!==_0x4d5069;},_0x516385[_0xa7b04c(0x32f)]=_0xa7b04c(0x1fc),_0x516385[_0xa7b04c(0x23f)]=_0xa7b04c(0x1fb),_0x516385[_0xa7b04c(0x39e)]='performScan',_0x516385['yGMwj']=_0xa7b04c(0x284),_0x516385['wNgNr']='saveTestResults';const _0x2e2e03=_0x516385,_0x393ff2=_0x3ef1a8[_0xa7b04c(0x386)]&&_0x3ef1a8[_0xa7b04c(0x386)]();if(!_0x393ff2||_0x2e2e03[_0xa7b04c(0x22c)](typeof _0x393ff2,_0x2e2e03[_0xa7b04c(0x32f)]))return![];return _0x393ff2[_0xa7b04c(0x21a)](_0x2e2e03[_0xa7b04c(0x23f)])||_0x393ff2[_0xa7b04c(0x21a)](_0x2e2e03['dBkcr'])||_0x393ff2['includes'](_0x2e2e03['yGMwj'])||_0x393ff2['includes'](_0x2e2e03[_0xa7b04c(0x381)]);}[a104_0x5c7aa4(0x1d0)](){const _0x268cd1=a104_0x5c7aa4,_0x2cc441={'osCmu':function(_0x1a4ce0,_0x156edb){return _0x1a4ce0===_0x156edb;},'OfRlk':_0x268cd1(0x293),'kNXFI':function(_0x4d4988,_0x5e2fa7){return _0x4d4988(_0x5e2fa7);},'MXpmh':_0x268cd1(0x1f1),'FvWbw':function(_0x19cf14,_0xfe7532){return _0x19cf14(_0xfe7532);},'kMxNm':_0x268cd1(0x1fa),'OYxRP':function(_0x1d29f1,_0x3e0c51){return _0x1d29f1===_0x3e0c51;},'BPlJn':'android','ZbAay':'chrome'};try{const _0x4c01f7=this['accessibilityConfig']?.[_0x268cd1(0x270)]?.[_0x268cd1(0x2e4)]||[],_0x58cde9=_0x5119ec=>{const _0x2aacf9=_0x268cd1,_0x53d4d1=_0x4c01f7[_0x2aacf9(0x2f1)](_0x1b75a7=>(typeof _0x1b75a7[_0x2aacf9(0x1ea)]===_0x2aacf9(0x293)?_0x1b75a7['getName']():_0x1b75a7[_0x2aacf9(0x388)])===_0x5119ec);return _0x53d4d1?_0x2cc441[_0x2aacf9(0x391)](typeof _0x53d4d1['getValue'],_0x2cc441[_0x2aacf9(0x321)])?_0x53d4d1[_0x2aacf9(0x1b8)]():_0x53d4d1['value']:null;},_0x3b12ea=_0x2cc441[_0x268cd1(0x23e)](_0x58cde9,_0x2cc441[_0x268cd1(0x24e)]),_0x13fba0=_0x2cc441[_0x268cd1(0x25e)](_0x58cde9,_0x2cc441[_0x268cd1(0x3aa)]),_0x1f1d04=global[_0x268cd1(0x259)]||_0x3b12ea&&_0x2cc441[_0x268cd1(0x1cb)](_0x2cc441[_0x268cd1(0x25e)](String,_0x3b12ea)['toLowerCase'](),_0x2cc441[_0x268cd1(0x272)])&&_0x13fba0&&_0x2cc441[_0x268cd1(0x23e)](String,_0x13fba0)[_0x268cd1(0x213)]()['includes'](_0x2cc441[_0x268cd1(0x1c5)]);if(!_0x1f1d04)return![];if(!accessibilityHelper[_0x268cd1(0x227)]())return!this[_0x268cd1(0x23d)]&&(logger[_0x268cd1(0x220)](accessibilityHelper[_0x268cd1(0x1c3)]),this[_0x268cd1(0x23d)]=!![]),![];return!![];}catch(_0x5dbb28){return logger[_0x268cd1(0x1e6)](_0x268cd1(0x36b)+_0x5dbb28[_0x268cd1(0x1eb)]),![];}}['getParamsForScanForCli'](_0x416071,_0x4313ab,_0x43aae6,_0x1c52bd){const _0x24643e=a104_0x5c7aa4,_0x36f628={};_0x36f628[_0x24643e(0x32d)]=function(_0x5519b8,_0x5d20d3){return _0x5519b8||_0x5d20d3;},_0x36f628[_0x24643e(0x2cb)]=function(_0x1310b9,_0x3e51d5){return _0x1310b9&&_0x3e51d5;},_0x36f628[_0x24643e(0x30f)]=_0x24643e(0x356);const _0x382896=_0x36f628;let _0x172f72=_0x382896[_0x24643e(0x32d)](_0x4313ab,'');const _0x3b1acb=!this[_0x24643e(0x37a)]&&this['isMobileWebSession']();_0x382896[_0x24643e(0x2cb)](_0x3b1acb,!_0x172f72)&&(_0x172f72=accessibilityHelper[_0x24643e(0x312)]());const _0x1f60ce={'command':_0x416071,'thTestRunUuid':_0x172f72,'thBuildUuid':_0x382896[_0x24643e(0x32d)](_0x43aae6,''),'thJwtToken':_0x382896[_0x24643e(0x32d)](_0x1c52bd,''),'timestamp':new Date()[_0x24643e(0x2c2)]()};return _0x3b1acb&&(_0x1f60ce[_0x24643e(0x1cc)]=!![],logger[_0x24643e(0x1e6)](_0x382896[_0x24643e(0x30f)])),_0x1f60ce;}['getScriptByName'](_0x581e4a){const _0x4000a4=a104_0x5c7aa4,_0x5ac699={};_0x5ac699[_0x4000a4(0x2a4)]=function(_0x557f47,_0x207992){return _0x557f47||_0x207992;};const _0x2453a6=_0x5ac699;try{const _0xe90c14=this['accessibilityConfig']?.['options']?.[_0x4000a4(0x2bc)]||[],_0x344fd7=_0xe90c14[_0x4000a4(0x2f1)](_0x404070=>_0x404070[_0x4000a4(0x388)]===_0x581e4a);return _0x2453a6['sUWDe'](_0x344fd7,null);}catch(_0x501572){return logger[_0x4000a4(0x1e6)](_0x4000a4(0x1ed)+_0x581e4a+':\x20'+_0x501572[_0x4000a4(0x1eb)]),null;}}async[a104_0x5c7aa4(0x29f)](_0x43904d,_0xf56261,_0x2185c3=null){const _0x1cce8c=a104_0x5c7aa4,_0x26112f={'XTxOF':function(_0x116299,_0x44c0da){return _0x116299(_0x44c0da);},'hswol':'../../playwright/accessibility-helper'};try{if(!_0x43904d)return logger['debug'](_0x1cce8c(0x335)+_0xf56261),null;const _0x356866=this[_0x1cce8c(0x336)](_0xf56261);if(!_0x356866||!_0x356866[_0x1cce8c(0x2c7)])return logger[_0x1cce8c(0x1e6)](_0x1cce8c(0x1e3)+_0xf56261+_0x1cce8c(0x2da)),null;logger[_0x1cce8c(0x1e6)](_0x1cce8c(0x261)+_0xf56261+'\x20accessibility\x20script\x20on\x20page');const _0x5dc4a8=_0x26112f[_0x1cce8c(0x289)](require,_0x26112f[_0x1cce8c(0x20a)]),_0x290196=_0x2185c3?await _0x5dc4a8[_0x1cce8c(0x1c7)](_0x43904d,_0x356866[_0x1cce8c(0x2c7)],_0x2185c3):await _0x5dc4a8[_0x1cce8c(0x1c7)](_0x43904d,_0x356866[_0x1cce8c(0x2c7)]);return _0x290196;}catch(_0x18c577){return logger[_0x1cce8c(0x342)](_0x1cce8c(0x318)+_0xf56261+':\x20'+(_0x18c577[_0x1cce8c(0x33e)]||_0x18c577[_0x1cce8c(0x1eb)])),null;}}async[a104_0x5c7aa4(0x285)](_0x32b999,_0x24d05f,_0x43928e,_0x4ebb87,_0x5086a9,_0x48e118=a104_0x5c7aa4(0x1f8)){const _0x1d7d97=a104_0x5c7aa4,_0xecb914={'Dxoan':function(_0x12526a,_0x3c269c){return _0x12526a===_0x3c269c;},'LYmsF':_0x1d7d97(0x1f8),'UXEzX':function(_0x1141bf,_0x3b8b2a){return _0x1141bf(_0x3b8b2a);},'HZnlQ':'../../playwright/accessibility-helper'};try{logger[_0x1d7d97(0x1e6)]('[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x43928e+_0x1d7d97(0x239)+_0x48e118);const _0x510252=this['getScriptByName'](_0x48e118);if(!_0x510252||!_0x510252[_0x1d7d97(0x2c7)]){logger['debug'](_0x1d7d97(0x339)+_0x48e118+_0x1d7d97(0x31a));return;}if(_0xecb914['Dxoan'](_0x48e118,_0xecb914[_0x1d7d97(0x1f6)])){const _0x4e3b0a=_0xecb914[_0x1d7d97(0x39a)](require,_0xecb914['HZnlQ']),_0x157135={};_0x157135[_0x1d7d97(0x2c7)]=_0x43928e;const _0x3b7537=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1d7d97(0x2a7)],async()=>{return await _0x4e3b0a['browserStackEvaluate'](_0x32b999,_0x510252['command'],_0x4ebb87);},_0x157135)();return logger[_0x1d7d97(0x399)](_0x1d7d97(0x357)+_0x48e118+'\x20result\x20for\x20'+_0x43928e+':\x20'+util['format'](_0x3b7537)),_0x3b7537;}const _0x524c95=_0xecb914['UXEzX'](require,_0xecb914[_0x1d7d97(0x1ca)]),_0x9c60af=await PerformanceTester[_0x1d7d97(0x1d1)](PerformanceA11yEvents[_0x1d7d97(0x1be)],async()=>{const _0x8f3924=_0x1d7d97;return await _0x524c95[_0x8f3924(0x1c7)](_0x32b999,_0x510252['command'],_0x4ebb87);})();return logger[_0x1d7d97(0x399)](_0x1d7d97(0x357)+_0x48e118+'\x20result\x20for\x20'+_0x43928e+':\x20'+util[_0x1d7d97(0x28c)](_0x9c60af)),_0x9c60af;}catch(_0x1d788e){logger[_0x1d7d97(0x342)](_0x1d7d97(0x205)+_0x48e118+':\x20'+(_0x1d788e['stack']||_0x1d788e[_0x1d7d97(0x1eb)]));}}async[a104_0x5c7aa4(0x39d)](_0x15f051){const _0x3c9676=a104_0x5c7aa4,_0x38d0bf={'FHPdQ':function(_0x3aa06e,_0xa66485){return _0x3aa06e(_0xa66485);},'sqFxl':_0x3c9676(0x1d7)};try{const _0x1c5c5c=_0x38d0bf['FHPdQ'](require,_0x38d0bf['sqFxl']);return await _0x1c5c5c[_0x3c9676(0x2f0)](_0x15f051);}catch(_0x2d6159){return logger['error'](_0x3c9676(0x207)+(_0x2d6159[_0x3c9676(0x33e)]||_0x2d6159['message'])),![];}}[a104_0x5c7aa4(0x395)](_0x5818fd,_0xe256d1,_0xf7a97c){const _0x35658c=a104_0x5c7aa4,_0x2a789b={'bQzXh':function(_0x3a42a9,_0xc6a163){return _0x3a42a9(_0xc6a163);},'baHUA':_0x35658c(0x24b),'WrSpM':'\x22browserstack.user\x22:\x22[REDACTED]\x22','MZPxf':_0x35658c(0x26d)};try{const _0x10ebf0=_0x2a789b['bQzXh'](require,_0x2a789b[_0x35658c(0x292)]);_0x10ebf0[_0x35658c(0x395)](_0x5818fd,_0xe256d1,_0xf7a97c);const _0x306470=JSON[_0x35658c(0x233)](_0x5818fd)['replace'](/"browserstack\.user":"[^"]*"/g,_0x2a789b[_0x35658c(0x2d1)])[_0x35658c(0x2f4)](/"browserstack\.key":"[^"]*"/g,_0x2a789b['MZPxf']);logger[_0x35658c(0x1e6)](_0x35658c(0x2ad)+global['accessibilityPlatform']+'\x20'+_0x306470);}catch(_0x325f7b){logger[_0x35658c(0x342)]('Error\x20in\x20processAccessibilityCaps:\x20'+(_0x325f7b[_0x35658c(0x33e)]||_0x325f7b[_0x35658c(0x1eb)]));}}async[a104_0x5c7aa4(0x34d)](_0x3e466b){const _0x5dd06b=a104_0x5c7aa4,_0x4c692d={};_0x4c692d['ZzcvP']=_0x5dd06b(0x32c),_0x4c692d[_0x5dd06b(0x36c)]=function(_0x39c3f9,_0x53553b){return _0x39c3f9>_0x53553b;},_0x4c692d[_0x5dd06b(0x37d)]=function(_0x279623,_0x2432c1){return _0x279623>_0x2432c1;},_0x4c692d[_0x5dd06b(0x203)]='getResults';const _0x3c56eb=_0x4c692d;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x5dd06b(0x220)](_0x3c56eb[_0x5dd06b(0x252)]),[];const _0x2dc16a=this[_0x5dd06b(0x1d0)]()?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x5dd06b(0x312)]()}:{};_0x3c56eb[_0x5dd06b(0x36c)](Object[_0x5dd06b(0x29e)](_0x2dc16a)[_0x5dd06b(0x256)],0x0)&&logger[_0x5dd06b(0x1e6)](_0x5dd06b(0x370)+JSON[_0x5dd06b(0x233)](_0x2dc16a));const _0x186836=_0x3c56eb[_0x5dd06b(0x37d)](Object[_0x5dd06b(0x29e)](_0x2dc16a)[_0x5dd06b(0x256)],0x0)?await this['executeScriptByName'](_0x3e466b,_0x3c56eb[_0x5dd06b(0x203)],_0x2dc16a):await this[_0x5dd06b(0x29f)](_0x3e466b,_0x3c56eb['OPHxF']);return _0x186836||[];}catch(_0x49734e){return logger['error'](_0x5dd06b(0x34a)+(_0x49734e[_0x5dd06b(0x33e)]||_0x49734e['message'])),[];}}async[a104_0x5c7aa4(0x20d)](_0x516c19){const _0x210380=a104_0x5c7aa4,_0x2346f1={'voBAZ':'scan','KeVxQ':_0x210380(0x2ed),'mTUrx':'Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','BbNEn':function(_0x81bcfc,_0x1c1bb6){return _0x81bcfc(_0x1c1bb6);},'zDSeH':_0x210380(0x28d),'NGrmc':function(_0x45430a,_0x5496b1){return _0x45430a===_0x5496b1;},'XrMfH':_0x210380(0x265),'KjVrt':_0x210380(0x38c),'ttLJt':_0x210380(0x1fb),'yuRfR':'testhub_build_uuid','sYgnR':'getAccessibilityResultsSummary','LifCz':_0x210380(0x237),'xutZE':_0x210380(0x328),'PVqvF':_0x210380(0x238)};try{if(!this[_0x210380(0x25c)]())return logger[_0x210380(0x220)](_0x2346f1['mTUrx']),{};const _0x509480=_0x2346f1['BbNEn'](require,_0x2346f1[_0x210380(0x311)]),_0x352ccb=_0x509480[_0x210380(0x2ab)](),_0x442ca1=_0x2346f1[_0x210380(0x221)](_0x352ccb?.[_0x210380(0x388)]?.[_0x210380(0x213)](),_0x2346f1[_0x210380(0x31f)]);let _0xa8bd14='',_0xba741e=null,_0x3ede8e=null;if(_0x442ca1){_0xba741e=global['__jestCurrentTestIdentifier']||global[_0x210380(0x2d3)]?.[_0x210380(0x385)]?.['testAnalyticsId']||global[_0x210380(0x2d3)]?.[_0x210380(0x385)]?.['id'];if(!_0xba741e)return logger[_0x210380(0x220)](_0x2346f1[_0x210380(0x2b1)]),{};try{const _0x2ade69=await GrpcClient[_0x210380(0x1db)]()[_0x210380(0x1d3)](process['env'][_0x210380(0x21c)],_0x2346f1[_0x210380(0x26a)],_0x2346f1['KeVxQ'],_0xba741e),_0x2f2ec2=AccessibilityModule[_0x210380(0x210)](null,_0x2ade69);_0xa8bd14=_0x2f2ec2?.[_0x210380(0x2e9)]||'',logger[_0x210380(0x1e6)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0xa8bd14+_0x210380(0x327)+_0xba741e);const _0xa2fae3=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x2346f1[_0x210380(0x305)],_0xa8bd14,_0xba741e),_0x351854=this[_0x210380(0x3a7)](_0x2346f1[_0x210380(0x241)])||this[_0x210380(0x27e)][this[_0x210380(0x281)]]||null,_0x538dd9=process['env'][_0x210380(0x341)]||'',_0x135600=this['getParamsForScanForCli'](_0x2346f1[_0x210380(0x24c)],_0xa8bd14,_0x351854,_0x538dd9);_0x3ede8e=_0x509480[_0x210380(0x250)](_0x135600,_0xa2fae3),logger[_0x210380(0x1e6)](_0x210380(0x30e)+JSON[_0x210380(0x233)](_0x3ede8e));}catch(_0x5e5451){return logger[_0x210380(0x342)](_0x210380(0x243)+_0x5e5451[_0x210380(0x1eb)]),{};}}else{_0xa8bd14=this[_0x210380(0x3a7)](_0x2346f1['LifCz'])||'';!_0xa8bd14&&this['isMobileWebSession']()&&(_0xa8bd14=accessibilityHelper['resolveMobileThTestRunUuid']());const _0x108654=this[_0x210380(0x3a7)](_0x2346f1[_0x210380(0x241)])||this[_0x210380(0x27e)][this[_0x210380(0x281)]]||null,_0x359039=process[_0x210380(0x1ee)][_0x210380(0x341)]||'';_0x3ede8e=this['getParamsForScanForCli'](_0x2346f1[_0x210380(0x24c)],_0xa8bd14,_0x108654,_0x359039);}logger[_0x210380(0x1e6)](_0x2346f1[_0x210380(0x384)]),await PerformanceTester[_0x210380(0x1d1)](PerformanceA11yEvents[_0x210380(0x2a7)],async()=>{const _0xf9cdc3=_0x210380,_0xcf8a54=await this['executeScriptByName'](_0x516c19,_0x2346f1[_0xf9cdc3(0x38a)],_0x3ede8e);logger[_0xf9cdc3(0x1e6)](_0xf9cdc3(0x287)+util['format'](_0xcf8a54));},{'command':_0x2346f1[_0x210380(0x24c)]})();const _0x132eb4=await PerformanceTester[_0x210380(0x1d1)](PerformanceA11yEvents[_0x210380(0x35e)],async()=>{const _0x478cd4=_0x210380;return await this[_0x478cd4(0x29f)](_0x516c19,_0x2346f1[_0x478cd4(0x305)],_0x3ede8e);})();if(!_0x132eb4)return logger['debug'](_0x2346f1[_0x210380(0x257)]),{};return _0x132eb4;}catch(_0x10fcd1){return logger[_0x210380(0x342)](_0x210380(0x27c)+(_0x10fcd1[_0x210380(0x33e)]||_0x10fcd1[_0x210380(0x1eb)])),{};}}async[a104_0x5c7aa4(0x30c)](_0x3692b2,_0xe68a7c,_0xaee9c2=null){const _0x3e393b=a104_0x5c7aa4,_0x1e6693={};_0x1e6693[_0x3e393b(0x2c9)]=_0x3e393b(0x206),_0x1e6693[_0x3e393b(0x2d0)]=_0x3e393b(0x235),_0x1e6693[_0x3e393b(0x313)]=_0x3e393b(0x33d);const _0x52b023=_0x1e6693;try{if(!_0x3692b2)return logger['debug'](_0x52b023[_0x3e393b(0x2c9)]),null;if(!_0xe68a7c)return logger[_0x3e393b(0x1e6)](_0x52b023[_0x3e393b(0x2d0)]),null;logger[_0x3e393b(0x1e6)](_0x52b023[_0x3e393b(0x313)]);const _0x94bb24=_0xaee9c2?await _0x3692b2[_0x3e393b(0x34e)](_0xe68a7c,_0xaee9c2):await _0x3692b2[_0x3e393b(0x34e)](_0xe68a7c);return _0x94bb24;}catch(_0x505cf7){return logger['error']('Error\x20in\x20performPageScan:\x20'+(_0x505cf7['stack']||_0x505cf7[_0x3e393b(0x1eb)])),null;}}static[a104_0x5c7aa4(0x210)](_0x3f8837,_0x32773b){const _0x1093cf=a104_0x5c7aa4,_0x5d6561={};_0x5d6561[_0x1093cf(0x248)]='ascii';const _0x469963=_0x5d6561,_0x4100db={};_0x4100db[_0x1093cf(0x2e9)]=_0x3f8837;const _0x20f735=_0x4100db;let _0x4ac8b2={};if(_0x32773b[_0x1093cf(0x1f5)]()&&_0x32773b[_0x1093cf(0x31c)]())try{_0x4ac8b2=JSON[_0x1093cf(0x319)](new Buffer(_0x32773b[_0x1093cf(0x1d9)]())['toString'](_0x469963[_0x1093cf(0x248)]));}catch(_0x367284){logger[_0x1093cf(0x342)]('Error\x20parsing\x20accessibility\x20execute\x20params:\x20'+_0x367284[_0x1093cf(0x1eb)]),_0x4ac8b2={};}return CLIUtils[_0x1093cf(0x250)](_0x20f735,_0x4ac8b2);}static async[a104_0x5c7aa4(0x2b2)](_0x317650,_0x21d345='',_0x2b081f=null){const _0x3d949a=a104_0x5c7aa4,_0x567f16={};_0x567f16[_0x3d949a(0x20c)]=_0x3d949a(0x1bb),_0x567f16['lORoE']=_0x3d949a(0x1fb);const _0x444c04=_0x567f16;try{if(!_0x2b081f&&AccessibilityModule[_0x3d949a(0x345)])return AccessibilityModule[_0x3d949a(0x1f7)];if(!process[_0x3d949a(0x1ee)]['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger[_0x3d949a(0x342)](_0x444c04[_0x3d949a(0x20c)]),{};const _0x53b25c=await GrpcClient[_0x3d949a(0x1db)]()[_0x3d949a(0x1d3)](process[_0x3d949a(0x1ee)][_0x3d949a(0x21c)],_0x444c04[_0x3d949a(0x1fe)],_0x317650,_0x2b081f),_0x3f3950=_0x2b081f?AccessibilityModule[_0x3d949a(0x210)](null,_0x53b25c)?.['thTestRunUuid']||_0x21d345:_0x21d345,_0x5335fb=AccessibilityModule['loadDriverExecuteParams'](_0x3f3950,_0x53b25c);return!_0x2b081f&&(AccessibilityModule[_0x3d949a(0x1f7)]=_0x5335fb,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x5335fb;}catch(_0x597edc){return logger[_0x3d949a(0x342)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x317650+':\x20'+(_0x597edc[_0x3d949a(0x33e)]||_0x597edc[_0x3d949a(0x1eb)])),{};}}}function a104_0x1231(){const _0x1eb895=['../../playwright/accessibility-helper','sYgnR','testInfo','MXpmh','kILIs','mergeObject','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','ZzcvP','Error\x20getting\x20capability\x20value\x20for\x20',']\x20clear\x20','KEY_DRIVER_HAS_URL','length','PVqvF','getTestDetails','isMobilePlatform','gtJMg','includeTagsInTestingScope','getCurrentAccessibilityStatus','cQhEz','FvWbw','getGoogleChromeOptions','GiVhB','Executing\x20','8082UhSqRF','snBDL','[AccessibilityModule]\x20onAfterTest:\x20framework=','jest','Performing\x20scan\x20before\x20from\x20cli','accessibilityPlatform','nifBH','has','ttLJt','delete','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','\x22browserstack.key\x22:\x22[REDACTED]\x22','GLhvq','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','options','BS_A11Y_JWT','BPlJn',']\x20Accessibility\x20configuration\x20initialized\x20successfully','../framework/constants/testFrameworkConstants.js','start','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isPlatformSupported:\x20caps\x20are\x20null','testcafe','--headless=new','WWKCU','../framework/testFramework','Error\x20in\x20getAccessibilityResultsSummary:\x20','Unknown\x20Test','accessibilityConfig','browserstack.accessibilityOptions.wcagVersion','page','KEY_TESTHUB_BUILD_ID',',\x20excludeTags=','SDK_ACCESSIBILITY_CONFIG','getResults','performScanForCli','DRIVER_INIT','Scan\x20result:\x20','sGETu','XTxOF','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','get','format','../cliUtils','10696995NdztcD','1816560KygECb','kVnJw','Opjlp','baHUA','function','getAccessibilityConfig','finishScanningForCli','gdCpx','ebggI','initAccessibilityConfig','\x20env=','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','tLRaS','browserVersion','wcagVersion','keys','executeScriptByName','ZNpIP','DRbAm','Polgw','MODULE_NAME','sUWDe','hnLzj','onBeforeExecute','PERFORM_SCAN','__jestCurrentTestIdentifier','name:\x20','gBGkb','getTestFrameworkDetail','758VhbKUF','Processed\x20accessibility\x20caps\x20','IxSKv',',\x20testName=','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','KjVrt','fetchCentralAuthA11yConfig','JlCky','shouldScanForCommand','chCPK','qRWgA','../grpcClient','EVbvd','mRxEJ','cucumber','pPGjM','scriptsList','ikChx',',\x20framework=','Error\x20in\x20shouldScanForCommand:\x20','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','stopTestCapture:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','toISOString','getTesthub','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','rodoh','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','command','tRHpI','iQGHo','rtfFi','yHweU','setAccessibilityToken','performScan','qCubL','GPzZi','SVxmu','WrSpM','LgZuA','__workerDetails','../state/automationFrameworkState','getBuildId','true','CREATE','browserstack.accessibilityOptions.scannerProcessingTimeout','testFramework','\x20script\x20available','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','browser_version','MrCIL','cprzt','instance','\x20->\x20','cPRXP','LOG_DISABLED_SHOWN','getScriptsList','capabilitiesList','IJigA','ggqFT','Aunhl','PYRuz','thTestRunUuid','DRIVER_HAS_URL','PHAtS','shouldScanCurrentTest','getResultsSummary','\x20browser\x20version\x20greater\x20than\x20',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','platformValidation','find','tcMZh','CUdEd','replace','wmxmQ','VWEBn','isEnabled','LdMSq','latest','xUsOr','test-tags-->\x20','shouldScanForCommand:\x20','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework\x20(got:\x20','ZDImZ','excludeTagsInTestingScope','--headless=','onAfterTest','NON_BROWSERSTACK_AUTOMATION_SESSIONS','203ttaUYi','Szemr','KeVxQ','Context','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','GXCmD','chromeOptions','thkkX','setLogDisabledShown','performPageScan','skipCDPConnectOverride','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','kBLPT','gVQnb','zDSeH','resolveMobileThTestRunUuid','GciRb','getCapabilitiesList','getTestUUID','iYvuh','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','Error\x20executing\x20script\x20','parse','\x20script\x20available\x20in\x20scriptsList','isBrowserstackScriptCommand','hasAccessibilityExecuteParams','a11y:save-results','xUxQp','XrMfH','WPSUH','OfRlk','ACCESSIBILITY_INITIALIZED','qGpmb','KEY_INIT','EPsvj','AgaZF','\x20from\x20testIdentifier=','Performing\x20scan\x20before\x20getting\x20results\x20summary','testAnalyticsId','bind','loadAccessibilityConfig','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','iJSze','NSQAI','laUuu','BdUQa','vcpem','TrackedInstance','1219031NCJniF','getBrowserDisplayName','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','getScriptByName','requiresChromeOptionsValidation','browserstack.accessibilityOptions.authToken','performScanForCli:\x20No\x20','scannerVersion','browserstack_executor','assign','Executing\x20accessibility\x20script\x20on\x20page','stack','getAccessibility','startsWith','BROWSERSTACK_TESTHUB_JWT','error','headless','titlePath','_centralAuthConfigFetched','QbbqM','parseFromProto','inYPz','getTrackedInstance','Error\x20in\x20getAccessibilityResults:\x20','PVvTr','browserstack.accessibilityOptions.scannerVersion','getAccessibilityResults','evaluate','TeahU',']\x20should\x20run\x20accessibility\x20value=','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework\x20(got:\x20','args','CgjJy','--headless','getParamsForScanForCli:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','Page\x20','zIOaT','asuBu','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','setAccessibilityConfig','./baseModule','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','GET_RESULTS_SUMMARY','Eufcm','getContext','isPlatformSupported','ZZzve','map','dIyxQ',']\x20isEnabledTestcase\x20(jest)\x20result=','[platform\x20-\x20','../framework/automationFramework','MWbyj','dOZKa','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','isMobileWebSession:\x20error\x20checking\x20driver\x20caps:\x20','EnSiF','onBeforeExecute:\x20command=','MGNqq','getMinVersionForBrowser','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','__accessibilityOptions',',\x20includeTags=','LMYBh','getCurrentInstanceName','3697563LvdByo','EGmEC','version','isFinite','pJKtP','isAppAccessibility','onBeforeExecute:\x20Command\x20','_sendMessageServerPatchApplied','HHCSB','PgzEo','setShouldScan','337Tawvlb','wNgNr','updateData','getTestId','xutZE','currentTest','getScript','VhPiZ','name','../TestInfo.js','voBAZ','Error\x20applying\x20sendMessageToServer\x20patch:\x20','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','isVersionSupported','kWiPn','exports','present','osCmu','pJUgK','ygJdC','toJson','processAccessibilityCaps','getCommandsList','applySendMessageToServerPatch','hlygm','info','UXEzX','MRstT','ZnPUq','validatePlatformForAccessibility','dBkcr','commandsToWrap','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','kOBlt','IeDTn','QUIT','UdIck',',\x20tags=','YTbRA','getCapabilityValue','isBrowserSupportedForAccessibility','lmNyL','kMxNm','commandName','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','getValue','pwPage','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','SebRW','set','SAVE_RESULTS','../../../helpers/helper','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','YYnYP','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','MOBILE_SCANNING_DISABLED_WARNING','1160LmMKMi','ZbAay','90JFUDQM','browserStackEvaluate','PUgVB','ScanArgs:\x20','HZnlQ','OYxRP','is_mobile_session','platformCaps','fjOOT','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','isMobileWebSession','measureWrapper','Exception\x20in\x20isPlatformSupported:\x20','fetchDriverExecuteParamsEvent','getParamsForScanForCli','unknown','scannerProcessingTimeout','../../../helpers/accessibility-automation/helper','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','getAccessibilityExecuteParams','../../../helpers/performance/performance-tester.js','getInstance','\x20a11yToken=','value','MqPUp','lVeFw','YktuH','EXECUTE','mCVyB','executeScriptByName:\x20No\x20','POST','gixjE','debug','getModuleName','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','fesEY','getName','message','Error\x20in\x20stopTestCapture:\x20','Error\x20getting\x20script\x20by\x20name\x20','env','isAccessibilityAutomationSession','registerObserver','platformName','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','isAccessibilityScriptCommand','../state/hookState','getSuccess','LYmsF','_centralAuthA11yConfig','scan','getState','browserName','accessibility','string','yoGkr','lORoE',',\x20isAppAccessibility=','getCommandsToWrap','xIove','908PkypSe','OPHxF','null','Error\x20in\x20performScanForCli\x20for\x20script\x20','performPageScan:\x20Page\x20is\x20null','Error\x20in\x20validatePlatformForAccessibility:\x20','ZwHSe','CMjHY','hswol','oNnfz','BxNRZ','getAccessibilityResultsSummary','NGQZS','isEnabledTestcase','loadDriverExecuteParams','goog:chromeOptions','onBeforeExecute:\x20No\x20command\x20name\x20provided','toLowerCase','parseA11yJwtPayload','launchCaps','sdZHi','end','SCAXy','AnOXZ','includes','tGqkr','BROWSERSTACK_CLI_BIN_SESSION_ID','../../../helpers/classLogger','yfJnm','capabilities','warn','NGrmc','gHIXJ','\x20testHubUuid=','some','saveResults','VEGAB','isMobileScanningEnabledForGroup','browser','getPlatformCaps','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','NDMVQ','cbecb','test_tags','DbUfR','getCapabilities','afterTestHook','getfB','[AccessibilityModule]\x20isMobileScanningEnabledForGroup\x20cap\x20received:\x20raw=','stringify','getData','performPageScan:\x20Script\x20is\x20null','getLogDisabledShown','test_run_id','No\x20summaryResults\x20found.','\x20using\x20script:\x20','getPlatformIndex','dMLHn','getOptions','_mobileScanningDisabledLogged','kNXFI','rKvHq','on\x20non-BrowserStack\x20infrastructure\x20','yuRfR','isArray','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework\x20(got:\x20','BWwjH','ieQzb','MbzWV','onBeforeTest','ChDiZ'];a104_0x1231=function(){return _0x1eb895;};return a104_0x1231();};module[a104_0x5c7aa4(0x38f)]=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a105_0x55fd0d=a105_0x6537;(function(_0xfb2e4a,_0x7d0909){const _0x4cdba3=a105_0x6537,_0x11fcb4=_0xfb2e4a();while(!![]){try{const _0x3d6cbb=-parseInt(_0x4cdba3(0x11b))/0x1*(parseInt(_0x4cdba3(0x10d))/0x2)+-parseInt(_0x4cdba3(0x113))/0x3*(-parseInt(_0x4cdba3(0x10f))/0x4)+parseInt(_0x4cdba3(0xf4))/0x5+-parseInt(_0x4cdba3(0x116))/0x6*(-parseInt(_0x4cdba3(0x104))/0x7)+parseInt(_0x4cdba3(0x11c))/0x8*(-parseInt(_0x4cdba3(0xf3))/0x9)+-parseInt(_0x4cdba3(0x119))/0xa*(parseInt(_0x4cdba3(0x115))/0xb)+-parseInt(_0x4cdba3(0xf7))/0xc*(-parseInt(_0x4cdba3(0x109))/0xd);if(_0x3d6cbb===_0x7d0909)break;else _0x11fcb4['push'](_0x11fcb4['shift']());}catch(_0x2bbc35){_0x11fcb4['push'](_0x11fcb4['shift']());}}}(a105_0x1539,0x25484));const logger=require(a105_0x55fd0d(0xf5))[a105_0x55fd0d(0xfd)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');function a105_0x6537(_0x279402,_0x222abd){const _0x153988=a105_0x1539();return a105_0x6537=function(_0x65379b,_0x598a19){_0x65379b=_0x65379b-0xf2;let _0x1631cd=_0x153988[_0x65379b];return _0x1631cd;},a105_0x6537(_0x279402,_0x222abd);}function a105_0x1539(){const _0x151946=['ILWDD','client','74cnvKJL','binSessionId','4Batiys','qJCzD','testCaseStartedId','testInfo','430575dmjnJN','\x20with\x20binSessionId=','11JntYKe','1720434fQkfbd','version','PLAYWRIGHT','224270DDfOnN','CUCUMBER','7856SWUDxu','8MglRra','qNRFV','testFramework','4|2|3|0|1|5','dKIaa','getModuleName','CxRXz','2533023qSwDey','1454020LfJIuk','../../../helpers/logger.js','name','12fgDBXR','ykMTC','getTestId','testId',',\x20platformIndex=','object','winstonLogger','split','SVeoB','config','wLqUI','setTestFrameworkData','Missing\x20binSessionId','7ZitHfd','JEST','platformIndex','testFrameworkData','ensureBinSession','340418WdgRQl','configure'];a105_0x1539=function(){return _0x151946;};return a105_0x1539();}class BaseModule{constructor(_0x5297d0=null){const _0x528198=a105_0x55fd0d,_0x23752b={};_0x23752b['qJCzD']=_0x528198(0x11f),_0x23752b[_0x528198(0x11d)]='BaseModule';const _0x56dc68=_0x23752b,_0x5bfef1=_0x56dc68[_0x528198(0x110)][_0x528198(0xfe)]('|');let _0x4913c0=0x0;while(!![]){switch(_0x5bfef1[_0x4913c0++]){case'0':this['config']={};continue;case'1':this['client']=null;continue;case'2':this[_0x528198(0x10e)]=null;continue;case'3':this[_0x528198(0x106)]=0x0;continue;case'4':this['name']=_0x56dc68['qNRFV'];continue;case'5':this[_0x528198(0x107)]=this[_0x528198(0x102)](_0x5297d0);continue;}break;}}[a105_0x55fd0d(0x108)](){const _0x2bd501=a105_0x55fd0d,_0x22c95c={};_0x22c95c[_0x2bd501(0xff)]=_0x2bd501(0x103);const _0x4bcce3=_0x22c95c;if(!this[_0x2bd501(0x10e)])throw new Error(_0x4bcce3['SVeoB']);}[a105_0x55fd0d(0x121)](){const _0x13f87a=a105_0x55fd0d;return this[_0x13f87a(0xf6)];}[a105_0x55fd0d(0x10a)](_0x1ecdbf,_0x283864,_0x59a0bb,_0x5d3270={}){const _0x411761=a105_0x55fd0d,_0x29cb43={};_0x29cb43['dKIaa']='3|1|0|2|4';const _0x2753b9=_0x29cb43,_0x4ebe8d=_0x2753b9[_0x411761(0x120)]['split']('|');let _0xcc1c60=0x0;while(!![]){switch(_0x4ebe8d[_0xcc1c60++]){case'0':this[_0x411761(0x10c)]=_0x59a0bb;continue;case'1':this[_0x411761(0x106)]=_0x283864;continue;case'2':this[_0x411761(0x100)]=_0x5d3270;continue;case'3':this['binSessionId']=_0x1ecdbf;continue;case'4':logger['debug']('Configured\x20module\x20'+this[_0x411761(0x121)]()+_0x411761(0x114)+_0x1ecdbf+_0x411761(0xfb)+_0x283864);continue;}break;}}[a105_0x55fd0d(0xf9)](_0x3da436){const _0x3ce621=a105_0x55fd0d,_0x3b95c2={};_0x3b95c2[_0x3ce621(0x101)]=function(_0x8cb5a5,_0x2a3c4c){return _0x8cb5a5===_0x2a3c4c;},_0x3b95c2[_0x3ce621(0xf8)]=function(_0xdad344,_0x1de138){return _0xdad344===_0x1de138;};const _0x4b727e=_0x3b95c2;let _0x517bb8='';if(_0x4b727e['wLqUI'](_0x3da436['testFramework'],FRAMEWORKS[_0x3ce621(0x118)]))_0x517bb8=_0x3da436[_0x3ce621(0x112)]?.['_test']?.['id']||_0x3da436[_0x3ce621(0x112)]?.[_0x3ce621(0xfa)];else{if(_0x4b727e[_0x3ce621(0xf8)](_0x3da436[_0x3ce621(0x11e)],FRAMEWORKS[_0x3ce621(0x11a)]))_0x517bb8=_0x3da436[_0x3ce621(0x112)]?.[_0x3ce621(0x111)];else _0x4b727e[_0x3ce621(0x101)](_0x3da436[_0x3ce621(0x11e)],FRAMEWORKS[_0x3ce621(0x105)])&&(_0x517bb8=_0x3da436[_0x3ce621(0x112)]?.['id']);}return _0x517bb8;}['setTestFrameworkData'](_0x4a2d22){const _0x20aa6c=a105_0x55fd0d,_0x2b3665={};_0x2b3665[_0x20aa6c(0xf2)]=function(_0x3829af,_0x36da5f){return _0x3829af!==_0x36da5f;},_0x2b3665[_0x20aa6c(0x10b)]=_0x20aa6c(0xfc);const _0x28cb26=_0x2b3665;if(!_0x4a2d22||_0x28cb26[_0x20aa6c(0xf2)](typeof _0x4a2d22,_0x28cb26[_0x20aa6c(0x10b)]))return null;const _0x7156b1={};_0x7156b1[_0x20aa6c(0xf6)]=_0x4a2d22[_0x20aa6c(0xf6)],_0x7156b1[_0x20aa6c(0x117)]=_0x4a2d22['version']&&_0x4a2d22['version'][_0x4a2d22['name']];const _0x2ca7d7=_0x7156b1;return _0x2ca7d7;}}module['exports']=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a106_0x342e(){const _0x52734f=['message','setLTSSessionId','true','browserstackAutomation','vvOym','xmFWE','1787325AUfsAO','26999IZAdwe','QsHZW','kdIDc','../../../helpers/classLogger.js','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','COEHi','debug','pAllk','BROWSERSTACK_LTS_SESSION_ID','env','28600308gxwUYL','toLowerCase','BROWSERSTACK_LTS_SESSION_ID\x20cleared','false','HzixI','PsBkD','eYXWP','rDmFv','512518lubEvn','cWhNp','57795XEizbi','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','LTS','1875458mnMHKB','60DLUgie','toString','nmqKR','string','jVXKG','exports','overrideLoadTesting','uFmDl','uIaQf','getLTSSessionId','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','LoadTestModule','isLTSSession','1752GseFHr','3000624LbjTLf','undefined','error','setLTSSessionId\x20error:\x20'];a106_0x342e=function(){return _0x52734f;};return a106_0x342e();}const a106_0x13a6e6=a106_0x519c;(function(_0xa62467,_0x3d9e9f){const _0x58aeb8=a106_0x519c,_0x217cef=_0xa62467();while(!![]){try{const _0x499cfd=-parseInt(_0x58aeb8(0xc4))/0x1+-parseInt(_0x58aeb8(0xc9))/0x2+parseInt(_0x58aeb8(0xb1))/0x3+-parseInt(_0x58aeb8(0xca))/0x4*(parseInt(_0x58aeb8(0xc6))/0x5)+-parseInt(_0x58aeb8(0xa6))/0x6*(parseInt(_0x58aeb8(0xb2))/0x7)+-parseInt(_0x58aeb8(0xa7))/0x8+parseInt(_0x58aeb8(0xbc))/0x9;if(_0x499cfd===_0x3d9e9f)break;else _0x217cef['push'](_0x217cef['shift']());}catch(_0x333350){_0x217cef['push'](_0x217cef['shift']());}}}(a106_0x342e,0x9e5b9));function a106_0x519c(_0x1b257d,_0x61c727){const _0x342eaf=a106_0x342e();return a106_0x519c=function(_0x519c1e,_0x1b306f){_0x519c1e=_0x519c1e-0x9a;let _0x40bd1c=_0x342eaf[_0x519c1e];return _0x40bd1c;},a106_0x519c(_0x1b257d,_0x61c727);}const {createClassLogger}=require(a106_0x13a6e6(0xb5)),logger=createClassLogger(a106_0x13a6e6(0xa4)),{sendSdkEvents}=require('../../../helpers/helper.js'),isLTSSession=(_0x38af05=null)=>{const _0x461648=a106_0x13a6e6,_0x28a2a2={};_0x28a2a2[_0x461648(0xb9)]=function(_0x306ee5,_0x31c1e7){return _0x306ee5!==_0x31c1e7;},_0x28a2a2[_0x461648(0xaf)]=_0x461648(0xa8),_0x28a2a2['rDmFv']=function(_0x4cabe0,_0xccc606){return _0x4cabe0===_0xccc606;},_0x28a2a2[_0x461648(0xc5)]=_0x461648(0x9c),_0x28a2a2[_0x461648(0xa0)]=_0x461648(0xad),_0x28a2a2[_0x461648(0xa1)]=function(_0x105b50,_0x288b84){return _0x105b50===_0x288b84;},_0x28a2a2[_0x461648(0xb0)]=_0x461648(0xbf);const _0x39eadd=_0x28a2a2;try{if(_0x39eadd[_0x461648(0xb9)](typeof process['env']['overrideLoadTesting'],_0x39eadd['vvOym'])){const _0x3ab20b=process['env'][_0x461648(0x9f)];return _0x39eadd[_0x461648(0xc3)](typeof _0x3ab20b,_0x39eadd[_0x461648(0xc5)])?_0x39eadd[_0x461648(0xc3)](_0x3ab20b['toLowerCase'](),_0x39eadd[_0x461648(0xa0)]):!!_0x3ab20b;}const _0x51479a=_0x38af05&&_0x38af05[_0x461648(0x9f)],_0x23cd78=!!(_0x38af05&&(_0x39eadd[_0x461648(0xc3)](_0x38af05['browserstackAutomation'],!![])||_0x39eadd[_0x461648(0xa1)](_0x38af05[_0x461648(0xae)],_0x39eadd[_0x461648(0xa0)]))),_0x2c3b64=!!(_0x51479a&&_0x39eadd[_0x461648(0xc3)](_0x51479a[_0x461648(0x9a)]()[_0x461648(0xbd)](),_0x39eadd[_0x461648(0xa0)])&&!_0x23cd78);return process['env'][_0x461648(0x9f)]=_0x2c3b64?_0x39eadd[_0x461648(0xa0)]:_0x39eadd['xmFWE'],_0x2c3b64;}catch(_0x36c641){return process[_0x461648(0xbb)]['overrideLoadTesting']=_0x39eadd[_0x461648(0xb0)],![];}},getLTSSessionId=()=>{const _0x36039e=a106_0x13a6e6,_0x359a5d={'eYXWP':function(_0x590e83){return _0x590e83();},'WpHxc':'LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','HzixI':_0x36039e(0xa3)};try{if(_0x359a5d[_0x36039e(0xc2)](isLTSSession))return logger[_0x36039e(0xb8)](_0x359a5d['WpHxc']),process[_0x36039e(0xbb)][_0x36039e(0xba)]||'';}catch(_0x20469c){logger[_0x36039e(0xa9)](_0x36039e(0xc7)+(_0x20469c&&_0x20469c[_0x36039e(0xab)]));}return logger[_0x36039e(0xb8)](_0x359a5d[_0x36039e(0xc0)]),'';},setLTSSessionId=async(_0x117120={})=>{const _0x4896cc=a106_0x13a6e6,_0x1bdba3={'kdIDc':function(_0x2e8446){return _0x2e8446();},'PsBkD':'BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','COEHi':_0x4896cc(0xbe),'jVXKG':_0x4896cc(0xc8),'CReDu':function(_0x33371c,_0xd2c477){return _0x33371c(_0xd2c477);},'QsHZW':function(_0x5c37da,_0x6901db,_0x3b965f){return _0x5c37da(_0x6901db,_0x3b965f);},'nmqKR':function(_0x3a96ed,_0x77265d){return _0x3a96ed||_0x77265d;}};try{const _0x21e045=_0x1bdba3[_0x4896cc(0xb4)](getLTSSessionId);_0x21e045?(process[_0x4896cc(0xbb)][_0x4896cc(0xba)]=_0x21e045,logger['debug'](_0x1bdba3[_0x4896cc(0xc1)])):(delete process['env']['BROWSERSTACK_LTS_SESSION_ID'],logger['debug'](_0x1bdba3[_0x4896cc(0xb7)]));try{const _0x2b1459={'feature':_0x1bdba3[_0x4896cc(0x9d)],'ltsEnabled':_0x1bdba3['CReDu'](isLTSSession,_0x117120),'ltsSessionIdPresent':!!_0x21e045};await _0x1bdba3[_0x4896cc(0xb3)](sendSdkEvents,_0x2b1459,_0x117120);}catch(_0x3cd367){logger['debug'](_0x4896cc(0xb6)+(_0x3cd367&&_0x3cd367[_0x4896cc(0xab)]));}return _0x1bdba3[_0x4896cc(0x9b)](_0x21e045,'');}catch(_0x484599){return logger[_0x4896cc(0xb8)](_0x4896cc(0xaa)+(_0x484599&&_0x484599['message'])),'';}},a106_0x2c11cd={};a106_0x2c11cd[a106_0x13a6e6(0xa5)]=isLTSSession,a106_0x2c11cd[a106_0x13a6e6(0xa2)]=getLTSSessionId,a106_0x2c11cd[a106_0x13a6e6(0xac)]=setLTSSessionId,module[a106_0x13a6e6(0x9e)]=a106_0x2c11cd;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a107_0x38c41e=a107_0xe783;(function(_0x4532f7,_0x195aae){const _0x930178=a107_0xe783,_0x15cc0d=_0x4532f7();while(!![]){try{const _0x176520=-parseInt(_0x930178(0x1d4))/0x1+-parseInt(_0x930178(0x1ec))/0x2+parseInt(_0x930178(0x1e5))/0x3*(parseInt(_0x930178(0x1ed))/0x4)+-parseInt(_0x930178(0x1f7))/0x5*(-parseInt(_0x930178(0x1cf))/0x6)+-parseInt(_0x930178(0x1e3))/0x7+parseInt(_0x930178(0x1f6))/0x8+parseInt(_0x930178(0x1d7))/0x9;if(_0x176520===_0x195aae)break;else _0x15cc0d['push'](_0x15cc0d['shift']());}catch(_0x1d92dd){_0x15cc0d['push'](_0x15cc0d['shift']());}}}(a107_0x59b4,0x1f754));const BaseModule=require(a107_0x38c41e(0x1eb)),{createClassLogger}=require(a107_0x38c41e(0x1de)),AutomationFramework=require(a107_0x38c41e(0x1e4)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a107_0x38c41e(0x1d6)),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require(a107_0x38c41e(0x1e2)),{O11y_EVENTS}=require(a107_0x38c41e(0x1db)),constants=require(a107_0x38c41e(0x1f8));class ObservabilityModule extends BaseModule{[a107_0x38c41e(0x1d3)]=createClassLogger(a107_0x38c41e(0x1e0));constructor(_0x45bcf9){const _0x17f244=a107_0x38c41e,_0x3c1fa0={};_0x3c1fa0[_0x17f244(0x1e6)]=_0x17f244(0x1e0);const _0x372358=_0x3c1fa0;super(),this[_0x17f244(0x1f2)]=_0x372358[_0x17f244(0x1e6)],this[_0x17f244(0x1ee)]=_0x45bcf9,AutomationFramework[_0x17f244(0x1e9)](AutomationFrameworkState[_0x17f244(0x1e1)],HookState[_0x17f244(0x1d0)],this[_0x17f244(0x1f3)]['bind'](this));}[a107_0x38c41e(0x1dd)](){return ObservabilityModule['MODULE_NAME'];}async[a107_0x38c41e(0x1f3)](_0x517637){const _0x1b9541=a107_0x38c41e,_0x285be2={'DMLxg':function(_0x3b9d80,_0x2083a8){return _0x3b9d80+_0x2083a8;},'otVDP':_0x1b9541(0x1df),'hhBEQ':function(_0x177b37,_0xed0751,_0x3e2153,_0x1f74ca){return _0x177b37(_0xed0751,_0x3e2153,_0x1f74ca);},'PqsrJ':_0x1b9541(0x1e7),'KUaVS':_0x1b9541(0x1dc)};if(_0x517637['page']){const _0x2daaae=_0x517637['page'],_0x43631a=Date[_0x1b9541(0x1d9)](),_0x61697a=_0x285be2[_0x1b9541(0x1f4)](_0x285be2[_0x1b9541(0x1ef)],_0x43631a);PerformanceTester[_0x1b9541(0x1f0)](O11y_EVENTS[_0x1b9541(0x1f1)]),await _0x285be2['hhBEQ'](playwrightAnnotate,_0x2daaae,_0x61697a,_0x285be2['PqsrJ']),PerformanceTester[_0x1b9541(0x1ea)](O11y_EVENTS[_0x1b9541(0x1f1)]),this[_0x1b9541(0x1d3)][_0x1b9541(0x1d2)](_0x1b9541(0x1f5)+constants[_0x1b9541(0x1e8)]+_0x1b9541(0x1d1));}else this[_0x1b9541(0x1d3)][_0x1b9541(0x1e7)](_0x285be2[_0x1b9541(0x1d8)]);}}ObservabilityModule[a107_0x38c41e(0x1da)]=a107_0x38c41e(0x1e0),module[a107_0x38c41e(0x1d5)]=ObservabilityModule;function a107_0xe783(_0x4ad4b2,_0x2112a5){const _0x59b467=a107_0x59b4();return a107_0xe783=function(_0xe783c4,_0x407450){_0xe783c4=_0xe783c4-0x1cf;let _0x385057=_0x59b467[_0xe783c4];return _0x385057;},a107_0xe783(_0x4ad4b2,_0x2112a5);}function a107_0x59b4(){const _0x40e9e7=['ObservabilityModule','CREATE','../../../helpers/performance/performance-tester.js','1208837sQInrb','../framework/automationFramework.js','771ITalcG','JcqPK','debug','TEST_REPORTING_ANALYTICS','registerObserver','end','./baseModule','142498jsNmPU','676BgBaGF','observabilityConfig','otVDP','start','SYNC','name','onBeforeTest','DMLxg','onBeforeTest:\x20','229184MXfjwL','595hSaCaJ','../../utils/constants.js','8178FdUYTu','POST','\x20sync\x20done','info','logger','237525TmySxd','exports','../state/hookState.js','3384351LQOEdH','KUaVS','now','MODULE_NAME','../../../helpers/performance/constants.js','onBeforeTest:\x20page\x20is\x20not\x20defined','getModuleName','../../../helpers/classLogger.js','ObservabilitySync:'];a107_0x59b4=function(){return _0x40e9e7;};return a107_0x59b4();}
|