browserstack-node-sdk 1.70.2 → 1.70.3
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/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/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.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/loadErrors.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/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/node-generic/client.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/reporterArgs.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/mochaTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.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/seleniumAutomationFramework.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/runStateStore.js +1 -1
- package/src/bin/v2/sdkErrorHandler.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/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/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 a109_0x15ff87=a109_0x38c1;(function(_0x5c1641,_0x6e102e){const _0x57aed7=a109_0x38c1,_0x494259=_0x5c1641();while(!![]){try{const _0x3eac52=parseInt(_0x57aed7(0x212))/0x1*(-parseInt(_0x57aed7(0x1fb))/0x2)+parseInt(_0x57aed7(0x213))/0x3+-parseInt(_0x57aed7(0x1fe))/0x4+-parseInt(_0x57aed7(0x1f2))/0x5*(-parseInt(_0x57aed7(0x1fc))/0x6)+-parseInt(_0x57aed7(0x1ee))/0x7*(-parseInt(_0x57aed7(0x1f8))/0x8)+parseInt(_0x57aed7(0x1ef))/0x9*(parseInt(_0x57aed7(0x20a))/0xa)+-parseInt(_0x57aed7(0x1f7))/0xb*(parseInt(_0x57aed7(0x200))/0xc);if(_0x3eac52===_0x6e102e)break;else _0x494259['push'](_0x494259['shift']());}catch(_0x5782d1){_0x494259['push'](_0x494259['shift']());}}}(a109_0x5100,0x3f33c));const {createClassLogger}=require(a109_0x15ff87(0x204)),logger=createClassLogger(a109_0x15ff87(0x1ec)),HookState=require(a109_0x15ff87(0x209)),TestFrameworkState=require('../state/testFrameworkState'),TrackedContext=require('./trackedContext'),TrackedInstance=require(a109_0x15ff87(0x1eb)),now=new Date();function a109_0x5100(){const _0x431404=['hasPendingHooks','237OIaRjv','974352apfMqj','8|6|1|3|7|4|2|0|5','getCurrentHookState','has','nBAdj','toLocaleString','./trackedInstance','TrackedInstance','push','3185nqndMK','427293VFMYvh','getPendingHooks','NONE','8620VuCmpk','lastTestState','getLastHookState','getCurrentTestState','setCurrentHookState','234949RZJOwe','7208JGBSdg','lastHookState','getCreatedAt','4036fkUwtp','930BODnnU','currentHookState','974284Oimmnj','get','252qdNTRS','setLastTestState','from','removePendingHooks','../../../helpers/classLogger','set','currentTestState','getAllPendingHookTestIds','getLastTestState','../state/hookState','90ncxvyR','testFrameworksVersions','setLastHookState','createdAt','setCurrentTestState','split','pendingHooks'];a109_0x5100=function(){return _0x431404;};return a109_0x5100();}class TestFrameworkInstance extends TrackedInstance{constructor(_0x22cf25,_0x1dcbf2,_0x2616b3,_0x18a9db,_0x48af3b){const _0x15608b=a109_0x15ff87,_0xc9252b={};_0xc9252b[_0x15608b(0x1e9)]=_0x15608b(0x214);const _0x562cab=_0xc9252b,_0x4c9313=_0x562cab[_0x15608b(0x1e9)][_0x15608b(0x20f)]('|');let _0x337792=0x0;while(!![]){switch(_0x4c9313[_0x337792++]){case'0':this[_0x15608b(0x20d)]=now[_0x15608b(0x1ea)]();continue;case'1':this[_0x15608b(0x20b)]=_0x2616b3;continue;case'2':this[_0x15608b(0x1f9)]=HookState[_0x15608b(0x1f1)];continue;case'3':this['currentTestState']=_0x18a9db;continue;case'4':this[_0x15608b(0x1f3)]=TestFrameworkState[_0x15608b(0x1f1)];continue;case'5':this[_0x15608b(0x210)]=new Map();continue;case'6':this['testFrameworks']=_0x1dcbf2;continue;case'7':this['currentHookState']=_0x48af3b;continue;case'8':super(_0x22cf25);continue;}break;}}[a109_0x15ff87(0x1f5)](){const _0x48182f=a109_0x15ff87;return this[_0x48182f(0x206)];}[a109_0x15ff87(0x20e)](_0x9ca361){const _0x527ba2=a109_0x15ff87;this[_0x527ba2(0x201)](this[_0x527ba2(0x206)]),this[_0x527ba2(0x206)]=_0x9ca361;}[a109_0x15ff87(0x215)](){const _0x25d458=a109_0x15ff87;return this[_0x25d458(0x1fd)];}[a109_0x15ff87(0x1f6)](_0x2a4b35){const _0x4c6114=a109_0x15ff87;this['setLastHookState'](this[_0x4c6114(0x1fd)]),this[_0x4c6114(0x1fd)]=_0x2a4b35;}[a109_0x15ff87(0x208)](){const _0x288e93=a109_0x15ff87;return this[_0x288e93(0x1f3)];}[a109_0x15ff87(0x201)](_0x3deb84){const _0x5e286b=a109_0x15ff87;this[_0x5e286b(0x1f3)]=_0x3deb84;}[a109_0x15ff87(0x1f4)](){const _0x287384=a109_0x15ff87;return this[_0x287384(0x1f9)];}[a109_0x15ff87(0x20c)](_0x4c441e){const _0x3d98ce=a109_0x15ff87;this[_0x3d98ce(0x1f9)]=_0x4c441e;}[a109_0x15ff87(0x1fa)](){const _0x91a186=a109_0x15ff87;return this[_0x91a186(0x20d)];}['addPendingHook'](_0x225afa,_0x36b6f5){const _0x588bba=a109_0x15ff87;!this['pendingHooks']['has'](_0x225afa)&&this['pendingHooks'][_0x588bba(0x205)](_0x225afa,[]),this[_0x588bba(0x210)][_0x588bba(0x1ff)](_0x225afa)[_0x588bba(0x1ed)](_0x36b6f5);}[a109_0x15ff87(0x1f0)](_0x3e7805){const _0x117f9c=a109_0x15ff87;return this[_0x117f9c(0x210)]['get'](_0x3e7805)||[];}[a109_0x15ff87(0x203)](_0x215600){this['pendingHooks']['delete'](_0x215600);}[a109_0x15ff87(0x211)](_0x9428a9){const _0x785906=a109_0x15ff87;return this[_0x785906(0x210)][_0x785906(0x216)](_0x9428a9);}[a109_0x15ff87(0x207)](){const _0x283bca=a109_0x15ff87;return Array[_0x283bca(0x202)](this[_0x283bca(0x210)]['keys']());}}function a109_0x38c1(_0x4b8d9c,_0x1f1267){const _0x5100c2=a109_0x5100();return a109_0x38c1=function(_0x38c18d,_0x2f3e23){_0x38c18d=_0x38c18d-0x1e9;let _0x20eb91=_0x5100c2[_0x38c18d];return _0x20eb91;},a109_0x38c1(_0x4b8d9c,_0x1f1267);}module['exports']=TestFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a110_0x19ce27=a110_0x5ad8;(function(_0x385538,_0x316325){const _0x297b76=a110_0x5ad8,_0x5ecb50=_0x385538();while(!![]){try{const _0x11265a=-parseInt(_0x297b76(0x163))/0x1+parseInt(_0x297b76(0x16b))/0x2+-parseInt(_0x297b76(0x166))/0x3+-parseInt(_0x297b76(0x164))/0x4*(parseInt(_0x297b76(0x15e))/0x5)+-parseInt(_0x297b76(0x15f))/0x6+parseInt(_0x297b76(0x15d))/0x7+parseInt(_0x297b76(0x160))/0x8;if(_0x11265a===_0x316325)break;else _0x5ecb50['push'](_0x5ecb50['shift']());}catch(_0x27eed1){_0x5ecb50['push'](_0x5ecb50['shift']());}}}(a110_0x57f8,0x6940c));function a110_0x57f8(){const _0xcb9b20=['type','343862IlUamE','25364XImdne','getThreadId','1839141NYomof','TrackedContext','getProcessId','getType','exports','940584NUyaLe','threadId','processId','2287845OBizVK','65HXqdng','72654SIPNDT','5483520WLzhtm','../../../helpers/classLogger'];a110_0x57f8=function(){return _0xcb9b20;};return a110_0x57f8();}const {createClassLogger}=require(a110_0x19ce27(0x161)),logger=createClassLogger(a110_0x19ce27(0x167));function a110_0x5ad8(_0x57443b,_0x241e16){const _0x57f83e=a110_0x57f8();return a110_0x5ad8=function(_0x5ad8d2,_0x2bd566){_0x5ad8d2=_0x5ad8d2-0x15b;let _0x5cc3fb=_0x57f83e[_0x5ad8d2];return _0x5cc3fb;},a110_0x5ad8(_0x57443b,_0x241e16);}class TrackedContext{constructor(_0x28d590,_0x24c33f,_0xb956e2,_0x2bbe5a){const _0x5dbceb=a110_0x19ce27;this['id']=_0x28d590,this[_0x5dbceb(0x15b)]=_0x24c33f,this[_0x5dbceb(0x15c)]=_0xb956e2,this['type']=_0x2bbe5a;}[a110_0x19ce27(0x165)](){const _0x10fd39=a110_0x19ce27;return this[_0x10fd39(0x15b)];}[a110_0x19ce27(0x168)](){const _0x4d57f9=a110_0x19ce27;return this[_0x4d57f9(0x15c)];}['getId'](){return this['id'];}[a110_0x19ce27(0x169)](){const _0x1bac18=a110_0x19ce27;return this[_0x1bac18(0x162)];}}module[a110_0x19ce27(0x16a)]=TrackedContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a111_0x516549=a111_0x4b29;function a111_0x5259(){const _0x5c3e15=['update','QBEDL','worker_threads','90BzxqPB','pid','getId','28149YuiTXU','entries','getAllData','getRef','39252hGoKfu','sha256','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','7pBAJmV','TfVYV','2COnjcW','7300998kNtrNU','312710dSvhic','5999992idRYUL','keys','568070CtBdsS','updateData','set','createContext','forEach','crypto','get','156UlpMzU','2167dVBHib','hex','9286490NFpBgD','data','context','./trackedContext'];a111_0x5259=function(){return _0x5c3e15;};return a111_0x5259();}(function(_0xe3b4c4,_0x536a04){const _0x3a5bc4=a111_0x4b29,_0x278ddb=_0xe3b4c4();while(!![]){try{const _0x41da84=-parseInt(_0x3a5bc4(0x1a4))/0x1*(parseInt(_0x3a5bc4(0x1a9))/0x2)+parseInt(_0x3a5bc4(0x19b))/0x3*(parseInt(_0x3a5bc4(0x18e))/0x4)+parseInt(_0x3a5bc4(0x1a6))/0x5*(parseInt(_0x3a5bc4(0x198))/0x6)+parseInt(_0x3a5bc4(0x1a2))/0x7*(-parseInt(_0x3a5bc4(0x1a7))/0x8)+-parseInt(_0x3a5bc4(0x1a5))/0x9+parseInt(_0x3a5bc4(0x191))/0xa+parseInt(_0x3a5bc4(0x18f))/0xb*(parseInt(_0x3a5bc4(0x19f))/0xc);if(_0x41da84===_0x536a04)break;else _0x278ddb['push'](_0x278ddb['shift']());}catch(_0xa3d978){_0x278ddb['push'](_0x278ddb['shift']());}}}(a111_0x5259,0xb6924));const TrackedContext=require(a111_0x516549(0x194)),crypto=require(a111_0x516549(0x18c)),{threadId}=require(a111_0x516549(0x197));function a111_0x4b29(_0x269a39,_0x5bd1ad){const _0x5259f4=a111_0x5259();return a111_0x4b29=function(_0x4b29a2,_0x2362c6){_0x4b29a2=_0x4b29a2-0x18a;let _0x2fd90b=_0x5259f4[_0x4b29a2];return _0x2fd90b;},a111_0x4b29(_0x269a39,_0x5bd1ad);}class TrackedInstance{static [a111_0x516549(0x1a1)]='isBrowserstackAutomationSession';constructor(_0x8d7a5d){const _0x594348=a111_0x516549;this[_0x594348(0x193)]=_0x8d7a5d,this[_0x594348(0x192)]=new Map();}[a111_0x516549(0x19e)](){const _0x351f92=a111_0x516549;return this[_0x351f92(0x193)][_0x351f92(0x19a)]();}['getContext'](){const _0x15dcf3=a111_0x516549;return this[_0x15dcf3(0x193)];}[a111_0x516549(0x19d)](){const _0x2d5673=a111_0x516549;return this[_0x2d5673(0x192)];}['updateMultipleEntries'](_0x5a4e87){const _0x315449=a111_0x516549;Object[_0x315449(0x1a8)](_0x5a4e87)[_0x315449(0x18b)](_0x531695=>{const _0x207c6e=_0x315449;this[_0x207c6e(0x192)][_0x207c6e(0x1ab)](_0x531695,_0x5a4e87[_0x531695]);});}['addMultipleEntries'](_0x481ecc){const _0x417ac1=a111_0x516549;Object[_0x417ac1(0x19c)](_0x481ecc)[_0x417ac1(0x18b)](([_0x17c6f9,_0x15de90])=>{const _0x2d0cfe=_0x417ac1,_0x8b7e80=this[_0x2d0cfe(0x192)][_0x2d0cfe(0x18d)](_0x17c6f9)||{},_0x8543b={..._0x8b7e80,..._0x15de90},_0x43cdd3=_0x8543b;this[_0x2d0cfe(0x192)][_0x2d0cfe(0x1ab)](_0x17c6f9,_0x43cdd3);});}['getData'](_0x5006b1){const _0x518d28=a111_0x516549;return this['data'][_0x518d28(0x18d)](_0x5006b1);}[a111_0x516549(0x1aa)](_0x3ce78,_0x4bda77){const _0x39100a=a111_0x516549;this[_0x39100a(0x192)][_0x39100a(0x1ab)](_0x3ce78,_0x4bda77);}static[a111_0x516549(0x18a)](_0x5f18fa){const _0x18464b=a111_0x516549,_0x99c461={};_0x99c461['ERYMk']=_0x18464b(0x1a0),_0x99c461['TfVYV']=_0x18464b(0x190),_0x99c461[_0x18464b(0x196)]=function(_0x191b21,_0x17b8ab){return _0x191b21||_0x17b8ab;};const _0x56fcfb=_0x99c461;return new TrackedContext(crypto['createHash'](_0x56fcfb['ERYMk'])[_0x18464b(0x195)](_0x5f18fa)['digest'](_0x56fcfb[_0x18464b(0x1a3)]),_0x56fcfb['QBEDL'](threadId,0x0),process[_0x18464b(0x199)],typeof _0x5f18fa);}}module['exports']=TrackedInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a112_0x2b80(_0x581049,_0x16545b){const _0x12d237=a112_0x12d2();return a112_0x2b80=function(_0x2b8061,_0x20ece){_0x2b8061=_0x2b8061-0x190;let _0x21a624=_0x12d237[_0x2b8061];return _0x21a624;},a112_0x2b80(_0x581049,_0x16545b);}const a112_0x2616c5=a112_0x2b80;(function(_0x1e5585,_0x349a6a){const _0x5af39c=a112_0x2b80,_0x2a331b=_0x1e5585();while(!![]){try{const _0x549e5c=-parseInt(_0x5af39c(0x1ab))/0x1*(-parseInt(_0x5af39c(0x340))/0x2)+-parseInt(_0x5af39c(0x36b))/0x3+parseInt(_0x5af39c(0x3d2))/0x4*(-parseInt(_0x5af39c(0x39b))/0x5)+-parseInt(_0x5af39c(0x33f))/0x6*(parseInt(_0x5af39c(0x37d))/0x7)+parseInt(_0x5af39c(0x230))/0x8+-parseInt(_0x5af39c(0x25e))/0x9*(-parseInt(_0x5af39c(0x1b0))/0xa)+parseInt(_0x5af39c(0x3d7))/0xb;if(_0x549e5c===_0x349a6a)break;else _0x2a331b['push'](_0x2a331b['shift']());}catch(_0x1ea6fb){_0x2a331b['push'](_0x2a331b['shift']());}}}(a112_0x12d2,0x2a1f6));const BaseModule=require(a112_0x2616c5(0x20a)),{createClassLogger}=require(a112_0x2616c5(0x195)),CLIUtils=require(a112_0x2616c5(0x3ac)),AutomationFramework=require(a112_0x2616c5(0x212)),TestFramework=require(a112_0x2616c5(0x3c5)),AutomationFrameworkState=require(a112_0x2616c5(0x286)),HookState=require(a112_0x2616c5(0x27c)),GrpcClient=require(a112_0x2616c5(0x2eb)),scripts=require(a112_0x2616c5(0x2fa)),logger=createClassLogger('TrackedInstance'),PerformanceTester=require(a112_0x2616c5(0x1a8)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a112_0x2616c5(0x3c6)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,BSTACK_SCAN_IN_PROGRESS}=require(a112_0x2616c5(0x2be)),{nestedKeyValue,isUndefined}=require(a112_0x2616c5(0x2e0)),util=require(a112_0x2616c5(0x3e5)),TestInfo=require('../TestInfo.js'),TestFrameworkConstants=require(a112_0x2616c5(0x3b4)),accessibilityHelper=require(a112_0x2616c5(0x232)),{FRAMEWORKS}=require(a112_0x2616c5(0x1fe));function a112_0x12d2(){const _0xbcc4a=['commandName','35166FSPDmH','131596PxIvSM','roaZl','unknown','args','mEjlo','isPlatformSupported:\x20caps\x20are\x20null','getName','isAccessibilityScriptCommand','lBEwg','JnlSp','BS_A11Y_JWT','performPageScan:\x20Page\x20is\x20null','OSnAi','getScriptsList','SVHqk','EZrkz','shouldScanForCommand','update','BwOhT','measureWrapper','VQcjH','[AccessibilityModule]\x20_parseScriptsFromOptions:\x20failed\x20to\x20parse\x20scripts:\x20','TFUmL','cucumber','isEnabledTestcase','latest','dfEIz','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','toISOString','toJson','NjICa',',\x20available\x20commands:\x20','epngE','../../utils/playwright-patcher','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','_readChromeOptionsCapability','CNELW',',\x20testIdentifier=','Error\x20in\x20shouldScanForCommand:\x20','find','set','yqZkQ','sYaFr','620511FKDvlk','LoVAq','_parseScriptsFromOptions','DYiPl','ASLlA','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','length','dNKtt','toObject','gGdIk','accessibility','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','Niqul','getAppAccessibilityResultsSummary','BUznM','\x20a11yToken=',',\x20sessionId=','bHtyk','105kUQnlU','[platform\x20-\x20','Rjldp','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','MiqqL','page','KEY_TESTHUB_BUILD_ID','[AccessibilityModule]\x20goog:chromeOptions\x20on\x20the\x20','scannerProcessingTimeout','info','dIFwW','performScan','AMcWy','getGoogleChromeOptions','stopTestCapture:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','nAWKo','RWpQA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','NNgja','testhub_build_uuid','[App-A11y]\x20getAppAccessibilityResultsSummary:\x20binSessionId=','RZKfM','[App-A11y]\x20getAppAccessibilityResults\x20error:\x20','UeVnJ','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','FGKhz','instance','digest','gFoQN','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','2190sLTSqp','sha256','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','bNnpZ','tbjTV','isBrowserSupportedForAccessibility','TcrvX','getModuleName','android','__workerDetails','gTAVG','iToKj','AUTOMATION_SESSIONS','haMkr','HDZMa','xVUbC','PJNRz','../cliUtils','test-tags-->\x20','browserName','AccessibilityModule.getResultsSummary','value','driver','KEY_DRIVER_HAS_URL','\x20result\x20for\x20','../framework/constants/testFrameworkConstants.js','mergeObject','getParamsForScanForCli:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','XLmhg','HLlst','DHLOM','[App-A11y]\x20getAppAccessibilityResults:\x20Empty\x20JSON\x20string\x20from\x20binary','cGJKs','excludeTagsInTestingScope',']\x20isEnabledTestcase\x20(cucumber)\x20result=','DmLfU','_centralAuthConfigFetched','XWPVF','isPlatformSupported','cRray','ukcjF','hasAccessibilityExecuteParams','../framework/testFramework','../../../helpers/performance/constants.js','saveResults',',\x20testName=','commandsToWrap','[App-A11y]\x20getAppAccessibilityResultsSummary\x20error:\x20','SvXRj','jIjKM','vpLpW','ggUbM','KiUdT','browserstack.accessibilityOptions.scannerProcessingTimeout','Executing\x20','2564RToshi','_mobileScanningDisabledLogged','isVersionSupported','LOG_DISABLED_SHOWN','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','3564000nrnrzK','nMBgJ','uvUlq','browser_version','string','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','onBeforeExecute:\x20No\x20command\x20name\x20provided','SDvVn','[App-A11y]\x20performScanForCli:\x20scan\x20already\x20in\x20progress,\x20skipping\x20re-entrant\x20call\x20for\x20','isMobileScanningEnabledForGroup','JYZxd','MaZRw','WCBCH','Error\x20in\x20processAccessibilityCaps:\x20','util','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','QsgSr','stack','getTestUUID','dAsUk','testcafe','getScript','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','goog:chromeOptions','toString','mVUpN','KEY_TEST_NAME','LgDwu','Error\x20checking\x20headless\x20capability:\x20','SVISE','split','../../../helpers/classLogger','sdOYA','FiyuA','No\x20summaryResults\x20found.','getCapabilitiesList','createHash','stringify','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','POJTt','ithSs','delete','Error\x20in\x20stopTestCapture:\x20','Qxqco','TfnmL','[SDK-T2]\x20SET_A11Y_TOKEN_ASSIGNING\x20token_len=','getAccessibilityConfig',',\x20framework=','testFramework','aEEMC','../../../helpers/performance/performance-tester.js','uCoFD','zwCCw','2xPRVjk','message','loeje','StmJR','../../playwright/accessibility-helper','1550tDklBa','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','fetchDriverExecuteParamsEvent','getIsAppAccessibility','\x20script\x20available','DyWGX','kNEgP','Unknown\x20Test','ScanArgs:\x20','VeERS','[App-A11y]\x20getAppAccessibilityResultsSummary:\x20Empty\x20response\x20from\x20binary','finishScanningForCli','GfcpX','getTrackedInstance','GET_RESULTS_SUMMARY','sBsXa','Error\x20in\x20initAccessibilityConfig:\x20','env','includeTagsInTestingScope','PtXOV','onBeforeTest','getCapabilityValue','CeEXP','BROWSERSTACK_CLI_BIN_SESSION_ID','platformVersion','function','browserstack.accessibilityOptions.wcagVersion','Page\x20','POST','getAccessibilityExecuteParams','AccessibilityModule.getResults','\x20->\x20','PcIRe','parse','xfBOs','isAppAccessibility','[AccessibilityModule.getResultsSummary]\x20performScan\x20didn\x27t\x20complete\x20cleanly:\x20',']\x20poll\x20attempt=','capabilitiesList','sCjGd','MqqsM','appium:platformVersion','trim','setShouldScan','loadAccessibilityConfig','btxTj','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','centralAuthHeader','mTdFw','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','Error\x20in\x20getAccessibilityResults:\x20','XzBFF','HVvXd','processAccessibilityCaps','\x20—\x20proceeding\x20to\x20fetch\x20cached\x20summary','GYJwb','onBeforeExecute:\x20Neither\x20page\x20nor\x20driver\x20available\x20for\x20command\x20','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','pid','getAllData','_sendMessageServerPatchApplied','browserstack.accessibilityOptions.authToken','qQcLN','bind','DRIVER_INIT','has','testFrameworkData','PERFORM_SCAN','race','SDK_ACCESSIBILITY_CONFIG','[App-A11y]\x20Scan\x20result\x20for\x20','authHeader','hHEZH','yPogf',']\x20clear\x20','\x20worker=\x22','TXdQX','JVuVM','../../utils/constants.js','getValue','degraded','PRE','includes','saveTestResults','aFEOH','[App-A11y]\x20getAppAccessibilityResultsSummary:\x20Empty\x20JSON\x20string\x20from\x20binary',',\x20includeTags=','getState','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','validatePlatformForAccessibility','./baseModule','\x20token_fp=','getLogDisabledShown','launchCaps','aXsAL','number','build-start','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework\x20(got:\x20','../framework/automationFramework','options','AGdij',')\x20result=','kwPIY','__accessibilityOptions','[AccessibilityModule]\x20goog:chromeOptions\x20read\x20from\x20the\x20','onAfterTest','getData','ciSTq','EhZyq','Accessibility\x20data\x20for\x20extension:\x20','onBeforeExecute:\x20Command\x20',',\x20isAppAccessibility=','NODE_GENERIC','Context','now','fetchCentralAuthA11yConfig','startsWith','ygNDq','isEnabled','PqwsW','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework\x20(got:\x20','not-array','kzBoq','LAlhl','ms\x20after\x20cap;\x20proceeding\x20to\x20getResultsSummary','GByOG',']\x20should\x20run\x20accessibility\x20value=','browserStackEvaluate','912344sNPXeB','hgXYX','../../../helpers/accessibility-automation/helper','some','isMobileWebSession:\x20error\x20checking\x20driver\x20caps:\x20','BDuSY','getTestId','getBrowserDisplayName','JEST_WORKER_ID','main','scan','pwPage','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','Ktajv','GUSYZ','qiVEZ','gcxfn','command','headless','mSyrO','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','HntLn','jSeMG','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','end','shouldScanForCommand:\x20','from','performScan\x20capped\x20at\x20','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','SCAN_CAP_HIT','chrome','Processed\x20accessibility\x20caps\x20','DRIVER_HAS_URL','DZLLe','gdeZa','getMinVersionForBrowser','getCommandsToWrap','\x20env=','jCDkM','accessibilityPlatform','setShouldScanCurrentTest','wnTgn','FPzLV','getOptions','HlBEI','titlePath','10359dNgMzW','registerObserver','currentTest','JjniN','RlEja','bfjdQ','accessibilityResult','testData','fQqvK','getCapabilities',',\x20\x0a\x20','kqEen','NZpgq','TFkfN','assign','ginoy','ivCYi','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','BQlar','teriZ','GCkIc','kMiwL','FTRfl','[AccessibilityModule]\x20_parseScriptsFromOptions:\x20scripts\x20parsed\x20and\x20persisted\x20to\x20commands.json','getParamsForScanForCli','\x20config','isfmN','performPageScan','QUIT','debug','../state/hookState','mCcJe','motrb','BROWSERSTACK_TESTHUB_JWT','name','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','isMobileWebSession','nXXTW','getTestFrameworkDetail','PdhCo','../state/automationFrameworkState','qPYhh','testInfo','patchSendMessageToServer','onBeforeExecute','setLogDisabledShown','ms\x20—\x20cache\x20never\x20populated\x20(','wMsPr','[AccessibilityModule]\x20onBeforeTest:\x20testcafe\x20path\x20—\x20platformSupported=','totalIssueCount','error','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','[App-A11y]\x20getAppAccessibilityResults:\x20Empty\x20response\x20from\x20binary','browserstack.accessibilityOptions.scannerVersion','ChromeExtension','accessibilityToken','RLFDY','Error\x20getting\x20script\x20by\x20name\x20','KEY_TEST_SCOPES','slice','loadDriverExecuteParams','DTHdO','getCurrentInstanceName','setAccessibilityToken','\x20accessibility\x20script\x20on\x20page','platformValidation','XBnAF','map','HHQBb','utf-8','Scan\x20result:\x20','getBuildId','XTRCH','getPlatformCaps','--headless','xprer','IKcwZ','MkaOm','LFNpk','[App-A11y]\x20Executing\x20synchronous\x20scan\x20script\x20for\x20command:\x20','getResultResponse','\x22\x20pid=',']\x20Accessibility\x20configuration\x20initialized\x20successfully','xMjRM','updateData','getTestDetails','uJDLY','present','test_tags','testAnalyticsId','LhcVR','SAVE_RESULTS','_centralAuthA11yConfig','onBeforeExecute:\x20command=','TrlvM','hgDId','../../../helpers/accessibility-automation/constants','platformName','PeeZQ','hex','KEY_INIT','centralAuthToken','appium:platformName','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','executeScript','replace','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','testRunId','null','MODULE_NAME','Performing\x20scan\x20before\x20getting\x20results\x20summary','PtCBj','JUgCp','getScriptByName','tZSjm','capabilities','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','Error\x20getting\x20capability\x20value\x20for\x20','\x20config\x20is\x20unusable:\x20','test_run_id','chromeOptions','nDSXH','xevqL','TlXRq','bCKpQ','performScanForCli','is_mobile_session','gxSzb','EvBUn','[AccessibilityModule]\x20onBeforeTest:\x20node-generic\x20—\x20platformSupported=','../../../helpers/helper','egWPX','bdiqj',',\x20testRunId=','\x20from\x20testIdentifier=','isAccessibilityAutomationSession','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','xieus','getAccessibility','keys','getCurrentAccessibilityStatus','../grpcClient',']\x20isEnabledTestcase\x20(','thTestRunUuid','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','scriptsList','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','MOCHA','on\x20non-BrowserStack\x20infrastructure\x20','srMcB','accessibilityConfig','MOBILE_SCANNING_DISABLED_WARNING','skipCDPConnectOverride','count=','true','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','../../../helpers/accessibility-automation/scripts','--headless=new','HlTgx','warn','getResults','getAccessibilityResultsSummary','EcDbQ','executeScriptByName:\x20No\x20','JiKdH','kWqNQ','applySendMessageToServerPatch','wcagVersion','OyvvU','getSuccess','sgcpY','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','KRBbN','stopTestCapture','Vpmzp','czwrW','__jestCurrentTestIdentifier','imBjI','jest','getResultsSummary','setAccessibilityConfig','\x22browserstack.key\x22:\x22[REDACTED]\x22','[AccessibilityModule]\x20isMobileScanningEnabledForGroup\x20cap\x20received:\x20raw=','xkvwp','__bstackA11yScanCapHit','size','wjbOP','evaluate','getPlatformIndex','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','parseA11yJwtPayload','qvcCm','mNTEB','format','OnRzv','getContext','Error\x20executing\x20script\x20','oSstO','get','commandsList','cVkTp','platformCaps','join','browserVersion','ARUJC','\x20script\x20available\x20in\x20scriptsList','executeScriptByName','PEKPN','resolveMobileThTestRunUuid','phPSi','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','QOnVW','NGgly','_pollUntilNonEmpty','toLowerCase','isArray','fyBgv','rLTgk','\x22browserstack.user\x22:\x22[REDACTED]\x22','GRmdk','XruzZ','getInstance','ZCAql','wONwc'];a112_0x12d2=function(){return _0xbcc4a;};return a112_0x12d2();}class AccessibilityModule extends BaseModule{static [a112_0x2616c5(0x2cb)]=AccessibilityModule[a112_0x2616c5(0x280)];static ['_centralAuthConfigFetched']=![];static [a112_0x2616c5(0x2ba)]={};constructor(_0x247e6d){const _0x598c42=a112_0x2616c5,_0x4ebc58={};_0x4ebc58[_0x598c42(0x2b1)]=_0x598c42(0x210),_0x4ebc58[_0x598c42(0x360)]=_0x598c42(0x281),_0x4ebc58[_0x598c42(0x26a)]='ACCESSIBILITY_INITIALIZED',_0x4ebc58[_0x598c42(0x2f3)]=_0x598c42(0x250),_0x4ebc58[_0x598c42(0x30c)]='testhub_build_uuid';const _0x5718e9=_0x4ebc58;super(),AutomationFramework[_0x598c42(0x25f)](AutomationFrameworkState['EXECUTE'],HookState['PRE'],this[_0x598c42(0x28a)][_0x598c42(0x1ef)](this)),AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState[_0x598c42(0x1cc)],this[_0x598c42(0x1c4)][_0x598c42(0x1ef)](this)),AutomationFramework[_0x598c42(0x25f)](AutomationFrameworkState[_0x598c42(0x27a)],HookState[_0x598c42(0x201)],this[_0x598c42(0x219)][_0x598c42(0x1ef)](this)),this[_0x598c42(0x226)]=!![],this[_0x598c42(0x2f4)]=_0x247e6d[_0x598c42(0x373)](),this['accessibility']=new Map(),this[_0x598c42(0x3d5)]=new Map(),this[_0x598c42(0x1d3)]=_0x247e6d[_0x598c42(0x1b3)]?.()||![],this[_0x598c42(0x2d1)]=[],this['_sendMessageServerPatchApplied']=![],this['_mobileScanningDisabledLogged']=![],this[_0x598c42(0x29d)](_0x247e6d[_0x598c42(0x25b)]()['getCapabilitiesList']());const _0x276358=CLIUtils['getTestFrameworkDetail'](),_0x2488cd=_0x276358&&[FRAMEWORKS[_0x598c42(0x220)],FRAMEWORKS[_0x598c42(0x2f1)]]['includes'](_0x276358['name']);_0x2488cd&&this['_parseScriptsFromOptions'](_0x247e6d[_0x598c42(0x25b)](),_0x5718e9['xMjRM']),logger['debug'](_0x5718e9[_0x598c42(0x360)]),this['KEY_INIT']=_0x5718e9['NZpgq'],this[_0x598c42(0x3b2)]=_0x5718e9[_0x598c42(0x2f3)],this[_0x598c42(0x383)]=_0x5718e9[_0x598c42(0x30c)];}['isEnabled'](){return this['isEnabled'];}[a112_0x2616c5(0x3a2)](){const _0x1a8f3a=a112_0x2616c5;return AccessibilityModule[_0x1a8f3a(0x2cb)];}[a112_0x2616c5(0x2ea)](){const _0x493813=a112_0x2616c5;return this[_0x493813(0x375)][_0x493813(0x324)](CLIUtils[_0x493813(0x29c)](),![]);}[a112_0x2616c5(0x20c)](){const _0x531f55=a112_0x2616c5;return this[_0x531f55(0x3d5)]['get'](CLIUtils[_0x531f55(0x29c)](),![]);}[a112_0x2616c5(0x28b)](_0x488bf8){const _0x5d1a25=a112_0x2616c5;this[_0x5d1a25(0x3d5)]['set'](CLIUtils['getCurrentInstanceName'](),_0x488bf8);}[a112_0x2616c5(0x304)](){const _0x2f10a7=a112_0x2616c5,_0x20acd8={'KiUdT':_0x2f10a7(0x2e6),'ibeLT':function(_0x24e5fb,_0xe61e72){return _0x24e5fb(_0xe61e72);},'ithSs':_0x2f10a7(0x361),'cxLxq':_0x2f10a7(0x39d),'xprer':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this[_0x2f10a7(0x1ec)]){logger[_0x2f10a7(0x27b)](_0x20acd8[_0x2f10a7(0x3cf)]);return;}try{const _0x3ee1c3=_0x20acd8['ibeLT'](require,_0x20acd8[_0x2f10a7(0x19e)]);_0x3ee1c3&&_0x3ee1c3[_0x2f10a7(0x289)]?(_0x3ee1c3[_0x2f10a7(0x289)](),this[_0x2f10a7(0x1ec)]=!![],logger['debug'](_0x20acd8['cxLxq'])):logger['debug'](_0x20acd8[_0x2f10a7(0x2a9)]);}catch(_0x43a216){logger[_0x2f10a7(0x27b)]('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util[_0x2f10a7(0x31f)](_0x43a216));}}[a112_0x2616c5(0x3c1)](_0x449827=null,_0x44a1de=null,_0x2ad8df=null){const _0x231b17=a112_0x2616c5,_0x226568={'DakmW':function(_0x23b10f,_0x591a89){return _0x23b10f&&_0x591a89;},'tbjTV':_0x231b17(0x345),'dIFwW':function(_0x27470b,_0x5a0cee){return _0x27470b(_0x5a0cee);},'PcIRe':_0x231b17(0x2e0),'OSnAi':_0x231b17(0x2ee),'qvcCm':_0x231b17(0x2c4),'loeje':function(_0xab2d72,_0x3f2177){return _0xab2d72===_0x3f2177;},'SVISE':_0x231b17(0x3a3),'LhcVR':_0x231b17(0x1d9),'bhUzr':function(_0x4004e1,_0x5b839b){return _0x4004e1!==_0x5b839b;},'GByOG':function(_0x3d75ae,_0x45c8d1){return _0x3d75ae!==_0x45c8d1;},'IIdAK':function(_0x30aee1,_0x57e137,_0x21f8cc){return _0x30aee1(_0x57e137,_0x21f8cc);},'kNEgP':function(_0x2c31e8,_0x125e8f){return _0x2c31e8(_0x125e8f);},'Qxqco':function(_0x4bc360,_0x43bf87){return _0x4bc360<_0x43bf87;},'yqZkQ':_0x231b17(0x3ee),'MiqqL':function(_0x455c33,_0x15247c){return _0x455c33===_0x15247c;},'yPogf':function(_0x5b088d,_0x128465){return _0x5b088d===_0x128465;},'NjICa':_0x231b17(0x2f8),'EcDbQ':function(_0x340934,_0x44fc3e){return _0x340934===_0x44fc3e;},'LoVAq':_0x231b17(0x3db),'EhZyq':function(_0x42ee78,_0x343e70){return _0x42ee78===_0x343e70;},'MaZRw':_0x231b17(0x395),'cRray':'goog:chromeOptions','cVkTp':_0x231b17(0x359),'nhgMW':function(_0x454a4){return _0x454a4();},'jSeMG':_0x231b17(0x2f2),'JUgCp':function(_0x56dd23,_0x551995){return _0x56dd23-_0x551995;},'syeZg':function(_0xb3e08,_0x105df1){return _0xb3e08(_0x105df1);},'aXsAL':function(_0x43f739,_0x119695){return _0x43f739>_0x119695;},'kzBoq':function(_0x2fddca,_0x4bee23){return _0x2fddca(_0x4bee23);},'PdhCo':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x226568['DakmW'](!_0x44a1de,!_0x2ad8df))return logger[_0x231b17(0x27b)](_0x226568[_0x231b17(0x39f)]),![];const {isUndefined:_0xecb9ac,isBrowserstackInfra:_0x4f4165}=_0x226568[_0x231b17(0x387)](require,_0x226568[_0x231b17(0x1d0)]);if(!accessibilityHelper[_0x231b17(0x2e5)]())return logger[_0x231b17(0x27b)](_0x226568[_0x231b17(0x34c)]),![];if(this['isAppAccessibility']){const _0xafc09b=(_0x44a1de[_0x231b17(0x2bf)]||_0x44a1de[_0x226568[_0x231b17(0x31d)]]||'')[_0x231b17(0x334)]();if(_0x226568[_0x231b17(0x1ad)](_0xafc09b,_0x226568[_0x231b17(0x193)])){const _0x3b3155=_0x44a1de[_0x226568[_0x231b17(0x2b8)]]||_0x44a1de[_0x231b17(0x1c8)];if(_0x226568['bhUzr'](_0x3b3155,undefined)&&_0x226568[_0x231b17(0x22d)](_0x3b3155,null)){const _0x1d4e6a=_0x226568['IIdAK'](parseInt,_0x226568[_0x231b17(0x387)](String,_0x3b3155)[_0x231b17(0x194)]('.')[0x0],0xa);if(!_0x226568[_0x231b17(0x1b6)](isNaN,_0x1d4e6a)&&_0x226568[_0x231b17(0x1a1)](_0x1d4e6a,0xb))return logger['warn']('isPlatformSupported:\x20App-A11y\x20requires\x20Android\x2011+.\x20Current\x20version:\x20'+_0x3b3155),![];}}return!![];}const _0x474c70=_0x44a1de['browserName']||_0x44a1de['browser'],_0x40335d=_0x44a1de['browserVersion']||_0x44a1de['browser_version'];if(!accessibilityHelper[_0x231b17(0x3a0)](_0x474c70))return logger[_0x231b17(0x2fd)](_0x226568[_0x231b17(0x369)]),![];if(accessibilityHelper['requiresChromeOptionsValidation'](_0x474c70))try{const _0x4d75fe=_0x44a1de[_0x231b17(0x242)],_0x1a610e=_0x226568[_0x231b17(0x381)](_0x4d75fe,!![])||_0x226568[_0x231b17(0x1f9)](_0x4d75fe,_0x226568[_0x231b17(0x35e)])||_0x226568[_0x231b17(0x300)](typeof _0x4d75fe,_0x226568[_0x231b17(0x36c)])&&_0x226568[_0x231b17(0x21c)](_0x4d75fe[_0x231b17(0x334)](),_0x226568[_0x231b17(0x35e)]);if(_0x1a610e)return logger['warn'](_0x226568[_0x231b17(0x3e2)]),![];const _0x2d65b2=_0x44a1de?.[_0x231b17(0x2d6)]?.['args']||_0x44a1de?.[_0x226568[_0x231b17(0x3c2)]]?.[_0x231b17(0x343)]||[];if(Array[_0x231b17(0x335)](_0x2d65b2)&&_0x2d65b2[_0x231b17(0x233)](_0x30ef7e=>typeof _0x30ef7e===_0x231b17(0x3db)&&(_0x30ef7e===_0x231b17(0x2a8)||_0x30ef7e[_0x231b17(0x224)]('--headless=')&&_0x30ef7e!==_0x231b17(0x2fb))))return logger['warn'](_0x226568[_0x231b17(0x3e2)]),![];}catch(_0x3c4fb8){logger['debug'](_0x231b17(0x192)+util[_0x231b17(0x31f)](_0x3c4fb8));}if(_0x226568[_0x231b17(0x22d)](_0x40335d,_0x226568[_0x231b17(0x326)])){const _0x5d0717=_0x226568['nhgMW'](_0x4f4165),_0x2cecec=accessibilityHelper[_0x231b17(0x253)](_0x474c70,_0x5d0717),_0x1365f9=accessibilityHelper[_0x231b17(0x237)](_0x474c70);if(!accessibilityHelper[_0x231b17(0x3d4)](_0x40335d,_0x2cecec)){const _0x4302b7=_0x5d0717?'':_0x226568[_0x231b17(0x246)],_0x1b3d9a=Number['isFinite'](_0x226568[_0x231b17(0x387)](parseFloat,_0x2cecec))?_0x226568[_0x231b17(0x2ce)](_0x226568['syeZg'](parseFloat,_0x2cecec),0x1):_0x2cecec;return logger[_0x231b17(0x2fd)](_0x231b17(0x2c8)+_0x1365f9+'\x20browser\x20version\x20greater\x20than\x20'+_0x1b3d9a+'\x20'+_0x4302b7+'.'),![];}}else{const _0x347d2d=_0x44a1de[_0x231b17(0x329)]||_0x44a1de[_0x231b17(0x3da)]||_0x44a1de['version'];if(_0x347d2d&&_0x226568[_0x231b17(0x22d)](_0x347d2d,_0x226568[_0x231b17(0x326)])&&!_0x226568[_0x231b17(0x20e)](_0x226568[_0x231b17(0x22a)](parseFloat,_0x347d2d),_0x226568[_0x231b17(0x22a)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x231b17(0x2fd)](_0x226568[_0x231b17(0x285)]),![];}return!![];}catch(_0xedfe7){return logger[_0x231b17(0x27b)]('Exception\x20in\x20isPlatformSupported:\x20'+_0xedfe7[_0x231b17(0x1ac)]),![];}}[a112_0x2616c5(0x358)](_0x40dff6=[],_0x3c3aa8,_0x43e323=a112_0x2616c5(0x357)){const _0x406b2c=a112_0x2616c5,_0x53a558={'uCoFD':function(_0x254b75,_0x41a785){return _0x254b75===_0x41a785;},'wMsPr':_0x406b2c(0x310),'TrlvM':function(_0x3f095c,_0x17e42d){return _0x3f095c||_0x17e42d;},'BQlar':function(_0xdbddc5,_0x523623){return _0xdbddc5===_0x523623;},'sYaFr':function(_0xe4bf0a,_0x13a270){return _0xe4bf0a===_0x13a270;},'AGdij':function(_0x40996b,_0x2b9c57){return _0x40996b&&_0x2b9c57;},'qPYhh':_0x406b2c(0x342),'aOGfC':function(_0x3427c2,_0x16679e){return _0x3427c2(_0x16679e);},'sgcpY':function(_0x573b73,_0x34e468){return _0x573b73>_0x34e468;}};try{const _0x5ef894=process[_0x406b2c(0x1c1)][_0x406b2c(0x38e)]?JSON['parse'](process['env'][_0x406b2c(0x38e)]):null;if(!_0x5ef894)return!![];const _0x218359=Array[_0x406b2c(0x335)](_0x5ef894['includeTagsInTestingScope'])?_0x5ef894[_0x406b2c(0x1c2)]:[],_0xbdf1d4=Array['isArray'](_0x5ef894[_0x406b2c(0x3bc)])?_0x5ef894[_0x406b2c(0x3bc)]:[];if(_0x53a558[_0x406b2c(0x1a9)](_0x43e323,_0x53a558[_0x406b2c(0x28d)])||_0x53a558[_0x406b2c(0x1a9)](_0x43e323,FRAMEWORKS[_0x406b2c(0x220)])){let _0x5f438d;Array['isArray'](_0x40dff6)?_0x5f438d=_0x40dff6['join']('\x20'):_0x5f438d=_0x53a558[_0x406b2c(0x2bc)](_0x40dff6,'');const _0x29590e=_0x9d67b9=>_0x43e323===FRAMEWORKS[_0x406b2c(0x220)]&&typeof _0x9d67b9==='string'?_0x9d67b9['replace'](/^@/,'')['toLowerCase']()[_0x406b2c(0x1da)]():_0x9d67b9,_0x1f696b=_0x53a558[_0x406b2c(0x270)](_0x43e323,FRAMEWORKS[_0x406b2c(0x220)])?_0x5f438d['toLowerCase']():_0x5f438d,_0x25473c=_0xbdf1d4[_0x406b2c(0x233)](_0x5ceab3=>_0x1f696b[_0x406b2c(0x202)](_0x29590e(_0x5ceab3))),_0x2fe643=_0x53a558[_0x406b2c(0x36a)](_0x218359[_0x406b2c(0x371)],0x0)||_0x218359[_0x406b2c(0x233)](_0x1d953e=>_0x1f696b[_0x406b2c(0x202)](_0x29590e(_0x1d953e))),_0x1b3221=_0x53a558[_0x406b2c(0x214)](!_0x25473c,_0x2fe643);return logger['debug']('[platform\x20-\x20'+(_0x3c3aa8?.['getPlatformIndex']?.()||_0x53a558[_0x406b2c(0x287)])+_0x406b2c(0x2ec)+_0x43e323+_0x406b2c(0x215)+_0x1b3221+_0x406b2c(0x3c8)+_0x5f438d+_0x406b2c(0x206)+JSON[_0x406b2c(0x19b)](_0x218359)+',\x20excludeTags='+JSON[_0x406b2c(0x19b)](_0xbdf1d4)),_0x1b3221;}const _0x21d9d8=Array[_0x406b2c(0x335)](_0x40dff6)?_0x40dff6:[];let _0x142658=![],_0x417967=_0x53a558[_0x406b2c(0x1a9)](_0x218359[_0x406b2c(0x371)],0x0);const _0x15016a=_0x19fcee=>typeof _0x19fcee==='string'?_0x19fcee['replace'](/^@/,'')['toLowerCase']()['trim']():_0x19fcee,_0x17cf43=new Set(_0x218359[_0x406b2c(0x2a1)](_0x15016a)),_0x3401aa=new Set(_0xbdf1d4[_0x406b2c(0x2a1)](_0x15016a));for(const _0x3b88cc of _0x21d9d8){const _0x1d6d25=_0x53a558['aOGfC'](_0x15016a,_0x3b88cc);_0x3401aa[_0x406b2c(0x1f1)](_0x1d6d25)&&(_0x142658=!![]),_0x53a558[_0x406b2c(0x308)](_0x17cf43[_0x406b2c(0x317)],0x0)&&_0x17cf43[_0x406b2c(0x1f1)](_0x1d6d25)&&(_0x417967=!![]);}const _0x56f9ea=_0x53a558[_0x406b2c(0x214)](_0x417967,!_0x142658);return logger[_0x406b2c(0x27b)](_0x406b2c(0x37e)+(_0x3c3aa8?.[_0x406b2c(0x31a)]?.()||_0x53a558[_0x406b2c(0x287)])+_0x406b2c(0x3bd)+_0x56f9ea+',\x20tags='+JSON['stringify'](_0x21d9d8)+_0x406b2c(0x206)+JSON[_0x406b2c(0x19b)](_0x218359)+',\x20excludeTags='+JSON[_0x406b2c(0x19b)](_0xbdf1d4)),_0x56f9ea;}catch(_0x1331c3){return logger['debug']('[platform\x20-\x20'+(_0x3c3aa8?.['getPlatformIndex']?.()||_0x53a558[_0x406b2c(0x287)])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x1331c3[_0x406b2c(0x1ac)]),![];}}async[a112_0x2616c5(0x1c4)](_0x387879){const _0x3be809=a112_0x2616c5,_0x2fe836={};_0x2fe836[_0x3be809(0x34e)]=function(_0x509d0e,_0x1d0843){return _0x509d0e!==_0x1d0843;},_0x2fe836['dfEIz']=_0x3be809(0x357),_0x2fe836[_0x3be809(0x25c)]=_0x3be809(0x310),_0x2fe836[_0x3be809(0x1a2)]=function(_0x146c95,_0x1b39e3){return _0x146c95!==_0x1b39e3;},_0x2fe836[_0x3be809(0x2d0)]='testcafe',_0x2fe836[_0x3be809(0x2d7)]=function(_0x2d0a5e,_0x49d18d){return _0x2d0a5e===_0x49d18d;},_0x2fe836[_0x3be809(0x33d)]=_0x3be809(0x2f8),_0x2fe836['PEKPN']=function(_0x5150c8,_0x47a5e7){return _0x5150c8&&_0x47a5e7;},_0x2fe836[_0x3be809(0x2fc)]='TEST_INIT',_0x2fe836[_0x3be809(0x2e7)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x2fe836['Niqul']=_0x3be809(0x35b),_0x2fe836['rLTgk']=_0x3be809(0x1f0),_0x2fe836[_0x3be809(0x26e)]=_0x3be809(0x1de),_0x2fe836[_0x3be809(0x3e7)]=_0x3be809(0x1b7),_0x2fe836[_0x3be809(0x336)]=function(_0x2b9bca,_0x11acdd){return _0x2b9bca>_0x11acdd;},_0x2fe836[_0x3be809(0x2a6)]=_0x3be809(0x1c9),_0x2fe836[_0x3be809(0x3a5)]=_0x3be809(0x2b6),_0x2fe836['XbpFG']=_0x3be809(0x342);const _0x2b4be4=_0x2fe836;if(_0x2b4be4[_0x3be809(0x34e)](_0x387879[_0x3be809(0x1a6)],_0x2b4be4[_0x3be809(0x35a)])&&_0x2b4be4['SVHqk'](_0x387879[_0x3be809(0x1a6)],_0x2b4be4[_0x3be809(0x25c)])&&_0x2b4be4['TfnmL'](_0x387879[_0x3be809(0x1a6)],_0x2b4be4[_0x3be809(0x2d0)])&&_0x2b4be4['SVHqk'](_0x387879['testFramework'],FRAMEWORKS['NODE_GENERIC'])){logger[_0x3be809(0x27b)](_0x3be809(0x211)+_0x387879['testFramework']+')');return;}try{const _0x5a3bee=AutomationFramework['getTrackedInstance'](),_0x3a8d18=TestFramework[_0x3be809(0x1bd)](),_0x1e1bd0=_0x387879['page']||global[_0x3be809(0x3a4)]?.['pwPage']||null;if(_0x2b4be4['nDSXH'](_0x387879['testFramework'],_0x2b4be4[_0x3be809(0x2d0)])){const _0x4cdf43=_0x387879[_0x3be809(0x327)]||_0x5a3bee&&_0x5a3bee[_0x3be809(0x2a7)]&&_0x5a3bee[_0x3be809(0x2a7)]()||_0x5a3bee&&_0x5a3bee['getCapabilities']&&_0x5a3bee[_0x3be809(0x267)]()||{},_0x52dceb=_0x387879[_0x3be809(0x20d)]||null,_0x50986b=this[_0x3be809(0x3c1)](_0x5a3bee,_0x4cdf43,_0x52dceb),_0x3f5228=CLIUtils['getCurrentInstanceName']();this[_0x3be809(0x375)][_0x3be809(0x368)](_0x3f5228,_0x50986b);global[_0x3be809(0x221)]?.[_0x3be809(0x321)]&&global[_0x3be809(0x221)][_0x3be809(0x321)]()[_0x3be809(0x1db)](_0x50986b);_0x50986b?(global['accessibilityPlatform']=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2b4be4[_0x3be809(0x33d)]):global[_0x3be809(0x257)]=![];logger['debug'](_0x3be809(0x28e)+_0x50986b);return;}if(_0x2b4be4[_0x3be809(0x2d7)](_0x387879[_0x3be809(0x1a6)],FRAMEWORKS[_0x3be809(0x220)])){const _0x31f93c=_0x387879[_0x3be809(0x265)]||{},_0x2a4961=_0x31f93c[TestFrameworkConstants[_0x3be809(0x298)]],_0x21034d=_0x31f93c[TestFrameworkConstants[_0x3be809(0x190)]]||'',_0xfabaf8=(Array[_0x3be809(0x335)](_0x2a4961)?_0x2a4961['concat'](_0x21034d)[_0x3be809(0x328)]('\x20'):_0x21034d)[_0x3be809(0x1da)](),_0x24dd35=_0x387879['platformCaps']||_0x5a3bee&&_0x5a3bee[_0x3be809(0x2a7)]&&_0x5a3bee[_0x3be809(0x2a7)]()||_0x5a3bee&&_0x5a3bee[_0x3be809(0x267)]&&_0x5a3bee['getCapabilities']()||{},_0x36e78c=this[_0x3be809(0x3c1)](_0x5a3bee,_0x24dd35,_0x387879[_0x3be809(0x20d)]||null),_0x51c662=this[_0x3be809(0x358)](_0xfabaf8,_0x5a3bee,FRAMEWORKS[_0x3be809(0x220)]),_0x55df76=_0x2b4be4[_0x3be809(0x32d)](_0x36e78c,_0x51c662),_0x2433e9=CLIUtils[_0x3be809(0x29c)]();this[_0x3be809(0x375)][_0x3be809(0x368)](_0x2433e9,_0x55df76);global[_0x3be809(0x221)]?.[_0x3be809(0x321)]&&global['Context'][_0x3be809(0x321)]()[_0x3be809(0x1db)](_0x55df76);_0x55df76?(global['accessibilityPlatform']=!![],process[_0x3be809(0x1c1)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2b4be4['wONwc'],this[_0x3be809(0x304)]()):global['accessibilityPlatform']=![];_0x3a8d18&&_0x3a8d18[_0x3be809(0x2b2)](_0x2b4be4[_0x3be809(0x2fc)],!![]);logger[_0x3be809(0x27b)](_0x3be809(0x2df)+_0x36e78c+',\x20testCaseEnabled='+_0x51c662+',\x20testName='+_0xfabaf8);return;}if(!_0x1e1bd0){_0x3a8d18&&_0x3a8d18[_0x3be809(0x2b2)](_0x2b4be4['HlTgx'],!![]);logger[_0x3be809(0x27b)](_0x2b4be4[_0x3be809(0x2e7)]);return;}logger[_0x3be809(0x27b)](_0x2b4be4[_0x3be809(0x377)]);const _0x396360=_0x3a8d18?.[_0x3be809(0x21a)](_0x2b4be4[_0x3be809(0x337)],![]),_0x16818c=_0x3a8d18?.[_0x3be809(0x21a)](_0x2b4be4['HlTgx'],![]);if(_0x2b4be4[_0x3be809(0x2d7)](_0x396360,![])&&_0x2b4be4[_0x3be809(0x2d7)](_0x16818c,![])){_0x3a8d18&&_0x3a8d18[_0x3be809(0x2b2)](_0x2b4be4['rLTgk'],!![]);logger[_0x3be809(0x27b)](_0x2b4be4[_0x3be809(0x26e)]);return;}_0x3a8d18&&_0x3a8d18[_0x3be809(0x2b2)](_0x2b4be4[_0x3be809(0x2fc)],!![]);let _0x163f85,_0x11fbcc;const _0x5cb6b8=_0x387879[_0x3be809(0x1a6)]||_0x2b4be4[_0x3be809(0x35a)];if(_0x2b4be4[_0x3be809(0x2d7)](_0x5cb6b8,_0x2b4be4[_0x3be809(0x25c)])){_0x11fbcc=_0x387879[_0x3be809(0x288)]?.[_0x3be809(0x2b7)]||_0x387879[_0x3be809(0x288)]?.['id']||global[_0x3be809(0x30e)]||global['__workerDetails']?.[_0x3be809(0x260)]?.['testAnalyticsId']||global[_0x3be809(0x3a4)]?.[_0x3be809(0x260)]?.['id'];const _0x4dca6b=_0x3a8d18?.[_0x3be809(0x1eb)]()?.[_0x3be809(0x324)](_0x11fbcc);if(_0x4dca6b&&_0x4dca6b[TestFrameworkConstants[_0x3be809(0x190)]])_0x163f85=_0x4dca6b[TestFrameworkConstants[_0x3be809(0x190)]];else{if(_0x387879[_0x3be809(0x288)]?.[_0x3be809(0x25d)])_0x163f85=_0x387879[_0x3be809(0x288)][_0x3be809(0x25d)];else global[_0x3be809(0x3a4)]?.[_0x3be809(0x260)]?.[_0x3be809(0x288)]?.['titlePath']?_0x163f85=global['__workerDetails'][_0x3be809(0x260)][_0x3be809(0x288)]['titlePath']:_0x163f85=_0x2b4be4[_0x3be809(0x3e7)];}logger[_0x3be809(0x27b)](_0x3be809(0x19c)+_0x11fbcc+_0x3be809(0x3c8)+JSON['stringify'](_0x163f85));}else{_0x11fbcc=this[_0x3be809(0x236)](_0x387879);const _0x156d85=TestInfo[_0x3be809(0x2b3)](_0x11fbcc);let _0x4d0b6c=[];if(_0x156d85&&Array[_0x3be809(0x335)](_0x156d85[_0x3be809(0x2b6)])&&_0x2b4be4[_0x3be809(0x336)](_0x156d85['test_tags'][_0x3be809(0x371)],0x0))_0x4d0b6c=_0x156d85['test_tags'];else{if(_0x3a8d18){const _0x3ee19e=_0x2b4be4[_0x3be809(0x2d7)](typeof _0x3a8d18[_0x3be809(0x21a)],_0x2b4be4[_0x3be809(0x2a6)])?_0x3a8d18[_0x3be809(0x21a)](_0x2b4be4[_0x3be809(0x3a5)],[]):_0x3a8d18[_0x3be809(0x2b6)]||[];Array['isArray'](_0x3ee19e)&&(_0x4d0b6c=_0x3ee19e);}}_0x163f85=_0x4d0b6c;}logger[_0x3be809(0x386)](_0x3be809(0x3ad)+JSON['stringify'](_0x163f85));const _0x2ff810=this['isPlatformSupported'](_0x5a3bee,_0x387879['platformCaps'],_0x387879[_0x3be809(0x20d)]);logger[_0x3be809(0x27b)](_0x3be809(0x376)+_0x2ff810+_0x3be809(0x21f)+this[_0x3be809(0x1d3)]);const _0x55bc75=this[_0x3be809(0x358)](_0x163f85,_0x5a3bee,_0x5cb6b8),_0x298210=_0x2b4be4[_0x3be809(0x32d)](_0x2ff810,_0x55bc75),_0x21c13e=CLIUtils[_0x3be809(0x29c)]();this[_0x3be809(0x375)][_0x3be809(0x368)](_0x21c13e,_0x298210),global[_0x3be809(0x221)]?.[_0x3be809(0x321)]&&global['Context'][_0x3be809(0x321)]()[_0x3be809(0x1db)](_0x298210),logger[_0x3be809(0x27b)](_0x3be809(0x37e)+(_0x5a3bee?.[_0x3be809(0x31a)]?.()||_0x2b4be4['XbpFG'])+_0x3be809(0x22e)+_0x298210),_0x298210?(global[_0x3be809(0x257)]=!![],process[_0x3be809(0x1c1)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2b4be4[_0x3be809(0x33d)],this[_0x3be809(0x304)]()):global[_0x3be809(0x257)]=![];}catch(_0x594c47){logger[_0x3be809(0x290)](_0x3be809(0x3dc)+(_0x594c47[_0x3be809(0x3e8)]||_0x594c47[_0x3be809(0x1ac)]));const _0x2494c2=CLIUtils[_0x3be809(0x29c)]();this['accessibility'][_0x3be809(0x368)](_0x2494c2,![]),global[_0x3be809(0x257)]=![];}}[a112_0x2616c5(0x38a)](){const _0x1d5e4d=a112_0x2616c5;return this[_0x1d5e4d(0x2d1)][_0x1d5e4d(0x367)](_0x402504=>_0x402504[_0x1d5e4d(0x346)]()==='goog:chromeOptions')?.[_0x1d5e4d(0x1ff)]()||'';}[a112_0x2616c5(0x1c5)](_0xcbd839){const _0x490de9=a112_0x2616c5;try{const _0x3e8c56=this[_0x490de9(0x2f4)]?.[_0x490de9(0x213)]?.[_0x490de9(0x1d6)]||[],_0x504261=_0x3e8c56[_0x490de9(0x367)](_0x36076a=>_0x36076a[_0x490de9(0x280)]===_0xcbd839);return _0x504261?_0x504261[_0x490de9(0x3b0)]:null;}catch(_0x1f1d25){return logger[_0x490de9(0x27b)](_0x490de9(0x2d3)+_0xcbd839+':\x20'+_0x1f1d25[_0x490de9(0x1ac)]),null;}}async[a112_0x2616c5(0x312)](_0x57f0ce,_0x85b802){const _0x2f2786=a112_0x2616c5,_0x2b87fb={};_0x2b87fb['VGZar']='a11y-config-rpc';const _0x126aaf=_0x2b87fb,_0x372be9=_0x57f0ce[_0x2f2786(0x2e8)]()['getOptions']();this[_0x2f2786(0x36d)](_0x372be9,_0x126aaf['VGZar']),this[_0x2f2786(0x2d1)]=_0x372be9[_0x2f2786(0x199)](),await this[_0x2f2786(0x29d)](this[_0x2f2786(0x2d1)],_0x85b802[_0x2f2786(0x20d)]);}[a112_0x2616c5(0x363)](_0x42cc14,_0x5cb97b){const _0x2ec046=a112_0x2616c5,_0x3cb35b={};_0x3cb35b[_0x2ec046(0x306)]=function(_0x16f775,_0x5c9c35){return _0x16f775===_0x5c9c35;},_0x3cb35b[_0x2ec046(0x271)]=_0x2ec046(0x3db);const _0x4ffb80=_0x3cb35b;try{const _0x48bca8=(_0x42cc14[_0x2ec046(0x199)]()||[])[_0x2ec046(0x367)](_0x130abe=>_0x130abe['getName']()===_0x2ec046(0x3ef));if(!_0x48bca8)return null;const _0x1ca522=_0x48bca8[_0x2ec046(0x1ff)]();if(!_0x1ca522)return null;const _0x490ca2=_0x4ffb80[_0x2ec046(0x306)](typeof _0x1ca522,_0x4ffb80[_0x2ec046(0x271)])?JSON[_0x2ec046(0x1d1)](_0x1ca522):_0x1ca522;return logger[_0x2ec046(0x27b)](_0x2ec046(0x218)+_0x5cb97b+_0x2ec046(0x277)),_0x490ca2;}catch(_0x48dd3c){return logger[_0x2ec046(0x27b)](_0x2ec046(0x384)+_0x5cb97b+_0x2ec046(0x2d4)+_0x48dd3c['message']),null;}}[a112_0x2616c5(0x36d)](_0x58f190,_0x5b4a5e){const _0x1431a0=a112_0x2616c5,_0x215143={};_0x215143[_0x1431a0(0x251)]=function(_0x4cad2c,_0x5881ab){return _0x4cad2c>_0x5881ab;},_0x215143[_0x1431a0(0x37c)]=_0x1431a0(0x275),_0x215143[_0x1431a0(0x273)]='[AccessibilityModule]\x20_parseScriptsFromOptions:\x20no\x20scripts\x20in\x20options';const _0x464505=_0x215143;try{const _0xb1b186=_0x58f190[_0x1431a0(0x34d)](),_0xe4dc7d=_0x58f190[_0x1431a0(0x254)]()?.['getCommandsList'](),_0x1d8649=this[_0x1431a0(0x363)](_0x58f190,_0x5b4a5e);_0x1d8649&&(scripts[_0x1431a0(0x294)]=_0x1d8649),_0xb1b186&&_0x464505[_0x1431a0(0x251)](_0xb1b186['length'],0x0)?(scripts['parseFromProto'](_0xb1b186,_0xe4dc7d),scripts[_0x1431a0(0x35d)](),logger[_0x1431a0(0x27b)](_0x464505[_0x1431a0(0x37c)])):logger[_0x1431a0(0x27b)](_0x464505[_0x1431a0(0x273)]);}catch(_0x26d5d8){logger[_0x1431a0(0x27b)](_0x1431a0(0x355)+_0x26d5d8[_0x1431a0(0x1ac)]);}}async[a112_0x2616c5(0x29d)](_0x5f498b,_0x48c11a={}){const _0x4aa010=a112_0x2616c5,_0x43f177={'hgDId':_0x4aa010(0x229),'CRezs':_0x4aa010(0x239),'xkvwp':function(_0x2a0951,_0x5e414e){return _0x2a0951===_0x5e414e;},'btxTj':_0x4aa010(0x295),'RlEja':function(_0x508da5,_0x25b1bd){return _0x508da5(_0x25b1bd);},'mEjlo':'crypto','OnRzv':_0x4aa010(0x39c),'TlXRq':_0x4aa010(0x2c1),'vQpow':function(_0x77bc01,_0x3c96bb){return _0x77bc01||_0x3c96bb;},'LAlhl':_0x4aa010(0x1ed),'roaZl':_0x4aa010(0x232),'VQcjH':_0x4aa010(0x2e0),'IgPlB':function(_0x381b84,_0xa21de){return _0x381b84(_0xa21de);},'FPzLV':function(_0x701002,_0x4b0cb5){return _0x701002===_0x4b0cb5;},'hHEZH':_0x4aa010(0x305),'JYZxd':_0x4aa010(0x1ca),'HLlst':function(_0x34f140,_0x46793b){return _0x34f140===_0x46793b;},'fQqvK':'scannerVersion','LgDwu':_0x4aa010(0x293),'gxSzb':_0x4aa010(0x385),'nXXTW':_0x4aa010(0x3d0),'phPSi':function(_0x1445f0,_0x37484f){return _0x1445f0===_0x37484f;},'DmLfU':_0x4aa010(0x3e0),'HiQcE':function(_0x391afa,_0x1b6388){return _0x391afa(_0x1b6388);},'VvqlM':function(_0x555eb5,_0x33b698){return _0x555eb5===_0x33b698;},'BOZQG':'true'};global['__accessibilityOptions']=global['__accessibilityOptions']||{};const _0x1c1035=Array['isArray'](_0x5f498b)?_0x5f498b[_0x4aa010(0x371)]:_0x43f177[_0x4aa010(0x2bd)];logger['debug']('[AccessibilityModule.setAccessibilityToken]\x20caps_count='+_0x1c1035+'\x20worker=\x22'+(process['env'][_0x4aa010(0x238)]||_0x43f177['CRezs'])+_0x4aa010(0x2af)+process[_0x4aa010(0x1ea)]);for(const _0x971d6f of _0x5f498b){logger[_0x4aa010(0x27b)]('[AccessibilityModule.setAccessibilityToken]\x20cap\x20name='+_0x971d6f[_0x4aa010(0x346)]());if(_0x43f177[_0x4aa010(0x315)](_0x971d6f['getName'](),_0x43f177[_0x4aa010(0x1dd)])){const _0x14f70b=_0x971d6f[_0x4aa010(0x1ff)](),_0x24360f=_0x14f70b?_0x43f177[_0x4aa010(0x262)](require,_0x43f177[_0x4aa010(0x344)])[_0x4aa010(0x19a)](_0x43f177[_0x4aa010(0x320)])[_0x4aa010(0x351)](_0x14f70b)[_0x4aa010(0x398)](_0x43f177[_0x4aa010(0x2d9)])[_0x4aa010(0x299)](0x0,0x8):'';logger[_0x4aa010(0x386)](_0x4aa010(0x1a3)+_0x43f177['vQpow'](_0x14f70b,'')[_0x4aa010(0x371)]+_0x4aa010(0x20b)+_0x24360f+_0x4aa010(0x1fb)+(process[_0x4aa010(0x1c1)][_0x4aa010(0x238)]||_0x43f177['CRezs'])+_0x4aa010(0x2af)+process[_0x4aa010(0x1ea)]),process['env'][_0x4aa010(0x34a)]=_0x14f70b,global[_0x4aa010(0x217)][_0x43f177[_0x4aa010(0x22b)]]=_0x14f70b;const _0x4b64f7=_0x43f177['RlEja'](require,_0x43f177[_0x4aa010(0x341)]),{isTrue:_0xf5dde4}=_0x43f177['RlEja'](require,_0x43f177[_0x4aa010(0x354)]),_0x84aa84=_0x4b64f7[_0x4aa010(0x31c)](_0x14f70b);_0x84aa84&&_0x43f177['IgPlB'](_0xf5dde4,_0x84aa84[_0x4aa010(0x2f6)])&&(process[_0x4aa010(0x1c1)][_0x4aa010(0x370)]=!![]);}else{if(_0x43f177[_0x4aa010(0x25a)](_0x971d6f[_0x4aa010(0x346)](),_0x43f177[_0x4aa010(0x1f8)]))global[_0x4aa010(0x217)][_0x43f177[_0x4aa010(0x3e1)]]=_0x971d6f[_0x4aa010(0x1ff)]();else{if(_0x43f177[_0x4aa010(0x3b8)](_0x971d6f[_0x4aa010(0x346)](),_0x43f177[_0x4aa010(0x266)]))global['__accessibilityOptions'][_0x43f177[_0x4aa010(0x191)]]=_0x971d6f[_0x4aa010(0x1ff)]();else{if(_0x43f177[_0x4aa010(0x315)](_0x971d6f[_0x4aa010(0x346)](),_0x43f177[_0x4aa010(0x2dd)]))global['__accessibilityOptions'][_0x43f177[_0x4aa010(0x283)]]=_0x971d6f[_0x4aa010(0x1ff)]();else{if(_0x43f177[_0x4aa010(0x32f)](_0x971d6f[_0x4aa010(0x346)](),_0x43f177[_0x4aa010(0x3be)])){const _0x540ea2=_0x971d6f[_0x4aa010(0x1ff)]();process[_0x4aa010(0x1c1)][_0x4aa010(0x1e9)]=_0x43f177['HiQcE'](String,_0x43f177['VvqlM'](_0x540ea2,!![])||_0x43f177['VvqlM'](_0x540ea2,_0x43f177['BOZQG'])),logger[_0x4aa010(0x27b)](_0x4aa010(0x314)+_0x540ea2+_0x4aa010(0x255)+process[_0x4aa010(0x1c1)][_0x4aa010(0x1e9)]);}}}}}}}async[a112_0x2616c5(0x219)](_0x3bf123){const _0x2cdda6=a112_0x2616c5,_0x931ee6={};_0x931ee6[_0x2cdda6(0x396)]=function(_0x5d0288,_0x233838){return _0x5d0288!==_0x233838;},_0x931ee6[_0x2cdda6(0x3a8)]='cucumber',_0x931ee6[_0x2cdda6(0x352)]=_0x2cdda6(0x310),_0x931ee6[_0x2cdda6(0x1e4)]='testcafe',_0x931ee6[_0x2cdda6(0x38f)]=_0x2cdda6(0x342);const _0x5e1026=_0x931ee6;if(_0x5e1026['FGKhz'](_0x3bf123[_0x2cdda6(0x1a6)],_0x5e1026[_0x2cdda6(0x3a8)])&&_0x5e1026[_0x2cdda6(0x396)](_0x3bf123['testFramework'],_0x5e1026[_0x2cdda6(0x352)])&&_0x5e1026['FGKhz'](_0x3bf123['testFramework'],_0x5e1026[_0x2cdda6(0x1e4)])&&_0x5e1026[_0x2cdda6(0x396)](_0x3bf123['testFramework'],FRAMEWORKS[_0x2cdda6(0x220)])){logger['debug'](_0x2cdda6(0x228)+_0x3bf123['testFramework']+')');return;}const _0x5f4044=_0x3bf123['testInfo']?.[_0x2cdda6(0x2b7)]||_0x3bf123['testInfo']?.['id']||global[_0x2cdda6(0x30e)];logger['info']('[AccessibilityModule]\x20onAfterTest:\x20framework='+_0x3bf123[_0x2cdda6(0x1a6)]+_0x2cdda6(0x365)+_0x5f4044);try{const _0x5edc6b=_0x3bf123[_0x2cdda6(0x397)]||AutomationFramework[_0x2cdda6(0x1bd)](),_0x260282=CLIUtils['getCurrentInstanceName'](),_0x5f1fe0=this[_0x2cdda6(0x2ea)]();logger[_0x2cdda6(0x27b)](_0x2cdda6(0x37e)+(_0x5edc6b?.[_0x2cdda6(0x31a)]?.()||_0x5e1026[_0x2cdda6(0x38f)])+']\x20onAfterTest\x20should\x20scan='+_0x5f1fe0),_0x5f1fe0&&await this[_0x2cdda6(0x30b)](_0x5edc6b,_0x3bf123),this[_0x2cdda6(0x375)][_0x2cdda6(0x19f)](_0x260282),this['LOG_DISABLED_SHOWN']['delete'](_0x260282);}catch(_0x47cf0e){logger['error'](_0x2cdda6(0x244)+(_0x47cf0e['stack']||_0x47cf0e[_0x2cdda6(0x1ac)]));}}async[a112_0x2616c5(0x30b)](_0x5b4cb3,_0x1b4163){const _0x28b38d=a112_0x2616c5,_0xe5adf5={};_0xe5adf5[_0x28b38d(0x3c0)]=function(_0x5f5b3f,_0x386f3e){return _0x5f5b3f===_0x386f3e;},_0xe5adf5[_0x28b38d(0x1c6)]=_0x28b38d(0x1c9),_0xe5adf5[_0x28b38d(0x1a7)]=_0x28b38d(0x310),_0xe5adf5[_0x28b38d(0x2a0)]=_0x28b38d(0x357),_0xe5adf5['MeGKZ']=_0x28b38d(0x3e6),_0xe5adf5[_0x28b38d(0x23e)]=_0x28b38d(0x375),_0xe5adf5[_0x28b38d(0x2d8)]=_0x28b38d(0x3c7),_0xe5adf5[_0x28b38d(0x272)]=_0x28b38d(0x342),_0xe5adf5[_0x28b38d(0x240)]=_0x28b38d(0x2b5),_0xe5adf5['AMcWy']=_0x28b38d(0x2ca),_0xe5adf5[_0x28b38d(0x331)]=function(_0x2819ab,_0x43ccf8){return _0x2819ab===_0x43ccf8;},_0xe5adf5[_0x28b38d(0x372)]=function(_0x407dfd,_0x25a09d){return _0x407dfd||_0x25a09d;},_0xe5adf5['JjniN']=function(_0x12f30b,_0x83ceea){return _0x12f30b||_0x83ceea;},_0xe5adf5['egWPX']=function(_0x4158cd,_0x321210){return _0x4158cd||_0x321210;},_0xe5adf5['jIjKM']=_0x28b38d(0x38b),_0xe5adf5[_0x28b38d(0x245)]=_0x28b38d(0x3a7),_0xe5adf5['boXOb']='NON_BROWSERSTACK_AUTOMATION_SESSIONS';const _0x1d0dd3=_0xe5adf5;try{const _0x5d8d98=_0x1b4163[_0x28b38d(0x1a6)]||(_0x1d0dd3[_0x28b38d(0x3c0)](this[_0x28b38d(0x1f2)]?.[_0x28b38d(0x280)]?.[_0x28b38d(0x334)](),_0x1d0dd3['aEEMC'])?_0x1d0dd3[_0x28b38d(0x1a7)]:_0x1d0dd3[_0x28b38d(0x2a0)]);let _0x6b71f7='',_0x550154=null,_0x5d7bd2=null;if(_0x1d0dd3[_0x28b38d(0x3c0)](_0x5d8d98,_0x1d0dd3[_0x28b38d(0x1a7)])){_0x550154=_0x1b4163['testInfo']?.[_0x28b38d(0x2b7)]||_0x1b4163[_0x28b38d(0x288)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x550154){logger[_0x28b38d(0x2fd)](_0x1d0dd3['MeGKZ']);return;}try{const _0x219669=await GrpcClient[_0x28b38d(0x33b)]()[_0x28b38d(0x1b2)](process[_0x28b38d(0x1c1)][_0x28b38d(0x1c7)],_0x1d0dd3[_0x28b38d(0x23e)],_0x1d0dd3['xevqL'],_0x550154),_0x45003d=AccessibilityModule[_0x28b38d(0x29a)](null,_0x219669);_0x6b71f7=_0x45003d?.['thTestRunUuid']||'',logger[_0x28b38d(0x27b)]('[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x6b71f7+'\x20from\x20testIdentifier='+_0x550154),_0x5d7bd2=_0x219669;}catch(_0x30de9b){logger[_0x28b38d(0x290)]('stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x30de9b['message']);return;}}else{const _0x766a6c=this[_0x28b38d(0x236)](_0x1b4163);_0x6b71f7=TestInfo[_0x28b38d(0x3e9)](_0x766a6c);}const _0x35d148=((()=>{const _0x540992=_0x28b38d,_0x4d063e=(this[_0x540992(0x2f4)]?.[_0x540992(0x213)]?.[_0x540992(0x1d6)]||[])[_0x540992(0x367)](_0x49d8a7=>(typeof _0x49d8a7[_0x540992(0x346)]===_0x540992(0x1c9)?_0x49d8a7['getName']():_0x49d8a7[_0x540992(0x280)])===this['KEY_TESTHUB_BUILD_ID']);return _0x4d063e?_0x1d0dd3['XWPVF'](typeof _0x4d063e[_0x540992(0x1ff)],_0x1d0dd3['CeEXP'])?_0x4d063e[_0x540992(0x1ff)]():_0x4d063e[_0x540992(0x3b0)]:'';})()),_0x5d6209=process['env'][_0x28b38d(0x27f)]||'';logger[_0x28b38d(0x27b)]('[platform\x20-\x20'+(_0x5b4cb3?.[_0x28b38d(0x31a)]?.()||_0x1d0dd3[_0x28b38d(0x272)])+_0x28b38d(0x1fa)+_0x6b71f7+'\x20testHubUuid='+_0x35d148+_0x28b38d(0x37a)+(_0x5d6209?_0x1d0dd3[_0x28b38d(0x240)]:_0x1d0dd3[_0x28b38d(0x389)]));let _0x401d83;if(_0x1d0dd3[_0x28b38d(0x331)](_0x5d8d98,_0x1d0dd3['aEEMC']))_0x401d83=AccessibilityModule[_0x28b38d(0x29a)](_0x6b71f7,_0x5d7bd2);else{const _0x5dfe72=await GrpcClient[_0x28b38d(0x33b)]()['fetchDriverExecuteParamsEvent'](process[_0x28b38d(0x1c1)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x1d0dd3[_0x28b38d(0x23e)],_0x1d0dd3['xevqL']);_0x401d83=AccessibilityModule[_0x28b38d(0x29a)](_0x6b71f7,_0x5dfe72);}logger[_0x28b38d(0x27b)](_0x28b38d(0x21d)+JSON['stringify'](_0x401d83));const _0x305db4=Object['assign']({},{'thTestRunUuid':_0x1d0dd3[_0x28b38d(0x372)](_0x6b71f7,''),'thBuildUuid':_0x1d0dd3[_0x28b38d(0x261)](_0x35d148,''),'thJwtToken':_0x1d0dd3[_0x28b38d(0x2e1)](_0x5d6209,'')},_0x401d83);!this[_0x28b38d(0x1d3)]&&this[_0x28b38d(0x282)]()&&(_0x305db4['is_mobile_session']=!![],logger[_0x28b38d(0x27b)](_0x1d0dd3[_0x28b38d(0x3cc)]));logger[_0x28b38d(0x27b)](_0x28b38d(0x26f)+_0x6b71f7+_0x28b38d(0x21f)+this[_0x28b38d(0x1d3)]);let _0x7d743e=global[_0x28b38d(0x3a4)]?.[_0x28b38d(0x23b)]||null;!_0x7d743e&&(_0x7d743e=AutomationFramework[_0x28b38d(0x207)](_0x5b4cb3,_0x1d0dd3[_0x28b38d(0x245)],null)),!_0x7d743e&&(_0x7d743e=AutomationFramework[_0x28b38d(0x207)](_0x5b4cb3,_0x1d0dd3['boXOb'],null)),await this[_0x28b38d(0x1bb)](this[_0x28b38d(0x2ea)](),_0x6b71f7,_0x7d743e,_0x305db4,this['isAppAccessibility']);}catch(_0xfa09bc){logger[_0x28b38d(0x290)](_0x28b38d(0x1a0)+(_0xfa09bc[_0x28b38d(0x3e8)]||_0xfa09bc[_0x28b38d(0x1ac)]));}}async[a112_0x2616c5(0x1bb)](_0x1d5945,_0xb15055,_0x210830,_0x4134e2,_0x131eed){const _0x11cb45=a112_0x2616c5,_0x36797d={};_0x36797d[_0x11cb45(0x30d)]='saveResults',_0x36797d[_0x11cb45(0x332)]=function(_0x1e8b20,_0x450502){return _0x1e8b20&&_0x450502;},_0x36797d[_0x11cb45(0x2a2)]=_0x11cb45(0x1b1),_0x36797d[_0x11cb45(0x399)]=function(_0x5e79b8,_0x1150d3){return _0x5e79b8===_0x1150d3;},_0x36797d['CNELW']=_0x11cb45(0x2ca),_0x36797d[_0x11cb45(0x36f)]=function(_0xe36e8e,_0x2082dc){return _0xe36e8e===_0x2082dc;},_0x36797d['PqwsW']=_0x11cb45(0x380),_0x36797d[_0x11cb45(0x1bc)]='Performing\x20scan\x20before\x20from\x20cli',_0x36797d[_0x11cb45(0x3a6)]='afterTestHook',_0x36797d[_0x11cb45(0x30f)]=_0x11cb45(0x23a),_0x36797d['YewcZ']='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x36797d['isfmN']='a11y:save-results',_0x36797d['uJDLY']=_0x11cb45(0x208);const _0x439288=_0x36797d;try{const _0x4d4e84=this[_0x11cb45(0x2cf)](_0x439288[_0x11cb45(0x30d)]);if(_0x439288[_0x11cb45(0x332)](!_0x131eed,!_0x4d4e84)){logger['debug'](_0x439288[_0x11cb45(0x2a2)]);return;}if(!_0xb15055||_0x439288[_0x11cb45(0x399)](_0xb15055,_0x439288[_0x11cb45(0x364)])||_0x439288['ASLlA'](_0xb15055,'')){logger[_0x11cb45(0x27b)](_0x439288[_0x11cb45(0x227)]);return;}logger[_0x11cb45(0x27b)](_0x11cb45(0x3ed)+JSON[_0x11cb45(0x19b)](_0x4134e2)),_0x1d5945&&(logger[_0x11cb45(0x27b)](_0x439288[_0x11cb45(0x1bc)]),await this[_0x11cb45(0x2db)](_0x210830,_0xb15055,_0x439288['iToKj'],_0x4134e2,_0x131eed,_0x439288['imBjI']),_0x439288[_0x11cb45(0x332)](!_0x131eed,_0x4d4e84)&&(logger[_0x11cb45(0x27b)](_0x439288['YewcZ']),await PerformanceTester[_0x11cb45(0x353)](_0x439288[_0x11cb45(0x278)],async()=>{const _0xbb9ae1=_0x11cb45;await this[_0xbb9ae1(0x2db)](_0x210830,_0xb15055,_0x439288['czwrW'],_0x4134e2,_0x131eed,_0x439288[_0xbb9ae1(0x30d)]);})()),logger[_0x11cb45(0x386)](_0x439288[_0x11cb45(0x2b4)]));}catch(_0x5304e0){logger['error'](_0x11cb45(0x2f0)+(_0x5304e0[_0x11cb45(0x3e8)]||_0x5304e0[_0x11cb45(0x1ac)]));}}async[a112_0x2616c5(0x28a)](_0x59df83){const _0x4dccef=a112_0x2616c5,_0x50ffb0={};_0x50ffb0[_0x4dccef(0x36e)]=function(_0x462b12,_0x2623b9){return _0x462b12!==_0x2623b9;},_0x50ffb0[_0x4dccef(0x259)]='cucumber',_0x50ffb0[_0x4dccef(0x1b9)]=function(_0x1ca1ce,_0x34f3e7){return _0x1ca1ce!==_0x34f3e7;},_0x50ffb0[_0x4dccef(0x3ab)]='jest',_0x50ffb0[_0x4dccef(0x19d)]=_0x4dccef(0x3eb),_0x50ffb0['nMBgJ']=function(_0x1b7239,_0x21c267){return _0x1b7239!==_0x21c267;},_0x50ffb0['GvGtx']=_0x4dccef(0x342),_0x50ffb0[_0x4dccef(0x3de)]=_0x4dccef(0x3dd),_0x50ffb0[_0x4dccef(0x1fc)]=function(_0x30d263,_0x850a47){return _0x30d263&&_0x850a47;},_0x50ffb0[_0x4dccef(0x21b)]=function(_0xd67a0d,_0x30c8c7){return _0xd67a0d===_0x30c8c7;},_0x50ffb0['DHLOM']='onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan',_0x50ffb0[_0x4dccef(0x38c)]=_0x4dccef(0x375),_0x50ffb0[_0x4dccef(0x37f)]=_0x4dccef(0x388),_0x50ffb0[_0x4dccef(0x1d8)]=function(_0x28b5b6,_0x3940f4){return _0x28b5b6===_0x3940f4;},_0x50ffb0[_0x4dccef(0x2ac)]=_0x4dccef(0x2d5),_0x50ffb0[_0x4dccef(0x3ea)]='testhub_build_uuid',_0x50ffb0[_0x4dccef(0x339)]=_0x4dccef(0x23a),_0x50ffb0[_0x4dccef(0x1d7)]=_0x4dccef(0x2ca);const _0xe17ca0=_0x50ffb0;if(_0xe17ca0[_0x4dccef(0x36e)](_0x59df83['testFramework'],_0xe17ca0['wnTgn'])&&_0xe17ca0['VeERS'](_0x59df83[_0x4dccef(0x1a6)],_0xe17ca0['PJNRz'])&&_0xe17ca0[_0x4dccef(0x36e)](_0x59df83[_0x4dccef(0x1a6)],_0xe17ca0[_0x4dccef(0x19d)])&&_0xe17ca0[_0x4dccef(0x3d8)](_0x59df83['testFramework'],FRAMEWORKS['NODE_GENERIC'])){logger['debug']('onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework\x20(got:\x20'+_0x59df83[_0x4dccef(0x1a6)]+')');return;}logger[_0x4dccef(0x27b)](_0x4dccef(0x2bb)+(_0x59df83[_0x4dccef(0x33e)]||_0xe17ca0['GvGtx'])+_0x4dccef(0x1a5)+_0x59df83[_0x4dccef(0x1a6)]);try{const _0x5b6143=_0x59df83[_0x4dccef(0x397)]||AutomationFramework['getTrackedInstance'](),_0x324eee=TestFramework['getTrackedInstance'](),_0x1f09f5=_0x59df83[_0x4dccef(0x33e)]||_0x59df83[_0x4dccef(0x241)]?.['getName']();if(!_0x1f09f5){logger[_0x4dccef(0x27b)](_0xe17ca0['SDvVn']);return;}if(!this[_0x4dccef(0x2ea)]()){logger[_0x4dccef(0x27b)]('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x1f09f5);return;}if(!this[_0x4dccef(0x350)](_0x1f09f5)){logger[_0x4dccef(0x27b)](_0x4dccef(0x21e)+_0x1f09f5+_0x4dccef(0x2c5));return;}const _0x4fcb62=_0x59df83[_0x4dccef(0x382)]||global[_0x4dccef(0x3a4)]?.[_0x4dccef(0x23b)],_0x52c7c1=_0x59df83[_0x4dccef(0x3b1)]||null;if(_0xe17ca0[_0x4dccef(0x1fc)](!_0x4fcb62,!_0x52c7c1)){logger[_0x4dccef(0x27b)](_0x4dccef(0x1e8)+_0x1f09f5);return;}let _0x57dca8='',_0x4124c2=null;if(_0xe17ca0[_0x4dccef(0x21b)](_0x59df83[_0x4dccef(0x1a6)],_0xe17ca0[_0x4dccef(0x3ab)])){_0x4124c2=_0x59df83['testInfo']?.['testAnalyticsId']||_0x59df83[_0x4dccef(0x288)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x4124c2){logger[_0x4dccef(0x2fd)](_0xe17ca0[_0x4dccef(0x3b9)]);return;}try{const _0x4f6485=await GrpcClient[_0x4dccef(0x33b)]()['fetchDriverExecuteParamsEvent'](process['env'][_0x4dccef(0x1c7)],_0xe17ca0[_0x4dccef(0x38c)],_0xe17ca0['Rjldp'],_0x4124c2),_0x4af147=AccessibilityModule[_0x4dccef(0x29a)](null,_0x4f6485);_0x57dca8=_0x4af147?.['thTestRunUuid']||'',logger[_0x4dccef(0x27b)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x57dca8+_0x4dccef(0x2e4)+_0x4124c2);}catch(_0x5c44b6){logger[_0x4dccef(0x290)](_0x4dccef(0x24c)+_0x5c44b6[_0x4dccef(0x1ac)]);return;}}else _0xe17ca0[_0x4dccef(0x1d8)](_0x59df83['testFramework'],FRAMEWORKS[_0x4dccef(0x220)])?_0x57dca8=_0x59df83[_0x4dccef(0x2c9)]||'':(_0x57dca8=this[_0x4dccef(0x1c5)](_0xe17ca0['LFNpk'])||'',!_0x57dca8&&this[_0x4dccef(0x282)]()&&(_0x57dca8=accessibilityHelper[_0x4dccef(0x32e)]()));const _0x3baa16=this[_0x4dccef(0x1c5)](_0xe17ca0[_0x4dccef(0x3ea)])||this[_0x4dccef(0x2f4)][this[_0x4dccef(0x383)]]||null,_0x24dbe7=process['env'][_0x4dccef(0x27f)]||'',_0x1deb89=this[_0x4dccef(0x276)](_0x1f09f5,_0x57dca8,_0x3baa16,_0x24dbe7),_0x4ba9fc=_0xe17ca0[_0x4dccef(0x1d8)](_0x59df83[_0x4dccef(0x1a6)],_0xe17ca0[_0x4dccef(0x3ab)])?await AccessibilityModule[_0x4dccef(0x223)](_0xe17ca0[_0x4dccef(0x339)],_0x57dca8,_0x4124c2):await AccessibilityModule[_0x4dccef(0x223)](_0xe17ca0['GRmdk'],_0x57dca8);logger[_0x4dccef(0x386)](_0x4dccef(0x1b8)+(_0x1deb89?JSON[_0x4dccef(0x19b)](_0x1deb89):_0xe17ca0[_0x4dccef(0x1d7)]));let _0x487b60=CLIUtils['mergeObject'](_0x1deb89,_0x4ba9fc);if(this[_0x4dccef(0x1d3)]){const _0x33035a=process['env'][_0x4dccef(0x34a)]||'';_0x487b60[_0x4dccef(0x2c3)]&&(_0x487b60[_0x4dccef(0x1df)]=_0x487b60[_0x4dccef(0x2c3)],delete _0x487b60[_0x4dccef(0x2c3)]),_0x487b60=Object[_0x4dccef(0x26c)]({},_0x487b60,{'authHeader':_0x487b60[_0x4dccef(0x1f7)]||_0x33035a,'method':_0x1f09f5,'scanTimestamp':Date[_0x4dccef(0x222)]()[_0x4dccef(0x3f0)]()});}logger['info']('MergedScanArgs:\x20'+(_0x487b60?JSON[_0x4dccef(0x19b)](_0x487b60):_0xe17ca0['sCjGd'])),logger[_0x4dccef(0x27b)](_0x4dccef(0x3d6)+_0x1f09f5);const _0x1c7fe8=this[_0x4dccef(0x1d3)]?_0x52c7c1:_0x4fcb62,_0x1214c0=await this[_0x4dccef(0x2db)](_0x1c7fe8,_0x57dca8,_0x1f09f5,_0x487b60,this[_0x4dccef(0x1d3)]);logger[_0x4dccef(0x27b)]('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x1f09f5+_0x4dccef(0x268)+JSON[_0x4dccef(0x19b)](_0x1214c0));}catch(_0x36016d){logger[_0x4dccef(0x290)](_0x4dccef(0x362)+(_0x36016d['stack']||_0x36016d['message']));}}['shouldScanCurrentTest'](){const _0x5b99fd=a112_0x2616c5;return this[_0x5b99fd(0x2ea)]();}[a112_0x2616c5(0x258)](_0x29b25e){const _0xe47f1c=a112_0x2616c5,_0x34fd8b=CLIUtils[_0xe47f1c(0x29c)]();this[_0xe47f1c(0x375)]['set'](_0x34fd8b,_0x29b25e);}async['initAccessibilityConfig'](_0x224b83){const _0x21d80f=a112_0x2616c5,_0x5480a4={};_0x5480a4[_0x21d80f(0x392)]=_0x21d80f(0x342);const _0x3833f2=_0x5480a4;try{const _0x25f87a=_0x224b83[_0x21d80f(0x397)]||AutomationFramework[_0x21d80f(0x1bd)](),_0x4cb159=_0x25f87a?.[_0x21d80f(0x21a)]?.()?.[_0x21d80f(0x324)]?.(this[_0x21d80f(0x2c2)])||![];if(_0x4cb159)return;PerformanceTester['start'](EVENTS[_0x21d80f(0x1f5)]);const _0x4d60ea=await GrpcClient[_0x21d80f(0x33b)]()[_0x21d80f(0x1a4)](_0x224b83);_0x4d60ea&&_0x4d60ea[_0x21d80f(0x2e8)]&&_0x4d60ea[_0x21d80f(0x2e8)]()&&_0x4d60ea[_0x21d80f(0x2e8)]()['getSuccess']()?(await this[_0x21d80f(0x1dc)](_0x4d60ea,_0x224b83),_0x25f87a?.[_0x21d80f(0x21a)]&&_0x25f87a['getData']()[_0x21d80f(0x368)](this['KEY_INIT'],!![]),logger[_0x21d80f(0x27b)]('[platform\x20-\x20'+(_0x25f87a?.['getPlatformIndex']?.()||_0x3833f2[_0x21d80f(0x392)])+_0x21d80f(0x2b0))):logger[_0x21d80f(0x27b)](_0x21d80f(0x37e)+(_0x25f87a?.[_0x21d80f(0x31a)]?.()||_0x3833f2[_0x21d80f(0x392)])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester[_0x21d80f(0x248)](EVENTS[_0x21d80f(0x1f5)]);}catch(_0x32f4df){PerformanceTester[_0x21d80f(0x248)](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x32f4df['message']),logger['error'](_0x21d80f(0x1c0)+(_0x32f4df[_0x21d80f(0x3e8)]||_0x32f4df['message']));}}async['loadAccessibilityConfig'](_0x54cd4a,_0x1dab99){const _0x4e497e=a112_0x2616c5;await this[_0x4e497e(0x312)](_0x54cd4a,_0x1dab99);const _0x3e5b13=_0x54cd4a[_0x4e497e(0x2e8)]()[_0x4e497e(0x25b)]();if(_0x3e5b13){const _0x4e6b08=_0x54cd4a['getTesthub']&&_0x54cd4a['getTesthub']();_0x4e6b08&&(this['accessibilityConfig'][this[_0x4e497e(0x383)]]=_0x4e6b08['getBuildId']&&_0x4e6b08[_0x4e497e(0x2a5)]());}}[a112_0x2616c5(0x350)](_0x279c4e){const _0x294549=a112_0x2616c5,_0x5a6196={};_0x5a6196[_0x294549(0x274)]=function(_0x12c34c,_0x348cd2){return _0x12c34c===_0x348cd2;};const _0x3a5168=_0x5a6196;try{if(!_0x279c4e)return![];const _0x1980d4=this[_0x294549(0x2f4)]?.['options']?.[_0x294549(0x3c9)]?.[_0x294549(0x325)]||[],_0x3af329=_0x1980d4['some'](_0x1f05d4=>{const _0x1ceaf8=_0x294549;return _0x1f05d4[_0x1ceaf8(0x280)]&&_0x3a5168[_0x1ceaf8(0x274)](_0x1f05d4[_0x1ceaf8(0x280)][_0x1ceaf8(0x334)](),_0x279c4e[_0x1ceaf8(0x334)]());});return logger[_0x294549(0x27b)](_0x294549(0x249)+_0x279c4e+_0x294549(0x1cf)+_0x3af329+_0x294549(0x35f)+JSON[_0x294549(0x19b)](_0x1980d4['map'](_0x4601b9=>_0x4601b9[_0x294549(0x280)]))),_0x3af329;}catch(_0x3ef65c){return logger[_0x294549(0x27b)](_0x294549(0x366)+_0x3ef65c['message']),![];}}['isBrowserstackScriptCommand'](_0x2f5de4){const _0x46a265=a112_0x2616c5,_0x510162={};_0x510162['HklhS']=function(_0xe5b78,_0x47df30){return _0xe5b78===_0x47df30;},_0x510162[_0x46a265(0x1e0)]=_0x46a265(0x3db),_0x510162[_0x46a265(0x3aa)]='browserstack_executor';const _0x17756d=_0x510162,_0x155f37=_0x2f5de4[_0x46a265(0x3ec)]&&_0x2f5de4[_0x46a265(0x3ec)]();return _0x155f37&&_0x17756d['HklhS'](typeof _0x155f37,_0x17756d[_0x46a265(0x1e0)])&&_0x155f37[_0x46a265(0x202)](_0x17756d[_0x46a265(0x3aa)]);}[a112_0x2616c5(0x347)](_0x206767){const _0x3255bb=a112_0x2616c5,_0x5650b2={};_0x5650b2[_0x3255bb(0x263)]=function(_0x5611e7,_0x19733a){return _0x5611e7!==_0x19733a;},_0x5650b2['lBEwg']=_0x3255bb(0x3db),_0x5650b2[_0x3255bb(0x3cd)]=_0x3255bb(0x375),_0x5650b2[_0x3255bb(0x3b7)]=_0x3255bb(0x388),_0x5650b2[_0x3255bb(0x39e)]=_0x3255bb(0x2fe),_0x5650b2['jCDkM']=_0x3255bb(0x203);const _0x3b462f=_0x5650b2,_0x4de75a=_0x206767['getScript']&&_0x206767[_0x3255bb(0x3ec)]();if(!_0x4de75a||_0x3b462f[_0x3255bb(0x263)](typeof _0x4de75a,_0x3b462f[_0x3255bb(0x348)]))return![];return _0x4de75a[_0x3255bb(0x202)](_0x3b462f[_0x3255bb(0x3cd)])||_0x4de75a[_0x3255bb(0x202)](_0x3b462f[_0x3255bb(0x3b7)])||_0x4de75a['includes'](_0x3b462f['bNnpZ'])||_0x4de75a[_0x3255bb(0x202)](_0x3b462f[_0x3255bb(0x256)]);}['isMobileWebSession'](){const _0x470cd7=a112_0x2616c5,_0x164a19={'XruzZ':function(_0x4907f9,_0x49f39c){return _0x4907f9===_0x49f39c;},'PtXOV':'function','qiVEZ':function(_0x5ceffc,_0x152f26){return _0x5ceffc(_0x152f26);},'motrb':_0x470cd7(0x2bf),'BUWlj':_0x470cd7(0x3ae),'UeVnJ':function(_0x488029,_0x26da21){return _0x488029(_0x26da21);},'aFEOH':_0x470cd7(0x3a3),'FNzok':_0x470cd7(0x24e)};try{const _0x57839b=this[_0x470cd7(0x2f4)]?.['options']?.['capabilitiesList']||[],_0x54cd2c=_0x4dd564=>{const _0x27a466=_0x470cd7,_0x1ec93e=_0x57839b[_0x27a466(0x367)](_0x5b8746=>(typeof _0x5b8746['getName']==='function'?_0x5b8746[_0x27a466(0x346)]():_0x5b8746[_0x27a466(0x280)])===_0x4dd564);return _0x1ec93e?_0x164a19['XruzZ'](typeof _0x1ec93e[_0x27a466(0x1ff)],_0x164a19[_0x27a466(0x1c3)])?_0x1ec93e['getValue']():_0x1ec93e[_0x27a466(0x3b0)]:null;},_0xc815fb=_0x164a19['qiVEZ'](_0x54cd2c,_0x164a19[_0x470cd7(0x27e)]),_0x591eb7=_0x164a19[_0x470cd7(0x23f)](_0x54cd2c,_0x164a19['BUWlj']),_0x44f459=global['isMobilePlatform']||_0xc815fb&&_0x164a19[_0x470cd7(0x33a)](_0x164a19[_0x470cd7(0x394)](String,_0xc815fb)['toLowerCase'](),_0x164a19[_0x470cd7(0x204)])&&_0x591eb7&&_0x164a19[_0x470cd7(0x394)](String,_0x591eb7)[_0x470cd7(0x334)]()[_0x470cd7(0x202)](_0x164a19['FNzok']);if(!_0x44f459)return![];if(!accessibilityHelper['isMobileScanningEnabledForGroup']())return!this[_0x470cd7(0x3d3)]&&(logger[_0x470cd7(0x2fd)](accessibilityHelper[_0x470cd7(0x2f5)]),this[_0x470cd7(0x3d3)]=!![]),![];return!![];}catch(_0x364c31){return logger[_0x470cd7(0x27b)](_0x470cd7(0x234)+_0x364c31[_0x470cd7(0x1ac)]),![];}}[a112_0x2616c5(0x276)](_0x18c63d,_0x33296a,_0x1d3c50,_0x524020){const _0xdf4714=a112_0x2616c5,_0x3a5b29={};_0x3a5b29[_0xdf4714(0x303)]=function(_0x29bcec,_0x2ec54a){return _0x29bcec||_0x2ec54a;},_0x3a5b29['BUznM']=function(_0x2746b7,_0x514a77){return _0x2746b7&&_0x514a77;},_0x3a5b29[_0xdf4714(0x3f1)]=function(_0x1c518f,_0x242ec8){return _0x1c518f||_0x242ec8;},_0x3a5b29[_0xdf4714(0x1ee)]=_0xdf4714(0x3b6);const _0x3153ef=_0x3a5b29;let _0x47e4b7=_0x3153ef[_0xdf4714(0x303)](_0x33296a,'');const _0x4a2829=!this[_0xdf4714(0x1d3)]&&this['isMobileWebSession']();_0x3153ef[_0xdf4714(0x379)](_0x4a2829,!_0x47e4b7)&&(_0x47e4b7=accessibilityHelper[_0xdf4714(0x32e)]());const _0x301a10={'command':_0x18c63d,'thTestRunUuid':_0x47e4b7,'thBuildUuid':_0x3153ef[_0xdf4714(0x303)](_0x1d3c50,''),'thJwtToken':_0x3153ef['mVUpN'](_0x524020,''),'timestamp':new Date()[_0xdf4714(0x35c)]()};return _0x4a2829&&(_0x301a10[_0xdf4714(0x2dc)]=!![],logger['debug'](_0x3153ef[_0xdf4714(0x1ee)])),_0x301a10;}[a112_0x2616c5(0x2cf)](_0x2e2689){const _0x11661e=a112_0x2616c5,_0xd1d85={};_0xd1d85[_0x11661e(0x3c3)]=function(_0x3a1f86,_0x544725){return _0x3a1f86||_0x544725;};const _0x4895bf=_0xd1d85;try{const _0x1f206f=this[_0x11661e(0x2f4)]?.[_0x11661e(0x213)]?.[_0x11661e(0x2ef)]||[],_0x354216=_0x1f206f['find'](_0x54d7a0=>_0x54d7a0['name']===_0x2e2689);return _0x4895bf[_0x11661e(0x3c3)](_0x354216,null);}catch(_0x12d7ff){return logger[_0x11661e(0x27b)](_0x11661e(0x297)+_0x2e2689+':\x20'+_0x12d7ff[_0x11661e(0x1ac)]),null;}}async[a112_0x2616c5(0x32c)](_0x481cff,_0x87ee4,_0x27b0d2=null){const _0xdfc2db=a112_0x2616c5,_0x2827be={'wjbOP':function(_0x49f596,_0x492914){return _0x49f596(_0x492914);},'jyuAf':_0xdfc2db(0x1af)};try{if(!_0x481cff)return logger[_0xdfc2db(0x27b)](_0xdfc2db(0x39a)+_0x87ee4),null;const _0x5238de=this[_0xdfc2db(0x2cf)](_0x87ee4);if(!_0x5238de||!_0x5238de[_0xdfc2db(0x241)])return logger['debug'](_0xdfc2db(0x301)+_0x87ee4+_0xdfc2db(0x1b4)),null;logger[_0xdfc2db(0x27b)](_0xdfc2db(0x3d1)+_0x87ee4+_0xdfc2db(0x29e));const _0x4e1ee5=_0x2827be[_0xdfc2db(0x318)](require,_0x2827be['jyuAf']),_0x254a78=_0x27b0d2?await _0x4e1ee5[_0xdfc2db(0x22f)](_0x481cff,_0x5238de['command'],_0x27b0d2):await _0x4e1ee5['browserStackEvaluate'](_0x481cff,_0x5238de[_0xdfc2db(0x241)]);return _0x254a78;}catch(_0x529c45){return logger[_0xdfc2db(0x290)](_0xdfc2db(0x322)+_0x87ee4+':\x20'+(_0x529c45['stack']||_0x529c45[_0xdfc2db(0x1ac)])),null;}}async[a112_0x2616c5(0x2db)](_0x4565f8,_0x56ded8,_0x16d2f5,_0x55296d,_0x5e80a8,_0x1e290d='scan'){const _0x24885d=a112_0x2616c5,_0x562a6b={'qkJzr':function(_0x510f9e,_0x5558db){return _0x510f9e===_0x5558db;},'mSyrO':_0x24885d(0x23a),'bCKpQ':function(_0x21d7a6,_0x53be01){return _0x21d7a6(_0x53be01);},'MkaOm':_0x24885d(0x1af)};try{logger[_0x24885d(0x27b)](_0x24885d(0x309)+_0x16d2f5+'\x20using\x20script:\x20'+_0x1e290d+',\x20isAppAccessibility='+_0x5e80a8);const _0x2c247f=this['getScriptByName'](_0x1e290d);if(!_0x2c247f||!_0x2c247f['command']){logger[_0x24885d(0x27b)]('performScanForCli:\x20No\x20'+_0x1e290d+_0x24885d(0x32b));return;}if(_0x5e80a8){if(_0x4565f8[BSTACK_SCAN_IN_PROGRESS]){logger[_0x24885d(0x27b)](_0x24885d(0x3df)+_0x16d2f5);return;}return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x24885d(0x1f3)],async()=>{const _0x1e8f92=_0x24885d;let _0x264393=_0x2c247f[_0x1e8f92(0x241)];_0x264393[_0x1e8f92(0x202)]('%s')&&(_0x264393=_0x264393['replace']('%s',JSON[_0x1e8f92(0x19b)](_0x55296d)));logger['debug'](_0x1e8f92(0x2ad)+_0x16d2f5),_0x4565f8[BSTACK_SCAN_IN_PROGRESS]=!![];try{const _0x40eabb=await _0x4565f8[_0x1e8f92(0x2c6)](_0x264393);return logger[_0x1e8f92(0x386)](_0x1e8f92(0x1f6)+_0x16d2f5+':\x20'+util[_0x1e8f92(0x31f)](_0x40eabb)),_0x40eabb;}finally{_0x4565f8[BSTACK_SCAN_IN_PROGRESS]=![];}},{'command':_0x16d2f5})();}if(_0x562a6b['qkJzr'](_0x1e290d,_0x562a6b[_0x24885d(0x243)])){const _0xb3bfe1=_0x562a6b['bCKpQ'](require,_0x562a6b[_0x24885d(0x2ab)]),_0x205dad={};_0x205dad[_0x24885d(0x241)]=_0x16d2f5;const _0x598091=await PerformanceTester[_0x24885d(0x353)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2009ab=_0x24885d;return await _0xb3bfe1[_0x2009ab(0x22f)](_0x4565f8,_0x2c247f[_0x2009ab(0x241)],_0x55296d);},_0x205dad)();return logger[_0x24885d(0x386)](_0x24885d(0x1cb)+_0x1e290d+_0x24885d(0x3b3)+_0x16d2f5+':\x20'+util[_0x24885d(0x31f)](_0x598091)),_0x598091;}const _0x4392b1=_0x562a6b[_0x24885d(0x2da)](require,_0x562a6b[_0x24885d(0x2ab)]),_0x2f2126=await PerformanceTester[_0x24885d(0x353)](PerformanceA11yEvents[_0x24885d(0x2b9)],async()=>{const _0x5ecbe2=_0x24885d;return await _0x4392b1[_0x5ecbe2(0x22f)](_0x4565f8,_0x2c247f[_0x5ecbe2(0x241)],_0x55296d);})();return logger[_0x24885d(0x386)](_0x24885d(0x1cb)+_0x1e290d+_0x24885d(0x3b3)+_0x16d2f5+':\x20'+util['format'](_0x2f2126)),_0x2f2126;}catch(_0x41a056){logger[_0x24885d(0x290)]('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0x1e290d+':\x20'+(_0x41a056['stack']||_0x41a056['message']));}}async[a112_0x2616c5(0x209)](_0x1b690d){const _0x1f16b2=a112_0x2616c5,_0x1e6116={'BDuSY':function(_0x120e95,_0x4ca14e){return _0x120e95(_0x4ca14e);},'DyWGX':_0x1f16b2(0x232)};try{const _0x45bc9a=_0x1e6116[_0x1f16b2(0x235)](require,_0x1e6116[_0x1f16b2(0x1b5)]);return await _0x45bc9a[_0x1f16b2(0x29f)](_0x1b690d);}catch(_0xf3a45f){return logger[_0x1f16b2(0x290)]('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0xf3a45f['stack']||_0xf3a45f[_0x1f16b2(0x1ac)])),![];}}[a112_0x2616c5(0x1e5)](_0x3b8413,_0x4ef795,_0x456417){const _0x460654=a112_0x2616c5,_0x34568a={'kwPIY':function(_0x70f6d5,_0x54695f){return _0x70f6d5(_0x54695f);},'PeeZQ':_0x460654(0x1af),'JiKdH':_0x460654(0x338),'EZrkz':_0x460654(0x313)};try{const _0x117308=_0x34568a[_0x460654(0x216)](require,_0x34568a[_0x460654(0x2c0)]);_0x117308['processAccessibilityCaps'](_0x3b8413,_0x4ef795,_0x456417);const _0xeb5161=JSON['stringify'](_0x3b8413)['replace'](/"browserstack\.user":"[^"]*"/g,_0x34568a[_0x460654(0x302)])[_0x460654(0x2c7)](/"browserstack\.key":"[^"]*"/g,_0x34568a[_0x460654(0x34f)]);logger[_0x460654(0x27b)](_0x460654(0x24f)+global[_0x460654(0x257)]+'\x20'+_0xeb5161);}catch(_0x14e837){logger['error'](_0x460654(0x3e4)+(_0x14e837[_0x460654(0x3e8)]||_0x14e837['message']));}}async[a112_0x2616c5(0x333)]({fetchFn:_0x2db4b6,isNonEmpty:_0x50e47a,resultDetail:_0xe64189,totalMs:_0x1d81ea,intervalMs:_0x3f4413,name:_0x305528}){const _0x55acf5=a112_0x2616c5,_0x188d0d={'ARUJC':function(_0x39b6e0,_0x36e1cf){return _0x39b6e0+_0x36e1cf;},'gGdIk':function(_0x497abf,_0x12e4ae){return _0x497abf<_0x12e4ae;},'fZQSG':function(_0xb78de5){return _0xb78de5();},'xhyoR':function(_0x210d14,_0x14b354){return _0x210d14(_0x14b354);},'oSizp':function(_0x1b9b9d,_0x5c9a84){return _0x1b9b9d(_0x5c9a84);},'ginoy':function(_0x59e0de,_0xc47888){return _0x59e0de>=_0xc47888;},'JVuVM':function(_0x5811f7,_0x4384e8){return _0x5811f7-_0x4384e8;},'GYJwb':function(_0x5698fc,_0x42395e){return _0x5698fc(_0x42395e);}},_0x4490cd=Date[_0x55acf5(0x222)](),_0x140791=_0x188d0d[_0x55acf5(0x32a)](_0x4490cd,_0x1d81ea);let _0x28348e=0x0,_0x32bf0a=null,_0x4150c0=![];while(_0x188d0d[_0x55acf5(0x374)](Date[_0x55acf5(0x222)](),_0x140791)){_0x28348e++,_0x32bf0a=await _0x188d0d['fZQSG'](_0x2db4b6),_0x4150c0=_0x188d0d['xhyoR'](_0x50e47a,_0x32bf0a),logger[_0x55acf5(0x27b)]('['+_0x305528+_0x55acf5(0x1d5)+_0x28348e+'\x20'+_0x188d0d['oSizp'](_0xe64189,_0x32bf0a));if(_0x4150c0)break;if(_0x188d0d[_0x55acf5(0x26d)](_0x188d0d[_0x55acf5(0x32a)](Date[_0x55acf5(0x222)](),_0x3f4413),_0x140791))break;await new Promise(_0x18cc94=>setTimeout(_0x18cc94,_0x3f4413));}return!_0x4150c0&&logger[_0x55acf5(0x2fd)]('['+_0x305528+']\x20polled\x20'+_0x28348e+'x\x20over\x20'+_0x188d0d[_0x55acf5(0x1fd)](Date[_0x55acf5(0x222)](),_0x4490cd)+_0x55acf5(0x28c)+_0x188d0d[_0x55acf5(0x1e7)](_0xe64189,_0x32bf0a)+');\x20returning\x20last\x20value'),_0x32bf0a;}async['getAppAccessibilityResults'](_0xdca828,_0x4e5114){const _0x6a0365=a112_0x2616c5,_0x11f629={};_0x11f629[_0x6a0365(0x1ae)]='getResults',_0x11f629[_0x6a0365(0x3d9)]=_0x6a0365(0x292),_0x11f629['oSstO']=_0x6a0365(0x2a3),_0x11f629[_0x6a0365(0x30a)]=_0x6a0365(0x3ba);const _0x23c3cc=_0x11f629;try{const _0x4d55de=process[_0x6a0365(0x1c1)][_0x6a0365(0x1c7)]||'';logger[_0x6a0365(0x386)]('[App-A11y]\x20getAppAccessibilityResults:\x20binSessionId='+_0x4d55de+_0x6a0365(0x2e3)+_0x4e5114+',\x20sessionId='+_0xdca828);const _0x1a38dc=await GrpcClient[_0x6a0365(0x33b)]()[_0x6a0365(0x264)](_0x4d55de,_0x4e5114,_0xdca828,_0x23c3cc['StmJR']);if(!_0x1a38dc||!_0x1a38dc[_0x6a0365(0x2ae)])return logger[_0x6a0365(0x2fd)](_0x23c3cc['uvUlq']),[];const _0x25588e=_0x1a38dc[_0x6a0365(0x2ae)](),_0x3c29b7=Buffer[_0x6a0365(0x24a)](_0x25588e)[_0x6a0365(0x3f0)](_0x23c3cc[_0x6a0365(0x323)])[_0x6a0365(0x1da)]();if(!_0x3c29b7)return logger[_0x6a0365(0x2fd)](_0x23c3cc[_0x6a0365(0x30a)]),[];return JSON[_0x6a0365(0x1d1)](_0x3c29b7);}catch(_0x1ff5c5){return logger[_0x6a0365(0x290)](_0x6a0365(0x393)+(_0x1ff5c5[_0x6a0365(0x3e8)]||_0x1ff5c5['message'])),[];}}async[a112_0x2616c5(0x378)](_0xada05e,_0x47ff58){const _0x100fd2=a112_0x2616c5,_0x401e64={};_0x401e64[_0x100fd2(0x3a1)]=_0x100fd2(0x311),_0x401e64[_0x100fd2(0x3a9)]=_0x100fd2(0x1ba),_0x401e64[_0x100fd2(0x1d2)]=_0x100fd2(0x2a3),_0x401e64[_0x100fd2(0x29b)]=_0x100fd2(0x205);const _0x4c46f5=_0x401e64;try{const _0x3f447f=process[_0x100fd2(0x1c1)][_0x100fd2(0x1c7)]||'';logger[_0x100fd2(0x386)](_0x100fd2(0x391)+_0x3f447f+_0x100fd2(0x2e3)+_0x47ff58+_0x100fd2(0x37b)+_0xada05e);const _0x58b400=await GrpcClient['getInstance']()[_0x100fd2(0x264)](_0x3f447f,_0x47ff58,_0xada05e,_0x4c46f5[_0x100fd2(0x3a1)]);if(!_0x58b400||!_0x58b400['getResultResponse'])return logger['warn'](_0x4c46f5[_0x100fd2(0x3a9)]),{};const _0x563d09=_0x58b400[_0x100fd2(0x2ae)](),_0x526661=Buffer['from'](_0x563d09)[_0x100fd2(0x3f0)](_0x4c46f5[_0x100fd2(0x1d2)])[_0x100fd2(0x1da)]();if(!_0x526661)return logger[_0x100fd2(0x2fd)](_0x4c46f5[_0x100fd2(0x29b)]),{};return JSON[_0x100fd2(0x1d1)](_0x526661);}catch(_0x2d7ffa){return logger[_0x100fd2(0x290)](_0x100fd2(0x3ca)+(_0x2d7ffa[_0x100fd2(0x3e8)]||_0x2d7ffa[_0x100fd2(0x1ac)])),{};}}async['getAccessibilityResults'](_0x52b29d){const _0x177586=a112_0x2616c5,_0x1453be={};_0x1453be[_0x177586(0x196)]=_0x177586(0x291),_0x1453be['mCcJe']=function(_0x173a27,_0x5a6baf){return _0x173a27>_0x5a6baf;},_0x1453be[_0x177586(0x33c)]=_0x177586(0x1ce);const _0x5b7259=_0x1453be;try{if(!this[_0x177586(0x2ea)]())return logger[_0x177586(0x2fd)](_0x5b7259[_0x177586(0x196)]),[];const _0x441bf1=this[_0x177586(0x282)]()?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x177586(0x32e)]()}:{};_0x5b7259[_0x177586(0x27d)](Object['keys'](_0x441bf1)[_0x177586(0x371)],0x0)&&logger[_0x177586(0x27b)](_0x177586(0x31b)+JSON[_0x177586(0x19b)](_0x441bf1));const _0x4a8224=await this['_pollUntilNonEmpty']({'fetchFn':()=>Object[_0x177586(0x2e9)](_0x441bf1)[_0x177586(0x371)]>0x0?this[_0x177586(0x32c)](_0x52b29d,'getResults',_0x441bf1):this[_0x177586(0x32c)](_0x52b29d,'getResults'),'isNonEmpty':_0x232af5=>Array['isArray'](_0x232af5)&&_0x232af5['length']>0x0,'resultDetail':_0x546fa4=>_0x177586(0x2f7)+(Array[_0x177586(0x335)](_0x546fa4)?_0x546fa4[_0x177586(0x371)]:-0x1),'totalMs':0xea60,'intervalMs':0x1388,'name':_0x5b7259[_0x177586(0x33c)]});return _0x4a8224||[];}catch(_0x19d127){return logger[_0x177586(0x290)](_0x177586(0x1e2)+(_0x19d127[_0x177586(0x3e8)]||_0x19d127[_0x177586(0x1ac)])),[];}}async[a112_0x2616c5(0x2ff)](_0x46b905){const _0x39f836=a112_0x2616c5,_0x2c4fb3={'XzBFF':function(_0x366145,_0x57b592,_0x34da64){return _0x366145(_0x57b592,_0x34da64);},'PtCBj':'scan','bdiqj':function(_0x2b76c7,_0x1df326){return _0x2b76c7(_0x1df326);},'SvXRj':_0x39f836(0x311),'hgXYX':_0x39f836(0x23c),'Hilco':'../cliUtils','mNTEB':function(_0x2a7c26,_0x58c8e4){return _0x2a7c26===_0x58c8e4;},'IKcwZ':_0x39f836(0x310),'ygNDq':_0x39f836(0x2d2),'WCBCH':'accessibility','RLFDY':_0x39f836(0x390),'cGJKs':_0x39f836(0x2ff),'JnlSp':_0x39f836(0x2d5),'zwCCw':_0x39f836(0x2cc),'ggUbM':_0x39f836(0x24d),'FiyuA':_0x39f836(0x3af),'TFUmL':_0x39f836(0x198),'gdeZa':function(_0x193a08,_0x3a5a81){return _0x193a08===_0x3a5a81;},'EvBUn':'object'};try{if(!this[_0x39f836(0x2ea)]())return logger[_0x39f836(0x2fd)](_0x2c4fb3[_0x39f836(0x231)]),{};const _0x3fda94=_0x2c4fb3[_0x39f836(0x2e2)](require,_0x2c4fb3['Hilco']),_0x4e0498=_0x3fda94[_0x39f836(0x284)](),_0x34191d=_0x2c4fb3[_0x39f836(0x31e)](_0x4e0498?.[_0x39f836(0x280)]?.[_0x39f836(0x334)](),_0x2c4fb3[_0x39f836(0x2aa)]);let _0x468ce0='',_0x5185c5=null,_0xcc4275=null;if(_0x34191d){_0x5185c5=global[_0x39f836(0x30e)]||global[_0x39f836(0x3a4)]?.[_0x39f836(0x260)]?.[_0x39f836(0x2b7)]||global[_0x39f836(0x3a4)]?.[_0x39f836(0x260)]?.['id'];if(!_0x5185c5)return logger[_0x39f836(0x2fd)](_0x2c4fb3[_0x39f836(0x225)]),{};try{const _0x2add1a=await GrpcClient['getInstance']()[_0x39f836(0x1b2)](process[_0x39f836(0x1c1)][_0x39f836(0x1c7)],_0x2c4fb3[_0x39f836(0x3e3)],_0x2c4fb3[_0x39f836(0x3cb)],_0x5185c5),_0x3d0cb3=AccessibilityModule[_0x39f836(0x29a)](null,_0x2add1a);_0x468ce0=_0x3d0cb3?.[_0x39f836(0x2ed)]||'',logger[_0x39f836(0x27b)](_0x39f836(0x2f9)+_0x468ce0+_0x39f836(0x2e4)+_0x5185c5);const _0x119390=await AccessibilityModule[_0x39f836(0x223)](_0x2c4fb3[_0x39f836(0x3cb)],_0x468ce0,_0x5185c5),_0x5ec34a=this[_0x39f836(0x1c5)](_0x2c4fb3[_0x39f836(0x296)])||this[_0x39f836(0x2f4)][this[_0x39f836(0x383)]]||null,_0x12fd2e=process[_0x39f836(0x1c1)][_0x39f836(0x27f)]||'',_0x2f08d7=this[_0x39f836(0x276)](_0x2c4fb3[_0x39f836(0x3bb)],_0x468ce0,_0x5ec34a,_0x12fd2e);_0xcc4275=_0x3fda94[_0x39f836(0x3b5)](_0x2f08d7,_0x119390),logger['debug'](_0x39f836(0x330)+JSON[_0x39f836(0x19b)](_0xcc4275));}catch(_0x3cdcf8){return logger[_0x39f836(0x290)](_0x39f836(0x1e1)+_0x3cdcf8[_0x39f836(0x1ac)]),{};}}else{_0x468ce0=this[_0x39f836(0x1c5)](_0x2c4fb3[_0x39f836(0x349)])||'';!_0x468ce0&&this['isMobileWebSession']()&&(_0x468ce0=accessibilityHelper[_0x39f836(0x32e)]());const _0x5c9a63=this[_0x39f836(0x1c5)](_0x2c4fb3[_0x39f836(0x296)])||this[_0x39f836(0x2f4)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x4ec396=process[_0x39f836(0x1c1)]['BROWSERSTACK_TESTHUB_JWT']||'';_0xcc4275=this[_0x39f836(0x276)](_0x2c4fb3[_0x39f836(0x3bb)],_0x468ce0,_0x5c9a63,_0x4ec396);}logger[_0x39f836(0x27b)](_0x2c4fb3[_0x39f836(0x1aa)]);const _0x521055=0x15f90,_0x246cdc=0x1388;try{await PerformanceTester[_0x39f836(0x353)](PerformanceA11yEvents[_0x39f836(0x1f3)],async()=>{const _0x366a58=_0x39f836,_0x57ccde=this[_0x366a58(0x32c)](_0x46b905,_0x2c4fb3[_0x366a58(0x2cd)],_0xcc4275);let _0x3430f9;const _0x3916d6=new Promise((_0x3eef94,_0xd7a07a)=>{const _0x3d005f=_0x366a58;_0x3430f9=_0x2c4fb3[_0x3d005f(0x1e3)](setTimeout,()=>_0xd7a07a(new Error(_0x3d005f(0x24b)+_0x521055+'ms')),_0x521055);});try{const _0x435b89=await Promise[_0x366a58(0x1f4)]([_0x57ccde,_0x3916d6]);logger[_0x366a58(0x27b)](_0x366a58(0x2a4)+util[_0x366a58(0x31f)](_0x435b89));}finally{_0x2c4fb3[_0x366a58(0x2e2)](clearTimeout,_0x3430f9);}},{'command':_0x2c4fb3[_0x39f836(0x3bb)]})();}catch(_0x56231b){logger['warn'](_0x39f836(0x1d4)+_0x56231b['message']+_0x39f836(0x1e6)),global[_0x39f836(0x316)]={'reason':_0x2c4fb3[_0x39f836(0x3ce)],'at':Date[_0x39f836(0x222)](),'where':_0x2c4fb3[_0x39f836(0x197)]},await new Promise(_0x4c0161=>setTimeout(_0x4c0161,_0x246cdc)),logger[_0x39f836(0x27b)]('[AccessibilityModule.getResultsSummary]\x20waited\x20'+_0x246cdc+_0x39f836(0x22c));}const _0x395b94=await this[_0x39f836(0x333)]({'fetchFn':()=>PerformanceTester[_0x39f836(0x353)](PerformanceA11yEvents[_0x39f836(0x1be)],async()=>{const _0x3a3765=_0x39f836;return await this[_0x3a3765(0x32c)](_0x46b905,_0x2c4fb3[_0x3a3765(0x3cb)],_0xcc4275);})(),'isNonEmpty':_0x150fcd=>_0x150fcd&&typeof _0x150fcd[_0x39f836(0x28f)]===_0x39f836(0x20f)&&_0x150fcd[_0x39f836(0x28f)]>0x0,'resultDetail':_0x2a4311=>'totalIssueCount='+(_0x2a4311&&typeof _0x2a4311[_0x39f836(0x28f)]===_0x39f836(0x20f)?_0x2a4311[_0x39f836(0x28f)]:-0x1),'totalMs':0xea60,'intervalMs':0x1388,'name':_0x2c4fb3[_0x39f836(0x197)]});if(!_0x395b94)return logger[_0x39f836(0x27b)](_0x2c4fb3[_0x39f836(0x356)]),{};return _0x2c4fb3[_0x39f836(0x252)](typeof _0x395b94,_0x2c4fb3[_0x39f836(0x2de)])&&global[_0x39f836(0x316)]&&(_0x395b94[_0x39f836(0x200)]=!![],_0x395b94['degradedReason']=global['__bstackA11yScanCapHit']['reason']),_0x395b94;}catch(_0x1b1bd){return logger[_0x39f836(0x290)]('Error\x20in\x20getAccessibilityResultsSummary:\x20'+(_0x1b1bd['stack']||_0x1b1bd['message'])),{};}}async[a112_0x2616c5(0x279)](_0xd487cd,_0x845925,_0x5375bf=null){const _0x370b4c=a112_0x2616c5,_0xd2785a={};_0xd2785a['EITQr']=_0x370b4c(0x34b),_0xd2785a[_0x370b4c(0x23d)]='performPageScan:\x20Script\x20is\x20null',_0xd2785a['sBsXa']='Executing\x20accessibility\x20script\x20on\x20page';const _0x24f23f=_0xd2785a;try{if(!_0xd487cd)return logger[_0x370b4c(0x27b)](_0x24f23f['EITQr']),null;if(!_0x845925)return logger['debug'](_0x24f23f['Ktajv']),null;logger['debug'](_0x24f23f[_0x370b4c(0x1bf)]);const _0x4f54f4=_0x5375bf?await _0xd487cd[_0x370b4c(0x319)](_0x845925,_0x5375bf):await _0xd487cd[_0x370b4c(0x319)](_0x845925);return _0x4f54f4;}catch(_0x1d3097){return logger[_0x370b4c(0x290)]('Error\x20in\x20performPageScan:\x20'+(_0x1d3097[_0x370b4c(0x3e8)]||_0x1d3097[_0x370b4c(0x1ac)])),null;}}static[a112_0x2616c5(0x29a)](_0x3475d0,_0x4a1378){const _0x5d08f8=a112_0x2616c5,_0x1ba672={};_0x1ba672[_0x5d08f8(0x269)]=_0x5d08f8(0x2a3);const _0x51d8c7=_0x1ba672,_0x196e00={};_0x196e00[_0x5d08f8(0x2ed)]=_0x3475d0;const _0x51b3d8=_0x196e00;let _0x506d29={};if(_0x4a1378[_0x5d08f8(0x307)]()&&_0x4a1378[_0x5d08f8(0x3c4)]())try{_0x506d29=JSON[_0x5d08f8(0x1d1)](Buffer[_0x5d08f8(0x24a)](_0x4a1378[_0x5d08f8(0x1cd)]())[_0x5d08f8(0x3f0)](_0x51d8c7[_0x5d08f8(0x269)]));}catch(_0x1ea24a){logger[_0x5d08f8(0x290)](_0x5d08f8(0x247)+_0x1ea24a[_0x5d08f8(0x1ac)]),_0x506d29={};}return CLIUtils[_0x5d08f8(0x3b5)](_0x51b3d8,_0x506d29);}static async[a112_0x2616c5(0x223)](_0x135e1b,_0x560517='',_0x104c92=null){const _0x366554=a112_0x2616c5,_0x3f3e77={};_0x3f3e77[_0x366554(0x26b)]='fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available',_0x3f3e77[_0x366554(0x38d)]=_0x366554(0x375);const _0x4ffe86=_0x3f3e77;try{if(!_0x104c92&&AccessibilityModule['_centralAuthConfigFetched'])return AccessibilityModule[_0x366554(0x2ba)];if(!process[_0x366554(0x1c1)][_0x366554(0x1c7)])return logger['error'](_0x4ffe86[_0x366554(0x26b)]),{};const _0x159ed7=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process[_0x366554(0x1c1)][_0x366554(0x1c7)],_0x4ffe86[_0x366554(0x38d)],_0x135e1b,_0x104c92),_0x314a48=_0x104c92?AccessibilityModule['loadDriverExecuteParams'](null,_0x159ed7)?.[_0x366554(0x2ed)]||_0x560517:_0x560517,_0x4b2d36=AccessibilityModule[_0x366554(0x29a)](_0x314a48,_0x159ed7);return!_0x104c92&&(AccessibilityModule[_0x366554(0x2ba)]=_0x4b2d36,AccessibilityModule[_0x366554(0x3bf)]=!![]),_0x4b2d36;}catch(_0x21eea0){return logger[_0x366554(0x290)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x135e1b+':\x20'+(_0x21eea0['stack']||_0x21eea0[_0x366554(0x1ac)])),{};}}};module['exports']=AccessibilityModule;
|
|
1
|
+
function a112_0x70e8(_0x535fbc,_0x41d1ef){const _0x1935dd=a112_0x1935();return a112_0x70e8=function(_0x70e845,_0x29f439){_0x70e845=_0x70e845-0xdb;let _0x1dac3a=_0x1935dd[_0x70e845];return _0x1dac3a;},a112_0x70e8(_0x535fbc,_0x41d1ef);}function a112_0x1935(){const _0x3f01d7=['loadAccessibilityConfig','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','GGJRU','../TestInfo.js','getData','YdiiZ','ijzEU','titlePath','performScanForCli:\x20No\x20','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','TNmdj','OJCkP','options','test_tags','[AccessibilityModule]\x20_parseScriptsFromOptions:\x20no\x20scripts\x20in\x20options','Error\x20in\x20processAccessibilityCaps:\x20','vpFtk',']\x20isEnabledTestcase\x20(cucumber)\x20result=','isMobileWebSession:\x20error\x20checking\x20driver\x20caps:\x20','performPageScan:\x20Page\x20is\x20null','RSDyj','KPKuq','../../../helpers/performance/constants.js','ChromeExtension','DzFTB','tjTMs','gOeEJ','browserStackEvaluate','fetchDriverExecuteParamsEvent','lFBYq','../framework/constants/testFrameworkConstants.js','ZPQBt','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework\x20(got:\x20','37hgzTAz',',\x20framework=','AccessibilityModule.getResultsSummary','[AccessibilityModule]\x20onBeforeTest:\x20testcafe\x20path\x20—\x20platformSupported=','../grpcClient','UsaiA','function','getAccessibilityResultsSummary','setAccessibilityConfig','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework\x20(got:\x20','getName','4404bLhUya','fcrkX','measureWrapper','instance','BS_A11Y_JWT','saveResults',']\x20clear\x20','_sendMessageServerPatchApplied','kEtYm','isArray','uuwrO','JEST_WORKER_ID','ZOKkX','fDIDl','CIsCZ','testFrameworkData','../../playwright/accessibility-helper','getValue','[AccessibilityModule]\x20_parseScriptsFromOptions:\x20failed\x20to\x20parse\x20scripts:\x20','utf-8','IrApl','OQLBI','gtxop','CpweQ','hIOsG',',\x20testName=','--headless','getInstance','getTrackedInstance','setAccessibilityToken','assign','getCommandsToWrap','../../../helpers/accessibility-automation/helper','initAccessibilityConfig','DLJSQ','WOfqv','fXeLu','--headless=new','appium:platformVersion','MUybu','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','getAccessibility','capabilitiesList','bjMBL','Performing\x20scan\x20before\x20from\x20cli','iECPT','getAccessibilityResults','isMobileWebSession','seZSF','ms\x20—\x20cache\x20never\x20populated\x20(','isBrowserSupportedForAccessibility','scannerVersion','fetchCentralAuthA11yConfig','MJthZ','jbNUI','sha256','\x20result\x20for\x20','SCAN_CAP_HIT','JVaEF','vxbmD','MFXeR','totalIssueCount','bkEWp','WsjCv','ScanArgs:\x20','IUetz','xXNmJ','getLogDisabledShown','browserstack.accessibilityOptions.wcagVersion','eQdYp','getAppAccessibilityResultsSummary','[AccessibilityModule]\x20onAfterTest:\x20framework=','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','pid','__bstackA11yScanCapHit','replace','wIQtC','slice','FzzgC','oSygj','some','USkTz','vOztf','capabilities','HksaS','isVersionSupported','is_mobile_session','STYVZ','RXbby','env','23639qxWEmt','EkcOR','getResultsSummary','getScriptByName','reason','thTestRunUuid','validatePlatformForAccessibility','qKWZU','getOptions','olpQz','args','uVNRr','../state/automationFrameworkState','processAccessibilityCaps','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','bAMGw','KEY_INIT','LKDtw','toLowerCase','platformCaps','4XWyImV','info','version','accessibilityResult','uJqvV','XJBJu','getScriptsList','qbRNw','EsYeJ','FUWqw','testFramework','jest','WemQS','excludeTagsInTestingScope','start','PyEXf','testAnalyticsId','getIsAppAccessibility',',\x20isAppAccessibility=','isPlatformSupported:\x20App-A11y\x20requires\x20Android\x2011+.\x20Current\x20version:\x20','QUIT','rtOpn','mDpLe','OlysF','WnTlP','ejoZQ','getAccessibilityExecuteParams','fClaj',',\x20testIdentifier=','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','getMinVersionForBrowser','YxzxH','TySiM','ZGIgf','../cliUtils','BoBqj','[AccessibilityModule.setAccessibilityToken]\x20caps_count=','AmqDY','rjRpW','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','Error\x20in\x20shouldScanForCommand:\x20','update','\x20testHubUuid=','wYdzE','EnZNo','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','getModuleName','has','browser_version','94626nXatXn','PevJf','toString','[App-A11y]\x20Scan\x20result\x20for\x20','chrome','[App-A11y]\x20getAppAccessibilityResults\x20error:\x20','Scan\x20result:\x20','thvZk','build-start','RHMGd','createHash','\x20script\x20available','\x20a11yToken=','resolveMobileThTestRunUuid','keys','[AccessibilityModule.getResultsSummary]\x20waited\x20','PRE','yMTHy','17274hNRJpe','getContext','qTvlO','domSY','setLogDisabledShown','Context','ElTrB','KfQXA',',\x20testCaseEnabled=','QJfWX','\x20worker=\x22',');\x20returning\x20last\x20value','tsmsR','riHBH',']\x20should\x20run\x20accessibility\x20value=','getCapabilitiesList','../../../helpers/accessibility-automation/constants','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','SKNMV','xzRdh','liwRl','dWcMG','performScan\x20capped\x20at\x20','KPzrD','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','tBbsC','./baseModule','KRubu','EnCLY','tknqG','performScan','skipCDPConnectOverride','_pollUntilNonEmpty','JHGOz','ysGNn','BROWSERSTACK_TEST_ACCESSIBILITY_YML','shouldScanForCommand:\x20','VfFqe','_mobileScanningDisabledLogged','nOxBX','eqWiQ','LbhJC','android','LOG_DISABLED_SHOWN','message','MrNVr','KAFxM','requiresChromeOptionsValidation','[App-A11y]\x20getAppAccessibilityResultsSummary:\x20binSessionId=',']\x20polled\x20','ZsQMM','MnVWV',',\x20sessionId=','NPwGl','setShouldScan','getScript','VRpPU','ACCESSIBILITY_INITIALIZED','dZDOz','find','browserstack.accessibilityOptions.scannerProcessingTimeout','isPlatformSupported','ZehUq','xDBlb','NON_BROWSERSTACK_AUTOMATION_SESSIONS','includes','pgtAZ','kSDPP','digest','pwPage','degradedReason','../../utils/constants.js','NODE_GENERIC','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','delete','SbPVv','onBeforeExecute:\x20command=','Error\x20applying\x20sendMessageToServer\x20patch:\x20','FDfxt','degraded','yOvhT','KEY_TESTHUB_BUILD_ID','getCurrentAccessibilityStatus','parse','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework\x20(got:\x20','Error\x20in\x20initAccessibilityConfig:\x20','getPlatformIndex','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','Performing\x20scan\x20before\x20getting\x20results\x20summary','oIXSy','accessibilityToken','testhub_build_uuid','rPJRR','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','nRqeq','[AccessibilityModule]\x20goog:chromeOptions\x20on\x20the\x20','driver','test_run_id','[App-A11y]\x20getAppAccessibilityResults:\x20Empty\x20response\x20from\x20binary','nFmyL','trim','PvOQr','iHgqQ','DRIVER_HAS_URL','warn','pSCUL','stack','isEnabled','NzRVl','\x20config','join','length','cFzQm','concat','CREATE','3470663ptKvAD','Error\x20in\x20getAccessibilityResultsSummary:\x20','executeScriptByName','value','lheaL','ybHMX','\x20config\x20is\x20unusable:\x20','\x22\x20pid=','not-array','toObject','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','[AccessibilityModule.getResultsSummary]\x20performScan\x20didn\x27t\x20complete\x20cleanly:\x20','\x20—\x20proceeding\x20to\x20fetch\x20cached\x20summary','onBeforeExecute','size','Gwbgp','\x20env=','getTestFrameworkDetail','Error\x20in\x20validatePlatformForAccessibility:\x20','8EelAmU','wcagVersion','KgUzd','UaAUw',',\x20includeTags=','2850065ZHVtKy','toISOString','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','debug','LZvuT','SwZrb','sGxHj','eFFFT','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','getSuccess',',\x20testRunId=','[App-A11y]\x20getAppAccessibilityResultsSummary\x20error:\x20','[App-A11y]\x20getAppAccessibilityResults:\x20binSessionId=',',\x20excludeTags=','mergeObject','QXtZk','Error\x20in\x20performPageScan:\x20','TfZEj','../../utils/playwright-patcher','executeScript','__accessibilityOptions','currentTest','goog:chromeOptions','getResults','gKRlc','commandsToWrap','isAccessibilityScriptCommand','xtghK','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','AIVWU','ZmEOR','YLwxx','iHkRM','getTestUUID','commandsList','204207AZlrpr','ATpZo','cWkcn','hasAccessibilityExecuteParams','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','performScanForCli','testInfo','TrackedInstance','qxwwA','EXECUTE','getResultResponse','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','aJhuI','Error\x20in\x20getAccessibilityResults:\x20','UOVwA','end','alPWa','test-tags-->\x20','true','string','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','Executing\x20','[platform\x20-\x20','parseFromProto','accessibilityPlatform',',\x20available\x20commands:\x20',']\x20onAfterTest\x20should\x20scan=','VToTG','platformName','hvcUJ',']\x20poll\x20attempt=','isMobileScanningEnabledForGroup','PsMca','error','centralAuthToken','GFEMf','count=','CWELZ','evaluate','Executing\x20accessibility\x20script\x20on\x20page','turlw','vSxMY','MOCHA','XLrCV','Error\x20in\x20performScanForCli\x20for\x20script\x20','getParamsForScanForCli:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session','authHeader','MODULE_NAME','_readChromeOptionsCapability','../framework/testFramework','browserstack.accessibilityOptions.authToken','on\x20non-BrowserStack\x20infrastructure\x20','getCapabilityValue','Page\x20','OLEiY','bind','TOjIS','[AccessibilityModule]\x20goog:chromeOptions\x20read\x20from\x20the\x20','_parseScriptsFromOptions','QiuOI','whZdC','[App-A11y]\x20getAppAccessibilityResults:\x20Empty\x20JSON\x20string\x20from\x20binary','VWCgT',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','parseA11yJwtPayload','testcafe','hex','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','[App-A11y]\x20getAppAccessibilityResultsSummary:\x20Empty\x20JSON\x20string\x20from\x20binary','page','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','shouldScanCurrentTest','vCZSQ','qYUpv','Processed\x20accessibility\x20caps\x20','getParamsForScanForCli','race','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','PERFORM_SCAN','EKOzD','totalIssueCount=','patchSendMessageToServer','appium:platformName','launchCaps','COcwg','ZLxmS',',\x20\x0a\x20','NdYrJ','VepIG',')\x20result=','KFPdU','../../../helpers/classLogger','ozyJs','isAccessibilityAutomationSession','getState','loadDriverExecuteParams','isAppAccessibility','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','browserName','\x20from\x20testIdentifier=','finishScanningForCli','__jestCurrentTestIdentifier','browserVersion','SAVE_RESULTS','a11y-config-rpc','scan','_centralAuthA11yConfig','headless','applySendMessageToServerPatch','browser','Error\x20getting\x20capability\x20value\x20for\x20','accessibilityConfig','joyCB','cOtpl','getBuildId','getCommandsList','isMobilePlatform','JmsFd','XPjdh','ybiTB','onBeforeExecute:\x20No\x20command\x20name\x20provided','HcyDj','accessibility','xTiHE','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','present','yDBrd','RXmiU','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','MergedScanArgs:\x20','wVsRW',',\x20tags=','getPlatformCaps','gFvzd','registerObserver','LrvkR','util','toJson','DUXCm','AWOlx','getTestId','zAyvP','wWxeV','__workerDetails','includeTagsInTestingScope','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','wvAnC','centralAuthHeader','THWZI','uhMRY','getAppAccessibilityResults',']\x20Accessibility\x20configuration\x20initialized\x20successfully','QiNqt','command','runjH','KEY_TEST_NAME','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','name','number','FScPn','xmcXe','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','--headless=','format','YtSIE','null','Error\x20executing\x20script\x20','commandName','platformVersion','main','\x20browser\x20version\x20greater\x20than\x20','cgjXi','onAfterTest','zdAWO','updateData','a11y:save-results','WEoJV','getAllData','get','onBeforeTest','../state/hookState','onBeforeExecute:\x20Neither\x20page\x20nor\x20driver\x20available\x20for\x20command\x20','stringify','SdROM','mcthq','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','xwfGF','../../../helpers/helper','map','Exception\x20in\x20isPlatformSupported:\x20','cucumber','BROWSERSTACK_CLI_BIN_SESSION_ID','isEnabledTestcase','getGoogleChromeOptions','XJQih','exports','Pkbsn','27vrQxMw','cCjXQ','AQEIb','getCurrentInstanceName','SDK_ACCESSIBILITY_CONFIG','from','platformValidation','now','[AccessibilityModule]\x20_parseScriptsFromOptions:\x20scripts\x20parsed\x20and\x20persisted\x20to\x20commands.json','pQbYQ','gktUI','OyMwZ','set','afterTestHook','SoQPf','ms\x20after\x20cap;\x20proceeding\x20to\x20getResultsSummary','../../../helpers/accessibility-automation/scripts','xqseZ','getCapabilities','unknown','cfrwg','BROWSERSTACK_TESTHUB_JWT','CdHHj','shouldScanForCommand','126510MrecYE','getAccessibilityConfig','isPlatformSupported:\x20caps\x20are\x20null','lyjmk','vtuKB','KEY_TEST_SCOPES','_centralAuthConfigFetched','FQlCp'];a112_0x1935=function(){return _0x3f01d7;};return a112_0x1935();}const a112_0x40a947=a112_0x70e8;(function(_0x2d0f59,_0x44357d){const _0xc99529=a112_0x70e8,_0x5621ef=_0x2d0f59();while(!![]){try{const _0x2834ad=parseInt(_0xc99529(0x1f8))/0x1*(-parseInt(_0xc99529(0x2b4))/0x2)+-parseInt(_0xc99529(0xf0))/0x3*(parseInt(_0xc99529(0x271))/0x4)+parseInt(_0xc99529(0x33f))/0x5+-parseInt(_0xc99529(0x2a2))/0x6+-parseInt(_0xc99529(0x327))/0x7*(parseInt(_0xc99529(0x33a))/0x8)+-parseInt(_0xc99529(0x1b7))/0x9*(parseInt(_0xc99529(0x1cf))/0xa)+parseInt(_0xc99529(0x25d))/0xb*(parseInt(_0xc99529(0x203))/0xc);if(_0x2834ad===_0x44357d)break;else _0x5621ef['push'](_0x5621ef['shift']());}catch(_0x243d10){_0x5621ef['push'](_0x5621ef['shift']());}}}(a112_0x1935,0x66e95));const BaseModule=require(a112_0x40a947(0x2ce)),{createClassLogger}=require(a112_0x40a947(0x14d)),CLIUtils=require(a112_0x40a947(0x293)),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a112_0x40a947(0x123)),AutomationFrameworkState=require(a112_0x40a947(0x269)),HookState=require(a112_0x40a947(0x1a6)),GrpcClient=require(a112_0x40a947(0x1fc)),scripts=require(a112_0x40a947(0x1c7)),logger=createClassLogger(a112_0x40a947(0xf7)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a112_0x40a947(0x1ed)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,BSTACK_SCAN_IN_PROGRESS}=require(a112_0x40a947(0x2c4)),{nestedKeyValue,isUndefined}=require(a112_0x40a947(0x1ad)),util=require(a112_0x40a947(0x17a)),TestInfo=require(a112_0x40a947(0x1da)),TestFrameworkConstants=require(a112_0x40a947(0x1f5)),accessibilityHelper=require('../../../helpers/accessibility-automation/helper'),{FRAMEWORKS}=require(a112_0x40a947(0x2fb));class AccessibilityModule extends BaseModule{static [a112_0x40a947(0x121)]=AccessibilityModule[a112_0x40a947(0x18f)];static [a112_0x40a947(0x1d5)]=![];static [a112_0x40a947(0x15c)]={};constructor(_0x3bcca2){const _0x5e6eaa=a112_0x40a947,_0x33ebf6={};_0x33ebf6['UsaiA']=_0x5e6eaa(0x2aa),_0x33ebf6['VepIG']='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x33ebf6['ybiTB']=_0x5e6eaa(0x2ed),_0x33ebf6[_0x5e6eaa(0x1ef)]=_0x5e6eaa(0x31b),_0x33ebf6[_0x5e6eaa(0x1eb)]='testhub_build_uuid';const _0x422f62=_0x33ebf6;super(),AutomationFramework['registerObserver'](AutomationFrameworkState[_0x5e6eaa(0xf9)],HookState[_0x5e6eaa(0x2b2)],this[_0x5e6eaa(0x334)][_0x5e6eaa(0x129)](this)),AutomationFramework['registerObserver'](AutomationFrameworkState[_0x5e6eaa(0x326)],HookState['POST'],this[_0x5e6eaa(0x1a5)][_0x5e6eaa(0x129)](this)),AutomationFramework[_0x5e6eaa(0x178)](AutomationFrameworkState[_0x5e6eaa(0x285)],HookState[_0x5e6eaa(0x2b2)],this[_0x5e6eaa(0x19e)][_0x5e6eaa(0x129)](this)),this[_0x5e6eaa(0x31f)]=!![],this['accessibilityConfig']=_0x3bcca2[_0x5e6eaa(0x330)](),this[_0x5e6eaa(0x16c)]=new Map(),this['LOG_DISABLED_SHOWN']=new Map(),this[_0x5e6eaa(0x152)]=_0x3bcca2[_0x5e6eaa(0x282)]?.()||![],this[_0x5e6eaa(0x256)]=[],this[_0x5e6eaa(0x20a)]=![],this['_mobileScanningDisabledLogged']=![],this[_0x5e6eaa(0x220)](_0x3bcca2['getOptions']()[_0x5e6eaa(0x2c3)]());const _0x511d96=CLIUtils[_0x5e6eaa(0x338)](),_0x276852=_0x511d96&&[FRAMEWORKS['NODE_GENERIC'],FRAMEWORKS[_0x5e6eaa(0x11c)]][_0x5e6eaa(0x2f5)](_0x511d96[_0x5e6eaa(0x18f)]);_0x276852&&this[_0x5e6eaa(0x12c)](_0x3bcca2[_0x5e6eaa(0x265)](),_0x422f62[_0x5e6eaa(0x1fd)]),logger['debug'](_0x422f62[_0x5e6eaa(0x14a)]),this[_0x5e6eaa(0x26d)]=_0x422f62[_0x5e6eaa(0x169)],this['KEY_DRIVER_HAS_URL']=_0x422f62['DzFTB'],this[_0x5e6eaa(0x305)]=_0x422f62[_0x5e6eaa(0x1eb)];}[a112_0x40a947(0x31f)](){return this['isEnabled'];}[a112_0x40a947(0x29f)](){return AccessibilityModule['MODULE_NAME'];}[a112_0x40a947(0x306)](){const _0x404803=a112_0x40a947;return this[_0x404803(0x16c)][_0x404803(0x1a4)](CLIUtils['getCurrentInstanceName'](),![]);}[a112_0x40a947(0x246)](){const _0xff811c=a112_0x40a947;return this[_0xff811c(0x2df)]['get'](CLIUtils[_0xff811c(0x1ba)](),![]);}[a112_0x40a947(0x2b8)](_0x41f1a9){const _0x496332=a112_0x40a947;this['LOG_DISABLED_SHOWN']['set'](CLIUtils[_0x496332(0x1ba)](),_0x41f1a9);}[a112_0x40a947(0x15e)](){const _0x5b7fec=a112_0x40a947,_0x2c6020={'bkEWp':_0x5b7fec(0x24b),'ATpZo':function(_0x200c57,_0x1acb77){return _0x200c57(_0x1acb77);},'ZehUq':_0x5b7fec(0xde),'TNmdj':'Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','eQdYp':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this[_0x5b7fec(0x20a)]){logger[_0x5b7fec(0x342)](_0x2c6020[_0x5b7fec(0x241)]);return;}try{const _0x529217=_0x2c6020[_0x5b7fec(0xf1)](require,_0x2c6020[_0x5b7fec(0x2f2)]);_0x529217&&_0x529217[_0x5b7fec(0x143)]?(_0x529217[_0x5b7fec(0x143)](),this[_0x5b7fec(0x20a)]=!![],logger[_0x5b7fec(0x342)](_0x2c6020[_0x5b7fec(0x1e1)])):logger[_0x5b7fec(0x342)](_0x2c6020[_0x5b7fec(0x248)]);}catch(_0x13ddcd){logger[_0x5b7fec(0x342)](_0x5b7fec(0x301)+util[_0x5b7fec(0x195)](_0x13ddcd));}}[a112_0x40a947(0x2f1)](_0x11a411=null,_0x28ef4d=null,_0x502159=null){const _0x222b27=a112_0x40a947,_0x66ce0b={'wVsRW':function(_0x12f7ed,_0x26d5ae){return _0x12f7ed&&_0x26d5ae;},'VfFqe':_0x222b27(0x1d1),'riHBH':function(_0x4c1b07,_0x591504){return _0x4c1b07(_0x591504);},'xXNmJ':_0x222b27(0x1ad),'iECPT':_0x222b27(0xe9),'cWkcn':_0x222b27(0x144),'EKOzD':function(_0x5e9679,_0x26805c){return _0x5e9679===_0x26805c;},'XuFXo':'android','ysGNn':_0x222b27(0x229),'eFFFT':function(_0x53e171,_0x57690e){return _0x53e171!==_0x57690e;},'RXbby':function(_0x40b9bb,_0x38ec69,_0x5bda79){return _0x40b9bb(_0x38ec69,_0x5bda79);},'dZDOz':function(_0xb88b27,_0x21a0ac){return _0xb88b27(_0x21a0ac);},'vSxMY':function(_0x2162fe,_0x3f0a2e){return _0x2162fe<_0x3f0a2e;},'Gapxx':_0x222b27(0x138),'Pkbsn':function(_0x8ed11e,_0x29d885){return _0x8ed11e===_0x29d885;},'QJfWX':_0x222b27(0x104),'THWZI':_0x222b27(0x105),'thvZk':function(_0x37adf1,_0x20f6b3){return _0x37adf1===_0x20f6b3;},'wIQtC':_0x222b27(0x28e),'QiuOI':_0x222b27(0xe2),'whZdC':'latest','NrQRw':function(_0x597320){return _0x597320();},'VToTG':_0x222b27(0x125),'EnZNo':function(_0x1c7c92,_0x29adde){return _0x1c7c92-_0x29adde;},'vtuKB':function(_0xadf2a9,_0x5c1ac8){return _0xadf2a9!==_0x5c1ac8;},'yDBrd':function(_0x1751c3,_0x15334e){return _0x1751c3>_0x15334e;},'alPWa':function(_0x14f7d0,_0x46520a){return _0x14f7d0(_0x46520a);},'eqWiQ':_0x222b27(0x16e)};try{if(_0x66ce0b[_0x222b27(0x174)](!_0x28ef4d,!_0x502159))return logger[_0x222b27(0x342)](_0x66ce0b[_0x222b27(0x2d9)]),![];const {isUndefined:_0x3eb963,isBrowserstackInfra:_0x103918}=_0x66ce0b['riHBH'](require,_0x66ce0b[_0x222b27(0x245)]);if(!accessibilityHelper[_0x222b27(0x14f)]())return logger['debug'](_0x66ce0b[_0x222b27(0x230)]),![];if(this[_0x222b27(0x152)]){const _0x4dc019=(_0x28ef4d[_0x222b27(0x10e)]||_0x28ef4d[_0x66ce0b[_0x222b27(0xf2)]]||'')['toLowerCase']();if(_0x66ce0b[_0x222b27(0x141)](_0x4dc019,_0x66ce0b['XuFXo'])){const _0x4355d9=_0x28ef4d[_0x66ce0b[_0x222b27(0x2d6)]]||_0x28ef4d[_0x222b27(0x19a)];if(_0x66ce0b['eFFFT'](_0x4355d9,undefined)&&_0x66ce0b[_0x222b27(0x346)](_0x4355d9,null)){const _0x382a4a=_0x66ce0b[_0x222b27(0x25b)](parseInt,_0x66ce0b[_0x222b27(0x2ee)](String,_0x4355d9)['split']('.')[0x0],0xa);if(!_0x66ce0b['dZDOz'](isNaN,_0x382a4a)&&_0x66ce0b[_0x222b27(0x11b)](_0x382a4a,0xb))return logger[_0x222b27(0x31c)](_0x222b27(0x284)+_0x4355d9),![];}}return!![];}const _0xfa801a=_0x28ef4d[_0x222b27(0x154)]||_0x28ef4d[_0x222b27(0x15f)],_0x468e34=_0x28ef4d[_0x222b27(0x158)]||_0x28ef4d[_0x222b27(0x2a1)];if(!accessibilityHelper[_0x222b27(0x235)](_0xfa801a))return logger[_0x222b27(0x31c)](_0x66ce0b['Gapxx']),![];if(accessibilityHelper[_0x222b27(0x2e3)](_0xfa801a))try{const _0x584195=_0x28ef4d[_0x222b27(0x15d)],_0x462148=_0x66ce0b[_0x222b27(0x141)](_0x584195,!![])||_0x66ce0b[_0x222b27(0x1b6)](_0x584195,_0x66ce0b[_0x222b27(0x2bd)])||_0x66ce0b[_0x222b27(0x141)](typeof _0x584195,_0x66ce0b[_0x222b27(0x186)])&&_0x66ce0b[_0x222b27(0x2a9)](_0x584195[_0x222b27(0x26f)](),_0x66ce0b[_0x222b27(0x2bd)]);if(_0x462148)return logger[_0x222b27(0x31c)](_0x66ce0b['wIQtC']),![];const _0x33f2f5=_0x28ef4d?.['chromeOptions']?.[_0x222b27(0x267)]||_0x28ef4d?.[_0x66ce0b[_0x222b27(0x12d)]]?.['args']||[];if(Array[_0x222b27(0x20c)](_0x33f2f5)&&_0x33f2f5[_0x222b27(0x253)](_0x1f1a5e=>typeof _0x1f1a5e===_0x222b27(0x105)&&(_0x1f1a5e===_0x222b27(0x21d)||_0x1f1a5e['startsWith'](_0x222b27(0x194))&&_0x1f1a5e!==_0x222b27(0x228))))return logger[_0x222b27(0x31c)](_0x66ce0b[_0x222b27(0x24f)]),![];}catch(_0x5182cb){logger[_0x222b27(0x342)]('Error\x20checking\x20headless\x20capability:\x20'+util['format'](_0x5182cb));}if(_0x66ce0b['eFFFT'](_0x468e34,_0x66ce0b[_0x222b27(0x12e)])){const _0x328ee9=_0x66ce0b['NrQRw'](_0x103918),_0x5dff5a=accessibilityHelper[_0x222b27(0x28f)](_0xfa801a,_0x328ee9),_0xbbd6bb=accessibilityHelper['getBrowserDisplayName'](_0xfa801a);if(!accessibilityHelper[_0x222b27(0x258)](_0x468e34,_0x5dff5a)){const _0x23ce5a=_0x328ee9?'':_0x66ce0b[_0x222b27(0x10d)],_0x5b88ce=Number['isFinite'](_0x66ce0b[_0x222b27(0x2c1)](parseFloat,_0x5dff5a))?_0x66ce0b[_0x222b27(0x29d)](_0x66ce0b['riHBH'](parseFloat,_0x5dff5a),0x1):_0x5dff5a;return logger[_0x222b27(0x31c)](_0x222b27(0x18e)+_0xbbd6bb+_0x222b27(0x19c)+_0x5b88ce+'\x20'+_0x23ce5a+'.'),![];}}else{const _0x391be8=_0x28ef4d[_0x222b27(0x158)]||_0x28ef4d['browser_version']||_0x28ef4d[_0x222b27(0x273)];if(_0x391be8&&_0x66ce0b[_0x222b27(0x1d3)](_0x391be8,_0x66ce0b[_0x222b27(0x12e)])&&!_0x66ce0b[_0x222b27(0x170)](_0x66ce0b[_0x222b27(0x102)](parseFloat,_0x391be8),_0x66ce0b[_0x222b27(0x2ee)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x222b27(0x31c)](_0x66ce0b[_0x222b27(0x2dc)]),![];}return!![];}catch(_0x3bcfda){return logger[_0x222b27(0x342)](_0x222b27(0x1af)+_0x3bcfda['message']),![];}}[a112_0x40a947(0x1b2)](_0x59de81=[],_0x2420a,_0x3d7591=a112_0x40a947(0x1b0)){const _0x1e9122=a112_0x40a947,_0x3baa00={'uVNRr':function(_0x270aef,_0x51208c){return _0x270aef===_0x51208c;},'lyjmk':_0x1e9122(0x27c),'JVaEF':function(_0x2ef88b,_0x30d03c){return _0x2ef88b===_0x30d03c;},'ijzEU':function(_0x205039,_0x4caa92){return _0x205039||_0x4caa92;},'NzRVl':function(_0x55f77b,_0x1280b1){return _0x55f77b===_0x1280b1;},'ElTrB':function(_0x1c63a2,_0x37e158){return _0x1c63a2===_0x37e158;},'mDpLe':function(_0x4375db,_0x28d234){return _0x4375db&&_0x28d234;},'NPwGl':_0x1e9122(0x1ca),'MdMFK':function(_0x477ab2,_0x834fc7){return _0x477ab2(_0x834fc7);},'xDBlb':function(_0x52b619,_0x2400fb){return _0x52b619>_0x2400fb;},'YdiiZ':function(_0x915362,_0x439a9e){return _0x915362&&_0x439a9e;}};try{const _0x4aefbe=process[_0x1e9122(0x25c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']?JSON[_0x1e9122(0x307)](process[_0x1e9122(0x25c)][_0x1e9122(0xfd)]):null;if(!_0x4aefbe)return!![];const _0x1af8e2=Array[_0x1e9122(0x20c)](_0x4aefbe[_0x1e9122(0x182)])?_0x4aefbe[_0x1e9122(0x182)]:[],_0x501ef3=Array[_0x1e9122(0x20c)](_0x4aefbe[_0x1e9122(0x27e)])?_0x4aefbe[_0x1e9122(0x27e)]:[];if(_0x3baa00[_0x1e9122(0x268)](_0x3d7591,_0x3baa00[_0x1e9122(0x1d2)])||_0x3baa00[_0x1e9122(0x23d)](_0x3d7591,FRAMEWORKS[_0x1e9122(0x2fc)])){let _0x4d3deb;Array[_0x1e9122(0x20c)](_0x59de81)?_0x4d3deb=_0x59de81[_0x1e9122(0x322)]('\x20'):_0x4d3deb=_0x3baa00[_0x1e9122(0x1dd)](_0x59de81,'');const _0x1e1b93=_0xebe45b=>_0x3d7591===FRAMEWORKS[_0x1e9122(0x2fc)]&&typeof _0xebe45b==='string'?_0xebe45b['replace'](/^@/,'')[_0x1e9122(0x26f)]()[_0x1e9122(0x318)]():_0xebe45b,_0x1445ab=_0x3baa00[_0x1e9122(0x320)](_0x3d7591,FRAMEWORKS[_0x1e9122(0x2fc)])?_0x4d3deb[_0x1e9122(0x26f)]():_0x4d3deb,_0x24628c=_0x501ef3[_0x1e9122(0x253)](_0x41ddc5=>_0x1445ab[_0x1e9122(0x2f5)](_0x1e1b93(_0x41ddc5))),_0x3d8235=_0x3baa00[_0x1e9122(0x2ba)](_0x1af8e2[_0x1e9122(0x323)],0x0)||_0x1af8e2[_0x1e9122(0x253)](_0x34cc13=>_0x1445ab[_0x1e9122(0x2f5)](_0x1e1b93(_0x34cc13))),_0x5c4d04=_0x3baa00[_0x1e9122(0x287)](!_0x24628c,_0x3d8235);return logger[_0x1e9122(0x342)](_0x1e9122(0x108)+(_0x2420a?.[_0x1e9122(0x30a)]?.()||_0x3baa00[_0x1e9122(0x2e9)])+']\x20isEnabledTestcase\x20('+_0x3d7591+_0x1e9122(0x14b)+_0x5c4d04+_0x1e9122(0x21c)+_0x4d3deb+_0x1e9122(0x33e)+JSON['stringify'](_0x1af8e2)+_0x1e9122(0x34c)+JSON['stringify'](_0x501ef3)),_0x5c4d04;}const _0x1f9753=Array[_0x1e9122(0x20c)](_0x59de81)?_0x59de81:[];let _0x1043b4=![],_0x2da813=_0x3baa00[_0x1e9122(0x320)](_0x1af8e2[_0x1e9122(0x323)],0x0);const _0x390057=_0x475475=>typeof _0x475475===_0x1e9122(0x105)?_0x475475[_0x1e9122(0x24e)](/^@/,'')[_0x1e9122(0x26f)]()[_0x1e9122(0x318)]():_0x475475,_0x5c35c5=new Set(_0x1af8e2[_0x1e9122(0x1ae)](_0x390057)),_0x250a86=new Set(_0x501ef3[_0x1e9122(0x1ae)](_0x390057));for(const _0x2f0298 of _0x1f9753){const _0x1d256d=_0x3baa00['MdMFK'](_0x390057,_0x2f0298);_0x250a86[_0x1e9122(0x2a0)](_0x1d256d)&&(_0x1043b4=!![]),_0x3baa00[_0x1e9122(0x2f3)](_0x5c35c5[_0x1e9122(0x335)],0x0)&&_0x5c35c5[_0x1e9122(0x2a0)](_0x1d256d)&&(_0x2da813=!![]);}const _0x4c0211=_0x3baa00[_0x1e9122(0x1dc)](_0x2da813,!_0x1043b4);return logger[_0x1e9122(0x342)](_0x1e9122(0x108)+(_0x2420a?.['getPlatformIndex']?.()||_0x3baa00[_0x1e9122(0x2e9)])+_0x1e9122(0x1e8)+_0x4c0211+_0x1e9122(0x175)+JSON[_0x1e9122(0x1a8)](_0x1f9753)+_0x1e9122(0x33e)+JSON[_0x1e9122(0x1a8)](_0x1af8e2)+',\x20excludeTags='+JSON[_0x1e9122(0x1a8)](_0x501ef3)),_0x4c0211;}catch(_0x5d4688){return logger[_0x1e9122(0x342)]('[platform\x20-\x20'+(_0x2420a?.[_0x1e9122(0x30a)]?.()||_0x3baa00[_0x1e9122(0x2e9)])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x5d4688[_0x1e9122(0x2e0)]),![];}}async[a112_0x40a947(0x1a5)](_0x37c25a){const _0x3b954e=a112_0x40a947,_0x2e8de6={};_0x2e8de6[_0x3b954e(0x2d1)]=function(_0x4454f5,_0x42dc13){return _0x4454f5!==_0x42dc13;},_0x2e8de6[_0x3b954e(0x251)]=_0x3b954e(0x1b0),_0x2e8de6[_0x3b954e(0x252)]=function(_0x5bc648,_0x1fd87a){return _0x5bc648!==_0x1fd87a;},_0x2e8de6['YLwxx']='jest',_0x2e8de6[_0x3b954e(0x344)]='testcafe',_0x2e8de6[_0x3b954e(0x179)]=function(_0x42ccac,_0x4526de){return _0x42ccac!==_0x4526de;},_0x2e8de6[_0x3b954e(0x2c8)]=function(_0x5639b5,_0x4b3263){return _0x5639b5===_0x4b3263;},_0x2e8de6['EnCLY']=_0x3b954e(0x104),_0x2e8de6[_0x3b954e(0x2d5)]=function(_0x2713d3,_0x14bb6d){return _0x2713d3===_0x14bb6d;},_0x2e8de6[_0x3b954e(0xed)]=function(_0x26c1c3,_0xfa6e2a){return _0x26c1c3&&_0xfa6e2a;},_0x2e8de6[_0x3b954e(0x218)]='TEST_INIT',_0x2e8de6[_0x3b954e(0x17d)]=_0x3b954e(0x1e0),_0x2e8de6[_0x3b954e(0x115)]=_0x3b954e(0x22b),_0x2e8de6[_0x3b954e(0x304)]='DRIVER_INIT',_0x2e8de6[_0x3b954e(0x191)]=function(_0x4d48ee,_0x2b00df){return _0x4d48ee===_0x2b00df;},_0x2e8de6['eHGhb']='onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true',_0x2e8de6[_0x3b954e(0x187)]='Unknown\x20Test',_0x2e8de6[_0x3b954e(0x1a2)]=function(_0x24d1db,_0x450d9e){return _0x24d1db>_0x450d9e;},_0x2e8de6[_0x3b954e(0x32b)]='function',_0x2e8de6['MFXeR']='test_tags',_0x2e8de6[_0x3b954e(0x336)]=function(_0x169bc1,_0x40a8c4){return _0x169bc1&&_0x40a8c4;},_0x2e8de6[_0x3b954e(0x32c)]=_0x3b954e(0x1ca);const _0x5066d6=_0x2e8de6;if(_0x5066d6['tknqG'](_0x37c25a[_0x3b954e(0x27b)],_0x5066d6[_0x3b954e(0x251)])&&_0x5066d6[_0x3b954e(0x252)](_0x37c25a[_0x3b954e(0x27b)],_0x5066d6[_0x3b954e(0xec)])&&_0x5066d6['tknqG'](_0x37c25a[_0x3b954e(0x27b)],_0x5066d6[_0x3b954e(0x344)])&&_0x5066d6[_0x3b954e(0x179)](_0x37c25a[_0x3b954e(0x27b)],FRAMEWORKS['NODE_GENERIC'])){logger['debug'](_0x3b954e(0x308)+_0x37c25a[_0x3b954e(0x27b)]+')');return;}try{const _0x3b3153=AutomationFramework[_0x3b954e(0x21f)](),_0x429e4c=TestFramework['getTrackedInstance'](),_0x3d6b40=_0x37c25a[_0x3b954e(0x137)]||global[_0x3b954e(0x181)]?.[_0x3b954e(0x2f9)]||null;if(_0x5066d6[_0x3b954e(0x2c8)](_0x37c25a[_0x3b954e(0x27b)],_0x5066d6['SwZrb'])){const _0x1664ab=_0x37c25a['platformCaps']||_0x3b3153&&_0x3b3153[_0x3b954e(0x176)]&&_0x3b3153[_0x3b954e(0x176)]()||_0x3b3153&&_0x3b3153[_0x3b954e(0x1c9)]&&_0x3b3153['getCapabilities']()||{},_0x30693e=_0x37c25a[_0x3b954e(0x145)]||null,_0x4233a4=this[_0x3b954e(0x2f1)](_0x3b3153,_0x1664ab,_0x30693e),_0x1848c9=CLIUtils[_0x3b954e(0x1ba)]();this[_0x3b954e(0x16c)][_0x3b954e(0x1c3)](_0x1848c9,_0x4233a4);global[_0x3b954e(0x2b9)]?.[_0x3b954e(0x2b5)]&&global[_0x3b954e(0x2b9)][_0x3b954e(0x2b5)]()['setShouldScan'](_0x4233a4);_0x4233a4?(global[_0x3b954e(0x10a)]=!![],process[_0x3b954e(0x25c)][_0x3b954e(0x2d7)]=_0x5066d6[_0x3b954e(0x2d0)]):global[_0x3b954e(0x10a)]=![];logger['debug'](_0x3b954e(0x1fb)+_0x4233a4);return;}if(_0x5066d6[_0x3b954e(0x2d5)](_0x37c25a[_0x3b954e(0x27b)],FRAMEWORKS[_0x3b954e(0x2fc)])){const _0x288cb8=_0x37c25a['testData']||{},_0x522c34=_0x288cb8[TestFrameworkConstants[_0x3b954e(0x1d4)]],_0x1da125=_0x288cb8[TestFrameworkConstants[_0x3b954e(0x18d)]]||'',_0x1288e0=(Array[_0x3b954e(0x20c)](_0x522c34)?_0x522c34[_0x3b954e(0x325)](_0x1da125)[_0x3b954e(0x322)]('\x20'):_0x1da125)['trim'](),_0x37d62c=_0x37c25a[_0x3b954e(0x270)]||_0x3b3153&&_0x3b3153[_0x3b954e(0x176)]&&_0x3b3153[_0x3b954e(0x176)]()||_0x3b3153&&_0x3b3153[_0x3b954e(0x1c9)]&&_0x3b3153['getCapabilities']()||{},_0x51fbda=this['isPlatformSupported'](_0x3b3153,_0x37d62c,_0x37c25a['launchCaps']||null),_0x380a51=this[_0x3b954e(0x1b2)](_0x1288e0,_0x3b3153,FRAMEWORKS['NODE_GENERIC']),_0x499fc9=_0x5066d6[_0x3b954e(0xed)](_0x51fbda,_0x380a51),_0x1cb199=CLIUtils[_0x3b954e(0x1ba)]();this[_0x3b954e(0x16c)][_0x3b954e(0x1c3)](_0x1cb199,_0x499fc9);global[_0x3b954e(0x2b9)]?.['getContext']&&global[_0x3b954e(0x2b9)][_0x3b954e(0x2b5)]()[_0x3b954e(0x2ea)](_0x499fc9);_0x499fc9?(global[_0x3b954e(0x10a)]=!![],process[_0x3b954e(0x25c)][_0x3b954e(0x2d7)]=_0x5066d6[_0x3b954e(0x2d0)],this['applySendMessageToServerPatch']()):global[_0x3b954e(0x10a)]=![];_0x429e4c&&_0x429e4c[_0x3b954e(0x1a0)](_0x5066d6[_0x3b954e(0x218)],!![]);logger[_0x3b954e(0x342)]('[AccessibilityModule]\x20onBeforeTest:\x20node-generic\x20—\x20platformSupported='+_0x51fbda+_0x3b954e(0x2bc)+_0x380a51+_0x3b954e(0x21c)+_0x1288e0);return;}if(!_0x3d6b40){_0x429e4c&&_0x429e4c[_0x3b954e(0x1a0)](_0x5066d6[_0x3b954e(0x218)],!![]);logger[_0x3b954e(0x342)](_0x5066d6[_0x3b954e(0x17d)]);return;}logger[_0x3b954e(0x342)](_0x5066d6[_0x3b954e(0x115)]);const _0x22d16a=_0x429e4c?.[_0x3b954e(0x1db)](_0x5066d6[_0x3b954e(0x304)],![]),_0x5a595b=_0x429e4c?.[_0x3b954e(0x1db)](_0x5066d6['OQLBI'],![]);if(_0x5066d6['FScPn'](_0x22d16a,![])&&_0x5066d6[_0x3b954e(0x191)](_0x5a595b,![])){_0x429e4c&&_0x429e4c[_0x3b954e(0x1a0)](_0x5066d6[_0x3b954e(0x304)],!![]);logger[_0x3b954e(0x342)](_0x5066d6['eHGhb']);return;}_0x429e4c&&_0x429e4c[_0x3b954e(0x1a0)](_0x5066d6[_0x3b954e(0x218)],!![]);let _0x4bd7e0,_0xd85e6a;const _0x576d1e=_0x37c25a[_0x3b954e(0x27b)]||_0x5066d6[_0x3b954e(0x251)];if(_0x5066d6['liwRl'](_0x576d1e,_0x5066d6['YLwxx'])){_0xd85e6a=_0x37c25a[_0x3b954e(0xf6)]?.[_0x3b954e(0x281)]||_0x37c25a[_0x3b954e(0xf6)]?.['id']||global[_0x3b954e(0x157)]||global[_0x3b954e(0x181)]?.[_0x3b954e(0xe1)]?.[_0x3b954e(0x281)]||global['__workerDetails']?.[_0x3b954e(0xe1)]?.['id'];const _0x1f4a0d=_0x429e4c?.[_0x3b954e(0x1a3)]()?.[_0x3b954e(0x1a4)](_0xd85e6a);if(_0x1f4a0d&&_0x1f4a0d[TestFrameworkConstants[_0x3b954e(0x18d)]])_0x4bd7e0=_0x1f4a0d[TestFrameworkConstants[_0x3b954e(0x18d)]];else{if(_0x37c25a[_0x3b954e(0xf6)]?.[_0x3b954e(0x1de)])_0x4bd7e0=_0x37c25a['testInfo'][_0x3b954e(0x1de)];else global[_0x3b954e(0x181)]?.['currentTest']?.[_0x3b954e(0xf6)]?.[_0x3b954e(0x1de)]?_0x4bd7e0=global['__workerDetails']['currentTest'][_0x3b954e(0xf6)][_0x3b954e(0x1de)]:_0x4bd7e0=_0x5066d6[_0x3b954e(0x187)];}logger['debug']('[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier='+_0xd85e6a+_0x3b954e(0x21c)+JSON['stringify'](_0x4bd7e0));}else{_0xd85e6a=this[_0x3b954e(0x17e)](_0x37c25a);const _0x4d9c73=TestInfo['getTestDetails'](_0xd85e6a);let _0x369a28=[];if(_0x4d9c73&&Array[_0x3b954e(0x20c)](_0x4d9c73[_0x3b954e(0x1e4)])&&_0x5066d6[_0x3b954e(0x1a2)](_0x4d9c73[_0x3b954e(0x1e4)][_0x3b954e(0x323)],0x0))_0x369a28=_0x4d9c73['test_tags'];else{if(_0x429e4c){const _0x2673b5=_0x5066d6[_0x3b954e(0x2d5)](typeof _0x429e4c[_0x3b954e(0x1db)],_0x5066d6['lheaL'])?_0x429e4c['getData'](_0x5066d6[_0x3b954e(0x23f)],[]):_0x429e4c[_0x3b954e(0x1e4)]||[];Array[_0x3b954e(0x20c)](_0x2673b5)&&(_0x369a28=_0x2673b5);}}_0x4bd7e0=_0x369a28;}logger[_0x3b954e(0x272)](_0x3b954e(0x103)+JSON[_0x3b954e(0x1a8)](_0x4bd7e0));const _0x531573=this[_0x3b954e(0x2f1)](_0x3b3153,_0x37c25a[_0x3b954e(0x270)],_0x37c25a[_0x3b954e(0x145)]);logger[_0x3b954e(0x342)](_0x3b954e(0x2fd)+_0x531573+_0x3b954e(0x283)+this[_0x3b954e(0x152)]);const _0x33d7b0=this[_0x3b954e(0x1b2)](_0x4bd7e0,_0x3b3153,_0x576d1e),_0x575651=_0x5066d6[_0x3b954e(0x336)](_0x531573,_0x33d7b0),_0x3d5a66=CLIUtils[_0x3b954e(0x1ba)]();this[_0x3b954e(0x16c)][_0x3b954e(0x1c3)](_0x3d5a66,_0x575651),global['Context']?.['getContext']&&global['Context'][_0x3b954e(0x2b5)]()[_0x3b954e(0x2ea)](_0x575651),logger[_0x3b954e(0x342)]('[platform\x20-\x20'+(_0x3b3153?.[_0x3b954e(0x30a)]?.()||_0x5066d6[_0x3b954e(0x32c)])+_0x3b954e(0x2c2)+_0x575651),_0x575651?(global[_0x3b954e(0x10a)]=!![],process[_0x3b954e(0x25c)][_0x3b954e(0x2d7)]=_0x5066d6['EnCLY'],this[_0x3b954e(0x15e)]()):global[_0x3b954e(0x10a)]=![];}catch(_0x2aa9b6){logger[_0x3b954e(0x113)](_0x3b954e(0x1d8)+(_0x2aa9b6[_0x3b954e(0x31e)]||_0x2aa9b6[_0x3b954e(0x2e0)]));const _0x2ac7e1=CLIUtils[_0x3b954e(0x1ba)]();this[_0x3b954e(0x16c)][_0x3b954e(0x1c3)](_0x2ac7e1,![]),global['accessibilityPlatform']=![];}}[a112_0x40a947(0x1b3)](){const _0x426670=a112_0x40a947;return this[_0x426670(0x256)]['find'](_0x3011c1=>_0x3011c1[_0x426670(0x202)]()===_0x426670(0xe2))?.[_0x426670(0x214)]()||'';}['getCapabilityValue'](_0x36f2d8){const _0x4013a4=a112_0x40a947;try{const _0x1ba932=this[_0x4013a4(0x161)]?.[_0x4013a4(0x1e3)]?.[_0x4013a4(0x22d)]||[],_0x42db4a=_0x1ba932[_0x4013a4(0x2ef)](_0x26f986=>_0x26f986[_0x4013a4(0x18f)]===_0x36f2d8);return _0x42db4a?_0x42db4a['value']:null;}catch(_0x2df338){return logger[_0x4013a4(0x342)](_0x4013a4(0x160)+_0x36f2d8+':\x20'+_0x2df338[_0x4013a4(0x2e0)]),null;}}async[a112_0x40a947(0x200)](_0x23176d,_0x2336e1){const _0x1b74e6=a112_0x40a947,_0x10c4be={};_0x10c4be['PyEXf']=_0x1b74e6(0x15a);const _0x34db74=_0x10c4be,_0x278736=_0x23176d[_0x1b74e6(0x22c)]()[_0x1b74e6(0x265)]();this[_0x1b74e6(0x12c)](_0x278736,_0x34db74[_0x1b74e6(0x280)]),this['capabilities']=_0x278736['getCapabilitiesList'](),await this[_0x1b74e6(0x220)](this[_0x1b74e6(0x256)],_0x2336e1[_0x1b74e6(0x145)]);}[a112_0x40a947(0x122)](_0x38a3a1,_0x593df4){const _0x2db6bc=a112_0x40a947,_0x5b12f3={};_0x5b12f3[_0x2db6bc(0x1cd)]=function(_0x4eea1d,_0x4689c3){return _0x4eea1d===_0x4689c3;},_0x5b12f3[_0x2db6bc(0x25e)]=_0x2db6bc(0x105);const _0x5995dd=_0x5b12f3;try{const _0x30f582=(_0x38a3a1['getCapabilitiesList']()||[])['find'](_0x3519e4=>_0x3519e4[_0x2db6bc(0x202)]()===_0x2db6bc(0xe2));if(!_0x30f582)return null;const _0x2ea911=_0x30f582[_0x2db6bc(0x214)]();if(!_0x2ea911)return null;const _0x264f3f=_0x5995dd[_0x2db6bc(0x1cd)](typeof _0x2ea911,_0x5995dd['EkcOR'])?JSON[_0x2db6bc(0x307)](_0x2ea911):_0x2ea911;return logger[_0x2db6bc(0x342)](_0x2db6bc(0x12b)+_0x593df4+_0x2db6bc(0x321)),_0x264f3f;}catch(_0x530b58){return logger[_0x2db6bc(0x342)](_0x2db6bc(0x313)+_0x593df4+_0x2db6bc(0x32d)+_0x530b58[_0x2db6bc(0x2e0)]),null;}}[a112_0x40a947(0x12c)](_0x331900,_0x3f4f14){const _0x361b95=a112_0x40a947,_0x57b86e={};_0x57b86e[_0x361b95(0x211)]=function(_0x5b9bde,_0x2a44ff){return _0x5b9bde>_0x2a44ff;},_0x57b86e[_0x361b95(0x2c7)]=_0x361b95(0x1bf),_0x57b86e['fXeLu']=_0x361b95(0x1e5);const _0x160e01=_0x57b86e;try{const _0x4d4877=_0x331900[_0x361b95(0x277)](),_0x1ce6c6=_0x331900[_0x361b95(0x222)]()?.[_0x361b95(0x165)](),_0x170d14=this['_readChromeOptionsCapability'](_0x331900,_0x3f4f14);_0x170d14&&(scripts[_0x361b95(0x1ee)]=_0x170d14),_0x4d4877&&_0x160e01['CIsCZ'](_0x4d4877[_0x361b95(0x323)],0x0)?(scripts[_0x361b95(0x109)](_0x4d4877,_0x1ce6c6),scripts[_0x361b95(0x17b)](),logger[_0x361b95(0x342)](_0x160e01['xzRdh'])):logger[_0x361b95(0x342)](_0x160e01[_0x361b95(0x227)]);}catch(_0x533752){logger[_0x361b95(0x342)](_0x361b95(0x215)+_0x533752[_0x361b95(0x2e0)]);}}async['setAccessibilityToken'](_0x131d12,_0x3922a0={}){const _0x41fd54=a112_0x40a947,_0x4dbc76={'UptSm':_0x41fd54(0x32f),'VWCgT':_0x41fd54(0x19b),'pSCUL':function(_0x18e53b,_0x2164fb){return _0x18e53b===_0x2164fb;},'GGJRU':_0x41fd54(0x30e),'xmcXe':function(_0x35cbb9,_0x4f2e49){return _0x35cbb9(_0x4f2e49);},'uuwrO':'crypto','mXHZu':_0x41fd54(0x23a),'mdICh':_0x41fd54(0x134),'LHYPx':function(_0x1b6a9b,_0x2dbea7){return _0x1b6a9b||_0x2dbea7;},'DUXCm':_0x41fd54(0x124),'qxwwA':function(_0x402e9d,_0x397307){return _0x402e9d(_0x397307);},'iHgqQ':_0x41fd54(0x223),'QiNqt':_0x41fd54(0x1ad),'Uydny':_0x41fd54(0x33b),'ZmEOR':_0x41fd54(0x247),'DLJSQ':_0x41fd54(0x236),'KFPdU':'browserstack.accessibilityOptions.scannerVersion','BoBqj':'scannerProcessingTimeout','WOfqv':_0x41fd54(0x2f0),'qYUpv':function(_0x54f3cb,_0x5ebb9b){return _0x54f3cb===_0x5ebb9b;},'xUQsG':'isMobileScanningEnabledForGroup','vpFtk':_0x41fd54(0x104)};global['__accessibilityOptions']=global[_0x41fd54(0xe0)]||{};const _0xa34bc2=Array[_0x41fd54(0x20c)](_0x131d12)?_0x131d12[_0x41fd54(0x323)]:_0x4dbc76['UptSm'];logger[_0x41fd54(0x342)](_0x41fd54(0x295)+_0xa34bc2+_0x41fd54(0x2be)+(process[_0x41fd54(0x25c)][_0x41fd54(0x20e)]||_0x4dbc76[_0x41fd54(0x130)])+_0x41fd54(0x32e)+process[_0x41fd54(0x24c)]);for(const _0x45a78f of _0x131d12){logger[_0x41fd54(0x342)]('[AccessibilityModule.setAccessibilityToken]\x20cap\x20name='+_0x45a78f[_0x41fd54(0x202)]());if(_0x4dbc76[_0x41fd54(0x31d)](_0x45a78f[_0x41fd54(0x202)](),_0x4dbc76[_0x41fd54(0x1d9)])){const _0x526985=_0x45a78f[_0x41fd54(0x214)](),_0x4f32a5=_0x526985?_0x4dbc76['xmcXe'](require,_0x4dbc76[_0x41fd54(0x20d)])[_0x41fd54(0x2ac)](_0x4dbc76['mXHZu'])[_0x41fd54(0x29a)](_0x526985)[_0x41fd54(0x2f8)](_0x4dbc76['mdICh'])[_0x41fd54(0x250)](0x0,0x8):'';logger[_0x41fd54(0x272)]('[SDK-T2]\x20SET_A11Y_TOKEN_ASSIGNING\x20token_len='+_0x4dbc76['LHYPx'](_0x526985,'')[_0x41fd54(0x323)]+'\x20token_fp='+_0x4f32a5+_0x41fd54(0x2be)+(process[_0x41fd54(0x25c)]['JEST_WORKER_ID']||_0x4dbc76[_0x41fd54(0x130)])+_0x41fd54(0x32e)+process[_0x41fd54(0x24c)]),process[_0x41fd54(0x25c)][_0x41fd54(0x207)]=_0x526985,global[_0x41fd54(0xe0)][_0x4dbc76[_0x41fd54(0x17c)]]=_0x526985;const _0x4e9367=_0x4dbc76[_0x41fd54(0xf8)](require,_0x4dbc76[_0x41fd54(0x31a)]),{isTrue:_0x1bbb19}=_0x4dbc76[_0x41fd54(0x192)](require,_0x4dbc76[_0x41fd54(0x18a)]),_0x544dd4=_0x4e9367[_0x41fd54(0x132)](_0x526985);_0x544dd4&&_0x4dbc76['xmcXe'](_0x1bbb19,_0x544dd4[_0x41fd54(0x2d3)])&&(process['env'][_0x41fd54(0x153)]=!![]);}else{if(_0x4dbc76[_0x41fd54(0x31d)](_0x45a78f[_0x41fd54(0x202)](),_0x4dbc76['Uydny']))global[_0x41fd54(0xe0)][_0x4dbc76[_0x41fd54(0xeb)]]=_0x45a78f['getValue']();else{if(_0x4dbc76[_0x41fd54(0x31d)](_0x45a78f[_0x41fd54(0x202)](),_0x4dbc76[_0x41fd54(0x225)]))global[_0x41fd54(0xe0)][_0x4dbc76[_0x41fd54(0x14c)]]=_0x45a78f[_0x41fd54(0x214)]();else{if(_0x4dbc76[_0x41fd54(0x31d)](_0x45a78f['getName'](),_0x4dbc76[_0x41fd54(0x294)]))global[_0x41fd54(0xe0)][_0x4dbc76[_0x41fd54(0x226)]]=_0x45a78f[_0x41fd54(0x214)]();else{if(_0x4dbc76[_0x41fd54(0x13b)](_0x45a78f['getName'](),_0x4dbc76['xUQsG'])){const _0x4ace3d=_0x45a78f[_0x41fd54(0x214)]();process[_0x41fd54(0x25c)][_0x41fd54(0x2c5)]=_0x4dbc76[_0x41fd54(0x192)](String,_0x4dbc76[_0x41fd54(0x31d)](_0x4ace3d,!![])||_0x4dbc76[_0x41fd54(0x31d)](_0x4ace3d,_0x4dbc76[_0x41fd54(0x1e7)])),logger[_0x41fd54(0x342)]('[AccessibilityModule]\x20isMobileScanningEnabledForGroup\x20cap\x20received:\x20raw='+_0x4ace3d+_0x41fd54(0x337)+process[_0x41fd54(0x25c)][_0x41fd54(0x2c5)]);}}}}}}}async['onAfterTest'](_0x39da4c){const _0x2c9526=a112_0x40a947,_0x491e04={};_0x491e04[_0x2c9526(0x2ec)]=function(_0xb0b1b3,_0x13746a){return _0xb0b1b3!==_0x13746a;},_0x491e04[_0x2c9526(0x319)]=_0x2c9526(0x1b0),_0x491e04['ZGIgf']=function(_0x45ebc2,_0x549eaf){return _0x45ebc2!==_0x549eaf;},_0x491e04[_0x2c9526(0x100)]=_0x2c9526(0x27c),_0x491e04[_0x2c9526(0x117)]=function(_0x3ff0b1,_0x35075c){return _0x3ff0b1!==_0x35075c;},_0x491e04[_0x2c9526(0x2f6)]=_0x2c9526(0x133),_0x491e04[_0x2c9526(0x26c)]=_0x2c9526(0x1ca);const _0x4e5f7d=_0x491e04;if(_0x4e5f7d[_0x2c9526(0x2ec)](_0x39da4c[_0x2c9526(0x27b)],_0x4e5f7d[_0x2c9526(0x319)])&&_0x4e5f7d[_0x2c9526(0x292)](_0x39da4c[_0x2c9526(0x27b)],_0x4e5f7d[_0x2c9526(0x100)])&&_0x4e5f7d[_0x2c9526(0x117)](_0x39da4c[_0x2c9526(0x27b)],_0x4e5f7d['pgtAZ'])&&_0x4e5f7d[_0x2c9526(0x117)](_0x39da4c[_0x2c9526(0x27b)],FRAMEWORKS['NODE_GENERIC'])){logger[_0x2c9526(0x342)](_0x2c9526(0x1f7)+_0x39da4c[_0x2c9526(0x27b)]+')');return;}const _0x131442=_0x39da4c[_0x2c9526(0xf6)]?.[_0x2c9526(0x281)]||_0x39da4c[_0x2c9526(0xf6)]?.['id']||global[_0x2c9526(0x157)];logger[_0x2c9526(0x272)](_0x2c9526(0x24a)+_0x39da4c[_0x2c9526(0x27b)]+_0x2c9526(0x28d)+_0x131442);try{const _0x4b57c8=_0x39da4c[_0x2c9526(0x206)]||AutomationFramework[_0x2c9526(0x21f)](),_0x346a3c=CLIUtils['getCurrentInstanceName'](),_0x3161c8=this['getCurrentAccessibilityStatus']();logger[_0x2c9526(0x342)](_0x2c9526(0x108)+(_0x4b57c8?.[_0x2c9526(0x30a)]?.()||_0x4e5f7d['bAMGw'])+_0x2c9526(0x10c)+_0x3161c8),_0x3161c8&&await this['stopTestCapture'](_0x4b57c8,_0x39da4c),this[_0x2c9526(0x16c)][_0x2c9526(0x2fe)](_0x346a3c),this[_0x2c9526(0x2df)][_0x2c9526(0x2fe)](_0x346a3c);}catch(_0x473f6c){logger['error'](_0x2c9526(0x30b)+(_0x473f6c[_0x2c9526(0x31e)]||_0x473f6c[_0x2c9526(0x2e0)]));}}async['stopTestCapture'](_0x7f73a6,_0x123ba3){const _0x17d990=a112_0x40a947,_0x56d44b={};_0x56d44b[_0x17d990(0x1ec)]=function(_0x5a3dd0,_0x1e9e93){return _0x5a3dd0===_0x1e9e93;},_0x56d44b[_0x17d990(0x162)]=_0x17d990(0x1fe),_0x56d44b[_0x17d990(0x1d6)]=function(_0x3da77c,_0x4b611f){return _0x3da77c===_0x4b611f;},_0x56d44b[_0x17d990(0x1c0)]=_0x17d990(0x27c),_0x56d44b['XPjdh']=_0x17d990(0x1b0),_0x56d44b[_0x17d990(0x27d)]=function(_0x1ee3fa,_0x57a866){return _0x1ee3fa===_0x57a866;},_0x56d44b['RXmiU']=_0x17d990(0x341),_0x56d44b[_0x17d990(0x23e)]=_0x17d990(0x16c),_0x56d44b[_0x17d990(0x19d)]=_0x17d990(0x208),_0x56d44b[_0x17d990(0x11a)]='unknown',_0x56d44b['AIVWU']=_0x17d990(0x16f),_0x56d44b[_0x17d990(0x1f1)]='null',_0x56d44b[_0x17d990(0x2c9)]=function(_0x591734,_0x245414){return _0x591734===_0x245414;},_0x56d44b[_0x17d990(0x167)]=function(_0x301643,_0x2078f4){return _0x301643||_0x2078f4;},_0x56d44b[_0x17d990(0x2f7)]='stopTestCapture:\x20Added\x20is_mobile_session\x20flag\x20for\x20Android+Chrome\x20session',_0x56d44b[_0x17d990(0x302)]='AUTOMATION_SESSIONS',_0x56d44b[_0x17d990(0x279)]=_0x17d990(0x2f4);const _0x1e1a46=_0x56d44b;try{const _0xf1bdc2=_0x123ba3[_0x17d990(0x27b)]||(_0x1e1a46[_0x17d990(0x1d6)](this[_0x17d990(0x212)]?.['name']?.['toLowerCase'](),_0x1e1a46[_0x17d990(0x1c0)])?_0x1e1a46[_0x17d990(0x1c0)]:_0x1e1a46[_0x17d990(0x168)]);let _0x17ede5='',_0x181dde=null,_0x375441=null;if(_0x1e1a46[_0x17d990(0x27d)](_0xf1bdc2,_0x1e1a46[_0x17d990(0x1c0)])){_0x181dde=_0x123ba3[_0x17d990(0xf6)]?.['testAnalyticsId']||_0x123ba3[_0x17d990(0xf6)]?.['id']||global[_0x17d990(0x157)];if(!_0x181dde){logger[_0x17d990(0x31c)](_0x1e1a46[_0x17d990(0x171)]);return;}try{const _0x4bf8ed=await GrpcClient[_0x17d990(0x21e)]()[_0x17d990(0x1f3)](process['env'][_0x17d990(0x1b1)],_0x1e1a46[_0x17d990(0x23e)],_0x1e1a46[_0x17d990(0x19d)],_0x181dde),_0x5b83e4=AccessibilityModule[_0x17d990(0x151)](null,_0x4bf8ed);_0x17ede5=_0x5b83e4?.[_0x17d990(0x262)]||'',logger['debug']('[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x17ede5+_0x17d990(0x155)+_0x181dde),_0x375441=_0x4bf8ed;}catch(_0x262135){logger[_0x17d990(0x113)](_0x17d990(0x331)+_0x262135[_0x17d990(0x2e0)]);return;}}else{const _0x154cae=this[_0x17d990(0x17e)](_0x123ba3);_0x17ede5=TestInfo[_0x17d990(0xee)](_0x154cae);}const _0x597708=((()=>{const _0x23a99e=_0x17d990,_0x47cbaa=(this['accessibilityConfig']?.[_0x23a99e(0x1e3)]?.[_0x23a99e(0x22d)]||[])[_0x23a99e(0x2ef)](_0x4c687f=>(typeof _0x4c687f[_0x23a99e(0x202)]===_0x23a99e(0x1fe)?_0x4c687f['getName']():_0x4c687f['name'])===this[_0x23a99e(0x305)]);return _0x47cbaa?_0x1e1a46[_0x23a99e(0x1ec)](typeof _0x47cbaa[_0x23a99e(0x214)],_0x1e1a46['joyCB'])?_0x47cbaa[_0x23a99e(0x214)]():_0x47cbaa[_0x23a99e(0x32a)]:'';})()),_0xf1050=process[_0x17d990(0x25c)][_0x17d990(0x1cc)]||'';logger[_0x17d990(0x342)](_0x17d990(0x108)+(_0x7f73a6?.[_0x17d990(0x30a)]?.()||_0x1e1a46[_0x17d990(0x11a)])+_0x17d990(0x209)+_0x17ede5+_0x17d990(0x29b)+_0x597708+_0x17d990(0x2ae)+(_0xf1050?_0x1e1a46[_0x17d990(0xea)]:_0x1e1a46['gOeEJ']));let _0x32259e;if(_0x1e1a46['dWcMG'](_0xf1bdc2,_0x1e1a46[_0x17d990(0x1c0)]))_0x32259e=AccessibilityModule[_0x17d990(0x151)](_0x17ede5,_0x375441);else{const _0x3f5566=await GrpcClient[_0x17d990(0x21e)]()[_0x17d990(0x1f3)](process[_0x17d990(0x25c)][_0x17d990(0x1b1)],_0x1e1a46[_0x17d990(0x23e)],_0x1e1a46[_0x17d990(0x19d)]);_0x32259e=AccessibilityModule['loadDriverExecuteParams'](_0x17ede5,_0x3f5566);}logger[_0x17d990(0x342)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0x17d990(0x1a8)](_0x32259e));const _0x1e0cd5=Object[_0x17d990(0x221)]({},{'thTestRunUuid':_0x1e1a46['JmsFd'](_0x17ede5,''),'thBuildUuid':_0x1e1a46['JmsFd'](_0x597708,''),'thJwtToken':_0x1e1a46[_0x17d990(0x167)](_0xf1050,'')},_0x32259e);!this[_0x17d990(0x152)]&&this[_0x17d990(0x232)]()&&(_0x1e0cd5[_0x17d990(0x259)]=!![],logger['debug'](_0x1e1a46[_0x17d990(0x2f7)]));logger['debug'](_0x17d990(0x106)+_0x17ede5+_0x17d990(0x283)+this[_0x17d990(0x152)]);let _0x4696e7=global[_0x17d990(0x181)]?.[_0x17d990(0x2f9)]||null;!_0x4696e7&&(_0x4696e7=AutomationFramework[_0x17d990(0x150)](_0x7f73a6,_0x1e1a46['FDfxt'],null)),!_0x4696e7&&(_0x4696e7=AutomationFramework['getState'](_0x7f73a6,_0x1e1a46[_0x17d990(0x279)],null)),await this['finishScanningForCli'](this[_0x17d990(0x306)](),_0x17ede5,_0x4696e7,_0x1e0cd5,this[_0x17d990(0x152)]);}catch(_0x188aa8){logger[_0x17d990(0x113)]('Error\x20in\x20stopTestCapture:\x20'+(_0x188aa8['stack']||_0x188aa8[_0x17d990(0x2e0)]));}}async[a112_0x40a947(0x156)](_0x1094e4,_0xe8efc2,_0x3914b5,_0x5c793c,_0x1f8bde){const _0x592298=a112_0x40a947,_0x41d506={};_0x41d506[_0x592298(0x239)]=_0x592298(0x208),_0x41d506[_0x592298(0x14e)]=function(_0x50965d,_0x4e47fa){return _0x50965d&&_0x4e47fa;},_0x41d506[_0x592298(0x1cb)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x41d506['domSY']=function(_0x4940b5,_0xa67c88){return _0x4940b5===_0xa67c88;},_0x41d506[_0x592298(0x254)]='null',_0x41d506[_0x592298(0x1b8)]=_0x592298(0xf4),_0x41d506['qbRNw']=_0x592298(0x22f),_0x41d506['aJhuI']=_0x592298(0x1c4),_0x41d506[_0x592298(0x257)]=_0x592298(0x15b),_0x41d506[_0x592298(0x1c5)]=function(_0x239373,_0x19270d){return _0x239373&&_0x19270d;},_0x41d506[_0x592298(0x244)]=_0x592298(0x183),_0x41d506[_0x592298(0x27a)]=_0x592298(0x1a1),_0x41d506['PsMca']='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x21569a=_0x41d506;try{const _0x47c37d=this['getScriptByName'](_0x21569a[_0x592298(0x239)]);if(_0x21569a['ozyJs'](!_0x1f8bde,!_0x47c37d)){logger[_0x592298(0x342)](_0x21569a[_0x592298(0x1cb)]);return;}if(!_0xe8efc2||_0x21569a[_0x592298(0x2b7)](_0xe8efc2,_0x21569a[_0x592298(0x254)])||_0x21569a[_0x592298(0x2b7)](_0xe8efc2,'')){logger[_0x592298(0x342)](_0x21569a[_0x592298(0x1b8)]);return;}logger['debug'](_0x592298(0xe8)+JSON[_0x592298(0x1a8)](_0x5c793c)),_0x1094e4&&(logger[_0x592298(0x342)](_0x21569a[_0x592298(0x278)]),await this[_0x592298(0xf5)](_0x3914b5,_0xe8efc2,_0x21569a[_0x592298(0xfe)],_0x5c793c,_0x1f8bde,_0x21569a[_0x592298(0x257)]),_0x21569a['SoQPf'](!_0x1f8bde,_0x47c37d)&&(logger['debug'](_0x21569a[_0x592298(0x244)]),await PerformanceTester[_0x592298(0x205)](_0x21569a['FUWqw'],async()=>{const _0x428002=_0x592298;await this[_0x428002(0xf5)](_0x3914b5,_0xe8efc2,_0x21569a[_0x428002(0x239)],_0x5c793c,_0x1f8bde,_0x21569a[_0x428002(0x239)]);})()),logger[_0x592298(0x272)](_0x21569a[_0x592298(0x112)]));}catch(_0x43eb2e){logger[_0x592298(0x113)]('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x43eb2e[_0x592298(0x31e)]||_0x43eb2e[_0x592298(0x2e0)]));}}async[a112_0x40a947(0x334)](_0x4172d4){const _0x567c9c=a112_0x40a947,_0x60ce57={};_0x60ce57[_0x567c9c(0x296)]=function(_0x56bb00,_0x1cb5e3){return _0x56bb00!==_0x1cb5e3;},_0x60ce57[_0x567c9c(0x11d)]=_0x567c9c(0x1b0),_0x60ce57[_0x567c9c(0x266)]=function(_0x2759da,_0x3a5047){return _0x2759da!==_0x3a5047;},_0x60ce57['TOjIS']='jest',_0x60ce57[_0x567c9c(0x1f6)]='testcafe',_0x60ce57[_0x567c9c(0x2dd)]=function(_0x495450,_0x374478){return _0x495450!==_0x374478;},_0x60ce57['gFvzd']=_0x567c9c(0x1ca),_0x60ce57[_0x567c9c(0x2ab)]=_0x567c9c(0x16a),_0x60ce57['zAyvP']=function(_0xe9644d,_0x13c557){return _0xe9644d&&_0x13c557;},_0x60ce57[_0x567c9c(0x312)]=function(_0x28f7c8,_0x1796a5){return _0x28f7c8===_0x1796a5;},_0x60ce57[_0x567c9c(0x10f)]=_0x567c9c(0x2cc),_0x60ce57[_0x567c9c(0x13a)]=_0x567c9c(0x16c),_0x60ce57[_0x567c9c(0x16b)]=_0x567c9c(0x2d2),_0x60ce57[_0x567c9c(0x2bb)]=_0x567c9c(0x315),_0x60ce57[_0x567c9c(0x2cf)]=_0x567c9c(0x30f),_0x60ce57[_0x567c9c(0x2b3)]=function(_0x4fc824,_0x56899e){return _0x4fc824===_0x56899e;},_0x60ce57[_0x567c9c(0xdd)]=_0x567c9c(0x15b),_0x60ce57[_0x567c9c(0x1ac)]=_0x567c9c(0x197);const _0x146f6d=_0x60ce57;if(_0x146f6d[_0x567c9c(0x296)](_0x4172d4[_0x567c9c(0x27b)],_0x146f6d[_0x567c9c(0x11d)])&&_0x146f6d['olpQz'](_0x4172d4[_0x567c9c(0x27b)],_0x146f6d[_0x567c9c(0x12a)])&&_0x146f6d[_0x567c9c(0x296)](_0x4172d4[_0x567c9c(0x27b)],_0x146f6d[_0x567c9c(0x1f6)])&&_0x146f6d['LbhJC'](_0x4172d4[_0x567c9c(0x27b)],FRAMEWORKS[_0x567c9c(0x2fc)])){logger[_0x567c9c(0x342)](_0x567c9c(0x201)+_0x4172d4[_0x567c9c(0x27b)]+')');return;}logger[_0x567c9c(0x342)](_0x567c9c(0x300)+(_0x4172d4[_0x567c9c(0x199)]||_0x146f6d[_0x567c9c(0x177)])+_0x567c9c(0x1f9)+_0x4172d4[_0x567c9c(0x27b)]);try{const _0x26bce8=_0x4172d4[_0x567c9c(0x206)]||AutomationFramework[_0x567c9c(0x21f)](),_0x1758b2=TestFramework[_0x567c9c(0x21f)](),_0x197975=_0x4172d4['commandName']||_0x4172d4['command']?.[_0x567c9c(0x202)]();if(!_0x197975){logger['debug'](_0x146f6d[_0x567c9c(0x2ab)]);return;}if(!this[_0x567c9c(0x306)]()){logger[_0x567c9c(0x342)](_0x567c9c(0xfb)+_0x197975);return;}if(!this[_0x567c9c(0x1ce)](_0x197975)){logger[_0x567c9c(0x342)]('onBeforeExecute:\x20Command\x20'+_0x197975+_0x567c9c(0x172));return;}const _0x252308=_0x4172d4[_0x567c9c(0x137)]||global[_0x567c9c(0x181)]?.['pwPage'],_0x24f99a=_0x4172d4[_0x567c9c(0x314)]||null;if(_0x146f6d[_0x567c9c(0x17f)](!_0x252308,!_0x24f99a)){logger['debug'](_0x567c9c(0x1a7)+_0x197975);return;}let _0x3c53aa='',_0x1a493f=null;if(_0x146f6d[_0x567c9c(0x312)](_0x4172d4[_0x567c9c(0x27b)],_0x146f6d[_0x567c9c(0x12a)])){_0x1a493f=_0x4172d4[_0x567c9c(0xf6)]?.[_0x567c9c(0x281)]||_0x4172d4[_0x567c9c(0xf6)]?.['id']||global[_0x567c9c(0x157)];if(!_0x1a493f){logger[_0x567c9c(0x31c)](_0x146f6d['hvcUJ']);return;}try{const _0x48a52c=await GrpcClient[_0x567c9c(0x21e)]()[_0x567c9c(0x1f3)](process[_0x567c9c(0x25c)][_0x567c9c(0x1b1)],_0x146f6d['vCZSQ'],_0x146f6d[_0x567c9c(0x16b)],_0x1a493f),_0x19595d=AccessibilityModule[_0x567c9c(0x151)](null,_0x48a52c);_0x3c53aa=_0x19595d?.[_0x567c9c(0x262)]||'',logger[_0x567c9c(0x342)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x3c53aa+_0x567c9c(0x155)+_0x1a493f);}catch(_0x218051){logger['error']('onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x218051[_0x567c9c(0x2e0)]);return;}}else _0x146f6d[_0x567c9c(0x312)](_0x4172d4[_0x567c9c(0x27b)],FRAMEWORKS[_0x567c9c(0x2fc)])?_0x3c53aa=_0x4172d4['testRunId']||'':(_0x3c53aa=this['getCapabilityValue'](_0x146f6d[_0x567c9c(0x2bb)])||'',!_0x3c53aa&&this['isMobileWebSession']()&&(_0x3c53aa=accessibilityHelper[_0x567c9c(0x2af)]()));const _0x6547be=this[_0x567c9c(0x126)](_0x146f6d['KRubu'])||this['accessibilityConfig'][this[_0x567c9c(0x305)]]||null,_0x43fd59=process[_0x567c9c(0x25c)][_0x567c9c(0x1cc)]||'',_0x384963=this['getParamsForScanForCli'](_0x197975,_0x3c53aa,_0x6547be,_0x43fd59),_0xc5053c=_0x146f6d[_0x567c9c(0x2b3)](_0x4172d4[_0x567c9c(0x27b)],_0x146f6d[_0x567c9c(0x12a)])?await AccessibilityModule[_0x567c9c(0x237)](_0x146f6d['TfZEj'],_0x3c53aa,_0x1a493f):await AccessibilityModule[_0x567c9c(0x237)](_0x146f6d[_0x567c9c(0xdd)],_0x3c53aa);logger[_0x567c9c(0x272)](_0x567c9c(0x243)+(_0x384963?JSON['stringify'](_0x384963):_0x146f6d['xwfGF']));let _0x43cecd=CLIUtils[_0x567c9c(0x34d)](_0x384963,_0xc5053c);if(this['isAppAccessibility']){const _0x118a11=process[_0x567c9c(0x25c)][_0x567c9c(0x207)]||'';_0x43cecd[_0x567c9c(0x114)]&&(_0x43cecd[_0x567c9c(0x185)]=_0x43cecd[_0x567c9c(0x114)],delete _0x43cecd['centralAuthToken']),_0x43cecd=Object[_0x567c9c(0x221)]({},_0x43cecd,{'authHeader':_0x43cecd[_0x567c9c(0x120)]||_0x118a11,'method':_0x197975,'scanTimestamp':Date[_0x567c9c(0x1be)]()[_0x567c9c(0x2a4)]()});}logger[_0x567c9c(0x272)](_0x567c9c(0x173)+(_0x43cecd?JSON[_0x567c9c(0x1a8)](_0x43cecd):_0x146f6d[_0x567c9c(0x1ac)])),logger[_0x567c9c(0x342)](_0x567c9c(0x13f)+_0x197975);const _0x2eccbf=this[_0x567c9c(0x152)]?_0x24f99a:_0x252308,_0x19ed1f=await this[_0x567c9c(0xf5)](_0x2eccbf,_0x3c53aa,_0x197975,_0x43cecd,this['isAppAccessibility']);logger[_0x567c9c(0x342)](_0x567c9c(0x135)+_0x197975+_0x567c9c(0x148)+JSON[_0x567c9c(0x1a8)](_0x19ed1f));}catch(_0x340709){logger[_0x567c9c(0x113)](_0x567c9c(0x347)+(_0x340709[_0x567c9c(0x31e)]||_0x340709['message']));}}[a112_0x40a947(0x139)](){return this['getCurrentAccessibilityStatus']();}['setShouldScanCurrentTest'](_0x206004){const _0x22abec=a112_0x40a947,_0x325d96=CLIUtils[_0x22abec(0x1ba)]();this['accessibility'][_0x22abec(0x1c3)](_0x325d96,_0x206004);}async[a112_0x40a947(0x224)](_0x2cea4e){const _0x4331fe=a112_0x40a947,_0x1ad4b2={};_0x1ad4b2[_0x4331fe(0xdb)]=_0x4331fe(0x1ca);const _0x3b7ae9=_0x1ad4b2;try{const _0x7aa609=_0x2cea4e[_0x4331fe(0x206)]||AutomationFramework['getTrackedInstance'](),_0x2470ed=_0x7aa609?.[_0x4331fe(0x1db)]?.()?.[_0x4331fe(0x1a4)]?.(this[_0x4331fe(0x26d)])||![];if(_0x2470ed)return;PerformanceTester[_0x4331fe(0x27f)](EVENTS[_0x4331fe(0x1bb)]);const _0x1c670b=await GrpcClient[_0x4331fe(0x21e)]()[_0x4331fe(0x1d0)](_0x2cea4e);_0x1c670b&&_0x1c670b[_0x4331fe(0x22c)]&&_0x1c670b['getAccessibility']()&&_0x1c670b[_0x4331fe(0x22c)]()[_0x4331fe(0x348)]()?(await this[_0x4331fe(0x1d7)](_0x1c670b,_0x2cea4e),_0x7aa609?.[_0x4331fe(0x1db)]&&_0x7aa609['getData']()[_0x4331fe(0x1c3)](this['KEY_INIT'],!![]),logger[_0x4331fe(0x342)](_0x4331fe(0x108)+(_0x7aa609?.[_0x4331fe(0x30a)]?.()||_0x3b7ae9[_0x4331fe(0xdb)])+_0x4331fe(0x189))):logger[_0x4331fe(0x342)](_0x4331fe(0x108)+(_0x7aa609?.['getPlatformIndex']?.()||_0x3b7ae9[_0x4331fe(0xdb)])+_0x4331fe(0x131)),PerformanceTester[_0x4331fe(0x101)](EVENTS[_0x4331fe(0x1bb)]);}catch(_0xdcc55b){PerformanceTester[_0x4331fe(0x101)](EVENTS[_0x4331fe(0x1bb)],![],_0xdcc55b[_0x4331fe(0x2e0)]),logger[_0x4331fe(0x113)](_0x4331fe(0x309)+(_0xdcc55b[_0x4331fe(0x31e)]||_0xdcc55b['message']));}}async['loadAccessibilityConfig'](_0xe7cb96,_0x4d4609){const _0x28faf1=a112_0x40a947;await this[_0x28faf1(0x200)](_0xe7cb96,_0x4d4609);const _0x239938=_0xe7cb96[_0x28faf1(0x22c)]()[_0x28faf1(0x265)]();if(_0x239938){const _0x19a9a9=_0xe7cb96['getTesthub']&&_0xe7cb96['getTesthub']();_0x19a9a9&&(this[_0x28faf1(0x161)][this[_0x28faf1(0x305)]]=_0x19a9a9['getBuildId']&&_0x19a9a9[_0x28faf1(0x164)]());}}[a112_0x40a947(0x1ce)](_0x2e0fa2){const _0x12d581=a112_0x40a947,_0x2090a6={};_0x2090a6[_0x12d581(0x2e7)]=function(_0x4da6bf,_0xb45130){return _0x4da6bf===_0xb45130;};const _0x23ab15=_0x2090a6;try{if(!_0x2e0fa2)return![];const _0x1b7a8c=this[_0x12d581(0x161)]?.[_0x12d581(0x1e3)]?.[_0x12d581(0xe5)]?.[_0x12d581(0xef)]||[],_0x520703=_0x1b7a8c['some'](_0xbcebac=>{const _0x58717c=_0x12d581;return _0xbcebac['name']&&_0x23ab15[_0x58717c(0x2e7)](_0xbcebac[_0x58717c(0x18f)][_0x58717c(0x26f)](),_0x2e0fa2[_0x58717c(0x26f)]());});return logger[_0x12d581(0x342)](_0x12d581(0x2d8)+_0x2e0fa2+'\x20->\x20'+_0x520703+_0x12d581(0x10b)+JSON[_0x12d581(0x1a8)](_0x1b7a8c['map'](_0x310057=>_0x310057[_0x12d581(0x18f)]))),_0x520703;}catch(_0x5544cf){return logger[_0x12d581(0x342)](_0x12d581(0x299)+_0x5544cf[_0x12d581(0x2e0)]),![];}}['isBrowserstackScriptCommand'](_0x51d0c9){const _0x238f04=a112_0x40a947,_0x5afdd7={};_0x5afdd7['vSubr']=function(_0x2a48d5,_0x1b0cdf){return _0x2a48d5===_0x1b0cdf;},_0x5afdd7[_0x238f04(0x286)]=_0x238f04(0x105),_0x5afdd7[_0x238f04(0x2c6)]='browserstack_executor';const _0x40b736=_0x5afdd7,_0xfb7104=_0x51d0c9[_0x238f04(0x2eb)]&&_0x51d0c9[_0x238f04(0x2eb)]();return _0xfb7104&&_0x40b736['vSubr'](typeof _0xfb7104,_0x40b736[_0x238f04(0x286)])&&_0xfb7104[_0x238f04(0x2f5)](_0x40b736[_0x238f04(0x2c6)]);}[a112_0x40a947(0xe6)](_0x536584){const _0x1168b8=a112_0x40a947,_0x43a8f8={};_0x43a8f8[_0x1168b8(0x2cb)]=function(_0x5e321c,_0x38d20a){return _0x5e321c!==_0x38d20a;},_0x43a8f8[_0x1168b8(0x180)]=_0x1168b8(0x105),_0x43a8f8[_0x1168b8(0x2e6)]=_0x1168b8(0x16c),_0x43a8f8[_0x1168b8(0x1b9)]=_0x1168b8(0x2d2),_0x43a8f8[_0x1168b8(0x28a)]=_0x1168b8(0xe3),_0x43a8f8['uJqvV']='saveTestResults';const _0x3defe8=_0x43a8f8,_0x550d88=_0x536584[_0x1168b8(0x2eb)]&&_0x536584[_0x1168b8(0x2eb)]();if(!_0x550d88||_0x3defe8[_0x1168b8(0x2cb)](typeof _0x550d88,_0x3defe8[_0x1168b8(0x180)]))return![];return _0x550d88[_0x1168b8(0x2f5)](_0x3defe8[_0x1168b8(0x2e6)])||_0x550d88[_0x1168b8(0x2f5)](_0x3defe8[_0x1168b8(0x1b9)])||_0x550d88[_0x1168b8(0x2f5)](_0x3defe8[_0x1168b8(0x28a)])||_0x550d88['includes'](_0x3defe8[_0x1168b8(0x275)]);}['isMobileWebSession'](){const _0x4343f6=a112_0x40a947,_0x13ceee={'KAFxM':function(_0x2a3bc0,_0x8aa569){return _0x2a3bc0===_0x8aa569;},'ZLxmS':_0x4343f6(0x1fe),'YxzxH':function(_0x283680,_0x309040){return _0x283680(_0x309040);},'tsmsR':'platformName','rjRpW':'browserName','OJCkP':function(_0x310118,_0x920eee){return _0x310118===_0x920eee;},'SdROM':_0x4343f6(0x2de),'RiqML':_0x4343f6(0x2a6)};try{const _0x25cbee=this['accessibilityConfig']?.[_0x4343f6(0x1e3)]?.[_0x4343f6(0x22d)]||[],_0x31b690=_0x42b87f=>{const _0x3537be=_0x4343f6,_0x5ed162=_0x25cbee[_0x3537be(0x2ef)](_0x14a649=>(typeof _0x14a649[_0x3537be(0x202)]===_0x3537be(0x1fe)?_0x14a649[_0x3537be(0x202)]():_0x14a649['name'])===_0x42b87f);return _0x5ed162?_0x13ceee[_0x3537be(0x2e2)](typeof _0x5ed162[_0x3537be(0x214)],_0x13ceee[_0x3537be(0x147)])?_0x5ed162[_0x3537be(0x214)]():_0x5ed162['value']:null;},_0x16e55d=_0x13ceee[_0x4343f6(0x290)](_0x31b690,_0x13ceee[_0x4343f6(0x2c0)]),_0x46aca0=_0x13ceee['YxzxH'](_0x31b690,_0x13ceee[_0x4343f6(0x297)]),_0x489d65=global[_0x4343f6(0x166)]||_0x16e55d&&_0x13ceee[_0x4343f6(0x1e2)](_0x13ceee[_0x4343f6(0x290)](String,_0x16e55d)[_0x4343f6(0x26f)](),_0x13ceee[_0x4343f6(0x1a9)])&&_0x46aca0&&_0x13ceee[_0x4343f6(0x290)](String,_0x46aca0)[_0x4343f6(0x26f)]()['includes'](_0x13ceee['RiqML']);if(!_0x489d65)return![];if(!accessibilityHelper[_0x4343f6(0x111)]())return!this['_mobileScanningDisabledLogged']&&(logger['warn'](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),this[_0x4343f6(0x2da)]=!![]),![];return!![];}catch(_0x452f1e){return logger[_0x4343f6(0x342)](_0x4343f6(0x1e9)+_0x452f1e[_0x4343f6(0x2e0)]),![];}}[a112_0x40a947(0x13d)](_0x14923c,_0x1ca898,_0x2ae942,_0x8848c6){const _0x5e80b2=a112_0x40a947,_0x23b773={};_0x23b773[_0x5e80b2(0x219)]=function(_0x2e1ba0,_0x5dc6fa){return _0x2e1ba0||_0x5dc6fa;},_0x23b773['tjTMs']=function(_0x1136bf,_0x2e0bb9){return _0x1136bf&&_0x2e0bb9;},_0x23b773[_0x5e80b2(0x2e1)]=_0x5e80b2(0x11f);const _0x38759e=_0x23b773;let _0x390cc6=_0x38759e['gtxop'](_0x1ca898,'');const _0x57b636=!this[_0x5e80b2(0x152)]&&this[_0x5e80b2(0x232)]();_0x38759e[_0x5e80b2(0x1f0)](_0x57b636,!_0x390cc6)&&(_0x390cc6=accessibilityHelper[_0x5e80b2(0x2af)]());const _0x42fd54={'command':_0x14923c,'thTestRunUuid':_0x390cc6,'thBuildUuid':_0x38759e[_0x5e80b2(0x219)](_0x2ae942,''),'thJwtToken':_0x38759e['gtxop'](_0x8848c6,''),'timestamp':new Date()[_0x5e80b2(0x340)]()};return _0x57b636&&(_0x42fd54['is_mobile_session']=!![],logger['debug'](_0x38759e['MrNVr'])),_0x42fd54;}[a112_0x40a947(0x260)](_0x212140){const _0x2b6c31=a112_0x40a947,_0x22878f={};_0x22878f[_0x2b6c31(0x16d)]=function(_0x586bfc,_0x474a67){return _0x586bfc||_0x474a67;};const _0x5cdbbb=_0x22878f;try{const _0x3c86c=this[_0x2b6c31(0x161)]?.['options']?.['scriptsList']||[],_0x4dba08=_0x3c86c[_0x2b6c31(0x2ef)](_0x32875f=>_0x32875f[_0x2b6c31(0x18f)]===_0x212140);return _0x5cdbbb[_0x2b6c31(0x16d)](_0x4dba08,null);}catch(_0x550c2e){return logger[_0x2b6c31(0x342)]('Error\x20getting\x20script\x20by\x20name\x20'+_0x212140+':\x20'+_0x550c2e[_0x2b6c31(0x2e0)]),null;}}async[a112_0x40a947(0x329)](_0x525cfd,_0x104f16,_0x54f45e=null){const _0xa8d1a7=a112_0x40a947,_0x377fe7={'tCJuT':function(_0x3f5001,_0x35f5b3){return _0x3f5001(_0x35f5b3);},'fDIDl':_0xa8d1a7(0x213)};try{if(!_0x525cfd)return logger[_0xa8d1a7(0x342)](_0xa8d1a7(0x29e)+_0x104f16),null;const _0x2ec505=this[_0xa8d1a7(0x260)](_0x104f16);if(!_0x2ec505||!_0x2ec505[_0xa8d1a7(0x18b)])return logger[_0xa8d1a7(0x342)]('executeScriptByName:\x20No\x20'+_0x104f16+_0xa8d1a7(0x2ad)),null;logger[_0xa8d1a7(0x342)](_0xa8d1a7(0x107)+_0x104f16+'\x20accessibility\x20script\x20on\x20page');const _0x7ceca4=_0x377fe7['tCJuT'](require,_0x377fe7[_0xa8d1a7(0x210)]),_0xc062d8=_0x54f45e?await _0x7ceca4[_0xa8d1a7(0x1f2)](_0x525cfd,_0x2ec505[_0xa8d1a7(0x18b)],_0x54f45e):await _0x7ceca4['browserStackEvaluate'](_0x525cfd,_0x2ec505[_0xa8d1a7(0x18b)]);return _0xc062d8;}catch(_0x20c7f8){return logger['error'](_0xa8d1a7(0x198)+_0x104f16+':\x20'+(_0x20c7f8['stack']||_0x20c7f8[_0xa8d1a7(0x2e0)])),null;}}async[a112_0x40a947(0xf5)](_0x4b8f32,_0x584347,_0xd7032d,_0x31a5d0,_0x12f9b5,_0x1c2990=a112_0x40a947(0x15b)){const _0x445d1c=a112_0x40a947,_0x53355f={'MUybu':function(_0x3e8efe,_0x5a4ca8){return _0x3e8efe===_0x5a4ca8;},'hIOsG':'scan','xqseZ':function(_0x2365f8,_0x58ca52){return _0x2365f8(_0x58ca52);},'rPJRR':_0x445d1c(0x213),'TySiM':function(_0x3ae042,_0x4ed387){return _0x3ae042(_0x4ed387);}};try{logger[_0x445d1c(0x342)](_0x445d1c(0x26b)+_0xd7032d+'\x20using\x20script:\x20'+_0x1c2990+_0x445d1c(0x283)+_0x12f9b5);const _0x3a251a=this[_0x445d1c(0x260)](_0x1c2990);if(!_0x3a251a||!_0x3a251a[_0x445d1c(0x18b)]){logger[_0x445d1c(0x342)](_0x445d1c(0x1df)+_0x1c2990+'\x20script\x20available\x20in\x20scriptsList');return;}if(_0x12f9b5){if(_0x4b8f32[BSTACK_SCAN_IN_PROGRESS]){logger[_0x445d1c(0x342)]('[App-A11y]\x20performScanForCli:\x20scan\x20already\x20in\x20progress,\x20skipping\x20re-entrant\x20call\x20for\x20'+_0xd7032d);return;}return await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xd9072b=_0x445d1c;let _0x49784f=_0x3a251a[_0xd9072b(0x18b)];_0x49784f[_0xd9072b(0x2f5)]('%s')&&(_0x49784f=_0x49784f[_0xd9072b(0x24e)]('%s',JSON[_0xd9072b(0x1a8)](_0x31a5d0)));logger[_0xd9072b(0x342)]('[App-A11y]\x20Executing\x20synchronous\x20scan\x20script\x20for\x20command:\x20'+_0xd7032d),_0x4b8f32[BSTACK_SCAN_IN_PROGRESS]=!![];try{const _0x4d1e6f=await _0x4b8f32[_0xd9072b(0xdf)](_0x49784f);return logger[_0xd9072b(0x272)](_0xd9072b(0x2a5)+_0xd7032d+':\x20'+util['format'](_0x4d1e6f)),_0x4d1e6f;}finally{_0x4b8f32[BSTACK_SCAN_IN_PROGRESS]=![];}},{'command':_0xd7032d})();}if(_0x53355f[_0x445d1c(0x22a)](_0x1c2990,_0x53355f[_0x445d1c(0x21b)])){const _0x52cb5f=_0x53355f[_0x445d1c(0x1c8)](require,_0x53355f[_0x445d1c(0x310)]),_0x53db99={};_0x53db99[_0x445d1c(0x18b)]=_0xd7032d;const _0x13606d=await PerformanceTester[_0x445d1c(0x205)](PerformanceA11yEvents[_0x445d1c(0x140)],async()=>{const _0x4b60b4=_0x445d1c;return await _0x52cb5f[_0x4b60b4(0x1f2)](_0x4b8f32,_0x3a251a['command'],_0x31a5d0);},_0x53db99)();return logger[_0x445d1c(0x272)](_0x445d1c(0x127)+_0x1c2990+_0x445d1c(0x23b)+_0xd7032d+':\x20'+util[_0x445d1c(0x195)](_0x13606d)),_0x13606d;}const _0x1c8991=_0x53355f[_0x445d1c(0x291)](require,_0x53355f[_0x445d1c(0x310)]),_0x42c069=await PerformanceTester[_0x445d1c(0x205)](PerformanceA11yEvents[_0x445d1c(0x159)],async()=>{const _0x49f431=_0x445d1c;return await _0x1c8991['browserStackEvaluate'](_0x4b8f32,_0x3a251a[_0x49f431(0x18b)],_0x31a5d0);})();return logger[_0x445d1c(0x272)](_0x445d1c(0x127)+_0x1c2990+_0x445d1c(0x23b)+_0xd7032d+':\x20'+util[_0x445d1c(0x195)](_0x42c069)),_0x42c069;}catch(_0x5cce46){logger[_0x445d1c(0x113)](_0x445d1c(0x11e)+_0x1c2990+':\x20'+(_0x5cce46[_0x445d1c(0x31e)]||_0x5cce46[_0x445d1c(0x2e0)]));}}async[a112_0x40a947(0x263)](_0x89df89){const _0x45985a=a112_0x40a947,_0x341627={'qTvlO':function(_0x1e0858,_0x50855d){return _0x1e0858(_0x50855d);},'wYdzE':'../../../helpers/accessibility-automation/helper'};try{const _0x5a9265=_0x341627[_0x45985a(0x2b6)](require,_0x341627[_0x45985a(0x29c)]);return await _0x5a9265[_0x45985a(0x1bd)](_0x89df89);}catch(_0x44f123){return logger[_0x45985a(0x113)](_0x45985a(0x339)+(_0x44f123[_0x45985a(0x31e)]||_0x44f123['message'])),![];}}[a112_0x40a947(0x26a)](_0x59206c,_0x50f2b5,_0x3ebb7e){const _0x439e25=a112_0x40a947,_0x1e0684={'EwNgY':function(_0x3123f9,_0x5f0c8e){return _0x3123f9(_0x5f0c8e);},'mcthq':_0x439e25(0x213),'UaAUw':'\x22browserstack.user\x22:\x22[REDACTED]\x22','bjMBL':'\x22browserstack.key\x22:\x22[REDACTED]\x22'};try{const _0x4a676b=_0x1e0684['EwNgY'](require,_0x1e0684[_0x439e25(0x1aa)]);_0x4a676b[_0x439e25(0x26a)](_0x59206c,_0x50f2b5,_0x3ebb7e);const _0x3bbe93=JSON[_0x439e25(0x1a8)](_0x59206c)[_0x439e25(0x24e)](/"browserstack\.user":"[^"]*"/g,_0x1e0684[_0x439e25(0x33d)])[_0x439e25(0x24e)](/"browserstack\.key":"[^"]*"/g,_0x1e0684[_0x439e25(0x22e)]);logger[_0x439e25(0x342)](_0x439e25(0x13c)+global[_0x439e25(0x10a)]+'\x20'+_0x3bbe93);}catch(_0x45b1cc){logger[_0x439e25(0x113)](_0x439e25(0x1e6)+(_0x45b1cc[_0x439e25(0x31e)]||_0x45b1cc[_0x439e25(0x2e0)]));}}async[a112_0x40a947(0x2d4)]({fetchFn:_0x4dfd8e,isNonEmpty:_0x5adbca,resultDetail:_0x51bf8e,totalMs:_0x2b3031,intervalMs:_0x31f371,name:_0x25df67}){const _0x19e804=a112_0x40a947,_0x418158={'seZSF':function(_0x2856c4,_0x426315){return _0x2856c4+_0x426315;},'oIXSy':function(_0x357917,_0xf63543){return _0x357917<_0xf63543;},'cFzQm':function(_0x1caff7){return _0x1caff7();},'runjH':function(_0x2a6470,_0x57fdc5){return _0x2a6470(_0x57fdc5);},'hAvgZ':function(_0x5939a3,_0x2106f1){return _0x5939a3>=_0x2106f1;},'OUdHi':function(_0xd24649,_0x493036){return _0xd24649+_0x493036;},'gKRlc':function(_0x2c5d11,_0x1542be){return _0x2c5d11-_0x1542be;}},_0x5c5ce4=Date[_0x19e804(0x1be)](),_0x1e3caa=_0x418158[_0x19e804(0x233)](_0x5c5ce4,_0x2b3031);let _0x17f830=0x0,_0x131f9c=null,_0x590c54=![];while(_0x418158[_0x19e804(0x30d)](Date[_0x19e804(0x1be)](),_0x1e3caa)){_0x17f830++,_0x131f9c=await _0x418158[_0x19e804(0x324)](_0x4dfd8e),_0x590c54=_0x418158['runjH'](_0x5adbca,_0x131f9c),logger[_0x19e804(0x342)]('['+_0x25df67+_0x19e804(0x110)+_0x17f830+'\x20'+_0x418158['runjH'](_0x51bf8e,_0x131f9c));if(_0x590c54)break;if(_0x418158['hAvgZ'](_0x418158['OUdHi'](Date[_0x19e804(0x1be)](),_0x31f371),_0x1e3caa))break;await new Promise(_0x5292f6=>setTimeout(_0x5292f6,_0x31f371));}return!_0x590c54&&logger[_0x19e804(0x31c)]('['+_0x25df67+_0x19e804(0x2e5)+_0x17f830+'x\x20over\x20'+_0x418158[_0x19e804(0xe4)](Date[_0x19e804(0x1be)](),_0x5c5ce4)+_0x19e804(0x234)+_0x418158[_0x19e804(0x18c)](_0x51bf8e,_0x131f9c)+_0x19e804(0x2bf)),_0x131f9c;}async[a112_0x40a947(0x188)](_0xdae788,_0x1b3e2e){const _0x6ae03=a112_0x40a947,_0x501f71={};_0x501f71[_0x6ae03(0x184)]='getResults',_0x501f71[_0x6ae03(0x345)]=_0x6ae03(0x316),_0x501f71[_0x6ae03(0x264)]=_0x6ae03(0x216),_0x501f71[_0x6ae03(0x146)]=_0x6ae03(0x12f);const _0x124bfa=_0x501f71;try{const _0x964e8e=process[_0x6ae03(0x25c)][_0x6ae03(0x1b1)]||'';logger['info'](_0x6ae03(0x34b)+_0x964e8e+',\x20testRunId='+_0x1b3e2e+_0x6ae03(0x2e8)+_0xdae788);const _0x3aa8c9=await GrpcClient[_0x6ae03(0x21e)]()[_0x6ae03(0x274)](_0x964e8e,_0x1b3e2e,_0xdae788,_0x124bfa['wvAnC']);if(!_0x3aa8c9||!_0x3aa8c9[_0x6ae03(0xfa)])return logger[_0x6ae03(0x31c)](_0x124bfa['sGxHj']),[];const _0x3fc069=_0x3aa8c9[_0x6ae03(0xfa)](),_0x1a6c1a=Buffer[_0x6ae03(0x1bc)](_0x3fc069)[_0x6ae03(0x2a4)](_0x124bfa[_0x6ae03(0x264)])[_0x6ae03(0x318)]();if(!_0x1a6c1a)return logger[_0x6ae03(0x31c)](_0x124bfa[_0x6ae03(0x146)]),[];return JSON[_0x6ae03(0x307)](_0x1a6c1a);}catch(_0x3f48cc){return logger[_0x6ae03(0x113)](_0x6ae03(0x2a7)+(_0x3f48cc['stack']||_0x3f48cc[_0x6ae03(0x2e0)])),[];}}async[a112_0x40a947(0x249)](_0x2b560f,_0x5392cc){const _0x81f6b3=a112_0x40a947,_0x251337={};_0x251337[_0x81f6b3(0x343)]=_0x81f6b3(0x25f),_0x251337[_0x81f6b3(0x33c)]='[App-A11y]\x20getAppAccessibilityResultsSummary:\x20Empty\x20response\x20from\x20binary',_0x251337['nJDJp']='utf-8',_0x251337[_0x81f6b3(0x289)]=_0x81f6b3(0x136);const _0x5cc8e5=_0x251337;try{const _0x355cdd=process[_0x81f6b3(0x25c)][_0x81f6b3(0x1b1)]||'';logger['info'](_0x81f6b3(0x2e4)+_0x355cdd+_0x81f6b3(0x349)+_0x5392cc+_0x81f6b3(0x2e8)+_0x2b560f);const _0x4aa871=await GrpcClient[_0x81f6b3(0x21e)]()['accessibilityResult'](_0x355cdd,_0x5392cc,_0x2b560f,_0x5cc8e5[_0x81f6b3(0x343)]);if(!_0x4aa871||!_0x4aa871['getResultResponse'])return logger[_0x81f6b3(0x31c)](_0x5cc8e5['KgUzd']),{};const _0x35a0f7=_0x4aa871[_0x81f6b3(0xfa)](),_0x327902=Buffer['from'](_0x35a0f7)[_0x81f6b3(0x2a4)](_0x5cc8e5['nJDJp'])[_0x81f6b3(0x318)]();if(!_0x327902)return logger[_0x81f6b3(0x31c)](_0x5cc8e5[_0x81f6b3(0x289)]),{};return JSON[_0x81f6b3(0x307)](_0x327902);}catch(_0x213edc){return logger['error'](_0x81f6b3(0x34a)+(_0x213edc[_0x81f6b3(0x31e)]||_0x213edc[_0x81f6b3(0x2e0)])),{};}}async[a112_0x40a947(0x231)](_0x4dd928){const _0x34b700=a112_0x40a947,_0x4870eb={};_0x4870eb[_0x34b700(0x163)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.',_0x4870eb['PevJf']=function(_0x5a2a49,_0x590fa6){return _0x5a2a49>_0x590fa6;},_0x4870eb[_0x34b700(0x128)]='AccessibilityModule.getResults';const _0x4b7560=_0x4870eb;try{if(!this[_0x34b700(0x306)]())return logger[_0x34b700(0x31c)](_0x4b7560[_0x34b700(0x163)]),[];const _0x5df983=this[_0x34b700(0x232)]()?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper['resolveMobileThTestRunUuid']()}:{};_0x4b7560[_0x34b700(0x2a3)](Object['keys'](_0x5df983)[_0x34b700(0x323)],0x0)&&logger[_0x34b700(0x342)](_0x34b700(0x311)+JSON[_0x34b700(0x1a8)](_0x5df983));const _0x325024=await this['_pollUntilNonEmpty']({'fetchFn':()=>Object[_0x34b700(0x2b0)](_0x5df983)[_0x34b700(0x323)]>0x0?this[_0x34b700(0x329)](_0x4dd928,_0x34b700(0xe3),_0x5df983):this[_0x34b700(0x329)](_0x4dd928,_0x34b700(0xe3)),'isNonEmpty':_0x280a88=>Array[_0x34b700(0x20c)](_0x280a88)&&_0x280a88[_0x34b700(0x323)]>0x0,'resultDetail':_0x23457e=>_0x34b700(0x116)+(Array[_0x34b700(0x20c)](_0x23457e)?_0x23457e[_0x34b700(0x323)]:-0x1),'totalMs':0xea60,'intervalMs':0x1388,'name':_0x4b7560['OLEiY']});return _0x325024||[];}catch(_0x386d8a){return logger['error'](_0x34b700(0xff)+(_0x386d8a[_0x34b700(0x31e)]||_0x386d8a[_0x34b700(0x2e0)])),[];}}async[a112_0x40a947(0x1ff)](_0x4c70c9){const _0x135cf0=a112_0x40a947,_0x43b62a={'OyMwZ':function(_0x17f448,_0x3a2aae,_0x3a593d){return _0x17f448(_0x3a2aae,_0x3a593d);},'XJQih':'scan','SbPVv':function(_0x1385ef,_0x56cb68){return _0x1385ef(_0x56cb68);},'CpweQ':'getResultsSummary','tBbsC':_0x135cf0(0xfc),'nOxBX':function(_0xe0a18f,_0x327117){return _0xe0a18f(_0x327117);},'lFBYq':_0x135cf0(0x293),'ZOKkX':function(_0x59b268,_0x1d10d0){return _0x59b268===_0x1d10d0;},'zdAWO':'jest','FWqaE':_0x135cf0(0x298),'OlysF':_0x135cf0(0x16c),'NdYrJ':'testhub_build_uuid','STYVZ':_0x135cf0(0x1ff),'WsjCv':'test_run_id','IrApl':_0x135cf0(0x30c),'YtSIE':_0x135cf0(0x23c),'xtghK':_0x135cf0(0x1fa),'kEtYm':'No\x20summaryResults\x20found.','nFmyL':'object'};try{if(!this[_0x135cf0(0x306)]())return logger[_0x135cf0(0x31c)](_0x43b62a[_0x135cf0(0x2cd)]),{};const _0x1f0946=_0x43b62a[_0x135cf0(0x2db)](require,_0x43b62a[_0x135cf0(0x1f4)]),_0x2c44c4=_0x1f0946[_0x135cf0(0x338)](),_0x1975e5=_0x43b62a[_0x135cf0(0x20f)](_0x2c44c4?.[_0x135cf0(0x18f)]?.[_0x135cf0(0x26f)](),_0x43b62a[_0x135cf0(0x19f)]);let _0x4dae6d='',_0x311131=null,_0x33bbba=null;if(_0x1975e5){_0x311131=global[_0x135cf0(0x157)]||global[_0x135cf0(0x181)]?.['currentTest']?.[_0x135cf0(0x281)]||global[_0x135cf0(0x181)]?.[_0x135cf0(0xe1)]?.['id'];if(!_0x311131)return logger[_0x135cf0(0x31c)](_0x43b62a['FWqaE']),{};try{const _0x2e7fe9=await GrpcClient[_0x135cf0(0x21e)]()[_0x135cf0(0x1f3)](process[_0x135cf0(0x25c)][_0x135cf0(0x1b1)],_0x43b62a[_0x135cf0(0x288)],_0x43b62a[_0x135cf0(0x21a)],_0x311131),_0x5b9ea9=AccessibilityModule[_0x135cf0(0x151)](null,_0x2e7fe9);_0x4dae6d=_0x5b9ea9?.['thTestRunUuid']||'',logger[_0x135cf0(0x342)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x4dae6d+'\x20from\x20testIdentifier='+_0x311131);const _0x1054a2=await AccessibilityModule[_0x135cf0(0x237)](_0x43b62a[_0x135cf0(0x21a)],_0x4dae6d,_0x311131),_0x37f1f3=this[_0x135cf0(0x126)](_0x43b62a[_0x135cf0(0x149)])||this[_0x135cf0(0x161)][this[_0x135cf0(0x305)]]||null,_0x53c5c3=process[_0x135cf0(0x25c)][_0x135cf0(0x1cc)]||'',_0x3b52f2=this[_0x135cf0(0x13d)](_0x43b62a['STYVZ'],_0x4dae6d,_0x37f1f3,_0x53c5c3);_0x33bbba=_0x1f0946[_0x135cf0(0x34d)](_0x3b52f2,_0x1054a2),logger[_0x135cf0(0x342)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs='+JSON[_0x135cf0(0x1a8)](_0x33bbba));}catch(_0x2122a4){return logger[_0x135cf0(0x113)](_0x135cf0(0x1ab)+_0x2122a4[_0x135cf0(0x2e0)]),{};}}else{_0x4dae6d=this[_0x135cf0(0x126)](_0x43b62a[_0x135cf0(0x242)])||'';!_0x4dae6d&&this[_0x135cf0(0x232)]()&&(_0x4dae6d=accessibilityHelper[_0x135cf0(0x2af)]());const _0x40fdf3=this['getCapabilityValue'](_0x43b62a[_0x135cf0(0x149)])||this[_0x135cf0(0x161)][this[_0x135cf0(0x305)]]||null,_0x40d102=process['env']['BROWSERSTACK_TESTHUB_JWT']||'';_0x33bbba=this['getParamsForScanForCli'](_0x43b62a[_0x135cf0(0x25a)],_0x4dae6d,_0x40fdf3,_0x40d102);}logger[_0x135cf0(0x342)](_0x43b62a[_0x135cf0(0x217)]);const _0x237d74=0x15f90,_0x36def3=0x1388;try{await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x135cf0(0x140)],async()=>{const _0x608bd5=_0x135cf0,_0x36c995={'XJBJu':function(_0x1a645f,_0x5e79c2,_0x287c41){const _0x187cef=a112_0x70e8;return _0x43b62a[_0x187cef(0x1c2)](_0x1a645f,_0x5e79c2,_0x287c41);}},_0x2c0e52=this[_0x608bd5(0x329)](_0x4c70c9,_0x43b62a[_0x608bd5(0x1b4)],_0x33bbba);let _0x1c3bea;const _0x112f2c=new Promise((_0x549cc8,_0xef207d)=>{const _0x574772=_0x608bd5;_0x1c3bea=_0x36c995[_0x574772(0x276)](setTimeout,()=>_0xef207d(new Error(_0x574772(0x2ca)+_0x237d74+'ms')),_0x237d74);});try{const _0x4a49f5=await Promise[_0x608bd5(0x13e)]([_0x2c0e52,_0x112f2c]);logger['debug'](_0x608bd5(0x2a8)+util[_0x608bd5(0x195)](_0x4a49f5));}finally{_0x43b62a[_0x608bd5(0x2ff)](clearTimeout,_0x1c3bea);}},{'command':_0x43b62a[_0x135cf0(0x25a)]})();}catch(_0x5d4364){logger[_0x135cf0(0x31c)](_0x135cf0(0x332)+_0x5d4364[_0x135cf0(0x2e0)]+_0x135cf0(0x333)),global[_0x135cf0(0x24d)]={'reason':_0x43b62a[_0x135cf0(0x196)],'at':Date[_0x135cf0(0x1be)](),'where':_0x43b62a['xtghK']},await new Promise(_0x286190=>setTimeout(_0x286190,_0x36def3)),logger[_0x135cf0(0x342)](_0x135cf0(0x2b1)+_0x36def3+_0x135cf0(0x1c6));}const _0x17dadf=await this[_0x135cf0(0x2d4)]({'fetchFn':()=>PerformanceTester[_0x135cf0(0x205)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x3b5245=_0x135cf0;return await this[_0x3b5245(0x329)](_0x4c70c9,_0x43b62a['CpweQ'],_0x33bbba);})(),'isNonEmpty':_0x3ce05a=>_0x3ce05a&&typeof _0x3ce05a[_0x135cf0(0x240)]==='number'&&_0x3ce05a[_0x135cf0(0x240)]>0x0,'resultDetail':_0xd02e9b=>_0x135cf0(0x142)+(_0xd02e9b&&typeof _0xd02e9b[_0x135cf0(0x240)]===_0x135cf0(0x190)?_0xd02e9b['totalIssueCount']:-0x1),'totalMs':0xea60,'intervalMs':0x1388,'name':_0x43b62a[_0x135cf0(0xe7)]});if(!_0x17dadf)return logger[_0x135cf0(0x342)](_0x43b62a[_0x135cf0(0x20b)]),{};return _0x43b62a[_0x135cf0(0x20f)](typeof _0x17dadf,_0x43b62a[_0x135cf0(0x317)])&&global['__bstackA11yScanCapHit']&&(_0x17dadf[_0x135cf0(0x303)]=!![],_0x17dadf[_0x135cf0(0x2fa)]=global['__bstackA11yScanCapHit'][_0x135cf0(0x261)]),_0x17dadf;}catch(_0x1afcb8){return logger[_0x135cf0(0x113)](_0x135cf0(0x328)+(_0x1afcb8[_0x135cf0(0x31e)]||_0x1afcb8[_0x135cf0(0x2e0)])),{};}}async['performPageScan'](_0x224f10,_0x4fcc04,_0x3de0fc=null){const _0x104ded=a112_0x40a947,_0x5096e5={};_0x5096e5[_0x104ded(0x26e)]=_0x104ded(0x1ea),_0x5096e5['MJthZ']='performPageScan:\x20Script\x20is\x20null',_0x5096e5[_0x104ded(0x1c1)]=_0x104ded(0x119);const _0x160d06=_0x5096e5;try{if(!_0x224f10)return logger[_0x104ded(0x342)](_0x160d06[_0x104ded(0x26e)]),null;if(!_0x4fcc04)return logger[_0x104ded(0x342)](_0x160d06[_0x104ded(0x238)]),null;logger[_0x104ded(0x342)](_0x160d06[_0x104ded(0x1c1)]);const _0x5d2c7d=_0x3de0fc?await _0x224f10[_0x104ded(0x118)](_0x4fcc04,_0x3de0fc):await _0x224f10[_0x104ded(0x118)](_0x4fcc04);return _0x5d2c7d;}catch(_0x14701e){return logger[_0x104ded(0x113)](_0x104ded(0xdc)+(_0x14701e['stack']||_0x14701e[_0x104ded(0x2e0)])),null;}}static[a112_0x40a947(0x151)](_0x583d9a,_0xdf1ed5){const _0x249e1f=a112_0x40a947,_0x184358={};_0x184358[_0x249e1f(0x28c)]=_0x249e1f(0x216);const _0x11d0fb=_0x184358,_0x4c2a88={};_0x4c2a88[_0x249e1f(0x262)]=_0x583d9a;const _0x1125cc=_0x4c2a88;let _0x32b016={};if(_0xdf1ed5[_0x249e1f(0x348)]()&&_0xdf1ed5[_0x249e1f(0xf3)]())try{_0x32b016=JSON['parse'](Buffer[_0x249e1f(0x1bc)](_0xdf1ed5[_0x249e1f(0x28b)]())['toString'](_0x11d0fb['fClaj']));}catch(_0x180a91){logger[_0x249e1f(0x113)]('Error\x20parsing\x20accessibility\x20execute\x20params:\x20'+_0x180a91[_0x249e1f(0x2e0)]),_0x32b016={};}return CLIUtils['mergeObject'](_0x1125cc,_0x32b016);}static async[a112_0x40a947(0x237)](_0x49dc73,_0x3f6b34='',_0x5cf827=null){const _0x400d7b=a112_0x40a947,_0x474548={};_0x474548[_0x400d7b(0x204)]='fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available',_0x474548[_0x400d7b(0x255)]=_0x400d7b(0x16c);const _0x36b82a=_0x474548;try{if(!_0x5cf827&&AccessibilityModule['_centralAuthConfigFetched'])return AccessibilityModule[_0x400d7b(0x15c)];if(!process[_0x400d7b(0x25c)][_0x400d7b(0x1b1)])return logger[_0x400d7b(0x113)](_0x36b82a[_0x400d7b(0x204)]),{};const _0x55de97=await GrpcClient['getInstance']()[_0x400d7b(0x1f3)](process[_0x400d7b(0x25c)][_0x400d7b(0x1b1)],_0x36b82a[_0x400d7b(0x255)],_0x49dc73,_0x5cf827),_0x1a946d=_0x5cf827?AccessibilityModule[_0x400d7b(0x151)](null,_0x55de97)?.[_0x400d7b(0x262)]||_0x3f6b34:_0x3f6b34,_0x3231fc=AccessibilityModule['loadDriverExecuteParams'](_0x1a946d,_0x55de97);return!_0x5cf827&&(AccessibilityModule[_0x400d7b(0x15c)]=_0x3231fc,AccessibilityModule[_0x400d7b(0x1d5)]=!![]),_0x3231fc;}catch(_0x1602e1){return logger['error'](_0x400d7b(0x193)+_0x49dc73+':\x20'+(_0x1602e1['stack']||_0x1602e1[_0x400d7b(0x2e0)])),{};}}};module[a112_0x40a947(0x1b5)]=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a113_0x150f40=a113_0x1941;(function(_0x1169f1,_0x560f5a){const _0x4e1866=a113_0x1941,_0x124f58=_0x1169f1();while(!![]){try{const _0x317b86=-parseInt(_0x4e1866(0x92))/0x1*(parseInt(_0x4e1866(0x8c))/0x2)+-parseInt(_0x4e1866(0xb4))/0x3*(-parseInt(_0x4e1866(0x88))/0x4)+parseInt(_0x4e1866(0xad))/0x5+-parseInt(_0x4e1866(0x9d))/0x6*(parseInt(_0x4e1866(0xb2))/0x7)+parseInt(_0x4e1866(0x8e))/0x8+parseInt(_0x4e1866(0x91))/0x9*(parseInt(_0x4e1866(0xa9))/0xa)+-parseInt(_0x4e1866(0xa0))/0xb;if(_0x317b86===_0x560f5a)break;else _0x124f58['push'](_0x124f58['shift']());}catch(_0x3156e6){_0x124f58['push'](_0x124f58['shift']());}}}(a113_0x4198,0x45cbc));const logger=require(a113_0x150f40(0xaf))['winstonLogger'],{FRAMEWORKS}=require(a113_0x150f40(0xae));function a113_0x1941(_0x36f38c,_0x22009f){const _0x41988e=a113_0x4198();return a113_0x1941=function(_0x194122,_0x51a7fa){_0x194122=_0x194122-0x83;let _0x18aae6=_0x41988e[_0x194122];return _0x18aae6;},a113_0x1941(_0x36f38c,_0x22009f);}class BaseModule{constructor(_0x3dbd36=null){const _0x37eb09=a113_0x150f40,_0xe4ad58={};_0xe4ad58[_0x37eb09(0x94)]=_0x37eb09(0x8a),_0xe4ad58[_0x37eb09(0x9a)]='BaseModule';const _0x2fc8a8=_0xe4ad58,_0x5da174=_0x2fc8a8[_0x37eb09(0x94)][_0x37eb09(0xb0)]('|');let _0x57c5ce=0x0;while(!![]){switch(_0x5da174[_0x57c5ce++]){case'0':this[_0x37eb09(0x8b)]=null;continue;case'1':this[_0x37eb09(0xab)]=this[_0x37eb09(0xa2)](_0x3dbd36);continue;case'2':this[_0x37eb09(0xa7)]=null;continue;case'3':this[_0x37eb09(0x98)]=0x0;continue;case'4':this[_0x37eb09(0x86)]=_0x2fc8a8['sLVUU'];continue;case'5':this[_0x37eb09(0x90)]={};continue;}break;}}[a113_0x150f40(0xa6)](){const _0x16b3a0=a113_0x150f40,_0x5b889e={};_0x5b889e[_0x16b3a0(0xa3)]=_0x16b3a0(0xb3);const _0x918663=_0x5b889e;if(!this[_0x16b3a0(0x8b)])throw new Error(_0x918663[_0x16b3a0(0xa3)]);}['getModuleName'](){const _0x21787b=a113_0x150f40;return this[_0x21787b(0x86)];}['configure'](_0x431daa,_0x49814c,_0x25ec67,_0x23acb1={}){const _0x25f023=a113_0x150f40,_0x5a2fdd={};_0x5a2fdd[_0x25f023(0x97)]='1|0|4|3|2';const _0x311dae=_0x5a2fdd,_0x4b4486=_0x311dae['TZjXY']['split']('|');let _0xe02d5d=0x0;while(!![]){switch(_0x4b4486[_0xe02d5d++]){case'0':this[_0x25f023(0x98)]=_0x49814c;continue;case'1':this[_0x25f023(0x8b)]=_0x431daa;continue;case'2':logger[_0x25f023(0x9f)](_0x25f023(0x9c)+this['getModuleName']()+_0x25f023(0x99)+_0x431daa+_0x25f023(0xaa)+_0x49814c);continue;case'3':this['config']=_0x23acb1;continue;case'4':this[_0x25f023(0xa7)]=_0x25ec67;continue;}break;}}[a113_0x150f40(0x87)](_0x1ab715){const _0x3854f6=a113_0x150f40,_0x51a980={};_0x51a980[_0x3854f6(0xb6)]=function(_0x514f29,_0x1ec595){return _0x514f29===_0x1ec595;},_0x51a980['efgym']=function(_0x2ca9b0,_0x254d5){return _0x2ca9b0===_0x254d5;},_0x51a980[_0x3854f6(0xac)]=function(_0x4e8598,_0x216fff){return _0x4e8598===_0x216fff;},_0x51a980[_0x3854f6(0x85)]=function(_0x1a5c8e,_0x693942){return _0x1a5c8e===_0x693942;};const _0x2ea931=_0x51a980;let _0x5ad2d6='';if(_0x2ea931[_0x3854f6(0xb6)](_0x1ab715[_0x3854f6(0xa8)],FRAMEWORKS[_0x3854f6(0x96)]))_0x5ad2d6=_0x1ab715[_0x3854f6(0x83)]?.[_0x3854f6(0x9e)]?.['id']||_0x1ab715[_0x3854f6(0x83)]?.[_0x3854f6(0x8f)];else{if(_0x2ea931[_0x3854f6(0x93)](_0x1ab715[_0x3854f6(0xa8)],FRAMEWORKS[_0x3854f6(0x9b)]))_0x5ad2d6=_0x1ab715[_0x3854f6(0x83)]?.[_0x3854f6(0x89)];else{if(_0x2ea931['gAJce'](_0x1ab715['testFramework'],FRAMEWORKS[_0x3854f6(0x84)]))_0x5ad2d6=_0x1ab715[_0x3854f6(0x83)]?.['id'];else _0x2ea931['AWPOS'](_0x1ab715['testFramework'],FRAMEWORKS[_0x3854f6(0xa5)])&&(_0x5ad2d6=_0x1ab715['testInfo']?.[_0x3854f6(0xa4)]);}}return _0x5ad2d6;}['setTestFrameworkData'](_0x6e925d){const _0x4be74a=a113_0x150f40,_0x2a1944={};_0x2a1944[_0x4be74a(0x8d)]=function(_0x1067e4,_0x82488){return _0x1067e4!==_0x82488;},_0x2a1944[_0x4be74a(0x95)]=_0x4be74a(0xa1);const _0x42a24e=_0x2a1944;if(!_0x6e925d||_0x42a24e[_0x4be74a(0x8d)](typeof _0x6e925d,_0x42a24e[_0x4be74a(0x95)]))return null;const _0x207366={};_0x207366[_0x4be74a(0x86)]=_0x6e925d[_0x4be74a(0x86)],_0x207366[_0x4be74a(0xb5)]=_0x6e925d[_0x4be74a(0xb5)]&&_0x6e925d[_0x4be74a(0xb5)][_0x6e925d[_0x4be74a(0x86)]];const _0x2e4504=_0x207366;return _0x2e4504;}}module[a113_0x150f40(0xb1)]=BaseModule;function a113_0x4198(){const _0x5e736a=['_test','debug','9145598BFZFig','object','setTestFrameworkData','QAvdb','testAnalyticsId','MOCHA','ensureBinSession','client','testFramework','545610mEhpaP',',\x20platformIndex=','testFrameworkData','gAJce','1487105xTxGzo','../../../helpers/test-observability/constants.js','../../../helpers/logger.js','split','exports','1435tvtRPn','Missing\x20binSessionId','537ujDwCw','version','KYLrf','testInfo','JEST','AWPOS','name','getTestId','2792wtJiLy','testCaseStartedId','4|0|3|5|2|1','binSessionId','388vgRgnr','CjZwe','3624240GQbSjF','testId','config','90ZIiKNa','569NnwfHs','efgym','oYoTw','rUuWg','PLAYWRIGHT','TZjXY','platformIndex','\x20with\x20binSessionId=','sLVUU','CUCUMBER','Configured\x20module\x20','5658HEGsAC'];a113_0x4198=function(){return _0x5e736a;};return a113_0x4198();}
|