browserstack-node-sdk 1.52.3 → 1.53.1
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_0x3ef3dd=a97_0x10ec;function a97_0x10ec(_0x185037,_0x3a8797){const _0x57de87=a97_0x57de();return a97_0x10ec=function(_0x10ec25,_0x5f2310){_0x10ec25=_0x10ec25-0x157;let _0xc87b3e=_0x57de87[_0x10ec25];return _0xc87b3e;},a97_0x10ec(_0x185037,_0x3a8797);}(function(_0x2fdb48,_0x91219d){const _0x522aae=a97_0x10ec,_0x37b9d5=_0x2fdb48();while(!![]){try{const _0x1f72e2=parseInt(_0x522aae(0x1db))/0x1+parseInt(_0x522aae(0x1f2))/0x2*(parseInt(_0x522aae(0x1a8))/0x3)+parseInt(_0x522aae(0x20d))/0x4*(parseInt(_0x522aae(0x182))/0x5)+-parseInt(_0x522aae(0x1d5))/0x6*(parseInt(_0x522aae(0x20e))/0x7)+-parseInt(_0x522aae(0x1e1))/0x8*(parseInt(_0x522aae(0x1c2))/0x9)+-parseInt(_0x522aae(0x189))/0xa+parseInt(_0x522aae(0x16b))/0xb*(parseInt(_0x522aae(0x16a))/0xc);if(_0x1f72e2===_0x91219d)break;else _0x37b9d5['push'](_0x37b9d5['shift']());}catch(_0x4b556d){_0x37b9d5['push'](_0x37b9d5['shift']());}}}(a97_0x57de,0x7cb93));const path=require(a97_0x3ef3dd(0x193)),util=require(a97_0x3ef3dd(0x176)),crypto=require(a97_0x3ef3dd(0x1ca)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require('../../../helpers/logger.js')[a97_0x3ef3dd(0x1da)],{o11yClassErrorHandler}=require(a97_0x3ef3dd(0x173)),TestInfo=require(a97_0x3ef3dd(0x1e3)),{failureData,getFailureType}=require(a97_0x3ef3dd(0x178)),stackTrace=require(a97_0x3ef3dd(0x1be)),a97_0x36cbb8={};a97_0x36cbb8['beforeAll']=a97_0x3ef3dd(0x1ba),a97_0x36cbb8['afterAll']=a97_0x3ef3dd(0x177),a97_0x36cbb8[a97_0x3ef3dd(0x1f1)]='BEFORE_EACH',a97_0x36cbb8[a97_0x3ef3dd(0x184)]=a97_0x3ef3dd(0x1d2);const HOOK_TYPES_MAP=a97_0x36cbb8,hooksMap={};function a97_0x57de(){const _0x109551=['hex','digest','_gitConfigured','gcYHJ','err','relative','finishedAt','path','now','PpyEe','JAZem',',\x20testRunId:\x20','AjNyr','inspect','TJtrO','getState','ZRYnb','parse','RZUuL','IYPHy','parent','debug','unknown','name','cxoVR','javascript','currentTest','VyCqE','123wBcwKo','QELQk','ROOT_DESCRIBE_BLOCK','\x20from\x20compositeKey:\x20','push','testIdentifier','passed','reverse','createIdentifierFromJestTest','root','VnzZL','ILIdB','YRaCs','createJestTestIdentifier','fDyUT','HookRunFinished','file','Exception\x20in\x20createHookData:\x20','BEFORE_ALL','McNsa','started_at','isJestInternalHook','stack-trace','createHookData','getHierarchy','mOEEq','63prSRlO','tjyse','UMIqa','luIOt','__workerDetails','Unknown\x20Test','substring','failed','crypto','dDppD','Exception\x20in\x20getHookRunEventData:\x20','toString','_gitConfigPath','split','beGBq','mFfmc','AFTER_EACH','ytYFy','QeXtN','402VJTHfy','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','update','browserstack-node-agent/src/bin/jest','format','winstonLogger','250077AfLEGI','asyncError','uuid','includes','[jestUtils]\x20No\x20test\x20object\x20provided','failure_reason_expanded','86384coBHGu','expanded','../TestInfo.js','hooks','testPath','getHookRunEventData','LFHzv','TestRunFinished','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','cEryN','gsxff','displayName','failure_type','testAnalyticsId','KWWBo','bUTQv','beforeEach','28966fAOemj','QnvIi','retryOf','MZqbv','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','gASrc','stack',',\x20hookUUID:\x20','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','toISOString','kfNtQ','VriEQ','XmEXe','getName','call','fehhg',',\x20testIdentifier:\x20','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','duration','getRootParentFile','pAWxw','recreateIdentifierFromTestInfo','hook','Sbxwl','jest-circus','pending','createTestFrameworkData','4zlixbQ','40334NBfAdv','configureGit','getFileName','cZDtO','type','ElMII','extractTestFilePath','[jestUtils]\x20Created\x20identifier:\x20','WTaqq','clearHooksMap','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','getTestIdentifier','__jestCurrentTestIdentifier','JEANE','hJLyz','getTime','finished_at','errorsDetailed','Exception\x20in\x20createTestFrameworkData:\x20','ILwyy','LdkAv','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','MXPHg','File\x20path\x20could\x20not\x20be\x20found','rUvhj','apply','title','gUhli','pid','length','124500HLkUlb','143SDmQQF','errors','bfjDQ','ZPHOE','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','Creating\x20hook\x20data\x20for\x20eventType:\x20','uDttA','test','../../../helpers/test-observability/error-handler.js','match','HookRunStarted','util','AFTER_ALL','../../../helpers/test-observability/utils','md5','EenJU','startedAt','result','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','mxWOB','expect','toUpperCase','createHash','407145MQdhCI','failure','afterEach','ckOHZ','jest','YTrac','failure_backtrace','876770paVFAn','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','failure_reason'];a97_0x57de=function(){return _0x109551;};return a97_0x57de();}class JestUtils{constructor(){const _0x595051=a97_0x3ef3dd;this[_0x595051(0x18e)]=![],this[_0x595051(0x1ce)]=null;}async[a97_0x3ef3dd(0x20c)](_0xa48faa,_0x1c8510,_0x262035=a97_0x3ef3dd(0x1e8),_0x31727f=undefined){const _0x3d1afc=a97_0x3ef3dd,_0x155c93={'JEANE':_0x3d1afc(0x1f6),'vYZmD':'jest-circus','RZUuL':function(_0x5dc8fc,_0x32b42b){return _0x5dc8fc||_0x32b42b;},'qVQdG':_0x3d1afc(0x163),'bfjDQ':function(_0x26869e,_0x610c5c){return _0x26869e!==_0x610c5c;},'fehhg':_0x3d1afc(0x172),'KWWBo':function(_0x453e5b,_0x4e460a){return _0x453e5b!==_0x4e460a;},'gsxff':_0x3d1afc(0x190),'mOEEq':function(_0x3ad271,_0x5b3a21){return _0x3ad271!==_0x5b3a21;},'ILIdB':function(_0x144021,_0x30ad63){return _0x144021!==_0x30ad63;},'POqlz':_0x3d1afc(0x20b),'hJLyz':function(_0x43d8a3,_0x442324){return _0x43d8a3===_0x442324;},'uDttA':'TestRunSkipped','TJtrO':'skipped','PpyEe':function(_0x2959db,_0x127884){return _0x2959db>_0x127884;},'VriEQ':_0x3d1afc(0x1c9),'QELQk':_0x3d1afc(0x1ae),'McNsa':function(_0x2f7bc8,_0x1fdeda){return _0x2f7bc8!==_0x1fdeda;},'CjnIu':function(_0x295140,_0x5b9e67){return _0x295140-_0x5b9e67;},'gUhli':'javascript','ElMII':_0x3d1afc(0x186),'YRaCs':function(_0x340676,_0x51f13c){return _0x340676(_0x51f13c);},'VyCqE':function(_0x1da91e,_0x3dcc6a){return _0x1da91e===_0x3dcc6a;},'LFHzv':function(_0x1310f8,_0xebed30){return _0x1310f8===_0xebed30;},'wHZGk':'TestRunFinished','dDppD':function(_0x25e22f,_0x306c19){return _0x25e22f===_0x306c19;}};logger['debug'](_0x3d1afc(0x1d6)+_0x262035+_0x3d1afc(0x202)+_0x1c8510);try{if(!_0xa48faa)return logger[_0x3d1afc(0x1a1)](_0x155c93[_0x3d1afc(0x159)]),null;if(_0xa48faa['fn']&&_0xa48faa['fn'][_0x3d1afc(0x1cd)]()[_0x3d1afc(0x174)](/browserstack internal helper hook/))return null;await this[_0x3d1afc(0x20f)]();let _0x30c192;try{_0x30c192=this[_0x3d1afc(0x205)](_0xa48faa);if(_0x30c192&&_0x30c192[_0x3d1afc(0x1de)](_0x155c93['vYZmD']))return null;}catch(_0x501625){logger['debug'](_0x3d1afc(0x203)+util[_0x3d1afc(0x1d9)](_0x501625)),_0x30c192=null;}const _0x4611e1=this[_0x3d1afc(0x1c0)](_0xa48faa),_0x2960a5=this[_0x3d1afc(0x1ff)](_0xa48faa),_0x4391c0=_0x155c93[_0x3d1afc(0x19e)](_0x30c192,_0x155c93['qVQdG']);let _0x91ce69=[];const _0x27ecf0=_0xa48faa[_0x3d1afc(0x15d)]||_0xa48faa[_0x3d1afc(0x16c)];if(_0x155c93[_0x3d1afc(0x16d)](_0x27ecf0,undefined))_0x91ce69=[_0x27ecf0,_0x155c93[_0x3d1afc(0x201)]];else _0x155c93[_0x3d1afc(0x1ef)](_0x31727f,undefined)&&(_0x91ce69=[_0x31727f,_0x155c93[_0x3d1afc(0x1eb)]]);const _0x36bd7b=_0x155c93[_0x3d1afc(0x1c1)](_0x27ecf0,undefined)?util['inspect'](_0x27ecf0[0x0]):_0x155c93[_0x3d1afc(0x1b3)](_0x31727f,undefined)?_0x31727f[_0x3d1afc(0x1cd)]():undefined;let _0x76d04d=_0x155c93['POqlz'];if(_0x155c93[_0x3d1afc(0x15a)](_0x262035,_0x155c93[_0x3d1afc(0x171)]))_0x76d04d=_0x155c93[_0x3d1afc(0x19a)];else _0x27ecf0&&_0x155c93[_0x3d1afc(0x195)](_0x27ecf0[_0x3d1afc(0x169)],0x0)?_0x76d04d=_0x155c93[_0x3d1afc(0x1fd)]:_0x76d04d=_0x155c93[_0x3d1afc(0x1a9)];let _0x519605=null;if(_0x155c93[_0x3d1afc(0x1bb)](_0xa48faa[_0x3d1afc(0x204)],undefined))_0x519605=_0xa48faa[_0x3d1afc(0x204)];else(_0x262035[_0x3d1afc(0x174)](/Finished/)||_0x262035['match'](/Skipped/))&&(_0xa48faa['started_at']&&(_0x519605=_0x155c93['CjnIu'](Date[_0x3d1afc(0x194)](),new Date(_0xa48faa[_0x3d1afc(0x1bc)])[_0x3d1afc(0x15b)]())));const _0x1735be=_0xa48faa['fn']?_0xa48faa['fn'][_0x3d1afc(0x1cd)]():null,_0x1a5433={'id':_0x1c8510,'uuid':_0x1c8510,'startedAt':_0xa48faa[_0x3d1afc(0x1bc)]||new Date()['toISOString'](),'finishedAt':_0x262035['match'](/Finished/)||_0x262035['match'](/Skipped/)?new Date()[_0x3d1afc(0x1fb)]():null,'type':_0x155c93['fehhg'],'body':{'lang':_0x155c93[_0x3d1afc(0x167)],'code':_0x1735be},'name':_0x2960a5,'errorsDetailed':_0x155c93[_0x3d1afc(0x195)](_0x27ecf0?.['length'],0x0)?_0x27ecf0[0x0]:_0x27ecf0?_0x27ecf0:undefined,'scopes':_0x4611e1,'file_name':_0x4391c0,'location':_0x4391c0,'vc_filepath':this['_gitConfigPath']&&_0x30c192?path['relative'](this[_0x3d1afc(0x1ce)],_0x30c192):null,'framework':_0x155c93[_0x3d1afc(0x213)],'result':_0x76d04d,'failure_reason':_0x36bd7b,'duration_in_ms':_0x519605,'failure':failureData[_0x3d1afc(0x165)](null,_0x91ce69),'failure_type':!_0x36bd7b?null:_0x155c93[_0x3d1afc(0x1b4)](getFailureType,_0x36bd7b),'retry_of':_0xa48faa[_0x3d1afc(0x1f4)]||null,'customRerunParam':{'rerun_name':_0x2960a5}};_0x155c93[_0x3d1afc(0x1a7)](_0x262035,_0x155c93[_0x3d1afc(0x171)])&&!_0x1a5433[_0x3d1afc(0x17b)]&&(_0x1a5433[_0x3d1afc(0x17b)]=_0x1a5433[_0x3d1afc(0x192)]);const _0x1166c5=_0x1a5433[_0x3d1afc(0x183)]&&_0x1a5433['failure'][0x0];return _0x1166c5&&(_0x1a5433[_0x3d1afc(0x188)]=_0x1166c5['backtrace'],_0x1a5433[_0x3d1afc(0x1e0)]=_0x1166c5[_0x3d1afc(0x1e2)]),(_0x155c93[_0x3d1afc(0x1e7)](_0x262035,_0x155c93['wHZGk'])||_0x155c93[_0x3d1afc(0x1cb)](_0x262035,_0x155c93[_0x3d1afc(0x171)]))&&(_0xa48faa[_0x3d1afc(0x1e4)]&&(_0x1a5433['hooks']=_0xa48faa[_0x3d1afc(0x1e4)])),_0x1a5433;}catch(_0x140bc4){return logger[_0x3d1afc(0x1a1)](_0x3d1afc(0x15e)+util[_0x3d1afc(0x1d9)](_0x140bc4)),null;}}async[a97_0x3ef3dd(0x1bf)](_0x1f838d,_0x35867d,_0x48a415,_0x27470d){const _0x20427a=a97_0x3ef3dd,_0x10347a={'LdkAv':_0x20427a(0x18a),'AIXEZ':_0x20427a(0x20a),'EenJU':_0x20427a(0x1d8),'AjNyr':_0x20427a(0x1a2),'ytYFy':_0x20427a(0x20b),'rUvhj':function(_0x5b5f55,_0x5d2c50){return _0x5b5f55===_0x5d2c50;},'VnzZL':_0x20427a(0x1b7),'kfNtQ':function(_0x2761e1,_0x499f0d){return _0x2761e1>_0x499f0d;},'UMIqa':_0x20427a(0x1c9),'IYPHy':function(_0x455696,_0x22f514){return _0x455696(_0x22f514);},'KxtUC':_0x20427a(0x172),'QeXtN':_0x20427a(0x1ae),'fDyUT':_0x20427a(0x208),'tjyse':_0x20427a(0x1a5),'gASrc':_0x20427a(0x186),'Sbxwl':_0x20427a(0x175)};logger['debug'](_0x20427a(0x170)+_0x48a415+_0x20427a(0x1f9)+_0x35867d+_0x20427a(0x197)+_0x27470d);try{if(!_0x1f838d)return logger[_0x20427a(0x1a1)](_0x10347a[_0x20427a(0x160)]),null;if(this[_0x20427a(0x1bd)](_0x1f838d))return null;await this[_0x20427a(0x20f)]();let _0x1153a3=null;try{_0x1153a3=this[_0x20427a(0x205)](_0x1f838d);if(_0x1153a3&&_0x1153a3['includes'](_0x10347a['AIXEZ']))return null;if(_0x1153a3&&_0x1153a3['includes'](_0x10347a[_0x20427a(0x17a)]))return null;}catch(_0x5786d0){logger[_0x20427a(0x1a1)]('Failed\x20to\x20get\x20hook\x20file\x20path:\x20'+util[_0x20427a(0x1d9)](_0x5786d0));}const _0x3ac6b9=this['getName'](_0x1f838d),_0x300fba=_0x1f838d[_0x20427a(0x212)]||_0x10347a[_0x20427a(0x198)],_0x3bc9bd=HOOK_TYPES_MAP[_0x300fba]||_0x300fba[_0x20427a(0x180)](),_0x262a1c=_0x1f838d[_0x20427a(0x1a0)]&&_0x1f838d[_0x20427a(0x1a0)][_0x20427a(0x1a3)]?_0x1f838d[_0x20427a(0x1a0)][_0x20427a(0x1a3)]:'';let _0x11973c=_0x10347a[_0x20427a(0x1d3)],_0xede53a=null,_0xebbcfb=null,_0x5b1b90=null,_0x1a7830=null;_0x10347a[_0x20427a(0x164)](_0x48a415,_0x10347a[_0x20427a(0x1b2)])&&(_0x1a7830=new Date()['toISOString'](),_0x1f838d[_0x20427a(0x15d)]&&_0x10347a[_0x20427a(0x1fc)](_0x1f838d[_0x20427a(0x15d)][_0x20427a(0x169)],0x0)?(_0x11973c=_0x10347a[_0x20427a(0x1c4)],_0xebbcfb=util['inspect'](_0x1f838d[_0x20427a(0x15d)][0x0]),_0xede53a=_0x10347a[_0x20427a(0x19f)](getFailureType,_0xebbcfb),_0x5b1b90=failureData[_0x20427a(0x165)](null,[_0x1f838d[_0x20427a(0x15d)],_0x10347a['KxtUC']])):_0x11973c=_0x10347a[_0x20427a(0x1d4)]);const _0x3cb597={'uuid':_0x35867d,'type':_0x10347a[_0x20427a(0x1b6)],'hook_type':_0x3bc9bd,'name':_0x3ac6b9,'body':{'lang':_0x10347a[_0x20427a(0x1c3)],'code':_0x1f838d['fn']?_0x1f838d['fn'][_0x20427a(0x1cd)]():null},'tags':[],'test_run_id':_0x27470d,'scope':_0x262a1c,'scopes':[_0x262a1c],'file_name':_0x1153a3,'location':_0x1153a3,'vc_filepath':this[_0x20427a(0x1ce)]&&_0x1153a3?path[_0x20427a(0x191)](this[_0x20427a(0x1ce)],_0x1153a3):null,'result':_0x11973c,'started_at':_0x1f838d[_0x20427a(0x1bc)]||new Date()['toISOString'](),'finished_at':_0x1a7830,'failure_type':_0xede53a,'failure_reason':_0xebbcfb,'failure_data':_0x5b1b90,'framework':_0x10347a[_0x20427a(0x1f7)]};return _0x10347a['rUvhj'](_0x48a415,_0x10347a[_0x20427a(0x209)])&&(hooksMap[_0x27470d]?hooksMap[_0x27470d]['push'](_0x3cb597):hooksMap[_0x27470d]=[_0x3cb597]),_0x3cb597;}catch(_0x2ab754){return logger['debug'](_0x20427a(0x1b9)+util['format'](_0x2ab754)),null;}}[a97_0x3ef3dd(0x1e6)](_0x35c231,_0x1211fb,_0x5910a4){const _0x514395=a97_0x3ef3dd,_0x3ce80c={'cZDtO':function(_0x2ee551,_0x2c9702){return _0x2ee551>_0x2c9702;},'uYLIh':'failed','tTqZh':function(_0x2b215f,_0x1a003d){return _0x2b215f(_0x1a003d);},'mxWOB':'test','xhRBh':'passed'};try{const _0x2d0f01=hooksMap[_0x35c231];if(!_0x2d0f01)return null;const _0x3a8d8d=_0x2d0f01['find'](_0x55fb9b=>_0x55fb9b[_0x514395(0x1dd)]===_0x1211fb);if(!_0x3a8d8d)return null;return _0x3a8d8d[_0x514395(0x15c)]=new Date()[_0x514395(0x1fb)](),_0x5910a4['errorsDetailed']&&_0x3ce80c[_0x514395(0x211)](_0x5910a4['errorsDetailed'][_0x514395(0x169)],0x0)?(_0x3a8d8d[_0x514395(0x17c)]=_0x3ce80c['uYLIh'],_0x3a8d8d['failure_reason']=util[_0x514395(0x199)](_0x5910a4[_0x514395(0x15d)][0x0]),_0x3a8d8d[_0x514395(0x1ed)]=_0x3ce80c['tTqZh'](getFailureType,_0x3a8d8d[_0x514395(0x18b)]),_0x3a8d8d['failure_data']=failureData[_0x514395(0x165)](null,[_0x5910a4[_0x514395(0x15d)],_0x3ce80c[_0x514395(0x17e)]])):_0x3a8d8d[_0x514395(0x17c)]=_0x3ce80c['xhRBh'],_0x3a8d8d;}catch(_0x556288){return logger[_0x514395(0x1a1)](_0x514395(0x1cc)+util[_0x514395(0x1d9)](_0x556288)),null;}}[a97_0x3ef3dd(0x1ff)](_0x5179a6){const _0x3643c9=a97_0x3ef3dd,_0x1ef38a={};_0x1ef38a[_0x3643c9(0x196)]=function(_0x2229da,_0x446276){return _0x2229da!==_0x446276;},_0x1ef38a[_0x3643c9(0x187)]='test',_0x1ef38a[_0x3643c9(0x1a4)]=_0x3643c9(0x1c7);const _0x157502=_0x1ef38a;if(_0x157502[_0x3643c9(0x196)](_0x5179a6['type'],_0x157502['YTrac']))return'\x22'+_0x5179a6['type']+'\x22\x20hook\x20for\x20\x22'+(_0x5179a6[_0x3643c9(0x1a0)]&&_0x5179a6[_0x3643c9(0x1a0)][_0x3643c9(0x1a3)])+'\x22';return _0x5179a6[_0x3643c9(0x1a3)]||_0x157502['cxoVR'];}[a97_0x3ef3dd(0x1c0)](_0x2c8a55){const _0xbe999c=a97_0x3ef3dd,_0x31688e={};_0x31688e[_0xbe999c(0x1d1)]=function(_0x8be49a,_0xaeb6b8){return _0x8be49a!==_0xaeb6b8;},_0x31688e[_0xbe999c(0x162)]=_0xbe999c(0x1aa);const _0x1ff7b0=_0x31688e,_0x2f92cd=[];if(_0x2c8a55&&_0x2c8a55[_0xbe999c(0x1a0)]){let _0x1baf2a=_0x2c8a55[_0xbe999c(0x1a0)];while(_0x1baf2a&&_0x1baf2a[_0xbe999c(0x1a3)]&&_0x1ff7b0['mFfmc'](_0x1baf2a[_0xbe999c(0x1a3)],'')&&_0x1ff7b0[_0xbe999c(0x1d1)](_0x1baf2a['name'],_0x1ff7b0['MXPHg'])){_0x2f92cd[_0xbe999c(0x1ac)](_0x1baf2a[_0xbe999c(0x1a3)]),_0x1baf2a=_0x1baf2a[_0xbe999c(0x1a0)];}}return _0x2f92cd[_0xbe999c(0x1af)](),_0x2f92cd;}[a97_0x3ef3dd(0x205)](_0x2b9649){const _0x261922=a97_0x3ef3dd;if(_0x2b9649[_0x261922(0x1dc)])try{const _0x4b4657=stackTrace['parse'][_0x261922(0x200)](stackTrace,_0x2b9649[_0x261922(0x1dc)]);if(_0x4b4657[0x0]&&_0x4b4657[0x0]['getFileName'])return _0x4b4657[0x0][_0x261922(0x210)]();}catch(_0x5e3d10){logger[_0x261922(0x1a1)](_0x261922(0x1fa)+util[_0x261922(0x1d9)](_0x5e3d10));}if(_0x2b9649['file'])return _0x2b9649['file'];return null;}[a97_0x3ef3dd(0x1bd)](_0x2c75fc){const _0x5d5abc=a97_0x3ef3dd,_0x2de4ee={};_0x2de4ee[_0x5d5abc(0x16e)]=_0x5d5abc(0x20a),_0x2de4ee[_0x5d5abc(0x1d0)]=function(_0x2a6351,_0x27a8fa){return _0x2a6351===_0x27a8fa;},_0x2de4ee['pAWxw']=_0x5d5abc(0x1aa);const _0x883e66=_0x2de4ee;try{const _0x2c997b=this[_0x5d5abc(0x205)](_0x2c75fc);if(_0x2c997b&&_0x2c997b[_0x5d5abc(0x1de)](_0x883e66[_0x5d5abc(0x16e)]))return!![];if(!_0x2c997b){const _0x459140=_0x2c75fc[_0x5d5abc(0x1a0)]&&_0x2c75fc[_0x5d5abc(0x1a0)][_0x5d5abc(0x1a3)];if(_0x883e66[_0x5d5abc(0x1d0)](_0x459140,_0x883e66[_0x5d5abc(0x206)]))return!![];}}catch(_0x35a81a){logger[_0x5d5abc(0x1a1)]('Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20'+util[_0x5d5abc(0x1d9)](_0x35a81a));}return![];}['getTestIdentifier'](_0x906c75=null){const _0xe5acc1=a97_0x3ef3dd;try{const _0x2abe89=_0x906c75||global[_0xe5acc1(0x1c6)]||{};if(global['__jestCurrentTestIdentifier'])return global[_0xe5acc1(0x158)];if(_0x2abe89?.[_0xe5acc1(0x1a6)]?.[_0xe5acc1(0x1ee)])return _0x2abe89['currentTest'][_0xe5acc1(0x1ee)];if(_0x2abe89?.[_0xe5acc1(0x1a6)]?.['id'])return _0x2abe89['currentTest']['id'];return null;}catch(_0xb44891){return logger[_0xe5acc1(0x1a1)](_0xe5acc1(0x17d)+util[_0xe5acc1(0x1d9)](_0xb44891)),null;}}async[a97_0x3ef3dd(0x20f)](){const _0x1082c8=a97_0x3ef3dd,_0x23b599={'XmEXe':function(_0x96decf){return _0x96decf();}};if(this[_0x1082c8(0x18e)])return this[_0x1082c8(0x1ce)];const _0x247219=await _0x23b599[_0x1082c8(0x1fe)](getGitMetaData);_0x247219&&(this[_0x1082c8(0x1ce)]=_0x247219[_0x1082c8(0x1b1)]),this['_gitConfigured']=!![];}[a97_0x3ef3dd(0x217)](_0x29674c){hooksMap[_0x29674c]&&delete hooksMap[_0x29674c];}[a97_0x3ef3dd(0x214)](_0x4eddc){const _0x1c5cc2=a97_0x3ef3dd,_0x2b7a88={'luIOt':'jest-circus','MZqbv':function(_0x2f54a3,_0x22ec69){return _0x2f54a3(_0x22ec69);},'ckOHZ':_0x1c5cc2(0x17f)};if(_0x4eddc[_0x1c5cc2(0x1b8)])return _0x4eddc[_0x1c5cc2(0x1b8)];if(_0x4eddc[_0x1c5cc2(0x1dc)]){try{const _0x337ee6=stackTrace[_0x1c5cc2(0x19d)](_0x4eddc['asyncError']);if(_0x337ee6[0x0]&&_0x337ee6[0x0][_0x1c5cc2(0x210)]){const _0x12e76d=_0x337ee6[0x0][_0x1c5cc2(0x210)]();if(_0x12e76d&&!_0x12e76d[_0x1c5cc2(0x1de)](_0x2b7a88[_0x1c5cc2(0x1c5)]))return _0x12e76d;}}catch(_0x4b6415){logger['debug'](_0x1c5cc2(0x161)+util[_0x1c5cc2(0x1d9)](_0x4b6415));}if(_0x4eddc[_0x1c5cc2(0x1dc)][_0x1c5cc2(0x1f8)]){const _0x5bf04a=_0x4eddc[_0x1c5cc2(0x1dc)][_0x1c5cc2(0x1f8)][_0x1c5cc2(0x1cf)]('\x0a');for(const _0x4e9824 of _0x5bf04a){const _0x1fedd3=_0x4e9824['match'](/at (.+?):\d+:\d+/);if(_0x1fedd3&&_0x1fedd3[0x1]&&!_0x1fedd3[0x1][_0x1c5cc2(0x1de)](_0x2b7a88['luIOt']))return _0x1fedd3[0x1];}}}let _0x14138f=_0x4eddc[_0x1c5cc2(0x1a0)];while(_0x14138f){if(_0x14138f[_0x1c5cc2(0x1b8)])return _0x14138f[_0x1c5cc2(0x1b8)];if(_0x14138f[_0x1c5cc2(0x1dc)])try{const _0x539423=stackTrace[_0x1c5cc2(0x19d)](_0x14138f['asyncError']);if(_0x539423[0x0]&&_0x539423[0x0][_0x1c5cc2(0x210)]){const _0x3eb213=_0x539423[0x0][_0x1c5cc2(0x210)]();if(_0x3eb213&&!_0x3eb213['includes'](_0x2b7a88[_0x1c5cc2(0x1c5)]))return _0x3eb213;}}catch(_0xcc82c7){}_0x14138f=_0x14138f[_0x1c5cc2(0x1a0)];}try{const _0x593831=_0x2b7a88[_0x1c5cc2(0x1f5)](require,_0x2b7a88[_0x1c5cc2(0x185)]);if(_0x593831&&_0x593831[_0x1c5cc2(0x19b)]){const _0x2de005=_0x593831['getState']();if(_0x2de005&&_0x2de005[_0x1c5cc2(0x1e5)])return _0x2de005[_0x1c5cc2(0x1e5)];}}catch(_0x549402){logger[_0x1c5cc2(0x1a1)]('[jestUtils]\x20expect.getState()\x20not\x20available:\x20'+util['format'](_0x549402));}return null;}[a97_0x3ef3dd(0x1b5)](_0x4bd496){const _0x232f91=a97_0x3ef3dd,_0x163b26={};_0x163b26[_0x232f91(0x1ea)]=_0x232f91(0x1e9),_0x163b26[_0x232f91(0x18f)]=function(_0x18ac55,_0x11b036){return _0x18ac55!==_0x11b036;},_0x163b26[_0x232f91(0x19c)]='ROOT_DESCRIBE_BLOCK',_0x163b26[_0x232f91(0x15f)]=_0x232f91(0x20a),_0x163b26[_0x232f91(0x216)]=_0x232f91(0x179),_0x163b26['MPstt']=_0x232f91(0x18c);const _0x5072a7=_0x163b26;try{if(!_0x4bd496)return logger['error'](_0x5072a7['cEryN']),null;const _0x5d3aef=_0x4bd496['fullName']||_0x4bd496[_0x232f91(0x1a3)]||_0x4bd496['title']||_0x4bd496[_0x232f91(0x1ec)];let _0x2c1702=_0x5d3aef;if(_0x4bd496[_0x232f91(0x1a0)]&&_0x4bd496[_0x232f91(0x1a0)][_0x232f91(0x1a3)]&&_0x5072a7['gcYHJ'](_0x4bd496['parent'][_0x232f91(0x1a3)],_0x5072a7['ZRYnb'])){const _0x51d781=_0x4bd496['name']||_0x4bd496['title'];_0x51d781&&(_0x2c1702=_0x4bd496[_0x232f91(0x1a0)]['name']+'\x20'+_0x51d781);}let _0x1f20a3=_0x4bd496['testPath'];if(!_0x1f20a3&&_0x4bd496['asyncError']){try{const _0x1fb2be=stackTrace['parse'](_0x4bd496[_0x232f91(0x1dc)]);if(_0x1fb2be[0x0]&&_0x1fb2be[0x0]['getFileName']){const _0x3fce0f=_0x1fb2be[0x0]['getFileName']();_0x3fce0f&&!_0x3fce0f['includes'](_0x5072a7[_0x232f91(0x15f)])&&(_0x1f20a3=_0x3fce0f);}}catch(_0x5094fa){logger[_0x232f91(0x1a1)](_0x232f91(0x161)+util[_0x232f91(0x1d9)](_0x5094fa));}if(!_0x1f20a3&&_0x4bd496['asyncError'][_0x232f91(0x1f8)]){const _0x38ab19=_0x4bd496[_0x232f91(0x1dc)]['stack'][_0x232f91(0x1cf)]('\x0a');for(const _0x5c7f8b of _0x38ab19){const _0x30941d=_0x5c7f8b[_0x232f91(0x174)](/at (.+?):\d+:\d+/);if(_0x30941d&&_0x30941d[0x1]&&!_0x30941d[0x1][_0x232f91(0x1de)](_0x5072a7[_0x232f91(0x15f)])){_0x1f20a3=_0x30941d[0x1];break;}}}}const _0x56c893=_0x1f20a3+'::'+_0x2c1702,_0x330679=crypto[_0x232f91(0x181)](_0x5072a7['WTaqq'])[_0x232f91(0x1d7)](_0x56c893)[_0x232f91(0x18d)](_0x5072a7['MPstt'])[_0x232f91(0x1c8)](0x0,0x8),_0x16bae9=process[_0x232f91(0x168)]+':jest-'+_0x330679;return logger[_0x232f91(0x1a1)](_0x232f91(0x215)+_0x16bae9+_0x232f91(0x1ab)+_0x56c893),_0x16bae9;}catch(_0x496b8b){return logger['error']('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0x232f91(0x1d9)](_0x496b8b)),null;}}[a97_0x3ef3dd(0x1b0)](_0x13c835){const _0x2894bb=a97_0x3ef3dd,_0x4a6aa0={};_0x4a6aa0['bUTQv']=_0x2894bb(0x1df);const _0xa2ae6f=_0x4a6aa0;if(!_0x13c835)return logger[_0x2894bb(0x1a1)](_0xa2ae6f[_0x2894bb(0x1f0)]),null;const _0x162731=this[_0x2894bb(0x214)](_0x13c835),_0x12f82b={};_0x12f82b[_0x2894bb(0x1a3)]=_0x13c835['name']||_0x13c835[_0x2894bb(0x166)],_0x12f82b[_0x2894bb(0x1a0)]=_0x13c835[_0x2894bb(0x1a0)],_0x12f82b['testPath']=_0x162731,_0x12f82b[_0x2894bb(0x1dc)]=_0x13c835[_0x2894bb(0x1dc)];const _0x1f49b9=_0x12f82b;return this[_0x2894bb(0x1b5)](_0x1f49b9);}[a97_0x3ef3dd(0x207)](_0x1ab510,_0x580bc9=null){const _0xd83479=a97_0x3ef3dd,_0x5e2037={};_0x5e2037[_0xd83479(0x1f3)]=_0xd83479(0x218);const _0x2c8800=_0x5e2037;if(!_0x1ab510)return logger[_0xd83479(0x1a1)](_0x2c8800['QnvIi']),_0x580bc9;if(_0x1ab510[_0xd83479(0x1ad)])return logger[_0xd83479(0x1a1)](_0xd83479(0x16f)+_0x1ab510['testIdentifier']),_0x1ab510['testIdentifier'];return this[_0xd83479(0x1b5)](_0x1ab510)||_0x580bc9;}}module['exports']=o11yClassErrorHandler(JestUtils,[a97_0x3ef3dd(0x20f),a97_0x3ef3dd(0x1c0),'getRootParentFile','getName',a97_0x3ef3dd(0x1bd),a97_0x3ef3dd(0x157),a97_0x3ef3dd(0x20c),a97_0x3ef3dd(0x1bf),'getHookRunEventData','clearHooksMap',a97_0x3ef3dd(0x214),a97_0x3ef3dd(0x1b5),'createIdentifierFromJestTest',a97_0x3ef3dd(0x207)]);
|
|
1
|
+
function a97_0x5bf0(_0x3b1361,_0x4e8306){const _0x2ad956=a97_0x2ad9();return a97_0x5bf0=function(_0x5bf0ec,_0x41b092){_0x5bf0ec=_0x5bf0ec-0x1a9;let _0xe8fc26=_0x2ad956[_0x5bf0ec];return _0xe8fc26;},a97_0x5bf0(_0x3b1361,_0x4e8306);}const a97_0x8ec4cc=a97_0x5bf0;function a97_0x2ad9(){const _0xb53eb8=['asyncError','md5','getHierarchy',',\x20testRunId:\x20','sWKUk','hook','TestRunFinished','name','getFileName','errors','\x22\x20hook\x20for\x20\x22','PrjKF','finishedAt','getTime','PetuD','469FBhQlJ','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','[jestUtils]\x20Created\x20identifier:\x20','failure_reason_expanded','getName','displayName','parse','createHash','createIdentifierFromJestTest','format','EIAjL','ltWeF','createTestFrameworkData','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','stack','LCOgb','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','includes','afterEach','ChlxB','jlOqm','digest','__jestCurrentTestIdentifier','100098fNfNeI','5EgLOID','[jestUtils]\x20Error\x20creating\x20identifier:\x20','FWMLZ','xrwdV','getState','HookRunFinished','retryOf','Exception\x20in\x20createTestFrameworkData:\x20','YSgvj','length','inspect','HVxWU','XprJP','386134qjJZsm','apply','16160TsFKHs','exports','type','Creating\x20hook\x20data\x20for\x20eventType:\x20','configureGit','MOUmK','CIGHU','330PyicXp','test','ROOT_DESCRIBE_BLOCK','IZrJA','1341OHWsqf','testAnalyticsId','push','ljzMu','toISOString','PbEgZ','backtrace','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','parent','pending','update','42740CVblhV','startedAt','now','testPath','_gitConfigPath','jXqoo','jest-circus','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','getRootParentFile','WQFMv','failure_backtrace','relative','yXune','fXaec','expect','NTBGm','match','TestRunSkipped','_gitConfigured','../../../helpers/helper.js','failure','failed','hex','NlpvU','jIxjE','find','UKuqS','extractTestFilePath','failure_type','dDgkf','path','mvdyS','createJestTestIdentifier','errorsDetailed','PSebe','144409GGWBov','AFTER_ALL','winstonLogger','stack-trace','IWkxi','UZpDL','beforeAll','../../../helpers/logger.js','drXou','QeMmx','failure_reason','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','passed','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','getTestIdentifier','result','yYGrQ','23442sQhlsA','beDtt','split','Exception\x20in\x20getHookRunEventData:\x20','Exception\x20in\x20createHookData:\x20','tsXAH','HookRunStarted','eKSqk','btVgZ','XsoYV','hooks','udGzU','cjaDk','unknown','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','started_at','crypto','jest','KZiQt','xDrTk','../../../helpers/test-observability/utils','skipped','File\x20path\x20could\x20not\x20be\x20found','javascript','gffEO','wUCpi','smDaw','423596ihLgsF','getHookRunEventData','VyENb',':jest-','FYABQ','failure_data','qggCC','AFTER_EACH','finished_at','xEASo','title','browserstack-node-agent/src/bin/jest','TKUzo','toUpperCase','error','\x20from\x20compositeKey:\x20','util','afterAll','fullName','recreateIdentifierFromTestInfo','GsNbq','toString','file','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','clearHooksMap','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','isJestInternalHook','debug','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','duration','expanded','currentTest','createHookData','beforeEach','PbyuA','BEFORE_EACH','[jestUtils]\x20expect.getState()\x20not\x20available:\x20'];a97_0x2ad9=function(){return _0xb53eb8;};return a97_0x2ad9();}(function(_0x892e91,_0x4ea763){const _0x1137b1=a97_0x5bf0,_0xdf359f=_0x892e91();while(!![]){try{const _0x55ad96=-parseInt(_0x1137b1(0x25d))/0x1+-parseInt(_0x1137b1(0x222))/0x2+-parseInt(_0x1137b1(0x214))/0x3+-parseInt(_0x1137b1(0x1c9))/0x4*(-parseInt(_0x1137b1(0x215))/0x5)+parseInt(_0x1137b1(0x1ae))/0x6*(parseInt(_0x1137b1(0x1fd))/0x7)+parseInt(_0x1137b1(0x224))/0x8*(parseInt(_0x1137b1(0x22f))/0x9)+parseInt(_0x1137b1(0x23a))/0xa*(-parseInt(_0x1137b1(0x22b))/0xb);if(_0x55ad96===_0x4ea763)break;else _0xdf359f['push'](_0xdf359f['shift']());}catch(_0x5013f3){_0xdf359f['push'](_0xdf359f['shift']());}}}(a97_0x2ad9,0x29672));const path=require(a97_0x8ec4cc(0x258)),util=require(a97_0x8ec4cc(0x1d9)),crypto=require(a97_0x8ec4cc(0x1be)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a97_0x8ec4cc(0x24d)),logger=require(a97_0x8ec4cc(0x264))[a97_0x8ec4cc(0x25f)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require('../TestInfo.js'),{failureData,getFailureType}=require(a97_0x8ec4cc(0x1c2)),stackTrace=require(a97_0x8ec4cc(0x260)),a97_0x4e14cc={};a97_0x4e14cc[a97_0x8ec4cc(0x263)]='BEFORE_ALL',a97_0x4e14cc[a97_0x8ec4cc(0x1da)]=a97_0x8ec4cc(0x25e),a97_0x4e14cc[a97_0x8ec4cc(0x1ea)]=a97_0x8ec4cc(0x1ec),a97_0x4e14cc[a97_0x8ec4cc(0x20f)]=a97_0x8ec4cc(0x1d0);const HOOK_TYPES_MAP=a97_0x4e14cc,hooksMap={};class JestUtils{constructor(){const _0x452ad8=a97_0x8ec4cc;this[_0x452ad8(0x24c)]=![],this['_gitConfigPath']=null;}async[a97_0x8ec4cc(0x209)](_0x5ad8dc,_0x967987,_0x1526d0=a97_0x8ec4cc(0x1f4),_0x2ab4d8=undefined){const _0x19ddc6=a97_0x8ec4cc,_0x1d1a18={'XprJP':_0x19ddc6(0x1e5),'udGzU':'jest-circus','YSgvj':function(_0x1399a6,_0x5ca456){return _0x1399a6||_0x5ca456;},'beDtt':_0x19ddc6(0x1c4),'xrwdV':function(_0x1c9c04,_0x127bae){return _0x1c9c04!==_0x127bae;},'VyENb':_0x19ddc6(0x22c),'FYABQ':'err','btVgZ':_0x19ddc6(0x238),'cjaDk':function(_0x463485,_0x49b9b5){return _0x463485===_0x49b9b5;},'jIxjE':_0x19ddc6(0x24b),'KZiQt':_0x19ddc6(0x1c3),'CIGHU':function(_0xe0762b,_0x15c4c2){return _0xe0762b>_0x15c4c2;},'qggCC':_0x19ddc6(0x24f),'yYGrQ':_0x19ddc6(0x1a9),'ChlxB':function(_0x87f1fb,_0x3a2f69){return _0x87f1fb-_0x3a2f69;},'VOPUV':_0x19ddc6(0x1c5),'tnFqg':function(_0x5c9a37,_0x12b523){return _0x5c9a37>_0x12b523;},'ljzMu':_0x19ddc6(0x1bf),'wUCpi':function(_0x383c1e,_0x4989c5){return _0x383c1e(_0x4989c5);},'PrjKF':'TestRunFinished'};logger[_0x19ddc6(0x1e4)](_0x19ddc6(0x20a)+_0x1526d0+',\x20testIdentifier:\x20'+_0x967987);try{if(!_0x5ad8dc)return logger[_0x19ddc6(0x1e4)](_0x1d1a18[_0x19ddc6(0x221)]),null;if(_0x5ad8dc['fn']&&_0x5ad8dc['fn'][_0x19ddc6(0x1de)]()['match'](/browserstack internal helper hook/))return null;await this[_0x19ddc6(0x228)]();let _0x108732;try{_0x108732=this[_0x19ddc6(0x242)](_0x5ad8dc);if(_0x108732&&_0x108732[_0x19ddc6(0x20e)](_0x1d1a18[_0x19ddc6(0x1b9)]))return null;}catch(_0x4a0723){logger[_0x19ddc6(0x1e4)](_0x19ddc6(0x1bc)+util[_0x19ddc6(0x206)](_0x4a0723)),_0x108732=null;}const _0x406da9=this[_0x19ddc6(0x1f0)](_0x5ad8dc),_0x4b8f70=this[_0x19ddc6(0x201)](_0x5ad8dc),_0x27bf2b=_0x1d1a18[_0x19ddc6(0x21d)](_0x108732,_0x1d1a18[_0x19ddc6(0x1af)]);let _0x299eb9=[];const _0x379906=_0x5ad8dc[_0x19ddc6(0x25b)]||_0x5ad8dc[_0x19ddc6(0x1f7)];if(_0x1d1a18[_0x19ddc6(0x218)](_0x379906,undefined))_0x299eb9=[_0x379906,_0x1d1a18[_0x19ddc6(0x1cb)]];else _0x1d1a18[_0x19ddc6(0x218)](_0x2ab4d8,undefined)&&(_0x299eb9=[_0x2ab4d8,_0x1d1a18[_0x19ddc6(0x1cd)]]);const _0x5d1397=_0x1d1a18[_0x19ddc6(0x218)](_0x379906,undefined)?util[_0x19ddc6(0x21f)](_0x379906[0x0]):_0x1d1a18['xrwdV'](_0x2ab4d8,undefined)?_0x2ab4d8[_0x19ddc6(0x1de)]():undefined;let _0x387ed3=_0x1d1a18[_0x19ddc6(0x1b6)];if(_0x1d1a18['cjaDk'](_0x1526d0,_0x1d1a18['jIxjE']))_0x387ed3=_0x1d1a18[_0x19ddc6(0x1c0)];else _0x379906&&_0x1d1a18[_0x19ddc6(0x22a)](_0x379906[_0x19ddc6(0x21e)],0x0)?_0x387ed3=_0x1d1a18[_0x19ddc6(0x1cf)]:_0x387ed3=_0x1d1a18[_0x19ddc6(0x1ad)];let _0x5522b8=null;if(_0x1d1a18['xrwdV'](_0x5ad8dc[_0x19ddc6(0x1e6)],undefined))_0x5522b8=_0x5ad8dc['duration'];else(_0x1526d0['match'](/Finished/)||_0x1526d0[_0x19ddc6(0x24a)](/Skipped/))&&(_0x5ad8dc[_0x19ddc6(0x1bd)]&&(_0x5522b8=_0x1d1a18[_0x19ddc6(0x210)](Date[_0x19ddc6(0x23c)](),new Date(_0x5ad8dc['started_at'])[_0x19ddc6(0x1fb)]())));const _0x2e2597=_0x5ad8dc['fn']?_0x5ad8dc['fn'][_0x19ddc6(0x1de)]():null,_0x32e4b4={'id':_0x967987,'uuid':_0x967987,'startedAt':_0x5ad8dc[_0x19ddc6(0x1bd)]||new Date()['toISOString'](),'finishedAt':_0x1526d0['match'](/Finished/)||_0x1526d0[_0x19ddc6(0x24a)](/Skipped/)?new Date()[_0x19ddc6(0x233)]():null,'type':_0x1d1a18['VyENb'],'body':{'lang':_0x1d1a18['VOPUV'],'code':_0x2e2597},'name':_0x4b8f70,'errorsDetailed':_0x1d1a18['tnFqg'](_0x379906?.[_0x19ddc6(0x21e)],0x0)?_0x379906[0x0]:_0x379906?_0x379906:undefined,'scopes':_0x406da9,'file_name':_0x27bf2b,'location':_0x27bf2b,'vc_filepath':this[_0x19ddc6(0x23e)]&&_0x108732?path['relative'](this[_0x19ddc6(0x23e)],_0x108732):null,'framework':_0x1d1a18[_0x19ddc6(0x232)],'result':_0x387ed3,'failure_reason':_0x5d1397,'duration_in_ms':_0x5522b8,'failure':failureData[_0x19ddc6(0x223)](null,_0x299eb9),'failure_type':!_0x5d1397?null:_0x1d1a18[_0x19ddc6(0x1c7)](getFailureType,_0x5d1397),'retry_of':_0x5ad8dc[_0x19ddc6(0x21b)]||null,'customRerunParam':{'rerun_name':_0x4b8f70}};_0x1d1a18[_0x19ddc6(0x1ba)](_0x1526d0,_0x1d1a18[_0x19ddc6(0x252)])&&!_0x32e4b4[_0x19ddc6(0x23b)]&&(_0x32e4b4[_0x19ddc6(0x23b)]=_0x32e4b4[_0x19ddc6(0x1fa)]);const _0x3d8e31=_0x32e4b4[_0x19ddc6(0x24e)]&&_0x32e4b4[_0x19ddc6(0x24e)][0x0];return _0x3d8e31&&(_0x32e4b4[_0x19ddc6(0x244)]=_0x3d8e31[_0x19ddc6(0x235)],_0x32e4b4[_0x19ddc6(0x200)]=_0x3d8e31[_0x19ddc6(0x1e7)]),(_0x1d1a18[_0x19ddc6(0x1ba)](_0x1526d0,_0x1d1a18[_0x19ddc6(0x1f9)])||_0x1d1a18[_0x19ddc6(0x1ba)](_0x1526d0,_0x1d1a18[_0x19ddc6(0x252)]))&&(_0x5ad8dc['hooks']&&(_0x32e4b4[_0x19ddc6(0x1b8)]=_0x5ad8dc[_0x19ddc6(0x1b8)])),_0x32e4b4;}catch(_0x51366e){return logger[_0x19ddc6(0x1e4)](_0x19ddc6(0x21c)+util['format'](_0x51366e)),null;}}async[a97_0x8ec4cc(0x1e9)](_0x499067,_0x5ec8a9,_0x5c6d5b,_0x5e28d7){const _0x71df66=a97_0x8ec4cc,_0xf4660d={'HNciI':_0x71df66(0x268),'rTetc':_0x71df66(0x240),'HVxWU':_0x71df66(0x1d4),'CIxjO':_0x71df66(0x1bb),'FWMLZ':'pending','MOUmK':function(_0x36c5f0,_0x5ecd2f){return _0x36c5f0===_0x5ecd2f;},'smDaw':_0x71df66(0x21a),'fXaec':function(_0x1b5bac,_0x3f2694){return _0x1b5bac>_0x3f2694;},'eKSqk':'failed','EIjWZ':function(_0x7ca8e7,_0x936dda){return _0x7ca8e7(_0x936dda);},'NTBGm':_0x71df66(0x22c),'mvdyS':_0x71df66(0x1a9),'IZrJA':_0x71df66(0x1f3),'jlOqm':_0x71df66(0x1c5),'drXou':_0x71df66(0x1bf),'yXune':function(_0x25d888,_0xabdc15){return _0x25d888===_0xabdc15;},'PbEgZ':_0x71df66(0x1b4)};logger[_0x71df66(0x1e4)](_0x71df66(0x227)+_0x5c6d5b+',\x20hookUUID:\x20'+_0x5ec8a9+_0x71df66(0x1f1)+_0x5e28d7);try{if(!_0x499067)return logger['debug'](_0xf4660d['HNciI']),null;if(this[_0x71df66(0x1e3)](_0x499067))return null;await this[_0x71df66(0x228)]();let _0x387a92=null;try{_0x387a92=this[_0x71df66(0x242)](_0x499067);if(_0x387a92&&_0x387a92[_0x71df66(0x20e)](_0xf4660d['rTetc']))return null;if(_0x387a92&&_0x387a92[_0x71df66(0x20e)](_0xf4660d[_0x71df66(0x220)]))return null;}catch(_0x428ae1){logger[_0x71df66(0x1e4)](_0x71df66(0x1fe)+util['format'](_0x428ae1));}const _0x3e2a89=this[_0x71df66(0x201)](_0x499067),_0x33c6b1=_0x499067['type']||_0xf4660d['CIxjO'],_0xe14125=HOOK_TYPES_MAP[_0x33c6b1]||_0x33c6b1[_0x71df66(0x1d6)](),_0x2c4f30=_0x499067[_0x71df66(0x237)]&&_0x499067[_0x71df66(0x237)][_0x71df66(0x1f5)]?_0x499067[_0x71df66(0x237)]['name']:'';let _0x4b3459=_0xf4660d[_0x71df66(0x217)],_0x36b47f=null,_0x4e1ff6=null,_0x4abe36=null,_0x2ba411=null;_0xf4660d[_0x71df66(0x229)](_0x5c6d5b,_0xf4660d[_0x71df66(0x1c8)])&&(_0x2ba411=new Date()[_0x71df66(0x233)](),_0x499067['errorsDetailed']&&_0xf4660d[_0x71df66(0x247)](_0x499067[_0x71df66(0x25b)][_0x71df66(0x21e)],0x0)?(_0x4b3459=_0xf4660d[_0x71df66(0x1b5)],_0x4e1ff6=util[_0x71df66(0x21f)](_0x499067[_0x71df66(0x25b)][0x0]),_0x36b47f=_0xf4660d['EIjWZ'](getFailureType,_0x4e1ff6),_0x4abe36=failureData[_0x71df66(0x223)](null,[_0x499067[_0x71df66(0x25b)],_0xf4660d[_0x71df66(0x249)]])):_0x4b3459=_0xf4660d[_0x71df66(0x259)]);const _0x15d633={'uuid':_0x5ec8a9,'type':_0xf4660d[_0x71df66(0x22e)],'hook_type':_0xe14125,'name':_0x3e2a89,'body':{'lang':_0xf4660d[_0x71df66(0x211)],'code':_0x499067['fn']?_0x499067['fn'][_0x71df66(0x1de)]():null},'tags':[],'test_run_id':_0x5e28d7,'scope':_0x2c4f30,'scopes':[_0x2c4f30],'file_name':_0x387a92,'location':_0x387a92,'vc_filepath':this['_gitConfigPath']&&_0x387a92?path[_0x71df66(0x245)](this[_0x71df66(0x23e)],_0x387a92):null,'result':_0x4b3459,'started_at':_0x499067[_0x71df66(0x1bd)]||new Date()[_0x71df66(0x233)](),'finished_at':_0x2ba411,'failure_type':_0x36b47f,'failure_reason':_0x4e1ff6,'failure_data':_0x4abe36,'framework':_0xf4660d[_0x71df66(0x265)]};return _0xf4660d[_0x71df66(0x246)](_0x5c6d5b,_0xf4660d[_0x71df66(0x234)])&&(hooksMap[_0x5e28d7]?hooksMap[_0x5e28d7][_0x71df66(0x231)](_0x15d633):hooksMap[_0x5e28d7]=[_0x15d633]),_0x15d633;}catch(_0xedf398){return logger['debug'](_0x71df66(0x1b2)+util['format'](_0xedf398)),null;}}[a97_0x8ec4cc(0x1ca)](_0x139236,_0x680edb,_0x314885){const _0xdbbe0a=a97_0x8ec4cc,_0x17e10f={'LdFAV':function(_0x1086ec,_0x4de569){return _0x1086ec>_0x4de569;},'toEET':_0xdbbe0a(0x24f),'UZpDL':function(_0x45057c,_0x5b67bc){return _0x45057c(_0x5b67bc);},'UKuqS':'test','ltWeF':_0xdbbe0a(0x1a9)};try{const _0x352f29=hooksMap[_0x139236];if(!_0x352f29)return null;const _0x5e1d7e=_0x352f29[_0xdbbe0a(0x253)](_0x125550=>_0x125550['uuid']===_0x680edb);if(!_0x5e1d7e)return null;return _0x5e1d7e[_0xdbbe0a(0x1d1)]=new Date()[_0xdbbe0a(0x233)](),_0x314885[_0xdbbe0a(0x25b)]&&_0x17e10f['LdFAV'](_0x314885[_0xdbbe0a(0x25b)][_0xdbbe0a(0x21e)],0x0)?(_0x5e1d7e['result']=_0x17e10f['toEET'],_0x5e1d7e[_0xdbbe0a(0x267)]=util['inspect'](_0x314885[_0xdbbe0a(0x25b)][0x0]),_0x5e1d7e[_0xdbbe0a(0x256)]=_0x17e10f[_0xdbbe0a(0x262)](getFailureType,_0x5e1d7e[_0xdbbe0a(0x267)]),_0x5e1d7e[_0xdbbe0a(0x1ce)]=failureData['apply'](null,[_0x314885['errorsDetailed'],_0x17e10f[_0xdbbe0a(0x254)]])):_0x5e1d7e[_0xdbbe0a(0x1ac)]=_0x17e10f[_0xdbbe0a(0x208)],_0x5e1d7e;}catch(_0x4ee097){return logger['debug'](_0xdbbe0a(0x1b1)+util[_0xdbbe0a(0x206)](_0x4ee097)),null;}}[a97_0x8ec4cc(0x201)](_0x28e6c2){const _0x3b174e=a97_0x8ec4cc,_0x3de18c={};_0x3de18c['HXKbq']=function(_0xa2cc40,_0x19e58e){return _0xa2cc40!==_0x19e58e;},_0x3de18c[_0x3b174e(0x257)]=_0x3b174e(0x22c),_0x3de18c[_0x3b174e(0x1dd)]='Unknown\x20Test';const _0x48abe6=_0x3de18c;if(_0x48abe6['HXKbq'](_0x28e6c2[_0x3b174e(0x226)],_0x48abe6[_0x3b174e(0x257)]))return'\x22'+_0x28e6c2[_0x3b174e(0x226)]+_0x3b174e(0x1f8)+(_0x28e6c2[_0x3b174e(0x237)]&&_0x28e6c2['parent'][_0x3b174e(0x1f5)])+'\x22';return _0x28e6c2['name']||_0x48abe6[_0x3b174e(0x1dd)];}[a97_0x8ec4cc(0x1f0)](_0x48109b){const _0xd24d1a=a97_0x8ec4cc,_0x7702e0={};_0x7702e0[_0xd24d1a(0x1b7)]=function(_0x5985cd,_0x3ce986){return _0x5985cd!==_0x3ce986;},_0x7702e0[_0xd24d1a(0x251)]='ROOT_DESCRIBE_BLOCK';const _0x2afe15=_0x7702e0,_0x20c47e=[];if(_0x48109b&&_0x48109b['parent']){let _0x55f7d4=_0x48109b[_0xd24d1a(0x237)];while(_0x55f7d4&&_0x55f7d4[_0xd24d1a(0x1f5)]&&_0x2afe15[_0xd24d1a(0x1b7)](_0x55f7d4['name'],'')&&_0x2afe15[_0xd24d1a(0x1b7)](_0x55f7d4[_0xd24d1a(0x1f5)],_0x2afe15[_0xd24d1a(0x251)])){_0x20c47e[_0xd24d1a(0x231)](_0x55f7d4[_0xd24d1a(0x1f5)]),_0x55f7d4=_0x55f7d4[_0xd24d1a(0x237)];}}return _0x20c47e['reverse'](),_0x20c47e;}['getRootParentFile'](_0x472f65){const _0x7173af=a97_0x8ec4cc;if(_0x472f65['asyncError'])try{const _0x5a1516=stackTrace[_0x7173af(0x203)]['call'](stackTrace,_0x472f65[_0x7173af(0x1ee)]);if(_0x5a1516[0x0]&&_0x5a1516[0x0][_0x7173af(0x1f6)])return _0x5a1516[0x0][_0x7173af(0x1f6)]();}catch(_0x4cac95){logger[_0x7173af(0x1e4)](_0x7173af(0x1e0)+util[_0x7173af(0x206)](_0x4cac95));}if(_0x472f65[_0x7173af(0x1df)])return _0x472f65[_0x7173af(0x1df)];return null;}[a97_0x8ec4cc(0x1e3)](_0x416980){const _0x2d97dc=a97_0x8ec4cc,_0x189556={};_0x189556[_0x2d97dc(0x25c)]=_0x2d97dc(0x240),_0x189556[_0x2d97dc(0x261)]=function(_0x23f5a7,_0x490259){return _0x23f5a7===_0x490259;},_0x189556[_0x2d97dc(0x1f2)]=_0x2d97dc(0x22d);const _0x74ea52=_0x189556;try{const _0x267c9d=this['getRootParentFile'](_0x416980);if(_0x267c9d&&_0x267c9d['includes'](_0x74ea52[_0x2d97dc(0x25c)]))return!![];if(!_0x267c9d){const _0x3089ec=_0x416980[_0x2d97dc(0x237)]&&_0x416980[_0x2d97dc(0x237)][_0x2d97dc(0x1f5)];if(_0x74ea52[_0x2d97dc(0x261)](_0x3089ec,_0x74ea52['sWKUk']))return!![];}}catch(_0x2c5dda){logger[_0x2d97dc(0x1e4)](_0x2d97dc(0x20d)+util[_0x2d97dc(0x206)](_0x2c5dda));}return![];}[a97_0x8ec4cc(0x1ab)](_0x15c9d0=null){const _0x15859c=a97_0x8ec4cc;try{const _0x37aae5=_0x15c9d0||global['__workerDetails']||{};if(global[_0x15859c(0x213)])return global[_0x15859c(0x213)];if(_0x37aae5?.['currentTest']?.['testAnalyticsId'])return _0x37aae5['currentTest'][_0x15859c(0x230)];if(_0x37aae5?.[_0x15859c(0x1e8)]?.['id'])return _0x37aae5['currentTest']['id'];return null;}catch(_0x204171){return logger[_0x15859c(0x1e4)](_0x15859c(0x1aa)+util[_0x15859c(0x206)](_0x204171)),null;}}async[a97_0x8ec4cc(0x228)](){const _0x4235f5=a97_0x8ec4cc,_0x342511={'xEASo':function(_0x2ddffc){return _0x2ddffc();}};if(this[_0x4235f5(0x24c)])return this[_0x4235f5(0x23e)];const _0x1eb3fe=await _0x342511[_0x4235f5(0x1d2)](getGitMetaData);_0x1eb3fe&&(this[_0x4235f5(0x23e)]=_0x1eb3fe['root']),this['_gitConfigured']=!![];}['clearHooksMap'](_0x302a0d){hooksMap[_0x302a0d]&&delete hooksMap[_0x302a0d];}[a97_0x8ec4cc(0x255)](_0xe6842e){const _0x2539ac=a97_0x8ec4cc,_0x4889a7={'EIAjL':_0x2539ac(0x240),'gffEO':function(_0x5b36fc,_0x3b1831){return _0x5b36fc(_0x3b1831);},'LCOgb':_0x2539ac(0x248)};if(_0xe6842e['file'])return _0xe6842e[_0x2539ac(0x1df)];if(_0xe6842e[_0x2539ac(0x1ee)]){try{const _0x5b102a=stackTrace[_0x2539ac(0x203)](_0xe6842e[_0x2539ac(0x1ee)]);if(_0x5b102a[0x0]&&_0x5b102a[0x0]['getFileName']){const _0x3af83d=_0x5b102a[0x0][_0x2539ac(0x1f6)]();if(_0x3af83d&&!_0x3af83d['includes'](_0x4889a7[_0x2539ac(0x207)]))return _0x3af83d;}}catch(_0x50f304){logger['debug'](_0x2539ac(0x236)+util[_0x2539ac(0x206)](_0x50f304));}if(_0xe6842e[_0x2539ac(0x1ee)][_0x2539ac(0x20b)]){const _0x3f2bcf=_0xe6842e['asyncError']['stack']['split']('\x0a');for(const _0x1b4f1f of _0x3f2bcf){const _0x2ab6d8=_0x1b4f1f['match'](/at (.+?):\d+:\d+/);if(_0x2ab6d8&&_0x2ab6d8[0x1]&&!_0x2ab6d8[0x1][_0x2539ac(0x20e)](_0x4889a7['EIAjL']))return _0x2ab6d8[0x1];}}}let _0x5f442c=_0xe6842e[_0x2539ac(0x237)];while(_0x5f442c){if(_0x5f442c[_0x2539ac(0x1df)])return _0x5f442c['file'];if(_0x5f442c[_0x2539ac(0x1ee)])try{const _0x4a4625=stackTrace['parse'](_0x5f442c[_0x2539ac(0x1ee)]);if(_0x4a4625[0x0]&&_0x4a4625[0x0][_0x2539ac(0x1f6)]){const _0x422f3a=_0x4a4625[0x0][_0x2539ac(0x1f6)]();if(_0x422f3a&&!_0x422f3a[_0x2539ac(0x20e)](_0x4889a7[_0x2539ac(0x207)]))return _0x422f3a;}}catch(_0x14819e){}_0x5f442c=_0x5f442c[_0x2539ac(0x237)];}try{const _0x2256b1=_0x4889a7[_0x2539ac(0x1c6)](require,_0x4889a7[_0x2539ac(0x20c)]);if(_0x2256b1&&_0x2256b1[_0x2539ac(0x219)]){const _0x1e7381=_0x2256b1[_0x2539ac(0x219)]();if(_0x1e7381&&_0x1e7381[_0x2539ac(0x23d)])return _0x1e7381[_0x2539ac(0x23d)];}}catch(_0x1fe65d){logger[_0x2539ac(0x1e4)](_0x2539ac(0x1ed)+util[_0x2539ac(0x206)](_0x1fe65d));}return null;}['createJestTestIdentifier'](_0x267461){const _0x20cd6f=a97_0x8ec4cc,_0xcb17a0={};_0xcb17a0[_0x20cd6f(0x266)]=_0x20cd6f(0x1e2),_0xcb17a0['tsXAH']=function(_0x2d78e8,_0x4caf01){return _0x2d78e8!==_0x4caf01;},_0xcb17a0[_0x20cd6f(0x1fc)]='ROOT_DESCRIBE_BLOCK',_0xcb17a0[_0x20cd6f(0x243)]=_0x20cd6f(0x240),_0xcb17a0[_0x20cd6f(0x1c1)]=_0x20cd6f(0x1ef),_0xcb17a0[_0x20cd6f(0x23f)]=_0x20cd6f(0x250);const _0x47630e=_0xcb17a0;try{if(!_0x267461)return logger['error'](_0x47630e[_0x20cd6f(0x266)]),null;const _0x2f8b9b=_0x267461[_0x20cd6f(0x1db)]||_0x267461['name']||_0x267461[_0x20cd6f(0x1d3)]||_0x267461[_0x20cd6f(0x202)];let _0x55802b=_0x2f8b9b;if(_0x267461[_0x20cd6f(0x237)]&&_0x267461[_0x20cd6f(0x237)][_0x20cd6f(0x1f5)]&&_0x47630e[_0x20cd6f(0x1b3)](_0x267461[_0x20cd6f(0x237)]['name'],_0x47630e['PetuD'])){const _0x3be3b7=_0x267461[_0x20cd6f(0x1f5)]||_0x267461['title'];_0x3be3b7&&(_0x55802b=_0x267461[_0x20cd6f(0x237)][_0x20cd6f(0x1f5)]+'\x20'+_0x3be3b7);}let _0x23f094=_0x267461[_0x20cd6f(0x23d)];if(!_0x23f094&&_0x267461[_0x20cd6f(0x1ee)]){try{const _0x3e388c=stackTrace['parse'](_0x267461['asyncError']);if(_0x3e388c[0x0]&&_0x3e388c[0x0]['getFileName']){const _0x4e4960=_0x3e388c[0x0][_0x20cd6f(0x1f6)]();_0x4e4960&&!_0x4e4960[_0x20cd6f(0x20e)](_0x47630e[_0x20cd6f(0x243)])&&(_0x23f094=_0x4e4960);}}catch(_0x5e2765){logger[_0x20cd6f(0x1e4)](_0x20cd6f(0x236)+util['format'](_0x5e2765));}if(!_0x23f094&&_0x267461['asyncError'][_0x20cd6f(0x20b)]){const _0xebc137=_0x267461[_0x20cd6f(0x1ee)][_0x20cd6f(0x20b)][_0x20cd6f(0x1b0)]('\x0a');for(const _0xc77d08 of _0xebc137){const _0x4d1ad1=_0xc77d08[_0x20cd6f(0x24a)](/at (.+?):\d+:\d+/);if(_0x4d1ad1&&_0x4d1ad1[0x1]&&!_0x4d1ad1[0x1][_0x20cd6f(0x20e)](_0x47630e['WQFMv'])){_0x23f094=_0x4d1ad1[0x1];break;}}}}const _0x120be4=_0x23f094+'::'+_0x55802b,_0x1b8a64=crypto[_0x20cd6f(0x204)](_0x47630e[_0x20cd6f(0x1c1)])[_0x20cd6f(0x239)](_0x120be4)[_0x20cd6f(0x212)](_0x47630e[_0x20cd6f(0x23f)])['substring'](0x0,0x8),_0x244cbc=process['pid']+_0x20cd6f(0x1cc)+_0x1b8a64;return logger[_0x20cd6f(0x1e4)](_0x20cd6f(0x1ff)+_0x244cbc+_0x20cd6f(0x1d8)+_0x120be4),_0x244cbc;}catch(_0xdb083a){return logger[_0x20cd6f(0x1d7)](_0x20cd6f(0x216)+util[_0x20cd6f(0x206)](_0xdb083a)),null;}}[a97_0x8ec4cc(0x205)](_0xa7f500){const _0x5c7bc7=a97_0x8ec4cc,_0x27fb50={};_0x27fb50['PbyuA']='[jestUtils]\x20No\x20test\x20object\x20provided';const _0x3fc864=_0x27fb50;if(!_0xa7f500)return logger['debug'](_0x3fc864[_0x5c7bc7(0x1eb)]),null;const _0x45025c=this[_0x5c7bc7(0x255)](_0xa7f500),_0x286558={};_0x286558[_0x5c7bc7(0x1f5)]=_0xa7f500[_0x5c7bc7(0x1f5)]||_0xa7f500['title'],_0x286558['parent']=_0xa7f500[_0x5c7bc7(0x237)],_0x286558[_0x5c7bc7(0x23d)]=_0x45025c,_0x286558[_0x5c7bc7(0x1ee)]=_0xa7f500[_0x5c7bc7(0x1ee)];const _0x58d6dc=_0x286558;return this['createJestTestIdentifier'](_0x58d6dc);}[a97_0x8ec4cc(0x1dc)](_0x9ab685,_0x3c5329=null){const _0x273fda=a97_0x8ec4cc,_0x2f83dd={};_0x2f83dd[_0x273fda(0x1d5)]='[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation';const _0x1b00af=_0x2f83dd;if(!_0x9ab685)return logger[_0x273fda(0x1e4)](_0x1b00af[_0x273fda(0x1d5)]),_0x3c5329;if(_0x9ab685['testIdentifier'])return logger[_0x273fda(0x1e4)](_0x273fda(0x241)+_0x9ab685['testIdentifier']),_0x9ab685['testIdentifier'];return this[_0x273fda(0x25a)](_0x9ab685)||_0x3c5329;}}module[a97_0x8ec4cc(0x225)]=o11yClassErrorHandler(JestUtils,[a97_0x8ec4cc(0x228),a97_0x8ec4cc(0x1f0),'getRootParentFile',a97_0x8ec4cc(0x201),'isJestInternalHook',a97_0x8ec4cc(0x1ab),a97_0x8ec4cc(0x209),a97_0x8ec4cc(0x1e9),a97_0x8ec4cc(0x1ca),a97_0x8ec4cc(0x1e1),a97_0x8ec4cc(0x255),'createJestTestIdentifier',a97_0x8ec4cc(0x205),a97_0x8ec4cc(0x1dc)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a98_0x22a4f8=a98_0xd876;(function(_0x36e3f3,_0x1c5ac6){const _0x3f5216=a98_0xd876,_0x48923b=_0x36e3f3();while(!![]){try{const _0xdb0081=-parseInt(_0x3f5216(0x9d))/0x1*(parseInt(_0x3f5216(0x74))/0x2)+parseInt(_0x3f5216(0xa0))/0x3*(-parseInt(_0x3f5216(0x86))/0x4)+parseInt(_0x3f5216(0x87))/0x5+-parseInt(_0x3f5216(0x91))/0x6+-parseInt(_0x3f5216(0x85))/0x7+-parseInt(_0x3f5216(0x96))/0x8+-parseInt(_0x3f5216(0x6d))/0x9*(-parseInt(_0x3f5216(0x75))/0xa);if(_0xdb0081===_0x1c5ac6)break;else _0x48923b['push'](_0x48923b['shift']());}catch(_0x37b651){_0x48923b['push'](_0x48923b['shift']());}}}(a98_0x3a42,0xd9b11));function a98_0x3a42(){const _0xecf1c1=['5125155OSIPnp','ewkxr','launchBuild','existsSync','EVENTS','exports','file','useW3C','length','args','802608Yrexru','assign','platforms','path','push','6824448RNfOGj','../../helpers/testhub/testhubHandler','initialize','SDK_CLEANUP','../test-runner','finally','File\x20','188252ebKAvE','then','index','3NvNidA','config','\x20doesn\x27t\x20exist','vhMvs','FzJKw','parallelsPerPlatform','isUndefined','3457503GvSSGq','handleApp','proxySettings','join','forEach','../../helpers/utilities','Eevxc','12AblCOn','130iBgbhY','FVXbw','../../helpers/helper','getHubUrl','../../helpers/BrowserStackSetup','Config\x20yml\x20is\x20required','EOZld','getPlatformName','gLLfL','modifyBrowserStackCaps','nzcMr','configuration','cwd','SDK_SETUP','end','../../helpers/performance/constants','11120214rvuYzN','5690396ZklMmP'];a98_0x3a42=function(){return _0xecf1c1;};return a98_0x3a42();}function a98_0xd876(_0x167b2e,_0x45726b){const _0x3a4241=a98_0x3a42();return a98_0xd876=function(_0xd876a7,_0x5251d6){_0xd876a7=_0xd876a7-0x6b;let _0x19ae39=_0x3a4241[_0xd876a7];return _0x19ae39;},a98_0xd876(_0x167b2e,_0x45726b);}const fs=require('fs'),path=require(a98_0x22a4f8(0x94)),{default:BrowserStackSetup}=require(a98_0x22a4f8(0x79)),helper=require(a98_0x22a4f8(0x77)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a98_0x22a4f8(0x84))[a98_0x22a4f8(0x8b)],utilities=require(a98_0x22a4f8(0x72)),{parallelVanillaRun}=require(a98_0x22a4f8(0x9a)),TestHubHandler=require(a98_0x22a4f8(0x97));async function run(_0x3b656d,_0x509236,_0x4ac594){const _0x43310c=a98_0x22a4f8,_0x3437c9={'FVXbw':'vanilla','FzJKw':function(_0x202a3a,_0x2d1c89){return _0x202a3a(_0x2d1c89);},'ASqso':'File\x20path\x20is\x20required','gLLfL':function(_0x31d7d3,_0x1ec3be){return _0x31d7d3(_0x1ec3be);},'ewkxr':_0x43310c(0x7a),'vhMvs':function(_0x5e897b,_0x1210f0){return _0x5e897b>_0x1210f0;},'nzcMr':function(_0x102022,_0x4ff993){return _0x102022>_0x4ff993;},'EOZld':function(_0x3d3135,_0x12e552){return _0x3d3135*_0x12e552;},'Eevxc':function(_0x118c08,_0x57ba94,_0x400b99){return _0x118c08(_0x57ba94,_0x400b99);}};await _0x4ac594[_0x43310c(0x98)](_0x3b656d),await helper[_0x43310c(0x6e)](_0x4ac594[_0x43310c(0xa1)]);const _0x2bc80c=[];if(helper[_0x43310c(0x6c)](_0x3b656d['_'][0x1]))throw _0x3437c9[_0x43310c(0xa4)](Error,_0x3437c9['ASqso']);const _0x3cc3f3=path[_0x43310c(0x70)](process[_0x43310c(0x81)](),_0x3b656d['_'][0x1]);if(!fs[_0x43310c(0x8a)](_0x3cc3f3))throw _0x3437c9[_0x43310c(0x7d)](Error,_0x43310c(0x9c)+_0x3b656d['_'][0x1]+_0x43310c(0xa2));if(!_0x4ac594['config'])throw _0x3437c9[_0x43310c(0xa4)](Error,_0x3437c9[_0x43310c(0x88)]);const _0x39df3c=helper[_0x43310c(0x8e)](_0x4ac594['config']);_0x4ac594[_0x43310c(0xa1)][_0x43310c(0x93)]&&_0x3437c9[_0x43310c(0xa3)](_0x4ac594[_0x43310c(0xa1)][_0x43310c(0x93)]['length'],0x0)&&_0x4ac594[_0x43310c(0xa1)]['platforms'][_0x43310c(0x71)]((_0x2aab13,_0x586809)=>{const _0x5d7d2f=_0x43310c;_0x39df3c?_0x2bc80c[_0x5d7d2f(0x95)](helper['modifyBrowserStackW3CCaps'](_0x4ac594['config'],_0x3437c9[_0x5d7d2f(0x76)],_0x586809)):_0x2bc80c[_0x5d7d2f(0x95)](helper['modifyBrowserStackCaps'](_0x4ac594[_0x5d7d2f(0xa1)],_0x3437c9[_0x5d7d2f(0x76)],_0x586809));});let _0x4f5013,_0x1451b2;const _0x30182b=[];if(_0x3437c9[_0x43310c(0x7f)](_0x2bc80c['length'],0x0))_0x2bc80c[_0x43310c(0x71)]((_0x15599a,_0x46f8dd)=>{const _0x4cf0c0=_0x43310c,_0x5d84cd={};_0x5d84cd[_0x4cf0c0(0x9f)]=_0x46f8dd,_0x4f5013={'server':helper[_0x4cf0c0(0x78)](_0x4ac594['config']),'proxySettings':_0x4ac594[_0x4cf0c0(0xa1)][_0x4cf0c0(0x6f)],'platform':helper[_0x4cf0c0(0x7c)](_0x15599a),'platformCaps':Object[_0x4cf0c0(0x92)](_0x5d84cd,_0x4ac594[_0x4cf0c0(0xa1)]['platforms'][_0x46f8dd])};const _0x4ab933={'capability':_0x15599a,..._0x4f5013};_0x4ab933[_0x4cf0c0(0x8d)]=_0x3cc3f3,_0x4ab933[_0x4cf0c0(0x90)]=_0x509236;const _0xb87925={};_0xb87925[_0x4cf0c0(0x80)]=_0x4ab933,_0x1451b2=_0xb87925,_0x30182b[_0x4cf0c0(0x95)](_0x1451b2);});else{let _0x58a0b0;_0x39df3c?_0x58a0b0=helper['modifyBrowserStackW3CCaps'](_0x4ac594[_0x43310c(0xa1)],_0x3437c9[_0x43310c(0x76)],0x0):_0x58a0b0=helper[_0x43310c(0x7e)](_0x4ac594[_0x43310c(0xa1)],_0x3437c9['FVXbw'],0x0);_0x4f5013={'server':helper[_0x43310c(0x78)](_0x4ac594[_0x43310c(0xa1)]),'proxySettings':_0x4ac594[_0x43310c(0xa1)][_0x43310c(0x6f)]};const _0x2442d3={'capability':_0x58a0b0,..._0x4f5013};_0x2442d3[_0x43310c(0x8d)]=_0x3cc3f3,_0x2442d3[_0x43310c(0x90)]=_0x509236;const _0x459987={};_0x459987[_0x43310c(0x80)]=_0x2442d3,_0x1451b2=_0x459987,_0x30182b['push'](_0x1451b2);}const _0x1940e3=await TestHubHandler[_0x43310c(0x89)](_0x3437c9[_0x43310c(0x76)],_0x4ac594),_0x1469f6=_0x3437c9[_0x43310c(0x7b)](_0x4ac594[_0x43310c(0xa1)][_0x43310c(0x93)][_0x43310c(0x8f)]||0x1,_0x4ac594['config'][_0x43310c(0x6b)]||0x1);PerformanceTester[_0x43310c(0x83)](PerformanceEvents[_0x43310c(0x82)]),_0x3437c9[_0x43310c(0x73)](parallelVanillaRun,_0x30182b,_0x1469f6)[_0x43310c(0x9e)](_0x951ea3=>{})[_0x43310c(0x9b)](async()=>{const _0x30520d=_0x43310c;PerformanceTester['start'](PerformanceEvents[_0x30520d(0x99)]),await utilities['finalExecution'](_0x4ac594);});}module[a98_0x22a4f8(0x8c)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99_0x4af348=a99_0x3125;function a99_0x3125(_0x7224ad,_0x3997d0){const _0x40c461=a99_0x40c4();return a99_0x3125=function(_0x312530,_0x5dfb62){_0x312530=_0x312530-0x121;let _0x336994=_0x40c461[_0x312530];return _0x336994;},a99_0x3125(_0x7224ad,_0x3997d0);}function a99_0x40c4(){const _0x368ea3=['gKRBW','platformVersion','ijPuR','browser','device','21rNGsfy','GHmEP','set','Lvzlc','getCurrentPlatform','26476sgDMxg','77571iNtqIQ','platform','mFgss','browser_version','11HUMETa','AVSYI','platformName','243720TXsQLw','fjkib','browserVersion','browserName','JEKXD','7yiYcrK','cNAlQ','272CRqKqZ','aWzBB','setTestMetadata','platform_version','__platformCaps','412248vKfdbZ','1533565lrixHG','fmEDS','4357410bLepEO','240199gpjfAu'];a99_0x40c4=function(){return _0x368ea3;};return a99_0x40c4();}(function(_0x3535c6,_0x1d055d){const _0x4e675f=a99_0x3125,_0x5d8652=_0x3535c6();while(!![]){try{const _0x548871=-parseInt(_0x4e675f(0x135))/0x1+-parseInt(_0x4e675f(0x140))/0x2*(-parseInt(_0x4e675f(0x13b))/0x3)+-parseInt(_0x4e675f(0x131))/0x4+-parseInt(_0x4e675f(0x132))/0x5+-parseInt(_0x4e675f(0x125))/0x6*(-parseInt(_0x4e675f(0x12a))/0x7)+-parseInt(_0x4e675f(0x12c))/0x8*(-parseInt(_0x4e675f(0x141))/0x9)+parseInt(_0x4e675f(0x134))/0xa*(parseInt(_0x4e675f(0x122))/0xb);if(_0x548871===_0x1d055d)break;else _0x5d8652['push'](_0x5d8652['shift']());}catch(_0x3ce050){_0x5d8652['push'](_0x5d8652['shift']());}}}(a99_0x40c4,0x33c83));const TestMetadata=require('./helpers/metadata');class BrowserStackSdk{static[a99_0x4af348(0x13f)](){const _0x3baaff=a99_0x4af348,_0xd2e69d={};_0xd2e69d['MZOos']='os_version',_0xd2e69d[_0x3baaff(0x143)]='osVersion',_0xd2e69d[_0x3baaff(0x12d)]=_0x3baaff(0x139),_0xd2e69d['cNAlQ']=_0x3baaff(0x128),_0xd2e69d[_0x3baaff(0x129)]=_0x3baaff(0x121),_0xd2e69d[_0x3baaff(0x138)]=_0x3baaff(0x127),_0xd2e69d['fjkib']=_0x3baaff(0x13a),_0xd2e69d[_0x3baaff(0x133)]='deviceName',_0xd2e69d['pUqdY']=_0x3baaff(0x142),_0xd2e69d['gKRBW']=_0x3baaff(0x124),_0xd2e69d[_0x3baaff(0x123)]=_0x3baaff(0x12f),_0xd2e69d['GHmEP']=_0x3baaff(0x137),_0xd2e69d[_0x3baaff(0x13e)]='customVariables';const _0x5dcb87=_0xd2e69d,_0x437103={};if(global[_0x3baaff(0x130)]){const _0xe8feb8=global[_0x3baaff(0x130)],_0x1c4986=_0xe8feb8[_0x5dcb87['MZOos']]||_0xe8feb8[_0x5dcb87[_0x3baaff(0x143)]],_0x2bf570=_0xe8feb8[_0x5dcb87[_0x3baaff(0x12d)]]||_0xe8feb8[_0x5dcb87[_0x3baaff(0x12b)]],_0x2fdfd4=_0xe8feb8[_0x5dcb87[_0x3baaff(0x129)]]||_0xe8feb8[_0x5dcb87[_0x3baaff(0x138)]],_0x12713f=_0xe8feb8[_0x5dcb87[_0x3baaff(0x126)]]||_0xe8feb8[_0x5dcb87['fmEDS']],_0x18b918=_0xe8feb8[_0x5dcb87['pUqdY']]||_0xe8feb8[_0x5dcb87[_0x3baaff(0x136)]],_0x5e645b=_0xe8feb8[_0x5dcb87[_0x3baaff(0x123)]]||_0xe8feb8[_0x5dcb87[_0x3baaff(0x13c)]];_0xe8feb8['os']&&(_0x437103['os']=_0xe8feb8['os']),_0x1c4986&&(_0x437103[_0x5dcb87[_0x3baaff(0x143)]]=_0x1c4986),_0x2bf570&&(_0x437103[_0x5dcb87[_0x3baaff(0x12b)]]=_0x2bf570),_0x2fdfd4&&(_0x437103[_0x5dcb87[_0x3baaff(0x138)]]=_0x2fdfd4),_0x12713f&&(_0x437103[_0x5dcb87[_0x3baaff(0x133)]]=_0x12713f),_0x18b918&&(_0x437103[_0x5dcb87[_0x3baaff(0x136)]]=_0x18b918),_0x5e645b&&(_0x437103[_0x5dcb87[_0x3baaff(0x13c)]]=_0x5e645b),_0xe8feb8[_0x5dcb87[_0x3baaff(0x13e)]]&&(_0x437103[_0x5dcb87[_0x3baaff(0x13e)]]=_0xe8feb8[_0x5dcb87[_0x3baaff(0x13e)]]);}return _0x437103;}static[a99_0x4af348(0x12e)](_0x2e75ba={}){const _0x542244=a99_0x4af348;TestMetadata[_0x542244(0x13d)](_0x2e75ba);}}module['exports']=BrowserStackSdk;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a100_0xfc41(_0x5e5414,_0x275867){const _0x19bd6a=a100_0x19bd();return a100_0xfc41=function(_0xfc4184,_0x401615){_0xfc4184=_0xfc4184-0x78;let _0x29c3a4=_0x19bd6a[_0xfc4184];return _0x29c3a4;},a100_0xfc41(_0x5e5414,_0x275867);}const a100_0x491dad=a100_0xfc41;(function(_0x122fa8,_0x884ea){const _0x125721=a100_0xfc41,_0x57a192=_0x122fa8();while(!![]){try{const _0x37744d=parseInt(_0x125721(0x144))/0x1*(parseInt(_0x125721(0x92))/0x2)+parseInt(_0x125721(0xb3))/0x3+parseInt(_0x125721(0xfb))/0x4*(parseInt(_0x125721(0x14e))/0x5)+-parseInt(_0x125721(0x124))/0x6+-parseInt(_0x125721(0x99))/0x7*(-parseInt(_0x125721(0x140))/0x8)+-parseInt(_0x125721(0xc3))/0x9+-parseInt(_0x125721(0x169))/0xa*(parseInt(_0x125721(0x164))/0xb);if(_0x37744d===_0x884ea)break;else _0x57a192['push'](_0x57a192['shift']());}catch(_0xf2ff0e){_0x57a192['push'](_0x57a192['shift']());}}}(a100_0x19bd,0x843c2));const util=require(a100_0x491dad(0xf4)),os=require('os'),path=require(a100_0x491dad(0xa1)),{v4:uuidv4}=require(a100_0x491dad(0x154)),fs=require('fs'),constants=require(a100_0x491dad(0xa6)),logger=require('./logger')['winstonLogger'],fileLogger=require(a100_0x491dad(0xfa))[a100_0x491dad(0x108)],{getLogDir}=require('./logger'),helper=require(a100_0x491dad(0x16b)),utilities=require(a100_0x491dad(0x15d)),percyHelper=require(a100_0x491dad(0x122)),hubAllocator=require(a100_0x491dad(0xe2)),PerformanceTester=require(a100_0x491dad(0xdc)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require('./performance/constants'),{setPercyFlag}=require(a100_0x491dad(0x168)),TestHubHandler=require('./testhub/testhubHandler'),timeoutPromise=require(a100_0x491dad(0x165)),BrowserstackCLI=require(a100_0x491dad(0x152)),LoadTestModule=require(a100_0x491dad(0x12d)),{getEdsInstrumentationAPIUrl}=require('../bin/utils/apiUtilityMethods'),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x366d66,_0x573c20){const _0x42f810=a100_0x491dad,_0x67620d={'PMpjJ':'11|4|13|14|0|9|12|6|21|10|2|19|20|3|15|23|22|18|7|1|8|16|5|17','dViLG':'No\x20config\x20provided.','awLzQ':function(_0x1235fe){return _0x1235fe();}},_0x4776bb=_0x67620d[_0x42f810(0xb7)][_0x42f810(0xc2)]('|');let _0x1d9659=0x0;while(!![]){switch(_0x4776bb[_0x1d9659++]){case'0':this['percy']=null;continue;case'1':this[_0x42f810(0xa0)][_0x42f810(0x9f)][_0x42f810(0x170)]=!helper[_0x42f810(0x163)]()||helper[_0x42f810(0x132)](this[_0x42f810(0xa0)][_0x42f810(0x9f)][_0x42f810(0x170)]);continue;case'2':this[_0x42f810(0xbf)]={};continue;case'3':global[_0x42f810(0xda)]=_0x573c20;continue;case'4':helper['normalizeTestReportingEnvVars']();continue;case'5':helper[_0x42f810(0x86)](this['config'],this[_0x42f810(0x12b)],this[_0x42f810(0x10c)]);continue;case'6':this[_0x42f810(0x12b)]=helper['setCLICaps'](_0x366d66);continue;case'7':this[_0x42f810(0xa0)]['testContextOptions'][_0x42f810(0xef)]=!helper[_0x42f810(0x163)]()||helper['isTrue'](this[_0x42f810(0xa0)][_0x42f810(0x9f)]['skipSessionStatus']);continue;case'8':helper[_0x42f810(0xee)](this[_0x42f810(0xa0)],this[_0x42f810(0x12b)],this[_0x42f810(0x10c)]);continue;case'9':this[_0x42f810(0xde)]=helper['getConfigPath'](_0x366d66);continue;case'10':this['config'][_0x42f810(0x9f)]=this[_0x42f810(0xa0)]['testContextOptions']||{};continue;case'11':this[_0x42f810(0x94)]=[];continue;case'12':this[_0x42f810(0xa0)]=helper['readConfig'](this[_0x42f810(0xde)]);continue;case'13':this[_0x42f810(0x10c)]=helper[_0x42f810(0xc0)]();continue;case'14':this[_0x42f810(0xe3)]=null;continue;case'15':if(helper[_0x42f810(0xac)](this[_0x42f810(0xa0)]))throw new Error(_0x67620d['dViLG']);continue;case'16':helper['setLogDir'](this[_0x42f810(0xa0)]);continue;case'17':PerformanceTester[_0x42f810(0x16d)]();continue;case'18':helper[_0x42f810(0xc8)](this[_0x42f810(0xa0)]);continue;case'19':this[_0x42f810(0x14d)]=_0x67620d['awLzQ'](uuidv4);continue;case'20':this[_0x42f810(0xda)]=_0x573c20;continue;case'21':this[_0x42f810(0xa0)]['platforms']=this[_0x42f810(0xa0)][_0x42f810(0x13b)]||[];continue;case'22':helper[_0x42f810(0x121)](this[_0x42f810(0xa0)],this[_0x42f810(0x12b)]);continue;case'23':if(this['config'][_0x42f810(0x123)])throw new Error(this[_0x42f810(0xa0)][_0x42f810(0x123)]);continue;}break;}}['preInitialize'](_0x65465e){const _0x2d2924=a100_0x491dad,_0x100b0c={'vCFPT':_0x2d2924(0xea),'KYWJr':function(_0x52b4c9,_0x373051){return _0x52b4c9===_0x373051;},'kPkqQ':'integrations','mgTbL':'SDKTestAttempted','VNFvG':function(_0x5bfa46,_0x413dc4){return _0x5bfa46<_0x413dc4;},'KGtMG':function(_0x863ec7,_0x37a3e3){return _0x863ec7(_0x37a3e3);},'jiiOs':_0x2d2924(0xf7),'OgUUz':function(_0x1fb0bf,_0x42278a){return _0x1fb0bf===_0x42278a;},'zCZWA':_0x2d2924(0x11e),'GXeUz':_0x2d2924(0x136),'JYQYe':_0x2d2924(0x115),'PpawA':_0x2d2924(0x97),'xaoWb':_0x2d2924(0x134),'FbJea':_0x2d2924(0x156),'NoSKP':function(_0x2dfcaa,_0x4436aa){return _0x2dfcaa!==_0x4436aa;},'VKlQb':'win32','NMzQX':_0x2d2924(0x8f),'Qpqaf':_0x2d2924(0x105),'ShXuR':_0x2d2924(0x104),'cKZsV':_0x2d2924(0xd3)},_0x5e5fa4=this[_0x2d2924(0xda)];global['config']=this[_0x2d2924(0xa0)],helper[_0x2d2924(0x16e)](this[_0x2d2924(0xa0)]),this[_0x2d2924(0xc1)]=null,global[_0x2d2924(0x14d)]=this[_0x2d2924(0x14d)],logger[_0x2d2924(0xce)](_0x2d2924(0xd9)+this[_0x2d2924(0x14d)]),!this['config'][_0x2d2924(0x149)]&&(this[_0x2d2924(0xa0)][_0x2d2924(0x149)]=this[_0x2d2924(0xa0)][_0x2d2924(0x171)]||{});if(helper[_0x2d2924(0xac)](helper[_0x2d2924(0xed)](this[_0x2d2924(0xa0)]))||helper[_0x2d2924(0xac)](helper[_0x2d2924(0x151)](this['config'])))throw new Error(_0x100b0c[_0x2d2924(0xfe)]);helper[_0x2d2924(0x138)](this[_0x2d2924(0xa0)])&&helper[_0x2d2924(0xac)](helper[_0x2d2924(0x11f)](this[_0x2d2924(0xa0)]))&&(!helper[_0x2d2924(0xac)](this[_0x2d2924(0xa0)][_0x2d2924(0x149)])&&_0x100b0c[_0x2d2924(0x101)](this['config'][_0x2d2924(0x149)][_0x2d2924(0xb8)],Object)?!helper[_0x2d2924(0x132)](this[_0x2d2924(0xa0)][_0x2d2924(0x149)]['skipBinaryInitialisation'])&&(this[_0x2d2924(0xa0)]['browserStackLocalOptions'][_0x2d2924(0xb5)]=helper['generateLocalIdentifier']()):this['config'][_0x2d2924(0x149)]={'localIdentifier':helper['generateLocalIdentifier']()});this[_0x2d2924(0xa0)][_0x2d2924(0x149)]['skipBinaryInitialisation']=helper[_0x2d2924(0x132)](this[_0x2d2924(0xa0)][_0x2d2924(0x149)]['skipBinaryInitialisation']),helper['setHandlePWError'](this['config']);if(_0x100b0c[_0x2d2924(0x101)](_0x5e5fa4,_0x100b0c[_0x2d2924(0x103)]))return;this[_0x2d2924(0x167)]();process['env'][_0x2d2924(0xcb)]&&(this['config'][_0x2d2924(0xe9)]=helper[_0x2d2924(0x132)](process[_0x2d2924(0x7b)][_0x2d2924(0xcb)]),this['config'][_0x2d2924(0x8a)]=this[_0x2d2924(0xa0)][_0x2d2924(0x8a)]||{});helper[_0x2d2924(0xf6)](this[_0x2d2924(0xa0)])&&(process[_0x2d2924(0x7b)][_0x2d2924(0xcb)]=!![]);LoadTestModule[_0x2d2924(0xc9)](this[_0x2d2924(0xa0)])&&logger['debug'](_0x2d2924(0xf5)+this[_0x2d2924(0x14d)]);if(!helper[_0x2d2924(0x163)]()){try{process[_0x2d2924(0x7b)][_0x2d2924(0x102)]=_0x5e5fa4,utilities[_0x2d2924(0x110)](_0x100b0c['mgTbL'],{},this[_0x2d2924(0xa0)],this['framework']);}catch(_0x30930c){logger[_0x2d2924(0x13c)](_0x2d2924(0x162)+_0x30930c);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x5e5fa4)){if(global[_0x2d2924(0x14f)]||global['__isPuppeteerInstalled'])return;_0x100b0c['VNFvG'](_0x100b0c[_0x2d2924(0x8b)](parseInt,helper[_0x2d2924(0xdb)](_0x100b0c[_0x2d2924(0xd8)])),0x3)&&(this[_0x2d2924(0xa0)][_0x2d2924(0x137)]=![]),_0x100b0c[_0x2d2924(0xcc)](helper[_0x2d2924(0xd7)](helper[_0x2d2924(0xdb)](_0x100b0c[_0x2d2924(0xd8)]),_0x100b0c[_0x2d2924(0x10e)]),0x1)&&(this[_0x2d2924(0xa0)][_0x2d2924(0x137)]=!![]);}(helper[_0x2d2924(0xac)](this[_0x2d2924(0xa0)][_0x2d2924(0x13b)])||helper['isUndefined'](this[_0x2d2924(0xa0)][_0x2d2924(0x13b)]['length']))&&(helper[_0x2d2924(0xac)](this[_0x2d2924(0xa0)]['parallelsPerPlatform'])?logger[_0x2d2924(0xce)](_0x100b0c[_0x2d2924(0xb6)]):logger['warn'](_0x100b0c[_0x2d2924(0x119)]),this[_0x2d2924(0xa0)][_0x2d2924(0x13b)]=[]);!this[_0x2d2924(0xa0)][_0x2d2924(0x9f)]&&(this['config'][_0x2d2924(0x9f)]={});try{process[_0x2d2924(0x7b)][_0x2d2924(0x102)]=_0x65465e['_'][0x0],utilities[_0x2d2924(0x110)](_0x100b0c['mgTbL'],{},this['config'],this[_0x2d2924(0xda)]);}catch(_0x6a199b){logger[_0x2d2924(0x13c)](_0x2d2924(0x162)+_0x6a199b);}!this[_0x2d2924(0xa0)][_0x2d2924(0x7d)]&&logger[_0x2d2924(0xce)](constants['AUTOLOGCAPTURE_NOTIFICATION']),this[_0x2d2924(0xb1)]=this['intExitHandler']['bind'](this),process['on'](_0x100b0c['PpawA'],this[_0x2d2924(0xb1)]),process['on'](_0x100b0c[_0x2d2924(0x127)],this[_0x2d2924(0xb1)]),process['on'](_0x100b0c['FbJea'],this['intExitHandler']),_0x100b0c[_0x2d2924(0x16c)](process[_0x2d2924(0xb4)],_0x100b0c[_0x2d2924(0x78)])?(process['on'](_0x100b0c[_0x2d2924(0x160)],this['intExitHandler']),process['on'](_0x100b0c['Qpqaf'],this['intExitHandler'])):process['on'](_0x100b0c[_0x2d2924(0xca)],this[_0x2d2924(0xb1)]),process['on'](_0x100b0c[_0x2d2924(0x8d)],this[_0x2d2924(0xd0)]());}async['initialize'](_0x11ecc4){const _0x4ceaea=a100_0x491dad,_0x148332={'nWPAN':_0x4ceaea(0xd6),'zGlzU':_0x4ceaea(0xc5),'fAQTN':_0x4ceaea(0x159),'HOjte':function(_0x8d9eea,_0x5ea05c){return _0x8d9eea===_0x5ea05c;},'ZSpJn':'playwright','DGGpd':function(_0x5cac9c,_0x1f9956){return _0x5cac9c+_0x1f9956;},'gdIxg':'?caps=','mQnkn':function(_0x4f0e12,_0x266bd8){return _0x4f0e12(_0x266bd8);},'xyrWz':_0x4ceaea(0x7f)};this['preInitialize'](_0x11ecc4);if(helper[_0x4ceaea(0xf6)](this[_0x4ceaea(0xa0)])){const _0x5418af=await helper['getTurboScaleGridDetails'](this[_0x4ceaea(0xa0)]);this['config'][_0x4ceaea(0xbd)]=_0x5418af,_0x5418af[_0x4ceaea(0x10f)]&&helper[_0x4ceaea(0xe1)](this[_0x4ceaea(0xa0)][_0x4ceaea(0xe3)])&&helper['isTrue'](this['config'][_0x4ceaea(0xe3)])&&(this[_0x4ceaea(0xa0)]['browserStackLocalOptions']['localIdentifier']=_0x148332[_0x4ceaea(0xa7)],this['config'][_0x4ceaea(0x149)][_0x148332['zGlzU']]=_0x5418af[_0x4ceaea(0x11c)][_0x4ceaea(0xb9)](','),this['config'][_0x4ceaea(0x149)][_0x4ceaea(0xd2)]=_0x148332[_0x4ceaea(0x90)]),this['config']['turboScaleUrl']=_0x5418af['url'],this[_0x4ceaea(0xda)]&&_0x148332['HOjte'](this['framework'][_0x4ceaea(0x87)](),_0x148332[_0x4ceaea(0xa5)])?this[_0x4ceaea(0xa0)][_0x4ceaea(0x120)]=_0x148332[_0x4ceaea(0x11d)](_0x5418af['playwrightUrl'],_0x148332[_0x4ceaea(0x10b)]):constants['hubUrl']=helper[_0x4ceaea(0x146)](this[_0x4ceaea(0xa0)]),logger['debug'](_0x4ceaea(0xc4)+constants[_0x4ceaea(0xc6)]);}helper[_0x4ceaea(0x7e)](this[_0x4ceaea(0xa0)]),this[_0x4ceaea(0xcd)](),_0x148332[_0x4ceaea(0xec)](setPercyFlag,this),await this[_0x4ceaea(0x128)](),![_0x148332[_0x4ceaea(0x15a)],_0x148332[_0x4ceaea(0xa5)]][_0x4ceaea(0x161)](this[_0x4ceaea(0xda)])&&!helper['isTurboScaleSession'](this['config'])&&!helper['getCentralUser']()['central_scanner']&&await this[_0x4ceaea(0x12c)]();}async['setupPercy'](){const _0x2bfe4b=a100_0x491dad,_0x303763={};_0x303763[_0x2bfe4b(0x143)]=function(_0x36a537,_0x189ba8){return _0x36a537===_0x189ba8;},_0x303763[_0x2bfe4b(0x7a)]=_0x2bfe4b(0x80),_0x303763[_0x2bfe4b(0x9c)]=_0x2bfe4b(0x84),_0x303763[_0x2bfe4b(0x16a)]=_0x2bfe4b(0x98),_0x303763[_0x2bfe4b(0x131)]=_0x2bfe4b(0x159),_0x303763['Yrojk']=_0x2bfe4b(0xd3);const _0x4a18ad=_0x303763;if(helper[_0x2bfe4b(0x132)](this[_0x2bfe4b(0xa0)][_0x2bfe4b(0x148)])&&(!this[_0x2bfe4b(0x148)]||!this[_0x2bfe4b(0x148)][_0x2bfe4b(0xae)]()))try{this['percy']=await percyHelper[_0x2bfe4b(0x113)](this[_0x2bfe4b(0xa0)]);if(!this[_0x2bfe4b(0x148)]){process['env'][_0x2bfe4b(0x15c)]=_0x4a18ad[_0x2bfe4b(0x7a)];throw new Error(_0x4a18ad[_0x2bfe4b(0x9c)]);}logger[_0x2bfe4b(0xce)](_0x4a18ad['wgjDM']),process['env']['BROWSERSTACK_PERCY']=_0x4a18ad[_0x2bfe4b(0x131)];let _0x47ec51=0x0;const _0x4982bf=async()=>{const _0x2b5525=_0x2bfe4b;_0x47ec51++,_0x4a18ad[_0x2b5525(0x143)](_0x47ec51,0x1)&&await this['stopPercy']();};process['on'](_0x4a18ad[_0x2bfe4b(0x16f)],_0x4982bf);}catch(_0x55229e){process[_0x2bfe4b(0x7b)][_0x2bfe4b(0x15c)]=_0x4a18ad[_0x2bfe4b(0x7a)],logger[_0x2bfe4b(0x13c)](_0x2bfe4b(0x10a)+_0x55229e);throw new Error(_0x55229e['toString']());}}async[a100_0x491dad(0xa3)](){const _0x4a2ae2=a100_0x491dad,_0x1f2a00={};_0x1f2a00['BDZGc']='Percy\x20stopped',_0x1f2a00[_0x4a2ae2(0x10d)]=_0x4a2ae2(0x8e);const _0x38fcbd=_0x1f2a00;if(this[_0x4a2ae2(0x148)]&&this[_0x4a2ae2(0x148)]['isRunning']())try{await percyHelper['stopPercy'](this['percy']),logger['info'](_0x38fcbd['BDZGc']);}catch(_0x4b983e){logger['error'](_0x38fcbd[_0x4a2ae2(0x10d)],_0x4b983e[_0x4a2ae2(0x85)]);}}async[a100_0x491dad(0x128)](){const _0x381c72=a100_0x491dad,_0x52a3bb={};_0x52a3bb[_0x381c72(0x79)]=_0x381c72(0x150),_0x52a3bb['fEmmC']=_0x381c72(0x93);const _0x82395e=_0x52a3bb;if(helper[_0x381c72(0x163)]()&&helper['isTrue'](this[_0x381c72(0xa0)][_0x381c72(0xe3)])&&(!this[_0x381c72(0xe3)]||!this[_0x381c72(0xe3)][_0x381c72(0xae)]()))try{if(this[_0x381c72(0xa0)][_0x381c72(0x149)][_0x381c72(0x172)]){logger['debug'](_0x82395e[_0x381c72(0x79)]);return;}this['browserstackLocal']=await helper['startLocalBinary'](this[_0x381c72(0xa0)]),logger['info'](_0x82395e['fEmmC']);}catch(_0x14487a){logger[_0x381c72(0x13c)](_0x14487a);throw new Error(_0x14487a[_0x381c72(0xe8)]());}}async[a100_0x491dad(0x142)](){const _0x52ec92=a100_0x491dad,_0x5d5a33={};_0x5d5a33[_0x52ec92(0x145)]=_0x52ec92(0x13d),_0x5d5a33[_0x52ec92(0x153)]=_0x52ec92(0x130);const _0x29613b=_0x5d5a33;if(this[_0x52ec92(0xe3)]&&this['browserstackLocal']['isRunning']())try{await helper[_0x52ec92(0xf0)](this[_0x52ec92(0xe3)]),logger['info'](_0x29613b['DvCTx']);}catch(_0x496f0c){logger[_0x52ec92(0x123)](_0x29613b[_0x52ec92(0x153)],_0x496f0c[_0x52ec92(0x85)]);}}async[a100_0x491dad(0x12c)](){const _0x4cc9e9=a100_0x491dad;return PerformanceTester[_0x4cc9e9(0x83)](PerformanceAutEvents[_0x4cc9e9(0xf8)],async()=>{const _0xb8f3b6=_0x4cc9e9;await hubAllocator[_0xb8f3b6(0xab)](this[_0xb8f3b6(0xa0)]);})();}async[a100_0x491dad(0xe4)](){const _0x1686dd=a100_0x491dad,_0x46f96e={'OCpXd':function(_0x441117,_0x5c5076){return _0x441117(_0x5c5076);},'neiMX':_0x1686dd(0x13f),'cikxl':function(_0x8c5f0e,_0x474e2c,_0x4ee759,_0x293d3f,_0x411d00,_0x289ffb,_0x37474f){return _0x8c5f0e(_0x474e2c,_0x4ee759,_0x293d3f,_0x411d00,_0x289ffb,_0x37474f);},'OuEAV':'BrowserstackHealing.init\x20method\x20timed\x20out','Gcnmv':_0x1686dd(0x11a),'QCcZF':_0x1686dd(0xdd),'GZEbK':'BrowserstackHealing.init','hIfCO':function(_0x291110,_0x4a8bbf){return _0x291110(_0x4a8bbf);},'cBwmE':function(_0x3a80a9,_0x27876a){return _0x3a80a9===_0x27876a;},'mDHHh':'true','lkYQW':function(_0x53ba04,_0x27585c){return _0x53ba04===_0x27585c;},'cPUMG':function(_0x12ddf2,_0x38d5aa){return _0x12ddf2===_0x38d5aa;},'EYNHY':_0x1686dd(0x9a),'HlXKc':'Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','dohsO':_0x1686dd(0xaa),'qUxFE':_0x1686dd(0x126),'XmipS':function(_0x1f8cf1,_0x10b761){return _0x1f8cf1>=_0x10b761;},'lIRSn':function(_0x2111f2,_0x4bdeb9){return _0x2111f2<_0x4bdeb9;},'QOqWy':function(_0x2846d1,_0x4903cd){return _0x2846d1>=_0x4903cd;},'KMRyP':_0x1686dd(0x91),'HcYJR':'aiHeal:tcgAuth','aOPoT':function(_0x1537d2){return _0x1537d2();}},_0x56e606=PerformanceTester['measureWrapper'](_0x46f96e[_0x1686dd(0xe6)],async()=>{const _0x2d9721=_0x1686dd;try{const _0x5b6310=new Date(),_0x29625f=helper[_0x2d9721(0x139)](this[_0x2d9721(0xa0)]),_0x5d8926=_0x46f96e[_0x2d9721(0x155)](require,path[_0x2d9721(0xb9)](__dirname,_0x46f96e[_0x2d9721(0x14c)])),_0x582cab=_0x46f96e['cikxl'](timeoutPromise,constants[_0x2d9721(0xfd)],_0x46f96e['OuEAV'],_0x46f96e['Gcnmv'],_0x5b6310,this[_0x2d9721(0xa0)],this[_0x2d9721(0xda)]),_0x39e287={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x46f96e[_0x2d9721(0x155)](require,_0x46f96e[_0x2d9721(0xe5)])[_0x2d9721(0xd1)],'methodUsed':_0x46f96e['GZEbK'],'proxyConfig':_0x29625f,'os':os[_0x2d9721(0xb4)]()};if(_0x29625f&&_0x29625f[_0x2d9721(0xc7)]){utilities[_0x2d9721(0x110)](constants[_0x2d9721(0xa4)],_0x39e287,this[_0x2d9721(0xa0)],this[_0x2d9721(0xda)]);return;}const _0x530f61={};_0x530f61[_0x2d9721(0x9d)]=_0x29625f;const _0x5c5942=await Promise['race']([_0x5d8926[_0x2d9721(0x7c)](this['config'][_0x2d9721(0x13a)],this[_0x2d9721(0xa0)][_0x2d9721(0x15f)],constants[_0x2d9721(0xbb)],_0x46f96e[_0x2d9721(0x118)](require,_0x46f96e['QCcZF'])[_0x2d9721(0xd1)],_0x530f61)[_0x2d9721(0xa8)](_0x3bb432=>{return _0x582cab['cancel'](),_0x3bb432;}),_0x582cab]);_0x5c5942[_0x2d9721(0x107)]=_0x46f96e[_0x2d9721(0x125)](_0x5c5942[_0x2d9721(0x107)],_0x46f96e[_0x2d9721(0xd4)])||_0x46f96e['cBwmE'](_0x5c5942[_0x2d9721(0x107)],!![]);const _0x1b80b6=_0x46f96e[_0x2d9721(0x11b)](this['config'][_0x2d9721(0xe7)],!![])||_0x46f96e[_0x2d9721(0xa9)](this[_0x2d9721(0xa0)][_0x2d9721(0xe7)],_0x46f96e[_0x2d9721(0xd4)]);if(_0x46f96e[_0x2d9721(0x125)](_0x5c5942[_0x2d9721(0x85)],constants[_0x2d9721(0xf2)])&&_0x1b80b6)logger['info'](_0x46f96e[_0x2d9721(0xdf)]);else{if(!_0x5c5942[_0x2d9721(0xaf)]&&_0x46f96e[_0x2d9721(0x11b)](_0x5c5942[_0x2d9721(0x89)],0x1f7)&&_0x1b80b6)logger[_0x2d9721(0xce)](_0x46f96e['HlXKc']),utilities['fireFunnelTestEvent'](constants[_0x2d9721(0x14b)],_0x39e287,this[_0x2d9721(0xa0)],this[_0x2d9721(0xda)]);else{if(!_0x5c5942[_0x2d9721(0xaf)]&&_0x1b80b6){logger[_0x2d9721(0xce)](_0x46f96e['dohsO']);const _0x54b12={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x46f96e[_0x2d9721(0x118)](require,_0x46f96e[_0x2d9721(0xe5)])[_0x2d9721(0xd1)],'methodUsed':_0x46f96e['GZEbK'],'proxyConfig':_0x29625f,'os':os['platform']()};utilities[_0x2d9721(0x110)](constants[_0x2d9721(0x15e)],_0x54b12,this[_0x2d9721(0xa0)],this[_0x2d9721(0xda)]);}else{if(_0x5c5942[_0x2d9721(0xaf)]&&!_0x5c5942[_0x2d9721(0x107)]&&_0x1b80b6)logger[_0x2d9721(0xce)](_0x46f96e[_0x2d9721(0xe0)]);else{if(_0x46f96e[_0x2d9721(0x106)](_0x5c5942[_0x2d9721(0x89)],0xc8)&&_0x46f96e['lIRSn'](_0x5c5942[_0x2d9721(0x89)],0x12c))utilities['fireFunnelTestEvent'](constants[_0x2d9721(0x12e)],_0x39e287,this[_0x2d9721(0xa0)],this[_0x2d9721(0xda)]);else{if(_0x46f96e['QOqWy'](_0x5c5942['status'],0x190))_0x39e287[_0x2d9721(0x89)]=_0x5c5942[_0x2d9721(0x89)],utilities[_0x2d9721(0x110)](constants[_0x2d9721(0x116)],_0x39e287,this['config'],this[_0x2d9721(0xda)]);else!_0x5c5942[_0x2d9721(0x89)]&&utilities[_0x2d9721(0x110)](constants['INVALID_INIT_RESP_WITH_USER_IMPACT'],_0x39e287,this[_0x2d9721(0xa0)],this[_0x2d9721(0xda)]);}}}}}if(_0x5c5942[_0x2d9721(0xaf)]&&_0x5c5942[_0x2d9721(0x107)]){const _0x133b7a={};_0x133b7a['tcgAuthConfig']=_0x5c5942;const _0x417a1e=_0x133b7a;_0x29625f&&(_0x417a1e[_0x2d9721(0x13e)]=_0x29625f),_0x417a1e[_0x2d9721(0xda)]=this['framework'],_0x417a1e[_0x2d9721(0x82)]=this[_0x2d9721(0xa0)],helper['setupTcgConfigFile'](_0x417a1e),logger[_0x2d9721(0x13c)](_0x46f96e['KMRyP']);}}catch(_0x5b2984){logger[_0x2d9721(0x13c)](_0x2d9721(0x9b)+(_0x5b2984['message']?_0x5b2984[_0x2d9721(0x85)]:''));}});await _0x46f96e[_0x1686dd(0xa2)](_0x56e606);}[a100_0x491dad(0xcd)](){const _0x86be81=a100_0x491dad,_0x2b87cd={'CXquo':function(_0x180d23,_0x24bed3){return _0x180d23(_0x24bed3);},'nMnsv':_0x86be81(0xd5)};_0x2b87cd[_0x86be81(0x81)](require,_0x2b87cd[_0x86be81(0x129)])();}['handleExceptions'](){const _0xe886b1=a100_0x491dad,_0x3d90f3={};_0x3d90f3[_0xe886b1(0xff)]='2|0|3|1|4',_0x3d90f3[_0xe886b1(0x12f)]=_0xe886b1(0x112),_0x3d90f3[_0xe886b1(0x12a)]=_0xe886b1(0xad);const _0x38f276=_0x3d90f3,_0x42ee50=_0x560564=>{const _0x5cdbd1=_0xe886b1,_0x255f2f=_0x38f276[_0x5cdbd1(0xff)][_0x5cdbd1(0xc2)]('|');let _0x167fb8=0x0;while(!![]){switch(_0x255f2f[_0x167fb8++]){case'0':logger[_0x5cdbd1(0x13c)](util[_0x5cdbd1(0x114)](_0x560564));continue;case'1':PerformanceTester['captureError'](_0x560564);continue;case'2':logger['error'](_0x560564[_0x5cdbd1(0x85)]);continue;case'3':this[_0x5cdbd1(0x94)][_0x5cdbd1(0xb0)](util[_0x5cdbd1(0x114)]('%j',_0x560564));continue;case'4':ClientTroubleShootingService['reportFinalDetectionState']();continue;}break;}};process['on'](_0x38f276['vCMbw'],_0x42ee50),process['on'](_0x38f276['nUlZq'],_0x42ee50);}async['intExitHandler'](_0x20803c){const _0x2d7648=a100_0x491dad,_0x46a4c2={};_0x46a4c2[_0x2d7648(0x88)]=_0x2d7648(0x158),_0x46a4c2[_0x2d7648(0x141)]=function(_0x53d24e,_0x561999){return _0x53d24e+_0x561999;},_0x46a4c2[_0x2d7648(0xeb)]='handled',_0x46a4c2[_0x2d7648(0xf9)]=function(_0x46a7f0,_0x2fd60c){return _0x46a7f0+_0x2fd60c;},_0x46a4c2[_0x2d7648(0x157)]='Shutdown\x20triggered\x20by\x20';const _0x56e66f=_0x46a4c2,_0x5a9829=_0x56e66f[_0x2d7648(0x88)][_0x2d7648(0xc2)]('|');let _0x1473cb=0x0;while(!![]){switch(_0x5a9829[_0x1473cb++]){case'0':await BrowserstackCLI['getInstance']()[_0x2d7648(0x9e)]();continue;case'1':if(this[_0x56e66f[_0x2d7648(0x141)](_0x56e66f[_0x2d7648(0xeb)],_0x20803c)])return;continue;case'2':this[_0x56e66f['abPge'](_0x56e66f[_0x2d7648(0xeb)],_0x20803c)]=!![];continue;case'3':await ClientTroubleShootingService[_0x2d7648(0xfc)](_0x20803c);continue;case'4':await TestHubHandler['stop'](_0x20803c);continue;case'5':logger[_0x2d7648(0xce)](_0x56e66f['AgmSk'](_0x56e66f[_0x2d7648(0x157)],_0x20803c));continue;case'6':await ClientTroubleShootingService[_0x2d7648(0x8c)]();continue;case'7':this[_0x2d7648(0xc1)]=_0x20803c;continue;}break;}}[a100_0x491dad(0xd0)](){const _0x612ffa=a100_0x491dad,_0x48bc8f={'hPICs':function(_0x17601b,_0x518aa2){return _0x17601b===_0x518aa2;},'YTrAJ':'Calling\x20Build\x20Stop\x20from\x20ExitHandler','HrErl':function(_0x8d01f7,_0x54f571){return _0x8d01f7>_0x54f571;},'WlbMF':function(_0x2d9cb3,_0x39ddda){return _0x2d9cb3(_0x39ddda);},'FumPv':function(_0x265dc4,_0x24ea8b){return _0x265dc4(_0x24ea8b);},'kaWWG':function(_0x40eb1e){return _0x40eb1e();},'alLxK':_0x612ffa(0x166)};let _0x2ad14b=0x0;return async()=>{const _0x1e0a9a=_0x612ffa;_0x2ad14b++;if(_0x48bc8f['hPICs'](_0x2ad14b,0x1)){helper[_0x1e0a9a(0xbc)](this[_0x1e0a9a(0xda)])&&await this[_0x1e0a9a(0x142)]();try{logger[_0x1e0a9a(0x13c)](_0x48bc8f['YTrAJ']),await TestHubHandler['stop'](_0x2ad14b),await ClientTroubleShootingService[_0x1e0a9a(0x8c)](),await BrowserstackCLI[_0x1e0a9a(0x15b)]()[_0x1e0a9a(0x9e)]('1');}catch(_0x5090de){logger['debug']('Error\x20in\x20sending\x20testhub\x20stop:\x20'+util[_0x1e0a9a(0x114)](_0x5090de));}PerformanceTester[_0x1e0a9a(0x111)](PerformanceEvents[_0x1e0a9a(0x109)]);if(PerformanceTester[_0x1e0a9a(0x133)]()){const {measures:_0x2b9c0f,errors:_0x15e222}=await PerformanceTester[_0x1e0a9a(0xba)](),_0x6e53c1={};if(_0x2b9c0f&&_0x48bc8f['HrErl'](_0x2b9c0f[_0x1e0a9a(0xb2)],0x0)||_0x15e222&&_0x48bc8f['HrErl'](_0x15e222['length'],0x0)){const _0x5e24fd={};_0x5e24fd['measures']=_0x2b9c0f,_0x5e24fd[_0x1e0a9a(0x14a)]=_0x15e222,Object[_0x1e0a9a(0xcf)](_0x6e53c1,_0x5e24fd);}try{const _0x22d791=await helper[_0x1e0a9a(0x95)](_0x6e53c1,this['config']);logger[_0x1e0a9a(0x13c)](_0x1e0a9a(0x117)+_0x48bc8f['WlbMF'](getEdsInstrumentationAPIUrl,'')+_0x1e0a9a(0x147)+_0x22d791[_0x1e0a9a(0xbe)]);}catch(_0x46f678){logger['debug']('Failed\x20to\x20send\x20data\x20to\x20'+_0x48bc8f[_0x1e0a9a(0x96)](getEdsInstrumentationAPIUrl,'')+_0x1e0a9a(0x100)+util[_0x1e0a9a(0x114)](_0x46f678));}try{fs['writeFileSync'](path[_0x1e0a9a(0xb9)](_0x48bc8f[_0x1e0a9a(0x135)](getLogDir),_0x48bc8f['alLxK']),JSON['stringify'](_0x6e53c1));}catch(_0x1136c6){logger[_0x1e0a9a(0x13c)](_0x1e0a9a(0xf1)+_0x1136c6);}}}logger&&logger[_0x1e0a9a(0xf3)](),fileLogger&&fileLogger[_0x1e0a9a(0xf3)]();};}}function a100_0x19bd(){const _0x564e5a=['selfHeal','toString','turboScale','userName\x20or\x20accessKey\x20is\x20not\x20defined','kkaSi','mQnkn','getUserName','getFinalCaps','skipSessionStatus','stopLocalBinary','Error\x20in\x20writing\x20events\x20to\x20file\x20','UPGRADE_REQUIRED','close','util','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','isTurboScaleSession','selenium-webdriver','HUB_MANAGEMENT','abPge','./logger','25644uzLIkT','reportProcessInterruptionSituation','TCG_AUTH_TIMEOUT','vCFPT','JsjFK','\x20with\x20error\x20','KYWJr','FRAMEWORK','kPkqQ','SIGBREAK','SIGQUIT','XmipS','isHealingEnabled','fileLogger','SDK_CLEANUP','Error\x20in\x20percy\x20setup\x20','gdIxg','envConfig','KBvIX','zCZWA','isTrialGrid','fireFunnelTestEvent','end','unhandledRejection','startPercy','format','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','AI_INIT_FAILURE','Data\x20sent\x20successfully\x20to\x20','hIfCO','JYQYe','BrowserstackHealingInitFailed','lkYQW','customRepeaters','DGGpd','4.5.0','getLocalIdentifier','turboScaleUrl','setBrowserstackInfraFromConfig','./percy/utils','error','297756KWRicF','cBwmE','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','xaoWb','setupBrowserstackLocal','nMnsv','nUlZq','cliConfig','setUpHubUrl','../bin/v2/modules/loadTestModule','AI_INIT_SUCCESSFUL','vCMbw','Error\x20occured\x20while\x20stopping\x20local\x20binary','cdKqB','isTrue','isEnabled','SIGINT','kaWWG','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','useW3C','getLocalConfig','getProxyConfigForTcg','accessKey','platforms','debug','Local\x20binary\x20stopped','proxyConfig','../ai-sdk-node/bundle','30456jyqzBx','AgmSk','stopBrowserstackLocal','MMWcC','2FCIpvh','DvCTx','getHubUrl','\x20with\x20response\x20','percy','browserStackLocalOptions','exceptions','TCG_DOWN','neiMX','sdkRunId','145JAHJpF','__isPlaywrightInstalled','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','getAccessKey','../bin/v2/browserstackCLI','XzShq','uuid','OCpXd','SIGHUP','DVbrY','1|2|5|7|3|4|6|0','true','xyrWz','getInstance','BROWSERSTACK_PERCY','./utilities','TCG_AUTH_FAILURE','userName','NMzQX','includes','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','isBrowserstackInfra','3659843gFKewA','./timeoutPromise','events.json','handleExceptions','./testhub/utils','10RVDZvn','wgjDM','./helper','NoSKP','startMonitoring','sanitizeCaps','Yrojk','skipSessionName','localOptions','skipBinaryInitialisation','VKlQb','ZwSNd','zZKqH','env','init','disableAutoCaptureLogs','setProxySettings','codeceptjs','false','CXquo','bstackConfig','measureWrapper','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','message','setLogLevel','toLowerCase','gDDOJ','status','turboScaleOptions','KGtMG','reportFinalDetectionState','cKZsV','Error\x20occured\x20while\x20stopping\x20percy','SIGABRT','fAQTN','tcg\x20config\x20setup\x20successful.','103830RYAYgr','Local\x20binary\x20started\x20successfully','unhandledErrors','sendToEDS','FumPv','SIGTERM','Percy\x20started\x20successfully','315NNQTqT','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','yAuje','proxy','stop','testContextOptions','config','path','aOPoT','stopPercy','AI_PROXY_FAILURE','ZSpJn','../bin/utils/constants','nWPAN','then','cPUMG','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','allocateHub','isUndefined','uncaughtException','isRunning','isAuthenticated','push','intExitHandler','length','1657146nkmRLO','platform','localIdentifier','GXeUz','PMpjJ','constructor','join','finalize','TCG_URL','checkStopLocalBinaryOnExit','turboScaleGridDetails','statusCode','errorMessage','setEnvCaps','killSignal','split','805257wIBVJk','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','custom-repeater','hubUrl','proxyUrl','setCredentialsFromYmlConfig','isLTSSession','ShXuR','BROWSERSTACK_TURBOSCALE','OgUUz','setupKeepAlive','info','assign','exitHandler','version','forceLocal','beforeExit','mDHHh','./setKeepAlive','ats-repeater','compareVersions','jiiOs','SDK\x20run\x20started\x20with\x20id:\x20','framework','getPackageVersion','./performance/performance-tester','../../package.json','configPath','EYNHY','qUxFE','isNotUndefined','../hubAllocationMethods','browserstackLocal','setupTCGAuth','QCcZF','HcYJR'];a100_0x19bd=function(){return _0x564e5a;};return a100_0x19bd();}exports['default']=BrowserStackSetup;
|
|
1
|
+
function a100_0xa484(_0x18d99d,_0x2f88ee){const _0xae1484=a100_0xae14();return a100_0xa484=function(_0xa4840a,_0x362501){_0xa4840a=_0xa4840a-0x94;let _0x26845d=_0xae1484[_0xa4840a];return _0x26845d;},a100_0xa484(_0x18d99d,_0x2f88ee);}const a100_0x250c97=a100_0xa484;function a100_0xae14(){const _0x3c1831=['customRepeaters','96351xgcqev','tcg\x20config\x20setup\x20successful.','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','ANOwH','intExitHandler','stringify','DoWdC','stop','../bin/utils/apiUtilityMethods','kRpQI','QgKLq','setEnvCaps','path','hbWvt','setHandlePWError','percy','SIGABRT','Error\x20occured\x20while\x20stopping\x20percy','browserStackLocalOptions','skipBinaryInitialisation','env','../ai-sdk-node/bundle','BrowserstackHealingInitFailed','HVuMx','AI_INIT_FAILURE','Wmquw','turboScaleOptions','handled','parallelsPerPlatform','bind','__isPlaywrightInstalled','codeceptjs','exceptions','WerTL','getTurboScaleGridDetails','EJwad','hLWTq','checkStopLocalBinaryOnExit','SuAnM','format','./performance/constants','TbHBX','toLowerCase','isRunning','MXpgJ','No\x20config\x20provided.','YdqHJ','84IvmkoL','INVALID_INIT_RESP_WITH_USER_IMPACT','accessKey','message','Data\x20sent\x20successfully\x20to\x20','SIGQUIT','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','reportProcessInterruptionSituation','tuhsT','Smnvf','Error\x20in\x20percy\x20setup\x20','platforms','localIdentifier','AI_PROXY_FAILURE','isLTSSession','getPackageVersion','preInitialize','normalizeTestReportingEnvVars','rXTkK','27mrYIuo','ats-repeater','CAPBA','cancel','__isPuppeteerInstalled','eLybl','readConfig','bstackConfig','pKdpY','SDK\x20run\x20started\x20with\x20id:\x20','envConfig','BbDAh','AI_INIT_SUCCESSFUL','Calling\x20Build\x20Stop\x20from\x20ExitHandler','selfHeal','UPGRADE_REQUIRED','RfJNp','setBrowserstackInfraFromConfig','config','join','central_scanner','setupTCGAuth','Failed\x20to\x20send\x20data\x20to\x20','events.json','toString','Shutdown\x20triggered\x20by\x20','fireFunnelTestEvent','3118158dEQXFS','getHubUrl','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','TPQch','debug','../bin/v2/modules/loadTestModule','1133944UbKeAD','4|0|2|6|5|1|7|3','length','OXynT','constructor','5157593ZecQIR','playwright','aSpMi','true','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','wZhEn','race','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','errorMessage','../bin/utils/constants','../bin/utils/clientTroubleshootingService','measures','beforeExit','custom-repeater','sdkRunId','useW3C','testContextOptions','gBCJK','winstonLogger','isUndefined','url','getLocalIdentifier','SIGBREAK','playwrightUrl','opFfQ','turboScaleUrl','init','OrTZu','aiHeal:tcgAuth','../hubAllocationMethods','browserstackLocal','setupTcgConfigFile','RcIxM','getConfigPath','status','?caps=','getAccessKey','setUpHubUrl','TCG_URL','hubUrl','split','./performance/performance-tester','push','statusCode','end','weOwj','ljnxX','version','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','3632910tdSROF','PlBAz','Error\x20occured\x20while\x20stopping\x20local\x20binary','localOptions','uuid','assign','captureError','isEnabled','isTrue','BrowserstackHealing.init','Percy\x20started\x20successfully','aDVDs','close','345680MoaFSa','framework','4.5.0','setCredentialsFromYmlConfig','disableAutoCaptureLogs','./timeoutPromise','AsqDY','RdEbn','\x20with\x20error\x20','startPercy','getProxyConfigForTcg','xuyYM','SDK_CLEANUP','setupPercy','./setKeepAlive','userName\x20or\x20accessKey\x20is\x20not\x20defined','stopPercy','./testhub/utils','../bin/v2/browserstackCLI','killSignal','../../package.json','TLvbY','lsDHc','isTrialGrid','stopBrowserstackLocal','VDgmE','324282xOWlcn','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','finalize','getLocalConfig','XySiC','reportFinalDetectionState','9|2|12|22|23|0|1|21|19|4|11|17|13|7|14|3|5|18|15|10|16|6|20|8','VjDPe','initialize','isHealingEnabled','./logger','configPath','PPVxo','includes','skipSessionStatus','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','turboScaleGridDetails','setProxySettings','info','./utilities','2|1|4|3|0','uncaughtException','AmAgl','taUyb','false','compareVersions','setupKeepAlive','writeFileSync','getUserName','\x20with\x20response\x20','error','cDjUI','SIGTERM','turboScale','vGcGD','zymRF','giAth','dKwBd','proxy','getFinalCaps','SDKTestAttempted','integrations','Error\x20in\x20sending\x20testhub\x20stop:\x20','Percy\x20stopped','unhandledRejection','isBrowserstackInfra','skipSessionName','isTurboScaleSession','startLocalBinary','cliConfig','setLogLevel','Local\x20binary\x20started\x20successfully','LJvJN','yRiHx','Hlgyh','FeuAI','RnazF','BROWSERSTACK_PERCY','handleExceptions','cNSrm','KBCLk','pqRXP','BROWSERSTACK_TURBOSCALE','sendToEDS','XQffS','isAuthenticated','platform','generateLocalIdentifier','getInstance','HUB_MANAGEMENT','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','vcYeQ'];a100_0xae14=function(){return _0x3c1831;};return a100_0xae14();}(function(_0x208134,_0x36152b){const _0x29e147=a100_0xa484,_0x37014f=_0x208134();while(!![]){try{const _0x4698dc=-parseInt(_0x29e147(0xf0))/0x1+parseInt(_0x29e147(0x10a))/0x2+-parseInt(_0x29e147(0x153))/0x3*(-parseInt(_0x29e147(0x182))/0x4)+parseInt(_0x29e147(0xe3))/0x5+-parseInt(_0x29e147(0xa7))/0x6+-parseInt(_0x29e147(0xb2))/0x7+-parseInt(_0x29e147(0xad))/0x8*(-parseInt(_0x29e147(0x195))/0x9);if(_0x4698dc===_0x36152b)break;else _0x37014f['push'](_0x37014f['shift']());}catch(_0x4deaea){_0x37014f['push'](_0x37014f['shift']());}}}(a100_0xae14,0x5e4bd));const util=require('util'),os=require('os'),path=require(a100_0x250c97(0x15f)),{v4:uuidv4}=require(a100_0x250c97(0xe7)),fs=require('fs'),constants=require(a100_0x250c97(0xbb)),logger=require('./logger')[a100_0x250c97(0xc4)],fileLogger=require(a100_0x250c97(0x114))['fileLogger'],{getLogDir}=require(a100_0x250c97(0x114)),helper=require('./helper'),utilities=require(a100_0x250c97(0x11d)),percyHelper=require('./percy/utils'),hubAllocator=require(a100_0x250c97(0xcf)),PerformanceTester=require(a100_0x250c97(0xdb)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a100_0x250c97(0x17b)),{setPercyFlag}=require(a100_0x250c97(0x101)),TestHubHandler=require('./testhub/testhubHandler'),timeoutPromise=require(a100_0x250c97(0xf5)),BrowserstackCLI=require(a100_0x250c97(0x102)),LoadTestModule=require(a100_0x250c97(0xac)),{getEdsInstrumentationAPIUrl}=require(a100_0x250c97(0x15b)),ClientTroubleShootingService=require(a100_0x250c97(0xbc));class BrowserStackSetup{constructor(_0xd54cc8,_0x2287f5){const _0x4d9b0a=a100_0x250c97,_0x114772={'Wmquw':_0x4d9b0a(0x110),'zymRF':_0x4d9b0a(0x180),'TouBm':function(_0x85982b){return _0x85982b();}},_0x4538a6=_0x114772[_0x4d9b0a(0x16c)]['split']('|');let _0x14507c=0x0;while(!![]){switch(_0x4538a6[_0x14507c++]){case'0':this['configPath']=helper[_0x4d9b0a(0xd3)](_0xd54cc8);continue;case'1':this[_0x4d9b0a(0x9e)]=helper[_0x4d9b0a(0x19b)](this[_0x4d9b0a(0x115)]);continue;case'2':helper[_0x4d9b0a(0x193)]();continue;case'3':if(this[_0x4d9b0a(0x9e)][_0x4d9b0a(0x128)])throw new Error(this[_0x4d9b0a(0x9e)]['error']);continue;case'4':this[_0x4d9b0a(0x9e)][_0x4d9b0a(0xc2)]=this['config'][_0x4d9b0a(0xc2)]||{};continue;case'5':helper[_0x4d9b0a(0x9d)](this[_0x4d9b0a(0x9e)],this[_0x4d9b0a(0x13b)]);continue;case'6':helper['setLogDir'](this[_0x4d9b0a(0x9e)]);continue;case'7':global[_0x4d9b0a(0xf1)]=_0x2287f5;continue;case'8':PerformanceTester['startMonitoring']();continue;case'9':this['unhandledErrors']=[];continue;case'10':this['config'][_0x4d9b0a(0xc2)]['skipSessionName']=!helper['isBrowserstackInfra']()||helper[_0x4d9b0a(0xeb)](this[_0x4d9b0a(0x9e)][_0x4d9b0a(0xc2)][_0x4d9b0a(0x138)]);continue;case'11':this[_0x4d9b0a(0xba)]={};continue;case'12':this['envConfig']=helper[_0x4d9b0a(0x15e)]();continue;case'13':this[_0x4d9b0a(0xf1)]=_0x2287f5;continue;case'14':if(helper[_0x4d9b0a(0xc5)](this[_0x4d9b0a(0x9e)]))throw new Error(_0x114772[_0x4d9b0a(0x12d)]);continue;case'15':this[_0x4d9b0a(0x9e)][_0x4d9b0a(0xc2)][_0x4d9b0a(0x118)]=!helper[_0x4d9b0a(0x137)]()||helper[_0x4d9b0a(0xeb)](this[_0x4d9b0a(0x9e)][_0x4d9b0a(0xc2)][_0x4d9b0a(0x118)]);continue;case'16':helper[_0x4d9b0a(0x131)](this[_0x4d9b0a(0x9e)],this['cliConfig'],this[_0x4d9b0a(0x96)]);continue;case'17':this[_0x4d9b0a(0xc0)]=_0x114772['TouBm'](uuidv4);continue;case'18':helper[_0x4d9b0a(0xf3)](this[_0x4d9b0a(0x9e)]);continue;case'19':this[_0x4d9b0a(0x9e)]['platforms']=this['config']['platforms']||[];continue;case'20':helper[_0x4d9b0a(0x13c)](this[_0x4d9b0a(0x9e)],this[_0x4d9b0a(0x13b)],this[_0x4d9b0a(0x96)]);continue;case'21':this[_0x4d9b0a(0x13b)]=helper['setCLICaps'](_0xd54cc8);continue;case'22':this[_0x4d9b0a(0xd0)]=null;continue;case'23':this[_0x4d9b0a(0x162)]=null;continue;}break;}}[a100_0x250c97(0x192)](_0x58fac3){const _0x30b532=a100_0x250c97,_0x250211={'yRiHx':_0x30b532(0xff),'VDgmE':function(_0x5e9e02,_0x4c8a41){return _0x5e9e02===_0x4c8a41;},'RdEbn':function(_0x3f277e,_0x14e728){return _0x3f277e===_0x14e728;},'wrbCj':_0x30b532(0x133),'RnazF':_0x30b532(0x132),'wdsvM':function(_0x2c3509,_0x2f1975){return _0x2c3509<_0x2f1975;},'pqRXP':function(_0xf08904,_0x2dab5d){return _0xf08904(_0x2dab5d);},'BbDAh':'selenium-webdriver','tuhsT':_0x30b532(0xf2),'KBCLk':_0x30b532(0x119),'RcIxM':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','EJwad':_0x30b532(0x12a),'QgKLq':'SIGINT','AXQNq':'SIGHUP','BnuEN':function(_0x4da92b,_0x3f3d86){return _0x4da92b!==_0x3f3d86;},'mrdQL':'win32','QMPgy':_0x30b532(0x163),'FeuAI':_0x30b532(0x187),'RfJNp':_0x30b532(0xc8),'DoWdC':'beforeExit'},_0x210622=this[_0x30b532(0xf1)];global[_0x30b532(0x9e)]=this[_0x30b532(0x9e)],helper['sanitizeCaps'](this[_0x30b532(0x9e)]),this[_0x30b532(0x103)]=null,global[_0x30b532(0xc0)]=this[_0x30b532(0xc0)],logger['info'](_0x30b532(0x95)+this['sdkRunId']),!this[_0x30b532(0x9e)][_0x30b532(0x165)]&&(this[_0x30b532(0x9e)][_0x30b532(0x165)]=this[_0x30b532(0x9e)][_0x30b532(0xe6)]||{});if(helper[_0x30b532(0xc5)](helper[_0x30b532(0x126)](this[_0x30b532(0x9e)]))||helper[_0x30b532(0xc5)](helper[_0x30b532(0xd6)](this[_0x30b532(0x9e)])))throw new Error(_0x250211[_0x30b532(0x13f)]);helper[_0x30b532(0x10d)](this[_0x30b532(0x9e)])&&helper[_0x30b532(0xc5)](helper[_0x30b532(0xc7)](this[_0x30b532(0x9e)]))&&(!helper['isUndefined'](this['config'][_0x30b532(0x165)])&&_0x250211[_0x30b532(0x109)](this[_0x30b532(0x9e)][_0x30b532(0x165)][_0x30b532(0xb1)],Object)?!helper[_0x30b532(0xeb)](this[_0x30b532(0x9e)]['browserStackLocalOptions'][_0x30b532(0x166)])&&(this['config'][_0x30b532(0x165)][_0x30b532(0x18e)]=helper[_0x30b532(0x14d)]()):this[_0x30b532(0x9e)][_0x30b532(0x165)]={'localIdentifier':helper[_0x30b532(0x14d)]()});this['config']['browserStackLocalOptions'][_0x30b532(0x166)]=helper['isTrue'](this['config']['browserStackLocalOptions'][_0x30b532(0x166)]),helper[_0x30b532(0x161)](this[_0x30b532(0x9e)]);if(_0x250211[_0x30b532(0xf7)](_0x210622,_0x250211['wrbCj']))return;this['handleExceptions']();process['env']['BROWSERSTACK_TURBOSCALE']&&(this[_0x30b532(0x9e)][_0x30b532(0x12b)]=helper[_0x30b532(0xeb)](process['env']['BROWSERSTACK_TURBOSCALE']),this[_0x30b532(0x9e)][_0x30b532(0x16d)]=this['config'][_0x30b532(0x16d)]||{});helper[_0x30b532(0x139)](this['config'])&&(process['env'][_0x30b532(0x148)]=!![]);LoadTestModule[_0x30b532(0x190)](this['config'])&&logger[_0x30b532(0xab)](_0x30b532(0x155)+this['sdkRunId']);if(!helper[_0x30b532(0x137)]()){try{process[_0x30b532(0x167)]['FRAMEWORK']=_0x210622,utilities[_0x30b532(0xa6)](_0x250211[_0x30b532(0x142)],{},this[_0x30b532(0x9e)],this['framework']);}catch(_0x2a65a0){logger['debug'](_0x30b532(0xb9)+_0x2a65a0);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x210622)){if(global[_0x30b532(0x171)]||global[_0x30b532(0x199)])return;_0x250211['wdsvM'](_0x250211[_0x30b532(0x147)](parseInt,helper[_0x30b532(0x191)](_0x250211[_0x30b532(0x97)])),0x3)&&(this[_0x30b532(0x9e)][_0x30b532(0xc1)]=![]),_0x250211[_0x30b532(0xf7)](helper[_0x30b532(0x123)](helper[_0x30b532(0x191)](_0x250211['BbDAh']),_0x250211[_0x30b532(0x18a)]),0x1)&&(this[_0x30b532(0x9e)]['useW3C']=!![]);}(helper[_0x30b532(0xc5)](this[_0x30b532(0x9e)][_0x30b532(0x18d)])||helper[_0x30b532(0xc5)](this[_0x30b532(0x9e)][_0x30b532(0x18d)][_0x30b532(0xaf)]))&&(helper['isUndefined'](this[_0x30b532(0x9e)][_0x30b532(0x16f)])?logger[_0x30b532(0x11c)](_0x250211[_0x30b532(0x146)]):logger['warn'](_0x250211[_0x30b532(0xd2)]),this[_0x30b532(0x9e)][_0x30b532(0x18d)]=[]);!this[_0x30b532(0x9e)]['testContextOptions']&&(this[_0x30b532(0x9e)][_0x30b532(0xc2)]={});try{process['env']['FRAMEWORK']=_0x58fac3['_'][0x0],utilities['fireFunnelTestEvent'](_0x250211['RnazF'],{},this[_0x30b532(0x9e)],this['framework']);}catch(_0x47f324){logger[_0x30b532(0xab)](_0x30b532(0xb9)+_0x47f324);}!this[_0x30b532(0x9e)][_0x30b532(0xf4)]&&logger[_0x30b532(0x11c)](constants['AUTOLOGCAPTURE_NOTIFICATION']),this[_0x30b532(0x157)]=this[_0x30b532(0x157)][_0x30b532(0x170)](this),process['on'](_0x250211[_0x30b532(0x176)],this[_0x30b532(0x157)]),process['on'](_0x250211[_0x30b532(0x15d)],this[_0x30b532(0x157)]),process['on'](_0x250211['AXQNq'],this[_0x30b532(0x157)]),_0x250211['BnuEN'](process[_0x30b532(0x14c)],_0x250211['mrdQL'])?(process['on'](_0x250211['QMPgy'],this[_0x30b532(0x157)]),process['on'](_0x250211[_0x30b532(0x141)],this[_0x30b532(0x157)])):process['on'](_0x250211[_0x30b532(0x9c)],this[_0x30b532(0x157)]),process['on'](_0x250211[_0x30b532(0x159)],this['exitHandler']());}async[a100_0x250c97(0x112)](_0x532e10){const _0x19754b=a100_0x250c97,_0x1c54f8={'IGNrx':_0x19754b(0x196),'rsVlq':_0x19754b(0xbf),'FsOZm':_0x19754b(0xb5),'sGYbq':function(_0x44572f,_0x437eaf){return _0x44572f===_0x437eaf;},'SuAnM':_0x19754b(0xb3),'lTxGR':function(_0x501860,_0x1fbe73){return _0x501860+_0x1fbe73;},'XySiC':_0x19754b(0xd5),'PPVxo':function(_0x240c40,_0x571b95){return _0x240c40(_0x571b95);},'HVuMx':_0x19754b(0x172)};this[_0x19754b(0x192)](_0x532e10);if(helper['isTurboScaleSession'](this['config'])){const _0x1124ad=await helper[_0x19754b(0x175)](this['config']);this[_0x19754b(0x9e)][_0x19754b(0x11a)]=_0x1124ad,_0x1124ad[_0x19754b(0x107)]&&helper['isNotUndefined'](this[_0x19754b(0x9e)][_0x19754b(0xd0)])&&helper[_0x19754b(0xeb)](this[_0x19754b(0x9e)][_0x19754b(0xd0)])&&(this[_0x19754b(0x9e)][_0x19754b(0x165)][_0x19754b(0x18e)]=_0x1c54f8['IGNrx'],this[_0x19754b(0x9e)][_0x19754b(0x165)][_0x1c54f8['rsVlq']]=_0x1124ad[_0x19754b(0x152)][_0x19754b(0x9f)](','),this[_0x19754b(0x9e)]['browserStackLocalOptions']['forceLocal']=_0x1c54f8['FsOZm']),this[_0x19754b(0x9e)][_0x19754b(0xcb)]=_0x1124ad[_0x19754b(0xc6)],this[_0x19754b(0xf1)]&&_0x1c54f8['sGYbq'](this[_0x19754b(0xf1)][_0x19754b(0x17d)](),_0x1c54f8[_0x19754b(0x179)])?this[_0x19754b(0x9e)]['turboScaleUrl']=_0x1c54f8['lTxGR'](_0x1124ad[_0x19754b(0xc9)],_0x1c54f8[_0x19754b(0x10e)]):constants[_0x19754b(0xd9)]=helper[_0x19754b(0xa8)](this['config']),logger[_0x19754b(0xab)]('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants['hubUrl']);}helper[_0x19754b(0x11b)](this[_0x19754b(0x9e)]),this['setupKeepAlive'](),_0x1c54f8[_0x19754b(0x116)](setPercyFlag,this),await this['setupBrowserstackLocal'](),![_0x1c54f8[_0x19754b(0x16a)],_0x1c54f8[_0x19754b(0x179)]][_0x19754b(0x117)](this[_0x19754b(0xf1)])&&!helper['isTurboScaleSession'](this[_0x19754b(0x9e)])&&!helper['getCentralUser']()[_0x19754b(0xa0)]&&await this[_0x19754b(0xd7)]();}async[a100_0x250c97(0xfd)](){const _0x2b9a23=a100_0x250c97,_0x31118f={};_0x31118f[_0x2b9a23(0x160)]=function(_0x616a7a,_0x37c694){return _0x616a7a===_0x37c694;},_0x31118f['vGcGD']=_0x2b9a23(0x122),_0x31118f[_0x2b9a23(0xfb)]=_0x2b9a23(0xa9),_0x31118f['YdqHJ']=_0x2b9a23(0xed),_0x31118f['OXynT']=_0x2b9a23(0xb5),_0x31118f[_0x2b9a23(0xaa)]=_0x2b9a23(0xbe);const _0x1a2f7a=_0x31118f;if(helper[_0x2b9a23(0xeb)](this[_0x2b9a23(0x9e)][_0x2b9a23(0x162)])&&(!this[_0x2b9a23(0x162)]||!this[_0x2b9a23(0x162)]['isRunning']()))try{this[_0x2b9a23(0x162)]=await percyHelper[_0x2b9a23(0xf9)](this[_0x2b9a23(0x9e)]);if(!this[_0x2b9a23(0x162)]){process[_0x2b9a23(0x167)][_0x2b9a23(0x143)]=_0x1a2f7a[_0x2b9a23(0x12c)];throw new Error(_0x1a2f7a[_0x2b9a23(0xfb)]);}logger[_0x2b9a23(0x11c)](_0x1a2f7a[_0x2b9a23(0x181)]),process[_0x2b9a23(0x167)][_0x2b9a23(0x143)]=_0x1a2f7a[_0x2b9a23(0xb0)];let _0xe6eba4=0x0;const _0x30b432=async()=>{const _0x2ddea7=_0x2b9a23;_0xe6eba4++,_0x1a2f7a[_0x2ddea7(0x160)](_0xe6eba4,0x1)&&await this[_0x2ddea7(0x100)]();};process['on'](_0x1a2f7a[_0x2b9a23(0xaa)],_0x30b432);}catch(_0x1ab352){process[_0x2b9a23(0x167)][_0x2b9a23(0x143)]=_0x1a2f7a[_0x2b9a23(0x12c)],logger[_0x2b9a23(0xab)](_0x2b9a23(0x18c)+_0x1ab352);throw new Error(_0x1ab352[_0x2b9a23(0xa4)]());}}async[a100_0x250c97(0x100)](){const _0x4e7d56=a100_0x250c97,_0xcff611={};_0xcff611[_0x4e7d56(0xb7)]=_0x4e7d56(0x135),_0xcff611[_0x4e7d56(0xc3)]=_0x4e7d56(0x164);const _0x5aee80=_0xcff611;if(this[_0x4e7d56(0x162)]&&this['percy']['isRunning']())try{await percyHelper[_0x4e7d56(0x100)](this[_0x4e7d56(0x162)]),logger[_0x4e7d56(0x11c)](_0x5aee80[_0x4e7d56(0xb7)]);}catch(_0x5a3111){logger[_0x4e7d56(0x128)](_0x5aee80[_0x4e7d56(0xc3)],_0x5a3111[_0x4e7d56(0x185)]);}}async['setupBrowserstackLocal'](){const _0x4763dd=a100_0x250c97,_0x27f34d={};_0x27f34d[_0x4763dd(0xe0)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x27f34d['ANOwH']=_0x4763dd(0x13d);const _0x48be2d=_0x27f34d;if(helper[_0x4763dd(0x137)]()&&helper[_0x4763dd(0xeb)](this[_0x4763dd(0x9e)][_0x4763dd(0xd0)])&&(!this[_0x4763dd(0xd0)]||!this[_0x4763dd(0xd0)][_0x4763dd(0x17e)]()))try{if(this[_0x4763dd(0x9e)]['browserStackLocalOptions'][_0x4763dd(0x166)]){logger[_0x4763dd(0xab)](_0x48be2d[_0x4763dd(0xe0)]);return;}this[_0x4763dd(0xd0)]=await helper[_0x4763dd(0x13a)](this[_0x4763dd(0x9e)]),logger[_0x4763dd(0x11c)](_0x48be2d[_0x4763dd(0x156)]);}catch(_0x261f00){logger[_0x4763dd(0xab)](_0x261f00);throw new Error(_0x261f00[_0x4763dd(0xa4)]());}}async[a100_0x250c97(0x108)](){const _0x15a68a=a100_0x250c97,_0x1b7475={};_0x1b7475['giAth']='Local\x20binary\x20stopped',_0x1b7475[_0x15a68a(0x19a)]=_0x15a68a(0xe5);const _0x3af555=_0x1b7475;if(this[_0x15a68a(0xd0)]&&this[_0x15a68a(0xd0)]['isRunning']())try{await helper['stopLocalBinary'](this[_0x15a68a(0xd0)]),logger[_0x15a68a(0x11c)](_0x3af555[_0x15a68a(0x12e)]);}catch(_0x2f3d9c){logger[_0x15a68a(0x128)](_0x3af555[_0x15a68a(0x19a)],_0x2f3d9c['message']);}}async[a100_0x250c97(0xd7)](){const _0x59535f=a100_0x250c97;return PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x59535f(0x14f)],async()=>{const _0x2b2ee2=_0x59535f;await hubAllocator['allocateHub'](this[_0x2b2ee2(0x9e)]);})();}async[a100_0x250c97(0xa1)](){const _0x5ba78f=a100_0x250c97,_0x5f1555={'LJvJN':function(_0x41ebc2,_0xb09f81){return _0x41ebc2(_0xb09f81);},'XQffS':_0x5ba78f(0x168),'hVKDQ':function(_0x3f13e5,_0x2f2ae2,_0x2f1162,_0x1dbb2d,_0x2c70d2,_0x1abed3,_0x59f434){return _0x3f13e5(_0x2f2ae2,_0x2f1162,_0x1dbb2d,_0x2c70d2,_0x1abed3,_0x59f434);},'VjDPe':'BrowserstackHealing.init\x20method\x20timed\x20out','zwfGu':_0x5ba78f(0x169),'dKwBd':_0x5ba78f(0x104),'CAPBA':_0x5ba78f(0xec),'taUyb':function(_0x22d8b8,_0x579042){return _0x22d8b8===_0x579042;},'hLWTq':_0x5ba78f(0xb5),'lsDHc':function(_0x1259ed,_0x52e491){return _0x1259ed===_0x52e491;},'PlBAz':_0x5ba78f(0xb6),'kzmfD':_0x5ba78f(0xe2),'GXlKi':_0x5ba78f(0x188),'AsqDY':function(_0x138507,_0x25ca0a){return _0x138507(_0x25ca0a);},'OrTZu':_0x5ba78f(0x150),'aDVDs':function(_0x43b3ee,_0x76fdf4){return _0x43b3ee>=_0x76fdf4;},'cDjUI':function(_0x101910,_0x46d3b){return _0x101910<_0x46d3b;},'opFfQ':_0x5ba78f(0x154),'GtJiB':_0x5ba78f(0xce),'Hlgyh':function(_0x49b21e){return _0x49b21e();}},_0x300522=PerformanceTester['measureWrapper'](_0x5f1555['GtJiB'],async()=>{const _0x3dc652=_0x5ba78f;try{const _0x2aff26=new Date(),_0x210eba=helper[_0x3dc652(0xfa)](this['config']),_0x390e33=_0x5f1555[_0x3dc652(0x13e)](require,path[_0x3dc652(0x9f)](__dirname,_0x5f1555[_0x3dc652(0x14a)])),_0x485945=_0x5f1555['hVKDQ'](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x5f1555[_0x3dc652(0x111)],_0x5f1555['zwfGu'],_0x2aff26,this[_0x3dc652(0x9e)],this['framework']),_0x169dc4={'tcgUrl':constants[_0x3dc652(0xd8)],'sdkVersion':_0x5f1555[_0x3dc652(0x13e)](require,_0x5f1555[_0x3dc652(0x12f)])[_0x3dc652(0xe1)],'methodUsed':_0x5f1555[_0x3dc652(0x197)],'proxyConfig':_0x210eba,'os':os[_0x3dc652(0x14c)]()};if(_0x210eba&&_0x210eba['proxyUrl']){utilities[_0x3dc652(0xa6)](constants[_0x3dc652(0x18f)],_0x169dc4,this[_0x3dc652(0x9e)],this[_0x3dc652(0xf1)]);return;}const _0x496edc={};_0x496edc[_0x3dc652(0x130)]=_0x210eba;const _0x25ff7f=await Promise[_0x3dc652(0xb8)]([_0x390e33[_0x3dc652(0xcc)](this['config'][_0x3dc652(0x184)],this[_0x3dc652(0x9e)]['userName'],constants[_0x3dc652(0xd8)],_0x5f1555['LJvJN'](require,_0x5f1555['dKwBd'])[_0x3dc652(0xe1)],_0x496edc)['then'](_0x3cffd1=>{const _0x57d092=_0x3dc652;return _0x485945[_0x57d092(0x198)](),_0x3cffd1;}),_0x485945]);_0x25ff7f[_0x3dc652(0x113)]=_0x5f1555['taUyb'](_0x25ff7f[_0x3dc652(0x113)],_0x5f1555[_0x3dc652(0x177)])||_0x5f1555['taUyb'](_0x25ff7f['isHealingEnabled'],!![]);const _0x24c0aa=_0x5f1555[_0x3dc652(0x106)](this['config'][_0x3dc652(0x9a)],!![])||_0x5f1555[_0x3dc652(0x121)](this[_0x3dc652(0x9e)][_0x3dc652(0x9a)],_0x5f1555['hLWTq']);if(_0x5f1555[_0x3dc652(0x121)](_0x25ff7f[_0x3dc652(0x185)],constants[_0x3dc652(0x9b)])&&_0x24c0aa)logger[_0x3dc652(0x11c)](_0x5f1555[_0x3dc652(0xe4)]);else{if(!_0x25ff7f[_0x3dc652(0x14b)]&&_0x5f1555[_0x3dc652(0x106)](_0x25ff7f[_0x3dc652(0xd4)],0x1f7)&&_0x24c0aa)logger[_0x3dc652(0x11c)](_0x5f1555['kzmfD']),utilities['fireFunnelTestEvent'](constants['TCG_DOWN'],_0x169dc4,this[_0x3dc652(0x9e)],this[_0x3dc652(0xf1)]);else{if(!_0x25ff7f[_0x3dc652(0x14b)]&&_0x24c0aa){logger[_0x3dc652(0x11c)](_0x5f1555['GXlKi']);const _0x400970={'tcgUrl':constants[_0x3dc652(0xd8)],'sdkVersion':_0x5f1555[_0x3dc652(0xf6)](require,_0x5f1555[_0x3dc652(0x12f)])['version'],'methodUsed':_0x5f1555[_0x3dc652(0x197)],'proxyConfig':_0x210eba,'os':os[_0x3dc652(0x14c)]()};utilities[_0x3dc652(0xa6)](constants['TCG_AUTH_FAILURE'],_0x400970,this[_0x3dc652(0x9e)],this[_0x3dc652(0xf1)]);}else{if(_0x25ff7f[_0x3dc652(0x14b)]&&!_0x25ff7f[_0x3dc652(0x113)]&&_0x24c0aa)logger[_0x3dc652(0x11c)](_0x5f1555[_0x3dc652(0xcd)]);else{if(_0x5f1555[_0x3dc652(0xee)](_0x25ff7f['status'],0xc8)&&_0x5f1555[_0x3dc652(0x129)](_0x25ff7f[_0x3dc652(0xd4)],0x12c))utilities[_0x3dc652(0xa6)](constants[_0x3dc652(0x98)],_0x169dc4,this[_0x3dc652(0x9e)],this[_0x3dc652(0xf1)]);else{if(_0x5f1555[_0x3dc652(0xee)](_0x25ff7f['status'],0x190))_0x169dc4[_0x3dc652(0xd4)]=_0x25ff7f['status'],utilities[_0x3dc652(0xa6)](constants[_0x3dc652(0x16b)],_0x169dc4,this[_0x3dc652(0x9e)],this['framework']);else!_0x25ff7f[_0x3dc652(0xd4)]&&utilities[_0x3dc652(0xa6)](constants[_0x3dc652(0x183)],_0x169dc4,this['config'],this[_0x3dc652(0xf1)]);}}}}}if(_0x25ff7f[_0x3dc652(0x14b)]&&_0x25ff7f['isHealingEnabled']){const _0x534da={};_0x534da['tcgAuthConfig']=_0x25ff7f;const _0x551fc6=_0x534da;_0x210eba&&(_0x551fc6['proxyConfig']=_0x210eba),_0x551fc6[_0x3dc652(0xf1)]=this['framework'],_0x551fc6[_0x3dc652(0x19c)]=this[_0x3dc652(0x9e)],helper[_0x3dc652(0xd1)](_0x551fc6),logger[_0x3dc652(0xab)](_0x5f1555[_0x3dc652(0xca)]);}}catch(_0x566e9c){logger[_0x3dc652(0xab)](_0x3dc652(0x10b)+(_0x566e9c[_0x3dc652(0x185)]?_0x566e9c[_0x3dc652(0x185)]:''));}});await _0x5f1555[_0x5ba78f(0x140)](_0x300522);}[a100_0x250c97(0x124)](){const _0x26df3c=a100_0x250c97,_0x449fa8={'vcYeQ':function(_0x152af6,_0x90cb41){return _0x152af6(_0x90cb41);},'cNSrm':_0x26df3c(0xfe)};_0x449fa8[_0x26df3c(0x151)](require,_0x449fa8[_0x26df3c(0x145)])();}[a100_0x250c97(0x144)](){const _0x363343=a100_0x250c97,_0x493a0d={};_0x493a0d[_0x363343(0x94)]=_0x363343(0x11e),_0x493a0d['Ejail']=_0x363343(0x136),_0x493a0d['rEdFj']=_0x363343(0x11f);const _0x212122=_0x493a0d,_0x4dce3a=_0x486788=>{const _0x24622e=_0x363343,_0x357f15=_0x212122[_0x24622e(0x94)]['split']('|');let _0x2f645e=0x0;while(!![]){switch(_0x357f15[_0x2f645e++]){case'0':ClientTroubleShootingService[_0x24622e(0x10f)]();continue;case'1':logger[_0x24622e(0xab)](util[_0x24622e(0x17a)](_0x486788));continue;case'2':logger[_0x24622e(0x128)](_0x486788['message']);continue;case'3':PerformanceTester[_0x24622e(0xe9)](_0x486788);continue;case'4':this['unhandledErrors'][_0x24622e(0xdc)](util[_0x24622e(0x17a)]('%j',_0x486788));continue;}break;}};process['on'](_0x212122['Ejail'],_0x4dce3a),process['on'](_0x212122['rEdFj'],_0x4dce3a);}async[a100_0x250c97(0x157)](_0x515360){const _0x2ee0fc=a100_0x250c97,_0x1c574d={};_0x1c574d[_0x2ee0fc(0xdf)]=_0x2ee0fc(0xae),_0x1c574d[_0x2ee0fc(0x18b)]=function(_0x2b09b5,_0x8ab526){return _0x2b09b5+_0x8ab526;},_0x1c574d[_0x2ee0fc(0x120)]=_0x2ee0fc(0x16e),_0x1c574d[_0x2ee0fc(0x194)]=_0x2ee0fc(0xa5);const _0x2ef033=_0x1c574d,_0xebecdf=_0x2ef033[_0x2ee0fc(0xdf)][_0x2ee0fc(0xda)]('|');let _0x13fccd=0x0;while(!![]){switch(_0xebecdf[_0x13fccd++]){case'0':this[_0x2ef033['Smnvf'](_0x2ef033['AmAgl'],_0x515360)]=!![];continue;case'1':await TestHubHandler['stop'](_0x515360);continue;case'2':logger[_0x2ee0fc(0x11c)](_0x2ef033[_0x2ee0fc(0x18b)](_0x2ef033[_0x2ee0fc(0x194)],_0x515360));continue;case'3':await BrowserstackCLI[_0x2ee0fc(0x14e)]()[_0x2ee0fc(0x15a)]();continue;case'4':if(this[_0x2ef033[_0x2ee0fc(0x18b)](_0x2ef033['AmAgl'],_0x515360)])return;continue;case'5':await ClientTroubleShootingService[_0x2ee0fc(0x189)](_0x515360);continue;case'6':this[_0x2ee0fc(0x103)]=_0x515360;continue;case'7':await ClientTroubleShootingService['reportFinalDetectionState']();continue;}break;}}['exitHandler'](){const _0x3e7987=a100_0x250c97,_0xbac68a={'TbHBX':function(_0x27de9e,_0xf6be85){return _0x27de9e===_0xf6be85;},'MXpgJ':_0x3e7987(0x99),'kRpQI':function(_0x5c87d3,_0x4bf044){return _0x5c87d3>_0x4bf044;},'aSpMi':function(_0x481acb,_0x46c893){return _0x481acb>_0x46c893;},'WerTL':function(_0x1ac78b,_0x52868f){return _0x1ac78b(_0x52868f);},'teIpE':function(_0x34acc8){return _0x34acc8();},'TLvbY':_0x3e7987(0xa3)};let _0x417875=0x0;return async()=>{const _0x2da52a=_0x3e7987;_0x417875++;if(_0xbac68a[_0x2da52a(0x17c)](_0x417875,0x1)){helper[_0x2da52a(0x178)](this['framework'])&&await this['stopBrowserstackLocal']();try{logger['debug'](_0xbac68a[_0x2da52a(0x17f)]),await TestHubHandler[_0x2da52a(0x15a)](_0x417875),await ClientTroubleShootingService[_0x2da52a(0x10f)](),await BrowserstackCLI[_0x2da52a(0x14e)]()[_0x2da52a(0x15a)]('1');}catch(_0x3cb4c5){logger[_0x2da52a(0xab)](_0x2da52a(0x134)+util[_0x2da52a(0x17a)](_0x3cb4c5));}PerformanceTester[_0x2da52a(0xde)](PerformanceEvents[_0x2da52a(0xfc)]);if(PerformanceTester[_0x2da52a(0xea)]()){const {measures:_0x5c58b2,errors:_0x100559}=await PerformanceTester[_0x2da52a(0x10c)](),_0x5b3c33={};if(_0x5c58b2&&_0xbac68a[_0x2da52a(0x15c)](_0x5c58b2[_0x2da52a(0xaf)],0x0)||_0x100559&&_0xbac68a[_0x2da52a(0xb4)](_0x100559[_0x2da52a(0xaf)],0x0)){const _0x2290a7={};_0x2290a7[_0x2da52a(0xbd)]=_0x5c58b2,_0x2290a7[_0x2da52a(0x173)]=_0x100559,Object[_0x2da52a(0xe8)](_0x5b3c33,_0x2290a7);}try{const _0x33d3f6=await helper[_0x2da52a(0x149)](_0x5b3c33,this[_0x2da52a(0x9e)]);logger['debug'](_0x2da52a(0x186)+_0xbac68a[_0x2da52a(0x174)](getEdsInstrumentationAPIUrl,'')+_0x2da52a(0x127)+_0x33d3f6[_0x2da52a(0xdd)]);}catch(_0x1aead5){logger[_0x2da52a(0xab)](_0x2da52a(0xa2)+_0xbac68a[_0x2da52a(0x174)](getEdsInstrumentationAPIUrl,'')+_0x2da52a(0xf8)+util[_0x2da52a(0x17a)](_0x1aead5));}try{fs[_0x2da52a(0x125)](path['join'](_0xbac68a['teIpE'](getLogDir),_0xbac68a[_0x2da52a(0x105)]),JSON[_0x2da52a(0x158)](_0x5b3c33));}catch(_0x3fa76e){logger[_0x2da52a(0xab)]('Error\x20in\x20writing\x20events\x20to\x20file\x20'+_0x3fa76e);}}}logger&&logger[_0x2da52a(0xef)](),fileLogger&&fileLogger[_0x2da52a(0xef)]();};}}exports['default']=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101_0x553ef4=a101_0x229c;(function(_0x4ac2d3,_0x3b9342){const _0x3dd5fa=a101_0x229c,_0x418cf5=_0x4ac2d3();while(!![]){try{const _0x365647=parseInt(_0x3dd5fa(0x135))/0x1+-parseInt(_0x3dd5fa(0xf2))/0x2+parseInt(_0x3dd5fa(0x157))/0x3*(parseInt(_0x3dd5fa(0xd9))/0x4)+parseInt(_0x3dd5fa(0xcb))/0x5+-parseInt(_0x3dd5fa(0x185))/0x6*(parseInt(_0x3dd5fa(0xfe))/0x7)+parseInt(_0x3dd5fa(0x131))/0x8*(-parseInt(_0x3dd5fa(0xea))/0x9)+-parseInt(_0x3dd5fa(0x11e))/0xa;if(_0x365647===_0x3b9342)break;else _0x418cf5['push'](_0x418cf5['shift']());}catch(_0x3e279f){_0x418cf5['push'](_0x418cf5['shift']());}}}(a101_0x159b,0x9228b));const util=require('util'),logger=require(a101_0x553ef4(0x15c))['winstonLogger'],accessibilityHelper=require(a101_0x553ef4(0x113)),globals=require(a101_0x553ef4(0x18c)),scripts=require('./scripts'),PerformanceTester=require(a101_0x553ef4(0xdb)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a101_0x553ef4(0x120)),BrowserstackCLI=require(a101_0x553ef4(0x118));let playwrightA11yHelper=null;function a101_0x229c(_0x231f61,_0x6c7079){const _0x159b70=a101_0x159b();return a101_0x229c=function(_0x229c4a,_0x57afad){_0x229c4a=_0x229c4a-0xbe;let _0x174831=_0x159b70[_0x229c4a];return _0x174831;},a101_0x229c(_0x231f61,_0x6c7079);}function a101_0x159b(){const _0x365b05=['script','DFNcz','WebDriver','isPlaywrightPage','IlMKD','TkrPQ','yoYkm','vdMhk','CqgtA','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','2163CYkPLM','scanSucceeded','getAccessibilityResultsSummaryWithRetry','pWzMa','isRunning','getAccessibilityModule','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','setTimeouts','\x20failed\x20(','Accessibility\x20scan\x20attempt\x20','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','getInstance','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','IfmYp','hqVZi','wSZYt','Accessibility\x20results\x20retrieval\x20attempt\x20','saveAccessibilityResultsWithRetry','browserStackEvaluate','capabilitiesList','updateRetryConfig','./helper','mrGzG','getGlobal','lUOAu','saveTestResults','../../bin/v2/browserstackCLI','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','driverType','bzUJe','accessibilityPlatform','hoZAi','1583000yUUSTl','timeouts','../performance/constants','allSettled','yVikm','error','ItIhk','name','kZJNo','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','wNErk','options','jsoJf','\x20for\x20method:\x20','tpurb','TgkHE','isPlaywright','type','setSeleniumScriptTimeout','80LMEFqk','Comprehensive\x20accessibility\x20scan\x20failed\x20(','fEMbl','PUKER','1095503kWHMBN','CJxbF','ijbzp','Unknown\x20error','info','timeoutMs','WGAjB','stringify','jomYu','mXDQR','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','isAccessibilityAutomationSession','aDitp','ySdjA','performScan','YXNor','status','__workerDetails','QCGkK','EGtIv','rVEEb','QOTje','summary','ms\x20using\x20timeouts()\x20API','jxsHt','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','nnsIG','value','constructor','measureWrapper','defaultTimeoutMs','env','bstackA11yShouldScan','getAccessibilityResults','650883DmFoEX','message','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','currentTest','ZtLKH','../logger','Playwright\x20accessibility\x20helper\x20not\x20available','OFBmC','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','UbZHg','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','evaluate','unknown','setScriptTimeout','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','manage','getAccessibilityResultsSummary','PERFORM_SCAN','getSession','debug','playwright-page','function','DixzI','setDefaultTimeout','url','max',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','isSeleniumDriver','IEISm','cLlKz','\x20-\x20not\x20applicable','Scan\x20attempt\x20',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','AJebQ','RvzLp','../../bin/playwright/accessibility-helper','undefined','getAccessibilityResultsWithRetry','lovCf','browserstackSessionName','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','warn','scannerProcessingTimeout','oAbpP','HmlwY','12534OpXfzo','mxcpk','kxiQO','results','fqgMi','YoqPD','qvBhQ','../globals','setPlaywrightScriptTimeout','ms\x20using\x20setScriptTimeout\x20API','rejected','GdQcg','):\x20','elqlu','vitdA','CYUyU','JXKan','GwCwk','tQNba','maxRetries',').\x20Error:\x20','784790tNeNsi','apVto','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','unknown_method','ZvRFS','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','sJtfi','getCurrentUrl','isAccessibilityPlatform','mACUK','yhxhU','getId','EWYhg','KZpJg','20tklZVr','page','../performance/performance-tester','HOvHh','fprYK','getRetryConfig',')\x20with\x20error:\x20','NJIFC',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','Eaalh','getCapabilities','tSFgM','playwright-codecept-driver','Operation\x20timed\x20out\x20after\x20','\x20failed\x20for\x20method:\x20','Dhtrv','OwAKH','23733IWgEPI','Sduzh','mlLyP','performScanWithRetry',').\x20Last\x20error:\x20','\x20completed\x20successfully.','cPZaq','goto','1816856veecHF','Playwright'];a101_0x159b=function(){return _0x365b05;};return a101_0x159b();}try{playwrightA11yHelper=require(a101_0x553ef4(0x17b));}catch(a101_0x202eda){logger[a101_0x553ef4(0x16a)](a101_0x553ef4(0x15d));}const a101_0x298c24={};a101_0x298c24['maxRetries']=0x1,a101_0x298c24[a101_0x553ef4(0x13a)]=0x7530,a101_0x298c24[a101_0x553ef4(0x153)]=0x7530;const RETRY_CONFIG=a101_0x298c24,setConfigTimeout=(_0x2b48cb,_0x52c394=null)=>{const _0x7c2248=a101_0x553ef4,_0x4b2d95={'ijbzp':function(_0x250738,_0x3d10fe){return _0x250738===_0x3d10fe;},'Dhtrv':_0x7c2248(0x182),'HmlwY':function(_0x1ca943,_0x289eb7){return _0x1ca943===_0x289eb7;},'DixzI':function(_0x341117,_0x409dac){return _0x341117*_0x409dac;},'lovCf':function(_0x3edce3,_0x56ea0b){return _0x3edce3(_0x56ea0b);},'epjiA':function(_0x331050,_0x37fb03){return _0x331050*_0x37fb03;}};if(BrowserstackCLI[_0x7c2248(0x109)]()[_0x7c2248(0x102)]()&&BrowserstackCLI[_0x7c2248(0x109)]()[_0x7c2248(0x103)]()){const _0x39be4f=BrowserstackCLI[_0x7c2248(0x109)]()[_0x7c2248(0x103)]()['accessibilityConfig'],_0x27b26c=_0x39be4f[_0x7c2248(0x129)][_0x7c2248(0x111)]||[];for(const _0x58d70e of _0x27b26c){_0x4b2d95[_0x7c2248(0x137)](_0x58d70e['name'],_0x4b2d95[_0x7c2248(0xe8)])&&_0x4b2d95[_0x7c2248(0x184)](_0x52c394,null)&&(_0x2b48cb['timeoutMs']=_0x4b2d95[_0x7c2248(0x16d)](_0x4b2d95['lovCf'](parseInt,_0x58d70e[_0x7c2248(0x150)]),0x3e8));}}else process[_0x7c2248(0x154)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x2b48cb[_0x7c2248(0x13a)]=_0x4b2d95['epjiA'](_0x4b2d95[_0x7c2248(0x17e)](parseInt,process['env'][_0x7c2248(0x104)]),0x3e8));},detectDriverType=_0x381813=>{const _0x28a06d=a101_0x553ef4,_0x342844={};_0x342844['tQNba']=_0x28a06d(0x163),_0x342844[_0x28a06d(0x14a)]=function(_0x25151f,_0x5f3a57){return _0x25151f===_0x5f3a57;},_0x342844[_0x28a06d(0xd8)]=_0x28a06d(0x16c),_0x342844[_0x28a06d(0xf9)]=_0x28a06d(0x16b),_0x342844[_0x28a06d(0x10b)]=function(_0x1ce55d,_0x4f6bcb){return _0x1ce55d===_0x4f6bcb;},_0x342844[_0x28a06d(0x134)]=function(_0x363b01,_0x46c356){return _0x363b01===_0x46c356;},_0x342844[_0x28a06d(0x13d)]='selenium-webdriver',_0x342844['yoYkm']='Page',_0x342844[_0x28a06d(0x101)]=function(_0x3e30c2,_0x147678){return _0x3e30c2===_0x147678;},_0x342844[_0x28a06d(0x142)]=_0x28a06d(0xf6),_0x342844[_0x28a06d(0xdd)]=_0x28a06d(0xf3),_0x342844[_0x28a06d(0x149)]=_0x28a06d(0xe5),_0x342844[_0x28a06d(0xcc)]=function(_0x2d860d,_0x27afcf){return _0x2d860d||_0x27afcf;},_0x342844['QCGkK']=_0x28a06d(0x17c);const _0x45b63f=_0x342844;if(!_0x381813){const _0x733a1d={};return _0x733a1d[_0x28a06d(0x12e)]=![],_0x733a1d[_0x28a06d(0x12f)]=_0x45b63f[_0x28a06d(0xc8)],_0x733a1d;}if(_0x45b63f['QOTje'](typeof _0x381813[_0x28a06d(0x162)],_0x45b63f['KZpJg'])&&_0x45b63f[_0x28a06d(0x14a)](typeof _0x381813[_0x28a06d(0x16f)],_0x45b63f[_0x28a06d(0xd8)])&&_0x45b63f[_0x28a06d(0x14a)](typeof _0x381813[_0x28a06d(0xf1)],_0x45b63f['KZpJg'])){const _0x382c1f={};return _0x382c1f[_0x28a06d(0x12e)]=!![],_0x382c1f['type']=_0x45b63f[_0x28a06d(0xf9)],_0x382c1f;}if(_0x45b63f['IfmYp'](typeof _0x381813['executeAsyncScript'],_0x45b63f[_0x28a06d(0xd8)])&&_0x45b63f[_0x28a06d(0x134)](typeof _0x381813[_0x28a06d(0xe3)],_0x45b63f['KZpJg'])){const _0x50a6ea={};return _0x50a6ea[_0x28a06d(0x12e)]=![],_0x50a6ea[_0x28a06d(0x12f)]=_0x45b63f[_0x28a06d(0x13d)],_0x50a6ea;}const _0x363cb7=_0x381813[_0x28a06d(0x151)]?.[_0x28a06d(0x125)];if(_0x45b63f[_0x28a06d(0x14a)](_0x363cb7,_0x45b63f[_0x28a06d(0xfa)])){const _0x1f5a0e={};return _0x1f5a0e[_0x28a06d(0x12e)]=!![],_0x1f5a0e[_0x28a06d(0x12f)]=_0x45b63f[_0x28a06d(0xf9)],_0x1f5a0e;}if(_0x45b63f['pWzMa'](_0x363cb7,_0x45b63f[_0x28a06d(0x142)])){const _0x2dc590={};return _0x2dc590[_0x28a06d(0x12e)]=![],_0x2dc590[_0x28a06d(0x12f)]=_0x45b63f[_0x28a06d(0x13d)],_0x2dc590;}if(_0x45b63f['pWzMa'](_0x363cb7,_0x45b63f[_0x28a06d(0xdd)])){const _0x7071c3={};return _0x7071c3['isPlaywright']=!![],_0x7071c3[_0x28a06d(0x12f)]=_0x45b63f[_0x28a06d(0x149)],_0x7071c3;}logger['warn']('Unknown\x20driver/page\x20type:\x20'+_0x45b63f[_0x28a06d(0xcc)](_0x363cb7,_0x45b63f[_0x28a06d(0x147)]));const _0x1f0968={};return _0x1f0968['isPlaywright']=![],_0x1f0968[_0x28a06d(0x12f)]=_0x45b63f[_0x28a06d(0xc8)],_0x1f0968;},withTimeout=(_0x4d340a,_0x55eb97)=>{const _0x26bb70=a101_0x553ef4;return Promise['race']([_0x4d340a,new Promise((_0x3201a3,_0x11b083)=>setTimeout(()=>_0x11b083(new Error(_0x26bb70(0xe6)+_0x55eb97+'ms')),_0x55eb97))]);};exports['performScanWithRetry']=async(_0x35b599,_0xaaa8=null,_0x5a5715=null,_0x17c89a=![],_0x3a2090=null)=>{const _0x3f3bef=a101_0x553ef4,_0x3bf500={'kZJNo':function(_0x5800bd,_0x342766){return _0x5800bd&&_0x342766;},'mrGzG':function(_0x5c5b4d,_0x52b20a,_0x1053cf){return _0x5c5b4d(_0x52b20a,_0x1053cf);},'tSFgM':function(_0x186092,_0x34c44d){return _0x186092===_0x34c44d;},'IjEjw':_0x3f3bef(0xe5),'aDitp':function(_0x46aad6,_0x5f1851,_0x22feef){return _0x46aad6(_0x5f1851,_0x22feef);},'fEMbl':function(_0x1e5389,_0x1ee15c){return _0x1e5389(_0x1ee15c);},'hoZAi':function(_0x533fe6,_0x325dc3){return _0x533fe6||_0x325dc3;},'ZvRFS':'isAccessibilityPlatform','yhxhU':function(_0x23dd75,_0x993f77){return _0x23dd75!==_0x993f77;},'RvzLp':_0x3f3bef(0x155),'CqgtA':function(_0x4772d8,_0x206b51){return _0x4772d8===_0x206b51;},'CYUyU':_0x3f3bef(0x10a),'fqgMi':_0x3f3bef(0xce),'DFNcz':_0x3f3bef(0x16c),'Sduzh':function(_0x2e22ea,_0x3cbf37){return _0x2e22ea===_0x3cbf37;},'TSqHf':function(_0xa2a4c0,_0x578ce3){return _0xa2a4c0<=_0x578ce3;},'OwAKH':function(_0x4bde73,_0x392328){return _0x4bde73+_0x392328;},'sJtfi':_0x3f3bef(0x138)},{isPlaywright:_0x5f5c31,type:_0x59afa3}=_0x3bf500[_0x3f3bef(0x133)](detectDriverType,_0x35b599),_0x447bd0=_0x17c89a?_0x3bf500[_0x3f3bef(0x11d)](_0x3a2090,{}):global['bstackA11yScanOptions']||{},_0x274e06=_0x5f5c31?global['accessibilityPlatform']&&(_0x17c89a||_0x3bf500[_0x3f3bef(0xe4)](global['bstackA11yShouldScan'],!![])):accessibilityHelper[_0x3f3bef(0x140)]()&&globals[_0x3f3bef(0x115)](_0x3bf500[_0x3f3bef(0xcf)])&&(_0x17c89a||_0x3bf500[_0x3f3bef(0xd5)](globals[_0x3f3bef(0x115)](_0x3bf500[_0x3f3bef(0x17a)]),![]));if(!_0x274e06)return _0x5f5c31&&global[_0x3f3bef(0x11c)]&&_0x3bf500['CqgtA'](global[_0x3f3bef(0x155)],![])||!_0x5f5c31&&globals[_0x3f3bef(0x115)](_0x3bf500['ZvRFS'])&&_0x3bf500[_0x3f3bef(0xfc)](globals[_0x3f3bef(0x115)](_0x3bf500[_0x3f3bef(0x17a)]),![])?logger[_0x3f3bef(0x16a)](_0x3bf500[_0x3f3bef(0xc5)]):logger[_0x3f3bef(0x181)](_0x3f3bef(0x119)+_0x59afa3+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x3bba79=_0xaaa8||global[_0x3f3bef(0x17f)]||_0x3bf500[_0x3f3bef(0x189)];let _0x50899a=null;const _0x34558a={'testhub_btcer_uuid':global[_0x3f3bef(0x146)]?.[_0x3f3bef(0x15a)]?.['id'],'url':_0x3bf500[_0x3f3bef(0xe4)](typeof _0x35b599[_0x3f3bef(0x16f)],_0x3bf500[_0x3f3bef(0xf5)])?await _0x35b599[_0x3f3bef(0x16f)]():_0x3bf500[_0x3f3bef(0xeb)](typeof _0x35b599[_0x3f3bef(0xd2)],_0x3bf500[_0x3f3bef(0xf5)])?await _0x35b599[_0x3f3bef(0xd2)]():'','automate_session_id':_0x3bf500['Sduzh'](typeof _0x35b599[_0x3f3bef(0x169)],_0x3bf500[_0x3f3bef(0xf5)])?(await _0x35b599[_0x3f3bef(0x169)]())[_0x3f3bef(0xd6)]():''};for(let _0x35a825=0x1;_0x3bf500['TSqHf'](_0x35a825,_0x3bf500[_0x3f3bef(0xe9)](RETRY_CONFIG[_0x3f3bef(0xc9)],0x1));_0x35a825++){try{return logger[_0x3f3bef(0x16a)](_0x3f3bef(0x107)+_0x35a825+'/'+_0x3bf500[_0x3f3bef(0xe9)](RETRY_CONFIG[_0x3f3bef(0xc9)],0x1)+_0x3f3bef(0x12b)+_0x3bba79+'\x20('+_0x59afa3+')'),await PerformanceTester[_0x3f3bef(0x152)](PerformanceA11yEvents[_0x3f3bef(0x168)],async()=>{const _0x30b2b3=_0x3f3bef;let _0xd1ad28;if(_0x3bf500[_0x30b2b3(0x126)](_0x5f5c31,playwrightA11yHelper)){_0x3bf500['mrGzG'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x30b2b3(0xbe)](_0x35b599,RETRY_CONFIG[_0x30b2b3(0x13a)]);let _0xb0dc2=_0x35b599;_0x3bf500['tSFgM'](_0x59afa3,_0x3bf500['IjEjw'])&&(_0xb0dc2=_0x35b599[_0x30b2b3(0xda)]),_0xd1ad28=await _0x3bf500[_0x30b2b3(0x114)](withTimeout,playwrightA11yHelper[_0x30b2b3(0x143)](_0xb0dc2,_0x3bba79,_0x447bd0),RETRY_CONFIG[_0x30b2b3(0x13a)]),await exports['setPlaywrightScriptTimeout'](_0x35b599,RETRY_CONFIG[_0x30b2b3(0x153)]);}else await exports[_0x30b2b3(0x130)](_0x35b599,RETRY_CONFIG[_0x30b2b3(0x13a)]),_0xd1ad28=await _0x3bf500[_0x30b2b3(0x141)](withTimeout,accessibilityHelper[_0x30b2b3(0x143)](_0x35b599,_0x3bba79,_0x17c89a,_0x447bd0),RETRY_CONFIG[_0x30b2b3(0x13a)]),await exports[_0x30b2b3(0x130)](_0x35b599,RETRY_CONFIG['defaultTimeoutMs']);logger[_0x30b2b3(0x16a)](_0x30b2b3(0x177)+_0x35a825+_0x30b2b3(0xef));},{'command':_0x3bba79,..._0x34558a})(),logger[_0x3f3bef(0x139)](_0x3f3bef(0x172)+_0x35a825+'.'),!![];}catch(_0x2f6089){_0x50899a=_0x2f6089,logger[_0x3f3bef(0x16a)](_0x3f3bef(0x107)+_0x35a825+_0x3f3bef(0xe7)+_0x3bba79+'\x20('+_0x59afa3+_0x3f3bef(0xca)+_0x2f6089[_0x3f3bef(0x158)]);}}return logger['error']('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x3bba79+'\x20('+_0x59afa3+_0x3f3bef(0xdf)+(_0x50899a?.[_0x3f3bef(0x158)]||_0x3bf500[_0x3f3bef(0xd1)])),![];},exports[a101_0x553ef4(0x17d)]=async(_0x1a4d2c,_0xadeac2)=>{const _0x43b35b=a101_0x553ef4,_0x157dcd={'oAbpP':function(_0x222290,_0x382965){return _0x222290(_0x382965);},'WGAjB':'isAccessibilityPlatform','qvBhQ':function(_0xa400d8,_0x499220){return _0xa400d8<=_0x499220;},'vdMhk':function(_0x344515,_0x4fa1df){return _0x344515+_0x4fa1df;},'mXDQR':function(_0x8daf00,_0x4d69be){return _0x8daf00&&_0x4d69be;},'SoXqD':function(_0x381f0f,_0x299393,_0x442625){return _0x381f0f(_0x299393,_0x442625);},'kxiQO':function(_0x1908fa,_0x593d6f,_0x36d52a){return _0x1908fa(_0x593d6f,_0x36d52a);},'elqlu':_0x43b35b(0x138)},{isPlaywright:_0x4ddee1,type:_0x5f599c}=_0x157dcd[_0x43b35b(0x183)](detectDriverType,_0x1a4d2c),_0x2c5e50=_0x4ddee1?_0xadeac2[_0x43b35b(0x11c)]:accessibilityHelper[_0x43b35b(0x140)]()&&globals[_0x43b35b(0x115)](_0x157dcd[_0x43b35b(0x13b)]);if(!_0x2c5e50)return logger[_0x43b35b(0x181)](_0x43b35b(0x119)+_0x5f599c+_0x43b35b(0x178)),[];let _0x5e14c1=null;for(let _0x2af78e=0x1;_0x157dcd[_0x43b35b(0x18b)](_0x2af78e,_0x157dcd[_0x43b35b(0xfb)](RETRY_CONFIG[_0x43b35b(0xc9)],0x1));_0x2af78e++){try{logger[_0x43b35b(0x16a)](_0x43b35b(0x10e)+_0x2af78e+'/'+_0x157dcd[_0x43b35b(0xfb)](RETRY_CONFIG[_0x43b35b(0xc9)],0x1)+'\x20('+_0x5f599c+')');let _0x2b6a58;return _0x157dcd[_0x43b35b(0x13e)](_0x4ddee1,playwrightA11yHelper)?(_0x157dcd['SoXqD'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x43b35b(0xbe)](_0x1a4d2c,RETRY_CONFIG[_0x43b35b(0x13a)]),_0x2b6a58=await _0x157dcd['SoXqD'](withTimeout,playwrightA11yHelper[_0x43b35b(0x156)](_0x1a4d2c),RETRY_CONFIG['timeoutMs']),await exports[_0x43b35b(0xbe)](_0x1a4d2c,RETRY_CONFIG[_0x43b35b(0x153)])):(await exports[_0x43b35b(0x130)](_0x1a4d2c,RETRY_CONFIG[_0x43b35b(0x13a)]),_0x2b6a58=await _0x157dcd[_0x43b35b(0x187)](withTimeout,accessibilityHelper[_0x43b35b(0x156)](_0x1a4d2c,_0xadeac2),RETRY_CONFIG[_0x43b35b(0x13a)]),await exports[_0x43b35b(0x130)](_0x1a4d2c,RETRY_CONFIG[_0x43b35b(0x153)])),logger[_0x43b35b(0x139)]('Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x2af78e+'\x20('+_0x5f599c+')'),_0x2b6a58;}catch(_0x2539df){_0x5e14c1=_0x2539df,logger[_0x43b35b(0x181)](_0x43b35b(0x10e)+_0x2af78e+_0x43b35b(0x106)+_0x5f599c+_0x43b35b(0xca)+_0x2539df[_0x43b35b(0x158)]);}}return logger['error'](_0x43b35b(0xd0)+_0x5f599c+').\x20Last\x20error:\x20'+(_0x5e14c1?.[_0x43b35b(0x158)]||_0x157dcd[_0x43b35b(0xc3)])),[];},exports[a101_0x553ef4(0x100)]=async(_0x1c73f6,_0x5b7dd5)=>{const _0x3c9281=a101_0x553ef4,_0x2643cb={'wSZYt':function(_0x29e27c,_0x3208d8){return _0x29e27c(_0x3208d8);},'EGtIv':_0x3c9281(0xd3),'IEISm':function(_0x23258c,_0x2bd950){return _0x23258c<=_0x2bd950;},'hqVZi':function(_0x15fe53,_0x3ce9df){return _0x15fe53+_0x3ce9df;},'tpurb':function(_0x5ea8cf,_0x41e032){return _0x5ea8cf&&_0x41e032;},'OHeKh':function(_0x2a2ef7,_0x516549,_0x7e9516){return _0x2a2ef7(_0x516549,_0x7e9516);},'YXNor':function(_0x10650b,_0x129e2e,_0x3765bf){return _0x10650b(_0x129e2e,_0x3765bf);},'rkkjv':function(_0x3e3e44,_0x37bb96,_0x2d8994){return _0x3e3e44(_0x37bb96,_0x2d8994);},'AltYy':'Unknown\x20error'},{isPlaywright:_0x43c9e4,type:_0x21e5ba}=_0x2643cb[_0x3c9281(0x10d)](detectDriverType,_0x1c73f6),_0x46ba5e=_0x43c9e4?_0x5b7dd5[_0x3c9281(0x11c)]:accessibilityHelper[_0x3c9281(0x140)]()&&globals[_0x3c9281(0x115)](_0x2643cb[_0x3c9281(0x148)]);if(!_0x46ba5e)return logger[_0x3c9281(0x181)](_0x3c9281(0x119)+_0x21e5ba+_0x3c9281(0x171)),{};let _0x21c038=null;for(let _0x57a3aa=0x1;_0x2643cb[_0x3c9281(0x174)](_0x57a3aa,_0x2643cb[_0x3c9281(0x10c)](RETRY_CONFIG[_0x3c9281(0xc9)],0x1));_0x57a3aa++){try{logger['debug'](_0x3c9281(0x14e)+_0x57a3aa+'/'+_0x2643cb[_0x3c9281(0x10c)](RETRY_CONFIG[_0x3c9281(0xc9)],0x1)+'\x20('+_0x21e5ba+')');let _0x46b44e;return _0x2643cb[_0x3c9281(0x12c)](_0x43c9e4,playwrightA11yHelper)?(_0x2643cb['OHeKh'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x1c73f6,RETRY_CONFIG[_0x3c9281(0x13a)]),_0x46b44e=await _0x2643cb[_0x3c9281(0x144)](withTimeout,playwrightA11yHelper[_0x3c9281(0x167)](_0x1c73f6),RETRY_CONFIG['timeoutMs']),await exports[_0x3c9281(0xbe)](_0x1c73f6,RETRY_CONFIG[_0x3c9281(0x153)])):(await exports[_0x3c9281(0x130)](_0x1c73f6,RETRY_CONFIG['timeoutMs']),_0x46b44e=await _0x2643cb['rkkjv'](withTimeout,accessibilityHelper[_0x3c9281(0x167)](_0x1c73f6,_0x5b7dd5),RETRY_CONFIG['timeoutMs']),await exports[_0x3c9281(0x130)](_0x1c73f6,RETRY_CONFIG[_0x3c9281(0x153)])),logger[_0x3c9281(0x139)](_0x3c9281(0x180)+_0x57a3aa+'\x20('+_0x21e5ba+')'),_0x46b44e;}catch(_0x3b3dd9){_0x21c038=_0x3b3dd9,logger[_0x3c9281(0x181)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x57a3aa+_0x3c9281(0x106)+_0x21e5ba+').\x20Error:\x20'+_0x3b3dd9[_0x3c9281(0x158)]);}}return logger[_0x3c9281(0x123)](_0x3c9281(0x159)+_0x21e5ba+_0x3c9281(0xee)+(_0x21c038?.[_0x3c9281(0x158)]||_0x2643cb['AltYy'])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x36e244,_0x270fe0,_0x48c938=null)=>{const _0x5cd0e4=a101_0x553ef4,_0x110bde={'bzUJe':function(_0x135ba5,_0x1ee685){return _0x135ba5(_0x1ee685);},'JXKan':function(_0xb81b94,_0x4174ba){return _0xb81b94===_0x4174ba;},'TgkHE':'fulfilled','YoqPD':function(_0x131f60,_0x4ff0e1){return _0x131f60===_0x4ff0e1;},'lUOAu':_0x5cd0e4(0xc0),'mlLyP':function(_0x194c02,_0x5f1eef){return _0x194c02===_0x5f1eef;},'AJebQ':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x416cea,type:_0x12ed76}=_0x110bde[_0x5cd0e4(0x11b)](detectDriverType,_0x36e244),_0xf7d971={};_0xf7d971[_0x5cd0e4(0xff)]=![],_0xf7d971[_0x5cd0e4(0x188)]=[],_0xf7d971[_0x5cd0e4(0x14b)]={},_0xf7d971[_0x5cd0e4(0x123)]=null,_0xf7d971[_0x5cd0e4(0x11a)]=_0x12ed76;const _0x11d33a=_0xf7d971;try{_0x11d33a[_0x5cd0e4(0xff)]=await exports[_0x5cd0e4(0xed)](_0x36e244,_0x48c938);if(_0x11d33a[_0x5cd0e4(0xff)]){const [_0x4495f4,_0x5f0b51]=await Promise[_0x5cd0e4(0x121)]([exports[_0x5cd0e4(0x17d)](_0x36e244,_0x270fe0),exports[_0x5cd0e4(0x100)](_0x36e244,_0x270fe0)]);_0x11d33a[_0x5cd0e4(0x188)]=_0x110bde[_0x5cd0e4(0xc6)](_0x4495f4[_0x5cd0e4(0x145)],_0x110bde[_0x5cd0e4(0x12d)])?_0x4495f4[_0x5cd0e4(0x150)]:[],_0x11d33a['summary']=_0x110bde[_0x5cd0e4(0x18a)](_0x5f0b51['status'],_0x110bde[_0x5cd0e4(0x12d)])?_0x5f0b51['value']:{},_0x110bde[_0x5cd0e4(0x18a)](_0x4495f4[_0x5cd0e4(0x145)],_0x110bde[_0x5cd0e4(0x116)])&&logger[_0x5cd0e4(0x181)]('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0x12ed76+'):\x20'+_0x4495f4['reason']?.[_0x5cd0e4(0x158)]),_0x110bde[_0x5cd0e4(0xec)](_0x5f0b51[_0x5cd0e4(0x145)],_0x110bde['lUOAu'])&&logger[_0x5cd0e4(0x181)](_0x5cd0e4(0x15f)+_0x12ed76+_0x5cd0e4(0xc2)+_0x5f0b51['reason']?.[_0x5cd0e4(0x158)]);}}catch(_0x35e9e3){_0x11d33a['error']=_0x35e9e3[_0x5cd0e4(0x158)]||_0x110bde[_0x5cd0e4(0x179)],logger[_0x5cd0e4(0x123)](_0x5cd0e4(0x132)+_0x12ed76+_0x5cd0e4(0xc2)+_0x11d33a['error']);}return _0x11d33a;},exports[a101_0x553ef4(0x112)]=_0xe38336=>{const _0x174734=a101_0x553ef4,_0x300108={};_0x300108['UbZHg']=function(_0x58cb20,_0x4c476c){return _0x58cb20!==_0x4c476c;},_0x300108['cPZaq']=function(_0x4c2d0b,_0xc60b6d){return _0x4c2d0b!==_0xc60b6d;};const _0x189414=_0x300108;_0x189414[_0x174734(0x160)](_0xe38336[_0x174734(0xc9)],undefined)&&(RETRY_CONFIG[_0x174734(0xc9)]=Math[_0x174734(0x170)](0x0,_0xe38336[_0x174734(0xc9)])),_0x189414[_0x174734(0xf0)](_0xe38336[_0x174734(0x13a)],undefined)&&(RETRY_CONFIG[_0x174734(0x13a)]=Math[_0x174734(0x170)](0x3e8,_0xe38336['timeoutMs'])),logger[_0x174734(0x16a)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x174734(0x13c)](RETRY_CONFIG));},exports[a101_0x553ef4(0xde)]=()=>{const _0x3b7cd4={...RETRY_CONFIG};return _0x3b7cd4;},exports[a101_0x553ef4(0xf7)]=_0x4d3661=>{const _0x54c0c7=a101_0x553ef4,_0x14af62={'vitdA':function(_0x40a15a,_0x306b76){return _0x40a15a(_0x306b76);}};return _0x14af62[_0x54c0c7(0xc4)](detectDriverType,_0x4d3661)[_0x54c0c7(0x12e)];},exports['isSeleniumDriver']=_0x4c724c=>{const _0x62ad53=a101_0x553ef4,_0xde0d5a={'mACUK':function(_0x496e94,_0x5ad081){return _0x496e94(_0x5ad081);},'mxcpk':function(_0x4088ae,_0x2627ce){return _0x4088ae===_0x2627ce;},'JeUXy':'selenium-webdriver'},{isPlaywright:_0x10e76e,type:_0x1c2068}=_0xde0d5a[_0x62ad53(0xd4)](detectDriverType,_0x4c724c);return!_0x10e76e&&_0xde0d5a[_0x62ad53(0x186)](_0x1c2068,_0xde0d5a['JeUXy']);},exports['setPlaywrightScriptTimeout']=async(_0x429e45,_0xb1a70f=null)=>{const _0x2b8315=a101_0x553ef4,_0x5c4efb={'IlMKD':function(_0xc87d9c,_0x4e55c6){return _0xc87d9c(_0x4e55c6);},'zRKgp':function(_0x52b24d,_0x2270d2){return _0x52b24d===_0x2270d2;},'cLlKz':_0x2b8315(0x16c)},{isPlaywright:_0x586677,type:_0xae2796}=_0x5c4efb[_0x2b8315(0xf8)](detectDriverType,_0x429e45);if(!_0x586677)return logger['debug']('Skipping\x20timeout\x20setting\x20for\x20'+_0xae2796+_0x2b8315(0x176)),!![];const _0x12576f=_0xb1a70f||RETRY_CONFIG[_0x2b8315(0x153)];try{return _0x429e45&&_0x5c4efb['zRKgp'](typeof _0x429e45[_0x2b8315(0x16e)],_0x5c4efb[_0x2b8315(0x175)])&&(await _0x429e45[_0x2b8315(0x16e)](_0x12576f),logger['debug'](_0x2b8315(0xcd)+_0x12576f+'ms')),!![];}catch(_0x4fbb70){return logger['warn'](_0x2b8315(0x161)+_0x4fbb70[_0x2b8315(0x158)]),![];}},exports[a101_0x553ef4(0x130)]=async(_0x392e7c,_0x2057ad=null)=>{const _0x49538f=a101_0x553ef4,_0x25fc8b={};_0x25fc8b['OFBmC']=_0x49538f(0xfd),_0x25fc8b['CJxbF']=function(_0x32de9d,_0xd8cf78){return _0x32de9d===_0xd8cf78;},_0x25fc8b[_0x49538f(0xc7)]=_0x49538f(0x16c),_0x25fc8b['GdQcg']=function(_0x4f6cbc,_0x7b9282){return _0x4f6cbc===_0x7b9282;},_0x25fc8b[_0x49538f(0x128)]=function(_0x56a0d7,_0x55701a){return _0x56a0d7===_0x55701a;},_0x25fc8b[_0x49538f(0x124)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x25fc8b['nnsIG']=_0x49538f(0x127);const _0xd500b5=_0x25fc8b;if(!exports[_0x49538f(0x173)](_0x392e7c))return logger[_0x49538f(0x181)](_0xd500b5[_0x49538f(0x15e)]),![];const _0x14ed62=_0x2057ad||RETRY_CONFIG[_0x49538f(0x153)];try{if(_0x392e7c&&_0xd500b5['CJxbF'](typeof _0x392e7c[_0x49538f(0x166)],_0xd500b5['GwCwk'])){const _0x4310a8=_0x392e7c['manage']();if(_0x4310a8&&_0xd500b5[_0x49538f(0x136)](typeof _0x4310a8[_0x49538f(0x11f)],_0xd500b5[_0x49538f(0xc7)]))await _0x4310a8['timeouts']()[_0x49538f(0x164)](_0x14ed62),logger[_0x49538f(0x16a)](_0x49538f(0x13f)+_0x14ed62+_0x49538f(0x14c));else{if(_0x4310a8&&_0xd500b5[_0x49538f(0xc1)](typeof _0x4310a8['setTimeouts'],_0xd500b5[_0x49538f(0xc7)])){const _0xf9e425={};_0xf9e425[_0x49538f(0xf4)]=_0x14ed62,await _0x4310a8[_0x49538f(0x105)](_0xf9e425),logger[_0x49538f(0x16a)](_0x49538f(0x13f)+_0x14ed62+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x4310a8&&_0xd500b5[_0x49538f(0x128)](typeof _0x4310a8[_0x49538f(0x164)],_0xd500b5[_0x49538f(0xc7)]))await _0x4310a8[_0x49538f(0x164)](_0x14ed62),logger[_0x49538f(0x16a)](_0x49538f(0x13f)+_0x14ed62+_0x49538f(0xbf));else return logger['debug'](_0xd500b5['ItIhk']),!![];}}}else return logger[_0x49538f(0x16a)](_0xd500b5[_0x49538f(0x14f)]),!![];return!![];}catch(_0x572025){return logger[_0x49538f(0x181)](_0x49538f(0x108)+_0x572025[_0x49538f(0x158)]),![];}},exports[a101_0x553ef4(0x10f)]=async(_0x123cef,_0x34b9a3)=>{const _0x113097=a101_0x553ef4,_0x2d6c1a={'Eaalh':function(_0x44f559,_0x407bc7){return _0x44f559(_0x407bc7);},'yVikm':_0x113097(0xd3),'ZtLKH':function(_0x4165b6,_0x36f791){return _0x4165b6<=_0x36f791;},'NJIFC':function(_0x243863,_0x34a143){return _0x243863+_0x34a143;},'HOvHh':function(_0x4e88dd,_0x24d6fe){return _0x4e88dd+_0x24d6fe;},'EWYhg':function(_0x30506b,_0xa2f9ac){return _0x30506b&&_0xa2f9ac;},'jsoJf':function(_0x3f81f7,_0x237efc,_0x2a1712){return _0x3f81f7(_0x237efc,_0x2a1712);},'jxsHt':_0x113097(0x138)},{isPlaywright:_0x3ebb7c,type:_0x554f4a}=_0x2d6c1a[_0x113097(0xe2)](detectDriverType,_0x123cef),_0x56b190=_0x3ebb7c?global['accessibilityPlatform']:accessibilityHelper[_0x113097(0x140)]()&&globals['getGlobal'](_0x2d6c1a[_0x113097(0x122)]);if(!_0x56b190)return logger[_0x113097(0x181)](_0x113097(0x119)+_0x554f4a+_0x113097(0xe1)),![];let _0x15f1e9=null;for(let _0x54452b=0x1;_0x2d6c1a[_0x113097(0x15b)](_0x54452b,_0x2d6c1a[_0x113097(0xe0)](RETRY_CONFIG['maxRetries'],0x1));_0x54452b++){try{return logger[_0x113097(0x16a)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x54452b+'/'+_0x2d6c1a[_0x113097(0xdc)](RETRY_CONFIG[_0x113097(0xc9)],0x1)+'\x20('+_0x554f4a+')'),_0x2d6c1a[_0x113097(0xd7)](_0x3ebb7c,playwrightA11yHelper)?(_0x2d6c1a[_0x113097(0x12a)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x113097(0xbe)](_0x123cef,RETRY_CONFIG['timeoutMs']),await _0x2d6c1a[_0x113097(0x12a)](withTimeout,playwrightA11yHelper[_0x113097(0x110)](_0x123cef,scripts[_0x113097(0x117)],_0x34b9a3),RETRY_CONFIG[_0x113097(0x13a)]),await exports['setPlaywrightScriptTimeout'](_0x123cef,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x113097(0x130)](_0x123cef,RETRY_CONFIG['timeoutMs']),await _0x2d6c1a[_0x113097(0x12a)](withTimeout,_0x123cef['executeAsyncScript'](scripts['saveTestResults'],_0x34b9a3),RETRY_CONFIG['timeoutMs']),await exports[_0x113097(0x130)](_0x123cef,RETRY_CONFIG[_0x113097(0x153)])),logger[_0x113097(0x139)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x54452b+'\x20('+_0x554f4a+')'),!![];}catch(_0x1217d7){_0x15f1e9=_0x1217d7,logger['warn']('Accessibility\x20results\x20save\x20attempt\x20'+_0x54452b+'\x20failed\x20('+_0x554f4a+_0x113097(0xca)+_0x1217d7[_0x113097(0x158)]);}}return logger[_0x113097(0x123)](_0x113097(0x165)+_0x554f4a+_0x113097(0xee)+(_0x15f1e9?.['message']||_0x2d6c1a[_0x113097(0x14d)])),![];};
|
|
1
|
+
const a101_0x59332f=a101_0x4104;(function(_0x3783a7,_0x3e95fb){const _0x3b7e8f=a101_0x4104,_0x116c2d=_0x3783a7();while(!![]){try{const _0x4dc414=parseInt(_0x3b7e8f(0x10d))/0x1*(parseInt(_0x3b7e8f(0x172))/0x2)+parseInt(_0x3b7e8f(0x126))/0x3+parseInt(_0x3b7e8f(0x1ad))/0x4*(-parseInt(_0x3b7e8f(0x136))/0x5)+-parseInt(_0x3b7e8f(0x189))/0x6*(parseInt(_0x3b7e8f(0x150))/0x7)+-parseInt(_0x3b7e8f(0x1b7))/0x8*(-parseInt(_0x3b7e8f(0x10e))/0x9)+-parseInt(_0x3b7e8f(0xf7))/0xa+parseInt(_0x3b7e8f(0x142))/0xb*(-parseInt(_0x3b7e8f(0x151))/0xc);if(_0x4dc414===_0x3e95fb)break;else _0x116c2d['push'](_0x116c2d['shift']());}catch(_0xa5ef53){_0x116c2d['push'](_0x116c2d['shift']());}}}(a101_0x2f9f,0x945d9));const util=require(a101_0x59332f(0xfc)),logger=require('../logger')[a101_0x59332f(0xf6)],accessibilityHelper=require(a101_0x59332f(0x179)),globals=require('../globals'),scripts=require('./scripts'),PerformanceTester=require(a101_0x59332f(0x15f)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a101_0x59332f(0x17c)),BrowserstackCLI=require(a101_0x59332f(0x162));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a101_0x59332f(0x118));}catch(a101_0x1460e0){logger['debug'](a101_0x59332f(0x111));}const a101_0x61fef7={};function a101_0x4104(_0x43e83f,_0x3f4a17){const _0x2f9f45=a101_0x2f9f();return a101_0x4104=function(_0x4104a2,_0x3c639d){_0x4104a2=_0x4104a2-0xec;let _0x3ad504=_0x2f9f45[_0x4104a2];return _0x3ad504;},a101_0x4104(_0x43e83f,_0x3f4a17);}a101_0x61fef7[a101_0x59332f(0xec)]=0x1,a101_0x61fef7['timeoutMs']=0x7530,a101_0x61fef7[a101_0x59332f(0x14c)]=0x7530;const RETRY_CONFIG=a101_0x61fef7,setConfigTimeout=(_0x3ae6ea,_0x156bbd=null)=>{const _0x5df650=a101_0x59332f,_0x5a8815={'jAehw':function(_0x2e1b7b,_0x4924f0){return _0x2e1b7b===_0x4924f0;},'dlkqp':_0x5df650(0x16a),'gPwjQ':function(_0xa94fb5,_0x555432){return _0xa94fb5*_0x555432;},'lAiBC':function(_0x426b96,_0x354124){return _0x426b96(_0x354124);},'Krbzi':function(_0x3e271e,_0x536a70){return _0x3e271e*_0x536a70;},'KqiRb':function(_0x4b64cb,_0x1e0a5c){return _0x4b64cb(_0x1e0a5c);}};if(BrowserstackCLI[_0x5df650(0x10a)]()['isRunning']()&&BrowserstackCLI[_0x5df650(0x10a)]()[_0x5df650(0x1a1)]()){const _0x5a41ec=BrowserstackCLI[_0x5df650(0x10a)]()[_0x5df650(0x1a1)]()[_0x5df650(0xed)],_0x5bd11d=_0x5a41ec[_0x5df650(0x125)]['capabilitiesList']||[];for(const _0xbcb8d of _0x5bd11d){_0x5a8815[_0x5df650(0x18a)](_0xbcb8d[_0x5df650(0x123)],_0x5a8815['dlkqp'])&&_0x5a8815['jAehw'](_0x156bbd,null)&&(_0x3ae6ea[_0x5df650(0x112)]=_0x5a8815[_0x5df650(0xee)](_0x5a8815[_0x5df650(0x13d)](parseInt,_0xbcb8d[_0x5df650(0x1a0)]),0x3e8));}}else process[_0x5df650(0x178)][_0x5df650(0x14d)]&&(_0x3ae6ea[_0x5df650(0x112)]=_0x5a8815['Krbzi'](_0x5a8815[_0x5df650(0xf5)](parseInt,process[_0x5df650(0x178)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x3737d8=>{const _0x32f7ef=a101_0x59332f,_0x284d31={};_0x284d31['oBgLH']=_0x32f7ef(0x143),_0x284d31[_0x32f7ef(0x109)]=function(_0x3af8c5,_0x24509f){return _0x3af8c5===_0x24509f;},_0x284d31['titml']='function',_0x284d31['odgzq']=function(_0x546480,_0x2a79c1){return _0x546480===_0x2a79c1;},_0x284d31['ADGVF']='playwright-page',_0x284d31[_0x32f7ef(0x1be)]=function(_0x253a53,_0xcfccdd){return _0x253a53===_0xcfccdd;},_0x284d31[_0x32f7ef(0x1a3)]=_0x32f7ef(0x171),_0x284d31['eOFjX']=function(_0x4d1da8,_0x59f52b){return _0x4d1da8===_0x59f52b;},_0x284d31[_0x32f7ef(0x1af)]=_0x32f7ef(0x1bb),_0x284d31[_0x32f7ef(0x147)]=function(_0x32cfb9,_0x643e92){return _0x32cfb9===_0x643e92;},_0x284d31[_0x32f7ef(0x187)]=_0x32f7ef(0x1b2),_0x284d31[_0x32f7ef(0x135)]=_0x32f7ef(0x117),_0x284d31[_0x32f7ef(0x18b)]=_0x32f7ef(0x1b3),_0x284d31[_0x32f7ef(0x17b)]=function(_0xdfeb70,_0x4ce780){return _0xdfeb70||_0x4ce780;},_0x284d31[_0x32f7ef(0xfa)]='undefined';const _0x124cb3=_0x284d31;if(!_0x3737d8){const _0x3d5500={};return _0x3d5500['isPlaywright']=![],_0x3d5500[_0x32f7ef(0x160)]=_0x124cb3[_0x32f7ef(0x165)],_0x3d5500;}if(_0x124cb3['DYuoq'](typeof _0x3737d8[_0x32f7ef(0x119)],_0x124cb3[_0x32f7ef(0x1aa)])&&_0x124cb3[_0x32f7ef(0x105)](typeof _0x3737d8[_0x32f7ef(0x1bd)],_0x124cb3[_0x32f7ef(0x1aa)])&&_0x124cb3[_0x32f7ef(0x105)](typeof _0x3737d8[_0x32f7ef(0x1b9)],_0x124cb3[_0x32f7ef(0x1aa)])){const _0x2c138c={};return _0x2c138c[_0x32f7ef(0xff)]=!![],_0x2c138c[_0x32f7ef(0x160)]=_0x124cb3[_0x32f7ef(0x15c)],_0x2c138c;}if(_0x124cb3['odgzq'](typeof _0x3737d8[_0x32f7ef(0x1b8)],_0x124cb3[_0x32f7ef(0x1aa)])&&_0x124cb3[_0x32f7ef(0x1be)](typeof _0x3737d8[_0x32f7ef(0x18c)],_0x124cb3[_0x32f7ef(0x1aa)])){const _0xec38be={};return _0xec38be[_0x32f7ef(0xff)]=![],_0xec38be[_0x32f7ef(0x160)]=_0x124cb3[_0x32f7ef(0x1a3)],_0xec38be;}const _0x530bdc=_0x3737d8[_0x32f7ef(0x149)]?.['name'];if(_0x124cb3[_0x32f7ef(0x186)](_0x530bdc,_0x124cb3[_0x32f7ef(0x1af)])){const _0x1ebae1={};return _0x1ebae1['isPlaywright']=!![],_0x1ebae1[_0x32f7ef(0x160)]=_0x124cb3['ADGVF'],_0x1ebae1;}if(_0x124cb3['LQCHF'](_0x530bdc,_0x124cb3['ZwzhT'])){const _0x566d86={};return _0x566d86[_0x32f7ef(0xff)]=![],_0x566d86['type']=_0x124cb3[_0x32f7ef(0x1a3)],_0x566d86;}if(_0x124cb3[_0x32f7ef(0x186)](_0x530bdc,_0x124cb3['txncK'])){const _0x25dc8a={};return _0x25dc8a[_0x32f7ef(0xff)]=!![],_0x25dc8a[_0x32f7ef(0x160)]=_0x124cb3['NTQFB'],_0x25dc8a;}logger[_0x32f7ef(0xfb)](_0x32f7ef(0x108)+_0x124cb3['uitDn'](_0x530bdc,_0x124cb3['vkgGr']));const _0x28a092={};return _0x28a092['isPlaywright']=![],_0x28a092[_0x32f7ef(0x160)]=_0x124cb3[_0x32f7ef(0x165)],_0x28a092;},withTimeout=(_0x5a74db,_0x29dc5c)=>{const _0x599a72=a101_0x59332f;return Promise[_0x599a72(0x102)]([_0x5a74db,new Promise((_0x5d5137,_0x455bff)=>setTimeout(()=>_0x455bff(new Error('Operation\x20timed\x20out\x20after\x20'+_0x29dc5c+'ms')),_0x29dc5c))]);};function a101_0x2f9f(){const _0x4c0899=['IsklP',').\x20Last\x20error:\x20','getAccessibilityResultsSummaryWithRetry','EJZbB',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','AGbSY','titml','function','Uvskk','70624UjUOoZ','getRetryConfig','Cekye','PERFORM_SCAN','getAccessibilityResultsSummary','WebDriver','playwright-codecept-driver','stringify','rejected','NstPi','816616qZNzUp','executeAsyncScript','goto','MuXRC','Page','atndW','url','PvYqz','scanSucceeded','maxRetries','accessibilityConfig','gPwjQ','txOMq','VkWDI','reason','GdumF','Uxfzd','Vwozs','KqiRb','winstonLogger','2465480EktsKV','njUYF','\x20for\x20method:\x20','vkgGr','warn','util','GRwjd','ttTKw','isPlaywright','BjvFz','ECfRb','race','EHYjc','hmGqf','odgzq','Unknown\x20error','allSettled','Unknown\x20driver/page\x20type:\x20','DYuoq','getInstance','summary','lxAZs','594lUjdsj','54gloZVW','ms\x20using\x20timeouts()\x20API','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Playwright\x20accessibility\x20helper\x20not\x20available','timeoutMs','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','Accessibility\x20results\x20retrieval\x20attempt\x20','qLCrF','vOFvi','Playwright','../../bin/playwright/accessibility-helper','evaluate','Scan\x20attempt\x20','ityQI','XpehT','pVXIJ','isSeleniumDriver','max','updateRetryConfig','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','hkUMx','name','getCurrentUrl','options','3409980ZMhfSy','assign','RUCtb','KNhxK','results','OTgfZ','performScan','Skipping\x20timeout\x20setting\x20for\x20','info','message','uloGX','__workerDetails','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','timeouts','BNugV','txncK','105ESImOI','CxInk','BnAkT','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','isAccessibilityAutomationSession','ELjuA','\x20failed\x20(','lAiBC','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','isMobilePlatform',',\x20cannot\x20perform\x20scan\x20with\x20retry.','407TiHAUe','unknown','setSeleniumScriptTimeout','debug','script','LQCHF','DQeXa','constructor','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','accessibilityPlatform','defaultTimeoutMs','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','qXTQJ','browserStackEvaluate','63zgsTSy','89052kRRFPx','page','):\x20','uKurd','fulfilled','owDkL','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','unknown_method','status','performComprehensiveAccessibilityScanWithRetry','MODPK','ADGVF','DOZbm','EMBYV','../performance/performance-tester','type',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','../../bin/v2/browserstackCLI','setPlaywrightScriptTimeout','GpEcW','oBgLH','LhpKA','setDefaultTimeout','\x20completed\x20successfully.','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','scannerProcessingTimeout','bstackA11yScanOptions','error','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','\x20-\x20not\x20applicable',').\x20Error:\x20','saveAccessibilityResultsWithRetry','selenium-webdriver','1772lJalzT','QyvQL','ms\x20using\x20setScriptTimeout\x20API','Accessibility\x20results\x20save\x20attempt\x20','saveTestResults','sLxBr','env','./helper','LYCYC','uitDn','../performance/constants','RfFnG','HDgkl','YLYpk','NIKuP','getId','SGWvc','dftpC','isPlaywrightPage','performScanWithRetry','eOFjX','ZwzhT','XtDgB','517200oZUQet','jAehw','NTQFB','getCapabilities','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','rvJrS','Accessibility\x20scan\x20attempt\x20','\x20failed\x20for\x20method:\x20','currentTest','FvVPd','aVfLr','getGlobal','uPdiM','isAccessibilityPlatform','bstackA11yShouldScan','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','ONASJ','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','getAccessibilityResults','cBQSl','setScriptTimeout','RhgwW','is_mobile_session','value','getAccessibilityModule','getAccessibilityResultsWithRetry','rxumZ'];a101_0x2f9f=function(){return _0x4c0899;};return a101_0x2f9f();}exports[a101_0x59332f(0x185)]=async(_0x39c88e,_0x52eb72=null,_0xf199e1=null,_0x521093=![],_0x4dab37=null)=>{const _0x322481=a101_0x59332f,_0x1c1c7a={'GRwjd':function(_0x1bd9ab,_0x3aba52){return _0x1bd9ab&&_0x3aba52;},'hkUMx':function(_0x3e215e,_0x2b6c26,_0x288b5b){return _0x3e215e(_0x2b6c26,_0x288b5b);},'ONASJ':function(_0xf0c149,_0x4075ea){return _0xf0c149===_0x4075ea;},'cBQSl':_0x322481(0x1b3),'BnAkT':function(_0x3a373c,_0x23fafe,_0x3c6131){return _0x3a373c(_0x23fafe,_0x3c6131);},'FvVPd':function(_0x131521,_0x13c1cd){return _0x131521(_0x13c1cd);},'njUYF':function(_0x18b8e9,_0x228953){return _0x18b8e9||_0x228953;},'BjvFz':function(_0x4caf8d,_0x1c8e8a){return _0x4caf8d===_0x1c8e8a;},'LYCYC':_0x322481(0x196),'eIRyV':function(_0x529dae,_0x587550){return _0x529dae!==_0x587550;},'qXTQJ':_0x322481(0x197),'uiTcN':function(_0x24f672,_0x3850ea){return _0x24f672===_0x3850ea;},'dftpC':_0x322481(0x139),'SGWvc':_0x322481(0x158),'txOMq':function(_0x41f51a,_0xf5f7bf){return _0x41f51a===_0xf5f7bf;},'RhgwW':_0x322481(0x1ab),'MuXRC':function(_0x403dde,_0x4348cc){return _0x403dde===_0x4348cc;},'KUxbI':function(_0x9429ff,_0x134949){return _0x9429ff<=_0x134949;},'owDkL':function(_0x557286,_0x41a194){return _0x557286+_0x41a194;},'qLCrF':function(_0x3c417c,_0x4740a4){return _0x3c417c+_0x4740a4;},'pVXIJ':'Unknown\x20error'},{isPlaywright:_0x15988a,type:_0x4a3098}=_0x1c1c7a[_0x322481(0x192)](detectDriverType,_0x39c88e),_0x1cf993=_0x521093?_0x1c1c7a[_0x322481(0xf8)](_0x4dab37,{}):global[_0x322481(0x16b)]||{},_0x4ea5c1=_0x15988a?global['accessibilityPlatform']&&(_0x521093||_0x1c1c7a[_0x322481(0x100)](global[_0x322481(0x197)],!![])):accessibilityHelper[_0x322481(0x13a)]()&&globals[_0x322481(0x194)](_0x1c1c7a[_0x322481(0x17a)])&&(_0x521093||_0x1c1c7a['eIRyV'](globals[_0x322481(0x194)](_0x1c1c7a[_0x322481(0x14e)]),![]));if(!_0x4ea5c1)return _0x15988a&&global[_0x322481(0x14b)]&&_0x1c1c7a[_0x322481(0x100)](global[_0x322481(0x197)],![])||!_0x15988a&&globals[_0x322481(0x194)](_0x1c1c7a[_0x322481(0x17a)])&&_0x1c1c7a['uiTcN'](globals[_0x322481(0x194)](_0x1c1c7a[_0x322481(0x14e)]),![])?logger[_0x322481(0x145)](_0x1c1c7a[_0x322481(0x183)]):logger['warn'](_0x322481(0x18d)+_0x4a3098+_0x322481(0x141)),![];const _0x136783=_0x52eb72||global['browserstackSessionName']||_0x1c1c7a[_0x322481(0x182)];let _0x26d90f=null;const _0x19ed60={'testhub_btcer_uuid':global[_0x322481(0x131)]?.[_0x322481(0x191)]?.['id'],'url':_0x1c1c7a[_0x322481(0xef)](typeof _0x39c88e[_0x322481(0x1bd)],_0x1c1c7a[_0x322481(0x19e)])?await _0x39c88e[_0x322481(0x1bd)]():_0x1c1c7a['txOMq'](typeof _0x39c88e[_0x322481(0x124)],_0x1c1c7a['RhgwW'])?await _0x39c88e[_0x322481(0x124)]():'','automate_session_id':_0x1c1c7a[_0x322481(0x1ba)](typeof _0x39c88e['getSession'],_0x1c1c7a[_0x322481(0x19e)])?(await _0x39c88e['getSession']())[_0x322481(0x181)]():''};for(let _0x39d7b1=0x1;_0x1c1c7a['KUxbI'](_0x39d7b1,_0x1c1c7a[_0x322481(0x156)](RETRY_CONFIG[_0x322481(0xec)],0x1));_0x39d7b1++){try{return logger['debug'](_0x322481(0x18f)+_0x39d7b1+'/'+_0x1c1c7a[_0x322481(0x115)](RETRY_CONFIG[_0x322481(0xec)],0x1)+_0x322481(0xf9)+_0x136783+'\x20('+_0x4a3098+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x322481(0x1b0)],async()=>{const _0x2e647c=_0x322481;let _0x19d1dd;if(_0x1c1c7a[_0x2e647c(0xfd)](_0x15988a,playwrightA11yHelper)){_0x1c1c7a[_0x2e647c(0x122)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2e647c(0x163)](_0x39c88e,RETRY_CONFIG[_0x2e647c(0x112)]);let _0x2cca59=_0x39c88e;_0x1c1c7a[_0x2e647c(0x199)](_0x4a3098,_0x1c1c7a[_0x2e647c(0x19c)])&&(_0x2cca59=_0x39c88e[_0x2e647c(0x152)]);const _0x91fbee=global[_0x2e647c(0x140)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper['resolveMobileThTestRunUuid']()}:{};_0x19d1dd=await _0x1c1c7a['hkUMx'](withTimeout,playwrightA11yHelper[_0x2e647c(0x12c)](_0x2cca59,_0x136783,_0x1cf993,_0x91fbee),RETRY_CONFIG[_0x2e647c(0x112)]),await exports[_0x2e647c(0x163)](_0x39c88e,RETRY_CONFIG[_0x2e647c(0x14c)]);}else await exports['setSeleniumScriptTimeout'](_0x39c88e,RETRY_CONFIG[_0x2e647c(0x112)]),_0x19d1dd=await _0x1c1c7a[_0x2e647c(0x138)](withTimeout,accessibilityHelper[_0x2e647c(0x12c)](_0x39c88e,_0x136783,_0x521093,_0x1cf993),RETRY_CONFIG[_0x2e647c(0x112)]),await exports[_0x2e647c(0x144)](_0x39c88e,RETRY_CONFIG[_0x2e647c(0x14c)]);logger[_0x2e647c(0x145)](_0x2e647c(0x11a)+_0x39d7b1+_0x2e647c(0x168));},{'command':_0x136783,..._0x19ed60})(),logger[_0x322481(0x12e)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x39d7b1+'.'),!![];}catch(_0x59de75){_0x26d90f=_0x59de75,logger[_0x322481(0x145)]('Accessibility\x20scan\x20attempt\x20'+_0x39d7b1+_0x322481(0x190)+_0x136783+'\x20('+_0x4a3098+_0x322481(0x16f)+_0x59de75[_0x322481(0x12f)]);}}return logger[_0x322481(0x16c)](_0x322481(0x14a)+_0x136783+'\x20('+_0x4a3098+')\x20with\x20error:\x20'+(_0x26d90f?.[_0x322481(0x12f)]||_0x1c1c7a[_0x322481(0x11d)])),![];},exports[a101_0x59332f(0x1a2)]=async(_0x1a5ff1,_0x29f493)=>{const _0x20350d=a101_0x59332f,_0x1bea20={'RsgGl':function(_0x349546,_0x5ca39b){return _0x349546(_0x5ca39b);},'GpEcW':'isAccessibilityPlatform','Uxfzd':function(_0x4a9e5e,_0x3ea4a3){return _0x4a9e5e<=_0x3ea4a3;},'aVfLr':function(_0x4b965e,_0x49d063){return _0x4b965e+_0x49d063;},'NstPi':function(_0xc056fe,_0x3ec18c){return _0xc056fe&&_0x3ec18c;},'IsklP':function(_0x1955eb,_0x3f85f3,_0x4b096d){return _0x1955eb(_0x3f85f3,_0x4b096d);},'EHYjc':function(_0x8fbd9d,_0x41c6df,_0x11994a){return _0x8fbd9d(_0x41c6df,_0x11994a);},'uPdiM':function(_0x468162,_0x259eb4,_0x237d32){return _0x468162(_0x259eb4,_0x237d32);},'TLKep':_0x20350d(0x106)},{isPlaywright:_0x385301,type:_0x512a38}=_0x1bea20['RsgGl'](detectDriverType,_0x1a5ff1),_0xad6355=_0x385301?_0x29f493[_0x20350d(0x14b)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x20350d(0x194)](_0x1bea20[_0x20350d(0x164)]);if(!_0xad6355)return logger[_0x20350d(0xfb)](_0x20350d(0x18d)+_0x512a38+_0x20350d(0x1a8)),[];let _0x347066=null;for(let _0x56ca97=0x1;_0x1bea20[_0x20350d(0xf3)](_0x56ca97,_0x1bea20[_0x20350d(0x193)](RETRY_CONFIG['maxRetries'],0x1));_0x56ca97++){try{logger[_0x20350d(0x145)](_0x20350d(0x114)+_0x56ca97+'/'+_0x1bea20[_0x20350d(0x193)](RETRY_CONFIG[_0x20350d(0xec)],0x1)+'\x20('+_0x512a38+')');let _0x4c45c8;return _0x1bea20[_0x20350d(0x1b6)](_0x385301,playwrightA11yHelper)?(_0x1bea20[_0x20350d(0x1a4)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x1a5ff1,RETRY_CONFIG[_0x20350d(0x112)]),_0x4c45c8=await _0x1bea20[_0x20350d(0x103)](withTimeout,playwrightA11yHelper['getAccessibilityResults'](_0x1a5ff1),RETRY_CONFIG[_0x20350d(0x112)]),await exports[_0x20350d(0x163)](_0x1a5ff1,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x20350d(0x144)](_0x1a5ff1,RETRY_CONFIG[_0x20350d(0x112)]),_0x4c45c8=await _0x1bea20[_0x20350d(0x195)](withTimeout,accessibilityHelper[_0x20350d(0x19b)](_0x1a5ff1,_0x29f493),RETRY_CONFIG['timeoutMs']),await exports[_0x20350d(0x144)](_0x1a5ff1,RETRY_CONFIG[_0x20350d(0x14c)])),logger[_0x20350d(0x12e)](_0x20350d(0x13f)+_0x56ca97+'\x20('+_0x512a38+')'),_0x4c45c8;}catch(_0xac26c4){_0x347066=_0xac26c4,logger['warn'](_0x20350d(0x114)+_0x56ca97+_0x20350d(0x13c)+_0x512a38+_0x20350d(0x16f)+_0xac26c4[_0x20350d(0x12f)]);}}return logger[_0x20350d(0x16c)](_0x20350d(0x121)+_0x512a38+').\x20Last\x20error:\x20'+(_0x347066?.[_0x20350d(0x12f)]||_0x1bea20['TLKep'])),[];},exports[a101_0x59332f(0x1a6)]=async(_0x40da4e,_0x42fef7)=>{const _0x4b5362=a101_0x59332f,_0x4aaefb={'ttTKw':function(_0x1e1927,_0x464beb){return _0x1e1927(_0x464beb);},'rDFFm':_0x4b5362(0x196),'HDgkl':function(_0x2d4ec7,_0x275c91){return _0x2d4ec7<=_0x275c91;},'YLYpk':function(_0x3a23c0,_0x20e27c){return _0x3a23c0+_0x20e27c;},'ECfRb':function(_0x437567,_0x2c0631){return _0x437567&&_0x2c0631;},'ityQI':function(_0x33d4ce,_0xd52a5b,_0x35d9be){return _0x33d4ce(_0xd52a5b,_0x35d9be);},'uKurd':function(_0x4a9fcf,_0x2864f8,_0x19e397){return _0x4a9fcf(_0x2864f8,_0x19e397);},'DQeXa':'Unknown\x20error'},{isPlaywright:_0x535f0b,type:_0x119fe1}=_0x4aaefb[_0x4b5362(0xfe)](detectDriverType,_0x40da4e),_0x278dbc=_0x535f0b?_0x42fef7[_0x4b5362(0x14b)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x4b5362(0x194)](_0x4aaefb['rDFFm']);if(!_0x278dbc)return logger['warn'](_0x4b5362(0x18d)+_0x119fe1+_0x4b5362(0x161)),{};let _0x50f4fb=null;for(let _0x425749=0x1;_0x4aaefb[_0x4b5362(0x17e)](_0x425749,_0x4aaefb['YLYpk'](RETRY_CONFIG[_0x4b5362(0xec)],0x1));_0x425749++){try{logger[_0x4b5362(0x145)](_0x4b5362(0x110)+_0x425749+'/'+_0x4aaefb[_0x4b5362(0x17f)](RETRY_CONFIG[_0x4b5362(0xec)],0x1)+'\x20('+_0x119fe1+')');let _0x337ccb;return _0x4aaefb[_0x4b5362(0x101)](_0x535f0b,playwrightA11yHelper)?(_0x4aaefb[_0x4b5362(0x11b)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x40da4e,RETRY_CONFIG[_0x4b5362(0x112)]),_0x337ccb=await _0x4aaefb[_0x4b5362(0x154)](withTimeout,playwrightA11yHelper[_0x4b5362(0x1b1)](_0x40da4e),RETRY_CONFIG[_0x4b5362(0x112)]),await exports[_0x4b5362(0x163)](_0x40da4e,RETRY_CONFIG[_0x4b5362(0x14c)])):(await exports[_0x4b5362(0x144)](_0x40da4e,RETRY_CONFIG['timeoutMs']),_0x337ccb=await _0x4aaefb[_0x4b5362(0x11b)](withTimeout,accessibilityHelper[_0x4b5362(0x1b1)](_0x40da4e,_0x42fef7),RETRY_CONFIG['timeoutMs']),await exports[_0x4b5362(0x144)](_0x40da4e,RETRY_CONFIG[_0x4b5362(0x14c)])),logger[_0x4b5362(0x12e)](_0x4b5362(0x13e)+_0x425749+'\x20('+_0x119fe1+')'),_0x337ccb;}catch(_0x3ed567){_0x50f4fb=_0x3ed567,logger[_0x4b5362(0xfb)](_0x4b5362(0x110)+_0x425749+_0x4b5362(0x13c)+_0x119fe1+_0x4b5362(0x16f)+_0x3ed567['message']);}}return logger[_0x4b5362(0x16c)]('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x119fe1+_0x4b5362(0x1a5)+(_0x50f4fb?.[_0x4b5362(0x12f)]||_0x4aaefb[_0x4b5362(0x148)])),{};},exports[a101_0x59332f(0x15a)]=async(_0x58d588,_0x3085ff,_0x1fb857=null)=>{const _0x950c81=a101_0x59332f,_0x4a7a6d={'QyvQL':function(_0x15e289,_0x14b5a2){return _0x15e289(_0x14b5a2);},'KbjsK':function(_0x3d4268,_0x560eda){return _0x3d4268===_0x560eda;},'atndW':_0x950c81(0x155),'uloGX':function(_0x2c3530,_0x4751fe){return _0x2c3530===_0x4751fe;},'XpehT':function(_0x225804,_0x32826d){return _0x225804===_0x32826d;},'vOFvi':_0x950c81(0x1b5),'ELjuA':_0x950c81(0x19a)},{isPlaywright:_0x314a0c,type:_0x3df518}=_0x4a7a6d[_0x950c81(0x173)](detectDriverType,_0x58d588),_0x4a90d7={};_0x4a90d7[_0x950c81(0x1bf)]=![],_0x4a90d7[_0x950c81(0x12a)]=[],_0x4a90d7[_0x950c81(0x10b)]={},_0x4a90d7[_0x950c81(0x16c)]=null,_0x4a90d7['driverType']=_0x3df518;const _0x163767=_0x4a90d7;try{_0x163767[_0x950c81(0x1bf)]=await exports[_0x950c81(0x185)](_0x58d588,_0x1fb857);if(_0x163767[_0x950c81(0x1bf)]){const [_0x584c6a,_0x4a653a]=await Promise[_0x950c81(0x107)]([exports['getAccessibilityResultsWithRetry'](_0x58d588,_0x3085ff),exports[_0x950c81(0x1a6)](_0x58d588,_0x3085ff)]);_0x163767[_0x950c81(0x12a)]=_0x4a7a6d['KbjsK'](_0x584c6a[_0x950c81(0x159)],_0x4a7a6d[_0x950c81(0x1bc)])?_0x584c6a[_0x950c81(0x1a0)]:[],_0x163767[_0x950c81(0x10b)]=_0x4a7a6d[_0x950c81(0x130)](_0x4a653a[_0x950c81(0x159)],_0x4a7a6d[_0x950c81(0x1bc)])?_0x4a653a[_0x950c81(0x1a0)]:{},_0x4a7a6d[_0x950c81(0x11c)](_0x584c6a[_0x950c81(0x159)],_0x4a7a6d[_0x950c81(0x116)])&&logger[_0x950c81(0xfb)]('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0x3df518+_0x950c81(0x153)+_0x584c6a[_0x950c81(0xf1)]?.[_0x950c81(0x12f)]),_0x4a7a6d['KbjsK'](_0x4a653a['status'],_0x4a7a6d[_0x950c81(0x116)])&&logger[_0x950c81(0xfb)](_0x950c81(0x16d)+_0x3df518+_0x950c81(0x153)+_0x4a653a['reason']?.['message']);}}catch(_0x2696bd){_0x163767['error']=_0x2696bd[_0x950c81(0x12f)]||_0x4a7a6d[_0x950c81(0x13b)],logger[_0x950c81(0x16c)]('Comprehensive\x20accessibility\x20scan\x20failed\x20('+_0x3df518+_0x950c81(0x153)+_0x163767[_0x950c81(0x16c)]);}return _0x163767;},exports[a101_0x59332f(0x120)]=_0x148875=>{const _0x5f089f=a101_0x59332f,_0x3226a5={};_0x3226a5[_0x5f089f(0x12b)]=function(_0x7e6b5e,_0x5c2c47){return _0x7e6b5e!==_0x5c2c47;},_0x3226a5[_0x5f089f(0x177)]=function(_0x515705,_0x28402e){return _0x515705!==_0x28402e;};const _0x58ff9a=_0x3226a5;_0x58ff9a[_0x5f089f(0x12b)](_0x148875[_0x5f089f(0xec)],undefined)&&(RETRY_CONFIG['maxRetries']=Math['max'](0x0,_0x148875[_0x5f089f(0xec)])),_0x58ff9a['sLxBr'](_0x148875[_0x5f089f(0x112)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x5f089f(0x11f)](0x3e8,_0x148875[_0x5f089f(0x112)])),logger['debug']('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x5f089f(0x1b4)](RETRY_CONFIG));},exports[a101_0x59332f(0x1ae)]=()=>{const _0xec1d58={...RETRY_CONFIG};return _0xec1d58;},exports[a101_0x59332f(0x184)]=_0x50810a=>{const _0x4a2a64=a101_0x59332f,_0x3455b8={'NIKuP':function(_0x320fab,_0x37fb8e){return _0x320fab(_0x37fb8e);}};return _0x3455b8[_0x4a2a64(0x180)](detectDriverType,_0x50810a)[_0x4a2a64(0xff)];},exports['isSeleniumDriver']=_0xb0c55e=>{const _0x362b8a=a101_0x59332f,_0x4a21ec={'Uvskk':function(_0x4fbbdb,_0x2fb28d){return _0x4fbbdb(_0x2fb28d);},'OPhlh':function(_0x24b09b,_0x1394fa){return _0x24b09b===_0x1394fa;},'hmGqf':_0x362b8a(0x171)},{isPlaywright:_0x34be97,type:_0x4500dd}=_0x4a21ec[_0x362b8a(0x1ac)](detectDriverType,_0xb0c55e);return!_0x34be97&&_0x4a21ec['OPhlh'](_0x4500dd,_0x4a21ec[_0x362b8a(0x104)]);},exports['setPlaywrightScriptTimeout']=async(_0x139ae2,_0x34c69e=null)=>{const _0x3118b4=a101_0x59332f,_0x8dc62f={'Vwozs':function(_0x350d4e,_0x50522e){return _0x350d4e(_0x50522e);},'KNhxK':function(_0x5ca0e8,_0x198da5){return _0x5ca0e8===_0x198da5;},'LhpKA':_0x3118b4(0x1ab)},{isPlaywright:_0x4654e8,type:_0x3e82dd}=_0x8dc62f[_0x3118b4(0xf4)](detectDriverType,_0x139ae2);if(!_0x4654e8)return logger['debug'](_0x3118b4(0x12d)+_0x3e82dd+_0x3118b4(0x16e)),!![];const _0x4a125e=_0x34c69e||RETRY_CONFIG[_0x3118b4(0x14c)];try{return _0x139ae2&&_0x8dc62f[_0x3118b4(0x129)](typeof _0x139ae2['setDefaultTimeout'],_0x8dc62f[_0x3118b4(0x166)])&&(await _0x139ae2[_0x3118b4(0x167)](_0x4a125e),logger[_0x3118b4(0x145)]('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x4a125e+'ms')),!![];}catch(_0x113b44){return logger[_0x3118b4(0xfb)](_0x3118b4(0x198)+_0x113b44['message']),![];}},exports[a101_0x59332f(0x144)]=async(_0x16c14b,_0xf41599=null)=>{const _0x452e1e=a101_0x59332f,_0x5f0148={};_0x5f0148[_0x452e1e(0x10c)]=_0x452e1e(0x132),_0x5f0148[_0x452e1e(0x1a7)]=function(_0x24035a,_0x2a35c6){return _0x24035a===_0x2a35c6;},_0x5f0148['XtDgB']=_0x452e1e(0x1ab),_0x5f0148['BNugV']=function(_0x5c017b,_0x5e153a){return _0x5c017b===_0x5e153a;},_0x5f0148[_0x452e1e(0x15e)]=function(_0x1b6a57,_0x267c87){return _0x1b6a57===_0x267c87;},_0x5f0148['SFeiC']=_0x452e1e(0x113),_0x5f0148['DOZbm']='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0x6e0842=_0x5f0148;if(!exports[_0x452e1e(0x11e)](_0x16c14b))return logger[_0x452e1e(0xfb)](_0x6e0842['lxAZs']),![];const _0x176628=_0xf41599||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x16c14b&&_0x6e0842[_0x452e1e(0x1a7)](typeof _0x16c14b['manage'],_0x6e0842['XtDgB'])){const _0x2acadc=_0x16c14b['manage']();if(_0x2acadc&&_0x6e0842[_0x452e1e(0x134)](typeof _0x2acadc[_0x452e1e(0x133)],_0x6e0842[_0x452e1e(0x188)]))await _0x2acadc[_0x452e1e(0x133)]()['setScriptTimeout'](_0x176628),logger[_0x452e1e(0x145)](_0x452e1e(0x157)+_0x176628+_0x452e1e(0x10f));else{if(_0x2acadc&&_0x6e0842[_0x452e1e(0x134)](typeof _0x2acadc['setTimeouts'],_0x6e0842['XtDgB'])){const _0xee88d2={};_0xee88d2[_0x452e1e(0x146)]=_0x176628,await _0x2acadc['setTimeouts'](_0xee88d2),logger[_0x452e1e(0x145)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x176628+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x2acadc&&_0x6e0842[_0x452e1e(0x15e)](typeof _0x2acadc[_0x452e1e(0x19d)],_0x6e0842['XtDgB']))await _0x2acadc[_0x452e1e(0x19d)](_0x176628),logger['debug'](_0x452e1e(0x157)+_0x176628+_0x452e1e(0x174));else return logger['debug'](_0x6e0842['SFeiC']),!![];}}}else return logger[_0x452e1e(0x145)](_0x6e0842[_0x452e1e(0x15d)]),!![];return!![];}catch(_0x2fdb6a){return logger[_0x452e1e(0xfb)]('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x2fdb6a[_0x452e1e(0x12f)]),![];}},exports[a101_0x59332f(0x170)]=async(_0x5e9877,_0x1ad72a)=>{const _0x3667f6=a101_0x59332f,_0x4985be={'RfFnG':function(_0x934079,_0x27e67f){return _0x934079(_0x27e67f);},'RUCtb':_0x3667f6(0x196),'GdumF':function(_0x96a2d2,_0x4e8487){return _0x96a2d2<=_0x4e8487;},'VkWDI':function(_0x3da6da,_0x384f4d){return _0x3da6da+_0x384f4d;},'MODPK':function(_0x1af6bb,_0x43c0f1){return _0x1af6bb&&_0x43c0f1;},'AGbSY':function(_0x1d3779,_0x506cf0,_0x2a23c6){return _0x1d3779(_0x506cf0,_0x2a23c6);},'CxInk':_0x3667f6(0x140),'rvJrS':_0x3667f6(0x106)},{isPlaywright:_0x55f2b6,type:_0x510c90}=_0x4985be[_0x3667f6(0x17d)](detectDriverType,_0x5e9877),_0x7f5d69=_0x55f2b6?global[_0x3667f6(0x14b)]:accessibilityHelper[_0x3667f6(0x13a)]()&&globals[_0x3667f6(0x194)](_0x4985be[_0x3667f6(0x128)]);if(!_0x7f5d69)return logger[_0x3667f6(0xfb)](_0x3667f6(0x18d)+_0x510c90+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x580990=null;for(let _0x3e9b75=0x1;_0x4985be[_0x3667f6(0xf2)](_0x3e9b75,_0x4985be[_0x3667f6(0xf0)](RETRY_CONFIG['maxRetries'],0x1));_0x3e9b75++){try{logger[_0x3667f6(0x145)](_0x3667f6(0x175)+_0x3e9b75+'/'+_0x4985be[_0x3667f6(0xf0)](RETRY_CONFIG[_0x3667f6(0xec)],0x1)+'\x20('+_0x510c90+')');if(_0x4985be[_0x3667f6(0x15b)](_0x55f2b6,playwrightA11yHelper)){_0x4985be['AGbSY'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3667f6(0x163)](_0x5e9877,RETRY_CONFIG[_0x3667f6(0x112)]);const _0x479450={};_0x479450[_0x3667f6(0x19f)]=!![];const _0x8ce7b0=global['isMobilePlatform']?Object[_0x3667f6(0x127)]({},_0x1ad72a,_0x479450):_0x1ad72a;await _0x4985be[_0x3667f6(0x1a9)](withTimeout,playwrightA11yHelper[_0x3667f6(0x14f)](_0x5e9877,scripts['saveTestResults'],_0x8ce7b0),RETRY_CONFIG['timeoutMs']),await exports[_0x3667f6(0x163)](_0x5e9877,RETRY_CONFIG['defaultTimeoutMs']);}else{await exports[_0x3667f6(0x144)](_0x5e9877,RETRY_CONFIG[_0x3667f6(0x112)]);const _0x5a0606={};_0x5a0606['is_mobile_session']=!![];const _0x3ed86f=globals[_0x3667f6(0x194)](_0x4985be[_0x3667f6(0x137)])?Object[_0x3667f6(0x127)]({},_0x1ad72a,_0x5a0606):_0x1ad72a;await _0x4985be[_0x3667f6(0x1a9)](withTimeout,_0x5e9877[_0x3667f6(0x1b8)](scripts[_0x3667f6(0x176)],_0x3ed86f),RETRY_CONFIG[_0x3667f6(0x112)]),await exports[_0x3667f6(0x144)](_0x5e9877,RETRY_CONFIG['defaultTimeoutMs']);}return logger['info'](_0x3667f6(0x169)+_0x3e9b75+'\x20('+_0x510c90+')'),!![];}catch(_0x273e0a){_0x580990=_0x273e0a,logger[_0x3667f6(0xfb)](_0x3667f6(0x175)+_0x3e9b75+'\x20failed\x20('+_0x510c90+').\x20Error:\x20'+_0x273e0a[_0x3667f6(0x12f)]);}}return logger[_0x3667f6(0x16c)]('All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20('+_0x510c90+_0x3667f6(0x1a5)+(_0x580990?.[_0x3667f6(0x12f)]||_0x4985be[_0x3667f6(0x18e)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a102_0x3bc898=a102_0x2789;(function(_0x1a4789,_0x5c16ae){var _0x3a4a2a=a102_0x2789,_0xa8990c=_0x1a4789();while(!![]){try{var _0x1f786d=-parseInt(_0x3a4a2a(0x101))/0x1+parseInt(_0x3a4a2a(0x106))/0x2*(parseInt(_0x3a4a2a(0x11b))/0x3)+parseInt(_0x3a4a2a(0xff))/0x4*(parseInt(_0x3a4a2a(0x107))/0x5)+parseInt(_0x3a4a2a(0x116))/0x6+-parseInt(_0x3a4a2a(0x115))/0x7*(parseInt(_0x3a4a2a(0x117))/0x8)+parseInt(_0x3a4a2a(0x118))/0x9+-parseInt(_0x3a4a2a(0x10e))/0xa;if(_0x1f786d===_0x5c16ae)break;else _0xa8990c['push'](_0xa8990c['shift']());}catch(_0x19b5e5){_0xa8990c['push'](_0xa8990c['shift']());}}}(a102_0x16dd,0x930b5),exports['API_URL']=a102_0x3bc898(0x112),exports[a102_0x3bc898(0x113)]='94',exports[a102_0x3bc898(0x10c)]=a102_0x3bc898(0x10a),exports[a102_0x3bc898(0x111)]=a102_0x3bc898(0x10f),exports['MINIMUM_SAFARI_VERSION']=a102_0x3bc898(0x10d));var a102_0x39c5e8={};a102_0x39c5e8['display_name']='Chrome',a102_0x39c5e8['min_version_browserstack']=0x5e,a102_0x39c5e8[a102_0x3bc898(0x103)]=0x64,a102_0x39c5e8[a102_0x3bc898(0x11a)]=!![];function a102_0x16dd(){var _0x23de54=['26186sowhPu','456005lfaRbW','Safari','display_name','100','chrome','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','18.4','1786680EtHCed','141','ChromeForTesting','MINIMUM_CHROMEFORTESTING_VERSION','https://accessibility.browserstack.com/api','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','playwright-chromium','41111LPsxEq','2119194tGEUqI','88MjntEz','1447371LHNBSZ','ACCESSIBILITY_SUPPORTED_BROWSERS','requires_chrome_options_check','141FZnacz','20zYwuFP','safari','739830WznQFV','Chrome','min_version_non_browserstack','min_version_browserstack','chromefortesting'];a102_0x16dd=function(){return _0x23de54;};return a102_0x16dd();}var a102_0x129f52={};a102_0x129f52[a102_0x3bc898(0x109)]=a102_0x3bc898(0x102),a102_0x129f52[a102_0x3bc898(0x104)]=0x5e,a102_0x129f52[a102_0x3bc898(0x103)]=0x64,a102_0x129f52[a102_0x3bc898(0x11a)]=!![];var a102_0x1b54e5={};a102_0x1b54e5['display_name']='Chrome',a102_0x1b54e5[a102_0x3bc898(0x104)]=0x5e,a102_0x1b54e5[a102_0x3bc898(0x103)]=0x64,a102_0x1b54e5[a102_0x3bc898(0x11a)]=!![];var a102_0x3828c3={};a102_0x3828c3[a102_0x3bc898(0x109)]=a102_0x3bc898(0x110),a102_0x3828c3[a102_0x3bc898(0x104)]=0x8d,a102_0x3828c3['min_version_non_browserstack']=0x8d,a102_0x3828c3[a102_0x3bc898(0x11a)]=!![];var a102_0x5d5d25={};function a102_0x2789(_0xd218e1,_0xc555d8){var _0x16ddfd=a102_0x16dd();return a102_0x2789=function(_0x2789ad,_0x12f3e3){_0x2789ad=_0x2789ad-0xff;var _0x1cd0e8=_0x16ddfd[_0x2789ad];return _0x1cd0e8;},a102_0x2789(_0xd218e1,_0xc555d8);}a102_0x5d5d25['display_name']=a102_0x3bc898(0x108),a102_0x5d5d25['min_version_browserstack']=18.4,a102_0x5d5d25[a102_0x3bc898(0x103)]=18.4,a102_0x5d5d25[a102_0x3bc898(0x11a)]=![];var a102_0x5a6eda={};a102_0x5a6eda[a102_0x3bc898(0x10b)]=a102_0x39c5e8,a102_0x5a6eda['chromium']=a102_0x129f52,a102_0x5a6eda[a102_0x3bc898(0x114)]=a102_0x1b54e5,a102_0x5a6eda[a102_0x3bc898(0x105)]=a102_0x3828c3,a102_0x5a6eda[a102_0x3bc898(0x100)]=a102_0x5d5d25,exports[a102_0x3bc898(0x119)]=a102_0x5a6eda;
|