browserstack-node-sdk 1.50.5 → 1.50.7
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 +2 -2
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a94_0x2c2c97=a94_0x3561;(function(_0x22e054,_0x2944e3){const _0x24ec66=a94_0x3561,_0x140b9c=_0x22e054();while(!![]){try{const _0x135976=-parseInt(_0x24ec66(0xd4))/0x1*(-parseInt(_0x24ec66(0x195))/0x2)+-parseInt(_0x24ec66(0xa9))/0x3*(parseInt(_0x24ec66(0x194))/0x4)+-parseInt(_0x24ec66(0x19d))/0x5+-parseInt(_0x24ec66(0xfc))/0x6*(parseInt(_0x24ec66(0xcf))/0x7)+parseInt(_0x24ec66(0x1a4))/0x8+-parseInt(_0x24ec66(0xbb))/0x9+-parseInt(_0x24ec66(0x145))/0xa*(-parseInt(_0x24ec66(0x131))/0xb);if(_0x135976===_0x2944e3)break;else _0x140b9c['push'](_0x140b9c['shift']());}catch(_0x2d9142){_0x140b9c['push'](_0x140b9c['shift']());}}}(a94_0x5784,0x8c0ad));function a94_0x3561(_0x42c7e2,_0x42660c){const _0x578453=a94_0x5784();return a94_0x3561=function(_0x35618a,_0x3cb70f){_0x35618a=_0x35618a-0x96;let _0x2d7600=_0x578453[_0x35618a];return _0x2d7600;},a94_0x3561(_0x42c7e2,_0x42660c);}const util=require('util'),os=require('os'),path=require('path'),{v4:uuidv4}=require(a94_0x2c2c97(0x10d)),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require(a94_0x2c2c97(0x115))[a94_0x2c2c97(0x1a9)],fileLogger=require(a94_0x2c2c97(0x115))[a94_0x2c2c97(0xd0)],{getLogDir}=require('./logger'),helper=require('./helper'),utilities=require('./utilities'),percyHelper=require(a94_0x2c2c97(0x181)),hubAllocator=require(a94_0x2c2c97(0x191)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require('./performance/constants'),{setPercyFlag}=require(a94_0x2c2c97(0x18f)),TestHubHandler=require('./testhub/testhubHandler'),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require('../bin/v2/browserstackCLI'),LoadTestModule=require(a94_0x2c2c97(0xb9)),{getEdsInstrumentationAPIUrl}=require(a94_0x2c2c97(0x176)),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x48e2fe,_0x4c0f53){const _0x14fc1f=a94_0x2c2c97,_0x2afe5a={'igiCM':_0x14fc1f(0x122),'grBnj':function(_0x23da56){return _0x23da56();},'IPirr':_0x14fc1f(0x152)},_0xaccbe8=_0x2afe5a[_0x14fc1f(0xc2)][_0x14fc1f(0x97)]('|');let _0x1c16c2=0x0;while(!![]){switch(_0xaccbe8[_0x1c16c2++]){case'0':this[_0x14fc1f(0x13f)]=[];continue;case'1':this[_0x14fc1f(0x19a)]=_0x4c0f53;continue;case'2':helper[_0x14fc1f(0x15a)](this[_0x14fc1f(0xf3)],this[_0x14fc1f(0x155)]);continue;case'3':this[_0x14fc1f(0x197)]=null;continue;case'4':this[_0x14fc1f(0xfe)]=helper[_0x14fc1f(0x16f)]();continue;case'5':this[_0x14fc1f(0x174)]=helper['getConfigPath'](_0x48e2fe);continue;case'6':this[_0x14fc1f(0xf0)]={};continue;case'7':this[_0x14fc1f(0xbc)]=_0x2afe5a[_0x14fc1f(0x102)](uuidv4);continue;case'8':helper[_0x14fc1f(0x1aa)](this[_0x14fc1f(0xf3)]);continue;case'9':this[_0x14fc1f(0xf3)][_0x14fc1f(0x143)]=this['config'][_0x14fc1f(0x143)]||{};continue;case'10':helper[_0x14fc1f(0x119)](this['config']);continue;case'11':if(this[_0x14fc1f(0xf3)][_0x14fc1f(0x169)])throw new Error(this[_0x14fc1f(0xf3)][_0x14fc1f(0x169)]);continue;case'12':PerformanceTester[_0x14fc1f(0xd8)]();continue;case'13':helper[_0x14fc1f(0x199)](this['config'],this[_0x14fc1f(0x155)],this[_0x14fc1f(0xfe)]);continue;case'14':this['percy']=null;continue;case'15':this[_0x14fc1f(0xf3)][_0x14fc1f(0x143)][_0x14fc1f(0x17b)]=!helper[_0x14fc1f(0x9c)]()||helper[_0x14fc1f(0x99)](this[_0x14fc1f(0xf3)]['testContextOptions'][_0x14fc1f(0x17b)]);continue;case'16':this[_0x14fc1f(0xf3)]['platforms']=this[_0x14fc1f(0xf3)]['platforms']||[];continue;case'17':this[_0x14fc1f(0x155)]=helper[_0x14fc1f(0xf1)](_0x48e2fe);continue;case'18':if(helper[_0x14fc1f(0x101)](this['config']))throw new Error(_0x2afe5a[_0x14fc1f(0x16e)]);continue;case'19':helper['normalizeTestReportingEnvVars']();continue;case'20':helper[_0x14fc1f(0xa0)](this[_0x14fc1f(0xf3)],this[_0x14fc1f(0x155)],this[_0x14fc1f(0xfe)]);continue;case'21':this['config']=helper['readConfig'](this['configPath']);continue;case'22':global['framework']=_0x4c0f53;continue;case'23':this[_0x14fc1f(0xf3)]['testContextOptions'][_0x14fc1f(0xca)]=!helper[_0x14fc1f(0x9c)]()||helper[_0x14fc1f(0x99)](this['config'][_0x14fc1f(0x143)][_0x14fc1f(0xca)]);continue;}break;}}[a94_0x2c2c97(0x188)](_0x3af1a7){const _0x9eb9f6=a94_0x2c2c97,_0x1be24a={'ecUAV':_0x9eb9f6(0x163),'HZgNG':function(_0xcc9142,_0x43c46c){return _0xcc9142===_0x43c46c;},'nAPaT':function(_0x39723d,_0x5c7834){return _0x39723d===_0x5c7834;},'YxpxL':_0x9eb9f6(0xa2),'jTSyY':_0x9eb9f6(0xb6),'UXzCE':function(_0x599628,_0x2e4ba0){return _0x599628<_0x2e4ba0;},'oCQRy':function(_0x5324f4,_0x301d09){return _0x5324f4(_0x301d09);},'RZHOl':_0x9eb9f6(0x170),'bGNAo':function(_0x592bfd,_0x5616b3){return _0x592bfd===_0x5616b3;},'LwQGd':_0x9eb9f6(0xe7),'ExLdf':_0x9eb9f6(0xed),'sWBjU':_0x9eb9f6(0x19f),'EVdED':_0x9eb9f6(0xda),'YUHXg':_0x9eb9f6(0xd6),'NjNrF':_0x9eb9f6(0xba),'aYFPR':function(_0x444f9b,_0x464515){return _0x444f9b!==_0x464515;},'cvrMb':'win32','qOOXl':_0x9eb9f6(0x17d),'kCVkc':'SIGQUIT','nENDT':_0x9eb9f6(0x190),'CCuJT':_0x9eb9f6(0x1a6)},_0x382804=this[_0x9eb9f6(0x19a)];global[_0x9eb9f6(0xf3)]=this[_0x9eb9f6(0xf3)],helper[_0x9eb9f6(0x15c)](this[_0x9eb9f6(0xf3)]),this['killSignal']=null,global['sdkRunId']=this[_0x9eb9f6(0xbc)],logger[_0x9eb9f6(0xa3)](_0x9eb9f6(0x180)+this['sdkRunId']),!this['config'][_0x9eb9f6(0x136)]&&(this['config']['browserStackLocalOptions']=this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x187)]||{});if(helper[_0x9eb9f6(0x101)](helper[_0x9eb9f6(0x185)](this[_0x9eb9f6(0xf3)]))||helper[_0x9eb9f6(0x101)](helper['getAccessKey'](this[_0x9eb9f6(0xf3)])))throw new Error(_0x1be24a[_0x9eb9f6(0x129)]);helper[_0x9eb9f6(0x112)](this['config'])&&helper[_0x9eb9f6(0x101)](helper[_0x9eb9f6(0x14b)](this[_0x9eb9f6(0xf3)]))&&(!helper[_0x9eb9f6(0x101)](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)])&&_0x1be24a[_0x9eb9f6(0x17c)](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)][_0x9eb9f6(0xd1)],Object)?!helper[_0x9eb9f6(0x99)](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)][_0x9eb9f6(0xef)])&&(this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)][_0x9eb9f6(0x127)]=helper[_0x9eb9f6(0x107)]()):this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)]={'localIdentifier':helper['generateLocalIdentifier']()});this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)]['skipBinaryInitialisation']=helper['isTrue'](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)]['skipBinaryInitialisation']),helper['setHandlePWError'](this[_0x9eb9f6(0xf3)]);if(_0x1be24a['nAPaT'](_0x382804,_0x1be24a[_0x9eb9f6(0x113)]))return;this[_0x9eb9f6(0xc7)]();process[_0x9eb9f6(0x167)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x9eb9f6(0xf3)][_0x9eb9f6(0xbd)]=helper[_0x9eb9f6(0x99)](process[_0x9eb9f6(0x167)][_0x9eb9f6(0xf8)]),this['config'][_0x9eb9f6(0x140)]=this[_0x9eb9f6(0xf3)]['turboScaleOptions']||{});helper[_0x9eb9f6(0xc8)](this[_0x9eb9f6(0xf3)])&&(process[_0x9eb9f6(0x167)][_0x9eb9f6(0xf8)]=!![]);LoadTestModule[_0x9eb9f6(0x12a)](this[_0x9eb9f6(0xf3)])&&logger[_0x9eb9f6(0x98)](_0x9eb9f6(0xd2)+this[_0x9eb9f6(0xbc)]);if(!helper['isBrowserstackInfra']()){try{process['env'][_0x9eb9f6(0x111)]=_0x382804,utilities[_0x9eb9f6(0x19c)](_0x1be24a[_0x9eb9f6(0x96)],{},this['config'],this['framework']);}catch(_0x2354ab){logger[_0x9eb9f6(0x98)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x2354ab);}return;}if(helper[_0x9eb9f6(0xf7)](_0x382804)){if(global[_0x9eb9f6(0xe8)])return;_0x1be24a[_0x9eb9f6(0x110)](_0x1be24a[_0x9eb9f6(0xbe)](parseInt,helper['getPackageVersion'](_0x1be24a['RZHOl'])),0x3)&&(this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x13a)]=![]),_0x1be24a['bGNAo'](helper[_0x9eb9f6(0xeb)](helper['getPackageVersion'](_0x1be24a[_0x9eb9f6(0x177)]),_0x1be24a['LwQGd']),0x1)&&(this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x13a)]=!![]);}(helper['isUndefined'](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x130)])||helper['isUndefined'](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x130)][_0x9eb9f6(0x144)]))&&(helper['isUndefined'](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x16b)])?logger[_0x9eb9f6(0xa3)](_0x1be24a[_0x9eb9f6(0x193)]):logger[_0x9eb9f6(0xb7)](_0x1be24a[_0x9eb9f6(0x104)]),this[_0x9eb9f6(0xf3)]['platforms']=[]);!this['config'][_0x9eb9f6(0x143)]&&(this[_0x9eb9f6(0xf3)]['testContextOptions']={});try{process[_0x9eb9f6(0x167)][_0x9eb9f6(0x111)]=_0x3af1a7['_'][0x0],utilities['fireFunnelTestEvent'](_0x1be24a['jTSyY'],{},this[_0x9eb9f6(0xf3)],this[_0x9eb9f6(0x19a)]);}catch(_0x13b187){logger['debug'](_0x9eb9f6(0x128)+_0x13b187);}!this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x12e)]&&logger['info'](constants[_0x9eb9f6(0x126)]),this[_0x9eb9f6(0xd5)]=this[_0x9eb9f6(0xd5)][_0x9eb9f6(0x11d)](this),process['on'](_0x1be24a['EVdED'],this[_0x9eb9f6(0xd5)]),process['on'](_0x1be24a[_0x9eb9f6(0x158)],this[_0x9eb9f6(0xd5)]),process['on'](_0x1be24a['NjNrF'],this[_0x9eb9f6(0xd5)]),_0x1be24a[_0x9eb9f6(0x121)](process[_0x9eb9f6(0x162)],_0x1be24a[_0x9eb9f6(0xaf)])?(process['on'](_0x1be24a[_0x9eb9f6(0x10e)],this[_0x9eb9f6(0xd5)]),process['on'](_0x1be24a[_0x9eb9f6(0xad)],this[_0x9eb9f6(0xd5)])):process['on'](_0x1be24a[_0x9eb9f6(0xb2)],this['intExitHandler']),process['on'](_0x1be24a[_0x9eb9f6(0xec)],this[_0x9eb9f6(0x100)]());}async[a94_0x2c2c97(0x13c)](_0x13b304){const _0x29f483=a94_0x2c2c97,_0x2b37ba={'mJoxZ':'ats-repeater','gWUET':_0x29f483(0x17a),'sZxkh':'true','RDCxi':function(_0x53643c,_0x47f6ce){return _0x53643c===_0x47f6ce;},'iTwYE':'playwright','jLcXq':function(_0x2850e7,_0x2a1ffa){return _0x2850e7+_0x2a1ffa;},'VmYbU':'?caps=','KNJWu':function(_0x58b1b4,_0xfac977){return _0x58b1b4(_0xfac977);},'sduGv':_0x29f483(0xf6)};this[_0x29f483(0x188)](_0x13b304);if(helper['isTurboScaleSession'](this[_0x29f483(0xf3)])){const _0x2ad38c=await helper[_0x29f483(0x10b)](this[_0x29f483(0xf3)]);this[_0x29f483(0xf3)][_0x29f483(0x1a3)]=_0x2ad38c,_0x2ad38c[_0x29f483(0x178)]&&helper['isNotUndefined'](this[_0x29f483(0xf3)][_0x29f483(0x197)])&&helper[_0x29f483(0x99)](this[_0x29f483(0xf3)]['browserstackLocal'])&&(this[_0x29f483(0xf3)][_0x29f483(0x136)][_0x29f483(0x127)]=_0x2b37ba[_0x29f483(0xd3)],this[_0x29f483(0xf3)]['browserStackLocalOptions'][_0x2b37ba['gWUET']]=_0x2ad38c[_0x29f483(0x14f)][_0x29f483(0x148)](','),this['config'][_0x29f483(0x136)][_0x29f483(0x109)]=_0x2b37ba[_0x29f483(0x159)]),this[_0x29f483(0xf3)][_0x29f483(0xf4)]=_0x2ad38c['url'],this[_0x29f483(0x19a)]&&_0x2b37ba[_0x29f483(0x192)](this['framework'][_0x29f483(0x165)](),_0x2b37ba[_0x29f483(0x147)])?this[_0x29f483(0xf3)][_0x29f483(0xf4)]=_0x2b37ba[_0x29f483(0x117)](_0x2ad38c[_0x29f483(0xd7)],_0x2b37ba[_0x29f483(0xdf)]):constants[_0x29f483(0x9e)]=helper[_0x29f483(0x15d)](this[_0x29f483(0xf3)]),logger[_0x29f483(0x98)]('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants['hubUrl']);}helper[_0x29f483(0x11e)](this[_0x29f483(0xf3)]),this['setupKeepAlive'](),_0x2b37ba[_0x29f483(0xcc)](setPercyFlag,this),await this[_0x29f483(0xfa)](),![_0x2b37ba[_0x29f483(0x156)],_0x2b37ba[_0x29f483(0x147)]]['includes'](this[_0x29f483(0x19a)])&&!helper[_0x29f483(0xc8)](this[_0x29f483(0xf3)])&&!helper[_0x29f483(0x10f)]()['central_scanner']&&await this['setUpHubUrl']();}async[a94_0x2c2c97(0x182)](){const _0x40d77d=a94_0x2c2c97,_0x1989ce={};_0x1989ce[_0x40d77d(0xc3)]=function(_0x3ee96d,_0x100585){return _0x3ee96d===_0x100585;},_0x1989ce['HCpOK']=_0x40d77d(0x183),_0x1989ce[_0x40d77d(0xb3)]=_0x40d77d(0x19b),_0x1989ce[_0x40d77d(0x16c)]='Percy\x20started\x20successfully',_0x1989ce[_0x40d77d(0x172)]=_0x40d77d(0xc1),_0x1989ce['QKGRt']='beforeExit';const _0x474994=_0x1989ce;if(helper['isTrue'](this['config'][_0x40d77d(0xdc)])&&(!this[_0x40d77d(0xdc)]||!this[_0x40d77d(0xdc)][_0x40d77d(0xb0)]()))try{this['percy']=await percyHelper[_0x40d77d(0xb1)](this[_0x40d77d(0xf3)]);if(!this[_0x40d77d(0xdc)]){process['env'][_0x40d77d(0x189)]=_0x474994[_0x40d77d(0x151)];throw new Error(_0x474994[_0x40d77d(0xb3)]);}logger[_0x40d77d(0xa3)](_0x474994[_0x40d77d(0x16c)]),process[_0x40d77d(0x167)]['BROWSERSTACK_PERCY']=_0x474994['zTxaO'];let _0x252e62=0x0;const _0x505e39=async()=>{const _0x29e013=_0x40d77d;_0x252e62++,_0x474994[_0x29e013(0xc3)](_0x252e62,0x1)&&await this[_0x29e013(0x1a0)]();};process['on'](_0x474994[_0x40d77d(0xc6)],_0x505e39);}catch(_0x2c47d9){process[_0x40d77d(0x167)][_0x40d77d(0x189)]=_0x474994[_0x40d77d(0x151)],logger[_0x40d77d(0x98)](_0x40d77d(0xac)+_0x2c47d9);throw new Error(_0x2c47d9[_0x40d77d(0xe1)]());}}async[a94_0x2c2c97(0x1a0)](){const _0x4914ae=a94_0x2c2c97,_0x267010={};_0x267010[_0x4914ae(0xe4)]=_0x4914ae(0x164),_0x267010[_0x4914ae(0xe5)]=_0x4914ae(0x153);const _0x4f40b6=_0x267010;if(this['percy']&&this[_0x4914ae(0xdc)][_0x4914ae(0xb0)]())try{await percyHelper['stopPercy'](this['percy']),logger[_0x4914ae(0xa3)](_0x4f40b6[_0x4914ae(0xe4)]);}catch(_0x16a4dc){logger[_0x4914ae(0x169)](_0x4f40b6['NtsLq'],_0x16a4dc[_0x4914ae(0xc9)]);}}async[a94_0x2c2c97(0xfa)](){const _0x58c79f=a94_0x2c2c97,_0x3be1cf={};_0x3be1cf[_0x58c79f(0xd9)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x3be1cf[_0x58c79f(0x1a2)]=_0x58c79f(0x161);const _0x4b08a2=_0x3be1cf;if(helper[_0x58c79f(0x9c)]()&&helper[_0x58c79f(0x99)](this[_0x58c79f(0xf3)][_0x58c79f(0x197)])&&(!this[_0x58c79f(0x197)]||!this[_0x58c79f(0x197)][_0x58c79f(0xb0)]()))try{if(this[_0x58c79f(0xf3)]['browserStackLocalOptions']['skipBinaryInitialisation']){logger['debug'](_0x4b08a2[_0x58c79f(0xd9)]);return;}this[_0x58c79f(0x197)]=await helper[_0x58c79f(0xc5)](this[_0x58c79f(0xf3)]),logger[_0x58c79f(0xa3)](_0x4b08a2[_0x58c79f(0x1a2)]);}catch(_0x54466e){logger[_0x58c79f(0x98)](_0x54466e);throw new Error(_0x54466e[_0x58c79f(0xe1)]());}}async[a94_0x2c2c97(0x9f)](){const _0x52b348=a94_0x2c2c97,_0x256298={};_0x256298[_0x52b348(0x17e)]=_0x52b348(0x160),_0x256298['FPLUE']=_0x52b348(0x9d);const _0x15d3a3=_0x256298;if(this[_0x52b348(0x197)]&&this['browserstackLocal'][_0x52b348(0xb0)]())try{await helper[_0x52b348(0x11a)](this[_0x52b348(0x197)]),logger[_0x52b348(0xa3)](_0x15d3a3[_0x52b348(0x17e)]);}catch(_0x24caee){logger[_0x52b348(0x169)](_0x15d3a3['FPLUE'],_0x24caee[_0x52b348(0xc9)]);}}async[a94_0x2c2c97(0x173)](){const _0x36f049=a94_0x2c2c97;return PerformanceTester[_0x36f049(0xa8)](PerformanceAutEvents[_0x36f049(0x184)],async()=>{const _0x457031=_0x36f049;await hubAllocator[_0x457031(0x13e)](this[_0x457031(0xf3)]);})();}async['setupTCGAuth'](){const _0x2852bf=a94_0x2c2c97,_0x5847e2={'Uonja':function(_0x398c27,_0x362431){return _0x398c27(_0x362431);},'kvClF':_0x2852bf(0xf2),'iVHiJ':function(_0x2dcf5b,_0x54b1f5,_0x460294,_0x5ed44c,_0x35a982,_0x5ca0b3,_0x344c65){return _0x2dcf5b(_0x54b1f5,_0x460294,_0x5ed44c,_0x35a982,_0x5ca0b3,_0x344c65);},'YXNCV':_0x2852bf(0x12b),'nGhHZ':_0x2852bf(0x17f),'QEysL':'../../package.json','hHEnj':_0x2852bf(0x10a),'iFbNa':function(_0x26fe10,_0x3b32ae){return _0x26fe10(_0x3b32ae);},'UiXFY':function(_0x5c5b48,_0xe5383){return _0x5c5b48===_0xe5383;},'MtXOk':'true','FLcbS':function(_0x15e9c7,_0x5f0acc){return _0x15e9c7===_0x5f0acc;},'NiTxE':function(_0x5a7256,_0x50079a){return _0x5a7256===_0x50079a;},'ofUkl':function(_0x315781,_0x2fc261){return _0x315781===_0x2fc261;},'KKGaC':_0x2852bf(0x16d),'BwHcj':function(_0x3aa2be,_0x4347dc){return _0x3aa2be===_0x4347dc;},'SIvPD':_0x2852bf(0x154),'nIFpF':_0x2852bf(0x124),'tMwPa':_0x2852bf(0x198),'wtVkB':function(_0x215e64,_0x4474e6){return _0x215e64>=_0x4474e6;},'XgvlB':function(_0x279c1a,_0x29899d){return _0x279c1a<_0x29899d;},'XOqwe':function(_0x46a09f,_0x1e8aad){return _0x46a09f>=_0x1e8aad;},'xWeVI':_0x2852bf(0x14c),'vlZLh':_0x2852bf(0x175),'lEXkD':function(_0x59fa99){return _0x59fa99();}},_0x458728=PerformanceTester[_0x2852bf(0xa8)](_0x5847e2['vlZLh'],async()=>{const _0x291bc6=_0x2852bf;try{const _0x3cb305=new Date(),_0xc296b0=helper['getProxyConfigForTcg'](this['config']),_0x21c981=_0x5847e2[_0x291bc6(0xe9)](require,path[_0x291bc6(0x148)](__dirname,_0x5847e2[_0x291bc6(0xf5)])),_0x28a9ee=_0x5847e2['iVHiJ'](timeoutPromise,constants[_0x291bc6(0xa6)],_0x5847e2[_0x291bc6(0x12f)],_0x5847e2[_0x291bc6(0xfb)],_0x3cb305,this[_0x291bc6(0xf3)],this[_0x291bc6(0x19a)]),_0x43f469={'tcgUrl':constants[_0x291bc6(0x135)],'sdkVersion':_0x5847e2[_0x291bc6(0xe9)](require,_0x5847e2['QEysL'])[_0x291bc6(0xde)],'methodUsed':_0x5847e2[_0x291bc6(0x149)],'proxyConfig':_0xc296b0,'os':os[_0x291bc6(0x162)]()};if(_0xc296b0&&_0xc296b0[_0x291bc6(0xcd)]){utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0x16a)],_0x43f469,this['config'],this[_0x291bc6(0x19a)]);return;}const _0x2ad8d3={};_0x2ad8d3[_0x291bc6(0xea)]=_0xc296b0;const _0x593355=await Promise[_0x291bc6(0xa4)]([_0x21c981[_0x291bc6(0x118)](this[_0x291bc6(0xf3)][_0x291bc6(0x146)],this[_0x291bc6(0xf3)][_0x291bc6(0x196)],constants['TCG_URL'],_0x5847e2[_0x291bc6(0xb5)](require,_0x5847e2['QEysL'])[_0x291bc6(0xde)],_0x2ad8d3)['then'](_0x2fc873=>{const _0x39eb9d=_0x291bc6;return _0x28a9ee[_0x39eb9d(0xff)](),_0x2fc873;}),_0x28a9ee]);_0x593355[_0x291bc6(0x14e)]=_0x5847e2[_0x291bc6(0xa1)](_0x593355[_0x291bc6(0x14e)],_0x5847e2[_0x291bc6(0xa7)])||_0x5847e2[_0x291bc6(0xa1)](_0x593355[_0x291bc6(0x14e)],!![]);const _0x3ddc31=_0x5847e2[_0x291bc6(0x106)](this[_0x291bc6(0xf3)][_0x291bc6(0x18e)],!![])||_0x5847e2[_0x291bc6(0x157)](this[_0x291bc6(0xf3)][_0x291bc6(0x18e)],_0x5847e2[_0x291bc6(0xa7)]);if(_0x5847e2[_0x291bc6(0x1a5)](_0x593355['message'],constants[_0x291bc6(0xb8)])&&_0x3ddc31)logger[_0x291bc6(0xa3)](_0x5847e2[_0x291bc6(0x114)]);else{if(!_0x593355[_0x291bc6(0x12c)]&&_0x5847e2[_0x291bc6(0xfd)](_0x593355['status'],0x1f7)&&_0x3ddc31)logger['info'](_0x5847e2[_0x291bc6(0x13d)]),utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0x139)],_0x43f469,this[_0x291bc6(0xf3)],this[_0x291bc6(0x19a)]);else{if(!_0x593355[_0x291bc6(0x12c)]&&_0x3ddc31){logger[_0x291bc6(0xa3)](_0x5847e2[_0x291bc6(0xaa)]);const _0x145cd9={'tcgUrl':constants[_0x291bc6(0x135)],'sdkVersion':_0x5847e2[_0x291bc6(0xe9)](require,_0x5847e2[_0x291bc6(0x137)])[_0x291bc6(0xde)],'methodUsed':_0x5847e2[_0x291bc6(0x149)],'proxyConfig':_0xc296b0,'os':os[_0x291bc6(0x162)]()};utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0xe6)],_0x145cd9,this[_0x291bc6(0xf3)],this['framework']);}else{if(_0x593355[_0x291bc6(0x12c)]&&!_0x593355['isHealingEnabled']&&_0x3ddc31)logger[_0x291bc6(0xa3)](_0x5847e2[_0x291bc6(0x18c)]);else{if(_0x5847e2[_0x291bc6(0x168)](_0x593355[_0x291bc6(0x11f)],0xc8)&&_0x5847e2['XgvlB'](_0x593355[_0x291bc6(0x11f)],0x12c))utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0x18a)],_0x43f469,this[_0x291bc6(0xf3)],this['framework']);else{if(_0x5847e2['XOqwe'](_0x593355[_0x291bc6(0x11f)],0x190))_0x43f469[_0x291bc6(0x11f)]=_0x593355[_0x291bc6(0x11f)],utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0xbf)],_0x43f469,this[_0x291bc6(0xf3)],this[_0x291bc6(0x19a)]);else!_0x593355['status']&&utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0x18d)],_0x43f469,this['config'],this[_0x291bc6(0x19a)]);}}}}}if(_0x593355[_0x291bc6(0x12c)]&&_0x593355[_0x291bc6(0x14e)]){const _0x10c967={};_0x10c967[_0x291bc6(0x12d)]=_0x593355;const _0x40fee6=_0x10c967;_0xc296b0&&(_0x40fee6[_0x291bc6(0x1ab)]=_0xc296b0),_0x40fee6['framework']=this[_0x291bc6(0x19a)],_0x40fee6['bstackConfig']=this[_0x291bc6(0xf3)],helper[_0x291bc6(0x13b)](_0x40fee6),logger[_0x291bc6(0x98)](_0x5847e2[_0x291bc6(0xc0)]);}}catch(_0x1f36aa){logger[_0x291bc6(0x98)](_0x291bc6(0xee)+(_0x1f36aa['message']?_0x1f36aa[_0x291bc6(0xc9)]:''));}});await _0x5847e2[_0x2852bf(0x19e)](_0x458728);}['setupKeepAlive'](){const _0x5c5ed4=a94_0x2c2c97,_0x1cd809={'ofokp':function(_0x32365b,_0xed5096){return _0x32365b(_0xed5096);},'YWZda':_0x5c5ed4(0x150)};_0x1cd809[_0x5c5ed4(0x179)](require,_0x1cd809[_0x5c5ed4(0x132)])();}[a94_0x2c2c97(0xc7)](){const _0x3e74b3=a94_0x2c2c97,_0x4ff9f6={};_0x4ff9f6[_0x3e74b3(0x171)]=_0x3e74b3(0x11c),_0x4ff9f6[_0x3e74b3(0x18b)]=_0x3e74b3(0x11b),_0x4ff9f6[_0x3e74b3(0x133)]='uncaughtException';const _0x11a5a2=_0x4ff9f6,_0x54c11e=_0xeb787=>{const _0x33aa65=_0x3e74b3,_0x152d8d=_0x11a5a2[_0x33aa65(0x171)][_0x33aa65(0x97)]('|');let _0x3b21a1=0x0;while(!![]){switch(_0x152d8d[_0x3b21a1++]){case'0':PerformanceTester[_0x33aa65(0x141)](_0xeb787);continue;case'1':this[_0x33aa65(0x13f)]['push'](util[_0x33aa65(0x108)]('%j',_0xeb787));continue;case'2':logger[_0x33aa65(0x98)](util['format'](_0xeb787));continue;case'3':ClientTroubleShootingService[_0x33aa65(0xce)]();continue;case'4':logger[_0x33aa65(0x169)](_0xeb787['message']);continue;}break;}};process['on'](_0x11a5a2['gBfcc'],_0x54c11e),process['on'](_0x11a5a2[_0x3e74b3(0x133)],_0x54c11e);}async['intExitHandler'](_0x3011b0){const _0x46eb5e=a94_0x2c2c97,_0x5db517={};_0x5db517[_0x46eb5e(0xcb)]=_0x46eb5e(0x1a7),_0x5db517[_0x46eb5e(0xf9)]=function(_0x421e0b,_0x53f186){return _0x421e0b+_0x53f186;},_0x5db517[_0x46eb5e(0x14d)]='handled',_0x5db517[_0x46eb5e(0x1a1)]=function(_0x2e1c75,_0x536eb8){return _0x2e1c75+_0x536eb8;},_0x5db517[_0x46eb5e(0x166)]='Shutdown\x20triggered\x20by\x20',_0x5db517[_0x46eb5e(0xb4)]=function(_0x315448,_0x362463){return _0x315448+_0x362463;};const _0x139dc4=_0x5db517,_0x3b1db2=_0x139dc4[_0x46eb5e(0xcb)][_0x46eb5e(0x97)]('|');let _0x45be47=0x0;while(!![]){switch(_0x3b1db2[_0x45be47++]){case'0':await ClientTroubleShootingService[_0x46eb5e(0xce)]();continue;case'1':await BrowserstackCLI[_0x46eb5e(0x138)]()[_0x46eb5e(0x103)]();continue;case'2':await ClientTroubleShootingService[_0x46eb5e(0xa5)](_0x3011b0);continue;case'3':await TestHubHandler[_0x46eb5e(0x103)](_0x3011b0);continue;case'4':if(this[_0x139dc4[_0x46eb5e(0xf9)](_0x139dc4[_0x46eb5e(0x14d)],_0x3011b0)])return;continue;case'5':logger['info'](_0x139dc4[_0x46eb5e(0x1a1)](_0x139dc4[_0x46eb5e(0x166)],_0x3011b0));continue;case'6':this[_0x139dc4[_0x46eb5e(0xb4)](_0x139dc4[_0x46eb5e(0x14d)],_0x3011b0)]=!![];continue;case'7':this[_0x46eb5e(0x1a8)]=_0x3011b0;continue;}break;}}[a94_0x2c2c97(0x100)](){const _0x4244a8=a94_0x2c2c97,_0x5a3afa={'Yhaob':function(_0x8a171c,_0x525433){return _0x8a171c===_0x525433;},'bIkRy':_0x4244a8(0x15f),'cDivM':function(_0x42cf39,_0x41696d){return _0x42cf39>_0x41696d;},'luBrp':function(_0x2c977c,_0x33e4b5){return _0x2c977c>_0x33e4b5;},'RmyXa':function(_0x2ab9fd,_0x5d4d1c){return _0x2ab9fd(_0x5d4d1c);},'JUUig':function(_0x40240c){return _0x40240c();},'dmJHM':_0x4244a8(0x9b)};let _0x1e695e=0x0;return async()=>{const _0x3b99b0=_0x4244a8;_0x1e695e++;if(_0x5a3afa[_0x3b99b0(0x125)](_0x1e695e,0x1)){helper[_0x3b99b0(0x14a)](this[_0x3b99b0(0x19a)])&&await this[_0x3b99b0(0x9f)]();try{logger[_0x3b99b0(0x98)](_0x5a3afa[_0x3b99b0(0x9a)]),await TestHubHandler[_0x3b99b0(0x103)](_0x1e695e),await ClientTroubleShootingService[_0x3b99b0(0xce)](),await BrowserstackCLI['getInstance']()[_0x3b99b0(0x103)]('1');}catch(_0x2993ad){logger[_0x3b99b0(0x98)](_0x3b99b0(0x142)+util[_0x3b99b0(0x108)](_0x2993ad));}PerformanceTester[_0x3b99b0(0xe0)](PerformanceEvents[_0x3b99b0(0x116)]);if(PerformanceTester[_0x3b99b0(0xe3)]()){const {measures:_0x65a50f,errors:_0x4b384b}=await PerformanceTester[_0x3b99b0(0xdd)](),_0x10c4da={};if(_0x65a50f&&_0x5a3afa[_0x3b99b0(0x105)](_0x65a50f['length'],0x0)||_0x4b384b&&_0x5a3afa[_0x3b99b0(0xae)](_0x4b384b[_0x3b99b0(0x144)],0x0)){const _0x2e4227={};_0x2e4227['measures']=_0x65a50f,_0x2e4227['exceptions']=_0x4b384b,Object[_0x3b99b0(0xdb)](_0x10c4da,_0x2e4227);}try{const _0x4e2021=await helper['sendToEDS'](_0x10c4da,this[_0x3b99b0(0xf3)]);logger[_0x3b99b0(0x98)](_0x3b99b0(0x186)+_0x5a3afa[_0x3b99b0(0xab)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20response\x20'+_0x4e2021[_0x3b99b0(0x134)]);}catch(_0x1612f4){logger[_0x3b99b0(0x98)](_0x3b99b0(0x15e)+_0x5a3afa[_0x3b99b0(0xab)](getEdsInstrumentationAPIUrl,'')+_0x3b99b0(0x10c)+util[_0x3b99b0(0x108)](_0x1612f4));}try{fs[_0x3b99b0(0x15b)](path['join'](_0x5a3afa['JUUig'](getLogDir),_0x5a3afa['dmJHM']),JSON[_0x3b99b0(0xe2)](_0x10c4da));}catch(_0x523bfb){logger[_0x3b99b0(0x98)](_0x3b99b0(0x120)+_0x523bfb);}}}logger&&logger[_0x3b99b0(0x123)](),fileLogger&&fileLogger['close']();};}}exports[a94_0x2c2c97(0xc4)]=BrowserStackSetup;function a94_0x5784(){const _0x3c759a=['join','hHEnj','checkStopLocalBinaryOnExit','getLocalIdentifier','tcg\x20config\x20setup\x20successful.','IJzmt','isHealingEnabled','customRepeaters','./setKeepAlive','HCpOK','No\x20config\x20provided.','Error\x20occured\x20while\x20stopping\x20percy','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','cliConfig','sduGv','NiTxE','YUHXg','sZxkh','setBrowserstackInfraFromConfig','writeFileSync','sanitizeCaps','getHubUrl','Failed\x20to\x20send\x20data\x20to\x20','Calling\x20Build\x20Stop\x20from\x20ExitHandler','Local\x20binary\x20stopped','Local\x20binary\x20started\x20successfully','platform','userName\x20or\x20accessKey\x20is\x20not\x20defined','Percy\x20stopped','toLowerCase','iZvMU','env','wtVkB','error','AI_PROXY_FAILURE','parallelsPerPlatform','qzDKf','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','IPirr','setEnvCaps','selenium-webdriver','RUjIL','zTxaO','setUpHubUrl','configPath','aiHeal:tcgAuth','../bin/utils/apiUtilityMethods','RZHOl','isTrialGrid','ofokp','custom-repeater','skipSessionName','HZgNG','SIGABRT','pSVtL','BrowserstackHealingInitFailed','SDK\x20run\x20started\x20with\x20id:\x20','./percy/utils','setupPercy','false','HUB_MANAGEMENT','getUserName','Data\x20sent\x20successfully\x20to\x20','localOptions','preInitialize','BROWSERSTACK_PERCY','AI_INIT_SUCCESSFUL','gBfcc','tMwPa','INVALID_INIT_RESP_WITH_USER_IMPACT','selfHeal','./testhub/utils','SIGBREAK','../hubAllocationMethods','RDCxi','ExLdf','88ojHCOi','1662518ObkZYz','userName','browserstackLocal','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','getFinalCaps','framework','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','fireFunnelTestEvent','3582805KwzBhV','lEXkD','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','stopPercy','viRdM','kzdBp','turboScaleGridDetails','7354720BsdrQA','ofUkl','beforeExit','4|6|5|7|2|3|0|1','killSignal','winstonLogger','setLogDir','proxyConfig','jTSyY','split','debug','isTrue','bIkRy','events.json','isBrowserstackInfra','Error\x20occured\x20while\x20stopping\x20local\x20binary','hubUrl','stopBrowserstackLocal','setLogLevel','UiXFY','integrations','info','race','reportProcessInterruptionSituation','TCG_AUTH_TIMEOUT','MtXOk','measureWrapper','43179dhBVYj','nIFpF','RmyXa','Error\x20in\x20percy\x20setup\x20','kCVkc','luBrp','cvrMb','isRunning','startPercy','nENDT','HuUhO','kxjCE','iFbNa','SDKTestAttempted','warn','UPGRADE_REQUIRED','../bin/v2/modules/loadTestModule','SIGHUP','3682440VkQltM','sdkRunId','turboScale','oCQRy','AI_INIT_FAILURE','xWeVI','true','igiCM','JXpyM','default','startLocalBinary','QKGRt','handleExceptions','isTurboScaleSession','message','skipSessionStatus','OpbXL','KNJWu','proxyUrl','reportFinalDetectionState','132146qvzUDz','fileLogger','constructor','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','mJoxZ','1qSomZA','intExitHandler','SIGINT','playwrightUrl','startMonitoring','sdjUQ','SIGTERM','assign','percy','finalize','version','VmYbU','end','toString','stringify','isEnabled','YBuSO','NtsLq','TCG_AUTH_FAILURE','4.5.0','__isPlaywrightInstalled','Uonja','proxy','compareVersions','CCuJT','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','skipBinaryInitialisation','errorMessage','setCLICaps','../ai-sdk-node/bundle','config','turboScaleUrl','kvClF','codeceptjs','requireSeleniumWebdriverCheck','BROWSERSTACK_TURBOSCALE','sOTuJ','setupBrowserstackLocal','nGhHZ','234LewfTq','BwHcj','envConfig','cancel','exitHandler','isUndefined','grBnj','stop','sWBjU','cDivM','FLcbS','generateLocalIdentifier','format','forceLocal','BrowserstackHealing.init','getTurboScaleGridDetails','\x20with\x20error\x20','uuid','qOOXl','getCentralUser','UXzCE','FRAMEWORK','getLocalConfig','YxpxL','KKGaC','./logger','SDK_CLEANUP','jLcXq','init','setCredentialsFromYmlConfig','stopLocalBinary','unhandledRejection','4|2|1|0|3','bind','setProxySettings','status','Error\x20in\x20writing\x20events\x20to\x20file\x20','aYFPR','0|19|4|3|14|5|21|17|16|9|6|7|1|22|18|11|2|10|23|15|13|8|20|12','close','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','Yhaob','AUTOLOGCAPTURE_NOTIFICATION','localIdentifier','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','ecUAV','isLTSSession','BrowserstackHealing.init\x20method\x20timed\x20out','isAuthenticated','tcgAuthConfig','disableAutoCaptureLogs','YXNCV','platforms','209Grjfcn','YWZda','XubaI','statusCode','TCG_URL','browserStackLocalOptions','QEysL','getInstance','TCG_DOWN','useW3C','setupTcgConfigFile','initialize','SIvPD','allocateHub','unhandledErrors','turboScaleOptions','captureError','Error\x20in\x20sending\x20testhub\x20stop:\x20','testContextOptions','length','527170bjVNsd','accessKey','iTwYE'];a94_0x5784=function(){return _0x3c759a;};return a94_0x5784();}
|
|
1
|
+
const a94_0x37a8b8=a94_0x3d00;(function(_0x40778c,_0x2ca171){const _0xf08625=a94_0x3d00,_0x5835af=_0x40778c();while(!![]){try{const _0x23d12f=-parseInt(_0xf08625(0xd0))/0x1+-parseInt(_0xf08625(0x179))/0x2*(parseInt(_0xf08625(0xef))/0x3)+parseInt(_0xf08625(0x105))/0x4*(parseInt(_0xf08625(0x10a))/0x5)+parseInt(_0xf08625(0xf6))/0x6+-parseInt(_0xf08625(0xcf))/0x7+parseInt(_0xf08625(0x19d))/0x8*(parseInt(_0xf08625(0x120))/0x9)+-parseInt(_0xf08625(0x149))/0xa;if(_0x23d12f===_0x2ca171)break;else _0x5835af['push'](_0x5835af['shift']());}catch(_0x3ebdd3){_0x5835af['push'](_0x5835af['shift']());}}}(a94_0x5145,0x30771));function a94_0x5145(){const _0x231b73=['getTurboScaleGridDetails','lwerm','JzWWY','testContextOptions','version','startPercy','1251200OadgyE','uKIkl','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','platform','BROWSERSTACK_TURBOSCALE','config','AI_INIT_SUCCESSFUL','ffjsr','zjkLc','setCredentialsFromYmlConfig','setCLICaps','YZUUN','SIGBREAK','AUTOLOGCAPTURE_NOTIFICATION','Error\x20in\x20percy\x20setup\x20','Error\x20in\x20writing\x20events\x20to\x20file\x20','Failed\x20to\x20send\x20data\x20to\x20','userName\x20or\x20accessKey\x20is\x20not\x20defined','captureError','SIGHUP','configPath','TCG_AUTH_TIMEOUT','TNBgo','gdpdu','exhoF','zcsaN','custom-repeater','unhandledRejection','measureWrapper','setLogDir','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','framework','Data\x20sent\x20successfully\x20to\x20','rdoxg','getPackageVersion','handleExceptions','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','getLocalIdentifier','winstonLogger','turboScaleGridDetails','HaPMh','getFinalCaps','reportFinalDetectionState','proxy','localOptions','ivxgD','accessKey','errorMessage','38QDOlWp','pCBqP','oNbJr','./logger','./setKeepAlive','skipBinaryInitialisation','../bin/utils/constants','nSgme','assign','__isPlaywrightInstalled','IGvEK','Percy\x20stopped','TCG_URL','sKrPw','qQsdY','SDK\x20run\x20started\x20with\x20id:\x20','qhAqO','playwrightUrl','Error\x20occured\x20while\x20stopping\x20local\x20binary','AI_PROXY_FAILURE','isTrue','isBrowserstackInfra','integrations','join','intExitHandler','PEFlB','normalizeTestReportingEnvVars','central_scanner','5|4|6|0|1|3|7|2','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','qZLJN','lvcYz','Error\x20in\x20sending\x20testhub\x20stop:\x20','Calling\x20Build\x20Stop\x20from\x20ExitHandler','aDQEI','format','291528UjpMwy','allocateHub','setupKeepAlive','../ai-sdk-node/bundle','beforeExit','isTrialGrid','setupBrowserstackLocal','UPGRADE_REQUIRED','SDKTestAttempted','skipSessionName','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','cancel','taxQO','envConfig','browserStackLocalOptions','generateLocalIdentifier','FHTyk','error','WtUzu','env','parallelsPerPlatform','win32','util','Percy\x20started\x20successfully','tRQlw','YfjUe','mfNEh','zGmGM','message','preInitialize','whJSR','compareVersions','xAZMD','turboScaleUrl','eZLVx','aiHeal:tcgAuth','checkStopLocalBinaryOnExit','tcg\x20config\x20setup\x20successful.','SIGTERM','isHealingEnabled','setBrowserstackInfraFromConfig','localIdentifier','../hubAllocationMethods','length','Bsudb','init','wCtCd','15|2|7|18|21|1|0|20|8|22|5|4|9|10|12|11|3|13|6|23|16|14|19|17','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','initialize','split','?caps=','INVALID_INIT_RESP_WITH_USER_IMPACT','selfHeal','\x20with\x20error\x20','./utilities','includes','default','SIGQUIT','gyiEt','browserstackLocal','race','./performance/constants','requireSeleniumWebdriverCheck','bind','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','percy','unhandledErrors','turboScaleOptions','izEqf','\x20with\x20response\x20','skipSessionStatus','915166hWaeBv','15096zQYFCV','setHandlePWError','Shutdown\x20triggered\x20by\x20','DQiSE','toLowerCase','kQRih','measures','./percy/utils','OOkCH','isRunning','readConfig','isUndefined','mOahe','isTurboScaleSession','EpMsh','proxyUrl','forceLocal','hubUrl','aMyGF','setupTCGAuth','then','fUsgh','setLogLevel','status','AJmdN','fZuZD','setUpHubUrl','handled','useW3C','PFWzt','stopLocalBinary','2556BFWNGn','setupPercy','getCentralUser','./testhub/testhubHandler','BrowserstackHealingInitFailed','statusCode','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','2289942mBuQRO','stopBrowserstackLocal','turboScale','fZVZi','ats-repeater','TCG_AUTH_FAILURE','isEnabled','../bin/v2/modules/loadTestModule','getConfigPath','TCG_DOWN','Local\x20binary\x20started\x20successfully','killSignal','FRAMEWORK','fileLogger','EMQOO','12KFqraV','url','platforms','AdYIf','GJJrJ','112595kMAyeU','Uijrl','setProxySettings','customRepeaters','getLocalConfig','JiHRu','./performance/performance-tester','URGER','./timeoutPromise','getInstance','zYObR','zJyIK','debug','ezLmn','getHubUrl','HTmjK','warn','sdkRunId','../bin/utils/apiUtilityMethods','false','BrowserstackHealing.init','constructor','9hcqoKT','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','cdJwt','No\x20config\x20provided.','getProxyConfigForTcg','true','BrowserstackHealing.init\x20method\x20timed\x20out','end','./helper','isAuthenticated','exitHandler','../bin/v2/browserstackCLI','finalize','sanitizeCaps','AI_INIT_FAILURE','selenium-webdriver','close','writeFileSync','PAHXW','GfKvc','aHRrW','cliConfig','fireFunnelTestEvent','./testhub/utils','disableAutoCaptureLogs','iuEpX','stopPercy','hwWBG','BROWSERSTACK_PERCY','SIGABRT','uGxqc','info','exceptions','SIGINT','stop'];a94_0x5145=function(){return _0x231b73;};return a94_0x5145();}function a94_0x3d00(_0x28f638,_0x30efcd){const _0x5145bd=a94_0x5145();return a94_0x3d00=function(_0x3d005a,_0x5c2449){_0x3d005a=_0x3d005a-0x91;let _0x1b9099=_0x5145bd[_0x3d005a];return _0x1b9099;},a94_0x3d00(_0x28f638,_0x30efcd);}const util=require(a94_0x37a8b8(0x9d)),os=require('os'),path=require('path'),{v4:uuidv4}=require('uuid'),fs=require('fs'),constants=require(a94_0x37a8b8(0x17f)),logger=require('./logger')[a94_0x37a8b8(0x16f)],fileLogger=require(a94_0x37a8b8(0x17c))[a94_0x37a8b8(0x103)],{getLogDir}=require(a94_0x37a8b8(0x17c)),helper=require(a94_0x37a8b8(0x128)),utilities=require(a94_0x37a8b8(0xbe)),percyHelper=require(a94_0x37a8b8(0xd7)),hubAllocator=require(a94_0x37a8b8(0xb1)),PerformanceTester=require(a94_0x37a8b8(0x110)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x37a8b8(0xc5)),{setPercyFlag}=require(a94_0x37a8b8(0x137)),TestHubHandler=require(a94_0x37a8b8(0xf2)),timeoutPromise=require(a94_0x37a8b8(0x112)),BrowserstackCLI=require(a94_0x37a8b8(0x12b)),LoadTestModule=require(a94_0x37a8b8(0xfd)),{getEdsInstrumentationAPIUrl}=require(a94_0x37a8b8(0x11c)),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x229c69,_0x4c9e5){const _0x3ebc51=a94_0x37a8b8,_0x1b25b0={'gyiEt':_0x3ebc51(0xb6),'GfKvc':function(_0x2f16b0){return _0x2f16b0();},'nSgme':_0x3ebc51(0x123)},_0x9c65d1=_0x1b25b0[_0x3ebc51(0xc2)][_0x3ebc51(0xb9)]('|');let _0x4c35cf=0x0;while(!![]){switch(_0x9c65d1[_0x4c35cf++]){case'0':this['config']=helper[_0x3ebc51(0xda)](this[_0x3ebc51(0x15d)]);continue;case'1':this[_0x3ebc51(0x15d)]=helper[_0x3ebc51(0xfe)](_0x229c69);continue;case'2':helper[_0x3ebc51(0x193)]();continue;case'3':helper[_0x3ebc51(0xaf)](this[_0x3ebc51(0x14e)],this[_0x3ebc51(0x135)]);continue;case'4':this[_0x3ebc51(0x11b)]=_0x1b25b0[_0x3ebc51(0x133)](uuidv4);continue;case'5':this[_0x3ebc51(0x178)]={};continue;case'6':this[_0x3ebc51(0x14e)][_0x3ebc51(0x146)][_0x3ebc51(0xce)]=!helper[_0x3ebc51(0x18e)]()||helper[_0x3ebc51(0x18d)](this[_0x3ebc51(0x14e)]['testContextOptions'][_0x3ebc51(0xce)]);continue;case'7':this[_0x3ebc51(0x94)]=helper['setEnvCaps']();continue;case'8':this[_0x3ebc51(0x14e)][_0x3ebc51(0x107)]=this['config'][_0x3ebc51(0x107)]||[];continue;case'9':this['framework']=_0x4c9e5;continue;case'10':global[_0x3ebc51(0x168)]=_0x4c9e5;continue;case'11':if(this[_0x3ebc51(0x14e)][_0x3ebc51(0x98)])throw new Error(this['config'][_0x3ebc51(0x98)]);continue;case'12':if(helper['isUndefined'](this[_0x3ebc51(0x14e)]))throw new Error(_0x1b25b0[_0x3ebc51(0x180)]);continue;case'13':helper[_0x3ebc51(0x152)](this[_0x3ebc51(0x14e)]);continue;case'14':helper[_0x3ebc51(0x166)](this[_0x3ebc51(0x14e)]);continue;case'15':this['unhandledErrors']=[];continue;case'16':helper[_0x3ebc51(0x172)](this[_0x3ebc51(0x14e)],this[_0x3ebc51(0x135)],this[_0x3ebc51(0x94)]);continue;case'17':PerformanceTester['startMonitoring']();continue;case'18':this[_0x3ebc51(0xc3)]=null;continue;case'19':helper[_0x3ebc51(0xe6)](this['config'],this[_0x3ebc51(0x135)],this[_0x3ebc51(0x94)]);continue;case'20':this[_0x3ebc51(0x135)]=helper[_0x3ebc51(0x153)](_0x229c69);continue;case'21':this[_0x3ebc51(0xc9)]=null;continue;case'22':this[_0x3ebc51(0x14e)]['testContextOptions']=this[_0x3ebc51(0x14e)][_0x3ebc51(0x146)]||{};continue;case'23':this[_0x3ebc51(0x14e)][_0x3ebc51(0x146)][_0x3ebc51(0x1a6)]=!helper[_0x3ebc51(0x18e)]()||helper[_0x3ebc51(0x18d)](this['config']['testContextOptions']['skipSessionName']);continue;}break;}}[a94_0x37a8b8(0xa4)](_0x456308){const _0x1022a1=a94_0x37a8b8,_0x50f15c={'zcsaN':_0x1022a1(0x15a),'eZLVx':function(_0xc052ea,_0x53ed6a){return _0xc052ea===_0x53ed6a;},'hwWBG':function(_0x1bbc22,_0x471290){return _0x1bbc22===_0x471290;},'hpGcH':_0x1022a1(0x18f),'WtUzu':_0x1022a1(0x1a5),'zJyIK':function(_0x2c6975,_0x574169){return _0x2c6975<_0x574169;},'PFWzt':function(_0x2db8cd,_0x1d8aae){return _0x2db8cd(_0x1d8aae);},'JzWWY':_0x1022a1(0x12f),'gdpdu':'4.5.0','pCBqP':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','ezLmn':_0x1022a1(0xf5),'izEqf':_0x1022a1(0xad),'oNbJr':_0x1022a1(0x141),'FHTyk':_0x1022a1(0x15c),'JydmU':function(_0x2ce234,_0x6cc55b){return _0x2ce234!==_0x6cc55b;},'aHRrW':_0x1022a1(0x9c),'EpMsh':_0x1022a1(0x13d),'aMyGF':_0x1022a1(0xc1),'ZqFBy':_0x1022a1(0x155),'whJSR':_0x1022a1(0x1a1)},_0x3b497c=this['framework'];global['config']=this['config'],helper[_0x1022a1(0x12d)](this[_0x1022a1(0x14e)]),this[_0x1022a1(0x101)]=null,global[_0x1022a1(0x11b)]=this[_0x1022a1(0x11b)],logger[_0x1022a1(0x13f)](_0x1022a1(0x188)+this[_0x1022a1(0x11b)]),!this['config'][_0x1022a1(0x95)]&&(this[_0x1022a1(0x14e)][_0x1022a1(0x95)]=this['config'][_0x1022a1(0x175)]||{});if(helper['isUndefined'](helper['getUserName'](this[_0x1022a1(0x14e)]))||helper[_0x1022a1(0xdb)](helper['getAccessKey'](this[_0x1022a1(0x14e)])))throw new Error(_0x50f15c[_0x1022a1(0x162)]);helper[_0x1022a1(0x10e)](this[_0x1022a1(0x14e)])&&helper['isUndefined'](helper[_0x1022a1(0x16e)](this['config']))&&(!helper[_0x1022a1(0xdb)](this[_0x1022a1(0x14e)][_0x1022a1(0x95)])&&_0x50f15c[_0x1022a1(0xa9)](this[_0x1022a1(0x14e)][_0x1022a1(0x95)][_0x1022a1(0x11f)],Object)?!helper[_0x1022a1(0x18d)](this['config'][_0x1022a1(0x95)][_0x1022a1(0x17e)])&&(this[_0x1022a1(0x14e)][_0x1022a1(0x95)][_0x1022a1(0xb0)]=helper[_0x1022a1(0x96)]()):this[_0x1022a1(0x14e)][_0x1022a1(0x95)]={'localIdentifier':helper[_0x1022a1(0x96)]()});this[_0x1022a1(0x14e)][_0x1022a1(0x95)][_0x1022a1(0x17e)]=helper[_0x1022a1(0x18d)](this[_0x1022a1(0x14e)][_0x1022a1(0x95)][_0x1022a1(0x17e)]),helper[_0x1022a1(0xd1)](this[_0x1022a1(0x14e)]);if(_0x50f15c[_0x1022a1(0x13b)](_0x3b497c,_0x50f15c['hpGcH']))return;this[_0x1022a1(0x16c)]();process[_0x1022a1(0x9a)][_0x1022a1(0x14d)]&&(this['config'][_0x1022a1(0xf8)]=helper[_0x1022a1(0x18d)](process['env'][_0x1022a1(0x14d)]),this[_0x1022a1(0x14e)][_0x1022a1(0xcb)]=this[_0x1022a1(0x14e)]['turboScaleOptions']||{});helper[_0x1022a1(0xdd)](this[_0x1022a1(0x14e)])&&(process[_0x1022a1(0x9a)][_0x1022a1(0x14d)]=!![]);LoadTestModule['isLTSSession'](this[_0x1022a1(0x14e)])&&logger['debug']('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this['sdkRunId']);if(!helper[_0x1022a1(0x18e)]()){try{process[_0x1022a1(0x9a)][_0x1022a1(0x102)]=_0x3b497c,utilities['fireFunnelTestEvent'](_0x50f15c[_0x1022a1(0x99)],{},this[_0x1022a1(0x14e)],this[_0x1022a1(0x168)]);}catch(_0x49761b){logger[_0x1022a1(0x116)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x49761b);}return;}if(helper[_0x1022a1(0xc6)](_0x3b497c)){if(global[_0x1022a1(0x182)])return;_0x50f15c[_0x1022a1(0x115)](_0x50f15c[_0x1022a1(0xed)](parseInt,helper['getPackageVersion'](_0x50f15c[_0x1022a1(0x145)])),0x3)&&(this[_0x1022a1(0x14e)][_0x1022a1(0xec)]=![]),_0x50f15c[_0x1022a1(0x13b)](helper[_0x1022a1(0xa6)](helper[_0x1022a1(0x16b)](_0x50f15c[_0x1022a1(0x145)]),_0x50f15c[_0x1022a1(0x160)]),0x1)&&(this[_0x1022a1(0x14e)]['useW3C']=!![]);}(helper[_0x1022a1(0xdb)](this[_0x1022a1(0x14e)]['platforms'])||helper[_0x1022a1(0xdb)](this[_0x1022a1(0x14e)]['platforms'][_0x1022a1(0xb2)]))&&(helper[_0x1022a1(0xdb)](this[_0x1022a1(0x14e)][_0x1022a1(0x9b)])?logger['info'](_0x50f15c[_0x1022a1(0x17a)]):logger[_0x1022a1(0x11a)](_0x50f15c[_0x1022a1(0x117)]),this[_0x1022a1(0x14e)]['platforms']=[]);!this[_0x1022a1(0x14e)][_0x1022a1(0x146)]&&(this['config']['testContextOptions']={});try{process[_0x1022a1(0x9a)][_0x1022a1(0x102)]=_0x456308['_'][0x0],utilities['fireFunnelTestEvent'](_0x50f15c[_0x1022a1(0x99)],{},this[_0x1022a1(0x14e)],this[_0x1022a1(0x168)]);}catch(_0x4c193c){logger['debug'](_0x1022a1(0x91)+_0x4c193c);}!this[_0x1022a1(0x14e)][_0x1022a1(0x138)]&&logger['info'](constants[_0x1022a1(0x156)]),this['intExitHandler']=this['intExitHandler'][_0x1022a1(0xc7)](this),process['on'](_0x50f15c[_0x1022a1(0xcc)],this[_0x1022a1(0x191)]),process['on'](_0x50f15c[_0x1022a1(0x17b)],this[_0x1022a1(0x191)]),process['on'](_0x50f15c[_0x1022a1(0x97)],this[_0x1022a1(0x191)]),_0x50f15c['JydmU'](process[_0x1022a1(0x14c)],_0x50f15c[_0x1022a1(0x134)])?(process['on'](_0x50f15c[_0x1022a1(0xde)],this[_0x1022a1(0x191)]),process['on'](_0x50f15c[_0x1022a1(0xe2)],this[_0x1022a1(0x191)])):process['on'](_0x50f15c['ZqFBy'],this[_0x1022a1(0x191)]),process['on'](_0x50f15c[_0x1022a1(0xa5)],this[_0x1022a1(0x12a)]());}async[a94_0x37a8b8(0xb8)](_0x3fc04b){const _0xf1c266=a94_0x37a8b8,_0x4dac4c={'lvcYz':_0xf1c266(0xfa),'Bsudb':_0xf1c266(0x163),'URGER':_0xf1c266(0x125),'exhoF':function(_0x5c144f,_0x209ecb){return _0x5c144f===_0x209ecb;},'lwerm':'playwright','iuEpX':function(_0x4ee7b2,_0x587055){return _0x4ee7b2+_0x587055;},'sdHkf':_0xf1c266(0xba),'qZLJN':function(_0x2569b2,_0x251906){return _0x2569b2(_0x251906);},'OOkCH':'codeceptjs'};this['preInitialize'](_0x3fc04b);if(helper[_0xf1c266(0xdd)](this[_0xf1c266(0x14e)])){const _0x2a854b=await helper[_0xf1c266(0x143)](this[_0xf1c266(0x14e)]);this[_0xf1c266(0x14e)][_0xf1c266(0x170)]=_0x2a854b,_0x2a854b[_0xf1c266(0x1a2)]&&helper['isNotUndefined'](this['config'][_0xf1c266(0xc3)])&&helper[_0xf1c266(0x18d)](this[_0xf1c266(0x14e)]['browserstackLocal'])&&(this[_0xf1c266(0x14e)]['browserStackLocalOptions'][_0xf1c266(0xb0)]=_0x4dac4c[_0xf1c266(0x198)],this[_0xf1c266(0x14e)]['browserStackLocalOptions'][_0x4dac4c[_0xf1c266(0xb3)]]=_0x2a854b[_0xf1c266(0x10d)][_0xf1c266(0x190)](','),this[_0xf1c266(0x14e)]['browserStackLocalOptions'][_0xf1c266(0xe0)]=_0x4dac4c[_0xf1c266(0x111)]),this['config'][_0xf1c266(0xa8)]=_0x2a854b[_0xf1c266(0x106)],this[_0xf1c266(0x168)]&&_0x4dac4c[_0xf1c266(0x161)](this[_0xf1c266(0x168)][_0xf1c266(0xd4)](),_0x4dac4c[_0xf1c266(0x144)])?this[_0xf1c266(0x14e)][_0xf1c266(0xa8)]=_0x4dac4c[_0xf1c266(0x139)](_0x2a854b[_0xf1c266(0x18a)],_0x4dac4c['sdHkf']):constants[_0xf1c266(0xe1)]=helper[_0xf1c266(0x118)](this[_0xf1c266(0x14e)]),logger[_0xf1c266(0x116)](_0xf1c266(0x16d)+constants[_0xf1c266(0xe1)]);}helper[_0xf1c266(0x10c)](this[_0xf1c266(0x14e)]),this['setupKeepAlive'](),_0x4dac4c[_0xf1c266(0x197)](setPercyFlag,this),await this[_0xf1c266(0x1a3)](),![_0x4dac4c[_0xf1c266(0xd8)],_0x4dac4c[_0xf1c266(0x144)]][_0xf1c266(0xbf)](this['framework'])&&!helper[_0xf1c266(0xdd)](this[_0xf1c266(0x14e)])&&!helper[_0xf1c266(0xf1)]()[_0xf1c266(0x194)]&&await this[_0xf1c266(0xea)]();}async[a94_0x37a8b8(0xf0)](){const _0x4fb84e=a94_0x37a8b8,_0x2d7f1e={};_0x2d7f1e['YZUUN']=function(_0x35be08,_0x4535bc){return _0x35be08===_0x4535bc;},_0x2d7f1e[_0x4fb84e(0x108)]=_0x4fb84e(0x11d),_0x2d7f1e[_0x4fb84e(0x10b)]=_0x4fb84e(0x121),_0x2d7f1e[_0x4fb84e(0x93)]=_0x4fb84e(0x9e),_0x2d7f1e['xAZMD']=_0x4fb84e(0x125),_0x2d7f1e[_0x4fb84e(0x187)]='beforeExit';const _0x21f476=_0x2d7f1e;if(helper[_0x4fb84e(0x18d)](this[_0x4fb84e(0x14e)][_0x4fb84e(0xc9)])&&(!this['percy']||!this[_0x4fb84e(0xc9)][_0x4fb84e(0xd9)]()))try{this[_0x4fb84e(0xc9)]=await percyHelper[_0x4fb84e(0x148)](this[_0x4fb84e(0x14e)]);if(!this[_0x4fb84e(0xc9)]){process['env'][_0x4fb84e(0x13c)]=_0x21f476[_0x4fb84e(0x108)];throw new Error(_0x21f476[_0x4fb84e(0x10b)]);}logger['info'](_0x21f476['taxQO']),process[_0x4fb84e(0x9a)][_0x4fb84e(0x13c)]=_0x21f476[_0x4fb84e(0xa7)];let _0x3fa9c7=0x0;const _0x1c7d63=async()=>{const _0x105746=_0x4fb84e;_0x3fa9c7++,_0x21f476[_0x105746(0x154)](_0x3fa9c7,0x1)&&await this[_0x105746(0x13a)]();};process['on'](_0x21f476[_0x4fb84e(0x187)],_0x1c7d63);}catch(_0x13a048){process[_0x4fb84e(0x9a)]['BROWSERSTACK_PERCY']=_0x21f476['AdYIf'],logger[_0x4fb84e(0x116)](_0x4fb84e(0x157)+_0x13a048);throw new Error(_0x13a048['toString']());}}async[a94_0x37a8b8(0x13a)](){const _0x22012c=a94_0x37a8b8,_0x3896e5={};_0x3896e5[_0x22012c(0x13e)]=_0x22012c(0x184),_0x3896e5['alvbT']='Error\x20occured\x20while\x20stopping\x20percy';const _0x3ad8cc=_0x3896e5;if(this[_0x22012c(0xc9)]&&this[_0x22012c(0xc9)][_0x22012c(0xd9)]())try{await percyHelper[_0x22012c(0x13a)](this['percy']),logger[_0x22012c(0x13f)](_0x3ad8cc[_0x22012c(0x13e)]);}catch(_0x2b87){logger[_0x22012c(0x98)](_0x3ad8cc['alvbT'],_0x2b87[_0x22012c(0xa3)]);}}async[a94_0x37a8b8(0x1a3)](){const _0x459bc1=a94_0x37a8b8,_0x116630={};_0x116630[_0x459bc1(0x9f)]=_0x459bc1(0xc8),_0x116630['IxyIb']=_0x459bc1(0x100);const _0x2b0979=_0x116630;if(helper['isBrowserstackInfra']()&&helper[_0x459bc1(0x18d)](this[_0x459bc1(0x14e)][_0x459bc1(0xc3)])&&(!this[_0x459bc1(0xc3)]||!this[_0x459bc1(0xc3)]['isRunning']()))try{if(this[_0x459bc1(0x14e)][_0x459bc1(0x95)][_0x459bc1(0x17e)]){logger[_0x459bc1(0x116)](_0x2b0979[_0x459bc1(0x9f)]);return;}this['browserstackLocal']=await helper['startLocalBinary'](this[_0x459bc1(0x14e)]),logger['info'](_0x2b0979['IxyIb']);}catch(_0x14738b){logger[_0x459bc1(0x116)](_0x14738b);throw new Error(_0x14738b['toString']());}}async[a94_0x37a8b8(0xf7)](){const _0x2c5759=a94_0x37a8b8,_0x5e588c={};_0x5e588c[_0x2c5759(0xa2)]='Local\x20binary\x20stopped',_0x5e588c[_0x2c5759(0xd5)]=_0x2c5759(0x18b);const _0x464f16=_0x5e588c;if(this[_0x2c5759(0xc3)]&&this[_0x2c5759(0xc3)][_0x2c5759(0xd9)]())try{await helper[_0x2c5759(0xee)](this[_0x2c5759(0xc3)]),logger[_0x2c5759(0x13f)](_0x464f16[_0x2c5759(0xa2)]);}catch(_0x10d9be){logger[_0x2c5759(0x98)](_0x464f16[_0x2c5759(0xd5)],_0x10d9be[_0x2c5759(0xa3)]);}}async[a94_0x37a8b8(0xea)](){const _0x14fbef=a94_0x37a8b8;return PerformanceTester[_0x14fbef(0x165)](PerformanceAutEvents['HUB_MANAGEMENT'],async()=>{const _0x146484=_0x14fbef;await hubAllocator[_0x146484(0x19e)](this[_0x146484(0x14e)]);})();}async[a94_0x37a8b8(0xe3)](){const _0x38e5f6=a94_0x37a8b8,_0x8ae7ca={'zYObR':function(_0x26e284,_0x5e231c){return _0x26e284(_0x5e231c);},'gJEQv':_0x38e5f6(0x1a0),'BJqoh':function(_0x4e1705,_0x3fdfa9,_0x13b69d,_0x2af476,_0x1f08b4,_0x5c7bcb,_0x36a7ff){return _0x4e1705(_0x3fdfa9,_0x13b69d,_0x2af476,_0x1f08b4,_0x5c7bcb,_0x36a7ff);},'zTqpB':_0x38e5f6(0x126),'LbhzS':_0x38e5f6(0xf3),'qhAqO':function(_0x103bf0,_0x4db31f){return _0x103bf0(_0x4db31f);},'DQiSE':'../../package.json','HaPMh':_0x38e5f6(0x11e),'tRtEh':function(_0x5bc34f,_0x5471fb){return _0x5bc34f===_0x5471fb;},'uKIkl':_0x38e5f6(0x125),'PEFlB':function(_0x1337c9,_0x5bdfb9){return _0x1337c9===_0x5bdfb9;},'HTmjK':function(_0x4eb600,_0x175b71){return _0x4eb600===_0x175b71;},'wCtCd':function(_0x415440,_0x1679ce){return _0x415440===_0x1679ce;},'sKrPw':'Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','mOahe':_0x38e5f6(0x196),'YfjUe':_0x38e5f6(0xb7),'GJJrJ':_0x38e5f6(0x14b),'EMQOO':function(_0x30e76d,_0x50fccc){return _0x30e76d>=_0x50fccc;},'cdJwt':function(_0x2f8823,_0x4e2385){return _0x2f8823<_0x4e2385;},'aTUIJ':_0x38e5f6(0xac),'bIQgG':_0x38e5f6(0xaa),'ivxgD':function(_0x327466){return _0x327466();}},_0x30514c=PerformanceTester[_0x38e5f6(0x165)](_0x8ae7ca['bIQgG'],async()=>{const _0x145cd9=_0x38e5f6;try{const _0x37bd3c=new Date(),_0x2023c0=helper[_0x145cd9(0x124)](this[_0x145cd9(0x14e)]),_0x3cb3e5=_0x8ae7ca[_0x145cd9(0x114)](require,path[_0x145cd9(0x190)](__dirname,_0x8ae7ca['gJEQv'])),_0x1ed028=_0x8ae7ca['BJqoh'](timeoutPromise,constants[_0x145cd9(0x15e)],_0x8ae7ca['zTqpB'],_0x8ae7ca['LbhzS'],_0x37bd3c,this[_0x145cd9(0x14e)],this['framework']),_0x3d851f={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x8ae7ca[_0x145cd9(0x189)](require,_0x8ae7ca[_0x145cd9(0xd3)])[_0x145cd9(0x147)],'methodUsed':_0x8ae7ca[_0x145cd9(0x171)],'proxyConfig':_0x2023c0,'os':os[_0x145cd9(0x14c)]()};if(_0x2023c0&&_0x2023c0[_0x145cd9(0xdf)]){utilities[_0x145cd9(0x136)](constants[_0x145cd9(0x18c)],_0x3d851f,this[_0x145cd9(0x14e)],this['framework']);return;}const _0x5ce4bf={};_0x5ce4bf[_0x145cd9(0x174)]=_0x2023c0;const _0xad9044=await Promise[_0x145cd9(0xc4)]([_0x3cb3e5[_0x145cd9(0xb4)](this['config'][_0x145cd9(0x177)],this[_0x145cd9(0x14e)]['userName'],constants[_0x145cd9(0x185)],_0x8ae7ca[_0x145cd9(0x189)](require,_0x8ae7ca['DQiSE'])['version'],_0x5ce4bf)[_0x145cd9(0xe4)](_0x4df699=>{const _0xf575d=_0x145cd9;return _0x1ed028[_0xf575d(0x92)](),_0x4df699;}),_0x1ed028]);_0xad9044[_0x145cd9(0xae)]=_0x8ae7ca['tRtEh'](_0xad9044[_0x145cd9(0xae)],_0x8ae7ca[_0x145cd9(0x14a)])||_0x8ae7ca[_0x145cd9(0x192)](_0xad9044[_0x145cd9(0xae)],!![]);const _0xdd5081=_0x8ae7ca['HTmjK'](this[_0x145cd9(0x14e)][_0x145cd9(0xbc)],!![])||_0x8ae7ca[_0x145cd9(0x119)](this[_0x145cd9(0x14e)][_0x145cd9(0xbc)],_0x8ae7ca[_0x145cd9(0x14a)]);if(_0x8ae7ca[_0x145cd9(0xb5)](_0xad9044[_0x145cd9(0xa3)],constants[_0x145cd9(0x1a4)])&&_0xdd5081)logger[_0x145cd9(0x13f)](_0x8ae7ca[_0x145cd9(0x186)]);else{if(!_0xad9044[_0x145cd9(0x129)]&&_0x8ae7ca[_0x145cd9(0x119)](_0xad9044[_0x145cd9(0xe7)],0x1f7)&&_0xdd5081)logger[_0x145cd9(0x13f)](_0x8ae7ca[_0x145cd9(0xdc)]),utilities[_0x145cd9(0x136)](constants[_0x145cd9(0xff)],_0x3d851f,this[_0x145cd9(0x14e)],this['framework']);else{if(!_0xad9044[_0x145cd9(0x129)]&&_0xdd5081){logger['info'](_0x8ae7ca[_0x145cd9(0xa0)]);const _0x325b2d={'tcgUrl':constants[_0x145cd9(0x185)],'sdkVersion':_0x8ae7ca[_0x145cd9(0x114)](require,_0x8ae7ca['DQiSE'])[_0x145cd9(0x147)],'methodUsed':_0x8ae7ca[_0x145cd9(0x171)],'proxyConfig':_0x2023c0,'os':os[_0x145cd9(0x14c)]()};utilities[_0x145cd9(0x136)](constants[_0x145cd9(0xfb)],_0x325b2d,this[_0x145cd9(0x14e)],this[_0x145cd9(0x168)]);}else{if(_0xad9044['isAuthenticated']&&!_0xad9044[_0x145cd9(0xae)]&&_0xdd5081)logger[_0x145cd9(0x13f)](_0x8ae7ca[_0x145cd9(0x109)]);else{if(_0x8ae7ca['EMQOO'](_0xad9044[_0x145cd9(0xe7)],0xc8)&&_0x8ae7ca[_0x145cd9(0x122)](_0xad9044[_0x145cd9(0xe7)],0x12c))utilities['fireFunnelTestEvent'](constants[_0x145cd9(0x14f)],_0x3d851f,this[_0x145cd9(0x14e)],this['framework']);else{if(_0x8ae7ca[_0x145cd9(0x104)](_0xad9044[_0x145cd9(0xe7)],0x190))_0x3d851f['status']=_0xad9044[_0x145cd9(0xe7)],utilities[_0x145cd9(0x136)](constants[_0x145cd9(0x12e)],_0x3d851f,this[_0x145cd9(0x14e)],this[_0x145cd9(0x168)]);else!_0xad9044[_0x145cd9(0xe7)]&&utilities['fireFunnelTestEvent'](constants[_0x145cd9(0xbb)],_0x3d851f,this['config'],this['framework']);}}}}}if(_0xad9044[_0x145cd9(0x129)]&&_0xad9044[_0x145cd9(0xae)]){const _0x4d1f51={};_0x4d1f51['tcgAuthConfig']=_0xad9044;const _0x4d0b0b=_0x4d1f51;_0x2023c0&&(_0x4d0b0b['proxyConfig']=_0x2023c0),_0x4d0b0b['framework']=this['framework'],_0x4d0b0b['bstackConfig']=this[_0x145cd9(0x14e)],helper['setupTcgConfigFile'](_0x4d0b0b),logger[_0x145cd9(0x116)](_0x8ae7ca['aTUIJ']);}}catch(_0x1a5721){logger['debug'](_0x145cd9(0x167)+(_0x1a5721[_0x145cd9(0xa3)]?_0x1a5721[_0x145cd9(0xa3)]:''));}});await _0x8ae7ca[_0x38e5f6(0x176)](_0x30514c);}[a94_0x37a8b8(0x19f)](){const _0x12ff3a=a94_0x37a8b8,_0x479043={'VWOUf':function(_0x39f662,_0x4181ac){return _0x39f662(_0x4181ac);},'fZVZi':_0x12ff3a(0x17d)};_0x479043['VWOUf'](require,_0x479043[_0x12ff3a(0xf9)])();}[a94_0x37a8b8(0x16c)](){const _0x18cc6e=a94_0x37a8b8,_0x115a5d={};_0x115a5d[_0x18cc6e(0x151)]='1|2|0|3|4',_0x115a5d[_0x18cc6e(0x10f)]=_0x18cc6e(0x164),_0x115a5d[_0x18cc6e(0x183)]='uncaughtException';const _0x100867=_0x115a5d,_0x4420eb=_0x588f05=>{const _0xf85674=_0x18cc6e,_0x20917a=_0x100867[_0xf85674(0x151)]['split']('|');let _0x1d7196=0x0;while(!![]){switch(_0x20917a[_0x1d7196++]){case'0':this[_0xf85674(0xca)]['push'](util[_0xf85674(0x19c)]('%j',_0x588f05));continue;case'1':logger[_0xf85674(0x98)](_0x588f05[_0xf85674(0xa3)]);continue;case'2':logger['debug'](util[_0xf85674(0x19c)](_0x588f05));continue;case'3':PerformanceTester[_0xf85674(0x15b)](_0x588f05);continue;case'4':ClientTroubleShootingService[_0xf85674(0x173)]();continue;}break;}};process['on'](_0x100867['JiHRu'],_0x4420eb),process['on'](_0x100867['IGvEK'],_0x4420eb);}async[a94_0x37a8b8(0x191)](_0x51e3d8){const _0x283f65=a94_0x37a8b8,_0x319dbb={};_0x319dbb['KsTUq']=_0x283f65(0x195),_0x319dbb[_0x283f65(0x150)]=function(_0xbd1590,_0x2d1d2d){return _0xbd1590+_0x2d1d2d;},_0x319dbb['PAHXW']=_0x283f65(0xeb),_0x319dbb[_0x283f65(0xa1)]=function(_0x11bbdf,_0x566702){return _0x11bbdf+_0x566702;},_0x319dbb[_0x283f65(0x19b)]=_0x283f65(0xd2);const _0x20db61=_0x319dbb,_0x563510=_0x20db61['KsTUq']['split']('|');let _0x4ba944=0x0;while(!![]){switch(_0x563510[_0x4ba944++]){case'0':this[_0x283f65(0x101)]=_0x51e3d8;continue;case'1':await ClientTroubleShootingService['reportProcessInterruptionSituation'](_0x51e3d8);continue;case'2':await BrowserstackCLI[_0x283f65(0x113)]()[_0x283f65(0x142)]();continue;case'3':await TestHubHandler['stop'](_0x51e3d8);continue;case'4':this[_0x20db61[_0x283f65(0x150)](_0x20db61[_0x283f65(0x132)],_0x51e3d8)]=!![];continue;case'5':if(this[_0x20db61[_0x283f65(0x150)](_0x20db61[_0x283f65(0x132)],_0x51e3d8)])return;continue;case'6':logger['info'](_0x20db61['mfNEh'](_0x20db61[_0x283f65(0x19b)],_0x51e3d8));continue;case'7':await ClientTroubleShootingService[_0x283f65(0x173)]();continue;}break;}}['exitHandler'](){const _0x2dea8d=a94_0x37a8b8,_0x38251f={'rdoxg':function(_0x39f3f8,_0x206ba7){return _0x39f3f8===_0x206ba7;},'fUsgh':_0x2dea8d(0x19a),'TNBgo':function(_0x572daa,_0xdb035f){return _0x572daa>_0xdb035f;},'fZuZD':function(_0x5e4058,_0x2e25b0){return _0x5e4058(_0x2e25b0);},'eMclT':function(_0x44e0f6){return _0x44e0f6();},'AJmdN':'events.json'};let _0x336de8=0x0;return async()=>{const _0x31da46=_0x2dea8d;_0x336de8++;if(_0x38251f[_0x31da46(0x16a)](_0x336de8,0x1)){helper[_0x31da46(0xab)](this[_0x31da46(0x168)])&&await this[_0x31da46(0xf7)]();try{logger[_0x31da46(0x116)](_0x38251f[_0x31da46(0xe5)]),await TestHubHandler[_0x31da46(0x142)](_0x336de8),await ClientTroubleShootingService[_0x31da46(0x173)](),await BrowserstackCLI[_0x31da46(0x113)]()[_0x31da46(0x142)]('1');}catch(_0x4e9325){logger[_0x31da46(0x116)](_0x31da46(0x199)+util[_0x31da46(0x19c)](_0x4e9325));}PerformanceTester[_0x31da46(0x127)](PerformanceEvents['SDK_CLEANUP']);if(PerformanceTester[_0x31da46(0xfc)]()){const {measures:_0x120994,errors:_0x505f87}=await PerformanceTester[_0x31da46(0x12c)](),_0x1e85cf={};if(_0x120994&&_0x38251f['TNBgo'](_0x120994[_0x31da46(0xb2)],0x0)||_0x505f87&&_0x38251f[_0x31da46(0x15f)](_0x505f87[_0x31da46(0xb2)],0x0)){const _0x4133de={};_0x4133de[_0x31da46(0xd6)]=_0x120994,_0x4133de[_0x31da46(0x140)]=_0x505f87,Object[_0x31da46(0x181)](_0x1e85cf,_0x4133de);}try{const _0xfa2254=await helper['sendToEDS'](_0x1e85cf,this['config']);logger['debug'](_0x31da46(0x169)+_0x38251f[_0x31da46(0xe9)](getEdsInstrumentationAPIUrl,'')+_0x31da46(0xcd)+_0xfa2254[_0x31da46(0xf4)]);}catch(_0x294d93){logger[_0x31da46(0x116)](_0x31da46(0x159)+_0x38251f[_0x31da46(0xe9)](getEdsInstrumentationAPIUrl,'')+_0x31da46(0xbd)+util[_0x31da46(0x19c)](_0x294d93));}try{fs[_0x31da46(0x131)](path[_0x31da46(0x190)](_0x38251f['eMclT'](getLogDir),_0x38251f[_0x31da46(0xe8)]),JSON['stringify'](_0x1e85cf));}catch(_0x474fb4){logger[_0x31da46(0x116)](_0x31da46(0x158)+_0x474fb4);}}}logger&&logger[_0x31da46(0x130)](),fileLogger&&fileLogger[_0x31da46(0x130)]();};}}exports[a94_0x37a8b8(0xc0)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a95_0x567c67=a95_0x4319;(function(_0x26b598,_0x1a1b91){const _0x568393=a95_0x4319,_0x56813d=_0x26b598();while(!![]){try{const _0x4baaff=parseInt(_0x568393(0xb4))/0x1+parseInt(_0x568393(0x69))/0x2+-parseInt(_0x568393(0xba))/0x3*(parseInt(_0x568393(0xa7))/0x4)+parseInt(_0x568393(0xd3))/0x5*(parseInt(_0x568393(0x11e))/0x6)+-parseInt(_0x568393(0x81))/0x7+-parseInt(_0x568393(0x6f))/0x8+parseInt(_0x568393(0x92))/0x9;if(_0x4baaff===_0x1a1b91)break;else _0x56813d['push'](_0x56813d['shift']());}catch(_0x4a9ea5){_0x56813d['push'](_0x56813d['shift']());}}}(a95_0x250d,0xe421e));const util=require(a95_0x567c67(0xb7)),logger=require(a95_0x567c67(0xfa))['winstonLogger'],accessibilityHelper=require(a95_0x567c67(0x67)),globals=require(a95_0x567c67(0xa5)),scripts=require(a95_0x567c67(0xe5)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a95_0x567c67(0xe9)),BrowserstackCLI=require(a95_0x567c67(0xaa));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0x567c67(0xcb));}catch(a95_0x4267da){logger[a95_0x567c67(0x7d)](a95_0x567c67(0xf3));}const a95_0x2aafc7={};function a95_0x4319(_0x5cc7c0,_0xe4c124){const _0x250d17=a95_0x250d();return a95_0x4319=function(_0x4319f5,_0x22cd07){_0x4319f5=_0x4319f5-0x64;let _0x2376f9=_0x250d17[_0x4319f5];return _0x2376f9;},a95_0x4319(_0x5cc7c0,_0xe4c124);}function a95_0x250d(){const _0x3a1503=['tKjkH','12LUmXaG','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','uTjxs','../../bin/v2/browserstackCLI','hXMId','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','LCaoS','mHdDx','type','BjIoQ','UPlTi','defaultTimeoutMs','isPlaywright','71439XaYtjw','SXIIz','evaluate','util','OmOhB','PSRcV','253458IqWhoK','reJgh','\x20failed\x20for\x20method:\x20','stringify','bstackA11yScanOptions','fvwWO','bgJcL','oTjRg','nMQOk','browserstackSessionName','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','QvjCq','Comprehensive\x20accessibility\x20scan\x20failed\x20(','cjYdM','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','tHodI','Ekjua','../../bin/playwright/accessibility-helper','REAdB','max','AQLds','hXUpQ','warn','accessibilityPlatform','setPlaywrightScriptTimeout','213595qDRZkG','qIGIn','url','uloEs','options','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','error','performComprehensiveAccessibilityScanWithRetry','isAccessibilityPlatform','ZGWGP','getAccessibilityResultsWithRetry','script',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','BtshP','ms\x20using\x20setTimeouts\x20API','vIZsq','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','env','./scripts','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','iXRpc','Unknown\x20error','../performance/constants','WebDriver','IDuTA','capabilitiesList','ZlQDx','scanSucceeded','aTNTE','getGlobal','hDofn','tvkPg','Playwright\x20accessibility\x20helper\x20not\x20available','qAZDt','yeQsg','results','aCvEV','tWYnA','name','../logger',').\x20Last\x20error:\x20','bstackA11yShouldScan','getCurrentUrl','setScriptTimeout','playwright-codecept-driver','page','message','eSAmI','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Accessibility\x20results\x20save\x20attempt\x20','kXjQL','WYarR','isPlaywrightPage','saveTestResults','allSettled','aCGIo','__workerDetails','EwGWE','setDefaultTimeout',',\x20cannot\x20perform\x20scan\x20with\x20retry.','isSeleniumDriver','ofslv','getAccessibilityResultsSummary','):\x20','performScan',')\x20with\x20error:\x20','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','setSeleniumScriptTimeout','\x20for\x20method:\x20','txYeC','Skipping\x20timeout\x20setting\x20for\x20','getAccessibilityResults','Smkig','value',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','12HgZSuG','slPMl','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','isAccessibilityAutomationSession','browserStackEvaluate','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','dOYfv','BzGty','wuSLD','updateRetryConfig','constructor','gUMgj','getAccessibilityModule','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','reason','./helper','executeAsyncScript','1838932TjGlie','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','performScanWithRetry','Accessibility\x20scan\x20attempt\x20','jqgoN','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','8217600eyaHSp','SrTSL','lYtjI','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','timeouts',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','summary','rejected','getInstance','zhsua','info','ms\x20using\x20timeouts()\x20API','vwUBa','status','debug','DICjW','BjpSt','function','11342044lKQYUX','setTimeouts','LITBd','tFFny','Accessibility\x20retry\x20configuration\x20updated:\x20','oQLbY','getRetryConfig','getCapabilities','currentTest','yfhRJ','unknown_method','gFqdu','timeoutMs','PyMbv','epgmI','ywYwn','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','24831333SFBkAw','maxRetries','OcfQV','getAccessibilityResultsSummaryWithRetry','hrvFD','race','tlmqX','Accessibility\x20results\x20retrieval\x20attempt\x20','GzVlA','manage','isRunning',').\x20Error:\x20','undefined','oBqPg','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','\x20failed\x20(','measureWrapper','jiFRB','Playwright','../globals'];a95_0x250d=function(){return _0x3a1503;};return a95_0x250d();}a95_0x2aafc7['maxRetries']=0x1,a95_0x2aafc7[a95_0x567c67(0x8d)]=0x7530,a95_0x2aafc7['defaultTimeoutMs']=0x7530;const RETRY_CONFIG=a95_0x2aafc7,setConfigTimeout=(_0x474862,_0x26fb4d=null)=>{const _0x580ba8=a95_0x567c67,_0x2f47d7={'kXjQL':function(_0x43e179,_0x54acb7){return _0x43e179===_0x54acb7;},'jMweI':'scannerProcessingTimeout','gUMgj':function(_0x482b65,_0x9a9d09){return _0x482b65*_0x9a9d09;},'BzGty':function(_0x4e6f3a,_0x561ebc){return _0x4e6f3a(_0x561ebc);},'OcfQV':function(_0x26c187,_0x12c4fd){return _0x26c187*_0x12c4fd;}};if(BrowserstackCLI[_0x580ba8(0x77)]()[_0x580ba8(0x9c)]()&&BrowserstackCLI[_0x580ba8(0x77)]()[_0x580ba8(0x64)]()){const _0x69ac12=BrowserstackCLI['getInstance']()['getAccessibilityModule']()['accessibilityConfig'],_0x4f769a=_0x69ac12[_0x580ba8(0xd7)][_0x580ba8(0xec)]||[];for(const _0x285dde of _0x4f769a){_0x2f47d7[_0x580ba8(0x105)](_0x285dde[_0x580ba8(0xf9)],_0x2f47d7['jMweI'])&&_0x2f47d7[_0x580ba8(0x105)](_0x26fb4d,null)&&(_0x474862[_0x580ba8(0x8d)]=_0x2f47d7[_0x580ba8(0x129)](_0x2f47d7[_0x580ba8(0x125)](parseInt,_0x285dde[_0x580ba8(0x11c)]),0x3e8));}}else process[_0x580ba8(0xe4)][_0x580ba8(0x6a)]&&(_0x474862[_0x580ba8(0x8d)]=_0x2f47d7[_0x580ba8(0x94)](_0x2f47d7['BzGty'](parseInt,process[_0x580ba8(0xe4)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x4d8e22=>{const _0x2e2766=a95_0x567c67,_0x28e25d={};_0x28e25d[_0x2e2766(0x9a)]='unknown',_0x28e25d[_0x2e2766(0xad)]=function(_0x3244b4,_0x41f0fb){return _0x3244b4===_0x41f0fb;},_0x28e25d[_0x2e2766(0x98)]=_0x2e2766(0x80),_0x28e25d[_0x2e2766(0x102)]=function(_0x3a25f9,_0x19b654){return _0x3a25f9===_0x19b654;},_0x28e25d[_0x2e2766(0xb1)]='playwright-page',_0x28e25d[_0x2e2766(0x118)]=function(_0x20c708,_0x5b4575){return _0x20c708===_0x5b4575;},_0x28e25d['tHodI']='selenium-webdriver',_0x28e25d['nMQOk']='Page',_0x28e25d[_0x2e2766(0xf8)]=function(_0x1f6eba,_0xd71e28){return _0x1f6eba===_0xd71e28;},_0x28e25d['FXMIi']=_0x2e2766(0xea),_0x28e25d[_0x2e2766(0x96)]=function(_0xcebe6b,_0x51dfac){return _0xcebe6b===_0x51dfac;},_0x28e25d[_0x2e2766(0x83)]=_0x2e2766(0xa4),_0x28e25d['SoLNS']=_0x2e2766(0xff),_0x28e25d['QESwo']=function(_0x3fcacd,_0x2d99b7){return _0x3fcacd||_0x2d99b7;},_0x28e25d[_0x2e2766(0xca)]=_0x2e2766(0x9e);const _0x4e97e2=_0x28e25d;if(!_0x4d8e22){const _0x15def5={};return _0x15def5[_0x2e2766(0xb3)]=![],_0x15def5[_0x2e2766(0xaf)]=_0x4e97e2[_0x2e2766(0x9a)],_0x15def5;}if(_0x4e97e2[_0x2e2766(0xad)](typeof _0x4d8e22[_0x2e2766(0xb6)],_0x4e97e2[_0x2e2766(0x98)])&&_0x4e97e2[_0x2e2766(0xad)](typeof _0x4d8e22[_0x2e2766(0xd5)],_0x4e97e2[_0x2e2766(0x98)])&&_0x4e97e2[_0x2e2766(0x102)](typeof _0x4d8e22['goto'],_0x4e97e2[_0x2e2766(0x98)])){const _0x22fe09={};return _0x22fe09[_0x2e2766(0xb3)]=!![],_0x22fe09[_0x2e2766(0xaf)]=_0x4e97e2[_0x2e2766(0xb1)],_0x22fe09;}if(_0x4e97e2[_0x2e2766(0x102)](typeof _0x4d8e22['executeAsyncScript'],_0x4e97e2['tlmqX'])&&_0x4e97e2[_0x2e2766(0x118)](typeof _0x4d8e22[_0x2e2766(0x88)],_0x4e97e2['tlmqX'])){const _0x1bb8dd={};return _0x1bb8dd[_0x2e2766(0xb3)]=![],_0x1bb8dd[_0x2e2766(0xaf)]=_0x4e97e2['tHodI'],_0x1bb8dd;}const _0x12c1b0=_0x4d8e22[_0x2e2766(0x128)]?.[_0x2e2766(0xf9)];if(_0x4e97e2[_0x2e2766(0x102)](_0x12c1b0,_0x4e97e2[_0x2e2766(0xc2)])){const _0x13cea8={};return _0x13cea8[_0x2e2766(0xb3)]=!![],_0x13cea8[_0x2e2766(0xaf)]=_0x4e97e2[_0x2e2766(0xb1)],_0x13cea8;}if(_0x4e97e2[_0x2e2766(0xf8)](_0x12c1b0,_0x4e97e2['FXMIi'])){const _0x2617dd={};return _0x2617dd['isPlaywright']=![],_0x2617dd[_0x2e2766(0xaf)]=_0x4e97e2[_0x2e2766(0xc9)],_0x2617dd;}if(_0x4e97e2[_0x2e2766(0x96)](_0x12c1b0,_0x4e97e2[_0x2e2766(0x83)])){const _0x350358={};return _0x350358[_0x2e2766(0xb3)]=!![],_0x350358['type']=_0x4e97e2['SoLNS'],_0x350358;}logger[_0x2e2766(0xd0)]('Unknown\x20driver/page\x20type:\x20'+_0x4e97e2['QESwo'](_0x12c1b0,_0x4e97e2[_0x2e2766(0xca)]));const _0x109d25={};return _0x109d25[_0x2e2766(0xb3)]=![],_0x109d25[_0x2e2766(0xaf)]=_0x4e97e2['GzVlA'],_0x109d25;},withTimeout=(_0x3510cf,_0x19f72c)=>{const _0x2d176f=a95_0x567c67;return Promise[_0x2d176f(0x97)]([_0x3510cf,new Promise((_0x4f1815,_0x5dd34c)=>setTimeout(()=>_0x5dd34c(new Error('Operation\x20timed\x20out\x20after\x20'+_0x19f72c+'ms')),_0x19f72c))]);};exports[a95_0x567c67(0x6b)]=async(_0x15653e,_0x30125d=null,_0x5f4929=null,_0x89272c=![],_0x53eb43=null)=>{const _0x3dbe9f=a95_0x567c67,_0x3d8bba={'vIZsq':function(_0x2eac25,_0x47493e){return _0x2eac25&&_0x47493e;},'oQLbY':function(_0x48686f,_0x5ed105,_0x2fd022){return _0x48686f(_0x5ed105,_0x2fd022);},'Smkig':function(_0x3c98aa,_0x10da63){return _0x3c98aa===_0x10da63;},'lYtjI':_0x3dbe9f(0xff),'jiFRB':function(_0x3a131b,_0x452dc1,_0x3b9dac){return _0x3a131b(_0x452dc1,_0x3b9dac);},'gFqdu':function(_0x22eade,_0x5a6dde){return _0x22eade(_0x5a6dde);},'cjYdM':function(_0x1cd85c,_0x262be8){return _0x1cd85c||_0x262be8;},'yeQsg':_0x3dbe9f(0xdb),'tFFny':function(_0x3cefc6,_0x5e1bef){return _0x3cefc6!==_0x5e1bef;},'hXUpQ':_0x3dbe9f(0xfc),'aCvEV':_0x3dbe9f(0x115),'Rwmay':_0x3dbe9f(0x8b),'ZlQDx':'function','QvjCq':function(_0x486543,_0x55e932){return _0x486543===_0x55e932;},'bgJcL':function(_0x33f1e7,_0x407f0e){return _0x33f1e7<=_0x407f0e;},'PSRcV':function(_0x5bb778,_0x26dfdd){return _0x5bb778+_0x26dfdd;},'hXMId':_0x3dbe9f(0xe8)},{isPlaywright:_0xf80c01,type:_0x48ee0d}=_0x3d8bba[_0x3dbe9f(0x8c)](detectDriverType,_0x15653e),_0x453368=_0x89272c?_0x3d8bba[_0x3dbe9f(0xc7)](_0x53eb43,{}):global[_0x3dbe9f(0xbe)]||{},_0x14748b=_0xf80c01?global[_0x3dbe9f(0xd1)]&&(_0x89272c||_0x3d8bba['Smkig'](global[_0x3dbe9f(0xfc)],!![])):accessibilityHelper[_0x3dbe9f(0x121)]()&&globals[_0x3dbe9f(0xf0)](_0x3d8bba['yeQsg'])&&(_0x89272c||_0x3d8bba[_0x3dbe9f(0x84)](globals['getGlobal'](_0x3d8bba['hXUpQ']),![]));if(!_0x14748b)return _0xf80c01&&global[_0x3dbe9f(0xd1)]&&_0x3d8bba[_0x3dbe9f(0x11b)](global[_0x3dbe9f(0xfc)],![])||!_0xf80c01&&globals['getGlobal'](_0x3d8bba[_0x3dbe9f(0xf5)])&&_0x3d8bba['Smkig'](globals['getGlobal'](_0x3d8bba[_0x3dbe9f(0xcf)]),![])?logger['debug'](_0x3d8bba[_0x3dbe9f(0xf7)]):logger[_0x3dbe9f(0xd0)](_0x3dbe9f(0x91)+_0x48ee0d+_0x3dbe9f(0x10e)),![];const _0x208010=_0x30125d||global[_0x3dbe9f(0xc3)]||_0x3d8bba['Rwmay'];let _0x1280d8=null;const _0x192c11={'testhub_btcer_uuid':global[_0x3dbe9f(0x10b)]?.[_0x3dbe9f(0x89)]?.['id'],'url':_0x3d8bba[_0x3dbe9f(0x11b)](typeof _0x15653e['url'],_0x3d8bba[_0x3dbe9f(0xed)])?await _0x15653e[_0x3dbe9f(0xd5)]():_0x3d8bba[_0x3dbe9f(0x11b)](typeof _0x15653e[_0x3dbe9f(0xfd)],_0x3d8bba['ZlQDx'])?await _0x15653e[_0x3dbe9f(0xfd)]():'','automate_session_id':_0x3d8bba[_0x3dbe9f(0xc5)](typeof _0x15653e['getSession'],_0x3d8bba[_0x3dbe9f(0xed)])?(await _0x15653e['getSession']())['getId']():''};for(let _0x3cb307=0x1;_0x3d8bba[_0x3dbe9f(0xc0)](_0x3cb307,_0x3d8bba['PSRcV'](RETRY_CONFIG[_0x3dbe9f(0x93)],0x1));_0x3cb307++){try{return logger['debug'](_0x3dbe9f(0x6c)+_0x3cb307+'/'+_0x3d8bba[_0x3dbe9f(0xb9)](RETRY_CONFIG[_0x3dbe9f(0x93)],0x1)+_0x3dbe9f(0x117)+_0x208010+'\x20('+_0x48ee0d+')'),await PerformanceTester[_0x3dbe9f(0xa2)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5245fb=_0x3dbe9f;let _0x8b8df1;if(_0x3d8bba[_0x5245fb(0xe2)](_0xf80c01,playwrightA11yHelper)){_0x3d8bba[_0x5245fb(0x86)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x5245fb(0xd2)](_0x15653e,RETRY_CONFIG[_0x5245fb(0x8d)]);let _0x2a8e95=_0x15653e;_0x3d8bba[_0x5245fb(0x11b)](_0x48ee0d,_0x3d8bba[_0x5245fb(0x71)])&&(_0x2a8e95=_0x15653e[_0x5245fb(0x100)]),_0x8b8df1=await _0x3d8bba[_0x5245fb(0xa3)](withTimeout,playwrightA11yHelper['performScan'](_0x2a8e95,_0x208010,_0x453368),RETRY_CONFIG[_0x5245fb(0x8d)]),await exports[_0x5245fb(0xd2)](_0x15653e,RETRY_CONFIG[_0x5245fb(0xb2)]);}else await exports[_0x5245fb(0x116)](_0x15653e,RETRY_CONFIG[_0x5245fb(0x8d)]),_0x8b8df1=await _0x3d8bba['jiFRB'](withTimeout,accessibilityHelper[_0x5245fb(0x113)](_0x15653e,_0x208010,_0x89272c,_0x453368),RETRY_CONFIG[_0x5245fb(0x8d)]),await exports[_0x5245fb(0x116)](_0x15653e,RETRY_CONFIG[_0x5245fb(0xb2)]);logger['debug']('Scan\x20attempt\x20'+_0x3cb307+'\x20completed\x20successfully.');},{'command':_0x208010,..._0x192c11})(),logger['info']('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x3cb307+'.'),!![];}catch(_0x4ea421){_0x1280d8=_0x4ea421,logger['debug'](_0x3dbe9f(0x6c)+_0x3cb307+_0x3dbe9f(0xbc)+_0x208010+'\x20('+_0x48ee0d+').\x20Error:\x20'+_0x4ea421[_0x3dbe9f(0x101)]);}}return logger[_0x3dbe9f(0xd9)](_0x3dbe9f(0x123)+_0x208010+'\x20('+_0x48ee0d+_0x3dbe9f(0x114)+(_0x1280d8?.[_0x3dbe9f(0x101)]||_0x3d8bba[_0x3dbe9f(0xab)])),![];},exports[a95_0x567c67(0xdd)]=async(_0x5b2b13,_0x167225)=>{const _0x41f145=a95_0x567c67,_0x323718={'aCGIo':function(_0x4b58be,_0x2689eb){return _0x4b58be(_0x2689eb);},'jqgoN':_0x41f145(0xdb),'LHTiA':function(_0x421069,_0x1bf993){return _0x421069<=_0x1bf993;},'PyMbv':function(_0x33a006,_0x210bc8){return _0x33a006+_0x210bc8;},'BjIoQ':function(_0x430f55,_0x1f93ff){return _0x430f55+_0x1f93ff;},'MwlIe':function(_0x38ef70,_0x34e396){return _0x38ef70&&_0x34e396;},'uTjxs':function(_0x4611df,_0x1b4f73,_0x2a9e64){return _0x4611df(_0x1b4f73,_0x2a9e64);},'IDuTA':function(_0x368f6a,_0x303134,_0x29285e){return _0x368f6a(_0x303134,_0x29285e);},'TBZPT':function(_0x4bcfea,_0x1a39a0,_0x141255){return _0x4bcfea(_0x1a39a0,_0x141255);},'fvwWO':'Unknown\x20error'},{isPlaywright:_0x4822db,type:_0x3083ee}=_0x323718[_0x41f145(0x10a)](detectDriverType,_0x5b2b13),_0x535e06=_0x4822db?_0x167225[_0x41f145(0xd1)]:accessibilityHelper[_0x41f145(0x121)]()&&globals[_0x41f145(0xf0)](_0x323718[_0x41f145(0x6d)]);if(!_0x535e06)return logger[_0x41f145(0xd0)](_0x41f145(0x91)+_0x3083ee+_0x41f145(0x11d)),[];let _0x18d5d8=null;for(let _0x2a3dc6=0x1;_0x323718['LHTiA'](_0x2a3dc6,_0x323718[_0x41f145(0x8e)](RETRY_CONFIG[_0x41f145(0x93)],0x1));_0x2a3dc6++){try{logger[_0x41f145(0x7d)](_0x41f145(0x99)+_0x2a3dc6+'/'+_0x323718[_0x41f145(0xb0)](RETRY_CONFIG[_0x41f145(0x93)],0x1)+'\x20('+_0x3083ee+')');let _0x4f22ee;return _0x323718['MwlIe'](_0x4822db,playwrightA11yHelper)?(_0x323718[_0x41f145(0xa9)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x41f145(0xd2)](_0x5b2b13,RETRY_CONFIG[_0x41f145(0x8d)]),_0x4f22ee=await _0x323718[_0x41f145(0xeb)](withTimeout,playwrightA11yHelper[_0x41f145(0x11a)](_0x5b2b13),RETRY_CONFIG[_0x41f145(0x8d)]),await exports[_0x41f145(0xd2)](_0x5b2b13,RETRY_CONFIG[_0x41f145(0xb2)])):(await exports['setSeleniumScriptTimeout'](_0x5b2b13,RETRY_CONFIG[_0x41f145(0x8d)]),_0x4f22ee=await _0x323718['TBZPT'](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x5b2b13,_0x167225),RETRY_CONFIG['timeoutMs']),await exports[_0x41f145(0x116)](_0x5b2b13,RETRY_CONFIG[_0x41f145(0xb2)])),logger['info']('Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x2a3dc6+'\x20('+_0x3083ee+')'),_0x4f22ee;}catch(_0x52be2e){_0x18d5d8=_0x52be2e,logger[_0x41f145(0xd0)](_0x41f145(0x99)+_0x2a3dc6+_0x41f145(0xa1)+_0x3083ee+_0x41f145(0x9d)+_0x52be2e[_0x41f145(0x101)]);}}return logger[_0x41f145(0xd9)](_0x41f145(0xa8)+_0x3083ee+_0x41f145(0xfb)+(_0x18d5d8?.[_0x41f145(0x101)]||_0x323718[_0x41f145(0xbf)])),[];},exports[a95_0x567c67(0x95)]=async(_0x524c08,_0x1267dc)=>{const _0x578921=a95_0x567c67,_0x2e8f25={'qAZDt':function(_0x168593,_0x4f3949){return _0x168593(_0x4f3949);},'wuSLD':_0x578921(0xdb),'BnBwU':function(_0x50a2a8,_0x5f478e){return _0x50a2a8<=_0x5f478e;},'tKjkH':function(_0x40ac05,_0x11a31a){return _0x40ac05+_0x11a31a;},'AQLds':function(_0x53f13a,_0x5e869d){return _0x53f13a+_0x5e869d;},'epgmI':function(_0x28e9ee,_0x120989){return _0x28e9ee&&_0x120989;},'ofslv':function(_0x24ef16,_0x221fe6,_0x376cb4){return _0x24ef16(_0x221fe6,_0x376cb4);},'pLtKE':function(_0x3fe41e,_0x58f692,_0x11033c){return _0x3fe41e(_0x58f692,_0x11033c);},'ZGWGP':function(_0x3395fb,_0x59c9ce,_0x1725ca){return _0x3395fb(_0x59c9ce,_0x1725ca);},'oBqPg':'Unknown\x20error'},{isPlaywright:_0x112b64,type:_0x29d741}=_0x2e8f25[_0x578921(0xf4)](detectDriverType,_0x524c08),_0x53cca5=_0x112b64?_0x1267dc[_0x578921(0xd1)]:accessibilityHelper[_0x578921(0x121)]()&&globals[_0x578921(0xf0)](_0x2e8f25[_0x578921(0x126)]);if(!_0x53cca5)return logger[_0x578921(0xd0)](_0x578921(0x91)+_0x29d741+_0x578921(0xdf)),{};let _0xdcef07=null;for(let _0x436d03=0x1;_0x2e8f25['BnBwU'](_0x436d03,_0x2e8f25[_0x578921(0xa6)](RETRY_CONFIG[_0x578921(0x93)],0x1));_0x436d03++){try{logger[_0x578921(0x7d)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x436d03+'/'+_0x2e8f25[_0x578921(0xce)](RETRY_CONFIG[_0x578921(0x93)],0x1)+'\x20('+_0x29d741+')');let _0x932ad;return _0x2e8f25[_0x578921(0x8f)](_0x112b64,playwrightA11yHelper)?(_0x2e8f25[_0x578921(0x110)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x578921(0xd2)](_0x524c08,RETRY_CONFIG[_0x578921(0x8d)]),_0x932ad=await _0x2e8f25['pLtKE'](withTimeout,playwrightA11yHelper[_0x578921(0x111)](_0x524c08),RETRY_CONFIG['timeoutMs']),await exports[_0x578921(0xd2)](_0x524c08,RETRY_CONFIG[_0x578921(0xb2)])):(await exports[_0x578921(0x116)](_0x524c08,RETRY_CONFIG['timeoutMs']),_0x932ad=await _0x2e8f25[_0x578921(0xdc)](withTimeout,accessibilityHelper[_0x578921(0x111)](_0x524c08,_0x1267dc),RETRY_CONFIG[_0x578921(0x8d)]),await exports[_0x578921(0x116)](_0x524c08,RETRY_CONFIG[_0x578921(0xb2)])),logger[_0x578921(0x79)]('Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x436d03+'\x20('+_0x29d741+')'),_0x932ad;}catch(_0x16f5eb){_0xdcef07=_0x16f5eb,logger[_0x578921(0xd0)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x436d03+_0x578921(0xa1)+_0x29d741+_0x578921(0x9d)+_0x16f5eb['message']);}}return logger[_0x578921(0xd9)](_0x578921(0x72)+_0x29d741+_0x578921(0xfb)+(_0xdcef07?.[_0x578921(0x101)]||_0x2e8f25[_0x578921(0x9f)])),{};},exports[a95_0x567c67(0xda)]=async(_0x437bff,_0xe5e1c7,_0x4fedc5=null)=>{const _0x4d58de=a95_0x567c67,_0x57fc89={'qIGIn':function(_0x272e15,_0x5d32e5){return _0x272e15(_0x5d32e5);},'reJgh':function(_0x536778,_0x54ec2d){return _0x536778===_0x54ec2d;},'yfhRJ':'fulfilled','mHdDx':function(_0x3b4427,_0x359710){return _0x3b4427===_0x359710;},'vwUBa':_0x4d58de(0x76),'yxCCz':_0x4d58de(0xc8)},{isPlaywright:_0x423359,type:_0x583658}=_0x57fc89[_0x4d58de(0xd4)](detectDriverType,_0x437bff),_0x180856={};_0x180856[_0x4d58de(0xee)]=![],_0x180856[_0x4d58de(0xf6)]=[],_0x180856[_0x4d58de(0x75)]={},_0x180856[_0x4d58de(0xd9)]=null,_0x180856['driverType']=_0x583658;const _0x4cc2d8=_0x180856;try{_0x4cc2d8[_0x4d58de(0xee)]=await exports[_0x4d58de(0x6b)](_0x437bff,_0x4fedc5);if(_0x4cc2d8[_0x4d58de(0xee)]){const [_0x2b6b75,_0x29f659]=await Promise[_0x4d58de(0x109)]([exports[_0x4d58de(0xdd)](_0x437bff,_0xe5e1c7),exports[_0x4d58de(0x95)](_0x437bff,_0xe5e1c7)]);_0x4cc2d8[_0x4d58de(0xf6)]=_0x57fc89[_0x4d58de(0xbb)](_0x2b6b75[_0x4d58de(0x7c)],_0x57fc89['yfhRJ'])?_0x2b6b75[_0x4d58de(0x11c)]:[],_0x4cc2d8[_0x4d58de(0x75)]=_0x57fc89[_0x4d58de(0xae)](_0x29f659[_0x4d58de(0x7c)],_0x57fc89[_0x4d58de(0x8a)])?_0x29f659[_0x4d58de(0x11c)]:{},_0x57fc89['reJgh'](_0x2b6b75[_0x4d58de(0x7c)],_0x57fc89[_0x4d58de(0x7b)])&&logger[_0x4d58de(0xd0)](_0x4d58de(0x65)+_0x583658+'):\x20'+_0x2b6b75[_0x4d58de(0x66)]?.[_0x4d58de(0x101)]),_0x57fc89[_0x4d58de(0xae)](_0x29f659['status'],_0x57fc89[_0x4d58de(0x7b)])&&logger['warn'](_0x4d58de(0x103)+_0x583658+_0x4d58de(0x112)+_0x29f659[_0x4d58de(0x66)]?.[_0x4d58de(0x101)]);}}catch(_0x4cd8e9){_0x4cc2d8['error']=_0x4cd8e9['message']||_0x57fc89['yxCCz'],logger['error'](_0x4d58de(0xc6)+_0x583658+_0x4d58de(0x112)+_0x4cc2d8['error']);}return _0x4cc2d8;},exports[a95_0x567c67(0x127)]=_0x24398c=>{const _0x58c362=a95_0x567c67,_0x427110={};_0x427110[_0x58c362(0xc1)]=function(_0x157d9e,_0x137a06){return _0x157d9e!==_0x137a06;};const _0x2b4287=_0x427110;_0x2b4287[_0x58c362(0xc1)](_0x24398c['maxRetries'],undefined)&&(RETRY_CONFIG[_0x58c362(0x93)]=Math[_0x58c362(0xcd)](0x0,_0x24398c[_0x58c362(0x93)])),_0x2b4287[_0x58c362(0xc1)](_0x24398c[_0x58c362(0x8d)],undefined)&&(RETRY_CONFIG[_0x58c362(0x8d)]=Math['max'](0x3e8,_0x24398c[_0x58c362(0x8d)])),logger[_0x58c362(0x7d)](_0x58c362(0x85)+JSON[_0x58c362(0xbd)](RETRY_CONFIG));},exports[a95_0x567c67(0x87)]=()=>{const _0x2c8da3={...RETRY_CONFIG};return _0x2c8da3;},exports[a95_0x567c67(0x107)]=_0x5c4a48=>{const _0x44fbf2=a95_0x567c67,_0x5c6ad0={'famOu':function(_0x478910,_0x53b4f9){return _0x478910(_0x53b4f9);}};return _0x5c6ad0['famOu'](detectDriverType,_0x5c4a48)[_0x44fbf2(0xb3)];},exports['isSeleniumDriver']=_0x1af798=>{const _0x2c7e5f=a95_0x567c67,_0x3a1126={'hDofn':function(_0x56b70c,_0x5b7248){return _0x56b70c(_0x5b7248);},'OmOhB':function(_0x3a3e72,_0x3718ab){return _0x3a3e72===_0x3718ab;},'zlgOl':'selenium-webdriver'},{isPlaywright:_0x27e857,type:_0x4e123d}=_0x3a1126[_0x2c7e5f(0xf1)](detectDriverType,_0x1af798);return!_0x27e857&&_0x3a1126[_0x2c7e5f(0xb8)](_0x4e123d,_0x3a1126['zlgOl']);},exports[a95_0x567c67(0xd2)]=async(_0x2aaf28,_0x53bf58=null)=>{const _0x51c48d=a95_0x567c67,_0x3c5c90={'tvkPg':function(_0x21a4ff,_0x51d741){return _0x21a4ff(_0x51d741);},'aTNTE':function(_0x516924,_0x60c65f){return _0x516924===_0x60c65f;},'EwGWE':_0x51c48d(0x80)},{isPlaywright:_0x51292d,type:_0x35eef9}=_0x3c5c90[_0x51c48d(0xf2)](detectDriverType,_0x2aaf28);if(!_0x51292d)return logger[_0x51c48d(0x7d)](_0x51c48d(0x119)+_0x35eef9+'\x20-\x20not\x20applicable'),!![];const _0x4d6128=_0x53bf58||RETRY_CONFIG[_0x51c48d(0xb2)];try{return _0x2aaf28&&_0x3c5c90[_0x51c48d(0xef)](typeof _0x2aaf28[_0x51c48d(0x10d)],_0x3c5c90[_0x51c48d(0x10c)])&&(await _0x2aaf28['setDefaultTimeout'](_0x4d6128),logger[_0x51c48d(0x7d)](_0x51c48d(0xd8)+_0x4d6128+'ms')),!![];}catch(_0xe86866){return logger['warn'](_0x51c48d(0x120)+_0xe86866[_0x51c48d(0x101)]),![];}},exports[a95_0x567c67(0x116)]=async(_0x1bbb6e,_0x27d377=null)=>{const _0x24815c=a95_0x567c67,_0x31001d={};_0x31001d[_0x24815c(0x124)]=_0x24815c(0xe6),_0x31001d[_0x24815c(0x7f)]=function(_0x185288,_0x14109d){return _0x185288===_0x14109d;},_0x31001d[_0x24815c(0x78)]='function',_0x31001d[_0x24815c(0xd6)]=function(_0x559a73,_0x25fd7d){return _0x559a73===_0x25fd7d;},_0x31001d[_0x24815c(0x90)]=function(_0x4253b6,_0x2bbfbe){return _0x4253b6===_0x2bbfbe;},_0x31001d[_0x24815c(0x11f)]=_0x24815c(0xac),_0x31001d['PEPHa']=_0x24815c(0x6e);const _0x28246d=_0x31001d;if(!exports[_0x24815c(0x10f)](_0x1bbb6e))return logger[_0x24815c(0xd0)](_0x28246d[_0x24815c(0x124)]),![];const _0x41ed5d=_0x27d377||RETRY_CONFIG[_0x24815c(0xb2)];try{if(_0x1bbb6e&&_0x28246d[_0x24815c(0x7f)](typeof _0x1bbb6e['manage'],_0x28246d[_0x24815c(0x78)])){const _0x40d5db=_0x1bbb6e[_0x24815c(0x9b)]();if(_0x40d5db&&_0x28246d[_0x24815c(0xd6)](typeof _0x40d5db[_0x24815c(0x73)],_0x28246d[_0x24815c(0x78)]))await _0x40d5db[_0x24815c(0x73)]()['setScriptTimeout'](_0x41ed5d),logger['debug'](_0x24815c(0xe3)+_0x41ed5d+_0x24815c(0x7a));else{if(_0x40d5db&&_0x28246d['uloEs'](typeof _0x40d5db[_0x24815c(0x82)],_0x28246d[_0x24815c(0x78)])){const _0x33fb8a={};_0x33fb8a[_0x24815c(0xde)]=_0x41ed5d,await _0x40d5db[_0x24815c(0x82)](_0x33fb8a),logger['debug']('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x41ed5d+_0x24815c(0xe1));}else{if(_0x40d5db&&_0x28246d[_0x24815c(0x90)](typeof _0x40d5db[_0x24815c(0xfe)],_0x28246d['zhsua']))await _0x40d5db[_0x24815c(0xfe)](_0x41ed5d),logger[_0x24815c(0x7d)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x41ed5d+'ms\x20using\x20setScriptTimeout\x20API');else return logger['debug'](_0x28246d[_0x24815c(0x11f)]),!![];}}}else return logger['debug'](_0x28246d['PEPHa']),!![];return!![];}catch(_0x445ebb){return logger[_0x24815c(0xd0)](_0x24815c(0xc4)+_0x445ebb[_0x24815c(0x101)]),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x75634b,_0x534ad9)=>{const _0x54627c=a95_0x567c67,_0x577be1={'WYarR':function(_0x2ee979,_0x1fdd68){return _0x2ee979(_0x1fdd68);},'SXIIz':_0x54627c(0xdb),'wmKIp':function(_0x5a82da,_0x2829f8){return _0x5a82da<=_0x2829f8;},'REAdB':function(_0x3e0fd8,_0x5b22b9){return _0x3e0fd8+_0x5b22b9;},'iXRpc':function(_0x50953d,_0x32e1b0){return _0x50953d+_0x32e1b0;},'OXIub':function(_0x296765,_0x1a5e58){return _0x296765&&_0x1a5e58;},'SrTSL':function(_0x57a523,_0x4910f5,_0x410e20){return _0x57a523(_0x4910f5,_0x410e20);},'BtshP':function(_0x4786d3,_0x534ba9,_0x3cf2e5){return _0x4786d3(_0x534ba9,_0x3cf2e5);},'DICjW':_0x54627c(0xe8)},{isPlaywright:_0x2a5e3f,type:_0x189017}=_0x577be1[_0x54627c(0x106)](detectDriverType,_0x75634b),_0x465e3d=_0x2a5e3f?global[_0x54627c(0xd1)]:accessibilityHelper[_0x54627c(0x121)]()&&globals[_0x54627c(0xf0)](_0x577be1[_0x54627c(0xb5)]);if(!_0x465e3d)return logger[_0x54627c(0xd0)](_0x54627c(0x91)+_0x189017+_0x54627c(0x74)),![];let _0x5480e6=null;for(let _0x30a1d6=0x1;_0x577be1['wmKIp'](_0x30a1d6,_0x577be1[_0x54627c(0xcc)](RETRY_CONFIG[_0x54627c(0x93)],0x1));_0x30a1d6++){try{return logger[_0x54627c(0x7d)](_0x54627c(0x104)+_0x30a1d6+'/'+_0x577be1[_0x54627c(0xe7)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x189017+')'),_0x577be1['OXIub'](_0x2a5e3f,playwrightA11yHelper)?(_0x577be1[_0x54627c(0x70)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x54627c(0xd2)](_0x75634b,RETRY_CONFIG[_0x54627c(0x8d)]),await _0x577be1[_0x54627c(0xe0)](withTimeout,playwrightA11yHelper[_0x54627c(0x122)](_0x75634b,scripts[_0x54627c(0x108)],_0x534ad9),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x75634b,RETRY_CONFIG[_0x54627c(0xb2)])):(await exports[_0x54627c(0x116)](_0x75634b,RETRY_CONFIG[_0x54627c(0x8d)]),await _0x577be1[_0x54627c(0xe0)](withTimeout,_0x75634b[_0x54627c(0x68)](scripts[_0x54627c(0x108)],_0x534ad9),RETRY_CONFIG[_0x54627c(0x8d)]),await exports[_0x54627c(0x116)](_0x75634b,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x54627c(0x79)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x30a1d6+'\x20('+_0x189017+')'),!![];}catch(_0x34e865){_0x5480e6=_0x34e865,logger[_0x54627c(0xd0)](_0x54627c(0x104)+_0x30a1d6+_0x54627c(0xa1)+_0x189017+_0x54627c(0x9d)+_0x34e865[_0x54627c(0x101)]);}}return logger[_0x54627c(0xd9)](_0x54627c(0xa0)+_0x189017+').\x20Last\x20error:\x20'+(_0x5480e6?.[_0x54627c(0x101)]||_0x577be1[_0x54627c(0x7e)])),![];};
|
|
1
|
+
const a95_0x5771ce=a95_0x5397;(function(_0x1da102,_0x2af823){const _0x399987=a95_0x5397,_0x156272=_0x1da102();while(!![]){try{const _0xd5f6=parseInt(_0x399987(0xad))/0x1+parseInt(_0x399987(0xdd))/0x2*(-parseInt(_0x399987(0xfc))/0x3)+parseInt(_0x399987(0x120))/0x4*(parseInt(_0x399987(0xc1))/0x5)+-parseInt(_0x399987(0x131))/0x6*(-parseInt(_0x399987(0x86))/0x7)+parseInt(_0x399987(0xa9))/0x8+-parseInt(_0x399987(0x136))/0x9*(parseInt(_0x399987(0x128))/0xa)+parseInt(_0x399987(0xe5))/0xb;if(_0xd5f6===_0x2af823)break;else _0x156272['push'](_0x156272['shift']());}catch(_0x74dd78){_0x156272['push'](_0x156272['shift']());}}}(a95_0x3ccc,0x7a2e2));const util=require(a95_0x5771ce(0xf1)),logger=require('../logger')[a95_0x5771ce(0xed)],accessibilityHelper=require(a95_0x5771ce(0x122)),globals=require(a95_0x5771ce(0xac)),scripts=require(a95_0x5771ce(0x12a)),PerformanceTester=require(a95_0x5771ce(0xf7)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a95_0x5771ce(0x6a)),BrowserstackCLI=require(a95_0x5771ce(0x73));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0x5771ce(0xe4));}catch(a95_0x11a483){logger[a95_0x5771ce(0xcb)]('Playwright\x20accessibility\x20helper\x20not\x20available');}const a95_0xaba48e={};a95_0xaba48e[a95_0x5771ce(0x10b)]=0x1,a95_0xaba48e[a95_0x5771ce(0x7f)]=0x7530,a95_0xaba48e[a95_0x5771ce(0x126)]=0x7530;function a95_0x5397(_0x26149f,_0x1e9107){const _0x3ccc1a=a95_0x3ccc();return a95_0x5397=function(_0x5397d5,_0x119629){_0x5397d5=_0x5397d5-0x68;let _0x2a12f5=_0x3ccc1a[_0x5397d5];return _0x2a12f5;},a95_0x5397(_0x26149f,_0x1e9107);}function a95_0x3ccc(){const _0x25baec=['performComprehensiveAccessibilityScanWithRetry','NoEHK','getAccessibilityModule','AhKUK','../performance/constants','AxhUC','saveAccessibilityResultsWithRetry','HQjpb','unknown','getAccessibilityResultsSummary','mzYAm','scanSucceeded','lwtHC','../../bin/v2/browserstackCLI','isPlaywright','message','tpHSC','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','eNFte','getCurrentUrl','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','IDhHG','accessibilityPlatform','undefined','itGJA','timeoutMs','getId','TKySu','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','getSession','manage','selenium-webdriver','154007PszzbZ','updateRetryConfig','mhNnL','NLzZH','HgiDn','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','vokOk',').\x20Last\x20error:\x20','jQaod','PGdTL','stringify','CuUla','evaluate','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','tbsgm','__workerDetails','JyWfp','timeouts','OTrTS','reason','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','nINED','\x20for\x20method:\x20','setScriptTimeout','constructor','performScan','Scan\x20attempt\x20','value','ms\x20using\x20timeouts()\x20API','isAccessibilityAutomationSession','measureWrapper','getGlobal','upxEq',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','ZXsKV','4542896jdldcb','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','wtHec','../globals','54783gBFcqo','buQJc','\x20failed\x20for\x20method:\x20','results','svIkA','AzGhf','yfIVk','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','zKYFL','executeAsyncScript','ms\x20using\x20setTimeouts\x20API','race','MycIT','NqpUz','performScanWithRetry','isPlaywrightPage','getAccessibilityResults','bstackA11yShouldScan','Comprehensive\x20accessibility\x20scan\x20failed\x20(','GAChH','21665EnmIBT','isRunning','YvUEB','Page','koacY','function',').\x20Error:\x20','OcxUC','iiRfC','xulwu','debug','paZrl','browserStackEvaluate','AqsRq','page','jDRRL','\x20completed\x20successfully.','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','error','KXUGT','yVvaG','setSeleniumScriptTimeout','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','Accessibility\x20results\x20retrieval\x20attempt\x20','Accessibility\x20scan\x20attempt\x20','JxEvO','zzZQY',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','115408kTxwvK','\x20-\x20not\x20applicable','Skipping\x20timeout\x20setting\x20for\x20','browserstackSessionName','playwright-page','accessibilityConfig','getRetryConfig','../../bin/playwright/accessibility-helper','868780mmPUYo','jHgSV','aWiOC','warn','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','Accessibility\x20results\x20save\x20attempt\x20','JUHiY','scannerProcessingTimeout','winstonLogger','summary','bApus','txBfo','util','wBSaf','lSABg','unknown_method','fulfilled','setPlaywrightScriptTimeout','../performance/performance-tester','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','KjxOM','info','OUnxf','33wPuZwh','ZYMbE','Unknown\x20driver/page\x20type:\x20','scIEf','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','env','rejected','MtsGg','xkwSb','isSeleniumDriver','name','cdJPf','Accessibility\x20retry\x20configuration\x20updated:\x20','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','maxRetries','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','goto','setTimeouts',')\x20with\x20error:\x20','max','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','url','\x20failed\x20(','TZUSz','isAccessibilityPlatform','ZZqwB','Playwright','Operation\x20timed\x20out\x20after\x20','currentTest','getCapabilities','tmvSi','wJJVF','Unknown\x20error','type','776RyQAhE','getInstance','./helper','qvpMI','):\x20','cTDjM','defaultTimeoutMs','JXPyw','550YSpQdX','XmNFn','./scripts','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','gfTxH','wwlnJ','setDefaultTimeout','YErkW','getAccessibilityResultsWithRetry','132nYNfIn','status','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','yNUcB','ustwM','145809EYzMzf','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','zJtzC','uWwHZ'];a95_0x3ccc=function(){return _0x25baec;};return a95_0x3ccc();}const RETRY_CONFIG=a95_0xaba48e,setConfigTimeout=(_0x583b58,_0x2eb341=null)=>{const _0x387e20=a95_0x5771ce,_0xcdc3e8={'MtsGg':function(_0x122a6b,_0x49b9a8){return _0x122a6b===_0x49b9a8;},'wJJVF':_0x387e20(0xec),'ZXsKV':function(_0x52788f,_0x344bc5){return _0x52788f===_0x344bc5;},'hVbAy':function(_0x1eed84,_0x3a92cf){return _0x1eed84*_0x3a92cf;},'HQjpb':function(_0x5edfa7,_0xf11b70){return _0x5edfa7(_0xf11b70);},'JSgsm':function(_0x5a090d,_0x437134){return _0x5a090d(_0x437134);}};if(BrowserstackCLI[_0x387e20(0x121)]()[_0x387e20(0xc2)]()&&BrowserstackCLI[_0x387e20(0x121)]()[_0x387e20(0x68)]()){const _0x55801e=BrowserstackCLI[_0x387e20(0x121)]()[_0x387e20(0x68)]()[_0x387e20(0xe2)],_0x537235=_0x55801e['options']['capabilitiesList']||[];for(const _0x4adc95 of _0x537235){_0xcdc3e8[_0x387e20(0x104)](_0x4adc95['name'],_0xcdc3e8[_0x387e20(0x11d)])&&_0xcdc3e8[_0x387e20(0xa8)](_0x2eb341,null)&&(_0x583b58['timeoutMs']=_0xcdc3e8['hVbAy'](_0xcdc3e8[_0x387e20(0x6d)](parseInt,_0x4adc95['value']),0x3e8));}}else process['env'][_0x387e20(0x10c)]&&(_0x583b58[_0x387e20(0x7f)]=_0xcdc3e8['hVbAy'](_0xcdc3e8['JSgsm'](parseInt,process[_0x387e20(0x102)][_0x387e20(0x10c)]),0x3e8));},detectDriverType=_0x2b3a45=>{const _0x6be682=a95_0x5771ce,_0x1208e2={};_0x1208e2['AqsRq']=_0x6be682(0x6e),_0x1208e2['wwlnJ']=function(_0x475dc2,_0xf1e997){return _0x475dc2===_0xf1e997;},_0x1208e2[_0x6be682(0xe6)]=_0x6be682(0xc6),_0x1208e2['SbUYQ']=function(_0x3d1183,_0x2c2f97){return _0x3d1183===_0x2c2f97;},_0x1208e2[_0x6be682(0x88)]=function(_0x861752,_0xe232e2){return _0x861752===_0xe232e2;},_0x1208e2[_0x6be682(0xca)]=_0x6be682(0xe1),_0x1208e2[_0x6be682(0x9b)]=function(_0xe61396,_0x113f08){return _0xe61396===_0x113f08;},_0x1208e2[_0x6be682(0x70)]=_0x6be682(0x85),_0x1208e2[_0x6be682(0x81)]=function(_0x244e0b,_0x4cd884){return _0x244e0b===_0x4cd884;},_0x1208e2[_0x6be682(0x7b)]=_0x6be682(0xc4),_0x1208e2[_0x6be682(0x72)]='WebDriver',_0x1208e2[_0x6be682(0x12f)]=function(_0x29a6bd,_0x57e018){return _0x29a6bd===_0x57e018;},_0x1208e2[_0x6be682(0x135)]=_0x6be682(0x118),_0x1208e2[_0x6be682(0xc8)]='playwright-codecept-driver',_0x1208e2['eNFte']=function(_0x2f6224,_0x395203){return _0x2f6224||_0x395203;},_0x1208e2[_0x6be682(0xf2)]=_0x6be682(0x7d);const _0x35b9c0=_0x1208e2;if(!_0x2b3a45){const _0x501858={};return _0x501858[_0x6be682(0x74)]=![],_0x501858[_0x6be682(0x11f)]=_0x35b9c0[_0x6be682(0xce)],_0x501858;}if(_0x35b9c0[_0x6be682(0x12d)](typeof _0x2b3a45[_0x6be682(0x92)],_0x35b9c0[_0x6be682(0xe6)])&&_0x35b9c0['SbUYQ'](typeof _0x2b3a45['url'],_0x35b9c0['jHgSV'])&&_0x35b9c0[_0x6be682(0x88)](typeof _0x2b3a45[_0x6be682(0x10d)],_0x35b9c0['jHgSV'])){const _0x12f862={};return _0x12f862['isPlaywright']=!![],_0x12f862[_0x6be682(0x11f)]=_0x35b9c0[_0x6be682(0xca)],_0x12f862;}if(_0x35b9c0['nINED'](typeof _0x2b3a45['executeAsyncScript'],_0x35b9c0[_0x6be682(0xe6)])&&_0x35b9c0[_0x6be682(0x9b)](typeof _0x2b3a45[_0x6be682(0x11b)],_0x35b9c0[_0x6be682(0xe6)])){const _0x4fec43={};return _0x4fec43['isPlaywright']=![],_0x4fec43[_0x6be682(0x11f)]=_0x35b9c0[_0x6be682(0x70)],_0x4fec43;}const _0x13e7fd=_0x2b3a45[_0x6be682(0x9e)]?.[_0x6be682(0x107)];if(_0x35b9c0['TKySu'](_0x13e7fd,_0x35b9c0[_0x6be682(0x7b)])){const _0x339e49={};return _0x339e49['isPlaywright']=!![],_0x339e49['type']=_0x35b9c0[_0x6be682(0xca)],_0x339e49;}if(_0x35b9c0['wwlnJ'](_0x13e7fd,_0x35b9c0[_0x6be682(0x72)])){const _0x1c618c={};return _0x1c618c[_0x6be682(0x74)]=![],_0x1c618c[_0x6be682(0x11f)]=_0x35b9c0[_0x6be682(0x70)],_0x1c618c;}if(_0x35b9c0[_0x6be682(0x12f)](_0x13e7fd,_0x35b9c0['ustwM'])){const _0x1e3281={};return _0x1e3281[_0x6be682(0x74)]=!![],_0x1e3281['type']=_0x35b9c0[_0x6be682(0xc8)],_0x1e3281;}logger['warn'](_0x6be682(0xfe)+_0x35b9c0[_0x6be682(0x78)](_0x13e7fd,_0x35b9c0[_0x6be682(0xf2)]));const _0xc94c68={};return _0xc94c68[_0x6be682(0x74)]=![],_0xc94c68[_0x6be682(0x11f)]=_0x35b9c0['AqsRq'],_0xc94c68;},withTimeout=(_0x59a631,_0x462279)=>{const _0x4a015e=a95_0x5771ce;return Promise[_0x4a015e(0xb8)]([_0x59a631,new Promise((_0x9b5b4,_0x5beecd)=>setTimeout(()=>_0x5beecd(new Error(_0x4a015e(0x119)+_0x462279+'ms')),_0x462279))]);};exports['performScanWithRetry']=async(_0x24c481,_0x50a7ab=null,_0x3b71f4=null,_0x197962=![],_0x168d7e=null)=>{const _0x11e8dd=a95_0x5771ce,_0xcbe9c6={'QCDSI':function(_0x511e91,_0x5e8fc1){return _0x511e91&&_0x5e8fc1;},'vokOk':function(_0x250102,_0x13bcc4,_0x76ba4e){return _0x250102(_0x13bcc4,_0x76ba4e);},'iiRfC':function(_0x2fb66a,_0x550997){return _0x2fb66a===_0x550997;},'AhKUK':'playwright-codecept-driver','yVvaG':function(_0x447ede,_0x31d188,_0x2ff5fb){return _0x447ede(_0x31d188,_0x2ff5fb);},'jDRRL':function(_0x3f8bfa,_0x428269){return _0x3f8bfa(_0x428269);},'zKYFL':function(_0x28a628,_0x5b090b){return _0x28a628||_0x5b090b;},'aWiOC':function(_0x199b6f,_0x4d935a){return _0x199b6f===_0x4d935a;},'yfIVk':_0x11e8dd(0x116),'WIUNs':function(_0x2e4494,_0x238e95){return _0x2e4494!==_0x238e95;},'JxEvO':_0x11e8dd(0xbe),'tbsgm':function(_0x25bd30,_0x4c0343){return _0x25bd30===_0x4c0343;},'XmNFn':'[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','wSRkE':_0x11e8dd(0xf4),'WDqgw':function(_0x1ac55c,_0x464f5f){return _0x1ac55c===_0x464f5f;},'tmvSi':_0x11e8dd(0xc6),'AzGhf':function(_0x1fa09b,_0x18b563){return _0x1fa09b===_0x18b563;},'xkwSb':function(_0x4b3479,_0x4ec11c){return _0x4b3479<=_0x4ec11c;},'MycIT':function(_0xbfcb07,_0x6ebd63){return _0xbfcb07+_0x6ebd63;},'rsvDn':'Unknown\x20error'},{isPlaywright:_0x4565ac,type:_0x291637}=_0xcbe9c6[_0x11e8dd(0xd0)](detectDriverType,_0x24c481),_0x37514e=_0x197962?_0xcbe9c6[_0x11e8dd(0xb5)](_0x168d7e,{}):global['bstackA11yScanOptions']||{},_0x51a5ec=_0x4565ac?global['accessibilityPlatform']&&(_0x197962||_0xcbe9c6[_0x11e8dd(0xe7)](global[_0x11e8dd(0xbe)],!![])):accessibilityHelper[_0x11e8dd(0xa3)]()&&globals[_0x11e8dd(0xa5)](_0xcbe9c6[_0x11e8dd(0xb3)])&&(_0x197962||_0xcbe9c6['WIUNs'](globals['getGlobal'](_0xcbe9c6['JxEvO']),![]));if(!_0x51a5ec)return _0x4565ac&&global['accessibilityPlatform']&&_0xcbe9c6['iiRfC'](global[_0x11e8dd(0xbe)],![])||!_0x4565ac&&globals[_0x11e8dd(0xa5)](_0xcbe9c6[_0x11e8dd(0xb3)])&&_0xcbe9c6[_0x11e8dd(0x94)](globals[_0x11e8dd(0xa5)](_0xcbe9c6[_0x11e8dd(0xda)]),![])?logger[_0x11e8dd(0xcb)](_0xcbe9c6[_0x11e8dd(0x129)]):logger[_0x11e8dd(0xe8)](_0x11e8dd(0x8b)+_0x291637+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x318a44=_0x50a7ab||global[_0x11e8dd(0xe0)]||_0xcbe9c6['wSRkE'];let _0x7a0f39=null;const _0x490550={'testhub_btcer_uuid':global[_0x11e8dd(0x95)]?.[_0x11e8dd(0x11a)]?.['id'],'url':_0xcbe9c6['WDqgw'](typeof _0x24c481['url'],_0xcbe9c6[_0x11e8dd(0x11c)])?await _0x24c481[_0x11e8dd(0x113)]():_0xcbe9c6[_0x11e8dd(0xc9)](typeof _0x24c481[_0x11e8dd(0x79)],_0xcbe9c6['tmvSi'])?await _0x24c481[_0x11e8dd(0x79)]():'','automate_session_id':_0xcbe9c6[_0x11e8dd(0xb2)](typeof _0x24c481[_0x11e8dd(0x83)],_0xcbe9c6['tmvSi'])?(await _0x24c481[_0x11e8dd(0x83)]())[_0x11e8dd(0x80)]():''};for(let _0x45b46f=0x1;_0xcbe9c6[_0x11e8dd(0x105)](_0x45b46f,_0xcbe9c6[_0x11e8dd(0xb9)](RETRY_CONFIG['maxRetries'],0x1));_0x45b46f++){try{return logger['debug'](_0x11e8dd(0xd9)+_0x45b46f+'/'+_0xcbe9c6[_0x11e8dd(0xb9)](RETRY_CONFIG[_0x11e8dd(0x10b)],0x1)+_0x11e8dd(0x9c)+_0x318a44+'\x20('+_0x291637+')'),await PerformanceTester[_0x11e8dd(0xa4)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4d15fd=_0x11e8dd;let _0x5bc6f3;if(_0xcbe9c6['QCDSI'](_0x4565ac,playwrightA11yHelper)){_0xcbe9c6[_0x4d15fd(0x8c)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x24c481,RETRY_CONFIG['timeoutMs']);let _0x23b57e=_0x24c481;_0xcbe9c6[_0x4d15fd(0xc9)](_0x291637,_0xcbe9c6[_0x4d15fd(0x69)])&&(_0x23b57e=_0x24c481[_0x4d15fd(0xcf)]),_0x5bc6f3=await _0xcbe9c6[_0x4d15fd(0x8c)](withTimeout,playwrightA11yHelper[_0x4d15fd(0x9f)](_0x23b57e,_0x318a44,_0x37514e),RETRY_CONFIG[_0x4d15fd(0x7f)]),await exports['setPlaywrightScriptTimeout'](_0x24c481,RETRY_CONFIG[_0x4d15fd(0x126)]);}else await exports[_0x4d15fd(0xd6)](_0x24c481,RETRY_CONFIG[_0x4d15fd(0x7f)]),_0x5bc6f3=await _0xcbe9c6[_0x4d15fd(0xd5)](withTimeout,accessibilityHelper[_0x4d15fd(0x9f)](_0x24c481,_0x318a44,_0x197962,_0x37514e),RETRY_CONFIG['timeoutMs']),await exports[_0x4d15fd(0xd6)](_0x24c481,RETRY_CONFIG[_0x4d15fd(0x126)]);logger[_0x4d15fd(0xcb)](_0x4d15fd(0xa0)+_0x45b46f+_0x4d15fd(0xd1));},{'command':_0x318a44,..._0x490550})(),logger[_0x11e8dd(0xfa)](_0x11e8dd(0xf8)+_0x45b46f+'.'),!![];}catch(_0x169ef8){_0x7a0f39=_0x169ef8,logger[_0x11e8dd(0xcb)](_0x11e8dd(0xd9)+_0x45b46f+_0x11e8dd(0xaf)+_0x318a44+'\x20('+_0x291637+_0x11e8dd(0xc7)+_0x169ef8[_0x11e8dd(0x75)]);}}return logger['error'](_0x11e8dd(0xaa)+_0x318a44+'\x20('+_0x291637+_0x11e8dd(0x10f)+(_0x7a0f39?.[_0x11e8dd(0x75)]||_0xcbe9c6['rsvDn'])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x4cd7f3,_0x4e43e0)=>{const _0x5de1c7=a95_0x5771ce,_0x469bff={'txBfo':function(_0x3302c4,_0x547af5){return _0x3302c4(_0x547af5);},'OUnxf':'isAccessibilityPlatform','EmHxX':function(_0x54a6ee,_0x5438c9){return _0x54a6ee<=_0x5438c9;},'KjxOM':function(_0x1f58e1,_0x241357){return _0x1f58e1+_0x241357;},'NqpUz':function(_0x1ce8f7,_0x260854){return _0x1ce8f7+_0x260854;},'bApus':function(_0x28526d,_0x3c5cee){return _0x28526d&&_0x3c5cee;},'uWwHZ':function(_0x5406c5,_0x4a2b3a,_0x41b4d7){return _0x5406c5(_0x4a2b3a,_0x41b4d7);},'PGdTL':function(_0x499e8f,_0x5af2ec,_0x29151d){return _0x499e8f(_0x5af2ec,_0x29151d);},'koacY':_0x5de1c7(0x11e)},{isPlaywright:_0x70353b,type:_0x6c2718}=_0x469bff[_0x5de1c7(0xf0)](detectDriverType,_0x4cd7f3),_0x3fc1ad=_0x70353b?_0x4e43e0[_0x5de1c7(0x7c)]:accessibilityHelper[_0x5de1c7(0xa3)]()&&globals['getGlobal'](_0x469bff[_0x5de1c7(0xfb)]);if(!_0x3fc1ad)return logger[_0x5de1c7(0xe8)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x6c2718+_0x5de1c7(0xdc)),[];let _0x47c83b=null;for(let _0x476956=0x1;_0x469bff['EmHxX'](_0x476956,_0x469bff[_0x5de1c7(0xf9)](RETRY_CONFIG['maxRetries'],0x1));_0x476956++){try{logger['debug'](_0x5de1c7(0xd8)+_0x476956+'/'+_0x469bff[_0x5de1c7(0xba)](RETRY_CONFIG[_0x5de1c7(0x10b)],0x1)+'\x20('+_0x6c2718+')');let _0x48f58b;return _0x469bff[_0x5de1c7(0xef)](_0x70353b,playwrightA11yHelper)?(_0x469bff[_0x5de1c7(0x139)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x5de1c7(0xf6)](_0x4cd7f3,RETRY_CONFIG['timeoutMs']),_0x48f58b=await _0x469bff[_0x5de1c7(0x139)](withTimeout,playwrightA11yHelper['getAccessibilityResults'](_0x4cd7f3),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x4cd7f3,RETRY_CONFIG[_0x5de1c7(0x126)])):(await exports[_0x5de1c7(0xd6)](_0x4cd7f3,RETRY_CONFIG[_0x5de1c7(0x7f)]),_0x48f58b=await _0x469bff[_0x5de1c7(0x8f)](withTimeout,accessibilityHelper[_0x5de1c7(0xbd)](_0x4cd7f3,_0x4e43e0),RETRY_CONFIG[_0x5de1c7(0x7f)]),await exports[_0x5de1c7(0xd6)](_0x4cd7f3,RETRY_CONFIG[_0x5de1c7(0x126)])),logger[_0x5de1c7(0xfa)](_0x5de1c7(0x137)+_0x476956+'\x20('+_0x6c2718+')'),_0x48f58b;}catch(_0x10f8a2){_0x47c83b=_0x10f8a2,logger['warn'](_0x5de1c7(0xd8)+_0x476956+_0x5de1c7(0x114)+_0x6c2718+').\x20Error:\x20'+_0x10f8a2[_0x5de1c7(0x75)]);}}return logger[_0x5de1c7(0xd3)](_0x5de1c7(0x111)+_0x6c2718+_0x5de1c7(0x8d)+(_0x47c83b?.[_0x5de1c7(0x75)]||_0x469bff[_0x5de1c7(0xc5)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x17cfd4,_0x11eeb0)=>{const _0x33a79f=a95_0x5771ce,_0x5c7142={'zzZQY':function(_0x31a279,_0x641f8c){return _0x31a279(_0x641f8c);},'vAhsY':_0x33a79f(0x116),'AxhUC':function(_0x5bd12e,_0x10679d){return _0x5bd12e<=_0x10679d;},'gfTxH':function(_0x496a43,_0x589e13){return _0x496a43+_0x589e13;},'ayWjh':function(_0x4d2405,_0x354120){return _0x4d2405&&_0x354120;},'TZUSz':function(_0x38b2a9,_0x646503,_0x4e51e5){return _0x38b2a9(_0x646503,_0x4e51e5);},'JUHiY':function(_0x4e30cb,_0x44ea47,_0x1abbc9){return _0x4e30cb(_0x44ea47,_0x1abbc9);},'NLzZH':_0x33a79f(0x11e)},{isPlaywright:_0x145196,type:_0x559a79}=_0x5c7142[_0x33a79f(0xdb)](detectDriverType,_0x17cfd4),_0xb36a07=_0x145196?_0x11eeb0[_0x33a79f(0x7c)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x33a79f(0xa5)](_0x5c7142['vAhsY']);if(!_0xb36a07)return logger[_0x33a79f(0xe8)](_0x33a79f(0x8b)+_0x559a79+_0x33a79f(0xa7)),{};let _0x3b1b04=null;for(let _0x3e86d8=0x1;_0x5c7142[_0x33a79f(0x6b)](_0x3e86d8,_0x5c7142[_0x33a79f(0x12c)](RETRY_CONFIG[_0x33a79f(0x10b)],0x1));_0x3e86d8++){try{logger[_0x33a79f(0xcb)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x3e86d8+'/'+_0x5c7142[_0x33a79f(0x12c)](RETRY_CONFIG[_0x33a79f(0x10b)],0x1)+'\x20('+_0x559a79+')');let _0x1520a6;return _0x5c7142['ayWjh'](_0x145196,playwrightA11yHelper)?(_0x5c7142[_0x33a79f(0x115)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x17cfd4,RETRY_CONFIG[_0x33a79f(0x7f)]),_0x1520a6=await _0x5c7142['TZUSz'](withTimeout,playwrightA11yHelper[_0x33a79f(0x6f)](_0x17cfd4),RETRY_CONFIG[_0x33a79f(0x7f)]),await exports['setPlaywrightScriptTimeout'](_0x17cfd4,RETRY_CONFIG['defaultTimeoutMs'])):(await exports['setSeleniumScriptTimeout'](_0x17cfd4,RETRY_CONFIG[_0x33a79f(0x7f)]),_0x1520a6=await _0x5c7142[_0x33a79f(0xeb)](withTimeout,accessibilityHelper[_0x33a79f(0x6f)](_0x17cfd4,_0x11eeb0),RETRY_CONFIG[_0x33a79f(0x7f)]),await exports[_0x33a79f(0xd6)](_0x17cfd4,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x33a79f(0xfa)](_0x33a79f(0x93)+_0x3e86d8+'\x20('+_0x559a79+')'),_0x1520a6;}catch(_0x13f60b){_0x3b1b04=_0x13f60b,logger[_0x33a79f(0xe8)](_0x33a79f(0x101)+_0x3e86d8+_0x33a79f(0x114)+_0x559a79+_0x33a79f(0xc7)+_0x13f60b[_0x33a79f(0x75)]);}}return logger[_0x33a79f(0xd3)]('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x559a79+_0x33a79f(0x8d)+(_0x3b1b04?.['message']||_0x5c7142[_0x33a79f(0x89)])),{};},exports[a95_0x5771ce(0x13a)]=async(_0x581280,_0x281347,_0x258cf8=null)=>{const _0x572ba1=a95_0x5771ce,_0x36b579={'SQktS':function(_0x139356,_0xba26b1){return _0x139356(_0xba26b1);},'paZrl':function(_0x39d885,_0x4860a6){return _0x39d885===_0x4860a6;},'yNUcB':_0x572ba1(0xf5),'CuUla':function(_0x1ee8a9,_0x7a24a7){return _0x1ee8a9===_0x7a24a7;},'nyOXH':function(_0x237ec9,_0x81775){return _0x237ec9===_0x81775;},'JXPyw':_0x572ba1(0x103),'zJtzC':_0x572ba1(0x7a)},{isPlaywright:_0x361663,type:_0x4c8e63}=_0x36b579['SQktS'](detectDriverType,_0x581280),_0x3b9eae={};_0x3b9eae[_0x572ba1(0x71)]=![],_0x3b9eae['results']=[],_0x3b9eae[_0x572ba1(0xee)]={},_0x3b9eae[_0x572ba1(0xd3)]=null,_0x3b9eae['driverType']=_0x4c8e63;const _0x2c82c2=_0x3b9eae;try{_0x2c82c2[_0x572ba1(0x71)]=await exports[_0x572ba1(0xbb)](_0x581280,_0x258cf8);if(_0x2c82c2[_0x572ba1(0x71)]){const [_0x4b59bd,_0x57fcee]=await Promise['allSettled']([exports[_0x572ba1(0x130)](_0x581280,_0x281347),exports['getAccessibilityResultsSummaryWithRetry'](_0x581280,_0x281347)]);_0x2c82c2[_0x572ba1(0xb0)]=_0x36b579[_0x572ba1(0xcc)](_0x4b59bd[_0x572ba1(0x132)],_0x36b579[_0x572ba1(0x134)])?_0x4b59bd['value']:[],_0x2c82c2['summary']=_0x36b579['CuUla'](_0x57fcee[_0x572ba1(0x132)],_0x36b579[_0x572ba1(0x134)])?_0x57fcee[_0x572ba1(0xa1)]:{},_0x36b579['nyOXH'](_0x4b59bd[_0x572ba1(0x132)],_0x36b579[_0x572ba1(0x127)])&&logger[_0x572ba1(0xe8)](_0x572ba1(0xb4)+_0x4c8e63+_0x572ba1(0x124)+_0x4b59bd['reason']?.[_0x572ba1(0x75)]),_0x36b579[_0x572ba1(0x91)](_0x57fcee[_0x572ba1(0x132)],_0x36b579[_0x572ba1(0x127)])&&logger[_0x572ba1(0xe8)](_0x572ba1(0x100)+_0x4c8e63+'):\x20'+_0x57fcee[_0x572ba1(0x99)]?.[_0x572ba1(0x75)]);}}catch(_0x50e244){_0x2c82c2['error']=_0x50e244[_0x572ba1(0x75)]||_0x36b579[_0x572ba1(0x138)],logger[_0x572ba1(0xd3)](_0x572ba1(0xbf)+_0x4c8e63+'):\x20'+_0x2c82c2['error']);}return _0x2c82c2;},exports[a95_0x5771ce(0x87)]=_0x58af9b=>{const _0x3032ac=a95_0x5771ce,_0xa711bc={};_0xa711bc[_0x3032ac(0x13b)]=function(_0x2aa2d5,_0x5156fd){return _0x2aa2d5!==_0x5156fd;};const _0x20a8fa=_0xa711bc;_0x20a8fa[_0x3032ac(0x13b)](_0x58af9b[_0x3032ac(0x10b)],undefined)&&(RETRY_CONFIG['maxRetries']=Math[_0x3032ac(0x110)](0x0,_0x58af9b[_0x3032ac(0x10b)])),_0x20a8fa[_0x3032ac(0x13b)](_0x58af9b[_0x3032ac(0x7f)],undefined)&&(RETRY_CONFIG[_0x3032ac(0x7f)]=Math[_0x3032ac(0x110)](0x3e8,_0x58af9b[_0x3032ac(0x7f)])),logger[_0x3032ac(0xcb)](_0x3032ac(0x109)+JSON[_0x3032ac(0x90)](RETRY_CONFIG));},exports[a95_0x5771ce(0xe3)]=()=>{const _0x49c936={...RETRY_CONFIG};return _0x49c936;},exports[a95_0x5771ce(0xbc)]=_0x32edfe=>{const _0x1ef5fa=a95_0x5771ce,_0x529559={'ZZqwB':function(_0x1e965d,_0x114f67){return _0x1e965d(_0x114f67);}};return _0x529559[_0x1ef5fa(0x117)](detectDriverType,_0x32edfe)[_0x1ef5fa(0x74)];},exports[a95_0x5771ce(0x106)]=_0x1b2862=>{const _0x383f7f=a95_0x5771ce,_0x4e0555={'TQkkj':function(_0x3b0a5c,_0x5e1452){return _0x3b0a5c(_0x5e1452);},'YvUEB':function(_0x218bf8,_0x37f0a5){return _0x218bf8===_0x37f0a5;},'OTrTS':_0x383f7f(0x85)},{isPlaywright:_0x148070,type:_0xe28f6c}=_0x4e0555['TQkkj'](detectDriverType,_0x1b2862);return!_0x148070&&_0x4e0555[_0x383f7f(0xc3)](_0xe28f6c,_0x4e0555[_0x383f7f(0x98)]);},exports['setPlaywrightScriptTimeout']=async(_0x10126c,_0x538752=null)=>{const _0x53a183=a95_0x5771ce,_0x3d4351={'tpHSC':function(_0x1d52b2,_0xca4159){return _0x1d52b2(_0xca4159);},'wtHec':function(_0xe53c1d,_0x1ec3f5){return _0xe53c1d===_0x1ec3f5;},'jQaod':_0x53a183(0xc6)},{isPlaywright:_0x33620b,type:_0x592633}=_0x3d4351[_0x53a183(0x76)](detectDriverType,_0x10126c);if(!_0x33620b)return logger[_0x53a183(0xcb)](_0x53a183(0xdf)+_0x592633+_0x53a183(0xde)),!![];const _0x1ae341=_0x538752||RETRY_CONFIG[_0x53a183(0x126)];try{return _0x10126c&&_0x3d4351[_0x53a183(0xab)](typeof _0x10126c[_0x53a183(0x12e)],_0x3d4351[_0x53a183(0x8e)])&&(await _0x10126c[_0x53a183(0x12e)](_0x1ae341),logger['debug'](_0x53a183(0x12b)+_0x1ae341+'ms')),!![];}catch(_0x427063){return logger[_0x53a183(0xe8)](_0x53a183(0xe9)+_0x427063[_0x53a183(0x75)]),![];}},exports[a95_0x5771ce(0xd6)]=async(_0xfb497a,_0x19d542=null)=>{const _0x5c7781=a95_0x5771ce,_0x2e97c9={};_0x2e97c9[_0x5c7781(0x7e)]=_0x5c7781(0x133),_0x2e97c9[_0x5c7781(0x96)]=function(_0x457b66,_0x3eed79){return _0x457b66===_0x3eed79;},_0x2e97c9[_0x5c7781(0x108)]=_0x5c7781(0xc6),_0x2e97c9[_0x5c7781(0xb1)]=function(_0x4c21c1,_0x8e4308){return _0x4c21c1===_0x8e4308;},_0x2e97c9[_0x5c7781(0xae)]=_0x5c7781(0x10a),_0x2e97c9[_0x5c7781(0x8a)]=_0x5c7781(0x77);const _0xb36bf8=_0x2e97c9;if(!exports['isSeleniumDriver'](_0xfb497a))return logger[_0x5c7781(0xe8)](_0xb36bf8[_0x5c7781(0x7e)]),![];const _0x51636b=_0x19d542||RETRY_CONFIG[_0x5c7781(0x126)];try{if(_0xfb497a&&_0xb36bf8[_0x5c7781(0x96)](typeof _0xfb497a[_0x5c7781(0x84)],_0xb36bf8[_0x5c7781(0x108)])){const _0x310c2e=_0xfb497a[_0x5c7781(0x84)]();if(_0x310c2e&&_0xb36bf8[_0x5c7781(0x96)](typeof _0x310c2e[_0x5c7781(0x97)],_0xb36bf8[_0x5c7781(0x108)]))await _0x310c2e[_0x5c7781(0x97)]()[_0x5c7781(0x9d)](_0x51636b),logger['debug']('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x51636b+_0x5c7781(0xa2));else{if(_0x310c2e&&_0xb36bf8[_0x5c7781(0xb1)](typeof _0x310c2e[_0x5c7781(0x10e)],_0xb36bf8['cdJPf'])){const _0x283eec={};_0x283eec['script']=_0x51636b,await _0x310c2e[_0x5c7781(0x10e)](_0x283eec),logger['debug']('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x51636b+_0x5c7781(0xb7));}else{if(_0x310c2e&&_0xb36bf8[_0x5c7781(0xb1)](typeof _0x310c2e['setScriptTimeout'],_0xb36bf8['cdJPf']))await _0x310c2e[_0x5c7781(0x9d)](_0x51636b),logger[_0x5c7781(0xcb)](_0x5c7781(0x9a)+_0x51636b+'ms\x20using\x20setScriptTimeout\x20API');else return logger[_0x5c7781(0xcb)](_0xb36bf8['buQJc']),!![];}}}else return logger['debug'](_0xb36bf8['HgiDn']),!![];return!![];}catch(_0x90460f){return logger[_0x5c7781(0xe8)](_0x5c7781(0x82)+_0x90460f[_0x5c7781(0x75)]),![];}},exports[a95_0x5771ce(0x6c)]=async(_0x17d0d,_0x355caf)=>{const _0x4ca988=a95_0x5771ce,_0x31befb={'upxEq':function(_0x36802f,_0xfd0c33){return _0x36802f(_0xfd0c33);},'lSABg':'isAccessibilityPlatform','GAChH':function(_0x436c9d,_0x53e69b){return _0x436c9d<=_0x53e69b;},'ZYMbE':function(_0x41b4e0,_0x4f76ee){return _0x41b4e0+_0x4f76ee;},'qvpMI':function(_0x3a8ab4,_0x5dc614){return _0x3a8ab4&&_0x5dc614;},'KXUGT':function(_0x5c8527,_0x1a1bfd,_0x5c7dc9){return _0x5c8527(_0x1a1bfd,_0x5c7dc9);},'scIEf':function(_0x1a5b8c,_0x35f0de,_0x40f75d){return _0x1a5b8c(_0x35f0de,_0x40f75d);},'cTDjM':'Unknown\x20error'},{isPlaywright:_0x3ede3c,type:_0x560d5c}=_0x31befb[_0x4ca988(0xa6)](detectDriverType,_0x17d0d),_0x40dac2=_0x3ede3c?global[_0x4ca988(0x7c)]:accessibilityHelper[_0x4ca988(0xa3)]()&&globals[_0x4ca988(0xa5)](_0x31befb[_0x4ca988(0xf3)]);if(!_0x40dac2)return logger[_0x4ca988(0xe8)](_0x4ca988(0x8b)+_0x560d5c+_0x4ca988(0x112)),![];let _0x9585c4=null;for(let _0x32bd81=0x1;_0x31befb[_0x4ca988(0xc0)](_0x32bd81,_0x31befb['ZYMbE'](RETRY_CONFIG[_0x4ca988(0x10b)],0x1));_0x32bd81++){try{return logger[_0x4ca988(0xcb)](_0x4ca988(0xea)+_0x32bd81+'/'+_0x31befb[_0x4ca988(0xfd)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x560d5c+')'),_0x31befb[_0x4ca988(0x123)](_0x3ede3c,playwrightA11yHelper)?(_0x31befb[_0x4ca988(0xd4)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4ca988(0xf6)](_0x17d0d,RETRY_CONFIG[_0x4ca988(0x7f)]),await _0x31befb[_0x4ca988(0xff)](withTimeout,playwrightA11yHelper[_0x4ca988(0xcd)](_0x17d0d,scripts['saveTestResults'],_0x355caf),RETRY_CONFIG[_0x4ca988(0x7f)]),await exports['setPlaywrightScriptTimeout'](_0x17d0d,RETRY_CONFIG[_0x4ca988(0x126)])):(await exports[_0x4ca988(0xd6)](_0x17d0d,RETRY_CONFIG[_0x4ca988(0x7f)]),await _0x31befb[_0x4ca988(0xd4)](withTimeout,_0x17d0d[_0x4ca988(0xb6)](scripts['saveTestResults'],_0x355caf),RETRY_CONFIG[_0x4ca988(0x7f)]),await exports['setSeleniumScriptTimeout'](_0x17d0d,RETRY_CONFIG[_0x4ca988(0x126)])),logger['info'](_0x4ca988(0xd7)+_0x32bd81+'\x20('+_0x560d5c+')'),!![];}catch(_0x7dc7eb){_0x9585c4=_0x7dc7eb,logger[_0x4ca988(0xe8)](_0x4ca988(0xea)+_0x32bd81+_0x4ca988(0x114)+_0x560d5c+_0x4ca988(0xc7)+_0x7dc7eb['message']);}}return logger['error'](_0x4ca988(0xd2)+_0x560d5c+_0x4ca988(0x8d)+(_0x9585c4?.['message']||_0x31befb[_0x4ca988(0x125)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a96_0x2e35(_0x4f9c26,_0x11d309){var _0x5e3466=a96_0x5e34();return a96_0x2e35=function(_0x2e35a0,_0x4a3ab5){_0x2e35a0=_0x2e35a0-0x81;var _0x1e4f0d=_0x5e3466[_0x2e35a0];return _0x1e4f0d;},a96_0x2e35(_0x4f9c26,_0x11d309);}var a96_0x2559d9=a96_0x2e35;(function(_0x2b7064,_0x37c5ed){var _0xbfd16a=a96_0x2e35,_0x387c1a=_0x2b7064();while(!![]){try{var _0x46087d=parseInt(_0xbfd16a(0x8c))/0x1*(parseInt(_0xbfd16a(0x85))/0x2)+-parseInt(_0xbfd16a(0x84))/0x3*(-parseInt(_0xbfd16a(0x83))/0x4)+-parseInt(_0xbfd16a(0x8e))/0x5*(parseInt(_0xbfd16a(0x8a))/0x6)+-parseInt(_0xbfd16a(0x82))/0x7*(parseInt(_0xbfd16a(0x88))/0x8)+parseInt(_0xbfd16a(0x8b))/0x9*(parseInt(_0xbfd16a(0x86))/0xa)+parseInt(_0xbfd16a(0x8f))/0xb*(parseInt(_0xbfd16a(0x81))/0xc)+-parseInt(_0xbfd16a(0x91))/0xd;if(_0x46087d===_0x37c5ed)break;else _0x387c1a['push'](_0x387c1a['shift']());}catch(_0x3afaa8){_0x387c1a['push'](_0x387c1a['shift']());}}}(a96_0x5e34,0x6ce74),exports[a96_0x2559d9(0x87)]=a96_0x2559d9(0x8d),exports['MINIMUM_BROWSER_VERSION_ACCESSIBILITY']='94',exports[a96_0x2559d9(0x89)]=a96_0x2559d9(0x90));function a96_0x5e34(){var _0x1e3825=['71197vbBGPf','4ToKxZL','1124505LRZVzx','412286GpWnHc','20kYvgLx','API_URL','648GKlMKq','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','24630JdViAs','1695402RzsTeM','4kdmlvy','https://accessibility.browserstack.com/api','500suxlxB','107723XEaUcn','100','4118959eUBaDl','516PIcHLz'];a96_0x5e34=function(){return _0x1e3825;};return a96_0x5e34();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a97_0x96c0(_0x1f9375,_0x1d2745){const _0x3a8a6a=a97_0x3a8a();return a97_0x96c0=function(_0x96c08f,_0x4c2b58){_0x96c08f=_0x96c08f-0x118;let _0xef62e9=_0x3a8a6a[_0x96c08f];return _0xef62e9;},a97_0x96c0(_0x1f9375,_0x1d2745);}const a97_0x42ebb0=a97_0x96c0;(function(_0x26ad80,_0x32689a){const _0x9e1895=a97_0x96c0,_0x27abee=_0x26ad80();while(!![]){try{const _0x46da16=-parseInt(_0x9e1895(0x1ce))/0x1+parseInt(_0x9e1895(0x125))/0x2+-parseInt(_0x9e1895(0x1ca))/0x3*(-parseInt(_0x9e1895(0x174))/0x4)+-parseInt(_0x9e1895(0x188))/0x5+-parseInt(_0x9e1895(0x1e9))/0x6*(-parseInt(_0x9e1895(0x1f0))/0x7)+parseInt(_0x9e1895(0x1cc))/0x8*(-parseInt(_0x9e1895(0x130))/0x9)+-parseInt(_0x9e1895(0x168))/0xa;if(_0x46da16===_0x32689a)break;else _0x27abee['push'](_0x27abee['shift']());}catch(_0x44522f){_0x27abee['push'](_0x27abee['shift']());}}}(a97_0x3a8a,0x7fc0e));const path=require(a97_0x42ebb0(0x19a)),util=require(a97_0x42ebb0(0x1a6)),bsSetupHelper=require('../helper'),logger=require(a97_0x42ebb0(0x1d1))[a97_0x42ebb0(0x143)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x42ebb0(0x1b0)),PerformanceTester=require(a97_0x42ebb0(0x13e)),scripts=require(a97_0x42ebb0(0x1cb)),globals=require(a97_0x42ebb0(0x1d3)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x42ebb0(0x195));function a97_0x3a8a(){const _0x4108c9=['performScan','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','PoAnx','zuTXa','Performing\x20scan\x20before\x20getting\x20results','kCBLD','2052510bCmaqQ','dGEkS','LpEfa','isAccessibilityAutomationSession','browserstack','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','--headless','nestedKeyValue','getResults','isBrowserStackCommandExecutor','Pmrga','null','3832PrBheb','ADbcj','XQinJ','isTrue','json','browserstack_executor','NMiEu','Lzufr','mergeDeep','a11y:start','getTestFrameworkDetails','debug','goog:chromeOptions','HjhOf','parse','status','VuibJ','BUEGg','vAzvM','AFgpq','2087020PhrMFX','excludeTagsInTestingScope','aygXm','plQkJ','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','getCiInfo','knDjA','error','some','Not\x20a\x20Accessibility\x20Session','getPackageVersion','Performing\x20scan\x20before\x20getting\x20results\x20summary','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../performance/constants','platforms','get','ltrrx','SKHzv','path','deviceName','accessibility','euKWe','accessibilityToken','Performed\x20scan\x20with\x20result:\x20','CgdEX','RVcce','v2/test_runs','warn','mVvjE','resolve','util','PERFORM_SCAN','env','hBGqp','getAccessibilityResults','script','application/json','GjMQI','format','xafiD','./constants','args','Content-Type','shouldScanTestForAccessibility','pass','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','response','IsOvp','TkyEz','requireModule','PIqdv','No\x20accessibility\x20summary\x20was\x20found.','FmVbf','xTrYV','UUnkb','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','mvtCD','chromeOptions','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','ihcOm','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Bearer\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','javascript','isArray','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','3255sTQMxM','./scripts','8QdskDG','browserName','552136LEGslt','ueunx','getAccessKey','../logger','ChromeExtension','../globals','wjAfE','method','BS_A11Y_JWT','test_runs/stop','CZwTd','KKGwf','Authorization','stopAccessibilityTestRun','iIKhH','message','Lfabo','getAccessibilityResultsSummary','bstackA11yScanOptions','Options','Invalid\x20request:\x20','uEfGL','success','scannerVersion','EgKKl','device','getGitMetaData','702354oaXxMW','ndywt','info','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','aHWEY','stringify','isAccessibilityPlatform','56hJRIRK','ugktT','MoAjk','bstackA11yShouldScan','GET_RESULTS','body','auth','getHostInfo','projectName','dKGCV','toISOString','isUndefined','checkAccessibilityPlatformConfig','KqaSR','BROWSERSTACK_TURBOSCALE','browserVersion','browserstackSessionName','272530jwGMHq','capabilities_','data','SoLxl','string','__cloud_provider___','KntdB','selenium-webdriver','statusText','uYsCv','join','3726882KsvMXq','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Invalid\x20configuration\x20passed.','pTvnm','oUQFJ','KxCkd','Udbjc','Build\x20creation\x20had\x20failed.','executeAsyncScript','getGlobal','oahSX','KEhkt','uUBPN','LkTMb','../performance/performance-tester','alFdd','toLowerCase','command','measureWrapper','winstonLogger','QMfMN','PUT','nodeRequest','cYTgr','PtuoH','GET_RESULTS_SUMMARY','cFywL','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','parseFromJson','UzUMf','false','errors','XyKrr','getCapabilities','YnTkV','KkGZr','Mltxm','isBrowserstackInfra','assign','VLAJg','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','createAccessibilityTestRun','basename','stack','toJson','includes','length','headers','a11y:stop'];a97_0x3a8a=function(){return _0x4108c9;};return a97_0x3a8a();}exports['fetchPlatformDetails']=async _0x51f9f6=>{const _0x3f29b0=a97_0x42ebb0,_0x4ed88={};_0x4ed88[_0x3f29b0(0x16a)]=function(_0x48a110,_0x3bebf1){return _0x48a110===_0x3bebf1;},_0x4ed88['SKHzv']=_0x3f29b0(0x16c);const _0x42ce95=_0x4ed88;let _0x2b241e={};try{const _0x32fad8=await _0x51f9f6[_0x3f29b0(0x151)]();_0x2b241e={'os_name':_0x32fad8['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0x42ce95[_0x3f29b0(0x16a)](global[_0x3f29b0(0x12a)],_0x42ce95[_0x3f29b0(0x199)])),'browser_name':_0x32fad8['getBrowserName'](),'browser_version':_0x32fad8['getBrowserVersion']()};}catch(_0x10084e){logger[_0x3f29b0(0x17f)](_0x3f29b0(0x16d)+_0x10084e);}return _0x2b241e;},exports[a97_0x42ebb0(0x16b)]=()=>{const _0x277aa3=a97_0x42ebb0,_0x264a38={};_0x264a38[_0x277aa3(0x175)]=function(_0x1cd0eb,_0x5012a8){return _0x1cd0eb===_0x5012a8;},_0x264a38['HjhOf']=_0x277aa3(0x129),_0x264a38['AFgpq']=function(_0xfa4e13,_0x53529d){return _0xfa4e13>_0x53529d;},_0x264a38['ltrrx']=function(_0xa52e16,_0x2b0f99){return _0xa52e16!==_0x2b0f99;},_0x264a38[_0x277aa3(0x165)]=_0x277aa3(0x173),_0x264a38[_0x277aa3(0x1af)]=function(_0x3b0168,_0x140222){return _0x3b0168&&_0x140222;};const _0x38b471=_0x264a38;try{const _0x240c63=bsSetupHelper['isTrue'](process[_0x277aa3(0x1a8)][_0x277aa3(0x1c4)])||bsSetupHelper['isTrue'](process['env'][_0x277aa3(0x1bf)]),_0xe3ef63=_0x38b471[_0x277aa3(0x175)](typeof process['env'][_0x277aa3(0x1d6)],_0x38b471[_0x277aa3(0x181)])&&_0x38b471[_0x277aa3(0x187)](process[_0x277aa3(0x1a8)][_0x277aa3(0x1d6)][_0x277aa3(0x15f)],0x0)&&_0x38b471[_0x277aa3(0x198)](process['env'][_0x277aa3(0x1d6)],_0x38b471[_0x277aa3(0x165)]);return _0x38b471['xafiD'](_0x240c63,_0xe3ef63);}catch(_0x2bbfba){logger[_0x277aa3(0x17f)]('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0x2bbfba);}return![];},exports['nonBstackPlatformValidation']=(_0x18db46,_0x3fb671)=>{const _0x1c6227=a97_0x42ebb0,_0x4ae557={'Pmrga':_0x1c6227(0x1cd),'XQinJ':function(_0x4d9790,_0x17489b){return _0x4d9790(_0x17489b);},'aygXm':_0x1c6227(0x123),'Mltxm':'version','oUQFJ':'bstack:options','cFywL':function(_0x41910b,_0x27732d){return _0x41910b(_0x27732d);},'LkTMb':_0x1c6227(0x19b),'kCBLD':_0x1c6227(0x1e7),'JEvHw':_0x1c6227(0x194),'KkGZr':'selenium-webdriver/chrome.js','wyMAG':_0x1c6227(0x12c),'UUnkb':'options_','mvtCD':_0x1c6227(0x1b1),'PtuoH':_0x1c6227(0x1c1),'hBGqp':_0x1c6227(0x16e),'plQkJ':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','UzUMf':'goog:chromeOptions','TkyEz':function(_0x4e191d,_0x4d6734){return _0x4e191d===_0x4d6734;},'ihcOm':'chrome','CZwTd':function(_0x1f2f4b,_0x340653){return _0x1f2f4b>=_0x340653;}},_0xa23b1c=_0x18db46['get'](_0x4ae557[_0x1c6227(0x172)]),_0x3b96f0=_0x4ae557[_0x1c6227(0x176)](parseFloat,_0x18db46[_0x1c6227(0x197)](_0x4ae557[_0x1c6227(0x18a)]))||_0x4ae557[_0x1c6227(0x176)](parseFloat,_0x18db46[_0x1c6227(0x197)](_0x4ae557[_0x1c6227(0x154)])),_0x5331c1=_0x18db46[_0x1c6227(0x197)](_0x4ae557['oUQFJ'])||{},_0xdb72cc=_0x4ae557[_0x1c6227(0x14a)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x3aab92=_0x5331c1[_0x4ae557[_0x1c6227(0x13d)]]||_0x18db46[_0x1c6227(0x197)](_0x4ae557[_0x1c6227(0x167)])||![];if(_0x3aab92)return logger[_0x1c6227(0x1a3)](_0x4ae557['JEvHw']),![];let _0x200f92;try{_0x200f92=bsSetupHelper[_0x1c6227(0x1b9)](_0x4ae557[_0x1c6227(0x153)],_0x4ae557['wyMAG']);}catch(_0x45f094){return![];}const _0x490ebe=new _0x200f92[(_0x1c6227(0x1e1))](_0x3fb671['chromeOptions_']),_0x1930c9=bsSetupHelper[_0x1c6227(0x16f)](_0x490ebe,[_0x4ae557[_0x1c6227(0x1be)],_0x4ae557[_0x1c6227(0x1c0)]])||bsSetupHelper[_0x1c6227(0x16f)](_0x3fb671['capabilities_'],[_0x4ae557[_0x1c6227(0x134)],_0x4ae557[_0x1c6227(0x148)],_0x4ae557[_0x1c6227(0x1c0)]])||bsSetupHelper[_0x1c6227(0x16f)](_0x3fb671[_0x1c6227(0x126)],[_0x4ae557[_0x1c6227(0x148)],_0x4ae557['mvtCD']])||[];if(_0x1930c9[_0x1c6227(0x15e)](_0x4ae557[_0x1c6227(0x1a9)]))return logger[_0x1c6227(0x1a3)](_0x4ae557[_0x1c6227(0x18b)]),![];const _0xf17e7c=_0x3fb671[_0x1c6227(0x126)]||{},_0x7aa153=bsSetupHelper[_0x1c6227(0x16f)](_0xf17e7c,[_0x4ae557[_0x1c6227(0x14d)]])||{},_0x314d52=bsSetupHelper[_0x1c6227(0x16f)](_0x7aa153,[_0x4ae557['mvtCD']])||[];if(_0x314d52[_0x1c6227(0x15e)](_0x4ae557[_0x1c6227(0x1a9)]))return logger[_0x1c6227(0x1a3)](_0x4ae557[_0x1c6227(0x18b)]),![];if(_0x4ae557[_0x1c6227(0x1b8)](_0xa23b1c[_0x1c6227(0x140)](),_0x4ae557[_0x1c6227(0x1c3)])&&_0x4ae557[_0x1c6227(0x1d8)](_0x3b96f0,_0xdb72cc))return!![];return logger[_0x1c6227(0x1a3)](_0x1c6227(0x1c9)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0x178ecd=>{const _0x1cb1a8=a97_0x42ebb0,_0x2fc9e0={};_0x2fc9e0['VLAJg']=_0x1cb1a8(0x180),_0x2fc9e0['KqaSR']=function(_0x26d258,_0xf8ecb7){return _0x26d258||_0xf8ecb7;},_0x2fc9e0['JkSwF']=_0x1cb1a8(0x191);const _0x4d8f08=_0x2fc9e0,_0x3f012e=scripts[_0x1cb1a8(0x1d2)];try{const _0x41ffc1=bsSetupHelper['isTrue'](process[_0x1cb1a8(0x1a8)][_0x1cb1a8(0x1c4)])||bsSetupHelper[_0x1cb1a8(0x177)](process['env'][_0x1cb1a8(0x1bf)]);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x1cb1a8(0x1a8)][_0x1cb1a8(0x122)])&&_0x41ffc1){const _0x49c788=_0x178ecd[_0x1cb1a8(0x151)](),_0x33c19a=_0x49c788[_0x1cb1a8(0x197)](_0x4d8f08[_0x1cb1a8(0x157)]),_0x57acfb=_0x4d8f08[_0x1cb1a8(0x121)](_0x33c19a,{});bsSetupHelper[_0x1cb1a8(0x17c)](_0x57acfb,_0x3f012e),_0x178ecd['getCapabilities']()['set'](_0x4d8f08['VLAJg'],_0x57acfb);}else logger[_0x1cb1a8(0x1a3)](_0x4d8f08['JkSwF']);}catch(_0x39e411){logger['error']('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x39e411);}},exports[a97_0x42ebb0(0x1b3)]=(_0x57430d=null,_0x12fd75=!![],_0x5198b2=[])=>{const _0x357ce3=a97_0x42ebb0,_0x25ab6d={};_0x25ab6d[_0x357ce3(0x186)]=function(_0x154f3d,_0x40e437){return _0x154f3d==_0x40e437;},_0x25ab6d['PIqdv']=function(_0x4c2ae6,_0x59e84a){return _0x4c2ae6>_0x59e84a;},_0x25ab6d[_0x357ce3(0x1bd)]=function(_0x45fc7c,_0x49b789){return _0x45fc7c===_0x49b789;},_0x25ab6d['OAgqC']=function(_0x1b6de1,_0x1721d4){return _0x1b6de1&&_0x1721d4;},_0x25ab6d['euKWe']=function(_0x10d6dc,_0x4677c0){return _0x10d6dc===_0x4677c0;},_0x25ab6d[_0x357ce3(0x12b)]=function(_0x19cf8d,_0xb45228){return _0x19cf8d&&_0xb45228;};const _0x168ef6=_0x25ab6d;if(_0x168ef6['vAzvM'](process['env'][_0x357ce3(0x163)],null))return!![];try{const _0x4f5be8=JSON['parse'](process[_0x357ce3(0x1a8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x4b1581=Array[_0x357ce3(0x1c8)](_0x4f5be8['includeTagsInTestingScope'])?_0x4f5be8['includeTagsInTestingScope']:[],_0x4b7d98=Array[_0x357ce3(0x1c8)](_0x4f5be8[_0x357ce3(0x189)])?_0x4f5be8[_0x357ce3(0x189)]:[];if(bsSetupHelper[_0x357ce3(0x11f)](_0x57430d)){if(_0x168ef6[_0x357ce3(0x1ba)](_0x5198b2[_0x357ce3(0x15f)],0x0)){const _0x15a1c9=_0x4b7d98['some'](_0x1ca424=>_0x5198b2[_0x357ce3(0x15e)](_0x1ca424)),_0x33672e=_0x168ef6['xTrYV'](_0x4b1581['length'],0x0)||_0x4b1581[_0x357ce3(0x190)](_0x1d9c6f=>_0x5198b2[_0x357ce3(0x15e)](_0x1d9c6f));return _0x168ef6['OAgqC'](!_0x15a1c9,_0x33672e);}return!![];}let _0x20eb47;_0x12fd75?_0x20eb47=_0x57430d[_0x357ce3(0x12f)]('/'):_0x20eb47=_0x57430d;const _0x58836f=_0x4b7d98['some'](_0x27f545=>_0x20eb47[_0x357ce3(0x15e)](_0x27f545)),_0x357a79=_0x168ef6[_0x357ce3(0x19d)](_0x4b1581[_0x357ce3(0x15f)],0x0)||_0x4b1581[_0x357ce3(0x190)](_0x41cbd4=>_0x20eb47['includes'](_0x41cbd4));return _0x168ef6[_0x357ce3(0x12b)](!_0x58836f,_0x357a79);}catch(_0x49eea3){logger['debug'](_0x357ce3(0x1b5)+util[_0x357ce3(0x1ae)](_0x49eea3));}return![];},exports[a97_0x42ebb0(0x120)]=_0x28e72f=>{const _0x23f849=a97_0x42ebb0;let _0x272d23=![];try{_0x28e72f[_0x23f849(0x196)]['forEach'](_0x343a03=>{const _0x465f54=_0x23f849;if(bsSetupHelper[_0x465f54(0x177)](_0x343a03[_0x465f54(0x19c)]))return _0x272d23=!![],!![];});}catch(_0x3fd128){logger['debug'](_0x23f849(0x1ec)+_0x3fd128);}return _0x272d23||bsSetupHelper[_0x23f849(0x177)](_0x28e72f['accessibility']);},exports[a97_0x42ebb0(0x15a)]=PerformanceTester[a97_0x42ebb0(0x142)](a97_0x42ebb0(0x17d),async function(_0x10468f,_0x165d76){const _0x36c16e=a97_0x42ebb0,_0x77f39a={};_0x77f39a['Lzufr']=_0x36c16e(0x14b),_0x77f39a[_0x36c16e(0x11d)]='playwright',_0x77f39a[_0x36c16e(0x185)]=_0x36c16e(0x1c7),_0x77f39a[_0x36c16e(0x133)]=_0x36c16e(0x1ac),_0x77f39a['uYsCv']='POST',_0x77f39a['FmVbf']=_0x36c16e(0x1a2),_0x77f39a[_0x36c16e(0x1dc)]=function(_0xeb3728,_0x344908){return _0xeb3728===_0x344908;},_0x77f39a[_0x36c16e(0x17a)]=_0x36c16e(0x132),_0x77f39a['KxCkd']=_0x36c16e(0x14e);const _0x16bd7e=_0x77f39a,_0x56a6fb=bsSetupHelper['getUserName'](_0x10468f),_0x3967f4=bsSetupHelper[_0x36c16e(0x1d0)](_0x10468f);if(bsSetupHelper['isUndefined'](_0x56a6fb)||bsSetupHelper[_0x36c16e(0x11f)](_0x3967f4))return logger['error'](_0x16bd7e[_0x36c16e(0x17b)]),[null,null];try{let _0x4adddb;bsSetupHelper['isUndefined'](process[_0x36c16e(0x1a8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x4adddb={}:_0x4adddb=JSON[_0x36c16e(0x182)](process[_0x36c16e(0x1a8)][_0x36c16e(0x163)]);const {name:_0x35572c,version:_0x12e6dd}=bsSetupHelper[_0x36c16e(0x17e)](_0x10468f,_0x165d76),_0x3a25f4={'projectName':_0x10468f[_0x36c16e(0x11c)],'buildName':_0x10468f['buildName']||path[_0x36c16e(0x15b)](path[_0x36c16e(0x1a5)](process['cwd']())),'startTime':new Date()[_0x36c16e(0x11e)](),'description':_0x10468f['buildDescription']||'','source':{'frameworkName':_0x165d76[_0x36c16e(0x15e)](_0x16bd7e['dKGCV'])?_0x16bd7e[_0x36c16e(0x11d)]:_0x165d76,'frameworkVersion':bsSetupHelper[_0x36c16e(0x192)](_0x165d76),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x16bd7e[_0x36c16e(0x185)],'testFramework':_0x35572c,'testFrameworkVersion':_0x12e6dd},'settings':_0x4adddb,'versionControl':await bsSetupHelper[_0x36c16e(0x1e8)](),'ciInfo':bsSetupHelper[_0x36c16e(0x18d)](),'hostInfo':bsSetupHelper[_0x36c16e(0x11b)](),'browserstackAutomation':bsSetupHelper[_0x36c16e(0x155)]()},_0x377e78={};_0x377e78['user']=_0x56a6fb,_0x377e78[_0x36c16e(0x1b4)]=_0x3967f4;const _0x229311={};_0x229311[_0x36c16e(0x1b2)]=_0x16bd7e[_0x36c16e(0x133)];const _0x1a8b12={};_0x1a8b12[_0x36c16e(0x11a)]=_0x377e78,_0x1a8b12[_0x36c16e(0x160)]=_0x229311;const _0x36dcaf=_0x1a8b12,_0x459a76={};_0x459a76[_0x36c16e(0x119)]=_0x3a25f4,_0x459a76[_0x36c16e(0x178)]=!![];const _0x206462=Object[_0x36c16e(0x156)](_0x36dcaf,_0x459a76),_0x2fe1c3=await bsSetupHelper[_0x36c16e(0x146)](_0x16bd7e[_0x36c16e(0x12e)],_0x16bd7e[_0x36c16e(0x1bc)],_0x206462,_0x10468f,API_URL);let _0x7a9fb9=process[_0x36c16e(0x1a8)][_0x36c16e(0x163)];return _0x7a9fb9?_0x7a9fb9=JSON[_0x36c16e(0x182)](process['env'][_0x36c16e(0x163)]):_0x7a9fb9={},scripts[_0x36c16e(0x14c)](_0x2fe1c3[_0x36c16e(0x127)][_0x36c16e(0x127)]),scripts[_0x36c16e(0x15d)](),_0x7a9fb9[_0x36c16e(0x1e5)]=_0x2fe1c3['data']['data'][_0x36c16e(0x1e5)],process[_0x36c16e(0x1a8)][_0x36c16e(0x163)]=JSON[_0x36c16e(0x1ee)](_0x7a9fb9),[_0x2fe1c3[_0x36c16e(0x127)][_0x36c16e(0x127)][_0x36c16e(0x19e)],_0x2fe1c3[_0x36c16e(0x127)][_0x36c16e(0x127)]['id']];}catch(_0x24b2f9){if(_0x24b2f9['response'])logger[_0x36c16e(0x18f)](_0x36c16e(0x131)+_0x24b2f9[_0x36c16e(0x1b6)]['status']+'\x20'+_0x24b2f9[_0x36c16e(0x1b6)][_0x36c16e(0x12d)]+'\x20'+JSON[_0x36c16e(0x1ee)](_0x24b2f9[_0x36c16e(0x1b6)][_0x36c16e(0x127)]));else{if(_0x16bd7e[_0x36c16e(0x1dc)](_0x24b2f9['message'],_0x16bd7e[_0x36c16e(0x17a)])){logger['error'](_0x36c16e(0x131)+(_0x24b2f9[_0x36c16e(0x1dd)]||_0x24b2f9[_0x36c16e(0x15c)]));for(const _0x568587 of _0x24b2f9[_0x36c16e(0x14f)]){logger[_0x36c16e(0x18f)](_0x568587['message']);}process[_0x36c16e(0x1a8)][_0x36c16e(0x1c4)]=_0x16bd7e['KxCkd'],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x16bd7e[_0x36c16e(0x135)];}else logger[_0x36c16e(0x18f)](_0x36c16e(0x131)+(_0x24b2f9[_0x36c16e(0x1dd)]||_0x24b2f9[_0x36c16e(0x15c)]));}return[null,null];}}),exports[a97_0x42ebb0(0x1db)]=PerformanceTester['measureWrapper'](a97_0x42ebb0(0x161),async function(_0x188919){const _0xbe26fa=a97_0x42ebb0,_0x30abfe={};_0x30abfe[_0xbe26fa(0x1ad)]=function(_0x27026d,_0x2fba2d){return _0x27026d!==_0x2fba2d;},_0x30abfe[_0xbe26fa(0x18e)]=_0xbe26fa(0x129),_0x30abfe[_0xbe26fa(0x1cf)]=_0xbe26fa(0x18f),_0x30abfe[_0xbe26fa(0x128)]=_0xbe26fa(0x137),_0x30abfe[_0xbe26fa(0x13f)]=_0xbe26fa(0x1ac),_0x30abfe[_0xbe26fa(0x1d4)]=_0xbe26fa(0x145),_0x30abfe[_0xbe26fa(0x169)]=_0xbe26fa(0x1d7),_0x30abfe[_0xbe26fa(0x13a)]=function(_0x487d59,_0x3ad07e){return _0x487d59+_0x3ad07e;},_0x30abfe['IsOvp']=_0xbe26fa(0x1e2),_0x30abfe[_0xbe26fa(0x1e6)]=_0xbe26fa(0x1e4);const _0x301658=_0x30abfe;if(bsSetupHelper['isUndefined'](process[_0xbe26fa(0x1a8)][_0xbe26fa(0x1d6)])||_0x301658[_0xbe26fa(0x1ad)](typeof process[_0xbe26fa(0x1a8)]['BS_A11Y_JWT'],_0x301658['knDjA'])){const _0x4febb3={};return _0x4febb3['status']=_0x301658[_0xbe26fa(0x1cf)],_0x4febb3[_0xbe26fa(0x1dd)]=_0x301658[_0xbe26fa(0x128)],_0x4febb3;}const _0x54306e={'endTime':new Date()[_0xbe26fa(0x11e)]()},_0x1a6a7f={};_0x1a6a7f[_0xbe26fa(0x1da)]=_0xbe26fa(0x1c5)+process[_0xbe26fa(0x1a8)][_0xbe26fa(0x1d6)],_0x1a6a7f[_0xbe26fa(0x1b2)]=_0x301658[_0xbe26fa(0x13f)];const _0x40298a={};_0x40298a[_0xbe26fa(0x160)]=_0x1a6a7f;const _0x3f1745=_0x40298a,_0x59ef71={};_0x59ef71[_0xbe26fa(0x119)]=_0x54306e,_0x59ef71['auth']=null,_0x59ef71[_0xbe26fa(0x178)]=!![];const _0x20cc47=Object[_0xbe26fa(0x156)](_0x3f1745,_0x59ef71);try{const _0x446234=await bsSetupHelper['nodeRequest'](_0x301658[_0xbe26fa(0x1d4)],_0x301658[_0xbe26fa(0x169)],_0x20cc47,_0x188919,API_URL);if(_0x446234[_0xbe26fa(0x127)]['error'])throw new Error(_0x301658[_0xbe26fa(0x13a)](_0x301658[_0xbe26fa(0x1b7)],_0x446234['data'][_0xbe26fa(0x18f)]));else{logger[_0xbe26fa(0x1eb)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0xbe26fa(0x11e)]());const _0x403e7e={};return _0x403e7e[_0xbe26fa(0x183)]=_0x301658[_0xbe26fa(0x1e6)],_0x403e7e['message']='',_0x403e7e;}}catch(_0x4b3191){_0x4b3191[_0xbe26fa(0x1b6)]?logger[_0xbe26fa(0x18f)](_0xbe26fa(0x18c)+_0x4b3191[_0xbe26fa(0x1b6)][_0xbe26fa(0x183)]+'\x20'+_0x4b3191[_0xbe26fa(0x1b6)][_0xbe26fa(0x12d)]+'\x20'+JSON[_0xbe26fa(0x1ee)](_0x4b3191[_0xbe26fa(0x1b6)][_0xbe26fa(0x127)])):logger[_0xbe26fa(0x18f)](_0xbe26fa(0x18c)+(_0x4b3191['message']||util['format'](_0x4b3191)));const _0x553152={};return _0x553152['status']=_0x301658[_0xbe26fa(0x1cf)],_0x553152[_0xbe26fa(0x1dd)]=_0x4b3191[_0xbe26fa(0x1dd)]||(_0x4b3191[_0xbe26fa(0x1b6)]?_0x4b3191[_0xbe26fa(0x1b6)]['status']+':'+_0x4b3191[_0xbe26fa(0x1b6)][_0xbe26fa(0x12d)]:_0x4b3191),_0x553152;}}),exports[a97_0x42ebb0(0x162)]=async(_0x565260,_0x37c4ea=null,_0x4d4a1b=![],_0x3b8e8a=null)=>{const _0x550cec=a97_0x42ebb0,_0x34dfdf={};_0x34dfdf[_0x550cec(0x1de)]=_0x550cec(0x1ef),_0x34dfdf[_0x550cec(0x144)]=_0x550cec(0x1f3),_0x34dfdf[_0x550cec(0x1f1)]=_0x550cec(0x159),_0x34dfdf[_0x550cec(0x147)]=function(_0x4a5a8b,_0x130487){return _0x4a5a8b||_0x130487;},_0x34dfdf[_0x550cec(0x184)]=_0x550cec(0x1e0);const _0x588264=_0x34dfdf;if(!this['isAccessibilityAutomationSession']()||!globals[_0x550cec(0x139)](_0x588264[_0x550cec(0x1de)])||!_0x4d4a1b&&!globals[_0x550cec(0x139)](_0x588264['QMfMN'])){logger[_0x550cec(0x1a3)](_0x588264[_0x550cec(0x1f1)]);return;}const _0xaa2739=_0x4d4a1b?_0x588264[_0x550cec(0x147)](_0x3b8e8a,{}):globals[_0x550cec(0x139)](_0x588264[_0x550cec(0x184)])||{},_0x6ce59f={};_0x6ce59f[_0x550cec(0x1d5)]=_0x37c4ea||global[_0x550cec(0x124)];const _0x338830=Object['assign']({},_0xaa2739,_0x6ce59f);logger['debug'](_0x550cec(0x158)+util[_0x550cec(0x1ae)]('%j',_0x338830));const _0x1d3ecf={};return _0x1d3ecf[_0x550cec(0x141)]=_0x37c4ea,await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x550cec(0x1a7)],async()=>{const _0x48be8c=_0x550cec,_0x559f02=util[_0x48be8c(0x1ae)](await _0x565260['executeAsyncScript'](scripts[_0x48be8c(0x162)],_0x338830));return logger[_0x48be8c(0x17f)](_0x48be8c(0x19f)+_0x559f02),_0x559f02;},_0x1d3ecf)();},exports[a97_0x42ebb0(0x1aa)]=async(_0x3854e2,_0x577da8)=>{const _0x414073=a97_0x42ebb0,_0x12b0a0={};_0x12b0a0[_0x414073(0x136)]=_0x414073(0x166),_0x12b0a0[_0x414073(0x13b)]=_0x414073(0x1ef),_0x12b0a0[_0x414073(0x1a4)]=_0x414073(0x1f3),_0x12b0a0[_0x414073(0x152)]=_0x414073(0x1c2),_0x12b0a0[_0x414073(0x164)]=_0x414073(0x1aa),_0x12b0a0[_0x414073(0x1f2)]='No\x20accessibility\x20results\x20were\x20found.';const _0x3eaab8=_0x12b0a0;if(!this[_0x414073(0x16b)]()||!globals['getGlobal'](_0x3eaab8[_0x414073(0x13b)])||!globals[_0x414073(0x139)](_0x3eaab8[_0x414073(0x1a4)]))return logger[_0x414073(0x1a3)](_0x3eaab8[_0x414073(0x152)]),[];try{return await PerformanceTester[_0x414073(0x142)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x542fc0=_0x414073;logger[_0x542fc0(0x17f)](_0x3eaab8['Udbjc']);const _0x35aa80={};_0x35aa80['method']=_0x577da8['browserstackSessionName'],logger[_0x542fc0(0x17f)](util['format'](await _0x3854e2[_0x542fc0(0x138)](scripts[_0x542fc0(0x162)],_0x35aa80)));},{'command':_0x3eaab8[_0x414073(0x164)]})(),await PerformanceTester[_0x414073(0x142)](PerformanceA11yEvents[_0x414073(0x118)],async()=>{const _0x231fe3=_0x414073,_0x1bbe2b=await _0x3854e2[_0x231fe3(0x138)](scripts[_0x231fe3(0x170)]);return _0x1bbe2b;})();}catch{return logger['error'](_0x3eaab8[_0x414073(0x1f2)]),[];}},exports[a97_0x42ebb0(0x1df)]=async(_0x1206b4,_0x2f1652)=>{const _0x534246=a97_0x42ebb0,_0x46140b={};_0x46140b[_0x534246(0x1e3)]=_0x534246(0x193),_0x46140b['KKGwf']='isAccessibilityPlatform',_0x46140b['XyKrr']=_0x534246(0x1f3),_0x46140b[_0x534246(0x1a0)]=_0x534246(0x1c6),_0x46140b[_0x534246(0x1a1)]=_0x534246(0x1df),_0x46140b[_0x534246(0x1ed)]=_0x534246(0x1bb);const _0x5422a5=_0x46140b;if(!this[_0x534246(0x16b)]()||!globals[_0x534246(0x139)](_0x5422a5[_0x534246(0x1d9)])||!globals[_0x534246(0x139)](_0x5422a5[_0x534246(0x150)]))return logger[_0x534246(0x1a3)](_0x5422a5['CgdEX']),{};try{return await PerformanceTester[_0x534246(0x142)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5569cc=_0x534246;logger['debug'](_0x5422a5['uEfGL']);const _0x1d2bb8={};_0x1d2bb8[_0x5569cc(0x1d5)]=_0x2f1652[_0x5569cc(0x124)],logger[_0x5569cc(0x17f)](util[_0x5569cc(0x1ae)](await _0x1206b4[_0x5569cc(0x138)](scripts['performScan'],_0x1d2bb8)));},{'command':_0x5422a5[_0x534246(0x1a1)]})(),await PerformanceTester[_0x534246(0x142)](PerformanceA11yEvents[_0x534246(0x149)],async()=>{const _0x923284=_0x534246,_0x102d83=await _0x1206b4[_0x923284(0x138)](scripts['getResultsSummary']);return _0x102d83;})();}catch{return logger[_0x534246(0x18f)](_0x5422a5['aHWEY']),{};}},exports[a97_0x42ebb0(0x171)]=_0x56b3fa=>{const _0x4b4a38=a97_0x42ebb0,_0x37a9a6={};_0x37a9a6[_0x4b4a38(0x13c)]=function(_0x5dd232,_0x4f2b71){return _0x5dd232===_0x4f2b71;},_0x37a9a6[_0x4b4a38(0x1ea)]='string',_0x37a9a6['Dgaln']=_0x4b4a38(0x179);const _0x17805f=_0x37a9a6;if(_0x56b3fa&&_0x56b3fa[_0x4b4a38(0x1ab)]&&_0x17805f['uUBPN'](typeof _0x56b3fa[_0x4b4a38(0x1ab)],_0x17805f[_0x4b4a38(0x1ea)]))return _0x56b3fa[_0x4b4a38(0x1ab)][_0x4b4a38(0x15e)](_0x17805f['Dgaln']);return![];};
|
|
1
|
+
function a97_0x174b(){const _0xaa8476=['rZhwv','oASZS','vOFKh','aVjsf','PERFORM_SCAN','CoysB','vFctk','meshw','performScan','createAccessibilityTestRun','mergeDeep','Invalid\x20request:\x20','No\x20accessibility\x20summary\x20was\x20found.','1595472TBQyTp','SNbQi','getBrowserName','RGlld','measureWrapper','TcMce','bGSCY','tKFHe','Build\x20creation\x20had\x20failed.','YlsQj','stack','options_','isBrowserstackInfra','--headless=','cwd','toJson','nodeRequest','v2/test_runs','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','script','dxcus','QDSeO','../logger','javascript','njXED','Performing\x20scan\x20before\x20getting\x20results\x20summary','nonBstackPlatformValidation','NzszN','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','GET_RESULTS_SUMMARY','browserstackSessionName','fuBDl','getPlatform','getCiInfo','1294296AoXFcX','method','warn','21316kTTtbc','lGbJr','YBxUo','format','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','toLowerCase','setNonBstackInfraCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','args','get','EtkKW','BaqQT','haDAZ','headers','getBrowserVersion','startsWith','success','BS_A11Y_JWT','bKWiS','getGlobal','2508252Ekqaxu','conMa','zQEhg','__cloud_provider___','Authorization','string','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','Performing\x20scan\x20before\x20getting\x20results','Fvbvj','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','executeAsyncScript','IGFEZ','../performance/performance-tester','OtZtg','GET_RESULTS','--headless','CVeGa','includes','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','MjGtZ','bBkJZ','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','XlfFw','some','STgSw','application/json','GJKSr','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','bstackA11yScanOptions','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','qRBxP','pass','getAccessibilityResults','QdMjW','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','a11y:start','selenium-webdriver/chrome.js','sJGQF','response','22mMPTPB','uViqD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Bearer\x20','wkArt','NdDac','ChromeExtension','1145QKeQlv','Options','120684CKJccs','755660AwXUZx','getCapabilities','browserName','stopAccessibilityTestRun','Performed\x20scan\x20with\x20result:\x20','HbmGQ','capabilities_','iqPTb','browserstack','message','CWbaA','zbEVH','join','getTestFrameworkDetails','483468QjEcQC','getUserName','fetchPlatformDetails','fQGLD','excludeTagsInTestingScope','USGCx','error','getAgentVersion','length','status','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','getPackageVersion','NIHTf','TiyAE','playwright','Invalid\x20configuration\x20passed.','selenium-webdriver','scannerVersion','buildName','buildDescription','clkoA','data','statusText','ASZSa','isAccessibilityAutomationSession','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','JWVbI','isTrue','7vjIyOh','PUT','ULzoB','stringify','jlGUm','./scripts','basename','PmUEY','debug','mAmrO','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','isArray','assign','accessibility','auth','parse','null','resolve','isAccessibilityPlatform','vHrRL','nestedKeyValue','getResults','KsOsF','toISOString','gIhDm','18vtNgat','BROWSERSTACK_TEST_ACCESSIBILITY_YML','16LlVILp','LrIbQ','env','shouldScanTestForAccessibility','browserstack_executor','getAccessibilityResultsSummary','map','winstonLogger','isUndefined','../performance/constants','getAccessKey','platforms','a11y:stop','trim','isBrowserStackCommandExecutor','Not\x20a\x20Accessibility\x20Session','BztWt','cTFwR','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','Yqytw','toARU','tYcxX','body','BROWSERSTACK_TURBOSCALE','replace','browserVersion','command','LcVkO','chrome','mpqUQ','ksPDH','mJTKk','includeTagsInTestingScope','set'];a97_0x174b=function(){return _0xaa8476;};return a97_0x174b();}const a97_0x39bd3a=a97_0x3aa2;function a97_0x3aa2(_0x3bac4e,_0x1dac16){const _0x174b26=a97_0x174b();return a97_0x3aa2=function(_0x3aa27,_0x58f692){_0x3aa27=_0x3aa27-0x130;let _0x4333bc=_0x174b26[_0x3aa27];return _0x4333bc;},a97_0x3aa2(_0x3bac4e,_0x1dac16);}(function(_0x4a5ebb,_0x1c3e97){const _0x3e12db=a97_0x3aa2,_0x1bd67f=_0x4a5ebb();while(!![]){try{const _0x29a52d=-parseInt(_0x3e12db(0x1d7))/0x1+-parseInt(_0x3e12db(0x186))/0x2*(-parseInt(_0x3e12db(0x14f))/0x3)+parseInt(_0x3e12db(0x1da))/0x4*(parseInt(_0x3e12db(0x13e))/0x5)+-parseInt(_0x3e12db(0x1ee))/0x6*(parseInt(_0x3e12db(0x16b))/0x7)+-parseInt(_0x3e12db(0x1b5))/0x8+parseInt(_0x3e12db(0x184))/0x9*(parseInt(_0x3e12db(0x141))/0xa)+parseInt(_0x3e12db(0x137))/0xb*(-parseInt(_0x3e12db(0x140))/0xc);if(_0x29a52d===_0x1c3e97)break;else _0x1bd67f['push'](_0x1bd67f['shift']());}catch(_0x464512){_0x1bd67f['push'](_0x1bd67f['shift']());}}}(a97_0x174b,0xb1f03));const path=require('path'),util=require('util'),bsSetupHelper=require('../helper'),logger=require(a97_0x39bd3a(0x1cb))[a97_0x39bd3a(0x18d)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('./constants'),PerformanceTester=require(a97_0x39bd3a(0x1fa)),scripts=require(a97_0x39bd3a(0x170)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x39bd3a(0x18f));exports[a97_0x39bd3a(0x151)]=async _0x28bafc=>{const _0x1f6edc=a97_0x39bd3a,_0xeb6751={};_0xeb6751[_0x1f6edc(0x1a9)]=function(_0xf5d8ac,_0x21d7bc){return _0xf5d8ac===_0x21d7bc;},_0xeb6751['SNbQi']=_0x1f6edc(0x149);const _0xecfa65=_0xeb6751;let _0xf49cab={};try{const _0x753006=await _0x28bafc[_0x1f6edc(0x142)]();_0xf49cab={'os_name':_0x753006[_0x1f6edc(0x1d5)](),'os_version':bsSetupHelper['getPlatformVersion'](_0xecfa65[_0x1f6edc(0x1a9)](global[_0x1f6edc(0x1f1)],_0xecfa65[_0x1f6edc(0x1b6)])),'browser_name':_0x753006[_0x1f6edc(0x1b7)](),'browser_version':_0x753006[_0x1f6edc(0x1e8)]()};}catch(_0x5e095b){logger[_0x1f6edc(0x173)](_0x1f6edc(0x203)+_0x5e095b);}return _0xf49cab;},exports['isAccessibilityAutomationSession']=()=>{const _0x26dc12=a97_0x39bd3a,_0x568f1d={};_0x568f1d[_0x26dc12(0x148)]=function(_0x5e3100,_0x218dbb){return _0x5e3100===_0x218dbb;},_0x568f1d[_0x26dc12(0x20c)]=_0x26dc12(0x1f3),_0x568f1d[_0x26dc12(0x1af)]=function(_0x177625,_0x1ca7f3){return _0x177625>_0x1ca7f3;},_0x568f1d[_0x26dc12(0x201)]=function(_0x3a40ac,_0x24c7cf){return _0x3a40ac!==_0x24c7cf;},_0x568f1d[_0x26dc12(0x166)]=_0x26dc12(0x17b),_0x568f1d[_0x26dc12(0x1e4)]=function(_0x1e6aa7,_0x1be255){return _0x1e6aa7&&_0x1be255;};const _0x192a97=_0x568f1d;try{const _0x551fd3=bsSetupHelper[_0x26dc12(0x16a)](process[_0x26dc12(0x188)][_0x26dc12(0x185)])||bsSetupHelper[_0x26dc12(0x16a)](process[_0x26dc12(0x188)][_0x26dc12(0x1e1)]),_0x2a84c0=_0x192a97['iqPTb'](typeof process['env']['BS_A11Y_JWT'],_0x192a97[_0x26dc12(0x20c)])&&_0x192a97['meshw'](process[_0x26dc12(0x188)][_0x26dc12(0x1eb)][_0x26dc12(0x157)],0x0)&&_0x192a97[_0x26dc12(0x201)](process['env'][_0x26dc12(0x1eb)],_0x192a97[_0x26dc12(0x166)]);return _0x192a97[_0x26dc12(0x1e4)](_0x551fd3,_0x2a84c0);}catch(_0x4cc907){logger['debug'](_0x26dc12(0x168)+_0x4cc907);}return![];},exports[a97_0x39bd3a(0x1cf)]=(_0x4b633f,_0x5ba3fb)=>{const _0x51f645=a97_0x39bd3a,_0x3d9548={'vHrRL':_0x51f645(0x143),'aVjsf':function(_0x2eff7d,_0x125afe){return _0x2eff7d(_0x125afe);},'GJKSr':_0x51f645(0x19f),'HbmGQ':'version','jlGUm':'bstack:options','RGlld':'deviceName','XlfFw':'device','JWVbI':_0x51f645(0x1de),'njXED':_0x51f645(0x134),'haDAZ':_0x51f645(0x15f),'mAmrO':_0x51f645(0x1c0),'tYcxX':_0x51f645(0x1e2),'NzszN':'chromeOptions','mpqUQ':_0x51f645(0x1d1),'tKFHe':'goog:chromeOptions','iXgML':function(_0x2daf70,_0x2b49db){return _0x2daf70===_0x2b49db;},'zbEVH':_0x51f645(0x1a2),'mJTKk':function(_0x316418,_0x8ff0cd){return _0x316418>=_0x8ff0cd;}},_0x2cc33d=_0x4b633f[_0x51f645(0x1e3)](_0x3d9548[_0x51f645(0x17e)]),_0x4843c8=_0x3d9548[_0x51f645(0x1ab)](parseFloat,_0x4b633f[_0x51f645(0x1e3)](_0x3d9548[_0x51f645(0x208)]))||_0x3d9548[_0x51f645(0x1ab)](parseFloat,_0x4b633f[_0x51f645(0x1e3)](_0x3d9548[_0x51f645(0x146)])),_0x31d186=_0x4b633f[_0x51f645(0x1e3)](_0x3d9548['jlGUm'])||{},_0x52c6a1=_0x3d9548[_0x51f645(0x1ab)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0xd186e0=_0x31d186[_0x3d9548[_0x51f645(0x1b8)]]||_0x4b633f[_0x51f645(0x1e3)](_0x3d9548[_0x51f645(0x204)])||![];if(_0xd186e0)return logger[_0x51f645(0x1d9)](_0x3d9548[_0x51f645(0x169)]),![];let _0x35cbfb;try{_0x35cbfb=bsSetupHelper['requireModule'](_0x3d9548[_0x51f645(0x1cd)],_0x3d9548[_0x51f645(0x1e6)]);}catch(_0x3e17d9){return![];}const _0x4748b8=new _0x35cbfb[(_0x51f645(0x13f))](_0x5ba3fb['chromeOptions_']),_0x3efba7=bsSetupHelper[_0x51f645(0x17f)](_0x4748b8,[_0x3d9548[_0x51f645(0x174)],_0x3d9548[_0x51f645(0x19b)]])||bsSetupHelper[_0x51f645(0x17f)](_0x5ba3fb[_0x51f645(0x147)],[_0x3d9548[_0x51f645(0x16f)],_0x3d9548[_0x51f645(0x1d0)],_0x3d9548['tYcxX']])||bsSetupHelper[_0x51f645(0x17f)](_0x5ba3fb['capabilities_'],[_0x3d9548[_0x51f645(0x1d0)],_0x3d9548[_0x51f645(0x19b)]])||[],_0x43ee3e=Array[_0x51f645(0x176)](_0x3efba7)?_0x3efba7:[];if(_0x43ee3e[_0x51f645(0x205)](_0x13028d=>typeof _0x13028d===_0x51f645(0x1f3)&&(_0x13028d===_0x51f645(0x1fd)||_0x13028d[_0x51f645(0x1e9)](_0x51f645(0x1c2))&&_0x13028d!=='--headless=new')))return logger[_0x51f645(0x1d9)](_0x3d9548[_0x51f645(0x1a3)]),![];const _0x3d5081=_0x5ba3fb[_0x51f645(0x147)]||{},_0x2e893d=bsSetupHelper['nestedKeyValue'](_0x3d5081,[_0x3d9548[_0x51f645(0x1bc)]])||{},_0x5c1e30=bsSetupHelper[_0x51f645(0x17f)](_0x2e893d,[_0x3d9548['tYcxX']])||[],_0x3b5df0=Array['isArray'](_0x5c1e30)?_0x5c1e30:[];if(_0x3b5df0['some'](_0x23ccd4=>typeof _0x23ccd4===_0x51f645(0x1f3)&&(_0x23ccd4===_0x51f645(0x1fd)||_0x23ccd4[_0x51f645(0x1e9)](_0x51f645(0x1c2))&&_0x23ccd4!=='--headless=new')))return logger[_0x51f645(0x1d9)](_0x3d9548[_0x51f645(0x1a3)]),![];if(_0x3d9548['iXgML'](_0x2cc33d[_0x51f645(0x1df)](),_0x3d9548[_0x51f645(0x14c)])&&_0x3d9548[_0x51f645(0x1a5)](_0x4843c8,_0x52c6a1))return!![];return logger[_0x51f645(0x1d9)](_0x51f645(0x159)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x39bd3a(0x1e0)]=_0x5f0294=>{const _0xa017e5=a97_0x39bd3a,_0x47e7fa={};_0x47e7fa[_0xa017e5(0x1a4)]='goog:chromeOptions',_0x47e7fa[_0xa017e5(0x163)]=function(_0x2ae0f7,_0x2458e7){return _0x2ae0f7||_0x2458e7;},_0x47e7fa[_0xa017e5(0x14b)]=_0xa017e5(0x195);const _0x565141=_0x47e7fa,_0x5cca27=scripts[_0xa017e5(0x13d)];try{const _0x18f2b0=bsSetupHelper[_0xa017e5(0x16a)](process['env'][_0xa017e5(0x185)])||bsSetupHelper['isTrue'](process['env'][_0xa017e5(0x1e1)]);if((!bsSetupHelper[_0xa017e5(0x1c1)]()||process[_0xa017e5(0x188)][_0xa017e5(0x19d)])&&_0x18f2b0){const _0x5dd5f4=_0x5f0294[_0xa017e5(0x142)](),_0x32096a=_0x5dd5f4['get'](_0x565141[_0xa017e5(0x1a4)]),_0x44225c=_0x565141['clkoA'](_0x32096a,{});bsSetupHelper[_0xa017e5(0x1b2)](_0x44225c,_0x5cca27),_0x5f0294[_0xa017e5(0x142)]()[_0xa017e5(0x1a7)](_0x565141['ksPDH'],_0x44225c);}else logger['warn'](_0x565141['CWbaA']);}catch(_0x34ec61){logger['error'](_0xa017e5(0x1c7)+_0x34ec61);}},exports[a97_0x39bd3a(0x189)]=(_0x33ba82=null,_0x128594=!![],_0xce10e1=[])=>{const _0x1f339d=a97_0x39bd3a,_0x344a3c={};_0x344a3c[_0x1f339d(0x1dc)]=function(_0x5914af,_0x474406){return _0x5914af==_0x474406;},_0x344a3c[_0x1f339d(0x1fb)]=function(_0x5139ff,_0x533178){return _0x5139ff>_0x533178;},_0x344a3c[_0x1f339d(0x16d)]=function(_0x3de5d7,_0x11fd7d){return _0x3de5d7===_0x11fd7d;},_0x344a3c[_0x1f339d(0x154)]=function(_0x16baae,_0x35f866){return _0x16baae&&_0x35f866;};const _0x21904a=_0x344a3c;if(_0x21904a['YBxUo'](process[_0x1f339d(0x188)][_0x1f339d(0x139)],null))return!![];try{const _0x1d9c05=JSON[_0x1f339d(0x17a)](process[_0x1f339d(0x188)][_0x1f339d(0x139)]),_0x53bf8e=Array[_0x1f339d(0x176)](_0x1d9c05[_0x1f339d(0x1a6)])?_0x1d9c05[_0x1f339d(0x1a6)]:[],_0x4ef9c6=Array[_0x1f339d(0x176)](_0x1d9c05['excludeTagsInTestingScope'])?_0x1d9c05[_0x1f339d(0x153)]:[],_0x2dfe84=_0x5b7005=>typeof _0x5b7005===_0x1f339d(0x1f3)?_0x5b7005[_0x1f339d(0x19e)](/^@/,'')[_0x1f339d(0x1df)]()[_0x1f339d(0x193)]():_0x5b7005;if(bsSetupHelper['isUndefined'](_0x33ba82)){if(_0x21904a[_0x1f339d(0x1fb)](_0xce10e1['length'],0x0)){const _0x232301=_0xce10e1[_0x1f339d(0x18c)](_0x2dfe84),_0x53dfa6=_0x4ef9c6['some'](_0x5daabc=>_0x232301[_0x1f339d(0x1ff)](_0x2dfe84(_0x5daabc))),_0xf6d206=_0x21904a[_0x1f339d(0x16d)](_0x53bf8e[_0x1f339d(0x157)],0x0)||_0x53bf8e['some'](_0x1ef29f=>_0x232301[_0x1f339d(0x1ff)](_0x2dfe84(_0x1ef29f)));return _0x21904a['USGCx'](!_0x53dfa6,_0xf6d206);}return!![];}let _0x4753a5;_0x128594?_0x4753a5=_0x33ba82[_0x1f339d(0x14d)]('/'):_0x4753a5=_0x33ba82;const _0xa4666a=_0x4ef9c6[_0x1f339d(0x205)](_0x4c4cd9=>_0x4753a5['toLowerCase']()[_0x1f339d(0x1ff)](_0x2dfe84(_0x4c4cd9)[_0x1f339d(0x1df)]())),_0x36555c=_0x21904a['ULzoB'](_0x53bf8e[_0x1f339d(0x157)],0x0)||_0x53bf8e[_0x1f339d(0x205)](_0x2cf40a=>_0x4753a5['toLowerCase']()[_0x1f339d(0x1ff)](_0x2dfe84(_0x2cf40a)[_0x1f339d(0x1df)]()));return _0x21904a['USGCx'](!_0xa4666a,_0x36555c);}catch(_0x55acf6){logger['debug']('Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20'+util[_0x1f339d(0x1dd)](_0x55acf6));}return![];},exports['checkAccessibilityPlatformConfig']=_0x3e6f6e=>{const _0x49a0f8=a97_0x39bd3a;let _0x40c5ab=![];try{_0x3e6f6e[_0x49a0f8(0x191)]['forEach'](_0x4d127b=>{const _0x355b29=_0x49a0f8;if(bsSetupHelper[_0x355b29(0x16a)](_0x4d127b[_0x355b29(0x178)]))return _0x40c5ab=!![],!![];});}catch(_0x411f04){logger[_0x49a0f8(0x173)](_0x49a0f8(0x209)+_0x411f04);}return _0x40c5ab||bsSetupHelper[_0x49a0f8(0x16a)](_0x3e6f6e[_0x49a0f8(0x178)]);},exports[a97_0x39bd3a(0x1b1)]=PerformanceTester[a97_0x39bd3a(0x1b9)](a97_0x39bd3a(0x133),async function(_0x3191af,_0x2d830b){const _0x5b501f=a97_0x39bd3a,_0x53ea99={};_0x53ea99[_0x5b501f(0x1c9)]=_0x5b501f(0x198),_0x53ea99[_0x5b501f(0x135)]=_0x5b501f(0x15d),_0x53ea99[_0x5b501f(0x1ba)]=_0x5b501f(0x1cc),_0x53ea99[_0x5b501f(0x152)]='application/json',_0x53ea99['lGbJr']='POST',_0x53ea99['conMa']=_0x5b501f(0x1c6),_0x53ea99['CVeGa']=function(_0x1ea009,_0x30af29){return _0x1ea009===_0x30af29;},_0x53ea99[_0x5b501f(0x183)]=_0x5b501f(0x15e),_0x53ea99['TiyAE']='false';const _0x4bf2e7=_0x53ea99,_0x4fae5c=bsSetupHelper[_0x5b501f(0x150)](_0x3191af),_0x258e04=bsSetupHelper[_0x5b501f(0x190)](_0x3191af);if(bsSetupHelper[_0x5b501f(0x18e)](_0x4fae5c)||bsSetupHelper[_0x5b501f(0x18e)](_0x258e04))return logger['error'](_0x4bf2e7['dxcus']),[null,null];try{let _0x29056a;bsSetupHelper['isUndefined'](process[_0x5b501f(0x188)][_0x5b501f(0x139)])?_0x29056a={}:_0x29056a=JSON[_0x5b501f(0x17a)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x474d38,version:_0x1c0230}=bsSetupHelper[_0x5b501f(0x14e)](_0x3191af,_0x2d830b),_0x3f072b={'projectName':_0x3191af['projectName'],'buildName':_0x3191af[_0x5b501f(0x161)]||path[_0x5b501f(0x171)](path[_0x5b501f(0x17c)](process[_0x5b501f(0x1c3)]())),'startTime':new Date()[_0x5b501f(0x182)](),'description':_0x3191af[_0x5b501f(0x162)]||'','source':{'frameworkName':_0x2d830b[_0x5b501f(0x1ff)](_0x4bf2e7[_0x5b501f(0x135)])?_0x4bf2e7[_0x5b501f(0x135)]:_0x2d830b,'frameworkVersion':bsSetupHelper[_0x5b501f(0x15a)](_0x2d830b),'sdkVersion':bsSetupHelper[_0x5b501f(0x156)](),'language':_0x4bf2e7[_0x5b501f(0x1ba)],'testFramework':_0x474d38,'testFrameworkVersion':_0x1c0230},'settings':_0x29056a,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x5b501f(0x1d6)](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0x5b501f(0x1c1)]()},_0x10f512={};_0x10f512['user']=_0x4fae5c,_0x10f512[_0x5b501f(0x20d)]=_0x258e04;const _0x43d84e={};_0x43d84e['Content-Type']=_0x4bf2e7['fQGLD'];const _0x35f571={};_0x35f571[_0x5b501f(0x179)]=_0x10f512,_0x35f571[_0x5b501f(0x1e7)]=_0x43d84e;const _0x558062=_0x35f571,_0x5d6bc8={};_0x5d6bc8[_0x5b501f(0x19c)]=_0x3f072b,_0x5d6bc8['json']=!![];const _0x457ef6=Object[_0x5b501f(0x177)](_0x558062,_0x5d6bc8),_0x28897b=await bsSetupHelper['nodeRequest'](_0x4bf2e7[_0x5b501f(0x1db)],_0x4bf2e7[_0x5b501f(0x1ef)],_0x457ef6,_0x3191af,API_URL);let _0x2e7614=process['env'][_0x5b501f(0x139)];return _0x2e7614?_0x2e7614=JSON[_0x5b501f(0x17a)](process[_0x5b501f(0x188)][_0x5b501f(0x139)]):_0x2e7614={},scripts['parseFromJson'](_0x28897b[_0x5b501f(0x164)][_0x5b501f(0x164)]),scripts[_0x5b501f(0x1c4)](),_0x2e7614['scannerVersion']=_0x28897b[_0x5b501f(0x164)][_0x5b501f(0x164)][_0x5b501f(0x160)],process[_0x5b501f(0x188)][_0x5b501f(0x139)]=JSON[_0x5b501f(0x16e)](_0x2e7614),[_0x28897b[_0x5b501f(0x164)][_0x5b501f(0x164)]['accessibilityToken'],_0x28897b[_0x5b501f(0x164)][_0x5b501f(0x164)]['id']];}catch(_0x1c51a2){if(_0x1c51a2[_0x5b501f(0x136)])logger['error'](_0x5b501f(0x132)+_0x1c51a2[_0x5b501f(0x136)]['status']+'\x20'+_0x1c51a2['response'][_0x5b501f(0x165)]+'\x20'+JSON[_0x5b501f(0x16e)](_0x1c51a2[_0x5b501f(0x136)]['data']));else{if(_0x4bf2e7[_0x5b501f(0x1fe)](_0x1c51a2[_0x5b501f(0x14a)],_0x4bf2e7[_0x5b501f(0x183)])){logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x1c51a2[_0x5b501f(0x14a)]||_0x1c51a2['stack']));for(const _0x558a78 of _0x1c51a2['errors']){logger[_0x5b501f(0x155)](_0x558a78[_0x5b501f(0x14a)]);}process[_0x5b501f(0x188)][_0x5b501f(0x185)]=_0x4bf2e7[_0x5b501f(0x15c)],process['env'][_0x5b501f(0x1e1)]=_0x4bf2e7['TiyAE'];}else logger[_0x5b501f(0x155)](_0x5b501f(0x132)+(_0x1c51a2[_0x5b501f(0x14a)]||_0x1c51a2[_0x5b501f(0x1bf)]));}return[null,null];}}),exports[a97_0x39bd3a(0x144)]=PerformanceTester[a97_0x39bd3a(0x1b9)](a97_0x39bd3a(0x192),async function(_0x2ce974){const _0x6be233=a97_0x39bd3a,_0x4c9eaf={};_0x4c9eaf[_0x6be233(0x196)]=function(_0xfd2c28,_0x226455){return _0xfd2c28!==_0x226455;},_0x4c9eaf[_0x6be233(0x13c)]=_0x6be233(0x1f3),_0x4c9eaf[_0x6be233(0x1d4)]=_0x6be233(0x155),_0x4c9eaf[_0x6be233(0x1a1)]=_0x6be233(0x1bd),_0x4c9eaf[_0x6be233(0x131)]=_0x6be233(0x207),_0x4c9eaf[_0x6be233(0x1ad)]=_0x6be233(0x16c),_0x4c9eaf[_0x6be233(0x1f0)]='test_runs/stop',_0x4c9eaf[_0x6be233(0x1ae)]=function(_0x1b9946,_0xe4db46){return _0x1b9946+_0xe4db46;},_0x4c9eaf[_0x6be233(0x15b)]=_0x6be233(0x1b3),_0x4c9eaf['uViqD']=_0x6be233(0x1ea);const _0x453c53=_0x4c9eaf;if(bsSetupHelper[_0x6be233(0x18e)](process[_0x6be233(0x188)][_0x6be233(0x1eb)])||_0x453c53[_0x6be233(0x196)](typeof process['env'][_0x6be233(0x1eb)],_0x453c53[_0x6be233(0x13c)])){const _0x4564ec={};return _0x4564ec[_0x6be233(0x158)]=_0x453c53[_0x6be233(0x1d4)],_0x4564ec[_0x6be233(0x14a)]=_0x453c53[_0x6be233(0x1a1)],_0x4564ec;}const _0x1d0516={'endTime':new Date()[_0x6be233(0x182)]()},_0x5b99c9={};_0x5b99c9[_0x6be233(0x1f2)]=_0x6be233(0x13a)+process[_0x6be233(0x188)]['BS_A11Y_JWT'],_0x5b99c9['Content-Type']=_0x453c53[_0x6be233(0x131)];const _0x14595b={};_0x14595b['headers']=_0x5b99c9;const _0x5f145d=_0x14595b,_0x218a59={};_0x218a59[_0x6be233(0x19c)]=_0x1d0516,_0x218a59[_0x6be233(0x179)]=null,_0x218a59['json']=!![];const _0x1d7642=Object[_0x6be233(0x177)](_0x5f145d,_0x218a59);try{const _0x1faf2b=await bsSetupHelper[_0x6be233(0x1c5)](_0x453c53[_0x6be233(0x1ad)],_0x453c53[_0x6be233(0x1f0)],_0x1d7642,_0x2ce974,API_URL);if(_0x1faf2b[_0x6be233(0x164)]['error'])throw new Error(_0x453c53[_0x6be233(0x1ae)](_0x453c53[_0x6be233(0x15b)],_0x1faf2b[_0x6be233(0x164)]['error']));else{logger['info'](_0x6be233(0x200)+new Date()[_0x6be233(0x182)]());const _0x30824e={};return _0x30824e[_0x6be233(0x158)]=_0x453c53[_0x6be233(0x138)],_0x30824e[_0x6be233(0x14a)]='',_0x30824e;}}catch(_0x4bee6a){_0x4bee6a[_0x6be233(0x136)]?logger[_0x6be233(0x155)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x4bee6a[_0x6be233(0x136)][_0x6be233(0x158)]+'\x20'+_0x4bee6a['response'][_0x6be233(0x165)]+'\x20'+JSON['stringify'](_0x4bee6a[_0x6be233(0x136)][_0x6be233(0x164)])):logger[_0x6be233(0x155)](_0x6be233(0x1f4)+(_0x4bee6a[_0x6be233(0x14a)]||util[_0x6be233(0x1dd)](_0x4bee6a)));const _0x1ca207={};return _0x1ca207[_0x6be233(0x158)]=_0x453c53[_0x6be233(0x1d4)],_0x1ca207['message']=_0x4bee6a[_0x6be233(0x14a)]||(_0x4bee6a[_0x6be233(0x136)]?_0x4bee6a[_0x6be233(0x136)][_0x6be233(0x158)]+':'+_0x4bee6a[_0x6be233(0x136)][_0x6be233(0x165)]:_0x4bee6a),_0x1ca207;}}),exports[a97_0x39bd3a(0x1b0)]=async(_0x4aeee0,_0x312e66=null,_0x2b71d3=![],_0x47132f=null)=>{const _0x408eae=a97_0x39bd3a,_0x17d17d={};_0x17d17d[_0x408eae(0x1f6)]=_0x408eae(0x17d),_0x17d17d[_0x408eae(0x1be)]='bstackA11yShouldScan',_0x17d17d[_0x408eae(0x19a)]=_0x408eae(0x20b),_0x17d17d['KsOsF']=function(_0x223457,_0x257abe){return _0x223457||_0x257abe;},_0x17d17d[_0x408eae(0x1e5)]=_0x408eae(0x20a);const _0x23d9b5=_0x17d17d;if(!this[_0x408eae(0x167)]()||!globals[_0x408eae(0x1ed)](_0x23d9b5[_0x408eae(0x1f6)])||!_0x2b71d3&&!globals[_0x408eae(0x1ed)](_0x23d9b5[_0x408eae(0x1be)])){logger['warn'](_0x23d9b5[_0x408eae(0x19a)]);return;}const _0x735583=_0x2b71d3?_0x23d9b5[_0x408eae(0x181)](_0x47132f,{}):globals[_0x408eae(0x1ed)](_0x23d9b5[_0x408eae(0x1e5)])||{},_0x445948={};_0x445948[_0x408eae(0x1d8)]=_0x312e66||global['browserstackSessionName'];const _0xdd59b5=Object[_0x408eae(0x177)]({},_0x735583,_0x445948);logger[_0x408eae(0x173)](_0x408eae(0x175)+util[_0x408eae(0x1dd)]('%j',_0xdd59b5));const _0x12d5cb={};return _0x12d5cb[_0x408eae(0x1a0)]=_0x312e66,await PerformanceTester[_0x408eae(0x1b9)](PerformanceA11yEvents[_0x408eae(0x1ac)],async()=>{const _0x24f409=_0x408eae,_0x2cf16=util['format'](await _0x4aeee0[_0x24f409(0x1f8)](scripts[_0x24f409(0x1b0)],_0xdd59b5));return logger[_0x24f409(0x173)](_0x24f409(0x145)+_0x2cf16),_0x2cf16;},_0x12d5cb)();},exports[a97_0x39bd3a(0x130)]=async(_0x3ec0d0,_0x78a5ad)=>{const _0x1a9968=a97_0x39bd3a,_0x23b87f={};_0x23b87f['bBkJZ']=_0x1a9968(0x1f5),_0x23b87f[_0x1a9968(0x197)]=_0x1a9968(0x17d),_0x23b87f['rZhwv']='bstackA11yShouldScan',_0x23b87f[_0x1a9968(0x1f9)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x23b87f[_0x1a9968(0x1ec)]='getAccessibilityResults',_0x23b87f[_0x1a9968(0x206)]='No\x20accessibility\x20results\x20were\x20found.';const _0x4565e1=_0x23b87f;if(!this[_0x1a9968(0x167)]()||!globals[_0x1a9968(0x1ed)](_0x4565e1[_0x1a9968(0x197)])||!globals['getGlobal'](_0x4565e1[_0x1a9968(0x1a8)]))return logger[_0x1a9968(0x1d9)](_0x4565e1['IGFEZ']),[];try{return await PerformanceTester[_0x1a9968(0x1b9)](PerformanceA11yEvents[_0x1a9968(0x1ac)],async()=>{const _0x287cb5=_0x1a9968;logger['debug'](_0x4565e1[_0x287cb5(0x202)]);const _0x2e8bf1={};_0x2e8bf1[_0x287cb5(0x1d8)]=_0x78a5ad[_0x287cb5(0x1d3)],logger[_0x287cb5(0x173)](util[_0x287cb5(0x1dd)](await _0x3ec0d0[_0x287cb5(0x1f8)](scripts[_0x287cb5(0x1b0)],_0x2e8bf1)));},{'command':_0x4565e1[_0x1a9968(0x1ec)]})(),await PerformanceTester[_0x1a9968(0x1b9)](PerformanceA11yEvents[_0x1a9968(0x1fc)],async()=>{const _0x2258da=_0x1a9968,_0x19b73e=await _0x3ec0d0[_0x2258da(0x1f8)](scripts[_0x2258da(0x180)]);return _0x19b73e;})();}catch{return logger['error'](_0x4565e1['STgSw']),[];}},exports[a97_0x39bd3a(0x18b)]=async(_0x19c813,_0x4e5f40)=>{const _0x253fc2=a97_0x39bd3a,_0x667e89={};_0x667e89[_0x253fc2(0x187)]=_0x253fc2(0x1ce),_0x667e89['pMggX']=_0x253fc2(0x17d),_0x667e89[_0x253fc2(0x172)]='bstackA11yShouldScan',_0x667e89[_0x253fc2(0x1ca)]=_0x253fc2(0x1f7),_0x667e89[_0x253fc2(0x199)]='getAccessibilityResultsSummary',_0x667e89[_0x253fc2(0x13b)]=_0x253fc2(0x1b4);const _0x187286=_0x667e89;if(!this[_0x253fc2(0x167)]()||!globals[_0x253fc2(0x1ed)](_0x187286['pMggX'])||!globals[_0x253fc2(0x1ed)](_0x187286['PmUEY']))return logger[_0x253fc2(0x1d9)](_0x187286[_0x253fc2(0x1ca)]),{};try{return await PerformanceTester[_0x253fc2(0x1b9)](PerformanceA11yEvents[_0x253fc2(0x1ac)],async()=>{const _0x14a03b=_0x253fc2;logger[_0x14a03b(0x173)](_0x187286[_0x14a03b(0x187)]);const _0x33380c={};_0x33380c[_0x14a03b(0x1d8)]=_0x4e5f40['browserstackSessionName'],logger[_0x14a03b(0x173)](util['format'](await _0x19c813[_0x14a03b(0x1f8)](scripts[_0x14a03b(0x1b0)],_0x33380c)));},{'command':_0x187286[_0x253fc2(0x199)]})(),await PerformanceTester[_0x253fc2(0x1b9)](PerformanceA11yEvents[_0x253fc2(0x1d2)],async()=>{const _0x4328c2=await _0x19c813['executeAsyncScript'](scripts['getResultsSummary']);return _0x4328c2;})();}catch{return logger[_0x253fc2(0x155)](_0x187286['wkArt']),{};}},exports[a97_0x39bd3a(0x194)]=_0x146e20=>{const _0x289a00=a97_0x39bd3a,_0x588993={};_0x588993['AHXTV']=function(_0x4d9291,_0x2f9304){return _0x4d9291===_0x2f9304;},_0x588993[_0x289a00(0x1bb)]=_0x289a00(0x1f3),_0x588993[_0x289a00(0x1aa)]=_0x289a00(0x18a);const _0x1dc0e7=_0x588993;if(_0x146e20&&_0x146e20[_0x289a00(0x1c8)]&&_0x1dc0e7['AHXTV'](typeof _0x146e20[_0x289a00(0x1c8)],_0x1dc0e7[_0x289a00(0x1bb)]))return _0x146e20[_0x289a00(0x1c8)]['includes'](_0x1dc0e7[_0x289a00(0x1aa)]);return![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a98_0x3283(_0x1b6ab8,_0x19630b){const _0x2fdcc6=a98_0x2fdc();return a98_0x3283=function(_0x3283d8,_0x532e1a){_0x3283d8=_0x3283d8-0x117;let _0x53dce2=_0x2fdcc6[_0x3283d8];return _0x53dce2;},a98_0x3283(_0x1b6ab8,_0x19630b);}const a98_0xceedfa=a98_0x3283;(function(_0x130db7,_0x1bf8c4){const _0x21e008=a98_0x3283,_0x29209c=_0x130db7();while(!![]){try{const _0x3420af=-parseInt(_0x21e008(0x13b))/0x1+parseInt(_0x21e008(0x121))/0x2+-parseInt(_0x21e008(0x149))/0x3*(parseInt(_0x21e008(0x14d))/0x4)+-parseInt(_0x21e008(0x147))/0x5+parseInt(_0x21e008(0x12f))/0x6*(-parseInt(_0x21e008(0x14a))/0x7)+-parseInt(_0x21e008(0x144))/0x8*(parseInt(_0x21e008(0x137))/0x9)+parseInt(_0x21e008(0x130))/0xa;if(_0x3420af===_0x1bf8c4)break;else _0x29209c['push'](_0x29209c['shift']());}catch(_0x3393e5){_0x29209c['push'](_0x29209c['shift']());}}}(a98_0x2fdc,0xe1786));const path=require('path'),fs=require('fs'),logger=require(a98_0xceedfa(0x139))[a98_0xceedfa(0x12c)],helper=require(a98_0xceedfa(0x11b));function a98_0x2fdc(){const _0x185a0d=['parseFromProto','fromJson','qGxYl','.browserstack','kyRRH','getResults','browserstackFolderPath','mkdirSync','XFFMX','../helper','saveTestResults','SlreC','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','VYbxM','homedir','2985266LYMcIv','VqCnb','ChromeExtension','parseFromJson','getLibrary','uObAA','saveResults','WKqkK','commandsToWrap','name','findIndex','winstonLogger','getCommand','join','2599602mvtAzY','45155180YnmZCv','getName','length','commands','2|6|3|5|1|4|0','getClass','scripts','9DspWxF','wUbhy','../../helpers/logger','toLowerCase','687901XPhsfA','existsSync','BXjEZ','Iqpax','commands.json','getResultsSummary','shouldWrapCommand','stringify','split','12801424WOEALy','sCguW','performScan','7992235VendiS','pUdEu','288GurPCM','7jTmCDg','commandsPath','scan','31868NxRqIZ'];a98_0x2fdc=function(){return _0x185a0d;};return a98_0x2fdc();}class Scripts{constructor(){const _0x1a30cb=a98_0xceedfa,_0x5075a2={};_0x5075a2['Iqpax']=_0x1a30cb(0x134),_0x5075a2[_0x1a30cb(0x13d)]=_0x1a30cb(0x151),_0x5075a2[_0x1a30cb(0x148)]=_0x1a30cb(0x13f);const _0x25d25f=_0x5075a2,_0x1a7a09=_0x25d25f[_0x1a30cb(0x13e)][_0x1a30cb(0x143)]('|');let _0x783528=0x0;while(!![]){switch(_0x1a7a09[_0x783528++]){case'0':this[_0x1a30cb(0x14f)]();continue;case'1':this[_0x1a30cb(0x118)]=path[_0x1a30cb(0x12e)](helper[_0x1a30cb(0x120)](),_0x25d25f['BXjEZ']);continue;case'2':this[_0x1a30cb(0x146)]=null;continue;case'3':this['getResultsSummary']=null;continue;case'4':this[_0x1a30cb(0x14b)]=path['join'](this[_0x1a30cb(0x118)],_0x25d25f['pUdEu']);continue;case'5':this[_0x1a30cb(0x11c)]=null;continue;case'6':this[_0x1a30cb(0x117)]=null;continue;}break;}}[a98_0xceedfa(0x124)](_0x40344d){const _0x408fa6=a98_0xceedfa;_0x40344d[_0x408fa6(0x136)]&&(this[_0x408fa6(0x146)]=_0x40344d[_0x408fa6(0x136)][_0x408fa6(0x14c)],this[_0x408fa6(0x117)]=_0x40344d[_0x408fa6(0x136)][_0x408fa6(0x117)],this[_0x408fa6(0x140)]=_0x40344d['scripts'][_0x408fa6(0x140)],this[_0x408fa6(0x11c)]=_0x40344d[_0x408fa6(0x136)]['saveResults']),this[_0x408fa6(0x129)]=_0x40344d[_0x408fa6(0x133)],this[_0x408fa6(0x123)]=_0x40344d['nonBStackInfraA11yChromeOptions'];}[a98_0xceedfa(0x14e)](_0x539982,_0x452f1a){const _0x498079=a98_0xceedfa,_0xf362d2={};_0xf362d2[_0x498079(0x122)]=function(_0xbbdf7b,_0x1a114f){return _0xbbdf7b>_0x1a114f;},_0xf362d2[_0x498079(0x152)]=function(_0x5f14f6,_0x1b5394){return _0x5f14f6===_0x1b5394;},_0xf362d2[_0x498079(0x138)]='scan',_0xf362d2['xUDxQ']=function(_0xf91df0,_0x402045){return _0xf91df0===_0x402045;},_0xf362d2[_0x498079(0x11d)]=_0x498079(0x117),_0xf362d2['sCguW']=function(_0x5b4dc0,_0x1959e0){return _0x5b4dc0===_0x1959e0;},_0xf362d2[_0x498079(0x126)]='getResultsSummary',_0xf362d2[_0x498079(0x150)]=function(_0x3f1380,_0x58abdb){return _0x3f1380===_0x58abdb;},_0xf362d2['PYbon']=_0x498079(0x127),_0xf362d2[_0x498079(0x11f)]=function(_0x6371b7,_0x23c408){return _0x6371b7>_0x23c408;};const _0x26ef08=_0xf362d2;if(_0x539982&&_0x26ef08['VqCnb'](_0x539982['length'],0x0))for(const _0x19be73 of _0x539982){if(_0x26ef08['kyRRH'](_0x19be73[_0x498079(0x131)](),_0x26ef08[_0x498079(0x138)]))this[_0x498079(0x146)]=_0x19be73[_0x498079(0x12d)]();else{if(_0x26ef08['xUDxQ'](_0x19be73['getName'](),_0x26ef08[_0x498079(0x11d)]))this[_0x498079(0x117)]=_0x19be73[_0x498079(0x12d)]();else{if(_0x26ef08[_0x498079(0x145)](_0x19be73[_0x498079(0x131)](),_0x26ef08[_0x498079(0x126)]))this['getResultsSummary']=_0x19be73[_0x498079(0x12d)]();else _0x26ef08[_0x498079(0x150)](_0x19be73['getName'](),_0x26ef08['PYbon'])&&(this[_0x498079(0x11c)]=_0x19be73['getCommand']());}}}_0x452f1a&&_0x26ef08['VYbxM'](_0x452f1a[_0x498079(0x132)],0x0)&&(this[_0x498079(0x129)]=_0x452f1a['map'](_0x1d7bfd=>{const _0x469b78=_0x498079;return{'name':_0x1d7bfd[_0x469b78(0x131)](),'method':_0x1d7bfd['getMethod'](),'library':_0x1d7bfd[_0x469b78(0x125)](),'module':_0x1d7bfd['getModule'](),'class':_0x1d7bfd[_0x469b78(0x135)]()};}));}[a98_0xceedfa(0x141)](_0x3e3058){const _0x3187e1=a98_0xceedfa,_0x2fd991={};_0x2fd991[_0x3187e1(0x128)]=function(_0x399157,_0x38ddb9){return _0x399157!==_0x38ddb9;};const _0x3491c5=_0x2fd991;try{return _0x3491c5[_0x3187e1(0x128)](this['commandsToWrap'][_0x3187e1(0x12b)](_0x1ff188=>_0x1ff188[_0x3187e1(0x12a)][_0x3187e1(0x13a)]()===_0x3e3058[_0x3187e1(0x13a)]()),-0x1);}catch(_0x2a6642){logger['debug'](_0x3187e1(0x11e)+_0x2a6642);}return![];}['toJson'](){const _0x55a044=a98_0xceedfa;!fs[_0x55a044(0x13c)](this[_0x55a044(0x118)])&&fs[_0x55a044(0x119)](this[_0x55a044(0x118)]),fs['writeFileSync'](this[_0x55a044(0x14b)],JSON[_0x55a044(0x142)]({'scripts':{'scan':this['performScan'],'getResults':this[_0x55a044(0x117)],'getResultsSummary':this[_0x55a044(0x140)],'saveResults':this[_0x55a044(0x11c)]},'commands':this[_0x55a044(0x129)],'nonBStackInfraA11yChromeOptions':this['ChromeExtension']}));}['fromJson'](){const _0x32e51c=a98_0xceedfa,_0x5d7805={'XFFMX':function(_0x19bb34,_0x38e55d){return _0x19bb34(_0x38e55d);}};fs[_0x32e51c(0x13c)](this[_0x32e51c(0x14b)])&&this['parseFromJson'](_0x5d7805[_0x32e51c(0x11a)](require,this['commandsPath']));}}module['exports']=new Scripts();
|