browserstack-node-sdk 1.53.3 → 1.53.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97_0x368b6b=a97_0xef9f;(function(_0x3dab62,_0x484bee){const _0x18c0a8=a97_0xef9f,_0x199bfd=_0x3dab62();while(!![]){try{const _0x12d2ee=-parseInt(_0x18c0a8(0x110))/0x1*(-parseInt(_0x18c0a8(0x10d))/0x2)+parseInt(_0x18c0a8(0x198))/0x3+parseInt(_0x18c0a8(0x149))/0x4*(-parseInt(_0x18c0a8(0x1a1))/0x5)+-parseInt(_0x18c0a8(0x18f))/0x6+-parseInt(_0x18c0a8(0x11a))/0x7*(parseInt(_0x18c0a8(0x16c))/0x8)+parseInt(_0x18c0a8(0x18b))/0x9*(-parseInt(_0x18c0a8(0x1bb))/0xa)+parseInt(_0x18c0a8(0x12d))/0xb*(parseInt(_0x18c0a8(0x169))/0xc);if(_0x12d2ee===_0x484bee)break;else _0x199bfd['push'](_0x199bfd['shift']());}catch(_0x4e4b13){_0x199bfd['push'](_0x199bfd['shift']());}}}(a97_0x1680,0xc7df8));const path=require('path'),util=require(a97_0x368b6b(0x137)),crypto=require('crypto'),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require(a97_0x368b6b(0x118))[a97_0x368b6b(0x115)],{o11yClassErrorHandler}=require(a97_0x368b6b(0x130)),TestInfo=require(a97_0x368b6b(0x19a)),{failureData,getFailureType}=require(a97_0x368b6b(0x15f)),stackTrace=require(a97_0x368b6b(0x124)),a97_0x59df00={};function a97_0xef9f(_0x16f7ac,_0x4c5a29){const _0x16809c=a97_0x1680();return a97_0xef9f=function(_0xef9f04,_0x414f91){_0xef9f04=_0xef9f04-0xff;let _0x3aa071=_0x16809c[_0xef9f04];return _0x3aa071;},a97_0xef9f(_0x16f7ac,_0x4c5a29);}function a97_0x1680(){const _0x2ca730=['createHash','TcQEe','now','util','clearHooksMap','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','TestRunSkipped','stack','failed','dZFxD','hpRwP','YxYcA','substring','hook','currentTest','SifDI','startedAt','Oopuz','getHookRunEventData','VuDFn','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','8BGBQRJ','jhLAK','errorsDetailed','udDNN','fullName','toString','sbTfQ','TestRunFinished','gOsgp','browserstack-node-agent/src/bin/jest','afterEach','BEFORE_ALL','KMkzS','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','relative','__jestCurrentTestIdentifier','kTmND','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','pending','jiNbP','MPSTg','jest-circus','../../../helpers/test-observability/utils','xqruU','kvcEn','AFTER_EACH','cUeCK','dNwPR','gxARh','SBtTI','getTestIdentifier','dAFEd','348qOGCNE','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','displayName','8HCHnqK','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','backtrace','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','KwzPS','includes','split','length','finishedAt','Unknown\x20Test','wLPhy','[jestUtils]\x20Created\x20identifier:\x20','eTkNc','errors','update','HookRunStarted','parent','configureGit','nlLZd','javascript','jLEvd','eKQgn','testAnalyticsId','QyIoO','failure_type','afterAll','recreateIdentifierFromTestInfo','getName','TDvxo','err','extractTestFilePath','1431PSDxuk','result','wrnak','AFTER_ALL','7206750GLWXOJ','match','isJestInternalHook','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','iJvre','\x20from\x20compositeKey:\x20','_gitConfigured','duration','getState','2249427ErTRus','Jeqzq','../TestInfo.js','getFileName','push','Exception\x20in\x20getHookRunEventData:\x20','beforeEach','getTime','call','274330qSrMsj','failure_data','JuEqf','find','RShRR','type','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','nAPgP','failure',':jest-','oRhJg','failure_reason','NlVQO','test','format','FcqVn','failure_reason_expanded','skPmx','createIdentifierFromJestTest','name','LZiMH','error','createHookData','passed',',\x20testRunId:\x20','BEFORE_EACH','46790HFHqdh','QUjCc','zCSAl','jest','toISOString','syYqr','file','createJestTestIdentifier','inspect','getHierarchy','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','asyncError','MXtPn',',\x20testIdentifier:\x20','ayOxI','150TZphwH','beforeAll','hooks','4915PjUEMR','toUpperCase','_gitConfigPath','exports','md5','winstonLogger','Exception\x20in\x20createHookData:\x20','getRootParentFile','../../../helpers/logger.js','fuWXz','7391951GKcKBY','yyvjM','started_at','apply','testIdentifier','title','unknown','reverse','debug','testPath','stack-trace','ROOT_DESCRIBE_BLOCK','uiyiP','laPmJ','parse','File\x20path\x20could\x20not\x20be\x20found','pid','failure_backtrace','WVEkk','1066263ImUXRE','skipped','RcrHg','../../../helpers/test-observability/error-handler.js','finished_at',',\x20hookUUID:\x20','[jestUtils]\x20Error\x20creating\x20identifier:\x20'];a97_0x1680=function(){return _0x2ca730;};return a97_0x1680();}a97_0x59df00[a97_0x368b6b(0x10e)]=a97_0x368b6b(0x154),a97_0x59df00[a97_0x368b6b(0x185)]=a97_0x368b6b(0x18e),a97_0x59df00[a97_0x368b6b(0x19e)]=a97_0x368b6b(0x1ba),a97_0x59df00[a97_0x368b6b(0x153)]=a97_0x368b6b(0x162);const HOOK_TYPES_MAP=a97_0x59df00,hooksMap={};class JestUtils{constructor(){const _0x3ef7cc=a97_0x368b6b;this['_gitConfigured']=![],this[_0x3ef7cc(0x112)]=null;}async['createTestFrameworkData'](_0x37f898,_0x5d6e3e,_0x285875=a97_0x368b6b(0x150),_0x51ada2=undefined){const _0x40caea=a97_0x368b6b,_0x5b6f7b={'MPSTg':_0x40caea(0x16d),'eKQgn':_0x40caea(0x15e),'zCSAl':function(_0x4ea990,_0x4ea255){return _0x4ea990||_0x4ea255;},'cUeCK':_0x40caea(0x129),'WVEkk':function(_0x17c20d,_0x8e6d04){return _0x17c20d!==_0x8e6d04;},'yyvjM':'test','DjQXU':_0x40caea(0x189),'LZiMH':function(_0x9541ed,_0x39b0ca){return _0x9541ed!==_0x39b0ca;},'udDNN':'pending','KMkzS':function(_0x296fec,_0xc4edef){return _0x296fec===_0xc4edef;},'eTkNc':_0x40caea(0x13a),'KqaeW':_0x40caea(0x12e),'YxYcA':function(_0x3ca628,_0x3eccf7){return _0x3ca628>_0x3eccf7;},'MXtPn':_0x40caea(0x13c),'PmPky':_0x40caea(0x1b8),'TBnxb':function(_0x51a852,_0x26670d){return _0x51a852-_0x26670d;},'FcqVn':_0x40caea(0x17f),'dZFxD':_0x40caea(0x101),'vvqwu':function(_0x31854b,_0xf89a76){return _0x31854b(_0xf89a76);},'laPmJ':function(_0x3c2f20,_0x4971c5){return _0x3c2f20===_0x4971c5;},'jLEvd':_0x40caea(0x150),'dAFEd':function(_0x496a8f,_0x2639dc){return _0x496a8f===_0x2639dc;}};logger['debug']('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x285875+_0x40caea(0x10b)+_0x5d6e3e);try{if(!_0x37f898)return logger['debug'](_0x5b6f7b[_0x40caea(0x15d)]),null;if(_0x37f898['fn']&&_0x37f898['fn'][_0x40caea(0x14e)]()[_0x40caea(0x190)](/browserstack internal helper hook/))return null;await this[_0x40caea(0x17d)]();let _0x5d1e05;try{_0x5d1e05=this[_0x40caea(0x117)](_0x37f898);if(_0x5d1e05&&_0x5d1e05[_0x40caea(0x171)](_0x5b6f7b[_0x40caea(0x181)]))return null;}catch(_0x3b10d2){logger[_0x40caea(0x122)](_0x40caea(0x16f)+util[_0x40caea(0x1af)](_0x3b10d2)),_0x5d1e05=null;}const _0x3771aa=this[_0x40caea(0x107)](_0x37f898),_0x1b2050=this[_0x40caea(0x187)](_0x37f898),_0x4af0f7=_0x5b6f7b[_0x40caea(0x100)](_0x5d1e05,_0x5b6f7b[_0x40caea(0x163)]);let _0x519be8=[];const _0xc4babb=_0x37f898[_0x40caea(0x14b)]||_0x37f898[_0x40caea(0x179)];if(_0x5b6f7b[_0x40caea(0x12c)](_0xc4babb,undefined))_0x519be8=[_0xc4babb,_0x5b6f7b[_0x40caea(0x11b)]];else _0x5b6f7b[_0x40caea(0x12c)](_0x51ada2,undefined)&&(_0x519be8=[_0x51ada2,_0x5b6f7b['DjQXU']]);const _0x3b01a8=_0x5b6f7b[_0x40caea(0x1b5)](_0xc4babb,undefined)?util[_0x40caea(0x106)](_0xc4babb[0x0]):_0x5b6f7b[_0x40caea(0x12c)](_0x51ada2,undefined)?_0x51ada2[_0x40caea(0x14e)]():undefined;let _0x1d2751=_0x5b6f7b[_0x40caea(0x14c)];if(_0x5b6f7b[_0x40caea(0x155)](_0x285875,_0x5b6f7b[_0x40caea(0x178)]))_0x1d2751=_0x5b6f7b['KqaeW'];else _0xc4babb&&_0x5b6f7b['YxYcA'](_0xc4babb[_0x40caea(0x173)],0x0)?_0x1d2751=_0x5b6f7b[_0x40caea(0x10a)]:_0x1d2751=_0x5b6f7b['PmPky'];let _0x312f7d=null;if(_0x5b6f7b[_0x40caea(0x12c)](_0x37f898['duration'],undefined))_0x312f7d=_0x37f898[_0x40caea(0x196)];else(_0x285875['match'](/Finished/)||_0x285875[_0x40caea(0x190)](/Skipped/))&&(_0x37f898[_0x40caea(0x11c)]&&(_0x312f7d=_0x5b6f7b['TBnxb'](Date[_0x40caea(0x136)](),new Date(_0x37f898[_0x40caea(0x11c)])[_0x40caea(0x19f)]())));const _0x132962=_0x37f898['fn']?_0x37f898['fn'][_0x40caea(0x14e)]():null,_0x5bf1eb={'id':_0x5d6e3e,'uuid':_0x5d6e3e,'startedAt':_0x37f898[_0x40caea(0x11c)]||new Date()[_0x40caea(0x102)](),'finishedAt':_0x285875[_0x40caea(0x190)](/Finished/)||_0x285875['match'](/Skipped/)?new Date()['toISOString']():null,'type':_0x5b6f7b[_0x40caea(0x11b)],'body':{'lang':_0x5b6f7b[_0x40caea(0x1b0)],'code':_0x132962},'name':_0x1b2050,'errorsDetailed':_0x5b6f7b[_0x40caea(0x13f)](_0xc4babb?.[_0x40caea(0x173)],0x0)?_0xc4babb[0x0]:_0xc4babb?_0xc4babb:undefined,'scopes':_0x3771aa,'file_name':_0x4af0f7,'location':_0x4af0f7,'vc_filepath':this[_0x40caea(0x112)]&&_0x5d1e05?path[_0x40caea(0x157)](this['_gitConfigPath'],_0x5d1e05):null,'framework':_0x5b6f7b[_0x40caea(0x13d)],'result':_0x1d2751,'failure_reason':_0x3b01a8,'duration_in_ms':_0x312f7d,'failure':failureData[_0x40caea(0x11d)](null,_0x519be8),'failure_type':!_0x3b01a8?null:_0x5b6f7b['vvqwu'](getFailureType,_0x3b01a8),'retry_of':_0x37f898['retryOf']||null,'customRerunParam':{'rerun_name':_0x1b2050}};_0x5b6f7b['KMkzS'](_0x285875,_0x5b6f7b[_0x40caea(0x178)])&&!_0x5bf1eb[_0x40caea(0x144)]&&(_0x5bf1eb[_0x40caea(0x144)]=_0x5bf1eb[_0x40caea(0x174)]);const _0x54bc80=_0x5bf1eb['failure']&&_0x5bf1eb[_0x40caea(0x1a9)][0x0];return _0x54bc80&&(_0x5bf1eb[_0x40caea(0x12b)]=_0x54bc80[_0x40caea(0x16e)],_0x5bf1eb[_0x40caea(0x1b1)]=_0x54bc80['expanded']),(_0x5b6f7b[_0x40caea(0x127)](_0x285875,_0x5b6f7b[_0x40caea(0x180)])||_0x5b6f7b[_0x40caea(0x168)](_0x285875,_0x5b6f7b[_0x40caea(0x178)]))&&(_0x37f898[_0x40caea(0x10f)]&&(_0x5bf1eb[_0x40caea(0x10f)]=_0x37f898[_0x40caea(0x10f)])),_0x5bf1eb;}catch(_0x20d275){return logger[_0x40caea(0x122)]('Exception\x20in\x20createTestFrameworkData:\x20'+util[_0x40caea(0x1af)](_0x20d275)),null;}}async[a97_0x368b6b(0x1b7)](_0x5a0c65,_0xd5f579,_0x503190,_0x126e6a){const _0x388a7b=a97_0x368b6b,_0x46410a={'ScKVJ':'No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','xfEVQ':'jest-circus','TcQEe':_0x388a7b(0x152),'nlLZd':_0x388a7b(0x120),'IYwTr':_0x388a7b(0x15b),'skPmx':function(_0x29a968,_0x42aadc){return _0x29a968===_0x42aadc;},'RShRR':'HookRunFinished','gOsgp':function(_0x1b8a53,_0x2ef9e1){return _0x1b8a53>_0x2ef9e1;},'JuEqf':_0x388a7b(0x13c),'sbTfQ':function(_0x1e5082,_0x1889f7){return _0x1e5082(_0x1889f7);},'jhLAK':'test','oRhJg':_0x388a7b(0x1b8),'fuWXz':_0x388a7b(0x141),'SifDI':_0x388a7b(0x17f),'KwzPS':_0x388a7b(0x101),'wrnak':_0x388a7b(0x17b)};logger[_0x388a7b(0x122)]('Creating\x20hook\x20data\x20for\x20eventType:\x20'+_0x503190+_0x388a7b(0x132)+_0xd5f579+_0x388a7b(0x1b9)+_0x126e6a);try{if(!_0x5a0c65)return logger[_0x388a7b(0x122)](_0x46410a['ScKVJ']),null;if(this['isJestInternalHook'](_0x5a0c65))return null;await this[_0x388a7b(0x17d)]();let _0x28c2da=null;try{_0x28c2da=this[_0x388a7b(0x117)](_0x5a0c65);if(_0x28c2da&&_0x28c2da['includes'](_0x46410a['xfEVQ']))return null;if(_0x28c2da&&_0x28c2da['includes'](_0x46410a[_0x388a7b(0x135)]))return null;}catch(_0x557f1c){logger['debug'](_0x388a7b(0x15a)+util[_0x388a7b(0x1af)](_0x557f1c));}const _0x469a62=this['getName'](_0x5a0c65),_0x511650=_0x5a0c65[_0x388a7b(0x1a6)]||_0x46410a[_0x388a7b(0x17e)],_0x23a0fe=HOOK_TYPES_MAP[_0x511650]||_0x511650[_0x388a7b(0x111)](),_0x172ace=_0x5a0c65['parent']&&_0x5a0c65[_0x388a7b(0x17c)][_0x388a7b(0x1b4)]?_0x5a0c65[_0x388a7b(0x17c)][_0x388a7b(0x1b4)]:'';let _0x22447c=_0x46410a['IYwTr'],_0x411c56=null,_0x592b77=null,_0x59bb3a=null,_0x4e94f5=null;_0x46410a[_0x388a7b(0x1b2)](_0x503190,_0x46410a[_0x388a7b(0x1a5)])&&(_0x4e94f5=new Date()['toISOString'](),_0x5a0c65[_0x388a7b(0x14b)]&&_0x46410a[_0x388a7b(0x151)](_0x5a0c65[_0x388a7b(0x14b)][_0x388a7b(0x173)],0x0)?(_0x22447c=_0x46410a[_0x388a7b(0x1a3)],_0x592b77=util[_0x388a7b(0x106)](_0x5a0c65['errorsDetailed'][0x0]),_0x411c56=_0x46410a[_0x388a7b(0x14f)](getFailureType,_0x592b77),_0x59bb3a=failureData[_0x388a7b(0x11d)](null,[_0x5a0c65[_0x388a7b(0x14b)],_0x46410a[_0x388a7b(0x14a)]])):_0x22447c=_0x46410a[_0x388a7b(0x1ab)]);const _0xe503a9={'uuid':_0xd5f579,'type':_0x46410a[_0x388a7b(0x119)],'hook_type':_0x23a0fe,'name':_0x469a62,'body':{'lang':_0x46410a[_0x388a7b(0x143)],'code':_0x5a0c65['fn']?_0x5a0c65['fn'][_0x388a7b(0x14e)]():null},'tags':[],'test_run_id':_0x126e6a,'scope':_0x172ace,'scopes':[_0x172ace],'file_name':_0x28c2da,'location':_0x28c2da,'vc_filepath':this[_0x388a7b(0x112)]&&_0x28c2da?path[_0x388a7b(0x157)](this[_0x388a7b(0x112)],_0x28c2da):null,'result':_0x22447c,'started_at':_0x5a0c65[_0x388a7b(0x11c)]||new Date()[_0x388a7b(0x102)](),'finished_at':_0x4e94f5,'failure_type':_0x411c56,'failure_reason':_0x592b77,'failure_data':_0x59bb3a,'framework':_0x46410a[_0x388a7b(0x170)]};return _0x46410a[_0x388a7b(0x1b2)](_0x503190,_0x46410a[_0x388a7b(0x18d)])&&(hooksMap[_0x126e6a]?hooksMap[_0x126e6a][_0x388a7b(0x19c)](_0xe503a9):hooksMap[_0x126e6a]=[_0xe503a9]),_0xe503a9;}catch(_0x12a0af){return logger[_0x388a7b(0x122)](_0x388a7b(0x116)+util[_0x388a7b(0x1af)](_0x12a0af)),null;}}[a97_0x368b6b(0x146)](_0x4ffad0,_0x44439d,_0x490660){const _0x6db1bc=a97_0x368b6b,_0x1d07a8={'Jeqzq':function(_0x40c721,_0x212dab){return _0x40c721>_0x212dab;},'QYxQm':'failed','RcrHg':function(_0x20cf7b,_0x201d07){return _0x20cf7b(_0x201d07);},'ayOxI':'test','QUjCc':_0x6db1bc(0x1b8)};try{const _0x247292=hooksMap[_0x4ffad0];if(!_0x247292)return null;const _0x52eb99=_0x247292[_0x6db1bc(0x1a4)](_0x326085=>_0x326085['uuid']===_0x44439d);if(!_0x52eb99)return null;return _0x52eb99[_0x6db1bc(0x131)]=new Date()[_0x6db1bc(0x102)](),_0x490660[_0x6db1bc(0x14b)]&&_0x1d07a8[_0x6db1bc(0x199)](_0x490660[_0x6db1bc(0x14b)][_0x6db1bc(0x173)],0x0)?(_0x52eb99['result']=_0x1d07a8['QYxQm'],_0x52eb99[_0x6db1bc(0x1ac)]=util[_0x6db1bc(0x106)](_0x490660['errorsDetailed'][0x0]),_0x52eb99[_0x6db1bc(0x184)]=_0x1d07a8[_0x6db1bc(0x12f)](getFailureType,_0x52eb99['failure_reason']),_0x52eb99[_0x6db1bc(0x1a2)]=failureData[_0x6db1bc(0x11d)](null,[_0x490660[_0x6db1bc(0x14b)],_0x1d07a8[_0x6db1bc(0x10c)]])):_0x52eb99[_0x6db1bc(0x18c)]=_0x1d07a8[_0x6db1bc(0xff)],_0x52eb99;}catch(_0x5945c7){return logger[_0x6db1bc(0x122)](_0x6db1bc(0x19d)+util[_0x6db1bc(0x1af)](_0x5945c7)),null;}}[a97_0x368b6b(0x187)](_0x52357f){const _0x4c87d6=a97_0x368b6b,_0x320de6={};_0x320de6['rSgsq']=function(_0x522aa7,_0x153242){return _0x522aa7!==_0x153242;},_0x320de6[_0x4c87d6(0x166)]=_0x4c87d6(0x1ae),_0x320de6[_0x4c87d6(0x176)]=_0x4c87d6(0x175);const _0x3b455e=_0x320de6;if(_0x3b455e['rSgsq'](_0x52357f[_0x4c87d6(0x1a6)],_0x3b455e[_0x4c87d6(0x166)]))return'\x22'+_0x52357f[_0x4c87d6(0x1a6)]+'\x22\x20hook\x20for\x20\x22'+(_0x52357f['parent']&&_0x52357f[_0x4c87d6(0x17c)]['name'])+'\x22';return _0x52357f[_0x4c87d6(0x1b4)]||_0x3b455e['wLPhy'];}[a97_0x368b6b(0x107)](_0x5151dc){const _0x59b3f4=a97_0x368b6b,_0x42258f={};_0x42258f[_0x59b3f4(0x160)]=function(_0x19bb4d,_0x178482){return _0x19bb4d!==_0x178482;},_0x42258f[_0x59b3f4(0x145)]=_0x59b3f4(0x125);const _0x4c608f=_0x42258f,_0x55f431=[];if(_0x5151dc&&_0x5151dc[_0x59b3f4(0x17c)]){let _0x40b7a7=_0x5151dc['parent'];while(_0x40b7a7&&_0x40b7a7[_0x59b3f4(0x1b4)]&&_0x4c608f[_0x59b3f4(0x160)](_0x40b7a7[_0x59b3f4(0x1b4)],'')&&_0x4c608f[_0x59b3f4(0x160)](_0x40b7a7[_0x59b3f4(0x1b4)],_0x4c608f[_0x59b3f4(0x145)])){_0x55f431[_0x59b3f4(0x19c)](_0x40b7a7[_0x59b3f4(0x1b4)]),_0x40b7a7=_0x40b7a7[_0x59b3f4(0x17c)];}}return _0x55f431[_0x59b3f4(0x121)](),_0x55f431;}[a97_0x368b6b(0x117)](_0x56dc2d){const _0x2f9ae1=a97_0x368b6b;if(_0x56dc2d[_0x2f9ae1(0x109)])try{const _0x32ac6a=stackTrace['parse'][_0x2f9ae1(0x1a0)](stackTrace,_0x56dc2d[_0x2f9ae1(0x109)]);if(_0x32ac6a[0x0]&&_0x32ac6a[0x0][_0x2f9ae1(0x19b)])return _0x32ac6a[0x0][_0x2f9ae1(0x19b)]();}catch(_0x4bbf92){logger[_0x2f9ae1(0x122)]('Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util['format'](_0x4bbf92));}if(_0x56dc2d[_0x2f9ae1(0x104)])return _0x56dc2d['file'];return null;}[a97_0x368b6b(0x191)](_0x4dc122){const _0xe214ed=a97_0x368b6b,_0x53b18e={};_0x53b18e['FQSay']=_0xe214ed(0x15e),_0x53b18e[_0xe214ed(0x159)]=function(_0x5e0ea0,_0x118608){return _0x5e0ea0===_0x118608;},_0x53b18e['NlVQO']=_0xe214ed(0x125);const _0x3c1d0d=_0x53b18e;try{const _0x275182=this[_0xe214ed(0x117)](_0x4dc122);if(_0x275182&&_0x275182['includes'](_0x3c1d0d['FQSay']))return!![];if(!_0x275182){const _0x4b5814=_0x4dc122[_0xe214ed(0x17c)]&&_0x4dc122['parent']['name'];if(_0x3c1d0d['kTmND'](_0x4b5814,_0x3c1d0d[_0xe214ed(0x1ad)]))return!![];}}catch(_0x4c07c1){logger[_0xe214ed(0x122)](_0xe214ed(0x192)+util['format'](_0x4c07c1));}return![];}[a97_0x368b6b(0x167)](_0x4c9a4a=null){const _0x14af1b=a97_0x368b6b;try{const _0x4b2b51=_0x4c9a4a||global['__workerDetails']||{};if(global[_0x14af1b(0x158)])return global['__jestCurrentTestIdentifier'];if(_0x4b2b51?.[_0x14af1b(0x142)]?.[_0x14af1b(0x182)])return _0x4b2b51[_0x14af1b(0x142)]['testAnalyticsId'];if(_0x4b2b51?.[_0x14af1b(0x142)]?.['id'])return _0x4b2b51[_0x14af1b(0x142)]['id'];return null;}catch(_0x4b2410){return logger[_0x14af1b(0x122)](_0x14af1b(0x108)+util[_0x14af1b(0x1af)](_0x4b2410)),null;}}async[a97_0x368b6b(0x17d)](){const _0x1cfee2=a97_0x368b6b,_0x1266d2={'QyIoO':function(_0x534478){return _0x534478();}};if(this[_0x1cfee2(0x195)])return this[_0x1cfee2(0x112)];const _0x569ae3=await _0x1266d2[_0x1cfee2(0x183)](getGitMetaData);_0x569ae3&&(this[_0x1cfee2(0x112)]=_0x569ae3['root']),this[_0x1cfee2(0x195)]=!![];}[a97_0x368b6b(0x138)](_0x11d91d){hooksMap[_0x11d91d]&&delete hooksMap[_0x11d91d];}[a97_0x368b6b(0x18a)](_0x3fbf56){const _0x55ddcb=a97_0x368b6b,_0x2b1ac7={'iJvre':_0x55ddcb(0x15e),'dNwPR':function(_0x1af65e,_0x57941f){return _0x1af65e(_0x57941f);},'kvcEn':'expect'};if(_0x3fbf56['file'])return _0x3fbf56[_0x55ddcb(0x104)];if(_0x3fbf56['asyncError']){try{const _0x5beb1f=stackTrace[_0x55ddcb(0x128)](_0x3fbf56[_0x55ddcb(0x109)]);if(_0x5beb1f[0x0]&&_0x5beb1f[0x0]['getFileName']){const _0x4321a4=_0x5beb1f[0x0][_0x55ddcb(0x19b)]();if(_0x4321a4&&!_0x4321a4['includes'](_0x2b1ac7['iJvre']))return _0x4321a4;}}catch(_0x1011d1){logger['debug'](_0x55ddcb(0x16a)+util[_0x55ddcb(0x1af)](_0x1011d1));}if(_0x3fbf56['asyncError'][_0x55ddcb(0x13b)]){const _0x45b435=_0x3fbf56[_0x55ddcb(0x109)][_0x55ddcb(0x13b)]['split']('\x0a');for(const _0x207903 of _0x45b435){const _0x41f607=_0x207903[_0x55ddcb(0x190)](/at (.+?):\d+:\d+/);if(_0x41f607&&_0x41f607[0x1]&&!_0x41f607[0x1][_0x55ddcb(0x171)](_0x2b1ac7['iJvre']))return _0x41f607[0x1];}}}let _0x3602c3=_0x3fbf56[_0x55ddcb(0x17c)];while(_0x3602c3){if(_0x3602c3['file'])return _0x3602c3[_0x55ddcb(0x104)];if(_0x3602c3['asyncError'])try{const _0x2b1d85=stackTrace[_0x55ddcb(0x128)](_0x3602c3['asyncError']);if(_0x2b1d85[0x0]&&_0x2b1d85[0x0]['getFileName']){const _0x96f675=_0x2b1d85[0x0][_0x55ddcb(0x19b)]();if(_0x96f675&&!_0x96f675[_0x55ddcb(0x171)](_0x2b1ac7[_0x55ddcb(0x193)]))return _0x96f675;}}catch(_0x49d04c){}_0x3602c3=_0x3602c3[_0x55ddcb(0x17c)];}try{const _0x4dddae=_0x2b1ac7[_0x55ddcb(0x164)](require,_0x2b1ac7[_0x55ddcb(0x161)]);if(_0x4dddae&&_0x4dddae['getState']){const _0x5d87aa=_0x4dddae[_0x55ddcb(0x197)]();if(_0x5d87aa&&_0x5d87aa[_0x55ddcb(0x123)])return _0x5d87aa[_0x55ddcb(0x123)];}}catch(_0x18c625){logger['debug'](_0x55ddcb(0x139)+util[_0x55ddcb(0x1af)](_0x18c625));}return null;}['createJestTestIdentifier'](_0x1cdca9){const _0x5cdc1f=a97_0x368b6b,_0x4b7e01={};_0x4b7e01['nAPgP']=_0x5cdc1f(0x148),_0x4b7e01[_0x5cdc1f(0x103)]=function(_0x1cec86,_0x5f8990){return _0x1cec86!==_0x5f8990;},_0x4b7e01[_0x5cdc1f(0x126)]=_0x5cdc1f(0x125),_0x4b7e01[_0x5cdc1f(0x188)]=_0x5cdc1f(0x15e),_0x4b7e01['jiNbP']=_0x5cdc1f(0x114),_0x4b7e01[_0x5cdc1f(0x165)]='hex';const _0x35b339=_0x4b7e01;try{if(!_0x1cdca9)return logger['error'](_0x35b339[_0x5cdc1f(0x1a8)]),null;const _0x131b5d=_0x1cdca9[_0x5cdc1f(0x14d)]||_0x1cdca9['name']||_0x1cdca9[_0x5cdc1f(0x11f)]||_0x1cdca9[_0x5cdc1f(0x16b)];let _0x44887e=_0x131b5d;if(_0x1cdca9[_0x5cdc1f(0x17c)]&&_0x1cdca9[_0x5cdc1f(0x17c)][_0x5cdc1f(0x1b4)]&&_0x35b339['syYqr'](_0x1cdca9[_0x5cdc1f(0x17c)][_0x5cdc1f(0x1b4)],_0x35b339[_0x5cdc1f(0x126)])){const _0x4b9e71=_0x1cdca9[_0x5cdc1f(0x1b4)]||_0x1cdca9[_0x5cdc1f(0x11f)];_0x4b9e71&&(_0x44887e=_0x1cdca9[_0x5cdc1f(0x17c)][_0x5cdc1f(0x1b4)]+'\x20'+_0x4b9e71);}let _0x8f9f0a=_0x1cdca9['testPath'];if(!_0x8f9f0a&&_0x1cdca9[_0x5cdc1f(0x109)]){try{const _0x3db9ca=stackTrace[_0x5cdc1f(0x128)](_0x1cdca9[_0x5cdc1f(0x109)]);if(_0x3db9ca[0x0]&&_0x3db9ca[0x0][_0x5cdc1f(0x19b)]){const _0xec2766=_0x3db9ca[0x0][_0x5cdc1f(0x19b)]();_0xec2766&&!_0xec2766[_0x5cdc1f(0x171)](_0x35b339[_0x5cdc1f(0x188)])&&(_0x8f9f0a=_0xec2766);}}catch(_0x59356d){logger['debug'](_0x5cdc1f(0x16a)+util[_0x5cdc1f(0x1af)](_0x59356d));}if(!_0x8f9f0a&&_0x1cdca9[_0x5cdc1f(0x109)]['stack']){const _0x5eebc7=_0x1cdca9[_0x5cdc1f(0x109)][_0x5cdc1f(0x13b)][_0x5cdc1f(0x172)]('\x0a');for(const _0x3a5217 of _0x5eebc7){const _0x8d5a2=_0x3a5217[_0x5cdc1f(0x190)](/at (.+?):\d+:\d+/);if(_0x8d5a2&&_0x8d5a2[0x1]&&!_0x8d5a2[0x1][_0x5cdc1f(0x171)](_0x35b339['TDvxo'])){_0x8f9f0a=_0x8d5a2[0x1];break;}}}}const _0x298b1e=_0x8f9f0a+'::'+_0x44887e,_0x4c8dd2=crypto[_0x5cdc1f(0x134)](_0x35b339[_0x5cdc1f(0x15c)])[_0x5cdc1f(0x17a)](_0x298b1e)['digest'](_0x35b339[_0x5cdc1f(0x165)])[_0x5cdc1f(0x140)](0x0,0x8),_0x3758c7=process[_0x5cdc1f(0x12a)]+_0x5cdc1f(0x1aa)+_0x4c8dd2;return logger[_0x5cdc1f(0x122)](_0x5cdc1f(0x177)+_0x3758c7+_0x5cdc1f(0x194)+_0x298b1e),_0x3758c7;}catch(_0x4d09e4){return logger[_0x5cdc1f(0x1b6)](_0x5cdc1f(0x133)+util[_0x5cdc1f(0x1af)](_0x4d09e4)),null;}}['createIdentifierFromJestTest'](_0x3d2fd2){const _0x1255aa=a97_0x368b6b,_0x3b1d8c={};_0x3b1d8c[_0x1255aa(0x13e)]='[jestUtils]\x20No\x20test\x20object\x20provided';const _0x2e603a=_0x3b1d8c;if(!_0x3d2fd2)return logger[_0x1255aa(0x122)](_0x2e603a[_0x1255aa(0x13e)]),null;const _0x5e2423=this['extractTestFilePath'](_0x3d2fd2),_0x17fcde={};_0x17fcde[_0x1255aa(0x1b4)]=_0x3d2fd2[_0x1255aa(0x1b4)]||_0x3d2fd2[_0x1255aa(0x11f)],_0x17fcde[_0x1255aa(0x17c)]=_0x3d2fd2[_0x1255aa(0x17c)],_0x17fcde[_0x1255aa(0x123)]=_0x5e2423,_0x17fcde[_0x1255aa(0x109)]=_0x3d2fd2[_0x1255aa(0x109)];const _0x245685=_0x17fcde;return this['createJestTestIdentifier'](_0x245685);}[a97_0x368b6b(0x186)](_0x4b911a,_0x1dcd1f=null){const _0x2d5607=a97_0x368b6b,_0x327529={};_0x327529[_0x2d5607(0x147)]=_0x2d5607(0x1a7);const _0x17644=_0x327529;if(!_0x4b911a)return logger[_0x2d5607(0x122)](_0x17644[_0x2d5607(0x147)]),_0x1dcd1f;if(_0x4b911a[_0x2d5607(0x11e)])return logger[_0x2d5607(0x122)](_0x2d5607(0x156)+_0x4b911a[_0x2d5607(0x11e)]),_0x4b911a[_0x2d5607(0x11e)];return this[_0x2d5607(0x105)](_0x4b911a)||_0x1dcd1f;}}module[a97_0x368b6b(0x113)]=o11yClassErrorHandler(JestUtils,[a97_0x368b6b(0x17d),a97_0x368b6b(0x107),a97_0x368b6b(0x117),a97_0x368b6b(0x187),a97_0x368b6b(0x191),a97_0x368b6b(0x167),'createTestFrameworkData',a97_0x368b6b(0x1b7),a97_0x368b6b(0x146),a97_0x368b6b(0x138),a97_0x368b6b(0x18a),'createJestTestIdentifier',a97_0x368b6b(0x1b3),'recreateIdentifierFromTestInfo']);
|
|
1
|
+
const a97_0x345dac=a97_0xe48a;(function(_0x5e1e26,_0x949ff9){const _0x20ae52=a97_0xe48a,_0x106517=_0x5e1e26();while(!![]){try{const _0x2f988a=-parseInt(_0x20ae52(0x102))/0x1*(-parseInt(_0x20ae52(0x141))/0x2)+-parseInt(_0x20ae52(0xff))/0x3+parseInt(_0x20ae52(0x91))/0x4*(-parseInt(_0x20ae52(0x120))/0x5)+-parseInt(_0x20ae52(0x138))/0x6*(-parseInt(_0x20ae52(0xce))/0x7)+parseInt(_0x20ae52(0xdc))/0x8*(parseInt(_0x20ae52(0xdf))/0x9)+parseInt(_0x20ae52(0x106))/0xa+-parseInt(_0x20ae52(0xbb))/0xb;if(_0x2f988a===_0x949ff9)break;else _0x106517['push'](_0x106517['shift']());}catch(_0x40604f){_0x106517['push'](_0x106517['shift']());}}}(a97_0x2e46,0xca661));const path=require(a97_0x345dac(0xc5)),util=require(a97_0x345dac(0xb0)),crypto=require(a97_0x345dac(0xf2)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a97_0x345dac(0x134)),logger=require(a97_0x345dac(0xea))[a97_0x345dac(0xb5)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a97_0x345dac(0xfb)),{failureData,getFailureType}=require(a97_0x345dac(0xe9)),stackTrace=require(a97_0x345dac(0xbe)),a97_0x1ac05f={};function a97_0x2e46(){const _0x27e195=['path','getHierarchy','afterAll','test','Failed\x20to\x20get\x20root\x20parent\x20file:\x20',',\x20testRunId:\x20','NFhJq','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','errorsDetailed','6048zDiGFF','failure_data','jest','EWcED','testIdentifier','mpLWT','hooks','APOnq','format','__jestCurrentTestIdentifier','displayName','finishedAt','failure_type','bNLAj','10592WtfKRB','skipped','pending','7713bbATje','parent','CAsBi','NsYFI','OEbGh','afterEach','\x20from\x20compositeKey:\x20','getFileName','mWxKi','apply','../../../helpers/test-observability/utils','../../../helpers/logger.js','toUpperCase','TJDzG','Exception\x20in\x20createTestFrameworkData:\x20','LKvOq','clearHooksMap','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','createJestTestIdentifier','crypto','TgDAA','Unknown\x20Test','Creating\x20hook\x20data\x20for\x20eventType:\x20','xFKMR','exports','testPath','Exception\x20in\x20getHookRunEventData:\x20','cVSSi','../TestInfo.js','error','inspect','failure_reason','634989ZRdXXi','name','oTCAS','64567uMTctT','call','includes','configureGit','5574540QqjMLg','parse','oVowu','testAnalyticsId','Daqcd','VSLDq','errors','WgKNu','startedAt','debug','yoCtY','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','EfBiB','started_at','KFADc','AFTER_EACH','finished_at','CaaUI','find',',\x20testIdentifier:\x20','expect','isJestInternalHook','getRootParentFile','kjfny','hook','TestRunFinished','4381080tNNzUn','imnDp','IZjyj','rdUKb','ZDlqy','File\x20path\x20could\x20not\x20be\x20found','stack','\x22\x20hook\x20for\x20\x22','BEFORE_ALL','result','BEFORE_EACH','backtrace','javascript','OSogC','ZwctT','file','unknown','ONvID','browserstack-node-agent/src/bin/jest','push','../../../helpers/helper.js','eZxUb','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','PSWyT','3054FjydUo','WqvRl','md5','XzdbG','reverse','jKcxD','length','title','TwSUW','10fnevtT','4kwfgYI','TestRunSkipped','now','YsIyk','jest-circus','recreateIdentifierFromTestInfo','createIdentifierFromJestTest','getName','CoPwH','match','_gitConfigured','asyncError','_gitConfigPath','toISOString','split','duration','hgmVb','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','[jestUtils]\x20Created\x20identifier:\x20','ROOT_DESCRIBE_BLOCK','failure','IjvRq','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','update','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','beforeEach','getHookRunEventData','err','oKmtR','RikjE','passed','util','currentTest','failed','createHookData','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','winstonLogger','[jestUtils]\x20No\x20test\x20object\x20provided','KljkZ','IRmpC','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','type','5916119UDXukb','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','toString','stack-trace','relative','ChAch','YcOhv','ymzXz','getState','JsrGk'];a97_0x2e46=function(){return _0x27e195;};return a97_0x2e46();}a97_0x1ac05f['beforeAll']=a97_0x345dac(0x128),a97_0x1ac05f[a97_0x345dac(0xc7)]='AFTER_ALL',a97_0x1ac05f[a97_0x345dac(0xaa)]=a97_0x345dac(0x12a),a97_0x1ac05f[a97_0x345dac(0xe4)]=a97_0x345dac(0x115);const HOOK_TYPES_MAP=a97_0x1ac05f,hooksMap={};function a97_0xe48a(_0x1d8b9b,_0x56bd3d){const _0x2e46f7=a97_0x2e46();return a97_0xe48a=function(_0xe48a70,_0xe86036){_0xe48a70=_0xe48a70-0x91;let _0x5739f4=_0x2e46f7[_0xe48a70];return _0x5739f4;},a97_0xe48a(_0x1d8b9b,_0x56bd3d);}class JestUtils{constructor(){const _0x43cddc=a97_0x345dac;this[_0x43cddc(0x9b)]=![],this['_gitConfigPath']=null;}async['createTestFrameworkData'](_0x531904,_0x228b7b,_0x8861bd=a97_0x345dac(0x11f),_0x4262d1=undefined){const _0x30e906=a97_0x345dac,_0x575eb9={'bNLAj':'No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','CaaUI':'jest-circus','rdUKb':function(_0x5cbbbc,_0x3f6629){return _0x5cbbbc||_0x3f6629;},'wfYSA':_0x30e906(0x125),'OSogC':function(_0x59fb27,_0x1bf617){return _0x59fb27!==_0x1bf617;},'CAsBi':_0x30e906(0xc8),'oVowu':_0x30e906(0xac),'LKvOq':_0x30e906(0xde),'VSLDq':function(_0x1a7096,_0x34be04){return _0x1a7096===_0x34be04;},'CoPwH':_0x30e906(0x92),'PSWyT':_0x30e906(0xdd),'WgKNu':function(_0x4cb013,_0x56f3f8){return _0x4cb013>_0x56f3f8;},'ZYncu':_0x30e906(0xb2),'mWxKi':'passed','OQMkI':function(_0x73364f,_0x49bda5){return _0x73364f-_0x49bda5;},'lepHK':_0x30e906(0x12c),'EWcED':_0x30e906(0xd0),'mUeux':function(_0x4dacf9,_0x2a98c5){return _0x4dacf9(_0x2a98c5);},'Daqcd':function(_0x2a7baa,_0x525099){return _0x2a7baa===_0x525099;},'iAaxD':_0x30e906(0x11f)};logger[_0x30e906(0x10f)](_0x30e906(0xcc)+_0x8861bd+_0x30e906(0x119)+_0x228b7b);try{if(!_0x531904)return logger[_0x30e906(0x10f)](_0x575eb9[_0x30e906(0xdb)]),null;if(_0x531904['fn']&&_0x531904['fn'][_0x30e906(0xbd)]()[_0x30e906(0x9a)](/browserstack internal helper hook/))return null;await this[_0x30e906(0x105)]();let _0x539195;try{_0x539195=this[_0x30e906(0x11c)](_0x531904);if(_0x539195&&_0x539195['includes'](_0x575eb9[_0x30e906(0x117)]))return null;}catch(_0x1db55b){logger['debug'](_0x30e906(0xc9)+util['format'](_0x1db55b)),_0x539195=null;}const _0x20f061=this['getHierarchy'](_0x531904),_0x54911e=this[_0x30e906(0x98)](_0x531904),_0x27c324=_0x575eb9[_0x30e906(0x123)](_0x539195,_0x575eb9['wfYSA']);let _0x1711bb=[];const _0x7ad1cb=_0x531904[_0x30e906(0xcd)]||_0x531904[_0x30e906(0x10c)];if(_0x575eb9[_0x30e906(0x12d)](_0x7ad1cb,undefined))_0x1711bb=[_0x7ad1cb,_0x575eb9[_0x30e906(0xe1)]];else _0x575eb9[_0x30e906(0x12d)](_0x4262d1,undefined)&&(_0x1711bb=[_0x4262d1,_0x575eb9[_0x30e906(0x108)]]);const _0x41c4b9=_0x575eb9[_0x30e906(0x12d)](_0x7ad1cb,undefined)?util[_0x30e906(0xfd)](_0x7ad1cb[0x0]):_0x575eb9[_0x30e906(0x12d)](_0x4262d1,undefined)?_0x4262d1['toString']():undefined;let _0x4b987c=_0x575eb9[_0x30e906(0xee)];if(_0x575eb9[_0x30e906(0x10b)](_0x8861bd,_0x575eb9[_0x30e906(0x99)]))_0x4b987c=_0x575eb9[_0x30e906(0x137)];else _0x7ad1cb&&_0x575eb9[_0x30e906(0x10d)](_0x7ad1cb[_0x30e906(0x13e)],0x0)?_0x4b987c=_0x575eb9['ZYncu']:_0x4b987c=_0x575eb9[_0x30e906(0xe7)];let _0x183674=null;if(_0x575eb9['OSogC'](_0x531904[_0x30e906(0xa0)],undefined))_0x183674=_0x531904[_0x30e906(0xa0)];else(_0x8861bd[_0x30e906(0x9a)](/Finished/)||_0x8861bd['match'](/Skipped/))&&(_0x531904[_0x30e906(0x113)]&&(_0x183674=_0x575eb9['OQMkI'](Date[_0x30e906(0x93)](),new Date(_0x531904[_0x30e906(0x113)])['getTime']())));const _0x27f5c7=_0x531904['fn']?_0x531904['fn']['toString']():null,_0x581ed1={'id':_0x228b7b,'uuid':_0x228b7b,'startedAt':_0x531904[_0x30e906(0x113)]||new Date()['toISOString'](),'finishedAt':_0x8861bd[_0x30e906(0x9a)](/Finished/)||_0x8861bd[_0x30e906(0x9a)](/Skipped/)?new Date()[_0x30e906(0x9e)]():null,'type':_0x575eb9[_0x30e906(0xe1)],'body':{'lang':_0x575eb9['lepHK'],'code':_0x27f5c7},'name':_0x54911e,'errorsDetailed':_0x575eb9[_0x30e906(0x10d)](_0x7ad1cb?.[_0x30e906(0x13e)],0x0)?_0x7ad1cb[0x0]:_0x7ad1cb?_0x7ad1cb:undefined,'scopes':_0x20f061,'file_name':_0x27c324,'location':_0x27c324,'vc_filepath':this[_0x30e906(0x9d)]&&_0x539195?path['relative'](this[_0x30e906(0x9d)],_0x539195):null,'framework':_0x575eb9[_0x30e906(0xd1)],'result':_0x4b987c,'failure_reason':_0x41c4b9,'duration_in_ms':_0x183674,'failure':failureData['apply'](null,_0x1711bb),'failure_type':!_0x41c4b9?null:_0x575eb9['mUeux'](getFailureType,_0x41c4b9),'retry_of':_0x531904['retryOf']||null,'customRerunParam':{'rerun_name':_0x54911e}};_0x575eb9['VSLDq'](_0x8861bd,_0x575eb9[_0x30e906(0x99)])&&!_0x581ed1[_0x30e906(0x10e)]&&(_0x581ed1[_0x30e906(0x10e)]=_0x581ed1[_0x30e906(0xd9)]);const _0x2758bf=_0x581ed1['failure']&&_0x581ed1[_0x30e906(0xa5)][0x0];return _0x2758bf&&(_0x581ed1['failure_backtrace']=_0x2758bf[_0x30e906(0x12b)],_0x581ed1['failure_reason_expanded']=_0x2758bf['expanded']),(_0x575eb9[_0x30e906(0x10a)](_0x8861bd,_0x575eb9['iAaxD'])||_0x575eb9[_0x30e906(0x10a)](_0x8861bd,_0x575eb9[_0x30e906(0x99)]))&&(_0x531904[_0x30e906(0xd4)]&&(_0x581ed1[_0x30e906(0xd4)]=_0x531904['hooks'])),_0x581ed1;}catch(_0x2f8882){return logger[_0x30e906(0x10f)](_0x30e906(0xed)+util[_0x30e906(0xd6)](_0x2f8882)),null;}}async[a97_0x345dac(0xb3)](_0x4b34d8,_0xe67adc,_0x3dd24a,_0x21ff28){const _0x25847b=a97_0x345dac,_0x3726bc={'oLkLW':_0x25847b(0xb4),'QZnKu':_0x25847b(0x95),'oKmtR':_0x25847b(0x132),'QyjRP':_0x25847b(0x130),'ChAch':'pending','EfBiB':function(_0x34613f,_0xa8eca1){return _0x34613f===_0xa8eca1;},'YbrUH':'HookRunFinished','YcOhv':function(_0x337b3c,_0x1c0765){return _0x337b3c>_0x1c0765;},'APOnq':_0x25847b(0xb2),'eZxUb':function(_0x533b83,_0x6ebac5){return _0x533b83(_0x6ebac5);},'OEbGh':'test','ZwctT':_0x25847b(0xaf),'xFKMR':_0x25847b(0x11e),'MSujr':_0x25847b(0x12c),'oTCAS':'jest','hgmVb':'HookRunStarted'};logger[_0x25847b(0x10f)](_0x25847b(0xf5)+_0x3dd24a+',\x20hookUUID:\x20'+_0xe67adc+_0x25847b(0xca)+_0x21ff28);try{if(!_0x4b34d8)return logger[_0x25847b(0x10f)](_0x3726bc['oLkLW']),null;if(this['isJestInternalHook'](_0x4b34d8))return null;await this[_0x25847b(0x105)]();let _0x159c3c=null;try{_0x159c3c=this['getRootParentFile'](_0x4b34d8);if(_0x159c3c&&_0x159c3c['includes'](_0x3726bc['QZnKu']))return null;if(_0x159c3c&&_0x159c3c[_0x25847b(0x104)](_0x3726bc[_0x25847b(0xad)]))return null;}catch(_0x31a84f){logger[_0x25847b(0x10f)](_0x25847b(0xbc)+util[_0x25847b(0xd6)](_0x31a84f));}const _0x63a698=this[_0x25847b(0x98)](_0x4b34d8),_0x5f53ae=_0x4b34d8[_0x25847b(0xba)]||_0x3726bc['QyjRP'],_0x228946=HOOK_TYPES_MAP[_0x5f53ae]||_0x5f53ae[_0x25847b(0xeb)](),_0x4d704=_0x4b34d8['parent']&&_0x4b34d8[_0x25847b(0xe0)][_0x25847b(0x100)]?_0x4b34d8[_0x25847b(0xe0)][_0x25847b(0x100)]:'';let _0x43cd00=_0x3726bc[_0x25847b(0xc0)],_0x4db354=null,_0x2604e7=null,_0x6480cd=null,_0x2afa89=null;_0x3726bc[_0x25847b(0x112)](_0x3dd24a,_0x3726bc['YbrUH'])&&(_0x2afa89=new Date()[_0x25847b(0x9e)](),_0x4b34d8[_0x25847b(0xcd)]&&_0x3726bc[_0x25847b(0xc1)](_0x4b34d8['errorsDetailed'][_0x25847b(0x13e)],0x0)?(_0x43cd00=_0x3726bc[_0x25847b(0xd5)],_0x2604e7=util['inspect'](_0x4b34d8['errorsDetailed'][0x0]),_0x4db354=_0x3726bc[_0x25847b(0x135)](getFailureType,_0x2604e7),_0x6480cd=failureData[_0x25847b(0xe8)](null,[_0x4b34d8['errorsDetailed'],_0x3726bc[_0x25847b(0xe3)]])):_0x43cd00=_0x3726bc[_0x25847b(0x12e)]);const _0x30202f={'uuid':_0xe67adc,'type':_0x3726bc[_0x25847b(0xf6)],'hook_type':_0x228946,'name':_0x63a698,'body':{'lang':_0x3726bc['MSujr'],'code':_0x4b34d8['fn']?_0x4b34d8['fn'][_0x25847b(0xbd)]():null},'tags':[],'test_run_id':_0x21ff28,'scope':_0x4d704,'scopes':[_0x4d704],'file_name':_0x159c3c,'location':_0x159c3c,'vc_filepath':this[_0x25847b(0x9d)]&&_0x159c3c?path[_0x25847b(0xbf)](this[_0x25847b(0x9d)],_0x159c3c):null,'result':_0x43cd00,'started_at':_0x4b34d8[_0x25847b(0x113)]||new Date()['toISOString'](),'finished_at':_0x2afa89,'failure_type':_0x4db354,'failure_reason':_0x2604e7,'failure_data':_0x6480cd,'framework':_0x3726bc[_0x25847b(0x101)]};return _0x3726bc['EfBiB'](_0x3dd24a,_0x3726bc[_0x25847b(0xa1)])&&(hooksMap[_0x21ff28]?hooksMap[_0x21ff28][_0x25847b(0x133)](_0x30202f):hooksMap[_0x21ff28]=[_0x30202f]),_0x30202f;}catch(_0x43e187){return logger[_0x25847b(0x10f)]('Exception\x20in\x20createHookData:\x20'+util['format'](_0x43e187)),null;}}[a97_0x345dac(0xab)](_0x5957a4,_0x51c724,_0x273fbb){const _0x4d738e=a97_0x345dac,_0x263286={'XzdbG':function(_0x122889,_0x2615c3){return _0x122889>_0x2615c3;},'NsYFI':_0x4d738e(0xb2),'IZjyj':function(_0x34ed67,_0x4bc62e){return _0x34ed67(_0x4bc62e);},'TJDzG':_0x4d738e(0xc8),'IRmpC':_0x4d738e(0xaf)};try{const _0x243ed3=hooksMap[_0x5957a4];if(!_0x243ed3)return null;const _0xcfcbe7=_0x243ed3[_0x4d738e(0x118)](_0x5dcf7f=>_0x5dcf7f['uuid']===_0x51c724);if(!_0xcfcbe7)return null;return _0xcfcbe7[_0x4d738e(0x116)]=new Date()[_0x4d738e(0x9e)](),_0x273fbb[_0x4d738e(0xcd)]&&_0x263286[_0x4d738e(0x13b)](_0x273fbb[_0x4d738e(0xcd)][_0x4d738e(0x13e)],0x0)?(_0xcfcbe7[_0x4d738e(0x129)]=_0x263286[_0x4d738e(0xe2)],_0xcfcbe7[_0x4d738e(0xfe)]=util[_0x4d738e(0xfd)](_0x273fbb[_0x4d738e(0xcd)][0x0]),_0xcfcbe7[_0x4d738e(0xda)]=_0x263286[_0x4d738e(0x122)](getFailureType,_0xcfcbe7[_0x4d738e(0xfe)]),_0xcfcbe7[_0x4d738e(0xcf)]=failureData[_0x4d738e(0xe8)](null,[_0x273fbb[_0x4d738e(0xcd)],_0x263286[_0x4d738e(0xec)]])):_0xcfcbe7['result']=_0x263286[_0x4d738e(0xb8)],_0xcfcbe7;}catch(_0x225619){return logger['debug'](_0x4d738e(0xf9)+util[_0x4d738e(0xd6)](_0x225619)),null;}}['getName'](_0x4852ab){const _0x144247=a97_0x345dac,_0x4efdc5={};_0x4efdc5[_0x144247(0x124)]=function(_0x127f9b,_0x55bbb0){return _0x127f9b!==_0x55bbb0;},_0x4efdc5[_0x144247(0x11d)]=_0x144247(0xc8),_0x4efdc5[_0x144247(0x131)]=_0x144247(0xf4);const _0x9709ff=_0x4efdc5;if(_0x9709ff['ZDlqy'](_0x4852ab['type'],_0x9709ff[_0x144247(0x11d)]))return'\x22'+_0x4852ab[_0x144247(0xba)]+_0x144247(0x127)+(_0x4852ab['parent']&&_0x4852ab[_0x144247(0xe0)][_0x144247(0x100)])+'\x22';return _0x4852ab[_0x144247(0x100)]||_0x9709ff[_0x144247(0x131)];}[a97_0x345dac(0xc6)](_0x51edf3){const _0x114458=a97_0x345dac,_0x5f3d22={};_0x5f3d22[_0x114458(0xf3)]=function(_0x11326c,_0x80f26e){return _0x11326c!==_0x80f26e;},_0x5f3d22['TwSUW']=_0x114458(0xa4);const _0x5d1077=_0x5f3d22,_0x6a1c32=[];if(_0x51edf3&&_0x51edf3[_0x114458(0xe0)]){let _0x3e4cbf=_0x51edf3['parent'];while(_0x3e4cbf&&_0x3e4cbf[_0x114458(0x100)]&&_0x5d1077[_0x114458(0xf3)](_0x3e4cbf[_0x114458(0x100)],'')&&_0x5d1077[_0x114458(0xf3)](_0x3e4cbf[_0x114458(0x100)],_0x5d1077[_0x114458(0x140)])){_0x6a1c32[_0x114458(0x133)](_0x3e4cbf[_0x114458(0x100)]),_0x3e4cbf=_0x3e4cbf[_0x114458(0xe0)];}}return _0x6a1c32[_0x114458(0x13c)](),_0x6a1c32;}[a97_0x345dac(0x11c)](_0x3f1200){const _0x4b6b54=a97_0x345dac;if(_0x3f1200[_0x4b6b54(0x9c)])try{const _0x3356f6=stackTrace['parse'][_0x4b6b54(0x103)](stackTrace,_0x3f1200['asyncError']);if(_0x3356f6[0x0]&&_0x3356f6[0x0]['getFileName'])return _0x3356f6[0x0][_0x4b6b54(0xe6)]();}catch(_0x54cb11){logger['debug'](_0x4b6b54(0xa2)+util[_0x4b6b54(0xd6)](_0x54cb11));}if(_0x3f1200[_0x4b6b54(0x12f)])return _0x3f1200['file'];return null;}[a97_0x345dac(0x11b)](_0x445d56){const _0x5471b5=a97_0x345dac,_0x333ac4={};_0x333ac4[_0x5471b5(0xc2)]='jest-circus',_0x333ac4[_0x5471b5(0xae)]=function(_0x35edc9,_0x5f37e4){return _0x35edc9===_0x5f37e4;},_0x333ac4['imnDp']=_0x5471b5(0xa4);const _0xabebfe=_0x333ac4;try{const _0x47b541=this[_0x5471b5(0x11c)](_0x445d56);if(_0x47b541&&_0x47b541[_0x5471b5(0x104)](_0xabebfe[_0x5471b5(0xc2)]))return!![];if(!_0x47b541){const _0x9c24ea=_0x445d56[_0x5471b5(0xe0)]&&_0x445d56[_0x5471b5(0xe0)][_0x5471b5(0x100)];if(_0xabebfe[_0x5471b5(0xae)](_0x9c24ea,_0xabebfe[_0x5471b5(0x121)]))return!![];}}catch(_0x5e6d63){logger[_0x5471b5(0x10f)](_0x5471b5(0xa7)+util[_0x5471b5(0xd6)](_0x5e6d63));}return![];}['getTestIdentifier'](_0x217995=null){const _0x20d728=a97_0x345dac;try{const _0x2ad84b=_0x217995||global['__workerDetails']||{};if(global[_0x20d728(0xd7)])return global[_0x20d728(0xd7)];if(_0x2ad84b?.[_0x20d728(0xb1)]?.['testAnalyticsId'])return _0x2ad84b[_0x20d728(0xb1)][_0x20d728(0x109)];if(_0x2ad84b?.[_0x20d728(0xb1)]?.['id'])return _0x2ad84b[_0x20d728(0xb1)]['id'];return null;}catch(_0x58c1e7){return logger[_0x20d728(0x10f)](_0x20d728(0xb9)+util[_0x20d728(0xd6)](_0x58c1e7)),null;}}async['configureGit'](){const _0x4a780b=a97_0x345dac,_0x2396a4={'KljkZ':function(_0x1ab916){return _0x1ab916();}};if(this[_0x4a780b(0x9b)])return this[_0x4a780b(0x9d)];const _0x11662f=await _0x2396a4[_0x4a780b(0xb7)](getGitMetaData);_0x11662f&&(this[_0x4a780b(0x9d)]=_0x11662f['root']),this[_0x4a780b(0x9b)]=!![];}[a97_0x345dac(0xef)](_0x57efb5){hooksMap[_0x57efb5]&&delete hooksMap[_0x57efb5];}['extractTestFilePath'](_0x13c10e){const _0x4cf480=a97_0x345dac,_0x5afef3={'YsIyk':'jest-circus','xZTEd':function(_0x45ac93,_0x1d2658){return _0x45ac93(_0x1d2658);},'IjvRq':_0x4cf480(0x11a)};if(_0x13c10e[_0x4cf480(0x12f)])return _0x13c10e[_0x4cf480(0x12f)];if(_0x13c10e[_0x4cf480(0x9c)]){try{const _0x9637ae=stackTrace[_0x4cf480(0x107)](_0x13c10e['asyncError']);if(_0x9637ae[0x0]&&_0x9637ae[0x0][_0x4cf480(0xe6)]){const _0x33b99d=_0x9637ae[0x0][_0x4cf480(0xe6)]();if(_0x33b99d&&!_0x33b99d[_0x4cf480(0x104)](_0x5afef3[_0x4cf480(0x94)]))return _0x33b99d;}}catch(_0x49d9e8){logger[_0x4cf480(0x10f)](_0x4cf480(0xf0)+util[_0x4cf480(0xd6)](_0x49d9e8));}if(_0x13c10e[_0x4cf480(0x9c)][_0x4cf480(0x126)]){const _0x1cdc83=_0x13c10e[_0x4cf480(0x9c)][_0x4cf480(0x126)][_0x4cf480(0x9f)]('\x0a');for(const _0x907c8e of _0x1cdc83){const _0x59bd57=_0x907c8e['match'](/at (.+?):\d+:\d+/);if(_0x59bd57&&_0x59bd57[0x1]&&!_0x59bd57[0x1][_0x4cf480(0x104)](_0x5afef3[_0x4cf480(0x94)]))return _0x59bd57[0x1];}}}let _0x19fd4a=_0x13c10e[_0x4cf480(0xe0)];while(_0x19fd4a){if(_0x19fd4a[_0x4cf480(0x12f)])return _0x19fd4a[_0x4cf480(0x12f)];if(_0x19fd4a[_0x4cf480(0x9c)])try{const _0x344d8b=stackTrace[_0x4cf480(0x107)](_0x19fd4a[_0x4cf480(0x9c)]);if(_0x344d8b[0x0]&&_0x344d8b[0x0][_0x4cf480(0xe6)]){const _0x45fa6c=_0x344d8b[0x0][_0x4cf480(0xe6)]();if(_0x45fa6c&&!_0x45fa6c[_0x4cf480(0x104)](_0x5afef3[_0x4cf480(0x94)]))return _0x45fa6c;}}catch(_0x5532f3){}_0x19fd4a=_0x19fd4a[_0x4cf480(0xe0)];}try{const _0x3985a7=_0x5afef3['xZTEd'](require,_0x5afef3[_0x4cf480(0xa6)]);if(_0x3985a7&&_0x3985a7['getState']){const _0x5ecd5d=_0x3985a7[_0x4cf480(0xc3)]();if(_0x5ecd5d&&_0x5ecd5d['testPath'])return _0x5ecd5d['testPath'];}}catch(_0x51a928){logger[_0x4cf480(0x10f)](_0x4cf480(0x111)+util[_0x4cf480(0xd6)](_0x51a928));}return null;}[a97_0x345dac(0xf1)](_0x1c0ae7){const _0x4345f3=a97_0x345dac,_0x56e2b5={};_0x56e2b5['cVSSi']=_0x4345f3(0xa9),_0x56e2b5[_0x4345f3(0xc4)]=function(_0x4bceb7,_0x17522f){return _0x4bceb7!==_0x17522f;},_0x56e2b5[_0x4345f3(0xd3)]=_0x4345f3(0xa4),_0x56e2b5['jKcxD']=_0x4345f3(0x95),_0x56e2b5['WqvRl']=_0x4345f3(0x13a),_0x56e2b5['yoCtY']='hex';const _0x15c7c9=_0x56e2b5;try{if(!_0x1c0ae7)return logger[_0x4345f3(0xfc)](_0x15c7c9[_0x4345f3(0xfa)]),null;const _0x4eacad=_0x1c0ae7['fullName']||_0x1c0ae7['name']||_0x1c0ae7[_0x4345f3(0x13f)]||_0x1c0ae7[_0x4345f3(0xd8)];let _0xf90c4b=_0x4eacad;if(_0x1c0ae7[_0x4345f3(0xe0)]&&_0x1c0ae7['parent'][_0x4345f3(0x100)]&&_0x15c7c9[_0x4345f3(0xc4)](_0x1c0ae7[_0x4345f3(0xe0)][_0x4345f3(0x100)],_0x15c7c9[_0x4345f3(0xd3)])){const _0x2cf4c1=_0x1c0ae7['name']||_0x1c0ae7[_0x4345f3(0x13f)];_0x2cf4c1&&(_0xf90c4b=_0x1c0ae7[_0x4345f3(0xe0)][_0x4345f3(0x100)]+'\x20'+_0x2cf4c1);}let _0x2e401a=_0x1c0ae7[_0x4345f3(0xf8)];if(!_0x2e401a&&_0x1c0ae7[_0x4345f3(0x9c)]){try{const _0x54321d=stackTrace[_0x4345f3(0x107)](_0x1c0ae7[_0x4345f3(0x9c)]);if(_0x54321d[0x0]&&_0x54321d[0x0][_0x4345f3(0xe6)]){const _0xa8e570=_0x54321d[0x0][_0x4345f3(0xe6)]();_0xa8e570&&!_0xa8e570[_0x4345f3(0x104)](_0x15c7c9[_0x4345f3(0x13d)])&&(_0x2e401a=_0xa8e570);}}catch(_0x4cde77){logger['debug'](_0x4345f3(0xf0)+util[_0x4345f3(0xd6)](_0x4cde77));}if(!_0x2e401a&&_0x1c0ae7['asyncError'][_0x4345f3(0x126)]){const _0x17fe33=_0x1c0ae7['asyncError'][_0x4345f3(0x126)][_0x4345f3(0x9f)]('\x0a');for(const _0x564eaa of _0x17fe33){const _0x148428=_0x564eaa[_0x4345f3(0x9a)](/at (.+?):\d+:\d+/);if(_0x148428&&_0x148428[0x1]&&!_0x148428[0x1][_0x4345f3(0x104)](_0x15c7c9['jKcxD'])){_0x2e401a=_0x148428[0x1];break;}}}}const _0x53a41d=_0x2e401a+'::'+_0xf90c4b,_0x22a597=crypto['createHash'](_0x15c7c9[_0x4345f3(0x139)])[_0x4345f3(0xa8)](_0x53a41d)['digest'](_0x15c7c9[_0x4345f3(0x110)])['substring'](0x0,0x8),_0x4b6640=process['pid']+':jest-'+_0x22a597;return logger[_0x4345f3(0x10f)](_0x4345f3(0xa3)+_0x4b6640+_0x4345f3(0xe5)+_0x53a41d),_0x4b6640;}catch(_0x4e43cb){return logger[_0x4345f3(0xfc)]('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0x4345f3(0xd6)](_0x4e43cb)),null;}}['createIdentifierFromJestTest'](_0x522bde){const _0x3b31d2=a97_0x345dac,_0x24eac6={};_0x24eac6[_0x3b31d2(0xcb)]=_0x3b31d2(0xb6);const _0x4a5da6=_0x24eac6;if(!_0x522bde)return logger[_0x3b31d2(0x10f)](_0x4a5da6[_0x3b31d2(0xcb)]),null;const _0x251a78=this['extractTestFilePath'](_0x522bde),_0xb04da1={};_0xb04da1[_0x3b31d2(0x100)]=_0x522bde['name']||_0x522bde[_0x3b31d2(0x13f)],_0xb04da1['parent']=_0x522bde[_0x3b31d2(0xe0)],_0xb04da1[_0x3b31d2(0xf8)]=_0x251a78,_0xb04da1[_0x3b31d2(0x9c)]=_0x522bde[_0x3b31d2(0x9c)];const _0x1487f1=_0xb04da1;return this[_0x3b31d2(0xf1)](_0x1487f1);}[a97_0x345dac(0x96)](_0x4d264e,_0x45e8ed=null){const _0x577ee8=a97_0x345dac,_0x418ad9={};_0x418ad9[_0x577ee8(0x114)]='[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation';const _0x5d8f2f=_0x418ad9;if(!_0x4d264e)return logger[_0x577ee8(0x10f)](_0x5d8f2f['KFADc']),_0x45e8ed;if(_0x4d264e[_0x577ee8(0xd2)])return logger[_0x577ee8(0x10f)](_0x577ee8(0x136)+_0x4d264e[_0x577ee8(0xd2)]),_0x4d264e[_0x577ee8(0xd2)];return this[_0x577ee8(0xf1)](_0x4d264e)||_0x45e8ed;}}module[a97_0x345dac(0xf7)]=o11yClassErrorHandler(JestUtils,[a97_0x345dac(0x105),a97_0x345dac(0xc6),a97_0x345dac(0x11c),'getName','isJestInternalHook','getTestIdentifier','createTestFrameworkData',a97_0x345dac(0xb3),a97_0x345dac(0xab),a97_0x345dac(0xef),'extractTestFilePath','createJestTestIdentifier',a97_0x345dac(0x97),a97_0x345dac(0x96)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a98_0x18632e=a98_0x45ae;function a98_0x45ae(_0x588067,_0x3ba79c){const _0x19b9ed=a98_0x19b9();return a98_0x45ae=function(_0x45aeca,_0x43812d){_0x45aeca=_0x45aeca-0x195;let _0x32d6c6=_0x19b9ed[_0x45aeca];return _0x32d6c6;},a98_0x45ae(_0x588067,_0x3ba79c);}(function(_0xb85945,_0x53a5bb){const _0x4bbad9=a98_0x45ae,_0x7cffde=_0xb85945();while(!![]){try{const _0x379698=-parseInt(_0x4bbad9(0x1ca))/0x1+-parseInt(_0x4bbad9(0x1ad))/0x2*(-parseInt(_0x4bbad9(0x1a8))/0x3)+-parseInt(_0x4bbad9(0x1a2))/0x4*(parseInt(_0x4bbad9(0x1b9))/0x5)+-parseInt(_0x4bbad9(0x1cb))/0x6*(-parseInt(_0x4bbad9(0x1a4))/0x7)+parseInt(_0x4bbad9(0x19e))/0x8*(-parseInt(_0x4bbad9(0x1a0))/0x9)+parseInt(_0x4bbad9(0x197))/0xa*(-parseInt(_0x4bbad9(0x1af))/0xb)+parseInt(_0x4bbad9(0x1ab))/0xc;if(_0x379698===_0x53a5bb)break;else _0x7cffde['push'](_0x7cffde['shift']());}catch(_0x1f389c){_0x7cffde['push'](_0x7cffde['shift']());}}}(a98_0x19b9,0xd689d));const fs=require('fs'),path=require(a98_0x18632e(0x1a3)),{default:BrowserStackSetup}=require(a98_0x18632e(0x19b)),helper=require(a98_0x18632e(0x196)),PerformanceTester=require(a98_0x18632e(0x199)),PerformanceEvents=require(a98_0x18632e(0x1c2))[a98_0x18632e(0x19d)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require(a98_0x18632e(0x1a1)),TestHubHandler=require(a98_0x18632e(0x1be));function a98_0x19b9(){const _0x511eb4=['RGuoe','launchBuild','lvEDl','parallelsPerPlatform','iHWde','join','start','525BDokMx','RJxix','handleApp','assign','JieeO','../../helpers/testhub/testhubHandler','file','end','SDK_SETUP','../../helpers/performance/constants','modifyBrowserStackCaps','finalExecution','exports','cwd','getHubUrl','Config\x20yml\x20is\x20required','cIMFO','884095eYKRwe','6sXecnw','proxySettings','../../helpers/helper','14113070yqcfgh','File\x20','../../helpers/performance/performance-tester','FWJmZ','../../helpers/BrowserStackSetup','configuration','EVENTS','5363464DzeJVm','push','9MqscAk','../test-runner','63592UuEEQg','path','11139121hzFBiW','modifyBrowserStackW3CCaps','forEach','config','3qszMck','then','index','34343712XUcUIV','length','2121190cfDMgg','args','11AdSWlJ','platforms','existsSync'];a98_0x19b9=function(){return _0x511eb4;};return a98_0x19b9();}async function run(_0x400cbe,_0x24417b,_0x3ef3c1){const _0xa50bfa=a98_0x18632e,_0xa22688={'JieeO':'vanilla','RGuoe':function(_0x47c42a,_0x32020d){return _0x47c42a(_0x32020d);},'iHWde':'File\x20path\x20is\x20required','cIMFO':function(_0x2873ca,_0xcdb91e){return _0x2873ca(_0xcdb91e);},'RJxix':_0xa50bfa(0x1c8),'lvEDl':function(_0x4809e0,_0x4a568a){return _0x4809e0>_0x4a568a;},'BTfYR':function(_0x58146e,_0x3c7b33){return _0x58146e>_0x3c7b33;},'kNgBq':function(_0xe150d6,_0x58501c){return _0xe150d6*_0x58501c;},'FWJmZ':function(_0x512e02,_0x4f9fa7,_0xd6eb50){return _0x512e02(_0x4f9fa7,_0xd6eb50);}};await _0x3ef3c1['initialize'](_0x400cbe),await helper[_0xa50bfa(0x1bb)](_0x3ef3c1['config']);const _0x5d2d1a=[];if(helper['isUndefined'](_0x400cbe['_'][0x1]))throw _0xa22688[_0xa50bfa(0x1b2)](Error,_0xa22688[_0xa50bfa(0x1b6)]);const _0x1d6216=path[_0xa50bfa(0x1b7)](process[_0xa50bfa(0x1c6)](),_0x400cbe['_'][0x1]);if(!fs[_0xa50bfa(0x1b1)](_0x1d6216))throw _0xa22688['RGuoe'](Error,_0xa50bfa(0x198)+_0x400cbe['_'][0x1]+'\x20doesn\x27t\x20exist');if(!_0x3ef3c1[_0xa50bfa(0x1a7)])throw _0xa22688[_0xa50bfa(0x1c9)](Error,_0xa22688[_0xa50bfa(0x1ba)]);const _0x256f5e=helper['useW3C'](_0x3ef3c1[_0xa50bfa(0x1a7)]);_0x3ef3c1['config']['platforms']&&_0xa22688[_0xa50bfa(0x1b4)](_0x3ef3c1[_0xa50bfa(0x1a7)]['platforms'][_0xa50bfa(0x1ac)],0x0)&&_0x3ef3c1['config'][_0xa50bfa(0x1b0)][_0xa50bfa(0x1a6)]((_0x123290,_0xba906c)=>{const _0x109086=_0xa50bfa;_0x256f5e?_0x5d2d1a[_0x109086(0x19f)](helper[_0x109086(0x1a5)](_0x3ef3c1[_0x109086(0x1a7)],_0xa22688[_0x109086(0x1bd)],_0xba906c)):_0x5d2d1a[_0x109086(0x19f)](helper[_0x109086(0x1c3)](_0x3ef3c1[_0x109086(0x1a7)],_0xa22688['JieeO'],_0xba906c));});let _0x468839,_0x3409f9;const _0x4d09eb=[];if(_0xa22688['BTfYR'](_0x5d2d1a[_0xa50bfa(0x1ac)],0x0))_0x5d2d1a[_0xa50bfa(0x1a6)]((_0x416f55,_0x25143c)=>{const _0x4ba944=_0xa50bfa,_0x44410d={};_0x44410d[_0x4ba944(0x1aa)]=_0x25143c,_0x468839={'server':helper[_0x4ba944(0x1c7)](_0x3ef3c1['config']),'proxySettings':_0x3ef3c1[_0x4ba944(0x1a7)]['proxySettings'],'platform':helper['getPlatformName'](_0x416f55),'platformCaps':Object[_0x4ba944(0x1bc)](_0x44410d,_0x3ef3c1[_0x4ba944(0x1a7)]['platforms'][_0x25143c])};const _0x3aeb21={'capability':_0x416f55,..._0x468839};_0x3aeb21[_0x4ba944(0x1bf)]=_0x1d6216,_0x3aeb21[_0x4ba944(0x1ae)]=_0x24417b;const _0xbe5cd={};_0xbe5cd[_0x4ba944(0x19c)]=_0x3aeb21,_0x3409f9=_0xbe5cd,_0x4d09eb[_0x4ba944(0x19f)](_0x3409f9);});else{let _0x3bb3e3;_0x256f5e?_0x3bb3e3=helper[_0xa50bfa(0x1a5)](_0x3ef3c1[_0xa50bfa(0x1a7)],_0xa22688[_0xa50bfa(0x1bd)],0x0):_0x3bb3e3=helper[_0xa50bfa(0x1c3)](_0x3ef3c1[_0xa50bfa(0x1a7)],_0xa22688[_0xa50bfa(0x1bd)],0x0);_0x468839={'server':helper[_0xa50bfa(0x1c7)](_0x3ef3c1[_0xa50bfa(0x1a7)]),'proxySettings':_0x3ef3c1[_0xa50bfa(0x1a7)][_0xa50bfa(0x195)]};const _0x428ee9={'capability':_0x3bb3e3,..._0x468839};_0x428ee9[_0xa50bfa(0x1bf)]=_0x1d6216,_0x428ee9['args']=_0x24417b;const _0x21b35c={};_0x21b35c['configuration']=_0x428ee9,_0x3409f9=_0x21b35c,_0x4d09eb[_0xa50bfa(0x19f)](_0x3409f9);}const _0xbe7079=await TestHubHandler[_0xa50bfa(0x1b3)](_0xa22688[_0xa50bfa(0x1bd)],_0x3ef3c1),_0x5004c8=_0xa22688['kNgBq'](_0x3ef3c1[_0xa50bfa(0x1a7)][_0xa50bfa(0x1b0)][_0xa50bfa(0x1ac)]||0x1,_0x3ef3c1[_0xa50bfa(0x1a7)][_0xa50bfa(0x1b5)]||0x1);PerformanceTester[_0xa50bfa(0x1c0)](PerformanceEvents[_0xa50bfa(0x1c1)]),_0xa22688[_0xa50bfa(0x19a)](parallelVanillaRun,_0x4d09eb,_0x5004c8)[_0xa50bfa(0x1a9)](_0x329050=>{})['finally'](async()=>{const _0x321831=_0xa50bfa;PerformanceTester[_0x321831(0x1b8)](PerformanceEvents['SDK_CLEANUP']),await utilities[_0x321831(0x1c4)](_0x3ef3c1);});}module[a98_0x18632e(0x1c5)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a99_0x5b3608=a99_0x20d2;(function(_0x502ac0,_0x40e0be){const _0x487ee9=a99_0x20d2,_0x471d7d=_0x502ac0();while(!![]){try{const _0x70e865=parseInt(_0x487ee9(0x1fa))/0x1+parseInt(_0x487ee9(0x200))/0x2+-parseInt(_0x487ee9(0x1f3))/0x3+-parseInt(_0x487ee9(0x1eb))/0x4*(parseInt(_0x487ee9(0x1fe))/0x5)+parseInt(_0x487ee9(0x202))/0x6+-parseInt(_0x487ee9(0x1f2))/0x7+parseInt(_0x487ee9(0x1f6))/0x8;if(_0x70e865===_0x40e0be)break;else _0x471d7d['push'](_0x471d7d['shift']());}catch(_0x4b2fc4){_0x471d7d['push'](_0x471d7d['shift']());}}}(a99_0xb000,0x8f492));function a99_0x20d2(_0x1cbfd1,_0x2dc869){const _0xb0008f=a99_0xb000();return a99_0x20d2=function(_0x20d20e,_0x1e5a68){_0x20d20e=_0x20d20e-0x1e3;let _0x33d1b0=_0xb0008f[_0x20d20e];return _0x33d1b0;},a99_0x20d2(_0x1cbfd1,_0x2dc869);}const TestMetadata=require(a99_0x5b3608(0x1ea));class BrowserStackSdk{static[a99_0x5b3608(0x1ee)](){const _0x4660a6=a99_0x5b3608,_0x2b140d={};_0x2b140d[_0x4660a6(0x1f0)]=_0x4660a6(0x1e8),_0x2b140d[_0x4660a6(0x1f7)]=_0x4660a6(0x1e6),_0x2b140d[_0x4660a6(0x203)]=_0x4660a6(0x1ec),_0x2b140d['oYdxg']=_0x4660a6(0x1f8),_0x2b140d[_0x4660a6(0x1f5)]=_0x4660a6(0x1f1),_0x2b140d[_0x4660a6(0x204)]=_0x4660a6(0x1fb),_0x2b140d[_0x4660a6(0x1f4)]=_0x4660a6(0x1e7),_0x2b140d[_0x4660a6(0x1fc)]=_0x4660a6(0x1ed),_0x2b140d[_0x4660a6(0x1e5)]='platform',_0x2b140d[_0x4660a6(0x1ef)]=_0x4660a6(0x201),_0x2b140d['AGirK']=_0x4660a6(0x1ff),_0x2b140d[_0x4660a6(0x1e3)]='platformVersion',_0x2b140d[_0x4660a6(0x1fd)]='customVariables';const _0x18f71d=_0x2b140d,_0xabf7cc={};if(global[_0x4660a6(0x1e9)]){const _0x147fe5=global[_0x4660a6(0x1e9)],_0x4e298d=_0x147fe5[_0x18f71d[_0x4660a6(0x1f0)]]||_0x147fe5[_0x18f71d[_0x4660a6(0x1f7)]],_0x58c67b=_0x147fe5[_0x18f71d['arWZt']]||_0x147fe5[_0x18f71d[_0x4660a6(0x1f9)]],_0x1c6851=_0x147fe5[_0x18f71d[_0x4660a6(0x1f5)]]||_0x147fe5[_0x18f71d['PZBlf']],_0x46980f=_0x147fe5[_0x18f71d[_0x4660a6(0x1f4)]]||_0x147fe5[_0x18f71d[_0x4660a6(0x1fc)]],_0xfa51c2=_0x147fe5[_0x18f71d[_0x4660a6(0x1e5)]]||_0x147fe5[_0x18f71d[_0x4660a6(0x1ef)]],_0x5abeae=_0x147fe5[_0x18f71d['AGirK']]||_0x147fe5[_0x18f71d[_0x4660a6(0x1e3)]];_0x147fe5['os']&&(_0xabf7cc['os']=_0x147fe5['os']),_0x4e298d&&(_0xabf7cc[_0x18f71d['qIFDa']]=_0x4e298d),_0x58c67b&&(_0xabf7cc[_0x18f71d[_0x4660a6(0x1f9)]]=_0x58c67b),_0x1c6851&&(_0xabf7cc[_0x18f71d['PZBlf']]=_0x1c6851),_0x46980f&&(_0xabf7cc[_0x18f71d[_0x4660a6(0x1fc)]]=_0x46980f),_0xfa51c2&&(_0xabf7cc[_0x18f71d[_0x4660a6(0x1ef)]]=_0xfa51c2),_0x5abeae&&(_0xabf7cc[_0x18f71d['opKzq']]=_0x5abeae),_0x147fe5[_0x18f71d['HRBwm']]&&(_0xabf7cc[_0x18f71d[_0x4660a6(0x1fd)]]=_0x147fe5[_0x18f71d[_0x4660a6(0x1fd)]]);}return _0xabf7cc;}static['setTestMetadata'](_0x2f4a35={}){const _0x112817=a99_0x5b3608;TestMetadata[_0x112817(0x1e4)](_0x2f4a35);}}function a99_0xb000(){const _0x2a87ff=['browserName','oYdxg','497778ucVEXf','browserVersion','NvDUj','HRBwm','10455tMHXlt','platform_version','493040TbDIfg','platformName','861492FiTMuv','arWZt','PZBlf','opKzq','set','pxvPE','osVersion','device','os_version','__platformCaps','./helpers/metadata','1148dyetWH','browser','deviceName','getCurrentPlatform','YAnkT','LfmEX','browser_version','603232sIlOdU','1252530ELxbOY','UfAxO','rJWaN','6422568BxzlBo','qIFDa'];a99_0xb000=function(){return _0x2a87ff;};return a99_0xb000();}module['exports']=BrowserStackSdk;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a100_0xdcfd(_0x53bdcf,_0x55d18a){const _0x2b59ac=a100_0x2b59();return a100_0xdcfd=function(_0xdcfd6,_0x3234fd){_0xdcfd6=_0xdcfd6-0x79;let _0x51c898=_0x2b59ac[_0xdcfd6];return _0x51c898;},a100_0xdcfd(_0x53bdcf,_0x55d18a);}const a100_0x5c6513=a100_0xdcfd;function a100_0x2b59(){const _0x53efaf=['FXUxW','./percy/utils','race','status','VelnU','selfHeal','XxfsH','getAccessKey','setProxySettings','../ai-sdk-node/bundle','platforms','Local\x20binary\x20started\x20successfully','turboScaleGridDetails','bind','platform','tKWka','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','join','localOptions','FRAMEWORK','gadmN','isRunning','checkStopLocalBinaryOnExit','tDgoW','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','uhyYm','percy','TQprF','TmWnM','BTJTH','BiJQN','122979YhclIx','rFhQE','199170bqfxwk','301850KdBoor','normalizeTestReportingEnvVars','sPGiS','sdkRunId','userName','LEqlv','then','Error\x20in\x20percy\x20setup\x20','uVRVT','exceptions','accessKey','lqzDc','forceLocal','version','setupTCGAuth','DTXps','getProxyConfigForTcg','constructor','isEnabled','init','upfrv','beforeExit','localIdentifier','gIQrN','true','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','writeFileSync','TosCN','push','\x20with\x20response\x20','csLLZ','setupBrowserstackLocal','info','cancel','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','RqeST','isTurboScaleSession','ats-repeater','PxVCn','CpOON','wTvgC','./logger','elQVR','18|14|19|23|22|3|21|0|8|16|6|5|4|12|17|13|11|1|7|10|15|2|9|20','stopBrowserstackLocal','172736CQnVFC','startPercy','measureWrapper','isBrowserstackInfra','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','fUMfA','close','Failed\x20to\x20send\x20data\x20to\x20','BROWSERSTACK_TURBOSCALE','lvuFx','stringify','kdDlU','customRepeaters','SIGINT','rOcvC','getCentralUser','envConfig','setBrowserstackInfraFromConfig','SDK_CLEANUP','AI_PROXY_FAILURE','Error\x20in\x20writing\x20events\x20to\x20file\x20','warn','No\x20config\x20provided.','useW3C','INVALID_INIT_RESP_WITH_USER_IMPACT','finalize','skipSessionStatus','playwright','drYuy','configPath','util','setEnvCaps','Data\x20sent\x20successfully\x20to\x20','playwrightUrl','Percy\x20started\x20successfully','?caps=','config','getLocalConfig','setUpHubUrl','error','jyWVo','setCLICaps','4.5.0','../bin/utils/constants','url','UHkrC','length','./utilities','compareVersions','setupTcgConfigFile','browserstackLocal','cliConfig','reportFinalDetectionState','getLocalIdentifier','TCG_AUTH_FAILURE','yoXga','errorMessage','isTrue','tcg\x20config\x20setup\x20successful.','hubUrl','Error\x20in\x20sending\x20testhub\x20stop:\x20','tUYVy','CJUch','wLqIm','assign','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','selenium-webdriver','skipBinaryInitialisation','handleExceptions','6BsSIWp','Error\x20occured\x20while\x20stopping\x20local\x20binary','oWdCz','./performance/constants','proxyUrl','./testhub/utils','tGMiL','toString','gEBjl','intExitHandler','skipSessionName','getHubUrl','YCymf','preInitialize','turboScaleUrl','message','qKkSE','__isPuppeteerInstalled','isHealingEnabled','SIGABRT','foFYj','BROWSERSTACK_PERCY','getPackageVersion','JHmnK','aiHeal:tcgAuth','captureError','1070672SZqHdN','uuid','ERBHy','5470MJTXTq','PEBDK','SIGBREAK','startLocalBinary','Local\x20binary\x20stopped','BrowserstackHealingInitFailed','stop','Yzuqn','1|7|5|6|4|2|0|3','Shutdown\x20triggered\x20by\x20','kskIS','yapbq','Percy\x20stopped','format','24xOSWau','TCG_URL','exitHandler','JGTbD','codeceptjs','includes','turboScaleOptions','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','aeHyM','framework','__isPlaywrightInstalled','allocateHub','aGPac','EvXOp','unhandledRejection','false','debug','winstonLogger','split','setupKeepAlive','getConfigPath','KuBUO','4707qFKtOe','userName\x20or\x20accessKey\x20is\x20not\x20defined','uncaughtException','410431drSjCz','Error\x20occured\x20while\x20stopping\x20percy','measures','generateLocalIdentifier','default','SDK\x20run\x20started\x20with\x20id:\x20','YGDDX','getInstance','tcgAuthConfig','gztlR','OnhYN','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','AI_INIT_FAILURE','sanitizeCaps','./timeoutPromise','bstackConfig','CXvdT','testContextOptions','../hubAllocationMethods','handled','odXMg','stopPercy','disableAutoCaptureLogs','proxyConfig','./setKeepAlive','getUserName','RUnXV','SIGTERM','AI_INIT_SUCCESSFUL','toLowerCase','setLogDir','vIinw','setHandlePWError','isLTSSession','../bin/utils/apiUtilityMethods','qpxeL','hErsz','UjKGU','browserStackLocalOptions','whuDK','env','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','fireFunnelTestEvent','yODHD','../bin/v2/browserstackCLI','isUndefined','unhandledErrors','fileLogger','isAuthenticated'];a100_0x2b59=function(){return _0x53efaf;};return a100_0x2b59();}(function(_0x137668,_0x3d7744){const _0x57c913=a100_0xdcfd,_0x2ddb60=_0x137668();while(!![]){try{const _0x4f887e=-parseInt(_0x57c913(0xef))/0x1+-parseInt(_0x57c913(0xc2))/0x2+parseInt(_0x57c913(0xbf))/0x3*(parseInt(_0x57c913(0x15f))/0x4)+-parseInt(_0x57c913(0xc1))/0x5*(parseInt(_0x57c913(0x134))/0x6)+-parseInt(_0x57c913(0x178))/0x7+parseInt(_0x57c913(0x14e))/0x8+parseInt(_0x57c913(0x175))/0x9*(parseInt(_0x57c913(0x151))/0xa);if(_0x4f887e===_0x3d7744)break;else _0x2ddb60['push'](_0x2ddb60['shift']());}catch(_0x5b29f0){_0x2ddb60['push'](_0x2ddb60['shift']());}}}(a100_0x2b59,0x3b821));const util=require(a100_0x5c6513(0x10d)),os=require('os'),path=require('path'),{v4:uuidv4}=require(a100_0x5c6513(0x14f)),fs=require('fs'),constants=require(a100_0x5c6513(0x11a)),logger=require(a100_0x5c6513(0xeb))[a100_0x5c6513(0x170)],fileLogger=require(a100_0x5c6513(0xeb))[a100_0x5c6513(0x9e)],{getLogDir}=require(a100_0x5c6513(0xeb)),helper=require('./helper'),utilities=require(a100_0x5c6513(0x11e)),percyHelper=require(a100_0x5c6513(0xa1)),hubAllocator=require(a100_0x5c6513(0x80)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a100_0x5c6513(0x137)),{setPercyFlag}=require(a100_0x5c6513(0x139)),TestHubHandler=require('./testhub/testhubHandler'),timeoutPromise=require(a100_0x5c6513(0x7c)),BrowserstackCLI=require(a100_0x5c6513(0x9b)),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require(a100_0x5c6513(0x90)),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x23e335,_0x48d0a2){const _0x541ad2=a100_0x5c6513,_0x457f77={'NBZbg':_0x541ad2(0xed),'CpOON':function(_0x23318a){return _0x23318a();},'vnKBC':_0x541ad2(0x105)},_0x21767f=_0x457f77['NBZbg'][_0x541ad2(0x171)]('|');let _0x3979fd=0x0;while(!![]){switch(_0x21767f[_0x3979fd++]){case'0':this[_0x541ad2(0x122)]=helper[_0x541ad2(0x118)](_0x23e335);continue;case'1':helper['setCredentialsFromYmlConfig'](this[_0x541ad2(0x113)]);continue;case'2':helper[_0x541ad2(0x8c)](this[_0x541ad2(0x113)]);continue;case'3':this[_0x541ad2(0x10c)]=helper[_0x541ad2(0x173)](_0x23e335);continue;case'4':this['framework']=_0x48d0a2;continue;case'5':this[_0x541ad2(0xc5)]=_0x457f77[_0x541ad2(0xe9)](uuidv4);continue;case'6':this[_0x541ad2(0x127)]={};continue;case'7':this['config'][_0x541ad2(0x7f)][_0x541ad2(0x109)]=!helper[_0x541ad2(0xf2)]()||helper[_0x541ad2(0x128)](this[_0x541ad2(0x113)][_0x541ad2(0x7f)][_0x541ad2(0x109)]);continue;case'8':this[_0x541ad2(0x113)][_0x541ad2(0xaa)]=this[_0x541ad2(0x113)][_0x541ad2(0xaa)]||[];continue;case'9':helper['setLogLevel'](this[_0x541ad2(0x113)],this[_0x541ad2(0x122)],this[_0x541ad2(0xff)]);continue;case'10':this['config']['testContextOptions'][_0x541ad2(0x13e)]=!helper['isBrowserstackInfra']()||helper[_0x541ad2(0x128)](this[_0x541ad2(0x113)][_0x541ad2(0x7f)][_0x541ad2(0x13e)]);continue;case'11':helper[_0x541ad2(0x100)](this['config'],this[_0x541ad2(0x122)]);continue;case'12':global[_0x541ad2(0x168)]=_0x48d0a2;continue;case'13':if(this[_0x541ad2(0x113)][_0x541ad2(0x116)])throw new Error(this[_0x541ad2(0x113)][_0x541ad2(0x116)]);continue;case'14':helper[_0x541ad2(0xc3)]();continue;case'15':helper['getFinalCaps'](this[_0x541ad2(0x113)],this[_0x541ad2(0x122)],this[_0x541ad2(0xff)]);continue;case'16':this[_0x541ad2(0x113)][_0x541ad2(0x7f)]=this['config'][_0x541ad2(0x7f)]||{};continue;case'17':if(helper[_0x541ad2(0x9c)](this[_0x541ad2(0x113)]))throw new Error(_0x457f77['vnKBC']);continue;case'18':this[_0x541ad2(0x9d)]=[];continue;case'19':this[_0x541ad2(0xff)]=helper[_0x541ad2(0x10e)]();continue;case'20':PerformanceTester['startMonitoring']();continue;case'21':this[_0x541ad2(0x113)]=helper['readConfig'](this['configPath']);continue;case'22':this[_0x541ad2(0xba)]=null;continue;case'23':this[_0x541ad2(0x121)]=null;continue;}break;}}[a100_0x5c6513(0x141)](_0x5c74aa){const _0x1d1a09=a100_0x5c6513,_0x54190f={'uVRVT':_0x1d1a09(0x176),'elQVR':function(_0x490822,_0x13f4e5){return _0x490822===_0x13f4e5;},'tUYVy':function(_0x5d0ec7,_0x94fb3b){return _0x5d0ec7===_0x94fb3b;},'RqeST':'integrations','odXMg':'SDKTestAttempted','wLqIm':function(_0x2dfa81,_0x3dbb56){return _0x2dfa81<_0x3dbb56;},'fcGIV':function(_0x2136ed,_0x4a4fb4){return _0x2136ed(_0x4a4fb4);},'oWdCz':_0x1d1a09(0x131),'yODHD':_0x1d1a09(0x119),'TQprF':_0x1d1a09(0x166),'PxVCn':_0x1d1a09(0x98),'YCymf':_0x1d1a09(0x89),'tKWka':_0x1d1a09(0xfc),'Yzuqn':'SIGHUP','tGMiL':function(_0x437962,_0x5e0ab1){return _0x437962!==_0x5e0ab1;},'whuDK':'win32','nECPs':_0x1d1a09(0x147),'auQBH':'SIGQUIT','XxfsH':_0x1d1a09(0x153),'uhyYm':'beforeExit'},_0x5ccbe2=this['framework'];global[_0x1d1a09(0x113)]=this[_0x1d1a09(0x113)],helper[_0x1d1a09(0x7b)](this['config']),this['killSignal']=null,global[_0x1d1a09(0xc5)]=this['sdkRunId'],logger[_0x1d1a09(0xe2)](_0x1d1a09(0x17d)+this[_0x1d1a09(0xc5)]),!this[_0x1d1a09(0x113)]['browserStackLocalOptions']&&(this[_0x1d1a09(0x113)][_0x1d1a09(0x94)]=this[_0x1d1a09(0x113)][_0x1d1a09(0xb2)]||{});if(helper[_0x1d1a09(0x9c)](helper[_0x1d1a09(0x87)](this[_0x1d1a09(0x113)]))||helper[_0x1d1a09(0x9c)](helper[_0x1d1a09(0xa7)](this[_0x1d1a09(0x113)])))throw new Error(_0x54190f[_0x1d1a09(0xca)]);helper[_0x1d1a09(0x114)](this[_0x1d1a09(0x113)])&&helper[_0x1d1a09(0x9c)](helper[_0x1d1a09(0x124)](this[_0x1d1a09(0x113)]))&&(!helper[_0x1d1a09(0x9c)](this[_0x1d1a09(0x113)]['browserStackLocalOptions'])&&_0x54190f[_0x1d1a09(0xec)](this[_0x1d1a09(0x113)][_0x1d1a09(0x94)][_0x1d1a09(0xd3)],Object)?!helper[_0x1d1a09(0x128)](this['config'][_0x1d1a09(0x94)]['skipBinaryInitialisation'])&&(this['config'][_0x1d1a09(0x94)][_0x1d1a09(0xd8)]=helper['generateLocalIdentifier']()):this[_0x1d1a09(0x113)]['browserStackLocalOptions']={'localIdentifier':helper[_0x1d1a09(0x17b)]()});this[_0x1d1a09(0x113)][_0x1d1a09(0x94)][_0x1d1a09(0x132)]=helper['isTrue'](this[_0x1d1a09(0x113)][_0x1d1a09(0x94)][_0x1d1a09(0x132)]),helper[_0x1d1a09(0x8e)](this[_0x1d1a09(0x113)]);if(_0x54190f[_0x1d1a09(0x12c)](_0x5ccbe2,_0x54190f[_0x1d1a09(0xe5)]))return;this[_0x1d1a09(0x133)]();process['env'][_0x1d1a09(0xf7)]&&(this[_0x1d1a09(0x113)]['turboScale']=helper[_0x1d1a09(0x128)](process[_0x1d1a09(0x96)]['BROWSERSTACK_TURBOSCALE']),this[_0x1d1a09(0x113)][_0x1d1a09(0x165)]=this[_0x1d1a09(0x113)][_0x1d1a09(0x165)]||{});helper[_0x1d1a09(0xe6)](this[_0x1d1a09(0x113)])&&(process[_0x1d1a09(0x96)][_0x1d1a09(0xf7)]=!![]);LoadTestModule[_0x1d1a09(0x8f)](this[_0x1d1a09(0x113)])&&logger['debug']('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this[_0x1d1a09(0xc5)]);if(!helper[_0x1d1a09(0xf2)]()){try{process['env']['FRAMEWORK']=_0x5ccbe2,utilities[_0x1d1a09(0x99)](_0x54190f[_0x1d1a09(0x82)],{},this[_0x1d1a09(0x113)],this[_0x1d1a09(0x168)]);}catch(_0x203ad6){logger[_0x1d1a09(0x16f)](_0x1d1a09(0x79)+_0x203ad6);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x5ccbe2)){if(global[_0x1d1a09(0x169)]||global[_0x1d1a09(0x145)])return;_0x54190f[_0x1d1a09(0x12e)](_0x54190f['fcGIV'](parseInt,helper[_0x1d1a09(0x14a)](_0x54190f[_0x1d1a09(0x136)])),0x3)&&(this[_0x1d1a09(0x113)][_0x1d1a09(0x106)]=![]),_0x54190f['tUYVy'](helper[_0x1d1a09(0x11f)](helper[_0x1d1a09(0x14a)](_0x54190f[_0x1d1a09(0x136)]),_0x54190f[_0x1d1a09(0x9a)]),0x1)&&(this[_0x1d1a09(0x113)][_0x1d1a09(0x106)]=!![]);}(helper[_0x1d1a09(0x9c)](this[_0x1d1a09(0x113)][_0x1d1a09(0xaa)])||helper[_0x1d1a09(0x9c)](this[_0x1d1a09(0x113)][_0x1d1a09(0xaa)]['length']))&&(helper['isUndefined'](this[_0x1d1a09(0x113)]['parallelsPerPlatform'])?logger[_0x1d1a09(0xe2)](_0x54190f[_0x1d1a09(0xbb)]):logger[_0x1d1a09(0x104)](_0x54190f[_0x1d1a09(0xe8)]),this[_0x1d1a09(0x113)][_0x1d1a09(0xaa)]=[]);!this[_0x1d1a09(0x113)][_0x1d1a09(0x7f)]&&(this[_0x1d1a09(0x113)][_0x1d1a09(0x7f)]={});try{process[_0x1d1a09(0x96)][_0x1d1a09(0xb3)]=_0x5c74aa['_'][0x0],utilities[_0x1d1a09(0x99)](_0x54190f[_0x1d1a09(0x82)],{},this['config'],this['framework']);}catch(_0x33a4ea){logger[_0x1d1a09(0x16f)](_0x1d1a09(0x79)+_0x33a4ea);}!this[_0x1d1a09(0x113)][_0x1d1a09(0x84)]&&logger['info'](constants['AUTOLOGCAPTURE_NOTIFICATION']),this['intExitHandler']=this[_0x1d1a09(0x13d)][_0x1d1a09(0xad)](this),process['on'](_0x54190f[_0x1d1a09(0x140)],this[_0x1d1a09(0x13d)]),process['on'](_0x54190f[_0x1d1a09(0xaf)],this[_0x1d1a09(0x13d)]),process['on'](_0x54190f[_0x1d1a09(0x158)],this[_0x1d1a09(0x13d)]),_0x54190f[_0x1d1a09(0x13a)](process[_0x1d1a09(0xae)],_0x54190f[_0x1d1a09(0x95)])?(process['on'](_0x54190f['nECPs'],this['intExitHandler']),process['on'](_0x54190f['auQBH'],this[_0x1d1a09(0x13d)])):process['on'](_0x54190f[_0x1d1a09(0xa6)],this['intExitHandler']),process['on'](_0x54190f[_0x1d1a09(0xb9)],this[_0x1d1a09(0x161)]());}async['initialize'](_0x263cf6){const _0x2a273f=a100_0x5c6513,_0x54c7c1={'JHmnK':_0x2a273f(0xe7),'lqzDc':'custom-repeater','EzHqK':'true','zgqok':function(_0x1a4710,_0x3a743b){return _0x1a4710===_0x3a743b;},'kskIS':_0x2a273f(0x10a),'gEBjl':function(_0x3309f7,_0x3f724a){return _0x3309f7+_0x3f724a;},'upfrv':_0x2a273f(0x112),'PEBDK':function(_0x421113,_0x1ba325){return _0x421113(_0x1ba325);},'UHkrC':_0x2a273f(0x163)};this[_0x2a273f(0x141)](_0x263cf6);if(helper[_0x2a273f(0xe6)](this[_0x2a273f(0x113)])){const _0x58113c=await helper['getTurboScaleGridDetails'](this['config']);this[_0x2a273f(0x113)][_0x2a273f(0xac)]=_0x58113c,_0x58113c['isTrialGrid']&&helper['isNotUndefined'](this[_0x2a273f(0x113)]['browserstackLocal'])&&helper[_0x2a273f(0x128)](this[_0x2a273f(0x113)][_0x2a273f(0x121)])&&(this['config']['browserStackLocalOptions'][_0x2a273f(0xd8)]=_0x54c7c1[_0x2a273f(0x14b)],this['config'][_0x2a273f(0x94)][_0x54c7c1[_0x2a273f(0xcd)]]=_0x58113c[_0x2a273f(0xfb)]['join'](','),this[_0x2a273f(0x113)]['browserStackLocalOptions'][_0x2a273f(0xce)]=_0x54c7c1['EzHqK']),this[_0x2a273f(0x113)][_0x2a273f(0x142)]=_0x58113c[_0x2a273f(0x11b)],this[_0x2a273f(0x168)]&&_0x54c7c1['zgqok'](this['framework'][_0x2a273f(0x8b)](),_0x54c7c1['kskIS'])?this[_0x2a273f(0x113)][_0x2a273f(0x142)]=_0x54c7c1[_0x2a273f(0x13c)](_0x58113c[_0x2a273f(0x110)],_0x54c7c1[_0x2a273f(0xd6)]):constants['hubUrl']=helper[_0x2a273f(0x13f)](this[_0x2a273f(0x113)]),logger[_0x2a273f(0x16f)](_0x2a273f(0xdb)+constants[_0x2a273f(0x12a)]);}helper[_0x2a273f(0xa8)](this['config']),this['setupKeepAlive'](),_0x54c7c1[_0x2a273f(0x152)](setPercyFlag,this),await this['setupBrowserstackLocal'](),![_0x54c7c1[_0x2a273f(0x11c)],_0x54c7c1[_0x2a273f(0x15b)]][_0x2a273f(0x164)](this[_0x2a273f(0x168)])&&!helper['isTurboScaleSession'](this[_0x2a273f(0x113)])&&!helper[_0x2a273f(0xfe)]()['central_scanner']&&await this[_0x2a273f(0x115)]();}async['setupPercy'](){const _0x6fb400=a100_0x5c6513,_0x23e839={};_0x23e839[_0x6fb400(0xf4)]=function(_0x18d130,_0x1c4f66){return _0x18d130===_0x1c4f66;},_0x23e839[_0x6fb400(0x167)]=_0x6fb400(0x16e),_0x23e839[_0x6fb400(0x16c)]=_0x6fb400(0xb8),_0x23e839[_0x6fb400(0xbe)]=_0x6fb400(0x111),_0x23e839[_0x6fb400(0xb4)]=_0x6fb400(0xda),_0x23e839['kdDlU']=_0x6fb400(0xd7);const _0x17e937=_0x23e839;if(helper[_0x6fb400(0x128)](this['config']['percy'])&&(!this[_0x6fb400(0xba)]||!this[_0x6fb400(0xba)]['isRunning']()))try{this[_0x6fb400(0xba)]=await percyHelper[_0x6fb400(0xf0)](this['config']);if(!this[_0x6fb400(0xba)]){process['env']['BROWSERSTACK_PERCY']=_0x17e937[_0x6fb400(0x167)];throw new Error(_0x17e937[_0x6fb400(0x16c)]);}logger['info'](_0x17e937[_0x6fb400(0xbe)]),process[_0x6fb400(0x96)][_0x6fb400(0x149)]=_0x17e937[_0x6fb400(0xb4)];let _0x61fb6b=0x0;const _0x2d736f=async()=>{const _0xdb6469=_0x6fb400;_0x61fb6b++,_0x17e937[_0xdb6469(0xf4)](_0x61fb6b,0x1)&&await this[_0xdb6469(0x83)]();};process['on'](_0x17e937[_0x6fb400(0xfa)],_0x2d736f);}catch(_0x6b20a0){process[_0x6fb400(0x96)][_0x6fb400(0x149)]=_0x17e937[_0x6fb400(0x167)],logger['debug'](_0x6fb400(0xc9)+_0x6b20a0);throw new Error(_0x6b20a0[_0x6fb400(0x13b)]());}}async[a100_0x5c6513(0x83)](){const _0x3c12c5=a100_0x5c6513,_0x330379={};_0x330379[_0x3c12c5(0x150)]=_0x3c12c5(0x15d),_0x330379[_0x3c12c5(0xd9)]=_0x3c12c5(0x179);const _0x375805=_0x330379;if(this['percy']&&this[_0x3c12c5(0xba)][_0x3c12c5(0xb5)]())try{await percyHelper[_0x3c12c5(0x83)](this['percy']),logger[_0x3c12c5(0xe2)](_0x375805[_0x3c12c5(0x150)]);}catch(_0x5c9436){logger[_0x3c12c5(0x116)](_0x375805[_0x3c12c5(0xd9)],_0x5c9436[_0x3c12c5(0x143)]);}}async[a100_0x5c6513(0xe1)](){const _0x9ecd7f=a100_0x5c6513,_0x104af9={};_0x104af9[_0x9ecd7f(0xbd)]=_0x9ecd7f(0xf3),_0x104af9[_0x9ecd7f(0x174)]=_0x9ecd7f(0xab);const _0x27e551=_0x104af9;if(helper[_0x9ecd7f(0xf2)]()&&helper['isTrue'](this['config'][_0x9ecd7f(0x121)])&&(!this[_0x9ecd7f(0x121)]||!this[_0x9ecd7f(0x121)][_0x9ecd7f(0xb5)]()))try{if(this[_0x9ecd7f(0x113)]['browserStackLocalOptions'][_0x9ecd7f(0x132)]){logger[_0x9ecd7f(0x16f)](_0x27e551[_0x9ecd7f(0xbd)]);return;}this[_0x9ecd7f(0x121)]=await helper[_0x9ecd7f(0x154)](this[_0x9ecd7f(0x113)]),logger[_0x9ecd7f(0xe2)](_0x27e551['KuBUO']);}catch(_0x198d5f){logger[_0x9ecd7f(0x16f)](_0x198d5f);throw new Error(_0x198d5f[_0x9ecd7f(0x13b)]());}}async[a100_0x5c6513(0xee)](){const _0x4cfc49=a100_0x5c6513,_0x226488={};_0x226488[_0x4cfc49(0x7e)]=_0x4cfc49(0x155),_0x226488['TmWnM']=_0x4cfc49(0x135);const _0x3ec671=_0x226488;if(this[_0x4cfc49(0x121)]&&this[_0x4cfc49(0x121)][_0x4cfc49(0xb5)]())try{await helper['stopLocalBinary'](this[_0x4cfc49(0x121)]),logger['info'](_0x3ec671[_0x4cfc49(0x7e)]);}catch(_0x4eefb8){logger[_0x4cfc49(0x116)](_0x3ec671[_0x4cfc49(0xbc)],_0x4eefb8[_0x4cfc49(0x143)]);}}async[a100_0x5c6513(0x115)](){const _0x293a8c=a100_0x5c6513;return PerformanceTester[_0x293a8c(0xf1)](PerformanceAutEvents['HUB_MANAGEMENT'],async()=>{const _0x270028=_0x293a8c;await hubAllocator[_0x270028(0x16a)](this[_0x270028(0x113)]);})();}async[a100_0x5c6513(0xd0)](){const _0x2e8980=a100_0x5c6513,_0x31f397={'TosCN':function(_0x7d2a60,_0x325045){return _0x7d2a60(_0x325045);},'JGTbD':_0x2e8980(0xa9),'eyyGN':function(_0x2290ac,_0x58ec23,_0x5839b8,_0x17222f,_0x5ede0,_0x4220b3,_0x19648e){return _0x2290ac(_0x58ec23,_0x5839b8,_0x17222f,_0x5ede0,_0x4220b3,_0x19648e);},'csLLZ':'BrowserstackHealing.init\x20method\x20timed\x20out','fVvYo':_0x2e8980(0x156),'OnhYN':function(_0x57d807,_0x1e204c){return _0x57d807(_0x1e204c);},'YGDDX':'../../package.json','UjKGU':'BrowserstackHealing.init','FXUxW':function(_0x372089,_0x11ddb0){return _0x372089(_0x11ddb0);},'DTXps':function(_0x4e9026,_0x3f87d9){return _0x4e9026===_0x3f87d9;},'drYuy':_0x2e8980(0xda),'qKkSE':function(_0x2a6e6d,_0x910fa0){return _0x2a6e6d===_0x910fa0;},'lvuFx':_0x2e8980(0xb0),'rFhQE':_0x2e8980(0x130),'yapbq':_0x2e8980(0x97),'MTsVK':function(_0x1d1602,_0xfc232e){return _0x1d1602(_0xfc232e);},'RUnXV':'Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','sPGiS':function(_0x44edb2,_0x4fe3a8){return _0x44edb2>=_0x4fe3a8;},'zjciV':function(_0x33d396,_0x19d01a){return _0x33d396<_0x19d01a;},'DDdJp':function(_0x295627,_0x524e5b){return _0x295627>=_0x524e5b;},'qpxeL':_0x2e8980(0x129),'foFYj':_0x2e8980(0x14c),'BrNAA':function(_0x27728b){return _0x27728b();}},_0x1420c2=PerformanceTester['measureWrapper'](_0x31f397[_0x2e8980(0x148)],async()=>{const _0x3d5755=_0x2e8980;try{const _0x56879f=new Date(),_0x2d9f04=helper[_0x3d5755(0xd2)](this[_0x3d5755(0x113)]),_0xe93c08=_0x31f397[_0x3d5755(0xdd)](require,path[_0x3d5755(0xb1)](__dirname,_0x31f397[_0x3d5755(0x162)])),_0x2c698c=_0x31f397['eyyGN'](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x31f397[_0x3d5755(0xe0)],_0x31f397['fVvYo'],_0x56879f,this['config'],this[_0x3d5755(0x168)]),_0x582a2c={'tcgUrl':constants[_0x3d5755(0x160)],'sdkVersion':_0x31f397[_0x3d5755(0x182)](require,_0x31f397[_0x3d5755(0x17e)])[_0x3d5755(0xcf)],'methodUsed':_0x31f397['UjKGU'],'proxyConfig':_0x2d9f04,'os':os['platform']()};if(_0x2d9f04&&_0x2d9f04[_0x3d5755(0x138)]){utilities['fireFunnelTestEvent'](constants[_0x3d5755(0x102)],_0x582a2c,this[_0x3d5755(0x113)],this[_0x3d5755(0x168)]);return;}const _0x210c6f={};_0x210c6f['proxy']=_0x2d9f04;const _0x425ecc=await Promise[_0x3d5755(0xa2)]([_0xe93c08[_0x3d5755(0xd5)](this[_0x3d5755(0x113)][_0x3d5755(0xcc)],this[_0x3d5755(0x113)][_0x3d5755(0xc6)],constants[_0x3d5755(0x160)],_0x31f397[_0x3d5755(0xa0)](require,_0x31f397[_0x3d5755(0x17e)])[_0x3d5755(0xcf)],_0x210c6f)[_0x3d5755(0xc8)](_0x1feb04=>{const _0x108b9a=_0x3d5755;return _0x2c698c[_0x108b9a(0xe3)](),_0x1feb04;}),_0x2c698c]);_0x425ecc[_0x3d5755(0x146)]=_0x31f397['DTXps'](_0x425ecc['isHealingEnabled'],_0x31f397[_0x3d5755(0x10b)])||_0x31f397[_0x3d5755(0xd1)](_0x425ecc[_0x3d5755(0x146)],!![]);const _0x55433d=_0x31f397[_0x3d5755(0xd1)](this[_0x3d5755(0x113)][_0x3d5755(0xa5)],!![])||_0x31f397[_0x3d5755(0x144)](this['config'][_0x3d5755(0xa5)],_0x31f397[_0x3d5755(0x10b)]);if(_0x31f397['qKkSE'](_0x425ecc['message'],constants['UPGRADE_REQUIRED'])&&_0x55433d)logger['info'](_0x31f397[_0x3d5755(0xf8)]);else{if(!_0x425ecc[_0x3d5755(0x9f)]&&_0x31f397['qKkSE'](_0x425ecc['status'],0x1f7)&&_0x55433d)logger[_0x3d5755(0xe2)](_0x31f397[_0x3d5755(0xc0)]),utilities[_0x3d5755(0x99)](constants['TCG_DOWN'],_0x582a2c,this[_0x3d5755(0x113)],this['framework']);else{if(!_0x425ecc['isAuthenticated']&&_0x55433d){logger[_0x3d5755(0xe2)](_0x31f397[_0x3d5755(0x15c)]);const _0x3da4e8={'tcgUrl':constants[_0x3d5755(0x160)],'sdkVersion':_0x31f397['MTsVK'](require,_0x31f397['YGDDX'])[_0x3d5755(0xcf)],'methodUsed':_0x31f397[_0x3d5755(0x93)],'proxyConfig':_0x2d9f04,'os':os[_0x3d5755(0xae)]()};utilities[_0x3d5755(0x99)](constants[_0x3d5755(0x125)],_0x3da4e8,this[_0x3d5755(0x113)],this[_0x3d5755(0x168)]);}else{if(_0x425ecc[_0x3d5755(0x9f)]&&!_0x425ecc[_0x3d5755(0x146)]&&_0x55433d)logger['info'](_0x31f397[_0x3d5755(0x88)]);else{if(_0x31f397[_0x3d5755(0xc4)](_0x425ecc['status'],0xc8)&&_0x31f397['zjciV'](_0x425ecc['status'],0x12c))utilities[_0x3d5755(0x99)](constants[_0x3d5755(0x8a)],_0x582a2c,this['config'],this[_0x3d5755(0x168)]);else{if(_0x31f397['DDdJp'](_0x425ecc[_0x3d5755(0xa3)],0x190))_0x582a2c[_0x3d5755(0xa3)]=_0x425ecc[_0x3d5755(0xa3)],utilities[_0x3d5755(0x99)](constants[_0x3d5755(0x7a)],_0x582a2c,this[_0x3d5755(0x113)],this['framework']);else!_0x425ecc[_0x3d5755(0xa3)]&&utilities['fireFunnelTestEvent'](constants[_0x3d5755(0x107)],_0x582a2c,this[_0x3d5755(0x113)],this['framework']);}}}}}if(_0x425ecc[_0x3d5755(0x9f)]&&_0x425ecc[_0x3d5755(0x146)]){const _0x4c933b={};_0x4c933b[_0x3d5755(0x180)]=_0x425ecc;const _0x22651c=_0x4c933b;_0x2d9f04&&(_0x22651c[_0x3d5755(0x85)]=_0x2d9f04),_0x22651c['framework']=this[_0x3d5755(0x168)],_0x22651c[_0x3d5755(0x7d)]=this[_0x3d5755(0x113)],helper[_0x3d5755(0x120)](_0x22651c),logger['debug'](_0x31f397[_0x3d5755(0x91)]);}}catch(_0x213e09){logger['debug'](_0x3d5755(0xe4)+(_0x213e09['message']?_0x213e09[_0x3d5755(0x143)]:''));}});await _0x31f397['BrNAA'](_0x1420c2);}[a100_0x5c6513(0x172)](){const _0x5b7776=a100_0x5c6513,_0x1201c3={'hErsz':function(_0x36ab85,_0x2554a6){return _0x36ab85(_0x2554a6);},'LEqlv':_0x5b7776(0x86)};_0x1201c3[_0x5b7776(0x92)](require,_0x1201c3[_0x5b7776(0xc7)])();}['handleExceptions'](){const _0x4bac6c=a100_0x5c6513,_0xd1bad7={};_0xd1bad7['CJUch']='3|0|1|2|4',_0xd1bad7[_0x4bac6c(0x117)]=_0x4bac6c(0x16d),_0xd1bad7['rUNrm']=_0x4bac6c(0x177);const _0x2546f1=_0xd1bad7,_0x15f302=_0x5d6496=>{const _0x2b40ee=_0x4bac6c,_0xed8b0e=_0x2546f1[_0x2b40ee(0x12d)][_0x2b40ee(0x171)]('|');let _0x19b725=0x0;while(!![]){switch(_0xed8b0e[_0x19b725++]){case'0':logger[_0x2b40ee(0x16f)](util[_0x2b40ee(0x15e)](_0x5d6496));continue;case'1':this[_0x2b40ee(0x9d)][_0x2b40ee(0xde)](util['format']('%j',_0x5d6496));continue;case'2':PerformanceTester[_0x2b40ee(0x14d)](_0x5d6496);continue;case'3':logger['error'](_0x5d6496[_0x2b40ee(0x143)]);continue;case'4':ClientTroubleShootingService['reportFinalDetectionState']();continue;}break;}};process['on'](_0x2546f1[_0x4bac6c(0x117)],_0x15f302),process['on'](_0x2546f1['rUNrm'],_0x15f302);}async[a100_0x5c6513(0x13d)](_0x3861b9){const _0x128cd7=a100_0x5c6513,_0x14ca1f={};_0x14ca1f[_0x128cd7(0xb7)]=_0x128cd7(0x159),_0x14ca1f['vIinw']=function(_0x4628e6,_0x10ef2c){return _0x4628e6+_0x10ef2c;},_0x14ca1f[_0x128cd7(0xa4)]=_0x128cd7(0x81),_0x14ca1f[_0x128cd7(0xea)]=_0x128cd7(0x15a);const _0x4cccae=_0x14ca1f,_0x5eb104=_0x4cccae[_0x128cd7(0xb7)][_0x128cd7(0x171)]('|');let _0x12f9a5=0x0;while(!![]){switch(_0x5eb104[_0x12f9a5++]){case'0':await ClientTroubleShootingService[_0x128cd7(0x123)]();continue;case'1':if(this[_0x4cccae[_0x128cd7(0x8d)](_0x4cccae[_0x128cd7(0xa4)],_0x3861b9)])return;continue;case'2':await TestHubHandler[_0x128cd7(0x157)](_0x3861b9);continue;case'3':await BrowserstackCLI[_0x128cd7(0x17f)]()[_0x128cd7(0x157)]();continue;case'4':await ClientTroubleShootingService['reportProcessInterruptionSituation'](_0x3861b9);continue;case'5':logger[_0x128cd7(0xe2)](_0x4cccae['vIinw'](_0x4cccae[_0x128cd7(0xea)],_0x3861b9));continue;case'6':this['killSignal']=_0x3861b9;continue;case'7':this[_0x4cccae[_0x128cd7(0x8d)](_0x4cccae[_0x128cd7(0xa4)],_0x3861b9)]=!![];continue;}break;}}[a100_0x5c6513(0x161)](){const _0x222460={'uVhwG':function(_0xba7cdd,_0x205bd2){return _0xba7cdd===_0x205bd2;},'aGPac':'Calling\x20Build\x20Stop\x20from\x20ExitHandler','rOcvC':function(_0x438dff,_0x3d7466){return _0x438dff>_0x3d7466;},'yoXga':function(_0x418400,_0x5aa45d){return _0x418400>_0x5aa45d;},'gztlR':function(_0x55f0b2,_0x4cb6c7){return _0x55f0b2(_0x4cb6c7);},'MuxuC':function(_0x1a0ce8){return _0x1a0ce8();},'Kuivv':'events.json'};let _0x187481=0x0;return async()=>{const _0x5610b7=a100_0xdcfd;_0x187481++;if(_0x222460['uVhwG'](_0x187481,0x1)){helper[_0x5610b7(0xb6)](this[_0x5610b7(0x168)])&&await this[_0x5610b7(0xee)]();try{logger[_0x5610b7(0x16f)](_0x222460[_0x5610b7(0x16b)]),await TestHubHandler[_0x5610b7(0x157)](_0x187481),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI[_0x5610b7(0x17f)]()[_0x5610b7(0x157)]('1');}catch(_0x23932c){logger[_0x5610b7(0x16f)](_0x5610b7(0x12b)+util[_0x5610b7(0x15e)](_0x23932c));}PerformanceTester['end'](PerformanceEvents[_0x5610b7(0x101)]);if(PerformanceTester[_0x5610b7(0xd4)]()){const {measures:_0x392024,errors:_0x3a1acb}=await PerformanceTester[_0x5610b7(0x108)](),_0x51417c={};if(_0x392024&&_0x222460[_0x5610b7(0xfd)](_0x392024['length'],0x0)||_0x3a1acb&&_0x222460[_0x5610b7(0x126)](_0x3a1acb[_0x5610b7(0x11d)],0x0)){const _0x43d605={};_0x43d605[_0x5610b7(0x17a)]=_0x392024,_0x43d605[_0x5610b7(0xcb)]=_0x3a1acb,Object[_0x5610b7(0x12f)](_0x51417c,_0x43d605);}try{const _0x50ba3c=await helper['sendToEDS'](_0x51417c,this[_0x5610b7(0x113)]);logger[_0x5610b7(0x16f)](_0x5610b7(0x10f)+_0x222460[_0x5610b7(0x181)](getEdsInstrumentationAPIUrl,'')+_0x5610b7(0xdf)+_0x50ba3c['statusCode']);}catch(_0x4073e1){logger[_0x5610b7(0x16f)](_0x5610b7(0xf6)+_0x222460[_0x5610b7(0x181)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20error\x20'+util[_0x5610b7(0x15e)](_0x4073e1));}try{fs[_0x5610b7(0xdc)](path[_0x5610b7(0xb1)](_0x222460['MuxuC'](getLogDir),_0x222460['Kuivv']),JSON[_0x5610b7(0xf9)](_0x51417c));}catch(_0x12b185){logger[_0x5610b7(0x16f)](_0x5610b7(0x103)+_0x12b185);}}}logger&&logger[_0x5610b7(0xf5)](),fileLogger&&fileLogger[_0x5610b7(0xf5)]();};}}exports[a100_0x5c6513(0x17c)]=BrowserStackSetup;
|
|
1
|
+
const a100_0x2963fa=a100_0x4bde;function a100_0x23c3(){const _0x2753c0=['\x20with\x20response\x20','EPFDr','version','getLocalIdentifier','measures','startLocalBinary','skipSessionName','integrations','dwYhg','BROWSERSTACK_PERCY','sLYHK','exceptions','isNotUndefined','1623738BBRVMY','fIHQO','default','browserstackLocal','371295urSFVH','BbFBo','HUB_MANAGEMENT','beforeExit','TUpDD','getConfigPath','LXYvC','skipBinaryInitialisation','./testhub/testhubHandler','lluub','allocateHub','EQGmO','AGPPw','VKaBO','wTTiX','209vbsOMX','XUOmt','bCIGe','4.5.0','epVQy','Shutdown\x20triggered\x20by\x20','TCG_URL','skipSessionStatus','./timeoutPromise','UfKwV','VohLR','isHealingEnabled','proxyUrl','configPath','kHWvI','reportProcessInterruptionSituation','stringify','proxy','false','isTrialGrid','bstackConfig','setupKeepAlive','iGhTi','TCG_DOWN','CIKTr','3|4|2|1|0','AI_INIT_FAILURE','fileLogger','unhandledErrors','winstonLogger','error','qpUNP','fireFunnelTestEvent','__isPlaywrightInstalled','eIFlE','SIGABRT','isBrowserstackInfra','SHqwu','SDK_CLEANUP','platforms','initialize','aWejf','userName\x20or\x20accessKey\x20is\x20not\x20defined','Local\x20binary\x20stopped','MQrAU','UDJQz','killSignal','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','./percy/utils','iLnXp','measureWrapper','getInstance','setupPercy','../../package.json','writeFileSync','AI_INIT_SUCCESSFUL','./helper','SvRZB','HdWSV','platform','disableAutoCaptureLogs','./setKeepAlive','tcg\x20config\x20setup\x20successful.','EJScd','setCredentialsFromYmlConfig','stopBrowserstackLocal','useW3C','getUserName','chyYG','format','sdkRunId','19|13|2|8|16|15|21|3|12|17|6|11|23|20|9|18|5|1|7|14|22|0|10|4','split','SIGHUP','info','ats-repeater','IWQYC','Calling\x20Build\x20Stop\x20from\x20ExitHandler','LPsAF','fEZpr','7|3|2|1|4|5|6|0','563870piwVuA','isTurboScaleSession','proxyConfig','98ScbRrq','debug','kGTNF','readConfig','getProxyConfigForTcg','lKlsg','forceLocal','stop','normalizeTestReportingEnvVars','uncaughtException','framework','config','accessKey','constructor','GsqTJ','turboScaleOptions','getHubUrl','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','close','4717520JUPuEc','userName','compareVersions','then','xUIbJ','status','mHtRD','toLowerCase','./logger','RrkAQ','SeaKZ','9243QKwQPs','browserStackLocalOptions','captureError','join','exitHandler','preInitialize','Local\x20binary\x20started\x20successfully','ZtnRK','tYYSx','UIdge','./performance/performance-tester','selenium-webdriver','startPercy','GBUTS','path','AI_PROXY_FAILURE','SIGTERM','No\x20config\x20provided.','WCRYG','stopLocalBinary','NXYoh','env','yoaBo','Error\x20in\x20sending\x20testhub\x20stop:\x20','UuaEf','./performance/constants','../hubAllocationMethods','tcgAuthConfig','SDKTestAttempted','./testhub/utils','setupTCGAuth','297496lHRYyF','finalize','NGyiy','getPackageVersion','mugJU','261nZQydL','uvBmp','percy','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','envConfig','QmkAS','length','CZtMa','errorMessage','6486WnPzIb','./utilities','../bin/utils/constants','codeceptjs','GXwBy','generateLocalIdentifier','hubUrl','setProxySettings','push','localIdentifier','boGoO','intExitHandler','TCG_AUTH_TIMEOUT','zEeAw','BrowserstackHealingInitFailed','getLocalConfig','setHandlePWError','checkStopLocalBinaryOnExit','../bin/v2/modules/loadTestModule','reportFinalDetectionState','includes','qhdFW','FmigD','isRunning','SIGBREAK','getFinalCaps','KSbkq','getCentralUser','handled','localOptions','FRAMEWORK','true','turboScale','bEmlI','uldQV','util','stopPercy','AUTOLOGCAPTURE_NOTIFICATION','uuid','requireSeleniumWebdriverCheck','parallelsPerPlatform','1456DFJwVa','central_scanner','UPGRADE_REQUIRED','setupBrowserstackLocal','qiASo','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','uhsqS','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','HuDWZ','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','assign','WRNGM','setUpHubUrl','unhandledRejection','cliConfig','setLogLevel','isUndefined','Error\x20occured\x20while\x20stopping\x20local\x20binary','ybtaS','\x20with\x20error\x20','message','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','testContextOptions','yRKPT','handleExceptions','BROWSERSTACK_TURBOSCALE','GCYgu','toString','setEnvCaps','Percy\x20stopped','isAuthenticated','events.json','isTrue','sMXLt','turboScaleUrl','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','XHIvN','Error\x20in\x20percy\x20setup\x20','playwrightUrl','cancel','sendToEDS'];a100_0x23c3=function(){return _0x2753c0;};return a100_0x23c3();}(function(_0x47f8ea,_0x1d30b3){const _0x60b0e9=a100_0x4bde,_0x130473=_0x47f8ea();while(!![]){try{const _0x1952cd=-parseInt(_0x60b0e9(0x246))/0x1+parseInt(_0x60b0e9(0x242))/0x2+parseInt(_0x60b0e9(0x2c7))/0x3*(parseInt(_0x60b0e9(0x20c))/0x4)+-parseInt(_0x60b0e9(0x2bc))/0x5+parseInt(_0x60b0e9(0x1e3))/0x6*(-parseInt(_0x60b0e9(0x2a9))/0x7)+parseInt(_0x60b0e9(0x1d5))/0x8*(-parseInt(_0x60b0e9(0x1da))/0x9)+-parseInt(_0x60b0e9(0x2a6))/0xa*(-parseInt(_0x60b0e9(0x255))/0xb);if(_0x1952cd===_0x1d30b3)break;else _0x130473['push'](_0x130473['shift']());}catch(_0x1701a7){_0x130473['push'](_0x130473['shift']());}}}(a100_0x23c3,0x9197e));function a100_0x4bde(_0x168482,_0x4418d6){const _0x23c38d=a100_0x23c3();return a100_0x4bde=function(_0x4bde2b,_0x4f9c0d){_0x4bde2b=_0x4bde2b-0x1d0;let _0x5e02be=_0x23c38d[_0x4bde2b];return _0x5e02be;},a100_0x4bde(_0x168482,_0x4418d6);}const util=require(a100_0x2963fa(0x206)),os=require('os'),path=require(a100_0x2963fa(0x2d5)),{v4:uuidv4}=require(a100_0x2963fa(0x209)),fs=require('fs'),constants=require(a100_0x2963fa(0x1e5)),logger=require('./logger')[a100_0x2963fa(0x272)],fileLogger=require('./logger')[a100_0x2963fa(0x270)],{getLogDir}=require(a100_0x2963fa(0x2c4)),helper=require(a100_0x2963fa(0x28d)),utilities=require(a100_0x2963fa(0x1e4)),percyHelper=require(a100_0x2963fa(0x285)),hubAllocator=require(a100_0x2963fa(0x1d0)),PerformanceTester=require(a100_0x2963fa(0x2d1)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a100_0x2963fa(0x2e0)),{setPercyFlag}=require(a100_0x2963fa(0x1d3)),TestHubHandler=require(a100_0x2963fa(0x24e)),timeoutPromise=require(a100_0x2963fa(0x25d)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),LoadTestModule=require(a100_0x2963fa(0x1f5)),{getEdsInstrumentationAPIUrl}=require('../bin/utils/apiUtilityMethods'),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x1e90ac,_0x499a2d){const _0x54e666=a100_0x2963fa,_0x2fde8c={'epVQy':_0x54e666(0x29c),'EPFDr':_0x54e666(0x2d8),'gbgPp':function(_0x4aee9c){return _0x4aee9c();}},_0x3c1bc8=_0x2fde8c[_0x54e666(0x259)][_0x54e666(0x29d)]('|');let _0x2a825b=0x0;while(!![]){switch(_0x3c1bc8[_0x2a825b++]){case'0':helper['setLogDir'](this[_0x54e666(0x2b4)]);continue;case'1':helper[_0x54e666(0x295)](this[_0x54e666(0x2b4)]);continue;case'2':this[_0x54e666(0x1de)]=helper[_0x54e666(0x228)]();continue;case'3':this[_0x54e666(0x21a)]=helper['setCLICaps'](_0x1e90ac);continue;case'4':PerformanceTester['startMonitoring']();continue;case'5':helper['setBrowserstackInfraFromConfig'](this[_0x54e666(0x2b4)],this[_0x54e666(0x21a)]);continue;case'6':this[_0x54e666(0x1e2)]={};continue;case'7':this[_0x54e666(0x2b4)][_0x54e666(0x222)][_0x54e666(0x25c)]=!helper[_0x54e666(0x279)]()||helper[_0x54e666(0x22c)](this['config'][_0x54e666(0x222)]['skipSessionStatus']);continue;case'8':this['browserstackLocal']=null;continue;case'9':if(helper[_0x54e666(0x21c)](this['config']))throw new Error(_0x2fde8c[_0x54e666(0x236)]);continue;case'10':helper[_0x54e666(0x21b)](this[_0x54e666(0x2b4)],this['cliConfig'],this[_0x54e666(0x1de)]);continue;case'11':this['sdkRunId']=_0x2fde8c['gbgPp'](uuidv4);continue;case'12':this[_0x54e666(0x2b4)][_0x54e666(0x27c)]=this[_0x54e666(0x2b4)][_0x54e666(0x27c)]||[];continue;case'13':helper[_0x54e666(0x2b1)]();continue;case'14':this[_0x54e666(0x2b4)][_0x54e666(0x222)][_0x54e666(0x23b)]=!helper[_0x54e666(0x279)]()||helper[_0x54e666(0x22c)](this[_0x54e666(0x2b4)][_0x54e666(0x222)][_0x54e666(0x23b)]);continue;case'15':this[_0x54e666(0x262)]=helper[_0x54e666(0x24b)](_0x1e90ac);continue;case'16':this[_0x54e666(0x1dc)]=null;continue;case'17':this['config'][_0x54e666(0x222)]=this[_0x54e666(0x2b4)][_0x54e666(0x222)]||{};continue;case'18':if(this[_0x54e666(0x2b4)][_0x54e666(0x273)])throw new Error(this['config'][_0x54e666(0x273)]);continue;case'19':this['unhandledErrors']=[];continue;case'20':global['framework']=_0x499a2d;continue;case'21':this[_0x54e666(0x2b4)]=helper[_0x54e666(0x2ac)](this[_0x54e666(0x262)]);continue;case'22':helper[_0x54e666(0x1fc)](this[_0x54e666(0x2b4)],this['cliConfig'],this[_0x54e666(0x1de)]);continue;case'23':this[_0x54e666(0x2b3)]=_0x499a2d;continue;}break;}}[a100_0x2963fa(0x2cc)](_0x2e19c9){const _0x25cf23=a100_0x2963fa,_0x2bfc8a={'CIKTr':_0x25cf23(0x27f),'qoKZy':function(_0x74db2c,_0x3af4e9){return _0x74db2c===_0x3af4e9;},'zEeAw':function(_0x22bb01,_0x401923){return _0x22bb01===_0x401923;},'sHJTj':_0x25cf23(0x23c),'cXFJU':_0x25cf23(0x1d2),'IWQYC':function(_0x588e47,_0x3a6be0){return _0x588e47<_0x3a6be0;},'VohLR':function(_0x1e1f69,_0x354851){return _0x1e1f69(_0x354851);},'dwYhg':_0x25cf23(0x2d2),'fIHQO':function(_0x1ef051,_0x24f433){return _0x1ef051===_0x24f433;},'qpUNP':_0x25cf23(0x258),'NXYoh':_0x25cf23(0x211),'qiASo':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','TUpDD':_0x25cf23(0x2d7),'WCRYG':'SIGINT','lKlsg':_0x25cf23(0x29e),'sMXLt':function(_0x16947f,_0x4d310d){return _0x16947f!==_0x4d310d;},'MMELW':'win32','GBUTS':_0x25cf23(0x278),'fEZpr':'SIGQUIT','HuDWZ':_0x25cf23(0x1fb),'tIsiw':_0x25cf23(0x249)},_0x22443a=this['framework'];global[_0x25cf23(0x2b4)]=this[_0x25cf23(0x2b4)],helper['sanitizeCaps'](this[_0x25cf23(0x2b4)]),this[_0x25cf23(0x283)]=null,global[_0x25cf23(0x29b)]=this['sdkRunId'],logger[_0x25cf23(0x29f)]('SDK\x20run\x20started\x20with\x20id:\x20'+this[_0x25cf23(0x29b)]),!this[_0x25cf23(0x2b4)][_0x25cf23(0x2c8)]&&(this[_0x25cf23(0x2b4)][_0x25cf23(0x2c8)]=this[_0x25cf23(0x2b4)][_0x25cf23(0x200)]||{});if(helper['isUndefined'](helper[_0x25cf23(0x298)](this[_0x25cf23(0x2b4)]))||helper[_0x25cf23(0x21c)](helper['getAccessKey'](this[_0x25cf23(0x2b4)])))throw new Error(_0x2bfc8a[_0x25cf23(0x26d)]);helper[_0x25cf23(0x1f2)](this[_0x25cf23(0x2b4)])&&helper[_0x25cf23(0x21c)](helper[_0x25cf23(0x238)](this['config']))&&(!helper[_0x25cf23(0x21c)](this['config'][_0x25cf23(0x2c8)])&&_0x2bfc8a['qoKZy'](this['config']['browserStackLocalOptions'][_0x25cf23(0x2b6)],Object)?!helper[_0x25cf23(0x22c)](this[_0x25cf23(0x2b4)]['browserStackLocalOptions'][_0x25cf23(0x24d)])&&(this[_0x25cf23(0x2b4)][_0x25cf23(0x2c8)][_0x25cf23(0x1ec)]=helper[_0x25cf23(0x1e8)]()):this[_0x25cf23(0x2b4)][_0x25cf23(0x2c8)]={'localIdentifier':helper['generateLocalIdentifier']()});this[_0x25cf23(0x2b4)][_0x25cf23(0x2c8)][_0x25cf23(0x24d)]=helper[_0x25cf23(0x22c)](this['config'][_0x25cf23(0x2c8)][_0x25cf23(0x24d)]),helper[_0x25cf23(0x1f3)](this[_0x25cf23(0x2b4)]);if(_0x2bfc8a[_0x25cf23(0x1f0)](_0x22443a,_0x2bfc8a['sHJTj']))return;this[_0x25cf23(0x224)]();process[_0x25cf23(0x2dc)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x25cf23(0x2b4)][_0x25cf23(0x203)]=helper['isTrue'](process[_0x25cf23(0x2dc)][_0x25cf23(0x225)]),this[_0x25cf23(0x2b4)]['turboScaleOptions']=this['config'][_0x25cf23(0x2b8)]||{});helper[_0x25cf23(0x2a7)](this[_0x25cf23(0x2b4)])&&(process[_0x25cf23(0x2dc)][_0x25cf23(0x225)]=!![]);LoadTestModule['isLTSSession'](this[_0x25cf23(0x2b4)])&&logger['debug'](_0x25cf23(0x221)+this[_0x25cf23(0x29b)]);if(!helper[_0x25cf23(0x279)]()){try{process[_0x25cf23(0x2dc)]['FRAMEWORK']=_0x22443a,utilities['fireFunnelTestEvent'](_0x2bfc8a['cXFJU'],{},this[_0x25cf23(0x2b4)],this[_0x25cf23(0x2b3)]);}catch(_0x30d02c){logger['debug'](_0x25cf23(0x215)+_0x30d02c);}return;}if(helper[_0x25cf23(0x20a)](_0x22443a)){if(global[_0x25cf23(0x276)]||global['__isPuppeteerInstalled'])return;_0x2bfc8a[_0x25cf23(0x2a1)](_0x2bfc8a[_0x25cf23(0x25f)](parseInt,helper[_0x25cf23(0x1d8)](_0x2bfc8a[_0x25cf23(0x23d)])),0x3)&&(this[_0x25cf23(0x2b4)]['useW3C']=![]),_0x2bfc8a[_0x25cf23(0x243)](helper[_0x25cf23(0x2be)](helper[_0x25cf23(0x1d8)](_0x2bfc8a['dwYhg']),_0x2bfc8a[_0x25cf23(0x274)]),0x1)&&(this[_0x25cf23(0x2b4)][_0x25cf23(0x297)]=!![]);}(helper[_0x25cf23(0x21c)](this[_0x25cf23(0x2b4)][_0x25cf23(0x27c)])||helper['isUndefined'](this[_0x25cf23(0x2b4)][_0x25cf23(0x27c)]['length']))&&(helper[_0x25cf23(0x21c)](this[_0x25cf23(0x2b4)][_0x25cf23(0x20b)])?logger[_0x25cf23(0x29f)](_0x2bfc8a[_0x25cf23(0x2db)]):logger['warn'](_0x2bfc8a[_0x25cf23(0x210)]),this[_0x25cf23(0x2b4)][_0x25cf23(0x27c)]=[]);!this[_0x25cf23(0x2b4)][_0x25cf23(0x222)]&&(this[_0x25cf23(0x2b4)]['testContextOptions']={});try{process['env'][_0x25cf23(0x201)]=_0x2e19c9['_'][0x0],utilities[_0x25cf23(0x275)](_0x2bfc8a['cXFJU'],{},this[_0x25cf23(0x2b4)],this[_0x25cf23(0x2b3)]);}catch(_0x41917c){logger['debug']('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x41917c);}!this[_0x25cf23(0x2b4)][_0x25cf23(0x291)]&&logger['info'](constants[_0x25cf23(0x208)]),this[_0x25cf23(0x1ee)]=this[_0x25cf23(0x1ee)]['bind'](this),process['on'](_0x2bfc8a[_0x25cf23(0x24a)],this[_0x25cf23(0x1ee)]),process['on'](_0x2bfc8a[_0x25cf23(0x2d9)],this[_0x25cf23(0x1ee)]),process['on'](_0x2bfc8a[_0x25cf23(0x2ae)],this['intExitHandler']),_0x2bfc8a[_0x25cf23(0x22d)](process['platform'],_0x2bfc8a['MMELW'])?(process['on'](_0x2bfc8a[_0x25cf23(0x2d4)],this['intExitHandler']),process['on'](_0x2bfc8a[_0x25cf23(0x2a4)],this[_0x25cf23(0x1ee)])):process['on'](_0x2bfc8a[_0x25cf23(0x214)],this['intExitHandler']),process['on'](_0x2bfc8a['tIsiw'],this[_0x25cf23(0x2cb)]());}async[a100_0x2963fa(0x27d)](_0x38cf09){const _0x1f3d5f=a100_0x2963fa,_0x637a73={'IkAzt':_0x1f3d5f(0x2a0),'aWejf':'custom-repeater','lluub':_0x1f3d5f(0x202),'chyYG':function(_0x21340a,_0x29909d){return _0x21340a===_0x29909d;},'WRNGM':'playwright','Fgujz':function(_0x4eb9b0,_0x5e67d2){return _0x4eb9b0+_0x5e67d2;},'bEmlI':'?caps=','RrkAQ':function(_0x1d750c,_0x136d7e){return _0x1d750c(_0x136d7e);},'UuaEf':_0x1f3d5f(0x1e6)};this[_0x1f3d5f(0x2cc)](_0x38cf09);if(helper['isTurboScaleSession'](this[_0x1f3d5f(0x2b4)])){const _0x5b4188=await helper['getTurboScaleGridDetails'](this[_0x1f3d5f(0x2b4)]);this[_0x1f3d5f(0x2b4)]['turboScaleGridDetails']=_0x5b4188,_0x5b4188[_0x1f3d5f(0x268)]&&helper[_0x1f3d5f(0x241)](this[_0x1f3d5f(0x2b4)]['browserstackLocal'])&&helper['isTrue'](this['config'][_0x1f3d5f(0x245)])&&(this[_0x1f3d5f(0x2b4)][_0x1f3d5f(0x2c8)][_0x1f3d5f(0x1ec)]=_0x637a73['IkAzt'],this[_0x1f3d5f(0x2b4)][_0x1f3d5f(0x2c8)][_0x637a73[_0x1f3d5f(0x27e)]]=_0x5b4188['customRepeaters'][_0x1f3d5f(0x2ca)](','),this[_0x1f3d5f(0x2b4)][_0x1f3d5f(0x2c8)][_0x1f3d5f(0x2af)]=_0x637a73[_0x1f3d5f(0x24f)]),this['config'][_0x1f3d5f(0x22e)]=_0x5b4188['url'],this[_0x1f3d5f(0x2b3)]&&_0x637a73[_0x1f3d5f(0x299)](this[_0x1f3d5f(0x2b3)][_0x1f3d5f(0x2c3)](),_0x637a73[_0x1f3d5f(0x217)])?this['config'][_0x1f3d5f(0x22e)]=_0x637a73['Fgujz'](_0x5b4188[_0x1f3d5f(0x232)],_0x637a73[_0x1f3d5f(0x204)]):constants[_0x1f3d5f(0x1e9)]=helper[_0x1f3d5f(0x2b9)](this[_0x1f3d5f(0x2b4)]),logger[_0x1f3d5f(0x2aa)](_0x1f3d5f(0x284)+constants[_0x1f3d5f(0x1e9)]);}helper[_0x1f3d5f(0x1ea)](this['config']),this[_0x1f3d5f(0x26a)](),_0x637a73[_0x1f3d5f(0x2c5)](setPercyFlag,this),await this[_0x1f3d5f(0x20f)](),![_0x637a73[_0x1f3d5f(0x2df)],_0x637a73['WRNGM']][_0x1f3d5f(0x1f7)](this['framework'])&&!helper[_0x1f3d5f(0x2a7)](this[_0x1f3d5f(0x2b4)])&&!helper[_0x1f3d5f(0x1fe)]()[_0x1f3d5f(0x20d)]&&await this[_0x1f3d5f(0x218)]();}async[a100_0x2963fa(0x289)](){const _0x5b6135=a100_0x2963fa,_0x373068={};_0x373068[_0x5b6135(0x1e1)]=function(_0x4730e0,_0x15d12e){return _0x4730e0===_0x15d12e;},_0x373068['iLnXp']=_0x5b6135(0x267),_0x373068[_0x5b6135(0x256)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x373068['GXwBy']='Percy\x20started\x20successfully',_0x373068[_0x5b6135(0x2c6)]=_0x5b6135(0x202),_0x373068[_0x5b6135(0x21e)]=_0x5b6135(0x249);const _0x54d7d1=_0x373068;if(helper[_0x5b6135(0x22c)](this['config']['percy'])&&(!this[_0x5b6135(0x1dc)]||!this[_0x5b6135(0x1dc)][_0x5b6135(0x1fa)]()))try{this['percy']=await percyHelper[_0x5b6135(0x2d3)](this[_0x5b6135(0x2b4)]);if(!this[_0x5b6135(0x1dc)]){process['env']['BROWSERSTACK_PERCY']=_0x54d7d1[_0x5b6135(0x286)];throw new Error(_0x54d7d1[_0x5b6135(0x256)]);}logger[_0x5b6135(0x29f)](_0x54d7d1[_0x5b6135(0x1e7)]),process[_0x5b6135(0x2dc)]['BROWSERSTACK_PERCY']=_0x54d7d1[_0x5b6135(0x2c6)];let _0x54b78a=0x0;const _0x356080=async()=>{const _0x3d1bf6=_0x5b6135;_0x54b78a++,_0x54d7d1[_0x3d1bf6(0x1e1)](_0x54b78a,0x1)&&await this[_0x3d1bf6(0x207)]();};process['on'](_0x54d7d1[_0x5b6135(0x21e)],_0x356080);}catch(_0x1a79c8){process[_0x5b6135(0x2dc)][_0x5b6135(0x23e)]=_0x54d7d1[_0x5b6135(0x286)],logger[_0x5b6135(0x2aa)](_0x5b6135(0x231)+_0x1a79c8);throw new Error(_0x1a79c8[_0x5b6135(0x227)]());}}async[a100_0x2963fa(0x207)](){const _0x35d5d3=a100_0x2963fa,_0x5df49c={};_0x5df49c[_0x35d5d3(0x252)]=_0x35d5d3(0x229),_0x5df49c[_0x35d5d3(0x281)]='Error\x20occured\x20while\x20stopping\x20percy';const _0x2dd038=_0x5df49c;if(this['percy']&&this['percy'][_0x35d5d3(0x1fa)]())try{await percyHelper[_0x35d5d3(0x207)](this[_0x35d5d3(0x1dc)]),logger['info'](_0x2dd038[_0x35d5d3(0x252)]);}catch(_0x41e962){logger['error'](_0x2dd038['MQrAU'],_0x41e962[_0x35d5d3(0x220)]);}}async[a100_0x2963fa(0x20f)](){const _0x402bd3=a100_0x2963fa,_0x5c62c6={};_0x5c62c6[_0x402bd3(0x2c2)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x5c62c6['QmkAS']=_0x402bd3(0x2cd);const _0x17667d=_0x5c62c6;if(helper['isBrowserstackInfra']()&&helper[_0x402bd3(0x22c)](this[_0x402bd3(0x2b4)][_0x402bd3(0x245)])&&(!this['browserstackLocal']||!this[_0x402bd3(0x245)][_0x402bd3(0x1fa)]()))try{if(this[_0x402bd3(0x2b4)][_0x402bd3(0x2c8)][_0x402bd3(0x24d)]){logger[_0x402bd3(0x2aa)](_0x17667d['mHtRD']);return;}this[_0x402bd3(0x245)]=await helper[_0x402bd3(0x23a)](this[_0x402bd3(0x2b4)]),logger['info'](_0x17667d[_0x402bd3(0x1df)]);}catch(_0x2ca441){logger[_0x402bd3(0x2aa)](_0x2ca441);throw new Error(_0x2ca441['toString']());}}async[a100_0x2963fa(0x296)](){const _0x40c60c=a100_0x2963fa,_0xc427d8={};_0xc427d8[_0x40c60c(0x28e)]=_0x40c60c(0x280),_0xc427d8[_0x40c60c(0x2cf)]=_0x40c60c(0x21d);const _0x12dc45=_0xc427d8;if(this[_0x40c60c(0x245)]&&this[_0x40c60c(0x245)][_0x40c60c(0x1fa)]())try{await helper[_0x40c60c(0x2da)](this[_0x40c60c(0x245)]),logger[_0x40c60c(0x29f)](_0x12dc45[_0x40c60c(0x28e)]);}catch(_0x58b063){logger[_0x40c60c(0x273)](_0x12dc45[_0x40c60c(0x2cf)],_0x58b063[_0x40c60c(0x220)]);}}async[a100_0x2963fa(0x218)](){const _0x1a491a=a100_0x2963fa;return PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x1a491a(0x248)],async()=>{const _0x9c69e7=_0x1a491a;await hubAllocator[_0x9c69e7(0x250)](this[_0x9c69e7(0x2b4)]);})();}async[a100_0x2963fa(0x1d4)](){const _0x114d68=a100_0x2963fa,_0x1b4916={'ZHVVK':function(_0x196608,_0x317ce9){return _0x196608(_0x317ce9);},'kHWvI':'../ai-sdk-node/bundle','eIFlE':function(_0x344c86,_0xcec015,_0x2d8d04,_0x454ac7,_0x5526f6,_0x35efb0,_0x2347ac){return _0x344c86(_0xcec015,_0x2d8d04,_0x454ac7,_0x5526f6,_0x35efb0,_0x2347ac);},'EgcvK':'BrowserstackHealing.init\x20method\x20timed\x20out','GsqTJ':_0x114d68(0x1f1),'UfKwV':function(_0x434698,_0x309910){return _0x434698(_0x309910);},'yRKPT':_0x114d68(0x28a),'ZtnRK':'BrowserstackHealing.init','kGTNF':function(_0x1356ec,_0x473aec){return _0x1356ec===_0x473aec;},'NGyiy':_0x114d68(0x202),'uvBmp':function(_0x5203a1,_0x54c8a9){return _0x5203a1===_0x54c8a9;},'cnTzg':_0x114d68(0x2ba),'boGoO':function(_0x5153cd,_0x25c569){return _0x5153cd===_0x25c569;},'zEWku':_0x114d68(0x22f),'LPsAF':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','KSbkq':function(_0x1eeb8e,_0x4d98d9){return _0x1eeb8e(_0x4d98d9);},'uhsqS':_0x114d68(0x213),'GCYgu':function(_0x38999d,_0x305e10){return _0x38999d>=_0x305e10;},'wTTiX':function(_0x215186,_0x3de9ec){return _0x215186<_0x3de9ec;},'FmigD':function(_0x2628cd,_0x1f8a9c){return _0x2628cd>=_0x1f8a9c;},'sLYHK':_0x114d68(0x293),'SVfxx':'aiHeal:tcgAuth','uldQV':function(_0x38ee95){return _0x38ee95();}},_0x3cabe1=PerformanceTester[_0x114d68(0x287)](_0x1b4916['SVfxx'],async()=>{const _0x1f70c9=_0x114d68;try{const _0x3567b7=new Date(),_0x3b385a=helper[_0x1f70c9(0x2ad)](this['config']),_0x17b861=_0x1b4916['ZHVVK'](require,path[_0x1f70c9(0x2ca)](__dirname,_0x1b4916[_0x1f70c9(0x263)])),_0x41c7cf=_0x1b4916[_0x1f70c9(0x277)](timeoutPromise,constants[_0x1f70c9(0x1ef)],_0x1b4916['EgcvK'],_0x1b4916[_0x1f70c9(0x2b7)],_0x3567b7,this[_0x1f70c9(0x2b4)],this[_0x1f70c9(0x2b3)]),_0x3adc5a={'tcgUrl':constants[_0x1f70c9(0x25b)],'sdkVersion':_0x1b4916['UfKwV'](require,_0x1b4916[_0x1f70c9(0x223)])[_0x1f70c9(0x237)],'methodUsed':_0x1b4916['ZtnRK'],'proxyConfig':_0x3b385a,'os':os[_0x1f70c9(0x290)]()};if(_0x3b385a&&_0x3b385a[_0x1f70c9(0x261)]){utilities[_0x1f70c9(0x275)](constants[_0x1f70c9(0x2d6)],_0x3adc5a,this[_0x1f70c9(0x2b4)],this[_0x1f70c9(0x2b3)]);return;}const _0x5758e6={};_0x5758e6[_0x1f70c9(0x266)]=_0x3b385a;const _0x4c3ba6=await Promise['race']([_0x17b861['init'](this[_0x1f70c9(0x2b4)][_0x1f70c9(0x2b5)],this[_0x1f70c9(0x2b4)][_0x1f70c9(0x2bd)],constants[_0x1f70c9(0x25b)],_0x1b4916[_0x1f70c9(0x25e)](require,_0x1b4916[_0x1f70c9(0x223)])[_0x1f70c9(0x237)],_0x5758e6)[_0x1f70c9(0x2bf)](_0x2153a7=>{const _0x2e760a=_0x1f70c9;return _0x41c7cf[_0x2e760a(0x233)](),_0x2153a7;}),_0x41c7cf]);_0x4c3ba6[_0x1f70c9(0x260)]=_0x1b4916[_0x1f70c9(0x2ab)](_0x4c3ba6[_0x1f70c9(0x260)],_0x1b4916[_0x1f70c9(0x1d7)])||_0x1b4916[_0x1f70c9(0x2ab)](_0x4c3ba6['isHealingEnabled'],!![]);const _0x58e8a8=_0x1b4916[_0x1f70c9(0x2ab)](this['config']['selfHeal'],!![])||_0x1b4916[_0x1f70c9(0x2ab)](this[_0x1f70c9(0x2b4)]['selfHeal'],_0x1b4916['NGyiy']);if(_0x1b4916[_0x1f70c9(0x1db)](_0x4c3ba6[_0x1f70c9(0x220)],constants[_0x1f70c9(0x20e)])&&_0x58e8a8)logger['info'](_0x1b4916['cnTzg']);else{if(!_0x4c3ba6[_0x1f70c9(0x22a)]&&_0x1b4916[_0x1f70c9(0x1ed)](_0x4c3ba6['status'],0x1f7)&&_0x58e8a8)logger[_0x1f70c9(0x29f)](_0x1b4916['zEWku']),utilities[_0x1f70c9(0x275)](constants[_0x1f70c9(0x26c)],_0x3adc5a,this[_0x1f70c9(0x2b4)],this['framework']);else{if(!_0x4c3ba6[_0x1f70c9(0x22a)]&&_0x58e8a8){logger[_0x1f70c9(0x29f)](_0x1b4916[_0x1f70c9(0x2a3)]);const _0x320d3d={'tcgUrl':constants[_0x1f70c9(0x25b)],'sdkVersion':_0x1b4916[_0x1f70c9(0x1fd)](require,_0x1b4916['yRKPT'])[_0x1f70c9(0x237)],'methodUsed':_0x1b4916[_0x1f70c9(0x2ce)],'proxyConfig':_0x3b385a,'os':os['platform']()};utilities['fireFunnelTestEvent'](constants['TCG_AUTH_FAILURE'],_0x320d3d,this[_0x1f70c9(0x2b4)],this[_0x1f70c9(0x2b3)]);}else{if(_0x4c3ba6[_0x1f70c9(0x22a)]&&!_0x4c3ba6[_0x1f70c9(0x260)]&&_0x58e8a8)logger[_0x1f70c9(0x29f)](_0x1b4916[_0x1f70c9(0x212)]);else{if(_0x1b4916[_0x1f70c9(0x226)](_0x4c3ba6[_0x1f70c9(0x2c1)],0xc8)&&_0x1b4916[_0x1f70c9(0x254)](_0x4c3ba6[_0x1f70c9(0x2c1)],0x12c))utilities['fireFunnelTestEvent'](constants[_0x1f70c9(0x28c)],_0x3adc5a,this['config'],this['framework']);else{if(_0x1b4916[_0x1f70c9(0x1f9)](_0x4c3ba6['status'],0x190))_0x3adc5a[_0x1f70c9(0x2c1)]=_0x4c3ba6['status'],utilities[_0x1f70c9(0x275)](constants[_0x1f70c9(0x26f)],_0x3adc5a,this[_0x1f70c9(0x2b4)],this[_0x1f70c9(0x2b3)]);else!_0x4c3ba6[_0x1f70c9(0x2c1)]&&utilities[_0x1f70c9(0x275)](constants['INVALID_INIT_RESP_WITH_USER_IMPACT'],_0x3adc5a,this['config'],this['framework']);}}}}}if(_0x4c3ba6[_0x1f70c9(0x22a)]&&_0x4c3ba6[_0x1f70c9(0x260)]){const _0x1e10da={};_0x1e10da[_0x1f70c9(0x1d1)]=_0x4c3ba6;const _0x1a3ab6=_0x1e10da;_0x3b385a&&(_0x1a3ab6[_0x1f70c9(0x2a8)]=_0x3b385a),_0x1a3ab6[_0x1f70c9(0x2b3)]=this[_0x1f70c9(0x2b3)],_0x1a3ab6[_0x1f70c9(0x269)]=this[_0x1f70c9(0x2b4)],helper['setupTcgConfigFile'](_0x1a3ab6),logger['debug'](_0x1b4916[_0x1f70c9(0x23f)]);}}catch(_0x2e7b38){logger[_0x1f70c9(0x2aa)](_0x1f70c9(0x1dd)+(_0x2e7b38[_0x1f70c9(0x220)]?_0x2e7b38[_0x1f70c9(0x220)]:''));}});await _0x1b4916[_0x114d68(0x205)](_0x3cabe1);}[a100_0x2963fa(0x26a)](){const _0x37bd98=a100_0x2963fa,_0x555fa1={'DKdcU':function(_0x21c9bd,_0x1a6987){return _0x21c9bd(_0x1a6987);},'BbFBo':_0x37bd98(0x292)};_0x555fa1['DKdcU'](require,_0x555fa1[_0x37bd98(0x247)])();}['handleExceptions'](){const _0x17d5c9=a100_0x2963fa,_0x3d5571={};_0x3d5571[_0x17d5c9(0x28f)]=_0x17d5c9(0x26e),_0x3d5571[_0x17d5c9(0x253)]=_0x17d5c9(0x219),_0x3d5571['EJScd']=_0x17d5c9(0x2b2);const _0x2b89f9=_0x3d5571,_0x5ae55a=_0x39e10c=>{const _0x1eb3a5=_0x17d5c9,_0x5d58da=_0x2b89f9[_0x1eb3a5(0x28f)][_0x1eb3a5(0x29d)]('|');let _0x1af91c=0x0;while(!![]){switch(_0x5d58da[_0x1af91c++]){case'0':ClientTroubleShootingService[_0x1eb3a5(0x1f6)]();continue;case'1':PerformanceTester[_0x1eb3a5(0x2c9)](_0x39e10c);continue;case'2':this[_0x1eb3a5(0x271)][_0x1eb3a5(0x1eb)](util['format']('%j',_0x39e10c));continue;case'3':logger[_0x1eb3a5(0x273)](_0x39e10c[_0x1eb3a5(0x220)]);continue;case'4':logger['debug'](util[_0x1eb3a5(0x29a)](_0x39e10c));continue;}break;}};process['on'](_0x2b89f9['VKaBO'],_0x5ae55a),process['on'](_0x2b89f9[_0x17d5c9(0x294)],_0x5ae55a);}async['intExitHandler'](_0xe2789d){const _0x5b803a=a100_0x2963fa,_0x58b53c={};_0x58b53c[_0x5b803a(0x2c0)]=_0x5b803a(0x2a5),_0x58b53c[_0x5b803a(0x26b)]=function(_0x146f80,_0x1d9e46){return _0x146f80+_0x1d9e46;},_0x58b53c[_0x5b803a(0x1f8)]=_0x5b803a(0x25a),_0x58b53c[_0x5b803a(0x257)]=function(_0x495ed9,_0x4b6ea3){return _0x495ed9+_0x4b6ea3;},_0x58b53c[_0x5b803a(0x251)]=_0x5b803a(0x1ff),_0x58b53c[_0x5b803a(0x27a)]=function(_0x184b98,_0x35719c){return _0x184b98+_0x35719c;};const _0x3583b6=_0x58b53c,_0x203201=_0x3583b6['xUIbJ'][_0x5b803a(0x29d)]('|');let _0x4fee20=0x0;while(!![]){switch(_0x203201[_0x4fee20++]){case'0':await BrowserstackCLI[_0x5b803a(0x288)]()[_0x5b803a(0x2b0)]();continue;case'1':this[_0x5b803a(0x283)]=_0xe2789d;continue;case'2':logger[_0x5b803a(0x29f)](_0x3583b6['iGhTi'](_0x3583b6['qhdFW'],_0xe2789d));continue;case'3':this[_0x3583b6['bCIGe'](_0x3583b6[_0x5b803a(0x251)],_0xe2789d)]=!![];continue;case'4':await ClientTroubleShootingService[_0x5b803a(0x264)](_0xe2789d);continue;case'5':await TestHubHandler['stop'](_0xe2789d);continue;case'6':await ClientTroubleShootingService[_0x5b803a(0x1f6)]();continue;case'7':if(this[_0x3583b6[_0x5b803a(0x27a)](_0x3583b6[_0x5b803a(0x251)],_0xe2789d)])return;continue;}break;}}['exitHandler'](){const _0x580ce1=a100_0x2963fa,_0x102905={'UDJQz':function(_0x723042,_0x5910ec){return _0x723042===_0x5910ec;},'LXYvC':_0x580ce1(0x2a2),'zYjCi':function(_0x837a70,_0x32272f){return _0x837a70>_0x32272f;},'XHIvN':function(_0x8df7df,_0x32430c){return _0x8df7df>_0x32430c;},'mugJU':function(_0x3982c4,_0x300872){return _0x3982c4(_0x300872);},'UIdge':function(_0x31648c,_0x7ec9ab){return _0x31648c(_0x7ec9ab);},'bupVo':function(_0x382aa9){return _0x382aa9();},'yoaBo':_0x580ce1(0x22b)};let _0x3d47b0=0x0;return async()=>{const _0x113151=_0x580ce1;_0x3d47b0++;if(_0x102905[_0x113151(0x282)](_0x3d47b0,0x1)){helper[_0x113151(0x1f4)](this[_0x113151(0x2b3)])&&await this[_0x113151(0x296)]();try{logger[_0x113151(0x2aa)](_0x102905[_0x113151(0x24c)]),await TestHubHandler[_0x113151(0x2b0)](_0x3d47b0),await ClientTroubleShootingService[_0x113151(0x1f6)](),await BrowserstackCLI['getInstance']()[_0x113151(0x2b0)]('1');}catch(_0x50e30d){logger[_0x113151(0x2aa)](_0x113151(0x2de)+util['format'](_0x50e30d));}PerformanceTester['end'](PerformanceEvents[_0x113151(0x27b)]);if(PerformanceTester['isEnabled']()){const {measures:_0xd22324,errors:_0x4aaeb2}=await PerformanceTester[_0x113151(0x1d6)](),_0x392d52={};if(_0xd22324&&_0x102905['zYjCi'](_0xd22324['length'],0x0)||_0x4aaeb2&&_0x102905[_0x113151(0x230)](_0x4aaeb2[_0x113151(0x1e0)],0x0)){const _0x14ef38={};_0x14ef38[_0x113151(0x239)]=_0xd22324,_0x14ef38[_0x113151(0x240)]=_0x4aaeb2,Object[_0x113151(0x216)](_0x392d52,_0x14ef38);}try{const _0xa43106=await helper[_0x113151(0x234)](_0x392d52,this[_0x113151(0x2b4)]);logger['debug']('Data\x20sent\x20successfully\x20to\x20'+_0x102905[_0x113151(0x1d9)](getEdsInstrumentationAPIUrl,'')+_0x113151(0x235)+_0xa43106['statusCode']);}catch(_0x4f497f){logger[_0x113151(0x2aa)]('Failed\x20to\x20send\x20data\x20to\x20'+_0x102905[_0x113151(0x2d0)](getEdsInstrumentationAPIUrl,'')+_0x113151(0x21f)+util['format'](_0x4f497f));}try{fs[_0x113151(0x28b)](path[_0x113151(0x2ca)](_0x102905['bupVo'](getLogDir),_0x102905[_0x113151(0x2dd)]),JSON[_0x113151(0x265)](_0x392d52));}catch(_0x3a9467){logger['debug']('Error\x20in\x20writing\x20events\x20to\x20file\x20'+_0x3a9467);}}}logger&&logger[_0x113151(0x2bb)](),fileLogger&&fileLogger[_0x113151(0x2bb)]();};}}exports[a100_0x2963fa(0x244)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a101_0x288b(){const _0x1468c7=['isRunning','bDWox','cUtEk','Operation\x20timed\x20out\x20after\x20','yUIwL','WRlpR','AQZCs','getAccessibilityResults','BMJdF','VoAxE','vbakO','fsUkP','timeouts','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','OwwyD','measureWrapper','getInstance','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','setSeleniumScriptTimeout','\x20failed\x20(','getRetryConfig','page','wCjNv','saveAccessibilityResultsWithRetry','../logger','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','\x20failed\x20for\x20method:\x20','wXuZl','goto',').\x20Error:\x20','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','unknown_method','value','fKURO','getAccessibilityResultsSummaryWithRetry','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','YKORa','../performance/constants','undefined','rSiQM','cRZQD','message','7632265mOZkIO','error','):\x20','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','summary','KvllK','kAvxM','browserstackSessionName','LRrnq','../../bin/playwright/accessibility-helper','lgRBu','warn','info',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','417040RLmRoB','maxRetries','results','performScan','race','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','PERFORM_SCAN','isMobilePlatform','Clxrf','assign','DcdZK','90zTGqpt','WmovZ','KWMKO','uoUgB',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','7043988KyEjYq','__workerDetails','EZvzn','Noifg','getCurrentUrl','getSession','performScanWithRetry','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','setPlaywrightScriptTimeout','qsNBQ','Unknown\x20error','isAccessibilityAutomationSession','is_mobile_session','bBwJO','constructor','env','performComprehensiveAccessibilityScanWithRetry','EdNLh','defaultTimeoutMs','fGBEe','LEcrG','script','dDOTn','options','status','HqmGj','setScriptTimeout','function','ocJfm','qShrU','jejka','WLPYA','name','UfVRO',').\x20Last\x20error:\x20','../performance/performance-tester','setTimeouts','TtElm','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','rTgux','max','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','accessibilityConfig','driverType','winstonLogger','JbhGL','bstackA11yScanOptions','../globals','bBkxR','isAccessibilityPlatform','JjuHx','getAccessibilityResultsSummary','./scripts','getAccessibilityResultsWithRetry','YAyIJ','AnhoW','scannerProcessingTimeout','YlhNm','\x20completed\x20successfully.','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','isPlaywrightPage','jlPJX','aIXtM','\x20-\x20not\x20applicable','Bvbnb','XdkSL','Accessibility\x20scan\x20attempt\x20','2CavkYr','VrsAG','executeAsyncScript','getAccessibilityModule','7364252jDoCSm','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','djbJn','zkGGb','url','mSROh','util','Accessibility\x20results\x20retrieval\x20attempt\x20','getGlobal','evaluate','GKssv','sqovv','rejected','9223944XWLWPt','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','stringify',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','4445646PGRuxo','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','capabilitiesList','playwright-page','type','scanSucceeded','WmlAo','xFJFc','setDefaultTimeout','bstackA11yShouldScan','isSeleniumDriver','ms\x20using\x20timeouts()\x20API','WebDriver','accessibilityPlatform','saveTestResults','kBIIu','allSettled','NFksY','Playwright\x20accessibility\x20helper\x20not\x20available','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','manage','isPlaywright','CKtjT','LasTq','../../bin/v2/browserstackCLI','Ojmld',',\x20cannot\x20perform\x20scan\x20with\x20retry.','Prxjf','kjiwC','Accessibility\x20results\x20save\x20attempt\x20','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','timeoutMs','reason',')\x20with\x20error:\x20','browserStackEvaluate','fulfilled','debug','JhpkP','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','cKoIt','CWFUG','rsckX','SSeZs','1187332wYaHXV','playwright-codecept-driver','Scan\x20attempt\x20','selenium-webdriver','XXUIg'];a101_0x288b=function(){return _0x1468c7;};return a101_0x288b();}const a101_0x251945=a101_0x4c39;(function(_0x4e9d95,_0x3022b0){const _0x541056=a101_0x4c39,_0x13fc54=_0x4e9d95();while(!![]){try{const _0x1f17a5=-parseInt(_0x541056(0x1a1))/0x1*(-parseInt(_0x541056(0x160))/0x2)+-parseInt(_0x541056(0x175))/0x3+parseInt(_0x541056(0x1ef))/0x4+-parseInt(_0x541056(0x1d1))/0x5+parseInt(_0x541056(0x171))/0x6+-parseInt(_0x541056(0x164))/0x7+parseInt(_0x541056(0x1df))/0x8*(parseInt(_0x541056(0x1ea))/0x9);if(_0x1f17a5===_0x3022b0)break;else _0x13fc54['push'](_0x13fc54['shift']());}catch(_0x41f93a){_0x13fc54['push'](_0x13fc54['shift']());}}}(a101_0x288b,0xe7196));const util=require(a101_0x251945(0x16a)),logger=require(a101_0x251945(0x1be))[a101_0x251945(0x21b)],accessibilityHelper=require('./helper'),globals=require(a101_0x251945(0x21e)),scripts=require(a101_0x251945(0x223)),PerformanceTester=require(a101_0x251945(0x212)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a101_0x251945(0x1cc)),BrowserstackCLI=require(a101_0x251945(0x18d));let playwrightA11yHelper=null;function a101_0x4c39(_0x5c7158,_0x490952){const _0x288b34=a101_0x288b();return a101_0x4c39=function(_0x4c396c,_0xbf6923){_0x4c396c=_0x4c396c-0x15b;let _0x6f5d08=_0x288b34[_0x4c396c];return _0x6f5d08;},a101_0x4c39(_0x5c7158,_0x490952);}try{playwrightA11yHelper=require(a101_0x251945(0x1da));}catch(a101_0x449674){logger['debug'](a101_0x251945(0x187));}const a101_0x2f0634={};a101_0x2f0634[a101_0x251945(0x1e0)]=0x1,a101_0x2f0634[a101_0x251945(0x195)]=0x7530,a101_0x2f0634[a101_0x251945(0x201)]=0x7530;const RETRY_CONFIG=a101_0x2f0634,setConfigTimeout=(_0x380cd4,_0x68d41c=null)=>{const _0x4041b9=a101_0x251945,_0x3c0618={'jlPJX':function(_0x1df016,_0x1c16b4){return _0x1df016===_0x1c16b4;},'fGBEe':_0x4041b9(0x227),'qShrU':function(_0x4dfe1c,_0x2b3633){return _0x4dfe1c*_0x2b3633;},'kAvxM':function(_0x2212d5,_0x7ad372){return _0x2212d5(_0x7ad372);}};if(BrowserstackCLI[_0x4041b9(0x1b6)]()[_0x4041b9(0x1a6)]()&&BrowserstackCLI[_0x4041b9(0x1b6)]()[_0x4041b9(0x163)]()){const _0x2fc7b0=BrowserstackCLI[_0x4041b9(0x1b6)]()[_0x4041b9(0x163)]()[_0x4041b9(0x219)],_0x4541d5=_0x2fc7b0[_0x4041b9(0x206)][_0x4041b9(0x177)]||[];for(const _0x289b30 of _0x4541d5){_0x3c0618[_0x4041b9(0x22c)](_0x289b30[_0x4041b9(0x20f)],_0x3c0618[_0x4041b9(0x202)])&&_0x3c0618['jlPJX'](_0x68d41c,null)&&(_0x380cd4[_0x4041b9(0x195)]=_0x3c0618[_0x4041b9(0x20c)](_0x3c0618[_0x4041b9(0x1d7)](parseInt,_0x289b30[_0x4041b9(0x1c6)]),0x3e8));}}else process[_0x4041b9(0x1fe)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x380cd4[_0x4041b9(0x195)]=_0x3c0618[_0x4041b9(0x20c)](_0x3c0618[_0x4041b9(0x1d7)](parseInt,process[_0x4041b9(0x1fe)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x5c7878=>{const _0x17f2a7=a101_0x251945,_0x49d807={};_0x49d807['Prxjf']='unknown',_0x49d807['EUBvg']=function(_0x11b29c,_0x4e57f9){return _0x11b29c===_0x4e57f9;},_0x49d807[_0x17f2a7(0x15e)]=_0x17f2a7(0x20a),_0x49d807[_0x17f2a7(0x1c1)]=function(_0x7cf1b2,_0x200b49){return _0x7cf1b2===_0x200b49;},_0x49d807['jejka']=function(_0x3c747c,_0x1aff0a){return _0x3c747c===_0x1aff0a;},_0x49d807['dDOTn']=_0x17f2a7(0x178),_0x49d807[_0x17f2a7(0x210)]=function(_0x3f66f6,_0x3cc6c1){return _0x3f66f6===_0x3cc6c1;},_0x49d807['EZvzn']=function(_0x292ea7,_0x56cf24){return _0x292ea7===_0x56cf24;},_0x49d807['EdNLh']=_0x17f2a7(0x1a4),_0x49d807['KvllK']='Page',_0x49d807[_0x17f2a7(0x1aa)]=function(_0x597249,_0x1c13a3){return _0x597249===_0x1c13a3;},_0x49d807[_0x17f2a7(0x1d9)]=_0x17f2a7(0x181),_0x49d807[_0x17f2a7(0x1a0)]=function(_0x32a328,_0x192bbf){return _0x32a328===_0x192bbf;},_0x49d807['DcdZK']='Playwright',_0x49d807[_0x17f2a7(0x184)]=_0x17f2a7(0x1a2),_0x49d807['voIkS']=function(_0x1a983a,_0x3a84fd){return _0x1a983a||_0x3a84fd;},_0x49d807[_0x17f2a7(0x226)]=_0x17f2a7(0x1cd);const _0x4e2d87=_0x49d807;if(!_0x5c7878){const _0x1db67b={};return _0x1db67b[_0x17f2a7(0x18a)]=![],_0x1db67b[_0x17f2a7(0x179)]=_0x4e2d87[_0x17f2a7(0x190)],_0x1db67b;}if(_0x4e2d87['EUBvg'](typeof _0x5c7878[_0x17f2a7(0x16d)],_0x4e2d87['XdkSL'])&&_0x4e2d87['wXuZl'](typeof _0x5c7878[_0x17f2a7(0x168)],_0x4e2d87[_0x17f2a7(0x15e)])&&_0x4e2d87[_0x17f2a7(0x20d)](typeof _0x5c7878[_0x17f2a7(0x1c2)],_0x4e2d87[_0x17f2a7(0x15e)])){const _0x8ac55c={};return _0x8ac55c[_0x17f2a7(0x18a)]=!![],_0x8ac55c[_0x17f2a7(0x179)]=_0x4e2d87[_0x17f2a7(0x205)],_0x8ac55c;}if(_0x4e2d87[_0x17f2a7(0x210)](typeof _0x5c7878[_0x17f2a7(0x162)],_0x4e2d87[_0x17f2a7(0x15e)])&&_0x4e2d87[_0x17f2a7(0x1f1)](typeof _0x5c7878['getCapabilities'],_0x4e2d87[_0x17f2a7(0x15e)])){const _0x58f826={};return _0x58f826['isPlaywright']=![],_0x58f826[_0x17f2a7(0x179)]=_0x4e2d87[_0x17f2a7(0x200)],_0x58f826;}const _0x53517d=_0x5c7878[_0x17f2a7(0x1fd)]?.[_0x17f2a7(0x20f)];if(_0x4e2d87[_0x17f2a7(0x1c1)](_0x53517d,_0x4e2d87[_0x17f2a7(0x1d6)])){const _0x3cc829={};return _0x3cc829[_0x17f2a7(0x18a)]=!![],_0x3cc829[_0x17f2a7(0x179)]=_0x4e2d87[_0x17f2a7(0x205)],_0x3cc829;}if(_0x4e2d87[_0x17f2a7(0x1aa)](_0x53517d,_0x4e2d87[_0x17f2a7(0x1d9)])){const _0x37f196={};return _0x37f196[_0x17f2a7(0x18a)]=![],_0x37f196[_0x17f2a7(0x179)]=_0x4e2d87['EdNLh'],_0x37f196;}if(_0x4e2d87[_0x17f2a7(0x1a0)](_0x53517d,_0x4e2d87[_0x17f2a7(0x1e9)])){const _0x342161={};return _0x342161[_0x17f2a7(0x18a)]=!![],_0x342161[_0x17f2a7(0x179)]=_0x4e2d87[_0x17f2a7(0x184)],_0x342161;}logger[_0x17f2a7(0x1dc)]('Unknown\x20driver/page\x20type:\x20'+_0x4e2d87['voIkS'](_0x53517d,_0x4e2d87[_0x17f2a7(0x226)]));const _0x5dbc7b={};return _0x5dbc7b[_0x17f2a7(0x18a)]=![],_0x5dbc7b['type']=_0x4e2d87['Prxjf'],_0x5dbc7b;},withTimeout=(_0x541db4,_0x120536)=>{const _0x3aab22=a101_0x251945;return Promise[_0x3aab22(0x1e3)]([_0x541db4,new Promise((_0x331f0e,_0x4db6eb)=>setTimeout(()=>_0x4db6eb(new Error(_0x3aab22(0x1a9)+_0x120536+'ms')),_0x120536))]);};exports[a101_0x251945(0x1f5)]=async(_0x25b932,_0x91c15d=null,_0x12d273=null,_0x49dda1=![],_0x5382cb=null)=>{const _0x39c81c=a101_0x251945,_0x4d24a9={'JhpkP':function(_0x598b70,_0x270a48){return _0x598b70&&_0x270a48;},'GKssv':function(_0x27e37e,_0x4edf7a,_0x330090){return _0x27e37e(_0x4edf7a,_0x330090);},'VrsAG':function(_0x3e7ffe,_0x432f46){return _0x3e7ffe===_0x432f46;},'LHGam':_0x39c81c(0x1a2),'Bvbnb':function(_0x21ca7b,_0x326ff5,_0x59a502){return _0x21ca7b(_0x326ff5,_0x59a502);},'JjuHx':function(_0x24ce66,_0x2430e4,_0x56c205){return _0x24ce66(_0x2430e4,_0x56c205);},'aIXtM':function(_0x9ed023,_0x2e5b67){return _0x9ed023(_0x2e5b67);},'HqmGj':function(_0x18ba81,_0x3fb901){return _0x18ba81||_0x3fb901;},'XyjXn':function(_0x5a8311,_0x48a7ed){return _0x5a8311===_0x48a7ed;},'Ojmld':_0x39c81c(0x220),'cUtEk':function(_0x4e491e,_0x1b8223){return _0x4e491e!==_0x1b8223;},'Bolqq':_0x39c81c(0x17e),'kjiwC':function(_0x210187,_0x5dfb7b){return _0x210187===_0x5dfb7b;},'xFJFc':_0x39c81c(0x1e4),'MMBYn':_0x39c81c(0x1c5),'IOrGz':function(_0x4a823a,_0x2fdd41){return _0x4a823a===_0x2fdd41;},'AQZCs':_0x39c81c(0x20a),'WmovZ':function(_0x236321,_0x4a7190){return _0x236321===_0x4a7190;},'OwwyD':function(_0x49a0a5,_0x1dbbce){return _0x49a0a5<=_0x1dbbce;},'rsckX':function(_0x57b8b2,_0x5381d9){return _0x57b8b2+_0x5381d9;},'cKoIt':function(_0x228bf3,_0x18dfeb){return _0x228bf3+_0x18dfeb;},'APSNM':_0x39c81c(0x1f9)},{isPlaywright:_0x4acc31,type:_0x524168}=_0x4d24a9[_0x39c81c(0x15b)](detectDriverType,_0x25b932),_0x168251=_0x49dda1?_0x4d24a9[_0x39c81c(0x208)](_0x5382cb,{}):global[_0x39c81c(0x21d)]||{},_0x54e9d0=_0x4acc31?global['accessibilityPlatform']&&(_0x49dda1||_0x4d24a9['XyjXn'](global[_0x39c81c(0x17e)],!![])):accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x39c81c(0x16c)](_0x4d24a9[_0x39c81c(0x18e)])&&(_0x49dda1||_0x4d24a9[_0x39c81c(0x1a8)](globals[_0x39c81c(0x16c)](_0x4d24a9['Bolqq']),![]));if(!_0x54e9d0)return _0x4acc31&&global[_0x39c81c(0x182)]&&_0x4d24a9[_0x39c81c(0x191)](global[_0x39c81c(0x17e)],![])||!_0x4acc31&&globals['getGlobal'](_0x4d24a9[_0x39c81c(0x18e)])&&_0x4d24a9[_0x39c81c(0x161)](globals['getGlobal'](_0x4d24a9['Bolqq']),![])?logger[_0x39c81c(0x19a)](_0x4d24a9[_0x39c81c(0x17c)]):logger[_0x39c81c(0x1dc)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x524168+_0x39c81c(0x18f)),![];const _0x13cd91=_0x91c15d||global[_0x39c81c(0x1d8)]||_0x4d24a9['MMBYn'];let _0x3cbf21=null;const _0x29ad78={'testhub_btcer_uuid':global[_0x39c81c(0x1f0)]?.['currentTest']?.['id'],'url':_0x4d24a9['IOrGz'](typeof _0x25b932[_0x39c81c(0x168)],_0x4d24a9[_0x39c81c(0x1ac)])?await _0x25b932[_0x39c81c(0x168)]():_0x4d24a9[_0x39c81c(0x191)](typeof _0x25b932[_0x39c81c(0x1f3)],_0x4d24a9[_0x39c81c(0x1ac)])?await _0x25b932[_0x39c81c(0x1f3)]():'','automate_session_id':_0x4d24a9[_0x39c81c(0x1eb)](typeof _0x25b932[_0x39c81c(0x1f4)],_0x4d24a9[_0x39c81c(0x1ac)])?(await _0x25b932[_0x39c81c(0x1f4)]())['getId']():''};for(let _0x5ac478=0x1;_0x4d24a9[_0x39c81c(0x1b4)](_0x5ac478,_0x4d24a9[_0x39c81c(0x19f)](RETRY_CONFIG[_0x39c81c(0x1e0)],0x1));_0x5ac478++){try{return logger[_0x39c81c(0x19a)](_0x39c81c(0x15f)+_0x5ac478+'/'+_0x4d24a9[_0x39c81c(0x19d)](RETRY_CONFIG['maxRetries'],0x1)+'\x20for\x20method:\x20'+_0x13cd91+'\x20('+_0x524168+')'),await PerformanceTester[_0x39c81c(0x1b5)](PerformanceA11yEvents[_0x39c81c(0x1e5)],async()=>{const _0x1c5067=_0x39c81c;let _0x3c0c8f;if(_0x4d24a9[_0x1c5067(0x19b)](_0x4acc31,playwrightA11yHelper)){_0x4d24a9[_0x1c5067(0x16e)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x25b932,RETRY_CONFIG[_0x1c5067(0x195)]);let _0x4a2f03=_0x25b932;_0x4d24a9[_0x1c5067(0x161)](_0x524168,_0x4d24a9['LHGam'])&&(_0x4a2f03=_0x25b932[_0x1c5067(0x1bb)]);const _0x3e822c=global['isMobilePlatform']?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper['resolveMobileThTestRunUuid']()}:{};_0x3c0c8f=await _0x4d24a9[_0x1c5067(0x15d)](withTimeout,playwrightA11yHelper[_0x1c5067(0x1e2)](_0x4a2f03,_0x13cd91,_0x168251,_0x3e822c),RETRY_CONFIG['timeoutMs']),await exports[_0x1c5067(0x1f7)](_0x25b932,RETRY_CONFIG[_0x1c5067(0x201)]);}else await exports[_0x1c5067(0x1b8)](_0x25b932,RETRY_CONFIG[_0x1c5067(0x195)]),_0x3c0c8f=await _0x4d24a9[_0x1c5067(0x221)](withTimeout,accessibilityHelper[_0x1c5067(0x1e2)](_0x25b932,_0x13cd91,_0x49dda1,_0x168251),RETRY_CONFIG[_0x1c5067(0x195)]),await exports[_0x1c5067(0x1b8)](_0x25b932,RETRY_CONFIG[_0x1c5067(0x201)]);logger[_0x1c5067(0x19a)](_0x1c5067(0x1a3)+_0x5ac478+_0x1c5067(0x229));},{'command':_0x13cd91,..._0x29ad78})(),logger[_0x39c81c(0x1dd)](_0x39c81c(0x1c4)+_0x5ac478+'.'),!![];}catch(_0x4d8ce6){_0x3cbf21=_0x4d8ce6,logger[_0x39c81c(0x19a)](_0x39c81c(0x15f)+_0x5ac478+_0x39c81c(0x1c0)+_0x13cd91+'\x20('+_0x524168+_0x39c81c(0x1c3)+_0x4d8ce6[_0x39c81c(0x1d0)]);}}return logger['error'](_0x39c81c(0x1b3)+_0x13cd91+'\x20('+_0x524168+_0x39c81c(0x197)+(_0x3cbf21?.[_0x39c81c(0x1d0)]||_0x4d24a9['APSNM'])),![];},exports[a101_0x251945(0x224)]=async(_0x8d5348,_0xdf6514)=>{const _0x1d6bc6=a101_0x251945,_0x2191d8={'Rljuu':function(_0x3f9869,_0x4e6438){return _0x3f9869(_0x4e6438);},'eAyuQ':_0x1d6bc6(0x220),'CWFUG':function(_0x22c02a,_0x26eff0){return _0x22c02a<=_0x26eff0;},'sqovv':function(_0x57def8,_0x5b3379){return _0x57def8+_0x5b3379;},'vbakO':function(_0x30c0f4,_0x3703bb){return _0x30c0f4+_0x3703bb;},'zhdTc':function(_0x3844bd,_0xc3be10){return _0x3844bd&&_0xc3be10;},'Noifg':function(_0x946adc,_0x3dc69e,_0x5e76cb){return _0x946adc(_0x3dc69e,_0x5e76cb);},'LasTq':function(_0xeede27,_0x20a118,_0x1c901a){return _0xeede27(_0x20a118,_0x1c901a);},'KbcDp':_0x1d6bc6(0x1f9)},{isPlaywright:_0x1f5b3a,type:_0x39c613}=_0x2191d8['Rljuu'](detectDriverType,_0x8d5348),_0x46970b=_0x1f5b3a?_0xdf6514[_0x1d6bc6(0x182)]:accessibilityHelper[_0x1d6bc6(0x1fa)]()&&globals[_0x1d6bc6(0x16c)](_0x2191d8['eAyuQ']);if(!_0x46970b)return logger['warn'](_0x1d6bc6(0x176)+_0x39c613+_0x1d6bc6(0x1ee)),[];let _0x16fe9e=null;for(let _0x4fd578=0x1;_0x2191d8[_0x1d6bc6(0x19e)](_0x4fd578,_0x2191d8[_0x1d6bc6(0x16f)](RETRY_CONFIG[_0x1d6bc6(0x1e0)],0x1));_0x4fd578++){try{logger['debug'](_0x1d6bc6(0x16b)+_0x4fd578+'/'+_0x2191d8[_0x1d6bc6(0x1b0)](RETRY_CONFIG[_0x1d6bc6(0x1e0)],0x1)+'\x20('+_0x39c613+')');let _0x38bbc8;return _0x2191d8['zhdTc'](_0x1f5b3a,playwrightA11yHelper)?(_0x2191d8[_0x1d6bc6(0x1f2)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1d6bc6(0x1f7)](_0x8d5348,RETRY_CONFIG[_0x1d6bc6(0x195)]),_0x38bbc8=await _0x2191d8[_0x1d6bc6(0x18c)](withTimeout,playwrightA11yHelper[_0x1d6bc6(0x1ad)](_0x8d5348),RETRY_CONFIG['timeoutMs']),await exports[_0x1d6bc6(0x1f7)](_0x8d5348,RETRY_CONFIG[_0x1d6bc6(0x201)])):(await exports['setSeleniumScriptTimeout'](_0x8d5348,RETRY_CONFIG[_0x1d6bc6(0x195)]),_0x38bbc8=await _0x2191d8[_0x1d6bc6(0x18c)](withTimeout,accessibilityHelper[_0x1d6bc6(0x1ad)](_0x8d5348,_0xdf6514),RETRY_CONFIG[_0x1d6bc6(0x195)]),await exports[_0x1d6bc6(0x1b8)](_0x8d5348,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x1d6bc6(0x1dd)](_0x1d6bc6(0x215)+_0x4fd578+'\x20('+_0x39c613+')'),_0x38bbc8;}catch(_0x4b9a4f){_0x16fe9e=_0x4b9a4f,logger[_0x1d6bc6(0x1dc)](_0x1d6bc6(0x16b)+_0x4fd578+_0x1d6bc6(0x1b9)+_0x39c613+_0x1d6bc6(0x1c3)+_0x4b9a4f[_0x1d6bc6(0x1d0)]);}}return logger[_0x1d6bc6(0x1d2)](_0x1d6bc6(0x188)+_0x39c613+_0x1d6bc6(0x211)+(_0x16fe9e?.[_0x1d6bc6(0x1d0)]||_0x2191d8['KbcDp'])),[];},exports[a101_0x251945(0x1c8)]=async(_0x40822a,_0x52c3fa)=>{const _0x350022=a101_0x251945,_0x2dbe29={'lgRBu':function(_0x54330e,_0xe28ccf){return _0x54330e(_0xe28ccf);},'WLPYA':_0x350022(0x220),'vjHAY':function(_0x2e079a,_0xcc2b13){return _0x2e079a<=_0xcc2b13;},'YKORa':function(_0xba876c,_0x436da0){return _0xba876c+_0x436da0;},'NFksY':function(_0x6414ad,_0x4273a8){return _0x6414ad+_0x4273a8;},'jWVjP':function(_0x42ccee,_0x1ba6c2){return _0x42ccee&&_0x1ba6c2;},'rSiQM':function(_0x283684,_0x4eb3c1,_0x386e28){return _0x283684(_0x4eb3c1,_0x386e28);},'HIaFL':function(_0x11bc61,_0xe6747c,_0x51df52){return _0x11bc61(_0xe6747c,_0x51df52);},'CKtjT':_0x350022(0x1f9)},{isPlaywright:_0xf81a08,type:_0x4fe9b7}=_0x2dbe29[_0x350022(0x1db)](detectDriverType,_0x40822a),_0xf34a70=_0xf81a08?_0x52c3fa[_0x350022(0x182)]:accessibilityHelper[_0x350022(0x1fa)]()&&globals[_0x350022(0x16c)](_0x2dbe29[_0x350022(0x20e)]);if(!_0xf34a70)return logger[_0x350022(0x1dc)](_0x350022(0x176)+_0x4fe9b7+_0x350022(0x174)),{};let _0x32c5dd=null;for(let _0x15db2e=0x1;_0x2dbe29['vjHAY'](_0x15db2e,_0x2dbe29[_0x350022(0x1cb)](RETRY_CONFIG[_0x350022(0x1e0)],0x1));_0x15db2e++){try{logger['debug'](_0x350022(0x1f6)+_0x15db2e+'/'+_0x2dbe29[_0x350022(0x186)](RETRY_CONFIG[_0x350022(0x1e0)],0x1)+'\x20('+_0x4fe9b7+')');let _0x56f871;return _0x2dbe29['jWVjP'](_0xf81a08,playwrightA11yHelper)?(_0x2dbe29['rSiQM'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x350022(0x1f7)](_0x40822a,RETRY_CONFIG['timeoutMs']),_0x56f871=await _0x2dbe29[_0x350022(0x1ce)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x40822a),RETRY_CONFIG['timeoutMs']),await exports[_0x350022(0x1f7)](_0x40822a,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x350022(0x1b8)](_0x40822a,RETRY_CONFIG[_0x350022(0x195)]),_0x56f871=await _0x2dbe29['HIaFL'](withTimeout,accessibilityHelper[_0x350022(0x222)](_0x40822a,_0x52c3fa),RETRY_CONFIG[_0x350022(0x195)]),await exports[_0x350022(0x1b8)](_0x40822a,RETRY_CONFIG['defaultTimeoutMs'])),logger['info'](_0x350022(0x194)+_0x15db2e+'\x20('+_0x4fe9b7+')'),_0x56f871;}catch(_0x2eb977){_0x32c5dd=_0x2eb977,logger['warn'](_0x350022(0x1f6)+_0x15db2e+_0x350022(0x1b9)+_0x4fe9b7+_0x350022(0x1c3)+_0x2eb977['message']);}}return logger[_0x350022(0x1d2)](_0x350022(0x1bf)+_0x4fe9b7+_0x350022(0x211)+(_0x32c5dd?.[_0x350022(0x1d0)]||_0x2dbe29[_0x350022(0x18b)])),{};},exports[a101_0x251945(0x1ff)]=async(_0x3fd970,_0x4fa5df,_0x50fe66=null)=>{const _0x10c5da=a101_0x251945,_0x2fd697={'bBkxR':function(_0x1c5057,_0x3d8331){return _0x1c5057(_0x3d8331);},'fsUkP':function(_0x2264ec,_0x5bcd94){return _0x2264ec===_0x5bcd94;},'fKURO':_0x10c5da(0x199),'yqKlS':function(_0x4db646,_0x3b3100){return _0x4db646===_0x3b3100;},'BMJdF':_0x10c5da(0x170),'cjjIY':function(_0x347545,_0x3439f1){return _0x347545===_0x3439f1;},'XXUIg':_0x10c5da(0x1ca)},{isPlaywright:_0x5cf217,type:_0x55ae94}=_0x2fd697[_0x10c5da(0x21f)](detectDriverType,_0x3fd970),_0x33cb0e={};_0x33cb0e['scanSucceeded']=![],_0x33cb0e[_0x10c5da(0x1e1)]=[],_0x33cb0e[_0x10c5da(0x1d5)]={},_0x33cb0e['error']=null,_0x33cb0e[_0x10c5da(0x21a)]=_0x55ae94;const _0x14c72c=_0x33cb0e;try{_0x14c72c[_0x10c5da(0x17a)]=await exports['performScanWithRetry'](_0x3fd970,_0x50fe66);if(_0x14c72c['scanSucceeded']){const [_0x26b8f4,_0x405a64]=await Promise[_0x10c5da(0x185)]([exports[_0x10c5da(0x224)](_0x3fd970,_0x4fa5df),exports[_0x10c5da(0x1c8)](_0x3fd970,_0x4fa5df)]);_0x14c72c[_0x10c5da(0x1e1)]=_0x2fd697[_0x10c5da(0x1b1)](_0x26b8f4[_0x10c5da(0x207)],_0x2fd697[_0x10c5da(0x1c7)])?_0x26b8f4[_0x10c5da(0x1c6)]:[],_0x14c72c[_0x10c5da(0x1d5)]=_0x2fd697[_0x10c5da(0x1b1)](_0x405a64[_0x10c5da(0x207)],_0x2fd697[_0x10c5da(0x1c7)])?_0x405a64[_0x10c5da(0x1c6)]:{},_0x2fd697['yqKlS'](_0x26b8f4[_0x10c5da(0x207)],_0x2fd697[_0x10c5da(0x1ae)])&&logger[_0x10c5da(0x1dc)](_0x10c5da(0x218)+_0x55ae94+_0x10c5da(0x1d3)+_0x26b8f4[_0x10c5da(0x196)]?.['message']),_0x2fd697['cjjIY'](_0x405a64[_0x10c5da(0x207)],_0x2fd697['BMJdF'])&&logger[_0x10c5da(0x1dc)](_0x10c5da(0x172)+_0x55ae94+'):\x20'+_0x405a64[_0x10c5da(0x196)]?.[_0x10c5da(0x1d0)]);}}catch(_0x28bdce){_0x14c72c[_0x10c5da(0x1d2)]=_0x28bdce['message']||_0x2fd697[_0x10c5da(0x1a5)],logger[_0x10c5da(0x1d2)]('Comprehensive\x20accessibility\x20scan\x20failed\x20('+_0x55ae94+_0x10c5da(0x1d3)+_0x14c72c[_0x10c5da(0x1d2)]);}return _0x14c72c;},exports['updateRetryConfig']=_0x1398da=>{const _0x38dd8a=a101_0x251945,_0x5157c9={};_0x5157c9['rTgux']=function(_0xac9f05,_0x20f6f9){return _0xac9f05!==_0x20f6f9;},_0x5157c9[_0x38dd8a(0x1f8)]=function(_0x1d5234,_0x5d9db7){return _0x1d5234!==_0x5d9db7;};const _0x1ef3fd=_0x5157c9;_0x1ef3fd[_0x38dd8a(0x216)](_0x1398da['maxRetries'],undefined)&&(RETRY_CONFIG[_0x38dd8a(0x1e0)]=Math['max'](0x0,_0x1398da['maxRetries'])),_0x1ef3fd[_0x38dd8a(0x1f8)](_0x1398da[_0x38dd8a(0x195)],undefined)&&(RETRY_CONFIG[_0x38dd8a(0x195)]=Math[_0x38dd8a(0x217)](0x3e8,_0x1398da[_0x38dd8a(0x195)])),logger[_0x38dd8a(0x19a)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x38dd8a(0x173)](RETRY_CONFIG));},exports[a101_0x251945(0x1ba)]=()=>{const _0x53fdb2={...RETRY_CONFIG};return _0x53fdb2;},exports[a101_0x251945(0x22b)]=_0x24642d=>{const _0x54f931=a101_0x251945,_0x129512={'Ivlkn':function(_0x412d10,_0x47c8d9){return _0x412d10(_0x47c8d9);}};return _0x129512['Ivlkn'](detectDriverType,_0x24642d)[_0x54f931(0x18a)];},exports[a101_0x251945(0x17f)]=_0xaccb7b=>{const _0x37f849=a101_0x251945,_0x1f38ce={'jDixC':function(_0x3c458c,_0x1d9f0f){return _0x3c458c(_0x1d9f0f);},'uAjQB':function(_0x318b7c,_0x41c0ca){return _0x318b7c===_0x41c0ca;},'mSROh':_0x37f849(0x1a4)},{isPlaywright:_0x3ea51f,type:_0x2ee1ae}=_0x1f38ce['jDixC'](detectDriverType,_0xaccb7b);return!_0x3ea51f&&_0x1f38ce['uAjQB'](_0x2ee1ae,_0x1f38ce[_0x37f849(0x169)]);},exports[a101_0x251945(0x1f7)]=async(_0x15a1a4,_0x5200b6=null)=>{const _0x1593e7=a101_0x251945,_0xc40dc6={'JbhGL':function(_0x141f64,_0x3406f4){return _0x141f64(_0x3406f4);},'djbJn':function(_0x3626ff,_0x30d889){return _0x3626ff===_0x30d889;},'YAyIJ':'function'},{isPlaywright:_0x451c3a,type:_0x265663}=_0xc40dc6[_0x1593e7(0x21c)](detectDriverType,_0x15a1a4);if(!_0x451c3a)return logger[_0x1593e7(0x19a)]('Skipping\x20timeout\x20setting\x20for\x20'+_0x265663+_0x1593e7(0x15c)),!![];const _0x484164=_0x5200b6||RETRY_CONFIG[_0x1593e7(0x201)];try{return _0x15a1a4&&_0xc40dc6[_0x1593e7(0x166)](typeof _0x15a1a4[_0x1593e7(0x17d)],_0xc40dc6[_0x1593e7(0x225)])&&(await _0x15a1a4[_0x1593e7(0x17d)](_0x484164),logger[_0x1593e7(0x19a)](_0x1593e7(0x19c)+_0x484164+'ms')),!![];}catch(_0x3f63be){return logger[_0x1593e7(0x1dc)](_0x1593e7(0x22a)+_0x3f63be[_0x1593e7(0x1d0)]),![];}},exports[a101_0x251945(0x1b8)]=async(_0xde8069,_0xed2a56=null)=>{const _0x2741d6=a101_0x251945,_0x243f8d={};_0x243f8d[_0x2741d6(0x1ed)]=_0x2741d6(0x1b7),_0x243f8d[_0x2741d6(0x214)]=function(_0x453b6a,_0x1ee77c){return _0x453b6a===_0x1ee77c;},_0x243f8d[_0x2741d6(0x1ec)]=_0x2741d6(0x20a),_0x243f8d[_0x2741d6(0x1cf)]=function(_0x78a152,_0x4e215c){return _0x78a152===_0x4e215c;},_0x243f8d[_0x2741d6(0x17b)]=function(_0xcf1112,_0x36e6f2){return _0xcf1112===_0x36e6f2;},_0x243f8d[_0x2741d6(0x20b)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x243f8d['JPAyG']=_0x2741d6(0x193);const _0x176eab=_0x243f8d;if(!exports[_0x2741d6(0x17f)](_0xde8069))return logger['warn'](_0x176eab[_0x2741d6(0x1ed)]),![];const _0x2a097b=_0xed2a56||RETRY_CONFIG[_0x2741d6(0x201)];try{if(_0xde8069&&_0x176eab[_0x2741d6(0x214)](typeof _0xde8069[_0x2741d6(0x189)],_0x176eab[_0x2741d6(0x1ec)])){const _0x4b808b=_0xde8069[_0x2741d6(0x189)]();if(_0x4b808b&&_0x176eab[_0x2741d6(0x1cf)](typeof _0x4b808b[_0x2741d6(0x1b2)],_0x176eab['KWMKO']))await _0x4b808b[_0x2741d6(0x1b2)]()['setScriptTimeout'](_0x2a097b),logger['debug']('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x2a097b+_0x2741d6(0x180));else{if(_0x4b808b&&_0x176eab[_0x2741d6(0x214)](typeof _0x4b808b['setTimeouts'],_0x176eab[_0x2741d6(0x1ec)])){const _0x550076={};_0x550076[_0x2741d6(0x204)]=_0x2a097b,await _0x4b808b[_0x2741d6(0x213)](_0x550076),logger[_0x2741d6(0x19a)](_0x2741d6(0x165)+_0x2a097b+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x4b808b&&_0x176eab[_0x2741d6(0x17b)](typeof _0x4b808b[_0x2741d6(0x209)],_0x176eab[_0x2741d6(0x1ec)]))await _0x4b808b[_0x2741d6(0x209)](_0x2a097b),logger['debug'](_0x2741d6(0x165)+_0x2a097b+'ms\x20using\x20setScriptTimeout\x20API');else return logger[_0x2741d6(0x19a)](_0x176eab[_0x2741d6(0x20b)]),!![];}}}else return logger[_0x2741d6(0x19a)](_0x176eab['JPAyG']),!![];return!![];}catch(_0x2a05e0){return logger[_0x2741d6(0x1dc)](_0x2741d6(0x1c9)+_0x2a05e0[_0x2741d6(0x1d0)]),![];}},exports[a101_0x251945(0x1bd)]=async(_0x17d031,_0x3388df)=>{const _0x2df1cb=a101_0x251945,_0x51e054={'LEcrG':function(_0x49bb56,_0x5c9bd1){return _0x49bb56(_0x5c9bd1);},'wCjNv':_0x2df1cb(0x220),'bDWox':function(_0x12ab1b,_0x18f704){return _0x12ab1b<=_0x18f704;},'bBwJO':function(_0x3d1c2d,_0x17e395){return _0x3d1c2d+_0x17e395;},'YlhNm':function(_0x1e3cdc,_0x2943ae){return _0x1e3cdc&&_0x2943ae;},'zkGGb':function(_0x432391,_0x38ec1f,_0x332784){return _0x432391(_0x38ec1f,_0x332784);},'Clxrf':_0x2df1cb(0x1e6),'VoAxE':function(_0x3f22b7,_0x1cbff5,_0x589dce){return _0x3f22b7(_0x1cbff5,_0x589dce);},'WRlpR':_0x2df1cb(0x1f9)},{isPlaywright:_0x46b439,type:_0x97b27d}=_0x51e054[_0x2df1cb(0x203)](detectDriverType,_0x17d031),_0x33fb45=_0x46b439?global[_0x2df1cb(0x182)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x2df1cb(0x16c)](_0x51e054[_0x2df1cb(0x1bc)]);if(!_0x33fb45)return logger['warn'](_0x2df1cb(0x176)+_0x97b27d+_0x2df1cb(0x1de)),![];let _0x3f5fb6=null;for(let _0x21746e=0x1;_0x51e054[_0x2df1cb(0x1a7)](_0x21746e,_0x51e054[_0x2df1cb(0x1fc)](RETRY_CONFIG['maxRetries'],0x1));_0x21746e++){try{logger['debug'](_0x2df1cb(0x192)+_0x21746e+'/'+_0x51e054['bBwJO'](RETRY_CONFIG[_0x2df1cb(0x1e0)],0x1)+'\x20('+_0x97b27d+')');if(_0x51e054[_0x2df1cb(0x228)](_0x46b439,playwrightA11yHelper)){_0x51e054[_0x2df1cb(0x167)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2df1cb(0x1f7)](_0x17d031,RETRY_CONFIG[_0x2df1cb(0x195)]);const _0x146b8e={};_0x146b8e[_0x2df1cb(0x1fb)]=!![];const _0x461e03=global['isMobilePlatform']?Object['assign']({},_0x3388df,_0x146b8e):_0x3388df;await _0x51e054['zkGGb'](withTimeout,playwrightA11yHelper[_0x2df1cb(0x198)](_0x17d031,scripts[_0x2df1cb(0x183)],_0x461e03),RETRY_CONFIG['timeoutMs']),await exports[_0x2df1cb(0x1f7)](_0x17d031,RETRY_CONFIG[_0x2df1cb(0x201)]);}else{await exports[_0x2df1cb(0x1b8)](_0x17d031,RETRY_CONFIG['timeoutMs']);const _0x2470d8={};_0x2470d8['is_mobile_session']=!![];const _0x5251b0=globals[_0x2df1cb(0x16c)](_0x51e054[_0x2df1cb(0x1e7)])?Object[_0x2df1cb(0x1e8)]({},_0x3388df,_0x2470d8):_0x3388df;await _0x51e054[_0x2df1cb(0x1af)](withTimeout,_0x17d031['executeAsyncScript'](scripts['saveTestResults'],_0x5251b0),RETRY_CONFIG[_0x2df1cb(0x195)]),await exports[_0x2df1cb(0x1b8)](_0x17d031,RETRY_CONFIG[_0x2df1cb(0x201)]);}return logger[_0x2df1cb(0x1dd)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x21746e+'\x20('+_0x97b27d+')'),!![];}catch(_0x113099){_0x3f5fb6=_0x113099,logger[_0x2df1cb(0x1dc)](_0x2df1cb(0x192)+_0x21746e+'\x20failed\x20('+_0x97b27d+').\x20Error:\x20'+_0x113099['message']);}}return logger[_0x2df1cb(0x1d2)](_0x2df1cb(0x1d4)+_0x97b27d+_0x2df1cb(0x211)+(_0x3f5fb6?.[_0x2df1cb(0x1d0)]||_0x51e054[_0x2df1cb(0x1ab)])),![];};
|
|
1
|
+
const a101_0x1d7345=a101_0x448b;function a101_0x448b(_0x273e2b,_0x28314b){const _0x29b604=a101_0x29b6();return a101_0x448b=function(_0x448bec,_0x5d24ef){_0x448bec=_0x448bec-0x159;let _0x2820c7=_0x29b604[_0x448bec];return _0x2820c7;},a101_0x448b(_0x273e2b,_0x28314b);}(function(_0x16739a,_0x42f572){const _0x3ee63a=a101_0x448b,_0x30243f=_0x16739a();while(!![]){try{const _0x4c7c2c=-parseInt(_0x3ee63a(0x15b))/0x1+-parseInt(_0x3ee63a(0x19e))/0x2+parseInt(_0x3ee63a(0x171))/0x3+-parseInt(_0x3ee63a(0x189))/0x4*(parseInt(_0x3ee63a(0x194))/0x5)+parseInt(_0x3ee63a(0x228))/0x6*(-parseInt(_0x3ee63a(0x1ae))/0x7)+parseInt(_0x3ee63a(0x1f2))/0x8+-parseInt(_0x3ee63a(0x17b))/0x9*(-parseInt(_0x3ee63a(0x1b7))/0xa);if(_0x4c7c2c===_0x42f572)break;else _0x30243f['push'](_0x30243f['shift']());}catch(_0x3f7236){_0x30243f['push'](_0x30243f['shift']());}}}(a101_0x29b6,0xc786b));const util=require(a101_0x1d7345(0x16a)),logger=require(a101_0x1d7345(0x216))[a101_0x1d7345(0x1d4)],accessibilityHelper=require(a101_0x1d7345(0x1cc)),globals=require(a101_0x1d7345(0x182)),scripts=require(a101_0x1d7345(0x166)),PerformanceTester=require(a101_0x1d7345(0x1e7)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a101_0x1d7345(0x1a4)),BrowserstackCLI=require(a101_0x1d7345(0x1ad));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a101_0x1d7345(0x18b));}catch(a101_0x5b4b4b){logger[a101_0x1d7345(0x19f)](a101_0x1d7345(0x1ff));}const a101_0x2f9541={};function a101_0x29b6(){const _0x1ec5e7=['evaluate','JmrVf','name','eizuj','playwright-page','env','bIyON','722196IuSTwM','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','performComprehensiveAccessibilityScanWithRetry','setScriptTimeout','browserStackEvaluate','Accessibility\x20scan\x20attempt\x20','options','\x20-\x20not\x20applicable','resolveMobileThTestRunUuid','dUioq','saveAccessibilityResultsWithRetry','./scripts','qFVUv',',\x20cannot\x20perform\x20scan\x20with\x20retry.','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','util','Unknown\x20driver/page\x20type:\x20','accessibilityPlatform','zkPLw','fYWgg','HXwGX','fdJjq','936345fWPxoz','getCapabilities','defaultTimeoutMs','cTeyx','QjwUZ','getAccessibilityResultsSummary','finjY','):\x20','maxRetries','scannerProcessingTimeout','3552327DPGZQI','script','piLbz','setDefaultTimeout','Page','mBHLT','page','../globals','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','tgLUo','Comprehensive\x20accessibility\x20scan\x20failed\x20(','gGvpB','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','aSHBp','32ZrCEAY','performScan','../../bin/playwright/accessibility-helper','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','LiaJL','accessibilityConfig','Accessibility\x20results\x20save\x20attempt\x20','EujYx','reason','FzlPh','rejected','678415QFdLLS','CkQZr','jkWld','getAccessibilityResults','dQRgz','updateRetryConfig','getAccessibilityResultsSummaryWithRetry','VLlkq','manage','mnezJ','3162388purJEv','debug','bstackA11yScanOptions','nxBnp','getInstance','ms\x20using\x20timeouts()\x20API','../performance/constants','\x20failed\x20(','isPlaywright','getAccessibilityModule','NSLxF','selenium-webdriver','isPlaywrightPage','warn','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','../../bin/v2/browserstackCLI','3549teCuFp','zyipN',').\x20Last\x20error:\x20','Accessibility\x20results\x20retrieval\x20attempt\x20','isAccessibilityPlatform','Accessibility\x20retry\x20configuration\x20updated:\x20','qfSzf','isRunning','TGNum','110GqLlfo','ufhkj','ljEjz','aPgDi','NuUte','fEmMT','RhQiS','capabilitiesList','utfyj','BuYUP','unknown_method','is_mobile_session','PERFORM_SCAN','error','EeysJ','rraHO','IiEKN','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','measureWrapper','yRaSB','executeAsyncScript','./helper','jSWrh','value','OqLyO','__workerDetails','getId','nwodg','WQriH','winstonLogger','FkVnM','BQDMo','IuNOv','euiyF','type','assign','SaMMV','getGlobal','racdg','FKsqx','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','setPlaywrightScriptTimeout','\x20for\x20method:\x20','performScanWithRetry','Playwright','nYHMh','setSeleniumScriptTimeout','../performance/performance-tester','scanSucceeded','getCurrentUrl','info','ZvFud','summary',').\x20Error:\x20','bstackA11yShouldScan','VMjHH','bBYcl','pbdiK','668808hPTxLc','ZuzpL','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','\x20completed\x20successfully.','DNHqs','gIZcI','mwGdT','isSeleniumDriver','isMobilePlatform','Unknown\x20error','KdwkJ','timeouts','VcYVx','Playwright\x20accessibility\x20helper\x20not\x20available','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','aBvfh','message','rWUsO','currentTest','Scan\x20attempt\x20','Skipping\x20timeout\x20setting\x20for\x20','QlPMY','WebDriver','playwright-codecept-driver','MDqfc','setTimeouts','constructor','ffKZI','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','kincV','twuUq','ms\x20using\x20setTimeouts\x20API','ciBUC','goto','getRetryConfig','function','../logger','results','url','WXgxb','lrblP','DyIzO','\x20failed\x20for\x20method:\x20','saveTestResults','qCWNE','lJlgX','TNeqB','max','Operation\x20timed\x20out\x20after\x20','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','timeoutMs','UiBtn','allSettled','race','6288lDCCmJ','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','isAccessibilityAutomationSession','getSession'];a101_0x29b6=function(){return _0x1ec5e7;};return a101_0x29b6();}a101_0x2f9541['maxRetries']=0x1,a101_0x2f9541[a101_0x1d7345(0x224)]=0x7530,a101_0x2f9541[a101_0x1d7345(0x173)]=0x7530;const RETRY_CONFIG=a101_0x2f9541,setConfigTimeout=(_0x4e5f8b,_0x2bb3ba=null)=>{const _0x4046f2=a101_0x1d7345,_0x195079={'euiyF':function(_0x23c491,_0x4587cb){return _0x23c491===_0x4587cb;},'IiEKN':_0x4046f2(0x17a),'WXgxb':function(_0x4c4c05,_0x1d78d1){return _0x4c4c05===_0x1d78d1;},'SaMMV':function(_0x14749b,_0x3e1a9c){return _0x14749b*_0x3e1a9c;},'zyipN':function(_0x354e38,_0x50cff8){return _0x354e38(_0x50cff8);}};if(BrowserstackCLI[_0x4046f2(0x1a2)]()[_0x4046f2(0x1b5)]()&&BrowserstackCLI[_0x4046f2(0x1a2)]()[_0x4046f2(0x1a7)]()){const _0xa13a13=BrowserstackCLI['getInstance']()['getAccessibilityModule']()[_0x4046f2(0x18e)],_0x5d303d=_0xa13a13[_0x4046f2(0x161)][_0x4046f2(0x1be)]||[];for(const _0x1d6a89 of _0x5d303d){_0x195079[_0x4046f2(0x1d8)](_0x1d6a89[_0x4046f2(0x22e)],_0x195079[_0x4046f2(0x1c7)])&&_0x195079[_0x4046f2(0x219)](_0x2bb3ba,null)&&(_0x4e5f8b[_0x4046f2(0x224)]=_0x195079['SaMMV'](_0x195079['zyipN'](parseInt,_0x1d6a89['value']),0x3e8));}}else process[_0x4046f2(0x159)][_0x4046f2(0x183)]&&(_0x4e5f8b['timeoutMs']=_0x195079[_0x4046f2(0x1db)](_0x195079[_0x4046f2(0x1af)](parseInt,process[_0x4046f2(0x159)][_0x4046f2(0x183)]),0x3e8));},detectDriverType=_0x1e6ed7=>{const _0x385921=a101_0x1d7345,_0x151aa7={};_0x151aa7[_0x385921(0x1f0)]='unknown',_0x151aa7[_0x385921(0x1b4)]=function(_0x4eaee6,_0x1d8182){return _0x4eaee6===_0x1d8182;},_0x151aa7[_0x385921(0x1c6)]=_0x385921(0x215),_0x151aa7[_0x385921(0x164)]=function(_0x573e03,_0x2dce20){return _0x573e03===_0x2dce20;},_0x151aa7['DyIzO']=_0x385921(0x230),_0x151aa7['nYHMh']=_0x385921(0x1a9),_0x151aa7[_0x385921(0x20f)]=_0x385921(0x17f),_0x151aa7[_0x385921(0x210)]=function(_0x4923d1,_0x25a023){return _0x4923d1===_0x25a023;},_0x151aa7['finjY']=_0x385921(0x208),_0x151aa7[_0x385921(0x198)]=_0x385921(0x1e4),_0x151aa7['fYWgg']=_0x385921(0x209),_0x151aa7[_0x385921(0x16f)]=function(_0x5c29cd,_0x5dfc5e){return _0x5c29cd||_0x5dfc5e;},_0x151aa7['jSWrh']='undefined';const _0x3a5724=_0x151aa7;if(!_0x1e6ed7){const _0x188009={};return _0x188009[_0x385921(0x1a6)]=![],_0x188009['type']=_0x3a5724[_0x385921(0x1f0)],_0x188009;}if(_0x3a5724[_0x385921(0x1b4)](typeof _0x1e6ed7[_0x385921(0x22c)],_0x3a5724[_0x385921(0x1c6)])&&_0x3a5724['qfSzf'](typeof _0x1e6ed7[_0x385921(0x218)],_0x3a5724[_0x385921(0x1c6)])&&_0x3a5724['dUioq'](typeof _0x1e6ed7[_0x385921(0x213)],_0x3a5724['rraHO'])){const _0x5aab60={};return _0x5aab60[_0x385921(0x1a6)]=!![],_0x5aab60['type']=_0x3a5724[_0x385921(0x21b)],_0x5aab60;}if(_0x3a5724['qfSzf'](typeof _0x1e6ed7[_0x385921(0x1cb)],_0x3a5724[_0x385921(0x1c6)])&&_0x3a5724[_0x385921(0x164)](typeof _0x1e6ed7[_0x385921(0x172)],_0x3a5724[_0x385921(0x1c6)])){const _0x53da3c={};return _0x53da3c[_0x385921(0x1a6)]=![],_0x53da3c[_0x385921(0x1d9)]=_0x3a5724['nYHMh'],_0x53da3c;}const _0x16ba44=_0x1e6ed7[_0x385921(0x20c)]?.['name'];if(_0x3a5724[_0x385921(0x1b4)](_0x16ba44,_0x3a5724[_0x385921(0x20f)])){const _0x53b008={};return _0x53b008[_0x385921(0x1a6)]=!![],_0x53b008[_0x385921(0x1d9)]=_0x3a5724[_0x385921(0x21b)],_0x53b008;}if(_0x3a5724[_0x385921(0x210)](_0x16ba44,_0x3a5724[_0x385921(0x177)])){const _0x4a5772={};return _0x4a5772[_0x385921(0x1a6)]=![],_0x4a5772[_0x385921(0x1d9)]=_0x3a5724[_0x385921(0x1e5)],_0x4a5772;}if(_0x3a5724[_0x385921(0x210)](_0x16ba44,_0x3a5724[_0x385921(0x198)])){const _0x35b932={};return _0x35b932[_0x385921(0x1a6)]=!![],_0x35b932[_0x385921(0x1d9)]=_0x3a5724[_0x385921(0x16e)],_0x35b932;}logger[_0x385921(0x1ab)](_0x385921(0x16b)+_0x3a5724[_0x385921(0x16f)](_0x16ba44,_0x3a5724[_0x385921(0x1cd)]));const _0x2e9ac0={};return _0x2e9ac0[_0x385921(0x1a6)]=![],_0x2e9ac0[_0x385921(0x1d9)]=_0x3a5724['bBYcl'],_0x2e9ac0;},withTimeout=(_0xb2732b,_0x1b68ef)=>{const _0x3ac8b2=a101_0x1d7345;return Promise[_0x3ac8b2(0x227)]([_0xb2732b,new Promise((_0x5ae6bb,_0x5337e0)=>setTimeout(()=>_0x5337e0(new Error(_0x3ac8b2(0x222)+_0x1b68ef+'ms')),_0x1b68ef))]);};exports[a101_0x1d7345(0x1e3)]=async(_0x132aeb,_0x202a7e=null,_0xc3987=null,_0x53dcb5=![],_0xa9593f=null)=>{const _0x1f9bf7=a101_0x1d7345,_0x19cbe4={'hcNeI':function(_0x589b93,_0x53e48c){return _0x589b93&&_0x53e48c;},'ciBUC':function(_0x3271ea,_0x3c5569,_0xc5244){return _0x3271ea(_0x3c5569,_0xc5244);},'aouEB':function(_0x285d23,_0x13ee9e){return _0x285d23===_0x13ee9e;},'NSLxF':_0x1f9bf7(0x209),'gGvpB':function(_0x3580b2,_0x29bd90,_0x4aa242){return _0x3580b2(_0x29bd90,_0x4aa242);},'jkWld':function(_0x21968b,_0x1fb336,_0x32834d){return _0x21968b(_0x1fb336,_0x32834d);},'tNscs':function(_0x1aa07a,_0x1b6665){return _0x1aa07a(_0x1b6665);},'QlPMY':function(_0x104f76,_0x240626){return _0x104f76||_0x240626;},'VcYVx':function(_0x20724a,_0x33e8c2){return _0x20724a!==_0x33e8c2;},'qFVUv':_0x1f9bf7(0x1b2),'eizuj':function(_0x269e6b,_0x2f7780){return _0x269e6b!==_0x2f7780;},'OqLyO':'bstackA11yShouldScan','ufhkj':function(_0x236073,_0x30f08e){return _0x236073===_0x30f08e;},'TGNum':function(_0x5b440d,_0x30f49a){return _0x5b440d===_0x30f49a;},'pbdiK':'[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','ZvFud':_0x1f9bf7(0x1c1),'lrblP':function(_0x5b2090,_0x2447b3){return _0x5b2090===_0x2447b3;},'VMjHH':'function','nxBnp':function(_0x27e62f,_0x50de40){return _0x27e62f===_0x50de40;},'FKsqx':function(_0x30a061,_0x3faf59){return _0x30a061<=_0x3faf59;},'yMtBi':function(_0x1f53c9,_0xb86651){return _0x1f53c9+_0xb86651;},'VLlkq':function(_0x4554f9,_0x5a5392){return _0x4554f9+_0x5a5392;},'ffKZI':'Unknown\x20error'},{isPlaywright:_0x3617ff,type:_0x51a58a}=_0x19cbe4['tNscs'](detectDriverType,_0x132aeb),_0x39f64f=_0x53dcb5?_0x19cbe4[_0x1f9bf7(0x207)](_0xa9593f,{}):global[_0x1f9bf7(0x1a0)]||{},_0x590dc0=_0x3617ff?global['accessibilityPlatform']&&(_0x53dcb5||_0x19cbe4[_0x1f9bf7(0x1fe)](global[_0x1f9bf7(0x1ee)],![])):accessibilityHelper[_0x1f9bf7(0x22a)]()&&globals['getGlobal'](_0x19cbe4[_0x1f9bf7(0x167)])&&(_0x53dcb5||_0x19cbe4[_0x1f9bf7(0x22f)](globals[_0x1f9bf7(0x1dc)](_0x19cbe4[_0x1f9bf7(0x1cf)]),![]));if(!_0x590dc0)return _0x3617ff&&global['accessibilityPlatform']&&_0x19cbe4[_0x1f9bf7(0x1b8)](global[_0x1f9bf7(0x1ee)],![])||!_0x3617ff&&globals['getGlobal'](_0x19cbe4[_0x1f9bf7(0x167)])&&_0x19cbe4[_0x1f9bf7(0x1b6)](globals[_0x1f9bf7(0x1dc)](_0x19cbe4[_0x1f9bf7(0x1cf)]),![])?logger[_0x1f9bf7(0x19f)](_0x19cbe4[_0x1f9bf7(0x1f1)]):logger[_0x1f9bf7(0x1ab)](_0x1f9bf7(0x20e)+_0x51a58a+_0x1f9bf7(0x168)),![];const _0x1ab8fc=_0x202a7e||global['browserstackSessionName']||_0x19cbe4[_0x1f9bf7(0x1eb)];let _0x15935a=null;const _0x258fc5={'testhub_btcer_uuid':global[_0x1f9bf7(0x1d0)]?.[_0x1f9bf7(0x204)]?.['id'],'url':_0x19cbe4[_0x1f9bf7(0x21a)](typeof _0x132aeb[_0x1f9bf7(0x218)],_0x19cbe4[_0x1f9bf7(0x1ef)])?await _0x132aeb[_0x1f9bf7(0x218)]():_0x19cbe4[_0x1f9bf7(0x21a)](typeof _0x132aeb[_0x1f9bf7(0x1e9)],_0x19cbe4[_0x1f9bf7(0x1ef)])?await _0x132aeb[_0x1f9bf7(0x1e9)]():'','automate_session_id':_0x19cbe4[_0x1f9bf7(0x1a1)](typeof _0x132aeb[_0x1f9bf7(0x22b)],_0x19cbe4[_0x1f9bf7(0x1ef)])?(await _0x132aeb[_0x1f9bf7(0x22b)]())[_0x1f9bf7(0x1d1)]():''};for(let _0xb3d882=0x1;_0x19cbe4[_0x1f9bf7(0x1de)](_0xb3d882,_0x19cbe4['yMtBi'](RETRY_CONFIG[_0x1f9bf7(0x179)],0x1));_0xb3d882++){try{return logger[_0x1f9bf7(0x19f)](_0x1f9bf7(0x160)+_0xb3d882+'/'+_0x19cbe4[_0x1f9bf7(0x19b)](RETRY_CONFIG['maxRetries'],0x1)+_0x1f9bf7(0x1e2)+_0x1ab8fc+'\x20('+_0x51a58a+')'),await PerformanceTester[_0x1f9bf7(0x1c9)](PerformanceA11yEvents[_0x1f9bf7(0x1c3)],async()=>{const _0x26ff4c=_0x1f9bf7;let _0xe88b26;if(_0x19cbe4['hcNeI'](_0x3617ff,playwrightA11yHelper)){_0x19cbe4[_0x26ff4c(0x212)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x132aeb,RETRY_CONFIG[_0x26ff4c(0x224)]);let _0x4361a8=_0x132aeb;_0x19cbe4['aouEB'](_0x51a58a,_0x19cbe4[_0x26ff4c(0x1a8)])&&(_0x4361a8=_0x132aeb[_0x26ff4c(0x181)]);const _0x593480=global[_0x26ff4c(0x1fa)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x26ff4c(0x163)]()}:{};_0xe88b26=await _0x19cbe4[_0x26ff4c(0x186)](withTimeout,playwrightA11yHelper[_0x26ff4c(0x18a)](_0x4361a8,_0x1ab8fc,_0x39f64f,_0x593480),RETRY_CONFIG[_0x26ff4c(0x224)]),await exports[_0x26ff4c(0x1e1)](_0x132aeb,RETRY_CONFIG[_0x26ff4c(0x173)]);}else await exports['setSeleniumScriptTimeout'](_0x132aeb,RETRY_CONFIG[_0x26ff4c(0x224)]),_0xe88b26=await _0x19cbe4[_0x26ff4c(0x196)](withTimeout,accessibilityHelper[_0x26ff4c(0x18a)](_0x132aeb,_0x1ab8fc,_0x53dcb5,_0x39f64f),RETRY_CONFIG[_0x26ff4c(0x224)]),await exports[_0x26ff4c(0x1e6)](_0x132aeb,RETRY_CONFIG[_0x26ff4c(0x173)]);logger['debug'](_0x26ff4c(0x205)+_0xb3d882+_0x26ff4c(0x1f5));},{'command':_0x1ab8fc,..._0x258fc5})(),logger[_0x1f9bf7(0x1ea)](_0x1f9bf7(0x223)+_0xb3d882+'.'),!![];}catch(_0x4e493e){_0x15935a=_0x4e493e,logger[_0x1f9bf7(0x19f)](_0x1f9bf7(0x160)+_0xb3d882+_0x1f9bf7(0x21c)+_0x1ab8fc+'\x20('+_0x51a58a+_0x1f9bf7(0x1ed)+_0x4e493e[_0x1f9bf7(0x202)]);}}return logger[_0x1f9bf7(0x1c4)]('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x1ab8fc+'\x20('+_0x51a58a+')\x20with\x20error:\x20'+(_0x15935a?.['message']||_0x19cbe4[_0x1f9bf7(0x20d)])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x21ef80,_0x2703e7)=>{const _0x1d346e=a101_0x1d7345,_0x464adf={'EeysJ':function(_0x74b761,_0x15e4d7){return _0x74b761(_0x15e4d7);},'aPgDi':'isAccessibilityPlatform','OgEKL':function(_0x3ddcac,_0x111359){return _0x3ddcac<=_0x111359;},'QjwUZ':function(_0x13e9cf,_0x2e91e0){return _0x13e9cf+_0x2e91e0;},'TNeqB':function(_0x3bb67d,_0x375ae9){return _0x3bb67d&&_0x375ae9;},'zkPLw':function(_0x26f71f,_0x11dfc6,_0xef1c30){return _0x26f71f(_0x11dfc6,_0xef1c30);},'EujYx':function(_0x443577,_0x35ccd9,_0x590340){return _0x443577(_0x35ccd9,_0x590340);},'mwGdT':_0x1d346e(0x1fb)},{isPlaywright:_0x5e55cf,type:_0x336e2a}=_0x464adf[_0x1d346e(0x1c5)](detectDriverType,_0x21ef80),_0x3f461d=_0x5e55cf?_0x2703e7[_0x1d346e(0x16c)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x1d346e(0x1dc)](_0x464adf[_0x1d346e(0x1ba)]);if(!_0x3f461d)return logger[_0x1d346e(0x1ab)](_0x1d346e(0x20e)+_0x336e2a+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.'),[];let _0x7ae62d=null;for(let _0x582297=0x1;_0x464adf['OgEKL'](_0x582297,_0x464adf[_0x1d346e(0x175)](RETRY_CONFIG[_0x1d346e(0x179)],0x1));_0x582297++){try{logger[_0x1d346e(0x19f)](_0x1d346e(0x1b1)+_0x582297+'/'+_0x464adf[_0x1d346e(0x175)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x336e2a+')');let _0x329a58;return _0x464adf[_0x1d346e(0x220)](_0x5e55cf,playwrightA11yHelper)?(_0x464adf[_0x1d346e(0x16d)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1d346e(0x1e1)](_0x21ef80,RETRY_CONFIG[_0x1d346e(0x224)]),_0x329a58=await _0x464adf[_0x1d346e(0x16d)](withTimeout,playwrightA11yHelper[_0x1d346e(0x197)](_0x21ef80),RETRY_CONFIG[_0x1d346e(0x224)]),await exports[_0x1d346e(0x1e1)](_0x21ef80,RETRY_CONFIG[_0x1d346e(0x173)])):(await exports['setSeleniumScriptTimeout'](_0x21ef80,RETRY_CONFIG[_0x1d346e(0x224)]),_0x329a58=await _0x464adf[_0x1d346e(0x190)](withTimeout,accessibilityHelper[_0x1d346e(0x197)](_0x21ef80,_0x2703e7),RETRY_CONFIG[_0x1d346e(0x224)]),await exports[_0x1d346e(0x1e6)](_0x21ef80,RETRY_CONFIG[_0x1d346e(0x173)])),logger[_0x1d346e(0x1ea)]('Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x582297+'\x20('+_0x336e2a+')'),_0x329a58;}catch(_0x22f31d){_0x7ae62d=_0x22f31d,logger[_0x1d346e(0x1ab)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x582297+_0x1d346e(0x1a5)+_0x336e2a+_0x1d346e(0x1ed)+_0x22f31d[_0x1d346e(0x202)]);}}return logger['error']('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x336e2a+').\x20Last\x20error:\x20'+(_0x7ae62d?.[_0x1d346e(0x202)]||_0x464adf[_0x1d346e(0x1f8)])),[];},exports[a101_0x1d7345(0x19a)]=async(_0x193e23,_0x2d282e)=>{const _0x5b2687=a101_0x1d7345,_0x12b801={'qONTC':function(_0x3fa39a,_0x17b512){return _0x3fa39a(_0x17b512);},'aSHBp':'isAccessibilityPlatform','gIZcI':function(_0x4acdb7,_0x1e2bf6){return _0x4acdb7<=_0x1e2bf6;},'lJlgX':function(_0x246b0f,_0x28a4f3){return _0x246b0f+_0x28a4f3;},'CljQd':function(_0x3e5de8,_0x509b54){return _0x3e5de8+_0x509b54;},'ZuzpL':function(_0x45e404,_0x2863fa){return _0x45e404&&_0x2863fa;},'LiaJL':function(_0x5278a5,_0x1dae2b,_0x3e04d3){return _0x5278a5(_0x1dae2b,_0x3e04d3);},'qCWNE':_0x5b2687(0x1fb)},{isPlaywright:_0x1b58c5,type:_0x3b7083}=_0x12b801['qONTC'](detectDriverType,_0x193e23),_0x1598e0=_0x1b58c5?_0x2d282e[_0x5b2687(0x16c)]:accessibilityHelper[_0x5b2687(0x22a)]()&&globals[_0x5b2687(0x1dc)](_0x12b801[_0x5b2687(0x188)]);if(!_0x1598e0)return logger['warn'](_0x5b2687(0x20e)+_0x3b7083+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.'),{};let _0x3b072f=null;for(let _0x12ae1b=0x1;_0x12b801[_0x5b2687(0x1f7)](_0x12ae1b,_0x12b801[_0x5b2687(0x21f)](RETRY_CONFIG[_0x5b2687(0x179)],0x1));_0x12ae1b++){try{logger[_0x5b2687(0x19f)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x12ae1b+'/'+_0x12b801['CljQd'](RETRY_CONFIG[_0x5b2687(0x179)],0x1)+'\x20('+_0x3b7083+')');let _0x431d41;return _0x12b801[_0x5b2687(0x1f3)](_0x1b58c5,playwrightA11yHelper)?(_0x12b801['LiaJL'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x5b2687(0x1e1)](_0x193e23,RETRY_CONFIG['timeoutMs']),_0x431d41=await _0x12b801[_0x5b2687(0x18d)](withTimeout,playwrightA11yHelper[_0x5b2687(0x176)](_0x193e23),RETRY_CONFIG['timeoutMs']),await exports[_0x5b2687(0x1e1)](_0x193e23,RETRY_CONFIG[_0x5b2687(0x173)])):(await exports['setSeleniumScriptTimeout'](_0x193e23,RETRY_CONFIG[_0x5b2687(0x224)]),_0x431d41=await _0x12b801['LiaJL'](withTimeout,accessibilityHelper['getAccessibilityResultsSummary'](_0x193e23,_0x2d282e),RETRY_CONFIG['timeoutMs']),await exports[_0x5b2687(0x1e6)](_0x193e23,RETRY_CONFIG[_0x5b2687(0x173)])),logger[_0x5b2687(0x1ea)](_0x5b2687(0x169)+_0x12ae1b+'\x20('+_0x3b7083+')'),_0x431d41;}catch(_0x276d7a){_0x3b072f=_0x276d7a,logger[_0x5b2687(0x1ab)](_0x5b2687(0x1ac)+_0x12ae1b+_0x5b2687(0x1a5)+_0x3b7083+').\x20Error:\x20'+_0x276d7a['message']);}}return logger[_0x5b2687(0x1c4)]('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x3b7083+').\x20Last\x20error:\x20'+(_0x3b072f?.[_0x5b2687(0x202)]||_0x12b801[_0x5b2687(0x21e)])),{};},exports[a101_0x1d7345(0x15d)]=async(_0x5b56df,_0x31b7e2,_0x2f9123=null)=>{const _0x497f53=a101_0x1d7345,_0x16684a={'mBHLT':function(_0x475185,_0xade2fd){return _0x475185(_0xade2fd);},'BQDMo':function(_0x39daba,_0x2f0d69){return _0x39daba===_0x2f0d69;},'mnezJ':'fulfilled','UiBtn':function(_0x418076,_0x20c323){return _0x418076===_0x20c323;},'BuYUP':_0x497f53(0x193),'bIyON':function(_0x222e1b,_0x260c3e){return _0x222e1b===_0x260c3e;},'NuUte':_0x497f53(0x15c)},{isPlaywright:_0x4c67ad,type:_0x1d30e0}=_0x16684a[_0x497f53(0x180)](detectDriverType,_0x5b56df),_0x518f0c={};_0x518f0c[_0x497f53(0x1e8)]=![],_0x518f0c[_0x497f53(0x217)]=[],_0x518f0c['summary']={},_0x518f0c[_0x497f53(0x1c4)]=null,_0x518f0c['driverType']=_0x1d30e0;const _0x469d7f=_0x518f0c;try{_0x469d7f[_0x497f53(0x1e8)]=await exports[_0x497f53(0x1e3)](_0x5b56df,_0x2f9123);if(_0x469d7f[_0x497f53(0x1e8)]){const [_0x2abbec,_0x4d3243]=await Promise[_0x497f53(0x226)]([exports['getAccessibilityResultsWithRetry'](_0x5b56df,_0x31b7e2),exports[_0x497f53(0x19a)](_0x5b56df,_0x31b7e2)]);_0x469d7f[_0x497f53(0x217)]=_0x16684a[_0x497f53(0x1d6)](_0x2abbec['status'],_0x16684a[_0x497f53(0x19d)])?_0x2abbec[_0x497f53(0x1ce)]:[],_0x469d7f[_0x497f53(0x1ec)]=_0x16684a[_0x497f53(0x225)](_0x4d3243['status'],_0x16684a['mnezJ'])?_0x4d3243[_0x497f53(0x1ce)]:{},_0x16684a['BQDMo'](_0x2abbec['status'],_0x16684a[_0x497f53(0x1c0)])&&logger[_0x497f53(0x1ab)](_0x497f53(0x1f4)+_0x1d30e0+_0x497f53(0x178)+_0x2abbec[_0x497f53(0x191)]?.[_0x497f53(0x202)]),_0x16684a[_0x497f53(0x15a)](_0x4d3243['status'],_0x16684a['BuYUP'])&&logger['warn'](_0x497f53(0x1df)+_0x1d30e0+_0x497f53(0x178)+_0x4d3243[_0x497f53(0x191)]?.[_0x497f53(0x202)]);}}catch(_0x4db981){_0x469d7f['error']=_0x4db981[_0x497f53(0x202)]||_0x16684a[_0x497f53(0x1bb)],logger[_0x497f53(0x1c4)](_0x497f53(0x185)+_0x1d30e0+_0x497f53(0x178)+_0x469d7f[_0x497f53(0x1c4)]);}return _0x469d7f;},exports[a101_0x1d7345(0x199)]=_0x3d9df0=>{const _0x2084da=a101_0x1d7345,_0x2a3eb0={};_0x2a3eb0[_0x2084da(0x1d7)]=function(_0x2882a5,_0xe4a7f1){return _0x2882a5!==_0xe4a7f1;};const _0x237671=_0x2a3eb0;_0x237671[_0x2084da(0x1d7)](_0x3d9df0[_0x2084da(0x179)],undefined)&&(RETRY_CONFIG[_0x2084da(0x179)]=Math[_0x2084da(0x221)](0x0,_0x3d9df0['maxRetries'])),_0x237671[_0x2084da(0x1d7)](_0x3d9df0[_0x2084da(0x224)],undefined)&&(RETRY_CONFIG[_0x2084da(0x224)]=Math[_0x2084da(0x221)](0x3e8,_0x3d9df0[_0x2084da(0x224)])),logger[_0x2084da(0x19f)](_0x2084da(0x1b3)+JSON['stringify'](RETRY_CONFIG));},exports[a101_0x1d7345(0x214)]=()=>{const _0x59ad51={...RETRY_CONFIG};return _0x59ad51;},exports[a101_0x1d7345(0x1aa)]=_0x539dad=>{const _0xb815c1=a101_0x1d7345,_0x5b877c={'yRaSB':function(_0xd2c62f,_0x4eeaf3){return _0xd2c62f(_0x4eeaf3);}};return _0x5b877c[_0xb815c1(0x1ca)](detectDriverType,_0x539dad)[_0xb815c1(0x1a6)];},exports[a101_0x1d7345(0x1f9)]=_0x4c01d6=>{const _0x314d9e=a101_0x1d7345,_0x42d73d={'MDqfc':function(_0x35474f,_0xe12f0a){return _0x35474f(_0xe12f0a);},'nUIUq':function(_0x2efa96,_0xe60a09){return _0x2efa96===_0xe60a09;},'utfyj':_0x314d9e(0x1a9)},{isPlaywright:_0x473498,type:_0x222dd7}=_0x42d73d[_0x314d9e(0x20a)](detectDriverType,_0x4c01d6);return!_0x473498&&_0x42d73d['nUIUq'](_0x222dd7,_0x42d73d[_0x314d9e(0x1bf)]);},exports[a101_0x1d7345(0x1e1)]=async(_0x1b2867,_0x18f15f=null)=>{const _0x5f12fe=a101_0x1d7345,_0x124c8e={'DNHqs':function(_0x4eccc0,_0x3d3463){return _0x4eccc0(_0x3d3463);},'fEmMT':function(_0x1ac13d,_0x3553c6){return _0x1ac13d===_0x3553c6;},'FkVnM':_0x5f12fe(0x215)},{isPlaywright:_0x1809c4,type:_0x43e05e}=_0x124c8e[_0x5f12fe(0x1f6)](detectDriverType,_0x1b2867);if(!_0x1809c4)return logger['debug'](_0x5f12fe(0x206)+_0x43e05e+_0x5f12fe(0x162)),!![];const _0x57cfb1=_0x18f15f||RETRY_CONFIG[_0x5f12fe(0x173)];try{return _0x1b2867&&_0x124c8e[_0x5f12fe(0x1bc)](typeof _0x1b2867[_0x5f12fe(0x17e)],_0x124c8e[_0x5f12fe(0x1d5)])&&(await _0x1b2867[_0x5f12fe(0x17e)](_0x57cfb1),logger[_0x5f12fe(0x19f)]('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x57cfb1+'ms')),!![];}catch(_0x5588e8){return logger[_0x5f12fe(0x1ab)](_0x5f12fe(0x187)+_0x5588e8[_0x5f12fe(0x202)]),![];}},exports[a101_0x1d7345(0x1e6)]=async(_0x3ff053,_0x4c67b1=null)=>{const _0x11aaf7=a101_0x1d7345,_0x1dc4c5={};_0x1dc4c5[_0x11aaf7(0x192)]='Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver',_0x1dc4c5[_0x11aaf7(0x195)]=function(_0xe2414,_0x442367){return _0xe2414===_0x442367;},_0x1dc4c5[_0x11aaf7(0x1bd)]=_0x11aaf7(0x215),_0x1dc4c5[_0x11aaf7(0x203)]=function(_0x401da4,_0x2b8467){return _0x401da4===_0x2b8467;},_0x1dc4c5[_0x11aaf7(0x17d)]=function(_0x5e8b92,_0x38f978){return _0x5e8b92===_0x38f978;},_0x1dc4c5[_0x11aaf7(0x184)]=function(_0x3a9465,_0x57c60c){return _0x3a9465===_0x57c60c;},_0x1dc4c5[_0x11aaf7(0x170)]=_0x11aaf7(0x18c),_0x1dc4c5[_0x11aaf7(0x1fc)]=_0x11aaf7(0x229);const _0x1b8f44=_0x1dc4c5;if(!exports[_0x11aaf7(0x1f9)](_0x3ff053))return logger[_0x11aaf7(0x1ab)](_0x1b8f44[_0x11aaf7(0x192)]),![];const _0x4b8e40=_0x4c67b1||RETRY_CONFIG[_0x11aaf7(0x173)];try{if(_0x3ff053&&_0x1b8f44[_0x11aaf7(0x195)](typeof _0x3ff053[_0x11aaf7(0x19c)],_0x1b8f44[_0x11aaf7(0x1bd)])){const _0x34bff0=_0x3ff053[_0x11aaf7(0x19c)]();if(_0x34bff0&&_0x1b8f44[_0x11aaf7(0x203)](typeof _0x34bff0[_0x11aaf7(0x1fd)],_0x1b8f44[_0x11aaf7(0x1bd)]))await _0x34bff0['timeouts']()['setScriptTimeout'](_0x4b8e40),logger[_0x11aaf7(0x19f)](_0x11aaf7(0x1e0)+_0x4b8e40+_0x11aaf7(0x1a3));else{if(_0x34bff0&&_0x1b8f44['piLbz'](typeof _0x34bff0[_0x11aaf7(0x20b)],_0x1b8f44[_0x11aaf7(0x1bd)])){const _0x14e7e4={};_0x14e7e4[_0x11aaf7(0x17c)]=_0x4b8e40,await _0x34bff0[_0x11aaf7(0x20b)](_0x14e7e4),logger[_0x11aaf7(0x19f)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x4b8e40+_0x11aaf7(0x211));}else{if(_0x34bff0&&_0x1b8f44['tgLUo'](typeof _0x34bff0[_0x11aaf7(0x15e)],_0x1b8f44[_0x11aaf7(0x1bd)]))await _0x34bff0[_0x11aaf7(0x15e)](_0x4b8e40),logger[_0x11aaf7(0x19f)](_0x11aaf7(0x1e0)+_0x4b8e40+'ms\x20using\x20setScriptTimeout\x20API');else return logger[_0x11aaf7(0x19f)](_0x1b8f44[_0x11aaf7(0x170)]),!![];}}}else return logger['debug'](_0x1b8f44[_0x11aaf7(0x1fc)]),!![];return!![];}catch(_0x1ce6b9){return logger[_0x11aaf7(0x1ab)]('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x1ce6b9['message']),![];}},exports[a101_0x1d7345(0x165)]=async(_0x22400d,_0x5033a4)=>{const _0xbfe209=a101_0x1d7345,_0x276407={'nwodg':function(_0x9ab7f5,_0x171fd5){return _0x9ab7f5(_0x171fd5);},'JmrVf':_0xbfe209(0x1b2),'xmEax':function(_0x2f261f,_0x44397c){return _0x2f261f<=_0x44397c;},'ljEjz':function(_0x53a70d,_0x47c153){return _0x53a70d+_0x47c153;},'cTeyx':function(_0x431513,_0x561eac){return _0x431513&&_0x561eac;},'aBvfh':function(_0x4b511a,_0x5397c7,_0x8248f1){return _0x4b511a(_0x5397c7,_0x8248f1);},'WQriH':_0xbfe209(0x1fa),'racdg':_0xbfe209(0x1fb)},{isPlaywright:_0x3c96f4,type:_0x51d87b}=_0x276407[_0xbfe209(0x1d2)](detectDriverType,_0x22400d),_0x453d71=_0x3c96f4?global[_0xbfe209(0x16c)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x276407[_0xbfe209(0x22d)]);if(!_0x453d71)return logger[_0xbfe209(0x1ab)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x51d87b+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x4097f5=null;for(let _0x4298fa=0x1;_0x276407['xmEax'](_0x4298fa,_0x276407[_0xbfe209(0x1b9)](RETRY_CONFIG[_0xbfe209(0x179)],0x1));_0x4298fa++){try{logger['debug'](_0xbfe209(0x18f)+_0x4298fa+'/'+_0x276407[_0xbfe209(0x1b9)](RETRY_CONFIG[_0xbfe209(0x179)],0x1)+'\x20('+_0x51d87b+')');if(_0x276407[_0xbfe209(0x174)](_0x3c96f4,playwrightA11yHelper)){_0x276407[_0xbfe209(0x201)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x22400d,RETRY_CONFIG[_0xbfe209(0x224)]);const _0x4e51e4={};_0x4e51e4['is_mobile_session']=!![];const _0x5844d0=global[_0xbfe209(0x1fa)]?Object[_0xbfe209(0x1da)]({},_0x5033a4,_0x4e51e4):_0x5033a4;await _0x276407['aBvfh'](withTimeout,playwrightA11yHelper[_0xbfe209(0x15f)](_0x22400d,scripts[_0xbfe209(0x21d)],_0x5844d0),RETRY_CONFIG[_0xbfe209(0x224)]),await exports['setPlaywrightScriptTimeout'](_0x22400d,RETRY_CONFIG[_0xbfe209(0x173)]);}else{await exports[_0xbfe209(0x1e6)](_0x22400d,RETRY_CONFIG[_0xbfe209(0x224)]);const _0x1f8e0f={};_0x1f8e0f[_0xbfe209(0x1c2)]=!![];const _0x5a9d1e=globals['getGlobal'](_0x276407[_0xbfe209(0x1d3)])?Object[_0xbfe209(0x1da)]({},_0x5033a4,_0x1f8e0f):_0x5033a4;await _0x276407[_0xbfe209(0x201)](withTimeout,_0x22400d[_0xbfe209(0x1cb)](scripts[_0xbfe209(0x21d)],_0x5a9d1e),RETRY_CONFIG[_0xbfe209(0x224)]),await exports[_0xbfe209(0x1e6)](_0x22400d,RETRY_CONFIG['defaultTimeoutMs']);}return logger[_0xbfe209(0x1ea)](_0xbfe209(0x200)+_0x4298fa+'\x20('+_0x51d87b+')'),!![];}catch(_0x4c22e7){_0x4097f5=_0x4c22e7,logger['warn'](_0xbfe209(0x18f)+_0x4298fa+'\x20failed\x20('+_0x51d87b+').\x20Error:\x20'+_0x4c22e7[_0xbfe209(0x202)]);}}return logger[_0xbfe209(0x1c4)](_0xbfe209(0x1c8)+_0x51d87b+_0xbfe209(0x1b0)+(_0x4097f5?.[_0xbfe209(0x202)]||_0x276407[_0xbfe209(0x1dd)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a102_0x62c2(_0x3f2637,_0x3f28ae){var _0x20da03=a102_0x20da();return a102_0x62c2=function(_0x62c241,_0x900617){_0x62c241=_0x62c241-0x114;var _0x5ccc57=_0x20da03[_0x62c241];return _0x5ccc57;},a102_0x62c2(_0x3f2637,_0x3f28ae);}var a102_0x14aa3b=a102_0x62c2;(function(_0x50280f,_0x5a5882){var _0x1d86b1=a102_0x62c2,_0x10f8c4=_0x50280f();while(!![]){try{var _0x20a7ca=-parseInt(_0x1d86b1(0x12b))/0x1*(-parseInt(_0x1d86b1(0x118))/0x2)+-parseInt(_0x1d86b1(0x12c))/0x3+-parseInt(_0x1d86b1(0x11e))/0x4*(parseInt(_0x1d86b1(0x12f))/0x5)+parseInt(_0x1d86b1(0x128))/0x6*(-parseInt(_0x1d86b1(0x11c))/0x7)+parseInt(_0x1d86b1(0x11f))/0x8+parseInt(_0x1d86b1(0x11d))/0x9+-parseInt(_0x1d86b1(0x120))/0xa;if(_0x20a7ca===_0x5a5882)break;else _0x10f8c4['push'](_0x10f8c4['shift']());}catch(_0x532005){_0x10f8c4['push'](_0x10f8c4['shift']());}}}(a102_0x20da,0x9e32c),exports[a102_0x14aa3b(0x123)]=a102_0x14aa3b(0x126),exports[a102_0x14aa3b(0x129)]='94',exports[a102_0x14aa3b(0x121)]='100',exports[a102_0x14aa3b(0x119)]=a102_0x14aa3b(0x122),exports[a102_0x14aa3b(0x11a)]=a102_0x14aa3b(0x116));var a102_0x4c5607={};a102_0x4c5607[a102_0x14aa3b(0x125)]='Chrome',a102_0x4c5607[a102_0x14aa3b(0x117)]=0x5e,a102_0x4c5607[a102_0x14aa3b(0x11b)]=0x64,a102_0x4c5607[a102_0x14aa3b(0x12e)]=!![];var a102_0x35886f={};function a102_0x20da(){var _0x540247=['min_version_browserstack','354cFjVzI','MINIMUM_CHROMEFORTESTING_VERSION','MINIMUM_SAFARI_VERSION','min_version_non_browserstack','7kULjWN','9477090SZYHmo','40CvGcYX','10288496NjvOBb','659510tUzRdt','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','141','API_URL','Safari','display_name','https://accessibility.browserstack.com/api','playwright-chromium','1515954zckBUI','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','ChromeForTesting','2843oPhizT','2809839NdKDFF','safari','requires_chrome_options_check','469540pTrMNq','chromefortesting','ACCESSIBILITY_SUPPORTED_BROWSERS','Chrome','chromium','chrome','18.4'];a102_0x20da=function(){return _0x540247;};return a102_0x20da();}a102_0x35886f[a102_0x14aa3b(0x125)]=a102_0x14aa3b(0x132),a102_0x35886f[a102_0x14aa3b(0x117)]=0x5e,a102_0x35886f['min_version_non_browserstack']=0x64,a102_0x35886f[a102_0x14aa3b(0x12e)]=!![];var a102_0x6aca15={};a102_0x6aca15[a102_0x14aa3b(0x125)]=a102_0x14aa3b(0x132),a102_0x6aca15[a102_0x14aa3b(0x117)]=0x5e,a102_0x6aca15[a102_0x14aa3b(0x11b)]=0x64,a102_0x6aca15['requires_chrome_options_check']=!![];var a102_0x4a909e={};a102_0x4a909e['display_name']=a102_0x14aa3b(0x12a),a102_0x4a909e[a102_0x14aa3b(0x117)]=0x8d,a102_0x4a909e[a102_0x14aa3b(0x11b)]=0x8d,a102_0x4a909e[a102_0x14aa3b(0x12e)]=!![];var a102_0x4c00dc={};a102_0x4c00dc[a102_0x14aa3b(0x125)]=a102_0x14aa3b(0x124),a102_0x4c00dc[a102_0x14aa3b(0x117)]=18.4,a102_0x4c00dc[a102_0x14aa3b(0x11b)]=18.4,a102_0x4c00dc['requires_chrome_options_check']=![];var a102_0x444225={};a102_0x444225[a102_0x14aa3b(0x115)]=a102_0x4c5607,a102_0x444225[a102_0x14aa3b(0x114)]=a102_0x35886f,a102_0x444225[a102_0x14aa3b(0x127)]=a102_0x6aca15,a102_0x444225[a102_0x14aa3b(0x130)]=a102_0x4a909e,a102_0x444225[a102_0x14aa3b(0x12d)]=a102_0x4c00dc,exports[a102_0x14aa3b(0x131)]=a102_0x444225;
|