browserstack-node-sdk 1.70.2 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/mochaTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/runStateStore.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127_0x484e75=a127_0x345e;(function(_0x2a3d0f,_0x1cbb9b){const _0x18666f=a127_0x345e,_0x556809=_0x2a3d0f();while(!![]){try{const _0x1870e9=parseInt(_0x18666f(0x1c2))/0x1+parseInt(_0x18666f(0x1f4))/0x2+-parseInt(_0x18666f(0x182))/0x3*(parseInt(_0x18666f(0x1d0))/0x4)+-parseInt(_0x18666f(0x18e))/0x5*(parseInt(_0x18666f(0x1d7))/0x6)+parseInt(_0x18666f(0x1ee))/0x7+-parseInt(_0x18666f(0x17b))/0x8+-parseInt(_0x18666f(0x212))/0x9*(-parseInt(_0x18666f(0x1c1))/0xa);if(_0x1870e9===_0x1cbb9b)break;else _0x556809['push'](_0x556809['shift']());}catch(_0x160143){_0x556809['push'](_0x556809['shift']());}}}(a127_0x51de,0xd0f83));const path=require(a127_0x484e75(0x209)),util=require('util'),crypto=require('crypto'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a127_0x484e75(0x1a6)),logger=require(a127_0x484e75(0x1cf))['winstonLogger'],{o11yClassErrorHandler}=require(a127_0x484e75(0x1d6)),TestInfo=require(a127_0x484e75(0x1c7)),{failureData,getFailureType,PathHelper}=require(a127_0x484e75(0x18d)),stackTrace=require(a127_0x484e75(0x1eb)),{pickUserFrameFile}=require(a127_0x484e75(0x1d5)),a127_0x5170a0={};a127_0x5170a0[a127_0x484e75(0x1cd)]=a127_0x484e75(0x1c4),a127_0x5170a0['afterAll']=a127_0x484e75(0x175),a127_0x5170a0[a127_0x484e75(0x1bc)]=a127_0x484e75(0x19d),a127_0x5170a0['afterEach']=a127_0x484e75(0x1a8);const HOOK_TYPES_MAP=a127_0x5170a0,hooksMap={};function a127_0x51de(){const _0x2b163a=['jQapL','UqWHK','configureGit','error','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','ajRaB','asyncError','includes','BEFORE_EACH','md5','expect','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','TestRunSkipped','SewKS','name','[jestUtils]\x20Created\x20identifier:\x20','zmOjH','../../../helpers/helper.js','ROOT_DESCRIBE_BLOCK','AFTER_EACH','getTime','fXDcj','duration','result','RMlYN','prefixTestPath','currentTest','getFileName','getState','getRootParentFile','createIdentifierFromJestTest','file','hvCQo','BDUXg','bakuT','failure_type','createTestFrameworkData','substring','call','beforeEach','fsGJH','expanded','GOTnN','ZJFmb','1150LHQanD','201600CXgKDM','Exception\x20in\x20createHookData:\x20','BEFORE_ALL','parent','CCCLm','../TestInfo.js','match','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','err','lMjpH','_paths','beforeAll','failure_data','../../../helpers/logger.js','4rJUtaR','HookRunFinished','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','__workerDetails','bfqUH','../../../helpers/stackFrameUtils','../../../helpers/test-observability/error-handler.js','3918GTDwcR','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','title','createJestTestIdentifier',',\x20testIdentifier:\x20','Exception\x20in\x20createTestFrameworkData:\x20','RpITZ','wmyBp','stack','Unknown\x20Test','getHookRunEventData','debug','length','test','find','ywdiZ','testPath','testIdentifier','started_at','jest-circus','stack-trace','toString','getName','6077421FHBthB','BaYCL','parse','dPoyp','format','root','2991538GtyGCL','displayName','CDmWp','XBhOt','recreateIdentifierFromTestInfo','relative','getTestIdentifier','hooks','IPXDX','CHXGM','\x22\x20hook\x20for\x20\x22','djQsd','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','startedAt','QGbyM','javascript','apply','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','iZZnA','XIJtE','path','isJestInternalHook','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','createHookData','sNnAw','failure_backtrace','sLkLw','update','extractTestFilePath','74403zgKhFa','skipped','getHierarchy','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','finishedAt','WjTrj','tQyPS','failure','PCODQ','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','mdEOM','reverse','cwd','finished_at','MjdLh','RbEno','exports','Creating\x20hook\x20data\x20for\x20eventType:\x20','toISOString','aqfOT','\x20from\x20compositeKey:\x20','VoFZb','AFTER_ALL','zlLqI','unknown','EaOhI','toUpperCase','[jestUtils]\x20No\x20test\x20object\x20provided','11340296FnvESy','qaRxp','baDmU','vbJKN','type','inspect','errorsDetailed','2492274mkrZtL','browserstack-node-agent/src/bin/jest','retryOf','OYXuS','File\x20path\x20could\x20not\x20be\x20found',',\x20hookUUID:\x20','failed','jest','split','passed','__jestCurrentTestIdentifier','../../../helpers/test-observability/utils','3155UNpwaO','irSoX','JuSxc','_gitConfigPath','push','digest','testAnalyticsId'];a127_0x51de=function(){return _0x2b163a;};return a127_0x51de();}function a127_0x345e(_0x38be7c,_0x193da5){const _0x51dea0=a127_0x51de();return a127_0x345e=function(_0x345e5a,_0x4c21e2){_0x345e5a=_0x345e5a-0x169;let _0xf62eeb=_0x51dea0[_0x345e5a];return _0xf62eeb;},a127_0x345e(_0x38be7c,_0x193da5);}class JestUtils{constructor(){const _0x3421b9=a127_0x484e75;this['_gitConfigured']=![],this[_0x3421b9(0x191)]=null,this['_paths']=new PathHelper({'cwd':process[_0x3421b9(0x16b)]()},undefined);}async[a127_0x484e75(0x1b9)](_0x4b9c1a,_0x42cf6b,_0x240bc6='TestRunFinished',_0x3f3067=undefined){const _0x568e21=a127_0x484e75,_0x556d66={'wmyBp':_0x568e21(0x200),'lXRPn':_0x568e21(0x1ea),'bakuT':_0x568e21(0x186),'fXDcj':function(_0x326eb3,_0x3629c3){return _0x326eb3!==_0x3629c3;},'hvCQo':_0x568e21(0x1e4),'aTYrN':_0x568e21(0x1ca),'CDmWp':function(_0x205234,_0x2676b4){return _0x205234!==_0x2676b4;},'XIJtE':'pending','sLkLw':function(_0x122957,_0x2ab80f){return _0x122957===_0x2ab80f;},'dPoyp':_0x568e21(0x1a1),'jQapL':_0x568e21(0x213),'SewKS':'TestRunFinished','EaOhI':function(_0x41ec99,_0x58ded6){return _0x41ec99>_0x58ded6;},'VjZMH':_0x568e21(0x188),'CHXGM':'passed','gmeLo':function(_0x5cb76a,_0x3799a6){return _0x5cb76a!==_0x3799a6;},'nVYAP':function(_0x1992fd,_0x4a7d89){return _0x1992fd-_0x4a7d89;},'GzpuC':_0x568e21(0x204),'MjdLh':'jest','xrqtv':function(_0x2782dc,_0x391fc5){return _0x2782dc(_0x391fc5);},'fsGJH':function(_0x46544e,_0x460fa5){return _0x46544e===_0x460fa5;},'aqfOT':function(_0x390164,_0x4dd06f){return _0x390164===_0x4dd06f;}};logger[_0x568e21(0x1e2)](_0x568e21(0x1d8)+_0x240bc6+_0x568e21(0x1db)+_0x42cf6b);try{if(!_0x4b9c1a)return logger[_0x568e21(0x1e2)](_0x556d66[_0x568e21(0x1de)]),null;if(_0x4b9c1a['fn']&&_0x4b9c1a['fn']['toString']()[_0x568e21(0x1c8)](/browserstack internal helper hook/))return null;await this[_0x568e21(0x197)]();let _0x436c43;try{_0x436c43=this[_0x568e21(0x1b2)](_0x4b9c1a);if(_0x436c43&&_0x436c43['includes'](_0x556d66['lXRPn']))return null;}catch(_0x2545e6){logger[_0x568e21(0x1e2)](_0x568e21(0x1a0)+util[_0x568e21(0x1f2)](_0x2545e6)),_0x436c43=null;}const _0x2bf84b=this[_0x568e21(0x214)](_0x4b9c1a),_0x18f4f1=this[_0x568e21(0x1ed)](_0x4b9c1a),_0x59038a=_0x436c43?this[_0x568e21(0x1cc)][_0x568e21(0x1ae)](_0x436c43):_0x556d66[_0x568e21(0x1b7)];let _0x5ee11b=[];const _0x20d356=_0x4b9c1a['errorsDetailed']||_0x4b9c1a['errors'];if(_0x556d66['fXDcj'](_0x20d356,undefined))_0x5ee11b=[_0x20d356,_0x556d66[_0x568e21(0x1b5)]];else _0x556d66[_0x568e21(0x1aa)](_0x3f3067,undefined)&&(_0x5ee11b=[_0x3f3067,_0x556d66['aTYrN']]);const _0x41dc78=_0x556d66[_0x568e21(0x1f6)](_0x20d356,undefined)?util[_0x568e21(0x180)](_0x20d356[0x0]):_0x556d66[_0x568e21(0x1f6)](_0x3f3067,undefined)?_0x3f3067[_0x568e21(0x1ec)]():undefined;let _0x253629=_0x556d66[_0x568e21(0x208)];if(_0x556d66[_0x568e21(0x20f)](_0x240bc6,_0x556d66['dPoyp']))_0x253629=_0x556d66[_0x568e21(0x195)];else _0x556d66[_0x568e21(0x20f)](_0x240bc6,_0x556d66[_0x568e21(0x1a2)])&&(_0x20d356&&_0x556d66[_0x568e21(0x178)](_0x20d356[_0x568e21(0x1e3)],0x0)?_0x253629=_0x556d66['VjZMH']:_0x253629=_0x556d66[_0x568e21(0x1fd)]);let _0x3b7e98=null;if(_0x556d66['gmeLo'](_0x4b9c1a['duration'],undefined))_0x3b7e98=_0x4b9c1a[_0x568e21(0x1ab)];else(_0x240bc6[_0x568e21(0x1c8)](/Finished/)||_0x240bc6[_0x568e21(0x1c8)](/Skipped/))&&(_0x4b9c1a[_0x568e21(0x1e9)]&&(_0x3b7e98=_0x556d66['nVYAP'](Date['now'](),new Date(_0x4b9c1a[_0x568e21(0x1e9)])[_0x568e21(0x1a9)]())));const _0x25e318=_0x4b9c1a['fn']?_0x4b9c1a['fn'][_0x568e21(0x1ec)]():null,_0x3893f9={'id':_0x42cf6b,'uuid':_0x42cf6b,'startedAt':_0x4b9c1a['started_at']||new Date()[_0x568e21(0x171)](),'finishedAt':_0x240bc6[_0x568e21(0x1c8)](/Finished/)||_0x240bc6['match'](/Skipped/)?new Date()['toISOString']():null,'type':_0x556d66['hvCQo'],'body':{'lang':_0x556d66['GzpuC'],'code':_0x25e318},'name':_0x18f4f1,'errorsDetailed':_0x556d66['EaOhI'](_0x20d356?.[_0x568e21(0x1e3)],0x0)?_0x20d356[0x0]:_0x20d356?_0x20d356:undefined,'scopes':_0x2bf84b,'file_name':_0x59038a,'location':_0x59038a,'vc_filepath':this['_gitConfigPath']&&_0x436c43?path['relative'](this[_0x568e21(0x191)],_0x436c43):null,'framework':_0x556d66[_0x568e21(0x16d)],'result':_0x253629,'failure_reason':_0x41dc78,'duration_in_ms':_0x3b7e98,'failure':failureData[_0x568e21(0x205)](null,_0x5ee11b),'failure_type':!_0x41dc78?null:_0x556d66['xrqtv'](getFailureType,_0x41dc78),'retry_of':_0x4b9c1a[_0x568e21(0x184)]||null,'customRerunParam':{'rerun_name':_0x18f4f1}};_0x556d66[_0x568e21(0x1bd)](_0x240bc6,_0x556d66[_0x568e21(0x1f1)])&&!_0x3893f9[_0x568e21(0x202)]&&(_0x3893f9[_0x568e21(0x202)]=_0x3893f9[_0x568e21(0x216)]);const _0x32df02=_0x3893f9[_0x568e21(0x219)]&&_0x3893f9[_0x568e21(0x219)][0x0];return _0x32df02&&(_0x3893f9[_0x568e21(0x20e)]=_0x32df02['backtrace'],_0x3893f9['failure_reason_expanded']=_0x32df02[_0x568e21(0x1be)]),(_0x556d66[_0x568e21(0x172)](_0x240bc6,_0x556d66['SewKS'])||_0x556d66[_0x568e21(0x20f)](_0x240bc6,_0x556d66['dPoyp']))&&(_0x4b9c1a[_0x568e21(0x1fb)]&&(_0x3893f9[_0x568e21(0x1fb)]=_0x4b9c1a[_0x568e21(0x1fb)])),_0x3893f9;}catch(_0x90617f){return logger[_0x568e21(0x1e2)](_0x568e21(0x1dc)+util[_0x568e21(0x1f2)](_0x90617f)),null;}}async['createHookData'](_0x4ac0e4,_0x4c56f2,_0x35e050,_0x1c8f05){const _0x48e84b=a127_0x484e75,_0x5d3ca0={'zmOjH':_0x48e84b(0x215),'eGYtp':_0x48e84b(0x1ea),'OWvXc':_0x48e84b(0x183),'zlLqI':_0x48e84b(0x177),'RpITZ':'pending','tQyPS':function(_0x322393,_0x5c49ed){return _0x322393===_0x5c49ed;},'InQFB':_0x48e84b(0x1d1),'QGbyM':function(_0x4424f6,_0x41f886){return _0x4424f6>_0x41f886;},'mdEOM':_0x48e84b(0x188),'VoFZb':function(_0x1234d1,_0x553db8){return _0x1234d1(_0x553db8);},'jJwPT':_0x48e84b(0x1e4),'RMlYN':_0x48e84b(0x18b),'xZmQR':'hook','ZJFmb':'javascript','BaYCL':_0x48e84b(0x189),'rRqWg':'HookRunStarted'};logger['debug'](_0x48e84b(0x170)+_0x35e050+_0x48e84b(0x187)+_0x4c56f2+',\x20testRunId:\x20'+_0x1c8f05);try{if(!_0x4ac0e4)return logger[_0x48e84b(0x1e2)](_0x5d3ca0[_0x48e84b(0x1a5)]),null;if(this[_0x48e84b(0x20a)](_0x4ac0e4))return null;await this[_0x48e84b(0x197)]();let _0x4e3133=null;try{_0x4e3133=this[_0x48e84b(0x1b2)](_0x4ac0e4);if(_0x4e3133&&_0x4e3133[_0x48e84b(0x19c)](_0x5d3ca0['eGYtp']))return null;if(_0x4e3133&&_0x4e3133[_0x48e84b(0x19c)](_0x5d3ca0['OWvXc']))return null;}catch(_0x506fa1){logger[_0x48e84b(0x1e2)](_0x48e84b(0x20b)+util[_0x48e84b(0x1f2)](_0x506fa1));}const _0x495baf=_0x4e3133?this[_0x48e84b(0x1cc)][_0x48e84b(0x1ae)](_0x4e3133):_0x4e3133,_0x4c66f4=this[_0x48e84b(0x1ed)](_0x4ac0e4),_0x3964f2=_0x4ac0e4[_0x48e84b(0x17f)]||_0x5d3ca0[_0x48e84b(0x176)],_0x2f1b83=HOOK_TYPES_MAP[_0x3964f2]||_0x3964f2[_0x48e84b(0x179)](),_0x1929f1=_0x4ac0e4[_0x48e84b(0x1c5)]&&_0x4ac0e4[_0x48e84b(0x1c5)][_0x48e84b(0x1a3)]?_0x4ac0e4[_0x48e84b(0x1c5)][_0x48e84b(0x1a3)]:'';let _0x5f00c7=_0x5d3ca0[_0x48e84b(0x1dd)],_0x1bdff0=null,_0x315984=null,_0x3104b7=null,_0x5d7809=null;_0x5d3ca0[_0x48e84b(0x218)](_0x35e050,_0x5d3ca0['InQFB'])&&(_0x5d7809=new Date()[_0x48e84b(0x171)](),_0x4ac0e4[_0x48e84b(0x181)]&&_0x5d3ca0[_0x48e84b(0x203)](_0x4ac0e4[_0x48e84b(0x181)][_0x48e84b(0x1e3)],0x0)?(_0x5f00c7=_0x5d3ca0[_0x48e84b(0x169)],_0x315984=util[_0x48e84b(0x180)](_0x4ac0e4[_0x48e84b(0x181)][0x0]),_0x1bdff0=_0x5d3ca0[_0x48e84b(0x174)](getFailureType,_0x315984),_0x3104b7=failureData['apply'](null,[_0x4ac0e4[_0x48e84b(0x181)],_0x5d3ca0['jJwPT']])):_0x5f00c7=_0x5d3ca0[_0x48e84b(0x1ad)]);const _0x2b3d21={'uuid':_0x4c56f2,'type':_0x5d3ca0['xZmQR'],'hook_type':_0x2f1b83,'name':_0x4c66f4,'body':{'lang':_0x5d3ca0[_0x48e84b(0x1c0)],'code':_0x4ac0e4['fn']?_0x4ac0e4['fn'][_0x48e84b(0x1ec)]():null},'tags':[],'test_run_id':_0x1c8f05,'scope':_0x1929f1,'scopes':[_0x1929f1],'file_name':_0x495baf,'location':_0x495baf,'vc_filepath':this[_0x48e84b(0x191)]&&_0x4e3133?path[_0x48e84b(0x1f9)](this[_0x48e84b(0x191)],_0x4e3133):null,'result':_0x5f00c7,'started_at':_0x4ac0e4[_0x48e84b(0x1e9)]||new Date()[_0x48e84b(0x171)](),'finished_at':_0x5d7809,'failure_type':_0x1bdff0,'failure_reason':_0x315984,'failure_data':_0x3104b7,'framework':_0x5d3ca0[_0x48e84b(0x1ef)]};return _0x5d3ca0[_0x48e84b(0x218)](_0x35e050,_0x5d3ca0['rRqWg'])&&(hooksMap[_0x1c8f05]?hooksMap[_0x1c8f05][_0x48e84b(0x192)](_0x2b3d21):hooksMap[_0x1c8f05]=[_0x2b3d21]),_0x2b3d21;}catch(_0x20b071){return logger[_0x48e84b(0x1e2)](_0x48e84b(0x1c3)+util['format'](_0x20b071)),null;}}['getHookRunEventData'](_0x3bdea9,_0x3bf35d,_0x33955e){const _0x233bab=a127_0x484e75,_0x39fd53={'vbJKN':function(_0x48bca0,_0x28bd2e){return _0x48bca0>_0x28bd2e;},'sNnAw':'failed','EbibP':function(_0x4d0cb5,_0x4d6e9e){return _0x4d0cb5(_0x4d6e9e);},'irSoX':_0x233bab(0x1e4),'XBhOt':_0x233bab(0x18b)};try{const _0x5bc79c=hooksMap[_0x3bdea9];if(!_0x5bc79c)return null;const _0x5559b3=_0x5bc79c[_0x233bab(0x1e5)](_0x3c2bfe=>_0x3c2bfe['uuid']===_0x3bf35d);if(!_0x5559b3)return null;return _0x5559b3[_0x233bab(0x16c)]=new Date()[_0x233bab(0x171)](),_0x33955e[_0x233bab(0x181)]&&_0x39fd53[_0x233bab(0x17e)](_0x33955e[_0x233bab(0x181)][_0x233bab(0x1e3)],0x0)?(_0x5559b3[_0x233bab(0x1ac)]=_0x39fd53[_0x233bab(0x20d)],_0x5559b3['failure_reason']=util['inspect'](_0x33955e['errorsDetailed'][0x0]),_0x5559b3[_0x233bab(0x1b8)]=_0x39fd53['EbibP'](getFailureType,_0x5559b3['failure_reason']),_0x5559b3[_0x233bab(0x1ce)]=failureData['apply'](null,[_0x33955e[_0x233bab(0x181)],_0x39fd53[_0x233bab(0x18f)]])):_0x5559b3[_0x233bab(0x1ac)]=_0x39fd53[_0x233bab(0x1f7)],_0x5559b3;}catch(_0xd4c8a1){return logger[_0x233bab(0x1e2)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x233bab(0x1f2)](_0xd4c8a1)),null;}}[a127_0x484e75(0x1ed)](_0x55e84d){const _0x129fc1=a127_0x484e75,_0x534ce0={};_0x534ce0['RbEno']=function(_0x5928de,_0x2ce730){return _0x5928de!==_0x2ce730;},_0x534ce0['WjTrj']='test',_0x534ce0['UqWHK']=_0x129fc1(0x1e0);const _0x6224b4=_0x534ce0;if(_0x6224b4[_0x129fc1(0x16e)](_0x55e84d[_0x129fc1(0x17f)],_0x6224b4[_0x129fc1(0x217)]))return'\x22'+_0x55e84d[_0x129fc1(0x17f)]+_0x129fc1(0x1fe)+(_0x55e84d['parent']&&_0x55e84d[_0x129fc1(0x1c5)][_0x129fc1(0x1a3)])+'\x22';return _0x55e84d[_0x129fc1(0x1a3)]||_0x6224b4[_0x129fc1(0x196)];}[a127_0x484e75(0x214)](_0x472cfe){const _0x4af59d=a127_0x484e75,_0x1fdda6={};_0x1fdda6[_0x4af59d(0x1ff)]=function(_0x392d0b,_0x30ab1e){return _0x392d0b!==_0x30ab1e;},_0x1fdda6[_0x4af59d(0x19a)]='ROOT_DESCRIBE_BLOCK';const _0x4d7330=_0x1fdda6,_0x4717e8=[];if(_0x472cfe&&_0x472cfe[_0x4af59d(0x1c5)]){let _0x3743fa=_0x472cfe[_0x4af59d(0x1c5)];while(_0x3743fa&&_0x3743fa['name']&&_0x4d7330[_0x4af59d(0x1ff)](_0x3743fa[_0x4af59d(0x1a3)],'')&&_0x4d7330[_0x4af59d(0x1ff)](_0x3743fa[_0x4af59d(0x1a3)],_0x4d7330[_0x4af59d(0x19a)])){_0x4717e8['push'](_0x3743fa[_0x4af59d(0x1a3)]),_0x3743fa=_0x3743fa[_0x4af59d(0x1c5)];}}return _0x4717e8[_0x4af59d(0x16a)](),_0x4717e8;}['getRootParentFile'](_0x5d62e5){const _0x452c3f=a127_0x484e75,_0x58ceda={'ywdiZ':function(_0x1a22cf,_0x48b138){return _0x1a22cf(_0x48b138);}};if(_0x5d62e5[_0x452c3f(0x1b4)])return _0x5d62e5[_0x452c3f(0x1b4)];if(_0x5d62e5[_0x452c3f(0x19b)])try{const _0x242acc=stackTrace[_0x452c3f(0x1f0)][_0x452c3f(0x1bb)](stackTrace,_0x5d62e5[_0x452c3f(0x19b)]),_0x46a067=_0x58ceda[_0x452c3f(0x1e6)](pickUserFrameFile,_0x242acc);if(_0x46a067)return _0x46a067;logger[_0x452c3f(0x1e2)](_0x452c3f(0x1d2)+_0x242acc[_0x452c3f(0x1e3)]+')');}catch(_0x2f5d8c){logger['debug'](_0x452c3f(0x199)+util[_0x452c3f(0x1f2)](_0x2f5d8c));}return null;}['isJestInternalHook'](_0x34fe7){const _0x1331b3=a127_0x484e75,_0x337e1a={};_0x337e1a['CCCLm']=_0x1331b3(0x1ea);const _0x47bef4=_0x337e1a;try{const _0x358ab4=this[_0x1331b3(0x1b2)](_0x34fe7);if(!_0x358ab4||_0x358ab4[_0x1331b3(0x19c)](_0x47bef4[_0x1331b3(0x1c6)]))return!![];}catch(_0x480146){logger['debug']('Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20'+util[_0x1331b3(0x1f2)](_0x480146));}return![];}[a127_0x484e75(0x1fa)](_0x279e36=null){const _0x5678dd=a127_0x484e75;try{const _0x7df1fc=_0x279e36||global[_0x5678dd(0x1d3)]||{};if(global[_0x5678dd(0x18c)])return global['__jestCurrentTestIdentifier'];if(_0x7df1fc?.[_0x5678dd(0x1af)]?.[_0x5678dd(0x194)])return _0x7df1fc[_0x5678dd(0x1af)]['testAnalyticsId'];if(_0x7df1fc?.['currentTest']?.['id'])return _0x7df1fc[_0x5678dd(0x1af)]['id'];return null;}catch(_0x34075b){return logger[_0x5678dd(0x1e2)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util[_0x5678dd(0x1f2)](_0x34075b)),null;}}async[a127_0x484e75(0x197)](){const _0x18671b=a127_0x484e75,_0x597c05={'lMjpH':function(_0x26e98c){return _0x26e98c();}};if(this['_gitConfigured'])return this[_0x18671b(0x191)];const _0x1caeac=await _0x597c05[_0x18671b(0x1cb)](getGitMetaData);_0x1caeac&&(this[_0x18671b(0x191)]=_0x1caeac[_0x18671b(0x1f3)]),this['_gitConfigured']=!![];}['clearHooksMap'](_0x2ff477){hooksMap[_0x2ff477]&&delete hooksMap[_0x2ff477];}[a127_0x484e75(0x211)](_0x175ed7){const _0x594752=a127_0x484e75,_0x1a5e41={'baDmU':_0x594752(0x1ea),'BDUXg':function(_0x301192,_0x519e8c){return _0x301192(_0x519e8c);},'OYXuS':_0x594752(0x19f)};if(_0x175ed7[_0x594752(0x1b4)])return _0x175ed7[_0x594752(0x1b4)];if(_0x175ed7['asyncError']){try{const _0x8f9c52=stackTrace[_0x594752(0x1f0)](_0x175ed7[_0x594752(0x19b)]);if(_0x8f9c52[0x0]&&_0x8f9c52[0x0][_0x594752(0x1b0)]){const _0xb89b09=_0x8f9c52[0x0][_0x594752(0x1b0)]();if(_0xb89b09&&!_0xb89b09[_0x594752(0x19c)](_0x1a5e41[_0x594752(0x17d)]))return _0xb89b09;}}catch(_0x3d6b83){logger[_0x594752(0x1e2)](_0x594752(0x206)+util[_0x594752(0x1f2)](_0x3d6b83));}if(_0x175ed7[_0x594752(0x19b)]['stack']){const _0x3f6869=_0x175ed7['asyncError'][_0x594752(0x1df)][_0x594752(0x18a)]('\x0a');for(const _0x391be7 of _0x3f6869){const _0x169d5b=_0x391be7[_0x594752(0x1c8)](/at (.+?):\d+:\d+/);if(_0x169d5b&&_0x169d5b[0x1]&&!_0x169d5b[0x1][_0x594752(0x19c)](_0x1a5e41[_0x594752(0x17d)]))return _0x169d5b[0x1];}}}let _0x2fe15d=_0x175ed7[_0x594752(0x1c5)];while(_0x2fe15d){if(_0x2fe15d['file'])return _0x2fe15d[_0x594752(0x1b4)];if(_0x2fe15d[_0x594752(0x19b)])try{const _0x392cdf=stackTrace[_0x594752(0x1f0)](_0x2fe15d['asyncError']);if(_0x392cdf[0x0]&&_0x392cdf[0x0][_0x594752(0x1b0)]){const _0x54d880=_0x392cdf[0x0][_0x594752(0x1b0)]();if(_0x54d880&&!_0x54d880[_0x594752(0x19c)](_0x1a5e41[_0x594752(0x17d)]))return _0x54d880;}}catch(_0x5ea2a6){}_0x2fe15d=_0x2fe15d[_0x594752(0x1c5)];}try{const _0x522313=_0x1a5e41[_0x594752(0x1b6)](require,_0x1a5e41[_0x594752(0x185)]);if(_0x522313&&_0x522313[_0x594752(0x1b1)]){const _0x18e399=_0x522313['getState']();if(_0x18e399&&_0x18e399['testPath'])return _0x18e399['testPath'];}}catch(_0x1957b4){logger[_0x594752(0x1e2)](_0x594752(0x21b)+util[_0x594752(0x1f2)](_0x1957b4));}return null;}[a127_0x484e75(0x1da)](_0x57583c){const _0x568828=a127_0x484e75,_0x2b8b8b={};_0x2b8b8b[_0x568828(0x1d4)]=_0x568828(0x201),_0x2b8b8b[_0x568828(0x17c)]=function(_0xf8aade,_0x543ddb){return _0xf8aade!==_0x543ddb;},_0x2b8b8b[_0x568828(0x190)]=_0x568828(0x1a7),_0x2b8b8b['YUXLS']=_0x568828(0x1ea),_0x2b8b8b[_0x568828(0x207)]=_0x568828(0x19e),_0x2b8b8b[_0x568828(0x21a)]='hex';const _0x1d4102=_0x2b8b8b;try{if(!_0x57583c)return logger[_0x568828(0x198)](_0x1d4102[_0x568828(0x1d4)]),null;const _0x4cff2f=_0x57583c['fullName']||_0x57583c[_0x568828(0x1a3)]||_0x57583c[_0x568828(0x1d9)]||_0x57583c[_0x568828(0x1f5)];let _0x4ccdd8=_0x4cff2f;if(_0x57583c[_0x568828(0x1c5)]&&_0x57583c[_0x568828(0x1c5)][_0x568828(0x1a3)]&&_0x1d4102[_0x568828(0x17c)](_0x57583c[_0x568828(0x1c5)]['name'],_0x1d4102[_0x568828(0x190)])){const _0x4af991=_0x57583c['name']||_0x57583c[_0x568828(0x1d9)];_0x4af991&&(_0x4ccdd8=_0x57583c[_0x568828(0x1c5)][_0x568828(0x1a3)]+'\x20'+_0x4af991);}let _0x28a17e=_0x57583c[_0x568828(0x1e7)];if(!_0x28a17e&&_0x57583c[_0x568828(0x19b)]){try{const _0xfb0f25=stackTrace[_0x568828(0x1f0)](_0x57583c[_0x568828(0x19b)]);if(_0xfb0f25[0x0]&&_0xfb0f25[0x0][_0x568828(0x1b0)]){const _0x103e92=_0xfb0f25[0x0]['getFileName']();_0x103e92&&!_0x103e92[_0x568828(0x19c)](_0x1d4102['YUXLS'])&&(_0x28a17e=_0x103e92);}}catch(_0x24e495){logger[_0x568828(0x1e2)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x568828(0x1f2)](_0x24e495));}if(!_0x28a17e&&_0x57583c[_0x568828(0x19b)][_0x568828(0x1df)]){const _0x47471b=_0x57583c['asyncError'][_0x568828(0x1df)][_0x568828(0x18a)]('\x0a');for(const _0x475286 of _0x47471b){const _0x494b12=_0x475286[_0x568828(0x1c8)](/at (.+?):\d+:\d+/);if(_0x494b12&&_0x494b12[0x1]&&!_0x494b12[0x1][_0x568828(0x19c)](_0x1d4102['YUXLS'])){_0x28a17e=_0x494b12[0x1];break;}}}}const _0x499f25=_0x28a17e+'::'+_0x4ccdd8,_0x542090=crypto['createHash'](_0x1d4102[_0x568828(0x207)])[_0x568828(0x210)](_0x499f25)[_0x568828(0x193)](_0x1d4102[_0x568828(0x21a)])[_0x568828(0x1ba)](0x0,0x8),_0xb9f161=process['pid']+':jest-'+_0x542090;return logger[_0x568828(0x1e2)](_0x568828(0x1a4)+_0xb9f161+_0x568828(0x173)+_0x499f25),_0xb9f161;}catch(_0x32ad57){return logger[_0x568828(0x198)]('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0x568828(0x1f2)](_0x32ad57)),null;}}['createIdentifierFromJestTest'](_0x116e8e){const _0x11f444=a127_0x484e75,_0x5ebb0c={};_0x5ebb0c[_0x11f444(0x1bf)]=_0x11f444(0x17a);const _0x3173c4=_0x5ebb0c;if(!_0x116e8e)return logger[_0x11f444(0x1e2)](_0x3173c4[_0x11f444(0x1bf)]),null;const _0x1eee17=this['extractTestFilePath'](_0x116e8e),_0x1c98cb={};_0x1c98cb[_0x11f444(0x1a3)]=_0x116e8e[_0x11f444(0x1a3)]||_0x116e8e[_0x11f444(0x1d9)],_0x1c98cb['parent']=_0x116e8e['parent'],_0x1c98cb[_0x11f444(0x1e7)]=_0x1eee17,_0x1c98cb[_0x11f444(0x19b)]=_0x116e8e[_0x11f444(0x19b)];const _0x4783b0=_0x1c98cb;return this[_0x11f444(0x1da)](_0x4783b0);}[a127_0x484e75(0x1f8)](_0x56c1cc,_0x5a96eb=null){const _0x2e519b=a127_0x484e75,_0x2fddb8={};_0x2fddb8['IPXDX']=_0x2e519b(0x1c9);const _0x37aca9=_0x2fddb8;if(!_0x56c1cc)return logger[_0x2e519b(0x1e2)](_0x37aca9[_0x2e519b(0x1fc)]),_0x5a96eb;if(_0x56c1cc[_0x2e519b(0x1e8)])return logger['debug']('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x56c1cc[_0x2e519b(0x1e8)]),_0x56c1cc['testIdentifier'];return this[_0x2e519b(0x1da)](_0x56c1cc)||_0x5a96eb;}}module[a127_0x484e75(0x16f)]=o11yClassErrorHandler(JestUtils,[a127_0x484e75(0x197),a127_0x484e75(0x214),'getRootParentFile',a127_0x484e75(0x1ed),'isJestInternalHook',a127_0x484e75(0x1fa),a127_0x484e75(0x1b9),a127_0x484e75(0x20c),a127_0x484e75(0x1e1),'clearHooksMap','extractTestFilePath',a127_0x484e75(0x1da),a127_0x484e75(0x1b3),a127_0x484e75(0x1f8)]);
|
|
1
|
+
function a127_0x2785(){const _0x4f7c2a=['update','failure_reason','bfjTH','_paths','testAnalyticsId','getTime','prefixTestPath','BEFORE_ALL','isJestInternalHook','Creating\x20hook\x20data\x20for\x20eventType:\x20','apply','finishedAt','createHookData','substring','beforeAll','createTestFrameworkData','qEZhW','uuid','lfZQG','push','expanded','1005549BWKkkN','HQymP','hyHDa','OsTvz','oOHiP','finished_at','HFhlp','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','test','toUpperCase','QmvkT','parse','LNvOA','syUKY','errors','qQIVa','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','iLUuJ','failed','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','errorsDetailed','oTSSo','configureGit','createIdentifierFromJestTest','pending','failure','pid','inspect','../../../helpers/test-observability/error-handler.js','getFileName','eQGlT','1322622jEQRgX','441356yoBmFK','parent','ElTHU','Exception\x20in\x20getHookRunEventData:\x20','AFWor','name','afterAll',':jest-','TestRunFinished','unknown','beforeEach','ltpAL','EjDMo','../../../helpers/test-observability/utils','RWgVv','duration','getHierarchy','failure_backtrace','err','NipqV','104wjyiDz','started_at','skipped','Unknown\x20Test','zepYH','__workerDetails','kziNi','rXhsX','Exception\x20in\x20createTestFrameworkData:\x20','__jestCurrentTestIdentifier','error',',\x20testRunId:\x20','browserstack-node-agent/src/bin/jest','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','_gitConfigPath','javascript','digest','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','HMAOG','createHash','IzfKR','split','3642620dzndpH','type','cwd','testPath','\x20from\x20compositeKey:\x20','FZtXU','reverse','rAimH','kmCgw','passed','ogLZt','clearHooksMap','ZMYuO','[jestUtils]\x20Created\x20identifier:\x20','hook','_gitConfigured','AFTER_EACH','title','stack-trace','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','jest-circus','HookRunStarted','util','getName','vCrLZ','21165HIVeTf','hWbYd','asyncError','extractTestFilePath','1110QxYFwP','BEFORE_EACH','QBiXB','debug','crypto','displayName','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','TestRunSkipped','toString','File\x20path\x20could\x20not\x20be\x20found','recreateIdentifierFromTestInfo','testIdentifier','toISOString','backtrace','getTestIdentifier','file','956578GIczPL','FpLSA','md5','Axgez','call','114399wCcKIL','tNkYa','ROOT_DESCRIBE_BLOCK','MlUAI','yZuYw','QTKVa','expect',',\x20testIdentifier:\x20','match','getHookRunEventData','exports','length','currentTest','bFSDN','tQCdS','stack','rcfpO','../TestInfo.js','root','getState','relative','AFTER_ALL','[jestUtils]\x20No\x20test\x20object\x20provided','xcszu','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','getRootParentFile','failure_data','find','startedAt','utOPB','Modfx','[jestUtils]\x20Error\x20creating\x20identifier:\x20','hqsIx','hooks','format','aPHKA','createJestTestIdentifier','../../../helpers/helper.js','ZMHOY','includes','XicAA','shXEt','jSYgQ','jest'];a127_0x2785=function(){return _0x4f7c2a;};return a127_0x2785();}const a127_0x293ef7=a127_0x383e;(function(_0x51e8e2,_0x40298f){const _0x2250dd=a127_0x383e,_0x21ff24=_0x51e8e2();while(!![]){try{const _0x417bd7=-parseInt(_0x2250dd(0x20b))/0x1+-parseInt(_0x2250dd(0x16c))/0x2+parseInt(_0x2250dd(0x16b))/0x3+parseInt(_0x2250dd(0x196))/0x4+parseInt(_0x2250dd(0x1af))/0x5*(parseInt(_0x2250dd(0x1b3))/0x6)+-parseInt(_0x2250dd(0x1c3))/0x7+-parseInt(_0x2250dd(0x180))/0x8*(parseInt(_0x2250dd(0x1c8))/0x9);if(_0x417bd7===_0x40298f)break;else _0x21ff24['push'](_0x21ff24['shift']());}catch(_0x1c8e5){_0x21ff24['push'](_0x21ff24['shift']());}}}(a127_0x2785,0x9412e));const path=require('path'),util=require(a127_0x293ef7(0x1ac)),crypto=require(a127_0x293ef7(0x1b7)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a127_0x293ef7(0x1ef)),logger=require('../../../helpers/logger.js')['winstonLogger'],{o11yClassErrorHandler}=require(a127_0x293ef7(0x168)),TestInfo=require(a127_0x293ef7(0x1d9)),{failureData,getFailureType,PathHelper}=require(a127_0x293ef7(0x179)),stackTrace=require(a127_0x293ef7(0x1a8)),{pickUserFrameFile}=require('../../../helpers/stackFrameUtils'),a127_0x69f70a={};a127_0x69f70a[a127_0x293ef7(0x204)]=a127_0x293ef7(0x1fd),a127_0x69f70a[a127_0x293ef7(0x172)]=a127_0x293ef7(0x1dd),a127_0x69f70a[a127_0x293ef7(0x176)]=a127_0x293ef7(0x1b4),a127_0x69f70a['afterEach']=a127_0x293ef7(0x1a6);const HOOK_TYPES_MAP=a127_0x69f70a,hooksMap={};function a127_0x383e(_0x56b8e0,_0x506815){const _0x27854e=a127_0x2785();return a127_0x383e=function(_0x383e2,_0x5b9d5e){_0x383e2=_0x383e2-0x15a;let _0x428ac=_0x27854e[_0x383e2];return _0x428ac;},a127_0x383e(_0x56b8e0,_0x506815);}class JestUtils{constructor(){const _0x31a164=a127_0x293ef7;this[_0x31a164(0x1a5)]=![],this[_0x31a164(0x18e)]=null,this[_0x31a164(0x1f9)]=new PathHelper({'cwd':process[_0x31a164(0x198)]()},undefined);}async[a127_0x293ef7(0x205)](_0xc09e06,_0xf2e2b4,_0x379d80=a127_0x293ef7(0x174),_0x2eeec5=undefined){const _0x42a567=a127_0x293ef7,_0x972ff9={'tQCdS':_0x42a567(0x1e0),'ZMHOY':_0x42a567(0x1aa),'bfjTH':_0x42a567(0x1bc),'qEZhW':function(_0x1ed2b1,_0x4de0ff){return _0x1ed2b1!==_0x4de0ff;},'Axgez':_0x42a567(0x213),'eQGlT':function(_0x662749,_0x370f24){return _0x662749!==_0x370f24;},'hqsIx':_0x42a567(0x17e),'Zkxyw':_0x42a567(0x164),'utOPB':function(_0x7e1557,_0xd051ad){return _0x7e1557===_0xd051ad;},'IzfKR':_0x42a567(0x1ba),'ltpAL':_0x42a567(0x182),'OsTvz':function(_0x88964,_0x4f0f18){return _0x88964===_0x4f0f18;},'QmvkT':_0x42a567(0x174),'ogLZt':function(_0x5f0743,_0x32902f){return _0x5f0743>_0x32902f;},'RWgVv':'failed','Dcfog':_0x42a567(0x19f),'bFSDN':function(_0x2c3131,_0x19a71c){return _0x2c3131-_0x19a71c;},'lLMfu':_0x42a567(0x18f),'cynrV':_0x42a567(0x1f5),'wxENL':function(_0x191500,_0x29c012){return _0x191500(_0x29c012);},'QTKVa':function(_0x19432c,_0x13afb6){return _0x19432c===_0x13afb6;},'ZMYuO':function(_0x3e438b,_0x234dab){return _0x3e438b===_0x234dab;}};logger[_0x42a567(0x1b6)](_0x42a567(0x1e1)+_0x379d80+_0x42a567(0x1cf)+_0xf2e2b4);try{if(!_0xc09e06)return logger['debug'](_0x972ff9[_0x42a567(0x1d6)]),null;if(_0xc09e06['fn']&&_0xc09e06['fn'][_0x42a567(0x1bb)]()[_0x42a567(0x1d0)](/browserstack internal helper hook/))return null;await this[_0x42a567(0x162)]();let _0x3b9a3d;try{_0x3b9a3d=this[_0x42a567(0x1e3)](_0xc09e06);if(_0x3b9a3d&&_0x3b9a3d[_0x42a567(0x1f1)](_0x972ff9[_0x42a567(0x1f0)]))return null;}catch(_0x4cbfbb){logger['debug'](_0x42a567(0x1e2)+util[_0x42a567(0x1ec)](_0x4cbfbb)),_0x3b9a3d=null;}const _0x2ed765=this[_0x42a567(0x17c)](_0xc09e06),_0x227588=this[_0x42a567(0x1ad)](_0xc09e06),_0x5d88f0=_0x3b9a3d?this[_0x42a567(0x1f9)][_0x42a567(0x1fc)](_0x3b9a3d):_0x972ff9[_0x42a567(0x1f8)];let _0x8e7ff0=[];const _0x265d55=_0xc09e06['errorsDetailed']||_0xc09e06[_0x42a567(0x15a)];if(_0x972ff9[_0x42a567(0x206)](_0x265d55,undefined))_0x8e7ff0=[_0x265d55,_0x972ff9['Axgez']];else _0x972ff9[_0x42a567(0x16a)](_0x2eeec5,undefined)&&(_0x8e7ff0=[_0x2eeec5,_0x972ff9[_0x42a567(0x1ea)]]);const _0x335de9=_0x972ff9['eQGlT'](_0x265d55,undefined)?util[_0x42a567(0x167)](_0x265d55[0x0]):_0x972ff9['eQGlT'](_0x2eeec5,undefined)?_0x2eeec5[_0x42a567(0x1bb)]():undefined;let _0x525262=_0x972ff9['Zkxyw'];if(_0x972ff9[_0x42a567(0x1e7)](_0x379d80,_0x972ff9[_0x42a567(0x194)]))_0x525262=_0x972ff9[_0x42a567(0x177)];else _0x972ff9[_0x42a567(0x20e)](_0x379d80,_0x972ff9['QmvkT'])&&(_0x265d55&&_0x972ff9[_0x42a567(0x1a0)](_0x265d55[_0x42a567(0x1d3)],0x0)?_0x525262=_0x972ff9[_0x42a567(0x17a)]:_0x525262=_0x972ff9['Dcfog']);let _0x67d81c=null;if(_0x972ff9['eQGlT'](_0xc09e06[_0x42a567(0x17b)],undefined))_0x67d81c=_0xc09e06['duration'];else(_0x379d80[_0x42a567(0x1d0)](/Finished/)||_0x379d80[_0x42a567(0x1d0)](/Skipped/))&&(_0xc09e06[_0x42a567(0x181)]&&(_0x67d81c=_0x972ff9[_0x42a567(0x1d5)](Date['now'](),new Date(_0xc09e06[_0x42a567(0x181)])[_0x42a567(0x1fb)]())));const _0x4cdb2d=_0xc09e06['fn']?_0xc09e06['fn'][_0x42a567(0x1bb)]():null,_0x132858={'id':_0xf2e2b4,'uuid':_0xf2e2b4,'startedAt':_0xc09e06['started_at']||new Date()[_0x42a567(0x1bf)](),'finishedAt':_0x379d80[_0x42a567(0x1d0)](/Finished/)||_0x379d80[_0x42a567(0x1d0)](/Skipped/)?new Date()[_0x42a567(0x1bf)]():null,'type':_0x972ff9[_0x42a567(0x1c6)],'body':{'lang':_0x972ff9['lLMfu'],'code':_0x4cdb2d},'name':_0x227588,'errorsDetailed':_0x972ff9['ogLZt'](_0x265d55?.['length'],0x0)?_0x265d55[0x0]:_0x265d55?_0x265d55:undefined,'scopes':_0x2ed765,'file_name':_0x5d88f0,'location':_0x5d88f0,'vc_filepath':this[_0x42a567(0x18e)]&&_0x3b9a3d?path[_0x42a567(0x1dc)](this['_gitConfigPath'],_0x3b9a3d):null,'framework':_0x972ff9['cynrV'],'result':_0x525262,'failure_reason':_0x335de9,'duration_in_ms':_0x67d81c,'failure':failureData[_0x42a567(0x200)](null,_0x8e7ff0),'failure_type':!_0x335de9?null:_0x972ff9['wxENL'](getFailureType,_0x335de9),'retry_of':_0xc09e06['retryOf']||null,'customRerunParam':{'rerun_name':_0x227588}};_0x972ff9[_0x42a567(0x1cd)](_0x379d80,_0x972ff9[_0x42a567(0x194)])&&!_0x132858['startedAt']&&(_0x132858[_0x42a567(0x1e6)]=_0x132858[_0x42a567(0x201)]);const _0x5b8a0c=_0x132858[_0x42a567(0x165)]&&_0x132858[_0x42a567(0x165)][0x0];return _0x5b8a0c&&(_0x132858[_0x42a567(0x17d)]=_0x5b8a0c[_0x42a567(0x1c0)],_0x132858['failure_reason_expanded']=_0x5b8a0c[_0x42a567(0x20a)]),(_0x972ff9[_0x42a567(0x1cd)](_0x379d80,_0x972ff9[_0x42a567(0x215)])||_0x972ff9[_0x42a567(0x1a2)](_0x379d80,_0x972ff9[_0x42a567(0x194)]))&&(_0xc09e06['hooks']&&(_0x132858[_0x42a567(0x1eb)]=_0xc09e06[_0x42a567(0x1eb)])),_0x132858;}catch(_0x1b8c15){return logger[_0x42a567(0x1b6)](_0x42a567(0x188)+util[_0x42a567(0x1ec)](_0x1b8c15)),null;}}async['createHookData'](_0x39fd21,_0x69d18a,_0x5e1c67,_0x57e206){const _0x215b73=a127_0x293ef7,_0x355a83={'ElTHU':_0x215b73(0x1b9),'HMAOG':_0x215b73(0x1aa),'FpLSA':_0x215b73(0x18c),'vCrLZ':_0x215b73(0x175),'MlUAI':'pending','NipqV':function(_0x3a6379,_0x319e0a){return _0x3a6379===_0x319e0a;},'AFWor':'HookRunFinished','rAimH':function(_0x5df240,_0x5df49f){return _0x5df240>_0x5df49f;},'FZtXU':'failed','nGkiN':function(_0x3dfbe1,_0x4ce71f){return _0x3dfbe1(_0x4ce71f);},'kmCgw':_0x215b73(0x213),'FhYFy':_0x215b73(0x19f),'oTSSo':_0x215b73(0x1a4),'xUwRW':_0x215b73(0x18f),'Modfx':'jest','tNkYa':_0x215b73(0x1ab)};logger[_0x215b73(0x1b6)](_0x215b73(0x1ff)+_0x5e1c67+',\x20hookUUID:\x20'+_0x69d18a+_0x215b73(0x18b)+_0x57e206);try{if(!_0x39fd21)return logger[_0x215b73(0x1b6)](_0x355a83[_0x215b73(0x16e)]),null;if(this['isJestInternalHook'](_0x39fd21))return null;await this[_0x215b73(0x162)]();let _0x2e3804=null;try{_0x2e3804=this['getRootParentFile'](_0x39fd21);if(_0x2e3804&&_0x2e3804[_0x215b73(0x1f1)](_0x355a83[_0x215b73(0x192)]))return null;if(_0x2e3804&&_0x2e3804[_0x215b73(0x1f1)](_0x355a83[_0x215b73(0x1c4)]))return null;}catch(_0x32dcb5){logger[_0x215b73(0x1b6)](_0x215b73(0x15f)+util[_0x215b73(0x1ec)](_0x32dcb5));}const _0x5152fd=_0x2e3804?this[_0x215b73(0x1f9)][_0x215b73(0x1fc)](_0x2e3804):_0x2e3804,_0x1ebd7c=this[_0x215b73(0x1ad)](_0x39fd21),_0x2b0127=_0x39fd21[_0x215b73(0x197)]||_0x355a83[_0x215b73(0x1ae)],_0x1255f1=HOOK_TYPES_MAP[_0x2b0127]||_0x2b0127[_0x215b73(0x214)](),_0x24d898=_0x39fd21[_0x215b73(0x16d)]&&_0x39fd21[_0x215b73(0x16d)][_0x215b73(0x171)]?_0x39fd21[_0x215b73(0x16d)][_0x215b73(0x171)]:'';let _0x5d1650=_0x355a83[_0x215b73(0x1cb)],_0x37e333=null,_0x1ce69c=null,_0x4ef3bd=null,_0x37b4dc=null;_0x355a83[_0x215b73(0x17f)](_0x5e1c67,_0x355a83[_0x215b73(0x170)])&&(_0x37b4dc=new Date()[_0x215b73(0x1bf)](),_0x39fd21['errorsDetailed']&&_0x355a83[_0x215b73(0x19d)](_0x39fd21['errorsDetailed'][_0x215b73(0x1d3)],0x0)?(_0x5d1650=_0x355a83[_0x215b73(0x19b)],_0x1ce69c=util[_0x215b73(0x167)](_0x39fd21[_0x215b73(0x160)][0x0]),_0x37e333=_0x355a83['nGkiN'](getFailureType,_0x1ce69c),_0x4ef3bd=failureData[_0x215b73(0x200)](null,[_0x39fd21[_0x215b73(0x160)],_0x355a83[_0x215b73(0x19e)]])):_0x5d1650=_0x355a83['FhYFy']);const _0x55f4cb={'uuid':_0x69d18a,'type':_0x355a83[_0x215b73(0x161)],'hook_type':_0x1255f1,'name':_0x1ebd7c,'body':{'lang':_0x355a83['xUwRW'],'code':_0x39fd21['fn']?_0x39fd21['fn'][_0x215b73(0x1bb)]():null},'tags':[],'test_run_id':_0x57e206,'scope':_0x24d898,'scopes':[_0x24d898],'file_name':_0x5152fd,'location':_0x5152fd,'vc_filepath':this[_0x215b73(0x18e)]&&_0x2e3804?path[_0x215b73(0x1dc)](this[_0x215b73(0x18e)],_0x2e3804):null,'result':_0x5d1650,'started_at':_0x39fd21[_0x215b73(0x181)]||new Date()['toISOString'](),'finished_at':_0x37b4dc,'failure_type':_0x37e333,'failure_reason':_0x1ce69c,'failure_data':_0x4ef3bd,'framework':_0x355a83[_0x215b73(0x1e8)]};return _0x355a83[_0x215b73(0x17f)](_0x5e1c67,_0x355a83[_0x215b73(0x1c9)])&&(hooksMap[_0x57e206]?hooksMap[_0x57e206][_0x215b73(0x209)](_0x55f4cb):hooksMap[_0x57e206]=[_0x55f4cb]),_0x55f4cb;}catch(_0x3b1171){return logger[_0x215b73(0x1b6)]('Exception\x20in\x20createHookData:\x20'+util[_0x215b73(0x1ec)](_0x3b1171)),null;}}[a127_0x293ef7(0x1d1)](_0x1c5ae6,_0xfab43d,_0xbe6da0){const _0x85de3b=a127_0x293ef7,_0x16ff61={'QBiXB':function(_0x384b28,_0x1c2f2b){return _0x384b28>_0x1c2f2b;},'LNvOA':_0x85de3b(0x15e),'EjDMo':function(_0x41ba26,_0x3c7b1e){return _0x41ba26(_0x3c7b1e);},'oOHiP':'test','aPHKA':'passed'};try{const _0x2009e5=hooksMap[_0x1c5ae6];if(!_0x2009e5)return null;const _0x1a7d3b=_0x2009e5[_0x85de3b(0x1e5)](_0x2d3ed7=>_0x2d3ed7[_0x85de3b(0x207)]===_0xfab43d);if(!_0x1a7d3b)return null;return _0x1a7d3b[_0x85de3b(0x210)]=new Date()[_0x85de3b(0x1bf)](),_0xbe6da0[_0x85de3b(0x160)]&&_0x16ff61[_0x85de3b(0x1b5)](_0xbe6da0[_0x85de3b(0x160)]['length'],0x0)?(_0x1a7d3b['result']=_0x16ff61[_0x85de3b(0x217)],_0x1a7d3b[_0x85de3b(0x1f7)]=util[_0x85de3b(0x167)](_0xbe6da0[_0x85de3b(0x160)][0x0]),_0x1a7d3b['failure_type']=_0x16ff61[_0x85de3b(0x178)](getFailureType,_0x1a7d3b['failure_reason']),_0x1a7d3b[_0x85de3b(0x1e4)]=failureData[_0x85de3b(0x200)](null,[_0xbe6da0[_0x85de3b(0x160)],_0x16ff61[_0x85de3b(0x20f)]])):_0x1a7d3b['result']=_0x16ff61[_0x85de3b(0x1ed)],_0x1a7d3b;}catch(_0x48e76a){return logger[_0x85de3b(0x1b6)](_0x85de3b(0x16f)+util[_0x85de3b(0x1ec)](_0x48e76a)),null;}}[a127_0x293ef7(0x1ad)](_0x3e8305){const _0x56d3bf=a127_0x293ef7,_0x449912={};_0x449912['syUKY']=function(_0x104b3f,_0x22ffba){return _0x104b3f!==_0x22ffba;},_0x449912[_0x56d3bf(0x15b)]=_0x56d3bf(0x213),_0x449912[_0x56d3bf(0x1f3)]=_0x56d3bf(0x183);const _0x1adfa5=_0x449912;if(_0x1adfa5[_0x56d3bf(0x218)](_0x3e8305['type'],_0x1adfa5['qQIVa']))return'\x22'+_0x3e8305[_0x56d3bf(0x197)]+'\x22\x20hook\x20for\x20\x22'+(_0x3e8305[_0x56d3bf(0x16d)]&&_0x3e8305[_0x56d3bf(0x16d)][_0x56d3bf(0x171)])+'\x22';return _0x3e8305[_0x56d3bf(0x171)]||_0x1adfa5['shXEt'];}[a127_0x293ef7(0x17c)](_0x241e17){const _0x1f3710=a127_0x293ef7,_0x2753a2={};_0x2753a2[_0x1f3710(0x187)]=function(_0x2ec783,_0x337da4){return _0x2ec783!==_0x337da4;},_0x2753a2[_0x1f3710(0x1df)]=function(_0xe0bd4c,_0x15ff11){return _0xe0bd4c!==_0x15ff11;},_0x2753a2['hWbYd']=_0x1f3710(0x1ca);const _0x531f26=_0x2753a2,_0x5b35be=[];if(_0x241e17&&_0x241e17[_0x1f3710(0x16d)]){let _0x4b5b6d=_0x241e17[_0x1f3710(0x16d)];while(_0x4b5b6d&&_0x4b5b6d['name']&&_0x531f26[_0x1f3710(0x187)](_0x4b5b6d[_0x1f3710(0x171)],'')&&_0x531f26[_0x1f3710(0x1df)](_0x4b5b6d['name'],_0x531f26[_0x1f3710(0x1b0)])){_0x5b35be[_0x1f3710(0x209)](_0x4b5b6d['name']),_0x4b5b6d=_0x4b5b6d[_0x1f3710(0x16d)];}}return _0x5b35be[_0x1f3710(0x19c)](),_0x5b35be;}['getRootParentFile'](_0x33c815){const _0x204be9=a127_0x293ef7,_0x18c621={'hyHDa':function(_0x5ff834,_0x3e318e){return _0x5ff834(_0x3e318e);}};if(_0x33c815[_0x204be9(0x1c2)])return _0x33c815[_0x204be9(0x1c2)];if(_0x33c815[_0x204be9(0x1b1)])try{const _0x3c7865=stackTrace[_0x204be9(0x216)][_0x204be9(0x1c7)](stackTrace,_0x33c815[_0x204be9(0x1b1)]),_0x153001=_0x18c621[_0x204be9(0x20d)](pickUserFrameFile,_0x3c7865);if(_0x153001)return _0x153001;logger['debug'](_0x204be9(0x212)+_0x3c7865['length']+')');}catch(_0x5e7ba4){logger['debug'](_0x204be9(0x15c)+util[_0x204be9(0x1ec)](_0x5e7ba4));}return null;}['isJestInternalHook'](_0xd58b31){const _0x133458=a127_0x293ef7,_0x226da5={};_0x226da5[_0x133458(0x1f2)]=_0x133458(0x1aa);const _0x5698e9=_0x226da5;try{const _0x59fb09=this['getRootParentFile'](_0xd58b31);if(!_0x59fb09||_0x59fb09['includes'](_0x5698e9[_0x133458(0x1f2)]))return!![];}catch(_0x24ad3c){logger[_0x133458(0x1b6)](_0x133458(0x18d)+util[_0x133458(0x1ec)](_0x24ad3c));}return![];}[a127_0x293ef7(0x1c1)](_0x327075=null){const _0x254c03=a127_0x293ef7;try{const _0x330a7a=_0x327075||global[_0x254c03(0x185)]||{};if(global['__jestCurrentTestIdentifier'])return global[_0x254c03(0x189)];if(_0x330a7a?.['currentTest']?.['testAnalyticsId'])return _0x330a7a[_0x254c03(0x1d4)][_0x254c03(0x1fa)];if(_0x330a7a?.[_0x254c03(0x1d4)]?.['id'])return _0x330a7a[_0x254c03(0x1d4)]['id'];return null;}catch(_0x308e7a){return logger[_0x254c03(0x1b6)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util[_0x254c03(0x1ec)](_0x308e7a)),null;}}async[a127_0x293ef7(0x162)](){const _0x2b5af2=a127_0x293ef7,_0x5d85fa={'XMOWH':function(_0x403d1c){return _0x403d1c();}};if(this[_0x2b5af2(0x1a5)])return this[_0x2b5af2(0x18e)];const _0xcbfd=await _0x5d85fa['XMOWH'](getGitMetaData);_0xcbfd&&(this['_gitConfigPath']=_0xcbfd[_0x2b5af2(0x1da)]),this[_0x2b5af2(0x1a5)]=!![];}[a127_0x293ef7(0x1a1)](_0x5c69bc){hooksMap[_0x5c69bc]&&delete hooksMap[_0x5c69bc];}[a127_0x293ef7(0x1b2)](_0x3ea135){const _0x306a18=a127_0x293ef7,_0x20e530={'yZuYw':_0x306a18(0x1aa),'HFhlp':function(_0x454245,_0x3ed21e){return _0x454245(_0x3ed21e);},'jSYgQ':_0x306a18(0x1ce)};if(_0x3ea135[_0x306a18(0x1c2)])return _0x3ea135[_0x306a18(0x1c2)];if(_0x3ea135['asyncError']){try{const _0x2d0d7e=stackTrace[_0x306a18(0x216)](_0x3ea135[_0x306a18(0x1b1)]);if(_0x2d0d7e[0x0]&&_0x2d0d7e[0x0][_0x306a18(0x169)]){const _0x2bf098=_0x2d0d7e[0x0][_0x306a18(0x169)]();if(_0x2bf098&&!_0x2bf098[_0x306a18(0x1f1)](_0x20e530[_0x306a18(0x1cc)]))return _0x2bf098;}}catch(_0x51aba2){logger[_0x306a18(0x1b6)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util['format'](_0x51aba2));}if(_0x3ea135[_0x306a18(0x1b1)][_0x306a18(0x1d7)]){const _0x2102ab=_0x3ea135[_0x306a18(0x1b1)][_0x306a18(0x1d7)][_0x306a18(0x195)]('\x0a');for(const _0x2bd3e1 of _0x2102ab){const _0x5e6b6d=_0x2bd3e1[_0x306a18(0x1d0)](/at (.+?):\d+:\d+/);if(_0x5e6b6d&&_0x5e6b6d[0x1]&&!_0x5e6b6d[0x1][_0x306a18(0x1f1)](_0x20e530['yZuYw']))return _0x5e6b6d[0x1];}}}let _0x28b5dc=_0x3ea135[_0x306a18(0x16d)];while(_0x28b5dc){if(_0x28b5dc[_0x306a18(0x1c2)])return _0x28b5dc['file'];if(_0x28b5dc['asyncError'])try{const _0x3ddf69=stackTrace[_0x306a18(0x216)](_0x28b5dc[_0x306a18(0x1b1)]);if(_0x3ddf69[0x0]&&_0x3ddf69[0x0]['getFileName']){const _0x57dd37=_0x3ddf69[0x0][_0x306a18(0x169)]();if(_0x57dd37&&!_0x57dd37[_0x306a18(0x1f1)](_0x20e530[_0x306a18(0x1cc)]))return _0x57dd37;}}catch(_0x485cdb){}_0x28b5dc=_0x28b5dc[_0x306a18(0x16d)];}try{const _0x248382=_0x20e530[_0x306a18(0x211)](require,_0x20e530[_0x306a18(0x1f4)]);if(_0x248382&&_0x248382['getState']){const _0x5d82c6=_0x248382[_0x306a18(0x1db)]();if(_0x5d82c6&&_0x5d82c6[_0x306a18(0x199)])return _0x5d82c6[_0x306a18(0x199)];}}catch(_0x6b5a6f){logger[_0x306a18(0x1b6)](_0x306a18(0x191)+util[_0x306a18(0x1ec)](_0x6b5a6f));}return null;}[a127_0x293ef7(0x1ee)](_0x23e1d6){const _0x2e4b5b=a127_0x293ef7,_0x4b99da={};_0x4b99da[_0x2e4b5b(0x1d8)]=_0x2e4b5b(0x1a9),_0x4b99da['AJTHC']=function(_0x381995,_0x2c3578){return _0x381995!==_0x2c3578;},_0x4b99da['sxVPp']=_0x2e4b5b(0x1ca),_0x4b99da[_0x2e4b5b(0x15d)]=_0x2e4b5b(0x1aa),_0x4b99da[_0x2e4b5b(0x184)]=_0x2e4b5b(0x1c5),_0x4b99da[_0x2e4b5b(0x186)]='hex';const _0x447938=_0x4b99da;try{if(!_0x23e1d6)return logger[_0x2e4b5b(0x18a)](_0x447938['rcfpO']),null;const _0x1a6e73=_0x23e1d6['fullName']||_0x23e1d6[_0x2e4b5b(0x171)]||_0x23e1d6[_0x2e4b5b(0x1a7)]||_0x23e1d6[_0x2e4b5b(0x1b8)];let _0x358414=_0x1a6e73;if(_0x23e1d6['parent']&&_0x23e1d6[_0x2e4b5b(0x16d)][_0x2e4b5b(0x171)]&&_0x447938['AJTHC'](_0x23e1d6['parent'][_0x2e4b5b(0x171)],_0x447938['sxVPp'])){const _0x3c7c3b=_0x23e1d6[_0x2e4b5b(0x171)]||_0x23e1d6[_0x2e4b5b(0x1a7)];_0x3c7c3b&&(_0x358414=_0x23e1d6['parent'][_0x2e4b5b(0x171)]+'\x20'+_0x3c7c3b);}let _0x431c70=_0x23e1d6['testPath'];if(!_0x431c70&&_0x23e1d6['asyncError']){try{const _0x50e796=stackTrace['parse'](_0x23e1d6[_0x2e4b5b(0x1b1)]);if(_0x50e796[0x0]&&_0x50e796[0x0][_0x2e4b5b(0x169)]){const _0x1dc48e=_0x50e796[0x0][_0x2e4b5b(0x169)]();_0x1dc48e&&!_0x1dc48e[_0x2e4b5b(0x1f1)](_0x447938['iLUuJ'])&&(_0x431c70=_0x1dc48e);}}catch(_0x528ef0){logger['debug']('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x2e4b5b(0x1ec)](_0x528ef0));}if(!_0x431c70&&_0x23e1d6[_0x2e4b5b(0x1b1)]['stack']){const _0x109411=_0x23e1d6[_0x2e4b5b(0x1b1)]['stack'][_0x2e4b5b(0x195)]('\x0a');for(const _0x58ccb2 of _0x109411){const _0x2ecea4=_0x58ccb2[_0x2e4b5b(0x1d0)](/at (.+?):\d+:\d+/);if(_0x2ecea4&&_0x2ecea4[0x1]&&!_0x2ecea4[0x1]['includes'](_0x447938[_0x2e4b5b(0x15d)])){_0x431c70=_0x2ecea4[0x1];break;}}}}const _0x59cbb9=_0x431c70+'::'+_0x358414,_0x592d09=crypto[_0x2e4b5b(0x193)](_0x447938[_0x2e4b5b(0x184)])[_0x2e4b5b(0x1f6)](_0x59cbb9)[_0x2e4b5b(0x190)](_0x447938[_0x2e4b5b(0x186)])[_0x2e4b5b(0x203)](0x0,0x8),_0x40a05b=process[_0x2e4b5b(0x166)]+_0x2e4b5b(0x173)+_0x592d09;return logger['debug'](_0x2e4b5b(0x1a3)+_0x40a05b+_0x2e4b5b(0x19a)+_0x59cbb9),_0x40a05b;}catch(_0x2bed1c){return logger['error'](_0x2e4b5b(0x1e9)+util[_0x2e4b5b(0x1ec)](_0x2bed1c)),null;}}['createIdentifierFromJestTest'](_0x313346){const _0x3c17a3=a127_0x293ef7,_0x21c67e={};_0x21c67e[_0x3c17a3(0x20c)]=_0x3c17a3(0x1de);const _0x4d71da=_0x21c67e;if(!_0x313346)return logger[_0x3c17a3(0x1b6)](_0x4d71da['HQymP']),null;const _0x123bd3=this[_0x3c17a3(0x1b2)](_0x313346),_0x1dec39={};_0x1dec39[_0x3c17a3(0x171)]=_0x313346['name']||_0x313346['title'],_0x1dec39[_0x3c17a3(0x16d)]=_0x313346[_0x3c17a3(0x16d)],_0x1dec39['testPath']=_0x123bd3,_0x1dec39['asyncError']=_0x313346[_0x3c17a3(0x1b1)];const _0xa8e02c=_0x1dec39;return this[_0x3c17a3(0x1ee)](_0xa8e02c);}[a127_0x293ef7(0x1bd)](_0x1bde04,_0x38cbcc=null){const _0x13966c=a127_0x293ef7,_0x4606af={};_0x4606af[_0x13966c(0x208)]='[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation';const _0x5eb462=_0x4606af;if(!_0x1bde04)return logger[_0x13966c(0x1b6)](_0x5eb462[_0x13966c(0x208)]),_0x38cbcc;if(_0x1bde04['testIdentifier'])return logger[_0x13966c(0x1b6)]('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x1bde04[_0x13966c(0x1be)]),_0x1bde04['testIdentifier'];return this[_0x13966c(0x1ee)](_0x1bde04)||_0x38cbcc;}}module[a127_0x293ef7(0x1d2)]=o11yClassErrorHandler(JestUtils,[a127_0x293ef7(0x162),a127_0x293ef7(0x17c),a127_0x293ef7(0x1e3),a127_0x293ef7(0x1ad),a127_0x293ef7(0x1fe),a127_0x293ef7(0x1c1),a127_0x293ef7(0x205),a127_0x293ef7(0x202),'getHookRunEventData',a127_0x293ef7(0x1a1),a127_0x293ef7(0x1b2),a127_0x293ef7(0x1ee),a127_0x293ef7(0x163),'recreateIdentifierFromTestInfo']);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a128_0xb15199=a128_0x44ec;(function(_0x4be45c,_0x4bf854){const _0x4e0ccb=a128_0x44ec,_0x5e2257=_0x4be45c();while(!![]){try{const _0x3c1e7c=-parseInt(_0x4e0ccb(0xde))/0x1+-parseInt(_0x4e0ccb(0x11b))/0x2+parseInt(_0x4e0ccb(0x10e))/0x3+-parseInt(_0x4e0ccb(0x11c))/0x4*(-parseInt(_0x4e0ccb(0x128))/0x5)+parseInt(_0x4e0ccb(0xea))/0x6*(parseInt(_0x4e0ccb(0x146))/0x7)+-parseInt(_0x4e0ccb(0xef))/0x8+-parseInt(_0x4e0ccb(0xe3))/0x9;if(_0x3c1e7c===_0x4bf854)break;else _0x5e2257['push'](_0x5e2257['shift']());}catch(_0x468518){_0x5e2257['push'](_0x5e2257['shift']());}}}(a128_0xc5a2,0x706a5));function a128_0x44ec(_0x1ce54f,_0x5272d7){const _0xc5a2df=a128_0xc5a2();return a128_0x44ec=function(_0x44ec56,_0x5c7da5){_0x44ec56=_0x44ec56-0xcd;let _0x14e24e=_0xc5a2df[_0x44ec56];return _0x14e24e;},a128_0x44ec(_0x1ce54f,_0x5272d7);}const fs=require('fs'),path=require('path'),{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a128_0xb15199(0x101)),PerformanceTester=require(a128_0xb15199(0xcd)),PerformanceEvents=require('../../helpers/performance/constants')[a128_0xb15199(0x116)],utilities=require(a128_0xb15199(0x135)),{parallelVanillaRun}=require('../test-runner'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),BrowserstackCLI=require(a128_0xb15199(0xe5)),logger=require(a128_0xb15199(0x130))['winstonLogger'],CLIUtils=require(a128_0xb15199(0x12a)),{FRAMEWORKS}=require(a128_0xb15199(0xd7)),accessibilityHelper=require(a128_0xb15199(0x10f));function a128_0xc5a2(){const _0x3ef2ab=['\x20doesn\x27t\x20exist','[TRACE:node-generic]\x20Accessibility\x20config\x20enriched\x20with\x20binary\x20scannerVersion=','length','stringify','1570smmRmT','args','../v2/cliUtils','setFrameworkDetail','getInstance','ZjpPZ','finalExecution','Sdmsg','../../helpers/logger','parallelsPerPlatform','parse','beforeExit','index','../../helpers/utilities','stop','RSUpo','platforms','kiNfJ','scannerVersion','JgTUW','initialize','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','browserName','File\x20','BROWSERSTACK_PRODUCT_MAP','checkAccessibilityPlatformConfig','SDK_CLEANUP','handleApp','[TRACE:node-generic]\x20Binary\x20bootstrapped,\x20starting\x20parallelVanillaRun','NifCE','14JZDExH','bootstrap','../../helpers/performance/performance-tester','[TRACE:node-generic]\x20CLI\x20enabled\x20—\x20using\x20Binary\x20Flow','SDK_SETUP','BROWSERSTACK_SKIP_SESSION_NAME','start','yhxWV','BROWSERSTACK_TEST_ACCESSIBILITY_YML','cwd','isBrowserstackInfra','on\x20non-BrowserStack\x20infrastructure\x20','../utils/constants','getMinVersionForBrowser','config','setupBrowserstackLocal','cliConfig','configPath','isBrowserSupportedForAccessibility','197934ngwvPI','hylaM','testContextOptions','BROWSERSTACK_SKIP_SESSION_STATUS','message','2026233inCRdk','setBrowserstackConfig','../v2/browserstackCLI','[TRACE:node-generic]\x20Accessibility:\x20enabled=','getPlatformName','NEFCt','deviceName','2581530emhJWx','forEach','WaHef','CeuUN','getBrowserDisplayName','2562576ZfVPfg','browserVersion','TmxhS','CTyOd','[TRACE:node-generic]\x20parallelVanillaRun\x20complete,\x20stopping\x20binary','debug','skipSessionName','vanilla','uEMAP','xQhsn','isChildConnected','push','isRunning','selenium-webdriver','Config\x20yml\x20is\x20required','env','WJxdS','browser_version','../../helpers/helper','configuration','isTrue','NODE_GENERIC','browserstack.accessibilityOptions.scannerVersion','kZGhj','\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','\x20browser\x20version\x20greater\x20than\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','info','WOpTF','resolve','nZgSk','1026414dPMjLg','../../helpers/accessibility-automation/helper','isUndefined','isFinite','accessibility','isMainConnected','launchBuild','modifyBrowserStackCaps','EVENTS','warn','getMultiDriverWorkerConfig','modifyBrowserStackW3CCaps',':\x20the\x20JSON-wire\x20protocol\x20was\x20removed\x20in\x20selenium-webdriver\x204,\x20so\x20this\x20run\x20will\x20use\x20W3C.\x20Pin\x20selenium-webdriver\x203.x\x20if\x20an\x20MJSONWP\x20session\x20is\x20required.','445996HpKOAM','2856TzhnCu','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getPackageVersion','isCliEnabled','assign','FBVvr','end','getHubUrl'];a128_0xc5a2=function(){return _0x3ef2ab;};return a128_0xc5a2();}async function run(_0x27de6d,_0x46cbb6,_0x331204){const _0xaa864b=a128_0xb15199,_0x1be310={'nZgSk':_0xaa864b(0xf6),'RSUpo':_0xaa864b(0x13d),'uEMAP':function(_0x2be381,_0x5576e6){return _0x2be381(_0x5576e6);},'ZjpPZ':function(_0x290e47,_0x551d43){return _0x290e47(_0x551d43);},'NifCE':function(_0x158a16,_0x3dfaec){return _0x158a16>_0x3dfaec;},'JgTUW':_0xaa864b(0xd6),'xQhsn':'[TRACE:node-generic]\x20beforeExit\x20safety\x20net\x20—\x20stopping\x20binary','MNgrp':'File\x20path\x20is\x20required','kZGhj':function(_0x430e28,_0x2682e6){return _0x430e28!==_0x2682e6;},'FBVvr':function(_0x19ad4b,_0x226dcd){return _0x19ad4b+_0x226dcd;},'mrkfr':function(_0x1c96c6,_0x4e9751){return _0x1c96c6(_0x4e9751);},'WOpTF':function(_0x56bbc3,_0x498279){return _0x56bbc3(_0x498279);},'Qrkpt':_0xaa864b(0xfd),'GxLHg':_0xaa864b(0xfc),'WaHef':function(_0x1f1111,_0x7b202e,_0x99b0ab){return _0x1f1111(_0x7b202e,_0x99b0ab);},'vBmBm':function(_0x3c06b3,_0x58474b){return _0x3c06b3>=_0x58474b;},'Sdmsg':function(_0x1c3d3c,_0x5316a4){return _0x1c3d3c(_0x5316a4);},'CeuUN':function(_0x27adf1,_0x118df6){return _0x27adf1&&_0x118df6;},'KWQHP':'Accessibility\x20Automation\x20is\x20not\x20supported\x20with\x20w3c:\x20false.\x20Skipping\x20accessibility\x20for\x20this\x20run.','CTyOd':function(_0x654770,_0x42aeee){return _0x654770(_0x42aeee);},'WJxdS':'../../helpers/testhub/utils','kiNfJ':_0xaa864b(0xce),'NEFCt':_0xaa864b(0x144),'TmxhS':_0xaa864b(0x105),'hylaM':function(_0x3b5cba,_0x4f54c5){return _0x3b5cba*_0x4f54c5;},'yhxWV':_0xaa864b(0xf3),'Kkugm':'[TRACE:node-generic]\x20CLI\x20not\x20enabled\x20—\x20using\x20Direct\x20Flow','jOEfE':function(_0x3cbd69,_0x59b22a){return _0x3cbd69*_0x59b22a;},'RKJDS':_0xaa864b(0x133)};await _0x331204[_0xaa864b(0x13c)](_0x27de6d);!BrowserstackCLI['getInstance']()[_0xaa864b(0xfb)]()&&await _0x331204[_0xaa864b(0xda)]();await helper[_0xaa864b(0x143)](_0x331204['config']);const _0x5e08c6=[];if(helper[_0xaa864b(0x110)](_0x27de6d['_'][0x1]))throw _0x1be310[_0xaa864b(0x12d)](Error,_0x1be310['MNgrp']);const _0x138b0b=process[_0xaa864b(0xd4)](),_0x48dcf5=path[_0xaa864b(0x10c)](_0x138b0b,_0x27de6d['_'][0x1]);if(_0x1be310[_0xaa864b(0x106)](_0x48dcf5,_0x138b0b)&&!_0x48dcf5['startsWith'](_0x1be310[_0xaa864b(0x121)](_0x138b0b,path['sep'])))throw _0x1be310['mrkfr'](Error,'File\x20path\x20'+_0x27de6d['_'][0x1]+_0xaa864b(0x107));if(!fs['existsSync'](_0x48dcf5))throw _0x1be310[_0xaa864b(0x10b)](Error,_0xaa864b(0x13f)+_0x27de6d['_'][0x1]+_0xaa864b(0x124));if(!_0x331204[_0xaa864b(0xd9)])throw _0x1be310[_0xaa864b(0x10b)](Error,_0x1be310['Qrkpt']);const _0x1d5e90=helper['useW3C'](_0x331204[_0xaa864b(0xd9)]);if(!_0x1d5e90){const _0x568f81=helper[_0xaa864b(0x11e)](_0x1be310['GxLHg']),_0x529f25=_0x1be310['WaHef'](parseInt,_0x568f81,0xa);Number[_0xaa864b(0x111)](_0x529f25)&&_0x1be310['vBmBm'](_0x529f25,0x4)&&logger[_0xaa864b(0x117)]('useW3C:\x20false\x20has\x20no\x20effect\x20with\x20selenium-webdriver\x20'+_0x568f81+_0xaa864b(0x11a));}_0x331204['config'][_0xaa864b(0x138)]&&_0x1be310[_0xaa864b(0x145)](_0x331204[_0xaa864b(0xd9)][_0xaa864b(0x138)]['length'],0x0)&&_0x331204['config'][_0xaa864b(0x138)][_0xaa864b(0xeb)]((_0x107cc6,_0x287234)=>{const _0xbaf8e4=_0xaa864b;_0x1d5e90?_0x5e08c6[_0xbaf8e4(0xfa)](helper[_0xbaf8e4(0x119)](_0x331204['config'],_0x1be310['nZgSk'],_0x287234)):_0x5e08c6[_0xbaf8e4(0xfa)](helper[_0xbaf8e4(0x115)](_0x331204['config'],_0x1be310[_0xbaf8e4(0x10d)],_0x287234));});let _0x18c186,_0x29d5c1;const _0x11e095=[],_0x462da3=helper[_0xaa864b(0x118)](_0x331204[_0xaa864b(0xd9)],_0x1d5e90,_0x1be310[_0xaa864b(0x10d)]);if(_0x1be310['NifCE'](_0x5e08c6[_0xaa864b(0x126)],0x0))_0x5e08c6[_0xaa864b(0xeb)]((_0x11ada5,_0x5ecec4)=>{const _0x1c511d=_0xaa864b,_0x2cc2e6={};_0x2cc2e6[_0x1c511d(0x134)]=_0x5ecec4,_0x18c186=Object[_0x1c511d(0x120)]({'server':helper[_0x1c511d(0x123)](_0x331204['config']),'proxySettings':_0x331204['config']['proxySettings'],'platform':helper[_0x1c511d(0xe7)](_0x11ada5),'platformCaps':Object['assign'](_0x2cc2e6,_0x331204[_0x1c511d(0xd9)]['platforms'][_0x5ecec4])},_0x462da3);const _0x4aa96b={'capability':_0x11ada5,..._0x18c186};_0x4aa96b['file']=_0x48dcf5,_0x4aa96b['args']=_0x46cbb6;const _0x1851fa={};_0x1851fa[_0x1c511d(0x102)]=_0x4aa96b,_0x29d5c1=_0x1851fa,_0x11e095[_0x1c511d(0xfa)](_0x29d5c1);});else{let _0xd3b32f;_0x1d5e90?_0xd3b32f=helper[_0xaa864b(0x119)](_0x331204[_0xaa864b(0xd9)],_0x1be310[_0xaa864b(0x10d)],0x0):_0xd3b32f=helper[_0xaa864b(0x115)](_0x331204[_0xaa864b(0xd9)],_0x1be310[_0xaa864b(0x10d)],0x0);_0x18c186=Object[_0xaa864b(0x120)]({'server':helper[_0xaa864b(0x123)](_0x331204[_0xaa864b(0xd9)]),'proxySettings':_0x331204[_0xaa864b(0xd9)]['proxySettings']},_0x462da3);const _0x41f60c={'capability':_0xd3b32f,..._0x18c186};_0x41f60c['file']=_0x48dcf5,_0x41f60c[_0xaa864b(0x129)]=_0x46cbb6;const _0x8aa055={};_0x8aa055[_0xaa864b(0x102)]=_0x41f60c,_0x29d5c1=_0x8aa055,_0x11e095['push'](_0x29d5c1);}const _0x1ddfff=_0x331204[_0xaa864b(0xd9)][_0xaa864b(0xe0)]||{};process[_0xaa864b(0xfe)][_0xaa864b(0xd0)]=_0x1be310[_0xaa864b(0xf7)](String,helper[_0xaa864b(0x103)](_0x1ddfff[_0xaa864b(0xf5)])),process[_0xaa864b(0xfe)][_0xaa864b(0xe1)]=_0x1be310[_0xaa864b(0x12f)](String,helper[_0xaa864b(0x103)](_0x1ddfff['skipSessionStatus']));!helper[_0xaa864b(0x110)](_0x331204[_0xaa864b(0xd9)]['accessibilityOptions'])&&(process[_0xaa864b(0xfe)][_0xaa864b(0x11d)]=JSON[_0xaa864b(0x127)](_0x331204[_0xaa864b(0xd9)]['accessibilityOptions']));let _0x67bb4f=_0x331204['config'][_0xaa864b(0x112)];_0x67bb4f=_0x67bb4f||accessibilityHelper[_0xaa864b(0x141)](_0x331204[_0xaa864b(0xd9)]);_0x1be310[_0xaa864b(0xed)](_0x67bb4f,!_0x1d5e90)&&(logger[_0xaa864b(0x117)](_0x1be310['KWQHP']),_0x67bb4f=![]);process[_0xaa864b(0xfe)][_0xaa864b(0xd3)]=_0x67bb4f;if(_0x67bb4f){const _0x505e22=helper[_0xaa864b(0xd5)]();(_0x331204[_0xaa864b(0xd9)]['platforms']||[])[_0xaa864b(0xeb)](_0x5e9724=>{const _0x1a0984=_0xaa864b;if(!_0x5e9724||_0x5e9724[_0x1a0984(0xe9)])return;const _0x2f65f0=_0x5e9724[_0x1a0984(0x13e)];if(!accessibilityHelper[_0x1a0984(0xdd)](_0x2f65f0)){logger[_0x1a0984(0x117)](_0x1be310[_0x1a0984(0x137)]);return;}const _0x573e23=_0x5e9724[_0x1a0984(0xf0)]||_0x5e9724[_0x1a0984(0x100)];if(helper[_0x1a0984(0x110)](_0x573e23)||!Number[_0x1a0984(0x111)](_0x1be310[_0x1a0984(0xf7)](parseFloat,_0x1be310[_0x1a0984(0xf7)](String,_0x573e23))))return;const _0x22afbb=accessibilityHelper[_0x1a0984(0xd8)](_0x2f65f0,_0x505e22),_0x30f934=_0x1be310[_0x1a0984(0xf7)](parseFloat,_0x22afbb),_0x162066=_0x1be310[_0x1a0984(0x12d)](parseFloat,_0x1be310[_0x1a0984(0x12d)](String,_0x573e23)),_0x4e5f0a=Number[_0x1a0984(0x111)](_0x30f934)?_0x1be310[_0x1a0984(0x145)](_0x162066,_0x30f934):accessibilityHelper['isVersionSupported'](_0x573e23,_0x22afbb);if(!_0x4e5f0a){const _0x2e39e4=accessibilityHelper[_0x1a0984(0xee)](_0x2f65f0),_0x4a3d83=_0x505e22?'':_0x1be310[_0x1a0984(0x13b)];logger[_0x1a0984(0x117)](_0x1a0984(0x109)+_0x2e39e4+_0x1a0984(0x108)+_0x22afbb+'\x20'+_0x4a3d83+'.');}});}logger[_0xaa864b(0x10a)](_0xaa864b(0xe6)+_0x67bb4f);const _0x45902e=BrowserstackCLI[_0xaa864b(0x12c)]();CLIUtils[_0xaa864b(0x12b)](FRAMEWORKS[_0xaa864b(0x104)],FRAMEWORKS['NODE_GENERIC']);const {getProductMap:_0x402001}=_0x1be310[_0xaa864b(0xf2)](require,_0x1be310[_0xaa864b(0xff)]);process[_0xaa864b(0xfe)][_0xaa864b(0x140)]=JSON[_0xaa864b(0x127)](_0x1be310[_0xaa864b(0x10b)](_0x402001,_0x331204[_0xaa864b(0xd9)])),_0x45902e[_0xaa864b(0xe4)](_0x331204[_0xaa864b(0xd9)],_0x331204[_0xaa864b(0xdc)],_0x331204[_0xaa864b(0xdb)]);if(_0x45902e[_0xaa864b(0x11f)]()){logger[_0xaa864b(0x10a)](_0x1be310[_0xaa864b(0x139)]);try{await _0x45902e[_0xaa864b(0x147)](),logger[_0xaa864b(0x10a)](_0x1be310[_0xaa864b(0xe8)]);try{const _0x3ee74a=global['__accessibilityOptions']||{},_0x20bc0a=_0x3ee74a[_0x1be310[_0xaa864b(0xf1)]];if(_0x20bc0a){const _0x334094=JSON[_0xaa864b(0x132)](process[_0xaa864b(0xfe)][_0xaa864b(0x11d)]||'{}');_0x334094[_0xaa864b(0x13a)]=_0x20bc0a,process[_0xaa864b(0xfe)][_0xaa864b(0x11d)]=JSON['stringify'](_0x334094),logger['info'](_0xaa864b(0x125)+_0x20bc0a);}}catch(_0x5dcdfd){logger[_0xaa864b(0xf4)]('[TRACE:node-generic]\x20Error\x20enriching\x20accessibility\x20config:\x20'+_0x5dcdfd[_0xaa864b(0xe2)]);}const _0x5d1609=_0x1be310[_0xaa864b(0xdf)](_0x331204[_0xaa864b(0xd9)][_0xaa864b(0x138)]['length']||0x1,_0x331204['config']['parallelsPerPlatform']||0x1);PerformanceTester['end'](PerformanceEvents[_0xaa864b(0xcf)]),await _0x1be310[_0xaa864b(0xec)](parallelVanillaRun,_0x11e095,_0x5d1609),logger[_0xaa864b(0x10a)](_0x1be310[_0xaa864b(0xd2)]),await _0x45902e[_0xaa864b(0x136)]();}catch(_0x5687d0){logger['error']('[TRACE:node-generic]\x20Binary\x20Flow\x20error:\x20'+_0x5687d0['message']);try{await _0x45902e[_0xaa864b(0x136)]();}catch(_0x136fad){logger[_0xaa864b(0xf4)]('[TRACE:node-generic]\x20Error\x20during\x20stop:\x20'+_0x136fad['message']);}}finally{PerformanceTester[_0xaa864b(0xd1)](PerformanceEvents[_0xaa864b(0x142)]),await utilities[_0xaa864b(0x12e)](_0x331204);}}else{logger[_0xaa864b(0x10a)](_0x1be310['Kkugm']);const _0x3b60f2=await TestHubHandler[_0xaa864b(0x114)](_0x1be310['nZgSk'],_0x331204),_0x3aab3b=_0x1be310['jOEfE'](_0x331204[_0xaa864b(0xd9)][_0xaa864b(0x138)][_0xaa864b(0x126)]||0x1,_0x331204['config'][_0xaa864b(0x131)]||0x1);PerformanceTester[_0xaa864b(0x122)](PerformanceEvents[_0xaa864b(0xcf)]),_0x1be310[_0xaa864b(0xec)](parallelVanillaRun,_0x11e095,_0x3aab3b)['then'](_0x2e3983=>{})['finally'](async()=>{const _0x31fd2e=_0xaa864b;PerformanceTester['start'](PerformanceEvents[_0x31fd2e(0x142)]),await utilities['finalExecution'](_0x331204);});}process['on'](_0x1be310['RKJDS'],async()=>{const _0xf4b9d0=_0xaa864b;try{(_0x45902e[_0xf4b9d0(0x113)]||_0x45902e[_0xf4b9d0(0xf9)])&&(logger[_0xf4b9d0(0x10a)](_0x1be310[_0xf4b9d0(0xf8)]),await _0x45902e[_0xf4b9d0(0x136)]());}catch(_0x57799f){}});}module['exports']=run;
|
|
2
|
+
'use strict';function a128_0x1dc8(_0x428eec,_0x501da8){const _0x5ca417=a128_0x5ca4();return a128_0x1dc8=function(_0x1dc87e,_0x2e72e5){_0x1dc87e=_0x1dc87e-0x75;let _0x4b9d8a=_0x5ca417[_0x1dc87e];return _0x4b9d8a;},a128_0x1dc8(_0x428eec,_0x501da8);}const a128_0x5d2897=a128_0x1dc8;(function(_0x1bc0e6,_0x4f529d){const _0x5c7e4e=a128_0x1dc8,_0x485019=_0x1bc0e6();while(!![]){try{const _0x3a1cbc=parseInt(_0x5c7e4e(0xd6))/0x1+parseInt(_0x5c7e4e(0xb9))/0x2*(parseInt(_0x5c7e4e(0x7b))/0x3)+parseInt(_0x5c7e4e(0xd7))/0x4*(-parseInt(_0x5c7e4e(0xbc))/0x5)+-parseInt(_0x5c7e4e(0xe6))/0x6*(-parseInt(_0x5c7e4e(0xf5))/0x7)+parseInt(_0x5c7e4e(0xe1))/0x8*(-parseInt(_0x5c7e4e(0x76))/0x9)+-parseInt(_0x5c7e4e(0xea))/0xa+-parseInt(_0x5c7e4e(0xa6))/0xb*(parseInt(_0x5c7e4e(0xfb))/0xc);if(_0x3a1cbc===_0x4f529d)break;else _0x485019['push'](_0x485019['shift']());}catch(_0xc28823){_0x485019['push'](_0x485019['shift']());}}}(a128_0x5ca4,0xdfd26));const fs=require('fs'),path=require(a128_0x5d2897(0x98)),{default:BrowserStackSetup}=require(a128_0x5d2897(0x102)),helper=require(a128_0x5d2897(0xe0)),PerformanceTester=require(a128_0x5d2897(0xaf)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],utilities=require(a128_0x5d2897(0x80)),{parallelVanillaRun}=require(a128_0x5d2897(0x8e)),TestHubHandler=require(a128_0x5d2897(0xbe)),BrowserstackCLI=require('../v2/browserstackCLI'),logger=require(a128_0x5d2897(0x7f))['winstonLogger'],CLIUtils=require(a128_0x5d2897(0x77)),{FRAMEWORKS}=require(a128_0x5d2897(0xb0)),accessibilityHelper=require('../../helpers/accessibility-automation/helper');async function run(_0x3735f3,_0x27487f,_0x43d8c5){const _0x4c4668=a128_0x5d2897,_0x28d584={'PWiZj':_0x4c4668(0xca),'GYmDx':_0x4c4668(0x90),'coevF':function(_0x5f2735,_0x3c4890){return _0x5f2735(_0x3c4890);},'QwVcK':function(_0x5827bf,_0x1c4240){return _0x5827bf(_0x1c4240);},'ZYlFI':function(_0x1da9f3,_0x340b71){return _0x1da9f3(_0x340b71);},'bIglL':function(_0x24d6a8,_0x5ae2f5){return _0x24d6a8(_0x5ae2f5);},'NovFt':function(_0x3b8f07,_0x471289){return _0x3b8f07>_0x471289;},'swSej':_0x4c4668(0x100),'WNxpf':_0x4c4668(0x85),'SFdwp':_0x4c4668(0x78),'fkGeN':function(_0x3599aa,_0x4bb29c){return _0x3599aa!==_0x4bb29c;},'PkFzB':function(_0x6558af,_0x1eec87){return _0x6558af+_0x1eec87;},'tBEtC':function(_0x5e83ba,_0x39a6f7){return _0x5e83ba(_0x39a6f7);},'rXpwD':function(_0x504cea,_0x362a47){return _0x504cea(_0x362a47);},'YNLLc':function(_0x3a78e6,_0x2871ec){return _0x3a78e6(_0x2871ec);},'iFsEJ':'Config\x20yml\x20is\x20required','MOyKT':'selenium-webdriver','FGxKu':function(_0x2dccae,_0xf8e4f5,_0x5b8880){return _0x2dccae(_0xf8e4f5,_0x5b8880);},'ZhLTE':function(_0x125316,_0xf1487d){return _0x125316>=_0xf1487d;},'YXHcV':function(_0x22ca56,_0x557369){return _0x22ca56>_0x557369;},'yIxvH':function(_0x2eec3b,_0x548e8d){return _0x2eec3b(_0x548e8d);},'viqZQ':function(_0x474f73,_0x193062){return _0x474f73&&_0x193062;},'famRi':_0x4c4668(0xcf),'dZVUU':function(_0x10b891,_0x2d4e1e){return _0x10b891(_0x2d4e1e);},'EQMxc':_0x4c4668(0xdd),'vIfpb':'[TRACE:node-generic]\x20CLI\x20enabled\x20—\x20using\x20Binary\x20Flow','ZPlDU':_0x4c4668(0xb6),'QAqnQ':'browserstack.accessibilityOptions.scannerVersion','yGeYC':function(_0x42d5f1,_0xe7376e){return _0x42d5f1*_0xe7376e;},'yHXLG':function(_0x2f501b,_0x4e9a7e,_0x259ff9){return _0x2f501b(_0x4e9a7e,_0x259ff9);},'EJSuE':_0x4c4668(0xdf),'bcwCK':_0x4c4668(0xb1),'xpzHw':function(_0x2ccdd1,_0x2e8bb8,_0x30308d){return _0x2ccdd1(_0x2e8bb8,_0x30308d);},'OpQIT':_0x4c4668(0x101)};await _0x43d8c5[_0x4c4668(0x91)](_0x3735f3);!BrowserstackCLI['getInstance']()[_0x4c4668(0xa4)]()&&await _0x43d8c5[_0x4c4668(0xe7)]();await helper[_0x4c4668(0x8d)](_0x43d8c5[_0x4c4668(0xb5)]);const _0x16774b=[];if(helper['isUndefined'](_0x3735f3['_'][0x1]))throw _0x28d584[_0x4c4668(0xef)](Error,_0x28d584[_0x4c4668(0x94)]);const _0x46466b=process[_0x4c4668(0xa0)](),_0x519049=path[_0x4c4668(0xb7)](_0x46466b,_0x3735f3['_'][0x1]);if(_0x28d584[_0x4c4668(0x7a)](_0x519049,_0x46466b)&&!_0x519049[_0x4c4668(0x9f)](_0x28d584[_0x4c4668(0xdb)](_0x46466b,path[_0x4c4668(0xf3)])))throw _0x28d584[_0x4c4668(0xed)](Error,_0x4c4668(0x9e)+_0x3735f3['_'][0x1]+_0x4c4668(0xab));if(!fs[_0x4c4668(0xd2)](_0x519049))throw _0x28d584[_0x4c4668(0xd9)](Error,_0x4c4668(0xf1)+_0x3735f3['_'][0x1]+_0x4c4668(0xde));if(!_0x43d8c5[_0x4c4668(0xb5)])throw _0x28d584[_0x4c4668(0xb2)](Error,_0x28d584['iFsEJ']);const _0x1aec0b=helper[_0x4c4668(0xd1)](_0x43d8c5[_0x4c4668(0xb5)]);if(!_0x1aec0b){const _0x3235ec=helper[_0x4c4668(0xc8)](_0x28d584[_0x4c4668(0xfc)]),_0x18f8ca=_0x28d584['FGxKu'](parseInt,_0x3235ec,0xa);Number[_0x4c4668(0xa9)](_0x18f8ca)&&_0x28d584['ZhLTE'](_0x18f8ca,0x4)&&logger[_0x4c4668(0xa5)]('useW3C:\x20false\x20has\x20no\x20effect\x20with\x20selenium-webdriver\x20'+_0x3235ec+_0x4c4668(0xaa));}_0x43d8c5[_0x4c4668(0xb5)][_0x4c4668(0xf4)]&&_0x28d584[_0x4c4668(0xeb)](_0x43d8c5[_0x4c4668(0xb5)][_0x4c4668(0xf4)][_0x4c4668(0xf7)],0x0)&&_0x43d8c5[_0x4c4668(0xb5)][_0x4c4668(0xf4)]['forEach']((_0x5cc325,_0x328cc3)=>{const _0xdeca39=_0x4c4668;_0x1aec0b?_0x16774b['push'](helper[_0xdeca39(0xac)](_0x43d8c5['config'],_0x28d584['PWiZj'],_0x328cc3)):_0x16774b[_0xdeca39(0xc3)](helper[_0xdeca39(0xf6)](_0x43d8c5[_0xdeca39(0xb5)],_0x28d584['PWiZj'],_0x328cc3));});let _0x27dd1e,_0x358174;const _0x4f51b3=[],_0xf36b3b=helper['getMultiDriverWorkerConfig'](_0x43d8c5[_0x4c4668(0xb5)],_0x1aec0b,_0x28d584[_0x4c4668(0x84)]);if(_0x28d584['YXHcV'](_0x16774b[_0x4c4668(0xf7)],0x0))_0x16774b[_0x4c4668(0xc9)]((_0x45f850,_0x924dd6)=>{const _0x2a9db3=_0x4c4668,_0x5645d0={};_0x5645d0[_0x2a9db3(0xcc)]=_0x924dd6,_0x27dd1e=Object['assign']({'server':helper[_0x2a9db3(0xad)](_0x43d8c5[_0x2a9db3(0xb5)]),'proxySettings':_0x43d8c5[_0x2a9db3(0xb5)][_0x2a9db3(0x9c)],'platform':helper['getPlatformName'](_0x45f850),'platformCaps':Object[_0x2a9db3(0xd0)](_0x5645d0,_0x43d8c5['config'][_0x2a9db3(0xf4)][_0x924dd6])},_0xf36b3b);const _0x51d637={'capability':_0x45f850,..._0x27dd1e};_0x51d637['file']=_0x519049,_0x51d637[_0x2a9db3(0x97)]=_0x27487f;const _0x1bd743={};_0x1bd743[_0x2a9db3(0x92)]=_0x51d637,_0x358174=_0x1bd743,_0x4f51b3['push'](_0x358174);});else{let _0x161bb1;_0x1aec0b?_0x161bb1=helper[_0x4c4668(0xac)](_0x43d8c5[_0x4c4668(0xb5)],_0x28d584['PWiZj'],0x0):_0x161bb1=helper[_0x4c4668(0xf6)](_0x43d8c5[_0x4c4668(0xb5)],_0x28d584[_0x4c4668(0x84)],0x0);_0x27dd1e=Object[_0x4c4668(0xd0)]({'server':helper[_0x4c4668(0xad)](_0x43d8c5[_0x4c4668(0xb5)]),'proxySettings':_0x43d8c5[_0x4c4668(0xb5)][_0x4c4668(0x9c)]},_0xf36b3b);const _0x2c9641={'capability':_0x161bb1,..._0x27dd1e};_0x2c9641[_0x4c4668(0xd8)]=_0x519049,_0x2c9641[_0x4c4668(0x97)]=_0x27487f;const _0x3a3900={};_0x3a3900['configuration']=_0x2c9641,_0x358174=_0x3a3900,_0x4f51b3[_0x4c4668(0xc3)](_0x358174);}const _0x2d7ac6=_0x43d8c5[_0x4c4668(0xb5)][_0x4c4668(0x7e)]||{};process[_0x4c4668(0xbf)]['BROWSERSTACK_SKIP_SESSION_NAME']=_0x28d584[_0x4c4668(0xba)](String,helper[_0x4c4668(0xf2)](_0x2d7ac6[_0x4c4668(0xd5)])),process[_0x4c4668(0xbf)]['BROWSERSTACK_SKIP_SESSION_STATUS']=_0x28d584[_0x4c4668(0xb2)](String,helper[_0x4c4668(0xf2)](_0x2d7ac6[_0x4c4668(0xb3)]));!helper['isUndefined'](_0x43d8c5[_0x4c4668(0xb5)][_0x4c4668(0xc2)])&&(process[_0x4c4668(0xbf)][_0x4c4668(0xff)]=JSON[_0x4c4668(0x99)](_0x43d8c5[_0x4c4668(0xb5)][_0x4c4668(0xc2)]));let _0xd60046=_0x43d8c5[_0x4c4668(0xb5)][_0x4c4668(0x9a)];_0xd60046=_0xd60046||accessibilityHelper[_0x4c4668(0xf0)](_0x43d8c5[_0x4c4668(0xb5)]);_0x28d584['viqZQ'](_0xd60046,!_0x1aec0b)&&(logger[_0x4c4668(0xa5)](_0x28d584[_0x4c4668(0x7d)]),_0xd60046=![]);process['env'][_0x4c4668(0xc6)]=_0xd60046;if(_0xd60046){const _0x47b3ce=helper['isBrowserstackInfra']();(_0x43d8c5['config'][_0x4c4668(0xf4)]||[])[_0x4c4668(0xc9)](_0x2c0506=>{const _0x3696a2=_0x4c4668;if(!_0x2c0506||_0x2c0506[_0x3696a2(0x87)])return;const _0x2dfe68=_0x2c0506[_0x3696a2(0xcd)];if(!accessibilityHelper[_0x3696a2(0x9d)](_0x2dfe68)){logger[_0x3696a2(0xa5)](_0x28d584[_0x3696a2(0xe9)]);return;}const _0x314a40=_0x2c0506[_0x3696a2(0xc7)]||_0x2c0506[_0x3696a2(0xbd)];if(helper['isUndefined'](_0x314a40)||!Number[_0x3696a2(0xa9)](_0x28d584[_0x3696a2(0x75)](parseFloat,_0x28d584['QwVcK'](String,_0x314a40))))return;const _0x36f2fe=accessibilityHelper[_0x3696a2(0xe5)](_0x2dfe68,_0x47b3ce),_0xaaeb32=_0x28d584['coevF'](parseFloat,_0x36f2fe),_0x5562be=_0x28d584[_0x3696a2(0xb4)](parseFloat,_0x28d584[_0x3696a2(0xef)](String,_0x314a40)),_0x6d86a8=Number['isFinite'](_0xaaeb32)?_0x28d584[_0x3696a2(0xdc)](_0x5562be,_0xaaeb32):accessibilityHelper[_0x3696a2(0xc1)](_0x314a40,_0x36f2fe);if(!_0x6d86a8){const _0x47fb84=accessibilityHelper[_0x3696a2(0xfa)](_0x2dfe68),_0x1106d1=_0x47b3ce?'':_0x28d584[_0x3696a2(0x83)];logger[_0x3696a2(0xa5)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0x47fb84+_0x3696a2(0x8a)+_0x36f2fe+'\x20'+_0x1106d1+'.');}});}logger[_0x4c4668(0xd4)](_0x4c4668(0xe8)+_0xd60046);const _0x427048=BrowserstackCLI[_0x4c4668(0xfe)]();CLIUtils[_0x4c4668(0xd3)](FRAMEWORKS[_0x4c4668(0x93)],FRAMEWORKS[_0x4c4668(0x93)]);const {getProductMap:_0x421a3f}=_0x28d584[_0x4c4668(0xa7)](require,_0x28d584[_0x4c4668(0x7c)]);process['env']['BROWSERSTACK_PRODUCT_MAP']=JSON[_0x4c4668(0x99)](_0x28d584[_0x4c4668(0xf8)](_0x421a3f,_0x43d8c5['config'])),_0x427048[_0x4c4668(0xda)](_0x43d8c5[_0x4c4668(0xb5)],_0x43d8c5['configPath'],_0x43d8c5[_0x4c4668(0xfd)]);if(_0x427048[_0x4c4668(0x8b)]()){logger[_0x4c4668(0xd4)](_0x28d584[_0x4c4668(0x88)]);try{await _0x427048[_0x4c4668(0xc0)](),logger[_0x4c4668(0xd4)](_0x28d584[_0x4c4668(0x96)]);try{const _0x23e012=global[_0x4c4668(0xae)]||{},_0xa3e0f9=_0x23e012[_0x28d584[_0x4c4668(0xee)]];if(_0xa3e0f9){const _0x3a9a60=JSON['parse'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x3a9a60[_0x4c4668(0x9b)]=_0xa3e0f9,process[_0x4c4668(0xbf)][_0x4c4668(0xff)]=JSON[_0x4c4668(0x99)](_0x3a9a60),logger[_0x4c4668(0xd4)](_0x4c4668(0x8f)+_0xa3e0f9);}}catch(_0x4248b8){logger[_0x4c4668(0xa2)](_0x4c4668(0xe2)+_0x4248b8[_0x4c4668(0xce)]);}const _0x22e06a=_0x28d584[_0x4c4668(0xe3)](_0x43d8c5[_0x4c4668(0xb5)][_0x4c4668(0xf4)][_0x4c4668(0xf7)]||0x1,_0x43d8c5[_0x4c4668(0xb5)][_0x4c4668(0x82)]||0x1);PerformanceTester['end'](PerformanceEvents[_0x4c4668(0xc4)]),await _0x28d584[_0x4c4668(0xcb)](parallelVanillaRun,_0x4f51b3,_0x22e06a),logger[_0x4c4668(0xd4)](_0x28d584[_0x4c4668(0x79)]),await _0x427048[_0x4c4668(0xf9)]();}catch(_0x4f7196){logger[_0x4c4668(0x103)]('[TRACE:node-generic]\x20Binary\x20Flow\x20error:\x20'+_0x4f7196[_0x4c4668(0xce)]);try{await _0x427048[_0x4c4668(0xf9)]();}catch(_0x10b3da){logger['debug'](_0x4c4668(0xe4)+_0x10b3da['message']);}}finally{PerformanceTester[_0x4c4668(0xa8)](PerformanceEvents[_0x4c4668(0xb8)]),await utilities[_0x4c4668(0xc5)](_0x43d8c5);}}else{logger['info'](_0x28d584[_0x4c4668(0xa3)]);const _0x4a0251=await TestHubHandler[_0x4c4668(0xbb)](_0x28d584[_0x4c4668(0x84)],_0x43d8c5),_0x4157b4=_0x28d584[_0x4c4668(0xe3)](_0x43d8c5[_0x4c4668(0xb5)][_0x4c4668(0xf4)][_0x4c4668(0xf7)]||0x1,_0x43d8c5[_0x4c4668(0xb5)][_0x4c4668(0x82)]||0x1);PerformanceTester[_0x4c4668(0x89)](PerformanceEvents[_0x4c4668(0xc4)]),_0x28d584[_0x4c4668(0xa1)](parallelVanillaRun,_0x4f51b3,_0x4157b4)['then'](_0x19ab31=>{})[_0x4c4668(0x81)](async()=>{const _0x150fff=_0x4c4668;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),await utilities[_0x150fff(0xc5)](_0x43d8c5);});}process['on'](_0x28d584[_0x4c4668(0xec)],async()=>{const _0x18a361=_0x4c4668;try{(_0x427048[_0x18a361(0x86)]||_0x427048[_0x18a361(0x8c)])&&(logger[_0x18a361(0xd4)](_0x28d584[_0x18a361(0x95)]),await _0x427048[_0x18a361(0xf9)]());}catch(_0x130a19){}});}function a128_0x5ca4(){const _0x5522b2=['vIfpb','end','\x20browser\x20version\x20greater\x20than\x20','isCliEnabled','isChildConnected','handleApp','../test-runner','[TRACE:node-generic]\x20Accessibility\x20config\x20enriched\x20with\x20binary\x20scannerVersion=','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','initialize','configuration','NODE_GENERIC','SFdwp','WNxpf','ZPlDU','args','path','stringify','accessibility','scannerVersion','proxySettings','isBrowserSupportedForAccessibility','File\x20path\x20','startsWith','cwd','xpzHw','debug','bcwCK','isRunning','warn','165957HlCcfP','dZVUU','start','isFinite',':\x20the\x20JSON-wire\x20protocol\x20was\x20removed\x20in\x20selenium-webdriver\x204,\x20so\x20this\x20run\x20will\x20use\x20W3C.\x20Pin\x20selenium-webdriver\x203.x\x20if\x20an\x20MJSONWP\x20session\x20is\x20required.','\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','modifyBrowserStackW3CCaps','getHubUrl','__accessibilityOptions','../../helpers/performance/performance-tester','../utils/constants','[TRACE:node-generic]\x20CLI\x20not\x20enabled\x20—\x20using\x20Direct\x20Flow','YNLLc','skipSessionStatus','ZYlFI','config','[TRACE:node-generic]\x20Binary\x20bootstrapped,\x20starting\x20parallelVanillaRun','resolve','SDK_CLEANUP','386vNlXzB','yIxvH','launchBuild','5fmEFog','browser_version','../../helpers/testhub/testhubHandler','env','bootstrap','isVersionSupported','accessibilityOptions','push','SDK_SETUP','finalExecution','BROWSERSTACK_TEST_ACCESSIBILITY_YML','browserVersion','getPackageVersion','forEach','vanilla','yHXLG','index','browserName','message','Accessibility\x20Automation\x20is\x20not\x20supported\x20with\x20w3c:\x20false.\x20Skipping\x20accessibility\x20for\x20this\x20run.','assign','useW3C','existsSync','setFrameworkDetail','info','skipSessionName','1127080PxECug','1404716HujuWd','file','rXpwD','setBrowserstackConfig','PkFzB','NovFt','../../helpers/testhub/utils','\x20doesn\x27t\x20exist','[TRACE:node-generic]\x20parallelVanillaRun\x20complete,\x20stopping\x20binary','../../helpers/helper','14848clOPCx','[TRACE:node-generic]\x20Error\x20enriching\x20accessibility\x20config:\x20','yGeYC','[TRACE:node-generic]\x20Error\x20during\x20stop:\x20','getMinVersionForBrowser','599928sFsZDi','setupBrowserstackLocal','[TRACE:node-generic]\x20Accessibility:\x20enabled=','GYmDx','10730860uzmIoz','YXHcV','OpQIT','tBEtC','QAqnQ','bIglL','checkAccessibilityPlatformConfig','File\x20','isTrue','sep','platforms','84MpuNnw','modifyBrowserStackCaps','length','QwVcK','stop','getBrowserDisplayName','1128WSqrST','MOyKT','cliConfig','getInstance','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','on\x20non-BrowserStack\x20infrastructure\x20','beforeExit','../../helpers/BrowserStackSetup','error','coevF','1224WZGtnt','../v2/cliUtils','File\x20path\x20is\x20required','EJSuE','fkGeN','26187vQRhLf','EQMxc','famRi','testContextOptions','../../helpers/logger','../../helpers/utilities','finally','parallelsPerPlatform','swSej','PWiZj','[TRACE:node-generic]\x20beforeExit\x20safety\x20net\x20—\x20stopping\x20binary','isMainConnected','deviceName'];a128_0x5ca4=function(){return _0x5522b2;};return a128_0x5ca4();}module['exports']=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129_0x335a4f=a129_0x3162;function a129_0x3162(_0x397dfe,_0x157e36){const _0x4cc3f1=a129_0x4cc3();return a129_0x3162=function(_0x3162c7,_0x557084){_0x3162c7=_0x3162c7-0xfc;let _0x3d84f8=_0x4cc3f1[_0x3162c7];return _0x3d84f8;},a129_0x3162(_0x397dfe,_0x157e36);}(function(_0x5c011d,_0x2f611d){const _0x316e57=a129_0x3162,_0x4805f6=_0x5c011d();while(!![]){try{const _0x135c36=-parseInt(_0x316e57(0x124))/0x1*(parseInt(_0x316e57(0x114))/0x2)+parseInt(_0x316e57(0x10d))/0x3*(-parseInt(_0x316e57(0xfd))/0x4)+parseInt(_0x316e57(0x10a))/0x5+-parseInt(_0x316e57(0x123))/0x6*(parseInt(_0x316e57(0x10b))/0x7)+-parseInt(_0x316e57(0x10c))/0x8*(-parseInt(_0x316e57(0x122))/0x9)+parseInt(_0x316e57(0x11b))/0xa*(parseInt(_0x316e57(0xfe))/0xb)+parseInt(_0x316e57(0x126))/0xc;if(_0x135c36===_0x2f611d)break;else _0x4805f6['push'](_0x4805f6['shift']());}catch(_0x3a8c1d){_0x4805f6['push'](_0x4805f6['shift']());}}}(a129_0x4cc3,0x9e37f));const TestMetadata=require(a129_0x335a4f(0x110)),globals=require(a129_0x335a4f(0x107));class BrowserStackSdk{static[a129_0x335a4f(0x115)](){const _0x2c3af0=a129_0x335a4f,_0x3d2bcc={};_0x3d2bcc[_0x2c3af0(0x125)]=_0x2c3af0(0x11f),_0x3d2bcc[_0x2c3af0(0x11d)]=_0x2c3af0(0x119),_0x3d2bcc['vSSUG']=_0x2c3af0(0x101),_0x3d2bcc[_0x2c3af0(0x102)]=_0x2c3af0(0x108),_0x3d2bcc[_0x2c3af0(0x11c)]=_0x2c3af0(0x109),_0x3d2bcc['hSnSw']=_0x2c3af0(0x10f),_0x3d2bcc[_0x2c3af0(0x127)]=_0x2c3af0(0x118),_0x3d2bcc[_0x2c3af0(0x117)]=_0x2c3af0(0x105),_0x3d2bcc['WAbsR']='platform',_0x3d2bcc[_0x2c3af0(0xfc)]=_0x2c3af0(0x116),_0x3d2bcc[_0x2c3af0(0x10e)]=_0x2c3af0(0x121),_0x3d2bcc['QnjdW']='platformVersion',_0x3d2bcc[_0x2c3af0(0x113)]=_0x2c3af0(0x111);const _0x24fc46=_0x3d2bcc,_0x3733e4={};if(global[_0x2c3af0(0x120)]){const _0x3d5065=global['__platformCaps'],_0x12ef49=_0x3d5065[_0x24fc46[_0x2c3af0(0x125)]]||_0x3d5065[_0x24fc46[_0x2c3af0(0x11d)]],_0x5f19e5=_0x3d5065[_0x24fc46[_0x2c3af0(0x112)]]||_0x3d5065[_0x24fc46[_0x2c3af0(0x102)]],_0xc2dc0=_0x3d5065[_0x24fc46[_0x2c3af0(0x11c)]]||_0x3d5065[_0x24fc46['hSnSw']],_0x3f65df=_0x3d5065[_0x24fc46[_0x2c3af0(0x127)]]||_0x3d5065[_0x24fc46[_0x2c3af0(0x117)]],_0x4364b8=_0x3d5065[_0x24fc46[_0x2c3af0(0x11e)]]||_0x3d5065[_0x24fc46['NNDWk']],_0xa775c1=_0x3d5065[_0x24fc46[_0x2c3af0(0x10e)]]||_0x3d5065[_0x24fc46[_0x2c3af0(0x100)]];_0x3d5065['os']&&(_0x3733e4['os']=_0x3d5065['os']),_0x12ef49&&(_0x3733e4[_0x24fc46[_0x2c3af0(0x11d)]]=_0x12ef49),_0x5f19e5&&(_0x3733e4[_0x24fc46[_0x2c3af0(0x102)]]=_0x5f19e5),_0xc2dc0&&(_0x3733e4[_0x24fc46[_0x2c3af0(0x104)]]=_0xc2dc0),_0x3f65df&&(_0x3733e4[_0x24fc46['taQLP']]=_0x3f65df),_0x4364b8&&(_0x3733e4[_0x24fc46[_0x2c3af0(0xfc)]]=_0x4364b8),_0xa775c1&&(_0x3733e4[_0x24fc46[_0x2c3af0(0x100)]]=_0xa775c1),_0x3d5065[_0x24fc46[_0x2c3af0(0x113)]]&&(_0x3733e4[_0x24fc46[_0x2c3af0(0x113)]]=_0x3d5065[_0x24fc46['xZOdO']]);}return _0x3733e4;}static[a129_0x335a4f(0x106)](_0x56fced={}){TestMetadata['set'](_0x56fced);}static['setDriverLabel'](_0x3f9de6){const _0x3b4c15=a129_0x335a4f,_0x31ac30={};_0x31ac30[_0x3b4c15(0xff)]=_0x3b4c15(0x11a);const _0x1bb4e1=_0x31ac30;globals[_0x3b4c15(0x103)](_0x1bb4e1[_0x3b4c15(0xff)],_0x3f9de6);}}function a129_0x4cc3(){const _0x4c6fea=['./helpers/globals','browserName','browser_version','2501010OociUk','103474mksQsl','532808baPPoc','21SHVpDl','wuiHC','browserVersion','./helpers/metadata','customVariables','vSSUG','xZOdO','821226jiahCN','getCurrentPlatform','platformName','taQLP','device','osVersion','__bstackDriverLabel','10JMWCBl','eTfWx','ZMNwb','WAbsR','os_version','__platformCaps','platform_version','99lzSWNV','366WFzxWV','1TTheYp','vPdVn','15589332xpTGSi','PJjry','NNDWk','723272rjdVkx','7635980gycrTa','mjiiZ','QnjdW','browser','PCneW','setGlobal','hSnSw','deviceName','setTestMetadata'];a129_0x4cc3=function(){return _0x4c6fea;};return a129_0x4cc3();}module['exports']=BrowserStackSdk;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130_0x626210=a130_0x3220;(function(_0x2c89d9,_0xb2a0d6){const _0xe8ec0f=a130_0x3220,_0x5e5be6=_0x2c89d9();while(!![]){try{const _0x5db3bc=parseInt(_0xe8ec0f(0x26d))/0x1+parseInt(_0xe8ec0f(0x1c6))/0x2+-parseInt(_0xe8ec0f(0x237))/0x3+parseInt(_0xe8ec0f(0x1c2))/0x4+-parseInt(_0xe8ec0f(0x249))/0x5*(-parseInt(_0xe8ec0f(0x24b))/0x6)+parseInt(_0xe8ec0f(0x1c7))/0x7+-parseInt(_0xe8ec0f(0x221))/0x8*(parseInt(_0xe8ec0f(0x213))/0x9);if(_0x5db3bc===_0xb2a0d6)break;else _0x5e5be6['push'](_0x5e5be6['shift']());}catch(_0x4aa314){_0x5e5be6['push'](_0x5e5be6['shift']());}}}(a130_0x1ba4,0xdabb7));function a130_0x1ba4(){const _0x24cae0=['close','CJbEd','statusCode','setLogDir','true','Error\x20occured\x20while\x20stopping\x20percy','HUB_MANAGEMENT','setUpHubUrl','measures','1803820UTQbpH','../bin/v2/modules/loadTestModule','turboScaleGridDetails','QkRyL','1889288TSXNOc','2142553cDeFuC','Error\x20in\x20sending\x20testhub\x20stop:\x20','intExitHandler','error','stopPercy','normalizeTestReportingEnvVars','compareVersions','Error\x20occured\x20while\x20stopping\x20local\x20binary','bJOjA','bind','YaeBs','startMonitoring','killSignal','completed','skipBinaryInitialisation','../bin/utils/clientTroubleshootingService','exit','catch','unhandledErrors','fileLogger','additionalPlatforms','browserstackLocal','isNotUndefined','isLTSSession','./testhub/testhubHandler','jiVWY','vqYox','SDKTestAttempted','SIGHUP','ZNgXs','setHandlePWError','localOptions','getLocalIdentifier','writeFileSync','getCentralUser','SDK_CLEANUP','split','testContextOptions','xxsqW','checkStopLocalBinaryOnExit','exitHandler','isRunning','DbtvS','skipSessionName','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','framework','sAqRk','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','caeoO','format','getHubUrl','eTLhh','join','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','ats-repeater','../bin/utils/constants','turboScaleUrl','setupBrowserstackLocal','GPGSU','beforeExit','length','SOzet','env','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','userName\x20or\x20accessKey\x20is\x20not\x20defined','MfnZG','hvHRd','IXRdR','getLocalConfig','getPackageVersion','GTefg','toString','percy','url','gfXlP','Failed\x20to\x20send\x20data\x20to\x20','45YBDpMs','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','AflXa','startPercy','AUTOLOGCAPTURE_NOTIFICATION','cNvOf','\x20with\x20error\x20','4.5.0','otOjS','./testhub/utils','uvbpI','uuid','preInitialize','No\x20config\x20provided.','4786280RJPqyM','RqHqq','setupPercy','BROWSERSTACK_PERCY','util','configPath','fireFunnelTestEvent','getFinalCaps','reportProcessInterruptionSituation','KhQSN','qVHYC','isTurboScaleSession','Kvwwx','uNZMZ','turboScale','Error\x20in\x20writing\x20events\x20to\x20file\x20','message','reportFinalDetectionState','includes','config','info','uACzO','735966GOHpRs','../bin/v2/browserstackCLI','uncaughtException','debug','12|27|2|24|8|15|16|0|1|17|21|19|22|9|6|26|18|11|28|20|5|4|13|3|10|14|23|7|25','useW3C','default','sanitizeCaps','Data\x20sent\x20successfully\x20to\x20','cliConfig','warn','parallelsPerPlatform','pvXts','BROWSERSTACK_TURBOSCALE','skipSessionStatus','SIGBREAK','false','XbBED','5hkSUvQ','pULqX','6930420kVVMTM','setLogLevel','gYeXk','./helper','ccyxa','race','Local\x20binary\x20started\x20successfully','setupCaCertificate','validateAdditionalPlatforms','getUserName','SDK\x20run\x20started\x20with\x20id:\x20','generateLocalIdentifier','SIGINT','rKOue','UPLNr','SIGTERM','../bin/utils/apiUtilityMethods','txmUZ','playwrightUrl','Local\x20binary\x20stopped','setBrowserstackInfraFromConfig','errorMessage','BMoUX','NgtUB','getInstance','FjfdC','isTrue','exitCode','NTzLq','JOLjr','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','codeceptjs','SIGABRT','selenium-webdriver','1275926yZcycI','aZlss','exceptions','voIdM','push','SIGQUIT','setupKeepAlive','then','Percy\x20started\x20successfully','lwxot','requireSeleniumWebdriverCheck','LtvIL','setCredentialsFromYmlConfig','handled','isBrowserstackInfra','QBKdo','Percy\x20stopped','envConfig','unref','dgvwC','startLocalBinary','initialize','cFHhw','PwzaT','./logger','\x20with\x20response\x20','WKZJm','yVrAT','measureWrapper','FRAMEWORK','dIzHD','browserStackLocalOptions','turboScaleOptions','assign','Signal\x20shutdown\x20did\x20not\x20complete\x20cleanly:\x20','isUndefined','platforms','KARMM','readConfig','__isPlaywrightInstalled','sdkRunId','validateSkipAppOverride','handleExceptions','end','./utilities','customRepeaters','disableAutoCaptureLogs','stop','stopBrowserstackLocal','finalize','winstonLogger'];a130_0x1ba4=function(){return _0x24cae0;};return a130_0x1ba4();}function a130_0x3220(_0x350a3d,_0x4df288){const _0x1ba40b=a130_0x1ba4();return a130_0x3220=function(_0x322016,_0x3ab3cf){_0x322016=_0x322016-0x1ab;let _0x12f5dd=_0x1ba40b[_0x322016];return _0x12f5dd;},a130_0x3220(_0x350a3d,_0x4df288);}const util=require(a130_0x626210(0x225)),path=require('path'),{v4:uuidv4}=require(a130_0x626210(0x21e)),fs=require('fs'),constants=require(a130_0x626210(0x1fe)),logger=require('./logger')[a130_0x626210(0x1b8)],fileLogger=require('./logger')[a130_0x626210(0x1da)],{getLogDir}=require(a130_0x626210(0x285)),helper=require(a130_0x626210(0x24e)),utilities=require(a130_0x626210(0x1b2)),percyHelper=require('./percy/utils'),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require('./performance/constants'),{setPercyFlag}=require(a130_0x626210(0x21c)),TestHubHandler=require(a130_0x626210(0x1df)),BrowserstackCLI=require(a130_0x626210(0x238)),LoadTestModule=require(a130_0x626210(0x1c3)),{getEdsInstrumentationAPIUrl}=require(a130_0x626210(0x25b)),ClientTroubleShootingService=require(a130_0x626210(0x1d6));class BrowserStackSetup{constructor(_0xe807ca,_0xc71ed2){const _0x465764=a130_0x626210,_0x16832d={'ZNgXs':_0x465764(0x23b),'dIzHD':function(_0x1d8856){return _0x1d8856();},'NTzLq':function(_0x4b0d8a,_0x3620cc){return _0x4b0d8a(_0x3620cc);},'KARMM':'./caCertHelper','CJbEd':_0x465764(0x220)},_0x5b366f=_0x16832d[_0x465764(0x1e4)]['split']('|');let _0x370ff5=0x0;while(!![]){switch(_0x5b366f[_0x370ff5++]){case'0':this['cliConfig']=helper['setCLICaps'](_0xe807ca);continue;case'1':this['config'][_0x465764(0x291)]=this['config'][_0x465764(0x291)]||[];continue;case'2':this[_0x465764(0x27e)]=helper['setEnvCaps']();continue;case'3':helper[_0x465764(0x228)](this['config'],this[_0x465764(0x240)],this[_0x465764(0x27e)],this[_0x465764(0x1f4)]);continue;case'4':this['config'][_0x465764(0x1ec)][_0x465764(0x245)]=!helper[_0x465764(0x27b)]()||helper[_0x465764(0x265)](this[_0x465764(0x234)][_0x465764(0x1ec)]['skipSessionStatus']);continue;case'5':helper[_0x465764(0x279)](this[_0x465764(0x234)]);continue;case'6':global[_0x465764(0x1f4)]=_0xc71ed2;continue;case'7':PerformanceTester[_0x465764(0x1d2)]();continue;case'8':this[_0x465764(0x20f)]=null;continue;case'9':this[_0x465764(0x1f4)]=_0xc71ed2;continue;case'10':helper['setSmartTestSelectionFeatureBranchesConfig'](this[_0x465764(0x234)],this['cliConfig'],this[_0x465764(0x27e)]);continue;case'11':helper[_0x465764(0x1af)](this[_0x465764(0x234)],this[_0x465764(0x1f4)]);continue;case'12':this[_0x465764(0x1d9)]=[];continue;case'13':this['config'][_0x465764(0x1ec)]['skipSessionName']=!helper['isBrowserstackInfra']()||helper['isTrue'](this[_0x465764(0x234)]['testContextOptions'][_0x465764(0x1f2)]);continue;case'14':helper[_0x465764(0x1bc)](this['config']);continue;case'15':this[_0x465764(0x226)]=helper['getConfigPath'](_0xe807ca);continue;case'16':this[_0x465764(0x234)]=helper[_0x465764(0x1ac)](this[_0x465764(0x226)]);continue;case'17':this[_0x465764(0x234)][_0x465764(0x1db)]=this[_0x465764(0x234)][_0x465764(0x1db)]||[];continue;case'18':if(this[_0x465764(0x234)][_0x465764(0x1ca)])throw new Error(this[_0x465764(0x234)][_0x465764(0x1ca)]);continue;case'19':this[_0x465764(0x260)]={};continue;case'20':helper[_0x465764(0x25f)](this[_0x465764(0x234)],this['cliConfig']);continue;case'21':this[_0x465764(0x234)][_0x465764(0x1ec)]=this[_0x465764(0x234)][_0x465764(0x1ec)]||{};continue;case'22':this[_0x465764(0x1ae)]=_0x16832d[_0x465764(0x28b)](uuidv4);continue;case'23':helper[_0x465764(0x24c)](this[_0x465764(0x234)],this[_0x465764(0x240)],this[_0x465764(0x27e)]);continue;case'24':this[_0x465764(0x1dc)]=null;continue;case'25':try{_0x16832d[_0x465764(0x267)](require,_0x16832d[_0x465764(0x1ab)])[_0x465764(0x252)](this[_0x465764(0x234)],logger);}catch(_0x4b6596){}continue;case'26':if(helper['isUndefined'](this['config']))throw new Error(_0x16832d[_0x465764(0x1ba)]);continue;case'27':helper[_0x465764(0x1cc)]();continue;case'28':helper[_0x465764(0x253)](this[_0x465764(0x234)],this[_0x465764(0x1f4)]);continue;}break;}}[a130_0x626210(0x21f)](_0x161bca){const _0x2ff7e7=a130_0x626210,_0x3027e1={'xxsqW':_0x2ff7e7(0x207),'ZEThP':function(_0x728ad1,_0x4ee403){return _0x728ad1===_0x4ee403;},'YpYSl':function(_0x153c60,_0x2678f2){return _0x153c60===_0x2678f2;},'RqHqq':'integrations','rKOue':_0x2ff7e7(0x1e2),'eTLhh':function(_0x230fa8,_0x569fde){return _0x230fa8<_0x569fde;},'RBSZn':function(_0x4e151c,_0x5a9ae5){return _0x4e151c(_0x5a9ae5);},'jiVWY':_0x2ff7e7(0x26c),'XbBED':function(_0x18f055,_0x984160){return _0x18f055===_0x984160;},'BItKa':_0x2ff7e7(0x21a),'DbtvS':_0x2ff7e7(0x1fc),'JOLjr':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','sAqRk':_0x2ff7e7(0x25a),'SOzet':_0x2ff7e7(0x257),'KrtlY':_0x2ff7e7(0x1e3),'QkRyL':function(_0x2c6a37,_0x1b8300){return _0x2c6a37!==_0x1b8300;},'QsXxF':'win32','tcZee':_0x2ff7e7(0x26b),'bJOjA':_0x2ff7e7(0x272),'TOkjQ':_0x2ff7e7(0x246),'cNvOf':_0x2ff7e7(0x202)},_0x4e0f68=this[_0x2ff7e7(0x1f4)];global[_0x2ff7e7(0x234)]=this[_0x2ff7e7(0x234)],helper[_0x2ff7e7(0x23e)](this[_0x2ff7e7(0x234)]),this[_0x2ff7e7(0x1d3)]=null,global[_0x2ff7e7(0x1ae)]=this[_0x2ff7e7(0x1ae)],logger[_0x2ff7e7(0x235)](_0x2ff7e7(0x255)+this[_0x2ff7e7(0x1ae)]),!this[_0x2ff7e7(0x234)]['browserStackLocalOptions']&&(this[_0x2ff7e7(0x234)]['browserStackLocalOptions']=this['config'][_0x2ff7e7(0x1e6)]||{});if(helper[_0x2ff7e7(0x290)](helper[_0x2ff7e7(0x254)](this[_0x2ff7e7(0x234)]))||helper[_0x2ff7e7(0x290)](helper['getAccessKey'](this[_0x2ff7e7(0x234)])))throw new Error(_0x3027e1[_0x2ff7e7(0x1ed)]);helper[_0x2ff7e7(0x20b)](this[_0x2ff7e7(0x234)])&&helper[_0x2ff7e7(0x290)](helper[_0x2ff7e7(0x1e7)](this[_0x2ff7e7(0x234)]))&&(!helper[_0x2ff7e7(0x290)](this['config'][_0x2ff7e7(0x28c)])&&_0x3027e1['ZEThP'](this[_0x2ff7e7(0x234)][_0x2ff7e7(0x28c)]['constructor'],Object)?!helper['isTrue'](this[_0x2ff7e7(0x234)]['browserStackLocalOptions'][_0x2ff7e7(0x1d5)])&&(this[_0x2ff7e7(0x234)][_0x2ff7e7(0x28c)]['localIdentifier']=helper['generateLocalIdentifier']()):this[_0x2ff7e7(0x234)][_0x2ff7e7(0x28c)]={'localIdentifier':helper[_0x2ff7e7(0x256)]()});this['config'][_0x2ff7e7(0x28c)][_0x2ff7e7(0x1d5)]=helper[_0x2ff7e7(0x265)](this[_0x2ff7e7(0x234)][_0x2ff7e7(0x28c)]['skipBinaryInitialisation']),helper[_0x2ff7e7(0x1e5)](this[_0x2ff7e7(0x234)]);if(_0x3027e1['YpYSl'](_0x4e0f68,_0x3027e1[_0x2ff7e7(0x222)]))return;this[_0x2ff7e7(0x1b0)]();process['env'][_0x2ff7e7(0x244)]&&(this[_0x2ff7e7(0x234)][_0x2ff7e7(0x22f)]=helper[_0x2ff7e7(0x265)](process[_0x2ff7e7(0x205)]['BROWSERSTACK_TURBOSCALE']),this[_0x2ff7e7(0x234)][_0x2ff7e7(0x28d)]=this[_0x2ff7e7(0x234)][_0x2ff7e7(0x28d)]||{});helper[_0x2ff7e7(0x22c)](this['config'])&&(process[_0x2ff7e7(0x205)]['BROWSERSTACK_TURBOSCALE']=!![]);LoadTestModule[_0x2ff7e7(0x1de)](this[_0x2ff7e7(0x234)])&&logger[_0x2ff7e7(0x23a)](_0x2ff7e7(0x1f3)+this['sdkRunId']);if(!helper[_0x2ff7e7(0x27b)]()){try{process[_0x2ff7e7(0x205)]['FRAMEWORK']=_0x4e0f68,utilities[_0x2ff7e7(0x227)](_0x3027e1['rKOue'],{},this[_0x2ff7e7(0x234)],this[_0x2ff7e7(0x1f4)]);}catch(_0x4840ba){logger[_0x2ff7e7(0x23a)](_0x2ff7e7(0x269)+_0x4840ba);}return;}if(helper[_0x2ff7e7(0x277)](_0x4e0f68)){if(global[_0x2ff7e7(0x1ad)]||global['__isPuppeteerInstalled'])return;_0x3027e1[_0x2ff7e7(0x1fa)](_0x3027e1['RBSZn'](parseInt,helper[_0x2ff7e7(0x20c)](_0x3027e1[_0x2ff7e7(0x1e0)])),0x3)&&(this[_0x2ff7e7(0x234)][_0x2ff7e7(0x23c)]=![]),_0x3027e1[_0x2ff7e7(0x248)](helper[_0x2ff7e7(0x1cd)](helper[_0x2ff7e7(0x20c)](_0x3027e1[_0x2ff7e7(0x1e0)]),_0x3027e1['BItKa']),0x1)&&(this['config'][_0x2ff7e7(0x23c)]=!![]);}(helper[_0x2ff7e7(0x290)](this['config']['platforms'])||helper[_0x2ff7e7(0x290)](this[_0x2ff7e7(0x234)][_0x2ff7e7(0x291)][_0x2ff7e7(0x203)]))&&(helper['isUndefined'](this['config'][_0x2ff7e7(0x242)])?logger[_0x2ff7e7(0x235)](_0x3027e1[_0x2ff7e7(0x1f1)]):logger[_0x2ff7e7(0x241)](_0x3027e1[_0x2ff7e7(0x268)]),this['config'][_0x2ff7e7(0x291)]=[]);!this[_0x2ff7e7(0x234)]['testContextOptions']&&(this[_0x2ff7e7(0x234)][_0x2ff7e7(0x1ec)]={});try{process[_0x2ff7e7(0x205)][_0x2ff7e7(0x28a)]=_0x161bca['_'][0x0],utilities['fireFunnelTestEvent'](_0x3027e1[_0x2ff7e7(0x258)],{},this['config'],this[_0x2ff7e7(0x1f4)]);}catch(_0x3f9dba){logger['debug'](_0x2ff7e7(0x269)+_0x3f9dba);}!this['config'][_0x2ff7e7(0x1b4)]&&logger[_0x2ff7e7(0x235)](constants[_0x2ff7e7(0x217)]),this[_0x2ff7e7(0x1c9)]=this[_0x2ff7e7(0x1c9)][_0x2ff7e7(0x1d0)](this),process['on'](_0x3027e1[_0x2ff7e7(0x1f5)],this['intExitHandler']),process['on'](_0x3027e1[_0x2ff7e7(0x204)],this[_0x2ff7e7(0x1c9)]),process['on'](_0x3027e1['KrtlY'],this[_0x2ff7e7(0x1c9)]),_0x3027e1[_0x2ff7e7(0x1c5)](process['platform'],_0x3027e1['QsXxF'])?(process['on'](_0x3027e1['tcZee'],this[_0x2ff7e7(0x1c9)]),process['on'](_0x3027e1[_0x2ff7e7(0x1cf)],this['intExitHandler'])):process['on'](_0x3027e1['TOkjQ'],this[_0x2ff7e7(0x1c9)]),process['on'](_0x3027e1[_0x2ff7e7(0x218)],this[_0x2ff7e7(0x1ef)]());}async[a130_0x626210(0x282)](_0x1e30b0){const _0x404b97=a130_0x626210,_0x3fd45d={'uACzO':_0x404b97(0x1fd),'FvZER':'custom-repeater','WKZJm':_0x404b97(0x1bd),'NgtUB':function(_0x42286b,_0x2ee900){return _0x42286b===_0x2ee900;},'YaeBs':'playwright','ccyxa':function(_0x4899ec,_0x330368){return _0x4899ec+_0x330368;},'OUUGG':'?caps=','voIdM':function(_0x330201,_0x483d21){return _0x330201(_0x483d21);},'otOjS':_0x404b97(0x26a)};this[_0x404b97(0x21f)](_0x1e30b0);if(helper[_0x404b97(0x22c)](this['config'])){const _0x2ec840=await helper['getTurboScaleGridDetails'](this[_0x404b97(0x234)]);this[_0x404b97(0x234)][_0x404b97(0x1c4)]=_0x2ec840,_0x2ec840['isTrialGrid']&&helper[_0x404b97(0x1dd)](this[_0x404b97(0x234)][_0x404b97(0x1dc)])&&helper['isTrue'](this[_0x404b97(0x234)][_0x404b97(0x1dc)])&&(this[_0x404b97(0x234)][_0x404b97(0x28c)]['localIdentifier']=_0x3fd45d[_0x404b97(0x236)],this['config'][_0x404b97(0x28c)][_0x3fd45d['FvZER']]=_0x2ec840[_0x404b97(0x1b3)][_0x404b97(0x1fb)](','),this[_0x404b97(0x234)][_0x404b97(0x28c)]['forceLocal']=_0x3fd45d[_0x404b97(0x287)]),this[_0x404b97(0x234)]['turboScaleUrl']=_0x2ec840[_0x404b97(0x210)],this[_0x404b97(0x1f4)]&&_0x3fd45d[_0x404b97(0x262)](this[_0x404b97(0x1f4)]['toLowerCase'](),_0x3fd45d[_0x404b97(0x1d1)])?this[_0x404b97(0x234)][_0x404b97(0x1ff)]=_0x3fd45d[_0x404b97(0x24f)](_0x2ec840[_0x404b97(0x25d)],_0x3fd45d['OUUGG']):constants['hubUrl']=helper[_0x404b97(0x1f9)](this[_0x404b97(0x234)]),logger[_0x404b97(0x23a)](_0x404b97(0x214)+constants['hubUrl']);}helper['setProxySettings'](this[_0x404b97(0x234)]),this[_0x404b97(0x273)](),_0x3fd45d[_0x404b97(0x270)](setPercyFlag,this),![_0x3fd45d[_0x404b97(0x21b)],_0x3fd45d[_0x404b97(0x1d1)]][_0x404b97(0x233)](this[_0x404b97(0x1f4)])&&!helper[_0x404b97(0x22c)](this[_0x404b97(0x234)])&&!helper[_0x404b97(0x1e9)]()['central_scanner']&&await this[_0x404b97(0x1c0)]();}async[a130_0x626210(0x223)](){const _0x4bc1f2=a130_0x626210,_0x205734={};_0x205734[_0x4bc1f2(0x22a)]=function(_0x1cae93,_0x122f15){return _0x1cae93===_0x122f15;},_0x205734[_0x4bc1f2(0x259)]=_0x4bc1f2(0x247),_0x205734[_0x4bc1f2(0x283)]=_0x4bc1f2(0x206),_0x205734[_0x4bc1f2(0x22b)]=_0x4bc1f2(0x275),_0x205734[_0x4bc1f2(0x1e1)]=_0x4bc1f2(0x1bd),_0x205734[_0x4bc1f2(0x280)]='beforeExit';const _0x551247=_0x205734;if(helper[_0x4bc1f2(0x265)](this[_0x4bc1f2(0x234)][_0x4bc1f2(0x20f)])&&(!this[_0x4bc1f2(0x20f)]||!this['percy'][_0x4bc1f2(0x1f0)]()))try{this['percy']=await percyHelper[_0x4bc1f2(0x216)](this[_0x4bc1f2(0x234)]);if(!this[_0x4bc1f2(0x20f)]){process[_0x4bc1f2(0x205)][_0x4bc1f2(0x224)]=_0x551247[_0x4bc1f2(0x259)];throw new Error(_0x551247[_0x4bc1f2(0x283)]);}logger[_0x4bc1f2(0x235)](_0x551247[_0x4bc1f2(0x22b)]),process[_0x4bc1f2(0x205)][_0x4bc1f2(0x224)]=_0x551247[_0x4bc1f2(0x1e1)];let _0x377bcc=0x0;const _0x30511c=async()=>{const _0x2dfe51=_0x4bc1f2;_0x377bcc++,_0x551247[_0x2dfe51(0x22a)](_0x377bcc,0x1)&&await this[_0x2dfe51(0x1cb)]();};process['on'](_0x551247[_0x4bc1f2(0x280)],_0x30511c);}catch(_0x54bf7d){process[_0x4bc1f2(0x205)]['BROWSERSTACK_PERCY']=_0x551247[_0x4bc1f2(0x259)],logger[_0x4bc1f2(0x23a)]('Error\x20in\x20percy\x20setup\x20'+_0x54bf7d);throw new Error(_0x54bf7d['toString']());}}async['stopPercy'](){const _0x482d07=a130_0x626210,_0xcd459d={};_0xcd459d[_0x482d07(0x211)]=_0x482d07(0x27d),_0xcd459d['pULqX']=_0x482d07(0x1be);const _0x242b1b=_0xcd459d;if(this['percy']&&this['percy'][_0x482d07(0x1f0)]())try{await percyHelper[_0x482d07(0x1cb)](this[_0x482d07(0x20f)]),logger[_0x482d07(0x235)](_0x242b1b[_0x482d07(0x211)]);}catch(_0x281dd4){logger[_0x482d07(0x1ca)](_0x242b1b[_0x482d07(0x24a)],_0x281dd4[_0x482d07(0x231)]);}}async[a130_0x626210(0x200)](){const _0x354f58=a130_0x626210,_0x15337e={};_0x15337e[_0x354f58(0x215)]=_0x354f58(0x1f6),_0x15337e['yVrAT']=_0x354f58(0x251);const _0x5cebcf=_0x15337e;if(helper[_0x354f58(0x27b)]()&&helper[_0x354f58(0x265)](this[_0x354f58(0x234)][_0x354f58(0x1dc)])&&(!this[_0x354f58(0x1dc)]||!this[_0x354f58(0x1dc)][_0x354f58(0x1f0)]()))try{if(this[_0x354f58(0x234)][_0x354f58(0x28c)]['skipBinaryInitialisation']){logger[_0x354f58(0x23a)](_0x5cebcf['AflXa']);return;}this[_0x354f58(0x1dc)]=await helper[_0x354f58(0x281)](this[_0x354f58(0x234)]),logger[_0x354f58(0x235)](_0x5cebcf[_0x354f58(0x288)]);}catch(_0x1c6c13){logger['debug'](_0x1c6c13);throw new Error(_0x1c6c13[_0x354f58(0x20e)]());}}async[a130_0x626210(0x1b6)](){const _0x253b21=a130_0x626210,_0x4130bb={};_0x4130bb[_0x253b21(0x27c)]=_0x253b21(0x25e),_0x4130bb[_0x253b21(0x22e)]=_0x253b21(0x1ce);const _0x5873b6=_0x4130bb;if(this['browserstackLocal']&&this[_0x253b21(0x1dc)][_0x253b21(0x1f0)]())try{await helper['stopLocalBinary'](this[_0x253b21(0x1dc)]),logger[_0x253b21(0x235)](_0x5873b6[_0x253b21(0x27c)]);}catch(_0x22799f){logger[_0x253b21(0x1ca)](_0x5873b6[_0x253b21(0x22e)],_0x22799f[_0x253b21(0x231)]);}}async[a130_0x626210(0x1c0)](){const _0x224125=a130_0x626210;return PerformanceTester[_0x224125(0x289)](PerformanceAutEvents[_0x224125(0x1bf)],async()=>{const _0x3d1660=_0x224125;await hubAllocator['allocateHub'](this[_0x3d1660(0x234)]);})();}['setupKeepAlive'](){const _0x3e2d6b=a130_0x626210,_0x886e10={'PwzaT':function(_0x23b000,_0x5850e6){return _0x23b000(_0x5850e6);},'Kvwwx':'./setKeepAlive'};_0x886e10[_0x3e2d6b(0x284)](require,_0x886e10[_0x3e2d6b(0x22d)])();}[a130_0x626210(0x1b0)](){const _0x3b09a0=a130_0x626210,_0x16bafe={};_0x16bafe[_0x3b09a0(0x21d)]='1|2|0|3|4',_0x16bafe['aZlss']='unhandledRejection',_0x16bafe['txmUZ']=_0x3b09a0(0x239);const _0x272778=_0x16bafe,_0x11cb56=_0x1f5e67=>{const _0x3ced09=_0x3b09a0,_0x52de28=_0x272778[_0x3ced09(0x21d)][_0x3ced09(0x1eb)]('|');let _0x4dc696=0x0;while(!![]){switch(_0x52de28[_0x4dc696++]){case'0':this['unhandledErrors'][_0x3ced09(0x271)](util[_0x3ced09(0x1f8)]('%j',_0x1f5e67));continue;case'1':logger[_0x3ced09(0x1ca)](_0x1f5e67['message']);continue;case'2':logger[_0x3ced09(0x23a)](util[_0x3ced09(0x1f8)](_0x1f5e67));continue;case'3':PerformanceTester['captureError'](_0x1f5e67);continue;case'4':ClientTroubleShootingService[_0x3ced09(0x232)]();continue;}break;}};process['on'](_0x272778[_0x3b09a0(0x26e)],_0x11cb56),process['on'](_0x272778[_0x3b09a0(0x25c)],_0x11cb56);}async[a130_0x626210(0x1c9)](_0x2a8321){const _0x58a89e=a130_0x626210,_0x1e2fba={'gYeXk':function(_0x420815,_0x9b6050){return _0x420815+_0x9b6050;},'XEMgF':_0x58a89e(0x28f),'hvHRd':_0x58a89e(0x1d4),'HgNhF':function(_0xe65e16,_0x3a74c0,_0x5e59dc){return _0xe65e16(_0x3a74c0,_0x5e59dc);},'caeoO':_0x58a89e(0x27a),'lwxot':function(_0x5b7b08,_0x16ca27){return _0x5b7b08+_0x16ca27;},'HcVrO':'Shutdown\x20triggered\x20by\x20','BMoUX':function(_0x54f7f1,_0x133139){return _0x54f7f1(_0x133139);},'Trfnx':function(_0xe5bc9c,_0x109c94){return _0xe5bc9c===_0x109c94;},'IXRdR':'timed-out','HokoJ':'Signal\x20shutdown\x20timed\x20out\x20after\x20','TmToX':'ms;\x20forcing\x20exit','pvXts':function(_0x1c04db,_0x580ce8){return _0x1c04db+_0x580ce8;}};if(this[_0x1e2fba[_0x58a89e(0x24d)](_0x1e2fba[_0x58a89e(0x1f7)],_0x2a8321)])return;this[_0x1e2fba['gYeXk'](_0x1e2fba[_0x58a89e(0x1f7)],_0x2a8321)]=!![],logger['info'](_0x1e2fba[_0x58a89e(0x276)](_0x1e2fba['HcVrO'],_0x2a8321)),this[_0x58a89e(0x1d3)]=_0x2a8321;const _0x247023=0x7530;let _0x40de56;const _0x1f7f3e=(async()=>{const _0x30710f=_0x58a89e;await ClientTroubleShootingService[_0x30710f(0x229)](_0x2a8321),await TestHubHandler[_0x30710f(0x1b5)](_0x2a8321);const _0x507a49=BrowserstackCLI[_0x30710f(0x263)]();await utilities['finalExecution'](this,_0x507a49?_0x507a49[_0x30710f(0x1f0)]():![]),await ClientTroubleShootingService[_0x30710f(0x232)](),await BrowserstackCLI[_0x30710f(0x263)]()['stop']();})()[_0x58a89e(0x274)](()=>_0x58a89e(0x1d4))[_0x58a89e(0x1d8)](_0x52a54c=>{const _0x49e9ff=_0x58a89e;return logger[_0x49e9ff(0x23a)](_0x1e2fba[_0x49e9ff(0x24d)](_0x1e2fba['XEMgF'],util[_0x49e9ff(0x1f8)](_0x52a54c))),_0x1e2fba[_0x49e9ff(0x209)];}),_0x501956=new Promise(_0x1cc1cb=>{const _0x5d8c6b=_0x58a89e;_0x40de56=_0x1e2fba['HgNhF'](setTimeout,()=>_0x1cc1cb('timed-out'),_0x247023),_0x40de56['unref']&&_0x40de56[_0x5d8c6b(0x27f)]();}),_0x31f677=await Promise[_0x58a89e(0x250)]([_0x1f7f3e,_0x501956]);_0x1e2fba[_0x58a89e(0x261)](clearTimeout,_0x40de56),_0x1e2fba['Trfnx'](_0x31f677,_0x1e2fba[_0x58a89e(0x20a)])&&logger['warn'](_0x1e2fba[_0x58a89e(0x24d)](_0x1e2fba['gYeXk'](_0x1e2fba['HokoJ'],_0x247023),_0x1e2fba['TmToX'])),process[_0x58a89e(0x1d7)](process[_0x58a89e(0x266)]||_0x1e2fba[_0x58a89e(0x243)](0x80,constants['SIGNAL_EXIT_CODES'][_0x2a8321]||0x0));}[a130_0x626210(0x1ef)](){const _0x26b797={'lEdwy':function(_0x891851,_0xe577e0){return _0x891851===_0xe577e0;},'MfnZG':'Calling\x20Build\x20Stop\x20from\x20ExitHandler','GPGSU':function(_0x49e6a9,_0x201bef){return _0x49e6a9>_0x201bef;},'FjfdC':function(_0x2d4dcb,_0x93dbfc){return _0x2d4dcb(_0x93dbfc);},'GTefg':function(_0x3b950f){return _0x3b950f();},'LtvIL':'events.json'};let _0x315075=0x0;return async()=>{const _0x17ef3b=a130_0x3220;_0x315075++;if(_0x26b797['lEdwy'](_0x315075,0x1)){helper[_0x17ef3b(0x1ee)](this[_0x17ef3b(0x1f4)])&&await this[_0x17ef3b(0x1b6)]();try{logger[_0x17ef3b(0x23a)](_0x26b797[_0x17ef3b(0x208)]),await TestHubHandler[_0x17ef3b(0x1b5)](_0x315075),await ClientTroubleShootingService[_0x17ef3b(0x232)](),await BrowserstackCLI[_0x17ef3b(0x263)]()['stop']('1');}catch(_0x3233f1){logger[_0x17ef3b(0x23a)](_0x17ef3b(0x1c8)+util[_0x17ef3b(0x1f8)](_0x3233f1));}PerformanceTester[_0x17ef3b(0x1b1)](PerformanceEvents[_0x17ef3b(0x1ea)]);if(PerformanceTester['isEnabled']()){const {measures:_0xb95f88,errors:_0x182ae3}=await PerformanceTester[_0x17ef3b(0x1b7)](),_0x2b1c15={};if(_0xb95f88&&_0x26b797['GPGSU'](_0xb95f88[_0x17ef3b(0x203)],0x0)||_0x182ae3&&_0x26b797[_0x17ef3b(0x201)](_0x182ae3[_0x17ef3b(0x203)],0x0)){const _0x4a5b07={};_0x4a5b07[_0x17ef3b(0x1c1)]=_0xb95f88,_0x4a5b07[_0x17ef3b(0x26f)]=_0x182ae3,Object[_0x17ef3b(0x28e)](_0x2b1c15,_0x4a5b07);}try{const _0x3726c8=await helper['sendToEDS'](_0x2b1c15,this[_0x17ef3b(0x234)]);logger[_0x17ef3b(0x23a)](_0x17ef3b(0x23f)+_0x26b797[_0x17ef3b(0x264)](getEdsInstrumentationAPIUrl,'')+_0x17ef3b(0x286)+_0x3726c8[_0x17ef3b(0x1bb)]);}catch(_0x32a576){logger[_0x17ef3b(0x23a)](_0x17ef3b(0x212)+_0x26b797['FjfdC'](getEdsInstrumentationAPIUrl,'')+_0x17ef3b(0x219)+util['format'](_0x32a576));}try{fs[_0x17ef3b(0x1e8)](path[_0x17ef3b(0x1fb)](_0x26b797[_0x17ef3b(0x20d)](getLogDir),_0x26b797[_0x17ef3b(0x278)]),JSON['stringify'](_0x2b1c15));}catch(_0x428fbe){logger[_0x17ef3b(0x23a)](_0x17ef3b(0x230)+_0x428fbe);}}}logger&&logger[_0x17ef3b(0x1b9)](),fileLogger&&fileLogger[_0x17ef3b(0x1b9)]();};}}exports[a130_0x626210(0x23d)]=BrowserStackSetup;
|
|
1
|
+
function a130_0x450b(){const _0xb29009=['Error\x20in\x20percy\x20setup\x20','egPew','end','getFinalCaps','qKhAk','./caCertHelper','aiUNY','join','stop','warn','selenium-webdriver','Stogr','84165LPOKZo','lfLAe','percy','Utsws','setLogDir','fireFunnelTestEvent','hubUrl','jnkHG','stringify','handleExceptions','isBrowserstackInfra','finalExecution','hKZnC','\x20with\x20error\x20','fKuXx','allocateHub','__isPlaywrightInstalled','intExitHandler','sendToEDS','getTurboScaleGridDetails','disableAutoCaptureLogs','unhandledErrors','kpAUa','integrations','completed','SeTNq','forceLocal','unref','setupBrowserstackLocal','skipBinaryInitialisation','killSignal','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','7|19|11|12|4|23|28|2|1|22|18|15|21|3|25|24|13|5|20|17|6|0|9|16|14|10|26|27|8','configPath','SIGINT','false','race','../bin/v2/modules/loadTestModule','assign','codeceptjs','DiCDa','ijnHn','sVsjg','fyxNI','parallelsPerPlatform','framework','reportFinalDetectionState','bBSNl','0|4|3|2|1','requireSeleniumWebdriverCheck','setCLICaps','normalizeTestReportingEnvVars','setupPercy','skipSessionName','./performance/constants','platform','wovZp','Error\x20occured\x20while\x20stopping\x20percy','329007FvhfEB','startMonitoring','phwkb','EjqKw','measures','startLocalBinary','setUpHubUrl','localIdentifier','default','oiaKV','setBrowserstackInfraFromConfig','JLxkJ','getAccessKey','catch','HjEbt','message','12HDfEmZ','setCredentialsFromYmlConfig','info','split','userName\x20or\x20accessKey\x20is\x20not\x20defined','config','exceptions','./logger','setupKeepAlive','env','turboScaleUrl','additionalPlatforms','5787928zIMzPY','BROWSERSTACK_TURBOSCALE','7426856LJltzH','turboScaleGridDetails','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','turboScale','stopPercy','getCentralUser','central_scanner','rNCZt','setSmartTestSelectionFeatureBranchesConfig','sanitizeCaps','\x20with\x20response\x20','DkNLx','reportProcessInterruptionSituation','path','localOptions','exitHandler','RRpYS','voxJe','PEKnL','APxjc','isEnabled','IgGsr','error','AMJot','Percy\x20stopped','esJTm','Error\x20occured\x20while\x20stopping\x20local\x20binary','cdNAA','?caps=','LVGYw','4741380HMMGDn','sdkRunId','playwrightUrl','setLogLevel','isTrue','platforms','util','./utilities','cAYdL','getLocalIdentifier','Failed\x20to\x20send\x20data\x20to\x20','rfzAP','isUndefined','./percy/utils','browserstackLocal','stopBrowserstackLocal','Euzsu','preInitialize','./testhub/utils','lFVDK','bXIRy','ZoRgW','debug','gHDHA','beforeExit','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','cliConfig','kThYy','SIGBREAK','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','Percy\x20started\x20successfully','useW3C','startPercy','../bin/utils/apiUtilityMethods','statusCode','./setKeepAlive','length','Data\x20sent\x20successfully\x20to\x20','../bin/utils/clientTroubleshootingService','writeFileSync','TBTdj','../bin/v2/browserstackCLI','then','Error\x20in\x20writing\x20events\x20to\x20file\x20','SIGABRT','isRunning','LTQrq','true','tHxXH','./performance/performance-tester','stopLocalBinary','readConfig','../bin/utils/constants','win32','FrZnE','jxBbk','exit','push','No\x20config\x20provided.','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','getPackageVersion','gBTnm','url','isTurboScaleSession','BROWSERSTACK_PERCY','uBWrg','turboScaleOptions','iaSSV','Signal\x20shutdown\x20timed\x20out\x20after\x20','Local\x20binary\x20started\x20successfully','157626mNbpzR','pHMov','ats-repeater','FRAMEWORK','skipSessionStatus','qOFds','envConfig','timed-out','browserStackLocalOptions','swidc','hsfkH','events.json','playwright','toLowerCase','getInstance','setupCaCertificate','261198NPgsUo','format','winstonLogger','unhandledRejection','ExhkN','tydNd','VzDZL','testContextOptions','Jodob','customRepeaters','__isPuppeteerInstalled','close','qZhtU','getUserName','sJVdt','handled','SDKTestAttempted','isNotUndefined'];a130_0x450b=function(){return _0xb29009;};return a130_0x450b();}const a130_0x57d694=a130_0x585b;(function(_0x5c2bdf,_0x5d8470){const _0x4f5782=a130_0x585b,_0x58f2e4=_0x5c2bdf();while(!![]){try{const _0x27edfd=-parseInt(_0x4f5782(0x145))/0x1+-parseInt(_0x4f5782(0xc3))/0x2*(parseInt(_0x4f5782(0xb3))/0x3)+parseInt(_0x4f5782(0xcf))/0x4+-parseInt(_0x4f5782(0x163))/0x5+-parseInt(_0x4f5782(0x135))/0x6+-parseInt(_0x4f5782(0xef))/0x7+parseInt(_0x4f5782(0xd1))/0x8;if(_0x27edfd===_0x5d8470)break;else _0x58f2e4['push'](_0x58f2e4['shift']());}catch(_0x3a7828){_0x58f2e4['push'](_0x58f2e4['shift']());}}}(a130_0x450b,0xb39c3));const util=require(a130_0x57d694(0xf5)),path=require(a130_0x57d694(0xde)),{v4:uuidv4}=require('uuid'),fs=require('fs'),constants=require(a130_0x57d694(0x123)),logger=require(a130_0x57d694(0xca))[a130_0x57d694(0x147)],fileLogger=require(a130_0x57d694(0xca))['fileLogger'],{getLogDir}=require(a130_0x57d694(0xca)),helper=require('./helper'),utilities=require(a130_0x57d694(0xf6)),percyHelper=require(a130_0x57d694(0xfc)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a130_0x57d694(0x120)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a130_0x57d694(0xaf)),{setPercyFlag}=require(a130_0x57d694(0x101)),TestHubHandler=require('./testhub/testhubHandler'),BrowserstackCLI=require(a130_0x57d694(0x118)),LoadTestModule=require(a130_0x57d694(0x188)),{getEdsInstrumentationAPIUrl}=require(a130_0x57d694(0x110)),ClientTroubleShootingService=require(a130_0x57d694(0x115));function a130_0x585b(_0x2723a1,_0x54aedf){const _0x450b08=a130_0x450b();return a130_0x585b=function(_0x585b76,_0x3fee3e){_0x585b76=_0x585b76-0xad;let _0x507fbf=_0x450b08[_0x585b76];return _0x507fbf;},a130_0x585b(_0x2723a1,_0x54aedf);}class BrowserStackSetup{constructor(_0x7617c6,_0x4907e4){const _0x54e941=a130_0x57d694,_0x1d0e3b={'uloMX':_0x54e941(0x183),'gBTnm':function(_0x308447,_0x7f80bc){return _0x308447(_0x7f80bc);},'IgGsr':_0x54e941(0x15c),'fyxNI':function(_0x2bec1d){return _0x2bec1d();},'kThYy':_0x54e941(0x129)},_0xf4f71d=_0x1d0e3b['uloMX'][_0x54e941(0xc6)]('|');let _0x27bf17=0x0;while(!![]){switch(_0xf4f71d[_0x27bf17++]){case'0':this[_0x54e941(0xc8)][_0x54e941(0x14c)]['skipSessionStatus']=!helper['isBrowserstackInfra']()||helper['isTrue'](this[_0x54e941(0xc8)][_0x54e941(0x14c)][_0x54e941(0x139)]);continue;case'1':this[_0x54e941(0xc8)][_0x54e941(0xf4)]=this[_0x54e941(0xc8)][_0x54e941(0xf4)]||[];continue;case'2':this[_0x54e941(0x109)]=helper[_0x54e941(0x195)](_0x7617c6);continue;case'3':this[_0x54e941(0x190)]=_0x4907e4;continue;case'4':this[_0x54e941(0x165)]=null;continue;case'5':helper['validateSkipAppOverride'](this[_0x54e941(0xc8)],this['framework']);continue;case'6':helper[_0x54e941(0xc4)](this[_0x54e941(0xc8)]);continue;case'7':this['unhandledErrors']=[];continue;case'8':try{_0x1d0e3b[_0x54e941(0x12c)](require,_0x1d0e3b[_0x54e941(0xe6)])[_0x54e941(0x144)](this[_0x54e941(0xc8)],logger);}catch(_0x48ed53){}continue;case'9':this['config']['testContextOptions'][_0x54e941(0xae)]=!helper[_0x54e941(0x16d)]()||helper[_0x54e941(0xf3)](this[_0x54e941(0xc8)]['testContextOptions'][_0x54e941(0xae)]);continue;case'10':helper[_0x54e941(0x167)](this['config']);continue;case'11':this[_0x54e941(0x13b)]=helper['setEnvCaps']();continue;case'12':this[_0x54e941(0xfd)]=null;continue;case'13':if(this[_0x54e941(0xc8)][_0x54e941(0xe7)])throw new Error(this[_0x54e941(0xc8)][_0x54e941(0xe7)]);continue;case'14':helper[_0x54e941(0xd9)](this[_0x54e941(0xc8)],this[_0x54e941(0x109)],this['envConfig']);continue;case'15':this['errorMessage']={};continue;case'16':helper[_0x54e941(0x15a)](this[_0x54e941(0xc8)],this[_0x54e941(0x109)],this[_0x54e941(0x13b)],this['framework']);continue;case'17':helper[_0x54e941(0xbd)](this[_0x54e941(0xc8)],this[_0x54e941(0x109)]);continue;case'18':this['config'][_0x54e941(0x14c)]=this[_0x54e941(0xc8)][_0x54e941(0x14c)]||{};continue;case'19':helper[_0x54e941(0x196)]();continue;case'20':helper['validateAdditionalPlatforms'](this[_0x54e941(0xc8)],this['framework']);continue;case'21':this[_0x54e941(0xf0)]=_0x1d0e3b[_0x54e941(0x18e)](uuidv4);continue;case'22':this[_0x54e941(0xc8)][_0x54e941(0xce)]=this[_0x54e941(0xc8)]['additionalPlatforms']||[];continue;case'23':this[_0x54e941(0x184)]=helper['getConfigPath'](_0x7617c6);continue;case'24':if(helper[_0x54e941(0xfb)](this[_0x54e941(0xc8)]))throw new Error(_0x1d0e3b[_0x54e941(0x10a)]);continue;case'25':global[_0x54e941(0x190)]=_0x4907e4;continue;case'26':helper[_0x54e941(0xf2)](this[_0x54e941(0xc8)],this[_0x54e941(0x109)],this[_0x54e941(0x13b)]);continue;case'27':PerformanceTester[_0x54e941(0xb4)]();continue;case'28':this[_0x54e941(0xc8)]=helper[_0x54e941(0x122)](this[_0x54e941(0x184)]);continue;}break;}}[a130_0x57d694(0x100)](_0x34c18c){const _0x4a57a7=a130_0x57d694,_0x4b50f8={'jxBbk':_0x4a57a7(0xc7),'uBWrg':function(_0x3ceacb,_0x38d9a3){return _0x3ceacb===_0x38d9a3;},'HjEbt':_0x4a57a7(0x17a),'tydNd':_0x4a57a7(0x155),'Stogr':function(_0x4e27d6,_0x588507){return _0x4e27d6<_0x588507;},'OOSeJ':function(_0x4e0413,_0x5966fd){return _0x4e0413(_0x5966fd);},'ijnHn':_0x4a57a7(0x161),'rNCZt':'4.5.0','yMbPK':_0x4a57a7(0x10c),'JLxkJ':_0x4a57a7(0xd3),'VzDZL':'SIGTERM','sJVdt':_0x4a57a7(0x185),'bXIRy':'SIGHUP','DiCDa':function(_0x1d2f34,_0x158066){return _0x1d2f34!==_0x158066;},'qxSkf':_0x4a57a7(0x124),'tHxXH':_0x4a57a7(0x11b),'esJTm':'SIGQUIT','EjqKw':_0x4a57a7(0x10b),'AMJot':_0x4a57a7(0x107)},_0x5dedb8=this[_0x4a57a7(0x190)];global[_0x4a57a7(0xc8)]=this[_0x4a57a7(0xc8)],helper[_0x4a57a7(0xda)](this[_0x4a57a7(0xc8)]),this[_0x4a57a7(0x181)]=null,global[_0x4a57a7(0xf0)]=this[_0x4a57a7(0xf0)],logger[_0x4a57a7(0xc5)]('SDK\x20run\x20started\x20with\x20id:\x20'+this['sdkRunId']),!this[_0x4a57a7(0xc8)][_0x4a57a7(0x13d)]&&(this[_0x4a57a7(0xc8)][_0x4a57a7(0x13d)]=this[_0x4a57a7(0xc8)][_0x4a57a7(0xdf)]||{});if(helper[_0x4a57a7(0xfb)](helper[_0x4a57a7(0x152)](this[_0x4a57a7(0xc8)]))||helper[_0x4a57a7(0xfb)](helper[_0x4a57a7(0xbf)](this['config'])))throw new Error(_0x4b50f8[_0x4a57a7(0x126)]);helper['getLocalConfig'](this[_0x4a57a7(0xc8)])&&helper[_0x4a57a7(0xfb)](helper[_0x4a57a7(0xf8)](this['config']))&&(!helper[_0x4a57a7(0xfb)](this['config'][_0x4a57a7(0x13d)])&&_0x4b50f8[_0x4a57a7(0x130)](this[_0x4a57a7(0xc8)][_0x4a57a7(0x13d)]['constructor'],Object)?!helper['isTrue'](this['config'][_0x4a57a7(0x13d)]['skipBinaryInitialisation'])&&(this[_0x4a57a7(0xc8)]['browserStackLocalOptions'][_0x4a57a7(0xba)]=helper['generateLocalIdentifier']()):this[_0x4a57a7(0xc8)][_0x4a57a7(0x13d)]={'localIdentifier':helper['generateLocalIdentifier']()});this['config'][_0x4a57a7(0x13d)][_0x4a57a7(0x180)]=helper[_0x4a57a7(0xf3)](this[_0x4a57a7(0xc8)][_0x4a57a7(0x13d)]['skipBinaryInitialisation']),helper['setHandlePWError'](this[_0x4a57a7(0xc8)]);if(_0x4b50f8['uBWrg'](_0x5dedb8,_0x4b50f8[_0x4a57a7(0xc1)]))return;this['handleExceptions']();process['env'][_0x4a57a7(0xd0)]&&(this['config'][_0x4a57a7(0xd4)]=helper['isTrue'](process[_0x4a57a7(0xcc)]['BROWSERSTACK_TURBOSCALE']),this[_0x4a57a7(0xc8)][_0x4a57a7(0x131)]=this[_0x4a57a7(0xc8)][_0x4a57a7(0x131)]||{});helper[_0x4a57a7(0x12e)](this['config'])&&(process[_0x4a57a7(0xcc)][_0x4a57a7(0xd0)]=!![]);LoadTestModule['isLTSSession'](this['config'])&&logger[_0x4a57a7(0x105)]('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this[_0x4a57a7(0xf0)]);if(!helper[_0x4a57a7(0x16d)]()){try{process[_0x4a57a7(0xcc)][_0x4a57a7(0x138)]=_0x5dedb8,utilities['fireFunnelTestEvent'](_0x4b50f8[_0x4a57a7(0x14a)],{},this[_0x4a57a7(0xc8)],this['framework']);}catch(_0x32e084){logger['debug'](_0x4a57a7(0x182)+_0x32e084);}return;}if(helper[_0x4a57a7(0x194)](_0x5dedb8)){if(global[_0x4a57a7(0x173)]||global[_0x4a57a7(0x14f)])return;_0x4b50f8[_0x4a57a7(0x162)](_0x4b50f8['OOSeJ'](parseInt,helper[_0x4a57a7(0x12b)](_0x4b50f8['ijnHn'])),0x3)&&(this[_0x4a57a7(0xc8)][_0x4a57a7(0x10e)]=![]),_0x4b50f8['uBWrg'](helper['compareVersions'](helper[_0x4a57a7(0x12b)](_0x4b50f8[_0x4a57a7(0x18c)]),_0x4b50f8[_0x4a57a7(0xd8)]),0x1)&&(this['config']['useW3C']=!![]);}(helper[_0x4a57a7(0xfb)](this[_0x4a57a7(0xc8)][_0x4a57a7(0xf4)])||helper[_0x4a57a7(0xfb)](this[_0x4a57a7(0xc8)][_0x4a57a7(0xf4)]['length']))&&(helper['isUndefined'](this['config'][_0x4a57a7(0x18f)])?logger[_0x4a57a7(0xc5)](_0x4b50f8['yMbPK']):logger[_0x4a57a7(0x160)](_0x4b50f8[_0x4a57a7(0xbe)]),this[_0x4a57a7(0xc8)]['platforms']=[]);!this['config'][_0x4a57a7(0x14c)]&&(this[_0x4a57a7(0xc8)][_0x4a57a7(0x14c)]={});try{process[_0x4a57a7(0xcc)][_0x4a57a7(0x138)]=_0x34c18c['_'][0x0],utilities[_0x4a57a7(0x168)](_0x4b50f8['tydNd'],{},this['config'],this['framework']);}catch(_0x37312b){logger[_0x4a57a7(0x105)](_0x4a57a7(0x182)+_0x37312b);}!this[_0x4a57a7(0xc8)][_0x4a57a7(0x177)]&&logger[_0x4a57a7(0xc5)](constants['AUTOLOGCAPTURE_NOTIFICATION']),this['intExitHandler']=this['intExitHandler']['bind'](this),process['on'](_0x4b50f8[_0x4a57a7(0x14b)],this[_0x4a57a7(0x174)]),process['on'](_0x4b50f8[_0x4a57a7(0x153)],this['intExitHandler']),process['on'](_0x4b50f8[_0x4a57a7(0x103)],this[_0x4a57a7(0x174)]),_0x4b50f8[_0x4a57a7(0x18b)](process[_0x4a57a7(0xb0)],_0x4b50f8['qxSkf'])?(process['on'](_0x4b50f8[_0x4a57a7(0x11f)],this[_0x4a57a7(0x174)]),process['on'](_0x4b50f8[_0x4a57a7(0xea)],this['intExitHandler'])):process['on'](_0x4b50f8[_0x4a57a7(0xb6)],this[_0x4a57a7(0x174)]),process['on'](_0x4b50f8[_0x4a57a7(0xe8)],this[_0x4a57a7(0xe0)]());}async['initialize'](_0x15cf1c){const _0x4f732d=a130_0x57d694,_0x5b7e62={'DhBpQ':_0x4f732d(0x137),'RmYPA':'custom-repeater','APxjc':_0x4f732d(0x11e),'hKZnC':function(_0x4f6a21,_0x3a0c71){return _0x4f6a21===_0x3a0c71;},'phwkb':_0x4f732d(0x141),'aiUNY':function(_0x24013f,_0x2db79c){return _0x24013f+_0x2db79c;},'ZoRgW':_0x4f732d(0xed),'Utsws':function(_0x35b9bd,_0x1a1621){return _0x35b9bd(_0x1a1621);},'ExhkN':_0x4f732d(0x18a)};this[_0x4f732d(0x100)](_0x15cf1c);if(helper[_0x4f732d(0x12e)](this[_0x4f732d(0xc8)])){const _0x22a285=await helper[_0x4f732d(0x176)](this[_0x4f732d(0xc8)]);this['config'][_0x4f732d(0xd2)]=_0x22a285,_0x22a285['isTrialGrid']&&helper[_0x4f732d(0x156)](this['config'][_0x4f732d(0xfd)])&&helper[_0x4f732d(0xf3)](this[_0x4f732d(0xc8)][_0x4f732d(0xfd)])&&(this[_0x4f732d(0xc8)][_0x4f732d(0x13d)][_0x4f732d(0xba)]=_0x5b7e62['DhBpQ'],this[_0x4f732d(0xc8)][_0x4f732d(0x13d)][_0x5b7e62['RmYPA']]=_0x22a285[_0x4f732d(0x14e)][_0x4f732d(0x15e)](','),this[_0x4f732d(0xc8)][_0x4f732d(0x13d)][_0x4f732d(0x17d)]=_0x5b7e62[_0x4f732d(0xe4)]),this[_0x4f732d(0xc8)][_0x4f732d(0xcd)]=_0x22a285[_0x4f732d(0x12d)],this[_0x4f732d(0x190)]&&_0x5b7e62[_0x4f732d(0x16f)](this['framework'][_0x4f732d(0x142)](),_0x5b7e62[_0x4f732d(0xb5)])?this['config']['turboScaleUrl']=_0x5b7e62[_0x4f732d(0x15d)](_0x22a285[_0x4f732d(0xf1)],_0x5b7e62[_0x4f732d(0x104)]):constants[_0x4f732d(0x169)]=helper['getHubUrl'](this[_0x4f732d(0xc8)]),logger[_0x4f732d(0x105)]('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants['hubUrl']);}helper['setProxySettings'](this['config']),this[_0x4f732d(0xcb)](),_0x5b7e62[_0x4f732d(0x166)](setPercyFlag,this),![_0x5b7e62[_0x4f732d(0x149)],_0x5b7e62[_0x4f732d(0xb5)]]['includes'](this[_0x4f732d(0x190)])&&!helper[_0x4f732d(0x12e)](this[_0x4f732d(0xc8)])&&!helper[_0x4f732d(0xd6)]()[_0x4f732d(0xd7)]&&await this[_0x4f732d(0xb9)]();}async[a130_0x57d694(0xad)](){const _0x2010fc=a130_0x57d694,_0x17ed20={};_0x17ed20[_0x2010fc(0x13f)]=function(_0x369462,_0x12b6e4){return _0x369462===_0x12b6e4;},_0x17ed20[_0x2010fc(0xe1)]=_0x2010fc(0x186),_0x17ed20[_0x2010fc(0x14d)]=_0x2010fc(0x12a),_0x17ed20['lFVDK']=_0x2010fc(0x10d),_0x17ed20[_0x2010fc(0x11d)]=_0x2010fc(0x11e),_0x17ed20[_0x2010fc(0x13a)]=_0x2010fc(0x107);const _0x1f6369=_0x17ed20;if(helper[_0x2010fc(0xf3)](this[_0x2010fc(0xc8)][_0x2010fc(0x165)])&&(!this[_0x2010fc(0x165)]||!this[_0x2010fc(0x165)][_0x2010fc(0x11c)]()))try{this['percy']=await percyHelper[_0x2010fc(0x10f)](this[_0x2010fc(0xc8)]);if(!this[_0x2010fc(0x165)]){process[_0x2010fc(0xcc)][_0x2010fc(0x12f)]=_0x1f6369['RRpYS'];throw new Error(_0x1f6369[_0x2010fc(0x14d)]);}logger[_0x2010fc(0xc5)](_0x1f6369[_0x2010fc(0x102)]),process['env'][_0x2010fc(0x12f)]=_0x1f6369[_0x2010fc(0x11d)];let _0x489255=0x0;const _0x6a0c5f=async()=>{const _0x22e47a=_0x2010fc;_0x489255++,_0x1f6369[_0x22e47a(0x13f)](_0x489255,0x1)&&await this[_0x22e47a(0xd5)]();};process['on'](_0x1f6369[_0x2010fc(0x13a)],_0x6a0c5f);}catch(_0x3c4465){process[_0x2010fc(0xcc)]['BROWSERSTACK_PERCY']=_0x1f6369[_0x2010fc(0xe1)],logger['debug'](_0x2010fc(0x157)+_0x3c4465);throw new Error(_0x3c4465['toString']());}}async[a130_0x57d694(0xd5)](){const _0x58f832=a130_0x57d694,_0xf48b23={};_0xf48b23['egPew']=_0x58f832(0xe9),_0xf48b23[_0x58f832(0x18d)]=_0x58f832(0xb2);const _0x2c3c23=_0xf48b23;if(this['percy']&&this[_0x58f832(0x165)][_0x58f832(0x11c)]())try{await percyHelper[_0x58f832(0xd5)](this['percy']),logger[_0x58f832(0xc5)](_0x2c3c23[_0x58f832(0x158)]);}catch(_0x5d523f){logger[_0x58f832(0xe7)](_0x2c3c23[_0x58f832(0x18d)],_0x5d523f[_0x58f832(0xc2)]);}}async[a130_0x57d694(0x17f)](){const _0x56adba=a130_0x57d694,_0x3d42db={};_0x3d42db['Euzsu']=_0x56adba(0x108),_0x3d42db['cAYdL']=_0x56adba(0x134);const _0x22b41e=_0x3d42db;if(helper[_0x56adba(0x16d)]()&&helper[_0x56adba(0xf3)](this['config'][_0x56adba(0xfd)])&&(!this[_0x56adba(0xfd)]||!this[_0x56adba(0xfd)][_0x56adba(0x11c)]()))try{if(this[_0x56adba(0xc8)][_0x56adba(0x13d)][_0x56adba(0x180)]){logger[_0x56adba(0x105)](_0x22b41e[_0x56adba(0xff)]);return;}this[_0x56adba(0xfd)]=await helper[_0x56adba(0xb8)](this[_0x56adba(0xc8)]),logger[_0x56adba(0xc5)](_0x22b41e[_0x56adba(0xf7)]);}catch(_0x3d867d){logger[_0x56adba(0x105)](_0x3d867d);throw new Error(_0x3d867d['toString']());}}async[a130_0x57d694(0xfe)](){const _0x553019=a130_0x57d694,_0x49eb53={};_0x49eb53[_0x553019(0x132)]='Local\x20binary\x20stopped',_0x49eb53[_0x553019(0xee)]=_0x553019(0xeb);const _0xa5cbb1=_0x49eb53;if(this[_0x553019(0xfd)]&&this['browserstackLocal'][_0x553019(0x11c)]())try{await helper[_0x553019(0x121)](this[_0x553019(0xfd)]),logger['info'](_0xa5cbb1[_0x553019(0x132)]);}catch(_0x4a11ce){logger[_0x553019(0xe7)](_0xa5cbb1[_0x553019(0xee)],_0x4a11ce[_0x553019(0xc2)]);}}async[a130_0x57d694(0xb9)](){return PerformanceTester['measureWrapper'](PerformanceAutEvents['HUB_MANAGEMENT'],async()=>{const _0xbf97ab=a130_0x585b;await hubAllocator[_0xbf97ab(0x172)](this['config']);})();}[a130_0x57d694(0xcb)](){const _0x432a95=a130_0x57d694,_0x170674={'fKuXx':function(_0x307e74,_0x3aee33){return _0x307e74(_0x3aee33);},'AphgN':_0x432a95(0x112)};_0x170674[_0x432a95(0x171)](require,_0x170674['AphgN'])();}[a130_0x57d694(0x16c)](){const _0x1d1063=a130_0x57d694,_0xa11ac1={};_0xa11ac1['wovZp']=_0x1d1063(0x193),_0xa11ac1[_0x1d1063(0x117)]=_0x1d1063(0x148),_0xa11ac1['PEKnL']='uncaughtException';const _0x19a0b6=_0xa11ac1,_0x30762c=_0x37c25b=>{const _0x44c0f8=_0x1d1063,_0x4c42a6=_0x19a0b6[_0x44c0f8(0xb1)][_0x44c0f8(0xc6)]('|');let _0x170b8a=0x0;while(!![]){switch(_0x4c42a6[_0x170b8a++]){case'0':logger['error'](_0x37c25b[_0x44c0f8(0xc2)]);continue;case'1':ClientTroubleShootingService[_0x44c0f8(0x191)]();continue;case'2':PerformanceTester['captureError'](_0x37c25b);continue;case'3':this[_0x44c0f8(0x178)][_0x44c0f8(0x128)](util['format']('%j',_0x37c25b));continue;case'4':logger['debug'](util[_0x44c0f8(0x146)](_0x37c25b));continue;}break;}};process['on'](_0x19a0b6[_0x1d1063(0x117)],_0x30762c),process['on'](_0x19a0b6[_0x1d1063(0xe3)],_0x30762c);}async[a130_0x57d694(0x174)](_0x375a0d){const _0x490f70=a130_0x57d694,_0x2b335e={'kpAUa':function(_0x423684,_0x2010e3){return _0x423684+_0x2010e3;},'qKhAk':'Signal\x20shutdown\x20did\x20not\x20complete\x20cleanly:\x20','jnkHG':'completed','FrZnE':function(_0x51d72c,_0x539c33,_0x4a0ac2){return _0x51d72c(_0x539c33,_0x4a0ac2);},'qZhtU':_0x490f70(0x154),'URMzm':'Shutdown\x20triggered\x20by\x20','pHMov':function(_0x128288,_0x37a366){return _0x128288(_0x37a366);},'gHDHA':function(_0x1985a4,_0x9a5626){return _0x1985a4===_0x9a5626;},'swidc':_0x490f70(0x13c),'rfzAP':_0x490f70(0x133),'CpsmP':'ms;\x20forcing\x20exit'};if(this[_0x2b335e[_0x490f70(0x179)](_0x2b335e['qZhtU'],_0x375a0d)])return;this[_0x2b335e['kpAUa'](_0x2b335e[_0x490f70(0x151)],_0x375a0d)]=!![],logger[_0x490f70(0xc5)](_0x2b335e[_0x490f70(0x179)](_0x2b335e['URMzm'],_0x375a0d)),this['killSignal']=_0x375a0d;const _0x38696f=0x7530;let _0x3e6ca9;const _0x188fc7=(async()=>{const _0x489bd4=_0x490f70;await ClientTroubleShootingService[_0x489bd4(0xdd)](_0x375a0d),await TestHubHandler['stop'](_0x375a0d);const _0x5e41bd=BrowserstackCLI[_0x489bd4(0x143)]();await utilities[_0x489bd4(0x16e)](this,_0x5e41bd?_0x5e41bd[_0x489bd4(0x11c)]():![]),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI[_0x489bd4(0x143)]()[_0x489bd4(0x15f)]();})()[_0x490f70(0x119)](()=>_0x490f70(0x17b))[_0x490f70(0xc0)](_0xd5ef89=>{const _0x1dab79=_0x490f70;return logger[_0x1dab79(0x105)](_0x2b335e[_0x1dab79(0x179)](_0x2b335e[_0x1dab79(0x15b)],util[_0x1dab79(0x146)](_0xd5ef89))),_0x2b335e[_0x1dab79(0x16a)];}),_0x598bf5=new Promise(_0x439f5c=>{const _0x49f8b3=_0x490f70;_0x3e6ca9=_0x2b335e[_0x49f8b3(0x125)](setTimeout,()=>_0x439f5c(_0x49f8b3(0x13c)),_0x38696f),_0x3e6ca9[_0x49f8b3(0x17e)]&&_0x3e6ca9['unref']();}),_0x55441e=await Promise[_0x490f70(0x187)]([_0x188fc7,_0x598bf5]);_0x2b335e[_0x490f70(0x136)](clearTimeout,_0x3e6ca9),_0x2b335e[_0x490f70(0x106)](_0x55441e,_0x2b335e[_0x490f70(0x13e)])&&logger[_0x490f70(0x160)](_0x2b335e[_0x490f70(0x179)](_0x2b335e[_0x490f70(0x179)](_0x2b335e[_0x490f70(0xfa)],_0x38696f),_0x2b335e['CpsmP'])),process[_0x490f70(0x127)](process['exitCode']||_0x2b335e[_0x490f70(0x179)](0x80,constants['SIGNAL_EXIT_CODES'][_0x375a0d]||0x0));}[a130_0x57d694(0xe0)](){const _0x520bc4=a130_0x57d694,_0x2155f9={'SeTNq':function(_0x3b338d,_0x5c1210){return _0x3b338d===_0x5c1210;},'bBSNl':'Calling\x20Build\x20Stop\x20from\x20ExitHandler','DkNLx':function(_0x51238d,_0x395571){return _0x51238d>_0x395571;},'cdNAA':function(_0x2f42c7,_0x42ae73){return _0x2f42c7>_0x42ae73;},'lfLAe':function(_0xa0df28,_0x316c5a){return _0xa0df28(_0x316c5a);},'voxJe':function(_0x596f34){return _0x596f34();},'oiaKV':_0x520bc4(0x140)};let _0x370a43=0x0;return async()=>{const _0x3b2f05=_0x520bc4;_0x370a43++;if(_0x2155f9[_0x3b2f05(0x17c)](_0x370a43,0x1)){helper['checkStopLocalBinaryOnExit'](this['framework'])&&await this[_0x3b2f05(0xfe)]();try{logger[_0x3b2f05(0x105)](_0x2155f9[_0x3b2f05(0x192)]),await TestHubHandler['stop'](_0x370a43),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI[_0x3b2f05(0x143)]()[_0x3b2f05(0x15f)]('1');}catch(_0x268ae7){logger[_0x3b2f05(0x105)]('Error\x20in\x20sending\x20testhub\x20stop:\x20'+util[_0x3b2f05(0x146)](_0x268ae7));}PerformanceTester[_0x3b2f05(0x159)](PerformanceEvents['SDK_CLEANUP']);if(PerformanceTester[_0x3b2f05(0xe5)]()){const {measures:_0x2b6fe1,errors:_0x43a3d7}=await PerformanceTester['finalize'](),_0x132579={};if(_0x2b6fe1&&_0x2155f9[_0x3b2f05(0xdc)](_0x2b6fe1[_0x3b2f05(0x113)],0x0)||_0x43a3d7&&_0x2155f9[_0x3b2f05(0xec)](_0x43a3d7[_0x3b2f05(0x113)],0x0)){const _0x4e8f85={};_0x4e8f85[_0x3b2f05(0xb7)]=_0x2b6fe1,_0x4e8f85[_0x3b2f05(0xc9)]=_0x43a3d7,Object[_0x3b2f05(0x189)](_0x132579,_0x4e8f85);}try{const _0x213433=await helper[_0x3b2f05(0x175)](_0x132579,this[_0x3b2f05(0xc8)]);logger['debug'](_0x3b2f05(0x114)+_0x2155f9[_0x3b2f05(0x164)](getEdsInstrumentationAPIUrl,'')+_0x3b2f05(0xdb)+_0x213433[_0x3b2f05(0x111)]);}catch(_0x57d801){logger['debug'](_0x3b2f05(0xf9)+_0x2155f9['lfLAe'](getEdsInstrumentationAPIUrl,'')+_0x3b2f05(0x170)+util[_0x3b2f05(0x146)](_0x57d801));}try{fs[_0x3b2f05(0x116)](path[_0x3b2f05(0x15e)](_0x2155f9[_0x3b2f05(0xe2)](getLogDir),_0x2155f9[_0x3b2f05(0xbc)]),JSON[_0x3b2f05(0x16b)](_0x132579));}catch(_0x1f0a1b){logger[_0x3b2f05(0x105)](_0x3b2f05(0x11a)+_0x1f0a1b);}}}logger&&logger[_0x3b2f05(0x150)](),fileLogger&&fileLogger[_0x3b2f05(0x150)]();};}}exports[a130_0x57d694(0xbb)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131_0x59d02e=a131_0x566d;(function(_0x1f9467,_0xa7fc02){const _0x312416=a131_0x566d,_0x486705=_0x1f9467();while(!![]){try{const _0x3a0d45=parseInt(_0x312416(0x128))/0x1*(parseInt(_0x312416(0xef))/0x2)+-parseInt(_0x312416(0xc2))/0x3*(-parseInt(_0x312416(0xe4))/0x4)+-parseInt(_0x312416(0xc7))/0x5+-parseInt(_0x312416(0x13d))/0x6+-parseInt(_0x312416(0xd1))/0x7+-parseInt(_0x312416(0x9b))/0x8+-parseInt(_0x312416(0x113))/0x9*(-parseInt(_0x312416(0xda))/0xa);if(_0x3a0d45===_0xa7fc02)break;else _0x486705['push'](_0x486705['shift']());}catch(_0x496e24){_0x486705['push'](_0x486705['shift']());}}}(a131_0x5b72,0xdc142));function a131_0x566d(_0x3c8f7c,_0x3d691a){const _0x5b720a=a131_0x5b72();return a131_0x566d=function(_0x566dfb,_0x5f40d1){_0x566dfb=_0x566dfb-0x94;let _0x238523=_0x5b720a[_0x566dfb];return _0x238523;},a131_0x566d(_0x3c8f7c,_0x3d691a);}const util=require(a131_0x59d02e(0x150)),logger=require('../logger')[a131_0x59d02e(0x12d)],accessibilityHelper=require(a131_0x59d02e(0xa3)),globals=require('../globals'),scripts=require(a131_0x59d02e(0x11c)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a131_0x59d02e(0xd2)),BrowserstackCLI=require(a131_0x59d02e(0x115)),{MANUAL_SCAN_METHOD}=require(a131_0x59d02e(0x127));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a131_0x59d02e(0x139));}catch(a131_0x18c9fd){logger[a131_0x59d02e(0x163)](a131_0x59d02e(0x16a));}function a131_0x5b72(){const _0x4de462=['Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','script','2516934AeyNQJ','../performance/constants','amcED','iYWiP','setPlaywrightScriptTimeout','Scan\x20attempt\x20','setDefaultTimeout','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','uTkbI','4490FJvGsx','__workerDetails','maxRetries','ZaRWh','ieFkM','executeAsyncScript','QbZmE','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','Accessibility\x20retry\x20configuration\x20updated:\x20','ms\x20using\x20setScriptTimeout\x20API','7015116wBBUSS','url','getCapabilities','twnEF','setTimeouts','isAccessibilityAutomationSession','Unknown\x20driver/page\x20type:\x20','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','sViZY','getAccessibilityResultsSummary','XkkxR','1104986YVJnaj','getRetryConfig','wvXuo','isPlaywright','constructor','getAccessibilityResultsWithRetry','Comprehensive\x20accessibility\x20scan\x20failed\x20(','timeoutMs','options',').\x20Last\x20error:\x20','browserStackEvaluate','driverType','max','NBAKh','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','QSYEx','isPlaywrightPage',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','jAiTf','WebDriver','saveAccessibilityResultsWithRetry','accessibilityPlatform','status','getId','getGlobal','setScriptTimeout','DvvVI','goto','wfgZo','xXXOB','setSeleniumScriptTimeout','env','wpqbV','bstackA11yShouldScan','ms\x20using\x20setTimeouts\x20API','defaultTimeoutMs','10764ZfRZNg','vFDVw','../../bin/v2/browserstackCLI','iFDfA','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','rePSy','ptAJe','FVhvE','WzGxt','./scripts','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','OKYhe','trAiH','function','Accessibility\x20results\x20retrieval\x20attempt\x20','error','gRLjY','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','BCGsL',').\x20Error:\x20','./constants','2KAUFrT','ATgdm','PERFORM_SCAN','playwright-codecept-driver','\x20failed\x20for\x20method:\x20','winstonLogger','habcb','agJCL','type','is_mobile_session','NSprk','IOVyz','gbUOg','tOYkm','getSession','manage','ubSWB','../../bin/playwright/accessibility-helper','reason','EoNiC','VQZqf','7730424BvFhSR','getAccessibilityModule','allSettled','Accessibility\x20scanner\x20scripts\x20are\x20not\x20loaded\x20for\x20this\x20run\x20(','zjrIS','hJZZV','isAccessibilityPlatform','TKdrW','currentTest','updateRetryConfig','thQgU','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','wErDW','aLBNg','scanSucceeded','RrJlN','Nrlkm','ZBUAI','page','util','timeouts','wOhen','ms\x20using\x20timeouts()\x20API','xZMuq','Hzbja','Accessibility\x20scan\x20attempt\x20','Unknown\x20error','selenium-webdriver','KjyYo','XHoBU','zQMaT','isMobilePlatform','Skipping\x20timeout\x20setting\x20for\x20','evaluate','fCHKg','saveTestResults','mQtLj','JeJsi','debug','BEjqF','RQyeP','fCzcn','PtwlT','bstackA11yScanOptions','isSeleniumDriver','Playwright\x20accessibility\x20helper\x20not\x20available','unknown_method','OSahW','ZUJIE','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','unOFD','name','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','jobgF','hasScripts','4178992tFVumD','cQgSF','jqotU','warn','FHjPJ','\x20completed\x20successfully.','\x20-\x20not\x20applicable','performScan','./helper','getInstance','getAccessibilityResultsSummaryWithRetry','oFGmC','ecpeo','\x20failed\x20(','capabilitiesList','ZfngZ','rjyhP','KRsfU','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','performScanWithRetry','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','undefined','fulfilled','hqlvn','TFklK','Accessibility\x20results\x20save\x20attempt\x20','ZNJmp','\x20for\x20method:\x20','Playwright','Page','message','resolveMobileThTestRunUuid',',\x20cannot\x20perform\x20scan\x20with\x20retry.','getAccessibilityResults',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','KxCYm','results','FzFdW','3dlrISV','scannerProcessingTimeout','):\x20','JyysM','DxnxP','1619935tIlErs',');\x20skipping\x20save.','info','value','measureWrapper','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','[Accessibility]\x20Scan\x20skipped\x20-\x20scanner\x20scripts\x20are\x20not\x20loaded\x20for\x20this\x20run','AFOvC'];a131_0x5b72=function(){return _0x4de462;};return a131_0x5b72();}const a131_0x1215eb={};a131_0x1215eb[a131_0x59d02e(0xdc)]=0x1,a131_0x1215eb[a131_0x59d02e(0xf6)]=0x7530,a131_0x1215eb[a131_0x59d02e(0x112)]=0x7530;const RETRY_CONFIG=a131_0x1215eb,setConfigTimeout=(_0x58f7b6,_0x592ccd=null)=>{const _0x48c270=a131_0x59d02e,_0x7ffb92={'jobgF':function(_0x4f4b93,_0x3a3863){return _0x4f4b93===_0x3a3863;},'LqyBW':_0x48c270(0xc3),'zQMaT':function(_0x27158e,_0x5b070a){return _0x27158e*_0x5b070a;},'XkkxR':function(_0x441b55,_0x3f5320){return _0x441b55(_0x3f5320);},'vFDVw':function(_0x33e79d,_0x3db999){return _0x33e79d*_0x3db999;}};if(BrowserstackCLI[_0x48c270(0xa4)]()['isRunning']()&&BrowserstackCLI[_0x48c270(0xa4)]()[_0x48c270(0x13e)]()){const _0x4f2848=BrowserstackCLI[_0x48c270(0xa4)]()[_0x48c270(0x13e)]()['accessibilityConfig'],_0x2ace63=_0x4f2848[_0x48c270(0xf7)][_0x48c270(0xa9)]||[];for(const _0x37f8b6 of _0x2ace63){_0x7ffb92['jobgF'](_0x37f8b6[_0x48c270(0x97)],_0x7ffb92['LqyBW'])&&_0x7ffb92[_0x48c270(0x99)](_0x592ccd,null)&&(_0x58f7b6['timeoutMs']=_0x7ffb92[_0x48c270(0x15b)](_0x7ffb92['XkkxR'](parseInt,_0x37f8b6[_0x48c270(0xca)]),0x3e8));}}else process[_0x48c270(0x10e)][_0x48c270(0xd8)]&&(_0x58f7b6['timeoutMs']=_0x7ffb92[_0x48c270(0x114)](_0x7ffb92[_0x48c270(0xee)](parseInt,process[_0x48c270(0x10e)][_0x48c270(0xd8)]),0x3e8));},detectDriverType=_0x4f225a=>{const _0x5d3f4c=a131_0x59d02e,_0x24ed74={};_0x24ed74[_0x5d3f4c(0x14c)]='unknown',_0x24ed74[_0x5d3f4c(0x162)]=function(_0x583ac7,_0xa28604){return _0x583ac7===_0xa28604;},_0x24ed74[_0x5d3f4c(0x166)]=_0x5d3f4c(0x120),_0x24ed74[_0x5d3f4c(0xc5)]=function(_0x4c46e6,_0x57f069){return _0x4c46e6===_0x57f069;},_0x24ed74[_0x5d3f4c(0xb5)]='playwright-page',_0x24ed74['FzFdW']=_0x5d3f4c(0x158),_0x24ed74[_0x5d3f4c(0x94)]=function(_0x14ced8,_0x243307){return _0x14ced8===_0x243307;},_0x24ed74[_0x5d3f4c(0x161)]=_0x5d3f4c(0xb8),_0x24ed74[_0x5d3f4c(0xce)]=function(_0x322471,_0x24d678){return _0x322471===_0x24d678;},_0x24ed74[_0x5d3f4c(0xfc)]=_0x5d3f4c(0x102),_0x24ed74[_0x5d3f4c(0x154)]=function(_0x1c3255,_0x53773a){return _0x1c3255===_0x53773a;},_0x24ed74[_0x5d3f4c(0x134)]=_0x5d3f4c(0xb7),_0x24ed74['NRDWT']=_0x5d3f4c(0x12b),_0x24ed74[_0x5d3f4c(0xbf)]=function(_0x2fb40a,_0x1d1ddf){return _0x2fb40a||_0x1d1ddf;},_0x24ed74[_0x5d3f4c(0x109)]=_0x5d3f4c(0xb0);const _0x3f21e8=_0x24ed74;if(!_0x4f225a){const _0x50bbb8={};return _0x50bbb8[_0x5d3f4c(0xf2)]=![],_0x50bbb8[_0x5d3f4c(0x130)]=_0x3f21e8[_0x5d3f4c(0x14c)],_0x50bbb8;}if(_0x3f21e8['JeJsi'](typeof _0x4f225a[_0x5d3f4c(0x15e)],_0x3f21e8[_0x5d3f4c(0x166)])&&_0x3f21e8[_0x5d3f4c(0xc5)](typeof _0x4f225a[_0x5d3f4c(0xe5)],_0x3f21e8[_0x5d3f4c(0x166)])&&_0x3f21e8[_0x5d3f4c(0x162)](typeof _0x4f225a[_0x5d3f4c(0x10a)],_0x3f21e8['fCzcn'])){const _0x2143b3={};return _0x2143b3[_0x5d3f4c(0xf2)]=!![],_0x2143b3[_0x5d3f4c(0x130)]=_0x3f21e8[_0x5d3f4c(0xb5)],_0x2143b3;}if(_0x3f21e8[_0x5d3f4c(0x162)](typeof _0x4f225a[_0x5d3f4c(0xdf)],_0x3f21e8[_0x5d3f4c(0x166)])&&_0x3f21e8[_0x5d3f4c(0x162)](typeof _0x4f225a[_0x5d3f4c(0xe6)],_0x3f21e8[_0x5d3f4c(0x166)])){const _0x9c12fd={};return _0x9c12fd[_0x5d3f4c(0xf2)]=![],_0x9c12fd['type']=_0x3f21e8[_0x5d3f4c(0xc1)],_0x9c12fd;}const _0x2642b0=_0x4f225a[_0x5d3f4c(0xf3)]?.[_0x5d3f4c(0x97)];if(_0x3f21e8[_0x5d3f4c(0x94)](_0x2642b0,_0x3f21e8['mQtLj'])){const _0x329056={};return _0x329056[_0x5d3f4c(0xf2)]=!![],_0x329056[_0x5d3f4c(0x130)]=_0x3f21e8['ZNJmp'],_0x329056;}if(_0x3f21e8[_0x5d3f4c(0xce)](_0x2642b0,_0x3f21e8[_0x5d3f4c(0xfc)])){const _0x1888ac={};return _0x1888ac[_0x5d3f4c(0xf2)]=![],_0x1888ac[_0x5d3f4c(0x130)]=_0x3f21e8[_0x5d3f4c(0xc1)],_0x1888ac;}if(_0x3f21e8[_0x5d3f4c(0x154)](_0x2642b0,_0x3f21e8['gbUOg'])){const _0x44db25={};return _0x44db25[_0x5d3f4c(0xf2)]=!![],_0x44db25[_0x5d3f4c(0x130)]=_0x3f21e8['NRDWT'],_0x44db25;}logger[_0x5d3f4c(0x9e)](_0x5d3f4c(0xea)+_0x3f21e8[_0x5d3f4c(0xbf)](_0x2642b0,_0x3f21e8[_0x5d3f4c(0x109)]));const _0x3e9401={};return _0x3e9401[_0x5d3f4c(0xf2)]=![],_0x3e9401[_0x5d3f4c(0x130)]=_0x3f21e8[_0x5d3f4c(0x14c)],_0x3e9401;},withTimeout=(_0x533ae9,_0x498cfa)=>{return Promise['race']([_0x533ae9,new Promise((_0x49645b,_0x203427)=>setTimeout(()=>_0x203427(new Error('Operation\x20timed\x20out\x20after\x20'+_0x498cfa+'ms')),_0x498cfa))]);};exports[a131_0x59d02e(0xae)]=async(_0x58116f,_0x5a8887=null,_0x50d5b1=null,_0x1848bd=![],_0x5c2612=null)=>{const _0x5147b6=a131_0x59d02e,_0x3b19d3={'DiSXO':function(_0xd9cc4d,_0x5014e9){return _0xd9cc4d&&_0x5014e9;},'IOVyz':function(_0x3903b0,_0x1071d1,_0x41cdb2){return _0x3903b0(_0x1071d1,_0x41cdb2);},'iYWiP':function(_0x9a6b5e,_0x4742c0){return _0x9a6b5e===_0x4742c0;},'jqotU':'playwright-codecept-driver','ATgdm':function(_0x4dcc65,_0xbde11f){return _0x4dcc65(_0xbde11f);},'OSahW':function(_0x59ca52,_0x48dd9f){return _0x59ca52||_0x48dd9f;},'rePSy':function(_0xc15da1,_0x2e10fa){return _0xc15da1!==_0x2e10fa;},'wErDW':'isAccessibilityPlatform','FHjPJ':_0x5147b6(0x110),'NSprk':function(_0x448955,_0x2dd369){return _0x448955===_0x2dd369;},'GaTya':'[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','wpqbV':'performScan','cQgSF':_0x5147b6(0xcd),'jAiTf':_0x5147b6(0x16b),'thQgU':'function','QbZmE':function(_0x143ec4,_0x5f367a){return _0x143ec4<=_0x5f367a;},'WzGxt':function(_0x4123a8,_0x517cc9){return _0x4123a8+_0x517cc9;},'ZaRWh':_0x5147b6(0x157)},{isPlaywright:_0x35d8af,type:_0x1bca29}=_0x3b19d3[_0x5147b6(0x129)](detectDriverType,_0x58116f),_0x3c5cd0=_0x1848bd?_0x3b19d3[_0x5147b6(0x16c)](_0x5c2612,{}):global[_0x5147b6(0x168)]||{},_0xab59dc=_0x35d8af?global['accessibilityPlatform']&&(_0x1848bd||_0x3b19d3['rePSy'](global[_0x5147b6(0x110)],![])):accessibilityHelper[_0x5147b6(0xe9)]()&&globals[_0x5147b6(0x107)](_0x3b19d3['wErDW'])&&(_0x1848bd||_0x3b19d3[_0x5147b6(0x118)](globals[_0x5147b6(0x107)](_0x3b19d3[_0x5147b6(0x9f)]),![]));if(!_0xab59dc)return _0x35d8af&&global[_0x5147b6(0x104)]&&_0x3b19d3['NSprk'](global[_0x5147b6(0x110)],![])||!_0x35d8af&&globals['getGlobal'](_0x3b19d3[_0x5147b6(0x149)])&&_0x3b19d3[_0x5147b6(0xd4)](globals[_0x5147b6(0x107)](_0x3b19d3['FHjPJ']),![])?logger[_0x5147b6(0x163)](_0x3b19d3['GaTya']):logger[_0x5147b6(0x9e)](_0x5147b6(0xbe)+_0x1bca29+_0x5147b6(0xbb)),![];if(!_0x50d5b1&&!scripts[_0x5147b6(0x9a)](_0x3b19d3[_0x5147b6(0x10f)]))return logger[_0x5147b6(0x163)](_0x3b19d3[_0x5147b6(0x9c)]),![];const _0x437a84=_0x1848bd?MANUAL_SCAN_METHOD:_0x5a8887||global['browserstackSessionName']||_0x3b19d3[_0x5147b6(0x101)];let _0x2d04d8=null;const _0x193118={'testhub_btcer_uuid':global[_0x5147b6(0xdb)]?.[_0x5147b6(0x145)]?.['id'],'url':_0x3b19d3['iYWiP'](typeof _0x58116f[_0x5147b6(0xe5)],_0x3b19d3[_0x5147b6(0x147)])?await _0x58116f['url']():_0x3b19d3[_0x5147b6(0x132)](typeof _0x58116f['getCurrentUrl'],_0x3b19d3[_0x5147b6(0x147)])?await _0x58116f['getCurrentUrl']():'','automate_session_id':_0x3b19d3[_0x5147b6(0x132)](typeof _0x58116f['getSession'],_0x3b19d3[_0x5147b6(0x147)])?(await _0x58116f[_0x5147b6(0x136)]())[_0x5147b6(0x106)]():''};for(let _0x41fc55=0x1;_0x3b19d3[_0x5147b6(0xe0)](_0x41fc55,_0x3b19d3['WzGxt'](RETRY_CONFIG[_0x5147b6(0xdc)],0x1));_0x41fc55++){try{return logger[_0x5147b6(0x163)](_0x5147b6(0x156)+_0x41fc55+'/'+_0x3b19d3[_0x5147b6(0x11b)](RETRY_CONFIG[_0x5147b6(0xdc)],0x1)+_0x5147b6(0xb6)+_0x437a84+'\x20('+_0x1bca29+')'),await PerformanceTester[_0x5147b6(0xcb)](PerformanceA11yEvents[_0x5147b6(0x12a)],async()=>{const _0x46fb7f=_0x5147b6;let _0x2876e4;if(_0x3b19d3['DiSXO'](_0x35d8af,playwrightA11yHelper)){_0x3b19d3[_0x46fb7f(0x133)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x46fb7f(0xd5)](_0x58116f,RETRY_CONFIG[_0x46fb7f(0xf6)]);let _0x454fc4=_0x58116f;_0x3b19d3['iYWiP'](_0x1bca29,_0x3b19d3[_0x46fb7f(0x9d)])&&(_0x454fc4=_0x58116f[_0x46fb7f(0x14f)]);const _0xb4e721=global['isMobilePlatform']?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x46fb7f(0xba)]()}:{};_0x2876e4=await _0x3b19d3['IOVyz'](withTimeout,playwrightA11yHelper[_0x46fb7f(0xa2)](_0x454fc4,_0x437a84,_0x3c5cd0,_0xb4e721),RETRY_CONFIG[_0x46fb7f(0xf6)]),await exports[_0x46fb7f(0xd5)](_0x58116f,RETRY_CONFIG[_0x46fb7f(0x112)]);}else await exports[_0x46fb7f(0x10d)](_0x58116f,RETRY_CONFIG[_0x46fb7f(0xf6)]),_0x2876e4=await _0x3b19d3['IOVyz'](withTimeout,accessibilityHelper['performScan'](_0x58116f,_0x437a84,_0x1848bd,_0x3c5cd0),RETRY_CONFIG[_0x46fb7f(0xf6)]),await exports[_0x46fb7f(0x10d)](_0x58116f,RETRY_CONFIG[_0x46fb7f(0x112)]);logger['debug'](_0x46fb7f(0xd6)+_0x41fc55+_0x46fb7f(0xa0));},{'command':_0x437a84,..._0x193118})(),logger['info']('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x41fc55+'.'),!![];}catch(_0x1eeb3c){_0x2d04d8=_0x1eeb3c,logger['debug'](_0x5147b6(0x156)+_0x41fc55+_0x5147b6(0x12c)+_0x437a84+'\x20('+_0x1bca29+_0x5147b6(0x126)+_0x1eeb3c[_0x5147b6(0xb9)]);}}return logger['error'](_0x5147b6(0x124)+_0x437a84+'\x20('+_0x1bca29+')\x20with\x20error:\x20'+(_0x2d04d8?.['message']||_0x3b19d3[_0x5147b6(0xdd)])),![];},exports[a131_0x59d02e(0xf4)]=async(_0x1acf40,_0x565aa4)=>{const _0x3988a3=a131_0x59d02e,_0x5da75d={'EQABi':function(_0x5c76c7,_0x53416f){return _0x5c76c7(_0x53416f);},'ZfngZ':_0x3988a3(0x143),'agJCL':function(_0x598633,_0x4853ac){return _0x598633<=_0x4853ac;},'ptAJe':function(_0x5164e7,_0x354604){return _0x5164e7+_0x354604;},'PtwlT':function(_0x2e7345,_0x33282e){return _0x2e7345&&_0x33282e;},'ubSWB':function(_0x1c46ac,_0x22f460,_0x5eeb4d){return _0x1c46ac(_0x22f460,_0x5eeb4d);},'xjHuN':_0x3988a3(0x157)},{isPlaywright:_0x41c3b6,type:_0x593e50}=_0x5da75d['EQABi'](detectDriverType,_0x1acf40),_0xcec31d=_0x41c3b6?_0x565aa4['accessibilityPlatform']:accessibilityHelper[_0x3988a3(0xe9)]()&&globals['getGlobal'](_0x5da75d[_0x3988a3(0xaa)]);if(!_0xcec31d)return logger[_0x3988a3(0x9e)](_0x3988a3(0xbe)+_0x593e50+_0x3988a3(0xbd)),[];let _0x3d739d=null;for(let _0x557b7d=0x1;_0x5da75d[_0x3988a3(0x12f)](_0x557b7d,_0x5da75d[_0x3988a3(0x119)](RETRY_CONFIG['maxRetries'],0x1));_0x557b7d++){try{logger[_0x3988a3(0x163)](_0x3988a3(0x121)+_0x557b7d+'/'+_0x5da75d[_0x3988a3(0x119)](RETRY_CONFIG[_0x3988a3(0xdc)],0x1)+'\x20('+_0x593e50+')');let _0x4accbd;return _0x5da75d[_0x3988a3(0x167)](_0x41c3b6,playwrightA11yHelper)?(_0x5da75d['ubSWB'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3988a3(0xd5)](_0x1acf40,RETRY_CONFIG[_0x3988a3(0xf6)]),_0x4accbd=await _0x5da75d[_0x3988a3(0x138)](withTimeout,playwrightA11yHelper[_0x3988a3(0xbc)](_0x1acf40),RETRY_CONFIG['timeoutMs']),await exports[_0x3988a3(0xd5)](_0x1acf40,RETRY_CONFIG[_0x3988a3(0x112)])):(await exports['setSeleniumScriptTimeout'](_0x1acf40,RETRY_CONFIG[_0x3988a3(0xf6)]),_0x4accbd=await _0x5da75d[_0x3988a3(0x138)](withTimeout,accessibilityHelper[_0x3988a3(0xbc)](_0x1acf40,_0x565aa4),RETRY_CONFIG[_0x3988a3(0xf6)]),await exports[_0x3988a3(0x10d)](_0x1acf40,RETRY_CONFIG[_0x3988a3(0x112)])),logger['info'](_0x3988a3(0xcc)+_0x557b7d+'\x20('+_0x593e50+')'),_0x4accbd;}catch(_0x141f88){_0x3d739d=_0x141f88,logger[_0x3988a3(0x9e)](_0x3988a3(0x121)+_0x557b7d+_0x3988a3(0xa8)+_0x593e50+_0x3988a3(0x126)+_0x141f88[_0x3988a3(0xb9)]);}}return logger[_0x3988a3(0x122)]('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x593e50+_0x3988a3(0xf8)+(_0x3d739d?.[_0x3988a3(0xb9)]||_0x5da75d['xjHuN'])),[];},exports[a131_0x59d02e(0xa5)]=async(_0x30865c,_0x27338b)=>{const _0x20b63b=a131_0x59d02e,_0x3524d6={'wOhen':function(_0x4a5c9a,_0x3092df){return _0x4a5c9a(_0x3092df);},'TFklK':_0x20b63b(0x143),'trAiH':function(_0x3db966,_0x35a718){return _0x3db966<=_0x35a718;},'wvXuo':function(_0x2a2930,_0x1a7c54){return _0x2a2930+_0x1a7c54;},'ecpeo':function(_0x28227e,_0x523cea){return _0x28227e&&_0x523cea;},'ZBUAI':function(_0x25ec0d,_0x56a0d9,_0x3adadf){return _0x25ec0d(_0x56a0d9,_0x3adadf);},'EoNiC':function(_0x11f61f,_0x2c8456,_0x52fdf6){return _0x11f61f(_0x2c8456,_0x52fdf6);},'ghTZA':'Unknown\x20error'},{isPlaywright:_0x5c8dbb,type:_0x1ba184}=_0x3524d6[_0x20b63b(0x152)](detectDriverType,_0x30865c),_0x101090=_0x5c8dbb?_0x27338b[_0x20b63b(0x104)]:accessibilityHelper[_0x20b63b(0xe9)]()&&globals[_0x20b63b(0x107)](_0x3524d6[_0x20b63b(0xb3)]);if(!_0x101090)return logger[_0x20b63b(0x9e)](_0x20b63b(0xbe)+_0x1ba184+_0x20b63b(0x100)),{};let _0x2c892c=null;for(let _0x179fb3=0x1;_0x3524d6[_0x20b63b(0x11f)](_0x179fb3,_0x3524d6[_0x20b63b(0xf1)](RETRY_CONFIG[_0x20b63b(0xdc)],0x1));_0x179fb3++){try{logger[_0x20b63b(0x163)](_0x20b63b(0x11d)+_0x179fb3+'/'+_0x3524d6['wvXuo'](RETRY_CONFIG[_0x20b63b(0xdc)],0x1)+'\x20('+_0x1ba184+')');let _0x4eee5b;return _0x3524d6[_0x20b63b(0xa7)](_0x5c8dbb,playwrightA11yHelper)?(_0x3524d6[_0x20b63b(0x14e)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x20b63b(0xd5)](_0x30865c,RETRY_CONFIG['timeoutMs']),_0x4eee5b=await _0x3524d6[_0x20b63b(0x13b)](withTimeout,playwrightA11yHelper[_0x20b63b(0xed)](_0x30865c),RETRY_CONFIG[_0x20b63b(0xf6)]),await exports['setPlaywrightScriptTimeout'](_0x30865c,RETRY_CONFIG[_0x20b63b(0x112)])):(await exports[_0x20b63b(0x10d)](_0x30865c,RETRY_CONFIG[_0x20b63b(0xf6)]),_0x4eee5b=await _0x3524d6[_0x20b63b(0x13b)](withTimeout,accessibilityHelper[_0x20b63b(0xed)](_0x30865c,_0x27338b),RETRY_CONFIG[_0x20b63b(0xf6)]),await exports[_0x20b63b(0x10d)](_0x30865c,RETRY_CONFIG[_0x20b63b(0x112)])),logger[_0x20b63b(0xc9)]('Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x179fb3+'\x20('+_0x1ba184+')'),_0x4eee5b;}catch(_0x42f51d){_0x2c892c=_0x42f51d,logger[_0x20b63b(0x9e)](_0x20b63b(0x11d)+_0x179fb3+_0x20b63b(0xa8)+_0x1ba184+_0x20b63b(0x126)+_0x42f51d['message']);}}return logger[_0x20b63b(0x122)](_0x20b63b(0xfd)+_0x1ba184+').\x20Last\x20error:\x20'+(_0x2c892c?.[_0x20b63b(0xb9)]||_0x3524d6['ghTZA'])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x395ca4,_0xc53696,_0x560327=null)=>{const _0x593416=a131_0x59d02e,_0x9274c={'aLBNg':function(_0x42575e,_0x708b59){return _0x42575e(_0x708b59);},'wfgZo':function(_0x435b55,_0x1908a0){return _0x435b55===_0x1908a0;},'ieFkM':_0x593416(0xb1),'twnEF':function(_0x5e52d5,_0x8912af){return _0x5e52d5===_0x8912af;},'unOFD':'rejected','RQyeP':function(_0x16877f,_0x7f7021){return _0x16877f===_0x7f7021;},'rjyhP':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x3be106,type:_0x1c18ce}=_0x9274c[_0x593416(0x14a)](detectDriverType,_0x395ca4),_0x7db68b={};_0x7db68b[_0x593416(0x14b)]=![],_0x7db68b[_0x593416(0xc0)]=[],_0x7db68b['summary']={},_0x7db68b[_0x593416(0x122)]=null,_0x7db68b[_0x593416(0xfa)]=_0x1c18ce;const _0x42c787=_0x7db68b;try{_0x42c787['scanSucceeded']=await exports[_0x593416(0xae)](_0x395ca4,_0x560327);if(_0x42c787[_0x593416(0x14b)]){const [_0x567887,_0x13445d]=await Promise[_0x593416(0x13f)]([exports[_0x593416(0xf4)](_0x395ca4,_0xc53696),exports['getAccessibilityResultsSummaryWithRetry'](_0x395ca4,_0xc53696)]);_0x42c787[_0x593416(0xc0)]=_0x9274c[_0x593416(0x10b)](_0x567887[_0x593416(0x105)],_0x9274c['ieFkM'])?_0x567887[_0x593416(0xca)]:[],_0x42c787['summary']=_0x9274c[_0x593416(0x10b)](_0x13445d[_0x593416(0x105)],_0x9274c[_0x593416(0xde)])?_0x13445d[_0x593416(0xca)]:{},_0x9274c[_0x593416(0xe7)](_0x567887['status'],_0x9274c['unOFD'])&&logger[_0x593416(0x9e)](_0x593416(0xeb)+_0x1c18ce+_0x593416(0xc4)+_0x567887[_0x593416(0x13a)]?.[_0x593416(0xb9)]),_0x9274c[_0x593416(0x165)](_0x13445d['status'],_0x9274c[_0x593416(0x96)])&&logger[_0x593416(0x9e)](_0x593416(0x98)+_0x1c18ce+_0x593416(0xc4)+_0x13445d[_0x593416(0x13a)]?.[_0x593416(0xb9)]);}}catch(_0xfc4281){_0x42c787[_0x593416(0x122)]=_0xfc4281[_0x593416(0xb9)]||_0x9274c[_0x593416(0xab)],logger[_0x593416(0x122)](_0x593416(0xf5)+_0x1c18ce+_0x593416(0xc4)+_0x42c787[_0x593416(0x122)]);}return _0x42c787;},exports[a131_0x59d02e(0x146)]=_0x247ab7=>{const _0xb4752d=a131_0x59d02e,_0x13598c={};_0x13598c[_0xb4752d(0xd3)]=function(_0x48eacf,_0x1c6283){return _0x48eacf!==_0x1c6283;},_0x13598c[_0xb4752d(0xc6)]=function(_0x2bf54f,_0x34462a){return _0x2bf54f!==_0x34462a;};const _0x408acc=_0x13598c;_0x408acc['amcED'](_0x247ab7['maxRetries'],undefined)&&(RETRY_CONFIG[_0xb4752d(0xdc)]=Math['max'](0x0,_0x247ab7[_0xb4752d(0xdc)])),_0x408acc[_0xb4752d(0xc6)](_0x247ab7[_0xb4752d(0xf6)],undefined)&&(RETRY_CONFIG[_0xb4752d(0xf6)]=Math[_0xb4752d(0xfb)](0x3e8,_0x247ab7[_0xb4752d(0xf6)])),logger[_0xb4752d(0x163)](_0xb4752d(0xe2)+JSON['stringify'](RETRY_CONFIG));},exports[a131_0x59d02e(0xf0)]=()=>{const _0x4e793b={...RETRY_CONFIG};return _0x4e793b;},exports[a131_0x59d02e(0xff)]=_0x39d81e=>{const _0x148341=a131_0x59d02e,_0x119863={'zjrIS':function(_0x1937ca,_0x1a4fa9){return _0x1937ca(_0x1a4fa9);}};return _0x119863[_0x148341(0x141)](detectDriverType,_0x39d81e)['isPlaywright'];},exports['isSeleniumDriver']=_0x370d19=>{const _0xc94fb5=a131_0x59d02e,_0x1d336b={'tOYkm':function(_0x31d3eb,_0x36c4b5){return _0x31d3eb(_0x36c4b5);},'FVhvE':function(_0x5c7d78,_0x47bea7){return _0x5c7d78===_0x47bea7;},'dFbPu':_0xc94fb5(0x158)},{isPlaywright:_0x3603b4,type:_0x5ae720}=_0x1d336b[_0xc94fb5(0x135)](detectDriverType,_0x370d19);return!_0x3603b4&&_0x1d336b[_0xc94fb5(0x11a)](_0x5ae720,_0x1d336b['dFbPu']);},exports[a131_0x59d02e(0xd5)]=async(_0x1898e0,_0x1a5050=null)=>{const _0x58b168=a131_0x59d02e,_0x2e9621={'xXXOB':function(_0x6ff4c6,_0x4c5dd6){return _0x6ff4c6(_0x4c5dd6);},'QSYEx':function(_0xc7c5b7,_0x21a811){return _0xc7c5b7===_0x21a811;},'hJZZV':_0x58b168(0x120)},{isPlaywright:_0x5a49a4,type:_0x1ea5c6}=_0x2e9621[_0x58b168(0x10c)](detectDriverType,_0x1898e0);if(!_0x5a49a4)return logger[_0x58b168(0x163)](_0x58b168(0x15d)+_0x1ea5c6+_0x58b168(0xa1)),!![];const _0x9c821e=_0x1a5050||RETRY_CONFIG[_0x58b168(0x112)];try{return _0x1898e0&&_0x2e9621[_0x58b168(0xfe)](typeof _0x1898e0[_0x58b168(0xd7)],_0x2e9621[_0x58b168(0x142)])&&(await _0x1898e0['setDefaultTimeout'](_0x9c821e),logger[_0x58b168(0x163)](_0x58b168(0xcf)+_0x9c821e+'ms')),!![];}catch(_0x2b3672){return logger['warn']('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x2b3672[_0x58b168(0xb9)]),![];}},exports[a131_0x59d02e(0x10d)]=async(_0x122c09,_0x547a2e=null)=>{const _0x31414c=a131_0x59d02e,_0xa280c8={};_0xa280c8[_0x31414c(0x155)]=_0x31414c(0xad),_0xa280c8[_0x31414c(0x144)]=function(_0x268d33,_0x43831d){return _0x268d33===_0x43831d;},_0xa280c8[_0x31414c(0x164)]=_0x31414c(0x120),_0xa280c8[_0x31414c(0xb2)]=function(_0x10cac1,_0x31b2b4){return _0x10cac1===_0x31b2b4;},_0xa280c8[_0x31414c(0x11e)]=_0x31414c(0x148),_0xa280c8[_0x31414c(0xd9)]=_0x31414c(0xaf);const _0x42ec24=_0xa280c8;if(!exports[_0x31414c(0x169)](_0x122c09))return logger['warn'](_0x42ec24['Hzbja']),![];const _0x2b306e=_0x547a2e||RETRY_CONFIG[_0x31414c(0x112)];try{if(_0x122c09&&_0x42ec24[_0x31414c(0x144)](typeof _0x122c09[_0x31414c(0x137)],_0x42ec24[_0x31414c(0x164)])){const _0x1e6c43=_0x122c09['manage']();if(_0x1e6c43&&_0x42ec24[_0x31414c(0x144)](typeof _0x1e6c43[_0x31414c(0x151)],_0x42ec24[_0x31414c(0x164)]))await _0x1e6c43[_0x31414c(0x151)]()[_0x31414c(0x108)](_0x2b306e),logger[_0x31414c(0x163)](_0x31414c(0x95)+_0x2b306e+_0x31414c(0x153));else{if(_0x1e6c43&&_0x42ec24[_0x31414c(0x144)](typeof _0x1e6c43[_0x31414c(0xe8)],_0x42ec24[_0x31414c(0x164)])){const _0x39f031={};_0x39f031[_0x31414c(0xd0)]=_0x2b306e,await _0x1e6c43[_0x31414c(0xe8)](_0x39f031),logger[_0x31414c(0x163)](_0x31414c(0x95)+_0x2b306e+_0x31414c(0x111));}else{if(_0x1e6c43&&_0x42ec24[_0x31414c(0xb2)](typeof _0x1e6c43[_0x31414c(0x108)],_0x42ec24[_0x31414c(0x164)]))await _0x1e6c43[_0x31414c(0x108)](_0x2b306e),logger[_0x31414c(0x163)](_0x31414c(0x95)+_0x2b306e+_0x31414c(0xe3));else return logger['debug'](_0x42ec24[_0x31414c(0x11e)]),!![];}}}else return logger[_0x31414c(0x163)](_0x42ec24['uTkbI']),!![];return!![];}catch(_0x45b577){return logger[_0x31414c(0x9e)]('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x45b577['message']),![];}},exports[a131_0x59d02e(0x103)]=async(_0x2bc084,_0x1385bf)=>{const _0x566352=a131_0x59d02e,_0x4ec924={'iFDfA':function(_0x377385,_0x2fee98){return _0x377385(_0x2fee98);},'gRLjY':_0x566352(0x143),'Nrlkm':'saveTestResults','XHoBU':function(_0x5b033a,_0x3a45de){return _0x5b033a<=_0x3a45de;},'KjyYo':function(_0x257daf,_0x2fecb3){return _0x257daf+_0x2fecb3;},'sViZY':function(_0x1b9536,_0x198794){return _0x1b9536+_0x198794;},'KRsfU':function(_0x56e3b5,_0x59a3b9){return _0x56e3b5&&_0x59a3b9;},'VQZqf':function(_0x5459ed,_0x34a7b7,_0x2cf908){return _0x5459ed(_0x34a7b7,_0x2cf908);},'fCHKg':function(_0x1e9f3b,_0x4befd9){return _0x1e9f3b===_0x4befd9;},'BCGsL':_0x566352(0x12b),'oFGmC':function(_0xc24662,_0x47e87b,_0x70decd){return _0xc24662(_0x47e87b,_0x70decd);},'XRqRC':'isMobilePlatform','habcb':'Unknown\x20error'},{isPlaywright:_0x5ca1c9,type:_0x555366}=_0x4ec924[_0x566352(0x116)](detectDriverType,_0x2bc084),_0x3ffaa2=_0x5ca1c9?global[_0x566352(0x104)]:accessibilityHelper[_0x566352(0xe9)]()&&globals[_0x566352(0x107)](_0x4ec924[_0x566352(0x123)]);if(!_0x3ffaa2)return logger[_0x566352(0x9e)](_0x566352(0xbe)+_0x555366+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];if(!scripts[_0x566352(0x9a)](_0x4ec924[_0x566352(0x14d)]))return logger[_0x566352(0x9e)](_0x566352(0x140)+_0x555366+_0x566352(0xc8)),![];let _0x4bd3a7=null;for(let _0x4fc5a3=0x1;_0x4ec924[_0x566352(0x15a)](_0x4fc5a3,_0x4ec924[_0x566352(0x159)](RETRY_CONFIG[_0x566352(0xdc)],0x1));_0x4fc5a3++){try{logger[_0x566352(0x163)](_0x566352(0xb4)+_0x4fc5a3+'/'+_0x4ec924[_0x566352(0xec)](RETRY_CONFIG[_0x566352(0xdc)],0x1)+'\x20('+_0x555366+')');if(_0x4ec924[_0x566352(0xac)](_0x5ca1c9,playwrightA11yHelper)){_0x4ec924[_0x566352(0x13c)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x2bc084,RETRY_CONFIG['timeoutMs']);const _0x3290cb={};_0x3290cb[_0x566352(0x131)]=!![];const _0x5c6b04=global[_0x566352(0x15c)]?Object['assign']({},_0x1385bf,_0x3290cb):_0x1385bf,_0x33144f=_0x4ec924[_0x566352(0x15f)](_0x555366,_0x4ec924[_0x566352(0x125)])?_0x2bc084[_0x566352(0x14f)]:_0x2bc084;await _0x4ec924['oFGmC'](withTimeout,playwrightA11yHelper[_0x566352(0xf9)](_0x33144f,scripts[_0x566352(0x160)],_0x5c6b04),RETRY_CONFIG[_0x566352(0xf6)]),await exports[_0x566352(0xd5)](_0x2bc084,RETRY_CONFIG['defaultTimeoutMs']);}else{await exports[_0x566352(0x10d)](_0x2bc084,RETRY_CONFIG[_0x566352(0xf6)]);const _0x379b36={};_0x379b36[_0x566352(0x131)]=!![];const _0x55a846=globals[_0x566352(0x107)](_0x4ec924['XRqRC'])?Object['assign']({},_0x1385bf,_0x379b36):_0x1385bf;await _0x4ec924[_0x566352(0xa6)](withTimeout,_0x2bc084['executeAsyncScript'](scripts['saveTestResults'],_0x55a846),RETRY_CONFIG[_0x566352(0xf6)]),await exports['setSeleniumScriptTimeout'](_0x2bc084,RETRY_CONFIG[_0x566352(0x112)]);}return logger[_0x566352(0xc9)](_0x566352(0xe1)+_0x4fc5a3+'\x20('+_0x555366+')'),!![];}catch(_0x1fac7f){_0x4bd3a7=_0x1fac7f,logger[_0x566352(0x9e)](_0x566352(0xb4)+_0x4fc5a3+'\x20failed\x20('+_0x555366+').\x20Error:\x20'+_0x1fac7f['message']);}}return logger[_0x566352(0x122)](_0x566352(0x117)+_0x555366+_0x566352(0xf8)+(_0x4bd3a7?.['message']||_0x4ec924[_0x566352(0x12e)])),![];};
|
|
1
|
+
const a131_0x44ff56=a131_0x4fa8;(function(_0x36cfb0,_0xeba409){const _0x6b5af8=a131_0x4fa8,_0x26be3e=_0x36cfb0();while(!![]){try{const _0xf3b07f=parseInt(_0x6b5af8(0x191))/0x1*(parseInt(_0x6b5af8(0x10f))/0x2)+-parseInt(_0x6b5af8(0x116))/0x3*(parseInt(_0x6b5af8(0x106))/0x4)+parseInt(_0x6b5af8(0x103))/0x5+parseInt(_0x6b5af8(0x171))/0x6*(parseInt(_0x6b5af8(0x1b4))/0x7)+-parseInt(_0x6b5af8(0xf8))/0x8+parseInt(_0x6b5af8(0x174))/0x9*(parseInt(_0x6b5af8(0x189))/0xa)+parseInt(_0x6b5af8(0x1bf))/0xb;if(_0xf3b07f===_0xeba409)break;else _0x26be3e['push'](_0x26be3e['shift']());}catch(_0x5153a8){_0x26be3e['push'](_0x26be3e['shift']());}}}(a131_0x155d,0x74085));const util=require(a131_0x44ff56(0x10e)),logger=require(a131_0x44ff56(0x18b))[a131_0x44ff56(0x1cc)],accessibilityHelper=require(a131_0x44ff56(0xf4)),globals=require(a131_0x44ff56(0x186)),scripts=require(a131_0x44ff56(0x1c0)),PerformanceTester=require(a131_0x44ff56(0x128)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a131_0x44ff56(0x190)),BrowserstackCLI=require(a131_0x44ff56(0x14b)),{MANUAL_SCAN_METHOD}=require('./constants');function a131_0x4fa8(_0x39ca46,_0x18f019){const _0x155d67=a131_0x155d();return a131_0x4fa8=function(_0x4fa874,_0x125557){_0x4fa874=_0x4fa874-0xf2;let _0x208c8e=_0x155d67[_0x4fa874];return _0x208c8e;},a131_0x4fa8(_0x39ca46,_0x18f019);}let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a131_0x39afdd){logger['debug']('Playwright\x20accessibility\x20helper\x20not\x20available');}function a131_0x155d(){const _0x3ed027=['ms\x20using\x20setScriptTimeout\x20API','lHWAv','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','tsOzJ','timeouts','goIYh','FnfgT','isPlaywright','timeoutMs','vUEEq','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','WkDkT','stringify','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','allSettled','NqEVL','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','isRunning','66KKdvBy','eFHCH','script','20799bgfTqE','):\x20','function','saveAccessibilityResultsWithRetry','selenium-webdriver','ewxbt','getAccessibilityResultsSummary','hasScripts','ZBTkK','performComprehensiveAccessibilityScanWithRetry','Unknown\x20driver/page\x20type:\x20','page','XUuEg','value','xkQCq','ms\x20using\x20timeouts()\x20API','dGPWu','updateRetryConfig','../globals','ghmen','summary','1800eCWRRF','PCeDJ','../logger','setTimeouts','PERFORM_SCAN','currentTest','max','../performance/constants','12565hlBcoT',').\x20Last\x20error:\x20','uFWEB','getRetryConfig','sAQgT','isAccessibilityAutomationSession','setScriptTimeout','FTaLf','executeAsyncScript','DOncz','IyDQe','soySo','ILYgL','MDaAP','getAccessibilityResultsWithRetry','Accessibility\x20scan\x20attempt\x20','fulfilled','bstackA11yShouldScan','playwright-codecept-driver',')\x20with\x20error:\x20','jdvxR','browserstackSessionName','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','performScanWithRetry','BfNyM','saveTestResults','mWJhy','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','cnfwo','Accessibility\x20results\x20save\x20attempt\x20','XbQyS','IZDTn','getSession','GSKUl','344239tIRNHZ','bstackA11yScanOptions','performScan','FrTCK','setPlaywrightScriptTimeout','getCapabilities','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','[Accessibility]\x20Scan\x20skipped\x20-\x20scanner\x20scripts\x20are\x20not\x20loaded\x20for\x20this\x20run','name','ms\x20using\x20setTimeouts\x20API','EtSPI','2355551rJABbs','./scripts','Unknown\x20error','XCtnD','results','mZaXV','rKuaa','BusKG','status','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','hnpeP',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','Page','winstonLogger','getId','\x20-\x20not\x20applicable','getAccessibilityModule','./helper','NKNiT','race',').\x20Error:\x20','6214488LfLxvg','SapHe','MaQFc','isAccessibilityPlatform','options','FIKgf','YpdAG','HPjYH','constructor','maxRetries','setSeleniumScriptTimeout','192075LyHDfw','vJFSu','warn','8Jrdqut','yPQuE','ttAoW','getCurrentUrl','CPUTN','Operation\x20timed\x20out\x20after\x20','getAccessibilityResults',',\x20cannot\x20perform\x20scan\x20with\x20retry.','util','86KrCWLM','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','Accessibility\x20results\x20retrieval\x20attempt\x20','Skipping\x20timeout\x20setting\x20for\x20','getAccessibilityResultsSummaryWithRetry','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','746547mTyDlg','RCiHs','browserStackEvaluate','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','rejected','goto','type','AtDqL','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','env','JpTyz','accessibilityPlatform','Scan\x20attempt\x20','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','kCyJM','vUsfA','error','mUCMG','../performance/performance-tester','YYkXG','NfSkW',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','capabilitiesList','othzC','fWBXe','url','Playwright','scannerProcessingTimeout','__workerDetails','VMwZg','manage','message','defaultTimeoutMs','getGlobal','Comprehensive\x20accessibility\x20scan\x20failed\x20(','qUNuy',');\x20skipping\x20save.','qglTj','WebDriver','IvtkW','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','setDefaultTimeout','driverType','AgiTm','dHmFc','JPhnU','tuodw','fsXlc','goMmh','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','evaluate','\x20failed\x20(','pzbKN','../../bin/v2/browserstackCLI','debug','is_mobile_session','vgRoJ','jMDCD','reason','assign','wCtrp','scanSucceeded','info',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','VlxcP','isMobilePlatform','resolveMobileThTestRunUuid','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','unknown_method','undefined','\x20for\x20method:\x20'];a131_0x155d=function(){return _0x3ed027;};return a131_0x155d();}const a131_0x3eb018={};a131_0x3eb018[a131_0x44ff56(0x101)]=0x1,a131_0x3eb018[a131_0x44ff56(0x166)]=0x7530,a131_0x3eb018[a131_0x44ff56(0x136)]=0x7530;const RETRY_CONFIG=a131_0x3eb018,setConfigTimeout=(_0x3e0d49,_0x4bf266=null)=>{const _0x1a2a1b=a131_0x44ff56,_0x141efe={'ILYgL':function(_0x39c228,_0x57e793){return _0x39c228===_0x57e793;},'SzihG':_0x1a2a1b(0x131),'FrTCK':function(_0x11325b,_0x2ba0d4){return _0x11325b*_0x2ba0d4;},'goMmh':function(_0x1888ba,_0x51437e){return _0x1888ba(_0x51437e);},'oOQEi':function(_0x41c9e8,_0x2c71b4){return _0x41c9e8*_0x2c71b4;}};if(BrowserstackCLI['getInstance']()[_0x1a2a1b(0x170)]()&&BrowserstackCLI['getInstance']()[_0x1a2a1b(0xf3)]()){const _0x119c59=BrowserstackCLI['getInstance']()[_0x1a2a1b(0xf3)]()['accessibilityConfig'],_0x4d3ae8=_0x119c59[_0x1a2a1b(0xfc)][_0x1a2a1b(0x12c)]||[];for(const _0x3250c0 of _0x4d3ae8){_0x141efe[_0x1a2a1b(0x19d)](_0x3250c0[_0x1a2a1b(0x1bc)],_0x141efe['SzihG'])&&_0x141efe['ILYgL'](_0x4bf266,null)&&(_0x3e0d49[_0x1a2a1b(0x166)]=_0x141efe[_0x1a2a1b(0x1b7)](_0x141efe['goMmh'](parseInt,_0x3250c0[_0x1a2a1b(0x181)]),0x3e8));}}else process[_0x1a2a1b(0x11f)][_0x1a2a1b(0x1c8)]&&(_0x3e0d49[_0x1a2a1b(0x166)]=_0x141efe['oOQEi'](_0x141efe[_0x1a2a1b(0x146)](parseInt,process[_0x1a2a1b(0x11f)][_0x1a2a1b(0x1c8)]),0x3e8));},detectDriverType=_0x16443e=>{const _0xc8f4bd=a131_0x44ff56,_0x4ff850={};_0x4ff850[_0xc8f4bd(0x104)]='unknown',_0x4ff850[_0xc8f4bd(0x198)]=function(_0x7b20ea,_0x213242){return _0x7b20ea===_0x213242;},_0x4ff850[_0xc8f4bd(0x152)]=_0xc8f4bd(0x176),_0x4ff850[_0xc8f4bd(0xff)]='playwright-page',_0x4ff850[_0xc8f4bd(0x1a9)]=function(_0x24f473,_0x42b0e4){return _0x24f473===_0x42b0e4;},_0x4ff850[_0xc8f4bd(0x13b)]=_0xc8f4bd(0x178),_0x4ff850[_0xc8f4bd(0x133)]=_0xc8f4bd(0x1cb),_0x4ff850[_0xc8f4bd(0x13d)]=_0xc8f4bd(0x13c),_0x4ff850[_0xc8f4bd(0x16d)]=function(_0x25bc80,_0x1f2a6d){return _0x25bc80===_0x1f2a6d;},_0x4ff850[_0xc8f4bd(0x129)]=_0xc8f4bd(0x130),_0x4ff850[_0xc8f4bd(0x124)]=_0xc8f4bd(0x1a3),_0x4ff850[_0xc8f4bd(0x117)]=function(_0x18ed79,_0x2e007){return _0x18ed79||_0x2e007;},_0x4ff850['DOncz']=_0xc8f4bd(0x15b);const _0x2ffdd9=_0x4ff850;if(!_0x16443e){const _0x10971b={};return _0x10971b[_0xc8f4bd(0x165)]=![],_0x10971b['type']=_0x2ffdd9['vJFSu'],_0x10971b;}if(_0x2ffdd9[_0xc8f4bd(0x198)](typeof _0x16443e[_0xc8f4bd(0x148)],_0x2ffdd9['wCtrp'])&&_0x2ffdd9[_0xc8f4bd(0x198)](typeof _0x16443e['url'],_0x2ffdd9[_0xc8f4bd(0x152)])&&_0x2ffdd9[_0xc8f4bd(0x198)](typeof _0x16443e[_0xc8f4bd(0x11b)],_0x2ffdd9[_0xc8f4bd(0x152)])){const _0x37471c={};return _0x37471c[_0xc8f4bd(0x165)]=!![],_0x37471c[_0xc8f4bd(0x11c)]=_0x2ffdd9[_0xc8f4bd(0xff)],_0x37471c;}if(_0x2ffdd9[_0xc8f4bd(0x1a9)](typeof _0x16443e[_0xc8f4bd(0x199)],_0x2ffdd9[_0xc8f4bd(0x152)])&&_0x2ffdd9['BfNyM'](typeof _0x16443e[_0xc8f4bd(0x1b9)],_0x2ffdd9[_0xc8f4bd(0x152)])){const _0xc0d36={};return _0xc0d36['isPlaywright']=![],_0xc0d36[_0xc8f4bd(0x11c)]=_0x2ffdd9[_0xc8f4bd(0x13b)],_0xc0d36;}const _0x44b178=_0x16443e[_0xc8f4bd(0x100)]?.[_0xc8f4bd(0x1bc)];if(_0x2ffdd9['FTaLf'](_0x44b178,_0x2ffdd9[_0xc8f4bd(0x133)])){const _0x4bd051={};return _0x4bd051[_0xc8f4bd(0x165)]=!![],_0x4bd051['type']=_0x2ffdd9[_0xc8f4bd(0xff)],_0x4bd051;}if(_0x2ffdd9[_0xc8f4bd(0x1a9)](_0x44b178,_0x2ffdd9[_0xc8f4bd(0x13d)])){const _0x41d1c0={};return _0x41d1c0[_0xc8f4bd(0x165)]=![],_0x41d1c0[_0xc8f4bd(0x11c)]=_0x2ffdd9[_0xc8f4bd(0x13b)],_0x41d1c0;}if(_0x2ffdd9[_0xc8f4bd(0x16d)](_0x44b178,_0x2ffdd9[_0xc8f4bd(0x129)])){const _0x212156={};return _0x212156[_0xc8f4bd(0x165)]=!![],_0x212156['type']=_0x2ffdd9[_0xc8f4bd(0x124)],_0x212156;}logger[_0xc8f4bd(0x105)](_0xc8f4bd(0x17e)+_0x2ffdd9[_0xc8f4bd(0x117)](_0x44b178,_0x2ffdd9[_0xc8f4bd(0x19a)]));const _0x150c3a={};return _0x150c3a[_0xc8f4bd(0x165)]=![],_0x150c3a[_0xc8f4bd(0x11c)]=_0x2ffdd9[_0xc8f4bd(0x104)],_0x150c3a;},withTimeout=(_0xa5e88a,_0x4b795c)=>{const _0x14d44e=a131_0x44ff56;return Promise[_0x14d44e(0xf6)]([_0xa5e88a,new Promise((_0xb95d25,_0x22aab4)=>setTimeout(()=>_0x22aab4(new Error(_0x14d44e(0x10b)+_0x4b795c+'ms')),_0x4b795c))]);};exports[a131_0x44ff56(0x1a8)]=async(_0x2b0b8f,_0x219841=null,_0xf5a9f9=null,_0x5d3ee7=![],_0x429936=null)=>{const _0x1e69f3=a131_0x44ff56,_0x2c1f66={'cmRry':function(_0xf6f9f,_0x4486cb){return _0xf6f9f&&_0x4486cb;},'mWJhy':function(_0x362b36,_0x354e31,_0x28d64b){return _0x362b36(_0x354e31,_0x28d64b);},'FCKWr':function(_0x2282de,_0xc826d5){return _0x2282de===_0xc826d5;},'EcHco':_0x1e69f3(0x1a3),'ZpviM':function(_0x444516,_0x3dbde7,_0x5508e0){return _0x444516(_0x3dbde7,_0x5508e0);},'FIKgf':function(_0x5790f3,_0x167e0f){return _0x5790f3(_0x167e0f);},'ICjlE':function(_0x3d272b,_0x25ed2a){return _0x3d272b||_0x25ed2a;},'sAQgT':function(_0x51f0dd,_0x488991){return _0x51f0dd!==_0x488991;},'BusKG':_0x1e69f3(0xfb),'yPQuE':_0x1e69f3(0x1a2),'soySo':function(_0x3c7aab,_0x244262){return _0x3c7aab===_0x244262;},'bUBYs':function(_0xadf185,_0x246095){return _0xadf185===_0x246095;},'jdvxR':_0x1e69f3(0x159),'ghmen':_0x1e69f3(0x1b6),'tuodw':_0x1e69f3(0x1bb),'NfSkW':_0x1e69f3(0x15a),'dGPWu':_0x1e69f3(0x176),'XUuEg':function(_0x4916c2,_0x54b94a){return _0x4916c2===_0x54b94a;},'fJpbB':function(_0xd1601c,_0x322ee5){return _0xd1601c<=_0x322ee5;},'XbQyS':function(_0x311204,_0x440553){return _0x311204+_0x440553;},'cgzRK':function(_0x5bc3be,_0x25809b){return _0x5bc3be+_0x25809b;},'dHmFc':_0x1e69f3(0x1c1)},{isPlaywright:_0x590940,type:_0x1c31cb}=_0x2c1f66[_0x1e69f3(0xfd)](detectDriverType,_0x2b0b8f),_0x1cc363=_0x5d3ee7?_0x2c1f66['ICjlE'](_0x429936,{}):global[_0x1e69f3(0x1b5)]||{},_0x20b5af=_0x590940?global[_0x1e69f3(0x121)]&&(_0x5d3ee7||_0x2c1f66[_0x1e69f3(0x195)](global[_0x1e69f3(0x1a2)],![])):accessibilityHelper[_0x1e69f3(0x196)]()&&globals[_0x1e69f3(0x137)](_0x2c1f66[_0x1e69f3(0x1c6)])&&(_0x5d3ee7||_0x2c1f66[_0x1e69f3(0x195)](globals['getGlobal'](_0x2c1f66[_0x1e69f3(0x107)]),![]));if(!_0x20b5af)return _0x590940&&global[_0x1e69f3(0x121)]&&_0x2c1f66['soySo'](global[_0x1e69f3(0x1a2)],![])||!_0x590940&&globals[_0x1e69f3(0x137)](_0x2c1f66[_0x1e69f3(0x1c6)])&&_0x2c1f66['bUBYs'](globals[_0x1e69f3(0x137)](_0x2c1f66[_0x1e69f3(0x107)]),![])?logger[_0x1e69f3(0x14c)](_0x2c1f66[_0x1e69f3(0x1a5)]):logger['warn'](_0x1e69f3(0x1ba)+_0x1c31cb+_0x1e69f3(0x10d)),![];if(!_0xf5a9f9&&!scripts['hasScripts'](_0x2c1f66[_0x1e69f3(0x187)]))return logger[_0x1e69f3(0x14c)](_0x2c1f66[_0x1e69f3(0x144)]),![];const _0x3923d9=_0x5d3ee7?MANUAL_SCAN_METHOD:_0x219841||global[_0x1e69f3(0x1a6)]||_0x2c1f66[_0x1e69f3(0x12a)];let _0x41c8c1=null;const _0x55e06e={'testhub_btcer_uuid':global[_0x1e69f3(0x132)]?.[_0x1e69f3(0x18e)]?.['id'],'url':_0x2c1f66[_0x1e69f3(0x19c)](typeof _0x2b0b8f[_0x1e69f3(0x12f)],_0x2c1f66['dGPWu'])?await _0x2b0b8f['url']():_0x2c1f66[_0x1e69f3(0x180)](typeof _0x2b0b8f[_0x1e69f3(0x109)],_0x2c1f66[_0x1e69f3(0x184)])?await _0x2b0b8f[_0x1e69f3(0x109)]():'','automate_session_id':_0x2c1f66['XUuEg'](typeof _0x2b0b8f['getSession'],_0x2c1f66['dGPWu'])?(await _0x2b0b8f[_0x1e69f3(0x1b2)]())[_0x1e69f3(0x1cd)]():''};for(let _0x4e945b=0x1;_0x2c1f66['fJpbB'](_0x4e945b,_0x2c1f66[_0x1e69f3(0x1b0)](RETRY_CONFIG[_0x1e69f3(0x101)],0x1));_0x4e945b++){try{return logger['debug'](_0x1e69f3(0x1a0)+_0x4e945b+'/'+_0x2c1f66['cgzRK'](RETRY_CONFIG[_0x1e69f3(0x101)],0x1)+_0x1e69f3(0x15c)+_0x3923d9+'\x20('+_0x1c31cb+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1e69f3(0x18d)],async()=>{const _0x1a1615=_0x1e69f3;let _0x2bdbcc;if(_0x2c1f66['cmRry'](_0x590940,playwrightA11yHelper)){_0x2c1f66[_0x1a1615(0x1ab)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1a1615(0x1b8)](_0x2b0b8f,RETRY_CONFIG['timeoutMs']);let _0x3cd8c7=_0x2b0b8f;_0x2c1f66['FCKWr'](_0x1c31cb,_0x2c1f66['EcHco'])&&(_0x3cd8c7=_0x2b0b8f[_0x1a1615(0x17f)]);const _0x8cd14=global[_0x1a1615(0x157)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x1a1615(0x158)]()}:{};_0x2bdbcc=await _0x2c1f66['ZpviM'](withTimeout,playwrightA11yHelper[_0x1a1615(0x1b6)](_0x3cd8c7,_0x3923d9,_0x1cc363,_0x8cd14),RETRY_CONFIG['timeoutMs']),await exports[_0x1a1615(0x1b8)](_0x2b0b8f,RETRY_CONFIG['defaultTimeoutMs']);}else await exports[_0x1a1615(0x102)](_0x2b0b8f,RETRY_CONFIG[_0x1a1615(0x166)]),_0x2bdbcc=await _0x2c1f66[_0x1a1615(0x1ab)](withTimeout,accessibilityHelper['performScan'](_0x2b0b8f,_0x3923d9,_0x5d3ee7,_0x1cc363),RETRY_CONFIG['timeoutMs']),await exports[_0x1a1615(0x102)](_0x2b0b8f,RETRY_CONFIG['defaultTimeoutMs']);logger[_0x1a1615(0x14c)](_0x1a1615(0x122)+_0x4e945b+'\x20completed\x20successfully.');},{'command':_0x3923d9,..._0x55e06e})(),logger[_0x1e69f3(0x154)](_0x1e69f3(0x1a7)+_0x4e945b+'.'),!![];}catch(_0x456363){_0x41c8c1=_0x456363,logger['debug'](_0x1e69f3(0x1a0)+_0x4e945b+'\x20failed\x20for\x20method:\x20'+_0x3923d9+'\x20('+_0x1c31cb+_0x1e69f3(0xf7)+_0x456363['message']);}}return logger['error'](_0x1e69f3(0x15f)+_0x3923d9+'\x20('+_0x1c31cb+_0x1e69f3(0x1a4)+(_0x41c8c1?.['message']||_0x2c1f66[_0x1e69f3(0x142)])),![];},exports[a131_0x44ff56(0x19f)]=async(_0x2a359e,_0x398b1d)=>{const _0x1b80b=a131_0x44ff56,_0x46ded4={'IZDTn':function(_0x2ba41e,_0x1b48a9){return _0x2ba41e(_0x1b48a9);},'SapHe':'isAccessibilityPlatform','vUEEq':function(_0x531e73,_0x20a909){return _0x531e73<=_0x20a909;},'XCtnD':function(_0x193ccd,_0x1d386c){return _0x193ccd+_0x1d386c;},'EtSPI':function(_0x3bb4f8,_0x10daa5){return _0x3bb4f8+_0x10daa5;},'ewxbt':function(_0x37b8ab,_0x1cebe0){return _0x37b8ab&&_0x1cebe0;},'MmVhV':function(_0x278a6e,_0x47f934,_0x488dff){return _0x278a6e(_0x47f934,_0x488dff);},'yTfHT':function(_0x56c8f4,_0x17cb25,_0x4f7fde){return _0x56c8f4(_0x17cb25,_0x4f7fde);},'ZBTkK':function(_0x1aa436,_0x25b3b4,_0x17e703){return _0x1aa436(_0x25b3b4,_0x17e703);},'lHWAv':'Unknown\x20error'},{isPlaywright:_0x4edcc4,type:_0x4bfb74}=_0x46ded4[_0x1b80b(0x1b1)](detectDriverType,_0x2a359e),_0x3b8cf5=_0x4edcc4?_0x398b1d['accessibilityPlatform']:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x1b80b(0x137)](_0x46ded4[_0x1b80b(0xf9)]);if(!_0x3b8cf5)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x4bfb74+_0x1b80b(0x155)),[];let _0x378529=null;for(let _0x1bce9e=0x1;_0x46ded4[_0x1b80b(0x167)](_0x1bce9e,_0x46ded4[_0x1b80b(0x1c2)](RETRY_CONFIG['maxRetries'],0x1));_0x1bce9e++){try{logger[_0x1b80b(0x14c)](_0x1b80b(0x112)+_0x1bce9e+'/'+_0x46ded4[_0x1b80b(0x1be)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x4bfb74+')');let _0x2520cf;return _0x46ded4[_0x1b80b(0x179)](_0x4edcc4,playwrightA11yHelper)?(_0x46ded4['MmVhV'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1b80b(0x1b8)](_0x2a359e,RETRY_CONFIG[_0x1b80b(0x166)]),_0x2520cf=await _0x46ded4['yTfHT'](withTimeout,playwrightA11yHelper[_0x1b80b(0x10c)](_0x2a359e),RETRY_CONFIG[_0x1b80b(0x166)]),await exports[_0x1b80b(0x1b8)](_0x2a359e,RETRY_CONFIG[_0x1b80b(0x136)])):(await exports[_0x1b80b(0x102)](_0x2a359e,RETRY_CONFIG[_0x1b80b(0x166)]),_0x2520cf=await _0x46ded4[_0x1b80b(0x17c)](withTimeout,accessibilityHelper[_0x1b80b(0x10c)](_0x2a359e,_0x398b1d),RETRY_CONFIG['timeoutMs']),await exports[_0x1b80b(0x102)](_0x2a359e,RETRY_CONFIG[_0x1b80b(0x136)])),logger[_0x1b80b(0x154)](_0x1b80b(0x160)+_0x1bce9e+'\x20('+_0x4bfb74+')'),_0x2520cf;}catch(_0x59fe72){_0x378529=_0x59fe72,logger['warn'](_0x1b80b(0x112)+_0x1bce9e+'\x20failed\x20('+_0x4bfb74+').\x20Error:\x20'+_0x59fe72[_0x1b80b(0x135)]);}}return logger[_0x1b80b(0x126)](_0x1b80b(0x1ac)+_0x4bfb74+_0x1b80b(0x192)+(_0x378529?.[_0x1b80b(0x135)]||_0x46ded4[_0x1b80b(0x15e)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x16252d,_0x5b7dfa)=>{const _0x224d12=a131_0x44ff56,_0x440395={'tQGxt':function(_0x5ad6b3,_0x5c86ad){return _0x5ad6b3(_0x5c86ad);},'mUCMG':_0x224d12(0xfb),'qUNuy':function(_0x38a856,_0x2ea298){return _0x38a856<=_0x2ea298;},'PCeDJ':function(_0x4b537f,_0x26d2ce){return _0x4b537f+_0x26d2ce;},'GSKUl':function(_0x1c615e,_0x1c757b){return _0x1c615e&&_0x1c757b;},'xkQCq':function(_0x515ab5,_0x5996c4,_0x41bbd4){return _0x515ab5(_0x5996c4,_0x41bbd4);},'AtDqL':function(_0x4493cf,_0x311679,_0x2bdcc3){return _0x4493cf(_0x311679,_0x2bdcc3);},'MaQFc':'Unknown\x20error'},{isPlaywright:_0x469707,type:_0xc4e1b2}=_0x440395['tQGxt'](detectDriverType,_0x16252d),_0x154ece=_0x469707?_0x5b7dfa[_0x224d12(0x121)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x224d12(0x137)](_0x440395[_0x224d12(0x127)]);if(!_0x154ece)return logger[_0x224d12(0x105)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0xc4e1b2+_0x224d12(0x12b)),{};let _0x10ca27=null;for(let _0x477b07=0x1;_0x440395[_0x224d12(0x139)](_0x477b07,_0x440395[_0x224d12(0x18a)](RETRY_CONFIG[_0x224d12(0x101)],0x1));_0x477b07++){try{logger['debug'](_0x224d12(0x110)+_0x477b07+'/'+_0x440395['PCeDJ'](RETRY_CONFIG[_0x224d12(0x101)],0x1)+'\x20('+_0xc4e1b2+')');let _0x3b3b23;return _0x440395[_0x224d12(0x1b3)](_0x469707,playwrightA11yHelper)?(_0x440395[_0x224d12(0x182)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x224d12(0x1b8)](_0x16252d,RETRY_CONFIG['timeoutMs']),_0x3b3b23=await _0x440395[_0x224d12(0x11d)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x16252d),RETRY_CONFIG[_0x224d12(0x166)]),await exports[_0x224d12(0x1b8)](_0x16252d,RETRY_CONFIG[_0x224d12(0x136)])):(await exports['setSeleniumScriptTimeout'](_0x16252d,RETRY_CONFIG[_0x224d12(0x166)]),_0x3b3b23=await _0x440395[_0x224d12(0x11d)](withTimeout,accessibilityHelper[_0x224d12(0x17a)](_0x16252d,_0x5b7dfa),RETRY_CONFIG['timeoutMs']),await exports[_0x224d12(0x102)](_0x16252d,RETRY_CONFIG[_0x224d12(0x136)])),logger[_0x224d12(0x154)](_0x224d12(0x115)+_0x477b07+'\x20('+_0xc4e1b2+')'),_0x3b3b23;}catch(_0x513676){_0x10ca27=_0x513676,logger['warn'](_0x224d12(0x110)+_0x477b07+'\x20failed\x20('+_0xc4e1b2+_0x224d12(0xf7)+_0x513676[_0x224d12(0x135)]);}}return logger[_0x224d12(0x126)](_0x224d12(0x119)+_0xc4e1b2+_0x224d12(0x192)+(_0x10ca27?.[_0x224d12(0x135)]||_0x440395[_0x224d12(0xfa)])),{};},exports[a131_0x44ff56(0x17d)]=async(_0x44c49c,_0x4c622c,_0x343a03=null)=>{const _0x5b4879=a131_0x44ff56,_0x2cc429={'AgiTm':function(_0x3b5dc4,_0x496f4f){return _0x3b5dc4(_0x496f4f);},'VlxcP':function(_0x59142a,_0x469679){return _0x59142a===_0x469679;},'vgRoJ':_0x5b4879(0x1a1),'fWBXe':function(_0x17afdc,_0x117848){return _0x17afdc===_0x117848;},'othzC':_0x5b4879(0x11a),'rKuaa':_0x5b4879(0x168)},{isPlaywright:_0x3c6850,type:_0x47497b}=_0x2cc429[_0x5b4879(0x141)](detectDriverType,_0x44c49c),_0x5118ff={};_0x5118ff['scanSucceeded']=![],_0x5118ff[_0x5b4879(0x1c3)]=[],_0x5118ff[_0x5b4879(0x188)]={},_0x5118ff[_0x5b4879(0x126)]=null,_0x5118ff[_0x5b4879(0x140)]=_0x47497b;const _0x2447e5=_0x5118ff;try{_0x2447e5['scanSucceeded']=await exports['performScanWithRetry'](_0x44c49c,_0x343a03);if(_0x2447e5[_0x5b4879(0x153)]){const [_0x4abdc2,_0x43f9af]=await Promise[_0x5b4879(0x16c)]([exports[_0x5b4879(0x19f)](_0x44c49c,_0x4c622c),exports[_0x5b4879(0x114)](_0x44c49c,_0x4c622c)]);_0x2447e5[_0x5b4879(0x1c3)]=_0x2cc429[_0x5b4879(0x156)](_0x4abdc2[_0x5b4879(0x1c7)],_0x2cc429[_0x5b4879(0x14e)])?_0x4abdc2[_0x5b4879(0x181)]:[],_0x2447e5[_0x5b4879(0x188)]=_0x2cc429['VlxcP'](_0x43f9af[_0x5b4879(0x1c7)],_0x2cc429['vgRoJ'])?_0x43f9af['value']:{},_0x2cc429['fWBXe'](_0x4abdc2[_0x5b4879(0x1c7)],_0x2cc429['othzC'])&&logger[_0x5b4879(0x105)](_0x5b4879(0x1ad)+_0x47497b+_0x5b4879(0x175)+_0x4abdc2[_0x5b4879(0x150)]?.[_0x5b4879(0x135)]),_0x2cc429[_0x5b4879(0x12e)](_0x43f9af['status'],_0x2cc429[_0x5b4879(0x12d)])&&logger[_0x5b4879(0x105)](_0x5b4879(0x16e)+_0x47497b+'):\x20'+_0x43f9af[_0x5b4879(0x150)]?.['message']);}}catch(_0x4043e1){_0x2447e5['error']=_0x4043e1['message']||_0x2cc429[_0x5b4879(0x1c5)],logger[_0x5b4879(0x126)](_0x5b4879(0x138)+_0x47497b+'):\x20'+_0x2447e5[_0x5b4879(0x126)]);}return _0x2447e5;},exports[a131_0x44ff56(0x185)]=_0x22c7f8=>{const _0x54e3b3=a131_0x44ff56,_0x52c0a3={};_0x52c0a3[_0x54e3b3(0x120)]=function(_0x5763aa,_0x5d12f4){return _0x5763aa!==_0x5d12f4;},_0x52c0a3[_0x54e3b3(0x19b)]=function(_0x4ee200,_0x453ae1){return _0x4ee200!==_0x453ae1;};const _0x2f5c21=_0x52c0a3;_0x2f5c21['JpTyz'](_0x22c7f8[_0x54e3b3(0x101)],undefined)&&(RETRY_CONFIG['maxRetries']=Math[_0x54e3b3(0x18f)](0x0,_0x22c7f8[_0x54e3b3(0x101)])),_0x2f5c21[_0x54e3b3(0x19b)](_0x22c7f8[_0x54e3b3(0x166)],undefined)&&(RETRY_CONFIG[_0x54e3b3(0x166)]=Math['max'](0x3e8,_0x22c7f8[_0x54e3b3(0x166)])),logger[_0x54e3b3(0x14c)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x54e3b3(0x16a)](RETRY_CONFIG));},exports[a131_0x44ff56(0x194)]=()=>{const _0x1c1535={...RETRY_CONFIG};return _0x1c1535;},exports['isPlaywrightPage']=_0x3198b7=>{const _0x48daf2=a131_0x44ff56,_0x53cb48={'eYLvl':function(_0x3efa11,_0x588c73){return _0x3efa11(_0x588c73);}};return _0x53cb48['eYLvl'](detectDriverType,_0x3198b7)[_0x48daf2(0x165)];},exports['isSeleniumDriver']=_0x2a81a5=>{const _0x4b0f4b=a131_0x44ff56,_0x458a31={'JPhnU':function(_0x504ca2,_0x5e6de6){return _0x504ca2(_0x5e6de6);},'zcHsY':function(_0x4147a6,_0x4291b1){return _0x4147a6===_0x4291b1;},'mZaXV':_0x4b0f4b(0x178)},{isPlaywright:_0xd0fa89,type:_0x5dc085}=_0x458a31[_0x4b0f4b(0x143)](detectDriverType,_0x2a81a5);return!_0xd0fa89&&_0x458a31['zcHsY'](_0x5dc085,_0x458a31[_0x4b0f4b(0x1c4)]);},exports[a131_0x44ff56(0x1b8)]=async(_0x172198,_0x223956=null)=>{const _0x1c1e8f=a131_0x44ff56,_0x5b9642={'CPUTN':function(_0x2253b3,_0x59b1fa){return _0x2253b3(_0x59b1fa);},'pzbKN':function(_0x40ee2b,_0x2a9c61){return _0x40ee2b===_0x2a9c61;},'uFWEB':_0x1c1e8f(0x176)},{isPlaywright:_0x5a5f39,type:_0x2ff259}=_0x5b9642[_0x1c1e8f(0x10a)](detectDriverType,_0x172198);if(!_0x5a5f39)return logger['debug'](_0x1c1e8f(0x113)+_0x2ff259+_0x1c1e8f(0xf2)),!![];const _0x4bde75=_0x223956||RETRY_CONFIG[_0x1c1e8f(0x136)];try{return _0x172198&&_0x5b9642[_0x1c1e8f(0x14a)](typeof _0x172198[_0x1c1e8f(0x13f)],_0x5b9642[_0x1c1e8f(0x193)])&&(await _0x172198[_0x1c1e8f(0x13f)](_0x4bde75),logger['debug'](_0x1c1e8f(0x13e)+_0x4bde75+'ms')),!![];}catch(_0x1b2edc){return logger[_0x1c1e8f(0x105)](_0x1c1e8f(0x111)+_0x1b2edc['message']),![];}},exports[a131_0x44ff56(0x102)]=async(_0x2fd73f,_0xba525a=null)=>{const _0x1e78bc=a131_0x44ff56,_0x2d2870={};_0x2d2870[_0x1e78bc(0x1ae)]='Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver',_0x2d2870[_0x1e78bc(0xf5)]=function(_0x4966ba,_0x124372){return _0x4966ba===_0x124372;},_0x2d2870[_0x1e78bc(0x161)]=_0x1e78bc(0x176),_0x2d2870[_0x1e78bc(0x172)]=function(_0x5d9085,_0x31fa60){return _0x5d9085===_0x31fa60;},_0x2d2870[_0x1e78bc(0x163)]=_0x1e78bc(0x16b),_0x2d2870['WkDkT']=_0x1e78bc(0x123);const _0x2fffed=_0x2d2870;if(!exports['isSeleniumDriver'](_0x2fd73f))return logger[_0x1e78bc(0x105)](_0x2fffed['cnfwo']),![];const _0x545f7c=_0xba525a||RETRY_CONFIG[_0x1e78bc(0x136)];try{if(_0x2fd73f&&_0x2fffed[_0x1e78bc(0xf5)](typeof _0x2fd73f['manage'],_0x2fffed[_0x1e78bc(0x161)])){const _0xab7973=_0x2fd73f[_0x1e78bc(0x134)]();if(_0xab7973&&_0x2fffed[_0x1e78bc(0xf5)](typeof _0xab7973['timeouts'],_0x2fffed[_0x1e78bc(0x161)]))await _0xab7973[_0x1e78bc(0x162)]()[_0x1e78bc(0x197)](_0x545f7c),logger['debug'](_0x1e78bc(0x147)+_0x545f7c+_0x1e78bc(0x183));else{if(_0xab7973&&_0x2fffed[_0x1e78bc(0x172)](typeof _0xab7973[_0x1e78bc(0x18c)],_0x2fffed[_0x1e78bc(0x161)])){const _0x1a7789={};_0x1a7789[_0x1e78bc(0x173)]=_0x545f7c,await _0xab7973[_0x1e78bc(0x18c)](_0x1a7789),logger[_0x1e78bc(0x14c)](_0x1e78bc(0x147)+_0x545f7c+_0x1e78bc(0x1bd));}else{if(_0xab7973&&_0x2fffed['NKNiT'](typeof _0xab7973[_0x1e78bc(0x197)],_0x2fffed[_0x1e78bc(0x161)]))await _0xab7973['setScriptTimeout'](_0x545f7c),logger[_0x1e78bc(0x14c)](_0x1e78bc(0x147)+_0x545f7c+_0x1e78bc(0x15d));else return logger[_0x1e78bc(0x14c)](_0x2fffed[_0x1e78bc(0x163)]),!![];}}}else return logger[_0x1e78bc(0x14c)](_0x2fffed[_0x1e78bc(0x169)]),!![];return!![];}catch(_0x1d51fd){return logger['warn'](_0x1e78bc(0x16f)+_0x1d51fd['message']),![];}},exports[a131_0x44ff56(0x177)]=async(_0x26fb4b,_0x5b6e21)=>{const _0x180de0=a131_0x44ff56,_0x3340b7={'ttAoW':function(_0x30b9cc,_0x56d0a4){return _0x30b9cc(_0x56d0a4);},'FnfgT':_0x180de0(0xfb),'zmSof':'saveTestResults','MDaAP':function(_0x2d8d97,_0x5aa12f){return _0x2d8d97<=_0x5aa12f;},'fsXlc':function(_0x8d3214,_0x306621){return _0x8d3214+_0x306621;},'WltDP':function(_0x458376,_0x31412e){return _0x458376&&_0x31412e;},'jMDCD':function(_0xa6f395,_0x58252a,_0xe6269a){return _0xa6f395(_0x58252a,_0xe6269a);},'vUsfA':function(_0x44780c,_0x478f81){return _0x44780c===_0x478f81;},'cMraz':_0x180de0(0x1a3),'hnpeP':_0x180de0(0x157),'YpdAG':_0x180de0(0x1c1)},{isPlaywright:_0x14f137,type:_0x2a7d28}=_0x3340b7[_0x180de0(0x108)](detectDriverType,_0x26fb4b),_0x470961=_0x14f137?global['accessibilityPlatform']:accessibilityHelper[_0x180de0(0x196)]()&&globals['getGlobal'](_0x3340b7[_0x180de0(0x164)]);if(!_0x470961)return logger[_0x180de0(0x105)](_0x180de0(0x1ba)+_0x2a7d28+_0x180de0(0x1ca)),![];if(!scripts[_0x180de0(0x17b)](_0x3340b7['zmSof']))return logger[_0x180de0(0x105)]('Accessibility\x20scanner\x20scripts\x20are\x20not\x20loaded\x20for\x20this\x20run\x20('+_0x2a7d28+_0x180de0(0x13a)),![];let _0x1b7030=null;for(let _0x411044=0x1;_0x3340b7[_0x180de0(0x19e)](_0x411044,_0x3340b7[_0x180de0(0x145)](RETRY_CONFIG[_0x180de0(0x101)],0x1));_0x411044++){try{logger[_0x180de0(0x14c)](_0x180de0(0x1af)+_0x411044+'/'+_0x3340b7['fsXlc'](RETRY_CONFIG[_0x180de0(0x101)],0x1)+'\x20('+_0x2a7d28+')');if(_0x3340b7['WltDP'](_0x14f137,playwrightA11yHelper)){_0x3340b7[_0x180de0(0x14f)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x180de0(0x1b8)](_0x26fb4b,RETRY_CONFIG['timeoutMs']);const _0x3d16bb={};_0x3d16bb[_0x180de0(0x14d)]=!![];const _0x5998f8=global[_0x180de0(0x157)]?Object['assign']({},_0x5b6e21,_0x3d16bb):_0x5b6e21,_0x5a6229=_0x3340b7[_0x180de0(0x125)](_0x2a7d28,_0x3340b7['cMraz'])?_0x26fb4b[_0x180de0(0x17f)]:_0x26fb4b;await _0x3340b7[_0x180de0(0x14f)](withTimeout,playwrightA11yHelper[_0x180de0(0x118)](_0x5a6229,scripts[_0x180de0(0x1aa)],_0x5998f8),RETRY_CONFIG['timeoutMs']),await exports[_0x180de0(0x1b8)](_0x26fb4b,RETRY_CONFIG[_0x180de0(0x136)]);}else{await exports[_0x180de0(0x102)](_0x26fb4b,RETRY_CONFIG['timeoutMs']);const _0x14cd0b={};_0x14cd0b[_0x180de0(0x14d)]=!![];const _0x5091ae=globals[_0x180de0(0x137)](_0x3340b7[_0x180de0(0x1c9)])?Object[_0x180de0(0x151)]({},_0x5b6e21,_0x14cd0b):_0x5b6e21;await _0x3340b7[_0x180de0(0x14f)](withTimeout,_0x26fb4b['executeAsyncScript'](scripts['saveTestResults'],_0x5091ae),RETRY_CONFIG[_0x180de0(0x166)]),await exports[_0x180de0(0x102)](_0x26fb4b,RETRY_CONFIG['defaultTimeoutMs']);}return logger[_0x180de0(0x154)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x411044+'\x20('+_0x2a7d28+')'),!![];}catch(_0x1cda8b){_0x1b7030=_0x1cda8b,logger[_0x180de0(0x105)](_0x180de0(0x1af)+_0x411044+_0x180de0(0x149)+_0x2a7d28+_0x180de0(0xf7)+_0x1cda8b[_0x180de0(0x135)]);}}return logger[_0x180de0(0x126)](_0x180de0(0x11e)+_0x2a7d28+_0x180de0(0x192)+(_0x1b7030?.[_0x180de0(0x135)]||_0x3340b7[_0x180de0(0xfe)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a132_0x3e59(){var _0x4de65b=['978084Mwodfc','min_version_browserstack','https://accessibility.browserstack.com/api','API_URL','8eRaDWp','Chrome','MINIMUM_SAFARI_VERSION','requires_chrome_options_check','503364BuUbSp','chrome','min_version_non_browserstack','Edge','playwright-chromium','5684848lhWnPZ','MINIMUM_CHROMEFORTESTING_VERSION','161469hdNCuS','edge','msedge','display_name','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','2885181KMrmHJ','BSTACK_SCAN_IN_PROGRESS','100','3160930jtpqbV','ACCESSIBILITY_SUPPORTED_BROWSERS','bstack.a11yScanInProgress','450540nbLfUL','manual'];a132_0x3e59=function(){return _0x4de65b;};return a132_0x3e59();}var a132_0x14806d=a132_0xfe7b;(function(_0x18be98,_0x25887f){var _0x41d998=a132_0xfe7b,_0x456e0d=_0x18be98();while(!![]){try{var _0x108699=-parseInt(_0x41d998(0x1fa))/0x1+-parseInt(_0x41d998(0x1fc))/0x2+parseInt(_0x41d998(0x1f4))/0x3+-parseInt(_0x41d998(0x200))/0x4*(-parseInt(_0x41d998(0x1f7))/0x5)+parseInt(_0x41d998(0x204))/0x6+parseInt(_0x41d998(0x20b))/0x7+-parseInt(_0x41d998(0x209))/0x8;if(_0x108699===_0x25887f)break;else _0x456e0d['push'](_0x456e0d['shift']());}catch(_0x38d7d1){_0x456e0d['push'](_0x456e0d['shift']());}}}(a132_0x3e59,0xa6b78),exports[a132_0x14806d(0x1ff)]=a132_0x14806d(0x1fe),exports[a132_0x14806d(0x1f5)]=Symbol['for'](a132_0x14806d(0x1f9)),exports['MINIMUM_BROWSER_VERSION_ACCESSIBILITY']='94',exports[a132_0x14806d(0x20f)]=a132_0x14806d(0x1f6),exports[a132_0x14806d(0x20a)]='141',exports[a132_0x14806d(0x202)]='18.4');var a132_0x4176d6={};a132_0x4176d6[a132_0x14806d(0x20e)]='Chrome',a132_0x4176d6[a132_0x14806d(0x1fd)]=0x5e,a132_0x4176d6[a132_0x14806d(0x206)]=0x64,a132_0x4176d6[a132_0x14806d(0x203)]=!![];var a132_0x46d88e={};a132_0x46d88e[a132_0x14806d(0x20e)]=a132_0x14806d(0x201),a132_0x46d88e['min_version_browserstack']=0x5e,a132_0x46d88e[a132_0x14806d(0x206)]=0x64,a132_0x46d88e['requires_chrome_options_check']=!![];var a132_0x407ae5={};a132_0x407ae5[a132_0x14806d(0x20e)]=a132_0x14806d(0x201),a132_0x407ae5['min_version_browserstack']=0x5e,a132_0x407ae5['min_version_non_browserstack']=0x64,a132_0x407ae5[a132_0x14806d(0x203)]=!![];var a132_0xf26aaf={};a132_0xf26aaf[a132_0x14806d(0x20e)]='ChromeForTesting',a132_0xf26aaf[a132_0x14806d(0x1fd)]=0x8d,a132_0xf26aaf['min_version_non_browserstack']=0x8d,a132_0xf26aaf[a132_0x14806d(0x203)]=!![];var a132_0x2af48e={};a132_0x2af48e[a132_0x14806d(0x20e)]='Edge',a132_0x2af48e[a132_0x14806d(0x1fd)]=0x64,a132_0x2af48e[a132_0x14806d(0x206)]=0x64,a132_0x2af48e[a132_0x14806d(0x203)]=!![];var a132_0x4f7a91={};a132_0x4f7a91['display_name']=a132_0x14806d(0x207),a132_0x4f7a91['min_version_browserstack']=0x64,a132_0x4f7a91['min_version_non_browserstack']=0x64,a132_0x4f7a91[a132_0x14806d(0x203)]=!![];var a132_0x21cced={};a132_0x21cced['display_name']=a132_0x14806d(0x207),a132_0x21cced['min_version_browserstack']=0x64,a132_0x21cced[a132_0x14806d(0x206)]=0x64,a132_0x21cced[a132_0x14806d(0x203)]=!![];var a132_0x217916={};a132_0x217916[a132_0x14806d(0x20e)]='Safari',a132_0x217916['min_version_browserstack']=18.4,a132_0x217916[a132_0x14806d(0x206)]=18.4,a132_0x217916[a132_0x14806d(0x203)]=![];function a132_0xfe7b(_0x3a4cce,_0x274cb5){var _0x3e591b=a132_0x3e59();return a132_0xfe7b=function(_0xfe7b81,_0x587185){_0xfe7b81=_0xfe7b81-0x1f4;var _0x47c041=_0x3e591b[_0xfe7b81];return _0x47c041;},a132_0xfe7b(_0x3a4cce,_0x274cb5);}var a132_0x21fc35={};a132_0x21fc35[a132_0x14806d(0x205)]=a132_0x4176d6,a132_0x21fc35['chromium']=a132_0x46d88e,a132_0x21fc35[a132_0x14806d(0x208)]=a132_0x407ae5,a132_0x21fc35['chromefortesting']=a132_0xf26aaf,a132_0x21fc35[a132_0x14806d(0x20c)]=a132_0x2af48e,a132_0x21fc35['microsoftedge']=a132_0x4f7a91,a132_0x21fc35[a132_0x14806d(0x20d)]=a132_0x21cced,a132_0x21fc35['safari']=a132_0x217916,exports[a132_0x14806d(0x1f8)]=a132_0x21fc35,exports['MANUAL_SCAN_METHOD']=a132_0x14806d(0x1fb);
|