browserstack-node-sdk 1.65.3 → 1.65.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a80_0x2bc712=a80_0x3cd7;(function(_0x47480f,_0x34a33b){const _0x2f65ed=a80_0x3cd7,_0x4e5366=_0x47480f();while(!![]){try{const _0x32411c=-parseInt(_0x2f65ed(0x24b))/0x1*(-parseInt(_0x2f65ed(0x211))/0x2)+parseInt(_0x2f65ed(0x3ea))/0x3+parseInt(_0x2f65ed(0x338))/0x4+parseInt(_0x2f65ed(0x321))/0x5+-parseInt(_0x2f65ed(0x3b9))/0x6+parseInt(_0x2f65ed(0x137))/0x7+-parseInt(_0x2f65ed(0x257))/0x8*(parseInt(_0x2f65ed(0x3f2))/0x9);if(_0x32411c===_0x34a33b)break;else _0x4e5366['push'](_0x4e5366['shift']());}catch(_0x37f98f){_0x4e5366['push'](_0x4e5366['shift']());}}}(a80_0xadf1,0x7a071));const util=require(a80_0x2bc712(0x3c6)),logger=require(a80_0x2bc712(0x30d))['winstonLogger'],helper=require('../../helpers/helper'),puppeteerHelper=require(a80_0x2bc712(0x185)),constants=require('./constants'),BrowserstackCLI=require(a80_0x2bc712(0x209)),AutomationFrameworkState=require(a80_0x2bc712(0x147)),HookState=require('../v2/state/hookState'),AutomationFramework=require(a80_0x2bc712(0x17e)),PlaywrightDriverModule=require('../v2/modules/playwrightDriverModule'),PuppeteerDriverModule=require(a80_0x2bc712(0x303)),{isFalse}=require(a80_0x2bc712(0x252)),{FRAMEWORKS}=require(a80_0x2bc712(0x2e1)),PerformanceTester=require('../../helpers/performance/performance-tester'),{O11y_EVENTS:PerformanceO11yEvents}=require(a80_0x2bc712(0x300)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),JestUtils=require(a80_0x2bc712(0x167));function a80_0xadf1(){const _0x2408a1=['now','voXlg','MEwUu','SBnaO','isRunning','[PuppeteerPatcher]\x20Replaced\x20browserWSEndpoint\x20with\x20BrowserStack\x20URL','TUsGO','hook_run_uuid','KEY_PAGE_OBJECT','uSeDi','/automate/sessions/','capability','_onMessage','addStyleTag','bUKvT','[PuppeteerPatcher]\x20Auto-scan\x20skip:\x20element-level\x20command\x20','Gepin','markBrowserCloseRequested',',\x20reason=\x22','[PuppeteerPatcher]\x20getAccessibilityResultsSummary\x20called\x20but\x20AccessibilityModule\x20not\x20available','iHXRM','keyboard_up','getTestFramework','PabBt','WRAP-BEFORE\x20cmd=','[SDK-Q1]\x20PATCH_PAGE_ENTRY\x20hasPage=','[SDK-P1]\x20PATCH_A11Y_ENTRY\x20hasPage=','[PuppeteerPatcher]\x20Checking\x20if\x20running\x20against\x20BrowserStack\x20infrastructure\x20or\x20URL:\x20','[PuppeteerPatcher]\x20Error\x20clearing\x20page\x20from\x20AF:\x20','wasCloseRequested','kpaBN','_bstackClosePatchApplied','[SDK-Q0]\x20PATCH_PAGE_SKIP_NON_USER_PAGE\x20url=','TbPbC','ms\x20—\x20internal\x20scan\x20still\x20in-flight','YXysA','format','getTestIdentifier','[PuppeteerPatcher]\x20markSessionOnBrowserStack:\x20No\x20open\x20page\x20and\x20temp-page\x20open\x20failed\x20for\x20all\x20','[PuppeteerPatcher]\x20Deferred\x20page\x20close\x20completed','taQVp','wwuup','\x20method=','API-BEFORE\x20api=getAccessibilityResultsSummary','[PuppeteerPatcher]\x20Error\x20marking\x20session\x20status\x20via\x20executor:\x20','nqsJK','not-array','FlnzH','number','getAutomationFramework','mouse.drag','[PuppeteerPatcher]\x20markSessionOnBrowserStack:\x20opened\x20temp\x20page\x20for\x20executor\x20(all\x20user\x20pages\x20closed)','__bstackSessionId','authToken','markPageCloseRequested','[PuppeteerPatcher]\x20Auto-scan\x20skip:\x20low-level\x20input\x20primitive\x20','bPtSk','kdslQ','pKxoA','\x20has\x20no\x20connect()\x20method,\x20cannot\x20patch','values','EMtjK','from','UnLZx','[PuppeteerPatcher]\x20Error\x20in\x20event\x20system\x20session\x20handling:\x20','EPrnN','[SDK-R9]\x20PATCH_BROWSER_CAUGHT_ERROR\x20err=\x22','ISUEr','KEY_TEST_ID','testInfo','\x20cdpUrl_fp=','liTnm','MQSaU','[PuppeteerPatcher]\x20Auto-scan\x20skip\x20for\x20','SIGINT','[PuppeteerPatcher]\x20Error\x20in\x20safety\x20timeout\x20execution:\x20','FqkJz','platformCaps','QlAWU','krnjp','browsers','path','Qwkjf','CEKnX','touchscreen.tap','[PuppeteerPatcher]\x20Could\x20not\x20get\x20initial\x20pages\x20for\x20local\x20browser:\x20','GOusP','lbEXy','$$eval','OYmuX','slcKE','isBrowserstackInfra','Session\x20closed','string','ovNMN','processPageScreenshot:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20Jest+Puppeteer\x20screenshot\x20log','connect','clear','\x20|\x20','[PuppeteerPatcher]\x20No\x20configuration\x20provided,\x20skipping','eDgXj','[PuppeteerPatcher]\x20Auto-scan\x20wrapped\x20','getTrackedInstance','defaultViewport','fLLxQ','[PuppeteerPatcher]\x20CREATE\x20POST\x20event\x20completed\x20for\x20connect()','timedOut','pages','tkvnw','mouse_click','\x20BROWSERSTACK_TEST_ACCESSIBILITY_YML=\x22','server','1370388cVdEOd','Connection','bind','xamng','kgSjB','POST','\x22\x20stack=\x22','[PuppeteerPatcher]\x20Error\x20patching\x20targetcreated\x20page:\x20','SKSaa','gNykd','oShXy','max','bStackParams','util','info','fbMkV','arguments','OcRYD','unknown\x20method','turboScaleUrl','Lbihi','vMRQT','sessionId','resolveInstance','SXCid','command','bstackPerformA11yScan','AkRfd','lwIiz','[PuppeteerPatcher]\x20CREATE\x20PRE\x20event\x20fired,\x20received\x20global.__launchCaps:\x20','replace','length','\x20for\x20','TSdpB','o11ySyncDone','find','keyboard.up','jcckC','[PuppeteerPatcher]\x20Patching\x20','[PuppeteerPatcher]\x20Completed\x20execution\x20of\x20all\x20deferred\x20close\x20operations','object','forceClose:\x20','dwEqD','[PuppeteerPatcher]\x20Error\x20in\x20CREATE\x20POST\x20event:\x20','args','sEbsL','BJHBf','NxtDM','Xukbi','704739sASExW','testContext','NVEpO','PRE','rHbct','Execution\x20context\x20was\x20destroyed','platformDetails','OVVXu','36osAioq','[PuppeteerPatcher]\x20_patchedLaunch\x20called\x20(options\x20keys:\x20[','[PuppeteerPatcher]\x20Built\x20CDP\x20URL\x20len=','startsWith','uLZIJ','testFramework','createIncognitoBrowserContext','addMultipleEntries','[PuppeteerPatcher]\x20Error\x20patching\x20context\x20pages\x20(async):\x20','userName','\x20(major\x20version:\x20','<no-url>','[PuppeteerPatcher]\x20Error\x20in\x20CREATE\x20PRE\x20event:\x20','oWmdt','kUEKF','bFtSz','vLUwt','delete','[SDK-P2]\x20PATCH_A11Y_GATES\x20isA11ySession=',':jest-<hash>','[SDK-R2]\x20BROWSER_NEWPAGE_INTERCEPTED','getAccessibilityResultsSummary','PINDl','cufyP',']\x20from\x20global.jestConfig:\x20','\x20assertion(s)\x20failed','\x22\x20full=','DRQez','fnkYt','[PuppeteerPatcher]\x20CLI\x20not\x20fully\x20bootstrapped\x20yet,\x20waiting...','gPfWd','setSessionName','Pages\x20tracked:\x20','rzhHt','[PuppeteerPatcher]\x20Patched\x20page\x20from\x20targetcreated\x20event','bstackExec','ujYqQ','__launchCaps','stringify','markSessionStatus','RpKSN','tYMtm','UtOLE','_bstackScreenshotPatchApplied','\x20version:\x20','BROWSERSTACK_USERNAME','_bstackTestName','KHgkF','buildCdpEndpointUrl','AyrbB','qLaXN','EZRlL','__bstackSetSessionStatusFromBinary','kWghh','GJjST','Unknown','GZYQq','createBrowserContext','PRzOU','UoMOY','[PuppeteerPatcher]\x20Applied\x20screenshot\x20patch\x20to\x20Page.prototype','lcHXv','[PuppeteerPatcher]\x20Parsed\x20capabilities\x20from\x20options:\x20','race','pQSxn','null','\x20||\x20','processPageScreenshot:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Puppeteer,\x20skipping\x20screenshot\x20event.\x20This\x20may\x20occur\x20if\x20screenshot\x20is\x20taken\x20outside\x20test\x20context.','[PuppeteerPatcher]\x20Could\x20not\x20get\x20browser\x20version:\x20','__bstackSetSessionNameFromBinary','aQLzB','\x20loaded\x20but\x20is\x20null/undefined','qZcON','mouse.wheel','[PuppeteerPatcher]\x20Could\x20not\x20find\x20Connection\x20class','WqOcd','[SDK-Q9]\x20PATCH_PAGE_CAUGHT_ERROR\x20err=\x22','get','UBeJb','KEY_SESSION_ID','iGEJt','xwnlw','[PuppeteerPatcher]\x20Error\x20in\x20screenshot\x20interception:\x20','undefined','options','[PuppeteerPatcher]\x20Error\x20patching\x20browser\x20close:\x20','split','error','\x20for\x20session\x20ID\x20extraction','NHtdZ','yKWzK','hubUrl','DRQYa','executeBrowserClose','[PuppeteerPatcher]\x20context.newPage()\x20intercepted','keyboard_type','QzLdS','username','aZapD','tSSCe','mBDfN','VRzVc','jMdae','hookUUID','evaluate','357231vsIJGm','JEST','DBrEk','platformName','\x20not\x20a\x20function\x20on\x20page','\x20cliRunning=','mouse_wheel','\x20queryString_len=','[PuppeteerPatcher]\x20Safe\x20evaluate\x20error:\x20','[PuppeteerPatcher]\x20Applied\x20close\x20patch\x20to\x20browser','DQyUZ','nyDrd','[PuppeteerPatcher]\x20Error\x20parsing\x20capabilities\x20from\x20wsEndpoint:\x20','EDtdB','oWGjg','devtools://','../v2/state/automationFrameworkState','\x20cliEnabled=','yCugo','RhxsN','QsDQU','[PuppeteerPatcher]\x20Using\x20capability\x20from\x20global.jestConfig:\x20','SODDc',',\x20skipping\x20screenshot\x20event.\x20Expected\x20format:\x20','chrome-devtools:','[PuppeteerPatcher]\x20Successfully\x20patched\x20','[PuppeteerPatcher]\x20Context\x20patched','[PuppeteerPatcher]\x20Page\x20close\x20requested\x20and\x20deferred','[PuppeteerPatcher]\x20Error\x20initializing\x20patching:\x20','mouse.down','[PuppeteerPatcher]\x20Could\x20not\x20build\x20CDP\x20URL,\x20using\x20original\x20connect','[PuppeteerPatcher]\x20Browser\x20close\x20requested\x20and\x20deferred','.\x20Existing\x20logs\x20count:\x20','processPageScreenshot:\x20Invalid\x20testIdentifier\x20format:\x20','wlyNr','generatePuppeteerUrl','common','slice','jOnIg','[PuppeteerPatcher]\x20Error\x20in\x20patchedLaunch,\x20falling\x20back\x20to\x20original:\x20','qwJci','FtZAw','hex','[PuppeteerPatcher]\x20REST\x20setSessionStatus\x20skipped:\x20no\x20creds','\x20mfDetached=','RtWef','[PuppeteerPatcher]\x20Error\x20patching\x20page\x20close:\x20','YNdhe','../v2/utils/jest-utils','CmVpL','getInstance','FWEvF','[PuppeteerPatcher]\x20Auto-scan:\x20','[PuppeteerPatcher]\x20Error\x20patching\x20page\x20screenshot:\x20','[PuppeteerPatcher]\x20Injecting\x20BrowserStack\x20CDP\x20URL\x20into\x20connect()\x20','XEOKz','zkhQQ','samLn','\x20→\x20command=','HbUGw','browser_version','[PuppeteerPatcher]\x20Registered\x20targetcreated\x20listener\x20for\x20page\x20patching','resolve','EXECUTE','[SDK-R3]\x20BROWSER_NEWPAGE_GOT_PAGE\x20hasPage=','isBrowserStackEndpoint','QMDIt','closeTracker','password','UKydd','puppeteer-core/package.json','../v2/framework/automationFramework','\x22,\x20process._bstackTestName=\x22','processPageScreenshot','hYiVR','function','[PuppeteerPatcher]\x20performScan\x20result=','TEST','../../helpers/puppeteer-helper','browser','dirname','KkblM','originalClose','screenshot','errors','IZkHg','rmULy','_bstackBrowserClosePatchApplied','[PuppeteerPatcher]\x20performScan\x20error:\x20','[PuppeteerPatcher]\x20Parsed\x20host\x20from\x20wsEndpoint:\x20','exit','[PuppeteerPatcher]\x20Error\x20in\x20deferred\x20page\x20close:\x20','\x22\x20PID=','IbbzW','labDg','call','xnKyu','DIrjp','caps','UjGnJ','[PuppeteerPatcher]\x20getAccessibilityResults\x20returned\x20count=','toISOString','JlzwT','browserstackTestName','setLastTestInfo','slowMo','digest','Wlcjr','failed','[PuppeteerPatcher]\x20Page\x20close\x20was\x20requested,\x20clearing\x20page\x20references','[PuppeteerPatcher]\x20REST\x20setSessionName\x20skipped:\x20Binary\x20already\x20owns\x20it','[PuppeteerPatcher]\x20Error\x20in\x20afterTestHook:\x20','numFailingAsserts','status','Koqwg','gmpOy','__bstackPlatformIndex','catch','[PuppeteerPatcher]\x20Connection.prototype\x20has\x20no\x20','vjIIx','[PuppeteerPatcher]\x20Patched\x20Connection.prototype.','BQIpb','[PuppeteerPatcher]\x20Built\x20CDP\x20endpoint\x20URL:\x20','go_forward','[PuppeteerPatcher]\x20REST\x20setSessionStatus\x20skipped:\x20Binary\x20already\x20owns\x20it','__workerDetails','TVLaA','DGFQK','[PuppeteerPatcher]\x20Error\x20in\x20patchedConnect:\x20','zRPHF','[PuppeteerPatcher]\x20REST\x20setSessionName\x20skipped:\x20no\x20creds','GiUbu','TRpLp','keys','ScMFM','ZSQtP','keyboard_send_character','TMfIV','./constants','AqLOA','browserstack_executor:\x20','EpsEI','__bstackPlatformDetails','jestConfig','parse','setState','xGAHN','BXXqc','[PuppeteerPatcher]\x20Puppeteer\x20patching\x20initialized\x20(module:\x20','aocss','failureMessage','statusCode','UDxCk','zvseb','has','forEach','nINQJ','ZKJKV','add_script_tag','keyboard_','xgMYE','[PuppeteerPatcher]\x20CREATE\x20PRE\x20event\x20completed,\x20platformIndex=','currentTest','LuSNO','lib','xYcPc','getName','getAccessibilityModule','HgeVe','pngfu','timestamp','dtsGJ','<targets-err:','title','BSTACK_URL','[PuppeteerPatcher]\x20REST\x20setSessionName\x20failed:\x20','mainFrame','\x20→\x20','join','getAccessibilityResults','Kykfl','json','testAnalyticsId','[PuppeteerPatcher]\x20Error\x20calling\x20context.pages():\x20','gDqrR','Dwoht','YLIJd','[PuppeteerPatcher]\x20Executing\x20','[PuppeteerPatcher]\x20Error\x20storing\x20session\x20details\x20in\x20AF\x20state:\x20','[PuppeteerPatcher]\x20browser.createBrowserContext()\x20intercepted','protocolTimeout','timedout','[PuppeteerPatcher]\x20REST\x20setSessionName\x20HTTP\x20','IpGNs','__test_failure_reason','[PuppeteerPatcher]\x20Error\x20in\x20CREATE\x20POST\x20event\x20for\x20local\x20browser:\x20','qwcCl','.json','rbuxi','[PuppeteerPatcher]\x20context.close()\x20intercepted\x20—\x20delegating','sendkeys','[SDK-P9]\x20PATCH_A11Y_CAUGHT_ERROR\x20err=\x22','[PuppeteerPatcher]\x20Error\x20in\x20beforeTestHook:\x20','MxiTc','FdaaT','pwPage',')\x20HTTP\x20','close',',\x20Browsers\x20tracked:\x20','[PuppeteerPatcher]\x20Page\x20is\x20null/undefined,\x20not\x20available','../v2/browserstackCLI','[SDK-P4]\x20PATCH_A11Y_SKIP_CLI_NOT_RUNNING\x20—\x20BrowserstackCLI.isRunning()\x20returned\x20false\x20(likely\x20CLI\x20bootstrap\x20failed,\x20running\x20in\x20direct\x20flow)','[PuppeteerPatcher]\x20Could\x20not\x20build\x20CDP\x20URL\x20—\x20check\x20browserstack.yml\x20platforms\x20config','browserstack.accessibilityOptions.authToken','JWAmi','[PuppeteerPatcher]\x20getAccessibilityResults\x20error:\x20','browserName','cjs','8cZsaEr','mouse_','uxQbe','SrMKZ','Test\x20failed','ieKLh','VDgcU','Unknown\x20Test','commandsToWrap','processPageScreenshot:\x20Screenshot\x20taken\x20during\x20hook\x20-\x20hookUUID=','dpgtp','VlJMf','rMzpu','OJbQW','version','AzRpv','evaluate_handle','PLTCI','lRspy','[PuppeteerPatcher]\x20Extracted\x20sessionId\x20from\x20CDP:\x20','IgxKp','[PuppeteerPatcher]\x20CLI\x20bootstrapped\x20after\x20wait:\x20','[PuppeteerPatcher]\x20browserstackAutomation:\x20false\x20—\x20launching\x20locally,\x20skipping\x20BrowserStack\x20CDP','rDzGL','[PuppeteerPatcher]\x20Received\x20bStackParams:\x20sessionId=','Connection\x20closed','NrBuC','Target\x20closed','KEY_PLATFORM_DETAILS','[PuppeteerPatcher]\x20browser.close()\x20intercepted\x20and\x20deferred','[PuppeteerPatcher]\x20Error\x20marking\x20session\x20name\x20via\x20executor:\x20','beforeTestHook','browserWSEndpoint','pid','\x22,\x20status=\x22','FZXFR','processPageScreenshot:\x20Stored\x20screenshot\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier:\x20','scKhw','\x20tType=','XPLOn','\x20cliBootstrapped=','reason','[PuppeteerPatcher]\x20Applied\x20screenshot\x20patch\x20to\x20','tunsw','_bstackTestStatus','[SDK-R5]\x20PATCH_BROWSER_NEWPAGE_HOOK_INSTALLED','[PuppeteerPatcher]\x20Executing\x20before\x20test\x20hook','MmckD','[PuppeteerPatcher]\x20getAccessibilityResultsSummary\x20returned\x20','mouse.drop','ztgLx','bsParams','BERBr','[PuppeteerPatcher]\x20','YKIXP','NZAXI','[PuppeteerPatcher]\x20Error\x20patching\x20context:\x20','[PuppeteerPatcher]\x20Page\x20close\x20deferred,\x20still\x20available\x20for\x20session\x20ops','84764BPNQPj','passed','EobbU','rczig','[PuppeteerPatcher]\x20Error\x20eagerly\x20patching\x20existing\x20pages:\x20','url','[PuppeteerPatcher]\x20Built\x20CDP\x20endpoint\x20URL\x20(length:\x20','../../helpers/helper','ZUxds','RHRHd','xUGqN','Zwoyr','1148560zgDTfi','IAgii','KUNBq','assign','processPageScreenshot:\x20Screenshot\x20taken\x20during\x20hook\x20(from\x20activeHooks)\x20-\x20hookUUID=','platformVersion','kxPUL','isBootstrapped','oRZUU','\x20tracked\x20browser(s);\x20falling\x20through\x20to\x20REST\x20fallback\x20for\x20session\x20name/status','ZSsqG','JLrfb','\x20(major:\x20','[PuppeteerPatcher]\x20Could\x20not\x20get\x20initial\x20pages:\x20','[PuppeteerPatcher]\x20Executing\x20deferred\x20page\x20close','newPage','aekjq','closeRequested','[PuppeteerPatcher]\x20page.close()\x20intercepted\x20and\x20deferred','crypto','jnqcO','puppeteer-core','QsNge','hostname','[PuppeteerPatcher]\x20Safe\x20evaluate\x20-\x20session\x20dead:\x20','dRNQj','BS_A11Y_JWT','QkzFy','nhEPb','KJHho','query_selector_all_eval',',\x20ID:\x20','ETEcc','\x20fp=','[PuppeteerPatcher]\x20Error\x20getting\x20page\x20from\x20AutomationFramework:\x20','_bstackA11yPatchApplied','xbQjz','\x20(not\x20on\x20Page)','gPbhH','API-BEFORE\x20api=performScan','IvnJf','keyboard_down','CREATE','capabilities','keyboard.type','workerInfo','[PuppeteerPatcher.cmdCtx]\x20','[PuppeteerPatcher]\x20screenshot\x20not\x20found\x20on\x20Page\x20prototype,\x20skipping\x20screenshot\x20patch','[PuppeteerPatcher]\x20Neither\x20puppeteer\x20nor\x20puppeteer-core\x20could\x20be\x20patched','\x20(cmd=','isBrowserstackUrl','includes','_bstackPatchApplied','[PuppeteerPatcher]\x20browser.createIncognitoBrowserContext()\x20intercepted','isCliEnabled','../v2/state/testFrameworkState','[PuppeteerPatcher]\x20A11y\x20auto-scan\x20EXECUTE\x20PRE\x20fired\x20for\x20','nQEDT','sha256','name','KfgTC','hJXNx','[PuppeteerPatcher]\x20_patchedLaunch\x20full\x20options:\x20','[PuppeteerPatcher]\x20Error\x20in\x20markSessionOnBrowserStack:\x20','[PuppeteerPatcher]\x20Using\x20capabilities[','[PuppeteerPatcher]\x20Connection\x20class\x20is\x20null','GggYd','searchParams','[PuppeteerPatcher]\x20Processing\x20command\x20for\x20auto-scan\x20wrapping:\x20','nCPNS','[PuppeteerPatcher]\x20Accessibility\x20patch\x20applied\x20to\x20page\x20(manual\x20API\x20+\x20auto-scan)','[PuppeteerPatcher]\x20REST\x20setSessionStatus(','sZjGm','qpNzO','QWrGd','_bstackMsgCount','goForward','bpYlQ','stack','set','keyboard.sendCharacter','[PuppeteerPatcher]\x20Injected\x20accessibility\x20manual\x20API\x20onto\x20page','mvczp','got','message','DLiBp','vwjxt','OauAE','isClosed','__accessibilityOptions','processPageScreenshot:\x20Error\x20storing\x20screenshot\x20log\x20event:\x20','performScan','dEyZo','BROWSERSTACK_TEST_ACCESSIBILITY_YML','keyboard_press','isArray','Tdryw','update',',\x20capabilities:\x20','trackEvent','launch','apply','kGjPx','getConfig','[PuppeteerPatcher]\x20Error\x20building\x20CDP\x20URL:\x20','pLavM','Axplx','method','[PuppeteerPatcher]\x20Waiting\x203s\x20for\x20session\x20status\x20propagation','DIXNS','lvscd','SLgTN','onMessage','ymPwv','EWFjM','\x20already_patched=','prototype','kvLNk','\x20keys=[','Protocol\x20error','bAzbR','TEST_SCREENSHOT','EGtOl','set_content','browserVersion','[SDK-R8]\x20PATCH_BROWSER_DONE\x20newPage_wrapped=','Browser\x20close\x20timeout\x20(10s)','a11yScan','[PuppeteerPatcher]\x20markSessionOnBrowserStack:\x20testName=\x22','nRJpj','isPageFixture','chrome-extension://','NyHqB','accessKey','__currentTestInfo','__platformCaps',')\x20threw:\x20','[PuppeteerPatcher]\x20page.','../../helpers/test-observability/constants','currentHook','type','rcxYX','[PuppeteerPatcher]\x20REST\x20setSessionStatus\x20skipped:\x20no\x20__bstackSessionId','nnAZi','jBcfa','getPrototypeOf','UqWpp','accessibilityOptions','XreRm','vBfWo','mouse_down','aWdfV','target','oSWxU','\x20pgUrl=','\x20deferred\x20browser\x20closes','okZGR','TAKE_SCREENSHOT','[PuppeteerPatcher]\x20bstackExec\x20error:\x20','[PuppeteerPatcher]\x20browser.pages()\x20overridden\x20to\x20patch\x20returned\x20pages','KcYPr','commandName','EtRTP','\x20hasCapsInQuery=','go_back','launchCaps','[PuppeteerPatcher]\x20Page\x20close\x20NOT\x20requested,\x20preserving\x20page\x20for\x20next\x20test','[PuppeteerPatcher]\x20REST\x20setSessionStatus\x20HTTP\x20','VtVjQ','../../helpers/performance/constants','initializePuppeteerPatching','getActiveHook','../v2/modules/puppeteerDriverModule','[PuppeteerPatcher]\x20Page\x20closed\x20status:\x20','aRQbv','JEST_WORKER_ID','XVVkm','JBWoM','getAllData','$eval','\x22\x20error_stack=\x22','\x20pre-existing\x20page(s)','../../helpers/logger','env','touchscreen_','request','gqpuO','main','createHash','debug','jOCKp','SIGTERM','HChHM','page','safetyTimeouts','PREFIX','setContent','[SDK-Q2]\x20PATCH_PAGE_DONE\x20hasPerformScan=','size','[PuppeteerPatcher]\x20No\x20capabilities\x20from\x20CREATE\x20PRE,\x20trying\x20global.jestConfig\x20fallback','QWhDT','__jestCurrentTestIdentifier','98605nqiiaV','HSXJb','puppeteer','JyRYr','action','[PuppeteerPatcher]\x20puppeteer.connect()\x20full\x20options:\x20','os_version','[PuppeteerPatcher]\x20Applied\x20close\x20patch\x20to\x20page','cdp','duQns','jCnKx','\x20method','GDUZf','QjvHi','responseType','setSessionStatus','[PuppeteerPatcher]\x20Auto-scan\x20skip:\x20','[PuppeteerPatcher]\x20Marked\x20session\x20status:\x20','AjGYt','VhspY','params','pCjJv','aWwSf','2631120nqIwCJ','toString','amKHd','JNGqx','zQRhQ','ULNoi','substring','sFpOs','tHmPs','QujBZ','LhzHK','\x20hasGetResults=','[PuppeteerPatcher]\x20Could\x20not\x20open\x20temp\x20page\x20for\x20executor:\x20','warn','isDetached','getState','eFxOT'];a80_0xadf1=function(){return _0x2408a1;};return a80_0xadf1();}let storedConfiguration=null,detectedModuleName=null;const _CRED_KEY_PATTERN=/^(browserstack\.user|browserstack\.key|browserstack\.accessKey|authToken|.*[Aa]uthToken|accessKey|accessKey_)$/,_redactOptionsForLog=(_0xe5b55c,_0x1c46eb)=>{const _0x42dd51=a80_0x2bc712,_0x5e55d8={};_0x5e55d8['ovNMN']=function(_0x57c5c0,_0x4308b5){return _0x57c5c0===_0x4308b5;},_0x5e55d8[_0x42dd51(0x144)]=_0x42dd51(0x3a6),_0x5e55d8['kTrIG']='[REDACTED]',_0x5e55d8[_0x42dd51(0x14d)]=function(_0x4e218f,_0x377a85){return _0x4e218f===_0x377a85;},_0x5e55d8[_0x42dd51(0x32b)]=_0x42dd51(0x231),_0x5e55d8[_0x42dd51(0x27b)]=function(_0x3b9bad,_0x3afa23){return _0x3b9bad===_0x3afa23;},_0x5e55d8['aocss']=function(_0x53de46,_0x5391a8){return _0x53de46>=_0x5391a8;},_0x5e55d8['TRpLp']=function(_0x577971,_0x18fda3){return _0x577971-_0x18fda3;},_0x5e55d8[_0x42dd51(0x2ee)]=function(_0x4904fd,_0x2cc329){return _0x4904fd-_0x2cc329;};const _0x57c835=_0x5e55d8;if(_0x57c835[_0x42dd51(0x3a7)](typeof _0xe5b55c,_0x57c835[_0x42dd51(0x144)])&&_CRED_KEY_PATTERN['test'](_0xe5b55c))return _0x57c835['kTrIG'];if(_0x57c835['SODDc'](_0xe5b55c,_0x57c835[_0x42dd51(0x32b)])&&_0x57c835['xbQjz'](typeof _0x1c46eb,_0x57c835[_0x42dd51(0x144)])){const _0x565dd4=_0x1c46eb['indexOf']('?');return _0x57c835[_0x42dd51(0x1cc)](_0x565dd4,0x0)?_0x1c46eb['slice'](0x0,_0x565dd4)+'?[REDACTED_QUERY\x20len='+_0x57c835[_0x42dd51(0x1bb)](_0x57c835['aWdfV'](_0x1c46eb[_0x42dd51(0x3d8)],_0x565dd4),0x1)+']':_0x1c46eb;}return _0x1c46eb;},_logA11yCmdContext=async(_0x53f82b,_0x17559b)=>{const _0x18c810=a80_0x2bc712,_0x645db4={};_0x645db4[_0x18c810(0x248)]=_0x18c810(0x3fd),_0x645db4[_0x18c810(0x33d)]=function(_0x16997e,_0x25b44f){return _0x16997e&&_0x25b44f;},_0x645db4['xcAUp']=function(_0x359622,_0x2a1c73){return _0x359622===_0x2a1c73;},_0x645db4[_0x18c810(0x381)]='YES',_0x645db4[_0x18c810(0x1aa)]=_0x18c810(0x31a),_0x645db4[_0x18c810(0x24e)]='<none>',_0x645db4[_0x18c810(0x119)]=_0x18c810(0x110);const _0x34588c=_0x645db4;try{const _0x25b010=_0x53f82b&&_0x53f82b[_0x18c810(0x2ef)]&&_0x53f82b[_0x18c810(0x2ef)](),_0x1ead6b=_0x25b010&&_0x25b010[_0x18c810(0x2e3)]&&_0x25b010['type'](),_0x148254=_0x25b010&&_0x25b010[_0x18c810(0x250)]&&_0x25b010[_0x18c810(0x250)](),_0x20886f=_0x53f82b&&_0x53f82b[_0x18c810(0x250)]&&_0x53f82b[_0x18c810(0x250)]()||_0x34588c['NZAXI'],_0x32a698=_0x53f82b&&_0x53f82b['mainFrame']&&_0x53f82b[_0x18c810(0x1e7)]()[_0x18c810(0x346)]&&_0x53f82b[_0x18c810(0x1e7)]()[_0x18c810(0x346)]();let _0x2afcfe='NO';if(_0x25b010)try{if(_0x34588c[_0x18c810(0x33d)](_0x148254,_0x20886f)&&_0x34588c['xcAUp'](_0x148254,_0x20886f))_0x2afcfe=_0x34588c[_0x18c810(0x381)];else _0x34588c[_0x18c810(0x33d)](_0x148254,_0x20886f)&&_0x20886f[_0x18c810(0x3f5)](_0x148254)&&(_0x2afcfe=_0x34588c['gmpOy']);}catch(_0xf19725){}let _0x22e108=_0x34588c['rczig'];try{if(_0x53f82b&&_0x53f82b[_0x18c810(0x186)]){const _0x4389ce=_0x53f82b[_0x18c810(0x186)]()['targets']();_0x22e108=_0x4389ce['map']((_0x409830,_0x112301)=>_0x112301+':'+_0x409830['type']()+':'+(_0x409830[_0x18c810(0x250)]()||'')['substring'](0x0,0x46)[_0x18c810(0x3d7)](/\s+/g,'\x20'))[_0x18c810(0x1e9)](_0x34588c[_0x18c810(0x119)]);}}catch(_0x3d657d){_0x22e108=_0x18c810(0x1e3)+_0x3d657d['message']+'>';}logger[_0x18c810(0x314)](_0x18c810(0x285)+_0x17559b+_0x18c810(0x237)+_0x1ead6b+'\x20tUrl='+_0x148254+_0x18c810(0x2f1)+_0x20886f+'\x20match='+_0x2afcfe+_0x18c810(0x163)+_0x32a698+'\x20allTargets=['+_0x22e108+']');}catch(_0xb18825){try{logger[_0x18c810(0x314)](_0x18c810(0x285)+_0x17559b+'\x20err='+_0xb18825['message']);}catch(_0x536e24){}}};function a80_0x3cd7(_0x1617fb,_0x5bcecc){const _0xadf1ee=a80_0xadf1();return a80_0x3cd7=function(_0x3cd75a,_0x1c06f4){_0x3cd75a=_0x3cd75a-0xde;let _0x4d3205=_0xadf1ee[_0x3cd75a];return _0x4d3205;},a80_0x3cd7(_0x1617fb,_0x5bcecc);}let _lastTestName=null,_lastTestStatus=null,_lastTestFailureReason=null;const getWorkerDetails=()=>{const _0x2bbb76=a80_0x2bc712,_0x5b50b7={};return _0x5b50b7[_0x2bbb76(0x284)]=undefined,_0x5b50b7[_0x2bbb76(0x1d9)]={},_0x5b50b7[_0x2bbb76(0x3db)]=![],_0x5b50b7[_0x2bbb76(0x204)]=null,_0x5b50b7[_0x2bbb76(0x2d9)]=![],_0x5b50b7[_0x2bbb76(0x1d9)]['id']=undefined,_0x5b50b7[_0x2bbb76(0x1d9)][_0x2bbb76(0x38e)]=undefined,global[_0x2bbb76(0x1b4)]||_0x5b50b7;},setLastTestInfo=(_0x573ee5,_0x55d174,_0x32c569)=>{const _0x3c1c52=a80_0x2bc712,_0x571dac={};_0x571dac[_0x3c1c52(0x14a)]=function(_0x5ee321,_0x15f10e){return _0x5ee321!==_0x15f10e;};const _0x58500d=_0x571dac;_0x58500d[_0x3c1c52(0x14a)](_0x573ee5,undefined)&&(_lastTestName=_0x573ee5),_0x58500d['RhxsN'](_0x55d174,undefined)&&(_lastTestStatus=_0x55d174),_0x58500d[_0x3c1c52(0x14a)](_0x32c569,undefined)&&(_lastTestFailureReason=_0x32c569);},closeTracker={'pages':new Map(),'browsers':new Map(),'safetyTimeouts':new Map(),'trackPage'(_0x595245){const _0x26bc6e=a80_0x2bc712;if(!this[_0x26bc6e(0x3b4)]['has'](_0x595245)){const _0xea575a={};_0xea575a[_0x26bc6e(0x268)]=![],_0xea575a[_0x26bc6e(0x1e1)]=null,_0xea575a[_0x26bc6e(0x189)]=null,_0xea575a[_0x26bc6e(0x3e5)]=[],this[_0x26bc6e(0x3b4)][_0x26bc6e(0x2a6)](_0x595245,_0xea575a);}},'markPageCloseRequested'(_0x2c6604){const _0x372fb9=a80_0x2bc712,_0x3e2da3={'GiUbu':'[PuppeteerPatcher]\x20Safety\x20timeout\x20triggered\x20for\x20deferred\x20page\x20close','RHRHd':_0x372fb9(0x152),'JNGqx':function(_0x2f5837,_0x3cdc14,_0x274193){return _0x2f5837(_0x3cdc14,_0x274193);}};this[_0x372fb9(0x3b4)][_0x372fb9(0x2a6)](_0x2c6604,{'closeRequested':!![],'timestamp':Date['now'](),'originalClose':(this[_0x372fb9(0x3b4)][_0x372fb9(0x11b)](_0x2c6604)||{})[_0x372fb9(0x189)]||null,'args':(this[_0x372fb9(0x3b4)][_0x372fb9(0x11b)](_0x2c6604)||{})[_0x372fb9(0x3e5)]||[]}),logger[_0x372fb9(0x314)](_0x3e2da3[_0x372fb9(0x254)]);const _0x4c2d54=_0x3e2da3[_0x372fb9(0x33b)](setTimeout,async()=>{const _0x4081c8=_0x372fb9;logger[_0x4081c8(0x314)](_0x3e2da3[_0x4081c8(0x1ba)]);try{await closeTracker['executePageClose'](_0x2c6604);}catch(_0x1ae88d){logger[_0x4081c8(0x314)](_0x4081c8(0x394)+util[_0x4081c8(0x36d)](_0x1ae88d));}},0x2710);this['safetyTimeouts'][_0x372fb9(0x2a6)](_0x2c6604,_0x4c2d54);},'markBrowserCloseRequested'(_0x2bf86b){const _0x2da0f3=a80_0x2bc712,_0x17c767={};_0x17c767['ZSQtP']=_0x2da0f3(0x156);const _0x32e603=_0x17c767;this[_0x2da0f3(0x399)][_0x2da0f3(0x2a6)](_0x2bf86b,{'closeRequested':!![],'timestamp':Date[_0x2da0f3(0x349)](),'originalClose':(this[_0x2da0f3(0x399)][_0x2da0f3(0x11b)](_0x2bf86b)||{})['originalClose']||null,'args':(this[_0x2da0f3(0x399)][_0x2da0f3(0x11b)](_0x2bf86b)||{})[_0x2da0f3(0x3e5)]||[]}),logger['debug'](_0x32e603[_0x2da0f3(0x1be)]);},'wasCloseRequested'(_0xf1ea1){const _0x16baa7=a80_0x2bc712,_0x570d97=this[_0x16baa7(0x3b4)][_0x16baa7(0x11b)](_0xf1ea1);return _0x570d97?_0x570d97['closeRequested']:![];},async 'executePageClose'(_0x264b6b){const _0x4afa00=a80_0x2bc712,_0x13a0c6={'JlzwT':_0x4afa00(0x265),'oiMTV':function(_0x434b37,_0x35823c){return _0x434b37(_0x35823c);}},_0x42f4ba=this[_0x4afa00(0x3b4)]['get'](_0x264b6b);if(_0x42f4ba&&_0x42f4ba[_0x4afa00(0x189)]){logger[_0x4afa00(0x314)](_0x13a0c6[_0x4afa00(0x19d)]);const _0x3895b7=this[_0x4afa00(0x319)][_0x4afa00(0x11b)](_0x264b6b);_0x3895b7&&(_0x13a0c6['oiMTV'](clearTimeout,_0x3895b7),this['safetyTimeouts'][_0x4afa00(0xdf)](_0x264b6b));this['pages'][_0x4afa00(0xdf)](_0x264b6b);try{return await _0x42f4ba[_0x4afa00(0x189)][_0x4afa00(0x2bc)](_0x264b6b,_0x42f4ba[_0x4afa00(0x3e5)]||[]);}catch(_0x2e2455){logger[_0x4afa00(0x314)](_0x4afa00(0x192)+util[_0x4afa00(0x36d)](_0x2e2455));}}},async 'executeBrowserClose'(_0x3b3a6f){const _0x885aa5=a80_0x2bc712,_0x31754b={};_0x31754b['Lbihi']='[PuppeteerPatcher]\x20Executing\x20deferred\x20browser\x20close';const _0x6edbf7=_0x31754b,_0x2a20db=this[_0x885aa5(0x399)][_0x885aa5(0x11b)](_0x3b3a6f);if(_0x2a20db&&_0x2a20db[_0x885aa5(0x189)]){logger['debug'](_0x6edbf7[_0x885aa5(0x3cd)]),this[_0x885aa5(0x399)][_0x885aa5(0xdf)](_0x3b3a6f);try{return await _0x2a20db[_0x885aa5(0x189)]['apply'](_0x3b3a6f,_0x2a20db['args']||[]);}catch(_0x5d2f83){logger['debug']('[PuppeteerPatcher]\x20Error\x20in\x20deferred\x20browser\x20close:\x20'+util['format'](_0x5d2f83));}}},'cleanup'(){const _0xd55201=a80_0x2bc712,_0xc6dbcf={'CStli':function(_0x48f021,_0x273258){return _0x48f021(_0x273258);}};for(const _0x27076a of this[_0xd55201(0x319)][_0xd55201(0x385)]()){_0xc6dbcf['CStli'](clearTimeout,_0x27076a);}this['safetyTimeouts'][_0xd55201(0x3aa)](),this[_0xd55201(0x3b4)][_0xd55201(0x3aa)](),this['browsers'][_0xd55201(0x3aa)]();}},getPuppeteerMajorVersion=_0x33777e=>{const _0x565bb5=a80_0x2bc712,_0x15959e={'rMzpu':function(_0x20d30f,_0x23c488){return _0x20d30f(_0x23c488);},'JWAmi':function(_0x31fb75,_0xa7d2b5,_0x1bad29){return _0x31fb75(_0xa7d2b5,_0x1bad29);},'nClQz':function(_0x4f6887,_0x2778c5){return _0x4f6887(_0x2778c5);}};try{const _0x4d1c05=require['resolve'](_0x33777e+'/package.json'),_0x8ee054=_0x15959e[_0x565bb5(0x21d)](require,_0x4d1c05),_0x178454=_0x8ee054['version']||'',_0x46eb8e=_0x15959e[_0x565bb5(0x20d)](parseInt,_0x178454[_0x565bb5(0x124)]('.')[0x0],0xa);return logger[_0x565bb5(0x314)](_0x565bb5(0x246)+_0x33777e+_0x565bb5(0xfa)+_0x178454+_0x565bb5(0x263)+_0x46eb8e+')'),_0x15959e['nClQz'](isNaN,_0x46eb8e)?null:_0x46eb8e;}catch(_0x5f54f2){return logger[_0x565bb5(0x314)]('[PuppeteerPatcher]\x20Could\x20not\x20read\x20'+_0x33777e+_0x565bb5(0xfa)+_0x5f54f2[_0x565bb5(0x2ab)]),null;}},patchPuppeteerModule=_0x573351=>{const _0x287e38=a80_0x2bc712,_0x2c5dfb={'qbqMi':function(_0x4c4c19,_0x4f29eb,_0x19d544,_0x18cca3){return _0x4c4c19(_0x4f29eb,_0x19d544,_0x18cca3);},'vjIIx':function(_0x51dd50,_0x247d16,_0x5675b6){return _0x51dd50(_0x247d16,_0x5675b6);},'PyfFa':function(_0x45d2c9,_0x5c7195){return _0x45d2c9(_0x5c7195);},'pWKom':function(_0x464070,_0x36a20e){return _0x464070(_0x36a20e);},'aRQbv':function(_0x56d01f){return _0x56d01f();}};try{require['resolve'](_0x573351);}catch(_0x48e17b){return logger[_0x287e38(0x314)](_0x287e38(0x246)+_0x573351+'\x20not\x20installed,\x20skipping'),![];}try{const _0x234dd4=_0x2c5dfb['PyfFa'](require,_0x573351);if(!_0x234dd4)return logger[_0x287e38(0x314)]('[PuppeteerPatcher]\x20'+_0x573351+_0x287e38(0x115)),![];detectedModuleName=_0x573351;const _0x55da0e=_0x2c5dfb['pWKom'](getPuppeteerMajorVersion,_0x573351);logger[_0x287e38(0x314)](_0x287e38(0x3df)+_0x573351+_0x287e38(0x3fc)+_0x55da0e+')'),_0x2c5dfb[_0x287e38(0x305)](patchConnectionPrototype);const _0x48c890=_0x234dd4['launch']?_0x234dd4[_0x287e38(0x2bb)][_0x287e38(0x3bb)](_0x234dd4):null,_0x2e6963=_0x234dd4['connect']?_0x234dd4['connect'][_0x287e38(0x3bb)](_0x234dd4):null;if(!_0x2e6963)return logger[_0x287e38(0x314)](_0x287e38(0x246)+_0x573351+_0x287e38(0x384)),![];return _0x48c890&&(_0x234dd4[_0x287e38(0x2bb)]=async function _0x4e65f8(_0x4500fb={}){return _0x2c5dfb['qbqMi'](_patchedLaunch,_0x2e6963,_0x48c890,_0x4500fb);}),_0x234dd4[_0x287e38(0x3a9)]=async function _0x172690(_0x5c8f16={}){const _0x31eeea=_0x287e38;return _0x2c5dfb[_0x31eeea(0x1ae)](_patchedConnect,_0x2e6963,_0x5c8f16);},logger['info'](_0x287e38(0x150)+_0x573351),!![];}catch(_0x59a078){return logger[_0x287e38(0x314)]('[PuppeteerPatcher]\x20Error\x20patching\x20'+_0x573351+':\x20'+util[_0x287e38(0x36d)](_0x59a078)),![];}},isBrowserStackEndpoint=_0x17e1d2=>{const _0x358b30=a80_0x2bc712,_0x1fe2f7={};_0x1fe2f7[_0x358b30(0x1eb)]=function(_0x20cf79,_0x414655){return _0x20cf79!==_0x414655;},_0x1fe2f7[_0x358b30(0x11c)]='string';const _0x2faa8c=_0x1fe2f7;if(!_0x17e1d2||_0x2faa8c[_0x358b30(0x1eb)](typeof _0x17e1d2,_0x2faa8c[_0x358b30(0x11c)]))return![];return _0x17e1d2[_0x358b30(0x28a)](constants[_0x358b30(0x1e5)])||_0x17e1d2[_0x358b30(0x28a)](constants['BSTACK_ATS_URL']);},buildCdpEndpointUrl=(_0x4bb9f3,_0x5a56b0)=>{const _0x512e15=a80_0x2bc712,_0x362898={};_0x362898[_0x512e15(0x131)]=function(_0x4fd15a,_0xc0dc07){return _0x4fd15a&&_0xc0dc07;},_0x362898[_0x512e15(0x145)]=function(_0x292c6b,_0x353b99){return _0x292c6b>_0x353b99;},_0x362898[_0x512e15(0x194)]=function(_0x4eecb7,_0x2b4fa1){return _0x4eecb7===_0x2b4fa1;},_0x362898[_0x512e15(0x294)]=_0x512e15(0x379),_0x362898[_0x512e15(0x3ca)]=_0x512e15(0x20c),_0x362898[_0x512e15(0x3ce)]=function(_0xfa15ce,_0x30c7bf){return _0xfa15ce&&_0x30c7bf;},_0x362898[_0x512e15(0x2b7)]=_0x512e15(0x3e1),_0x362898['YXysA']=function(_0x2bf0af,_0x2c75f7){return _0x2bf0af||_0x2c75f7;};const _0x688e52=_0x362898;try{const _0x1aa503={};_0x1aa503[_0x512e15(0x3b8)]=storedConfiguration?storedConfiguration[_0x512e15(0x3b8)]:undefined,_0x1aa503[_0x512e15(0x3cc)]=storedConfiguration?storedConfiguration[_0x512e15(0x3cc)]:undefined;const _0x27dd7a=_0x1aa503;let _0x2df1ce=_0x4bb9f3;if(_0x688e52[_0x512e15(0x131)](!_0x2df1ce,storedConfiguration)){if(storedConfiguration[_0x512e15(0x354)]&&_0x688e52['oWGjg'](Object[_0x512e15(0x1bc)](storedConfiguration[_0x512e15(0x354)])[_0x512e15(0x3d8)],0x0))_0x2df1ce=storedConfiguration[_0x512e15(0x354)];else{const _0x37b514=storedConfiguration['capabilities']||[],_0x184258=_0x688e52[_0x512e15(0x194)](typeof _0x5a56b0,_0x688e52[_0x512e15(0x294)])?_0x5a56b0:0x0;_0x2df1ce=Array[_0x512e15(0x2b6)](_0x37b514)&&_0x688e52[_0x512e15(0x145)](_0x37b514['length'],_0x184258)?_0x37b514[_0x184258]:_0x37b514[0x0]||{};}}const _0x441271=global[_0x512e15(0x2b0)]&&global['__accessibilityOptions'][_0x688e52[_0x512e15(0x3ca)]]||process[_0x512e15(0x30e)][_0x512e15(0x271)];_0x688e52['vMRQT'](_0x2df1ce,_0x441271)&&(_0x2df1ce[_0x688e52['OcRYD']]=_0x441271,_0x2df1ce[_0x512e15(0x2ea)]&&_0x688e52[_0x512e15(0x194)](typeof _0x2df1ce[_0x512e15(0x2ea)],_0x688e52[_0x512e15(0x2b7)])&&(_0x2df1ce[_0x512e15(0x2ea)][_0x512e15(0x37e)]=_0x441271));const _0x3cffc8=puppeteerHelper[_0x512e15(0x15a)](_0x27dd7a,_0x688e52[_0x512e15(0x36c)](_0x2df1ce,{}));return logger[_0x512e15(0x314)](_0x512e15(0x251)+_0x3cffc8[_0x512e15(0x3d8)]+')'),_0x3cffc8;}catch(_0x225fd6){return logger[_0x512e15(0x314)](_0x512e15(0x2bf)+util[_0x512e15(0x36d)](_0x225fd6)),null;}},safeEvaluate=async(_0x5808b4,_0x1afa63)=>{const _0x31f4f0=a80_0x2bc712,_0x4c908c={};_0x4c908c['PLTCI']=_0x31f4f0(0x22a),_0x4c908c['DGFQK']=_0x31f4f0(0x22c),_0x4c908c[_0x31f4f0(0x253)]=_0x31f4f0(0x3a5),_0x4c908c[_0x31f4f0(0xf2)]=_0x31f4f0(0x2ce),_0x4c908c[_0x31f4f0(0x3de)]=_0x31f4f0(0x3ef);const _0x4a0071=_0x4c908c;try{return await _0x5808b4[_0x31f4f0(0x136)](_0x52f167=>{},_0x1afa63);}catch(_0x3f0c67){const _0xca3e87=_0x3f0c67[_0x31f4f0(0x2ab)]||'';if(_0xca3e87[_0x31f4f0(0x28a)](_0x4a0071[_0x31f4f0(0x222)])||_0xca3e87[_0x31f4f0(0x28a)](_0x4a0071[_0x31f4f0(0x1b6)])||_0xca3e87[_0x31f4f0(0x28a)](_0x4a0071[_0x31f4f0(0x253)])||_0xca3e87['includes'](_0x4a0071['ujYqQ'])||_0xca3e87[_0x31f4f0(0x28a)](_0x4a0071[_0x31f4f0(0x3de)]))return logger['debug'](_0x31f4f0(0x26f)+_0xca3e87),null;return logger[_0x31f4f0(0x314)](_0x31f4f0(0x13f)+util[_0x31f4f0(0x36d)](_0x3f0c67)),null;}},markSessionName=async(_0x316941,_0x20920c)=>{const _0x359c75=a80_0x2bc712,_0x4926e0={'SLgTN':function(_0x1f342a,_0x1ca63c,_0x7b6fe5){return _0x1f342a(_0x1ca63c,_0x7b6fe5);},'SXCid':_0x359c75(0xed),'KlhEg':_0x359c75(0x1a5),'bUKvT':'[PuppeteerPatcher]\x20REST\x20setSessionName\x20skipped:\x20no\x20__bstackSessionId','rcxYX':function(_0x4ea795,_0x12287b){return _0x4ea795||_0x12287b;},'amKHd':_0x359c75(0x1b9),'sZjGm':function(_0xf28ac1,_0x1efd46){return _0xf28ac1(_0x1efd46);},'Xukbi':'./constants','voXlg':_0x359c75(0x2aa),'vDgqT':_0x359c75(0x1ec),'gwXyV':function(_0x340e9f,_0xc83524){return _0x340e9f>=_0xc83524;},'CrUCP':function(_0x3d8f69,_0x3855bf){return _0x3d8f69<_0x3855bf;}};if(!_0x20920c)return;if(global['__skipSessionName'])return;if(_0x316941)try{const _0x54880f={};_0x54880f['name']=_0x20920c,await _0x4926e0[_0x359c75(0x2c6)](safeEvaluate,_0x316941,_0x359c75(0x1c3)+JSON[_0x359c75(0xf4)]({'action':_0x4926e0[_0x359c75(0x3d1)],'arguments':_0x54880f})),logger[_0x359c75(0x3c7)]('[PuppeteerPatcher]\x20Marked\x20session\x20name:\x20'+_0x20920c);}catch(_0x3a89ae){logger[_0x359c75(0x3c7)](_0x359c75(0x22f)+_0x3a89ae[_0x359c75(0x2ab)]);}try{if(global[_0x359c75(0x113)]){logger[_0x359c75(0x314)](_0x4926e0['KlhEg']);return;}const _0xf71d6d=global['__bstackSessionId'];if(!_0xf71d6d){logger[_0x359c75(0x314)](_0x4926e0[_0x359c75(0x357)]);return;}const _0x3e473e=BrowserstackCLI[_0x359c75(0x169)]()&&BrowserstackCLI[_0x359c75(0x169)]()[_0x359c75(0x2be)](),_0x59b919=_0x3e473e&&_0x3e473e[_0x359c75(0x3fb)]||process['env'][_0x359c75(0xfb)]||'',_0x3e77b0=_0x3e473e&&_0x3e473e[_0x359c75(0x2dc)]||process['env']['BROWSERSTACK_ACCESS_KEY']||'';if(_0x4926e0[_0x359c75(0x2e4)](!_0x59b919,!_0x3e77b0)){logger[_0x359c75(0x314)](_0x4926e0[_0x359c75(0x33a)]);return;}const {BROWSERSTACK_API_URL:_0x56c0de}=_0x4926e0[_0x359c75(0x29f)](require,_0x4926e0[_0x359c75(0x3e9)]),_0x1137b0=_0x4926e0[_0x359c75(0x29f)](require,_0x4926e0[_0x359c75(0x34a)]),_0x7f20d3=_0x56c0de+_0x359c75(0x353)+_0xf71d6d+_0x359c75(0x1fc),_0x20e0f4={};_0x20e0f4['name']=_0x20920c;const _0x14e1d2={};_0x14e1d2[_0x359c75(0x310)]=0x2710;const _0x4e5a9e={};_0x4e5a9e[_0x359c75(0x12f)]=_0x59b919,_0x4e5a9e[_0x359c75(0x17b)]=_0x3e77b0,_0x4e5a9e['json']=_0x20e0f4,_0x4e5a9e[_0x359c75(0x32f)]=_0x4926e0['vDgqT'],_0x4e5a9e['throwHttpErrors']=![],_0x4e5a9e['timeout']=_0x14e1d2;const _0x216f6d=await _0x1137b0['put'](_0x7f20d3,_0x4e5a9e);_0x4926e0['gwXyV'](_0x216f6d[_0x359c75(0x1ce)],0xc8)&&_0x4926e0['CrUCP'](_0x216f6d[_0x359c75(0x1ce)],0x12c)?logger[_0x359c75(0x3c7)](_0x359c75(0x1f7)+_0x216f6d['statusCode']+_0x359c75(0x3d9)+_0xf71d6d):logger[_0x359c75(0x345)]('[PuppeteerPatcher]\x20REST\x20setSessionName\x20HTTP\x20'+_0x216f6d[_0x359c75(0x1ce)]+_0x359c75(0x3d9)+_0xf71d6d+':\x20'+JSON['stringify'](_0x216f6d['body'])[_0x359c75(0x15c)](0x0,0xc8));}catch(_0xeeb257){logger[_0x359c75(0x314)](_0x359c75(0x1e6)+(_0xeeb257['message']||_0xeeb257));}},markSessionStatus=async(_0x296ab3,_0x3c864b,_0x53ec04)=>{const _0x510a06=a80_0x2bc712,_0x4be11a={'dRNQj':function(_0x5c356b,_0x53d51a,_0x267317){return _0x5c356b(_0x53d51a,_0x267317);},'EGtOl':_0x510a06(0x330),'dpgtp':_0x510a06(0x1b3),'lRspy':_0x510a06(0x2e5),'HbUGw':function(_0x5efa28,_0x3476fd){return _0x5efa28||_0x3476fd;},'RmKbk':_0x510a06(0x162),'IgxKp':function(_0x284b4d,_0x37b743){return _0x284b4d(_0x37b743);},'JBWoM':_0x510a06(0x1c1),'QsDQU':_0x510a06(0x2aa),'taQVp':_0x510a06(0x1ec),'MmckD':function(_0x2c4b41,_0x7501e3){return _0x2c4b41>=_0x7501e3;},'YNdhe':function(_0x79115,_0x457557){return _0x79115<_0x457557;}};if(global['__skipSessionStatus'])return;if(_0x296ab3)try{const _0x5c4274={};_0x5c4274['status']=_0x3c864b;const _0x300ffc=_0x5c4274;_0x53ec04&&(_0x300ffc[_0x510a06(0x23a)]=_0x53ec04),await _0x4be11a[_0x510a06(0x270)](safeEvaluate,_0x296ab3,_0x510a06(0x1c3)+JSON[_0x510a06(0xf4)]({'action':_0x4be11a[_0x510a06(0x2d1)],'arguments':_0x300ffc})),logger[_0x510a06(0x3c7)](_0x510a06(0x332)+_0x3c864b);}catch(_0x73e8ee){logger['info'](_0x510a06(0x375)+_0x73e8ee[_0x510a06(0x2ab)]);}try{if(global[_0x510a06(0x102)]){logger[_0x510a06(0x314)](_0x4be11a[_0x510a06(0x21b)]);return;}const _0x416470=global['__bstackSessionId'];if(!_0x416470){logger['debug'](_0x4be11a[_0x510a06(0x223)]);return;}const _0x4c7810=BrowserstackCLI[_0x510a06(0x169)]()&&BrowserstackCLI['getInstance']()[_0x510a06(0x2be)](),_0x3ebf68=_0x4c7810&&_0x4c7810[_0x510a06(0x3fb)]||process[_0x510a06(0x30e)][_0x510a06(0xfb)]||'',_0x1de5ef=_0x4c7810&&_0x4c7810[_0x510a06(0x2dc)]||process[_0x510a06(0x30e)]['BROWSERSTACK_ACCESS_KEY']||'';if(_0x4be11a['HbUGw'](!_0x3ebf68,!_0x1de5ef)){logger[_0x510a06(0x314)](_0x4be11a['RmKbk']);return;}const {BROWSERSTACK_API_URL:_0x31c695}=_0x4be11a[_0x510a06(0x225)](require,_0x4be11a[_0x510a06(0x308)]),_0x666473=_0x4be11a['IgxKp'](require,_0x4be11a[_0x510a06(0x14b)]),_0x23a7dc=_0x31c695+_0x510a06(0x353)+_0x416470+'.json',_0x2d214f={};_0x2d214f[_0x510a06(0x310)]=0x2710;const _0x15d7a2=await _0x666473['put'](_0x23a7dc,{'username':_0x3ebf68,'password':_0x1de5ef,'json':{'status':_0x3c864b,'reason':_0x4be11a[_0x510a06(0x172)](_0x53ec04,'')},'responseType':_0x4be11a[_0x510a06(0x371)],'throwHttpErrors':![],'timeout':_0x2d214f});_0x4be11a[_0x510a06(0x240)](_0x15d7a2[_0x510a06(0x1ce)],0xc8)&&_0x4be11a[_0x510a06(0x166)](_0x15d7a2['statusCode'],0x12c)?logger[_0x510a06(0x3c7)](_0x510a06(0x29e)+_0x3c864b+_0x510a06(0x205)+_0x15d7a2['statusCode']+_0x510a06(0x3d9)+_0x416470):logger['warn'](_0x510a06(0x2fe)+_0x15d7a2[_0x510a06(0x1ce)]+_0x510a06(0x3d9)+_0x416470+':\x20'+JSON[_0x510a06(0xf4)](_0x15d7a2['body'])[_0x510a06(0x15c)](0x0,0xc8));}catch(_0x16c28e){logger[_0x510a06(0x314)]('[PuppeteerPatcher]\x20REST\x20setSessionStatus\x20failed:\x20'+(_0x16c28e[_0x510a06(0x2ab)]||_0x16c28e));}},getPageFromAutomationFramework=()=>{const _0x3b4b9e=a80_0x2bc712;try{const _0x78d72e=AutomationFramework[_0x3b4b9e(0x3af)]();if(_0x78d72e)return AutomationFramework[_0x3b4b9e(0x347)](_0x78d72e,PuppeteerDriverModule['KEY_PAGE_OBJECT']);}catch(_0x1df453){logger[_0x3b4b9e(0x314)](_0x3b4b9e(0x279)+util[_0x3b4b9e(0x36d)](_0x1df453));}return null;},patchConnectionPrototype=()=>{const _0x40556b=a80_0x2bc712,_0xeaf4f1={'nnAZi':function(_0x18622d,_0x158002){return _0x18622d===_0x158002;},'RtWef':_0x40556b(0x3a6),'XVVkm':function(_0x57fb23,_0x2b586a){return _0x57fb23(_0x2b586a);},'SKSaa':_0x40556b(0x303),'NHtdZ':_0x40556b(0x39a),'NxtDM':_0x40556b(0x17d),'MEwUu':function(_0x4ccb71,_0x357a23){return _0x4ccb71(_0x357a23);},'liTnm':_0x40556b(0x1db),'EZRlL':_0x40556b(0x210),'kUEKF':_0x40556b(0x323),'YVYuh':_0x40556b(0x329),'yCugo':'Connection.js','BrvbB':_0x40556b(0x15b),'fivbq':_0x40556b(0x118),'DBVel':_0x40556b(0x298),'dtsGJ':function(_0x4be07e,_0x2da450){return _0x4be07e===_0x2da450;},'FWEvF':'function','eFxOT':'onMessage','xYcPc':_0x40556b(0x355),'xwnlw':function(_0x2d7a63,_0x45eec9){return _0x2d7a63!==_0x45eec9;}};try{const _0x556a2c=_0xeaf4f1[_0x40556b(0x307)](require,_0xeaf4f1[_0x40556b(0x127)])[_0x40556b(0x187)](require['resolve'](_0xeaf4f1[_0x40556b(0x3e8)]));let _0x597271;const _0x36d9f4=_0xeaf4f1[_0x40556b(0x34b)](require,_0xeaf4f1[_0x40556b(0x127)])[_0x40556b(0x1e9)](_0x556a2c,_0xeaf4f1[_0x40556b(0x390)],_0xeaf4f1['EZRlL'],_0xeaf4f1[_0x40556b(0x400)],_0xeaf4f1['YVYuh'],_0xeaf4f1[_0x40556b(0x149)]),_0x45ae0c=_0xeaf4f1[_0x40556b(0x34b)](require,_0xeaf4f1[_0x40556b(0x127)])['join'](_0x556a2c,_0xeaf4f1[_0x40556b(0x390)],_0xeaf4f1[_0x40556b(0x101)],_0xeaf4f1[_0x40556b(0x400)],_0xeaf4f1['BrvbB'],_0xeaf4f1[_0x40556b(0x149)]);try{_0x597271=_0xeaf4f1[_0x40556b(0x34b)](require,_0x36d9f4)['Connection'];}catch(_0x51c1a4){try{_0x597271=_0xeaf4f1[_0x40556b(0x307)](require,_0x45ae0c)[_0x40556b(0x3ba)];}catch(_0x286b09){logger[_0x40556b(0x314)](_0xeaf4f1['fivbq']);return;}}if(!_0x597271){logger[_0x40556b(0x314)](_0xeaf4f1['DBVel']);return;}const _0xb0288b=_0xeaf4f1[_0x40556b(0x1e2)](typeof _0x597271[_0x40556b(0x2cb)][_0x40556b(0x2c7)],_0xeaf4f1['FWEvF'])?_0xeaf4f1[_0x40556b(0x348)]:_0xeaf4f1[_0x40556b(0x1dc)];if(_0xeaf4f1[_0x40556b(0x11f)](typeof _0x597271['prototype'][_0xb0288b],_0xeaf4f1[_0x40556b(0x16a)])){logger[_0x40556b(0x314)](_0x40556b(0x1ad)+_0xb0288b+_0x40556b(0x32c));return;}const _0x210f67=_0x597271[_0x40556b(0x2cb)][_0xb0288b];_0x597271['prototype'][_0xb0288b]=async function(_0x52febf){const _0x262857=_0x40556b;try{const _0xb44f36=_0xeaf4f1[_0x262857(0x2e6)](typeof _0x52febf,_0xeaf4f1[_0x262857(0x164)])?JSON['parse'](_0x52febf):_0x52febf,_0x269e08=_0xb44f36?.[_0x262857(0x3c5)]||_0xb44f36?.[_0x262857(0x244)]||_0xb44f36?.[_0x262857(0x335)]?.[_0x262857(0x244)]||_0xb44f36?.[_0x262857(0x335)]?.[_0x262857(0x3c5)];!this[_0x262857(0x2a2)]&&(this['_bstackMsgCount']=0x0);this[_0x262857(0x2a2)]++;if(_0x269e08){const _0x53b620=_0x269e08[_0x262857(0x3cf)],_0x1f27b4=_0x269e08[_0x262857(0x3f0)];if(_0x53b620){global[_0x262857(0x37d)]=_0x53b620,global[_0x262857(0x1c5)]=_0x1f27b4,logger[_0x262857(0x3c7)](_0x262857(0x224)+_0x53b620);try{const _0x3a83aa=AutomationFramework[_0x262857(0x3af)]();if(_0x3a83aa){const _0xe79f88=_0xeaf4f1[_0x262857(0x307)](require,_0xeaf4f1[_0x262857(0x3c1)]);AutomationFramework[_0x262857(0x1c8)](_0x3a83aa,_0xe79f88[_0x262857(0x11d)],_0x53b620),_0x1f27b4&&AutomationFramework[_0x262857(0x1c8)](_0x3a83aa,_0xe79f88[_0x262857(0x22d)],_0x1f27b4);}}catch(_0x833436){}}_0xeaf4f1['nnAZi'](typeof _0x52febf,_0xeaf4f1[_0x262857(0x164)])&&(delete _0xb44f36['bStackParams'],delete _0xb44f36[_0x262857(0x244)],_0xb44f36[_0x262857(0x335)]&&(delete _0xb44f36['params'][_0x262857(0x244)],delete _0xb44f36[_0x262857(0x335)][_0x262857(0x3c5)]),_0x52febf=JSON[_0x262857(0xf4)](_0xb44f36));}}catch(_0x329828){}return _0x210f67[_0x262857(0x196)](this,_0x52febf);},logger[_0x40556b(0x3c7)](_0x40556b(0x1af)+_0xb0288b+_0x40556b(0x126));}catch(_0x236c5e){logger['debug']('[PuppeteerPatcher]\x20Error\x20patching\x20Connection\x20prototype:\x20'+util['format'](_0x236c5e));}},_interceptCdpMessage=_0x268a99=>{const _0x1dc079=a80_0x2bc712,_0x3a8a6f={'LuSNO':function(_0x31a493,_0xfd092c){return _0x31a493===_0xfd092c;},'NrBuC':_0x1dc079(0x3a6),'nRJpj':_0x1dc079(0x3cb),'krnjp':function(_0x2c6e57,_0x12dd11){return _0x2c6e57(_0x12dd11);},'dKSzy':_0x1dc079(0x303)};try{const _0x1644bc=_0x3a8a6f[_0x1dc079(0x1da)](typeof _0x268a99,_0x3a8a6f[_0x1dc079(0x22b)])?JSON[_0x1dc079(0x1c7)](_0x268a99):_0x268a99;logger[_0x1dc079(0x314)]('[PuppeteerPatcher]\x20Received\x20CDP\x20message:\x20'+(_0x1644bc[_0x1dc079(0x2c2)]||_0x3a8a6f[_0x1dc079(0x2d8)]));if(_0x1644bc&&_0x1644bc[_0x1dc079(0x3c5)]){const {sessionId:_0x3aae00,platformDetails:_0x3f429c}=_0x1644bc[_0x1dc079(0x3c5)];logger[_0x1dc079(0x3c7)](_0x1dc079(0x229)+_0x3aae00);try{const _0x3c5711=AutomationFramework[_0x1dc079(0x3af)]();if(_0x3c5711){const _0x2b172f=_0x3a8a6f[_0x1dc079(0x398)](require,_0x3a8a6f['dKSzy']);_0x3aae00&&(AutomationFramework[_0x1dc079(0x1c8)](_0x3c5711,PlaywrightDriverModule['KEY_SESSION_ID'],_0x3aae00),AutomationFramework['setState'](_0x3c5711,_0x2b172f[_0x1dc079(0x11d)],_0x3aae00)),_0x3f429c&&(AutomationFramework[_0x1dc079(0x1c8)](_0x3c5711,PlaywrightDriverModule['KEY_PLATFORM_DETAILS'],_0x3f429c),AutomationFramework[_0x1dc079(0x1c8)](_0x3c5711,_0x2b172f['KEY_PLATFORM_DETAILS'],_0x3f429c));}}catch(_0x1338ef){logger[_0x1dc079(0x314)](_0x1dc079(0x1f3)+util[_0x1dc079(0x36d)](_0x1338ef));}global[_0x1dc079(0x37d)]=_0x3aae00,global[_0x1dc079(0x1c5)]=_0x3f429c;}}catch(_0x404026){}},patchPageForAccessibility=_0x5f5b0c=>{const _0x343142=a80_0x2bc712,_0x41e4fa={'EPrnN':function(_0xbfda2d,_0x4ebf2d,_0x4cd9f4){return _0xbfda2d(_0x4ebf2d,_0x4cd9f4);},'QzLdS':'API-BEFORE\x20api=getAccessibilityResults','EobbU':_0x343142(0x377),'GdDgg':'[PuppeteerPatcher]\x20getAccessibilityResults\x20called\x20but\x20AccessibilityModule\x20not\x20available','GDUZf':function(_0x3caccf,_0x399643,_0x254c79){return _0x3caccf(_0x399643,_0x254c79);},'ztgLx':_0x343142(0x374),'MxiTc':_0x343142(0x35c),'HfWIc':_0x343142(0x27e),'zBnVC':function(_0xdd5511,_0x4e3a24,_0x3f6299,_0x18dc28,_0x372243,_0x5f10f9){return _0xdd5511(_0x4e3a24,_0x3f6299,_0x18dc28,_0x372243,_0x5f10f9);},'EWFjM':function(_0x526d67,_0x2fc56d){return _0x526d67===_0x2fc56d;},'CmVpL':function(_0xa7808d){return _0xa7808d();},'cGAgu':function(_0x3fe52d,_0x10608b){return _0x3fe52d(_0x10608b);},'aZapD':function(_0x591306,..._0x13182a){return _0x591306(..._0x13182a);},'zKEmN':function(_0x742764,_0x37ae10){return _0x742764(_0x37ae10);},'IvnJf':_0x343142(0x2d6),'bAzbR':function(_0x3a9f50,_0x365a49,_0x565201){return _0x3a9f50(_0x365a49,_0x565201);},'jBcfa':function(_0x12f424){return _0x12f424();},'UnLZx':'[SDK-P0]\x20PATCH_A11Y_SKIP_NO_CLI\x20—\x20BrowserstackCLI.getInstance()\x20returned\x20null\x20(patcher\x20fired\x20before\x20CLI\x20bootstrap\x20or\x20Direct\x20Flow)','EMtjK':function(_0x47066a,_0x50a43e){return _0x47066a(_0x50a43e);},'GOusP':'crypto','dwEqD':_0x343142(0x291),'AkRfd':_0x343142(0x161),'HSXJb':_0x343142(0x312),'GZYQq':'[SDK-P3]\x20PATCH_A11Y_SKIP_NOT_A11Y_SESSION\x20—\x20not\x20an\x20accessibility\x20session\x20per\x20isAccessibilityAutomationSession()','jOCKp':_0x343142(0x20a),'IAgii':_0x343142(0x2a8),'duQns':'[PuppeteerPatcher]\x20Auto-scan\x20skipped\x20—\x20no\x20AccessibilityModule','FVjde':'[PuppeteerPatcher]\x20Auto-scan:\x20commandsToWrap\x20is\x20empty\x20—\x20auto-scan\x20will\x20not\x20fire\x20for\x20any\x20page\x20command.\x20Check\x20AccessibilityModule\x20config.','qZcON':'evaluateHandle','BJHBf':_0x343142(0x30a),'VhspY':_0x343142(0x3a1),'JyRYr':_0x343142(0x31b),'rbuxi':'addScriptTag','PINDl':_0x343142(0x356),'FlnzH':'goBack','tunsw':_0x343142(0x2a3),'QujBZ':_0x343142(0x283),'GEIgS':'keyboard.press','QjvHi':'keyboard.down','OauAE':_0x343142(0x3dd),'wwuup':_0x343142(0x2a7),'xUGqN':'mouse.click','hYiVR':_0x343142(0x154),'ETEcc':'mouse.up','fbMkV':'mouse.move','oRZUU':_0x343142(0x117),'rhJhe':_0x343142(0x37b),'pLavM':_0x343142(0x242),'ZKJKV':_0x343142(0x39d),'IuFNw':_0x343142(0x2e3),'VlJMf':function(_0x20493a,_0x55e51a){return _0x20493a||_0x55e51a;},'SrMKZ':'element_','zvseb':_0x343142(0x212),'oWmdt':_0x343142(0x1d6),'VOZIh':_0x343142(0x30f),'FtZAw':function(_0x27d4fa,_0x5eaf16){return _0x27d4fa<_0x5eaf16;},'NVzQU':function(_0x450ba4,_0x18a7c9){return _0x450ba4-_0x18a7c9;},'DIXNS':function(_0x4dc0fb,_0x37962b){return _0x4dc0fb-_0x37962b;},'aaxNV':function(_0x2fb59b,_0x3a5f88){return _0x2fb59b!==_0x3a5f88;},'pngfu':'function','lvscd':_0x343142(0x29d),'PkEWD':_0x343142(0x3ab)};logger[_0x343142(0x3c7)](_0x343142(0x363)+!!_0x5f5b0c+_0x343142(0x2ca)+!!(_0x5f5b0c&&_0x5f5b0c['_bstackA11yPatchApplied']));if(!_0x5f5b0c||_0x5f5b0c[_0x343142(0x27a)])return;try{const _0x250d15=_0x41e4fa[_0x343142(0x2e7)](isAccessibilityAutomationSession),_0x490a2c=BrowserstackCLI[_0x343142(0x169)]();if(!_0x490a2c){logger['info'](_0x41e4fa[_0x343142(0x388)]);return;}const _0x3987ee=_0x490a2c[_0x343142(0x34d)](),_0x191847=_0x490a2c[_0x343142(0x28d)](),_0x463b98=_0x490a2c[_0x343142(0x25e)](),_0x2753cc=process[_0x343142(0x30e)][_0x343142(0x2b4)],_0x1a78d8=process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x1b8c1f=(process[_0x343142(0x30e)]['BS_A11Y_JWT']||'')[_0x343142(0x3d8)],_0x23697f=_0x1b8c1f?_0x41e4fa[_0x343142(0x386)](require,_0x41e4fa[_0x343142(0x39f)])['createHash'](_0x41e4fa[_0x343142(0x3e3)])[_0x343142(0x2b8)](process['env']['BS_A11Y_JWT'])['digest'](_0x41e4fa[_0x343142(0x3d4)])[_0x343142(0x15c)](0x0,0x8):'';logger[_0x343142(0x3c7)](_0x343142(0xe0)+_0x250d15+_0x343142(0x148)+_0x191847+_0x343142(0x239)+_0x463b98+_0x343142(0x13c)+_0x3987ee+_0x343142(0x3b7)+_0x2753cc+'\x22\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=\x22'+_0x1a78d8+'\x22\x20BS_A11Y_JWT_len='+_0x1b8c1f+'\x20BS_A11Y_JWT_fp='+_0x23697f+'\x20WORKER_ID=\x22'+(process[_0x343142(0x30e)][_0x343142(0x306)]||_0x41e4fa[_0x343142(0x322)])+_0x343142(0x193)+process[_0x343142(0x232)]);if(!_0x250d15){logger[_0x343142(0x3c7)](_0x41e4fa[_0x343142(0x106)]);return;}if(!_0x3987ee){logger[_0x343142(0x3c7)](_0x41e4fa[_0x343142(0x315)]);return;}const _0x5161e5=_0x490a2c[_0x343142(0x1de)]();logger[_0x343142(0x314)]('[PuppeteerPatcher]\x20AccessibilityModule\x20available='+!!_0x5161e5),_0x5f5b0c[_0x343142(0x1ea)]=async()=>{const _0x48f736=_0x343142;await _0x41e4fa[_0x48f736(0x38a)](_logA11yCmdContext,_0x5f5b0c,_0x41e4fa[_0x48f736(0x12e)]);try{if(_0x5161e5){const _0x55cddc=await _0x5161e5[_0x48f736(0x1ea)](_0x5f5b0c);return logger['debug'](_0x48f736(0x19b)+(Array[_0x48f736(0x2b6)](_0x55cddc)?_0x55cddc[_0x48f736(0x3d8)]:_0x41e4fa[_0x48f736(0x24d)])),_0x55cddc;}return logger['warn'](_0x41e4fa['GdDgg']),[];}catch(_0xe4148e){return logger[_0x48f736(0x314)](_0x48f736(0x20e)+util[_0x48f736(0x36d)](_0xe4148e)),[];}},_0x5f5b0c[_0x343142(0xe3)]=async()=>{const _0x4b0928=_0x343142;await _0x41e4fa[_0x4b0928(0x32d)](_logA11yCmdContext,_0x5f5b0c,_0x41e4fa[_0x4b0928(0x243)]);try{if(_0x5161e5){const _0x2eee25=await _0x5161e5[_0x4b0928(0xe3)](_0x5f5b0c);return logger[_0x4b0928(0x314)](_0x4b0928(0x241)+JSON[_0x4b0928(0xf4)](_0x2eee25)),_0x2eee25;}return logger[_0x4b0928(0x345)](_0x41e4fa[_0x4b0928(0x202)]),{};}catch(_0x4c4b39){return logger[_0x4b0928(0x314)]('[PuppeteerPatcher]\x20getAccessibilityResultsSummary\x20error:\x20'+util['format'](_0x4c4b39)),{};}},_0x5f5b0c[_0x343142(0x2b2)]=async _0x205963=>{const _0x2f0fbe=_0x343142;await _0x41e4fa[_0x2f0fbe(0x38a)](_logA11yCmdContext,_0x5f5b0c,_0x41e4fa['HfWIc']);try{const _0x5e57dd=await _0x41e4fa['zBnVC'](performScanWithRetry,_0x5f5b0c,null,null,!![],_0x205963);return logger[_0x2f0fbe(0x314)](_0x2f0fbe(0x183)+JSON[_0x2f0fbe(0xf4)](_0x5e57dd)),_0x5e57dd;}catch(_0x2bdbfa){return logger[_0x2f0fbe(0x314)](_0x2f0fbe(0x18f)+util[_0x2f0fbe(0x36d)](_0x2bdbfa)),![];}},logger[_0x343142(0x314)](_0x41e4fa[_0x343142(0x258)]);if(!_0x5161e5){logger[_0x343142(0x314)](_0x41e4fa[_0x343142(0x32a)]),_0x5f5b0c['_bstackA11yPatchApplied']=!![];return;}const _0x509b71=_0x5161e5['accessibilityConfig']?.[_0x343142(0x122)]?.[_0x343142(0x219)]?.['commandsList']||[];_0x41e4fa[_0x343142(0x2c9)](_0x509b71[_0x343142(0x3d8)],0x0)?logger[_0x343142(0x345)](_0x41e4fa['FVjde']):logger[_0x343142(0x314)](_0x343142(0x16b)+_0x509b71[_0x343142(0x3d8)]+'\x20commands\x20to\x20wrap\x20from\x20AccessibilityModule');const _0x212fa9={};_0x212fa9[_0x343142(0x221)]=_0x41e4fa[_0x343142(0x116)],_0x212fa9['query_selector_eval']=_0x41e4fa[_0x343142(0x3e7)],_0x212fa9[_0x343142(0x275)]=_0x41e4fa[_0x343142(0x334)],_0x212fa9[_0x343142(0x2d2)]=_0x41e4fa[_0x343142(0x324)],_0x212fa9[_0x343142(0x1d5)]=_0x41e4fa[_0x343142(0x1fd)],_0x212fa9['add_style_tag']=_0x41e4fa[_0x343142(0xe4)],_0x212fa9[_0x343142(0x2fb)]=_0x41e4fa[_0x343142(0x378)],_0x212fa9[_0x343142(0x1b2)]=_0x41e4fa[_0x343142(0x23c)],_0x212fa9[_0x343142(0x12d)]=_0x41e4fa[_0x343142(0x341)],_0x212fa9[_0x343142(0x2b5)]=_0x41e4fa['GEIgS'],_0x212fa9[_0x343142(0x280)]=_0x41e4fa[_0x343142(0x32e)],_0x212fa9[_0x343142(0x35e)]=_0x41e4fa[_0x343142(0x2ae)],_0x212fa9[_0x343142(0x1bf)]=_0x41e4fa[_0x343142(0x372)],_0x212fa9[_0x343142(0x3b6)]=_0x41e4fa[_0x343142(0x255)],_0x212fa9[_0x343142(0x2ed)]=_0x41e4fa[_0x343142(0x181)],_0x212fa9['mouse_up']=_0x41e4fa[_0x343142(0x277)],_0x212fa9['mouse_move']=_0x41e4fa[_0x343142(0x3c8)],_0x212fa9[_0x343142(0x13d)]=_0x41e4fa[_0x343142(0x25f)],_0x212fa9['mouse_drag']=_0x41e4fa['rhJhe'],_0x212fa9['mouse_drop']=_0x41e4fa[_0x343142(0x2c0)],_0x212fa9['touchscreen_tap']=_0x41e4fa[_0x343142(0x1d4)],_0x212fa9[_0x343142(0x1ff)]=_0x41e4fa['IuFNw'];const _0x4b16d6=_0x212fa9;for(const _0x2764bf of _0x509b71){const _0x15df30=_0x2764bf[_0x343142(0x292)],_0x436b2b=_0x2764bf['method'],_0x5f07e5=_0x41e4fa[_0x343142(0x21c)](_0x15df30,'')[_0x343142(0x339)]()['toLowerCase']();if(_0x5f07e5[_0x343142(0x3f5)](_0x41e4fa[_0x343142(0x214)])){logger['debug'](_0x343142(0x358)+_0x15df30+_0x343142(0x27c));continue;}if(_0x5f07e5[_0x343142(0x3f5)](_0x41e4fa[_0x343142(0x1d0)])||_0x5f07e5[_0x343142(0x3f5)](_0x41e4fa[_0x343142(0x3ff)])||_0x5f07e5[_0x343142(0x3f5)](_0x41e4fa['VOZIh'])){logger[_0x343142(0x314)](_0x343142(0x380)+_0x15df30+'\x20(wrapped\x20at\x20higher-level\x20page\x20method)');continue;}const _0x395fef=_0x4b16d6[_0x5f07e5]||_0x5f07e5;logger['debug'](_0x343142(0x29b)+_0x15df30+_0x343142(0x1e8)+_0x395fef);const _0x41e0f2=_0x395fef[_0x343142(0x124)]('.')['filter'](_0x499aea=>_0x499aea);let _0x1044a1=_0x5f5b0c;for(let _0x44a701=0x0;_0x41e4fa[_0x343142(0x160)](_0x44a701,_0x41e4fa['NVzQU'](_0x41e0f2[_0x343142(0x3d8)],0x1));_0x44a701++){_0x1044a1=_0x1044a1&&_0x1044a1[_0x41e0f2[_0x44a701]];}const _0x31e4aa=_0x41e0f2[_0x41e4fa[_0x343142(0x2c4)](_0x41e0f2[_0x343142(0x3d8)],0x1)];if(!_0x1044a1||_0x41e4fa['aaxNV'](typeof _0x1044a1[_0x31e4aa],_0x41e4fa[_0x343142(0x1e0)])){logger[_0x343142(0x314)](_0x343142(0x331)+_0x15df30+_0x343142(0x1e8)+_0x395fef+_0x343142(0x13b));continue;}const _0x272edf=_0x1044a1[_0x31e4aa][_0x343142(0x3bb)](_0x1044a1);_0x1044a1[_0x31e4aa]=async function _0x265e0f(..._0x30fc5a){const _0xd7e445=_0x343142,_0x44ea5b={'fnkYt':function(_0x2c0242){const _0x11736b=a80_0x3cd7;return _0x41e4fa[_0x11736b(0x168)](_0x2c0242);},'GCmyU':function(_0x6db9c8,_0x56e269){return _0x41e4fa['cGAgu'](_0x6db9c8,_0x56e269);},'ISUEr':function(_0x2d9ac7,_0x3920c2){const _0x19ab77=a80_0x3cd7;return _0x41e4fa[_0x19ab77(0x2c9)](_0x2d9ac7,_0x3920c2);}};await _0x41e4fa[_0xd7e445(0x32d)](_logA11yCmdContext,_0x5f5b0c,_0xd7e445(0x361)+_0x15df30+_0xd7e445(0x373)+_0x436b2b);let _0x332d7b;try{_0x332d7b=await _0x41e4fa[_0xd7e445(0x130)](_0x272edf,..._0x30fc5a);}catch(_0x3c8b61){logger[_0xd7e445(0x3c7)]('[PuppeteerPatcher]\x20page.'+_0x436b2b+_0xd7e445(0x288)+_0x15df30+_0xd7e445(0x2df)+_0x3c8b61[_0xd7e445(0x2ab)]);throw _0x3c8b61;}logger[_0xd7e445(0x314)](_0xd7e445(0x2e0)+_0x436b2b+'\x20executed,\x20triggering\x20accessibility\x20auto-scan\x20→\x20command='+_0x15df30);if(!global[_0xd7e445(0x3d3)]){const _0x446e0c=_0x41e4fa['zKEmN'](Symbol,_0x41e4fa[_0xd7e445(0x27f)]);global[_0xd7e445(0x3d3)]=_0x446e0c;const _0x29c469=0x7530,_0x3a962a=_0x41e4fa[_0xd7e445(0x2cf)](setTimeout,()=>{const _0x3fdc66=_0xd7e445;_0x41e4fa[_0x3fdc66(0x2c9)](global[_0x3fdc66(0x3d3)],_0x446e0c)&&(logger['info']('[AutoScan.mutexCap]\x20releasing\x20auto-scan\x20mutex\x20after\x20'+_0x29c469+_0x3fdc66(0x36b)),global[_0x3fdc66(0x3d3)]=![]);},_0x29c469);(async()=>{const _0x463e13=_0xd7e445;try{const _0x327bf9=_0x44ea5b[_0x463e13(0xea)](getWorkerDetails),_0x21297d=new JestUtils(),_0x2206f6=_0x21297d[_0x463e13(0x36e)](_0x327bf9),_0x75c66c=_0x2206f6?Object[_0x463e13(0x25a)]({},_0x327bf9?.[_0x463e13(0x1d9)]?.[_0x463e13(0x38e)]||{},{'testAnalyticsId':_0x2206f6,'id':_0x2206f6}):null,_0x2e9697=_0x490a2c&&_0x490a2c[_0x463e13(0x37a)]();if(!_0x2e9697){logger[_0x463e13(0x314)](_0x463e13(0x392)+_0x436b2b+':\x20AutomationFramework\x20unavailable');return;}const _0x36ddec={};_0x36ddec[_0x463e13(0x1dd)]=()=>_0x15df30,_0x36ddec[_0x463e13(0x292)]=_0x15df30;const _0x51416c={};_0x51416c[_0x463e13(0x3d2)]=_0x36ddec,_0x51416c[_0x463e13(0x318)]=_0x5f5b0c,_0x51416c[_0x463e13(0x2f8)]=_0x15df30,_0x51416c[_0x463e13(0x3f7)]=FRAMEWORKS['JEST'],_0x51416c[_0x463e13(0x38e)]=_0x75c66c,await _0x2e9697[_0x463e13(0x2ba)](AutomationFrameworkState[_0x463e13(0x176)],HookState[_0x463e13(0x3ed)],_0x51416c),logger[_0x463e13(0x314)](_0x463e13(0x28f)+_0x436b2b+_0x463e13(0x171)+_0x15df30);}catch(_0x38e38d){logger['debug']('[PuppeteerPatcher]\x20A11y\x20auto-scan\x20error\x20for\x20page.'+_0x436b2b+':\x20'+_0x38e38d[_0x463e13(0x2ab)]);}finally{_0x44ea5b['GCmyU'](clearTimeout,_0x3a962a),_0x44ea5b[_0x463e13(0x38c)](global['bstackPerformA11yScan'],_0x446e0c)&&(global[_0x463e13(0x3d3)]=![]);}})()[_0xd7e445(0x1ac)](()=>{});}return _0x332d7b;},logger[_0x343142(0x314)](_0x343142(0x3ae)+_0x436b2b+'\x20→\x20command='+_0x15df30);}_0x5f5b0c[_0x343142(0x27a)]=!![],logger[_0x343142(0x314)](_0x41e4fa[_0x343142(0x2c5)]);}catch(_0x6bda08){logger[_0x343142(0x3c7)](_0x343142(0x200)+(_0x6bda08&&_0x6bda08[_0x343142(0x2ab)])+_0x343142(0x3bf)+(_0x6bda08&&_0x6bda08['stack']||'')[_0x343142(0x124)]('\x0a')[_0x343142(0x15c)](0x0,0x3)[_0x343142(0x1e9)](_0x41e4fa['PkEWD'])+'\x22');}},patchPage=(_0x3898a0,_0x5292f7)=>{const _0x20d111=a80_0x2bc712,_0x5afd71={'kQGNz':function(_0x16edd4,_0x58bdaf,_0xa6a680){return _0x16edd4(_0x58bdaf,_0xa6a680);},'lbEXy':function(_0x5ef53c){return _0x5ef53c();},'rPcXL':function(_0x51fd37,_0x22010d){return _0x51fd37===_0x22010d;},'TbPbC':'function','tzGfd':_0x20d111(0x146),'TMfIV':_0x20d111(0x14f),'oShXy':_0x20d111(0x2da),'bFtSz':function(_0x323b88,_0x9c6772){return _0x323b88(_0x9c6772);},'tkvnw':function(_0x221723,_0x3b6fe0){return _0x221723(_0x3b6fe0);},'XreRm':function(_0xf0f67a,_0x295afd){return _0xf0f67a===_0x295afd;},'BQIpb':function(_0x26f5a5,_0x84cf38){return _0x26f5a5===_0x84cf38;},'Qwkjf':function(_0x4b7d64,_0x54c94f){return _0x4b7d64===_0x54c94f;},'tFaXP':_0x20d111(0x3ab)};logger[_0x20d111(0x3c7)](_0x20d111(0x362)+!!_0x3898a0+_0x20d111(0x2ca)+!!(_0x3898a0&&_0x3898a0['_bstackPatchApplied']));try{if(!_0x3898a0||_0x3898a0['_bstackPatchApplied'])return;const _0x20e591=_0x5afd71[_0x20d111(0x3a0)](getWorkerDetails);let _0x246c6d='';try{_0x246c6d=_0x5afd71['rPcXL'](typeof _0x3898a0[_0x20d111(0x250)],_0x5afd71['TbPbC'])&&_0x3898a0[_0x20d111(0x250)]()||'';}catch(_0x49aa0b){}const _0x1f2ae4=_0x246c6d[_0x20d111(0x3f5)](_0x5afd71['tzGfd'])||_0x246c6d[_0x20d111(0x3f5)](_0x5afd71[_0x20d111(0x1c0)])||_0x246c6d['startsWith'](_0x5afd71[_0x20d111(0x3c3)]);!_0x1f2ae4?_0x20e591[_0x20d111(0x204)]=_0x3898a0:logger['info'](_0x20d111(0x369)+_0x246c6d),_0x3898a0[_0x20d111(0xf1)]=async(_0x491393,_0x15f8bc={})=>{const _0x9bc726=_0x20d111;try{const _0x508362={};_0x508362[_0x9bc726(0x325)]=_0x491393,_0x508362[_0x9bc726(0x3c9)]=_0x15f8bc;const _0x576169=JSON[_0x9bc726(0xf4)](_0x508362);return await _0x5afd71['kQGNz'](safeEvaluate,_0x3898a0,'browserstack_executor:\x20'+_0x576169);}catch(_0x1045d8){return logger[_0x9bc726(0x314)](_0x9bc726(0x2f5)+util[_0x9bc726(0x36d)](_0x1045d8)),null;}},_0x5afd71[_0x20d111(0x401)](patchPageClose,_0x3898a0),_0x5afd71[_0x20d111(0x3b5)](patchPageScreenshot,_0x3898a0),_0x5afd71['bFtSz'](patchPageForAccessibility,_0x3898a0),_0x3898a0[_0x20d111(0x28b)]=!![],logger['info'](_0x20d111(0x31c)+_0x5afd71[_0x20d111(0x2eb)](typeof _0x3898a0[_0x20d111(0x2b2)],_0x5afd71[_0x20d111(0x36a)])+_0x20d111(0x343)+_0x5afd71[_0x20d111(0x1b0)](typeof _0x3898a0['getAccessibilityResults'],_0x5afd71[_0x20d111(0x36a)])+'\x20hasSummary='+_0x5afd71[_0x20d111(0x39b)](typeof _0x3898a0[_0x20d111(0xe3)],_0x5afd71['TbPbC']));}catch(_0x580f49){logger['info'](_0x20d111(0x11a)+(_0x580f49&&_0x580f49[_0x20d111(0x2ab)])+'\x22\x20stack=\x22'+(_0x580f49&&_0x580f49[_0x20d111(0x2a5)]||'')[_0x20d111(0x124)]('\x0a')[_0x20d111(0x15c)](0x0,0x3)[_0x20d111(0x1e9)](_0x5afd71['tFaXP'])+'\x22');}},patchPageClose=_0xd72959=>{const _0x46e077=a80_0x2bc712,_0x312934={'uSeDi':_0x46e077(0x269),'eTzMM':function(_0x453bd5){return _0x453bd5();},'jrSOH':function(_0xca5849){return _0xca5849();},'VDgcU':function(_0x42841e,_0x307f25){return _0x42841e===_0x307f25;},'UoMOY':function(_0x2fdca8,_0x37e686){return _0x2fdca8===_0x37e686;},'nyDrd':_0x46e077(0x328)};try{if(!_0xd72959||_0xd72959[_0x46e077(0x368)])return;const _0x3cd62b=_0xd72959[_0x46e077(0x206)];_0xd72959['close']=async function(..._0x11ba19){const _0x4eefea=_0x46e077;logger[_0x4eefea(0x314)](_0x312934[_0x4eefea(0x352)]);const _0x44b95b=_0x312934['eTzMM'](getWorkerDetails),_0xe90e40=_0x312934['jrSOH'](getPageFromAutomationFramework),_0x212b36=_0x312934[_0x4eefea(0x217)](_0x44b95b[_0x4eefea(0x204)],this)||_0x312934[_0x4eefea(0x109)](_0xe90e40,this);if(_0x212b36){closeTracker[_0x4eefea(0x37f)](this);const _0x1402a7=closeTracker[_0x4eefea(0x3b4)][_0x4eefea(0x11b)](this);return _0x1402a7&&(_0x1402a7[_0x4eefea(0x189)]=_0x3cd62b,_0x1402a7['args']=_0x11ba19),Promise[_0x4eefea(0x175)]();}return await _0x3cd62b[_0x4eefea(0x2bc)](this,_0x11ba19);},_0xd72959[_0x46e077(0x368)]=!![],logger[_0x46e077(0x314)](_0x312934[_0x46e077(0x142)]);}catch(_0x4bd9f2){logger['debug'](_0x46e077(0x165)+util['format'](_0x4bd9f2));}},patchPageScreenshot=_0x29a25f=>{const _0x1c1cd2=a80_0x2bc712,_0x31ba2e={'DRQYa':'[PuppeteerPatcher]\x20Intercepted\x20page.screenshot()\x20call','scKhw':function(_0x2cc9ab,_0x1a6ea5){return _0x2cc9ab===_0x1a6ea5;},'KJHho':_0x1c1cd2(0x3a6),'OVVXu':'base64','nuquG':'[PuppeteerPatcher]\x20Forwarding\x20screenshot\x20to\x20BrowserStack\x20observability','hAPwk':function(_0x3fccd0,_0x402130,_0x20b52c){return _0x3fccd0(_0x402130,_0x20b52c);},'xCriy':function(_0x4bccc4,_0x46f7a3){return _0x4bccc4!==_0x46f7a3;},'nCPNS':'function','bboqz':_0x1c1cd2(0x286),'rZOVG':_0x1c1cd2(0x10a)};try{if(!_0x29a25f)return;const _0x4750d9=Object[_0x1c1cd2(0x2e8)](_0x29a25f);if(!_0x4750d9||_0x4750d9[_0x1c1cd2(0xf9)])return;const _0x1d126c=_0x4750d9[_0x1c1cd2(0x18a)];if(_0x31ba2e['xCriy'](typeof _0x1d126c,_0x31ba2e[_0x1c1cd2(0x29c)])){logger['debug'](_0x31ba2e['bboqz']);return;}_0x4750d9['screenshot']=async function(..._0x25d470){const _0x305285=_0x1c1cd2,_0x3d9f1d=await _0x1d126c[_0x305285(0x2bc)](this,_0x25d470);logger['info'](_0x31ba2e[_0x305285(0x12a)]);try{if(_0x3d9f1d){const _0x1ce33e=_0x31ba2e[_0x305285(0x236)](typeof _0x3d9f1d,_0x31ba2e[_0x305285(0x274)])?_0x3d9f1d:Buffer['from'](_0x3d9f1d)[_0x305285(0x339)](_0x31ba2e[_0x305285(0x3f1)]);logger['debug'](_0x31ba2e['nuquG']),await _0x31ba2e['hAPwk'](processPageScreenshot,_0x1ce33e,null);}}catch(_0x5a9ceb){logger[_0x305285(0x314)](_0x305285(0x120)+util[_0x305285(0x36d)](_0x5a9ceb));}return _0x3d9f1d;},_0x4750d9['_bstackScreenshotPatchApplied']=!![],logger[_0x1c1cd2(0x3c7)](_0x31ba2e['rZOVG']);}catch(_0x233b31){logger[_0x1c1cd2(0x314)](_0x1c1cd2(0x16c)+util['format'](_0x233b31));}},patchBrowser=(_0x2a9fa0,_0x4612a6)=>{const _0x302c3f=a80_0x2bc712,_0x5c61fb={'VtVjQ':_0x302c3f(0xe2),'FcfoF':function(_0x453207,..._0xcfa575){return _0x453207(..._0xcfa575);},'EpsEI':function(_0x48054f,_0x2ee914,_0x4bddc4){return _0x48054f(_0x2ee914,_0x4bddc4);},'VRzVc':function(_0x58028c,_0x4b25ac){return _0x58028c===_0x4b25ac;},'kpaBN':'function','dEyZo':_0x302c3f(0x1f4),'HChHM':function(_0x1aad26,..._0x30aa06){return _0x1aad26(..._0x30aa06);},'YchbS':_0x302c3f(0x28c),'kGjPx':function(_0x45399f,..._0x54eb74){return _0x45399f(..._0x54eb74);},'FZXFR':_0x302c3f(0x318),'jnqcO':_0x302c3f(0xf0),'jAKgb':function(_0x582b2b){return _0x582b2b();},'KNOUR':function(_0x3ccaee,_0x286a52){return _0x3ccaee>_0x286a52;},'mBDfN':_0x302c3f(0x23e),'tHmPs':function(_0x16dcf6,_0x2b19af){return _0x16dcf6===_0x2b19af;},'KHgkF':function(_0x4a6eac,_0x2a3d46){return _0x4a6eac===_0x2a3d46;},'aQLzB':function(_0x5b4fbe,_0x12c73f){return _0x5b4fbe===_0x12c73f;},'qpNzO':_0x302c3f(0x2f6),'CDSqG':'targetcreated','kdslQ':_0x302c3f(0x174),'nqsJK':function(_0x3c10e3,_0x55f5b2){return _0x3c10e3(_0x55f5b2);},'ZSBLz':function(_0x57fd04,_0x35e8da){return _0x57fd04!==_0x35e8da;},'zkhQQ':function(_0x21705b,_0x1c1b85){return _0x21705b!==_0x1c1b85;},'zRPHF':_0x302c3f(0x3ab)};logger['info']('[SDK-R1]\x20PATCH_BROWSER_ENTRY\x20hasBrowser='+!!_0x2a9fa0+'\x20already_patched='+!!(_0x2a9fa0&&_0x2a9fa0[_0x302c3f(0x28b)])+'\x20newPage_type='+(_0x2a9fa0&&typeof _0x2a9fa0[_0x302c3f(0x266)]));try{if(!_0x2a9fa0||_0x2a9fa0[_0x302c3f(0x28b)])return;if(_0x5c61fb[_0x302c3f(0x133)](typeof _0x2a9fa0[_0x302c3f(0x266)],_0x5c61fb[_0x302c3f(0x367)])){const _0x1d113e=_0x2a9fa0[_0x302c3f(0x266)]['bind'](_0x2a9fa0);_0x2a9fa0['newPage']=async function(..._0x867e32){const _0x57d2fc=_0x302c3f;logger[_0x57d2fc(0x3c7)](_0x5c61fb[_0x57d2fc(0x2ff)]);const _0x543950=await _0x5c61fb['FcfoF'](_0x1d113e,..._0x867e32);return logger[_0x57d2fc(0x314)](_0x57d2fc(0x177)+!!_0x543950),_0x5c61fb[_0x57d2fc(0x1c4)](patchPage,_0x543950,_0x2a9fa0),logger[_0x57d2fc(0x3c7)]('[SDK-R4]\x20BROWSER_NEWPAGE_POST_PATCH\x20hasPerformScan='+_0x5c61fb[_0x57d2fc(0x133)](typeof _0x543950?.['performScan'],_0x5c61fb[_0x57d2fc(0x367)])),_0x543950;},logger['info'](_0x5c61fb[_0x302c3f(0x132)]);}else logger['info']('[SDK-R6]\x20PATCH_BROWSER_NEWPAGE_MISSING\x20type='+typeof _0x2a9fa0[_0x302c3f(0x266)]);if(_0x5c61fb[_0x302c3f(0x340)](typeof _0x2a9fa0[_0x302c3f(0x107)],_0x5c61fb['kpaBN'])){const _0x128c9e=_0x2a9fa0[_0x302c3f(0x107)][_0x302c3f(0x3bb)](_0x2a9fa0);_0x2a9fa0['createBrowserContext']=async function(..._0x30f4c6){const _0x17fe1c=_0x302c3f;logger[_0x17fe1c(0x314)](_0x5c61fb[_0x17fe1c(0x2b3)]);const _0x418b25=await _0x5c61fb[_0x17fe1c(0x317)](_0x128c9e,..._0x30f4c6);return _0x5c61fb[_0x17fe1c(0x1c4)](patchContext,_0x418b25,_0x2a9fa0),_0x418b25;};}if(_0x5c61fb[_0x302c3f(0xfd)](typeof _0x2a9fa0[_0x302c3f(0x3f8)],_0x5c61fb['kpaBN'])){const _0x534590=_0x2a9fa0[_0x302c3f(0x3f8)][_0x302c3f(0x3bb)](_0x2a9fa0);_0x2a9fa0[_0x302c3f(0x3f8)]=async function(..._0x1ac810){const _0x46a9dc=_0x302c3f;logger[_0x46a9dc(0x314)](_0x5c61fb['YchbS']);const _0x58d4e6=await _0x5c61fb[_0x46a9dc(0x317)](_0x534590,..._0x1ac810);return _0x5c61fb[_0x46a9dc(0x1c4)](patchContext,_0x58d4e6,_0x2a9fa0),_0x58d4e6;};}let _0x55efa5=null;_0x5c61fb[_0x302c3f(0x114)](typeof _0x2a9fa0[_0x302c3f(0x3b4)],_0x5c61fb[_0x302c3f(0x367)])&&(_0x55efa5=_0x2a9fa0[_0x302c3f(0x3b4)][_0x302c3f(0x3bb)](_0x2a9fa0),_0x2a9fa0[_0x302c3f(0x3b4)]=async function(..._0x30a864){const _0x2bbd6c=_0x302c3f,_0x40ddeb=await _0x5c61fb[_0x2bbd6c(0x2bd)](_0x55efa5,..._0x30a864);return Array[_0x2bbd6c(0x2b6)](_0x40ddeb)&&_0x40ddeb[_0x2bbd6c(0x1d2)](_0x48bd99=>patchPage(_0x48bd99,_0x2a9fa0)),_0x40ddeb;},logger[_0x302c3f(0x314)](_0x5c61fb[_0x302c3f(0x2a0)])),_0x5c61fb[_0x302c3f(0x340)](typeof _0x2a9fa0['on'],_0x5c61fb[_0x302c3f(0x367)])&&(_0x2a9fa0['on'](_0x5c61fb['CDSqG'],async _0x5cf0f9=>{const _0x27bef9=_0x302c3f;try{if(_0x5c61fb[_0x27bef9(0x133)](_0x5cf0f9[_0x27bef9(0x2e3)](),_0x5c61fb[_0x27bef9(0x234)])){const _0x3b015f=await _0x5cf0f9['page']();_0x3b015f&&(_0x5c61fb[_0x27bef9(0x1c4)](patchPage,_0x3b015f,_0x2a9fa0),logger['debug'](_0x5c61fb[_0x27bef9(0x26b)]));}}catch(_0x693b9e){logger[_0x27bef9(0x314)](_0x27bef9(0x3c0)+util[_0x27bef9(0x36d)](_0x693b9e));}}),logger[_0x302c3f(0x314)](_0x5c61fb[_0x302c3f(0x382)])),_0x55efa5&&((async()=>{const _0x1f4d5f=_0x302c3f;try{const _0x4ff546=await _0x5c61fb['jAKgb'](_0x55efa5);Array['isArray'](_0x4ff546)&&_0x5c61fb['KNOUR'](_0x4ff546['length'],0x0)&&(_0x4ff546['forEach'](_0x20cec0=>patchPageScreenshot(_0x20cec0)),logger[_0x1f4d5f(0x314)](_0x1f4d5f(0x23b)+_0x4ff546[_0x1f4d5f(0x3d8)]+_0x1f4d5f(0x30c)));}catch(_0x41281e){logger['debug'](_0x1f4d5f(0x24f)+_0x41281e[_0x1f4d5f(0x2ab)]);}})()),_0x5c61fb[_0x302c3f(0x376)](patchBrowserClose,_0x2a9fa0),_0x2a9fa0['_bstackPatchApplied']=!![],logger[_0x302c3f(0x3c7)](_0x302c3f(0x2d4)+_0x5c61fb['ZSBLz'](_0x2a9fa0[_0x302c3f(0x266)],undefined)+'\x20pages_wrapped='+_0x5c61fb[_0x302c3f(0x16f)](_0x2a9fa0[_0x302c3f(0x3b4)],undefined));}catch(_0x200a6f){logger['info'](_0x302c3f(0x38b)+(_0x200a6f&&_0x200a6f[_0x302c3f(0x2ab)])+_0x302c3f(0x3bf)+(_0x200a6f&&_0x200a6f[_0x302c3f(0x2a5)]||'')[_0x302c3f(0x124)]('\x0a')[_0x302c3f(0x15c)](0x0,0x3)['join'](_0x5c61fb[_0x302c3f(0x1b8)])+'\x22');}},patchContext=(_0x78d4bd,_0x209557)=>{const _0x444195=a80_0x2bc712,_0x427b6d={'QWhDT':_0x444195(0x12c),'PRzOU':function(_0x5d679b,..._0x5f0610){return _0x5d679b(..._0x5f0610);},'UKydd':function(_0xbcd6a3,_0x32e2c9,_0xaed480){return _0xbcd6a3(_0x32e2c9,_0xaed480);},'Axplx':_0x444195(0x1fe),'rDzGL':function(_0x3ee3c7,_0x1315ff){return _0x3ee3c7===_0x1315ff;},'vwjxt':_0x444195(0x182),'JLrfb':function(_0x4e99f4,_0x1067b6){return _0x4e99f4===_0x1067b6;},'DBrEk':function(_0x31b1ef,_0x342073){return _0x31b1ef===_0x342073;},'FtLYV':function(_0x34e021,_0x440545){return _0x34e021===_0x440545;},'qwcCl':_0x444195(0x151)};try{if(!_0x78d4bd||_0x78d4bd[_0x444195(0x28b)])return;if(_0x427b6d[_0x444195(0x228)](typeof _0x78d4bd[_0x444195(0x266)],_0x427b6d[_0x444195(0x2ad)])){const _0x204f59=_0x78d4bd[_0x444195(0x266)][_0x444195(0x3bb)](_0x78d4bd);_0x78d4bd[_0x444195(0x266)]=async function(..._0x1021ae){const _0xfe7ead=_0x444195;logger[_0xfe7ead(0x314)](_0x427b6d[_0xfe7ead(0x31f)]);const _0x55bbe4=await _0x427b6d['PRzOU'](_0x204f59,..._0x1021ae);return _0x427b6d[_0xfe7ead(0x17c)](patchPage,_0x55bbe4,_0x209557),_0x55bbe4;};}if(_0x427b6d[_0x444195(0x262)](typeof _0x78d4bd[_0x444195(0x3b4)],_0x427b6d[_0x444195(0x2ad)]))try{const _0x1b69c0=_0x78d4bd[_0x444195(0x3b4)]();if(_0x1b69c0&&_0x427b6d[_0x444195(0x139)](typeof _0x1b69c0['then'],_0x427b6d[_0x444195(0x2ad)]))_0x1b69c0['then'](_0x18195e=>{Array['isArray'](_0x18195e)&&_0x18195e['forEach'](_0x215701=>patchPageScreenshot(_0x215701));})['catch'](_0x42aec7=>{const _0x2cfa0b=_0x444195;logger[_0x2cfa0b(0x314)](_0x2cfa0b(0x3fa)+_0x42aec7['message']);});else Array['isArray'](_0x1b69c0)&&_0x1b69c0['forEach'](_0xde9e0f=>patchPageScreenshot(_0xde9e0f));}catch(_0x21e9af){logger[_0x444195(0x314)](_0x444195(0x1ee)+_0x21e9af['message']);}if(_0x427b6d['FtLYV'](typeof _0x78d4bd[_0x444195(0x206)],_0x427b6d[_0x444195(0x2ad)])){const _0x361eab=_0x78d4bd[_0x444195(0x206)][_0x444195(0x3bb)](_0x78d4bd);_0x78d4bd[_0x444195(0x206)]=async function(..._0x2003d7){const _0x28bc98=_0x444195;return logger[_0x28bc98(0x314)](_0x427b6d[_0x28bc98(0x2c1)]),await _0x427b6d[_0x28bc98(0x108)](_0x361eab,..._0x2003d7);};}_0x78d4bd[_0x444195(0x28b)]=!![],logger[_0x444195(0x314)](_0x427b6d[_0x444195(0x1fb)]);}catch(_0x5ef354){logger[_0x444195(0x314)](_0x444195(0x249)+util[_0x444195(0x36d)](_0x5ef354));}},patchBrowserClose=_0x355109=>{const _0x34b8ff=a80_0x2bc712,_0x383d2f={};_0x383d2f[_0x34b8ff(0x220)]=_0x34b8ff(0x22e),_0x383d2f[_0x34b8ff(0x159)]=_0x34b8ff(0x140);const _0x4c6754=_0x383d2f;try{if(!_0x355109||_0x355109[_0x34b8ff(0x18e)])return;const _0x82a2e4=_0x355109['close'][_0x34b8ff(0x3bb)](_0x355109);_0x355109['close']=async function(..._0x426eed){const _0x25f92e=_0x34b8ff;logger[_0x25f92e(0x314)](_0x4c6754['AzRpv']),closeTracker[_0x25f92e(0x35a)](_0x355109);const _0x24b2ba=closeTracker[_0x25f92e(0x399)]['get'](_0x355109);return _0x24b2ba&&(_0x24b2ba[_0x25f92e(0x189)]=_0x82a2e4,_0x24b2ba[_0x25f92e(0x3e5)]=_0x426eed),Promise[_0x25f92e(0x175)]();},_0x355109['_bstackBrowserClosePatchApplied']=!![],logger[_0x34b8ff(0x314)](_0x4c6754[_0x34b8ff(0x159)]);}catch(_0x3d24a1){logger['debug'](_0x34b8ff(0x123)+util[_0x34b8ff(0x36d)](_0x3d24a1));}},_patchedLaunch=async(_0x25a81f,_0x1679a8,_0x240452={})=>{const _0x53e6ba=a80_0x2bc712,_0xd6699={'uaElk':function(_0x1ec6e7,_0x3aa264){return _0x1ec6e7||_0x3aa264;},'QkzFy':function(_0x2f969e,_0x47adf){return _0x2f969e+_0x47adf;},'UtOLE':_0x53e6ba(0x295),'ymPwv':function(_0x16be53,_0x501dae){return _0x16be53(_0x501dae);},'SBnaO':_0x53e6ba(0xeb),'iGEJt':function(_0x52703b,_0xe4f038){return _0x52703b<_0xe4f038;},'XPLOn':'4|2|1|3|0','KvxfS':function(_0x46972a,_0x3ce41c){return _0x46972a===_0x3ce41c;},'XEOKz':_0x53e6ba(0x31e),'vLUwt':_0x53e6ba(0x227),'kvLNk':function(_0x281881,_0x100fa6){return _0x281881(_0x100fa6);},'jOnIg':function(_0x3d2043,_0x4869cd,_0x930cd6){return _0x3d2043(_0x4869cd,_0x930cd6);},'LhzHK':function(_0x11055e,_0x5ddf67){return _0x11055e>_0x5ddf67;},'zQRhQ':function(_0x47d526){return _0x47d526();},'iHXRM':'unknown','TUWji':'[PuppeteerPatcher]\x20CREATE\x20POST\x20event\x20completed\x20for\x20local\x20browser','TSdpB':_0x53e6ba(0x20b),'gMOyf':'BrowserStack\x20SDK:\x20Could\x20not\x20build\x20CDP\x20endpoint\x20URL.\x20Ensure\x20browserstack.yml\x20has\x20valid\x20platforms\x20configured.','OYmuX':function(_0x2053d2,_0x403dfb){return _0x2053d2!==_0x403dfb;},'cufyP':function(_0x42562f,_0x2039dc){return _0x42562f||_0x2039dc;},'xnKyu':'caps','mvczp':_0x53e6ba(0x26a),'nhEPb':_0x53e6ba(0x291),'rHbct':_0x53e6ba(0x161),'nQEDT':_0x53e6ba(0x10f),'Vzirt':function(_0x5d4c1a,_0x585288){return _0x5d4c1a-_0x585288;},'HgeVe':function(_0x1afaca,_0x5f50f3){return _0x1afaca(_0x5f50f3);},'HuFSx':function(_0x4b9c2e,_0x3be8a8,_0x41d2aa){return _0x4b9c2e(_0x3be8a8,_0x41d2aa);},'AyrbB':function(_0x2ca3e9){return _0x2ca3e9();},'YLIJd':'[PuppeteerPatcher]\x20CREATE\x20POST\x20event\x20completed','DQyUZ':_0x53e6ba(0x3ab),'ScMFM':function(_0x2dee5c,_0xcad9e4){return _0x2dee5c(_0xcad9e4);}};logger[_0x53e6ba(0x3c7)](_0x53e6ba(0x3f3)+Object[_0x53e6ba(0x1bc)](_0xd6699['uaElk'](_0x240452,{}))[_0x53e6ba(0x1e9)](',')+'])'),logger[_0x53e6ba(0x314)](_0xd6699[_0x53e6ba(0x272)](_0xd6699[_0x53e6ba(0xf8)],JSON[_0x53e6ba(0xf4)](_0x240452,_redactOptionsForLog)));try{const _0x50aa8b=_0x240452[_0x53e6ba(0x231)]||'',[_0x2fb2f4,_0x27d59c]=_0x50aa8b?_0xd6699[_0x53e6ba(0x2c8)](parseCapabilitiesFromWsEndpoint,_0x50aa8b):[null,null],_0x55b6bf=_0x2fb2f4||_0x240452[_0x53e6ba(0x354)]||(Array[_0x53e6ba(0x2b6)](_0x240452[_0x53e6ba(0x282)])?_0x240452[_0x53e6ba(0x282)][global[_0x53e6ba(0x1ab)]||0x0]:_0x240452[_0x53e6ba(0x282)])||_0x240452||null;logger[_0x53e6ba(0x314)](_0x53e6ba(0x10c)+JSON[_0x53e6ba(0xf4)](_0x55b6bf));_0x55b6bf&&(global[_0x53e6ba(0x2de)]=_0x55b6bf);logger['debug']('[PuppeteerPatcher]\x20Resolved\x20platformCaps:\x20'+JSON['stringify'](global[_0x53e6ba(0x2de)])),logger[_0x53e6ba(0x314)](_0x53e6ba(0x190)+_0x27d59c),logger[_0x53e6ba(0x314)](_0x53e6ba(0x16d)+_0x50aa8b);let _0x555c0c=global['__platformCaps'];const _0x334bc0=0x0;try{if(BrowserstackCLI[_0x53e6ba(0x169)]()[_0x53e6ba(0x28d)]()&&!BrowserstackCLI[_0x53e6ba(0x169)]()[_0x53e6ba(0x25e)]()){logger['debug'](_0xd6699[_0x53e6ba(0x34c)]);for(let _0x4c03a2=0x0;_0xd6699[_0x53e6ba(0x11e)](_0x4c03a2,0x32);_0x4c03a2++){await new Promise(_0x4ebc29=>setTimeout(_0x4ebc29,0x64));if(BrowserstackCLI[_0x53e6ba(0x169)]()['isBootstrapped']())break;}logger['debug'](_0x53e6ba(0x226)+BrowserstackCLI[_0x53e6ba(0x169)]()[_0x53e6ba(0x25e)]());}if(BrowserstackCLI[_0x53e6ba(0x169)]()['isCliEnabled']()&&BrowserstackCLI['getInstance']()[_0x53e6ba(0x25e)]()){const _0x383819=_0xd6699[_0x53e6ba(0x238)][_0x53e6ba(0x124)]('|');let _0x533361=0x0;while(!![]){switch(_0x383819[_0x533361++]){case'0':logger['debug']('[PuppeteerPatcher]\x20CREATE\x20PRE\x20event\x20completed,\x20platformIndex='+_0x334bc0);continue;case'1':_0x555c0c=global[_0x53e6ba(0xf3)]||{};continue;case'2':logger[_0x53e6ba(0x314)](_0x53e6ba(0x3d6)+JSON['stringify'](global[_0x53e6ba(0xf3)]));continue;case'3':logger[_0x53e6ba(0x314)]('[PuppeteerPatcher]\x20Extracted\x20capabilities\x20from\x20CREATE\x20PRE\x20result:\x20'+JSON[_0x53e6ba(0xf4)](global[_0x53e6ba(0xf3)])+_0x53e6ba(0x2b9)+JSON[_0x53e6ba(0xf4)](_0x555c0c));continue;case'4':await BrowserstackCLI[_0x53e6ba(0x169)]()[_0x53e6ba(0x37a)]()[_0x53e6ba(0x2ba)](AutomationFrameworkState['CREATE'],HookState[_0x53e6ba(0x3ed)],{'launchcaps':global['__platformCaps']||{},'hubUrl':_0x27d59c||BrowserstackCLI[_0x53e6ba(0x169)]()['getConfig']()?.[_0x53e6ba(0x129)]||''});continue;}break;}}}catch(_0x50b9cb){logger['debug'](_0x53e6ba(0x3fe)+util[_0x53e6ba(0x36d)](_0x50b9cb));}if(!_0x555c0c||_0xd6699['KvxfS'](Object['keys'](_0x555c0c)[_0x53e6ba(0x3d8)],0x0)){logger[_0x53e6ba(0x314)](_0xd6699[_0x53e6ba(0x16e)]);if(global[_0x53e6ba(0x1c6)]&&global[_0x53e6ba(0x1c6)][_0x53e6ba(0x354)])_0x555c0c=global[_0x53e6ba(0x1c6)][_0x53e6ba(0x354)],logger['debug'](_0x53e6ba(0x14c)+JSON[_0x53e6ba(0xf4)](_0x555c0c));else{if(global['jestConfig']&&global[_0x53e6ba(0x1c6)][_0x53e6ba(0x282)]&&Array[_0x53e6ba(0x2b6)](global[_0x53e6ba(0x1c6)][_0x53e6ba(0x282)])){const _0x5cb92a=global['__bstackPlatformIndex']||0x0;_0x555c0c=global[_0x53e6ba(0x1c6)][_0x53e6ba(0x282)][_0x5cb92a]||global[_0x53e6ba(0x1c6)][_0x53e6ba(0x282)][0x0],logger[_0x53e6ba(0x314)](_0x53e6ba(0x297)+_0x5cb92a+_0x53e6ba(0xe6)+JSON['stringify'](_0x555c0c));}}}logger[_0x53e6ba(0x314)](_0x53e6ba(0x364)+helper[_0x53e6ba(0x289)](_0x27d59c));if(!helper[_0x53e6ba(0x3a4)]()&&!helper[_0x53e6ba(0x289)](_0x27d59c)){logger[_0x53e6ba(0x314)](_0xd6699[_0x53e6ba(0xde)]);const _0x13d324=await _0xd6699[_0x53e6ba(0x2cc)](_0x1679a8,_0x240452);await _0xd6699[_0x53e6ba(0x2c8)](getPlatformDetails,_0x13d324),_0xd6699[_0x53e6ba(0x15d)](patchBrowser,_0x13d324,_0x240452);try{if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&BrowserstackCLI[_0x53e6ba(0x169)]()[_0x53e6ba(0x25e)]()){let _0x1d0485=null;try{const _0x59d403=await _0x13d324[_0x53e6ba(0x3b4)]();_0x59d403&&_0xd6699[_0x53e6ba(0x342)](_0x59d403[_0x53e6ba(0x3d8)],0x0)&&(_0x1d0485=_0x59d403[0x0],_0xd6699[_0x53e6ba(0x15d)](patchPage,_0x1d0485,_0x13d324));}catch(_0x3fe45){logger[_0x53e6ba(0x314)](_0x53e6ba(0x39e)+_0x3fe45[_0x53e6ba(0x2ab)]);}const _0x3dfdba=_0xd6699[_0x53e6ba(0x33c)](getWorkerDetails)[_0x53e6ba(0x1d9)]?.[_0x53e6ba(0x38e)]||global[_0x53e6ba(0x2dd)],_0x4f7c51={};_0x4f7c51[_0x53e6ba(0x186)]=_0x240452['browser']||_0x555c0c[_0x53e6ba(0x20f)]||_0x555c0c['channel']||_0xd6699['iHXRM'],_0x4f7c51[_0x53e6ba(0x173)]=_0x555c0c[_0x53e6ba(0x2d3)]||_0x555c0c['version']||_0xd6699[_0x53e6ba(0x35d)],_0x4f7c51['os']=_0x555c0c['os']||_0x555c0c[_0x53e6ba(0x13a)]||_0xd6699[_0x53e6ba(0x35d)],_0x4f7c51['os_version']=_0x555c0c[_0x53e6ba(0x327)]||_0x555c0c['platformVersion']||_0xd6699['iHXRM'],global['__platformCaps']=_0x4f7c51,global[_0x53e6ba(0xf3)]=global[_0x53e6ba(0x2de)];const _0x1cff59={};_0x1cff59[_0x53e6ba(0x318)]=_0x1d0485,_0x1cff59[_0x53e6ba(0x186)]=_0x13d324,_0x1cff59[_0x53e6ba(0x38e)]=_0x3dfdba,_0x1cff59[_0x53e6ba(0x3f7)]=FRAMEWORKS[_0x53e6ba(0x138)],_0x1cff59[_0x53e6ba(0x2fc)]=global[_0x53e6ba(0xf3)],_0x1cff59[_0x53e6ba(0x396)]=global[_0x53e6ba(0x2de)],await BrowserstackCLI[_0x53e6ba(0x169)]()[_0x53e6ba(0x37a)]()[_0x53e6ba(0x2ba)](AutomationFrameworkState[_0x53e6ba(0x281)],HookState[_0x53e6ba(0x3be)],_0x1cff59),logger[_0x53e6ba(0x314)](_0xd6699['TUWji']);}}catch(_0x40becb){logger['debug'](_0x53e6ba(0x1fa)+util[_0x53e6ba(0x36d)](_0x40becb));}return _0x13d324;}const _0xbc184f=_0xd6699[_0x53e6ba(0x15d)](buildCdpEndpointUrl,_0x555c0c,_0x334bc0);logger[_0x53e6ba(0x314)](_0x53e6ba(0x1b1)+_0xbc184f);if(!_0xbc184f){logger[_0x53e6ba(0x125)](_0xd6699[_0x53e6ba(0x3da)]);throw new Error(_0xd6699['gMOyf']);}const _0x2cd9a6=0x57e40,_0x1cef6e={};_0x1cef6e[_0x53e6ba(0x231)]=_0xbc184f,_0x1cef6e[_0x53e6ba(0x1f5)]=_0x2cd9a6;const _0x133739=_0x1cef6e;_0xd6699[_0x53e6ba(0x3a2)](_0x240452[_0x53e6ba(0x3b0)],undefined)&&(_0x133739[_0x53e6ba(0x3b0)]=_0x240452[_0x53e6ba(0x3b0)]);_0xd6699[_0x53e6ba(0x3a2)](_0x240452[_0x53e6ba(0x1a0)],undefined)&&(_0x133739[_0x53e6ba(0x1a0)]=_0x240452[_0x53e6ba(0x1a0)]);_0xd6699[_0x53e6ba(0x3a2)](_0x240452[_0x53e6ba(0x1f5)],undefined)&&_0xd6699['LhzHK'](_0x240452['protocolTimeout'],_0x2cd9a6)&&(_0x133739[_0x53e6ba(0x1f5)]=_0x240452['protocolTimeout']);let _0xe1a636=![],_0x479461='';try{const _0x243895=new URL(_0xd6699[_0x53e6ba(0xe5)](_0xbc184f,''));_0xe1a636=_0x243895['searchParams'][_0x53e6ba(0x1d1)](_0xd6699[_0x53e6ba(0x197)]),_0x479461=_0x243895['search'];}catch(_0x26ea1d){}const _0x4877ad=_0xbc184f?_0xd6699[_0x53e6ba(0x2c8)](require,_0xd6699[_0x53e6ba(0x2a9)])[_0x53e6ba(0x313)](_0xd6699[_0x53e6ba(0x273)])[_0x53e6ba(0x2b8)](_0xbc184f)[_0x53e6ba(0x1a1)](_0xd6699[_0x53e6ba(0x3ee)])[_0x53e6ba(0x15c)](0x0,0x8):'';logger[_0x53e6ba(0x3c7)]('[SDK-L1]\x20SDK_ORIG_CONNECT_PRE\x20cdpUrl_len='+(_0xbc184f?_0xbc184f['length']:_0xd6699[_0x53e6ba(0x290)])+_0x53e6ba(0x2fa)+_0xe1a636+_0x53e6ba(0x13e)+_0x479461[_0x53e6ba(0x3d8)]+_0x53e6ba(0x38f)+_0x4877ad);const _0x46b9ef=Date[_0x53e6ba(0x349)](),_0x167ed9=await _0xd6699[_0x53e6ba(0x2c8)](_0x25a81f,_0x133739);logger[_0x53e6ba(0x3c7)]('[SDK-L2]\x20SDK_ORIG_CONNECT_POST\x20duration_ms='+_0xd6699['Vzirt'](Date[_0x53e6ba(0x349)](),_0x46b9ef)),await _0xd6699[_0x53e6ba(0x1df)](getPlatformDetails,_0x167ed9),logger[_0x53e6ba(0x3c7)]('[SDK-L3]\x20SDK_PLATFORM_DETAILS\x20bstackSessionId='+global[_0x53e6ba(0x37d)]+'\x20platformCaps='+JSON[_0x53e6ba(0xf4)](global[_0x53e6ba(0x2de)])),_0xd6699['HuFSx'](patchBrowser,_0x167ed9,_0x240452);try{if(BrowserstackCLI[_0x53e6ba(0x169)]()[_0x53e6ba(0x28d)]()&&BrowserstackCLI[_0x53e6ba(0x169)]()['isRunning']()){let _0x14c7f0=null;try{const _0x581c88=await _0x167ed9[_0x53e6ba(0x3b4)]();_0x581c88&&_0xd6699[_0x53e6ba(0x342)](_0x581c88[_0x53e6ba(0x3d8)],0x0)&&(_0x14c7f0=_0x581c88[0x0],_0xd6699['HuFSx'](patchPage,_0x14c7f0,_0x167ed9));}catch(_0x299a26){logger[_0x53e6ba(0x314)]('[PuppeteerPatcher]\x20Could\x20not\x20get\x20initial\x20pages:\x20'+_0x299a26['message']);}const _0x2436e3=_0xd6699[_0x53e6ba(0xff)](getWorkerDetails),_0x19d2d5=_0x2436e3[_0x53e6ba(0x1d9)]?.['testInfo']||global[_0x53e6ba(0x2dd)],_0x36ef02={};_0x36ef02['page']=_0x14c7f0,_0x36ef02[_0x53e6ba(0x186)]=_0x167ed9,_0x36ef02[_0x53e6ba(0x38e)]=_0x19d2d5,_0x36ef02[_0x53e6ba(0x3f7)]=FRAMEWORKS[_0x53e6ba(0x138)],_0x36ef02['launchCaps']=global[_0x53e6ba(0xf3)],_0x36ef02['platformCaps']=global['__platformCaps'],await BrowserstackCLI[_0x53e6ba(0x169)]()[_0x53e6ba(0x37a)]()[_0x53e6ba(0x2ba)](AutomationFrameworkState[_0x53e6ba(0x281)],HookState[_0x53e6ba(0x3be)],_0x36ef02),logger[_0x53e6ba(0x314)](_0xd6699[_0x53e6ba(0x1f1)]);}}catch(_0x1086a7){logger[_0x53e6ba(0x314)](_0x53e6ba(0x3e4)+util['format'](_0x1086a7));}return _0x167ed9;}catch(_0x353760){return logger['error']('[SDK-L9]\x20SDK_PATCHED_LAUNCH_CATCH\x20error_msg=\x22'+(_0x353760&&_0x353760[_0x53e6ba(0x2ab)])+_0x53e6ba(0x30b)+(_0x353760&&_0x353760[_0x53e6ba(0x2a5)]||'')[_0x53e6ba(0x124)]('\x0a')['slice'](0x0,0x3)['join'](_0xd6699[_0x53e6ba(0x141)])+_0x53e6ba(0xe8)+util[_0x53e6ba(0x36d)](_0x353760)),logger[_0x53e6ba(0x314)](_0x53e6ba(0x15e)+util['format'](_0x353760)),await _0xd6699[_0x53e6ba(0x1bd)](_0x1679a8,_0x240452);}},getPlatformDetails=async _0x242890=>{const _0x571298=a80_0x2bc712,_0x2d40e7={};_0x2d40e7[_0x571298(0x3f6)]=function(_0x41e2c4,_0xc2545d){return _0x41e2c4+_0xc2545d;},_0x2d40e7[_0x571298(0x3b1)]=function(_0x492db2,_0x9f5089){return _0x492db2+_0x9f5089;};const _0x2bd2a4=_0x2d40e7;try{const _0x53809d=await _0x242890[_0x571298(0x21f)](),_0x12e724=_0x53809d['indexOf']('/');global['__platformCaps']={'browser':_0x53809d[_0x571298(0x33e)](0x0,_0x12e724),'browser_version':_0x53809d['substring'](_0x2bd2a4[_0x571298(0x3f6)](_0x12e724,0x1)),'os':global[_0x571298(0x1c5)]?.[_0x571298(0x13a)],'os_version':global[_0x571298(0x1c5)]?.[_0x571298(0x25c)]},global[_0x571298(0xf3)]={...global['__launchCaps'],'browser':_0x53809d[_0x571298(0x33e)](0x0,_0x12e724),'browser_version':_0x53809d['substring'](_0x2bd2a4[_0x571298(0x3b1)](_0x12e724,0x1)),'os':global[_0x571298(0x1c5)]?.[_0x571298(0x13a)],'os_version':global[_0x571298(0x1c5)]?.[_0x571298(0x25c)]},logger[_0x571298(0x314)]('[PuppeteerPatcher]\x20Session\x20details:\x20'+JSON[_0x571298(0xf4)](global[_0x571298(0x2de)]));}catch(_0x2f7367){logger['debug'](_0x571298(0x112)+_0x2f7367[_0x571298(0x2ab)]);}},parseCapabilitiesFromWsEndpoint=_0x520b40=>{const _0x150bc9=a80_0x2bc712,_0x5bf3c0={'tYMtm':_0x150bc9(0x199),'DRQez':'host','VuKLJ':function(_0x166c7c,_0x4a309b){return _0x166c7c(_0x4a309b);}};try{const _0x13c95f=new URL(_0x520b40),_0x3c7e0b=_0x13c95f[_0x150bc9(0x29a)][_0x150bc9(0x11b)](_0x5bf3c0[_0x150bc9(0xf7)]),_0x4b1b61=_0x13c95f[_0x150bc9(0x26e)]||_0x13c95f[_0x150bc9(0x29a)][_0x150bc9(0x11b)](_0x5bf3c0[_0x150bc9(0xe9)]);if(_0x3c7e0b){const _0x16a6a6=_0x5bf3c0['VuKLJ'](decodeURIComponent,_0x3c7e0b);return[JSON[_0x150bc9(0x1c7)](_0x16a6a6),_0x4b1b61];}}catch(_0x8b8e00){logger['debug'](_0x150bc9(0x143)+util[_0x150bc9(0x36d)](_0x8b8e00));}return[null,null];},_patchedConnect=async(_0x4605b1,_0x24d6db={})=>{const _0x1e629c=a80_0x2bc712,_0x32426b={'CEKnX':function(_0x31ff5b,_0x276234){return _0x31ff5b||_0x276234;},'AjGYt':function(_0x563b1d,_0x42420e){return _0x563b1d(_0x42420e);},'kxPUL':function(_0x254389,_0x45c937){return _0x254389(_0x45c937);},'GJjST':_0x1e629c(0x26a),'gDqrR':_0x1e629c(0x291),'YKIXP':_0x1e629c(0x161),'UDxCk':'[PuppeteerPatcher]\x20CLI\x20not\x20fully\x20bootstrapped\x20yet,\x20waiting...','pKxoA':function(_0x95ef8a,_0x14d614){return _0x95ef8a<_0x14d614;},'slcKE':function(_0x4a7b39,_0x343192){return _0x4a7b39||_0x343192;},'Dwoht':_0x1e629c(0x227),'pCjJv':function(_0x482e67,_0x5a55f5){return _0x482e67(_0x5a55f5);},'RpKSN':function(_0x3817c1,_0x5f0065,_0x5f2f4f){return _0x3817c1(_0x5f0065,_0x5f2f4f);},'xCawn':function(_0xe75d0c,_0x2f9063){return _0xe75d0c>_0x2f9063;},'xgMYE':function(_0x59460e,_0x3b3e57,_0x4db08f){return _0x59460e(_0x3b3e57,_0x4db08f);},'jMdae':function(_0x51de98){return _0x51de98();},'uxQbe':'[PuppeteerPatcher]\x20CREATE\x20POST\x20event\x20completed\x20for\x20local\x20browser','swXIS':_0x1e629c(0x155),'ripdb':function(_0xcca1be,_0x527034){return _0xcca1be(_0x527034);},'KcYPr':_0x1e629c(0x34e),'EtRTP':function(_0x4c8043,_0x2da021){return _0x4c8043>_0x2da021;},'gPfWd':function(_0x3dab47,_0x358225,_0x3b0784){return _0x3dab47(_0x358225,_0x3b0784);},'oSWxU':_0x1e629c(0x3b2),'LJiSn':function(_0x1ec169,_0x5dd267){return _0x1ec169(_0x5dd267);}};logger[_0x1e629c(0x3c7)]('[PuppeteerPatcher]\x20Intercepted\x20puppeteer.connect()\x20call\x20(options\x20keys:\x20['+Object[_0x1e629c(0x1bc)](_0x32426b[_0x1e629c(0x39c)](_0x24d6db,{}))['join'](',')+'])'),logger[_0x1e629c(0x314)](_0x1e629c(0x326)+JSON['stringify'](_0x24d6db,_redactOptionsForLog));const _0x1861e5={..._0x24d6db},_0x432626=_0x1861e5;try{const _0x3f2128=_0x24d6db['browserWSEndpoint']||'',[_0x1a4e63,_0xc21489]=_0x3f2128?_0x32426b['AjGYt'](parseCapabilitiesFromWsEndpoint,_0x3f2128):[null,null],_0x46c389=_0x1a4e63||_0x24d6db[_0x1e629c(0x354)]||(Array[_0x1e629c(0x2b6)](_0x24d6db[_0x1e629c(0x282)])?_0x24d6db['capabilities'][global[_0x1e629c(0x1ab)]||0x0]:_0x24d6db[_0x1e629c(0x282)])||null;_0x46c389&&(global[_0x1e629c(0x2de)]=_0x46c389);const _0x598417=JSON[_0x1e629c(0xf4)](global[_0x1e629c(0x2de)]),_0x26eeda=_0x32426b[_0x1e629c(0x25d)](require,_0x32426b[_0x1e629c(0x104)])[_0x1e629c(0x313)](_0x32426b[_0x1e629c(0x1ef)])[_0x1e629c(0x2b8)](_0x598417)[_0x1e629c(0x1a1)](_0x32426b[_0x1e629c(0x247)])[_0x1e629c(0x15c)](0x0,0x8);logger[_0x1e629c(0x3c7)]('[PuppeteerPatcher]\x20Resolved\x20platformCaps:\x20len='+_0x598417['length']+'\x20fp='+_0x26eeda+_0x1e629c(0x2cd)+Object[_0x1e629c(0x1bc)](global[_0x1e629c(0x2de)]||{})[_0x1e629c(0x1e9)](',')+']'),logger['info']('[PuppeteerPatcher]\x20Parsed\x20host\x20from\x20wsEndpoint:\x20'+_0xc21489),logger[_0x1e629c(0x314)]('[PuppeteerPatcher]\x20Injecting\x20BrowserStack\x20CDP\x20URL\x20into\x20connect()\x20'+_0x3f2128);let _0x3768f1=global[_0x1e629c(0x2de)];const _0x3878b9=0x0;try{if(BrowserstackCLI[_0x1e629c(0x169)]()['isCliEnabled']()&&!BrowserstackCLI[_0x1e629c(0x169)]()[_0x1e629c(0x25e)]()){logger[_0x1e629c(0x314)](_0x32426b[_0x1e629c(0x1cf)]);for(let _0x17694e=0x0;_0x32426b[_0x1e629c(0x383)](_0x17694e,0x32);_0x17694e++){await new Promise(_0xda21f8=>setTimeout(_0xda21f8,0x64));if(BrowserstackCLI[_0x1e629c(0x169)]()[_0x1e629c(0x25e)]())break;}logger[_0x1e629c(0x314)](_0x1e629c(0x226)+BrowserstackCLI[_0x1e629c(0x169)]()[_0x1e629c(0x25e)]());}BrowserstackCLI[_0x1e629c(0x169)]()[_0x1e629c(0x28d)]()&&BrowserstackCLI[_0x1e629c(0x169)]()[_0x1e629c(0x25e)]()&&(await BrowserstackCLI[_0x1e629c(0x169)]()['getAutomationFramework']()[_0x1e629c(0x2ba)](AutomationFrameworkState[_0x1e629c(0x281)],HookState['PRE'],{'launchcaps':_0x32426b[_0x1e629c(0x3a3)](_0x3768f1,{}),'hubUrl':_0xc21489||BrowserstackCLI[_0x1e629c(0x169)]()['getConfig']()?.[_0x1e629c(0x129)]||''}),_0x3768f1=global['__launchCaps']||{},logger['debug'](_0x1e629c(0x1d8)+_0x3878b9));}catch(_0x51d30c){logger[_0x1e629c(0x314)](_0x1e629c(0x3fe)+util[_0x1e629c(0x36d)](_0x51d30c));}logger['debug']('[PuppeteerPatcher]\x20Checking\x20if\x20running\x20against\x20BrowserStack\x20infrastructure\x20or\x20URL:\x20'+_0xc21489+'\x20'+helper['isBrowserstackUrl'](_0xc21489));if(!helper[_0x1e629c(0x3a4)]()&&!helper[_0x1e629c(0x289)](_0xc21489)){logger[_0x1e629c(0x314)](_0x32426b[_0x1e629c(0x1f0)]);const _0x5b1ea9=await _0x32426b[_0x1e629c(0x336)](_0x4605b1,_0x24d6db);await _0x32426b[_0x1e629c(0x333)](getPlatformDetails,_0x5b1ea9),_0x32426b['RpKSN'](patchBrowser,_0x5b1ea9,_0x24d6db);try{if(BrowserstackCLI[_0x1e629c(0x169)]()[_0x1e629c(0x28d)]()&&BrowserstackCLI['getInstance']()[_0x1e629c(0x25e)]()){let _0x31bf5=null;try{const _0x2d7b98=await _0x5b1ea9[_0x1e629c(0x3b4)]();_0x2d7b98&&_0x32426b['xCawn'](_0x2d7b98[_0x1e629c(0x3d8)],0x0)&&(_0x31bf5=_0x2d7b98[0x0],_0x32426b[_0x1e629c(0x1d7)](patchPage,_0x31bf5,_0x5b1ea9));}catch(_0x19e1f4){logger[_0x1e629c(0x314)](_0x1e629c(0x39e)+_0x19e1f4[_0x1e629c(0x2ab)]);}const _0x5bc9ec=_0x32426b[_0x1e629c(0x134)](getWorkerDetails)['currentTest']?.[_0x1e629c(0x38e)]||global['__currentTestInfo'],_0x33d2cc={};_0x33d2cc[_0x1e629c(0x318)]=_0x31bf5,_0x33d2cc[_0x1e629c(0x186)]=_0x5b1ea9,_0x33d2cc[_0x1e629c(0x38e)]=_0x5bc9ec,_0x33d2cc[_0x1e629c(0x3f7)]=FRAMEWORKS['JEST'],_0x33d2cc[_0x1e629c(0x2fc)]=global[_0x1e629c(0xf3)],_0x33d2cc['platformCaps']=global[_0x1e629c(0x2de)],await BrowserstackCLI[_0x1e629c(0x169)]()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState[_0x1e629c(0x281)],HookState[_0x1e629c(0x3be)],_0x33d2cc),logger[_0x1e629c(0x314)](_0x32426b[_0x1e629c(0x213)]);}}catch(_0x3ab496){logger['debug'](_0x1e629c(0x1fa)+util['format'](_0x3ab496));}return _0x5b1ea9;}const _0x1820c8=_0x32426b[_0x1e629c(0xf6)](buildCdpEndpointUrl,_0x3768f1,_0x3878b9);if(!_0x1820c8)return logger[_0x1e629c(0x314)](_0x32426b['swXIS']),await _0x32426b['ripdb'](_0x4605b1,_0x432626);const _0xb90e93=_0x32426b[_0x1e629c(0x336)](require,_0x32426b[_0x1e629c(0x104)])[_0x1e629c(0x313)](_0x32426b[_0x1e629c(0x1ef)])[_0x1e629c(0x2b8)](_0x1820c8)[_0x1e629c(0x1a1)](_0x32426b[_0x1e629c(0x247)])[_0x1e629c(0x15c)](0x0,0x8);logger['info'](_0x1e629c(0x3f4)+_0x1820c8[_0x1e629c(0x3d8)]+_0x1e629c(0x278)+_0xb90e93);const _0x2dc7d8=0x57e40,_0x1ed1e9={'protocolTimeout':_0x2dc7d8,..._0x432626};_0x1ed1e9[_0x1e629c(0x231)]=_0x1820c8;const _0x7f7512=_0x1ed1e9;_0x7f7512[_0x1e629c(0x1f5)]=Math[_0x1e629c(0x3c4)](_0x432626[_0x1e629c(0x1f5)]||0x0,_0x2dc7d8),logger[_0x1e629c(0x314)](_0x32426b[_0x1e629c(0x2f7)]);const _0x27ec7e=await _0x32426b[_0x1e629c(0x25d)](_0x4605b1,_0x7f7512);await _0x32426b[_0x1e629c(0x336)](getPlatformDetails,_0x27ec7e),_0x32426b[_0x1e629c(0x1d7)](patchBrowser,_0x27ec7e,_0x24d6db);try{if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&BrowserstackCLI[_0x1e629c(0x169)]()[_0x1e629c(0x34d)]()){let _0x1d66fe=null;try{const _0x115dcd=await _0x27ec7e[_0x1e629c(0x3b4)]();_0x115dcd&&_0x32426b[_0x1e629c(0x2f9)](_0x115dcd[_0x1e629c(0x3d8)],0x0)&&(_0x1d66fe=_0x115dcd[0x0],_0x32426b[_0x1e629c(0xec)](patchPage,_0x1d66fe,_0x27ec7e));}catch(_0x171c4a){logger[_0x1e629c(0x314)](_0x1e629c(0x264)+_0x171c4a[_0x1e629c(0x2ab)]);}const _0xa00569=_0x32426b['jMdae'](getWorkerDetails),_0x516e67=_0xa00569['currentTest']?.[_0x1e629c(0x38e)]||global['__currentTestInfo'],_0x2cbe2e={};_0x2cbe2e[_0x1e629c(0x318)]=_0x1d66fe,_0x2cbe2e[_0x1e629c(0x186)]=_0x27ec7e,_0x2cbe2e[_0x1e629c(0x38e)]=_0x516e67,_0x2cbe2e['testFramework']=FRAMEWORKS[_0x1e629c(0x138)],_0x2cbe2e[_0x1e629c(0x2fc)]=global[_0x1e629c(0xf3)],_0x2cbe2e['platformCaps']=global['__platformCaps'],await BrowserstackCLI[_0x1e629c(0x169)]()[_0x1e629c(0x37a)]()[_0x1e629c(0x2ba)](AutomationFrameworkState[_0x1e629c(0x281)],HookState['POST'],_0x2cbe2e),logger[_0x1e629c(0x314)](_0x32426b[_0x1e629c(0x2f0)]);}}catch(_0x29fb74){logger[_0x1e629c(0x314)](_0x1e629c(0x3e4)+util[_0x1e629c(0x36d)](_0x29fb74));}return _0x27ec7e;}catch(_0x2657bf){return logger['debug'](_0x1e629c(0x1b7)+util[_0x1e629c(0x36d)](_0x2657bf)),await _0x32426b['LJiSn'](_0x4605b1,_0x432626);}},markSessionOnBrowserStack=async()=>{const _0x2857ab=a80_0x2bc712,_0x190a8b={'TVLaA':function(_0xdc24ac,_0x515ff0){return _0xdc24ac===_0x515ff0;},'labDg':_0x2857ab(0x182),'UqWpp':function(_0x1d9899,_0x1da914){return _0x1d9899>_0x1da914;},'gqpuO':function(_0x3589e3){return _0x3589e3();},'eDgXj':function(_0x4c4446,_0x5b90c8){return _0x4c4446!==_0x5b90c8;},'Gepin':_0x2857ab(0x37c),'wiDYt':function(_0x116fec){return _0x116fec();},'bpYlQ':function(_0x59af29,_0x5eed4d,_0x1756c5){return _0x59af29(_0x5eed4d,_0x1756c5);},'IpGNs':_0x2857ab(0x24c),'DLiBp':function(_0x5724d0,_0xbabc70){return _0x5724d0===_0xbabc70;},'QsNge':_0x2857ab(0x1a3),'gNykd':_0x2857ab(0x215),'TUsGO':_0x2857ab(0x121),'xGAHN':function(_0x5027dd,_0x55773b){return _0x5027dd===_0x55773b;},'biKyk':function(_0x6450e8,_0x435ca5){return _0x6450e8>_0x435ca5;},'okZGR':function(_0x25ed11,_0x4f19fd){return _0x25ed11===_0x4f19fd;},'rzhHt':_0x2857ab(0x1f6),'ELAjj':_0x2857ab(0x3b3),'KfgTC':function(_0x244921,_0xf5e43e){return _0x244921===_0xf5e43e;},'Wlcjr':function(_0x1a68b4,_0x37a67e){return _0x1a68b4!==_0x37a67e;},'xamng':function(_0x48852a,_0x4e89b1,_0x1b70e7,_0x28bcc8){return _0x48852a(_0x4e89b1,_0x1b70e7,_0x28bcc8);},'WYbZK':function(_0x46de09,_0x552f4f){return _0x46de09||_0x552f4f;},'gPbhH':function(_0x1ce7e3,_0x1767b5){return _0x1ce7e3+_0x1767b5;},'MQSaU':function(_0x53830f,_0xb00ec3){return _0x53830f+_0xb00ec3;},'QlAWU':_0x2857ab(0x35b)};try{let _0x55b35b=null;for(const [_0x2d0d14]of closeTracker['pages']){if(_0x2d0d14&&_0x190a8b[_0x2857ab(0x1b5)](typeof _0x2d0d14[_0x2857ab(0x2af)],_0x190a8b[_0x2857ab(0x195)])&&!_0x2d0d14[_0x2857ab(0x2af)]()){_0x55b35b=_0x2d0d14;break;}}if(!_0x55b35b)for(const [_0x2a2bba]of closeTracker[_0x2857ab(0x399)]){try{const _0x5622b1=await _0x2a2bba[_0x2857ab(0x3b4)]();if(_0x5622b1&&_0x190a8b[_0x2857ab(0x2e9)](_0x5622b1[_0x2857ab(0x3d8)],0x0)){_0x55b35b=_0x5622b1[_0x2857ab(0x3dc)](_0x28ab8b=>typeof _0x28ab8b[_0x2857ab(0x2af)]==='function'&&!_0x28ab8b[_0x2857ab(0x2af)]())||_0x5622b1[0x0];if(_0x55b35b)break;}}catch(_0x7795ac){logger[_0x2857ab(0x314)]('[PuppeteerPatcher]\x20Could\x20not\x20get\x20pages\x20from\x20browser:\x20'+_0x7795ac[_0x2857ab(0x2ab)]);}}if(!_0x55b35b){const _0xaf89cb=_0x190a8b[_0x2857ab(0x311)](getPageFromAutomationFramework);_0xaf89cb&&(_0x190a8b[_0x2857ab(0x3ad)](typeof _0xaf89cb[_0x2857ab(0x2af)],_0x190a8b['labDg'])||!_0xaf89cb[_0x2857ab(0x2af)]())&&(_0x55b35b=_0xaf89cb);}if(!_0x55b35b)for(const [_0x409b8c]of closeTracker['browsers']){try{_0x55b35b=await _0x409b8c[_0x2857ab(0x266)](),logger[_0x2857ab(0x314)](_0x190a8b[_0x2857ab(0x359)]);break;}catch(_0x5973f4){logger[_0x2857ab(0x314)](_0x2857ab(0x344)+_0x5973f4[_0x2857ab(0x2ab)]);}}if(!_0x55b35b){const _0x83ee2f=closeTracker&&closeTracker['browsers']&&closeTracker[_0x2857ab(0x399)][_0x2857ab(0x31d)];logger[_0x2857ab(0x345)](_0x2857ab(0x36f)+_0x83ee2f+_0x2857ab(0x260));}const _0x29f01a=_0x190a8b['wiDYt'](getWorkerDetails),_0x57d40d=process['_bstackTestName']||_lastTestName||_0x29f01a?.['currentTest']?.[_0x2857ab(0x38e)]?.[_0x2857ab(0x1e4)]||global[_0x2857ab(0x19e)];logger[_0x2857ab(0x314)](_0x2857ab(0x2d7)+_0x57d40d+_0x2857ab(0x17f)+process[_0x2857ab(0xfc)]+'\x22'),await _0x190a8b[_0x2857ab(0x2a4)](markSessionName,_0x55b35b,_0x57d40d);let _0xc79740=process[_0x2857ab(0x23d)]||_lastTestStatus||_0x190a8b[_0x2857ab(0x1f8)],_0x50761c=process['_bstackTestFailureReason']||_lastTestFailureReason||'';try{_0x190a8b[_0x2857ab(0x2ac)](_0xc79740,_0x190a8b['IpGNs'])&&global[_0x2857ab(0x3eb)]&&global[_0x2857ab(0x3eb)][_0x2857ab(0x18b)]&&_0x190a8b[_0x2857ab(0x2e9)](global['testContext']['errors'][_0x2857ab(0x3d8)],0x0)&&(_0xc79740=_0x190a8b['QsNge'],_0x50761c=global[_0x2857ab(0x3eb)][_0x2857ab(0x18b)]['map'](_0x659c78=>_0x659c78&&_0x659c78[_0x2857ab(0x2ab)]||String(_0x659c78))[_0x2857ab(0x1e9)](';\x20'));global['__test_failure']&&(_0xc79740=_0x190a8b[_0x2857ab(0x26d)],_0x50761c=global[_0x2857ab(0x1f9)]||_0x190a8b[_0x2857ab(0x3c2)]);try{if(_0x190a8b[_0x2857ab(0x3ad)](typeof expect,_0x190a8b[_0x2857ab(0x34f)])&&_0x190a8b['xGAHN'](typeof expect['getState'],_0x190a8b[_0x2857ab(0x195)])){const _0x9ff91a=expect[_0x2857ab(0x347)]();_0x9ff91a&&_0x190a8b['biKyk'](_0x9ff91a[_0x2857ab(0x1a7)],0x0)&&(_0xc79740=_0x190a8b[_0x2857ab(0x26d)],_0x50761c=_0x50761c||_0x9ff91a['numFailingAsserts']+_0x2857ab(0xe7));}}catch(_0x577ed4){}const _0x2b6900=_0x29f01a?.[_0x2857ab(0x1d9)]?.[_0x2857ab(0x38e)];if(_0x2b6900){if(_0x190a8b[_0x2857ab(0x2f3)](_0x2b6900[_0x2857ab(0x1a8)],_0x190a8b[_0x2857ab(0x26d)])||_0x190a8b[_0x2857ab(0x1c9)](_0x2b6900['status'],_0x190a8b[_0x2857ab(0xef)])||_0x190a8b[_0x2857ab(0x2f3)](_0x2b6900[_0x2857ab(0x1a8)],_0x190a8b['ELAjj']))_0xc79740=_0x190a8b[_0x2857ab(0x26d)],_0x50761c=_0x50761c||_0x2b6900[_0x2857ab(0x1cd)]||_0x2b6900['error']?.[_0x2857ab(0x2ab)]||_0x190a8b['gNykd'];else _0x190a8b[_0x2857ab(0x293)](_0x2b6900['status'],_0x190a8b['IpGNs'])&&(_0x190a8b[_0x2857ab(0x1a2)](_0xc79740,_0x190a8b[_0x2857ab(0x26d)])&&(_0xc79740=_0x190a8b['IpGNs']));}}catch(_0x555bcd){logger['debug']('[PuppeteerPatcher]\x20Error\x20determining\x20test\x20status:\x20'+_0x555bcd[_0x2857ab(0x2ab)]);}await _0x190a8b[_0x2857ab(0x3bc)](markSessionStatus,_0x55b35b,_0xc79740,_0x190a8b['WYbZK'](_0x50761c,undefined)),logger['info']('[PuppeteerPatcher]\x20Marked\x20session:\x20name=\x22'+_0x57d40d+_0x2857ab(0x233)+_0xc79740+'\x22'+(_0x50761c?_0x190a8b[_0x2857ab(0x27d)](_0x190a8b[_0x2857ab(0x391)](_0x190a8b[_0x2857ab(0x397)],_0x50761c),'\x22'):''));}catch(_0x2ba312){logger[_0x2857ab(0x314)](_0x2857ab(0x296)+(_0x2ba312[_0x2857ab(0x2ab)]||_0x2ba312));}},processPageScreenshot=async function processPageScreenshot(_0x43b45d,_0x1b840c){const _0x1290eb=a80_0x2bc712,_0x42762b={'aekjq':_0x1290eb(0x111),'PabBt':':jest-','KUNBq':_0x1290eb(0x2d0),'IZkHg':'processPageScreenshot:\x20TestFramework\x20not\x20available,\x20cannot\x20store\x20screenshot\x20log\x20for\x20Jest+Puppeteer','lcHXv':function(_0x28c938){return _0x28c938();},'KkblM':function(_0x58b044,_0x2e2e9f){return _0x58b044(_0x2e2e9f);},'wmRdP':_0x1290eb(0x28e),'SgBmv':function(_0x834c7d,_0x4761c3){return _0x834c7d(_0x4761c3);},'IhqrO':'../v2/framework/constants/testFrameworkConstants','Koqwg':function(_0x5036e3,_0x31e2dc){return _0x5036e3===_0x31e2dc;},'NVEpO':_0x1290eb(0x182),'FqkJz':_0x1290eb(0x3a8)};return await PerformanceTester['measureWrapper'](PerformanceO11yEvents[_0x1290eb(0x2f4)],async()=>{const _0x24af1e=_0x1290eb;try{if(BrowserstackCLI[_0x24af1e(0x169)]()['isRunning']()){let _0x1e9a66=global[_0x24af1e(0x320)];if(!_0x1e9a66){const _0x3c466e=AutomationFramework[_0x24af1e(0x3af)]();_0x1e9a66=AutomationFramework[_0x24af1e(0x347)](_0x3c466e,PuppeteerDriverModule[_0x24af1e(0x38d)],'');}if(!_0x1e9a66){logger[_0x24af1e(0x314)](_0x42762b[_0x24af1e(0x267)]);return;}if(!_0x1e9a66[_0x24af1e(0x28a)](_0x42762b[_0x24af1e(0x360)])){logger[_0x24af1e(0x345)](_0x24af1e(0x158)+_0x1e9a66+_0x24af1e(0x14e)+process[_0x24af1e(0x232)]+_0x24af1e(0xe1));return;}const _0x103d6e={'test_identifier':_0x1e9a66,'test_run_uuid':_0x1e9a66,'timestamp':new Date()[_0x24af1e(0x19c)](),'kind':_0x42762b[_0x24af1e(0x259)],'message':_0x43b45d},_0x13056f=BrowserstackCLI[_0x24af1e(0x169)]()[_0x24af1e(0x35f)]();if(!_0x13056f){logger['debug'](_0x42762b[_0x24af1e(0x18c)]);return;}const _0x294d4d=_0x42762b[_0x24af1e(0x10b)](getWorkerDetails);_0x294d4d?.[_0x24af1e(0x2e2)]?.[_0x24af1e(0x135)]&&(_0x103d6e[_0x24af1e(0x350)]=_0x294d4d['currentHook']['hookUUID'],logger[_0x24af1e(0x314)](_0x24af1e(0x21a)+_0x103d6e[_0x24af1e(0x350)]+',\x20testIdentifier='+_0x1e9a66));if(!_0x103d6e[_0x24af1e(0x350)]&&_0x13056f){const _0x106016=_0x13056f[_0x24af1e(0x302)]?_0x13056f[_0x24af1e(0x302)](_0x1e9a66):null;_0x106016&&(_0x103d6e[_0x24af1e(0x350)]=_0x106016['hookUUID'],logger[_0x24af1e(0x314)](_0x24af1e(0x25b)+_0x103d6e['hook_run_uuid']+',\x20testIdentifier='+_0x1e9a66));}const _0x24689b=_0x42762b[_0x24af1e(0x188)](require,_0x42762b['wmRdP']),_0x1082e6=_0x42762b['SgBmv'](require,_0x42762b['IhqrO']),_0x13e79b=_0x13056f[_0x24af1e(0x3d0)](_0x24689b[_0x24af1e(0x184)],HookState['POST']);if(_0x13e79b&&_0x42762b[_0x24af1e(0x1a9)](typeof _0x13e79b[_0x24af1e(0x3f9)],_0x42762b[_0x24af1e(0x3ec)])){const _0x195ed3=_0x13e79b[_0x24af1e(0x309)]()['get'](_0x1e9a66)||{},_0x2f3440=_0x195ed3[_0x1082e6['KEY_LOGS']]||[],_0x22e4c2=[..._0x2f3440,_0x103d6e];logger['debug']('processPageScreenshot:\x20Adding\x20screenshot\x20log\x20to\x20instance.data\x20for\x20testIdentifier:\x20'+_0x1e9a66+_0x24af1e(0x157)+_0x2f3440[_0x24af1e(0x3d8)]+',\x20Updated\x20logs\x20count:\x20'+_0x22e4c2[_0x24af1e(0x3d8)]);const _0x4c86f1={[_0x1082e6['KEY_LOGS']]:_0x22e4c2},_0x32cab3={};_0x32cab3[_0x1e9a66]=_0x4c86f1,_0x13e79b['addMultipleEntries'](_0x32cab3),logger[_0x24af1e(0x314)](_0x24af1e(0x235)+_0x1e9a66+',\x20totalLogs:\x20'+_0x22e4c2[_0x24af1e(0x3d8)]);return;}logger['debug'](_0x42762b[_0x24af1e(0x395)]);}}catch(_0x3ad4c4){logger['debug'](_0x24af1e(0x2b1)+util[_0x24af1e(0x36d)](_0x3ad4c4));}})();},executeDeferredCloses=async(_0x5acc0a=![])=>{const _0x315d37=a80_0x2bc712,_0x765f3e={'OJbQW':function(_0x3be252,_0xafbe6f){return _0x3be252+_0xafbe6f;},'aWwSf':'[PuppeteerPatcher]\x20Starting\x20deferred\x20close\x20execution.\x20','yKWzK':function(_0x1aee6c){return _0x1aee6c();},'HNjHB':_0x315d37(0x2c3),'NyHqB':function(_0x3cfae2,_0x28a311){return _0x3cfae2>_0x28a311;},'qLaXN':_0x315d37(0x370),'AqLOA':'[PuppeteerPatcher]\x20Deferred\x20browser\x20close\x20completed','Zwoyr':_0x315d37(0x3e0)};try{logger[_0x315d37(0x314)](_0x765f3e[_0x315d37(0x21e)](_0x765f3e[_0x315d37(0x21e)](_0x765f3e[_0x315d37(0x337)],_0x315d37(0xee)+closeTracker[_0x315d37(0x3b4)][_0x315d37(0x31d)]+_0x315d37(0x207)+closeTracker[_0x315d37(0x399)]['size']+',\x20'),_0x315d37(0x3e2)+_0x5acc0a)),await _0x765f3e[_0x315d37(0x128)](markSessionOnBrowserStack);!_0x5acc0a&&(logger[_0x315d37(0x314)](_0x765f3e['HNjHB']),await new Promise(_0x5889be=>setTimeout(_0x5889be,0xbb8)));if(_0x765f3e['NyHqB'](closeTracker['pages'][_0x315d37(0x31d)],0x0)){logger[_0x315d37(0x314)]('[PuppeteerPatcher]\x20Executing\x20'+closeTracker[_0x315d37(0x3b4)][_0x315d37(0x31d)]+'\x20deferred\x20page\x20closes');const _0x2fd539=Array[_0x315d37(0x387)](closeTracker[_0x315d37(0x3b4)]['keys']());for(const _0x49d6cf of _0x2fd539){try{await closeTracker['executePageClose'](_0x49d6cf),logger['debug'](_0x765f3e[_0x315d37(0x100)]);}catch(_0x2ff132){logger[_0x315d37(0x314)]('[PuppeteerPatcher]\x20Error\x20executing\x20deferred\x20page\x20close:\x20'+util[_0x315d37(0x36d)](_0x2ff132));}}}if(_0x765f3e[_0x315d37(0x2db)](closeTracker[_0x315d37(0x399)][_0x315d37(0x31d)],0x0)){logger[_0x315d37(0x314)](_0x315d37(0x1f2)+closeTracker[_0x315d37(0x399)][_0x315d37(0x31d)]+_0x315d37(0x2f2));const _0x127c5b=Array['from'](closeTracker['browsers'][_0x315d37(0x1bc)]());for(const _0x5d24d7 of _0x127c5b){try{await Promise[_0x315d37(0x10d)]([closeTracker[_0x315d37(0x12b)](_0x5d24d7),new Promise((_0x5833bc,_0x325687)=>setTimeout(()=>_0x325687(new Error(_0x315d37(0x2d5))),0x2710))]),logger[_0x315d37(0x314)](_0x765f3e[_0x315d37(0x1c2)]);}catch(_0x3b2c39){logger[_0x315d37(0x314)]('[PuppeteerPatcher]\x20Error\x20executing\x20deferred\x20browser\x20close:\x20'+util[_0x315d37(0x36d)](_0x3b2c39));}}}logger[_0x315d37(0x314)](_0x765f3e[_0x315d37(0x256)]);}catch(_0xd1e94a){logger[_0x315d37(0x314)]('[PuppeteerPatcher]\x20Error\x20executing\x20deferred\x20closes:\x20'+util[_0x315d37(0x36d)](_0xd1e94a));}},isPageAvailableForSession=_0xbeeeaa=>{const _0x1f57ee=a80_0x2bc712,_0x5e0c11={};_0x5e0c11[_0x1f57ee(0x1d3)]=_0x1f57ee(0x208),_0x5e0c11[_0x1f57ee(0x3e6)]=_0x1f57ee(0x24a),_0x5e0c11[_0x1f57ee(0x10e)]=function(_0x7929a,_0x456e58){return _0x7929a===_0x456e58;},_0x5e0c11[_0x1f57ee(0x179)]='function';const _0x71ab4a=_0x5e0c11;if(!_0xbeeeaa)return logger[_0x1f57ee(0x314)](_0x71ab4a['nINQJ']),![];try{if(closeTracker[_0x1f57ee(0x366)](_0xbeeeaa))return logger[_0x1f57ee(0x314)](_0x71ab4a[_0x1f57ee(0x3e6)]),!![];const _0x296d87=_0x71ab4a[_0x1f57ee(0x10e)](typeof _0xbeeeaa[_0x1f57ee(0x2af)],_0x71ab4a[_0x1f57ee(0x179)])?_0xbeeeaa['isClosed']():![];return logger[_0x1f57ee(0x314)](_0x1f57ee(0x304)+_0x296d87),!_0x296d87;}catch(_0x4cfa5b){return logger[_0x1f57ee(0x314)]('[PuppeteerPatcher]\x20Error\x20checking\x20page\x20availability:\x20'+util[_0x1f57ee(0x36d)](_0x4cfa5b)),![];}},beforeTestHook=async _0x53596b=>{const _0xc6baa2=a80_0x2bc712,_0x128d61={'ZSsqG':_0xc6baa2(0x23f),'DIrjp':function(_0x4c869d){return _0x4c869d();},'kWghh':'Unknown'};try{logger[_0xc6baa2(0x314)](_0x128d61[_0xc6baa2(0x261)]);const _0x5998ce=_0x128d61[_0xc6baa2(0x198)](getWorkerDetails);_0x5998ce[_0xc6baa2(0x1d9)][_0xc6baa2(0x38e)]=_0x53596b,_0x5998ce[_0xc6baa2(0x2d9)]=![],logger[_0xc6baa2(0x314)]('[PuppeteerPatcher]\x20Before\x20test\x20hook\x20executed:\x20'+(_0x53596b?.[_0xc6baa2(0x1e4)]||_0x128d61[_0xc6baa2(0x103)])+_0xc6baa2(0x276)+_0x5998ce[_0xc6baa2(0x1d9)]['id']);}catch(_0xc6782e){logger[_0xc6baa2(0x314)](_0xc6baa2(0x201)+util[_0xc6baa2(0x36d)](_0xc6782e));}},afterTestHook=async(_0x3dd544,_0x1ac2c6=a80_0x2bc712(0x24c),_0x2b564c=null)=>{const _0x483262=a80_0x2bc712,_0x4ec47e={'lwIiz':function(_0x2e7c6d){return _0x2e7c6d();},'elsFb':function(_0x3a5891,_0x1a366a){return _0x3a5891&&_0x1a366a;},'sFpOs':function(_0x55d9b1,_0x4b2c84){return _0x55d9b1(_0x4b2c84);},'FdaaT':function(_0x34c352){return _0x34c352();},'UjGnJ':_0x483262(0x218),'samLn':'jest-test','vTHBP':_0x483262(0x1a4),'kgSjB':_0x483262(0x2fd),'ieKLh':_0x483262(0x105)};try{const _0x215882=_0x4ec47e['lwIiz'](getPageFromAutomationFramework);if(_0x4ec47e['elsFb'](_0x215882,_0x3dd544)&&!_0x4ec47e[_0x483262(0x33f)](isFalse,helper['isBrowserstackInfra']())){if(!_0x4ec47e[_0x483262(0x33f)](isFalse,BrowserstackCLI['getInstance']()[_0x483262(0x34d)]()))try{const _0x519004=_0x4ec47e[_0x483262(0x203)](getWorkerDetails),_0x1f56fa={'title':_0x3dd544[_0x483262(0x1e4)]||_0x4ec47e['UjGnJ'],'titlePath':[_0x3dd544['title']||_0x4ec47e[_0x483262(0x19a)]],'id':_0x519004[_0x483262(0x1d9)][_0x483262(0x1ed)]||_0x519004[_0x483262(0x1d9)]['id']||_0x4ec47e[_0x483262(0x170)],'testAnalyticsId':_0x519004[_0x483262(0x1d9)][_0x483262(0x1ed)],'status':_0x1ac2c6,'error':_0x2b564c?{'message':_0x2b564c}:null,'testPath':_0x3dd544['testPath'],..._0x3dd544},_0x867e26=_0x1f56fa,_0x275388={};_0x275388[_0x483262(0x318)]=_0x215882,_0x275388[_0x483262(0x38e)]=_0x867e26,_0x275388['testFramework']=FRAMEWORKS[_0x483262(0x138)],await BrowserstackCLI[_0x483262(0x169)]()[_0x483262(0x37a)]()[_0x483262(0x2ba)](AutomationFrameworkState[_0x483262(0x176)],HookState['POST'],_0x275388),logger['debug']('[PuppeteerPatcher]\x20EXECUTE\x20POST\x20event\x20completed\x20for\x20test:\x20'+_0x867e26[_0x483262(0x1e4)]);}catch(_0x4790d7){logger['debug'](_0x483262(0x389)+util[_0x483262(0x36d)](_0x4790d7));}}const _0x4d0ba2=_0x4ec47e[_0x483262(0x3d5)](getWorkerDetails),_0x1889f0={};_0x1889f0['id']=undefined,_0x1889f0[_0x483262(0x38e)]=undefined,_0x4d0ba2['currentTest']=_0x1889f0;if(_0x215882&&closeTracker[_0x483262(0x366)](_0x215882)){logger[_0x483262(0x314)](_0x4ec47e['vTHBP']),_0x4d0ba2[_0x483262(0x204)]=null,_0x4d0ba2[_0x483262(0x2d9)]=![];try{const _0x92adf6=AutomationFramework['getTrackedInstance']();_0x92adf6&&AutomationFramework[_0x483262(0x1c8)](_0x92adf6,PuppeteerDriverModule[_0x483262(0x351)],null);}catch(_0x47c759){logger[_0x483262(0x314)](_0x483262(0x365)+util[_0x483262(0x36d)](_0x47c759));}}else logger[_0x483262(0x314)](_0x4ec47e[_0x483262(0x3bd)]);logger[_0x483262(0x314)]('[PuppeteerPatcher]\x20After\x20test\x20hook\x20executed\x20for:\x20'+(_0x3dd544?.[_0x483262(0x1e4)]||_0x4ec47e[_0x483262(0x216)]));}catch(_0x590d8e){logger[_0x483262(0x314)](_0x483262(0x1a6)+util[_0x483262(0x36d)](_0x590d8e));}},initializePuppeteerPatching=_0x1c42b4=>{const _0x27268a=a80_0x2bc712,_0x271d79={'qwJci':'[PuppeteerPatcher]\x20Already\x20initialized,\x20skipping','QWrGd':_0x27268a(0x3ac),'nJCWN':'[PuppeteerPatcher]\x20Initializing\x20Puppeteer\x20patching','BXXqc':function(_0x366fdc,_0x704626){return _0x366fdc(_0x704626);},'GggYd':_0x27268a(0x26c),'Ieysj':function(_0x1a251e,_0x1768b8){return _0x1a251e(_0x1768b8);},'wBvtl':_0x27268a(0x323),'rmULy':function(_0xb36932,_0x94cc46){return _0xb36932&&_0x94cc46;},'vBfWo':_0x27268a(0x287)};if(detectedModuleName){logger[_0x27268a(0x314)](_0x271d79[_0x27268a(0x15f)]);return;}try{if(!_0x1c42b4){logger[_0x27268a(0x314)](_0x271d79[_0x27268a(0x2a1)]);return;}storedConfiguration=_0x1c42b4,logger[_0x27268a(0x314)](_0x271d79['nJCWN']);const _0x454d1d=_0x271d79[_0x27268a(0x1ca)](patchPuppeteerModule,_0x271d79[_0x27268a(0x299)]),_0xbfa2c9=_0x271d79['Ieysj'](patchPuppeteerModule,_0x271d79['wBvtl']);if(_0x271d79[_0x27268a(0x18d)](!_0x454d1d,!_0xbfa2c9)){logger[_0x27268a(0x314)](_0x271d79[_0x27268a(0x2ec)]);return;}logger[_0x27268a(0x3c7)](_0x27268a(0x1cb)+detectedModuleName+')');}catch(_0x115e8a){logger[_0x27268a(0x314)](_0x27268a(0x153)+util[_0x27268a(0x36d)](_0x115e8a));}},handleProcessExit=async()=>{const _0x258954=a80_0x2bc712,_0x3df2ff={'mzrng':'[PuppeteerPatcher]\x20Process\x20exit\x20handler\x20—\x20executing\x20remaining\x20deferred\x20closes','BERBr':function(_0x400ebc,_0x2f4a64){return _0x400ebc(_0x2f4a64);}};logger['debug'](_0x3df2ff['mzrng']);try{await _0x3df2ff[_0x258954(0x245)](executeDeferredCloses,!![]);}catch(_0x15b82d){logger[_0x258954(0x314)]('[PuppeteerPatcher]\x20Error\x20in\x20process\x20exit\x20handler:\x20'+util[_0x258954(0x36d)](_0x15b82d));}};process['on'](a80_0x2bc712(0x191),handleProcessExit),process['on'](a80_0x2bc712(0x393),handleProcessExit),process['on'](a80_0x2bc712(0x316),handleProcessExit);const a80_0x3b26af={};a80_0x3b26af[a80_0x2bc712(0x301)]=initializePuppeteerPatching,a80_0x3b26af[a80_0x2bc712(0x230)]=beforeTestHook,a80_0x3b26af['afterTestHook']=afterTestHook,a80_0x3b26af['executeDeferredCloses']=executeDeferredCloses,a80_0x3b26af['isPageAvailableForSession']=isPageAvailableForSession,a80_0x3b26af[a80_0x2bc712(0x17a)]=closeTracker,a80_0x3b26af['getPageFromAutomationFramework']=getPageFromAutomationFramework,a80_0x3b26af['markSessionName']=markSessionName,a80_0x3b26af[a80_0x2bc712(0xf5)]=markSessionStatus,a80_0x3b26af['markSessionOnBrowserStack']=markSessionOnBrowserStack,a80_0x3b26af[a80_0x2bc712(0x19f)]=setLastTestInfo,a80_0x3b26af['safeEvaluate']=safeEvaluate,a80_0x3b26af['getWorkerDetails']=getWorkerDetails,a80_0x3b26af[a80_0x2bc712(0x180)]=processPageScreenshot,a80_0x3b26af[a80_0x2bc712(0x178)]=isBrowserStackEndpoint,a80_0x3b26af[a80_0x2bc712(0xfe)]=buildCdpEndpointUrl,module['exports']=a80_0x3b26af;
|
|
1
|
+
const a80_0x2925c6=a80_0xee14;(function(_0x342b31,_0x52a63e){const _0x517669=a80_0xee14,_0x4b0a1d=_0x342b31();while(!![]){try{const _0x44e572=parseInt(_0x517669(0x39a))/0x1+parseInt(_0x517669(0x29b))/0x2*(-parseInt(_0x517669(0x3f2))/0x3)+parseInt(_0x517669(0x123))/0x4*(-parseInt(_0x517669(0x422))/0x5)+parseInt(_0x517669(0x2df))/0x6*(parseInt(_0x517669(0x250))/0x7)+parseInt(_0x517669(0x3ca))/0x8+-parseInt(_0x517669(0x365))/0x9*(parseInt(_0x517669(0x3dd))/0xa)+parseInt(_0x517669(0x1bf))/0xb*(parseInt(_0x517669(0x253))/0xc);if(_0x44e572===_0x52a63e)break;else _0x4b0a1d['push'](_0x4b0a1d['shift']());}catch(_0x178bd5){_0x4b0a1d['push'](_0x4b0a1d['shift']());}}}(a80_0x4483,0xc7d2a));const util=require(a80_0x2925c6(0x121)),logger=require(a80_0x2925c6(0x1a5))[a80_0x2925c6(0x1b6)],helper=require(a80_0x2925c6(0x108)),puppeteerHelper=require(a80_0x2925c6(0x197)),constants=require(a80_0x2925c6(0x273)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require(a80_0x2925c6(0x364)),HookState=require(a80_0x2925c6(0x18c)),AutomationFramework=require(a80_0x2925c6(0x1da)),PlaywrightDriverModule=require(a80_0x2925c6(0x107)),PuppeteerDriverModule=require(a80_0x2925c6(0x11c)),{isFalse}=require(a80_0x2925c6(0x108)),{FRAMEWORKS}=require(a80_0x2925c6(0x1c3)),PerformanceTester=require(a80_0x2925c6(0x2bd)),{O11y_EVENTS:PerformanceO11yEvents}=require(a80_0x2925c6(0x178)),{isAccessibilityAutomationSession}=require(a80_0x2925c6(0x333)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),JestUtils=require(a80_0x2925c6(0x15c));let storedConfiguration=null,detectedModuleName=null;const _CRED_KEY_PATTERN=/^(browserstack\.user|browserstack\.key|browserstack\.accessKey|authToken|.*[Aa]uthToken|accessKey|accessKey_)$/,_redactOptionsForLog=(_0x3c89b8,_0x297c3d)=>{const _0x365373=a80_0x2925c6,_0x222290={};_0x222290[_0x365373(0x35d)]=function(_0x2637e3,_0x2f1e48){return _0x2637e3===_0x2f1e48;},_0x222290[_0x365373(0x134)]='string',_0x222290[_0x365373(0x14c)]=_0x365373(0x3e3),_0x222290['NHBzW']=_0x365373(0x22a),_0x222290['xlmwr']=function(_0x2dbf47,_0x25792e){return _0x2dbf47>=_0x25792e;},_0x222290[_0x365373(0x26c)]=function(_0x4099d7,_0x47db8f){return _0x4099d7-_0x47db8f;},_0x222290[_0x365373(0x3cd)]=function(_0x46649a,_0x3c6144){return _0x46649a-_0x3c6144;};const _0xc78a84=_0x222290;if(_0xc78a84['FFPEv'](typeof _0x3c89b8,_0xc78a84[_0x365373(0x134)])&&_CRED_KEY_PATTERN[_0x365373(0x2b7)](_0x3c89b8))return _0xc78a84['Zjmfh'];if(_0xc78a84[_0x365373(0x35d)](_0x3c89b8,_0xc78a84['NHBzW'])&&_0xc78a84['FFPEv'](typeof _0x297c3d,_0xc78a84[_0x365373(0x134)])){const _0x312629=_0x297c3d[_0x365373(0x2ab)]('?');return _0xc78a84[_0x365373(0x3a3)](_0x312629,0x0)?_0x297c3d[_0x365373(0x14a)](0x0,_0x312629)+_0x365373(0x31b)+_0xc78a84['tGPzJ'](_0xc78a84[_0x365373(0x3cd)](_0x297c3d['length'],_0x312629),0x1)+']':_0x297c3d;}return _0x297c3d;},_logA11yCmdContext=async(_0xdd11de,_0x11ee21)=>{const _0x57c32d=a80_0x2925c6,_0x5bedf9={};_0x5bedf9[_0x57c32d(0x1d7)]=_0x57c32d(0x17c),_0x5bedf9[_0x57c32d(0x3b6)]=function(_0x47fbb1,_0x232968){return _0x47fbb1&&_0x232968;},_0x5bedf9['qZtqH']=function(_0x59680e,_0x25bb71){return _0x59680e===_0x25bb71;},_0x5bedf9['NcZxo']='YES',_0x5bedf9[_0x57c32d(0x16f)]=function(_0x46a5a9,_0x4a4037){return _0x46a5a9&&_0x4a4037;},_0x5bedf9[_0x57c32d(0x38e)]=_0x57c32d(0x303),_0x5bedf9['jXtwq']='<none>',_0x5bedf9[_0x57c32d(0x281)]=_0x57c32d(0x18a);const _0x20e1f5=_0x5bedf9;try{const _0x344814=_0xdd11de&&_0xdd11de[_0x57c32d(0x30a)]&&_0xdd11de[_0x57c32d(0x30a)](),_0x480ffa=_0x344814&&_0x344814['type']&&_0x344814[_0x57c32d(0x3d7)](),_0x28d461=_0x344814&&_0x344814[_0x57c32d(0x106)]&&_0x344814['url'](),_0x326874=_0xdd11de&&_0xdd11de[_0x57c32d(0x106)]&&_0xdd11de['url']()||_0x20e1f5[_0x57c32d(0x1d7)],_0x3adb73=_0xdd11de&&_0xdd11de[_0x57c32d(0x1d8)]&&_0xdd11de[_0x57c32d(0x1d8)]()['isDetached']&&_0xdd11de['mainFrame']()[_0x57c32d(0x2fc)]();let _0x6902d4='NO';if(_0x344814)try{if(_0x20e1f5[_0x57c32d(0x3b6)](_0x28d461,_0x326874)&&_0x20e1f5[_0x57c32d(0x3fa)](_0x28d461,_0x326874))_0x6902d4=_0x20e1f5[_0x57c32d(0xf3)];else _0x20e1f5['hejAt'](_0x28d461,_0x326874)&&_0x326874[_0x57c32d(0x306)](_0x28d461)&&(_0x6902d4=_0x20e1f5[_0x57c32d(0x38e)]);}catch(_0x119aee){}let _0x2cd5ce=_0x20e1f5[_0x57c32d(0x39d)];try{if(_0xdd11de&&_0xdd11de['browser']){const _0x4f7399=_0xdd11de['browser']()['targets']();_0x2cd5ce=_0x4f7399[_0x57c32d(0x212)]((_0x385cf7,_0x235d9a)=>_0x235d9a+':'+_0x385cf7[_0x57c32d(0x3d7)]()+':'+(_0x385cf7['url']()||'')[_0x57c32d(0x3eb)](0x0,0x46)['replace'](/\s+/g,'\x20'))[_0x57c32d(0x418)](_0x20e1f5[_0x57c32d(0x281)]);}}catch(_0x5bf9e5){_0x2cd5ce='<targets-err:'+_0x5bf9e5[_0x57c32d(0x286)]+'>';}logger[_0x57c32d(0x284)](_0x57c32d(0x160)+_0x11ee21+_0x57c32d(0x19d)+_0x480ffa+_0x57c32d(0x117)+_0x28d461+_0x57c32d(0x2f8)+_0x326874+_0x57c32d(0x2ae)+_0x6902d4+_0x57c32d(0x1b3)+_0x3adb73+'\x20allTargets=['+_0x2cd5ce+']');}catch(_0x336d6f){try{logger[_0x57c32d(0x284)](_0x57c32d(0x160)+_0x11ee21+_0x57c32d(0x255)+_0x336d6f['message']);}catch(_0xafb0f){}}};function a80_0xee14(_0x41034e,_0x195ced){const _0x448305=a80_0x4483();return a80_0xee14=function(_0xee14fe,_0x26ebc2){_0xee14fe=_0xee14fe-0xe5;let _0x2e3f00=_0x448305[_0xee14fe];return _0x2e3f00;},a80_0xee14(_0x41034e,_0x195ced);}let _lastTestName=null,_lastTestStatus=null,_lastTestFailureReason=null;const getWorkerDetails=()=>{const _0x3f2b9b=a80_0x2925c6,_0x187cc5={};return _0x187cc5[_0x3f2b9b(0x32e)]=undefined,_0x187cc5[_0x3f2b9b(0x29a)]={},_0x187cc5[_0x3f2b9b(0x35c)]=![],_0x187cc5['pwPage']=null,_0x187cc5[_0x3f2b9b(0x18d)]=![],_0x187cc5[_0x3f2b9b(0x29a)]['id']=undefined,_0x187cc5[_0x3f2b9b(0x29a)][_0x3f2b9b(0x222)]=undefined,global['__workerDetails']||_0x187cc5;},setLastTestInfo=(_0x3f0642,_0x2fcebe,_0x6a4e6f)=>{const _0xf5cc9c=a80_0x2925c6,_0x321f2a={};_0x321f2a['PoJrP']=function(_0x479810,_0x466414){return _0x479810!==_0x466414;},_0x321f2a[_0xf5cc9c(0x382)]=function(_0x5bb580,_0x2ce398){return _0x5bb580!==_0x2ce398;};const _0x2265b2=_0x321f2a;_0x2265b2[_0xf5cc9c(0x3ce)](_0x3f0642,undefined)&&(_lastTestName=_0x3f0642),_0x2265b2['RPVLQ'](_0x2fcebe,undefined)&&(_lastTestStatus=_0x2fcebe),_0x2265b2[_0xf5cc9c(0x382)](_0x6a4e6f,undefined)&&(_lastTestFailureReason=_0x6a4e6f);},closeTracker={'pages':new Map(),'browsers':new Map(),'safetyTimeouts':new Map(),'trackPage'(_0x30b227){const _0x426b11=a80_0x2925c6;if(!this[_0x426b11(0x1db)][_0x426b11(0x3bf)](_0x30b227)){const _0x350094={};_0x350094['closeRequested']=![],_0x350094[_0x426b11(0x1c9)]=null,_0x350094[_0x426b11(0x224)]=null,_0x350094[_0x426b11(0x189)]=[],this[_0x426b11(0x1db)][_0x426b11(0x20f)](_0x30b227,_0x350094);}},'markPageCloseRequested'(_0x429b11){const _0x217541=a80_0x2925c6,_0x34f078={'spDsy':'[PuppeteerPatcher]\x20Safety\x20timeout\x20triggered\x20for\x20deferred\x20page\x20close','GluUB':_0x217541(0x209),'MsXcz':function(_0x781884,_0x3e70d6,_0x2202e4){return _0x781884(_0x3e70d6,_0x2202e4);}};this[_0x217541(0x1db)][_0x217541(0x20f)](_0x429b11,{'closeRequested':!![],'timestamp':Date[_0x217541(0x207)](),'originalClose':(this[_0x217541(0x1db)][_0x217541(0x31a)](_0x429b11)||{})[_0x217541(0x224)]||null,'args':(this[_0x217541(0x1db)][_0x217541(0x31a)](_0x429b11)||{})[_0x217541(0x189)]||[]}),logger[_0x217541(0x284)](_0x34f078['GluUB']);const _0x15e02e=_0x34f078['MsXcz'](setTimeout,async()=>{const _0x53a84c=_0x217541;logger['debug'](_0x34f078[_0x53a84c(0x1ba)]);try{await closeTracker[_0x53a84c(0x417)](_0x429b11);}catch(_0x497e01){logger['debug'](_0x53a84c(0x198)+util[_0x53a84c(0x2d9)](_0x497e01));}},0x2710);this[_0x217541(0x3c6)]['set'](_0x429b11,_0x15e02e);},'markBrowserCloseRequested'(_0x5613dd){const _0xac1cc1=a80_0x2925c6,_0x5992f5={};_0x5992f5[_0xac1cc1(0x325)]=_0xac1cc1(0x18f);const _0x34ff4c=_0x5992f5;this[_0xac1cc1(0x342)][_0xac1cc1(0x20f)](_0x5613dd,{'closeRequested':!![],'timestamp':Date[_0xac1cc1(0x207)](),'originalClose':(this[_0xac1cc1(0x342)]['get'](_0x5613dd)||{})[_0xac1cc1(0x224)]||null,'args':(this['browsers'][_0xac1cc1(0x31a)](_0x5613dd)||{})[_0xac1cc1(0x189)]||[]}),logger[_0xac1cc1(0x284)](_0x34ff4c[_0xac1cc1(0x325)]);},'wasCloseRequested'(_0x576224){const _0x18a38d=a80_0x2925c6,_0x8aa945=this[_0x18a38d(0x1db)][_0x18a38d(0x31a)](_0x576224);return _0x8aa945?_0x8aa945[_0x18a38d(0x24e)]:![];},async 'executePageClose'(_0x35e179){const _0x1e560c=a80_0x2925c6,_0xd981c9={'qrugV':'[PuppeteerPatcher]\x20Executing\x20deferred\x20page\x20close','umAHr':function(_0x1e6652,_0x430315){return _0x1e6652(_0x430315);}},_0x551b1f=this[_0x1e560c(0x1db)][_0x1e560c(0x31a)](_0x35e179);if(_0x551b1f&&_0x551b1f[_0x1e560c(0x224)]){logger[_0x1e560c(0x284)](_0xd981c9[_0x1e560c(0x2b2)]);const _0x13cfe2=this['safetyTimeouts']['get'](_0x35e179);_0x13cfe2&&(_0xd981c9['umAHr'](clearTimeout,_0x13cfe2),this[_0x1e560c(0x3c6)][_0x1e560c(0x17a)](_0x35e179));this[_0x1e560c(0x1db)]['delete'](_0x35e179);try{return await _0x551b1f['originalClose']['apply'](_0x35e179,_0x551b1f['args']||[]);}catch(_0x266d4b){logger[_0x1e560c(0x284)](_0x1e560c(0x3d9)+util[_0x1e560c(0x2d9)](_0x266d4b));}}},async 'executeBrowserClose'(_0xaf778e){const _0xc4a594=a80_0x2925c6,_0x3aef2f={};_0x3aef2f[_0xc4a594(0x307)]='[PuppeteerPatcher]\x20Executing\x20deferred\x20browser\x20close';const _0x2ec7ef=_0x3aef2f,_0x41c6de=this[_0xc4a594(0x342)][_0xc4a594(0x31a)](_0xaf778e);if(_0x41c6de&&_0x41c6de[_0xc4a594(0x224)]){logger[_0xc4a594(0x284)](_0x2ec7ef[_0xc4a594(0x307)]),this[_0xc4a594(0x342)][_0xc4a594(0x17a)](_0xaf778e);try{return await _0x41c6de['originalClose'][_0xc4a594(0x337)](_0xaf778e,_0x41c6de[_0xc4a594(0x189)]||[]);}catch(_0x1282da){logger['debug'](_0xc4a594(0x398)+util[_0xc4a594(0x2d9)](_0x1282da));}}},'cleanup'(){const _0x3b89c5=a80_0x2925c6,_0x27bbdf={'OkePS':function(_0xd13331,_0x209d41){return _0xd13331(_0x209d41);}};for(const _0x7ace15 of this[_0x3b89c5(0x3c6)][_0x3b89c5(0x180)]()){_0x27bbdf[_0x3b89c5(0x10c)](clearTimeout,_0x7ace15);}this['safetyTimeouts'][_0x3b89c5(0x264)](),this[_0x3b89c5(0x1db)][_0x3b89c5(0x264)](),this['browsers'][_0x3b89c5(0x264)]();}},getPuppeteerMajorVersion=_0x39c3eb=>{const _0x41c90b=a80_0x2925c6,_0x3c9dbb={'UhrGE':function(_0x842d1e,_0x183a18){return _0x842d1e(_0x183a18);},'dyffA':function(_0x12b546,_0x1db29c,_0x55ec2e){return _0x12b546(_0x1db29c,_0x55ec2e);}};try{const _0x335464=require[_0x41c90b(0x122)](_0x39c3eb+_0x41c90b(0x3c8)),_0x1fc29d=_0x3c9dbb[_0x41c90b(0x2c0)](require,_0x335464),_0x58d4b0=_0x1fc29d[_0x41c90b(0x3d0)]||'',_0x22f357=_0x3c9dbb[_0x41c90b(0x335)](parseInt,_0x58d4b0[_0x41c90b(0x40f)]('.')[0x0],0xa);return logger[_0x41c90b(0x284)](_0x41c90b(0x1ea)+_0x39c3eb+_0x41c90b(0x11e)+_0x58d4b0+_0x41c90b(0x196)+_0x22f357+')'),_0x3c9dbb[_0x41c90b(0x2c0)](isNaN,_0x22f357)?null:_0x22f357;}catch(_0x176b21){return logger[_0x41c90b(0x284)](_0x41c90b(0x1bd)+_0x39c3eb+_0x41c90b(0x11e)+_0x176b21['message']),null;}},patchPuppeteerModule=_0x2a9549=>{const _0x19f8a8=a80_0x2925c6,_0x1b9f2a={'SKqdt':function(_0x55a9bb,_0x4997a5,_0xbe65b6,_0x1d86a0){return _0x55a9bb(_0x4997a5,_0xbe65b6,_0x1d86a0);},'HJRYY':function(_0x4a0dee,_0x1ab819,_0x3917bd){return _0x4a0dee(_0x1ab819,_0x3917bd);},'gnyjv':function(_0x23d871,_0x5c722b){return _0x23d871(_0x5c722b);},'ShLbw':function(_0x425079,_0x4c9ec0){return _0x425079(_0x4c9ec0);},'gMSUv':function(_0x382a81){return _0x382a81();}};try{require[_0x19f8a8(0x122)](_0x2a9549);}catch(_0x36ae5c){return logger[_0x19f8a8(0x284)](_0x19f8a8(0x1ea)+_0x2a9549+_0x19f8a8(0x2d4)),![];}try{const _0x96cf57=_0x1b9f2a['gnyjv'](require,_0x2a9549);if(!_0x96cf57)return logger[_0x19f8a8(0x284)](_0x19f8a8(0x1ea)+_0x2a9549+_0x19f8a8(0x109)),![];detectedModuleName=_0x2a9549;const _0x153331=_0x1b9f2a[_0x19f8a8(0x164)](getPuppeteerMajorVersion,_0x2a9549);logger[_0x19f8a8(0x284)](_0x19f8a8(0x3df)+_0x2a9549+_0x19f8a8(0x126)+_0x153331+')'),_0x1b9f2a[_0x19f8a8(0x1fd)](patchConnectionPrototype);const _0x52e742=_0x96cf57[_0x19f8a8(0x3c9)]?_0x96cf57[_0x19f8a8(0x3c9)][_0x19f8a8(0x351)](_0x96cf57):null,_0x4445f4=_0x96cf57['connect']?_0x96cf57[_0x19f8a8(0x2fe)][_0x19f8a8(0x351)](_0x96cf57):null;if(!_0x4445f4)return logger[_0x19f8a8(0x284)](_0x19f8a8(0x1ea)+_0x2a9549+_0x19f8a8(0x36f)),![];return _0x52e742&&(_0x96cf57['launch']=async function _0x404158(_0xf7d48e={}){const _0x10edbc=_0x19f8a8;return _0x1b9f2a[_0x10edbc(0x1aa)](_patchedLaunch,_0x4445f4,_0x52e742,_0xf7d48e);}),_0x96cf57[_0x19f8a8(0x2fe)]=async function _0x289b6d(_0x293004={}){const _0x40ff2a=_0x19f8a8;return _0x1b9f2a[_0x40ff2a(0x120)](_patchedConnect,_0x4445f4,_0x293004);},logger['info'](_0x19f8a8(0x35e)+_0x2a9549),!![];}catch(_0x357e9b){return logger[_0x19f8a8(0x284)](_0x19f8a8(0x24b)+_0x2a9549+':\x20'+util[_0x19f8a8(0x2d9)](_0x357e9b)),![];}},isBrowserStackEndpoint=_0x17f9f3=>{const _0x574d39=a80_0x2925c6,_0x1912a9={};_0x1912a9[_0x574d39(0x269)]=function(_0x4a65af,_0x211036){return _0x4a65af!==_0x211036;},_0x1912a9[_0x574d39(0x2b5)]='string';const _0x285738=_0x1912a9;if(!_0x17f9f3||_0x285738[_0x574d39(0x269)](typeof _0x17f9f3,_0x285738[_0x574d39(0x2b5)]))return![];return _0x17f9f3[_0x574d39(0x33b)](constants['BSTACK_URL'])||_0x17f9f3[_0x574d39(0x33b)](constants['BSTACK_ATS_URL']);},buildCdpEndpointUrl=(_0x23398d,_0x3e31b8)=>{const _0x3fa80d=a80_0x2925c6,_0x1bbf36={};_0x1bbf36[_0x3fa80d(0x1be)]=function(_0x13f91a,_0x5a8421){return _0x13f91a&&_0x5a8421;},_0x1bbf36['whGMk']=function(_0x484f24,_0x879bf5){return _0x484f24>_0x879bf5;},_0x1bbf36[_0x3fa80d(0x162)]=function(_0x2aab5f,_0x36fecc){return _0x2aab5f===_0x36fecc;},_0x1bbf36[_0x3fa80d(0x40b)]=_0x3fa80d(0x22f),_0x1bbf36['qckLC']=function(_0x1efd93,_0x30f33b){return _0x1efd93>_0x30f33b;},_0x1bbf36[_0x3fa80d(0x336)]=_0x3fa80d(0x368),_0x1bbf36['lBhgd']=function(_0x2c2770,_0x1446c2){return _0x2c2770&&_0x1446c2;},_0x1bbf36[_0x3fa80d(0x218)]=_0x3fa80d(0x1b4),_0x1bbf36['MMqlX']=function(_0x68deb7,_0x3482c6){return _0x68deb7||_0x3482c6;};const _0x1afca3=_0x1bbf36;try{const _0x4af046={};_0x4af046[_0x3fa80d(0x30b)]=storedConfiguration?storedConfiguration[_0x3fa80d(0x30b)]:undefined,_0x4af046['turboScaleUrl']=storedConfiguration?storedConfiguration[_0x3fa80d(0x424)]:undefined;const _0x24e2f7=_0x4af046;let _0x31d850=_0x23398d;if(_0x1afca3['ZiCRr'](!_0x31d850,storedConfiguration)){if(storedConfiguration[_0x3fa80d(0x21b)]&&_0x1afca3[_0x3fa80d(0x105)](Object[_0x3fa80d(0x16c)](storedConfiguration['capability'])[_0x3fa80d(0x315)],0x0))_0x31d850=storedConfiguration[_0x3fa80d(0x21b)];else{const _0x4893d1=storedConfiguration[_0x3fa80d(0x3fd)]||[],_0x5872a6=_0x1afca3[_0x3fa80d(0x162)](typeof _0x3e31b8,_0x1afca3['aZsXM'])?_0x3e31b8:0x0;_0x31d850=Array[_0x3fa80d(0x232)](_0x4893d1)&&_0x1afca3[_0x3fa80d(0x308)](_0x4893d1[_0x3fa80d(0x315)],_0x5872a6)?_0x4893d1[_0x5872a6]:_0x4893d1[0x0]||{};}}const _0x5cff8e=global[_0x3fa80d(0x2dd)]&&global[_0x3fa80d(0x2dd)][_0x1afca3[_0x3fa80d(0x336)]]||process[_0x3fa80d(0x409)][_0x3fa80d(0x271)];_0x1afca3['lBhgd'](_0x31d850,_0x5cff8e)&&(_0x31d850[_0x1afca3[_0x3fa80d(0x336)]]=_0x5cff8e,_0x31d850['accessibilityOptions']&&_0x1afca3[_0x3fa80d(0x162)](typeof _0x31d850[_0x3fa80d(0x161)],_0x1afca3[_0x3fa80d(0x218)])&&(_0x31d850[_0x3fa80d(0x161)][_0x3fa80d(0x221)]=_0x5cff8e));const _0x2dd0bd=puppeteerHelper['generatePuppeteerUrl'](_0x24e2f7,_0x1afca3[_0x3fa80d(0x11d)](_0x31d850,{}));return logger[_0x3fa80d(0x284)]('[PuppeteerPatcher]\x20Built\x20CDP\x20endpoint\x20URL\x20(length:\x20'+_0x2dd0bd['length']+')'),_0x2dd0bd;}catch(_0x288f01){return logger[_0x3fa80d(0x284)]('[PuppeteerPatcher]\x20Error\x20building\x20CDP\x20URL:\x20'+util[_0x3fa80d(0x2d9)](_0x288f01)),null;}},safeEvaluate=async(_0x4af24c,_0x234f61)=>{const _0x4078d2=a80_0x2925c6,_0x2c27cf={};_0x2c27cf[_0x4078d2(0x33f)]='Connection\x20closed',_0x2c27cf[_0x4078d2(0x289)]=_0x4078d2(0x349),_0x2c27cf[_0x4078d2(0x22c)]=_0x4078d2(0x3fe),_0x2c27cf['odIsT']=_0x4078d2(0x311),_0x2c27cf[_0x4078d2(0x371)]=_0x4078d2(0x3e0);const _0x2b0bf6=_0x2c27cf;try{return await _0x4af24c['evaluate'](_0x231c58=>{},_0x234f61);}catch(_0x845453){const _0x2dd677=_0x845453['message']||'';if(_0x2dd677[_0x4078d2(0x33b)](_0x2b0bf6[_0x4078d2(0x33f)])||_0x2dd677[_0x4078d2(0x33b)](_0x2b0bf6[_0x4078d2(0x289)])||_0x2dd677[_0x4078d2(0x33b)](_0x2b0bf6[_0x4078d2(0x22c)])||_0x2dd677['includes'](_0x2b0bf6[_0x4078d2(0x3bd)])||_0x2dd677['includes'](_0x2b0bf6[_0x4078d2(0x371)]))return logger['debug'](_0x4078d2(0x385)+_0x2dd677),null;return logger['debug'](_0x4078d2(0x1d1)+util[_0x4078d2(0x2d9)](_0x845453)),null;}},markSessionName=async(_0x321a54,_0x1facbf)=>{const _0x56c849=a80_0x2925c6,_0x35dfdc={'eKtHE':function(_0x3b74fe,_0x4bc90e,_0x67affd){return _0x3b74fe(_0x4bc90e,_0x67affd);},'rrDFy':'setSessionName','UKvgO':_0x56c849(0x23a),'hMduH':_0x56c849(0x2cd),'OiYlK':function(_0x20d172,_0x64eabe){return _0x20d172||_0x64eabe;},'cFmAq':_0x56c849(0x372),'nOsLj':function(_0x3381d7,_0x4f7f27){return _0x3381d7(_0x4f7f27);},'DWLol':_0x56c849(0x273),'VYIUf':_0x56c849(0x12a),'jjxFA':_0x56c849(0x260),'YuJsM':function(_0x511802,_0x244c7c){return _0x511802>=_0x244c7c;},'XfoVe':function(_0x92ebc5,_0xc1a723){return _0x92ebc5<_0xc1a723;}};if(!_0x1facbf)return;if(global[_0x56c849(0x193)])return;if(_0x321a54)try{const _0x37c208={};_0x37c208[_0x56c849(0x2f1)]=_0x1facbf,await _0x35dfdc[_0x56c849(0x3a0)](safeEvaluate,_0x321a54,_0x56c849(0x355)+JSON[_0x56c849(0x114)]({'action':_0x35dfdc['rrDFy'],'arguments':_0x37c208})),logger[_0x56c849(0x394)]('[PuppeteerPatcher]\x20Marked\x20session\x20name:\x20'+_0x1facbf);}catch(_0x2d0099){logger[_0x56c849(0x394)](_0x56c849(0x36d)+_0x2d0099[_0x56c849(0x286)]);}try{if(global[_0x56c849(0x20b)]){logger[_0x56c849(0x284)](_0x35dfdc[_0x56c849(0xf1)]);return;}const _0x4d6b27=global[_0x56c849(0x41d)];if(!_0x4d6b27){logger[_0x56c849(0x284)](_0x35dfdc[_0x56c849(0x356)]);return;}const _0x2f1b9b=BrowserstackCLI[_0x56c849(0xf0)]()&&BrowserstackCLI[_0x56c849(0xf0)]()[_0x56c849(0x1ff)](),_0x226dfb=_0x2f1b9b&&_0x2f1b9b[_0x56c849(0x1b8)]||process['env'][_0x56c849(0x403)]||'',_0x5d3c9a=_0x2f1b9b&&_0x2f1b9b[_0x56c849(0x130)]||process[_0x56c849(0x409)][_0x56c849(0x300)]||'';if(_0x35dfdc[_0x56c849(0x2ef)](!_0x226dfb,!_0x5d3c9a)){logger[_0x56c849(0x284)](_0x35dfdc[_0x56c849(0x402)]);return;}const {BROWSERSTACK_API_URL:_0xc25076}=_0x35dfdc['nOsLj'](require,_0x35dfdc[_0x56c849(0x30f)]),_0x5eaa16=_0x35dfdc[_0x56c849(0x251)](require,_0x35dfdc[_0x56c849(0x1a3)]),_0x194891=_0xc25076+_0x56c849(0x261)+_0x4d6b27+_0x56c849(0x186),_0x322ad7={};_0x322ad7[_0x56c849(0x2f1)]=_0x1facbf;const _0x5a7778={};_0x5a7778['request']=0x2710;const _0x4a5ce6={};_0x4a5ce6[_0x56c849(0x2db)]=_0x226dfb,_0x4a5ce6[_0x56c849(0x3b8)]=_0x5d3c9a,_0x4a5ce6[_0x56c849(0x260)]=_0x322ad7,_0x4a5ce6[_0x56c849(0x1dc)]=_0x35dfdc[_0x56c849(0x229)],_0x4a5ce6[_0x56c849(0x1d9)]=![],_0x4a5ce6['timeout']=_0x5a7778;const _0x185948=await _0x5eaa16['put'](_0x194891,_0x4a5ce6);_0x35dfdc[_0x56c849(0x175)](_0x185948[_0x56c849(0x19b)],0xc8)&&_0x35dfdc[_0x56c849(0x305)](_0x185948[_0x56c849(0x19b)],0x12c)?logger[_0x56c849(0x394)](_0x56c849(0x268)+_0x185948['statusCode']+_0x56c849(0x174)+_0x4d6b27):logger[_0x56c849(0x25b)](_0x56c849(0x268)+_0x185948[_0x56c849(0x19b)]+_0x56c849(0x174)+_0x4d6b27+':\x20'+JSON[_0x56c849(0x114)](_0x185948[_0x56c849(0x2eb)])[_0x56c849(0x14a)](0x0,0xc8));}catch(_0x5365d9){logger[_0x56c849(0x284)](_0x56c849(0x194)+(_0x5365d9['message']||_0x5365d9));}},markSessionStatus=async(_0x45b806,_0x212749,_0x349db8)=>{const _0x4b9626=a80_0x2925c6,_0x211c3c={'dhySQ':function(_0x20887c,_0x1842cd,_0x446f40){return _0x20887c(_0x1842cd,_0x446f40);},'JPVBT':'setSessionStatus','GwxdF':_0x4b9626(0x2d5),'OeLhT':_0x4b9626(0x411),'lclUH':function(_0x3f2136,_0x56e3e3){return _0x3f2136||_0x56e3e3;},'jQrxR':_0x4b9626(0x3e2),'ITVsE':function(_0x978e88,_0x31563b){return _0x978e88(_0x31563b);},'ZdMSp':_0x4b9626(0x273),'DqBcO':function(_0x5486d9,_0x41e4eb){return _0x5486d9(_0x41e4eb);},'dfUxl':_0x4b9626(0x12a),'yvHvP':function(_0x1c50db,_0x1470e9){return _0x1c50db||_0x1470e9;},'QsqLB':'json','AqQZy':function(_0x1f627d,_0x3db03b){return _0x1f627d>=_0x3db03b;},'YoAcK':function(_0x4eaf18,_0x26c567){return _0x4eaf18<_0x26c567;}};if(global[_0x4b9626(0x415)])return;if(_0x45b806)try{const _0x47f408={};_0x47f408[_0x4b9626(0xeb)]=_0x212749;const _0x204eca=_0x47f408;_0x349db8&&(_0x204eca[_0x4b9626(0x1de)]=_0x349db8),await _0x211c3c[_0x4b9626(0x2f4)](safeEvaluate,_0x45b806,_0x4b9626(0x355)+JSON[_0x4b9626(0x114)]({'action':_0x211c3c['JPVBT'],'arguments':_0x204eca})),logger[_0x4b9626(0x394)]('[PuppeteerPatcher]\x20Marked\x20session\x20status:\x20'+_0x212749);}catch(_0x669431){logger['info'](_0x4b9626(0x147)+_0x669431[_0x4b9626(0x286)]);}try{if(global[_0x4b9626(0x30c)]){logger[_0x4b9626(0x284)](_0x211c3c[_0x4b9626(0x29d)]);return;}const _0x4e110a=global[_0x4b9626(0x41d)];if(!_0x4e110a){logger[_0x4b9626(0x284)](_0x211c3c[_0x4b9626(0x21e)]);return;}const _0x5e7833=BrowserstackCLI[_0x4b9626(0xf0)]()&&BrowserstackCLI[_0x4b9626(0xf0)]()[_0x4b9626(0x1ff)](),_0x16d197=_0x5e7833&&_0x5e7833[_0x4b9626(0x1b8)]||process[_0x4b9626(0x409)][_0x4b9626(0x403)]||'',_0x25faf6=_0x5e7833&&_0x5e7833[_0x4b9626(0x130)]||process[_0x4b9626(0x409)]['BROWSERSTACK_ACCESS_KEY']||'';if(_0x211c3c['lclUH'](!_0x16d197,!_0x25faf6)){logger[_0x4b9626(0x284)](_0x211c3c['jQrxR']);return;}const {BROWSERSTACK_API_URL:_0x511225}=_0x211c3c[_0x4b9626(0x36b)](require,_0x211c3c[_0x4b9626(0x38a)]),_0x102774=_0x211c3c[_0x4b9626(0x1e8)](require,_0x211c3c['dfUxl']),_0x81bc29=_0x511225+_0x4b9626(0x261)+_0x4e110a+_0x4b9626(0x186),_0x7daec7={};_0x7daec7[_0x4b9626(0x40c)]=0x2710;const _0x29f099=await _0x102774['put'](_0x81bc29,{'username':_0x16d197,'password':_0x25faf6,'json':{'status':_0x212749,'reason':_0x211c3c[_0x4b9626(0x3f1)](_0x349db8,'')},'responseType':_0x211c3c[_0x4b9626(0x369)],'throwHttpErrors':![],'timeout':_0x7daec7});_0x211c3c['AqQZy'](_0x29f099[_0x4b9626(0x19b)],0xc8)&&_0x211c3c[_0x4b9626(0x239)](_0x29f099['statusCode'],0x12c)?logger[_0x4b9626(0x394)](_0x4b9626(0x152)+_0x212749+_0x4b9626(0x3f5)+_0x29f099['statusCode']+_0x4b9626(0x174)+_0x4e110a):logger['warn'](_0x4b9626(0x2e8)+_0x29f099[_0x4b9626(0x19b)]+_0x4b9626(0x174)+_0x4e110a+':\x20'+JSON['stringify'](_0x29f099[_0x4b9626(0x2eb)])[_0x4b9626(0x14a)](0x0,0xc8));}catch(_0x4aba1b){logger['debug']('[PuppeteerPatcher]\x20REST\x20setSessionStatus\x20failed:\x20'+(_0x4aba1b[_0x4b9626(0x286)]||_0x4aba1b));}},getPageFromAutomationFramework=()=>{const _0x205e62=a80_0x2925c6;try{const _0x460576=AutomationFramework[_0x205e62(0x392)]();if(_0x460576)return AutomationFramework[_0x205e62(0x297)](_0x460576,PuppeteerDriverModule['KEY_PAGE_OBJECT']);}catch(_0x1d13c0){logger[_0x205e62(0x284)](_0x205e62(0xee)+util[_0x205e62(0x2d9)](_0x1d13c0));}return null;},patchConnectionPrototype=()=>{const _0x31120f=a80_0x2925c6,_0x13d103={'sqIZT':function(_0x3d0c7a,_0x2d9a67){return _0x3d0c7a===_0x2d9a67;},'aOPZU':_0x31120f(0xff),'Dmrar':function(_0x5cdcbd,_0x3d1b4){return _0x5cdcbd(_0x3d1b4);},'kfIgP':_0x31120f(0x11c),'mEpqt':function(_0x14af26,_0x368e2b){return _0x14af26===_0x368e2b;},'DbnaR':function(_0x4cb983,_0x2e44d5){return _0x4cb983(_0x2e44d5);},'MtfYY':'path','VFoZi':_0x31120f(0x2a6),'lzHVh':function(_0x5b9195,_0x49c887){return _0x5b9195(_0x49c887);},'HJIDH':_0x31120f(0x230),'QLsMq':_0x31120f(0x316),'rWTtU':_0x31120f(0x3f4),'smEXI':'cdp','ovHjy':'Connection.js','yQUDO':function(_0xed5ea2,_0x7b2431){return _0xed5ea2(_0x7b2431);},'hqEqj':_0x31120f(0x242),'cUdmz':function(_0x54e170,_0x5d3698){return _0x54e170(_0x5d3698);},'LxmKE':function(_0x3dace1,_0x4f54ee){return _0x3dace1(_0x4f54ee);},'ReEnT':_0x31120f(0xef),'wqfsk':_0x31120f(0x100),'iyxaA':'function','OtNXb':'onMessage','KFAMp':_0x31120f(0x2f3),'HeOCV':function(_0x41fe45,_0x5dbdc7){return _0x41fe45!==_0x5dbdc7;}};try{const _0xbc754b=_0x13d103[_0x31120f(0x17b)](require,_0x13d103[_0x31120f(0x2b1)])[_0x31120f(0x18b)](require[_0x31120f(0x122)](_0x13d103[_0x31120f(0x272)]));let _0x25122e;const _0x235ab5=_0x13d103['lzHVh'](require,_0x13d103[_0x31120f(0x2b1)])[_0x31120f(0x418)](_0xbc754b,_0x13d103[_0x31120f(0x127)],_0x13d103[_0x31120f(0x13e)],_0x13d103[_0x31120f(0x226)],_0x13d103[_0x31120f(0x249)],_0x13d103[_0x31120f(0x140)]),_0x20485d=_0x13d103[_0x31120f(0xfe)](require,_0x13d103[_0x31120f(0x2b1)])[_0x31120f(0x418)](_0xbc754b,_0x13d103['HJIDH'],_0x13d103[_0x31120f(0x13e)],_0x13d103['rWTtU'],_0x13d103['hqEqj'],_0x13d103[_0x31120f(0x140)]);try{_0x25122e=_0x13d103['cUdmz'](require,_0x235ab5)[_0x31120f(0x11b)];}catch(_0x222ab5){try{_0x25122e=_0x13d103[_0x31120f(0xf4)](require,_0x20485d)[_0x31120f(0x11b)];}catch(_0x10ccee){logger[_0x31120f(0x284)](_0x13d103['ReEnT']);return;}}if(!_0x25122e){logger[_0x31120f(0x284)](_0x13d103['wqfsk']);return;}const _0x3964fd=_0x13d103[_0x31120f(0x3a7)](typeof _0x25122e[_0x31120f(0x2fb)][_0x31120f(0x190)],_0x13d103['iyxaA'])?_0x13d103[_0x31120f(0x1c0)]:_0x13d103['KFAMp'];if(_0x13d103[_0x31120f(0x1df)](typeof _0x25122e[_0x31120f(0x2fb)][_0x3964fd],_0x13d103[_0x31120f(0x2ed)])){logger['debug']('[PuppeteerPatcher]\x20Connection.prototype\x20has\x20no\x20'+_0x3964fd+_0x31120f(0x331));return;}const _0x311cba=_0x25122e[_0x31120f(0x2fb)][_0x3964fd];_0x25122e[_0x31120f(0x2fb)][_0x3964fd]=async function(_0x4e7bba){const _0x3f2e0f=_0x31120f;try{const _0x1edcad=_0x13d103[_0x3f2e0f(0x1fe)](typeof _0x4e7bba,_0x13d103[_0x3f2e0f(0x377)])?JSON[_0x3f2e0f(0xf9)](_0x4e7bba):_0x4e7bba,_0x4d381e=_0x1edcad?.['bStackParams']||_0x1edcad?.['bsParams']||_0x1edcad?.[_0x3f2e0f(0x3ea)]?.['bsParams']||_0x1edcad?.[_0x3f2e0f(0x3ea)]?.[_0x3f2e0f(0x17f)];!this['_bstackMsgCount']&&(this['_bstackMsgCount']=0x0);this['_bstackMsgCount']++;if(_0x4d381e){const _0x20c954=_0x4d381e[_0x3f2e0f(0xfa)],_0x39c84b=_0x4d381e[_0x3f2e0f(0x2c5)];if(_0x20c954){global['__bstackSessionId']=_0x20c954,global['__bstackPlatformDetails']=_0x39c84b,logger[_0x3f2e0f(0x394)](_0x3f2e0f(0x2ad)+_0x20c954);try{const _0x57a8fd=AutomationFramework[_0x3f2e0f(0x392)]();if(_0x57a8fd){const _0x42e681=_0x13d103[_0x3f2e0f(0xec)](require,_0x13d103[_0x3f2e0f(0xe7)]);AutomationFramework[_0x3f2e0f(0x185)](_0x57a8fd,_0x42e681[_0x3f2e0f(0x34c)],_0x20c954),_0x39c84b&&AutomationFramework[_0x3f2e0f(0x185)](_0x57a8fd,_0x42e681[_0x3f2e0f(0x1b2)],_0x39c84b);}}catch(_0x1a81ba){}}_0x13d103[_0x3f2e0f(0x3a7)](typeof _0x4e7bba,_0x13d103['aOPZU'])&&(delete _0x1edcad[_0x3f2e0f(0x17f)],delete _0x1edcad[_0x3f2e0f(0x12f)],_0x1edcad['params']&&(delete _0x1edcad[_0x3f2e0f(0x3ea)][_0x3f2e0f(0x12f)],delete _0x1edcad['params']['bStackParams']),_0x4e7bba=JSON[_0x3f2e0f(0x114)](_0x1edcad));}}catch(_0x316d3c){}return _0x311cba[_0x3f2e0f(0x1d4)](this,_0x4e7bba);},logger[_0x31120f(0x394)](_0x31120f(0x3e4)+_0x3964fd+_0x31120f(0xf5));}catch(_0x235980){logger[_0x31120f(0x284)](_0x31120f(0x36c)+util['format'](_0x235980));}},_interceptCdpMessage=_0x54a842=>{const _0x455c2b=a80_0x2925c6,_0x2cf56e={'QXkyU':function(_0xeaacbf,_0x358083){return _0xeaacbf===_0x358083;},'QKQaJ':_0x455c2b(0xff),'HGOax':_0x455c2b(0x203),'PiNFw':function(_0x1a7efa,_0x4297e3){return _0x1a7efa(_0x4297e3);},'DULfL':_0x455c2b(0x11c)};try{const _0x281127=_0x2cf56e[_0x455c2b(0x102)](typeof _0x54a842,_0x2cf56e[_0x455c2b(0x111)])?JSON['parse'](_0x54a842):_0x54a842;logger[_0x455c2b(0x284)]('[PuppeteerPatcher]\x20Received\x20CDP\x20message:\x20'+(_0x281127[_0x455c2b(0x2c3)]||_0x2cf56e[_0x455c2b(0x21c)]));if(_0x281127&&_0x281127[_0x455c2b(0x17f)]){const {sessionId:_0x474d3e,platformDetails:_0x549886}=_0x281127['bStackParams'];logger[_0x455c2b(0x394)](_0x455c2b(0x233)+_0x474d3e);try{const _0x10fa69=AutomationFramework[_0x455c2b(0x392)]();if(_0x10fa69){const _0xc02595=_0x2cf56e[_0x455c2b(0x3d2)](require,_0x2cf56e[_0x455c2b(0x423)]);_0x474d3e&&(AutomationFramework[_0x455c2b(0x185)](_0x10fa69,PlaywrightDriverModule[_0x455c2b(0x34c)],_0x474d3e),AutomationFramework['setState'](_0x10fa69,_0xc02595[_0x455c2b(0x34c)],_0x474d3e)),_0x549886&&(AutomationFramework[_0x455c2b(0x185)](_0x10fa69,PlaywrightDriverModule['KEY_PLATFORM_DETAILS'],_0x549886),AutomationFramework['setState'](_0x10fa69,_0xc02595['KEY_PLATFORM_DETAILS'],_0x549886));}}catch(_0x58619b){logger[_0x455c2b(0x284)](_0x455c2b(0x1a4)+util[_0x455c2b(0x2d9)](_0x58619b));}global[_0x455c2b(0x41d)]=_0x474d3e,global['__bstackPlatformDetails']=_0x549886;}}catch(_0x52be4e){}},patchPageForAccessibility=_0x2b6943=>{const _0x23d4b=a80_0x2925c6,_0x1af7bb={'yCSTk':function(_0x4d3af0,_0x1d457f,_0x48eb51){return _0x4d3af0(_0x1d457f,_0x48eb51);},'AtMox':_0x23d4b(0x1f3),'IiCRZ':_0x23d4b(0x1ca),'PWotx':_0x23d4b(0x2f2),'gNRBE':_0x23d4b(0x139),'Qkkyo':_0x23d4b(0x1f7),'hsmmw':_0x23d4b(0x1cb),'ZFRJa':function(_0xa653d9,_0x4d97dc,_0x2d8e61,_0x1012ef,_0x2f3700,_0x1eafb6){return _0xa653d9(_0x4d97dc,_0x2d8e61,_0x1012ef,_0x2f3700,_0x1eafb6);},'yGOEH':function(_0x3385d7,_0xca1345){return _0x3385d7===_0xca1345;},'XJcMW':function(_0x3d05e0){return _0x3d05e0();},'dunpv':function(_0x26f9d6,_0x70b4b0){return _0x26f9d6(_0x70b4b0);},'yBfqL':function(_0x18799a,_0x780ccf){return _0x18799a(_0x780ccf);},'MtdFo':_0x23d4b(0x146),'ScpDI':function(_0x13bf0d,_0x54c04f,_0x17811d){return _0x13bf0d(_0x54c04f,_0x17811d);},'KhUtP':_0x23d4b(0x414),'tnphk':function(_0x36eca3,_0x3a1b69){return _0x36eca3(_0x3a1b69);},'mWKdq':_0x23d4b(0x1e1),'JHTuu':_0x23d4b(0x277),'tPPnA':_0x23d4b(0x404),'qFYMI':_0x23d4b(0x362),'zIrNe':'[SDK-P3]\x20PATCH_A11Y_SKIP_NOT_A11Y_SESSION\x20—\x20not\x20an\x20accessibility\x20session\x20per\x20isAccessibilityAutomationSession()','FfFof':_0x23d4b(0x3db),'ZoCyZ':_0x23d4b(0x227),'eFdAK':_0x23d4b(0x157),'DuULC':_0x23d4b(0x1b7),'HyXJd':_0x23d4b(0x3be),'BnRZw':_0x23d4b(0x3f3),'Vqvbh':'$$eval','cpsTX':'setContent','VYmOt':_0x23d4b(0x137),'hJtuz':_0x23d4b(0x252),'vikof':_0x23d4b(0x254),'ICSHR':_0x23d4b(0x223),'QAkZa':'keyboard.type','BoxbX':_0x23d4b(0x285),'OHgxJ':'keyboard.down','uvrip':_0x23d4b(0x38f),'MSEmO':_0x23d4b(0x258),'ABzDh':'mouse.click','uijwv':'mouse.down','wRvhz':_0x23d4b(0x2ca),'HWiOV':_0x23d4b(0xea),'PzWUp':_0x23d4b(0x387),'CbfPG':_0x23d4b(0x192),'GaTrp':'mouse.drop','rpwSC':_0x23d4b(0x395),'qpvIq':_0x23d4b(0x3d7),'nvGuj':function(_0x50b535,_0x4acd11){return _0x50b535||_0x4acd11;},'rZuKi':'element_','HenkY':_0x23d4b(0x413),'LzVFY':_0x23d4b(0x341),'Slngt':_0x23d4b(0x3a6),'RhWDQ':function(_0x25af5a,_0x10e36c){return _0x25af5a<_0x10e36c;},'dSuqX':function(_0x22138f,_0x2882d4){return _0x22138f-_0x2882d4;},'BKsBW':function(_0x44b3f4,_0x15bba2){return _0x44b3f4-_0x15bba2;},'OzNDY':function(_0x900102,_0x26fa32){return _0x900102!==_0x26fa32;},'OesvX':'function','FCKbw':_0x23d4b(0x31c),'aAUjW':_0x23d4b(0x2af)};logger['info']('[SDK-P1]\x20PATCH_A11Y_ENTRY\x20hasPage='+!!_0x2b6943+'\x20already_patched='+!!(_0x2b6943&&_0x2b6943[_0x23d4b(0x14f)]));if(!_0x2b6943||_0x2b6943['_bstackA11yPatchApplied'])return;try{const _0x5b4157=_0x1af7bb['XJcMW'](isAccessibilityAutomationSession),_0x45a7ef=BrowserstackCLI['getInstance']();if(!_0x45a7ef){logger[_0x23d4b(0x394)](_0x1af7bb[_0x23d4b(0x191)]);return;}const _0x1a8197=_0x45a7ef[_0x23d4b(0x353)](),_0x117d95=_0x45a7ef[_0x23d4b(0xf2)](),_0x32b3ea=_0x45a7ef[_0x23d4b(0x33d)](),_0x1414b9=process[_0x23d4b(0x409)][_0x23d4b(0x1c8)],_0x1902a1=process['env'][_0x23d4b(0x1ad)],_0x7a81ef=(process[_0x23d4b(0x409)]['BS_A11Y_JWT']||'')[_0x23d4b(0x315)],_0x174bc6=_0x7a81ef?_0x1af7bb[_0x23d4b(0x344)](require,_0x1af7bb[_0x23d4b(0x31f)])[_0x23d4b(0x30d)](_0x1af7bb[_0x23d4b(0x2e9)])['update'](process['env'][_0x23d4b(0x271)])[_0x23d4b(0x3a2)](_0x1af7bb[_0x23d4b(0x2f6)])['slice'](0x0,0x8):'';logger[_0x23d4b(0x394)](_0x23d4b(0x155)+_0x5b4157+_0x23d4b(0x1a8)+_0x117d95+_0x23d4b(0x282)+_0x32b3ea+_0x23d4b(0x27f)+_0x1a8197+'\x20BROWSERSTACK_TEST_ACCESSIBILITY_YML=\x22'+_0x1414b9+_0x23d4b(0x39b)+_0x1902a1+_0x23d4b(0x393)+_0x7a81ef+_0x23d4b(0x34f)+_0x174bc6+'\x20WORKER_ID=\x22'+(process['env']['JEST_WORKER_ID']||_0x1af7bb[_0x23d4b(0x2d3)])+_0x23d4b(0x279)+process[_0x23d4b(0x1ed)]);if(!_0x5b4157){logger[_0x23d4b(0x394)](_0x1af7bb[_0x23d4b(0x1c4)]);return;}if(!_0x1a8197){logger[_0x23d4b(0x394)](_0x1af7bb[_0x23d4b(0x211)]);return;}const _0x31da39=_0x45a7ef[_0x23d4b(0x1a2)]();logger[_0x23d4b(0x284)](_0x23d4b(0x23d)+!!_0x31da39),_0x2b6943[_0x23d4b(0x1cd)]=async()=>{const _0x59739b=_0x23d4b;await _0x1af7bb[_0x59739b(0x390)](_logA11yCmdContext,_0x2b6943,_0x1af7bb[_0x59739b(0x138)]);try{if(_0x31da39){const _0x2ee3cd=await _0x31da39[_0x59739b(0x1cd)](_0x2b6943);return logger[_0x59739b(0x284)](_0x59739b(0x391)+(Array['isArray'](_0x2ee3cd)?_0x2ee3cd['length']:_0x1af7bb[_0x59739b(0x2ba)])),_0x2ee3cd;}return logger[_0x59739b(0x25b)](_0x1af7bb[_0x59739b(0x20c)]),[];}catch(_0x1acdbc){return logger[_0x59739b(0x284)]('[PuppeteerPatcher]\x20getAccessibilityResults\x20error:\x20'+util['format'](_0x1acdbc)),[];}},_0x2b6943[_0x23d4b(0x37b)]=async()=>{const _0x26600e=_0x23d4b;await _0x1af7bb[_0x26600e(0x390)](_logA11yCmdContext,_0x2b6943,_0x1af7bb[_0x26600e(0x2ff)]);try{if(_0x31da39){const _0x1e291b=await _0x31da39[_0x26600e(0x37b)](_0x2b6943);return logger[_0x26600e(0x284)](_0x26600e(0x1e7)+JSON[_0x26600e(0x114)](_0x1e291b)),_0x1e291b;}return logger[_0x26600e(0x25b)](_0x1af7bb[_0x26600e(0x1c2)]),{};}catch(_0x5b1332){return logger['debug'](_0x26600e(0x1ce)+util[_0x26600e(0x2d9)](_0x5b1332)),{};}},_0x2b6943['performScan']=async _0x5000e1=>{const _0x160ef5=_0x23d4b;await _0x1af7bb[_0x160ef5(0x390)](_logA11yCmdContext,_0x2b6943,_0x1af7bb[_0x160ef5(0x183)]);try{const _0x36aa6e=await _0x1af7bb['ZFRJa'](performScanWithRetry,_0x2b6943,null,null,!![],_0x5000e1);return logger[_0x160ef5(0x284)]('[PuppeteerPatcher]\x20performScan\x20result='+JSON[_0x160ef5(0x114)](_0x36aa6e)),_0x36aa6e;}catch(_0x3b1248){return logger[_0x160ef5(0x284)](_0x160ef5(0x206)+util[_0x160ef5(0x2d9)](_0x3b1248)),![];}},logger[_0x23d4b(0x284)](_0x1af7bb[_0x23d4b(0x354)]);if(!_0x31da39){logger[_0x23d4b(0x284)](_0x1af7bb[_0x23d4b(0x410)]),_0x2b6943['_bstackA11yPatchApplied']=!![];return;}const _0x4d76e8=_0x31da39['accessibilityConfig']?.[_0x23d4b(0x26b)]?.[_0x23d4b(0x3e1)]?.['commandsList']||[];_0x1af7bb[_0x23d4b(0x420)](_0x4d76e8[_0x23d4b(0x315)],0x0)?logger['warn'](_0x1af7bb[_0x23d4b(0x37e)]):logger[_0x23d4b(0x284)](_0x23d4b(0x20e)+_0x4d76e8[_0x23d4b(0x315)]+_0x23d4b(0x25c));const _0x3d2f42={};_0x3d2f42[_0x23d4b(0x159)]=_0x1af7bb[_0x23d4b(0x2aa)],_0x3d2f42['query_selector_eval']=_0x1af7bb[_0x23d4b(0x168)],_0x3d2f42[_0x23d4b(0x182)]=_0x1af7bb['Vqvbh'],_0x3d2f42[_0x23d4b(0x1f9)]=_0x1af7bb[_0x23d4b(0x26e)],_0x3d2f42['add_script_tag']=_0x1af7bb[_0x23d4b(0x376)],_0x3d2f42['add_style_tag']=_0x1af7bb[_0x23d4b(0x240)],_0x3d2f42[_0x23d4b(0x213)]=_0x1af7bb[_0x23d4b(0x247)],_0x3d2f42[_0x23d4b(0x3d1)]=_0x1af7bb[_0x23d4b(0x25a)],_0x3d2f42[_0x23d4b(0x3ec)]=_0x1af7bb[_0x23d4b(0x29c)],_0x3d2f42['keyboard_press']=_0x1af7bb[_0x23d4b(0x177)],_0x3d2f42[_0x23d4b(0x3da)]=_0x1af7bb[_0x23d4b(0x2a5)],_0x3d2f42[_0x23d4b(0x35b)]=_0x1af7bb[_0x23d4b(0x1d0)],_0x3d2f42[_0x23d4b(0x259)]=_0x1af7bb['MSEmO'],_0x3d2f42['mouse_click']=_0x1af7bb['ABzDh'],_0x3d2f42[_0x23d4b(0x3c4)]=_0x1af7bb['uijwv'],_0x3d2f42[_0x23d4b(0x2ee)]=_0x1af7bb[_0x23d4b(0x220)],_0x3d2f42['mouse_move']=_0x1af7bb['HWiOV'],_0x3d2f42[_0x23d4b(0x1f4)]=_0x1af7bb[_0x23d4b(0x241)],_0x3d2f42[_0x23d4b(0x125)]=_0x1af7bb[_0x23d4b(0x2a9)],_0x3d2f42[_0x23d4b(0x1fb)]=_0x1af7bb[_0x23d4b(0x3b5)],_0x3d2f42[_0x23d4b(0x150)]=_0x1af7bb[_0x23d4b(0x304)],_0x3d2f42['sendkeys']=_0x1af7bb[_0x23d4b(0x1e0)];const _0x441068=_0x3d2f42;for(const _0x5abca8 of _0x4d76e8){const _0x321f59=_0x5abca8['name'],_0x364973=_0x5abca8['method'],_0x42a431=_0x1af7bb[_0x23d4b(0x310)](_0x321f59,'')[_0x23d4b(0x350)]()['toLowerCase']();if(_0x42a431['startsWith'](_0x1af7bb['rZuKi'])){logger[_0x23d4b(0x284)](_0x23d4b(0x30e)+_0x321f59+_0x23d4b(0x1ef));continue;}if(_0x42a431[_0x23d4b(0x306)](_0x1af7bb['HenkY'])||_0x42a431[_0x23d4b(0x306)](_0x1af7bb['LzVFY'])||_0x42a431[_0x23d4b(0x306)](_0x1af7bb['Slngt'])){logger[_0x23d4b(0x284)](_0x23d4b(0xe5)+_0x321f59+_0x23d4b(0x334));continue;}const _0x559579=_0x441068[_0x42a431]||_0x42a431;logger[_0x23d4b(0x284)](_0x23d4b(0x14e)+_0x321f59+_0x23d4b(0x2cc)+_0x559579);const _0x34a8c9=_0x559579['split']('.')[_0x23d4b(0x2da)](_0x343434=>_0x343434);let _0x437093=_0x2b6943;for(let _0x22d65f=0x0;_0x1af7bb[_0x23d4b(0x291)](_0x22d65f,_0x1af7bb['dSuqX'](_0x34a8c9[_0x23d4b(0x315)],0x1));_0x22d65f++){_0x437093=_0x437093&&_0x437093[_0x34a8c9[_0x22d65f]];}const _0x47fc39=_0x34a8c9[_0x1af7bb['BKsBW'](_0x34a8c9[_0x23d4b(0x315)],0x1)];if(!_0x437093||_0x1af7bb['OzNDY'](typeof _0x437093[_0x47fc39],_0x1af7bb[_0x23d4b(0x3b9)])){logger['debug'](_0x23d4b(0x267)+_0x321f59+_0x23d4b(0x2cc)+_0x559579+'\x20not\x20a\x20function\x20on\x20page');continue;}const _0x52620f=_0x437093[_0x47fc39][_0x23d4b(0x351)](_0x437093);_0x437093[_0x47fc39]=async function _0x54bf68(..._0x41a7a9){const _0x3f68a0=_0x23d4b,_0x2dde35={'vNcZk':function(_0x4c7cc1,_0x3c1bd3){const _0x233647=a80_0xee14;return _0x1af7bb[_0x233647(0x420)](_0x4c7cc1,_0x3c1bd3);},'NIyoO':function(_0x5ece4c){const _0x387fa3=a80_0xee14;return _0x1af7bb[_0x387fa3(0x187)](_0x5ece4c);},'jZijl':function(_0x5ee0f7,_0x1993d1){const _0x49df9d=a80_0xee14;return _0x1af7bb[_0x49df9d(0x13f)](_0x5ee0f7,_0x1993d1);},'WrNVS':function(_0x1c0ab0,_0x79a078){const _0x6f06d6=a80_0xee14;return _0x1af7bb[_0x6f06d6(0x420)](_0x1c0ab0,_0x79a078);}};await _0x1af7bb['yCSTk'](_logA11yCmdContext,_0x2b6943,_0x3f68a0(0x1f1)+_0x321f59+_0x3f68a0(0x163)+_0x364973);let _0x3a3a43;try{_0x3a3a43=await _0x1af7bb['dunpv'](_0x52620f,..._0x41a7a9);}catch(_0x2e084b){logger[_0x3f68a0(0x394)](_0x3f68a0(0x2e7)+_0x364973+_0x3f68a0(0x2c6)+_0x321f59+_0x3f68a0(0x358)+_0x2e084b[_0x3f68a0(0x286)]);throw _0x2e084b;}logger[_0x3f68a0(0x284)](_0x3f68a0(0x2e7)+_0x364973+_0x3f68a0(0x2b4)+_0x321f59);if(!global[_0x3f68a0(0x2a2)]){const _0x577007=_0x1af7bb[_0x3f68a0(0x208)](Symbol,_0x1af7bb[_0x3f68a0(0x383)]);global[_0x3f68a0(0x2a2)]=_0x577007;const _0x518285=0x7530,_0x27a90d=_0x1af7bb['ScpDI'](setTimeout,()=>{const _0x3a70a8=_0x3f68a0;_0x2dde35[_0x3a70a8(0x2de)](global[_0x3a70a8(0x2a2)],_0x577007)&&(logger[_0x3a70a8(0x394)](_0x3a70a8(0x16e)+_0x518285+'ms\x20—\x20internal\x20scan\x20still\x20in-flight'),global[_0x3a70a8(0x2a2)]=![]);},_0x518285);(async()=>{const _0x28012a=_0x3f68a0;try{const _0x15e616=_0x2dde35[_0x28012a(0x299)](getWorkerDetails),_0x5ecacd=new JestUtils(),_0x17de32=_0x5ecacd[_0x28012a(0x245)](_0x15e616),_0x3cdd5e=_0x17de32?Object[_0x28012a(0x339)]({},_0x15e616?.['currentTest']?.['testInfo']||{},{'testAnalyticsId':_0x17de32,'id':_0x17de32}):null,_0x2da5fc=_0x45a7ef&&_0x45a7ef['getAutomationFramework']();if(!_0x2da5fc){logger[_0x28012a(0x284)](_0x28012a(0x28f)+_0x364973+_0x28012a(0x287));return;}const _0xa0a282={};_0xa0a282['getName']=()=>_0x321f59,_0xa0a282['name']=_0x321f59;const _0x29eb10={};_0x29eb10[_0x28012a(0x238)]=_0xa0a282,_0x29eb10['page']=_0x2b6943,_0x29eb10[_0x28012a(0x375)]=_0x321f59,_0x29eb10[_0x28012a(0x1d3)]=FRAMEWORKS[_0x28012a(0x12b)],_0x29eb10[_0x28012a(0x222)]=_0x3cdd5e,await _0x2da5fc['trackEvent'](AutomationFrameworkState[_0x28012a(0x23f)],HookState[_0x28012a(0x17e)],_0x29eb10),logger['debug'](_0x28012a(0x366)+_0x364973+_0x28012a(0x153)+_0x321f59);}catch(_0x293acc){logger[_0x28012a(0x284)](_0x28012a(0x3c5)+_0x364973+':\x20'+_0x293acc[_0x28012a(0x286)]);}finally{_0x2dde35[_0x28012a(0x3ba)](clearTimeout,_0x27a90d),_0x2dde35[_0x28012a(0x19e)](global[_0x28012a(0x2a2)],_0x577007)&&(global[_0x28012a(0x2a2)]=![]);}})()[_0x3f68a0(0x3b2)](()=>{});}return _0x3a3a43;},logger['debug'](_0x23d4b(0x32a)+_0x364973+_0x23d4b(0x153)+_0x321f59);}_0x2b6943[_0x23d4b(0x14f)]=!![],logger[_0x23d4b(0x284)](_0x1af7bb[_0x23d4b(0x19a)]);}catch(_0x54a294){logger['info'](_0x23d4b(0x361)+(_0x54a294&&_0x54a294[_0x23d4b(0x286)])+_0x23d4b(0x13c)+(_0x54a294&&_0x54a294['stack']||'')[_0x23d4b(0x40f)]('\x0a')[_0x23d4b(0x14a)](0x0,0x3)[_0x23d4b(0x418)](_0x1af7bb[_0x23d4b(0x3bc)])+'\x22');}},patchPage=(_0x1acee7,_0x233bbb)=>{const _0x44c1fc=a80_0x2925c6,_0x4e125f={'skiWj':function(_0x555974,_0x276568,_0x3672b8){return _0x555974(_0x276568,_0x3672b8);},'nBAJK':function(_0x317c65){return _0x317c65();},'XPsQf':function(_0x27052b,_0x19fea4){return _0x27052b===_0x19fea4;},'xUdbd':_0x44c1fc(0x1a6),'qBjyH':'devtools://','wCqeD':'chrome-devtools:','FFNHO':_0x44c1fc(0x201),'HDFed':function(_0xa34c2c,_0x31b94b){return _0xa34c2c(_0x31b94b);},'TABjb':function(_0x34bb82,_0x4ca56a){return _0x34bb82(_0x4ca56a);},'LANhU':function(_0xc35d6a,_0x525790){return _0xc35d6a===_0x525790;},'VrKhU':_0x44c1fc(0x2af)};logger[_0x44c1fc(0x394)](_0x44c1fc(0x116)+!!_0x1acee7+_0x44c1fc(0x345)+!!(_0x1acee7&&_0x1acee7['_bstackPatchApplied']));try{if(!_0x1acee7||_0x1acee7[_0x44c1fc(0x26d)])return;const _0x5ab82c=_0x4e125f[_0x44c1fc(0x327)](getWorkerDetails);let _0x40dfaf='';try{_0x40dfaf=_0x4e125f[_0x44c1fc(0x36e)](typeof _0x1acee7[_0x44c1fc(0x106)],_0x4e125f[_0x44c1fc(0x33e)])&&_0x1acee7['url']()||'';}catch(_0x359b00){}const _0xf896b6=_0x40dfaf[_0x44c1fc(0x306)](_0x4e125f['qBjyH'])||_0x40dfaf[_0x44c1fc(0x306)](_0x4e125f[_0x44c1fc(0x3c2)])||_0x40dfaf['startsWith'](_0x4e125f[_0x44c1fc(0x419)]);!_0xf896b6?_0x5ab82c[_0x44c1fc(0x202)]=_0x1acee7:logger[_0x44c1fc(0x394)](_0x44c1fc(0x298)+_0x40dfaf),_0x1acee7[_0x44c1fc(0x384)]=async(_0x273ed3,_0x1f0f00={})=>{const _0x21f123=_0x44c1fc;try{const _0x3ac3f2={};_0x3ac3f2[_0x21f123(0x16b)]=_0x273ed3,_0x3ac3f2[_0x21f123(0x237)]=_0x1f0f00;const _0x288021=JSON[_0x21f123(0x114)](_0x3ac3f2);return await _0x4e125f[_0x21f123(0x1cf)](safeEvaluate,_0x1acee7,_0x21f123(0x355)+_0x288021);}catch(_0xaf7bab){return logger[_0x21f123(0x284)](_0x21f123(0x3cc)+util[_0x21f123(0x2d9)](_0xaf7bab)),null;}},_0x4e125f[_0x44c1fc(0x142)](patchPageClose,_0x1acee7),_0x4e125f[_0x44c1fc(0x142)](patchPageScreenshot,_0x1acee7),_0x4e125f[_0x44c1fc(0x2a4)](patchPageForAccessibility,_0x1acee7),_0x1acee7['_bstackPatchApplied']=!![],logger[_0x44c1fc(0x394)](_0x44c1fc(0x31d)+_0x4e125f[_0x44c1fc(0x13b)](typeof _0x1acee7['performScan'],_0x4e125f[_0x44c1fc(0x33e)])+_0x44c1fc(0x166)+_0x4e125f['LANhU'](typeof _0x1acee7['getAccessibilityResults'],_0x4e125f['xUdbd'])+_0x44c1fc(0x1d6)+_0x4e125f[_0x44c1fc(0x13b)](typeof _0x1acee7['getAccessibilityResultsSummary'],_0x4e125f[_0x44c1fc(0x33e)]));}catch(_0x1dcd27){logger[_0x44c1fc(0x394)](_0x44c1fc(0x2e0)+(_0x1dcd27&&_0x1dcd27[_0x44c1fc(0x286)])+_0x44c1fc(0x13c)+(_0x1dcd27&&_0x1dcd27['stack']||'')['split']('\x0a')[_0x44c1fc(0x14a)](0x0,0x3)[_0x44c1fc(0x418)](_0x4e125f[_0x44c1fc(0x12c)])+'\x22');}},patchPageClose=_0x3b40da=>{const _0x5da2cc=a80_0x2925c6,_0x28890b={'JSPgh':_0x5da2cc(0x124),'EKtFJ':function(_0x1ef3bd){return _0x1ef3bd();},'DZixT':function(_0x5e0ec3){return _0x5e0ec3();},'tWiiP':function(_0xbeda35,_0x4a8121){return _0xbeda35===_0x4a8121;},'PywzQ':function(_0x58bdf0,_0xbcec4d){return _0x58bdf0===_0xbcec4d;},'SwdtE':'[PuppeteerPatcher]\x20Applied\x20close\x20patch\x20to\x20page'};try{if(!_0x3b40da||_0x3b40da[_0x5da2cc(0x1eb)])return;const _0x50907b=_0x3b40da[_0x5da2cc(0x215)];_0x3b40da[_0x5da2cc(0x215)]=async function(..._0x5ec5a5){const _0x9c8c0=_0x5da2cc;logger[_0x9c8c0(0x284)](_0x28890b[_0x9c8c0(0x2d8)]);const _0x2081d6=_0x28890b['EKtFJ'](getWorkerDetails),_0x5301c5=_0x28890b[_0x9c8c0(0x1e9)](getPageFromAutomationFramework),_0x16c12b=_0x28890b['tWiiP'](_0x2081d6['pwPage'],this)||_0x28890b[_0x9c8c0(0x280)](_0x5301c5,this);if(_0x16c12b){closeTracker[_0x9c8c0(0x246)](this);const _0x1a617c=closeTracker['pages'][_0x9c8c0(0x31a)](this);return _0x1a617c&&(_0x1a617c[_0x9c8c0(0x224)]=_0x50907b,_0x1a617c['args']=_0x5ec5a5),Promise[_0x9c8c0(0x122)]();}return await _0x50907b[_0x9c8c0(0x337)](this,_0x5ec5a5);},_0x3b40da[_0x5da2cc(0x1eb)]=!![],logger[_0x5da2cc(0x284)](_0x28890b[_0x5da2cc(0x35f)]);}catch(_0x36ce51){logger['debug'](_0x5da2cc(0x21f)+util[_0x5da2cc(0x2d9)](_0x36ce51));}},patchPageScreenshot=_0x1d789b=>{const _0x245f90=a80_0x2925c6,_0x189fd5={'uYunF':_0x245f90(0x21a),'AqsEC':function(_0x4c7e16,_0x45690d){return _0x4c7e16===_0x45690d;},'jrPPK':'string','JZLey':_0x245f90(0x2d1),'jssez':_0x245f90(0x1e4),'mxnlz':function(_0x592269,_0x1295cf,_0x52b08c){return _0x592269(_0x1295cf,_0x52b08c);},'bFfec':function(_0x2ed44b,_0x4eb0b8){return _0x2ed44b!==_0x4eb0b8;},'wmvwM':_0x245f90(0x1a6),'rRPeC':_0x245f90(0x248),'JvqHf':_0x245f90(0x1a9)};try{if(!_0x1d789b)return;const _0x4355ff=Object[_0x245f90(0x23c)](_0x1d789b);if(!_0x4355ff||_0x4355ff[_0x245f90(0x329)])return;const _0x3e09e8=_0x4355ff['screenshot'];if(_0x189fd5[_0x245f90(0x41e)](typeof _0x3e09e8,_0x189fd5['wmvwM'])){logger['debug'](_0x189fd5[_0x245f90(0x205)]);return;}_0x4355ff['screenshot']=async function(..._0xbdc266){const _0x43cbad=_0x245f90,_0x2f41a5=await _0x3e09e8[_0x43cbad(0x337)](this,_0xbdc266);logger[_0x43cbad(0x394)](_0x189fd5[_0x43cbad(0x326)]);try{if(_0x2f41a5){const _0x1bb5c0=_0x189fd5[_0x43cbad(0x1e3)](typeof _0x2f41a5,_0x189fd5[_0x43cbad(0x407)])?_0x2f41a5:Buffer[_0x43cbad(0x228)](_0x2f41a5)[_0x43cbad(0x350)](_0x189fd5[_0x43cbad(0x3ef)]);logger[_0x43cbad(0x284)](_0x189fd5[_0x43cbad(0x3d8)]),await _0x189fd5[_0x43cbad(0x3c7)](processPageScreenshot,_0x1bb5c0,null);}}catch(_0x5d57dc){logger[_0x43cbad(0x284)](_0x43cbad(0x31e)+util[_0x43cbad(0x2d9)](_0x5d57dc));}return _0x2f41a5;},_0x4355ff[_0x245f90(0x329)]=!![],logger['info'](_0x189fd5['JvqHf']);}catch(_0x303620){logger[_0x245f90(0x284)]('[PuppeteerPatcher]\x20Error\x20patching\x20page\x20screenshot:\x20'+util[_0x245f90(0x2d9)](_0x303620));}},patchBrowser=(_0x47d313,_0x391e3c)=>{const _0x2171fd=a80_0x2925c6,_0x455bf3={'zooyt':'[SDK-R2]\x20BROWSER_NEWPAGE_INTERCEPTED','NgmgG':function(_0x90a9a7,..._0x24e5ff){return _0x90a9a7(..._0x24e5ff);},'fnaSU':function(_0x55303c,_0x1bcb0e,_0xd26eaa){return _0x55303c(_0x1bcb0e,_0xd26eaa);},'kCRLb':function(_0x196cc3,_0x237367){return _0x196cc3===_0x237367;},'usXMQ':'function','rbfXL':_0x2171fd(0x1ae),'QzjYU':function(_0x27ee57,..._0x29bb8e){return _0x27ee57(..._0x29bb8e);},'KrpBd':_0x2171fd(0x40d),'WvAyw':_0x2171fd(0x293),'olfah':'[PuppeteerPatcher]\x20Patched\x20page\x20from\x20targetcreated\x20event','ZyoYm':function(_0x49cb50){return _0x49cb50();},'CUATJ':function(_0x32d836,_0x1b058b){return _0x32d836>_0x1b058b;},'saQhT':function(_0x11265e,_0xf4841){return _0x11265e===_0xf4841;},'Dcuax':_0x2171fd(0x386),'Tcauy':function(_0x520084,_0x240534){return _0x520084===_0x240534;},'QatNi':function(_0x521eeb,_0x21f2f2){return _0x521eeb===_0x21f2f2;},'aEUgH':_0x2171fd(0x347),'ZRxQy':_0x2171fd(0xe8),'SEbHP':_0x2171fd(0x143),'KrEJx':function(_0x583f66,_0x2c2308){return _0x583f66(_0x2c2308);},'iEUWD':function(_0x52312b,_0x482e73){return _0x52312b!==_0x482e73;},'xzHIe':'\x20|\x20'};logger[_0x2171fd(0x394)]('[SDK-R1]\x20PATCH_BROWSER_ENTRY\x20hasBrowser='+!!_0x47d313+_0x2171fd(0x345)+!!(_0x47d313&&_0x47d313[_0x2171fd(0x26d)])+_0x2171fd(0x2bb)+(_0x47d313&&typeof _0x47d313[_0x2171fd(0x34a)]));try{if(!_0x47d313||_0x47d313['_bstackPatchApplied'])return;if(_0x455bf3[_0x2171fd(0x3f0)](typeof _0x47d313['newPage'],_0x455bf3[_0x2171fd(0x3a9)])){const _0x471efa=_0x47d313['newPage'][_0x2171fd(0x351)](_0x47d313);_0x47d313[_0x2171fd(0x34a)]=async function(..._0x11af57){const _0x2f394a=_0x2171fd;logger[_0x2f394a(0x394)](_0x455bf3[_0x2f394a(0x235)]);const _0x39d23e=await _0x455bf3[_0x2f394a(0x3aa)](_0x471efa,..._0x11af57);return logger[_0x2f394a(0x284)](_0x2f394a(0x27d)+!!_0x39d23e),_0x455bf3[_0x2f394a(0x3ab)](patchPage,_0x39d23e,_0x47d313),logger['info'](_0x2f394a(0x1c6)+_0x455bf3['kCRLb'](typeof _0x39d23e?.[_0x2f394a(0x2fa)],_0x455bf3[_0x2f394a(0x3a9)])),_0x39d23e;},logger[_0x2171fd(0x394)](_0x455bf3[_0x2171fd(0x2a3)]);}else logger[_0x2171fd(0x394)]('[SDK-R6]\x20PATCH_BROWSER_NEWPAGE_MISSING\x20type='+typeof _0x47d313[_0x2171fd(0x34a)]);if(_0x455bf3[_0x2171fd(0x2c4)](typeof _0x47d313[_0x2171fd(0x2bc)],_0x455bf3[_0x2171fd(0x3a9)])){const _0x2ce02a=_0x47d313[_0x2171fd(0x2bc)][_0x2171fd(0x351)](_0x47d313);_0x47d313[_0x2171fd(0x2bc)]=async function(..._0x28d32c){const _0x28439d=_0x2171fd;logger[_0x28439d(0x284)](_0x455bf3[_0x28439d(0x1f8)]);const _0x5a905f=await _0x455bf3['QzjYU'](_0x2ce02a,..._0x28d32c);return _0x455bf3[_0x28439d(0x3ab)](patchContext,_0x5a905f,_0x47d313),_0x5a905f;};}if(_0x455bf3[_0x2171fd(0x27c)](typeof _0x47d313[_0x2171fd(0x3b1)],_0x455bf3['usXMQ'])){const _0x567371=_0x47d313[_0x2171fd(0x3b1)][_0x2171fd(0x351)](_0x47d313);_0x47d313[_0x2171fd(0x3b1)]=async function(..._0x2588bd){const _0x4ae823=_0x2171fd;logger['debug'](_0x455bf3[_0x4ae823(0x2ec)]);const _0x46df19=await _0x455bf3['QzjYU'](_0x567371,..._0x2588bd);return _0x455bf3['fnaSU'](patchContext,_0x46df19,_0x47d313),_0x46df19;};}let _0x17f981=null;_0x455bf3[_0x2171fd(0x167)](typeof _0x47d313[_0x2171fd(0x1db)],_0x455bf3[_0x2171fd(0x3a9)])&&(_0x17f981=_0x47d313[_0x2171fd(0x1db)]['bind'](_0x47d313),_0x47d313['pages']=async function(..._0x383bff){const _0xef9825=_0x2171fd,_0x3b92b9=await _0x455bf3[_0xef9825(0x3aa)](_0x17f981,..._0x383bff);return Array['isArray'](_0x3b92b9)&&_0x3b92b9[_0xef9825(0x104)](_0x5a614f=>patchPage(_0x5a614f,_0x47d313)),_0x3b92b9;},logger[_0x2171fd(0x284)](_0x455bf3[_0x2171fd(0x2ea)])),_0x455bf3['QatNi'](typeof _0x47d313['on'],_0x455bf3[_0x2171fd(0x3a9)])&&(_0x47d313['on'](_0x455bf3[_0x2171fd(0x22d)],async _0x3caf94=>{const _0x2e7ed4=_0x2171fd;try{if(_0x455bf3[_0x2e7ed4(0x2c4)](_0x3caf94['type'](),_0x455bf3['WvAyw'])){const _0x3b37d8=await _0x3caf94['page']();_0x3b37d8&&(_0x455bf3[_0x2e7ed4(0x3ab)](patchPage,_0x3b37d8,_0x47d313),logger[_0x2e7ed4(0x284)](_0x455bf3[_0x2e7ed4(0x25f)]));}}catch(_0x425c2f){logger[_0x2e7ed4(0x284)]('[PuppeteerPatcher]\x20Error\x20patching\x20targetcreated\x20page:\x20'+util[_0x2e7ed4(0x2d9)](_0x425c2f));}}),logger[_0x2171fd(0x284)](_0x455bf3[_0x2171fd(0x40e)])),_0x17f981&&((async()=>{const _0x51ee77=_0x2171fd;try{const _0x5ba77b=await _0x455bf3[_0x51ee77(0x2d2)](_0x17f981);Array['isArray'](_0x5ba77b)&&_0x455bf3[_0x51ee77(0x24a)](_0x5ba77b[_0x51ee77(0x315)],0x0)&&(_0x5ba77b[_0x51ee77(0x104)](_0x73401b=>patchPageScreenshot(_0x73401b)),logger['debug'](_0x51ee77(0x219)+_0x5ba77b[_0x51ee77(0x315)]+_0x51ee77(0x3e7)));}catch(_0x23b555){logger[_0x51ee77(0x284)](_0x51ee77(0x11f)+_0x23b555[_0x51ee77(0x286)]);}})()),_0x455bf3[_0x2171fd(0x319)](patchBrowserClose,_0x47d313),_0x47d313[_0x2171fd(0x26d)]=!![],logger[_0x2171fd(0x394)](_0x2171fd(0x3ee)+_0x455bf3[_0x2171fd(0x217)](_0x47d313[_0x2171fd(0x34a)],undefined)+_0x2171fd(0x2c2)+_0x455bf3[_0x2171fd(0x217)](_0x47d313[_0x2171fd(0x1db)],undefined));}catch(_0x39f532){logger[_0x2171fd(0x394)](_0x2171fd(0x1dd)+(_0x39f532&&_0x39f532[_0x2171fd(0x286)])+'\x22\x20stack=\x22'+(_0x39f532&&_0x39f532[_0x2171fd(0x34b)]||'')[_0x2171fd(0x40f)]('\x0a')[_0x2171fd(0x14a)](0x0,0x3)['join'](_0x455bf3[_0x2171fd(0x408)])+'\x22');}},patchContext=(_0x515c32,_0x5a7f68)=>{const _0x6f21b2=a80_0x2925c6,_0x9c1c44={'HSYsa':_0x6f21b2(0x37c),'sRxjv':function(_0x2f8105,..._0x50935a){return _0x2f8105(..._0x50935a);},'qwMkW':function(_0x509a6e,_0x7442ea,_0x2d2aec){return _0x509a6e(_0x7442ea,_0x2d2aec);},'KCoWZ':_0x6f21b2(0x1f6),'coVot':function(_0x3bed1a,_0x69a98c){return _0x3bed1a===_0x69a98c;},'fRRpZ':'function','vYrBC':function(_0x1ca166,_0x5df836){return _0x1ca166===_0x5df836;},'frkQq':function(_0x3e2e58,_0x2cdd48){return _0x3e2e58===_0x2cdd48;},'qlKaC':_0x6f21b2(0x210)};try{if(!_0x515c32||_0x515c32[_0x6f21b2(0x26d)])return;if(_0x9c1c44[_0x6f21b2(0x27e)](typeof _0x515c32[_0x6f21b2(0x34a)],_0x9c1c44[_0x6f21b2(0x32c)])){const _0x308868=_0x515c32[_0x6f21b2(0x34a)][_0x6f21b2(0x351)](_0x515c32);_0x515c32[_0x6f21b2(0x34a)]=async function(..._0x2b80a0){const _0x45b151=_0x6f21b2;logger[_0x45b151(0x284)](_0x9c1c44['HSYsa']);const _0x5b0bd1=await _0x9c1c44['sRxjv'](_0x308868,..._0x2b80a0);return _0x9c1c44[_0x45b151(0x3a5)](patchPage,_0x5b0bd1,_0x5a7f68),_0x5b0bd1;};}if(_0x9c1c44[_0x6f21b2(0x103)](typeof _0x515c32[_0x6f21b2(0x1db)],_0x9c1c44[_0x6f21b2(0x32c)]))try{const _0x5c50dc=_0x515c32[_0x6f21b2(0x1db)]();if(_0x5c50dc&&_0x9c1c44[_0x6f21b2(0x103)](typeof _0x5c50dc[_0x6f21b2(0x2dc)],_0x9c1c44[_0x6f21b2(0x32c)]))_0x5c50dc[_0x6f21b2(0x2dc)](_0x2bc0fe=>{const _0xf311bd=_0x6f21b2;Array[_0xf311bd(0x232)](_0x2bc0fe)&&_0x2bc0fe[_0xf311bd(0x104)](_0x1d0c44=>patchPageScreenshot(_0x1d0c44));})[_0x6f21b2(0x3b2)](_0x18193c=>{const _0xb1a58f=_0x6f21b2;logger[_0xb1a58f(0x284)](_0xb1a58f(0x15d)+_0x18193c[_0xb1a58f(0x286)]);});else Array['isArray'](_0x5c50dc)&&_0x5c50dc['forEach'](_0x93f556=>patchPageScreenshot(_0x93f556));}catch(_0x31cd7e){logger['debug'](_0x6f21b2(0x3ac)+_0x31cd7e[_0x6f21b2(0x286)]);}if(_0x9c1c44[_0x6f21b2(0x184)](typeof _0x515c32[_0x6f21b2(0x215)],_0x9c1c44['fRRpZ'])){const _0x323327=_0x515c32['close']['bind'](_0x515c32);_0x515c32['close']=async function(..._0x3625ec){const _0x142326=_0x6f21b2;return logger['debug'](_0x9c1c44['KCoWZ']),await _0x9c1c44[_0x142326(0x2e6)](_0x323327,..._0x3625ec);};}_0x515c32[_0x6f21b2(0x26d)]=!![],logger[_0x6f21b2(0x284)](_0x9c1c44[_0x6f21b2(0x2b3)]);}catch(_0x4c08e0){logger[_0x6f21b2(0x284)]('[PuppeteerPatcher]\x20Error\x20patching\x20context:\x20'+util[_0x6f21b2(0x2d9)](_0x4c08e0));}},patchBrowserClose=_0x2817c9=>{const _0x5706f9=a80_0x2925c6,_0x482f00={};_0x482f00['pORzz']=_0x5706f9(0x200),_0x482f00[_0x5706f9(0x1c5)]=_0x5706f9(0x3e6);const _0x57c272=_0x482f00;try{if(!_0x2817c9||_0x2817c9[_0x5706f9(0x12d)])return;const _0x3ff5e8=_0x2817c9[_0x5706f9(0x215)][_0x5706f9(0x351)](_0x2817c9);_0x2817c9[_0x5706f9(0x215)]=async function(..._0x14b778){const _0x323937=_0x5706f9;logger[_0x323937(0x284)](_0x57c272[_0x323937(0x323)]),closeTracker[_0x323937(0x274)](_0x2817c9);const _0x109021=closeTracker['browsers'][_0x323937(0x31a)](_0x2817c9);return _0x109021&&(_0x109021[_0x323937(0x224)]=_0x3ff5e8,_0x109021[_0x323937(0x189)]=_0x14b778),Promise[_0x323937(0x122)]();},_0x2817c9[_0x5706f9(0x12d)]=!![],logger[_0x5706f9(0x284)](_0x57c272[_0x5706f9(0x1c5)]);}catch(_0x49235e){logger[_0x5706f9(0x284)](_0x5706f9(0x28a)+util[_0x5706f9(0x2d9)](_0x49235e));}},_patchedLaunch=async(_0x55c1e4,_0x11fa08,_0x5b42b9={})=>{const _0x256d3d=a80_0x2925c6,_0x5aa240={'AEaHC':function(_0x5eed7a,_0x486951){return _0x5eed7a||_0x486951;},'bvTzK':function(_0x13a78b,_0x165dc5){return _0x13a78b+_0x165dc5;},'bTcNj':'[PuppeteerPatcher]\x20_patchedLaunch\x20full\x20options:\x20','ZLeGF':function(_0x3a36bb,_0x4aad68){return _0x3a36bb(_0x4aad68);},'ckUIO':_0x256d3d(0x204),'YjLQi':function(_0x8e3ca2,_0x18d497){return _0x8e3ca2<_0x18d497;},'PdleB':_0x256d3d(0x276),'sQKxj':function(_0x4e02d4,_0x1fa352){return _0x4e02d4===_0x1fa352;},'fikfP':'[PuppeteerPatcher]\x20No\x20capabilities\x20from\x20CREATE\x20PRE,\x20trying\x20global.jestConfig\x20fallback','KitVu':'[PuppeteerPatcher]\x20browserstackAutomation:\x20false\x20—\x20launching\x20locally,\x20skipping\x20BrowserStack\x20CDP','IrkcI':function(_0x68eff,_0x5df533){return _0x68eff(_0x5df533);},'DqUuw':function(_0x3736f5,_0x3d697c,_0x1b19f9){return _0x3736f5(_0x3d697c,_0x1b19f9);},'LjwQE':function(_0x317453,_0x4960c8){return _0x317453>_0x4960c8;},'EbOrp':function(_0x20c3cf){return _0x20c3cf();},'YQjEK':_0x256d3d(0x359),'drXER':'[PuppeteerPatcher]\x20CREATE\x20POST\x20event\x20completed\x20for\x20local\x20browser','xCgAT':_0x256d3d(0x25e),'KglJM':_0x256d3d(0x3c0),'Tcept':function(_0x5ee476,_0x194699){return _0x5ee476!==_0x194699;},'OVHmG':function(_0x460bd2,_0x4f64fd){return _0x460bd2!==_0x4f64fd;},'QQJxT':function(_0x428035,_0x96899a){return _0x428035||_0x96899a;},'WNvnR':_0x256d3d(0x165),'vZUiQ':_0x256d3d(0x1e1),'mwmwN':_0x256d3d(0x277),'IFXMh':'hex','fpwQC':_0x256d3d(0x2ce),'IRYng':function(_0x5cc559,_0x554b2){return _0x5cc559(_0x554b2);},'CHjxn':function(_0x5be06f,_0x4d7710){return _0x5be06f-_0x4d7710;},'JogIz':function(_0x2cb079,_0x11ea32){return _0x2cb079>_0x11ea32;},'lovGZ':function(_0x38ab21,_0x332c90,_0x498954){return _0x38ab21(_0x332c90,_0x498954);},'bljel':'[PuppeteerPatcher]\x20CREATE\x20POST\x20event\x20completed','vjqiS':'\x20|\x20','wbiyx':function(_0x28fc4e,_0x414ac7){return _0x28fc4e(_0x414ac7);}};logger[_0x256d3d(0x394)]('[PuppeteerPatcher]\x20_patchedLaunch\x20called\x20(options\x20keys:\x20['+Object[_0x256d3d(0x16c)](_0x5aa240['AEaHC'](_0x5b42b9,{}))[_0x256d3d(0x418)](',')+'])'),logger[_0x256d3d(0x284)](_0x5aa240['bvTzK'](_0x5aa240[_0x256d3d(0x3ff)],JSON[_0x256d3d(0x114)](_0x5b42b9,_redactOptionsForLog)));try{const _0x5e7669=_0x5b42b9[_0x256d3d(0x22a)]||'',[_0x4c4288,_0x3e68e5]=_0x5e7669?_0x5aa240['ZLeGF'](parseCapabilitiesFromWsEndpoint,_0x5e7669):[null,null],_0x196015=_0x4c4288||_0x5b42b9['capability']||(Array['isArray'](_0x5b42b9['capabilities'])?_0x5b42b9[_0x256d3d(0x3fd)][global[_0x256d3d(0x1f0)]||0x0]:_0x5b42b9[_0x256d3d(0x3fd)])||_0x5b42b9||null;logger[_0x256d3d(0x284)](_0x256d3d(0x39e)+JSON[_0x256d3d(0x114)](_0x196015));_0x196015&&(global[_0x256d3d(0x2f0)]=_0x196015);logger[_0x256d3d(0x284)](_0x256d3d(0x388)+JSON[_0x256d3d(0x114)](global[_0x256d3d(0x2f0)])),logger['debug']('[PuppeteerPatcher]\x20Parsed\x20host\x20from\x20wsEndpoint:\x20'+_0x3e68e5),logger[_0x256d3d(0x284)](_0x256d3d(0x381)+_0x5e7669);let _0x2fbb54=global[_0x256d3d(0x2f0)];const _0x11cbdf=0x0;try{if(BrowserstackCLI[_0x256d3d(0xf0)]()['isCliEnabled']()&&!BrowserstackCLI['getInstance']()['isBootstrapped']()){logger['debug'](_0x5aa240[_0x256d3d(0x22b)]);for(let _0x240ef0=0x0;_0x5aa240[_0x256d3d(0x313)](_0x240ef0,0x32);_0x240ef0++){await new Promise(_0x23581e=>setTimeout(_0x23581e,0x64));if(BrowserstackCLI[_0x256d3d(0xf0)]()[_0x256d3d(0x33d)]())break;}logger[_0x256d3d(0x284)](_0x256d3d(0x3d4)+BrowserstackCLI[_0x256d3d(0xf0)]()[_0x256d3d(0x33d)]());}if(BrowserstackCLI[_0x256d3d(0xf0)]()['isCliEnabled']()&&BrowserstackCLI[_0x256d3d(0xf0)]()[_0x256d3d(0x33d)]()){const _0x49e867=_0x5aa240[_0x256d3d(0x10a)][_0x256d3d(0x40f)]('|');let _0x1f68ea=0x0;while(!![]){switch(_0x49e867[_0x1f68ea++]){case'0':logger[_0x256d3d(0x284)](_0x256d3d(0x1e6)+JSON['stringify'](global[_0x256d3d(0x16a)]));continue;case'1':_0x2fbb54=global[_0x256d3d(0x16a)]||{};continue;case'2':logger[_0x256d3d(0x284)](_0x256d3d(0x346)+_0x11cbdf);continue;case'3':await BrowserstackCLI[_0x256d3d(0xf0)]()[_0x256d3d(0x374)]()[_0x256d3d(0x3f6)](AutomationFrameworkState[_0x256d3d(0xe9)],HookState[_0x256d3d(0x17e)],{'launchcaps':global['__platformCaps']||{},'hubUrl':_0x3e68e5||BrowserstackCLI[_0x256d3d(0xf0)]()[_0x256d3d(0x1ff)]()?.[_0x256d3d(0x29f)]||''});continue;case'4':logger['debug']('[PuppeteerPatcher]\x20Extracted\x20capabilities\x20from\x20CREATE\x20PRE\x20result:\x20'+JSON['stringify'](global[_0x256d3d(0x16a)])+_0x256d3d(0x295)+JSON[_0x256d3d(0x114)](_0x2fbb54));continue;}break;}}}catch(_0x368bef){logger[_0x256d3d(0x284)](_0x256d3d(0x3dc)+util[_0x256d3d(0x2d9)](_0x368bef));}if(!_0x2fbb54||_0x5aa240['sQKxj'](Object[_0x256d3d(0x16c)](_0x2fbb54)[_0x256d3d(0x315)],0x0)){logger[_0x256d3d(0x284)](_0x5aa240['fikfP']);if(global[_0x256d3d(0x2c9)]&&global[_0x256d3d(0x2c9)][_0x256d3d(0x21b)])_0x2fbb54=global[_0x256d3d(0x2c9)][_0x256d3d(0x21b)],logger[_0x256d3d(0x284)](_0x256d3d(0x370)+JSON[_0x256d3d(0x114)](_0x2fbb54));else{if(global['jestConfig']&&global['jestConfig'][_0x256d3d(0x3fd)]&&Array[_0x256d3d(0x232)](global[_0x256d3d(0x2c9)][_0x256d3d(0x3fd)])){const _0xfc87e1=global[_0x256d3d(0x1f0)]||0x0;_0x2fbb54=global[_0x256d3d(0x2c9)][_0x256d3d(0x3fd)][_0xfc87e1]||global[_0x256d3d(0x2c9)][_0x256d3d(0x3fd)][0x0],logger[_0x256d3d(0x284)](_0x256d3d(0x199)+_0xfc87e1+_0x256d3d(0xf8)+JSON[_0x256d3d(0x114)](_0x2fbb54));}}}logger[_0x256d3d(0x284)](_0x256d3d(0x225)+helper['isBrowserstackUrl'](_0x3e68e5));if(!helper[_0x256d3d(0x1fc)]()&&!helper['isBrowserstackUrl'](_0x3e68e5)){logger['debug'](_0x5aa240[_0x256d3d(0x24c)]);const _0x376c9b=await _0x5aa240[_0x256d3d(0x34d)](_0x11fa08,_0x5b42b9);await _0x5aa240['IrkcI'](getPlatformDetails,_0x376c9b),_0x5aa240[_0x256d3d(0x112)](patchBrowser,_0x376c9b,_0x5b42b9);try{if(BrowserstackCLI[_0x256d3d(0xf0)]()[_0x256d3d(0xf2)]()&&BrowserstackCLI[_0x256d3d(0xf0)]()[_0x256d3d(0x33d)]()){let _0x488094=null;try{const _0x384b0f=await _0x376c9b[_0x256d3d(0x1db)]();_0x384b0f&&_0x5aa240['LjwQE'](_0x384b0f['length'],0x0)&&(_0x488094=_0x384b0f[0x0],_0x5aa240['DqUuw'](patchPage,_0x488094,_0x376c9b));}catch(_0x329126){logger[_0x256d3d(0x284)](_0x256d3d(0x10f)+_0x329126[_0x256d3d(0x286)]);}const _0x57dd1a=_0x5aa240['EbOrp'](getWorkerDetails)[_0x256d3d(0x29a)]?.[_0x256d3d(0x222)]||global['__currentTestInfo'],_0x2f1c54={};_0x2f1c54['browser']=_0x5b42b9[_0x256d3d(0xfd)]||_0x2fbb54[_0x256d3d(0x32f)]||_0x2fbb54[_0x256d3d(0x2cf)]||_0x5aa240[_0x256d3d(0x2be)],_0x2f1c54['browser_version']=_0x2fbb54['browserVersion']||_0x2fbb54['version']||_0x5aa240[_0x256d3d(0x2be)],_0x2f1c54['os']=_0x2fbb54['os']||_0x2fbb54['platformName']||_0x5aa240['YQjEK'],_0x2f1c54[_0x256d3d(0x35a)]=_0x2fbb54[_0x256d3d(0x35a)]||_0x2fbb54[_0x256d3d(0x416)]||_0x5aa240[_0x256d3d(0x2be)],global['__platformCaps']=_0x2f1c54,global[_0x256d3d(0x16a)]=global[_0x256d3d(0x2f0)];const _0x4e1933={};_0x4e1933[_0x256d3d(0x293)]=_0x488094,_0x4e1933[_0x256d3d(0xfd)]=_0x376c9b,_0x4e1933[_0x256d3d(0x222)]=_0x57dd1a,_0x4e1933[_0x256d3d(0x1d3)]=FRAMEWORKS[_0x256d3d(0x12b)],_0x4e1933[_0x256d3d(0x2bf)]=global[_0x256d3d(0x16a)],_0x4e1933[_0x256d3d(0x20a)]=global[_0x256d3d(0x2f0)],await BrowserstackCLI['getInstance']()[_0x256d3d(0x374)]()[_0x256d3d(0x3f6)](AutomationFrameworkState[_0x256d3d(0xe9)],HookState[_0x256d3d(0x28c)],_0x4e1933),logger[_0x256d3d(0x284)](_0x5aa240[_0x256d3d(0x3e9)]);}}catch(_0xa3f3b6){logger['debug']('[PuppeteerPatcher]\x20Error\x20in\x20CREATE\x20POST\x20event\x20for\x20local\x20browser:\x20'+util[_0x256d3d(0x2d9)](_0xa3f3b6));}return _0x376c9b;}const _0x4404bb=_0x5aa240['DqUuw'](buildCdpEndpointUrl,_0x2fbb54,_0x11cbdf);logger[_0x256d3d(0x284)](_0x256d3d(0x401)+_0x4404bb);if(!_0x4404bb){logger[_0x256d3d(0x1b9)](_0x5aa240[_0x256d3d(0x296)]);throw new Error(_0x5aa240['KglJM']);}const _0x4325f5=0x57e40,_0x484630={};_0x484630[_0x256d3d(0x22a)]=_0x4404bb,_0x484630[_0x256d3d(0x405)]=_0x4325f5;const _0x3c0ac5=_0x484630;_0x5aa240[_0x256d3d(0x380)](_0x5b42b9['defaultViewport'],undefined)&&(_0x3c0ac5['defaultViewport']=_0x5b42b9[_0x256d3d(0x400)]);_0x5aa240['OVHmG'](_0x5b42b9['slowMo'],undefined)&&(_0x3c0ac5['slowMo']=_0x5b42b9[_0x256d3d(0x214)]);_0x5aa240[_0x256d3d(0x1a1)](_0x5b42b9['protocolTimeout'],undefined)&&_0x5aa240[_0x256d3d(0x278)](_0x5b42b9[_0x256d3d(0x405)],_0x4325f5)&&(_0x3c0ac5[_0x256d3d(0x405)]=_0x5b42b9['protocolTimeout']);let _0x53aa05=![],_0x3050ad='';try{const _0x450fac=new URL(_0x5aa240[_0x256d3d(0x136)](_0x4404bb,''));_0x53aa05=_0x450fac[_0x256d3d(0x3d3)][_0x256d3d(0x3bf)](_0x5aa240[_0x256d3d(0x1b0)]),_0x3050ad=_0x450fac['search'];}catch(_0x3033ff){}const _0x2870e1=_0x4404bb?_0x5aa240[_0x256d3d(0x34d)](require,_0x5aa240[_0x256d3d(0x2c7)])[_0x256d3d(0x30d)](_0x5aa240[_0x256d3d(0x262)])[_0x256d3d(0x1ac)](_0x4404bb)['digest'](_0x5aa240[_0x256d3d(0x309)])[_0x256d3d(0x14a)](0x0,0x8):'';logger['info']('[SDK-L1]\x20SDK_ORIG_CONNECT_PRE\x20cdpUrl_len='+(_0x4404bb?_0x4404bb[_0x256d3d(0x315)]:_0x5aa240['fpwQC'])+_0x256d3d(0x2f5)+_0x53aa05+_0x256d3d(0x317)+_0x3050ad[_0x256d3d(0x315)]+'\x20cdpUrl_fp='+_0x2870e1);const _0x264f0e=Date[_0x256d3d(0x207)](),_0x156acd=await _0x5aa240[_0x256d3d(0x332)](_0x55c1e4,_0x3c0ac5);logger[_0x256d3d(0x394)](_0x256d3d(0x2cb)+_0x5aa240['CHjxn'](Date['now'](),_0x264f0e)),await _0x5aa240[_0x256d3d(0x2e2)](getPlatformDetails,_0x156acd),logger[_0x256d3d(0x394)](_0x256d3d(0x149)+global[_0x256d3d(0x41d)]+_0x256d3d(0x1e5)+JSON['stringify'](global['__platformCaps'])),_0x5aa240[_0x256d3d(0x112)](patchBrowser,_0x156acd,_0x5b42b9);try{if(BrowserstackCLI[_0x256d3d(0xf0)]()[_0x256d3d(0xf2)]()&&BrowserstackCLI[_0x256d3d(0xf0)]()['isRunning']()){let _0x900fca=null;try{const _0x3211bd=await _0x156acd[_0x256d3d(0x1db)]();_0x3211bd&&_0x5aa240['JogIz'](_0x3211bd[_0x256d3d(0x315)],0x0)&&(_0x900fca=_0x3211bd[0x0],_0x5aa240[_0x256d3d(0x32b)](patchPage,_0x900fca,_0x156acd));}catch(_0x3c70bc){logger[_0x256d3d(0x284)](_0x256d3d(0x363)+_0x3c70bc[_0x256d3d(0x286)]);}const _0x20aac5=_0x5aa240[_0x256d3d(0xfb)](getWorkerDetails),_0x10394d=_0x20aac5[_0x256d3d(0x29a)]?.['testInfo']||global[_0x256d3d(0x37d)],_0x57bdb0={};_0x57bdb0['page']=_0x900fca,_0x57bdb0[_0x256d3d(0xfd)]=_0x156acd,_0x57bdb0[_0x256d3d(0x222)]=_0x10394d,_0x57bdb0[_0x256d3d(0x1d3)]=FRAMEWORKS[_0x256d3d(0x12b)],_0x57bdb0[_0x256d3d(0x2bf)]=global[_0x256d3d(0x16a)],_0x57bdb0[_0x256d3d(0x20a)]=global[_0x256d3d(0x2f0)],await BrowserstackCLI[_0x256d3d(0xf0)]()['getAutomationFramework']()[_0x256d3d(0x3f6)](AutomationFrameworkState[_0x256d3d(0xe9)],HookState[_0x256d3d(0x28c)],_0x57bdb0),logger[_0x256d3d(0x284)](_0x5aa240[_0x256d3d(0x11a)]);}}catch(_0x56a798){logger[_0x256d3d(0x284)](_0x256d3d(0x330)+util['format'](_0x56a798));}return _0x156acd;}catch(_0x2c41f2){return logger[_0x256d3d(0x1b9)]('[SDK-L9]\x20SDK_PATCHED_LAUNCH_CATCH\x20error_msg=\x22'+(_0x2c41f2&&_0x2c41f2['message'])+'\x22\x20error_stack=\x22'+(_0x2c41f2&&_0x2c41f2[_0x256d3d(0x34b)]||'')[_0x256d3d(0x40f)]('\x0a')[_0x256d3d(0x14a)](0x0,0x3)[_0x256d3d(0x418)](_0x5aa240['vjqiS'])+_0x256d3d(0x1cc)+util['format'](_0x2c41f2)),logger[_0x256d3d(0x284)]('[PuppeteerPatcher]\x20Error\x20in\x20patchedLaunch,\x20falling\x20back\x20to\x20original:\x20'+util[_0x256d3d(0x2d9)](_0x2c41f2)),await _0x5aa240['wbiyx'](_0x11fa08,_0x5b42b9);}},getPlatformDetails=async _0x4bf93c=>{const _0x58eec7=a80_0x2925c6,_0x598c42={};_0x598c42[_0x58eec7(0x1ec)]=function(_0x4e9dc3,_0x3fdbcd){return _0x4e9dc3+_0x3fdbcd;},_0x598c42['FAyPh']=function(_0x39729e,_0x50c76d){return _0x39729e+_0x50c76d;};const _0x2f8025=_0x598c42;try{const _0x14df6f=await _0x4bf93c['version'](),_0x2e61db=_0x14df6f[_0x58eec7(0x2ab)]('/');global[_0x58eec7(0x2f0)]={'browser':_0x14df6f[_0x58eec7(0x3eb)](0x0,_0x2e61db),'browser_version':_0x14df6f[_0x58eec7(0x3eb)](_0x2f8025[_0x58eec7(0x1ec)](_0x2e61db,0x1)),'os':global['__bstackPlatformDetails']?.[_0x58eec7(0x23e)],'os_version':global[_0x58eec7(0x37f)]?.[_0x58eec7(0x416)]},global[_0x58eec7(0x16a)]={...global[_0x58eec7(0x16a)],'browser':_0x14df6f[_0x58eec7(0x3eb)](0x0,_0x2e61db),'browser_version':_0x14df6f[_0x58eec7(0x3eb)](_0x2f8025[_0x58eec7(0x397)](_0x2e61db,0x1)),'os':global[_0x58eec7(0x37f)]?.[_0x58eec7(0x23e)],'os_version':global[_0x58eec7(0x37f)]?.['platformVersion']},logger['debug'](_0x58eec7(0x421)+JSON['stringify'](global['__platformCaps']));}catch(_0x2015b9){logger['debug']('[PuppeteerPatcher]\x20Could\x20not\x20get\x20browser\x20version:\x20'+_0x2015b9[_0x58eec7(0x286)]);}},parseCapabilitiesFromWsEndpoint=_0x362863=>{const _0x1beded=a80_0x2925c6,_0x3daa03={'yecMG':'caps','nBzzm':'host','mVPHd':function(_0x1b8b76,_0x58605c){return _0x1b8b76(_0x58605c);}};try{const _0x38ed25=new URL(_0x362863),_0x330c12=_0x38ed25['searchParams']['get'](_0x3daa03[_0x1beded(0x302)]),_0x3777b6=_0x38ed25['hostname']||_0x38ed25['searchParams']['get'](_0x3daa03['nBzzm']);if(_0x330c12){const _0x39ee5d=_0x3daa03[_0x1beded(0x266)](decodeURIComponent,_0x330c12);return[JSON[_0x1beded(0xf9)](_0x39ee5d),_0x3777b6];}}catch(_0xb3ab78){logger['debug']('[PuppeteerPatcher]\x20Error\x20parsing\x20capabilities\x20from\x20wsEndpoint:\x20'+util[_0x1beded(0x2d9)](_0xb3ab78));}return[null,null];},_patchedConnect=async(_0x28ad2b,_0x5b4fc0={})=>{const _0x5bb73a=a80_0x2925c6,_0xd073b7={'DXQGa':function(_0x124953,_0x2924a1){return _0x124953||_0x2924a1;},'FkTgZ':function(_0xc034e1,_0xf9855){return _0xc034e1(_0xf9855);},'IjYrP':function(_0x519262,_0x11fe32){return _0x519262(_0x11fe32);},'jrxqh':_0x5bb73a(0x1e1),'MVQjV':_0x5bb73a(0x277),'eqUPJ':_0x5bb73a(0x404),'GfyPx':_0x5bb73a(0x204),'MGxgD':function(_0x84b8e,_0x2045ba){return _0x84b8e<_0x2045ba;},'yQDSc':_0x5bb73a(0x3b3),'PAkiE':function(_0x31a355,_0x46f402){return _0x31a355(_0x46f402);},'peKtr':function(_0x358df4,_0x51fc06,_0x48a51c){return _0x358df4(_0x51fc06,_0x48a51c);},'EYpcl':function(_0x31ccdc,_0x34714b){return _0x31ccdc>_0x34714b;},'BpwSc':function(_0x5d85be){return _0x5d85be();},'fnYbc':_0x5bb73a(0x29e),'LtRUD':function(_0x4d7155,_0x4a8ca3,_0x4c0fa9){return _0x4d7155(_0x4a8ca3,_0x4c0fa9);},'DMVtz':_0x5bb73a(0x1a0),'uQcVB':function(_0x4c97c2,_0x66b834){return _0x4c97c2(_0x66b834);},'xNPpI':'[PuppeteerPatcher]\x20Replaced\x20browserWSEndpoint\x20with\x20BrowserStack\x20URL','LXOaz':function(_0x48a79b,_0x388e6a,_0x2f0d9e){return _0x48a79b(_0x388e6a,_0x2f0d9e);},'dOGPL':function(_0x141b60,_0x1b393f){return _0x141b60>_0x1b393f;},'fAFjR':function(_0x5763f6,_0x516f75,_0x251ef9){return _0x5763f6(_0x516f75,_0x251ef9);},'bxQhu':_0x5bb73a(0x1ab),'ENsOz':function(_0x450b6c,_0x4c29a4){return _0x450b6c(_0x4c29a4);}};logger[_0x5bb73a(0x394)]('[PuppeteerPatcher]\x20Intercepted\x20puppeteer.connect()\x20call\x20(options\x20keys:\x20['+Object['keys'](_0xd073b7[_0x5bb73a(0xf6)](_0x5b4fc0,{}))[_0x5bb73a(0x418)](',')+'])'),logger[_0x5bb73a(0x284)](_0x5bb73a(0x12e)+JSON['stringify'](_0x5b4fc0,_redactOptionsForLog));const _0x5e3ec8={..._0x5b4fc0},_0x3e0c3f=_0x5e3ec8;try{const _0x2d62a9=_0x5b4fc0[_0x5bb73a(0x22a)]||'',[_0x614084,_0xe94786]=_0x2d62a9?_0xd073b7[_0x5bb73a(0x320)](parseCapabilitiesFromWsEndpoint,_0x2d62a9):[null,null],_0x42c962=_0x614084||_0x5b4fc0[_0x5bb73a(0x21b)]||(Array['isArray'](_0x5b4fc0[_0x5bb73a(0x3fd)])?_0x5b4fc0[_0x5bb73a(0x3fd)][global[_0x5bb73a(0x1f0)]||0x0]:_0x5b4fc0[_0x5bb73a(0x3fd)])||null;_0x42c962&&(global['__platformCaps']=_0x42c962);const _0x10e996=JSON[_0x5bb73a(0x114)](global[_0x5bb73a(0x2f0)]),_0x117e68=_0xd073b7[_0x5bb73a(0x179)](require,_0xd073b7[_0x5bb73a(0x257)])['createHash'](_0xd073b7[_0x5bb73a(0x38b)])[_0x5bb73a(0x1ac)](_0x10e996)[_0x5bb73a(0x3a2)](_0xd073b7['eqUPJ'])[_0x5bb73a(0x14a)](0x0,0x8);logger[_0x5bb73a(0x394)](_0x5bb73a(0x399)+_0x10e996[_0x5bb73a(0x315)]+_0x5bb73a(0x27b)+_0x117e68+'\x20keys=['+Object['keys'](global[_0x5bb73a(0x2f0)]||{})[_0x5bb73a(0x418)](',')+']'),logger[_0x5bb73a(0x394)](_0x5bb73a(0x38d)+_0xe94786),logger[_0x5bb73a(0x284)](_0x5bb73a(0x381)+_0x2d62a9);let _0x501367=global['__platformCaps'];const _0x3a738b=0x0;try{if(BrowserstackCLI[_0x5bb73a(0xf0)]()['isCliEnabled']()&&!BrowserstackCLI[_0x5bb73a(0xf0)]()[_0x5bb73a(0x33d)]()){logger[_0x5bb73a(0x284)](_0xd073b7['GfyPx']);for(let _0x4acd1d=0x0;_0xd073b7['MGxgD'](_0x4acd1d,0x32);_0x4acd1d++){await new Promise(_0x28959c=>setTimeout(_0x28959c,0x64));if(BrowserstackCLI['getInstance']()[_0x5bb73a(0x33d)]())break;}logger['debug'](_0x5bb73a(0x3d4)+BrowserstackCLI['getInstance']()[_0x5bb73a(0x33d)]());}BrowserstackCLI[_0x5bb73a(0xf0)]()['isCliEnabled']()&&BrowserstackCLI[_0x5bb73a(0xf0)]()['isBootstrapped']()&&(await BrowserstackCLI[_0x5bb73a(0xf0)]()[_0x5bb73a(0x374)]()['trackEvent'](AutomationFrameworkState[_0x5bb73a(0xe9)],HookState[_0x5bb73a(0x17e)],{'launchcaps':_0xd073b7[_0x5bb73a(0xf6)](_0x501367,{}),'hubUrl':_0xe94786||BrowserstackCLI[_0x5bb73a(0xf0)]()[_0x5bb73a(0x1ff)]()?.[_0x5bb73a(0x29f)]||''}),_0x501367=global[_0x5bb73a(0x16a)]||{},logger[_0x5bb73a(0x284)](_0x5bb73a(0x346)+_0x3a738b));}catch(_0x284bd0){logger[_0x5bb73a(0x284)](_0x5bb73a(0x3dc)+util['format'](_0x284bd0));}logger[_0x5bb73a(0x284)](_0x5bb73a(0x225)+_0xe94786+'\x20'+helper[_0x5bb73a(0x14d)](_0xe94786));if(!helper[_0x5bb73a(0x1fc)]()&&!helper[_0x5bb73a(0x14d)](_0xe94786)){logger[_0x5bb73a(0x284)](_0xd073b7[_0x5bb73a(0x2a0)]);const _0x166167=await _0xd073b7['IjYrP'](_0x28ad2b,_0x5b4fc0);await _0xd073b7['PAkiE'](getPlatformDetails,_0x166167),_0xd073b7['peKtr'](patchBrowser,_0x166167,_0x5b4fc0);try{if(BrowserstackCLI[_0x5bb73a(0xf0)]()['isCliEnabled']()&&BrowserstackCLI[_0x5bb73a(0xf0)]()[_0x5bb73a(0x33d)]()){let _0x59cafd=null;try{const _0x8e616d=await _0x166167['pages']();_0x8e616d&&_0xd073b7[_0x5bb73a(0x128)](_0x8e616d[_0x5bb73a(0x315)],0x0)&&(_0x59cafd=_0x8e616d[0x0],_0xd073b7[_0x5bb73a(0x24d)](patchPage,_0x59cafd,_0x166167));}catch(_0x3d53a1){logger[_0x5bb73a(0x284)](_0x5bb73a(0x10f)+_0x3d53a1['message']);}const _0x2cec48=_0xd073b7['BpwSc'](getWorkerDetails)['currentTest']?.[_0x5bb73a(0x222)]||global[_0x5bb73a(0x37d)],_0x3a7db1={};_0x3a7db1['page']=_0x59cafd,_0x3a7db1[_0x5bb73a(0xfd)]=_0x166167,_0x3a7db1['testInfo']=_0x2cec48,_0x3a7db1[_0x5bb73a(0x1d3)]=FRAMEWORKS[_0x5bb73a(0x12b)],_0x3a7db1[_0x5bb73a(0x2bf)]=global['__launchCaps'],_0x3a7db1['platformCaps']=global[_0x5bb73a(0x2f0)],await BrowserstackCLI[_0x5bb73a(0xf0)]()[_0x5bb73a(0x374)]()[_0x5bb73a(0x3f6)](AutomationFrameworkState[_0x5bb73a(0xe9)],HookState[_0x5bb73a(0x28c)],_0x3a7db1),logger[_0x5bb73a(0x284)](_0xd073b7[_0x5bb73a(0x2d6)]);}}catch(_0x676393){logger['debug'](_0x5bb73a(0x3bb)+util[_0x5bb73a(0x2d9)](_0x676393));}return _0x166167;}const _0x593b2b=_0xd073b7['LtRUD'](buildCdpEndpointUrl,_0x501367,_0x3a738b);if(!_0x593b2b)return logger[_0x5bb73a(0x284)](_0xd073b7['DMVtz']),await _0xd073b7['uQcVB'](_0x28ad2b,_0x3e0c3f);const _0x5f3845=_0xd073b7['FkTgZ'](require,_0xd073b7[_0x5bb73a(0x257)])[_0x5bb73a(0x30d)](_0xd073b7[_0x5bb73a(0x38b)])[_0x5bb73a(0x1ac)](_0x593b2b)[_0x5bb73a(0x3a2)](_0xd073b7[_0x5bb73a(0x3de)])[_0x5bb73a(0x14a)](0x0,0x8);logger[_0x5bb73a(0x394)](_0x5bb73a(0x216)+_0x593b2b[_0x5bb73a(0x315)]+'\x20fp='+_0x5f3845);const _0x1b5237=0x57e40,_0x9933ac={'protocolTimeout':_0x1b5237,..._0x3e0c3f};_0x9933ac[_0x5bb73a(0x22a)]=_0x593b2b;const _0x405d2e=_0x9933ac;_0x405d2e[_0x5bb73a(0x405)]=Math[_0x5bb73a(0x2b0)](_0x3e0c3f[_0x5bb73a(0x405)]||0x0,_0x1b5237),logger[_0x5bb73a(0x284)](_0xd073b7[_0x5bb73a(0xfc)]);const _0x405b8a=await _0xd073b7[_0x5bb73a(0x179)](_0x28ad2b,_0x405d2e);await _0xd073b7[_0x5bb73a(0x179)](getPlatformDetails,_0x405b8a),_0xd073b7[_0x5bb73a(0x1f2)](patchBrowser,_0x405b8a,_0x5b4fc0);try{if(BrowserstackCLI[_0x5bb73a(0xf0)]()['isCliEnabled']()&&BrowserstackCLI[_0x5bb73a(0xf0)]()[_0x5bb73a(0x353)]()){let _0x2a4a0a=null;try{const _0x108550=await _0x405b8a[_0x5bb73a(0x1db)]();_0x108550&&_0xd073b7[_0x5bb73a(0x1b1)](_0x108550['length'],0x0)&&(_0x2a4a0a=_0x108550[0x0],_0xd073b7['fAFjR'](patchPage,_0x2a4a0a,_0x405b8a));}catch(_0x559d96){logger[_0x5bb73a(0x284)](_0x5bb73a(0x363)+_0x559d96[_0x5bb73a(0x286)]);}const _0x29d593=_0xd073b7[_0x5bb73a(0x2e3)](getWorkerDetails),_0x22559d=_0x29d593[_0x5bb73a(0x29a)]?.['testInfo']||global['__currentTestInfo'],_0x495d07={};_0x495d07[_0x5bb73a(0x293)]=_0x2a4a0a,_0x495d07[_0x5bb73a(0xfd)]=_0x405b8a,_0x495d07[_0x5bb73a(0x222)]=_0x22559d,_0x495d07[_0x5bb73a(0x1d3)]=FRAMEWORKS['JEST'],_0x495d07[_0x5bb73a(0x2bf)]=global[_0x5bb73a(0x16a)],_0x495d07[_0x5bb73a(0x20a)]=global[_0x5bb73a(0x2f0)],await BrowserstackCLI[_0x5bb73a(0xf0)]()[_0x5bb73a(0x374)]()['trackEvent'](AutomationFrameworkState[_0x5bb73a(0xe9)],HookState[_0x5bb73a(0x28c)],_0x495d07),logger[_0x5bb73a(0x284)](_0xd073b7[_0x5bb73a(0x2c1)]);}}catch(_0x29e7ef){logger['debug'](_0x5bb73a(0x330)+util[_0x5bb73a(0x2d9)](_0x29e7ef));}return _0x405b8a;}catch(_0xe3b340){return logger[_0x5bb73a(0x284)](_0x5bb73a(0x1d5)+util[_0x5bb73a(0x2d9)](_0xe3b340)),await _0xd073b7[_0x5bb73a(0x41b)](_0x28ad2b,_0x3e0c3f);}},markSessionOnBrowserStack=async()=>{const _0x10d21c=a80_0x2925c6,_0x1a143a={'qdrUK':function(_0xf4e22f,_0x5c958b){return _0xf4e22f===_0x5c958b;},'CToXg':_0x10d21c(0x1a6),'hpNDh':function(_0x1034f2,_0x329979){return _0x1034f2>_0x329979;},'NtksL':function(_0x1a2f1b){return _0x1a2f1b();},'pZDUH':function(_0x433bfa,_0x1a7d55){return _0x433bfa!==_0x1a7d55;},'MfYvD':_0x10d21c(0x141),'Byvrm':function(_0x2a3b7e){return _0x2a3b7e();},'MFTxi':function(_0x410a27,_0x37f599,_0x176ca3){return _0x410a27(_0x37f599,_0x176ca3);},'oxitY':_0x10d21c(0x340),'XxFqz':function(_0x388337,_0xf3e51b){return _0x388337===_0xf3e51b;},'BAPrx':'failed','dedRN':_0x10d21c(0x378),'zTUlG':_0x10d21c(0x396),'fZCDS':function(_0x53fa08,_0x369b0c){return _0x53fa08>_0x369b0c;},'oPgmS':function(_0xa92273,_0x420a89){return _0xa92273===_0x420a89;},'ZhCIA':'timedout','omISH':function(_0x232813,_0x1d6465){return _0x232813===_0x1d6465;},'bFSkI':_0x10d21c(0x2fd),'SQidk':function(_0x499ac3,_0x577d68){return _0x499ac3===_0x577d68;},'UKgsB':function(_0x139ae1,_0x42d7da){return _0x139ae1!==_0x42d7da;},'BLjAN':function(_0x5b627e,_0x126a44,_0xd45fc,_0x118d19){return _0x5b627e(_0x126a44,_0xd45fc,_0x118d19);},'tepoH':function(_0x112164,_0x561ac1){return _0x112164||_0x561ac1;},'YtAKu':function(_0x57defe,_0x25f812){return _0x57defe+_0x25f812;},'NdMtU':function(_0x24748d,_0x5f0f82){return _0x24748d+_0x5f0f82;},'pGVCm':_0x10d21c(0x412)};try{let _0x34a446=null;for(const [_0x352fab]of closeTracker[_0x10d21c(0x1db)]){if(_0x352fab&&_0x1a143a['qdrUK'](typeof _0x352fab[_0x10d21c(0x156)],_0x1a143a['CToXg'])&&!_0x352fab['isClosed']()){_0x34a446=_0x352fab;break;}}if(!_0x34a446)for(const [_0x36247b]of closeTracker[_0x10d21c(0x342)]){try{const _0x467147=await _0x36247b[_0x10d21c(0x1db)]();if(_0x467147&&_0x1a143a[_0x10d21c(0x15a)](_0x467147[_0x10d21c(0x315)],0x0)){_0x34a446=_0x467147[_0x10d21c(0x15b)](_0x2730ed=>typeof _0x2730ed['isClosed']===_0x10d21c(0x1a6)&&!_0x2730ed[_0x10d21c(0x156)]())||_0x467147[0x0];if(_0x34a446)break;}}catch(_0x5b98d9){logger[_0x10d21c(0x284)](_0x10d21c(0x3ed)+_0x5b98d9[_0x10d21c(0x286)]);}}if(!_0x34a446){const _0x4c5be8=_0x1a143a[_0x10d21c(0x23b)](getPageFromAutomationFramework);_0x4c5be8&&(_0x1a143a[_0x10d21c(0x151)](typeof _0x4c5be8['isClosed'],_0x1a143a[_0x10d21c(0x2f9)])||!_0x4c5be8[_0x10d21c(0x156)]())&&(_0x34a446=_0x4c5be8);}if(!_0x34a446)for(const [_0xb84253]of closeTracker[_0x10d21c(0x342)]){try{_0x34a446=await _0xb84253[_0x10d21c(0x34a)](),logger[_0x10d21c(0x284)](_0x1a143a['MfYvD']);break;}catch(_0x50b398){logger['debug'](_0x10d21c(0x1bb)+_0x50b398[_0x10d21c(0x286)]);}}if(!_0x34a446){const _0xca1080=closeTracker&&closeTracker[_0x10d21c(0x342)]&&closeTracker[_0x10d21c(0x342)][_0x10d21c(0x1ee)];logger['warn']('[PuppeteerPatcher]\x20markSessionOnBrowserStack:\x20No\x20open\x20page\x20and\x20temp-page\x20open\x20failed\x20for\x20all\x20'+_0xca1080+'\x20tracked\x20browser(s);\x20falling\x20through\x20to\x20REST\x20fallback\x20for\x20session\x20name/status');}const _0xeddc4f=_0x1a143a[_0x10d21c(0x2a8)](getWorkerDetails),_0x1a9159=process[_0x10d21c(0x244)]||_lastTestName||_0xeddc4f?.[_0x10d21c(0x29a)]?.[_0x10d21c(0x222)]?.[_0x10d21c(0x357)]||global[_0x10d21c(0x343)];logger[_0x10d21c(0x284)]('[PuppeteerPatcher]\x20markSessionOnBrowserStack:\x20testName=\x22'+_0x1a9159+'\x22,\x20process._bstackTestName=\x22'+process[_0x10d21c(0x244)]+'\x22'),await _0x1a143a['MFTxi'](markSessionName,_0x34a446,_0x1a9159);let _0x343021=process[_0x10d21c(0x26f)]||_lastTestStatus||_0x1a143a['oxitY'],_0x5864ae=process[_0x10d21c(0x10d)]||_lastTestFailureReason||'';try{_0x1a143a[_0x10d21c(0x322)](_0x343021,_0x1a143a[_0x10d21c(0x15e)])&&global['testContext']&&global[_0x10d21c(0x14b)][_0x10d21c(0x10b)]&&_0x1a143a[_0x10d21c(0x15a)](global['testContext'][_0x10d21c(0x10b)][_0x10d21c(0x315)],0x0)&&(_0x343021=_0x1a143a[_0x10d21c(0x321)],_0x5864ae=global[_0x10d21c(0x14b)]['errors'][_0x10d21c(0x212)](_0x3712af=>_0x3712af&&_0x3712af[_0x10d21c(0x286)]||String(_0x3712af))['join'](';\x20'));global[_0x10d21c(0x2b6)]&&(_0x343021=_0x1a143a['BAPrx'],_0x5864ae=global['__test_failure_reason']||_0x1a143a['dedRN']);try{if(_0x1a143a[_0x10d21c(0x151)](typeof expect,_0x1a143a['zTUlG'])&&_0x1a143a[_0x10d21c(0x322)](typeof expect[_0x10d21c(0x297)],_0x1a143a[_0x10d21c(0x2f9)])){const _0x317b3f=expect['getState']();_0x317b3f&&_0x1a143a[_0x10d21c(0x38c)](_0x317b3f['numFailingAsserts'],0x0)&&(_0x343021=_0x1a143a[_0x10d21c(0x321)],_0x5864ae=_0x5864ae||_0x317b3f['numFailingAsserts']+'\x20assertion(s)\x20failed');}}catch(_0xebe17b){}const _0x261ff4=_0xeddc4f?.[_0x10d21c(0x29a)]?.['testInfo'];if(_0x261ff4){if(_0x1a143a[_0x10d21c(0x322)](_0x261ff4[_0x10d21c(0xeb)],_0x1a143a['BAPrx'])||_0x1a143a[_0x10d21c(0x144)](_0x261ff4['status'],_0x1a143a[_0x10d21c(0x37a)])||_0x1a143a[_0x10d21c(0xed)](_0x261ff4['status'],_0x1a143a[_0x10d21c(0x1b5)]))_0x343021=_0x1a143a['BAPrx'],_0x5864ae=_0x5864ae||_0x261ff4[_0x10d21c(0x24f)]||_0x261ff4[_0x10d21c(0x1b9)]?.[_0x10d21c(0x286)]||_0x1a143a['dedRN'];else _0x1a143a[_0x10d21c(0x338)](_0x261ff4[_0x10d21c(0xeb)],_0x1a143a[_0x10d21c(0x15e)])&&(_0x1a143a['UKgsB'](_0x343021,_0x1a143a[_0x10d21c(0x321)])&&(_0x343021=_0x1a143a['oxitY']));}}catch(_0x170779){logger[_0x10d21c(0x284)](_0x10d21c(0x135)+_0x170779[_0x10d21c(0x286)]);}await _0x1a143a[_0x10d21c(0x39c)](markSessionStatus,_0x34a446,_0x343021,_0x1a143a[_0x10d21c(0x265)](_0x5864ae,undefined)),logger['info'](_0x10d21c(0x41c)+_0x1a9159+_0x10d21c(0x28b)+_0x343021+'\x22'+(_0x5864ae?_0x1a143a['YtAKu'](_0x1a143a['NdMtU'](_0x1a143a[_0x10d21c(0x15f)],_0x5864ae),'\x22'):''));}catch(_0x37ec3a){logger[_0x10d21c(0x284)](_0x10d21c(0x275)+(_0x37ec3a[_0x10d21c(0x286)]||_0x37ec3a));}},processPageScreenshot=async function processPageScreenshot(_0x2dbb03,_0x47ddf3){const _0x1c5add=a80_0x2925c6,_0x57b34d={'evemw':_0x1c5add(0x133),'ZdIAE':_0x1c5add(0x243),'ZPeRi':'TEST_SCREENSHOT','YuXnr':_0x1c5add(0x2a7),'AUBLC':function(_0x1d8a95){return _0x1d8a95();},'hYhOX':function(_0x11bc2b,_0x4e3735){return _0x11bc2b(_0x4e3735);},'gfhvJ':_0x1c5add(0x3d6),'nEszO':function(_0x201bdc,_0xee709){return _0x201bdc(_0xee709);},'yStzN':_0x1c5add(0x3b0),'JsALv':function(_0x2615e8,_0x1d4422){return _0x2615e8===_0x1d4422;},'LETRG':_0x1c5add(0x1a6),'cpulK':'processPageScreenshot:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20Jest+Puppeteer\x20screenshot\x20log'};return await PerformanceTester[_0x1c5add(0x27a)](PerformanceO11yEvents[_0x1c5add(0x33c)],async()=>{const _0x1726ec=_0x1c5add;try{if(BrowserstackCLI[_0x1726ec(0xf0)]()[_0x1726ec(0x353)]()){let _0x165230=global[_0x1726ec(0x28e)];if(!_0x165230){const _0x34fc18=AutomationFramework[_0x1726ec(0x392)]();_0x165230=AutomationFramework[_0x1726ec(0x297)](_0x34fc18,PuppeteerDriverModule[_0x1726ec(0x101)],'');}if(!_0x165230){logger[_0x1726ec(0x284)](_0x57b34d['evemw']);return;}if(!_0x165230['includes'](_0x57b34d[_0x1726ec(0x176)])){logger[_0x1726ec(0x25b)]('processPageScreenshot:\x20Invalid\x20testIdentifier\x20format:\x20'+_0x165230+_0x1726ec(0x1a7)+process[_0x1726ec(0x1ed)]+_0x1726ec(0x181));return;}const _0x87f34f={'test_identifier':_0x165230,'test_run_uuid':_0x165230,'timestamp':new Date()[_0x1726ec(0x154)](),'kind':_0x57b34d[_0x1726ec(0x13a)],'message':_0x2dbb03},_0x30c906=BrowserstackCLI[_0x1726ec(0xf0)]()['getTestFramework']();if(!_0x30c906){logger['debug'](_0x57b34d[_0x1726ec(0x352)]);return;}const _0x176c8e=_0x57b34d[_0x1726ec(0x34e)](getWorkerDetails);_0x176c8e?.[_0x1726ec(0x360)]?.[_0x1726ec(0x3ad)]&&(_0x87f34f[_0x1726ec(0x39f)]=_0x176c8e[_0x1726ec(0x360)][_0x1726ec(0x3ad)],logger[_0x1726ec(0x284)](_0x1726ec(0x294)+_0x87f34f['hook_run_uuid']+',\x20testIdentifier='+_0x165230));if(!_0x87f34f[_0x1726ec(0x39f)]&&_0x30c906){const _0x219561=_0x30c906[_0x1726ec(0x25d)]?_0x30c906['getActiveHook'](_0x165230):null;_0x219561&&(_0x87f34f[_0x1726ec(0x39f)]=_0x219561[_0x1726ec(0x3ad)],logger[_0x1726ec(0x284)](_0x1726ec(0x348)+_0x87f34f['hook_run_uuid']+_0x1726ec(0x328)+_0x165230));}const _0x2def20=_0x57b34d[_0x1726ec(0x1fa)](require,_0x57b34d[_0x1726ec(0x1c7)]),_0x31c668=_0x57b34d[_0x1726ec(0xf7)](require,_0x57b34d['yStzN']),_0x535764=_0x30c906['resolveInstance'](_0x2def20[_0x1726ec(0x158)],HookState[_0x1726ec(0x28c)]);if(_0x535764&&_0x57b34d[_0x1726ec(0x3b7)](typeof _0x535764[_0x1726ec(0x389)],_0x57b34d[_0x1726ec(0x2c8)])){const _0x407d83=_0x535764['getAllData']()[_0x1726ec(0x31a)](_0x165230)||{},_0xb8c216=_0x407d83[_0x31c668['KEY_LOGS']]||[],_0x1bea97=[..._0xb8c216,_0x87f34f];logger[_0x1726ec(0x284)](_0x1726ec(0xe6)+_0x165230+_0x1726ec(0x301)+_0xb8c216['length']+',\x20Updated\x20logs\x20count:\x20'+_0x1bea97[_0x1726ec(0x315)]);const _0x5c8453={[_0x31c668['KEY_LOGS']]:_0x1bea97},_0xbde5ed={};_0xbde5ed[_0x165230]=_0x5c8453,_0x535764[_0x1726ec(0x389)](_0xbde5ed),logger[_0x1726ec(0x284)](_0x1726ec(0x131)+_0x165230+_0x1726ec(0x40a)+_0x1bea97[_0x1726ec(0x315)]);return;}logger[_0x1726ec(0x284)](_0x57b34d[_0x1726ec(0x2b9)]);}}catch(_0x522041){logger[_0x1726ec(0x284)](_0x1726ec(0x22e)+util[_0x1726ec(0x2d9)](_0x522041));}})();},executeDeferredCloses=async(_0x127d17=![])=>{const _0x1bd00a=a80_0x2925c6,_0x2046f8={'twXVy':function(_0x4abda7,_0x4acc34){return _0x4abda7+_0x4acc34;},'CCFQG':function(_0x42cc74,_0xd99fe4){return _0x42cc74+_0xd99fe4;},'JZCEC':_0x1bd00a(0x3d5),'OxyQQ':function(_0x11ed7e){return _0x11ed7e();},'FCjWR':_0x1bd00a(0x3e8),'ROtik':function(_0x4bd752,_0x30f181){return _0x4bd752>_0x30f181;},'XRrHe':_0x1bd00a(0x324),'RGJmG':_0x1bd00a(0x2e5),'oUzMD':'[PuppeteerPatcher]\x20Completed\x20execution\x20of\x20all\x20deferred\x20close\x20operations'};try{logger['debug'](_0x2046f8[_0x1bd00a(0x314)](_0x2046f8[_0x1bd00a(0x256)](_0x2046f8[_0x1bd00a(0x41f)],'Pages\x20tracked:\x20'+closeTracker[_0x1bd00a(0x1db)]['size']+_0x1bd00a(0x129)+closeTracker[_0x1bd00a(0x342)][_0x1bd00a(0x1ee)]+',\x20'),_0x1bd00a(0x3c1)+_0x127d17)),await _0x2046f8[_0x1bd00a(0x263)](markSessionOnBrowserStack);!_0x127d17&&(logger[_0x1bd00a(0x284)](_0x2046f8['FCjWR']),await new Promise(_0x18dd25=>setTimeout(_0x18dd25,0xbb8)));if(_0x2046f8[_0x1bd00a(0x231)](closeTracker[_0x1bd00a(0x1db)]['size'],0x0)){logger[_0x1bd00a(0x284)](_0x1bd00a(0x1bc)+closeTracker['pages'][_0x1bd00a(0x1ee)]+_0x1bd00a(0x20d));const _0x5151f9=Array[_0x1bd00a(0x228)](closeTracker['pages'][_0x1bd00a(0x16c)]());for(const _0x571888 of _0x5151f9){try{await closeTracker[_0x1bd00a(0x417)](_0x571888),logger['debug'](_0x2046f8[_0x1bd00a(0x236)]);}catch(_0x171fe0){logger['debug'](_0x1bd00a(0x19f)+util['format'](_0x171fe0));}}}if(_0x2046f8[_0x1bd00a(0x231)](closeTracker[_0x1bd00a(0x342)]['size'],0x0)){logger[_0x1bd00a(0x284)](_0x1bd00a(0x1bc)+closeTracker['browsers'][_0x1bd00a(0x1ee)]+_0x1bd00a(0x115));const _0x2ae55c=Array[_0x1bd00a(0x228)](closeTracker[_0x1bd00a(0x342)]['keys']());for(const _0x37e349 of _0x2ae55c){try{await Promise['race']([closeTracker[_0x1bd00a(0x10e)](_0x37e349),new Promise((_0x6b2e0d,_0x261aae)=>setTimeout(()=>_0x261aae(new Error(_0x1bd00a(0x2d7))),0x2710))]),logger[_0x1bd00a(0x284)](_0x2046f8[_0x1bd00a(0x312)]);}catch(_0x49a2fa){logger[_0x1bd00a(0x284)](_0x1bd00a(0x318)+util['format'](_0x49a2fa));}}}logger['debug'](_0x2046f8[_0x1bd00a(0x283)]);}catch(_0x4d9821){logger['debug']('[PuppeteerPatcher]\x20Error\x20executing\x20deferred\x20closes:\x20'+util['format'](_0x4d9821));}},isPageAvailableForSession=_0x4c9655=>{const _0x90b6d5=a80_0x2925c6,_0x5df47d={};_0x5df47d[_0x90b6d5(0x17d)]=_0x90b6d5(0x3a4),_0x5df47d['lhjqk']=_0x90b6d5(0x3f7),_0x5df47d[_0x90b6d5(0x3cb)]=function(_0x395452,_0x10cf7f){return _0x395452===_0x10cf7f;},_0x5df47d[_0x90b6d5(0x1f5)]=_0x90b6d5(0x1a6);const _0x143082=_0x5df47d;if(!_0x4c9655)return logger[_0x90b6d5(0x284)](_0x143082[_0x90b6d5(0x17d)]),![];try{if(closeTracker[_0x90b6d5(0x21d)](_0x4c9655))return logger[_0x90b6d5(0x284)](_0x143082['lhjqk']),!![];const _0x32c4ea=_0x143082[_0x90b6d5(0x3cb)](typeof _0x4c9655['isClosed'],_0x143082[_0x90b6d5(0x1f5)])?_0x4c9655[_0x90b6d5(0x156)]():![];return logger[_0x90b6d5(0x284)](_0x90b6d5(0x3f8)+_0x32c4ea),!_0x32c4ea;}catch(_0x4d1b94){return logger['debug'](_0x90b6d5(0x2f7)+util[_0x90b6d5(0x2d9)](_0x4d1b94)),![];}},beforeTestHook=async _0x219a63=>{const _0x52d69e=a80_0x2925c6,_0x15fe02={'XpoBw':'[PuppeteerPatcher]\x20Executing\x20before\x20test\x20hook','QPrxL':function(_0x38342e){return _0x38342e();},'bGXhg':'Unknown'};try{logger['debug'](_0x15fe02[_0x52d69e(0x2e1)]);const _0x1af963=_0x15fe02[_0x52d69e(0x2ac)](getWorkerDetails);_0x1af963['currentTest'][_0x52d69e(0x222)]=_0x219a63,_0x1af963['isPageFixture']=![],logger[_0x52d69e(0x284)](_0x52d69e(0x110)+(_0x219a63?.[_0x52d69e(0x357)]||_0x15fe02[_0x52d69e(0x3b4)])+_0x52d69e(0x3ae)+_0x1af963['currentTest']['id']);}catch(_0xb5d89f){logger[_0x52d69e(0x284)](_0x52d69e(0x3cf)+util['format'](_0xb5d89f));}},afterTestHook=async(_0x792896,_0x43e9a6=a80_0x2925c6(0x340),_0x18892b=null)=>{const _0x58c4a1=a80_0x2925c6,_0x493255={'jCAGG':function(_0x50516c){return _0x50516c();},'apFng':function(_0x5152d4,_0x4c4e38){return _0x5152d4&&_0x4c4e38;},'EEZta':function(_0x1f3a5c,_0x382306){return _0x1f3a5c(_0x382306);},'qXKLT':function(_0x3e05b9){return _0x3e05b9();},'rHHzJ':'Unknown\x20Test','UCbrs':_0x58c4a1(0x3a1),'yhrCa':_0x58c4a1(0x18e),'fwnvW':_0x58c4a1(0x288),'ekOPJ':'Unknown'};try{const _0x468d4c=_0x493255[_0x58c4a1(0x118)](getPageFromAutomationFramework);if(_0x493255[_0x58c4a1(0x195)](_0x468d4c,_0x792896)&&!_0x493255[_0x58c4a1(0x33a)](isFalse,helper[_0x58c4a1(0x1fc)]())){if(!_0x493255[_0x58c4a1(0x33a)](isFalse,BrowserstackCLI[_0x58c4a1(0xf0)]()[_0x58c4a1(0x353)]()))try{const _0x51b867=_0x493255[_0x58c4a1(0x119)](getWorkerDetails),_0x114bba={'title':_0x792896[_0x58c4a1(0x357)]||_0x493255[_0x58c4a1(0x170)],'titlePath':[_0x792896[_0x58c4a1(0x357)]||_0x493255['rHHzJ']],'id':_0x51b867[_0x58c4a1(0x29a)][_0x58c4a1(0x379)]||_0x51b867['currentTest']['id']||_0x493255[_0x58c4a1(0x26a)],'testAnalyticsId':_0x51b867['currentTest'][_0x58c4a1(0x379)],'status':_0x43e9a6,'error':_0x18892b?{'message':_0x18892b}:null,'testPath':_0x792896['testPath'],..._0x792896},_0x3fddd9=_0x114bba,_0x27f7ed={};_0x27f7ed[_0x58c4a1(0x293)]=_0x468d4c,_0x27f7ed[_0x58c4a1(0x222)]=_0x3fddd9,_0x27f7ed[_0x58c4a1(0x1d3)]=FRAMEWORKS[_0x58c4a1(0x12b)],await BrowserstackCLI[_0x58c4a1(0xf0)]()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState[_0x58c4a1(0x23f)],HookState[_0x58c4a1(0x28c)],_0x27f7ed),logger[_0x58c4a1(0x284)](_0x58c4a1(0x36a)+_0x3fddd9['title']);}catch(_0x1af629){logger['debug'](_0x58c4a1(0x367)+util[_0x58c4a1(0x2d9)](_0x1af629));}}const _0x24bc8b=_0x493255[_0x58c4a1(0x118)](getWorkerDetails),_0x1807d4={};_0x1807d4['id']=undefined,_0x1807d4[_0x58c4a1(0x222)]=undefined,_0x24bc8b[_0x58c4a1(0x29a)]=_0x1807d4;if(_0x468d4c&&closeTracker['wasCloseRequested'](_0x468d4c)){logger[_0x58c4a1(0x284)](_0x493255[_0x58c4a1(0x2a1)]),_0x24bc8b[_0x58c4a1(0x202)]=null,_0x24bc8b[_0x58c4a1(0x18d)]=![];try{const _0x105463=AutomationFramework[_0x58c4a1(0x392)]();_0x105463&&AutomationFramework[_0x58c4a1(0x185)](_0x105463,PuppeteerDriverModule[_0x58c4a1(0x270)],null);}catch(_0x4501af){logger[_0x58c4a1(0x284)](_0x58c4a1(0x373)+util[_0x58c4a1(0x2d9)](_0x4501af));}}else logger['debug'](_0x493255[_0x58c4a1(0x19c)]);logger[_0x58c4a1(0x284)](_0x58c4a1(0x145)+(_0x792896?.[_0x58c4a1(0x357)]||_0x493255[_0x58c4a1(0x2d0)]));}catch(_0xa7201){logger[_0x58c4a1(0x284)](_0x58c4a1(0x132)+util[_0x58c4a1(0x2d9)](_0xa7201));}},initializePuppeteerPatching=_0x447e82=>{const _0x3316cb=a80_0x2925c6,_0x26facb={'zpYVn':_0x3316cb(0x3e5),'RScNP':_0x3316cb(0x28d),'aPYMK':_0x3316cb(0x3a8),'OsSOy':function(_0x386269,_0x488ddc){return _0x386269(_0x488ddc);},'uEkTc':'puppeteer-core','lHelF':function(_0x5167a9,_0x46b73d){return _0x5167a9(_0x46b73d);},'qaeiT':'puppeteer','xRJEr':function(_0x5bfde,_0x398e45){return _0x5bfde&&_0x398e45;},'Ydphs':'[PuppeteerPatcher]\x20Neither\x20puppeteer\x20nor\x20puppeteer-core\x20could\x20be\x20patched'};if(detectedModuleName){logger[_0x3316cb(0x284)](_0x26facb[_0x3316cb(0x2e4)]);return;}try{if(!_0x447e82){logger['debug'](_0x26facb[_0x3316cb(0x1c1)]);return;}storedConfiguration=_0x447e82,logger[_0x3316cb(0x284)](_0x26facb['aPYMK']);const _0x5dd8b1=_0x26facb[_0x3316cb(0x173)](patchPuppeteerModule,_0x26facb[_0x3316cb(0x3fb)]),_0x2d248c=_0x26facb['lHelF'](patchPuppeteerModule,_0x26facb[_0x3316cb(0x169)]);if(_0x26facb[_0x3316cb(0x406)](!_0x5dd8b1,!_0x2d248c)){logger['debug'](_0x26facb['Ydphs']);return;}logger[_0x3316cb(0x394)](_0x3316cb(0x113)+detectedModuleName+')');}catch(_0x1fe807){logger['debug'](_0x3316cb(0x32d)+util[_0x3316cb(0x2d9)](_0x1fe807));}},handleProcessExit=async()=>{const _0x1c22df=a80_0x2925c6,_0x433da8={'hDmUV':_0x1c22df(0x1af),'RLCXK':function(_0x52406f,_0x469747){return _0x52406f(_0x469747);}};logger[_0x1c22df(0x284)](_0x433da8[_0x1c22df(0x171)]);try{await _0x433da8[_0x1c22df(0x188)](executeDeferredCloses,!![]);}catch(_0x2e9dd7){logger['debug'](_0x1c22df(0x41a)+util['format'](_0x2e9dd7));}};process['on']('exit',handleProcessExit),process['on']('SIGINT',handleProcessExit),process['on'](a80_0x2925c6(0x16d),handleProcessExit);const a80_0x322571={};a80_0x322571[a80_0x2925c6(0x2b8)]=initializePuppeteerPatching,a80_0x322571[a80_0x2925c6(0x3fc)]=beforeTestHook,a80_0x322571[a80_0x2925c6(0x148)]=afterTestHook,a80_0x322571['executeDeferredCloses']=executeDeferredCloses,a80_0x322571[a80_0x2925c6(0x3c3)]=isPageAvailableForSession,a80_0x322571[a80_0x2925c6(0x234)]=closeTracker,a80_0x322571['getPageFromAutomationFramework']=getPageFromAutomationFramework,a80_0x322571['markSessionName']=markSessionName,a80_0x322571[a80_0x2925c6(0x290)]=markSessionStatus,a80_0x322571[a80_0x2925c6(0x1d2)]=markSessionOnBrowserStack,a80_0x322571['setLastTestInfo']=setLastTestInfo,a80_0x322571[a80_0x2925c6(0x3af)]=safeEvaluate,a80_0x322571[a80_0x2925c6(0x292)]=getWorkerDetails,a80_0x322571[a80_0x2925c6(0x3f9)]=processPageScreenshot,a80_0x322571[a80_0x2925c6(0x172)]=isBrowserStackEndpoint,a80_0x322571[a80_0x2925c6(0x13d)]=buildCdpEndpointUrl,module[a80_0x2925c6(0x1e2)]=a80_0x322571;function a80_0x4483(){const _0x167747=['XxFqz','pORzz','[PuppeteerPatcher]\x20Deferred\x20page\x20close\x20completed','wzNFi','uYunF','nBAJK',',\x20testIdentifier=','_bstackScreenshotPatchApplied','[PuppeteerPatcher]\x20Auto-scan\x20wrapped\x20','lovGZ','fRRpZ','[PuppeteerPatcher]\x20Error\x20initializing\x20patching:\x20','workerInfo','browserName','[PuppeteerPatcher]\x20Error\x20in\x20CREATE\x20POST\x20event:\x20','\x20method','IRYng','../../helpers/accessibility-automation/helper','\x20(wrapped\x20at\x20higher-level\x20page\x20method)','dyffA','VGQnJ','apply','SQidk','assign','EEZta','includes','TAKE_SCREENSHOT','isBootstrapped','xUdbd','CNpZk','passed','keyboard_','browsers','browserstackTestName','tnphk','\x20already_patched=','[PuppeteerPatcher]\x20CREATE\x20PRE\x20event\x20completed,\x20platformIndex=','[PuppeteerPatcher]\x20browser.pages()\x20overridden\x20to\x20patch\x20returned\x20pages','processPageScreenshot:\x20Screenshot\x20taken\x20during\x20hook\x20(from\x20activeHooks)\x20-\x20hookUUID=','Target\x20closed','newPage','stack','KEY_SESSION_ID','ZLeGF','AUBLC','\x20BS_A11Y_JWT_fp=','toString','bind','YuXnr','isRunning','ZoCyZ','browserstack_executor:\x20','hMduH','title',')\x20threw:\x20','unknown','os_version','keyboard_up','o11ySyncDone','FFPEv','[PuppeteerPatcher]\x20Successfully\x20patched\x20','SwdtE','currentHook','[SDK-P9]\x20PATCH_A11Y_CAUGHT_ERROR\x20err=\x22','main','[PuppeteerPatcher]\x20Could\x20not\x20get\x20initial\x20pages:\x20','../v2/state/automationFrameworkState','39447BtEshq','[PuppeteerPatcher]\x20A11y\x20auto-scan\x20EXECUTE\x20PRE\x20fired\x20for\x20','[PuppeteerPatcher]\x20Error\x20in\x20event\x20system\x20session\x20handling:\x20','browserstack.accessibilityOptions.authToken','QsqLB','[PuppeteerPatcher]\x20EXECUTE\x20POST\x20event\x20completed\x20for\x20test:\x20','ITVsE','[PuppeteerPatcher]\x20Error\x20patching\x20Connection\x20prototype:\x20','[PuppeteerPatcher]\x20Error\x20marking\x20session\x20name\x20via\x20executor:\x20','XPsQf','\x20has\x20no\x20connect()\x20method,\x20cannot\x20patch','[PuppeteerPatcher]\x20Using\x20capability\x20from\x20global.jestConfig:\x20','IHwMo','[PuppeteerPatcher]\x20REST\x20setSessionName\x20skipped:\x20no\x20creds','[PuppeteerPatcher]\x20Error\x20clearing\x20page\x20from\x20AF:\x20','getAutomationFramework','commandName','VYmOt','aOPZU','Test\x20failed','testAnalyticsId','ZhCIA','getAccessibilityResultsSummary','[PuppeteerPatcher]\x20context.newPage()\x20intercepted','__currentTestInfo','DuULC','__bstackPlatformDetails','Tcept','[PuppeteerPatcher]\x20Injecting\x20BrowserStack\x20CDP\x20URL\x20into\x20connect()\x20','RPVLQ','MtdFo','bstackExec','[PuppeteerPatcher]\x20Safe\x20evaluate\x20-\x20session\x20dead:\x20','[SDK-R5]\x20PATCH_BROWSER_NEWPAGE_HOOK_INSTALLED','mouse.wheel','[PuppeteerPatcher]\x20Resolved\x20platformCaps:\x20','addMultipleEntries','ZdMSp','MVQjV','fZCDS','[PuppeteerPatcher]\x20Parsed\x20host\x20from\x20wsEndpoint:\x20','phYct','keyboard.up','yCSTk','[PuppeteerPatcher]\x20getAccessibilityResults\x20returned\x20count=','getTrackedInstance','\x22\x20BS_A11Y_JWT_len=','info','touchscreen.tap','undefined','FAyPh','[PuppeteerPatcher]\x20Error\x20in\x20deferred\x20browser\x20close:\x20','[PuppeteerPatcher]\x20Resolved\x20platformCaps:\x20len=','333830jiTdaV','\x22\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=\x22','BLjAN','jXtwq','[PuppeteerPatcher]\x20Parsed\x20capabilities\x20from\x20options:\x20','hook_run_uuid','eKtHE','jest-test','digest','xlmwr','[PuppeteerPatcher]\x20Page\x20is\x20null/undefined,\x20not\x20available','qwMkW','touchscreen_','mEpqt','[PuppeteerPatcher]\x20Initializing\x20Puppeteer\x20patching','usXMQ','NgmgG','fnaSU','[PuppeteerPatcher]\x20Error\x20calling\x20context.pages():\x20','hookUUID',',\x20ID:\x20','safeEvaluate','../v2/framework/constants/testFrameworkConstants','createIncognitoBrowserContext','catch','[PuppeteerPatcher]\x20browserstackAutomation:\x20false\x20—\x20launching\x20locally,\x20skipping\x20BrowserStack\x20CDP','bGXhg','GaTrp','KsFhM','JsALv','password','OesvX','jZijl','[PuppeteerPatcher]\x20Error\x20in\x20CREATE\x20POST\x20event\x20for\x20local\x20browser:\x20','aAUjW','odIsT','evaluateHandle','has','BrowserStack\x20SDK:\x20Could\x20not\x20build\x20CDP\x20endpoint\x20URL.\x20Ensure\x20browserstack.yml\x20has\x20valid\x20platforms\x20configured.','forceClose:\x20','wCqeD','isPageAvailableForSession','mouse_down','[PuppeteerPatcher]\x20A11y\x20auto-scan\x20error\x20for\x20page.','safetyTimeouts','mxnlz','/package.json','launch','7406688ruilYf','fMwWE','[PuppeteerPatcher]\x20bstackExec\x20error:\x20','xQFpJ','PoJrP','[PuppeteerPatcher]\x20Error\x20in\x20beforeTestHook:\x20','version','go_forward','PiNFw','searchParams','[PuppeteerPatcher]\x20CLI\x20bootstrapped\x20after\x20wait:\x20','[PuppeteerPatcher]\x20Starting\x20deferred\x20close\x20execution.\x20','../v2/state/testFrameworkState','type','jssez','[PuppeteerPatcher]\x20Error\x20in\x20deferred\x20page\x20close:\x20','keyboard_down','[SDK-P4]\x20PATCH_A11Y_SKIP_CLI_NOT_RUNNING\x20—\x20BrowserstackCLI.isRunning()\x20returned\x20false\x20(likely\x20CLI\x20bootstrap\x20failed,\x20running\x20in\x20direct\x20flow)','[PuppeteerPatcher]\x20Error\x20in\x20CREATE\x20PRE\x20event:\x20','1030xGbcnj','eqUPJ','[PuppeteerPatcher]\x20Patching\x20','Execution\x20context\x20was\x20destroyed','commandsToWrap','[PuppeteerPatcher]\x20REST\x20setSessionStatus\x20skipped:\x20no\x20creds','[REDACTED]','[PuppeteerPatcher]\x20Patched\x20Connection.prototype.','[PuppeteerPatcher]\x20Already\x20initialized,\x20skipping','[PuppeteerPatcher]\x20Applied\x20close\x20patch\x20to\x20browser','\x20pre-existing\x20page(s)','[PuppeteerPatcher]\x20Waiting\x203s\x20for\x20session\x20status\x20propagation','drXER','params','substring','keyboard_type','[PuppeteerPatcher]\x20Could\x20not\x20get\x20pages\x20from\x20browser:\x20','[SDK-R8]\x20PATCH_BROWSER_DONE\x20newPage_wrapped=','JZLey','saQhT','yvHvP','4204503Yitfno','$eval','puppeteer',')\x20HTTP\x20','trackEvent','[PuppeteerPatcher]\x20Page\x20close\x20deferred,\x20still\x20available\x20for\x20session\x20ops','[PuppeteerPatcher]\x20Page\x20closed\x20status:\x20','processPageScreenshot','qZtqH','uEkTc','beforeTestHook','capabilities','Session\x20closed','bTcNj','defaultViewport','[PuppeteerPatcher]\x20Built\x20CDP\x20endpoint\x20URL:\x20','cFmAq','BROWSERSTACK_USERNAME','hex','protocolTimeout','xRJEr','jrPPK','xzHIe','env',',\x20totalLogs:\x20','aZsXM','request','[PuppeteerPatcher]\x20browser.createIncognitoBrowserContext()\x20intercepted','SEbHP','split','eFdAK','[PuppeteerPatcher]\x20REST\x20setSessionStatus\x20skipped:\x20no\x20__bstackSessionId',',\x20reason=\x22','mouse_','[SDK-P0]\x20PATCH_A11Y_SKIP_NO_CLI\x20—\x20BrowserstackCLI.getInstance()\x20returned\x20null\x20(patcher\x20fired\x20before\x20CLI\x20bootstrap\x20or\x20Direct\x20Flow)','__skipSessionStatus','platformVersion','executePageClose','join','FFNHO','[PuppeteerPatcher]\x20Error\x20in\x20process\x20exit\x20handler:\x20','ENsOz','[PuppeteerPatcher]\x20Marked\x20session:\x20name=\x22','__bstackSessionId','bFfec','JZCEC','yGOEH','[PuppeteerPatcher]\x20Session\x20details:\x20','25bYmUMi','DULfL','turboScaleUrl','[PuppeteerPatcher]\x20Auto-scan\x20skip:\x20low-level\x20input\x20primitive\x20','processPageScreenshot:\x20Adding\x20screenshot\x20log\x20to\x20instance.data\x20for\x20testIdentifier:\x20','kfIgP','targetcreated','CREATE','mouse.move','status','Dmrar','omISH','[PuppeteerPatcher]\x20Error\x20getting\x20page\x20from\x20AutomationFramework:\x20','[PuppeteerPatcher]\x20Could\x20not\x20find\x20Connection\x20class','getInstance','UKvgO','isCliEnabled','NcZxo','LxmKE','\x20for\x20session\x20ID\x20extraction','DXQGa','nEszO',']\x20from\x20global.jestConfig:\x20','parse','sessionId','EbOrp','xNPpI','browser','yQUDO','string','[PuppeteerPatcher]\x20Connection\x20class\x20is\x20null','KEY_TEST_ID','QXkyU','vYrBC','forEach','whGMk','url','../v2/modules/playwrightDriverModule','../../helpers/helper','\x20loaded\x20but\x20is\x20null/undefined','PdleB','errors','OkePS','_bstackTestFailureReason','executeBrowserClose','[PuppeteerPatcher]\x20Could\x20not\x20get\x20initial\x20pages\x20for\x20local\x20browser:\x20','[PuppeteerPatcher]\x20Before\x20test\x20hook\x20executed:\x20','QKQaJ','DqUuw','[PuppeteerPatcher]\x20Puppeteer\x20patching\x20initialized\x20(module:\x20','stringify','\x20deferred\x20browser\x20closes','[SDK-Q1]\x20PATCH_PAGE_ENTRY\x20hasPage=','\x20tUrl=','jCAGG','qXKLT','bljel','Connection','../v2/modules/puppeteerDriverModule','MMqlX','\x20version:\x20','[PuppeteerPatcher]\x20Error\x20eagerly\x20patching\x20existing\x20pages:\x20','HJRYY','util','resolve','156452aSRbjS','[PuppeteerPatcher]\x20page.close()\x20intercepted\x20and\x20deferred','mouse_drag','\x20(major\x20version:\x20','HJIDH','EYpcl',',\x20Browsers\x20tracked:\x20','got','JEST','VrKhU','_bstackBrowserClosePatchApplied','[PuppeteerPatcher]\x20puppeteer.connect()\x20full\x20options:\x20','bsParams','accessKey','processPageScreenshot:\x20Stored\x20screenshot\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier:\x20','[PuppeteerPatcher]\x20Error\x20in\x20afterTestHook:\x20','processPageScreenshot:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Puppeteer,\x20skipping\x20screenshot\x20event.\x20This\x20may\x20occur\x20if\x20screenshot\x20is\x20taken\x20outside\x20test\x20context.','tsCxi','[PuppeteerPatcher]\x20Error\x20determining\x20test\x20status:\x20','QQJxT','addScriptTag','AtMox','API-BEFORE\x20api=getAccessibilityResultsSummary','ZPeRi','LANhU','\x22\x20stack=\x22','buildCdpEndpointUrl','QLsMq','dunpv','ovHjy','[PuppeteerPatcher]\x20markSessionOnBrowserStack:\x20opened\x20temp\x20page\x20for\x20executor\x20(all\x20user\x20pages\x20closed)','HDFed','[PuppeteerPatcher]\x20Registered\x20targetcreated\x20listener\x20for\x20page\x20patching','oPgmS','[PuppeteerPatcher]\x20After\x20test\x20hook\x20executed\x20for:\x20','a11yScan','[PuppeteerPatcher]\x20Error\x20marking\x20session\x20status\x20via\x20executor:\x20','afterTestHook','[SDK-L3]\x20SDK_PLATFORM_DETAILS\x20bstackSessionId=','slice','testContext','Zjmfh','isBrowserstackUrl','[PuppeteerPatcher]\x20Processing\x20command\x20for\x20auto-scan\x20wrapping:\x20','_bstackA11yPatchApplied','touchscreen_tap','pZDUH','[PuppeteerPatcher]\x20REST\x20setSessionStatus(','\x20→\x20command=','toISOString','[SDK-P2]\x20PATCH_A11Y_GATES\x20isA11ySession=','isClosed','[PuppeteerPatcher]\x20Auto-scan\x20skipped\x20—\x20no\x20AccessibilityModule','TEST','evaluate_handle','hpNDh','find','../v2/utils/jest-utils','[PuppeteerPatcher]\x20Error\x20patching\x20context\x20pages\x20(async):\x20','oxitY','pGVCm','[PuppeteerPatcher.cmdCtx]\x20','accessibilityOptions','ccQlT','\x20method=','ShLbw','caps','\x20hasGetResults=','QatNi','BnRZw','qaeiT','__launchCaps','action','keys','SIGTERM','[AutoScan.mutexCap]\x20releasing\x20auto-scan\x20mutex\x20after\x20','hejAt','rHHzJ','hDmUV','isBrowserStackEndpoint','OsSOy','\x20for\x20','YuJsM','ZdIAE','BoxbX','../../helpers/performance/constants','IjYrP','delete','DbnaR','<no-url>','RdmdT','PRE','bStackParams','values',':jest-<hash>','query_selector_all_eval','hsmmw','frkQq','setState','.json','XJcMW','RLCXK','args','\x20||\x20','dirname','../v2/state/hookState','isPageFixture','[PuppeteerPatcher]\x20Page\x20close\x20was\x20requested,\x20clearing\x20page\x20references','[PuppeteerPatcher]\x20Browser\x20close\x20requested\x20and\x20deferred','onMessage','KhUtP','mouse.drag','__skipSessionName','[PuppeteerPatcher]\x20REST\x20setSessionName\x20failed:\x20','apFng','\x20(major:\x20','../../helpers/puppeteer-helper','[PuppeteerPatcher]\x20Error\x20in\x20safety\x20timeout\x20execution:\x20','[PuppeteerPatcher]\x20Using\x20capabilities[','FCKbw','statusCode','fwnvW','\x20tType=','WrNVS','[PuppeteerPatcher]\x20Error\x20executing\x20deferred\x20page\x20close:\x20','[PuppeteerPatcher]\x20Could\x20not\x20build\x20CDP\x20URL,\x20using\x20original\x20connect','OVHmG','getAccessibilityModule','VYIUf','[PuppeteerPatcher]\x20Error\x20storing\x20session\x20details\x20in\x20AF\x20state:\x20','../../helpers/logger','function',',\x20skipping\x20screenshot\x20event.\x20Expected\x20format:\x20','\x20cliEnabled=','[PuppeteerPatcher]\x20Applied\x20screenshot\x20patch\x20to\x20Page.prototype','SKqdt','[PuppeteerPatcher]\x20CREATE\x20POST\x20event\x20completed\x20for\x20connect()','update','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','[PuppeteerPatcher]\x20browser.createBrowserContext()\x20intercepted','[PuppeteerPatcher]\x20Process\x20exit\x20handler\x20—\x20executing\x20remaining\x20deferred\x20closes','WNvnR','dOGPL','KEY_PLATFORM_DETAILS','\x20mfDetached=','object','bFSkI','winstonLogger','[PuppeteerPatcher]\x20Auto-scan:\x20commandsToWrap\x20is\x20empty\x20—\x20auto-scan\x20will\x20not\x20fire\x20for\x20any\x20page\x20command.\x20Check\x20AccessibilityModule\x20config.','userName','error','spDsy','[PuppeteerPatcher]\x20Could\x20not\x20open\x20temp\x20page\x20for\x20executor:\x20','[PuppeteerPatcher]\x20Executing\x20','[PuppeteerPatcher]\x20Could\x20not\x20read\x20','ZiCRr','75427sfBeYS','OtNXb','RScNP','Qkkyo','../../helpers/test-observability/constants','zIrNe','tOkIy','[SDK-R4]\x20BROWSER_NEWPAGE_POST_PATCH\x20hasPerformScan=','gfhvJ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','timestamp','not-array','API-BEFORE\x20api=performScan','\x22\x20full=','getAccessibilityResults','[PuppeteerPatcher]\x20getAccessibilityResultsSummary\x20error:\x20','skiWj','uvrip','[PuppeteerPatcher]\x20Safe\x20evaluate\x20error:\x20','markSessionOnBrowserStack','testFramework','call','[PuppeteerPatcher]\x20Error\x20in\x20patchedConnect:\x20','\x20hasSummary=','sLenT','mainFrame','throwHttpErrors','../v2/framework/automationFramework','pages','responseType','[SDK-R9]\x20PATCH_BROWSER_CAUGHT_ERROR\x20err=\x22','reason','HeOCV','qpvIq','crypto','exports','AqsEC','[PuppeteerPatcher]\x20Forwarding\x20screenshot\x20to\x20BrowserStack\x20observability','\x20platformCaps=','[PuppeteerPatcher]\x20CREATE\x20PRE\x20event\x20fired,\x20received\x20global.__launchCaps:\x20','[PuppeteerPatcher]\x20getAccessibilityResultsSummary\x20returned\x20','DqBcO','DZixT','[PuppeteerPatcher]\x20','_bstackClosePatchApplied','ntMMT','pid','size','\x20(not\x20on\x20Page)','__bstackPlatformIndex','WRAP-BEFORE\x20cmd=','LXOaz','API-BEFORE\x20api=getAccessibilityResults','mouse_wheel','TfLYf','[PuppeteerPatcher]\x20context.close()\x20intercepted\x20—\x20delegating','[PuppeteerPatcher]\x20getAccessibilityResultsSummary\x20called\x20but\x20AccessibilityModule\x20not\x20available','rbfXL','set_content','hYhOX','mouse_drop','isBrowserstackInfra','gMSUv','sqIZT','getConfig','[PuppeteerPatcher]\x20browser.close()\x20intercepted\x20and\x20deferred','chrome-extension://','pwPage','unknown\x20method','[PuppeteerPatcher]\x20CLI\x20not\x20fully\x20bootstrapped\x20yet,\x20waiting...','rRPeC','[PuppeteerPatcher]\x20performScan\x20error:\x20','now','yBfqL','[PuppeteerPatcher]\x20Page\x20close\x20requested\x20and\x20deferred','platformCaps','__bstackSetSessionNameFromBinary','PWotx','\x20deferred\x20page\x20closes','[PuppeteerPatcher]\x20Auto-scan:\x20','set','[PuppeteerPatcher]\x20Context\x20patched','FfFof','map','go_back','slowMo','close','[PuppeteerPatcher]\x20Built\x20CDP\x20URL\x20len=','iEUWD','kFfEt','[PuppeteerPatcher]\x20Applied\x20screenshot\x20patch\x20to\x20','[PuppeteerPatcher]\x20Intercepted\x20page.screenshot()\x20call','capability','HGOax','wasCloseRequested','OeLhT','[PuppeteerPatcher]\x20Error\x20patching\x20page\x20close:\x20','wRvhz','authToken','testInfo','goForward','originalClose','[PuppeteerPatcher]\x20Checking\x20if\x20running\x20against\x20BrowserStack\x20infrastructure\x20or\x20URL:\x20','rWTtU','[PuppeteerPatcher]\x20Injected\x20accessibility\x20manual\x20API\x20onto\x20page','from','jjxFA','browserWSEndpoint','ckUIO','kEZcY','ZRxQy','processPageScreenshot:\x20Error\x20storing\x20screenshot\x20log\x20event:\x20','number','lib','ROtik','isArray','[PuppeteerPatcher]\x20Received\x20bStackParams:\x20sessionId=','closeTracker','zooyt','XRrHe','arguments','command','YoAcK','[PuppeteerPatcher]\x20REST\x20setSessionName\x20skipped:\x20Binary\x20already\x20owns\x20it','NtksL','getPrototypeOf','[PuppeteerPatcher]\x20AccessibilityModule\x20available=','platformName','EXECUTE','hJtuz','PzWUp','common',':jest-','_bstackTestName','getTestIdentifier','markPageCloseRequested','vikof','[PuppeteerPatcher]\x20screenshot\x20not\x20found\x20on\x20Page\x20prototype,\x20skipping\x20screenshot\x20patch','smEXI','CUATJ','[PuppeteerPatcher]\x20Error\x20patching\x20','KitVu','peKtr','closeRequested','failureMessage','3715418CJBeOJ','nOsLj','addStyleTag','1884XNnmfo','goBack','\x20err=','CCFQG','jrxqh','keyboard.sendCharacter','keyboard_send_character','ICSHR','warn','\x20commands\x20to\x20wrap\x20from\x20AccessibilityModule','getActiveHook','[PuppeteerPatcher]\x20Could\x20not\x20build\x20CDP\x20URL\x20—\x20check\x20browserstack.yml\x20platforms\x20config','olfah','json','/automate/sessions/','mwmwN','OxyQQ','clear','tepoH','mVPHd','[PuppeteerPatcher]\x20Auto-scan\x20skip:\x20','[PuppeteerPatcher]\x20REST\x20setSessionName\x20HTTP\x20','Dbmmx','UCbrs','options','tGPzJ','_bstackPatchApplied','cpsTX','_bstackTestStatus','KEY_PAGE_OBJECT','BS_A11Y_JWT','VFoZi','./constants','markBrowserCloseRequested','[PuppeteerPatcher]\x20Error\x20in\x20markSessionOnBrowserStack:\x20','3|0|1|4|2','sha256','LjwQE','\x22\x20PID=','measureWrapper','\x20fp=','Tcauy','[SDK-R3]\x20BROWSER_NEWPAGE_GOT_PAGE\x20hasPage=','coVot','\x20cliRunning=','PywzQ','hnTax','\x20cliBootstrapped=','oUzMD','debug','keyboard.press','message',':\x20AutomationFramework\x20unavailable','[PuppeteerPatcher]\x20Page\x20close\x20NOT\x20requested,\x20preserving\x20page\x20for\x20next\x20test','jzWjS','[PuppeteerPatcher]\x20Error\x20patching\x20browser\x20close:\x20','\x22,\x20status=\x22','POST','[PuppeteerPatcher]\x20No\x20configuration\x20provided,\x20skipping','__jestCurrentTestIdentifier','[PuppeteerPatcher]\x20Auto-scan\x20skip\x20for\x20','markSessionStatus','RhWDQ','getWorkerDetails','page','processPageScreenshot:\x20Screenshot\x20taken\x20during\x20hook\x20-\x20hookUUID=',',\x20capabilities:\x20','xCgAT','getState','[SDK-Q0]\x20PATCH_PAGE_SKIP_NON_USER_PAGE\x20url=','NIyoO','currentTest','2ecYLPC','QAkZa','GwxdF','[PuppeteerPatcher]\x20CREATE\x20POST\x20event\x20completed\x20for\x20local\x20browser','hubUrl','yQDSc','yhrCa','bstackPerformA11yScan','Dcuax','TABjb','OHgxJ','puppeteer-core/package.json','processPageScreenshot:\x20TestFramework\x20not\x20available,\x20cannot\x20store\x20screenshot\x20log\x20for\x20Jest+Puppeteer','Byvrm','CbfPG','HyXJd','indexOf','QPrxL','[PuppeteerPatcher]\x20Extracted\x20sessionId\x20from\x20CDP:\x20','\x20match=','\x20|\x20','max','MtfYY','qrugV','qlKaC','\x20executed,\x20triggering\x20accessibility\x20auto-scan\x20→\x20command=','LwLIj','__test_failure','test','initializePuppeteerPatching','cpulK','IiCRZ','\x20newPage_type=','createBrowserContext','../../helpers/performance/performance-tester','YQjEK','launchCaps','UhrGE','bxQhu','\x20pages_wrapped=','method','kCRLb','platformDetails','\x20(cmd=','vZUiQ','LETRG','jestConfig','mouse.up','[SDK-L2]\x20SDK_ORIG_CONNECT_POST\x20duration_ms=','\x20→\x20','[PuppeteerPatcher]\x20REST\x20setSessionName\x20skipped:\x20no\x20__bstackSessionId','null','channel','ekOPJ','base64','ZyoYm','qFYMI','\x20not\x20installed,\x20skipping','[PuppeteerPatcher]\x20REST\x20setSessionStatus\x20skipped:\x20Binary\x20already\x20owns\x20it','fnYbc','Browser\x20close\x20timeout\x20(10s)','JSPgh','format','filter','username','then','__accessibilityOptions','vNcZk','6Goyfxw','[SDK-Q9]\x20PATCH_PAGE_CAUGHT_ERROR\x20err=\x22','XpoBw','IrkcI','BpwSc','zpYVn','[PuppeteerPatcher]\x20Deferred\x20browser\x20close\x20completed','sRxjv','[PuppeteerPatcher]\x20page.','[PuppeteerPatcher]\x20REST\x20setSessionStatus\x20HTTP\x20','JHTuu','aEUgH','body','KrpBd','iyxaA','mouse_up','OiYlK','__platformCaps','name','[PuppeteerPatcher]\x20getAccessibilityResults\x20called\x20but\x20AccessibilityModule\x20not\x20available','_onMessage','dhySQ','\x20hasCapsInQuery=','tPPnA','[PuppeteerPatcher]\x20Error\x20checking\x20page\x20availability:\x20','\x20pgUrl=','CToXg','performScan','prototype','isDetached','timedOut','connect','gNRBE','BROWSERSTACK_ACCESS_KEY','.\x20Existing\x20logs\x20count:\x20','yecMG','PREFIX','rpwSC','XfoVe','startsWith','yHQMs','qckLC','IFXMh','target','server','__bstackSetSessionStatusFromBinary','createHash','[PuppeteerPatcher]\x20Auto-scan\x20skip:\x20element-level\x20command\x20','DWLol','nvGuj','Protocol\x20error','RGJmG','YjLQi','twXVy','length','cjs','\x20queryString_len=','[PuppeteerPatcher]\x20Error\x20executing\x20deferred\x20browser\x20close:\x20','KrEJx','get','?[REDACTED_QUERY\x20len=','[PuppeteerPatcher]\x20Accessibility\x20patch\x20applied\x20to\x20page\x20(manual\x20API\x20+\x20auto-scan)','[SDK-Q2]\x20PATCH_PAGE_DONE\x20hasPerformScan=','[PuppeteerPatcher]\x20Error\x20in\x20screenshot\x20interception:\x20','mWKdq','FkTgZ','BAPrx'];a80_0x4483=function(){return _0x167747;};return a80_0x4483();}
|